LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: icemiliang[P]vot/src/votx/otx.cc
// Function: votx::OTX::update_h()
void OTX::update_h() {
        for (int i = 0; i < vNumDiracXs; i++) {
            vHs[i] -= vLearnRate * vGradient[i];
            if((vFlagVerb || vFlagDebug) && vHs[i] < 0) {
                std::cout << "[warning] H: " << vHs[i] 
                          << ", voro++ cannot plot if h is negative. " << std::endl;
            }
        }
    }

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x18(%rbp)
movl $0x0, -0xc(%rbp)
movq -0x18(%rbp), %rcx
movl -0xc(%rbp), %eax
cmpl 0x7c(%rcx), %eax
jge 0x1fbf5
movq -0x18(%rbp), %rdi
movsd 0x60(%rdi), %xmm0
movsd %xmm0, -0x28(%rbp)
addq $0x48, %rdi
movslq -0xc(%rbp), %rsi
callq 0x20e30
movq -0x18(%rbp), %rdi
movsd (%rax), %xmm0
movsd %xmm0, -0x20(%rbp)
addq $0x30, %rdi
movslq -0xc(%rbp), %rsi
callq 0x20e30
movsd -0x28(%rbp), %xmm0
movsd -0x20(%rbp), %xmm2
movq %rax, %rcx
movq -0x18(%rbp), %rax
movsd (%rcx), %xmm1
movq %xmm0, %rdx
movabsq $-0x8000000000000000, %rsi # imm = 0x8000000000000000
xorq %rsi, %rdx
movq %rdx, %xmm0
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
movsd %xmm0, (%rcx)
testb $0x1, 0x70(%rax)
jne 0x1fb78
movq -0x18(%rbp), %rax
testb $0x1, 0x71(%rax)
je 0x1fbe5
movq -0x18(%rbp), %rdi
addq $0x30, %rdi
movslq -0xc(%rbp), %rsi
callq 0x20e30
xorps %xmm0, %xmm0
ucomisd (%rax), %xmm0
jbe 0x1fbe5
movq 0x1740f(%rip), %rdi     # 0x36fa8
leaq 0x6440(%rip), %rsi      # 0x25fe0
callq 0x9480
movq -0x18(%rbp), %rdi
movq %rax, -0x30(%rbp)
addq $0x30, %rdi
movslq -0xc(%rbp), %rsi
callq 0x20e30
movq -0x30(%rbp), %rdi
movsd (%rax), %xmm0
callq 0x9960
movq %rax, %rdi
leaq 0x641d(%rip), %rsi      # 0x25fee
callq 0x9480
movq %rax, %rdi
movq 0x17368(%rip), %rsi     # 0x36f48
callq 0x94d0
jmp 0x1fbe7
movl -0xc(%rbp), %eax
addl $0x1, %eax
movl %eax, -0xc(%rbp)
jmp 0x1faeb
addq $0x30, %rsp
popq %rbp
retq
nopl (%rax,%rax)
// File: icemiliang[P]vot/src/votx/./pointX.hh
// Function: votx::DiracX::print()
void print() {
        std::cout << "("  << "update? " << vic <<  "; dim" << vn << "; dirac: " << vd 
                  << "; mass: " << vm << "; coor: ";
        for (int i = 0; i < vn-1; i++) { std::cout << vp[i] << ", "; }
        std::cout << vp[vn-1] << ")" << std::endl;
    }

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x18(%rbp)
movq 0x1678d(%rip), %rdi     # 0x36fa8
leaq 0x5864(%rip), %rsi      # 0x26086
callq 0x9480
movq %rax, %rdi
leaq 0x5857(%rip), %rsi      # 0x26088
callq 0x9480
movq %rax, %rdi
movq -0x18(%rbp), %rax
movb 0x21(%rax), %al
andb $0x1, %al
movzbl %al, %esi
callq 0x98f0
movq %rax, %rdi
leaq 0x583d(%rip), %rsi      # 0x26091
callq 0x9480
movq %rax, %rdi
movq -0x18(%rbp), %rax
movl 0x8(%rax), %esi
callq 0x9890
movq %rax, %rdi
leaq 0x5825(%rip), %rsi      # 0x26097
callq 0x9480
movq %rax, %rdi
movq -0x18(%rbp), %rax
movsd 0x10(%rax), %xmm0
callq 0x9960
movq %rax, %rdi
leaq 0x580f(%rip), %rsi      # 0x260a1
callq 0x9480
movq %rax, %rdi
movq -0x18(%rbp), %rax
movsd 0x18(%rax), %xmm0
callq 0x9960
movq %rax, %rdi
leaq 0x57f8(%rip), %rsi      # 0x260aa
callq 0x9480
movl $0x0, -0xc(%rbp)
movq -0x18(%rbp), %rcx
movl -0xc(%rbp), %eax
movl 0x8(%rcx), %ecx
subl $0x1, %ecx
cmpl %ecx, %eax
jge 0x20905
movq -0x18(%rbp), %rax
movq (%rax), %rax
movslq -0xc(%rbp), %rcx
movsd (%rax,%rcx,8), %xmm0
movq 0x166c2(%rip), %rdi     # 0x36fa8
callq 0x9960
movq %rax, %rdi
leaq 0x56d3(%rip), %rsi      # 0x25fc8
callq 0x9480
movl -0xc(%rbp), %eax
addl $0x1, %eax
movl %eax, -0xc(%rbp)
jmp 0x208be
movq -0x18(%rbp), %rcx
movq (%rcx), %rax
movl 0x8(%rcx), %ecx
subl $0x1, %ecx
movslq %ecx, %rcx
movsd (%rax,%rcx,8), %xmm0
movq 0x16687(%rip), %rdi     # 0x36fa8
callq 0x9960
movq %rax, %rdi
leaq 0x4d4a(%rip), %rsi      # 0x2567a
callq 0x9480
movq %rax, %rdi
movq 0x16609(%rip), %rsi     # 0x36f48
callq 0x94d0
addq $0x20, %rsp
popq %rbp
retq
nopw (%rax,%rax)
// File: icemiliang[P]vot/src/votx/./pointbaseX.hh
// Function: votx::PointX::distL22(votx::PointX const&) const
double distL22(const PointX &p) const {
        double dist = 0.0;
        for (int i = 0; i < vn; i++) {
            dist += (vp[i]-p[i]) * (vp[i]-p[i]); 
        }
        return dist;
    }

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x40, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x28(%rbp)
xorps %xmm0, %xmm0
movsd %xmm0, -0x18(%rbp)
movl $0x0, -0x1c(%rbp)
movq -0x28(%rbp), %rcx
movl -0x1c(%rbp), %eax
cmpl 0x8(%rcx), %eax
jge 0x20dfb
movq -0x28(%rbp), %rax
movq (%rax), %rax
movslq -0x1c(%rbp), %rcx
movsd (%rax,%rcx,8), %xmm0
movsd %xmm0, -0x40(%rbp)
movq -0x10(%rbp), %rdi
movl -0x1c(%rbp), %esi
callq 0x21a00
movq -0x28(%rbp), %rax
movaps %xmm0, %xmm1
movsd -0x40(%rbp), %xmm0
subsd %xmm1, %xmm0
movsd %xmm0, -0x30(%rbp)
movq (%rax), %rax
movslq -0x1c(%rbp), %rcx
movsd (%rax,%rcx,8), %xmm0
movsd %xmm0, -0x38(%rbp)
movq -0x10(%rbp), %rdi
movl -0x1c(%rbp), %esi
callq 0x21a00
movsd -0x38(%rbp), %xmm2
movaps %xmm0, %xmm1
movsd -0x30(%rbp), %xmm0
subsd %xmm1, %xmm2
movsd -0x18(%rbp), %xmm1
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
movsd %xmm0, -0x18(%rbp)
movl -0x1c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x1c(%rbp)
jmp 0x20d67
movsd -0x18(%rbp), %xmm0
addq $0x40, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
// File: icemiliang[P]vot/src/votx/./pointX.hh
// Function: votx::EmpiricalX::print() const
void print() const {
        std::cout << "( dirac_idx: " << vdi << "; mass: " << vm << "; coor: ";
        for (int i = 0; i < vn-1; i++) {
            std::cout << vp[i] << ", ";
        }
        std::cout << vp[vn-1] << ")" << std::endl;
    }

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x18(%rbp)
movq 0x1607d(%rip), %rdi     # 0x36fa8
leaq 0x51fc(%rip), %rsi      # 0x2612e
callq 0x9480
movq %rax, %rdi
movq -0x18(%rbp), %rax
movl 0xc(%rax), %esi
callq 0x9890
movq %rax, %rdi
leaq 0x5151(%rip), %rsi      # 0x260a1
callq 0x9480
movq %rax, %rdi
movq -0x18(%rbp), %rax
movsd 0x10(%rax), %xmm0
callq 0x9960
movq %rax, %rdi
leaq 0x513a(%rip), %rsi      # 0x260aa
callq 0x9480
movl $0x0, -0xc(%rbp)
movq -0x18(%rbp), %rcx
movl -0xc(%rbp), %eax
movl 0x8(%rcx), %ecx
subl $0x1, %ecx
cmpl %ecx, %eax
jge 0x20fc3
movq -0x18(%rbp), %rax
movq (%rax), %rax
movslq -0xc(%rbp), %rcx
movsd (%rax,%rcx,8), %xmm0
movq 0x16004(%rip), %rdi     # 0x36fa8
callq 0x9960
movq %rax, %rdi
leaq 0x5015(%rip), %rsi      # 0x25fc8
callq 0x9480
movl -0xc(%rbp), %eax
addl $0x1, %eax
movl %eax, -0xc(%rbp)
jmp 0x20f7c
movq -0x18(%rbp), %rcx
movq (%rcx), %rax
movl 0x8(%rcx), %ecx
subl $0x1, %ecx
movslq %ecx, %rcx
movsd (%rax,%rcx,8), %xmm0
movq 0x15fc9(%rip), %rdi     # 0x36fa8
callq 0x9960
movq %rax, %rdi
leaq 0x468c(%rip), %rsi      # 0x2567a
callq 0x9480
movq %rax, %rdi
movq 0x15f4b(%rip), %rsi     # 0x36f48
callq 0x94d0
addq $0x20, %rsp
popq %rbp
retq
nopl (%rax,%rax)
// File: btbujiangjun[P]abcdl/example/algebra/LibSvm.cpp
// Function: main
int main(int argc,char** argv){
    abcdl::utils::log::set_min_log_level(abcdl::utils::log::INFO);
    abcdl::utils::log::initialize_log(argc, argv);
    abcdl::algebra::Mat data_mat;
    abcdl::algebra::Mat label_mat;
    abcdl::utils::LibsvmHelper<real> helper;
    helper.read_data(251, 2, "./data/test.libsvm", &data_mat, &label_mat);
    printf("sample size:%zu\n", data_mat.rows());
    helper.write_data("./data/test.write.libsvm", data_mat, label_mat);
}

// Assembly:
subq $0xe8, %rsp
movl %edi, 0xe4(%rsp)
movq %rsi, 0xd8(%rsp)
xorl %edi, %edi
callq 0xaae30
movl 0xe4(%rsp), %edi
movq 0xd8(%rsp), %rsi
callq 0xaa920
leaq 0xb0(%rsp), %rdi
callq 0x553b0
leaq 0x88(%rsp), %rdi
callq 0x553b0
jmp 0xc7cd
leaq 0x68(%rsp), %rdi
callq 0x18320
leaq 0x47(%rsp), %rdi
movq %rdi, 0x10(%rsp)
callq 0xb8a0
movq 0x10(%rsp), %rdx
leaq 0xa2a16(%rip), %rsi     # 0xaf208
leaq 0x48(%rsp), %rdi
callq 0xb6d0
jmp 0xc7fe
leaq 0x68(%rsp), %rdi
movl $0xfb, %esi
movl $0x2, %edx
leaq 0x48(%rsp), %rcx
leaq 0xb0(%rsp), %r8
leaq 0x88(%rsp), %r9
callq 0x18340
jmp 0xc829
leaq 0x48(%rsp), %rdi
callq 0xb2e0
leaq 0x47(%rsp), %rdi
callq 0xb580
leaq 0xb0(%rsp), %rdi
callq 0x18910
movq %rax, 0x8(%rsp)
jmp 0xc851
movq 0x8(%rsp), %rsi
leaq 0xa29be(%rip), %rdi     # 0xaf21b
xorl %eax, %eax
callq 0xb080
jmp 0xc866
leaq 0x1f(%rsp), %rdi
movq %rdi, (%rsp)
callq 0xb8a0
movq (%rsp), %rdx
leaq 0xa29ad(%rip), %rsi     # 0xaf22c
leaq 0x20(%rsp), %rdi
callq 0xb6d0
jmp 0xc88b
leaq 0x68(%rsp), %rdi
leaq 0x20(%rsp), %rsi
leaq 0xb0(%rsp), %rdx
leaq 0x88(%rsp), %rcx
callq 0x18920
jmp 0xc8ac
leaq 0x20(%rsp), %rdi
callq 0xb2e0
leaq 0x1f(%rsp), %rdi
callq 0xb580
leaq 0x88(%rsp), %rdi
callq 0x55800
leaq 0xb0(%rsp), %rdi
callq 0x55800
xorl %eax, %eax
addq $0xe8, %rsp
retq
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x80(%rsp)
movl %eax, 0x7c(%rsp)
jmp 0xc98c
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x80(%rsp)
movl %eax, 0x7c(%rsp)
jmp 0xc928
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x80(%rsp)
movl %eax, 0x7c(%rsp)
leaq 0x48(%rsp), %rdi
callq 0xb2e0
leaq 0x47(%rsp), %rdi
callq 0xb580
jmp 0xc97f
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x80(%rsp)
movl %eax, 0x7c(%rsp)
jmp 0xc97f
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x80(%rsp)
movl %eax, 0x7c(%rsp)
jmp 0xc975
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x80(%rsp)
movl %eax, 0x7c(%rsp)
leaq 0x20(%rsp), %rdi
callq 0xb2e0
leaq 0x1f(%rsp), %rdi
callq 0xb580
leaq 0x88(%rsp), %rdi
callq 0x55800
leaq 0xb0(%rsp), %rdi
callq 0x55800
movq 0x80(%rsp), %rdi
callq 0xb890
nopw %cs:(%rax,%rax)
// File: btbujiangjun[P]abcdl/include/utils/LibsvmHelper.h
// Function: abcdl::utils::LibsvmHelper<float>::write_data(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, abcdl::algebra::Matrix<float> const&, abcdl::algebra::Matrix<float> const&)
bool LibsvmHelper<T>::write_data(const std::string& file,
                                 const abcdl::algebra::Matrix<T>& data_mat,
                                 const abcdl::algebra::Matrix<T>& label_mat){
    if(data_mat.rows() != label_mat.rows()){
        return false;
    }

    std::ofstream out_file(file);

    int row = data_mat.rows();
    int col = data_mat.cols();
    for(int i = 0; i < row; i++){
        out_file << label_mat.get_data(i, 0);
        for(int j = 0; j < col; j++){
            T value = data_mat.get_data(i, j);
            if(value!= 0){
                out_file << " " << j << ":" << value; 
            }
        }
        out_file << "\n";
    }
    return true;
}

// Assembly:
subq $0x288, %rsp            # imm = 0x288
movq %rdi, 0x278(%rsp)
movq %rsi, 0x270(%rsp)
movq %rdx, 0x268(%rsp)
movq %rcx, 0x260(%rsp)
movq 0x268(%rsp), %rdi
callq 0x18910
movq %rax, 0x38(%rsp)
movq 0x260(%rsp), %rdi
callq 0x18910
movq %rax, %rcx
movq 0x38(%rsp), %rax
cmpq %rcx, %rax
je 0x18980
movb $0x0, 0x287(%rsp)
jmp 0x18b1e
movq 0x270(%rsp), %rsi
leaq 0x60(%rsp), %rdi
movl $0x10, %edx
callq 0xb970
movq 0x268(%rsp), %rdi
callq 0x18910
movl %eax, 0x5c(%rsp)
movq 0x268(%rsp), %rdi
callq 0x52d90
movq %rax, 0x30(%rsp)
jmp 0x189bc
movq 0x30(%rsp), %rax
movl %eax, 0x58(%rsp)
movl $0x0, 0x48(%rsp)
movl 0x48(%rsp), %eax
cmpl 0x5c(%rsp), %eax
jge 0x18b0c
movq 0x260(%rsp), %rdi
movslq 0x48(%rsp), %rsi
xorl %eax, %eax
movl %eax, %edx
callq 0x52da0
movq %rax, 0x28(%rsp)
jmp 0x189f8
movq 0x28(%rsp), %rax
movss (%rax), %xmm0
leaq 0x60(%rsp), %rdi
callq 0xb3f0
jmp 0x18a0d
movl $0x0, 0x44(%rsp)
movl 0x44(%rsp), %eax
cmpl 0x58(%rsp), %eax
jge 0x18ae7
movq 0x268(%rsp), %rdi
movslq 0x48(%rsp), %rsi
movslq 0x44(%rsp), %rdx
callq 0x52da0
movq %rax, 0x20(%rsp)
jmp 0x18a41
movq 0x20(%rsp), %rax
movss (%rax), %xmm0
movss %xmm0, 0x40(%rsp)
movss 0x40(%rsp), %xmm0
xorps %xmm1, %xmm1
ucomiss %xmm1, %xmm0
jne 0x18a62
jp 0x18a62
jmp 0x18ad5
leaq 0x97127(%rip), %rsi     # 0xafb90
leaq 0x60(%rsp), %rdi
callq 0xb520
movq %rax, 0x18(%rsp)
jmp 0x18a7a
movq 0x18(%rsp), %rdi
movl 0x44(%rsp), %esi
callq 0xb860
movq %rax, 0x10(%rsp)
jmp 0x18a8f
movq 0x10(%rsp), %rdi
leaq 0x970b1(%rip), %rsi     # 0xafb4c
callq 0xb520
movq %rax, 0x8(%rsp)
jmp 0x18aa7
movq 0x8(%rsp), %rdi
movss 0x40(%rsp), %xmm0
callq 0xb3f0
jmp 0x18ab9
jmp 0x18ad5
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x50(%rsp)
movl %eax, 0x4c(%rsp)
leaq 0x60(%rsp), %rdi
callq 0xb760
jmp 0x18b2f
jmp 0x18ad7
movl 0x44(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x44(%rsp)
jmp 0x18a15
leaq 0x967cd(%rip), %rsi     # 0xaf2bb
leaq 0x60(%rsp), %rdi
callq 0xb520
jmp 0x18afa
jmp 0x18afc
movl 0x48(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x48(%rsp)
jmp 0x189cd
movb $0x1, 0x287(%rsp)
leaq 0x60(%rsp), %rdi
callq 0xb760
movb 0x287(%rsp), %al
andb $0x1, %al
addq $0x288, %rsp            # imm = 0x288
retq
movq 0x50(%rsp), %rdi
callq 0xb890
nopl (%rax)
// File: nmmmnu[P]HM3/hm3/main/db_merge.cc
// Function: printUsage(char const*)
static void printUsage(const char *name){
	const char *txt =
		"\t%s %c output_file [file1] [file2] [fileN...]"
		"- merge files, %-6s tombstones\n";

	printf("Usage:\n");
	printf(txt, 	name, '-', "keep");
	printf(txt, 	name, 't', "remove");
	printf("\t\tFiles must be written with the extention.\n");
	printf("\t\tExample 'file.db'\n");
	printf("\t\tDo not forget you usually need two output files\n");
}

// Assembly:
subq $0x18, %rsp
movq %rdi, 0x10(%rsp)
leaq 0xc6b0(%rip), %rax      # 0xf090
movq %rax, 0x8(%rsp)
leaq 0xc6f1(%rip), %rdi      # 0xf0dd
movb $0x0, %al
callq 0x2030
movq 0x8(%rsp), %rdi
movq 0x10(%rsp), %rsi
movl $0x2d, %edx
leaq 0xc6dc(%rip), %rcx      # 0xf0e5
movb $0x0, %al
callq 0x2030
movq 0x8(%rsp), %rdi
movq 0x10(%rsp), %rsi
movl $0x74, %edx
leaq 0xc6c4(%rip), %rcx      # 0xf0ea
movb $0x0, %al
callq 0x2030
leaq 0xc6bd(%rip), %rdi      # 0xf0f1
movb $0x0, %al
callq 0x2030
leaq 0xc6dc(%rip), %rdi      # 0xf11e
movb $0x0, %al
callq 0x2030
leaq 0xc6e3(%rip), %rdi      # 0xf133
movb $0x0, %al
callq 0x2030
addq $0x18, %rsp
retq
nopl (%rax)
// File: nmmmnu[P]HM3/hm3/multitableiterator/dualiterator_impl.h
// Function: hm3::multitableiterator::DualIterator<hm3::DiskTable, hm3::DiskTable>::operator*() const
const Pair &DualIterator<TABLE1, TABLE2>::operator*() const{
	const Pair &pair1 = *it1_;
	const Pair &pair2 = *it2_;

	int const cmp = pair1.cmp(pair2);

	if (cmp != 0){
		// return smaller
		return  cmp < 0 ? pair1 : pair2;
	}else{
		// return newer
		return pair1.cmpTime(pair2) > 0 ? pair1 : pair2;
	}
}

// Assembly:
subq $0x48, %rsp
movq %rdi, 0x38(%rsp)
movq 0x38(%rsp), %rdi
movq %rdi, 0x18(%rsp)
callq 0x4a40
movq 0x18(%rsp), %rdi
movq %rax, 0x30(%rsp)
addq $0x60, %rdi
callq 0x4a40
movq %rax, 0x28(%rsp)
movq 0x30(%rsp), %rdi
movq 0x28(%rsp), %rsi
callq 0x4a90
movl %eax, 0x24(%rsp)
cmpl $0x0, 0x24(%rsp)
je 0x4833
cmpl $0x0, 0x24(%rsp)
jge 0x481d
movq 0x30(%rsp), %rax
movq %rax, 0x10(%rsp)
jmp 0x4827
movq 0x28(%rsp), %rax
movq %rax, 0x10(%rsp)
movq 0x10(%rsp), %rax
movq %rax, 0x40(%rsp)
jmp 0x4867
movq 0x30(%rsp), %rdi
movq 0x28(%rsp), %rsi
callq 0x9c00
cmpl $0x0, %eax
jle 0x4853
movq 0x30(%rsp), %rax
movq %rax, 0x8(%rsp)
jmp 0x485d
movq 0x28(%rsp), %rax
movq %rax, 0x8(%rsp)
movq 0x8(%rsp), %rax
movq %rax, 0x40(%rsp)
movq 0x40(%rsp), %rax
addq $0x48, %rsp
retq
nopw %cs:(%rax,%rax)
nopl (%rax,%rax)
// File: nmmmnu[P]HM3/hm3/multitableiterator/dualiterator_impl.h
// Function: hm3::multitableiterator::DualIterator<hm3::DiskTable, hm3::DiskTable>::operator++()
auto DualIterator<TABLE1, TABLE2>::operator++() -> DualIterator &{
	const Pair &pair1 = *it1_;
	const Pair &pair2 = *it2_;

	const auto cmp = pair1.cmp(pair2);

	if (cmp <= 0)
		++it1_;

	if (cmp >= 0)
		++it2_;

	return *this;
}

// Assembly:
subq $0x28, %rsp
movq %rdi, 0x20(%rsp)
movq 0x20(%rsp), %rdi
movq %rdi, (%rsp)
callq 0x4a40
movq (%rsp), %rdi
movq %rax, 0x18(%rsp)
addq $0x60, %rdi
callq 0x4a40
movq %rax, 0x10(%rsp)
movq 0x18(%rsp), %rdi
movq 0x10(%rsp), %rsi
callq 0x4a90
movl %eax, 0xc(%rsp)
cmpl $0x0, 0xc(%rsp)
jg 0x48d1
movq (%rsp), %rdi
callq 0x4b30
cmpl $0x0, 0xc(%rsp)
jl 0x48e5
movq (%rsp), %rdi
addq $0x60, %rdi
callq 0x4b30
movq (%rsp), %rax
addq $0x28, %rsp
retq
nop
// File: nmmmnu[P]HM3/hm3/tableloader/argtableloader.cc
// Function: hm3::tableloader::ArgTableLoader::refresh_()
bool ArgTableLoader::refresh_(){
	container_.clear();

	if (argc_ < 0)
		return true;

	container_.reserve((container_type::size_type) argc_);

	for(const char *filename : ArrayRef<const char *>{ argv_, argc_ } ){
		DiskTable dt;
		dt.open(filename);
		container_.push_back( std::move(dt) );
	}

	return true;
}

// Assembly:
subq $0x148, %rsp            # imm = 0x148
movq %rdi, 0x138(%rsp)
movq 0x138(%rsp), %rdi
movq %rdi, (%rsp)
addq $0x10, %rdi
callq 0x8720
movq (%rsp), %rax
cmpl $0x0, (%rax)
jge 0x85ea
movb $0x1, 0x147(%rsp)
jmp 0x8704
movq (%rsp), %rax
movq %rax, %rdi
addq $0x10, %rdi
movslq (%rax), %rsi
callq 0x8740
movq (%rsp), %rax
movq 0x8(%rax), %rsi
movl (%rax), %edx
leaq 0x120(%rsp), %rdi
callq 0x8880
leaq 0x120(%rsp), %rax
movq %rax, 0x130(%rsp)
movq 0x130(%rsp), %rdi
callq 0x88e0
movq %rax, 0x118(%rsp)
movq 0x130(%rsp), %rdi
callq 0x88f0
movq %rax, 0x110(%rsp)
movq 0x118(%rsp), %rax
cmpq 0x110(%rsp), %rax
je 0x86fc
movq 0x118(%rsp), %rax
movq (%rax), %rax
movq %rax, 0x108(%rsp)
leaq 0x28(%rsp), %rdi
movl $0x1, %esi
callq 0x2b90
movq 0x108(%rsp), %rsi
leaq 0x18(%rsp), %rdi
callq 0x2b40
jmp 0x869a
leaq 0x28(%rsp), %rdi
leaq 0x18(%rsp), %rsi
callq 0xbae0
jmp 0x86ab
movq (%rsp), %rdi
addq $0x10, %rdi
leaq 0x28(%rsp), %rsi
callq 0x8910
jmp 0x86bf
leaq 0x28(%rsp), %rdi
callq 0x2d10
movq 0x118(%rsp), %rax
addq $0x8, %rax
movq %rax, 0x118(%rsp)
jmp 0x864e
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x10(%rsp)
movl %eax, 0xc(%rsp)
leaq 0x28(%rsp), %rdi
callq 0x2d10
jmp 0x8715
movb $0x1, 0x147(%rsp)
movb 0x147(%rsp), %al
andb $0x1, %al
addq $0x148, %rsp            # imm = 0x148
retq
movq 0x10(%rsp), %rdi
callq 0x2350
nop
// File: GenisGE[P]evalAdmix/Cinterface.cpp
// Function: likeFixedMinor(double, double*, int, char*)
double likeFixedMinor(double p,double *likes,int numInds,char *keepInd){
  // should these actually be normed genotype likelihoods? Or not normed?
  // only used for checking minLrt
  // returns minus the log of the likelihood
  double totalLike=0;
  for(int i=0;i<numInds;i++){
    if(keepInd[i])
      totalLike+=log(likes[i*3+0]*(1-p)*(1-p)+likes[i*3+1]*2.0*p*(1-p)+likes[i*3+2]*p*p);
  }
  return -totalLike;
}

// Assembly:
subq $0x38, %rsp
movsd %xmm0, 0x30(%rsp)
movq %rdi, 0x28(%rsp)
movl %esi, 0x24(%rsp)
movq %rdx, 0x18(%rsp)
xorps %xmm0, %xmm0
movsd %xmm0, 0x10(%rsp)
movl $0x0, 0xc(%rsp)
movl 0xc(%rsp), %eax
cmpl 0x24(%rsp), %eax
jge 0x3849
movq 0x18(%rsp), %rax
movslq 0xc(%rsp), %rcx
cmpb $0x0, (%rax,%rcx)
je 0x3837
movq 0x28(%rsp), %rax
imull $0x3, 0xc(%rsp), %ecx
addl $0x0, %ecx
movslq %ecx, %rcx
movsd (%rax,%rcx,8), %xmm1
movsd 0x14860(%rip), %xmm0    # 0x18008
subsd 0x30(%rsp), %xmm0
mulsd %xmm0, %xmm1
movsd 0x1484e(%rip), %xmm2    # 0x18008
subsd 0x30(%rsp), %xmm2
movq 0x28(%rsp), %rax
imull $0x3, 0xc(%rsp), %ecx
addl $0x1, %ecx
movslq %ecx, %rcx
movsd 0x14838(%rip), %xmm0    # 0x18010
mulsd (%rax,%rcx,8), %xmm0
mulsd 0x30(%rsp), %xmm0
movsd 0x1481d(%rip), %xmm3    # 0x18008
subsd 0x30(%rsp), %xmm3
mulsd %xmm3, %xmm0
mulsd %xmm2, %xmm1
addsd %xmm0, %xmm1
movq 0x28(%rsp), %rax
imull $0x3, 0xc(%rsp), %ecx
addl $0x2, %ecx
movslq %ecx, %rcx
movsd (%rax,%rcx,8), %xmm0
mulsd 0x30(%rsp), %xmm0
movsd 0x30(%rsp), %xmm2
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
callq 0x3210
addsd 0x10(%rsp), %xmm0
movsd %xmm0, 0x10(%rsp)
jmp 0x3839
movl 0xc(%rsp), %eax
addl $0x1, %eax
movl %eax, 0xc(%rsp)
jmp 0x3769
movsd 0x10(%rsp), %xmm0
movq %xmm0, %rax
movabsq $-0x8000000000000000, %rcx # imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm0
addq $0x38, %rsp
retq
nopl (%rax,%rax)
// File: GenisGE[P]evalAdmix/Cinterface.cpp
// Function: filterMinMaf(bgl&, float)
void filterMinMaf(bgl &d,float minMaf){
  //  fprintf(stderr,"WARNING filtering minMaf=%f \n",minMaf);
  int posi =0;
  for(int s=0;s<d.nSites;s++){
    //    fprintf(stderr,"minmaf=%f mafs[%d]=%f lik=%f\n",minMaf,s,d.mafs[s],lik);
    if(d.mafs[s]>minMaf&&d.mafs[s]<1-minMaf){
      d.genos[posi] = d.genos[s];
      d.major[posi] = d.major[s];
      d.minor[posi] = d.minor[s];
      d.ids[posi] = d.ids[s];
      d.keeps[posi] = d.keeps[s];
      d.keepInd[posi] = d.keepInd[s];
      d.mafs[posi] = d.mafs[s];
      posi++;   
    }else{
      //      fprintf(stderr,"skippping\n");
    }
  }
  d.nSites=posi;
}

// Assembly:
movq %rdi, -0x8(%rsp)
movss %xmm0, -0xc(%rsp)
movl $0x0, -0x10(%rsp)
movl $0x0, -0x14(%rsp)
movl -0x14(%rsp), %eax
movq -0x8(%rsp), %rcx
cmpl 0x20(%rcx), %eax
jge 0x494c
movq -0x8(%rsp), %rax
movq 0x38(%rax), %rax
movslq -0x14(%rsp), %rcx
movss (%rax,%rcx,4), %xmm0
ucomiss -0xc(%rsp), %xmm0
jbe 0x4938
movq -0x8(%rsp), %rax
movq 0x38(%rax), %rax
movslq -0x14(%rsp), %rcx
movss (%rax,%rcx,4), %xmm1
movss 0x13822(%rip), %xmm0    # 0x18048
subss -0xc(%rsp), %xmm0
ucomiss %xmm1, %xmm0
jbe 0x4938
movq -0x8(%rsp), %rax
movq (%rax), %rax
movslq -0x14(%rsp), %rcx
movq (%rax,%rcx,8), %rdx
movq -0x8(%rsp), %rax
movq (%rax), %rax
movslq -0x10(%rsp), %rcx
movq %rdx, (%rax,%rcx,8)
movq -0x8(%rsp), %rax
movq 0x8(%rax), %rax
movslq -0x14(%rsp), %rcx
movb (%rax,%rcx), %dl
movq -0x8(%rsp), %rax
movq 0x8(%rax), %rax
movslq -0x10(%rsp), %rcx
movb %dl, (%rax,%rcx)
movq -0x8(%rsp), %rax
movq 0x10(%rax), %rax
movslq -0x14(%rsp), %rcx
movb (%rax,%rcx), %dl
movq -0x8(%rsp), %rax
movq 0x10(%rax), %rax
movslq -0x10(%rsp), %rcx
movb %dl, (%rax,%rcx)
movq -0x8(%rsp), %rax
movq 0x18(%rax), %rax
movslq -0x14(%rsp), %rcx
movq (%rax,%rcx,8), %rdx
movq -0x8(%rsp), %rax
movq 0x18(%rax), %rax
movslq -0x10(%rsp), %rcx
movq %rdx, (%rax,%rcx,8)
movq -0x8(%rsp), %rax
movq 0x28(%rax), %rax
movslq -0x14(%rsp), %rcx
movq (%rax,%rcx,8), %rdx
movq -0x8(%rsp), %rax
movq 0x28(%rax), %rax
movslq -0x10(%rsp), %rcx
movq %rdx, (%rax,%rcx,8)
movq -0x8(%rsp), %rax
movq 0x30(%rax), %rax
movslq -0x14(%rsp), %rcx
movl (%rax,%rcx,4), %edx
movq -0x8(%rsp), %rax
movq 0x30(%rax), %rax
movslq -0x10(%rsp), %rcx
movl %edx, (%rax,%rcx,4)
movq -0x8(%rsp), %rax
movq 0x38(%rax), %rax
movslq -0x14(%rsp), %rcx
movss (%rax,%rcx,4), %xmm0
movq -0x8(%rsp), %rax
movq 0x38(%rax), %rax
movslq -0x10(%rsp), %rcx
movss %xmm0, (%rax,%rcx,4)
movl -0x10(%rsp), %eax
addl $0x1, %eax
movl %eax, -0x10(%rsp)
jmp 0x493a
jmp 0x493a
jmp 0x493c
movl -0x14(%rsp), %eax
addl $0x1, %eax
movl %eax, -0x14(%rsp)
jmp 0x47db
movl -0x10(%rsp), %ecx
movq -0x8(%rsp), %rax
movl %ecx, 0x20(%rax)
retq
nopl (%rax)
// File: GenisGE[P]evalAdmix/Cinterface.cpp
// Function: filterMiss(bgl&, int)
void filterMiss(bgl &d,int minInd){
  //  fprintf(stderr,"WARNING filtering mis=%d \n",minInd);
  int posi =0;
  for(int s=0;s<d.nSites;s++){
    if(d.keepInd[s]>minInd){
      d.genos[posi] = d.genos[s];
      d.major[posi] = d.major[s];
      d.minor[posi] = d.minor[s];
      d.ids[posi] = d.ids[s];
      d.keeps[posi] = d.keeps[s];
      d.keepInd[posi] = d.keepInd[s];
      d.mafs[posi] = d.mafs[s];
      posi++;   
    }else{
      // fprintf(stderr,"skippping\n");
    }
  }
  d.nSites=posi;
}

// Assembly:
movq %rdi, -0x8(%rsp)
movl %esi, -0xc(%rsp)
movl $0x0, -0x10(%rsp)
movl $0x0, -0x14(%rsp)
movl -0x14(%rsp), %eax
movq -0x8(%rsp), %rcx
cmpl 0x20(%rcx), %eax
jge 0x4abd
movq -0x8(%rsp), %rax
movq 0x30(%rax), %rax
movslq -0x14(%rsp), %rcx
movl (%rax,%rcx,4), %eax
cmpl -0xc(%rsp), %eax
jle 0x4aa9
movq -0x8(%rsp), %rax
movq (%rax), %rax
movslq -0x14(%rsp), %rcx
movq (%rax,%rcx,8), %rdx
movq -0x8(%rsp), %rax
movq (%rax), %rax
movslq -0x10(%rsp), %rcx
movq %rdx, (%rax,%rcx,8)
movq -0x8(%rsp), %rax
movq 0x8(%rax), %rax
movslq -0x14(%rsp), %rcx
movb (%rax,%rcx), %dl
movq -0x8(%rsp), %rax
movq 0x8(%rax), %rax
movslq -0x10(%rsp), %rcx
movb %dl, (%rax,%rcx)
movq -0x8(%rsp), %rax
movq 0x10(%rax), %rax
movslq -0x14(%rsp), %rcx
movb (%rax,%rcx), %dl
movq -0x8(%rsp), %rax
movq 0x10(%rax), %rax
movslq -0x10(%rsp), %rcx
movb %dl, (%rax,%rcx)
movq -0x8(%rsp), %rax
movq 0x18(%rax), %rax
movslq -0x14(%rsp), %rcx
movq (%rax,%rcx,8), %rdx
movq -0x8(%rsp), %rax
movq 0x18(%rax), %rax
movslq -0x10(%rsp), %rcx
movq %rdx, (%rax,%rcx,8)
movq -0x8(%rsp), %rax
movq 0x28(%rax), %rax
movslq -0x14(%rsp), %rcx
movq (%rax,%rcx,8), %rdx
movq -0x8(%rsp), %rax
movq 0x28(%rax), %rax
movslq -0x10(%rsp), %rcx
movq %rdx, (%rax,%rcx,8)
movq -0x8(%rsp), %rax
movq 0x30(%rax), %rax
movslq -0x14(%rsp), %rcx
movl (%rax,%rcx,4), %edx
movq -0x8(%rsp), %rax
movq 0x30(%rax), %rax
movslq -0x10(%rsp), %rcx
movl %edx, (%rax,%rcx,4)
movq -0x8(%rsp), %rax
movq 0x38(%rax), %rax
movslq -0x14(%rsp), %rcx
movss (%rax,%rcx,4), %xmm0
movq -0x8(%rsp), %rax
movq 0x38(%rax), %rax
movslq -0x10(%rsp), %rcx
movss %xmm0, (%rax,%rcx,4)
movl -0x10(%rsp), %eax
addl $0x1, %eax
movl %eax, -0x10(%rsp)
jmp 0x4aab
jmp 0x4aab
jmp 0x4aad
movl -0x14(%rsp), %eax
addl $0x1, %eax
movl %eax, -0x14(%rsp)
jmp 0x4979
movl -0x10(%rsp), %ecx
movq -0x8(%rsp), %rax
movl %ecx, 0x20(%rax)
retq
nopw (%rax,%rax)
// File: GenisGE[P]evalAdmix/Cinterface.cpp
// Function: dalloc(bgl&)
void dalloc(bgl &b){
  for(int i=0;i<b.nSites;i++){
    delete [] b.genos[i];
    free(b.ids[i]);
  }
  delete [] b.minor;
  delete [] b.major;
  delete [] b.genos;
  delete [] b.ids;
}

// Assembly:
subq $0x38, %rsp
movq %rdi, 0x30(%rsp)
movl $0x0, 0x2c(%rsp)
movl 0x2c(%rsp), %eax
movq 0x30(%rsp), %rcx
cmpl 0x20(%rcx), %eax
jge 0x4d59
movq 0x30(%rsp), %rax
movq (%rax), %rax
movslq 0x2c(%rsp), %rcx
movq (%rax,%rcx,8), %rax
movq %rax, 0x20(%rsp)
cmpq $0x0, %rax
je 0x4d35
movq 0x20(%rsp), %rdi
callq 0x3390
movq 0x30(%rsp), %rax
movq 0x18(%rax), %rax
movslq 0x2c(%rsp), %rcx
movq (%rax,%rcx,8), %rdi
callq 0x3330
movl 0x2c(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x2c(%rsp)
jmp 0x4d01
movq 0x30(%rsp), %rax
movq 0x10(%rax), %rax
movq %rax, 0x18(%rsp)
cmpq $0x0, %rax
je 0x4d77
movq 0x18(%rsp), %rdi
callq 0x3390
movq 0x30(%rsp), %rax
movq 0x8(%rax), %rax
movq %rax, 0x10(%rsp)
cmpq $0x0, %rax
je 0x4d95
movq 0x10(%rsp), %rdi
callq 0x3390
movq 0x30(%rsp), %rax
movq (%rax), %rax
movq %rax, 0x8(%rsp)
cmpq $0x0, %rax
je 0x4db2
movq 0x8(%rsp), %rdi
callq 0x3390
movq 0x30(%rsp), %rax
movq 0x18(%rax), %rax
movq %rax, (%rsp)
cmpq $0x0, %rax
je 0x4dce
movq (%rsp), %rdi
callq 0x3390
addq $0x38, %rsp
retq
nopw %cs:(%rax,%rax)
// File: GenisGE[P]evalAdmix/Cinterface.cpp
// Function: getK(char const*)
int getK(const char*fname){
  const char*delims=" \n";
  FILE *fp = NULL;
  if((fp=fopen(fname,"r"))==NULL){
    fprintf(stderr,"can't open:%s\n",fname);
    exit(0);
  }
  int lens=100000 ;
  char buf[lens];
  if(NULL==fgets(buf,lens,fp)){
    fprintf(stderr,"Increase buffer\n");
    exit(0);
  }
  strtok(buf,delims);
  int K=1;
  while(strtok(NULL,delims))
    K++;
  fclose(fp);

  return(K);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x40, %rsp
movq %rdi, -0x8(%rbp)
leaq 0x12e44(%rip), %rax     # 0x180f7
movq %rax, -0x10(%rbp)
movq $0x0, -0x18(%rbp)
movq -0x8(%rbp), %rdi
leaq 0x12e30(%rip), %rsi     # 0x180fa
callq 0x3320
movq %rax, -0x18(%rbp)
cmpq $0x0, %rax
jne 0x52fc
movq 0x19cf8(%rip), %rax     # 0x1efd8
movq (%rax), %rdi
movq -0x8(%rbp), %rdx
leaq 0x12f98(%rip), %rsi     # 0x18286
movb $0x0, %al
callq 0x33c0
xorl %edi, %edi
callq 0x3340
movl $0x186a0, -0x1c(%rbp)   # imm = 0x186A0
movl -0x1c(%rbp), %eax
movq %rsp, %rcx
movq %rcx, -0x28(%rbp)
movq %rax, %rcx
addq $0xf, %rcx
andq $-0x10, %rcx
movq %rsp, %rdi
subq %rcx, %rdi
movq %rdi, -0x40(%rbp)
movq %rdi, %rsp
movq %rax, -0x30(%rbp)
movl -0x1c(%rbp), %esi
movq -0x18(%rbp), %rdx
callq 0x3480
movq %rax, %rcx
xorl %eax, %eax
cmpq %rcx, %rax
jne 0x535e
movq 0x19c92(%rip), %rax     # 0x1efd8
movq (%rax), %rdi
leaq 0x12fd7(%rip), %rsi     # 0x18327
movb $0x0, %al
callq 0x33c0
xorl %edi, %edi
callq 0x3340
movq -0x40(%rbp), %rdi
movq -0x10(%rbp), %rsi
callq 0x3470
movl $0x1, -0x34(%rbp)
movq -0x10(%rbp), %rsi
xorl %eax, %eax
movl %eax, %edi
callq 0x3470
cmpq $0x0, %rax
je 0x5390
movl -0x34(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x34(%rbp)
jmp 0x5372
movq -0x18(%rbp), %rdi
callq 0x3290
movl -0x34(%rbp), %eax
movq -0x28(%rbp), %rcx
movq %rcx, %rsp
movq %rbp, %rsp
popq %rbp
retq
nopl (%rax,%rax)
// File: GenisGE[P]evalAdmix/Cinterface.cpp
// Function: allocFloat(unsigned long, unsigned long)
float **allocFloat(size_t x,size_t y){
  float **ret= new float*[x];
  for(size_t i=0;i<x;i++)
    ret[i] = new float[y];
  //printf("\t-> Tried to allocate: %.3f gig memory\n",(float)sizeof(float)*x*y/1000000000);
  return ret;
}

// Assembly:
subq $0x28, %rsp
movq %rdi, 0x20(%rsp)
movq %rsi, 0x18(%rsp)
movq 0x20(%rsp), %rax
movl $0x8, %ecx
mulq %rcx
movq %rax, %rdi
seto %cl
movq $-0x1, %rax
testb $0x1, %cl
cmovneq %rax, %rdi
callq 0x3030
movq %rax, 0x10(%rsp)
movq $0x0, 0x8(%rsp)
movq 0x8(%rsp), %rax
cmpq 0x20(%rsp), %rax
jae 0x5445
movq 0x18(%rsp), %rax
movl $0x4, %ecx
mulq %rcx
movq %rax, %rdi
seto %cl
movq $-0x1, %rax
testb $0x1, %cl
cmovneq %rax, %rdi
callq 0x3030
movq %rax, %rdx
movq 0x10(%rsp), %rax
movq 0x8(%rsp), %rcx
movq %rdx, (%rax,%rcx,8)
movq 0x8(%rsp), %rax
addq $0x1, %rax
movq %rax, 0x8(%rsp)
jmp 0x53f2
movq 0x10(%rsp), %rax
addq $0x28, %rsp
retq
nop
// File: GenisGE[P]evalAdmix/Cinterface.cpp
// Function: allocDouble(unsigned long, unsigned long)
double **allocDouble(size_t x,size_t y){
  double **ret= new double*[x];
  for(size_t i=0;i<x;i++)
    ret[i] = new double[y];
  //printf("\t-> Tried to allocate: %.3f gig memory\n",(float)sizeof(double)*x*y/1000000000);
  return ret;
}

// Assembly:
subq $0x28, %rsp
movq %rdi, 0x20(%rsp)
movq %rsi, 0x18(%rsp)
movq 0x20(%rsp), %rax
movl $0x8, %ecx
mulq %rcx
movq %rax, %rdi
seto %cl
movq $-0x1, %rax
testb $0x1, %cl
cmovneq %rax, %rdi
callq 0x3030
movq %rax, 0x10(%rsp)
movq $0x0, 0x8(%rsp)
movq 0x8(%rsp), %rax
cmpq 0x20(%rsp), %rax
jae 0x54e5
movq 0x18(%rsp), %rax
movl $0x8, %ecx
mulq %rcx
movq %rax, %rdi
seto %cl
movq $-0x1, %rax
testb $0x1, %cl
cmovneq %rax, %rdi
callq 0x3030
movq %rax, %rdx
movq 0x10(%rsp), %rax
movq 0x8(%rsp), %rcx
movq %rdx, (%rax,%rcx,8)
movq 0x8(%rsp), %rax
addq $0x1, %rax
movq %rax, 0x8(%rsp)
jmp 0x5492
movq 0x10(%rsp), %rax
addq $0x28, %rsp
retq
nop
// File: GenisGE[P]evalAdmix/Cinterface.cpp
// Function: allocDouble3D(unsigned long, unsigned long, unsigned long)
double ***allocDouble3D(size_t x,size_t y,size_t z){
  double ***ret= new double**[x];
  for(size_t i=0;i<x;i++){
    ret[i] = new double*[y];
    for(size_t j=0; j<y;j++)
      ret[i][j] = new double[z];
  }
    return ret;
}

// Assembly:
subq $0x38, %rsp
movq %rdi, 0x30(%rsp)
movq %rsi, 0x28(%rsp)
movq %rdx, 0x20(%rsp)
movq 0x30(%rsp), %rax
movl $0x8, %ecx
mulq %rcx
movq %rax, %rdi
seto %cl
movq $-0x1, %rax
testb $0x1, %cl
cmovneq %rax, %rdi
callq 0x3030
movq %rax, 0x18(%rsp)
movq $0x0, 0x10(%rsp)
movq 0x10(%rsp), %rax
cmpq 0x30(%rsp), %rax
jae 0x55f8
movq 0x28(%rsp), %rax
movl $0x8, %ecx
mulq %rcx
movq %rax, %rdi
seto %cl
movq $-0x1, %rax
testb $0x1, %cl
cmovneq %rax, %rdi
callq 0x3030
movq %rax, %rdx
movq 0x18(%rsp), %rax
movq 0x10(%rsp), %rcx
movq %rdx, (%rax,%rcx,8)
movq $0x0, 0x8(%rsp)
movq 0x8(%rsp), %rax
cmpq 0x28(%rsp), %rax
jae 0x55e3
movq 0x20(%rsp), %rax
movl $0x8, %ecx
mulq %rcx
movq %rax, %rdi
seto %cl
movq $-0x1, %rax
testb $0x1, %cl
cmovneq %rax, %rdi
callq 0x3030
movq %rax, %rdx
movq 0x18(%rsp), %rax
movq 0x10(%rsp), %rcx
movq (%rax,%rcx,8), %rax
movq 0x8(%rsp), %rcx
movq %rdx, (%rax,%rcx,8)
movq 0x8(%rsp), %rax
addq $0x1, %rax
movq %rax, 0x8(%rsp)
jmp 0x5587
jmp 0x55e5
movq 0x10(%rsp), %rax
addq $0x1, %rax
movq %rax, 0x10(%rsp)
jmp 0x5537
movq 0x18(%rsp), %rax
addq $0x38, %rsp
retq
nopw %cs:(%rax,%rax)
// File: GenisGE[P]evalAdmix/Cinterface.cpp
// Function: functionC(void*)
void *functionC(void *a) //the a means nothing
{
  int running_job;

  pthread_mutex_lock(&mutex1); // Protect so only one thread can edit jobs done
  
  while (jobs > 0) {
    running_job = jobs--;
    pthread_mutex_unlock(&mutex1);

    ////////////////////////////////////////////// not protected
    int c = NumJobs-running_job;
    eachPars p=allPars[c];
    myPars *pars=p.pars;
    int i=p.ind1;
    evalAdmix(p.cor,p.ind1u, p.ind1,pars->r,pars->mean_r,pars->genos,pars->K,pars->Q,pars->F,pars->nInd,pars->nSites,pars->nIts, pars->isMissing, pars->nIndUse, pars->useInds);
    
    //////////////////////////////////////////////


  }

  return NULL;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x88, %rsp
movq %rdi, 0x80(%rsp)
leaq 0x19b60(%rip), %rdi     # 0x1f320
callq 0x33e0
cmpl $0x0, 0x19b80(%rip)     # 0x1f34c
jle 0x58eb
movl 0x19b74(%rip), %eax     # 0x1f34c
movl %eax, %ecx
addl $-0x1, %ecx
movl %ecx, 0x19b69(%rip)     # 0x1f34c
movl %eax, 0x7c(%rsp)
leaq 0x19b32(%rip), %rdi     # 0x1f320
callq 0x31d0
movl 0x19b4f(%rip), %eax     # 0x1f348
subl 0x7c(%rsp), %eax
movl %eax, 0x78(%rsp)
movq 0x19b60(%rip), %rax     # 0x1f368
movslq 0x78(%rsp), %rcx
imulq $0x18, %rcx, %rcx
addq %rcx, %rax
movq (%rax), %rcx
movq %rcx, 0x60(%rsp)
movq 0x8(%rax), %rcx
movq %rcx, 0x68(%rsp)
movq 0x10(%rax), %rax
movq %rax, 0x70(%rsp)
movq 0x60(%rsp), %rax
movq %rax, 0x58(%rsp)
movl 0x68(%rsp), %eax
movl %eax, 0x54(%rsp)
movq 0x70(%rsp), %rdi
movl 0x6c(%rsp), %esi
movl 0x68(%rsp), %edx
movq 0x58(%rsp), %rax
movq 0x30(%rax), %rcx
movq 0x58(%rsp), %rax
movq 0x38(%rax), %r8
movq 0x58(%rsp), %rax
movq 0x18(%rax), %r9
movq 0x58(%rsp), %rax
movl 0x44(%rax), %r13d
movq 0x58(%rsp), %rax
movq 0x28(%rax), %r12
movq 0x58(%rsp), %rax
movq 0x20(%rax), %r15
movq 0x58(%rsp), %rax
movl 0x48(%rax), %r14d
movq 0x58(%rsp), %rax
movl 0x50(%rax), %ebp
movq 0x58(%rsp), %rax
movl 0x40(%rax), %ebx
movq 0x58(%rsp), %rax
movq 0x60(%rax), %r11
movq 0x58(%rsp), %rax
movl 0x4c(%rax), %r10d
movq 0x58(%rsp), %rax
movq 0x68(%rax), %rax
movl %r13d, (%rsp)
movq %r12, 0x8(%rsp)
movq %r15, 0x10(%rsp)
movl %r14d, 0x18(%rsp)
movl %ebp, 0x20(%rsp)
movl %ebx, 0x28(%rsp)
movq %r11, 0x30(%rsp)
movl %r10d, 0x38(%rsp)
movq %rax, 0x40(%rsp)
callq 0x16240
jmp 0x57c5
xorl %eax, %eax
addq $0x88, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nop
// File: GenisGE[P]evalAdmix/Cinterface.cpp
// Function: ngsfunctionC(void*)
void *ngsfunctionC(void *a) //the a means nothing
{
  int running_job;

  pthread_mutex_lock(&mutex1); // Protect so only one thread can edit jobs done
  
  while (jobs > 0) {
    running_job = jobs--;
    pthread_mutex_unlock(&mutex1);

    ////////////////////////////////////////////// not protected
    int c = NumJobs-running_job;
    eachNGSPars p=allNGSPars[c];
    myNGSPars *pars=p.pars;
    int i=p.ind1;

    ngsevalAdmix(p.cor,p.ind1u, p.ind1,pars->r,pars->mean_r,pars->genos,pars->K,pars->Q,pars->F,pars->nInd,pars->nSites,pars->nIts, pars->keeps, pars->nIndUse);
    
    //////////////////////////////////////////////


  }

  return NULL;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x80, %rsp
movq %rdi, 0x78(%rsp)
leaq 0x19a05(%rip), %rdi     # 0x1f320
callq 0x33e0
cmpl $0x0, 0x19a25(%rip)     # 0x1f34c
jle 0x5a35
movl 0x19a19(%rip), %eax     # 0x1f34c
movl %eax, %ecx
addl $-0x1, %ecx
movl %ecx, 0x19a0e(%rip)     # 0x1f34c
movl %eax, 0x74(%rsp)
leaq 0x199d7(%rip), %rdi     # 0x1f320
callq 0x31d0
movl 0x199f4(%rip), %eax     # 0x1f348
subl 0x74(%rsp), %eax
movl %eax, 0x70(%rsp)
movq 0x19a0d(%rip), %rax     # 0x1f370
movslq 0x70(%rsp), %rcx
imulq $0x18, %rcx, %rcx
addq %rcx, %rax
movq (%rax), %rcx
movq %rcx, 0x58(%rsp)
movq 0x8(%rax), %rcx
movq %rcx, 0x60(%rsp)
movq 0x10(%rax), %rax
movq %rax, 0x68(%rsp)
movq 0x58(%rsp), %rax
movq %rax, 0x50(%rsp)
movl 0x60(%rsp), %eax
movl %eax, 0x4c(%rsp)
movq 0x68(%rsp), %rdi
movl 0x64(%rsp), %esi
movl 0x60(%rsp), %edx
movq 0x50(%rsp), %rax
movq 0x18(%rax), %rcx
movq 0x50(%rsp), %rax
movq 0x20(%rax), %r8
movq 0x50(%rsp), %rax
movq (%rax), %r9
movq 0x50(%rsp), %rax
movl 0x2c(%rax), %r12d
movq 0x50(%rsp), %rax
movq 0x10(%rax), %r15
movq 0x50(%rsp), %rax
movq 0x8(%rax), %r14
movq 0x50(%rsp), %rax
movl 0x30(%rax), %ebp
movq 0x50(%rsp), %rax
movl 0x38(%rax), %ebx
movq 0x50(%rsp), %rax
movl 0x28(%rax), %r11d
movq 0x50(%rsp), %rax
movq 0x48(%rax), %r10
movq 0x50(%rsp), %rax
movl 0x34(%rax), %eax
movl %r12d, (%rsp)
movq %r15, 0x8(%rsp)
movq %r14, 0x10(%rsp)
movl %ebp, 0x18(%rsp)
movl %ebx, 0x20(%rsp)
movl %r11d, 0x28(%rsp)
movq %r10, 0x30(%rsp)
movl %eax, 0x38(%rsp)
callq 0x17050
jmp 0x5920
xorl %eax, %eax
addq $0x80, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
nopw (%rax,%rax)
// File: GenisGE[P]evalAdmix/Cinterface.cpp
// Function: fex(char const*)
void fex(const char* fileName){
  const char*delims=" \n";
  FILE *fp = NULL;
  if((fp=fopen(fileName,"r"))==NULL){
    fprintf(stderr,"can't open:%s\n",fileName);
    exit(0);
  }
  fclose(fp);
}

// Assembly:
subq $0x18, %rsp
movq %rdi, 0x10(%rsp)
leaq 0x12697(%rip), %rax     # 0x180f7
movq %rax, 0x8(%rsp)
movq $0x0, (%rsp)
movq 0x10(%rsp), %rdi
leaq 0x12681(%rip), %rsi     # 0x180fa
callq 0x3320
movq %rax, (%rsp)
cmpq $0x0, %rax
jne 0x5aac
movq 0x19549(%rip), %rax     # 0x1efd8
movq (%rax), %rdi
movq 0x10(%rsp), %rdx
leaq 0x127e8(%rip), %rsi     # 0x18286
movb $0x0, %al
callq 0x33c0
xorl %edi, %edi
callq 0x3340
movq (%rsp), %rdi
callq 0x3290
addq $0x18, %rsp
retq
nopw (%rax,%rax)
// File: GenisGE[P]evalAdmix/filereader_and_conversions.cpp
// Function: to_string[abi:cxx11](int)
std::string to_string(int a){///@param a An integer to convert.
  std::string str;
  std::stringstream ss;
  ss<<a;
  if(!(ss>>str)){
    printf("Error converting :%d will exit\n",a);
    exit(0);
  }
  ss>>str;
  return str; ///@return Returns the string value.
}

// Assembly:
subq $0x1c8, %rsp            # imm = 0x1C8
movq %rdi, 0x10(%rsp)
movq %rdi, %rax
movq %rax, 0x18(%rsp)
movq %rdi, 0x1c0(%rsp)
movl %esi, 0x1bc(%rsp)
movb $0x0, 0x1bb(%rsp)
callq 0x33a0
leaq 0x30(%rsp), %rdi
callq 0x31a0
jmp 0xa64c
leaq 0x40(%rsp), %rdi
movl 0x1bc(%rsp), %esi
callq 0x34e0
jmp 0xa65f
movq 0x10(%rsp), %rsi
leaq 0x30(%rsp), %rdi
callq 0x3380
movq %rax, 0x8(%rsp)
jmp 0xa675
movq 0x8(%rsp), %rdi
movq (%rdi), %rax
movq -0x18(%rax), %rax
addq %rax, %rdi
callq 0x3120
movb %al, 0x7(%rsp)
jmp 0xa68f
movb 0x7(%rsp), %al
testb $0x1, %al
jne 0xa699
jmp 0xa6e1
movl 0x1bc(%rsp), %esi
leaq 0xe919(%rip), %rdi      # 0x18fc0
xorl %eax, %eax
callq 0x3040
jmp 0xa6b0
xorl %edi, %edi
callq 0x3340
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x28(%rsp)
movl %eax, 0x24(%rsp)
jmp 0xa725
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x28(%rsp)
movl %eax, 0x24(%rsp)
leaq 0x30(%rsp), %rdi
callq 0x31c0
jmp 0xa725
movq 0x10(%rsp), %rsi
leaq 0x30(%rsp), %rdi
callq 0x3380
jmp 0xa6f2
movb $0x1, 0x1bb(%rsp)
leaq 0x30(%rsp), %rdi
callq 0x31c0
testb $0x1, 0x1bb(%rsp)
jne 0xa718
movq 0x10(%rsp), %rdi
callq 0x3170
movq 0x18(%rsp), %rax
addq $0x1c8, %rsp            # imm = 0x1C8
retq
movq 0x10(%rsp), %rdi
callq 0x3170
movq 0x28(%rsp), %rdi
callq 0x34f0
nopl (%rax)
// File: GenisGE[P]evalAdmix/filereader_and_conversions.cpp
// Function: to_float(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
float to_float(std::string a){///@param a is the string to convert.
  float str;
  std::stringstream ss;
  ss<<a;
  if(!(ss>>str)){
    printf("Error converting :\"%s\" will exit\n",a.c_str());
    exit(0);
  }
  ss>>str;
  return str;///@return The float value.
}

// Assembly:
subq $0x1c8, %rsp            # imm = 0x1C8
movq %rdi, 0x18(%rsp)
movq %rdi, 0x1c0(%rsp)
leaq 0x30(%rsp), %rdi
callq 0x31a0
movq 0x18(%rsp), %rsi
leaq 0x40(%rsp), %rdi
callq 0x3250
jmp 0xa9af
leaq 0x30(%rsp), %rdi
leaq 0x1bc(%rsp), %rsi
callq 0x3060
movq %rax, 0x10(%rsp)
jmp 0xa9c8
movq 0x10(%rsp), %rdi
movq (%rdi), %rax
movq -0x18(%rax), %rax
addq %rax, %rdi
callq 0x3120
movb %al, 0xf(%rsp)
jmp 0xa9e2
movb 0xf(%rsp), %al
testb $0x1, %al
jne 0xa9ec
jmp 0xaa2a
movq 0x18(%rsp), %rdi
callq 0x30f0
movq %rax, %rsi
leaq 0xe5e9(%rip), %rdi      # 0x18fe9
xorl %eax, %eax
callq 0x3040
jmp 0xaa09
xorl %edi, %edi
callq 0x3340
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x28(%rsp)
movl %eax, 0x24(%rsp)
leaq 0x30(%rsp), %rdi
callq 0x31c0
jmp 0xaa65
leaq 0x30(%rsp), %rdi
leaq 0x1bc(%rsp), %rsi
callq 0x3060
jmp 0xaa3e
movss 0x1bc(%rsp), %xmm0
movss %xmm0, 0x8(%rsp)
leaq 0x30(%rsp), %rdi
callq 0x31c0
movss 0x8(%rsp), %xmm0
addq $0x1c8, %rsp            # imm = 0x1C8
retq
movq 0x28(%rsp), %rdi
callq 0x34f0
nop
// File: GenisGE[P]evalAdmix/filereader_and_conversions.cpp
// Function: to_double(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
double to_double(std::string a){///@param a is the string to convert.
  double str;
  std::stringstream ss;
  ss<<a;
  if(!(ss>>str)){
    printf("Error converting :\"%s\" will exit\n",a.c_str());
    exit(0);
  }
  ss>>str;
  return str;///@return The double value.
}

// Assembly:
subq $0x1c8, %rsp            # imm = 0x1C8
movq %rdi, 0x18(%rsp)
movq %rdi, 0x1c0(%rsp)
leaq 0x30(%rsp), %rdi
callq 0x31a0
movq 0x18(%rsp), %rsi
leaq 0x40(%rsp), %rdi
callq 0x3250
jmp 0xaa9f
leaq 0x30(%rsp), %rdi
leaq 0x1b8(%rsp), %rsi
callq 0x3220
movq %rax, 0x10(%rsp)
jmp 0xaab8
movq 0x10(%rsp), %rdi
movq (%rdi), %rax
movq -0x18(%rax), %rax
addq %rax, %rdi
callq 0x3120
movb %al, 0xf(%rsp)
jmp 0xaad2
movb 0xf(%rsp), %al
testb $0x1, %al
jne 0xaadc
jmp 0xab1a
movq 0x18(%rsp), %rdi
callq 0x30f0
movq %rax, %rsi
leaq 0xe4f9(%rip), %rdi      # 0x18fe9
xorl %eax, %eax
callq 0x3040
jmp 0xaaf9
xorl %edi, %edi
callq 0x3340
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x28(%rsp)
movl %eax, 0x24(%rsp)
leaq 0x30(%rsp), %rdi
callq 0x31c0
jmp 0xab53
leaq 0x30(%rsp), %rdi
leaq 0x1b8(%rsp), %rsi
callq 0x3220
jmp 0xab2e
movsd 0x1b8(%rsp), %xmm0
movsd %xmm0, (%rsp)
leaq 0x30(%rsp), %rdi
callq 0x31c0
movsd (%rsp), %xmm0
addq $0x1c8, %rsp            # imm = 0x1C8
retq
movq 0x28(%rsp), %rdi
callq 0x34f0
nopl (%rax)
// File: GenisGE[P]evalAdmix/filereader_and_conversions.cpp
// Function: get_lexemes(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>>&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
int get_lexemes(std::string str,std::vector<std::string> &lexems,const std::string delims){
  ///@param str The string to be splittet.
  ///@param lexems A reference to a list of strings in which the splittet string will be put as seperate elements. A queue.
  ///@param delims A string containing all the chars that the function will split by.
  char *token = strtok( const_cast<char*>( str.c_str() ),delims.c_str());
  int numToks = 0;
  while ( token != NULL ){
    numToks++;
    lexems.push_back( token);
    token = strtok( NULL,delims.c_str() );
  }
  return numToks;///@return The number of strings that has been splittet.
}

// Assembly:
subq $0x88, %rsp
movq %rdx, 0x18(%rsp)
movq %rdi, 0x80(%rsp)
movq %rsi, 0x78(%rsp)
movq %rdx, 0x70(%rsp)
callq 0x30f0
movq 0x18(%rsp), %rdi
movq %rax, 0x20(%rsp)
callq 0x30f0
movq 0x20(%rsp), %rdi
movq %rax, %rsi
callq 0x3470
movq %rax, 0x68(%rsp)
movl $0x0, 0x64(%rsp)
cmpq $0x0, 0x68(%rsp)
je 0xac72
movl 0x64(%rsp), %eax
incl %eax
movl %eax, 0x64(%rsp)
movq 0x78(%rsp), %rax
movq %rax, (%rsp)
movq 0x68(%rsp), %rax
movq %rax, 0x8(%rsp)
leaq 0x3f(%rsp), %rdi
movq %rdi, 0x10(%rsp)
callq 0x3500
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
leaq 0x40(%rsp), %rdi
callq 0x9280
jmp 0xabfa
movq (%rsp), %rdi
leaq 0x40(%rsp), %rsi
callq 0xde30
jmp 0xac0a
leaq 0x40(%rsp), %rdi
callq 0x3170
leaq 0x3f(%rsp), %rdi
callq 0x32e0
movq 0x18(%rsp), %rdi
callq 0x30f0
movq %rax, %rsi
xorl %eax, %eax
movl %eax, %edi
callq 0x3470
movq %rax, 0x68(%rsp)
jmp 0xabac
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x30(%rsp)
movl %eax, 0x2c(%rsp)
jmp 0xac66
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x30(%rsp)
movl %eax, 0x2c(%rsp)
leaq 0x40(%rsp), %rdi
callq 0x3170
leaq 0x3f(%rsp), %rdi
callq 0x32e0
jmp 0xac7e
movl 0x64(%rsp), %eax
addq $0x88, %rsp
retq
movq 0x30(%rsp), %rdi
callq 0x34f0
nopl (%rax,%rax)
// File: GenisGE[P]evalAdmix/filereader_and_conversions.cpp
// Function: typecast_stringarray_to_int_matrix(std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>> const&, iMatrix*)
void typecast_stringarray_to_int_matrix(const std::vector<std::string> &tokens,iMatrix *mat){
  int start=0;
  for (int i=0;i<mat->x;i++)
    for(int j=0;j<mat->y;j++){
      mat->matrix[i][j] = to_int( tokens.at(start++));

    }
}

// Assembly:
subq $0x58, %rsp
movq %rdi, 0x50(%rsp)
movq %rsi, 0x48(%rsp)
movl $0x0, 0x44(%rsp)
movl $0x0, 0x40(%rsp)
movl 0x40(%rsp), %eax
movq 0x48(%rsp), %rcx
cmpl (%rcx), %eax
jge 0xad71
movl $0x0, 0x3c(%rsp)
movl 0x3c(%rsp), %eax
movq 0x48(%rsp), %rcx
cmpl 0x4(%rcx), %eax
jge 0xad5f
movq 0x50(%rsp), %rdi
movslq 0x44(%rsp), %rsi
movl %esi, %eax
incl %eax
movl %eax, 0x44(%rsp)
callq 0xde60
movq %rax, %rsi
leaq 0x18(%rsp), %rdi
movq %rdi, (%rsp)
callq 0x3100
movq (%rsp), %rdi
callq 0xa740
movl %eax, 0x8(%rsp)
jmp 0xad10
movl 0x8(%rsp), %edx
movq 0x48(%rsp), %rax
movq 0x8(%rax), %rax
movslq 0x40(%rsp), %rcx
movq (%rax,%rcx,8), %rax
movslq 0x3c(%rsp), %rcx
movl %edx, (%rax,%rcx,4)
leaq 0x18(%rsp), %rdi
callq 0x3170
movl 0x3c(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x3c(%rsp)
jmp 0xacc7
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x10(%rsp)
movl %eax, 0xc(%rsp)
leaq 0x18(%rsp), %rdi
callq 0x3170
jmp 0xad76
jmp 0xad61
movl 0x40(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x40(%rsp)
jmp 0xacae
addq $0x58, %rsp
retq
movq 0x10(%rsp), %rdi
callq 0x34f0
// File: GenisGE[P]evalAdmix/filereader_and_conversions.cpp
// Function: typecast_stringarray_to_iArray(std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>> const&)
iArray *typecast_stringarray_to_iArray(const std::vector<std::string> &tokens){
  iArray *ary = allocIntArray(tokens.size());
  for (unsigned int i=0;i<tokens.size();i++)
    ary->array[i] = to_int( tokens.at(i));
  return ary;
}

// Assembly:
subq $0x68, %rsp
movq %rdi, 0x60(%rsp)
movq 0x60(%rsp), %rdi
callq 0xdea0
movq %rax, %rdi
callq 0x14740
movq %rax, 0x58(%rsp)
movl $0x0, 0x54(%rsp)
movl 0x54(%rsp), %eax
movq %rax, 0x18(%rsp)
movq 0x60(%rsp), %rdi
callq 0xdea0
movq %rax, %rcx
movq 0x18(%rsp), %rax
cmpq %rcx, %rax
jae 0xae3f
movq 0x60(%rsp), %rdi
movl 0x54(%rsp), %eax
movl %eax, %esi
callq 0xde60
movq %rax, %rsi
leaq 0x30(%rsp), %rdi
movq %rdi, 0x8(%rsp)
callq 0x3100
movq 0x8(%rsp), %rdi
callq 0xa740
movl %eax, 0x14(%rsp)
jmp 0xadfa
movl 0x14(%rsp), %edx
movq 0x58(%rsp), %rax
movq 0x8(%rax), %rax
movl 0x54(%rsp), %ecx
movl %edx, (%rax,%rcx,4)
leaq 0x30(%rsp), %rdi
callq 0x3170
movl 0x54(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x54(%rsp)
jmp 0xada8
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x28(%rsp)
movl %eax, 0x24(%rsp)
leaq 0x30(%rsp), %rdi
callq 0x3170
jmp 0xae49
movq 0x58(%rsp), %rax
addq $0x68, %rsp
retq
movq 0x28(%rsp), %rdi
callq 0x34f0
nopw %cs:(%rax,%rax)
// File: GenisGE[P]evalAdmix/filereader_and_conversions.cpp
// Function: typecast_stringarray_to_dArray(std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>> const&)
dArray *typecast_stringarray_to_dArray(const std::vector<std::string> &tokens){
  dArray *ary = allocDoubleArray(tokens.size());
  for (unsigned int i=0;i<tokens.size();i++)
    ary->array[i] = to_double( tokens.at(i));
  return ary;
}

// Assembly:
subq $0x68, %rsp
movq %rdi, 0x60(%rsp)
movq 0x60(%rsp), %rdi
callq 0xdea0
movl %eax, %edi
callq 0x14a30
movq %rax, 0x58(%rsp)
movl $0x0, 0x54(%rsp)
movl 0x54(%rsp), %eax
movq %rax, 0x18(%rsp)
movq 0x60(%rsp), %rdi
callq 0xdea0
movq %rax, %rcx
movq 0x18(%rsp), %rax
cmpq %rcx, %rax
jae 0xaf2b
movq 0x60(%rsp), %rdi
movl 0x54(%rsp), %eax
movl %eax, %esi
callq 0xde60
movq %rax, %rsi
leaq 0x30(%rsp), %rdi
movq %rdi, 0x8(%rsp)
callq 0x3100
movq 0x8(%rsp), %rdi
callq 0xaa70
movsd %xmm0, 0x10(%rsp)
jmp 0xaedf
movsd 0x10(%rsp), %xmm0
movq 0x58(%rsp), %rax
movq 0x8(%rax), %rax
movl 0x54(%rsp), %ecx
movsd %xmm0, (%rax,%rcx,8)
leaq 0x30(%rsp), %rdi
callq 0x3170
movl 0x54(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x54(%rsp)
jmp 0xae87
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x28(%rsp)
movl %eax, 0x24(%rsp)
leaq 0x30(%rsp), %rdi
callq 0x3170
jmp 0xaf35
movq 0x58(%rsp), %rax
addq $0x68, %rsp
retq
movq 0x28(%rsp), %rdi
callq 0x34f0
nop