// File: /workspace/github_cpp_makefile_star2_O2/ArashPartow[P]exprtk/exprtk_test.cpp
// Function: my_usr_ext<double>::process(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, exprtk::symbol_table<double>&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>&)
bool process(const std::string& unknown_symbol,
                symbol_table_t&    symbol_table,
                std::string&       error_message) exprtk_test_override
   {
      bool result = false;

      if (unknown_symbol[0] == 'v')
      {
         static T var_default_value = 1.0;

         if ((result = symbol_table.create_variable(unknown_symbol, var_default_value++)) == false)
         {
            error_message = "Failed to create variable(" + unknown_symbol + ") in primary symbol table";
         }
      }
      else if (unknown_symbol[0] == 'c')
      {
         static T cvar_default_value = 1.0;

         if ((result = symbol_table.add_constant(unknown_symbol, cvar_default_value++)) == false)
         {
            error_message = "Failed to create const variable(" + unknown_symbol + ") in primary symbol table";
         }
      }
      else if (0 == unknown_symbol.find("foo"))
      {
         //functions of form: fooXX
         if (4 >= unknown_symbol.size())
         {
            switch(unknown_symbol[3])
            {
               case '1' : result = symbol_table.add_function(unknown_symbol,foo1);
                          break;

               case '2' : result = symbol_table.add_function(unknown_symbol,foo2);
                          break;

               case '3' : result = symbol_table.add_function(unknown_symbol,foo3);
                          break;

               case '4' : result = symbol_table.add_function(unknown_symbol,foo4);
                          break;

               case '5' : result = symbol_table.add_function(unknown_symbol,foo5);
                          break;

               case '6' : result = symbol_table.add_function(unknown_symbol,foo6);
                          break;
            }
         }

         if (!result)
         {
            error_message = "Failed to add function(" + unknown_symbol + ") in primary symbol table";
         }
      }
      else
         error_message = "Indeterminable symbol type.";

      return result;
   }

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x40, %rsp
movq %rcx, %rbx
movq %rdx, %r15
movq %rsi, %r14
movq (%rsi), %rax
movzbl (%rax), %eax
cmpl $0x63, %eax
je 0x2cbe74
cmpl $0x76, %eax
jne 0x2cbede
movsd 0x1eb51e(%rip), %xmm0   # 0x4b7330
movsd 0x23a6(%rip), %xmm1     # 0x2ce1c0
addsd %xmm0, %xmm1
movsd %xmm1, 0x1eb50a(%rip)   # 0x4b7330
leaq 0x20(%rsp), %rdx
movsd %xmm0, (%rdx)
movq %r15, %rdi
movq %r14, %rsi
callq 0x2a5cbc
movl %eax, %ecx
movb $0x1, %al
testb %cl, %cl
jne 0x2cbfff
leaq 0x34de4(%rip), %rsi     # 0x300c31
movq %rsp, %r15
movq %r15, %rdi
movq %r14, %rdx
callq 0x1f8aab
leaq 0x34dea(%rip), %rdx     # 0x300c4c
leaq 0x20(%rsp), %rdi
movq %r15, %rsi
callq 0x1b42c3
jmp 0x2cbfdd
movsd 0x1eb4bc(%rip), %xmm0   # 0x4b7338
movsd 0x233c(%rip), %xmm1     # 0x2ce1c0
addsd %xmm0, %xmm1
movsd %xmm1, 0x1eb4a8(%rip)   # 0x4b7338
leaq 0x20(%rsp), %rdx
movsd %xmm0, (%rdx)
movq %r15, %rdi
movq %r14, %rsi
callq 0x1964ba
movl %eax, %ecx
movb $0x1, %al
testb %cl, %cl
jne 0x2cbfff
leaq 0x34daf(%rip), %rsi     # 0x300c66
movq %rsp, %r15
movq %r15, %rdi
movq %r14, %rdx
callq 0x1f8aab
leaq 0x34d80(%rip), %rdx     # 0x300c4c
leaq 0x20(%rsp), %rdi
movq %r15, %rsi
callq 0x1b42c3
jmp 0x2cbfdd
leaq 0x29bc2(%rip), %rsi     # 0x2f5aa7
movq %r14, %rdi
xorl %edx, %edx
callq 0x118030
testq %rax, %rax
je 0x2cbf08
leaq 0x34da4(%rip), %rsi     # 0x300c9f
movq %rbx, %rdi
callq 0x118600
jmp 0x2cbffd
cmpq $0x4, 0x8(%r14)
ja 0x2cbfb4
movq (%r14), %rax
movzbl 0x3(%rax), %eax
addl $-0x31, %eax
cmpl $0x5, %eax
ja 0x2cbfb4
leaq 0x7277(%rip), %rcx      # 0x2d31a4
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
leaq -0xf981(%rip), %rdx     # 0x2bc5bc
movq %r15, %rdi
movq %r14, %rsi
callq 0x2bc508
jmp 0x2cbfac
leaq -0xf6a5(%rip), %rdx     # 0x2bc8ac
movq %r15, %rdi
movq %r14, %rsi
callq 0x2bc7f8
jmp 0x2cbfac
leaq -0xf839(%rip), %rdx     # 0x2bc72c
movq %r15, %rdi
movq %r14, %rsi
callq 0x2bc678
jmp 0x2cbfac
leaq -0xf78f(%rip), %rdx     # 0x2bc7ea
movq %r15, %rdi
movq %r14, %rsi
callq 0x2bc736
jmp 0x2cbfac
leaq -0xf91b(%rip), %rdx     # 0x2bc672
movq %r15, %rdi
movq %r14, %rsi
callq 0x2bc5be
jmp 0x2cbfac
leaq -0xf62f(%rip), %rdx     # 0x2bc972
movq %r15, %rdi
movq %r14, %rsi
callq 0x2bc8be
movl %eax, %ecx
movb $0x1, %al
testb %cl, %cl
jne 0x2cbfff
leaq 0x34ccc(%rip), %rsi     # 0x300c87
movq %rsp, %r15
movq %r15, %rdi
movq %r14, %rdx
callq 0x1f8aab
leaq 0x34c7c(%rip), %rdx     # 0x300c4c
leaq 0x20(%rsp), %rdi
movq %r15, %rsi
callq 0x1b42c3
leaq 0x20(%rsp), %r14
movq %rbx, %rdi
movq %r14, %rsi
callq 0x1182d0
movq %r14, %rdi
callq 0x118648
movq %rsp, %rdi
callq 0x118648
xorl %eax, %eax
addq $0x40, %rsp
popq %rbx
popq %r14
popq %r15
retq
jmp 0x2cc00d
jmp 0x2cc00d
movq %rax, %rbx
movq %rsp, %rdi
callq 0x118648
movq %rbx, %rdi
callq 0x118360