	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ixgbe_ndo_set_vf_vlan          ## -- Begin function ixgbe_ndo_set_vf_vlan
	.p2align	4, 0x90
_ixgbe_ndo_set_vf_vlan:                 ## @ixgbe_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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r15d
	movl	%edx, %ebx
	movl	%esi, %r14d
	callq	_netdev_priv
	cmpl	$7, %r15d
	jg	LBB0_3
## %bb.1:
	cmpl	$4095, %ebx                     ## imm = 0xFFF
	jg	LBB0_3
## %bb.2:
	movq	%rax, %r12
	cmpl	%r14d, (%rax)
	jle	LBB0_3
## %bb.4:
	leaq	40(%r12), %r13
	movl	%r15d, %eax
	movl	%ebx, %ecx
	orl	%ebx, %eax
	movq	8(%r12), %rax
	movslq	%r14d, %rbx
	movl	(%rax,%rbx,8), %edx
	je	LBB0_14
## %bb.5:
	movq	%r13, -48(%rbp)                 ## 8-byte Spill
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	testl	%edx, %edx
	movl	%ecx, %ebx
	je	LBB0_7
## %bb.6:
	movq	%r12, %rdi
	xorl	%esi, %esi
	movl	%r14d, %ecx
	callq	_ixgbe_set_vf_vlan
	movl	%eax, %r13d
	testl	%eax, %eax
	jne	LBB0_12
LBB0_7:
	movq	%r12, %rdi
	movl	$1, %esi
	movl	%ebx, %edx
	movl	%r14d, %ecx
	callq	_ixgbe_set_vf_vlan
	movl	%eax, %r13d
	testl	%eax, %eax
	jne	LBB0_12
## %bb.8:
	movq	%r12, %rdi
	movl	%ebx, %esi
	movl	%r15d, %edx
	movl	%r14d, %ecx
	callq	_ixgbe_set_vmvir
	xorl	%r13d, %r13d
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	%r14d, %esi
	xorl	%edx, %edx
	callq	_ixgbe_set_vmolr
	cmpq	$0, 32(%r12)
	je	LBB0_10
## %bb.9:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	$1, %esi
	movl	%r14d, %edx
	callq	*(%rdi)
LBB0_10:
	movq	8(%r12), %rax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movl	%ebx, (%rax,%rcx,8)
	movl	%r15d, 4(%rax,%rcx,8)
	movq	16(%r12), %rdi
	leaq	L_.str(%rip), %rsi
	movl	%ebx, %edx
	movl	%r15d, %ecx
	movl	%r14d, %r8d
	callq	_dev_info
	movq	___IXGBE_DOWN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r12, %rsi
	addq	$24, %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_12
## %bb.11:
	movq	16(%r12), %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_dev_warn
	movq	16(%r12), %rdi
	leaq	L_.str.2(%rip), %rsi
	callq	_dev_warn
	jmp	LBB0_12
LBB0_3:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%r13d, %r13d
	subl	(%rax), %r13d
LBB0_12:
	movl	%r13d, %eax
LBB0_13:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_14:
	movq	%r12, %rdi
	xorl	%esi, %esi
	movl	%r14d, %ecx
	callq	_ixgbe_set_vf_vlan
	movl	%eax, %r15d
	movq	%r12, %rdi
	movl	%r14d, %esi
	callq	_ixgbe_clear_vmvir
	movq	%r13, %rdi
	movl	%r14d, %esi
	movl	$1, %edx
	callq	_ixgbe_set_vmolr
	movq	%r13, %rdi
	xorl	%esi, %esi
	movl	%r14d, %edx
	callq	*40(%r12)
	movq	8(%r12), %rax
	movq	$0, (%rax,%rbx,8)
	movl	%r15d, %eax
	jmp	LBB0_13
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Setting VLAN %d, QOS 0x%x on VF %d\n"

	.comm	___IXGBE_DOWN,4,2               ## @__IXGBE_DOWN
L_.str.1:                               ## @.str.1
	.asciz	"The VF VLAN has been set, but the PF device is not up.\n"

L_.str.2:                               ## @.str.2
	.asciz	"Bring the PF device up before attempting to use the VF device.\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ixgbe_ndo_set_vf_vlan          ; -- Begin function ixgbe_ndo_set_vf_vlan
	.p2align	2
_ixgbe_ndo_set_vf_vlan:                 ; @ixgbe_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	x21, x3
	mov	x22, x2
	mov	x20, x1
	bl	_netdev_priv
	cmp	w21, #7
	b.gt	LBB0_11
; %bb.1:
	cmp	w22, #4095
	b.gt	LBB0_11
; %bb.2:
	mov	x19, x0
	mov	x23, x0
	ldr	w8, [x23], #40
	cmp	w8, w20
	b.le	LBB0_11
; %bb.3:
	ldr	x8, [x19, #8]
	sxtw	x24, w20
	sbfiz	x9, x20, #3, #32
	ldr	w2, [x8, x9]
	orr	w8, w21, w22
	cbz	w8, LBB0_12
; %bb.4:
	cbz	w2, LBB0_6
; %bb.5:
	mov	x0, x19
	mov	w1, #0
	mov	x3, x20
	bl	_ixgbe_set_vf_vlan
	cbnz	w0, LBB0_13
LBB0_6:
	mov	x0, x19
	mov	w1, #1
	mov	x2, x22
	mov	x3, x20
	bl	_ixgbe_set_vf_vlan
	cbnz	w0, LBB0_13
; %bb.7:
	mov	x0, x19
	mov	x1, x22
	mov	x2, x21
	mov	x3, x20
	bl	_ixgbe_set_vmvir
	mov	x0, x23
	mov	x1, x20
	mov	w2, #0
	bl	_ixgbe_set_vmolr
	ldr	x8, [x19, #32]
	cbz	x8, LBB0_9
; %bb.8:
	ldr	x8, [x23]
	mov	x0, x23
	mov	w1, #1
	mov	x2, x20
	blr	x8
LBB0_9:
	ldp	x8, x0, [x19, #8]
	add	x8, x8, x24, lsl #3
	stp	w22, w21, [x8]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x22
	mov	x3, x21
	mov	x4, x20
	bl	_dev_info
Lloh2:
	adrp	x8, ___IXGBE_DOWN@GOTPAGE
Lloh3:
	ldr	x8, [x8, ___IXGBE_DOWN@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	add	x1, x19, #24
	bl	_test_bit
	cbz	x0, LBB0_13
; %bb.10:
	ldr	x0, [x19, #16]
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_dev_warn
	ldr	x0, [x19, #16]
Lloh7:
	adrp	x1, l_.str.2@PAGE
Lloh8:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_dev_warn
	mov	w0, #0
	b	LBB0_13
LBB0_11:
Lloh9:
	adrp	x8, _EINVAL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_13
LBB0_12:
	mov	x0, x19
	mov	w1, #0
	mov	x3, x20
	bl	_ixgbe_set_vf_vlan
	mov	x21, x0
	mov	x0, x19
	mov	x1, x20
	bl	_ixgbe_clear_vmvir
	mov	x0, x23
	mov	x1, x20
	mov	w2, #1
	bl	_ixgbe_set_vmolr
	ldr	x8, [x19, #40]
	mov	x0, x23
	mov	w1, #0
	mov	x2, x20
	blr	x8
	ldr	x8, [x19, #8]
	add	x8, x8, x24, lsl #3
	str	xzr, [x8]
	mov	x0, x21
LBB0_13:
	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
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Setting VLAN %d, QOS 0x%x on VF %d\n"

	.comm	___IXGBE_DOWN,4,2               ; @__IXGBE_DOWN
l_.str.1:                               ; @.str.1
	.asciz	"The VF VLAN has been set, but the PF device is not up.\n"

l_.str.2:                               ; @.str.2
	.asciz	"Bring the PF device up before attempting to use the VF device.\n"

.subsections_via_symbols
