// File: /workspace/github_cpp_makefile_star2_O1/Nallantli[P]Rossa/main/rossa/global/global.cpp
// Function: global::loadFunction(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, token_t const*)
extf_t global::loadFunction(const std::string &rawlibname, const std::string &fname, const token_t *token)
{
	if (loaded.find(rawlibname) == loaded.end())
	{
		trace_t stack_trace;
		throw rossa_error_t(util::format(_LIBRARY_NOT_IN_MEMORY_, {rawlibname}), *token, stack_trace);
	}
	if (loaded[rawlibname].find(fname) == loaded[rawlibname].end())
	{
		trace_t stack_trace;
		throw rossa_error_t(util::format(_LIBRARY_FUNCTION_NOT_EXIST_, {rawlibname, fname}), *token, stack_trace);
	}
	return loaded[rawlibname][fname];
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xc8, %rsp
movq %rdx, %rbx
movq %rsi, %r15
movq %rdi, %r12
leaq 0x60f2d(%rip), %r14     # 0xb7f58
movq %r14, %rdi
movq %r12, %rsi
callq 0x587e4
addq $0x8, %r14
cmpq %r14, %rax
je 0x570a6
leaq 0x60f12(%rip), %r14     # 0xb7f58
movq %r14, %rdi
movq %r12, %rsi
callq 0x580a4
movq %rax, %rdi
movq %r15, %rsi
callq 0x58bb8
movq %rax, %r13
movq %r14, %rdi
movq %r12, %rsi
callq 0x580a4
addq $0x8, %rax
cmpq %rax, %r13
je 0x5716c
leaq 0x60eda(%rip), %rdi     # 0xb7f58
movq %r12, %rsi
callq 0x580a4
movq %rax, %rdi
movq %r15, %rsi
callq 0x58120
movq (%rax), %rax
addq $0xc8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
xorps %xmm0, %xmm0
movaps %xmm0, 0x30(%rsp)
movq $0x0, 0x40(%rsp)
movl $0xa8, %edi
callq 0x101e0
movq %rax, %r14
leaq 0x60(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0x2f7f3(%rip), %rsi     # 0x868c7
leaq 0x2f81e(%rip), %rdx     # 0x868f9
leaq 0x50(%rsp), %rdi
callq 0x1e7ca
leaq 0x20(%rsp), %r13
movq %r13, -0x10(%r13)
movq (%r12), %rsi
movq 0x8(%r12), %rdx
addq %rsi, %rdx
leaq 0x10(%rsp), %rdi
callq 0x1e014
leaq 0x70(%rsp), %rdi
leaq 0x10(%rsp), %rsi
leaq 0xf(%rsp), %rcx
movl $0x1, %edx
callq 0x20c5e
leaq 0x88(%rsp), %rdi
leaq 0x50(%rsp), %rsi
leaq 0x70(%rsp), %rdx
callq 0x48694
movb $0x1, %bpl
leaq 0x88(%rsp), %rsi
leaq 0x30(%rsp), %rcx
movq %r14, %rdi
movq %rbx, %rdx
callq 0x476dc
xorl %ebp, %ebp
leaq 0x5bb88(%rip), %rsi     # 0xb2ce0
leaq -0x1f9ab(%rip), %rdx    # 0x377b4
movq %r14, %rdi
callq 0x106d0
jmp 0x5725d
xorps %xmm0, %xmm0
movaps %xmm0, 0x30(%rsp)
movq $0x0, 0x40(%rsp)
movl $0xa8, %edi
callq 0x101e0
movq %rax, %r14
leaq 0x20(%rsp), %rax
movq %rax, -0x10(%rax)
leaq 0x2f760(%rip), %rsi     # 0x868fa
leaq 0x2f787(%rip), %rdx     # 0x86928
leaq 0x10(%rsp), %rdi
callq 0x1e7ca
leaq 0x98(%rsp), %rax
movq %rax, -0x10(%rax)
movq (%r12), %rsi
movq 0x8(%r12), %rdx
addq %rsi, %rdx
leaq 0x88(%rsp), %r12
movq %r12, %r13
movq %r12, %rdi
callq 0x1e014
leaq 0xa8(%rsp), %r13
leaq 0xb8(%rsp), %rbp
movq %rbp, -0x10(%rbp)
movq (%r15), %rsi
movq 0x8(%r15), %rdx
addq %rsi, %rdx
movq %r13, %rdi
callq 0x1e014
leaq 0x70(%rsp), %rdi
leaq 0x88(%rsp), %rsi
leaq 0xf(%rsp), %rcx
movl $0x2, %edx
callq 0x20c5e
leaq 0x50(%rsp), %rdi
leaq 0x10(%rsp), %rsi
leaq 0x70(%rsp), %rdx
callq 0x48694
movb $0x1, %r15b
leaq 0x50(%rsp), %rsi
leaq 0x30(%rsp), %rcx
movq %r14, %rdi
movq %rbx, %rdx
callq 0x476dc
xorl %r15d, %r15d
leaq 0x5ba92(%rip), %rsi     # 0xb2ce0
leaq -0x1faa1(%rip), %rdx    # 0x377b4
movq %r14, %rdi
callq 0x106d0
movq %rax, %rbx
leaq 0x60(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x57283
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x103d0
jmp 0x57283
movq %rax, %rbx
movb $0x1, %r15b
leaq 0x70(%rsp), %rdi
callq 0x1dca2
jmp 0x57295
movq %rax, %rbx
movb $0x1, %r15b
xorl %r12d, %r12d
movq 0xa8(%rsp,%r12), %rdi
leaq (%r12,%rbp), %rax
cmpq %rdi, %rax
je 0x572b4
movq (%rax), %rsi
incq %rsi
callq 0x103d0
addq $-0x20, %r12
cmpq $-0x40, %r12
jne 0x57298
jmp 0x57354
movq %rax, %rbx
leaq 0x98(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x572ef
movq 0x98(%rsp), %rsi
incq %rsi
callq 0x103d0
jmp 0x572ef
movq %rax, %rbx
movb $0x1, %bpl
leaq 0x70(%rsp), %rdi
callq 0x1dca2
jmp 0x57301
movq %rax, %rbx
movb $0x1, %bpl
movq 0x10(%rsp), %rdi
cmpq %r13, %rdi
je 0x57320
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x103d0
jmp 0x57320
movq %rax, %rbx
movb $0x1, %bpl
movq 0x50(%rsp), %rdi
cmpq %r15, %rdi
je 0x57385
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x103d0
jmp 0x57385
movq %rax, %rbx
movb $0x1, %r15b
cmpq %r13, %r12
je 0x57354
leaq 0x88(%rsp), %rsi
movq %r13, %rdi
callq 0x110b6
movq 0x10(%rsp), %rdi
leaq 0x20(%rsp), %rax
cmpq %rax, %rdi
je 0x57378
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x103d0
jmp 0x57378
movq %rax, %rbx
movb $0x1, %r15b
testb %r15b, %r15b
jne 0x5738a
jmp 0x57392
movq %rax, %rbx
movb $0x1, %bpl
testb %bpl, %bpl
je 0x57392
movq %r14, %rdi
callq 0x102d0
leaq 0x30(%rsp), %rdi
callq 0x1d77a
movq %rbx, %rdi
callq 0x106f0