	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function i40e_vc_del_qch_msg
_i40e_vc_del_qch_msg:                   ## @i40e_vc_del_qch_msg
	.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
	movq	%rdi, %rbx
	movq	24(%rdi), %r14
	movq	_I40E_VF_STATE_ACTIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	16(%rbx), %rsi
	callq	_test_bit
	testl	%eax, %eax
	je	LBB0_5
## %bb.1:
	cmpl	$0, (%rbx)
	je	LBB0_2
## %bb.3:
	movq	%rbx, %rdi
	callq	_i40e_del_all_cloud_filters
	movq	%rbx, %rdi
	callq	_i40e_del_qch
	movl	$0, (%rbx)
	movq	$0, 8(%rbx)
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_4
LBB0_5:
	movq	_I40E_ERR_PARAM@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_VIRTCHNL_OP_DISABLE_CHANNELS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_i40e_vc_send_resp_to_vf        ## TAILCALL
LBB0_2:
	leaq	L_.str.1(%rip), %rsi
LBB0_4:
	movq	(%r14), %rdi
	movl	4(%rbx), %edx
	callq	_dev_info
	movq	%rbx, %rdi
	callq	_i40e_vc_notify_vf_reset
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_i40e_reset_vf
	movq	_I40E_SUCCESS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_I40E_VF_STATE_ACTIVE,4,2       ## @I40E_VF_STATE_ACTIVE
	.comm	_I40E_ERR_PARAM,4,2             ## @I40E_ERR_PARAM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Deleting Queue Channels and cloud filters for ADq on VF %d\n"

L_.str.1:                               ## @.str.1
	.asciz	"VF %d trying to delete queue channels but ADq isn't enabled\n"

	.comm	_I40E_SUCCESS,4,2               ## @I40E_SUCCESS
	.comm	_VIRTCHNL_OP_DISABLE_CHANNELS,4,2 ## @VIRTCHNL_OP_DISABLE_CHANNELS
	.no_dead_strip	_i40e_vc_del_qch_msg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function i40e_vc_del_qch_msg
_i40e_vc_del_qch_msg:                   ; @i40e_vc_del_qch_msg
	.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
	ldr	x20, [x0, #24]
Lloh0:
	adrp	x8, _I40E_VF_STATE_ACTIVE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _I40E_VF_STATE_ACTIVE@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	add	x1, x19, #16
	bl	_test_bit
	cbz	w0, LBB0_3
; %bb.1:
	ldr	w8, [x19]
	cbz	w8, LBB0_4
; %bb.2:
	mov	x0, x19
	bl	_i40e_del_all_cloud_filters
	mov	x0, x19
	bl	_i40e_del_qch
	str	wzr, [x19]
	str	xzr, [x19, #8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_5
LBB0_3:
Lloh5:
	adrp	x8, _I40E_ERR_PARAM@GOTPAGE
Lloh6:
	ldr	x8, [x8, _I40E_ERR_PARAM@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
Lloh8:
	adrp	x8, _VIRTCHNL_OP_DISABLE_CHANNELS@GOTPAGE
Lloh9:
	ldr	x8, [x8, _VIRTCHNL_OP_DISABLE_CHANNELS@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_i40e_vc_send_resp_to_vf
LBB0_4:
Lloh11:
	adrp	x1, l_.str.1@PAGE
Lloh12:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_5:
	ldr	x0, [x20]
	ldr	w2, [x19, #4]
	bl	_dev_info
	mov	x0, x19
	bl	_i40e_vc_notify_vf_reset
	mov	x0, x19
	mov	w1, #0
	bl	_i40e_reset_vf
Lloh13:
	adrp	x8, _I40E_SUCCESS@GOTPAGE
Lloh14:
	ldr	x8, [x8, _I40E_SUCCESS@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
	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 AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_I40E_VF_STATE_ACTIVE,4,2       ; @I40E_VF_STATE_ACTIVE
	.comm	_I40E_ERR_PARAM,4,2             ; @I40E_ERR_PARAM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Deleting Queue Channels and cloud filters for ADq on VF %d\n"

l_.str.1:                               ; @.str.1
	.asciz	"VF %d trying to delete queue channels but ADq isn't enabled\n"

	.comm	_I40E_SUCCESS,4,2               ; @I40E_SUCCESS
	.comm	_VIRTCHNL_OP_DISABLE_CHANNELS,4,2 ; @VIRTCHNL_OP_DISABLE_CHANNELS
	.no_dead_strip	_i40e_vc_del_qch_msg
.subsections_via_symbols
