// File: tdv[P]boss/boss/include/other/rapidxml-1.13/rapidxml_print.hpp
// Function: std::ostream_iterator<char, char, std::char_traits<char>> rapidxml::internal::print_attributes<std::ostream_iterator<char, char, std::char_traits<char>>, char>(std::ostream_iterator<char, char, std::char_traits<char>>, rapidxml::xml_node<char> const*, int)
inline OutIt print_attributes(OutIt out, const xml_node<Ch> *node, int flags)
        {
            for (xml_attribute<Ch> *attribute = node->first_attribute(); attribute; attribute = attribute->next_attribute())
            {
                if (attribute->name() && attribute->value())
                {
                    // Print attribute name
                    *out = Ch(' '), ++out;
                    out = copy_chars(attribute->name(), attribute->name() + attribute->name_size(), out);
                    *out = Ch('='), ++out;
                    // Print attribute value using appropriate quote type
                    if (find_char<Ch, Ch('"')>(attribute->value(), attribute->value() + attribute->value_size()))
                    {
                        *out = Ch('\''), ++out;
                        out = copy_and_expand_chars(attribute->value(), attribute->value() + attribute->value_size(), Ch('"'), out);
                        *out = Ch('\''), ++out;
                    }
                    else
                    {
                        *out = Ch('"'), ++out;
                        out = copy_and_expand_chars(attribute->value(), attribute->value() + attribute->value_size(), Ch('\''), out);
                        *out = Ch('"'), ++out;
                    }
                }
            }
            return out;
        }

// Assembly:
subq $0x118, %rsp            # imm = 0x118
movq %rsi, 0x58(%rsp)
movq %rdi, 0x60(%rsp)
movq %rdi, %rax
movq %rax, 0x68(%rsp)
movq %rdi, 0x110(%rsp)
movq %rsi, 0x108(%rsp)
movq %rdx, 0x100(%rsp)
movl %ecx, 0xfc(%rsp)
movq 0x100(%rsp), %rdi
xorl %eax, %eax
movl %eax, %edx
movl $0x1, %ecx
movq %rdx, %rsi
callq 0x34b80
movq %rax, 0xf0(%rsp)
cmpq $0x0, 0xf0(%rsp)
je 0x3bd70
movq 0xf0(%rsp), %rdi
callq 0x33040
cmpq $0x0, %rax
je 0x3bd48
movq 0xf0(%rsp), %rdi
callq 0x36d60
cmpq $0x0, %rax
je 0x3bd48
movq 0x58(%rsp), %rdi
movb $0x20, 0xef(%rsp)
callq 0x3b840
movq %rax, %rdi
leaq 0xef(%rsp), %rsi
callq 0x3b850
movq 0x58(%rsp), %rdi
callq 0x3b8a0
movq 0xf0(%rsp), %rdi
callq 0x33040
movq %rax, 0x38(%rsp)
movq 0xf0(%rsp), %rdi
callq 0x33040
movq %rax, 0x30(%rsp)
movq 0xf0(%rsp), %rdi
callq 0x33080
movq 0x58(%rsp), %rsi
movq %rax, %rcx
movq 0x30(%rsp), %rax
addq %rcx, %rax
movq %rax, 0x40(%rsp)
leaq 0xc8(%rsp), %rdi
callq 0x3a270
movq 0x38(%rsp), %rsi
movq 0x40(%rsp), %rdx
leaq 0xd8(%rsp), %rdi
leaq 0xc8(%rsp), %rcx
callq 0x3b930
movq 0x58(%rsp), %rdi
movq 0xd8(%rsp), %rax
movq %rax, (%rdi)
movq 0xe0(%rsp), %rax
movq %rax, 0x8(%rdi)
movb $0x3d, 0xc7(%rsp)
callq 0x3b840
movq %rax, %rdi
leaq 0xc7(%rsp), %rsi
callq 0x3b850
movq 0x58(%rsp), %rdi
callq 0x3b8a0
movq 0xf0(%rsp), %rdi
callq 0x36d60
movq %rax, 0x50(%rsp)
movq 0xf0(%rsp), %rdi
callq 0x36d60
movq %rax, 0x48(%rsp)
movq 0xf0(%rsp), %rdi
callq 0x36da0
movq 0x48(%rsp), %rsi
movq 0x50(%rsp), %rdi
addq %rax, %rsi
callq 0x3c280
testb $0x1, %al
jne 0x3bb83
jmp 0x3bc6e
movq 0x58(%rsp), %rdi
movb $0x27, 0xc6(%rsp)
callq 0x3b840
movq %rax, %rdi
leaq 0xc6(%rsp), %rsi
callq 0x3b850
movq 0x58(%rsp), %rdi
callq 0x3b8a0
movq 0xf0(%rsp), %rdi
callq 0x36d60
movq %rax, 0x20(%rsp)
movq 0xf0(%rsp), %rdi
callq 0x36d60
movq %rax, 0x18(%rsp)
movq 0xf0(%rsp), %rdi
callq 0x36da0
movq 0x58(%rsp), %rsi
movq %rax, %rcx
movq 0x18(%rsp), %rax
addq %rcx, %rax
movq %rax, 0x28(%rsp)
leaq 0xa0(%rsp), %rdi
callq 0x3a270
movq 0x20(%rsp), %rsi
movq 0x28(%rsp), %rdx
leaq 0xb0(%rsp), %rdi
movl $0x22, %ecx
leaq 0xa0(%rsp), %r8
callq 0x3bd90
movq 0x58(%rsp), %rdi
movq 0xb0(%rsp), %rax
movq %rax, (%rdi)
movq 0xb8(%rsp), %rax
movq %rax, 0x8(%rdi)
movb $0x27, 0x9f(%rsp)
callq 0x3b840
movq %rax, %rdi
leaq 0x9f(%rsp), %rsi
callq 0x3b850
movq 0x58(%rsp), %rdi
callq 0x3b8a0
jmp 0x3bd46
movq 0x58(%rsp), %rdi
movb $0x22, 0x9e(%rsp)
callq 0x3b840
movq %rax, %rdi
leaq 0x9e(%rsp), %rsi
callq 0x3b850
movq 0x58(%rsp), %rdi
callq 0x3b8a0
movq 0xf0(%rsp), %rdi
callq 0x36d60
movq %rax, 0x8(%rsp)
movq 0xf0(%rsp), %rdi
callq 0x36d60
movq %rax, (%rsp)
movq 0xf0(%rsp), %rdi
callq 0x36da0
movq 0x58(%rsp), %rsi
movq %rax, %rcx
movq (%rsp), %rax
addq %rcx, %rax
movq %rax, 0x10(%rsp)
leaq 0x78(%rsp), %rdi
callq 0x3a270
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
leaq 0x88(%rsp), %rdi
movl $0x27, %ecx
leaq 0x78(%rsp), %r8
callq 0x3bd90
movq 0x58(%rsp), %rdi
movq 0x88(%rsp), %rax
movq %rax, (%rdi)
movq 0x90(%rsp), %rax
movq %rax, 0x8(%rdi)
movb $0x22, 0x77(%rsp)
callq 0x3b840
movq %rax, %rdi
leaq 0x77(%rsp), %rsi
callq 0x3b850
movq 0x58(%rsp), %rdi
callq 0x3b8a0
jmp 0x3bd48
jmp 0x3bd4a
movq 0xf0(%rsp), %rdi
xorl %eax, %eax
movl %eax, %edx
movl $0x1, %ecx
movq %rdx, %rsi
callq 0x3c2d0
movq %rax, 0xf0(%rsp)
jmp 0x3ba19
movq 0x58(%rsp), %rsi
movq 0x60(%rsp), %rdi
callq 0x3a270
movq 0x68(%rsp), %rax
addq $0x118, %rsp            # imm = 0x118
retq
nopl (%rax)