// File: Nallantli[P]Rossa/main/rossa/node_parser/node_parser.cpp
// Function: node_parser_t::parseExternNode(std::vector<node_scope_t, std::allocator<node_scope_t>>*)
ptr_node_t node_parser_t::parseExternNode(std::vector<node_scope_t> *scopes)
{

	nextToken();

	std::string libname = currentToken.valueString;

	nextToken();
	if (currentToken.type != ';')
		return logErrorN(util::format(_EXPECTED_ERROR_, {";"}), currentToken);
	nextToken();

	global::loadLibrary(currentFile.parent_path(), libname, &currentToken);
	return nullptr;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x190, %rsp            # imm = 0x190
movq %rdi, -0x128(%rbp)
movq %rdi, %rax
movq %rax, -0x120(%rbp)
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq -0x10(%rbp), %rdi
movq %rdi, -0x118(%rbp)
callq 0x38fd0
movq -0x118(%rbp), %rsi
addq $0xb0, %rsi
leaq -0x38(%rbp), %rdi
callq 0x11250
movq -0x118(%rbp), %rdi
callq 0x38fd0
jmp 0x5540d
movq -0x118(%rbp), %rax
cmpl $0x3b, 0xd0(%rax)
je 0x55711
leaq -0x89(%rbp), %rdi
movq %rdi, -0x130(%rbp)
callq 0x119d0
movq -0x130(%rbp), %rdx
leaq 0xfbd4e(%rip), %rsi     # 0x151190
leaq -0x88(%rbp), %rdi
callq 0x24740
jmp 0x55450
movb $0x1, -0xe2(%rbp)
leaq -0xd8(%rbp), %rax
movq %rax, -0x140(%rbp)
movq %rax, -0xe0(%rbp)
leaq -0xe1(%rbp), %rdi
movq %rdi, -0x138(%rbp)
callq 0x119d0
movq -0x140(%rbp), %rdi
movq -0x138(%rbp), %rdx
leaq 0xfac82(%rip), %rsi     # 0x150116
callq 0x24740
jmp 0x5549b
movb $0x0, -0xe2(%rbp)
leaq -0xd8(%rbp), %rax
movq %rax, -0xb8(%rbp)
movq $0x1, -0xb0(%rbp)
leaq -0xe3(%rbp), %rdi
movq %rdi, -0x148(%rbp)
callq 0x26e30
movq -0x148(%rbp), %rcx
movq -0xb8(%rbp), %rsi
movq -0xb0(%rbp), %rdx
leaq -0xa8(%rbp), %rdi
callq 0x2d6a0
jmp 0x554f1
leaq -0x68(%rbp), %rdi
leaq -0x88(%rbp), %rsi
leaq -0xa8(%rbp), %rdx
callq 0x9e250
jmp 0x5550a
movq -0x118(%rbp), %rsi
movq -0x128(%rbp), %rdi
movq %rsi, %rcx
addq $0x58, %rcx
leaq -0x68(%rbp), %rdx
callq 0x3f820
jmp 0x5552a
leaq -0x68(%rbp), %rdi
callq 0x11360
leaq -0xa8(%rbp), %rdi
callq 0x25b00
leaq -0xe3(%rbp), %rdi
callq 0x279c0
leaq -0xd8(%rbp), %rax
movq %rax, -0x158(%rbp)
addq $0x20, %rax
movq %rax, -0x150(%rbp)
movq -0x150(%rbp), %rdi
addq $-0x20, %rdi
movq %rdi, -0x160(%rbp)
callq 0x11360
movq -0x158(%rbp), %rcx
movq -0x160(%rbp), %rax
cmpq %rcx, %rax
movq %rax, -0x150(%rbp)
jne 0x55564
leaq -0xe1(%rbp), %rdi
callq 0x11600
leaq -0x88(%rbp), %rdi
callq 0x11360
leaq -0x89(%rbp), %rdi
callq 0x11600
movl $0x1, -0xe8(%rbp)
jmp 0x55797
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
jmp 0x557b0
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
jmp 0x55700
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
jmp 0x55690
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
jmp 0x55638
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
jmp 0x5562c
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
leaq -0x68(%rbp), %rdi
callq 0x11360
leaq -0xa8(%rbp), %rdi
callq 0x25b00
leaq -0xe3(%rbp), %rdi
callq 0x279c0
leaq -0xd8(%rbp), %rax
movq %rax, -0x170(%rbp)
addq $0x20, %rax
movq %rax, -0x168(%rbp)
movq -0x168(%rbp), %rdi
addq $-0x20, %rdi
movq %rdi, -0x178(%rbp)
callq 0x11360
movq -0x170(%rbp), %rcx
movq -0x178(%rbp), %rax
cmpq %rcx, %rax
movq %rax, -0x168(%rbp)
jne 0x5565d
jmp 0x55690
leaq -0xe1(%rbp), %rdi
callq 0x11600
testb $0x1, -0xe2(%rbp)
jne 0x556a7
jmp 0x556f4
movq -0xe0(%rbp), %rax
leaq -0xd8(%rbp), %rcx
cmpq %rax, %rcx
movq %rax, -0x180(%rbp)
je 0x556f2
movq -0x180(%rbp), %rdi
addq $-0x20, %rdi
movq %rdi, -0x188(%rbp)
callq 0x11360
movq -0x188(%rbp), %rax
leaq -0xd8(%rbp), %rcx
cmpq %rcx, %rax
movq %rax, -0x180(%rbp)
jne 0x556c1
jmp 0x556f4
leaq -0x88(%rbp), %rdi
callq 0x11360
leaq -0x89(%rbp), %rdi
callq 0x11600
jmp 0x557b0
movq -0x118(%rbp), %rdi
callq 0x38fd0
jmp 0x5571f
movq -0x118(%rbp), %rsi
addq $0x28, %rsi
leaq -0x110(%rbp), %rdi
callq 0x11a70
jmp 0x55738
movq -0x118(%rbp), %rdx
addq $0x58, %rdx
leaq -0x110(%rbp), %rdi
leaq -0x38(%rbp), %rsi
callq 0xc7ad0
jmp 0x55755
leaq -0x110(%rbp), %rdi
callq 0x24b40
movq -0x128(%rbp), %rdi
xorl %eax, %eax
movl %eax, %esi
callq 0x58bf0
movl $0x1, -0xe8(%rbp)
jmp 0x55797
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
leaq -0x110(%rbp), %rdi
callq 0x24b40
jmp 0x557b0
leaq -0x38(%rbp), %rdi
callq 0x11360
movq -0x120(%rbp), %rax
addq $0x190, %rsp            # imm = 0x190
popq %rbp
retq
leaq -0x38(%rbp), %rdi
callq 0x11360
movq -0x40(%rbp), %rdi
callq 0x119c0
nopw %cs:(%rax,%rax)