	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ixgbe_set_vfta_generic         ## -- Begin function ixgbe_set_vfta_generic
	.p2align	4, 0x90
_ixgbe_set_vfta_generic:                ## @ixgbe_set_vfta_generic
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, -68(%rbp)                 ## 4-byte Spill
	cmpl	$4095, %esi                     ## imm = 0xFFF
	jg	LBB0_2
## %bb.1:
	movl	%edx, %r14d
	cmpl	$64, %edx
	jge	LBB0_2
## %bb.3:
	movl	%esi, %r12d
	movq	%rdi, %r13
	movl	%r8d, -44(%rbp)                 ## 4-byte Spill
	leal	31(%r12), %eax
	testl	%esi, %esi
	cmovnsl	%esi, %eax
	movl	%eax, %ebx
	sarl	$5, %ebx
	andl	$-32, %eax
	movl	%esi, %edi
	subl	%eax, %edi
	callq	_BIT
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	movl	%ebx, -64(%rbp)                 ## 4-byte Spill
	movl	%ebx, %edi
	callq	_IXGBE_VFTA
	movq	%r13, %rdi
	movl	%eax, %esi
	callq	_IXGBE_READ_REG
	movl	%eax, %ebx
	xorl	%r15d, %r15d
	movl	-68(%rbp), %eax                 ## 4-byte Reload
	negl	%eax
	sbbl	%r15d, %r15d
	xorl	%ebx, %r15d
	andl	-56(%rbp), %r15d                ## 4-byte Folded Reload
	xorl	%r15d, %ebx
	movq	_IXGBE_VT_CTL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_IXGBE_READ_REG
	movq	_IXGBE_VT_CTL_VT_ENABLE@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	movq	%r13, -80(%rbp)                 ## 8-byte Spill
	je	LBB0_9
## %bb.4:
	movq	%r13, %rdi
	movl	%r12d, %esi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	callq	_ixgbe_find_vlvf_slot
                                        ## kill: def $eax killed $eax def $rax
	testl	%eax, %eax
	js	LBB0_5
## %bb.6:
	movl	%ebx, -60(%rbp)                 ## 4-byte Spill
	leal	31(%r14), %ebx
	testl	%r14d, %r14d
	cmovnsl	%r14d, %ebx
	movl	%ebx, %ecx
	sarl	$5, %ecx
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%rcx, -88(%rbp)                 ## 8-byte Spill
	leal	(%rcx,%rax,2), %edi
	movl	%edi, -44(%rbp)                 ## 4-byte Spill
	callq	_IXGBE_VLVFB
	movq	%r13, %rdi
	movl	%eax, %esi
	callq	_IXGBE_READ_REG
	movl	%eax, %r13d
	andl	$-32, %ebx
	subl	%ebx, %r14d
	movl	%r14d, %edi
	callq	_BIT
	movl	%eax, %ebx
	orl	%r13d, %ebx
	cmpl	$0, -68(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_11
## %bb.7:
	movl	%r15d, %r14d
	jmp	LBB0_8
LBB0_2:
	movq	_IXGBE_ERR_PARAM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_18
LBB0_5:
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_9
	jmp	LBB0_18
LBB0_11:
	movq	-88(%rbp), %r13                 ## 8-byte Reload
	movl	%r14d, %edi
	callq	_BIT
	xorl	%r14d, %r14d
	xorl	%eax, %ebx
	jne	LBB0_8
## %bb.12:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	%eax, %edi
	addl	%eax, %edi
	subl	%r13d, %edi
	incl	%edi
	callq	_IXGBE_VLVFB
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movl	%eax, %esi
	callq	_IXGBE_READ_REG
	xorl	%r14d, %r14d
	movl	$0, %ebx
	testl	%eax, %eax
	je	LBB0_13
LBB0_8:
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	callq	_IXGBE_VLVFB
	movq	-80(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rdi
	movl	%eax, %esi
	movl	%ebx, %edx
	callq	_IXGBE_WRITE_REG
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_IXGBE_VLVF
	movq	_IXGBE_VLVF_VIEN@GOTPCREL(%rip), %rcx
	orl	(%rcx), %r12d
	movq	%r15, %rdi
	movl	%eax, %esi
	movl	%r12d, %edx
	callq	_IXGBE_WRITE_REG
	movl	%r14d, %r15d
	movl	-60(%rbp), %ebx                 ## 4-byte Reload
LBB0_9:
	testl	%r15d, %r15d
	je	LBB0_17
## %bb.10:
	movl	-64(%rbp), %edi                 ## 4-byte Reload
	callq	_IXGBE_VFTA
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movl	%eax, %esi
	movl	%ebx, %edx
LBB0_16:
	callq	_IXGBE_WRITE_REG
LBB0_17:
	xorl	%eax, %eax
LBB0_18:
                                        ## kill: def $eax killed $eax killed $rax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
	testl	%r15d, %r15d
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	je	LBB0_15
## %bb.14:
	movl	-64(%rbp), %edi                 ## 4-byte Reload
	callq	_IXGBE_VFTA
	movq	%rbx, %rdi
	movl	%eax, %esi
	movl	-60(%rbp), %edx                 ## 4-byte Reload
	callq	_IXGBE_WRITE_REG
LBB0_15:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_IXGBE_VLVF
	movq	%rbx, %rdi
	movl	%eax, %esi
	xorl	%edx, %edx
	callq	_IXGBE_WRITE_REG
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	callq	_IXGBE_VLVFB
	movq	%rbx, %rdi
	movl	%eax, %esi
	xorl	%edx, %edx
	jmp	LBB0_16
	.cfi_endproc
                                        ## -- End function
	.comm	_IXGBE_ERR_PARAM,4,2            ## @IXGBE_ERR_PARAM
	.comm	_IXGBE_VT_CTL,4,2               ## @IXGBE_VT_CTL
	.comm	_IXGBE_VT_CTL_VT_ENABLE,4,2     ## @IXGBE_VT_CTL_VT_ENABLE
	.comm	_IXGBE_VLVF_VIEN,4,2            ## @IXGBE_VLVF_VIEN
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ixgbe_set_vfta_generic         ; -- Begin function ixgbe_set_vfta_generic
	.p2align	2
_ixgbe_set_vfta_generic:                ; @ixgbe_set_vfta_generic
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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_7
; %bb.1:
	mov	x26, x2
	cmp	w2, #64
	b.ge	LBB0_7
; %bb.2:
	mov	x24, x4
	mov	x25, x3
	mov	x22, x1
	mov	x19, x0
	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
	mov	x21, x0
	mov	x0, x20
	bl	_IXGBE_VFTA
	mov	x1, x0
	mov	x0, x19
	bl	_IXGBE_READ_REG
	cmp	w25, #0
	cinv	w8, w0, ne
	and	w21, w8, w21
	eor	w27, w21, w0
Lloh0:
	adrp	x8, _IXGBE_VT_CTL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IXGBE_VT_CTL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_IXGBE_READ_REG
Lloh3:
	adrp	x8, _IXGBE_VT_CTL_VT_ENABLE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IXGBE_VT_CTL_VT_ENABLE@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_12
; %bb.3:
	mov	x0, x19
	mov	x1, x22
	mov	x2, x24
	bl	_ixgbe_find_vlvf_slot
	mov	x23, x0
	tbnz	w0, #31, LBB0_8
; %bb.4:
	stp	w20, w27, [sp, #4]              ; 8-byte Folded Spill
	lsl	w20, w23, #1
	add	w8, w26, #31
	cmp	w26, #0
	csel	w27, w8, w26, lt
	asr	w24, w27, #5
	add	w0, w20, w24
	str	w0, [sp, #12]                   ; 4-byte Folded Spill
	bl	_IXGBE_VLVFB
	mov	x1, x0
	mov	x0, x19
	bl	_IXGBE_READ_REG
	mov	x28, x0
	and	w8, w27, #0xffffffe0
	sub	w27, w26, w8
	mov	x0, x27
	bl	_BIT
	orr	w26, w0, w28
	cbnz	w25, LBB0_11
; %bb.5:
	mov	x0, x27
	bl	_BIT
	eor	w26, w0, w26
	cbz	w26, LBB0_9
; %bb.6:
	mov	w21, #0
	b	LBB0_11
LBB0_7:
Lloh6:
	adrp	x8, _IXGBE_ERR_PARAM@GOTPAGE
Lloh7:
	ldr	x8, [x8, _IXGBE_ERR_PARAM@GOTPAGEOFF]
Lloh8:
	ldr	w23, [x8]
	b	LBB0_16
LBB0_8:
	cbnz	w24, LBB0_12
	b	LBB0_16
LBB0_9:
	sub	w8, w20, w24
	add	w0, w8, #1
	bl	_IXGBE_VLVFB
	mov	x1, x0
	mov	x0, x19
	bl	_IXGBE_READ_REG
	cbz	w0, LBB0_17
; %bb.10:
	mov	w21, #0
	mov	w26, #0
LBB0_11:
	ldp	w27, w0, [sp, #8]               ; 8-byte Folded Reload
	ldr	w20, [sp, #4]                   ; 4-byte Folded Reload
	bl	_IXGBE_VLVFB
	mov	x1, x0
	mov	x0, x19
	mov	x2, x26
	bl	_IXGBE_WRITE_REG
	mov	x0, x23
	bl	_IXGBE_VLVF
	mov	x1, x0
Lloh9:
	adrp	x8, _IXGBE_VLVF_VIEN@GOTPAGE
Lloh10:
	ldr	x8, [x8, _IXGBE_VLVF_VIEN@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	orr	w2, w8, w22
	mov	x0, x19
	bl	_IXGBE_WRITE_REG
LBB0_12:
	cbz	w21, LBB0_15
; %bb.13:
	mov	x0, x20
	bl	_IXGBE_VFTA
	mov	x1, x0
	mov	x0, x19
	mov	x2, x27
LBB0_14:
	bl	_IXGBE_WRITE_REG
LBB0_15:
	mov	w23, #0
LBB0_16:
	mov	x0, x23
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_17:
	cbz	w21, LBB0_19
; %bb.18:
	ldr	w0, [sp, #4]                    ; 4-byte Folded Reload
	bl	_IXGBE_VFTA
	mov	x1, x0
	mov	x0, x19
	ldr	w2, [sp, #8]                    ; 4-byte Folded Reload
	bl	_IXGBE_WRITE_REG
LBB0_19:
	mov	x0, x23
	bl	_IXGBE_VLVF
	mov	x1, x0
	mov	x0, x19
	mov	w2, #0
	bl	_IXGBE_WRITE_REG
	ldr	w0, [sp, #12]                   ; 4-byte Folded Reload
	bl	_IXGBE_VLVFB
	mov	x1, x0
	mov	x0, x19
	mov	w2, #0
	b	LBB0_14
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_IXGBE_ERR_PARAM,4,2            ; @IXGBE_ERR_PARAM
	.comm	_IXGBE_VT_CTL,4,2               ; @IXGBE_VT_CTL
	.comm	_IXGBE_VT_CTL_VT_ENABLE,4,2     ; @IXGBE_VT_CTL_VT_ENABLE
	.comm	_IXGBE_VLVF_VIEN,4,2            ; @IXGBE_VLVF_VIEN
.subsections_via_symbols
