// File: /workspace/github_cpp_makefile_star2_O3/PepiJK[P]Mail-Server-Client/src/myserver.cpp
// Function: serverThread(MyHelper, MySocket&, int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
void serverThread(MyHelper helper, MySocket &serverSocket, int new_socket, string argDir)
{
   string command, buffer;
   do
   {
      command = serverSocket.recvMessage(new_socket);

      if (command == "SEND\n")
      {
         string sender = serverSocket.recvMessage(new_socket);
         string receiver = serverSocket.recvMessage(new_socket);
         string subject = serverSocket.recvMessage(new_socket);
         string message = serverSocket.recvMessage(new_socket);

         // read message part of mail till .\n occours
         while (1)
         {
            buffer = serverSocket.recvMessage(new_socket);
            if (buffer == ".\n")
            {
               break;
            }
            message += buffer;
         }

         // check for length violations, +1 because of \n
         if (sender.length() > 9 || receiver.length() > 9 || subject.length() > 81)
         {
            serverSocket.sendMessage("ERR - sender or reveiver or subject length is too long\0", new_socket);
         }
         else
         {
            // write file with data in directory of user who reveivces the mail
            string fullDir = argDir + '/' + receiver.substr(0, receiver.length() - 1);
            int mailId;

            if (access(fullDir.c_str(), F_OK) == -1)
            {
               mkdir(fullDir.c_str(), 0700);
               cout << "created directory " << fullDir << endl;
            }

            // critical section because filename gets created and saved on disk
            // could otherwise cause one file overwriting the other
            mtx.lock();

            // get number of files in directory, + 1 for new index
            mailId = helper.filesInDirectory(fullDir) + 1;
            string filename = fullDir + '/' + to_string(mailId) + '_' + subject.substr(0, subject.length() - 1) + ".txt";

            // check if filename exists -> increment index till filename is unique
            // it can happend that the filename with the same index and subjects exists when a file before gets deleted
            // solution would be the use of a UUID, however this is not implemented in standard c+++
            // so this rather "ugly" solution is used
            while (1)
            {
               if (helper.fileExists(filename))
               {
                  mailId++;
                  filename = fullDir + '/' + to_string(mailId) + '_' + subject.substr(0, subject.length() - 1) + ".txt";
               }
               else
               {
                  break;
               }
            }

            // create file, write mail data to file
            ofstream file;
            file.open(filename.c_str(), ios::out);
            file << sender + receiver + subject + message + ".\n\0";
            cout << "Mail " << subject.substr(0, subject.length() - 1) << " from user "
                 << sender.substr(0, sender.length() - 1) << " safed to " << filename << endl;
            serverSocket.sendMessage("OK\0", new_socket);
            file.close();
            mtx.unlock();
         }
      }

      else if (command == "LIST\n")
      {
         string user = serverSocket.recvMessage(new_socket);
         string dirPath = argDir + '/' + user.substr(0, user.length() - 1);

         // check if user exists
         if (access(dirPath.c_str(), F_OK) == -1)
         {
            buffer = "0 mails for user " + user;
            serverSocket.sendMessage(buffer.c_str(), new_socket);
         }
         else
         {
            vector<string> mails;

            // get every mail subject from directory and send to client
            mails = helper.subjectsInDirectory(dirPath);
            buffer = to_string(mails.size()) + " mails for user " + user;
            serverSocket.sendMessage(buffer.c_str(), new_socket);

            // at least 1 message lies in direcotry -> send list of messages to client
            if (mails.size() > 0)
            {
               cout << "Sent list of mails from user " << user.substr(0, user.length() - 1) << " to client" << endl;
               for (unsigned int i = 0; i < mails.size(); i++)
               {
                  // check if client is ready to recv message, without this check weird things happen
                  buffer = serverSocket.recvMessage(new_socket);
                  if (buffer == "OK")
                  {
                     serverSocket.sendMessage(mails[i].c_str(), new_socket);
                  }
               }
            }
         }
      }

      else if (command == "READ\n")
      {
         string user = serverSocket.recvMessage(new_socket);
         string mailNumber = serverSocket.recvMessage(new_socket);
         ofstream file;

         user = user.substr(0, user.length() - 1);

         if (helper.stringIsInt(mailNumber))
         {
            unsigned int mailIndex = stoi(mailNumber.substr(0, mailNumber.length() - 1)) - 1;
            string line, fulldir, dirPath = argDir + '/' + user;
            ifstream file;
            vector<string> mails;

            // check if user exists
            if (access(dirPath.c_str(), F_OK) == -1)
            {
               serverSocket.sendMessage("ERR - user does not exist\0", new_socket);
            }
            else
            {
               // get every file from directory
               mails = helper.filenamesInDirecotry(dirPath);

               // check if requested mail actually exists
               if (mailIndex < mails.size())
               {
                  fulldir = dirPath + '/' + mails[mailIndex];
                  mtx.lock();
                  file.open(fulldir.c_str());
                  if (file.is_open())
                  {
                     cout << "Sent email " << mails[mailIndex] << " informaiton from user " << user << " to client" << endl;
                     serverSocket.sendMessage("OK\0", new_socket);
                     while (getline(file, line))
                     {
                        line = line + '\n';
                        // check if client is ready to recv message, without this check weird things happen
                        buffer = serverSocket.recvMessage(new_socket);
                        if (buffer == "OK")
                        {
                           serverSocket.sendMessage(line.c_str(), new_socket);
                        }
                     }
                  }
                  else
                  {
                     serverSocket.sendMessage("ERR - cannot open mail file\0", new_socket);
                  }
                  file.close();
                  mtx.unlock();
               }
               else
               {
                  serverSocket.sendMessage("ERR - mail does not exist\0", new_socket);
               }
            }
         }
         else
         {
            serverSocket.sendMessage("ERR - mail number is not an integer\0", new_socket);
         }
      }

      else if (command == "DEL\n")
      {
         string user = serverSocket.recvMessage(new_socket);
         string mailNumber = serverSocket.recvMessage(new_socket);
         ofstream file;

         user = user.substr(0, user.length() - 1);

         if (helper.stringIsInt(mailNumber))
         {
            unsigned int mailIndex = stoi(mailNumber.substr(0, mailNumber.length() - 1)) - 1;
            string fulldir, dirPath = argDir + '/' + user;
            ifstream file;
            vector<string> mails;

            // check if user exists
            if (access(dirPath.c_str(), F_OK) == -1)
            {
               serverSocket.sendMessage("ERR - user does not exist\0", new_socket);
            }
            else
            {
               // get every file from directory
               mails = helper.filenamesInDirecotry(dirPath);

               // check if requested mail actually exists
               if (mailIndex < mails.size())
               {
                  fulldir = dirPath + '/' + mails[mailIndex];
                  mtx.lock();
                  if (remove(fulldir.c_str()) == 0)
                  {
                     cout << "Deleted mail " + mails[mailIndex] << " from user " << user << endl;
                     serverSocket.sendMessage("OK\0", new_socket);
                  }
                  else
                  {
                     serverSocket.sendMessage("ERR - cannot delete mail\0", new_socket);
                  }
                  mtx.unlock();
               }
               else
               {
                  serverSocket.sendMessage("ERR - mail does not exist\0", new_socket);
               }
            }
         }
         else
         {
            serverSocket.sendMessage("ERR - mail number is not an integer\0", new_socket);
         }
      }

   } while (command != "QUIT\n");
   cout << "Client disconnected" << endl;
   close(new_socket);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x6d8, %rsp            # imm = 0x6D8
movq %rcx, -0x190(%rbp)
movl %edx, %r13d
movq %rsi, %r15
movq %rdi, -0x168(%rbp)
leaq -0x1d8(%rbp), %rax
movq %rax, -0x10(%rax)
xorl %ecx, %ecx
movq %rcx, -0x8(%rax)
movb %cl, (%rax)
leaq -0x1a0(%rbp), %rax
movq %rax, -0x10(%rax)
movq %rcx, -0x8(%rax)
movb %cl, (%rax)
movq 0x6781(%rip), %rax      # 0xafd0
movq (%rax), %rcx
movq %rcx, -0x1c8(%rbp)
movq 0x18(%rax), %rax
movq %rax, -0x1c0(%rbp)
movl $0xf8, %eax
leaq -0x700(%rbp), %rcx
addq %rax, %rcx
movq %rcx, -0x1f0(%rbp)
leaq -0x4a0(%rbp), %rcx
addq %rcx, %rax
movq %rax, -0x218(%rbp)
leaq -0x1e8(%rbp), %r12
movl %edx, -0xb4(%rbp)
movq %r15, %rdi
movl %r13d, %esi
callq 0x473e
movq %rax, %r14
movq %r12, %rbx
movq -0x1e0(%rbp), %r12
movq %rax, %rdi
callq 0x3150
movq %rbx, %rdi
xorl %esi, %esi
movq %r12, %rdx
movq %r14, %rcx
movq %rax, %r8
callq 0x3420
movq %rbx, %rdi
leaq 0x38bb(%rip), %rsi      # 0x8190
callq 0x30d0
testl %eax, %eax
je 0x4b8c
movq %rbx, %r12
movq %rbx, %rdi
leaq 0x38d3(%rip), %rsi      # 0x81c2
callq 0x30d0
testl %eax, %eax
je 0x4d83
movq %r12, %rdi
leaq 0x3900(%rip), %rsi      # 0x8206
callq 0x30d0
testl %eax, %eax
je 0x4e8a
movq %r12, %rdi
leaq 0x3913(%rip), %rsi      # 0x8230
callq 0x30d0
testl %eax, %eax
jne 0x6c3d
movq %r15, %rdi
movl %r13d, %esi
callq 0x473e
leaq -0x90(%rbp), %rdi
movq %rax, %rsi
leaq -0x4a0(%rbp), %rdx
callq 0x3130
movq %r15, %rdi
movl %r13d, %esi
callq 0x473e
leaq -0xe0(%rbp), %rdi
movq %rax, %rsi
leaq -0x4a0(%rbp), %rdx
callq 0x3130
leaq -0x700(%rbp), %rdi
callq 0x3480
movq -0x88(%rbp), %rcx
decq %rcx
leaq -0x4a0(%rbp), %rbx
movq %rbx, %rdi
leaq -0x90(%rbp), %r14
movq %r14, %rsi
xorl %edx, %edx
callq 0x3310
movq %r14, %rdi
movq %rbx, %rsi
callq 0x3380
movq -0x4a0(%rbp), %rdi
leaq -0x490(%rbp), %rax
cmpq %rax, %rdi
je 0x49c0
callq 0x32c0
leaq -0x228(%rbp), %rax
movq %rax, -0x238(%rbp)
movq -0xe0(%rbp), %rsi
movq -0xd8(%rbp), %rdx
addq %rsi, %rdx
leaq -0x238(%rbp), %rdi
callq 0x4354
movq -0x168(%rbp), %rdi
leaq -0x238(%rbp), %rsi
callq 0x3a32
movl %eax, %r14d
movq -0x238(%rbp), %rdi
leaq -0x228(%rbp), %rax
cmpq %rax, %rdi
je 0x4a19
callq 0x32c0
testb %r14b, %r14b
je 0x558f
movq -0xd8(%rbp), %rcx
decq %rcx
leaq -0x4a0(%rbp), %rdi
leaq -0xe0(%rbp), %rsi
xorl %edx, %edx
callq 0x3310
movq -0x4a0(%rbp), %r13
callq 0x3040
movq %rax, %r12
movl (%rax), %ebx
movl $0x0, (%rax)
movq %r13, %rdi
leaq -0x140(%rbp), %rsi
movl $0xa, %edx
callq 0x3390
cmpq %r13, -0x140(%rbp)
je 0x6d0f
leaq -0x80000000(%rax), %rdx
movabsq $-0x100000000, %rcx     # imm = 0xFFFFFFFF00000000
cmpq %rcx, %rdx
jb 0x6d03
movl (%r12), %ecx
cmpl $0x22, %ecx
je 0x6d03
movq %rax, -0x1b8(%rbp)
testl %ecx, %ecx
movl -0xb4(%rbp), %r13d
jne 0x4ab6
movl %ebx, (%r12)
movq -0x4a0(%rbp), %rdi
leaq -0x490(%rbp), %rax
cmpq %rax, %rdi
je 0x4ace
callq 0x32c0
leaq -0x130(%rbp), %rax
movq %rax, -0x140(%rbp)
movq $0x0, -0x138(%rbp)
movb $0x0, -0x130(%rbp)
leaq -0x490(%rbp), %rax
movq %rax, -0x4a0(%rbp)
movq -0x190(%rbp), %rax
movq (%rax), %rsi
movq 0x8(%rax), %rdx
addq %rsi, %rdx
leaq -0x4a0(%rbp), %rbx
movq %rbx, %rdi
callq 0x4354
leaq -0x1e8(%rbp), %r12
movq -0x498(%rbp), %rsi
movl $0x1, %ecx
movq %rbx, %rdi
xorl %edx, %edx
movl $0x2f, %r8d
callq 0x34e0
movq -0x90(%rbp), %rsi
movq -0x88(%rbp), %rdx
movq %rbx, %rdi
callq 0x30e0
leaq -0xa0(%rbp), %rsi
movq %rsi, -0xb0(%rbp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x65ba
movq %rdx, -0xb0(%rbp)
movq (%rcx), %rdx
movq %rdx, -0xa0(%rbp)
jmp 0x65c0
movq %r15, %rdi
movl %r13d, %esi
callq 0x473e
leaq -0x700(%rbp), %rdi
movq %rax, %rsi
leaq -0x4a0(%rbp), %rdx
callq 0x3130
leaq -0x140(%rbp), %rbx
movq %r15, %rdi
movl %r13d, %esi
callq 0x473e
leaq -0x90(%rbp), %rdi
movq %rax, %rsi
leaq -0x4a0(%rbp), %rdx
callq 0x3130
movq %r15, %rdi
movl %r13d, %esi
callq 0x473e
leaq -0xe0(%rbp), %rdi
movq %rax, %rsi
leaq -0x4a0(%rbp), %rdx
callq 0x3130
movq %r15, %rdi
movl %r13d, %esi
callq 0x473e
movq %rbx, %rdi
movq %rax, %rsi
leaq -0x4a0(%rbp), %rdx
callq 0x3130
movq %r15, %rdi
movl %r13d, %esi
callq 0x473e
movq %rax, %r14
movq -0x1a8(%rbp), %r12
movq %rax, %rdi
callq 0x3150
leaq -0x1b0(%rbp), %rdi
xorl %esi, %esi
movq %r12, %rdx
leaq -0x1e8(%rbp), %r12
movq %r14, %rcx
movq %rax, %r8
callq 0x3420
leaq -0x1b0(%rbp), %rdi
leaq 0x353a(%rip), %rsi      # 0x8196
callq 0x30d0
testl %eax, %eax
je 0x4c81
movq -0x1b0(%rbp), %rsi
movq -0x1a8(%rbp), %rdx
leaq -0x140(%rbp), %rdi
callq 0x30e0
jmp 0x4c13
cmpq $0x9, -0x6f8(%rbp)
ja 0x4e73
cmpq $0x9, -0x88(%rbp)
ja 0x4e73
cmpq $0x52, -0xd8(%rbp)
jae 0x4e73
leaq -0x490(%rbp), %rax
movq %rax, -0x4a0(%rbp)
movq -0x190(%rbp), %rax
movq (%rax), %rsi
movq 0x8(%rax), %rdx
addq %rsi, %rdx
leaq -0x4a0(%rbp), %rbx
movq %rbx, %rdi
callq 0x4354
movq -0x498(%rbp), %rsi
movl $0x1, %ecx
movq %rbx, %rdi
xorl %edx, %edx
movl $0x2f, %r8d
callq 0x34e0
movq -0x88(%rbp), %rcx
decq %rcx
leaq -0x100(%rbp), %rdi
leaq -0x90(%rbp), %rsi
xorl %edx, %edx
callq 0x3310
movq -0x4a0(%rbp), %rcx
movl $0xf, %edi
leaq -0x490(%rbp), %rax
cmpq %rax, %rcx
je 0x4d33
movq -0x490(%rbp), %rdi
movq -0x498(%rbp), %r8
movq -0x100(%rbp), %rsi
movq -0xf8(%rbp), %rdx
leaq (%rdx,%r8), %rax
cmpq %rdi, %rax
jbe 0x4d72
movl $0xf, %edi
leaq -0xf0(%rbp), %r9
cmpq %r9, %rsi
je 0x4d69
movq -0xf0(%rbp), %rdi
cmpq %rdi, %rax
jbe 0x535c
leaq -0x4a0(%rbp), %rdi
callq 0x30e0
jmp 0x536c
movq %r15, %rdi
movl %r13d, %esi
callq 0x473e
leaq -0x4a0(%rbp), %rdi
movq %rax, %rsi
leaq -0x700(%rbp), %rdx
callq 0x3130
leaq -0x80(%rbp), %rax
movq %rax, -0x90(%rbp)
movq -0x190(%rbp), %rax
movq (%rax), %rsi
movq 0x8(%rax), %rdx
addq %rsi, %rdx
leaq -0x90(%rbp), %rbx
movq %rbx, %rdi
callq 0x4354
movq -0x88(%rbp), %rsi
movl $0x1, %ecx
movq %rbx, %rdi
xorl %edx, %edx
movl $0x2f, %r8d
callq 0x34e0
movq -0x498(%rbp), %rcx
decq %rcx
leaq -0xe0(%rbp), %rdi
leaq -0x4a0(%rbp), %rsi
xorl %edx, %edx
callq 0x3310
movq -0x90(%rbp), %rcx
movl $0xf, %edi
leaq -0x80(%rbp), %rax
cmpq %rax, %rcx
je 0x4e23
movq -0x80(%rbp), %rdi
movq -0x88(%rbp), %r8
movq -0xe0(%rbp), %rsi
movq -0xd8(%rbp), %rdx
leaq (%rdx,%r8), %rax
cmpq %rdi, %rax
jbe 0x4e62
movl $0xf, %edi
leaq -0xd0(%rbp), %r9
cmpq %r9, %rsi
je 0x4e59
movq -0xd0(%rbp), %rdi
cmpq %rdi, %rax
jbe 0x511b
leaq -0x90(%rbp), %rdi
callq 0x30e0
jmp 0x512b
movq %r15, %rdi
leaq 0x33fb(%rip), %rsi      # 0x8278
movl %r13d, %edx
callq 0x478e
jmp 0x6257
movq %r15, %rdi
movl %r13d, %esi
callq 0x473e
leaq -0x90(%rbp), %rdi
movq %rax, %rsi
leaq -0x4a0(%rbp), %rdx
callq 0x3130
movq %r15, %rdi
movl %r13d, %esi
callq 0x473e
leaq -0xe0(%rbp), %rdi
movq %rax, %rsi
leaq -0x4a0(%rbp), %rdx
callq 0x3130
leaq -0x700(%rbp), %rdi
callq 0x3480
movq -0x88(%rbp), %rcx
decq %rcx
leaq -0x4a0(%rbp), %rbx
movq %rbx, %rdi
leaq -0x90(%rbp), %r14
movq %r14, %rsi
xorl %edx, %edx
callq 0x3310
movq %r14, %rdi
movq %rbx, %rsi
callq 0x3380
movq -0x4a0(%rbp), %rdi
leaq -0x490(%rbp), %rax
cmpq %rax, %rdi
je 0x4f20
callq 0x32c0
leaq -0x248(%rbp), %rax
movq %rax, -0x258(%rbp)
movq -0xe0(%rbp), %rsi
movq -0xd8(%rbp), %rdx
addq %rsi, %rdx
leaq -0x258(%rbp), %rdi
callq 0x4354
movq -0x168(%rbp), %rdi
leaq -0x258(%rbp), %rsi
callq 0x3a32
movl %eax, %r14d
movq -0x258(%rbp), %rdi
leaq -0x248(%rbp), %rax
cmpq %rax, %rdi
je 0x4f79
callq 0x32c0
testb %r14b, %r14b
je 0x5104
movq -0xd8(%rbp), %rcx
decq %rcx
leaq -0x4a0(%rbp), %rdi
leaq -0xe0(%rbp), %rsi
xorl %edx, %edx
callq 0x3310
movq -0x4a0(%rbp), %r13
callq 0x3040
movq %rax, %r12
movl (%rax), %ebx
movl $0x0, (%rax)
movq %r13, %rdi
leaq -0x140(%rbp), %rsi
movl $0xa, %edx
callq 0x3390
cmpq %r13, -0x140(%rbp)
je 0x6cf7
leaq -0x80000000(%rax), %rdx
movabsq $-0x100000000, %rcx     # imm = 0xFFFFFFFF00000000
cmpq %rcx, %rdx
jb 0x6ceb
movl (%r12), %ecx
cmpl $0x22, %ecx
je 0x6ceb
movq %rax, -0x1b8(%rbp)
testl %ecx, %ecx
movl -0xb4(%rbp), %r13d
jne 0x5016
movl %ebx, (%r12)
movq -0x4a0(%rbp), %rdi
leaq -0x490(%rbp), %rax
cmpq %rax, %rdi
je 0x502e
callq 0x32c0
leaq -0x130(%rbp), %rax
movq %rax, -0x140(%rbp)
xorl %ecx, %ecx
movq %rcx, -0x138(%rbp)
movb %cl, -0x130(%rbp)
leaq -0xa0(%rbp), %rax
movq %rax, -0xb0(%rbp)
movq %rcx, -0xa8(%rbp)
movb %cl, -0xa0(%rbp)
leaq -0x490(%rbp), %rax
movq %rax, -0x4a0(%rbp)
movq -0x190(%rbp), %rax
movq (%rax), %rsi
movq 0x8(%rax), %rdx
addq %rsi, %rdx
leaq -0x4a0(%rbp), %rbx
movq %rbx, %rdi
callq 0x4354
leaq -0x1e8(%rbp), %r12
movq -0x498(%rbp), %rsi
movl $0x1, %ecx
movq %rbx, %rdi
xorl %edx, %edx
movl $0x2f, %r8d
callq 0x34e0
movq -0x90(%rbp), %rsi
movq -0x88(%rbp), %rdx
movq %rbx, %rdi
callq 0x30e0
leaq -0xf0(%rbp), %rsi
movq %rsi, -0x100(%rbp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x55a6
movq %rdx, -0x100(%rbp)
movq (%rcx), %rdx
movq %rdx, -0xf0(%rbp)
jmp 0x55ac
movq %r15, %rdi
leaq 0x31f5(%rip), %rsi      # 0x8303
movl %r13d, %edx
callq 0x478e
jmp 0x6bd7
leaq -0xe0(%rbp), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x3330
leaq -0x6f0(%rbp), %rsi
movq %rsi, -0x700(%rbp)
movq (%rax), %rdx
leaq 0x10(%rax), %rcx
cmpq %rcx, %rdx
je 0x5158
movq %rdx, -0x700(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x6f0(%rbp)
jmp 0x515e
movups (%rcx), %xmm0
movups %xmm0, (%rsi)
movq %rax, %rdx
addq $0x8, %rdx
movq 0x8(%rax), %rsi
movq %rsi, -0x6f8(%rbp)
movq %rcx, (%rax)
movq $0x0, (%rdx)
movb $0x0, (%rcx)
movq -0xe0(%rbp), %rdi
leaq -0xd0(%rbp), %rax
cmpq %rax, %rdi
je 0x5195
callq 0x32c0
movq -0x90(%rbp), %rdi
leaq -0x80(%rbp), %rax
cmpq %rax, %rdi
je 0x51aa
callq 0x32c0
movq -0x700(%rbp), %rdi
xorl %esi, %esi
callq 0x3460
cmpl $-0x1, %eax
je 0x530b
xorps %xmm0, %xmm0
movaps %xmm0, -0xb0(%rbp)
movq $0x0, -0xa0(%rbp)
leaq -0x4f0(%rbp), %rax
movq %rax, -0x500(%rbp)
movq -0x700(%rbp), %rsi
movq -0x6f8(%rbp), %rdx
addq %rsi, %rdx
leaq -0x500(%rbp), %r14
movq %r14, %rdi
callq 0x4354
leaq -0xe0(%rbp), %rbx
movq %rbx, %rdi
movq -0x168(%rbp), %rsi
movq %r14, %rdx
callq 0x3ed0
movaps -0xb0(%rbp), %xmm0
movq -0xa0(%rbp), %rax
movaps -0xe0(%rbp), %xmm1
movaps %xmm1, -0xb0(%rbp)
movq -0xd0(%rbp), %rcx
movq %rcx, -0xa0(%rbp)
movups %xmm0, -0x90(%rbp)
movq %rax, -0x80(%rbp)
xorps %xmm0, %xmm0
movaps %xmm0, -0xe0(%rbp)
movq $0x0, -0xd0(%rbp)
leaq -0x90(%rbp), %rdi
callq 0x40a8
movq %rbx, %rdi
callq 0x40a8
movq -0x500(%rbp), %rdi
leaq -0x4f0(%rbp), %rax
cmpq %rax, %rdi
je 0x5293
callq 0x32c0
movq -0xa8(%rbp), %r14
subq -0xb0(%rbp), %r14
sarq $0x5, %r14
movl $0x1, %esi
cmpq $0xa, %r14
jb 0x62b6
movl $0x4, %esi
movq %r14, %rcx
cmpq $0x63, %rcx
jbe 0x62af
cmpq $0x3e7, %rcx            # imm = 0x3E7
jbe 0x62b4
cmpq $0x2710, %rcx           # imm = 0x2710
jb 0x62b6
movq %rcx, %rax
movabsq $0x346dc5d63886594b, %rdx # imm = 0x346DC5D63886594B
mulq %rdx
shrq $0xb, %rdx
addl $0x4, %esi
cmpq $0x1869f, %rcx          # imm = 0x1869F
movq %rdx, %rcx
ja 0x52bc
addl $-0x3, %esi
jmp 0x62b6
movq %rbx, %rdi
leaq 0x2eb3(%rip), %rsi      # 0x81c8
leaq -0x4a0(%rbp), %rdx
callq 0x7618
leaq -0x1b0(%rbp), %rdi
movq %rbx, %rsi
callq 0x3380
movq -0x90(%rbp), %rdi
leaq -0x80(%rbp), %rax
cmpq %rax, %rdi
je 0x5345
callq 0x32c0
movq -0x1b0(%rbp), %rsi
movq %r15, %rdi
movl %r13d, %edx
callq 0x478e
jmp 0x658f
leaq -0x100(%rbp), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x3330
leaq -0xa0(%rbp), %rsi
movq %rsi, -0xb0(%rbp)
movq (%rax), %rdx
leaq 0x10(%rax), %rcx
cmpq %rcx, %rdx
je 0x5399
movq %rdx, -0xb0(%rbp)
movq (%rcx), %rdx
movq %rdx, -0xa0(%rbp)
jmp 0x539f
movups (%rcx), %xmm0
movups %xmm0, (%rsi)
movq %rax, %rdx
addq $0x8, %rdx
movq 0x8(%rax), %rsi
movq %rsi, -0xa8(%rbp)
movq %rcx, (%rax)
movq $0x0, (%rdx)
movb $0x0, (%rcx)
movq -0x100(%rbp), %rdi
leaq -0xf0(%rbp), %rax
cmpq %rax, %rdi
je 0x53d6
callq 0x32c0
movq -0x4a0(%rbp), %rdi
leaq -0x490(%rbp), %rax
cmpq %rax, %rdi
je 0x53ee
callq 0x32c0
movq -0xb0(%rbp), %rdi
xorl %esi, %esi
callq 0x3460
cmpl $-0x1, %eax
jne 0x546e
movq -0xb0(%rbp), %rdi
movl $0x1c0, %esi            # imm = 0x1C0
callq 0x3180
movl $0x12, %edx
movq 0x5bba(%rip), %rdi      # 0xafd8
leaq 0x2d74(%rip), %rsi      # 0x8199
callq 0x3350
movq -0xb0(%rbp), %rsi
movq -0xa8(%rbp), %rdx
movq 0x5b99(%rip), %rdi      # 0xafd8
callq 0x3350
movq %rax, %r14
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x32d0
movsbl %al, %esi
movq %r14, %rdi
callq 0x3030
movq %rax, %rdi
callq 0x3200
leaq 0x5e4b(%rip), %rdi      # 0xb2c0
callq 0x33d0
testl %eax, %eax
jne 0x6ce4
leaq -0x288(%rbp), %rax
movq %rax, -0x298(%rbp)
movq -0xb0(%rbp), %rsi
movq -0xa8(%rbp), %rdx
addq %rsi, %rdx
leaq -0x298(%rbp), %rdi
callq 0x4354
movq -0x168(%rbp), %rdi
leaq -0x298(%rbp), %rsi
callq 0x3d4a
movl %eax, %r14d
movq -0x298(%rbp), %rdi
leaq -0x288(%rbp), %rax
cmpq %rax, %rdi
je 0x54db
callq 0x32c0
leaq -0x110(%rbp), %rax
movq %rax, -0x120(%rbp)
movq -0xb0(%rbp), %rsi
movq -0xa8(%rbp), %rdx
addq %rsi, %rdx
leaq -0x120(%rbp), %rbx
movq %rbx, %rdi
callq 0x4354
movq -0x118(%rbp), %rsi
movl $0x1, %ecx
movq %rbx, %rdi
xorl %edx, %edx
movl $0x2f, %r8d
callq 0x34e0
incl %r14d
movl %r14d, %r12d
negl %r12d
cmovsl %r14d, %r12d
movl $0x1, %r13d
cmpl $0xa, %r12d
jb 0x5793
movl $0x4, %r13d
movl %r12d, %eax
cmpl $0x63, %eax
jbe 0x578a
cmpl $0x3e7, %eax            # imm = 0x3E7
jbe 0x5790
cmpl $0x2710, %eax           # imm = 0x2710
jb 0x5793
movl %eax, %ecx
movl $0xd1b71759, %edx       # imm = 0xD1B71759
imulq %rdx, %rcx
shrq $0x2d, %rcx
addl $0x4, %r13d
cmpl $0x1869f, %eax          # imm = 0x1869F
movl %ecx, %eax
ja 0x554b
addl $-0x3, %r13d
jmp 0x5793
movq %r15, %rdi
leaq 0x2d6a(%rip), %rsi      # 0x8303
movl %r13d, %edx
callq 0x478e
jmp 0x6bd7
movups (%rcx), %xmm0
movups %xmm0, (%rsi)
movq 0x8(%rax), %rdx
movq %rdx, -0xf8(%rbp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq -0x4a0(%rbp), %rdi
leaq -0x490(%rbp), %rax
cmpq %rax, %rdi
je 0x55de
callq 0x32c0
leaq -0x4a0(%rbp), %rdi
callq 0x3340
xorps %xmm0, %xmm0
movaps %xmm0, -0x120(%rbp)
movq $0x0, -0x110(%rbp)
movq -0x100(%rbp), %rdi
xorl %esi, %esi
callq 0x3460
leaq 0x2c9c(%rip), %rsi      # 0x82b0
cmpl $-0x1, %eax
je 0x577a
leaq -0x4d0(%rbp), %rax
movq %rax, -0x4e0(%rbp)
movq -0x100(%rbp), %rsi
movq -0xf8(%rbp), %rdx
addq %rsi, %rdx
leaq -0x4e0(%rbp), %r14
movq %r14, %rdi
callq 0x4354
leaq -0x70(%rbp), %rbx
movq %rbx, %rdi
movq -0x168(%rbp), %rsi
movq %r14, %rdx
callq 0x3e02
movaps -0x120(%rbp), %xmm0
movq -0x110(%rbp), %rax
movaps -0x70(%rbp), %xmm1
movaps %xmm1, -0x120(%rbp)
movq -0x60(%rbp), %rcx
movq %rcx, -0x110(%rbp)
movups %xmm0, -0x50(%rbp)
movq %rax, -0x40(%rbp)
xorps %xmm0, %xmm0
movaps %xmm0, -0x70(%rbp)
movq $0x0, -0x60(%rbp)
leaq -0x50(%rbp), %rdi
callq 0x40a8
movq %rbx, %rdi
callq 0x40a8
movq -0x4e0(%rbp), %rdi
leaq -0x4d0(%rbp), %rax
cmpq %rax, %rdi
je 0x56c5
callq 0x32c0
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
movq -0x1b8(%rbp), %rcx
addq %rax, %rcx
movq -0x118(%rbp), %rax
subq -0x120(%rbp), %rax
movl %ecx, %r14d
sarq $0x5, %rax
leaq 0x2bf8(%rip), %rsi      # 0x82e8
cmpq %r14, %rax
jbe 0x577a
leaq -0x60(%rbp), %rax
movq %rax, -0x70(%rbp)
movq -0x100(%rbp), %rsi
movq -0xf8(%rbp), %rdx
addq %rsi, %rdx
movq %rbx, %rdi
callq 0x4354
movq -0x68(%rbp), %rsi
movl $0x1, %ecx
movq %rbx, %rdi
xorl %edx, %edx
movl $0x2f, %r8d
callq 0x34e0
movq -0x120(%rbp), %rax
shlq $0x5, %r14
movq (%rax,%r14), %rsi
movq 0x8(%rax,%r14), %rdx
movq %rbx, %rdi
callq 0x30e0
leaq -0x40(%rbp), %rbx
movq %rbx, -0x50(%rbp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x6798
movq %rdx, -0x50(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x40(%rbp)
jmp 0x679e
movq %r15, %rdi
movl %r13d, %edx
callq 0x478e
jmp 0x6a13
addl $-0x2, %r13d
jmp 0x5793
decl %r13d
movl %r14d, %ebx
shrl $0x1f, %ebx
leal (%rbx,%r13), %esi
leaq -0x150(%rbp), %rax
movq %rax, -0x160(%rbp)
leaq -0x160(%rbp), %rdi
movl $0x2d, %edx
callq 0x3360
movl %ebx, %edi
addq -0x160(%rbp), %rdi
movl %r13d, %esi
movl %r12d, %edx
callq 0x774c
movq -0x120(%rbp), %rcx
movl $0xf, %edi
leaq -0x110(%rbp), %rax
cmpq %rax, %rcx
je 0x57ef
movq -0x110(%rbp), %rdi
movq -0x118(%rbp), %r8
movq -0x160(%rbp), %rsi
movq -0x158(%rbp), %rdx
leaq (%rdx,%r8), %rax
cmpq %rdi, %rax
movl -0xb4(%rbp), %r13d
leaq -0x278(%rbp), %r12
jbe 0x5838
movl $0xf, %edi
leaq -0x150(%rbp), %r9
cmpq %r9, %rsi
je 0x5833
movq -0x150(%rbp), %rdi
cmpq %rdi, %rax
jbe 0x5846
leaq -0x120(%rbp), %rdi
callq 0x30e0
jmp 0x5856
leaq -0x160(%rbp), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x3330
leaq -0x60(%rbp), %rsi
movq %rsi, -0x70(%rbp)
movq (%rax), %rdx
leaq 0x10(%rax), %rcx
cmpq %rcx, %rdx
je 0x5877
movq %rdx, -0x70(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x60(%rbp)
jmp 0x587d
movups (%rcx), %xmm0
movups %xmm0, (%rsi)
movq %rax, %rdx
addq $0x8, %rdx
movq 0x8(%rax), %rsi
movq %rsi, -0x68(%rbp)
movq %rcx, (%rax)
movq $0x0, (%rdx)
movb $0x0, (%rcx)
movq -0x68(%rbp), %rsi
movl $0x1, %ecx
leaq -0x70(%rbp), %rdi
xorl %edx, %edx
movl $0x5f, %r8d
callq 0x34e0
leaq -0x40(%rbp), %rsi
movq %rsi, -0x50(%rbp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x58d7
movq %rdx, -0x50(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x40(%rbp)
jmp 0x58dd
movups (%rcx), %xmm0
movups %xmm0, (%rsi)
movq 0x8(%rax), %rdx
movq %rdx, -0x48(%rbp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq -0xd8(%rbp), %rcx
decq %rcx
leaq -0x188(%rbp), %rdi
leaq -0xe0(%rbp), %rsi
xorl %edx, %edx
callq 0x3310
movq -0x50(%rbp), %rcx
movl $0xf, %edi
leaq -0x40(%rbp), %rax
cmpq %rax, %rcx
je 0x5929
movq -0x40(%rbp), %rdi
movq -0x48(%rbp), %r8
movq -0x188(%rbp), %rsi
movq -0x180(%rbp), %rdx
leaq (%rdx,%r8), %rax
cmpq %rdi, %rax
jbe 0x5961
movl $0xf, %edi
leaq -0x178(%rbp), %r9
cmpq %r9, %rsi
je 0x595c
movq -0x178(%rbp), %rdi
cmpq %rdi, %rax
jbe 0x596c
leaq -0x50(%rbp), %rdi
callq 0x30e0
jmp 0x597c
leaq -0x188(%rbp), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x3330
leaq -0x490(%rbp), %rsi
movq %rsi, -0x4a0(%rbp)
movq (%rax), %rdx
leaq 0x10(%rax), %rcx
cmpq %rcx, %rdx
je 0x59a9
movq %rdx, -0x4a0(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x490(%rbp)
jmp 0x59af
movups (%rcx), %xmm0
movups %xmm0, (%rsi)
movq %rax, %rdx
addq $0x8, %rdx
movq 0x8(%rax), %rsi
movq %rsi, -0x498(%rbp)
movq %rcx, (%rax)
movq $0x0, (%rdx)
movb $0x0, (%rcx)
leaq -0x4a0(%rbp), %rdi
leaq 0x27d0(%rip), %rsi      # 0x81ac
callq 0x34f0
leaq -0xf0(%rbp), %rsi
movq %rsi, -0x100(%rbp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x5a11
movq %rdx, -0x100(%rbp)
movq (%rcx), %rdx
movq %rdx, -0xf0(%rbp)
jmp 0x5a17
movups (%rcx), %xmm0
movups %xmm0, (%rsi)
movq 0x8(%rax), %rdx
movq %rdx, -0xf8(%rbp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq -0x4a0(%rbp), %rdi
leaq -0x490(%rbp), %rax
cmpq %rax, %rdi
je 0x5a49
callq 0x32c0
movq -0x188(%rbp), %rdi
leaq -0x178(%rbp), %rax
cmpq %rax, %rdi
je 0x5a61
callq 0x32c0
movq -0x50(%rbp), %rdi
leaq -0x40(%rbp), %rax
cmpq %rax, %rdi
je 0x5a73
callq 0x32c0
movq -0x70(%rbp), %rdi
leaq -0x60(%rbp), %rax
cmpq %rax, %rdi
je 0x5a85
callq 0x32c0
movq -0x160(%rbp), %rdi
leaq -0x150(%rbp), %rax
cmpq %rax, %rdi
je 0x5a9d
callq 0x32c0
movq -0x120(%rbp), %rdi
leaq -0x110(%rbp), %rax
cmpq %rax, %rdi
je 0x5ab5
callq 0x32c0
leaq -0x268(%rbp), %rax
movq %rax, -0x278(%rbp)
movq -0x100(%rbp), %rsi
movq -0xf8(%rbp), %rdx
addq %rsi, %rdx
movq %r12, %rdi
callq 0x4354
movq -0x168(%rbp), %rdi
movq %r12, %rsi
callq 0x3fee
movl %eax, %r12d
movq -0x278(%rbp), %rdi
leaq -0x268(%rbp), %rax
cmpq %rax, %rdi
je 0x5b06
callq 0x32c0
testb %r12b, %r12b
je 0x5efd
leaq -0x150(%rbp), %rax
movq %rax, -0x160(%rbp)
movq -0xb0(%rbp), %rsi
movq -0xa8(%rbp), %rdx
addq %rsi, %rdx
leaq -0x160(%rbp), %rbx
movq %rbx, %rdi
callq 0x4354
movq -0x158(%rbp), %rsi
movl $0x1, %ecx
movq %rbx, %rdi
xorl %edx, %edx
movl $0x2f, %r8d
callq 0x34e0
incl %r14d
movl %r14d, %r12d
negl %r12d
cmovsl %r14d, %r12d
movl $0x1, %r13d
cmpl $0xa, %r12d
jb 0x5bb9
movl $0x4, %r13d
movl %r12d, %eax
cmpl $0x63, %eax
jbe 0x5bb0
cmpl $0x3e7, %eax            # imm = 0x3E7
jbe 0x5bb6
cmpl $0x2710, %eax           # imm = 0x2710
jb 0x5bb9
movl %eax, %ecx
movl $0xd1b71759, %edx       # imm = 0xD1B71759
imulq %rdx, %rcx
shrq $0x2d, %rcx
addl $0x4, %r13d
cmpl $0x1869f, %eax          # imm = 0x1869F
movl %ecx, %eax
ja 0x5b7b
addl $-0x3, %r13d
jmp 0x5bb9
addl $-0x2, %r13d
jmp 0x5bb9
decl %r13d
movl %r14d, %ebx
shrl $0x1f, %ebx
leal (%rbx,%r13), %esi
leaq -0x178(%rbp), %rax
movq %rax, -0x188(%rbp)
leaq -0x188(%rbp), %rdi
movl $0x2d, %edx
callq 0x3360
movl %ebx, %edi
addq -0x188(%rbp), %rdi
movl %r13d, %esi
movl %r12d, %edx
callq 0x774c
movq -0x160(%rbp), %rcx
movl $0xf, %edi
leaq -0x150(%rbp), %rax
cmpq %rax, %rcx
je 0x5c15
movq -0x150(%rbp), %rdi
movq -0x158(%rbp), %r8
movq -0x188(%rbp), %rsi
movq -0x180(%rbp), %rdx
leaq (%rdx,%r8), %rax
cmpq %rdi, %rax
movl -0xb4(%rbp), %r13d
leaq -0x278(%rbp), %r12
jbe 0x5c5e
movl $0xf, %edi
leaq -0x178(%rbp), %r9
cmpq %r9, %rsi
je 0x5c59
movq -0x178(%rbp), %rdi
cmpq %rdi, %rax
jbe 0x5c6c
leaq -0x160(%rbp), %rdi
callq 0x30e0
jmp 0x5c7c
leaq -0x188(%rbp), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x3330
leaq -0x110(%rbp), %rsi
movq %rsi, -0x120(%rbp)
movq (%rax), %rdx
leaq 0x10(%rax), %rcx
cmpq %rcx, %rdx
je 0x5ca9
movq %rdx, -0x120(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x110(%rbp)
jmp 0x5caf
movups (%rcx), %xmm0
movups %xmm0, (%rsi)
movq %rax, %rdx
addq $0x8, %rdx
movq 0x8(%rax), %rsi
movq %rsi, -0x118(%rbp)
movq %rcx, (%rax)
movq $0x0, (%rdx)
movb $0x0, (%rcx)
movq -0x118(%rbp), %rsi
movl $0x1, %ecx
leaq -0x120(%rbp), %rdi
xorl %edx, %edx
movl $0x5f, %r8d
callq 0x34e0
leaq -0x60(%rbp), %rsi
movq %rsi, -0x70(%rbp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x5d12
movq %rdx, -0x70(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x60(%rbp)
jmp 0x5d18
movups (%rcx), %xmm0
movups %xmm0, (%rsi)
movq 0x8(%rax), %rdx
movq %rdx, -0x68(%rbp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq -0xd8(%rbp), %rcx
decq %rcx
leaq -0x210(%rbp), %rdi
leaq -0xe0(%rbp), %rsi
xorl %edx, %edx
callq 0x3310
movq -0x70(%rbp), %rcx
movl $0xf, %edi
leaq -0x60(%rbp), %rax
cmpq %rax, %rcx
je 0x5d64
movq -0x60(%rbp), %rdi
movq -0x68(%rbp), %r8
movq -0x210(%rbp), %rsi
movq -0x208(%rbp), %rdx
leaq (%rdx,%r8), %rax
cmpq %rdi, %rax
jbe 0x5d9c
movl $0xf, %edi
leaq -0x200(%rbp), %r9
cmpq %r9, %rsi
je 0x5d97
movq -0x200(%rbp), %rdi
cmpq %rdi, %rax
jbe 0x5da7
leaq -0x70(%rbp), %rdi
callq 0x30e0
jmp 0x5db7
leaq -0x210(%rbp), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x3330
leaq -0x40(%rbp), %rsi
movq %rsi, -0x50(%rbp)
movq (%rax), %rdx
leaq 0x10(%rax), %rcx
cmpq %rcx, %rdx
je 0x5dd8
movq %rdx, -0x50(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x40(%rbp)
jmp 0x5dde
movups (%rcx), %xmm0
movups %xmm0, (%rsi)
movq %rax, %rdx
addq $0x8, %rdx
movq 0x8(%rax), %rsi
movq %rsi, -0x48(%rbp)
movq %rcx, (%rax)
movq $0x0, (%rdx)
movb $0x0, (%rcx)
leaq -0x50(%rbp), %rdi
leaq 0x23a7(%rip), %rsi      # 0x81ac
callq 0x34f0
leaq -0x490(%rbp), %rbx
movq %rbx, -0x4a0(%rbp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x5e3a
movq %rdx, -0x4a0(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x490(%rbp)
jmp 0x5e40
movups (%rcx), %xmm0
movups %xmm0, (%rbx)
movq 0x8(%rax), %rdx
movq %rdx, -0x498(%rbp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq -0x100(%rbp), %rdi
leaq -0x4a0(%rbp), %rsi
callq 0x3380
movq -0x4a0(%rbp), %rdi
cmpq %rbx, %rdi
je 0x5e7e
callq 0x32c0
movq -0x50(%rbp), %rdi
leaq -0x40(%rbp), %rax
cmpq %rax, %rdi
je 0x5e90
callq 0x32c0
movq -0x210(%rbp), %rdi
leaq -0x200(%rbp), %rax
cmpq %rax, %rdi
je 0x5ea8
callq 0x32c0
movq -0x70(%rbp), %rdi
leaq -0x60(%rbp), %rax
cmpq %rax, %rdi
je 0x5eba
callq 0x32c0
movq -0x120(%rbp), %rdi
leaq -0x110(%rbp), %rax
cmpq %rax, %rdi
je 0x5ed2
callq 0x32c0
movq -0x188(%rbp), %rdi
leaq -0x178(%rbp), %rax
cmpq %rax, %rdi
je 0x5eea
callq 0x32c0
movq -0x160(%rbp), %rdi
leaq -0x150(%rbp), %rax
jmp 0x5aab
leaq -0x4a0(%rbp), %rbx
movq %rbx, %rdi
callq 0x3480
leaq -0x1e8(%rbp), %r12
movq -0x100(%rbp), %rsi
movq %rbx, %rdi
movl $0x10, %edx
callq 0x3050
leaq -0x160(%rbp), %rbx
movq %rbx, %rdi
leaq -0x700(%rbp), %rsi
leaq -0x90(%rbp), %rdx
callq 0x75ba
movq -0xe0(%rbp), %rsi
movq -0xd8(%rbp), %rdx
movq %rbx, %rdi
callq 0x30e0
leaq -0x110(%rbp), %rsi
movq %rsi, -0x120(%rbp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x5f8a
movq %rdx, -0x120(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x110(%rbp)
jmp 0x5f90
movups (%rcx), %xmm0
movups %xmm0, (%rsi)
movq 0x8(%rax), %rdx
movq %rdx, -0x118(%rbp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq -0x140(%rbp), %rsi
movq -0x138(%rbp), %rdx
leaq -0x120(%rbp), %rdi
callq 0x30e0
leaq -0x60(%rbp), %rsi
movq %rsi, -0x70(%rbp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x5fe8
movq %rdx, -0x70(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x60(%rbp)
jmp 0x5fee
movups (%rcx), %xmm0
movups %xmm0, (%rsi)
movq 0x8(%rax), %rdx
movq %rdx, -0x68(%rbp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq -0x70(%rbp), %rdi
leaq 0x2332(%rip), %rsi      # 0x8342
callq 0x34f0
leaq -0x40(%rbp), %rsi
movq %rsi, -0x50(%rbp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x6039
movq %rdx, -0x50(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x40(%rbp)
jmp 0x603f
movups (%rcx), %xmm0
movups %xmm0, (%rsi)
movq 0x8(%rax), %rdx
movq %rdx, -0x48(%rbp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq -0x50(%rbp), %rsi
movq -0x48(%rbp), %rdx
leaq -0x4a0(%rbp), %rdi
callq 0x3350
movq -0x50(%rbp), %rdi
leaq -0x40(%rbp), %rax
cmpq %rax, %rdi
je 0x607c
callq 0x32c0
movq -0x70(%rbp), %rdi
leaq -0x60(%rbp), %rax
cmpq %rax, %rdi
je 0x608e
callq 0x32c0
movq -0x120(%rbp), %rdi
leaq -0x110(%rbp), %rax
cmpq %rax, %rdi
je 0x60a6
callq 0x32c0
movq -0x160(%rbp), %rdi
leaq -0x150(%rbp), %rax
cmpq %rax, %rdi
je 0x60be
callq 0x32c0
movl $0x5, %edx
movq 0x4f0e(%rip), %rdi      # 0xafd8
leaq 0x20e0(%rip), %rsi      # 0x81b1
callq 0x3350
movq -0xd8(%rbp), %rcx
decq %rcx
leaq -0x50(%rbp), %rdi
leaq -0xe0(%rbp), %rsi
xorl %edx, %edx
callq 0x3310
movq -0x50(%rbp), %rsi
movq -0x48(%rbp), %rdx
movq 0x4ed7(%rip), %rdi      # 0xafd8
callq 0x3350
movq %rax, %r14
movl $0xb, %edx
movq %rax, %rdi
leaq 0x210c(%rip), %rsi      # 0x8224
callq 0x3350
movq -0x6f8(%rbp), %rcx
decq %rcx
leaq -0x70(%rbp), %rdi
leaq -0x700(%rbp), %rsi
xorl %edx, %edx
callq 0x3310
movq -0x70(%rbp), %rsi
movq -0x68(%rbp), %rdx
movq %r14, %rdi
callq 0x3350
movq %rax, %r14
movl $0xa, %edx
movq %rax, %rdi
leaq 0x205c(%rip), %rsi      # 0x81b7
callq 0x3350
movq -0x100(%rbp), %rsi
movq -0xf8(%rbp), %rdx
movq %r14, %rdi
callq 0x3350
movq %rax, %r14
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x32d0
movsbl %al, %esi
movq %r14, %rdi
callq 0x3030
movq %rax, %rdi
callq 0x3200
movq -0x70(%rbp), %rdi
leaq -0x60(%rbp), %rax
cmpq %rax, %rdi
je 0x61b2
callq 0x32c0
movq -0x50(%rbp), %rdi
leaq -0x40(%rbp), %rax
cmpq %rax, %rdi
je 0x61c4
callq 0x32c0
movq %r15, %rdi
leaq 0x2178(%rip), %rsi      # 0x8346
movl %r13d, %edx
callq 0x478e
leaq -0x4a0(%rbp), %rdi
callq 0x33a0
leaq 0x50d7(%rip), %rdi      # 0xb2c0
callq 0x3230
movq -0x1c8(%rbp), %rax
movq %rax, -0x4a0(%rbp)
movq -0x18(%rax), %rax
movq -0x1c0(%rbp), %rcx
movq %rcx, -0x4a0(%rbp,%rax)
leaq -0x498(%rbp), %rdi
callq 0x3280
movq -0x218(%rbp), %rdi
callq 0x3110
movq -0x100(%rbp), %rdi
leaq -0xf0(%rbp), %rax
cmpq %rax, %rdi
je 0x623f
callq 0x32c0
movq -0xb0(%rbp), %rdi
leaq -0xa0(%rbp), %rax
cmpq %rax, %rdi
je 0x6257
callq 0x32c0
movq -0x140(%rbp), %rdi
leaq -0x130(%rbp), %rax
cmpq %rax, %rdi
je 0x626f
callq 0x32c0
movq -0xe0(%rbp), %rdi
leaq -0xd0(%rbp), %rax
cmpq %rax, %rdi
je 0x6287
callq 0x32c0
movq -0x90(%rbp), %rdi
leaq -0x80(%rbp), %rax
cmpq %rax, %rdi
je 0x629c
callq 0x32c0
movq -0x700(%rbp), %rdi
leaq -0x6f0(%rbp), %rax
jmp 0x6c33
addl $-0x2, %esi
jmp 0x62b6
decl %esi
movl %esi, %esi
leaq -0x130(%rbp), %rax
movq %rax, -0x140(%rbp)
leaq -0x140(%rbp), %rbx
movq %rbx, %rdi
xorl %edx, %edx
callq 0x3360
movq -0x140(%rbp), %rdi
movl -0x138(%rbp), %esi
movq %r14, %rdx
callq 0x77be
movq %rbx, %rdi
leaq 0x1ed3(%rip), %rsi      # 0x81c9
callq 0x34f0
leaq -0xd0(%rbp), %rsi
movq %rsi, -0xe0(%rbp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x632b
movq %rdx, -0xe0(%rbp)
movq (%rcx), %rdx
movq %rdx, -0xd0(%rbp)
jmp 0x6331
movups (%rcx), %xmm0
movups %xmm0, (%rsi)
movq 0x8(%rax), %rdx
movq %rdx, -0xd8(%rbp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq -0x4a0(%rbp), %rsi
movq -0x498(%rbp), %rdx
leaq -0xe0(%rbp), %rdi
callq 0x30e0
leaq -0x80(%rbp), %rbx
movq %rbx, -0x90(%rbp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x638f
movq %rdx, -0x90(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x80(%rbp)
jmp 0x6395
movups (%rcx), %xmm0
movups %xmm0, (%rbx)
movq 0x8(%rax), %rdx
movq %rdx, -0x88(%rbp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq -0x1b0(%rbp), %rdi
leaq -0x90(%rbp), %rsi
callq 0x3380
movq -0x90(%rbp), %rdi
cmpq %rbx, %rdi
je 0x63d3
callq 0x32c0
movq -0xe0(%rbp), %rdi
leaq -0xd0(%rbp), %rax
cmpq %rax, %rdi
je 0x63eb
callq 0x32c0
movq -0x140(%rbp), %rdi
leaq -0x130(%rbp), %rax
cmpq %rax, %rdi
je 0x6403
callq 0x32c0
movq -0x1b0(%rbp), %rsi
movq %r15, %rdi
movl %r13d, %edx
callq 0x478e
movq -0xa8(%rbp), %rax
cmpq -0xb0(%rbp), %rax
je 0x657c
movl $0x1d, %edx
movq 0x4ba3(%rip), %rdi      # 0xafd8
leaq 0x1d9e(%rip), %rsi      # 0x81da
callq 0x3350
movq -0x498(%rbp), %rcx
decq %rcx
leaq -0x90(%rbp), %rdi
leaq -0x4a0(%rbp), %rsi
xorl %edx, %edx
callq 0x3310
movq -0x90(%rbp), %rsi
movq -0x88(%rbp), %rdx
movq 0x4b63(%rip), %rdi      # 0xafd8
callq 0x3350
movq %rax, %r14
movl $0xa, %edx
movq %rax, %rdi
leaq 0x1d6c(%rip), %rsi      # 0x81f8
callq 0x3350
movq (%r14), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x32d0
movsbl %al, %esi
movq %r14, %rdi
callq 0x3030
movq %rax, %rdi
callq 0x3200
movq -0x90(%rbp), %rdi
leaq -0x80(%rbp), %rax
cmpq %rax, %rdi
je 0x64cd
callq 0x32c0
movq -0xa8(%rbp), %rax
cmpq -0xb0(%rbp), %rax
je 0x657c
movl $0x1, %r13d
xorl %ebx, %ebx
movq %r15, %rdi
movl -0xb4(%rbp), %esi
callq 0x473e
movq %rax, %r14
movq -0x1a8(%rbp), %r12
movq %rax, %rdi
callq 0x3150
leaq -0x1b0(%rbp), %rdi
xorl %esi, %esi
movq %r12, %rdx
movq %r14, %rcx
movq %rax, %r8
callq 0x3420
leaq -0x1b0(%rbp), %rdi
leaq 0x1cd5(%rip), %rsi      # 0x8203
callq 0x30d0
testl %eax, %eax
jne 0x6554
movq -0xb0(%rbp), %rax
shlq $0x5, %rbx
movq (%rax,%rbx), %rsi
movq %r15, %rdi
movl -0xb4(%rbp), %edx
callq 0x478e
movq -0xa8(%rbp), %rax
subq -0xb0(%rbp), %rax
movl %r13d, %ebx
sarq $0x5, %rax
incl %r13d
cmpq %rbx, %rax
leaq -0x1e8(%rbp), %r12
ja 0x64e9
leaq -0xb0(%rbp), %rdi
callq 0x40a8
movl -0xb4(%rbp), %r13d
movq -0x700(%rbp), %rdi
leaq -0x6f0(%rbp), %rax
cmpq %rax, %rdi
je 0x65a7
callq 0x32c0
movq -0x4a0(%rbp), %rdi
leaq -0x490(%rbp), %rax
jmp 0x6c33
movups (%rcx), %xmm0
movups %xmm0, (%rsi)
movq 0x8(%rax), %rdx
movq %rdx, -0xa8(%rbp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq -0x4a0(%rbp), %rdi
leaq -0x490(%rbp), %rax
cmpq %rax, %rdi
je 0x65f2
callq 0x32c0
leaq -0x4a0(%rbp), %rdi
callq 0x3340
xorps %xmm0, %xmm0
movaps %xmm0, -0x70(%rbp)
movq $0x0, -0x60(%rbp)
movq -0xb0(%rbp), %rdi
xorl %esi, %esi
callq 0x3460
leaq 0x1c8e(%rip), %rsi      # 0x82b0
cmpl $-0x1, %eax
je 0x6788
leaq -0x4b0(%rbp), %rax
movq %rax, -0x4c0(%rbp)
movq -0xb0(%rbp), %rsi
movq -0xa8(%rbp), %rdx
addq %rsi, %rdx
leaq -0x4c0(%rbp), %r14
movq %r14, %rdi
callq 0x4354
leaq -0x50(%rbp), %rbx
movq %rbx, %rdi
movq -0x168(%rbp), %rsi
movq %r14, %rdx
callq 0x3e02
movaps -0x70(%rbp), %xmm0
movq -0x60(%rbp), %rax
movaps -0x50(%rbp), %xmm1
movaps %xmm1, -0x70(%rbp)
movq -0x40(%rbp), %rcx
movq %rcx, -0x60(%rbp)
movups %xmm0, -0x100(%rbp)
movq %rax, -0xf0(%rbp)
xorps %xmm0, %xmm0
movaps %xmm0, -0x50(%rbp)
movq $0x0, -0x40(%rbp)
leaq -0x100(%rbp), %rdi
callq 0x40a8
movq %rbx, %rdi
callq 0x40a8
movq -0x4c0(%rbp), %rdi
leaq -0x4b0(%rbp), %rax
cmpq %rax, %rdi
je 0x66d0
callq 0x32c0
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
movq -0x1b8(%rbp), %rcx
addq %rax, %rcx
movq -0x68(%rbp), %rax
subq -0x70(%rbp), %rax
movl %ecx, %r14d
sarq $0x5, %rax
leaq 0x1bf3(%rip), %rsi      # 0x82e8
cmpq %r14, %rax
jbe 0x6788
leaq -0x40(%rbp), %rax
movq %rax, -0x50(%rbp)
movq -0xb0(%rbp), %rsi
movq -0xa8(%rbp), %rdx
addq %rsi, %rdx
movq %rbx, %rdi
callq 0x4354
movq -0x48(%rbp), %rsi
movl $0x1, %ecx
movq %rbx, %rdi
xorl %edx, %edx
movl $0x2f, %r8d
callq 0x34e0
movq -0x70(%rbp), %rax
shlq $0x5, %r14
movq (%rax,%r14), %rsi
movq 0x8(%rax,%r14), %rdx
movq %rbx, %rdi
callq 0x30e0
leaq -0xf0(%rbp), %rbx
movq %rbx, -0x100(%rbp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x6a4c
movq %rdx, -0x100(%rbp)
movq (%rcx), %rdx
movq %rdx, -0xf0(%rbp)
jmp 0x6a52
movq %r15, %rdi
movl %r13d, %edx
callq 0x478e
jmp 0x6b92
movups (%rcx), %xmm0
movups %xmm0, (%rbx)
movq 0x8(%rax), %rdx
movq %rdx, -0x48(%rbp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq -0xb0(%rbp), %rdi
leaq -0x50(%rbp), %rsi
callq 0x3380
movq -0x50(%rbp), %rdi
cmpq %rbx, %rdi
je 0x67d3
callq 0x32c0
movq -0x70(%rbp), %rdi
leaq -0x60(%rbp), %rax
cmpq %rax, %rdi
je 0x67e5
callq 0x32c0
leaq 0x4ad4(%rip), %rdi      # 0xb2c0
callq 0x33d0
testl %eax, %eax
jne 0x6d1b
movq -0xb0(%rbp), %rsi
leaq -0x4a0(%rbp), %rdi
movl $0x8, %edx
callq 0x31d0
leaq -0x428(%rbp), %rdi
callq 0x3090
testb %al, %al
je 0x69e9
movl $0xb, %edx
movq 0x47a7(%rip), %rdi      # 0xafd8
leaq 0x19d4(%rip), %rsi      # 0x820c
callq 0x3350
movq -0x120(%rbp), %rax
movq (%rax,%r14), %rsi
movq 0x8(%rax,%r14), %rdx
movq 0x4784(%rip), %rdi      # 0xafd8
callq 0x3350
movq %rax, %r14
movl $0x17, %edx
movq %rax, %rdi
leaq 0x19ad(%rip), %rsi      # 0x8218
callq 0x3350
movq -0x90(%rbp), %rsi
movq -0x88(%rbp), %rdx
movq %r14, %rdi
callq 0x3350
movq %rax, %r14
movl $0xa, %edx
movq %rax, %rdi
leaq 0x1960(%rip), %rsi      # 0x81f8
callq 0x3350
movq (%r14), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x32d0
movsbl %al, %esi
movq %r14, %rdi
callq 0x3030
movq %rax, %rdi
callq 0x3200
movq %r15, %rdi
leaq 0x1a78(%rip), %rsi      # 0x8346
movl %r13d, %edx
callq 0x478e
movq -0x4a0(%rbp), %rax
movq -0x18(%rax), %rdi
leaq -0x4a0(%rbp), %rax
addq %rax, %rdi
movl $0xa, %esi
callq 0x32d0
movsbl %al, %edx
leaq -0x4a0(%rbp), %rdi
leaq -0x140(%rbp), %rsi
callq 0x34d0
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
testb $0x5, 0x20(%rax,%rcx)
leaq -0x1e8(%rbp), %r12
jne 0x69fb
leaq -0x40(%rbp), %rax
movq %rax, -0x50(%rbp)
movq -0x140(%rbp), %rsi
movq -0x138(%rbp), %rdx
addq %rsi, %rdx
leaq -0x50(%rbp), %rbx
movq %rbx, %rdi
callq 0x4354
movq -0x48(%rbp), %rsi
movl $0x1, %ecx
movq %rbx, %rdi
xorl %edx, %edx
movl $0xa, %r8d
callq 0x34e0
leaq -0x140(%rbp), %rdi
movq %rbx, %rsi
callq 0x3380
movq -0x50(%rbp), %rdi
leaq -0x40(%rbp), %rax
cmpq %rax, %rdi
je 0x6983
callq 0x32c0
movq %r15, %rdi
movl %r13d, %esi
callq 0x473e
movq %rax, %r14
movq -0x1a8(%rbp), %r12
movq %rax, %rdi
callq 0x3150
leaq -0x1b0(%rbp), %rdi
xorl %esi, %esi
movq %r12, %rdx
movq %r14, %rcx
movq %rax, %r8
callq 0x3420
leaq -0x1b0(%rbp), %rdi
leaq 0x183e(%rip), %rsi      # 0x8203
callq 0x30d0
testl %eax, %eax
jne 0x68d6
movq -0x140(%rbp), %rsi
movq %r15, %rdi
movl %r13d, %edx
callq 0x478e
jmp 0x68d6
movq %r15, %rdi
leaq 0x18d8(%rip), %rsi      # 0x82cb
movl %r13d, %edx
callq 0x478e
leaq -0x4a0(%rbp), %rdi
callq 0x3080
leaq 0x48b2(%rip), %rdi      # 0xb2c0
callq 0x3230
leaq -0x120(%rbp), %rdi
callq 0x40a8
leaq -0x4a0(%rbp), %rdi
callq 0x30b0
movq -0x100(%rbp), %rdi
leaq -0xf0(%rbp), %rax
cmpq %rax, %rdi
je 0x6ba7
callq 0x32c0
jmp 0x6ba7
movups (%rcx), %xmm0
movups %xmm0, (%rbx)
movq 0x8(%rax), %rdx
movq %rdx, -0xf8(%rbp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq -0x140(%rbp), %rdi
leaq -0x100(%rbp), %rsi
callq 0x3380
movq -0x100(%rbp), %rdi
cmpq %rbx, %rdi
je 0x6a90
callq 0x32c0
movq -0x50(%rbp), %rdi
leaq -0x40(%rbp), %rax
cmpq %rax, %rdi
je 0x6aa2
callq 0x32c0
leaq 0x4817(%rip), %rdi      # 0xb2c0
callq 0x33d0
testl %eax, %eax
jne 0x6d22
movq -0x140(%rbp), %rdi
callq 0x34c0
leaq 0x185f(%rip), %rsi      # 0x8328
testl %eax, %eax
jne 0x6b7b
addq -0x70(%rbp), %r14
leaq -0x100(%rbp), %rdi
leaq 0x1752(%rip), %rsi      # 0x8235
movq %r14, %rdx
callq 0x7618
movq -0x100(%rbp), %rsi
movq -0xf8(%rbp), %rdx
movq 0x44d8(%rip), %rdi      # 0xafd8
callq 0x3350
movq %rax, %r14
movl $0xb, %edx
movq %rax, %rdi
leaq 0x170d(%rip), %rsi      # 0x8224
callq 0x3350
movq -0x90(%rbp), %rsi
movq -0x88(%rbp), %rdx
movq %r14, %rdi
callq 0x3350
movq %rax, %r14
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x32d0
movsbl %al, %esi
movq %r14, %rdi
callq 0x3030
movq %rax, %rdi
callq 0x3200
movq -0x100(%rbp), %rdi
leaq -0xf0(%rbp), %rax
cmpq %rax, %rdi
je 0x6b74
callq 0x32c0
leaq 0x17cb(%rip), %rsi      # 0x8346
movq %r15, %rdi
movl %r13d, %edx
callq 0x478e
leaq 0x4733(%rip), %rdi      # 0xb2c0
callq 0x3230
leaq -0x70(%rbp), %rdi
callq 0x40a8
leaq -0x4a0(%rbp), %rdi
callq 0x30b0
movq -0xb0(%rbp), %rdi
leaq -0xa0(%rbp), %rax
cmpq %rax, %rdi
je 0x6bbf
callq 0x32c0
movq -0x140(%rbp), %rdi
leaq -0x130(%rbp), %rax
cmpq %rax, %rdi
je 0x6bd7
callq 0x32c0
movq -0x1c8(%rbp), %rax
movq %rax, -0x700(%rbp)
movq -0x18(%rax), %rax
movq -0x1c0(%rbp), %rcx
movq %rcx, -0x700(%rbp,%rax)
leaq -0x6f8(%rbp), %rdi
callq 0x3280
movq -0x1f0(%rbp), %rdi
callq 0x3110
movq -0xe0(%rbp), %rdi
leaq -0xd0(%rbp), %rax
cmpq %rax, %rdi
je 0x6c28
callq 0x32c0
movq -0x90(%rbp), %rdi
leaq -0x80(%rbp), %rax
cmpq %rax, %rdi
je 0x6c3d
callq 0x32c0
movq %r12, %rdi
leaq 0x15fc(%rip), %rsi      # 0x8243
callq 0x30d0
testl %eax, %eax
jne 0x4898
movq 0x437d(%rip), %r14      # 0xafd8
leaq 0x15e7(%rip), %rsi      # 0x8249
movl $0x13, %edx
movq %r14, %rdi
callq 0x3350
movq (%r14), %rax
addq -0x18(%rax), %r14
movq %r14, %rdi
movl $0xa, %esi
callq 0x32d0
movsbl %al, %esi
movq 0x434b(%rip), %rdi      # 0xafd8
callq 0x3030
movq %rax, %rdi
callq 0x3200
movl %r13d, %edi
callq 0x3500
movq -0x1b0(%rbp), %rdi
leaq -0x1a0(%rbp), %rax
cmpq %rax, %rdi
je 0x6cba
callq 0x32c0
movq -0x1e8(%rbp), %rdi
leaq -0x1d8(%rbp), %rax
cmpq %rax, %rdi
je 0x6cd2
callq 0x32c0
addq $0x6d8, %rsp            # imm = 0x6D8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl %eax, %edi
callq 0x31e0
leaq 0x136a(%rip), %rdi      # 0x805c
callq 0x33b0
leaq 0x135e(%rip), %rdi      # 0x805c
callq 0x31c0
leaq 0x1352(%rip), %rdi      # 0x805c
callq 0x33b0
leaq 0x1346(%rip), %rdi      # 0x805c
callq 0x31c0
movl %eax, %edi
callq 0x31e0
movl %eax, %edi
callq 0x31e0
jmp 0x6d93
jmp 0x6d93
jmp 0x6d93
jmp 0x6d31
movq %rax, %r14
movq -0x50(%rbp), %rdi
leaq -0x40(%rbp), %rax
jmp 0x6d80
jmp 0x6d40
movq %rax, %r14
movq -0x70(%rbp), %rdi
leaq -0x60(%rbp), %rax
jmp 0x70e4
jmp 0x718f
jmp 0x718f
jmp 0x6d93
movq %rax, %r14
movq -0x4c0(%rbp), %rdi
leaq -0x4b0(%rbp), %rax
jmp 0x6d80
movq %rax, %r14
movq -0x100(%rbp), %rdi
leaq -0xf0(%rbp), %rax
cmpq %rax, %rdi
je 0x6d96
callq 0x32c0
jmp 0x6d96
jmp 0x7088
jmp 0x6db0
movq %rax, %r14
leaq -0x70(%rbp), %rdi
callq 0x40a8
leaq -0x4a0(%rbp), %rdi
callq 0x30b0
jmp 0x71c2
movq %rax, %r14
movq -0x4a0(%rbp), %rdi
leaq -0x490(%rbp), %rax
jmp 0x71d0
movq %rax, %r14
jmp 0x71da
jmp 0x718f
movq %rax, %r14
movq -0x4e0(%rbp), %rdi
leaq -0x4d0(%rbp), %rax
jmp 0x70e4
jmp 0x6df2
jmp 0x7088
jmp 0x6e02
movq %rax, %r14
jmp 0x71c2
movq %rax, %r14
jmp 0x71aa
movq %rax, %r14
movq -0x4a0(%rbp), %rdi
leaq -0x490(%rbp), %rax
jmp 0x71b8
jmp 0x6e1a
movq %rax, %r14
jmp 0x723d
jmp 0x6ee4
jmp 0x6e84
jmp 0x722e
jmp 0x7226
movq %rax, %r14
movq -0x238(%rbp), %rdi
leaq -0x228(%rbp), %rax
jmp 0x71e8
jmp 0x7226
jmp 0x6ee4
jmp 0x6eec
jmp 0x7088
jmp 0x7088
movq %rax, %r14
jmp 0x6ec7
jmp 0x7226
movq %rax, %r14
movq -0x258(%rbp), %rdi
leaq -0x248(%rbp), %rax
jmp 0x71e8
jmp 0x6ee4
movq %rax, %r14
jmp 0x71fe
movq %rax, %r14
movq -0x500(%rbp), %rdi
leaq -0x4f0(%rbp), %rax
jmp 0x7137
jmp 0x7088
jmp 0x722e
movq %rax, %r14
movq -0xe0(%rbp), %rdi
leaq -0xd0(%rbp), %rax
cmpq %rax, %rdi
je 0x6ec7
callq 0x32c0
movq -0x140(%rbp), %rdi
leaq -0x130(%rbp), %rax
jmp 0x7137
jmp 0x7226
jmp 0x722e
movq %rax, %r14
jmp 0x7216
movq %rax, %r14
cmpl $0x0, (%r12)
jne 0x6efa
movl %ebx, (%r12)
movq -0x4a0(%rbp), %rdi
leaq -0x490(%rbp), %rax
jmp 0x71e8
jmp 0x7226
movq %rax, %r14
jmp 0x6f31
jmp 0x70fc
movq %rax, %r14
movq -0x50(%rbp), %rdi
leaq -0x40(%rbp), %rax
cmpq %rax, %rdi
je 0x6f31
callq 0x32c0
movq -0x70(%rbp), %rdi
leaq -0x60(%rbp), %rax
cmpq %rax, %rdi
je 0x6f52
callq 0x32c0
jmp 0x6f52
jmp 0x7311
movq %rax, %r14
jmp 0x6f6a
movq %rax, %r14
movq -0x120(%rbp), %rdi
leaq -0x110(%rbp), %rax
cmpq %rax, %rdi
je 0x6f6a
callq 0x32c0
movq -0x160(%rbp), %rdi
leaq -0x150(%rbp), %rax
jmp 0x7174
jmp 0x7152
jmp 0x7152
movq %rax, %r14
jmp 0x6fcb
movq %rax, %r14
movq -0x100(%rbp), %rdi
leaq -0xf0(%rbp), %rax
cmpq %rax, %rdi
je 0x701a
callq 0x32c0
jmp 0x701a
jmp 0x700d
movq %rax, %r14
jmp 0x6fe3
movq %rax, %r14
movq -0x4a0(%rbp), %rdi
leaq -0x490(%rbp), %rax
cmpq %rax, %rdi
je 0x6fcb
callq 0x32c0
movq -0x188(%rbp), %rdi
leaq -0x178(%rbp), %rax
cmpq %rax, %rdi
je 0x6fe3
callq 0x32c0
movq -0x50(%rbp), %rdi
leaq -0x40(%rbp), %rax
cmpq %rax, %rdi
je 0x7030
callq 0x32c0
jmp 0x7030
jmp 0x7017
jmp 0x714a
movq %rax, %r14
jmp 0x7042
jmp 0x7359
jmp 0x714a
movq %rax, %r14
jmp 0x705a
jmp 0x7359
movq %rax, %r14
movq -0x4a0(%rbp), %rdi
leaq -0x490(%rbp), %rax
jmp 0x733a
movq %rax, %r14
movq -0x70(%rbp), %rdi
leaq -0x60(%rbp), %rax
cmpq %rax, %rdi
je 0x7042
callq 0x32c0
movq -0x160(%rbp), %rdi
leaq -0x150(%rbp), %rax
cmpq %rax, %rdi
je 0x705a
callq 0x32c0
movq -0x120(%rbp), %rdi
leaq -0x110(%rbp), %rax
jmp 0x7322
movq %rax, %r14
movq -0x298(%rbp), %rdi
leaq -0x288(%rbp), %rax
jmp 0x7322
jmp 0x718f
movq %rax, %r14
jmp 0x71f2
jmp 0x7097
jmp 0x7226
movq %rax, %r14
jmp 0x70bf
movq %rax, %r14
jmp 0x7255
movq %rax, %r14
movq -0xe0(%rbp), %rdi
leaq -0xd0(%rbp), %rax
cmpq %rax, %rdi
je 0x70bf
callq 0x32c0
movq -0x90(%rbp), %rdi
leaq -0x80(%rbp), %rax
jmp 0x724b
jmp 0x7226
jmp 0x722e
movq %rax, %r14
movq -0x50(%rbp), %rdi
leaq -0x40(%rbp), %rax
cmpq %rax, %rdi
je 0x7192
callq 0x32c0
jmp 0x7192
jmp 0x718f
movq %rax, %r14
jmp 0x716c
jmp 0x7111
jmp 0x7226
jmp 0x7226
jmp 0x7119
jmp 0x7121
movq %rax, %r14
jmp 0x738c
movq %rax, %r14
jmp 0x73a1
movq %rax, %r14
jmp 0x7374
movq %rax, %r14
movq -0x90(%rbp), %rdi
leaq -0x80(%rbp), %rax
cmpq %rax, %rdi
je 0x7231
callq 0x32c0
jmp 0x7231
movq %rax, %r14
jmp 0x732c
movq %rax, %r14
jmp 0x717e
movq %rax, %r14
movq -0x70(%rbp), %rdi
leaq -0x60(%rbp), %rax
cmpq %rax, %rdi
je 0x716c
callq 0x32c0
movq -0x50(%rbp), %rdi
leaq -0x40(%rbp), %rax
cmpq %rax, %rdi
je 0x717e
callq 0x32c0
leaq -0x4a0(%rbp), %rdi
callq 0x33e0
jmp 0x7314
movq %rax, %r14
leaq -0x120(%rbp), %rdi
callq 0x40a8
leaq -0x4a0(%rbp), %rdi
callq 0x30b0
movq -0x100(%rbp), %rdi
leaq -0xf0(%rbp), %rax
cmpq %rax, %rdi
je 0x71c2
callq 0x32c0
movq -0xb0(%rbp), %rdi
leaq -0xa0(%rbp), %rax
cmpq %rax, %rdi
je 0x71da
callq 0x32c0
movq -0x140(%rbp), %rdi
leaq -0x130(%rbp), %rax
cmpq %rax, %rdi
je 0x71f2
callq 0x32c0
leaq -0x700(%rbp), %rdi
callq 0x33e0
movq -0xe0(%rbp), %rdi
leaq -0xd0(%rbp), %rax
cmpq %rax, %rdi
je 0x7216
callq 0x32c0
movq -0x90(%rbp), %rdi
leaq -0x80(%rbp), %rax
jmp 0x73af
movq %rax, %r14
jmp 0x73b9
movq %rax, %r14
leaq -0xb0(%rbp), %rdi
callq 0x40a8
movq -0x700(%rbp), %rdi
leaq -0x6f0(%rbp), %rax
cmpq %rax, %rdi
je 0x7255
callq 0x32c0
movq -0x4a0(%rbp), %rdi
leaq -0x490(%rbp), %rax
jmp 0x73af
movq %rax, %r14
jmp 0x72c7
jmp 0x7311
movq %rax, %r14
jmp 0x729d
movq %rax, %r14
jmp 0x72b5
jmp 0x7283
movq %rax, %r14
jmp 0x72df
movq %rax, %r14
jmp 0x72f7
movq %rax, %r14
movq -0x50(%rbp), %rdi
leaq -0x40(%rbp), %rax
cmpq %rax, %rdi
je 0x729d
callq 0x32c0
movq -0x210(%rbp), %rdi
leaq -0x200(%rbp), %rax
cmpq %rax, %rdi
je 0x72b5
callq 0x32c0
movq -0x70(%rbp), %rdi
leaq -0x60(%rbp), %rax
cmpq %rax, %rdi
je 0x72c7
callq 0x32c0
movq -0x120(%rbp), %rdi
leaq -0x110(%rbp), %rax
cmpq %rax, %rdi
je 0x72df
callq 0x32c0
movq -0x188(%rbp), %rdi
leaq -0x178(%rbp), %rax
cmpq %rax, %rdi
je 0x72f7
callq 0x32c0
movq -0x160(%rbp), %rdi
leaq -0x150(%rbp), %rax
cmpq %rax, %rdi
je 0x7314
callq 0x32c0
jmp 0x7314
movq %rax, %r14
movq -0x100(%rbp), %rdi
leaq -0xf0(%rbp), %rax
cmpq %rax, %rdi
je 0x732c
callq 0x32c0
movq -0xb0(%rbp), %rdi
leaq -0xa0(%rbp), %rax
cmpq %rax, %rdi
je 0x735c
callq 0x32c0
jmp 0x735c
movq %rax, %r14
movq -0x278(%rbp), %rdi
leaq -0x268(%rbp), %rax
jmp 0x7305
movq %rax, %r14
movq -0x140(%rbp), %rdi
leaq -0x130(%rbp), %rax
cmpq %rax, %rdi
je 0x7374
callq 0x32c0
movq -0xe0(%rbp), %rdi
leaq -0xd0(%rbp), %rax
cmpq %rax, %rdi
je 0x738c
callq 0x32c0
movq -0x90(%rbp), %rdi
leaq -0x80(%rbp), %rax
cmpq %rax, %rdi
je 0x73a1
callq 0x32c0
movq -0x700(%rbp), %rdi
leaq -0x6f0(%rbp), %rax
cmpq %rax, %rdi
je 0x73b9
callq 0x32c0
movq -0x1b0(%rbp), %rdi
leaq -0x1a0(%rbp), %rax
cmpq %rax, %rdi
je 0x73d1
callq 0x32c0
movq -0x1e8(%rbp), %rdi
leaq -0x1d8(%rbp), %rax
cmpq %rax, %rdi
je 0x73e9
callq 0x32c0
movq %r14, %rdi
callq 0x34a0