// File: /workspace/github_cpp_makefile_star2_O3/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 0x2958a
movl %edx, %ebp
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x89e2(%rip), %rcx      # 0x31a50
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movq 0x10(%r14), %rax
testq %rax, %rax
leaq 0x7084(%rip), %rsi      # 0x30109
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 0x29730
movq 0x2808(%rbx), %rdx
cmpq $0x7ff, %rdx            # imm = 0x7FF
jb 0x290c3
movq %rbx, %rdi
movq %rbx, %rsi
callq 0x29c16
xorl %edx, %edx
movw $0x3f3c, (%rbx,%rdx)    # imm = 0x3F3C
addq $0x2, %rdx
movq %rdx, 0x2808(%rbx)
movq 0x8(%r14), %rax
testq %rax, %rax
leaq 0xa43d(%rip), %rsi      # 0x3351f
cmovneq %rax, %rsi
movq %rbx, %rdi
callq 0x23680
orl $0x4, %ebp
leaq 0x7011(%rip), %rdx      # 0x30109
movq %rbx, %rdi
movq %r14, %rsi
xorl %ecx, %ecx
movl %ebp, %r8d
xorl %r9d, %r9d
callq 0x2990d
movq 0x2808(%rbx), %rdx
jmp 0x29325
movq 0x10(%r14), %rax
testq %rax, %rax
leaq 0x6fe4(%rip), %r14      # 0x30109
cmovneq %rax, %r14
movq %rbx, %rdi
movl $0x3c, %esi
movl $0x21, %edx
movl $0x2d, %ecx
movl $0x2d, %r8d
callq 0x29acc
movb (%r14), %al
testb %al, %al
je 0x29502
movq %r14, %rsi
incq %r14
xorl %edx, %edx
cmpb $0x2d, %al
je 0x29169
movzbl %al, %eax
testl %eax, %eax
je 0x2917e
movb (%r14), %al
jmp 0x29176
movzbl (%r14), %eax
testl %eax, %eax
je 0x2917e
cmpl $0x2d, %eax
je 0x2917e
incq %r14
incq %rdx
jmp 0x29159
movq 0x2808(%rbx), %rdi
leaq (%rdi,%rdx), %r15
cmpq $0x800, %r15            # imm = 0x800
ja 0x291a3
addq %rbx, %rdi
callq 0x6090
movq %r15, 0x2808(%rbx)
jmp 0x291ab
movq %rbx, %rdi
callq 0x29b26
movzbl -0x1(%r14), %eax
cmpl $0x2d, %eax
jne 0x294fe
movq 0x2808(%rbx), %rdx
cmpq $0x7ff, %rdx            # imm = 0x7FF
jb 0x291d6
movq %rbx, %rdi
movq %rbx, %rsi
callq 0x29c16
xorl %edx, %edx
movw $0x202d, (%rbx,%rdx)    # imm = 0x202D
addq $0x2, %rdx
movq %rdx, 0x2808(%rbx)
jmp 0x29146
movq 0x2808(%rbx), %rdx
cmpq $0x7ff, %rdx            # imm = 0x7FF
jb 0x29209
movq %rbx, %rdi
movq %rbx, %rsi
callq 0x29c16
xorl %edx, %edx
movw $0x3f3c, (%rbx,%rdx)    # imm = 0x3F3C
addq $0x2, %rdx
movq %rdx, 0x2808(%rbx)
movq 0x8(%r14), %rax
testq %rax, %rax
leaq 0xa2f7(%rip), %rsi      # 0x3351f
cmovneq %rax, %rsi
movq %rbx, %rdi
callq 0x23680
cmpq $0x0, 0x10(%r14)
movq 0x2808(%rbx), %rdx
je 0x29325
cmpq $0x800, %rdx            # imm = 0x800
jb 0x2925c
movq %rbx, %rdi
movq %rbx, %rsi
callq 0x29c16
xorl %edx, %edx
movb $0x20, (%rbx,%rdx)
incq %rdx
movq %rdx, 0x2808(%rbx)
movq 0x10(%r14), %r14
movb (%r14), %cl
testb %cl, %cl
je 0x29325
movq %r14, %rsi
addq $0x2, %r14
xorl %eax, %eax
cmpb $0x3f, %cl
je 0x29294
movzbl %cl, %ecx
testl %ecx, %ecx
je 0x292a5
movb -0x1(%r14), %cl
jmp 0x2929d
movb -0x1(%r14), %cl
cmpb $0x3e, %cl
je 0x292a5
incq %r14
incq %rax
jmp 0x29282
leaq (%rdx,%rax), %r15
cmpq $0x800, %r15            # imm = 0x800
ja 0x292c9
addq %rbx, %rdx
movq %rdx, %rdi
movq %rax, %rdx
callq 0x6090
movq %r15, 0x2808(%rbx)
jmp 0x292d4
movq %rbx, %rdi
movq %rax, %rdx
callq 0x29b26
movzbl -0x2(%r14), %eax
cmpl $0x3f, %eax
jne 0x29544
cmpb $0x3e, -0x1(%r14)
jne 0x2954c
movq 0x2808(%rbx), %rdx
cmpq $0x7fe, %rdx            # imm = 0x7FE
jb 0x2930a
movq %rbx, %rdi
movq %rbx, %rsi
callq 0x29c16
xorl %edx, %edx
movw $0x203f, (%rbx,%rdx)    # imm = 0x203F
movb $0x3e, 0x2(%rbx,%rdx)
addq $0x3, %rdx
movq %rdx, 0x2808(%rbx)
jmp 0x2926e
cmpq $0x7ff, %rdx            # imm = 0x7FF
jb 0x2933b
movq %rbx, %rdi
movq %rbx, %rsi
callq 0x29c16
xorl %edx, %edx
movw $0x3e3f, (%rbx,%rdx)    # imm = 0x3E3F
addq $0x2, %rdx
jmp 0x2952e
movq 0x10(%r14), %rax
testq %rax, %rax
leaq 0x6db1(%rip), %r14      # 0x30109
cmovneq %rax, %r14
movq %r14, %r12
movq %rbx, %rdi
movl $0x3c, %esi
movl $0x21, %edx
movl $0x5b, %ecx
movl $0x43, %r8d
movl $0x44, %r9d
callq 0x29a60
movq %rbx, %rdi
movl $0x41, %esi
movl $0x54, %edx
movl $0x41, %ecx
movl $0x5b, %r8d
callq 0x29acc
xorl %edx, %edx
movzbl (%r12), %eax
cmpl $0x5d, %eax
je 0x293b1
testl %eax, %eax
jne 0x293c1
jmp 0x293c9
cmpb $0x5d, 0x1(%r12)
jne 0x293c1
cmpb $0x3e, 0x2(%r12)
je 0x293c9
incq %r12
incq %rdx
jmp 0x293a1
xorl %r13d, %r13d
testb %al, %al
setne %r13b
addl %r13d, %r13d
addq %r13, %rdx
movq 0x2808(%rbx), %rdi
leaq (%rdx,%rdi), %r15
cmpq $0x800, %r15            # imm = 0x800
ja 0x29400
addq %rbx, %rdi
movq %r14, %rsi
callq 0x6090
movq %r15, 0x2808(%rbx)
jmp 0x29412
movq %rbx, %rdi
movq %r14, %rsi
callq 0x29b26
movq 0x2808(%rbx), %r15
cmpq $0x7fe, %r15            # imm = 0x7FE
jb 0x2942c
movq %rbx, %rdi
movq %rbx, %rsi
movq %r15, %rdx
callq 0x29c16
xorl %r15d, %r15d
addq %r13, %r12
movw $0x5d5d, (%rbx,%r15)    # imm = 0x5D5D
movb $0x3e, 0x2(%rbx,%r15)
addq $0x3, %r15
movq %r15, 0x2808(%rbx)
cmpb $0x0, (%r12)
movq %r12, %r14
jne 0x2935f
jmp 0x29535
movq %rbx, %rdi
movl $0x3c, %esi
movl $0x21, %edx
movl $0x44, %ecx
movl $0x4f, %r8d
movl $0x43, %r9d
callq 0x29a60
movq %rbx, %rdi
movl $0x54, %esi
movl $0x59, %edx
movl $0x50, %ecx
movl $0x45, %r8d
callq 0x29acc
cmpq $0x0, 0x10(%r14)
je 0x294d8
movq 0x2808(%rbx), %rdx
cmpq $0x800, %rdx            # imm = 0x800
jb 0x294be
movq %rbx, %rdi
movq %rbx, %rsi
callq 0x29c16
xorl %edx, %edx
movb $0x20, (%rbx,%rdx)
incq %rdx
movq %rdx, 0x2808(%rbx)
movq 0x10(%r14), %rsi
movq %rbx, %rdi
callq 0x23680
movq 0x2808(%rbx), %rdx
cmpq $0x800, %rdx            # imm = 0x800
jb 0x294f5
movq %rbx, %rdi
movq %rbx, %rsi
callq 0x29c16
xorl %edx, %edx
movb $0x3e, (%rbx,%rdx)
incq %rdx
jmp 0x2952e
testl %eax, %eax
jne 0x2956b
movq 0x2808(%rbx), %rdx
cmpq $0x7fe, %rdx            # imm = 0x7FE
jb 0x2951f
movq %rbx, %rdi
movq %rbx, %rsi
callq 0x29c16
xorl %edx, %edx
movw $0x2d2d, (%rbx,%rdx)    # imm = 0x2D2D
movb $0x3e, 0x2(%rbx,%rdx)
addq $0x3, %rdx
movq %rdx, 0x2808(%rbx)
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
testl %eax, %eax
je 0x2910b
leaq 0xa2a4(%rip), %rdi      # 0x337f7
leaq 0x89cb(%rip), %rsi      # 0x31f25
leaq 0xa2b1(%rip), %rcx      # 0x33812
movl $0xfd7, %edx            # imm = 0xFD7
callq 0x6120
leaq 0xa218(%rip), %rdi      # 0x3378a
leaq 0x89ac(%rip), %rsi      # 0x31f25
leaq 0xa214(%rip), %rcx      # 0x33794
movl $0xfc0, %edx            # imm = 0xFC0
callq 0x6120
leaq 0x8b0d(%rip), %rdi      # 0x3209e
leaq 0x898d(%rip), %rsi      # 0x31f25
leaq 0x9f8b(%rip), %rcx      # 0x3352a
movl $0x1076, %edx           # imm = 0x1076
callq 0x6120