// File: /workspace/github_c_makefile_star2_O0/yui0[P]img2vec/./stb_image_write.h
// Function: stbi_write_jpg_core
static int stbi_write_jpg_core(stbi__write_context *s, int width, int height, int comp, const void* data, int quality) {
   // Constants that don't pollute global namespace
   static const unsigned char std_dc_luminance_nrcodes[] = {0,0,1,5,1,1,1,1,1,1,0,0,0,0,0,0,0};
   static const unsigned char std_dc_luminance_values[] = {0,1,2,3,4,5,6,7,8,9,10,11};
   static const unsigned char std_ac_luminance_nrcodes[] = {0,0,2,1,3,3,2,4,3,5,5,4,4,0,0,1,0x7d};
   static const unsigned char std_ac_luminance_values[] = {
      0x01,0x02,0x03,0x00,0x04,0x11,0x05,0x12,0x21,0x31,0x41,0x06,0x13,0x51,0x61,0x07,0x22,0x71,0x14,0x32,0x81,0x91,0xa1,0x08,
      0x23,0x42,0xb1,0xc1,0x15,0x52,0xd1,0xf0,0x24,0x33,0x62,0x72,0x82,0x09,0x0a,0x16,0x17,0x18,0x19,0x1a,0x25,0x26,0x27,0x28,
      0x29,0x2a,0x34,0x35,0x36,0x37,0x38,0x39,0x3a,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4a,0x53,0x54,0x55,0x56,0x57,0x58,0x59,
      0x5a,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6a,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7a,0x83,0x84,0x85,0x86,0x87,0x88,0x89,
      0x8a,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9a,0xa2,0xa3,0xa4,0xa5,0xa6,0xa7,0xa8,0xa9,0xaa,0xb2,0xb3,0xb4,0xb5,0xb6,
      0xb7,0xb8,0xb9,0xba,0xc2,0xc3,0xc4,0xc5,0xc6,0xc7,0xc8,0xc9,0xca,0xd2,0xd3,0xd4,0xd5,0xd6,0xd7,0xd8,0xd9,0xda,0xe1,0xe2,
      0xe3,0xe4,0xe5,0xe6,0xe7,0xe8,0xe9,0xea,0xf1,0xf2,0xf3,0xf4,0xf5,0xf6,0xf7,0xf8,0xf9,0xfa
   };
   static const unsigned char std_dc_chrominance_nrcodes[] = {0,0,3,1,1,1,1,1,1,1,1,1,0,0,0,0,0};
   static const unsigned char std_dc_chrominance_values[] = {0,1,2,3,4,5,6,7,8,9,10,11};
   static const unsigned char std_ac_chrominance_nrcodes[] = {0,0,2,1,2,4,4,3,4,7,5,4,4,0,1,2,0x77};
   static const unsigned char std_ac_chrominance_values[] = {
      0x00,0x01,0x02,0x03,0x11,0x04,0x05,0x21,0x31,0x06,0x12,0x41,0x51,0x07,0x61,0x71,0x13,0x22,0x32,0x81,0x08,0x14,0x42,0x91,
      0xa1,0xb1,0xc1,0x09,0x23,0x33,0x52,0xf0,0x15,0x62,0x72,0xd1,0x0a,0x16,0x24,0x34,0xe1,0x25,0xf1,0x17,0x18,0x19,0x1a,0x26,
      0x27,0x28,0x29,0x2a,0x35,0x36,0x37,0x38,0x39,0x3a,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4a,0x53,0x54,0x55,0x56,0x57,0x58,
      0x59,0x5a,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6a,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7a,0x82,0x83,0x84,0x85,0x86,0x87,
      0x88,0x89,0x8a,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9a,0xa2,0xa3,0xa4,0xa5,0xa6,0xa7,0xa8,0xa9,0xaa,0xb2,0xb3,0xb4,
      0xb5,0xb6,0xb7,0xb8,0xb9,0xba,0xc2,0xc3,0xc4,0xc5,0xc6,0xc7,0xc8,0xc9,0xca,0xd2,0xd3,0xd4,0xd5,0xd6,0xd7,0xd8,0xd9,0xda,
      0xe2,0xe3,0xe4,0xe5,0xe6,0xe7,0xe8,0xe9,0xea,0xf2,0xf3,0xf4,0xf5,0xf6,0xf7,0xf8,0xf9,0xfa
   };
   // Huffman tables
   static const unsigned short YDC_HT[256][2] = { {0,2},{2,3},{3,3},{4,3},{5,3},{6,3},{14,4},{30,5},{62,6},{126,7},{254,8},{510,9}};
   static const unsigned short UVDC_HT[256][2] = { {0,2},{1,2},{2,2},{6,3},{14,4},{30,5},{62,6},{126,7},{254,8},{510,9},{1022,10},{2046,11}};
   static const unsigned short YAC_HT[256][2] = {
      {10,4},{0,2},{1,2},{4,3},{11,4},{26,5},{120,7},{248,8},{1014,10},{65410,16},{65411,16},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},
      {12,4},{27,5},{121,7},{502,9},{2038,11},{65412,16},{65413,16},{65414,16},{65415,16},{65416,16},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},
      {28,5},{249,8},{1015,10},{4084,12},{65417,16},{65418,16},{65419,16},{65420,16},{65421,16},{65422,16},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},
      {58,6},{503,9},{4085,12},{65423,16},{65424,16},{65425,16},{65426,16},{65427,16},{65428,16},{65429,16},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},
      {59,6},{1016,10},{65430,16},{65431,16},{65432,16},{65433,16},{65434,16},{65435,16},{65436,16},{65437,16},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},
      {122,7},{2039,11},{65438,16},{65439,16},{65440,16},{65441,16},{65442,16},{65443,16},{65444,16},{65445,16},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},
      {123,7},{4086,12},{65446,16},{65447,16},{65448,16},{65449,16},{65450,16},{65451,16},{65452,16},{65453,16},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},
      {250,8},{4087,12},{65454,16},{65455,16},{65456,16},{65457,16},{65458,16},{65459,16},{65460,16},{65461,16},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},
      {504,9},{32704,15},{65462,16},{65463,16},{65464,16},{65465,16},{65466,16},{65467,16},{65468,16},{65469,16},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},
      {505,9},{65470,16},{65471,16},{65472,16},{65473,16},{65474,16},{65475,16},{65476,16},{65477,16},{65478,16},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},
      {506,9},{65479,16},{65480,16},{65481,16},{65482,16},{65483,16},{65484,16},{65485,16},{65486,16},{65487,16},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},
      {1017,10},{65488,16},{65489,16},{65490,16},{65491,16},{65492,16},{65493,16},{65494,16},{65495,16},{65496,16},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},
      {1018,10},{65497,16},{65498,16},{65499,16},{65500,16},{65501,16},{65502,16},{65503,16},{65504,16},{65505,16},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},
      {2040,11},{65506,16},{65507,16},{65508,16},{65509,16},{65510,16},{65511,16},{65512,16},{65513,16},{65514,16},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},
      {65515,16},{65516,16},{65517,16},{65518,16},{65519,16},{65520,16},{65521,16},{65522,16},{65523,16},{65524,16},{0,0},{0,0},{0,0},{0,0},{0,0},
      {2041,11},{65525,16},{65526,16},{65527,16},{65528,16},{65529,16},{65530,16},{65531,16},{65532,16},{65533,16},{65534,16},{0,0},{0,0},{0,0},{0,0},{0,0}
   };
   static const unsigned short UVAC_HT[256][2] = {
      {0,2},{1,2},{4,3},{10,4},{24,5},{25,5},{56,6},{120,7},{500,9},{1014,10},{4084,12},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},
      {11,4},{57,6},{246,8},{501,9},{2038,11},{4085,12},{65416,16},{65417,16},{65418,16},{65419,16},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},
      {26,5},{247,8},{1015,10},{4086,12},{32706,15},{65420,16},{65421,16},{65422,16},{65423,16},{65424,16},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},
      {27,5},{248,8},{1016,10},{4087,12},{65425,16},{65426,16},{65427,16},{65428,16},{65429,16},{65430,16},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},
      {58,6},{502,9},{65431,16},{65432,16},{65433,16},{65434,16},{65435,16},{65436,16},{65437,16},{65438,16},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},
      {59,6},{1017,10},{65439,16},{65440,16},{65441,16},{65442,16},{65443,16},{65444,16},{65445,16},{65446,16},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},
      {121,7},{2039,11},{65447,16},{65448,16},{65449,16},{65450,16},{65451,16},{65452,16},{65453,16},{65454,16},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},
      {122,7},{2040,11},{65455,16},{65456,16},{65457,16},{65458,16},{65459,16},{65460,16},{65461,16},{65462,16},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},
      {249,8},{65463,16},{65464,16},{65465,16},{65466,16},{65467,16},{65468,16},{65469,16},{65470,16},{65471,16},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},
      {503,9},{65472,16},{65473,16},{65474,16},{65475,16},{65476,16},{65477,16},{65478,16},{65479,16},{65480,16},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},
      {504,9},{65481,16},{65482,16},{65483,16},{65484,16},{65485,16},{65486,16},{65487,16},{65488,16},{65489,16},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},
      {505,9},{65490,16},{65491,16},{65492,16},{65493,16},{65494,16},{65495,16},{65496,16},{65497,16},{65498,16},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},
      {506,9},{65499,16},{65500,16},{65501,16},{65502,16},{65503,16},{65504,16},{65505,16},{65506,16},{65507,16},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},
      {2041,11},{65508,16},{65509,16},{65510,16},{65511,16},{65512,16},{65513,16},{65514,16},{65515,16},{65516,16},{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},
      {16352,14},{65517,16},{65518,16},{65519,16},{65520,16},{65521,16},{65522,16},{65523,16},{65524,16},{65525,16},{0,0},{0,0},{0,0},{0,0},{0,0},
      {1018,10},{32707,15},{65526,16},{65527,16},{65528,16},{65529,16},{65530,16},{65531,16},{65532,16},{65533,16},{65534,16},{0,0},{0,0},{0,0},{0,0},{0,0}
   };
   static const int YQT[] = {16,11,10,16,24,40,51,61,12,12,14,19,26,58,60,55,14,13,16,24,40,57,69,56,14,17,22,29,51,87,80,62,18,22,
                             37,56,68,109,103,77,24,35,55,64,81,104,113,92,49,64,78,87,103,121,120,101,72,92,95,98,112,100,103,99};
   static const int UVQT[] = {17,18,24,47,99,99,99,99,18,21,26,66,99,99,99,99,24,26,56,99,99,99,99,99,47,66,99,99,99,99,99,99,
                              99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99};
   static const float aasf[] = { 1.0f * 2.828427125f, 1.387039845f * 2.828427125f, 1.306562965f * 2.828427125f, 1.175875602f * 2.828427125f,
                                 1.0f * 2.828427125f, 0.785694958f * 2.828427125f, 0.541196100f * 2.828427125f, 0.275899379f * 2.828427125f };

   int row, col, i, k, subsample;
   float fdtbl_Y[64], fdtbl_UV[64];
   unsigned char YTable[64], UVTable[64];

   if(!data || !width || !height || comp > 4 || comp < 1) {
      return 0;
   }

   quality = quality ? quality : 90;
   subsample = quality <= 90 ? 1 : 0;
   quality = quality < 1 ? 1 : quality > 100 ? 100 : quality;
   quality = quality < 50 ? 5000 / quality : 200 - quality * 2;

   for(i = 0; i < 64; ++i) {
      int uvti, yti = (YQT[i]*quality+50)/100;
      YTable[stbiw__jpg_ZigZag[i]] = (unsigned char) (yti < 1 ? 1 : yti > 255 ? 255 : yti);
      uvti = (UVQT[i]*quality+50)/100;
      UVTable[stbiw__jpg_ZigZag[i]] = (unsigned char) (uvti < 1 ? 1 : uvti > 255 ? 255 : uvti);
   }

   for(row = 0, k = 0; row < 8; ++row) {
      for(col = 0; col < 8; ++col, ++k) {
         fdtbl_Y[k]  = 1 / (YTable [stbiw__jpg_ZigZag[k]] * aasf[row] * aasf[col]);
         fdtbl_UV[k] = 1 / (UVTable[stbiw__jpg_ZigZag[k]] * aasf[row] * aasf[col]);
      }
   }

   // Write Headers
   {
      static const unsigned char head0[] = { 0xFF,0xD8,0xFF,0xE0,0,0x10,'J','F','I','F',0,1,1,0,0,1,0,1,0,0,0xFF,0xDB,0,0x84,0 };
      static const unsigned char head2[] = { 0xFF,0xDA,0,0xC,3,1,0,2,0x11,3,0x11,0,0x3F,0 };
      const unsigned char head1[] = { 0xFF,0xC0,0,0x11,8,(unsigned char)(height>>8),STBIW_UCHAR(height),(unsigned char)(width>>8),STBIW_UCHAR(width),
                                      3,1,(unsigned char)(subsample?0x22:0x11),0,2,0x11,1,3,0x11,1,0xFF,0xC4,0x01,0xA2,0 };
      s->func(s->context, (void*)head0, sizeof(head0));
      s->func(s->context, (void*)YTable, sizeof(YTable));
      stbiw__putc(s, 1);
      s->func(s->context, UVTable, sizeof(UVTable));
      s->func(s->context, (void*)head1, sizeof(head1));
      s->func(s->context, (void*)(std_dc_luminance_nrcodes+1), sizeof(std_dc_luminance_nrcodes)-1);
      s->func(s->context, (void*)std_dc_luminance_values, sizeof(std_dc_luminance_values));
      stbiw__putc(s, 0x10); // HTYACinfo
      s->func(s->context, (void*)(std_ac_luminance_nrcodes+1), sizeof(std_ac_luminance_nrcodes)-1);
      s->func(s->context, (void*)std_ac_luminance_values, sizeof(std_ac_luminance_values));
      stbiw__putc(s, 1); // HTUDCinfo
      s->func(s->context, (void*)(std_dc_chrominance_nrcodes+1), sizeof(std_dc_chrominance_nrcodes)-1);
      s->func(s->context, (void*)std_dc_chrominance_values, sizeof(std_dc_chrominance_values));
      stbiw__putc(s, 0x11); // HTUACinfo
      s->func(s->context, (void*)(std_ac_chrominance_nrcodes+1), sizeof(std_ac_chrominance_nrcodes)-1);
      s->func(s->context, (void*)std_ac_chrominance_values, sizeof(std_ac_chrominance_values));
      s->func(s->context, (void*)head2, sizeof(head2));
   }

   // Encode 8x8 macroblocks
   {
      static const unsigned short fillBits[] = {0x7F, 7};
      int DCY=0, DCU=0, DCV=0;
      int bitBuf=0, bitCnt=0;
      // comp == 2 is grey+alpha (alpha is ignored)
      int ofsG = comp > 2 ? 1 : 0, ofsB = comp > 2 ? 2 : 0;
      const unsigned char *dataR = (const unsigned char *)data;
      const unsigned char *dataG = dataR + ofsG;
      const unsigned char *dataB = dataR + ofsB;
      int x, y, pos;
      if(subsample) {
         for(y = 0; y < height; y += 16) {
            for(x = 0; x < width; x += 16) {
               float Y[256], U[256], V[256];
               for(row = y, pos = 0; row < y+16; ++row) {
                  // row >= height => use last input row
                  int clamped_row = (row < height) ? row : height - 1;
                  int base_p = (stbi__flip_vertically_on_write ? (height-1-clamped_row) : clamped_row)*width*comp;
                  for(col = x; col < x+16; ++col, ++pos) {
                     // if col >= width => use pixel from last input column
                     int p = base_p + ((col < width) ? col : (width-1))*comp;
                     float r = dataR[p], g = dataG[p], b = dataB[p];
                     Y[pos]= +0.29900f*r + 0.58700f*g + 0.11400f*b - 128;
                     U[pos]= -0.16874f*r - 0.33126f*g + 0.50000f*b;
                     V[pos]= +0.50000f*r - 0.41869f*g - 0.08131f*b;
                  }
               }
               DCY = stbiw__jpg_processDU(s, &bitBuf, &bitCnt, Y+0,   16, fdtbl_Y, DCY, YDC_HT, YAC_HT);
               DCY = stbiw__jpg_processDU(s, &bitBuf, &bitCnt, Y+8,   16, fdtbl_Y, DCY, YDC_HT, YAC_HT);
               DCY = stbiw__jpg_processDU(s, &bitBuf, &bitCnt, Y+128, 16, fdtbl_Y, DCY, YDC_HT, YAC_HT);
               DCY = stbiw__jpg_processDU(s, &bitBuf, &bitCnt, Y+136, 16, fdtbl_Y, DCY, YDC_HT, YAC_HT);

               // subsample U,V
               {
                  float subU[64], subV[64];
                  int yy, xx;
                  for(yy = 0, pos = 0; yy < 8; ++yy) {
                     for(xx = 0; xx < 8; ++xx, ++pos) {
                        int j = yy*32+xx*2;
                        subU[pos] = (U[j+0] + U[j+1] + U[j+16] + U[j+17]) * 0.25f;
                        subV[pos] = (V[j+0] + V[j+1] + V[j+16] + V[j+17]) * 0.25f;
                     }
                  }
                  DCU = stbiw__jpg_processDU(s, &bitBuf, &bitCnt, subU, 8, fdtbl_UV, DCU, UVDC_HT, UVAC_HT);
                  DCV = stbiw__jpg_processDU(s, &bitBuf, &bitCnt, subV, 8, fdtbl_UV, DCV, UVDC_HT, UVAC_HT);
               }
            }
         }
      } else {
         for(y = 0; y < height; y += 8) {
            for(x = 0; x < width; x += 8) {
               float Y[64], U[64], V[64];
               for(row = y, pos = 0; row < y+8; ++row) {
                  // row >= height => use last input row
                  int clamped_row = (row < height) ? row : height - 1;
                  int base_p = (stbi__flip_vertically_on_write ? (height-1-clamped_row) : clamped_row)*width*comp;
                  for(col = x; col < x+8; ++col, ++pos) {
                     // if col >= width => use pixel from last input column
                     int p = base_p + ((col < width) ? col : (width-1))*comp;
                     float r = dataR[p], g = dataG[p], b = dataB[p];
                     Y[pos]= +0.29900f*r + 0.58700f*g + 0.11400f*b - 128;
                     U[pos]= -0.16874f*r - 0.33126f*g + 0.50000f*b;
                     V[pos]= +0.50000f*r - 0.41869f*g - 0.08131f*b;
                  }
               }

               DCY = stbiw__jpg_processDU(s, &bitBuf, &bitCnt, Y, 8, fdtbl_Y,  DCY, YDC_HT, YAC_HT);
               DCU = stbiw__jpg_processDU(s, &bitBuf, &bitCnt, U, 8, fdtbl_UV, DCU, UVDC_HT, UVAC_HT);
               DCV = stbiw__jpg_processDU(s, &bitBuf, &bitCnt, V, 8, fdtbl_UV, DCV, UVDC_HT, UVAC_HT);
            }
         }
      }

      // Do the bit alignment of the EOI marker
      stbiw__jpg_writeBits(s, &bitBuf, &bitCnt, fillBits);
   }

   // EOI
   stbiw__putc(s, 0xFF);
   stbiw__putc(s, 0xD9);

   return 1;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x14d0, %rsp           # imm = 0x14D0
movq %rdi, -0x10(%rbp)
movl %esi, -0x14(%rbp)
movl %edx, -0x18(%rbp)
movl %ecx, -0x1c(%rbp)
movq %r8, -0x28(%rbp)
movl %r9d, -0x2c(%rbp)
cmpq $0x0, -0x28(%rbp)
je 0x556f
cmpl $0x0, -0x14(%rbp)
je 0x556f
cmpl $0x0, -0x18(%rbp)
je 0x556f
cmpl $0x4, -0x1c(%rbp)
jg 0x556f
cmpl $0x1, -0x1c(%rbp)
jge 0x557b
movl $0x0, -0x4(%rbp)
jmp 0x660c
cmpl $0x0, -0x2c(%rbp)
je 0x558c
movl -0x2c(%rbp), %eax
movl %eax, -0x147c(%rbp)
jmp 0x5599
movl $0x5a, %eax
movl %eax, -0x147c(%rbp)
jmp 0x5599
movl -0x147c(%rbp), %eax
movl %eax, -0x2c(%rbp)
movl -0x2c(%rbp), %edx
xorl %eax, %eax
movl $0x1, %ecx
cmpl $0x5a, %edx
cmovlel %ecx, %eax
movl %eax, -0x40(%rbp)
cmpl $0x1, -0x2c(%rbp)
jge 0x55c8
movl $0x1, %eax
movl %eax, -0x1480(%rbp)
jmp 0x55f0
cmpl $0x64, -0x2c(%rbp)
jle 0x55db
movl $0x64, %eax
movl %eax, -0x1484(%rbp)
jmp 0x55e4
movl -0x2c(%rbp), %eax
movl %eax, -0x1484(%rbp)
movl -0x1484(%rbp), %eax
movl %eax, -0x1480(%rbp)
movl -0x1480(%rbp), %eax
movl %eax, -0x2c(%rbp)
cmpl $0x32, -0x2c(%rbp)
jge 0x5610
movl $0x1388, %eax           # imm = 0x1388
cltd
idivl -0x2c(%rbp)
movl %eax, -0x1488(%rbp)
jmp 0x5622
movl -0x2c(%rbp), %ecx
shll %ecx
movl $0xc8, %eax
subl %ecx, %eax
movl %eax, -0x1488(%rbp)
movl -0x1488(%rbp), %eax
movl %eax, -0x2c(%rbp)
movl $0x0, -0x38(%rbp)
cmpl $0x40, -0x38(%rbp)
jge 0x575a
movslq -0x38(%rbp), %rcx
leaq 0x2c469(%rip), %rax     # 0x31ab0
movl (%rax,%rcx,4), %eax
imull -0x2c(%rbp), %eax
addl $0x32, %eax
movl $0x64, %ecx
cltd
idivl %ecx
movl %eax, -0x2c8(%rbp)
cmpl $0x1, -0x2c8(%rbp)
jge 0x5675
movl $0x1, %eax
movl %eax, -0x148c(%rbp)
jmp 0x56a6
cmpl $0xff, -0x2c8(%rbp)
jle 0x568e
movl $0xff, %eax
movl %eax, -0x1490(%rbp)
jmp 0x569a
movl -0x2c8(%rbp), %eax
movl %eax, -0x1490(%rbp)
movl -0x1490(%rbp), %eax
movl %eax, -0x148c(%rbp)
movl -0x148c(%rbp), %eax
movb %al, %cl
movslq -0x38(%rbp), %rdx
leaq 0x2c617(%rip), %rax     # 0x31cd0
movzbl (%rax,%rdx), %eax
movb %cl, -0x280(%rbp,%rax)
movslq -0x38(%rbp), %rcx
leaq 0x2c4e1(%rip), %rax     # 0x31bb0
movl (%rax,%rcx,4), %eax
imull -0x2c(%rbp), %eax
addl $0x32, %eax
movl $0x64, %ecx
cltd
idivl %ecx
movl %eax, -0x2c4(%rbp)
cmpl $0x1, -0x2c4(%rbp)
jge 0x56fd
movl $0x1, %eax
movl %eax, -0x1494(%rbp)
jmp 0x572e
cmpl $0xff, -0x2c4(%rbp)
jle 0x5716
movl $0xff, %eax
movl %eax, -0x1498(%rbp)
jmp 0x5722
movl -0x2c4(%rbp), %eax
movl %eax, -0x1498(%rbp)
movl -0x1498(%rbp), %eax
movl %eax, -0x1494(%rbp)
movl -0x1494(%rbp), %eax
movb %al, %cl
movslq -0x38(%rbp), %rdx
leaq 0x2c58f(%rip), %rax     # 0x31cd0
movzbl (%rax,%rdx), %eax
movb %cl, -0x2c0(%rbp,%rax)
movl -0x38(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x38(%rbp)
jmp 0x5632
movl $0x0, -0x30(%rbp)
movl $0x0, -0x3c(%rbp)
cmpl $0x8, -0x30(%rbp)
jge 0x5852
movl $0x0, -0x34(%rbp)
cmpl $0x8, -0x34(%rbp)
jge 0x5842
movslq -0x3c(%rbp), %rcx
leaq 0x2c542(%rip), %rax     # 0x31cd0
movzbl (%rax,%rcx), %eax
movzbl -0x280(%rbp,%rax), %eax
cvtsi2ss %eax, %xmm1
movslq -0x30(%rbp), %rcx
leaq 0x2c507(%rip), %rax     # 0x31cb0
mulss (%rax,%rcx,4), %xmm1
movslq -0x34(%rbp), %rcx
leaq 0x2c4f7(%rip), %rax     # 0x31cb0
mulss (%rax,%rcx,4), %xmm1
movss 0x2a83e(%rip), %xmm0    # 0x30004
divss %xmm1, %xmm0
movslq -0x3c(%rbp), %rax
movss %xmm0, -0x140(%rbp,%rax,4)
movslq -0x3c(%rbp), %rcx
leaq 0x2c4ee(%rip), %rax     # 0x31cd0
movzbl (%rax,%rcx), %eax
movzbl -0x2c0(%rbp,%rax), %eax
cvtsi2ss %eax, %xmm1
movslq -0x30(%rbp), %rcx
leaq 0x2c4b3(%rip), %rax     # 0x31cb0
mulss (%rax,%rcx,4), %xmm1
movslq -0x34(%rbp), %rcx
leaq 0x2c4a3(%rip), %rax     # 0x31cb0
mulss (%rax,%rcx,4), %xmm1
movss 0x2a7ea(%rip), %xmm0    # 0x30004
divss %xmm1, %xmm0
movslq -0x3c(%rbp), %rax
movss %xmm0, -0x240(%rbp,%rax,4)
movl -0x34(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x34(%rbp)
movl -0x3c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x3c(%rbp)
jmp 0x5779
jmp 0x5844
movl -0x30(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x30(%rbp)
jmp 0x5768
movb $-0x1, -0x2e0(%rbp)
movb $-0x40, -0x2df(%rbp)
movb $0x0, -0x2de(%rbp)
movb $0x11, -0x2dd(%rbp)
movb $0x8, -0x2dc(%rbp)
movl -0x18(%rbp), %eax
sarl $0x8, %eax
movb %al, -0x2db(%rbp)
movl -0x18(%rbp), %eax
andl $0xff, %eax
movb %al, -0x2da(%rbp)
movl -0x14(%rbp), %eax
sarl $0x8, %eax
movb %al, -0x2d9(%rbp)
movl -0x14(%rbp), %eax
andl $0xff, %eax
movb %al, -0x2d8(%rbp)
movb $0x3, -0x2d7(%rbp)
movb $0x1, -0x2d6(%rbp)
movl -0x40(%rbp), %edx
movl $0x11, %eax
movl $0x22, %ecx
cmpl $0x0, %edx
cmovnel %ecx, %eax
movb %al, -0x2d5(%rbp)
movb $0x0, -0x2d4(%rbp)
movb $0x2, -0x2d3(%rbp)
movb $0x11, -0x2d2(%rbp)
movb $0x1, -0x2d1(%rbp)
movb $0x3, -0x2d0(%rbp)
movb $0x11, -0x2cf(%rbp)
movb $0x1, -0x2ce(%rbp)
movb $-0x1, -0x2cd(%rbp)
movb $-0x3c, -0x2cc(%rbp)
movb $0x1, -0x2cb(%rbp)
movb $-0x5e, -0x2ca(%rbp)
movb $0x0, -0x2c9(%rbp)
movq -0x10(%rbp), %rax
movq (%rax), %rax
movq -0x10(%rbp), %rcx
movq 0x8(%rcx), %rdi
leaq 0x2c3d6(%rip), %rsi     # 0x31d10
movl $0x19, %edx
callq *%rax
movq -0x10(%rbp), %rax
movq (%rax), %rax
movq -0x10(%rbp), %rcx
movq 0x8(%rcx), %rdi
leaq -0x280(%rbp), %rsi
movl $0x40, %edx
callq *%rax
movq -0x10(%rbp), %rdi
movl $0x1, %esi
callq 0x26510
movq -0x10(%rbp), %rax
movq (%rax), %rax
movq -0x10(%rbp), %rcx
movq 0x8(%rcx), %rdi
leaq -0x2c0(%rbp), %rsi
movl $0x40, %edx
callq *%rax
movq -0x10(%rbp), %rax
movq (%rax), %rax
movq -0x10(%rbp), %rcx
movq 0x8(%rcx), %rdi
leaq -0x2e0(%rbp), %rsi
movl $0x18, %edx
callq *%rax
movq -0x10(%rbp), %rax
movq (%rax), %rax
movq -0x10(%rbp), %rcx
movq 0x8(%rcx), %rdi
leaq 0x2af14(%rip), %rsi     # 0x308d0
addq $0x1, %rsi
movl $0x10, %edx
callq *%rax
movq -0x10(%rbp), %rax
movq (%rax), %rax
movq -0x10(%rbp), %rcx
movq 0x8(%rcx), %rdi
leaq 0x2af04(%rip), %rsi     # 0x308e1
movl $0xc, %edx
callq *%rax
movq -0x10(%rbp), %rdi
movl $0x10, %esi
callq 0x26510
movq -0x10(%rbp), %rax
movq (%rax), %rax
movq -0x10(%rbp), %rcx
movq 0x8(%rcx), %rdi
leaq 0x2aee8(%rip), %rsi     # 0x308f0
addq $0x1, %rsi
movl $0x10, %edx
callq *%rax
movq -0x10(%rbp), %rax
movq (%rax), %rax
movq -0x10(%rbp), %rcx
movq 0x8(%rcx), %rdi
leaq 0x2aee7(%rip), %rsi     # 0x30910
movl $0xa2, %edx
callq *%rax
movq -0x10(%rbp), %rdi
movl $0x1, %esi
callq 0x26510
movq -0x10(%rbp), %rax
movq (%rax), %rax
movq -0x10(%rbp), %rcx
movq 0x8(%rcx), %rdi
leaq 0x2af6c(%rip), %rsi     # 0x309c0
addq $0x1, %rsi
movl $0x10, %edx
callq *%rax
movq -0x10(%rbp), %rax
movq (%rax), %rax
movq -0x10(%rbp), %rcx
movq 0x8(%rcx), %rdi
leaq 0x2af5c(%rip), %rsi     # 0x309d1
movl $0xc, %edx
callq *%rax
movq -0x10(%rbp), %rdi
movl $0x11, %esi
callq 0x26510
movq -0x10(%rbp), %rax
movq (%rax), %rax
movq -0x10(%rbp), %rcx
movq 0x8(%rcx), %rdi
leaq 0x2af40(%rip), %rsi     # 0x309e0
addq $0x1, %rsi
movl $0x10, %edx
callq *%rax
movq -0x10(%rbp), %rax
movq (%rax), %rax
movq -0x10(%rbp), %rcx
movq 0x8(%rcx), %rdi
leaq 0x2af3f(%rip), %rsi     # 0x30a00
movl $0xa2, %edx
callq *%rax
movq -0x10(%rbp), %rax
movq (%rax), %rax
movq -0x10(%rbp), %rcx
movq 0x8(%rcx), %rdi
leaq 0x2c24b(%rip), %rsi     # 0x31d29
movl $0xe, %edx
callq *%rax
movl $0x0, -0x2e4(%rbp)
movl $0x0, -0x2e8(%rbp)
movl $0x0, -0x2ec(%rbp)
movl $0x0, -0x2f0(%rbp)
movl $0x0, -0x2f4(%rbp)
movl -0x1c(%rbp), %edx
xorl %eax, %eax
movl $0x1, %ecx
cmpl $0x2, %edx
cmovgl %ecx, %eax
movl %eax, -0x2f8(%rbp)
movl -0x1c(%rbp), %edx
xorl %eax, %eax
movl $0x2, %ecx
cmpl $0x2, %edx
cmovgl %ecx, %eax
movl %eax, -0x2fc(%rbp)
movq -0x28(%rbp), %rax
movq %rax, -0x308(%rbp)
movq -0x308(%rbp), %rax
movslq -0x2f8(%rbp), %rcx
addq %rcx, %rax
movq %rax, -0x310(%rbp)
movq -0x308(%rbp), %rax
movslq -0x2fc(%rbp), %rcx
addq %rcx, %rax
movq %rax, -0x318(%rbp)
cmpl $0x0, -0x40(%rbp)
je 0x61e3
movl $0x0, -0x320(%rbp)
movl -0x320(%rbp), %eax
cmpl -0x18(%rbp), %eax
jge 0x61de
movl $0x0, -0x31c(%rbp)
movl -0x31c(%rbp), %eax
cmpl -0x14(%rbp), %eax
jge 0x61c8
movl -0x320(%rbp), %eax
movl %eax, -0x30(%rbp)
movl $0x0, -0x324(%rbp)
movl -0x30(%rbp), %eax
movl -0x320(%rbp), %ecx
addl $0x10, %ecx
cmpl %ecx, %eax
jge 0x5e48
movl -0x30(%rbp), %eax
cmpl -0x18(%rbp), %eax
jge 0x5bf4
movl -0x30(%rbp), %eax
movl %eax, -0x149c(%rbp)
jmp 0x5c00
movl -0x18(%rbp), %eax
subl $0x1, %eax
movl %eax, -0x149c(%rbp)
movl -0x149c(%rbp), %eax
movl %eax, -0xf34(%rbp)
cmpl $0x0, 0x34ff1(%rip)     # 0x3ac04
je 0x5c29
movl -0x18(%rbp), %eax
subl $0x1, %eax
subl -0xf34(%rbp), %eax
movl %eax, -0x14a0(%rbp)
jmp 0x5c35
movl -0xf34(%rbp), %eax
movl %eax, -0x14a0(%rbp)
movl -0x14a0(%rbp), %eax
imull -0x14(%rbp), %eax
imull -0x1c(%rbp), %eax
movl %eax, -0xf38(%rbp)
movl -0x31c(%rbp), %eax
movl %eax, -0x34(%rbp)
movl -0x34(%rbp), %eax
movl -0x31c(%rbp), %ecx
addl $0x10, %ecx
cmpl %ecx, %eax
jge 0x5e38
movl -0xf38(%rbp), %eax
movl %eax, -0x14a4(%rbp)
movl -0x34(%rbp), %eax
cmpl -0x14(%rbp), %eax
jge 0x5c85
movl -0x34(%rbp), %eax
movl %eax, -0x14a8(%rbp)
jmp 0x5c91
movl -0x14(%rbp), %eax
subl $0x1, %eax
movl %eax, -0x14a8(%rbp)
movl -0x14a4(%rbp), %eax
movl -0x14a8(%rbp), %ecx
movl -0x1c(%rbp), %edx
imull %edx, %ecx
addl %ecx, %eax
movl %eax, -0xf3c(%rbp)
movq -0x308(%rbp), %rax
movslq -0xf3c(%rbp), %rcx
movzbl (%rax,%rcx), %eax
cvtsi2ss %eax, %xmm0
movss %xmm0, -0xf40(%rbp)
movq -0x310(%rbp), %rax
movslq -0xf3c(%rbp), %rcx
movzbl (%rax,%rcx), %eax
cvtsi2ss %eax, %xmm0
movss %xmm0, -0xf44(%rbp)
movq -0x318(%rbp), %rax
movslq -0xf3c(%rbp), %rcx
movzbl (%rax,%rcx), %eax
cvtsi2ss %eax, %xmm0
movss %xmm0, -0xf48(%rbp)
movss -0xf40(%rbp), %xmm1
movss 0x2a313(%rip), %xmm0    # 0x30028
mulss -0xf44(%rbp), %xmm0
movss 0x2a2ff(%rip), %xmm2    # 0x30024
mulss %xmm2, %xmm1
addss %xmm0, %xmm1
movss -0xf48(%rbp), %xmm0
movss 0x2a2e3(%rip), %xmm2    # 0x30020
mulss %xmm2, %xmm0
addss %xmm1, %xmm0
movss 0x2a2cf(%rip), %xmm1    # 0x3001c
subss %xmm1, %xmm0
movslq -0x324(%rbp), %rax
movss %xmm0, -0x730(%rbp,%rax,4)
movss -0xf40(%rbp), %xmm1
movss 0x2a2a7(%rip), %xmm0    # 0x30018
mulss -0xf44(%rbp), %xmm0
movd %xmm0, %eax
xorl $0x80000000, %eax       # imm = 0x80000000
movd %eax, %xmm0
movss 0x2a286(%rip), %xmm2    # 0x30014
mulss %xmm2, %xmm1
addss %xmm0, %xmm1
movss -0xf48(%rbp), %xmm0
movss 0x2a266(%rip), %xmm2    # 0x3000c
mulss %xmm2, %xmm0
addss %xmm1, %xmm0
movslq -0x324(%rbp), %rax
movss %xmm0, -0xb30(%rbp,%rax,4)
movss -0xf40(%rbp), %xmm1
movss 0x2a242(%rip), %xmm0    # 0x30010
mulss -0xf44(%rbp), %xmm0
movd %xmm0, %eax
xorl $0x80000000, %eax       # imm = 0x80000000
movd %eax, %xmm0
movss 0x2a221(%rip), %xmm2    # 0x3000c
mulss %xmm2, %xmm1
addss %xmm0, %xmm1
movss -0xf48(%rbp), %xmm0
movss 0x2a205(%rip), %xmm2    # 0x30008
mulss %xmm2, %xmm0
addss %xmm1, %xmm0
movslq -0x324(%rbp), %rax
movss %xmm0, -0xf30(%rbp,%rax,4)
movl -0x34(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x34(%rbp)
movl -0x324(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x324(%rbp)
jmp 0x5c52
jmp 0x5e3a
movl -0x30(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x30(%rbp)
jmp 0x5bcd
movq -0x10(%rbp), %rdi
leaq -0x730(%rbp), %rcx
leaq -0x140(%rbp), %r9
movl -0x2e4(%rbp), %r11d
leaq -0x2f0(%rbp), %rsi
leaq -0x2f4(%rbp), %rdx
movl $0x10, %r8d
leaq 0x2ac34(%rip), %r10     # 0x30ab0
leaq 0x2b42d(%rip), %rax     # 0x312b0
movl %r11d, (%rsp)
movq %r10, 0x8(%rsp)
movq %rax, 0x10(%rsp)
callq 0x26550
movl %eax, -0x2e4(%rbp)
movq -0x10(%rbp), %rdi
leaq -0x730(%rbp), %rcx
addq $0x20, %rcx
leaq -0x140(%rbp), %r9
movl -0x2e4(%rbp), %r11d
leaq -0x2f0(%rbp), %rsi
leaq -0x2f4(%rbp), %rdx
movl $0x10, %r8d
leaq 0x2abdc(%rip), %r10     # 0x30ab0
leaq 0x2b3d5(%rip), %rax     # 0x312b0
movl %r11d, (%rsp)
movq %r10, 0x8(%rsp)
movq %rax, 0x10(%rsp)
callq 0x26550
movl %eax, -0x2e4(%rbp)
movq -0x10(%rbp), %rdi
leaq -0x730(%rbp), %rcx
addq $0x200, %rcx            # imm = 0x200
leaq -0x140(%rbp), %r9
movl -0x2e4(%rbp), %r11d
leaq -0x2f0(%rbp), %rsi
leaq -0x2f4(%rbp), %rdx
movl $0x10, %r8d
leaq 0x2ab81(%rip), %r10     # 0x30ab0
leaq 0x2b37a(%rip), %rax     # 0x312b0
movl %r11d, (%rsp)
movq %r10, 0x8(%rsp)
movq %rax, 0x10(%rsp)
callq 0x26550
movl %eax, -0x2e4(%rbp)
movq -0x10(%rbp), %rdi
leaq -0x730(%rbp), %rcx
addq $0x220, %rcx            # imm = 0x220
leaq -0x140(%rbp), %r9
movl -0x2e4(%rbp), %r11d
leaq -0x2f0(%rbp), %rsi
leaq -0x2f4(%rbp), %rdx
movl $0x10, %r8d
leaq 0x2ab26(%rip), %r10     # 0x30ab0
leaq 0x2b31f(%rip), %rax     # 0x312b0
movl %r11d, (%rsp)
movq %r10, 0x8(%rsp)
movq %rax, 0x10(%rsp)
callq 0x26550
movl %eax, -0x2e4(%rbp)
movl $0x0, -0x1154(%rbp)
movl $0x0, -0x324(%rbp)
cmpl $0x8, -0x1154(%rbp)
jge 0x610c
movl $0x0, -0x1158(%rbp)
cmpl $0x8, -0x1158(%rbp)
jge 0x60f6
movl -0x1154(%rbp), %eax
shll $0x5, %eax
movl -0x1158(%rbp), %ecx
shll %ecx
addl %ecx, %eax
movl %eax, -0x115c(%rbp)
movl -0x115c(%rbp), %eax
addl $0x0, %eax
cltq
movss -0xb30(%rbp,%rax,4), %xmm0
movl -0x115c(%rbp), %eax
addl $0x1, %eax
cltq
addss -0xb30(%rbp,%rax,4), %xmm0
movl -0x115c(%rbp), %eax
addl $0x10, %eax
cltq
addss -0xb30(%rbp,%rax,4), %xmm0
movl -0x115c(%rbp), %eax
addl $0x11, %eax
cltq
addss -0xb30(%rbp,%rax,4), %xmm0
movss 0x29fd9(%rip), %xmm1    # 0x3002c
mulss %xmm1, %xmm0
movslq -0x324(%rbp), %rax
movss %xmm0, -0x1050(%rbp,%rax,4)
movl -0x115c(%rbp), %eax
addl $0x0, %eax
cltq
movss -0xf30(%rbp,%rax,4), %xmm0
movl -0x115c(%rbp), %eax
addl $0x1, %eax
cltq
addss -0xf30(%rbp,%rax,4), %xmm0
movl -0x115c(%rbp), %eax
addl $0x10, %eax
cltq
addss -0xf30(%rbp,%rax,4), %xmm0
movl -0x115c(%rbp), %eax
addl $0x11, %eax
cltq
addss -0xf30(%rbp,%rax,4), %xmm0
movss 0x29f6d(%rip), %xmm1    # 0x3002c
mulss %xmm1, %xmm0
movslq -0x324(%rbp), %rax
movss %xmm0, -0x1150(%rbp,%rax,4)
movl -0x1158(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x1158(%rbp)
movl -0x324(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x324(%rbp)
jmp 0x5fd5
jmp 0x60f8
movl -0x1154(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x1154(%rbp)
jmp 0x5fbe
movq -0x10(%rbp), %rdi
leaq -0x1050(%rbp), %rcx
leaq -0x240(%rbp), %r9
movl -0x2e8(%rbp), %r11d
leaq -0x2f0(%rbp), %rsi
leaq -0x2f4(%rbp), %rdx
movl $0x8, %r8d
leaq 0x2ad70(%rip), %r10     # 0x30eb0
leaq 0x2b569(%rip), %rax     # 0x316b0
movl %r11d, (%rsp)
movq %r10, 0x8(%rsp)
movq %rax, 0x10(%rsp)
callq 0x26550
movl %eax, -0x2e8(%rbp)
movq -0x10(%rbp), %rdi
leaq -0x1150(%rbp), %rcx
leaq -0x240(%rbp), %r9
movl -0x2ec(%rbp), %r11d
leaq -0x2f0(%rbp), %rsi
leaq -0x2f4(%rbp), %rdx
movl $0x8, %r8d
leaq 0x2ad1c(%rip), %r10     # 0x30eb0
leaq 0x2b515(%rip), %rax     # 0x316b0
movl %r11d, (%rsp)
movq %r10, 0x8(%rsp)
movq %rax, 0x10(%rsp)
callq 0x26550
movl %eax, -0x2ec(%rbp)
movl -0x31c(%rbp), %eax
addl $0x10, %eax
movl %eax, -0x31c(%rbp)
jmp 0x5bab
jmp 0x61ca
movl -0x320(%rbp), %eax
addl $0x10, %eax
movl %eax, -0x320(%rbp)
jmp 0x5b92
jmp 0x65cb
movl $0x0, -0x320(%rbp)
movl -0x320(%rbp), %eax
cmpl -0x18(%rbp), %eax
jge 0x65c9
movl $0x0, -0x31c(%rbp)
movl -0x31c(%rbp), %eax
cmpl -0x14(%rbp), %eax
jge 0x65b3
movl -0x320(%rbp), %eax
movl %eax, -0x30(%rbp)
movl $0x0, -0x324(%rbp)
movl -0x30(%rbp), %eax
movl -0x320(%rbp), %ecx
addl $0x8, %ecx
cmpl %ecx, %eax
jge 0x64a3
movl -0x30(%rbp), %eax
cmpl -0x18(%rbp), %eax
jge 0x624f
movl -0x30(%rbp), %eax
movl %eax, -0x14ac(%rbp)
jmp 0x625b
movl -0x18(%rbp), %eax
subl $0x1, %eax
movl %eax, -0x14ac(%rbp)
movl -0x14ac(%rbp), %eax
movl %eax, -0x1464(%rbp)
cmpl $0x0, 0x34996(%rip)     # 0x3ac04
je 0x6284
movl -0x18(%rbp), %eax
subl $0x1, %eax
subl -0x1464(%rbp), %eax
movl %eax, -0x14b0(%rbp)
jmp 0x6290
movl -0x1464(%rbp), %eax
movl %eax, -0x14b0(%rbp)
movl -0x14b0(%rbp), %eax
imull -0x14(%rbp), %eax
imull -0x1c(%rbp), %eax
movl %eax, -0x1468(%rbp)
movl -0x31c(%rbp), %eax
movl %eax, -0x34(%rbp)
movl -0x34(%rbp), %eax
movl -0x31c(%rbp), %ecx
addl $0x8, %ecx
cmpl %ecx, %eax
jge 0x6493
movl -0x1468(%rbp), %eax
movl %eax, -0x14b4(%rbp)
movl -0x34(%rbp), %eax
cmpl -0x14(%rbp), %eax
jge 0x62e0
movl -0x34(%rbp), %eax
movl %eax, -0x14b8(%rbp)
jmp 0x62ec
movl -0x14(%rbp), %eax
subl $0x1, %eax
movl %eax, -0x14b8(%rbp)
movl -0x14b4(%rbp), %eax
movl -0x14b8(%rbp), %ecx
movl -0x1c(%rbp), %edx
imull %edx, %ecx
addl %ecx, %eax
movl %eax, -0x146c(%rbp)
movq -0x308(%rbp), %rax
movslq -0x146c(%rbp), %rcx
movzbl (%rax,%rcx), %eax
cvtsi2ss %eax, %xmm0
movss %xmm0, -0x1470(%rbp)
movq -0x310(%rbp), %rax
movslq -0x146c(%rbp), %rcx
movzbl (%rax,%rcx), %eax
cvtsi2ss %eax, %xmm0
movss %xmm0, -0x1474(%rbp)
movq -0x318(%rbp), %rax
movslq -0x146c(%rbp), %rcx
movzbl (%rax,%rcx), %eax
cvtsi2ss %eax, %xmm0
movss %xmm0, -0x1478(%rbp)
movss -0x1470(%rbp), %xmm1
movss 0x29cb8(%rip), %xmm0    # 0x30028
mulss -0x1474(%rbp), %xmm0
movss 0x29ca4(%rip), %xmm2    # 0x30024
mulss %xmm2, %xmm1
addss %xmm0, %xmm1
movss -0x1478(%rbp), %xmm0
movss 0x29c88(%rip), %xmm2    # 0x30020
mulss %xmm2, %xmm0
addss %xmm1, %xmm0
movss 0x29c74(%rip), %xmm1    # 0x3001c
subss %xmm1, %xmm0
movslq -0x324(%rbp), %rax
movss %xmm0, -0x1260(%rbp,%rax,4)
movss -0x1470(%rbp), %xmm1
movss 0x29c4c(%rip), %xmm0    # 0x30018
mulss -0x1474(%rbp), %xmm0
movd %xmm0, %eax
xorl $0x80000000, %eax       # imm = 0x80000000
movd %eax, %xmm0
movss 0x29c2b(%rip), %xmm2    # 0x30014
mulss %xmm2, %xmm1
addss %xmm0, %xmm1
movss -0x1478(%rbp), %xmm0
movss 0x29c0b(%rip), %xmm2    # 0x3000c
mulss %xmm2, %xmm0
addss %xmm1, %xmm0
movslq -0x324(%rbp), %rax
movss %xmm0, -0x1360(%rbp,%rax,4)
movss -0x1470(%rbp), %xmm1
movss 0x29be7(%rip), %xmm0    # 0x30010
mulss -0x1474(%rbp), %xmm0
movd %xmm0, %eax
xorl $0x80000000, %eax       # imm = 0x80000000
movd %eax, %xmm0
movss 0x29bc6(%rip), %xmm2    # 0x3000c
mulss %xmm2, %xmm1
addss %xmm0, %xmm1
movss -0x1478(%rbp), %xmm0
movss 0x29baa(%rip), %xmm2    # 0x30008
mulss %xmm2, %xmm0
addss %xmm1, %xmm0
movslq -0x324(%rbp), %rax
movss %xmm0, -0x1460(%rbp,%rax,4)
movl -0x34(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x34(%rbp)
movl -0x324(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x324(%rbp)
jmp 0x62ad
jmp 0x6495
movl -0x30(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x30(%rbp)
jmp 0x6228
movq -0x10(%rbp), %rdi
leaq -0x1260(%rbp), %rcx
leaq -0x140(%rbp), %r9
movl -0x2e4(%rbp), %r11d
leaq -0x2f0(%rbp), %rsi
leaq -0x2f4(%rbp), %rdx
movl $0x8, %r8d
leaq 0x2a5d9(%rip), %r10     # 0x30ab0
leaq 0x2add2(%rip), %rax     # 0x312b0
movl %r11d, (%rsp)
movq %r10, 0x8(%rsp)
movq %rax, 0x10(%rsp)
callq 0x26550
movl %eax, -0x2e4(%rbp)
movq -0x10(%rbp), %rdi
leaq -0x1360(%rbp), %rcx
leaq -0x240(%rbp), %r9
movl -0x2e8(%rbp), %r11d
leaq -0x2f0(%rbp), %rsi
leaq -0x2f4(%rbp), %rdx
movl $0x8, %r8d
leaq 0x2a985(%rip), %r10     # 0x30eb0
leaq 0x2b17e(%rip), %rax     # 0x316b0
movl %r11d, (%rsp)
movq %r10, 0x8(%rsp)
movq %rax, 0x10(%rsp)
callq 0x26550
movl %eax, -0x2e8(%rbp)
movq -0x10(%rbp), %rdi
leaq -0x1460(%rbp), %rcx
leaq -0x240(%rbp), %r9
movl -0x2ec(%rbp), %r11d
leaq -0x2f0(%rbp), %rsi
leaq -0x2f4(%rbp), %rdx
movl $0x8, %r8d
leaq 0x2a931(%rip), %r10     # 0x30eb0
leaq 0x2b12a(%rip), %rax     # 0x316b0
movl %r11d, (%rsp)
movq %r10, 0x8(%rsp)
movq %rax, 0x10(%rsp)
callq 0x26550
movl %eax, -0x2ec(%rbp)
movl -0x31c(%rbp), %eax
addl $0x8, %eax
movl %eax, -0x31c(%rbp)
jmp 0x6206
jmp 0x65b5
movl -0x320(%rbp), %eax
addl $0x8, %eax
movl %eax, -0x320(%rbp)
jmp 0x61ed
jmp 0x65cb
movq -0x10(%rbp), %rdi
leaq -0x2f0(%rbp), %rsi
leaq -0x2f4(%rbp), %rdx
leaq 0x2b754(%rip), %rcx     # 0x31d38
callq 0x26aa0
movq -0x10(%rbp), %rdi
movl $0xff, %esi
callq 0x26510
movq -0x10(%rbp), %rdi
movl $0xd9, %esi
callq 0x26510
movl $0x1, -0x4(%rbp)
movl -0x4(%rbp), %eax
addq $0x14d0, %rsp           # imm = 0x14D0
popq %rbp
retq
nopl (%rax,%rax)