	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function shell_cmd_handler
_shell_cmd_handler:                     ## @shell_cmd_handler
	.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	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	callq	_strlen
	movq	_JERRY_PARSE_NO_OPTS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_jerry_eval
	movl	%eax, %ebx
	movl	%eax, -20(%rbp)
	movl	%eax, %edi
	callq	_jerry_value_is_error
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	callq	_printf
	movl	%ebx, %edi
	movl	$1, %esi
	callq	_jerry_get_value_from_error
	movl	%eax, %ebx
	movl	%eax, -20(%rbp)
LBB0_2:
	movq	_print_function@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	callq	_jerry_value_is_error
	testq	%rax, %rax
	jne	LBB0_4
## %bb.3:
	movl	(%r14), %ebx
	xorl	%eax, %eax
	callq	_jerry_create_undefined
	leaq	-20(%rbp), %rdx
	movl	%ebx, %edi
	movl	%eax, %esi
	movl	$1, %ecx
	callq	_jerry_call_function
	movl	%eax, %edi
	callq	_jerry_release_value
	movl	-20(%rbp), %ebx
LBB0_4:
	movl	%ebx, %edi
	callq	_jerry_release_value
	xorl	%eax, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_JERRY_PARSE_NO_OPTS,4,2        ## @JERRY_PARSE_NO_OPTS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Error executing statement: "

	.comm	_print_function,4,2             ## @print_function
	.no_dead_strip	_shell_cmd_handler
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function shell_cmd_handler
_shell_cmd_handler:                     ; @shell_cmd_handler
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	bl	_strlen
	mov	x1, x0
Lloh0:
	adrp	x8, _JERRY_PARSE_NO_OPTS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _JERRY_PARSE_NO_OPTS@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_jerry_eval
	mov	x19, x0
	str	w0, [sp, #12]
	bl	_jerry_value_is_error
	cbz	x0, LBB0_2
; %bb.1:
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_printf
	mov	x0, x19
	mov	w1, #1
	bl	_jerry_get_value_from_error
	mov	x19, x0
	str	w0, [sp, #12]
LBB0_2:
Lloh5:
	adrp	x20, _print_function@GOTPAGE
Lloh6:
	ldr	x20, [x20, _print_function@GOTPAGEOFF]
	ldr	w0, [x20]
	bl	_jerry_value_is_error
	cbnz	x0, LBB0_4
; %bb.3:
	ldr	w19, [x20]
	bl	_jerry_create_undefined
	mov	x1, x0
	add	x2, sp, #12
	mov	x0, x19
	mov	w3, #1
	bl	_jerry_call_function
	bl	_jerry_release_value
	ldr	w19, [sp, #12]
LBB0_4:
	mov	x0, x19
	bl	_jerry_release_value
	mov	w0, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_JERRY_PARSE_NO_OPTS,4,2        ; @JERRY_PARSE_NO_OPTS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Error executing statement: "

	.comm	_print_function,4,2             ; @print_function
	.no_dead_strip	_shell_cmd_handler
.subsections_via_symbols
