LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_cpp_makefile_star2_O2/Chrom3D[P]Chrom3D/src/Model.cpp
// Function: Model::getTotalChrLength()
double Model::getTotalChrLength() {
  vector<Chromosome>::iterator chriter;
  boost::container::static_vector<Bead,MAXSIZE>::iterator beaditer;
  double res = 0;
  for(chriter = chromosomes.begin(); chriter != chromosomes.end(); chriter++) {
    for(beaditer=chriter->begin(); beaditer!=chriter->end(); beaditer++) {
      res += beaditer->getRadius() * 2;
    }
  }
  return res;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x18, %rsp
leaq 0x10(%rsp), %rbx
andq $0x0, (%rbx)
movq %rdi, %r14
movq 0xa78(%rdi), %r15
xorpd %xmm0, %xmm0
movsd %xmm0, (%rsp)
leaq 0x8(%rsp), %r12
cmpq 0xa80(%r14), %r15
je 0x126b6
movq %r12, %rdi
movq %r15, %rsi
callq 0xa778
movq 0x8(%rsp), %rax
movq %rax, 0x10(%rsp)
movq %r12, %rdi
movq %r15, %rsi
callq 0xa784
movq 0x10(%rsp), %rdi
cmpq 0x8(%rsp), %rdi
je 0x126ad
callq 0xa3e8
addsd %xmm0, %xmm0
movsd (%rsp), %xmm1
addsd %xmm0, %xmm1
movsd %xmm1, (%rsp)
movq %r12, %rdi
movq %rbx, %rsi
xorl %edx, %edx
callq 0xb1ee
jmp 0x12670
addq $0x75330, %r15          # imm = 0x75330
jmp 0x12652
movsd (%rsp), %xmm0
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
nop
// File: /workspace/github_cpp_makefile_star2_O2/Chrom3D[P]Chrom3D/src/Model.cpp
// Function: Model::addNucleusConstraints(double)
void Model::addNucleusConstraints(double springConstant /*=1*/) {
  assert(this->hasNucleus);
  vector<Chromosome>::iterator chriter;
  boost::container::static_vector<Bead,MAXSIZE>::iterator beaditer;  
  for(chriter = chromosomes.begin(); chriter != chromosomes.end(); chriter++) {
    for(beaditer=chriter->begin(); beaditer!=chriter->end(); beaditer++) {
      this->addNucleusConstraint(beaditer->getID(),springConstant);
    }
  }
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x40, %rsp
movsd %xmm0, 0x18(%rsp)
cmpb $0x0, 0xa90(%rdi)
je 0x1279b
movq %rdi, %rbx
leaq 0x10(%rsp), %r14
andq $0x0, (%r14)
movq 0xa78(%rdi), %r15
leaq 0x8(%rsp), %r12
leaq 0x20(%rsp), %r13
cmpq 0xa80(%rbx), %r15
je 0x1278d
movq %r12, %rdi
movq %r15, %rsi
callq 0xa778
movq 0x8(%rsp), %rax
movq %rax, 0x10(%rsp)
movq %r12, %rdi
movq %r15, %rsi
callq 0xa784
movq 0x10(%rsp), %rsi
cmpq 0x8(%rsp), %rsi
je 0x12784
movq %r13, %rdi
callq 0xa3fa
movq %rbx, %rdi
movq %r13, %rsi
movsd 0x18(%rsp), %xmm0
callq 0xd6ba
movq %r13, %rdi
callq 0x66d0
movq %r12, %rdi
movq %r14, %rsi
xorl %edx, %edx
callq 0xb1ee
jmp 0x1273d
addq $0x75330, %r15          # imm = 0x75330
jmp 0x1271f
addq $0x40, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
leaq 0xf07f(%rip), %rdi      # 0x21821
leaq 0xed5e(%rip), %rsi      # 0x21507
leaq 0xf788(%rip), %rcx      # 0x21f38
movl $0x372, %edx            # imm = 0x372
callq 0x6250
movq %rax, %rbx
leaq 0x20(%rsp), %rdi
callq 0x66d0
movq %rbx, %rdi
callq 0x65d0
nop
// File: /workspace/github_cpp_makefile_star2_O2/Chrom3D[P]Chrom3D/src/Model.cpp
// Function: Model::addCenterConstraints(double)
void Model::addCenterConstraints(double springConstant /*=1*/) {
  assert(this->hasNucleus);
  vector<Chromosome>::iterator chriter;
  boost::container::static_vector<Bead,MAXSIZE>::iterator beaditer;  
  for(chriter = chromosomes.begin(); chriter != chromosomes.end(); chriter++) {
    for(beaditer=chriter->begin(); beaditer!=chriter->end(); beaditer++) {
      this->addCenterConstraint(beaditer->getID(), springConstant);
    }
  }
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x40, %rsp
movsd %xmm0, 0x18(%rsp)
cmpb $0x0, 0xa90(%rdi)
je 0x12889
movq %rdi, %rbx
leaq 0x10(%rsp), %r14
andq $0x0, (%r14)
movq 0xa78(%rdi), %r15
leaq 0x8(%rsp), %r12
leaq 0x20(%rsp), %r13
cmpq 0xa80(%rbx), %r15
je 0x1287b
movq %r12, %rdi
movq %r15, %rsi
callq 0xa778
movq 0x8(%rsp), %rax
movq %rax, 0x10(%rsp)
movq %r12, %rdi
movq %r15, %rsi
callq 0xa784
movq 0x10(%rsp), %rsi
cmpq 0x8(%rsp), %rsi
je 0x12872
movq %r13, %rdi
callq 0xa3fa
movq %rbx, %rdi
movq %r13, %rsi
movsd 0x18(%rsp), %xmm0
callq 0xd918
movq %r13, %rdi
callq 0x66d0
movq %r12, %rdi
movq %r14, %rsi
xorl %edx, %edx
callq 0xb1ee
jmp 0x1282b
addq $0x75330, %r15          # imm = 0x75330
jmp 0x1280d
addq $0x40, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
leaq 0xef91(%rip), %rdi      # 0x21821
leaq 0xec70(%rip), %rsi      # 0x21507
leaq 0xf6c4(%rip), %rcx      # 0x21f62
movl $0x38a, %edx            # imm = 0x38A
callq 0x6250
movq %rax, %rbx
leaq 0x20(%rsp), %rdi
callq 0x66d0
movq %rbx, %rdi
callq 0x65d0
nop
// File: /workspace/github_cpp_makefile_star2_O2/Chrom3D[P]Chrom3D/src/Model.cpp
// Function: Model::getTotalBeadVolume()
double Model::getTotalBeadVolume() {
  vector<Chromosome>::iterator chriter;
  boost::container::static_vector<Bead,MAXSIZE>::iterator beaditer;
  double res = 0;
  for(chriter = chromosomes.begin(); chriter != chromosomes.end(); chriter++) {
    for(beaditer=chriter->begin(); beaditer!=chriter->end(); beaditer++) {
      res += (4.0/3.0) * util::PI * pow(beaditer->getRadius(),3);
    }
  }
  return res;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdi, %rbx
leaq 0x10(%rsp), %r14
andq $0x0, (%r14)
movq 0xa78(%rdi), %r15
xorpd %xmm0, %xmm0
movsd %xmm0, (%rsp)
leaq 0x8(%rsp), %r12
cmpq 0xa80(%rbx), %r15
je 0x12cdf
movq %r12, %rdi
movq %r15, %rsi
callq 0xa778
movq 0x8(%rsp), %rax
movq %rax, 0x10(%rsp)
movq %r12, %rdi
movq %r15, %rsi
callq 0xa784
movq 0x10(%rsp), %rdi
cmpq 0x8(%rsp), %rdi
je 0x12cd6
callq 0xa3e8
movsd 0xe784(%rip), %xmm1     # 0x21430
callq 0x65b0
mulsd 0xe77f(%rip), %xmm0     # 0x21438
movsd (%rsp), %xmm1
addsd %xmm0, %xmm1
movsd %xmm1, (%rsp)
movq %r12, %rdi
movq %r14, %rsi
xorl %edx, %edx
callq 0xb1ee
jmp 0x12c88
addq $0x75330, %r15          # imm = 0x75330
jmp 0x12c6a
movsd (%rsp), %xmm0
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O2/Chrom3D[P]Chrom3D/src/Model.cpp
// Function: Model::getTotalGenomeLength()
double Model::getTotalGenomeLength() {
  vector<Chromosome>::iterator chriter;
  boost::container::static_vector<Bead,MAXSIZE>::iterator beaditer;
  double res = 0;
  for(chriter = chromosomes.begin(); chriter != chromosomes.end(); chriter++) {
    for(beaditer=chriter->begin(); beaditer!=chriter->end(); beaditer++) {
      res += beaditer->getBpSpan();
    }
  }
  return res;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x18, %rsp
leaq 0x10(%rsp), %rbx
andq $0x0, (%rbx)
movq %rdi, %r14
movq 0xa78(%rdi), %r15
xorpd %xmm0, %xmm0
movsd %xmm0, (%rsp)
leaq 0x8(%rsp), %r12
cmpq 0xa80(%r14), %r15
je 0x12d83
movq %r12, %rdi
movq %r15, %rsi
callq 0xa778
movq 0x8(%rsp), %rax
movq %rax, 0x10(%rsp)
movq %r12, %rdi
movq %r15, %rsi
callq 0xa784
movq 0x10(%rsp), %rdi
cmpq 0x8(%rsp), %rdi
je 0x12d7a
callq 0xa3ee
movl %eax, %eax
cvtsi2sd %rax, %xmm0
movsd (%rsp), %xmm1
addsd %xmm0, %xmm1
movsd %xmm1, (%rsp)
movq %r12, %rdi
movq %rbx, %rsi
xorl %edx, %edx
callq 0xb1ee
jmp 0x12d3a
addq $0x75330, %r15          # imm = 0x75330
jmp 0x12d1c
movsd (%rsp), %xmm0
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O2/Chrom3D[P]Chrom3D/src/MCMC.cpp
// Function: MCMC::doMetropolisHastingsStep(double, unsigned int)
bool MCMC::doMetropolisHastingsStep(double T /*=1*/, uint maxAttempts /*=10000*/) {
  uint i=0;
  bool success = false;
  while(i < maxAttempts and !success) {
    try {
      Move proposedMove = model.proposeMove(); // Idea: if this fails (no move proposed), we could set the proposed Move to the same (identity) move.
      double before = model.getPartialLossScore(proposedMove.chr, proposedMove.start, proposedMove.stop); // score before move
      Move oldCoords = model.accept(proposedMove); //, true);
      double after = model.getPartialLossScore(proposedMove.chr, proposedMove.start, proposedMove.stop); // score after move
      if(after > before) {
	double pAccept = exp((before-after)/T);
	bool accept = util::unif_real(0,1, model.randEngine) < pAccept;
	if(not accept) {
	  Move tmp = model.accept(oldCoords); //, true); // roll back to previous coordinates.
	}
      }
      success = true;
    }
    catch(util::MoveException& e){
      i++;
    }
  }
  return success;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xc8, %rsp
movl %esi, %ebx
movsd %xmm0, 0x18(%rsp)
movq %rdi, %r14
xorl %r12d, %r12d
leaq 0x20(%rsp), %rbp
pushq $0x1
popq %r13
leaq 0x58(%rsp), %r15
xorl %eax, %eax
cmpl %ebx, %r12d
jae 0x171d2
testb $0x1, %al
jne 0x171d2
movq (%r14), %rsi
movq %rbp, %rdi
movl %r13d, %edx
callq 0xe230
movq (%r14), %rdi
movq 0x20(%rsp), %rsi
movl 0x28(%rsp), %edx
movl 0x2c(%rsp), %ecx
callq 0xdeb8
movsd %xmm0, 0x8(%rsp)
movq (%r14), %rsi
movq %r15, %rdi
movq %rbp, %rdx
callq 0xea36
movq (%r14), %rdi
movq 0x20(%rsp), %rsi
movl 0x28(%rsp), %edx
movl 0x2c(%rsp), %ecx
callq 0xdeb8
movsd 0x8(%rsp), %xmm1
ucomisd %xmm1, %xmm0
jbe 0x1715d
subsd %xmm0, %xmm1
divsd 0x18(%rsp), %xmm1
movapd %xmm1, %xmm0
callq 0x65e0
movsd %xmm0, 0x8(%rsp)
movq (%r14), %rdi
addq $0x20, %rdi
xorpd %xmm0, %xmm0
movsd 0x8edc(%rip), %xmm1     # 0x20008
callq 0x6e93
movsd 0x8(%rsp), %xmm1
ucomisd %xmm0, %xmm1
ja 0x1715d
movq (%r14), %rsi
leaq 0x90(%rsp), %rdi
movq %r15, %rdx
callq 0xea36
leaq 0xb0(%rsp), %rdi
callq 0x8012
leaq 0x78(%rsp), %rdi
callq 0x8012
leaq 0x40(%rsp), %rdi
callq 0x8012
movb $0x1, %al
jmp 0x17097
jmp 0x17196
jmp 0x17196
movq %rdx, 0x10(%rsp)
movq %rax, 0x8(%rsp)
jmp 0x171b4
jmp 0x1718a
movq %rdx, 0x10(%rsp)
movq %rax, 0x8(%rsp)
jmp 0x171aa
movq %rdx, 0x10(%rsp)
movq %rax, 0x8(%rsp)
leaq 0x78(%rsp), %rdi
callq 0x8012
leaq 0x40(%rsp), %rdi
callq 0x8012
cmpl $0x1, 0x10(%rsp)
movq 0x8(%rsp), %rdi
jne 0x171e6
callq 0x6180
incl %r12d
callq 0x6520
jmp 0x17095
andb $0x1, %al
addq $0xc8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
callq 0x65d0
nop
// File: /workspace/github_cpp_makefile_star2_O2/Chrom3D[P]Chrom3D/src/tclap-1.2.1/include/tclap/SwitchArg.h
// Function: TCLAP::SwitchArg::processArg(int*, 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>>>>&)
inline bool SwitchArg::processArg(int *i, std::vector<std::string>& args)
{
	if ( _ignoreable && Arg::ignoreRest() )
		return false;

	// if the whole string matches the flag or name string
	if ( argMatches( args[*i] ) )
	{
		commonProcessing();

		return true;
	}
	// if a substring matches the flag as part of a combination
	else if ( combinedSwitchesMatch( args[*i] ) )
	{
		// check again to ensure we don't misinterpret 
		// this as a MultiSwitchArg 
		if ( combinedSwitchesMatch( args[*i] ) )
			throw(CmdLineParseException("Argument already set!", 
			                            toString()));

		commonProcessing();

		// We only want to return true if we've found the last combined
		// match in the string, otherwise we return true so that other 
		// switches in the combination will have a chance to match.
		return lastCombined( args[*i] );
	}
	else
		return false;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x48, %rsp
movq %rdx, %rbx
movq %rsi, %r15
movq %rdi, %r14
cmpb $0x1, 0xa0(%rdi)
jne 0x18f47
cmpb $0x0, 0x1948a(%rip)     # 0x323cf
jne 0x18fba
movslq (%r15), %rsi
shlq $0x5, %rsi
addq (%rbx), %rsi
movq (%r14), %rax
movq %r14, %rdi
callq *0x30(%rax)
testb %al, %al
je 0x18f6a
movq %r14, %rdi
callq 0x1905c
movb $0x1, %al
jmp 0x18fbc
movslq (%r15), %rsi
shlq $0x5, %rsi
addq (%rbx), %rsi
movq %r14, %rdi
callq 0x191aa
testb %al, %al
je 0x18fba
movslq (%r15), %rsi
shlq $0x5, %rsi
addq (%rbx), %rsi
movq %r14, %rdi
callq 0x191aa
testb %al, %al
jne 0x18fc7
movq %r14, %rdi
callq 0x1905c
movslq (%r15), %rsi
shlq $0x5, %rsi
addq (%rbx), %rsi
movq %r14, %rdi
addq $0x48, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp 0x194a4
xorl %eax, %eax
addq $0x48, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
pushq $0x68
popq %rdi
callq 0x61e0
movq %rax, %rbx
leaq 0x930f(%rip), %rsi      # 0x222e8
leaq 0x28(%rsp), %rdi
leaq 0x7(%rsp), %rdx
callq 0xcaa6
movq (%r14), %rax
leaq 0x8(%rsp), %rdi
movq %r14, %rsi
callq *0x38(%rax)
movb $0x1, %bpl
leaq 0x28(%rsp), %rsi
leaq 0x8(%rsp), %rdx
movq %rbx, %rdi
callq 0x192f8
xorl %ebp, %ebp
leaq 0x185a4(%rip), %rsi     # 0x315b8
leaq 0x4513(%rip), %rdx      # 0x1d52e
movq %rbx, %rdi
callq 0x6580
movq %rax, %r14
leaq 0x8(%rsp), %rdi
callq 0x66d0
jmp 0x19038
movq %rax, %r14
movb $0x1, %bpl
leaq 0x28(%rsp), %rdi
callq 0x66d0
testb %bpl, %bpl
jne 0x1904c
jmp 0x19054
movq %rax, %r14
movq %rbx, %rdi
callq 0x62b0
movq %r14, %rdi
callq 0x65d0
// File: /workspace/github_cpp_makefile_star2_O2/Chrom3D[P]Chrom3D/src/tclap-1.2.1/include/tclap/SwitchArg.h
// Function: TCLAP::SwitchArg::commonProcessing()
inline void SwitchArg::commonProcessing()
{
	if ( _xorSet )
		throw(CmdLineParseException(
		      "Mutually exclusive argument already set!", toString()));

	if ( _alreadySet ) 
		throw(CmdLineParseException("Argument already set!", toString()));

	_alreadySet = true;

	if ( _value == true )
		_value = false;
	else
		_value = true;

	_checkWithVisitor();
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
subq $0x50, %rsp
movq %rdi, %r14
cmpb $0x1, 0xa1(%rdi)
je 0x190b1
cmpb $0x1, 0x91(%r14)
je 0x1910f
movb $0x1, 0x91(%r14)
xorb $0x1, 0xa3(%r14)
movq 0x98(%r14), %rdi
testq %rdi, %rdi
je 0x190a8
movq (%rdi), %rax
addq $0x50, %rsp
popq %rbx
popq %r14
popq %rbp
jmpq *0x10(%rax)
addq $0x50, %rsp
popq %rbx
popq %r14
popq %rbp
retq
pushq $0x68
popq %rdi
callq 0x61e0
movq %rax, %rbx
leaq 0x9998(%rip), %rsi      # 0x22a5b
leaq 0x30(%rsp), %rdi
leaq 0xf(%rsp), %rdx
callq 0xcaa6
movq (%r14), %rax
leaq 0x10(%rsp), %rdi
movq %r14, %rsi
callq *0x38(%rax)
movb $0x1, %bpl
leaq 0x30(%rsp), %rsi
leaq 0x10(%rsp), %rdx
movq %rbx, %rdi
callq 0x192f8
xorl %ebp, %ebp
leaq 0x184ba(%rip), %rsi     # 0x315b8
leaq 0x4429(%rip), %rdx      # 0x1d52e
movq %rbx, %rdi
callq 0x6580
jmp 0x1916b
pushq $0x68
popq %rdi
callq 0x61e0
movq %rax, %rbx
leaq 0x91c7(%rip), %rsi      # 0x222e8
leaq 0x30(%rsp), %rdi
leaq 0xf(%rsp), %rdx
callq 0xcaa6
movq (%r14), %rax
leaq 0x10(%rsp), %rdi
movq %r14, %rsi
callq *0x38(%rax)
movb $0x1, %bpl
leaq 0x30(%rsp), %rsi
leaq 0x10(%rsp), %rdx
movq %rbx, %rdi
callq 0x192f8
xorl %ebp, %ebp
leaq 0x1845c(%rip), %rsi     # 0x315b8
leaq 0x43cb(%rip), %rdx      # 0x1d52e
movq %rbx, %rdi
callq 0x6580
jmp 0x1916f
jmp 0x1917e
movq %rax, %r14
leaq 0x10(%rsp), %rdi
callq 0x66d0
jmp 0x19184
movq %rax, %r14
movb $0x1, %bpl
leaq 0x30(%rsp), %rdi
callq 0x66d0
testb %bpl, %bpl
jne 0x1919a
jmp 0x191a2
jmp 0x19197
movq %rax, %r14
movq %rbx, %rdi
callq 0x62b0
movq %r14, %rdi
callq 0x65d0
// File: /workspace/github_cpp_makefile_star2_O2/Chrom3D[P]Chrom3D/src/tclap-1.2.1/include/tclap/ValuesConstraint.h
// Function: TCLAP::ValuesConstraint<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>::ValuesConstraint(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>>>>&)
ValuesConstraint<T>::ValuesConstraint(std::vector<T>& allowed)
: _allowed(allowed),
  _typeDesc("")
{ 
    for ( unsigned int i = 0; i < _allowed.size(); i++ )
    {

#if defined(HAVE_SSTREAM)
        std::ostringstream os;
#elif defined(HAVE_STRSTREAM)
        std::ostrstream os;
#else
#error "Need a stringstream (sstream or strstream) to compile!"
#endif

        os << _allowed[i];

        std::string temp( os.str() ); 

        if ( i > 0 )
			_typeDesc += "|";
        _typeDesc += temp;
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x198, %rsp            # imm = 0x198
movq %rdi, %rbx
leaq 0x17b15(%rip), %rax     # 0x31c80
movq %rax, (%rdi)
leaq 0x8(%rdi), %r14
movq %r14, %rdi
callq 0x1330c
leaq 0x20(%rbx), %r15
leaq 0x8cf6(%rip), %rsi      # 0x22e7b
leaq 0x20(%rsp), %rdx
movq %r15, %rdi
callq 0xcaa6
xorl %r12d, %r12d
leaq 0x20(%rsp), %r13
movq %rsp, %rbp
movl %r12d, %r12d
movq 0x10(%rbx), %rax
subq 0x8(%rbx), %rax
sarq $0x5, %rax
cmpq %r12, %rax
jbe 0x1a20c
movq %r13, %rdi
callq 0x6410
movq %r12, %rsi
shlq $0x5, %rsi
addq (%r14), %rsi
movq %r13, %rdi
callq 0x6320
movq %rbp, %rdi
leaq 0x28(%rsp), %rsi
callq 0x64d0
testq %r12, %r12
je 0x1a1ec
movq %r15, %rdi
leaq 0x8912(%rip), %rsi      # 0x22af9
callq 0x6650
movq %r15, %rdi
movq %rbp, %rsi
callq 0x6670
movq %rbp, %rdi
callq 0x66d0
movq %r13, %rdi
callq 0x60d0
incl %r12d
jmp 0x1a19d
addq $0x198, %rsp            # imm = 0x198
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r12
jmp 0x1a251
movq %rax, %r12
jmp 0x1a259
jmp 0x1a22a
movq %rax, %r12
jmp 0x1a23f
movq %rax, %r12
jmp 0x1a249
movq %rax, %r12
movq %rsp, %rdi
callq 0x66d0
leaq 0x20(%rsp), %rdi
callq 0x60d0
movq %r15, %rdi
callq 0x66d0
movq %r14, %rdi
callq 0x7f2a
leaq 0x17a80(%rip), %rax     # 0x31ce0
movq %rax, (%rbx)
movq %r12, %rdi
callq 0x65d0
nop
// File: /workspace/github_cpp_makefile_star2_O2/Chrom3D[P]Chrom3D/src/tclap-1.2.1/include/tclap/StdOutput.h
// Function: TCLAP::StdOutput::version(TCLAP::CmdLineInterface&)
inline void StdOutput::version(CmdLineInterface& _cmd) 
{
	std::string progName = _cmd.getProgramName();
	std::string xversion = _cmd.getVersion();

	std::cout << std::endl << progName << "  version: " 
			  << xversion << std::endl << std::endl;
}

// Assembly:
pushq %rbx
subq $0x40, %rsp
movq %rsi, %rbx
movq (%rsi), %rax
movq %rsi, %rdi
callq *0x50(%rax)
leaq 0x20(%rsp), %rdi
movq %rax, %rsi
callq 0x6430
movq (%rbx), %rax
movq %rbx, %rdi
callq *0x48(%rax)
movq %rsp, %rdi
movq %rax, %rsi
callq 0x6430
movq 0x17003(%rip), %rdi     # 0x31f80
callq 0x61d0
leaq 0x20(%rsp), %rsi
movq %rax, %rdi
callq 0x6320
leaq 0x7ebe(%rip), %rsi      # 0x22e54
movq %rax, %rdi
callq 0x6330
movq %rsp, %rsi
movq %rax, %rdi
callq 0x6320
movq %rax, %rdi
callq 0x61d0
movq %rax, %rdi
callq 0x61d0
movq %rsp, %rdi
callq 0x66d0
leaq 0x20(%rsp), %rdi
callq 0x66d0
addq $0x40, %rsp
popq %rbx
retq
movq %rax, %rbx
jmp 0x1afe1
movq %rax, %rbx
movq %rsp, %rdi
callq 0x66d0
leaq 0x20(%rsp), %rdi
callq 0x66d0
movq %rbx, %rdi
callq 0x65d0
nop
// File: /workspace/github_cpp_makefile_star2_O2/Chrom3D[P]Chrom3D/src/../src/tclap-1.2.1/include/tclap/CmdLine.h
// Function: TCLAP::CmdLine::setOutput(TCLAP::CmdLineOutput*)
inline void CmdLine::setOutput(CmdLineOutput* co)
{
	if ( !_userSetOutput )
		delete _output;
	_userSetOutput = true;
	_output = co;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
cmpb $0x0, 0xd9(%rdi)
jne 0x1b40f
movq 0xd0(%r14), %rdi
testq %rdi, %rdi
je 0x1b40f
movq (%rdi), %rax
callq *0x8(%rax)
movb $0x1, 0xd9(%r14)
movq %rbx, 0xd0(%r14)
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_cpp_makefile_star2_O2/Chrom3D[P]Chrom3D/src/tclap-1.2.1/include/tclap/Arg.h
// Function: void TCLAP::ExtractValue<unsigned int>(unsigned int&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, TCLAP::ValueLike)
void
ExtractValue(T &destVal, const std::string& strVal, ValueLike vl)
{
    static_cast<void>(vl); // Avoid warning about unused vl
    std::istringstream is(strVal);

    int valuesRead = 0;
    while ( is.good() ) {
	if ( is.peek() != EOF )
#ifdef TCLAP_SETBASE_ZERO
	    is >> std::setbase(0) >> destVal;
#else
	    is >> destVal;
#endif
	else
	    break;

	valuesRead++;
    }

    if ( is.fail() )
	throw( ArgParseException("Couldn't read argument value "
				 "from string '" + strVal + "'"));


    if ( valuesRead > 1 )
	throw( ArgParseException("More than one valid value parsed from "
				 "string '" + strVal + "'"));

}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x1e8, %rsp            # imm = 0x1E8
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x68(%rsp), %r15
pushq $0x8
popq %rdx
movq %r15, %rdi
callq 0x6550
xorl %ebp, %ebp
movq 0x68(%rsp), %rax
movq -0x18(%rax), %rax
cmpl $0x0, 0x88(%rsp,%rax)
jne 0x1e3b9
movq %r15, %rdi
callq 0x6160
cmpl $-0x1, %eax
je 0x1e3b0
movq %r15, %rdi
movq %rbx, %rsi
callq 0x65c0
incl %ebp
jmp 0x1e381
movq 0x68(%rsp), %rax
movq -0x18(%rax), %rax
testb $0x5, 0x88(%rsp,%rax)
jne 0x1e3e4
cmpl $0x2, %ebp
jae 0x1e45e
leaq 0x68(%rsp), %rdi
callq 0x61c0
addq $0x1e8, %rsp            # imm = 0x1E8
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
pushq $0x68
popq %rdi
callq 0x61e0
movq %rax, %rbx
leaq 0x49f1(%rip), %rsi      # 0x22de7
leaq 0x28(%rsp), %rdi
movq %r14, %rdx
callq 0x1bd48
leaq 0x499c(%rip), %rdx      # 0x22da6
leaq 0x48(%rsp), %rdi
leaq 0x28(%rsp), %rsi
callq 0x1324e
leaq 0x48aa(%rip), %rsi      # 0x22cca
leaq 0x8(%rsp), %rdi
leaq 0x7(%rsp), %rdx
callq 0xcaa6
movb $0x1, %bpl
leaq 0x48(%rsp), %rsi
leaq 0x8(%rsp), %rdx
movq %rbx, %rdi
callq 0x1d464
xorl %ebp, %ebp
leaq 0x13553(%rip), %rsi     # 0x319a0
leaq -0xf26(%rip), %rdx      # 0x1d52e
movq %rbx, %rdi
callq 0x6580
jmp 0x1e4d6
pushq $0x68
popq %rdi
callq 0x61e0
movq %rax, %rbx
leaq 0x49a2(%rip), %rsi      # 0x22e12
leaq 0x28(%rsp), %rdi
movq %r14, %rdx
callq 0x1bd48
leaq 0x4922(%rip), %rdx      # 0x22da6
leaq 0x48(%rsp), %rdi
leaq 0x28(%rsp), %rsi
callq 0x1324e
leaq 0x4830(%rip), %rsi      # 0x22cca
leaq 0x8(%rsp), %rdi
leaq 0x7(%rsp), %rdx
callq 0xcaa6
movb $0x1, %bpl
leaq 0x48(%rsp), %rsi
leaq 0x8(%rsp), %rdx
movq %rbx, %rdi
callq 0x1d464
xorl %ebp, %ebp
leaq 0x134d9(%rip), %rsi     # 0x319a0
leaq -0xfa0(%rip), %rdx      # 0x1d52e
movq %rbx, %rdi
callq 0x6580
jmp 0x1e4da
jmp 0x1e4e9
movq %rax, %r14
leaq 0x8(%rsp), %rdi
callq 0x66d0
jmp 0x1e4ef
movq %rax, %r14
movb $0x1, %bpl
leaq 0x48(%rsp), %rdi
callq 0x66d0
jmp 0x1e503
jmp 0x1e4fd
movq %rax, %r14
movb $0x1, %bpl
leaq 0x28(%rsp), %rdi
callq 0x66d0
testb %bpl, %bpl
jne 0x1e519
jmp 0x1e526
jmp 0x1e516
movq %rax, %r14
movq %rbx, %rdi
callq 0x62b0
jmp 0x1e526
movq %rax, %r14
leaq 0x68(%rsp), %rdi
callq 0x61c0
movq %r14, %rdi
callq 0x65d0
// File: /workspace/github_cpp_makefile_star2_O2/Chrom3D[P]Chrom3D/src/tclap-1.2.1/include/tclap/OptionalUnlabeledTracker.h
// Function: TCLAP::OptionalUnlabeledTracker::check(bool, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
inline void OptionalUnlabeledTracker::check( bool req, const std::string& argName )
{
    if ( OptionalUnlabeledTracker::alreadyOptional() )
        throw( SpecificationException(
	"You can't specify ANY Unlabeled Arg following an optional Unlabeled Arg",
	                argName ) );

    if ( !req )
        OptionalUnlabeledTracker::gotOptional();
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
subq $0x30, %rsp
cmpb $0x1, 0x13181(%rip)     # 0x323f8
je 0x1f28e
testb %dil, %dil
jne 0x1f285
movb $0x1, 0x13173(%rip)     # 0x323f8
addq $0x30, %rsp
popq %rbx
popq %r14
popq %rbp
retq
movq %rsi, %r14
pushq $0x68
popq %rdi
callq 0x61e0
movq %rax, %rbx
leaq 0x3c4b(%rip), %rsi      # 0x22eee
leaq 0x10(%rsp), %rdi
leaq 0xf(%rsp), %rdx
callq 0xcaa6
movb $0x1, %bpl
leaq 0x10(%rsp), %rsi
movq %rbx, %rdi
movq %r14, %rdx
callq 0x1c84c
xorl %ebp, %ebp
leaq 0x125fa(%rip), %rsi     # 0x318c8
leaq -0x1da7(%rip), %rdx     # 0x1d52e
movq %rbx, %rdi
callq 0x6580
movq %rax, %r14
leaq 0x10(%rsp), %rdi
callq 0x66d0
testb %bpl, %bpl
jne 0x1f2f4
jmp 0x1f2fc
movq %rax, %r14
movq %rbx, %rdi
callq 0x62b0
movq %r14, %rdi
callq 0x65d0
// File: /workspace/github_cpp_makefile_star2_O2/Chrom3D[P]Chrom3D/src/tclap-1.2.1/include/tclap/UnlabeledValueArg.h
// Function: TCLAP::UnlabeledValueArg<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>::processArg(int*, 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>>>>&)
bool UnlabeledValueArg<T>::processArg(int *i, std::vector<std::string>& args) 
{
	
	if ( _alreadySet )
		return false;
	
	if ( _hasBlanks( args[*i] ) )
		return false;

	// never ignore an unlabeled arg
	
	_extractValue( args[*i] );
	_alreadySet = true;
	return true;
}

// Assembly:
cmpb $0x0, 0x91(%rdi)
je 0x1f33c
xorl %eax, %eax
retq
pushq %r15
pushq %r14
pushq %rbx
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
movslq (%rsi), %rsi
shlq $0x5, %rsi
addq (%rdx), %rsi
callq 0x1d440
testb %al, %al
je 0x1f361
xorl %eax, %eax
jmp 0x1f37c
movslq (%r15), %rsi
shlq $0x5, %rsi
addq (%r14), %rsi
movq %rbx, %rdi
callq 0x1db9e
movb $0x1, 0x91(%rbx)
movb $0x1, %al
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O2/Chrom3D[P]Chrom3D/src/tclap-1.2.1/include/tclap/UnlabeledValueArg.h
// Function: TCLAP::UnlabeledValueArg<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>::operator==(TCLAP::Arg const&) const
bool UnlabeledValueArg<T>::operator==(const Arg& a ) const
{
	if ( _name == a.getName() || _description == a.getDescription() )
		return true;
	else
		return false;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x28, %rsp
movq %rsi, %r14
movq %rdi, %rbx
addq $0x28, %rdi
addq $0x28, %rsi
callq 0xa491
movb $0x1, %bpl
testb %al, %al
jne 0x1f3cf
addq $0x48, %rbx
leaq 0x8(%rsp), %r15
movq %r15, %rdi
movq %r14, %rsi
callq 0x1bc9c
movq %rbx, %rdi
movq %r15, %rsi
callq 0xa491
movl %eax, %ebp
movq %r15, %rdi
callq 0x66d0
movl %ebp, %eax
addq $0x28, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O2/Chrom3D[P]Chrom3D/src/tclap-1.2.1/include/tclap/UnlabeledValueArg.h
// Function: TCLAP::UnlabeledValueArg<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>::longID(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) const
std::string UnlabeledValueArg<T>::longID(const std::string& val) const
{
	static_cast<void>(val); // Ignore input, don't warn

	// Ideally we would like to be able to use RTTI to return the name
	// of the type required for this argument.  However, g++ at least, 
	// doesn't appear to return terribly useful "names" of the types.  
	return std::string("<") + _typeDesc + ">";
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x50, %rsp
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x39c2(%rip), %rsi      # 0x22e4c
leaq 0x30(%rsp), %r15
leaq 0xf(%rsp), %rdx
movq %r15, %rdi
callq 0xcaa6
addq $0xe8, %r14
leaq 0x10(%rsp), %rdi
movq %r15, %rsi
movq %r14, %rdx
callq 0x1b63f
leaq 0x247f(%rip), %rdx      # 0x21939
leaq 0x10(%rsp), %rsi
movq %rbx, %rdi
callq 0x1324e
leaq 0x10(%rsp), %rdi
callq 0x66d0
leaq 0x30(%rsp), %rdi
callq 0x66d0
movq %rbx, %rax
addq $0x50, %rsp
popq %rbx
popq %r14
popq %r15
retq
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
callq 0x66d0
jmp 0x1f4fa
movq %rax, %rbx
leaq 0x30(%rsp), %rdi
callq 0x66d0
movq %rbx, %rdi
callq 0x65d0
// File: /workspace/github_cpp_makefile_star2_O2/QZzcoder[P]LiveChat/SocketManager.cpp
// Function: getTime[abi:cxx11]()
string getTime(){
    time_t timep;
    time(&timep);
    char tmp[64];
    memset(tmp,0,sizeof(tmp));
    strftime(tmp,sizeof(tmp),"%Y-%m-%d %H:%M:%S ",localtime(&timep));
    return tmp;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x58, %rsp
movq %rdi, %rbx
leaq -0x28(%rbp), %r14
movq %r14, %rdi
callq 0x2160
xorps %xmm0, %xmm0
leaq -0x70(%rbp), %r15
movaps %xmm0, 0x30(%r15)
movaps %xmm0, 0x20(%r15)
movaps %xmm0, 0x10(%r15)
movaps %xmm0, (%r15)
movq %r14, %rdi
callq 0x2110
leaq 0x146a(%rip), %rdx      # 0x4060
pushq $0x40
popq %rsi
movq %r15, %rdi
movq %rax, %rcx
callq 0x2130
leaq -0x19(%rbp), %rdx
movq %rbx, %rdi
movq %r15, %rsi
callq 0x20a0
movq %rbx, %rax
addq $0x58, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O2/QZzcoder[P]LiveChat/SocketManager.cpp
// Function: getSocket(int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool)
int getSocket(int port,std::string ip,bool isServer){
    int socket_fd = socket(AF_INET, SOCK_STREAM,0);
    if(socket_fd == -1)
    {
        cout<<"socket 创建失败："<<endl;
        exit(-1);
    }
    struct sockaddr_in addr;
    addr.sin_family = AF_INET;
    addr.sin_port = htons(port);
    addr.sin_addr.s_addr = inet_addr(ip.c_str());
    bool nOptval = true;
    setsockopt(socket_fd,SOL_SOCKET,SO_REUSEADDR,(const void*)&nOptval,sizeof(bool));
    int res;
    if(!isServer){
        res = connect(socket_fd,(struct sockaddr*)&addr,sizeof(addr));
    }else{
        res = bind(socket_fd,(struct sockaddr*)&addr,sizeof(addr));
        listen(socket_fd,30);
    }
    if(res == -1){
        cout<<"bind 链接失败："<<endl;
        exit(-1);
    }
    return socket_fd;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x20, %rsp
movl %edx, %r14d
movq %rsi, %r15
movl %edi, %r12d
pushq $0x2
popq %rdi
pushq $0x1
popq %rsi
xorl %edx, %edx
callq 0x2060
cmpl $-0x1, %eax
je 0x2cbe
movl %eax, %ebx
movw $0x2, -0x34(%rbp)
rolw $0x8, %r12w
movw %r12w, -0x32(%rbp)
movq (%r15), %rdi
callq 0x21b0
movl %eax, -0x30(%rbp)
leaq -0x21(%rbp), %rcx
movb $0x1, (%rcx)
pushq $0x2
popq %rdx
pushq $0x1
popq %rsi
movl %ebx, %edi
movl %esi, %r8d
callq 0x2290
leaq -0x34(%rbp), %rsi
pushq $0x10
popq %rdx
movl %ebx, %edi
testb %r14b, %r14b
je 0x2ca1
callq 0x2040
movl %eax, %r14d
pushq $0x1e
popq %rsi
movl %ebx, %edi
callq 0x21e0
jmp 0x2ca9
callq 0x2140
movl %eax, %r14d
cmpl $-0x1, %r14d
je 0x2cce
movl %ebx, %eax
addq $0x20, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
movq 0x330b(%rip), %rdi      # 0x5fd0
leaq 0x13a7(%rip), %rsi      # 0x4073
jmp 0x2cdc
movq 0x32fb(%rip), %rdi      # 0x5fd0
leaq 0x13ae(%rip), %rsi      # 0x408a
callq 0x2190
movq %rax, %rdi
callq 0x20d0
pushq $-0x1
popq %rdi
callq 0x2200
// File: /workspace/github_cpp_makefile_star2_O2/QZzcoder[P]LiveChat/SocketManager.cpp
// Function: mySelect(fd_set&, std::set<int, std::less<int>, std::allocator<int>>, int)
int mySelect(fd_set& fds,set<int> fd,int usec){
    timeval timeout = {0};
    timeout.tv_usec = usec;
    FD_ZERO(&fds);
    int maxfd = 0;
    for(int i:fd){
        maxfd = maxfd>i?maxfd:i;
        FD_SET(i,&fds);
    }
    switch(select(maxfd+1,&fds,NULL,NULL,&timeout)){
        case -1:{
            cout<<"select error";
            exit(1);
        }case 0:break;
        default:{
            for(int i:fd){
                if(FD_ISSET(i,&fds)){
                    return i;
                }
            }
        }
    }
    return -1;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
andq $0x0, -0x40(%rbp)
movq %rdi, %rbx
movslq %edx, %rax
movq %rax, -0x38(%rbp)
xorl %eax, %eax
cmpq $0x10, %rax
je 0x2d23
andq $0x0, (%rbx,%rax,8)
incq %rax
jmp 0x2d13
movq 0x18(%rsi), %rdi
movq %rsi, -0x30(%rbp)
leaq 0x8(%rsi), %r12
xorl %r15d, %r15d
pushq $0x40
popq %r13
pushq $0x1
popq %r14
cmpq %r12, %rdi
je 0x2d6b
movl 0x20(%rdi), %ecx
cmpl %ecx, %r15d
cmovlel %ecx, %r15d
movl %ecx, %eax
cltd
idivl %r13d
movslq %eax, %rdx
shll $0x6, %eax
subl %eax, %ecx
movq %r14, %rax
shlq %cl, %rax
orq %rax, (%rbx,%rdx,8)
callq 0x21f0
movq %rax, %rdi
jmp 0x2d3a
incl %r15d
leaq -0x40(%rbp), %r8
movl %r15d, %edi
movq %rbx, %rsi
xorl %edx, %edx
xorl %ecx, %ecx
callq 0x2180
pushq $-0x1
popq %r15
testl %eax, %eax
je 0x2dba
cmpl $-0x1, %eax
je 0x2dce
movq -0x30(%rbp), %rax
movq 0x18(%rax), %rdi
cmpq %r12, %rdi
je 0x2dba
movl 0x20(%rdi), %ecx
movl %ecx, %eax
cltd
idivl %r13d
cltq
movq (%rbx,%rax,8), %rax
btq %rdx, %rax
jb 0x2dbd
callq 0x21f0
movq %rax, %rdi
jmp 0x2d96
movl %r15d, %ecx
movl %ecx, %eax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x31fb(%rip), %rdi      # 0x5fd0
leaq 0x12c3(%rip), %rsi      # 0x409f
callq 0x2190
pushq $0x1
popq %rdi
callq 0x2200
// File: /workspace/github_cpp_makefile_star2_O2/QZzcoder[P]LiveChat/SocketManager.cpp
// Function: splitString(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, char)
vector<string> splitString(string s,char flag){
    vector<string> ret;

    for(int i = 0;i<s.size();i++){
        if(s[i] == flag){
            ret.push_back(s.substr(0,i));
            ret.push_back(s.substr(i+1,s.size()-i-1));
            return ret;
        }
    }
    return ret;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x28, %rsp
movq %rsi, %r14
movq %rdi, %rbx
xorps %xmm0, %xmm0
movups %xmm0, (%rdi)
andq $0x0, 0x10(%rdi)
xorl %eax, %eax
subq 0x8(%rsi), %rax
pushq $0x1
popq %r15
leaq (%rax,%r15), %rcx
cmpq $0x1, %rcx
je 0x2e7c
movq (%r14), %rcx
cmpb %dl, -0x1(%rcx,%r15)
je 0x2e2a
incq %r15
jmp 0x2e11
leaq -0x1(%r15), %rcx
leaq -0x38(%rbp), %rdi
movq %r14, %rsi
xorl %edx, %edx
callq 0x21c0
leaq -0x38(%rbp), %rsi
movq %rbx, %rdi
callq 0x2f16
leaq -0x38(%rbp), %rdi
callq 0x20c0
movl %r15d, %edx
movq 0x8(%r14), %rcx
subq %r15, %rcx
leaq -0x38(%rbp), %rdi
movq %r14, %rsi
callq 0x21c0
leaq -0x38(%rbp), %rsi
movq %rbx, %rdi
callq 0x2f16
leaq -0x38(%rbp), %rdi
callq 0x20c0
movq %rbx, %rax
addq $0x28, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
jmp 0x2e8e
jmp 0x2e9c
movq %rax, %r14
leaq -0x38(%rbp), %rdi
callq 0x20c0
jmp 0x2e9f
movq %rax, %r14
movq %rbx, %rdi
callq 0x2eb0
movq %r14, %rdi
callq 0x2280
nop
// File: /workspace/github_cpp_makefile_star2_O2/Heptagon196[P]Gos/Reflection/Object.cpp
// Function: SharedObject::SharedObject(TypeID, std::shared_ptr<void>, bool)
SharedObject::SharedObject(TypeID id, std::shared_ptr<void> ptr, bool call_ctor) : id(id), ptr(ptr), objPtr(nullptr) {
    if (id == TypeID::get<void>()) {
        return;
    }
    if (call_ctor) {
        ctor({});
    }
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
subq $0x20, %rsp
movl %edx, %ebp
movq %rdi, %rbx
movaps 0x40(%rsp), %xmm0
movaps 0x50(%rsp), %xmm1
movups %xmm1, 0x10(%rdi)
movups %xmm0, (%rdi)
addq $0x20, %rdi
callq 0x215f0
andq $0x0, 0x30(%rbx)
movq %rsp, %rdi
callq 0x20c9a
leaq 0x40(%rsp), %rdi
movq %rsp, %rsi
callq 0x1ba12
xorb $0x1, %bpl
orb %bpl, %al
jne 0x17268
xorps %xmm0, %xmm0
movq %rsp, %rsi
movaps %xmm0, (%rsi)
andq $0x0, 0x10(%rsi)
movq %rbx, %rdi
callq 0x17296
movq %rsp, %rdi
callq 0x225a0
addq $0x20, %rsp
popq %rbx
popq %r14
popq %rbp
retq
movq %rax, %r14
movq %rsp, %rdi
callq 0x225a0
jmp 0x17281
movq %rax, %r14
addq $0x28, %rbx
movq %rbx, %rdi
callq 0x21624
movq %r14, %rdi
callq 0x11570
nop
// File: /workspace/github_cpp_makefile_star2_O2/Heptagon196[P]Gos/Reflection/Object.cpp
// Function: operator<<(std::ostream&, ObjectPtr const&)
std::ostream& operator << (std::ostream& out, const ObjectPtr& ptr) {
    auto obj = ptr.Invoke(MetaMethods::operator_tostring, {});
    if (obj.GetType() != TypeID::get<std::string>()) {
        return out;
    }
    out << obj.Get<std::string>();
    return out;
}

// Assembly:
pushq %r14
pushq %rbx
subq $0x78, %rsp
movq %rdi, %rbx
xorps %xmm0, %xmm0
movq %rsp, %r8
movaps %xmm0, (%r8)
andq $0x0, 0x10(%r8)
leaq 0x7c3bc(%rip), %rcx     # 0x95ddb
leaq 0x20(%rsp), %rdi
pushq $0xa
popq %rdx
callq 0x170bc
movq %rsp, %r14
movq %r14, %rdi
callq 0x225a0
movups 0x20(%rsp), %xmm0
movups 0x30(%rsp), %xmm1
movaps %xmm1, 0x10(%r14)
movaps %xmm0, (%r14)
leaq 0x58(%rsp), %rdi
callq 0x2140e
movq %rsp, %rdi
leaq 0x58(%rsp), %rsi
callq 0x1ba2a
testb %al, %al
jne 0x19a7c
movq 0x50(%rsp), %rsi
testq %rsi, %rsi
jne 0x19a74
movq 0x40(%rsp), %rsi
movq %rbx, %rdi
callq 0x11320
leaq 0x20(%rsp), %rdi
callq 0x19b6c
movq %rbx, %rax
addq $0x78, %rsp
popq %rbx
popq %r14
retq
jmp 0x19aa0
movq %rax, %rbx
movq %rsp, %rdi
callq 0x225a0
jmp 0x19aad
movq %rax, %rbx
leaq 0x20(%rsp), %rdi
callq 0x19b6c
movq %rbx, %rdi
callq 0x11570
// File: /workspace/github_cpp_makefile_star2_O2/Heptagon196[P]Gos/Reflection/ReflMgrInit.cpp
// Function: ReflMgrTool::InitModules()
void InitModules() {
        auto& mgr = ReflMgr::Instance();
        mgr.SelfExport();
        // ObjectPtr SharedObject
#define DEFOBJ(Obj)                                                  \
        mgr.AddMethod(&Obj::Invoke, "Invoke");                       \
        mgr.AddMethod(&Obj::GetField, "GetField");                   \
        mgr.AddMethod(&Obj::GetType, "GetType");                     \
        mgr.AddMethod(&Obj::tostring, "tostring");                   \
        mgr.AddMethod(&Obj::ctor, "ctor");                           \
        mgr.AddMethod(&Obj::dtor, "dtor");                           \

        DEFOBJ(ObjectPtr);
        DEFOBJ(SharedObject);
#undef DEFOBJ
    }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
callq 0x1df9e
movq %rax, %rbx
movq %rax, %rdi
callq 0x1fba2
leaq -0x2fcf(%rip), %rsi     # 0x170bc
leaq 0x7bf63(%rip), %r8      # 0x95ff5
pushq $0x6
popq %rcx
movq %rbx, %rdi
xorl %edx, %edx
callq 0x297fe
leaq -0x3042(%rip), %rsi     # 0x17064
leaq 0x7bf4f(%rip), %r8      # 0x95ffc
pushq $0x8
popq %r14
movq %rbx, %rdi
xorl %edx, %edx
movq %r14, %rcx
callq 0x298f2
leaq -0x30a1(%rip), %rsi     # 0x17024
leaq 0x7bf39(%rip), %r8      # 0x96005
pushq $0x7
popq %rcx
movq %rbx, %rdi
xorl %edx, %edx
callq 0x299e6
leaq -0xdae(%rip), %rsi      # 0x19332
leaq 0x7bcf6(%rip), %rbp     # 0x95ddd
movq %rbx, %rdi
xorl %edx, %edx
movq %r14, %rcx
movq %rbp, %r8
callq 0x29ada
leaq -0xd46(%rip), %rsi      # 0x193b8
leaq 0x7bce3(%rip), %r15     # 0x95de8
pushq $0x4
popq %r12
movq %rbx, %rdi
xorl %edx, %edx
movq %r12, %rcx
movq %r15, %r8
callq 0x29bce
leaq -0xd08(%rip), %rsi      # 0x19418
leaq 0x7bcc8(%rip), %r13     # 0x95def
movq %rbx, %rdi
xorl %edx, %edx
movq %r12, %rcx
movq %r13, %r8
callq 0x29cc2
leaq -0x2d88(%rip), %rsi     # 0x173b6
movq %rbx, %rdi
xorl %edx, %edx
pushq $0x6
popq %rcx
leaq 0x7bea8(%rip), %r8      # 0x95ff5
callq 0x29db6
leaq -0x2e15(%rip), %rsi     # 0x17344
movq %rbx, %rdi
xorl %edx, %edx
movq %r14, %rcx
leaq 0x7be94(%rip), %r8      # 0x95ffc
callq 0x29eaa
leaq -0x2e5e(%rip), %rsi     # 0x17316
movq %rbx, %rdi
xorl %edx, %edx
pushq $0x7
popq %rcx
leaq 0x7be82(%rip), %r8      # 0x96005
callq 0x29f9e
leaq -0x20b7(%rip), %rsi     # 0x180d8
movq %rbx, %rdi
xorl %edx, %edx
movq %r14, %rcx
movq %rbp, %r8
callq 0x2a092
leaq -0x2f10(%rip), %rsi     # 0x17296
movq %rbx, %rdi
xorl %edx, %edx
movq %r12, %rcx
movq %r15, %r8
callq 0x2a186
leaq -0x2049(%rip), %rsi     # 0x18174
movq %rbx, %rdi
xorl %edx, %edx
movq %r12, %rcx
movq %r13, %r8
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x2a27a
// File: /workspace/github_cpp_makefile_star2_O2/Heptagon196[P]Gos/Reflection/JSON.cpp
// Function: JSON::Init()
void JSON::Init() {
    ReflMgr::Instance().AddMethod<JSON>(std::function([](JSON* self) -> std::string {
        return self->obj.tostring().As<std::string>();
    }), MetaMethods::operator_tostring);
    ReflMgr::Instance().AddMethod<std::vector<JSON>>(std::function([](std::vector<JSON>* self) -> std::string {
        std::stringstream ss;
        printVec(ss, *self);
        return ss.str();
    }), MetaMethods::operator_tostring);
    ReflMgr::Instance().AddMethod<std::unordered_map<std::string, JSON>>(std::function([](std::unordered_map<std::string, JSON>* self) -> std::string {
        std::stringstream ss;
        printMap(ss, *self);
        return ss.str();
    }), MetaMethods::operator_tostring);
}

// Assembly:
pushq %r14
pushq %rbx
subq $0x68, %rsp
callq 0x1df9e
xorps %xmm0, %xmm0
leaq 0x40(%rsp), %rbx
movaps %xmm0, (%rbx)
leaq 0xd28(%rip), %rcx       # 0x1b46a
movq %rcx, 0x18(%rbx)
leaq 0xd6f(%rip), %rcx       # 0x1b4bc
movq %rcx, 0x10(%rbx)
leaq 0x7b683(%rip), %rcx     # 0x95ddb
pushq $0xa
popq %rdx
movq %rax, %rdi
movq %rbx, %rsi
callq 0x6560a
leaq 0x40(%rsp), %rdi
callq 0x21f04
callq 0x1df9e
leaq 0x20(%rsp), %rbx
xorps %xmm0, %xmm0
movaps %xmm0, (%rbx)
leaq 0xd4d(%rip), %rcx       # 0x1b4d4
movq %rcx, 0x18(%rbx)
leaq 0xe4c(%rip), %rcx       # 0x1b5de
movq %rcx, 0x10(%rbx)
leaq 0x7b63e(%rip), %rcx     # 0x95ddb
pushq $0xa
popq %rdx
movq %rax, %rdi
movq %rbx, %rsi
callq 0x65720
leaq 0x20(%rsp), %rdi
callq 0x21f04
callq 0x1df9e
xorps %xmm0, %xmm0
movq %rsp, %rbx
movaps %xmm0, (%rbx)
leaq 0xff4(%rip), %rcx       # 0x1b7be
movq %rcx, 0x18(%rbx)
leaq 0x1137(%rip), %rcx      # 0x1b90c
movq %rcx, 0x10(%rbx)
leaq 0x7b5fb(%rip), %rcx     # 0x95ddb
pushq $0xa
popq %rdx
movq %rax, %rdi
movq %rbx, %rsi
callq 0x65836
movq %rsp, %rdi
callq 0x21f04
addq $0x68, %rsp
popq %rbx
popq %r14
retq
jmp 0x1a802
jmp 0x1a802
movq %rax, %r14
movq %rbx, %rdi
callq 0x21f04
movq %r14, %rdi
callq 0x11570
nop
// File: /workspace/github_cpp_makefile_star2_O2/Heptagon196[P]Gos/Reflection/JSON.cpp
// Function: JSON::JSON(std::basic_string_view<char, std::char_traits<char>>)
JSON::JSON(std::string_view content) {
    std::stringstream ss;
    ss << content;
    Tokenizer tk(ss);
    obj = parse(tk);
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x210, %rsp            # imm = 0x210
movq %rdx, %r15
movq %rsi, %r14
movq %rdi, %rbx
callq 0x17194
leaq 0x88(%rsp), %rdi
callq 0x11270
leaq 0x98(%rsp), %rdi
movq %r15, %rsi
movq %r14, %rdx
callq 0x113b0
movq %rsp, %rdi
leaq 0x88(%rsp), %rsi
callq 0x66270
leaq 0x50(%rsp), %rdi
movq %rsp, %rsi
callq 0x1a93c
leaq 0x50(%rsp), %r14
movq %rbx, %rdi
movq %r14, %rsi
callq 0x208e6
movq %r14, %rdi
callq 0x19b6c
leaq 0x30(%rsp), %rdi
callq 0x209be
leaq 0x88(%rsp), %rdi
callq 0x112c0
addq $0x210, %rsp            # imm = 0x210
popq %rbx
popq %r14
popq %r15
retq
movq %rax, %r14
leaq 0x30(%rsp), %rdi
callq 0x209be
jmp 0x1b115
jmp 0x1b112
movq %rax, %r14
leaq 0x88(%rsp), %rdi
callq 0x112c0
jmp 0x1b127
movq %rax, %r14
movq %rbx, %rdi
callq 0x19b6c
movq %r14, %rdi
callq 0x11570
// File: /workspace/github_cpp_makefile_star2_O2/Heptagon196[P]Gos/Reflection/JSON.cpp
// Function: void print<SharedObject>(std::__cxx11::basic_stringstream<char, std::char_traits<char>, std::allocator<char>>&, SharedObject const&)
static void print(std::stringstream& out, const T& val) {
    if constexpr (std::same_as<T, std::string> || std::same_as<T, std::string_view>) {
        out << '"' << val << '"';
    } else {
        if constexpr (std::same_as<T, SharedObject> || std::same_as<T, ObjectPtr>) {
            if (val.GetType() == TypeID::get<std::string>()) {
                out << '"' << codeString(val.template Get<std::string>()) << '"';
            } else if (val.GetType() == TypeID::get<std::string_view>()) {
                out << '"' << codeString(val.template Get<std::string_view>()) << '"';
            } else {
                out << val;
            }
        } else {
            out << val;
        }
    }
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %rsi, %rbx
movq %rdi, %r14
leaq 0x8(%rsp), %r15
movq %r15, %rdi
callq 0x17316
leaq 0x28(%rsp), %r12
movq %r12, %rdi
callq 0x2140e
movq %r15, %rdi
movq %r12, %rsi
callq 0x1ba12
testb %al, %al
je 0x1b676
addq $0x10, %r14
pushq $0x22
popq %rsi
movq %r14, %rdi
callq 0x113d0
movq %rax, %r14
movq %rbx, %rdi
callq 0x17016
movq (%rax), %rdx
movq 0x8(%rax), %rsi
leaq 0x8(%rsp), %rbx
movq %rbx, %rdi
callq 0x1b720
movq %r14, %rdi
movq %rbx, %rsi
callq 0x11320
pushq $0x22
popq %rsi
movq %rax, %rdi
callq 0x113d0
jmp 0x1b6e6
leaq 0x8(%rsp), %r15
movq %r15, %rdi
movq %rbx, %rsi
callq 0x17316
leaq 0x28(%rsp), %r12
movq %r12, %rdi
callq 0x57fb0
movq %r15, %rdi
movq %r12, %rsi
callq 0x1ba12
addq $0x10, %r14
testb %al, %al
je 0x1b6f2
pushq $0x22
popq %rsi
movq %r14, %rdi
callq 0x113d0
movq %rax, %r14
movq %rbx, %rdi
callq 0x17016
movq (%rax), %rsi
movq 0x8(%rax), %rdx
leaq 0x8(%rsp), %rbx
movq %rbx, %rdi
callq 0x1b720
movq %r14, %rdi
movq %rbx, %rsi
callq 0x11320
pushq $0x22
popq %rsi
movq %rax, %rdi
callq 0x113d0
leaq 0x8(%rsp), %rdi
callq 0x209be
jmp 0x1b6fd
movq %r14, %rdi
movq %rbx, %rsi
callq 0x19ab5
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
jmp 0x1b70b
movq %rax, %rbx
leaq 0x8(%rsp), %rdi
callq 0x209be
movq %rbx, %rdi
callq 0x11570
// File: /workspace/github_cpp_makefile_star2_O2/Heptagon196[P]Gos/Reflection/JSON.cpp
// Function: codeString[abi:cxx11](std::basic_string_view<char, std::char_traits<char>>)
static std::string codeString(std::string_view s) {
    std::string ret = "";
    for (auto ch : s) {
        if (ch == '\n') {
            ret += "\\n";
        } else if (ch == '\r') {
            ret += "\\r";
        } else if (ch == '\t') {
            ret += "\\t";
        } else {
            ret += ch;
        }
    }
    return ret;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
leaq 0x8e07b(%rip), %rsi     # 0xa97b6
leaq 0x7(%rsp), %rdx
callq 0x664f4
xorl %r12d, %r12d
leaq 0x7bb9f(%rip), %r13     # 0x972ee
leaq 0x7bb95(%rip), %rbp     # 0x972eb
cmpq %r12, %r15
je 0x1b798
movzbl (%r14,%r12), %eax
cmpl $0x9, %eax
je 0x1b777
movq %r13, %rsi
cmpl $0xd, %eax
je 0x1b77e
cmpl $0xa, %eax
jne 0x1b788
movq %rbp, %rsi
jmp 0x1b77e
leaq 0x7bb73(%rip), %rsi     # 0x972f1
movq %rbx, %rdi
callq 0x21c04
jmp 0x1b793
movsbl %al, %esi
movq %rbx, %rdi
callq 0x537e8
incq %r12
jmp 0x1b756
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r14
movq %rbx, %rdi
callq 0x209be
movq %r14, %rdi
callq 0x11570
nop
// File: /workspace/github_cpp_makefile_star2_O2/Heptagon196[P]Gos/Reflection/ReflMgr.cpp
// Function: ReflMgr::GetType(std::basic_string_view<char, std::char_traits<char>>)
TypeID ReflMgr::GetType(std::string_view clsName) {
    auto& instance = ReflMgr::Instance();
    TypeID target = TypeID::getRaw(clsName);
    if (!instance.HasClassInfo(target)) {
        return target;
    }
    while (!instance.classInfo[target].aliasTo.isNull()) {
        target = instance.classInfo[target].aliasTo;
    }
    return target;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x20, %rsp
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
callq 0x1df9e
movq %rbx, %rdi
movq %r15, %rsi
movq %r14, %rdx
callq 0x6ee5a
movups (%rbx), %xmm0
movups 0x10(%rbx), %xmm1
movq %rsp, %rsi
movaps %xmm1, 0x10(%rsi)
movaps %xmm0, (%rsi)
leaq 0xe849f(%rip), %rdi     # 0x1064d8
callq 0x71b30
testq %rax, %rax
je 0x1e07c
leaq 0xe848e(%rip), %r14     # 0x1064d8
movq %r14, %rdi
movq %rbx, %rsi
callq 0x2aae8
movq %rax, %rdi
callq 0x1b9c2
testb %al, %al
jne 0x1e07c
movq %r14, %rdi
movq %rbx, %rsi
callq 0x2aae8
movups (%rax), %xmm0
movups 0xa(%rax), %xmm1
movups %xmm0, (%rbx)
movups %xmm1, 0xa(%rbx)
jmp 0x1e04a
movq %rbx, %rax
addq $0x20, %rsp
popq %rbx
popq %r14
popq %r15
retq
nop
// File: /workspace/github_cpp_makefile_star2_O2/Heptagon196[P]Gos/Reflection/ReflMgr.cpp
// Function: ReflMgr::SafeGet(TypeID, std::basic_string_view<char, std::char_traits<char>>, ArgsTypeList const&)
const MethodInfo* ReflMgr::SafeGet(TypeID id, std::string_view name, const ArgsTypeList& args) {
    auto* lst = SafeGet(methodInfo, id, name);
    if (lst == nullptr) {
        return nullptr;
    }
    const MethodInfo* rec[3] = { nullptr, nullptr, nullptr };
    for (const auto& info : *lst) {
        CheckParams(info, args, rec);
    }
    for (int i = 0; i < 3; i++) {
        if (rec[i] != nullptr) {
            return rec[i];
        }
    }
    for (const auto& info : *lst) {
        CheckParams(info, args, rec, true);
    }
    return nullptr;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq %rcx, %rbx
movq %rdx, %rcx
movq %rsi, %rdx
movq %rdi, %r14
leaq 0x58(%rdi), %rsi
movaps 0x70(%rsp), %xmm0
movaps 0x80(%rsp), %xmm1
movups %xmm1, 0x10(%rsp)
movups %xmm0, (%rsp)
callq 0x6ef2a
testq %rax, %rax
je 0x1e138
movq %rax, %r15
leaq 0x20(%rsp), %r12
andq $0x0, 0x10(%r12)
xorps %xmm0, %xmm0
movaps %xmm0, (%r12)
movq (%rax), %r13
movq 0x8(%rax), %rbp
cmpq %rbp, %r13
je 0x1e121
movq %r14, %rdi
movq %r13, %rsi
movq %rbx, %rdx
movq %r12, %rcx
xorl %r8d, %r8d
callq 0x6f394
addq $0xd0, %r13
jmp 0x1e0ff
xorl %eax, %eax
cmpq $0x3, %rax
je 0x1e14d
movq 0x20(%rsp,%rax,8), %r12
incq %rax
testq %r12, %r12
je 0x1e123
jmp 0x1e13b
xorl %r12d, %r12d
movq %r12, %rax
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq (%r15), %r13
movq 0x8(%r15), %r15
xorl %r12d, %r12d
pushq $0x1
popq %rbp
cmpq %r15, %r13
je 0x1e13b
movq %r14, %rdi
movq %r13, %rsi
movq %rbx, %rdx
leaq 0x20(%rsp), %rcx
movl %ebp, %r8d
callq 0x6f394
addq $0xd0, %r13
jmp 0x1e15a