// File: /workspace/github_cpp_makefile_star2_O2/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
movl %ecx, %ebp
movq %rdx, %r15
movq %rsi, %r12
movq %rdi, %r14
leaq 0x7(%rsp), %r13
cmpq %r15, %r12
je 0x25543
movzbl (%r12), %eax
cmpb %bpl, %al
jne 0x2540c
movq %rbx, %rdi
movq %r12, %rsi
jmp 0x25536
cmpl $0x22, %eax
je 0x254db
cmpl $0x26, %eax
je 0x25443
cmpl $0x27, %eax
je 0x25494
cmpl $0x3e, %eax
je 0x2547d
cmpl $0x3c, %eax
jne 0x25401
movb $0x26, 0x7(%rsp)
movq %rbx, %rdi
movq %r13, %rsi
callq 0x251a4
movb $0x6c, 0x7(%rsp)
jmp 0x25510
movb $0x26, 0x7(%rsp)
movq %rbx, %rdi
movq %r13, %rsi
callq 0x251a4
movb $0x61, 0x7(%rsp)
movq %rbx, %rdi
movq %r13, %rsi
callq 0x251a4
movb $0x6d, 0x7(%rsp)
movq %rbx, %rdi
movq %r13, %rsi
callq 0x251a4
movb $0x70, 0x7(%rsp)
jmp 0x25520
movb $0x26, 0x7(%rsp)
movq %rbx, %rdi
movq %r13, %rsi
callq 0x251a4
movb $0x67, 0x7(%rsp)
jmp 0x25510
movb $0x26, 0x7(%rsp)
movq %rbx, %rdi
movq %r13, %rsi
callq 0x251a4
movb $0x61, 0x7(%rsp)
movq %rbx, %rdi
movq %r13, %rsi
callq 0x251a4
movb $0x70, 0x7(%rsp)
movq %rbx, %rdi
movq %r13, %rsi
callq 0x251a4
movb $0x6f, 0x7(%rsp)
movq %rbx, %rdi
movq %r13, %rsi
callq 0x251a4
movb $0x73, 0x7(%rsp)
jmp 0x25520
movb $0x26, 0x7(%rsp)
movq %rbx, %rdi
movq %r13, %rsi
callq 0x251a4
movb $0x71, 0x7(%rsp)
movq %rbx, %rdi
movq %r13, %rsi
callq 0x251a4
movb $0x75, 0x7(%rsp)
movq %rbx, %rdi
movq %r13, %rsi
callq 0x251a4
movb $0x6f, 0x7(%rsp)
movq %rbx, %rdi
movq %r13, %rsi
callq 0x251a4
movb $0x74, 0x7(%rsp)
movq %rbx, %rdi
movq %r13, %rsi
callq 0x251a4
movb $0x3b, 0x7(%rsp)
movq %rbx, %rdi
movq %r13, %rsi
callq 0x251a4
incq %r12
jmp 0x253ee
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