LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_cpp_makefile_star2_O2/atfrank[P]PCASA/lib/Select.cpp
// Function: Select::atom(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::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>>>> const&)
bool Select::atom(const std::string &str, std::string typein, const std::vector<std::string> &AtomVec){
  size_t pos;
  std::string atmType;

  pos=str.find_first_not_of("0123456789");
  atmType=str.substr(pos,1);

  if (typein.compare("heavy") == 0 && atmType.compare("H") != 0 && std::find(AtomVec.begin(),AtomVec.end(), str) == AtomVec.end()){
    return true;
  }
  else if (atmType.compare(typein) == 0 && std::find(AtomVec.begin(),AtomVec.end(), str) == AtomVec.end()){
    return true;
  }
  else{
    return false;
  }
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %rcx, %rbx
movq %rdx, %r15
movq %rsi, %r14
leaq 0x18(%rsp), %rax
movq %rax, -0x10(%rax)
andq $0x0, -0x8(%rax)
movb $0x0, (%rax)
leaq 0x5c9c(%rip), %rsi      # 0x2e3b0
movq %r14, %rdi
xorl %edx, %edx
callq 0x41b0
leaq 0x28(%rsp), %rdi
pushq $0x1
popq %rcx
movq %r14, %rsi
movq %rax, %rdx
callq 0x4340
leaq 0x8(%rsp), %rdi
leaq 0x28(%rsp), %r12
movq %r12, %rsi
callq 0x4390
movq %r12, %rdi
callq 0x4170
leaq 0x6403(%rip), %rsi      # 0x2eb55
movq %r15, %rdi
callq 0x4100
testl %eax, %eax
je 0x28788
leaq 0x8(%rsp), %rdi
movq %r15, %rsi
callq 0x4040
testl %eax, %eax
jne 0x28784
movq (%rbx), %rdi
movq 0x8(%rbx), %rsi
movq %r14, %rdx
callq 0x1deb5
cmpq 0x8(%rbx), %rax
je 0x287b2
xorl %ebx, %ebx
jmp 0x287b4
leaq 0x5eac(%rip), %rsi      # 0x2e63b
leaq 0x8(%rsp), %rdi
callq 0x4100
testl %eax, %eax
je 0x2875e
movq (%rbx), %rdi
movq 0x8(%rbx), %rsi
movq %r14, %rdx
callq 0x1deb5
cmpq 0x8(%rbx), %rax
jne 0x2875e
movb $0x1, %bl
leaq 0x8(%rsp), %rdi
callq 0x4170
movl %ebx, %eax
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
jmp 0x287d2
jmp 0x287d2
jmp 0x287d2
movq %rax, %rbx
leaq 0x8(%rsp), %rdi
callq 0x4170
movq %rbx, %rdi
callq 0x4560
nop
// File: /workspace/github_cpp_makefile_star2_O2/atfrank[P]PCASA/lib/Trajectory.cpp
// Function: Trajectory::Trajectory()
Trajectory::Trajectory (){
  swab=false;
  mol=NULL;
  show=false;
  scan=false;
  iframe=0;
  hdrSize=0;
  frameSize=0;
  lastFrame=0;
  lastPos=0;
  hdr.clear();
  nframe=0;
  npriv=0;
  nsavc=0;
  nstep=0;
  qvelocity=false;
  dof=0;
  nfixed=0;
  tstep=0.0;
  qcrystal=false;
  q4d=false;
  qcharge=false;
  qcheck=false;
  version=0;
  title.clear();
  natom=0;
  fixinx.clear();
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
leaq 0x10(%rdi), %rax
movq %rax, (%rdi)
andq $0x0, 0x8(%rdi)
xorl %eax, %eax
movb %al, 0x10(%rdi)
leaq 0x68(%rdi), %rcx
movq %rcx, 0x58(%rdi)
xorps %xmm0, %xmm0
movups %xmm0, 0xb0(%rdi)
andq $0x0, 0xc0(%rdi)
leaq 0x188(%rdi), %rcx
movups %xmm0, 0xd0(%rdi)
movups %xmm0, 0xe0(%rdi)
movups %xmm0, 0xf0(%rdi)
movups %xmm0, 0x130(%rdi)
movups %xmm0, 0x140(%rdi)
movups %xmm0, 0x150(%rdi)
movups %xmm0, 0x160(%rdi)
andq $0x0, 0x170(%rdi)
movq %rcx, 0x178(%rdi)
andq $0x0, 0x180(%rdi)
movb %al, 0x188(%rdi)
movb %al, 0x20(%rdi)
andq $0x0, 0x28(%rdi)
andw $0x0, 0x30(%rdi)
andq $0x0, 0x60(%rdi)
movb %al, 0x68(%rdi)
movups %xmm0, 0x34(%rdi)
movups %xmm0, 0x48(%rdi)
andl $0x0, 0x88(%rdi)
addq $0xb0, %rdi
movups %xmm0, 0x78(%rbx)
movups %xmm0, 0x90(%rbx)
movups %xmm0, 0xa0(%rbx)
callq 0x58a4
andl $0x0, 0xc8(%rbx)
movq 0xd0(%rbx), %rax
cmpq %rax, 0xd8(%rbx)
je 0x29830
movq %rax, 0xd8(%rbx)
popq %rbx
retq
// File: /workspace/github_cpp_makefile_star2_O2/atfrank[P]PCASA/lib/Trajectory.cpp
// Function: Trajectory::setDefaultHeader()
void Trajectory::setDefaultHeader(){
  this->setFormat("CHARMM");
  this->setHdr("CORD");
  this->setNFrame(0);
  this->setNPriv(1);
  this->setNSavc(1);
  this->setNStep(1);
  this->setQVelocity(false);
  this->setDOF(0);
  this->setNFixed(0);
  this->setTStep(1.0);
  this->setQCrystal(false);
  this->setQ4D(false);
  this->setQCharge(false);
  this->setQCheck(false);
  this->setVersion(0);
  title.clear();
  this->setNAtom(0);
  fixinx.clear();
}

// Assembly:
pushq %r14
pushq %rbx
subq $0x28, %rsp
movq %rdi, %rbx
leaq 0x4cbf(%rip), %rsi      # 0x2e502
leaq 0x8(%rsp), %rdi
leaq 0x7(%rsp), %rdx
callq 0x58d8
leaq 0x8(%rsp), %rsi
movq %rbx, %rdi
callq 0x41a0
leaq 0x8(%rsp), %rdi
callq 0x4170
leaq 0x5668(%rip), %rsi      # 0x2eed8
leaq 0x8(%rsp), %rdi
leaq 0x7(%rsp), %rdx
callq 0x58d8
leaq 0x58(%rbx), %rdi
leaq 0x8(%rsp), %rsi
callq 0x41a0
leaq 0x8(%rsp), %r14
movq %r14, %rdi
callq 0x4170
movaps 0x560f(%rip), %xmm0     # 0x2eeb0
movups %xmm0, 0x78(%rbx)
andl $0x0, 0x88(%rbx)
andq $0x0, 0x90(%rbx)
movabsq $0x3ff0000000000000, %rax # imm = 0x3FF0000000000000
movq %rax, (%r14)
leaq 0x8(%rsp), %rsi
movq %rbx, %rdi
callq 0x2997e
leaq 0xb0(%rbx), %rdi
xorps %xmm0, %xmm0
movups %xmm0, 0x9c(%rbx)
andl $0x0, 0xac(%rbx)
callq 0x58a4
andl $0x0, 0xc8(%rbx)
movq 0xd0(%rbx), %rax
cmpq %rax, 0xd8(%rbx)
je 0x29909
movq %rax, 0xd8(%rbx)
addq $0x28, %rsp
popq %rbx
popq %r14
retq
jmp 0x29915
jmp 0x29924
movq %rax, %rbx
leaq 0x8(%rsp), %rdi
callq 0x4170
jmp 0x29927
movq %rax, %rbx
movq %rbx, %rdi
callq 0x4560
nop
// File: /workspace/github_cpp_makefile_star2_O2/atfrank[P]PCASA/lib/Trajectory.cpp
// Function: Trajectory::findFormat(std::basic_ifstream<char, std::char_traits<char>>&)
bool Trajectory::findFormat(std::ifstream &trjin){
  binbuf *buffer;
  int length;

  buffer=NULL;

  trjin.seekg(0, std::ios::beg);

  buffer=readFortran(trjin, buffer, length);

  hdr.assign(buffer[0].c,4);

  if (length == 84 && hdr.compare("CORD") == 0){
    format="CHARMM";
    swab=false;
  }

  if (buffer != NULL){
    delete buffer;
  }

  trjin.seekg(0, std::ios::beg);

  clearHeader();

  if (format.length() > 0){
    return true;
  }
  else{
    return false;
  }
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x10, %rsp
movq %rsi, %r14
movq %rdi, %rbx
movq %rsi, %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x4420
leaq 0xc(%rsp), %r13
movq %rbx, %rdi
movq %r14, %rsi
xorl %edx, %edx
movq %r13, %rcx
callq 0x2b80a
movq %rax, %r15
leaq 0x58(%rbx), %r12
pushq $0x4
popq %rdx
movq %r12, %rdi
movq %rax, %rsi
callq 0x4400
cmpl $0x54, (%r13)
jne 0x29a76
leaq 0x5481(%rip), %rsi      # 0x2eed8
movq %r12, %rdi
callq 0x4100
testl %eax, %eax
jne 0x29a76
leaq 0x4a98(%rip), %rsi      # 0x2e502
movq %rbx, %rdi
callq 0x45c0
movb $0x0, 0x20(%rbx)
testq %r15, %r15
je 0x29a86
pushq $0x4
popq %rsi
movq %r15, %rdi
callq 0x4330
movq %r14, %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x4420
movq %rbx, %rdi
callq 0x29ab0
cmpq $0x0, 0x8(%rbx)
setne %al
addq $0x10, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O2/atfrank[P]PCASA/lib/Trajectory.cpp
// Function: Trajectory::clearHeader()
void Trajectory::clearHeader(){
  hdr.clear();
  nframe=0;
  npriv=0;
  nsavc=0;
  nstep=0;
  qvelocity=0;
  dof=0;
  nfixed=0;
  tstep=0.0;
  qcrystal=0;
  q4d=0;
  qcharge=0;
  qcheck=0;
  version=0;
  title.clear();
  natom=0;
  fixinx.clear();
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
andq $0x0, 0x60(%rdi)
movq 0x58(%rdi), %rax
movb $0x0, (%rax)
addq $0xb0, %rdi
andl $0x0, 0x88(%rbx)
xorps %xmm0, %xmm0
movups %xmm0, 0x78(%rbx)
movups %xmm0, 0x90(%rbx)
movups %xmm0, 0xa0(%rbx)
callq 0x58a4
andl $0x0, 0xc8(%rbx)
movq 0xd0(%rbx), %rax
cmpq %rax, 0xd8(%rbx)
je 0x29b06
movq %rax, 0xd8(%rbx)
popq %rbx
retq
// File: /workspace/github_cpp_makefile_star2_O2/atfrank[P]PCASA/lib/Trajectory.cpp
// Function: Trajectory::cloneHeader(Trajectory*)
void Trajectory::cloneHeader(Trajectory *ftrjin){
  format=ftrjin->getFormat();
  hdr=ftrjin->getHdr();
  nframe=ftrjin->getNFrame();
  npriv=ftrjin->getNPriv();
  nsavc=ftrjin->getNSavc();
  nstep=ftrjin->getNStep();
  qvelocity=ftrjin->getQVelocity();

  dof=ftrjin->getDOF();
  nfixed=ftrjin->getNFixed();
  tstep=ftrjin->getTStepAKMA();
  qcrystal=ftrjin->getQCrystal();
  q4d=ftrjin->getQ4D();
  qcharge=ftrjin->getQCharge();
  qcheck=ftrjin->getQCheck();

  version=ftrjin->getVersion();

  title=ftrjin->getTitle();
  natom=ftrjin->getNAtom();
  for (unsigned int i=0; i< ftrjin->getFixInxVecSize(); i++){
    fixinx.push_back(ftrjin->getFixInx(i));
  }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x20, %rsp
movq %rsi, %rbx
movq %rdi, %r14
movq %rsp, %r15
movq %r15, %rdi
callq 0x4430
movq %r14, %rdi
movq %r15, %rsi
callq 0x4390
movq %r15, %rdi
callq 0x4170
leaq 0x58(%rbx), %rsi
movq %rsp, %r12
movq %r12, %rdi
callq 0x4430
leaq 0x58(%r14), %rdi
movq %r12, %rsi
callq 0x4390
movq %r12, %rdi
callq 0x4170
movups 0x78(%rbx), %xmm0
movups %xmm0, 0x78(%r14)
movl 0x88(%rbx), %eax
movl %eax, 0x88(%r14)
movq 0x90(%rbx), %rax
movq %rax, 0x90(%r14)
movss 0x98(%rbx), %xmm0
movss %xmm0, 0x98(%r14)
movups 0x9c(%rbx), %xmm0
movups %xmm0, 0x9c(%r14)
movl 0xac(%rbx), %eax
movl %eax, 0xac(%r14)
movq %rsp, %r12
movq %r12, %rdi
movq %rbx, %rsi
callq 0x2a6f2
leaq 0xb0(%r14), %rdi
movq %r12, %rsi
callq 0x2bc6e
movq %r12, %rdi
callq 0x59a0
movl 0xc8(%rbx), %eax
movl %eax, 0xc8(%r14)
addq $0xd0, %r14
xorl %ebp, %ebp
movq 0xd8(%rbx), %rax
subq 0xd0(%rbx), %rax
shrq $0x2, %rax
cmpl %eax, %ebp
jae 0x2a6c5
movq %rbx, %rdi
movl %ebp, %esi
callq 0x2a7b0
movl %eax, (%rsp)
movq %r14, %rdi
movq %r15, %rsi
callq 0x2bcc0
incl %ebp
jmp 0x2a693
addq $0x20, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O2/atfrank[P]PCASA/lib/Trajectory.cpp
// Function: Trajectory::getTitle[abi:cxx11]()
std::vector<std::string> Trajectory::getTitle(){
  for (unsigned int i=0; i< title.size(); i++){
    if (title[i].find("*") != 0){
      title[i].insert(0,"*");
    }
    title[i].resize(80, ' ');
  }
  return title;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %r15
movq %rdi, (%rsp)
leaq 0xb0(%rsi), %r14
xorl %r13d, %r13d
leaq 0x48aa(%rip), %r12      # 0x2efbf
pushq $0x20
popq %rbp
movl %r13d, %r13d
movq 0xb0(%r15), %rdi
movq 0xb8(%r15), %rax
subq %rdi, %rax
sarq $0x5, %rax
cmpq %r13, %rax
jbe 0x2a773
movq %r13, %rbx
shlq $0x5, %rbx
addq %rbx, %rdi
movq %r12, %rsi
xorl %edx, %edx
callq 0x45f0
testq %rax, %rax
je 0x2a75e
movq (%r14), %rdi
addq %rbx, %rdi
xorl %esi, %esi
movq %r12, %rdx
callq 0x40d0
addq (%r14), %rbx
movq %rbx, %rdi
pushq $0x50
popq %rsi
movl %ebp, %edx
callq 0x4110
incl %r13d
jmp 0x2a718
movq (%rsp), %rbx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x1d074
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O2/atfrank[P]PCASA/lib/Trajectory.cpp
// Function: Trajectory::setTitle(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>>>> const&)
void Trajectory::setTitle(const std::vector<std::string> &titlein){
  title=titlein;
  if (title.size() == 1){
    title.resize(2);
  }
  for (unsigned int i=0; i< title.size(); i++){
    if (title[i].find("*") != 0){
      title[i].insert(0,"*");
    }
    title[i].resize(80, ' ');
  }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %rbx
leaq 0xb0(%rdi), %r14
movq %r14, %rdi
callq 0x1d670
movq 0xb8(%rbx), %rax
subq 0xb0(%rbx), %rax
cmpq $0x20, %rax
jne 0x2b5e0
pushq $0x2
popq %rsi
movq %r14, %rdi
callq 0x1707a
xorl %r12d, %r12d
leaq 0x39d5(%rip), %r15      # 0x2efbf
pushq $0x20
popq %rbp
movl %r12d, %r12d
movq 0xb0(%rbx), %rdi
movq 0xb8(%rbx), %rax
subq %rdi, %rax
sarq $0x5, %rax
cmpq %r12, %rax
jbe 0x2b648
movq %r12, %r13
shlq $0x5, %r13
addq %r13, %rdi
movq %r15, %rsi
xorl %edx, %edx
callq 0x45f0
testq %rax, %rax
je 0x2b633
movq (%r14), %rdi
addq %r13, %rdi
xorl %esi, %esi
movq %r15, %rdx
callq 0x40d0
addq (%r14), %r13
movq %r13, %rdi
pushq $0x50
popq %rsi
movl %ebp, %edx
callq 0x4110
incl %r12d
jmp 0x2b5ed
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O2/atfrank[P]PCASA/lib/Trajectory.cpp
// Function: Trajectory::setTitle(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, unsigned int const&)
void Trajectory::setTitle(const std::string &titlein, const unsigned int &element){
  if (title.size() < element){
    title.resize(element);
  }
  title[element]=titlein;
  if (title.size() == 1){
    title.resize(2);
  }
  for (unsigned int i=0; i< title.size(); i++){
    if (title[i].find("*") != 0){
      title[i].insert(0,"*");
    }
    title[i].resize(80, ' ');
  }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %r15
movq %rdi, %rbx
leaq 0xb0(%rdi), %r14
movq 0xb0(%rdi), %rax
movq 0xb8(%rdi), %rcx
subq %rax, %rcx
sarq $0x5, %rcx
movl (%rdx), %esi
cmpq %rsi, %rcx
jae 0x2b69e
movq %rdx, %r12
movq %r14, %rdi
callq 0x1707a
movl (%r12), %esi
movq (%r14), %rax
shlq $0x5, %rsi
addq %rax, %rsi
movq %rsi, %rdi
movq %r15, %rsi
callq 0x41a0
movq 0xb8(%rbx), %rax
subq 0xb0(%rbx), %rax
cmpq $0x20, %rax
jne 0x2b6cf
pushq $0x2
popq %rsi
movq %r14, %rdi
callq 0x1707a
xorl %r12d, %r12d
leaq 0x38e6(%rip), %r15      # 0x2efbf
pushq $0x20
popq %rbp
movl %r12d, %r12d
movq 0xb0(%rbx), %rdi
movq 0xb8(%rbx), %rax
subq %rdi, %rax
sarq $0x5, %rax
cmpq %r12, %rax
jbe 0x2b737
movq %r12, %r13
shlq $0x5, %r13
addq %r13, %rdi
movq %r15, %rsi
xorl %edx, %edx
callq 0x45f0
testq %rax, %rax
je 0x2b722
movq (%r14), %rdi
addq %r13, %rdi
xorl %esi, %esi
movq %r15, %rdx
callq 0x40d0
addq (%r14), %r13
movq %r13, %rdi
pushq $0x50
popq %rsi
movl %ebp, %edx
callq 0x4110
incl %r12d
jmp 0x2b6dc
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O2/atfrank[P]PCASA/lib/Trajectory.cpp
// Function: Trajectory::addTitle(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
void Trajectory::addTitle(const std::string &titlein){
  title.push_back(titlein);
  for (unsigned int i=0; i< title.size(); i++){
    if (title[i].find("*") != 0){
      title[i].insert(0,"*");
    }
    title[i].resize(80, ' ');
  }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %rbx
leaq 0xb0(%rdi), %r14
movq %r14, %rdi
callq 0x58ac
xorl %r12d, %r12d
leaq 0x3846(%rip), %r15      # 0x2efbf
pushq $0x20
popq %rbp
movl %r12d, %r12d
movq 0xb0(%rbx), %rdi
movq 0xb8(%rbx), %rax
subq %rdi, %rax
sarq $0x5, %rax
cmpq %r12, %rax
jbe 0x2b7d7
movq %r12, %r13
shlq $0x5, %r13
addq %r13, %rdi
movq %r15, %rsi
xorl %edx, %edx
callq 0x45f0
testq %rax, %rax
je 0x2b7c2
movq (%r14), %rdi
addq %r13, %rdi
xorl %esi, %esi
movq %r15, %rdx
callq 0x40d0
addq (%r14), %r13
movq %r13, %rdi
pushq $0x50
popq %rsi
movl %ebp, %edx
callq 0x4110
incl %r12d
jmp 0x2b77c
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O2/atfrank[P]PCASA/lib/Trajectory.cpp
// Function: Trajectory::binbuf* Trajectory::readFortran<Trajectory::binbuf>(std::basic_ifstream<char, std::char_traits<char>>&, Trajectory::binbuf*, int&)
BinBuf* Trajectory::readFortran(std::ifstream &trjin, BinBuf *buffer, int &length){
  int recStart;
  int recEnd;
  BinBuf *binOut;

  binOut=NULL;

  //Read Fortran record lengths and buffer
  trjin.read(reinterpret_cast<char*>(&recStart), sizeof(int));
  binOut = new BinBuf [recStart];
  trjin.read(reinterpret_cast<char*>(binOut), recStart);
  trjin.read(reinterpret_cast<char*>(&recEnd), sizeof(int));

  //Check Fortran record length mismatch
  if (recStart == recEnd){
    length=recStart;
  }
  else{
    std::cerr << "Error: Fortran record length marker mismatch" << std::endl;
    std::exit(0);
  }

  return binOut;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rcx, %rbx
movq %rsi, %r12
leaq 0x4(%rsp), %r14
pushq $0x4
popq %r13
movq %rsi, %rdi
movq %r14, %rsi
movq %r13, %rdx
callq 0x43b0
movslq (%r14), %rbp
leaq (,%rbp,4), %rax
testq %rbp, %rbp
pushq $-0x1
popq %rdi
cmovnsq %rax, %rdi
callq 0x4030
movq %rax, %r15
movq %r12, %rdi
movq %rax, %rsi
movq %rbp, %rdx
callq 0x43b0
movq %rsp, %rbp
movq %r12, %rdi
movq %rbp, %rsi
movq %r13, %rdx
callq 0x43b0
movl (%r14), %eax
cmpl (%rbp), %eax
jne 0x2b88a
movl %eax, (%rbx)
movq %r15, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x3b975f(%rip), %rdi    # 0x3e4ff0
leaq 0x3645(%rip), %rsi      # 0x2eedd
callq 0x4300
movq %rax, %rdi
callq 0x4180
xorl %edi, %edi
callq 0x4380
// File: /workspace/github_cpp_makefile_star2_O2/atfrank[P]PCASA/lib/Trajectory.cpp
// Function: void Trajectory::writeFortran<Trajectory::binbuf>(std::basic_ofstream<char, std::char_traits<char>>&, Trajectory::binbuf*, int&)
void Trajectory::writeFortran(std::ofstream &trjout, BinBuf *buffer, int &length){
  
  //Write Fortran record lengths and buffer
  trjout.write(reinterpret_cast<char*>(&length), sizeof(int));
  trjout.write(reinterpret_cast<char*>(buffer), length);
  trjout.write(reinterpret_cast<char*>(&length), sizeof(int));
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rcx, %rbx
movq %rdx, %r14
movq %rsi, %r15
pushq $0x4
popq %r12
movq %rsi, %rdi
movq %rcx, %rsi
movq %r12, %rdx
callq 0x43e0
movslq (%rbx), %rdx
movq %r15, %rdi
movq %r14, %rsi
callq 0x43e0
movq %r15, %rdi
movq %rbx, %rsi
movq %r12, %rdx
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
jmp 0x43e0
// File: /workspace/github_cpp_makefile_star2_O2/klmr[P]multifunction/./multicast.hpp
// Function: util::multifunction<void (int)>::remove(util::multifunction<void (int)>::handle)
void remove(handle handle) {
        auto i = handle_lookup[handle.id];

        if (i == NIL) return;

        // Adjust handle_lookup positions which have shifted.
        for (auto& handle_index : handle_lookup) {
            if (handle_index > i and handle_index != NIL) {
                --handle_index;
            }
        }

        listeners.erase(listeners.begin() + i);
        handle_lookup[handle.id] = NIL;
    }

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movl %esi, %r14d
movq 0x18(%rdi), %rax
movq (%rax,%r14,8), %rsi
cmpq $-0x1, %rsi
je 0x1e06
movq %rdi, %rbx
movq 0x20(%rdi), %rcx
cmpq %rcx, %rax
je 0x1dee
movq (%rax), %rdx
cmpq %rsi, %rdx
setbe %dil
cmpq $-0x1, %rdx
sete %r8b
orb %dil, %r8b
jne 0x1de8
decq %rdx
movq %rdx, (%rax)
addq $0x8, %rax
jmp 0x1dc6
shlq $0x5, %rsi
addq (%rbx), %rsi
movq %rbx, %rdi
callq 0x1e0e
movq 0x18(%rbx), %rax
orq $-0x1, (%rax,%r14,8)
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_cpp_makefile_star2_O2/suyunu[P]Discrete-Event-Simulation/Main.cc
// Function: main
int main(int argc, char *argv[]){
	srand(time(0));
	
	RandQueuing rndQue(argv[1]);
	MinQueuing minQue(argv[1]);
	
	rndQue.simulate();
	minQue.simulate();
	
	rndQue.print(argv[2]);
	minQue.print(argv[3]);
	
	return (0-0);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %rbx
subq $0x108, %rsp            # imm = 0x108
movq %rsi, %rbx
xorl %edi, %edi
callq 0x2140
movl %eax, %edi
callq 0x2160
movq 0x8(%rbx), %rsi
leaq -0x90(%rbp), %rdi
leaq -0xd0(%rbp), %rdx
callq 0x20a0
leaq -0x110(%rbp), %rdi
leaq -0x90(%rbp), %rsi
callq 0x2a00
leaq -0x90(%rbp), %rdi
callq 0x20c0
movq 0x8(%rbx), %rsi
leaq -0x70(%rbp), %rdi
leaq -0x9(%rbp), %rdx
callq 0x20a0
leaq -0xd0(%rbp), %rdi
leaq -0x70(%rbp), %rsi
callq 0x3b44
leaq -0x70(%rbp), %rdi
callq 0x20c0
leaq -0x110(%rbp), %rdi
callq 0x2e2c
leaq -0xd0(%rbp), %rdi
callq 0x3f70
movq 0x10(%rbx), %rsi
leaq -0x50(%rbp), %rdi
leaq -0x9(%rbp), %rdx
callq 0x20a0
leaq -0x110(%rbp), %rdi
leaq -0x50(%rbp), %rsi
callq 0x307e
leaq -0x50(%rbp), %rdi
callq 0x20c0
movq 0x18(%rbx), %rsi
leaq -0x30(%rbp), %rdi
leaq -0x9(%rbp), %rdx
callq 0x20a0
leaq -0xd0(%rbp), %rdi
leaq -0x30(%rbp), %rsi
callq 0x4214
leaq -0x30(%rbp), %rdi
callq 0x20c0
leaq -0xd0(%rbp), %rdi
callq 0x3eae
leaq -0x110(%rbp), %rdi
callq 0x2d6a
xorl %eax, %eax
addq $0x108, %rsp            # imm = 0x108
popq %rbx
popq %rbp
retq
movq %rax, %rbx
leaq -0x30(%rbp), %rdi
jmp 0x256b
jmp 0x259d
movq %rax, %rbx
leaq -0x50(%rbp), %rdi
callq 0x20c0
jmp 0x25a0
jmp 0x259d
movq %rax, %rbx
leaq -0x70(%rbp), %rdi
callq 0x20c0
jmp 0x25ac
movq %rax, %rbx
jmp 0x25ac
movq %rax, %rbx
leaq -0x90(%rbp), %rdi
callq 0x20c0
jmp 0x25b8
movq %rax, %rbx
jmp 0x25b8
movq %rax, %rbx
leaq -0xd0(%rbp), %rdi
callq 0x3eae
leaq -0x110(%rbp), %rdi
callq 0x2d6a
movq %rbx, %rdi
callq 0x2230
// File: /workspace/github_cpp_makefile_star2_O2/suyunu[P]Discrete-Event-Simulation/Job.cpp
// Function: Job::initialize(int, double)
void Job::initialize(int No, double enter_time){
	no = No;
	enterTime = enter_time;
	timeToGo = enter_time;
	cond = -1;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
movl %esi, (%rdi)
movsd %xmm0, 0x8(%rdi)
movsd %xmm0, 0x10(%rdi)
orl $-0x1, 0x18(%rdi)
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O2/suyunu[P]Discrete-Event-Simulation/RandQueuing.cpp
// Function: RandQueuing::simulate()
void RandQueuing::simulate(){
	Job current;
	
	while(!order.empty()){
		pop_heap(order.begin(),order.end(),greater1());
		current = order.back();
		order.pop_back();
		
		currentTime = current.timeToGo;
		
		if(current.cond == -1){
			work(current, 0);
		}
		else{
			int toGo = whereToGoRand(current);
			if(!units[current.cond].jobQ.empty()){
				units[current.cond].Jcounter++;
				Job temp = units[current.cond].jobQ.front();
				units[current.cond].jobQ.pop();
				
				temp.timeToGo = currentTime + units[current.cond].procTime;
				jobs[temp.no] = temp;
				
				order.push_back(temp);
				push_heap (order.begin(),order.end(),greater1());
			}
			else
				units[current.cond].isWorking = false;
			
			if(toGo != -1)
				work(current, toGo);
		}
	}
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %rdi, %rbx
leaq -0x50(%rbp), %r14
movq %r14, %rdi
callq 0x25c0
leaq 0x28(%rbx), %r15
leaq -0x70(%rbp), %r12
movq 0x28(%rbx), %rdi
movq 0x30(%rbx), %rsi
cmpq %rsi, %rdi
je 0x2f58
callq 0x329d
movq 0x30(%rbx), %rax
movups -0x20(%rax), %xmm0
movups -0x14(%rax), %xmm1
movups %xmm1, -0x44(%rbp)
movaps %xmm0, -0x50(%rbp)
movq %r15, %rdi
callq 0x32c8
movsd -0x40(%rbp), %xmm0
movsd %xmm0, 0x8(%rbx)
cmpl $-0x1, -0x38(%rbp)
je 0x2f70
movq %rbx, %rdi
movq %r14, %rsi
callq 0x3024
movl %eax, %r13d
movq 0x20(%rbx), %rax
movslq -0x38(%rbp), %rcx
imulq $0x70, %rcx, %rdx
movq 0x20(%rax,%rdx), %rcx
cmpq %rcx, 0x40(%rax,%rdx)
je 0x2f3a
leaq (%rax,%rdx), %rdi
addq $0x10, %rdi
incl 0x54(%rdi)
movups (%rcx), %xmm0
movups 0x10(%rcx), %xmm1
movaps %xmm1, -0x60(%rbp)
movaps %xmm0, -0x70(%rbp)
callq 0x3866
movsd 0x8(%rbx), %xmm0
movq 0x20(%rbx), %rax
movslq -0x38(%rbp), %rcx
imulq $0x70, %rcx, %rcx
addsd 0x8(%rax,%rcx), %xmm0
movsd %xmm0, -0x60(%rbp)
movq 0x18(%rbx), %rax
movslq -0x70(%rbp), %rcx
shlq $0x5, %rcx
movups -0x64(%rbp), %xmm0
movups %xmm0, 0xc(%rax,%rcx)
movaps -0x70(%rbp), %xmm0
movups %xmm0, (%rax,%rcx)
movq %r15, %rdi
movq %r12, %rsi
callq 0x322e
movq 0x28(%rbx), %rdi
movq 0x30(%rbx), %rsi
callq 0x32e1
movq %r12, %rdi
callq 0x25d4
jmp 0x2f3f
movb $0x0, 0x6c(%rax,%rdx)
cmpl $-0x1, %r13d
je 0x2e54
leaq -0x50(%rbp), %rsi
movq %rbx, %rdi
movl %r13d, %edx
callq 0x2fa4
leaq -0x50(%rbp), %rdi
callq 0x25d4
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq -0x50(%rbp), %rsi
movq %rbx, %rdi
xorl %edx, %edx
callq 0x2fa4
jmp 0x2f82
jmp 0x2f82
movq %rax, %rbx
jmp 0x2f93
movq %rax, %rbx
leaq -0x70(%rbp), %rdi
callq 0x25d4
leaq -0x50(%rbp), %rdi
callq 0x25d4
movq %rbx, %rdi
callq 0x2230
// File: /workspace/github_cpp_makefile_star2_O2/suyunu[P]Discrete-Event-Simulation/RandQueuing.cpp
// Function: RandQueuing::work(Job&, int)
bool RandQueuing::work(Job& myJob, int k){
	myJob.cond = k;
	if(!units[k].isWorking){
		units[k].Jcounter++;
		units[k].isWorking = true;
		myJob.timeToGo += units[k].procTime;
		
		order.push_back(myJob);
		push_heap (order.begin(),order.end(),greater1());
	}
	else{
		units[k].jobQ.push(myJob);
		if(units[k].jobQ.size() > units[k].maxQ){
			units[k].maxQ = units[k].jobQ.size();
		}
	}
	jobs[myJob.no] = myJob;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
movq %rdi, %rbx
movl %edx, 0x18(%rsi)
movq 0x20(%rdi), %rax
movslq %edx, %rcx
imulq $0x70, %rcx, %r14
leaq (%rax,%r14), %rdi
cmpb $0x0, 0x6c(%rax,%r14)
je 0x2ff3
addq $0x10, %rdi
callq 0x3358
movq 0x20(%rbx), %rax
leaq (%rax,%r14), %rdi
addq $0x10, %rdi
callq 0x3362
movq 0x20(%rbx), %rax
leaq (%rax,%r14), %rdi
addq $0x10, %rdi
callq 0x3362
incl 0x64(%rdi)
movb $0x1, 0x6c(%rax,%r14)
movsd 0x8(%rax,%r14), %xmm0
addsd 0x10(%rsi), %xmm0
movsd %xmm0, 0x10(%rsi)
leaq 0x28(%rbx), %rdi
callq 0x322e
movq 0x28(%rbx), %rdi
movq 0x30(%rbx), %rsi
callq 0x32e1
nop
// File: /workspace/github_cpp_makefile_star2_O2/suyunu[P]Discrete-Event-Simulation/RandQueuing.cpp
// Function: RandQueuing::whereToGoRand(Job&)
int RandQueuing::whereToGoRand(Job& myJob){
	if(units[myJob.cond].edges > 0){
		int rnd = rand() % units[myJob.cond].edges;
		list<int>::iterator it = adj[myJob.cond].begin();
		for(int i = 0 ; i < rnd ; i++, it++);
		return *it;
	}
	else
		return -1;
}

// Assembly:
movq 0x20(%rdi), %rax
movslq 0x18(%rsi), %rcx
imulq $0x70, %rcx, %rcx
cmpl $0x0, 0x68(%rax,%rcx)
jle 0x307a
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
movq %rsi, %r14
movq %rdi, %rbx
callq 0x2070
movq 0x20(%rbx), %rcx
movslq 0x18(%r14), %rsi
imulq $0x70, %rsi, %rdi
cltd
idivl 0x68(%rcx,%rdi)
imulq $0x18, %rsi, %rax
addq 0x10(%rbx), %rax
xorl %ecx, %ecx
testl %edx, %edx
cmovgl %edx, %ecx
incl %ecx
movq (%rax), %rax
decl %ecx
jne 0x306b
movl 0x10(%rax), %eax
popq %rbx
popq %r14
popq %rbp
retq
pushq $-0x1
popq %rax
retq
// File: /workspace/github_cpp_makefile_star2_O2/suyunu[P]Discrete-Event-Simulation/RandQueuing.cpp
// Function: RandQueuing::print(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
void RandQueuing::print(string fname){
	ofstream fout (fname);
	
	int i;
	
	fout << fixed;
	fout.precision(4);
	fout << currentTime <<endl;
	
	fout.precision(2);
	for(i = 0 ; i < N_unit ; i++)
		fout << i << " " << units[i].Jcounter * units[i].procTime / currentTime << " " << units[i].maxQ <<endl;
	
	fout.precision(4);
	for(i = 0 ; i < N_job ; i++)
		fout << i << " " << jobs[i].timeToGo - jobs[i].enterTime <<endl;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x208, %rsp            # imm = 0x208
movq %rdi, %rbx
leaq -0x228(%rbp), %r14
pushq $0x10
popq %rdx
movq %r14, %rdi
callq 0x2240
movq (%r14), %rax
movq -0x18(%rax), %rcx
movl $0xfffffefb, %edx       # imm = 0xFFFFFEFB
andl -0x210(%rbp,%rcx), %edx
orl $0x4, %edx
movl %edx, -0x210(%rbp,%rcx)
movq -0x18(%rax), %rax
movq $0x4, -0x220(%rbp,%rax)
movsd 0x8(%rbx), %xmm0
movq %r14, %rdi
callq 0x21d0
movq %rax, %rdi
callq 0x20e0
movq (%r14), %rax
movq -0x18(%rax), %rax
movq $0x2, -0x220(%rbp,%rax)
xorl %r13d, %r13d
leaq 0x1efe(%rip), %r15      # 0x5004
xorl %r12d, %r12d
movslq 0x4(%rbx), %rax
cmpq %rax, %r12
jge 0x3174
movq %r14, %rdi
movl %r12d, %esi
callq 0x2220
movq %rax, %rdi
movq %r15, %rsi
callq 0x2170
movq 0x20(%rbx), %rcx
cvtsi2sdl 0x64(%rcx,%r13), %xmm0
mulsd 0x8(%rcx,%r13), %xmm0
divsd 0x8(%rbx), %xmm0
movq %rax, %rdi
callq 0x21d0
movq %rax, %rdi
movq %r15, %rsi
callq 0x2170
movq 0x20(%rbx), %rcx
movl 0x60(%rcx,%r13), %esi
movq %rax, %rdi
callq 0x2220
movq %rax, %rdi
callq 0x20e0
incq %r12
addq $0x70, %r13
jmp 0x3109
leaq -0x228(%rbp), %r14
movq (%r14), %rax
movq -0x18(%rax), %rax
movq $0x4, -0x220(%rbp,%rax)
pushq $0x10
popq %r13
xorl %r15d, %r15d
leaq 0x1e68(%rip), %r12      # 0x5004
movslq (%rbx), %rax
cmpq %rax, %r15
jge 0x31e4
movq %r14, %rdi
movl %r15d, %esi
callq 0x2220
movq %rax, %rdi
movq %r12, %rsi
callq 0x2170
movq 0x18(%rbx), %rcx
movsd (%rcx,%r13), %xmm0
subsd -0x8(%rcx,%r13), %xmm0
movq %rax, %rdi
callq 0x21d0
movq %rax, %rdi
callq 0x20e0
incq %r15
addq $0x20, %r13
jmp 0x319c
leaq -0x228(%rbp), %rdi
callq 0x21b0
addq $0x208, %rsp            # imm = 0x208
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x3206
jmp 0x3206
movq %rax, %rbx
leaq -0x228(%rbp), %rdi
callq 0x21b0
movq %rbx, %rdi
callq 0x2230
nop
// File: /workspace/github_cpp_makefile_star2_O2/suyunu[P]Discrete-Event-Simulation/MinQueuing.cpp
// Function: MinQueuing::simulate()
void MinQueuing::simulate(){
	Job current;
	
	while(!order.empty()){
		pop_heap(order.begin(),order.end(),greater1());
		current = order.back();
		order.pop_back();
		
		currentTime = current.timeToGo;
		
		if(current.cond == -1){
			work(current, 0);
		}
		else{
			int toGo = whereToGoMin(current);
			/* If the queue is not empty, the next job in the queue starts to be processed:
			 * The function calculates the check-out time for the job (currentTime + units[current.cond].procTime)
			 * and pushes it to the heap
			 */
			if(!units[current.cond].jobQ.empty()){
				units[current.cond].Jcounter++;
				Job temp = units[current.cond].jobQ.front();
				units[current.cond].jobQ.pop();
				
				temp.timeToGo = currentTime + units[current.cond].procTime;
				jobs[temp.no] = temp;
				
				order.push_back(temp);
				push_heap (order.begin(),order.end(),greater1());
			}
			// Sets the status of the unit as not working.
			else
				units[current.cond].isWorking = false;
			
			if(toGo != -1)
				work(current, toGo);
		}
	}
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %rdi, %rbx
leaq -0x50(%rbp), %r14
movq %r14, %rdi
callq 0x25c0
leaq 0x28(%rbx), %r15
leaq -0x70(%rbp), %r12
movq 0x28(%rbx), %rdi
movq 0x30(%rbx), %rsi
cmpq %rsi, %rdi
je 0x409c
callq 0x329d
movq 0x30(%rbx), %rax
movups -0x20(%rax), %xmm0
movups -0x14(%rax), %xmm1
movups %xmm1, -0x44(%rbp)
movaps %xmm0, -0x50(%rbp)
movq %r15, %rdi
callq 0x32c8
movsd -0x40(%rbp), %xmm0
movsd %xmm0, 0x8(%rbx)
cmpl $-0x1, -0x38(%rbp)
je 0x40b4
movq %rbx, %rdi
movq %r14, %rsi
callq 0x4168
movl %eax, %r13d
movq 0x20(%rbx), %rax
movslq -0x38(%rbp), %rcx
imulq $0x70, %rcx, %rdx
movq 0x20(%rax,%rdx), %rcx
cmpq %rcx, 0x40(%rax,%rdx)
je 0x407e
leaq (%rax,%rdx), %rdi
addq $0x10, %rdi
incl 0x54(%rdi)
movups (%rcx), %xmm0
movups 0x10(%rcx), %xmm1
movaps %xmm1, -0x60(%rbp)
movaps %xmm0, -0x70(%rbp)
callq 0x3866
movsd 0x8(%rbx), %xmm0
movq 0x20(%rbx), %rax
movslq -0x38(%rbp), %rcx
imulq $0x70, %rcx, %rcx
addsd 0x8(%rax,%rcx), %xmm0
movsd %xmm0, -0x60(%rbp)
movq 0x18(%rbx), %rax
movslq -0x70(%rbp), %rcx
shlq $0x5, %rcx
movups -0x64(%rbp), %xmm0
movups %xmm0, 0xc(%rax,%rcx)
movaps -0x70(%rbp), %xmm0
movups %xmm0, (%rax,%rcx)
movq %r15, %rdi
movq %r12, %rsi
callq 0x322e
movq 0x28(%rbx), %rdi
movq 0x30(%rbx), %rsi
callq 0x32e1
movq %r12, %rdi
callq 0x25d4
jmp 0x4083
movb $0x0, 0x6c(%rax,%rdx)
cmpl $-0x1, %r13d
je 0x3f98
leaq -0x50(%rbp), %rsi
movq %rbx, %rdi
movl %r13d, %edx
callq 0x40e8
leaq -0x50(%rbp), %rdi
callq 0x25d4
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq -0x50(%rbp), %rsi
movq %rbx, %rdi
xorl %edx, %edx
callq 0x40e8
jmp 0x40c6
jmp 0x40c6
movq %rax, %rbx
jmp 0x40d7
movq %rax, %rbx
leaq -0x70(%rbp), %rdi
callq 0x25d4
leaq -0x50(%rbp), %rdi
callq 0x25d4
movq %rbx, %rdi
callq 0x2230
// File: /workspace/github_cpp_makefile_star2_O2/suyunu[P]Discrete-Event-Simulation/MinQueuing.cpp
// Function: MinQueuing::whereToGoMin(Job&)
int MinQueuing::whereToGoMin(Job& myJob){
	int i, minQ, xQ;
	minQ = N_job+1;
	if(units[myJob.cond].edges > 0){
		for(list<int>::iterator it = adj[myJob.cond].begin() ; it != adj[myJob.cond].end() ; it++){
			if(units[*it].jobQ.size() < minQ){
				minQ = units[*it].jobQ.size();
				xQ = *it;
			}
		}
		return xQ;
	}
	else
		return -1;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq 0x20(%rdi), %rcx
movl 0x18(%rsi), %eax
movslq %eax, %rdx
imulq $0x70, %rdx, %rsi
cmpl $0x0, 0x68(%rcx,%rsi)
jle 0x41fe
movq %rdi, %r14
movl (%rdi), %r15d
incl %r15d
movq 0x10(%rdi), %rcx
imulq $0x18, %rdx, %r13
addq %rcx, %r13
movq (%r13), %r13
cltq
imulq $0x18, %rax, %rax
addq %rcx, %rax
cmpq %rax, %r13
je 0x4202
movq 0x20(%r14), %rax
movslq 0x10(%r13), %rcx
imulq $0x70, %rcx, %rcx
leaq (%rax,%rcx), %rdi
addq $0x10, %rdi
callq 0x399a
movslq %r15d, %rcx
cmpq %rcx, %rax
jae 0x41f5
movq 0x20(%r14), %rax
movslq 0x10(%r13), %rcx
imulq $0x70, %rcx, %rcx
leaq (%rax,%rcx), %rdi
addq $0x10, %rdi
callq 0x399a
movq %rax, %r15
movl 0x10(%r13), %r12d
movq 0x10(%r14), %rcx
movl 0x18(%rbx), %eax
jmp 0x41a2
pushq $-0x1
popq %r12
movl %r12d, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O2/dlbeer[P]summary_map/test_rbt.cpp
// Function: check_present(summary_map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, int, summary, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>, aggregator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const, int>, summary>, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const, int>>> const&, std::vector<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, int>, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, int>>> const&, unsigned int, unsigned int)
static void check_present(const test_map& m, const test_vector& vec,
			  unsigned int start, unsigned int end)
{
    for (unsigned int i = start; i < end; i++) {
	test_map::const_iterator it = m.find(vec[i].first);

	assert(it != m.end());
	assert(it->first == vec[i].first);
	assert(it->second == vec[i].second);
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
leaq 0x8(%rdi), %rax
movq %rax, (%rsp)
movl %edx, %eax
imulq $0x28, %rax, %r13
addq $0x28, %r13
xorl %ebp, %ebp
leaq 0x28(%rbp), %r12
cmpq %r12, %r13
je 0x17ce
movq (%rbx), %rsi
addq %rbp, %rsi
movq %r14, %rdi
callq 0x192c
cmpq (%rsp), %rax
je 0x17dd
movq %rax, %r15
movq (%rbx), %rsi
addq %rbp, %rsi
movq %rax, %rdi
callq 0x19bc
testb %al, %al
je 0x17f6
movl 0x20(%r15), %eax
movq (%rbx), %rcx
cmpl 0x20(%rcx,%rbp), %eax
movq %r12, %rbp
je 0x1773
leaq 0x19f1(%rip), %rdi      # 0x31ad
leaq 0x187e(%rip), %rsi      # 0x3041
leaq 0x1973(%rip), %rcx      # 0x313d
pushq $0x21
jmp 0x180d
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x194b(%rip), %rdi      # 0x312f
leaq 0x1856(%rip), %rsi      # 0x3041
leaq 0x194b(%rip), %rcx      # 0x313d
pushq $0x1f
jmp 0x180d
leaq 0x1996(%rip), %rdi      # 0x3193
leaq 0x183d(%rip), %rsi      # 0x3041
leaq 0x1932(%rip), %rcx      # 0x313d
pushq $0x20
popq %rdx
callq 0x10d0
nop
// File: /workspace/github_cpp_makefile_star2_O2/dlbeer[P]summary_map/./summary_map.hpp
// Function: summary_map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, int, summary, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>, aggregator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const, int>, summary>, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const, int>>>::check()
void check()
    {
	std::pair<size_type, size_type> r =
	    check_subtree(comparer, &header, header.left, 0, 0);

	assert(r.first == item_count);
	assert(is_black(header.left));
    }

// Assembly:
pushq %rbx
movq %rdi, %rbx
leaq 0x8(%rdi), %rsi
movq 0x38(%rdi), %rdx
xorl %ecx, %ecx
xorl %r8d, %r8d
callq 0x1c8e
cmpq 0x50(%rbx), %rax
jne 0x187f
movq 0x38(%rbx), %rax
testq %rax, %rax
je 0x187d
testb $0x1, 0x2c(%rax)
jne 0x189e
popq %rbx
retq
leaq 0x1943(%rip), %rdi      # 0x31c9
leaq 0x1952(%rip), %rsi      # 0x31df
leaq 0x195d(%rip), %rcx      # 0x31f1
movl $0x563, %edx            # imm = 0x563
callq 0x10d0
leaq 0x1a95(%rip), %rdi      # 0x333a
leaq 0x1933(%rip), %rsi      # 0x31df
leaq 0x193e(%rip), %rcx      # 0x31f1
movl $0x564, %edx            # imm = 0x564
callq 0x10d0
nop
// File: /workspace/github_cpp_makefile_star2_O2/ruippeixotog[P]algo-lib/min-cost-max-flow.cpp
// Function: mcmf(int, int)
pair<int, int> mcmf(int src, int sink) {
  memset(flow, false, sizeof(flow));
  memset(pi, 0, sizeof(pi));

  int minCost = 0, maxFlow = 0;
  while(dijkstra(src, sink) < INF) {
    int bot = INF;

    for(int v = sink, u = parent[v]; v != src; u = parent[v = u])
      bot = min(bot, flow[v][u] ? flow[v][u] : cap[u][v] - flow[u][v]);

    for(int v = sink, u = parent[v]; v != src; u = parent[v = u]) {
      if(flow[v][u]) { flow[v][u] = false; minCost -= cost[v][u]; }
      else { flow[u][v] = true; minCost += cost[u][v]; }
    }
    maxFlow += bot;
  }
  return make_pair(minCost, maxFlow);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movl %esi, %ebx
movl %edi, %ebp
leaq 0x7aca86(%rip), %r14    # 0x7adf30
movq $0x0, 0x8(%rsp)
movl $0x3d0900, %edx         # imm = 0x3D0900
movq %r14, %rdi
xorl %esi, %esi
callq 0x1050
leaq 0x7abac7(%rip), %rdi    # 0x7acf90
movl $0xfa0, %edx            # imm = 0xFA0
xorl %esi, %esi
callq 0x1050
movslq %ebx, %rax
leaq 0x7aab11(%rip), %r12    # 0x7abff0
leaq (%r12,%rax,4), %rax
movq %rax, 0x10(%rsp)
leaq 0x8961(%rip), %r15      # 0x9e50
xorl %r13d, %r13d
movl %ebp, %edi
movl %ebx, %esi
callq 0x120c
cmpl $0x3b9ac9ff, %eax       # imm = 0x3B9AC9FF
jg 0x15c2
movl $0x3b9aca00, %eax       # imm = 0x3B9ACA00
movl %ebx, %edi
movq 0x10(%rsp), %rdx
leaq 0x3d9237(%rip), %r10    # 0x3da750
cmpl %ebp, %edi
je 0x1559
movl (%rdx), %ecx
movslq %ecx, %rdx
movslq %edi, %r9
imulq $0xfa0, %r9, %rdi       # imm = 0xFA0
addq %r14, %rdi
movl (%rdi,%rdx,4), %edi
testl %edi, %edi
jne 0x154c
imulq $0xfa0, %rdx, %r8       # imm = 0xFA0
leaq (%r10,%r8), %rdi
movl (%rdi,%r9,4), %edi
addq %r14, %r8
subl (%r8,%r9,4), %edi
cmpl %eax, %edi
cmovll %edi, %eax
leaq (%r12,%rdx,4), %rdx
movl %ecx, %edi
jmp 0x1519
movl %ebx, %edi
movq 0x10(%rsp), %rdx
cmpl %ebp, %edi
je 0x15b1
movl (%rdx), %ecx
movslq %ecx, %rdx
movslq %edi, %r9
imulq $0xfa0, %r9, %rdi       # imm = 0xFA0
leaq (%r14,%rdi), %r8
cmpl $0x0, (%r8,%rdx,4)
je 0x158f
leaq (%r8,%rdx,4), %r8
andl $0x0, (%r8)
addq %r15, %rdi
subl (%rdi,%rdx,4), %r13d
jmp 0x15a9
imulq $0xfa0, %rdx, %rdi      # imm = 0xFA0
leaq (%r14,%rdi), %r8
movl $0x1, (%r8,%r9,4)
addq %r15, %rdi
addl (%rdi,%r9,4), %r13d
leaq (%r12,%rdx,4), %rdx
movl %ecx, %edi
jmp 0x1560
movq 0x8(%rsp), %rcx
addl %eax, %ecx
movq %rcx, 0x8(%rsp)
jmp 0x14f2
movq 0x8(%rsp), %rcx
shlq $0x20, %rcx
movl %r13d, %eax
orq %rcx, %rax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O2/ArashPartow[P]exprtk-extras/exprtk_instruction_primer.cpp
// Function: bool pgo_primer<double>()::execute::process(double&, double&, exprtk::expression<double>&)
static inline T process(T& x, T& y, expression_t& expression)
      {
         static const T lower_bound = T(-20);
         static const T upper_bound = T(+20);
         static const T delta       = T(0.1);

         T total = T(0);

         for (x = lower_bound; x <= upper_bound; x += delta)
         {
            for (y = lower_bound; y <= upper_bound; y += delta)
            {
               total += expression.value();
            }
         }

         return total;
      }

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x10, %rsp
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r15
xorps %xmm0, %xmm0
movsd %xmm0, 0x8(%rsp)
movsd 0x12461b(%rip), %xmm0   # 0x2381f0
movsd %xmm0, (%r15)
movsd 0x1244b6(%rip), %xmm1   # 0x238098
ucomisd %xmm0, %xmm1
jb 0x113c3e
movsd 0x124600(%rip), %xmm0   # 0x2381f0
movsd %xmm0, (%r14)
movsd 0x12449b(%rip), %xmm1   # 0x238098
ucomisd %xmm0, %xmm1
jb 0x113c2f
movq (%rbx), %rax
movq 0x8(%rax), %rdi
movq (%rdi), %rax
callq *0x18(%rax)
movsd 0x8(%rsp), %xmm1
addsd %xmm0, %xmm1
movsd %xmm1, 0x8(%rsp)
movsd (%r14), %xmm0
addsd 0x1245cb(%rip), %xmm0   # 0x2381f8
jmp 0x113bf0
movsd (%r15), %xmm0
addsd 0x1245bc(%rip), %xmm0   # 0x2381f8
jmp 0x113bd5
movsd 0x8(%rsp), %xmm0
addq $0x10, %rsp
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O2/tomfunkhouser[P]gaps/apps/mshparam/mshparam.cpp
// Function: CompareSegments(void const*, void const*)
static int 
CompareSegments(const void *data1, const void *data2)
{
  // Sort by bbox.xlength
  Segment *segment1 = *((Segment **) data1);
  Segment *segment2 = *((Segment **) data2);
  if (segment1->bbox.XLength() > segment2->bbox.XLength()) return -1;
  else if (segment1->bbox.XLength() < segment2->bbox.XLength()) return 1;
  else return 0;
}

// Assembly:
movq (%rdi), %rax
movq (%rsi), %rcx
movsd 0xc8(%rax), %xmm0
subsd 0xb8(%rax), %xmm0
movsd 0xc8(%rcx), %xmm1
subsd 0xb8(%rcx), %xmm1
xorl %ecx, %ecx
ucomisd %xmm0, %xmm1
seta %cl
ucomisd %xmm1, %xmm0
pushq $-0x1
popq %rax
cmovbel %ecx, %eax
retq
// File: /workspace/github_cpp_makefile_star2_O2/iZhangHui[P]CppPrimer/CH13_CopyControl/examples/useStrVec.cc
// Function: getVec(std::istream&)
StrVec getVec(istream& is)
{
	StrVec svec;
	string s;
	while (is >> s)
		svec.push_back(s); // svec.push_back(std::move(s));

	return svec;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x28, %rsp
movq %rsi, %r14
movq %rdi, %rbx
callq 0x2a9a
leaq -0x28(%rbp), %rax
movq %rax, -0x10(%rax)
andq $0x0, -0x8(%rax)
movb $0x0, (%rax)
leaq -0x38(%rbp), %r15
movq %r14, %rdi
movq %r15, %rsi
callq 0x2140
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
testb $0x5, 0x20(%rax,%rcx)
jne 0x242b
movq %rbx, %rdi
movq %r15, %rsi
callq 0x2ac6
jmp 0x2405
leaq -0x38(%rbp), %rdi
callq 0x2090
movq %rbx, %rax
addq $0x28, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r14
leaq -0x38(%rbp), %rdi
callq 0x2090
movq %rbx, %rdi
callq 0x2b0e
movq %r14, %rdi
callq 0x21a0
// File: /workspace/github_cpp_makefile_star2_O2/iZhangHui[P]CppPrimer/CH13_CopyControl/examples/./StrVec.h
// Function: StrVec::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
inline
void StrVec::push_back(const std::string& s)
{
	std::cout << "StrVec::push_back(const std::string& s)" << std::endl;
	chk_n_alloc(); // ensure that there is room for another element
	// construct a copy of s in the element to which first_free points
	alloc.construct(first_free++, s);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
movq %rsi, %rbx
movq %rdi, %r14
movq 0x24fe(%rip), %rdi      # 0x4fd8
leaq 0x690(%rip), %rsi       # 0x3171
callq 0x2100
movq %rax, %rdi
callq 0x20a0
movq %r14, %rdi
callq 0x2d70
movq 0x8(%r14), %rdi
leaq 0x20(%rdi), %rax
movq %rax, 0x8(%r14)
movq %rbx, %rsi
popq %rbx
popq %r14
popq %rbp
jmp 0x2160
// File: /workspace/github_cpp_makefile_star2_O2/iZhangHui[P]CppPrimer/CH13_CopyControl/examples/./StrVec.h
// Function: StrVec::StrVec(std::initializer_list<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>)
inline
StrVec::StrVec(std::initializer_list<std::string> il)
{
	// call alloc_n_copy to allocate exactly as many elements as in il
	auto newdata = alloc_n_copy(il.begin(), il.end());
	elements = newdata.first;
	first_free = cap = newdata.second;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %rbx
pushq %rax
movq %rdi, %rbx
shlq $0x5, %rdx
addq %rsi, %rdx
callq 0x2eb2
movq %rax, (%rbx)
movq %rdx, 0x10(%rbx)
movq %rdx, 0x8(%rbx)
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O2/iZhangHui[P]CppPrimer/CH13_CopyControl/examples/./StrVec.h
// Function: StrVec::StrVec(StrVec const&)
inline
StrVec::StrVec(const StrVec& s)
{
	std::cout << "StrVec copy constructor." << std::endl;
	// call alloc_n_copy to allocate exactly as many elements as in s
	auto newdata = alloc_n_copy(s.begin(), s.end());
	elements = newdata.first;
	first_free = cap = newdata.second;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
movq %rsi, %rbx
movq %rdi, %r14
movq 0x247a(%rip), %rdi      # 0x4fd8
leaq 0x634(%rip), %rsi       # 0x3199
callq 0x2100
movq %rax, %rdi
callq 0x20a0
movq (%rbx), %rsi
movq 0x8(%rbx), %rdx
movq %r14, %rdi
callq 0x2eb2
movq %rax, (%r14)
movq %rdx, 0x10(%r14)
movq %rdx, 0x8(%r14)
popq %rbx
popq %r14
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O2/iZhangHui[P]CppPrimer/CH13_CopyControl/examples/./StrVec.h
// Function: StrVec::operator=(StrVec const&)
inline
StrVec& StrVec::operator=(const StrVec& rhs)
{
	std::cout << "StrVec copy assignment." << std::endl;
	// call alloc_n_copy to allocate exactly as many elements as in rhs
	auto data = alloc_n_copy(rhs.begin(), rhs.end());
	free();
	elements = data.first;
	first_free = cap = data.second;
	return *this;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %rbx
movq 0x242f(%rip), %rdi      # 0x4fd8
leaq 0x602(%rip), %rsi       # 0x31b2
callq 0x2100
movq %rax, %rdi
callq 0x20a0
movq (%r14), %rsi
movq 0x8(%r14), %rdx
movq %rbx, %rdi
callq 0x2eb2
movq %rax, %r14
movq %rdx, %r15
movq %rbx, %rdi
callq 0x2e62
movq %r14, (%rbx)
movq %r15, 0x10(%rbx)
movq %r15, 0x8(%rbx)
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O2/iZhangHui[P]CppPrimer/CH13_CopyControl/examples/./StrVec.h
// Function: StrVec::operator=(StrVec&&)
inline
StrVec& StrVec::operator=(StrVec&& rhs) noexcept
{
	std::cout << "StrVec move assignment." << std::endl;
	// direct test for self-assignment
	if (this != &rhs) {
		free();                   // free existing elements
		elements = rhs.elements;  // take over resources from rhs
		first_free = rhs.first_free;
		cap = rhs.cap;
		// leave rhs in a destructible state
		rhs.elements = rhs.first_free = rhs.cap = nullptr;
	}
	return *this;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
movq %rsi, %r14
movq %rdi, %rbx
movq 0x23d0(%rip), %rdi      # 0x4fd8
leaq 0x5bb(%rip), %rsi       # 0x31ca
callq 0x2100
movq %rax, %rdi
callq 0x20a0
cmpq %r14, %rbx
je 0x2c4b
movq %rbx, %rdi
callq 0x2e62
movq (%r14), %rax
movq %rax, (%rbx)
movq 0x8(%r14), %rax
movq %rax, 0x8(%rbx)
movq 0x10(%r14), %rax
movq %rax, 0x10(%rbx)
xorps %xmm0, %xmm0
movups %xmm0, (%r14)
andq $0x0, 0x10(%r14)
movq %rbx, %rax
popq %rbx
popq %r14
popq %rbp
retq
movq %rax, %rdi
callq 0x2ea3
nop
// File: /workspace/github_cpp_makefile_star2_O2/iZhangHui[P]CppPrimer/CH13_CopyControl/examples/./StrVec.h
// Function: StrVec::reallocate()
inline
void StrVec::reallocate()
{
	// we'll allocate space for twice as many elements as the current size
	auto newcapacity = size() ? 2 * size() : 1;

	// allocate new memory
	auto newdata = alloc.allocate(newcapacity);

	// move the data from the old memory to the new
	auto dest = newdata;  // points to the next free position in the new array
	auto elem = elements; // points to the next element in the old array
	for (size_t i = 0; i != size(); ++i)
		alloc.construct(dest++, std::move(*elem++));

	// String data move to new allocate memory
	// Vector memory store String metadata nedded to free
	free();  // free the old space once we've moved the elements

	// update our data structure to point to the new elements
	elements = newdata;
	first_free = dest;
	cap = elements + newcapacity;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdi, %rbx
movq 0x8(%rdi), %rax
movq (%rdi), %rcx
movq %rax, %rdx
subq %rcx, %rdx
sarq $0x4, %rdx
cmpq %rcx, %rax
pushq $0x1
popq %rsi
cmovneq %rdx, %rsi
leaq 0x234e(%rip), %rdi      # 0x510a
xorl %r13d, %r13d
movq %rsi, -0x38(%rbp)
xorl %edx, %edx
callq 0x2e38
movq %rax, %r12
movq (%rbx), %rax
movq %r12, -0x30(%rbp)
movq %rax, %rsi
movq 0x8(%rbx), %rcx
subq %rax, %rcx
sarq $0x5, %rcx
cmpq %rcx, %r13
je 0x2e06
leaq 0x20(%r12), %r15
leaq 0x20(%rsi), %r14
movq %r12, %rdi
callq 0x2150
incq %r13
movq (%rbx), %rax
movq %r15, %r12
movq %r14, %rsi
jmp 0x2dd7
movq %rbx, %rdi
callq 0x2e62
movq -0x30(%rbp), %rcx
movq %rcx, (%rbx)
movq %r12, 0x8(%rbx)
movq -0x38(%rbp), %rax
shlq $0x5, %rax
addq %rax, %rcx
movq %rcx, 0x10(%rbx)
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nop