	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nvme_complete_rq               ## -- Begin function nvme_complete_rq
	.p2align	4, 0x90
_nvme_complete_rq:                      ## @nvme_complete_rq
	.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	%rdi, %rbx
	callq	_nvme_req
	movl	8(%rax), %edi
	callq	_nvme_error_status
	movq	%rax, %r14
	movq	%rbx, %rdi
	callq	_trace_nvme_complete_rq
	movq	%rbx, %rdi
	callq	_nvme_req
	movq	(%rax), %rax
	cmpq	$0, 8(%rax)
	je	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	callq	_nvme_req
	movq	(%rax), %rax
	movl	$1, (%rax)
LBB0_2:
	movq	_BLK_STS_OK@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	cmpq	(%rax), %r14
	je	LBB0_4
## %bb.3:
	movq	%rbx, %rdi
	callq	_nvme_req_needs_retry
	xorl	%edi, %edi
	testq	%rax, %rax
	setne	%dil
LBB0_4:
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_8
## %bb.5:
	movq	_REQ_NVME_MPATH@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	je	LBB0_7
## %bb.6:
	movq	%r14, %rdi
	callq	_blk_path_error
	testq	%rax, %rax
	je	LBB0_7
## %bb.9:
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_nvme_failover_req              ## TAILCALL
LBB0_7:
	movl	4(%rbx), %edi
	callq	_blk_queue_dying
	testl	%eax, %eax
	je	LBB0_10
LBB0_8:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_nvme_trace_bio_complete
	movq	%rbx, %rdi
	movq	%r14, %rsi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_blk_mq_end_request             ## TAILCALL
LBB0_10:
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_nvme_retry_req                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_BLK_STS_OK,8,3                 ## @BLK_STS_OK
	.comm	_REQ_NVME_MPATH,4,2             ## @REQ_NVME_MPATH
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nvme_complete_rq               ; -- Begin function nvme_complete_rq
	.p2align	2
_nvme_complete_rq:                      ; @nvme_complete_rq
	.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
	mov	x19, x0
	bl	_nvme_req
	ldr	w0, [x0, #8]
	bl	_nvme_error_status
	mov	x20, x0
	mov	x0, x19
	bl	_trace_nvme_complete_rq
	mov	x0, x19
	bl	_nvme_req
	ldr	x8, [x0]
	ldr	x8, [x8, #8]
	cbz	x8, LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_nvme_req
	ldr	x8, [x0]
	mov	w9, #1
	str	w9, [x8]
LBB0_2:
Lloh0:
	adrp	x8, _BLK_STS_OK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BLK_STS_OK@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x20, x8
	b.ne	LBB0_4
; %bb.3:
	mov	w0, #0
	bl	_unlikely
	cbnz	x0, LBB0_5
	b	LBB0_9
LBB0_4:
	mov	x0, x19
	bl	_nvme_req_needs_retry
	cmp	x0, #0
	cset	w0, ne
	bl	_unlikely
	cbz	x0, LBB0_9
LBB0_5:
	ldr	w8, [x19]
Lloh3:
	adrp	x9, _REQ_NVME_MPATH@GOTPAGE
Lloh4:
	ldr	x9, [x9, _REQ_NVME_MPATH@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_8
; %bb.6:
	mov	x0, x20
	bl	_blk_path_error
	cbz	x0, LBB0_8
; %bb.7:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_nvme_failover_req
LBB0_8:
	ldr	w0, [x19, #4]
	bl	_blk_queue_dying
	cbz	w0, LBB0_10
LBB0_9:
	mov	x0, x19
	mov	x1, x20
	bl	_nvme_trace_bio_complete
	mov	x0, x19
	mov	x1, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_blk_mq_end_request
LBB0_10:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_nvme_retry_req
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_BLK_STS_OK,8,3                 ; @BLK_STS_OK
	.comm	_REQ_NVME_MPATH,4,2             ; @REQ_NVME_MPATH
.subsections_via_symbols
