LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_cpp_makefile_star2_O1/melop[P]admixem/./newran02/newran.cpp
// Function: RandomPermutation::Next(int, int, int*, int)
void RandomPermutation::Next(int N, int M, int p[], int start)
{
   // N = size of urn; M = number of draws
   if (N < M) Throw(Logic_error("Newran: N < M in RandomPermutation"));
   int i;
   int* q = new int [N];
   if (!q) ErrorNoSpace();
   for (i = 0; i < N; i++) q[i] = start + i;
   for (i = 0; i < M; i++)
   {
      int k = i + (int)(U.Next() * (N - i));       // uniform on i ... N-1
      p[i] = q[k]; q[k] = q[i];                    // swap i and k terms
                                                   // but put i-th term into p
   }
   delete [] q;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
cmpl %edx, %esi
jl 0xe8df
movl %r8d, %r12d
movq %rcx, %rbx
movl %edx, %r15d
movl %esi, %ebp
movslq %esi, %rax
shlq $0x2, %rax
testl %esi, %esi
movq $-0x1, %rdi
cmovnsq %rax, %rdi
callq 0x7030
movq %rax, %r14
testl %ebp, %ebp
jle 0xe891
movl %ebp, %eax
movl %r12d, %ecx
xorl %edx, %edx
leal (%rcx,%rdx), %esi
movl %esi, (%r14,%rdx,4)
incq %rdx
cmpq %rdx, %rax
jne 0xe882
testl %r15d, %r15d
jle 0xe8cf
movl %r15d, %r15d
xorl %r12d, %r12d
callq 0xbaa8
xorps %xmm1, %xmm1
cvtsi2sd %ebp, %xmm1
mulsd %xmm0, %xmm1
cvttsd2si %xmm1, %eax
cltq
addq %r12, %rax
movl (%r14,%rax,4), %ecx
movl %ecx, (%rbx,%r12,4)
movl (%r14,%r12,4), %ecx
movl %ecx, (%r14,%rax,4)
incq %r12
decl %ebp
cmpq %r12, %r15
jne 0xe89c
movq %r14, %rdi
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp 0x7490
movl $0x1, %edi
callq 0x7180
movq %rax, %rbx
leaq 0x27071(%rip), %rsi     # 0x35964
movq %rax, %rdi
callq 0xb7f2
leaq 0x390b6(%rip), %rsi     # 0x479b8
movq %rbx, %rdi
xorl %edx, %edx
callq 0x7660
movq %rax, %r14
movq %rbx, %rdi
callq 0x72a0
movq %r14, %rdi
callq 0x76a0
// File: /workspace/github_cpp_makefile_star2_O1/melop[P]admixem/./newran02/newran.cpp
// Function: ShellSortAscending(int*, int)
void ShellSortAscending(int* a, int N)
{
   int h;
   for (h = 1; h <= N / 9; h = 3*h + 1) {}
   for (; h > 0; h /= 3) for (int i = h; i < N; ++i)
   {
      int v = a[i]; int j = i;
      while (j>=h && a[j-h] > v) { a[j] = a[j-h]; j-= h; }
      a[j] = v;
   }
}

// Assembly:
movl $0x1, %eax
cmpl $0x9, %esi
jl 0xe951
movslq %esi, %rax
imulq $0x38e38e39, %rax, %rcx # imm = 0x38E38E39
movq %rcx, %rax
shrq $0x3f, %rax
sarq $0x21, %rcx
addl %eax, %ecx
movl $0x1, %eax
leal (%rax,%rax,2), %edx
leal (%rax,%rax,2), %eax
incl %eax
cmpl %ecx, %edx
jl 0xe945
testl %eax, %eax
jle 0xe9be
pushq %rbp
pushq %r14
pushq %rbx
movl $0xaaaaaaab, %ecx       # imm = 0xAAAAAAAB
movl %eax, %edx
cmpl %esi, %eax
jge 0xe9ab
xorl %r8d, %r8d
movq %rdx, %r9
movl (%rdi,%r9,4), %r10d
movl %r9d, %ebx
cmpq %rdx, %r9
jb 0xe999
movl %r8d, %r11d
leal (%rax,%r11), %ebx
movslq %r11d, %r14
movl (%rdi,%r14,4), %ebp
cmpl %r10d, %ebp
jle 0xe999
movl %ebx, %ebx
movl %ebp, (%rdi,%rbx,4)
subl %eax, %r11d
jge 0xe979
addl %eax, %r11d
movl %r11d, %ebx
movslq %ebx, %r11
movl %r10d, (%rdi,%r11,4)
incq %r9
incl %r8d
cmpl %esi, %r9d
jl 0xe96a
imulq %rcx, %rdx
shrq $0x21, %rdx
cmpl $0x3, %eax
movl %edx, %eax
jae 0xe95e
popq %rbx
popq %r14
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/melop[P]admixem/./newran02/newran.cpp
// Function: VariPoisson::iNext_very_small(double)
int VariPoisson::iNext_very_small(Real mu)
{
   // mu is expected value of Poisson random number
   // Efficient when mu is small
   // generate a Poisson variable with mean mu
   if (mu == 0) return 0;
   Real t = exp(-mu); int k = 0; Real u = U.Next();
   for (Real s = t; s < u; s += t) { ++k; t *= mu / k; }
   return k;
}

// Assembly:
pushq %rbx
subq $0x20, %rsp
movapd %xmm0, %xmm1
xorl %ebx, %ebx
xorpd %xmm0, %xmm0
ucomisd %xmm0, %xmm1
jne 0xea6f
jnp 0xeac8
movapd 0x26619(%rip), %xmm0    # 0x35090
xorpd %xmm1, %xmm0
movapd %xmm1, 0x10(%rsp)
callq 0x7748
movsd %xmm0, 0x8(%rsp)
callq 0xbaa8
movsd 0x8(%rsp), %xmm5
movapd 0x10(%rsp), %xmm4
ucomisd %xmm5, %xmm0
jbe 0xeac8
xorl %ebx, %ebx
movapd %xmm5, %xmm1
incl %ebx
xorps %xmm2, %xmm2
cvtsi2sd %ebx, %xmm2
movapd %xmm4, %xmm3
divsd %xmm2, %xmm3
mulsd %xmm3, %xmm1
addsd %xmm1, %xmm5
ucomisd %xmm5, %xmm0
ja 0xeaa9
movl %ebx, %eax
addq $0x20, %rsp
popq %rbx
retq
// File: /workspace/github_cpp_makefile_star2_O1/melop[P]admixem/./newran02/newran.cpp
// Function: VariPoisson::iNext_small(double)
int VariPoisson::iNext_small(Real mu)
{
   // mu is expected value of Poisson random number
   // Efficient when mu is reasonably small
   // generate a Poisson variable with mean mu
   // start iteration at mode
   if (mu < 10) return iNext_very_small(mu);
   int k_start = (int)mu;  Real u = U.Next();
   Real t1 = exp(k_start * log(mu) - mu - ln_gamma(k_start+1));
   if (t1 > u) return k_start;
   int k1 = k_start; int k2 = k_start; Real t2 = t1; Real s = t1;
   for(;;)
   {
      ++k1; t1 *= mu / k1; s += t1; if (s > u) return k1;
      if (k2 > 0) { t2 *= k2 / mu; --k2; s += t2; if (s > u) return k2; }
   }
}

// Assembly:
movsd 0x269d8(%rip), %xmm1    # 0x354b0
ucomisd %xmm0, %xmm1
ja 0xea58
pushq %rbp
pushq %rbx
subq $0x38, %rsp
cvttsd2si %xmm0, %ebx
movapd %xmm0, 0x10(%rsp)
callq 0xbaa8
movsd %xmm0, 0x30(%rsp)
movapd 0x10(%rsp), %xmm0
cvttpd2dq %xmm0, %xmm1
cvtdq2pd %xmm1, %xmm1
movaps %xmm1, (%rsp)
callq 0x7730
mulsd (%rsp), %xmm0
subsd 0x10(%rsp), %xmm0
movsd %xmm0, (%rsp)
leal 0x1(%rbx), %ebp
xorps %xmm0, %xmm0
cvtsi2sd %ebp, %xmm0
movsd %xmm0, 0x28(%rsp)
callq 0xca78
movsd (%rsp), %xmm1
subsd %xmm0, %xmm1
movapd %xmm1, %xmm0
callq 0x7748
movsd 0x30(%rsp), %xmm6
ucomisd %xmm6, %xmm0
jbe 0xeb5b
movl %ebx, %eax
jmp 0xebc3
movapd 0x10(%rsp), %xmm5
movapd %xmm5, %xmm1
divsd 0x28(%rsp), %xmm1
mulsd %xmm0, %xmm1
movapd %xmm0, %xmm2
addsd %xmm1, %xmm2
ucomisd %xmm6, %xmm2
jbe 0xeb81
movl %ebp, %eax
jmp 0xebc3
testl %ebx, %ebx
jle 0xeba2
xorps %xmm3, %xmm3
cvtsi2sd %ebx, %xmm3
divsd %xmm5, %xmm3
mulsd %xmm3, %xmm0
decl %ebx
addsd %xmm0, %xmm2
ucomisd %xmm6, %xmm2
movl %ebx, %eax
ja 0xebc3
incl %ebp
xorps %xmm3, %xmm3
cvtsi2sd %ebp, %xmm3
movapd %xmm5, %xmm4
divsd %xmm3, %xmm4
mulsd %xmm4, %xmm1
addsd %xmm1, %xmm2
ucomisd %xmm6, %xmm2
movl %ebp, %eax
jbe 0xeb81
addq $0x38, %rsp
popq %rbx
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/melop[P]admixem/./newran02/newran.cpp
// Function: VariPoisson::iNext_large(double)
int VariPoisson::iNext_large(Real mu)
{
   // mu is expected value of Poisson random number
   // reasonably accurate when mu is large, but should try to improve
   // generate a Poisson variable with mean mu
   // method is to start with normal variable X and use X with prob 1/3
   // and X**2 with prob 2/3. In each case X has mean and variance to
   // agree with Poisson rv after adjusting with Sheppard's correction

   const Real sc = 1.0 / 12.0;        // Sheppard correction
   int k;
   if (U.Next() > 1.0 / 3.0)
   {
      Real musc = 0.5 * (mu - sc); Real meansq = sqrt(mu * mu - musc);
      Real sigma = sqrt(musc / (mu + meansq));
      k = (int)floor(square(N.Next() * sigma + sqrt(meansq)) + 0.5);
   }
   else k = (int)floor(N.Next() * sqrt(mu - sc) + mu + 0.5);
   return k < 0 ? 0 : k;
}

// Assembly:
pushq %rbx
subq $0x20, %rsp
movsd %xmm0, 0x8(%rsp)
movq %rdi, %rbx
callq 0xbaa8
ucomisd 0x268d3(%rip), %xmm0    # 0x354b8
jbe 0xec1d
movsd 0x268d1(%rip), %xmm2    # 0x354c0
movsd 0x8(%rsp), %xmm1
addsd %xmm1, %xmm2
mulsd 0x2680f(%rip), %xmm2    # 0x35410
movapd %xmm1, %xmm0
mulsd %xmm1, %xmm0
subsd %xmm2, %xmm0
xorpd %xmm3, %xmm3
ucomisd %xmm3, %xmm0
jb 0xec53
sqrtsd %xmm0, %xmm0
jmp 0xec6e
addq $0x8, %rbx
movq %rbx, %rdi
callq 0xbf46
movapd %xmm0, %xmm2
movsd 0x2688b(%rip), %xmm0    # 0x354c0
movsd 0x8(%rsp), %xmm3
addsd %xmm3, %xmm0
xorpd %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jb 0xec8b
movapd %xmm3, %xmm1
sqrtsd %xmm0, %xmm0
jmp 0xeca2
movsd %xmm2, 0x10(%rsp)
callq 0x7728
xorpd %xmm3, %xmm3
movsd 0x10(%rsp), %xmm2
movsd 0x8(%rsp), %xmm1
movsd %xmm0, 0x8(%rsp)
addsd %xmm0, %xmm1
divsd %xmm1, %xmm2
ucomisd %xmm3, %xmm2
jb 0xecac
xorps %xmm0, %xmm0
sqrtsd %xmm2, %xmm0
jmp 0xecb5
movsd %xmm2, 0x10(%rsp)
callq 0x7728
movsd 0x10(%rsp), %xmm2
movsd 0x8(%rsp), %xmm1
mulsd %xmm0, %xmm2
addsd %xmm1, %xmm2
jmp 0xed04
movapd %xmm2, %xmm0
callq 0x7728
movsd %xmm0, 0x18(%rsp)
addq $0x8, %rbx
movq %rbx, %rdi
callq 0xbf46
movapd %xmm0, %xmm2
xorpd %xmm0, %xmm0
movsd 0x8(%rsp), %xmm1
ucomisd %xmm0, %xmm1
movapd %xmm1, %xmm0
jb 0xece5
sqrtsd %xmm0, %xmm0
jmp 0xecf6
movsd %xmm2, 0x10(%rsp)
callq 0x7728
movsd 0x10(%rsp), %xmm2
mulsd 0x18(%rsp), %xmm2
addsd %xmm0, %xmm2
mulsd %xmm2, %xmm2
addsd 0x26704(%rip), %xmm2    # 0x35410
movapd %xmm2, %xmm0
callq 0x7740
cvttsd2si %xmm0, %ecx
xorl %eax, %eax
testl %ecx, %ecx
cmovgl %ecx, %eax
addq $0x20, %rsp
popq %rbx
retq
// File: /workspace/github_cpp_makefile_star2_O1/melop[P]admixem/./newran02/newran.cpp
// Function: VariPoisson::iNext(double)
int VariPoisson::iNext(Real mu)
{
   if (mu <= 0)
   {
      if (mu == 0) return 0;
      else Throw(Logic_error("Newran: illegal parameters"));
   }
   if (mu < 10) return iNext_very_small(mu);
   else if (mu < 100) return iNext_small(mu);
   else if (mu < 200)
   {
      // do in two statements so order of evaluation is preserved
      int i = (int)P100.Next();
      return i + iNext_small(mu - 100);
   }
   else if (mu < 300)
   {
      // do in two statements so order of evaluation is preserved
      int i = (int)P200.Next();
      return i + iNext_small(mu - 200);
   }
   else return iNext_large(mu);
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
xorpd %xmm1, %xmm1
ucomisd %xmm0, %xmm1
jae 0xed4e
movsd 0x26774(%rip), %xmm1    # 0x354b0
ucomisd %xmm0, %xmm1
jbe 0xed68
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0xea58
xorl %eax, %eax
ucomisd %xmm1, %xmm0
jne 0xedf6
jp 0xedf6
addq $0x8, %rsp
popq %rbx
popq %r14
retq
movsd 0x262a0(%rip), %xmm1    # 0x35010
ucomisd %xmm0, %xmm1
jbe 0xed82
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0xead0
movsd 0x2671e(%rip), %xmm1    # 0x354a8
ucomisd %xmm0, %xmm1
jbe 0xedb1
movq 0x38(%rdi), %rdi
movq (%rdi), %rax
movsd %xmm0, (%rsp)
callq *(%rax)
cvttsd2si %xmm0, %ebx
movsd (%rsp), %xmm0
addsd 0x26729(%rip), %xmm0    # 0x354d8
jmp 0xedde
movsd 0x2670f(%rip), %xmm1    # 0x354c8
ucomisd %xmm0, %xmm1
jbe 0xedea
movq 0x48(%rdi), %rdi
movq (%rdi), %rax
movsd %xmm0, (%rsp)
callq *(%rax)
cvttsd2si %xmm0, %ebx
movsd (%rsp), %xmm0
addsd 0x266f2(%rip), %xmm0    # 0x354d0
callq 0xead0
addl %ebx, %eax
jmp 0xed60
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0xebca
movl $0x1, %edi
callq 0x7180
movq %rax, %rbx
leaq 0x269f1(%rip), %rsi     # 0x357fb
movq %rax, %rdi
callq 0xb7f2
leaq 0x38b9f(%rip), %rsi     # 0x479b8
movq %rbx, %rdi
xorl %edx, %edx
callq 0x7660
movq %rax, %r14
movq %rbx, %rdi
callq 0x72a0
movq %r14, %rdi
callq 0x76a0
// File: /workspace/github_cpp_makefile_star2_O1/melop[P]admixem/./newran02/newran.cpp
// Function: VariBinomial::iNext_very_small(int, double)
int VariBinomial::iNext_very_small(int n, Real p)
{
   // Efficient when n * p is small
   // generate a Binomial variable with parameters n and p

   Real q = 1 - p; if (q == 0) return n;
   Real r = p / q; Real t = pow(q, n); Real s = t;
   Real u = U.Next();
   for (int k = 0; k <= n; ++k)
   {
      if (s >= u) return k;
      t *= r * (Real)(n - k) / (Real)(k + 1);
      s += t;
   }
   return 0;    // can happen only if we have round-off error
}

// Assembly:
pushq %rbx
subq $0x20, %rsp
movl %esi, %ebx
movsd 0x261bf(%rip), %xmm2    # 0x35018
subsd %xmm0, %xmm2
xorpd %xmm1, %xmm1
ucomisd %xmm1, %xmm2
jne 0xee70
jp 0xee70
movl %ebx, %eax
jmp 0xeef3
movsd %xmm0, 0x10(%rsp)
xorps %xmm1, %xmm1
cvtsi2sd %ebx, %xmm1
movsd %xmm2, 0x8(%rsp)
movapd %xmm2, %xmm0
callq 0x7690
movsd %xmm0, 0x18(%rsp)
callq 0xbaa8
xorl %eax, %eax
testl %ebx, %ebx
js 0xeef3
movsd 0x18(%rsp), %xmm5
ucomisd %xmm0, %xmm5
jae 0xeef3
movsd 0x10(%rsp), %xmm4
divsd 0x8(%rsp), %xmm4
xorl %ecx, %ecx
movl %ebx, %eax
movapd %xmm5, %xmm1
movl %ecx, %edx
leal 0x1(%rdx), %ecx
cmpl %ebx, %edx
jge 0xeeec
xorps %xmm2, %xmm2
cvtsi2sd %eax, %xmm2
mulsd %xmm4, %xmm2
xorps %xmm3, %xmm3
cvtsi2sd %ecx, %xmm3
divsd %xmm3, %xmm2
mulsd %xmm2, %xmm1
addsd %xmm1, %xmm5
decl %eax
ucomisd %xmm0, %xmm5
jb 0xeebd
xorl %eax, %eax
cmpl %ebx, %edx
cmovll %ecx, %eax
addq $0x20, %rsp
popq %rbx
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/melop[P]admixem/./newran02/newran.cpp
// Function: VariBinomial::iNext(int, double)
int VariBinomial::iNext(int n, Real p)
{
   if (p > 0.5) return n - iNext(n, 1.0 - p);

   if (n <= 0 || p <= 0)
   {
      if (n < 0 || p < 0) Throw(Logic_error("Newran: illegal parameters"));
      else return 0;
   }

   Real mean = n * p;
   if (mean <= 10) return iNext_very_small(n, p);
   else if (mean <= 200) return iNext_small(n, p);
   else return iNext_large(n,p);

}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
subq $0x10, %rsp
movl %esi, %ebp
movq %rdi, %rbx
ucomisd 0x26325(%rip), %xmm0    # 0x35410
jbe 0xf10e
movsd 0x25f23(%rip), %xmm1    # 0x35018
subsd %xmm0, %xmm1
movq %rbx, %rdi
movl %ebp, %esi
movapd %xmm1, %xmm0
callq 0xf0d6
subl %eax, %ebp
jmp 0xf20e
testl %ebp, %ebp
jle 0xf179
xorpd %xmm1, %xmm1
ucomisd %xmm0, %xmm1
jae 0xf179
cvtsi2sd %ebp, %xmm2
mulsd %xmm0, %xmm2
movsd 0x26384(%rip), %xmm1    # 0x354b0
ucomisd %xmm2, %xmm1
jae 0xf1ba
movsd 0x2636a(%rip), %xmm1    # 0x354a8
ucomisd %xmm2, %xmm1
jae 0xf1c9
movsd 0x25ec8(%rip), %xmm1    # 0x35018
subsd %xmm0, %xmm1
movsd %xmm2, 0x8(%rsp)
mulsd %xmm2, %xmm1
addsd 0x2635a(%rip), %xmm1    # 0x354c0
xorpd %xmm0, %xmm0
ucomisd %xmm0, %xmm1
jb 0xf1d8
xorps %xmm0, %xmm0
sqrtsd %xmm1, %xmm0
jmp 0xf1e1
testl %ebp, %ebp
js 0xf18d
xorl %ebp, %ebp
xorpd %xmm1, %xmm1
ucomisd %xmm0, %xmm1
jbe 0xf20e
movl $0x1, %edi
callq 0x7180
movq %rax, %rbx
leaq 0x2665a(%rip), %rsi     # 0x357fb
movq %rax, %rdi
callq 0xb7f2
leaq 0x38808(%rip), %rsi     # 0x479b8
movq %rbx, %rdi
xorl %edx, %edx
callq 0x7660
movl %ebp, %esi
addq $0x10, %rsp
popq %rbx
popq %r14
popq %rbp
jmp 0xee4a
movl %ebp, %esi
addq $0x10, %rsp
popq %rbx
popq %r14
popq %rbp
jmp 0xeefa
movapd %xmm1, %xmm0
callq 0x7728
movsd %xmm0, (%rsp)
addq $0x8, %rbx
movq %rbx, %rdi
callq 0xbf46
mulsd (%rsp), %xmm0
addsd 0x8(%rsp), %xmm0
addsd 0x2620b(%rip), %xmm0    # 0x35410
callq 0x7740
cvttsd2si %xmm0, %ebp
movl %ebp, %eax
addq $0x10, %rsp
popq %rbx
popq %r14
popq %rbp
retq
movq %rax, %r14
movq %rbx, %rdi
callq 0x72a0
movq %r14, %rdi
callq 0x76a0
// File: /workspace/github_cpp_makefile_star2_O1/melop[P]admixem/./newran02/newran.cpp
// Function: VariBinomial::iNext_large(int, double)
int VariBinomial::iNext_large(int n, Real p)
{
   const Real sc = 1.0 / 12.0;        // Sheppard correction
   Real mean = n * p;
   Real sd = sqrt(mean * (1.0 - p) - sc);
   return (int)floor(N.Next() * sd + mean + 0.5);
}

// Assembly:
pushq %rbx
subq $0x10, %rsp
movapd %xmm0, %xmm1
cvtsi2sd %esi, %xmm2
mulsd %xmm0, %xmm2
movsd 0x25dd3(%rip), %xmm0    # 0x35018
subsd %xmm1, %xmm0
movsd %xmm2, 0x8(%rsp)
mulsd %xmm2, %xmm0
addsd 0x26265(%rip), %xmm0    # 0x354c0
movq %rdi, %rbx
xorpd %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jb 0xf26e
sqrtsd %xmm0, %xmm0
jmp 0xf273
callq 0x7728
movsd %xmm0, (%rsp)
addq $0x8, %rbx
movq %rbx, %rdi
callq 0xbf46
mulsd (%rsp), %xmm0
addsd 0x8(%rsp), %xmm0
addsd 0x26179(%rip), %xmm0    # 0x35410
callq 0x7740
cvttsd2si %xmm0, %eax
addq $0x10, %rsp
popq %rbx
retq
// File: /workspace/github_cpp_makefile_star2_O1/melop[P]admixem/config.cpp
// Function: SimulationConfigurations::GetConfig(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
const string SimulationConfigurations::GetConfig(string sKey) {

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

	

	if (  this->_mpConfigs.find(sKey) == this ->_mpConfigs.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 "";

	}
	

	return  this->_mpConfigs[sKey];


}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %r14
movq %rsi, %r12
movq %rdi, %rbx
leaq 0x58(%rsi), %r15
movq %r15, %rdi
movq %rdx, %rsi
callq 0x21cb6
addq $0x60, %r12
cmpq %r12, %rax
je 0x100cd
movq %r15, %rdi
movq %r14, %rsi
callq 0x19edc
leaq 0x10(%rbx), %rcx
movq %rcx, (%rbx)
movq (%rax), %rsi
movq 0x8(%rax), %rdx
addq %rsi, %rdx
movq %rbx, %rdi
callq 0xa916
jmp 0x100e6
leaq 0x10(%rbx), %rax
movq %rax, (%rbx)
leaq 0x25f3e(%rip), %rdx     # 0x36019
movq %rbx, %rdi
movq %rdx, %rsi
callq 0xa886
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/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)
movsd 0x38(%rsi), %xmm0
movsd %xmm0, 0x38(%rdi)
movsd 0x40(%rsi), %xmm0
movsd %xmm0, 0x40(%rdi)
movb 0x20(%rsi), %al
movb %al, 0x20(%rdi)
movsd 0x28(%rsi), %xmm0
movsd %xmm0, 0x28(%rdi)
callq 0x71d0
movsd 0x58(%r14), %xmm0
movsd %xmm0, 0x58(%rbx)
movsd 0x50(%r14), %xmm0
movsd %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 0x19f58
movq %r15, 0x68(%rbx)
movl 0xc0(%r14), %eax
movl %eax, 0xc0(%rbx)
movl 0xc4(%r14), %eax
movl %eax, 0xc4(%rbx)
movq 0xa8(%r14), %r15
addq $0x98, %r14
cmpq %r14, %r15
je 0x18852
leaq 0x90(%rbx), %r12
leaq 0x20(%r15), %rsi
movq %r12, %rdi
callq 0x20d3c
movq %r15, %rdi
callq 0x7420
movq %rax, %r15
cmpq %r14, %rax
jne 0x18836
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
nop
// File: /workspace/github_cpp_makefile_star2_O1/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 0x1d1d3(%rip), %rdi     # 0x366db
callq 0x7560
movq 0x70(%rbx), %r14
leaq 0x60(%rbx), %rbp
cmpq %rbp, %r14
je 0x195cd
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 0xa916
movq %r12, 0x8(%rsp)
movq 0x40(%r14), %rsi
movq 0x48(%r14), %rdx
addq %rsi, %rdx
leaq 0x8(%rsp), %rdi
callq 0xa916
movq 0x8(%rsp), %rdi
xorl %esi, %esi
callq 0x72c0
movsd %xmm0, (%rsp)
movq %rbx, %rdi
movq %r15, %rsi
callq 0x9b86
movsd (%rsp), %xmm0
movsd %xmm0, (%rax)
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0x195a2
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x7390
movq 0x28(%rsp), %rdi
cmpq %r13, %rdi
je 0x195b9
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x7390
movq %r14, %rdi
callq 0x7270
movq %rax, %r14
cmpq %rbp, %rax
jne 0x19534
leaq 0x1d12c(%rip), %rdi     # 0x36700
callq 0x7560
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
jmp 0x19607
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0x19607
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x7390
movq 0x28(%rsp), %rdi
cmpq %r13, %rdi
je 0x1961e
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x7390
movq %rbx, %rdi
callq 0x76a0
// File: /workspace/github_cpp_makefile_star2_O1/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 0x21cfc
addq $0x90, %r15
cmpq %r15, %rax
je 0x1965d
movq %r14, %rdi
movq %rbx, %rsi
callq 0x9b86
movsd (%rax), %xmm0
jmp 0x19665
movsd 0x1bdd3(%rip), %xmm0    # 0x35438
popq %rbx
popq %r14
popq %r15
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/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 0x19990
movq (%rdi), %rcx
movq 0x8(%rdi), %rax
cmpq %rcx, %rax
je 0x19920
movq 0x8(%rcx), %r8
subq (%rcx), %r8
shrq $0x3, %r8
jmp 0x19923
xorl %r8d, %r8d
testl %edx, %edx
js 0x19990
cmpl %esi, %r8d
jle 0x19990
subq %rcx, %rax
je 0x1993e
movq 0x8(%rcx), %r8
subq (%rcx), %r8
shrq $0x3, %r8
jmp 0x19941
xorl %r8d, %r8d
cmpl %edx, %r8d
jle 0x19990
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 0x199af
shrq $0x3, %rax
imull $0xaaaaaaab, %eax, %eax # imm = 0xAAAAAAAB
decl %eax
cmpl %eax, %edx
jg 0x199af
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 0x1cf31(%rip), %rdi     # 0x368c8
leaq 0x1cd7d(%rip), %rsi     # 0x3671b
leaq 0x1cf4e(%rip), %rcx     # 0x368f3
movl $0x9f, %edx
callq 0x7210
leaq 0x1cf82(%rip), %rdi     # 0x36938
leaq 0x1cd5e(%rip), %rsi     # 0x3671b
leaq 0x1cf2f(%rip), %rcx     # 0x368f3
movl $0xa0, %edx
callq 0x7210
// File: /workspace/github_cpp_makefile_star2_O1/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 0xa916
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 0x1cc38(%rip), %rsi     # 0x36c04
leaq 0x1cc33(%rip), %rdx     # 0x36c06
leaq 0x8(%rsp), %rdi
callq 0xa886
leaq 0x8(%rsp), %rsi
movq %r14, %rdi
callq 0x1b39a
movabsq $0x400921fb54442d18, %rcx # imm = 0x400921FB54442D18
movq %rcx, (%rax)
movq 0x8(%rsp), %rdi
cmpq %rbp, %rdi
je 0x1a00e
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x7390
leaq 0x8(%rsp), %rdi
movq %rbp, (%rdi)
leaq 0x1b97d(%rip), %rsi     # 0x3599a
leaq 0x1b977(%rip), %rdx     # 0x3599b
callq 0xa886
leaq 0x8(%rsp), %rsi
movq %r14, %rdi
callq 0x1b39a
movabsq $0x4005bf0a8b145769, %rcx # imm = 0x4005BF0A8B145769
movq %rcx, (%rax)
movq 0x8(%rsp), %rdi
cmpq %rbp, %rdi
je 0x1a05a
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x7390
leaq 0x1e30a(%rip), %rsi     # 0x3836b
movq %r15, %rdi
callq 0x7100
testl %eax, %eax
sete 0x60(%rbx)
leaq 0x1c984(%rip), %rsi     # 0x369fa
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 0x1a097
jmp 0x1a0b3
movq %rax, %r15
movq 0x8(%rsp), %rdi
cmpq %rbp, %rdi
je 0x1a0b6
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x7390
jmp 0x1a0b6
movq %rax, %r15
movq %r14, %rdi
callq 0x1bb2c
movq 0x38(%rbx), %rdi
cmpq %r13, %rdi
je 0x1a0d3
movq (%r13), %rsi
incq %rsi
callq 0x7390
movq (%rbx), %rdi
cmpq %r12, %rdi
je 0x1a0e7
movq (%r12), %rsi
incq %rsi
callq 0x7390
movq %r15, %rdi
callq 0x76a0
nop
// File: /workspace/github_cpp_makefile_star2_O1/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 0x21e1b
movq 0x150(%rbx), %rsi
subq %rdi, %rsi
callq 0x7390
leaq 0x128(%rbx), %rdi
callq 0x26792
leaq 0x110(%rbx), %rdi
callq 0x267e0
leaq 0xe0(%rbx), %rdi
callq 0x1bb2c
leaq 0xb0(%rbx), %rdi
callq 0x1bb2c
leaq 0x80(%rbx), %rdi
callq 0x1bb2c
addq $0x50, %rbx
movq %rbx, %rdi
popq %rbx
jmp 0x1bb2c
// File: /workspace/github_cpp_makefile_star2_O1/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 0x231a1
leaq 0x38(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0x13d35(%rip), %rsi     # 0x36e10
leaq 0x13d3f(%rip), %rdx     # 0x36e21
leaq 0x28(%rsp), %r14
movq %r14, %rdi
callq 0xa886
leaq 0x26812(%rip), %rdi     # 0x49908
movq %r14, %rsi
callq 0x19626
movsd %xmm0, (%rsp)
movq 0x28(%rsp), %rdi
cmpq %r15, %rdi
je 0x2311a
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x7390
leaq 0x18(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0x13cf8(%rip), %rsi     # 0x36e22
leaq 0x13d02(%rip), %rdx     # 0x36e33
leaq 0x8(%rsp), %r14
movq %r14, %rdi
callq 0xa886
leaq 0x267c3(%rip), %rdi     # 0x49908
movq %r14, %rsi
callq 0x19626
cvttsd2si (%rsp), %ebp
cvttsd2si %xmm0, %r14d
movq 0x8(%rsp), %rdi
cmpq %r15, %rdi
je 0x2316e
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x7390
xorps %xmm0, %xmm0
cvtsi2sd %r14d, %xmm0
movsd %xmm0, (%rsp)
leaq 0x268f6(%rip), %rax     # 0x49a78
movq (%rax), %rax
movq (%rax), %rdi
movq (%rdi), %rax
callq *(%rax)
cvtsi2sd %ebp, %xmm1
mulsd (%rsp), %xmm0
addsd %xmm1, %xmm0
cvttsd2si %xmm0, %rax
jmp 0x231a6
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 0x231c6
movq %rax, %rbx
movq 0x28(%rsp), %rdi
cmpq %r15, %rdi
je 0x231d6
movq (%r15), %rsi
incq %rsi
callq 0x7390
movq %rbx, %rdi
callq 0x76a0
// File: /workspace/github_cpp_makefile_star2_O1/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 0x243f8
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x2553c(%rip), %r15     # 0x49908
movq %r15, %rdi
callq 0x198ee
movq 0x28(%r15), %rdi
movl %eax, %esi
callq 0x17836
movzbl %al, %edx
movq %r14, %rdi
movq %rbx, %rsi
callq 0x2441e
testl %eax, %eax
setne %al
popq %rbx
popq %r14
popq %r15
retq
movl $0x8, %edi
callq 0x7180
leaq 0x12a38(%rip), %rcx     # 0x36e41
movq %rcx, (%rax)
movq 0x24b25(%rip), %rsi     # 0x48f38
movq %rax, %rdi
xorl %edx, %edx
callq 0x7660
nop
// File: /workspace/github_cpp_makefile_star2_O1/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 0x264f7
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 0x264bd
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 0x2646f
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 0x26430
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/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 0x26649
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 0x2660f
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 0x26597
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 0x2654e
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/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 0x2672f
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 0x1081a(%rip), %rsi     # 0x36f6a
movq %rax, %rdi
callq 0xb4d0
movq %r14, (%rbx)
leaq 0x22556(%rip), %rsi     # 0x48cb8
movq %rbx, %rdi
xorl %edx, %edx
callq 0x7660
movq %rax, %r15
movl $0x1, %esi
movq %r14, %rdi
callq 0x7390
jmp 0x26781
movq %rax, %r15
movq %rbx, %rdi
callq 0x72a0
movq %r15, %rdi
callq 0x76a0
nop
// File: /workspace/github_cpp_makefile_star2_O1/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 0x27c8d
movq 0x8(%rsi), %rsi
leaq 0x30(%rsp), %rbx
leaq 0xf(%rsp), %rdx
movq %rbx, %rdi
callq 0x9c02
leaq 0x20(%rsp), %r14
movq %r14, -0x10(%r14)
movq (%rbx), %rsi
movq 0x8(%rbx), %rdx
addq %rsi, %rdx
leaq 0x10(%rsp), %rdi
callq 0xa916
leaq 0x21ccc(%rip), %rdi     # 0x49908
leaq 0x10(%rsp), %rsi
callq 0x18afc
movq 0x10(%rsp), %rdi
cmpq %r14, %rdi
je 0x27c5d
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x7390
callq 0x2ecab
leaq 0x40(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x27c7d
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 0x212fc(%rip), %rbx     # 0x48f90
movsd 0xd79c(%rip), %xmm0     # 0x35438
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 0xf327(%rip), %r14      # 0x36ffc
movq 0x212f4(%rip), %r15     # 0x48fd0
leaq 0x30(%rsp), %r12
leaq 0xf304(%rip), %r13      # 0x36fec
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 0x27c7d
movslq (%r13,%rax,4), %rax
addq %r13, %rax
jmpq *%rax
callq 0x27d7c
jmp 0x27ce8
callq 0x2ecab
jmp 0x27ce8
callq 0x33cc8
jmp 0x27ce8
callq 0x321f6
jmp 0x27ce8
movq %rax, %rbx
movq 0x10(%rsp), %rdi
cmpq %r14, %rdi
je 0x27d57
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x7390
jmp 0x27d57
movq %rax, %rbx
leaq 0x40(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x27d72
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x7390
movq %rbx, %rdi
callq 0x76a0
nop
// File: /workspace/github_cpp_makefile_star2_O1/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 0x29a58
movl %esi, %eax
xorpd %xmm0, %xmm0
xorl %ecx, %ecx
addsd (%rdi,%rcx,8), %xmm0
incq %rcx
cmpq %rcx, %rax
jne 0x29a4a
retq
xorps %xmm0, %xmm0
retq
// File: /workspace/github_cpp_makefile_star2_O1/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 0x1ff9f(%rip), %r14     # 0x49a40
xorl %ebp, %ebp
movq %r14, %rdi
callq 0xbaa8
mulsd 0x8(%rsp), %xmm0
addsd 0xb95f(%rip), %xmm0     # 0x35418
callq 0x7740
cvttsd2si %xmm0, %eax
testl %eax, %eax
cmovlel %ebp, %eax
cmpl %ebx, %eax
jge 0x29aa3
addq $0x10, %rsp
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/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 0x2c634
movl %esi, %ecx
leaq 0xb29c(%rip), %rdx      # 0x378a0
movslq (%rdx,%rcx,4), %rcx
addq %rdx, %rcx
jmpq *%rcx
movq 0x68(%rdi), %rax
subq 0x60(%rdi), %rax
jmp 0x2c6b5
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 0x1cd80(%rip), %rcx     # 0x493bc
movslq (%rcx), %rdx
testq %rdx, %rdx
jle 0x2c634
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 0x2c657
jmp 0x2c634
leaq 0x1cd44(%rip), %rcx     # 0x493bc
movslq (%rcx), %rdx
testq %rdx, %rdx
jle 0x2c634
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 0x2c693
jmp 0x2c634
movq 0x50(%rdi), %rax
subq 0x48(%rdi), %rax
shrq $0x3, %rax
retq
leaq 0x1ccfb(%rip), %rcx     # 0x493bc
movslq (%rcx), %rsi
testq %rsi, %rsi
jle 0x2c634
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 0x2c6e7
jmp 0x2c634
nop
// File: /workspace/github_cpp_makefile_star2_O1/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 0x1d2f5(%rip), %rdi     # 0x49a40
callq 0xbaa8
cvtsi2sd %r15d, %xmm1
cvtsi2sd %r12d, %xmm2
divsd %xmm2, %xmm1
ucomisd %xmm0, %xmm1
cmovaeq %r14, %rbx
movq 0x8(%rbx), %rdi
subq (%rbx), %rdi
je 0x2c7b8
shrq $0x3, %rdi
callq 0x29a86
movslq %eax, %rsi
movq (%rbx), %rcx
movq 0x8(%rbx), %rdx
movq %rdx, %rax
subq %rcx, %rax
sarq $0x3, %rax
cmpq %rsi, %rax
jbe 0x2c7ca
leaq (%rcx,%rsi,8), %rax
addq $0x8, %rax
movq -0x8(%rax), %r14
cmpq %rdx, %rax
je 0x2c7b1
leaq (%rcx,%rsi,8), %rdi
subq %rax, %rdx
movq %rax, %rsi
callq 0x75f0
addq $-0x8, 0x8(%rbx)
jmp 0x2c7bb
xorl %r14d, %r14d
movq %r14, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
leaq 0xa450(%rip), %rdi      # 0x36c21
movq %rax, %rdx
xorl %eax, %eax
callq 0x7530
nop
// File: /workspace/github_cpp_makefile_star2_O1/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 0x2c82c
movq %rdi, %r14
movq %rbx, %rdi
movq %r14, %rsi
callq 0x263c4
movq (%rsp), %rdi
callq 0x2361c
leaq 0x90(%r14), %rcx
addq $0x78, %r14
testl %eax, %eax
cmovneq %rcx, %r14
movq 0x8(%r14), %rsi
cmpq 0x10(%r14), %rsi
je 0x2c83a
movq (%rsp), %rax
movq %rax, (%rsi)
addq $0x8, 0x8(%r14)
jmp 0x2c845
leaq 0xb3c8(%rip), %rdi      # 0x37bfb
callq 0x7560
jmp 0x2c845
movq %rsp, %rdx
movq %r14, %rdi
callq 0x275b2
testq %rbx, %rbx
setne %al
addq $0x8, %rsp
popq %rbx
popq %r14
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/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 0x2cb34
movq %rbp, %rdi
movq %r13, %rsi
movq %r12, %rdx
movq %r15, %rcx
movl $0x1, %r8d
callq 0x2cb34
movq %rbp, %rdi
movq %r14, %rsi
callq 0x2ccb8
movq %rbp, %rdi
movq %rbx, %rsi
callq 0x2ce94
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 0x1b14c
// File: /workspace/github_cpp_makefile_star2_O1/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 0xafcb(%rip), %rsi      # 0x37b30
leaq 0xafd0(%rip), %rdx      # 0x37b3c
leaq 0x18(%rsp), %rbp
movq %rbp, %rdi
callq 0xa886
leaq 0x1cd88(%rip), %rsi     # 0x49908
leaq 0x38(%rsp), %rdi
movq %rbp, %rdx
callq 0x1007e
leaq 0xafa9(%rip), %rsi      # 0x37b3d
leaq 0x38(%rsp), %r13
movq %r13, %rdi
callq 0x7100
movl %eax, %ebp
movq (%r13), %rdi
leaq 0x48(%rsp), %rax
cmpq %rax, %rdi
je 0x2cbbe
movq 0x48(%rsp), %rsi
incq %rsi
callq 0x7390
movq 0x18(%rsp), %rdi
cmpq %r14, %rdi
je 0x2cbd5
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 0x2cc86
xorl %r14d, %r14d
testl %ebp, %ebp
je 0x2cc0d
movq (%r15), %rdx
movq %r12, %rdi
movq 0x8(%rsp), %rsi
callq 0x2e34e
movq (%r15), %rdx
movq %r12, %rdi
movq 0x10(%rsp), %rsi
callq 0x2e3e0
subl $0x1, %r14d
jae 0x2cc69
movl $0x1d, %edx
movq %rbx, %rdi
leaq 0xaf0f(%rip), %rsi      # 0x37b41
callq 0x7400
movq (%r15), %rdi
movq %rbx, %rsi
callq 0x266b8
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 0x2e472
addq $0x8, %r15
cmpq 0x8(%r12,%r13), %r15
jne 0x2cbf9
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 0x2ccaf
movq 0x28(%rsp), %rsi
incq %rsi
callq 0x7390
movq %rbx, %rdi
callq 0x76a0
nop