	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function DAC960_queue_partial_rw
_DAC960_queue_partial_rw:               ## @DAC960_queue_partial_rw
	.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	%rdi, %rbx
	movq	48(%rdi), %r15
	movq	32(%rdi), %r14
	movq	8(%r15), %rax
	movq	(%rdi), %rcx
	movq	8(%rdi), %rdx
	movq	(%rax,%rcx,8), %rdi
	movq	_PCI_DMA_FROMDEVICE@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rdx
	jne	LBB0_1
## %bb.2:
	movq	_DAC960_ReadRetryCommand@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_DAC960_WriteRetryCommand@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %eax
	movl	%eax, 40(%rbx)
	movl	28(%rbx), %edx
	movq	%r14, %rsi
	callq	_blk_rq_map_sg
	movl	(%r15), %edi
	movl	28(%rbx), %esi
	movq	8(%rbx), %rcx
	movl	$1, %edx
	callq	_pci_map_sg
	movl	$1, 16(%rbx)
	movq	%r14, %rdi
	callq	_blk_rq_pos
	movl	%eax, 24(%rbx)
	movl	$1, 20(%rbx)
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_DAC960_QueueReadWriteCommand   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_PCI_DMA_FROMDEVICE,8,3         ## @PCI_DMA_FROMDEVICE
	.comm	_DAC960_ReadRetryCommand,4,2    ## @DAC960_ReadRetryCommand
	.comm	_DAC960_WriteRetryCommand,4,2   ## @DAC960_WriteRetryCommand
	.no_dead_strip	_DAC960_queue_partial_rw
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function DAC960_queue_partial_rw
_DAC960_queue_partial_rw:               ; @DAC960_queue_partial_rw
	.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, x0
	ldr	x21, [x0, #48]
	ldr	x20, [x0, #32]
	ldr	x8, [x21, #8]
	ldp	x9, x10, [x0]
	ldr	x0, [x8, x9, lsl #3]
Lloh0:
	adrp	x8, _PCI_DMA_FROMDEVICE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PCI_DMA_FROMDEVICE@GOTPAGEOFF]
Lloh2:
	adrp	x9, _DAC960_ReadRetryCommand@GOTPAGE
Lloh3:
	ldr	x9, [x9, _DAC960_ReadRetryCommand@GOTPAGEOFF]
Lloh4:
	adrp	x11, _DAC960_WriteRetryCommand@GOTPAGE
Lloh5:
	ldr	x11, [x11, _DAC960_WriteRetryCommand@GOTPAGEOFF]
Lloh6:
	ldr	x8, [x8]
	cmp	x10, x8
	csel	x8, x9, x11, eq
	ldr	w8, [x8]
	str	w8, [x19, #40]
	ldr	w2, [x19, #28]
	mov	x1, x20
	bl	_blk_rq_map_sg
	ldr	w0, [x21]
	ldr	w1, [x19, #28]
	ldr	x3, [x19, #8]
	mov	w21, #1
	mov	w2, #1
	bl	_pci_map_sg
	str	w21, [x19, #16]
	mov	x0, x20
	bl	_blk_rq_pos
	stp	w21, w0, [x19, #20]
	mov	x0, x19
	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	_DAC960_QueueReadWriteCommand
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_PCI_DMA_FROMDEVICE,8,3         ; @PCI_DMA_FROMDEVICE
	.comm	_DAC960_ReadRetryCommand,4,2    ; @DAC960_ReadRetryCommand
	.comm	_DAC960_WriteRetryCommand,4,2   ; @DAC960_WriteRetryCommand
	.no_dead_strip	_DAC960_queue_partial_rw
.subsections_via_symbols
