	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function test_error_single_function
_test_error_single_function:            ## @test_error_single_function
	.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	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	movq	_JERRY_INIT_EMPTY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_jerry_init
	xorl	%eax, %eax
	callq	_jerry_create_object
	movl	%eax, %r15d
	leaq	L_.str(%rip), %r14
	movl	%eax, %edi
	movq	%r14, %rsi
	callq	_freeze_property
	movq	_method_hello@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_JERRYX_PROPERTY_FUNCTION
	movl	%eax, -48(%rbp)
	xorl	%eax, %eax
	callq	_JERRYX_PROPERTY_LIST_END
	movl	%eax, -44(%rbp)
	leaq	-48(%rbp), %r14
	movl	%r15d, %edi
	movq	%r14, %rsi
	callq	_jerryx_set_properties
	movq	%rax, %r12
	movl	%edx, %ebx
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_TEST_ASSERT
	movl	%ebx, %edi
	callq	_jerry_value_is_error
	movl	%eax, %edi
	callq	_TEST_ASSERT
	movq	%r14, %rdi
	movq	%r12, %rsi
	movl	%ebx, %edx
	callq	_jerryx_release_property_entry
	movl	%ebx, %edi
	callq	_jerry_release_value
	movl	%r15d, %edi
	callq	_jerry_release_value
	xorl	%eax, %eax
	callq	_jerry_cleanup
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-40(%rbp), %rax
	jne	LBB0_2
## %bb.1:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_JERRY_INIT_EMPTY,4,2           ## @JERRY_INIT_EMPTY
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"test_err"

	.comm	_method_hello,4,2               ## @method_hello
	.no_dead_strip	_test_error_single_function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function test_error_single_function
_test_error_single_function:            ; @test_error_single_function
	.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
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #8]
Lloh3:
	adrp	x8, _JERRY_INIT_EMPTY@GOTPAGE
Lloh4:
	ldr	x8, [x8, _JERRY_INIT_EMPTY@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_jerry_init
	bl	_jerry_create_object
	mov	x19, x0
Lloh6:
	adrp	x20, l_.str@PAGE
Lloh7:
	add	x20, x20, l_.str@PAGEOFF
	mov	x1, x20
	bl	_freeze_property
Lloh8:
	adrp	x8, _method_hello@GOTPAGE
Lloh9:
	ldr	x8, [x8, _method_hello@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_JERRYX_PROPERTY_FUNCTION
	str	w0, [sp]
	bl	_JERRYX_PROPERTY_LIST_END
	str	w0, [sp, #4]
	mov	x1, sp
	mov	x0, x19
	bl	_jerryx_set_properties
	mov	x20, x0
	mov	x21, x1
	cmp	x0, #0
	cset	w0, eq
	bl	_TEST_ASSERT
	mov	x0, x21
	bl	_jerry_value_is_error
	bl	_TEST_ASSERT
	mov	x0, sp
	mov	x1, x20
	mov	x2, x21
	bl	_jerryx_release_property_entry
	mov	x0, x21
	bl	_jerry_release_value
	mov	x0, x19
	bl	_jerry_release_value
	bl	_jerry_cleanup
	ldr	x8, [sp, #8]
Lloh11:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh12:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_2
; %bb.1:
	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
LBB0_2:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_JERRY_INIT_EMPTY,4,2           ; @JERRY_INIT_EMPTY
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"test_err"

	.comm	_method_hello,4,2               ; @method_hello
	.no_dead_strip	_test_error_single_function
.subsections_via_symbols
