	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nvme_poll_irqdisable
_nvme_poll_irqdisable:                  ## @nvme_poll_irqdisable
	.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
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movq	16(%rdi), %rax
	movl	(%rax), %edi
	callq	_to_pci_dev
	movq	%rax, %r15
	movq	_NVMEQ_POLLED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	8(%rbx), %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	leaq	4(%rbx), %r15
	movq	%r15, %rdi
	callq	_spin_lock
	leaq	-32(%rbp), %rsi
	leaq	-28(%rbp), %rdx
	movq	%rbx, %rdi
	movl	%r14d, %ecx
	callq	_nvme_process_cq
	movl	%eax, %r14d
	movq	%r15, %rdi
	callq	_spin_unlock
	jmp	LBB0_3
LBB0_2:
	movl	(%rbx), %esi
	movq	%r15, %rdi
	callq	_pci_irq_vector
	movl	%eax, %edi
	callq	_disable_irq
	leaq	-32(%rbp), %rsi
	leaq	-28(%rbp), %rdx
	movq	%rbx, %rdi
	movl	%r14d, %ecx
	callq	_nvme_process_cq
	movl	%eax, %r14d
	movl	(%rbx), %esi
	movq	%r15, %rdi
	callq	_pci_irq_vector
	movl	%eax, %edi
	callq	_enable_irq
LBB0_3:
	movl	-32(%rbp), %esi
	movl	-28(%rbp), %edx
	movq	%rbx, %rdi
	callq	_nvme_complete_cqes
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NVMEQ_POLLED,4,2               ## @NVMEQ_POLLED
	.no_dead_strip	_nvme_poll_irqdisable
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nvme_poll_irqdisable
_nvme_poll_irqdisable:                  ; @nvme_poll_irqdisable
	.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	x20, x1
	mov	x19, x0
	ldr	x8, [x0, #16]
	ldr	w0, [x8]
	bl	_to_pci_dev
	mov	x21, x0
Lloh0:
	adrp	x8, _NVMEQ_POLLED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NVMEQ_POLLED@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	add	x1, x19, #8
	bl	_test_bit
	cbz	x0, LBB0_2
; %bb.1:
	add	x21, x19, #4
	mov	x0, x21
	bl	_spin_lock
	add	x1, sp, #12
	add	x2, sp, #8
	mov	x0, x19
	mov	x3, x20
	bl	_nvme_process_cq
	mov	x20, x0
	mov	x0, x21
	bl	_spin_unlock
	b	LBB0_3
LBB0_2:
	ldr	w1, [x19]
	mov	x0, x21
	bl	_pci_irq_vector
	bl	_disable_irq
	add	x1, sp, #12
	add	x2, sp, #8
	mov	x0, x19
	mov	x3, x20
	bl	_nvme_process_cq
	mov	x20, x0
	ldr	w1, [x19]
	mov	x0, x21
	bl	_pci_irq_vector
	bl	_enable_irq
LBB0_3:
	ldp	w2, w1, [sp, #8]
	mov	x0, x19
	bl	_nvme_complete_cqes
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_NVMEQ_POLLED,4,2               ; @NVMEQ_POLLED
	.no_dead_strip	_nvme_poll_irqdisable
.subsections_via_symbols
