	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function Object_defineProperties
_Object_defineProperties:               ## @Object_defineProperties
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testl	%ecx, %ecx
	je	LBB0_4
## %bb.1:
	movq	%r9, %r14
	movq	%r8, %rbx
	movl	%ecx, %r13d
	movq	%rdi, %r15
	movl	(%r8), %edi
	callq	_is_object_instance
	testl	%eax, %eax
	je	LBB0_4
## %bb.2:
	movl	(%rbx), %edi
	callq	_get_object
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:
	movl	(%rbx), %edi
	callq	_get_object
	movl	%eax, %edi
	callq	_to_jsdisp
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movq	%rax, %r12
	leaq	L_.str.1(%rip), %rdi
	movq	%rax, %rsi
	callq	_TRACE
	cmpl	$2, %r13d
	jb	LBB0_7
## %bb.6:
	movl	4(%rbx), %edx
	jmp	LBB0_8
LBB0_4:
	leaq	L_.str(%rip), %rdi
	callq	_FIXME
	movq	_E_NOTIMPL@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
LBB0_11:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	xorl	%eax, %eax
	callq	_jsval_undefined
	movl	%eax, %edx
LBB0_8:
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_jsdisp_define_properties
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_SUCCEEDED
	testq	%r14, %r14
	je	LBB0_11
## %bb.9:
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:
	movq	%r12, %rdi
	callq	_jsdisp_addref
	movl	%eax, %edi
	callq	_jsval_obj
	movl	%eax, (%r14)
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"not an object\n"

	.comm	_E_NOTIMPL,4,2                  ## @E_NOTIMPL
L_.str.1:                               ## @.str.1
	.asciz	"%p\n"

	.no_dead_strip	_Object_defineProperties
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function Object_defineProperties
_Object_defineProperties:               ; @Object_defineProperties
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	cbz	w3, LBB0_6
; %bb.1:
	mov	x19, x5
	mov	x21, x4
	mov	x23, x3
	mov	x20, x0
	ldr	w0, [x4]
	bl	_is_object_instance
	cbz	w0, LBB0_6
; %bb.2:
	ldr	w0, [x21]
	bl	_get_object
	cbz	w0, LBB0_6
; %bb.3:
	ldr	w0, [x21]
	bl	_get_object
	bl	_to_jsdisp
	cbz	x0, LBB0_6
; %bb.4:
	mov	x22, x0
Lloh0:
	adrp	x0, l_.str.1@PAGE
Lloh1:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x22
	bl	_TRACE
	cmp	w23, #2
	b.lo	LBB0_8
; %bb.5:
	ldr	w2, [x21, #4]
	b	LBB0_9
LBB0_6:
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	bl	_FIXME
Lloh4:
	adrp	x8, _E_NOTIMPL@GOTPAGE
Lloh5:
	ldr	x8, [x8, _E_NOTIMPL@GOTPAGEOFF]
Lloh6:
	ldr	w20, [x8]
LBB0_7:
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_8:
	bl	_jsval_undefined
	mov	x2, x0
LBB0_9:
	mov	x0, x20
	mov	x1, x22
	bl	_jsdisp_define_properties
	mov	x20, x0
	bl	_SUCCEEDED
	cbz	x19, LBB0_7
; %bb.10:
	cbz	x0, LBB0_7
; %bb.11:
	mov	x0, x22
	bl	_jsdisp_addref
	bl	_jsval_obj
	str	w0, [x19]
	b	LBB0_7
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"not an object\n"

	.comm	_E_NOTIMPL,4,2                  ; @E_NOTIMPL
l_.str.1:                               ; @.str.1
	.asciz	"%p\n"

	.no_dead_strip	_Object_defineProperties
.subsections_via_symbols
