// File: /workspace/github_cpp_makefile_star2_O3/tdv[P]boss/boss/include/other/rapidxml-1.13/rapidxml_print.hpp
// Function: std::ostream_iterator<char, char, std::char_traits<char>> rapidxml::internal::copy_and_expand_chars<std::ostream_iterator<char, char, std::char_traits<char>>, char>(char const*, char const*, char, std::ostream_iterator<char, char, std::char_traits<char>>)
inline OutIt copy_and_expand_chars(const Ch *begin, const Ch *end, Ch noexpand, OutIt out)
        {
            while (begin != end)
            {
                if (*begin == noexpand)
                {
                    *out++ = *begin;    // No expansion, copy character
                }
                else
                {
                    switch (*begin)
                    {
                    case Ch('<'):
                        *out++ = Ch('&'); *out++ = Ch('l'); *out++ = Ch('t'); *out++ = Ch(';');
                        break;
                    case Ch('>'): 
                        *out++ = Ch('&'); *out++ = Ch('g'); *out++ = Ch('t'); *out++ = Ch(';');
                        break;
                    case Ch('\''): 
                        *out++ = Ch('&'); *out++ = Ch('a'); *out++ = Ch('p'); *out++ = Ch('o'); *out++ = Ch('s'); *out++ = Ch(';');
                        break;
                    case Ch('"'): 
                        *out++ = Ch('&'); *out++ = Ch('q'); *out++ = Ch('u'); *out++ = Ch('o'); *out++ = Ch('t'); *out++ = Ch(';');
                        break;
                    case Ch('&'): 
                        *out++ = Ch('&'); *out++ = Ch('a'); *out++ = Ch('m'); *out++ = Ch('p'); *out++ = Ch(';'); 
                        break;
                    default:
                        *out++ = *begin;    // No expansion, copy character
                    }
                }
                ++begin;    // Step to next character
            }
            return out;
        }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %r8, %rbx
movq %rdi, %r14
cmpq %rdx, %rsi
je 0x26305
movl %ecx, %ebp
movq %rdx, %r15
movq %rsi, %r12
leaq 0x7(%rsp), %r13
movzbl (%r12), %eax
cmpb %bpl, %al
jne 0x261c1
movq %rbx, %rdi
movq %r12, %rsi
jmp 0x262f4
cmpl $0x26, %eax
jle 0x261f3
cmpl $0x27, %eax
je 0x2623b
cmpl $0x3e, %eax
je 0x26282
cmpl $0x3c, %eax
jne 0x261b6
movb $0x26, 0x7(%rsp)
movq %rbx, %rdi
movq %r13, %rsi
callq 0x25f82
movb $0x6c, 0x7(%rsp)
jmp 0x262ce
cmpl $0x22, %eax
je 0x26299
cmpl $0x26, %eax
jne 0x261b6
movb $0x26, 0x7(%rsp)
movq %rbx, %rdi
movq %r13, %rsi
callq 0x25f82
movb $0x61, 0x7(%rsp)
movq %rbx, %rdi
movq %r13, %rsi
callq 0x25f82
movb $0x6d, 0x7(%rsp)
movq %rbx, %rdi
movq %r13, %rsi
callq 0x25f82
movb $0x70, 0x7(%rsp)
jmp 0x262de
movb $0x26, 0x7(%rsp)
movq %rbx, %rdi
movq %r13, %rsi
callq 0x25f82
movb $0x61, 0x7(%rsp)
movq %rbx, %rdi
movq %r13, %rsi
callq 0x25f82
movb $0x70, 0x7(%rsp)
movq %rbx, %rdi
movq %r13, %rsi
callq 0x25f82
movb $0x6f, 0x7(%rsp)
movq %rbx, %rdi
movq %r13, %rsi
callq 0x25f82
movb $0x73, 0x7(%rsp)
jmp 0x262de
movb $0x26, 0x7(%rsp)
movq %rbx, %rdi
movq %r13, %rsi
callq 0x25f82
movb $0x67, 0x7(%rsp)
jmp 0x262ce
movb $0x26, 0x7(%rsp)
movq %rbx, %rdi
movq %r13, %rsi
callq 0x25f82
movb $0x71, 0x7(%rsp)
movq %rbx, %rdi
movq %r13, %rsi
callq 0x25f82
movb $0x75, 0x7(%rsp)
movq %rbx, %rdi
movq %r13, %rsi
callq 0x25f82
movb $0x6f, 0x7(%rsp)
movq %rbx, %rdi
movq %r13, %rsi
callq 0x25f82
movb $0x74, 0x7(%rsp)
movq %rbx, %rdi
movq %r13, %rsi
callq 0x25f82
movb $0x3b, 0x7(%rsp)
movq %rbx, %rdi
movq %r13, %rsi
callq 0x25f82
incq %r12
cmpq %r15, %r12
jne 0x261ac
movups (%rbx), %xmm0
movups %xmm0, (%r14)
movq %r14, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq