// File: /workspace/github_cpp_makefile_star2_O3/menhits[P]phplus/src/Parser.cpp
// Function: importFile(std::vector<std::unique_ptr<AstNodeBase, std::default_delete<AstNodeBase>>, std::allocator<std::unique_ptr<AstNodeBase, std::default_delete<AstNodeBase>>>>&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
void importFile(vector<AstNode>& nodes, string path)
{
	auto file=shared_ptr<SourceFile>(new SourceFile(path, false));
	
	if (file->getContents().empty())
	{
		throw PhplusError("file '"+path+"' failed to open or was empty", SOURCE_ERROR);
	}
	
	vector<Token> tokens;
	
	lexString(file, tokens);
	
	parseTokenList(tokens, 0, tokens.size()-1, nodes);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x90, %rsp
movq %rsi, %r14
movq %rdi, %rbx
movl $0x40, %edi
callq 0xa2d0
movq %rax, %r15
leaq 0x70(%rsp), %r12
movq %r12, -0x10(%r12)
movq (%r14), %rsi
movq 0x8(%r14), %rdx
addq %rsi, %rdx
leaq 0x60(%rsp), %rdi
callq 0xde0c
movb $0x1, %bpl
leaq 0x60(%rsp), %rsi
movq %r15, %rdi
xorl %edx, %edx
callq 0x52fc4
leaq 0x38(%rsp), %rdi
movq %r15, -0x8(%rdi)
xorl %ebp, %ebp
movq %r15, %rsi
callq 0x2c4dc
movq 0x60(%rsp), %rdi
cmpq %r12, %rdi
je 0x2b658
callq 0xa2b0
movq 0x30(%rsp), %rax
cmpq $0x0, 0x28(%rax)
je 0x2b6fe
xorps %xmm0, %xmm0
movaps %xmm0, (%rsp)
movq $0x0, 0x10(%rsp)
movq %rax, 0x20(%rsp)
movq 0x38(%rsp), %rax
movq %rax, 0x28(%rsp)
testq %rax, %rax
je 0x2b6a1
movq 0x6e915(%rip), %rcx     # 0x99fa8
cmpb $0x0, (%rcx)
je 0x2b69d
incl 0x8(%rax)
jmp 0x2b6a1
lock
incl 0x8(%rax)
leaq 0x20(%rsp), %rdi
movq %rsp, %rsi
callq 0x206e1
movq 0x28(%rsp), %rdi
testq %rdi, %rdi
je 0x2b6bd
callq 0xdce4
movq %rsp, %rdi
movq 0x8(%rdi), %rdx
subq (%rdi), %rdx
shrq $0x4, %rdx
decl %edx
xorl %esi, %esi
movq %rbx, %rcx
callq 0x26c79
movq %rsp, %rdi
callq 0x2be0c
movq 0x38(%rsp), %rdi
testq %rdi, %rdi
je 0x2b6ee
callq 0xdce4
addq $0x90, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
movl $0x38, %edi
callq 0xa1b0
movq %rax, %rbx
leaq 0x4cf0a(%rip), %rsi     # 0x7861c
movq %rsp, %rdi
movq %r14, %rdx
callq 0xdc11
leaq 0x4ceff(%rip), %rsi     # 0x78623
movq %rsp, %rdi
callq 0xa560
leaq 0x50(%rsp), %r15
movq %r15, -0x10(%r15)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x2b74d
movups (%rcx), %xmm0
movups %xmm0, (%r15)
jmp 0x2b75a
movq %rdx, 0x40(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x50(%rsp)
movq 0x8(%rax), %rdx
leaq 0x40(%rsp), %rsi
movq %rdx, 0x8(%rsi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
xorps %xmm0, %xmm0
leaq 0x80(%rsp), %rcx
movaps %xmm0, (%rcx)
movb $0x1, %bpl
movq %rbx, %rdi
xorl %edx, %edx
callq 0x203f4
xorl %ebp, %ebp
leaq 0x6be9e(%rip), %rsi     # 0x97638
leaq -0x16c7b(%rip), %rdx    # 0x14b26
movq %rbx, %rdi
callq 0xa4f0
movq %rax, %r14
movq 0x88(%rsp), %rdi
testq %rdi, %rdi
je 0x2b7be
callq 0xdce4
movq 0x40(%rsp), %rdi
cmpq %r15, %rdi
je 0x2b7cd
callq 0xa2b0
leaq 0x10(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x2b7e0
callq 0xa2b0
testb %bpl, %bpl
jne 0x2b802
jmp 0x2b82b
movq %rax, %r14
leaq 0x10(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x2b802
callq 0xa2b0
jmp 0x2b802
movq %rax, %r14
movq %rbx, %rdi
callq 0xa240
jmp 0x2b82b
movq %rax, %r14
jmp 0x2b823
movq %rax, %r14
movq 0x28(%rsp), %rdi
testq %rdi, %rdi
je 0x2b823
callq 0xdce4
movq %rsp, %rdi
callq 0x2be0c
movq 0x38(%rsp), %rdi
testq %rdi, %rdi
je 0x2b860
callq 0xdce4
jmp 0x2b860
movq %rax, %r14
jmp 0x2b858
movq %rax, %r14
movq 0x60(%rsp), %rdi
cmpq %r12, %rdi
je 0x2b853
callq 0xa2b0
testb %bpl, %bpl
je 0x2b860
movq %r15, %rdi
callq 0xa2b0
movq %r14, %rdi
callq 0xa510