	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function Object_getOwnPropertyDescriptor
_Object_getOwnPropertyDescriptor:       ## @Object_getOwnPropertyDescriptor
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %r14
	movq	%r8, %r15
	movl	%ecx, %ebx
	movq	%rdi, %r13
	leaq	L_.str(%rip), %rdi
	callq	_TRACE
	testl	%ebx, %ebx
	je	LBB0_35
## %bb.1:
	movl	(%r15), %edi
	callq	_is_object_instance
	testl	%eax, %eax
	je	LBB0_35
## %bb.2:
	movl	(%r15), %edi
	callq	_get_object
	movl	%eax, %edi
	callq	_to_jsdisp
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	%rax, %r12
	cmpl	$2, %ebx
	jb	LBB0_6
## %bb.5:
	movl	4(%r15), %esi
	jmp	LBB0_7
LBB0_35:
	movq	_JS_E_OBJECT_EXPECTED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	xorl	%edx, %edx
	addq	$72, %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
	movq	(%rax), %r15
	jmp	LBB0_34
LBB0_6:
	xorl	%eax, %eax
	callq	_jsval_undefined
	movl	%eax, %esi
LBB0_7:
	leaq	-56(%rbp), %rdx
	leaq	-64(%rbp), %rcx
	movq	%r13, %rdi
	callq	_to_flat_string
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_FAILED
	testq	%rax, %rax
	jne	LBB0_34
## %bb.8:
	movq	-64(%rbp), %rsi
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-104(%rbp), %rcx
	movq	%r12, %rdi
	callq	_jsdisp_get_own_property
	movq	%rax, %r15
	movq	-56(%rbp), %rdi
	callq	_jsstr_release
	movq	_DISP_E_UNKNOWNNAME@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r15
	jne	LBB0_12
## %bb.9:
	testq	%r14, %r14
	je	LBB0_11
## %bb.10:
	xorl	%eax, %eax
	callq	_jsval_undefined
	movl	%eax, (%r14)
LBB0_11:
	movq	_S_OK@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	jmp	LBB0_34
LBB0_12:
	movq	%r15, %rdi
	callq	_FAILED
	testq	%rax, %rax
	jne	LBB0_34
## %bb.13:
	leaq	-48(%rbp), %rdx
	movq	%r13, %rdi
	xorl	%esi, %esi
	callq	_create_object
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_FAILED
	testq	%rax, %rax
	jne	LBB0_34
## %bb.14:
	movq	-72(%rbp), %rax
	movq	-48(%rbp), %rbx
	orq	-80(%rbp), %rax
	je	LBB0_23
## %bb.15:
	movq	_getW@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	_PROPF_ALL@GOTPCREL(%rip), %r13
	movl	(%r13), %r12d
	movq	-88(%rbp), %rdi
	testq	%rdi, %rdi
	je	LBB0_17
## %bb.16:
	callq	_jsval_obj
	jmp	LBB0_18
LBB0_23:
	movq	_valueW@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	-100(%rbp), %edx
	movq	%rbx, %rdi
	callq	_jsdisp_propput_name
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_SUCCEEDED
	testq	%rax, %rax
	je	LBB0_26
## %bb.24:
	movq	-48(%rbp), %r15
	movq	_writableW@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	_PROPF_ALL@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_PROPF_WRITABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%edi, %edi
	andl	-104(%rbp), %eax
	setne	%dil
	callq	_jsval_bool
	movq	%r15, %rdi
	movl	%r12d, %esi
	movl	%ebx, %edx
	jmp	LBB0_25
LBB0_17:
	xorl	%eax, %eax
	callq	_jsval_undefined
LBB0_18:
	movl	%eax, %ecx
	movq	%rbx, %rdi
	movl	%r15d, %esi
	movl	%r12d, %edx
	callq	_jsdisp_define_data_property
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_SUCCEEDED
	testq	%rax, %rax
	je	LBB0_26
## %bb.19:
	movq	-48(%rbp), %r15
	movq	_setW@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	(%r13), %r12d
	movq	-96(%rbp), %rdi
	testq	%rdi, %rdi
	je	LBB0_21
## %bb.20:
	callq	_jsval_obj
	jmp	LBB0_22
LBB0_21:
	xorl	%eax, %eax
	callq	_jsval_undefined
LBB0_22:
	movq	%r15, %rdi
	movl	%ebx, %esi
	movl	%r12d, %edx
LBB0_25:
	movl	%eax, %ecx
	callq	_jsdisp_define_data_property
	movq	%rax, %r15
LBB0_26:
	movq	%r15, %rdi
	callq	_SUCCEEDED
	testq	%rax, %rax
	je	LBB0_28
## %bb.27:
	movq	-48(%rbp), %r15
	movq	_enumerableW@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	_PROPF_ALL@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_PROPF_ENUMERABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%edi, %edi
	andl	-104(%rbp), %eax
	setne	%dil
	callq	_jsval_bool
	movq	%r15, %rdi
	movl	%r12d, %esi
	movl	%ebx, %edx
	movl	%eax, %ecx
	callq	_jsdisp_define_data_property
	movq	%rax, %r15
LBB0_28:
	movq	%r15, %rdi
	callq	_SUCCEEDED
	testq	%rax, %rax
	je	LBB0_30
## %bb.29:
	movq	-48(%rbp), %r15
	movq	_configurableW@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	_PROPF_ALL@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_PROPF_CONFIGURABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%edi, %edi
	andl	-104(%rbp), %eax
	setne	%dil
	callq	_jsval_bool
	movq	%r15, %rdi
	movl	%r12d, %esi
	movl	%ebx, %edx
	movl	%eax, %ecx
	callq	_jsdisp_define_data_property
	movq	%rax, %r15
LBB0_30:
	leaq	-104(%rbp), %rdi
	callq	_release_property_descriptor
	movq	%r15, %rdi
	callq	_SUCCEEDED
	movq	-48(%rbp), %rdi
	testq	%r14, %r14
	je	LBB0_33
## %bb.31:
	testq	%rax, %rax
	je	LBB0_33
## %bb.32:
	callq	_jsval_obj
	movl	%eax, (%r14)
	jmp	LBB0_34
LBB0_33:
	callq	_jsdisp_release
LBB0_34:
	movq	%r15, %rax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.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,8,3                  ## @E_NOTIMPL
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_DISP_E_UNKNOWNNAME,8,3         ## @DISP_E_UNKNOWNNAME
	.comm	_S_OK,8,3                       ## @S_OK
	.comm	_getW,4,2                       ## @getW
	.comm	_PROPF_ALL,4,2                  ## @PROPF_ALL
	.comm	_setW,4,2                       ## @setW
	.comm	_valueW,4,2                     ## @valueW
	.comm	_writableW,4,2                  ## @writableW
	.comm	_PROPF_WRITABLE,4,2             ## @PROPF_WRITABLE
	.comm	_enumerableW,4,2                ## @enumerableW
	.comm	_PROPF_ENUMERABLE,4,2           ## @PROPF_ENUMERABLE
	.comm	_configurableW,4,2              ## @configurableW
	.comm	_PROPF_CONFIGURABLE,4,2         ## @PROPF_CONFIGURABLE
	.no_dead_strip	_Object_getOwnPropertyDescriptor
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function Object_getOwnPropertyDescriptor
_Object_getOwnPropertyDescriptor:       ; @Object_getOwnPropertyDescriptor
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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	x20, x4
	mov	x23, x3
	mov	x21, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_TRACE
	cbz	w23, LBB0_5
; %bb.1:
	ldr	w0, [x20]
	bl	_is_object_instance
	cbz	w0, LBB0_5
; %bb.2:
	ldr	w0, [x20]
	bl	_get_object
	bl	_to_jsdisp
	cbz	x0, LBB0_6
; %bb.3:
	mov	x22, x0
	cmp	w23, #2
	b.lo	LBB0_7
; %bb.4:
	ldr	w1, [x20, #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, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #128
	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	x20, [x8]
	b	LBB0_34
LBB0_7:
	bl	_jsval_undefined
	mov	x1, x0
LBB0_8:
	mov	x2, sp
	add	x3, sp, #8
	mov	x0, x21
	bl	_to_flat_string
	mov	x20, x0
	bl	_FAILED
	cbnz	x0, LBB0_34
; %bb.9:
	ldr	x1, [sp, #8]
Lloh10:
	adrp	x8, _FALSE@GOTPAGE
Lloh11:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh12:
	ldr	w2, [x8]
	add	x3, sp, #24
	mov	x0, x22
	bl	_jsdisp_get_own_property
	mov	x20, x0
	ldr	x0, [sp]
	bl	_jsstr_release
Lloh13:
	adrp	x8, _DISP_E_UNKNOWNNAME@GOTPAGE
Lloh14:
	ldr	x8, [x8, _DISP_E_UNKNOWNNAME@GOTPAGEOFF]
Lloh15:
	ldr	x8, [x8]
	cmp	x20, x8
	b.ne	LBB0_13
; %bb.10:
	cbz	x19, LBB0_12
; %bb.11:
	bl	_jsval_undefined
	str	w0, [x19]
LBB0_12:
Lloh16:
	adrp	x8, _S_OK@GOTPAGE
Lloh17:
	ldr	x8, [x8, _S_OK@GOTPAGEOFF]
Lloh18:
	ldr	x20, [x8]
	b	LBB0_34
LBB0_13:
	mov	x0, x20
	bl	_FAILED
	cbnz	x0, LBB0_34
; %bb.14:
	add	x2, sp, #16
	mov	x0, x21
	mov	x1, #0
	bl	_create_object
	mov	x20, x0
	bl	_FAILED
	cbnz	x0, LBB0_34
; %bb.15:
	ldp	x9, x8, [sp, #48]
	ldr	x20, [sp, #16]
	orr	x8, x8, x9
	cbz	x8, LBB0_18
; %bb.16:
Lloh19:
	adrp	x8, _getW@GOTPAGE
Lloh20:
	ldr	x8, [x8, _getW@GOTPAGEOFF]
Lloh21:
	ldr	w21, [x8]
Lloh22:
	adrp	x23, _PROPF_ALL@GOTPAGE
Lloh23:
	ldr	x23, [x23, _PROPF_ALL@GOTPAGEOFF]
	ldr	w22, [x23]
	ldr	x0, [sp, #40]
	cbz	x0, LBB0_20
; %bb.17:
	bl	_jsval_obj
	b	LBB0_21
LBB0_18:
Lloh24:
	adrp	x8, _valueW@GOTPAGE
Lloh25:
	ldr	x8, [x8, _valueW@GOTPAGEOFF]
Lloh26:
	ldr	w1, [x8]
	ldr	w2, [sp, #28]
	mov	x0, x20
	bl	_jsdisp_propput_name
	mov	x20, x0
	bl	_SUCCEEDED
	cbz	x0, LBB0_26
; %bb.19:
	ldr	x20, [sp, #16]
Lloh27:
	adrp	x8, _writableW@GOTPAGE
Lloh28:
	ldr	x8, [x8, _writableW@GOTPAGEOFF]
Lloh29:
	ldr	w21, [x8]
Lloh30:
	adrp	x8, _PROPF_ALL@GOTPAGE
Lloh31:
	ldr	x8, [x8, _PROPF_ALL@GOTPAGEOFF]
Lloh32:
	ldr	w22, [x8]
	ldr	w8, [sp, #24]
Lloh33:
	adrp	x9, _PROPF_WRITABLE@GOTPAGE
Lloh34:
	ldr	x9, [x9, _PROPF_WRITABLE@GOTPAGEOFF]
Lloh35:
	ldr	w9, [x9]
	tst	w9, w8
	cset	w0, ne
	bl	_jsval_bool
	b	LBB0_25
LBB0_20:
	bl	_jsval_undefined
LBB0_21:
	mov	x3, x0
	mov	x0, x20
	mov	x1, x21
	mov	x2, x22
	bl	_jsdisp_define_data_property
	mov	x20, x0
	bl	_SUCCEEDED
	cbz	x0, LBB0_26
; %bb.22:
	ldr	x20, [sp, #16]
Lloh36:
	adrp	x8, _setW@GOTPAGE
Lloh37:
	ldr	x8, [x8, _setW@GOTPAGEOFF]
Lloh38:
	ldr	w21, [x8]
	ldr	w22, [x23]
	ldr	x0, [sp, #32]
	cbz	x0, LBB0_24
; %bb.23:
	bl	_jsval_obj
	b	LBB0_25
LBB0_24:
	bl	_jsval_undefined
LBB0_25:
	mov	x3, x0
	mov	x0, x20
	mov	x1, x21
	mov	x2, x22
	bl	_jsdisp_define_data_property
	mov	x20, x0
LBB0_26:
	mov	x0, x20
	bl	_SUCCEEDED
	cbz	x0, LBB0_28
; %bb.27:
	ldr	x20, [sp, #16]
Lloh39:
	adrp	x8, _enumerableW@GOTPAGE
Lloh40:
	ldr	x8, [x8, _enumerableW@GOTPAGEOFF]
Lloh41:
	ldr	w21, [x8]
Lloh42:
	adrp	x8, _PROPF_ALL@GOTPAGE
Lloh43:
	ldr	x8, [x8, _PROPF_ALL@GOTPAGEOFF]
Lloh44:
	ldr	w22, [x8]
	ldr	w8, [sp, #24]
Lloh45:
	adrp	x9, _PROPF_ENUMERABLE@GOTPAGE
Lloh46:
	ldr	x9, [x9, _PROPF_ENUMERABLE@GOTPAGEOFF]
Lloh47:
	ldr	w9, [x9]
	tst	w9, w8
	cset	w0, ne
	bl	_jsval_bool
	mov	x3, x0
	mov	x0, x20
	mov	x1, x21
	mov	x2, x22
	bl	_jsdisp_define_data_property
	mov	x20, x0
LBB0_28:
	mov	x0, x20
	bl	_SUCCEEDED
	cbz	x0, LBB0_30
; %bb.29:
	ldr	x20, [sp, #16]
Lloh48:
	adrp	x8, _configurableW@GOTPAGE
Lloh49:
	ldr	x8, [x8, _configurableW@GOTPAGEOFF]
Lloh50:
	ldr	w21, [x8]
Lloh51:
	adrp	x8, _PROPF_ALL@GOTPAGE
Lloh52:
	ldr	x8, [x8, _PROPF_ALL@GOTPAGEOFF]
Lloh53:
	ldr	w22, [x8]
	ldr	w8, [sp, #24]
Lloh54:
	adrp	x9, _PROPF_CONFIGURABLE@GOTPAGE
Lloh55:
	ldr	x9, [x9, _PROPF_CONFIGURABLE@GOTPAGEOFF]
Lloh56:
	ldr	w9, [x9]
	tst	w9, w8
	cset	w0, ne
	bl	_jsval_bool
	mov	x3, x0
	mov	x0, x20
	mov	x1, x21
	mov	x2, x22
	bl	_jsdisp_define_data_property
	mov	x20, x0
LBB0_30:
	add	x0, sp, #24
	bl	_release_property_descriptor
	mov	x0, x20
	bl	_SUCCEEDED
	mov	x8, x0
	ldr	x0, [sp, #16]
	cbz	x19, LBB0_33
; %bb.31:
	cbz	x8, LBB0_33
; %bb.32:
	bl	_jsval_obj
	str	w0, [x19]
	b	LBB0_34
LBB0_33:
	bl	_jsdisp_release
LBB0_34:
	mov	x0, x20
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.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,8,3                  ; @E_NOTIMPL
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_DISP_E_UNKNOWNNAME,8,3         ; @DISP_E_UNKNOWNNAME
	.comm	_S_OK,8,3                       ; @S_OK
	.comm	_getW,4,2                       ; @getW
	.comm	_PROPF_ALL,4,2                  ; @PROPF_ALL
	.comm	_setW,4,2                       ; @setW
	.comm	_valueW,4,2                     ; @valueW
	.comm	_writableW,4,2                  ; @writableW
	.comm	_PROPF_WRITABLE,4,2             ; @PROPF_WRITABLE
	.comm	_enumerableW,4,2                ; @enumerableW
	.comm	_PROPF_ENUMERABLE,4,2           ; @PROPF_ENUMERABLE
	.comm	_configurableW,4,2              ; @configurableW
	.comm	_PROPF_CONFIGURABLE,4,2         ; @PROPF_CONFIGURABLE
	.no_dead_strip	_Object_getOwnPropertyDescriptor
.subsections_via_symbols
