	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function call_hook
_call_hook:                             ## @call_hook
	.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, %r15
	movq	%rsi, %r14
	movl	%edi, %r12d
	movq	16(%rdx), %rax
	movq	(%rax), %rax
	movb	(%rax), %cl
	movl	$1, %edi
	shll	%cl, %edi
	addl	$20, %edi
	callq	_grub_malloc
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%rax, %rbx
	movl	%r12d, 16(%rax)
	movl	$1, (%rax)
	movq	16(%r15), %rax
	movq	(%rax), %rdi
	movq	%rdi, 8(%rbx)
	movq	%rbx, %rdx
	addq	$4, %rdx
	movl	%r12d, %esi
	callq	_grub_xfs_read_inode
	movq	(%r15), %rax
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	movl	4(%rbx), %edi
	movq	%rax, %r12
	callq	_grub_xfs_mode_to_filetype
	movl	8(%r15), %ecx
	movq	%r14, %rdi
	movl	%eax, %esi
	movq	%rbx, %rdx
	movq	%r12, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmpq	*%rax                           ## TAILCALL
LBB0_2:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_call_hook
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function call_hook
_call_hook:                             ; @call_hook
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x2
	mov	x19, x1
	mov	x22, x0
	ldr	x8, [x2, #16]
	ldr	x8, [x8]
	ldr	w8, [x8]
	mov	w23, #1
	lsl	w8, w23, w8
	add	w0, w8, #20
	bl	_grub_malloc
	cbz	x0, LBB0_3
; %bb.1:
	mov	x21, x0
	str	w22, [x0, #16]
	str	w23, [x0]
	ldr	x8, [x20, #16]
	ldr	x0, [x8]
	str	x0, [x21, #8]
	add	x2, x21, #4
	mov	x1, x22
	bl	_grub_xfs_read_inode
	ldr	x0, [x20]
	cbz	x0, LBB0_3
; %bb.2:
	str	x0, [sp, #8]                    ; 8-byte Folded Spill
	ldr	w0, [x21, #4]
	bl	_grub_xfs_mode_to_filetype
	mov	x1, x0
	ldr	w3, [x20, #8]
	mov	x0, x19
	mov	x2, x21
	ldr	x4, [sp, #8]                    ; 8-byte Folded Reload
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	br	x4
LBB0_3:
	mov	w0, #0
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_call_hook
.subsections_via_symbols
