	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function do_pcd_read_drq
_do_pcd_read_drq:                       ## @do_pcd_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	_pcd_current@GOTPCREL(%rip), %r14
	movq	(%r14), %rdi
	movq	_pcd_buffer@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	callq	_pcd_completion
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	_pcd_retries@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rax
	movq	_PCD_RETRIES@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jge	LBB0_2
## %bb.4:
	movl	$1, %edi
	callq	_mdelay
	incq	(%rbx)
	movq	(%r14), %rax
	movl	(%rax), %edi
	movq	_pcd_start@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_pi_do_claimed                  ## TAILCALL
LBB0_3:
	xorl	%eax, %eax
	callq	_do_pcd_read
	movq	_pcd_lock@GOTPCREL(%rip), %rbx
	movq	%rbx, %rdi
	callq	_spin_lock_irqsave
	movq	_pcd_queue@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_do_pcd_request
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_spin_unlock_irqrestore         ## TAILCALL
LBB0_2:
	movq	_pcd_bufblk@GOTPCREL(%rip), %rax
	movl	$-1, (%rax)
	movq	_EIO@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	subl	(%rax), %edi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_next_request                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_pcd_current,8,3                ## @pcd_current
	.comm	_pcd_buffer,4,2                 ## @pcd_buffer
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"read block"

	.comm	_pcd_retries,8,3                ## @pcd_retries
	.comm	_PCD_RETRIES,8,3                ## @PCD_RETRIES
	.comm	_pcd_start,4,2                  ## @pcd_start
	.comm	_pcd_bufblk,4,2                 ## @pcd_bufblk
	.comm	_EIO,4,2                        ## @EIO
	.comm	_pcd_lock,4,2                   ## @pcd_lock
	.comm	_pcd_queue,4,2                  ## @pcd_queue
	.no_dead_strip	_do_pcd_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_pcd_read_drq
_do_pcd_read_drq:                       ; @do_pcd_read_drq
	.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
Lloh0:
	adrp	x19, _pcd_current@GOTPAGE
Lloh1:
	ldr	x19, [x19, _pcd_current@GOTPAGEOFF]
	ldr	x0, [x19]
Lloh2:
	adrp	x8, _pcd_buffer@GOTPAGE
Lloh3:
	ldr	x8, [x8, _pcd_buffer@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
Lloh5:
	adrp	x2, l_.str@PAGE
Lloh6:
	add	x2, x2, l_.str@PAGEOFF
	bl	_pcd_completion
	cbz	x0, LBB0_3
; %bb.1:
Lloh7:
	adrp	x20, _pcd_retries@GOTPAGE
Lloh8:
	ldr	x20, [x20, _pcd_retries@GOTPAGEOFF]
	ldr	x8, [x20]
Lloh9:
	adrp	x9, _PCD_RETRIES@GOTPAGE
Lloh10:
	ldr	x9, [x9, _PCD_RETRIES@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ge	LBB0_4
; %bb.2:
	mov	w0, #1
	bl	_mdelay
	ldr	x8, [x20]
	add	x8, x8, #1
	str	x8, [x20]
	ldr	x8, [x19]
	ldr	w0, [x8]
Lloh12:
	adrp	x8, _pcd_start@GOTPAGE
Lloh13:
	ldr	x8, [x8, _pcd_start@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_pi_do_claimed
LBB0_3:
	bl	_do_pcd_read
Lloh15:
	adrp	x19, _pcd_lock@GOTPAGE
Lloh16:
	ldr	x19, [x19, _pcd_lock@GOTPAGEOFF]
	mov	x0, x19
	bl	_spin_lock_irqsave
Lloh17:
	adrp	x8, _pcd_queue@GOTPAGE
Lloh18:
	ldr	x8, [x8, _pcd_queue@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
	bl	_do_pcd_request
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_spin_unlock_irqrestore
LBB0_4:
Lloh20:
	adrp	x8, _pcd_bufblk@GOTPAGE
Lloh21:
	ldr	x8, [x8, _pcd_bufblk@GOTPAGEOFF]
	mov	w9, #-1
Lloh22:
	str	w9, [x8]
Lloh23:
	adrp	x8, _EIO@GOTPAGE
Lloh24:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
Lloh25:
	ldr	w8, [x8]
	neg	w0, w8
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_next_request
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotStr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_pcd_current,8,3                ; @pcd_current
	.comm	_pcd_buffer,4,2                 ; @pcd_buffer
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"read block"

	.comm	_pcd_retries,8,3                ; @pcd_retries
	.comm	_PCD_RETRIES,8,3                ; @PCD_RETRIES
	.comm	_pcd_start,4,2                  ; @pcd_start
	.comm	_pcd_bufblk,4,2                 ; @pcd_bufblk
	.comm	_EIO,4,2                        ; @EIO
	.comm	_pcd_lock,4,2                   ; @pcd_lock
	.comm	_pcd_queue,4,2                  ; @pcd_queue
	.no_dead_strip	_do_pcd_read_drq
.subsections_via_symbols
