// File: /workspace/github_cpp_makefile_star2_O3/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, %rbx
movq %rdi, 0x18(%rsp)
movl $0x40, %edi
callq 0x51b0
movq %rax, %r14
xorps %xmm0, %xmm0
movaps %xmm0, 0x20(%rax)
leaq 0x12def(%rip), %rax     # 0x34c58
movq %rax, (%r14)
leaq 0x38(%r14), %rax
movq %rax, 0x8(%r14)
movq $0x1, 0x10(%r14)
movups %xmm0, 0x18(%r14)
movl $0x3f800000, 0x28(%r14) # imm = 0x3F800000
movups %xmm0, 0x30(%r14)
movq 0x48(%rbx), %rbp
movq 0x50(%rbx), %rax
movq %rax, 0x10(%rsp)
cmpq %rax, %rbp
je 0x22024
movq %r14, (%rsp)
addq $0x8, %r14
movq %r14, 0x8(%rsp)
leaq 0x68(%rsp), %r13
leaq 0x28(%rsp), %r12
movq (%rbp), %rsi
movq 0x18(%rsp), %rdi
movq 0x20(%rsp), %rdx
callq 0x1ed4a
movq %rax, %r14
movq (%rax), %rax
movq %r13, %rdi
movq %r14, %rsi
callq *(%rax)
movq 0x70(%rsp), %rdx
cmpq 0x16450(%rip), %rdx     # 0x38338
jne 0x21f0a
movq 0x68(%rsp), %r15
testq %rdx, %rdx
je 0x21f13
movq 0x16435(%rip), %rsi     # 0x38330
movq %r15, %rdi
callq 0x51d0
testl %eax, %eax
sete %bl
jmp 0x21f15
movq 0x68(%rsp), %r15
xorl %ebx, %ebx
jmp 0x21f15
movb $0x1, %bl
leaq 0x78(%rsp), %rax
cmpq %rax, %r15
je 0x21f2f
movq 0x78(%rsp), %rsi
incq %rsi
movq %r15, %rdi
callq 0x51c0
testb %bl, %bl
jne 0x21fff
movq (%r14), %rax
leaq 0x48(%rsp), %rbx
movq %rbx, %rdi
movq %r14, %rsi
callq *(%rax)
movq (%r14), %rax
movq %r12, %rdi
movq %r14, %rsi
callq *0x8(%rax)
movq %r13, %rdi
movq %rbx, %rsi
movq %r12, %rdx
callq 0x2432c
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0x21f7d
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x51c0
movq 0x48(%rsp), %rdi
leaq 0x58(%rsp), %rax
cmpq %rax, %rdi
je 0x21f99
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x51c0
movq 0x8(%rsp), %rdi
movq %r13, %rsi
callq 0x2885c
movq %r14, (%rax)
movq 0x88(%rsp), %rdi
leaq 0x98(%rsp), %rax
cmpq %rax, %rdi
je 0x21fce
movq 0x98(%rsp), %rsi
incq %rsi
callq 0x51c0
movq 0x68(%rsp), %rdi
leaq 0x78(%rsp), %rax
cmpq %rax, %rdi
je 0x21fea
movq 0x78(%rsp), %rsi
incq %rsi
callq 0x51c0
addq $0x8, %rbp
cmpq 0x10(%rsp), %rbp
jne 0x21ebb
movq (%rsp), %r14
jmp 0x22024
movq (%rsp), %rbx
leaq 0x12c4e(%rip), %rax     # 0x34c58
movq %rax, (%rbx)
movq 0x8(%rsp), %rdi
callq 0x24da2
movl $0x40, %esi
movq %rbx, %rdi
callq 0x51c0
movq %r14, %rax
addq $0xa8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
jmp 0x2206c
movq %rax, %rbx
leaq 0x68(%rsp), %rdi
callq 0x2443c
jmp 0x22088
movq %rax, %rbx
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0x2206c
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x51c0
movq 0x48(%rsp), %rdi
leaq 0x58(%rsp), %rax
cmpq %rax, %rdi
je 0x22088
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x51c0
movq %rbx, %rdi
callq 0x5330