	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ecma_builtin_object_object_define_property ## -- Begin function ecma_builtin_object_object_define_property
	.p2align	4, 0x90
_ecma_builtin_object_object_define_property: ## @ecma_builtin_object_object_define_property
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %r14
	leaq	-40(%rbp), %rsi
	movl	%edx, %edi
	callq	_ecma_op_to_property_descriptor
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_ECMA_IS_VALUE_ERROR
	testq	%rax, %rax
	jne	LBB0_4
## %bb.1:
	movq	_ECMA_PROP_IS_THROW@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, -40(%rbp)
	leaq	-40(%rbp), %r12
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%r12, %rdx
	callq	_ecma_op_object_define_own_property
	movl	%eax, %r15d
	movq	%r12, %rdi
	callq	_ecma_free_property_descriptor
	movl	%ebx, %edi
	callq	_ecma_free_value
	movl	%r15d, %edi
	callq	_ECMA_IS_VALUE_ERROR
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movl	%r15d, %ebx
	jmp	LBB0_4
LBB0_3:
	movq	%r14, %rdi
	callq	_ecma_ref_object
	movl	%r15d, %edi
	callq	_ecma_free_value
	movq	%r14, %rdi
	callq	_ecma_make_object_value
	movl	%eax, %ebx
LBB0_4:
	movl	%ebx, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ECMA_PROP_IS_THROW,4,2         ## @ECMA_PROP_IS_THROW
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ecma_builtin_object_object_define_property ; -- Begin function ecma_builtin_object_object_define_property
	.p2align	2
_ecma_builtin_object_object_define_property: ; @ecma_builtin_object_object_define_property
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x21, x1
	mov	x19, x0
	add	x1, sp, #8
	mov	x0, x2
	bl	_ecma_op_to_property_descriptor
	mov	x20, x0
	bl	_ECMA_IS_VALUE_ERROR
	cbnz	x0, LBB0_4
; %bb.1:
Lloh0:
	adrp	x8, _ECMA_PROP_IS_THROW@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ECMA_PROP_IS_THROW@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldr	w9, [sp, #8]
	orr	w8, w9, w8
	str	w8, [sp, #8]
	add	x2, sp, #8
	mov	x0, x19
	mov	x1, x21
	bl	_ecma_op_object_define_own_property
	mov	x21, x0
	add	x0, sp, #8
	bl	_ecma_free_property_descriptor
	mov	x0, x20
	bl	_ecma_free_value
	mov	x0, x21
	bl	_ECMA_IS_VALUE_ERROR
	cbz	x0, LBB0_3
; %bb.2:
	mov	x20, x21
	b	LBB0_4
LBB0_3:
	mov	x0, x19
	bl	_ecma_ref_object
	mov	x0, x21
	bl	_ecma_free_value
	mov	x0, x19
	bl	_ecma_make_object_value
	mov	x20, x0
LBB0_4:
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ECMA_PROP_IS_THROW,4,2         ; @ECMA_PROP_IS_THROW
.subsections_via_symbols
