// File: /workspace/github_cpp_makefile_star2_O3/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 0x2aafa
leaq -0x80(%rbp), %r15
leaq -0x70(%rbp), %r13
addq $0x8, %rbx
movq %rbx, -0x48(%rbp)
movq %r14, %rdi
callq 0x2aa98
testb %al, %al
jne 0x25ef6
movq %r14, %rdi
callq 0x2ab2c
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 0x1967e
addq $0x30, %r12
movq %r13, %rdi
movq %r12, %rsi
callq 0x26594
movl -0x9c(%rbp), %eax
cmpl $0x5, %eax
je 0x25dfb
cmpl $0xc, %eax
jne 0x25f32
movq %r14, %rdi
callq 0x2aafa
movl -0x9c(%rbp), %ebx
cmpl $0x5, %ebx
je 0x25ebe
movl $0x58, %edi
callq 0x42c0
movq %rax, %r12
movq %rax, %rdi
callq 0x26b08
movq %r12, -0x38(%rbp)
movl $0x58, %edi
callq 0x42c0
movq %rax, %r12
movq %rax, %rdi
callq 0x26b08
movq %r12, -0x30(%rbp)
movq -0x38(%rbp), %rdi
movq %r14, %rsi
movq -0x40(%rbp), %rdx
callq 0x26bc4
movq %r14, %rdi
callq 0x2aa98
testb %al, %al
jne 0x25e86
movq %r14, %rdi
callq 0x2ab2c
cmpl $0xd, 0x4(%rax)
jne 0x25e86
movq %r14, %rdi
callq 0x2aafa
movq -0x30(%rbp), %rdi
movq %r14, %rsi
movq -0x40(%rbp), %rdx
callq 0x26bc4
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 0x2644a
movq %r12, (%rax)
leaq -0x30(%rbp), %rdi
callq 0x264b4
leaq -0x38(%rbp), %rdi
callq 0x264b4
movq %r13, %rdi
callq 0x2670a
movq -0x90(%rbp), %rdi
cmpq %r15, %rdi
je 0x25ede
movq -0x80(%rbp), %rsi
incq %rsi
callq 0x42d0
cmpl $0x5, %ebx
jne 0x25d95
addq $0x78, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl $0x30, %edi
callq 0x4140
movq %rax, %r14
leaq 0x17216(%rip), %rcx     # 0x3d120
movq %rax, %rdi
movl $0xffffffff, %esi       # imm = 0xFFFFFFFF
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0x257ee
leaq 0x14735(%rip), %rsi     # 0x3a658
leaq -0xc728(%rip), %rdx     # 0x19802
movq %r14, %rdi
callq 0x4510
movl $0x30, %edi
callq 0x4140
movq %rax, %r14
movl -0x98(%rbp), %esi
movl -0x94(%rbp), %edx
leaq 0x171ce(%rip), %rcx     # 0x3d120
movq %rax, %rdi
callq 0x1960e
leaq 0x1495f(%rip), %rax     # 0x3a8c0
movq %rax, (%r14)
leaq 0x146ed(%rip), %rsi     # 0x3a658
leaq -0xc770(%rip), %rdx     # 0x19802
movq %r14, %rdi
callq 0x4510
jmp 0x25fe0
movq %rax, %rbx
movq %r14, %rdi
callq 0x4230
jmp 0x25ffa
jmp 0x25fe0
movq %rax, %rbx
jmp 0x25ff1
movq %rax, %rbx
movq %r14, %rdi
callq 0x4230
jmp 0x26006
movq %rax, %rbx
movl $0x58, %esi
movq %r12, %rdi
callq 0x42d0
jmp 0x25ffa
movq %rax, %rbx
movl $0x58, %esi
movq %r12, %rdi
callq 0x42d0
jmp 0x25ff1
jmp 0x25fe5
movq %rax, %rbx
movq -0x90(%rbp), %rdi
cmpq %r15, %rdi
je 0x26006
movq -0x80(%rbp), %rsi
incq %rsi
callq 0x42d0
jmp 0x26006
movq %rax, %rbx
jmp 0x25ffa
movq %rax, %rbx
leaq -0x30(%rbp), %rdi
callq 0x264b4
leaq -0x38(%rbp), %rdi
callq 0x264b4
leaq -0xa0(%rbp), %rdi
callq 0x264de
movq %rbx, %rdi
callq 0x4550