	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function igb_ndo_set_vf_vlan
_igb_ndo_set_vf_vlan:                   ## @igb_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
	movl	%ecx, %r12d
	movl	%edx, %r13d
	movl	%esi, %r15d
	callq	_netdev_priv
	cmpl	$7, %r12d
	jg	LBB0_3
## %bb.1:
	cmpl	$4095, %r13d                    ## imm = 0xFFF
	jg	LBB0_3
## %bb.2:
	movq	%rax, %r14
	cmpl	%r15d, (%rax)
	jle	LBB0_3
## %bb.4:
	movl	%r12d, %eax
	orl	%r13d, %eax
	je	LBB0_8
## %bb.5:
	xorl	%edx, %edx
	testl	%r13d, %r13d
	setne	%dl
	movq	%r14, %rdi
	movl	%r13d, %esi
	movl	%r15d, %ecx
	callq	_igb_vlvf_set
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_9
## %bb.6:
	xorl	%ebx, %ebx
	testl	%r13d, %r13d
	sete	%bl
	movq	_VLAN_PRIO_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	movl	%r12d, %esi
	shll	%cl, %esi
	orl	%r13d, %esi
	movq	%r14, %rdi
	movl	%r15d, %edx
	callq	_igb_set_vmvir
	movq	%r14, %rdi
	movl	%r15d, %esi
	movl	%ebx, %edx
	callq	_igb_set_vmolr
	movq	8(%r14), %rax
	movslq	%r15d, %rcx
	movl	%r13d, (%rax,%rcx,8)
	movl	%r12d, 4(%rax,%rcx,8)
	movq	16(%r14), %rdi
	leaq	L_.str(%rip), %rsi
	movl	%r13d, %edx
	movl	%r12d, %ecx
	movl	%r15d, %r8d
	callq	_dev_info
	movq	___IGB_DOWN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	addq	$24, %rsi
	callq	_test_bit
	xorl	%ebx, %ebx
	testq	%rax, %rax
	je	LBB0_9
## %bb.7:
	movq	16(%r14), %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_dev_warn
	movq	16(%r14), %rdi
	leaq	L_.str.2(%rip), %rsi
	callq	_dev_warn
	jmp	LBB0_9
LBB0_3:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_9
LBB0_8:
	movq	8(%r14), %rax
	movslq	%r15d, %r12
	movl	(%rax,%r12,8), %esi
	xorl	%ebx, %ebx
	movq	%r14, %rdi
	xorl	%edx, %edx
	movl	%r15d, %ecx
	callq	_igb_vlvf_set
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	%r15d, %edx
	callq	_igb_set_vmvir
	movq	%r14, %rdi
	movl	%r15d, %esi
	movl	$1, %edx
	callq	_igb_set_vmolr
	movq	8(%r14), %rax
	movq	$0, (%rax,%r12,8)
LBB0_9:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_VLAN_PRIO_SHIFT,4,2            ## @VLAN_PRIO_SHIFT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Setting VLAN %d, QOS 0x%x on VF %d\n"

	.comm	___IGB_DOWN,4,2                 ## @__IGB_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"

	.no_dead_strip	_igb_ndo_set_vf_vlan
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function igb_ndo_set_vf_vlan
_igb_ndo_set_vf_vlan:                   ; @igb_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_7
; %bb.1:
	cmp	w22, #4095
	b.gt	LBB0_7
; %bb.2:
	mov	x19, x0
	ldr	w8, [x0]
	cmp	w8, w20
	b.le	LBB0_7
; %bb.3:
	orr	w8, w21, w22
	cbz	w8, LBB0_8
; %bb.4:
	cmp	w22, #0
	cset	w2, ne
	mov	x0, x19
	mov	x1, x22
	mov	x3, x20
	bl	_igb_vlvf_set
	cbnz	w0, LBB0_9
; %bb.5:
	cmp	w22, #0
	cset	w23, eq
Lloh0:
	adrp	x8, _VLAN_PRIO_SHIFT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _VLAN_PRIO_SHIFT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	lsl	w8, w21, w8
	orr	w1, w8, w22
	mov	x0, x19
	mov	x2, x20
	bl	_igb_set_vmvir
	mov	x0, x19
	mov	x1, x20
	mov	x2, x23
	bl	_igb_set_vmolr
	ldp	x8, x0, [x19, #8]
	add	x8, x8, w20, sxtw #3
	stp	w22, w21, [x8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x22
	mov	x3, x21
	mov	x4, x20
	bl	_dev_info
Lloh5:
	adrp	x8, ___IGB_DOWN@GOTPAGE
Lloh6:
	ldr	x8, [x8, ___IGB_DOWN@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	add	x1, x19, #24
	bl	_test_bit
	cbz	x0, LBB0_9
; %bb.6:
	ldr	x0, [x19, #16]
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_dev_warn
	ldr	x0, [x19, #16]
Lloh10:
	adrp	x1, l_.str.2@PAGE
Lloh11:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_dev_warn
	mov	w0, #0
	b	LBB0_9
LBB0_7:
Lloh12:
	adrp	x8, _EINVAL@GOTPAGE
Lloh13:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_9
LBB0_8:
	ldr	x8, [x19, #8]
	sbfiz	x21, x20, #3, #32
	ldr	w1, [x8, x21]
	mov	x0, x19
	mov	w2, #0
	mov	x3, x20
	bl	_igb_vlvf_set
	mov	x0, x19
	mov	w1, #0
	mov	x2, x20
	bl	_igb_set_vmvir
	mov	x0, x19
	mov	x1, x20
	mov	w2, #1
	bl	_igb_set_vmolr
	mov	w0, #0
	ldr	x8, [x19, #8]
	add	x8, x8, x21
	str	xzr, [x8]
LBB0_9:
	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	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_VLAN_PRIO_SHIFT,4,2            ; @VLAN_PRIO_SHIFT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Setting VLAN %d, QOS 0x%x on VF %d\n"

	.comm	___IGB_DOWN,4,2                 ; @__IGB_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"

	.no_dead_strip	_igb_ndo_set_vf_vlan
.subsections_via_symbols
