// File: /workspace/github_cpp_makefile_star2_O1/ArashPartow[P]exprtk/./exprtk.hpp
// Function: exprtk::parser<double>::simplify_unary_negation_branch(exprtk::details::expression_node<double>*&)
bool simplify_unary_negation_branch(expression_node_ptr& node)
      {
         {
            typedef details::unary_branch_node<T,details::neg_op<T> > ubn_t;
            ubn_t* n = dynamic_cast<ubn_t*>(node);

            if (n)
            {
               expression_node_ptr un_r = n->branch(0);
               n->release();
               free_node(node_allocator_, node);
               node = un_r;

               return true;
            }
         }

         {
            typedef details::unary_variable_node<T,details::neg_op<T> > uvn_t;

            uvn_t* n = dynamic_cast<uvn_t*>(node);

            if (n)
            {
               const T& v = n->v();
               expression_node_ptr return_node = error_node();

               if (
                    (0 != (return_node = symtab_store_.get_variable(v))) ||
                    (0 != (return_node = sem_         .get_variable(v)))
                  )
               {
                  free_node(node_allocator_, node);
                  node = return_node;

                  return true;
               }
               else
               {
                  set_error(make_error(
                     parser_error::e_syntax,
                     current_token(),
                     "ERR020 - Failed to find variable node in symbol table",
                     exprtk_error_location));

                  free_node(node_allocator_, node);

                  return false;
               }
            }
         }

         return false;
      }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x128, %rsp            # imm = 0x128
movq %rsi, %r15
movq %rdi, (%rsp)
movq (%rsi), %rdi
testq %rdi, %rdi
je 0x276fa9
leaq 0x2d01d7(%rip), %rax    # 0x547178
movq %rdi, %rbx
cmpq %rax, (%rdi)
je 0x276fab
xorl %ebx, %ebx
testq %rbx, %rbx
je 0x276ff1
movq 0x20(%rbx), %r14
movb $0x0, 0x28(%rbx)
testq %rdi, %rdi
je 0x276fe3
movq (%rdi), %rax
callq *0x28(%rax)
cmpl $0x11, %eax
je 0x276fe3
movq (%r15), %rdi
testq %rdi, %rdi
je 0x276fdb
movq (%rdi), %rax
callq *0x28(%rax)
cmpl $0x12, %eax
je 0x276fe3
movq %r15, %rdi
callq 0x1f1690
movq %r14, (%r15)
movb $0x1, %al
testq %rbx, %rbx
jne 0x277187
movq (%r15), %rcx
testq %rcx, %rcx
je 0x277005
leaq 0x2cb708(%rip), %rax    # 0x542708
cmpq %rax, (%rcx)
je 0x277007
xorl %ecx, %ecx
movb $0x1, %dl
testq %rcx, %rcx
je 0x27717f
movq %r15, 0x10(%rsp)
movq %rcx, 0x8(%rsp)
movq 0x20(%rcx), %r15
movq (%rsp), %rax
movq 0x298(%rax), %rcx
movq 0x2a0(%rax), %r12
movq %rcx, 0x58(%rsp)
subq %rcx, %r12
je 0x27709f
sarq $0x3, %r12
cmpq $0x1, %r12
adcq $0x0, %r12
xorl %ebx, %ebx
movq 0x58(%rsp), %rax
movq (%rax,%rbx,8), %rax
testq %rax, %rax
je 0x277097
movq 0x8(%rax), %r14
testq %r14, %r14
je 0x277097
movq 0x18(%r14), %rax
addq $0x8, %r14
cmpq %rax, %r14
je 0x27708f
movq 0x48(%rax), %rcx
movq 0x28(%rcx), %rbp
cmpq %r15, %rbp
je 0x277085
movq %rax, %rdi
callq 0x1204c0
jmp 0x277088
movq %rcx, %r13
cmpq %r15, %rbp
jne 0x277069
jmp 0x277092
xorl %r13d, %r13d
testq %r13, %r13
jne 0x2770a2
incq %rbx
cmpq %r12, %rbx
jne 0x27704a
xorl %r13d, %r13d
testq %r13, %r13
jne 0x277142
movq (%rsp), %rax
movq 0x538(%rax), %rbp
cmpq %rbp, 0x540(%rax)
je 0x27713a
movl $0x58, %r12d
movabsq $0x6db6db6db6db6db7, %rcx # imm = 0x6DB6DB6DB6DB6DB7
xorl %ebx, %ebx
movb $0x1, %r14b
cmpb $0x1, -0xc(%rbp,%r12)
jne 0x27710c
movq (%rbp,%r12), %rdi
testq %rdi, %rdi
je 0x27710c
movq (%rdi), %rax
callq *0x28(%rax)
cmpl $0x11, %eax
jne 0x277102
movq (%rbp,%r12), %rax
cmpq %r15, 0x28(%rax)
setne %r14b
cmoveq %rax, %r13
movabsq $0x6db6db6db6db6db7, %rcx # imm = 0x6DB6DB6DB6DB6DB7
testb %r14b, %r14b
je 0x27713d
incq %rbx
movq (%rsp), %rax
movq 0x538(%rax), %rbp
movq 0x540(%rax), %rax
subq %rbp, %rax
sarq $0x4, %rax
imulq %rcx, %rax
addq $0x70, %r12
cmpq %rax, %rbx
jb 0x2770d1
xorl %r13d, %r13d
testq %r13, %r13
je 0x277199
movq 0x10(%rsp), %rbx
movq (%rbx), %rdi
testq %rdi, %rdi
je 0x277175
movq (%rdi), %rax
callq *0x28(%rax)
cmpl $0x11, %eax
je 0x277175
movq (%rbx), %rdi
testq %rdi, %rdi
je 0x27716d
movq (%rdi), %rax
callq *0x28(%rax)
cmpl $0x12, %eax
je 0x277175
movq %rbx, %rdi
callq 0x1f1690
movq %r13, (%rbx)
movq 0x8(%rsp), %rcx
movb $0x1, %dl
testq %rcx, %rcx
setne %al
andb %dl, %al
addq $0x128, %rsp            # imm = 0x128
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x70(%rsp), %r12
movq %r12, -0x10(%r12)
leaq 0x14a474(%rip), %rsi    # 0x3c161e
leaq 0x14a4a2(%rip), %rdx    # 0x3c1653
leaq 0x60(%rsp), %rdi
callq 0x1eabb8
leaq 0x28(%rsp), %r13
movq %r13, -0x10(%r13)
movq $0x0, -0x8(%r13)
movb $0x0, (%r13)
movl $0x63ff, %ebx           # imm = 0x63FF
leaq 0x18(%rsp), %r15
movslq %ebx, %rax
imulq $0x66666667, %rax, %r14 # imm = 0x66666667
movq %r14, %rcx
shrq $0x3f, %rcx
sarq $0x22, %r14
addl %ecx, %r14d
leal (%r14,%r14), %ecx
leal (%rcx,%rcx,4), %ecx
subl %ecx, %eax
addb $0x30, %al
movsbl %al, %esi
movq %r15, %rdi
callq 0x1205d0
addl $0x9, %ebx
cmpl $0x13, %ebx
movl %r14d, %ebx
jae 0x2771db
movq 0x18(%rsp), %rax
movq 0x20(%rsp), %rcx
testq %rcx, %rcx
setne %dl
addq %rax, %rcx
decq %rcx
cmpq %rax, %rcx
seta %sil
andb %dl, %sil
cmpb $0x1, %sil
jne 0x277258
incq %rax
movb -0x1(%rax), %dl
movb (%rcx), %sil
movb %sil, -0x1(%rax)
movb %dl, (%rcx)
decq %rcx
leaq 0x1(%rax), %rdx
cmpq %rcx, %rax
movq %rdx, %rax
jb 0x27723d
leaq 0x146294(%rip), %rcx    # 0x3bd4f3
leaq 0x18(%rsp), %rdi
movl $0xb, %r8d
xorl %esi, %esi
xorl %edx, %edx
callq 0x120110
leaq 0x48(%rsp), %rsi
movq %rsi, -0x10(%rsi)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x2772a0
movq %rsi, %r15
movq %r12, %r14
movq %rdx, 0x38(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x48(%rsp)
jmp 0x2772ac
movq %r12, %r14
movups (%rcx), %xmm0
movq %rsi, %r15
movups %xmm0, (%rsi)
movq 0x8(%rax), %rdx
movq %rdx, 0x40(%rsp)
movq %rcx, (%rax)
xorl %ecx, %ecx
movq %rcx, 0x8(%rax)
movb %cl, 0x10(%rax)
leaq 0x88(%rsp), %rdi
movl $0x0, -0x8(%rdi)
leaq 0x98(%rsp), %r13
movq %r13, -0x10(%r13)
movq %rcx, -0x8(%r13)
movb %cl, (%r13)
movq $-0x1, 0x10(%r13)
leaq 0xc8(%rsp), %rbp
movq %rbp, -0x10(%rbp)
movq %rcx, -0x8(%rbp)
movb %cl, (%rbp)
leaq 0xe8(%rsp), %r12
movq %r12, -0x10(%r12)
movq %rcx, -0x8(%r12)
movb %cl, (%r12)
leaq 0x108(%rsp), %rbx
movq %rbx, -0x10(%rbx)
movq %rcx, -0x8(%rbx)
movb %cl, (%rbx)
xorps %xmm0, %xmm0
movups %xmm0, 0x10(%rbx)
movl $0x1, -0x58(%rbx)
movq (%rsp), %rcx
movl 0x70(%rcx), %eax
movl %eax, -0x68(%r12)
leaq 0x78(%rcx), %rsi
callq 0x1205a0
leaq 0xb8(%rsp), %rdi
movq (%rsp), %rax
movq 0x98(%rax), %rax
movq %rax, -0x10(%rdi)
leaq 0x60(%rsp), %rsi
callq 0x1205a0
leaq 0xd8(%rsp), %rdi
leaq 0x38(%rsp), %rsi
callq 0x1205a0
movq (%rsp), %rdi
addq $0x308, %rdi            # imm = 0x308
leaq 0x80(%rsp), %rsi
callq 0x26b154
movq 0xf8(%rsp), %rdi
cmpq %rbx, %rdi
je 0x2773b2
movq 0x108(%rsp), %rsi
incq %rsi
callq 0x1200c0
movq 0xd8(%rsp), %rdi
cmpq %r12, %rdi
je 0x2773cf
movq 0xe8(%rsp), %rsi
incq %rsi
callq 0x1200c0
movq 0xb8(%rsp), %rdi
cmpq %rbp, %rdi
je 0x2773ec
movq 0xc8(%rsp), %rsi
incq %rsi
callq 0x1200c0
movq 0x88(%rsp), %rdi
cmpq %r13, %rdi
je 0x277409
movq 0x98(%rsp), %rsi
incq %rsi
callq 0x1200c0
movq 0x38(%rsp), %rdi
cmpq %r15, %rdi
leaq 0x28(%rsp), %r15
je 0x277425
movq 0x48(%rsp), %rsi
incq %rsi
callq 0x1200c0
movq 0x18(%rsp), %rdi
cmpq %r15, %rdi
movq 0x10(%rsp), %rbx
je 0x277441
movq 0x28(%rsp), %rsi
incq %rsi
callq 0x1200c0
movq 0x60(%rsp), %rdi
cmpq %r14, %rdi
je 0x277458
movq 0x70(%rsp), %rsi
incq %rsi
callq 0x1200c0
movq (%rbx), %rdi
testq %rdi, %rdi
je 0x277486
movq (%rdi), %rax
callq *0x28(%rax)
cmpl $0x11, %eax
je 0x277486
movq (%rbx), %rdi
testq %rdi, %rdi
je 0x27747e
movq (%rdi), %rax
callq *0x28(%rax)
cmpl $0x12, %eax
je 0x277486
movq %rbx, %rdi
callq 0x1f1690
xorl %edx, %edx
movq 0x8(%rsp), %rcx
jmp 0x27717f
jmp 0x27749c
movq %r12, %r14
movq %rax, %rbx
jmp 0x2774c3
movq %rax, %rbx
leaq 0x80(%rsp), %rdi
callq 0x266b98
movq 0x38(%rsp), %rdi
cmpq %r15, %rdi
je 0x2774c3
movq 0x48(%rsp), %rsi
incq %rsi
callq 0x1200c0
movq 0x18(%rsp), %rdi
leaq 0x28(%rsp), %rax
cmpq %rax, %rdi
jne 0x2774e4
jmp 0x2774f1
movq %r12, %r14
movq %rax, %rbx
movq 0x18(%rsp), %rdi
cmpq %r13, %rdi
je 0x2774f1
movq 0x28(%rsp), %rsi
incq %rsi
callq 0x1200c0
movq 0x60(%rsp), %rdi
cmpq %r14, %rdi
je 0x277508
movq 0x70(%rsp), %rsi
incq %rsi
callq 0x1200c0
movq %rbx, %rdi
callq 0x120330