// File: /workspace/github_cpp_makefile_star2_O1/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 -0x38(%rbp), %r15
movq %r15, -0x10(%r15)
movq $0x0, -0x8(%r15)
movb $0x0, (%r15)
leaq -0x98(%rbp), %rdi
callq 0x2a12a
xorl %eax, %eax
movb %al, -0x68(%rbp)
movq %rax, -0x64(%rbp)
movb %al, -0x5c(%rbp)
movq %rax, -0x58(%rbp)
movq %rax, -0x53(%rbp)
movl 0x64(%rbx), %r14d
leaq 0x12dc0(%rip), %rsi     # 0x41840
leaq 0x13029(%rip), %rdx     # 0x41ab0
leaq -0x110(%rbp), %rdi
callq 0x2a5c8
testl %r14d, %r14d
leaq 0x13103(%rip), %rax     # 0x41ba0
leaq 0x130cc(%rip), %rsi     # 0x41b70
cmovgq %rax, %rsi
leaq -0xe0(%rbp), %rdi
leaq -0x110(%rbp), %rdx
callq 0x2a4fc
leaq -0x98(%rbp), %rdi
leaq -0xe0(%rbp), %rsi
callq 0x2a2ea
leaq -0xe0(%rbp), %rdi
callq 0x2a2c0
leaq -0x110(%rbp), %rdi
callq 0x2a2c0
movb $0x0, -0x68(%rbp)
xorl %eax, %eax
cmpl $0x0, 0x64(%rbx)
jg 0x2eb17
movq 0xf0(%rbx), %rax
cmpq 0xf8(%rbx), %rax
jne 0x2eb12
movq 0x108(%rbx), %rcx
movl $0x200, %eax            # imm = 0x200
addq -0x8(%rcx), %rax
movl -0x4(%rax), %eax
incl %eax
movl %eax, -0x64(%rbp)
movw $0x101, -0x5d(%rbp)     # imm = 0x101
movb $0x1, -0x5f(%rbp)
movabsq $0x100000000, %rax      # imm = 0x100000000
movq %rax, -0x58(%rbp)
movl $0x2, -0x50(%rbp)
cmpb $0x1, 0x62(%rbx)
jne 0x2eb47
movq %rbx, %rdi
callq 0x303c2
movl 0x8(%rbx), %r12d
movl 0xc(%rbx), %r13d
leaq -0xe0(%rbp), %rdi
leaq -0x98(%rbp), %rdx
movq %rbx, %rsi
callq 0x2d624
leaq -0x48(%rbp), %rdi
leaq -0xe0(%rbp), %r14
movq %r14, %rsi
callq 0x53c0
movq (%r14), %rdi
leaq -0xd0(%rbp), %rax
cmpq %rax, %rdi
je 0x2eb96
movq -0xd0(%rbp), %rsi
incq %rsi
callq 0x52e0
movb -0x4c(%rbp), %al
movb %al, 0x62(%rbx)
movabsq $0x1100000000, %rax     # imm = 0x1100000000
leaq -0xd0(%rbp), %rdi
movq %rax, -0x10(%rdi)
movl %r12d, -0x8(%rdi)
movl %r13d, -0x4(%rdi)
leaq -0xc0(%rbp), %r14
movq %r14, -0x10(%r14)
xorl %eax, %eax
movq %rax, -0x8(%r14)
movb $0x0, (%r14)
xorps %xmm0, %xmm0
movups %xmm0, 0x10(%r14)
movq %rax, 0x20(%r14)
leaq -0x48(%rbp), %rsi
callq 0x5160
addq $0x10, %rbx
leaq -0xe0(%rbp), %rsi
movq %rbx, %rdi
callq 0x2f83e
leaq -0xb0(%rbp), %rbx
movq %rbx, %rdi
callq 0x27ca8
movq -0x20(%rbx), %rdi
cmpq %r14, %rdi
je 0x2ec1d
movq -0xc0(%rbp), %rsi
incq %rsi
callq 0x52e0
leaq -0x98(%rbp), %rdi
callq 0x2a2c0
movq -0x48(%rbp), %rdi
cmpq %r15, %rdi
je 0x2ec3e
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x52e0
addq $0xe8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x2ec76
jmp 0x2ec76
movq %rax, %rbx
leaq -0xe0(%rbp), %rdi
callq 0x2a2c0
jmp 0x2ec68
movq %rax, %rbx
leaq -0x110(%rbp), %rdi
callq 0x2a2c0
jmp 0x2ec8f
movq %rax, %rbx
jmp 0x2ec8f
movq %rax, %rbx
jmp 0x2ec9b
movq %rax, %rbx
leaq -0xe0(%rbp), %rdi
callq 0x27a7c
leaq -0x98(%rbp), %rdi
callq 0x2a2c0
movq -0x48(%rbp), %rdi
cmpq %r15, %rdi
je 0x2ecb0
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x52e0
movq %rbx, %rdi
callq 0x5560