// File: /workspace/github_cpp_makefile_star2_O3/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
movl %edi, %ebp
leaq 0xa0(%rsp), %rcx
movq %rcx, -0x10(%rcx)
xorl %eax, %eax
movq %rax, -0x8(%rcx)
movb $0x0, (%rcx)
movq %rax, 0x10(%rsp)
xorpd %xmm0, %xmm0
movapd %xmm0, (%rsp)
leaq 0x36301(%rip), %rdx     # 0xddf3d
leaq 0x5989d(%rip), %rcx     # 0x1014e0
movq %rsi, 0x28(%rsp)
xorl %r8d, %r8d
callq 0x8770
movl %eax, %r14d
shll $0x18, %r14d
cmpl $0xff000000, %r14d      # imm = 0xFF000000
jne 0xa7c76
movq 0x5a359(%rip), %rax     # 0x101fc0
movl (%rax), %eax
cmpl %ebp, %eax
jl 0xa7ed5
jmp 0xa7f9a
leaq 0x40(%rsp), %rbx
movq $0x0, 0x20(%rsp)
leaq 0x30(%rsp), %r15
leaq 0xc8(%rsp), %r12
movq 0x5a2e8(%rip), %rax     # 0x101f80
movq (%rax), %r13
testq %r13, %r13
leaq 0x25d26(%rip), %rax     # 0xcd9cb
cmoveq %rax, %r13
movq %rbx, 0x30(%rsp)
movq %r13, %rdi
callq 0x81f0
leaq (%rax,%r13), %rdx
movq %r15, %rdi
movq %r13, %rsi
callq 0x28a52
movq %r12, %rdi
movq %r15, %rsi
movl $0x8, %edx
callq 0x87b0
movq 0x30(%rsp), %rdi
cmpq %rbx, %rdi
je 0xa7cec
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x8480
sarl $0x18, %r14d
cmpl $0x6d, %r14d
jle 0xa7e42
cmpl $0x6e, %r14d
je 0xa7e51
cmpl $0x73, %r14d
jne 0xa7e6c
movq %r12, %rdi
leaq 0x90(%rsp), %rsi
callq 0x8560
leaq 0xb0(%rsp), %r14
movq %r14, %rdi
leaq 0x90(%rsp), %rsi
movl $0x2c, %edx
callq 0x4d650
movq 0x10(%rsp), %rax
movapd 0xb0(%rsp), %xmm0
movq 0xc0(%rsp), %rcx
movq %rcx, 0x10(%rsp)
movaps (%rsp), %xmm1
movapd %xmm0, (%rsp)
movaps %xmm1, 0x30(%rsp)
movq %rax, 0x40(%rsp)
xorpd %xmm0, %xmm0
movapd %xmm0, 0xb0(%rsp)
movq $0x0, 0xc0(%rsp)
movq %r15, %rdi
callq 0x2e784
movq %r14, %rdi
callq 0x2e784
movq (%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 0x2ba06
leaq 0x70(%rsp), %rdi
callq 0x4d578
cvttsd2si %xmm0, %eax
movl %eax, 0x5a7ed(%rip)     # 0x1025b8
movq 0x70(%rsp), %rdi
leaq 0x80(%rsp), %rax
cmpq %rax, %rdi
je 0xa7ded
movq 0x80(%rsp), %rsi
incq %rsi
callq 0x8480
movq (%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 0x2ba06
leaq 0x50(%rsp), %rdi
callq 0x4d578
cvttsd2si %xmm0, %eax
movl %eax, 0x5a798(%rip)     # 0x1025bc
movq 0x50(%rsp), %rdi
leaq 0x60(%rsp), %rax
cmpq %rax, %rdi
je 0xa7e6c
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x8480
jmp 0xa7e6c
cmpl $0x3f, %r14d
jne 0xa7e62
movb $0x1, %al
movq %rax, 0x20(%rsp)
jmp 0xa7e6c
movq %r12, %rdi
leaq 0x5bf25(%rip), %rsi     # 0x103d80
callq 0x8560
jmp 0xa7e6c
cmpl $0x68, %r14d
je 0xa7f80
movq %r12, %rdi
movq 0x5a122(%rip), %rsi     # 0x101f98
callq 0x8620
leaq 0x140(%rsp), %rdi
callq 0x8190
movl %ebp, %edi
movq 0x28(%rsp), %rsi
leaq 0x360a7(%rip), %rdx     # 0xddf3d
leaq 0x59643(%rip), %rcx     # 0x1014e0
xorl %r8d, %r8d
callq 0x8770
movl %eax, %r14d
shll $0x18, %r14d
cmpl $0xff000000, %r14d      # imm = 0xFF000000
jne 0xa7c91
movq 0x5a100(%rip), %rax     # 0x101fc0
movl (%rax), %eax
cmpl %ebp, %eax
jge 0xa7f9a
testb $0x1, 0x20(%rsp)
jne 0xa7fb2
leaq 0xd8(%rsp), %r13
movq 0x5a0dc(%rip), %rbx     # 0x101fc0
leaq 0xc8(%rsp), %r14
leaq 0x30(%rsp), %r15
leaq 0x5be70(%rip), %r12     # 0x103d68
leal 0x1(%rax), %ecx
movl %ecx, (%rbx)
cltq
movq 0x28(%rsp), %rcx
movq (%rcx,%rax,8), %rsi
movq %r14, %rdi
movq %r15, %rdx
callq 0x287de
movq %r12, %rdi
movq %r14, %rsi
callq 0x3e784
movq 0xc8(%rsp), %rdi
cmpq %r13, %rdi
je 0xa7f3b
movq 0xd8(%rsp), %rsi
incq %rsi
callq 0x8480
movl (%rbx), %eax
cmpl %ebp, %eax
jl 0xa7ef8
movq %rsp, %rdi
callq 0x2e784
movq 0x90(%rsp), %rdi
leaq 0xa0(%rsp), %rax
cmpq %rax, %rdi
je 0xa7f6e
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 0x5a031(%rip), %rdi     # 0x101fb8
leaq 0x35fbc(%rip), %rsi     # 0xddf4a
callq 0x8460
xorl %edi, %edi
callq 0x8530
movq 0x5a047(%rip), %rdi     # 0x101fe8
leaq 0x23f3a(%rip), %rsi     # 0xcbee2
movl $0x12, %edx
callq 0x84e0
movq 0x59fff(%rip), %rdi     # 0x101fb8
leaq 0x2347d(%rip), %rsi     # 0xcb43d
movl $0x1, %edx
callq 0x84e0
movq 0x59fe7(%rip), %rdi     # 0x101fb8
leaq 0x35f72(%rip), %rsi     # 0xddf4a
callq 0x8460
movl $0x1, %edi
callq 0x8530
jmp 0xa806f
jmp 0xa8049
movq %rax, %rbx
movq 0x50(%rsp), %rdi
leaq 0x60(%rsp), %rax
cmpq %rax, %rdi
je 0xa804c
movq 0x60(%rsp), %rsi
jmp 0xa8024
movq %rax, %rbx
movq 0x70(%rsp), %rdi
leaq 0x80(%rsp), %rax
cmpq %rax, %rdi
je 0xa804c
movq 0x80(%rsp), %rsi
incq %rsi
callq 0x8480
jmp 0xa804c
jmp 0xa8049
jmp 0xa806f
movq %rbx, %rcx
movq %rax, %rbx
movq 0x30(%rsp), %rdi
cmpq %rcx, %rdi
je 0xa8094
movq 0x40(%rsp), %rsi
jmp 0xa808c
movq %rax, %rbx
movq 0x59f45(%rip), %rsi     # 0x101f98
leaq 0xc8(%rsp), %rdi
callq 0x8620
leaq 0x140(%rsp), %rdi
callq 0x8190
jmp 0xa8094
movq %rax, %rbx
jmp 0xa8094
movq %rax, %rbx
movq 0xc8(%rsp), %rdi
cmpq %r13, %rdi
je 0xa8094
movq 0xd8(%rsp), %rsi
incq %rsi
callq 0x8480
movq %rsp, %rdi
callq 0x2e784
movq 0x90(%rsp), %rdi
leaq 0xa0(%rsp), %rax
cmpq %rax, %rdi
je 0xa80c1
movq 0xa0(%rsp), %rsi
incq %rsi
callq 0x8480
movq %rbx, %rdi
callq 0x8840
nop