// File: /workspace/github_c_makefile_star2_O0/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
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq %rdx, -0x20(%rbp)
movq -0x18(%rbp), %rax
cmpl $0x1, (%rax)
jne 0x17073
movq -0x20(%rbp), %rdi
leaq 0x24db4(%rip), %rsi     # 0x3bdfc
callq 0x32d0
cmpl $0x0, %eax
jne 0x17057
jmp 0x171e6
movq -0x18(%rbp), %rax
cmpl $0x0, 0x24(%rax)
je 0x1706e
movq -0x10(%rbp), %rdi
movq -0x18(%rbp), %rsi
callq 0x168a0
jmp 0x1719f
movq -0x18(%rbp), %rax
cmpl $0x8, (%rax)
jne 0x170ca
movq -0x20(%rbp), %rdi
leaq 0x24d75(%rip), %rsi     # 0x3bdfc
callq 0x32d0
cmpl $0x0, %eax
jne 0x17096
jmp 0x171e6
movq -0x10(%rbp), %rdi
movq -0x20(%rbp), %rsi
leaq -0x2c(%rbp), %rdx
callq 0x167c0
cmpl $0x0, %eax
je 0x170c5
cmpl $0x0, -0x2c(%rbp)
jl 0x170c3
movl -0x2c(%rbp), %eax
movq -0x18(%rbp), %rcx
cmpl 0x20(%rcx), %eax
jge 0x170c3
jmp 0x171e6
jmp 0x170c5
jmp 0x1719d
movq -0x18(%rbp), %rax
cmpl $0x9, (%rax)
jne 0x1715b
movq -0x20(%rbp), %rdi
leaq 0x26111(%rip), %rsi     # 0x3d1f3
callq 0x32d0
cmpl $0x0, %eax
jne 0x170f1
jmp 0x171e6
movq -0x20(%rbp), %rdi
leaq 0x260fe(%rip), %rsi     # 0x3d1fa
callq 0x32d0
cmpl $0x0, %eax
jne 0x1710b
jmp 0x171e6
movq -0x20(%rbp), %rdi
leaq 0x260eb(%rip), %rsi     # 0x3d201
callq 0x32d0
cmpl $0x0, %eax
jne 0x17125
jmp 0x171e6
movq -0x20(%rbp), %rdi
leaq 0x260dc(%rip), %rsi     # 0x3d20c
callq 0x32d0
cmpl $0x0, %eax
jne 0x1713f
jmp 0x171e6
movq -0x20(%rbp), %rdi
leaq 0x260cc(%rip), %rsi     # 0x3d216
callq 0x32d0
cmpl $0x0, %eax
jne 0x17159
jmp 0x171e6
jmp 0x1719b
movq -0x18(%rbp), %rax
cmpl $0xf, (%rax)
jne 0x17199
movq -0x18(%rbp), %rax
cmpq $0x0, 0x40(%rax)
je 0x17197
movq -0x18(%rbp), %rax
movq 0x40(%rax), %rax
movq -0x10(%rbp), %rdi
movq -0x18(%rbp), %rcx
movq 0x28(%rcx), %rsi
movq -0x20(%rbp), %rdx
callq *%rax
cmpl $0x0, %eax
je 0x17197
movl $0x1, -0x4(%rbp)
jmp 0x1720d
jmp 0x17199
jmp 0x1719b
jmp 0x1719d
jmp 0x1719f
movq -0x10(%rbp), %rdi
movq -0x18(%rbp), %rsi
movq -0x20(%rbp), %rdx
callq 0x12440
movq %rax, -0x28(%rbp)
cmpq $0x0, -0x28(%rbp)
je 0x171dd
movq -0x28(%rbp), %rax
movl 0x14(%rax), %eax
andl $0x4, %eax
cmpl $0x0, %eax
je 0x171cc
jmp 0x171e6
movq -0x10(%rbp), %rdi
movq -0x18(%rbp), %rsi
movq -0x20(%rbp), %rdx
callq 0x12770
movl $0x1, -0x4(%rbp)
jmp 0x1720d
movq -0x10(%rbp), %rax
cmpl $0x0, 0x34(%rax)
je 0x17206
movq -0x10(%rbp), %rdi
movq -0x20(%rbp), %rdx
leaq 0x26524(%rip), %rsi     # 0x3d723
movb $0x0, %al
callq 0xbfe0
movl $0x0, -0x4(%rbp)
movl -0x4(%rbp), %eax
addq $0x30, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)