	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_i40e_ndo_set_vf_port_vlan      ## -- Begin function i40e_ndo_set_vf_port_vlan
	.p2align	4, 0x90
_i40e_ndo_set_vf_port_vlan:             ## @i40e_ndo_set_vf_port_vlan
	.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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, -72(%rbp)                  ## 8-byte Spill
	movl	%ecx, %r12d
	movl	%edx, %r14d
	movl	%esi, %ebx
	movq	_I40E_VLAN_PRIORITY_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	movl	%r12d, %r15d
	shll	%cl, %r15d
	callq	_netdev_priv
	movq	(%rax), %rax
	movq	(%rax), %r13
	movq	___I40E_VIRTCHNL_OP_PENDING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r13), %esi
	callq	_test_and_set_bit
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	8(%r13), %rdi
	leaq	L_.str(%rip), %rsi
	callq	_dev_warn
	movq	_EAGAIN@GOTPCREL(%rip), %rax
	xorl	%r13d, %r13d
	subl	(%rax), %r13d
	jmp	LBB0_36
LBB0_2:
	movl	%r15d, -56(%rbp)                ## 4-byte Spill
	movl	%r12d, -60(%rbp)                ## 4-byte Spill
	movl	%r14d, %r12d
	movq	%r13, %rdi
	movl	%ebx, %esi
	callq	_i40e_validate_vf
	movq	%r13, %r15
	movl	%eax, %r13d
	testl	%eax, %eax
	jne	LBB0_35
## %bb.3:
	movq	%r15, -48(%rbp)                 ## 8-byte Spill
	movl	%ebx, -52(%rbp)                 ## 4-byte Spill
	cmpl	$7, -60(%rbp)                   ## 4-byte Folded Reload
	jg	LBB0_5
## %bb.4:
	movl	%r12d, %ecx
	movq	_I40E_MAX_VLANID@GOTPCREL(%rip), %rax
	cmpl	%r12d, (%rax)
	jl	LBB0_5
## %bb.6:
	movq	_ETH_P_8021Q@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_htons
	cmpq	-72(%rbp), %rax                 ## 8-byte Folded Reload
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	jne	LBB0_7
## %bb.8:
	movq	16(%r15), %rax
	movq	24(%r15), %r13
	movl	-52(%rbp), %ebx                 ## 4-byte Reload
	movslq	%ebx, %rcx
	leaq	(%rcx,%rcx,2), %rdx
	movq	(%r13,%rdx,8), %rcx
	movq	(%rax,%rcx,8), %r14
	movq	_I40E_VF_STATE_INIT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rdx, -72(%rbp)                 ## 8-byte Spill
	leaq	12(,%rdx,8), %rsi
	addq	%r13, %rsi
	movq	%rsi, -120(%rbp)                ## 8-byte Spill
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_9
## %bb.10:
	movq	%r13, -80(%rbp)                 ## 8-byte Spill
	movl	-56(%rbp), %ebx                 ## 4-byte Reload
	orl	%r12d, %ebx
	movq	%r14, -88(%rbp)                 ## 8-byte Spill
	movq	8(%r14), %rdi
	callq	_le16_to_cpu
	xorl	%r13d, %r13d
	movl	%ebx, -56(%rbp)                 ## 4-byte Spill
	cmpl	%ebx, %eax
	je	LBB0_35
## %bb.11:
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rax,%rcx,8), %rbx
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	callq	_i40e_vsi_has_vlans
	testq	%rax, %rax
	je	LBB0_13
## %bb.12:
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	movq	8(%r15), %rdi
	leaq	L_.str.4(%rip), %rsi
	movl	-52(%rbp), %edx                 ## 4-byte Reload
	xorl	%eax, %eax
	callq	_dev_err
	movq	%rbx, %rdi
	callq	_i40e_vc_disable_vf
	movq	16(%r15), %rax
	movq	(%rbx), %rcx
	movq	(%rax,%rcx,8), %rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
LBB0_13:
	movq	%rbx, -104(%rbp)                ## 8-byte Spill
	movq	-88(%rbp), %r15                 ## 8-byte Reload
	leaq	24(%r15), %rdi
	movq	%rdi, -112(%rbp)                ## 8-byte Spill
	callq	_spin_lock_bh
	movl	-60(%rbp), %ebx                 ## 4-byte Reload
	orl	%r12d, %ebx
	movl	-56(%rbp), %r14d                ## 4-byte Reload
	je	LBB0_15
## %bb.14:
	movq	8(%r15), %rdi
	callq	_le16_to_cpu
	cmpl	%eax, %r14d
	je	LBB0_18
LBB0_15:
	cmpq	$0, 8(%r15)
	je	LBB0_18
## %bb.16:
	movq	_I40E_VLAN_ANY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_i40e_add_vlan_all_mac
	testl	%eax, %eax
	je	LBB0_18
## %bb.17:
	movl	%eax, %r13d
	movq	16(%r15), %rax
	movq	8(%rax), %rdi
	movl	(%rax), %ecx
	leaq	L_.str.5(%rip), %rsi
	movl	%r13d, %edx
	xorl	%eax, %eax
	callq	_dev_info
	movq	-112(%rbp), %rdi                ## 8-byte Reload
	callq	_spin_unlock_bh
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	jmp	LBB0_35
LBB0_5:
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	movq	8(%r15), %rdi
	leaq	L_.str.1(%rip), %rsi
	xorl	%r13d, %r13d
	xorl	%eax, %eax
	callq	_dev_err
	movq	_EINVAL@GOTPCREL(%rip), %rax
	subl	(%rax), %r13d
	jmp	LBB0_35
LBB0_7:
	movq	8(%r15), %rdi
	leaq	L_.str.2(%rip), %rsi
	xorl	%r13d, %r13d
	xorl	%eax, %eax
	callq	_dev_err
	movq	_EPROTONOSUPPORT@GOTPCREL(%rip), %rax
	subl	(%rax), %r13d
	jmp	LBB0_35
LBB0_9:
	movq	8(%r15), %rdi
	leaq	L_.str.3(%rip), %rsi
	xorl	%r13d, %r13d
	movl	%ebx, %edx
	xorl	%eax, %eax
	callq	_dev_err
	movq	_EAGAIN@GOTPCREL(%rip), %rax
	subl	(%rax), %r13d
	jmp	LBB0_35
LBB0_18:
	movl	%ebx, -92(%rbp)                 ## 4-byte Spill
	movq	8(%r15), %rdi
	testq	%rdi, %rdi
	je	LBB0_20
## %bb.19:
	callq	_le16_to_cpu
	movq	_VLAN_VID_MASK@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_i40e_rm_vlan_all_mac
LBB0_20:
	movq	-112(%rbp), %rbx                ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_spin_unlock_bh
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movl	16(%rax,%rcx,8), %esi
	movq	-104(%rbp), %rdi                ## 8-byte Reload
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_i40e_config_vf_promiscuous_mode
	testl	%eax, %eax
	je	LBB0_22
## %bb.21:
	movl	%eax, %r13d
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	movq	8(%r15), %rdi
	leaq	L_.str.6(%rip), %rsi
LBB0_34:
	xorl	%eax, %eax
	callq	_dev_err
LBB0_35:
	movq	___I40E_VIRTCHNL_OP_PENDING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r15), %esi
	callq	_clear_bit
LBB0_36:
	movl	%r13d, %eax
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_22:
	cmpl	$0, -92(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_24
## %bb.23:
	movq	%r15, %rdi
	movl	%r14d, %esi
	callq	_i40e_vsi_add_pvid
	movl	%eax, %r13d
	jmp	LBB0_25
LBB0_24:
	movq	%r15, %rdi
	callq	_i40e_vsi_remove_pvid
	xorl	%r13d, %r13d
LBB0_25:
	movq	%rbx, %rdi
	callq	_spin_lock_bh
	testl	%r12d, %r12d
	je	LBB0_29
## %bb.26:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %rdi
	leaq	L_.str.7(%rip), %rsi
	xorl	%r13d, %r13d
	movl	%r12d, %edx
	movl	-60(%rbp), %ecx                 ## 4-byte Reload
	movl	-52(%rbp), %r8d                 ## 4-byte Reload
	xorl	%eax, %eax
	callq	_dev_info
	movq	%r15, %rdi
	movl	%r12d, %esi
	callq	_i40e_add_vlan_all_mac
	testl	%eax, %eax
	je	LBB0_28
## %bb.27:
	movl	%eax, %r14d
	movq	16(%r15), %rax
	movq	8(%rax), %rdi
	movl	(%rax), %ecx
	leaq	L_.str.5(%rip), %rsi
	movl	%r14d, %edx
	xorl	%eax, %eax
	callq	_dev_info
	movq	%rbx, %rdi
	callq	_spin_unlock_bh
	movl	%r14d, %r13d
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	jmp	LBB0_35
LBB0_28:
	movq	_I40E_VLAN_ANY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_i40e_rm_vlan_all_mac
LBB0_29:
	movq	%rbx, %rdi
	callq	_spin_unlock_bh
	movq	_I40E_VF_STATE_UC_PROMISC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	-120(%rbp), %r14                ## 8-byte Reload
	movq	%r14, %rsi
	callq	_test_bit
	movq	%rax, %r12
	movq	_I40E_VF_STATE_MC_PROMISC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	callq	_test_bit
	movq	%rax, %rbx
	movq	16(%r15), %rdi
	callq	_i40e_service_event_schedule
	testl	%r13d, %r13d
	je	LBB0_31
## %bb.30:
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	movq	8(%r15), %rdi
	leaq	L_.str.8(%rip), %rsi
	jmp	LBB0_34
LBB0_31:
	xorl	%r14d, %r14d
	testq	%rbx, %rbx
	setne	%r14b
	xorl	%ebx, %ebx
	testq	%r12, %r12
	setne	%bl
	movq	8(%r15), %rdi
	callq	_le16_to_cpu
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	movl	%eax, 8(%rcx,%rdx,8)
	movl	(%r15), %esi
	movq	-104(%rbp), %rdi                ## 8-byte Reload
	movl	%r14d, %edx
	movl	%ebx, %ecx
	callq	_i40e_config_vf_promiscuous_mode
	testl	%eax, %eax
	je	LBB0_32
## %bb.33:
	movl	%eax, %r13d
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	movq	8(%r15), %rdi
	leaq	L_.str.9(%rip), %rsi
	jmp	LBB0_34
LBB0_32:
	xorl	%r13d, %r13d
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	jmp	LBB0_35
	.cfi_endproc
                                        ## -- End function
	.comm	_I40E_VLAN_PRIORITY_SHIFT,4,2   ## @I40E_VLAN_PRIORITY_SHIFT
	.comm	___I40E_VIRTCHNL_OP_PENDING,4,2 ## @__I40E_VIRTCHNL_OP_PENDING
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unable to configure VFs, other operation is pending.\n"

	.comm	_EAGAIN,4,2                     ## @EAGAIN
	.comm	_I40E_MAX_VLANID,4,2            ## @I40E_MAX_VLANID
L_.str.1:                               ## @.str.1
	.asciz	"Invalid VF Parameters\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_ETH_P_8021Q,4,2                ## @ETH_P_8021Q
L_.str.2:                               ## @.str.2
	.asciz	"VF VLAN protocol is not supported\n"

	.comm	_EPROTONOSUPPORT,4,2            ## @EPROTONOSUPPORT
	.comm	_I40E_VF_STATE_INIT,4,2         ## @I40E_VF_STATE_INIT
L_.str.3:                               ## @.str.3
	.asciz	"VF %d still in reset. Try again.\n"

L_.str.4:                               ## @.str.4
	.asciz	"VF %d has already configured VLAN filters and the administrator is requesting a port VLAN override.\nPlease unload and reload the VF driver for this change to take effect.\n"

	.comm	_I40E_VLAN_ANY,4,2              ## @I40E_VLAN_ANY
L_.str.5:                               ## @.str.5
	.asciz	"add VF VLAN failed, ret=%d aq_err=%d\n"

	.comm	_VLAN_VID_MASK,4,2              ## @VLAN_VID_MASK
L_.str.6:                               ## @.str.6
	.asciz	"Unable to config VF promiscuous mode\n"

L_.str.7:                               ## @.str.7
	.asciz	"Setting VLAN %d, QOS 0x%x on VF %d\n"

	.comm	_I40E_VF_STATE_UC_PROMISC,4,2   ## @I40E_VF_STATE_UC_PROMISC
	.comm	_I40E_VF_STATE_MC_PROMISC,4,2   ## @I40E_VF_STATE_MC_PROMISC
L_.str.8:                               ## @.str.8
	.asciz	"Unable to update VF vsi context\n"

L_.str.9:                               ## @.str.9
	.asciz	"Unable to config vf promiscuous mode\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_i40e_ndo_set_vf_port_vlan      ; -- Begin function i40e_ndo_set_vf_port_vlan
	.p2align	2
_i40e_ndo_set_vf_port_vlan:             ; @i40e_ndo_set_vf_port_vlan
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	mov	x20, x4
	mov	x22, x3
	mov	x21, x2
	mov	x23, x1
Lloh0:
	adrp	x8, _I40E_VLAN_PRIORITY_SHIFT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _I40E_VLAN_PRIORITY_SHIFT@GOTPAGEOFF]
Lloh2:
	ldr	w28, [x8]
	bl	_netdev_priv
	ldr	x8, [x0]
	ldr	x19, [x8]
Lloh3:
	adrp	x26, ___I40E_VIRTCHNL_OP_PENDING@GOTPAGE
Lloh4:
	ldr	x26, [x26, ___I40E_VIRTCHNL_OP_PENDING@GOTPAGEOFF]
	ldr	w0, [x26]
	ldr	w1, [x19]
	bl	_test_and_set_bit
	cbz	x0, LBB0_2
; %bb.1:
	ldr	x0, [x19, #8]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_warn
Lloh7:
	adrp	x8, _EAGAIN@GOTPAGE
Lloh8:
	ldr	x8, [x8, _EAGAIN@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	neg	w27, w8
	b	LBB0_14
LBB0_2:
	mov	x0, x19
	mov	x1, x23
	bl	_i40e_validate_vf
	mov	x27, x0
	cbnz	w0, LBB0_13
; %bb.3:
	cmp	w22, #7
	b.gt	LBB0_9
; %bb.4:
Lloh10:
	adrp	x8, _I40E_MAX_VLANID@GOTPAGE
Lloh11:
	ldr	x8, [x8, _I40E_MAX_VLANID@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	cmp	w8, w21
	b.lt	LBB0_9
; %bb.5:
Lloh13:
	adrp	x8, _ETH_P_8021Q@GOTPAGE
Lloh14:
	ldr	x8, [x8, _ETH_P_8021Q@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
	bl	_htons
	cmp	x0, x20
	b.ne	LBB0_10
; %bb.6:
	mov	w8, #24
	ldp	x9, x27, [x19, #16]
	smaddl	x20, w23, w8, x27
	mov	x25, x20
	ldr	x8, [x25], #12
	ldr	x24, [x9, x8, lsl #3]
Lloh16:
	adrp	x8, _I40E_VF_STATE_INIT@GOTPAGE
Lloh17:
	ldr	x8, [x8, _I40E_VF_STATE_INIT@GOTPAGEOFF]
Lloh18:
	ldr	w0, [x8]
	mov	x1, x25
	bl	_test_bit
	cbz	x0, LBB0_11
; %bb.7:
	lsl	w8, w22, w28
	orr	w28, w8, w21
	ldr	x0, [x24, #8]
	bl	_le16_to_cpu
	cmp	w0, w28
	b.ne	LBB0_15
; %bb.8:
	mov	w27, #0
	b	LBB0_13
LBB0_9:
	ldr	x0, [x19, #8]
Lloh19:
	adrp	x1, l_.str.1@PAGE
Lloh20:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_dev_err
Lloh21:
	adrp	x8, _EINVAL@GOTPAGE
Lloh22:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_12
LBB0_10:
	ldr	x0, [x19, #8]
Lloh23:
	adrp	x1, l_.str.2@PAGE
Lloh24:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_dev_err
Lloh25:
	adrp	x8, _EPROTONOSUPPORT@GOTPAGE
Lloh26:
	ldr	x8, [x8, _EPROTONOSUPPORT@GOTPAGEOFF]
	b	LBB0_12
LBB0_11:
	ldr	x0, [x19, #8]
                                        ; kill: def $w23 killed $w23 killed $x23 def $x23
	str	x23, [sp]
Lloh27:
	adrp	x1, l_.str.3@PAGE
Lloh28:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_dev_err
Lloh29:
	adrp	x8, _EAGAIN@GOTPAGE
Lloh30:
	ldr	x8, [x8, _EAGAIN@GOTPAGEOFF]
LBB0_12:
	ldr	w8, [x8]
	neg	w27, w8
LBB0_13:
	ldr	w0, [x26]
	ldr	w1, [x19]
	bl	_clear_bit
LBB0_14:
	mov	x0, x27
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_15:
	str	x27, [sp, #32]                  ; 8-byte Folded Spill
	mov	x0, x24
	bl	_i40e_vsi_has_vlans
	cbz	x0, LBB0_17
; %bb.16:
	ldr	x0, [x19, #8]
	mov	x8, x23
	str	x8, [sp]
Lloh31:
	adrp	x1, l_.str.4@PAGE
Lloh32:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_dev_err
	mov	x0, x20
	bl	_i40e_vc_disable_vf
	ldr	x8, [x19, #16]
	ldr	x9, [x20]
	ldr	x24, [x8, x9, lsl #3]
LBB0_17:
	add	x0, x24, #24
	str	x0, [sp, #40]                   ; 8-byte Folded Spill
	bl	_spin_lock_bh
	orr	w8, w22, w21
	str	w8, [sp, #28]                   ; 4-byte Folded Spill
	cbz	w8, LBB0_19
; %bb.18:
	ldr	x0, [x24, #8]
	bl	_le16_to_cpu
	cmp	w28, w0
	b.eq	LBB0_22
LBB0_19:
	ldr	x8, [x24, #8]
	cbz	x8, LBB0_22
; %bb.20:
Lloh33:
	adrp	x8, _I40E_VLAN_ANY@GOTPAGE
Lloh34:
	ldr	x8, [x8, _I40E_VLAN_ANY@GOTPAGEOFF]
Lloh35:
	ldr	w1, [x8]
	mov	x0, x24
	bl	_i40e_add_vlan_all_mac
	cbz	w0, LBB0_22
; %bb.21:
	mov	x27, x0
	ldr	x8, [x24, #16]
	ldr	x0, [x8, #8]
	ldr	w3, [x8]
Lloh36:
	adrp	x1, l_.str.5@PAGE
Lloh37:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x2, x27
	bl	_dev_info
	ldr	x0, [sp, #40]                   ; 8-byte Folded Reload
	bl	_spin_unlock_bh
	b	LBB0_13
LBB0_22:
	sxtw	x27, w23
	ldr	x0, [x24, #8]
	cbz	x0, LBB0_24
; %bb.23:
	bl	_le16_to_cpu
Lloh38:
	adrp	x8, _VLAN_VID_MASK@GOTPAGE
Lloh39:
	ldr	x8, [x8, _VLAN_VID_MASK@GOTPAGEOFF]
Lloh40:
	ldr	w8, [x8]
	and	w1, w8, w0
	mov	x0, x24
	bl	_i40e_rm_vlan_all_mac
LBB0_24:
	ldr	x0, [sp, #40]                   ; 8-byte Folded Reload
	bl	_spin_unlock_bh
	mov	w8, #24
	ldr	x9, [sp, #32]                   ; 8-byte Folded Reload
	madd	x8, x27, x8, x9
	ldr	w1, [x8, #16]
	mov	x0, x20
	mov	w2, #0
	mov	w3, #0
	bl	_i40e_config_vf_promiscuous_mode
	cbz	w0, LBB0_27
; %bb.25:
	mov	x27, x0
	ldr	x0, [x19, #8]
Lloh41:
	adrp	x1, l_.str.6@PAGE
Lloh42:
	add	x1, x1, l_.str.6@PAGEOFF
LBB0_26:
	bl	_dev_err
	b	LBB0_13
LBB0_27:
	mov	x8, x27
	str	x27, [sp, #16]                  ; 8-byte Folded Spill
	ldr	w8, [sp, #28]                   ; 4-byte Folded Reload
	cbz	w8, LBB0_29
; %bb.28:
	mov	x0, x24
	mov	x1, x28
	bl	_i40e_vsi_add_pvid
	mov	x27, x0
	b	LBB0_30
LBB0_29:
	mov	x0, x24
	bl	_i40e_vsi_remove_pvid
	mov	w27, #0
LBB0_30:
	ldr	x28, [sp, #40]                  ; 8-byte Folded Reload
	mov	x0, x28
	bl	_spin_lock_bh
	cbz	w21, LBB0_34
; %bb.31:
	ldr	x0, [x19, #8]
                                        ; kill: def $w23 killed $w23 killed $x23 def $x23
	str	x23, [sp]
Lloh43:
	adrp	x1, l_.str.7@PAGE
Lloh44:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x2, x21
	mov	x3, x22
	bl	_dev_info
	mov	x0, x24
	mov	x1, x21
	bl	_i40e_add_vlan_all_mac
	mov	x27, x0
	cbz	w0, LBB0_33
; %bb.32:
	ldr	x8, [x24, #16]
	ldr	x0, [x8, #8]
	ldr	w3, [x8]
Lloh45:
	adrp	x1, l_.str.5@PAGE
Lloh46:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x2, x27
	bl	_dev_info
	mov	x0, x28
	bl	_spin_unlock_bh
	b	LBB0_13
LBB0_33:
Lloh47:
	adrp	x8, _I40E_VLAN_ANY@GOTPAGE
Lloh48:
	ldr	x8, [x8, _I40E_VLAN_ANY@GOTPAGEOFF]
Lloh49:
	ldr	w1, [x8]
	mov	x0, x24
	bl	_i40e_rm_vlan_all_mac
LBB0_34:
	mov	x0, x28
	bl	_spin_unlock_bh
Lloh50:
	adrp	x8, _I40E_VF_STATE_UC_PROMISC@GOTPAGE
Lloh51:
	ldr	x8, [x8, _I40E_VF_STATE_UC_PROMISC@GOTPAGEOFF]
Lloh52:
	ldr	w0, [x8]
	mov	x1, x25
	bl	_test_bit
	mov	x21, x0
Lloh53:
	adrp	x8, _I40E_VF_STATE_MC_PROMISC@GOTPAGE
Lloh54:
	ldr	x8, [x8, _I40E_VF_STATE_MC_PROMISC@GOTPAGEOFF]
Lloh55:
	ldr	w0, [x8]
	mov	x1, x25
	bl	_test_bit
	mov	x22, x0
	ldr	x0, [x24, #16]
	bl	_i40e_service_event_schedule
	cbz	w27, LBB0_36
; %bb.35:
	ldr	x0, [x19, #8]
Lloh56:
	adrp	x1, l_.str.8@PAGE
Lloh57:
	add	x1, x1, l_.str.8@PAGEOFF
	b	LBB0_26
LBB0_36:
	cmp	x22, #0
	cset	w22, ne
	cmp	x21, #0
	cset	w21, ne
	ldr	x0, [x24, #8]
	bl	_le16_to_cpu
	mov	w8, #24
	ldr	x9, [sp, #32]                   ; 8-byte Folded Reload
	ldr	x10, [sp, #16]                  ; 8-byte Folded Reload
	madd	x8, x10, x8, x9
	str	w0, [x8, #8]
	ldr	w1, [x24]
	mov	x0, x20
	mov	x2, x22
	mov	x3, x21
	bl	_i40e_config_vf_promiscuous_mode
	mov	x27, x0
	cbz	w0, LBB0_13
; %bb.37:
	ldr	x0, [x19, #8]
Lloh58:
	adrp	x1, l_.str.9@PAGE
Lloh59:
	add	x1, x1, l_.str.9@PAGEOFF
	b	LBB0_26
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpAdd	Lloh41, Lloh42
	.loh AdrpAdd	Lloh43, Lloh44
	.loh AdrpAdd	Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpAdd	Lloh56, Lloh57
	.loh AdrpAdd	Lloh58, Lloh59
	.cfi_endproc
                                        ; -- End function
	.comm	_I40E_VLAN_PRIORITY_SHIFT,4,2   ; @I40E_VLAN_PRIORITY_SHIFT
	.comm	___I40E_VIRTCHNL_OP_PENDING,4,2 ; @__I40E_VIRTCHNL_OP_PENDING
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unable to configure VFs, other operation is pending.\n"

	.comm	_EAGAIN,4,2                     ; @EAGAIN
	.comm	_I40E_MAX_VLANID,4,2            ; @I40E_MAX_VLANID
l_.str.1:                               ; @.str.1
	.asciz	"Invalid VF Parameters\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_ETH_P_8021Q,4,2                ; @ETH_P_8021Q
l_.str.2:                               ; @.str.2
	.asciz	"VF VLAN protocol is not supported\n"

	.comm	_EPROTONOSUPPORT,4,2            ; @EPROTONOSUPPORT
	.comm	_I40E_VF_STATE_INIT,4,2         ; @I40E_VF_STATE_INIT
l_.str.3:                               ; @.str.3
	.asciz	"VF %d still in reset. Try again.\n"

l_.str.4:                               ; @.str.4
	.asciz	"VF %d has already configured VLAN filters and the administrator is requesting a port VLAN override.\nPlease unload and reload the VF driver for this change to take effect.\n"

	.comm	_I40E_VLAN_ANY,4,2              ; @I40E_VLAN_ANY
l_.str.5:                               ; @.str.5
	.asciz	"add VF VLAN failed, ret=%d aq_err=%d\n"

	.comm	_VLAN_VID_MASK,4,2              ; @VLAN_VID_MASK
l_.str.6:                               ; @.str.6
	.asciz	"Unable to config VF promiscuous mode\n"

l_.str.7:                               ; @.str.7
	.asciz	"Setting VLAN %d, QOS 0x%x on VF %d\n"

	.comm	_I40E_VF_STATE_UC_PROMISC,4,2   ; @I40E_VF_STATE_UC_PROMISC
	.comm	_I40E_VF_STATE_MC_PROMISC,4,2   ; @I40E_VF_STATE_MC_PROMISC
l_.str.8:                               ; @.str.8
	.asciz	"Unable to update VF vsi context\n"

l_.str.9:                               ; @.str.9
	.asciz	"Unable to config vf promiscuous mode\n"

.subsections_via_symbols
