// File: /workspace/github_cpp_makefile_star2_O2/ArashPartow[P]exprtk/./exprtk.hpp
// Function: exprtk::parser<double>::parse_define_string_statement(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, exprtk::details::expression_node<double>*)
inline expression_node_ptr parse_define_string_statement(const std::string& str_name, expression_node_ptr initialisation_expression)
      {
         stringvar_node_t* str_node = reinterpret_cast<stringvar_node_t*>(0);

         scope_element& se = sem_.get_element(str_name);

         if (se.name == str_name)
         {
            if (se.active)
            {
               set_error(make_error(
                  parser_error::e_syntax,
                  current_token(),
                  "ERR175 - Illegal redefinition of local variable: '" + str_name + "'",
                  exprtk_error_location));

               free_node(node_allocator_, initialisation_expression);

               return error_node();
            }
            else if (scope_element::e_string == se.type)
            {
               str_node  = se.str_node;
               se.active = true;
               se.depth  = state_.scope_depth;
               se.ref_count++;
            }
         }

         if (0 == str_node)
         {
            scope_element nse;
            nse.name      = str_name;
            nse.active    = true;
            nse.ref_count = 1;
            nse.type      = scope_element::e_string;
            nse.depth     = state_.scope_depth;
            nse.data      = new std::string;
            nse.str_node  = new stringvar_node_t(*reinterpret_cast<std::string*>(nse.data));

            if (!sem_.add_element(nse))
            {
               set_error(make_error(
                  parser_error::e_syntax,
                  current_token(),
                  "ERR176 - Failed to add new local string variable '" + str_name + "' to SEM",
                  exprtk_error_location));

               free_node(node_allocator_, initialisation_expression);

               sem_.free_element(nse);

               return error_node();
            }

            assert(sem_.total_local_symb_size_bytes() <= settings().max_total_local_symbol_size_bytes());

            str_node = nse.str_node;

            exprtk_debug(("parse_define_string_statement() - INFO - Added new local string variable: %s\n", nse.name.c_str()));
         }

         lodge_symbol(str_name, e_st_local_string);

         state_.activate_side_effect("parse_define_string_statement()");

         expression_node_ptr branch[2] = {0};

         branch[0] = str_node;
         branch[1] = initialisation_expression;

         return expression_generator_(details::e_assign,branch);
      }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x1a8, %rsp            # imm = 0x1A8
movq %rsi, %r14
movq %rdi, %rbx
movq %rdx, 0x8(%rsp)
leaq 0x530(%rdi), %r15
pushq $-0x1
popq %rdx
movq %r15, %rdi
callq 0x28ca1a
movq %rax, %r12
movq %rax, %rdi
movq %r14, %rsi
callq 0x253fc9
testb %al, %al
je 0x29d9b3
cmpb $0x1, 0x4c(%r12)
jne 0x29d986
leaq 0x3ed1a(%rip), %rsi     # 0x2dc5d7
leaq 0x50(%rsp), %r15
movq %r15, %rdi
movq %r14, %rdx
callq 0x1f8aab
leaq 0x3ee9e(%rip), %rdx     # 0x2dc772
leaq 0x70(%rsp), %rdi
movq %r15, %rsi
callq 0x1b42c3
leaq 0x10(%rsp), %rdi
movl $0x7414, %esi           # imm = 0x7414
callq 0x1f7a3c
leaq 0x3c304(%rip), %rsi     # 0x2d9bfb
leaq 0x30(%rsp), %rdi
leaq 0x10(%rsp), %rdx
callq 0x1b4349
leaq 0x70(%rbx), %rdx
leaq 0x100(%rsp), %rdi
pushq $0x1
popq %rsi
leaq 0x70(%rsp), %rcx
leaq 0x30(%rsp), %r8
callq 0x1f7341
leaq 0x308(%rbx), %rdi
leaq 0x100(%rsp), %rsi
callq 0x1f76ce
leaq 0x100(%rsp), %rdi
callq 0x1f5c4c
leaq 0x30(%rsp), %rdi
callq 0x118648
leaq 0x10(%rsp), %rdi
callq 0x118648
leaq 0x70(%rsp), %rdi
callq 0x118648
leaq 0x50(%rsp), %rdi
callq 0x118648
addq $0x290, %rbx            # imm = 0x290
leaq 0x8(%rsp), %rsi
movq %rbx, %rdi
callq 0x1ad9c8
jmp 0x29dbc6
cmpl $0x5, 0x48(%r12)
jne 0x29d9b3
movq 0x68(%r12), %r13
movb $0x1, 0x4c(%r12)
movq 0x3b0(%rbx), %rax
movq %rax, 0x30(%r12)
incq 0x38(%r12)
testq %r13, %r13
jne 0x29db4b
leaq 0x70(%rsp), %r12
movq %r12, %rdi
callq 0x19ec34
movq %r12, %rdi
movq %r14, %rsi
callq 0x1185c0
movb $0x1, 0xbc(%rsp)
movq $0x1, 0xa8(%rsp)
movl $0x5, 0xb8(%rsp)
movq 0x3b0(%rbx), %rax
movq %rax, 0xa0(%rsp)
pushq $0x20
popq %rdi
callq 0x118100
movq %rax, %r12
addq $0x10, %rax
movq %rax, (%r12)
andq $0x0, 0x8(%r12)
movb $0x0, 0x10(%r12)
movq %r12, 0xc0(%rsp)
movl $0x88, %edi
callq 0x118100
movq %rax, %r13
movq %rax, %rdi
movq %r12, %rsi
callq 0x29ee08
leaq 0x70(%rsp), %rsi
movq %r13, 0x68(%rsi)
movq %r15, %rdi
callq 0x28cb54
movl %eax, %ebp
testb %al, %al
je 0x29da5c
movq 0xd8(%rsp), %r13
jmp 0x29db3c
leaq 0x3eba7(%rip), %rsi     # 0x2dc60a
leaq 0x30(%rsp), %rdi
movq %r14, %rdx
callq 0x1f8aab
leaq 0x3dd0c(%rip), %rdx     # 0x2db783
leaq 0x50(%rsp), %rdi
leaq 0x30(%rsp), %rsi
callq 0x1b42c3
leaq 0xe0(%rsp), %rdi
movl $0x7434, %esi           # imm = 0x7434
callq 0x1f7a3c
leaq 0x3c15c(%rip), %rsi     # 0x2d9bfb
leaq 0x10(%rsp), %rdi
leaq 0xe0(%rsp), %rdx
callq 0x1b4349
leaq 0x70(%rbx), %rdx
leaq 0x100(%rsp), %rdi
pushq $0x1
popq %rsi
leaq 0x50(%rsp), %rcx
leaq 0x10(%rsp), %r8
callq 0x1f7341
leaq 0x308(%rbx), %rdi
leaq 0x100(%rsp), %rsi
callq 0x1f76ce
leaq 0x100(%rsp), %rdi
callq 0x1f5c4c
leaq 0x10(%rsp), %rdi
callq 0x118648
leaq 0xe0(%rsp), %rdi
callq 0x118648
leaq 0x50(%rsp), %rdi
callq 0x118648
leaq 0x30(%rsp), %rdi
callq 0x118648
leaq 0x290(%rbx), %rdi
leaq 0x8(%rsp), %rsi
callq 0x1ad9c8
leaq 0x70(%rsp), %rsi
movq %r15, %rdi
callq 0x1f7500
xorl %r13d, %r13d
leaq 0x70(%rsp), %rdi
callq 0x118648
testb %bpl, %bpl
je 0x29dbc6
leaq 0x2b0(%rbx), %rdi
pushq $0x8
popq %rdx
movq %r14, %rsi
callq 0x2089d0
leaq 0x3ead9(%rip), %rsi     # 0x2dc63d
leaq 0x100(%rsp), %rdi
leaq 0x70(%rsp), %rdx
callq 0x127016
cmpb $0x0, 0x3ac(%rbx)
jne 0x29db86
movb $0x1, 0x3ac(%rbx)
leaq 0x100(%rsp), %r14
movq %r14, %rdi
callq 0x118648
movq %r13, (%r14)
movq 0x8(%rsp), %rax
movq %rax, 0x8(%r14)
addq $0x220, %rbx            # imm = 0x220
leaq 0x70(%rsp), %rsi
movl $0x51, (%rsi)
leaq 0x100(%rsp), %rdx
movq %rbx, %rdi
callq 0x20dd4a
jmp 0x29dbc8
xorl %eax, %eax
addq $0x1a8, %rsp            # imm = 0x1A8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
leaq 0x100(%rsp), %rdi
callq 0x1f5c4c
jmp 0x29dbef
movq %rax, %rbx
leaq 0x30(%rsp), %rdi
callq 0x118648
jmp 0x29dbfe
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
callq 0x118648
jmp 0x29dc0d
movq %rax, %rbx
leaq 0x70(%rsp), %rdi
callq 0x118648
jmp 0x29dc1c
movq %rax, %rbx
leaq 0x50(%rsp), %rdi
jmp 0x29dc90
movq %rax, %rbx
leaq 0x100(%rsp), %rdi
callq 0x1f5c4c
jmp 0x29dc38
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
callq 0x118648
jmp 0x29dc47
movq %rax, %rbx
leaq 0xe0(%rsp), %rdi
callq 0x118648
jmp 0x29dc59
movq %rax, %rbx
leaq 0x50(%rsp), %rdi
callq 0x118648
jmp 0x29dc68
movq %rax, %rbx
leaq 0x30(%rsp), %rdi
callq 0x118648
jmp 0x29dc8b
jmp 0x29dc88
movq %rax, %rbx
movl $0x88, %esi
movq %r13, %rdi
callq 0x1180d0
jmp 0x29dc8b
movq %rax, %rbx
leaq 0x70(%rsp), %rdi
callq 0x118648
movq %rbx, %rdi
callq 0x118360
nop