// File: Eronana[P]strawberry/src/vm.cpp
// Function: VirtualMachine::F_CREATE_FUNCTION()
DEF_FUNC(CREATE_FUNCTION)
{
    ARRAY_TYPE external=STOP.v_array;
    STOP.type=T_FUNCTION;
    auto prototype = newObject();
    (*prototype)["__proto__"]=reg_system["prototypes"][string("Function")];
    STOP.v_function={get_int32(),external,prototype};
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x110, %rsp            # imm = 0x110
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0xd0(%rbp)
addq $0x68, %rdi
movq %rdi, -0xe0(%rbp)
xorl %esi, %esi
movl %esi, -0xd4(%rbp)
callq 0xf6f0
movq -0xe0(%rbp), %rdi
movl -0xd4(%rbp), %esi
movq 0x8(%rax), %rax
movq %rax, -0x10(%rbp)
callq 0xf6f0
movl $0x8, (%rax)
callq 0x216b0
movq %rax, %rcx
movq -0xd0(%rbp), %rax
movq %rcx, -0x18(%rbp)
addq $0x4a8, %rax            # imm = 0x4A8
movq %rax, -0xc8(%rbp)
leaq -0x39(%rbp), %rdi
movq %rdi, -0xc0(%rbp)
callq 0x75f0
movq -0xc0(%rbp), %rdx
leaq 0x4cab0(%rip), %rsi     # 0x58160
leaq -0x38(%rbp), %rdi
callq 0xf990
jmp 0xb6bb
movq -0xc8(%rbp), %rdi
leaq -0x38(%rbp), %rsi
callq 0xf8b0
movq %rax, -0xe8(%rbp)
jmp 0xb6d4
leaq -0x71(%rbp), %rdi
movq %rdi, -0xf0(%rbp)
callq 0x75f0
movq -0xf0(%rbp), %rdx
leaq 0x4ca65(%rip), %rsi     # 0x58157
leaq -0x70(%rbp), %rdi
callq 0xf990
jmp 0xb6fd
movq -0xe8(%rbp), %rdi
leaq -0x70(%rbp), %rsi
callq 0x163d0
movq %rax, -0xf8(%rbp)
jmp 0xb716
movq -0x18(%rbp), %rax
movq %rax, -0x108(%rbp)
leaq -0x99(%rbp), %rdi
movq %rdi, -0x100(%rbp)
callq 0x75f0
movq -0x100(%rbp), %rdx
leaq 0x4ca29(%rip), %rsi     # 0x5816b
leaq -0x98(%rbp), %rdi
callq 0xf990
jmp 0xb750
movq -0x108(%rbp), %rdi
leaq -0x98(%rbp), %rsi
callq 0xf8b0
movq %rax, -0x110(%rbp)
jmp 0xb76c
movq -0x110(%rbp), %rax
movq -0xf8(%rbp), %rcx
movq (%rcx), %rdx
movq %rdx, (%rax)
movq 0x8(%rcx), %rdx
movq %rdx, 0x8(%rax)
movq 0x10(%rcx), %rdx
movq %rdx, 0x10(%rax)
movq 0x18(%rcx), %rcx
movq %rcx, 0x18(%rax)
leaq -0x98(%rbp), %rdi
callq 0x71d0
leaq -0x99(%rbp), %rdi
callq 0x7310
leaq -0x70(%rbp), %rdi
callq 0x71d0
leaq -0x71(%rbp), %rdi
callq 0x7310
leaq -0x38(%rbp), %rdi
callq 0x71d0
leaq -0x39(%rbp), %rdi
callq 0x7310
movq -0xd0(%rbp), %rdi
callq 0xae50
movq -0xd0(%rbp), %rdi
movl %eax, -0xb8(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0xb0(%rbp)
movq -0x18(%rbp), %rax
movq %rax, -0xa8(%rbp)
addq $0x68, %rdi
xorl %esi, %esi
callq 0xf6f0
movq -0xb8(%rbp), %rcx
movq %rcx, 0x8(%rax)
movq -0xb0(%rbp), %rcx
movq %rcx, 0x10(%rax)
movq -0xa8(%rbp), %rcx
movq %rcx, 0x18(%rax)
addq $0x110, %rsp            # imm = 0x110
popq %rbp
retq
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x48(%rbp)
movl %eax, -0x4c(%rbp)
jmp 0xb8bd
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x48(%rbp)
movl %eax, -0x4c(%rbp)
jmp 0xb8b4
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x48(%rbp)
movl %eax, -0x4c(%rbp)
jmp 0xb8ab
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x48(%rbp)
movl %eax, -0x4c(%rbp)
jmp 0xb8a2
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x48(%rbp)
movl %eax, -0x4c(%rbp)
jmp 0xb896
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x48(%rbp)
movl %eax, -0x4c(%rbp)
leaq -0x98(%rbp), %rdi
callq 0x71d0
leaq -0x99(%rbp), %rdi
callq 0x7310
leaq -0x70(%rbp), %rdi
callq 0x71d0
leaq -0x71(%rbp), %rdi
callq 0x7310
leaq -0x38(%rbp), %rdi
callq 0x71d0
leaq -0x39(%rbp), %rdi
callq 0x7310
movq -0x48(%rbp), %rdi
callq 0x75e0
nop