// File: /workspace/github_cpp_makefile_star2_O1/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, %r15
movq %rdi, %rbx
movl $0x40, %edi
callq 0xa2d0
movq %rax, %r14
leaq 0x70(%rsp), %r12
movq %r12, -0x10(%r12)
movq (%r15), %rsi
movq 0x8(%r15), %rdx
addq %rsi, %rdx
leaq 0x60(%rsp), %rdi
callq 0xdde2
movb $0x1, %bpl
leaq 0x60(%rsp), %rsi
movq %r14, %rdi
xorl %edx, %edx
callq 0x52204
leaq 0x18(%rsp), %rdi
movq %r14, -0x8(%rdi)
xorl %ebp, %ebp
movq %r14, %rsi
callq 0x2c218
movq 0x60(%rsp), %rdi
cmpq %r12, %rdi
je 0x2b280
callq 0xa2b0
movq 0x10(%rsp), %rax
cmpq $0x0, 0x28(%rax)
je 0x2b32a
xorps %xmm0, %xmm0
movaps %xmm0, 0x20(%rsp)
movq $0x0, 0x30(%rsp)
movq %rax, (%rsp)
movq 0x18(%rsp), %rax
movq %rax, 0x8(%rsp)
testq %rax, %rax
je 0x2b2c9
movq 0x6dced(%rip), %rcx     # 0x98fa8
cmpb $0x0, (%rcx)
je 0x2b2c5
incl 0x8(%rax)
jmp 0x2b2c9
lock
incl 0x8(%rax)
movq %rsp, %rdi
leaq 0x20(%rsp), %rsi
callq 0x203d1
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x2b2e5
callq 0xdcba
leaq 0x20(%rsp), %rdi
movq 0x8(%rdi), %rdx
subq (%rdi), %rdx
shrq $0x4, %rdx
decl %edx
xorl %esi, %esi
movq %rbx, %rcx
callq 0x26a47
leaq 0x20(%rsp), %rdi
callq 0x2ba92
movq 0x18(%rsp), %rdi
testq %rdi, %rdi
je 0x2b31a
callq 0xdcba
addq $0x90, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
movl $0x38, %edi
callq 0xa1b0
movq %rax, %r14
leaq 0x4c2de(%rip), %rsi     # 0x7761c
leaq 0x20(%rsp), %rdi
movq %r15, %rdx
callq 0xdbef
leaq 0x4c2d1(%rip), %rsi     # 0x77623
leaq 0x20(%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 0x2b37d
movups (%rcx), %xmm0
movups %xmm0, (%r15)
jmp 0x2b38a
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 %r14, %rdi
xorl %edx, %edx
callq 0x200e4
xorl %ebp, %ebp
leaq 0x6b26e(%rip), %rsi     # 0x96638
leaq -0x16ad9(%rip), %rdx    # 0x148f8
movq %r14, %rdi
callq 0xa4f0
movq %rax, %rbx
movq 0x88(%rsp), %rdi
testq %rdi, %rdi
je 0x2b3ee
callq 0xdcba
movq 0x40(%rsp), %rdi
cmpq %r15, %rdi
je 0x2b405
callq 0xa2b0
jmp 0x2b405
movq %rax, %rbx
movb $0x1, %bpl
leaq 0x30(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x2b420
callq 0xa2b0
jmp 0x2b420
movq %rax, %rbx
movb $0x1, %bpl
testb %bpl, %bpl
je 0x2b450
movq %r14, %rdi
callq 0xa240
jmp 0x2b450
movq %rax, %rbx
jmp 0x2b446
movq %rax, %rbx
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x2b446
callq 0xdcba
leaq 0x20(%rsp), %rdi
callq 0x2ba92
movq 0x18(%rsp), %rdi
testq %rdi, %rdi
je 0x2b488
callq 0xdcba
jmp 0x2b488
movq %rax, %rbx
movb $0x1, %bpl
jmp 0x2b47b
movq %rax, %rbx
movq 0x60(%rsp), %rdi
cmpq %r12, %rdi
je 0x2b47b
callq 0xa2b0
testb %bpl, %bpl
je 0x2b488
movq %r14, %rdi
callq 0xa2b0
movq %rbx, %rdi
callq 0xa510