// File: /workspace/github_cpp_makefile_star2_O2/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, %r14
movq %rsi, %r12
movq %rdi, %r15
leaq 0x6aea2(%rip), %rbx     # 0xb6f68
movq %rbx, %rdi
movq %r15, %rsi
callq 0x4d4dc
addq $0x8, %rbx
cmpq %rbx, %rax
je 0x4c141
leaq 0x6ae87(%rip), %rbx     # 0xb6f68
movq %rbx, %rdi
movq %r15, %rsi
callq 0x4cdba
movq %rax, %rdi
movq %r12, %rsi
callq 0x4d8d8
movq %rax, %r13
movq %rbx, %rdi
movq %r15, %rsi
callq 0x4cdba
addq $0x8, %rax
cmpq %rax, %r13
je 0x4c1e5
leaq 0x6ae4f(%rip), %rdi     # 0xb6f68
movq %r15, %rsi
callq 0x4cdba
movq %rax, %rdi
movq %r12, %rsi
callq 0x4ce20
movq (%rax), %rax
addq $0xc8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
xorps %xmm0, %xmm0
movaps %xmm0, 0x10(%rsp)
andq $0x0, 0x20(%rsp)
movl $0xa8, %edi
callq 0x101f0
movq %rax, %rbx
leaq 0x2c7a4(%rip), %rsi     # 0x78907
leaq 0x68(%rsp), %rdi
leaq 0xf(%rsp), %rdx
callq 0x1c814
leaq 0x48(%rsp), %rdi
movq %r15, %rsi
callq 0x10550
leaq 0x30(%rsp), %rdi
leaq 0x48(%rsp), %rsi
pushq $0x1
popq %rdx
leaq 0xe(%rsp), %rcx
callq 0x1f298
leaq 0x88(%rsp), %rdi
leaq 0x68(%rsp), %rsi
leaq 0x30(%rsp), %rdx
callq 0x3f724
movb $0x1, %bpl
leaq 0x88(%rsp), %rsi
leaq 0x10(%rsp), %rcx
movq %rbx, %rdi
movq %r14, %rdx
callq 0x3ebb8
xorl %ebp, %ebp
leaq 0x65acf(%rip), %rsi     # 0xb1ca0
leaq -0x1cd66(%rip), %rdx    # 0x2f472
movq %rbx, %rdi
callq 0x106c0
jmp 0x4c294
xorps %xmm0, %xmm0
movaps %xmm0, 0x10(%rsp)
andq $0x0, 0x20(%rsp)
movl $0xa8, %edi
callq 0x101f0
movq %rax, %rbx
leaq 0x2c733(%rip), %rsi     # 0x7893a
leaq 0x48(%rsp), %rdi
leaq 0xf(%rsp), %rdx
callq 0x1c814
leaq 0x88(%rsp), %rdi
movq %r15, %rsi
callq 0x10550
leaq 0xa8(%rsp), %rdi
movq %r12, %rsi
callq 0x10550
leaq 0x30(%rsp), %rdi
leaq 0x88(%rsp), %rsi
pushq $0x2
popq %rdx
leaq 0xe(%rsp), %rcx
callq 0x1f298
leaq 0x68(%rsp), %rdi
leaq 0x48(%rsp), %rsi
leaq 0x30(%rsp), %rdx
callq 0x3f724
movb $0x1, %bpl
leaq 0x68(%rsp), %rsi
leaq 0x10(%rsp), %rcx
movq %rbx, %rdi
movq %r14, %rdx
callq 0x3ebb8
xorl %ebp, %ebp
leaq 0x65a1b(%rip), %rsi     # 0xb1ca0
leaq -0x1ce1a(%rip), %rdx    # 0x2f472
movq %rbx, %rdi
callq 0x106c0
movq %rax, %r14
leaq 0x68(%rsp), %rdi
callq 0x101d0
jmp 0x4c2a9
movq %rax, %r14
movb $0x1, %bpl
leaq 0x30(%rsp), %rdi
callq 0x1cea0
jmp 0x4c2bb
movq %rax, %r14
movb $0x1, %bpl
pushq $0x20
popq %r15
leaq (%rsp,%r15), %rdi
addq $0x88, %rdi
callq 0x101d0
addq $-0x20, %r15
cmpq $-0x20, %r15
jne 0x4c2bf
jmp 0x4c329
movq %rax, %r14
leaq 0x88(%rsp), %rdi
callq 0x101d0
jmp 0x4c2f3
movq %rax, %r14
movb $0x1, %bpl
leaq 0x30(%rsp), %rdi
callq 0x1cea0
jmp 0x4c317
movq %rax, %r14
leaq 0x88(%rsp), %rdi
callq 0x101d0
jmp 0x4c326
movq %rax, %r14
movb $0x1, %bpl
leaq 0x48(%rsp), %rdi
callq 0x101d0
jmp 0x4c336
movq %rax, %r14
movb $0x1, %bpl
leaq 0x48(%rsp), %rdi
jmp 0x4c33b
movq %rax, %r14
movb $0x1, %bpl
leaq 0x68(%rsp), %rdi
callq 0x101d0
testb %bpl, %bpl
jne 0x4c34c
jmp 0x4c354
jmp 0x4c349
movq %rax, %r14
movq %rbx, %rdi
callq 0x102e0
leaq 0x10(%rsp), %rdi
callq 0x1cb1a
movq %r14, %rdi
callq 0x106f0