// File: /workspace/github_cpp_makefile_star2_O2/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 0x248d5
movl %edx, %ebp
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x750c(%rip), %rcx      # 0x2ba60
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movq 0x10(%r14), %rax
testq %rax, %rax
leaq 0x5b9e(%rip), %rsi      # 0x2a109
cmovneq %rax, %rsi
pushq $0x1
popq %rdx
movq %rbx, %rdi
movl %ebp, %ecx
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x249ae
pushq $0x3c
popq %rsi
pushq $0x3f
popq %r15
movq %rbx, %rdi
movl %r15d, %edx
callq 0x1d914
movq 0x8(%r14), %rax
testq %rax, %rax
leaq 0x900b(%rip), %rsi      # 0x2d5b5
cmovneq %rax, %rsi
movq %rbx, %rdi
callq 0x1d864
orl $0x4, %ebp
leaq 0x5b49(%rip), %rdx      # 0x2a109
movq %rbx, %rdi
movq %r14, %rsi
xorl %ecx, %ecx
movl %ebp, %r8d
xorl %r9d, %r9d
callq 0x24b4c
pushq $0x3e
popq %rdx
movq %rbx, %rdi
movl %r15d, %esi
jmp 0x24884
movq 0x10(%r14), %rax
testq %rax, %rax
leaq 0x5b1a(%rip), %r15      # 0x2a109
cmovneq %rax, %r15
pushq $0x3c
popq %rsi
pushq $0x21
popq %rdx
pushq $0x2d
popq %rbp
movq %rbx, %rdi
movl %ebp, %ecx
movl %ebp, %r8d
callq 0x24c88
pushq $0x20
popq %r14
movb (%r15), %al
testb %al, %al
je 0x2485d
leaq 0x1(%r15), %r12
xorl %edx, %edx
cmpb $0x2d, %al
je 0x2462f
movzbl %al, %eax
testl %eax, %eax
je 0x24645
movb (%r12), %al
jmp 0x2463d
movzbl (%r12), %eax
testl %eax, %eax
je 0x24645
cmpl $0x2d, %eax
je 0x24645
incq %r12
incq %rdx
jmp 0x2461e
movq %rbx, %rdi
movq %r15, %rsi
callq 0x24cde
movzbl -0x1(%r12), %eax
cmpl $0x2d, %eax
je 0x2466a
decq %r12
movq %r12, %r15
testl %eax, %eax
je 0x2460d
jmp 0x248b6
movq %rbx, %rdi
movl %ebp, %esi
movl %r14d, %edx
callq 0x1d914
movq %r12, %r15
jmp 0x2460d
pushq $0x3c
popq %rsi
pushq $0x3f
popq %rdx
movq %rbx, %rdi
callq 0x1d914
movq 0x8(%r14), %rax
testq %rax, %rax
leaq 0x8f1d(%rip), %rsi      # 0x2d5b5
cmovneq %rax, %rsi
movq %rbx, %rdi
callq 0x1d864
cmpq $0x0, 0x10(%r14)
je 0x2487b
pushq $0x20
popq %rbp
movq %rbx, %rdi
movl %ebp, %esi
callq 0x1d952
movq 0x10(%r14), %rsi
pushq $0x3f
popq %r14
pushq $0x3e
popq %r15
movb (%rsi), %al
testb %al, %al
je 0x2487b
leaq 0x2(%rsi), %r12
xorl %edx, %edx
cmpb $0x3f, %al
je 0x246ea
movzbl %al, %eax
testl %eax, %eax
je 0x246fb
movb -0x1(%r12), %al
jmp 0x246f3
movb -0x1(%r12), %al
cmpb $0x3e, %al
je 0x246fb
incq %r12
incq %rdx
jmp 0x246d8
movq %rbx, %rdi
callq 0x24cde
movzbl -0x2(%r12), %eax
cmpl $0x3f, %eax
je 0x2471e
addq $-0x2, %r12
movq %r12, %rsi
testl %eax, %eax
je 0x246c8
jmp 0x24897
cmpb $0x3e, -0x1(%r12)
jne 0x24897
movq %rbx, %rdi
movl %r14d, %esi
movl %ebp, %edx
movl %r15d, %ecx
callq 0x1d814
movq %r12, %rsi
jmp 0x246c8
movq 0x10(%r14), %rax
testq %rax, %rax
leaq 0x59bc(%rip), %r13      # 0x2a109
cmovneq %rax, %r13
pushq $0x5d
popq %r12
movq %rbx, %rdi
pushq $0x3c
popq %rsi
pushq $0x21
popq %rdx
pushq $0x5b
popq %rbp
movl %ebp, %ecx
pushq $0x43
popq %r8
pushq $0x44
popq %r9
callq 0x24c20
movq %rbx, %rdi
pushq $0x41
popq %rcx
movl %ecx, %esi
pushq $0x54
popq %rdx
movl %ebp, %r8d
callq 0x24c88
xorl %edx, %edx
movq %r13, %rbp
movzbl (%rbp), %eax
cmpl $0x5d, %eax
je 0x24797
testl %eax, %eax
jne 0x247a3
jmp 0x247ab
cmpb $0x5d, 0x1(%rbp)
jne 0x247a3
cmpb $0x3e, 0x2(%rbp)
je 0x247ab
incq %rbp
incq %rdx
jmp 0x24788
xorl %r15d, %r15d
testb %al, %al
setne %r15b
addl %r15d, %r15d
leaq (%r15,%rbp), %r14
addq %r15, %rdx
movq %rbx, %rdi
movq %r13, %rsi
callq 0x24cde
movq %rbx, %rdi
movl %r12d, %esi
movl %r12d, %edx
pushq $0x3e
popq %rcx
callq 0x1d814
cmpb $0x0, (%rbp,%r15)
movq %r14, %r13
jne 0x24755
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
pushq $0x3c
popq %rsi
pushq $0x21
popq %rdx
pushq $0x44
popq %rcx
pushq $0x4f
popq %r8
pushq $0x43
popq %r9
movq %rbx, %rdi
callq 0x24c20
pushq $0x54
popq %rsi
pushq $0x59
popq %rdx
pushq $0x50
popq %rcx
pushq $0x45
popq %r8
movq %rbx, %rdi
callq 0x24c88
cmpq $0x0, 0x10(%r14)
je 0x24844
pushq $0x20
popq %rsi
movq %rbx, %rdi
callq 0x1d952
movq 0x10(%r14), %rsi
movq %rbx, %rdi
callq 0x1d864
pushq $0x3e
popq %rsi
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x1d952
pushq $0x2d
popq %rdx
pushq $0x3e
popq %rcx
movq %rbx, %rdi
movl %edx, %esi
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x1d814
pushq $0x3f
popq %rsi
pushq $0x3e
popq %rdx
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x1d914
leaq 0x8fef(%rip), %rdi      # 0x2d88d
leaq 0x7690(%rip), %rsi      # 0x2bf35
leaq 0x8ffc(%rip), %rcx      # 0x2d8a8
movl $0xfd7, %edx            # imm = 0xFD7
callq 0x6100
leaq 0x8f63(%rip), %rdi      # 0x2d820
leaq 0x7671(%rip), %rsi      # 0x2bf35
leaq 0x8f5f(%rip), %rcx      # 0x2d82a
movl $0xfc0, %edx            # imm = 0xFC0
callq 0x6100
leaq 0x77d2(%rip), %rdi      # 0x2c0ae
leaq 0x7652(%rip), %rsi      # 0x2bf35
leaq 0x8cd6(%rip), %rcx      # 0x2d5c0
movl $0x1076, %edx           # imm = 0x1076
callq 0x6100