// File: /workspace/github_cpp_makefile_star2_O2/millanek[P]evo/evo_Dmin_combine.cpp
// Function: parseDminCombineOptions(int, char**)
void parseDminCombineOptions(int argc, char** argv) {
    bool die = false; string subsetArgString; std::vector<string> subsetArgs;
    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 'n': arg >> opt::runName; break;
            case 's': arg >> subsetArgString; subsetArgs = split(subsetArgString, ',');
                opt::subsetStart = (int)stringToDouble(subsetArgs[0]); opt::subsetLength = (int)stringToDouble(subsetArgs[1]);  break;
            case 'h':
                std::cout << DMINCOMBINE_USAGE_MESSAGE;
                exit(EXIT_SUCCESS);
        }
    }
    
    
    int nFilenames = argc - optind;
    if (nFilenames < 1) {
        std::cerr << "missing arguments\n";
        die = true;
    }
    
    if (die) {
        std::cout << "\n" << DMINCOMBINE_USAGE_MESSAGE;
        exit(EXIT_FAILURE);
    }
    
    // Parse the input filenames
    while (optind < argc) {
        opt::dminFiles.push_back(argv[optind++]);
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x228, %rsp            # imm = 0x228
movq %rsi, %rbx
movl %edi, %ebp
leaq 0x38(%rsp), %rax
movq %rax, -0x10(%rax)
andq $0x0, -0x8(%rax)
movb $0x0, (%rax)
leaq 0x10(%rsp), %rax
andq $0x0, 0x10(%rax)
xorpd %xmm0, %xmm0
movapd %xmm0, (%rax)
movq $0x0, 0x8(%rsp)
leaq 0x60e92(%rip), %r12     # 0xdc500
leaq 0x68(%rsp), %r13
leaq 0xa8(%rsp), %r14
movl %ebp, %edi
movq %rbx, %rsi
leaq 0x3305d(%rip), %rdx     # 0xae6e4
movq %r12, %rcx
xorl %r8d, %r8d
callq 0x8790
movl %eax, %r15d
shll $0x18, %eax
cmpl $0xff000000, %eax       # imm = 0xFF000000
je 0x7b7c5
movq 0x618e6(%rip), %rax     # 0xdcf90
movq (%rax), %rsi
testq %rsi, %rsi
leaq 0x1e768(%rip), %rax     # 0x99e1f
cmoveq %rax, %rsi
movq %r13, %rdi
leaq 0x7(%rsp), %rdx
callq 0x21904
movq %r14, %rdi
movq %r13, %rsi
pushq $0x8
popq %rdx
callq 0x87e0
movsbl %r15b, %r15d
movq %r13, %rdi
callq 0x8978
cmpl $0x3f, %r15d
je 0x7b7a0
cmpl $0x6e, %r15d
je 0x7b7a9
cmpl $0x73, %r15d
je 0x7b70b
cmpl $0x68, %r15d
jne 0x7b7b8
jmp 0x7b852
movq %r14, %rdi
leaq 0x28(%rsp), %rsi
callq 0x8570
leaq 0x88(%rsp), %r15
movq %r13, %rdi
leaq 0x28(%rsp), %rsi
pushq $0x2c
popq %rdx
callq 0x40349
leaq 0x10(%rsp), %rdi
movq %r13, %rsi
callq 0x2f6c0
movq %r13, %rdi
callq 0x28a08
movq 0x10(%rsp), %rsi
movq %r15, %rdi
callq 0x8600
movq %r15, %rdi
callq 0x402aa
cvttsd2si %xmm0, %eax
movl %eax, 0x61e8c(%rip)     # 0xdd5f0
movq %r15, %rdi
callq 0x8978
movq 0x10(%rsp), %rsi
addq $0x20, %rsi
leaq 0x48(%rsp), %rdi
callq 0x8600
leaq 0x48(%rsp), %r15
movq %r15, %rdi
callq 0x402aa
cvttsd2si %xmm0, %eax
movl %eax, 0x61e5e(%rip)     # 0xdd5f4
movq %r15, %rdi
callq 0x8978
jmp 0x7b7b8
movb $0x1, %al
movq %rax, 0x8(%rsp)
jmp 0x7b7b8
movq %r14, %rdi
leaq 0x635f5(%rip), %rsi     # 0xdeda8
callq 0x8570
movq %r14, %rdi
callq 0x8220
jmp 0x7b67b
movq 0x617f4(%rip), %r13     # 0xdcfc0
movl (%r13), %eax
cmpl %ebp, %eax
jge 0x7b86c
testb $0x1, 0x8(%rsp)
jne 0x7b87f
leaq 0xa8(%rsp), %r14
leaq 0x68(%rsp), %r15
leaq 0x63599(%rip), %r12     # 0xded90
cmpl %ebp, %eax
jge 0x7b82c
leal 0x1(%rax), %ecx
movl %ecx, (%r13)
cltq
movq (%rbx,%rax,8), %rsi
movq %r14, %rdi
movq %r15, %rdx
callq 0x21904
movq %r12, %rdi
movq %r14, %rsi
callq 0x3490e
movq %r14, %rdi
callq 0x8978
movl (%r13), %eax
jmp 0x7b7f7
leaq 0x10(%rsp), %rdi
callq 0x28a08
leaq 0x28(%rsp), %rdi
callq 0x8978
addq $0x228, %rsp            # imm = 0x228
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x6175f(%rip), %rdi     # 0xdcfb8
leaq 0x32e91(%rip), %rsi     # 0xae6f1
callq 0x8480
xorl %edi, %edi
callq 0x8540
movq 0x61775(%rip), %rdi     # 0xdcfe8
leaq 0x1aaa8(%rip), %rsi     # 0x96322
callq 0x8480
movq 0x61732(%rip), %rdi     # 0xdcfb8
leaq 0x180c0(%rip), %rsi     # 0x9394d
callq 0x8480
leaq 0x32e58(%rip), %rsi     # 0xae6f1
movq %rax, %rdi
callq 0x8480
pushq $0x1
popq %rdi
callq 0x8540
jmp 0x7b8da
jmp 0x7b8ee
movq %rax, %rbx
leaq 0x48(%rsp), %rdi
jmp 0x7b8c2
movq %rax, %rbx
leaq 0x88(%rsp), %rdi
callq 0x8978
jmp 0x7b8f1
jmp 0x7b8ee
movq %rax, %rbx
leaq 0xa8(%rsp), %rdi
jmp 0x7b8e7
jmp 0x7b8da
movq %rax, %rbx
jmp 0x7b8fe
movq %rax, %rbx
leaq 0x68(%rsp), %rdi
callq 0x8978
jmp 0x7b8fe
movq %rax, %rbx
leaq 0xa8(%rsp), %rdi
callq 0x8220
leaq 0x10(%rsp), %rdi
callq 0x28a08
leaq 0x28(%rsp), %rdi
callq 0x8978
movq %rbx, %rdi
callq 0x8870