	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function do_pcd_request
_do_pcd_request:                        ## @do_pcd_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_pcd_busy@GOTPCREL(%rip), %r14
	cmpl	$0, (%r14)
	jne	LBB0_8
## %bb.1:
	movq	%rdi, %r15
	movq	_pcd_req@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rax
	testq	%rax, %rax
	jne	LBB0_3
LBB0_2:
	movq	%r15, %rdi
	callq	_blk_fetch_request
	movq	%rax, (%rbx)
	testq	%rax, %rax
	je	LBB0_8
LBB0_3:
	movq	%rax, %rdi
	callq	_rq_data_dir
	movq	_READ@GOTPCREL(%rip), %rcx
	movq	(%rbx), %rdi
	cmpq	(%rcx), %rax
	je	LBB0_4
## %bb.7:
	movq	_EIO@GOTPCREL(%rip), %rax
	xorl	%esi, %esi
	subl	(%rax), %esi
	callq	___blk_end_request_all
	movq	$0, (%rbx)
	jmp	LBB0_2
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	8(%rdi), %rax
	movq	(%rax), %rax
	movq	_pcd_current@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_6
## %bb.5:
	movq	_pcd_bufblk@GOTPCREL(%rip), %rdx
	movl	$-1, (%rdx)
LBB0_6:
	movq	%rax, (%rcx)
	callq	_blk_rq_pos
	movq	_pcd_sector@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	(%rbx), %rdi
	callq	_blk_rq_cur_sectors
	movq	_pcd_count@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	(%rbx), %rax
	movl	(%rax), %eax
	movq	_pcd_buf@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movl	$1, (%r14)
	movq	_do_pcd_read@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_nice@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	xorl	%esi, %esi
	xorl	%edx, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ps_set_intr                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_pcd_busy,4,2                   ## @pcd_busy
	.comm	_pcd_req,8,3                    ## @pcd_req
	.comm	_READ,8,3                       ## @READ
	.comm	_pcd_current,8,3                ## @pcd_current
	.comm	_pcd_bufblk,4,2                 ## @pcd_bufblk
	.comm	_pcd_sector,4,2                 ## @pcd_sector
	.comm	_pcd_count,4,2                  ## @pcd_count
	.comm	_pcd_buf,4,2                    ## @pcd_buf
	.comm	_do_pcd_read,4,2                ## @do_pcd_read
	.comm	_nice,4,2                       ## @nice
	.comm	_EIO,4,2                        ## @EIO
	.no_dead_strip	_do_pcd_request
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function do_pcd_request
_do_pcd_request:                        ; @do_pcd_request
	.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
Lloh0:
	adrp	x20, _pcd_busy@GOTPAGE
Lloh1:
	ldr	x20, [x20, _pcd_busy@GOTPAGEOFF]
	ldr	w8, [x20]
	cbnz	w8, LBB0_5
; %bb.1:
	mov	x19, x0
Lloh2:
	adrp	x21, _pcd_req@GOTPAGE
Lloh3:
	ldr	x21, [x21, _pcd_req@GOTPAGEOFF]
	ldr	x0, [x21]
	cbnz	x0, LBB0_3
LBB0_2:
	mov	x0, x19
	bl	_blk_fetch_request
	str	x0, [x21]
	cbz	x0, LBB0_5
LBB0_3:
	bl	_rq_data_dir
	mov	x8, x0
Lloh4:
	adrp	x9, _READ@GOTPAGE
Lloh5:
	ldr	x9, [x9, _READ@GOTPAGEOFF]
Lloh6:
	ldr	x9, [x9]
	ldr	x0, [x21]
	cmp	x8, x9
	b.eq	LBB0_6
; %bb.4:
Lloh7:
	adrp	x8, _EIO@GOTPAGE
Lloh8:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	neg	w1, w8
	bl	___blk_end_request_all
	str	xzr, [x21]
	b	LBB0_2
LBB0_5:
	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
LBB0_6:
	ldr	x8, [x0, #8]
	ldr	x8, [x8]
Lloh10:
	adrp	x9, _pcd_current@GOTPAGE
Lloh11:
	ldr	x9, [x9, _pcd_current@GOTPAGEOFF]
	ldr	x10, [x9]
	cmp	x8, x10
	b.eq	LBB0_8
; %bb.7:
Lloh12:
	adrp	x10, _pcd_bufblk@GOTPAGE
Lloh13:
	ldr	x10, [x10, _pcd_bufblk@GOTPAGEOFF]
	mov	w11, #-1
Lloh14:
	str	w11, [x10]
LBB0_8:
	str	x8, [x9]
	bl	_blk_rq_pos
Lloh15:
	adrp	x8, _pcd_sector@GOTPAGE
Lloh16:
	ldr	x8, [x8, _pcd_sector@GOTPAGEOFF]
Lloh17:
	str	w0, [x8]
	ldr	x0, [x21]
	bl	_blk_rq_cur_sectors
Lloh18:
	adrp	x8, _pcd_count@GOTPAGE
Lloh19:
	ldr	x8, [x8, _pcd_count@GOTPAGEOFF]
Lloh20:
	str	w0, [x8]
	ldr	x8, [x21]
	ldr	w8, [x8]
Lloh21:
	adrp	x9, _pcd_buf@GOTPAGE
Lloh22:
	ldr	x9, [x9, _pcd_buf@GOTPAGEOFF]
Lloh23:
	str	w8, [x9]
	mov	w8, #1
	str	w8, [x20]
Lloh24:
	adrp	x8, _do_pcd_read@GOTPAGE
Lloh25:
	ldr	x8, [x8, _do_pcd_read@GOTPAGEOFF]
Lloh26:
	adrp	x9, _nice@GOTPAGE
Lloh27:
	ldr	x9, [x9, _nice@GOTPAGEOFF]
Lloh28:
	ldr	w0, [x8]
Lloh29:
	ldr	w3, [x9]
	mov	x1, #0
	mov	w2, #0
	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
	b	_ps_set_intr
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotStr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh28
	.loh AdrpLdrGotStr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotStr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotStr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_pcd_busy,4,2                   ; @pcd_busy
	.comm	_pcd_req,8,3                    ; @pcd_req
	.comm	_READ,8,3                       ; @READ
	.comm	_pcd_current,8,3                ; @pcd_current
	.comm	_pcd_bufblk,4,2                 ; @pcd_bufblk
	.comm	_pcd_sector,4,2                 ; @pcd_sector
	.comm	_pcd_count,4,2                  ; @pcd_count
	.comm	_pcd_buf,4,2                    ; @pcd_buf
	.comm	_do_pcd_read,4,2                ; @do_pcd_read
	.comm	_nice,4,2                       ; @nice
	.comm	_EIO,4,2                        ; @EIO
	.no_dead_strip	_do_pcd_request
.subsections_via_symbols
