	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ecma_builtin_object_object_define_properties
_ecma_builtin_object_object_define_properties: ## @ecma_builtin_object_object_define_properties
	.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	%rdi, %rbx
	movl	%esi, %edi
	callq	_ecma_op_to_object
	movl	%eax, %r12d
	movl	%eax, %edi
	callq	_ECMA_IS_VALUE_ERROR
	testq	%rax, %rax
	jne	LBB0_18
## %bb.1:
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movl	%r12d, %edi
	callq	_ecma_get_object_from_value
	movq	%rax, %rdi
	movq	_ECMA_LIST_CONVERT_FAST_ARRAYS@GOTPCREL(%rip), %rax
	movq	_ECMA_LIST_ENUMERABLE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	callq	_ecma_op_object_get_property_names
	movq	%rax, %rbx
	movq	_ECMA_VALUE_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	(%rbx), %rsi
	movq	8(%rbx), %r13
	movq	_property_descriptors@GOTPCREL(%rip), %r14
	movq	(%r14), %rdi
	movq	_ecma_property_descriptor_t@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_JMEM_DEFINE_LOCAL_ARRAY
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	cmpq	$0, (%rbx)
	je	LBB0_10
## %bb.2:
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r13,%r15,4), %edi
	callq	_ecma_get_string_from_value
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movl	%eax, %esi
	callq	_ecma_op_object_get
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_ECMA_IS_VALUE_ERROR
	testq	%rax, %rax
	jne	LBB0_13
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	leaq	(,%r15,4), %rsi
	addq	(%r14), %rsi
	movl	%ebx, %edi
	callq	_ecma_op_to_property_descriptor
	movl	%eax, %r12d
	movq	_ECMA_PROP_IS_THROW@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	(%r14), %rcx
	orl	%eax, (%rcx,%r15,4)
	movl	%ebx, %edi
	callq	_ecma_free_value
	movl	%r12d, %edi
	callq	_ECMA_IS_VALUE_ERROR
	testq	%rax, %rax
	jne	LBB0_13
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	incq	%r15
	movl	%r12d, %edi
	callq	_ecma_free_value
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	cmpq	%rax, %r15
	jb	LBB0_3
## %bb.6:
	testq	%rax, %rax
	je	LBB0_11
## %bb.7:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %r12
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	leaq	(,%r13,4), %rbx
	movl	(%r12,%r13,4), %edi
	callq	_ecma_get_string_from_value
	addq	(%r14), %rbx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	%eax, %esi
	movq	%rbx, %rdx
	callq	_ecma_op_object_define_own_property
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_ECMA_IS_VALUE_ERROR
	testq	%rax, %rax
	jne	LBB0_14
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	movl	%ebx, %edi
	callq	_ecma_free_value
	incq	%r13
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	cmpq	(%rax), %r13
	jb	LBB0_8
	jmp	LBB0_11
LBB0_13:
	movl	-44(%rbp), %r12d                ## 4-byte Reload
	testq	%r15, %r15
	jne	LBB0_15
	jmp	LBB0_17
LBB0_10:
	xorl	%r15d, %r15d
LBB0_11:
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_ecma_ref_object
	movq	%rbx, %rdi
	callq	_ecma_make_object_value
	movl	%eax, %r12d
	testq	%r15, %r15
	je	LBB0_17
LBB0_15:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r14), %rdi
	addq	%rbx, %rdi
	callq	_ecma_free_property_descriptor
	addq	$4, %rbx
	decq	%r15
	jne	LBB0_16
LBB0_17:
	movq	(%r14), %rdi
	callq	_JMEM_FINALIZE_LOCAL_ARRAY
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_ecma_collection_free
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	callq	_ecma_deref_object
LBB0_18:
	movl	%r12d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_14:
	movl	-44(%rbp), %r12d                ## 4-byte Reload
	jmp	LBB0_15
	.cfi_endproc
                                        ## -- End function
	.comm	_ECMA_LIST_CONVERT_FAST_ARRAYS,4,2 ## @ECMA_LIST_CONVERT_FAST_ARRAYS
	.comm	_ECMA_LIST_ENUMERABLE,4,2       ## @ECMA_LIST_ENUMERABLE
	.comm	_ECMA_VALUE_ERROR,4,2           ## @ECMA_VALUE_ERROR
	.comm	_property_descriptors,8,3       ## @property_descriptors
	.comm	_ecma_property_descriptor_t,4,2 ## @ecma_property_descriptor_t
	.comm	_ECMA_PROP_IS_THROW,4,2         ## @ECMA_PROP_IS_THROW
	.no_dead_strip	_ecma_builtin_object_object_define_properties
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ecma_builtin_object_object_define_properties
_ecma_builtin_object_object_define_properties: ; @ecma_builtin_object_object_define_properties
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x28, x0
	mov	x0, x1
	bl	_ecma_op_to_object
	mov	x20, x0
	bl	_ECMA_IS_VALUE_ERROR
	cbnz	x0, LBB0_16
; %bb.1:
	mov	x0, x20
	bl	_ecma_get_object_from_value
	mov	x19, x0
Lloh0:
	adrp	x8, _ECMA_LIST_CONVERT_FAST_ARRAYS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ECMA_LIST_CONVERT_FAST_ARRAYS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _ECMA_LIST_ENUMERABLE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _ECMA_LIST_ENUMERABLE@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w1, w9, w8
	bl	_ecma_op_object_get_property_names
	mov	x21, x0
Lloh6:
	adrp	x8, _ECMA_VALUE_ERROR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ECMA_VALUE_ERROR@GOTPAGEOFF]
Lloh8:
	ldr	w20, [x8]
Lloh9:
	adrp	x25, _property_descriptors@GOTPAGE
Lloh10:
	ldr	x25, [x25, _property_descriptors@GOTPAGEOFF]
	ldr	x0, [x25]
	ldp	x1, x27, [x21]
Lloh11:
	adrp	x8, _ecma_property_descriptor_t@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ecma_property_descriptor_t@GOTPAGEOFF]
Lloh13:
	ldr	w2, [x8]
	bl	_JMEM_DEFINE_LOCAL_ARRAY
	ldr	x8, [x21]
	cbz	x8, LBB0_10
; %bb.2:
	str	x28, [sp, #8]                   ; 8-byte Folded Spill
	mov	x26, #0
Lloh14:
	adrp	x28, _ECMA_PROP_IS_THROW@GOTPAGE
Lloh15:
	ldr	x28, [x28, _ECMA_PROP_IS_THROW@GOTPAGEOFF]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x27, x26, lsl #2]
	bl	_ecma_get_string_from_value
	mov	x1, x0
	mov	x0, x19
	bl	_ecma_op_object_get
	mov	x23, x0
	bl	_ECMA_IS_VALUE_ERROR
	cbnz	x0, LBB0_12
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x25]
	lsl	x22, x26, #2
	add	x1, x8, x22
	mov	x0, x23
	bl	_ecma_op_to_property_descriptor
	mov	x24, x0
	ldr	w8, [x28]
	ldr	x9, [x25]
	ldr	w10, [x9, x22]
	orr	w8, w10, w8
	str	w8, [x9, x22]
	mov	x0, x23
	bl	_ecma_free_value
	mov	x0, x24
	bl	_ECMA_IS_VALUE_ERROR
	cbnz	x0, LBB0_12
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x26, x26, #1
	mov	x0, x24
	bl	_ecma_free_value
	ldr	x8, [x21]
	cmp	x26, x8
	b.lo	LBB0_3
; %bb.6:
	ldr	x28, [sp, #8]                   ; 8-byte Folded Reload
	cbz	x8, LBB0_11
; %bb.7:
	mov	x24, #0
	ldr	x27, [x21, #8]
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	lsl	x22, x24, #2
	ldr	w0, [x27, x22]
	bl	_ecma_get_string_from_value
	mov	x1, x0
	ldr	x8, [x25]
	add	x2, x8, x22
	mov	x0, x28
	bl	_ecma_op_object_define_own_property
	mov	x23, x0
	bl	_ECMA_IS_VALUE_ERROR
	cbnz	x0, LBB0_13
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x23
	bl	_ecma_free_value
	add	x24, x24, #1
	ldr	x8, [x21]
	cmp	x24, x8
	b.lo	LBB0_8
	b	LBB0_11
LBB0_10:
	mov	x26, #0
LBB0_11:
	mov	x0, x28
	bl	_ecma_ref_object
	mov	x0, x28
	bl	_ecma_make_object_value
	mov	x20, x0
LBB0_12:
	cbz	x26, LBB0_15
LBB0_13:
	mov	x22, #0
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x25]
	add	x0, x8, x22
	bl	_ecma_free_property_descriptor
	add	x22, x22, #4
	subs	x26, x26, #1
	b.ne	LBB0_14
LBB0_15:
	ldr	x0, [x25]
	bl	_JMEM_FINALIZE_LOCAL_ARRAY
	mov	x0, x21
	bl	_ecma_collection_free
	mov	x0, x19
	bl	_ecma_deref_object
LBB0_16:
	mov	x0, x20
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_ECMA_LIST_CONVERT_FAST_ARRAYS,4,2 ; @ECMA_LIST_CONVERT_FAST_ARRAYS
	.comm	_ECMA_LIST_ENUMERABLE,4,2       ; @ECMA_LIST_ENUMERABLE
	.comm	_ECMA_VALUE_ERROR,4,2           ; @ECMA_VALUE_ERROR
	.comm	_property_descriptors,8,3       ; @property_descriptors
	.comm	_ecma_property_descriptor_t,4,2 ; @ecma_property_descriptor_t
	.comm	_ECMA_PROP_IS_THROW,4,2         ; @ECMA_PROP_IS_THROW
	.no_dead_strip	_ecma_builtin_object_object_define_properties
.subsections_via_symbols
