// File: /workspace/github_cpp_makefile_star2_O2/millanek[P]evo/evo_combineVCFs.cpp
// Function: parseVCFcombOptions(int, char**)
void parseVCFcombOptions(int argc, char** argv) {
    bool die = false;
    for (char c; (c = getopt_long(argc, argv, shortopts, longopts, NULL)) != -1;)
    {
        std::istringstream arg(optarg != NULL ? optarg : "");
        switch (c)
        {
            case '?': die = true; break;
            case 'o': arg >> opt::out; break;
            case 'h':
                std::cout << VCF_COMB_USAGE_MESSAGE;
                exit(EXIT_SUCCESS);
        }
    }
    if (argc - optind < 5) {
        std::cerr << "missing arguments\n";
        die = true;
    }
    else if (argc - optind > 5)
    {
        std::cerr << "too many arguments\n";
        die = true;
    }
    
    if (die) {
        std::cout << "\n" << VCF_COMB_USAGE_MESSAGE;
        exit(EXIT_FAILURE);
    }
    
    // Parse the input filenames
    opt::vcfFile1 = argv[optind++];
    opt::vcfFile2 = argv[optind++];
    opt::refFile1 = argv[optind++];
    opt::refFile2 = argv[optind++];
    opt::mappabilityFile = argv[optind++];
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x1b8, %rsp            # imm = 0x1B8
movq %rsi, %rbx
movl %edi, %ebp
movq $0x0, 0x10(%rsp)
leaq 0x18(%rsp), %r12
leaq 0x38(%rsp), %r14
pushq $0x8
popq %r15
movl %ebp, %edi
movq %rbx, %rsi
leaq 0x16887(%rip), %rdx     # 0x9ce39
leaq 0x56227(%rip), %rcx     # 0xdc7e0
xorl %r8d, %r8d
callq 0x8790
movl %eax, %r13d
shll $0x18, %eax
cmpl $0xff000000, %eax       # imm = 0xFF000000
je 0x86649
movq 0x569bb(%rip), %rax     # 0xdcf90
movq (%rax), %rsi
testq %rsi, %rsi
leaq 0x1383d(%rip), %rax     # 0x99e1f
cmoveq %rax, %rsi
movq %r12, %rdi
leaq 0xf(%rsp), %rdx
callq 0x21904
movq %r14, %rdi
movq %r12, %rsi
movl %r15d, %edx
callq 0x87e0
movsbl %r13b, %r13d
movq %r12, %rdi
callq 0x8978
cmpl $0x3f, %r13d
je 0x86635
cmpl $0x6f, %r13d
je 0x86624
cmpl $0x68, %r13d
jne 0x8663c
jmp 0x866fb
movq %r14, %rdi
leaq 0x58a42(%rip), %rsi     # 0xdf070
callq 0x8570
jmp 0x8663c
movb $0x1, %al
movq %rax, 0x10(%rsp)
movq %r14, %rdi
callq 0x8220
jmp 0x865a6
movq 0x56970(%rip), %r14     # 0xdcfc0
movslq (%r14), %rax
subl %eax, %ebp
cmpl $0x5, %ebp
jl 0x86715
jne 0x8671e
testb $0x1, 0x10(%rsp)
jne 0x86731
leal 0x1(%rax), %ecx
movl %ecx, (%r14)
movq (%rbx,%rax,8), %rsi
leaq 0x58950(%rip), %rdi     # 0xdefd0
callq 0x88f0
movslq (%r14), %rax
leal 0x1(%rax), %ecx
movl %ecx, (%r14)
movq (%rbx,%rax,8), %rsi
leaq 0x58957(%rip), %rdi     # 0xdeff0
callq 0x88f0
movslq (%r14), %rax
leal 0x1(%rax), %ecx
movl %ecx, (%r14)
movq (%rbx,%rax,8), %rsi
leaq 0x5895e(%rip), %rdi     # 0xdf010
callq 0x88f0
movslq (%r14), %rax
leal 0x1(%rax), %ecx
movl %ecx, (%r14)
movq (%rbx,%rax,8), %rsi
leaq 0x58965(%rip), %rdi     # 0xdf030
callq 0x88f0
movslq (%r14), %rax
leal 0x1(%rax), %ecx
movl %ecx, (%r14)
movq (%rbx,%rax,8), %rsi
leaq 0x5896c(%rip), %rdi     # 0xdf050
callq 0x88f0
addq $0x1b8, %rsp            # imm = 0x1B8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x568b6(%rip), %rdi     # 0xdcfb8
leaq 0x2a1c6(%rip), %rsi     # 0xb08cf
callq 0x8480
xorl %edi, %edi
callq 0x8540
leaq 0xfc06(%rip), %rsi      # 0x96322
jmp 0x86725
leaq 0xfc10(%rip), %rsi      # 0x96335
movq 0x568bc(%rip), %rdi     # 0xdcfe8
callq 0x8480
movq 0x56880(%rip), %rdi     # 0xdcfb8
leaq 0xd20e(%rip), %rsi      # 0x9394d
callq 0x8480
leaq 0x2a184(%rip), %rsi     # 0xb08cf
movq %rax, %rdi
callq 0x8480
pushq $0x1
popq %rdi
callq 0x8540
jmp 0x8675d
movq %rax, %rbx
leaq 0x38(%rsp), %rdi
callq 0x8220
jmp 0x8677e
movq %rax, %rbx
jmp 0x8677e
movq %rax, %rbx
leaq 0x18(%rsp), %rdi
callq 0x8978
movq %rbx, %rdi
callq 0x8870