// File: /workspace/github_cpp_makefile_star2_O1/mhe[P]raytracerframework_cpp/yaml/map.cpp
// Function: YAML::Map::ParseBlock(YAML::Scanner*, YAML::ParserState const&)
void Map::ParseBlock(Scanner *pScanner, const ParserState& state)
	{
		// eat start token
		pScanner->pop();

		while(1) {
			if(pScanner->empty())
				throw ParserException(-1, -1, ErrorMsg::END_OF_MAP);

			Token token = pScanner->peek();
			if(token.type != TT_KEY && token.type != TT_BLOCK_END)
				throw ParserException(token.line, token.column, ErrorMsg::END_OF_MAP);

			pScanner->pop();
			if(token.type == TT_BLOCK_END)
				break;

			std::auto_ptr <Node> pKey(new Node), pValue(new Node);

			// grab key
			pKey->Parse(pScanner, state);

			// now grab value (optional)
			if(!pScanner->empty() && pScanner->peek().type == TT_VALUE) {
				pScanner->pop();
				pValue->Parse(pScanner, state);
			}

			// assign the map with the actual pointers
			m_data[pKey.release()] = pValue.release();
		}
	}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x78, %rsp
movq %rdx, -0x40(%rbp)
movq %rsi, %r14
movq %rdi, %rbx
movq %rsi, %rdi
callq 0x2c100
leaq -0x80(%rbp), %r15
leaq -0x70(%rbp), %r13
addq $0x8, %rbx
movq %rbx, -0x48(%rbp)
movq %r14, %rdi
callq 0x2c084
testb %al, %al
jne 0x27476
movq %r14, %rdi
callq 0x2c132
movq %rax, %r12
movups (%rax), %xmm0
movaps %xmm0, -0xa0(%rbp)
movq %r15, -0x90(%rbp)
movq 0x10(%rax), %rsi
movq 0x18(%rax), %rdx
addq %rsi, %rdx
leaq -0x90(%rbp), %rdi
callq 0x1a6b8
addq $0x30, %r12
movq %r13, %rdi
movq %r12, %rsi
callq 0x27b32
movl -0x9c(%rbp), %eax
cmpl $0x5, %eax
je 0x2737b
cmpl $0xc, %eax
jne 0x274b2
movq %r14, %rdi
callq 0x2c100
movl -0x9c(%rbp), %ebx
cmpl $0x5, %ebx
je 0x2743e
movl $0x58, %edi
callq 0x52d0
movq %rax, %r12
movq %rax, %rdi
callq 0x280a8
movq %r12, -0x38(%rbp)
movl $0x58, %edi
callq 0x52d0
movq %rax, %r12
movq %rax, %rdi
callq 0x280a8
movq %r12, -0x30(%rbp)
movq -0x38(%rbp), %rdi
movq %r14, %rsi
movq -0x40(%rbp), %rdx
callq 0x28164
movq %r14, %rdi
callq 0x2c084
testb %al, %al
jne 0x27406
movq %r14, %rdi
callq 0x2c132
cmpl $0xd, 0x4(%rax)
jne 0x27406
movq %r14, %rdi
callq 0x2c100
movq -0x30(%rbp), %rdi
movq %r14, %rsi
movq -0x40(%rbp), %rdx
callq 0x28164
movq -0x30(%rbp), %r12
xorl %ecx, %ecx
movq %rcx, -0x30(%rbp)
movq -0x38(%rbp), %rax
movq %rcx, -0x38(%rbp)
movq %rax, -0x50(%rbp)
movq -0x48(%rbp), %rdi
leaq -0x50(%rbp), %rsi
callq 0x279e2
movq %r12, (%rax)
leaq -0x30(%rbp), %rdi
callq 0x27a4c
leaq -0x38(%rbp), %rdi
callq 0x27a4c
movq %r13, %rdi
callq 0x27ca8
movq -0x90(%rbp), %rdi
cmpq %r15, %rdi
je 0x2745e
movq -0x80(%rbp), %rsi
incq %rsi
callq 0x52e0
cmpl $0x5, %ebx
jne 0x27315
addq $0x78, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl $0x30, %edi
callq 0x5140
movq %rax, %r14
leaq 0x16ca6(%rip), %rcx     # 0x3e130
movq %rax, %rdi
movl $0xffffffff, %esi       # imm = 0xFFFFFFFF
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0x26d60
leaq 0x141b5(%rip), %rsi     # 0x3b658
leaq -0xcc76(%rip), %rdx     # 0x1a834
movq %r14, %rdi
callq 0x5520
movl $0x30, %edi
callq 0x5140
movq %rax, %r14
movl -0x98(%rbp), %esi
movl -0x94(%rbp), %edx
leaq 0x16c5e(%rip), %rcx     # 0x3e130
movq %rax, %rdi
callq 0x1a648
leaq 0x143df(%rip), %rax     # 0x3b8c0
movq %rax, (%r14)
leaq 0x1416d(%rip), %rsi     # 0x3b658
leaq -0xccbe(%rip), %rdx     # 0x1a834
movq %r14, %rdi
callq 0x5520
jmp 0x27560
movq %rax, %rbx
movq %r14, %rdi
callq 0x5230
jmp 0x2757a
jmp 0x27560
movq %rax, %rbx
jmp 0x27571
movq %rax, %rbx
movq %r14, %rdi
callq 0x5230
jmp 0x27586
movq %rax, %rbx
movl $0x58, %esi
movq %r12, %rdi
callq 0x52e0
jmp 0x2757a
movq %rax, %rbx
movl $0x58, %esi
movq %r12, %rdi
callq 0x52e0
jmp 0x27571
jmp 0x27565
movq %rax, %rbx
movq -0x90(%rbp), %rdi
cmpq %r15, %rdi
je 0x27586
movq -0x80(%rbp), %rsi
incq %rsi
callq 0x52e0
jmp 0x27586
movq %rax, %rbx
jmp 0x2757a
movq %rax, %rbx
leaq -0x30(%rbp), %rdi
callq 0x27a4c
leaq -0x38(%rbp), %rdi
callq 0x27a4c
leaq -0xa0(%rbp), %rdi
callq 0x27a7c
movq %rbx, %rdi
callq 0x5560