	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qed_iov_prep_vp_update_resp_tlvs
_qed_iov_prep_vp_update_resp_tlvs:      ## @qed_iov_prep_vp_update_resp_tlvs
	.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	%r9, -80(%rbp)                  ## 8-byte Spill
	movq	%r8, -88(%rbp)                  ## 8-byte Spill
	movl	%ecx, -52(%rbp)                 ## 4-byte Spill
	movq	%rdx, %r14
	movq	%rsi, -72(%rbp)                 ## 8-byte Spill
	movq	%rdi, %rbx
	movq	8(%rdx), %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movq	8(%r14), %rax
	movq	%rax, (%r14)
	movq	_CHANNEL_TLV_VPORT_UPDATE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	movq	%r14, %rsi
	movl	$4, %ecx
	callq	_qed_add_tlv
	movq	_QED_IOV_VP_UPDATE_MAX@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	jle	LBB0_1
## %bb.2:
	movl	$4, %ebx
	xorl	%r15d, %r15d
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	%ecx, (%r14)
	movq	_QED_MSG_IOV@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %ebx
	movq	%r13, %rdi
	movq	%r15, %rsi
	callq	_qed_iov_vport_to_tlv
	movl	(%r14), %r9d
	movq	%r13, %rdi
	movl	%r12d, %esi
	leaq	L_.str(%rip), %rdx
	movl	%ebx, %ecx
	movl	%eax, %r8d
	callq	_DP_VERBOSE
	movq	-96(%rbp), %rbx                 ## 8-byte Reload
	addq	$4, %rbx
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	incq	%r15
	movq	_QED_IOV_VP_UPDATE_MAX@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r15
	jge	LBB0_8
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	callq	_BIT
	testq	%rax, -88(%rbp)                 ## 8-byte Folded Reload
	je	LBB0_7
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%rbx, -96(%rbp)                 ## 8-byte Spill
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_qed_iov_vport_to_tlv
	movq	%r14, %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movl	%eax, %edx
	movl	$4, %ecx
	callq	_qed_add_tlv
	movq	%rax, %r14
	movq	%r15, %rdi
	callq	_BIT
	movl	-52(%rbp), %ecx                 ## 4-byte Reload
	testq	%rax, -80(%rbp)                 ## 8-byte Folded Reload
	jne	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	_PFVF_STATUS_NOT_SUPPORTED@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	jmp	LBB0_6
LBB0_1:
	movl	$4, %ebx
LBB0_8:
	movq	_CHANNEL_TLV_LIST_END@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movl	$4, %ecx
	callq	_qed_add_tlv
	movq	%rbx, %rax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CHANNEL_TLV_VPORT_UPDATE,4,2   ## @CHANNEL_TLV_VPORT_UPDATE
	.comm	_QED_IOV_VP_UPDATE_MAX,8,3      ## @QED_IOV_VP_UPDATE_MAX
	.comm	_PFVF_STATUS_NOT_SUPPORTED,4,2  ## @PFVF_STATUS_NOT_SUPPORTED
	.comm	_QED_MSG_IOV,4,2                ## @QED_MSG_IOV
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"VF[%d] - vport_update response: TLV %d, status %02x\n"

	.comm	_CHANNEL_TLV_LIST_END,4,2       ## @CHANNEL_TLV_LIST_END
	.no_dead_strip	_qed_iov_prep_vp_update_resp_tlvs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qed_iov_prep_vp_update_resp_tlvs
_qed_iov_prep_vp_update_resp_tlvs:      ; @qed_iov_prep_vp_update_resp_tlvs
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	str	x5, [sp, #8]                    ; 8-byte Folded Spill
	mov	x23, x4
	mov	x24, x3
	mov	x19, x2
	mov	x25, x1
	mov	x20, x0
	ldr	x0, [x2, #8]
	mov	w21, #4
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	ldr	x8, [x19, #8]
	str	x8, [x19]
Lloh0:
	adrp	x8, _CHANNEL_TLV_VPORT_UPDATE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CHANNEL_TLV_VPORT_UPDATE@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x19
	mov	w3, #4
	bl	_qed_add_tlv
Lloh3:
	adrp	x8, _QED_IOV_VP_UPDATE_MAX@GOTPAGE
Lloh4:
	ldr	x8, [x8, _QED_IOV_VP_UPDATE_MAX@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x8, #1
	b.lt	LBB0_5
; %bb.1:
	mov	x26, #0
	mov	w21, #4
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x26, x26, #1
Lloh6:
	adrp	x8, _QED_IOV_VP_UPDATE_MAX@GOTPAGE
Lloh7:
	ldr	x8, [x8, _QED_IOV_VP_UPDATE_MAX@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	cmp	x26, x8
	b.ge	LBB0_5
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x26
	bl	_BIT
	tst	x0, x23
	b.eq	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x20
	mov	x1, x26
	bl	_qed_iov_vport_to_tlv
	mov	x2, x0
	mov	x0, x20
	mov	x1, x19
	mov	w3, #4
	bl	_qed_add_tlv
	mov	x28, x0
	mov	x0, x26
	bl	_BIT
Lloh9:
	adrp	x8, _PFVF_STATUS_NOT_SUPPORTED@GOTPAGE
Lloh10:
	ldr	x8, [x8, _PFVF_STATUS_NOT_SUPPORTED@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	ldr	x9, [sp, #8]                    ; 8-byte Folded Reload
	tst	x0, x9
	csel	w8, w8, w24, eq
	str	w8, [x28]
Lloh12:
	adrp	x8, _QED_MSG_IOV@GOTPAGE
Lloh13:
	ldr	x8, [x8, _QED_MSG_IOV@GOTPAGEOFF]
Lloh14:
	ldr	w27, [x8]
	ldr	w22, [x25]
	mov	x0, x20
	mov	x1, x26
	bl	_qed_iov_vport_to_tlv
	mov	x4, x0
	ldr	w5, [x28]
	mov	x0, x20
	mov	x1, x27
Lloh15:
	adrp	x2, l_.str@PAGE
Lloh16:
	add	x2, x2, l_.str@PAGEOFF
	mov	x3, x22
	bl	_DP_VERBOSE
	add	x21, x21, #4
	b	LBB0_2
LBB0_5:
Lloh17:
	adrp	x8, _CHANNEL_TLV_LIST_END@GOTPAGE
Lloh18:
	ldr	x8, [x8, _CHANNEL_TLV_LIST_END@GOTPAGEOFF]
Lloh19:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x19
	mov	w3, #4
	bl	_qed_add_tlv
	mov	x0, x21
	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
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_CHANNEL_TLV_VPORT_UPDATE,4,2   ; @CHANNEL_TLV_VPORT_UPDATE
	.comm	_QED_IOV_VP_UPDATE_MAX,8,3      ; @QED_IOV_VP_UPDATE_MAX
	.comm	_PFVF_STATUS_NOT_SUPPORTED,4,2  ; @PFVF_STATUS_NOT_SUPPORTED
	.comm	_QED_MSG_IOV,4,2                ; @QED_MSG_IOV
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"VF[%d] - vport_update response: TLV %d, status %02x\n"

	.comm	_CHANNEL_TLV_LIST_END,4,2       ; @CHANNEL_TLV_LIST_END
	.no_dead_strip	_qed_iov_prep_vp_update_resp_tlvs
.subsections_via_symbols
