// File: /workspace/github_cpp_makefile_star2_O1/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, %r13
leaq 0x8805(%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 $0x0, 0x10(%rsp)
movq %rcx, 0x50(%r12)
movb $0x0, 0x58(%r12)
leaq 0x70(%r12), %rdi
movl $0xc0, %edx
xorl %esi, %esi
callq 0x2110
movq %r13, 0x8(%rsp)
movq %r12, 0x10(%r13)
testq %r15, %r15
je 0x6b9f
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
movq $0x0, 0x10(%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 0x6ab3
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 0x8(%rsp), %rdi
movq %rsi, %r12
callq 0x6126
movq %r12, %rdi
jmp 0x6b63
movq %rcx, 0x18(%rsp)
leaq 0x18(%rsp), %rcx
movq %rcx, 0x20(%rsp)
movq %rax, 0x28(%rsp)
addl $0x2, %edx
movl %edx, (%rax)
leaq 0x86bd(%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)
movq 0x10(%rsp), %r12
cvtsi2sd %r12d, %xmm0
movsd %xmm0, 0x40(%rbp)
movl %r13d, 0x38(%rbp)
movq 0x8(%rsp), %rdi
movq %rbx, %rsi
callq 0x6126
incl %r12d
movq %r12, 0x10(%rsp)
movq %rbx, %rdi
leaq 0x18(%rsp), %rbp
movq 0x10(%rbp), %rcx
movq 0x8(%rax), %rax
movq %rcx, 0x10(%rax)
incl (%rcx)
callq 0x9092
movq %rbp, %rdi
callq 0x9092
movq %r15, %rdi
callq 0x9092
addq $0x18, %r14
cmpq 0x30(%rsp), %r14
leaq 0x50(%rsp), %rbp
leaq 0x38(%rsp), %rsi
jne 0x6a36
movq 0x10(%rsp), %rbx
testl %ebx, %ebx
jle 0x6c7e
leaq 0xb0(%rsp), %r15
leaq 0x85d5(%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 0x4556(%rip), %rsi      # 0xb183
leaq 0x98(%rsp), %rdi
callq 0x67a4
leaq 0x98(%rsp), %rsi
movq 0x8(%rsp), %rdi
callq 0x6126
leaq 0xb0(%rsp), %r14
movq 0x10(%r14), %rcx
movq 0x8(%rax), %rax
movq %rcx, 0x10(%rax)
incl (%rcx)
leaq 0x98(%rsp), %rdi
callq 0x9092
movq %r14, %rdi
callq 0x9092
movl $0x6, %eax
jmp 0x6c83
movl $0x5, %eax
movq 0x8(%rsp), %rcx
movq 0x10(%rcx), %rcx
movl %eax, 0x38(%rcx)
addq $0xc8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
leaq 0x98(%rsp), %rdi
callq 0x9092
jmp 0x6cb6
movq %rax, %rbx
leaq 0xb0(%rsp), %rdi
jmp 0x6cf8
movq %rax, %rbx
leaq 0x68(%rsp), %rdi
callq 0x9092
jmp 0x6cd2
movq %rax, %rbx
leaq 0x18(%rsp), %rdi
jmp 0x6ceb
movq %rax, %rbx
leaq 0x38(%rsp), %rdi
callq 0x9092
leaq 0x50(%rsp), %rdi
callq 0x9092
leaq 0x80(%rsp), %rdi
callq 0x9092
movq %rbx, %rdi
callq 0x2290
nop