	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_qed_sp_vport_update            ## -- Begin function qed_sp_vport_update
	.p2align	4, 0x90
_qed_sp_vport_update:                   ## @qed_sp_vport_update
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r15
	movl	%edx, %r13d
	movq	%rsi, %r12
	movq	%rdi, %r14
	movq	128(%rsi), %rbx
	movq	$0, -48(%rbp)
	movq	$0, -56(%rbp)
	movl	(%rdi), %edi
	callq	_IS_VF
	testq	%rax, %rax
	je	LBB0_1
## %bb.9:
	movq	%r14, %rdi
	movq	%r12, %rsi
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_qed_vf_pf_vport_update         ## TAILCALL
LBB0_1:
	movq	%r15, -72(%rbp)                 ## 8-byte Spill
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movl	120(%r12), %esi
	leaq	-56(%rbp), %rdx
	movq	%r14, %rdi
	callq	_qed_fw_vport
	movl	%eax, %r15d
	testl	%eax, %eax
	jne	LBB0_8
## %bb.2:
	leaq	-96(%rbp), %r15
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	$24, %edx
	callq	_memset
	movq	%r14, %rdi
	callq	_qed_spq_get_cid
	movl	%eax, -76(%rbp)
	movl	116(%r12), %eax
	movl	%eax, -80(%rbp)
	movl	%r13d, -96(%rbp)
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, -88(%rbp)
	movq	_ETH_RAMROD_VPORT_UPDATE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_PROTOCOLID_ETH@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-48(%rbp), %rsi
	movq	%r14, %rdi
	movq	%r15, %r8
	callq	_qed_sp_init_request
	movl	%eax, %r15d
	testl	%eax, %eax
	jne	LBB0_8
## %bb.3:
	movq	-48(%rbp), %rbx
	movq	-56(%rbp), %rax
	movq	%rax, 104(%rbx)
	movl	112(%r12), %eax
	movl	%eax, 96(%rbx)
	movups	96(%r12), %xmm0
	movups	%xmm0, 80(%rbx)
	movq	88(%r12), %rax
	movq	%rax, 72(%rbx)
	movl	80(%r12), %eax
	movl	%eax, 64(%rbx)
	movq	72(%r12), %rax
	movq	%rax, 56(%rbx)
	movl	64(%r12), %eax
	movl	%eax, 48(%rbx)
	movq	56(%r12), %rax
	movq	%rax, 40(%rbx)
	movl	52(%r12), %edi
	callq	_cpu_to_le16
	movl	%eax, 36(%rbx)
	movl	48(%r12), %eax
	movl	%eax, 32(%rbx)
	movups	32(%r12), %xmm0
	movups	%xmm0, 16(%rbx)
	movq	24(%r12), %rax
	movq	%rax, 8(%rbx)
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	callq	_qed_sp_vport_update_rss
	testl	%eax, %eax
	je	LBB0_5
## %bb.4:
	movl	%eax, %r15d
	movq	-48(%rbp), %rsi
	movq	%r14, %rdi
	callq	_qed_sp_destroy_request
	jmp	LBB0_8
LBB0_5:
	cmpq	$0, 16(%r12)
	je	LBB0_7
## %bb.6:
	movl	12(%r12), %eax
	movl	%eax, 4(%rbx)
	movl	8(%r12), %eax
	movl	%eax, (%rbx)
LBB0_7:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movq	%r12, %rdx
	callq	_qed_sp_update_mcast_bin
	movl	4(%r12), %edx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_qed_sp_update_accept_mode
	movl	(%r12), %edx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_qed_sp_vport_update_sge_tpa
	movq	-48(%rbp), %rsi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_qed_spq_post
	movl	%eax, %r15d
LBB0_8:
	movl	%r15d, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_ETH_RAMROD_VPORT_UPDATE,4,2    ## @ETH_RAMROD_VPORT_UPDATE
	.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_update            ; -- Begin function qed_sp_vport_update
	.p2align	2
_qed_sp_vport_update:                   ; @qed_sp_vport_update
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x22, x3
	mov	x23, x2
	mov	x20, x1
	mov	x19, x0
	ldr	x21, [x1, #128]
	stp	xzr, xzr, [sp, #8]
	ldr	w0, [x0]
	bl	_IS_VF
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x19
	mov	x1, x20
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_qed_vf_pf_vport_update
LBB0_2:
	ldr	w1, [x20, #120]
	add	x2, sp, #8
	mov	x0, x19
	bl	_qed_fw_vport
	mov	x24, x0
	cbnz	w0, LBB0_9
; %bb.3:
	add	x0, sp, #24
	mov	w1, #0
	mov	w2, #24
	bl	_memset
	mov	x0, x19
	bl	_qed_spq_get_cid
	ldr	w8, [x20, #116]
	stp	w8, w0, [sp, #40]
	str	w23, [sp, #24]
	str	x22, [sp, #32]
Lloh0:
	adrp	x8, _ETH_RAMROD_VPORT_UPDATE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ETH_RAMROD_VPORT_UPDATE@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
Lloh3:
	adrp	x8, _PROTOCOLID_ETH@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PROTOCOLID_ETH@GOTPAGEOFF]
Lloh5:
	ldr	w3, [x8]
	add	x1, sp, #16
	add	x4, sp, #24
	mov	x0, x19
	bl	_qed_sp_init_request
	mov	x24, x0
	cbnz	w0, LBB0_9
; %bb.4:
	ldp	x8, x22, [sp, #8]
	str	x8, [x22, #104]
	ldr	w8, [x20, #112]
	str	w8, [x22, #96]
	ldr	q0, [x20, #96]
	str	q0, [x22, #80]
	ldr	x8, [x20, #88]
	str	x8, [x22, #72]
	ldr	w8, [x20, #80]
	str	w8, [x22, #64]
	ldr	x8, [x20, #72]
	str	x8, [x22, #56]
	ldr	w8, [x20, #64]
	str	w8, [x22, #48]
	ldr	x8, [x20, #56]
	str	x8, [x22, #40]
	ldr	w0, [x20, #52]
	bl	_cpu_to_le16
	str	w0, [x22, #36]
	ldr	w8, [x20, #48]
	str	w8, [x22, #32]
	ldr	q0, [x20, #32]
	str	q0, [x22, #16]
	ldr	x8, [x20, #24]
	str	x8, [x22, #8]
	mov	x0, x19
	mov	x1, x22
	mov	x2, x21
	bl	_qed_sp_vport_update_rss
	cbz	w0, LBB0_6
; %bb.5:
	mov	x24, x0
	ldr	x1, [sp, #16]
	mov	x0, x19
	bl	_qed_sp_destroy_request
	b	LBB0_9
LBB0_6:
	ldr	x8, [x20, #16]
	cbz	x8, LBB0_8
; %bb.7:
	ldr	d0, [x20, #8]
	str	d0, [x22]
LBB0_8:
	mov	x0, x19
	mov	x1, x22
	mov	x2, x20
	bl	_qed_sp_update_mcast_bin
	ldr	w2, [x20, #4]
	mov	x0, x19
	mov	x1, x22
	bl	_qed_sp_update_accept_mode
	ldr	w2, [x20]
	mov	x0, x19
	mov	x1, x22
	bl	_qed_sp_vport_update_sge_tpa
	ldr	x1, [sp, #16]
	mov	x0, x19
	mov	x2, #0
	bl	_qed_spq_post
	mov	x24, x0
LBB0_9:
	mov	x0, x24
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_ETH_RAMROD_VPORT_UPDATE,4,2    ; @ETH_RAMROD_VPORT_UPDATE
	.comm	_PROTOCOLID_ETH,4,2             ; @PROTOCOLID_ETH
.subsections_via_symbols
