// File: /workspace/github_cpp_makefile_star2_O1/jliesch[P]ofxget/pugixml/pugixml.cpp
// Function: pugi::impl::(anonymous namespace)::node_output_simple(pugi::impl::(anonymous namespace)::xml_buffered_writer&, pugi::xml_node_struct*, unsigned int)
PUGI__FN void node_output_simple(xml_buffered_writer& writer, xml_node_struct* node, unsigned int flags)
	{
		const char_t* default_name = PUGIXML_TEXT(":anonymous");

		switch (PUGI__NODETYPE(node))
		{
			case node_pcdata:
				text_output(writer, node->value ? node->value + 0 : PUGIXML_TEXT(""), ctx_special_pcdata, flags);
				break;

			case node_cdata:
				text_output_cdata(writer, node->value ? node->value + 0 : PUGIXML_TEXT(""));
				break;

			case node_comment:
				node_output_comment(writer, node->value ? node->value + 0 : PUGIXML_TEXT(""));
				break;

			case node_pi:
				writer.write('<', '?');
				writer.write_string(node->name ? node->name + 0 : default_name);

				if (node->value)
				{
					writer.write(' ');
					node_output_pi_value(writer, node->value);
				}

				writer.write('?', '>');
				break;

			case node_declaration:
				writer.write('<', '?');
				writer.write_string(node->name ? node->name + 0 : default_name);
				node_output_attributes(writer, node, PUGIXML_TEXT(""), 0, flags | format_raw, 0);
				writer.write('?', '>');
				break;

			case node_doctype:
				writer.write('<', '!', 'D', 'O', 'C');
				writer.write('T', 'Y', 'P', 'E');

				if (node->value)
				{
					writer.write(' ');
					writer.write_string(node->value);
				}

				writer.write('>');
				break;

			default:
				assert(false && "Invalid node type"); // unreachable
		}
	}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl (%rsi), %eax
andl $0xf, %eax
addl $-0x3, %eax
cmpl $0x5, %eax
ja 0x29ea8
movl %edx, %ebp
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x90ce(%rip), %rcx      # 0x32a50
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movq 0x10(%r14), %rax
testq %rax, %rax
leaq 0x7770(%rip), %rsi      # 0x31109
cmovneq %rax, %rsi
movq %rbx, %rdi
movl $0x1, %edx
movl %ebp, %ecx
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x2a039
movq 0x2808(%rbx), %rdx
cmpq $0x7ff, %rdx            # imm = 0x7FF
jb 0x299e2
movq %rbx, %rdi
movq %rbx, %rsi
callq 0x2a3c8
movq $0x0, 0x2808(%rbx)
xorl %edx, %edx
movw $0x3f3c, (%rbx,%rdx)    # imm = 0x3F3C
addq $0x2, %rdx
movq %rdx, 0x2808(%rbx)
movq 0x8(%r14), %rax
testq %rax, %rax
leaq 0xabf4(%rip), %rsi      # 0x345f5
cmovneq %rax, %rsi
movq %rbx, %rdi
callq 0x23ad0
orl $0x4, %ebp
leaq 0x76f2(%rip), %rdx      # 0x31109
movq %rbx, %rdi
movq %r14, %rsi
xorl %ecx, %ecx
movl %ebp, %r8d
xorl %r9d, %r9d
callq 0x2a05f
jmp 0x29c7b
movq 0x10(%r14), %rax
testq %rax, %rax
leaq 0x76cc(%rip), %r14      # 0x31109
cmovneq %rax, %r14
movq %rbx, %rdi
movl $0x3c, %esi
movl $0x21, %edx
movl $0x2d, %ecx
movl $0x2d, %r8d
callq 0x2a262
cmpb $0x0, (%r14)
je 0x29b20
movq %r14, %r15
xorl %edx, %edx
movzbl (%r15), %eax
cmpl $0x2d, %eax
je 0x29a7c
testl %eax, %eax
jne 0x29a8a
jmp 0x29a92
movzbl 0x1(%r15), %eax
testl %eax, %eax
je 0x29a92
cmpl $0x2d, %eax
je 0x29a92
incq %r15
incq %rdx
jmp 0x29a6d
movq 0x2808(%rbx), %rdi
leaq (%rdi,%rdx), %r12
cmpq $0x800, %r12            # imm = 0x800
ja 0x29aba
addq %rbx, %rdi
movq %r14, %rsi
callq 0x6090
movq %r12, 0x2808(%rbx)
jmp 0x29ac5
movq %rbx, %rdi
movq %r14, %rsi
callq 0x2a2c8
movzbl (%r15), %eax
cmpl $0x2d, %eax
je 0x29ad7
testl %eax, %eax
je 0x29b13
jmp 0x29e89
movq 0x2808(%rbx), %rdx
cmpq $0x7ff, %rdx            # imm = 0x7FF
jb 0x29aff
movq %rbx, %rdi
movq %rbx, %rsi
callq 0x2a3c8
movq $0x0, 0x2808(%rbx)
xorl %edx, %edx
movw $0x202d, (%rbx,%rdx)    # imm = 0x202D
addq $0x2, %rdx
movq %rdx, 0x2808(%rbx)
incq %r15
cmpb $0x0, (%r15)
movq %r15, %r14
jne 0x29a6b
movq %rbx, %rdi
movl $0x2d, %esi
movl $0x2d, %edx
movl $0x3e, %ecx
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x23a72
movq 0x2808(%rbx), %rdx
cmpq $0x7ff, %rdx            # imm = 0x7FF
jb 0x29b6d
movq %rbx, %rdi
movq %rbx, %rsi
callq 0x2a3c8
movq $0x0, 0x2808(%rbx)
xorl %edx, %edx
movw $0x3f3c, (%rbx,%rdx)    # imm = 0x3F3C
addq $0x2, %rdx
movq %rdx, 0x2808(%rbx)
movq 0x8(%r14), %rax
testq %rax, %rax
leaq 0xaa69(%rip), %rsi      # 0x345f5
cmovneq %rax, %rsi
movq %rbx, %rdi
callq 0x23ad0
cmpq $0x0, 0x10(%r14)
je 0x29c7b
movq 0x2808(%rbx), %rdx
cmpq $0x800, %rdx            # imm = 0x800
jb 0x29bcb
movq %rbx, %rdi
movq %rbx, %rsi
callq 0x2a3c8
movq $0x0, 0x2808(%rbx)
xorl %edx, %edx
movb $0x20, (%rbx,%rdx)
incq %rdx
movq %rdx, 0x2808(%rbx)
movq 0x10(%r14), %rsi
cmpb $0x0, (%rsi)
je 0x29c7b
movq %rsi, %r14
xorl %edx, %edx
movzbl (%r14), %eax
cmpl $0x3f, %eax
je 0x29bfa
testl %eax, %eax
jne 0x29c01
jmp 0x29c09
cmpb $0x3e, 0x1(%r14)
je 0x29c09
incq %r14
incq %rdx
jmp 0x29beb
movq 0x2808(%rbx), %rdi
leaq (%rdi,%rdx), %r15
cmpq $0x800, %r15            # imm = 0x800
ja 0x29c2e
addq %rbx, %rdi
callq 0x6090
movq %r15, 0x2808(%rbx)
jmp 0x29c36
movq %rbx, %rdi
callq 0x2a2c8
movzbl (%r14), %eax
cmpl $0x3f, %eax
je 0x29c48
testl %eax, %eax
je 0x29c6e
jmp 0x29e6a
cmpb $0x3e, 0x1(%r14)
jne 0x29e6a
movq %rbx, %rdi
movl $0x3f, %esi
movl $0x20, %edx
movl $0x3e, %ecx
callq 0x23a72
addq $0x2, %r14
cmpb $0x0, (%r14)
movq %r14, %rsi
jne 0x29be9
movq 0x2808(%rbx), %rdx
cmpq $0x7ff, %rdx            # imm = 0x7FF
jb 0x29ca3
movq %rbx, %rdi
movq %rbx, %rsi
callq 0x2a3c8
movq $0x0, 0x2808(%rbx)
xorl %edx, %edx
movw $0x3e3f, (%rbx,%rdx)    # imm = 0x3E3F
addq $0x2, %rdx
jmp 0x29e54
movq 0x10(%r14), %rax
testq %rax, %rax
leaq 0x7449(%rip), %r14      # 0x31109
cmovneq %rax, %r14
movq %r14, %r15
movq %rbx, %rdi
movl $0x3c, %esi
movl $0x21, %edx
movl $0x5b, %ecx
movl $0x43, %r8d
movl $0x44, %r9d
callq 0x2a1ea
movq %rbx, %rdi
movl $0x41, %esi
movl $0x54, %edx
movl $0x41, %ecx
movl $0x5b, %r8d
callq 0x2a262
xorl %edx, %edx
movzbl (%r15), %eax
cmpl $0x5d, %eax
je 0x29d18
testl %eax, %eax
jne 0x29d26
jmp 0x29d2e
cmpb $0x5d, 0x1(%r15)
jne 0x29d26
cmpb $0x3e, 0x2(%r15)
je 0x29d2e
incq %r15
incq %rdx
jmp 0x29d09
xorl %r12d, %r12d
testb %al, %al
setne %r12b
addl %r12d, %r12d
addq %r12, %rdx
movq 0x2808(%rbx), %rdi
leaq (%rdx,%rdi), %r13
cmpq $0x800, %r13            # imm = 0x800
ja 0x29d65
addq %rbx, %rdi
movq %r14, %rsi
callq 0x6090
movq %r13, 0x2808(%rbx)
jmp 0x29d70
movq %rbx, %rdi
movq %r14, %rsi
callq 0x2a2c8
addq %r12, %r15
movq %rbx, %rdi
movl $0x5d, %esi
movl $0x5d, %edx
movl $0x3e, %ecx
callq 0x23a72
cmpb $0x0, (%r15)
movq %r15, %r14
jne 0x29cc7
jmp 0x29e5b
movq %rbx, %rdi
movl $0x3c, %esi
movl $0x21, %edx
movl $0x44, %ecx
movl $0x4f, %r8d
movl $0x43, %r9d
callq 0x2a1ea
movq %rbx, %rdi
movl $0x54, %esi
movl $0x59, %edx
movl $0x50, %ecx
movl $0x45, %r8d
callq 0x2a262
cmpq $0x0, 0x10(%r14)
je 0x29e25
movq 0x2808(%rbx), %rdx
cmpq $0x800, %rdx            # imm = 0x800
jb 0x29e0b
movq %rbx, %rdi
movq %rbx, %rsi
callq 0x2a3c8
movq $0x0, 0x2808(%rbx)
xorl %edx, %edx
movb $0x20, (%rbx,%rdx)
incq %rdx
movq %rdx, 0x2808(%rbx)
movq 0x10(%r14), %rsi
movq %rbx, %rdi
callq 0x23ad0
movq 0x2808(%rbx), %rdx
cmpq $0x800, %rdx            # imm = 0x800
jb 0x29e4d
movq %rbx, %rdi
movq %rbx, %rsi
callq 0x2a3c8
movq $0x0, 0x2808(%rbx)
xorl %edx, %edx
movb $0x3e, (%rbx,%rdx)
incq %rdx
movq %rdx, 0x2808(%rbx)
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0xaa5c(%rip), %rdi      # 0x348cd
leaq 0x907d(%rip), %rsi      # 0x32ef5
leaq 0xaa69(%rip), %rcx      # 0x348e8
movl $0xfd7, %edx            # imm = 0xFD7
callq 0x6120
leaq 0xa9d0(%rip), %rdi      # 0x34860
leaq 0x905e(%rip), %rsi      # 0x32ef5
leaq 0xa9cc(%rip), %rcx      # 0x3486a
movl $0xfc0, %edx            # imm = 0xFC0
callq 0x6120
leaq 0x91bf(%rip), %rdi      # 0x3306e
leaq 0x903f(%rip), %rsi      # 0x32ef5
leaq 0xa743(%rip), %rcx      # 0x34600
movl $0x1076, %edx           # imm = 0x1076
callq 0x6120