	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function DAC960_ProcessCompletedRequest
_DAC960_ProcessCompletedRequest:        ## @DAC960_ProcessCompletedRequest
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	movq	40(%rdi), %r15
	movq	_EIO@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	testl	%esi, %esi
	cmovnel	%r14d, %ebx
	movq	32(%rdi), %rax
	movl	(%rax), %edi
	movl	24(%r12), %esi
	movl	16(%r12), %ecx
	movl	20(%r12), %edx
	callq	_pci_unmap_sg
	movl	(%r12), %edx
	shll	$9, %edx
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	___blk_end_request
	testl	%eax, %eax
	jne	LBB0_3
## %bb.1:
	movq	8(%r12), %rdi
	movl	$1, %r14d
	testq	%rdi, %rdi
	je	LBB0_3
## %bb.2:
	callq	_complete
	movq	$0, 8(%r12)
LBB0_3:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EIO,4,2                        ## @EIO
	.no_dead_strip	_DAC960_ProcessCompletedRequest
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function DAC960_ProcessCompletedRequest
_DAC960_ProcessCompletedRequest:        ; @DAC960_ProcessCompletedRequest
	.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
Lloh0:
	adrp	x8, _EIO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w1, #0
	csneg	w20, wzr, w8, ne
	ldp	x8, x21, [x0, #32]
	ldr	w0, [x8]
	ldp	w2, w1, [x19, #20]
	ldr	w3, [x19, #16]
	bl	_pci_unmap_sg
	ldr	w8, [x19]
	lsl	w2, w8, #9
	mov	x0, x21
	mov	x1, x20
	bl	___blk_end_request
	mov	x8, x0
	mov	w0, #0
	cbnz	w8, LBB0_4
; %bb.1:
	ldr	x0, [x19, #8]
	cbz	x0, LBB0_3
; %bb.2:
	bl	_complete
	str	xzr, [x19, #8]
LBB0_3:
	mov	w0, #1
LBB0_4:
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EIO,4,2                        ; @EIO
	.no_dead_strip	_DAC960_ProcessCompletedRequest
.subsections_via_symbols
