	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function Object_defineProperty
_Object_defineProperty:                 ## @Object_defineProperty
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %r15
	movq	%r8, %rbx
	movl	%ecx, %r14d
	movq	%rdi, %r12
	leaq	L_.str(%rip), %rdi
	callq	_TRACE
	testl	%r14d, %r14d
	je	LBB0_20
## %bb.1:
	movl	(%rbx), %edi
	callq	_is_object_instance
	testq	%rax, %rax
	je	LBB0_20
## %bb.2:
	movl	(%rbx), %edi
	callq	_get_object
	movl	%eax, %edi
	callq	_to_jsdisp
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	cmpl	$2, %r14d
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	jb	LBB0_6
## %bb.5:
	movl	4(%rbx), %esi
	jmp	LBB0_7
LBB0_20:
	movq	_JS_E_OBJECT_EXPECTED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	xorl	%edx, %edx
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_throw_type_error               ## TAILCALL
LBB0_3:
	leaq	L_.str.1(%rip), %rdi
	callq	_FIXME
	movq	_E_NOTIMPL@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	jmp	LBB0_19
LBB0_6:
	xorl	%eax, %eax
	callq	_jsval_undefined
	movl	%eax, %esi
LBB0_7:
	leaq	-64(%rbp), %rdx
	leaq	-72(%rbp), %rcx
	movq	%r12, %rdi
	callq	_to_flat_string
	movl	%eax, %r13d
	movl	%eax, %edi
	callq	_FAILED
	testq	%rax, %rax
	jne	LBB0_19
## %bb.8:
	cmpl	$3, %r14d
	jb	LBB0_13
## %bb.9:
	movl	8(%rbx), %edi
	callq	_is_object_instance
	testq	%rax, %rax
	je	LBB0_13
## %bb.10:
	movl	8(%rbx), %edi
	callq	_get_object
	movl	%eax, %edi
	callq	_to_jsdisp
	testq	%rax, %rax
	je	LBB0_12
## %bb.11:
	leaq	-44(%rbp), %rdx
	movq	%r12, %rdi
	movq	%rax, %rsi
	callq	_to_property_descriptor
	jmp	LBB0_14
LBB0_13:
	movq	_JS_E_OBJECT_EXPECTED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	xorl	%edx, %edx
	callq	_throw_type_error
LBB0_14:
	movl	%eax, %r13d
LBB0_15:
	movq	-64(%rbp), %rdi
	callq	_jsstr_release
	movl	%r13d, %edi
	callq	_FAILED
	testq	%rax, %rax
	jne	LBB0_19
## %bb.16:
	movq	-72(%rbp), %rsi
	leaq	-44(%rbp), %rbx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rdx
	callq	_jsdisp_define_property
	movl	%eax, %r13d
	movq	%rbx, %rdi
	callq	_release_property_descriptor
	movl	%r13d, %edi
	callq	_SUCCEEDED
	testq	%r15, %r15
	je	LBB0_19
## %bb.17:
	testq	%rax, %rax
	je	LBB0_19
## %bb.18:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_jsdisp_addref
	movl	%eax, %edi
	callq	_jsval_obj
	movl	%eax, (%r15)
LBB0_19:
	movl	%r13d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	leaq	L_.str.1(%rip), %rdi
	callq	_FIXME
	movq	_E_NOTIMPL@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	jmp	LBB0_15
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\n"

	.comm	_JS_E_OBJECT_EXPECTED,4,2       ## @JS_E_OBJECT_EXPECTED
L_.str.1:                               ## @.str.1
	.asciz	"not implemented non-JS object\n"

	.comm	_E_NOTIMPL,4,2                  ## @E_NOTIMPL
	.no_dead_strip	_Object_defineProperty
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function Object_defineProperty
_Object_defineProperty:                 ; @Object_defineProperty
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x5
	mov	x22, x4
	mov	x24, x3
	mov	x21, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_TRACE
	cbz	w24, LBB0_5
; %bb.1:
	ldr	w0, [x22]
	bl	_is_object_instance
	cbz	x0, LBB0_5
; %bb.2:
	ldr	w0, [x22]
	bl	_get_object
	bl	_to_jsdisp
	cbz	x0, LBB0_6
; %bb.3:
	mov	x20, x0
	cmp	w24, #2
	b.lo	LBB0_7
; %bb.4:
	ldr	w1, [x22, #4]
	b	LBB0_8
LBB0_5:
Lloh2:
	adrp	x8, _JS_E_OBJECT_EXPECTED@GOTPAGE
Lloh3:
	ldr	x8, [x8, _JS_E_OBJECT_EXPECTED@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	x0, x21
	mov	x2, #0
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	b	_throw_type_error
LBB0_6:
Lloh5:
	adrp	x0, l_.str.1@PAGE
Lloh6:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_FIXME
Lloh7:
	adrp	x8, _E_NOTIMPL@GOTPAGE
Lloh8:
	ldr	x8, [x8, _E_NOTIMPL@GOTPAGEOFF]
Lloh9:
	ldr	w23, [x8]
	b	LBB0_19
LBB0_7:
	bl	_jsval_undefined
	mov	x1, x0
LBB0_8:
	add	x2, sp, #8
	add	x3, sp, #16
	mov	x0, x21
	bl	_to_flat_string
	mov	x23, x0
	bl	_FAILED
	cbnz	x0, LBB0_19
; %bb.9:
	cmp	w24, #3
	b.lo	LBB0_13
; %bb.10:
	ldr	w0, [x22, #8]
	bl	_is_object_instance
	cbz	x0, LBB0_13
; %bb.11:
	ldr	w0, [x22, #8]
	bl	_get_object
	bl	_to_jsdisp
	cbz	x0, LBB0_20
; %bb.12:
	mov	x1, x0
	add	x2, sp, #28
	mov	x0, x21
	bl	_to_property_descriptor
	b	LBB0_14
LBB0_13:
Lloh10:
	adrp	x8, _JS_E_OBJECT_EXPECTED@GOTPAGE
Lloh11:
	ldr	x8, [x8, _JS_E_OBJECT_EXPECTED@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
	mov	x0, x21
	mov	x2, #0
	bl	_throw_type_error
LBB0_14:
	mov	x23, x0
LBB0_15:
	ldr	x0, [sp, #8]
	bl	_jsstr_release
	mov	x0, x23
	bl	_FAILED
	cbnz	x0, LBB0_19
; %bb.16:
	ldr	x1, [sp, #16]
	add	x2, sp, #28
	mov	x0, x20
	bl	_jsdisp_define_property
	mov	x23, x0
	add	x0, sp, #28
	bl	_release_property_descriptor
	mov	x0, x23
	bl	_SUCCEEDED
	cbz	x19, LBB0_19
; %bb.17:
	cbz	x0, LBB0_19
; %bb.18:
	mov	x0, x20
	bl	_jsdisp_addref
	bl	_jsval_obj
	str	w0, [x19]
LBB0_19:
	mov	x0, x23
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_20:
Lloh13:
	adrp	x0, l_.str.1@PAGE
Lloh14:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_FIXME
Lloh15:
	adrp	x8, _E_NOTIMPL@GOTPAGE
Lloh16:
	ldr	x8, [x8, _E_NOTIMPL@GOTPAGEOFF]
Lloh17:
	ldr	w23, [x8]
	b	LBB0_15
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\n"

	.comm	_JS_E_OBJECT_EXPECTED,4,2       ; @JS_E_OBJECT_EXPECTED
l_.str.1:                               ; @.str.1
	.asciz	"not implemented non-JS object\n"

	.comm	_E_NOTIMPL,4,2                  ; @E_NOTIMPL
	.no_dead_strip	_Object_defineProperty
.subsections_via_symbols
