// File: /workspace/github_cpp_makefile_star2_O2/ArashPartow[P]exprtk/./exprtk.hpp
// Function: exprtk::parser<double>::parse_overload_function_call(exprtk::igeneric_function<double>*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
inline expression_node_ptr parse_overload_function_call(igeneric_function<T>* function, const std::string& function_name)
      {
         // Move pass the function name
         next_token();

         std::string param_type_list;

         type_checker tc((*this), function_name, function->parameter_sequence, type_checker::e_overload);

         if (
              (!function->parameter_sequence.empty()) &&
              (0 == tc.paramseq_count())
            )
         {
            return error_node();
         }

         std::vector<expression_node_ptr> arg_list;
         scoped_vec_delete<expression_node_t> svd((*this), arg_list);

         if (!parse_igeneric_function_params(param_type_list, arg_list, function_name, function, tc))
         {
            return error_node();
         }

         std::size_t param_seq_index = 0;

         if (!tc.verify(param_type_list, param_seq_index))
         {
            set_error(make_error(
               parser_error::e_syntax,
               current_token(),
               "ERR144 - Invalid input parameter sequence for call to overloaded function: " + function_name,
               exprtk_error_location));

            return error_node();
         }

         expression_node_ptr result = error_node();

         if (type_checker::e_numeric == tc.return_type(param_seq_index))
         {
            if (tc.paramseq_count() <= 1)
               result = expression_generator_
                          .generic_function_call(function, arg_list);
            else
               result = expression_generator_
                          .generic_function_call(function, arg_list, param_seq_index);
         }
         else if (type_checker::e_string == tc.return_type(param_seq_index))
         {
            if (tc.paramseq_count() <= 1)
               result = expression_generator_
                          .string_function_call(function, arg_list);
            else
               result = expression_generator_
                          .string_function_call(function, arg_list, param_seq_index);
         }
         else
         {
            set_error(make_error(
               parser_error::e_syntax,
               current_token(),
               "ERR145 - Invalid return type for call to overloaded function: " + function_name,
               exprtk_error_location));
         }

         svd.delete_ptr = (0 == result);
         return result;
      }

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x1c0, %rsp            # imm = 0x1C0
movq %rdx, %r15
movq %rsi, %r14
movq %rdi, %rbx
callq 0x1f6d68
leaq 0xb8(%rsp), %rax
movq %rax, -0x10(%rax)
andq $0x0, -0x8(%rax)
movb $0x0, (%rax)
leaq 0x20(%r14), %rcx
leaq 0xc8(%rsp), %rdi
pushq $0x20
popq %r8
movq %rbx, %rsi
movq %r15, %rdx
callq 0x2b58fa
cmpq $0x0, 0x28(%r14)
je 0x2a590e
movq 0x108(%rsp), %rax
cmpq 0x100(%rsp), %rax
je 0x2a59e6
xorps %xmm0, %xmm0
leaq 0x10(%rsp), %rdx
andq $0x0, 0x10(%rdx)
movaps %xmm0, (%rdx)
movb $0x1, 0x90(%rsp)
movq %rbx, 0x98(%rsp)
movq %rdx, 0xa0(%rsp)
leaq 0xa8(%rsp), %rsi
leaq 0xc8(%rsp), %r9
movq %rbx, %rdi
movq %r15, %rcx
movq %r14, %r8
callq 0x2b7a4e
testb %al, %al
je 0x2a5a86
leaq 0x8(%rsp), %rdx
andq $0x0, (%rdx)
leaq 0xc8(%rsp), %rdi
leaq 0xa8(%rsp), %rsi
callq 0x2b59d2
testb %al, %al
je 0x2a59ed
movq 0x100(%rsp), %rcx
imulq $0x28, 0x8(%rsp), %rax
movl (%rcx,%rax), %eax
cmpl $0x53, %eax
je 0x2a5a8d
cmpl $0x54, %eax
jne 0x2a5ad2
movq 0x108(%rsp), %rax
subq %rcx, %rax
pushq $0x28
popq %rcx
cqto
idivq %rcx
addq $0x220, %rbx            # imm = 0x220
cmpq $0x1, %rax
ja 0x2a5b6f
leaq 0x118(%rsp), %rcx
orq $-0x1, (%rcx)
leaq 0x10(%rsp), %rdx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x2b5e4e
jmp 0x2a5b9b
xorl %ebx, %ebx
jmp 0x2a5bc0
leaq 0x38276(%rip), %rsi     # 0x2ddc6a
leaq 0x70(%rsp), %rdi
movq %r15, %rdx
callq 0x1f8aab
leaq 0x30(%rsp), %rdi
movl $0x7125, %esi           # imm = 0x7125
callq 0x1f7a3c
leaq 0x341e4(%rip), %rsi     # 0x2d9bfb
leaq 0x50(%rsp), %rdi
leaq 0x30(%rsp), %rdx
callq 0x1b4349
leaq 0x70(%rbx), %rdx
leaq 0x118(%rsp), %rdi
pushq $0x1
popq %rsi
leaq 0x70(%rsp), %rcx
leaq 0x50(%rsp), %r8
callq 0x1f7341
addq $0x308, %rbx            # imm = 0x308
leaq 0x118(%rsp), %rsi
movq %rbx, %rdi
callq 0x1f76ce
leaq 0x118(%rsp), %rdi
callq 0x1f5c4c
leaq 0x50(%rsp), %rdi
callq 0x118648
leaq 0x30(%rsp), %rdi
callq 0x118648
leaq 0x70(%rsp), %rdi
callq 0x118648
xorl %ebx, %ebx
jmp 0x2a5ba9
movq 0x108(%rsp), %rax
subq %rcx, %rax
pushq $0x28
popq %rcx
cqto
idivq %rcx
addq $0x220, %rbx            # imm = 0x220
cmpq $0x1, %rax
ja 0x2a5b86
leaq 0x118(%rsp), %rcx
orq $-0x1, (%rcx)
leaq 0x10(%rsp), %rdx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x2b7d80
jmp 0x2a5b9b
leaq 0x381dd(%rip), %rsi     # 0x2ddcb6
leaq 0x70(%rsp), %rdi
movq %r15, %rdx
callq 0x1f8aab
leaq 0x30(%rsp), %rdi
movl $0x7144, %esi           # imm = 0x7144
callq 0x1f7a3c
leaq 0x340ff(%rip), %rsi     # 0x2d9bfb
leaq 0x50(%rsp), %rdi
leaq 0x30(%rsp), %rdx
callq 0x1b4349
leaq 0x70(%rbx), %rdx
leaq 0x118(%rsp), %rdi
pushq $0x1
popq %rsi
leaq 0x70(%rsp), %rcx
leaq 0x50(%rsp), %r8
callq 0x1f7341
addq $0x308, %rbx            # imm = 0x308
leaq 0x118(%rsp), %rsi
movq %rbx, %rdi
callq 0x1f76ce
leaq 0x118(%rsp), %rdi
callq 0x1f5c4c
leaq 0x50(%rsp), %rdi
callq 0x118648
leaq 0x30(%rsp), %rdi
callq 0x118648
leaq 0x70(%rsp), %rdi
callq 0x118648
xorl %ebx, %ebx
jmp 0x2a5b9e
leaq 0x10(%rsp), %rdx
leaq 0x8(%rsp), %rcx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x2b5e4e
jmp 0x2a5b9b
leaq 0x10(%rsp), %rdx
leaq 0x8(%rsp), %rcx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x2b7d80
movq %rax, %rbx
testq %rbx, %rbx
sete 0x90(%rsp)
leaq 0x90(%rsp), %rdi
callq 0x1fb1b8
leaq 0x10(%rsp), %rdi
callq 0x29e264
leaq 0xc8(%rsp), %rdi
callq 0x2b6142
leaq 0xa8(%rsp), %rdi
callq 0x118648
movq %rbx, %rax
addq $0x1c0, %rsp            # imm = 0x1C0
popq %rbx
popq %r14
popq %r15
retq
jmp 0x2a5c3d
jmp 0x2a5c3d
jmp 0x2a5bfa
jmp 0x2a5c0c
jmp 0x2a5c1b
jmp 0x2a5c2a
jmp 0x2a5c3d
jmp 0x2a5c3d
movq %rax, %rbx
leaq 0x118(%rsp), %rdi
callq 0x1f5c4c
jmp 0x2a5c0f
movq %rax, %rbx
leaq 0x50(%rsp), %rdi
callq 0x118648
jmp 0x2a5c1e
movq %rax, %rbx
leaq 0x30(%rsp), %rdi
callq 0x118648
jmp 0x2a5c2d
movq %rax, %rbx
leaq 0x70(%rsp), %rdi
callq 0x118648
jmp 0x2a5c40
jmp 0x2a5c3d
jmp 0x2a5c3d
movq %rax, %rbx
leaq 0x90(%rsp), %rdi
callq 0x1fb1b8
leaq 0x10(%rsp), %rdi
callq 0x29e264
leaq 0xc8(%rsp), %rdi
callq 0x2b6142
jmp 0x2a5c69
movq %rax, %rbx
leaq 0xa8(%rsp), %rdi
callq 0x118648
movq %rbx, %rdi
callq 0x118360