// File: RuiDGPires[P]CrimLang/src/preprocessor.cpp
// Function: include(std::vector<crl::Token, std::allocator<crl::Token>>&, crl::preprocessor_lib, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, unsigned long&, unsigned long&)
static void include(std::vector<crl::Token> &current, crl::Pproc_lib lib, std::string other, size_t &begin, size_t &i){
	std::vector<crl::Token> other_file = crl::tokenize(other);
	preprocess(other_file, lib);

	size_t other_size = other_file.size();
	current.erase(current.begin() + begin, current.begin() + begin + 4);
	current.insert(current.begin() + begin, other_file.begin(), other_file.end() - 1);
	i += other_size-2;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x150, %rsp            # imm = 0x150
movq %rcx, -0x120(%rbp)
movq %rsi, %rax
movq -0x120(%rbp), %rsi
movq %rax, -0x10(%rbp)
movq %rdx, -0x8(%rbp)
movq %rdi, -0x18(%rbp)
movq %rsi, -0x20(%rbp)
movq %r8, -0x28(%rbp)
movq %r9, -0x30(%rbp)
leaq -0x68(%rbp), %rdi
movq %rdi, -0x118(%rbp)
callq 0x4150
movq -0x118(%rbp), %rsi
leaq -0x48(%rbp), %rdi
callq 0x2a180
jmp 0x1e966
leaq -0x68(%rbp), %rdi
callq 0x41e0
movups -0x10(%rbp), %xmm0
movaps %xmm0, -0x90(%rbp)
movq -0x90(%rbp), %rsi
movq -0x88(%rbp), %rdx
leaq -0x48(%rbp), %rdi
callq 0x1de20
jmp 0x1e993
leaq -0x48(%rbp), %rdi
callq 0x186c0
movq %rax, -0x98(%rbp)
movq -0x18(%rbp), %rdi
movq %rdi, -0x130(%rbp)
callq 0x1c820
movq %rax, -0xb0(%rbp)
movq -0x28(%rbp), %rax
movq (%rax), %rsi
leaq -0xb0(%rbp), %rdi
callq 0x1cb90
movq %rax, -0xa8(%rbp)
leaq -0xa0(%rbp), %rdi
leaq -0xa8(%rbp), %rsi
callq 0x1ec00
movq -0x18(%rbp), %rdi
callq 0x1c820
movq %rax, -0xd0(%rbp)
movq -0x28(%rbp), %rax
movq (%rax), %rsi
leaq -0xd0(%rbp), %rdi
callq 0x1cb90
movq %rax, -0xc8(%rbp)
leaq -0xc8(%rbp), %rdi
movl $0x4, %esi
callq 0x1cb90
movq %rax, -0xc0(%rbp)
leaq -0xb8(%rbp), %rdi
leaq -0xc0(%rbp), %rsi
callq 0x1ec00
movq -0x130(%rbp), %rdi
movq -0xa0(%rbp), %rsi
movq -0xb8(%rbp), %rdx
callq 0x1ec40
movq %rax, -0x128(%rbp)
jmp 0x1ea5f
movq -0x128(%rbp), %rax
movq %rax, -0xd8(%rbp)
movq -0x18(%rbp), %rdi
movq %rdi, -0x140(%rbp)
callq 0x1c820
movq %rax, -0xf0(%rbp)
movq -0x28(%rbp), %rax
movq (%rax), %rsi
leaq -0xf0(%rbp), %rdi
callq 0x1cb90
movq %rax, -0xe8(%rbp)
leaq -0xe0(%rbp), %rdi
leaq -0xe8(%rbp), %rsi
callq 0x1ec00
leaq -0x48(%rbp), %rdi
movq %rdi, -0x148(%rbp)
callq 0x1c820
movq -0x148(%rbp), %rdi
movq %rax, -0xf8(%rbp)
callq 0x1c850
movq %rax, -0x108(%rbp)
leaq -0x108(%rbp), %rdi
movl $0x1, %esi
callq 0x1ed80
movq -0x140(%rbp), %rdi
movq %rax, -0x100(%rbp)
movq -0xe0(%rbp), %rsi
movq -0xf8(%rbp), %rdx
movq -0x100(%rbp), %rcx
callq 0x1ecd0
movq %rax, -0x138(%rbp)
jmp 0x1eb1d
movq -0x138(%rbp), %rax
movq %rax, -0x110(%rbp)
movq -0x98(%rbp), %rcx
subq $0x2, %rcx
movq -0x30(%rbp), %rax
addq (%rax), %rcx
movq %rcx, (%rax)
leaq -0x48(%rbp), %rdi
callq 0x18470
addq $0x150, %rsp            # imm = 0x150
popq %rbp
retq
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x70(%rbp)
movl %eax, -0x74(%rbp)
leaq -0x68(%rbp), %rdi
callq 0x41e0
jmp 0x1eb7e
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x70(%rbp)
movl %eax, -0x74(%rbp)
leaq -0x48(%rbp), %rdi
callq 0x18470
movq -0x70(%rbp), %rdi
callq 0x4580
nopw (%rax,%rax)