	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_grub_print_error               ## -- Begin function grub_print_error
	.p2align	4, 0x90
_grub_print_error:                      ## @grub_print_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_grub_errno@GOTPCREL(%rip), %r15
	movq	_GRUB_ERR_NONE@GOTPCREL(%rip), %rbx
	leaq	L_.str(%rip), %r14
	movq	_grub_errmsg@GOTPCREL(%rip), %r12
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_1 Depth=1
	xorl	%eax, %eax
	callq	_grub_error_pop
	testq	%rax, %rax
	je	LBB0_4
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rax
	cmpq	(%rbx), %rax
	je	LBB0_3
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%r14, %rdi
	callq	__
	movslq	%eax, %rdi
	movl	(%r12), %esi
	xorl	%eax, %eax
	callq	_grub_err_printf
	jmp	LBB0_3
LBB0_4:
	movq	_grub_error_stack_assert@GOTPCREL(%rip), %rbx
	cmpq	$0, (%rbx)
	je	LBB0_6
## %bb.5:
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_grub_err_printf
	movq	$0, (%rbx)
LBB0_6:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_grub_errno,8,3                 ## @grub_errno
	.comm	_GRUB_ERR_NONE,8,3              ## @GRUB_ERR_NONE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"error: %s.\n"

	.comm	_grub_errmsg,4,2                ## @grub_errmsg
	.comm	_grub_error_stack_assert,8,3    ## @grub_error_stack_assert
L_.str.1:                               ## @.str.1
	.asciz	"assert: error stack overflow detected!\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_grub_print_error               ; -- Begin function grub_print_error
	.p2align	2
_grub_print_error:                      ; @grub_print_error
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
Lloh0:
	adrp	x20, _grub_errno@GOTPAGE
Lloh1:
	ldr	x20, [x20, _grub_errno@GOTPAGEOFF]
Lloh2:
	adrp	x21, _GRUB_ERR_NONE@GOTPAGE
Lloh3:
	ldr	x21, [x21, _GRUB_ERR_NONE@GOTPAGEOFF]
Lloh4:
	adrp	x19, l_.str@PAGE
Lloh5:
	add	x19, x19, l_.str@PAGEOFF
Lloh6:
	adrp	x22, _grub_errmsg@GOTPAGE
Lloh7:
	ldr	x22, [x22, _grub_errmsg@GOTPAGEOFF]
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	bl	_grub_error_pop
	cbz	x0, LBB0_4
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20]
	ldr	x9, [x21]
	cmp	x8, x9
	b.eq	LBB0_1
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x19
	bl	__
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x0, w0
	ldr	w8, [x22]
	str	x8, [sp]
	bl	_grub_err_printf
	b	LBB0_1
LBB0_4:
Lloh8:
	adrp	x19, _grub_error_stack_assert@GOTPAGE
Lloh9:
	ldr	x19, [x19, _grub_error_stack_assert@GOTPAGEOFF]
	ldr	x8, [x19]
	cbz	x8, LBB0_6
; %bb.5:
Lloh10:
	adrp	x0, l_.str.1@PAGE
Lloh11:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_grub_err_printf
	str	xzr, [x19]
LBB0_6:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_grub_errno,8,3                 ; @grub_errno
	.comm	_GRUB_ERR_NONE,8,3              ; @GRUB_ERR_NONE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"error: %s.\n"

	.comm	_grub_errmsg,4,2                ; @grub_errmsg
	.comm	_grub_error_stack_assert,8,3    ; @grub_error_stack_assert
l_.str.1:                               ; @.str.1
	.asciz	"assert: error stack overflow detected!\n"

.subsections_via_symbols
