	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qed_slowpath_stop
_qed_slowpath_stop:                     ## @qed_slowpath_stop
	.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
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.2:
	movq	%rdi, %rbx
	callq	_qed_slowpath_wq_stop
	movq	%rbx, %rdi
	callq	_qed_ll2_dealloc_if
	movq	%rbx, %rdi
	callq	_IS_PF
	testq	%rax, %rax
	je	LBB0_7
## %bb.3:
	cmpl	$1, (%rbx)
	jne	LBB0_5
## %bb.4:
	movq	%rbx, %rdi
	callq	_QED_LEADING_HWFN
	movq	%rax, %r14
	movq	%rbx, %rdi
	callq	_QED_LEADING_HWFN
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_qed_ptt_release
LBB0_5:
	movq	%rbx, %rdi
	callq	_qed_free_stream_mem
	movq	%rbx, %rdi
	callq	_IS_QED_ETH_IF
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_qed_sriov_disable
LBB0_7:
	movq	%rbx, %rdi
	callq	_qed_nic_stop
	movq	%rbx, %rdi
	callq	_IS_PF
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	movq	%rbx, %rdi
	callq	_qed_slowpath_irq_free
LBB0_9:
	movq	%rbx, %rdi
	callq	_qed_disable_msix
	movq	%rbx, %rdi
	callq	_qed_resc_free
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_qed_iov_wq_stop
	movq	%rbx, %rdi
	callq	_IS_PF
	xorl	%r14d, %r14d
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:
	movl	4(%rbx), %edi
	callq	_release_firmware
	jmp	LBB0_11
LBB0_1:
	movq	_ENODEV@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
LBB0_11:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENODEV,4,2                     ## @ENODEV
	.no_dead_strip	_qed_slowpath_stop
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qed_slowpath_stop
_qed_slowpath_stop:                     ; @qed_slowpath_stop
	.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
	cbz	x0, LBB0_10
; %bb.1:
	mov	x19, x0
	bl	_qed_slowpath_wq_stop
	mov	x0, x19
	bl	_qed_ll2_dealloc_if
	mov	x0, x19
	bl	_IS_PF
	cbz	x0, LBB0_6
; %bb.2:
	ldr	w8, [x19]
	cmp	w8, #1
	b.ne	LBB0_4
; %bb.3:
	mov	x0, x19
	bl	_QED_LEADING_HWFN
	mov	x20, x0
	mov	x0, x19
	bl	_QED_LEADING_HWFN
	ldr	w1, [x0]
	mov	x0, x20
	bl	_qed_ptt_release
LBB0_4:
	mov	x0, x19
	bl	_qed_free_stream_mem
	mov	x0, x19
	bl	_IS_QED_ETH_IF
	cbz	x0, LBB0_6
; %bb.5:
	mov	x0, x19
	mov	w1, #1
	bl	_qed_sriov_disable
LBB0_6:
	mov	x0, x19
	bl	_qed_nic_stop
	mov	x0, x19
	bl	_IS_PF
	cbz	x0, LBB0_8
; %bb.7:
	mov	x0, x19
	bl	_qed_slowpath_irq_free
LBB0_8:
	mov	x0, x19
	bl	_qed_disable_msix
	mov	x0, x19
	bl	_qed_resc_free
	mov	x0, x19
	mov	w1, #1
	bl	_qed_iov_wq_stop
	mov	x0, x19
	bl	_IS_PF
	cbz	x0, LBB0_11
; %bb.9:
	ldr	w0, [x19, #4]
	bl	_release_firmware
	mov	w0, #0
	b	LBB0_11
LBB0_10:
Lloh0:
	adrp	x8, _ENODEV@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_11:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ENODEV,4,2                     ; @ENODEV
	.no_dead_strip	_qed_slowpath_stop
.subsections_via_symbols
