// File: /workspace/github_cpp_makefile_star2_O3/ArashPartow[P]exprtk/./exprtk.hpp
// Function: exprtk::lexer::generator::scan_string()
inline void scan_string()
         {
            details::char_cptr initial_itr = s_itr_ + 1;
            token_t t;

            if (std::distance(s_itr_,s_end_) < 2)
            {
               t.set_error(token::e_err_string, s_itr_, s_end_, base_itr_);
               token_list_.push_back(t);

               return;
            }

            ++s_itr_;

            bool escaped_found = false;
            bool escaped = false;

            while (!is_end(s_itr_))
            {
               if (!details::is_valid_string_char(*s_itr_))
               {
                  t.set_error(token::e_err_string, initial_itr, s_itr_, base_itr_);
                  token_list_.push_back(t);

                  return;
               }
               else if (!escaped && ('\\' == *s_itr_))
               {
                  escaped_found = true;
                  escaped = true;
                  ++s_itr_;

                  continue;
               }
               else if (!escaped)
               {
                  if ('\'' == *s_itr_)
                     break;
               }
               else if (escaped)
               {
                  if (
                       !is_end(s_itr_) && ('0' == *(s_itr_)) &&
                       ((s_itr_ + 4) <= s_end_)
                     )
                  {
                     const bool x_separator = ('X' == std::toupper(*(s_itr_ + 1)));

                     const bool both_digits = details::is_hex_digit(*(s_itr_ + 2)) &&
                                              details::is_hex_digit(*(s_itr_ + 3)) ;

                     if (!(x_separator && both_digits))
                     {
                        t.set_error(token::e_err_string, initial_itr, s_itr_, base_itr_);
                        token_list_.push_back(t);

                        return;
                     }
                     else
                        s_itr_ += 3;
                  }

                  escaped = false;
               }

               ++s_itr_;
            }

            if (is_end(s_itr_))
            {
               t.set_error(token::e_err_string, initial_itr, s_itr_, base_itr_);
               token_list_.push_back(t);

               return;
            }

            if (!escaped_found)
               t.set_string(initial_itr, s_itr_, base_itr_);
            else
            {
               std::string parsed_string(initial_itr,s_itr_);

               if (!details::cleanup_escapes(parsed_string))
               {
                  t.set_error(token::e_err_string, initial_itr, s_itr_, base_itr_);
                  token_list_.push_back(t);

                  return;
               }

               t.set_string(
                  parsed_string,
                  static_cast<std::size_t>(std::distance(base_itr_,initial_itr)));
            }

            token_list_.push_back(t);
            ++s_itr_;

            return;
         }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x58, %rsp
movq %rdi, %rbx
movq 0x60(%rdi), %rcx
leaq 0x10(%rsp), %rdi
movl $0x0, -0x8(%rdi)
leaq 0x20(%rsp), %r12
movq %r12, -0x10(%r12)
movq $0x0, -0x8(%r12)
movb $0x0, (%r12)
movq $-0x1, 0x10(%r12)
movq 0x68(%rbx), %r13
movq %r13, %r8
subq %rcx, %r8
cmpq $0x1, %r8
jg 0x24e4c9
movq 0x58(%rbx), %r15
movl $0x4, 0x8(%rsp)
xorl %esi, %esi
xorl %edx, %edx
movq %rcx, %r14
callq 0x11e110
testq %r15, %r15
je 0x24e4b7
subq %r15, %r14
movq %r14, 0x30(%rsp)
leaq 0x8(%rsp), %rsi
movq %rbx, %rdi
callq 0x1f342a
jmp 0x24e632
incq %rcx
movq %rcx, 0x60(%rbx)
cmpq %rcx, %r13
movq %rcx, (%rsp)
je 0x24e5f1
xorl %r14d, %r14d
movq %rcx, %r12
movl %r14d, %r15d
movzbl (%r12), %ebp
movl %ebp, %edi
callq 0x11e300
testl %eax, %eax
jne 0x24e502
leal -0x8(%rbp), %eax
cmpl $0x6, %eax
jae 0x24e5c5
testb $0x1, %r15b
je 0x24e57e
cmpl $0x30, %ebp
setne %al
leaq 0x4(%r12), %rcx
cmpq %r13, %rcx
seta %cl
orb %al, %cl
jne 0x24e5b0
movsbl 0x1(%r12), %edi
callq 0x11e130
movb 0x2(%r12), %cl
leal -0x30(%rcx), %edx
cmpb $0xa, %dl
jb 0x24e55c
movzbl %cl, %ecx
addl $-0x41, %ecx
cmpl $0x25, %ecx
ja 0x24e6bc
movabsq $0x3f0000003f, %rdx     # imm = 0x3F0000003F
btq %rcx, %rdx
jae 0x24e6bc
movb 0x3(%r12), %cl
leal -0x30(%rcx), %edx
cmpb $0xa, %dl
setb %dl
leal -0x41(%rcx), %esi
cmpb $0x6, %sil
setb %sil
orb %dl, %sil
je 0x24e58e
xorl %ecx, %ecx
jmp 0x24e597
cmpl $0x27, %ebp
je 0x24e658
cmpl $0x5c, %ebp
jne 0x24e5b0
jmp 0x24e5d3
addb $-0x67, %cl
cmpb $-0x6, %cl
setb %cl
cmpl $0x58, %eax
jne 0x24e6bc
testb %cl, %cl
jne 0x24e6bc
addq $0x3, %r12
movq %r12, 0x60(%rbx)
incq %r12
movq %r12, 0x60(%rbx)
xorl %r15d, %r15d
cmpq %r12, %r13
jne 0x24e4e6
jmp 0x24e5e6
cmpl $0x20, %ebp
je 0x24e502
jmp 0x24e7c5
incq %r12
movq %r12, 0x60(%rbx)
movb $0x1, %r14b
cmpq %r12, %r13
jne 0x24e4e3
leaq 0x20(%rsp), %r12
movq (%rsp), %rcx
jmp 0x24e5f4
movq %rcx, %r13
movq 0x58(%rbx), %r15
movl $0x4, 0x8(%rsp)
subq %rcx, %r13
leaq 0x10(%rsp), %rdi
xorl %esi, %esi
xorl %edx, %edx
movq %r13, %r8
callq 0x11e110
testq %r15, %r15
je 0x24e625
movq (%rsp), %rax
subq %r15, %rax
movq %rax, 0x30(%rsp)
leaq 0x8(%rsp), %rsi
movq %rbx, %rdi
callq 0x1f342a
movq 0x10(%rsp), %rdi
cmpq %r12, %rdi
je 0x24e649
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x11e0c0
addq $0x58, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
testb $0x1, %r14b
je 0x24e708
leaq 0x48(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0x38(%rsp), %rdi
movq (%rsp), %rsi
movq %r12, %rdx
callq 0x1e4740
leaq 0x38(%rsp), %rdi
callq 0x24e83c
movl %eax, %ebp
testb %al, %al
je 0x24e744
movq 0x58(%rbx), %r12
movl $0x9, 0x8(%rsp)
leaq 0x38(%rsp), %rsi
leaq 0x10(%rsp), %rdi
callq 0x11e5a0
movq (%rsp), %rax
subq %r12, %rax
movq %rax, 0x30(%rsp)
jmp 0x24e78a
movq 0x58(%rbx), %r15
movl $0x4, 0x8(%rsp)
movq (%rsp), %rcx
subq %rcx, %r12
leaq 0x10(%rsp), %rdi
xorl %esi, %esi
xorl %edx, %edx
movq %r12, %r8
leaq 0x20(%rsp), %r12
callq 0x11e110
testq %r15, %r15
je 0x24e6f6
movq (%rsp), %rax
subq %r15, %rax
movq %rax, 0x30(%rsp)
leaq 0x8(%rsp), %rsi
movq %rbx, %rdi
callq 0x1f342a
jmp 0x24e632
movq 0x58(%rbx), %r15
movl $0x9, 0x8(%rsp)
movq (%rsp), %rcx
subq %rcx, %r12
leaq 0x10(%rsp), %rdi
xorl %esi, %esi
xorl %edx, %edx
movq %r12, %r8
leaq 0x20(%rsp), %r12
callq 0x11e110
testq %r15, %r15
je 0x24e7af
movq (%rsp), %rax
subq %r15, %rax
movq %rax, 0x30(%rsp)
jmp 0x24e7af
movq 0x58(%rbx), %r12
movq 0x60(%rbx), %r8
movl $0x4, 0x8(%rsp)
movq 0x18(%rsp), %rdx
movq (%rsp), %rcx
subq %rcx, %r8
leaq 0x10(%rsp), %rdi
xorl %esi, %esi
callq 0x11e110
testq %r12, %r12
je 0x24e77d
movq (%rsp), %rax
subq %r12, %rax
movq %rax, 0x30(%rsp)
leaq 0x8(%rsp), %rsi
movq %rbx, %rdi
callq 0x1f342a
movq 0x38(%rsp), %rdi
cmpq %r15, %rdi
je 0x24e7a1
movq 0x48(%rsp), %rsi
incq %rsi
callq 0x11e0c0
testb %bpl, %bpl
leaq 0x20(%rsp), %r12
je 0x24e632
leaq 0x8(%rsp), %rsi
movq %rbx, %rdi
callq 0x1f342a
incq 0x60(%rbx)
jmp 0x24e632
movq 0x58(%rbx), %r15
movl $0x4, 0x8(%rsp)
movq (%rsp), %rcx
subq %rcx, %r12
leaq 0x10(%rsp), %rdi
xorl %esi, %esi
xorl %edx, %edx
movq %r12, %r8
leaq 0x20(%rsp), %r12
callq 0x11e110
jmp 0x24e614
jmp 0x24e815
jmp 0x24e815
movq %rax, %rbx
movq 0x38(%rsp), %rdi
cmpq %r15, %rdi
je 0x24e818
movq 0x48(%rsp), %rsi
incq %rsi
callq 0x11e0c0
jmp 0x24e818
jmp 0x24e815
movq %rax, %rbx
movq 0x10(%rsp), %rdi
leaq 0x20(%rsp), %rax
cmpq %rax, %rdi
je 0x24e834
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x11e0c0
movq %rbx, %rdi
callq 0x11e330