// File: /workspace/github_cpp_makefile_star2_O1/juli9797[P]ssf/src/console_page.hpp
// Function: ssf::ConsolePage::str[abi:cxx11]() const
auto str() const
    {
        std::ostringstream p;
        p << c_cmd::clear;
        p << c_cmd::hide_cursor;

        // iterate over columns
        for (auto col_index = 0u; col_index < entries.size(); col_index++)
        {
            std::vector<std::filesystem::directory_entry> col = entries.at(col_index);
            // Calculate entry offset in case there are more entries
            // than rows available
            unsigned entry_offset = 0;
            if (col_index == _active_col-1 && col.size() > _row_count && !_parent_selection.empty())
            {
                entry_offset = std::floor(find_pos(col, *_parent_selection.begin()) / _row_count) * _row_count;
            }
	    else if (col_index == _active_col && col.size() > _row_count && !_selection.empty())
            {
                entry_offset = std::floor(find_pos(col, *_selection.begin()) / _row_count) * _row_count;
            }
            // Handle last folder in middle column
            int current_width = _col_widths.at(col_index);
            if (col_index == 1)
            {
                if (entries.at(2).size() == 0)
                {
                    current_width += _col_widths[2];
                }
            }
            int current_cursor_col = 0;
            for (unsigned i = 0; i < col_index; i++)
            {
                current_cursor_col += _col_widths.at(i);
                current_cursor_col += _spacing;
            }
            // Only iterate to either row_count or size of the col
            unsigned limit = std::min((int)(col.size() - entry_offset),
                                      (int)_row_count);
            for (auto index = 0u; index < limit; index++)
            {
                // Calculate the actual index for the entry
                auto entry_index = index + entry_offset;
                auto dir_entry = col.at(entry_index);
                auto full_entry = col.at(entry_index).path().filename().string();
                auto entry = shortened_string(full_entry,
                                              current_width - 4);
                p << c_cmd::set_cursor(index, current_cursor_col);
                p << get_icon(full_entry) << " ";

                if (!_selection.empty() && (col.at(entry_index) == _selection.at(0) && col_index == _active_col) ||
                    (!_parent_selection.empty() && col.at(entry_index) == _parent_selection.at(0) && col_index == _active_col - 1))
                {
                    p << ((col_index == 0) ? c_cmd::color::background::bright_black: c_cmd::color::background::cyan)
                      << entry
                      << c_cmd::color::reset;
                }
                else
                {
                    if (dir_entry.is_directory())
                    {
                        p << c_cmd::color::foreground::bright_cyan
                          << entry
                          << c_cmd::color::reset;
                    }
                    else
                    {
                        p << entry;
                    }
                }
            }
        }
        return p.str();
    }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x318, %rsp            # imm = 0x318
movq %rsi, (%rsp)
movq %rdi, 0x78(%rsp)
leaq 0x1a0(%rsp), %rbx
movq %rbx, %rdi
callq 0x32a0
leaq 0x4032(%rip), %rsi      # 0xa2bb
movl $0x2, %edx
movq %rbx, %rdi
callq 0x3240
leaq 0x4017(%rip), %rsi      # 0xa2b4
leaq 0x1a0(%rsp), %rdi
movl $0x6, %edx
callq 0x3240
movq (%rsp), %rbx
movq 0x50(%rbx), %rax
cmpq %rax, 0x58(%rbx)
je 0x69af
leaq 0x8(%rbx), %rcx
movq %rcx, 0x48(%rsp)
xorl %ebp, %ebp
leaq 0x8(%rsp), %r14
leaq 0x140(%rsp), %r15
leaq 0x3fa0(%rip), %rcx      # 0xa280
movq %rcx, 0x70(%rsp)
leaq 0x80(%rsp), %r13
leaq (,%rbp,2), %rcx
addq %rbp, %rcx
leaq (%rax,%rcx,8), %rsi
movq %r14, %rdi
callq 0x7430
movl 0x40(%rbx), %eax
leal -0x1(%rax), %ecx
cmpq %rcx, %rbp
jne 0x6371
movq 0x10(%rsp), %rcx
subq 0x8(%rsp), %rcx
sarq $0x4, %rcx
movabsq $-0x5555555555555555, %rdx # imm = 0xAAAAAAAAAAAAAAAB
imulq %rdx, %rcx
movq 0x48(%rsp), %rdx
movl (%rdx), %edx
cmpq %rdx, %rcx
jbe 0x6371
movq (%rsp), %rcx
movq 0x28(%rcx), %rbx
cmpq 0x30(%rcx), %rbx
je 0x6371
movq %r15, %rdi
movq %rbx, %rsi
callq 0x7580
movb 0x28(%rbx), %al
movb %al, 0x168(%rsp)
movq 0x8(%rsp), %rdi
movq 0x10(%rsp), %rsi
movq %r15, %rdx
callq 0x8cb5
movq %r15, %rdi
jmp 0x63ed
xorl %r15d, %r15d
cmpq %rax, %rbp
jne 0x643e
movq 0x10(%rsp), %rax
subq 0x8(%rsp), %rax
sarq $0x4, %rax
movabsq $-0x5555555555555555, %rcx # imm = 0xAAAAAAAAAAAAAAAB
imulq %rcx, %rax
movq 0x48(%rsp), %rcx
movl (%rcx), %ecx
cmpq %rcx, %rax
jbe 0x643e
movq (%rsp), %rax
movq 0x10(%rax), %rbx
cmpq 0x18(%rax), %rbx
je 0x643e
leaq 0x170(%rsp), %r14
movq %r14, %rdi
movq %rbx, %rsi
callq 0x7580
movb 0x28(%rbx), %al
movb %al, 0x198(%rsp)
movq 0x8(%rsp), %rdi
movq 0x10(%rsp), %rsi
movq %r14, %rdx
callq 0x8cb5
movq %r14, %rdi
subq 0x8(%rsp), %rax
shrq $0x4, %rax
imull $0xaaaaaaab, %eax, %eax # imm = 0xAAAAAAAB
cltq
movq 0x48(%rsp), %rcx
movl (%rcx), %ecx
xorl %edx, %edx
divq %rcx
movq %rax, %xmm0
punpckldq 0x3c09(%rip), %xmm0 # xmm0 = xmm0[0],mem[0],xmm0[1],mem[1]
subpd 0x3c11(%rip), %xmm0     # 0xa030
movapd %xmm0, %xmm1
unpckhpd %xmm0, %xmm1            # xmm1 = xmm1[1],xmm0[1]
cvtsi2sd %rcx, %xmm2
addsd %xmm0, %xmm1
mulsd %xmm1, %xmm2
cvttsd2si %xmm2, %r15
callq 0x75d6
cmpq $0x3, %rbp
je 0x6a39
movq (%rsp), %rbx
movl 0x44(%rbx,%rbp,4), %eax
cmpq $0x1, %rbp
jne 0x648a
movq 0x50(%rbx), %rcx
movq 0x58(%rbx), %rdx
subq %rcx, %rdx
sarq $0x3, %rdx
movabsq $-0x5555555555555555, %rsi # imm = 0xAAAAAAAAAAAAAAAB
imulq %rsi, %rdx
cmpq $0x2, %rdx
jbe 0x6a45
movq 0x38(%rcx), %rdx
cmpq 0x30(%rcx), %rdx
jne 0x648a
addl 0x4c(%rbx), %eax
testq %rbp, %rbp
je 0x64a9
movl 0x4(%rbx), %ecx
xorl %edx, %edx
xorl %r12d, %r12d
addl 0x44(%rbx,%rdx,4), %r12d
addl %ecx, %r12d
incq %rdx
cmpq %rdx, %rbp
jne 0x6497
jmp 0x64ac
xorl %r12d, %r12d
movq 0x10(%rsp), %rcx
subq 0x8(%rsp), %rcx
shrq $0x4, %rcx
imull $0xaaaaaaab, %ecx, %ecx # imm = 0xAAAAAAAB
subl %r15d, %ecx
movl 0x8(%rbx), %edx
cmpl %ecx, %edx
cmovll %edx, %ecx
testl %ecx, %ecx
je 0x6971
addl $-0x4, %eax
cltq
movq %rax, 0x100(%rsp)
xorl %edx, %edx
testq %rbp, %rbp
sete %dl
leaq 0x3dd6(%rip), %rsi      # 0xa2c5
leaq 0x3dc8(%rip), %rax      # 0xa2be
cmoveq %rax, %rsi
movq %rsi, 0xe8(%rsp)
addq $0x5, %rdx
movq %rdx, 0xf0(%rsp)
movl %ecx, %eax
movq %rax, 0xf8(%rsp)
movl %r15d, %eax
movq %rax, 0x108(%rsp)
xorl %r15d, %r15d
movq %rbp, 0x20(%rsp)
movq %r13, %r14
movq 0x108(%rsp), %rax
leal (%rax,%r15), %ebx
movq 0x8(%rsp), %r13
movq 0x10(%rsp), %rdx
subq %r13, %rdx
sarq $0x4, %rdx
movabsq $-0x5555555555555555, %rax # imm = 0xAAAAAAAAAAAAAAAB
imulq %rax, %rdx
cmpq %rbx, %rdx
jbe 0x6a17
leaq (%rbx,%rbx,2), %rbp
shlq $0x4, %rbp
addq %rbp, %r13
leaq 0x110(%rsp), %rdi
movq %r13, %rsi
callq 0x7580
movb 0x28(%r13), %al
movb %al, 0x138(%rsp)
movq 0x8(%rsp), %r13
movq 0x10(%rsp), %rdx
subq %r13, %rdx
sarq $0x4, %rdx
movabsq $-0x5555555555555555, %rax # imm = 0xAAAAAAAAAAAAAAAB
imulq %rax, %rdx
cmpq %rbx, %rdx
jbe 0x6a28
movq 0x8(%r13,%rbp), %rcx
testq %rcx, %rcx
je 0x6614
addq %rbp, %r13
movq 0x20(%r13), %rax
testb $0x3, %al
je 0x65dd
andl $0x3, %eax
cmpl $0x3, %eax
jne 0x6614
movq %r14, %rdi
movq %r13, %rsi
movq %r14, %r13
callq 0x7580
jmp 0x661f
movq (%r13), %rdx
cmpb $0x2f, -0x1(%rdx,%rcx)
je 0x6614
testb $0x3, %al
je 0x65f0
xorl %eax, %eax
jmp 0x65f9
leaq 0x20(%r13), %rdi
callq 0x3150
leaq -0x30(%rax), %rcx
testb $0x3, 0x20(%r13)
cmovneq %rax, %rcx
cmoveq %rcx, %r13
movl 0x20(%r13), %eax
notl %eax
testb $0x3, %al
je 0x65cd
movq %r14, %r13
movq %r14, %rdi
callq 0x7866
movq 0x80(%rsp), %rsi
leaq 0x60(%rsp), %rax
movq %rax, 0x50(%rsp)
movq 0x88(%rsp), %rdx
addq %rsi, %rdx
leaq 0x50(%rsp), %rdi
callq 0x8308
movq %r13, %rdi
callq 0x75d6
leaq 0xd8(%rsp), %rax
movq %rax, 0xc8(%rsp)
movq 0x50(%rsp), %rsi
movq 0x58(%rsp), %rdx
addq %rsi, %rdx
leaq 0xc8(%rsp), %r14
movq %r14, %rdi
callq 0x8fc8
movq %r13, %rdi
movq %r14, %rsi
movq 0x100(%rsp), %rdx
callq 0x39d0
movq 0xc8(%rsp), %rdi
leaq 0xd8(%rsp), %rax
cmpq %rax, %rdi
je 0x66b3
movq 0xd8(%rsp), %rsi
incq %rsi
callq 0x3200
leaq 0x28(%rsp), %rdi
movl %r15d, %esi
movl %r12d, %edx
callq 0x38fc
movq 0x28(%rsp), %rsi
movq 0x30(%rsp), %rdx
leaq 0x1a0(%rsp), %rdi
callq 0x3240
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0x66f6
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x3200
leaq 0xb8(%rsp), %rax
movq %rax, 0xa8(%rsp)
movq 0x50(%rsp), %rsi
movq 0x58(%rsp), %rdx
addq %rsi, %rdx
leaq 0xa8(%rsp), %r14
movq %r14, %rdi
callq 0x8fc8
leaq 0x28(%rsp), %rdi
movq %r14, %rsi
callq 0x3b60
movq 0x28(%rsp), %rsi
movq 0x30(%rsp), %rdx
leaq 0x1a0(%rsp), %rdi
callq 0x3240
movl $0x1, %edx
movq %rax, %rdi
leaq 0x3be9(%rip), %rsi      # 0xa33f
callq 0x3240
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0x6777
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x3200
movq 0xa8(%rsp), %rdi
leaq 0xb8(%rsp), %rax
cmpq %rax, %rdi
je 0x679c
movq 0xb8(%rsp), %rsi
incq %rsi
callq 0x3200
movq (%rsp), %rax
movq 0x10(%rax), %rsi
movq 0x18(%rax), %rax
cmpq %rax, %rsi
je 0x67f8
movq 0x8(%rsp), %rdi
movq 0x10(%rsp), %rdx
subq %rdi, %rdx
sarq $0x4, %rdx
movabsq $-0x5555555555555555, %rcx # imm = 0xAAAAAAAAAAAAAAAB
imulq %rcx, %rdx
cmpq %rbx, %rdx
jbe 0x6a06
subq %rsi, %rax
je 0x69f9
addq %rbp, %rdi
callq 0x31e0
testl %eax, %eax
jne 0x67f8
movq (%rsp), %rax
movl 0x40(%rax), %eax
cmpq %rax, 0x20(%rsp)
je 0x6856
movq (%rsp), %rax
movq 0x28(%rax), %rsi
movq 0x30(%rax), %rax
cmpq %rax, %rsi
je 0x687e
movq 0x8(%rsp), %rdi
movq 0x10(%rsp), %rdx
subq %rdi, %rdx
sarq $0x4, %rdx
movabsq $-0x5555555555555555, %rcx # imm = 0xAAAAAAAAAAAAAAAB
imulq %rcx, %rdx
cmpq %rbx, %rdx
jbe 0x6a06
subq %rsi, %rax
je 0x69f9
addq %rbp, %rdi
callq 0x31e0
testl %eax, %eax
jne 0x687e
movq (%rsp), %rax
movl 0x40(%rax), %eax
decl %eax
cmpq %rax, 0x20(%rsp)
jne 0x687e
leaq 0x1a0(%rsp), %rdi
movq 0xe8(%rsp), %rsi
movq 0xf0(%rsp), %rdx
callq 0x3240
movq 0x20(%rsp), %rbp
movq (%rsp), %rbx
jmp 0x68c2
movzbl 0x138(%rsp), %eax
cmpl $0x3, %eax
movq 0x20(%rsp), %rbp
movq (%rsp), %rbx
je 0x6898
testl %eax, %eax
jne 0x68a5
leaq 0x110(%rsp), %rdi
callq 0x30c0
cmpb $0x2, %al
jne 0x68f5
movl $0x5, %edx
leaq 0x1a0(%rsp), %rdi
leaq 0x38b2(%rip), %rsi      # 0xa16f
callq 0x3240
movq 0x80(%rsp), %rsi
movq 0x88(%rsp), %rdx
leaq 0x1a0(%rsp), %rdi
callq 0x3240
movl $0x4, %edx
movq %rax, %rdi
leaq 0x388f(%rip), %rsi      # 0xa17d
callq 0x3240
jmp 0x6912
movq 0x80(%rsp), %rsi
movq 0x88(%rsp), %rdx
leaq 0x1a0(%rsp), %rdi
callq 0x3240
movq 0x80(%rsp), %rdi
leaq 0x90(%rsp), %rax
cmpq %rax, %rdi
je 0x6937
movq 0x90(%rsp), %rsi
incq %rsi
callq 0x3200
movq 0x50(%rsp), %rdi
leaq 0x60(%rsp), %rax
cmpq %rax, %rdi
je 0x6953
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x3200
leaq 0x110(%rsp), %rdi
callq 0x75d6
incq %r15
cmpq %r15, 0xf8(%rsp)
jne 0x652b
leaq 0x8(%rsp), %r14
movq %r14, %rdi
callq 0x5e86
incq %rbp
movq 0x50(%rbx), %rax
movq 0x58(%rbx), %rcx
subq %rax, %rcx
sarq $0x3, %rcx
movabsq $-0x5555555555555555, %rdx # imm = 0xAAAAAAAAAAAAAAAB
imulq %rdx, %rcx
cmpq %rbp, %rcx
leaq 0x140(%rsp), %r15
ja 0x62ed
leaq 0x1a8(%rsp), %rsi
movq 0x78(%rsp), %rdi
callq 0x3350
movq 0x85f8(%rip), %rsi      # 0xefc0
leaq 0x1a0(%rsp), %rdi
callq 0x3120
leaq 0x210(%rsp), %rdi
callq 0x3080
movq 0x78(%rsp), %rax
addq $0x318, %rsp            # imm = 0x318
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
sarq $0x4, %rax
imulq %rcx, %rax
xorl %ebx, %ebx
movq %rax, %rdx
leaq 0x37bb(%rip), %rdi      # 0xa1c8
movq %rbx, %rsi
xorl %eax, %eax
callq 0x3310
leaq 0x37aa(%rip), %rdi      # 0xa1c8
movq %rbx, %rsi
xorl %eax, %eax
callq 0x3310
leaq 0x3799(%rip), %rdi      # 0xa1c8
movq %rbx, %rsi
xorl %eax, %eax
callq 0x3310
movl $0x3, %esi
movl $0x3, %edx
jmp 0x6a56
movl $0x2, %esi
leaq 0x3777(%rip), %rax      # 0xa1c8
movq %rax, 0x70(%rsp)
movq 0x70(%rsp), %rdi
xorl %eax, %eax
callq 0x3310
movq %rax, %rbx
leaq 0x170(%rsp), %rdi
jmp 0x6ba6
jmp 0x6b0a
jmp 0x6a8b
movq %rax, %rbx
leaq 0x140(%rsp), %rdi
jmp 0x6ba6
jmp 0x6b0a
movq %rax, %rbx
jmp 0x6bb5
jmp 0x6b0a
jmp 0x6b00
movq %rax, %rbx
leaq 0x80(%rsp), %rdi
callq 0x75d6
jmp 0x6b9e
movq %rax, %rbx
jmp 0x6b82
movq %rax, %rbx
jmp 0x6b31
movq %rax, %rbx
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0x6b5d
movq 0x38(%rsp), %rsi
jmp 0x6b4e
movq %rax, %rbx
movq 0xc8(%rsp), %rdi
leaq 0xd8(%rsp), %rax
cmpq %rax, %rdi
je 0x6b82
movq 0xd8(%rsp), %rsi
jmp 0x6b7a
jmp 0x6b5a
jmp 0x6b5a
movq %rax, %rbx
jmp 0x6b9e
jmp 0x6b0a
movq %rax, %rbx
jmp 0x6bab
movq %rax, %rbx
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0x6b31
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x3200
movq 0xa8(%rsp), %rdi
leaq 0xb8(%rsp), %rax
cmpq %rax, %rdi
je 0x6b5d
movq 0xb8(%rsp), %rsi
incq %rsi
callq 0x3200
jmp 0x6b5d
jmp 0x6b5a
movq %rax, %rbx
movq 0x80(%rsp), %rdi
leaq 0x90(%rsp), %rax
cmpq %rax, %rdi
je 0x6b82
movq 0x90(%rsp), %rsi
incq %rsi
callq 0x3200
movq 0x50(%rsp), %rdi
leaq 0x60(%rsp), %rax
cmpq %rax, %rdi
je 0x6b9e
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x3200
leaq 0x110(%rsp), %rdi
callq 0x75d6
leaq 0x8(%rsp), %rdi
callq 0x5e86
movq 0x8404(%rip), %rsi      # 0xefc0
leaq 0x1a0(%rsp), %rdi
callq 0x3120
leaq 0x210(%rsp), %rdi
callq 0x3080
movq %rbx, %rdi
callq 0x33b0