	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nvme_irq
_nvme_irq:                              ## @nvme_irq
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	_IRQ_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	xorl	%eax, %eax
	callq	_rmb
	movq	(%rbx), %rax
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %r15
	cmpq	8(%rbx), %rax
	je	LBB0_2
## %bb.1:
	movl	(%r15), %r14d
LBB0_2:
	leaq	-40(%rbp), %rsi
	leaq	-32(%rbp), %rdx
	movq	%rbx, %rdi
	movl	$-1, %ecx
	callq	_nvme_process_cq
	movq	(%rbx), %rax
	movq	%rax, 8(%rbx)
	xorl	%eax, %eax
	callq	_wmb
	movq	-40(%rbp), %rsi
	movq	-32(%rbp), %rdx
	cmpq	%rdx, %rsi
	je	LBB0_4
## %bb.3:
	movq	%rbx, %rdi
	callq	_nvme_complete_cqes
	movl	(%r15), %r14d
LBB0_4:
	movl	%r14d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IRQ_NONE,4,2                   ## @IRQ_NONE
	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.no_dead_strip	_nvme_irq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nvme_irq
_nvme_irq:                              ; @nvme_irq
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
Lloh0:
	adrp	x8, _IRQ_NONE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IRQ_NONE@GOTPAGEOFF]
Lloh2:
	ldr	w20, [x8]
	bl	_rmb
	ldp	x8, x9, [x19]
Lloh3:
	adrp	x21, _IRQ_HANDLED@GOTPAGE
Lloh4:
	ldr	x21, [x21, _IRQ_HANDLED@GOTPAGEOFF]
	ldr	w10, [x21]
	cmp	x8, x9
	csel	w20, w20, w10, eq
	add	x1, sp, #8
	mov	x2, sp
	mov	x0, x19
	mov	w3, #-1
	bl	_nvme_process_cq
	ldr	x8, [x19]
	str	x8, [x19, #8]
	bl	_wmb
	ldp	x2, x1, [sp]
	cmp	x1, x2
	b.eq	LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_nvme_complete_cqes
	ldr	w20, [x21]
LBB0_2:
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_IRQ_NONE,4,2                   ; @IRQ_NONE
	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.no_dead_strip	_nvme_irq
.subsections_via_symbols
