LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_cpp_makefile_star2_O3/melop[P]admixem/config.cpp
// Function: GeneProperties::operator=(GeneProperties const&)
GeneProperties& GeneProperties::operator=(const GeneProperties& oSource) { // overload the copy behavior
	this->AlleleMode = oSource.AlleleMode;
	this->DominantFreqPop1 = oSource.DominantFreqPop1;
	this->DominantFreqPop2 = oSource.DominantFreqPop2;
	this->DominantLabel = oSource.DominantLabel;
	this->DominantValue = oSource.DominantValue;
	this->GeneName = oSource.GeneName;
	this->LowerBound = oSource.LowerBound;
	this->MutationProb = oSource.MutationProb;
	this->RecessiveLabel = oSource.RecessiveLabel;
	this->RecessiveValue = oSource.RecessiveValue;
	this->sFormula = oSource.sFormula;
	this->UpperBound = oSource.UpperBound;
	this->pFormula = new Parser(oSource.sFormula);
	this->StartGen = oSource.StartGen;
	this->EndGen = oSource.EndGen;
	for(set< string >::iterator it=oSource.Pops.begin(); it != oSource.Pops.end(); ++it) {
		this->Pops.insert(*it);
	}
	 return *this ;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %rbx
movl 0x48(%rsi), %eax
movl %eax, 0x48(%rdi)
movups 0x38(%rsi), %xmm0
movups %xmm0, 0x38(%rdi)
movb 0x20(%rsi), %al
movb %al, 0x20(%rdi)
movsd 0x28(%rsi), %xmm0
movsd %xmm0, 0x28(%rdi)
callq 0x71d0
movups 0x50(%r14), %xmm0
movups %xmm0, 0x50(%rbx)
movb 0x21(%r14), %al
movb %al, 0x21(%rbx)
movsd 0x30(%r14), %xmm0
movsd %xmm0, 0x30(%rbx)
leaq 0x70(%r14), %r12
leaq 0x70(%rbx), %rdi
movq %r12, %rsi
callq 0x71d0
movsd 0x60(%r14), %xmm0
movsd %xmm0, 0x60(%rbx)
movl $0x98, %edi
callq 0x7380
movq %rax, %r15
movq %rax, %rdi
movq %r12, %rsi
callq 0x19fda
movq %r15, 0x68(%rbx)
movq 0xc0(%r14), %rax
movq %rax, 0xc0(%rbx)
movq 0xa8(%r14), %r15
addq $0x98, %r14
cmpq %r14, %r15
je 0x18935
leaq 0x90(%rbx), %r12
leaq 0x20(%r15), %rsi
movq %r12, %rdi
callq 0x20d64
movq %r15, %rdi
callq 0x7420
movq %rax, %r15
cmpq %r14, %rax
jne 0x18919
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
movq %rax, %rbx
movl $0x98, %esi
movq %r15, %rdi
callq 0x7390
movq %rbx, %rdi
callq 0x76a0
// File: /workspace/github_cpp_makefile_star2_O3/melop[P]admixem/config.cpp
// Function: SimulationConfigurations::fnParseNumericConfigs()
void SimulationConfigurations::fnParseNumericConfigs() {

	//printf("Size of map: %d\n", this->_mpConfigs.size());
	printf("%s\n", "Converting numeric config values ...");

	for (std::map<string,string>::iterator it = this->_mpConfigs.begin(); it != this->_mpConfigs.end(); ++it) { // go over the configuration map with string values

		string sKey = it->first;
		string sVal = it->second;

		this->_mpNumericConfigs[sKey] = strtod(sVal.c_str() , NULL);
		//printf("%s = %f \n", pKey, this->_mpNumericConfigs[pKey]);
	}

	printf("%s\n", "Finished ...");



}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %rdi, %rbx
leaq 0x1c111(%rip), %rdi     # 0x356fb
callq 0x7560
movq 0x70(%rbx), %r14
leaq 0x60(%rbx), %rbp
cmpq %rbp, %r14
je 0x196af
leaq 0x38(%rsp), %r13
leaq 0x18(%rsp), %r12
addq $0x88, %rbx
leaq 0x28(%rsp), %r15
movq %r13, 0x28(%rsp)
movq 0x20(%r14), %rsi
movq 0x28(%r14), %rdx
addq %rsi, %rdx
movq %r15, %rdi
callq 0xa9b2
movq %r12, 0x8(%rsp)
movq 0x40(%r14), %rsi
movq 0x48(%r14), %rdx
addq %rsi, %rdx
leaq 0x8(%rsp), %rdi
callq 0xa9b2
movq 0x8(%rsp), %rdi
xorl %esi, %esi
callq 0x72c0
movsd %xmm0, (%rsp)
movq %rbx, %rdi
movq %r15, %rsi
callq 0x9c1c
movsd (%rsp), %xmm0
movsd %xmm0, (%rax)
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0x19684
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x7390
movq 0x28(%rsp), %rdi
cmpq %r13, %rdi
je 0x1969b
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x7390
movq %r14, %rdi
callq 0x7270
movq %rax, %r14
cmpq %rbp, %rax
jne 0x19616
leaq 0x1c06a(%rip), %rdi     # 0x35720
callq 0x7560
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
jmp 0x196e9
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0x196e9
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x7390
movq 0x28(%rsp), %rdi
cmpq %r13, %rdi
je 0x19700
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x7390
movq %rbx, %rdi
callq 0x76a0
// File: /workspace/github_cpp_makefile_star2_O3/melop[P]admixem/config.cpp
// Function: SimulationConfigurations::GetNumericConfig(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
const double SimulationConfigurations::GetNumericConfig(string sKey) {
	
	if (  this->_mpNumericConfigs.find(sKey) == this->_mpNumericConfigs.end()) { // the requested key is not found in the config

		//printf("The key %s was not found in the configuration file.\n", sKey.c_str());
		return -1;

	}
	

	return  this->_mpNumericConfigs[sKey];


}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rsi, %rbx
movq %rdi, %r15
leaq 0x88(%rdi), %r14
movq %r14, %rdi
callq 0x21d10
addq $0x90, %r15
cmpq %r15, %rax
je 0x1973f
movq %r14, %rdi
movq %rbx, %rsi
callq 0x9c1c
movsd (%rax), %xmm0
jmp 0x19747
movsd 0x1acc1(%rip), %xmm0    # 0x34408
popq %rbx
popq %r14
popq %r15
retq
nop
// File: /workspace/github_cpp_makefile_star2_O3/melop[P]admixem/./spline.h
// Function: (anonymous namespace)::tk::band_matrix::operator()(int, int)
double & band_matrix::operator () (int i, int j)
{
    int k=j-i;       // what band is the entry
    assert( (i>=0) && (i<dim()) && (j>=0) && (j<dim()) );
    assert( (-num_lower()<=k) && (k<=num_upper()) );
    // k=0 -> diogonal, k<0 lower left part, k>0 upper right part
    if(k>=0)   return m_upper[k][i];
    else	    return m_lower[-k][i];
}

// Assembly:
pushq %rax
testl %esi, %esi
js 0x19a4e
movq (%rdi), %rcx
movq 0x8(%rdi), %rax
subq %rcx, %rax
je 0x19a4e
testl %edx, %edx
js 0x19a4e
movq 0x8(%rcx), %r8
subq (%rcx), %r8
shrq $0x3, %r8
cmpl %esi, %r8d
jle 0x19a4e
cmpl %edx, %r8d
jbe 0x19a4e
subl %esi, %edx
movq 0x18(%rdi), %r8
movq 0x20(%rdi), %rdi
subq %r8, %rdi
shrq $0x3, %rdi
imull $0x55555555, %edi, %edi # imm = 0x55555555
incl %edi
cmpl %edi, %edx
jl 0x19a6d
shrq $0x3, %rax
imull $0xaaaaaaab, %eax, %eax # imm = 0xAAAAAAAB
decl %eax
cmpl %eax, %edx
jg 0x19a6d
movl %edx, %eax
negl %eax
cmovsl %edx, %eax
testl %edx, %edx
cmovsq %r8, %rcx
leaq (%rax,%rax,2), %rdx
movl %esi, %eax
shlq $0x3, %rax
addq (%rcx,%rdx,8), %rax
popq %rcx
retq
leaq 0x1be18(%rip), %rdi     # 0x3586d
leaq 0x1bcd1(%rip), %rsi     # 0x3572d
leaq 0x1be35(%rip), %rcx     # 0x35898
movl $0x9f, %edx
callq 0x7210
leaq 0x1be69(%rip), %rdi     # 0x358dd
leaq 0x1bcb2(%rip), %rsi     # 0x3572d
leaq 0x1be16(%rip), %rcx     # 0x35898
movl $0xa0, %edx
callq 0x7210
// File: /workspace/github_cpp_makefile_star2_O3/melop[P]admixem/./parser/parser.h
// Function: Parser::Parser(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
Parser (const std::string & program) 
    : program_ (program)
      {  
      // insert pre-defined names:
      symbols_ ["pi"] = 3.1415926535897932385;
      symbols_ ["e"]  = 2.7182818284590452354;  
	  this->IsOne = (program=="1");
	  this->IsZero =  (program=="0");
      }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rsi, %r15
movq %rdi, %rbx
leaq 0x10(%rdi), %r12
movq %r12, (%rdi)
movq (%rsi), %rsi
movq 0x8(%r15), %rdx
addq %rsi, %rdx
callq 0xa9b2
leaq 0x48(%rbx), %r13
movq %r13, 0x38(%rbx)
xorl %eax, %eax
movq %rax, 0x40(%rbx)
movb $0x0, 0x48(%rbx)
leaq 0x68(%rbx), %r14
leaq 0x70(%rbx), %rcx
movl $0x0, 0x70(%rbx)
movq %rax, 0x78(%rbx)
movq %rcx, 0x80(%rbx)
movq %rcx, 0x88(%rbx)
movq %rax, 0x90(%rbx)
leaq 0x18(%rsp), %rbp
movq %rbp, -0x10(%rbp)
leaq 0x1bb5b(%rip), %rsi     # 0x35ba9
leaq 0x1bb56(%rip), %rdx     # 0x35bab
leaq 0x8(%rsp), %rdi
callq 0xa91c
leaq 0x8(%rsp), %rsi
movq %r14, %rdi
callq 0x1b47a
movabsq $0x400921fb54442d18, %rcx # imm = 0x400921FB54442D18
movq %rcx, (%rax)
movq 0x8(%rsp), %rdi
cmpq %rbp, %rdi
je 0x1a090
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x7390
leaq 0x8(%rsp), %rdi
movq %rbp, (%rdi)
leaq 0x1a91b(%rip), %rsi     # 0x349ba
leaq 0x1a915(%rip), %rdx     # 0x349bb
callq 0xa91c
leaq 0x8(%rsp), %rsi
movq %r14, %rdi
callq 0x1b47a
movabsq $0x4005bf0a8b145769, %rcx # imm = 0x4005BF0A8B145769
movq %rcx, (%rax)
movq 0x8(%rsp), %rdi
cmpq %rbp, %rdi
je 0x1a0dc
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x7390
leaq 0x1d290(%rip), %rsi     # 0x37373
movq %r15, %rdi
callq 0x7100
testl %eax, %eax
sete 0x60(%rbx)
leaq 0x1b8a7(%rip), %rsi     # 0x3599f
movq %r15, %rdi
callq 0x7100
testl %eax, %eax
sete 0x61(%rbx)
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x1a119
jmp 0x1a135
movq %rax, %r15
movq 0x8(%rsp), %rdi
cmpq %rbp, %rdi
je 0x1a138
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x7390
jmp 0x1a138
movq %rax, %r15
movq %r14, %rdi
callq 0x1bc0a
movq 0x38(%rbx), %rdi
cmpq %r13, %rdi
je 0x1a155
movq (%r13), %rsi
incq %rsi
callq 0x7390
movq (%rbx), %rdi
cmpq %r12, %rdi
je 0x1a169
movq (%r12), %rsi
incq %rsi
callq 0x7390
movq %r15, %rdi
callq 0x76a0
nop
// File: /workspace/github_cpp_makefile_star2_O3/melop[P]admixem/Individual.cpp
// Function: Individual::~Individual()
Individual::~Individual(void) {
	//delete[] _arrMarkers;
	//delete[] _pmGenes;
	//delete[] _arrGenes;
	//delete &_mpPhenotypes;
	//delete &_mpEnvPhenotypes;
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
movq 0x140(%rdi), %rdi
testq %rdi, %rdi
je 0x21e2f
movq 0x150(%rbx), %rsi
subq %rdi, %rsi
callq 0x7390
leaq 0x128(%rbx), %rdi
callq 0x2651a
leaq 0x110(%rbx), %rdi
callq 0x2656e
leaq 0xe0(%rbx), %rdi
callq 0x1bc0a
leaq 0xb0(%rbx), %rdi
callq 0x1bc0a
leaq 0x80(%rbx), %rdi
callq 0x1bc0a
addq $0x50, %rbx
movq %rbx, %rdi
popq %rbx
jmp 0x1bc0a
// File: /workspace/github_cpp_makefile_star2_O3/melop[P]admixem/Individual.cpp
// Function: Individual::fnDetermineNumGametes()
void Individual::fnDetermineNumGametes() {
		#ifdef _OPENMP
		int nCPU = omp_get_thread_num();
			#ifdef DEBUG
			printf("CPU %d: %s : %d\n", nCPU, "SexSelFormulae # ", nCPU);
			#endif
		#else
			int nCPU = 0;
		#endif

	if (this->_bSex == Male) {
		this->_nAvailableGametes = INT_MAX;
		return;
	}

	//Deal with females
	int nExpected = SimulConfig.GetNumericConfig("avg_female_gamete");
	int nStdDev	= SimulConfig.GetNumericConfig("std_female_gamete");
	this->_nAvailableGametes = (double)nStdDev * vNomGen[nCPU]->Next() + (double)nExpected;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x48, %rsp
movq %rdi, %rbx
cmpl $0x0, 0x28(%rdi)
je 0x231b7
leaq 0x38(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0x12cbf(%rip), %rsi     # 0x35db0
leaq 0x12cc9(%rip), %rdx     # 0x35dc1
leaq 0x28(%rsp), %r14
movq %r14, %rdi
callq 0xa91c
leaq 0x257fc(%rip), %rdi     # 0x48908
movq %r14, %rsi
callq 0x19708
movsd %xmm0, (%rsp)
movq 0x28(%rsp), %rdi
cmpq %r15, %rdi
je 0x23130
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x7390
leaq 0x18(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0x12c82(%rip), %rsi     # 0x35dc2
leaq 0x12c8c(%rip), %rdx     # 0x35dd3
leaq 0x8(%rsp), %r14
movq %r14, %rdi
callq 0xa91c
leaq 0x257ad(%rip), %rdi     # 0x48908
movq %r14, %rsi
callq 0x19708
cvttsd2si (%rsp), %ebp
cvttsd2si %xmm0, %r14d
movq 0x8(%rsp), %rdi
cmpq %r15, %rdi
je 0x23184
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x7390
xorps %xmm0, %xmm0
cvtsi2sd %r14d, %xmm0
movsd %xmm0, (%rsp)
leaq 0x258e0(%rip), %rax     # 0x48a78
movq (%rax), %rax
movq (%rax), %rdi
movq (%rdi), %rax
callq *(%rax)
cvtsi2sd %ebp, %xmm1
mulsd (%rsp), %xmm0
addsd %xmm1, %xmm0
cvttsd2si %xmm0, %rax
jmp 0x231bc
movl $0x7fffffff, %eax       # imm = 0x7FFFFFFF
movl %eax, 0x40(%rbx)
addq $0x48, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq 0x8(%rsp), %rdi
jmp 0x231dc
movq %rax, %rbx
movq 0x28(%rsp), %rdi
cmpq %r15, %rdi
je 0x231ec
movq (%r15), %rsi
incq %rsi
callq 0x7390
movq %rbx, %rdi
callq 0x76a0
// File: /workspace/github_cpp_makefile_star2_O3/melop[P]admixem/Individual.cpp
// Function: Individual::Court(Individual*)
bool Individual::Court(Individual * pChooser) {
	if (this->_bSex != Male) {
		throw "Females courting is not implemented yet!";
	}

	int nCurrGen = SimulConfig.GetCurrGen(); // tell what is the current generation
	bool bIgnoreGlobalRules = SimulConfig.pSexualSelConfig->IgnoreGlobalRules(nCurrGen); // is there special sexual selection rules for this generation?

	return pChooser->HandleCourter(this , bIgnoreGlobalRules);
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
cmpl $0x0, 0x28(%rdi)
jne 0x24334
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x24600(%rip), %r15     # 0x48908
movq %r15, %rdi
callq 0x199ca
movq 0x28(%r15), %rdi
movl %eax, %esi
callq 0x1796e
movzbl %al, %edx
movq %r14, %rdi
movq %rbx, %rsi
callq 0x2435a
testl %eax, %eax
setne %al
popq %rbx
popq %r14
popq %r15
retq
movl $0x8, %edi
callq 0x7180
leaq 0x11a9c(%rip), %rcx     # 0x35de1
movq %rcx, (%rax)
movq 0x23be9(%rip), %rsi     # 0x47f38
movq %rax, %rdi
xorl %edx, %edx
callq 0x7660
nop
// File: /workspace/github_cpp_makefile_star2_O3/melop[P]admixem/Individual.cpp
// Function: Individual::DumpMarkers(std::basic_ofstream<char, std::char_traits<char>>&, int)
void Individual::DumpMarkers(ofstream &fOutFile, int nChromosomeSide) { // nChromosomeSide is either 0 or 1
	for (int i=nChromosomeSide; i< this->_arrMarkers.size(); i+=2) {
		vector<Marker> * pMarkers = &(this->_arrMarkers.at(i));
		fOutFile << -1 << '\t'; // output chromosome spacer

		for (vector<Marker>::iterator itMarker=pMarkers->begin(); itMarker != pMarkers->end() ; ++itMarker) {
			fOutFile << (*itMarker).Allele <<   (*itMarker).Ancestry << '\t';
		}

	}
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movslq %edx, %rcx
movq 0x110(%rdi), %r14
movq %rdi, 0x8(%rsp)
movq 0x118(%rdi), %rax
subq %r14, %rax
sarq $0x3, %rax
movabsq $-0x5555555555555555, %rdx # imm = 0xAAAAAAAAAAAAAAAB
imulq %rdx, %rax
cmpq %rcx, %rax
jbe 0x2627f
movq %rsi, %rbx
leaq 0x5(%rsp), %r12
leaq 0x6(%rsp), %r13
leaq 0x7(%rsp), %rbp
movq %rcx, 0x10(%rsp)
leaq (%rcx,%rcx,2), %r15
movq %rbx, %rdi
movl $0xffffffff, %esi       # imm = 0xFFFFFFFF
callq 0x7670
movb $0x9, 0x4(%rsp)
movl $0x1, %edx
movq %rax, %rdi
leaq 0x4(%rsp), %rsi
callq 0x7400
movq %r15, %rax
movq (%r14,%r15,8), %r15
cmpq 0x8(%r14,%rax,8), %r15
je 0x26245
leaq (%r14,%rax,8), %r14
movb 0x1(%r15), %al
movb %al, 0x5(%rsp)
movl $0x1, %edx
movq %rbx, %rdi
movq %r12, %rsi
callq 0x7400
movb (%r15), %cl
movb %cl, 0x6(%rsp)
movl $0x1, %edx
movq %rax, %rdi
movq %r13, %rsi
callq 0x7400
movb $0x9, 0x7(%rsp)
movl $0x1, %edx
movq %rax, %rdi
movq %rbp, %rsi
callq 0x7400
addq $0x2, %r15
cmpq 0x8(%r14), %r15
jne 0x261f7
movq 0x10(%rsp), %rcx
addq $0x2, %rcx
movq 0x8(%rsp), %rax
movq 0x110(%rax), %r14
movq 0x118(%rax), %rax
subq %r14, %rax
sarq $0x3, %rax
movabsq $-0x5555555555555555, %rdx # imm = 0xAAAAAAAAAAAAAAAB
imulq %rdx, %rax
cmpq %rcx, %rax
ja 0x261b8
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O3/melop[P]admixem/Individual.cpp
// Function: Individual::DumpGenes(std::basic_ofstream<char, std::char_traits<char>>&, int)
void Individual::DumpGenes(ofstream &fOutFile, int nChromosomeSide) { // nChromosomeSide is either 0 or 1
	for (int i=nChromosomeSide; i< this->_arrGenes.size(); i+=2) {
		vector<Gene> * pGenes = &(this->_arrGenes.at(i));
		fOutFile << -1 << '\t'; // output chromosome spacer

		for (vector<Gene>::iterator itGene=pGenes->begin(); itGene != pGenes->end() ; ++itGene) {
			fOutFile << (*itGene).Allele <<  (*itGene).Ancestry << '\t' << (*itGene).Value << '\t';
		}

	}
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movslq %edx, %rcx
movq 0x128(%rdi), %r15
movq %rdi, 0x8(%rsp)
movq 0x130(%rdi), %rax
subq %r15, %rax
sarq $0x3, %rax
movabsq $-0x5555555555555555, %rdx # imm = 0xAAAAAAAAAAAAAAAB
imulq %rdx, %rax
cmpq %rcx, %rax
jbe 0x263d1
movq %rsi, %rbx
movb $0x9, %r14b
movq %rcx, 0x10(%rsp)
leaq (%rcx,%rcx,2), %r13
movq %rbx, %rdi
movl $0xffffffff, %esi       # imm = 0xFFFFFFFF
callq 0x7670
movb $0x9, 0x3(%rsp)
movl $0x1, %edx
movq %rax, %rdi
leaq 0x3(%rsp), %rsi
callq 0x7400
movq (%r15,%r13,8), %r12
cmpq 0x8(%r15,%r13,8), %r12
movq %r15, %rax
leaq 0x4(%rsp), %r15
leaq 0x7(%rsp), %rbp
je 0x26397
leaq (%rax,%r13,8), %r13
movb 0x1(%r12), %al
movb %al, 0x4(%rsp)
movl $0x1, %edx
movq %rbx, %rdi
movq %r15, %rsi
callq 0x7400
movb (%r12), %cl
movb %cl, 0x5(%rsp)
movl $0x1, %edx
movq %rax, %rdi
leaq 0x5(%rsp), %rsi
callq 0x7400
movb %r14b, 0x6(%rsp)
movl $0x1, %edx
movq %rax, %rdi
leaq 0x6(%rsp), %rsi
callq 0x7400
movsd 0x8(%r12), %xmm0
movq %rax, %rdi
callq 0x75c0
movb %r14b, 0x7(%rsp)
movl $0x1, %edx
movq %rax, %rdi
movq %rbp, %rsi
callq 0x7400
addq $0x10, %r12
cmpq 0x8(%r13), %r12
jne 0x2631f
movq 0x10(%rsp), %rcx
addq $0x2, %rcx
movq 0x8(%rsp), %rax
movq 0x128(%rax), %r15
movq 0x130(%rax), %rax
subq %r15, %rax
sarq $0x3, %rax
movabsq $-0x5555555555555555, %rdx # imm = 0xAAAAAAAAAAAAAAAB
imulq %rdx, %rax
cmpq %rcx, %rax
ja 0x262d6
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O3/melop[P]admixem/Individual.cpp
// Function: Individual::Die()
void Individual::Die() {
	if (this->_bDead) {
		throw(new Exception("Individual is already dead, cannot die again!"));
	}
	else {
		this->_bDead = true;
	}
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
cmpb $0x1, 0x2d(%rdi)
je 0x264b7
movb $0x1, 0x2d(%rdi)
popq %rbx
popq %r14
popq %r15
retq
movl $0x8, %edi
callq 0x7180
movq %rax, %rbx
movl $0x1, %edi
callq 0x7380
movq %rax, %r14
leaq 0xfa32(%rip), %rsi      # 0x35f0a
movq %rax, %rdi
callq 0xb5c8
movq %r14, (%rbx)
leaq 0x217ce(%rip), %rsi     # 0x47cb8
movq %rbx, %rdi
xorl %edx, %edx
callq 0x7660
movq %rax, %r15
movl $0x1, %esi
movq %r14, %rdi
callq 0x7390
jmp 0x26509
movq %rax, %r15
movq %rbx, %rdi
callq 0x72a0
movq %r15, %rdi
callq 0x76a0
nop
// File: /workspace/github_cpp_makefile_star2_O3/melop[P]admixem/main.cpp
// Function: main
int main (int argc, char * const argv[]) {

	if (argc == 2) {
		string sConfig = argv[1];
		SimulConfig.LoadFromFile(sConfig);
		UISimulation();
		return 0;
	}

    // insert code here...
    //std::cout << "Hello, World!\n";
	
	int nProgramMode;
	
	/*
	string sTest = "";
	
	getline(cin , sTest);
	
	std::cout << "Length: " << sTest << endl;
	
	if (sTest.length() > 0 )  {
		cout << "lalala" << endl;
	
	}
	*/

	cout << floor(-0.1) <<endl;
	
	
	while(true)
	{
		std::cout << "\nWhat do you want to do? 0 - Cancel,  1 - Generate markers, 2 - Export simulated results, 3 - Simulation: ";
	
		std::cin >>  nProgramMode;
		
		switch(nProgramMode) {
		
			case 0: return 0;
			
			case 1: UIMakeNewMarkerFile(); continue; //if user wants to create a new marker file

			case 4: UITestExpression(); continue;

			case 3: UISimulation(); continue;

			case 2: UIExportResults(); continue;
		
		}
		
		break;
	
	}

	

	
    return 0;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x50, %rsp
cmpl $0x2, %edi
jne 0x279e5
movq 0x8(%rsi), %rsi
leaq 0x30(%rsp), %rbx
leaq 0xf(%rsp), %rdx
movq %rbx, %rdi
callq 0x9c98
leaq 0x20(%rsp), %r14
movq %r14, -0x10(%r14)
movq (%rbx), %rsi
movq 0x8(%rbx), %rdx
addq %rsi, %rdx
leaq 0x10(%rsp), %rdi
callq 0xa9b2
leaq 0x20f74(%rip), %rdi     # 0x48908
leaq 0x10(%rsp), %rsi
callq 0x18bde
movq 0x10(%rsp), %rdi
cmpq %r14, %rdi
je 0x279b5
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x7390
callq 0x2e814
leaq 0x40(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x279d5
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x7390
xorl %eax, %eax
addq $0x50, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
movq 0x205a4(%rip), %rbx     # 0x47f90
movsd 0xca14(%rip), %xmm0     # 0x34408
movq %rbx, %rdi
callq 0x75c0
movq %rax, %r14
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x7350
movsbl %al, %esi
movq %r14, %rdi
callq 0x7040
movq %rax, %rdi
callq 0x7260
leaq 0xe56f(%rip), %r14      # 0x35f9c
movq 0x2059c(%rip), %r15     # 0x47fd0
leaq 0x30(%rsp), %r12
leaq 0xe54c(%rip), %r13      # 0x35f8c
movl $0x6a, %edx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x7400
movq %r15, %rdi
movq %r12, %rsi
callq 0x71f0
movl 0x30(%rsp), %eax
decl %eax
cmpl $0x3, %eax
ja 0x279d5
movslq (%r13,%rax,4), %rax
addq %r13, %rax
jmpq *%rax
callq 0x27ad4
jmp 0x27a40
callq 0x2e814
jmp 0x27a40
callq 0x337f0
jmp 0x27a40
callq 0x31d2a
jmp 0x27a40
movq %rax, %rbx
movq 0x10(%rsp), %rdi
cmpq %r14, %rdi
je 0x27aaf
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x7390
jmp 0x27aaf
movq %rax, %rbx
leaq 0x40(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x27aca
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x7390
movq %rbx, %rdi
callq 0x76a0
nop
// File: /workspace/github_cpp_makefile_star2_O3/melop[P]admixem/maths.cpp
// Function: fnSum(double*, int)
double fnSum( double * pNums, int nSize ) {

	double nRet = 0;
	for (int i=0; i< nSize; i++) {
		nRet += pNums[i];
	 } 
	 
	return nRet;
}

// Assembly:
testl %esi, %esi
jle 0x296cc
movl %esi, %eax
xorpd %xmm0, %xmm0
xorl %ecx, %ecx
addsd (%rdi,%rcx,8), %xmm0
incq %rcx
cmpq %rcx, %rax
jne 0x296be
retq
xorps %xmm0, %xmm0
retq
// File: /workspace/github_cpp_makefile_star2_O3/melop[P]admixem/maths.cpp
// Function: fnGetRandIndex(int)
int fnGetRandIndex(int nSizeOfArray) {
	int nRet;
	
	do {
		
			nRet = (int)floor(UniformGen.Next() * (double)nSizeOfArray - 0.01);
		
		nRet = nRet>=0? nRet:0;
	}
	while(nRet >= nSizeOfArray);
	
	/*
	const unsigned long n = nSizeOfArray;
    const unsigned long divisor = (RAND_MAX + 1) / n;

    unsigned long nRet;
    do { nRet = rand() / divisor; } while (nRet >= n);
	*/
	return nRet;
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
subq $0x10, %rsp
movl %edi, %ebx
cvtsi2sd %edi, %xmm0
movsd %xmm0, 0x8(%rsp)
leaq 0x1f32b(%rip), %r14     # 0x48a40
xorl %ebp, %ebp
movq %r14, %rdi
callq 0xbba0
mulsd 0x8(%rsp), %xmm0
addsd 0xacbb(%rip), %xmm0     # 0x343e8
callq 0x7740
cvttsd2si %xmm0, %eax
testl %eax, %eax
cmovlel %ebp, %eax
cmpl %ebx, %eax
jge 0x29717
addq $0x10, %rsp
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O3/melop[P]admixem/Population.cpp
// Function: Population::GetPopSize(int)
int Population::GetPopSize(int nMode) {
	switch(nMode) {
		case 0: return _mpFemales.size();
		case 1: return _mpMales.size();
		case 2: {int nCount=0; for( int nCpu=0;nCpu<nTotalCPUCore;nCpu++) {nCount+= _mpvNewGenMales[nCpu].size();} return nCount;};
		case 3: {int nCount=0; for( int nCpu=0;nCpu<nTotalCPUCore;nCpu++) {nCount+= _mpvNewGenFemales[nCpu].size();} return nCount;};
		case 4: return _mpFemales.size()+_mpMales.size();
		case 5: {int nCount=0; for( int nCpu=0;nCpu<nTotalCPUCore;nCpu++) {nCount+=_mpvNewGenMales[nCpu].size()+ _mpvNewGenFemales[nCpu].size();} return nCount;};
	}

	return 0;
}

// Assembly:
xorl %eax, %eax
cmpl $0x5, %esi
ja 0x2c1c8
movl %esi, %ecx
leaq 0xa710(%rip), %rdx      # 0x368a8
movslq (%rdx,%rcx,4), %rcx
addq %rdx, %rcx
jmpq *%rcx
movq 0x68(%rdi), %rax
subq 0x60(%rdi), %rax
jmp 0x2c249
movq 0x50(%rdi), %rax
movq 0x68(%rdi), %rcx
subq 0x60(%rdi), %rcx
shrq $0x3, %rcx
subq 0x48(%rdi), %rax
shrq $0x3, %rax
addl %ecx, %eax
retq
leaq 0x1c1ec(%rip), %rcx     # 0x483bc
movslq (%rcx), %rdx
testq %rdx, %rdx
jle 0x2c1c8
movq 0xa8(%rdi), %rcx
shlq $0x3, %rdx
leaq (%rdx,%rdx,2), %rdx
xorl %esi, %esi
xorl %eax, %eax
movq 0x8(%rcx,%rsi), %rdi
subq (%rcx,%rsi), %rdi
shrq $0x3, %rdi
addl %edi, %eax
addq $0x18, %rsi
cmpq %rsi, %rdx
jne 0x2c1eb
jmp 0x2c1c8
leaq 0x1c1b0(%rip), %rcx     # 0x483bc
movslq (%rcx), %rdx
testq %rdx, %rdx
jle 0x2c1c8
movq 0xb0(%rdi), %rcx
shlq $0x3, %rdx
leaq (%rdx,%rdx,2), %rdx
xorl %esi, %esi
xorl %eax, %eax
movq 0x8(%rcx,%rsi), %rdi
subq (%rcx,%rsi), %rdi
shrq $0x3, %rdi
addl %edi, %eax
addq $0x18, %rsi
cmpq %rsi, %rdx
jne 0x2c227
jmp 0x2c1c8
movq 0x50(%rdi), %rax
subq 0x48(%rdi), %rax
shrq $0x3, %rax
retq
leaq 0x1c167(%rip), %rcx     # 0x483bc
movslq (%rcx), %rsi
testq %rsi, %rsi
jle 0x2c1c8
movq 0xa8(%rdi), %rcx
movq 0xb0(%rdi), %rdx
shlq $0x3, %rsi
leaq (%rsi,%rsi,2), %rsi
xorl %edi, %edi
xorl %eax, %eax
movq 0x8(%rcx,%rdi), %r8
subq (%rcx,%rdi), %r8
shrq $0x3, %r8
movq 0x8(%rdx,%rdi), %r9
subq (%rdx,%rdi), %r9
shrq $0x3, %r9
addl %r8d, %r9d
addl %r9d, %eax
addq $0x18, %rdi
cmpq %rdi, %rsi
jne 0x2c27b
jmp 0x2c1c8
nop
// File: /workspace/github_cpp_makefile_star2_O3/melop[P]admixem/Population.cpp
// Function: Population::Emigrate()
Individual * Population::Emigrate() {
	int nMales = _mpMales.size();
	int nFemales = _mpFemales.size();
	int nTotal = nMales + nFemales;
	bool bWhichSex = (UniformGen.Next() <= (double)nMales / (double)nTotal)? true:false;
	vector< Individual *> * pIndividuals = bWhichSex? &_mpMales:&_mpFemales;

	if (pIndividuals->size() == 0) { // no more individuals to return
		return NULL;
	}

	int nEmigrant = fnGetRandIndex(pIndividuals->size());
	//printf("1\n");
	Individual * pEmigrant = pIndividuals->at(nEmigrant);
	//printf("2\n");
	pIndividuals->erase(pIndividuals->begin() + nEmigrant);
	//printf("3\n");
	return pEmigrant;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %rbx
leaq 0x48(%rdi), %r14
movq 0x50(%rdi), %r15
movq 0x68(%rdi), %r12
subq 0x48(%rdi), %r15
subq 0x60(%rdi), %r12
shrq $0x3, %r15
addq $0x60, %rbx
shrq $0x3, %r12
addl %r15d, %r12d
leaq 0x1c761(%rip), %rdi     # 0x48a40
callq 0xbba0
cvtsi2sd %r15d, %xmm1
cvtsi2sd %r12d, %xmm2
divsd %xmm2, %xmm1
ucomisd %xmm0, %xmm1
cmovaeq %r14, %rbx
movq 0x8(%rbx), %rdi
subq (%rbx), %rdi
je 0x2c353
shrq $0x3, %rdi
callq 0x296fa
movslq %eax, %rsi
movq (%rbx), %rcx
movq 0x8(%rbx), %rdx
movq %rdx, %rax
subq %rcx, %rax
sarq $0x3, %rax
cmpq %rsi, %rax
jbe 0x2c365
leaq (%rcx,%rsi,8), %rax
addq $0x8, %rax
movq -0x8(%rax), %r14
cmpq %rdx, %rax
je 0x2c349
leaq (%rcx,%rsi,8), %rdi
subq %rax, %rdx
movq %rax, %rsi
callq 0x75f0
movq 0x8(%rbx), %rdx
addq $-0x8, %rdx
movq %rdx, 0x8(%rbx)
jmp 0x2c356
xorl %r14d, %r14d
movq %r14, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
leaq 0x985a(%rip), %rdi      # 0x35bc6
movq %rax, %rdx
xorl %eax, %eax
callq 0x7530
// File: /workspace/github_cpp_makefile_star2_O3/melop[P]admixem/Population.cpp
// Function: Population::Immigrate(Individual*)
bool Population::Immigrate(Individual * pImmigrant) { // Force current members to die or not if exceeding population limits
	
	if (!pImmigrant) {
		printf("Immigrant cannot be NULL\n");
		return false;
	}
	//printf("1\n");
	pImmigrant->ChangePopulation(this);
	Individual::Sex bWhichSex = pImmigrant->GetSex();
	//printf("2\n");
	vector< Individual *> * pIndividuals = (bWhichSex==Individual::Male)?  &_mpImCacheMales : &_mpImCacheFemales; //&_mpMales:&_mpFemales;
	//printf("3\n");

		pIndividuals->push_back(pImmigrant); //add this individual to the population.


	return true; // already full, cannot accept any more.

}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rsi, (%rsp)
testq %rsi, %rsi
je 0x2c3c1
movq %rdi, %r14
movq %rbx, %rdi
movq %r14, %rsi
callq 0x2614c
movq %rbx, %rdi
callq 0x23632
leaq 0x90(%r14), %rcx
addq $0x78, %r14
testl %eax, %eax
cmovneq %rcx, %r14
movq 0x8(%r14), %rsi
cmpq 0x10(%r14), %rsi
je 0x2c3cf
movq %rbx, (%rsi)
addq $0x8, 0x8(%r14)
jmp 0x2c3da
leaq 0xa83b(%rip), %rdi      # 0x36c03
callq 0x7560
jmp 0x2c3da
movq %rsp, %rdx
movq %r14, %rdi
callq 0x2730a
testq %rbx, %rbx
setne %al
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_cpp_makefile_star2_O3/melop[P]admixem/Population.cpp
// Function: Population::Sample(std::basic_ofstream<char, std::char_traits<char>>&, std::basic_ofstream<char, std::char_traits<char>>&, std::basic_ofstream<char, std::char_traits<char>>&, std::basic_ofstream<char, std::char_traits<char>>&, std::basic_ofstream<char, std::char_traits<char>>&)
void Population::Sample(ofstream &fMarkerOutFile, ofstream &fGeneOutFile,  ofstream &fPhenotypeOutFile,  ofstream &fPhenoSumOutFile, ofstream &fOffSpringNatSelProb ) {
	// now dump all the males:
	this->fnSample(fMarkerOutFile, fGeneOutFile,  fPhenotypeOutFile , Individual::Male);
	// dump all females:
	this->fnSample(fMarkerOutFile, fGeneOutFile,  fPhenotypeOutFile , Individual::Female);

	this->fnSamplePhenotypeStats(fPhenoSumOutFile);

	this->fnDumpNaturalProb(fOffSpringNatSelProb);

	this->_mpOffSpringNaturalProb.clear();
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %r9, %rbx
movq %r8, %r14
movq %rcx, %r15
movq %rdx, %r12
movq %rsi, %r13
movq %rdi, %rbp
xorl %r8d, %r8d
callq 0x2c6aa
movq %rbp, %rdi
movq %r13, %rsi
movq %r12, %rdx
movq %r15, %rcx
movl $0x1, %r8d
callq 0x2c6aa
movq %rbp, %rdi
movq %r14, %rsi
callq 0x2c82e
movq %rbp, %rdi
movq %rbx, %rsi
callq 0x2ca0a
movq 0x1d8(%rbp), %rsi
addq $0x1d8, %rbp            # imm = 0x1D8
movq %rbp, %rdi
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x1b266
// File: /workspace/github_cpp_makefile_star2_O3/melop[P]admixem/Population.cpp
// Function: Population::fnSample(std::basic_ofstream<char, std::char_traits<char>>&, std::basic_ofstream<char, std::char_traits<char>>&, std::basic_ofstream<char, std::char_traits<char>>&, Individual::Sex)
void Population::fnSample(ofstream &fMarkerOutFile, ofstream &fGeneOutFile,  ofstream &fPhenotypeOutFile, Individual::Sex bSex) {

	bool bWriteMarkers = !(SimulConfig.GetConfig("MarkerOutput") == "Off");
	
	vector< Individual *> * pMpIndividuals = (bSex == Individual::Male)? &this->_mpMales : &this->_mpFemales;
	
	

	int i=0;

	for (vector< Individual *>::iterator itInd=pMpIndividuals->begin(); itInd!=pMpIndividuals->end(); ++ itInd) {

		if (bWriteMarkers) {
			this->fnWriteIndividualMarkers(fMarkerOutFile, *itInd);
		}
		this->fnWriteIndividualGenes(fGeneOutFile, *itInd);

		if (i==0) {
				// phenotype file needs header.
				fPhenotypeOutFile << "id\tpop\tsex\tFatherId\tMotherId\t";
				(*itInd)->WritePhenotypeHeader(fPhenotypeOutFile);
				fPhenotypeOutFile << endl;
		}

		this->fnWriteIndividualPhenotypes(fPhenotypeOutFile, *itInd);

		i++;
	}

}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x58, %rsp
movl %r8d, %r15d
movq %rcx, %rbx
movq %rdx, 0x10(%rsp)
movq %rsi, 0x8(%rsp)
movq %rdi, %r12
leaq 0x28(%rsp), %r14
movq %r14, -0x10(%r14)
leaq 0xa45d(%rip), %rsi      # 0x36b38
leaq 0xa462(%rip), %rdx      # 0x36b44
leaq 0x18(%rsp), %rbp
movq %rbp, %rdi
callq 0xa91c
leaq 0x1c212(%rip), %rsi     # 0x48908
leaq 0x38(%rsp), %rdi
movq %rbp, %rdx
callq 0x1023e
leaq 0xa43b(%rip), %rsi      # 0x36b45
leaq 0x38(%rsp), %r13
movq %r13, %rdi
callq 0x7100
movl %eax, %ebp
movq (%r13), %rdi
leaq 0x48(%rsp), %rax
cmpq %rax, %rdi
je 0x2c734
movq 0x48(%rsp), %rsi
incq %rsi
callq 0x7390
movq 0x18(%rsp), %rdi
cmpq %r14, %rdi
je 0x2c74b
movq 0x28(%rsp), %rsi
incq %rsi
callq 0x7390
testl %r15d, %r15d
movl $0x48, %eax
movl $0x60, %r13d
cmoveq %rax, %r13
movq (%r12,%r13), %r15
cmpq 0x8(%r12,%r13), %r15
je 0x2c7fc
xorl %r14d, %r14d
testl %ebp, %ebp
je 0x2c783
movq (%r15), %rdx
movq %r12, %rdi
movq 0x8(%rsp), %rsi
callq 0x2deb4
movq (%r15), %rdx
movq %r12, %rdi
movq 0x10(%rsp), %rsi
callq 0x2df46
subl $0x1, %r14d
jae 0x2c7df
movl $0x1d, %edx
movq %rbx, %rdi
leaq 0xa3a1(%rip), %rsi      # 0x36b49
callq 0x7400
movq (%r15), %rdi
movq %rbx, %rsi
callq 0x26440
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x7350
movsbl %al, %esi
movq %rbx, %rdi
callq 0x7040
movq %rax, %rdi
callq 0x7260
movq (%r15), %rdx
movq %r12, %rdi
movq %rbx, %rsi
callq 0x2dfd8
addq $0x8, %r15
cmpq 0x8(%r12,%r13), %r15
jne 0x2c76f
addq $0x58, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq 0x18(%rsp), %rdi
cmpq %r14, %rdi
je 0x2c825
movq 0x28(%rsp), %rsi
incq %rsi
callq 0x7390
movq %rbx, %rdi
callq 0x76a0
nop
// File: /workspace/github_cpp_makefile_star2_O3/melop[P]admixem/Population.cpp
// Function: Population::fnDumpNaturalProb(std::basic_ofstream<char, std::char_traits<char>>&)
void Population::fnDumpNaturalProb(ofstream &fNaturalProbOutFile) {
	if (!_bRecordNatSelProb) {
		return;
	}
	fNaturalProbOutFile << "Rule\tIndID\tDadID\tDadPrevPop\tMomID\tMomPrevPop\tNatSelProb_Pop" << this->GetPopId() << "\tSurvived" << endl;
	for (vector< vector< double > >::iterator itInd=this->_mpOffSpringNaturalProb.begin(); itInd!=this->_mpOffSpringNaturalProb.end(); ++ itInd) {
		for(vector< double >::iterator itFields=itInd->begin(); itFields!=itInd->end(); ++ itFields) {
			fNaturalProbOutFile << *itFields << "\t";
		}
		fNaturalProbOutFile << endl;
	}
}

// Assembly:
cmpb $0x1, 0x41(%rdi)
jne 0x2cb04
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %rsi, %rbx
movq %rdi, %r14
leaq 0xa13d(%rip), %rsi      # 0x36b67
movl $0x3b, %edx
movq %rbx, %rdi
callq 0x7400
movl 0x20(%r14), %esi
movq %rbx, %rdi
callq 0x7670
movq %rax, %r15
leaq 0xa156(%rip), %rsi      # 0x36ba3
movl $0x9, %edx
movq %rax, %rdi
callq 0x7400
movq (%r15), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x7350
movsbl %al, %esi
movq %r15, %rdi
callq 0x7040
movq %rax, %rdi
callq 0x7260
movq 0x1d8(%r14), %r12
cmpq 0x1e0(%r14), %r12
je 0x2cafb
leaq 0x85a0(%rip), %r15      # 0x35038
movq (%r12), %r13
cmpq 0x8(%r12), %r13
je 0x2cac7
movsd (%r13), %xmm0
movq %rbx, %rdi
callq 0x75c0
movl $0x1, %edx
movq %rax, %rdi
movq %r15, %rsi
callq 0x7400
addq $0x8, %r13
jmp 0x2ca9c
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x7350
movsbl %al, %esi
movq %rbx, %rdi
callq 0x7040
movq %rax, %rdi
callq 0x7260
addq $0x18, %r12
cmpq 0x1e0(%r14), %r12
jne 0x2ca98
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
nop
// File: /workspace/github_cpp_makefile_star2_O3/melop[P]admixem/Population.cpp
// Function: Population::fnWriteIndividualMarkers(std::basic_ofstream<char, std::char_traits<char>>&, Individual*)
void Population::fnWriteIndividualMarkers(ofstream &fOutFile, Individual * pInd) {

	this->fnWriteIndividualID(fOutFile , pInd);
	pInd->DumpMarkers(fOutFile, 0);
	fOutFile << endl;

	this->fnWriteIndividualID(fOutFile , pInd);
	pInd->DumpMarkers(fOutFile, 1);
	fOutFile << endl;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdx, %r14
movq %rsi, %rbx
movq %rdi, %r15
callq 0x2e020
movq %r14, %rdi
movq %rbx, %rsi
xorl %edx, %edx
callq 0x26164
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x7350
movsbl %al, %esi
movq %rbx, %rdi
callq 0x7040
movq %rax, %rdi
callq 0x7260
movq %r15, %rdi
movq %rbx, %rsi
movq %r14, %rdx
callq 0x2e020
movq %r14, %rdi
movq %rbx, %rsi
movl $0x1, %edx
callq 0x26164
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x7350
movsbl %al, %esi
movq %rbx, %rdi
callq 0x7040
movq %rax, %rdi
popq %rbx
popq %r14
popq %r15
jmp 0x7260
nop
// File: /workspace/github_cpp_makefile_star2_O3/melop[P]admixem/Population.cpp
// Function: Population::fnWriteIndividualGenes(std::basic_ofstream<char, std::char_traits<char>>&, Individual*)
void Population::fnWriteIndividualGenes(ofstream &fOutFile, Individual * pInd) {

	this->fnWriteIndividualID(fOutFile , pInd);
	pInd->DumpGenes(fOutFile, 0);
	fOutFile << endl;

	this->fnWriteIndividualID(fOutFile , pInd);
	pInd->DumpGenes(fOutFile, 1);
	fOutFile << endl;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdx, %r14
movq %rsi, %rbx
movq %rdi, %r15
callq 0x2e020
movq %r14, %rdi
movq %rbx, %rsi
xorl %edx, %edx
callq 0x2628e
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x7350
movsbl %al, %esi
movq %rbx, %rdi
callq 0x7040
movq %rax, %rdi
callq 0x7260
movq %r15, %rdi
movq %rbx, %rsi
movq %r14, %rdx
callq 0x2e020
movq %r14, %rdi
movq %rbx, %rsi
movl $0x1, %edx
callq 0x2628e
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x7350
movsbl %al, %esi
movq %rbx, %rdi
callq 0x7040
movq %rax, %rdi
popq %rbx
popq %r14
popq %r15
jmp 0x7260
nop
// File: /workspace/github_cpp_makefile_star2_O3/melop[P]admixem/Population.cpp
// Function: Population::fnWriteIndividualID(std::basic_ofstream<char, std::char_traits<char>>&, Individual*)
void Population::fnWriteIndividualID(ofstream &fOutFile, Individual * pInd) {
	fOutFile << pInd->GetID() << '\t';
	fOutFile << this->_nPopId << '\t';
	fOutFile << ((pInd->GetSex() == Individual::Male)? "1":"0") << '\t';
	fOutFile << pInd->GetFatherId() << '\t';
	fOutFile << pInd->GetMotherId() << '\t';
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rdx, %r14
movq %rsi, %rbx
movq %rdi, %r15
movq %rdx, %rdi
callq 0x23636
movq %rbx, %rdi
movq %rax, %rsi
callq 0x7240
movb $0x9, %bpl
leaq 0x3(%rsp), %rsi
movb %bpl, (%rsi)
movl $0x1, %edx
movq %rax, %rdi
callq 0x7400
movl 0x20(%r15), %esi
movq %rbx, %rdi
callq 0x7670
leaq 0x4(%rsp), %rsi
movb %bpl, (%rsi)
movl $0x1, %edx
movq %rax, %rdi
callq 0x7400
movq %r14, %rdi
callq 0x23632
testl %eax, %eax
leaq 0x92e6(%rip), %rax      # 0x37373
leaq 0x790b(%rip), %rsi      # 0x3599f
cmoveq %rax, %rsi
movl $0x1, %edx
movq %rbx, %rdi
callq 0x7400
leaq 0x5(%rsp), %rsi
movb %bpl, (%rsi)
movl $0x1, %edx
movq %rbx, %rdi
callq 0x7400
movq %r14, %rdi
callq 0x2615a
movq %rbx, %rdi
movq %rax, %rsi
callq 0x7240
leaq 0x6(%rsp), %rsi
movb %bpl, (%rsi)
movl $0x1, %edx
movq %rax, %rdi
callq 0x7400
movq %r14, %rdi
callq 0x2615e
movq %rbx, %rdi
movq %rax, %rsi
callq 0x7240
leaq 0x7(%rsp), %rsi
movb %bpl, (%rsi)
movl $0x1, %edx
movq %rax, %rdi
callq 0x7400
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O3/melop[P]admixem/Population.cpp
// Function: Population::fnAddNatSelProb(double, double, double, double, double, double, double, bool)
void Population::fnAddNatSelProb(double nParserCount, double nIndID, double nDadID, double nDadPop, double nMomID, double nMomPop, double nProb, bool bSurvived) {
	if (!_bRecordNatSelProb) {
		return;
	}
	#pragma omp critical 
	{
		vector< double > vRecord;
		vRecord.push_back(nParserCount);
		vRecord.push_back(nIndID);
		vRecord.push_back(nDadID);
		vRecord.push_back(nDadPop);
		vRecord.push_back(nMomID);
		vRecord.push_back(nMomPop);
		vRecord.push_back(nProb);
		vRecord.push_back(bSurvived? 1.0:0.0);
		_mpOffSpringNaturalProb.push_back(vRecord);
	}
}

// Assembly:
pushq %rbp
pushq %rbx
subq $0x68, %rsp
movsd %xmm0, 0x60(%rsp)
movsd %xmm1, 0x58(%rsp)
movsd %xmm2, 0x40(%rsp)
movsd %xmm2, 0x50(%rsp)
movsd %xmm3, 0x30(%rsp)
movsd %xmm4, 0x28(%rsp)
movsd %xmm5, 0x20(%rsp)
movsd %xmm6, 0x18(%rsp)
cmpb $0x1, 0x41(%rdi)
jne 0x2e30f
movl %esi, %ebp
movq %rdi, %rbx
movsd %xmm1, 0x38(%rsp)
xorps %xmm0, %xmm0
movq %rsp, %rdi
movaps %xmm0, (%rdi)
movq $0x0, 0x10(%rdi)
leaq 0x60(%rsp), %rdx
xorl %esi, %esi
callq 0x1d008
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rax
cmpq %rax, %rsi
movsd 0x38(%rsp), %xmm0
je 0x2e1a2
movsd %xmm0, (%rsi)
addq $0x8, %rsi
movq %rsi, 0x8(%rsp)
jmp 0x2e1b9
movq %rsp, %rdi
leaq 0x58(%rsp), %rdx
callq 0x1d008
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rax
cmpq %rax, %rsi
je 0x2e1d3
movsd 0x40(%rsp), %xmm0
movsd %xmm0, (%rsi)
addq $0x8, %rsi
movq %rsi, 0x8(%rsp)
jmp 0x2e1ea
movq %rsp, %rdi
leaq 0x50(%rsp), %rdx
callq 0x1d008
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rax
cmpq %rax, %rsi
je 0x2e204
movsd 0x30(%rsp), %xmm0
movsd %xmm0, (%rsi)
addq $0x8, %rsi
movq %rsi, 0x8(%rsp)
jmp 0x2e21b
movq %rsp, %rdi
leaq 0x30(%rsp), %rdx
callq 0x1d008
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rax
cmpq %rax, %rsi
je 0x2e235
movsd 0x28(%rsp), %xmm0
movsd %xmm0, (%rsi)
addq $0x8, %rsi
movq %rsi, 0x8(%rsp)
jmp 0x2e24c
movq %rsp, %rdi
leaq 0x28(%rsp), %rdx
callq 0x1d008
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rax
cmpq %rax, %rsi
je 0x2e266
movsd 0x20(%rsp), %xmm0
movsd %xmm0, (%rsi)
addq $0x8, %rsi
movq %rsi, 0x8(%rsp)
jmp 0x2e27d
movq %rsp, %rdi
leaq 0x20(%rsp), %rdx
callq 0x1d008
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rax
cmpq %rax, %rsi
je 0x2e297
movsd 0x18(%rsp), %xmm0
movsd %xmm0, (%rsi)
addq $0x8, %rsi
movq %rsi, 0x8(%rsp)
jmp 0x2e2ae
movq %rsp, %rdi
leaq 0x18(%rsp), %rdx
callq 0x1d008
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rax
testb %bpl, %bpl
jne 0x2e2b8
xorps %xmm0, %xmm0
jmp 0x2e2c0
movsd 0x5d58(%rip), %xmm0     # 0x34018
movsd %xmm0, 0x48(%rsp)
cmpq %rax, %rsi
je 0x2e2da
movsd %xmm0, (%rsi)
addq $0x8, %rsi
movq %rsi, 0x8(%rsp)
jmp 0x2e2e7
movq %rsp, %rdi
leaq 0x48(%rsp), %rdx
callq 0x1d1c4
addq $0x1d8, %rbx            # imm = 0x1D8
movq %rsp, %rsi
movq %rbx, %rdi
callq 0x2e3d6
movq (%rsp), %rdi
testq %rdi, %rdi
je 0x2e30f
movq 0x10(%rsp), %rsi
subq %rdi, %rsi
callq 0x7390
addq $0x68, %rsp
popq %rbx
popq %rbp
retq
jmp 0x2e318
movq %rax, %rbx
movq (%rsp), %rdi
testq %rdi, %rdi
je 0x2e331
movq 0x10(%rsp), %rsi
subq %rdi, %rsi
callq 0x7390
movq %rbx, %rdi
callq 0x76a0
nop
// File: /workspace/github_cpp_makefile_star2_O3/melop[P]admixem/simulation.cpp
// Function: UISimulation()
void UISimulation() {


		UILoadConfig();


		clock_t t;
		t = clock();
		PerformSimulation();
		t = clock() - t;
		printf ("Execution time %f seconds.\n",((float)t)/CLOCKS_PER_SEC);


}

// Assembly:
pushq %rbx
callq 0x2e84f
callq 0x7230
movq %rax, %rbx
callq 0x2e9be
callq 0x7230
subq %rbx, %rax
cvtsi2ss %rax, %xmm0
divss 0x83fc(%rip), %xmm0     # 0x36c38
cvtss2sd %xmm0, %xmm0
leaq 0x83f5(%rip), %rdi      # 0x36c3c
movb $0x1, %al
popq %rbx
jmp 0x7060
// File: /workspace/github_cpp_makefile_star2_O3/melop[P]admixem/simulation.cpp
// Function: PopId2PopString[abi:cxx11](int)
string PopId2PopString(int nId) {
	ostringstream sRet;
	if (nId == 1 || nId == 2) {
		sRet << "pop" << nId;
	}
	else if (nId == 3) {
		sRet << "hybrid";
	}
	else {
		sRet << "hybrid" << (nId - 3);
	}

	return sRet.str();
}

// Assembly:
pushq %r14
pushq %rbx
subq $0x178, %rsp            # imm = 0x178
movl %esi, %r14d
movq %rdi, %rbx
movq %rsp, %rdi
callq 0x74c0
leal -0x1(%r14), %eax
cmpl $0x1, %eax
ja 0x31a62
leaq 0x5205(%rip), %rsi      # 0x36c58
movq %rsp, %rdi
movl $0x3, %edx
callq 0x7400
jmp 0x31a96
cmpl $0x3, %r14d
jne 0x31a7e
leaq 0x51ed(%rip), %rsi      # 0x36c5c
movq %rsp, %rdi
movl $0x6, %edx
callq 0x7400
jmp 0x31aa1
leaq 0x51d7(%rip), %rsi      # 0x36c5c
movq %rsp, %rdi
movl $0x6, %edx
callq 0x7400
addl $-0x3, %r14d
movq %rsp, %rdi
movl %r14d, %esi
callq 0x7670
leaq 0x8(%rsp), %rsi
movq %rbx, %rdi
callq 0x75a0
movq 0x164d3(%rip), %rsi     # 0x47f88
movq %rsp, %rdi
callq 0x71c0
leaq 0x70(%rsp), %rdi
callq 0x7120
movq %rbx, %rax
addq $0x178, %rsp            # imm = 0x178
popq %rbx
popq %r14
retq
movq %rax, %rbx
movq 0x164a9(%rip), %rsi     # 0x47f88
movq %rsp, %rdi
callq 0x71c0
leaq 0x70(%rsp), %rdi
callq 0x7120
movq %rbx, %rdi
callq 0x76a0
// File: /workspace/github_cpp_makefile_star2_O3/melop[P]admixem/simulation.cpp
// Function: fnMakeDir(char const*)
void fnMakeDir(const char * sPath)
{
	#ifdef _WIN32
	_mkdir(sPath);
	#elif __linux__
	string szCmd("mkdir -m 777 -p ");
	system((szCmd + "\"" + sPath + "\"").c_str());
	#else
	string szCmd("mkdir -m 777 -p ");
	system((szCmd + "\"" + sPath + "\"").c_str());
	#endif
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x80, %rsp
movq %rdi, %rbx
leaq 0x70(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0x56cf(%rip), %rsi      # 0x37227
leaq 0x56d8(%rip), %rdx      # 0x37237
leaq 0x60(%rsp), %r14
movq %r14, %rdi
callq 0xa91c
leaq 0x10(%rsp), %r12
movq %r12, -0x10(%r12)
movq (%r14), %rsi
movq 0x8(%r14), %rdx
addq %rsi, %rdx
movq %rsp, %rdi
callq 0xa9b2
leaq 0x5588(%rip), %rsi      # 0x37117
movq %rsp, %rdi
callq 0x76f0
movq %rsp, %rdi
movq %rbx, %rsi
callq 0x76f0
leaq 0x30(%rsp), %r14
movq %r14, -0x10(%r14)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x31bc9
movq %rdx, 0x20(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x30(%rsp)
jmp 0x31bd0
movups (%rcx), %xmm0
movups %xmm0, (%r14)
movq 0x8(%rax), %rdx
leaq 0x20(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x5524(%rip), %rsi      # 0x37117
callq 0x76f0
leaq 0x50(%rsp), %r13
movq %r13, -0x10(%r13)
movq (%rax), %rdi
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdi
je 0x31c1f
movq %rdi, 0x40(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x50(%rsp)
jmp 0x31c2a
movups (%rcx), %xmm0
movups %xmm0, (%r13)
movq %r13, %rdi
movq 0x8(%rax), %rdx
movq %rdx, 0x48(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
callq 0x7300
movq 0x40(%rsp), %rdi
cmpq %r13, %rdi
je 0x31c5e
movq 0x50(%rsp), %rsi
incq %rsi
callq 0x7390
movq 0x20(%rsp), %rdi
cmpq %r14, %rdi
je 0x31c75
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x7390
movq (%rsp), %rdi
cmpq %r12, %rdi
je 0x31c8b
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x7390
movq 0x60(%rsp), %rdi
cmpq %r15, %rdi
je 0x31ca2
movq 0x70(%rsp), %rsi
incq %rsi
callq 0x7390
addq $0x80, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
movq %rax, %rbx
movq 0x40(%rsp), %rdi
cmpq %r13, %rdi
je 0x31cd2
movq 0x50(%rsp), %rsi
incq %rsi
callq 0x7390
jmp 0x31cd2
movq %rax, %rbx
movq 0x20(%rsp), %rdi
cmpq %r14, %rdi
je 0x31cf0
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x7390
jmp 0x31cf0
jmp 0x31ced
movq %rax, %rbx
movq (%rsp), %rdi
cmpq %r12, %rdi
je 0x31d0b
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x7390
jmp 0x31d0b
movq %rax, %rbx
movq 0x60(%rsp), %rdi
cmpq %r15, %rdi
je 0x31d22
movq 0x70(%rsp), %rsi
incq %rsi
callq 0x7390
movq %rbx, %rdi
callq 0x76a0
// File: /workspace/github_cpp_makefile_star2_O3/CastellanZhang[P]lambdaFM/./src/FTRL/ftrl_trainer.h
// Function: ftrl_trainer::calcVariables4NDCG(std::vector<fm_sample, std::allocator<fm_sample>>&, variable_NDCG&)
void ftrl_trainer::calcVariables4NDCG(vector<fm_sample>& sampleGrp, variable_NDCG& v_NDCG)
{
    int size = sampleGrp.size();
    v_NDCG.DCG = 0;
    for(int i = 0; i < size; ++i)
    {
        v_NDCG.vecGain[i] = gain(sampleGrp[i].y);
        v_NDCG.vecDCG[i] = v_NDCG.vecGain[i] * discount(i);
        v_NDCG.DCG += v_NDCG.vecDCG[i];
    }
    v_NDCG.vecIdealDCG.assign(v_NDCG.vecGain.begin(), v_NDCG.vecGain.end());
    v_NDCG.idealDCG = 0;
    sort(v_NDCG.vecIdealDCG.begin(), v_NDCG.vecIdealDCG.end(),greater<double>());
    for(int i = 0; i < size; ++i)
    {
        v_NDCG.vecIdealDCG[i] *= discount(i);
        v_NDCG.idealDCG += v_NDCG.vecIdealDCG[i];
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdx, %rbx
movq %rdi, 0x8(%rsp)
movq 0x8(%rsi), %rax
subq (%rsi), %rax
sarq $0x5, %rax
movabsq $-0x5555555555555555, %r13 # imm = 0xAAAAAAAAAAAAAAAB
imulq %rax, %r13
movq $0x0, 0x48(%rdx)
testl %r13d, %r13d
jle 0x4b77
movq %rsi, %r15
movl %r13d, %r12d
andl $0x7fffffff, %r12d      # imm = 0x7FFFFFFF
xorl %ebp, %ebp
xorl %r14d, %r14d
movq (%r15), %rax
movb (%rax,%rbp), %cl
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
shll %cl, %eax
notl %eax
xorps %xmm0, %xmm0
cvtsi2sd %eax, %xmm0
movq (%rbx), %rax
movsd %xmm0, (%rax,%r14,8)
cmpq $0x1387, %r14           # imm = 0x1387
ja 0x4b26
movq 0x8(%rsp), %rax
movq 0x80(%rax), %rax
movsd (%rax,%r14,8), %xmm1
jmp 0x4b4f
leal 0x2(%r14), %eax
movsd %xmm0, 0x10(%rsp)
xorps %xmm0, %xmm0
cvtsi2sd %rax, %xmm0
callq 0x3480
movsd 0x74cb(%rip), %xmm1     # 0xc010
divsd %xmm0, %xmm1
movsd 0x10(%rsp), %xmm0
mulsd %xmm0, %xmm1
movq 0x18(%rbx), %rax
movsd %xmm1, (%rax,%r14,8)
addsd 0x48(%rbx), %xmm1
movsd %xmm1, 0x48(%rbx)
incq %r14
addq $0x60, %rbp
cmpq %r14, %r12
jne 0x4aea
leaq 0x30(%rbx), %rdi
movq (%rbx), %rsi
movq 0x8(%rbx), %rdx
callq 0x904a
movq $0x0, 0x50(%rbx)
movq 0x30(%rbx), %r15
movq 0x38(%rbx), %r12
cmpq %r12, %r15
je 0x4bc9
movq %r12, %rax
subq %r15, %rax
sarq $0x3, %rax
bsrq %rax, %rdx
xorl $0x3f, %edx
addl %edx, %edx
xorq $0x7e, %rdx
movq %r15, %rdi
movq %r12, %rsi
callq 0x9145
movq %r15, %rdi
movq %r12, %rsi
callq 0x923e
testl %r13d, %r13d
jle 0x4c34
andl $0x7fffffff, %r13d      # imm = 0x7FFFFFFF
xorl %r14d, %r14d
cmpq $0x1387, %r14           # imm = 0x1387
ja 0x4bf5
movq 0x8(%rsp), %rax
movq 0x80(%rax), %rax
movsd (%rax,%r14,8), %xmm1
jmp 0x4c12
leal 0x2(%r14), %eax
xorps %xmm0, %xmm0
cvtsi2sd %rax, %xmm0
callq 0x3480
movsd 0x7402(%rip), %xmm1     # 0xc010
divsd %xmm0, %xmm1
movq 0x30(%rbx), %rax
mulsd (%rax,%r14,8), %xmm1
movsd %xmm1, (%rax,%r14,8)
addsd 0x50(%rbx), %xmm1
movsd %xmm1, 0x50(%rbx)
incq %r14
cmpq %r14, %r13
jne 0x4bd8
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nop