// File: /workspace/github_cpp_makefile_star2_O2/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
leaq -0x38(%rbp), %rax
movq %rax, -0x10(%rax)
andq $0x0, -0x8(%rax)
movq %rdi, %rbx
xorl %ecx, %ecx
leaq -0x58(%rbp), %rdx
movq %rdx, -0x10(%rdx)
andq $0x0, -0x8(%rdx)
movb %cl, (%rax)
movb %cl, (%rdx)
cmpb $0x1, 0x62(%rdi)
jne 0x1fa73
movq %rbx, %rdi
callq 0x21204
movb $0x0, 0x62(%rbx)
movl 0x8(%rbx), %r12d
movl 0xc(%rbx), %r13d
movq %rbx, %rdi
callq 0x2173c
movsbl %al, %esi
leaq -0x48(%rbp), %rdi
callq 0x4250
leaq 0x13d96(%rip), %r14     # 0x33830
leaq -0x48(%rbp), %r15
movq %rbx, %rdi
callq 0x21716
cmpb $-0x1, %al
je 0x1fada
movq %rbx, %rdi
callq 0x21716
cmpb $0x21, %al
je 0x1fada
movq %r14, %rdi
movq %rbx, %rsi
callq 0x1beee
testb %al, %al
jne 0x1fada
movq %rbx, %rdi
callq 0x2173c
movsbl %al, %esi
movq %r15, %rdi
callq 0x4250
jmp 0x1fa9e
movq %rbx, %rdi
callq 0x21716
cmpb $0x21, %al
jne 0x1fb35
movq %rbx, %rdi
callq 0x2173c
movsbl %al, %esi
leaq -0x48(%rbp), %rdi
callq 0x4250
leaq 0x13d2f(%rip), %r14     # 0x33830
leaq -0x68(%rbp), %r15
movq %rbx, %rdi
callq 0x21716
cmpb $-0x1, %al
je 0x1fb76
movq %r14, %rdi
movq %rbx, %rsi
callq 0x1beee
testb %al, %al
jne 0x1fb76
movq %rbx, %rdi
callq 0x2173c
movsbl %al, %esi
movq %r15, %rdi
callq 0x4250
jmp 0x1fb05
leaq -0xb0(%rbp), %rdi
leaq -0x48(%rbp), %rsi
pushq $0x1
popq %rdx
pushq $-0x1
popq %rcx
callq 0x42d0
leaq -0x68(%rbp), %rdi
leaq -0xb0(%rbp), %r14
movq %r14, %rsi
callq 0x4380
movq %r14, %rdi
callq 0x45d8
leaq 0x32bc(%rip), %rsi      # 0x22e29
leaq -0x48(%rbp), %rdi
callq 0x4590
movabsq $0x1000000000, %rax     # imm = 0x1000000000
leaq -0xa0(%rbp), %rdi
movq %rax, -0x10(%rdi)
movl %r12d, -0x8(%rdi)
movl %r13d, -0x4(%rdi)
leaq -0x90(%rbp), %rax
movq %rax, -0x10(%rax)
andq $0x0, -0x8(%rax)
movb $0x0, (%rax)
xorps %xmm0, %xmm0
movups %xmm0, 0x10(%rax)
andq $0x0, 0x20(%rax)
leaq -0x48(%rbp), %rsi
callq 0x4150
leaq -0x80(%rbp), %rdi
leaq -0x68(%rbp), %rsi
callq 0x203be
addq $0x10, %rbx
leaq -0xb0(%rbp), %rsi
movq %rbx, %rdi
callq 0x20848
leaq -0xb0(%rbp), %rdi
callq 0x19892
leaq -0x68(%rbp), %rdi
callq 0x45d8
leaq -0x48(%rbp), %rdi
callq 0x45d8
addq $0x88, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x1fc24
jmp 0x1fc24
movq %rax, %rbx
leaq -0xb0(%rbp), %rdi
callq 0x19892
jmp 0x1fc27
jmp 0x1fc24
jmp 0x1fc24
movq %rax, %rbx
leaq -0x68(%rbp), %rdi
callq 0x45d8
leaq -0x48(%rbp), %rdi
callq 0x45d8
movq %rbx, %rdi
callq 0x4530
nop