LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_cpp_makefile_star2_O1/daniel5151[P]mips241/src/ram.cc
// Function: MIPS::RAM::store(unsigned int, unsigned int)
void MIPS::RAM::store(uint32_t memaddr, uint32_t word) {
  if (memaddr % 4 != 0) {
    std::stringstream a; a << memaddr;
    error("Unaligned Access - Cannot Store to 0x" + a.str());
  }

  uint16_t page   = (memaddr >> 16) & 0xFFFF;
  uint16_t offset =  memaddr        & 0xFFFF;

  if (mem.count(page) == 0) {
    mem[page] = new uint32_t [(0xFFFF + 1) / 4](); // word addressable
  }

  mem[page][offset / 4] = word;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x1c8, %rsp            # imm = 0x1C8
movl %edx, %ebx
movl %esi, %r14d
movq %rdi, %r15
testb $0x3, %r14b
je 0x82bc
leaq 0x40(%rsp), %rdi
callq 0x3180
leaq 0x50(%rsp), %rdi
movl %r14d, %esi
callq 0x3150
leaq 0x58(%rsp), %rsi
leaq 0x20(%rsp), %rdi
callq 0x3310
leaq 0x16ec(%rip), %rcx      # 0x98f7
leaq 0x20(%rsp), %rdi
movl $0x25, %r8d
xorl %esi, %esi
xorl %edx, %edx
callq 0x3240
leaq 0x10(%rsp), %r12
movq %r12, -0x10(%r12)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x8246
movq %rdx, (%rsp)
movq (%rcx), %rdx
movq %rdx, 0x10(%rsp)
jmp 0x824e
movups (%rcx), %xmm0
movups %xmm0, (%r12)
movq 0x8(%rax), %rdx
movq %rsp, %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
callq 0x7484
movq (%rsp), %rdi
cmpq %r12, %rdi
je 0x8283
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x3200
leaq 0x30(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x829e
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x3200
movq 0x4cf3(%rip), %rsi      # 0xcf98
leaq 0x40(%rsp), %rdi
callq 0x31a0
leaq 0xc0(%rsp), %rdi
callq 0x30a0
movl %r14d, %ecx
shrl $0x10, %ecx
movw %cx, 0x40(%rsp)
movq 0x10(%r15), %rsi
leaq 0x8(%r15), %rax
movq %rax, %rdx
testq %rsi, %rsi
je 0x82f2
movq %rax, %rdx
xorl %edi, %edi
cmpw %cx, 0x20(%rsi)
setb %dil
cmovaeq %rsi, %rdx
movq 0x10(%rsi,%rdi,8), %rsi
testq %rsi, %rsi
jne 0x82da
movq %rax, %rsi
cmpq %rax, %rdx
je 0x8305
cmpw %cx, 0x20(%rdx)
cmovaq %rax, %rdx
movq %rdx, %rsi
cmpq %rax, %rsi
jne 0x8336
movl $0x10000, %edi          # imm = 0x10000
callq 0x3030
movq %rax, %r12
movl $0x10000, %edx          # imm = 0x10000
movq %rax, %rdi
xorl %esi, %esi
callq 0x3130
leaq 0x40(%rsp), %rsi
movq %r15, %rdi
callq 0x85c6
movq %r12, (%rax)
leaq 0x40(%rsp), %rsi
movq %r15, %rdi
callq 0x85c6
movq (%rax), %rax
andl $0xfffc, %r14d          # imm = 0xFFFC
movl %ebx, (%rax,%r14)
addq $0x1c8, %rsp            # imm = 0x1C8
popq %rbx
popq %r12
popq %r14
popq %r15
retq
movq %rax, %rbx
movq (%rsp), %rdi
cmpq %r12, %rdi
je 0x837e
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x3200
jmp 0x837e
movq %rax, %rbx
leaq 0x30(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x83a0
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x3200
jmp 0x83a0
jmp 0x839d
movq %rax, %rbx
movq 0x4bf1(%rip), %rsi      # 0xcf98
leaq 0x40(%rsp), %rdi
callq 0x31a0
leaq 0xc0(%rsp), %rdi
callq 0x30a0
movq %rbx, %rdi
callq 0x33a0
// File: /workspace/github_cpp_makefile_star2_O1/daniel5151[P]mips241/src/ram.cc
// Function: MIPS::RAM::load(unsigned int)
uint32_t MIPS::RAM::load(uint32_t memaddr) {
  if (memaddr % 4 != 0) {
    std::stringstream a; a << memaddr;
    error("Unaligned Access - Cannot Store to 0x" + a.str());
  }

  uint16_t page   = (memaddr >> 16) & 0xFFFF;
  uint16_t offset =  memaddr        & 0xFFFF;

  if (mem.count(page) == 0) {
    mem[page] = new uint32_t [(0xFFFF + 1) / 4](); // word addressable
  }

  return mem[page][offset / 4];
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x1d0, %rsp            # imm = 0x1D0
movl %esi, %ebx
movq %rdi, %r14
testb $0x3, %bl
je 0x84bf
leaq 0x48(%rsp), %rdi
callq 0x3180
leaq 0x58(%rsp), %rdi
movl %ebx, %esi
callq 0x3150
leaq 0x60(%rsp), %rsi
leaq 0x28(%rsp), %rdi
callq 0x3310
leaq 0x14eb(%rip), %rcx      # 0x98f7
leaq 0x28(%rsp), %rdi
movl $0x25, %r8d
xorl %esi, %esi
xorl %edx, %edx
callq 0x3240
leaq 0x18(%rsp), %r15
movq %r15, -0x10(%r15)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x8447
movq %rdx, 0x8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x18(%rsp)
jmp 0x844e
movups (%rcx), %xmm0
movups %xmm0, (%r15)
movq 0x8(%rax), %rdx
leaq 0x8(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
callq 0x7484
movq 0x8(%rsp), %rdi
cmpq %r15, %rdi
je 0x8486
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x3200
leaq 0x38(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x84a1
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x3200
movq 0x4af0(%rip), %rsi      # 0xcf98
leaq 0x48(%rsp), %rdi
callq 0x31a0
leaq 0xc8(%rsp), %rdi
callq 0x30a0
movl %ebx, %ecx
shrl $0x10, %ecx
movw %cx, 0x48(%rsp)
movq 0x10(%r14), %rsi
leaq 0x8(%r14), %rax
movq %rax, %rdx
testq %rsi, %rsi
je 0x84f4
movq %rax, %rdx
xorl %edi, %edi
cmpw %cx, 0x20(%rsi)
setb %dil
cmovaeq %rsi, %rdx
movq 0x10(%rsi,%rdi,8), %rsi
testq %rsi, %rsi
jne 0x84dc
movq %rax, %rsi
cmpq %rax, %rdx
je 0x8507
cmpw %cx, 0x20(%rdx)
cmovaq %rax, %rdx
movq %rdx, %rsi
cmpq %rax, %rsi
jne 0x8538
movl $0x10000, %edi          # imm = 0x10000
callq 0x3030
movq %rax, %r15
movl $0x10000, %edx          # imm = 0x10000
movq %rax, %rdi
xorl %esi, %esi
callq 0x3130
leaq 0x48(%rsp), %rsi
movq %r14, %rdi
callq 0x85c6
movq %r15, (%rax)
leaq 0x48(%rsp), %rsi
movq %r14, %rdi
callq 0x85c6
movq (%rax), %rax
andl $0xfffc, %ebx           # imm = 0xFFFC
movl (%rax,%rbx), %eax
addq $0x1d0, %rsp            # imm = 0x1D0
popq %rbx
popq %r14
popq %r15
retq
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r15, %rdi
je 0x857d
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x3200
jmp 0x857d
movq %rax, %rbx
leaq 0x38(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x859f
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x3200
jmp 0x859f
jmp 0x859c
movq %rax, %rbx
movq 0x49f2(%rip), %rsi      # 0xcf98
leaq 0x48(%rsp), %rdi
callq 0x31a0
leaq 0xc8(%rsp), %rdi
callq 0x30a0
movq %rbx, %rdi
callq 0x33a0
nop
// File: /workspace/github_cpp_makefile_star2_O1/nickgammon[P]tinymudserver/tinymudserver.cpp
// Function: PeriodicUpdates()
void PeriodicUpdates ()
  {
    //      The example below just sends a message every MESSAGE_INTERVAL seconds.
    // send new command if it is time
  if (time (NULL) > (tLastMessage + MESSAGE_INTERVAL))
    {
    SendToAll ("You hear creepy noises ...\n");
    tLastMessage = time (NULL);
    }
    
  }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x28, %rsp
xorl %edi, %edi
callq 0x32b0
leaq 0x11e51(%rip), %r14     # 0x16808
movq (%r14), %rcx
addq $0x3c, %rcx
cmpq %rcx, %rax
jle 0x4a10
leaq -0x28(%rbp), %r15
movq %r15, -0x10(%r15)
leaq 0xb68c(%rip), %rsi      # 0x1005e
leaq 0xb6a0(%rip), %rdx      # 0x10079
leaq -0x38(%rbp), %rbx
movq %rbx, %rdi
callq 0x4bc4
movq %rbx, %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x60c8
movq -0x38(%rbp), %rdi
cmpq %r15, %rdi
je 0x4a06
movq -0x28(%rbp), %rsi
incq %rsi
callq 0x32f0
xorl %edi, %edi
callq 0x32b0
movq %rax, (%r14)
addq $0x28, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq -0x38(%rbp), %rdi
cmpq %r15, %rdi
je 0x4a33
movq -0x28(%rbp), %rsi
incq %rsi
callq 0x32f0
movq %rbx, %rdi
callq 0x3530
// File: /workspace/github_cpp_makefile_star2_O1/nickgammon[P]tinymudserver/tinymudserver.cpp
// Function: main
int main ()
{
  cout << "Tiny MUD server version " << VERSION << endl;

  LoadThings ();    // load stuff
  
  if (InitComms ()) // listen for new connections
    return 1;

  cout << "Accepting connections from port " <<  PORT << endl;
  
  MainLoop ();    // handle player input/output

  // game over - tell them all
  SendToAll ("\n\n** Game shut down. **\n\n");
  
  CloseComms ();  // stop listening

  cout << "Game shut down." << endl;  
  return 0;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x28, %rsp
movq 0x11571(%rip), %rbx     # 0x15fc0
leaq 0xb624(%rip), %rsi      # 0x1007a
movl $0x18, %edx
movq %rbx, %rdi
callq 0x3370
movq 0x118b6(%rip), %rsi     # 0x16320
movq 0x118b7(%rip), %rdx     # 0x16328
movq %rbx, %rdi
callq 0x3370
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x32d0
movsbl %al, %esi
movq %rbx, %rdi
callq 0x3030
movq %rax, %rdi
callq 0x3220
callq 0x7820
callq 0xdd15
movl %eax, %ecx
movl $0x1, %eax
testl %ecx, %ecx
jne 0x4b98
movq 0x114fd(%rip), %rbx     # 0x15fc0
leaq 0xb5c9(%rip), %rsi      # 0x10093
movl $0x20, %edx
movq %rbx, %rdi
callq 0x3370
movq %rbx, %rdi
movl $0xfa0, %esi            # imm = 0xFA0
callq 0x3510
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 0x3220
callq 0xe594
leaq -0x28(%rbp), %r15
movq %r15, -0x10(%r15)
leaq 0xb592(%rip), %rsi      # 0x100b4
leaq 0xb5a4(%rip), %rdx      # 0x100cd
leaq -0x38(%rbp), %r14
movq %r14, %rdi
callq 0x4bc4
movq %r14, %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x60c8
movq -0x38(%rbp), %rdi
cmpq %r15, %rdi
je 0x4b56
movq -0x28(%rbp), %rsi
incq %rsi
callq 0x32f0
callq 0xdfad
leaq 0xb56c(%rip), %rsi      # 0x100ce
movl $0xf, %edx
movq %rbx, %rdi
callq 0x3370
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x32d0
movsbl %al, %esi
movq %rbx, %rdi
callq 0x3030
movq %rax, %rdi
callq 0x3220
xorl %eax, %eax
addq $0x28, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq -0x38(%rbp), %rdi
cmpq %r15, %rdi
je 0x4bbb
movq -0x28(%rbp), %rsi
incq %rsi
callq 0x32f0
movq %rbx, %rdi
callq 0x3530
nop
// File: /workspace/github_cpp_makefile_star2_O1/nickgammon[P]tinymudserver/strings.cpp
// Function: FindAndReplace(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
string FindAndReplace
  (const string& source, const string target, const string replacement)
  {
  string str = source;
  string::size_type pos = 0,   // where we are now
                    found;     // where the found data is
  if (target.size () > 0)   // searching for nothing will cause a loop
    while ((found = str.find (target, pos)) != string::npos)
      {
      str.replace (found, target.size (), replacement);
      pos = found + replacement.size ();
      }
  return str;
  }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rcx, %r14
movq %rdx, %r15
movq %rdi, %rbx
leaq 0x10(%rdi), %r13
movq %r13, (%rdi)
movq (%rsi), %rax
movq 0x8(%rsi), %rdx
addq %rax, %rdx
movq %rax, %rsi
callq 0x5192
cmpq $0x0, 0x8(%r15)
je 0x4ce6
movq (%r15), %rsi
movq 0x8(%r15), %rcx
movq %rbx, %rdi
xorl %edx, %edx
callq 0x3520
cmpq $-0x1, %rax
je 0x4ce6
movq %rax, %r12
movq 0x8(%r15), %rdx
movq (%r14), %rcx
movq 0x8(%r14), %r8
movq %rbx, %rdi
movq %r12, %rsi
callq 0x3360
addq 0x8(%r14), %r12
movq (%r15), %rsi
movq 0x8(%r15), %rcx
movq %rbx, %rdi
movq %r12, %rdx
callq 0x3520
movq %rax, %r12
cmpq $-0x1, %rax
jne 0x4cb1
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r14
movq (%rbx), %rdi
cmpq %r13, %rdi
je 0x4d0f
movq (%r13), %rsi
incq %rsi
callq 0x32f0
movq %r14, %rdi
callq 0x3530
// File: /workspace/github_cpp_makefile_star2_O1/nickgammon[P]tinymudserver/strings.cpp
// Function: Trim(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
string Trim (const string & s, const string & t)
{
  string d = s; 
  string::size_type i = d.find_last_not_of (t);
  if (i == string::npos)
    return "";
  else
   return d.erase (i + 1).erase (0, s.find_first_not_of (t)) ; 
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rdx, %r15
movq %rsi, %r14
movq %rdi, %rbx
leaq -0x38(%rbp), %r13
movq %r13, -0x10(%r13)
movq (%rsi), %rsi
movq 0x8(%r14), %rdx
addq %rsi, %rdx
leaq -0x48(%rbp), %r12
movq %r12, %rdi
callq 0x5192
movq (%r15), %rsi
movq 0x8(%r15), %rcx
movq %r12, %rdi
movq $-0x1, %rdx
callq 0x34a0
cmpq $-0x1, %rax
je 0x4dc2
leaq 0x1(%rax), %rdx
movq -0x40(%rbp), %rcx
cmpq %rax, %rcx
jbe 0x4e02
movq %rdx, 0x8(%r12)
movq (%r12), %rax
movb $0x0, (%rax,%rdx)
movq (%r15), %rsi
movq 0x8(%r15), %rcx
movq %r14, %rdi
xorl %edx, %edx
callq 0x34e0
movq %r12, %rdi
xorl %esi, %esi
movq %rax, %rdx
callq 0x30a0
leaq 0x10(%rbx), %rcx
movq %rcx, (%rbx)
movq (%rax), %rsi
movq 0x8(%rax), %rdx
addq %rsi, %rdx
movq %rbx, %rdi
callq 0x5192
jmp 0x4ddb
leaq 0x10(%rbx), %rax
movq %rax, (%rbx)
leaq 0xb2fd(%rip), %rdx      # 0x100cd
movq %rbx, %rdi
movq %rdx, %rsi
callq 0x4bc4
movq -0x48(%rbp), %rdi
cmpq %r13, %rdi
je 0x4df0
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x32f0
movq %rbx, %rax
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0xb2ff(%rip), %rdi      # 0x10108
leaq 0xb32f(%rip), %rsi      # 0x1013f
xorl %eax, %eax
callq 0x3440
jmp 0x4e19
movq %rax, %rbx
movq -0x48(%rbp), %rdi
cmpq %r13, %rdi
je 0x4e31
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x32f0
movq %rbx, %rdi
callq 0x3530
// File: /workspace/github_cpp_makefile_star2_O1/nickgammon[P]tinymudserver/strings.cpp
// Function: GetWord(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
pair<string, string> GetWord (const string & s)
{
  string rest = s;  // make copy so we can modify it
  
 // find delimiter  
  string::size_type i (rest.find (' '));

  // split into before and after delimiter
  string w (rest.substr (0, i));

  if (i == string::npos)
    rest.erase ();          // if no delimiter, remainder is empty
  else   
    rest.erase (0, i + 1);  // erase up to the delimiter

  // return first word in line, rest of line
  return make_pair (Trim (w), Trim (rest));
  
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x80, %rsp
movq %rdi, %rbx
leaq -0x50(%rbp), %r12
movq %r12, -0x10(%r12)
movq (%rsi), %rax
movq 0x8(%rsi), %rdx
addq %rax, %rdx
leaq -0x60(%rbp), %r15
movq %r15, %rdi
movq %rax, %rsi
callq 0x5192
movq %r15, %rdi
movl $0x20, %esi
xorl %edx, %edx
callq 0x33c0
movq %rax, %r14
leaq -0x80(%rbp), %rdi
movq %r15, %rsi
xorl %edx, %edx
movq %rax, %rcx
callq 0x3320
cmpq $-0x1, %r14
je 0x4fbe
incq %r14
leaq -0x60(%rbp), %rdi
xorl %esi, %esi
movq %r14, %rdx
callq 0x30a0
jmp 0x4fcd
movq $0x0, -0x58(%rbp)
movq -0x60(%rbp), %rax
movb $0x0, (%rax)
leaq 0x1140c(%rip), %rdx     # 0x163e0
leaq -0x40(%rbp), %rdi
leaq -0x80(%rbp), %rsi
callq 0x4d17
leaq 0x113f8(%rip), %rdx     # 0x163e0
leaq -0xa0(%rbp), %rdi
leaq -0x60(%rbp), %rsi
callq 0x4d17
leaq 0x10(%rbx), %rcx
movq %rcx, (%rbx)
leaq -0x30(%rbp), %rax
movq -0x10(%rax), %rdx
cmpq %rax, %rdx
je 0x5019
movq %rdx, (%rbx)
movq -0x30(%rbp), %rcx
movq %rcx, 0x10(%rbx)
jmp 0x501f
movups (%rax), %xmm0
movups %xmm0, (%rcx)
movq -0x38(%rbp), %rcx
movq %rcx, 0x8(%rbx)
movq %rax, -0x40(%rbp)
movq $0x0, -0x38(%rbp)
movb $0x0, -0x30(%rbp)
leaq 0x30(%rbx), %rcx
movq %rcx, 0x20(%rbx)
leaq -0x90(%rbp), %rdx
movq -0x10(%rdx), %rsi
cmpq %rdx, %rsi
je 0x5060
movq %rsi, 0x20(%rbx)
movq -0x90(%rbp), %rcx
movq %rcx, 0x30(%rbx)
jmp 0x5066
movups (%rdx), %xmm0
movups %xmm0, (%rcx)
movq -0x98(%rbp), %rcx
movq %rcx, 0x28(%rbx)
movq -0x40(%rbp), %rdi
cmpq %rax, %rdi
je 0x5086
movq -0x30(%rbp), %rsi
incq %rsi
callq 0x32f0
leaq -0x70(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x509f
movq -0x70(%rbp), %rsi
incq %rsi
callq 0x32f0
movq -0x60(%rbp), %rdi
cmpq %r12, %rdi
je 0x50b4
movq -0x50(%rbp), %rsi
incq %rsi
callq 0x32f0
movq %rbx, %rax
addq $0x80, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
jmp 0x50e7
movq %rax, %rbx
leaq -0x30(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x50ea
movq -0x30(%rbp), %rsi
incq %rsi
callq 0x32f0
jmp 0x50ea
movq %rax, %rbx
leaq -0x70(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x5108
movq -0x70(%rbp), %rsi
incq %rsi
callq 0x32f0
jmp 0x5108
movq %rax, %rbx
movq -0x60(%rbp), %rdi
cmpq %r12, %rdi
je 0x511d
movq -0x50(%rbp), %rsi
incq %rsi
callq 0x32f0
movq %rbx, %rdi
callq 0x3530
// File: /workspace/github_cpp_makefile_star2_O1/nickgammon[P]tinymudserver/strings.cpp
// Function: fCapitals::operator()(unsigned char const&)
unsigned char operator() (const unsigned char & c)  
    { 
    unsigned char c1;
    // capitalise depending on previous letter
    if (bUpper)
      c1 = toupper (c);
    else
      c1 = tolower (c);

    // work out whether next letter should be capitals
    bUpper = isalnum (c) == 0 && c < 0x80;
    return c1; 
    }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %rbx
movzbl (%rsi), %edi
cmpb $0x1, (%rbx)
jne 0x524b
callq 0x3590
jmp 0x5250
callq 0x3410
movl %eax, %r15d
movzbl (%r14), %r14d
movl %r14d, %edi
callq 0x3300
testl %eax, %eax
sete %al
testb %r14b, %r14b
setns %cl
andb %al, %cl
movb %cl, (%rbx)
movl %r15d, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/nickgammon[P]tinymudserver/player.cpp
// Function: FindPlayer(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
tPlayer * FindPlayer (const string & name)
{
  tPlayerListIterator i =
    find_if (playerlist.begin (), playerlist.end (), findPlayerName (name));

  if (i == playerlist.end ())
    return NULL;
  else
    return *i;
  
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x20, %rsp
leaq 0x1157e(%rip), %rbx     # 0x16810
movq (%rbx), %r14
leaq -0x30(%rbp), %r12
movq %r12, -0x10(%r12)
movq (%rdi), %rsi
movq 0x8(%rdi), %rdx
addq %rsi, %rdx
leaq -0x40(%rbp), %r15
movq %r15, %rdi
callq 0x5192
movq %r14, %rdi
movq %rbx, %rsi
movq %r15, %rdx
callq 0x6188
movq %rax, %rbx
movq -0x40(%rbp), %rdi
cmpq %r12, %rdi
je 0x52da
movq -0x30(%rbp), %rsi
incq %rsi
callq 0x32f0
cmpq 0x10ce7(%rip), %rbx     # 0x15fc8
je 0x52e9
movq 0x10(%rbx), %rax
jmp 0x52eb
xorl %eax, %eax
addq $0x20, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq -0x40(%rbp), %rdi
cmpq %r12, %rdi
je 0x5310
movq -0x30(%rbp), %rsi
incq %rsi
callq 0x32f0
movq %rbx, %rdi
callq 0x3530
// File: /workspace/github_cpp_makefile_star2_O1/nickgammon[P]tinymudserver/player.cpp
// Function: tPlayer::Load()
void tPlayer::Load ()
{
  ifstream f ((PLAYER_DIR + playername + PLAYER_EXT).c_str (), ios::in);
  if (!f)
    throw runtime_error ("That player does not exist, type 'new' to create a new one.");
  
  // read player details
  f >> password;
  f >> room;
  f.ignore (numeric_limits<int>::max(), '\n'); // skip rest of this line  
  LoadSet (f, flags);   // player flags (eg. can_shutdown) 
  
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
subq $0x250, %rsp            # imm = 0x250
movq %rdi, %rbx
leaq 0x90(%rdi), %rdx
leaq 0x10d53(%rip), %rsi     # 0x16448
leaq -0x50(%rbp), %r14
movq %r14, %rdi
callq 0x6328
movq 0x10d60(%rip), %rsi     # 0x16468
movq 0x10d61(%rip), %rdx     # 0x16470
movq %r14, %rdi
callq 0x30f0
leaq -0x20(%rbp), %r14
movq %r14, -0x10(%r14)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x573b
movq %rdx, -0x30(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x20(%rbp)
jmp 0x5742
movups (%rcx), %xmm0
movups %xmm0, (%r14)
movq 0x8(%rax), %rdx
movq %rdx, -0x28(%rbp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq -0x30(%rbp), %rsi
leaq -0x258(%rbp), %rdi
movl $0x8, %edx
callq 0x3570
movq -0x30(%rbp), %rdi
cmpq %r14, %rdi
je 0x5783
movq -0x20(%rbp), %rsi
incq %rsi
callq 0x32f0
leaq -0x40(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x579c
movq -0x40(%rbp), %rsi
incq %rsi
callq 0x32f0
movq -0x258(%rbp), %rax
movq -0x18(%rax), %rax
testb $0x5, -0x238(%rbp,%rax)
jne 0x581b
leaq 0xb0(%rbx), %rsi
leaq -0x258(%rbp), %rdi
callq 0x33b0
leaq 0xd4(%rbx), %rsi
leaq -0x258(%rbp), %rdi
callq 0x31e0
leaq -0x258(%rbp), %rdi
movl $0x7fffffff, %esi       # imm = 0x7FFFFFFF
movl $0xa, %edx
callq 0x3200
addq $0xe0, %rbx
leaq -0x258(%rbp), %rdi
movq %rbx, %rsi
callq 0x638c
leaq -0x258(%rbp), %rdi
callq 0x30c0
addq $0x250, %rsp            # imm = 0x250
popq %rbx
popq %r14
popq %rbp
retq
movl $0x10, %edi
callq 0x3180
movq %rax, %r14
leaq 0xa979(%rip), %rsi      # 0x101a8
movq %rax, %rdi
callq 0x3130
movq 0x107b2(%rip), %rsi     # 0x15ff0
movq 0x1076b(%rip), %rdx     # 0x15fb0
movq %r14, %rdi
callq 0x3500
movq %rax, %rbx
movq %r14, %rdi
callq 0x3250
jmp 0x5895
movq %rax, %rbx
movq -0x30(%rbp), %rdi
cmpq %r14, %rdi
je 0x5877
movq -0x20(%rbp), %rsi
incq %rsi
callq 0x32f0
jmp 0x5877
movq %rax, %rbx
leaq -0x40(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x58a1
movq -0x40(%rbp), %rsi
incq %rsi
callq 0x32f0
jmp 0x58a1
movq %rax, %rbx
leaq -0x258(%rbp), %rdi
callq 0x30c0
movq %rbx, %rdi
callq 0x3530
nop
// File: /workspace/github_cpp_makefile_star2_O1/nickgammon[P]tinymudserver/player.cpp
// Function: tPlayer::ProcessWrite()
void tPlayer::ProcessWrite ()
{
  /* we will loop attempting to write all in buffer, until write blocks */
  while (s != NO_SOCKET && !outbuf.empty ())
    {

    // send a maximum of 512 at a time
    int iLength = min<int> (outbuf.size (), 512);

    // send to player
    int nWrite = write (s, outbuf.c_str (), iLength );

    // check for bad write
    if (nWrite < 0)
      {
      if (errno != EWOULDBLOCK )
        perror ("send to player");  /* some other error? */
      return;
      }

    // remove what we successfully sent from the buffer
    outbuf.erase (0, nWrite);
      
    // if partial write, exit
    if (nWrite < iLength)
       break;

    } /* end of having write loop */

}

// Assembly:
cmpl $-0x1, (%rdi)
je 0x60c7
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %rbx
leaq 0x8(%rdi), %r14
movl $0x200, %r13d           # imm = 0x200
movq 0x10(%rbx), %r15
testq %r15, %r15
je 0x60b9
cmpl %r13d, %r15d
cmovgel %r13d, %r15d
movl (%rbx), %edi
movq 0x8(%rbx), %rsi
movslq %r15d, %rdx
callq 0x3120
movq %rax, %r12
testl %r12d, %r12d
js 0x6092
movl %r12d, %edx
andl $0x7fffffff, %edx       # imm = 0x7FFFFFFF
movq %r14, %rdi
xorl %esi, %esi
callq 0x30a0
cmpl %r12d, %r15d
setg %r15b
jmp 0x609f
callq 0x3050
movb $0x1, %r15b
cmpl $0xb, (%rax)
jne 0x60ab
testb %r15b, %r15b
jne 0x60b9
cmpl $-0x1, (%rbx)
jne 0x6050
jmp 0x60b9
leaq 0xa1a2(%rip), %rdi      # 0x10254
callq 0x3270
jmp 0x609f
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/nickgammon[P]tinymudserver/./utils.h
// Function: void LoadSet<std::set<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, ciLess, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>>>(std::istream&, std::set<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, ciLess, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>>&)
void LoadSet (istream & f, T & s)
{
  s.clear ();
  string sLine;
  getline (f, sLine);   // get one line
  istringstream is (sLine); // convert back to stream
  string flag;    // each flag name
  while (!is.eof ())    // read that stream
    {
    is >> flag;   // read flag
    s.insert (flag);  // and insert it
    } // end of getting each item  
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x1c8, %rsp            # imm = 0x1C8
movq %rsi, %rbx
movq %rdi, %r14
movq %rsi, %rdi
callq 0x6592
leaq -0x38(%rbp), %r12
movq %r12, -0x10(%r12)
movq $0x0, -0x8(%r12)
movb $0x0, (%r12)
movq (%r14), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x32d0
movsbl %al, %edx
leaq -0x48(%rbp), %rsi
movq %r14, %rdi
callq 0x3580
leaq -0x1e8(%rbp), %rdi
leaq -0x48(%rbp), %rsi
movl $0x8, %edx
callq 0x34d0
leaq -0x58(%rbp), %r13
movq %r13, -0x10(%r13)
movq $0x0, -0x8(%r13)
movb $0x0, (%r13)
leaq -0x1e8(%rbp), %r14
leaq -0x68(%rbp), %r15
movq -0x1e8(%rbp), %rax
movq -0x18(%rax), %rax
testb $0x2, -0x1c8(%rbp,%rax)
jne 0x644a
movq %r14, %rdi
movq %r15, %rsi
callq 0x33b0
movq %rbx, %rdi
movq %r15, %rsi
callq 0x6642
jmp 0x641d
movq -0x68(%rbp), %rdi
cmpq %r13, %rdi
je 0x645f
movq -0x58(%rbp), %rsi
incq %rsi
callq 0x32f0
movq 0xfb42(%rip), %rsi      # 0x15fa8
leaq -0x1e8(%rbp), %rdi
callq 0x33f0
leaq -0x170(%rbp), %rdi
callq 0x3110
movq -0x48(%rbp), %rdi
cmpq %r12, %rdi
je 0x6493
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x32f0
addq $0x1c8, %rsp            # imm = 0x1C8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x64a7
movq %rax, %rbx
jmp 0x64e3
movq %rax, %rbx
movq -0x68(%rbp), %rdi
cmpq %r13, %rdi
je 0x64c4
movq -0x58(%rbp), %rsi
incq %rsi
callq 0x32f0
movq 0xfadd(%rip), %rsi      # 0x15fa8
leaq -0x1e8(%rbp), %rdi
callq 0x33f0
leaq -0x170(%rbp), %rdi
callq 0x3110
movq -0x48(%rbp), %rdi
cmpq %r12, %rdi
je 0x64f8
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x32f0
movq %rbx, %rdi
callq 0x3530
// File: /workspace/github_cpp_makefile_star2_O1/nickgammon[P]tinymudserver/load.cpp
// Function: LoadControlFile()
void LoadControlFile ()
{
  // load control file
  ifstream fControl (CONTROL_FILE, ios::in);
  if (!fControl)
    {
    cerr << "Could not open control file: " << CONTROL_FILE << endl;
    return;
    }

  LoadSet (fControl, directionset); // possible directions, eg. n, s, e, w
  LoadSet (fControl, badnameset);   // bad names for new players, eg. new, quit, look, admin
  LoadSet (fControl, blockedIP);    // blocked IP addresses
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %rbx
subq $0x208, %rsp            # imm = 0x208
leaq 0x97f3(%rip), %rsi      # 0x10342
leaq -0x210(%rbp), %rbx
movq %rbx, %rdi
movl $0x8, %edx
callq 0x3570
movq (%rbx), %rax
movq -0x18(%rax), %rax
testb $0x5, -0x1f0(%rbp,%rax)
je 0x6bd4
movq 0xf46d(%rip), %rdi      # 0x15fe8
leaq 0x96e1(%rip), %rsi      # 0x10263
movl $0x1d, %edx
callq 0x3370
movq 0xf455(%rip), %rbx      # 0x15fe8
leaq 0x97a8(%rip), %rsi      # 0x10342
movl $0x14, %edx
movq %rbx, %rdi
callq 0x3370
movq (%rbx), %rax
addq -0x18(%rax), %rbx
movq %rbx, %rdi
movl $0xa, %esi
callq 0x32d0
movsbl %al, %esi
movq 0xf423(%rip), %rdi      # 0x15fe8
callq 0x3030
movq %rax, %rdi
callq 0x3220
jmp 0x6c0d
leaq 0xfd0d(%rip), %rsi      # 0x168e8
leaq -0x210(%rbp), %rdi
callq 0x638c
leaq 0xfd2a(%rip), %rsi      # 0x16918
leaq -0x210(%rbp), %rdi
callq 0x638c
leaq 0xfd47(%rip), %rsi      # 0x16948
leaq -0x210(%rbp), %rdi
callq 0x783e
leaq -0x210(%rbp), %rdi
callq 0x30c0
addq $0x208, %rsp            # imm = 0x208
popq %rbx
popq %rbp
retq
movq %rax, %rbx
leaq -0x210(%rbp), %rdi
callq 0x30c0
movq %rbx, %rdi
callq 0x3530
// File: /workspace/github_cpp_makefile_star2_O1/nickgammon[P]tinymudserver/commands.cpp
// Function: NoMore(tPlayer*, std::istream&)
void NoMore (tPlayer * p, istream & sArgs)
  {
  string sLine;
  getline (sArgs, sLine);
  if (!sLine.empty ())
    throw runtime_error ("Unexpected input: " + sLine);
  }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x40, %rsp
movq %rsi, %rbx
leaq -0x30(%rbp), %r15
movq %r15, -0x10(%r15)
movq $0x0, -0x8(%r15)
movb $0x0, (%r15)
movq (%rsi), %rax
movq -0x18(%rax), %rdi
addq %rsi, %rdi
movl $0xa, %esi
callq 0x32d0
movsbl %al, %edx
leaq -0x40(%rbp), %rsi
movq %rbx, %rdi
callq 0x3580
cmpq $0x0, -0x38(%rbp)
jne 0x87e6
movq -0x40(%rbp), %rdi
cmpq %r15, %rdi
je 0x87d9
movq -0x30(%rbp), %rsi
incq %rsi
callq 0x32f0
addq $0x40, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
movl $0x10, %edi
callq 0x3180
movq %rax, %rbx
leaq 0x7b86(%rip), %rsi      # 0x10380
leaq -0x60(%rbp), %rdi
leaq -0x40(%rbp), %rdx
callq 0xae25
movb $0x1, %r12b
leaq -0x60(%rbp), %rsi
movq %rbx, %rdi
callq 0x3490
xorl %r12d, %r12d
movq 0xd7d0(%rip), %rsi      # 0x15ff0
movq 0xd789(%rip), %rdx      # 0x15fb0
movq %rbx, %rdi
callq 0x3500
movq %rax, %r14
leaq -0x50(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x8853
movq -0x50(%rbp), %rsi
incq %rsi
callq 0x32f0
jmp 0x8853
movq %rax, %r14
movb $0x1, %r12b
testb %r12b, %r12b
je 0x8865
movq %rbx, %rdi
callq 0x3250
jmp 0x8865
movq %rax, %r14
movq -0x40(%rbp), %rdi
cmpq %r15, %rdi
je 0x887a
movq -0x30(%rbp), %rsi
incq %rsi
callq 0x32f0
movq %r14, %rdi
callq 0x3530
// File: /workspace/github_cpp_makefile_star2_O1/nickgammon[P]tinymudserver/commands.cpp
// Function: GetMessage(std::istream&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
string GetMessage (istream & sArgs, const string & noMessageError)
  {
  string message;
  sArgs >> ws;  // skip leading spaces
  getline (sArgs, message); // get rest of line
  if (message.empty ()) // better have something
    throw runtime_error (noMessageError);
  return message;  
  }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
leaq 0x10(%rdi), %r12
movq %r12, (%rdi)
movq $0x0, 0x8(%rdi)
movb $0x0, 0x10(%rdi)
movq %rsi, %rdi
callq 0x3280
movq (%r15), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x32d0
movsbl %al, %edx
movq %r15, %rdi
movq %rbx, %rsi
callq 0x3580
cmpq $0x0, 0x8(%rbx)
je 0x88e6
movq %rbx, %rax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
movl $0x10, %edi
callq 0x3180
movq %rax, %r15
movq %rax, %rdi
movq %r14, %rsi
callq 0x3490
movq 0xd6eb(%rip), %rsi      # 0x15ff0
movq 0xd6a4(%rip), %rdx      # 0x15fb0
movq %r15, %rdi
callq 0x3500
movq %rax, %r14
movq %r15, %rdi
callq 0x3250
jmp 0x8924
movq %rax, %r14
movq (%rbx), %rdi
cmpq %r12, %rdi
je 0x8938
movq (%r12), %rsi
incq %rsi
callq 0x32f0
movq %r14, %rdi
callq 0x3530
// File: /workspace/github_cpp_makefile_star2_O1/nickgammon[P]tinymudserver/commands.cpp
// Function: GetFlag(std::istream&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
string GetFlag (istream & sArgs, const string & noFlagError)
  {
  string flag;
  sArgs >> ws >> flag;
  if (flag.empty ())
    throw runtime_error (noFlagError);
  if (flag.find_first_not_of (valid_player_name) != string::npos)
    throw runtime_error ("Flag name not valid.");
  return flag;      
  }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq %rdx, %r15
movq %rdi, %rbx
leaq 0x10(%rdi), %r12
movq %r12, (%rdi)
movq $0x0, 0x8(%rdi)
movb $0x0, 0x10(%rdi)
movq %rsi, %rdi
callq 0x3280
movq %rax, %rdi
movq %rbx, %rsi
callq 0x33b0
cmpq $0x0, 0x8(%rbx)
je 0x89a8
movq 0xdcb3(%rip), %rsi      # 0x16638
movq 0xdcb4(%rip), %rcx      # 0x16640
movq %rbx, %rdi
xorl %edx, %edx
callq 0x34e0
cmpq $-0x1, %rax
jne 0x89c2
movq %rbx, %rax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
movl $0x10, %edi
callq 0x3180
movq %rax, %r14
movq %rax, %rdi
movq %r15, %rsi
callq 0x3490
jmp 0x89de
movl $0x10, %edi
callq 0x3180
movq %rax, %r14
leaq 0x79bd(%rip), %rsi      # 0x10393
movq %rax, %rdi
callq 0x3130
movq 0xd60b(%rip), %rsi      # 0x15ff0
movq 0xd5c4(%rip), %rdx      # 0x15fb0
movq %r14, %rdi
callq 0x3500
jmp 0x89f6
movq %rax, %r15
movq %r14, %rdi
callq 0x3250
jmp 0x8a06
movq %rax, %r15
movq (%rbx), %rdi
cmpq %r12, %rdi
je 0x8a1a
movq (%r12), %rsi
incq %rsi
callq 0x32f0
movq %r15, %rdi
callq 0x3530
// File: /workspace/github_cpp_makefile_star2_O1/nickgammon[P]tinymudserver/commands.cpp
// Function: PlayerToRoom(tPlayer*, int const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
void PlayerToRoom (tPlayer * p,       // which player
                  const int & vnum,   // which room
                  const string & sPlayerMessage,  // what to tell the player
                  const string & sOthersDepartMessage,  // tell people in original room 
                  const string & sOthersArrriveMessage) // tell people in new room
{
  tRoom * r = FindRoom (vnum); // find the destination room (throws exception if not there)
  SendToAll (sOthersDepartMessage, p, p->room);  // tell others where s/he went
  p->room = vnum;  // move to new room
  *p << sPlayerMessage; // tell player
  p->DoCommand ("look");   // look around new room  
  SendToAll (sOthersArrriveMessage, p, p->room);  // tell others ws/he has arrived  
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %r8, %rbx
movq %rcx, %r15
movq %rdx, %r12
movq %rsi, %r13
movq %rdi, %r14
movq %rsi, %rdi
callq 0xef64
movl 0xd4(%r14), %edx
movq %r15, %rdi
movq %r14, %rsi
callq 0x60c8
movl (%r13), %eax
movl %eax, 0xd4(%r14)
movq %r14, %rdi
movq %r12, %rsi
callq 0x6a44
leaq -0x38(%rbp), %r12
movq %r12, -0x10(%r12)
leaq 0x7926(%rip), %rsi      # 0x103a8
leaq 0x7923(%rip), %rdx      # 0x103ac
leaq -0x48(%rbp), %r15
movq %r15, %rdi
callq 0x4bc4
movq %r14, %rdi
movq %r15, %rsi
callq 0x5b44
movq -0x48(%rbp), %rdi
cmpq %r12, %rdi
je 0x8ab5
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x32f0
movl 0xd4(%r14), %edx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x60c8
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq -0x48(%rbp), %rdi
cmpq %r12, %rdi
je 0x8aee
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x32f0
movq %rbx, %rdi
callq 0x3530
// File: /workspace/github_cpp_makefile_star2_O1/nickgammon[P]tinymudserver/commands.cpp
// Function: DoQuit(tPlayer*, std::istream&)
void DoQuit (tPlayer * p, istream & sArgs)
  {
  NoMore (p, sArgs);  // check no more input
    
  /* if s/he finished connecting, tell others s/he has left */
  
  if (p->connstate == ePlaying)
    {
    *p << "See you next time!\n";
    cout << "Player " << p->playername << " has left the game.\n";
    SendToAll ("Player " + p->playername + " has left the game.\n", p);   
    } /* end of properly connected */

  p->ClosePlayer ();
  }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %rdi, %rbx
callq 0x8774
cmpl $0x5, 0x68(%rbx)
jne 0x8fe3
leaq 0x74f0(%rip), %rsi      # 0x103de
movq %rbx, %rdi
callq 0xaeb8
movq 0xd0c3(%rip), %r15      # 0x15fc0
leaq 0x7254(%rip), %r14      # 0x10158
movl $0x7, %edx
movq %r15, %rdi
movq %r14, %rsi
callq 0x3370
leaq 0x90(%rbx), %r12
movq 0x90(%rbx), %rsi
movq 0x98(%rbx), %rdx
movq %r15, %rdi
callq 0x3370
leaq 0x74ba(%rip), %r15      # 0x103f2
movl $0x14, %edx
movq %rax, %rdi
movq %r15, %rsi
callq 0x3370
leaq -0x68(%rbp), %r13
movq %r13, %rdi
movq %r14, %rsi
movq %r12, %rdx
callq 0xae25
movq %r13, %rdi
movq %r15, %rsi
callq 0x35a0
leaq -0x38(%rbp), %r14
movq %r14, -0x10(%r14)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x8f89
movq %rdx, -0x48(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x38(%rbp)
jmp 0x8f90
movups (%rcx), %xmm0
movups %xmm0, (%r14)
movq 0x8(%rax), %rdx
leaq -0x48(%rbp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq %rbx, %rsi
xorl %edx, %edx
callq 0x60c8
movq -0x48(%rbp), %rdi
cmpq %r14, %rdi
je 0x8fca
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x32f0
leaq -0x58(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x8fe3
movq -0x58(%rbp), %rsi
incq %rsi
callq 0x32f0
movb $0x1, 0xd8(%rbx)
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq -0x48(%rbp), %rdi
cmpq %r14, %rdi
je 0x9016
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x32f0
jmp 0x9016
movq %rax, %rbx
leaq -0x58(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x902f
movq -0x58(%rbp), %rsi
incq %rsi
callq 0x32f0
movq %rbx, %rdi
callq 0x3530
// File: /workspace/github_cpp_makefile_star2_O1/nickgammon[P]tinymudserver/commands.cpp
// Function: DoWho(tPlayer*, std::istream&)
void DoWho (tPlayer * p, istream & sArgs)
{
  NoMore (p, sArgs);  // check no more input
  *p << "Connected players ...\n";
  
  int count = 0;
  for (tPlayerListIterator iter = playerlist.begin ();
       iter != playerlist.end ();
       ++iter)
    {
    tPlayer * pTarget = *iter;    // the player  
    if (pTarget->IsPlaying ())
      {
      *p << "  " << pTarget->playername << 
            " in room " << pTarget->room << "\n";
      ++count;
      } // end of if playing
    } // end of doing each player
  
  *p << count << " player(s)\n";  
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %rbx
callq 0x8774
leaq 0x682d(%rip), %rsi      # 0x104aa
movq %rbx, %rdi
callq 0xb794
movl $0x0, -0x2c(%rbp)
leaq 0xcb7d(%rip), %r14      # 0x16810
movq (%r14), %r15
cmpq %r14, %r15
je 0x9d13
leaq 0x642a(%rip), %r12      # 0x100cc
movq 0x10(%r15), %r13
cmpl $-0x1, (%r13)
je 0x9d0b
cmpl $0x5, 0x68(%r13)
jne 0x9d0b
testb $0x1, 0xd8(%r13)
jne 0x9d0b
movq %rbx, %rdi
leaq 0x6cb7(%rip), %rsi      # 0x1097f
callq 0xb3a4
leaq 0x90(%r13), %rsi
movq %rax, %rdi
callq 0x6a44
movq %rax, %rdi
leaq 0x67db(%rip), %rsi      # 0x104c1
callq 0xb59c
addq $0xd4, %r13
movq %rax, %rdi
movq %r13, %rsi
callq 0xb890
movq %rax, %rdi
movq %r12, %rsi
callq 0xb0b0
incl -0x2c(%rbp)
movq (%r15), %r15
cmpq %r14, %r15
jne 0x9ca2
leaq -0x2c(%rbp), %rsi
movq %rbx, %rdi
callq 0xb890
leaq 0x67a5(%rip), %rsi      # 0x104cb
movq %rax, %rdi
callq 0xb982
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/nickgammon[P]tinymudserver/commands.cpp
// Function: DoSetFlag(tPlayer*, std::istream&)
void DoSetFlag (tPlayer * p, istream & sArgs)
{
  p->NeedFlag ("can_setflag");  // permissions
  tPlayer * ptarget = p->GetPlayer (sArgs, "Usage: setflag <who> <flag>");  // who
  string flag = GetFlag (sArgs, "Set which flag?"); // what
  NoMore (p, sArgs);  // check no more input
  if (ptarget->flags.find (flag) != ptarget->flags.end ())    // check not set
    throw runtime_error ("Flag already set.");
  
  ptarget->flags.insert (flag);   // set it
  *p << "You set the flag '" << flag << "' for " << ptarget->playername << "\n";  // confirm
      
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %rsi, %r15
movq %rdi, %rbx
leaq -0x38(%rbp), %r12
movq %r12, -0x10(%r12)
leaq 0x6773(%rip), %rsi      # 0x104d7
leaq 0x6777(%rip), %rdx      # 0x104e2
leaq -0x48(%rbp), %rdi
callq 0x4bc4
leaq -0x48(%rbp), %rsi
movq %rbx, %rdi
callq 0x5bf4
movq -0x48(%rbp), %rdi
cmpq %r12, %rdi
je 0x9d95
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x32f0
leaq -0x48(%rbp), %rdi
movq %r12, (%rdi)
leaq 0x6740(%rip), %rsi      # 0x104e3
leaq 0x6754(%rip), %rdx      # 0x104fe
callq 0x4bc4
leaq -0x68(%rbp), %rcx
movb $0x0, (%rcx)
leaq -0x48(%rbp), %rdx
movq %rbx, %rdi
movq %r15, %rsi
callq 0x5318
movq %rax, %r14
movq -0x48(%rbp), %rdi
cmpq %r12, %rdi
je 0x9ddd
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x32f0
leaq -0x58(%rbp), %r13
movq %r13, -0x10(%r13)
leaq 0x6713(%rip), %rsi      # 0x104ff
leaq 0x671b(%rip), %rdx      # 0x1050e
leaq -0x68(%rbp), %rdi
callq 0x4bc4
leaq -0x48(%rbp), %rdi
leaq -0x68(%rbp), %rdx
movq %r15, %rsi
callq 0x8940
movq -0x68(%rbp), %rdi
cmpq %r13, %rdi
je 0x9e21
movq -0x58(%rbp), %rsi
incq %rsi
callq 0x32f0
movq %r15, %rsi
callq 0x8774
leaq 0xe0(%r14), %r15
leaq -0x48(%rbp), %rsi
movq %r15, %rdi
callq 0x695c
leaq 0xe8(%r14), %rcx
cmpq %rcx, %rax
jne 0x9ec3
leaq -0x48(%rbp), %rsi
movq %r15, %rdi
callq 0x6642
leaq 0x66c6(%rip), %rsi      # 0x10521
movq %rbx, %rdi
callq 0xafb4
leaq -0x48(%rbp), %rsi
movq %rax, %rdi
callq 0x6a44
leaq 0x66be(%rip), %rsi      # 0x10534
movq %rax, %rdi
callq 0xba7e
addq $0x90, %r14
movq %rax, %rdi
movq %r14, %rsi
callq 0x6a44
leaq 0x6235(%rip), %rsi      # 0x100cc
movq %rax, %rdi
callq 0xb0b0
movq -0x48(%rbp), %rdi
cmpq %r12, %rdi
je 0x9eb4
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x32f0
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl $0x10, %edi
callq 0x3180
movq %rax, %r14
leaq 0x6638(%rip), %rsi      # 0x1050f
movq %rax, %rdi
callq 0x3130
movq 0xc10a(%rip), %rsi      # 0x15ff0
movq 0xc0c3(%rip), %rdx      # 0x15fb0
movq %r14, %rdi
callq 0x3500
movq %rax, %rbx
movq %r14, %rdi
callq 0x3250
jmp 0x9f26
jmp 0x9f23
movq %rax, %rbx
movq -0x68(%rbp), %rdi
cmpq %r13, %rdi
je 0x9f3b
movq -0x58(%rbp), %rsi
jmp 0x9f33
jmp 0x9f1e
jmp 0x9f23
jmp 0x9f1e
jmp 0x9f23
movq %rax, %rbx
jmp 0x9f3b
movq %rax, %rbx
movq -0x48(%rbp), %rdi
cmpq %r12, %rdi
je 0x9f3b
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x32f0
movq %rbx, %rdi
callq 0x3530
// File: /workspace/github_cpp_makefile_star2_O1/nickgammon[P]tinymudserver/commands.cpp
// Function: DoClearFlag(tPlayer*, std::istream&)
void DoClearFlag (tPlayer * p, istream & sArgs)
{
  p->NeedFlag ("can_setflag");  // permissions
  tPlayer * ptarget = p->GetPlayer (sArgs, "Usage: clearflag <who> <flag>");  // who
  string flag = GetFlag (sArgs, "Clear which flag?"); // what
  NoMore (p, sArgs);  // check no more input
  if (ptarget->flags.find (flag) == ptarget->flags.end ())    // check set
    throw runtime_error ("Flag not set.");

  ptarget->flags.erase (flag);    // clear it
  *p << "You clear the flag '" << flag << "' for " << ptarget->playername << "\n";  // confirm
      
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %rsi, %r15
movq %rdi, %rbx
leaq -0x38(%rbp), %r12
movq %r12, -0x10(%r12)
leaq 0x656d(%rip), %rsi      # 0x104d7
leaq 0x6571(%rip), %rdx      # 0x104e2
leaq -0x48(%rbp), %rdi
callq 0x4bc4
leaq -0x48(%rbp), %rsi
movq %rbx, %rdi
callq 0x5bf4
movq -0x48(%rbp), %rdi
cmpq %r12, %rdi
je 0x9f9b
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x32f0
leaq -0x48(%rbp), %rdi
movq %r12, (%rdi)
leaq 0x6592(%rip), %rsi      # 0x1053b
leaq 0x65a8(%rip), %rdx      # 0x10558
callq 0x4bc4
leaq -0x68(%rbp), %rcx
movb $0x0, (%rcx)
leaq -0x48(%rbp), %rdx
movq %rbx, %rdi
movq %r15, %rsi
callq 0x5318
movq %rax, %r14
movq -0x48(%rbp), %rdi
cmpq %r12, %rdi
je 0x9fe3
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x32f0
leaq -0x58(%rbp), %r13
movq %r13, -0x10(%r13)
leaq 0x6567(%rip), %rsi      # 0x10559
leaq 0x6571(%rip), %rdx      # 0x1056a
leaq -0x68(%rbp), %rdi
callq 0x4bc4
leaq -0x48(%rbp), %rdi
leaq -0x68(%rbp), %rdx
movq %r15, %rsi
callq 0x8940
movq -0x68(%rbp), %rdi
cmpq %r13, %rdi
je 0xa027
movq -0x58(%rbp), %rsi
incq %rsi
callq 0x32f0
movq %r15, %rsi
callq 0x8774
leaq 0xe0(%r14), %r15
leaq -0x48(%rbp), %rsi
movq %r15, %rdi
callq 0x695c
leaq 0xe8(%r14), %rcx
cmpq %rcx, %rax
je 0xa0d8
leaq -0x48(%rbp), %rsi
movq %r15, %rdi
callq 0xbd46
movq %r15, %rdi
movq %rax, %rsi
callq 0xbe0c
leaq 0x6509(%rip), %rsi      # 0x10579
movq %rbx, %rdi
callq 0xbb7a
leaq -0x48(%rbp), %rsi
movq %rax, %rdi
callq 0x6a44
leaq 0x64a9(%rip), %rsi      # 0x10534
movq %rax, %rdi
callq 0xba7e
addq $0x90, %r14
movq %rax, %rdi
movq %r14, %rsi
callq 0x6a44
leaq 0x6020(%rip), %rsi      # 0x100cc
movq %rax, %rdi
callq 0xb0b0
movq -0x48(%rbp), %rdi
cmpq %r12, %rdi
je 0xa0c9
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x32f0
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl $0x10, %edi
callq 0x3180
movq %rax, %r14
leaq 0x647f(%rip), %rsi      # 0x1056b
movq %rax, %rdi
callq 0x3130
movq 0xbef5(%rip), %rsi      # 0x15ff0
movq 0xbeae(%rip), %rdx      # 0x15fb0
movq %r14, %rdi
callq 0x3500
movq %rax, %rbx
movq %r14, %rdi
callq 0x3250
jmp 0xa13b
jmp 0xa138
movq %rax, %rbx
movq -0x68(%rbp), %rdi
cmpq %r13, %rdi
je 0xa150
movq -0x58(%rbp), %rsi
jmp 0xa148
jmp 0xa133
jmp 0xa138
jmp 0xa133
jmp 0xa138
movq %rax, %rbx
jmp 0xa150
movq %rax, %rbx
movq -0x48(%rbp), %rdi
cmpq %r12, %rdi
je 0xa150
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x32f0
movq %rbx, %rdi
callq 0x3530
// File: /workspace/github_cpp_makefile_star2_O1/nickgammon[P]tinymudserver/commands.cpp
// Function: DoShutdown(tPlayer*, std::istream&)
void DoShutdown (tPlayer * p, istream & sArgs)
{
  NoMore (p, sArgs);  // check no more input
  p->NeedFlag ("can_shutdown");
  SendToAll (p->playername + " shuts down the game\n");
  bStopNow = true;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x28, %rsp
movq %rdi, %rbx
callq 0x8774
leaq -0x28(%rbp), %r15
movq %r15, -0x10(%r15)
leaq 0x6412(%rip), %rsi      # 0x1058e
leaq 0x6417(%rip), %rdx      # 0x1059a
leaq -0x38(%rbp), %rdi
callq 0x4bc4
leaq -0x38(%rbp), %rsi
movq %rbx, %rdi
callq 0x5bf4
movq -0x38(%rbp), %rdi
cmpq %r15, %rdi
je 0xa1ad
movq -0x28(%rbp), %rsi
incq %rsi
callq 0x32f0
leaq -0x38(%rbp), %r14
movq %r15, (%r14)
movq 0x90(%rbx), %rsi
movq 0x98(%rbx), %rdx
addq %rsi, %rdx
movq %r14, %rdi
callq 0x5192
leaq 0x63c7(%rip), %rsi      # 0x1059b
movq %r14, %rdi
callq 0x35a0
leaq -0x38(%rbp), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x60c8
movq -0x38(%rbp), %rdi
cmpq %r15, %rdi
je 0xa1fe
movq -0x28(%rbp), %rsi
incq %rsi
callq 0x32f0
leaq 0xc5fb(%rip), %rax      # 0x16800
movb $0x1, (%rax)
addq $0x28, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
jmp 0xa217
jmp 0xa217
movq %rax, %rbx
movq -0x38(%rbp), %rdi
cmpq %r15, %rdi
je 0xa234
movq -0x28(%rbp), %rsi
incq %rsi
callq 0x32f0
jmp 0xa234
movq %rax, %rbx
movq %rbx, %rdi
callq 0x3530
// File: /workspace/github_cpp_makefile_star2_O1/nickgammon[P]tinymudserver/commands.cpp
// Function: ProcessCommand(tPlayer*, std::istream&)
void ProcessCommand (tPlayer * p, istream & sArgs)
{

  string command;
  sArgs >> command >> ws;   // get command, eat whitespace after it
  
  // first see if they have entered a movement command (eg. n, s, e, w)
  set<string>::const_iterator direction_iter = directionset.find (command);
  if (direction_iter != directionset.end ())
    DoDirection (p, command);
  else
    {
    // otherwise, look up command in commands map  
    map<string, tHandler>::const_iterator command_iter = commandmap.find (command);
    if (command_iter == commandmap.end ())
       throw runtime_error ("Huh?");      // don't get it
 
    command_iter->second (p, sArgs);  // execute command (eg. DoLook)
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x20, %rsp
movq %rsi, %r14
movq %rdi, %rbx
leaq -0x30(%rbp), %r12
movq %r12, -0x10(%r12)
movq $0x0, -0x8(%r12)
movb $0x0, (%r12)
leaq -0x40(%rbp), %rsi
movq %r14, %rdi
callq 0x33b0
movq %rax, %rdi
callq 0x3280
leaq 0xc08e(%rip), %r15      # 0x168e8
leaq -0x40(%rbp), %rsi
movq %r15, %rdi
callq 0x695c
addq $0x8, %r15
cmpq %r15, %rax
je 0xa87d
leaq -0x40(%rbp), %rsi
movq %rbx, %rdi
callq 0x8af6
jmp 0xa8a2
leaq 0xbfd4(%rip), %r15      # 0x16858
leaq -0x40(%rbp), %rsi
movq %r15, %rdi
callq 0xbee6
addq $0x8, %r15
cmpq %r15, %rax
je 0xa8c4
movq %rbx, %rdi
movq %r14, %rsi
callq *0x40(%rax)
movq -0x40(%rbp), %rdi
cmpq %r12, %rdi
je 0xa8b7
movq -0x30(%rbp), %rsi
incq %rsi
callq 0x32f0
addq $0x20, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
movl $0x10, %edi
callq 0x3180
movq %rax, %r14
leaq 0x5df1(%rip), %rsi      # 0x106c9
movq %rax, %rdi
callq 0x3130
movq 0xb709(%rip), %rsi      # 0x15ff0
movq 0xb6c2(%rip), %rdx      # 0x15fb0
movq %r14, %rdi
callq 0x3500
movq %rax, %rbx
movq %r14, %rdi
callq 0x3250
jmp 0xa90c
jmp 0xa909
jmp 0xa909
jmp 0xa909
movq %rax, %rbx
movq -0x40(%rbp), %rdi
cmpq %r12, %rdi
je 0xa921
movq -0x30(%rbp), %rsi
incq %rsi
callq 0x32f0
movq %rbx, %rdi
callq 0x3530
// File: /workspace/github_cpp_makefile_star2_O1/nickgammon[P]tinymudserver/states.cpp
// Function: ProcessNewPassword(tPlayer*, std::istream&)
void ProcessNewPassword (tPlayer * p, istream & sArgs)
{
   string password;
   sArgs >> password;
  
  /* password can't be blank */
  if (password.empty ())
    throw runtime_error ("Password cannot be blank.");
  
  p->password = password;
  p->connstate = eConfirmPassword;
  p->prompt = "Re-enter password to confirm it ... ";
    
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x28, %rsp
movq %rsi, %rax
movq %rdi, %rbx
leaq -0x28(%rbp), %r15
movq %r15, -0x10(%r15)
movq $0x0, -0x8(%r15)
movb $0x0, (%r15)
leaq -0x38(%rbp), %rsi
movq %rax, %rdi
callq 0x33b0
cmpq $0x0, -0x30(%rbp)
je 0xce5a
leaq 0xb0(%rbx), %rdi
leaq -0x38(%rbp), %rsi
callq 0x31a0
movl $0x4, 0x68(%rbx)
movq 0x78(%rbx), %rdx
addq $0x70, %rbx
leaq 0x3a3c(%rip), %rcx      # 0x10866
movl $0x24, %r8d
movq %rbx, %rdi
xorl %esi, %esi
callq 0x3460
movq -0x38(%rbp), %rdi
cmpq %r15, %rdi
je 0xce4f
movq -0x28(%rbp), %rsi
incq %rsi
callq 0x32f0
addq $0x28, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
movl $0x10, %edi
callq 0x3180
movq %rax, %r14
leaq 0x39de(%rip), %rsi      # 0x1084c
movq %rax, %rdi
callq 0x3130
movq 0x9173(%rip), %rsi      # 0x15ff0
movq 0x912c(%rip), %rdx      # 0x15fb0
movq %r14, %rdi
callq 0x3500
movq %rax, %rbx
movq %r14, %rdi
callq 0x3250
jmp 0xce9c
movq %rax, %rbx
movq -0x38(%rbp), %rdi
cmpq %r15, %rdi
je 0xceb1
movq -0x28(%rbp), %rsi
incq %rsi
callq 0x32f0
movq %rbx, %rdi
callq 0x3530