// File: /workspace/github_cpp_makefile_star2_O1/pranavmodx[P]modlang/src/evaluator.cpp
// Function: Evaluator::evalHashSetLiteral(HashSetLiteral*, Environment*)
Object *Evaluator::evalHashSetLiteral(HashSetLiteral *hashSetLiteral, Environment *env)
{
	HashSet *hashSet = new HashSet();

	for (auto pair : hashSetLiteral->pairs)
	{
		Object *key = Eval(pair, env);

		if (key->type() == ERROR_OBJ)
		{
			delete hashSet;
			return key;
		}

		HashKey hashKey(key->type(), key->inspect());
		hashSet->pairs[hashKey] = key;
	}

	return hashSet;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xa8, %rsp
movq %rdx, 0x20(%rsp)
movq %rsi, %r12
movq %rdi, 0x18(%rsp)
movl $0x40, %edi
callq 0x51b0
movq %rax, %rbx
xorps %xmm0, %xmm0
movaps %xmm0, (%rax)
movaps %xmm0, 0x10(%rax)
movaps %xmm0, 0x20(%rax)
movaps %xmm0, 0x30(%rax)
leaq 0x12b52(%rip), %rax     # 0x34c58
movq %rax, (%rbx)
leaq 0x38(%rbx), %rax
movq %rax, 0x8(%rbx)
movq $0x1, 0x10(%rbx)
movups %xmm0, 0x18(%rbx)
movl $0x3f800000, 0x28(%rbx) # imm = 0x3F800000
movq 0x48(%r12), %r14
movq 0x50(%r12), %rax
movq %rax, 0x10(%rsp)
cmpq %rax, %r14
je 0x222c3
movq %rbx, %rax
addq $0x8, %rax
movq %rax, (%rsp)
leaq 0x68(%rsp), %r12
movq (%r14), %rsi
movq 0x18(%rsp), %rdi
movq 0x20(%rsp), %rdx
callq 0x1ef50
movq %rax, %rbp
movq (%rax), %rax
leaq 0x28(%rsp), %rdi
movq %rbp, %rsi
callq *(%rax)
movq 0x30(%rsp), %rdx
cmpq 0x161be(%rip), %rdx     # 0x38338
jne 0x2219a
testq %rdx, %rdx
je 0x2219f
movq 0x161a8(%rip), %rsi     # 0x38330
movq 0x28(%rsp), %rdi
callq 0x51d0
testl %eax, %eax
sete %r13b
jmp 0x221a2
xorl %r13d, %r13d
jmp 0x221a2
movb $0x1, %r13b
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0x221be
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x51c0
testb %r13b, %r13b
je 0x221ed
leaq 0x12a8e(%rip), %rax     # 0x34c58
movq %rax, (%rbx)
movq (%rsp), %rdi
callq 0x250b2
movl $0x40, %esi
movq %rbx, %rdi
callq 0x51c0
movq %rbp, 0x8(%rsp)
jmp 0x222a8
movq (%rbp), %rax
leaq 0x88(%rsp), %r15
movq %r15, %rdi
movq %rbp, %rsi
callq *(%rax)
movq (%rbp), %rax
movq %r12, %rdi
movq %rbp, %rsi
callq *0x8(%rax)
leaq 0x28(%rsp), %rdi
movq %r15, %rsi
movq %r12, %rdx
callq 0x24630
movq 0x68(%rsp), %rdi
leaq 0x78(%rsp), %rax
cmpq %rax, %rdi
je 0x2223a
movq 0x78(%rsp), %rsi
incq %rsi
callq 0x51c0
movq 0x88(%rsp), %rdi
leaq 0x98(%rsp), %rax
cmpq %rax, %rdi
je 0x2225f
movq 0x98(%rsp), %rsi
incq %rsi
callq 0x51c0
movq (%rsp), %rdi
leaq 0x28(%rsp), %rsi
callq 0x28b8e
movq %rbp, (%rax)
movq 0x48(%rsp), %rdi
leaq 0x58(%rsp), %rax
cmpq %rax, %rdi
je 0x2228c
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x51c0
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0x222a8
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x51c0
testb %r13b, %r13b
jne 0x222be
addq $0x8, %r14
cmpq 0x10(%rsp), %r14
jne 0x2214c
jmp 0x222c3
movq 0x8(%rsp), %rbx
movq %rbx, %rax
addq $0xa8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
leaq 0x28(%rsp), %rdi
callq 0x24740
jmp 0x22330
movq %rax, %rbx
movq 0x68(%rsp), %rdi
leaq 0x78(%rsp), %rax
cmpq %rax, %rdi
je 0x2230b
movq 0x78(%rsp), %rsi
incq %rsi
callq 0x51c0
jmp 0x2230b
movq %rax, %rbx
movq 0x88(%rsp), %rdi
leaq 0x98(%rsp), %rax
cmpq %rax, %rdi
je 0x22330
movq 0x98(%rsp), %rsi
incq %rsi
callq 0x51c0
movq %rbx, %rdi
callq 0x5330