// File: /workspace/github_cpp_makefile_star2_O3/Falldog[P]dcinja/src/include/inja/inja.hpp
// Function: inja::FunctionStorage::find_function(std::basic_string_view<char, std::char_traits<char>>, int) const
FunctionData find_function(nonstd::string_view name, int num_args) const {
    auto it = function_storage.find(std::make_pair(static_cast<std::string>(name), num_args));
    if (it != function_storage.end()) {
      return it->second;

    // Find variadic function
    } else if (num_args > 0) {
      it = function_storage.find(std::make_pair(static_cast<std::string>(name), VARIADIC));
      if (it != function_storage.end()) {
        return it->second;
      }
    }

    return FunctionData { Operation::None };
  }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x58, %rsp
movl %r8d, %ebx
movq %rcx, %rbp
movq %rdx, %r13
movq %rsi, %r15
movq %rdi, 0x48(%rsp)
leaq 0x10(%rsp), %r14
movq %r14, -0x10(%r14)
addq %rcx, %r13
movq %rsp, %rdi
movq %rcx, %rsi
movq %r13, %rdx
callq 0x126d8
leaq 0x8(%r15), %rdi
leaq 0x30(%rsp), %rcx
movq %rcx, -0x10(%rcx)
movq (%rsp), %rax
cmpq %r14, %rax
je 0x2cfc1
movq %rcx, %r12
movq %rax, 0x20(%rsp)
movq 0x10(%rsp), %rax
movq %rax, 0x30(%rsp)
jmp 0x2cfcb
movups (%r14), %xmm0
movq %rcx, %r12
movups %xmm0, (%rcx)
movq 0x8(%rsp), %rax
leaq 0x20(%rsp), %rsi
movq %rax, 0x8(%rsi)
movq %r14, (%rsp)
movq $0x0, 0x8(%rsp)
movb $0x0, 0x10(%rsp)
movl %ebx, 0x20(%rsi)
movq %rdi, 0x50(%rsp)
callq 0x2ede8
movq %rax, %r14
movq 0x20(%rsp), %rdi
cmpq %r12, %rdi
je 0x2d012
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x93c0
movq (%rsp), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0x2d02d
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x93c0
leaq 0x10(%r15), %rax
cmpq %rax, %r14
je 0x2d064
movl 0x48(%r14), %eax
movq 0x48(%rsp), %r15
movl %eax, (%r15)
leaq 0x8(%r15), %rdi
addq $0x50, %r14
movq %r14, %rsi
callq 0x1a4e8
movq %r15, %rax
addq $0x58, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
testl %ebx, %ebx
jle 0x2d135
movq %rsp, %rdi
leaq 0x10(%rsp), %rbx
movq %rbx, (%rdi)
movq %rbp, %rsi
movq %r13, %rdx
callq 0x126d8
movq %r12, %rcx
movq %r12, 0x20(%rsp)
movq (%rsp), %rax
cmpq %rbx, %rax
movq 0x50(%rsp), %rdi
je 0x2d0ac
movq %rcx, %r12
movq %rax, 0x20(%rsp)
movq 0x10(%rsp), %rax
movq %rax, 0x30(%rsp)
jmp 0x2d0b5
movups (%rbx), %xmm0
movq %rcx, %r12
movups %xmm0, (%rcx)
movq 0x8(%rsp), %rax
leaq 0x20(%rsp), %rsi
movq %rax, 0x8(%rsi)
movq %rbx, (%rsp)
movq $0x0, 0x8(%rsp)
movb $0x0, 0x10(%rsp)
movl (%r15), %eax
movl %eax, 0x20(%rsi)
callq 0x2ede8
movq %rax, %rbx
movq 0x20(%rsp), %rdi
cmpq %r12, %rdi
je 0x2d0fa
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x93c0
movq (%rsp), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0x2d115
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x93c0
cmpq %r14, %rbx
je 0x2d135
movl 0x48(%rbx), %eax
movq 0x48(%rsp), %r15
movl %eax, (%r15)
leaq 0x8(%r15), %rdi
addq $0x50, %rbx
movq %rbx, %rsi
jmp 0x2d04d
xorps %xmm0, %xmm0
leaq 0x20(%rsp), %rsi
movaps %xmm0, 0x10(%rsi)
movaps %xmm0, (%rsi)
movq 0x48(%rsp), %r15
movl $0x2e, (%r15)
leaq 0x8(%r15), %rdi
callq 0x1a4e8
movq 0x30(%rsp), %rax
testq %rax, %rax
je 0x2d052
leaq 0x20(%rsp), %rdi
movq %rdi, %rsi
movl $0x3, %edx
callq *%rax
jmp 0x2d052
jmp 0x2d19b
movq %rax, %rbx
movq 0x30(%rsp), %rax
testq %rax, %rax
je 0x2d1e1
leaq 0x20(%rsp), %rdi
movq %rdi, %rsi
movl $0x3, %edx
callq *%rax
jmp 0x2d1e1
movq %rax, %rdi
callq 0xea59
jmp 0x2d1a7
jmp 0x2d1de
movq %rax, %rbx
movq 0x20(%rsp), %rdi
cmpq %r12, %rdi
je 0x2d1c1
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x93c0
movq (%rsp), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0x2d1e1
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x93c0
jmp 0x2d1e1
movq %rax, %rbx
movq %rbx, %rdi
callq 0x9790
nop