// File: /workspace/github_cpp_makefile_star2_O3/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 $0xd8, %rsp
movq %rsi, %r14
movq %rdi, 0x8(%rsp)
leaq 0x40(%rsp), %rbx
movq %rbx, -0x10(%rbx)
leaq 0x673e(%rip), %rsi      # 0x237bb
leaq 0x673a(%rip), %rdx      # 0x237be
leaq 0x30(%rsp), %rdi
callq 0xc736
movq (%r14), %rax
movq 0x8(%r14), %rcx
addq %rax, %rcx
leaq 0x10(%rsp), %rsi
movq %rcx, (%rsi)
leaq 0x70(%rsp), %rdx
movq %rax, (%rdx)
leaq 0xb0(%rsp), %rdi
callq 0x10a16
movq 0xb0(%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 0x108c3
movq (%r14), %rcx
movq 0x8(%r14), %rdx
addq %rcx, %rdx
cmpq %rax, %rdx
je 0x1d0fa
subq %rcx, %rax
movq %r14, %rdi
xorl %esi, %esi
movq %rax, %rdx
callq 0x5350
jmp 0x1d105
movq $0x0, 0x8(%r14)
movb $0x0, (%rcx)
xorps %xmm0, %xmm0
movq 0x8(%rsp), %rax
movups %xmm0, (%rax)
movq $0x0, 0x10(%rax)
cmpq $0x0, 0x8(%r14)
je 0x1d667
leaq 0x20(%rsp), %rbx
leaq 0x80(%rsp), %r13
leaq 0x50(%rsp), %r15
movq (%r14), %rax
movsbl (%rax), %esi
leaq 0x30(%rsp), %rdi
xorl %edx, %edx
callq 0x53c0
movq (%r14), %rdi
cmpq $-0x1, %rax
je 0x1d1b7
movsbl (%rdi), %r12d
movl $0x1, %edx
movq %r14, %rdi
movl %r12d, %esi
callq 0x53c0
movq %rax, %rbp
cmpq $-0x1, %rax
je 0x1d25f
movq (%r14), %rax
movb -0x1(%rax,%rbp), %bl
cmpb $0x5c, %bl
jne 0x1d2d8
movq %rbp, %rax
incq %rax
movq %r14, %rdi
movl %r12d, %esi
movq %rax, %rdx
callq 0x53c0
cmpq $-0x1, %rax
je 0x1d25f
movq (%r14), %rcx
cmpb $0x5c, -0x1(%rcx,%rax)
je 0x1d184
movq %rax, %rcx
decq %rcx
movq %rax, %rbp
jmp 0x1d2de
movq 0x8(%r14), %rsi
addq %rdi, %rsi
callq 0x1db60
movq %rax, %r12
movq (%r14), %rsi
movq 0x8(%r14), %rax
addq %rsi, %rax
cmpq %rax, %r12
je 0x1d40d
movq %rbx, 0x10(%rsp)
leaq 0x10(%rsp), %rbp
movq %rbp, %rdi
movq %r12, %rdx
callq 0x1dcb2
movq 0x8(%rsp), %rdi
movq %rbp, %rsi
callq 0xe1c4
movq (%r14), %rdx
addq 0x8(%r14), %rdx
movq %r13, 0x70(%rsp)
movq %r13, %r15
leaq 0x70(%rsp), %r13
movq %r13, %rdi
movq %r12, %rsi
callq 0x1dcb2
movq %r14, %rdi
movq %r13, %rsi
callq 0x5370
movq 0x70(%rsp), %rdi
cmpq %r15, %rdi
movq %r15, %r13
je 0x1d242
movq 0x80(%rsp), %rsi
incq %rsi
callq 0x52c0
movq 0x10(%rsp), %rdi
cmpq %rbx, %rdi
leaq 0x50(%rsp), %r15
je 0x1d5e1
movq 0x20(%rsp), %rsi
jmp 0x1d5d9
movl $0x1, %edx
leaq 0x10(%rsp), %rbx
movq %rbx, %rdi
movq %r14, %rsi
movq $-0x1, %rcx
callq 0x52e0
movq 0x8(%rsp), %rdi
movq %rbx, %rsi
leaq 0x20(%rsp), %rbx
callq 0xddea
movq 0x10(%rsp), %rdi
cmpq %rbx, %rdi
je 0x1d2a4
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x52c0
movq 0x8(%r14), %rdx
movq %r14, %rdi
xorl %esi, %esi
leaq 0x64aa(%rip), %rcx      # 0x2375e
xorl %r8d, %r8d
callq 0x5460
cmpq $-0x1, %rbp
leaq 0x60(%rsp), %rbp
leaq 0x80(%rsp), %r13
jne 0x1d37b
jmp 0x1d5e1
movq %rbp, %rcx
decq %rcx
movl $0x1, %edx
leaq 0x10(%rsp), %r13
movq %r13, %rdi
movq %r14, %rsi
callq 0x52e0
movq 0x8(%rsp), %rdi
movq %r13, %rsi
callq 0xddea
movq 0x10(%rsp), %rdi
leaq 0x20(%rsp), %rax
cmpq %rax, %rdi
je 0x1d31c
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x52c0
incq %rbp
leaq 0x10(%rsp), %r13
movq %r13, %rdi
movq %r14, %rsi
movq %rbp, %rdx
movq $-0x1, %rcx
callq 0x52e0
movq %r14, %rdi
movq %r13, %rsi
callq 0x5370
movq 0x10(%rsp), %rdi
leaq 0x20(%rsp), %rax
cmpq %rax, %rdi
leaq 0x60(%rsp), %rbp
je 0x1d365
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x52c0
cmpb $0x5c, %bl
leaq 0x80(%rsp), %r13
leaq 0x20(%rsp), %rbx
jne 0x1d5e1
movq 0x8(%rsp), %rax
movq 0x8(%rax), %rax
movq %rbp, 0x50(%rsp)
movq -0x20(%rax), %rsi
movq -0x18(%rax), %rdx
addq %rsi, %rdx
movq %r15, %rdi
callq 0x1e780
movq %r13, %r15
movq %r13, 0x70(%rsp)
leaq 0x70(%rsp), %r13
movq %r13, %rdi
leaq 0x640c(%rip), %rsi      # 0x237bf
leaq 0x6406(%rip), %rdx      # 0x237c0
callq 0xc736
movq 0x78(%rsp), %rsi
movl $0x1, %ecx
movq %r13, %rdi
xorl %edx, %edx
movl %r12d, %r8d
callq 0x5560
leaq 0xa0(%rsp), %rsi
movq %rsi, 0x90(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
movq %r15, %r13
je 0x1d437
movq %rdx, 0x90(%rsp)
movq (%rcx), %rdx
movq %rdx, 0xa0(%rsp)
jmp 0x1d43d
movq 0x8(%rsp), %rdi
movq %r14, %rsi
callq 0xe1c4
movq 0x8(%r14), %rdx
movq %r14, %rdi
xorl %esi, %esi
leaq 0x6334(%rip), %rcx      # 0x2375e
xorl %r8d, %r8d
callq 0x5460
jmp 0x1d5e1
movups (%rcx), %xmm0
movups %xmm0, (%rsi)
leaq 0x50(%rsp), %r15
movq 0x8(%rax), %rdx
movq %rdx, 0x98(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0xc8(%rsp), %rax
movq %rax, 0xb8(%rsp)
movl $0x1, %esi
leaq 0xb8(%rsp), %rdi
movl %r12d, %edx
callq 0x5340
movq 0x90(%rsp), %rsi
movq 0x98(%rsp), %rcx
movq %r15, %rdi
xorl %edx, %edx
callq 0x5500
cmpq $-0x1, %rax
je 0x1d4f4
movq %rax, %r12
movq 0x98(%rsp), %rdx
movq 0xb8(%rsp), %rcx
movq 0xc0(%rsp), %r8
movq %r15, %rdi
movq %r12, %rsi
callq 0x5300
addq 0xc0(%rsp), %r12
movq 0x90(%rsp), %rsi
movq 0x98(%rsp), %rcx
movq %r15, %rdi
movq %r12, %rdx
callq 0x5500
movq %rax, %r12
cmpq $-0x1, %rax
jne 0x1d4a5
movq %rbx, 0x10(%rsp)
movq 0x50(%rsp), %rax
cmpq %rbp, %rax
je 0x1d514
movq %rax, 0x10(%rsp)
movq 0x60(%rsp), %rax
movq %rax, 0x20(%rsp)
jmp 0x1d51b
movups (%rbp), %xmm0
movups %xmm0, (%rbx)
movq 0x58(%rsp), %rax
movq %rax, 0x18(%rsp)
movq %rbp, 0x50(%rsp)
movq $0x0, 0x58(%rsp)
movb $0x0, 0x60(%rsp)
movq 0x8(%rsp), %rax
movq 0x8(%rax), %rdi
addq $-0x20, %rdi
leaq 0x10(%rsp), %rsi
callq 0x5370
movq 0x10(%rsp), %rdi
cmpq %rbx, %rdi
je 0x1d566
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x52c0
movq 0xb8(%rsp), %rdi
leaq 0xc8(%rsp), %rax
cmpq %rax, %rdi
je 0x1d58b
movq 0xc8(%rsp), %rsi
incq %rsi
callq 0x52c0
movq 0x90(%rsp), %rdi
leaq 0xa0(%rsp), %rax
cmpq %rax, %rdi
je 0x1d5b0
movq 0xa0(%rsp), %rsi
incq %rsi
callq 0x52c0
movq 0x70(%rsp), %rdi
cmpq %r13, %rdi
je 0x1d5ca
movq 0x80(%rsp), %rsi
incq %rsi
callq 0x52c0
movq 0x50(%rsp), %rdi
cmpq %rbp, %rdi
je 0x1d5e1
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x52c0
movq (%r14), %rax
movq 0x8(%r14), %rcx
addq %rax, %rcx
movq %rcx, 0x10(%rsp)
movq %rax, 0x70(%rsp)
leaq 0xb0(%rsp), %rdi
leaq 0x10(%rsp), %rsi
leaq 0x70(%rsp), %rdx
callq 0x10a16
movq 0xb0(%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 0x108c3
movq (%r14), %rcx
movq 0x8(%r14), %rdx
addq %rcx, %rdx
cmpq %rax, %rdx
je 0x1d651
subq %rcx, %rax
movq %r14, %rdi
xorl %esi, %esi
movq %rax, %rdx
callq 0x5350
jmp 0x1d65c
movq $0x0, 0x8(%r14)
movb $0x0, (%rcx)
cmpq $0x0, 0x8(%r14)
jne 0x1d135
movq 0x30(%rsp), %rdi
leaq 0x40(%rsp), %rax
cmpq %rax, %rdi
je 0x1d683
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x52c0
movq 0x8(%rsp), %rax
addq $0xd8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r14
jmp 0x1d79a
jmp 0x1d6aa
jmp 0x1d700
jmp 0x1d6aa
jmp 0x1d700
movq %rax, %r14
movq 0x10(%rsp), %rdi
leaq 0x20(%rsp), %rax
cmpq %rax, %rdi
jne 0x1d6d1
jmp 0x1d703
jmp 0x1d700
jmp 0x1d700
jmp 0x1d700
movq %rax, %r14
movq 0x10(%rsp), %rdi
cmpq %rbx, %rdi
je 0x1d703
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x52c0
jmp 0x1d703
jmp 0x1d700
movq %rax, %r14
jmp 0x1d735
movq %rax, %r14
leaq 0x40(%rsp), %rbx
movq %r15, %r13
jmp 0x1d75f
movq %rax, %r14
leaq 0x40(%rsp), %rbx
jmp 0x1d779
jmp 0x1d700
movq %rax, %r14
leaq 0x40(%rsp), %rbx
jmp 0x1d790
movq %rax, %r14
movq 0xb8(%rsp), %rdi
leaq 0xc8(%rsp), %rax
cmpq %rax, %rdi
je 0x1d735
movq 0xc8(%rsp), %rsi
incq %rsi
callq 0x52c0
leaq 0x40(%rsp), %rbx
movq 0x90(%rsp), %rdi
leaq 0xa0(%rsp), %rax
cmpq %rax, %rdi
je 0x1d75f
movq 0xa0(%rsp), %rsi
incq %rsi
callq 0x52c0
movq 0x70(%rsp), %rdi
cmpq %r13, %rdi
je 0x1d779
movq 0x80(%rsp), %rsi
incq %rsi
callq 0x52c0
movq 0x50(%rsp), %rdi
cmpq %rbp, %rdi
je 0x1d790
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x52c0
movq 0x8(%rsp), %rdi
callq 0x714a
movq 0x30(%rsp), %rdi
cmpq %rbx, %rdi
je 0x1d7b1
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x52c0
movq %r14, %rdi
callq 0x5510