	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function qed_iov_vp_update_sge_tpa_param
LCPI0_0:
	.long	1                               ## 0x1
	.long	1                               ## 0x1
	.long	1                               ## 0x1
	.long	1                               ## 0x1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_qed_iov_vp_update_sge_tpa_param:       ## @qed_iov_vp_update_sge_tpa_param
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %r15
	movq	%rcx, %rbx
	movq	%rdx, %r14
	movq	_CHANNEL_TLV_VPORT_UPDATE_SGE_TPA@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	(%r8), %esi
	callq	_qed_iov_search_list_tlvs
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r12
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$48, %edx
	callq	_memset
	movq	_VFPF_UPDATE_TPA_EN_FLAG@GOTPCREL(%rip), %rcx
	movq	(%r12), %rax
	movq	%rax, %xmm0
	pshufd	$84, %xmm0, %xmm0               ## xmm0 = xmm0[0,1,1,1]
	xorl	%edx, %edx
	movl	(%rcx), %ecx
	andl	%eax, %ecx
	setne	%dl
	movl	%edx, (%rbx)
	movq	_VFPF_UPDATE_TPA_PARAM_FLAG@GOTPCREL(%rip), %rcx
	movq	_VFPF_TPA_IPV4_EN_FLAG@GOTPCREL(%rip), %rdx
	movq	_VFPF_TPA_IPV6_EN_FLAG@GOTPCREL(%rip), %rsi
	movd	(%rcx), %xmm1                   ## xmm1 = mem[0],zero,zero,zero
	pinsrd	$1, (%rdx), %xmm1
	pinsrd	$2, (%rsi), %xmm1
	movq	_VFPF_TPA_PKT_SPLIT_FLAG@GOTPCREL(%rip), %rcx
	pinsrd	$3, (%rcx), %xmm1
	pand	%xmm0, %xmm1
	pxor	%xmm0, %xmm0
	pcmpeqd	%xmm1, %xmm0
	pandn	LCPI0_0(%rip), %xmm0
	movdqu	%xmm0, 4(%rbx)
	movq	_VFPF_TPA_HDR_DATA_SPLIT_FLAG@GOTPCREL(%rip), %rcx
	shrq	$32, %rax
	xorl	%edx, %edx
	movl	(%rcx), %ecx
	andl	%eax, %ecx
	setne	%dl
	movl	%edx, 20(%rbx)
	movq	_VFPF_TPA_GRO_CONSIST_FLAG@GOTPCREL(%rip), %rcx
	xorl	%edx, %edx
	andl	(%rcx), %eax
	setne	%dl
	movl	%edx, 24(%rbx)
	movl	24(%r12), %eax
	movl	%eax, 44(%rbx)
	movups	8(%r12), %xmm0
	movups	%xmm0, 28(%rbx)
	movq	_QED_IOV_VP_UPDATE_SGE_TPA@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	movl	$1, %eax
	shll	%cl, %eax
	orl	%eax, (%r15)
	jmp	LBB0_3
LBB0_1:
	xorl	%ebx, %ebx
LBB0_3:
	movq	%rbx, (%r14)
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CHANNEL_TLV_VPORT_UPDATE_SGE_TPA,4,2 ## @CHANNEL_TLV_VPORT_UPDATE_SGE_TPA
	.comm	_VFPF_UPDATE_TPA_EN_FLAG,4,2    ## @VFPF_UPDATE_TPA_EN_FLAG
	.comm	_VFPF_UPDATE_TPA_PARAM_FLAG,4,2 ## @VFPF_UPDATE_TPA_PARAM_FLAG
	.comm	_VFPF_TPA_IPV4_EN_FLAG,4,2      ## @VFPF_TPA_IPV4_EN_FLAG
	.comm	_VFPF_TPA_IPV6_EN_FLAG,4,2      ## @VFPF_TPA_IPV6_EN_FLAG
	.comm	_VFPF_TPA_PKT_SPLIT_FLAG,4,2    ## @VFPF_TPA_PKT_SPLIT_FLAG
	.comm	_VFPF_TPA_HDR_DATA_SPLIT_FLAG,4,2 ## @VFPF_TPA_HDR_DATA_SPLIT_FLAG
	.comm	_VFPF_TPA_GRO_CONSIST_FLAG,4,2  ## @VFPF_TPA_GRO_CONSIST_FLAG
	.comm	_QED_IOV_VP_UPDATE_SGE_TPA,4,2  ## @QED_IOV_VP_UPDATE_SGE_TPA
	.no_dead_strip	_qed_iov_vp_update_sge_tpa_param
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qed_iov_vp_update_sge_tpa_param
_qed_iov_vp_update_sge_tpa_param:       ; @qed_iov_vp_update_sge_tpa_param
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x21, x5
	mov	x20, x3
	mov	x19, x2
	ldr	w1, [x4]
Lloh0:
	adrp	x8, _CHANNEL_TLV_VPORT_UPDATE_SGE_TPA@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CHANNEL_TLV_VPORT_UPDATE_SGE_TPA@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	bl	_qed_iov_search_list_tlvs
	cbz	x0, LBB0_2
; %bb.1:
	mov	x22, x0
	mov	x0, x20
	mov	w1, #0
	mov	w2, #48
	bl	_memset
Lloh3:
	adrp	x8, _VFPF_UPDATE_TPA_EN_FLAG@GOTPAGE
Lloh4:
	ldr	x8, [x8, _VFPF_UPDATE_TPA_EN_FLAG@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	ldp	w9, w10, [x22]
	tst	w8, w9
	cset	w8, ne
	str	w8, [x20]
Lloh6:
	adrp	x8, _VFPF_UPDATE_TPA_PARAM_FLAG@GOTPAGE
Lloh7:
	ldr	x8, [x8, _VFPF_UPDATE_TPA_PARAM_FLAG@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	tst	w8, w9
Lloh9:
	adrp	x8, _VFPF_TPA_IPV4_EN_FLAG@GOTPAGE
Lloh10:
	ldr	x8, [x8, _VFPF_TPA_IPV4_EN_FLAG@GOTPAGEOFF]
Lloh11:
	adrp	x9, _VFPF_TPA_IPV6_EN_FLAG@GOTPAGE
Lloh12:
	ldr	x9, [x9, _VFPF_TPA_IPV6_EN_FLAG@GOTPAGEOFF]
Lloh13:
	adrp	x11, _VFPF_TPA_PKT_SPLIT_FLAG@GOTPAGE
Lloh14:
	ldr	x11, [x11, _VFPF_TPA_PKT_SPLIT_FLAG@GOTPAGEOFF]
	cset	w12, ne
Lloh15:
	ldr	s0, [x8]
Lloh16:
	adrp	x8, _VFPF_TPA_HDR_DATA_SPLIT_FLAG@GOTPAGE
Lloh17:
	ldr	x8, [x8, _VFPF_TPA_HDR_DATA_SPLIT_FLAG@GOTPAGEOFF]
	ld1.s	{ v0 }[1], [x9]
	ld1.s	{ v0 }[2], [x11]
	ld1.s	{ v0 }[3], [x8]
	dup.4s	v1, w10
	str	w12, [x20, #4]
	and.16b	v0, v0, v1
	cmeq.4s	v0, v0, #0
	movi.4s	v1, #1
	bic.16b	v0, v1, v0
	stur	q0, [x20, #8]
Lloh18:
	adrp	x8, _VFPF_TPA_GRO_CONSIST_FLAG@GOTPAGE
Lloh19:
	ldr	x8, [x8, _VFPF_TPA_GRO_CONSIST_FLAG@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	tst	w8, w10
	cset	w8, ne
	str	w8, [x20, #24]
	ldr	w8, [x22, #24]
	str	w8, [x20, #44]
	ldur	q0, [x22, #8]
	stur	q0, [x20, #28]
Lloh21:
	adrp	x8, _QED_IOV_VP_UPDATE_SGE_TPA@GOTPAGE
Lloh22:
	ldr	x8, [x8, _QED_IOV_VP_UPDATE_SGE_TPA@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	mov	w9, #1
	lsl	w8, w9, w8
	ldr	w9, [x21]
	orr	w8, w9, w8
	str	w8, [x21]
	b	LBB0_3
LBB0_2:
	mov	x20, #0
LBB0_3:
	str	x20, [x19]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh15
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_CHANNEL_TLV_VPORT_UPDATE_SGE_TPA,4,2 ; @CHANNEL_TLV_VPORT_UPDATE_SGE_TPA
	.comm	_VFPF_UPDATE_TPA_EN_FLAG,4,2    ; @VFPF_UPDATE_TPA_EN_FLAG
	.comm	_VFPF_UPDATE_TPA_PARAM_FLAG,4,2 ; @VFPF_UPDATE_TPA_PARAM_FLAG
	.comm	_VFPF_TPA_IPV4_EN_FLAG,4,2      ; @VFPF_TPA_IPV4_EN_FLAG
	.comm	_VFPF_TPA_IPV6_EN_FLAG,4,2      ; @VFPF_TPA_IPV6_EN_FLAG
	.comm	_VFPF_TPA_PKT_SPLIT_FLAG,4,2    ; @VFPF_TPA_PKT_SPLIT_FLAG
	.comm	_VFPF_TPA_HDR_DATA_SPLIT_FLAG,4,2 ; @VFPF_TPA_HDR_DATA_SPLIT_FLAG
	.comm	_VFPF_TPA_GRO_CONSIST_FLAG,4,2  ; @VFPF_TPA_GRO_CONSIST_FLAG
	.comm	_QED_IOV_VP_UPDATE_SGE_TPA,4,2  ; @QED_IOV_VP_UPDATE_SGE_TPA
	.no_dead_strip	_qed_iov_vp_update_sge_tpa_param
.subsections_via_symbols
