// File: /workspace/github_cpp_makefile_star2_O1/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 %r12
pushq %rbx
subq $0x48, %rsp
movq %rcx, %rbx
movq %rdx, %r14
movq %rsi, %r15
movq (%rsi), %rax
movzbl (%rax), %eax
cmpl $0x63, %eax
je 0x3b0c06
cmpl $0x76, %eax
jne 0x3b0c6c
movsd 0x1c9770(%rip), %xmm0   # 0x57a318
movsd 0x1470(%rip), %xmm1     # 0x3b2020
addsd %xmm0, %xmm1
movsd %xmm1, 0x1c975c(%rip)   # 0x57a318
leaq 0x8(%rsp), %rdx
movsd %xmm0, (%rdx)
movq %r14, %rdi
movq %r15, %rsi
callq 0x3685d8
movl %eax, %r14d
testb %al, %al
jne 0x3b0e06
leaq 0x338e7(%rip), %rsi     # 0x3e44c9
leaq 0x28(%rsp), %r12
movq %r12, %rdi
movq %r15, %rdx
callq 0x26c8c1
leaq 0x338eb(%rip), %rsi     # 0x3e44e4
movq %r12, %rdi
callq 0x120340
jmp 0x3b0d7d
movsd 0x1c9712(%rip), %xmm0   # 0x57a320
movsd 0x140a(%rip), %xmm1     # 0x3b2020
addsd %xmm0, %xmm1
movsd %xmm1, 0x1c96fe(%rip)   # 0x57a320
leaq 0x8(%rsp), %rdx
movsd %xmm0, (%rdx)
movq %r14, %rdi
movq %r15, %rsi
callq 0x1edfea
movl %eax, %r14d
testb %al, %al
jne 0x3b0e06
leaq 0x338b6(%rip), %rsi     # 0x3e44fe
leaq 0x28(%rsp), %r12
movq %r12, %rdi
movq %r15, %rdx
callq 0x26c8c1
leaq 0x33885(%rip), %rsi     # 0x3e44e4
movq %r12, %rdi
callq 0x120340
jmp 0x3b0d7d
leaq 0x28700(%rip), %rsi     # 0x3d9373
movl $0x3, %ecx
movq %r15, %rdi
xorl %edx, %edx
callq 0x1201c0
testq %rax, %rax
je 0x3b0caa
movq 0x8(%rbx), %rdx
leaq 0x338a5(%rip), %rcx     # 0x3e4537
xorl %r14d, %r14d
movl $0x1b, %r8d
movq %rbx, %rdi
xorl %esi, %esi
callq 0x120290
jmp 0x3b0e06
cmpq $0x4, 0x8(%r15)
ja 0x3b0ce4
movq (%r15), %rax
movzbl 0x3(%rax), %eax
addl $-0x31, %eax
cmpl $0x5, %eax
ja 0x3b0ce4
leaq 0x5dd5(%rip), %rcx      # 0x3b6a9c
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
leaq -0x16474(%rip), %rdx    # 0x39a863
movq %r14, %rdi
movq %r15, %rsi
callq 0x39a6e6
jmp 0x3b0d4b
xorl %r14d, %r14d
jmp 0x3b0d4e
leaq -0x15e7d(%rip), %rdx    # 0x39ae73
movq %r14, %rdi
movq %r15, %rsi
callq 0x39acf6
jmp 0x3b0d4b
leaq -0x161a1(%rip), %rdx    # 0x39ab63
movq %r14, %rdi
movq %r15, %rsi
callq 0x39a9e6
jmp 0x3b0d4b
leaq -0x1602f(%rip), %rdx    # 0x39ace9
movq %r14, %rdi
movq %r15, %rsi
callq 0x39ab6c
jmp 0x3b0d4b
leaq -0x1634b(%rip), %rdx    # 0x39a9e1
movq %r14, %rdi
movq %r15, %rsi
callq 0x39a864
jmp 0x3b0d4b
leaq -0x15d3f(%rip), %rdx    # 0x39b001
movq %r14, %rdi
movq %r15, %rsi
callq 0x39ae84
movl %eax, %r14d
testb %r14b, %r14b
jne 0x3b0e06
leaq 0x337c1(%rip), %rsi     # 0x3e451f
leaq 0x28(%rsp), %r12
movq %r12, %rdi
movq %r15, %rdx
callq 0x26c8c1
leaq 0x3376f(%rip), %rsi     # 0x3e44e4
movq %r12, %rdi
callq 0x120340
leaq 0x18(%rsp), %r12
movq %r12, -0x10(%r12)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x3b0da5
movq %rdx, 0x8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x18(%rsp)
jmp 0x3b0daf
movupd (%rcx), %xmm0
movupd %xmm0, (%r12)
movq 0x8(%rax), %rdx
leaq 0x8(%rsp), %r15
movq %rdx, 0x8(%r15)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq %rbx, %rdi
movq %r15, %rsi
callq 0x1202b0
movq (%r15), %rdi
cmpq %r12, %rdi
je 0x3b0deb
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x1200c0
leaq 0x38(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x3b0e06
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x1200c0
movl %r14d, %eax
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
jmp 0x3b0e19
jmp 0x3b0e19
movq %rax, %rbx
leaq 0x38(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x3b0e37
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x1200c0
movq %rbx, %rdi
callq 0x120330
nop