	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_igb_vfta_set                   ## -- Begin function igb_vfta_set
	.p2align	4, 0x90
_igb_vfta_set:                          ## @igb_vfta_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
	cmpl	$4095, %esi                     ## imm = 0xFFF
	jg	LBB0_2
## %bb.1:
	cmpl	$8, %edx
	jge	LBB0_2
## %bb.3:
	movl	%esi, %r14d
	movq	%rdi, %r12
	movl	%r8d, -44(%rbp)                 ## 4-byte Spill
	movl	%edx, -52(%rbp)                 ## 4-byte Spill
	leal	31(%r14), %eax
	testl	%esi, %esi
	cmovnsl	%esi, %eax
	movq	8(%rdi), %r13
	movl	%eax, %ebx
	sarl	$5, %ebx
	andl	$-32, %eax
	movl	%esi, %edi
	subl	%eax, %edi
	movl	%ecx, -60(%rbp)                 ## 4-byte Spill
	callq	_BIT
	movq	(%r13), %rcx
	movl	%ebx, -56(%rbp)                 ## 4-byte Spill
	movslq	%ebx, %rdx
	movl	(%rcx,%rdx,4), %ebx
	xorl	%r15d, %r15d
	movl	-60(%rbp), %ecx                 ## 4-byte Reload
	negl	%ecx
	sbbl	%r15d, %r15d
	xorl	%ebx, %r15d
	andl	%eax, %r15d
	xorl	%r15d, %ebx
	cmpl	$0, 8(%r13)
	movq	%r12, -72(%rbp)                 ## 8-byte Spill
	je	LBB0_9
## %bb.4:
	movq	%r12, %rdi
	movl	%r14d, %esi
	movl	-44(%rbp), %r12d                ## 4-byte Reload
	movl	%r12d, %edx
	callq	_igb_find_vlvf_slot
	movq	%rax, %r13
	testq	%rax, %rax
	js	LBB0_5
## %bb.6:
	movq	%r13, %rdi
	callq	_E1000_VLVF
	movl	%eax, %edi
	callq	_rd32
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	_E1000_VLVF_POOLSEL_SHIFT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addl	-52(%rbp), %edi                 ## 4-byte Folded Reload
	callq	_BIT
	movl	%eax, %r12d
	orl	-44(%rbp), %r12d                ## 4-byte Folded Reload
	cmpl	$0, -60(%rbp)                   ## 4-byte Folded Reload
	movl	%ebx, -48(%rbp)                 ## 4-byte Spill
	je	LBB0_12
## %bb.7:
	movl	%r15d, %ebx
	jmp	LBB0_8
LBB0_2:
	movq	_E1000_ERR_PARAM@GOTPCREL(%rip), %rax
	xorl	%r13d, %r13d
	subq	(%rax), %r13
	jmp	LBB0_16
LBB0_5:
	testl	%r12d, %r12d
	jne	LBB0_9
	jmp	LBB0_16
LBB0_12:
	movq	_E1000_VLVF_POOLSEL_SHIFT@GOTPCREL(%rip), %rax
	movl	-52(%rbp), %edi                 ## 4-byte Reload
	addl	(%rax), %edi
	callq	_BIT
	xorl	%eax, %r12d
	movq	_E1000_VLVF_POOLSEL_MASK@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	testl	%r12d, (%rax)
	je	LBB0_13
LBB0_8:
	movq	%r13, %rdi
	callq	_E1000_VLVF
	orl	%r14d, %r12d
	movq	_E1000_VLVF_VLANID_ENABLE@GOTPCREL(%rip), %rcx
	orl	(%rcx), %r12d
	movl	%eax, %edi
	movl	%r12d, %esi
	callq	_wr32
	movl	%ebx, %r15d
	movl	-48(%rbp), %ebx                 ## 4-byte Reload
LBB0_9:
	testl	%r15d, %r15d
	je	LBB0_11
## %bb.10:
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movl	-56(%rbp), %esi                 ## 4-byte Reload
	movl	%ebx, %edx
	callq	*(%rdi)
LBB0_11:
	xorl	%r13d, %r13d
LBB0_16:
	movq	%r13, %rax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
	testl	%r15d, %r15d
	je	LBB0_15
## %bb.14:
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movl	-56(%rbp), %esi                 ## 4-byte Reload
	movl	-48(%rbp), %edx                 ## 4-byte Reload
	callq	*(%rdi)
LBB0_15:
	movq	%r13, %rdi
	callq	_E1000_VLVF
	xorl	%r13d, %r13d
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_wr32
	jmp	LBB0_16
	.cfi_endproc
                                        ## -- End function
	.comm	_E1000_ERR_PARAM,8,3            ## @E1000_ERR_PARAM
	.comm	_E1000_VLVF_POOLSEL_SHIFT,4,2   ## @E1000_VLVF_POOLSEL_SHIFT
	.comm	_E1000_VLVF_POOLSEL_MASK,4,2    ## @E1000_VLVF_POOLSEL_MASK
	.comm	_E1000_VLVF_VLANID_ENABLE,4,2   ## @E1000_VLVF_VLANID_ENABLE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_igb_vfta_set                   ; -- Begin function igb_vfta_set
	.p2align	2
_igb_vfta_set:                          ; @igb_vfta_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
	cmp	w1, #4095
	b.gt	LBB0_8
; %bb.1:
	mov	x24, x2
	cmp	w2, #8
	b.ge	LBB0_8
; %bb.2:
	mov	x26, x4
	mov	x25, x3
	mov	x22, x1
	mov	x19, x0
	ldr	x23, [x0, #8]
	add	w8, w1, #31
	cmp	w1, #0
	csel	w8, w8, w1, lt
	asr	w20, w8, #5
	and	w8, w8, #0xffffffe0
	sub	w0, w1, w8
	bl	_BIT
	ldr	x8, [x23]
	ldr	w8, [x8, w20, sxtw #2]
	cmp	w25, #0
	cinv	w9, w8, ne
	and	w27, w9, w0
	eor	w21, w27, w8
	ldr	w8, [x23, #8]
	cbz	w8, LBB0_10
; %bb.3:
	mov	x0, x19
	mov	x1, x22
	mov	x2, x26
	bl	_igb_find_vlvf_slot
	mov	x23, x0
	tbnz	x0, #63, LBB0_9
; %bb.4:
	mov	x0, x23
	bl	_E1000_VLVF
	bl	_rd32
	mov	x26, x0
Lloh0:
	adrp	x28, _E1000_VLVF_POOLSEL_SHIFT@GOTPAGE
Lloh1:
	ldr	x28, [x28, _E1000_VLVF_POOLSEL_SHIFT@GOTPAGEOFF]
	ldr	w8, [x28]
	add	w0, w8, w24
	bl	_BIT
	orr	w26, w0, w26
	cbnz	w25, LBB0_7
; %bb.5:
	ldr	w8, [x28]
	add	w0, w8, w24
	bl	_BIT
	eor	w26, w0, w26
Lloh2:
	adrp	x8, _E1000_VLVF_POOLSEL_MASK@GOTPAGE
Lloh3:
	ldr	x8, [x8, _E1000_VLVF_POOLSEL_MASK@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	tst	w26, w8
	b.eq	LBB0_14
; %bb.6:
	mov	w27, #0
LBB0_7:
	mov	x0, x23
	bl	_E1000_VLVF
	orr	w8, w26, w22
Lloh5:
	adrp	x9, _E1000_VLVF_VLANID_ENABLE@GOTPAGE
Lloh6:
	ldr	x9, [x9, _E1000_VLVF_VLANID_ENABLE@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	orr	w1, w8, w9
	bl	_wr32
	b	LBB0_10
LBB0_8:
Lloh8:
	adrp	x8, _E1000_ERR_PARAM@GOTPAGE
Lloh9:
	ldr	x8, [x8, _E1000_ERR_PARAM@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	neg	x23, x8
	b	LBB0_13
LBB0_9:
	cbz	w26, LBB0_13
LBB0_10:
	cbz	w27, LBB0_12
; %bb.11:
	ldr	x8, [x19]
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	blr	x8
LBB0_12:
	mov	x23, #0
LBB0_13:
	mov	x0, x23
	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
LBB0_14:
	cbz	w27, LBB0_16
; %bb.15:
	ldr	x8, [x19]
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	blr	x8
LBB0_16:
	mov	x0, x23
	bl	_E1000_VLVF
	mov	w1, #0
	bl	_wr32
	b	LBB0_12
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_E1000_ERR_PARAM,8,3            ; @E1000_ERR_PARAM
	.comm	_E1000_VLVF_POOLSEL_SHIFT,4,2   ; @E1000_VLVF_POOLSEL_SHIFT
	.comm	_E1000_VLVF_POOLSEL_MASK,4,2    ; @E1000_VLVF_POOLSEL_MASK
	.comm	_E1000_VLVF_VLANID_ENABLE,4,2   ; @E1000_VLVF_VLANID_ENABLE
.subsections_via_symbols
