	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qed_iov_vf_mbx_stop_vport
_qed_iov_vf_mbx_stop_vport:             ## @qed_iov_vf_mbx_stop_vport
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	_PFVF_STATUS_SUCCESS@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	decl	36(%rdx)
	movl	$0, (%rdx)
	movq	%rdx, %rsi
	callq	_qed_iov_validate_active_rxq
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_qed_iov_validate_active_txq
	testq	%rax, %rax
	je	LBB0_3
LBB0_2:
	movl	$1, 4(%rbx)
	movl	32(%rbx), %edx
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	callq	_DP_NOTICE
	movq	_PFVF_STATUS_MALICIOUS@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
LBB0_6:
	movq	_CHANNEL_TLV_VPORT_TEARDOWN@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r15, %rdi
	movq	%r14, %rsi
	movq	%rbx, %rdx
	movl	$4, %r8d
	movl	%r12d, %r9d
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_qed_iov_prepare_resp           ## TAILCALL
LBB0_3:
	movl	24(%rbx), %edx
	movl	28(%rbx), %esi
	movq	%r15, %rdi
	callq	_qed_sp_vport_stop
	testl	%eax, %eax
	je	LBB0_5
## %bb.4:
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	movl	%eax, %edx
	callq	_DP_ERR
	movq	_PFVF_STATUS_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
LBB0_5:
	movq	$0, 16(%rbx)
	leaq	8(%rbx), %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.comm	_PFVF_STATUS_SUCCESS,4,2        ## @PFVF_STATUS_SUCCESS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"VF [%02x] - considered malicious; Unable to stop RX/TX queues\n"

	.comm	_PFVF_STATUS_MALICIOUS,4,2      ## @PFVF_STATUS_MALICIOUS
L_.str.1:                               ## @.str.1
	.asciz	"qed_iov_vf_mbx_stop_vport returned error %d\n"

	.comm	_PFVF_STATUS_FAILURE,4,2        ## @PFVF_STATUS_FAILURE
	.comm	_CHANNEL_TLV_VPORT_TEARDOWN,4,2 ## @CHANNEL_TLV_VPORT_TEARDOWN
	.no_dead_strip	_qed_iov_vf_mbx_stop_vport
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qed_iov_vf_mbx_stop_vport
_qed_iov_vf_mbx_stop_vport:             ; @qed_iov_vf_mbx_stop_vport
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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, x2
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x8, _PFVF_STATUS_SUCCESS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PFVF_STATUS_SUCCESS@GOTPAGEOFF]
Lloh2:
	ldr	w22, [x8]
	ldr	w8, [x2, #36]
	sub	w8, w8, #1
	str	w8, [x2, #36]
	str	wzr, [x2]
	mov	x1, x2
	bl	_qed_iov_validate_active_rxq
	cbnz	x0, LBB0_2
; %bb.1:
	mov	x0, x21
	mov	x1, x19
	bl	_qed_iov_validate_active_txq
	cbz	x0, LBB0_4
LBB0_2:
	mov	w8, #1
	str	w8, [x19, #4]
	ldr	w2, [x19, #32]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	bl	_DP_NOTICE
Lloh5:
	adrp	x8, _PFVF_STATUS_MALICIOUS@GOTPAGE
Lloh6:
	ldr	x8, [x8, _PFVF_STATUS_MALICIOUS@GOTPAGEOFF]
Lloh7:
	ldr	w22, [x8]
LBB0_3:
Lloh8:
	adrp	x8, _CHANNEL_TLV_VPORT_TEARDOWN@GOTPAGE
Lloh9:
	ldr	x8, [x8, _CHANNEL_TLV_VPORT_TEARDOWN@GOTPAGEOFF]
Lloh10:
	ldr	w3, [x8]
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	mov	w4, #4
	mov	x5, x22
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_qed_iov_prepare_resp
LBB0_4:
	ldp	w2, w1, [x19, #24]
	mov	x0, x21
	bl	_qed_sp_vport_stop
	cbz	w0, LBB0_6
; %bb.5:
	mov	x2, x0
Lloh11:
	adrp	x1, l_.str.1@PAGE
Lloh12:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x21
	bl	_DP_ERR
Lloh13:
	adrp	x8, _PFVF_STATUS_FAILURE@GOTPAGE
Lloh14:
	ldr	x8, [x8, _PFVF_STATUS_FAILURE@GOTPAGEOFF]
Lloh15:
	ldr	w22, [x8]
LBB0_6:
	str	xzr, [x19, #16]
	add	x0, x19, #8
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	b	LBB0_3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_PFVF_STATUS_SUCCESS,4,2        ; @PFVF_STATUS_SUCCESS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"VF [%02x] - considered malicious; Unable to stop RX/TX queues\n"

	.comm	_PFVF_STATUS_MALICIOUS,4,2      ; @PFVF_STATUS_MALICIOUS
l_.str.1:                               ; @.str.1
	.asciz	"qed_iov_vf_mbx_stop_vport returned error %d\n"

	.comm	_PFVF_STATUS_FAILURE,4,2        ; @PFVF_STATUS_FAILURE
	.comm	_CHANNEL_TLV_VPORT_TEARDOWN,4,2 ; @CHANNEL_TLV_VPORT_TEARDOWN
	.no_dead_strip	_qed_iov_vf_mbx_stop_vport
.subsections_via_symbols
