// File: /workspace/github_c_makefile_star2_O3/ArtifexSoftware[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 0x15de6
cmpl $0x1, %eax
je 0x15e18
cmpl $0x8, %eax
jne 0x15e41
leaq 0x1d9db(%rip), %rsi     # 0x33781
movq %rbx, %rdi
callq 0x32f0
testl %eax, %eax
je 0x15ef8
leaq 0x4(%rsp), %r12
movq %rbx, %rsi
movq %r12, %rdx
callq 0x15659
testl %eax, %eax
setne %cl
movl (%r12), %eax
testl %eax, %eax
setns %dl
andb %cl, %dl
cmpb $0x1, %dl
jne 0x15e41
cmpl 0x20(%r15), %eax
jge 0x15e41
jmp 0x15ef8
cmpl $0x9, %eax
je 0x15e76
cmpl $0xf, %eax
jne 0x15e41
movq 0x40(%r15), %rax
testq %rax, %rax
je 0x15e41
movq 0x28(%r15), %rsi
movq %r14, %rdi
movq %rbx, %rdx
callq *%rax
movl $0x1, %ebp
testl %eax, %eax
jne 0x15f01
jmp 0x15e41
leaq 0x1d962(%rip), %rsi     # 0x33781
movq %rbx, %rdi
callq 0x32f0
testl %eax, %eax
je 0x15ef8
cmpl $0x0, 0x24(%r15)
je 0x15e41
movq %r14, %rdi
movq %r15, %rsi
callq 0x156ab
movq 0x8(%r15), %r12
movl $0x1, %ebp
leaq 0x2a567(%rip), %r13     # 0x403b8
cmpq %r13, %r12
je 0x15f01
leaq 0x38(%r12), %rsi
movq %rbx, %rdi
callq 0x32f0
testl %eax, %eax
je 0x15edb
notl %eax
shrl $0x1f, %eax
movq (%r12,%rax,8), %r12
jmp 0x15e51
leaq 0x1ecf0(%rip), %rsi     # 0x34b6d
movq %rbx, %rdi
callq 0x32f0
testl %eax, %eax
je 0x15ef8
leaq 0x1ece4(%rip), %rsi     # 0x34b74
movq %rbx, %rdi
callq 0x32f0
testl %eax, %eax
je 0x15ef8
leaq 0x1ecd8(%rip), %rsi     # 0x34b7b
movq %rbx, %rdi
callq 0x32f0
testl %eax, %eax
je 0x15ef8
leaq 0x1ecd0(%rip), %rsi     # 0x34b86
movq %rbx, %rdi
callq 0x32f0
testl %eax, %eax
je 0x15ef8
leaq 0x1ecc7(%rip), %rsi     # 0x34b90
movq %rbx, %rdi
callq 0x32f0
testl %eax, %eax
jne 0x15e41
jmp 0x15ef8
testq %r12, %r12
je 0x15f01
testb $0x4, 0x14(%r12)
jne 0x15ef8
movq %r14, %rdi
movq %r15, %rsi
movq %rbx, %rdx
callq 0x125b0
jmp 0x15f01
xorl %ebp, %ebp
cmpl $0x0, 0x34(%r14)
jne 0x15f12
movl %ebp, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x1f179(%rip), %rsi     # 0x35092
movq %r14, %rdi
movq %rbx, %rdx
xorl %eax, %eax
callq 0xca10