// File: /workspace/github_cpp_makefile_star2_O1/Matlock42[P]Jeopardy/./RapidXml/rapidxml.hpp
// Function: void rapidxml::xml_document<char>::parse_node_attributes<0>(char*&, rapidxml::xml_node<char>*)
void parse_node_attributes(Ch *&text, xml_node<Ch> *node)
        {
            // For all attributes 
            while (attribute_name_pred::test(*text))
            {
                // Extract attribute name
                Ch *name = text;
                ++text;     // Skip first character of attribute name
                skip<attribute_name_pred, Flags>(text);
                if (text == name)
                    RAPIDXML_PARSE_ERROR("expected attribute name", name);

                // Create new attribute
                xml_attribute<Ch> *attribute = this->allocate_attribute();
                attribute->name(name, text - name);
                node->append_attribute(attribute);

                // Skip whitespace after attribute name
                skip<whitespace_pred, Flags>(text);

                // Skip =
                if (*text != Ch('='))
                    RAPIDXML_PARSE_ERROR("expected =", text);
                ++text;

                // Add terminating zero after name
                if (!(Flags & parse_no_string_terminators))
                    attribute->name()[attribute->name_size()] = 0;

                // Skip whitespace after =
                skip<whitespace_pred, Flags>(text);

                // Skip quote and remember if it was ' or "
                Ch quote = *text;
                if (quote != Ch('\'') && quote != Ch('"'))
                    RAPIDXML_PARSE_ERROR("expected ' or \"", text);
                ++text;

                // Extract attribute value and expand char refs in it
                Ch *value = text, *end;
                const int AttFlags = Flags & ~parse_normalize_whitespace;   // No whitespace normalization in attributes
                if (quote == Ch('\''))
                    end = skip_and_expand_character_refs<attribute_value_pred<Ch('\'')>, attribute_value_pure_pred<Ch('\'')>, AttFlags>(text);
                else
                    end = skip_and_expand_character_refs<attribute_value_pred<Ch('"')>, attribute_value_pure_pred<Ch('"')>, AttFlags>(text);
                
                // Set attribute value
                attribute->value(value, end - value);
                
                // Make sure that end quote is present
                if (*text != quote)
                    RAPIDXML_PARSE_ERROR("expected ' or \"", text);
                ++text;     // Skip quote

                // Add terminating zero after value
                if (!(Flags & parse_no_string_terminators))
                    attribute->value()[attribute->value_size()] = 0;

                // Skip whitespace after attribute value
                skip<whitespace_pred, Flags>(text);
            }
        }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rdx, -0x48(%rbp)
movq %rdi, -0x38(%rbp)
movq (%rsi), %r15
movzbl (%r15), %eax
leaq 0x1af3(%rip), %r13      # 0x6830
cmpb $0x0, (%rax,%r13)
je 0x4ea6
addq $0x60, -0x38(%rbp)
leaq 0x18dc(%rip), %r14      # 0x6630
movq %rsi, -0x40(%rbp)
leaq 0x1(%r15), %rax
movq %rax, (%rsi)
movq %r15, %rax
movzbl 0x1(%rax), %ecx
incq %rax
cmpb $0x0, (%rcx,%r13)
jne 0x4d62
movq %rax, (%rsi)
movq %rsi, %rbx
movl $0x38, %esi
movq -0x38(%rbp), %rdi
callq 0x5078
movq %rax, %r12
movq $0x0, 0x20(%rax)
xorps %xmm0, %xmm0
movups %xmm0, (%rax)
movq (%rbx), %rax
subq %r15, %rax
movq %r15, (%r12)
movq %rax, 0x10(%r12)
movq -0x48(%rbp), %rdi
movq %r12, %rsi
callq 0x5148
movq %rbx, %rdx
movq (%rbx), %rax
movzbl (%rax), %ecx
incq %rax
cmpb $0x0, (%rcx,%r14)
jne 0x4db6
leaq -0x1(%rax), %rcx
movq %rcx, (%rdx)
cmpb $0x3d, -0x1(%rax)
jne 0x4ebf
movq %rax, (%rdx)
movq (%r12), %rax
testq %rax, %rax
je 0x4dea
movq %rax, %rcx
movq 0x10(%r12), %rax
jmp 0x4df1
leaq 0x4412(%rip), %rcx      # 0x9203
movb $0x0, (%rcx,%rax)
movq (%rdx), %rbx
movq %rbx, %r15
movzbl (%r15), %eax
incq %r15
incq %rbx
cmpb $0x0, (%rax,%r14)
jne 0x4dfb
leaq -0x1(%r15), %rax
movq %rax, (%rdx)
movzbl -0x1(%r15), %eax
cmpl $0x22, %eax
je 0x4e26
cmpl $0x27, %eax
jne 0x4ee2
movq %r15, (%rdx)
movl %eax, -0x2c(%rbp)
movq %rdx, %rdi
cmpb $0x27, %al
jne 0x4e3a
callq 0x51ac
jmp 0x4e3f
callq 0x53fa
subq %rbx, %rax
movq %r15, 0x8(%r12)
movq %rax, 0x18(%r12)
movq -0x40(%rbp), %rsi
movq (%rsi), %rax
movl -0x2c(%rbp), %ecx
cmpb %cl, (%rax)
jne 0x4eb5
incq %rax
movq %rax, (%rsi)
movq 0x8(%r12), %rax
testq %rax, %rax
je 0x4e74
movq %rax, %rcx
movq 0x18(%r12), %rax
jmp 0x4e7b
leaq 0x4388(%rip), %rcx      # 0x9203
movb $0x0, (%rcx,%rax)
movq (%rsi), %r15
decq %r15
movzbl 0x1(%r15), %eax
incq %r15
cmpb $0x0, (%rax,%r14)
jne 0x4e85
movq %r15, (%rsi)
movzbl (%r15), %eax
cmpb $0x0, (%rax,%r13)
jne 0x4d58
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl $0x18, %edi
movq %rsi, %rbx
jmp 0x4eea
movl $0x18, %edi
movq %rdx, %rbx
callq 0x20d0
movq (%rbx), %rcx
leaq 0x3eaa(%rip), %rdx      # 0x8d80
movq %rdx, (%rax)
leaq 0x156e(%rip), %rdx      # 0x644e
jmp 0x4f03
movl $0x18, %edi
movq %rdx, %rbx
callq 0x20d0
movq (%rbx), %rcx
leaq 0x3e87(%rip), %rdx      # 0x8d80
movq %rdx, (%rax)
leaq 0x1556(%rip), %rdx      # 0x6459
movq %rdx, 0x8(%rax)
movq %rcx, 0x10(%rax)
leaq 0x3e46(%rip), %rsi      # 0x8d58
movq 0x40bf(%rip), %rdx      # 0x8fd8
movq %rax, %rdi
callq 0x2330
nop