	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ecma_builtin_object_frozen_or_sealed_helper
_ecma_builtin_object_frozen_or_sealed_helper: ## @ecma_builtin_object_frozen_or_sealed_helper
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r13d
	movq	_ECMA_OBJECT_ROUTINE_IS_FROZEN@GOTPCREL(%rip), %rax
	cmpl	%esi, (%rax)
	sete	%al
	movq	_ECMA_OBJECT_ROUTINE_IS_SEALED@GOTPCREL(%rip), %rcx
	cmpl	%esi, (%rcx)
	movq	%rdi, %r15
	sete	%cl
	orb	%al, %cl
	movzbl	%cl, %edi
	callq	_JERRY_ASSERT
	movq	%r15, %rdi
	callq	_ecma_get_object_extensible
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_ECMA_VALUE_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	jmp	LBB0_12
LBB0_2:
	movq	_ECMA_VALUE_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_ECMA_LIST_NO_OPTS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_ecma_op_object_get_property_names
	movq	%rax, %r12
	cmpq	$0, (%rax)
	je	LBB0_11
## %bb.3:
	movl	%ebx, -44(%rbp)                 ## 4-byte Spill
	movq	8(%r12), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax,%r14,4), %edi
	callq	_ecma_get_string_from_value
	movq	_ECMA_PROPERTY_GET_NO_OPTIONS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	%r15, %rdi
	movq	%rax, %rsi
	xorl	%edx, %edx
	callq	_ecma_op_object_get_own_property
	movl	%eax, %ebx
	movq	_ECMA_OBJECT_ROUTINE_IS_FROZEN@GOTPCREL(%rip), %rax
	cmpl	%r13d, (%rax)
	jne	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	%ebx, %edi
	callq	_ECMA_PROPERTY_GET_TYPE
	movq	_ECMA_PROPERTY_TYPE_NAMEDACCESSOR@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	%ebx, %edi
	callq	_ecma_is_property_writable
	testq	%rax, %rax
	jne	LBB0_10
LBB0_7:                                 ##   in Loop: Header=BB0_4 Depth=1
	movl	%ebx, %edi
	callq	_ecma_is_property_configurable
	testq	%rax, %rax
	jne	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_4 Depth=1
	incq	%r14
	cmpq	(%r12), %r14
	jb	LBB0_4
## %bb.9:
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	jmp	LBB0_11
LBB0_10:
	movq	_ECMA_VALUE_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
LBB0_11:
	movq	%r12, %rdi
	callq	_ecma_collection_free
LBB0_12:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ECMA_OBJECT_ROUTINE_IS_FROZEN,4,2 ## @ECMA_OBJECT_ROUTINE_IS_FROZEN
	.comm	_ECMA_OBJECT_ROUTINE_IS_SEALED,4,2 ## @ECMA_OBJECT_ROUTINE_IS_SEALED
	.comm	_ECMA_VALUE_FALSE,4,2           ## @ECMA_VALUE_FALSE
	.comm	_ECMA_VALUE_TRUE,4,2            ## @ECMA_VALUE_TRUE
	.comm	_ECMA_LIST_NO_OPTS,4,2          ## @ECMA_LIST_NO_OPTS
	.comm	_ECMA_PROPERTY_GET_NO_OPTIONS,4,2 ## @ECMA_PROPERTY_GET_NO_OPTIONS
	.comm	_ECMA_PROPERTY_TYPE_NAMEDACCESSOR,8,3 ## @ECMA_PROPERTY_TYPE_NAMEDACCESSOR
	.no_dead_strip	_ecma_builtin_object_frozen_or_sealed_helper
.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_frozen_or_sealed_helper
_ecma_builtin_object_frozen_or_sealed_helper: ; @ecma_builtin_object_frozen_or_sealed_helper
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x24, _ECMA_OBJECT_ROUTINE_IS_FROZEN@GOTPAGE
Lloh1:
	ldr	x24, [x24, _ECMA_OBJECT_ROUTINE_IS_FROZEN@GOTPAGEOFF]
	ldr	w8, [x24]
	cmp	w8, w1
Lloh2:
	adrp	x8, _ECMA_OBJECT_ROUTINE_IS_SEALED@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ECMA_OBJECT_ROUTINE_IS_SEALED@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	ccmp	w8, w1, #4, ne
	cset	w0, eq
	bl	_JERRY_ASSERT
	mov	x0, x21
	bl	_ecma_get_object_extensible
	cbz	x0, LBB0_2
; %bb.1:
Lloh5:
	adrp	x8, _ECMA_VALUE_FALSE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ECMA_VALUE_FALSE@GOTPAGEOFF]
Lloh7:
	ldr	w19, [x8]
	b	LBB0_11
LBB0_2:
Lloh8:
	adrp	x8, _ECMA_VALUE_TRUE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ECMA_VALUE_TRUE@GOTPAGEOFF]
Lloh10:
	ldr	w19, [x8]
Lloh11:
	adrp	x8, _ECMA_LIST_NO_OPTS@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ECMA_LIST_NO_OPTS@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_ecma_op_object_get_property_names
	mov	x22, x0
	ldr	x8, [x0]
	cbz	x8, LBB0_10
; %bb.3:
	mov	x25, #0
	ldr	x26, [x22, #8]
Lloh14:
	adrp	x28, _ECMA_PROPERTY_GET_NO_OPTIONS@GOTPAGE
Lloh15:
	ldr	x28, [x28, _ECMA_PROPERTY_GET_NO_OPTIONS@GOTPAGEOFF]
Lloh16:
	adrp	x27, _ECMA_PROPERTY_TYPE_NAMEDACCESSOR@GOTPAGE
Lloh17:
	ldr	x27, [x27, _ECMA_PROPERTY_TYPE_NAMEDACCESSOR@GOTPAGEOFF]
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x26, x25, lsl #2]
	bl	_ecma_get_string_from_value
	mov	x1, x0
	ldr	w3, [x28]
	mov	x0, x21
	mov	x2, #0
	bl	_ecma_op_object_get_own_property
	mov	x23, x0
	ldr	w8, [x24]
	cmp	w8, w20
	b.ne	LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x23
	bl	_ECMA_PROPERTY_GET_TYPE
	ldr	x8, [x27]
	cmp	x0, x8
	b.eq	LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x23
	bl	_ecma_is_property_writable
	cbnz	x0, LBB0_9
LBB0_7:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x23
	bl	_ecma_is_property_configurable
	cbnz	x0, LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x25, x25, #1
	ldr	x8, [x22]
	cmp	x25, x8
	b.lo	LBB0_4
	b	LBB0_10
LBB0_9:
Lloh18:
	adrp	x8, _ECMA_VALUE_FALSE@GOTPAGE
Lloh19:
	ldr	x8, [x8, _ECMA_VALUE_FALSE@GOTPAGEOFF]
Lloh20:
	ldr	w19, [x8]
LBB0_10:
	mov	x0, x22
	bl	_ecma_collection_free
LBB0_11:
	mov	x0, x19
	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
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_ECMA_OBJECT_ROUTINE_IS_FROZEN,4,2 ; @ECMA_OBJECT_ROUTINE_IS_FROZEN
	.comm	_ECMA_OBJECT_ROUTINE_IS_SEALED,4,2 ; @ECMA_OBJECT_ROUTINE_IS_SEALED
	.comm	_ECMA_VALUE_FALSE,4,2           ; @ECMA_VALUE_FALSE
	.comm	_ECMA_VALUE_TRUE,4,2            ; @ECMA_VALUE_TRUE
	.comm	_ECMA_LIST_NO_OPTS,4,2          ; @ECMA_LIST_NO_OPTS
	.comm	_ECMA_PROPERTY_GET_NO_OPTIONS,4,2 ; @ECMA_PROPERTY_GET_NO_OPTIONS
	.comm	_ECMA_PROPERTY_TYPE_NAMEDACCESSOR,8,3 ; @ECMA_PROPERTY_TYPE_NAMEDACCESSOR
	.no_dead_strip	_ecma_builtin_object_frozen_or_sealed_helper
.subsections_via_symbols
