	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nvme_suspend_queue
_nvme_suspend_queue:                    ## @nvme_suspend_queue
	.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
	movq	%rdi, %rbx
	movq	_NVMEQ_ENABLED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	16(%rbx), %r15
	movq	%r15, %rsi
	callq	_test_and_clear_bit
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_mb
	movq	8(%rbx), %rax
	decl	16(%rax)
	cmpl	$0, 20(%rbx)
	jne	LBB0_5
## %bb.3:
	movq	8(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_5
## %bb.4:
	callq	_blk_mq_quiesce_queue
LBB0_5:
	movq	_NVMEQ_POLLED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r15, %rsi
	callq	_test_and_clear_bit
	testl	%eax, %eax
	jne	LBB0_7
## %bb.6:
	movq	8(%rbx), %rax
	movl	(%rax), %edi
	callq	_to_pci_dev
	movl	(%rbx), %esi
	movl	%eax, %edi
	movq	%rbx, %rdx
	callq	_pci_free_irq
	jmp	LBB0_7
LBB0_1:
	movl	$1, %r14d
LBB0_7:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NVMEQ_ENABLED,4,2              ## @NVMEQ_ENABLED
	.comm	_NVMEQ_POLLED,4,2               ## @NVMEQ_POLLED
	.no_dead_strip	_nvme_suspend_queue
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nvme_suspend_queue
_nvme_suspend_queue:                    ; @nvme_suspend_queue
	.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
Lloh0:
	adrp	x8, _NVMEQ_ENABLED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NVMEQ_ENABLED@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	add	x20, x19, #16
	mov	x1, x20
	bl	_test_and_clear_bit
	cbz	w0, LBB0_7
; %bb.1:
	bl	_mb
	ldr	x8, [x19, #8]
	ldr	w9, [x8, #16]
	sub	w9, w9, #1
	str	w9, [x8, #16]
	ldr	w9, [x19, #20]
	cbnz	w9, LBB0_4
; %bb.2:
	ldr	x0, [x8, #8]
	cbz	x0, LBB0_4
; %bb.3:
	bl	_blk_mq_quiesce_queue
LBB0_4:
Lloh3:
	adrp	x8, _NVMEQ_POLLED@GOTPAGE
Lloh4:
	ldr	x8, [x8, _NVMEQ_POLLED@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	mov	x1, x20
	bl	_test_and_clear_bit
	cbnz	w0, LBB0_6
; %bb.5:
	ldr	x8, [x19, #8]
	ldr	w0, [x8]
	bl	_to_pci_dev
	ldr	w1, [x19]
	mov	x2, x19
	bl	_pci_free_irq
LBB0_6:
	mov	w0, #0
	b	LBB0_8
LBB0_7:
	mov	w0, #1
LBB0_8:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_NVMEQ_ENABLED,4,2              ; @NVMEQ_ENABLED
	.comm	_NVMEQ_POLLED,4,2               ; @NVMEQ_POLLED
	.no_dead_strip	_nvme_suspend_queue
.subsections_via_symbols
