// File: /workspace/github_cpp_makefile_star2_O3/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 0xca2c
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 0xccd0
movq %r15, %rdi
movl $0x4, %esi
callq 0xce42
movq %r15, %rdi
callq 0xa20e
movq 0x18(%rbx), %r12
leaq 0xd0(%rsp), %rbp
movq %rbp, -0x10(%rbp)
leaq 0x9125(%rip), %rsi      # 0x12787
leaq 0x9120(%rip), %rdx      # 0x12789
leaq 0xc0(%rsp), %r13
movq %r13, %rdi
callq 0x47d2
movq %r12, %rdi
movq %r13, %rsi
movq %r15, %rdx
callq 0xca76
movq 0xc0(%rsp), %rdi
cmpq %rbp, %rdi
je 0x9699
callq 0x3230
movl $0x10, %edi
callq 0x3260
movq %rax, %r15
xorps %xmm0, %xmm0
movaps %xmm0, (%rax)
movq %rax, %rdi
callq 0xccd0
movq %r15, %rdi
movl $0x4, %esi
callq 0xce42
movq %r15, %rdi
callq 0xa31e
movq 0x18(%rbx), %r12
leaq 0xb0(%rsp), %rbp
movq %rbp, -0x10(%rbp)
leaq 0x9051(%rip), %rsi      # 0x12731
leaq 0x9050(%rip), %rdx      # 0x12737
leaq 0xa0(%rsp), %r13
movq %r13, %rdi
callq 0x47d2
movq %r12, %rdi
movq %r13, %rsi
movq %r15, %rdx
callq 0xca76
movq 0xa0(%rsp), %rdi
cmpq %rbp, %rdi
je 0x9717
callq 0x3230
movl $0x10, %edi
callq 0x3260
movq %rax, %r15
xorps %xmm0, %xmm0
movaps %xmm0, (%rax)
movq %rax, %rdi
callq 0xccd0
movq %r15, %rdi
movl $0x4, %esi
callq 0xce42
movq %r15, %rdi
callq 0xa538
movq 0x18(%rbx), %r12
leaq 0x90(%rsp), %rbp
movq %rbp, -0x10(%rbp)
leaq 0x8fda(%rip), %rsi      # 0x12738
leaq 0x8fd9(%rip), %rdx      # 0x1273e
leaq 0x80(%rsp), %r13
movq %r13, %rdi
callq 0x47d2
movq %r12, %rdi
movq %r13, %rsi
movq %r15, %rdx
callq 0xca76
movq 0x80(%rsp), %rdi
cmpq %rbp, %rdi
je 0x9795
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 0xccd0
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 0xce42
movq %r15, %rdi
callq 0xa648
movq 0x18(%rbx), %r12
leaq 0x70(%rsp), %rbp
movq %rbp, -0x10(%rbp)
leaq 0x8f75(%rip), %rsi      # 0x1278a
leaq 0x8f71(%rip), %rdx      # 0x1278d
leaq 0x60(%rsp), %r13
movq %r13, %rdi
callq 0x47d2
movq %r12, %rdi
movq %r13, %rsi
movq %r15, %rdx
callq 0xca76
movq 0x60(%rsp), %rdi
cmpq %rbp, %rdi
je 0x9846
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 0xccd0
xorps %xmm0, %xmm0
movups %xmm0, 0x10(%r15)
movq $0x0, 0x20(%r15)
movq %r15, %rdi
movl $0x4, %esi
callq 0xce42
movq %r15, %rdi
callq 0x9dd4
movq 0x18(%rbx), %r12
leaq 0x50(%rsp), %rbp
movq %rbp, -0x10(%rbp)
leaq 0x8ee8(%rip), %rsi      # 0x1278e
leaq 0x8ee5(%rip), %rdx      # 0x12792
leaq 0x40(%rsp), %r13
movq %r13, %rdi
callq 0x47d2
movq %r12, %rdi
movq %r13, %rsi
movq %r15, %rdx
callq 0xca76
movq 0x40(%rsp), %rdi
cmpq %rbp, %rdi
je 0x98d7
callq 0x3230
movl $0x10, %edi
callq 0x3260
movq %rax, %r15
xorps %xmm0, %xmm0
movaps %xmm0, (%rax)
movq %rax, %rdi
callq 0xccd0
movq %r15, %rdi
movl $0x4, %esi
callq 0xce42
movq %r15, %rdi
callq 0xa7ac
movq 0x18(%rbx), %r12
leaq 0x30(%rsp), %rbp
movq %rbp, -0x10(%rbp)
leaq 0x8e78(%rip), %rsi      # 0x12793
leaq 0x8e75(%rip), %rdx      # 0x12797
leaq 0x20(%rsp), %r13
movq %r13, %rdi
callq 0x47d2
movq %r12, %rdi
movq %r13, %rsi
movq %r15, %rdx
callq 0xca76
movq 0x20(%rsp), %rdi
cmpq %rbp, %rdi
je 0x994c
callq 0x3230
leaq 0x7(%rsp), %rsi
movb $0x0, (%rsi)
leaq 0xe0(%rsp), %rdi
leaq 0x6(%rsp), %rcx
movl $0x1, %edx
callq 0xa81e
leaq 0x830(%rbx), %r15
movq %r15, %rdi
callq 0x461e
movq 0x100(%rsp), %rax
movq %rax, 0x20(%r15)
movups 0xe0(%rsp), %xmm0
movups 0xf0(%rsp), %xmm1
movups %xmm1, 0x10(%r15)
movups %xmm0, (%r15)
movq %rbx, %rdi
callq 0xc8d4
leaq 0x8(%rsp), %r15
movq %r15, %rdi
movq %r14, %rsi
callq 0x450e
movq %rbx, %rdi
movq %r15, %rsi
callq 0x8626
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x99d1
callq 0x3230
addq $0x108, %rsp            # imm = 0x108
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
jne 0x9a56
jmp 0x9a5b
movq %rax, %rdi
callq 0x4613
movq %rax, %rbx
movq 0x20(%rsp), %rdi
jmp 0x9a47
jmp 0x9a50
movq %rax, %rbx
movq 0x40(%rsp), %rdi
jmp 0x9a47
jmp 0x9a50
movq %rax, %rbx
movq 0x60(%rsp), %rdi
jmp 0x9a47
jmp 0x9a50
movq %rax, %rbx
movq 0x80(%rsp), %rdi
jmp 0x9a47
jmp 0x9a50
movq %rax, %rbx
movq 0xa0(%rsp), %rdi
jmp 0x9a47
jmp 0x9a50
movq %rax, %rbx
movq 0xc0(%rsp), %rdi
cmpq %rbp, %rdi
jne 0x9a56
jmp 0x9a5b
jmp 0x9a50
movq %rax, %rbx
movq %r15, %rdi
callq 0x3230
movq %rbx, %rdi
callq 0x33c0
nop