	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qed_iov_vp_update_vlan_param
_qed_iov_vp_update_vlan_param:          ## @qed_iov_vp_update_vlan_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	%r8, %r14
	movq	%rdx, %r12
	movq	%rsi, %r15
	movq	_CHANNEL_TLV_VPORT_UPDATE_VLAN_STRIP@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	(%rcx), %esi
	callq	_qed_iov_search_list_tlvs
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movq	%rax, %rbx
	movl	(%rax), %eax
	movl	%eax, 4(%r12)
	movl	(%r12), %r12d
	movq	_VLAN_ADDR_FORCED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_BIT
	testl	%r12d, %eax
	jne	LBB0_3
## %bb.2:
	movl	$1, (%r15)
	movl	(%rbx), %eax
	movl	%eax, 4(%r15)
LBB0_3:
	movq	_QED_IOV_VP_UPDATE_VLAN_STRIP@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	movl	$1, %eax
	shll	%cl, %eax
	orl	%eax, (%r14)
LBB0_4:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CHANNEL_TLV_VPORT_UPDATE_VLAN_STRIP,4,2 ## @CHANNEL_TLV_VPORT_UPDATE_VLAN_STRIP
	.comm	_VLAN_ADDR_FORCED,4,2           ## @VLAN_ADDR_FORCED
	.comm	_QED_IOV_VP_UPDATE_VLAN_STRIP,4,2 ## @QED_IOV_VP_UPDATE_VLAN_STRIP
	.no_dead_strip	_qed_iov_vp_update_vlan_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_vlan_param
_qed_iov_vp_update_vlan_param:          ; @qed_iov_vp_update_vlan_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	x19, x4
	mov	x22, x2
	mov	x20, x1
	ldr	w1, [x3]
Lloh0:
	adrp	x8, _CHANNEL_TLV_VPORT_UPDATE_VLAN_STRIP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CHANNEL_TLV_VPORT_UPDATE_VLAN_STRIP@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	bl	_qed_iov_search_list_tlvs
	cbz	x0, LBB0_4
; %bb.1:
	mov	x21, x0
	ldr	w8, [x0]
	str	w8, [x22, #4]
	ldr	w22, [x22]
Lloh3:
	adrp	x8, _VLAN_ADDR_FORCED@GOTPAGE
Lloh4:
	ldr	x8, [x8, _VLAN_ADDR_FORCED@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_BIT
	tst	w0, w22
	b.ne	LBB0_3
; %bb.2:
	mov	w8, #1
	ldr	w9, [x21]
	stp	w8, w9, [x20]
LBB0_3:
Lloh6:
	adrp	x8, _QED_IOV_VP_UPDATE_VLAN_STRIP@GOTPAGE
Lloh7:
	ldr	x8, [x8, _QED_IOV_VP_UPDATE_VLAN_STRIP@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	mov	w9, #1
	lsl	w8, w9, w8
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
LBB0_4:
	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	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_CHANNEL_TLV_VPORT_UPDATE_VLAN_STRIP,4,2 ; @CHANNEL_TLV_VPORT_UPDATE_VLAN_STRIP
	.comm	_VLAN_ADDR_FORCED,4,2           ; @VLAN_ADDR_FORCED
	.comm	_QED_IOV_VP_UPDATE_VLAN_STRIP,4,2 ; @QED_IOV_VP_UPDATE_VLAN_STRIP
	.no_dead_strip	_qed_iov_vp_update_vlan_param
.subsections_via_symbols
