LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: 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
movq %rsp, %rbp
subq $0x60, %rsp
movq %rdi, -0x8(%rbp)
movl %esi, -0xc(%rbp)
movl %edx, -0x10(%rbp)
movq %rcx, -0x18(%rbp)
movl %r8d, -0x1c(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x48(%rbp)
movl -0xc(%rbp), %eax
cmpl -0x10(%rbp), %eax
jge 0x189ea
movl $0x1, %edi
callq 0x8230
movq %rax, %rdi
movq %rdi, %rax
movq %rax, -0x50(%rbp)
leaq 0x5e1e7(%rip), %rsi     # 0x76b9c
callq 0x12d90
jmp 0x189bc
movq -0x50(%rbp), %rdi
leaq 0x90001(%rip), %rsi     # 0xa89c8
xorl %eax, %eax
movl %eax, %edx
callq 0x8820
movq -0x50(%rbp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x28(%rbp)
movl %eax, -0x2c(%rbp)
callq 0x8370
jmp 0x18ad6
movslq -0xc(%rbp), %rax
movl $0x4, %ecx
mulq %rcx
movq %rax, %rdi
seto %cl
movq $-0x1, %rax
testb $0x1, %cl
cmovneq %rax, %rdi
callq 0x8040
movq %rax, -0x38(%rbp)
cmpq $0x0, -0x38(%rbp)
jne 0x18a1f
callq 0x136a0
movl $0x0, -0x30(%rbp)
movl -0x30(%rbp), %eax
cmpl -0xc(%rbp), %eax
jge 0x18a4a
movl -0x1c(%rbp), %edx
addl -0x30(%rbp), %edx
movq -0x38(%rbp), %rax
movslq -0x30(%rbp), %rcx
movl %edx, (%rax,%rcx,4)
movl -0x30(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x30(%rbp)
jmp 0x18a26
movl $0x0, -0x30(%rbp)
movl -0x30(%rbp), %eax
cmpl -0x10(%rbp), %eax
jge 0x18ab9
movq -0x48(%rbp), %rdi
movl -0x30(%rbp), %eax
movl %eax, -0x54(%rbp)
callq 0x13200
movl -0x54(%rbp), %eax
movl -0xc(%rbp), %ecx
subl -0x30(%rbp), %ecx
cvtsi2sd %ecx, %xmm1
mulsd %xmm1, %xmm0
cvttsd2si %xmm0, %ecx
addl %ecx, %eax
movl %eax, -0x3c(%rbp)
movq -0x38(%rbp), %rax
movslq -0x3c(%rbp), %rcx
movl (%rax,%rcx,4), %edx
movq -0x18(%rbp), %rax
movslq -0x30(%rbp), %rcx
movl %edx, (%rax,%rcx,4)
movq -0x38(%rbp), %rax
movslq -0x30(%rbp), %rcx
movl (%rax,%rcx,4), %edx
movq -0x38(%rbp), %rax
movslq -0x3c(%rbp), %rcx
movl %edx, (%rax,%rcx,4)
movl -0x30(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x30(%rbp)
jmp 0x18a51
movq -0x38(%rbp), %rax
movq %rax, -0x60(%rbp)
cmpq $0x0, %rax
je 0x18ad0
movq -0x60(%rbp), %rdi
callq 0x8640
addq $0x60, %rsp
popq %rbp
retq
movq -0x28(%rbp), %rdi
callq 0x8860
nop
// File: 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:
pushq %rbp
movq %rsp, %rbp
movq %rdi, -0x8(%rbp)
movl %esi, -0xc(%rbp)
movl $0x1, -0x10(%rbp)
movl -0x10(%rbp), %eax
movl %eax, -0x20(%rbp)
movl -0xc(%rbp), %eax
movl $0x9, %ecx
cltd
idivl %ecx
movl %eax, %ecx
movl -0x20(%rbp), %eax
cmpl %ecx, %eax
jg 0x18b1a
jmp 0x18b0e
imull $0x3, -0x10(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x10(%rbp)
jmp 0x18af2
jmp 0x18b1c
cmpl $0x0, -0x10(%rbp)
jle 0x18bd4
movl -0x10(%rbp), %eax
movl %eax, -0x14(%rbp)
movl -0x14(%rbp), %eax
cmpl -0xc(%rbp), %eax
jge 0x18bbf
movq -0x8(%rbp), %rax
movslq -0x14(%rbp), %rcx
movl (%rax,%rcx,4), %eax
movl %eax, -0x18(%rbp)
movl -0x14(%rbp), %eax
movl %eax, -0x1c(%rbp)
movl -0x1c(%rbp), %ecx
xorl %eax, %eax
cmpl -0x10(%rbp), %ecx
movb %al, -0x21(%rbp)
jl 0x18b72
movq -0x8(%rbp), %rax
movl -0x1c(%rbp), %ecx
subl -0x10(%rbp), %ecx
movslq %ecx, %rcx
movl (%rax,%rcx,4), %eax
cmpl -0x18(%rbp), %eax
setg %al
movb %al, -0x21(%rbp)
movb -0x21(%rbp), %al
testb $0x1, %al
jne 0x18b7b
jmp 0x18ba3
movq -0x8(%rbp), %rax
movl -0x1c(%rbp), %ecx
subl -0x10(%rbp), %ecx
movslq %ecx, %rcx
movl (%rax,%rcx,4), %edx
movq -0x8(%rbp), %rax
movslq -0x1c(%rbp), %rcx
movl %edx, (%rax,%rcx,4)
movl -0x10(%rbp), %ecx
movl -0x1c(%rbp), %eax
subl %ecx, %eax
movl %eax, -0x1c(%rbp)
jmp 0x18b4c
movl -0x18(%rbp), %edx
movq -0x8(%rbp), %rax
movslq -0x1c(%rbp), %rcx
movl %edx, (%rax,%rcx,4)
movl -0x14(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x14(%rbp)
jmp 0x18b2c
jmp 0x18bc1
movl -0x10(%rbp), %eax
movl $0x3, %ecx
cltd
idivl %ecx
movl %eax, -0x10(%rbp)
jmp 0x18b1c
popq %rbp
retq
nopw %cs:(%rax,%rax)
// File: 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 %rbp
movq %rsp, %rbp
subq $0x40, %rsp
movq %rdi, -0x10(%rbp)
movsd %xmm0, -0x18(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0x40(%rbp)
movsd -0x18(%rbp), %xmm0
xorps %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jne 0x18d05
jp 0x18d05
movl $0x0, -0x4(%rbp)
jmp 0x18d92
movsd -0x18(%rbp), %xmm0
movq %xmm0, %rax
movabsq $-0x8000000000000000, %rcx # imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm0
callq 0x8958
movq -0x40(%rbp), %rdi
movsd %xmm0, -0x20(%rbp)
movl $0x0, -0x24(%rbp)
callq 0x19e20
movsd %xmm0, -0x30(%rbp)
movsd -0x20(%rbp), %xmm0
movsd %xmm0, -0x38(%rbp)
movsd -0x38(%rbp), %xmm1
movsd -0x30(%rbp), %xmm0
ucomisd %xmm1, %xmm0
jbe 0x18d8c
movl -0x24(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x24(%rbp)
movsd -0x18(%rbp), %xmm0
cvtsi2sdl -0x24(%rbp), %xmm1
divsd %xmm1, %xmm0
mulsd -0x20(%rbp), %xmm0
movsd %xmm0, -0x20(%rbp)
movsd -0x20(%rbp), %xmm0
addsd -0x38(%rbp), %xmm0
movsd %xmm0, -0x38(%rbp)
jmp 0x18d4a
movl -0x24(%rbp), %eax
movl %eax, -0x4(%rbp)
movl -0x4(%rbp), %eax
addq $0x40, %rsp
popq %rbp
retq
nopl (%rax,%rax)
// File: 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:
pushq %rbp
movq %rsp, %rbp
subq $0x60, %rsp
movq %rdi, -0x10(%rbp)
movsd %xmm0, -0x18(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0x50(%rbp)
movsd 0x5d95f(%rip), %xmm0    # 0x76720
ucomisd -0x18(%rbp), %xmm0
jbe 0x18dde
movq -0x50(%rbp), %rdi
movsd -0x18(%rbp), %xmm0
callq 0x18cd0
movl %eax, -0x4(%rbp)
jmp 0x18f26
movq -0x50(%rbp), %rdi
cvttsd2si -0x18(%rbp), %eax
movl %eax, -0x1c(%rbp)
callq 0x19e20
movsd %xmm0, -0x28(%rbp)
cvtsi2sdl -0x1c(%rbp), %xmm0
movsd %xmm0, -0x60(%rbp)
movsd -0x18(%rbp), %xmm0
callq 0x8940
movaps %xmm0, %xmm2
movsd -0x60(%rbp), %xmm0
movsd -0x18(%rbp), %xmm1
movq %xmm1, %rax
movabsq $-0x8000000000000000, %rcx # imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm1
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
movsd %xmm0, -0x58(%rbp)
movl -0x1c(%rbp), %eax
addl $0x1, %eax
cvtsi2sd %eax, %xmm0
callq 0x14be0
movaps %xmm0, %xmm1
movsd -0x58(%rbp), %xmm0
subsd %xmm1, %xmm0
callq 0x8958
movsd %xmm0, -0x30(%rbp)
movsd -0x30(%rbp), %xmm0
ucomisd -0x28(%rbp), %xmm0
jbe 0x18e75
movl -0x1c(%rbp), %eax
movl %eax, -0x4(%rbp)
jmp 0x18f26
movl -0x1c(%rbp), %eax
movl %eax, -0x34(%rbp)
movl -0x1c(%rbp), %eax
movl %eax, -0x38(%rbp)
movsd -0x30(%rbp), %xmm0
movsd %xmm0, -0x40(%rbp)
movsd -0x30(%rbp), %xmm0
movsd %xmm0, -0x48(%rbp)
movl -0x34(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x34(%rbp)
movsd -0x18(%rbp), %xmm0
cvtsi2sdl -0x34(%rbp), %xmm1
divsd %xmm1, %xmm0
mulsd -0x30(%rbp), %xmm0
movsd %xmm0, -0x30(%rbp)
movsd -0x30(%rbp), %xmm0
addsd -0x48(%rbp), %xmm0
movsd %xmm0, -0x48(%rbp)
movsd -0x48(%rbp), %xmm0
ucomisd -0x28(%rbp), %xmm0
jbe 0x18ed9
movl -0x34(%rbp), %eax
movl %eax, -0x4(%rbp)
jmp 0x18f26
cmpl $0x0, -0x38(%rbp)
jle 0x18f21
cvtsi2sdl -0x38(%rbp), %xmm0
divsd -0x18(%rbp), %xmm0
mulsd -0x40(%rbp), %xmm0
movsd %xmm0, -0x40(%rbp)
movl -0x38(%rbp), %eax
addl $-0x1, %eax
movl %eax, -0x38(%rbp)
movsd -0x40(%rbp), %xmm0
addsd -0x48(%rbp), %xmm0
movsd %xmm0, -0x48(%rbp)
movsd -0x48(%rbp), %xmm0
ucomisd -0x28(%rbp), %xmm0
jbe 0x18f1f
movl -0x38(%rbp), %eax
movl %eax, -0x4(%rbp)
jmp 0x18f26
jmp 0x18f21
jmp 0x18e95
movl -0x4(%rbp), %eax
addq $0x60, %rsp
popq %rbp
retq
nop
// File: 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 %rbp
movq %rsp, %rbp
subq $0x60, %rsp
movq %rdi, -0x8(%rbp)
movsd %xmm0, -0x10(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x40(%rbp)
movsd 0x5d7df(%rip), %xmm0    # 0x76730
movsd %xmm0, -0x18(%rbp)
callq 0x19e20
movsd 0x5d7c5(%rip), %xmm1    # 0x76728
ucomisd %xmm1, %xmm0
jbe 0x1903e
movsd -0x10(%rbp), %xmm1
movsd 0x5d7b6(%rip), %xmm0    # 0x76730
subsd %xmm0, %xmm1
movsd 0x5d70a(%rip), %xmm0    # 0x76690
mulsd %xmm1, %xmm0
movsd %xmm0, -0x28(%rbp)
movsd -0x10(%rbp), %xmm0
movsd -0x10(%rbp), %xmm2
movsd -0x28(%rbp), %xmm1
movq %xmm1, %rax
movabsq $-0x8000000000000000, %rcx # imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm1
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
callq 0x8938
movsd %xmm0, -0x30(%rbp)
movsd -0x28(%rbp), %xmm0
movsd -0x10(%rbp), %xmm1
addsd -0x30(%rbp), %xmm1
divsd %xmm1, %xmm0
callq 0x8938
movq -0x40(%rbp), %rdi
movsd %xmm0, -0x38(%rbp)
addq $0x8, %rdi
callq 0x13830
movsd %xmm0, -0x48(%rbp)
movsd -0x38(%rbp), %xmm0
movsd %xmm0, -0x50(%rbp)
movsd -0x30(%rbp), %xmm0
callq 0x8938
movsd -0x50(%rbp), %xmm2
movaps %xmm0, %xmm1
movsd -0x48(%rbp), %xmm0
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
callq 0x19940
movsd 0x5d664(%rip), %xmm1    # 0x76690
addsd %xmm1, %xmm0
callq 0x8950
cvttsd2si %xmm0, %eax
movl %eax, -0x1c(%rbp)
jmp 0x19093
movq -0x40(%rbp), %rdi
addq $0x8, %rdi
callq 0x13830
movsd %xmm0, -0x58(%rbp)
movsd -0x10(%rbp), %xmm0
movsd 0x5d6d3(%rip), %xmm1    # 0x76730
subsd %xmm1, %xmm0
callq 0x8938
movaps %xmm0, %xmm2
movsd -0x58(%rbp), %xmm0
movsd -0x10(%rbp), %xmm1
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
movsd 0x5d60d(%rip), %xmm1    # 0x76690
addsd %xmm1, %xmm0
callq 0x8950
cvttsd2si %xmm0, %eax
movl %eax, -0x1c(%rbp)
cmpl $0x0, -0x1c(%rbp)
jge 0x190a0
xorl %eax, %eax
movl %eax, -0x5c(%rbp)
jmp 0x190a6
movl -0x1c(%rbp), %eax
movl %eax, -0x5c(%rbp)
movl -0x5c(%rbp), %eax
addq $0x60, %rsp
popq %rbp
retq
nop
// File: 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 %rbp
movq %rsp, %rbp
subq $0x50, %rsp
movq %rdi, -0x10(%rbp)
movsd %xmm0, -0x18(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0x38(%rbp)
xorps %xmm0, %xmm0
ucomisd -0x18(%rbp), %xmm0
jb 0x1913f
movsd -0x18(%rbp), %xmm0
xorps %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jne 0x190ef
jp 0x190ef
movl $0x0, -0x4(%rbp)
jmp 0x19238
movl $0x1, %edi
callq 0x8230
movq %rax, %rdi
movq %rdi, %rax
movq %rax, -0x40(%rbp)
leaq 0x5d929(%rip), %rsi     # 0x76a33
callq 0x12d90
jmp 0x19111
movq -0x40(%rbp), %rdi
leaq 0x8f8ac(%rip), %rsi     # 0xa89c8
xorl %eax, %eax
movl %eax, %edx
callq 0x8820
movq -0x40(%rbp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x20(%rbp)
movl %eax, -0x24(%rbp)
callq 0x8370
jmp 0x19241
movsd 0x5d5d9(%rip), %xmm0    # 0x76720
ucomisd -0x18(%rbp), %xmm0
jbe 0x19164
movq -0x38(%rbp), %rdi
movsd -0x18(%rbp), %xmm0
callq 0x18cd0
movl %eax, -0x4(%rbp)
jmp 0x19238
movsd 0x5d5a4(%rip), %xmm0    # 0x76710
ucomisd -0x18(%rbp), %xmm0
jbe 0x19189
movq -0x38(%rbp), %rdi
movsd -0x18(%rbp), %xmm0
callq 0x18da0
movl %eax, -0x4(%rbp)
jmp 0x19238
movsd 0x5d587(%rip), %xmm0    # 0x76718
ucomisd -0x18(%rbp), %xmm0
jbe 0x191d8
movq -0x38(%rbp), %rdi
addq $0x30, %rdi
callq 0x19e40
movq -0x38(%rbp), %rdi
cvttsd2si %xmm0, %eax
movl %eax, -0x28(%rbp)
movl -0x28(%rbp), %eax
movl %eax, -0x44(%rbp)
movsd -0x18(%rbp), %xmm0
movsd 0x5d54d(%rip), %xmm1    # 0x76710
subsd %xmm1, %xmm0
callq 0x18da0
movl %eax, %ecx
movl -0x44(%rbp), %eax
addl %ecx, %eax
movl %eax, -0x4(%rbp)
jmp 0x19238
movsd 0x5d558(%rip), %xmm0    # 0x76738
ucomisd -0x18(%rbp), %xmm0
jbe 0x19227
movq -0x38(%rbp), %rdi
addq $0x40, %rdi
callq 0x19e40
movq -0x38(%rbp), %rdi
cvttsd2si %xmm0, %eax
movl %eax, -0x2c(%rbp)
movl -0x2c(%rbp), %eax
movl %eax, -0x48(%rbp)
movsd -0x18(%rbp), %xmm0
movsd 0x5d506(%rip), %xmm1    # 0x76718
subsd %xmm1, %xmm0
callq 0x18da0
movl %eax, %ecx
movl -0x48(%rbp), %eax
addl %ecx, %eax
movl %eax, -0x4(%rbp)
jmp 0x19238
movq -0x38(%rbp), %rdi
movsd -0x18(%rbp), %xmm0
callq 0x18f30
movl %eax, -0x4(%rbp)
movl -0x4(%rbp), %eax
addq $0x50, %rsp
popq %rbp
retq
movq -0x20(%rbp), %rdi
callq 0x8860
nopw (%rax,%rax)
// File: 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 %rbp
movq %rsp, %rbp
subq $0x60, %rsp
movq %rdi, -0x10(%rbp)
movl %esi, -0x14(%rbp)
movsd %xmm0, -0x20(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0x58(%rbp)
movsd 0x5cd4c(%rip), %xmm0    # 0x76010
subsd -0x20(%rbp), %xmm0
movsd %xmm0, -0x28(%rbp)
movsd -0x28(%rbp), %xmm0
xorps %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jne 0x192e9
jp 0x192e9
movl -0x14(%rbp), %eax
movl %eax, -0x4(%rbp)
jmp 0x19391
movsd -0x20(%rbp), %xmm0
divsd -0x28(%rbp), %xmm0
movsd %xmm0, -0x30(%rbp)
movsd -0x28(%rbp), %xmm0
movl -0x14(%rbp), %edi
callq 0x19e60
movq -0x58(%rbp), %rdi
movsd %xmm0, -0x38(%rbp)
movsd -0x38(%rbp), %xmm0
movsd %xmm0, -0x40(%rbp)
callq 0x19e20
movsd %xmm0, -0x48(%rbp)
movl $0x0, -0x4c(%rbp)
movl -0x4c(%rbp), %eax
cmpl -0x14(%rbp), %eax
jg 0x1938a
movsd -0x40(%rbp), %xmm0
ucomisd -0x48(%rbp), %xmm0
jb 0x19345
movl -0x4c(%rbp), %eax
movl %eax, -0x4(%rbp)
jmp 0x19391
movsd -0x30(%rbp), %xmm0
movl -0x14(%rbp), %eax
subl -0x4c(%rbp), %eax
cvtsi2sd %eax, %xmm1
mulsd %xmm1, %xmm0
movl -0x4c(%rbp), %eax
addl $0x1, %eax
cvtsi2sd %eax, %xmm1
divsd %xmm1, %xmm0
mulsd -0x38(%rbp), %xmm0
movsd %xmm0, -0x38(%rbp)
movsd -0x38(%rbp), %xmm0
addsd -0x40(%rbp), %xmm0
movsd %xmm0, -0x40(%rbp)
movl -0x4c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x4c(%rbp)
jmp 0x19329
movl $0x0, -0x4(%rbp)
movl -0x4(%rbp), %eax
addq $0x60, %rsp
popq %rbp
retq
nopw (%rax,%rax)
// File: 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
movq %rsp, %rbp
subq $0x50, %rsp
movq %rdi, -0x10(%rbp)
movl %esi, -0x14(%rbp)
movsd %xmm0, -0x20(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0x40(%rbp)
movsd -0x20(%rbp), %xmm0
movsd 0x5d087(%rip), %xmm1    # 0x76690
ucomisd %xmm1, %xmm0
jbe 0x1963d
movq -0x40(%rbp), %rdi
movl -0x14(%rbp), %eax
movl %eax, -0x44(%rbp)
movl -0x14(%rbp), %esi
movsd 0x5c9ec(%rip), %xmm0    # 0x76010
subsd -0x20(%rbp), %xmm0
callq 0x195e0
movl %eax, %ecx
movl -0x44(%rbp), %eax
subl %ecx, %eax
movl %eax, -0x4(%rbp)
jmp 0x19720
cmpl $0x0, -0x14(%rbp)
jle 0x1964d
xorps %xmm0, %xmm0
ucomisd -0x20(%rbp), %xmm0
jb 0x196b3
cmpl $0x0, -0x14(%rbp)
jl 0x1965d
xorps %xmm0, %xmm0
ucomisd -0x20(%rbp), %xmm0
jbe 0x196aa
movl $0x1, %edi
callq 0x8230
movq %rax, %rdi
movq %rdi, %rax
movq %rax, -0x50(%rbp)
leaq 0x5d3bb(%rip), %rsi     # 0x76a33
callq 0x12d90
jmp 0x1967f
movq -0x50(%rbp), %rdi
leaq 0x8f33e(%rip), %rsi     # 0xa89c8
xorl %eax, %eax
movl %eax, %edx
callq 0x8820
movq -0x50(%rbp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x28(%rbp)
movl %eax, -0x2c(%rbp)
callq 0x8370
jmp 0x19729
movl $0x0, -0x4(%rbp)
jmp 0x19720
cvtsi2sdl -0x14(%rbp), %xmm0
mulsd -0x20(%rbp), %xmm0
movsd %xmm0, -0x38(%rbp)
movsd 0x5d056(%rip), %xmm0    # 0x76720
ucomisd -0x38(%rbp), %xmm0
jb 0x196e7
movq -0x40(%rbp), %rdi
movl -0x14(%rbp), %esi
movsd -0x20(%rbp), %xmm0
callq 0x192a0
movl %eax, -0x4(%rbp)
jmp 0x19720
movsd 0x5d029(%rip), %xmm0    # 0x76718
ucomisd -0x38(%rbp), %xmm0
jb 0x1970c
movq -0x40(%rbp), %rdi
movl -0x14(%rbp), %esi
movsd -0x20(%rbp), %xmm0
callq 0x193a0
movl %eax, -0x4(%rbp)
jmp 0x19720
movq -0x40(%rbp), %rdi
movl -0x14(%rbp), %esi
movsd -0x20(%rbp), %xmm0
callq 0x19740
movl %eax, -0x4(%rbp)
movl -0x4(%rbp), %eax
addq $0x50, %rsp
popq %rbp
retq
movq -0x28(%rbp), %rdi
callq 0x8860
nopw %cs:(%rax,%rax)
// File: 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 %rbp
movq %rsp, %rbp
subq $0x40, %rsp
movq %rdi, -0x8(%rbp)
movl %esi, -0xc(%rbp)
movsd %xmm0, -0x18(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x38(%rbp)
movsd 0x5cfcc(%rip), %xmm0    # 0x76730
movsd %xmm0, -0x20(%rbp)
cvtsi2sdl -0xc(%rbp), %xmm0
mulsd -0x18(%rbp), %xmm0
movsd %xmm0, -0x28(%rbp)
movsd -0x28(%rbp), %xmm0
movsd 0x5c88b(%rip), %xmm1    # 0x76010
subsd -0x18(%rbp), %xmm1
mulsd %xmm1, %xmm0
movsd 0x5cfaa(%rip), %xmm1    # 0x76740
addsd %xmm1, %xmm0
callq 0x8938
movq -0x38(%rbp), %rdi
movsd %xmm0, -0x30(%rbp)
addq $0x8, %rdi
callq 0x13830
movsd -0x30(%rbp), %xmm2
movsd -0x28(%rbp), %xmm1
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
movsd 0x5cec5(%rip), %xmm1    # 0x76690
addsd %xmm1, %xmm0
callq 0x8950
cvttsd2si %xmm0, %eax
addq $0x40, %rsp
popq %rbp
retq
nop
// File: 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 %rbp
movq %rsp, %rbp
subq $0x70, %rsp
movq %rdx, -0x60(%rbp)
movq %rsi, %rax
movq -0x60(%rbp), %rsi
movq %rdi, -0x58(%rbp)
movq %rdi, %rcx
movq %rcx, -0x50(%rbp)
movq %rdi, -0x8(%rbp)
movq %rax, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq -0x10(%rbp), %rdi
movq %rdi, -0x48(%rbp)
addq $0x58, %rdi
callq 0x2da60
movq -0x48(%rbp), %rdi
movq %rax, -0x20(%rbp)
addq $0x58, %rdi
callq 0x2c0f0
movq %rax, -0x28(%rbp)
leaq -0x20(%rbp), %rdi
leaq -0x28(%rbp), %rsi
callq 0x2da30
testb $0x1, %al
jne 0x1c1f3
jmp 0x1c238
leaq -0x29(%rbp), %rdi
movq %rdi, -0x68(%rbp)
callq 0x8870
movq -0x58(%rbp), %rdi
movq -0x68(%rbp), %rdx
leaq 0x5b0af(%rip), %rsi     # 0x772be
callq 0xcb30
jmp 0x1c216
leaq -0x29(%rbp), %rdi
callq 0x8540
jmp 0x1c255
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
leaq -0x29(%rbp), %rdi
callq 0x8540
jmp 0x1c25f
movq -0x60(%rbp), %rsi
movq -0x48(%rbp), %rdi
addq $0x58, %rdi
callq 0x2b1e0
movq -0x58(%rbp), %rdi
movq %rax, %rsi
callq 0x81f0
movq -0x50(%rbp), %rax
addq $0x70, %rsp
popq %rbp
retq
movq -0x38(%rbp), %rdi
callq 0x8860
nopl (%rax,%rax)
// File: melop[P]admixem/./spline.h
// Function: (anonymous namespace)::tk::spline::set_boundary((anonymous namespace)::tk::spline::bd_type, double, (anonymous namespace)::tk::spline::bd_type, double, bool)
void spline::set_boundary(spline::bd_type left, double left_value,
                          spline::bd_type right, double right_value,
                          bool force_linear_extrapolation)
{
    assert(m_x.size()==0);          // set_points() must not have happened yet
    m_left=left;
    m_right=right;
    m_left_value=left_value;
    m_right_value=right_value;
    m_force_linear_extrapolation=force_linear_extrapolation;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x40, %rsp
movb %cl, %al
movq %rdi, -0x8(%rbp)
movl %esi, -0xc(%rbp)
movsd %xmm0, -0x18(%rbp)
movl %edx, -0x1c(%rbp)
movsd %xmm1, -0x28(%rbp)
andb $0x1, %al
movb %al, -0x29(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x38(%rbp)
callq 0x2a780
cmpq $0x0, %rax
jne 0x1f2a8
jmp 0x1f2c7
leaq 0x5874b(%rip), %rdi     # 0x779fa
leaq 0x58752(%rip), %rsi     # 0x77a08
movl $0x113, %edx            # imm = 0x113
leaq 0x58751(%rip), %rcx     # 0x77a13
callq 0x8300
movq -0x38(%rbp), %rax
movl -0xc(%rbp), %ecx
movl %ecx, 0x88(%rax)
movl -0x1c(%rbp), %ecx
movl %ecx, 0x8c(%rax)
movsd -0x18(%rbp), %xmm0
movsd %xmm0, 0x90(%rax)
movsd -0x28(%rbp), %xmm0
movsd %xmm0, 0x98(%rax)
movb -0x29(%rbp), %cl
andb $0x1, %cl
movb %cl, 0xa0(%rax)
addq $0x40, %rsp
popq %rbp
retq
nopl (%rax)
// File: 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 %rbp
movq %rsp, %rbp
subq $0x60, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x50(%rbp)
movq -0x10(%rbp), %rax
movl 0x48(%rax), %eax
movl %eax, 0x48(%rdi)
movq -0x10(%rbp), %rax
movsd 0x38(%rax), %xmm0
movsd %xmm0, 0x38(%rdi)
movq -0x10(%rbp), %rax
movsd 0x40(%rax), %xmm0
movsd %xmm0, 0x40(%rdi)
movq -0x10(%rbp), %rax
movb 0x20(%rax), %al
movb %al, 0x20(%rdi)
movq -0x10(%rbp), %rax
movsd 0x28(%rax), %xmm0
movsd %xmm0, 0x28(%rdi)
movq -0x10(%rbp), %rsi
callq 0x8070
movq -0x50(%rbp), %rdi
movq -0x10(%rbp), %rax
movsd 0x58(%rax), %xmm0
movsd %xmm0, 0x58(%rdi)
movq -0x10(%rbp), %rax
movsd 0x50(%rax), %xmm0
movsd %xmm0, 0x50(%rdi)
movq -0x10(%rbp), %rax
movb 0x21(%rax), %al
movb %al, 0x21(%rdi)
movq -0x10(%rbp), %rax
movsd 0x30(%rax), %xmm0
movsd %xmm0, 0x30(%rdi)
movq -0x10(%rbp), %rsi
addq $0x70, %rsi
addq $0x70, %rdi
callq 0x8070
movq -0x50(%rbp), %rax
movq -0x10(%rbp), %rcx
movsd 0x60(%rcx), %xmm0
movsd %xmm0, 0x60(%rax)
movl $0x98, %edi
callq 0x84c0
movq %rax, %rdi
movq %rdi, %rax
movq %rax, -0x48(%rbp)
movq -0x10(%rbp), %rsi
addq $0x70, %rsi
callq 0x2b2c0
jmp 0x26c0d
movq -0x50(%rbp), %rax
movq -0x48(%rbp), %rcx
movq %rcx, 0x68(%rax)
movq -0x10(%rbp), %rcx
movl 0xc0(%rcx), %ecx
movl %ecx, 0xc0(%rax)
movq -0x10(%rbp), %rcx
movl 0xc4(%rcx), %ecx
movl %ecx, 0xc4(%rax)
movq -0x10(%rbp), %rdi
addq $0x90, %rdi
callq 0x2d6e0
movq %rax, -0x28(%rbp)
movq -0x10(%rbp), %rdi
addq $0x90, %rdi
callq 0x2d740
movq %rax, -0x30(%rbp)
leaq -0x28(%rbp), %rdi
leaq -0x30(%rbp), %rsi
callq 0x2d710
testb $0x1, %al
jne 0x26c74
jmp 0x26cc5
movq -0x50(%rbp), %rax
addq $0x90, %rax
movq %rax, -0x58(%rbp)
leaq -0x28(%rbp), %rdi
callq 0x2d770
movq -0x58(%rbp), %rdi
movq %rax, %rsi
callq 0x2cf70
movq %rax, -0x40(%rbp)
movb %dl, -0x38(%rbp)
leaq -0x28(%rbp), %rdi
callq 0x2d790
jmp 0x26c4d
movq -0x48(%rbp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x18(%rbp)
movl %eax, -0x1c(%rbp)
movl $0x98, %esi
callq 0x84d0
jmp 0x26ccf
movq -0x50(%rbp), %rax
addq $0x60, %rsp
popq %rbp
retq
movq -0x18(%rbp), %rdi
callq 0x8860
nopl (%rax,%rax)
// File: 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
movq %rsp, %rbp
subq $0x90, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x70(%rbp)
leaq 0x4f628(%rip), %rdi     # 0x77326
leaq 0x4fcc3(%rip), %rsi     # 0x779c8
movb $0x0, %al
callq 0x8080
movq -0x70(%rbp), %rdi
addq $0x58, %rdi
callq 0x2c090
movq %rax, -0x10(%rbp)
movq -0x70(%rbp), %rdi
addq $0x58, %rdi
callq 0x2c0f0
movq %rax, -0x18(%rbp)
leaq -0x10(%rbp), %rdi
leaq -0x18(%rbp), %rsi
callq 0x2c0c0
testb $0x1, %al
jne 0x27d44
jmp 0x27e0d
leaq -0x10(%rbp), %rdi
movq %rdi, -0x78(%rbp)
callq 0x2c120
movq %rax, %rsi
leaq -0x38(%rbp), %rdi
callq 0x81f0
movq -0x78(%rbp), %rdi
callq 0x2c120
movq %rax, %rsi
addq $0x20, %rsi
leaq -0x58(%rbp), %rdi
callq 0x81f0
jmp 0x27d78
leaq -0x58(%rbp), %rdi
callq 0x81d0
movq %rax, %rdi
xorl %eax, %eax
movl %eax, %esi
callq 0x8390
movq -0x70(%rbp), %rdi
movsd %xmm0, -0x88(%rbp)
addq $0x88, %rdi
leaq -0x38(%rbp), %rsi
callq 0xca50
movq %rax, -0x80(%rbp)
jmp 0x27daf
movq -0x80(%rbp), %rax
movsd -0x88(%rbp), %xmm0
movsd %xmm0, (%rax)
leaq -0x58(%rbp), %rdi
callq 0x82e0
leaq -0x38(%rbp), %rdi
callq 0x82e0
leaq -0x10(%rbp), %rdi
callq 0x2c140
jmp 0x27d1d
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x60(%rbp)
movl %eax, -0x64(%rbp)
jmp 0x27e02
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x60(%rbp)
movl %eax, -0x64(%rbp)
leaq -0x58(%rbp), %rdi
callq 0x82e0
leaq -0x38(%rbp), %rdi
callq 0x82e0
jmp 0x27e2b
leaq 0x4f512(%rip), %rdi     # 0x77326
leaq 0x4fbd2(%rip), %rsi     # 0x779ed
movb $0x0, %al
callq 0x8080
addq $0x90, %rsp
popq %rbp
retq
movq -0x60(%rbp), %rdi
callq 0x8860
nopw %cs:(%rax,%rax)
// File: 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 %rbp
movq %rsp, %rbp
subq $0x40, %rsp
movq %rsi, -0x38(%rbp)
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq -0x10(%rbp), %rdi
movq %rdi, -0x30(%rbp)
addq $0x88, %rdi
callq 0x2da90
movq -0x30(%rbp), %rdi
movq %rax, -0x20(%rbp)
addq $0x88, %rdi
callq 0x107a0
movq %rax, -0x28(%rbp)
leaq -0x20(%rbp), %rdi
leaq -0x28(%rbp), %rsi
callq 0x10770
testb $0x1, %al
jne 0x27e93
jmp 0x27ea2
movsd 0x4e7fd(%rip), %xmm0    # 0x76698
movsd %xmm0, -0x8(%rbp)
jmp 0x27ebf
movq -0x38(%rbp), %rsi
movq -0x30(%rbp), %rdi
addq $0x88, %rdi
callq 0xca50
movsd (%rax), %xmm0
movsd %xmm0, -0x8(%rbp)
movsd -0x8(%rbp), %xmm0
addq $0x40, %rsp
popq %rbp
retq
nopw (%rax,%rax)
// File: melop[P]admixem/config.cpp
// Function: SimulationConfigurations::IsInUserSpecifiedSamplingRange(int)
bool SimulationConfigurations::IsInUserSpecifiedSamplingRange(int nGen) {
	if ( (this->_mvSampleGens.size()) == 0) {
		return false; // user didn't specify any generations to sample, return false by default.
	}

	for(std::vector< std::pair< int, int > >::iterator it = this->_mvSampleGens.begin(); it != this->_mvSampleGens.end(); ++it) {
		int nBegin = it->first;
		int nEnd = it->second;
		if (nGen >= nBegin && nGen <= nEnd)
		{
			return true;
		}
	}

	return false;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x40, %rsp
movq %rdi, -0x10(%rbp)
movl %esi, -0x14(%rbp)
movq -0x10(%rbp), %rdi
movq %rdi, -0x38(%rbp)
addq $0xb8, %rdi
callq 0x2d930
cmpq $0x0, %rax
jne 0x281df
movb $0x0, -0x1(%rbp)
jmp 0x2825e
movq -0x38(%rbp), %rdi
addq $0xb8, %rdi
callq 0x2d950
movq %rax, -0x20(%rbp)
movq -0x38(%rbp), %rdi
addq $0xb8, %rdi
callq 0x2d9c0
movq %rax, -0x28(%rbp)
leaq -0x20(%rbp), %rdi
leaq -0x28(%rbp), %rsi
callq 0x2d980
testb $0x1, %al
jne 0x2821a
jmp 0x2825a
leaq -0x20(%rbp), %rdi
callq 0x2d9f0
movl (%rax), %eax
movl %eax, -0x2c(%rbp)
leaq -0x20(%rbp), %rdi
callq 0x2d9f0
movl 0x4(%rax), %eax
movl %eax, -0x30(%rbp)
movl -0x14(%rbp), %eax
cmpl -0x2c(%rbp), %eax
jl 0x2824d
movl -0x14(%rbp), %eax
cmpl -0x30(%rbp), %eax
jg 0x2824d
movb $0x1, -0x1(%rbp)
jmp 0x2825e
jmp 0x2824f
leaq -0x20(%rbp), %rdi
callq 0x2da10
jmp 0x281f3
movb $0x0, -0x1(%rbp)
movb -0x1(%rbp), %al
andb $0x1, %al
addq $0x40, %rsp
popq %rbp
retq
nopl (%rax)
// File: 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 %rbp
movq %rsp, %rbp
subq $0x40, %rsp
movq %rdi, -0x10(%rbp)
movl %esi, -0x14(%rbp)
movl %edx, -0x18(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0x28(%rbp)
movl -0x18(%rbp), %eax
subl -0x14(%rbp), %eax
movl %eax, -0x1c(%rbp)
xorl %eax, %eax
cmpl $0x0, -0x14(%rbp)
movb %al, -0x1d(%rbp)
jl 0x284d2
movq -0x28(%rbp), %rdi
movl -0x14(%rbp), %eax
movl %eax, -0x2c(%rbp)
callq 0x288c0
movl -0x2c(%rbp), %ecx
movl %eax, %edx
xorl %eax, %eax
cmpl %edx, %ecx
movb %al, -0x1d(%rbp)
jge 0x284d2
xorl %eax, %eax
cmpl $0x0, -0x18(%rbp)
movb %al, -0x1d(%rbp)
jl 0x284d2
movq -0x28(%rbp), %rdi
movl -0x18(%rbp), %eax
movl %eax, -0x30(%rbp)
callq 0x288c0
movl %eax, %ecx
movl -0x30(%rbp), %eax
cmpl %ecx, %eax
setl %al
movb %al, -0x1d(%rbp)
movb -0x1d(%rbp), %al
testb $0x1, %al
jne 0x284db
jmp 0x284dd
jmp 0x284fc
leaq 0x4f6e5(%rip), %rdi     # 0x77bc9
leaq 0x4f51d(%rip), %rsi     # 0x77a08
movl $0x9f, %edx
leaq 0x4f6fd(%rip), %rcx     # 0x77bf4
callq 0x8300
movq -0x28(%rbp), %rdi
callq 0x28910
xorl %ecx, %ecx
subl %eax, %ecx
xorl %eax, %eax
cmpl -0x1c(%rbp), %ecx
movb %al, -0x31(%rbp)
jg 0x2852f
movq -0x28(%rbp), %rdi
movl -0x1c(%rbp), %eax
movl %eax, -0x38(%rbp)
callq 0x28940
movl %eax, %ecx
movl -0x38(%rbp), %eax
cmpl %ecx, %eax
setle %al
movb %al, -0x31(%rbp)
movb -0x31(%rbp), %al
testb $0x1, %al
jne 0x28538
jmp 0x2853a
jmp 0x28559
leaq 0x4f6f8(%rip), %rdi     # 0x77c39
leaq 0x4f4c0(%rip), %rsi     # 0x77a08
movl $0xa0, %edx
leaq 0x4f6a0(%rip), %rcx     # 0x77bf4
callq 0x8300
cmpl $0x0, -0x1c(%rbp)
jl 0x2857e
movq -0x28(%rbp), %rdi
movslq -0x1c(%rbp), %rsi
callq 0x2f8d0
movq %rax, %rdi
movslq -0x14(%rbp), %rsi
callq 0x2eb30
movq %rax, -0x8(%rbp)
jmp 0x285a3
movq -0x28(%rbp), %rdi
addq $0x18, %rdi
xorl %eax, %eax
subl -0x1c(%rbp), %eax
movslq %eax, %rsi
callq 0x2f8d0
movq %rax, %rdi
movslq -0x14(%rbp), %rsi
callq 0x2eb30
movq %rax, -0x8(%rbp)
movq -0x8(%rbp), %rax
addq $0x40, %rsp
popq %rbp
retq
nopl (%rax)
// File: melop[P]admixem/./spline.h
// Function: (anonymous namespace)::tk::band_matrix::lu_solve(std::vector<double, std::allocator<double>> const&, bool)
std::vector<double> band_matrix::lu_solve(const std::vector<double>& b,
        bool is_lu_decomposed)
{
    assert( this->dim()==(int)b.size() );
    std::vector<double>  x,y;
    if(is_lu_decomposed==false) {
        this->lu_decompose();
    }
    y=this->l_solve(b);
    x=this->r_solve(y);
    return x;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0xb0, %rsp
movq %rdi, -0x98(%rbp)
movb %cl, %al
movq %rdi, %rcx
movq %rcx, -0x90(%rbp)
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
andb $0x1, %al
movb %al, -0x19(%rbp)
movq -0x10(%rbp), %rdi
movq %rdi, -0x88(%rbp)
callq 0x288c0
movl %eax, -0x7c(%rbp)
movq -0x18(%rbp), %rdi
callq 0x2a780
movq %rax, %rcx
movl -0x7c(%rbp), %eax
cmpl %ecx, %eax
jne 0x28607
jmp 0x28626
leaq 0x4f651(%rip), %rdi     # 0x77c5f
leaq 0x4f3f3(%rip), %rsi     # 0x77a08
movl $0xff, %edx
leaq 0x4f659(%rip), %rcx     # 0x77c7a
callq 0x8300
movq -0x98(%rbp), %rdi
movb $0x0, -0x1a(%rbp)
callq 0x2ad80
leaq -0x38(%rbp), %rdi
callq 0x2ad80
movb -0x19(%rbp), %al
andb $0x1, %al
movzbl %al, %eax
cmpl $0x0, %eax
jne 0x28682
movq -0x88(%rbp), %rdi
callq 0x28960
jmp 0x2865a
jmp 0x28682
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
leaq -0x38(%rbp), %rdi
callq 0x2aff0
movq -0x98(%rbp), %rdi
callq 0x2aff0
jmp 0x28720
movq -0x88(%rbp), %rsi
movq -0x18(%rbp), %rdx
leaq -0x60(%rbp), %rdi
callq 0x28d50
jmp 0x28698
leaq -0x38(%rbp), %rdi
movq %rdi, -0xa0(%rbp)
leaq -0x60(%rbp), %rsi
movq %rsi, -0xa8(%rbp)
callq 0x2ec20
movq -0xa8(%rbp), %rdi
callq 0x2aff0
movq -0x88(%rbp), %rsi
movq -0xa0(%rbp), %rdx
leaq -0x78(%rbp), %rdi
callq 0x28fa0
jmp 0x286d8
movq -0x98(%rbp), %rdi
leaq -0x78(%rbp), %rsi
callq 0x2ec20
leaq -0x78(%rbp), %rdi
callq 0x2aff0
movb $0x1, -0x1a(%rbp)
leaq -0x38(%rbp), %rdi
callq 0x2aff0
testb $0x1, -0x1a(%rbp)
jne 0x28710
movq -0x98(%rbp), %rdi
callq 0x2aff0
movq -0x90(%rbp), %rax
addq $0xb0, %rsp
popq %rbp
retq
movq -0x40(%rbp), %rdi
callq 0x8860
nopl (%rax)
// File: melop[P]admixem/./spline.h
// Function: (anonymous namespace)::tk::band_matrix::resize(int, int, int)
void band_matrix::resize(int dim, int n_u, int n_l)
{
    assert(dim>0);
    assert(n_u>=0);
    assert(n_l>=0);
    m_upper.resize(n_u+1);
    m_lower.resize(n_l+1);
    for(size_t i=0; i<m_upper.size(); i++) {
        m_upper[i].resize(dim);
    }
    for(size_t i=0; i<m_lower.size(); i++) {
        m_lower[i].resize(dim);
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x40, %rsp
movq %rdi, -0x8(%rbp)
movl %esi, -0xc(%rbp)
movl %edx, -0x10(%rbp)
movl %ecx, -0x14(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x30(%rbp)
cmpl $0x0, -0xc(%rbp)
jle 0x28785
jmp 0x287a4
leaq 0x4f39b(%rip), %rdi     # 0x77b27
leaq 0x4f275(%rip), %rsi     # 0x77a08
movl $0x84, %edx
leaq 0x4f38e(%rip), %rcx     # 0x77b2d
callq 0x8300
cmpl $0x0, -0x10(%rbp)
jl 0x287ac
jmp 0x287cb
leaq 0x4f3bd(%rip), %rdi     # 0x77b70
leaq 0x4f24e(%rip), %rsi     # 0x77a08
movl $0x85, %edx
leaq 0x4f367(%rip), %rcx     # 0x77b2d
callq 0x8300
cmpl $0x0, -0x14(%rbp)
jl 0x287d3
jmp 0x287f2
leaq 0x4f39d(%rip), %rdi     # 0x77b77
leaq 0x4f227(%rip), %rsi     # 0x77a08
movl $0x86, %edx
leaq 0x4f340(%rip), %rcx     # 0x77b2d
callq 0x8300
movq -0x30(%rbp), %rdi
movl -0x10(%rbp), %eax
addl $0x1, %eax
movslq %eax, %rsi
callq 0x2f810
movq -0x30(%rbp), %rdi
addq $0x18, %rdi
movl -0x14(%rbp), %eax
addl $0x1, %eax
movslq %eax, %rsi
callq 0x2f810
movq $0x0, -0x20(%rbp)
movq -0x30(%rbp), %rdi
movq -0x20(%rbp), %rax
movq %rax, -0x38(%rbp)
callq 0x2f8a0
movq %rax, %rcx
movq -0x38(%rbp), %rax
cmpq %rcx, %rax
jae 0x28866
movq -0x30(%rbp), %rdi
movq -0x20(%rbp), %rsi
callq 0x2f8d0
movq %rax, %rdi
movslq -0xc(%rbp), %rsi
callq 0x2ec50
movq -0x20(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x20(%rbp)
jmp 0x28822
movq $0x0, -0x28(%rbp)
movq -0x30(%rbp), %rdi
movq -0x28(%rbp), %rax
movq %rax, -0x40(%rbp)
addq $0x18, %rdi
callq 0x2f8a0
movq %rax, %rcx
movq -0x40(%rbp), %rax
cmpq %rcx, %rax
jae 0x288ba
movq -0x30(%rbp), %rdi
addq $0x18, %rdi
movq -0x28(%rbp), %rsi
callq 0x2f8d0
movq %rax, %rdi
movslq -0xc(%rbp), %rsi
callq 0x2ec50
movq -0x28(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x28(%rbp)
jmp 0x2886e
addq $0x40, %rsp
popq %rbp
retq
// File: 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
movq %rsp, %rbp
subq $0xd0, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x90(%rbp)
movq %rdi, %rax
movq %rax, -0xa0(%rbp)
movq -0x10(%rbp), %rsi
callq 0x81f0
movq -0x90(%rbp), %rdi
addq $0x38, %rdi
movq %rdi, -0x98(%rbp)
callq 0x86b0
movq -0x90(%rbp), %rdi
addq $0x68, %rdi
movq %rdi, -0x88(%rbp)
movq %rdi, %rax
movq %rax, -0x80(%rbp)
callq 0x2d7c0
leaq -0x31(%rbp), %rdi
movq %rdi, -0x78(%rbp)
callq 0x8870
movq -0x78(%rbp), %rdx
leaq 0x4cbc7(%rip), %rsi     # 0x77f05
leaq -0x30(%rbp), %rdi
callq 0xcb30
jmp 0x2b349
movq -0x88(%rbp), %rdi
leaq -0x30(%rbp), %rsi
callq 0x31840
movq %rax, -0xa8(%rbp)
jmp 0x2b362
movq -0xa8(%rbp), %rax
movabsq $0x400921fb54442d18, %rcx # imm = 0x400921FB54442D18
movq %rcx, (%rax)
leaq -0x30(%rbp), %rdi
callq 0x82e0
leaq -0x31(%rbp), %rdi
callq 0x8540
movq -0xa0(%rbp), %rax
addq $0x68, %rax
movq %rax, -0xb8(%rbp)
leaq -0x69(%rbp), %rdi
movq %rdi, -0xb0(%rbp)
callq 0x8870
movq -0xb0(%rbp), %rdx
leaq 0x4b81a(%rip), %rsi     # 0x76bd2
leaq -0x68(%rbp), %rdi
callq 0xcb30
jmp 0x2b3c3
movq -0xb8(%rbp), %rdi
leaq -0x68(%rbp), %rsi
callq 0x31840
movq %rax, -0xc0(%rbp)
jmp 0x2b3dc
movq -0xc0(%rbp), %rax
movabsq $0x4005bf0a8b145769, %rcx # imm = 0x4005BF0A8B145769
movq %rcx, (%rax)
leaq -0x68(%rbp), %rdi
callq 0x82e0
leaq -0x69(%rbp), %rdi
callq 0x8540
movq -0x10(%rbp), %rdi
leaq 0x4e230(%rip), %rsi     # 0x7963d
callq 0xcbe0
movb %al, -0xc1(%rbp)
jmp 0x2b41a
movq -0xa0(%rbp), %rax
movb -0xc1(%rbp), %cl
andb $0x1, %cl
movb %cl, 0x60(%rax)
movq -0x10(%rbp), %rdi
leaq 0x4c8c3(%rip), %rsi     # 0x77cfb
callq 0xcbe0
movb %al, -0xc2(%rbp)
jmp 0x2b445
movq -0xa0(%rbp), %rax
movb -0xc2(%rbp), %cl
andb $0x1, %cl
movb %cl, 0x61(%rax)
addq $0xd0, %rsp
popq %rbp
retq
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
jmp 0x2b484
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
leaq -0x30(%rbp), %rdi
callq 0x82e0
leaq -0x31(%rbp), %rdi
callq 0x8540
jmp 0x2b4c9
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
jmp 0x2b4b2
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
leaq -0x68(%rbp), %rdi
callq 0x82e0
leaq -0x69(%rbp), %rdi
callq 0x8540
jmp 0x2b4c9
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
movq -0x80(%rbp), %rdi
callq 0x2d860
movq -0x98(%rbp), %rdi
callq 0x82e0
movq -0x90(%rbp), %rdi
callq 0x82e0
movq -0x40(%rbp), %rdi
callq 0x8860
nopw %cs:(%rax,%rax)
nopl (%rax)
// File: 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
movq %rsp, %rbp
subq $0xb0, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x78(%rbp)
movl $0x0, -0xc(%rbp)
cmpl $0x0, 0x28(%rax)
jne 0x56904
movq -0x78(%rbp), %rax
movl $0x7fffffff, 0x40(%rax) # imm = 0x7FFFFFFF
jmp 0x56a2a
leaq -0x31(%rbp), %rdi
movq %rdi, -0x80(%rbp)
callq 0x8870
movq -0x80(%rbp), %rdx
leaq 0x216b4(%rip), %rsi     # 0x77fd0
leaq -0x30(%rbp), %rdi
callq 0xcb30
jmp 0x56927
leaq 0x5412a(%rip), %rdi     # 0xaaa58
leaq -0x30(%rbp), %rsi
callq 0x27e40
movsd %xmm0, -0x88(%rbp)
jmp 0x56941
movsd -0x88(%rbp), %xmm0
cvttsd2si %xmm0, %eax
movl %eax, -0x94(%rbp)
leaq -0x30(%rbp), %rdi
callq 0x82e0
leaq -0x31(%rbp), %rdi
callq 0x8540
movl -0x94(%rbp), %eax
movl %eax, -0x10(%rbp)
leaq -0x69(%rbp), %rdi
movq %rdi, -0x90(%rbp)
callq 0x8870
movq -0x90(%rbp), %rdx
leaq 0x21656(%rip), %rsi     # 0x77fe2
leaq -0x68(%rbp), %rdi
callq 0xcb30
jmp 0x56997
leaq 0x540ba(%rip), %rdi     # 0xaaa58
leaq -0x68(%rbp), %rsi
callq 0x27e40
movsd %xmm0, -0xa0(%rbp)
jmp 0x569b1
movsd -0xa0(%rbp), %xmm0
cvttsd2si %xmm0, %eax
movl %eax, -0xac(%rbp)
leaq -0x68(%rbp), %rdi
callq 0x82e0
leaq -0x69(%rbp), %rdi
callq 0x8540
movl -0xac(%rbp), %eax
movl %eax, -0x48(%rbp)
cvtsi2sdl -0x48(%rbp), %xmm0
movsd %xmm0, -0xa8(%rbp)
movslq -0xc(%rbp), %rsi
leaq 0x541d2(%rip), %rdi     # 0xaabc8
callq 0x5bac0
movq (%rax), %rdi
movq (%rdi), %rax
movq (%rax), %rax
callq *%rax
movq -0x78(%rbp), %rax
movaps %xmm0, %xmm2
movsd -0xa8(%rbp), %xmm0
cvtsi2sdl -0x10(%rbp), %xmm1
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
cvttsd2si %xmm0, %rcx
movl %ecx, 0x40(%rax)
addq $0xb0, %rsp
popq %rbp
retq
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
jmp 0x56a56
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
leaq -0x30(%rbp), %rdi
callq 0x82e0
leaq -0x31(%rbp), %rdi
callq 0x8540
jmp 0x56a8d
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
jmp 0x56a84
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
leaq -0x68(%rbp), %rdi
callq 0x82e0
leaq -0x69(%rbp), %rdi
callq 0x8540
movq -0x40(%rbp), %rdi
callq 0x8860
nopw %cs:(%rax,%rax)
// File: 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 %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x20(%rbp)
cmpl $0x0, 0x28(%rax)
je 0x58755
movl $0x8, %edi
callq 0x8230
movq %rax, %rdi
leaq 0x1f8bf(%rip), %rax     # 0x78001
movq %rax, (%rdi)
movq 0x517fc(%rip), %rsi     # 0xa9f48
xorl %eax, %eax
movl %eax, %edx
callq 0x8820
leaq 0x522fc(%rip), %rdi     # 0xaaa58
callq 0x282f0
movl %eax, -0x14(%rbp)
leaq 0x522ed(%rip), %rax     # 0xaaa58
movq 0x28(%rax), %rdi
movl -0x14(%rbp), %esi
callq 0x257a0
movq -0x20(%rbp), %rsi
andb $0x1, %al
movb %al, -0x15(%rbp)
movq -0x10(%rbp), %rdi
movb -0x15(%rbp), %al
andb $0x1, %al
movzbl %al, %edx
callq 0x587a0
cmpl $0x0, %eax
setne %al
andb $0x1, %al
addq $0x20, %rsp
popq %rbp
retq
nop
// File: 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
movq %rsp, %rbp
subq $0x50, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movl %edx, -0x14(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x38(%rbp)
movl -0x14(%rbp), %eax
movl %eax, -0x18(%rbp)
movq -0x38(%rbp), %rdi
movslq -0x18(%rbp), %rax
movq %rax, -0x40(%rbp)
addq $0x110, %rdi            # imm = 0x110
callq 0x5bf20
movq %rax, %rcx
movq -0x40(%rbp), %rax
cmpq %rcx, %rax
jae 0x5b218
movq -0x38(%rbp), %rdi
addq $0x110, %rdi            # imm = 0x110
movslq -0x18(%rbp), %rsi
callq 0x5c080
movq %rax, -0x20(%rbp)
movq -0x10(%rbp), %rdi
movl $0xffffffff, %esi       # imm = 0xFFFFFFFF
callq 0x8840
movq %rax, %rdi
movl $0x9, %esi
callq 0x85d0
movq -0x20(%rbp), %rdi
callq 0x5c6b0
movq %rax, -0x28(%rbp)
movq -0x20(%rbp), %rdi
callq 0x5c8e0
movq %rax, -0x30(%rbp)
leaq -0x28(%rbp), %rdi
leaq -0x30(%rbp), %rsi
callq 0x5c8a0
testb $0x1, %al
jne 0x5b1b9
jmp 0x5b208
movq -0x10(%rbp), %rax
movq %rax, -0x50(%rbp)
leaq -0x28(%rbp), %rdi
callq 0x5c910
movq -0x50(%rbp), %rdi
movsbl 0x1(%rax), %esi
callq 0x85d0
movq %rax, -0x48(%rbp)
leaq -0x28(%rbp), %rdi
callq 0x5c910
movq -0x48(%rbp), %rdi
movsbl (%rax), %esi
callq 0x85d0
movq %rax, %rdi
movl $0x9, %esi
callq 0x85d0
leaq -0x28(%rbp), %rdi
callq 0x5c930
jmp 0x5b199
jmp 0x5b20a
movl -0x18(%rbp), %eax
addl $0x2, %eax
movl %eax, -0x18(%rbp)
jmp 0x5b131
addq $0x50, %rsp
popq %rbp
retq
nop
// File: 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
movq %rsp, %rbp
subq $0x60, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movl %edx, -0x14(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x38(%rbp)
movl -0x14(%rbp), %eax
movl %eax, -0x18(%rbp)
movq -0x38(%rbp), %rdi
movslq -0x18(%rbp), %rax
movq %rax, -0x40(%rbp)
addq $0x128, %rdi            # imm = 0x128
callq 0x5c050
movq %rax, %rcx
movq -0x40(%rbp), %rax
cmpq %rcx, %rax
jae 0x5b353
movq -0x38(%rbp), %rdi
addq $0x128, %rdi            # imm = 0x128
movslq -0x18(%rbp), %rsi
callq 0x5bb40
movq %rax, -0x20(%rbp)
movq -0x10(%rbp), %rdi
movl $0xffffffff, %esi       # imm = 0xFFFFFFFF
callq 0x8840
movq %rax, %rdi
movl $0x9, %esi
callq 0x85d0
movq -0x20(%rbp), %rdi
callq 0x5c7c0
movq %rax, -0x28(%rbp)
movq -0x20(%rbp), %rdi
callq 0x5c990
movq %rax, -0x30(%rbp)
leaq -0x28(%rbp), %rdi
leaq -0x30(%rbp), %rsi
callq 0x5c950
testb $0x1, %al
jne 0x5b2c9
jmp 0x5b343
movq -0x10(%rbp), %rax
movq %rax, -0x58(%rbp)
leaq -0x28(%rbp), %rdi
callq 0x5c9c0
movq -0x58(%rbp), %rdi
movsbl 0x1(%rax), %esi
callq 0x85d0
movq %rax, -0x50(%rbp)
leaq -0x28(%rbp), %rdi
callq 0x5c9c0
movq -0x50(%rbp), %rdi
movsbl (%rax), %esi
callq 0x85d0
movq %rax, %rdi
movl $0x9, %esi
callq 0x85d0
movq %rax, -0x48(%rbp)
leaq -0x28(%rbp), %rdi
callq 0x5c9c0
movq -0x48(%rbp), %rdi
movsd 0x8(%rax), %xmm0
callq 0x88c0
movq %rax, %rdi
movl $0x9, %esi
callq 0x85d0
leaq -0x28(%rbp), %rdi
callq 0x5c9e0
jmp 0x5b2a9
jmp 0x5b345
movl -0x18(%rbp), %eax
addl $0x2, %eax
movl %eax, -0x18(%rbp)
jmp 0x5b241
addq $0x60, %rsp
popq %rbp
retq
nopl (%rax)