	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function do_pf_request
_do_pf_request:                         ## @do_pf_request
	.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	%rdi, -48(%rbp)                 ## 8-byte Spill
	movq	_pf_busy@GOTPCREL(%rip), %r12
	cmpl	$0, (%r12)
	je	LBB0_1
LBB0_11:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	_pf_req@GOTPCREL(%rip), %r13
	movq	_pf_block@GOTPCREL(%rip), %r14
	movq	_pf_count@GOTPCREL(%rip), %r15
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	xorl	%edi, %edi
	movq	_EIO@GOTPCREL(%rip), %rax
	subl	(%rax), %edi
	callq	_pf_end_request
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r13), %rax
	testq	%rax, %rax
	jne	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_blk_fetch_request
	movq	%rax, (%r13)
	testq	%rax, %rax
	je	LBB0_11
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%rax), %rcx
	movq	(%rcx), %rcx
	movq	_pf_current@GOTPCREL(%rip), %rdx
	movq	%rcx, (%rdx)
	movq	%rax, %rdi
	callq	_blk_rq_pos
	movq	%rax, (%r14)
	movq	(%r13), %rdi
	callq	_blk_rq_sectors
	movq	_pf_run@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	(%r13), %rdi
	callq	_blk_rq_cur_sectors
	movq	%rax, %rbx
	movq	%rax, (%r15)
	addq	(%r14), %rbx
	movq	(%r13), %rax
	movq	8(%rax), %rdi
	callq	_get_capacity
	cmpq	%rax, %rbx
	jg	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r13), %rdi
	callq	_rq_data_dir
	movq	_pf_cmd@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movq	(%r13), %rcx
	movl	(%rcx), %ecx
	movq	_pf_buf@GOTPCREL(%rip), %rdx
	movl	%ecx, (%rdx)
	movq	_pf_retries@GOTPCREL(%rip), %rcx
	movq	$0, (%rcx)
	movl	$1, (%r12)
	movq	_READ@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_7
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_WRITE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_9
## %bb.12:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	$0, (%r12)
	jmp	LBB0_5
LBB0_7:
	movq	_do_pf_read@GOTPCREL(%rip), %rcx
	jmp	LBB0_10
LBB0_9:
	movq	_do_pf_write@GOTPCREL(%rip), %rcx
LBB0_10:
	movq	_pf_current@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax), %edi
	movl	(%rcx), %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_pi_do_claimed                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_pf_busy,4,2                    ## @pf_busy
	.comm	_pf_req,8,3                     ## @pf_req
	.comm	_pf_current,8,3                 ## @pf_current
	.comm	_pf_block,8,3                   ## @pf_block
	.comm	_pf_run,4,2                     ## @pf_run
	.comm	_pf_count,8,3                   ## @pf_count
	.comm	_EIO,4,2                        ## @EIO
	.comm	_pf_cmd,8,3                     ## @pf_cmd
	.comm	_pf_buf,4,2                     ## @pf_buf
	.comm	_pf_retries,8,3                 ## @pf_retries
	.comm	_READ,8,3                       ## @READ
	.comm	_do_pf_read,4,2                 ## @do_pf_read
	.comm	_WRITE,8,3                      ## @WRITE
	.comm	_do_pf_write,4,2                ## @do_pf_write
	.no_dead_strip	_do_pf_request
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function do_pf_request
_do_pf_request:                         ; @do_pf_request
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
Lloh0:
	adrp	x21, _pf_busy@GOTPAGE
Lloh1:
	ldr	x21, [x21, _pf_busy@GOTPAGEOFF]
	ldr	w8, [x21]
	cbz	w8, LBB0_2
LBB0_1:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_2:
	mov	x19, x0
Lloh2:
	adrp	x22, _pf_req@GOTPAGE
Lloh3:
	ldr	x22, [x22, _pf_req@GOTPAGEOFF]
Lloh4:
	adrp	x20, _pf_current@GOTPAGE
Lloh5:
	ldr	x20, [x20, _pf_current@GOTPAGEOFF]
Lloh6:
	adrp	x24, _pf_block@GOTPAGE
Lloh7:
	ldr	x24, [x24, _pf_block@GOTPAGEOFF]
Lloh8:
	adrp	x25, _pf_run@GOTPAGE
Lloh9:
	ldr	x25, [x25, _pf_run@GOTPAGEOFF]
Lloh10:
	adrp	x26, _pf_count@GOTPAGE
Lloh11:
	ldr	x26, [x26, _pf_count@GOTPAGEOFF]
Lloh12:
	adrp	x27, _EIO@GOTPAGE
Lloh13:
	ldr	x27, [x27, _EIO@GOTPAGEOFF]
Lloh14:
	adrp	x28, _READ@GOTPAGE
Lloh15:
	ldr	x28, [x28, _READ@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x27]
	neg	w0, w8
	bl	_pf_end_request
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x22]
	cbnz	x0, LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x19
	bl	_blk_fetch_request
	str	x0, [x22]
	cbz	x0, LBB0_1
LBB0_6:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x0, #8]
	ldr	x8, [x8]
	str	x8, [x20]
	bl	_blk_rq_pos
	str	x0, [x24]
	ldr	x0, [x22]
	bl	_blk_rq_sectors
	str	w0, [x25]
	ldr	x0, [x22]
	bl	_blk_rq_cur_sectors
	str	x0, [x26]
	ldr	x8, [x24]
	add	x23, x8, x0
	ldr	x8, [x22]
	ldr	x0, [x8, #8]
	bl	_get_capacity
	cmp	x23, x0
	b.gt	LBB0_3
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [x22]
	bl	_rq_data_dir
Lloh16:
	adrp	x8, _pf_cmd@GOTPAGE
Lloh17:
	ldr	x8, [x8, _pf_cmd@GOTPAGEOFF]
Lloh18:
	str	x0, [x8]
	ldr	x8, [x22]
	ldr	w8, [x8]
Lloh19:
	adrp	x9, _pf_buf@GOTPAGE
Lloh20:
	ldr	x9, [x9, _pf_buf@GOTPAGEOFF]
Lloh21:
	str	w8, [x9]
Lloh22:
	adrp	x8, _pf_retries@GOTPAGE
Lloh23:
	ldr	x8, [x8, _pf_retries@GOTPAGEOFF]
Lloh24:
	str	xzr, [x8]
	mov	w8, #1
	str	w8, [x21]
	ldr	x8, [x28]
	cmp	x0, x8
	b.eq	LBB0_10
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
Lloh25:
	adrp	x8, _WRITE@GOTPAGE
Lloh26:
	ldr	x8, [x8, _WRITE@GOTPAGEOFF]
Lloh27:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_11
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	str	wzr, [x21]
	b	LBB0_3
LBB0_10:
Lloh28:
	adrp	x9, _do_pf_read@GOTPAGE
Lloh29:
	ldr	x9, [x9, _do_pf_read@GOTPAGEOFF]
	b	LBB0_12
LBB0_11:
Lloh30:
	adrp	x9, _do_pf_write@GOTPAGE
Lloh31:
	ldr	x9, [x9, _do_pf_write@GOTPAGEOFF]
LBB0_12:
	ldr	x8, [x20]
	ldr	w0, [x8]
	ldr	w1, [x9]
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_pi_do_claimed
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotStr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotStr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotStr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh30, Lloh31
	.cfi_endproc
                                        ; -- End function
	.comm	_pf_busy,4,2                    ; @pf_busy
	.comm	_pf_req,8,3                     ; @pf_req
	.comm	_pf_current,8,3                 ; @pf_current
	.comm	_pf_block,8,3                   ; @pf_block
	.comm	_pf_run,4,2                     ; @pf_run
	.comm	_pf_count,8,3                   ; @pf_count
	.comm	_EIO,4,2                        ; @EIO
	.comm	_pf_cmd,8,3                     ; @pf_cmd
	.comm	_pf_buf,4,2                     ; @pf_buf
	.comm	_pf_retries,8,3                 ; @pf_retries
	.comm	_READ,8,3                       ; @READ
	.comm	_do_pf_read,4,2                 ; @do_pf_read
	.comm	_WRITE,8,3                      ; @WRITE
	.comm	_do_pf_write,4,2                ; @do_pf_write
	.no_dead_strip	_do_pf_request
.subsections_via_symbols
