// File: /workspace/github_cpp_makefile_star2_O2/meirdev[P]HexViewer/./CLI11.hpp
// Function: CLI::ConfigINI::from_config(std::istream&) const
std::vector<ConfigItem> from_config(std::istream &input) const override {
        std::string line;
        std::string section = "default";

        std::vector<ConfigItem> output;

        while(getline(input, line)) {
            std::vector<std::string> items_buffer;

            detail::trim(line);
            size_t len = line.length();
            if(len > 1 && line[0] == '[' && line[len - 1] == ']') {
                section = line.substr(1, len - 2);
            } else if(len > 0 && line[0] != ';') {
                output.emplace_back();
                ConfigItem &out = output.back();

                // Find = in string, split and recombine
                auto pos = line.find('=');
                if(pos != std::string::npos) {
                    out.name = detail::trim_copy(line.substr(0, pos));
                    std::string item = detail::trim_copy(line.substr(pos + 1));
                    items_buffer = detail::split_up(item);
                } else {
                    out.name = detail::trim_copy(line);
                    items_buffer = {"ON"};
                }

                if(detail::to_lower(section) != "default") {
                    out.parents = {section};
                }

                if(out.name.find('.') != std::string::npos) {
                    std::vector<std::string> plist = detail::split(out.name, '.');
                    out.name = plist.back();
                    plist.pop_back();
                    out.parents.insert(out.parents.end(), plist.begin(), plist.end());
                }

                out.inputs.insert(std::end(out.inputs), std::begin(items_buffer), std::end(items_buffer));
            }
        }
        return output;
    }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xf8, %rsp
movq %rdx, 0x50(%rsp)
movq %rdi, %rbx
leaq 0x68(%rsp), %rax
movq %rax, -0x10(%rax)
andq $0x0, -0x8(%rax)
movb $0x0, (%rax)
leaq 0x1031a(%rip), %rsi     # 0x190dd
leaq 0x78(%rsp), %rdi
leaq 0x10(%rsp), %rdx
callq 0x6844
xorps %xmm0, %xmm0
andq $0x0, 0x10(%rbx)
movq %rbx, 0x8(%rsp)
movups %xmm0, (%rbx)
leaq 0x58(%rsp), %r13
leaq 0x10(%rsp), %rbp
movq 0x50(%rsp), %rdi
movq %r13, %rsi
callq 0x5080
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
testb $0x5, 0x20(%rax,%rcx)
jne 0x90a0
xorps %xmm0, %xmm0
movaps %xmm0, 0x30(%rsp)
andq $0x0, 0x40(%rsp)
movq %r13, %rdi
callq 0xceb6
movq 0x60(%rsp), %rcx
cmpq $0x2, %rcx
jb 0x8e6a
movq 0x58(%rsp), %rdx
movb (%rdx), %al
cmpb $0x5b, %al
jne 0x8e7a
cmpb $0x5d, -0x1(%rdx,%rcx)
jne 0x8e82
addq $-0x2, %rcx
movq %rbp, %rdi
movq %r13, %rsi
pushq $0x1
popq %rdx
callq 0x52f0
leaq 0x78(%rsp), %rdi
movq %rbp, %rsi
callq 0x5360
movq %rbp, %rdi
callq 0x5180
jmp 0x9091
testq %rcx, %rcx
je 0x9091
movq 0x58(%rsp), %rax
movb (%rax), %al
cmpb $0x3b, %al
je 0x9091
movq 0x8(%rsp), %rbx
movq %rbx, %rdi
callq 0x153ee
movq 0x8(%rbx), %rbx
movq %r13, %rdi
pushq $0x3d
popq %rsi
xorl %edx, %edx
callq 0x53c0
cmpq $-0x1, %rax
je 0x8f50
movq %rax, %r12
leaq 0x98(%rsp), %r14
movq %r14, %rdi
movq %r13, %rsi
xorl %edx, %edx
movq %rax, %rcx
callq 0x52f0
movq %rbp, %rdi
movq %r14, %rsi
callq 0xce62
leaq -0x38(%rbx), %rdi
movq %rbp, %rsi
callq 0x5360
movq %rbp, %rdi
callq 0x5180
movq %r14, %rdi
callq 0x5180
incq %r12
movq %r14, %rdi
movq %r13, %rsi
movq %r12, %rdx
pushq $-0x1
popq %rcx
callq 0x52f0
movq %rbp, %rdi
movq %r14, %rsi
callq 0xce62
movq %r14, %rdi
callq 0x5180
leaq 0xd8(%rsp), %r15
movq %r15, %rdi
movq %rbp, %rsi
callq 0x53f0
movq %r14, %rdi
movq %r15, %rsi
callq 0x15440
leaq 0x30(%rsp), %rdi
movq %r14, %rsi
callq 0xd2d8
movq %r14, %rdi
callq 0x6542
movq %r15, %rdi
callq 0x5180
jmp 0x8f98
movq %rbp, %rdi
movq %r13, %rsi
callq 0xce62
leaq -0x38(%rbx), %rdi
movq %rbp, %rsi
callq 0x5360
movq %rbp, %rdi
callq 0x5180
movq %rbp, %rdi
leaq 0x10889(%rip), %rsi     # 0x19802
leaq 0x98(%rsp), %rdx
callq 0x6844
leaq 0x30(%rsp), %rdi
movq %rbp, %rsi
leaq 0x30(%rsp), %rdx
callq 0x15c8a
movq %rbp, %rdi
callq 0x5180
leaq 0xb8(%rsp), %r15
movq %r15, %rdi
leaq 0x78(%rsp), %rsi
callq 0x53f0
movq %rbp, %rdi
movq %r15, %rsi
callq 0xd7ac
leaq -0x50(%rbx), %r12
movq %rbp, %rdi
leaq 0x1010f(%rip), %rsi     # 0x190dd
callq 0x15797
movl %eax, %r14d
movq %rbp, %rdi
callq 0x5180
movq %r15, %rdi
callq 0x5180
testb %r14b, %r14b
je 0x9010
movq %rbp, %rdi
leaq 0x78(%rsp), %rsi
callq 0x53f0
movq %r12, %rdi
movq %rbp, %rsi
leaq 0x30(%rsp), %rdx
callq 0x15c8a
movq %rbp, %rdi
callq 0x5180
leaq -0x38(%rbx), %r14
movq %r14, %rdi
pushq $0x2e
popq %rsi
xorl %edx, %edx
callq 0x53c0
cmpq $-0x1, %rax
je 0x9077
movq %rbp, %rdi
movq %r14, %rsi
pushq $0x2e
popq %rdx
callq 0x157a1
movq 0x18(%rsp), %rsi
addq $-0x20, %rsi
movq %r14, %rdi
callq 0x51c0
movq 0x18(%rsp), %rdi
addq $-0x20, %rdi
movq %rdi, 0x18(%rsp)
callq 0x5180
movq -0x48(%rbx), %rsi
movq 0x10(%rsp), %rdx
movq 0x18(%rsp), %rcx
movq %r12, %rdi
callq 0x1588a
movq %rbp, %rdi
callq 0x6542
movq -0x10(%rbx), %rsi
addq $-0x18, %rbx
movq 0x30(%rsp), %rdx
movq 0x38(%rsp), %rcx
movq %rbx, %rdi
callq 0x1588a
leaq 0x30(%rsp), %rdi
callq 0x6542
jmp 0x8dec
leaq 0x78(%rsp), %rdi
callq 0x5180
leaq 0x58(%rsp), %rdi
callq 0x5180
movq 0x8(%rsp), %rax
addq $0xf8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
jmp 0x915a
jmp 0x9139
jmp 0x90df
jmp 0x9139
jmp 0x9139
jmp 0x9139
jmp 0x90df
movq %rax, %rbx
jmp 0x90f4
movq %rax, %rbx
leaq 0xd8(%rsp), %rdi
callq 0x5180
leaq 0x10(%rsp), %rdi
jmp 0x9132
jmp 0x9139
jmp 0x9139
jmp 0x9112
jmp 0x9103
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
callq 0x6542
jmp 0x913c
movq %rax, %rbx
leaq 0x98(%rsp), %rdi
jmp 0x9132
jmp 0x9139
jmp 0x9139
jmp 0x9139
jmp 0x9139
movq %rax, %rbx
leaq 0xb8(%rsp), %rdi
callq 0x5180
jmp 0x913c
movq %rax, %rbx
leaq 0x30(%rsp), %rdi
callq 0x6542
movq 0x8(%rsp), %rdi
callq 0xb138
leaq 0x78(%rsp), %rdi
callq 0x5180
leaq 0x58(%rsp), %rdi
callq 0x5180
movq %rbx, %rdi
callq 0x5510
movq %rax, %rbx
jmp 0x9146
nop