	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qed_iov_vf_mbx_start_vport
_qed_iov_vf_mbx_start_vport:            ## @qed_iov_vf_mbx_start_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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movq	%rsi, %r14
	movq	%rdi, %r15
	movl	$0, -60(%rbp)
	movq	_PFVF_STATUS_SUCCESS@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movl	56(%rdx), %esi
	movl	$1, %edx
	callq	_qed_iov_get_vf_info
	testq	%rax, %rax
	je	LBB0_13
## %bb.1:
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	movl	%r12d, -44(%rbp)                ## 4-byte Spill
	movq	_VF_ENABLED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 64(%rbx)
	movq	72(%rbx), %r13
	movq	%r15, %rdi
	movq	%r14, %rsi
	movq	%rbx, %rdx
	callq	_qed_iov_enable_vf_traffic
	cmpl	$0, (%rbx)
	jle	LBB0_6
## %bb.2:
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	24(%r13), %rax
	movl	(%rax,%r12,4), %edx
	testl	%edx, %edx
	je	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	48(%rbx), %rax
	movl	(%rax,%r12,4), %ecx
	movl	44(%rbx), %r8d
	movq	%r15, %rdi
	movq	%r14, %rsi
	movl	$1, %r9d
	callq	_qed_int_cau_conf_sb
	incq	%r12
	movslq	(%rbx), %rax
	cmpq	%rax, %r12
	jl	LBB0_3
	jmp	LBB0_6
LBB0_13:
	movl	(%r15), %edi
	movq	56(%rbx), %rdx
	leaq	L_.str(%rip), %rsi
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_DP_NOTICE                      ## TAILCALL
LBB0_4:
	movq	_QED_MSG_IOV@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	56(%rbx), %rcx
	leaq	L_.str.1(%rip), %rdx
	movq	%r15, %rdi
	movl	%r12d, %r8d
	callq	_DP_VERBOSE
LBB0_6:
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	movl	16(%r13), %eax
	movl	%eax, 16(%rbx)
	movl	4(%r13), %eax
	movl	%eax, 40(%rbx)
	movq	-112(%rbp), %r12                ## 8-byte Reload
	movq	32(%r12), %r14
	movl	(%r14), %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	_VFPF_BULLETIN_UNTAGGED_DEFAULT_FORCED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_BIT
	testl	%eax, -48(%rbp)                 ## 4-byte Folded Reload
	je	LBB0_8
## %bb.7:
	movq	32(%r12), %rax
	jmp	LBB0_9
LBB0_8:
	movl	12(%r13), %ecx
	movq	32(%r12), %rax
	movl	%ecx, 4(%rax)
	movq	_VFPF_BULLETIN_UNTAGGED_DEFAULT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movl	$1, %edx
	shll	%cl, %edx
	orl	%edx, (%r14)
LBB0_9:
	movq	%r14, %r12
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movl	8(%r13), %ecx
	movl	%ecx, -64(%rbp)
	movl	4(%r13), %ecx
	movl	%ecx, -68(%rbp)
	movl	$1, -104(%rbp)
	movl	4(%rax), %eax
	movl	%eax, -72(%rbp)
	movl	$0, -100(%rbp)
	movl	28(%rbx), %eax
	movl	%eax, -76(%rbp)
	movl	24(%rbx), %eax
	movl	%eax, -80(%rbp)
	movl	20(%rbx), %eax
	movl	%eax, -84(%rbp)
	movl	(%r13), %eax
	movl	%eax, -88(%rbp)
	movl	16(%rbx), %eax
	movl	%eax, -92(%rbp)
	xorl	%eax, %eax
	cmpl	$0, 12(%rbx)
	sete	%al
	movl	%eax, -96(%rbp)
	leaq	-104(%rbp), %rsi
	movq	%r15, %rdi
	callq	_qed_sp_eth_vport_start
	testl	%eax, %eax
	je	LBB0_11
## %bb.10:
	leaq	L_.str.2(%rip), %rsi
	movq	%r15, %rdi
	movl	%eax, %edx
	callq	_DP_ERR
	movq	_PFVF_STATUS_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	jmp	LBB0_12
LBB0_11:
	incl	8(%rbx)
	movl	(%r12), %edx
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_qed_iov_configure_vport_forced
	movl	4(%rbx), %edx
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	___qed_iov_spoofchk_set
	movl	-44(%rbp), %r9d                 ## 4-byte Reload
LBB0_12:
	movq	_CHANNEL_TLV_VPORT_START@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r15, %rdi
	movq	%r14, %rsi
	movq	%rbx, %rdx
	movl	$4, %r8d
	callq	_qed_iov_prepare_resp
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PFVF_STATUS_SUCCESS,4,2        ## @PFVF_STATUS_SUCCESS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Failed to get VF info, invalid vfid [%d]\n"

	.comm	_VF_ENABLED,4,2                 ## @VF_ENABLED
	.comm	_QED_MSG_IOV,4,2                ## @QED_MSG_IOV
L_.str.1:                               ## @.str.1
	.asciz	"VF[%d] did not fill the address of SB %d\n"

	.comm	_VFPF_BULLETIN_UNTAGGED_DEFAULT_FORCED,4,2 ## @VFPF_BULLETIN_UNTAGGED_DEFAULT_FORCED
	.comm	_VFPF_BULLETIN_UNTAGGED_DEFAULT,4,2 ## @VFPF_BULLETIN_UNTAGGED_DEFAULT
L_.str.2:                               ## @.str.2
	.asciz	"qed_iov_vf_mbx_start_vport returned error %d\n"

	.comm	_PFVF_STATUS_FAILURE,4,2        ## @PFVF_STATUS_FAILURE
	.comm	_CHANNEL_TLV_VPORT_START,4,2    ## @CHANNEL_TLV_VPORT_START
	.no_dead_strip	_qed_iov_vf_mbx_start_vport
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function qed_iov_vf_mbx_start_vport
lCPI0_0:
	.long	1                               ; 0x1
	.long	0                               ; 0x0
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_qed_iov_vf_mbx_start_vport:            ; @qed_iov_vf_mbx_start_vport
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	str	wzr, [sp, #44]
Lloh0:
	adrp	x8, _PFVF_STATUS_SUCCESS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PFVF_STATUS_SUCCESS@GOTPAGEOFF]
Lloh2:
	ldr	w22, [x8]
	ldr	w1, [x2, #56]
	mov	w2, #1
	bl	_qed_iov_get_vf_info
	cbz	x0, LBB0_5
; %bb.1:
	mov	x23, x0
Lloh3:
	adrp	x8, _VF_ENABLED@GOTPAGE
Lloh4:
	ldr	x8, [x8, _VF_ENABLED@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [x19, #64]
	ldr	x25, [x19, #72]
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	bl	_qed_iov_enable_vf_traffic
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_7
; %bb.2:
	mov	x24, #0
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x25, #24]
	ldr	w2, [x8, x24, lsl #2]
	cbz	w2, LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x19, #48]
	ldr	w3, [x8, x24, lsl #2]
	ldr	w4, [x19, #44]
	mov	x0, x21
	mov	x1, x20
	mov	w5, #1
	bl	_qed_int_cau_conf_sb
	add	x24, x24, #1
	ldrsw	x8, [x19]
	cmp	x24, x8
	b.lt	LBB0_3
	b	LBB0_7
LBB0_5:
	ldr	w0, [x21]
	ldr	x2, [x19, #56]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #128
	b	_DP_NOTICE
LBB0_6:
Lloh8:
	adrp	x8, _QED_MSG_IOV@GOTPAGE
Lloh9:
	ldr	x8, [x8, _QED_MSG_IOV@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	ldr	x3, [x19, #56]
Lloh11:
	adrp	x2, l_.str.1@PAGE
Lloh12:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x21
	mov	x4, x24
	bl	_DP_VERBOSE
LBB0_7:
	ldr	w8, [x25, #16]
	str	w8, [x19, #16]
	ldr	w8, [x25, #4]
	str	w8, [x19, #40]
	ldr	x24, [x23, #32]
	ldr	w26, [x24]
Lloh13:
	adrp	x8, _VFPF_BULLETIN_UNTAGGED_DEFAULT_FORCED@GOTPAGE
Lloh14:
	ldr	x8, [x8, _VFPF_BULLETIN_UNTAGGED_DEFAULT_FORCED@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
	bl	_BIT
	tst	w0, w26
	b.eq	LBB0_9
; %bb.8:
	ldr	x8, [x23, #32]
	b	LBB0_10
LBB0_9:
	ldr	w9, [x25, #12]
	ldr	x8, [x23, #32]
	str	w9, [x8, #4]
Lloh16:
	adrp	x9, _VFPF_BULLETIN_UNTAGGED_DEFAULT@GOTPAGE
Lloh17:
	ldr	x9, [x9, _VFPF_BULLETIN_UNTAGGED_DEFAULT@GOTPAGEOFF]
Lloh18:
	ldr	w9, [x9]
	mov	w10, #1
	lsl	w9, w10, w9
	ldr	w10, [x24]
	orr	w9, w10, w9
	str	w9, [x24]
LBB0_10:
	ldur	d0, [x25, #4]
	stur	d0, [sp, #36]
	ldr	w8, [x8, #4]
Lloh19:
	adrp	x9, lCPI0_0@PAGE
Lloh20:
	ldr	d0, [x9, lCPI0_0@PAGEOFF]
	str	d0, [sp]
	ldr	w9, [x19, #28]
	stp	w9, w8, [sp, #28]
	ldur	d0, [x19, #20]
	stur	d0, [sp, #20]
	ldr	w10, [x25]
	ldp	w9, w8, [x19, #12]
	cmp	w9, #0
	cset	w9, eq
	stp	w8, w10, [sp, #12]
	str	w9, [sp, #8]
	mov	x1, sp
	mov	x0, x21
	bl	_qed_sp_eth_vport_start
	cbz	w0, LBB0_12
; %bb.11:
	mov	x2, x0
Lloh21:
	adrp	x1, l_.str.2@PAGE
Lloh22:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x21
	bl	_DP_ERR
Lloh23:
	adrp	x8, _PFVF_STATUS_FAILURE@GOTPAGE
Lloh24:
	ldr	x8, [x8, _PFVF_STATUS_FAILURE@GOTPAGEOFF]
Lloh25:
	ldr	w22, [x8]
	b	LBB0_13
LBB0_12:
	ldr	w8, [x19, #8]
	add	w8, w8, #1
	str	w8, [x19, #8]
	ldr	w2, [x24]
	mov	x0, x21
	mov	x1, x19
	bl	_qed_iov_configure_vport_forced
	ldr	w2, [x19, #4]
	mov	x0, x21
	mov	x1, x19
	bl	___qed_iov_spoofchk_set
LBB0_13:
Lloh26:
	adrp	x8, _CHANNEL_TLV_VPORT_START@GOTPAGE
Lloh27:
	ldr	x8, [x8, _CHANNEL_TLV_VPORT_START@GOTPAGEOFF]
Lloh28:
	ldr	w3, [x8]
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	mov	w4, #4
	mov	x5, x22
	bl	_qed_iov_prepare_resp
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdr	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
	.comm	_PFVF_STATUS_SUCCESS,4,2        ; @PFVF_STATUS_SUCCESS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Failed to get VF info, invalid vfid [%d]\n"

	.comm	_VF_ENABLED,4,2                 ; @VF_ENABLED
	.comm	_QED_MSG_IOV,4,2                ; @QED_MSG_IOV
l_.str.1:                               ; @.str.1
	.asciz	"VF[%d] did not fill the address of SB %d\n"

	.comm	_VFPF_BULLETIN_UNTAGGED_DEFAULT_FORCED,4,2 ; @VFPF_BULLETIN_UNTAGGED_DEFAULT_FORCED
	.comm	_VFPF_BULLETIN_UNTAGGED_DEFAULT,4,2 ; @VFPF_BULLETIN_UNTAGGED_DEFAULT
l_.str.2:                               ; @.str.2
	.asciz	"qed_iov_vf_mbx_start_vport returned error %d\n"

	.comm	_PFVF_STATUS_FAILURE,4,2        ; @PFVF_STATUS_FAILURE
	.comm	_CHANNEL_TLV_VPORT_START,4,2    ; @CHANNEL_TLV_VPORT_START
	.no_dead_strip	_qed_iov_vf_mbx_start_vport
.subsections_via_symbols
