	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_qed_vf_pf_vport_start          ## -- Begin function qed_vf_pf_vport_start
	.p2align	4, 0x90
_qed_vf_pf_vport_start:                 ## @qed_vf_pf_vport_start
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, -48(%rbp)                  ## 8-byte Spill
	movl	%r8d, %r12d
	movq	%rcx, %r13
	movl	%edx, %ebx
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	(%rdi), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	_CHANNEL_TLV_VPORT_START@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$56, %edx
	callq	_qed_vf_pf_prep
	movl	%ebx, 48(%rax)
	movq	%r15, 40(%rax)
	movq	%r13, 32(%rax)
	movl	%r12d, (%rax)
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	%rcx, 24(%rax)
	movq	16(%rbp), %rcx
	movq	%rcx, 16(%rax)
	movq	(%r14), %rcx
	movl	24(%rcx), %edx
	testl	%edx, %edx
	jle	LBB0_5
## %bb.1:
	movq	16(%rcx), %rsi
	xorl	%edi, %edi
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%rdi
	movslq	%edx, %rbx
	cmpq	%rbx, %rdi
	jge	LBB0_5
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rsi,%rdi,8), %rbx
	testq	%rbx, %rbx
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	(%rbx), %edx
	movq	8(%rax), %rbx
	movl	%edx, (%rbx,%rdi,4)
	movl	24(%rcx), %edx
	jmp	LBB0_4
LBB0_5:
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	leaq	8(%rbx), %rsi
	movq	_CHANNEL_TLV_LIST_END@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movl	$4, %ecx
	callq	_qed_add_tlv
	movq	(%rbx), %r15
	movq	%r14, %rdi
	movq	%r15, %rsi
	movl	$8, %edx
	callq	_qed_send_msg2pf
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_8
## %bb.6:
	movq	(%r15), %rax
	movq	_PFVF_STATUS_SUCCESS@GOTPCREL(%rip), %rcx
	xorl	%ebx, %ebx
	cmpq	(%rcx), %rax
	je	LBB0_8
## %bb.7:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_8:
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_qed_vf_pf_req_end
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CHANNEL_TLV_VPORT_START,4,2    ## @CHANNEL_TLV_VPORT_START
	.comm	_CHANNEL_TLV_LIST_END,4,2       ## @CHANNEL_TLV_LIST_END
	.comm	_PFVF_STATUS_SUCCESS,8,3        ## @PFVF_STATUS_SUCCESS
	.comm	_EINVAL,4,2                     ## @EINVAL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_qed_vf_pf_vport_start          ; -- Begin function qed_vf_pf_vport_start
	.p2align	2
_qed_vf_pf_vport_start:                 ; @qed_vf_pf_vport_start
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x20, x6
	mov	x21, x5
	mov	x22, x4
	mov	x23, x3
	mov	x24, x2
	mov	x25, x1
	mov	x19, x0
	ldr	x26, [x0]
Lloh0:
	adrp	x8, _CHANNEL_TLV_VPORT_START@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CHANNEL_TLV_VPORT_START@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w2, #56
	bl	_qed_vf_pf_prep
	str	w24, [x0, #48]
	stp	x23, x25, [x0, #32]
	str	w22, [x0]
	stp	x20, x21, [x0, #16]
	ldr	x8, [x19]
	ldr	w10, [x8, #24]
	cmp	w10, #1
	b.lt	LBB0_5
; %bb.1:
	mov	x9, #0
	ldr	x11, [x8, #16]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x9, x9, #1
	cmp	x9, w10, sxtw
	b.ge	LBB0_5
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x12, [x11, x9, lsl #3]
	cbz	x12, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w10, [x12]
	ldr	x12, [x0, #8]
	str	w10, [x12, x9, lsl #2]
	ldr	w10, [x8, #24]
	b	LBB0_2
LBB0_5:
	add	x1, x26, #8
Lloh3:
	adrp	x8, _CHANNEL_TLV_LIST_END@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CHANNEL_TLV_LIST_END@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w3, #4
	bl	_qed_add_tlv
	ldr	x21, [x26]
	mov	x0, x19
	mov	x1, x21
	mov	w2, #8
	bl	_qed_send_msg2pf
	mov	x20, x0
	cbnz	w0, LBB0_9
; %bb.6:
	ldr	x8, [x21]
Lloh6:
	adrp	x9, _PFVF_STATUS_SUCCESS@GOTPAGE
Lloh7:
	ldr	x9, [x9, _PFVF_STATUS_SUCCESS@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_8
; %bb.7:
	mov	w20, #0
	b	LBB0_9
LBB0_8:
Lloh9:
	adrp	x8, _EINVAL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	neg	w20, w8
LBB0_9:
	mov	x0, x19
	mov	x1, x20
	bl	_qed_vf_pf_req_end
	mov	x0, x20
	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
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_CHANNEL_TLV_VPORT_START,4,2    ; @CHANNEL_TLV_VPORT_START
	.comm	_CHANNEL_TLV_LIST_END,4,2       ; @CHANNEL_TLV_LIST_END
	.comm	_PFVF_STATUS_SUCCESS,8,3        ; @PFVF_STATUS_SUCCESS
	.comm	_EINVAL,4,2                     ; @EINVAL
.subsections_via_symbols
