// File: /workspace/github_cpp_makefile_star2_O1/kram[P]kram/./src/vm/vm.cpp
// Function: VM::boot(std::vector<Instruction*, std::allocator<Instruction*>>)
void VM::boot(std::vector<Instruction*> ins) {

	// Create environment
	this->environment = new Environment();
	this->environment->is_root = true;

	// Register classes to the VM
	reg_class(IO, io);
	reg_class(Number, number);
	reg_class(String, str);
	reg_class(Map, map);
	reg_class(List, list);
	reg_class(Math, math);

	this->function_return_stack = std::vector<bool>{false};

	this->init_default_values();

	this->run(ins);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x108, %rsp            # imm = 0x108
movq %rsi, %r14
movq %rdi, %rbx
movl $0x20, %edi
callq 0x3260
movq %rax, %r15
movq %rax, %rdi
callq 0xcb80
movq %r15, 0x18(%rbx)
movb $0x1, 0x18(%r15)
movl $0x10, %edi
callq 0x3260
movq %rax, %r15
xorps %xmm0, %xmm0
movaps %xmm0, (%rax)
movq %rax, %rdi
callq 0xce14
movq %r15, %rdi
movl $0x4, %esi
callq 0xcfa6
movq %r15, %rdi
callq 0xa2c6
movq 0x18(%rbx), %r12
leaq 0xf8(%rsp), %rbp
movq %rbp, -0x10(%rbp)
leaq 0xa093(%rip), %rsi      # 0x1379b
leaq 0xa08e(%rip), %rdx      # 0x1379d
leaq 0xe8(%rsp), %r13
movq %r13, %rdi
callq 0x47cc
movq %r12, %rdi
movq %r13, %rsi
movq %r15, %rdx
callq 0xcbca
movq 0xe8(%rsp), %rdi
cmpq %rbp, %rdi
je 0x973f
callq 0x3230
movl $0x10, %edi
callq 0x3260
movq %rax, %r15
xorps %xmm0, %xmm0
movaps %xmm0, (%rax)
movq %rax, %rdi
callq 0xce14
movq %r15, %rdi
movl $0x4, %esi
callq 0xcfa6
movq %r15, %rdi
callq 0xa3d6
movq 0x18(%rbx), %r12
leaq 0xd8(%rsp), %rbp
movq %rbp, -0x10(%rbp)
leaq 0x9fbf(%rip), %rsi      # 0x13745
leaq 0x9fbe(%rip), %rdx      # 0x1374b
leaq 0xc8(%rsp), %r13
movq %r13, %rdi
callq 0x47cc
movq %r12, %rdi
movq %r13, %rsi
movq %r15, %rdx
callq 0xcbca
movq 0xc8(%rsp), %rdi
cmpq %rbp, %rdi
je 0x97bd
callq 0x3230
movl $0x10, %edi
callq 0x3260
movq %rax, %r15
xorps %xmm0, %xmm0
movaps %xmm0, (%rax)
movq %rax, %rdi
callq 0xce14
movq %r15, %rdi
movl $0x4, %esi
callq 0xcfa6
movq %r15, %rdi
callq 0xa5f0
movq 0x18(%rbx), %r12
leaq 0xb8(%rsp), %rbp
movq %rbp, -0x10(%rbp)
leaq 0x9f48(%rip), %rsi      # 0x1374c
leaq 0x9f47(%rip), %rdx      # 0x13752
leaq 0xa8(%rsp), %r13
movq %r13, %rdi
callq 0x47cc
movq %r12, %rdi
movq %r13, %rsi
movq %r15, %rdx
callq 0xcbca
movq 0xa8(%rsp), %rdi
cmpq %rbp, %rdi
je 0x983b
callq 0x3230
movl $0x48, %edi
callq 0x3260
movq %rax, %r15
xorps %xmm0, %xmm0
movaps %xmm0, (%rax)
movaps %xmm0, 0x10(%rax)
movaps %xmm0, 0x20(%rax)
movaps %xmm0, 0x30(%rax)
movq $0x0, 0x40(%rax)
movq %rax, %rdi
callq 0xce14
movq %r15, %rax
addq $0x40, %rax
movq %rax, 0x10(%r15)
movq $0x1, 0x18(%r15)
xorps %xmm0, %xmm0
movups %xmm0, 0x20(%r15)
movl $0x3f800000, 0x30(%r15) # imm = 0x3F800000
movups %xmm0, 0x38(%r15)
movq %r15, %rdi
movl $0x4, %esi
callq 0xcfa6
movq %r15, %rdi
callq 0xa700
movq 0x18(%rbx), %r12
leaq 0x98(%rsp), %rbp
movq %rbp, -0x10(%rbp)
leaq 0x9ee0(%rip), %rsi      # 0x1379e
leaq 0x9edc(%rip), %rdx      # 0x137a1
leaq 0x88(%rsp), %r13
movq %r13, %rdi
callq 0x47cc
movq %r12, %rdi
movq %r13, %rsi
movq %r15, %rdx
callq 0xcbca
movq 0x88(%rsp), %rdi
cmpq %rbp, %rdi
je 0x98f5
callq 0x3230
movl $0x28, %edi
callq 0x3260
movq %rax, %r15
xorps %xmm0, %xmm0
movaps %xmm0, (%rax)
movaps %xmm0, 0x10(%rax)
movq $0x0, 0x20(%rax)
movq %rax, %rdi
callq 0xce14
xorps %xmm0, %xmm0
movups %xmm0, 0x10(%r15)
movq $0x0, 0x20(%r15)
movq %r15, %rdi
movl $0x4, %esi
callq 0xcfa6
movq %r15, %rdi
callq 0x9e8c
movq 0x18(%rbx), %r12
leaq 0x78(%rsp), %rbp
movq %rbp, -0x10(%rbp)
leaq 0x9e4d(%rip), %rsi      # 0x137a2
leaq 0x9e4a(%rip), %rdx      # 0x137a6
leaq 0x68(%rsp), %r13
movq %r13, %rdi
callq 0x47cc
movq %r12, %rdi
movq %r13, %rsi
movq %r15, %rdx
callq 0xcbca
movq 0x68(%rsp), %rdi
cmpq %rbp, %rdi
je 0x9986
callq 0x3230
movl $0x10, %edi
callq 0x3260
movq %rax, %r15
xorps %xmm0, %xmm0
movaps %xmm0, (%rax)
movq %rax, %rdi
callq 0xce14
movq %r15, %rdi
movl $0x4, %esi
callq 0xcfa6
movq %r15, %rdi
callq 0xa864
movq 0x18(%rbx), %r12
leaq 0x58(%rsp), %rbp
movq %rbp, -0x10(%rbp)
leaq 0x9ddd(%rip), %rsi      # 0x137a7
leaq 0x9dda(%rip), %rdx      # 0x137ab
leaq 0x48(%rsp), %r13
movq %r13, %rdi
callq 0x47cc
movq %r12, %rdi
movq %r13, %rsi
movq %r15, %rdx
callq 0xcbca
movq 0x48(%rsp), %rdi
cmpq %rbp, %rdi
je 0x99fb
callq 0x3230
leaq 0x7(%rsp), %rsi
movb $0x0, (%rsi)
leaq 0x8(%rsp), %rdi
leaq 0x6(%rsp), %rcx
movl $0x1, %edx
callq 0xa8d6
leaq 0x830(%rbx), %r15
movq %r15, %rdi
callq 0x461e
movq 0x28(%rsp), %rax
movq %rax, 0x20(%r15)
movups 0x8(%rsp), %xmm0
movups 0x18(%rsp), %xmm1
movups %xmm1, 0x10(%r15)
movups %xmm0, (%r15)
xorl %eax, %eax
movl %eax, 0x10(%rsp)
movq $0x0, 0x18(%rsp)
movl %eax, 0x20(%rsp)
movq %rbx, %rdi
callq 0xca28
leaq 0x30(%rsp), %r15
movq %r15, %rdi
movq %r14, %rsi
callq 0x450e
movq %rbx, %rdi
movq %r15, %rsi
callq 0x868a
movq 0x30(%rsp), %rdi
testq %rdi, %rdi
je 0x9a87
callq 0x3230
addq $0x108, %rsp            # imm = 0x108
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq 0x30(%rsp), %rdi
testq %rdi, %rdi
jne 0x9b0f
jmp 0x9b14
movq %rax, %rdi
callq 0x4613
movq %rax, %rbx
movq 0x48(%rsp), %rdi
jmp 0x9b00
jmp 0x9b09
movq %rax, %rbx
movq 0x68(%rsp), %rdi
jmp 0x9b00
jmp 0x9b09
movq %rax, %rbx
movq 0x88(%rsp), %rdi
jmp 0x9b00
jmp 0x9b09
movq %rax, %rbx
movq 0xa8(%rsp), %rdi
jmp 0x9b00
jmp 0x9b09
movq %rax, %rbx
movq 0xc8(%rsp), %rdi
jmp 0x9b00
jmp 0x9b09
movq %rax, %rbx
movq 0xe8(%rsp), %rdi
cmpq %rbp, %rdi
jne 0x9b0f
jmp 0x9b14
jmp 0x9b09
movq %rax, %rbx
movq %r15, %rdi
callq 0x3230
movq %rbx, %rdi
callq 0x33c0