// File: /workspace/github_cpp_makefile_star2_O3/pranavmodx[P]modlang/src/../header/builtins.hpp
// Function: Insert(std::vector<Object*, std::allocator<Object*>>&)
Object *Insert(std::vector<Object *> &objs)
{
	Object *obj = objs[0];
	ObjectType type = obj->type();

	if (type == ERROR_OBJ)
		return obj;

	else if (type == HASHSET_OBJ)
	{
		if (objs.size() != 2)
			return new Error("error: argument length (" + std::to_string(objs.size()) + ") not equal to parameter length (2) for hashset");

		if (objs[1]->type() == ERROR_OBJ)
			return objs[1];

		HashKey hashKey(objs[1]->type(), objs[1]->inspect());
		((HashSet *)obj)->pairs.insert({hashKey, objs[1]});

		return __NULL;
	}

	else if (type == HASHMAP_OBJ)
	{
		if (objs.size() != 3)
			return new Error("error: argument length (" + std::to_string(objs.size()) + ") not equal to parameter length (3) for hashmap");

		if (objs[1]->type() == ERROR_OBJ)
			return objs[1];

		if (objs[2]->type() == ERROR_OBJ)
			return objs[2];

		HashKey hashKey(objs[1]->type(), objs[1]->inspect());
		HashMapPairObj hashMapPairObj(objs[1], objs[2]);

		((HashMap *)objs[0])->pairs.insert({hashKey, hashMapPairObj});

		return __NULL;
	}

	return new Error("error: unsupported object for insert()");
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x1a8, %rsp            # imm = 0x1A8
movq %rdi, %r14
movq (%rdi), %rax
movq (%rax), %rbx
movq (%rbx), %rax
leaq 0xf0(%rsp), %r15
movq %r15, %rdi
movq %rbx, %rsi
callq *(%rax)
movq 0x8(%r15), %r15
cmpq 0x1bb17(%rip), %r15     # 0x38338
jne 0x1c84b
testq %r15, %r15
je 0x1cf35
movq 0x1bafd(%rip), %rsi     # 0x38330
movq 0xf0(%rsp), %rdi
movq %r15, %rdx
callq 0x51d0
testl %eax, %eax
je 0x1cf35
cmpq 0x1b9c6(%rip), %r15     # 0x38218
jne 0x1c87c
testq %r15, %r15
je 0x1c930
movq 0x1b9ac(%rip), %rsi     # 0x38210
movq 0xf0(%rsp), %rdi
movq %r15, %rdx
callq 0x51d0
testl %eax, %eax
je 0x1c930
cmpq 0x1b975(%rip), %r15     # 0x381f8
jne 0x1c8ad
testq %r15, %r15
je 0x1c989
movq 0x1b95b(%rip), %rsi     # 0x381f0
movq 0xf0(%rsp), %rdi
movq %r15, %rdx
callq 0x51d0
testl %eax, %eax
je 0x1c989
movl $0x28, %edi
callq 0x51b0
movq %rax, %rbx
leaq 0xa0(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0xd112(%rip), %rsi      # 0x299df
leaq 0xd131(%rip), %rdx      # 0x29a05
leaq 0x90(%rsp), %rdi
callq 0xbe5c
leaq 0x181b0(%rip), %rax     # 0x34a98
movq %rax, (%rbx)
leaq 0x8(%rbx), %rdi
movq %rbx, %rax
addq $0x18, %rax
movq %rax, 0x8(%rbx)
movq 0x90(%rsp), %rsi
movq 0x98(%rsp), %rdx
addq %rsi, %rdx
callq 0xbdc6
movq 0x90(%rsp), %rdi
cmpq %r15, %rdi
je 0x1cf35
movq 0xa0(%rsp), %rsi
jmp 0x1cf2d
movq (%r14), %rax
movq 0x8(%r14), %r15
subq %rax, %r15
cmpq $0x10, %r15
jne 0x1c9e2
movq 0x8(%rax), %rsi
movq (%rsi), %rax
movq %rsp, %rdi
callq *(%rax)
movq 0x8(%rsp), %rdx
cmpq 0x1b9dc(%rip), %rdx     # 0x38338
jne 0x1cad0
movq (%rsp), %r15
testq %rdx, %rdx
je 0x1cae3
movq 0x1b9ba(%rip), %rsi     # 0x38330
movq %r15, %rdi
callq 0x51d0
testl %eax, %eax
sete %bpl
jmp 0x1cae6
movq (%r14), %rax
movq 0x8(%r14), %r15
subq %rax, %r15
cmpq $0x18, %r15
jne 0x1ca59
movq 0x8(%rax), %rsi
movq (%rsi), %rax
movq %rsp, %rdi
callq *(%rax)
movq 0x8(%rsp), %rdx
cmpq 0x1b983(%rip), %rdx     # 0x38338
jne 0x1cad8
movq (%rsp), %rbx
testq %rdx, %rdx
je 0x1cc29
movq 0x1b961(%rip), %rsi     # 0x38330
movq %rbx, %rdi
callq 0x51d0
testl %eax, %eax
sete %bpl
jmp 0x1cc2c
movl $0x28, %edi
callq 0x51b0
movq %rax, %rbx
sarq $0x3, %r15
movl $0x1, %esi
cmpq $0xa, %r15
jb 0x1cca8
movl $0x4, %esi
movabsq $0x346dc5d63886594b, %rdi # imm = 0x346DC5D63886594B
movq %r15, %rcx
cmpq $0x63, %rcx
jbe 0x1cc24
cmpq $0x3e7, %rcx            # imm = 0x3E7
jbe 0x1cca6
cmpq $0x2710, %rcx           # imm = 0x2710
jb 0x1cca8
movq %rcx, %rax
mulq %rdi
shrq $0xb, %rdx
addl $0x4, %esi
cmpq $0x1869f, %rcx          # imm = 0x1869F
movq %rdx, %rcx
ja 0x1ca14
addl $-0x3, %esi
jmp 0x1cca8
movl $0x28, %edi
callq 0x51b0
movq %rax, %rbx
sarq $0x3, %r15
movl $0x1, %esi
cmpq $0xa, %r15
jb 0x1cddc
movl $0x4, %esi
movabsq $0x346dc5d63886594b, %rdi # imm = 0x346DC5D63886594B
movq %r15, %rcx
cmpq $0x63, %rcx
jbe 0x1cdd5
cmpq $0x3e7, %rcx            # imm = 0x3E7
jbe 0x1cdda
cmpq $0x2710, %rcx           # imm = 0x2710
jb 0x1cddc
movq %rcx, %rax
mulq %rdi
shrq $0xb, %rdx
addl $0x4, %esi
cmpq $0x1869f, %rcx          # imm = 0x1869F
movq %rdx, %rcx
ja 0x1ca8b
addl $-0x3, %esi
jmp 0x1cddc
movq (%rsp), %r15
xorl %ebp, %ebp
jmp 0x1cae6
movq (%rsp), %rbx
xorl %ebp, %ebp
jmp 0x1cc2c
movb $0x1, %bpl
leaq 0x10(%rsp), %r12
cmpq %r12, %r15
je 0x1cb00
movq 0x10(%rsp), %rsi
incq %rsi
movq %r15, %rdi
callq 0x51c0
testb %bpl, %bpl
jne 0x1cc4b
movq (%r14), %rax
movq 0x8(%rax), %rsi
movq (%rsi), %rax
leaq 0x170(%rsp), %rdi
callq *(%rax)
movq (%r14), %rax
movq 0x8(%rax), %rsi
movq (%rsi), %rax
leaq 0x150(%rsp), %rdi
callq *0x8(%rax)
leaq 0x50(%rsp), %rdi
leaq 0x170(%rsp), %rsi
leaq 0x150(%rsp), %rdx
callq 0x2432c
leaq 0x160(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x1cb6d
movq 0x160(%rsp), %rsi
incq %rsi
callq 0x51c0
leaq 0x180(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x1cb8e
movq 0x180(%rsp), %rsi
incq %rsi
callq 0x51c0
movq (%r14), %rdx
addq $0x8, %rdx
movq %rsp, %rdi
leaq 0x50(%rsp), %rsi
callq 0x24390
addq $0x8, %rbx
movq %rsp, %rsi
movq %rbx, %rdi
callq 0x274a0
leaq 0x30(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x1cbcc
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x51c0
movq (%rsp), %rdi
cmpq %r12, %rdi
je 0x1cbe2
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x51c0
leaq 0x1a907(%rip), %rax     # 0x374f0
movq (%rax), %rbx
leaq 0x80(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x1cc0d
movq 0x80(%rsp), %rsi
incq %rsi
callq 0x51c0
leaq 0x60(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
jne 0x1cf28
jmp 0x1cf35
addl $-0x2, %esi
jmp 0x1cca8
movb $0x1, %bpl
leaq 0x10(%rsp), %r15
cmpq %r15, %rbx
je 0x1cc46
movq 0x10(%rsp), %rsi
incq %rsi
movq %rbx, %rdi
callq 0x51c0
testb %bpl, %bpl
je 0x1cc57
movq (%r14), %rax
movq 0x8(%rax), %rbx
jmp 0x1cf35
movq (%r14), %rax
movq 0x10(%rax), %rsi
movq (%rsi), %rax
movq %rsp, %rdi
callq *(%rax)
movq 0x8(%rsp), %rdx
cmpq 0x1b6c6(%rip), %rdx     # 0x38338
jne 0x1cc9b
movq (%rsp), %rbx
testq %rdx, %rdx
je 0x1cf6b
movq 0x1b6a8(%rip), %rsi     # 0x38330
movq %rbx, %rdi
callq 0x51d0
testl %eax, %eax
sete %bpl
jmp 0x1cf6e
movq (%rsp), %rbx
xorl %ebp, %ebp
jmp 0x1cf6e
decl %esi
movl %esi, %esi
leaq 0x60(%rsp), %r12
movq %r12, -0x10(%r12)
leaq 0x50(%rsp), %rdi
xorl %edx, %edx
callq 0x5210
leaq 0x50(%rsp), %r14
movq (%r14), %rdi
movl 0x8(%r14), %esi
movq %r15, %rdx
callq 0x246bf
leaq 0xca9f(%rip), %rcx      # 0x2977a
movl $0x18, %r8d
movq %r14, %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x51f0
leaq 0x10(%rsp), %r15
movq %r15, -0x10(%r15)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x1cd13
movq %rdx, (%rsp)
movq (%rcx), %rdx
movq %rdx, 0x10(%rsp)
jmp 0x1cd1a
movups (%rcx), %xmm0
movups %xmm0, (%r15)
movq 0x8(%rax), %rdx
movq %rsp, %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0xcc44(%rip), %rsi      # 0x2997f
callq 0x5360
leaq 0xe0(%rsp), %r13
movq %r13, -0x10(%r13)
movq (%rax), %rsi
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rsi
je 0x1cd70
movq %rsi, 0xd0(%rsp)
movq (%rcx), %rdx
movq %rdx, 0xe0(%rsp)
jmp 0x1cd7b
movups (%rcx), %xmm0
movups %xmm0, (%r13)
movq %r13, %rsi
movq 0x8(%rax), %rdx
movq %rdx, 0xd8(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x17cfb(%rip), %rax     # 0x34a98
movq %rax, (%rbx)
leaq 0x8(%rbx), %rdi
movq %rbx, %rax
addq $0x18, %rax
movq %rax, 0x8(%rbx)
addq %rsi, %rdx
callq 0xbdc6
movq 0xd0(%rsp), %rdi
cmpq %r13, %rdi
je 0x1cf08
movq 0xe0(%rsp), %rsi
jmp 0x1cf00
addl $-0x2, %esi
jmp 0x1cddc
decl %esi
movl %esi, %esi
leaq 0x60(%rsp), %r12
movq %r12, -0x10(%r12)
leaq 0x50(%rsp), %rdi
xorl %edx, %edx
callq 0x5210
leaq 0x50(%rsp), %r14
movq (%r14), %rdi
movl 0x8(%r14), %esi
movq %r15, %rdx
callq 0x246bf
leaq 0xc96b(%rip), %rcx      # 0x2977a
movl $0x18, %r8d
movq %r14, %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x51f0
leaq 0x10(%rsp), %r15
movq %r15, -0x10(%r15)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x1ce47
movq %rdx, (%rsp)
movq (%rcx), %rdx
movq %rdx, 0x10(%rsp)
jmp 0x1ce4e
movups (%rcx), %xmm0
movups %xmm0, (%r15)
movq 0x8(%rax), %rdx
movq %rsp, %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0xcb40(%rip), %rsi      # 0x299af
callq 0x5360
leaq 0xc0(%rsp), %r13
movq %r13, -0x10(%r13)
movq (%rax), %rsi
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rsi
je 0x1cea4
movq %rsi, 0xb0(%rsp)
movq (%rcx), %rdx
movq %rdx, 0xc0(%rsp)
jmp 0x1ceaf
movups (%rcx), %xmm0
movups %xmm0, (%r13)
movq %r13, %rsi
movq 0x8(%rax), %rdx
movq %rdx, 0xb8(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x17bc7(%rip), %rax     # 0x34a98
movq %rax, (%rbx)
leaq 0x8(%rbx), %rdi
movq %rbx, %rax
addq $0x18, %rax
movq %rax, 0x8(%rbx)
addq %rsi, %rdx
callq 0xbdc6
movq 0xb0(%rsp), %rdi
cmpq %r13, %rdi
je 0x1cf08
movq 0xc0(%rsp), %rsi
incq %rsi
callq 0x51c0
movq (%rsp), %rdi
cmpq %r15, %rdi
je 0x1cf1e
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x51c0
movq 0x50(%rsp), %rdi
cmpq %r12, %rdi
je 0x1cf35
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x51c0
leaq 0x100(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x1cf56
movq 0x100(%rsp), %rsi
incq %rsi
callq 0x51c0
movq %rbx, %rax
addq $0x1a8, %rsp            # imm = 0x1A8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movb $0x1, %bpl
cmpq %r15, %rbx
je 0x1cf83
movq 0x10(%rsp), %rsi
incq %rsi
movq %rbx, %rdi
callq 0x51c0
testb %bpl, %bpl
je 0x1cf91
movq (%r14), %rax
movq 0x10(%rax), %rbx
jmp 0x1cf35
movq (%r14), %rax
movq 0x8(%rax), %rsi
movq (%rsi), %rax
leaq 0x130(%rsp), %rdi
callq *(%rax)
movq (%r14), %rax
movq 0x8(%rax), %rsi
movq (%rsi), %rax
leaq 0x110(%rsp), %rdi
callq *0x8(%rax)
leaq 0x50(%rsp), %rdi
leaq 0x130(%rsp), %rsi
leaq 0x110(%rsp), %rdx
callq 0x2432c
leaq 0x120(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x1cff5
movq 0x120(%rsp), %rsi
incq %rsi
callq 0x51c0
leaq 0x140(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x1d016
movq 0x140(%rsp), %rsi
incq %rsi
callq 0x51c0
movq (%r14), %rax
movups 0x8(%rax), %xmm0
leaq 0x190(%rsp), %rdx
movaps %xmm0, (%rdx)
movq (%rax), %rbx
movq %rsp, %rdi
leaq 0x50(%rsp), %rsi
callq 0x24472
addq $0x8, %rbx
movq %rsp, %rsi
movq %rbx, %rdi
callq 0x27920
movq %rsp, %rdi
callq 0x244e8
leaq 0x1a49a(%rip), %rax     # 0x374f0
movq (%rax), %rbx
leaq 0x50(%rsp), %rdi
callq 0x2443c
jmp 0x1cf35
movq %rax, %r14
movq %rsp, %rdi
callq 0x244e8
jmp 0x1d0d9
jmp 0x1d0d6
movq %rax, %r14
leaq 0x120(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x1d0a0
movq 0x120(%rsp), %rsi
incq %rsi
callq 0x51c0
jmp 0x1d0a0
movq %rax, %r14
leaq 0x140(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x1d1ec
movq 0x140(%rsp), %rsi
jmp 0x1d12e
jmp 0x1d1e9
jmp 0x1d1e9
movq %rax, %r14
movq %rsp, %rdi
callq 0x24406
jmp 0x1d0d9
movq %rax, %r14
leaq 0x50(%rsp), %rdi
callq 0x2443c
jmp 0x1d1ec
movq %rax, %r14
leaq 0x160(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x1d111
movq 0x160(%rsp), %rsi
incq %rsi
callq 0x51c0
jmp 0x1d111
movq %rax, %r14
leaq 0x180(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x1d1ec
movq 0x180(%rsp), %rsi
incq %rsi
jmp 0x1d1e2
jmp 0x1d1e9
movq %rax, %r14
movq 0xb0(%rsp), %rdi
cmpq %r13, %rdi
je 0x1d185
movq 0xc0(%rsp), %rsi
jmp 0x1d178
jmp 0x1d182
jmp 0x1d19d
jmp 0x1d1d7
jmp 0x1d1e9
movq %rax, %r14
movq 0xd0(%rsp), %rdi
cmpq %r13, %rdi
je 0x1d185
movq 0xe0(%rsp), %rsi
incq %rsi
callq 0x51c0
jmp 0x1d185
movq %rax, %r14
movq (%rsp), %rdi
cmpq %r15, %rdi
je 0x1d1a0
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x51c0
jmp 0x1d1a0
movq %rax, %r14
movq 0x50(%rsp), %rdi
cmpq %r12, %rdi
je 0x1d1da
movq 0x60(%rsp), %rsi
jmp 0x1d1cd
jmp 0x1d1d7
jmp 0x1d1e9
movq %rax, %r14
movq 0x90(%rsp), %rdi
cmpq %r15, %rdi
je 0x1d1da
movq 0xa0(%rsp), %rsi
incq %rsi
callq 0x51c0
jmp 0x1d1da
movq %rax, %r14
movl $0x28, %esi
movq %rbx, %rdi
callq 0x51c0
jmp 0x1d1ec
movq %rax, %r14
leaq 0x100(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x1d20d
movq 0x100(%rsp), %rsi
incq %rsi
callq 0x51c0
movq %r14, %rdi
callq 0x5330