// File: mhe[P]raytracerframework_cpp/yaml/node.cpp
// Function: YAML::Node::Write(std::ostream&, int, bool, bool) const
void Node::Write(std::ostream& out, int indent, bool startedLine, bool onlyOneCharOnLine) const
	{
		// write anchor/alias
		if(m_anchor != "") {
			if(m_alias)
				out << std::string("*");
			else
				out << std::string("&");
			out << m_anchor << std::string(" ");
			startedLine = true;
			onlyOneCharOnLine = false;
		}

		// write tag
		if(m_tag != "") {
			// put the tag in the "proper" brackets
			if(m_tag.substr(0, 2) == "!<" && m_tag.substr(m_tag.size() - 1) == ">")
				out << m_tag;
			else
				out << std::string("!<") << m_tag << std::string("> ");
			startedLine = true;
			onlyOneCharOnLine = false;
		}

		if(!m_pContent) {
			out << std::string("\n");
		} else {
			m_pContent->Write(out, indent, startedLine, onlyOneCharOnLine);
		}
	}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x200, %rsp            # imm = 0x200
movb %r8b, %al
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movl %edx, -0x14(%rbp)
andb $0x1, %cl
movb %cl, -0x15(%rbp)
andb $0x1, %al
movb %al, -0x16(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x168(%rbp)
addq $0x8, %rdi
leaq 0x13cb3(%rip), %rsi     # 0x4bdad
callq 0x38f10
testb $0x1, %al
jne 0x38108
jmp 0x382ea
movq -0x168(%rbp), %rax
testb $0x1, 0x50(%rax)
je 0x381a7
movq -0x10(%rbp), %rax
movq %rax, -0x178(%rbp)
leaq -0x39(%rbp), %rdi
movq %rdi, -0x170(%rbp)
callq 0x56d0
movq -0x170(%rbp), %rdx
leaq 0x131bc(%rip), %rsi     # 0x4b2fe
leaq -0x38(%rbp), %rdi
callq 0x20460
jmp 0x3814d
movq -0x178(%rbp), %rdi
leaq -0x38(%rbp), %rsi
callq 0x5360
jmp 0x3815f
leaq -0x38(%rbp), %rdi
callq 0x5788
leaq -0x39(%rbp), %rdi
callq 0x5420
jmp 0x38232
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x48(%rbp)
movl %eax, -0x4c(%rbp)
jmp 0x38199
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x48(%rbp)
movl %eax, -0x4c(%rbp)
leaq -0x38(%rbp), %rdi
callq 0x5788
leaq -0x39(%rbp), %rdi
callq 0x5420
jmp 0x386ad
movq -0x10(%rbp), %rax
movq %rax, -0x188(%rbp)
leaq -0x71(%rbp), %rdi
movq %rdi, -0x180(%rbp)
callq 0x56d0
movq -0x180(%rbp), %rdx
leaq 0x13147(%rip), %rsi     # 0x4b317
leaq -0x70(%rbp), %rdi
callq 0x20460
jmp 0x381db
movq -0x188(%rbp), %rdi
leaq -0x70(%rbp), %rsi
callq 0x5360
jmp 0x381ed
leaq -0x70(%rbp), %rdi
callq 0x5788
leaq -0x71(%rbp), %rdi
callq 0x5420
jmp 0x38232
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x48(%rbp)
movl %eax, -0x4c(%rbp)
jmp 0x38224
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x48(%rbp)
movl %eax, -0x4c(%rbp)
leaq -0x70(%rbp), %rdi
callq 0x5788
leaq -0x71(%rbp), %rdi
callq 0x5420
jmp 0x386ad
movq -0x168(%rbp), %rsi
movq -0x10(%rbp), %rdi
addq $0x8, %rsi
callq 0x5360
movq %rax, -0x198(%rbp)
leaq -0x99(%rbp), %rdi
movq %rdi, -0x190(%rbp)
callq 0x56d0
movq -0x190(%rbp), %rdx
leaq 0x13c14(%rip), %rsi     # 0x4be82
leaq -0x98(%rbp), %rdi
callq 0x20460
jmp 0x3827c
movq -0x198(%rbp), %rdi
leaq -0x98(%rbp), %rsi
callq 0x5360
jmp 0x38291
leaq -0x98(%rbp), %rdi
callq 0x5788
leaq -0x99(%rbp), %rdi
callq 0x5420
movb $0x1, -0x15(%rbp)
movb $0x0, -0x16(%rbp)
jmp 0x382ea
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x48(%rbp)
movl %eax, -0x4c(%rbp)
jmp 0x382d9
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x48(%rbp)
movl %eax, -0x4c(%rbp)
leaq -0x98(%rbp), %rdi
callq 0x5788
leaq -0x99(%rbp), %rdi
callq 0x5420
jmp 0x386ad
movq -0x168(%rbp), %rdi
addq $0x28, %rdi
leaq 0x13ab1(%rip), %rsi     # 0x4bdad
callq 0x38f10
testb $0x1, %al
jne 0x3830a
jmp 0x385c8
movq -0x168(%rbp), %rsi
addq $0x28, %rsi
xorl %eax, %eax
movl %eax, %edx
leaq -0xc0(%rbp), %rdi
movq %rdi, -0x1a8(%rbp)
movl $0x2, %ecx
callq 0x53d0
movq -0x1a8(%rbp), %rdi
movb $0x0, -0xe1(%rbp)
leaq 0x13b4e(%rip), %rsi     # 0x4be94
callq 0x38f60
movb %al, -0x199(%rbp)
jmp 0x38353
movb -0x199(%rbp), %cl
xorl %eax, %eax
testb $0x1, %cl
movb %al, -0x1a9(%rbp)
jne 0x38368
jmp 0x383d1
movq -0x168(%rbp), %rdi
addq $0x28, %rdi
movq %rdi, -0x1b8(%rbp)
callq 0x5290
movq -0x1b8(%rbp), %rsi
movq %rax, %rdx
decq %rdx
leaq -0xe0(%rbp), %rdi
movq $-0x1, %rcx
callq 0x53d0
jmp 0x383a1
movb $0x1, -0xe1(%rbp)
leaq 0x13ae8(%rip), %rsi     # 0x4be97
leaq -0xe0(%rbp), %rdi
callq 0x38f60
movb %al, -0x1b9(%rbp)
jmp 0x383c3
movb -0x1b9(%rbp), %al
movb %al, -0x1a9(%rbp)
jmp 0x383d1
movb -0x1a9(%rbp), %al
movb %al, -0x1ba(%rbp)
testb $0x1, -0xe1(%rbp)
jne 0x383e8
jmp 0x383f4
leaq -0xe0(%rbp), %rdi
callq 0x5788
leaq -0xc0(%rbp), %rdi
callq 0x5788
movb -0x1ba(%rbp), %al
testb $0x1, %al
jne 0x3840c
jmp 0x38469
movq -0x168(%rbp), %rsi
movq -0x10(%rbp), %rdi
addq $0x28, %rsi
callq 0x5360
jmp 0x385c0
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x48(%rbp)
movl %eax, -0x4c(%rbp)
jmp 0x38458
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x48(%rbp)
movl %eax, -0x4c(%rbp)
testb $0x1, -0xe1(%rbp)
jne 0x3844a
jmp 0x38456
leaq -0xe0(%rbp), %rdi
callq 0x5788
jmp 0x38458
leaq -0xc0(%rbp), %rdi
callq 0x5788
jmp 0x386ad
movq -0x10(%rbp), %rax
movq %rax, -0x1d0(%rbp)
leaq -0x109(%rbp), %rdi
movq %rdi, -0x1c8(%rbp)
callq 0x56d0
movq -0x1c8(%rbp), %rdx
leaq 0x139ff(%rip), %rsi     # 0x4be94
leaq -0x108(%rbp), %rdi
callq 0x20460
jmp 0x384a3
movq -0x1d0(%rbp), %rdi
leaq -0x108(%rbp), %rsi
callq 0x5360
movq %rax, -0x1d8(%rbp)
jmp 0x384bf
movq -0x1d8(%rbp), %rdi
movq -0x168(%rbp), %rsi
addq $0x28, %rsi
callq 0x5360
movq %rax, -0x1e0(%rbp)
jmp 0x384df
leaq -0x131(%rbp), %rdi
movq %rdi, -0x1e8(%rbp)
callq 0x56d0
movq -0x1e8(%rbp), %rdx
leaq 0x13999(%rip), %rsi     # 0x4be99
leaq -0x130(%rbp), %rdi
callq 0x20460
jmp 0x3850e
movq -0x1e0(%rbp), %rdi
leaq -0x130(%rbp), %rsi
callq 0x5360
jmp 0x38523
leaq -0x130(%rbp), %rdi
callq 0x5788
leaq -0x131(%rbp), %rdi
callq 0x5420
leaq -0x108(%rbp), %rdi
callq 0x5788
leaq -0x109(%rbp), %rdi
callq 0x5420
jmp 0x385c0
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x48(%rbp)
movl %eax, -0x4c(%rbp)
jmp 0x385af
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x48(%rbp)
movl %eax, -0x4c(%rbp)
jmp 0x385a3
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x48(%rbp)
movl %eax, -0x4c(%rbp)
jmp 0x38597
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x48(%rbp)
movl %eax, -0x4c(%rbp)
leaq -0x130(%rbp), %rdi
callq 0x5788
leaq -0x131(%rbp), %rdi
callq 0x5420
leaq -0x108(%rbp), %rdi
callq 0x5788
leaq -0x109(%rbp), %rdi
callq 0x5420
jmp 0x386ad
movb $0x1, -0x15(%rbp)
movb $0x0, -0x16(%rbp)
movq -0x168(%rbp), %rax
cmpq $0x0, 0x48(%rax)
jne 0x38677
movq -0x10(%rbp), %rax
movq %rax, -0x1f8(%rbp)
leaq -0x159(%rbp), %rdi
movq %rdi, -0x1f0(%rbp)
callq 0x56d0
movq -0x1f0(%rbp), %rdx
leaq 0x13771(%rip), %rsi     # 0x4bd77
leaq -0x158(%rbp), %rdi
callq 0x20460
jmp 0x38614
movq -0x1f8(%rbp), %rdi
leaq -0x158(%rbp), %rsi
callq 0x5360
jmp 0x38629
leaq -0x158(%rbp), %rdi
callq 0x5788
leaq -0x159(%rbp), %rdi
callq 0x5420
jmp 0x386a4
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x48(%rbp)
movl %eax, -0x4c(%rbp)
jmp 0x38669
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x48(%rbp)
movl %eax, -0x4c(%rbp)
leaq -0x158(%rbp), %rdi
callq 0x5788
leaq -0x159(%rbp), %rdi
callq 0x5420
jmp 0x386ad
movq -0x168(%rbp), %rax
movq 0x48(%rax), %rdi
movq -0x10(%rbp), %rsi
movl -0x14(%rbp), %edx
movb -0x15(%rbp), %cl
movb -0x16(%rbp), %r8b
movq (%rdi), %rax
andb $0x1, %cl
andb $0x1, %r8b
movzbl %cl, %ecx
movzbl %r8b, %r8d
callq *0x18(%rax)
addq $0x200, %rsp            # imm = 0x200
popq %rbp
retq
movq -0x48(%rbp), %rdi
callq 0x56c0
nopw %cs:(%rax,%rax)