	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function igb_vlvf_set
_igb_vlvf_set:                          ## @igb_vlvf_set
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	16(%rdi), %rax
	movq	_e1000_82576@GOTPCREL(%rip), %rbx
	movl	$-1, %r12d
	cmpq	(%rbx), %rax
	jl	LBB0_31
## %bb.1:
	cmpq	$0, (%rdi)
	je	LBB0_31
## %bb.2:
	movl	%edx, -60(%rbp)                 ## 4-byte Spill
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	movq	%rdi, -80(%rbp)                 ## 8-byte Spill
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movq	_E1000_VLVF_ARRAY_SIZE@GOTPCREL(%rip), %r12
	cmpq	$0, (%r12)
	jle	LBB0_7
## %bb.3:
	xorl	%ebx, %ebx
	movq	_E1000_VLVF_VLANID_ENABLE@GOTPCREL(%rip), %r15
	movq	_E1000_VLVF_VLANID_MASK@GOTPCREL(%rip), %r13
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_5 Depth=1
	incq	%rbx
	cmpq	(%r12), %rbx
	jge	LBB0_8
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	_E1000_VLVF
	movl	%eax, %edi
	callq	_rd32
	movq	%rax, %r14
	testq	%rax, (%r15)
	je	LBB0_4
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	(%r13), %rax
	andq	%r14, %rax
	cmpq	-48(%rbp), %rax                 ## 8-byte Folded Reload
	jne	LBB0_4
	jmp	LBB0_8
LBB0_7:
	xorl	%ebx, %ebx
                                        ## implicit-def: $r14
LBB0_8:
	movq	-80(%rbp), %r13                 ## 8-byte Reload
	leaq	16(%r13), %rdi
	movq	(%r12), %rax
	cmpl	$0, -60(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_14
## %bb.9:
	cmpq	%rax, %rbx
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	jne	LBB0_22
## %bb.10:
	testq	%rbx, %rbx
	jle	LBB0_20
## %bb.11:
	xorl	%ebx, %ebx
	movq	_E1000_VLVF_VLANID_ENABLE@GOTPCREL(%rip), %r15
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	_E1000_VLVF
	movl	%eax, %edi
	callq	_rd32
	movq	%rax, %r14
	testq	%rax, (%r15)
	je	LBB0_21
## %bb.13:                              ##   in Loop: Header=BB0_12 Depth=1
	incq	%rbx
	movq	(%r12), %rax
	cmpq	%rax, %rbx
	jl	LBB0_12
	jmp	LBB0_22
LBB0_14:
	xorl	%r12d, %r12d
	cmpq	%rax, %rbx
	jge	LBB0_31
## %bb.15:
	movq	_E1000_VLVF_POOLSEL_SHIFT@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	addl	%r15d, %ecx
	movl	$-2, %eax
                                        ## kill: def $cl killed $cl killed $ecx
	roll	%cl, %eax
	cltq
	andq	%rax, %r14
	movq	_E1000_VLVF_POOLSEL_MASK@GOTPCREL(%rip), %rax
	testq	%r14, (%rax)
	jne	LBB0_17
## %bb.16:
	xorl	%r14d, %r14d
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	xorl	%edx, %edx
	callq	_igb_vfta_set
LBB0_17:
	movq	%rbx, %rdi
	callq	_E1000_VLVF
	movl	%eax, %edi
	movq	%r14, %rsi
	callq	_wr32
	cmpq	%r15, (%r13)
	jle	LBB0_31
## %bb.18:
	movq	8(%r13), %rax
	decl	(%rax,%r15,4)
	jne	LBB0_31
## %bb.19:
	movq	%r15, %rdi
	callq	_E1000_VMOLR
	movl	%eax, %edi
	callq	_rd32
	movq	_E1000_VMOLR_RLPML_MASK@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rbx
	movq	%rbx, %rcx
	andq	%rax, %rcx
	addq	$-4, %rcx
	notq	%rbx
	andq	%rax, %rbx
	orq	%rcx, %rbx
	movq	%r15, %rdi
	callq	_E1000_VMOLR
	movl	%eax, %edi
	movq	%rbx, %rsi
	callq	_wr32
	jmp	LBB0_31
LBB0_20:
	movq	%rbx, %rax
	xorl	%ebx, %ebx
	jmp	LBB0_22
LBB0_21:
	movq	(%r12), %rax
LBB0_22:
	xorl	%r12d, %r12d
	cmpq	%rax, %rbx
	jge	LBB0_31
## %bb.23:
	movq	_E1000_VLVF_POOLSEL_SHIFT@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	addl	%edx, %ecx
	movl	$1, %eax
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %eax
	cltq
	orq	%rax, %r14
	movq	_E1000_VLVF_VLANID_ENABLE@GOTPCREL(%rip), %r15
	testq	%r14, (%r15)
	je	LBB0_25
## %bb.24:
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	jmp	LBB0_26
LBB0_25:
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %rsi
	movl	$1, %edx
	callq	_igb_vfta_set
	orq	(%r15), %r14
LBB0_26:
	movq	_E1000_VLVF_VLANID_MASK@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	notq	%r15
	andq	%r14, %r15
	orq	%r12, %r15
	movq	%rbx, %rdi
	callq	_E1000_VLVF
	movl	%eax, %edi
	movq	%r15, %rsi
	callq	_wr32
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	cmpq	%rbx, (%r13)
	jle	LBB0_30
## %bb.27:
	movq	8(%r13), %rax
	movl	(%rax,%rbx,4), %ecx
	testl	%ecx, %ecx
	jne	LBB0_29
## %bb.28:
	movq	%rbx, %rdi
	callq	_E1000_VMOLR
	movl	%eax, %edi
	callq	_rd32
	movq	_E1000_VMOLR_RLPML_MASK@GOTPCREL(%rip), %rcx
	movq	(%rcx), %r14
	movq	%r14, %rcx
	andq	%rax, %rcx
	addq	$4, %rcx
	notq	%r14
	andq	%rax, %r14
	orq	%rcx, %r14
	movq	%rbx, %rdi
	callq	_E1000_VMOLR
	movl	%eax, %edi
	movq	%r14, %rsi
	callq	_wr32
	movq	8(%r13), %rax
	movl	(%rax,%rbx,4), %ecx
LBB0_29:
	incl	%ecx
	movl	%ecx, (%rax,%rbx,4)
LBB0_30:
	xorl	%r12d, %r12d
LBB0_31:
	movl	%r12d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_e1000_82576,8,3                ## @e1000_82576
	.comm	_E1000_VLVF_ARRAY_SIZE,8,3      ## @E1000_VLVF_ARRAY_SIZE
	.comm	_E1000_VLVF_VLANID_ENABLE,8,3   ## @E1000_VLVF_VLANID_ENABLE
	.comm	_E1000_VLVF_VLANID_MASK,8,3     ## @E1000_VLVF_VLANID_MASK
	.comm	_E1000_VLVF_POOLSEL_SHIFT,8,3   ## @E1000_VLVF_POOLSEL_SHIFT
	.comm	_E1000_VMOLR_RLPML_MASK,8,3     ## @E1000_VMOLR_RLPML_MASK
	.comm	_E1000_VLVF_POOLSEL_MASK,8,3    ## @E1000_VLVF_POOLSEL_MASK
	.no_dead_strip	_igb_vlvf_set
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function igb_vlvf_set
_igb_vlvf_set:                          ; @igb_vlvf_set
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x23, x0
	ldr	x8, [x23, #16]!
Lloh0:
	adrp	x9, _e1000_82576@GOTPAGE
Lloh1:
	ldr	x9, [x9, _e1000_82576@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.lt	LBB0_20
; %bb.1:
	mov	x20, x0
	ldr	x8, [x0]
	cbz	x8, LBB0_20
; %bb.2:
	mov	x19, x3
	mov	x24, x2
	mov	x21, x1
Lloh3:
	adrp	x25, _E1000_VLVF_ARRAY_SIZE@GOTPAGE
Lloh4:
	ldr	x25, [x25, _E1000_VLVF_ARRAY_SIZE@GOTPAGEOFF]
	ldr	x8, [x25]
	cmp	x8, #1
	b.lt	LBB0_21
; %bb.3:
	mov	x22, #0
Lloh5:
	adrp	x26, _E1000_VLVF_VLANID_ENABLE@GOTPAGE
Lloh6:
	ldr	x26, [x26, _E1000_VLVF_VLANID_ENABLE@GOTPAGEOFF]
Lloh7:
	adrp	x27, _E1000_VLVF_VLANID_MASK@GOTPAGE
Lloh8:
	ldr	x27, [x27, _E1000_VLVF_VLANID_MASK@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x22, x22, #1
	ldr	x8, [x25]
	cmp	x22, x8
	b.ge	LBB0_7
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x22
	bl	_E1000_VLVF
	bl	_rd32
	ldr	x8, [x26]
	tst	x8, x0
	b.eq	LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x27]
	and	x8, x8, x0
	cmp	x8, x21
	b.ne	LBB0_4
LBB0_7:
	ldr	x8, [x25]
	cbz	w24, LBB0_22
LBB0_8:
	cmp	x22, x8
	b.ne	LBB0_13
; %bb.9:
	cmp	x22, #1
	b.lt	LBB0_28
; %bb.10:
	mov	x22, #0
Lloh9:
	adrp	x24, _E1000_VLVF_VLANID_ENABLE@GOTPAGE
Lloh10:
	ldr	x24, [x24, _E1000_VLVF_VLANID_ENABLE@GOTPAGEOFF]
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x22
	bl	_E1000_VLVF
	bl	_rd32
	ldr	x8, [x24]
	tst	x8, x0
	b.eq	LBB0_29
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	add	x22, x22, #1
	ldr	x8, [x25]
	cmp	x22, x8
	b.lt	LBB0_11
LBB0_13:
	cmp	x22, x8
	b.ge	LBB0_30
LBB0_14:
Lloh11:
	adrp	x8, _E1000_VLVF_POOLSEL_SHIFT@GOTPAGE
Lloh12:
	ldr	x8, [x8, _E1000_VLVF_POOLSEL_SHIFT@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	add	w8, w8, w19
	mov	w9, #1
	lsl	w8, w9, w8
	sxtw	x8, w8
	orr	x24, x0, x8
Lloh14:
	adrp	x25, _E1000_VLVF_VLANID_ENABLE@GOTPAGE
Lloh15:
	ldr	x25, [x25, _E1000_VLVF_VLANID_ENABLE@GOTPAGEOFF]
	ldr	x8, [x25]
	tst	x24, x8
	b.ne	LBB0_16
; %bb.15:
	mov	x0, x23
	mov	x1, x21
	mov	w2, #1
	bl	_igb_vfta_set
	ldr	x8, [x25]
	orr	x24, x8, x24
LBB0_16:
Lloh16:
	adrp	x8, _E1000_VLVF_VLANID_MASK@GOTPAGE
Lloh17:
	ldr	x8, [x8, _E1000_VLVF_VLANID_MASK@GOTPAGEOFF]
Lloh18:
	ldr	x8, [x8]
	bic	x8, x24, x8
	orr	x21, x8, x21
	mov	x0, x22
	bl	_E1000_VLVF
	mov	x1, x21
	bl	_wr32
	ldr	x8, [x20]
	cmp	x8, x19
	b.le	LBB0_30
; %bb.17:
	ldr	x8, [x20, #8]
	ldr	w9, [x8, x19, lsl #2]
	cbnz	w9, LBB0_19
; %bb.18:
	mov	x0, x19
	bl	_E1000_VMOLR
	bl	_rd32
Lloh19:
	adrp	x8, _E1000_VMOLR_RLPML_MASK@GOTPAGE
Lloh20:
	ldr	x8, [x8, _E1000_VMOLR_RLPML_MASK@GOTPAGEOFF]
Lloh21:
	ldr	x8, [x8]
	and	x9, x8, x0
	add	x9, x9, #4
	bic	x8, x0, x8
	orr	x21, x9, x8
	mov	x0, x19
	bl	_E1000_VMOLR
	mov	x1, x21
	bl	_wr32
	ldr	x8, [x20, #8]
	ldr	w9, [x8, x19, lsl #2]
LBB0_19:
	mov	w0, #0
	add	w9, w9, #1
	str	w9, [x8, x19, lsl #2]
	b	LBB0_31
LBB0_20:
	mov	w0, #-1
	b	LBB0_31
LBB0_21:
	mov	x22, #0
                                        ; implicit-def: $x0
	ldr	x8, [x25]
	cbnz	w24, LBB0_8
LBB0_22:
	cmp	x22, x8
	b.ge	LBB0_30
; %bb.23:
Lloh22:
	adrp	x8, _E1000_VLVF_POOLSEL_SHIFT@GOTPAGE
Lloh23:
	ldr	x8, [x8, _E1000_VLVF_POOLSEL_SHIFT@GOTPAGEOFF]
Lloh24:
	ldr	w8, [x8]
	add	w8, w8, w19
	mov	w9, #1
	lsl	w8, w9, w8
	mvn	w8, w8
	sxtw	x8, w8
	and	x24, x0, x8
Lloh25:
	adrp	x8, _E1000_VLVF_POOLSEL_MASK@GOTPAGE
Lloh26:
	ldr	x8, [x8, _E1000_VLVF_POOLSEL_MASK@GOTPAGEOFF]
Lloh27:
	ldr	x8, [x8]
	tst	x24, x8
	b.ne	LBB0_25
; %bb.24:
	mov	x0, x23
	mov	x1, x21
	mov	w2, #0
	bl	_igb_vfta_set
	mov	x24, #0
LBB0_25:
	mov	x0, x22
	bl	_E1000_VLVF
	mov	x1, x24
	bl	_wr32
	ldr	x8, [x20]
	cmp	x8, x19
	b.le	LBB0_30
; %bb.26:
	ldr	x8, [x20, #8]
	lsl	x9, x19, #2
	ldr	w10, [x8, x9]
	subs	w10, w10, #1
	str	w10, [x8, x9]
	b.ne	LBB0_30
; %bb.27:
	mov	x0, x19
	bl	_E1000_VMOLR
	bl	_rd32
Lloh28:
	adrp	x8, _E1000_VMOLR_RLPML_MASK@GOTPAGE
Lloh29:
	ldr	x8, [x8, _E1000_VMOLR_RLPML_MASK@GOTPAGEOFF]
Lloh30:
	ldr	x8, [x8]
	and	x9, x8, x0
	sub	x9, x9, #4
	bic	x8, x0, x8
	orr	x20, x9, x8
	mov	x0, x19
	bl	_E1000_VMOLR
	mov	x1, x20
	bl	_wr32
	b	LBB0_30
LBB0_28:
	mov	x8, x22
	mov	x22, #0
	cmp	x22, x8
	b.ge	LBB0_30
	b	LBB0_14
LBB0_29:
	ldr	x8, [x25]
	cmp	x22, x8
	b.lt	LBB0_14
LBB0_30:
	mov	w0, #0
LBB0_31:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.cfi_endproc
                                        ; -- End function
	.comm	_e1000_82576,8,3                ; @e1000_82576
	.comm	_E1000_VLVF_ARRAY_SIZE,8,3      ; @E1000_VLVF_ARRAY_SIZE
	.comm	_E1000_VLVF_VLANID_ENABLE,8,3   ; @E1000_VLVF_VLANID_ENABLE
	.comm	_E1000_VLVF_VLANID_MASK,8,3     ; @E1000_VLVF_VLANID_MASK
	.comm	_E1000_VLVF_POOLSEL_SHIFT,8,3   ; @E1000_VLVF_POOLSEL_SHIFT
	.comm	_E1000_VMOLR_RLPML_MASK,8,3     ; @E1000_VMOLR_RLPML_MASK
	.comm	_E1000_VLVF_POOLSEL_MASK,8,3    ; @E1000_VLVF_POOLSEL_MASK
	.no_dead_strip	_igb_vlvf_set
.subsections_via_symbols
