// File: /workspace/github_c_makefile_star2_O1/ccxvii[P]mujs/./jsrun.c
// Function: jsR_delproperty
static int jsR_delproperty(js_State *J, js_Object *obj, const char *name)
{
	js_Property *ref;
	int k;

	if (obj->type == JS_CARRAY) {
		if (!strcmp(name, "length"))
			goto dontconf;
		if (obj->u.a.simple)
			jsR_unflattenarray(J, obj);
	}

	else if (obj->type == JS_CSTRING) {
		if (!strcmp(name, "length"))
			goto dontconf;
		if (js_isarrayindex(J, name, &k))
			if (k >= 0 && k < obj->u.s.length)
				goto dontconf;
	}

	else if (obj->type == JS_CREGEXP) {
		if (!strcmp(name, "source")) goto dontconf;
		if (!strcmp(name, "global")) goto dontconf;
		if (!strcmp(name, "ignoreCase")) goto dontconf;
		if (!strcmp(name, "multiline")) goto dontconf;
		if (!strcmp(name, "lastIndex")) goto dontconf;
	}

	else if (obj->type == JS_CUSERDATA) {
		if (obj->u.user.delete && obj->u.user.delete(J, obj->u.user.data, name))
			return 1;
	}

	ref = jsV_getownproperty(J, obj, name);
	if (ref) {
		if (ref->atts & JS_DONTCONF)
			goto dontconf;
		jsV_delproperty(J, obj, name);
	}
	return 1;

dontconf:
	if (J->strict)
		js_typeerror(J, "'%s' is non-configurable", name);
	return 0;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %rbx
movq %rsi, %r15
movq %rdi, %r14
movl (%rsi), %eax
cmpl $0x8, %eax
jg 0x162a1
cmpl $0x1, %eax
je 0x162d3
cmpl $0x8, %eax
jne 0x162fc
leaq 0x1d4f0(%rip), %rsi     # 0x33751
movq %rbx, %rdi
callq 0x32f0
testl %eax, %eax
je 0x163bf
leaq 0x4(%rsp), %r12
movq %rbx, %rsi
movq %r12, %rdx
callq 0x15b35
testl %eax, %eax
setne %cl
movl (%r12), %eax
testl %eax, %eax
setns %dl
andb %cl, %dl
cmpb $0x1, %dl
jne 0x162fc
cmpl 0x20(%r15), %eax
jge 0x162fc
jmp 0x163bf
cmpl $0x9, %eax
je 0x1635c
cmpl $0xf, %eax
jne 0x162fc
movq 0x40(%r15), %rax
testq %rax, %rax
je 0x162fc
movq 0x28(%r15), %rsi
movq %r14, %rdi
movq %rbx, %rdx
callq *%rax
movl $0x1, %ebp
testl %eax, %eax
jne 0x163c8
jmp 0x162fc
leaq 0x1d477(%rip), %rsi     # 0x33751
movq %rbx, %rdi
callq 0x32f0
testl %eax, %eax
je 0x163bf
cmpl $0x0, 0x24(%r15)
je 0x162fc
movq %r14, %rdi
movq %r15, %rsi
callq 0x15b88
movq 0x8(%r15), %r13
leaq 0x2a0b1(%rip), %rbp     # 0x403b8
cmpq %rbp, %r13
je 0x16333
leaq 0x38(%r13), %rsi
movq %rbx, %rdi
callq 0x32f0
testl %eax, %eax
je 0x1632a
movl %eax, %ecx
notl %ecx
shrl $0x1f, %ecx
movq (%r13,%rcx,8), %r13
jmp 0x1632d
movq %r13, %r12
testl %eax, %eax
jne 0x16307
jmp 0x16336
xorl %r12d, %r12d
movl $0x1, %ebp
testq %r12, %r12
je 0x163c8
testb $0x4, 0x14(%r12)
jne 0x163bf
movq %r14, %rdi
movq %r15, %rsi
movq %rbx, %rdx
callq 0x12993
jmp 0x163c8
leaq 0x1e7da(%rip), %rsi     # 0x34b3d
movq %rbx, %rdi
callq 0x32f0
testl %eax, %eax
je 0x163bf
leaq 0x1e7ce(%rip), %rsi     # 0x34b44
movq %rbx, %rdi
callq 0x32f0
testl %eax, %eax
je 0x163bf
leaq 0x1e7c2(%rip), %rsi     # 0x34b4b
movq %rbx, %rdi
callq 0x32f0
testl %eax, %eax
je 0x163bf
leaq 0x1e7ba(%rip), %rsi     # 0x34b56
movq %rbx, %rdi
callq 0x32f0
testl %eax, %eax
je 0x163bf
leaq 0x1e7b1(%rip), %rsi     # 0x34b60
movq %rbx, %rdi
callq 0x32f0
testl %eax, %eax
jne 0x162fc
xorl %ebp, %ebp
cmpl $0x0, 0x34(%r14)
jne 0x163d9
movl %ebp, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x1ec82(%rip), %rsi     # 0x35062
movq %r14, %rdi
movq %rbx, %rdx
xorl %eax, %eax
callq 0xcce3