	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nvme_handle_cqe
_nvme_handle_cqe:                       ## @nvme_handle_cqe
	.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, %rbx
	movq	40(%rdi), %r15
	leaq	(%rsi,%rsi,2), %r12
	leaq	(%r15,%r12,8), %r14
	movq	(%r15,%r12,8), %rax
	xorl	%edi, %edi
	cmpq	(%rbx), %rax
	setge	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_1
## %bb.5:
	movq	32(%rbx), %rax
	movl	(%rax), %ebx
	movq	(%r14), %r14
	movl	20(%r15,%r12,8), %edi
	callq	_le16_to_cpu
	leaq	L_.str(%rip), %rsi
	movl	%ebx, %edi
	movq	%r14, %rdx
	movl	%eax, %ecx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dev_warn                       ## TAILCALL
LBB0_1:
	xorl	%edi, %edi
	cmpq	$0, 8(%rbx)
	jne	LBB0_3
## %bb.2:
	movq	(%r14), %rax
	movq	_NVME_AQ_BLK_MQ_DEPTH@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	setge	%dil
LBB0_3:
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_4
## %bb.6:
	movq	32(%rbx), %rdi
	movl	12(%r15,%r12,8), %esi
	leaq	(%r15,%r12,8), %rdx
	addq	$8, %rdx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_nvme_complete_async_event      ## TAILCALL
LBB0_4:
	movq	24(%rbx), %rax
	movl	(%rax), %edi
	movq	(%r14), %rsi
	callq	_blk_mq_tag_to_rq
	movq	%rax, %r14
	movl	16(%r15,%r12,8), %esi
	movl	16(%rbx), %edx
	movq	%rax, %rdi
	callq	_trace_nvme_sq
	movl	12(%r15,%r12,8), %esi
	movl	8(%r15,%r12,8), %edx
	movq	%r14, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_nvme_end_request               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"invalid id %d completed on queue %d\n"

	.comm	_NVME_AQ_BLK_MQ_DEPTH,8,3       ## @NVME_AQ_BLK_MQ_DEPTH
	.no_dead_strip	_nvme_handle_cqe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nvme_handle_cqe
_nvme_handle_cqe:                       ; @nvme_handle_cqe
	.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, x1
	mov	x20, x0
	ldr	x22, [x0, #40]
	mov	w8, #24
	madd	x21, x1, x8, x22
	ldr	x8, [x21]
	ldr	x9, [x0]
	cmp	x8, x9
	cset	w0, ge
	bl	_unlikely
	cbz	x0, LBB0_2
; %bb.1:
	ldr	x8, [x20, #32]
	ldr	w20, [x8]
	ldr	x21, [x21]
	mov	w8, #24
	madd	x8, x19, x8, x22
	ldr	w0, [x8, #20]
	bl	_le16_to_cpu
	mov	x3, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	mov	x2, x21
	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	_dev_warn
LBB0_2:
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_5
; %bb.3:
	mov	w0, #0
	bl	_unlikely
	cbz	x0, LBB0_6
LBB0_4:
	ldr	x0, [x20, #32]
	mov	w8, #24
	madd	x8, x19, x8, x22
	ldr	w1, [x8, #12]
	add	x2, x8, #8
	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	_nvme_complete_async_event
LBB0_5:
	ldr	x8, [x21]
Lloh2:
	adrp	x9, _NVME_AQ_BLK_MQ_DEPTH@GOTPAGE
Lloh3:
	ldr	x9, [x9, _NVME_AQ_BLK_MQ_DEPTH@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, ge
	bl	_unlikely
	cbnz	x0, LBB0_4
LBB0_6:
	ldr	x8, [x20, #24]
	ldr	w0, [x8]
	ldr	x1, [x21]
	bl	_blk_mq_tag_to_rq
	mov	x21, x0
	mov	w8, #24
	madd	x19, x19, x8, x22
	ldr	w1, [x19, #16]
	ldr	w2, [x20, #16]
	bl	_trace_nvme_sq
	ldr	w1, [x19, #12]
	ldr	w2, [x19, #8]
	mov	x0, x21
	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	_nvme_end_request
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"invalid id %d completed on queue %d\n"

	.comm	_NVME_AQ_BLK_MQ_DEPTH,8,3       ; @NVME_AQ_BLK_MQ_DEPTH
	.no_dead_strip	_nvme_handle_cqe
.subsections_via_symbols
