	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_test_jerry                     ## -- Begin function test_jerry
	.p2align	4, 0x90
_test_jerry:                            ## @test_jerry
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$48, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -24(%rbp)
	xorl	%eax, %eax
	callq	_jerry_create_undefined
	movups	L___const.test_jerry.script+9(%rip), %xmm0
	movups	%xmm0, -55(%rbp)
	movaps	L___const.test_jerry.script(%rip), %xmm0
	movaps	%xmm0, -64(%rbp)
	leaq	L_.str(%rip), %rdi
	leaq	-64(%rbp), %rbx
	movq	%rbx, %rsi
	xorl	%eax, %eax
	callq	_printf
	movq	_JERRY_INIT_EMPTY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_jerry_init
	movq	_jerryx_handler_print@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdi
	callq	_register_js_function
	movq	_JERRY_PARSE_NO_OPTS@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	xorl	%edi, %edi
	xorl	%esi, %esi
	movq	%rbx, %rdx
	movl	$24, %ecx
	callq	_jerry_parse
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_jerry_value_is_error
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	movl	%ebx, %edi
	callq	_jerry_run
	movl	%eax, %ebx
LBB0_2:
	movq	_JERRY_STANDALONE_EXIT_CODE_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movl	%ebx, %edi
	callq	_jerry_value_is_error
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	movq	_JERRY_STANDALONE_EXIT_CODE_FAIL@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
LBB0_4:
	movl	%ebx, %edi
	callq	_jerry_release_value
	xorl	%eax, %eax
	callq	_jerry_cleanup
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-24(%rbp), %rax
	jne	LBB0_6
## %bb.5:
	movl	%r14d, %eax
	addq	$48, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_6:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
	.p2align	4                               ## @__const.test_jerry.script
L___const.test_jerry.script:
	.asciz	"print ('Hello, World!');"

L_.str:                                 ## @.str
	.asciz	"This test run the following script code: [%s]\n\n"

	.comm	_JERRY_INIT_EMPTY,4,2           ## @JERRY_INIT_EMPTY
L_.str.1:                               ## @.str.1
	.asciz	"print"

	.comm	_jerryx_handler_print,4,2       ## @jerryx_handler_print
	.comm	_JERRY_PARSE_NO_OPTS,4,2        ## @JERRY_PARSE_NO_OPTS
	.comm	_JERRY_STANDALONE_EXIT_CODE_OK,4,2 ## @JERRY_STANDALONE_EXIT_CODE_OK
L_.str.2:                               ## @.str.2
	.asciz	"Script Error!"

	.comm	_JERRY_STANDALONE_EXIT_CODE_FAIL,4,2 ## @JERRY_STANDALONE_EXIT_CODE_FAIL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_test_jerry                     ; -- Begin function test_jerry
	.p2align	2
_test_jerry:                            ; @test_jerry
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	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
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-24]
	bl	_jerry_create_undefined
Lloh3:
	adrp	x8, l___const.test_jerry.script@PAGE
Lloh4:
	add	x8, x8, l___const.test_jerry.script@PAGEOFF
	ldr	q0, [x8]
	str	q0, [sp, #16]
	ldur	q0, [x8, #9]
	stur	q0, [sp, #25]
	add	x8, sp, #16
	str	x8, [sp]
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
	bl	_printf
Lloh7:
	adrp	x8, _JERRY_INIT_EMPTY@GOTPAGE
Lloh8:
	ldr	x8, [x8, _JERRY_INIT_EMPTY@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
	bl	_jerry_init
Lloh10:
	adrp	x8, _jerryx_handler_print@GOTPAGE
Lloh11:
	ldr	x8, [x8, _jerryx_handler_print@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
Lloh13:
	adrp	x0, l_.str.1@PAGE
Lloh14:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_register_js_function
Lloh15:
	adrp	x8, _JERRY_PARSE_NO_OPTS@GOTPAGE
Lloh16:
	ldr	x8, [x8, _JERRY_PARSE_NO_OPTS@GOTPAGEOFF]
Lloh17:
	ldr	w4, [x8]
	add	x2, sp, #16
	mov	x0, #0
	mov	w1, #0
	mov	w3, #24
	bl	_jerry_parse
	mov	x19, x0
	bl	_jerry_value_is_error
	cbnz	x0, LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_jerry_run
	mov	x19, x0
LBB0_2:
Lloh18:
	adrp	x8, _JERRY_STANDALONE_EXIT_CODE_OK@GOTPAGE
Lloh19:
	ldr	x8, [x8, _JERRY_STANDALONE_EXIT_CODE_OK@GOTPAGEOFF]
Lloh20:
	ldr	w20, [x8]
	mov	x0, x19
	bl	_jerry_value_is_error
	cbz	x0, LBB0_4
; %bb.3:
Lloh21:
	adrp	x0, l_.str.2@PAGE
Lloh22:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_printf
Lloh23:
	adrp	x8, _JERRY_STANDALONE_EXIT_CODE_FAIL@GOTPAGE
Lloh24:
	ldr	x8, [x8, _JERRY_STANDALONE_EXIT_CODE_FAIL@GOTPAGEOFF]
Lloh25:
	ldr	w20, [x8]
LBB0_4:
	mov	x0, x19
	bl	_jerry_release_value
	bl	_jerry_cleanup
	ldur	x8, [x29, #-24]
Lloh26:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh27:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh28:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_6
; %bb.5:
	mov	x0, x20
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_6:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l___const.test_jerry.script:            ; @__const.test_jerry.script
	.asciz	"print ('Hello, World!');"

l_.str:                                 ; @.str
	.asciz	"This test run the following script code: [%s]\n\n"

	.comm	_JERRY_INIT_EMPTY,4,2           ; @JERRY_INIT_EMPTY
l_.str.1:                               ; @.str.1
	.asciz	"print"

	.comm	_jerryx_handler_print,4,2       ; @jerryx_handler_print
	.comm	_JERRY_PARSE_NO_OPTS,4,2        ; @JERRY_PARSE_NO_OPTS
	.comm	_JERRY_STANDALONE_EXIT_CODE_OK,4,2 ; @JERRY_STANDALONE_EXIT_CODE_OK
l_.str.2:                               ; @.str.2
	.asciz	"Script Error!"

	.comm	_JERRY_STANDALONE_EXIT_CODE_FAIL,4,2 ; @JERRY_STANDALONE_EXIT_CODE_FAIL
.subsections_via_symbols
