// File: /workspace/github_cpp_makefile_star2_O2/meirdev[P]HexViewer/./CLI11.hpp
// Function: CLI::detail::get_names(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&)
inline std::tuple<std::vector<std::string>, std::vector<std::string>, std::string>
get_names(const std::vector<std::string> &input) {

    std::vector<std::string> short_names;
    std::vector<std::string> long_names;
    std::string pos_name;

    for(std::string name : input) {
        if(name.length() == 0)
            continue;
        else if(name.length() > 1 && name[0] == '-' && name[1] != '-') {
            if(name.length() == 2 && valid_first_char(name[1]))
                short_names.emplace_back(1, name[1]);
            else
                throw BadNameString::OneCharName(name);
        } else if(name.length() > 2 && name.substr(0, 2) == "--") {
            name = name.substr(2);
            if(valid_name_string(name))
                long_names.push_back(name);
            else
                throw BadNameString::BadLongName(name);
        } else if(name == "-" || name == "--") {
            throw BadNameString::DashesOnly(name);
        } else {
            if(pos_name.length() > 0)
                throw BadNameString::MultiPositionalNames(name);
            pos_name = name;
        }
    }

    return std::tuple<std::vector<std::string>, std::vector<std::string>, std::string>(
        short_names, long_names, pos_name);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x128, %rsp            # imm = 0x128
movq %rdi, %rbp
xorps %xmm0, %xmm0
leaq 0x50(%rsp), %rcx
andq $0x0, 0x10(%rcx)
leaq 0x30(%rsp), %rdx
andq $0x0, 0x10(%rdx)
leaq 0x78(%rsp), %rax
movq %rax, -0x10(%rax)
andq $0x0, -0x8(%rax)
movaps %xmm0, (%rcx)
movaps %xmm0, (%rdx)
movb $0x0, (%rax)
movq (%rsi), %r12
movq 0x8(%rsi), %rbx
leaq 0x10(%rsp), %r13
leaq 0xd085(%rip), %r15      # 0x1926e
cmpq %rbx, %r12
je 0xc34f
movq %r13, %rdi
movq %r12, %rsi
callq 0x53f0
movq 0x18(%rsp), %rax
testq %rax, %rax
je 0xc2fd
cmpq $0x1, %rax
je 0xc2ba
movq 0x10(%rsp), %rcx
cmpb $0x2d, (%rcx)
jne 0xc22b
movb 0x1(%rcx), %cl
cmpb $0x2d, %cl
jne 0xc30e
cmpq $0x3, %rax
jb 0xc2ba
leaq 0x88(%rsp), %r14
movq %r14, %rdi
movq %r13, %rsi
xorl %edx, %edx
pushq $0x2
popq %rcx
callq 0x52f0
movq %r14, %rdi
leaq 0xd016(%rip), %rsi      # 0x1926d
callq 0xc7ec
movb %al, 0xf(%rsp)
movq %r14, %rdi
callq 0x5180
cmpb $0x0, 0xf(%rsp)
je 0xc2ba
leaq 0x88(%rsp), %r14
movq %r14, %rdi
movq %r13, %rsi
pushq $0x2
popq %rdx
pushq $-0x1
popq %rcx
callq 0x52f0
movq %r13, %rdi
movq %r14, %rsi
callq 0x5360
movq %r14, %rdi
callq 0x5180
movq %r13, %rdi
callq 0xc7f9
testb %al, %al
je 0xc47d
leaq 0x30(%rsp), %rdi
movq %r13, %rsi
callq 0xb27e
jmp 0xc2fd
movq %r13, %rdi
movq %r15, %rsi
callq 0xc7ec
testb %al, %al
jne 0xc399
movq %r13, %rdi
leaq 0xcf96(%rip), %rsi      # 0x1926d
callq 0xc7ec
testb %al, %al
jne 0xc399
cmpq $0x0, 0x70(%rsp)
jne 0xc3e6
leaq 0x68(%rsp), %rdi
movq %r13, %rsi
callq 0x51c0
movq %r13, %rdi
callq 0x5180
addq $0x20, %r12
jmp 0xc1e9
cmpq $0x2, %rax
jne 0xc433
movsbl %cl, %edi
callq 0xc712
testb %al, %al
je 0xc433
movl $0x1, 0x88(%rsp)
movq 0x10(%rsp), %rdx
incq %rdx
leaq 0x50(%rsp), %rdi
leaq 0x88(%rsp), %rsi
callq 0xc75a
jmp 0xc2fd
leaq 0x50(%rsp), %rsi
leaq 0x30(%rsp), %rdx
leaq 0x68(%rsp), %rcx
movq %rbp, %rdi
callq 0xcdd6
leaq 0x68(%rsp), %rdi
callq 0x5180
leaq 0x30(%rsp), %rdi
callq 0x6542
leaq 0x50(%rsp), %rdi
callq 0x6542
movq %rbp, %rax
addq $0x128, %rsp            # imm = 0x128
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
pushq $0x38
popq %rdi
callq 0x51a0
movq %rax, %r14
leaq 0xc8(%rsp), %rdi
leaq 0x10(%rsp), %rsi
callq 0x53f0
movb $0x1, %bpl
leaq 0xc8(%rsp), %rsi
movq %r14, %rdi
callq 0xc8de
xorl %ebp, %ebp
leaq 0x1b25e(%rip), %rsi     # 0x27630
leaq 0x7e2d(%rip), %rdx      # 0x14206
movq %r14, %rdi
callq 0x54e0
jmp 0xc4c5
pushq $0x38
popq %rdi
callq 0x51a0
movq %rax, %r14
leaq 0xa8(%rsp), %rdi
leaq 0x10(%rsp), %rsi
callq 0x53f0
movb $0x1, %bpl
leaq 0xa8(%rsp), %rsi
movq %r14, %rdi
callq 0xc934
xorl %ebp, %ebp
leaq 0x1b211(%rip), %rsi     # 0x27630
leaq 0x7de0(%rip), %rdx      # 0x14206
movq %r14, %rdi
callq 0x54e0
jmp 0xc4c5
pushq $0x38
popq %rdi
callq 0x51a0
movq %rax, %r14
leaq 0x108(%rsp), %rdi
leaq 0x10(%rsp), %rsi
callq 0x53f0
movb $0x1, %bpl
leaq 0x108(%rsp), %rsi
movq %r14, %rdi
callq 0xc796
xorl %ebp, %ebp
leaq 0x1b1c4(%rip), %rsi     # 0x27630
leaq 0x7d93(%rip), %rdx      # 0x14206
movq %r14, %rdi
callq 0x54e0
jmp 0xc4c5
pushq $0x38
popq %rdi
callq 0x51a0
movq %rax, %r14
leaq 0xe8(%rsp), %rdi
leaq 0x10(%rsp), %rsi
callq 0x53f0
movb $0x1, %bpl
leaq 0xe8(%rsp), %rsi
movq %r14, %rdi
callq 0xc888
xorl %ebp, %ebp
leaq 0x1b17a(%rip), %rsi     # 0x27630
leaq 0x7d49(%rip), %rdx      # 0x14206
movq %r14, %rdi
callq 0x54e0
movq %rax, %rbx
leaq 0xe8(%rsp), %rdi
jmp 0xc505
jmp 0xc511
jmp 0xc52d
jmp 0xc51e
jmp 0xc51e
movq %rax, %rbx
leaq 0x108(%rsp), %rdi
jmp 0xc505
jmp 0xc511
jmp 0xc51e
movq %rax, %rbx
leaq 0xa8(%rsp), %rdi
jmp 0xc505
jmp 0xc511
movq %rax, %rbx
leaq 0xc8(%rsp), %rdi
callq 0x5180
testb %bpl, %bpl
jne 0xc514
jmp 0xc521
movq %rax, %rbx
movq %r14, %rdi
callq 0x5240
jmp 0xc521
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
callq 0x5180
jmp 0xc530
movq %rax, %rbx
leaq 0x68(%rsp), %rdi
callq 0x5180
leaq 0x30(%rsp), %rdi
callq 0x6542
leaq 0x50(%rsp), %rdi
callq 0x6542
movq %rbx, %rdi
callq 0x5510