	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_qed_sp_vport_stop              ## -- Begin function qed_sp_vport_stop
	.p2align	4, 0x90
_qed_sp_vport_stop:                     ## @qed_sp_vport_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	%r15
	pushq	%r14
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r15d
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movl	$0, -28(%rbp)
	movl	(%rdi), %edi
	callq	_IS_VF
	testq	%rax, %rax
	je	LBB0_1
## %bb.5:
	movq	%rbx, %rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_qed_vf_pf_vport_stop           ## TAILCALL
LBB0_1:
	leaq	-28(%rbp), %rdx
	movq	%rbx, %rdi
	movl	%r15d, %esi
	callq	_qed_fw_vport
	testl	%eax, %eax
	jne	LBB0_4
## %bb.2:
	leaq	-40(%rbp), %r15
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	$12, %edx
	callq	_memset
	movq	%rbx, %rdi
	callq	_qed_spq_get_cid
	movl	%eax, -32(%rbp)
	movl	%r14d, -36(%rbp)
	movq	_QED_SPQ_MODE_EBLOCK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -40(%rbp)
	movq	_ETH_RAMROD_VPORT_STOP@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_PROTOCOLID_ETH@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-48(%rbp), %rsi
	movq	%rbx, %rdi
	movq	%r15, %r8
	callq	_qed_sp_init_request
	testl	%eax, %eax
	jne	LBB0_4
## %bb.3:
	movq	-48(%rbp), %rsi
	movl	-28(%rbp), %eax
	movl	%eax, (%rsi)
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_qed_spq_post
LBB0_4:
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_QED_SPQ_MODE_EBLOCK,4,2        ## @QED_SPQ_MODE_EBLOCK
	.comm	_ETH_RAMROD_VPORT_STOP,4,2      ## @ETH_RAMROD_VPORT_STOP
	.comm	_PROTOCOLID_ETH,4,2             ## @PROTOCOLID_ETH
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_qed_sp_vport_stop              ; -- Begin function qed_sp_vport_stop
	.p2align	2
_qed_sp_vport_stop:                     ; @qed_sp_vport_stop
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x21, x2
	mov	x20, x1
	mov	x19, x0
	str	wzr, [sp, #4]
	ldr	w0, [x0]
	bl	_IS_VF
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	b	_qed_vf_pf_vport_stop
LBB0_2:
	add	x2, sp, #4
	mov	x0, x19
	mov	x1, x21
	bl	_qed_fw_vport
	cbnz	w0, LBB0_5
; %bb.3:
	add	x0, sp, #16
	mov	w1, #0
	mov	w2, #12
	bl	_memset
	mov	x0, x19
	bl	_qed_spq_get_cid
	str	w0, [sp, #24]
Lloh0:
	adrp	x8, _QED_SPQ_MODE_EBLOCK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _QED_SPQ_MODE_EBLOCK@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	stp	w8, w20, [sp, #16]
Lloh3:
	adrp	x8, _ETH_RAMROD_VPORT_STOP@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ETH_RAMROD_VPORT_STOP@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
Lloh6:
	adrp	x8, _PROTOCOLID_ETH@GOTPAGE
Lloh7:
	ldr	x8, [x8, _PROTOCOLID_ETH@GOTPAGEOFF]
Lloh8:
	ldr	w3, [x8]
	add	x1, sp, #8
	add	x4, sp, #16
	mov	x0, x19
	bl	_qed_sp_init_request
	cbnz	w0, LBB0_5
; %bb.4:
	ldr	x1, [sp, #8]
	ldr	w8, [sp, #4]
	str	w8, [x1]
	mov	x0, x19
	mov	x2, #0
	bl	_qed_spq_post
LBB0_5:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_QED_SPQ_MODE_EBLOCK,4,2        ; @QED_SPQ_MODE_EBLOCK
	.comm	_ETH_RAMROD_VPORT_STOP,4,2      ; @ETH_RAMROD_VPORT_STOP
	.comm	_PROTOCOLID_ETH,4,2             ; @PROTOCOLID_ETH
.subsections_via_symbols
