From 6523585c66c04cea54df50013df8886b589847d8 Mon Sep 17 00:00:00 2001 From: David Walter Seikel Date: Mon, 23 Jan 2012 23:36:30 +1000 Subject: Add luaproc and LuaJIT libraries. Two versions of LuaJIT, the stable release, and the dev version. Try the dev version first, until ih fails badly. --- libraries/luajit-2.0/src/buildvm_x64win.h | 3401 +++++++++++++++++++++++++++++ 1 file changed, 3401 insertions(+) create mode 100644 libraries/luajit-2.0/src/buildvm_x64win.h (limited to 'libraries/luajit-2.0/src/buildvm_x64win.h') diff --git a/libraries/luajit-2.0/src/buildvm_x64win.h b/libraries/luajit-2.0/src/buildvm_x64win.h new file mode 100644 index 0000000..533d5b0 --- /dev/null +++ b/libraries/luajit-2.0/src/buildvm_x64win.h @@ -0,0 +1,3401 @@ +/* +** This file has been pre-processed with DynASM. +** http://luajit.org/dynasm.html +** DynASM version 1.3.0, DynASM x64 version 1.3.0 +** DO NOT EDIT! The original file is in "buildvm_x86.dasc". +*/ + +#if DASM_VERSION != 10300 +#error "Version mismatch between DynASM and included encoding engine" +#endif + +#define DASM_SECTION_CODE_OP 0 +#define DASM_SECTION_CODE_SUB 1 +#define DASM_MAXSECTION 2 +static const unsigned char build_actionlist[16196] = { + 254,1,248,10,252,247,198,237,15,132,244,11,131,230,252,248,41,252,242,72, + 141,76,49,252,248,139,114,252,252,199,68,10,4,237,248,12,131,192,1,137,68, + 36,84,252,247,198,237,15,132,244,13,248,14,129,252,246,239,252,247,198,237, + 15,133,244,10,199,131,233,237,131,230,252,248,41,214,252,247,222,131,232, + 1,15,132,244,248,248,1,72,139,44,10,72,137,106,252,248,131,194,8,131,232, + 1,15,133,244,1,248,2,255,139,108,36,96,137,181,233,248,3,139,68,36,84,139, + 76,36,88,248,4,57,193,15,133,244,252,248,5,131,252,234,8,137,149,233,248, + 15,72,139,76,36,104,72,137,141,233,49,192,248,16,72,131,196,40,91,94,95,93, + 195,248,6,15,130,244,253,59,149,233,15,135,244,254,199,66,252,252,237,131, + 194,8,131,192,1,252,233,244,4,248,7,255,133,201,15,132,244,5,41,193,141,20, + 202,252,233,244,5,248,8,137,149,233,137,68,36,84,137,202,137,252,233,232, + 251,1,0,139,149,233,252,233,244,3,248,17,137,208,72,137,204,248,18,139,108, + 36,96,139,173,233,199,133,233,237,252,233,244,16,248,19,248,20,72,129,225, + 239,72,137,204,248,21,255,139,108,36,96,72,199,193,252,248,252,255,252,255, + 252,255,184,237,139,149,233,139,157,233,129,195,239,139,114,252,252,199,66, + 252,252,237,199,131,233,237,252,233,244,12,248,22,186,237,252,233,244,248, + 248,23,131,232,8,252,233,244,247,248,24,141,68,194,252,248,248,1,15,182,142, + 233,131,198,4,137,149,233,255,137,133,233,137,116,36,100,137,202,248,2,137, + 252,233,232,251,1,0,139,149,233,139,133,233,139,106,252,248,41,208,193,232, + 3,131,192,1,139,181,233,139,14,15,182,252,233,15,182,205,131,198,4,252,255, + 36,252,235,248,25,85,87,86,83,72,131,252,236,40,137,205,137,76,36,96,137, + 209,190,237,49,192,72,141,188,253,36,233,139,157,233,129,195,239,72,137,189, + 233,137,68,36,100,72,137,68,36,104,137,68,36,88,137,68,36,92,56,133,233,15, + 132,244,249,199,131,233,237,136,133,233,139,149,233,139,133,233,41,200,193, + 232,3,131,192,1,41,209,139,114,252,252,137,68,36,84,252,247,198,237,255,15, + 132,244,13,252,233,244,14,248,26,85,87,86,83,72,131,252,236,40,190,237,68, + 137,76,36,92,252,233,244,247,248,27,85,87,86,83,72,131,252,236,40,190,237, + 248,1,68,137,68,36,88,137,205,137,76,36,96,137,209,72,139,189,233,72,137, + 124,36,104,137,108,36,100,72,137,165,233,248,2,139,157,233,129,195,239,248, + 3,199,131,233,237,139,149,233,255,1,206,41,214,139,133,233,41,200,193,232, + 3,131,192,1,248,28,139,105,252,248,129,121,253,252,252,239,15,133,244,29, + 248,30,137,202,137,114,252,252,139,181,233,139,14,15,182,252,233,15,182,205, + 131,198,4,252,255,36,252,235,248,31,85,87,86,83,72,131,252,236,40,137,205, + 137,76,36,96,137,108,36,100,139,189,233,43,189,233,199,68,36,92,0,0,0,0,137, + 124,36,88,72,139,189,233,72,137,124,36,104,72,137,165,233,65,252,255,209, + 133,192,15,132,244,15,137,193,190,237,252,233,244,2,248,11,1,209,131,230, + 252,248,137,213,41,252,242,199,68,193,252,252,237,137,200,139,117,252,244, + 72,99,77,252,240,255,131,252,249,1,15,134,244,247,255,72,141,61,245,72,1, + 252,249,255,139,122,252,248,139,191,233,139,191,233,252,255,225,255,248,1, + 15,132,244,32,41,213,193,252,237,3,141,69,252,255,252,233,244,33,255,248, + 34,15,182,78,252,255,131,252,237,16,141,12,202,41,252,233,15,132,244,35,252, + 247,217,193,252,233,3,65,137,200,139,76,36,96,137,145,233,72,139,0,72,137, + 69,0,137,252,234,252,233,244,36,248,37,137,68,36,80,199,68,36,84,237,72,141, + 68,36,80,128,126,252,252,235,15,133,244,247,141,139,233,137,41,199,65,4,237, + 137,205,252,233,244,248,248,38,15,182,70,252,254,255,199,68,36,84,237,137, + 68,36,80,255,252,242,15,42,192,252,242,15,17,68,36,80,255,72,141,68,36,80, + 252,233,244,247,248,39,15,182,70,252,254,141,4,194,248,1,15,182,110,252,255, + 141,44,252,234,248,2,139,76,36,96,137,145,233,137,252,234,73,137,192,137, + 205,137,116,36,100,232,251,1,1,139,149,233,133,192,15,132,244,249,248,35, + 15,182,78,252,253,72,139,40,72,137,44,202,139,6,15,182,204,15,182,232,131, + 198,4,193,232,16,252,255,36,252,235,248,3,139,141,233,137,113,252,244,141, + 177,233,41,214,139,105,252,248,184,237,252,233,244,30,248,40,137,68,36,80, + 199,68,36,84,237,72,141,68,36,80,128,126,252,252,235,15,133,244,247,255,141, + 139,233,137,41,199,65,4,237,137,205,252,233,244,248,248,41,15,182,70,252, + 254,255,72,141,68,36,80,252,233,244,247,248,42,15,182,70,252,254,141,4,194, + 248,1,15,182,110,252,255,141,44,252,234,248,2,139,76,36,96,137,145,233,137, + 252,234,73,137,192,137,205,137,116,36,100,232,251,1,2,139,149,233,133,192, + 15,132,244,249,15,182,78,252,253,72,139,44,202,72,137,40,248,43,139,6,15, + 182,204,15,182,232,131,198,4,193,232,16,252,255,36,252,235,248,3,139,141, + 233,137,113,252,244,15,182,70,252,253,72,139,44,194,72,137,105,16,141,177, + 233,41,214,139,105,252,248,184,237,252,233,244,30,248,44,139,108,36,96,137, + 149,233,68,141,4,194,141,20,202,137,252,233,68,15,182,78,252,252,137,116, + 36,100,232,251,1,3,248,3,139,149,233,255,131,252,248,1,15,135,244,45,248, + 4,141,118,4,15,130,244,252,248,5,15,183,70,252,254,141,180,253,134,233,248, + 6,139,6,15,182,204,15,182,232,131,198,4,193,232,16,252,255,36,252,235,248, + 46,131,198,4,129,120,253,4,239,15,130,244,5,252,233,244,6,248,47,129,120, + 253,4,239,252,233,244,4,248,48,131,252,238,4,65,137,192,65,137,252,233,139, + 108,36,96,137,149,233,255,137,202,137,252,233,137,116,36,100,232,251,1,4, + 252,233,244,3,248,49,255,131,252,238,4,139,108,36,96,137,149,233,137,252, + 233,139,86,252,252,137,116,36,100,232,251,1,5,252,233,244,3,255,248,50,255, + 15,182,110,252,255,255,248,51,141,4,199,252,233,244,247,248,52,255,248,53, + 141,4,199,141,44,252,234,149,252,233,244,248,248,54,141,4,194,137,197,252, + 233,244,248,248,55,255,248,56,141,4,194,248,1,141,44,252,234,248,2,141,12, + 202,65,137,232,65,137,193,15,182,70,252,252,137,68,36,32,139,108,36,96,137, + 149,233,137,202,137,252,233,137,116,36,100,232,251,1,6,139,149,233,133,192, + 15,132,244,43,248,45,137,193,41,208,137,113,252,244,141,176,233,184,237,252, + 233,244,28,248,57,139,108,36,96,137,149,233,141,20,194,137,252,233,137,116, + 36,100,232,251,1,7,139,149,233,255,133,192,15,133,244,45,15,183,70,252,254, + 139,12,194,252,233,244,58,255,252,233,244,45,255,248,59,141,76,202,8,248, + 29,137,76,36,84,137,68,36,80,131,252,233,8,139,108,36,96,137,149,233,137, + 202,68,141,4,193,137,252,233,137,116,36,100,232,251,1,8,139,149,233,139,76, + 36,84,139,68,36,80,139,105,252,248,131,192,1,57,215,15,132,244,60,137,202, + 137,114,252,252,139,181,233,139,14,15,182,252,233,15,182,205,131,198,4,252, + 255,36,252,235,248,61,139,108,36,96,137,149,233,137,202,137,252,233,137,116, + 36,100,232,251,1,9,139,149,233,139,70,252,252,15,182,204,15,182,232,193,232, + 16,252,255,164,253,252,235,233,248,62,129,252,248,239,15,130,244,63,139,106, + 4,129,252,253,239,15,131,244,63,139,114,252,252,137,68,36,84,137,106,252, + 252,139,42,137,106,252,248,131,232,2,15,132,244,248,255,137,209,248,1,131, + 193,8,72,139,41,72,137,105,252,248,131,232,1,15,133,244,1,248,2,139,68,36, + 84,252,233,244,64,248,65,129,252,248,239,15,130,244,63,139,106,4,137,252, + 233,193,252,249,15,131,252,249,252,254,15,132,244,249,184,237,252,247,213, + 57,232,255,15,71,197,255,15,134,244,247,137,232,248,1,255,248,2,139,106,252, + 248,139,132,253,197,233,139,114,252,252,199,66,252,252,237,137,66,252,248, + 252,233,244,66,248,3,184,237,252,233,244,2,248,67,129,252,248,239,15,130, + 244,63,139,106,4,139,114,252,252,129,252,253,239,15,133,244,252,248,1,139, + 42,139,173,233,248,2,133,252,237,199,66,252,252,237,255,15,132,244,66,139, + 131,233,199,66,252,252,237,137,106,252,248,139,141,233,35,136,233,105,201, + 239,3,141,233,248,3,129,185,233,239,15,133,244,250,57,129,233,15,132,244, + 251,248,4,139,137,233,133,201,15,133,244,3,255,252,233,244,66,248,5,139,105, + 4,129,252,253,239,15,132,244,66,139,1,137,106,252,252,137,66,252,248,252, + 233,244,66,248,6,129,252,253,239,15,132,244,1,129,252,253,239,15,135,244, + 254,129,252,253,239,15,134,244,253,189,237,252,233,244,254,248,7,255,189, + 237,248,8,252,247,213,139,172,253,171,233,252,233,244,2,248,68,129,252,248, + 239,15,130,244,63,129,122,253,4,239,15,133,244,63,139,42,131,189,233,0,15, + 133,244,63,129,122,253,12,239,15,133,244,63,139,66,8,137,133,233,139,114, + 252,252,199,66,252,252,237,255,137,106,252,248,252,246,133,233,235,15,132, + 244,247,128,165,233,235,139,131,233,137,171,233,137,133,233,248,1,252,233, + 244,66,248,69,129,252,248,239,15,130,244,63,129,122,253,4,239,15,133,244, + 63,137,213,68,141,66,8,139,18,139,76,36,96,232,251,1,10,137,252,234,72,139, + 40,139,114,252,252,72,137,106,252,248,252,233,244,66,248,70,255,129,252,248, + 239,15,133,244,63,129,122,253,4,239,255,15,133,244,247,139,42,252,233,244, + 71,248,1,15,135,244,63,255,15,131,244,63,255,252,242,15,16,2,252,233,244, + 72,255,221,2,252,233,244,73,255,248,74,129,252,248,239,15,130,244,63,139, + 114,252,252,129,122,253,4,239,15,133,244,249,139,2,248,2,199,66,252,252,237, + 137,66,252,248,252,233,244,66,248,3,129,122,253,4,239,15,135,244,63,131,187, + 233,0,15,133,244,63,139,171,233,59,171,233,255,15,130,244,247,232,244,75, + 248,1,139,108,36,96,137,149,233,137,116,36,100,137,252,233,255,232,251,1, + 11,255,232,251,1,12,255,139,149,233,252,233,244,2,248,76,129,252,248,239, + 15,130,244,63,15,132,244,248,248,1,129,122,253,4,239,15,133,244,63,139,108, + 36,96,137,149,233,137,149,233,139,114,252,252,68,141,66,8,139,18,137,252, + 233,137,116,36,100,232,251,1,13,139,149,233,133,192,15,132,244,249,72,139, + 106,8,72,139,66,16,72,137,106,252,248,72,137,2,248,77,184,237,255,252,233, + 244,78,248,2,199,66,12,237,252,233,244,1,248,3,199,66,252,252,237,252,233, + 244,66,248,79,129,252,248,239,15,130,244,63,139,42,129,122,253,4,239,15,133, + 244,63,255,131,189,233,0,15,133,244,63,255,139,106,252,248,139,133,233,139, + 114,252,252,199,66,252,252,237,137,66,252,248,199,66,12,237,184,237,252,233, + 244,78,248,80,129,252,248,239,15,130,244,63,129,122,253,4,239,15,133,244, + 63,129,122,253,12,239,255,139,114,252,252,255,139,66,8,131,192,1,199,66,252, + 252,237,137,66,252,248,255,252,242,15,16,66,8,72,189,237,237,102,72,15,110, + 205,252,242,15,88,193,252,242,15,45,192,252,242,15,17,66,252,248,255,139, + 42,59,133,233,15,131,244,248,193,224,3,3,133,233,248,1,129,120,253,4,239, + 15,132,244,81,72,139,40,72,137,42,252,233,244,77,248,2,131,189,233,0,15,132, + 244,81,137,252,233,137,213,137,194,232,251,1,14,137,252,234,133,192,15,133, + 244,1,248,81,184,237,252,233,244,78,248,82,255,139,106,252,248,139,133,233, + 139,114,252,252,199,66,252,252,237,137,66,252,248,255,199,66,12,237,199,66, + 8,0,0,0,0,255,15,87,192,252,242,15,17,66,8,255,217,252,238,221,90,8,255,184, + 237,252,233,244,78,248,83,129,252,248,239,15,130,244,63,141,74,8,131,232, + 1,190,237,248,1,15,182,171,233,193,252,237,235,131,229,1,1,252,238,252,233, + 244,28,248,84,129,252,248,239,15,130,244,63,129,122,253,12,239,15,133,244, + 63,255,139,106,4,137,106,12,199,66,4,237,139,42,139,114,8,137,106,8,137,50, + 141,74,16,131,232,2,190,237,252,233,244,1,248,85,129,252,248,239,15,130,244, + 63,139,42,139,114,252,252,137,116,36,100,137,108,36,80,129,122,253,4,239, + 15,133,244,63,72,131,189,233,0,15,133,244,63,128,189,233,235,15,135,244,63, + 139,141,233,15,132,244,247,255,59,141,233,15,132,244,63,248,1,141,116,193, + 252,240,59,181,233,15,135,244,63,137,181,233,139,108,36,96,137,149,233,131, + 194,8,137,149,233,141,108,194,232,72,41,252,245,57,206,15,132,244,249,248, + 2,72,139,4,46,72,137,70,252,248,131,252,238,8,57,206,15,133,244,2,248,3,137, + 202,139,76,36,80,232,244,25,199,131,233,237,255,139,108,36,96,139,116,36, + 80,139,149,233,129,252,248,239,15,135,244,254,248,4,139,142,233,139,190,233, + 137,142,233,137,252,254,41,206,15,132,244,252,141,4,50,193,252,238,3,59,133, + 233,15,135,244,255,137,213,72,41,205,248,5,72,139,1,72,137,4,41,131,193,8, + 57,252,249,15,133,244,5,248,6,141,70,2,199,66,252,252,237,248,7,139,116,36, + 100,137,68,36,84,72,199,193,252,248,252,255,252,255,252,255,252,247,198,237, + 255,15,132,244,13,252,233,244,14,248,8,199,66,252,252,237,139,142,233,131, + 252,233,8,137,142,233,72,139,1,72,137,2,184,237,252,233,244,7,248,9,139,76, + 36,80,137,185,233,137,252,242,137,252,233,232,251,1,0,139,116,36,80,139,149, + 233,252,233,244,4,248,86,139,106,252,248,139,173,233,139,114,252,252,137, + 116,36,100,137,108,36,80,72,131,189,233,0,15,133,244,63,255,128,189,233,235, + 15,135,244,63,139,141,233,15,132,244,247,59,141,233,15,132,244,63,248,1,141, + 116,193,252,248,59,181,233,15,135,244,63,137,181,233,139,108,36,96,137,149, + 233,137,149,233,141,108,194,252,240,72,41,252,245,57,206,15,132,244,249,248, + 2,255,72,139,4,46,72,137,70,252,248,131,252,238,8,57,206,15,133,244,2,248, + 3,137,202,139,76,36,80,232,244,25,199,131,233,237,139,108,36,96,139,116,36, + 80,139,149,233,129,252,248,239,15,135,244,254,248,4,139,142,233,139,190,233, + 137,142,233,137,252,254,41,206,15,132,244,252,141,4,50,193,252,238,3,59,133, + 233,15,135,244,255,255,137,213,72,41,205,248,5,72,139,1,72,137,4,41,131,193, + 8,57,252,249,15,133,244,5,248,6,141,70,1,248,7,139,116,36,100,137,68,36,84, + 49,201,252,247,198,237,15,132,244,13,252,233,244,14,248,8,137,252,242,137, + 252,233,232,251,1,15,248,9,139,76,36,80,137,185,233,137,252,242,137,252,233, + 232,251,1,0,139,116,36,80,139,149,233,252,233,244,4,248,87,139,108,36,96, + 72,252,247,133,233,237,15,132,244,63,255,137,149,233,141,68,194,252,248,137, + 133,233,49,192,72,137,133,233,176,235,136,133,233,252,233,244,16,255,248, + 71,255,248,73,139,114,252,252,221,90,252,248,252,233,244,66,255,248,88,129, + 252,248,239,15,130,244,63,255,129,122,253,4,239,15,133,244,248,139,42,131, + 252,253,0,15,137,244,71,252,247,221,15,136,244,247,248,89,248,71,139,114, + 252,252,199,66,252,252,237,137,106,252,248,252,233,244,66,248,1,139,114,252, + 252,199,66,252,252,0,0,224,65,199,66,252,248,0,0,0,0,252,233,244,66,248,2, + 15,135,244,63,255,129,122,253,4,239,15,131,244,63,255,252,242,15,16,2,72, + 184,237,237,102,72,15,110,200,15,84,193,248,72,139,114,252,252,252,242,15, + 17,66,252,248,255,221,2,217,225,248,72,248,73,139,114,252,252,221,90,252, + 248,255,248,66,184,237,248,78,137,68,36,84,248,64,252,247,198,237,15,133, + 244,253,248,5,56,70,252,255,15,135,244,252,15,182,78,252,253,72,252,247,209, + 141,20,202,139,6,15,182,204,15,182,232,131,198,4,193,232,16,252,255,36,252, + 235,248,6,199,68,194,252,244,237,131,192,1,252,233,244,5,248,7,72,199,193, + 252,248,252,255,252,255,252,255,252,233,244,14,248,90,255,129,122,253,4,239, + 15,133,244,247,139,42,252,233,244,71,248,1,15,135,244,63,255,252,242,15,16, + 2,232,244,91,255,252,242,15,45,232,129,252,253,0,0,0,128,15,133,244,71,252, + 242,15,42,205,102,15,46,193,15,138,244,72,15,132,244,71,255,221,2,232,244, + 91,255,248,92,255,252,242,15,16,2,232,244,93,255,221,2,232,244,93,255,248, + 94,129,252,248,239,15,130,244,63,129,122,253,4,239,15,131,244,63,252,242, + 15,81,2,252,233,244,72,255,248,94,129,252,248,239,15,130,244,63,129,122,253, + 4,239,15,131,244,63,221,2,217,252,250,252,233,244,73,255,248,95,129,252,248, + 239,15,130,244,63,129,122,253,4,239,15,131,244,63,217,252,237,221,2,217,252, + 241,252,233,244,73,248,96,129,252,248,239,15,130,244,63,129,122,253,4,239, + 15,131,244,63,217,252,236,221,2,217,252,241,252,233,244,73,248,97,129,252, + 248,239,255,15,130,244,63,129,122,253,4,239,15,131,244,63,221,2,232,244,98, + 252,233,244,73,248,99,129,252,248,239,15,130,244,63,129,122,253,4,239,15, + 131,244,63,221,2,217,252,254,252,233,244,73,248,100,129,252,248,239,255,15, + 130,244,63,129,122,253,4,239,15,131,244,63,221,2,217,252,255,252,233,244, + 73,248,101,129,252,248,239,15,130,244,63,129,122,253,4,239,15,131,244,63, + 221,2,217,252,242,221,216,252,233,244,73,248,102,129,252,248,239,15,130,244, + 63,255,129,122,253,4,239,15,131,244,63,221,2,217,192,216,200,217,232,222, + 225,217,252,250,217,252,243,252,233,244,73,248,103,129,252,248,239,15,130, + 244,63,129,122,253,4,239,15,131,244,63,221,2,217,192,216,200,217,232,222, + 225,217,252,250,217,201,217,252,243,252,233,244,73,248,104,129,252,248,239, + 15,130,244,63,129,122,253,4,239,15,131,244,63,255,221,2,217,232,217,252,243, + 252,233,244,73,255,248,105,129,252,248,239,15,130,244,63,129,122,253,4,239, + 15,131,244,63,252,242,15,16,2,255,137,213,232,251,1,16,137,252,234,252,233, + 244,72,255,248,106,129,252,248,239,15,130,244,63,129,122,253,4,239,15,131, + 244,63,252,242,15,16,2,255,137,213,232,251,1,17,137,252,234,252,233,244,72, + 255,248,107,129,252,248,239,15,130,244,63,129,122,253,4,239,15,131,244,63, + 252,242,15,16,2,255,137,213,232,251,1,18,137,252,234,252,233,244,72,248,108, + 255,248,109,129,252,248,239,15,130,244,63,129,122,253,4,239,15,131,244,63, + 252,242,15,16,2,139,106,252,248,252,242,15,89,133,233,252,233,244,72,255, + 248,109,129,252,248,239,15,130,244,63,129,122,253,4,239,15,131,244,63,221, + 2,139,106,252,248,220,141,233,252,233,244,73,255,248,110,129,252,248,239, + 15,130,244,63,129,122,253,4,239,15,131,244,63,129,122,253,12,239,15,131,244, + 63,221,2,221,66,8,217,252,243,252,233,244,73,248,111,129,252,248,239,15,130, + 244,63,129,122,253,4,239,15,131,244,63,129,122,253,12,239,255,15,131,244, + 63,221,66,8,221,2,217,252,253,221,217,252,233,244,73,248,112,129,252,248, + 239,15,130,244,63,139,106,4,129,252,253,239,15,131,244,63,139,114,252,252, + 139,2,137,106,252,252,137,66,252,248,209,229,129,252,253,0,0,224,252,255, + 15,131,244,249,9,232,15,132,244,249,184,252,254,3,0,0,129,252,253,0,0,32, + 0,15,130,244,250,248,1,193,252,237,21,41,197,255,252,242,15,42,197,255,137, + 108,36,80,219,68,36,80,255,139,106,252,252,129,229,252,255,252,255,15,128, + 129,205,0,0,224,63,137,106,252,252,248,2,255,252,242,15,17,2,255,221,26,255, + 184,237,252,233,244,78,248,3,255,15,87,192,252,233,244,2,255,217,252,238, + 252,233,244,2,255,248,4,255,252,242,15,16,2,72,189,237,237,102,72,15,110, + 205,252,242,15,89,193,252,242,15,17,66,252,248,255,221,2,199,68,36,80,0,0, + 128,90,216,76,36,80,221,90,252,248,255,139,106,252,252,184,52,4,0,0,209,229, + 252,233,244,1,255,248,113,129,252,248,239,15,130,244,63,129,122,253,4,239, + 15,131,244,63,252,242,15,16,2,255,248,113,129,252,248,239,15,130,244,63,129, + 122,253,4,239,15,131,244,63,221,2,255,139,106,4,139,114,252,252,209,229,129, + 252,253,0,0,224,252,255,15,132,244,250,255,15,40,224,232,244,114,252,242, + 15,92,224,248,1,252,242,15,17,66,252,248,252,242,15,17,34,255,217,192,232, + 244,114,220,252,233,248,1,221,90,252,248,221,26,255,139,66,252,252,139,106, + 4,49,232,15,136,244,249,248,2,184,237,252,233,244,78,248,3,129,252,245,0, + 0,0,128,137,106,4,252,233,244,2,248,4,255,15,87,228,252,233,244,1,255,217, + 252,238,217,201,252,233,244,1,255,248,115,129,252,248,239,15,130,244,63,129, + 122,253,4,239,15,131,244,63,129,122,253,12,239,15,131,244,63,221,66,8,221, + 2,248,1,217,252,248,223,224,158,15,138,244,1,221,217,252,233,244,73,255,248, + 116,129,252,248,239,15,130,244,63,129,122,253,4,239,15,131,244,63,129,122, + 253,12,239,15,131,244,63,252,242,15,16,2,252,242,15,16,74,8,232,244,117,252, + 233,244,72,255,248,116,129,252,248,239,15,130,244,63,129,122,253,4,239,15, + 131,244,63,129,122,253,12,239,15,131,244,63,221,2,221,66,8,232,244,117,252, + 233,244,73,255,248,118,185,2,0,0,0,129,122,253,4,239,255,15,133,244,250,139, + 42,248,1,57,193,15,131,244,71,129,124,253,202,252,252,239,15,133,244,249, + 59,108,202,252,248,15,79,108,202,252,248,131,193,1,252,233,244,1,248,3,15, + 135,244,63,255,252,233,244,252,248,4,15,135,244,63,255,252,242,15,16,2,248, + 5,57,193,15,131,244,72,129,124,253,202,252,252,239,255,15,130,244,252,15, + 135,244,63,252,242,15,42,76,202,252,248,252,233,244,253,255,248,6,252,242, + 15,16,76,202,252,248,248,7,252,242,15,93,193,131,193,1,252,233,244,5,255, + 248,119,185,2,0,0,0,129,122,253,4,239,255,15,133,244,250,139,42,248,1,57, + 193,15,131,244,71,129,124,253,202,252,252,239,15,133,244,249,59,108,202,252, + 248,15,76,108,202,252,248,131,193,1,252,233,244,1,248,3,15,135,244,63,255, + 248,6,252,242,15,16,76,202,252,248,248,7,252,242,15,95,193,131,193,1,252, + 233,244,5,255,248,9,221,216,252,233,244,63,255,248,120,129,252,248,239,15, + 130,244,63,129,122,253,4,239,15,133,244,63,139,42,255,139,173,233,252,233, + 244,71,255,252,242,15,42,133,233,252,233,244,72,255,219,133,233,252,233,244, + 73,255,248,121,129,252,248,239,15,133,244,63,129,122,253,4,239,15,133,244, + 63,139,42,139,114,252,252,131,189,233,1,15,130,244,81,15,182,173,233,255, + 252,242,15,42,197,252,233,244,72,255,137,108,36,80,219,68,36,80,252,233,244, + 73,255,248,122,139,171,233,59,171,233,15,130,244,247,232,244,75,248,1,129, + 252,248,239,15,133,244,63,129,122,253,4,239,255,15,133,244,63,139,42,129, + 252,253,252,255,0,0,0,15,135,244,63,137,108,36,84,255,15,131,244,63,252,242, + 15,44,42,129,252,253,252,255,0,0,0,15,135,244,63,137,108,36,84,255,15,131, + 244,63,221,2,219,92,36,84,129,124,36,84,252,255,0,0,0,15,135,244,63,255,199, + 68,36,32,1,0,0,0,72,141,68,36,84,248,123,139,108,36,96,137,149,233,68,139, + 68,36,32,72,137,194,137,252,233,137,116,36,100,232,251,1,19,139,149,233,139, + 114,252,252,199,66,252,252,237,137,66,252,248,252,233,244,66,248,124,139, + 171,233,59,171,233,15,130,244,247,232,244,75,248,1,199,68,36,84,252,255,252, + 255,252,255,252,255,129,252,248,239,15,130,244,63,15,134,244,247,129,122, + 253,20,239,255,15,133,244,63,139,106,16,137,108,36,84,255,15,131,244,63,252, + 242,15,44,106,16,137,108,36,84,255,15,131,244,63,221,66,16,219,92,36,84,255, + 248,1,129,122,253,4,239,15,133,244,63,129,122,253,12,239,255,139,42,137,108, + 36,32,139,173,233,255,139,74,8,255,252,242,15,44,74,8,255,139,68,36,84,57, + 197,15,130,244,251,248,2,133,201,15,142,244,253,248,3,139,108,36,32,41,200, + 15,140,244,125,141,172,253,13,233,131,192,1,248,4,137,68,36,32,137,232,252, + 233,244,123,248,5,15,140,244,252,141,68,40,1,252,233,244,2,248,6,137,232, + 252,233,244,2,248,7,255,15,132,244,254,1,252,233,131,193,1,15,143,244,3,248, + 8,185,1,0,0,0,252,233,244,3,248,125,49,192,252,233,244,4,248,126,129,252, + 248,239,15,130,244,63,139,171,233,59,171,233,15,130,244,247,232,244,75,248, + 1,255,129,122,253,4,239,15,133,244,63,129,122,253,12,239,139,42,255,15,133, + 244,63,139,66,8,255,15,131,244,63,252,242,15,44,66,8,255,15,131,244,63,221, + 66,8,219,92,36,84,139,68,36,84,255,133,192,15,142,244,125,131,189,233,1,15, + 130,244,125,15,133,244,127,57,131,233,15,130,244,127,15,182,141,233,139,171, + 233,137,68,36,32,248,1,136,77,0,131,197,1,131,232,1,15,133,244,1,139,131, + 233,252,233,244,123,248,128,129,252,248,239,255,15,130,244,63,139,171,233, + 59,171,233,15,130,244,247,232,244,75,248,1,129,122,253,4,239,15,133,244,63, + 139,42,139,133,233,133,192,15,132,244,125,57,131,233,15,130,244,129,129,197, + 239,137,116,36,84,137,68,36,32,139,179,233,248,1,255,15,182,77,0,131,197, + 1,131,232,1,136,12,6,15,133,244,1,137,252,240,139,116,36,84,252,233,244,123, + 248,130,129,252,248,239,15,130,244,63,139,171,233,59,171,233,15,130,244,247, + 232,244,75,248,1,129,122,253,4,239,15,133,244,63,139,42,139,133,233,57,131, + 233,255,15,130,244,129,129,197,239,137,116,36,84,137,68,36,32,139,179,233, + 252,233,244,249,248,1,15,182,76,5,0,131,252,249,65,15,130,244,248,131,252, + 249,90,15,135,244,248,131,252,241,32,248,2,136,12,6,248,3,131,232,1,15,137, + 244,1,137,252,240,139,116,36,84,252,233,244,123,248,131,129,252,248,239,15, + 130,244,63,255,139,171,233,59,171,233,15,130,244,247,232,244,75,248,1,129, + 122,253,4,239,15,133,244,63,139,42,139,133,233,57,131,233,15,130,244,129, + 129,197,239,137,116,36,84,137,68,36,32,139,179,233,252,233,244,249,248,1, + 15,182,76,5,0,131,252,249,97,15,130,244,248,255,131,252,249,122,15,135,244, + 248,131,252,241,32,248,2,136,12,6,248,3,131,232,1,15,137,244,1,137,252,240, + 139,116,36,84,252,233,244,123,248,132,129,252,248,239,15,130,244,63,129,122, + 253,4,239,15,133,244,63,137,213,139,10,232,251,1,20,137,252,234,255,137,197, + 252,233,244,71,255,252,242,15,42,192,252,233,244,72,255,248,133,129,252,248, + 239,15,130,244,63,129,122,253,4,239,255,15,133,244,247,139,42,252,233,244, + 89,248,1,15,135,244,63,255,252,242,15,16,2,72,189,237,237,102,72,15,110,205, + 252,242,15,88,193,102,15,126,197,255,252,233,244,89,255,248,134,129,252,248, + 239,15,130,244,63,255,72,189,237,237,102,72,15,110,205,255,199,68,36,80,0, + 0,192,89,255,15,133,244,247,139,42,252,233,244,248,248,1,15,135,244,63,255, + 252,242,15,16,2,252,242,15,88,193,102,15,126,197,255,248,2,137,68,36,84,141, + 68,194,252,240,248,1,57,208,15,134,244,89,129,120,253,4,239,255,15,133,244, + 248,35,40,131,232,8,252,233,244,1,248,2,15,135,244,135,255,15,131,244,135, + 255,252,242,15,16,0,252,242,15,88,193,102,15,126,193,33,205,255,131,232,8, + 252,233,244,1,248,136,129,252,248,239,15,130,244,63,255,15,133,244,248,11, + 40,131,232,8,252,233,244,1,248,2,15,135,244,135,255,252,242,15,16,0,252,242, + 15,88,193,102,15,126,193,9,205,255,131,232,8,252,233,244,1,248,137,129,252, + 248,239,15,130,244,63,255,15,133,244,248,51,40,131,232,8,252,233,244,1,248, + 2,15,135,244,135,255,252,242,15,16,0,252,242,15,88,193,102,15,126,193,49, + 205,255,131,232,8,252,233,244,1,248,138,129,252,248,239,15,130,244,63,129, + 122,253,4,239,255,248,2,15,205,252,233,244,89,248,139,129,252,248,239,15, + 130,244,63,129,122,253,4,239,255,248,2,252,247,213,255,248,89,252,242,15, + 42,197,252,233,244,72,255,248,135,139,68,36,84,252,233,244,63,255,248,140, + 129,252,248,239,15,130,244,63,129,122,253,4,239,255,248,2,129,122,253,12, + 239,15,133,244,63,139,74,8,255,248,140,129,252,248,239,15,130,244,63,129, + 122,253,4,239,15,131,244,63,129,122,253,12,239,15,131,244,63,252,242,15,16, + 2,252,242,15,16,74,8,72,189,237,237,102,72,15,110,213,252,242,15,88,194,252, + 242,15,88,202,102,15,126,197,102,15,126,201,255,211,229,252,233,244,89,255, + 248,141,129,252,248,239,15,130,244,63,129,122,253,4,239,255,248,141,129,252, + 248,239,15,130,244,63,129,122,253,4,239,15,131,244,63,129,122,253,12,239, + 15,131,244,63,252,242,15,16,2,252,242,15,16,74,8,72,189,237,237,102,72,15, + 110,213,252,242,15,88,194,252,242,15,88,202,102,15,126,197,102,15,126,201, + 255,211,252,237,252,233,244,89,255,248,142,129,252,248,239,15,130,244,63, + 129,122,253,4,239,255,248,142,129,252,248,239,15,130,244,63,129,122,253,4, + 239,15,131,244,63,129,122,253,12,239,15,131,244,63,252,242,15,16,2,252,242, + 15,16,74,8,72,189,237,237,102,72,15,110,213,252,242,15,88,194,252,242,15, + 88,202,102,15,126,197,102,15,126,201,255,211,252,253,252,233,244,89,255,248, + 143,129,252,248,239,15,130,244,63,129,122,253,4,239,255,248,143,129,252,248, + 239,15,130,244,63,129,122,253,4,239,15,131,244,63,129,122,253,12,239,15,131, + 244,63,252,242,15,16,2,252,242,15,16,74,8,72,189,237,237,102,72,15,110,213, + 252,242,15,88,194,252,242,15,88,202,102,15,126,197,102,15,126,201,255,211, + 197,252,233,244,89,255,248,144,129,252,248,239,15,130,244,63,129,122,253, + 4,239,255,248,144,129,252,248,239,15,130,244,63,129,122,253,4,239,15,131, + 244,63,129,122,253,12,239,15,131,244,63,252,242,15,16,2,252,242,15,16,74, + 8,72,189,237,237,102,72,15,110,213,252,242,15,88,194,252,242,15,88,202,102, + 15,126,197,102,15,126,201,255,211,205,252,233,244,89,248,127,184,237,252, + 233,244,63,248,129,184,237,248,63,139,108,36,96,139,114,252,252,137,116,36, + 100,137,149,233,141,68,194,252,248,141,136,233,137,133,233,139,66,252,248, + 59,141,233,15,135,244,251,137,252,233,252,255,144,233,139,149,233,133,192, + 15,143,244,78,248,1,255,139,141,233,41,209,193,252,233,3,133,192,141,65,1, + 139,106,252,248,15,133,244,33,139,181,233,139,14,15,182,252,233,15,182,205, + 131,198,4,252,255,36,252,235,248,33,137,209,252,247,198,237,15,133,244,249, + 15,182,110,252,253,72,252,247,213,141,20,252,234,252,233,244,28,248,3,137, + 252,245,131,229,252,248,41,252,234,252,233,244,28,248,5,186,237,137,252,233, + 232,251,1,0,139,149,233,49,192,252,233,244,1,248,75,93,72,137,108,36,32,139, + 108,36,96,137,116,36,100,137,149,233,255,141,68,194,252,248,137,252,233,137, + 133,233,232,251,1,21,139,149,233,139,133,233,41,208,193,232,3,131,192,1,72, + 139,108,36,32,85,195,248,145,255,15,182,131,233,168,235,15,133,244,251,168, + 235,15,133,244,247,168,235,15,132,244,247,252,255,139,233,252,233,244,247, + 255,248,146,15,182,131,233,168,235,15,133,244,251,252,233,244,247,248,147, + 15,182,131,233,168,235,15,133,244,251,168,235,15,132,244,251,252,255,139, + 233,15,132,244,247,168,235,15,132,244,251,248,1,255,139,108,36,96,137,149, + 233,137,252,242,137,252,233,232,251,1,22,248,3,139,149,233,248,4,15,182,78, + 252,253,248,5,15,182,110,252,252,15,183,70,252,254,252,255,164,253,252,235, + 233,248,148,131,198,4,139,77,232,137,76,36,84,252,233,244,4,248,149,255,139, + 106,252,248,139,173,233,15,182,133,233,141,4,194,139,108,36,96,137,149,233, + 137,133,233,137,252,242,141,139,233,72,137,171,233,137,116,36,100,232,251, + 1,23,252,233,244,3,255,248,150,137,116,36,100,255,248,151,255,137,116,36, + 100,131,206,1,248,1,255,141,68,194,252,248,139,108,36,96,137,149,233,137, + 133,233,137,252,242,137,252,233,232,251,1,24,199,68,36,100,0,0,0,0,255,131, + 230,252,254,255,139,149,233,72,137,193,139,133,233,41,208,72,137,205,15,182, + 78,252,253,193,232,3,131,192,1,252,255,229,248,152,255,65,85,65,84,65,83, + 65,82,65,81,65,80,87,86,85,72,141,108,36,88,85,83,82,81,80,15,182,69,252, + 248,138,101,252,240,76,137,125,252,248,76,137,117,252,240,139,93,0,139,139, + 233,199,131,233,237,137,131,233,137,139,233,72,129,252,236,239,72,131,197, + 128,252,242,68,15,17,125,252,248,252,242,68,15,17,117,252,240,252,242,68, + 15,17,109,232,252,242,68,15,17,101,224,252,242,68,15,17,93,216,252,242,68, + 15,17,85,208,252,242,68,15,17,77,200,252,242,68,15,17,69,192,252,242,15,17, + 125,184,252,242,15,17,117,176,252,242,15,17,109,168,252,242,15,17,101,160, + 252,242,15,17,93,152,252,242,15,17,85,144,252,242,15,17,77,136,252,242,15, + 17,69,128,139,171,233,139,147,233,72,137,171,233,199,131,233,0,0,0,0,137, + 149,233,72,141,148,253,36,233,141,139,233,232,251,1,25,72,139,141,233,72, + 129,225,239,137,169,233,139,149,233,139,177,233,252,233,244,247,255,248,153, + 255,72,141,140,253,36,233,248,1,102,68,15,111,185,233,102,68,15,111,177,233, + 102,68,15,111,169,233,102,68,15,111,161,233,102,68,15,111,153,233,102,68, + 15,111,145,233,102,68,15,111,137,233,102,68,15,111,129,233,102,15,111,185, + 233,72,137,204,102,15,111,49,76,139,124,36,16,76,139,116,36,24,76,139,108, + 36,32,76,139,100,36,80,133,192,15,136,244,249,137,68,36,84,139,122,252,248, + 139,191,233,139,191,233,199,131,233,0,0,0,0,199,131,233,237,139,6,15,182, + 204,15,182,232,131,198,4,193,232,16,129,252,253,239,15,130,244,248,255,139, + 68,36,84,248,2,252,255,36,252,235,248,3,252,247,216,137,252,233,137,194,232, + 251,1,26,255,248,91,255,217,124,36,4,137,68,36,8,102,184,0,4,102,11,68,36, + 4,102,37,252,255,252,247,102,137,68,36,6,217,108,36,6,217,252,252,217,108, + 36,4,139,68,36,8,195,255,248,154,72,184,237,237,102,72,15,110,208,72,184, + 237,237,102,72,15,110,216,15,40,200,102,15,84,202,102,15,46,217,15,134,244, + 247,102,15,85,208,252,242,15,88,203,252,242,15,92,203,102,15,86,202,72,184, + 237,237,102,72,15,110,208,252,242,15,194,193,1,102,15,84,194,252,242,15,92, + 200,15,40,193,248,1,195,248,93,255,217,124,36,4,137,68,36,8,102,184,0,8,102, + 11,68,36,4,102,37,252,255,252,251,102,137,68,36,6,217,108,36,6,217,252,252, + 217,108,36,4,139,68,36,8,195,255,248,155,72,184,237,237,102,72,15,110,208, + 72,184,237,237,102,72,15,110,216,15,40,200,102,15,84,202,102,15,46,217,15, + 134,244,247,102,15,85,208,252,242,15,88,203,252,242,15,92,203,102,15,86,202, + 72,184,237,237,102,72,15,110,208,252,242,15,194,193,6,102,15,84,194,252,242, + 15,92,200,15,40,193,248,1,195,248,114,255,217,124,36,4,137,68,36,8,102,184, + 0,12,102,11,68,36,4,102,137,68,36,6,217,108,36,6,217,252,252,217,108,36,4, + 139,68,36,8,195,255,248,156,72,184,237,237,102,72,15,110,208,72,184,237,237, + 102,72,15,110,216,15,40,200,102,15,84,202,102,15,46,217,15,134,244,247,102, + 15,85,208,15,40,193,252,242,15,88,203,252,242,15,92,203,72,184,237,237,102, + 72,15,110,216,252,242,15,194,193,1,102,15,84,195,252,242,15,92,200,102,15, + 86,202,15,40,193,248,1,195,248,157,255,15,40,232,252,242,15,94,193,72,184, + 237,237,102,72,15,110,208,72,184,237,237,102,72,15,110,216,15,40,224,102, + 15,84,226,102,15,46,220,15,134,244,247,102,15,85,208,252,242,15,88,227,252, + 242,15,92,227,102,15,86,226,72,184,237,237,102,72,15,110,208,252,242,15,194, + 196,1,102,15,84,194,252,242,15,92,224,15,40,197,252,242,15,89,204,252,242, + 15,92,193,195,248,1,252,242,15,89,200,15,40,197,252,242,15,92,193,195,255, + 217,193,216,252,241,217,124,36,4,102,184,0,4,102,11,68,36,4,102,37,252,255, + 252,247,102,137,68,36,6,217,108,36,6,217,252,252,217,108,36,4,222,201,222, + 252,233,195,255,248,98,217,252,234,222,201,248,158,217,84,36,8,129,124,36, + 8,0,0,128,127,15,132,244,247,129,124,36,8,0,0,128,252,255,15,132,244,248, + 248,159,217,192,217,252,252,220,252,233,217,201,217,252,240,217,232,222,193, + 217,252,253,221,217,248,1,195,248,2,221,216,217,252,238,195,255,248,117,255, + 248,160,252,242,15,45,193,252,242,15,42,208,102,15,46,202,15,133,244,254, + 15,138,244,255,248,161,131,252,248,1,15,142,244,252,248,1,169,1,0,0,0,15, + 133,244,248,252,242,15,89,192,209,232,252,233,244,1,248,2,209,232,15,132, + 244,251,15,40,200,248,3,252,242,15,89,192,209,232,15,132,244,250,15,131,244, + 3,255,252,242,15,89,200,252,233,244,3,248,4,252,242,15,89,193,248,5,195,248, + 6,15,132,244,5,15,130,244,253,252,247,216,232,244,1,72,184,237,237,102,72, + 15,110,200,252,242,15,94,200,15,40,193,195,248,7,72,184,237,237,102,72,15, + 110,192,195,248,8,102,72,15,126,200,72,209,224,72,193,192,12,72,61,252,254, + 15,0,0,15,132,244,248,102,72,15,126,192,72,209,224,15,132,244,250,255,72, + 193,192,12,72,61,252,254,15,0,0,15,132,244,251,252,242,15,17,76,36,16,252, + 242,15,17,68,36,8,221,68,36,16,221,68,36,8,217,252,241,217,192,217,252,252, + 220,252,233,217,201,217,252,240,217,232,222,193,217,252,253,221,217,221,92, + 36,8,252,242,15,16,68,36,8,195,248,9,72,184,237,237,102,72,15,110,208,102, + 15,46,194,15,132,244,247,15,40,193,248,1,195,248,2,72,184,237,237,102,72, + 15,110,208,102,15,84,194,72,184,237,237,102,72,15,110,208,102,15,46,194,15, + 132,244,1,102,15,80,193,15,87,192,136,196,15,146,208,48,224,15,133,244,1, + 248,3,72,184,237,237,255,102,72,15,110,192,195,248,4,102,15,80,193,133,192, + 15,133,244,3,15,87,192,195,248,5,102,15,80,193,133,192,15,132,244,3,15,87, + 192,195,248,162,255,131,252,250,1,15,130,244,91,15,132,244,93,131,252,250, + 3,15,130,244,114,15,135,244,248,252,242,15,81,192,195,248,2,252,242,15,17, + 68,36,8,221,68,36,8,131,252,250,5,15,135,244,248,88,15,132,244,247,232,244, + 98,80,252,233,244,253,248,1,232,244,158,255,80,252,233,244,253,248,2,131, + 252,250,7,15,132,244,247,15,135,244,248,217,252,237,217,201,217,252,241,252, + 233,244,253,248,1,217,232,217,201,217,252,241,252,233,244,253,248,2,131,252, + 250,9,15,132,244,247,15,135,244,248,217,252,236,217,201,217,252,241,252,233, + 244,253,248,1,255,217,252,254,252,233,244,253,248,2,131,252,250,11,15,132, + 244,247,15,135,244,255,217,252,255,252,233,244,253,248,1,217,252,242,221, + 216,248,7,221,92,36,8,252,242,15,16,68,36,8,195,255,139,84,36,12,221,68,36, + 4,131,252,250,1,15,130,244,91,15,132,244,93,131,252,250,3,15,130,244,114, + 15,135,244,248,217,252,250,195,248,2,131,252,250,5,15,130,244,98,15,132,244, + 158,131,252,250,7,15,132,244,247,15,135,244,248,217,252,237,217,201,217,252, + 241,195,248,1,217,232,217,201,217,252,241,195,248,2,131,252,250,9,15,132, + 244,247,255,15,135,244,248,217,252,236,217,201,217,252,241,195,248,1,217, + 252,254,195,248,2,131,252,250,11,15,132,244,247,15,135,244,255,217,252,255, + 195,248,1,217,252,242,221,216,195,255,248,9,204,255,248,163,255,65,131,252, + 248,1,15,132,244,247,15,135,244,248,252,242,15,88,193,195,248,1,252,242,15, + 92,193,195,248,2,65,131,252,248,3,15,132,244,247,15,135,244,248,252,242,15, + 89,193,195,248,1,252,242,15,94,193,195,248,2,65,131,252,248,5,15,130,244, + 157,15,132,244,117,65,131,252,248,7,15,132,244,247,15,135,244,248,72,184, + 237,237,255,102,72,15,110,200,15,87,193,195,248,1,72,184,237,237,102,72,15, + 110,200,15,84,193,195,248,2,65,131,252,248,9,15,135,244,248,252,242,15,17, + 68,36,8,252,242,15,17,76,36,16,221,68,36,8,221,68,36,16,15,132,244,247,217, + 252,243,248,7,221,92,36,8,252,242,15,16,68,36,8,195,248,1,217,201,217,252, + 253,221,217,252,233,244,7,248,2,65,131,252,248,11,15,132,244,247,15,135,244, + 255,252,242,15,93,193,195,248,1,252,242,15,95,193,195,248,9,204,255,139,68, + 36,20,221,68,36,4,221,68,36,12,131,252,248,1,15,132,244,247,15,135,244,248, + 222,193,195,248,1,222,252,233,195,248,2,131,252,248,3,15,132,244,247,15,135, + 244,248,222,201,195,248,1,222,252,249,195,248,2,131,252,248,5,15,130,244, + 157,15,132,244,117,131,252,248,7,15,132,244,247,15,135,244,248,255,221,216, + 217,224,195,248,1,221,216,217,225,195,248,2,131,252,248,9,15,132,244,247, + 15,135,244,248,217,252,243,195,248,1,217,201,217,252,253,221,217,195,248, + 2,131,252,248,11,15,132,244,247,15,135,244,255,255,219,252,233,219,209,221, + 217,195,248,1,219,252,233,218,209,221,217,195,255,221,225,223,224,252,246, + 196,1,15,132,244,248,217,201,248,2,221,216,195,248,1,221,225,223,224,252, + 246,196,1,15,133,244,248,217,201,248,2,221,216,195,255,248,164,137,200,86, + 72,137,214,83,15,162,137,6,137,94,4,137,78,8,137,86,12,91,94,195,248,165, + 255,204,248,166,255,87,86,83,72,131,252,236,40,141,157,233,139,181,233,15, + 183,192,137,134,233,72,137,142,233,72,137,150,233,76,137,134,233,76,137,142, + 233,252,242,15,17,134,233,252,242,15,17,142,233,252,242,15,17,150,233,252, + 242,15,17,158,233,72,141,132,253,36,233,72,137,134,233,72,137,226,137,116, + 36,100,137,252,241,232,251,1,27,199,131,233,237,139,144,233,139,128,233,41, + 208,139,106,252,248,193,232,3,131,192,1,139,181,233,139,14,15,182,252,233, + 15,182,205,131,198,4,252,255,36,252,235,255,248,32,255,139,76,36,96,139,179, + 233,72,137,142,233,137,145,233,137,169,233,137,252,241,137,194,232,251,1, + 28,72,139,134,233,252,242,15,16,134,233,252,233,244,16,255,248,167,255,85, + 72,137,229,83,72,137,203,139,131,233,72,41,196,255,15,182,139,233,131,252, + 233,1,15,136,244,248,248,1,72,139,132,253,203,233,72,137,132,253,204,233, + 131,252,233,1,15,137,244,1,248,2,15,182,131,233,72,139,139,233,72,139,147, + 233,76,139,131,233,76,139,139,233,133,192,15,132,244,251,15,40,131,233,15, + 40,139,233,15,40,147,233,15,40,155,233,248,5,255,252,255,147,233,72,137,131, + 233,15,41,131,233,255,72,139,93,252,248,201,195,255,129,124,253,202,4,239, + 15,133,244,253,129,124,253,194,4,239,15,133,244,254,139,44,202,131,198,4, + 59,44,194,255,15,141,244,255,255,15,140,244,255,255,15,143,244,255,255,15, + 142,244,255,255,248,6,15,183,70,252,254,141,180,253,134,233,248,9,139,6,15, + 182,204,15,182,232,131,198,4,193,232,16,252,255,36,252,235,248,7,15,135,244, + 44,129,124,253,194,4,239,15,130,244,247,15,133,244,44,255,252,242,15,42,4, + 194,252,233,244,248,255,221,4,202,219,4,194,252,233,244,249,255,248,8,15, + 135,244,44,255,252,242,15,42,12,202,252,242,15,16,4,194,131,198,4,102,15, + 46,193,255,15,134,244,9,255,15,135,244,9,255,15,130,244,9,255,15,131,244, + 9,255,252,233,244,6,255,219,4,202,252,233,244,248,255,129,124,253,202,4,239, + 15,131,244,44,129,124,253,194,4,239,15,131,244,44,255,248,1,252,242,15,16, + 4,194,248,2,131,198,4,102,15,46,4,202,248,3,255,248,1,221,4,202,248,2,221, + 4,194,248,3,131,198,4,255,223,252,233,221,216,255,218,252,233,223,224,158, + 255,15,135,244,247,255,15,130,244,247,255,15,131,244,247,255,15,183,70,252, + 254,141,180,253,134,233,248,1,139,6,15,182,204,15,182,232,131,198,4,193,232, + 16,252,255,36,252,235,255,139,108,194,4,131,198,4,255,129,252,253,239,15, + 133,244,253,129,124,253,202,4,239,15,133,244,254,139,44,194,59,44,202,255, + 15,133,244,255,255,15,132,244,255,255,15,183,70,252,254,141,180,253,134,233, + 248,9,139,6,15,182,204,15,182,232,131,198,4,193,232,16,252,255,36,252,235, + 248,7,15,135,244,251,129,124,253,202,4,239,15,130,244,247,15,133,244,251, + 255,252,242,15,42,4,202,255,219,4,202,255,252,233,244,248,248,8,15,135,244, + 251,255,252,242,15,42,4,194,102,15,46,4,202,255,219,4,194,221,4,202,255,252, + 233,244,250,255,129,252,253,239,15,131,244,251,129,124,253,202,4,239,15,131, + 244,251,255,248,1,252,242,15,16,4,202,248,2,102,15,46,4,194,248,4,255,248, + 1,221,4,202,248,2,221,4,194,248,4,255,15,138,244,248,15,133,244,248,255,15, + 138,244,248,15,132,244,247,255,248,1,15,183,70,252,254,141,180,253,134,233, + 248,2,255,248,2,15,183,70,252,254,141,180,253,134,233,248,1,255,252,233,244, + 9,255,129,252,253,239,15,132,244,49,129,124,253,202,4,239,15,132,244,49,255, + 57,108,202,4,15,133,244,2,129,252,253,239,15,131,244,1,139,12,202,139,4,194, + 57,193,15,132,244,1,129,252,253,239,15,135,244,2,129,252,253,239,15,130,244, + 2,139,169,233,133,252,237,15,132,244,2,252,246,133,233,235,15,133,244,2,255, + 49,252,237,255,189,1,0,0,0,255,252,233,244,48,255,248,3,129,252,253,239,255, + 15,133,244,9,255,252,233,244,49,255,72,252,247,208,139,108,202,4,131,198, + 4,129,252,253,239,15,133,244,249,139,12,202,59,12,135,255,139,108,202,4,131, + 198,4,255,129,252,253,239,15,133,244,253,129,124,253,199,4,239,15,133,244, + 254,139,44,199,59,44,202,255,15,183,70,252,254,141,180,253,134,233,248,9, + 139,6,15,182,204,15,182,232,131,198,4,193,232,16,252,255,36,252,235,248,7, + 15,135,244,249,129,124,253,199,4,239,15,130,244,247,255,252,242,15,42,4,199, + 255,219,4,199,255,252,233,244,248,248,8,255,252,242,15,42,4,202,102,15,46, + 4,199,255,219,4,202,221,4,199,255,129,252,253,239,15,131,244,249,255,248, + 1,252,242,15,16,4,199,248,2,102,15,46,4,202,248,4,255,248,1,221,4,199,248, + 2,221,4,202,248,4,255,72,252,247,208,139,108,202,4,131,198,4,57,197,255,15, + 133,244,249,15,183,70,252,254,141,180,253,134,233,248,2,139,6,15,182,204, + 15,182,232,131,198,4,193,232,16,252,255,36,252,235,248,3,129,252,253,239, + 15,133,244,2,252,233,244,49,255,15,132,244,248,129,252,253,239,15,132,244, + 49,15,183,70,252,254,141,180,253,134,233,248,2,139,6,15,182,204,15,182,232, + 131,198,4,193,232,16,252,255,36,252,235,255,139,108,194,4,131,198,4,129,252, + 253,239,255,137,108,202,4,139,44,194,137,44,202,255,72,139,44,194,72,137, + 44,202,139,6,15,182,204,15,182,232,131,198,4,193,232,16,252,255,36,252,235, + 255,49,252,237,129,124,253,194,4,239,129,213,239,137,108,202,4,139,6,15,182, + 204,15,182,232,131,198,4,193,232,16,252,255,36,252,235,255,129,124,253,194, + 4,239,15,133,244,251,139,44,194,252,247,221,15,128,244,250,199,68,202,4,237, + 137,44,202,248,9,139,6,15,182,204,15,182,232,131,198,4,193,232,16,252,255, + 36,252,235,248,4,199,68,202,4,0,0,224,65,199,4,202,0,0,0,0,252,233,244,9, + 248,5,15,135,244,54,255,129,124,253,194,4,239,15,131,244,54,255,252,242,15, + 16,4,194,72,184,237,237,102,72,15,110,200,15,87,193,252,242,15,17,4,202,255, + 221,4,194,217,224,221,28,202,255,129,124,253,194,4,239,15,133,244,248,139, + 4,194,255,139,128,233,248,1,199,68,202,4,237,137,4,202,255,15,87,192,252, + 242,15,42,128,233,248,1,252,242,15,17,4,202,255,219,128,233,248,1,221,28, + 202,255,139,6,15,182,204,15,182,232,131,198,4,193,232,16,252,255,36,252,235, + 248,2,129,124,253,194,4,239,15,133,244,57,139,12,194,255,139,169,233,131, + 252,253,0,15,133,244,255,248,3,255,248,58,137,213,232,251,1,20,255,252,242, + 15,42,192,255,137,252,234,15,182,78,252,253,252,233,244,1,255,248,9,252,246, + 133,233,235,15,133,244,3,252,233,244,57,255,15,182,252,236,15,182,192,255, + 129,124,253,252,234,4,239,15,133,244,51,129,124,253,199,4,239,15,133,244, + 51,139,44,252,234,3,44,199,15,128,244,50,255,129,124,253,252,234,4,239,15, + 133,244,53,129,124,253,199,4,239,15,133,244,53,139,4,199,3,4,252,234,15,128, + 244,52,255,129,124,253,252,234,4,239,15,133,244,56,129,124,253,194,4,239, + 15,133,244,56,139,44,252,234,3,44,194,15,128,244,55,255,199,68,202,4,237, + 255,129,124,253,252,234,4,239,15,131,244,51,255,129,124,253,199,4,239,15, + 131,244,51,255,252,242,15,16,4,252,234,252,242,15,88,4,199,255,221,4,252, + 234,220,4,199,255,129,124,253,252,234,4,239,15,131,244,53,255,129,124,253, + 199,4,239,15,131,244,53,255,252,242,15,16,4,199,252,242,15,88,4,252,234,255, + 221,4,199,220,4,252,234,255,129,124,253,252,234,4,239,15,131,244,56,129,124, + 253,194,4,239,15,131,244,56,255,252,242,15,16,4,252,234,252,242,15,88,4,194, + 255,221,4,252,234,220,4,194,255,129,124,253,252,234,4,239,15,133,244,51,129, + 124,253,199,4,239,15,133,244,51,139,44,252,234,43,44,199,15,128,244,50,255, + 129,124,253,252,234,4,239,15,133,244,53,129,124,253,199,4,239,15,133,244, + 53,139,4,199,43,4,252,234,15,128,244,52,255,129,124,253,252,234,4,239,15, + 133,244,56,129,124,253,194,4,239,15,133,244,56,139,44,252,234,43,44,194,15, + 128,244,55,255,252,242,15,16,4,252,234,252,242,15,92,4,199,255,221,4,252, + 234,220,36,199,255,252,242,15,16,4,199,252,242,15,92,4,252,234,255,221,4, + 199,220,36,252,234,255,252,242,15,16,4,252,234,252,242,15,92,4,194,255,221, + 4,252,234,220,36,194,255,129,124,253,252,234,4,239,15,133,244,51,129,124, + 253,199,4,239,15,133,244,51,139,44,252,234,15,175,44,199,15,128,244,50,255, + 129,124,253,252,234,4,239,15,133,244,53,129,124,253,199,4,239,15,133,244, + 53,139,4,199,15,175,4,252,234,15,128,244,52,255,129,124,253,252,234,4,239, + 15,133,244,56,129,124,253,194,4,239,15,133,244,56,139,44,252,234,15,175,44, + 194,15,128,244,55,255,252,242,15,16,4,252,234,252,242,15,89,4,199,255,221, + 4,252,234,220,12,199,255,252,242,15,16,4,199,252,242,15,89,4,252,234,255, + 221,4,199,220,12,252,234,255,252,242,15,16,4,252,234,252,242,15,89,4,194, + 255,221,4,252,234,220,12,194,255,252,242,15,16,4,252,234,252,242,15,94,4, + 199,255,221,4,252,234,220,52,199,255,252,242,15,16,4,199,252,242,15,94,4, + 252,234,255,221,4,199,220,52,252,234,255,252,242,15,16,4,252,234,252,242, + 15,94,4,194,255,221,4,252,234,220,52,194,255,252,242,15,16,4,252,234,252, + 242,15,16,12,199,255,221,4,252,234,221,4,199,255,252,242,15,16,4,199,252, + 242,15,16,12,252,234,255,221,4,199,221,4,252,234,255,252,242,15,16,4,252, + 234,252,242,15,16,12,194,255,221,4,252,234,221,4,194,255,248,168,232,244, + 157,255,252,233,244,168,255,232,244,117,255,15,182,252,236,15,182,192,139, + 76,36,96,137,145,233,141,20,194,65,137,192,65,41,232,248,36,137,205,137,116, + 36,100,232,251,1,29,139,149,233,133,192,15,133,244,45,15,182,110,252,255, + 15,182,78,252,253,72,139,4,252,234,72,137,4,202,139,6,15,182,204,15,182,232, + 131,198,4,193,232,16,252,255,36,252,235,255,72,252,247,208,139,4,135,199, + 68,202,4,237,137,4,202,139,6,15,182,204,15,182,232,131,198,4,193,232,16,252, + 255,36,252,235,255,15,191,192,199,68,202,4,237,137,4,202,255,15,191,192,252, + 242,15,42,192,252,242,15,17,4,202,255,223,70,252,254,221,28,202,255,252,242, + 15,16,4,199,252,242,15,17,4,202,255,221,4,199,221,28,202,255,72,252,247,208, + 137,68,202,4,139,6,15,182,204,15,182,232,131,198,4,193,232,16,252,255,36, + 252,235,255,141,76,202,12,141,68,194,4,189,237,137,105,252,248,248,1,137, + 41,131,193,8,57,193,15,134,244,1,139,6,15,182,204,15,182,232,131,198,4,193, + 232,16,252,255,36,252,235,255,139,106,252,248,139,172,253,133,233,139,173, + 233,72,139,69,0,72,137,4,202,139,6,15,182,204,15,182,232,131,198,4,193,232, + 16,252,255,36,252,235,255,139,106,252,248,139,172,253,141,233,128,189,233, + 0,139,173,233,139,12,194,139,68,194,4,137,77,0,137,69,4,15,132,244,247,252, + 246,133,233,235,15,133,244,248,248,1,139,6,15,182,204,15,182,232,131,198, + 4,193,232,16,252,255,36,252,235,248,2,129,232,239,129,252,248,239,15,134, + 244,1,252,246,129,233,235,15,132,244,1,135,213,141,139,233,255,232,251,1, + 30,137,252,234,252,233,244,1,255,72,252,247,208,139,106,252,248,139,172,253, + 141,233,139,12,135,139,133,233,137,8,199,64,4,237,252,246,133,233,235,15, + 133,244,248,248,1,139,6,15,182,204,15,182,232,131,198,4,193,232,16,252,255, + 36,252,235,248,2,252,246,129,233,235,15,132,244,1,128,189,233,0,15,132,244, + 1,137,213,137,194,141,139,233,232,251,1,30,137,252,234,252,233,244,1,255, + 139,106,252,248,255,252,242,15,16,4,199,255,139,172,253,141,233,139,141,233, + 255,252,242,15,17,1,255,221,25,255,72,252,247,208,139,106,252,248,139,172, + 253,141,233,139,141,233,137,65,4,139,6,15,182,204,15,182,232,131,198,4,193, + 232,16,252,255,36,252,235,255,141,180,253,134,233,139,108,36,96,131,189,233, + 0,15,132,244,247,137,149,233,141,20,202,137,252,233,232,251,1,31,139,149, + 233,248,1,139,6,15,182,204,15,182,232,131,198,4,193,232,16,252,255,36,252, + 235,255,72,252,247,208,139,108,36,96,137,149,233,68,139,66,252,248,139,20, + 135,137,252,233,137,116,36,100,232,251,1,32,139,149,233,15,182,78,252,253, + 137,4,202,199,68,202,4,237,139,6,15,182,204,15,182,232,131,198,4,193,232, + 16,252,255,36,252,235,255,139,108,36,96,137,149,233,139,139,233,59,139,233, + 137,116,36,100,15,131,244,251,248,1,65,137,192,37,252,255,7,0,0,65,193,232, + 11,61,252,255,7,0,0,15,132,244,249,248,2,137,252,233,137,194,232,251,1,33, + 139,149,233,15,182,78,252,253,137,4,202,199,68,202,4,237,139,6,15,182,204, + 15,182,232,131,198,4,193,232,16,252,255,36,252,235,248,3,184,1,8,0,0,252, + 233,244,2,248,5,137,252,233,232,251,1,34,15,183,70,252,254,252,233,244,1, + 255,72,252,247,208,139,108,36,96,139,139,233,137,116,36,100,59,139,233,137, + 149,233,15,131,244,249,248,2,139,20,135,137,252,233,232,251,1,35,139,149, + 233,15,182,78,252,253,137,4,202,199,68,202,4,237,139,6,15,182,204,15,182, + 232,131,198,4,193,232,16,252,255,36,252,235,248,3,137,252,233,232,251,1,34, + 15,183,70,252,254,72,252,247,208,252,233,244,2,255,72,252,247,208,139,106, + 252,248,139,173,233,139,4,135,252,233,244,169,255,72,252,247,208,139,106, + 252,248,139,173,233,139,4,135,252,233,244,170,255,15,182,252,236,15,182,192, + 129,124,253,252,234,4,239,15,133,244,39,139,44,252,234,255,129,124,253,194, + 4,239,15,133,244,251,139,4,194,255,129,124,253,194,4,239,15,131,244,251,255, + 252,242,15,16,4,194,252,242,15,45,192,252,242,15,42,200,102,15,46,193,255, + 15,133,244,39,255,59,133,233,15,131,244,39,193,224,3,3,133,233,129,120,253, + 4,239,15,132,244,248,72,139,40,72,137,44,202,248,1,139,6,15,182,204,15,182, + 232,131,198,4,193,232,16,252,255,36,252,235,248,2,131,189,233,0,15,132,244, + 249,139,141,233,252,246,129,233,235,15,132,244,39,15,182,78,252,253,248,3, + 199,68,202,4,237,252,233,244,1,248,5,255,129,124,253,194,4,239,15,133,244, + 39,139,4,194,252,233,244,169,255,15,182,252,236,15,182,192,72,252,247,208, + 139,4,135,129,124,253,252,234,4,239,15,133,244,37,139,44,252,234,248,169, + 139,141,233,35,136,233,105,201,239,3,141,233,248,1,129,185,233,239,15,133, + 244,250,57,129,233,15,133,244,250,129,121,253,4,239,15,132,244,251,15,182, + 70,252,253,72,139,41,72,137,44,194,248,2,255,139,6,15,182,204,15,182,232, + 131,198,4,193,232,16,252,255,36,252,235,248,3,15,182,70,252,253,199,68,194, + 4,237,252,233,244,2,248,4,139,137,233,133,201,15,133,244,1,248,5,139,141, + 233,133,201,15,132,244,3,252,246,129,233,235,15,133,244,3,252,233,244,37, + 255,15,182,252,236,15,182,192,129,124,253,252,234,4,239,15,133,244,38,139, + 44,252,234,59,133,233,15,131,244,38,193,224,3,3,133,233,129,120,253,4,239, + 15,132,244,248,72,139,40,72,137,44,202,248,1,139,6,15,182,204,15,182,232, + 131,198,4,193,232,16,252,255,36,252,235,248,2,131,189,233,0,15,132,244,249, + 139,141,233,252,246,129,233,235,15,132,244,38,255,15,182,78,252,253,248,3, + 199,68,202,4,237,252,233,244,1,255,15,182,252,236,15,182,192,129,124,253, + 252,234,4,239,15,133,244,42,139,44,252,234,255,15,133,244,42,255,59,133,233, + 15,131,244,42,193,224,3,3,133,233,129,120,253,4,239,15,132,244,249,248,1, + 252,246,133,233,235,15,133,244,253,248,2,72,139,44,202,72,137,40,139,6,15, + 182,204,15,182,232,131,198,4,193,232,16,252,255,36,252,235,248,3,131,189, + 233,0,15,132,244,1,139,141,233,252,246,129,233,235,255,15,132,244,42,15,182, + 78,252,253,252,233,244,1,248,5,129,124,253,194,4,239,15,133,244,42,139,4, + 194,252,233,244,170,248,7,128,165,233,235,139,139,233,137,171,233,137,141, + 233,15,182,78,252,253,252,233,244,2,255,15,182,252,236,15,182,192,72,252, + 247,208,139,4,135,129,124,253,252,234,4,239,15,133,244,40,139,44,252,234, + 248,170,139,141,233,35,136,233,105,201,239,198,133,233,0,3,141,233,248,1, + 129,185,233,239,15,133,244,251,57,129,233,15,133,244,251,129,121,253,4,239, + 15,132,244,250,248,2,255,252,246,133,233,235,15,133,244,253,248,3,15,182, + 70,252,253,72,139,44,194,72,137,41,139,6,15,182,204,15,182,232,131,198,4, + 193,232,16,252,255,36,252,235,248,4,131,189,233,0,15,132,244,2,137,76,36, + 80,139,141,233,252,246,129,233,235,15,132,244,40,139,76,36,80,252,233,244, + 2,248,5,139,137,233,133,201,15,133,244,1,255,139,141,233,133,201,15,132,244, + 252,252,246,129,233,235,15,132,244,40,248,6,137,68,36,80,199,68,36,84,237, + 137,108,36,32,139,76,36,96,137,145,233,76,141,68,36,80,137,252,234,137,205, + 137,116,36,100,232,251,1,36,139,149,233,139,108,36,32,137,193,252,233,244, + 2,248,7,128,165,233,235,139,131,233,137,171,233,137,133,233,252,233,244,3, + 255,15,182,252,236,15,182,192,129,124,253,252,234,4,239,15,133,244,41,139, + 44,252,234,59,133,233,15,131,244,41,193,224,3,3,133,233,129,120,253,4,239, + 15,132,244,249,248,1,252,246,133,233,235,15,133,244,253,248,2,72,139,12,202, + 72,137,8,139,6,15,182,204,15,182,232,131,198,4,193,232,16,252,255,36,252, + 235,248,3,131,189,233,0,15,132,244,1,255,139,141,233,252,246,129,233,235, + 15,132,244,41,15,182,78,252,253,252,233,244,1,248,7,128,165,233,235,139,139, + 233,137,171,233,137,141,233,15,182,78,252,253,252,233,244,2,255,137,124,36, + 80,139,60,199,248,1,141,12,202,139,105,252,248,252,246,133,233,235,15,133, + 244,253,248,2,139,68,36,84,131,232,1,15,132,244,250,1,252,248,59,133,233, + 15,135,244,251,41,252,248,193,231,3,3,189,233,248,3,72,139,41,131,193,8,72, + 137,47,131,199,8,131,232,1,15,133,244,3,248,4,139,124,36,80,139,6,15,182, + 204,15,182,232,131,198,4,193,232,16,252,255,36,252,235,248,5,139,76,36,96, + 137,145,233,137,252,234,65,137,192,137,205,137,116,36,100,232,251,1,37,139, + 149,233,15,182,78,252,253,252,233,244,1,248,7,255,128,165,233,235,139,131, + 233,137,171,233,137,133,233,252,233,244,2,255,3,68,36,84,255,129,124,253, + 202,4,239,139,44,202,15,133,244,59,141,84,202,8,137,114,252,252,139,181,233, + 139,14,15,182,252,233,15,182,205,131,198,4,252,255,36,252,235,255,141,76, + 202,8,137,215,139,105,252,248,129,121,253,252,252,239,15,133,244,29,248,60, + 139,114,252,252,252,247,198,237,15,133,244,253,248,1,137,106,252,248,137, + 68,36,84,131,232,1,15,132,244,249,248,2,72,139,41,131,193,8,72,137,47,131, + 199,8,131,232,1,15,133,244,2,139,106,252,248,248,3,139,68,36,84,128,189,233, + 1,15,135,244,251,248,4,139,181,233,139,14,15,182,252,233,15,182,205,131,198, + 4,252,255,36,252,235,248,5,255,252,247,198,237,15,133,244,4,15,182,78,252, + 253,72,252,247,209,141,12,202,139,121,252,248,139,191,233,139,191,233,252, + 233,244,4,248,7,129,252,238,239,252,247,198,237,15,133,244,254,41,252,242, + 137,215,139,114,252,252,252,233,244,1,248,8,129,198,239,252,233,244,1,255, + 141,76,202,8,72,139,105,232,72,139,65,252,240,72,137,41,72,137,65,8,139,105, + 224,139,65,228,137,105,252,248,137,65,252,252,129,252,248,239,184,237,15, + 133,244,29,137,202,137,114,252,252,139,181,233,139,14,15,182,252,233,15,182, + 205,131,198,4,252,255,36,252,235,255,137,124,36,80,137,92,36,84,139,108,202, + 252,240,139,68,202,252,248,139,157,233,131,198,4,139,189,233,248,1,57,216, + 15,131,244,251,129,124,253,199,4,239,15,132,244,250,255,219,68,202,252,248, + 255,72,139,44,199,72,137,108,202,8,131,192,1,255,137,68,202,252,248,248,2, + 15,183,70,252,254,141,180,253,134,233,248,3,139,92,36,84,139,124,36,80,139, + 6,15,182,204,15,182,232,131,198,4,193,232,16,252,255,36,252,235,248,4,131, + 192,1,255,137,68,202,252,248,255,252,233,244,1,248,5,41,216,248,6,59,133, + 233,15,135,244,3,105,252,248,239,3,189,233,129,191,233,239,15,132,244,253, + 141,92,24,1,72,139,175,233,72,139,135,233,72,137,44,202,72,137,68,202,8,137, + 92,202,252,248,252,233,244,2,248,7,131,192,1,252,233,244,6,255,129,124,253, + 202,252,236,239,15,133,244,251,139,108,202,232,129,124,253,202,252,244,239, + 15,133,244,251,129,124,253,202,252,252,239,15,133,244,251,128,189,233,235, + 15,133,244,251,141,180,253,134,233,199,68,202,252,248,0,0,0,0,248,1,139,6, + 15,182,204,15,182,232,131,198,4,193,232,16,252,255,36,252,235,248,5,198,70, + 252,252,235,141,180,253,134,233,198,6,235,252,233,244,1,255,15,182,252,236, + 15,182,192,137,124,36,80,141,188,253,194,233,141,12,202,43,122,252,252,133, + 252,237,15,132,244,251,141,108,252,233,252,248,57,215,15,131,244,248,248, + 1,72,139,71,252,248,131,199,8,72,137,1,131,193,8,57,252,233,15,131,244,249, + 57,215,15,130,244,1,248,2,199,65,4,237,131,193,8,57,252,233,15,130,244,2, + 248,3,139,124,36,80,139,6,15,182,204,15,182,232,131,198,4,193,232,16,252, + 255,36,252,235,248,5,199,68,36,84,1,0,0,0,137,208,41,252,248,15,134,244,3, + 137,197,193,252,237,3,131,197,1,137,108,36,84,139,108,36,96,1,200,59,133, + 233,15,135,244,253,248,6,255,72,139,71,252,248,131,199,8,72,137,1,131,193, + 8,57,215,15,130,244,6,252,233,244,3,248,7,137,149,233,137,141,233,137,116, + 36,100,41,215,139,84,36,84,131,252,234,1,137,252,233,232,251,1,0,139,149, + 233,139,141,233,1,215,252,233,244,6,255,193,225,3,255,248,1,139,114,252,252, + 137,68,36,84,252,247,198,237,15,133,244,253,255,248,13,137,215,131,232,1, + 15,132,244,249,248,2,72,139,44,15,72,137,111,252,248,131,199,8,131,232,1, + 15,133,244,2,248,3,139,68,36,84,15,182,110,252,255,248,5,57,197,15,135,244, + 252,255,72,139,44,10,72,137,106,252,248,255,248,5,56,70,252,255,15,135,244, + 252,255,15,182,78,252,253,72,252,247,209,141,20,202,139,122,252,248,139,191, + 233,139,191,233,139,6,15,182,204,15,182,232,131,198,4,193,232,16,252,255, + 36,252,235,248,6,255,199,71,252,252,237,131,199,8,255,199,68,194,252,244, + 237,255,131,192,1,252,233,244,5,248,7,141,174,233,252,247,197,237,15,133, + 244,14,41,252,234,255,1,252,233,255,137,252,245,209,252,237,129,229,239,102, + 129,172,253,43,233,238,15,130,244,149,255,141,12,202,255,129,121,253,4,239, + 15,133,244,255,255,129,121,253,12,239,15,133,244,61,129,121,253,20,239,15, + 133,244,61,139,41,131,121,16,0,15,140,244,251,255,129,121,253,12,239,15,133, + 244,165,129,121,253,20,239,15,133,244,165,255,139,105,16,133,252,237,15,136, + 244,251,3,41,15,128,244,247,137,41,255,59,105,8,199,65,28,237,137,105,24, + 255,15,142,244,253,248,1,248,6,141,180,253,134,233,255,141,180,253,134,233, + 15,183,70,252,254,15,142,245,248,1,248,6,255,15,143,244,253,248,6,141,180, + 253,134,233,248,1,255,248,7,139,6,15,182,204,15,182,232,131,198,4,193,232, + 16,252,255,36,252,235,248,5,255,3,41,15,128,244,1,137,41,255,15,141,244,7, + 255,141,180,253,134,233,15,183,70,252,254,15,141,245,255,15,140,244,7,255, + 252,233,244,6,248,9,255,129,121,253,4,239,255,15,131,244,61,129,121,253,12, + 239,15,131,244,61,255,129,121,253,12,239,15,131,244,165,129,121,253,20,239, + 15,131,244,165,255,139,105,20,255,129,252,253,239,15,131,244,61,255,252,242, + 15,16,1,252,242,15,16,73,8,255,252,242,15,88,65,16,252,242,15,17,1,133,252, + 237,15,136,244,249,255,15,140,244,249,255,102,15,46,200,248,1,252,242,15, + 17,65,24,255,221,65,8,221,1,255,220,65,16,221,17,221,81,24,133,252,237,15, + 136,244,247,255,221,81,24,15,140,244,247,255,217,201,248,1,255,15,183,70, + 252,254,255,15,131,244,7,255,15,131,244,248,141,180,253,134,233,255,141,180, + 253,134,233,15,183,70,252,254,15,131,245,255,15,130,244,7,255,15,130,244, + 248,141,180,253,134,233,255,248,3,102,15,46,193,252,233,244,1,255,141,12, + 202,139,105,4,129,252,253,239,15,132,244,247,255,137,105,252,252,139,41,137, + 105,252,248,252,233,245,255,141,180,253,134,233,139,1,137,105,252,252,137, + 65,252,248,255,139,139,233,139,4,129,72,139,128,233,139,108,36,96,137,147, + 233,137,171,233,76,137,100,36,80,76,137,108,36,32,76,137,116,36,24,76,137, + 124,36,16,72,137,225,72,129,252,236,239,102,15,127,49,102,15,127,185,233, + 102,68,15,127,129,233,102,68,15,127,137,233,102,68,15,127,145,233,102,68, + 15,127,153,233,102,68,15,127,161,233,102,68,15,127,169,233,102,68,15,127, + 177,233,102,68,15,127,185,233,252,255,224,255,141,180,253,134,233,139,6,15, + 182,204,15,182,232,131,198,4,193,232,16,252,255,36,252,235,255,137,252,245, + 209,252,237,129,229,239,102,129,172,253,43,233,238,15,130,244,151,255,139, + 190,233,139,108,36,96,141,12,202,59,141,233,15,135,244,24,15,182,142,233, + 57,200,15,134,244,249,248,2,255,15,183,70,252,254,252,233,245,255,248,3,199, + 68,194,252,252,237,131,192,1,57,200,15,134,244,3,252,233,244,2,255,141,44, + 197,237,141,4,194,139,122,252,248,137,104,252,252,137,120,252,248,139,108, + 36,96,141,12,200,59,141,233,15,135,244,23,137,209,137,194,15,182,174,233, + 133,252,237,15,132,244,248,248,1,131,193,8,57,209,15,131,244,249,139,121, + 252,248,137,56,139,121,252,252,137,120,4,131,192,8,199,65,252,252,237,131, + 252,237,1,15,133,244,1,248,2,255,139,190,233,139,6,15,182,204,15,182,232, + 131,198,4,193,232,16,252,255,36,252,235,255,248,3,199,64,4,237,131,192,8, + 131,252,237,1,15,133,244,3,252,233,244,2,255,139,106,252,248,72,139,189,233, + 139,108,36,96,141,68,194,252,248,137,149,233,141,136,233,59,141,233,137,133, + 233,255,72,137,252,250,137,252,233,255,15,135,244,22,199,131,233,237,255, + 252,255,215,255,252,255,147,233,255,199,131,233,237,139,149,233,141,12,194, + 252,247,217,3,141,233,139,114,252,252,252,233,244,12,255,254,0 +}; + +enum { + GLOB_vm_returnp, + GLOB_cont_dispatch, + GLOB_vm_returnc, + GLOB_BC_RET_Z, + GLOB_vm_return, + GLOB_vm_leave_cp, + GLOB_vm_leave_unw, + GLOB_vm_unwind_c, + GLOB_vm_unwind_c_eh, + GLOB_vm_unwind_rethrow, + GLOB_vm_unwind_ff, + GLOB_vm_unwind_ff_eh, + GLOB_vm_growstack_c, + GLOB_vm_growstack_v, + GLOB_vm_growstack_f, + GLOB_vm_resume, + GLOB_vm_pcall, + GLOB_vm_call, + GLOB_vm_call_dispatch, + GLOB_vmeta_call, + GLOB_vm_call_dispatch_f, + GLOB_vm_cpcall, + GLOB_cont_ffi_callback, + GLOB_vm_call_tail, + GLOB_cont_cat, + GLOB_cont_ra, + GLOB_BC_CAT_Z, + GLOB_vmeta_tgets, + GLOB_vmeta_tgetb, + GLOB_vmeta_tgetv, + GLOB_vmeta_tsets, + GLOB_vmeta_tsetb, + GLOB_vmeta_tsetv, + GLOB_cont_nop, + GLOB_vmeta_comp, + GLOB_vmeta_binop, + GLOB_cont_condt, + GLOB_cont_condf, + GLOB_vmeta_equal, + GLOB_vmeta_equal_cd, + GLOB_vmeta_arith_vno, + GLOB_vmeta_arith_vn, + GLOB_vmeta_arith_nvo, + GLOB_vmeta_arith_nv, + GLOB_vmeta_unm, + GLOB_vmeta_arith_vvo, + GLOB_vmeta_arith_vv, + GLOB_vmeta_len, + GLOB_BC_LEN_Z, + GLOB_vmeta_call_ra, + GLOB_BC_CALLT_Z, + GLOB_vmeta_for, + GLOB_ff_assert, + GLOB_fff_fallback, + GLOB_fff_res_, + GLOB_ff_type, + GLOB_fff_res1, + GLOB_ff_getmetatable, + GLOB_ff_setmetatable, + GLOB_ff_rawget, + GLOB_ff_tonumber, + GLOB_fff_resi, + GLOB_fff_resxmm0, + GLOB_fff_resn, + GLOB_ff_tostring, + GLOB_fff_gcstep, + GLOB_ff_next, + GLOB_fff_res2, + GLOB_fff_res, + GLOB_ff_pairs, + GLOB_ff_ipairs_aux, + GLOB_fff_res0, + GLOB_ff_ipairs, + GLOB_ff_pcall, + GLOB_ff_xpcall, + GLOB_ff_coroutine_resume, + GLOB_ff_coroutine_wrap_aux, + GLOB_ff_coroutine_yield, + GLOB_ff_math_abs, + GLOB_fff_resbit, + GLOB_ff_math_floor, + GLOB_vm_floor, + GLOB_ff_math_ceil, + GLOB_vm_ceil, + GLOB_ff_math_sqrt, + GLOB_ff_math_log, + GLOB_ff_math_log10, + GLOB_ff_math_exp, + GLOB_vm_exp_x87, + GLOB_ff_math_sin, + GLOB_ff_math_cos, + GLOB_ff_math_tan, + GLOB_ff_math_asin, + GLOB_ff_math_acos, + GLOB_ff_math_atan, + GLOB_ff_math_sinh, + GLOB_ff_math_cosh, + GLOB_ff_math_tanh, + GLOB_ff_math_deg, + GLOB_ff_math_rad, + GLOB_ff_math_atan2, + GLOB_ff_math_ldexp, + GLOB_ff_math_frexp, + GLOB_ff_math_modf, + GLOB_vm_trunc, + GLOB_ff_math_fmod, + GLOB_ff_math_pow, + GLOB_vm_pow, + GLOB_ff_math_min, + GLOB_ff_math_max, + GLOB_ff_string_len, + GLOB_ff_string_byte, + GLOB_ff_string_char, + GLOB_fff_newstr, + GLOB_ff_string_sub, + GLOB_fff_emptystr, + GLOB_ff_string_rep, + GLOB_fff_fallback_2, + GLOB_ff_string_reverse, + GLOB_fff_fallback_1, + GLOB_ff_string_lower, + GLOB_ff_string_upper, + GLOB_ff_table_getn, + GLOB_ff_bit_tobit, + GLOB_ff_bit_band, + GLOB_fff_fallback_bit_op, + GLOB_ff_bit_bor, + GLOB_ff_bit_bxor, + GLOB_ff_bit_bswap, + GLOB_ff_bit_bnot, + GLOB_ff_bit_lshift, + GLOB_ff_bit_rshift, + GLOB_ff_bit_arshift, + GLOB_ff_bit_rol, + GLOB_ff_bit_ror, + GLOB_vm_record, + GLOB_vm_rethook, + GLOB_vm_inshook, + GLOB_cont_hook, + GLOB_vm_hotloop, + GLOB_vm_callhook, + GLOB_vm_hotcall, + GLOB_vm_exit_handler, + GLOB_vm_exit_interp, + GLOB_vm_floor_sse, + GLOB_vm_ceil_sse, + GLOB_vm_trunc_sse, + GLOB_vm_mod, + GLOB_vm_exp2_x87, + GLOB_vm_exp2raw, + GLOB_vm_pow_sse, + GLOB_vm_powi_sse, + GLOB_vm_foldfpm, + GLOB_vm_foldarith, + GLOB_vm_cpuid, + GLOB_assert_bad_for_arg_type, + GLOB_vm_ffi_callback, + GLOB_vm_ffi_call, + GLOB_BC_MODVN_Z, + GLOB_BC_TGETS_Z, + GLOB_BC_TSETS_Z, + GLOB__MAX +}; +static const char *const globnames[] = { + "vm_returnp", + "cont_dispatch", + "vm_returnc", + "BC_RET_Z", + "vm_return", + "vm_leave_cp", + "vm_leave_unw", + "vm_unwind_c@8", + "vm_unwind_c_eh", + "vm_unwind_rethrow", + "vm_unwind_ff@4", + "vm_unwind_ff_eh", + "vm_growstack_c", + "vm_growstack_v", + "vm_growstack_f", + "vm_resume", + "vm_pcall", + "vm_call", + "vm_call_dispatch", + "vmeta_call", + "vm_call_dispatch_f", + "vm_cpcall", + "cont_ffi_callback", + "vm_call_tail", + "cont_cat", + "cont_ra", + "BC_CAT_Z", + "vmeta_tgets", + "vmeta_tgetb", + "vmeta_tgetv", + "vmeta_tsets", + "vmeta_tsetb", + "vmeta_tsetv", + "cont_nop", + "vmeta_comp", + "vmeta_binop", + "cont_condt", + "cont_condf", + "vmeta_equal", + "vmeta_equal_cd", + "vmeta_arith_vno", + "vmeta_arith_vn", + "vmeta_arith_nvo", + "vmeta_arith_nv", + "vmeta_unm", + "vmeta_arith_vvo", + "vmeta_arith_vv", + "vmeta_len", + "BC_LEN_Z", + "vmeta_call_ra", + "BC_CALLT_Z", + "vmeta_for", + "ff_assert", + "fff_fallback", + "fff_res_", + "ff_type", + "fff_res1", + "ff_getmetatable", + "ff_setmetatable", + "ff_rawget", + "ff_tonumber", + "fff_resi", + "fff_resxmm0", + "fff_resn", + "ff_tostring", + "fff_gcstep", + "ff_next", + "fff_res2", + "fff_res", + "ff_pairs", + "ff_ipairs_aux", + "fff_res0", + "ff_ipairs", + "ff_pcall", + "ff_xpcall", + "ff_coroutine_resume", + "ff_coroutine_wrap_aux", + "ff_coroutine_yield", + "ff_math_abs", + "fff_resbit", + "ff_math_floor", + "vm_floor", + "ff_math_ceil", + "vm_ceil", + "ff_math_sqrt", + "ff_math_log", + "ff_math_log10", + "ff_math_exp", + "vm_exp_x87", + "ff_math_sin", + "ff_math_cos", + "ff_math_tan", + "ff_math_asin", + "ff_math_acos", + "ff_math_atan", + "ff_math_sinh", + "ff_math_cosh", + "ff_math_tanh", + "ff_math_deg", + "ff_math_rad", + "ff_math_atan2", + "ff_math_ldexp", + "ff_math_frexp", + "ff_math_modf", + "vm_trunc", + "ff_math_fmod", + "ff_math_pow", + "vm_pow", + "ff_math_min", + "ff_math_max", + "ff_string_len", + "ff_string_byte", + "ff_string_char", + "fff_newstr", + "ff_string_sub", + "fff_emptystr", + "ff_string_rep", + "fff_fallback_2", + "ff_string_reverse", + "fff_fallback_1", + "ff_string_lower", + "ff_string_upper", + "ff_table_getn", + "ff_bit_tobit", + "ff_bit_band", + "fff_fallback_bit_op", + "ff_bit_bor", + "ff_bit_bxor", + "ff_bit_bswap", + "ff_bit_bnot", + "ff_bit_lshift", + "ff_bit_rshift", + "ff_bit_arshift", + "ff_bit_rol", + "ff_bit_ror", + "vm_record", + "vm_rethook", + "vm_inshook", + "cont_hook", + "vm_hotloop", + "vm_callhook", + "vm_hotcall", + "vm_exit_handler", + "vm_exit_interp", + "vm_floor_sse", + "vm_ceil_sse", + "vm_trunc_sse", + "vm_mod", + "vm_exp2_x87", + "vm_exp2raw", + "vm_pow_sse", + "vm_powi_sse", + "vm_foldfpm", + "vm_foldarith", + "vm_cpuid", + "assert_bad_for_arg_type", + "vm_ffi_callback", + "vm_ffi_call@4", + "BC_MODVN_Z", + "BC_TGETS_Z", + "BC_TSETS_Z", + (const char *)0 +}; +static const char *const extnames[] = { + "lj_state_growstack@8", + "lj_meta_tget", + "lj_meta_tset", + "lj_meta_comp", + "lj_meta_equal", + "lj_meta_equal_cd@8", + "lj_meta_arith", + "lj_meta_len@8", + "lj_meta_call", + "lj_meta_for@8", + "lj_tab_get", + "lj_str_fromnumber@8", + "lj_str_fromnum@8", + "lj_tab_next", + "lj_tab_getinth@8", + "lj_ffh_coroutine_wrap_err@8", + "lj_vm_sinh", + "lj_vm_cosh", + "lj_vm_tanh", + "lj_str_new", + "lj_tab_len@4", + "lj_gc_step@4", + "lj_dispatch_ins@8", + "lj_trace_hot@8", + "lj_dispatch_call@8", + "lj_trace_exit@8", + "lj_err_throw@8", + "lj_ccallback_enter@8", + "lj_ccallback_leave@8", + "lj_meta_cat", + "lj_gc_barrieruv@8", + "lj_func_closeuv@8", + "lj_func_newL_gc", + "lj_tab_new", + "lj_gc_step_fixtop@4", + "lj_tab_dup@8", + "lj_tab_newkey", + "lj_tab_reasize", + (const char *)0 +}; +#define Dt1(_V) (int)(ptrdiff_t)&(((lua_State *)0)_V) +#define Dt2(_V) (int)(ptrdiff_t)&(((global_State *)0)_V) +#define Dt3(_V) (int)(ptrdiff_t)&(((TValue *)0)_V) +#define Dt4(_V) (int)(ptrdiff_t)&(((GCobj *)0)_V) +#define Dt5(_V) (int)(ptrdiff_t)&(((GCstr *)0)_V) +#define Dt6(_V) (int)(ptrdiff_t)&(((GCtab *)0)_V) +#define Dt7(_V) (int)(ptrdiff_t)&(((GCfuncL *)0)_V) +#define Dt8(_V) (int)(ptrdiff_t)&(((GCfuncC *)0)_V) +#define Dt9(_V) (int)(ptrdiff_t)&(((GCproto *)0)_V) +#define DtA(_V) (int)(ptrdiff_t)&(((GCupval *)0)_V) +#define DtB(_V) (int)(ptrdiff_t)&(((Node *)0)_V) +#define DtC(_V) (int)(ptrdiff_t)&(((int *)0)_V) +#define DtD(_V) (int)(ptrdiff_t)&(((GCtrace *)0)_V) +#define DISPATCH_GL(field) (GG_DISP2G + (int)offsetof(global_State, field)) +#define DISPATCH_J(field) (GG_DISP2J + (int)offsetof(jit_State, field)) +#define PC2PROTO(field) ((int)offsetof(GCproto, field)-(int)sizeof(GCproto)) + +/* Generate subroutines used by opcodes and other parts of the VM. */ +/* The .code_sub section should be last to help static branch prediction. */ +static void build_subroutines(BuildCtx *ctx, int cmov, int sse) +{ + dasm_put(Dst, 0); + dasm_put(Dst, 2, FRAME_P, LJ_TTRUE, FRAME_TYPE, FRAME_C, FRAME_TYPE, DISPATCH_GL(vmstate), ~LJ_VMST_C); + dasm_put(Dst, 109, Dt1(->base), Dt1(->top), Dt1(->cframe), Dt1(->maxstack), LJ_TNIL); + dasm_put(Dst, 198, Dt1(->top), Dt1(->top), Dt1(->glref), Dt2(->vmstate), ~LJ_VMST_C, CFRAME_RAWMASK); + dasm_put(Dst, 276, 1+1, Dt1(->base), Dt1(->glref), GG_G2DISP, LJ_TFALSE, DISPATCH_GL(vmstate), ~LJ_VMST_INTERP, LUA_MINSTACK, -4+PC2PROTO(framesize), Dt1(->base)); + dasm_put(Dst, 356, Dt1(->top), Dt1(->base), Dt1(->top), Dt7(->pc), FRAME_CP, CFRAME_RESUME, Dt1(->glref), GG_G2DISP, Dt1(->cframe), Dt1(->status), DISPATCH_GL(vmstate), ~LJ_VMST_INTERP, Dt1(->status), Dt1(->base), Dt1(->top), FRAME_TYPE); + dasm_put(Dst, 511, FRAME_CP, FRAME_C, Dt1(->cframe), Dt1(->cframe), Dt1(->glref), GG_G2DISP, DISPATCH_GL(vmstate), ~LJ_VMST_INTERP, Dt1(->base)); + dasm_put(Dst, 604, Dt1(->top), LJ_TFUNC, Dt7(->pc), Dt1(->stack), Dt1(->top), Dt1(->cframe), Dt1(->cframe), FRAME_CP, LJ_TNIL); +#if LJ_HASFFI + dasm_put(Dst, 764); +#endif + dasm_put(Dst, 773, 0); +#if LJ_HASFFI +#endif + dasm_put(Dst, 782, Dt7(->pc), PC2PROTO(k)); +#if LJ_HASFFI + dasm_put(Dst, 796); +#endif + dasm_put(Dst, 817, Dt1(->base), LJ_TSTR, BC_GGET, DISPATCH_GL(tmptv), LJ_TTAB); + if (LJ_DUALNUM) { + dasm_put(Dst, 917, LJ_TISNUM); + } else if (sse) { + dasm_put(Dst, 927); + } else { + } + dasm_put(Dst, 940, Dt1(->base), Dt1(->base), Dt1(->top), FRAME_CONT, 2+1, LJ_TSTR, BC_GSET); + dasm_put(Dst, 1087, DISPATCH_GL(tmptv), LJ_TTAB); + if (LJ_DUALNUM) { + dasm_put(Dst, 917, LJ_TISNUM); + } else if (sse) { + dasm_put(Dst, 927); + } else { + } + dasm_put(Dst, 1110, Dt1(->base), Dt1(->base), Dt1(->top), FRAME_CONT, 3+1, Dt1(->base), Dt1(->base)); + dasm_put(Dst, 1283, -BCBIAS_J*4, LJ_TISTRUECOND, LJ_TISTRUECOND, Dt1(->base)); + dasm_put(Dst, 1383); +#if LJ_HASFFI + dasm_put(Dst, 1403, Dt1(->base)); +#endif + dasm_put(Dst, 1434); +#if LJ_DUALNUM + dasm_put(Dst, 1437); +#endif + dasm_put(Dst, 1443); +#if LJ_DUALNUM + dasm_put(Dst, 911); +#endif + dasm_put(Dst, 1455); +#if LJ_DUALNUM + dasm_put(Dst, 1437); +#endif + dasm_put(Dst, 1483, Dt1(->base), Dt1(->base), FRAME_CONT, 2+1, Dt1(->base), Dt1(->base)); +#ifdef LUAJIT_ENABLE_LUA52COMPAT + dasm_put(Dst, 1589); +#else + dasm_put(Dst, 1608); +#endif + dasm_put(Dst, 1613, Dt1(->base), Dt1(->base), Dt7(->pc), Dt1(->base), Dt1(->base), GG_DISP2STATIC, 1+1, LJ_TISTRUECOND); + dasm_put(Dst, 1799, 1+1, ~LJ_TNUMX); + if (cmov) { + dasm_put(Dst, 1868); + } else { + dasm_put(Dst, 1872); + } + dasm_put(Dst, 1881, ((char *)(&((GCfuncC *)0)->upvalue)), LJ_TSTR, ~LJ_TLIGHTUD, 1+1, LJ_TTAB, Dt6(->metatable), LJ_TNIL); + dasm_put(Dst, 1960, DISPATCH_GL(gcroot)+4*(GCROOT_MMNAME+MM_metatable), LJ_TTAB, Dt6(->hmask), Dt5(->hash), sizeof(Node), Dt6(->node), DtB(->key.it), LJ_TSTR, DtB(->key.gcr), DtB(->next)); + dasm_put(Dst, 2017, LJ_TNIL, LJ_TUDATA, LJ_TNUMX, LJ_TISNUM, LJ_TLIGHTUD); + dasm_put(Dst, 2083, LJ_TNUMX, DISPATCH_GL(gcroot[GCROOT_BASEMT]), 2+1, LJ_TTAB, Dt6(->metatable), LJ_TTAB, Dt6(->metatable), LJ_TTAB); + dasm_put(Dst, 2153, Dt6(->marked), LJ_GC_BLACK, Dt6(->marked), (uint8_t)~LJ_GC_BLACK, DISPATCH_GL(gc.grayagain), DISPATCH_GL(gc.grayagain), Dt6(->gclist), 2+1, LJ_TTAB); + dasm_put(Dst, 2242, 1+1, LJ_TISNUM); + if (LJ_DUALNUM) { + dasm_put(Dst, 2256); + } else { + dasm_put(Dst, 2273); + } + if (sse) { + dasm_put(Dst, 2278); + } else { + dasm_put(Dst, 2288); + } + dasm_put(Dst, 2295, 1+1, LJ_TSTR, LJ_TSTR, LJ_TISNUM, DISPATCH_GL(gcroot[GCROOT_BASEMT_NUM]), DISPATCH_GL(gc.total), DISPATCH_GL(gc.threshold)); + dasm_put(Dst, 2361, Dt1(->base)); + if (LJ_DUALNUM) { + dasm_put(Dst, 2385); + } else { + dasm_put(Dst, 2390); + } + dasm_put(Dst, 2395, Dt1(->base), 1+1, LJ_TTAB, Dt1(->base), Dt1(->top), Dt1(->base), 1+2); + dasm_put(Dst, 2488, LJ_TNIL, LJ_TNIL, 1+1, LJ_TTAB); +#ifdef LUAJIT_ENABLE_LUA52COMPAT + dasm_put(Dst, 2535, Dt6(->metatable)); +#endif + dasm_put(Dst, 2544, Dt8(->upvalue[0]), LJ_TFUNC, LJ_TNIL, 1+3, 1+1, LJ_TTAB, LJ_TISNUM); + if (LJ_DUALNUM) { + dasm_put(Dst, 2530); + } else { + dasm_put(Dst, 2273); + } + dasm_put(Dst, 2599); + if (LJ_DUALNUM) { + dasm_put(Dst, 2604, LJ_TISNUM); + } else if (sse) { + dasm_put(Dst, 2620, (unsigned int)(U64x(3ff00000,00000000)), (unsigned int)((U64x(3ff00000,00000000))>>32)); + } else { + } + dasm_put(Dst, 2653, Dt6(->asize), Dt6(->array), LJ_TNIL, Dt6(->hmask), 1+0); + dasm_put(Dst, 2515, 1+1, LJ_TTAB); +#ifdef LUAJIT_ENABLE_LUA52COMPAT + dasm_put(Dst, 2535, Dt6(->metatable)); +#endif + dasm_put(Dst, 2730, Dt8(->upvalue[0]), LJ_TFUNC); + if (LJ_DUALNUM) { + dasm_put(Dst, 2751, LJ_TISNUM); + } else if (sse) { + dasm_put(Dst, 2763); + } else { + dasm_put(Dst, 2773); + } + dasm_put(Dst, 2780, 1+3, 1+1, 8+FRAME_PCALL, DISPATCH_GL(hookmask), HOOK_ACTIVE_SHIFT, 2+1, LJ_TFUNC); + dasm_put(Dst, 2844, LJ_TFUNC, 16+FRAME_PCALL, 1+1, LJ_TTHREAD, Dt1(->cframe), Dt1(->status), LUA_YIELD, Dt1(->top)); + dasm_put(Dst, 2934, Dt1(->base), Dt1(->maxstack), Dt1(->top), Dt1(->base), Dt1(->top), DISPATCH_GL(vmstate), ~LJ_VMST_INTERP); + dasm_put(Dst, 3022, Dt1(->base), LUA_YIELD, Dt1(->base), Dt1(->top), Dt1(->top), Dt1(->maxstack), LJ_TTRUE, FRAME_TYPE); + dasm_put(Dst, 3135, LJ_TFALSE, Dt1(->top), Dt1(->top), 1+2, Dt1(->top), Dt1(->base), Dt8(->upvalue[0].gcr), Dt1(->cframe)); + dasm_put(Dst, 3233, Dt1(->status), LUA_YIELD, Dt1(->top), Dt1(->base), Dt1(->maxstack), Dt1(->top), Dt1(->base), Dt1(->top)); + dasm_put(Dst, 3300, DISPATCH_GL(vmstate), ~LJ_VMST_INTERP, Dt1(->base), LUA_YIELD, Dt1(->base), Dt1(->top), Dt1(->top), Dt1(->maxstack)); + dasm_put(Dst, 3388, FRAME_TYPE, Dt1(->top), Dt1(->base), Dt1(->cframe), CFRAME_RESUME); + dasm_put(Dst, 3500, Dt1(->base), Dt1(->top), Dt1(->cframe), LUA_YIELD, Dt1(->status)); + if (!LJ_DUALNUM) { + dasm_put(Dst, 3527); + } + if (sse) { + dasm_put(Dst, 3530); + } + dasm_put(Dst, 3545, 1+1); + if (LJ_DUALNUM) { + dasm_put(Dst, 3556, LJ_TISNUM, LJ_TISNUM); + } else { + dasm_put(Dst, 3636, LJ_TISNUM); + } + if (sse) { + dasm_put(Dst, 3646, (unsigned int)(U64x(7fffffff,ffffffff)), (unsigned int)((U64x(7fffffff,ffffffff))>>32)); + } else { + dasm_put(Dst, 3677); + } + dasm_put(Dst, 3694, 1+1, FRAME_TYPE, LJ_TNIL); + if (LJ_DUALNUM) { + dasm_put(Dst, 3790, LJ_TISNUM); + } else { + dasm_put(Dst, 3636, LJ_TISNUM); + } + if (sse) { + dasm_put(Dst, 3812); + if (LJ_DUALNUM) { + dasm_put(Dst, 3821); + } + dasm_put(Dst, 2283); + } else { + dasm_put(Dst, 3855); + if (LJ_DUALNUM) { + } else { + dasm_put(Dst, 2290); + } + } + dasm_put(Dst, 3861); + if (LJ_DUALNUM) { + dasm_put(Dst, 3790, LJ_TISNUM); + } else { + dasm_put(Dst, 3636, LJ_TISNUM); + } + if (sse) { + dasm_put(Dst, 3864); + if (LJ_DUALNUM) { + dasm_put(Dst, 3821); + } + dasm_put(Dst, 2283); + } else { + dasm_put(Dst, 3873); + if (LJ_DUALNUM) { + } else { + dasm_put(Dst, 2290); + } + } + if (sse) { + dasm_put(Dst, 3879, 1+1, LJ_TISNUM); + } else { + dasm_put(Dst, 3908, 1+1, LJ_TISNUM); + } + dasm_put(Dst, 3937, 1+1, LJ_TISNUM, 1+1, LJ_TISNUM, 1+1); + dasm_put(Dst, 4006, LJ_TISNUM, 1+1, LJ_TISNUM, 1+1); + dasm_put(Dst, 4063, LJ_TISNUM, 1+1, LJ_TISNUM, 1+1); + dasm_put(Dst, 4126, LJ_TISNUM, 1+1, LJ_TISNUM, 1+1, LJ_TISNUM); + dasm_put(Dst, 4216); + if (sse) { + dasm_put(Dst, 4228, 1+1, LJ_TISNUM); + } else { + } + dasm_put(Dst, 4253); + if (sse) { + dasm_put(Dst, 4267, 1+1, LJ_TISNUM); + } else { + } + dasm_put(Dst, 4292); + if (sse) { + dasm_put(Dst, 4306, 1+1, LJ_TISNUM); + } else { + } + dasm_put(Dst, 4331); + if (sse) { + dasm_put(Dst, 4347, 1+1, LJ_TISNUM, Dt8(->upvalue[0])); + } else { + dasm_put(Dst, 4386, 1+1, LJ_TISNUM, Dt8(->upvalue[0])); + } + dasm_put(Dst, 4419, 2+1, LJ_TISNUM, LJ_TISNUM, 2+1, LJ_TISNUM, LJ_TISNUM); + dasm_put(Dst, 4484, 1+1, LJ_TISNUM); + if (sse) { + dasm_put(Dst, 4583); + } else { + dasm_put(Dst, 4589); + } + dasm_put(Dst, 4598); + if (sse) { + dasm_put(Dst, 4623); + } else { + dasm_put(Dst, 4629); + } + dasm_put(Dst, 4632, 1+2); + if (sse) { + dasm_put(Dst, 4641); + } else { + dasm_put(Dst, 4649); + } + dasm_put(Dst, 4657); + if (sse) { + dasm_put(Dst, 4660, (unsigned int)(U64x(43500000,00000000)), (unsigned int)((U64x(43500000,00000000))>>32)); + } else { + dasm_put(Dst, 4687); + } + dasm_put(Dst, 4706); + if (sse) { + dasm_put(Dst, 4722, 1+1, LJ_TISNUM); + } else { + dasm_put(Dst, 4747, 1+1, LJ_TISNUM); + } + dasm_put(Dst, 4769); + if (sse) { + dasm_put(Dst, 4791); + } else { + dasm_put(Dst, 4817); + } + dasm_put(Dst, 4834, 1+2); + if (sse) { + dasm_put(Dst, 4874); + } else { + dasm_put(Dst, 4882); + } + dasm_put(Dst, 4892, 2+1, LJ_TISNUM, LJ_TISNUM); + if (sse) { + dasm_put(Dst, 4944, 2+1, LJ_TISNUM, LJ_TISNUM); + } else { + dasm_put(Dst, 4991, 2+1, LJ_TISNUM, LJ_TISNUM); + } + dasm_put(Dst, 5032, LJ_TISNUM); + if (LJ_DUALNUM) { + dasm_put(Dst, 5045, LJ_TISNUM); + if (sse) { + dasm_put(Dst, 4583); + } else { + } + dasm_put(Dst, 5095); + } else { + dasm_put(Dst, 2273); + } + if (sse) { + dasm_put(Dst, 5106, LJ_TISNUM); + if (LJ_DUALNUM) { + dasm_put(Dst, 5127); + } else { + dasm_put(Dst, 2273); + } + dasm_put(Dst, 5148); + } else { + } + dasm_put(Dst, 5173, LJ_TISNUM); + if (LJ_DUALNUM) { + dasm_put(Dst, 5186, LJ_TISNUM); + if (sse) { + dasm_put(Dst, 4583); + } else { + } + dasm_put(Dst, 5095); + } else { + dasm_put(Dst, 2273); + } + if (sse) { + dasm_put(Dst, 5106, LJ_TISNUM); + if (LJ_DUALNUM) { + dasm_put(Dst, 5127); + } else { + dasm_put(Dst, 2273); + } + dasm_put(Dst, 5236); + } else { + } + if (!sse) { + dasm_put(Dst, 5261); + } + dasm_put(Dst, 5270, 1+1, LJ_TSTR); + if (LJ_DUALNUM) { + dasm_put(Dst, 5292, Dt5(->len)); + } else if (sse) { + dasm_put(Dst, 5300, Dt5(->len)); + } else { + dasm_put(Dst, 5311, Dt5(->len)); + } + dasm_put(Dst, 5319, 1+1, LJ_TSTR, Dt5(->len), Dt5([1])); + if (LJ_DUALNUM) { + dasm_put(Dst, 5295); + } else if (sse) { + dasm_put(Dst, 5357); + } else { + dasm_put(Dst, 5367); + } + dasm_put(Dst, 5380, DISPATCH_GL(gc.total), DISPATCH_GL(gc.threshold), 1+1, LJ_TISNUM); + if (LJ_DUALNUM) { + dasm_put(Dst, 5411); + } else if (sse) { + dasm_put(Dst, 5434); + } else { + dasm_put(Dst, 5460); + } + dasm_put(Dst, 5484, Dt1(->base), Dt1(->base), LJ_TSTR, DISPATCH_GL(gc.total), DISPATCH_GL(gc.threshold), 1+2, LJ_TISNUM); + if (LJ_DUALNUM) { + dasm_put(Dst, 5592); + } else if (sse) { + dasm_put(Dst, 5604); + } else { + dasm_put(Dst, 5619); + } + dasm_put(Dst, 5631, LJ_TSTR, LJ_TISNUM); + if (LJ_DUALNUM) { + dasm_put(Dst, 2530); + } else { + dasm_put(Dst, 2273); + } + dasm_put(Dst, 5648, Dt5(->len)); + if (LJ_DUALNUM) { + dasm_put(Dst, 5658); + } else if (sse) { + dasm_put(Dst, 5662); + } else { + } + dasm_put(Dst, 5669, sizeof(GCstr)-1); + dasm_put(Dst, 5744, 2+1, DISPATCH_GL(gc.total), DISPATCH_GL(gc.threshold)); + dasm_put(Dst, 5803, LJ_TSTR, LJ_TISNUM); + if (LJ_DUALNUM) { + dasm_put(Dst, 5820); + } else if (sse) { + dasm_put(Dst, 5828); + } else { + dasm_put(Dst, 5839); + } + dasm_put(Dst, 5855, Dt5(->len), DISPATCH_GL(tmpbuf.sz), Dt5([1]), DISPATCH_GL(tmpbuf.buf), DISPATCH_GL(tmpbuf.buf), 1+1); + dasm_put(Dst, 5920, DISPATCH_GL(gc.total), DISPATCH_GL(gc.threshold), LJ_TSTR, Dt5(->len), DISPATCH_GL(tmpbuf.sz), sizeof(GCstr), DISPATCH_GL(tmpbuf.buf)); + dasm_put(Dst, 5983, 1+1, DISPATCH_GL(gc.total), DISPATCH_GL(gc.threshold), LJ_TSTR, Dt5(->len), DISPATCH_GL(tmpbuf.sz)); + dasm_put(Dst, 6054, sizeof(GCstr), DISPATCH_GL(tmpbuf.buf), 1+1); + dasm_put(Dst, 6139, DISPATCH_GL(gc.total), DISPATCH_GL(gc.threshold), LJ_TSTR, Dt5(->len), DISPATCH_GL(tmpbuf.sz), sizeof(GCstr), DISPATCH_GL(tmpbuf.buf)); + dasm_put(Dst, 6209, 1+1, LJ_TTAB); + if (LJ_DUALNUM) { + dasm_put(Dst, 6277); + } else if (sse) { + dasm_put(Dst, 6284); + } else { + } + dasm_put(Dst, 6294, 1+1, LJ_TISNUM); + if (LJ_DUALNUM) { + dasm_put(Dst, 6310); + } else { + dasm_put(Dst, 2273); + } + if (sse) { + dasm_put(Dst, 6327, (unsigned int)(U64x(43380000,00000000)), (unsigned int)((U64x(43380000,00000000))>>32)); + } else { + } + dasm_put(Dst, 106); + if (LJ_DUALNUM || sse) { + if (!sse) { + } + dasm_put(Dst, 6351); + } else { + } + dasm_put(Dst, 6356, 1+1); + if (sse) { + dasm_put(Dst, 6367, (unsigned int)(U64x(43380000,00000000)), (unsigned int)((U64x(43380000,00000000))>>32)); + } else { + dasm_put(Dst, 6377); + } + dasm_put(Dst, 2250, LJ_TISNUM); + if (LJ_DUALNUM) { + dasm_put(Dst, 6386); + } else { + dasm_put(Dst, 2273); + } + if (sse) { + dasm_put(Dst, 6403); + } else { + } + dasm_put(Dst, 6418, LJ_TISNUM); + if (LJ_DUALNUM) { + dasm_put(Dst, 6443); + } else { + dasm_put(Dst, 6463); + } + if (sse) { + dasm_put(Dst, 6468); + } else { + } + dasm_put(Dst, 6485, 1+1); + if (sse) { + dasm_put(Dst, 6367, (unsigned int)(U64x(43380000,00000000)), (unsigned int)((U64x(43380000,00000000))>>32)); + } else { + dasm_put(Dst, 6377); + } + dasm_put(Dst, 2250, LJ_TISNUM); + if (LJ_DUALNUM) { + dasm_put(Dst, 6386); + } else { + dasm_put(Dst, 2273); + } + if (sse) { + dasm_put(Dst, 6403); + } else { + } + dasm_put(Dst, 6418, LJ_TISNUM); + if (LJ_DUALNUM) { + dasm_put(Dst, 6503); + } else { + dasm_put(Dst, 6463); + } + if (sse) { + dasm_put(Dst, 6523); + } else { + } + dasm_put(Dst, 6540, 1+1); + if (sse) { + dasm_put(Dst, 6367, (unsigned int)(U64x(43380000,00000000)), (unsigned int)((U64x(43380000,00000000))>>32)); + } else { + dasm_put(Dst, 6377); + } + dasm_put(Dst, 2250, LJ_TISNUM); + if (LJ_DUALNUM) { + dasm_put(Dst, 6386); + } else { + dasm_put(Dst, 2273); + } + if (sse) { + dasm_put(Dst, 6403); + } else { + } + dasm_put(Dst, 6418, LJ_TISNUM); + if (LJ_DUALNUM) { + dasm_put(Dst, 6558); + } else { + dasm_put(Dst, 6463); + } + if (sse) { + dasm_put(Dst, 6578); + } else { + } + dasm_put(Dst, 6595, 1+1, LJ_TISNUM); + if (LJ_DUALNUM) { + dasm_put(Dst, 6386); + } else { + dasm_put(Dst, 2273); + } + if (sse) { + dasm_put(Dst, 6327, (unsigned int)(U64x(43380000,00000000)), (unsigned int)((U64x(43380000,00000000))>>32)); + } else { + } + dasm_put(Dst, 6618, 1+1, LJ_TISNUM); + if (LJ_DUALNUM) { + dasm_put(Dst, 6386); + } else { + dasm_put(Dst, 2273); + } + if (sse) { + dasm_put(Dst, 6327, (unsigned int)(U64x(43380000,00000000)), (unsigned int)((U64x(43380000,00000000))>>32)); + } else { + } + dasm_put(Dst, 6642); + if (LJ_DUALNUM) { + dasm_put(Dst, 6351); + } else if (sse) { + dasm_put(Dst, 6648); + } else { + } + dasm_put(Dst, 6660); + if (LJ_DUALNUM) { + dasm_put(Dst, 6671, 1+1, LJ_TISNUM); + if (LJ_DUALNUM) { + dasm_put(Dst, 6386); + } else { + dasm_put(Dst, 2273); + } + if (sse) { + dasm_put(Dst, 6327, (unsigned int)(U64x(43380000,00000000)), (unsigned int)((U64x(43380000,00000000))>>32)); + } else { + } + dasm_put(Dst, 6687, LJ_TISNUM); + } else if (sse) { + dasm_put(Dst, 6702, 2+1, LJ_TISNUM, LJ_TISNUM, (unsigned int)(U64x(43380000,00000000)), (unsigned int)((U64x(43380000,00000000))>>32)); + } else { + } + dasm_put(Dst, 6769); + if (LJ_DUALNUM) { + dasm_put(Dst, 6776, 1+1, LJ_TISNUM); + if (LJ_DUALNUM) { + dasm_put(Dst, 6386); + } else { + dasm_put(Dst, 2273); + } + if (sse) { + dasm_put(Dst, 6327, (unsigned int)(U64x(43380000,00000000)), (unsigned int)((U64x(43380000,00000000))>>32)); + } else { + } + dasm_put(Dst, 6687, LJ_TISNUM); + } else if (sse) { + dasm_put(Dst, 6792, 2+1, LJ_TISNUM, LJ_TISNUM, (unsigned int)(U64x(43380000,00000000)), (unsigned int)((U64x(43380000,00000000))>>32)); + } else { + } + dasm_put(Dst, 6859); + if (LJ_DUALNUM) { + dasm_put(Dst, 6867, 1+1, LJ_TISNUM); + if (LJ_DUALNUM) { + dasm_put(Dst, 6386); + } else { + dasm_put(Dst, 2273); + } + if (sse) { + dasm_put(Dst, 6327, (unsigned int)(U64x(43380000,00000000)), (unsigned int)((U64x(43380000,00000000))>>32)); + } else { + } + dasm_put(Dst, 6687, LJ_TISNUM); + } else if (sse) { + dasm_put(Dst, 6883, 2+1, LJ_TISNUM, LJ_TISNUM, (unsigned int)(U64x(43380000,00000000)), (unsigned int)((U64x(43380000,00000000))>>32)); + } else { + } + dasm_put(Dst, 6950); + if (LJ_DUALNUM) { + dasm_put(Dst, 6958, 1+1, LJ_TISNUM); + if (LJ_DUALNUM) { + dasm_put(Dst, 6386); + } else { + dasm_put(Dst, 2273); + } + if (sse) { + dasm_put(Dst, 6327, (unsigned int)(U64x(43380000,00000000)), (unsigned int)((U64x(43380000,00000000))>>32)); + } else { + } + dasm_put(Dst, 6687, LJ_TISNUM); + } else if (sse) { + dasm_put(Dst, 6974, 2+1, LJ_TISNUM, LJ_TISNUM, (unsigned int)(U64x(43380000,00000000)), (unsigned int)((U64x(43380000,00000000))>>32)); + } else { + } + dasm_put(Dst, 7041); + if (LJ_DUALNUM) { + dasm_put(Dst, 7048, 1+1, LJ_TISNUM); + if (LJ_DUALNUM) { + dasm_put(Dst, 6386); + } else { + dasm_put(Dst, 2273); + } + if (sse) { + dasm_put(Dst, 6327, (unsigned int)(U64x(43380000,00000000)), (unsigned int)((U64x(43380000,00000000))>>32)); + } else { + } + dasm_put(Dst, 6687, LJ_TISNUM); + } else if (sse) { + dasm_put(Dst, 7064, 2+1, LJ_TISNUM, LJ_TISNUM, (unsigned int)(U64x(43380000,00000000)), (unsigned int)((U64x(43380000,00000000))>>32)); + } else { + } + dasm_put(Dst, 7131, 1+2, 1+1, Dt1(->base), 8*LUA_MINSTACK, Dt1(->top), Dt1(->maxstack), Dt8(->f), Dt1(->base)); + dasm_put(Dst, 7207, Dt1(->top), Dt7(->pc), FRAME_TYPE, LUA_MINSTACK, Dt1(->base), Dt1(->base)); + dasm_put(Dst, 7334, Dt1(->top), Dt1(->base), Dt1(->top)); +#if LJ_HASJIT + dasm_put(Dst, 7373, DISPATCH_GL(hookmask), HOOK_VMEVENT, HOOK_ACTIVE, LUA_MASKLINE|LUA_MASKCOUNT, DISPATCH_GL(hookcount)); +#endif + dasm_put(Dst, 7404, DISPATCH_GL(hookmask), HOOK_ACTIVE, DISPATCH_GL(hookmask), HOOK_ACTIVE, LUA_MASKLINE|LUA_MASKCOUNT, DISPATCH_GL(hookcount), LUA_MASKLINE); + dasm_put(Dst, 7455, Dt1(->base), Dt1(->base), GG_DISP2STATIC); +#if LJ_HASJIT + dasm_put(Dst, 7522, Dt7(->pc), PC2PROTO(framesize), Dt1(->base), Dt1(->top), GG_DISP2J, DISPATCH_J(L)); +#endif + dasm_put(Dst, 7569); +#if LJ_HASJIT + dasm_put(Dst, 7399); +#endif + dasm_put(Dst, 7576); +#if LJ_HASJIT + dasm_put(Dst, 7579); +#endif + dasm_put(Dst, 7589, Dt1(->base), Dt1(->top)); +#if LJ_HASJIT + dasm_put(Dst, 7623); +#endif + dasm_put(Dst, 7628, Dt1(->base), Dt1(->top)); +#if LJ_HASJIT + dasm_put(Dst, 7659, DISPATCH_GL(vmstate), DISPATCH_GL(vmstate), ~LJ_VMST_EXIT, DISPATCH_J(exitno), DISPATCH_J(parent), 16*8+4*8, DISPATCH_GL(jit_L), DISPATCH_GL(jit_base), DISPATCH_J(L), DISPATCH_GL(jit_L), Dt1(->base), 4*8, GG_DISP2J, Dt1(->cframe), CFRAME_RAWMASK, CFRAME_OFS_L, Dt1(->base), CFRAME_OFS_PC); +#endif + dasm_put(Dst, 7889); +#if LJ_HASJIT + dasm_put(Dst, 7892, 9*16+4*8, -9*16, -8*16, -7*16, -6*16, -5*16, -4*16, -3*16, -2*16, -1*16, Dt7(->pc), PC2PROTO(k), DISPATCH_GL(jit_L), DISPATCH_GL(vmstate), ~LJ_VMST_INTERP, BC_FUNCF); + dasm_put(Dst, 8034); +#endif + dasm_put(Dst, 8060); + if (!sse) { + dasm_put(Dst, 8063); + } + dasm_put(Dst, 8108, (unsigned int)(U64x(7fffffff,ffffffff)), (unsigned int)((U64x(7fffffff,ffffffff))>>32), (unsigned int)(U64x(43300000,00000000)), (unsigned int)((U64x(43300000,00000000))>>32), (unsigned int)(U64x(3ff00000,00000000)), (unsigned int)((U64x(3ff00000,00000000))>>32)); + if (!sse) { + dasm_put(Dst, 8194); + } + dasm_put(Dst, 8239, (unsigned int)(U64x(7fffffff,ffffffff)), (unsigned int)((U64x(7fffffff,ffffffff))>>32), (unsigned int)(U64x(43300000,00000000)), (unsigned int)((U64x(43300000,00000000))>>32), (unsigned int)(U64x(bff00000,00000000)), (unsigned int)((U64x(bff00000,00000000))>>32)); + if (!sse) { + dasm_put(Dst, 8325); + } + dasm_put(Dst, 8364, (unsigned int)(U64x(7fffffff,ffffffff)), (unsigned int)((U64x(7fffffff,ffffffff))>>32), (unsigned int)(U64x(43300000,00000000)), (unsigned int)((U64x(43300000,00000000))>>32), (unsigned int)(U64x(3ff00000,00000000)), (unsigned int)((U64x(3ff00000,00000000))>>32)); + if (sse) { + dasm_put(Dst, 8453, (unsigned int)(U64x(7fffffff,ffffffff)), (unsigned int)((U64x(7fffffff,ffffffff))>>32), (unsigned int)(U64x(43300000,00000000)), (unsigned int)((U64x(43300000,00000000))>>32), (unsigned int)(U64x(3ff00000,00000000)), (unsigned int)((U64x(3ff00000,00000000))>>32)); + } else { + dasm_put(Dst, 8567); + } + dasm_put(Dst, 8614); + if (!sse) { + } else { + dasm_put(Dst, 8688); + } + dasm_put(Dst, 8691); + dasm_put(Dst, 8776, (unsigned int)(U64x(3ff00000,00000000)), (unsigned int)((U64x(3ff00000,00000000))>>32), (unsigned int)(U64x(3ff00000,00000000)), (unsigned int)((U64x(3ff00000,00000000))>>32)); + dasm_put(Dst, 8879, (unsigned int)(U64x(3ff00000,00000000)), (unsigned int)((U64x(3ff00000,00000000))>>32), (unsigned int)(U64x(7fffffff,ffffffff)), (unsigned int)((U64x(7fffffff,ffffffff))>>32), (unsigned int)(U64x(3ff00000,00000000)), (unsigned int)((U64x(3ff00000,00000000))>>32), (unsigned int)(U64x(7ff00000,00000000)), (unsigned int)((U64x(7ff00000,00000000))>>32)); + dasm_put(Dst, 9035); +#if LJ_HASJIT + if (sse) { + dasm_put(Dst, 9076); + dasm_put(Dst, 9146); + dasm_put(Dst, 9219); + } else { + dasm_put(Dst, 9269); + dasm_put(Dst, 9361); + } + dasm_put(Dst, 9407); +#endif + dasm_put(Dst, 9411); + if (sse) { + dasm_put(Dst, 9414, (unsigned int)(U64x(80000000,00000000)), (unsigned int)((U64x(80000000,00000000))>>32)); + dasm_put(Dst, 9503, (unsigned int)(U64x(7fffffff,ffffffff)), (unsigned int)((U64x(7fffffff,ffffffff))>>32)); + } else { + dasm_put(Dst, 9627); + dasm_put(Dst, 9710); + if (cmov) { + dasm_put(Dst, 9765); + } else { + dasm_put(Dst, 9784); + } + dasm_put(Dst, 9407); + } + dasm_put(Dst, 9825); +#ifdef LUA_USE_ASSERT + dasm_put(Dst, 9409); +#endif + dasm_put(Dst, 9853); +#if LJ_HASFFI +#define DtE(_V) (int)(ptrdiff_t)&(((CTState *)0)_V) + dasm_put(Dst, 9857, GG_G2DISP, Dt2(->ctype_state), DtE(->cb.slot), DtE(->cb.gpr[0]), DtE(->cb.gpr[1]), DtE(->cb.gpr[2]), DtE(->cb.gpr[3]), DtE(->cb.fpr[0]), DtE(->cb.fpr[1]), DtE(->cb.fpr[2]), DtE(->cb.fpr[3]), CFRAME_SIZE+4*8, DtE(->cb.stack), DISPATCH_GL(vmstate), ~LJ_VMST_INTERP, Dt1(->base), Dt1(->top), Dt7(->pc)); +#endif + dasm_put(Dst, 9984); +#if LJ_HASFFI + dasm_put(Dst, 9987, DISPATCH_GL(ctype_state), DtE(->L), Dt1(->base), Dt1(->top), DtE(->cb.gpr[0]), DtE(->cb.fpr[0])); +#endif + dasm_put(Dst, 10028); +#if LJ_HASFFI +#define DtF(_V) (int)(ptrdiff_t)&(((CCallState *)0)_V) + dasm_put(Dst, 10031, DtF(->spadj)); +#if LJ_TARGET_WINDOWS +#endif + dasm_put(Dst, 10046, DtF(->nsp), offsetof(CCallState, stack), CCALL_SPS_EXTRA*8, DtF(->nfpr), DtF(->gpr[0]), DtF(->gpr[1]), DtF(->gpr[2]), DtF(->gpr[3]), DtF(->fpr[0]), DtF(->fpr[1]), DtF(->fpr[2]), DtF(->fpr[3])); + dasm_put(Dst, 10127, DtF(->func), DtF(->gpr[0]), DtF(->fpr[0])); +#if LJ_TARGET_WINDOWS +#endif + dasm_put(Dst, 10140); +#endif +} + +/* Generate the code for a single instruction. */ +static void build_ins(BuildCtx *ctx, BCOp op, int defop, int cmov, int sse) +{ + int vk = 0; + dasm_put(Dst, 780, defop); + + switch (op) { + + /* -- Comparison ops ---------------------------------------------------- */ + + /* Remember: all ops branch for a true comparison, fall through otherwise. */ + + + case BC_ISLT: case BC_ISGE: case BC_ISLE: case BC_ISGT: + if (LJ_DUALNUM) { + dasm_put(Dst, 10148, LJ_TISNUM, LJ_TISNUM); + switch (op) { + case BC_ISLT: + dasm_put(Dst, 10178); + break; + case BC_ISGE: + dasm_put(Dst, 10183); + break; + case BC_ISLE: + dasm_put(Dst, 10188); + break; + case BC_ISGT: + dasm_put(Dst, 10193); + break; + default: break; /* Shut up GCC. */ + } + dasm_put(Dst, 10198, -BCBIAS_J*4, LJ_TISNUM); + if (sse) { + dasm_put(Dst, 10252); + } else { + dasm_put(Dst, 10263); + } + dasm_put(Dst, 10274); + if (sse) { + dasm_put(Dst, 10281); + switch (op) { + case BC_ISLT: + dasm_put(Dst, 10301); + break; + case BC_ISGE: + dasm_put(Dst, 10306); + break; + case BC_ISLE: + dasm_put(Dst, 10311); + break; + case BC_ISGT: + dasm_put(Dst, 10316); + break; + default: break; /* Shut up GCC. */ + } + dasm_put(Dst, 10321); + } else { + dasm_put(Dst, 10326); + } + } else { + dasm_put(Dst, 10334, LJ_TISNUM, LJ_TISNUM); + } + if (sse) { + dasm_put(Dst, 10355); + } else { + dasm_put(Dst, 10376); + if (cmov) { + dasm_put(Dst, 10392); + } else { + dasm_put(Dst, 10398); + } + } + if (LJ_DUALNUM) { + switch (op) { + case BC_ISLT: + dasm_put(Dst, 10301); + break; + case BC_ISGE: + dasm_put(Dst, 10306); + break; + case BC_ISLE: + dasm_put(Dst, 10311); + break; + case BC_ISGT: + dasm_put(Dst, 10316); + break; + default: break; /* Shut up GCC. */ + } + dasm_put(Dst, 10321); + } else { + switch (op) { + case BC_ISLT: + dasm_put(Dst, 768); + break; + case BC_ISGE: + dasm_put(Dst, 10405); + break; + case BC_ISLE: + dasm_put(Dst, 10410); + break; + case BC_ISGT: + dasm_put(Dst, 10415); + break; + default: break; /* Shut up GCC. */ + } + dasm_put(Dst, 10420, -BCBIAS_J*4); + } + break; + + case BC_ISEQV: case BC_ISNEV: + vk = op == BC_ISEQV; + dasm_put(Dst, 10452); + if (LJ_DUALNUM) { + dasm_put(Dst, 10460, LJ_TISNUM, LJ_TISNUM); + if (vk) { + dasm_put(Dst, 10485); + } else { + dasm_put(Dst, 10490); + } + dasm_put(Dst, 10495, -BCBIAS_J*4, LJ_TISNUM); + if (sse) { + dasm_put(Dst, 10547); + } else { + dasm_put(Dst, 10554); + } + dasm_put(Dst, 10558); + if (sse) { + dasm_put(Dst, 10569); + } else { + dasm_put(Dst, 10581); + } + dasm_put(Dst, 10588); + } else { + dasm_put(Dst, 10593, LJ_TISNUM, LJ_TISNUM); + } + if (sse) { + dasm_put(Dst, 10612); + } else { + dasm_put(Dst, 10630); + if (cmov) { + dasm_put(Dst, 10392); + } else { + dasm_put(Dst, 10398); + } + } + iseqne_fp: + if (vk) { + dasm_put(Dst, 10643); + } else { + dasm_put(Dst, 10652); + } + iseqne_end: + if (vk) { + dasm_put(Dst, 10661, -BCBIAS_J*4); + if (!LJ_HASFFI) { + dasm_put(Dst, 4638); + } + } else { + if (!LJ_HASFFI) { + dasm_put(Dst, 4638); + } + dasm_put(Dst, 10676, -BCBIAS_J*4); + } + if (LJ_DUALNUM && (op == BC_ISEQV || op == BC_ISNEV || + op == BC_ISEQN || op == BC_ISNEN)) { + dasm_put(Dst, 10691); + } else { + dasm_put(Dst, 10432); + } + if (op == BC_ISEQV || op == BC_ISNEV) { + dasm_put(Dst, 10124); + if (LJ_HASFFI) { + dasm_put(Dst, 10696, LJ_TCDATA, LJ_TCDATA); + } + dasm_put(Dst, 10715, LJ_TISPRI, LJ_TISTABUD, LJ_TUDATA, Dt6(->metatable), Dt6(->nomm), 1<>32)); + } else { + dasm_put(Dst, 11303); + } + if (LJ_DUALNUM) { + dasm_put(Dst, 10691); + } else { + dasm_put(Dst, 10432); + } + break; + case BC_LEN: + dasm_put(Dst, 11312, LJ_TSTR); + if (LJ_DUALNUM) { + dasm_put(Dst, 11326, Dt5(->len), LJ_TISNUM); + } else if (sse) { + dasm_put(Dst, 11340, Dt5(->len)); + } else { + dasm_put(Dst, 11358, Dt5(->len)); + } + dasm_put(Dst, 11367, LJ_TTAB); +#ifdef LUAJIT_ENABLE_LUA52COMPAT + dasm_put(Dst, 11402, Dt6(->metatable)); +#endif + dasm_put(Dst, 11416); + if (LJ_DUALNUM) { + } else if (sse) { + dasm_put(Dst, 11425); + } else { + } + dasm_put(Dst, 11431); +#ifdef LUAJIT_ENABLE_LUA52COMPAT + dasm_put(Dst, 11444, Dt6(->nomm), 1<base), Dt1(->base)); + break; + + /* -- Constant ops ------------------------------------------------------ */ + + case BC_KSTR: + dasm_put(Dst, 12270, LJ_TSTR); + break; + case BC_KCDATA: +#if LJ_HASFFI + dasm_put(Dst, 12270, LJ_TCDATA); +#endif + break; + case BC_KSHORT: + if (LJ_DUALNUM) { + dasm_put(Dst, 12305, LJ_TISNUM); + } else if (sse) { + dasm_put(Dst, 12317); + } else { + dasm_put(Dst, 12332); + } + dasm_put(Dst, 10432); + break; + case BC_KNUM: + if (sse) { + dasm_put(Dst, 12340); + } else { + dasm_put(Dst, 12353); + } + dasm_put(Dst, 10432); + break; + case BC_KPRI: + dasm_put(Dst, 12360); + break; + case BC_KNIL: + dasm_put(Dst, 12388, LJ_TNIL); + break; + + /* -- Upvalue and function ops ------------------------------------------ */ + + case BC_UGET: + dasm_put(Dst, 12435, offsetof(GCfuncL, uvptr), DtA(->v)); + break; + case BC_USETV: +#define TV2MARKOFS \ + ((int32_t)offsetof(GCupval, marked)-(int32_t)offsetof(GCupval, tv)) + dasm_put(Dst, 12475, offsetof(GCfuncL, uvptr), DtA(->closed), DtA(->v), TV2MARKOFS, LJ_GC_BLACK, LJ_TISGCV, LJ_TISNUM - LJ_TISGCV, Dt4(->gch.marked), LJ_GC_WHITES, GG_DISP2G); + dasm_put(Dst, 12566); + break; +#undef TV2MARKOFS + case BC_USETS: + dasm_put(Dst, 12578, offsetof(GCfuncL, uvptr), DtA(->v), LJ_TSTR, DtA(->marked), LJ_GC_BLACK, Dt4(->gch.marked), LJ_GC_WHITES, DtA(->closed), GG_DISP2G); + break; + case BC_USETN: + dasm_put(Dst, 12671); + if (sse) { + dasm_put(Dst, 12676); + } else { + dasm_put(Dst, 10951); + } + dasm_put(Dst, 12683, offsetof(GCfuncL, uvptr), DtA(->v)); + if (sse) { + dasm_put(Dst, 12692); + } else { + dasm_put(Dst, 12698); + } + dasm_put(Dst, 10432); + break; + case BC_USETP: + dasm_put(Dst, 12701, offsetof(GCfuncL, uvptr), DtA(->v)); + break; + case BC_UCLO: + dasm_put(Dst, 12740, -BCBIAS_J*4, Dt1(->openupval), Dt1(->base), Dt1(->base)); + break; + + case BC_FNEW: + dasm_put(Dst, 12795, Dt1(->base), Dt1(->base), LJ_TFUNC); + break; + + /* -- Table ops --------------------------------------------------------- */ + + case BC_TNEW: + dasm_put(Dst, 12861, Dt1(->base), DISPATCH_GL(gc.total), DISPATCH_GL(gc.threshold), Dt1(->base), LJ_TTAB); + break; + case BC_TDUP: + dasm_put(Dst, 12983, DISPATCH_GL(gc.total), DISPATCH_GL(gc.threshold), Dt1(->base), Dt1(->base), LJ_TTAB); + break; + + case BC_GGET: + dasm_put(Dst, 13078, Dt7(->env)); + break; + case BC_GSET: + dasm_put(Dst, 13097, Dt7(->env)); + break; + + case BC_TGETV: + dasm_put(Dst, 13116, LJ_TTAB); + if (LJ_DUALNUM) { + dasm_put(Dst, 13139, LJ_TISNUM); + } else { + dasm_put(Dst, 13153, LJ_TISNUM); + if (sse) { + dasm_put(Dst, 13164); + } else { + } + dasm_put(Dst, 13185); + } + dasm_put(Dst, 13190, Dt6(->asize), Dt6(->array), LJ_TNIL, Dt6(->metatable), Dt6(->metatable), Dt6(->nomm), 1<hmask), Dt5(->hash), sizeof(Node), Dt6(->node), DtB(->key.it), LJ_TSTR, DtB(->key.gcr), LJ_TNIL); + dasm_put(Dst, 13383, LJ_TNIL, DtB(->next), Dt6(->metatable), Dt6(->nomm), 1<asize), Dt6(->array), LJ_TNIL, Dt6(->metatable), Dt6(->metatable), Dt6(->nomm), 1<asize), Dt6(->array), LJ_TNIL, Dt6(->marked), LJ_GC_BLACK, Dt6(->metatable), Dt6(->metatable), Dt6(->nomm), 1<marked), (uint8_t)~LJ_GC_BLACK, DISPATCH_GL(gc.grayagain), DISPATCH_GL(gc.grayagain), Dt6(->gclist)); + break; + case BC_TSETS: + dasm_put(Dst, 13731, LJ_TTAB, Dt6(->hmask), Dt5(->hash), sizeof(Node), Dt6(->nomm), Dt6(->node), DtB(->key.it), LJ_TSTR, DtB(->key.gcr), LJ_TNIL); + dasm_put(Dst, 13807, Dt6(->marked), LJ_GC_BLACK, Dt6(->metatable), Dt6(->metatable), Dt6(->nomm), 1<next)); + dasm_put(Dst, 13895, Dt6(->metatable), Dt6(->nomm), 1<base), Dt1(->base), Dt6(->marked), (uint8_t)~LJ_GC_BLACK, DISPATCH_GL(gc.grayagain), DISPATCH_GL(gc.grayagain), Dt6(->gclist)); + break; + case BC_TSETB: + dasm_put(Dst, 13986, LJ_TTAB, Dt6(->asize), Dt6(->array), LJ_TNIL, Dt6(->marked), LJ_GC_BLACK, Dt6(->metatable)); + dasm_put(Dst, 14080, Dt6(->metatable), Dt6(->nomm), 1<marked), (uint8_t)~LJ_GC_BLACK, DISPATCH_GL(gc.grayagain), DISPATCH_GL(gc.grayagain), Dt6(->gclist)); + break; + + case BC_TSETM: + dasm_put(Dst, 14126, Dt6(->marked), LJ_GC_BLACK, Dt6(->asize), Dt6(->array), Dt1(->base), Dt1(->base)); + dasm_put(Dst, 14269, Dt6(->marked), (uint8_t)~LJ_GC_BLACK, DISPATCH_GL(gc.grayagain), DISPATCH_GL(gc.grayagain), Dt6(->gclist)); + break; + + /* -- Calls and vararg handling ----------------------------------------- */ + + case BC_CALL: case BC_CALLM: + dasm_put(Dst, 11464); + if (op == BC_CALLM) { + dasm_put(Dst, 14287); + } + dasm_put(Dst, 14292, LJ_TFUNC, Dt7(->pc)); + break; + + case BC_CALLMT: + dasm_put(Dst, 14287); + break; + case BC_CALLT: + dasm_put(Dst, 14334, LJ_TFUNC, FRAME_TYPE, Dt7(->ffid), Dt7(->pc)); + dasm_put(Dst, 14449, FRAME_TYPE, Dt7(->pc), PC2PROTO(k), FRAME_VARG, FRAME_TYPEP, FRAME_VARG); + break; + + case BC_ITERC: + dasm_put(Dst, 14520, LJ_TFUNC, 2+1, Dt7(->pc)); + break; + + case BC_ITERN: +#if LJ_HASJIT +#endif + dasm_put(Dst, 14591, Dt6(->asize), Dt6(->array), LJ_TNIL); + if (LJ_DUALNUM) { + dasm_put(Dst, 11331, LJ_TISNUM); + } else if (sse) { + dasm_put(Dst, 11425); + } else { + dasm_put(Dst, 14637); + } + dasm_put(Dst, 14643); + if (LJ_DUALNUM) { + } else if (sse) { + dasm_put(Dst, 11296); + } else { + dasm_put(Dst, 11308); + } + dasm_put(Dst, 14656, -BCBIAS_J*4); + if (!LJ_DUALNUM && !sse) { + dasm_put(Dst, 14708); + } + dasm_put(Dst, 14714, Dt6(->hmask), sizeof(Node), Dt6(->node), DtB(->val.it), LJ_TNIL, DtB(->key), DtB(->val)); + break; + + case BC_ISNEXT: + dasm_put(Dst, 14786, LJ_TFUNC, LJ_TTAB, LJ_TNIL, Dt8(->ffid), FF_next_N, -BCBIAS_J*4, BC_JMP, -BCBIAS_J*4, BC_ITERC); + break; + + case BC_VARG: + dasm_put(Dst, 14886, (8+FRAME_VARG), LJ_TNIL, Dt1(->maxstack)); + dasm_put(Dst, 15046, Dt1(->base), Dt1(->top), Dt1(->base), Dt1(->top)); + break; + + /* -- Returns ----------------------------------------------------------- */ + + case BC_RETM: + dasm_put(Dst, 14287); + break; + + case BC_RET: case BC_RET0: case BC_RET1: + if (op != BC_RET0) { + dasm_put(Dst, 15112); + } + dasm_put(Dst, 15116, FRAME_TYPE); + switch (op) { + case BC_RET: + dasm_put(Dst, 15135); + break; + case BC_RET1: + dasm_put(Dst, 15187); + /* fallthrough */ + case BC_RET0: + dasm_put(Dst, 15197); + default: + break; + } + dasm_put(Dst, 15208, Dt7(->pc), PC2PROTO(k)); + if (op == BC_RET) { + dasm_put(Dst, 15252, LJ_TNIL); + } else { + dasm_put(Dst, 15261, LJ_TNIL); + } + dasm_put(Dst, 15268, -FRAME_VARG, FRAME_TYPEP); + if (op != BC_RET0) { + dasm_put(Dst, 15292); + } + dasm_put(Dst, 4717); + break; + + /* -- Loops and branches ------------------------------------------------ */ + + + case BC_FORL: +#if LJ_HASJIT + dasm_put(Dst, 15296, HOTCOUNT_PCMASK, GG_DISP2HOT, HOTCOUNT_LOOP); +#endif + break; + + case BC_JFORI: + case BC_JFORL: +#if !LJ_HASJIT + break; +#endif + case BC_FORI: + case BC_IFORL: + vk = (op == BC_IFORL || op == BC_JFORL); + dasm_put(Dst, 15317); + if (LJ_DUALNUM) { + dasm_put(Dst, 15321, LJ_TISNUM); + if (!vk) { + dasm_put(Dst, 15331, LJ_TISNUM, LJ_TISNUM); + } else { +#ifdef LUA_USE_ASSERT + dasm_put(Dst, 15360, LJ_TISNUM, LJ_TISNUM); +#endif + dasm_put(Dst, 15379); + } + dasm_put(Dst, 15398, LJ_TISNUM); + if (op == BC_FORI) { + dasm_put(Dst, 15409, -BCBIAS_J*4); + } else if (op == BC_JFORI) { + dasm_put(Dst, 15423, -BCBIAS_J*4, BC_JLOOP); + } else if (op == BC_IFORL) { + dasm_put(Dst, 15441, -BCBIAS_J*4); + } else { + dasm_put(Dst, 15433, BC_JLOOP); + } + dasm_put(Dst, 15455); + if (vk) { + dasm_put(Dst, 15479); + } + dasm_put(Dst, 15398, LJ_TISNUM); + if (op == BC_FORI) { + dasm_put(Dst, 15488); + } else if (op == BC_JFORI) { + dasm_put(Dst, 15493, -BCBIAS_J*4, BC_JLOOP); + } else if (op == BC_IFORL) { + dasm_put(Dst, 15507); + } else { + dasm_put(Dst, 15503, BC_JLOOP); + } + dasm_put(Dst, 15512); + } else if (!vk) { + dasm_put(Dst, 15519, LJ_TISNUM); + } + if (!vk) { + dasm_put(Dst, 15525, LJ_TISNUM); + } else { +#ifdef LUA_USE_ASSERT + dasm_put(Dst, 15539, LJ_TISNUM, LJ_TISNUM); +#endif + } + dasm_put(Dst, 15558); + if (!vk) { + dasm_put(Dst, 15562, LJ_TISNUM); + } + if (sse) { + dasm_put(Dst, 15571); + if (vk) { + dasm_put(Dst, 15583); + } else { + dasm_put(Dst, 15602); + } + dasm_put(Dst, 15607); + } else { + dasm_put(Dst, 15620); + if (vk) { + dasm_put(Dst, 15626); + } else { + dasm_put(Dst, 15642); + } + dasm_put(Dst, 15650); + if (cmov) { + dasm_put(Dst, 10392); + } else { + dasm_put(Dst, 10398); + } + if (!cmov) { + dasm_put(Dst, 15655); + } + } + if (op == BC_FORI) { + if (LJ_DUALNUM) { + dasm_put(Dst, 15661); + } else { + dasm_put(Dst, 15666, -BCBIAS_J*4); + } + } else if (op == BC_JFORI) { + dasm_put(Dst, 15676, -BCBIAS_J*4, BC_JLOOP); + } else if (op == BC_IFORL) { + if (LJ_DUALNUM) { + dasm_put(Dst, 15690); + } else { + dasm_put(Dst, 15695, -BCBIAS_J*4); + } + } else { + dasm_put(Dst, 15686, BC_JLOOP); + } + if (LJ_DUALNUM) { + dasm_put(Dst, 10321); + } else { + dasm_put(Dst, 11081); + } + if (sse) { + dasm_put(Dst, 15705); + } + break; + + case BC_ITERL: +#if LJ_HASJIT + dasm_put(Dst, 15296, HOTCOUNT_PCMASK, GG_DISP2HOT, HOTCOUNT_LOOP); +#endif + break; + + case BC_JITERL: +#if !LJ_HASJIT + break; +#endif + case BC_IITERL: + dasm_put(Dst, 15716, LJ_TNIL); + if (op == BC_JITERL) { + dasm_put(Dst, 15731, BC_JLOOP); + } else { + dasm_put(Dst, 15745, -BCBIAS_J*4); + } + dasm_put(Dst, 10430); + break; + + case BC_LOOP: +#if LJ_HASJIT + dasm_put(Dst, 15296, HOTCOUNT_PCMASK, GG_DISP2HOT, HOTCOUNT_LOOP); +#endif + break; + + case BC_ILOOP: + dasm_put(Dst, 10432); + break; + + case BC_JLOOP: +#if LJ_HASJIT + dasm_put(Dst, 15761, DISPATCH_J(trace), DtD(->mcode), DISPATCH_GL(jit_base), DISPATCH_GL(jit_L), 9*16+4*8, -1*16, -2*16, -3*16, -4*16, -5*16, -6*16, -7*16, -8*16, -9*16); +#endif + break; + + case BC_JMP: + dasm_put(Dst, 15870, -BCBIAS_J*4); + break; + + /* -- Function headers -------------------------------------------------- */ + + /* + ** Reminder: A function may be called with func/args above L->maxstack, + ** i.e. occupying EXTRA_STACK slots. And vmeta_call may add one extra slot, + ** too. This means all FUNC* ops (including fast functions) must check + ** for stack overflow _before_ adding more slots! + */ + + case BC_FUNCF: +#if LJ_HASJIT + dasm_put(Dst, 15895, HOTCOUNT_PCMASK, GG_DISP2HOT, HOTCOUNT_CALL); +#endif + case BC_FUNCV: /* NYI: compiled vararg functions. */ + break; + + case BC_JFUNCF: +#if !LJ_HASJIT + break; +#endif + case BC_IFUNCF: + dasm_put(Dst, 15916, -4+PC2PROTO(k), Dt1(->maxstack), -4+PC2PROTO(numparams)); + if (op == BC_JFUNCF) { + dasm_put(Dst, 15946, BC_JLOOP); + } else { + dasm_put(Dst, 10432); + } + dasm_put(Dst, 15955, LJ_TNIL); + break; + + case BC_JFUNCV: +#if !LJ_HASJIT + break; +#endif + dasm_put(Dst, 9409); + break; /* NYI: compiled vararg functions. */ + + case BC_IFUNCV: + dasm_put(Dst, 15977, FRAME_VARG, Dt1(->maxstack), -4+PC2PROTO(numparams), LJ_TNIL); + if (op == BC_JFUNCV) { + dasm_put(Dst, 15946, BC_JLOOP); + } else { + dasm_put(Dst, 16068, -4+PC2PROTO(k)); + } + dasm_put(Dst, 16091, LJ_TNIL); + break; + + case BC_FUNCC: + case BC_FUNCCW: + dasm_put(Dst, 16113, Dt8(->f), Dt1(->base), 8*LUA_MINSTACK, Dt1(->maxstack), Dt1(->top)); + if (op == BC_FUNCC) { + dasm_put(Dst, 2381); + } else { + dasm_put(Dst, 16143); + } + dasm_put(Dst, 16151, DISPATCH_GL(vmstate), ~LJ_VMST_C); + if (op == BC_FUNCC) { + dasm_put(Dst, 16160); + } else { + dasm_put(Dst, 16164, DISPATCH_GL(wrapf)); + } + dasm_put(Dst, 16169, DISPATCH_GL(vmstate), ~LJ_VMST_INTERP, Dt1(->base), Dt1(->top)); + break; + + /* ---------------------------------------------------------------------- */ + + default: + fprintf(stderr, "Error: undefined opcode BC_%s\n", bc_names[op]); + exit(2); + break; + } +} + +static int build_backend(BuildCtx *ctx) +{ + int op; + int cmov = 1; + int sse = 0; +#ifdef LUAJIT_CPU_NOCMOV + cmov = 0; +#endif +#if defined(LUAJIT_CPU_SSE2) || defined(LJ_TARGET_X64) + sse = 1; +#endif + + dasm_growpc(Dst, BC__MAX); + + build_subroutines(ctx, cmov, sse); + + dasm_put(Dst, 16194); + for (op = 0; op < BC__MAX; op++) + build_ins(ctx, (BCOp)op, op, cmov, sse); + + return BC__MAX; +} + +/* Emit pseudo frame-info for all assembler functions. */ +static void emit_asm_debug(BuildCtx *ctx) +{ + int fcofs = (int)((uint8_t *)ctx->glob[GLOB_vm_ffi_call] - ctx->code); +#if LJ_64 +#define SZPTR "8" +#define BSZPTR "3" +#define REG_SP "0x7" +#define REG_RA "0x10" +#else +#define SZPTR "4" +#define BSZPTR "2" +#define REG_SP "0x4" +#define REG_RA "0x8" +#endif + switch (ctx->mode) { + case BUILD_elfasm: + fprintf(ctx->fp, "\t.section .debug_frame,\"\",@progbits\n"); + fprintf(ctx->fp, + ".Lframe0:\n" + "\t.long .LECIE0-.LSCIE0\n" + ".LSCIE0:\n" + "\t.long 0xffffffff\n" + "\t.byte 0x1\n" + "\t.string \"\"\n" + "\t.uleb128 0x1\n" + "\t.sleb128 -" SZPTR "\n" + "\t.byte " REG_RA "\n" + "\t.byte 0xc\n\t.uleb128 " REG_SP "\n\t.uleb128 " SZPTR "\n" + "\t.byte 0x80+" REG_RA "\n\t.uleb128 0x1\n" + "\t.align " SZPTR "\n" + ".LECIE0:\n\n"); + fprintf(ctx->fp, + ".LSFDE0:\n" + "\t.long .LEFDE0-.LASFDE0\n" + ".LASFDE0:\n" + "\t.long .Lframe0\n" +#if LJ_64 + "\t.quad .Lbegin\n" + "\t.quad %d\n" + "\t.byte 0xe\n\t.uleb128 %d\n" /* def_cfa_offset */ + "\t.byte 0x86\n\t.uleb128 0x2\n" /* offset rbp */ + "\t.byte 0x83\n\t.uleb128 0x3\n" /* offset rbx */ + "\t.byte 0x8f\n\t.uleb128 0x4\n" /* offset r15 */ + "\t.byte 0x8e\n\t.uleb128 0x5\n" /* offset r14 */ +#else + "\t.long .Lbegin\n" + "\t.long %d\n" + "\t.byte 0xe\n\t.uleb128 %d\n" /* def_cfa_offset */ + "\t.byte 0x85\n\t.uleb128 0x2\n" /* offset ebp */ + "\t.byte 0x87\n\t.uleb128 0x3\n" /* offset edi */ + "\t.byte 0x86\n\t.uleb128 0x4\n" /* offset esi */ + "\t.byte 0x83\n\t.uleb128 0x5\n" /* offset ebx */ +#endif + "\t.align " SZPTR "\n" + ".LEFDE0:\n\n", fcofs, CFRAME_SIZE); +#if LJ_HASFFI + fprintf(ctx->fp, + ".LSFDE1:\n" + "\t.long .LEFDE1-.LASFDE1\n" + ".LASFDE1:\n" + "\t.long .Lframe0\n" +#if LJ_64 + "\t.quad lj_vm_ffi_call\n" + "\t.quad %d\n" + "\t.byte 0xe\n\t.uleb128 16\n" /* def_cfa_offset */ + "\t.byte 0x86\n\t.uleb128 0x2\n" /* offset rbp */ + "\t.byte 0xd\n\t.uleb128 0x6\n" /* def_cfa_register rbp */ + "\t.byte 0x83\n\t.uleb128 0x3\n" /* offset rbx */ +#else + "\t.long lj_vm_ffi_call\n" + "\t.long %d\n" + "\t.byte 0xe\n\t.uleb128 8\n" /* def_cfa_offset */ + "\t.byte 0x85\n\t.uleb128 0x2\n" /* offset ebp */ + "\t.byte 0xd\n\t.uleb128 0x5\n" /* def_cfa_register ebp */ + "\t.byte 0x83\n\t.uleb128 0x3\n" /* offset ebx */ +#endif + "\t.align " SZPTR "\n" + ".LEFDE1:\n\n", (int)ctx->codesz - fcofs); +#endif +#if (defined(__sun__) && defined(__svr4__)) || defined(__solaris_) + fprintf(ctx->fp, "\t.section .eh_frame,\"aw\",@progbits\n"); +#else + fprintf(ctx->fp, "\t.section .eh_frame,\"a\",@progbits\n"); +#endif + fprintf(ctx->fp, + ".Lframe1:\n" + "\t.long .LECIE1-.LSCIE1\n" + ".LSCIE1:\n" + "\t.long 0\n" + "\t.byte 0x1\n" + "\t.string \"zPR\"\n" + "\t.uleb128 0x1\n" + "\t.sleb128 -" SZPTR "\n" + "\t.byte " REG_RA "\n" + "\t.uleb128 6\n" /* augmentation length */ + "\t.byte 0x1b\n" /* pcrel|sdata4 */ + "\t.long lj_err_unwind_dwarf-.\n" + "\t.byte 0x1b\n" /* pcrel|sdata4 */ + "\t.byte 0xc\n\t.uleb128 " REG_SP "\n\t.uleb128 " SZPTR "\n" + "\t.byte 0x80+" REG_RA "\n\t.uleb128 0x1\n" + "\t.align " SZPTR "\n" + ".LECIE1:\n\n"); + fprintf(ctx->fp, + ".LSFDE2:\n" + "\t.long .LEFDE2-.LASFDE2\n" + ".LASFDE2:\n" + "\t.long .LASFDE2-.Lframe1\n" + "\t.long .Lbegin-.\n" + "\t.long %d\n" + "\t.uleb128 0\n" /* augmentation length */ + "\t.byte 0xe\n\t.uleb128 %d\n" /* def_cfa_offset */ +#if LJ_64 + "\t.byte 0x86\n\t.uleb128 0x2\n" /* offset rbp */ + "\t.byte 0x83\n\t.uleb128 0x3\n" /* offset rbx */ + "\t.byte 0x8f\n\t.uleb128 0x4\n" /* offset r15 */ + "\t.byte 0x8e\n\t.uleb128 0x5\n" /* offset r14 */ +#else + "\t.byte 0x85\n\t.uleb128 0x2\n" /* offset ebp */ + "\t.byte 0x87\n\t.uleb128 0x3\n" /* offset edi */ + "\t.byte 0x86\n\t.uleb128 0x4\n" /* offset esi */ + "\t.byte 0x83\n\t.uleb128 0x5\n" /* offset ebx */ +#endif + "\t.align " SZPTR "\n" + ".LEFDE2:\n\n", fcofs, CFRAME_SIZE); +#if LJ_HASFFI + fprintf(ctx->fp, + ".Lframe2:\n" + "\t.long .LECIE2-.LSCIE2\n" + ".LSCIE2:\n" + "\t.long 0\n" + "\t.byte 0x1\n" + "\t.string \"zR\"\n" + "\t.uleb128 0x1\n" + "\t.sleb128 -" SZPTR "\n" + "\t.byte " REG_RA "\n" + "\t.uleb128 1\n" /* augmentation length */ + "\t.byte 0x1b\n" /* pcrel|sdata4 */ + "\t.byte 0xc\n\t.uleb128 " REG_SP "\n\t.uleb128 " SZPTR "\n" + "\t.byte 0x80+" REG_RA "\n\t.uleb128 0x1\n" + "\t.align " SZPTR "\n" + ".LECIE2:\n\n"); + fprintf(ctx->fp, + ".LSFDE3:\n" + "\t.long .LEFDE3-.LASFDE3\n" + ".LASFDE3:\n" + "\t.long .LASFDE3-.Lframe2\n" + "\t.long lj_vm_ffi_call-.\n" + "\t.long %d\n" + "\t.uleb128 0\n" /* augmentation length */ +#if LJ_64 + "\t.byte 0xe\n\t.uleb128 16\n" /* def_cfa_offset */ + "\t.byte 0x86\n\t.uleb128 0x2\n" /* offset rbp */ + "\t.byte 0xd\n\t.uleb128 0x6\n" /* def_cfa_register rbp */ + "\t.byte 0x83\n\t.uleb128 0x3\n" /* offset rbx */ +#else + "\t.byte 0xe\n\t.uleb128 8\n" /* def_cfa_offset */ + "\t.byte 0x85\n\t.uleb128 0x2\n" /* offset ebp */ + "\t.byte 0xd\n\t.uleb128 0x5\n" /* def_cfa_register ebp */ + "\t.byte 0x83\n\t.uleb128 0x3\n" /* offset ebx */ +#endif + "\t.align " SZPTR "\n" + ".LEFDE3:\n\n", (int)ctx->codesz - fcofs); +#endif + break; + case BUILD_coffasm: + fprintf(ctx->fp, "\t.section .eh_frame,\"dr\"\n"); + fprintf(ctx->fp, + "\t.def %slj_err_unwind_dwarf; .scl 2; .type 32; .endef\n", + LJ_32 ? "_" : ""); + fprintf(ctx->fp, + "Lframe1:\n" + "\t.long LECIE1-LSCIE1\n" + "LSCIE1:\n" + "\t.long 0\n" + "\t.byte 0x1\n" + "\t.string \"zP\"\n" + "\t.uleb128 0x1\n" + "\t.sleb128 -" SZPTR "\n" + "\t.byte " REG_RA "\n" + "\t.uleb128 5\n" /* augmentation length */ + "\t.byte 0x00\n" /* absptr */ + "\t.long %slj_err_unwind_dwarf\n" + "\t.byte 0xc\n\t.uleb128 " REG_SP "\n\t.uleb128 " SZPTR "\n" + "\t.byte 0x80+" REG_RA "\n\t.uleb128 0x1\n" + "\t.align " SZPTR "\n" + "LECIE1:\n\n", LJ_32 ? "_" : ""); + fprintf(ctx->fp, + "LSFDE1:\n" + "\t.long LEFDE1-LASFDE1\n" + "LASFDE1:\n" + "\t.long LASFDE1-Lframe1\n" + "\t.long %slj_vm_asm_begin\n" + "\t.long %d\n" + "\t.uleb128 0\n" /* augmentation length */ + "\t.byte 0xe\n\t.uleb128 %d\n" /* def_cfa_offset */ +#if LJ_64 + "\t.byte 0x86\n\t.uleb128 0x2\n" /* offset rbp */ + "\t.byte 0x83\n\t.uleb128 0x3\n" /* offset rbx */ + "\t.byte 0x8f\n\t.uleb128 0x4\n" /* offset r15 */ + "\t.byte 0x8e\n\t.uleb128 0x5\n" /* offset r14 */ +#else + "\t.byte 0x85\n\t.uleb128 0x2\n" /* offset ebp */ + "\t.byte 0x87\n\t.uleb128 0x3\n" /* offset edi */ + "\t.byte 0x86\n\t.uleb128 0x4\n" /* offset esi */ + "\t.byte 0x83\n\t.uleb128 0x5\n" /* offset ebx */ +#endif + "\t.align " SZPTR "\n" + "LEFDE1:\n\n", LJ_32 ? "_" : "", (int)ctx->codesz, CFRAME_SIZE); + break; + /* Mental note: never let Apple design an assembler. + ** Or a linker. Or a plastic case. But I digress. + */ + case BUILD_machasm: { +#if LJ_HASFFI + int fcsize = 0; +#endif + int i; + fprintf(ctx->fp, "\t.section __TEXT,__eh_frame,coalesced,no_toc+strip_static_syms+live_support\n"); + fprintf(ctx->fp, + "EH_frame1:\n" + "\t.set L$set$x,LECIEX-LSCIEX\n" + "\t.long L$set$x\n" + "LSCIEX:\n" + "\t.long 0\n" + "\t.byte 0x1\n" + "\t.ascii \"zPR\\0\"\n" + "\t.byte 0x1\n" + "\t.byte 128-" SZPTR "\n" + "\t.byte " REG_RA "\n" + "\t.byte 6\n" /* augmentation length */ + "\t.byte 0x9b\n" /* indirect|pcrel|sdata4 */ +#if LJ_64 + "\t.long _lj_err_unwind_dwarf+4@GOTPCREL\n" + "\t.byte 0x1b\n" /* pcrel|sdata4 */ + "\t.byte 0xc\n\t.byte " REG_SP "\n\t.byte " SZPTR "\n" +#else + "\t.long L_lj_err_unwind_dwarf$non_lazy_ptr-.\n" + "\t.byte 0x1b\n" /* pcrel|sdata4 */ + "\t.byte 0xc\n\t.byte 0x5\n\t.byte 0x4\n" /* esp=5 on 32 bit MACH-O. */ +#endif + "\t.byte 0x80+" REG_RA "\n\t.byte 0x1\n" + "\t.align " BSZPTR "\n" + "LECIEX:\n\n"); + for (i = 0; i < ctx->nsym; i++) { + const char *name = ctx->sym[i].name; + int32_t size = ctx->sym[i+1].ofs - ctx->sym[i].ofs; + if (size == 0) continue; +#if LJ_HASFFI + if (!strcmp(name, "_lj_vm_ffi_call")) { fcsize = size; continue; } +#endif + fprintf(ctx->fp, + "%s.eh:\n" + "LSFDE%d:\n" + "\t.set L$set$%d,LEFDE%d-LASFDE%d\n" + "\t.long L$set$%d\n" + "LASFDE%d:\n" + "\t.long LASFDE%d-EH_frame1\n" + "\t.long %s-.\n" + "\t.long %d\n" + "\t.byte 0\n" /* augmentation length */ + "\t.byte 0xe\n\t.byte %d\n" /* def_cfa_offset */ +#if LJ_64 + "\t.byte 0x86\n\t.byte 0x2\n" /* offset rbp */ + "\t.byte 0x83\n\t.byte 0x3\n" /* offset rbx */ + "\t.byte 0x8f\n\t.byte 0x4\n" /* offset r15 */ + "\t.byte 0x8e\n\t.byte 0x5\n" /* offset r14 */ +#else + "\t.byte 0x84\n\t.byte 0x2\n" /* offset ebp (4 for MACH-O)*/ + "\t.byte 0x87\n\t.byte 0x3\n" /* offset edi */ + "\t.byte 0x86\n\t.byte 0x4\n" /* offset esi */ + "\t.byte 0x83\n\t.byte 0x5\n" /* offset ebx */ +#endif + "\t.align " BSZPTR "\n" + "LEFDE%d:\n\n", + name, i, i, i, i, i, i, i, name, size, CFRAME_SIZE, i); + } +#if LJ_HASFFI + if (fcsize) { + fprintf(ctx->fp, + "EH_frame2:\n" + "\t.set L$set$y,LECIEY-LSCIEY\n" + "\t.long L$set$y\n" + "LSCIEY:\n" + "\t.long 0\n" + "\t.byte 0x1\n" + "\t.ascii \"zR\\0\"\n" + "\t.byte 0x1\n" + "\t.byte 128-" SZPTR "\n" + "\t.byte " REG_RA "\n" + "\t.byte 1\n" /* augmentation length */ +#if LJ_64 + "\t.byte 0x1b\n" /* pcrel|sdata4 */ + "\t.byte 0xc\n\t.byte " REG_SP "\n\t.byte " SZPTR "\n" +#else + "\t.byte 0x1b\n" /* pcrel|sdata4 */ + "\t.byte 0xc\n\t.byte 0x5\n\t.byte 0x4\n" /* esp=5 on 32 bit MACH. */ +#endif + "\t.byte 0x80+" REG_RA "\n\t.byte 0x1\n" + "\t.align " BSZPTR "\n" + "LECIEY:\n\n"); + fprintf(ctx->fp, + "_lj_vm_ffi_call.eh:\n" + "LSFDEY:\n" + "\t.set L$set$yy,LEFDEY-LASFDEY\n" + "\t.long L$set$yy\n" + "LASFDEY:\n" + "\t.long LASFDEY-EH_frame2\n" + "\t.long _lj_vm_ffi_call-.\n" + "\t.long %d\n" + "\t.byte 0\n" /* augmentation length */ +#if LJ_64 + "\t.byte 0xe\n\t.byte 16\n" /* def_cfa_offset */ + "\t.byte 0x86\n\t.byte 0x2\n" /* offset rbp */ + "\t.byte 0xd\n\t.uleb128 0x6\n" /* def_cfa_register rbp */ + "\t.byte 0x83\n\t.byte 0x3\n" /* offset rbx */ +#else + "\t.byte 0xe\n\t.byte 8\n" /* def_cfa_offset */ + "\t.byte 0x84\n\t.byte 0x2\n" /* offset ebp (4 for MACH-O)*/ + "\t.byte 0xd\n\t.uleb128 0x4\n" /* def_cfa_register ebp */ + "\t.byte 0x83\n\t.byte 0x3\n" /* offset ebx */ +#endif + "\t.align " BSZPTR "\n" + "LEFDEY:\n\n", fcsize); + } +#endif +#if LJ_64 + fprintf(ctx->fp, "\t.subsections_via_symbols\n"); +#else + fprintf(ctx->fp, + "\t.non_lazy_symbol_pointer\n" + "L_lj_err_unwind_dwarf$non_lazy_ptr:\n" + ".indirect_symbol _lj_err_unwind_dwarf\n" + ".long 0\n"); +#endif + } + break; + default: /* Difficult for other modes. */ + break; + } +} + -- cgit v1.1