// File: /workspace/github_cpp_makefile_star2_O2/Se6[P]CmdLineArgs/./CmdLineArgs.h
// Function: CmdLineArgs::getParams(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, 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>>>> const&, bool, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, char)
std::vector<std::string> CmdLineArgs::getParams(const std::string &long_name, char short_name,
                                                const std::vector<std::string> &default_vals, bool enforce_default_size,
                                                const std::string &desc, char separator)
{
    // Join the default values with the separator for the usage
    //
    std::ostringstream oss;
    for(unsigned int i=0; i!=default_vals.size(); i++){
        if(i>0)
            oss << ",";
        oss << default_vals[i];
    }
    addUsage(long_name,short_name,oss.str(),desc);

    std::string val;
    std::vector<std::string> vec;

    // First search the long names:
    //
    auto pos = findLongName(long_name);
    if( pos != args_.end() ) {

        if( pos+2  > args_.end() )
            throw std::runtime_error("\nError: parameter --" + long_name + " is not followed by a value");

        pos = args_.erase(pos);
        val = *pos;
        args_.erase(pos);

        vec = split(val, separator);
    }

    // Then search the short names:
    //
    pos = findShortName(short_name);
    if( pos != args_.end() ) {

        if( pos+2 > args_.end() )
            throw std::runtime_error("\nError: parameter -" + std::string(1,short_name) + " is not followed by a value");

        if( pos->size() == 2 )
            pos = args_.erase(pos);
        else {
            pos->erase(pos->find(short_name, 1), 1);
            ++pos;
        }
        val = *pos;
        vec = split(val, separator);
    }

    if (vec.empty())
        return default_vals;

    if ( enforce_default_size && vec.size() == 1 )
        for( unsigned i=1; i<default_vals.size(); ++i)
            vec.push_back(vec[0]);

    if ( enforce_default_size && vec.size() != default_vals.size() ) {
        std::ostringstream oss;
        oss << "\nError: parameter --" << long_name;
        if ( short_name != ' ' )
            oss << " (-" << std::string(1,short_name) << ")";
        oss << " is not followed by " << default_vals.size() << " values as expected.";
        throw std::runtime_error(oss.str());
    }

    return vec;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x388, %rsp            # imm = 0x388
movl %r9d, 0x34(%rsp)
movq %r8, %rbx
movl %ecx, 0xc(%rsp)
movq %rdx, 0x28(%rsp)
movq %rsi, %rbp
movq %rdi, %r15
leaq 0x210(%rsp), %r12
movq %r12, %rdi
callq 0x3290
xorl %r13d, %r13d
leaq 0x40c9(%rip), %r14      # 0x8079
movl %r13d, %r13d
movq (%rbx), %rax
movq 0x8(%rbx), %rcx
subq %rax, %rcx
sarq $0x5, %rcx
cmpq %r13, %rcx
je 0x3ff0
testq %r13, %r13
je 0x3fd9
movq %r12, %rdi
movq %r14, %rsi
callq 0x3210
movq (%rbx), %rax
movq %r13, %rsi
shlq $0x5, %rsi
addq %rax, %rsi
movq %r12, %rdi
callq 0x3200
incl %r13d
jmp 0x3fb0
leaq 0x218(%rsp), %rsi
leaq 0x98(%rsp), %rdi
callq 0x32f0
movsbl 0xc(%rsp), %r12d
leaq 0x98(%rsp), %rcx
movq %rbp, %rdi
movq 0x28(%rsp), %r14
movq %r14, %rsi
movl %r12d, %edx
movq 0x3c0(%rsp), %r8
callq 0x39bc
leaq 0x98(%rsp), %rdi
callq 0x30e0
leaq 0x68(%rsp), %rax
movq %rax, -0x10(%rax)
andq $0x0, -0x8(%rax)
movb $0x0, (%rax)
xorps %xmm0, %xmm0
movaps %xmm0, 0x10(%rsp)
andq $0x0, 0x20(%rsp)
movq %rbp, %rdi
movq %r14, %rsi
callq 0x3780
movq 0x8(%rbp), %rcx
movsbl 0x3c8(%rsp), %r13d
cmpq %rcx, %rax
je 0x40dc
leaq 0x40(%rax), %rdx
cmpq %rcx, %rdx
ja 0x4250
movq %rbp, %rdi
movq %rax, %rsi
callq 0x5528
movq %rax, %r14
leaq 0x58(%rsp), %rdi
movq %rax, %rsi
callq 0x3130
movq %rbp, %rdi
movq %r14, %rsi
callq 0x5528
leaq 0x98(%rsp), %rdi
leaq 0x58(%rsp), %rsi
movl %r13d, %edx
callq 0x352c
leaq 0x10(%rsp), %rdi
leaq 0x98(%rsp), %r14
movq %r14, %rsi
callq 0x64ae
movq %r14, %rdi
callq 0x53c2
movq %rbp, %rdi
movl %r12d, %esi
callq 0x3862
movq %rax, %r14
movq 0x8(%rbp), %rax
cmpq %rax, %r14
je 0x417d
leaq 0x40(%r14), %rcx
cmpq %rax, %rcx
ja 0x42ba
cmpq $0x2, 0x8(%r14)
jne 0x411b
movq %rbp, %rdi
movq %r14, %rsi
callq 0x5528
movq %rax, %r14
jmp 0x413e
pushq $0x1
popq %rbp
movq %r14, %rdi
movl %r12d, %esi
movq %rbp, %rdx
callq 0x3280
movq %r14, %rdi
movq %rax, %rsi
movq %rbp, %rdx
callq 0x3040
addq $0x20, %r14
leaq 0x58(%rsp), %rdi
movq %r14, %rsi
callq 0x3130
leaq 0x98(%rsp), %rdi
leaq 0x58(%rsp), %rsi
movl %r13d, %edx
callq 0x352c
leaq 0x10(%rsp), %rdi
leaq 0x98(%rsp), %r14
movq %r14, %rsi
callq 0x64ae
movq %r14, %rdi
callq 0x53c2
movq 0x10(%rsp), %rax
movq 0x18(%rsp), %rcx
cmpq %rcx, %rax
je 0x41cd
cmpb $0x0, 0x34(%rsp)
je 0x41fc
movq %rcx, %rsi
subq %rax, %rsi
cmpq $0x20, %rsi
jne 0x41da
pushq $0x1
popq %rbp
leaq 0x10(%rsp), %r14
movq 0x8(%rbx), %rdx
subq (%rbx), %rdx
movl %ebp, %eax
movq %rdx, %rcx
sarq $0x5, %rcx
cmpq %rax, %rcx
jbe 0x41e3
movq 0x10(%rsp), %rsi
movq %r14, %rdi
callq 0x5396
incl %ebp
jmp 0x41a7
movq %r15, %rdi
movq %rbx, %rsi
callq 0x55e6
jmp 0x421a
movq 0x8(%rbx), %rdx
subq (%rbx), %rdx
jmp 0x41f3
movq 0x10(%rsp), %rax
movq 0x18(%rsp), %rcx
movq %rcx, %rsi
subq %rax, %rsi
cmpq %rdx, %rsi
jne 0x4340
movq %rax, (%r15)
movq %rcx, 0x8(%r15)
movq 0x20(%rsp), %rax
movq %rax, 0x10(%r15)
xorps %xmm0, %xmm0
movaps %xmm0, 0x10(%rsp)
andq $0x0, 0x20(%rsp)
leaq 0x10(%rsp), %rdi
callq 0x53c2
leaq 0x58(%rsp), %rdi
callq 0x30e0
leaq 0x210(%rsp), %rdi
callq 0x3050
movq %r15, %rax
addq $0x388, %rsp            # imm = 0x388
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
pushq $0x10
popq %rdi
callq 0x3110
movq %rax, %r15
leaq 0x3dd2(%rip), %rsi      # 0x8034
leaq 0x38(%rsp), %rdi
movq 0x28(%rsp), %rdx
callq 0x554c
leaq 0x3dd1(%rip), %rdx      # 0x8049
leaq 0x98(%rsp), %rdi
leaq 0x38(%rsp), %rsi
callq 0x552d
movb $0x1, %bpl
leaq 0x98(%rsp), %rsi
movq %r15, %rdi
callq 0x3320
xorl %ebp, %ebp
movq 0x7d4a(%rip), %rsi      # 0xbff0
movq 0x7d13(%rip), %rdx      # 0xbfc0
movq %r15, %rdi
callq 0x3370
jmp 0x43f0
pushq $0x10
popq %rdi
callq 0x3110
movq %rax, %r14
leaq 0x88(%rsp), %rax
movq %rax, -0x10(%rax)
leaq 0x78(%rsp), %rdi
pushq $0x1
popq %rsi
movl %r12d, %edx
callq 0x3250
leaq 0x3d7d(%rip), %rsi      # 0x8065
leaq 0x38(%rsp), %rdi
leaq 0x78(%rsp), %rdx
callq 0x55c2
leaq 0x3d4b(%rip), %rdx      # 0x8049
leaq 0x98(%rsp), %rdi
leaq 0x38(%rsp), %rsi
callq 0x552d
movb $0x1, %bpl
leaq 0x98(%rsp), %rsi
movq %r14, %rdi
callq 0x3320
xorl %ebp, %ebp
movq 0x7cc4(%rip), %rsi      # 0xbff0
movq 0x7c8d(%rip), %rdx      # 0xbfc0
movq %r14, %rdi
callq 0x3370
jmp 0x43f0
leaq 0x98(%rsp), %rdi
callq 0x3290
leaq 0x3ce0(%rip), %rsi      # 0x8034
leaq 0x98(%rsp), %rdi
callq 0x3210
movq %rax, %rdi
movq 0x28(%rsp), %rsi
callq 0x3200
cmpb $0x20, 0xc(%rsp)
jne 0x43f0
leaq 0x3d03(%rip), %rsi      # 0x807f
leaq 0x98(%rsp), %rdi
callq 0x3210
movq 0x8(%rbx), %rsi
subq (%rbx), %rsi
sarq $0x5, %rsi
movq %rax, %rdi
callq 0x3150
leaq 0x3cf1(%rip), %rsi      # 0x8094
movq %rax, %rdi
callq 0x3210
pushq $0x10
popq %rdi
callq 0x3110
movq %rax, %r14
leaq 0xa0(%rsp), %rsi
leaq 0x38(%rsp), %rdi
callq 0x32f0
movb $0x1, %bpl
leaq 0x38(%rsp), %rsi
movq %r14, %rdi
callq 0x3320
xorl %ebp, %ebp
movq 0x7c0f(%rip), %rsi      # 0xbff0
movq 0x7bd8(%rip), %rdx      # 0xbfc0
movq %r14, %rdi
callq 0x3370
leaq 0x3c84(%rip), %rsi      # 0x807b
leaq 0x98(%rsp), %rdi
callq 0x3210
movq %rax, %r14
leaq 0x48(%rsp), %rax
movq %rax, -0x10(%rax)
leaq 0x38(%rsp), %rdi
pushq $0x1
popq %rsi
movl %r12d, %edx
callq 0x3250
leaq 0x38(%rsp), %rsi
movq %r14, %rdi
callq 0x3200
leaq 0x3e9e(%rip), %rsi      # 0x82d2
movq %rax, %rdi
callq 0x3210
leaq 0x38(%rsp), %rdi
callq 0x30e0
jmp 0x4375
movq %rax, %rbx
leaq 0x38(%rsp), %rdi
callq 0x30e0
testb %bpl, %bpl
jne 0x4462
jmp 0x44a4
movq %rax, %rbx
movq %r14, %rdi
callq 0x3190
jmp 0x44a4
movq %rax, %rbx
leaq 0x38(%rsp), %rdi
callq 0x30e0
jmp 0x44a4
jmp 0x44a1
movq %rax, %rbx
leaq 0x98(%rsp), %rdi
callq 0x30e0
jmp 0x4495
movq %rax, %rbx
movb $0x1, %bpl
leaq 0x38(%rsp), %rdi
callq 0x30e0
jmp 0x44bb
movq %rax, %rbx
leaq 0x98(%rsp), %rdi
callq 0x3050
jmp 0x4526
jmp 0x4523
movq %rax, %rbx
movb $0x1, %bpl
leaq 0x78(%rsp), %rdi
callq 0x30e0
testb %bpl, %bpl
jne 0x44fa
jmp 0x4526
movq %rax, %rbx
leaq 0x98(%rsp), %rdi
callq 0x30e0
jmp 0x44e4
movq %rax, %rbx
movb $0x1, %bpl
leaq 0x38(%rsp), %rdi
callq 0x30e0
testb %bpl, %bpl
jne 0x4502
jmp 0x4526
jmp 0x4523
movq %rax, %rbx
movq %r14, %rdi
jmp 0x4505
movq %rax, %rbx
movq %r15, %rdi
callq 0x3190
jmp 0x4526
jmp 0x4523
jmp 0x4523
jmp 0x4523
movq %rax, %rbx
leaq 0x98(%rsp), %rdi
jmp 0x4535
jmp 0x453c
jmp 0x4523
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
callq 0x53c2
leaq 0x58(%rsp), %rdi
callq 0x30e0
jmp 0x453f
movq %rax, %rbx
leaq 0x210(%rsp), %rdi
callq 0x3050
movq %rbx, %rdi
callq 0x3390