	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function grub_xfs_read_inode
_grub_xfs_read_inode:                   ## @grub_xfs_read_inode
	.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	%rdx, %r14
	movl	%esi, %r15d
	movq	%rdi, %rbx
	callq	_grub_xfs_inode_block
	movl	%eax, %r12d
	movq	%rbx, %rdi
	movl	%r15d, %esi
	callq	_grub_xfs_inode_offset
	movl	4(%rbx), %edi
	movb	(%rbx), %cl
	movl	$1, %ebx
	shll	%cl, %ebx
	movl	%r12d, %esi
	movl	%eax, %edx
	movl	%ebx, %ecx
	movq	%r14, %r8
	callq	_grub_disk_read
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_grub_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_4:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movq	(%r14), %rdi
	leaq	L_.str(%rip), %rsi
	movl	$2, %edx
	callq	_grub_strncmp
	testq	%rax, %rax
	je	LBB0_3
## %bb.5:
	movq	_GRUB_ERR_BAD_FS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_grub_error                     ## TAILCALL
LBB0_3:
	xorl	%eax, %eax
	jmp	LBB0_4
	.cfi_endproc
                                        ## -- End function
	.comm	_grub_errno,4,2                 ## @grub_errno
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"IN"

	.comm	_GRUB_ERR_BAD_FS,4,2            ## @GRUB_ERR_BAD_FS
L_.str.1:                               ## @.str.1
	.asciz	"not a correct XFS inode"

	.no_dead_strip	_grub_xfs_read_inode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function grub_xfs_read_inode
_grub_xfs_read_inode:                   ; @grub_xfs_read_inode
	.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, x2
	mov	x20, x1
	mov	x21, x0
	bl	_grub_xfs_inode_block
	mov	x22, x0
	mov	x0, x21
	mov	x1, x20
	bl	_grub_xfs_inode_offset
	mov	x2, x0
	ldp	w8, w0, [x21]
	mov	w9, #1
	lsl	w3, w9, w8
	mov	x1, x22
	mov	x4, x19
	bl	_grub_disk_read
	cbz	x0, LBB0_3
; %bb.1:
Lloh0:
	adrp	x8, _grub_errno@GOTPAGE
Lloh1:
	ldr	x8, [x8, _grub_errno@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
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
LBB0_3:
	ldr	x0, [x19]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	w2, #2
	bl	_grub_strncmp
	cbz	x0, LBB0_2
; %bb.4:
Lloh5:
	adrp	x8, _GRUB_ERR_BAD_FS@GOTPAGE
Lloh6:
	ldr	x8, [x8, _GRUB_ERR_BAD_FS@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	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	_grub_error
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_grub_errno,4,2                 ; @grub_errno
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"IN"

	.comm	_GRUB_ERR_BAD_FS,4,2            ; @GRUB_ERR_BAD_FS
l_.str.1:                               ; @.str.1
	.asciz	"not a correct XFS inode"

	.no_dead_strip	_grub_xfs_read_inode
.subsections_via_symbols
