// File: /workspace/github_cpp_makefile_star2_O2/Se6[P]CmdLineArgs/./CmdLineArgs.h
// Function: CmdLineArgs::getParam(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, char, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
std::string CmdLineArgs::getParam(const std::string &long_name, char short_name, const std::string &default_value, const std::string &desc)
{
    std::string val;
    addUsage(long_name, short_name, "\"" + default_value + "\"", desc);

    // 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);

        return val;
    }

    // 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;
        args_.erase(pos);

        return val;
    }

    // did not find anything:
    return default_value;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x88, %rsp
movq %r9, %r13
movq %r8, %r12
movl %ecx, %ebp
movq %rdx, %r15
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x18(%rsp), %rax
movq %rax, -0x10(%rax)
andq $0x0, -0x8(%rax)
movb $0x0, (%rax)
leaq 0x44bc(%rip), %rsi      # 0x8032
leaq 0x28(%rsp), %rdi
movq %r8, %rdx
callq 0x554c
leaq 0x44a8(%rip), %rdx      # 0x8032
leaq 0x48(%rsp), %rdi
leaq 0x28(%rsp), %rsi
callq 0x552d
movsbl %bpl, %ebp
leaq 0x48(%rsp), %rcx
movq %r14, %rdi
movq %r15, %rsi
movl %ebp, %edx
movq %r13, %r8
callq 0x39bc
leaq 0x48(%rsp), %rdi
callq 0x30e0
leaq 0x28(%rsp), %rdi
callq 0x30e0
movq %r14, %rdi
movq %r15, %rsi
callq 0x3780
movq 0x8(%r14), %rcx
cmpq %rcx, %rax
je 0x3c12
leaq 0x40(%rax), %rdx
cmpq %rcx, %rdx
ja 0x3cf6
movq %r14, %rdi
movq %rax, %rsi
callq 0x5528
movq %rax, %r15
leaq 0x8(%rsp), %rdi
movq %rax, %rsi
callq 0x3130
movq %r14, %rdi
movq %r15, %rsi
callq 0x5528
jmp 0x3c94
movq %r14, %rdi
movl %ebp, %esi
callq 0x3862
movq %rax, %r15
movq 0x8(%r14), %rax
cmpq %rax, %r15
je 0x3c4c
leaq 0x40(%r15), %rcx
cmpq %rax, %rcx
ja 0x3d55
cmpq $0x2, 0x8(%r15)
jne 0x3c59
movq %r14, %rdi
movq %r15, %rsi
callq 0x5528
movq %rax, %r15
jmp 0x3c7c
movq %rbx, %rdi
movq %r12, %rsi
callq 0x32a0
jmp 0x3cd7
pushq $0x1
popq %r12
movq %r15, %rdi
movl %ebp, %esi
movq %r12, %rdx
callq 0x3280
movq %r15, %rdi
movq %rax, %rsi
movq %r12, %rdx
callq 0x3040
addq $0x20, %r15
leaq 0x8(%rsp), %rdi
movq %r15, %rsi
callq 0x3130
movq %r14, %rdi
movq %r15, %rsi
callq 0x5528
leaq 0x10(%rbx), %rax
movq %rax, (%rbx)
movq 0x8(%rsp), %rcx
leaq 0x18(%rsp), %rdx
cmpq %rdx, %rcx
je 0x3cb8
movq %rcx, (%rbx)
movq 0x18(%rsp), %rax
movq %rax, 0x10(%rbx)
jmp 0x3cbe
movups (%rdx), %xmm0
movups %xmm0, (%rax)
movq 0x10(%rsp), %rax
movq %rax, 0x8(%rbx)
movq %rdx, 0x8(%rsp)
andq $0x0, 0x10(%rsp)
movb $0x0, 0x18(%rsp)
leaq 0x8(%rsp), %rdi
callq 0x30e0
movq %rbx, %rax
addq $0x88, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
pushq $0x10
popq %rdi
callq 0x3110
movq %rax, %r14
leaq 0x432c(%rip), %rsi      # 0x8034
leaq 0x28(%rsp), %rdi
movq %r15, %rdx
callq 0x554c
leaq 0x432d(%rip), %rdx      # 0x8049
leaq 0x48(%rsp), %rdi
leaq 0x28(%rsp), %rsi
callq 0x552d
movb $0x1, %bpl
leaq 0x48(%rsp), %rsi
movq %r14, %rdi
callq 0x3320
xorl %ebp, %ebp
movq 0x82ac(%rip), %rsi      # 0xbff0
movq 0x8275(%rip), %rdx      # 0xbfc0
movq %r14, %rdi
callq 0x3370
jmp 0x3dcc
pushq $0x10
popq %rdi
callq 0x3110
movq %rax, %r14
leaq 0x78(%rsp), %rax
movq %rax, -0x10(%rax)
leaq 0x68(%rsp), %rdi
pushq $0x1
popq %rsi
movl %ebp, %edx
callq 0x3250
leaq 0x42e6(%rip), %rsi      # 0x8065
leaq 0x28(%rsp), %rdi
leaq 0x68(%rsp), %rdx
callq 0x55c2
leaq 0x42b4(%rip), %rdx      # 0x8049
leaq 0x48(%rsp), %rdi
leaq 0x28(%rsp), %rsi
callq 0x552d
movb $0x1, %bpl
leaq 0x48(%rsp), %rsi
movq %r14, %rdi
callq 0x3320
xorl %ebp, %ebp
movq 0x8233(%rip), %rsi      # 0xbff0
movq 0x81fc(%rip), %rdx      # 0xbfc0
movq %r14, %rdi
callq 0x3370
movq %rax, %rbx
leaq 0x48(%rsp), %rdi
callq 0x30e0
jmp 0x3de1
movq %rax, %rbx
movb $0x1, %bpl
leaq 0x28(%rsp), %rdi
callq 0x30e0
jmp 0x3df3
movq %rax, %rbx
movb $0x1, %bpl
leaq 0x68(%rsp), %rdi
jmp 0x3e18
jmp 0x3e53
jmp 0x3e24
movq %rax, %rbx
leaq 0x48(%rsp), %rdi
callq 0x30e0
jmp 0x3e13
movq %rax, %rbx
movb $0x1, %bpl
leaq 0x28(%rsp), %rdi
callq 0x30e0
testb %bpl, %bpl
jne 0x3e27
jmp 0x3e56
movq %rax, %rbx
movq %r14, %rdi
callq 0x3190
jmp 0x3e56
jmp 0x3e53
movq %rax, %rbx
leaq 0x48(%rsp), %rdi
callq 0x30e0
jmp 0x3e45
movq %rax, %rbx
leaq 0x28(%rsp), %rdi
callq 0x30e0
jmp 0x3e56
jmp 0x3e53
movq %rax, %rbx
leaq 0x8(%rsp), %rdi
callq 0x30e0
movq %rbx, %rdi
callq 0x3390