// File: /workspace/github_c_makefile_star2_O1/ccxvii[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 0x1fb48
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 0x1f9cf
cmpl $0x4, %eax
je 0x1f9ec
cmpl $0x2, %eax
jne 0x1fb70
movl 0x4(%rbp), %eax
movl %eax, 0x5c(%r15)
movq 0x38(%rbp), %rcx
movq %r14, %rdi
movq %r15, %rsi
movl $0x8, %edx
callq 0x1f7fe
jmp 0x1fa03
movl 0x4(%rbp), %eax
movl %eax, 0x5c(%r15)
movsd 0x30(%rbp), %xmm0
movq %r14, %rdi
movq %r15, %rsi
callq 0x1f850
cmpl $0x0, 0x10(%r15)
je 0x1fa85
movq 0x10(%rbx), %rax
cmpl $0x4, (%rax)
jne 0x1fa27
movsd 0x30(%rax), %xmm0
leaq 0x30(%rsp), %rsi
callq 0x1303a
movq %rax, %r12
jmp 0x1fa2b
movq 0x38(%rax), %r12
movq (%rsp), %rax
movq 0x10(%rax), %rax
cmpq %rbx, %rax
je 0x1fa80
movq (%rsp), %r14
movl (%rax), %ecx
cmpl (%rbx), %ecx
jne 0x1fa73
movq 0x10(%rax), %rax
cmpl $0x4, (%rax)
jne 0x1fa5f
movsd 0x30(%rax), %xmm0
leaq 0x10(%rsp), %rsi
callq 0x1303a
movq %rax, %rsi
jmp 0x1fa63
movq 0x38(%rax), %rsi
movq %r12, %rdi
callq 0x32f0
testl %eax, %eax
je 0x1fb57
movq 0x18(%r14), %r14
movq 0x10(%r14), %rax
cmpq %rbx, %rax
jne 0x1fa3c
movq 0x8(%rsp), %r14
movl (%rbx), %eax
cmpl $0x10, %eax
je 0x1fae6
cmpl $0xf, %eax
je 0x1fab0
cmpl $0xe, %eax
jne 0x1fb3b
movq 0x18(%rbx), %rdx
movq %r14, %rdi
movq %r15, %rsi
callq 0x1e792
movl $0x1d, %ebp
jmp 0x1fb1c
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 0x8fb5
addq $0x10, %rsp
movq %r14, %rdi
movq %r15, %rsi
movq %rax, %rdx
callq 0x1d87c
movl $0x1e, %ebp
jmp 0x1fb1c
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 0x8fb5
addq $0x10, %rsp
movq %r14, %rdi
movq %r15, %rsi
movq %rax, %rdx
callq 0x1d87c
movl $0x1f, %ebp
movl 0x4(%rbx), %edx
movl %edx, 0x5c(%r15)
movq %r14, %rdi
movq %r15, %rsi
callq 0x1d8f3
movq %r14, %rdi
movq %r15, %rsi
movl %ebp, %edx
callq 0x1d8f3
movq 0x18(%r13), %r13
testq %r13, %r13
jne 0x1f9b1
addq $0x58, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x14543(%rip), %rdx     # 0x340a1
movq 0x8(%rsp), %rdi
movq %r14, %rsi
movq %r12, %rcx
xorl %eax, %eax
callq 0x8de3
leaq 0x144fe(%rip), %rdx     # 0x34075
movq %r14, %rdi
movq %rbp, %rsi
xorl %eax, %eax
callq 0x8de3