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

		// eat single or double quote
		char quote = INPUT.get();
		bool single = (quote == '\'');

		// setup the scanning parameters
		ScanScalarParams params;
		params.end = (single ? RegEx(quote) && !Exp::EscSingleQuote : RegEx(quote));
		params.eatEnd = true;
		params.escape = (single ? '\'' : '\\');
		params.indent = 0;
		params.fold = true;
		params.eatLeadingWhitespace = true;
		params.trimTrailingSpaces = false;
		params.chomp = CLIP;
		params.onDocIndicator = THROW;

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

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

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

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x1c0, %rsp            # imm = 0x1C0
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x1b0(%rbp)
leaq -0x28(%rbp), %rdi
callq 0x55b0
movq -0x1b0(%rbp), %rdi
callq 0x4a890
movb %al, -0x1a1(%rbp)
jmp 0x467a7
movb -0x1a1(%rbp), %al
movb %al, -0x29(%rbp)
movb -0x29(%rbp), %al
subb $0x27, %al
sete -0x3d(%rbp)
leaq -0x90(%rbp), %rdi
callq 0x47280
jmp 0x467c7
movb -0x3d(%rbp), %al
movb $0x0, -0xf1(%rbp)
movb $0x0, -0x129(%rbp)
testb $0x1, %al
je 0x4682f
movsbl -0x29(%rbp), %esi
leaq -0xf0(%rbp), %rdi
callq 0x3c0c0
jmp 0x467ee
movb $0x1, -0xf1(%rbp)
leaq 0x27494(%rip), %rsi     # 0x6dc90
leaq -0x128(%rbp), %rdi
callq 0x3c5c0
jmp 0x4680a
movb $0x1, -0x129(%rbp)
leaq -0xc0(%rbp), %rdi
leaq -0xf0(%rbp), %rsi
leaq -0x128(%rbp), %rdx
callq 0x3c6e0
jmp 0x4682d
jmp 0x46843
movsbl -0x29(%rbp), %esi
leaq -0xc0(%rbp), %rdi
callq 0x3c0c0
jmp 0x46841
jmp 0x46843
leaq -0x90(%rbp), %rdi
leaq -0xc0(%rbp), %rsi
callq 0x3c2f0
jmp 0x46858
leaq -0xc0(%rbp), %rdi
callq 0x3c2b0
testb $0x1, -0x129(%rbp)
jne 0x4686f
jmp 0x4687b
leaq -0x128(%rbp), %rdi
callq 0x3c2b0
testb $0x1, -0xf1(%rbp)
jne 0x46886
jmp 0x46892
leaq -0xf0(%rbp), %rdi
callq 0x3c2b0
movb $0x1, -0x60(%rbp)
movb -0x3d(%rbp), %cl
movb $0x27, %al
movb $0x5c, %dl
movb %dl, -0x1b2(%rbp)
testb $0x1, %cl
movb %al, -0x1b1(%rbp)
jne 0x468ba
movb -0x1b2(%rbp), %al
movb %al, -0x1b1(%rbp)
movq -0x1b0(%rbp), %rax
movb -0x1b1(%rbp), %cl
movb %cl, -0x56(%rbp)
movl $0x0, -0x5c(%rbp)
movb $0x1, -0x55(%rbp)
movb $0x1, -0x57(%rbp)
movb $0x0, -0x54(%rbp)
movl $0x0, -0x50(%rbp)
movl $0x2, -0x4c(%rbp)
testb $0x1, 0x62(%rax)
je 0x46993
movq -0x1b0(%rbp), %rdi
callq 0x49a90
jmp 0x46903
jmp 0x46993
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
jmp 0x46a87
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
jmp 0x46a7b
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
jmp 0x46977
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
jmp 0x4695e
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
leaq -0xc0(%rbp), %rdi
callq 0x3c2b0
testb $0x1, -0x129(%rbp)
jne 0x46969
jmp 0x46975
leaq -0x128(%rbp), %rdi
callq 0x3c2b0
jmp 0x46977
testb $0x1, -0xf1(%rbp)
jne 0x46982
jmp 0x4698e
leaq -0xf0(%rbp), %rdi
callq 0x3c2b0
jmp 0x46a7b
movq -0x1b0(%rbp), %rsi
movl 0x8(%rsi), %eax
movl %eax, -0x130(%rbp)
movl 0xc(%rsi), %eax
movl %eax, -0x134(%rbp)
leaq -0x158(%rbp), %rdi
leaq -0x90(%rbp), %rdx
callq 0x44ad0
jmp 0x469c1
leaq -0x28(%rbp), %rdi
leaq -0x158(%rbp), %rsi
movq %rsi, -0x1c0(%rbp)
callq 0x54e0
movq -0x1c0(%rbp), %rdi
callq 0x5788
movq -0x1b0(%rbp), %rax
movb $0x0, 0x62(%rax)
movl -0x130(%rbp), %edx
movl -0x134(%rbp), %ecx
leaq -0x1a0(%rbp), %rdi
movl $0x11, %esi
callq 0x41000
jmp 0x46a0e
leaq -0x190(%rbp), %rdi
leaq -0x28(%rbp), %rsi
callq 0x5080
jmp 0x46a20
movq -0x1b0(%rbp), %rdi
addq $0x10, %rdi
leaq -0x1a0(%rbp), %rsi
callq 0x47250
jmp 0x46a39
leaq -0x1a0(%rbp), %rdi
callq 0x35c00
leaq -0x90(%rbp), %rdi
callq 0x472e0
leaq -0x28(%rbp), %rdi
callq 0x5788
addq $0x1c0, %rsp            # imm = 0x1C0
popq %rbp
retq
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
leaq -0x1a0(%rbp), %rdi
callq 0x35c00
leaq -0x90(%rbp), %rdi
callq 0x472e0
leaq -0x28(%rbp), %rdi
callq 0x5788
movq -0x38(%rbp), %rdi
callq 0x56c0
nopl (%rax)