	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nfs_read                       ## -- Begin function nfs_read
	.p2align	4, 0x90
_nfs_read:                              ## @nfs_read
	.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	%rcx, %r14
	movq	%rdx, %r15
	testl	%r15d, %r15d
	jle	LBB0_6
## %bb.1:
	movq	%rsi, %rbx
	movq	(%rdi), %r12
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	$16, %edi
	callq	_twiddle
	movq	(%r12), %rsi
	movq	%r12, %rdi
	movq	%rbx, %rdx
	movq	%r15, %rcx
	callq	_nfs_readdata
	testl	%eax, %eax
	je	LBB0_6
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$-1, %eax
	je	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	cltq
	addq	%rax, (%r12)
	addq	%rax, %rbx
	subq	%rax, %r15
	testl	%r15d, %r15d
	jg	LBB0_2
LBB0_6:
	xorl	%eax, %eax
	testq	%r14, %r14
	je	LBB0_8
## %bb.7:
	movq	%r15, (%r14)
	jmp	LBB0_8
LBB0_4:
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_8:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_errno,4,2                      ## @errno
	.comm	_debug,8,3                      ## @debug
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nfs_read                       ; -- Begin function nfs_read
	.p2align	2
_nfs_read:                              ; @nfs_read
	.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, x3
	mov	x20, x2
	cmp	w20, #1
	b.lt	LBB0_5
; %bb.1:
	mov	x21, x1
	ldr	x22, [x0]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	w0, #16
	bl	_twiddle
	ldr	x1, [x22]
	mov	x0, x22
	mov	x2, x21
	mov	x3, x20
	bl	_nfs_readdata
                                        ; kill: def $w0 killed $w0 def $x0
	cbz	w0, LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	cmn	w0, #1
	b.eq	LBB0_7
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	sxtw	x8, w0
	ldr	x9, [x22]
	add	x9, x9, x8
	str	x9, [x22]
	add	x21, x21, x8
	sub	x20, x20, x8
	cmp	w20, #0
	b.gt	LBB0_2
LBB0_5:
	mov	w0, #0
	cbz	x19, LBB0_8
; %bb.6:
	str	x20, [x19]
	b	LBB0_8
LBB0_7:
Lloh0:
	adrp	x8, _errno@GOTPAGE
Lloh1:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
LBB0_8:
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_errno,4,2                      ; @errno
	.comm	_debug,8,3                      ; @debug
.subsections_via_symbols
