	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function do_pf_read_drq
_do_pf_read_drq:                        ## @do_pf_read_drq
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_pf_current@GOTPCREL(%rip), %rbx
	movq	_STAT_ERR@GOTPCREL(%rip), %r12
	leaq	L_.str(%rip), %r14
	leaq	L_.str.1(%rip), %r15
	movq	_pf_buf@GOTPCREL(%rip), %r13
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rbx), %rdi
	movq	_STAT_BUSY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r12), %edx
	movq	_STAT_DRQ@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	%r14, %rcx
	movq	%r15, %r8
	callq	_pf_wait
	movq	(%rbx), %rcx
	movl	(%rcx), %edi
	testl	%eax, (%r12)
	jne	LBB0_2
## %bb.5:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	(%r13), %esi
	movl	$512, %edx                      ## imm = 0x200
	callq	_pi_read_block
	xorl	%eax, %eax
	callq	_pf_next_buf
	testq	%rax, %rax
	je	LBB0_1
## %bb.6:
	movq	(%rbx), %rax
	movl	(%rax), %edi
	callq	_pi_disconnect
	xorl	%edi, %edi
	jmp	LBB0_4
LBB0_2:
	callq	_pi_disconnect
	movq	_pf_retries@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	movq	_PF_MAX_RETRIES@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jge	LBB0_3
## %bb.7:
	movq	(%rbx), %rdi
	xorl	%esi, %esi
	callq	_pf_req_sense
	incq	(%r14)
	movq	(%rbx), %rax
	movl	(%rax), %edi
	movq	_do_pf_read_start@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_pi_do_claimed                  ## TAILCALL
LBB0_3:
	movq	_EIO@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	subl	(%rax), %edi
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_next_request                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_pf_current,8,3                 ## @pf_current
	.comm	_STAT_BUSY,4,2                  ## @STAT_BUSY
	.comm	_STAT_DRQ,4,2                   ## @STAT_DRQ
	.comm	_STAT_ERR,4,2                   ## @STAT_ERR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"read block"

L_.str.1:                               ## @.str.1
	.asciz	"completion"

	.comm	_pf_retries,8,3                 ## @pf_retries
	.comm	_PF_MAX_RETRIES,8,3             ## @PF_MAX_RETRIES
	.comm	_do_pf_read_start,4,2           ## @do_pf_read_start
	.comm	_EIO,4,2                        ## @EIO
	.comm	_pf_buf,4,2                     ## @pf_buf
	.no_dead_strip	_do_pf_read_drq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function do_pf_read_drq
_do_pf_read_drq:                        ; @do_pf_read_drq
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
Lloh0:
	adrp	x21, _pf_current@GOTPAGE
Lloh1:
	ldr	x21, [x21, _pf_current@GOTPAGEOFF]
Lloh2:
	adrp	x22, _STAT_BUSY@GOTPAGE
Lloh3:
	ldr	x22, [x22, _STAT_BUSY@GOTPAGEOFF]
Lloh4:
	adrp	x19, l_.str@PAGE
Lloh5:
	add	x19, x19, l_.str@PAGEOFF
Lloh6:
	adrp	x23, _STAT_DRQ@GOTPAGE
Lloh7:
	ldr	x23, [x23, _STAT_DRQ@GOTPAGEOFF]
Lloh8:
	adrp	x24, _STAT_ERR@GOTPAGE
Lloh9:
	ldr	x24, [x24, _STAT_ERR@GOTPAGEOFF]
Lloh10:
	adrp	x20, l_.str.1@PAGE
Lloh11:
	add	x20, x20, l_.str.1@PAGEOFF
Lloh12:
	adrp	x25, _pf_buf@GOTPAGE
Lloh13:
	ldr	x25, [x25, _pf_buf@GOTPAGEOFF]
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x21]
	ldr	w1, [x22]
	ldr	w8, [x23]
	ldr	w9, [x24]
	orr	w2, w9, w8
	mov	x3, x19
	mov	x4, x20
	bl	_pf_wait
	mov	x8, x0
	ldr	w9, [x24]
	ldr	x10, [x21]
	ldr	w0, [x10]
	tst	w9, w8
	b.ne	LBB0_4
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	w1, [x25]
	mov	w2, #512
	bl	_pi_read_block
	bl	_pf_next_buf
	cbz	x0, LBB0_1
; %bb.3:
	ldr	x8, [x21]
	ldr	w0, [x8]
	bl	_pi_disconnect
	mov	w0, #0
	b	LBB0_7
LBB0_4:
	bl	_pi_disconnect
Lloh14:
	adrp	x19, _pf_retries@GOTPAGE
Lloh15:
	ldr	x19, [x19, _pf_retries@GOTPAGEOFF]
	ldr	x8, [x19]
Lloh16:
	adrp	x9, _PF_MAX_RETRIES@GOTPAGE
Lloh17:
	ldr	x9, [x9, _PF_MAX_RETRIES@GOTPAGEOFF]
Lloh18:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ge	LBB0_6
; %bb.5:
	ldr	x0, [x21]
	mov	w1, #0
	bl	_pf_req_sense
	ldr	x8, [x19]
	add	x8, x8, #1
	str	x8, [x19]
	ldr	x8, [x21]
	ldr	w0, [x8]
Lloh19:
	adrp	x8, _do_pf_read_start@GOTPAGE
Lloh20:
	ldr	x8, [x8, _do_pf_read_start@GOTPAGEOFF]
Lloh21:
	ldr	w1, [x8]
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_pi_do_claimed
LBB0_6:
Lloh22:
	adrp	x8, _EIO@GOTPAGE
Lloh23:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
Lloh24:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_7:
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_next_request
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_pf_current,8,3                 ; @pf_current
	.comm	_STAT_BUSY,4,2                  ; @STAT_BUSY
	.comm	_STAT_DRQ,4,2                   ; @STAT_DRQ
	.comm	_STAT_ERR,4,2                   ; @STAT_ERR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"read block"

l_.str.1:                               ; @.str.1
	.asciz	"completion"

	.comm	_pf_retries,8,3                 ; @pf_retries
	.comm	_PF_MAX_RETRIES,8,3             ; @PF_MAX_RETRIES
	.comm	_do_pf_read_start,4,2           ; @do_pf_read_start
	.comm	_EIO,4,2                        ; @EIO
	.comm	_pf_buf,4,2                     ; @pf_buf
	.no_dead_strip	_do_pf_read_drq
.subsections_via_symbols
