	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_jerry_resolve_error            ## -- Begin function jerry_resolve_error
	.p2align	4, 0x90
_jerry_resolve_error:                   ## @jerry_resolve_error
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edi, %ebx
	callq	_jerry_value_is_error
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movl	%ebx, %edi
	movl	$1, %esi
	callq	_jerry_get_value_from_error
	movl	%eax, %edi
	callq	_jerry_value_to_string
	movl	%eax, %r14d
	movl	%eax, %edi
	callq	_jerry_get_utf8_string_size
	movq	%rax, %r15
	movq	%rax, %rdi
	xorl	%esi, %esi
	callq	_balloc
	movq	%rax, %rbx
	movl	%r14d, %edi
	movq	%rax, %rsi
	movq	%r15, %rdx
	callq	_jerry_string_to_utf8_char_buffer
	movq	$0, (%rbx,%rax,8)
	leaq	L_.str(%rip), %rdi
	movq	%rbx, %rsi
	callq	_printk
	movq	%rbx, %rdi
	callq	_bfree
	movl	%r14d, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_jerry_release_value            ## TAILCALL
LBB0_1:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Script Error: unhandled exception: %s\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_jerry_resolve_error            ; -- Begin function jerry_resolve_error
	.p2align	2
_jerry_resolve_error:                   ; @jerry_resolve_error
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x0
	bl	_jerry_value_is_error
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x19
	mov	w1, #1
	bl	_jerry_get_value_from_error
	bl	_jerry_value_to_string
	mov	x19, x0
	bl	_jerry_get_utf8_string_size
	mov	x20, x0
	mov	x1, #0
	bl	_balloc
	mov	x21, x0
	mov	x0, x19
	mov	x1, x21
	mov	x2, x20
	bl	_jerry_string_to_utf8_char_buffer
	str	xzr, [x21, x0, lsl #3]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x21
	bl	_printk
	mov	x0, x21
	bl	_bfree
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_jerry_release_value
LBB0_2:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Script Error: unhandled exception: %s\n"

.subsections_via_symbols
