// File: /workspace/github_cpp_makefile_star2_O1/meirdev[P]HexViewer/./CLI11.hpp
// Function: CLI::detail::split_up(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
inline std::vector<std::string> split_up(std::string str) {

    const std::string delims("\'\"`");
    auto find_ws = [](char ch) { return std::isspace<char>(ch, std::locale()); };
    trim(str);

    std::vector<std::string> output;
    bool embeddedQuote = false;
    char keyChar = ' ';
    while(!str.empty()) {
        if(delims.find_first_of(str[0]) != std::string::npos) {
            keyChar = str[0];
            auto end = str.find_first_of(keyChar, 1);
            while((end != std::string::npos) && (str[end - 1] == '\\')) { // deal with escaped quotes
                end = str.find_first_of(keyChar, end + 1);
                embeddedQuote = true;
            }
            if(end != std::string::npos) {
                output.push_back(str.substr(1, end - 1));
                str = str.substr(end + 1);
            } else {
                output.push_back(str.substr(1));
                str = "";
            }
        } else {
            auto it = std::find_if(std::begin(str), std::end(str), find_ws);
            if(it != std::end(str)) {
                std::string value = std::string(str.begin(), it);
                output.push_back(value);
                str = std::string(it, str.end());
            } else {
                output.push_back(str);
                str = "";
            }
        }
        // transform any embedded quotes into the regular character
        if(embeddedQuote) {
            output.back() = find_and_replace(output.back(), std::string("\\") + keyChar, std::string(1, keyChar));
            embeddedQuote = false;
        }
        trim(str);
    }
    return output;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xe8, %rsp
movq %rsi, %r14
movq %rdi, %rbp
leaq 0x68(%rsp), %rbx
movq %rbx, -0x10(%rbx)
leaq 0x63f3(%rip), %rsi      # 0x237bb
leaq 0x63ef(%rip), %rdx      # 0x237be
leaq 0x58(%rsp), %rdi
callq 0xc794
movq (%r14), %rax
movq 0x8(%r14), %rcx
addq %rax, %rcx
leaq 0x10(%rsp), %rsi
movq %rcx, (%rsi)
leaq 0x38(%rsp), %rdx
movq %rax, (%rdx)
leaq 0xc0(%rsp), %rdi
callq 0x10ad2
movq 0xc0(%rsp), %rax
movq %rax, %rcx
subq (%r14), %rcx
movq %rcx, 0x8(%r14)
movb $0x0, (%rax)
movq (%r14), %rdi
movq 0x8(%r14), %rsi
addq %rdi, %rsi
callq 0x1098f
movq (%r14), %rcx
movq 0x8(%r14), %rdx
addq %rcx, %rdx
cmpq %rax, %rdx
je 0x1d445
subq %rcx, %rax
movq %r14, %rdi
xorl %esi, %esi
movq %rax, %rdx
callq 0x5350
jmp 0x1d450
movq $0x0, 0x8(%r14)
movb $0x0, (%rcx)
xorps %xmm0, %xmm0
movups %xmm0, (%rbp)
movq $0x0, 0x10(%rbp)
cmpq $0x0, 0x8(%r14)
je 0x1d9b8
leaq 0x20(%rsp), %rbx
movb $0x20, 0xf(%rsp)
movq $0x0, 0x78(%rsp)
leaq 0x10(%rsp), %r13
leaq 0x80(%rsp), %r12
movq %rbp, 0x30(%rsp)
movq (%r14), %rax
movsbl (%rax), %esi
leaq 0x58(%rsp), %rdi
xorl %edx, %edx
callq 0x53c0
movq (%r14), %rdi
cmpq $-0x1, %rax
je 0x1d518
movb (%rdi), %al
movb %al, 0xf(%rsp)
movsbl %al, %ebp
movl $0x1, %edx
movq %r14, %rdi
movl %ebp, %esi
callq 0x53c0
cmpq $-0x1, %rax
je 0x1d66a
movq %rax, %r15
movq (%r14), %rax
cmpb $0x5c, -0x1(%rax,%r15)
jne 0x1d5be
incq %r15
movq %r14, %rdi
movl %ebp, %esi
movq %r15, %rdx
callq 0x53c0
cmpq $-0x1, %rax
je 0x1d663
movq %rax, %r15
movq (%r14), %rax
cmpb $0x5c, -0x1(%rax,%r15)
je 0x1d4de
movq %r15, %rcx
decq %rcx
movb $0x1, %al
movq %rax, 0x78(%rsp)
jmp 0x1d5c4
movq 0x8(%r14), %rsi
addq %rdi, %rsi
callq 0x1defc
movq %rax, %r15
movq (%r14), %rsi
movq 0x8(%r14), %rax
addq %rsi, %rax
cmpq %rax, %r15
je 0x1d63e
movq %rbx, 0x10(%rsp)
movq %r13, %rdi
movq %r15, %rdx
callq 0x1e040
movq %rbp, %rdi
movq %r13, %rsi
callq 0xe21c
movq (%r14), %rdx
addq 0x8(%r14), %rdx
leaq 0x48(%rsp), %rbx
movq %rbx, 0x38(%rsp)
leaq 0x38(%rsp), %r13
movq %r13, %rdi
movq %r15, %rsi
callq 0x1e040
movq %r14, %rdi
movq %r13, %rsi
callq 0x5370
movq 0x38(%rsp), %rdi
cmpq %rbx, %rdi
je 0x1d598
movq 0x48(%rsp), %rsi
incq %rsi
callq 0x52c0
movq 0x10(%rsp), %rdi
leaq 0x20(%rsp), %rbx
cmpq %rbx, %rdi
je 0x1d5b4
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x52c0
leaq 0x10(%rsp), %r13
jmp 0x1d6c0
movq %r15, %rcx
decq %rcx
movl $0x1, %edx
movq %r13, %rdi
movq %r14, %rsi
movq 0x30(%rsp), %rbp
callq 0x52e0
movq %rbp, %rdi
movq %r13, %rsi
callq 0xde4a
movq 0x10(%rsp), %rdi
cmpq %rbx, %rdi
je 0x1d5fb
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x52c0
incq %r15
movq %r13, %rdi
movq %r14, %rsi
movq %r15, %rdx
movq $-0x1, %rcx
callq 0x52e0
movq %r14, %rdi
movq %r13, %rsi
callq 0x5370
movq 0x10(%rsp), %rdi
cmpq %rbx, %rdi
je 0x1d6c0
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x52c0
jmp 0x1d6c0
movq %rbp, %rdi
movq %r14, %rsi
callq 0xe21c
movq 0x8(%r14), %rdx
movq %r14, %rdi
xorl %esi, %esi
leaq 0x6105(%rip), %rcx      # 0x2375e
xorl %r8d, %r8d
callq 0x5460
jmp 0x1d6c0
movb $0x1, %al
movq %rax, 0x78(%rsp)
movl $0x1, %edx
movq %r13, %rdi
movq %r14, %rsi
movq $-0x1, %rcx
movq 0x30(%rsp), %rbp
callq 0x52e0
movq %rbp, %rdi
movq %r13, %rsi
callq 0xde4a
movq 0x10(%rsp), %rdi
cmpq %rbx, %rdi
je 0x1d6a8
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x52c0
movq 0x8(%r14), %rdx
movq %r14, %rdi
xorl %esi, %esi
leaq 0x60a6(%rip), %rcx      # 0x2375e
xorl %r8d, %r8d
callq 0x5460
testb $0x1, 0x78(%rsp)
leaq 0x90(%rsp), %rcx
leaq 0x38(%rsp), %r15
je 0x1d936
movq 0x8(%rbp), %rax
movq %rcx, 0x80(%rsp)
movq -0x20(%rax), %rsi
movq -0x18(%rax), %rdx
addq %rsi, %rdx
movq %r12, %rdi
callq 0x1eb20
leaq 0x48(%rsp), %rax
movq %rax, 0x38(%rsp)
movq %r15, %rdi
leaq 0x60b4(%rip), %rsi      # 0x237bf
leaq 0x60ae(%rip), %rdx      # 0x237c0
callq 0xc794
movq %r15, %rdi
movq 0x40(%rsp), %rsi
movsbl 0xf(%rsp), %r15d
movl $0x1, %ecx
xorl %edx, %edx
movl %r15d, %r8d
callq 0x5560
leaq 0xb0(%rsp), %rsi
movq %rsi, 0xa0(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x1d768
movq %rdx, 0xa0(%rsp)
movq (%rcx), %rdx
movq %rdx, 0xb0(%rsp)
jmp 0x1d76e
movups (%rcx), %xmm0
movups %xmm0, (%rsi)
movq 0x8(%rax), %rdx
movq %rdx, 0xa8(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0xd8(%rsp), %rax
movq %rax, 0xc8(%rsp)
movl $0x1, %esi
leaq 0xc8(%rsp), %rdi
movl %r15d, %edx
callq 0x5340
movq 0xa0(%rsp), %rsi
movq 0xa8(%rsp), %rcx
movq %r12, %rdi
xorl %edx, %edx
callq 0x5500
cmpq $-0x1, %rax
je 0x1d820
movq %rax, %r15
movq 0xa8(%rsp), %rdx
movq 0xc8(%rsp), %rcx
movq 0xd0(%rsp), %r8
movq %r12, %rdi
movq %r15, %rsi
callq 0x5300
addq 0xd0(%rsp), %r15
movq 0xa0(%rsp), %rsi
movq 0xa8(%rsp), %rcx
movq %r12, %rdi
movq %r15, %rdx
callq 0x5500
movq %rax, %r15
cmpq $-0x1, %rax
jne 0x1d7d1
movq %rbx, 0x10(%rsp)
movq 0x80(%rsp), %rax
leaq 0x90(%rsp), %r15
cmpq %r15, %rax
je 0x1d84e
movq %rax, 0x10(%rsp)
movq 0x90(%rsp), %rax
movq %rax, 0x20(%rsp)
jmp 0x1d855
movups (%r15), %xmm0
movups %xmm0, (%rbx)
movq 0x88(%rsp), %rax
movq %rax, 0x18(%rsp)
movq %r15, 0x80(%rsp)
movq $0x0, 0x88(%rsp)
movb $0x0, 0x90(%rsp)
movq 0x8(%rbp), %rdi
addq $-0x20, %rdi
movq %r13, %rsi
callq 0x5370
movq 0x10(%rsp), %rdi
cmpq %rbx, %rdi
je 0x1d8a5
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x52c0
movq 0xc8(%rsp), %rdi
leaq 0xd8(%rsp), %rax
cmpq %rax, %rdi
je 0x1d8ca
movq 0xd8(%rsp), %rsi
incq %rsi
callq 0x52c0
movq 0xa0(%rsp), %rdi
leaq 0xb0(%rsp), %rax
cmpq %rax, %rdi
je 0x1d8ef
movq 0xb0(%rsp), %rsi
incq %rsi
callq 0x52c0
movq 0x38(%rsp), %rdi
leaq 0x48(%rsp), %rax
cmpq %rax, %rdi
je 0x1d90b
movq 0x48(%rsp), %rsi
incq %rsi
callq 0x52c0
movq 0x80(%rsp), %rdi
cmpq %r15, %rdi
je 0x1d928
movq 0x90(%rsp), %rsi
incq %rsi
callq 0x52c0
movq $0x0, 0x78(%rsp)
leaq 0x38(%rsp), %r15
movq (%r14), %rax
movq 0x8(%r14), %rcx
addq %rax, %rcx
movq %rcx, 0x10(%rsp)
movq %rax, 0x38(%rsp)
leaq 0xc0(%rsp), %rdi
movq %r13, %rsi
movq %r15, %rdx
callq 0x10ad2
movq 0xc0(%rsp), %rax
movq %rax, %rcx
subq (%r14), %rcx
movq %rcx, 0x8(%r14)
movb $0x0, (%rax)
movq (%r14), %rdi
movq 0x8(%r14), %rsi
addq %rdi, %rsi
callq 0x1098f
movq (%r14), %rcx
movq 0x8(%r14), %rdx
addq %rcx, %rdx
cmpq %rax, %rdx
je 0x1d9a2
subq %rcx, %rax
movq %r14, %rdi
xorl %esi, %esi
movq %rax, %rdx
callq 0x5350
jmp 0x1d9ad
movq $0x0, 0x8(%r14)
movb $0x0, (%rcx)
cmpq $0x0, 0x8(%r14)
jne 0x1d48f
movq 0x58(%rsp), %rdi
leaq 0x68(%rsp), %rax
cmpq %rax, %rdi
je 0x1d9d4
movq 0x68(%rsp), %rsi
incq %rsi
callq 0x52c0
movq %rbp, %rax
addq $0xe8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r14
jmp 0x1db1c
jmp 0x1d9f3
movq %rax, %r14
movq 0x10(%rsp), %rdi
leaq 0x20(%rsp), %rax
cmpq %rax, %rdi
jne 0x1da1e
jmp 0x1da30
jmp 0x1da2d
jmp 0x1da74
jmp 0x1da11
jmp 0x1da2d
jmp 0x1da74
movq %rax, %r14
movq 0x10(%rsp), %rdi
cmpq %rbx, %rdi
je 0x1da30
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x52c0
jmp 0x1da30
movq %rax, %r14
leaq 0x68(%rsp), %rbx
movq 0x30(%rsp), %rbp
jmp 0x1db14
movq %rax, %r14
leaq 0x68(%rsp), %rbx
leaq 0x90(%rsp), %r13
jmp 0x1daf7
movq %rax, %r14
jmp 0x1daa9
jmp 0x1da74
movq %rax, %r14
leaq 0x68(%rsp), %rbx
leaq 0x90(%rsp), %r13
leaq 0x48(%rsp), %r15
jmp 0x1dae0
jmp 0x1da74
movq %rax, %r14
leaq 0x68(%rsp), %rbx
jmp 0x1db14
movq %rax, %r14
movq 0xc8(%rsp), %rdi
leaq 0xd8(%rsp), %rax
cmpq %rax, %rdi
je 0x1daa9
movq 0xd8(%rsp), %rsi
incq %rsi
callq 0x52c0
leaq 0x68(%rsp), %rbx
leaq 0x90(%rsp), %r13
leaq 0x48(%rsp), %r15
movq 0xa0(%rsp), %rdi
leaq 0xb0(%rsp), %rax
cmpq %rax, %rdi
je 0x1dae0
movq 0xb0(%rsp), %rsi
incq %rsi
callq 0x52c0
movq 0x38(%rsp), %rdi
cmpq %r15, %rdi
je 0x1daf7
movq 0x48(%rsp), %rsi
incq %rsi
callq 0x52c0
movq 0x80(%rsp), %rdi
cmpq %r13, %rdi
je 0x1db14
movq 0x90(%rsp), %rsi
incq %rsi
callq 0x52c0
movq %rbp, %rdi
callq 0x7172
movq 0x58(%rsp), %rdi
cmpq %rbx, %rdi
je 0x1db33
movq 0x68(%rsp), %rsi
incq %rsi
callq 0x52c0
movq %r14, %rdi
callq 0x5510