// File: 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:
subq $0x378, %rsp            # imm = 0x378
movq %rdi, 0x368(%rsp)
movq %rsi, 0x360(%rsp)
movq %rdx, 0x358(%rsp)
movq 0x368(%rsp), %rdi
movq %rdi, 0x70(%rsp)
callq 0x373690
leaq 0x338(%rsp), %rdi
callq 0x11b2b0
movq 0x70(%rsp), %rsi
movq 0x358(%rsp), %rdx
movq 0x360(%rsp), %rcx
addq $0x20, %rcx
leaq 0x2e8(%rsp), %rdi
movl $0x20, %r8d
callq 0x54f300
jmp 0x52c96c
movq 0x360(%rsp), %rdi
addq $0x20, %rdi
callq 0x11b260
testb $0x1, %al
jne 0x52c9ce
leaq 0x2e8(%rsp), %rdi
callq 0x54fd90
movq %rax, %rcx
xorl %eax, %eax
cmpq %rcx, %rax
jne 0x52c9ce
callq 0x2821f0
movq %rax, 0x370(%rsp)
movl $0x1, 0x2d8(%rsp)
jmp 0x52cfdf
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x2e0(%rsp)
movl %eax, 0x2dc(%rsp)
jmp 0x52d009
leaq 0x2c0(%rsp), %rdi
movq %rdi, 0x68(%rsp)
callq 0x3798f0
movq 0x70(%rsp), %rsi
movq 0x68(%rsp), %rdx
leaq 0x2a8(%rsp), %rdi
callq 0x379910
jmp 0x52c9f9
movq 0x70(%rsp), %rdi
movq 0x358(%rsp), %rcx
movq 0x360(%rsp), %r8
leaq 0x338(%rsp), %rsi
leaq 0x2c0(%rsp), %rdx
leaq 0x2e8(%rsp), %r9
callq 0x555010
movb %al, 0x67(%rsp)
jmp 0x52ca31
movb 0x67(%rsp), %al
testb $0x1, %al
jne 0x52ca8a
jmp 0x52ca3b
callq 0x2821f0
movq %rax, 0x370(%rsp)
movl $0x1, 0x2d8(%rsp)
jmp 0x52cf9a
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x2e0(%rsp)
movl %eax, 0x2dc(%rsp)
jmp 0x52cfc3
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x2e0(%rsp)
movl %eax, 0x2dc(%rsp)
jmp 0x52cfb6
movq $0x0, 0x2a0(%rsp)
leaq 0x2e8(%rsp), %rdi
leaq 0x338(%rsp), %rsi
leaq 0x2a0(%rsp), %rdx
callq 0x54f480
movb %al, 0x66(%rsp)
jmp 0x52cab9
movb 0x66(%rsp), %al
testb $0x1, %al
jne 0x52cc45
jmp 0x52cac7
movq 0x70(%rsp), %rdi
callq 0x373e90
movq %rax, 0x58(%rsp)
jmp 0x52cad8
movq 0x358(%rsp), %rdx
leaq 0x7e4c2(%rip), %rsi     # 0x5aafa9
leaq 0x1d8(%rsp), %rdi
callq 0x3784f0
jmp 0x52caf6
leaq 0x198(%rsp), %rdi
movl $0x7125, %esi           # imm = 0x7125
callq 0x371f20
jmp 0x52cb0a
leaq 0x7a402(%rip), %rsi     # 0x5a6f13
leaq 0x1b8(%rsp), %rdi
leaq 0x198(%rsp), %rdx
callq 0x29dd70
jmp 0x52cb28
movq 0x58(%rsp), %rdx
leaq 0x1f8(%rsp), %rdi
movl $0x1, %esi
leaq 0x1d8(%rsp), %rcx
leaq 0x1b8(%rsp), %r8
callq 0x3741e0
jmp 0x52cb51
movq 0x70(%rsp), %rdi
leaq 0x1f8(%rsp), %rsi
callq 0x371e40
jmp 0x52cb65
leaq 0x1f8(%rsp), %rdi
callq 0x371330
leaq 0x1b8(%rsp), %rdi
callq 0x11b838
leaq 0x198(%rsp), %rdi
callq 0x11b838
leaq 0x1d8(%rsp), %rdi
callq 0x11b838
callq 0x2821f0
movq %rax, 0x370(%rsp)
movl $0x1, 0x2d8(%rsp)
jmp 0x52cf9a
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x2e0(%rsp)
movl %eax, 0x2dc(%rsp)
jmp 0x52cc33
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x2e0(%rsp)
movl %eax, 0x2dc(%rsp)
jmp 0x52cc26
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x2e0(%rsp)
movl %eax, 0x2dc(%rsp)
jmp 0x52cc19
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x2e0(%rsp)
movl %eax, 0x2dc(%rsp)
leaq 0x1f8(%rsp), %rdi
callq 0x371330
leaq 0x1b8(%rsp), %rdi
callq 0x11b838
leaq 0x198(%rsp), %rdi
callq 0x11b838
leaq 0x1d8(%rsp), %rdi
callq 0x11b838
jmp 0x52cfb6
callq 0x2821f0
movq %rax, 0x190(%rsp)
leaq 0x2e8(%rsp), %rdi
leaq 0x2a0(%rsp), %rsi
callq 0x5564a0
movl %eax, 0x54(%rsp)
jmp 0x52cc6d
movl 0x54(%rsp), %ecx
movl $0x54, %eax
cmpl %ecx, %eax
jne 0x52cd32
leaq 0x2e8(%rsp), %rdi
callq 0x54fd90
cmpq $0x1, %rax
ja 0x52ccf0
movq 0x70(%rsp), %rax
addq $0x220, %rax            # imm = 0x220
movq %rax, 0x38(%rsp)
movq 0x360(%rsp), %rax
movq %rax, 0x40(%rsp)
callq 0x237af0
movq 0x38(%rsp), %rdi
movq 0x40(%rsp), %rsi
movq %rax, 0x188(%rsp)
leaq 0x2c0(%rsp), %rdx
leaq 0x188(%rsp), %rcx
callq 0x54fdb0
movq %rax, 0x48(%rsp)
jmp 0x52cce1
movq 0x48(%rsp), %rax
movq %rax, 0x190(%rsp)
jmp 0x52cd2d
movq 0x70(%rsp), %rdi
addq $0x220, %rdi            # imm = 0x220
movq 0x360(%rsp), %rsi
leaq 0x2c0(%rsp), %rdx
leaq 0x2a0(%rsp), %rcx
callq 0x54fdb0
movq %rax, 0x30(%rsp)
jmp 0x52cd20
movq 0x30(%rsp), %rax
movq %rax, 0x190(%rsp)
jmp 0x52cf69
leaq 0x2e8(%rsp), %rdi
leaq 0x2a0(%rsp), %rsi
callq 0x5564a0
movl %eax, 0x2c(%rsp)
jmp 0x52cd4d
movl 0x2c(%rsp), %ecx
movl $0x53, %eax
cmpl %ecx, %eax
jne 0x52ce12
leaq 0x2e8(%rsp), %rdi
callq 0x54fd90
cmpq $0x1, %rax
ja 0x52cdd0
movq 0x70(%rsp), %rax
addq $0x220, %rax            # imm = 0x220
movq %rax, 0x10(%rsp)
movq 0x360(%rsp), %rax
movq %rax, 0x18(%rsp)
callq 0x237af0
movq 0x10(%rsp), %rdi
movq 0x18(%rsp), %rsi
movq %rax, 0x180(%rsp)
leaq 0x2c0(%rsp), %rdx
leaq 0x180(%rsp), %rcx
callq 0x555520
movq %rax, 0x20(%rsp)
jmp 0x52cdc1
movq 0x20(%rsp), %rax
movq %rax, 0x190(%rsp)
jmp 0x52ce0d
movq 0x70(%rsp), %rdi
addq $0x220, %rdi            # imm = 0x220
movq 0x360(%rsp), %rsi
leaq 0x2c0(%rsp), %rdx
leaq 0x2a0(%rsp), %rcx
callq 0x555520
movq %rax, 0x8(%rsp)
jmp 0x52ce00
movq 0x8(%rsp), %rax
movq %rax, 0x190(%rsp)
jmp 0x52cf67
movq 0x70(%rsp), %rdi
callq 0x373e90
movq %rax, (%rsp)
jmp 0x52ce22
movq 0x358(%rsp), %rdx
leaq 0x7e1c4(%rip), %rsi     # 0x5aaff5
leaq 0xb8(%rsp), %rdi
callq 0x3784f0
jmp 0x52ce40
leaq 0x78(%rsp), %rdi
movl $0x7144, %esi           # imm = 0x7144
callq 0x371f20
jmp 0x52ce51
leaq 0x7a0bb(%rip), %rsi     # 0x5a6f13
leaq 0x98(%rsp), %rdi
leaq 0x78(%rsp), %rdx
callq 0x29dd70
jmp 0x52ce6c
movq (%rsp), %rdx
leaq 0xd8(%rsp), %rdi
movl $0x1, %esi
leaq 0xb8(%rsp), %rcx
leaq 0x98(%rsp), %r8
callq 0x3741e0
jmp 0x52ce94
movq 0x70(%rsp), %rdi
leaq 0xd8(%rsp), %rsi
callq 0x371e40
jmp 0x52cea8
leaq 0xd8(%rsp), %rdi
callq 0x371330
leaq 0x98(%rsp), %rdi
callq 0x11b838
leaq 0x78(%rsp), %rdi
callq 0x11b838
leaq 0xb8(%rsp), %rdi
callq 0x11b838
jmp 0x52cf67
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x2e0(%rsp)
movl %eax, 0x2dc(%rsp)
jmp 0x52cf58
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x2e0(%rsp)
movl %eax, 0x2dc(%rsp)
jmp 0x52cf4e
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x2e0(%rsp)
movl %eax, 0x2dc(%rsp)
jmp 0x52cf41
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x2e0(%rsp)
movl %eax, 0x2dc(%rsp)
leaq 0xd8(%rsp), %rdi
callq 0x371330
leaq 0x98(%rsp), %rdi
callq 0x11b838
leaq 0x78(%rsp), %rdi
callq 0x11b838
leaq 0xb8(%rsp), %rdi
callq 0x11b838
jmp 0x52cfb6
jmp 0x52cf69
xorl %eax, %eax
cmpq 0x190(%rsp), %rax
sete %al
andb $0x1, %al
movb %al, 0x2a8(%rsp)
movq 0x190(%rsp), %rax
movq %rax, 0x370(%rsp)
movl $0x1, 0x2d8(%rsp)
leaq 0x2a8(%rsp), %rdi
callq 0x37dec0
leaq 0x2c0(%rsp), %rdi
callq 0x37df90
jmp 0x52cfdf
leaq 0x2a8(%rsp), %rdi
callq 0x37dec0
leaq 0x2c0(%rsp), %rdi
callq 0x37df90
leaq 0x2e8(%rsp), %rdi
callq 0x5503d0
jmp 0x52d009
leaq 0x2e8(%rsp), %rdi
callq 0x5503d0
leaq 0x338(%rsp), %rdi
callq 0x11b838
movq 0x370(%rsp), %rax
addq $0x378, %rsp            # imm = 0x378
retq
leaq 0x338(%rsp), %rdi
callq 0x11b838
movq 0x2e0(%rsp), %rdi
callq 0x11b4e0
nopw %cs:(%rax,%rax)
nopl (%rax)