	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_fm10k_ndo_set_vf_vlan          ## -- Begin function fm10k_ndo_set_vf_vlan
	.p2align	4, 0x90
_fm10k_ndo_set_vf_vlan:                 ## @fm10k_ndo_set_vf_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, -48(%rbp)                  ## 8-byte Spill
	movq	%rcx, %rbx
	movl	%edx, %r12d
	movl	%esi, %r13d
	callq	_netdev_priv
	movq	8(%rax), %r14
	testq	%r14, %r14
	je	LBB0_2
## %bb.1:
	cmpl	%r13d, (%r14)
	jle	LBB0_2
## %bb.4:
	testq	%rbx, %rbx
	jne	LBB0_2
## %bb.5:
	movq	%rax, %r15
	movl	%r12d, %ecx
	movq	_VLAN_VID_MASK@GOTPCREL(%rip), %rax
	cmpl	%r12d, (%rax)
	jle	LBB0_2
## %bb.6:
	movq	_ETH_P_8021Q@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_htons
	cmpq	-48(%rbp), %rax                 ## 8-byte Folded Reload
	jne	LBB0_7
## %bb.8:
	movq	8(%r14), %rax
	movslq	%r13d, %rcx
	xorl	%ebx, %ebx
	cmpl	%r12d, (%rax,%rcx,8)
	je	LBB0_10
## %bb.9:
	movl	%r12d, %edx
	leaq	(%rax,%rcx,8), %r12
	movl	%edx, (%rax,%rcx,8)
	movq	_FM10K_VLAN_ALL@GOTPCREL(%rip), %rdx
	movl	(%rdx), %esi
	movl	4(%rax,%rcx,8), %edx
	xorl	%ebx, %ebx
	movq	%r15, %rdi
	xorl	%ecx, %ecx
	callq	*(%r15)
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_fm10k_reset_vf_info
	jmp	LBB0_10
LBB0_2:
	movq	_EINVAL@GOTPCREL(%rip), %rax
LBB0_3:
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_10:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movq	_EPROTONOSUPPORT@GOTPCREL(%rip), %rax
	jmp	LBB0_3
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_VLAN_VID_MASK,4,2              ## @VLAN_VID_MASK
	.comm	_ETH_P_8021Q,4,2                ## @ETH_P_8021Q
	.comm	_EPROTONOSUPPORT,4,2            ## @EPROTONOSUPPORT
	.comm	_FM10K_VLAN_ALL,4,2             ## @FM10K_VLAN_ALL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_fm10k_ndo_set_vf_vlan          ; -- Begin function fm10k_ndo_set_vf_vlan
	.p2align	2
_fm10k_ndo_set_vf_vlan:                 ; @fm10k_ndo_set_vf_vlan
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x22, x4
	mov	x23, x3
	mov	x20, x2
	mov	x21, x1
	bl	_netdev_priv
	ldr	x24, [x0, #8]
	cbz	x24, LBB0_8
; %bb.1:
	ldr	w8, [x24]
	cmp	w8, w21
	b.le	LBB0_8
; %bb.2:
	cbnz	x23, LBB0_8
; %bb.3:
Lloh0:
	adrp	x8, _VLAN_VID_MASK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _VLAN_VID_MASK@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w20
	b.le	LBB0_8
; %bb.4:
	mov	x19, x0
Lloh3:
	adrp	x8, _ETH_P_8021Q@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ETH_P_8021Q@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_htons
	cmp	x0, x22
	b.ne	LBB0_11
; %bb.5:
	ldr	x8, [x24, #8]
	add	x22, x8, w21, sxtw #3
	ldr	w9, [x22]
	cmp	w9, w20
	b.eq	LBB0_7
; %bb.6:
	sxtw	x9, w21
	str	w20, [x22]
	ldr	x10, [x19]
Lloh6:
	adrp	x11, _FM10K_VLAN_ALL@GOTPAGE
Lloh7:
	ldr	x11, [x11, _FM10K_VLAN_ALL@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x11]
	add	x8, x8, x9, lsl #3
	ldr	w2, [x8, #4]
	mov	x0, x19
	mov	w3, #0
	blr	x10
	mov	x0, x19
	mov	x1, x22
	bl	_fm10k_reset_vf_info
LBB0_7:
	mov	w0, #0
	b	LBB0_10
LBB0_8:
Lloh9:
	adrp	x8, _EINVAL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_9:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_10:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_11:
Lloh11:
	adrp	x8, _EPROTONOSUPPORT@GOTPAGE
Lloh12:
	ldr	x8, [x8, _EPROTONOSUPPORT@GOTPAGEOFF]
	b	LBB0_9
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_VLAN_VID_MASK,4,2              ; @VLAN_VID_MASK
	.comm	_ETH_P_8021Q,4,2                ; @ETH_P_8021Q
	.comm	_EPROTONOSUPPORT,4,2            ; @EPROTONOSUPPORT
	.comm	_FM10K_VLAN_ALL,4,2             ; @FM10K_VLAN_ALL
.subsections_via_symbols
