	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function test_error_multiple_functions
_test_error_multiple_functions:         ## @test_error_multiple_functions
	.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	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_JERRY_INIT_EMPTY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_jerry_init
	xorl	%eax, %eax
	callq	_jerry_create_object
	movl	%eax, %r12d
	leaq	L_.str.1(%rip), %r15
	movl	%eax, %edi
	movq	%r15, %rsi
	callq	_freeze_property
	movq	_method_hello@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	leaq	L_.str(%rip), %r14
	movq	%r14, %rdi
	callq	_JERRYX_PROPERTY_FUNCTION
	movl	%eax, -64(%rbp)
	movl	(%rbx), %esi
	movq	%r15, %rdi
	callq	_JERRYX_PROPERTY_FUNCTION
	movl	%eax, -60(%rbp)
	movl	(%rbx), %esi
	leaq	L_.str.2(%rip), %rdi
	callq	_JERRYX_PROPERTY_FUNCTION
	movl	%eax, -56(%rbp)
	xorl	%eax, %eax
	callq	_JERRYX_PROPERTY_LIST_END
	movl	%eax, -52(%rbp)
	leaq	-64(%rbp), %r13
	movl	%r12d, %edi
	movq	%r13, %rsi
	callq	_jerryx_set_properties
	movq	%rax, %r15
	movq	%rax, %rbx
	shrq	$32, %rbx
	xorl	%edi, %edi
	cmpl	$1, %r15d
	sete	%dil
	callq	_TEST_ASSERT
	movl	%ebx, %edi
	callq	_jerry_value_is_error
	movl	%eax, %edi
	callq	_TEST_ASSERT
	movq	%r13, %rdi
	movq	%r15, %rsi
	callq	_jerryx_release_property_entry
	movl	%ebx, %edi
	callq	_jerry_release_value
	movq	%r14, %rdi
	callq	_jerry_create_string
	movl	%eax, %r13d
	movl	%r12d, %edi
	movl	%eax, %esi
	callq	_jerry_has_own_property
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_jerry_get_boolean_value
	xorl	%edi, %edi
	cmpl	$1, %eax
	sete	%dil
	callq	_TEST_ASSERT
	movl	%ebx, %edi
	callq	_jerry_release_value
	movl	%r12d, %edi
	movl	%r13d, %esi
	callq	_jerry_get_property
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_jerry_value_is_function
	xorl	%edi, %edi
	cmpl	$1, %eax
	sete	%dil
	callq	_TEST_ASSERT
	movl	$22, %edi
	callq	_jerry_create_number
	movl	%eax, -72(%rbp)
	movl	$-3, %edi
	callq	_jerry_create_number
	movl	%eax, -68(%rbp)
	xorl	%eax, %eax
	callq	_jerry_create_undefined
	leaq	-72(%rbp), %rdx
	movl	$2, %ecx
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_jerry_call_function
	movl	%eax, %r14d
	movl	%eax, %edi
	callq	_jerry_value_is_number
	xorl	%edi, %edi
	cmpl	$1, %eax
	sete	%dil
	callq	_TEST_ASSERT
	movl	%r14d, %edi
	callq	_jerry_get_number_value
	xorl	%edi, %edi
	cmpl	$2, %eax
	sete	%dil
	callq	_TEST_ASSERT
	movl	%r14d, %edi
	callq	_jerry_release_value
	movl	-72(%rbp), %edi
	callq	_jerry_release_value
	movl	-68(%rbp), %edi
	callq	_jerry_release_value
	movl	%ebx, %edi
	callq	_jerry_release_value
	movl	%r13d, %edi
	callq	_jerry_release_value
	leaq	L_.str.1(%rip), %rdi
	callq	_jerry_create_string
	movl	%eax, %r14d
	movl	%r12d, %edi
	movl	%eax, %esi
	callq	_jerry_has_own_property
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_jerry_get_boolean_value
	xorl	%edi, %edi
	cmpl	$1, %eax
	sete	%dil
	callq	_TEST_ASSERT
	movl	%ebx, %edi
	callq	_jerry_release_value
	movl	%r14d, %edi
	callq	_jerry_value_is_function
	movl	%eax, %edi
	callq	_jerry_value_is_function
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_TEST_ASSERT
	movl	%r14d, %edi
	callq	_jerry_release_value
	leaq	L_.str.2(%rip), %rdi
	callq	_jerry_create_string
	movl	%eax, %r14d
	movl	%r12d, %edi
	movl	%eax, %esi
	callq	_jerry_has_own_property
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_jerry_get_boolean_value
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_TEST_ASSERT
	movl	%ebx, %edi
	callq	_jerry_release_value
	movl	%r14d, %edi
	callq	_jerry_release_value
	movl	%r12d, %edi
	callq	_jerry_release_value
	xorl	%eax, %eax
	callq	_jerry_cleanup
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_2
## %bb.1:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	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	"prop_ok"

L_.str.1:                               ## @.str.1
	.asciz	"prop_err"

L_.str.2:                               ## @.str.2
	.asciz	"prop_not"

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

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function test_error_multiple_functions
_test_error_multiple_functions:         ; @test_error_multiple_functions
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	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
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
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	x21, l_.str.1@PAGE
Lloh7:
	add	x21, x21, l_.str.1@PAGEOFF
	mov	x1, x21
	bl	_freeze_property
Lloh8:
	adrp	x20, _method_hello@GOTPAGE
Lloh9:
	ldr	x20, [x20, _method_hello@GOTPAGEOFF]
	ldr	w1, [x20]
Lloh10:
	adrp	x22, l_.str@PAGE
Lloh11:
	add	x22, x22, l_.str@PAGEOFF
	mov	x0, x22
	bl	_JERRYX_PROPERTY_FUNCTION
	str	w0, [sp, #8]
	ldr	w1, [x20]
	mov	x0, x21
	bl	_JERRYX_PROPERTY_FUNCTION
	str	w0, [sp, #12]
	ldr	w1, [x20]
Lloh12:
	adrp	x20, l_.str.2@PAGE
Lloh13:
	add	x20, x20, l_.str.2@PAGEOFF
	mov	x0, x20
	bl	_JERRYX_PROPERTY_FUNCTION
	str	w0, [sp, #16]
	bl	_JERRYX_PROPERTY_LIST_END
	str	w0, [sp, #20]
	add	x1, sp, #8
	mov	x0, x19
	bl	_jerryx_set_properties
	mov	x23, x0
	lsr	x24, x0, #32
	cmp	w23, #1
	cset	w0, eq
	bl	_TEST_ASSERT
	mov	x0, x24
	bl	_jerry_value_is_error
	bl	_TEST_ASSERT
	add	x0, sp, #8
	mov	x1, x23
	bl	_jerryx_release_property_entry
	mov	x0, x24
	bl	_jerry_release_value
	mov	x0, x22
	bl	_jerry_create_string
	mov	x22, x0
	mov	x0, x19
	mov	x1, x22
	bl	_jerry_has_own_property
	mov	x23, x0
	bl	_jerry_get_boolean_value
	cmp	w0, #1
	cset	w0, eq
	bl	_TEST_ASSERT
	mov	x0, x23
	bl	_jerry_release_value
	mov	x0, x19
	mov	x1, x22
	bl	_jerry_get_property
	mov	x23, x0
	bl	_jerry_value_is_function
	cmp	w0, #1
	cset	w0, eq
	bl	_TEST_ASSERT
	mov	w0, #22
	bl	_jerry_create_number
	str	w0, [sp]
	mov	w0, #-3
	bl	_jerry_create_number
	str	w0, [sp, #4]
	bl	_jerry_create_undefined
	mov	x1, x0
	mov	x2, sp
	mov	x0, x23
	mov	w3, #2
	bl	_jerry_call_function
	mov	x24, x0
	bl	_jerry_value_is_number
	cmp	w0, #1
	cset	w0, eq
	bl	_TEST_ASSERT
	mov	x0, x24
	bl	_jerry_get_number_value
	cmp	w0, #2
	cset	w0, eq
	bl	_TEST_ASSERT
	mov	x0, x24
	bl	_jerry_release_value
	ldr	w0, [sp]
	bl	_jerry_release_value
	ldr	w0, [sp, #4]
	bl	_jerry_release_value
	mov	x0, x23
	bl	_jerry_release_value
	mov	x0, x22
	bl	_jerry_release_value
	mov	x0, x21
	bl	_jerry_create_string
	mov	x21, x0
	mov	x0, x19
	mov	x1, x21
	bl	_jerry_has_own_property
	mov	x22, x0
	bl	_jerry_get_boolean_value
	cmp	w0, #1
	cset	w0, eq
	bl	_TEST_ASSERT
	mov	x0, x22
	bl	_jerry_release_value
	mov	x0, x21
	bl	_jerry_value_is_function
	bl	_jerry_value_is_function
	cmp	w0, #0
	cset	w0, eq
	bl	_TEST_ASSERT
	mov	x0, x21
	bl	_jerry_release_value
	mov	x0, x20
	bl	_jerry_create_string
	mov	x20, x0
	mov	x0, x19
	mov	x1, x20
	bl	_jerry_has_own_property
	mov	x21, x0
	bl	_jerry_get_boolean_value
	cmp	w0, #0
	cset	w0, eq
	bl	_TEST_ASSERT
	mov	x0, x21
	bl	_jerry_release_value
	mov	x0, x20
	bl	_jerry_release_value
	mov	x0, x19
	bl	_jerry_release_value
	bl	_jerry_cleanup
	ldr	x8, [sp, #24]
Lloh14:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh15:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_2
; %bb.1:
	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
	add	sp, sp, #96
	ret
LBB0_2:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.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	"prop_ok"

l_.str.1:                               ; @.str.1
	.asciz	"prop_err"

l_.str.2:                               ; @.str.2
	.asciz	"prop_not"

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