	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ## -- Begin function main
	.p2align	4, 0x90
_main:                                  ## @main
	.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	$72, %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)
	xorl	%eax, %eax
	callq	_TEST_INIT
	movq	_JERRY_INIT_EMPTY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_jerry_init
	movq	_JERRY_ERROR_COMMON@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	movq	%r15, -112(%rbp)
	movq	_JERRY_ERROR_EVAL@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -104(%rbp)
	movq	_JERRY_ERROR_RANGE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -96(%rbp)
	movq	_JERRY_ERROR_REFERENCE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -88(%rbp)
	movq	_JERRY_ERROR_SYNTAX@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -80(%rbp)
	movq	_JERRY_ERROR_TYPE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -72(%rbp)
	movq	_JERRY_ERROR_URI@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -64(%rbp)
	movl	$1, %r12d
	leaq	L_.str(%rip), %r14
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_jerry_create_error
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_jerry_value_is_error
	movl	%eax, %edi
	callq	_TEST_ASSERT
	movl	%ebx, %edi
	callq	_jerry_get_error_type
	xorl	%edi, %edi
	cmpq	%r15, %rax
	sete	%dil
	callq	_TEST_ASSERT
	movl	%ebx, %edi
	movl	$1, %esi
	callq	_jerry_get_value_from_error
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_jerry_get_error_type
	xorl	%edi, %edi
	cmpq	%r15, %rax
	sete	%dil
	callq	_TEST_ASSERT
	movl	%ebx, %edi
	callq	_jerry_release_value
	cmpq	$7, %r12
	je	LBB0_2
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	-112(%rbp,%r12,8), %r15
	incq	%r12
	jmp	LBB0_1
LBB0_2:
	movl	$11, %edi
	callq	_jerry_create_number
	movl	%eax, %ebx
	leaq	L_.str.1(%rip), %rdi
	callq	_jerry_create_string
	movl	%eax, %r12d
	movl	$1, %edi
	callq	_jerry_create_boolean
	movl	%eax, %r15d
	xorl	%eax, %eax
	callq	_jerry_create_object
	movl	%eax, %r14d
	movl	%ebx, %edi
	callq	_jerry_get_error_type
	movq	_JERRY_ERROR_NONE@GOTPCREL(%rip), %r13
	xorl	%edi, %edi
	cmpq	(%r13), %rax
	sete	%dil
	callq	_TEST_ASSERT
	movl	%ebx, %edi
	callq	_jerry_release_value
	movl	%r12d, %edi
	callq	_jerry_get_error_type
	xorl	%edi, %edi
	cmpq	(%r13), %rax
	sete	%dil
	callq	_TEST_ASSERT
	movl	%r12d, %edi
	callq	_jerry_release_value
	movl	%r15d, %edi
	callq	_jerry_get_error_type
	xorl	%edi, %edi
	cmpq	(%r13), %rax
	sete	%dil
	callq	_TEST_ASSERT
	movl	%r15d, %edi
	callq	_jerry_release_value
	movl	%r14d, %edi
	callq	_jerry_get_error_type
	xorl	%edi, %edi
	cmpq	(%r13), %rax
	sete	%dil
	callq	_TEST_ASSERT
	movl	%r14d, %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_5
## %bb.3:
	xorl	%eax, %eax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_JERRY_INIT_EMPTY,4,2           ## @JERRY_INIT_EMPTY
	.comm	_JERRY_ERROR_COMMON,8,3         ## @JERRY_ERROR_COMMON
	.comm	_JERRY_ERROR_EVAL,8,3           ## @JERRY_ERROR_EVAL
	.comm	_JERRY_ERROR_RANGE,8,3          ## @JERRY_ERROR_RANGE
	.comm	_JERRY_ERROR_REFERENCE,8,3      ## @JERRY_ERROR_REFERENCE
	.comm	_JERRY_ERROR_SYNTAX,8,3         ## @JERRY_ERROR_SYNTAX
	.comm	_JERRY_ERROR_TYPE,8,3           ## @JERRY_ERROR_TYPE
	.comm	_JERRY_ERROR_URI,8,3            ## @JERRY_ERROR_URI
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"test"

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

	.comm	_JERRY_ERROR_NONE,8,3           ## @JERRY_ERROR_NONE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ; -- Begin function main
	.p2align	2
_main:                                  ; @main
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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, #56]
	bl	_TEST_INIT
Lloh3:
	adrp	x8, _JERRY_INIT_EMPTY@GOTPAGE
Lloh4:
	ldr	x8, [x8, _JERRY_INIT_EMPTY@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_jerry_init
Lloh6:
	adrp	x8, _JERRY_ERROR_COMMON@GOTPAGE
Lloh7:
	ldr	x8, [x8, _JERRY_ERROR_COMMON@GOTPAGEOFF]
Lloh8:
	ldr	x19, [x8]
Lloh9:
	adrp	x8, _JERRY_ERROR_EVAL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _JERRY_ERROR_EVAL@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	stp	x19, x8, [sp]
Lloh12:
	adrp	x8, _JERRY_ERROR_RANGE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _JERRY_ERROR_RANGE@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
Lloh15:
	adrp	x9, _JERRY_ERROR_REFERENCE@GOTPAGE
Lloh16:
	ldr	x9, [x9, _JERRY_ERROR_REFERENCE@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	stp	x8, x9, [sp, #16]
Lloh18:
	adrp	x8, _JERRY_ERROR_SYNTAX@GOTPAGE
Lloh19:
	ldr	x8, [x8, _JERRY_ERROR_SYNTAX@GOTPAGEOFF]
Lloh20:
	adrp	x9, _JERRY_ERROR_TYPE@GOTPAGE
Lloh21:
	ldr	x9, [x9, _JERRY_ERROR_TYPE@GOTPAGEOFF]
Lloh22:
	ldr	x8, [x8]
Lloh23:
	ldr	x9, [x9]
	stp	x8, x9, [sp, #32]
Lloh24:
	adrp	x8, _JERRY_ERROR_URI@GOTPAGE
Lloh25:
	ldr	x8, [x8, _JERRY_ERROR_URI@GOTPAGEOFF]
Lloh26:
	ldr	x8, [x8]
	mov	w22, #8
Lloh27:
	adrp	x20, l_.str@PAGE
Lloh28:
	add	x20, x20, l_.str@PAGEOFF
	str	x8, [sp, #48]
	mov	x23, sp
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	x1, x20
	bl	_jerry_create_error
	mov	x21, x0
	bl	_jerry_value_is_error
	bl	_TEST_ASSERT
	mov	x0, x21
	bl	_jerry_get_error_type
	cmp	x0, x19
	cset	w0, eq
	bl	_TEST_ASSERT
	mov	x0, x21
	mov	w1, #1
	bl	_jerry_get_value_from_error
	mov	x21, x0
	bl	_jerry_get_error_type
	cmp	x0, x19
	cset	w0, eq
	bl	_TEST_ASSERT
	mov	x0, x21
	bl	_jerry_release_value
	cmp	x22, #56
	b.eq	LBB0_3
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	x19, [x23, x22]
	add	x22, x22, #8
	b	LBB0_1
LBB0_3:
	mov	w0, #11
	bl	_jerry_create_number
	mov	x20, x0
Lloh29:
	adrp	x0, l_.str.1@PAGE
Lloh30:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_jerry_create_string
	mov	x21, x0
	mov	w0, #1
	bl	_jerry_create_boolean
	mov	x22, x0
	bl	_jerry_create_object
	mov	x19, x0
	mov	x0, x20
	bl	_jerry_get_error_type
Lloh31:
	adrp	x23, _JERRY_ERROR_NONE@GOTPAGE
Lloh32:
	ldr	x23, [x23, _JERRY_ERROR_NONE@GOTPAGEOFF]
	ldr	x8, [x23]
	cmp	x0, x8
	cset	w0, eq
	bl	_TEST_ASSERT
	mov	x0, x20
	bl	_jerry_release_value
	mov	x0, x21
	bl	_jerry_get_error_type
	ldr	x8, [x23]
	cmp	x0, x8
	cset	w0, eq
	bl	_TEST_ASSERT
	mov	x0, x21
	bl	_jerry_release_value
	mov	x0, x22
	bl	_jerry_get_error_type
	ldr	x8, [x23]
	cmp	x0, x8
	cset	w0, eq
	bl	_TEST_ASSERT
	mov	x0, x22
	bl	_jerry_release_value
	mov	x0, x19
	bl	_jerry_get_error_type
	ldr	x8, [x23]
	cmp	x0, x8
	cset	w0, eq
	bl	_TEST_ASSERT
	mov	x0, x19
	bl	_jerry_release_value
	bl	_jerry_cleanup
	ldr	x8, [sp, #56]
Lloh33:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh34:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh35:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_5
; %bb.4:
	mov	w0, #0
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_5:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh22
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpAdd	Lloh29, Lloh30
	.cfi_endproc
                                        ; -- End function
	.comm	_JERRY_INIT_EMPTY,4,2           ; @JERRY_INIT_EMPTY
	.comm	_JERRY_ERROR_COMMON,8,3         ; @JERRY_ERROR_COMMON
	.comm	_JERRY_ERROR_EVAL,8,3           ; @JERRY_ERROR_EVAL
	.comm	_JERRY_ERROR_RANGE,8,3          ; @JERRY_ERROR_RANGE
	.comm	_JERRY_ERROR_REFERENCE,8,3      ; @JERRY_ERROR_REFERENCE
	.comm	_JERRY_ERROR_SYNTAX,8,3         ; @JERRY_ERROR_SYNTAX
	.comm	_JERRY_ERROR_TYPE,8,3           ; @JERRY_ERROR_TYPE
	.comm	_JERRY_ERROR_URI,8,3            ; @JERRY_ERROR_URI
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"test"

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

	.comm	_JERRY_ERROR_NONE,8,3           ; @JERRY_ERROR_NONE
.subsections_via_symbols
