LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_cpp_makefile_star2_O1/tylerkaraszewski[P]Argyle/ErrorReader.cpp
// Function: ErrorReader::read(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>&, unsigned long)
size_t ErrorReader::read(std::string& buffer, const size_t maxBytesToRead)
{
  if (maxBytesToRead < m_dataBuffer.size())
  {
    buffer.append(m_dataBuffer.substr(0, maxBytesToRead));
    m_dataBuffer = m_dataBuffer.substr(maxBytesToRead);
    m_bytesRead += maxBytesToRead;
    return maxBytesToRead;
  }
  int size = m_dataBuffer.size();
  buffer.append(m_dataBuffer);
  m_dataBuffer.clear();
  m_done = true;
  m_bytesRead += size;
  return size;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x20, %rsp
movq %rsi, %r12
movq %rdi, %rbx
movq 0x28(%rdi), %r15
cmpq %rdx, %r15
jbe 0xa804
movq %rdx, %r14
leaq 0x20(%rbx), %r15
movq %rsp, %r13
movq %r13, %rdi
movq %r15, %rsi
xorl %edx, %edx
movq %r14, %rcx
callq 0x32b0
movq (%r13), %rsi
movq 0x8(%r13), %rdx
movq %r12, %rdi
callq 0x30f0
leaq 0x10(%rsp), %r13
movq -0x10(%r13), %rdi
cmpq %r13, %rdi
je 0xa7c9
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x3290
movq %rsp, %r12
movq %r12, %rdi
movq %r15, %rsi
movq %r14, %rdx
movq $-0x1, %rcx
callq 0x32b0
movq %r15, %rdi
movq %r12, %rsi
callq 0x3360
movq (%r12), %rdi
cmpq %r13, %rdi
je 0xa829
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x3290
jmp 0xa829
movq 0x20(%rbx), %rsi
movq %r12, %rdi
movq %r15, %rdx
callq 0x30f0
movq $0x0, 0x28(%rbx)
movq 0x20(%rbx), %rax
movb $0x0, (%rax)
movb $0x1, 0x11(%rbx)
movslq %r15d, %r14
addq %r14, 0x18(%rbx)
movq %r14, %rax
addq $0x20, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
movq %rax, %rbx
leaq 0x10(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xa85c
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x3290
movq %rbx, %rdi
callq 0x3520
// File: /workspace/github_cpp_makefile_star2_O1/tylerkaraszewski[P]Argyle/Logger.cpp
// Function: Logger::open()
bool Logger::open()
{
  string accessFilePath = m_config.getString(Config::S_KEY_ACCESS_FILE_PATH);
  string errorFilePath = m_config.getString(Config::S_KEY_ERROR_FILE_PATH);

  close();
  FILE* access = fopen(accessFilePath.c_str(), "a");
  if (access == NULL)
  {
    return false;
  }
  FILE* error = fopen(errorFilePath.c_str(), "a");
  if (error == NULL)
  {
    return false;
  }
  m_accessFile = access;
  m_errorFile = error;
  return true;
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
subq $0x40, %rsp
movq %rdi, %rbx
movq (%rdi), %rsi
leaq 0x5adb(%rip), %rdx      # 0x103a8
movq %rsp, %rdi
callq 0xb59a
movq (%rbx), %rsi
leaq 0x5ae9(%rip), %rdx      # 0x103c8
leaq 0x20(%rsp), %rdi
callq 0xb59a
movq %rbx, %rdi
callq 0xa99a
movq (%rsp), %rdi
leaq 0x1e06(%rip), %rsi      # 0xc702
callq 0x3310
testq %rax, %rax
je 0xa930
movq %rax, %r14
movq 0x20(%rsp), %rdi
leaq 0x1ded(%rip), %rsi      # 0xc702
callq 0x3310
testq %rax, %rax
setne %bpl
je 0xa932
movq %r14, 0x8(%rbx)
movq %rax, 0x10(%rbx)
movb $0x1, %bpl
jmp 0xa932
xorl %ebp, %ebp
leaq 0x30(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xa94d
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x3290
leaq 0x10(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xa968
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x3290
movl %ebp, %eax
addq $0x40, %rsp
popq %rbx
popq %r14
popq %rbp
retq
movq %rax, %rbx
leaq 0x10(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xa991
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x3290
movq %rbx, %rdi
callq 0x3520
nop
// File: /workspace/github_cpp_makefile_star2_O1/tylerkaraszewski[P]Argyle/Logger.cpp
// Function: Logger::close()
void Logger::close()
{
  if (m_accessFile != NULL)
  {
    fclose(m_accessFile);
    m_accessFile = NULL;
  }
  if (m_errorFile != NULL)
  {
    fclose(m_errorFile);
    m_errorFile = NULL;
  }
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
movq 0x8(%rdi), %rdi
testq %rdi, %rdi
je 0xa9b4
callq 0x3270
movq $0x0, 0x8(%rbx)
movq 0x10(%rbx), %rdi
testq %rdi, %rdi
je 0xa9ca
callq 0x3270
movq $0x0, 0x10(%rbx)
popq %rbx
retq
// File: /workspace/github_cpp_makefile_star2_O1/tylerkaraszewski[P]Argyle/Utils.cpp
// Function: Utils::llToString[abi:cxx11](long long)
string Utils::llToString(long long i)
{
  string s;
  char str[32] = {0};
  size_t strLen = snprintf(str, 31, "%lli", i);
  s.append(str, strLen);
  return s;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x20, %rsp
movq %rsi, %rcx
movq %rdi, %rbx
leaq 0x10(%rdi), %r15
movq %r15, (%rdi)
movq $0x0, 0x8(%rdi)
movb $0x0, 0x10(%rdi)
xorps %xmm0, %xmm0
movq %rsp, %r14
movaps %xmm0, 0x10(%r14)
movaps %xmm0, (%r14)
leaq 0x1ab4(%rip), %rdx      # 0xc720
movl $0x1f, %esi
movq %r14, %rdi
xorl %eax, %eax
callq 0x3480
movslq %eax, %rdx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x3070
movq %rbx, %rax
addq $0x20, %rsp
popq %rbx
popq %r14
popq %r15
retq
movq %rax, %r14
movq (%rbx), %rdi
cmpq %r15, %rdi
je 0xacac
movq (%r15), %rsi
incq %rsi
callq 0x3290
movq %r14, %rdi
callq 0x3520
// File: /workspace/github_cpp_makefile_star2_O1/tylerkaraszewski[P]Argyle/Utils.cpp
// Function: Utils::UriEscape(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
string Utils::UriEscape(const string& in)
{
  string out;
  for (size_t i = 0; i < in.size(); i++)
  {
    char current = in[i];
    if (
         ((current >= 65) && (current <= 90)) || // A-Z
         ((current >= 97) && (current <= 122)) || // a-z
         ((current >= 48) && (current <= 57)) || // 0-9
         (current == '$') || 
         (current == '&') || 
         (current == '+') || 
         (current == ',') || 
         (current == '/') || 
         (current == ':') || 
         (current == ';') || 
         (current == '=') || 
         (current == '?') || 
         (current == '@') || 
         (current == '-') || 
         (current == '_') || 
         (current == '.') || 
         (current == '+') || 
         (current == '!') || 
         (current == '*') || 
         (current == '(') || 
         (current == ')') ||
         (current == '\'')
       )
    {
      out += current;
    }
    else
    {
      char str[4] = {0};
      snprintf(str, 4, "%%%02hhx", current);
      out += str;
    }
  }
  return out;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %rbx
leaq 0x10(%rdi), %r13
movq %r13, (%rdi)
movq $0x0, 0x8(%rdi)
movb $0x0, 0x10(%rdi)
cmpq $0x0, 0x8(%rsi)
je 0xad65
movq %rsi, %r14
leaq 0x4(%rsp), %r12
movabsq $0x40000000d6007fe9, %rbp # imm = 0x40000000D6007FE9
xorl %r15d, %r15d
movq (%r14), %rax
movb (%rax,%r15), %al
movsbl %al, %ecx
leal -0x30(%rax), %edx
cmpb $0xa, %dl
jb 0xad25
movl %eax, %edx
andb $-0x21, %dl
addb $-0x41, %dl
cmpb $0x1a, %dl
jb 0xad25
movzbl %al, %eax
addl $-0x21, %eax
cmpl $0x3e, %eax
ja 0xad3a
btq %rax, %rbp
jae 0xad3a
movq %rbx, %rdi
movl %ecx, %esi
callq 0x3220
incq %r15
cmpq 0x8(%r14), %r15
jb 0xacf5
jmp 0xad65
movl $0x0, 0x4(%rsp)
movl $0x4, %esi
movq %r12, %rdi
leaq 0x19d4(%rip), %rdx      # 0xc725
xorl %eax, %eax
callq 0x3480
movq %rbx, %rdi
movq %r12, %rsi
callq 0x3560
jmp 0xad2f
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0xad79
movq %rax, %r14
movq (%rbx), %rdi
cmpq %r13, %rdi
je 0xad90
movq (%r13), %rsi
incq %rsi
callq 0x3290
movq %r14, %rdi
callq 0x3520
// File: /workspace/github_cpp_makefile_star2_O1/tylerkaraszewski[P]Argyle/Utils.cpp
// Function: Utils::getHttpDate[abi:cxx11](long)
string Utils::getHttpDate(time_t secondsSinceEpoch)
{
  char buffer[30] = {0};
  struct tm* date = gmtime(&secondsSinceEpoch);
  strftime(buffer, 30,  "%a, %d %b %Y %T %Z", date);
  return buffer;
}

// Assembly:
pushq %r14
pushq %rbx
subq $0x38, %rsp
movq %rdi, %rbx
leaq 0x8(%rsp), %rdi
movq %rsi, (%rdi)
xorps %xmm0, %xmm0
leaq 0x10(%rsp), %r14
movups %xmm0, 0xe(%r14)
movaps %xmm0, (%r14)
callq 0x3230
leaq 0x192d(%rip), %rdx      # 0xc72e
movl $0x1e, %esi
movq %r14, %rdi
movq %rax, %rcx
callq 0x3200
leaq 0x10(%rbx), %rax
movq %rax, (%rbx)
movq %r14, %rdi
callq 0x3160
leaq (%rsp,%rax), %rdx
addq $0x10, %rdx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x513e
movq %rbx, %rax
addq $0x38, %rsp
popq %rbx
popq %r14
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/tylerkaraszewski[P]Argyle/Config.cpp
// Function: Config::getString(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) const
string Config::getString(const string& key) const
{
  std::multimap<std::string, std::string>::const_iterator it = m_configValues.find(key);
  if (it == m_configValues.end())
  {
    return "";
  }
  return it->second;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x20(%rsi), %rdi
movq %rdx, %rsi
callq 0x7a14
addq $0x28, %r14
cmpq %r14, %rax
je 0xb5d5
leaq 0x10(%rbx), %rcx
movq %rcx, (%rbx)
movq 0x40(%rax), %rsi
movq 0x48(%rax), %rdx
addq %rsi, %rdx
movq %rbx, %rdi
callq 0x773e
jmp 0xb5ee
leaq 0x10(%rbx), %rax
movq %rax, (%rbx)
leaq 0xb7d(%rip), %rdx       # 0xc160
movq %rbx, %rdi
movq %rdx, %rsi
callq 0x513e
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/girdhari9[P]TEXPLORER/projectfile.cpp
// Function: main
int main(){
	getcwd(root_path,1000);
	home_path = (string)root_path;
	screen_point(0,0,1);
	list_print(home_path,1,0);
	pointer_move();
	return 0;	
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x40, %rsp
leaq 0xe884(%rip), %rbx      # 0x11290
movl $0x3e8, %esi            # imm = 0x3E8
movq %rbx, %rdi
callq 0x2120
leaq 0x30(%rsp), %r15
movq %r15, -0x10(%r15)
movq %rbx, %rdi
callq 0x20f0
leaq (%rax,%rbx), %rdx
leaq 0x20(%rsp), %r14
movq %r14, %rdi
movq %rbx, %rsi
callq 0x2b7c
leaq 0xec33(%rip), %rdi      # 0x11678
movq %r14, %rsi
callq 0x22f0
movq (%r14), %rdi
cmpq %r15, %rdi
je 0x2a62
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x2230
xorl %edi, %edi
xorl %esi, %esi
movl $0x1, %edx
callq 0x2c0c
leaq 0x10(%rsp), %r14
movq %r14, -0x10(%r14)
movq 0xebf8(%rip), %rsi      # 0x11678
movq 0xebf9(%rip), %rdx      # 0x11680
addq %rsi, %rdx
movq %rsp, %rbx
movq %rbx, %rdi
callq 0x2aec
movq %rbx, %rdi
movl $0x1, %esi
xorl %edx, %edx
callq 0x2fb8
movq (%rsp), %rdi
cmpq %r14, %rdi
je 0x2aba
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x2230
callq 0x42e0
xorl %eax, %eax
addq $0x40, %rsp
popq %rbx
popq %r14
popq %r15
retq
movq %rax, %rbx
movq (%rsp), %rdi
cmpq %r14, %rdi
je 0x2ae4
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x2230
movq %rbx, %rdi
callq 0x2400
// File: /workspace/github_cpp_makefile_star2_O1/girdhari9[P]TEXPLORER/screen_point.cpp
// Function: clear_scr(int)
void clear_scr(int start){
	gotoxy(start,1);
	for(int i=start;i<=vertical;i++){
		for(int i=1;i<=horizontal;i++){
			cout<<" ";
		}
	}
	gotoxy(start,1);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movl %edi, %ebx
movq 0xe123(%rip), %r14      # 0x10fd0
leaq 0xa17a(%rip), %rsi      # 0xd02e
movl $0x2, %edx
movq %r14, %rdi
callq 0x2290
movq %r14, %rdi
movl %ebx, %esi
callq 0x23f0
movq %rax, %r14
leaq 0xa15c(%rip), %rsi      # 0xd031
movl $0x1, %edx
movq %rax, %rdi
callq 0x2290
movq %r14, %rdi
movl $0x1, %esi
callq 0x23f0
leaq 0xa13d(%rip), %rsi      # 0xd033
movl $0x1, %edx
movq %rax, %rdi
callq 0x2290
cmpl %ebx, 0xe79b(%rip)      # 0x116a4
jl 0x2f52
movq 0xe0be(%rip), %r14      # 0x10fd0
leaq 0xa542(%rip), %r15      # 0xd45b
movl %ebx, %r12d
cmpl $0x0, 0xe77d(%rip)      # 0x116a0
jle 0x2f41
xorl %ebp, %ebp
movl $0x1, %edx
movq %r14, %rdi
movq %r15, %rsi
callq 0x2290
incl %ebp
cmpl 0xe761(%rip), %ebp      # 0x116a0
jl 0x2f27
leal 0x1(%r12), %eax
cmpl 0xe757(%rip), %r12d     # 0x116a4
movl %eax, %r12d
jl 0x2f1c
movq 0xe077(%rip), %r14      # 0x10fd0
leaq 0xa0ce(%rip), %rsi      # 0xd02e
movl $0x2, %edx
movq %r14, %rdi
callq 0x2290
movq %r14, %rdi
movl %ebx, %esi
callq 0x23f0
movq %rax, %rbx
leaq 0xa0b0(%rip), %rsi      # 0xd031
movl $0x1, %edx
movq %rax, %rdi
callq 0x2290
movq %rbx, %rdi
movl $0x1, %esi
callq 0x23f0
leaq 0xa091(%rip), %rsi      # 0xd033
movl $0x1, %edx
movq %rax, %rdi
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp 0x2290
nop
// File: /workspace/github_cpp_makefile_star2_O1/girdhari9[P]TEXPLORER/list_print.cpp
// Function: trim_name(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, int, int)
string trim_name(string name,int size,int flag){
	string t;
	for(int i=0;i<size;i++){
		t += name[i];
	}
	if(flag)	
		t += "...";
	return t;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %ecx, %ebp
movq %rdi, %rbx
leaq 0x10(%rdi), %r15
movq %r15, (%rdi)
movq $0x0, 0x8(%rdi)
movb $0x0, 0x10(%rdi)
testl %edx, %edx
jle 0x3c9a
movq %rsi, %r14
movl %edx, %r12d
xorl %r13d, %r13d
movq (%r14), %rax
movsbl (%rax,%r13), %esi
movq %rbx, %rdi
callq 0x21c0
incq %r13
cmpq %r13, %r12
jne 0x3c82
testl %ebp, %ebp
je 0x3cad
leaq 0x93ca(%rip), %rsi      # 0xd06f
movq %rbx, %rdi
callq 0x2450
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x3cc1
movq %rax, %r14
movq (%rbx), %rdi
cmpq %r15, %rdi
je 0x3cd7
movq (%r15), %rsi
incq %rsi
callq 0x2230
movq %r14, %rdi
callq 0x2400
nop
// File: /workspace/github_cpp_makefile_star2_O1/girdhari9[P]TEXPLORER/pointer_move.cpp
// Function: init_setting()
void init_setting(){
    tcgetattr(0, &initialrsettings);
    newrsettings = initialrsettings;
    newrsettings.c_lflag &= ~ECHO;
    newrsettings.c_lflag &= ~ICANON;
    // newrsettings.c_lflag &= ~ISIG;
    tcsetattr(0, TCSANOW, &newrsettings);
}

// Assembly:
pushq %rax
leaq 0xccf9(%rip), %rsi      # 0x11790
xorl %edi, %edi
callq 0x2270
movups 0xcceb(%rip), %xmm0     # 0x11790
movups %xmm0, 0xcd20(%rip)     # 0x117cc
movups 0xcced(%rip), %xmm0     # 0x117a0
movups %xmm0, 0xcd22(%rip)     # 0x117dc
movups 0xccef(%rip), %xmm0     # 0x117b0
movups %xmm0, 0xcd24(%rip)     # 0x117ec
movups 0xcced(%rip), %xmm0     # 0x117bc
movups %xmm0, 0xcd22(%rip)     # 0x117f8
andb $-0xb, 0xccfb(%rip)     # 0x117d8
leaq 0xcce8(%rip), %rdx      # 0x117cc
xorl %edi, %edi
xorl %esi, %esi
popq %rax
jmp 0x2330
// File: /workspace/github_cpp_makefile_star2_O1/girdhari9[P]TEXPLORER/pointer_move.cpp
// Function: my_handler(int)
void my_handler(int s){
    map<string,string>::iterator it;
    clear_scr(1);
    re_init_setting();
    for(it = trace_map.begin();it != trace_map.end(); it++){
        string file_path = home_path + "/Trash/" + it->first;
        unlink(file_path.c_str());
    }
    trace_map.erase(trace_map.begin(),trace_map.end());
    exit(0); 
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movl $0x1, %edi
callq 0x2e9c
leaq 0xcc83(%rip), %rdx      # 0x11790
xorl %edi, %edi
xorl %esi, %esi
callq 0x2330
leaq 0xcd53(%rip), %rax      # 0x11870
movq 0x18(%rax), %r15
leaq 0x8(%rax), %r14
cmpq %r14, %r15
je 0x4c08
leaq 0x18(%rsp), %rbp
leaq 0x38(%rsp), %rbx
leaq 0xcb39(%rip), %r13      # 0x11678
leaq 0x8(%rsp), %r12
movq %rbp, 0x8(%rsp)
movq (%r13), %rsi
movq 0x8(%r13), %rdx
addq %rsi, %rdx
movq %r12, %rdi
callq 0x2aec
movq %r12, %rdi
leaq 0x85a2(%rip), %rsi      # 0xd108
callq 0x2450
movq 0x20(%r15), %rsi
movq 0x28(%r15), %rdx
movq %r12, %rdi
callq 0x2090
movq %rbx, 0x28(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x4b9e
movq %rdx, 0x28(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x38(%rsp)
jmp 0x4ba4
movups (%rcx), %xmm0
movups %xmm0, (%rbx)
movq 0x8(%rax), %rdx
movq %rdx, 0x30(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq 0x8(%rsp), %rdi
cmpq %rbp, %rdi
je 0x4bd3
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x2230
movq 0x28(%rsp), %rdi
callq 0x2110
movq 0x28(%rsp), %rdi
cmpq %rbx, %rdi
je 0x4bf4
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x2230
movq %r15, %rdi
callq 0x2170
movq %rax, %r15
cmpq %r14, %rax
jne 0x4b44
leaq 0xcc61(%rip), %rdi      # 0x11870
movq 0x18(%rdi), %rsi
movq %r14, %rdx
callq 0x4c56
xorl %edi, %edi
callq 0x22e0
jmp 0x4c24
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %rbp, %rdi
je 0x4c3e
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x2230
movq %rbx, %rdi
callq 0x2400
// File: /workspace/github_cpp_makefile_star2_O1/girdhari9[P]TEXPLORER/cmd_functions.cpp
// Function: copy_file(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
void copy_file(string file_name, string dir_name){
    int source_file, dest_file, read_size;
    char buffer[1024];
    source_file = open(file_name.c_str(), O_RDONLY);
    dest_file = open(dir_name.c_str(), O_WRONLY|O_CREAT, S_IRUSR|S_IWUSR);
    while((read_size = read(source_file,buffer,sizeof(buffer))) > 0)
        write(dest_file,buffer,read_size);
    return; 
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
subq $0x400, %rsp            # imm = 0x400
movq %rsi, %r14
movq (%rdi), %rdi
xorl %esi, %esi
xorl %eax, %eax
callq 0x2190
movl %eax, %ebx
movq (%r14), %rdi
movl $0x41, %esi
movl $0x180, %edx            # imm = 0x180
xorl %eax, %eax
callq 0x2190
movl %eax, %ebp
movq %rsp, %rsi
movl $0x400, %edx            # imm = 0x400
movl %ebx, %edi
callq 0x2370
testl %eax, %eax
jle 0x4ead
movq %rsp, %r14
andl $0x7fffffff, %eax       # imm = 0x7FFFFFFF
movl %ebp, %edi
movq %r14, %rsi
movq %rax, %rdx
callq 0x20a0
movl $0x400, %edx            # imm = 0x400
movl %ebx, %edi
movq %r14, %rsi
callq 0x2370
testl %eax, %eax
jg 0x4e88
addq $0x400, %rsp            # imm = 0x400
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/girdhari9[P]TEXPLORER/cmd_functions.cpp
// Function: rename_file(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
void rename_file(string file_old_name, string file_new_name){
    int source_file, dest_file, read_size;
    char buffer[1024];
    source_file = open(file_old_name.c_str(), O_RDONLY);
    dest_file = open(file_new_name.c_str(), O_WRONLY|O_CREAT, S_IRUSR|S_IWUSR);
    while((read_size = read(source_file,buffer,sizeof(buffer))) > 0)
        write(dest_file,buffer,read_size);
    remove(file_old_name.c_str());
    return; 
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x408, %rsp            # imm = 0x408
movq %rsi, %r14
movq %rdi, %rbx
movq (%rdi), %rdi
xorl %esi, %esi
xorl %eax, %eax
callq 0x2190
movl %eax, %ebp
movq (%r14), %rdi
movl $0x41, %esi
movl $0x180, %edx            # imm = 0x180
xorl %eax, %eax
callq 0x2190
movl %eax, %r14d
movq %rsp, %rsi
movl $0x400, %edx            # imm = 0x400
movl %ebp, %edi
callq 0x2370
testl %eax, %eax
jle 0x559b
movq %rsp, %r15
andl $0x7fffffff, %eax       # imm = 0x7FFFFFFF
movl %r14d, %edi
movq %r15, %rsi
movq %rax, %rdx
callq 0x20a0
movl $0x400, %edx            # imm = 0x400
movl %ebp, %edi
movq %r15, %rsi
callq 0x2370
testl %eax, %eax
jg 0x5575
movq (%rbx), %rdi
addq $0x408, %rsp            # imm = 0x408
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp 0x2420
// File: /workspace/github_cpp_makefile_star2_O1/girdhari9[P]TEXPLORER/cmd_functions.cpp
// Function: print_search_file(std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>>&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
void print_search_file(vector<string> &v,string file_name){
    screen_point(0,0,1);
    for(unsigned int i = 0; i < 13 && i < v.size(); i++){
        string new_name = v[i];
        if(file_name.size() > 20)
            file_name = file_name.substr(1,19) + "...";
        cout<<"\033[21;35m "<<file_name<<"\033[0m";
        screen_point(i,30,0);
        cout<<v[i]<<"\n";
    }
    return;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x68, %rsp
movq %rsi, %rbx
movq %rdi, (%rsp)
xorl %r15d, %r15d
xorl %edi, %edi
xorl %esi, %esi
movl $0x1, %edx
callq 0x2c0c
leaq 0x58(%rsp), %r14
movl $0x8, %r12d
leaq 0x28(%rsp), %rbp
movq (%rsp), %rcx
movq (%rcx), %rax
movq 0x8(%rcx), %rcx
subq %rax, %rcx
sarq $0x5, %rcx
cmpq %r15, %rcx
jbe 0x5e8d
movq %r14, 0x48(%rsp)
movq -0x8(%rax,%r12), %rsi
movq (%rax,%r12), %rdx
addq %rsi, %rdx
leaq 0x48(%rsp), %rdi
callq 0x2aec
cmpq $0x15, 0x8(%rbx)
jb 0x5de7
movl $0x1, %edx
movl $0x13, %ecx
movq %rbp, %rdi
movq %rbx, %rsi
callq 0x2250
movq %rbp, %rdi
leaq 0x7315(%rip), %rsi      # 0xd06f
callq 0x2450
leaq 0x18(%rsp), %r13
movq %r13, 0x8(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x5d87
movq %rdx, 0x8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x18(%rsp)
jmp 0x5d8f
movups (%rcx), %xmm0
movups %xmm0, (%r13)
movq 0x8(%rax), %rdx
movq %rdx, 0x10(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq %rbx, %rdi
leaq 0x8(%rsp), %rsi
callq 0x22f0
movq 0x8(%rsp), %rdi
cmpq %r13, %rdi
je 0x5dcb
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x2230
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0x5de7
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x2230
movl $0x9, %edx
movq 0xb1dd(%rip), %rdi      # 0x10fd0
leaq 0x7333(%rip), %rsi      # 0xd12d
callq 0x2290
movq (%rbx), %rsi
movq 0x8(%rbx), %rdx
movq 0xb1c3(%rip), %rdi      # 0x10fd0
callq 0x2290
movl $0x4, %edx
movq %rax, %rdi
leaq 0x725c(%rip), %rsi      # 0xd07d
callq 0x2290
movl %r15d, %edi
movl $0x1e, %esi
xorl %edx, %edx
callq 0x2c0c
movq (%rsp), %rax
movq (%rax), %rax
movq -0x8(%rax,%r12), %rsi
movq (%rax,%r12), %rdx
movq 0xb184(%rip), %rdi      # 0x10fd0
callq 0x2290
movl $0x1, %edx
movq %rax, %rdi
leaq 0x72cb(%rip), %rsi      # 0xd12b
callq 0x2290
movq 0x48(%rsp), %rdi
cmpq %r14, %rdi
je 0x5e7c
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x2230
incq %r15
addq $0x20, %r12
cmpq $0xd, %r15
jne 0x5cfa
addq $0x68, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0x5ec2
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x2230
jmp 0x5ec2
jmp 0x5ebf
movq %rax, %rbx
movq 0x48(%rsp), %rdi
cmpq %r14, %rdi
je 0x5ed9
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x2230
movq %rbx, %rdi
callq 0x2400
nop
// File: /workspace/github_cpp_makefile_star2_O1/girdhari9[P]TEXPLORER/cmd_main.cpp
// Function: tokenized(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
void tokenized(string s){
    v.erase(v.begin(),v.end());
    for(unsigned int i = 0;i < s.size(); i++){
        vector<char> sub_v;
        vector<char>::iterator it;
        while(s[i] != ' ' && i < s.size()){
            if(s[i] == 92){ 
                sub_v.push_back(32);
                i += 2;
            }
            else{
                sub_v.push_back(s[i]);
                i++;
            }
        }
        string t;
        for(unsigned int j = 0; j < sub_v.size();j++)
            t += sub_v[j];
        v.push_back(t);
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq %rdi, %rbx
movq 0x719e(%rip), %rsi      # 0x11858
leaq 0x7197(%rip), %rdi      # 0x11858
movq 0x7198(%rip), %rdx      # 0x11860
callq 0xc40e
cmpq $0x0, 0x8(%rbx)
je 0xa7f5
xorl %ebp, %ebp
leaq 0x28(%rsp), %r13
leaq 0x18(%rsp), %r15
movq %rsp, %r12
xorps %xmm0, %xmm0
movaps %xmm0, (%rsp)
movq $0x0, 0x10(%rsp)
movl %ebp, %ecx
movq (%rbx), %rdx
movb (%rdx,%rcx), %al
cmpb $0x20, %al
je 0xa764
addq %rcx, %rdx
cmpq %rcx, 0x8(%rbx)
jbe 0xa764
cmpb $0x5c, %al
jne 0xa728
movb $0x20, 0x18(%rsp)
movq %r12, %rdi
movq %r15, %rsi
callq 0xc4d4
movl $0x2, %r14d
jmp 0xa751
movq 0x8(%rsp), %rsi
cmpq 0x10(%rsp), %rsi
je 0xa743
movb %al, (%rsi)
incq 0x8(%rsp)
movl $0x1, %r14d
jmp 0xa751
movl $0x1, %r14d
movq %r12, %rdi
callq 0xc5f2
addl %r14d, %ebp
movq (%rbx), %rdx
movb (%rdx,%rbp), %al
addq %rbp, %rdx
movq %rbp, %rcx
cmpb $0x20, %al
jne 0xa706
movq %r13, 0x18(%rsp)
movq $0x0, 0x20(%rsp)
movb $0x0, 0x28(%rsp)
movq (%rsp), %rax
cmpq %rax, 0x8(%rsp)
je 0xa7ad
movl $0x1, %r14d
xorl %ecx, %ecx
movsbl (%rax,%rcx), %esi
movq %r15, %rdi
callq 0x21c0
movl %r14d, %ecx
movq (%rsp), %rax
movq 0x8(%rsp), %rdx
subq %rax, %rdx
incl %r14d
cmpq %rcx, %rdx
ja 0xa78a
leaq 0x70a4(%rip), %rdi      # 0x11858
movq %r15, %rsi
callq 0x5f3e
movq 0x18(%rsp), %rdi
cmpq %r13, %rdi
je 0xa7d3
movq 0x28(%rsp), %rsi
incq %rsi
callq 0x2230
movq (%rsp), %rdi
testq %rdi, %rdi
je 0xa7e9
movq 0x10(%rsp), %rsi
subq %rdi, %rsi
callq 0x2230
incl %ebp
cmpq %rbp, 0x8(%rbx)
ja 0xa6e7
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0xa80d
jmp 0xa808
movq %rax, %rbx
jmp 0xa827
movq %rax, %rbx
movq 0x18(%rsp), %rdi
cmpq %r13, %rdi
je 0xa827
movq 0x28(%rsp), %rsi
incq %rsi
callq 0x2230
movq (%rsp), %rdi
testq %rdi, %rdi
je 0xa83d
movq 0x10(%rsp), %rsi
subq %rdi, %rsi
callq 0x2230
movq %rbx, %rdi
callq 0x2400
// File: /workspace/github_cpp_makefile_star2_O1/andersonfernandes[P]sm-chat/src/client.cpp
// Function: main
int main() {
  init();
  create_user();

  system("clear");
  cout << endl << "> Welcome " << current_user.name <<  endl;
  cout << endl << "The chat started. To quit the app type :q" << endl << endl;

  thread receive_messages_thread(receive_messages);
  receive_messages_thread.detach();
  send_messages();

  return 0;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
callq 0x278c
callq 0x27b7
leaq 0x19f9(%rip), %rdi      # 0x4020
callq 0x2100
movq 0x399d(%rip), %rbx      # 0x5fd0
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x2170
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x20d0
movq %rax, %r14
leaq 0x19c2(%rip), %rsi      # 0x4026
movl $0xa, %edx
movq %rax, %rdi
callq 0x21a0
leaq 0x3ae8(%rip), %r15      # 0x6160
movq %r15, %rdi
callq 0x2070
movq %r14, %rdi
movq %r15, %rsi
movq %rax, %rdx
callq 0x21a0
movq (%r14), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x2170
movsbl %al, %esi
movq %r14, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x20d0
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x2170
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x20d0
movq %rax, %rbx
leaq 0x194b(%rip), %rsi      # 0x4031
movl $0x29, %edx
movq %rax, %rdi
callq 0x21a0
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x2170
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x20d0
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x2170
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x20d0
leaq 0x187(%rip), %rsi       # 0x28d2
leaq -0x20(%rbp), %rbx
movq %rbx, %rdi
callq 0x2fd6
movq %rbx, %rdi
callq 0x2210
callq 0x2930
cmpq $0x0, -0x20(%rbp)
jne 0x2787
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
cmpq $0x0, -0x20(%rbp)
jne 0x2787
movq %rax, %rdi
callq 0x2220
callq 0x2050
// File: /workspace/github_cpp_makefile_star2_O1/andersonfernandes[P]sm-chat/src/client.cpp
// Function: init()
void init() {
  srand(time(NULL));

  if ((users_shmid < 0) || (users_count_shmid < 0)) {
    perror("shmget");
    cout << "Unable to connect with the server!" << endl;

    exit(1);
  }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
xorl %edi, %edi
callq 0x2130
movl %eax, %edi
callq 0x2160
cmpl $0x0, 0x39af(%rip)      # 0x6154
js 0x27b2
cmpl $0x0, 0x39aa(%rip)      # 0x6158
js 0x27b2
popq %rbp
retq
callq 0x2260
// File: /workspace/github_cpp_makefile_star2_O1/andersonfernandes[P]sm-chat/src/client.cpp
// Function: create_user()
void create_user() {
  User *users = att_users(users_shmid);
  int *users_count = att_users_count(users_count_shmid);

  User *new_user = new User();

  cout << "Username: ";
  cin.getline(new_user->name, 50);
  new_user->shmq_id = create_shmq();

  memcpy(&users[(*users_count)], new_user, sizeof(User));
  memcpy(users_count, &++(*users_count), sizeof(int));
  memcpy(&current_user, new_user, sizeof(User));

  shmdt(users);
  shmdt(users_count);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl 0x3989(%rip), %edi      # 0x6154
callq 0x25f0
movq %rax, %rbx
movl 0x397f(%rip), %edi      # 0x6158
callq 0x25fe
movq %rax, %r14
movl $0x38, %edi
callq 0x2190
movq %rax, %r15
xorps %xmm0, %xmm0
movaps %xmm0, (%rax)
movaps %xmm0, 0x10(%rax)
movaps %xmm0, 0x20(%rax)
movq $0x0, 0x30(%rax)
movq 0x37c5(%rip), %rdi      # 0x5fd0
leaq 0x1873(%rip), %rsi      # 0x4085
movl $0xa, %edx
callq 0x21a0
leaq 0x4(%r15), %r12
movq 0x37b9(%rip), %r13      # 0x5fe0
movq (%r13), %rax
movq -0x18(%rax), %rdi
addq %r13, %rdi
movl $0xa, %esi
callq 0x2170
movsbl %al, %ecx
movl $0x32, %edx
movq %r13, %rdi
movq %r12, %rsi
callq 0x2240
callq 0x2b8e
movl %eax, (%r15)
movslq (%r14), %rax
imulq $0x38, %rax, %rax
movq 0x30(%r15), %rcx
movq %rcx, 0x30(%rbx,%rax)
movups 0x10(%r15), %xmm0
movups 0x20(%r15), %xmm1
movups %xmm1, 0x20(%rbx,%rax)
movups %xmm0, 0x10(%rbx,%rax)
movups (%r15), %xmm0
movups %xmm0, (%rbx,%rax)
incl (%r14)
movq 0x30(%r15), %rax
movq %rax, 0x38fb(%rip)      # 0x618c
movups (%r15), %xmm0
movups 0x10(%r15), %xmm1
movups 0x20(%r15), %xmm2
movups %xmm2, 0x38d6(%rip)     # 0x617c
movups %xmm1, 0x38bf(%rip)     # 0x616c
movups %xmm0, 0x38a8(%rip)     # 0x615c
movq %rbx, %rdi
callq 0x2230
movq %r14, %rdi
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x2230
// File: /workspace/github_cpp_makefile_star2_O1/andersonfernandes[P]sm-chat/src/client.cpp
// Function: receive_messages()
void receive_messages() {
  while(true) {
    ShmQueue* shmq = att_shmq(current_user.shmq_id);
    if(!empty(shmq)) {
      Message* message = new Message();

      if(dequeue(shmq, message)) print_message(message);
    }
    shmdt(shmq);
  }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
movl 0x387d(%rip), %edi      # 0x615c
callq 0x25df
movq %rax, %rbx
movq %rax, %rdi
callq 0x24de
testb %al, %al
jne 0x2926
movl $0x108, %edi            # imm = 0x108
callq 0x2190
movq %rax, %r14
movl $0x108, %edx            # imm = 0x108
movq %rax, %rdi
xorl %esi, %esi
callq 0x20a0
movq %rbx, %rdi
movq %r14, %rsi
callq 0x256b
testb %al, %al
je 0x2926
movq %r14, %rdi
callq 0x2e3c
movq %rbx, %rdi
callq 0x2230
jmp 0x28d9
// File: /workspace/github_cpp_makefile_star2_O1/andersonfernandes[P]sm-chat/src/client.cpp
// Function: create_shmq()
int create_shmq() {
  key_t key = rand();
  int shmq_id = shmget(key, sizeof(ShmQueue), 0666|IPC_CREAT);

  ShmQueue* shmq = att_shmq(shmq_id);
  memcpy(shmq, create_queue(), sizeof(ShmQueue));
  shmdt(shmq);

  return shmq_id;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
callq 0x2040
movl $0x18, %esi
movl %eax, %edi
movl $0x3b6, %edx            # imm = 0x3B6
callq 0x20b0
movl %eax, %ebx
movl %eax, %edi
callq 0x25df
movq %rax, %r14
callq 0x246c
movups (%rax), %xmm0
movups %xmm0, (%r14)
movq 0x10(%rax), %rax
movq %rax, 0x10(%r14)
movq %r14, %rdi
callq 0x2230
movl %ebx, %eax
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/RegulusImpact[P]sadboy/include/jsoncpp.cpp
// Function: Json::Reader::parse(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, Json::Value&, bool)
bool
Reader::parse(const std::string& document, Value& root, bool collectComments) {
  document_.assign(document.begin(), document.end());
  const char* begin = document_.c_str();
  const char* end = begin + document_.length();
  return parse(begin, end, root, collectComments);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movl %ecx, %ebx
movq %rdx, %r14
movq %rdi, %r15
addq $0xa0, %rdi
movq (%rsi), %rcx
movq 0x8(%rsi), %r8
movq 0xa8(%r15), %rdx
xorl %esi, %esi
callq 0x4400
movq 0xa0(%r15), %rsi
movq 0xa8(%r15), %rdx
addq %rsi, %rdx
movq %r15, %rdi
movq %r14, %rcx
movl %ebx, %r8d
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp 0x4c82
nop
// File: /workspace/github_cpp_makefile_star2_O1/RegulusImpact[P]sadboy/include/jsoncpp.cpp
// Function: Json::Reader::parse(char const*, char const*, Json::Value&, bool)
bool Reader::parse(const char* beginDoc,
                   const char* endDoc,
                   Value& root,
                   bool collectComments) {
  if (!features_.allowComments_) {
    collectComments = false;
  }

  begin_ = beginDoc;
  end_ = endDoc;
  collectComments_ = collectComments;
  current_ = begin_;
  lastValueEnd_ = 0;
  lastValue_ = 0;
  commentsBefore_.clear();
  errors_.clear();
  while (!nodes_.empty())
    nodes_.pop();
  nodes_.push(&root);

  bool successful = readValue();
  Token token;
  skipCommentTokens(token);
  if (collectComments_ && !commentsBefore_.empty())
    root.setComment(commentsBefore_, commentAfter);
  if (features_.strictRoot_) {
    if (!root.isArray() && !root.isObject()) {
      // Set error location to start of doc, ideally should be first token found
      // in doc
      token.type_ = tokenError;
      token.start_ = beginDoc;
      token.end_ = endDoc;
      addError(
          "A valid JSON document must be either an array or an object value.",
          token);
      return false;
    }
  }
  return successful;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq %rcx, %r12
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
andb 0x108(%rdi), %r8b
movq %rsi, 0xc0(%rdi)
movq %rdx, 0xc8(%rdi)
movb %r8b, 0x10c(%rdi)
movq %rsi, 0xd0(%rdi)
movq $0x0, 0xf0(%rdi)
xorps %xmm0, %xmm0
movups %xmm0, 0xd8(%rdi)
movq 0xe8(%rdi), %rax
movb $0x0, (%rax)
addq $0x50, %rdi
callq 0x1574e
movq 0x30(%rbx), %rax
cmpq 0x10(%rbx), %rax
je 0x4cfe
movq %rbx, %rdi
callq 0x17194
jmp 0x4cea
movq %r12, -0x48(%rbp)
movq 0x40(%rbx), %rcx
addq $-0x8, %rcx
cmpq %rcx, %rax
je 0x4d19
movq %r12, (%rax)
addq $0x8, 0x30(%rbx)
jmp 0x4d25
leaq -0x48(%rbp), %rsi
movq %rbx, %rdi
callq 0x171e6
movq %rbx, %rdi
callq 0x4e9a
movl %eax, %r13d
leaq -0x60(%rbp), %rsi
movq %rbx, %rdi
callq 0x535a
cmpb $0x1, 0x10c(%rbx)
jne 0x4d65
movq 0xf0(%rbx), %rdx
testq %rdx, %rdx
je 0x4d65
movq 0xe8(%rbx), %rsi
movq %r12, %rdi
movl $0x2, %ecx
callq 0x109f6
cmpb $0x1, 0x109(%rbx)
jne 0x4dd8
movzwl 0x8(%r12), %eax
andl $0xfe, %eax
cmpw $0x6, %ax
je 0x4dd8
leaq -0x60(%rbp), %r12
movl $0xd, (%r12)
movq %r15, 0x8(%r12)
movq %r14, 0x10(%r12)
leaq -0x38(%rbp), %r15
movq %r15, -0x10(%r15)
leaq 0x19798(%rip), %rsi     # 0x1e53c
leaq 0x197d2(%rip), %rdx     # 0x1e57d
leaq -0x48(%rbp), %r14
movq %r14, %rdi
callq 0x173f0
movq %rbx, %rdi
movq %r14, %rsi
movq %r12, %rdx
xorl %ecx, %ecx
callq 0x53c6
movq -0x48(%rbp), %rdi
cmpq %r15, %rdi
je 0x4dd5
callq 0x4320
xorl %r13d, %r13d
movl %r13d, %eax
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq -0x48(%rbp), %rdi
cmpq %r15, %rdi
je 0x4dfb
callq 0x4320
movq %rbx, %rdi
callq 0x45d0
nop
// File: /workspace/github_cpp_makefile_star2_O1/RegulusImpact[P]sadboy/include/jsoncpp.cpp
// Function: Json::Reader::parse(std::istream&, Json::Value&, bool)
bool Reader::parse(std::istream& sin, Value& root, bool collectComments) {
  // std::istream_iterator<char> begin(sin);
  // std::istream_iterator<char> end;
  // Those would allow streamed input from a file, if parse() were a
  // template function.

  // Since JSONCPP_STRING is reference-counted, this at least does not
  // create an extra copy.
  JSONCPP_STRING doc;
  std::getline(sin, doc, (char)EOF);
  return parse(doc.data(), doc.data() + doc.size(), root, collectComments);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x20, %rsp
movl %ecx, %r14d
movq %rdx, %rbx
movq %rsi, %rax
movq %rdi, %r15
leaq -0x30(%rbp), %r12
movq %r12, -0x10(%r12)
movq $0x0, -0x8(%r12)
movb $0x0, (%r12)
leaq -0x40(%rbp), %rsi
movq %rax, %rdi
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0x4620
movq -0x40(%rbp), %rsi
movq -0x38(%rbp), %rdx
addq %rsi, %rdx
movzbl %r14b, %r8d
movq %r15, %rdi
movq %rbx, %rcx
callq 0x4c82
movl %eax, %ebx
movq -0x40(%rbp), %rdi
cmpq %r12, %rdi
je 0x4e71
callq 0x4320
movl %ebx, %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 0x4e91
callq 0x4320
movq %rbx, %rdi
callq 0x45d0
nop
// File: /workspace/github_cpp_makefile_star2_O1/RegulusImpact[P]sadboy/include/jsoncpp.cpp
// Function: Json::Reader::decodeString(Json::Reader::Token&)
bool Reader::decodeString(Token& token) {
  JSONCPP_STRING decoded_string;
  if (!decodeString(token, decoded_string))
    return false;
  Value decoded(decoded_string);
  currentValue().swapPayload(decoded);
  currentValue().setOffsetStart(token.start_ - begin_);
  currentValue().setOffsetLimit(token.end_ - begin_);
  return true;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %rsi, %r14
movq %rdi, %r15
leaq -0x60(%rbp), %r12
movq %r12, -0x10(%r12)
movq $0x0, -0x8(%r12)
movb $0x0, (%r12)
leaq -0x70(%rbp), %rdx
callq 0x66ec
movl %eax, %ebx
testb %al, %al
je 0x5ef0
movzwl -0x48(%rbp), %r13d
andl $0xfe00, %r13d          # imm = 0xFE00
leal 0x104(%r13), %eax
movw %ax, -0x48(%rbp)
xorps %xmm0, %xmm0
movups %xmm0, -0x40(%rbp)
movq $0x0, -0x30(%rbp)
movq -0x70(%rbp), %rdi
movl -0x68(%rbp), %esi
callq 0xdbb3
movq %rax, -0x50(%rbp)
movq 0x30(%r15), %rax
cmpq 0x38(%r15), %rax
jne 0x5e4a
movq 0x48(%r15), %rcx
movl $0x200, %eax            # imm = 0x200
addq -0x8(%rcx), %rax
movq -0x8(%rax), %rax
movzwl 0x8(%rax), %ecx
movzbl %cl, %edx
movl %ecx, %esi
orl $0x104, %esi            # imm = 0x104
movb $0x4, 0x8(%rax)
orl %edx, %r13d
movl $0x100, %edx            # imm = 0x100
movl %r13d, %edi
orl %edx, %edi
movw %di, -0x48(%rbp)
movq (%rax), %rdi
movq -0x50(%rbp), %r8
movq %r8, (%rax)
movq %rdi, -0x50(%rbp)
andl $0xff04, %esi           # imm = 0xFF04
movw %si, 0x8(%rax)
andl %edx, %ecx
orl %r13d, %ecx
movw %cx, -0x48(%rbp)
movq 0x30(%r15), %rax
movq 0x38(%r15), %rcx
movq %rax, %rsi
cmpq %rcx, %rax
jne 0x5eb0
movq 0x48(%r15), %rdx
movl $0x200, %esi            # imm = 0x200
addq -0x8(%rdx), %rsi
movq 0x8(%r14), %rdi
movq 0xc0(%r15), %rdx
subq %rdx, %rdi
movq -0x8(%rsi), %rsi
movq %rdi, 0x18(%rsi)
cmpq %rcx, %rax
jne 0x5ed8
movq 0x48(%r15), %rcx
movl $0x200, %eax            # imm = 0x200
addq -0x8(%rcx), %rax
movq -0x8(%rax), %rax
movq 0x10(%r14), %rcx
subq %rdx, %rcx
movq %rcx, 0x20(%rax)
leaq -0x50(%rbp), %rdi
callq 0xdfe0
movq -0x70(%rbp), %rdi
cmpq %r12, %rdi
je 0x5efe
callq 0x4320
movl %ebx, %eax
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x5f11
movq %rax, %rbx
movq -0x70(%rbp), %rdi
cmpq %r12, %rdi
je 0x5f22
callq 0x4320
movq %rbx, %rdi
callq 0x45d0
// File: /workspace/github_cpp_makefile_star2_O1/RegulusImpact[P]sadboy/include/jsoncpp.cpp
// Function: Json::Reader::addComment(char const*, char const*, Json::CommentPlacement)
void
Reader::addComment(Location begin, Location end, CommentPlacement placement) {
  assert(collectComments_);
  const JSONCPP_STRING& normalized = normalizeEOL(begin, end);
  if (placement == commentAfterOnSameLine) {
    assert(lastValue_ != 0);
    lastValue_->setComment(normalized, placement);
  } else {
    commentsBefore_ += normalized;
  }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
subq $0x20, %rsp
cmpb $0x0, 0x10c(%rdi)
je 0x65eb
movl %ecx, %r14d
movq %rdi, %rbx
leaq -0x30(%rbp), %rdi
callq 0x6646
cmpl $0x1, %r14d
jne 0x65b9
movq 0xe0(%rbx), %rdi
testq %rdi, %rdi
je 0x660a
movq -0x30(%rbp), %rsi
movq -0x28(%rbp), %rdx
movl $0x1, %ecx
callq 0x109f6
jmp 0x65d0
addq $0xe8, %rbx
movq -0x30(%rbp), %rsi
movq -0x28(%rbp), %rdx
movq %rbx, %rdi
callq 0x4100
leaq -0x20(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x65e2
callq 0x4320
addq $0x20, %rsp
popq %rbx
popq %r14
popq %rbp
retq
leaq 0x17fdf(%rip), %rdi     # 0x1e5d1
leaq 0x17fe9(%rip), %rsi     # 0x1e5e2
leaq 0x17ff6(%rip), %rcx     # 0x1e5f6
movl $0x26d, %edx            # imm = 0x26D
callq 0x4280
leaq 0x18029(%rip), %rdi     # 0x1e63a
leaq 0x17fca(%rip), %rsi     # 0x1e5e2
leaq 0x17fd7(%rip), %rcx     # 0x1e5f6
movl $0x270, %edx            # imm = 0x270
callq 0x4280
movq %rax, %rbx
leaq -0x20(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x663e
callq 0x4320
movq %rbx, %rdi
callq 0x45d0
// File: /workspace/github_cpp_makefile_star2_O1/RegulusImpact[P]sadboy/include/jsoncpp.cpp
// Function: Json::Reader::pushError(Json::Value const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, Json::Value const&)
bool Reader::pushError(const Value& value, const JSONCPP_STRING& message, const Value& extra) {
  ptrdiff_t const length = end_ - begin_;
  if(value.getOffsetStart() > length
    || value.getOffsetLimit() > length
    || extra.getOffsetLimit() > length)
    return false;
  Token token;
  token.type_ = tokenError;
  token.start_ = begin_ + value.getOffsetStart();
  token.end_ = begin_ + value.getOffsetLimit();
  ErrorInfo info;
  info.token_ = token;
  info.message_ = message;
  info.extra_ = begin_ + extra.getOffsetStart();
  errors_.push_back(info);
  return true;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x48, %rsp
movq %rcx, %r14
movq %rdi, %rbx
movq 0xc0(%rdi), %rdi
movq 0xc8(%rbx), %r8
subq %rdi, %r8
movq 0x18(%rsi), %rcx
cmpq %r8, %rcx
jle 0x7d27
xorl %eax, %eax
jmp 0x7d9d
movq 0x20(%rsi), %rsi
xorl %eax, %eax
cmpq %r8, %rsi
jg 0x7d9d
cmpq %r8, 0x20(%r14)
jg 0x7d9d
addq %rdi, %rcx
addq %rdi, %rsi
leaq -0x40(%rbp), %rdi
leaq -0x30(%rbp), %r15
movq %r15, -0x10(%r15)
movq $0x0, -0x8(%r15)
movb $0x0, (%r15)
movl $0xd, -0x28(%r15)
movq %rcx, -0x20(%r15)
movq %rsi, -0x18(%r15)
movq %rdx, %rsi
callq 0x41e0
movq 0xc0(%rbx), %rax
addq 0x18(%r14), %rax
leaq -0x58(%rbp), %rsi
movq %rax, 0x38(%rsi)
addq $0x50, %rbx
movq %rbx, %rdi
callq 0x1578c
movq -0x40(%rbp), %rdi
cmpq %r15, %rdi
je 0x7d9b
callq 0x4320
movb $0x1, %al
addq $0x48, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq -0x40(%rbp), %rdi
cmpq %r15, %rdi
je 0x7db9
callq 0x4320
movq %rbx, %rdi
callq 0x45d0
nop
// File: /workspace/github_cpp_makefile_star2_O1/RegulusImpact[P]sadboy/include/jsoncpp.cpp
// Function: Json::OurReader::normalizeEOL[abi:cxx11](char const*, char const*)
JSONCPP_STRING OurReader::normalizeEOL(OurReader::Location begin, OurReader::Location end) {
  JSONCPP_STRING normalized;
  normalized.reserve(static_cast<size_t>(end - begin));
  OurReader::Location current = begin;
  while (current != end) {
    char c = *current++;
    if (c == '\r') {
      if (current != end && *current == '\n')
         // convert dos EOL
         ++current;
      // convert Mac EOL
      normalized += '\n';
    } else {
      normalized += c;
    }
  }
  return normalized;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
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 %rdx, %rsi
subq %r15, %rsi
callq 0x4540
cmpq %r14, %r15
je 0x9c0e
leaq 0x1(%r15), %r13
movb (%r15), %al
cmpb $0xd, %al
jne 0x9bfb
cmpq %r14, %r13
je 0x9bec
cmpb $0xa, 0x1(%r15)
jne 0x9bec
addq $0x2, %r15
movq %r15, %r13
movq %rbx, %rdi
movl $0xa, %esi
callq 0x4300
jmp 0x9c06
movsbl %al, %esi
movq %rbx, %rdi
callq 0x4300
movq %r13, %r15
cmpq %r14, %r13
jne 0x9bce
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x9c22
movq %rax, %r14
movq (%rbx), %rdi
cmpq %r12, %rdi
je 0x9c32
callq 0x4320
movq %r14, %rdi
callq 0x45d0
// File: /workspace/github_cpp_makefile_star2_O1/RegulusImpact[P]sadboy/include/jsoncpp.cpp
// Function: Json::parseFromStream(Json::CharReader::Factory const&, std::istream&, Json::Value*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>*)
bool parseFromStream(
    CharReader::Factory const& fact, JSONCPP_ISTREAM& sin,
    Value* root, JSONCPP_STRING* errs)
{
  JSONCPP_OSTRINGSTREAM ssin;
  ssin << sin.rdbuf();
  JSONCPP_STRING doc = ssin.str();
  char const* begin = doc.data();
  char const* end = begin + doc.size();
  // Note that we do not actually need a null-terminator.
  CharReaderPtr const reader(fact.newCharReader());
  return reader->parse(begin, end, root, errs);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x198, %rsp            # imm = 0x198
movq %rcx, %rbx
movq %rdx, %r14
movq %rsi, %r12
movq %rdi, %r15
leaq -0x1c0(%rbp), %r13
movq %r13, %rdi
callq 0x44c0
movq (%r12), %rax
movq -0x18(%rax), %rax
movq 0xe8(%r12,%rax), %rsi
movq %r13, %rdi
callq 0x40b0
leaq -0x1b8(%rbp), %rsi
leaq -0x48(%rbp), %rdi
callq 0x4570
movq -0x48(%rbp), %r12
movq -0x40(%rbp), %r13
movq (%r15), %rax
movq %r15, %rdi
callq *0x10(%rax)
movq %rax, %r15
addq %r12, %r13
movq (%rax), %rax
movq %r15, %rdi
movq %r12, %rsi
movq %r13, %rdx
movq %r14, %rcx
movq %rbx, %r8
callq *0x10(%rax)
movl %eax, %ebx
movq (%r15), %rax
movq %r15, %rdi
callq *0x8(%rax)
leaq -0x38(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xce9c
callq 0x4320
movq 0x1d11d(%rip), %rsi     # 0x29fc0
leaq -0x1c0(%rbp), %rdi
callq 0x41d0
leaq -0x150(%rbp), %rdi
callq 0x4110
movl %ebx, %eax
addq $0x198, %rsp            # imm = 0x198
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq (%r15), %rax
movq %r15, %rdi
callq *0x8(%rax)
jmp 0xcee0
movq %rax, %rbx
leaq -0x38(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xcef9
callq 0x4320
jmp 0xcef9
jmp 0xcef6
movq %rax, %rbx
movq 0x1d0c0(%rip), %rsi     # 0x29fc0
leaq -0x1c0(%rbp), %rdi
callq 0x41d0
leaq -0x150(%rbp), %rdi
callq 0x4110
movq %rbx, %rdi
callq 0x45d0
// File: /workspace/github_cpp_makefile_star2_O1/RegulusImpact[P]sadboy/include/jsoncpp.cpp
// Function: Json::operator>>(std::istream&, Json::Value&)
JSONCPP_ISTREAM& operator>>(JSONCPP_ISTREAM& sin, Value& root) {
  CharReaderBuilder b;
  JSONCPP_STRING errs;
  bool ok = parseFromStream(b, sin, &root, &errs);
  if (!ok) {
    throwRuntimeError(errs);
  }
  return sin;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x50, %rsp
movq %rsi, %r14
movq %rdi, %rbx
leaq -0x70(%rbp), %r15
movq %r15, %rdi
callq 0xb1c6
leaq -0x30(%rbp), %r12
movq %r12, -0x10(%r12)
movq $0x0, -0x8(%r12)
movb $0x0, (%r12)
leaq -0x40(%rbp), %rcx
movq %r15, %rdi
movq %rbx, %rsi
movq %r14, %rdx
callq 0xcdfc
testb %al, %al
je 0xcfa0
movq -0x40(%rbp), %rdi
cmpq %r12, %rdi
je 0xcf7c
callq 0x4320
leaq 0x1ca2d(%rip), %rax     # 0x299b0
leaq -0x68(%rbp), %rdi
movq %rax, -0x8(%rdi)
callq 0xdfe0
movq %rbx, %rax
addq $0x50, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
leaq -0x40(%rbp), %rdi
callq 0x544e
movq %rax, %rbx
movq -0x40(%rbp), %rdi
cmpq %r12, %rdi
je 0xcfba
callq 0x4320
leaq 0x1c9ef(%rip), %rax     # 0x299b0
leaq -0x68(%rbp), %rdi
movq %rax, -0x8(%rdi)
callq 0xdfe0
movq %rbx, %rdi
callq 0x45d0
// File: /workspace/github_cpp_makefile_star2_O1/RegulusImpact[P]sadboy/include/jsoncpp.cpp
// Function: Json::ValueIteratorBase::index() const
UInt ValueIteratorBase::index() const {
  const Value::CZString czstring = (*current_).first;
  if (!czstring.data())
    return czstring.index();
  return Value::UInt(-1);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %rbx
subq $0x18, %rsp
movq (%rdi), %rsi
addq $0x20, %rsi
leaq -0x18(%rbp), %rbx
movq %rbx, %rdi
callq 0xd6a2
movq (%rbx), %rdi
testq %rdi, %rdi
je 0xd1ff
movl -0x10(%rbp), %eax
andl $0x3, %eax
movl $0xffffffff, %ebx       # imm = 0xFFFFFFFF
cmpl $0x1, %eax
jne 0xd202
callq 0x4450
jmp 0xd202
movl -0x10(%rbp), %ebx
movl %ebx, %eax
addq $0x18, %rsp
popq %rbx
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/RegulusImpact[P]sadboy/include/jsoncpp.cpp
// Function: Json::ValueIteratorBase::name[abi:cxx11]() const
JSONCPP_STRING ValueIteratorBase::name() const {
  char const* keey;
  char const* end;
  keey = memberName(&end);
  if (!keey) return JSONCPP_STRING();
  return JSONCPP_STRING(keey, end);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq (%rsi), %rax
movq 0x20(%rax), %rsi
testq %rsi, %rsi
je 0xd22c
movl 0x28(%rax), %edx
shrl $0x2, %edx
addq %rsi, %rdx
jmp 0xd230
xorl %edx, %edx
xorl %esi, %esi
leaq 0x10(%rbx), %rax
movq %rax, (%rbx)
testq %rsi, %rsi
je 0xd246
movq %rbx, %rdi
callq 0x173f0
jmp 0xd252
movq $0x0, 0x8(%rbx)
movb $0x0, 0x10(%rbx)
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %rbp
retq