// File: /workspace/github_cpp_makefile_star2_O1/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 $0x248, %rsp            # imm = 0x248
movq %rsi, %rbx
movl %edi, %ebp
leaq 0xa0(%rsp), %rax
movq %rax, -0x10(%rax)
xorl %ecx, %ecx
movq %rcx, -0x8(%rax)
movb $0x0, (%rax)
movq $0x0, 0x8(%rsp)
movq %rcx, 0x40(%rsp)
xorpd %xmm0, %xmm0
movapd %xmm0, 0x30(%rsp)
leaq 0x3db2f(%rip), %rdx     # 0xe640b
leaq 0x61bfd(%rip), %rcx     # 0x10a4e0
xorl %r8d, %r8d
callq 0x8770
movl %eax, %r14d
shll $0x18, %r14d
cmpl $0xff000000, %r14d      # imm = 0xFF000000
je 0xa8b53
movq $0x0, 0x8(%rsp)
leaq 0x10(%rsp), %r15
leaq 0xc8(%rsp), %r12
movq 0x62664(%rip), %rax     # 0x10af80
movq (%rax), %r13
testq %r13, %r13
leaq 0x29356(%rip), %rax     # 0xd1c7f
cmoveq %rax, %r13
leaq 0x20(%rsp), %rax
movq %rax, 0x10(%rsp)
movq %r13, %rdi
callq 0x81f0
leaq (%rax,%r13), %rdx
movq %r15, %rdi
movq %r13, %rsi
callq 0x28952
movq %r12, %rdi
movq %r15, %rsi
movl $0x8, %edx
callq 0x87b0
movq 0x10(%rsp), %rdi
leaq 0x20(%rsp), %rax
cmpq %rax, %rdi
je 0xa897a
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x8480
sarl $0x18, %r14d
cmpl $0x6d, %r14d
jle 0xa8ade
cmpl $0x6e, %r14d
je 0xa8aed
cmpl $0x73, %r14d
jne 0xa8b08
movq %r12, %rdi
leaq 0x90(%rsp), %rsi
callq 0x8560
leaq 0xb0(%rsp), %r14
movq %r14, %rdi
leaq 0x90(%rsp), %rsi
movl $0x2c, %edx
callq 0x50624
xorpd %xmm0, %xmm0
movapd %xmm0, 0x10(%rsp)
movapd 0x30(%rsp), %xmm0
movq 0x40(%rsp), %rax
movups 0xb0(%rsp), %xmm1
movaps %xmm1, 0x30(%rsp)
movq 0xc0(%rsp), %rcx
movq %rcx, 0x40(%rsp)
movaps 0x10(%rsp), %xmm1
movapd %xmm0, 0x10(%rsp)
movq %rax, 0x20(%rsp)
movups %xmm1, 0xb0(%rsp)
movq $0x0, 0xc0(%rsp)
movq %r15, %rdi
callq 0x3123c
movq %r14, %rdi
callq 0x3123c
movq 0x30(%rsp), %rax
leaq 0x80(%rsp), %rcx
movq %rcx, 0x70(%rsp)
movq (%rax), %rsi
movq 0x8(%rax), %rdx
addq %rsi, %rdx
leaq 0x70(%rsp), %rdi
callq 0x2e45c
leaq 0x70(%rsp), %rdi
callq 0x5054c
cvttsd2si %xmm0, %eax
movl %eax, 0x62b52(%rip)     # 0x10b5b8
movq 0x70(%rsp), %rdi
leaq 0x80(%rsp), %rax
cmpq %rax, %rdi
je 0xa8a88
movq 0x80(%rsp), %rsi
incq %rsi
callq 0x8480
movq 0x30(%rsp), %rax
leaq 0x60(%rsp), %rcx
movq %rcx, 0x50(%rsp)
movq 0x20(%rax), %rsi
movq 0x28(%rax), %rdx
addq %rsi, %rdx
leaq 0x50(%rsp), %rdi
callq 0x2e45c
leaq 0x50(%rsp), %rdi
callq 0x5054c
cvttsd2si %xmm0, %eax
movl %eax, 0x62afc(%rip)     # 0x10b5bc
movq 0x50(%rsp), %rdi
leaq 0x60(%rsp), %rax
cmpq %rax, %rdi
je 0xa8b08
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x8480
jmp 0xa8b08
cmpl $0x3f, %r14d
jne 0xa8afe
movb $0x1, %al
movq %rax, 0x8(%rsp)
jmp 0xa8b08
movq %r12, %rdi
leaq 0x64279(%rip), %rsi     # 0x10cd70
callq 0x8560
jmp 0xa8b08
cmpl $0x68, %r14d
je 0xa8c37
movq %r12, %rdi
movq 0x62486(%rip), %rsi     # 0x10af98
callq 0x8620
leaq 0x140(%rsp), %rdi
callq 0x8190
movl %ebp, %edi
movq %rbx, %rsi
leaq 0x3d8db(%rip), %rdx     # 0xe640b
leaq 0x619a9(%rip), %rcx     # 0x10a4e0
xorl %r8d, %r8d
callq 0x8770
movl %eax, %r14d
shll $0x18, %r14d
cmpl $0xff000000, %r14d      # imm = 0xFF000000
jne 0xa8915
movq 0x62466(%rip), %r13     # 0x10afc0
cmpl %ebp, (%r13)
movq 0x8(%rsp), %r14
jl 0xa8b80
movb $0x1, %r14b
movq 0x62479(%rip), %rdi     # 0x10afe8
leaq 0x2563c(%rip), %rsi     # 0xce1b2
movl $0x12, %edx
callq 0x84e0
testb $0x1, %r14b
jne 0xa8c51
movl (%r13), %eax
cmpl %ebp, %eax
jge 0xa8bf6
leaq 0xc8(%rsp), %r14
leaq 0x10(%rsp), %r15
leaq 0x641b2(%rip), %r12     # 0x10cd58
leal 0x1(%rax), %ecx
movl %ecx, (%r13)
cltq
movq (%rbx,%rax,8), %rsi
movq %r14, %rdi
movq %r15, %rdx
callq 0x286de
movq %r12, %rdi
movq %r14, %rsi
callq 0x416a6
movq 0xc8(%rsp), %rdi
leaq 0xd8(%rsp), %rax
cmpq %rax, %rdi
je 0xa8bee
movq 0xd8(%rsp), %rsi
incq %rsi
callq 0x8480
movl (%r13), %eax
cmpl %ebp, %eax
jl 0xa8ba6
leaq 0x30(%rsp), %rdi
callq 0x3123c
movq 0x90(%rsp), %rdi
leaq 0xa0(%rsp), %rax
cmpq %rax, %rdi
je 0xa8c25
movq 0xa0(%rsp), %rsi
incq %rsi
callq 0x8480
addq $0x248, %rsp            # imm = 0x248
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x6237a(%rip), %rdi     # 0x10afb8
leaq 0x3d7d3(%rip), %rsi     # 0xe6418
callq 0x8460
xorl %edi, %edi
callq 0x8530
movq 0x62360(%rip), %rdi     # 0x10afb8
leaq 0x23a1e(%rip), %rsi     # 0xcc67d
movl $0x1, %edx
callq 0x84e0
movq 0x62348(%rip), %rdi     # 0x10afb8
leaq 0x3d7a1(%rip), %rsi     # 0xe6418
callq 0x8460
movl $0x1, %edi
callq 0x8530
jmp 0xa8cf3
jmp 0xa8d19
movq %rax, %r14
movq 0x50(%rsp), %rdi
leaq 0x60(%rsp), %rax
cmpq %rax, %rdi
je 0xa8d1c
movq 0x60(%rsp), %rsi
jmp 0xa8cc3
movq %rax, %r14
movq 0x70(%rsp), %rdi
leaq 0x80(%rsp), %rax
cmpq %rax, %rdi
je 0xa8d1c
movq 0x80(%rsp), %rsi
incq %rsi
callq 0x8480
jmp 0xa8d1c
jmp 0xa8d19
jmp 0xa8cf3
movq %rax, %r14
movq 0xc8(%rsp), %rdi
leaq 0xd8(%rsp), %rax
cmpq %rax, %rdi
je 0xa8d3d
movq 0xd8(%rsp), %rsi
jmp 0xa8d0f
movq %rax, %r14
jmp 0xa8d3d
movq %rax, %r14
movq 0x10(%rsp), %rdi
leaq 0x20(%rsp), %rax
cmpq %rax, %rdi
je 0xa8d3d
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x8480
jmp 0xa8d3d
movq %rax, %r14
movq 0x62275(%rip), %rsi     # 0x10af98
leaq 0xc8(%rsp), %rdi
callq 0x8620
leaq 0x140(%rsp), %rdi
callq 0x8190
leaq 0x30(%rsp), %rdi
callq 0x3123c
movq 0x90(%rsp), %rdi
leaq 0xa0(%rsp), %rax
cmpq %rax, %rdi
je 0xa8d6c
movq 0xa0(%rsp), %rsi
incq %rsi
callq 0x8480
movq %r14, %rdi
callq 0x8840