	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function grub_ntfs_read_block
_grub_ntfs_read_block:                  ## @grub_ntfs_read_block
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	cmpq	%rsi, (%rdi)
	jle	LBB0_1
## %bb.3:
	movq	_RF_BLNK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, 16(%rbx)
	je	LBB0_5
## %bb.4:
	xorl	%eax, %eax
	jmp	LBB0_6
LBB0_1:
	movq	%rbx, %rdi
	callq	_grub_ntfs_read_run_list
	movq	%rax, %rcx
	movq	$-1, %rax
	testq	%rcx, %rcx
	jne	LBB0_6
## %bb.2:
	movq	8(%rbx), %rax
	jmp	LBB0_6
LBB0_5:
	movq	%rsi, %rax
	subq	24(%rbx), %rax
	addq	8(%rbx), %rax
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RF_BLNK,4,2                    ## @RF_BLNK
	.no_dead_strip	_grub_ntfs_read_block
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function grub_ntfs_read_block
_grub_ntfs_read_block:                  ; @grub_ntfs_read_block
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	x8, [x0]
	cmp	x8, x1
	b.le	LBB0_3
; %bb.1:
	ldr	w8, [x19, #16]
Lloh0:
	adrp	x9, _RF_BLNK@GOTPAGE
Lloh1:
	ldr	x9, [x9, _RF_BLNK@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_5
; %bb.2:
	mov	x0, #0
	b	LBB0_7
LBB0_3:
	mov	x0, x19
	bl	_grub_ntfs_read_run_list
	cbz	x0, LBB0_6
; %bb.4:
	mov	x0, #-1
	b	LBB0_7
LBB0_5:
	ldr	x8, [x19, #24]
	ldr	x9, [x19, #8]
	sub	x8, x1, x8
	add	x0, x8, x9
	b	LBB0_7
LBB0_6:
	ldr	x0, [x19, #8]
LBB0_7:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_RF_BLNK,4,2                    ; @RF_BLNK
	.no_dead_strip	_grub_ntfs_read_block
.subsections_via_symbols
