	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qed_iov_vf_mbx_vport_update
_qed_iov_vf_mbx_vport_update:           ## @qed_iov_vf_mbx_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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r13
	movq	%rsi, %r14
	movq	%rdi, %r15
	leaq	20(%rdx), %rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movq	$0, -72(%rbp)
	movq	$0, -48(%rbp)
	cmpl	$0, 16(%rdx)
	je	LBB0_1
## %bb.2:
	movq	_PFVF_STATUS_SUCCESS@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movl	$4, %edi
	callq	_vzalloc
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movl	%r12d, -52(%rbp)                ## 4-byte Spill
	movq	%r14, -80(%rbp)                 ## 8-byte Spill
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	leaq	-104(%rbp), %r12
	movq	%r12, %rdi
	xorl	%esi, %esi
	movl	$16, %edx
	callq	_memset
	movl	8(%r13), %eax
	movl	%eax, -92(%rbp)
	movl	4(%r13), %eax
	movl	%eax, -96(%rbp)
	movq	$0, -104(%rbp)
	leaq	-72(%rbp), %r14
	movq	%r15, %rdi
	movq	%r12, %rsi
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdx
	movq	%r14, %rcx
	callq	_qed_iov_vp_update_act_param
	movq	%r15, %rdi
	movq	%r12, %rsi
	movq	%r13, %rdx
	movq	%rbx, %rcx
	movq	%r14, %r8
	callq	_qed_iov_vp_update_vlan_param
	movq	%r15, %rdi
	movq	%r12, %rsi
	movq	%rbx, %rdx
	movq	%r14, %rcx
	callq	_qed_iov_vp_update_tx_switch
	movq	%r15, %rdi
	movq	%r12, %rsi
	movq	%rbx, %rdx
	movq	%r14, %rcx
	callq	_qed_iov_vp_update_mcast_bin_param
	movq	%r15, %rdi
	movq	%r12, %rsi
	movq	%rbx, %rdx
	movq	%r14, %rcx
	callq	_qed_iov_vp_update_accept_flag
	movq	%r15, %rdi
	movq	%r12, %rsi
	movq	%rbx, %rdx
	movq	%r14, %rcx
	callq	_qed_iov_vp_update_accept_any_vlan
	leaq	-112(%rbp), %rcx
	movq	%r15, %rdi
	movq	%r13, %rsi
	movq	%r12, %rdx
	movq	%rbx, %r8
	movq	%r14, %r9
	callq	_qed_iov_vp_update_sge_tpa_param
	movq	-72(%rbp), %rax
	movq	%rax, -48(%rbp)
	leaq	-48(%rbp), %rax
	movq	%rax, (%rsp)
	movq	%r15, %rdi
	movq	%r13, %rsi
	movq	%r12, %rdx
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movq	%rbx, %r8
	movq	%r14, %r9
	callq	_qed_iov_vp_update_rss_param
	movl	(%r13), %esi
	movq	%r15, %rdi
	movq	%r12, %rdx
	leaq	-48(%rbp), %rcx
	callq	_qed_iov_pre_update_vport
	testq	%rax, %rax
	je	LBB0_7
## %bb.5:
	movq	$0, -48(%rbp)
LBB0_6:
	movq	_PFVF_STATUS_NOT_SUPPORTED@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	-80(%rbp), %r14                 ## 8-byte Reload
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_12
LBB0_1:
	movq	_QED_MSG_IOV@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	12(%r13), %ecx
	leaq	L_.str(%rip), %rdx
	xorl	%ebx, %ebx
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_DP_VERBOSE
	movq	_PFVF_STATUS_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	jmp	LBB0_12
LBB0_3:
	movq	_PFVF_STATUS_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	xorl	%ebx, %ebx
	jmp	LBB0_12
LBB0_7:
	cmpq	$0, -48(%rbp)
	je	LBB0_8
## %bb.9:
	movq	_QED_SPQ_MODE_EBLOCK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-104(%rbp), %rsi
	movq	%r15, %rdi
	xorl	%ecx, %ecx
	callq	_qed_sp_vport_update
	testl	%eax, %eax
	je	LBB0_11
## %bb.10:
	movq	_PFVF_STATUS_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
LBB0_11:
	movq	-80(%rbp), %r14                 ## 8-byte Reload
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movl	-52(%rbp), %r12d                ## 4-byte Reload
LBB0_12:
	movq	%rbx, %rdi
	callq	_vfree
	movq	-72(%rbp), %r8
	movq	-48(%rbp), %r9
	movq	%r15, %rdi
	movq	%r13, %rsi
	movq	-88(%rbp), %rdx                 ## 8-byte Reload
	movl	%r12d, %ecx
	callq	_qed_iov_prep_vp_update_resp_tlvs
	movq	%r15, %rdi
	movq	%r14, %rsi
	movq	%r13, %rdx
	movq	%rax, %rcx
	movl	%r12d, %r8d
	callq	_qed_iov_send_response
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	cmpq	$0, -72(%rbp)
	movq	_QED_MSG_IOV@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.2(%rip), %rax
	leaq	L_.str.1(%rip), %rdx
	cmoveq	%rax, %rdx
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_DP_VERBOSE
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.comm	_PFVF_STATUS_SUCCESS,4,2        ## @PFVF_STATUS_SUCCESS
	.comm	_QED_MSG_IOV,4,2                ## @QED_MSG_IOV
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"No VPORT instance available for VF[%d], failing vport update\n"

	.comm	_PFVF_STATUS_FAILURE,4,2        ## @PFVF_STATUS_FAILURE
	.comm	_PFVF_STATUS_NOT_SUPPORTED,4,2  ## @PFVF_STATUS_NOT_SUPPORTED
L_.str.1:                               ## @.str.1
	.asciz	"Upper-layer prevents VF vport configuration\n"

L_.str.2:                               ## @.str.2
	.asciz	"No feature tlvs found for vport update\n"

	.comm	_QED_SPQ_MODE_EBLOCK,4,2        ## @QED_SPQ_MODE_EBLOCK
	.no_dead_strip	_qed_iov_vf_mbx_vport_update
.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_vport_update
_qed_iov_vf_mbx_vport_update:           ; @qed_iov_vf_mbx_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	x19, x2
	mov	x20, x1
	mov	x21, x0
	add	x22, x2, #20
	stp	xzr, xzr, [sp, #8]
	ldr	w8, [x2, #16]
	cbz	w8, LBB0_5
; %bb.1:
Lloh0:
	adrp	x8, _PFVF_STATUS_SUCCESS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PFVF_STATUS_SUCCESS@GOTPAGEOFF]
Lloh2:
	ldr	w24, [x8]
	mov	w0, #4
	bl	_vzalloc
	mov	x23, x0
	cbz	x0, LBB0_6
; %bb.2:
	add	x0, sp, #32
	mov	w1, #0
	mov	w2, #16
	bl	_memset
	ldur	d0, [x19, #4]
	str	d0, [sp, #40]
	str	xzr, [sp, #32]
	add	x1, sp, #32
	add	x3, sp, #16
	mov	x0, x21
	mov	x2, x22
	bl	_qed_iov_vp_update_act_param
	add	x1, sp, #32
	add	x4, sp, #16
	mov	x0, x21
	mov	x2, x19
	mov	x3, x22
	bl	_qed_iov_vp_update_vlan_param
	add	x1, sp, #32
	add	x3, sp, #16
	mov	x0, x21
	mov	x2, x22
	bl	_qed_iov_vp_update_tx_switch
	add	x1, sp, #32
	add	x3, sp, #16
	mov	x0, x21
	mov	x2, x22
	bl	_qed_iov_vp_update_mcast_bin_param
	add	x1, sp, #32
	add	x3, sp, #16
	mov	x0, x21
	mov	x2, x22
	bl	_qed_iov_vp_update_accept_flag
	add	x1, sp, #32
	add	x3, sp, #16
	mov	x0, x21
	mov	x2, x22
	bl	_qed_iov_vp_update_accept_any_vlan
	add	x2, sp, #32
	add	x3, sp, #24
	add	x5, sp, #16
	mov	x0, x21
	mov	x1, x19
	mov	x4, x22
	bl	_qed_iov_vp_update_sge_tpa_param
	ldr	x8, [sp, #16]
	str	x8, [sp, #8]
	add	x2, sp, #32
	add	x5, sp, #16
	add	x6, sp, #8
	mov	x0, x21
	mov	x1, x19
	mov	x3, x23
	mov	x4, x22
	bl	_qed_iov_vp_update_rss_param
	ldr	w1, [x19]
	add	x2, sp, #32
	add	x3, sp, #8
	mov	x0, x21
	bl	_qed_iov_pre_update_vport
	cbz	x0, LBB0_9
; %bb.3:
	str	xzr, [sp, #8]
LBB0_4:
Lloh3:
	adrp	x8, _PFVF_STATUS_NOT_SUPPORTED@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PFVF_STATUS_NOT_SUPPORTED@GOTPAGEOFF]
	b	LBB0_7
LBB0_5:
Lloh5:
	adrp	x8, _QED_MSG_IOV@GOTPAGE
Lloh6:
	ldr	x8, [x8, _QED_MSG_IOV@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	ldr	w8, [x19, #12]
	str	x8, [sp]
Lloh8:
	adrp	x2, l_.str@PAGE
Lloh9:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x21
	bl	_DP_VERBOSE
	mov	x23, #0
LBB0_6:
Lloh10:
	adrp	x8, _PFVF_STATUS_FAILURE@GOTPAGE
Lloh11:
	ldr	x8, [x8, _PFVF_STATUS_FAILURE@GOTPAGEOFF]
LBB0_7:
	ldr	w24, [x8]
LBB0_8:
	mov	x0, x23
	bl	_vfree
	ldp	x5, x4, [sp, #8]
	mov	x0, x21
	mov	x1, x19
	mov	x2, x22
	mov	x3, x24
	bl	_qed_iov_prep_vp_update_resp_tlvs
	mov	x3, x0
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	mov	x4, x24
	bl	_qed_iov_send_response
	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
LBB0_9:
	ldr	x8, [sp, #8]
	cbz	x8, LBB0_11
; %bb.10:
Lloh12:
	adrp	x8, _QED_SPQ_MODE_EBLOCK@GOTPAGE
Lloh13:
	ldr	x8, [x8, _QED_SPQ_MODE_EBLOCK@GOTPAGEOFF]
Lloh14:
	ldr	w2, [x8]
	add	x1, sp, #32
	mov	x0, x21
	mov	x3, #0
	bl	_qed_sp_vport_update
Lloh15:
	adrp	x8, _PFVF_STATUS_FAILURE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _PFVF_STATUS_FAILURE@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	cmp	w0, #0
	csel	w24, w24, w8, eq
	b	LBB0_8
LBB0_11:
	ldr	x8, [sp, #16]
Lloh18:
	adrp	x9, _QED_MSG_IOV@GOTPAGE
Lloh19:
	ldr	x9, [x9, _QED_MSG_IOV@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x9]
Lloh21:
	adrp	x9, l_.str.1@PAGE
Lloh22:
	add	x9, x9, l_.str.1@PAGEOFF
Lloh23:
	adrp	x10, l_.str.2@PAGE
Lloh24:
	add	x10, x10, l_.str.2@PAGEOFF
	cmp	x8, #0
	csel	x2, x10, x9, eq
	mov	x0, x21
	bl	_DP_VERBOSE
	b	LBB0_4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_PFVF_STATUS_SUCCESS,4,2        ; @PFVF_STATUS_SUCCESS
	.comm	_QED_MSG_IOV,4,2                ; @QED_MSG_IOV
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"No VPORT instance available for VF[%d], failing vport update\n"

	.comm	_PFVF_STATUS_FAILURE,4,2        ; @PFVF_STATUS_FAILURE
	.comm	_PFVF_STATUS_NOT_SUPPORTED,4,2  ; @PFVF_STATUS_NOT_SUPPORTED
l_.str.1:                               ; @.str.1
	.asciz	"Upper-layer prevents VF vport configuration\n"

l_.str.2:                               ; @.str.2
	.asciz	"No feature tlvs found for vport update\n"

	.comm	_QED_SPQ_MODE_EBLOCK,4,2        ; @QED_SPQ_MODE_EBLOCK
	.no_dead_strip	_qed_iov_vf_mbx_vport_update
.subsections_via_symbols
