// File: /workspace/github_cpp_makefile_star2_O3/dadocolussi[P]gdc-circular_queue/tests/catch.hpp
// Function: Catch::Tbc::Text::Text(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, Catch::Tbc::TextAttributes const&)
Text( std::string const& _str, TextAttributes const& _attr = TextAttributes() )
        : attr( _attr )
        {
            std::string wrappableChars = " [({.,/|\\-";
            std::size_t indent = _attr.initialIndent != std::string::npos
                ? _attr.initialIndent
                : _attr.indent;
            std::string remainder = _str;

            while( !remainder.empty() ) {
                if( lines.size() >= 1000 ) {
                    lines.push_back( "... message truncated due to excessive size" );
                    return;
                }
                std::size_t tabPos = std::string::npos;
                std::size_t width = (std::min)( remainder.size(), _attr.width - indent );
                std::size_t pos = remainder.find_first_of( '\n' );
                if( pos <= width ) {
                    width = pos;
                }
                pos = remainder.find_last_of( _attr.tabChar, width );
                if( pos != std::string::npos ) {
                    tabPos = pos;
                    if( remainder[width] == '\n' )
                        width--;
                    remainder = remainder.substr( 0, tabPos ) + remainder.substr( tabPos+1 );
                }

                if( width == remainder.size() ) {
                    spliceLine( indent, remainder, width );
                }
                else if( remainder[width] == '\n' ) {
                    spliceLine( indent, remainder, width );
                    if( width <= 1 || remainder.size() != 1 )
                        remainder = remainder.substr( 1 );
                    indent = _attr.indent;
                }
                else {
                    pos = remainder.find_last_of( wrappableChars, width );
                    if( pos != std::string::npos && pos > 0 ) {
                        spliceLine( indent, remainder, pos );
                        if( remainder[0] == ' ' )
                            remainder = remainder.substr( 1 );
                    }
                    else {
                        spliceLine( indent, remainder, width-1 );
                        lines.back() += "-";
                    }
                    if( lines.size() == 1 )
                        indent = _attr.indent;
                    if( tabPos != std::string::npos )
                        indent += tabPos;
                }
            }
        }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xc8, %rsp
movq %rdx, %r15
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x10(%rdi), %rax
movq %rax, 0x40(%rsp)
movq %rax, (%rdi)
xorl %eax, %eax
movq %rax, 0x8(%rdi)
movb $0x0, 0x10(%rdi)
movups (%rdx), %xmm0
movups 0x10(%rdx), %xmm1
movups %xmm0, 0x20(%rdi)
movups %xmm1, 0x30(%rdi)
leaq 0x40(%rdi), %rcx
movq %rcx, 0x48(%rsp)
xorps %xmm0, %xmm0
movups %xmm0, 0x40(%rdi)
movq %rax, 0x50(%rdi)
leaq 0xa8(%rsp), %rax
movq %rax, -0x10(%rax)
leaq 0x20bab(%rip), %rsi     # 0x4543d
leaq 0x20bae(%rip), %rdx     # 0x45447
leaq 0x98(%rsp), %rdi
movq %rbx, 0x50(%rsp)
callq 0x31a82
movq (%r15), %r13
cmpq $-0x1, %r13
jne 0x248b8
movq 0x8(%r15), %r13
leaq 0x30(%rsp), %rax
movq %rax, -0x10(%rax)
movq (%r14), %rsi
movq 0x8(%r14), %rdx
addq %rsi, %rdx
leaq 0x20(%rsp), %rdi
callq 0x319ec
movq 0x28(%rsp), %rax
testq %rax, %rax
je 0x24c78
leaq 0x20(%rsp), %r12
movq 0x48(%rbx), %rcx
subq 0x40(%rbx), %rcx
cmpq $0x7ce1, %rcx           # imm = 0x7CE1
jae 0x24c37
movq 0x10(%r15), %r14
subq %r13, %r14
cmpq %rax, %r14
cmovaeq %rax, %r14
movq %r12, %rdi
movl $0xa, %esi
xorl %edx, %edx
callq 0xb5e0
cmpq %r14, %rax
cmovbq %rax, %r14
movsbl 0x18(%r15), %esi
movq %r12, %rdi
movq %r14, %rdx
callq 0xb8f0
movq %rax, %rbp
cmpq $-0x1, %rax
je 0x24aca
movq %r13, 0xc0(%rsp)
movq %r15, %rbx
movq 0x20(%rsp), %rax
xorl %r15d, %r15d
cmpb $0xa, (%rax,%r14)
sete %r13b
leaq 0x78(%rsp), %rdi
movq %r12, %rsi
xorl %edx, %edx
movq %rbp, %rcx
callq 0xb4d0
movq %rbp, 0xb8(%rsp)
leaq 0x1(%rbp), %rdx
leaq 0x58(%rsp), %rdi
movq %r12, %rbp
movq %r12, %rsi
movq $-0x1, %rcx
callq 0xb4d0
movq 0x78(%rsp), %rcx
movl $0xf, %edi
leaq 0x88(%rsp), %rax
cmpq %rax, %rcx
movq %rsp, %r12
je 0x249b1
movq 0x88(%rsp), %rdi
movq 0x80(%rsp), %r8
movq 0x58(%rsp), %rsi
movq 0x60(%rsp), %rdx
leaq (%rdx,%r8), %rax
cmpq %rdi, %rax
jbe 0x249e5
movl $0xf, %edi
leaq 0x68(%rsp), %r9
cmpq %r9, %rsi
je 0x249e0
movq 0x68(%rsp), %rdi
cmpq %rdi, %rax
jbe 0x249f1
leaq 0x78(%rsp), %rdi
callq 0xb110
jmp 0x249ff
leaq 0x58(%rsp), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0xb510
leaq 0x10(%rsp), %rsi
movq %rsi, (%rsp)
movq (%rax), %rdx
leaq 0x10(%rax), %rcx
cmpq %rcx, %rdx
je 0x24a22
movq %rdx, (%rsp)
movq (%rcx), %rdx
movq %rdx, 0x10(%rsp)
jmp 0x24a28
movups (%rcx), %xmm0
movups %xmm0, (%rsi)
movq %rax, %rdx
addq $0x8, %rdx
movq 0x8(%rax), %rsi
movq %rsi, 0x8(%rsp)
movq %rcx, (%rax)
movq $0x0, (%rdx)
movb $0x0, (%rcx)
movq %rbp, %rdi
movq %r12, %rsi
callq 0xb590
movq (%rsp), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0x24a6b
movq 0x10(%rsp), %rsi
incq %rsi
callq 0xb4a0
movq 0x58(%rsp), %rdi
leaq 0x68(%rsp), %rax
cmpq %rax, %rdi
je 0x24a87
movq 0x68(%rsp), %rsi
incq %rsi
callq 0xb4a0
movq 0x78(%rsp), %rdi
leaq 0x88(%rsp), %rax
cmpq %rax, %rdi
je 0x24aa9
movq 0x88(%rsp), %rsi
incq %rsi
callq 0xb4a0
movb %r13b, %r15b
subq %r15, %r14
movq %rbx, %r15
movq 0x50(%rsp), %rbx
movq %rbp, %r12
movq 0xc0(%rsp), %r13
movq 0xb8(%rsp), %rbp
cmpq 0x28(%rsp), %r14
jne 0x24ae7
movq %rbx, %rdi
movq %r13, %rsi
movq %r12, %rdx
movq %r14, %rcx
callq 0x264c8
jmp 0x24c27
movq 0x20(%rsp), %rax
cmpb $0xa, (%rax,%r14)
jne 0x24b5b
movq %rbx, %rdi
movq %r13, %rsi
movq %r12, %rdx
movq %r14, %rcx
callq 0x264c8
cmpq $0x2, %r14
jb 0x24b12
cmpq $0x1, 0x28(%rsp)
je 0x24b52
movl $0x1, %edx
movq %rsp, %r14
movq %r14, %rdi
movq %r12, %rsi
movq $-0x1, %rcx
callq 0xb4d0
movq %r12, %rdi
movq %r14, %rsi
callq 0xb590
movq (%rsp), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0x24b52
movq 0x10(%rsp), %rsi
incq %rsi
callq 0xb4a0
movq 0x8(%r15), %r13
jmp 0x24c27
movq 0x98(%rsp), %rsi
movq 0xa0(%rsp), %rcx
movq %r12, %rdi
movq %r14, %rdx
callq 0xb910
leaq -0x1(%rax), %rcx
cmpq $-0x3, %rcx
ja 0x24bdd
movq %rbx, %rdi
movq %r13, %rsi
movq %r12, %rdx
movq %rax, %rcx
callq 0x264c8
movq 0x20(%rsp), %rax
cmpb $0x20, (%rax)
jne 0x24c05
movl $0x1, %edx
movq %rsp, %r14
movq %r14, %rdi
movq %r12, %rsi
movq $-0x1, %rcx
callq 0xb4d0
movq %r12, %rdi
movq %r14, %rsi
callq 0xb590
movq (%rsp), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0x24c05
movq 0x10(%rsp), %rsi
incq %rsi
callq 0xb4a0
jmp 0x24c05
decq %r14
movq %rbx, %rdi
movq %r13, %rsi
movq %r12, %rdx
movq %r14, %rcx
callq 0x264c8
movq 0x48(%rbx), %rdi
addq $-0x20, %rdi
leaq 0x21006(%rip), %rsi     # 0x45c06
callq 0xb8b0
movq 0x48(%rbx), %rax
subq 0x40(%rbx), %rax
cmpq $0x20, %rax
jne 0x24c17
movq 0x8(%r15), %r13
cmpq $-0x1, %rbp
movl $0x0, %eax
cmovneq %rbp, %rax
addq %rax, %r13
movq 0x28(%rsp), %rax
testq %rax, %rax
jne 0x248e8
jmp 0x24c78
movq %rsp, %rdi
leaq 0x10(%rsp), %rbx
movq %rbx, (%rdi)
leaq 0x207ff(%rip), %rsi     # 0x45448
leaq 0x20823(%rip), %rdx     # 0x45473
callq 0x31a82
movq %rsp, %rsi
movq 0x48(%rsp), %rdi
callq 0x31b18
movq (%rsp), %rdi
cmpq %rbx, %rdi
je 0x24c78
movq 0x10(%rsp), %rsi
incq %rsi
callq 0xb4a0
movq 0x20(%rsp), %rdi
leaq 0x30(%rsp), %rax
cmpq %rax, %rdi
je 0x24c94
movq 0x30(%rsp), %rsi
incq %rsi
callq 0xb4a0
movq 0x98(%rsp), %rdi
leaq 0xa8(%rsp), %rax
cmpq %rax, %rdi
je 0x24cb9
movq 0xa8(%rsp), %rsi
incq %rsi
callq 0xb4a0
addq $0xc8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r14
movq (%rsp), %rdi
cmpq %rbx, %rdi
je 0x24d3e
movq 0x10(%rsp), %rsi
jmp 0x24d2f
jmp 0x24d3b
jmp 0x24d3b
movq %rax, %r14
jmp 0x24d5a
movq %rax, %r14
jmp 0x24d7f
jmp 0x24d3b
movq %rax, %r14
movq 0x58(%rsp), %rdi
leaq 0x68(%rsp), %rax
cmpq %rax, %rdi
je 0x24d15
movq 0x68(%rsp), %rsi
incq %rsi
callq 0xb4a0
jmp 0x24d15
movq %rax, %r14
movq 0x78(%rsp), %rdi
leaq 0x88(%rsp), %rax
cmpq %rax, %rdi
je 0x24d3e
movq 0x88(%rsp), %rsi
incq %rsi
callq 0xb4a0
jmp 0x24d3e
jmp 0x24d3b
movq %rax, %r14
movq 0x20(%rsp), %rdi
leaq 0x30(%rsp), %rax
cmpq %rax, %rdi
je 0x24d5a
movq 0x30(%rsp), %rsi
incq %rsi
callq 0xb4a0
movq 0x98(%rsp), %rdi
leaq 0xa8(%rsp), %rax
cmpq %rax, %rdi
je 0x24d7f
movq 0xa8(%rsp), %rsi
incq %rsi
callq 0xb4a0
movq 0x48(%rsp), %rdi
callq 0x13df2
movq 0x50(%rsp), %rax
movq (%rax), %rdi
cmpq 0x40(%rsp), %rdi
je 0x24da8
movq 0x40(%rsp), %rax
movq (%rax), %rsi
incq %rsi
callq 0xb4a0
movq %r14, %rdi
callq 0xb820