// File: /workspace/github_cpp_makefile_star2_O2/mhe[P]raytracerframework_cpp/yaml/scantoken.cpp
// Function: YAML::Scanner::ScanPlainScalar()
void Scanner::ScanPlainScalar()
	{
		std::string scalar;

		// set up the scanning parameters
		ScanScalarParams params;
		params.end = (m_flowLevel > 0 ? Exp::EndScalarInFlow : Exp::EndScalar) || (Exp::BlankOrBreak + Exp::Comment);
		params.eatEnd = false;
		params.indent = (m_flowLevel > 0 ? 0 : m_indents.top() + 1);
		params.fold = true;
		params.eatLeadingWhitespace = true;
		params.trimTrailingSpaces = true;
		params.chomp = CLIP;
		params.onDocIndicator = BREAK;
		params.onTabInIndentation = THROW;

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

		int line = INPUT.line, column = INPUT.column;
		scalar = ScanScalar(INPUT, params);

		// can have a simple key only if we ended the scalar by starting a new line
		m_simpleKeyAllowed = params.leadingSpaces;

		// finally, check and see if we ended on an illegal character
		//if(Exp::IllegalCharInScalar.Matches(INPUT))
		//	throw ParserException(INPUT.line, INPUT.column, ErrorMsg::CHAR_IN_SCALAR);

		Token token(TT_SCALAR, line, column);
		token.value = scalar;
		m_tokens.push(token);
	}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xe8, %rsp
movq %rdi, %rbx
leaq -0xd0(%rbp), %rax
movq %rax, -0x10(%rax)
andq $0x0, -0x8(%rax)
movb $0x0, (%rax)
leaq -0xc0(%rbp), %rdi
callq 0x204ce
movl 0x64(%rbx), %r14d
leaq 0x13bad(%rip), %rsi     # 0x33830
leaq 0x13e16(%rip), %rdx     # 0x33aa0
leaq -0x110(%rbp), %rdi
callq 0x1bff1
testl %r14d, %r14d
leaq 0x13ef0(%rip), %rax     # 0x33b90
leaq 0x13eb9(%rip), %rsi     # 0x33b60
cmovgq %rax, %rsi
leaq -0x70(%rbp), %rdi
leaq -0x110(%rbp), %rdx
callq 0x1bf47
leaq -0xc0(%rbp), %rdi
leaq -0x70(%rbp), %rsi
callq 0x1bd9c
leaq -0x70(%rbp), %rdi
callq 0x1bd72
leaq -0x110(%rbp), %rdi
callq 0x1bd72
movb $0x0, -0x90(%rbp)
xorl %eax, %eax
cmpl $0x0, 0x64(%rbx)
jg 0x1fd14
movq 0xf0(%rbx), %rax
cmpq 0xf8(%rbx), %rax
jne 0x1fd0f
movq 0x108(%rbx), %rcx
movl $0x200, %eax            # imm = 0x200
addq -0x8(%rcx), %rax
movl -0x4(%rax), %eax
incl %eax
movl %eax, -0x8c(%rbp)
movw $0x101, -0x85(%rbp)     # imm = 0x101
movb $0x1, -0x87(%rbp)
movabsq $0x100000000, %rax      # imm = 0x100000000
movq %rax, -0x80(%rbp)
movl $0x2, -0x78(%rbp)
cmpb $0x1, 0x62(%rbx)
jne 0x1fd4d
movq %rbx, %rdi
callq 0x21204
movl 0x8(%rbx), %r12d
movl 0xc(%rbx), %r13d
leaq -0x70(%rbp), %rdi
leaq -0xc0(%rbp), %rdx
movq %rbx, %rsi
callq 0x1eb4c
leaq -0xe0(%rbp), %r14
leaq -0x70(%rbp), %r15
movq %r14, %rdi
movq %r15, %rsi
callq 0x4380
movq %r15, %rdi
callq 0x45d8
movb -0x74(%rbp), %al
movb %al, 0x62(%rbx)
movabsq $0x1100000000, %rax     # imm = 0x1100000000
movq %rax, (%r15)
movl %r12d, 0x8(%r15)
movl %r13d, 0xc(%r15)
leaq -0x50(%rbp), %rax
movq %rax, -0x10(%rax)
andq $0x0, -0x8(%rax)
leaq -0x60(%rbp), %rdi
movb $0x0, (%rax)
xorps %xmm0, %xmm0
movups %xmm0, 0x10(%rax)
andq $0x0, 0x20(%rax)
movq %r14, %rsi
callq 0x4150
addq $0x10, %rbx
leaq -0x70(%rbp), %rsi
movq %rbx, %rdi
callq 0x20848
leaq -0x70(%rbp), %rdi
callq 0x19892
leaq -0xc0(%rbp), %rdi
callq 0x1bd72
leaq -0xe0(%rbp), %rdi
callq 0x45d8
addq $0xe8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x1fe2f
jmp 0x1fe2f
movq %rax, %rbx
leaq -0x70(%rbp), %rdi
callq 0x1bd72
jmp 0x1fe21
movq %rax, %rbx
leaq -0x110(%rbp), %rdi
callq 0x1bd72
jmp 0x1fe45
movq %rax, %rbx
jmp 0x1fe45
movq %rax, %rbx
jmp 0x1fe51
movq %rax, %rbx
leaq -0x70(%rbp), %rdi
callq 0x19892
leaq -0xc0(%rbp), %rdi
callq 0x1bd72
leaq -0xe0(%rbp), %rdi
callq 0x45d8
movq %rbx, %rdi
callq 0x4530
nop