// File: /workspace/github_c_makefile_star2_O3/ArtifexSoftware[P]mujs/./jscompile.c
// Function: cobject
static void cobject(JF, js_Ast *list)
{
	js_Ast *head = list;

	while (list) {
		js_Ast *kv = list->a;
		js_Ast *prop = kv->a;

		if (prop->type == AST_IDENTIFIER || prop->type == EXP_STRING) {
			emitline(J, F, prop);
			emitstring(J, F, OP_STRING, prop->string);
		} else if (prop->type == EXP_NUMBER) {
			emitline(J, F, prop);
			emitnumber(J, F, prop->number);
		} else {
			jsC_error(J, prop, "invalid property name in object initializer");
		}

		if (F->strict)
			checkdup(J, F, head, kv);

		switch (kv->type) {
		default: /* impossible */ break;
		case EXP_PROP_VAL:
			cexp(J, F, kv->b);
			emitline(J, F, kv);
			emit(J, F, OP_INITPROP);
			break;
		case EXP_PROP_GET:
			emitfunction(J, F, newfun(J, prop->line, NULL, NULL, kv->c, 0, F->strict, 1));
			emitline(J, F, kv);
			emit(J, F, OP_INITGETTER);
			break;
		case EXP_PROP_SET:
			emitfunction(J, F, newfun(J, prop->line, NULL, kv->b, kv->c, 0, F->strict, 1));
			emitline(J, F, kv);
			emit(J, F, OP_INITSETTER);
			break;
		}

		list = list->b;
	}
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x58, %rsp
movq %rdx, (%rsp)
testq %rdx, %rdx
je 0x1f8b9
movq %rsi, %r15
movq %rdi, %r14
movq (%rsp), %r13
movq %rdi, 0x8(%rsp)
movq 0x10(%r13), %rbx
movq 0x10(%rbx), %rbp
movl (%rbp), %eax
cmpl $0x5, %eax
je 0x1f740
cmpl $0x4, %eax
je 0x1f75d
cmpl $0x2, %eax
jne 0x1f8e1
movl 0x4(%rbp), %eax
movl %eax, 0x5c(%r15)
movq 0x38(%rbp), %rcx
movq %r14, %rdi
movq %r15, %rsi
movl $0x8, %edx
callq 0x1f56f
jmp 0x1f774
movl 0x4(%rbp), %eax
movl %eax, 0x5c(%r15)
movsd 0x30(%rbp), %xmm0
movq %r14, %rdi
movq %r15, %rsi
callq 0x1f5c1
cmpl $0x0, 0x10(%r15)
je 0x1f7f6
movq 0x10(%rbx), %rax
cmpl $0x4, (%rax)
jne 0x1f798
movsd 0x30(%rax), %xmm0
leaq 0x30(%rsp), %rsi
callq 0x12c04
movq %rax, %r12
jmp 0x1f79c
movq 0x38(%rax), %r12
movq (%rsp), %rax
movq 0x10(%rax), %rax
cmpq %rbx, %rax
je 0x1f7f1
movq (%rsp), %r14
movl (%rax), %ecx
cmpl (%rbx), %ecx
jne 0x1f7e4
movq 0x10(%rax), %rax
cmpl $0x4, (%rax)
jne 0x1f7d0
movsd 0x30(%rax), %xmm0
leaq 0x10(%rsp), %rsi
callq 0x12c04
movq %rax, %rsi
jmp 0x1f7d4
movq 0x38(%rax), %rsi
movq %r12, %rdi
callq 0x32f0
testl %eax, %eax
je 0x1f8c8
movq 0x18(%r14), %r14
movq 0x10(%r14), %rax
cmpq %rbx, %rax
jne 0x1f7ad
movq 0x8(%rsp), %r14
movl (%rbx), %eax
cmpl $0x10, %eax
je 0x1f857
cmpl $0xf, %eax
je 0x1f821
cmpl $0xe, %eax
jne 0x1f8ac
movq 0x18(%rbx), %rdx
movq %r14, %rdi
movq %r15, %rsi
callq 0x1e54e
movl $0x1d, %ebp
jmp 0x1f88d
movl 0x4(%rbp), %esi
movq 0x20(%rbx), %r8
movl 0x10(%r15), %eax
movq %r14, %rdi
xorl %edx, %edx
xorl %ecx, %ecx
xorl %r9d, %r9d
pushq $0x1
pushq %rax
callq 0x8eff
addq $0x10, %rsp
movq %r14, %rdi
movq %r15, %rsi
movq %rax, %rdx
callq 0x1d64d
movl $0x1e, %ebp
jmp 0x1f88d
movl 0x4(%rbp), %esi
movq 0x18(%rbx), %rcx
movq 0x20(%rbx), %r8
movl 0x10(%r15), %eax
movq %r14, %rdi
xorl %edx, %edx
xorl %r9d, %r9d
pushq $0x1
pushq %rax
callq 0x8eff
addq $0x10, %rsp
movq %r14, %rdi
movq %r15, %rsi
movq %rax, %rdx
callq 0x1d64d
movl $0x1f, %ebp
movl 0x4(%rbx), %edx
movl %edx, 0x5c(%r15)
movq %r14, %rdi
movq %r15, %rsi
callq 0x1d6ca
movq %r14, %rdi
movq %r15, %rsi
movl %ebp, %edx
callq 0x1d6ca
movq 0x18(%r13), %r13
testq %r13, %r13
jne 0x1f722
addq $0x58, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x14802(%rip), %rdx     # 0x340d1
movq 0x8(%rsp), %rdi
movq %r14, %rsi
movq %r12, %rcx
xorl %eax, %eax
callq 0x8d38
leaq 0x147bd(%rip), %rdx     # 0x340a5
movq %r14, %rdi
movq %rbp, %rsi
xorl %eax, %eax
callq 0x8d38