// File: /workspace/github_cpp_makefile_star2_O2/meirdev[P]HexViewer/./CLI11.hpp
// Function: CLI::ConfigINI::to_config(CLI::App const*, bool, bool, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>) const
inline std::string
ConfigINI::to_config(const App *app, bool default_also, bool write_description, std::string prefix) const {
    std::stringstream out;
    for(const Option *opt : app->get_options({})) {

        // Only process option with a long-name and configurable
        if(!opt->get_lnames().empty() && opt->get_configurable()) {
            std::string name = prefix + opt->get_lnames()[0];
            std::string value;

            // Non-flags
            if(opt->get_type_size() != 0) {

                // If the option was found on command line
                if(opt->count() > 0)
                    value = detail::ini_join(opt->results());

                // If the option has a default and is requested by optional argument
                else if(default_also && !opt->get_defaultval().empty())
                    value = opt->get_defaultval();
                // Flag, one passed
            } else if(opt->count() == 1) {
                value = "true";

                // Flag, multiple passed
            } else if(opt->count() > 1) {
                value = std::to_string(opt->count());

                // Flag, not present
            } else if(opt->count() == 0 && default_also) {
                value = "false";
            }

            if(!value.empty()) {
                if(write_description && opt->has_description()) {
                    if(static_cast<int>(out.tellp()) != 0) {
                        out << std::endl;
                    }
                    out << "; " << detail::fix_newlines("; ", opt->get_description()) << std::endl;
                }

                // Don't try to quote anything that is not size 1
                if(opt->get_items_expected() != 1)
                    out << name << "=" << value << std::endl;
                else
                    out << name << "=" << detail::add_quotes_if_needed(value) << std::endl;
            }
        }
    }

    for(const App *subcom : app->get_subcommands({}))
        out << to_config(subcom, default_also, write_description, prefix + subcom->get_name() + ".");

    return out.str();
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x2e8, %rsp            # imm = 0x2E8
movq %r9, 0x58(%rsp)
movl %r8d, 0xc(%rsp)
movl %ecx, %ebp
movq %rdx, %rbx
movq %rsi, 0xb8(%rsp)
movq %rdi, 0xa8(%rsp)
leaq 0x160(%rsp), %rdi
callq 0x5220
xorps %xmm0, %xmm0
leaq 0xe0(%rsp), %rdx
movaps %xmm0, (%rdx)
movaps %xmm0, 0x10(%rdx)
leaq 0x40(%rsp), %rdi
movq %rbx, 0xb0(%rsp)
movq %rbx, %rsi
callq 0x64a6
leaq 0xe0(%rsp), %rdi
callq 0xad42
movq 0x40(%rsp), %r15
movq 0x48(%rsp), %rax
movq %rax, 0x38(%rsp)
leaq 0x80(%rsp), %rbx
movl %ebp, %eax
xorb $0x1, %al
movb %al, 0xb(%rsp)
movl %ebp, 0x10(%rsp)
cmpq 0x38(%rsp), %r15
je 0x6231
movq (%r15), %rbp
leaq 0x40(%rbp), %r14
movq %rbx, %rdi
movq %r14, %rsi
callq 0x9abe
movq 0x80(%rsp), %rax
cmpq 0x88(%rsp), %rax
je 0x5ffd
movb 0x23(%rbp), %r13b
movq %rbx, %rdi
callq 0x6542
cmpb $0x1, %r13b
movl 0x10(%rsp), %r13d
jne 0x6228
leaq 0x18(%rsp), %rdi
movq %r14, %rsi
callq 0x9abe
movq 0x18(%rsp), %rdx
movq %rbx, %rdi
movq 0x58(%rsp), %rsi
callq 0x6563
leaq 0x18(%rsp), %rdi
callq 0x6542
leaq 0x28(%rsp), %rax
movq %rax, 0x18(%rsp)
andq $0x0, 0x20(%rsp)
movb $0x0, 0x28(%rsp)
cmpl $0x0, 0xfc(%rbp)
movq 0x1a8(%rbp), %rcx
movq 0x1b0(%rbp), %rdx
je 0x600a
cmpq %rcx, %rdx
je 0x602f
leaq 0x1a8(%rbp), %rsi
leaq 0x128(%rsp), %r12
movq %r12, %rdi
callq 0x9abe
leaq 0x60(%rsp), %r14
movq %r14, %rdi
movq %r12, %rsi
callq 0x659b
leaq 0x18(%rsp), %rdi
movq %r14, %rsi
callq 0x5360
movq %r14, %rdi
callq 0x5180
movq %r12, %rdi
callq 0x6542
jmp 0x60c8
movq %rbx, %rdi
callq 0x6542
jmp 0x6228
movq %rdx, %rsi
subq %rcx, %rsi
leaq 0x13041(%rip), %rax     # 0x19058
cmpq $0x20, %rsi
jne 0x6083
leaq 0x18(%rsp), %rdi
movq %rax, %rsi
callq 0x5570
jmp 0x60c8
testb %r13b, %r13b
je 0x60c8
leaq 0xb8(%rbp), %r14
leaq 0x60(%rsp), %r12
movq %r12, %rdi
movq %r14, %rsi
callq 0x53f0
movq 0x68(%rsp), %r13
movq %r12, %rdi
callq 0x5180
testq %r13, %r13
je 0x60c8
leaq 0x60(%rsp), %r13
movq %r13, %rdi
movq %r14, %rsi
callq 0x53f0
leaq 0x18(%rsp), %rdi
movq %r13, %rsi
callq 0x5360
movq %r13, %rdi
jmp 0x60aa
sarq $0x5, %rsi
cmpq $0x2, %rsi
jb 0x60b1
leaq 0x60(%rsp), %r14
movq %r14, %rdi
callq 0x66c2
leaq 0x18(%rsp), %rdi
movq %r14, %rsi
callq 0x5360
movq %r14, %rdi
callq 0x5180
jmp 0x60c8
cmpq %rcx, %rdx
setne %al
orb 0xb(%rsp), %al
leaq 0x12f9b(%rip), %rax     # 0x1905d
je 0x601d
cmpq $0x0, 0x20(%rsp)
je 0x6216
cmpb $0x0, 0xc(%rsp)
je 0x61a1
cmpq $0x0, 0xa0(%rbp)
je 0x61a1
leaq 0x170(%rsp), %rdi
callq 0x5280
testl %eax, %eax
je 0x610b
leaq 0x170(%rsp), %rdi
callq 0x5190
leaq 0x170(%rsp), %rdi
leaq 0x12f49(%rip), %rsi     # 0x19063
callq 0x52c0
movq %rax, %r14
leaq 0xc0(%rsp), %rdi
leaq 0x12f32(%rip), %rsi     # 0x19063
leaq 0x17(%rsp), %rdx
callq 0x6844
leaq 0x98(%rbp), %rsi
leaq 0x108(%rsp), %r12
movq %r12, %rdi
callq 0x53f0
leaq 0x60(%rsp), %r13
movq %r13, %rdi
leaq 0xc0(%rsp), %rsi
movq %r12, %rdx
callq 0x6704
movq %r14, %rdi
movq %r13, %rsi
callq 0x52a0
movq %rax, %rdi
callq 0x5190
leaq 0x60(%rsp), %rdi
callq 0x5180
leaq 0x108(%rsp), %rdi
callq 0x5180
leaq 0xc0(%rsp), %rdi
callq 0x5180
movq %rbp, %rdi
callq 0x6880
cmpl $0x1, %eax
jne 0x61dc
leaq 0x170(%rsp), %rdi
movq %rbx, %rsi
callq 0x52a0
movq %rax, %rdi
leaq 0x12e9e(%rip), %rsi     # 0x19066
callq 0x52c0
movq %rax, %r14
leaq 0x18(%rsp), %rdi
callq 0x68b5
jmp 0x6203
leaq 0x170(%rsp), %rdi
movq %rbx, %rsi
callq 0x52a0
movq %rax, %rdi
leaq 0x12e70(%rip), %rsi     # 0x19066
callq 0x52c0
movq %rax, %r14
leaq 0x18(%rsp), %rax
movq %r14, %rdi
movq %rax, %rsi
callq 0x52a0
movq %rax, %rdi
callq 0x5190
leaq 0x18(%rsp), %rdi
callq 0x5180
movq %rbx, %rdi
callq 0x5180
addq $0x8, %r15
jmp 0x5f0c
leaq 0x40(%rsp), %rdi
callq 0x981e
xorps %xmm0, %xmm0
leaq 0x80(%rsp), %rdx
movaps %xmm0, 0x10(%rdx)
movaps %xmm0, (%rdx)
leaq 0x40(%rsp), %rdi
movq 0xb0(%rsp), %rsi
callq 0x6948
leaq 0x80(%rsp), %rbx
movq %rbx, %rdi
callq 0xad42
movq 0x40(%rsp), %r12
movq 0x48(%rsp), %rax
movq %rax, 0x38(%rsp)
leaq 0x60(%rsp), %r13
leaq 0x18(%rsp), %rbp
leaq 0x140(%rsp), %r14
movzbl 0x10(%rsp), %eax
movl %eax, 0x10(%rsp)
movzbl 0xc(%rsp), %eax
movl %eax, 0xc(%rsp)
cmpq 0x38(%rsp), %r12
je 0x6337
movq (%r12), %r15
leaq 0x8(%r15), %rsi
movq %r13, %rdi
callq 0x53f0
movq %rbp, %rdi
movq 0x58(%rsp), %rsi
movq %r13, %rdx
callq 0x6a02
movq %r14, %rdi
movq %rbp, %rsi
leaq 0x13504(%rip), %rdx     # 0x197de
callq 0x69e3
movq 0xb8(%rsp), %rsi
movq (%rsi), %rax
movq %rbx, %rdi
movq %r15, %rdx
movl 0x10(%rsp), %ecx
movl 0xc(%rsp), %r8d
movq %r14, %r9
callq *(%rax)
leaq 0x170(%rsp), %rdi
movq %rbx, %rsi
callq 0x52a0
movq %rbx, %rdi
callq 0x5180
movq %r14, %rdi
callq 0x5180
movq %rbp, %rdi
callq 0x5180
movq %r13, %rdi
callq 0x5180
addq $0x8, %r12
jmp 0x62a2
leaq 0x40(%rsp), %rdi
callq 0x9fd0
leaq 0x178(%rsp), %rsi
movq 0xa8(%rsp), %rbx
movq %rbx, %rdi
callq 0x5490
leaq 0x160(%rsp), %rdi
callq 0x5250
movq %rbx, %rax
addq $0x2e8, %rsp            # imm = 0x2E8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x646c
jmp 0x646c
movq %rax, %rbx
jmp 0x6490
movq %rax, %rbx
leaq 0x80(%rsp), %rdi
jmp 0x63a5
movq %rax, %rbx
leaq 0xe0(%rsp), %rdi
callq 0xad42
jmp 0x6490
jmp 0x646c
movq %rax, %rbx
jmp 0x63d5
movq %rax, %rbx
jmp 0x63e2
jmp 0x646c
jmp 0x646c
movq %rax, %rbx
leaq 0x60(%rsp), %rdi
callq 0x5180
leaq 0x108(%rsp), %rdi
callq 0x5180
leaq 0xc0(%rsp), %rdi
callq 0x5180
jmp 0x646f
movq %rax, %rbx
leaq 0x128(%rsp), %rdi
callq 0x6542
jmp 0x646f
jmp 0x646c
movq %rax, %rbx
leaq 0x18(%rsp), %rdi
callq 0x6542
jmp 0x6486
jmp 0x6467
movq %rax, %rbx
jmp 0x644c
movq %rax, %rbx
jmp 0x6442
movq %rax, %rbx
jmp 0x6435
movq %rax, %rbx
leaq 0x80(%rsp), %rdi
callq 0x5180
leaq 0x140(%rsp), %rdi
callq 0x5180
leaq 0x18(%rsp), %rdi
callq 0x5180
leaq 0x60(%rsp), %rdi
callq 0x5180
jmp 0x645b
movq %rax, %rbx
leaq 0x40(%rsp), %rdi
callq 0x9fd0
jmp 0x6490
movq %rax, %rbx
jmp 0x6486
movq %rax, %rbx
leaq 0x18(%rsp), %rdi
callq 0x5180
leaq 0x80(%rsp), %rdi
callq 0x5180
leaq 0x40(%rsp), %rdi
callq 0x981e
leaq 0x160(%rsp), %rdi
callq 0x5250
movq %rbx, %rdi
callq 0x5510
nop