// File: /workspace/github_cpp_makefile_star2_O3/vjeux[P]jspp/example/../src/constructors.h
// Function: Object::Object(std::initializer_list<Object>)
Object::Object(std::initializer_list<Object> list) : self(&undefined), write(this), s(new State) {
	int length = 0;

	for (auto elem : list)
		if (elem.s->type == KEYVALUE) {
			(*this)[elem.s->kv->key] = elem.s->kv->value;
		} else {
			(*this)[length++] = elem;
		}

	if (length > 0) {
		(*this)["length"] = length;
		s->type = ARRAY;
	} else {
		s->type = OBJECT;
	}
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xc8, %rsp
movq %rdx, %r15
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x8931(%rip), %rax      # 0xf190
movq %rax, (%rdi)
movq %rdi, 0x8(%rdi)
movl $0x138, %edi            # imm = 0x138
callq 0x21a0
movq %rax, %r12
movl $0x1, (%rax)
addq $0x10, %rax
movl $0x0, 0x10(%r12)
xorl %ecx, %ecx
movq %rcx, 0x18(%r12)
movq %rax, 0x20(%r12)
movq %rax, 0x28(%r12)
movq %rcx, 0x30(%r12)
leaq 0x58(%r12), %rax
movq %rax, 0x48(%r12)
movq %rcx, 0x50(%r12)
movb $0x0, 0x58(%r12)
leaq 0x70(%r12), %rdi
movl $0xc0, %edx
xorl %esi, %esi
callq 0x2110
movq %rbx, 0x10(%rsp)
movq %r12, 0x10(%rbx)
movl $0x5, %ecx
testq %r15, %r15
je 0x6b4f
leaq (%r15,%r15,2), %rax
leaq (%r14,%rax,8), %rax
movq %rax, 0x30(%rsp)
leaq 0x80(%rsp), %r15
leaq 0x50(%rsp), %rbp
leaq 0x38(%rsp), %rsi
leaq 0x68(%rsp), %rbx
movl $0x0, 0xc(%rsp)
movq (%r14), %rcx
movq %rcx, 0x80(%rsp)
movq %r15, 0x88(%rsp)
movq 0x10(%r14), %rax
movq %rax, 0x90(%rsp)
movl (%rax), %edx
movl 0x38(%rax), %r8d
leal 0x1(%rdx), %edi
movl %edi, (%rax)
cmpl $0x7, %r8d
jne 0x6982
movq 0x130(%rax), %rax
movq 0x18(%rax), %rcx
movq %rcx, 0x50(%rsp)
movq %rbp, 0x58(%rsp)
movq 0x28(%rax), %rcx
movq %rcx, 0x60(%rsp)
incl (%rcx)
movq (%rax), %rcx
movq %rcx, 0x38(%rsp)
movq %rsi, 0x40(%rsp)
movq 0x10(%rax), %rax
movq %rax, 0x48(%rsp)
incl (%rax)
movq 0x10(%rsp), %rdi
movq %rsi, %r12
callq 0x5ff6
movq %r12, %rdi
jmp 0x6a32
movq %rcx, 0x18(%rsp)
leaq 0x18(%rsp), %rcx
movq %rcx, 0x20(%rsp)
movq %rax, 0x28(%rsp)
addl $0x2, %edx
movl %edx, (%rax)
leaq 0x87ee(%rip), %rax      # 0xf190
movq %rax, 0x68(%rsp)
movq %rbx, 0x70(%rsp)
movl $0x138, %edi            # imm = 0x138
callq 0x21a0
movq %rax, %rbp
movl $0x1, (%rax)
addq $0x10, %rax
xorl %r13d, %r13d
movl %r13d, 0x10(%rbp)
movq %r13, 0x18(%rbp)
movq %rax, 0x20(%rbp)
movq %rax, 0x28(%rbp)
movq %r13, 0x30(%rbp)
leaq 0x58(%rbp), %rax
movq %rax, 0x48(%rbp)
movq %r13, 0x50(%rbp)
movb $0x0, 0x58(%rbp)
movq %rbp, %rdi
addq $0x70, %rdi
movl $0xc0, %edx
xorl %esi, %esi
callq 0x2110
movq %rbp, 0x78(%rsp)
movl 0xc(%rsp), %r12d
cvtsi2sd %r12d, %xmm0
movsd %xmm0, 0x40(%rbp)
movl %r13d, 0x38(%rbp)
movq 0x10(%rsp), %rdi
movq %rbx, %rsi
callq 0x5ff6
incl %r12d
movl %r12d, 0xc(%rsp)
movq %rbx, %rdi
leaq 0x18(%rsp), %rbp
movq 0x10(%rbp), %rcx
movq 0x8(%rax), %rax
movq %rcx, 0x10(%rax)
incl (%rcx)
callq 0x8d48
movq %rbp, %rdi
callq 0x8d48
movq %r15, %rdi
callq 0x8d48
addq $0x18, %r14
cmpq 0x30(%rsp), %r14
leaq 0x50(%rsp), %rbp
leaq 0x38(%rsp), %rsi
jne 0x6905
movl 0xc(%rsp), %ebx
testl %ebx, %ebx
movl $0x5, %ecx
jle 0x6b4f
leaq 0xb0(%rsp), %r15
leaq 0x8702(%rip), %rax      # 0xf190
movq %rax, (%r15)
movq %r15, 0x8(%r15)
movl $0x138, %edi            # imm = 0x138
callq 0x21a0
movq %rax, %r14
movl $0x1, (%rax)
addq $0x10, %rax
xorl %r12d, %r12d
movl %r12d, 0x10(%r14)
movq %r12, 0x18(%r14)
movq %rax, 0x20(%r14)
movq %rax, 0x28(%r14)
movq %r12, 0x30(%r14)
leaq 0x58(%r14), %rax
movq %rax, 0x48(%r14)
movq %r12, 0x50(%r14)
movb $0x0, 0x58(%r14)
leaq 0x70(%r14), %rdi
movl $0xc0, %edx
xorl %esi, %esi
callq 0x2110
movq %r14, 0x10(%r15)
xorps %xmm0, %xmm0
cvtsi2sd %ebx, %xmm0
movsd %xmm0, 0x40(%r14)
movl %r12d, 0x38(%r14)
leaq 0x4683(%rip), %rsi      # 0xb183
leaq 0x98(%rsp), %rdi
callq 0x6678
leaq 0x98(%rsp), %rsi
movq 0x10(%rsp), %rdi
callq 0x5ff6
leaq 0xb0(%rsp), %r14
movq 0x10(%r14), %rcx
movq 0x8(%rax), %rax
movq %rcx, 0x10(%rax)
incl (%rcx)
leaq 0x98(%rsp), %rdi
callq 0x8d48
movq %r14, %rdi
callq 0x8d48
movl $0x6, %ecx
movq 0x10(%rsp), %rax
movq 0x10(%rax), %rax
movl %ecx, 0x38(%rax)
addq $0xc8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
leaq 0x98(%rsp), %rdi
callq 0x8d48
jmp 0x6b82
movq %rax, %rbx
leaq 0xb0(%rsp), %rdi
jmp 0x6bc4
movq %rax, %rbx
leaq 0x68(%rsp), %rdi
callq 0x8d48
jmp 0x6b9e
movq %rax, %rbx
leaq 0x18(%rsp), %rdi
jmp 0x6bb7
movq %rax, %rbx
leaq 0x38(%rsp), %rdi
callq 0x8d48
leaq 0x50(%rsp), %rdi
callq 0x8d48
leaq 0x80(%rsp), %rdi
callq 0x8d48
movq %rbx, %rdi
callq 0x2290
nop