// File: /workspace/github_cpp_makefile_star2_O1/mhe[P]raytracerframework_cpp/yaml/scantoken.cpp
// Function: YAML::Scanner::ScanTag()
void Scanner::ScanTag()
	{
		std::string handle, suffix;

		// insert a potential simple key
		if(m_simpleKeyAllowed)
			InsertSimpleKey();
		m_simpleKeyAllowed = false;

		// eat the indicator
		int line = INPUT.line, column = INPUT.column;
		handle += INPUT.get();

		// read the handle
		while(INPUT.peek() != EOF && INPUT.peek() != Keys::Tag && !Exp::BlankOrBreak.Matches(INPUT))
			handle += INPUT.get();

		// is there a suffix?
		if(INPUT.peek() == Keys::Tag) {
			// eat the indicator
			handle += INPUT.get();

			// then read it
			while(INPUT.peek() != EOF && !Exp::BlankOrBreak.Matches(INPUT))
				suffix += INPUT.get();
		} else {
			// this is a bit weird: we keep just the '!' as the handle and move the rest to the suffix
			suffix = handle.substr(1);
			handle = "!";
		}

		Token token(TT_TAG, line, column);
		token.value = handle;
		token.params.push_back(suffix);
		m_tokens.push(token);
	}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x88, %rsp
movq %rdi, %rbx
leaq -0x38(%rbp), %rcx
movq %rcx, -0x10(%rcx)
xorl %eax, %eax
movq %rax, -0x8(%rcx)
movb %al, (%rcx)
leaq -0x58(%rbp), %rcx
movq %rcx, -0x10(%rcx)
movq %rax, -0x8(%rcx)
movb %al, (%rcx)
cmpb $0x1, 0x62(%rdi)
jne 0x2e7d3
movq %rbx, %rdi
callq 0x303c2
movb $0x0, 0x62(%rbx)
movl 0x8(%rbx), %r12d
movl 0xc(%rbx), %r13d
movq %rbx, %rdi
callq 0x30904
movsbl %al, %esi
leaq -0x48(%rbp), %rdi
callq 0x5290
leaq 0x13046(%rip), %r14     # 0x41840
leaq -0x48(%rbp), %r15
movq %rbx, %rdi
callq 0x308de
cmpb $-0x1, %al
je 0x2e83a
movq %rbx, %rdi
callq 0x308de
cmpb $0x21, %al
je 0x2e83a
movq %r14, %rdi
movq %rbx, %rsi
callq 0x2a482
testb %al, %al
jne 0x2e83a
movq %rbx, %rdi
callq 0x30904
movsbl %al, %esi
movq %r15, %rdi
callq 0x5290
jmp 0x2e7fe
movq %rbx, %rdi
callq 0x308de
cmpb $0x21, %al
jne 0x2e899
movq %rbx, %rdi
callq 0x30904
movsbl %al, %esi
leaq -0x48(%rbp), %rdi
callq 0x5290
leaq 0x12fdf(%rip), %r14     # 0x41840
leaq -0x68(%rbp), %r15
movq %rbx, %rdi
callq 0x308de
cmpb $-0x1, %al
je 0x2e902
movq %r14, %rdi
movq %rbx, %rsi
callq 0x2a482
testb %al, %al
jne 0x2e902
movq %rbx, %rdi
callq 0x30904
movsbl %al, %esi
movq %r15, %rdi
callq 0x5290
jmp 0x2e865
leaq -0xb0(%rbp), %rdi
leaq -0x48(%rbp), %rsi
movl $0x1, %edx
movq $-0x1, %rcx
callq 0x5310
leaq -0x68(%rbp), %rdi
leaq -0xb0(%rbp), %r14
movq %r14, %rsi
callq 0x53c0
movq (%r14), %rdi
leaq -0xa0(%rbp), %rax
cmpq %rax, %rdi
je 0x2e8e6
movq -0xa0(%rbp), %rsi
incq %rsi
callq 0x52e0
leaq -0x48(%rbp), %rdi
movq 0x8(%rdi), %rdx
leaq 0x350d(%rip), %rcx      # 0x31e02
movl $0x1, %r8d
xorl %esi, %esi
callq 0x54a0
movabsq $0x1000000000, %rax     # imm = 0x1000000000
leaq -0xa0(%rbp), %rdi
movq %rax, -0x10(%rdi)
movl %r12d, -0x8(%rdi)
movl %r13d, -0x4(%rdi)
leaq -0x90(%rbp), %r15
movq %r15, -0x10(%r15)
xorl %eax, %eax
movq %rax, -0x8(%r15)
movb $0x0, (%r15)
xorps %xmm0, %xmm0
movups %xmm0, 0x10(%r15)
movq %rax, 0x20(%r15)
leaq -0x48(%rbp), %rsi
callq 0x5160
leaq -0x80(%rbp), %r14
leaq -0x68(%rbp), %rsi
movq %r14, %rdi
callq 0x2f330
addq $0x10, %rbx
leaq -0xb0(%rbp), %rsi
movq %rbx, %rdi
callq 0x2f83e
movq %r14, %rdi
callq 0x27ca8
movq -0xa0(%rbp), %rdi
cmpq %r15, %rdi
je 0x2e98f
movq -0x90(%rbp), %rsi
incq %rsi
callq 0x52e0
movq -0x68(%rbp), %rdi
leaq -0x58(%rbp), %rax
cmpq %rax, %rdi
je 0x2e9a8
movq -0x58(%rbp), %rsi
incq %rsi
callq 0x52e0
movq -0x48(%rbp), %rdi
leaq -0x38(%rbp), %rax
cmpq %rax, %rdi
je 0x2e9c1
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x52e0
addq $0x88, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x2e9ec
jmp 0x2e9ec
movq %rax, %rbx
leaq -0xb0(%rbp), %rdi
callq 0x27a7c
jmp 0x2e9ef
jmp 0x2e9ec
jmp 0x2e9ec
movq %rax, %rbx
movq -0x68(%rbp), %rdi
leaq -0x58(%rbp), %rax
cmpq %rax, %rdi
je 0x2ea08
movq -0x58(%rbp), %rsi
incq %rsi
callq 0x52e0
movq -0x48(%rbp), %rdi
leaq -0x38(%rbp), %rax
cmpq %rax, %rdi
je 0x2ea21
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x52e0
movq %rbx, %rdi
callq 0x5560
nop