// File: /workspace/github_cpp_makefile_star2_O1/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 0x288ce
movl %ecx, %ebp
movq %rdx, %r15
movq %rsi, %r12
leaq 0x7(%rsp), %r13
movzbl (%r12), %eax
cmpb %bpl, %al
jne 0x2878a
movq %rbx, %rdi
movq %r12, %rsi
jmp 0x288bd
cmpl $0x26, %eax
jle 0x287bc
cmpl $0x27, %eax
je 0x28804
cmpl $0x3e, %eax
je 0x2884b
cmpl $0x3c, %eax
jne 0x2877f
movb $0x26, 0x7(%rsp)
movq %rbx, %rdi
movq %r13, %rsi
callq 0x28550
movb $0x6c, 0x7(%rsp)
jmp 0x28897
cmpl $0x22, %eax
je 0x28862
cmpl $0x26, %eax
jne 0x2877f
movb $0x26, 0x7(%rsp)
movq %rbx, %rdi
movq %r13, %rsi
callq 0x28550
movb $0x61, 0x7(%rsp)
movq %rbx, %rdi
movq %r13, %rsi
callq 0x28550
movb $0x6d, 0x7(%rsp)
movq %rbx, %rdi
movq %r13, %rsi
callq 0x28550
movb $0x70, 0x7(%rsp)
jmp 0x288a7
movb $0x26, 0x7(%rsp)
movq %rbx, %rdi
movq %r13, %rsi
callq 0x28550
movb $0x61, 0x7(%rsp)
movq %rbx, %rdi
movq %r13, %rsi
callq 0x28550
movb $0x70, 0x7(%rsp)
movq %rbx, %rdi
movq %r13, %rsi
callq 0x28550
movb $0x6f, 0x7(%rsp)
movq %rbx, %rdi
movq %r13, %rsi
callq 0x28550
movb $0x73, 0x7(%rsp)
jmp 0x288a7
movb $0x26, 0x7(%rsp)
movq %rbx, %rdi
movq %r13, %rsi
callq 0x28550
movb $0x67, 0x7(%rsp)
jmp 0x28897
movb $0x26, 0x7(%rsp)
movq %rbx, %rdi
movq %r13, %rsi
callq 0x28550
movb $0x71, 0x7(%rsp)
movq %rbx, %rdi
movq %r13, %rsi
callq 0x28550
movb $0x75, 0x7(%rsp)
movq %rbx, %rdi
movq %r13, %rsi
callq 0x28550
movb $0x6f, 0x7(%rsp)
movq %rbx, %rdi
movq %r13, %rsi
callq 0x28550
movb $0x74, 0x7(%rsp)
movq %rbx, %rdi
movq %r13, %rsi
callq 0x28550
movb $0x3b, 0x7(%rsp)
movq %rbx, %rdi
movq %r13, %rsi
callq 0x28550
incq %r12
cmpq %r15, %r12
jne 0x28775
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
nop