	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	cmpl	$4096, %esi                     ## imm = 0x1000
	jl	LBB0_2
## %bb.1:
	movq	_IXGBE_ERR_PARAM@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	jmp	LBB0_25
LBB0_2:
	movl	%ecx, %r15d
	movl	%esi, %r12d
	movq	%rdi, %r14
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	movl	%esi, %r13d
	shrl	$5, %r13d
	andl	$127, %r13d
	movl	$1, %ebx
	movl	%r12d, %ecx
	shll	%cl, %ebx
	movl	%r13d, %edi
	callq	_IXGBE_VFTA
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_IXGBE_READ_REG
	testl	%r15d, %r15d
	je	LBB0_4
## %bb.3:
	xorl	%ecx, %ecx
	xorl	%edx, %edx
	testl	%ebx, %eax
	sete	%dl
	movl	%edx, -52(%rbp)                 ## 4-byte Spill
	cmovel	%ebx, %ecx
	movl	%ecx, %ebx
	orl	%eax, %ebx
	jmp	LBB0_8
LBB0_4:
	testl	%ebx, %eax
	je	LBB0_5
## %bb.6:
	notl	%ebx
	andl	%ebx, %eax
	movl	$1, -52(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_7
LBB0_5:
	movl	$0, -52(%rbp)                   ## 4-byte Folded Spill
LBB0_7:
	movl	%eax, %ebx
LBB0_8:
	movq	_IXGBE_VT_CTL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_IXGBE_READ_REG
	movq	_IXGBE_VT_CTL_VT_ENABLE@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_18
## %bb.9:
	movl	%r15d, -60(%rbp)                ## 4-byte Spill
	movq	%r14, %rdi
	movl	%r12d, %esi
	callq	_ixgbe_find_vlvf_slot
	movl	%eax, %r15d
	testl	%eax, %eax
	js	LBB0_25
## %bb.10:
	movl	%r15d, %ecx
	addl	%r15d, %ecx
	cmpl	$0, -60(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_13
## %bb.11:
	cmpl	$31, -44(%rbp)                  ## 4-byte Folded Reload
	movl	%ebx, -56(%rbp)                 ## 4-byte Spill
	jg	LBB0_19
## %bb.12:
	movl	%ecx, %ebx
	movl	%ecx, %edi
	callq	_IXGBE_VLVFB
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_IXGBE_READ_REG
	movl	%ebx, %edi
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	movl	%eax, %ebx
	jmp	LBB0_20
LBB0_13:
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	cmpl	$31, %eax
	movl	%ecx, -48(%rbp)                 ## 4-byte Spill
	jg	LBB0_15
## %bb.14:
	movl	-48(%rbp), %edi                 ## 4-byte Reload
	callq	_IXGBE_VLVFB
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_IXGBE_READ_REG
	movl	%eax, %ecx
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	btrl	%eax, %ecx
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movl	-48(%rbp), %edi                 ## 4-byte Reload
	callq	_IXGBE_VLVFB
	movq	%r14, %rdi
	movl	%eax, %esi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	callq	_IXGBE_WRITE_REG
	movl	-48(%rbp), %edi                 ## 4-byte Reload
	orl	$1, %edi
	jmp	LBB0_16
LBB0_19:
	orl	$1, %ecx
	movl	%ecx, %ebx
	movl	%ecx, %edi
	callq	_IXGBE_VLVFB
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_IXGBE_READ_REG
	movl	%ebx, %edi
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	movl	%eax, %ebx
	addl	$-32, %ecx
LBB0_20:
	btsl	%ecx, %ebx
	callq	_IXGBE_VLVFB
	movq	%r14, %rdi
	movl	%eax, %esi
	movl	%ebx, %edx
	callq	_IXGBE_WRITE_REG
	movl	-56(%rbp), %ebx                 ## 4-byte Reload
	jmp	LBB0_21
LBB0_15:
	movl	%ebx, -56(%rbp)                 ## 4-byte Spill
	movl	%ecx, %ebx
	orl	$1, %ebx
	movl	%ebx, %edi
	callq	_IXGBE_VLVFB
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_IXGBE_READ_REG
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	addb	$-32, %cl
	btrl	%ecx, %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	%ebx, %edi
	movl	-56(%rbp), %ebx                 ## 4-byte Reload
	callq	_IXGBE_VLVFB
	movq	%r14, %rdi
	movl	%eax, %esi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	callq	_IXGBE_WRITE_REG
	movl	-48(%rbp), %edi                 ## 4-byte Reload
LBB0_16:
	callq	_IXGBE_VLVFB
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_IXGBE_READ_REG
	orl	-44(%rbp), %eax                 ## 4-byte Folded Reload
	je	LBB0_17
LBB0_21:
	movl	%r15d, %edi
	callq	_IXGBE_VLVF
	movq	_IXGBE_VLVF_VIEN@GOTPCREL(%rip), %rcx
	orl	(%rcx), %r12d
	movq	%r14, %rdi
	movl	%eax, %esi
	movl	%r12d, %edx
	callq	_IXGBE_WRITE_REG
	xorl	%r15d, %r15d
	cmpl	$0, -60(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_25
## %bb.22:
	cmpl	$0, -52(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_23
	jmp	LBB0_25
LBB0_17:
	movl	%r15d, %edi
	callq	_IXGBE_VLVF
	movq	%r14, %rdi
	movl	%eax, %esi
	xorl	%edx, %edx
	callq	_IXGBE_WRITE_REG
LBB0_18:
	cmpl	$0, -52(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_24
LBB0_23:
	movl	%r13d, %edi
	callq	_IXGBE_VFTA
	movq	%r14, %rdi
	movl	%eax, %esi
	movl	%ebx, %edx
	callq	_IXGBE_WRITE_REG
LBB0_24:
	xorl	%r15d, %r15d
LBB0_25:
	movl	%r15d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.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:
	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, #1, lsl #12                 ; =4096
	b.lt	LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _IXGBE_ERR_PARAM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IXGBE_ERR_PARAM@GOTPAGEOFF]
Lloh2:
	ldr	w24, [x8]
	b	LBB0_19
LBB0_2:
	mov	x21, x3
	mov	x25, x2
	mov	x23, x1
	mov	x19, x0
	ubfx	w20, w1, #5, #7
	mov	w8, #1
	lsl	w22, w8, w1
	mov	x0, x20
	bl	_IXGBE_VFTA
	mov	x1, x0
	mov	x0, x19
	bl	_IXGBE_READ_REG
	and	w8, w0, w22
	bic	w9, w0, w22
	mov	w10, #1
	cmp	w8, #0
	csel	w9, w0, w9, eq
	csel	w10, wzr, w10, eq
	cmp	w8, #0
	csel	w8, w22, wzr, eq
	cset	w11, eq
	orr	w8, w8, w0
	cmp	w21, #0
	csel	w22, w9, w8, eq
	csel	w28, w10, w11, eq
Lloh3:
	adrp	x8, _IXGBE_VT_CTL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IXGBE_VT_CTL@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_IXGBE_READ_REG
Lloh6:
	adrp	x8, _IXGBE_VT_CTL_VT_ENABLE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _IXGBE_VT_CTL_VT_ENABLE@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_16
; %bb.3:
	mov	x0, x19
	mov	x1, x23
	bl	_ixgbe_find_vlvf_slot
	mov	x24, x0
	tbnz	w0, #31, LBB0_19
; %bb.4:
	lsl	w26, w24, #1
	cmp	w25, #31
	cbz	w21, LBB0_7
; %bb.5:
	b.gt	LBB0_9
; %bb.6:
	mov	x0, x26
	bl	_IXGBE_VLVFB
	mov	x1, x0
	mov	x0, x19
	bl	_IXGBE_READ_REG
	b	LBB0_10
LBB0_7:
	b.gt	LBB0_11
; %bb.8:
	mov	x0, x26
	bl	_IXGBE_VLVFB
	mov	x1, x0
	mov	x0, x19
	bl	_IXGBE_READ_REG
	mov	w8, #1
	lsl	w8, w8, w25
	bic	w25, w0, w8
	mov	x0, x26
	bl	_IXGBE_VLVFB
	mov	x1, x0
	mov	x0, x19
	mov	x2, x25
	bl	_IXGBE_WRITE_REG
	orr	w26, w26, #0x1
	b	LBB0_12
LBB0_9:
	orr	w26, w26, #0x1
	mov	x0, x26
	bl	_IXGBE_VLVFB
	mov	x1, x0
	mov	x0, x19
	bl	_IXGBE_READ_REG
	sub	w25, w25, #32
LBB0_10:
	mov	w8, #1
	lsl	w8, w8, w25
	orr	w25, w0, w8
	mov	x0, x26
	bl	_IXGBE_VLVFB
	mov	x1, x0
	mov	x0, x19
	mov	x2, x25
	bl	_IXGBE_WRITE_REG
	b	LBB0_13
LBB0_11:
	orr	w27, w26, #0x1
	mov	x0, x27
	bl	_IXGBE_VLVFB
	mov	x1, x0
	mov	x0, x19
	bl	_IXGBE_READ_REG
	mov	w8, #1
	lsl	w8, w8, w25
	bic	w25, w0, w8
	mov	x0, x27
	bl	_IXGBE_VLVFB
	mov	x1, x0
	mov	x0, x19
	mov	x2, x25
	bl	_IXGBE_WRITE_REG
LBB0_12:
	mov	x0, x26
	bl	_IXGBE_VLVFB
	mov	x1, x0
	mov	x0, x19
	bl	_IXGBE_READ_REG
	orr	w8, w0, w25
	cbz	w8, LBB0_15
LBB0_13:
	mov	x0, x24
	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, w23
	mov	x0, x19
	bl	_IXGBE_WRITE_REG
	mov	w24, #0
	cbz	w21, LBB0_19
; %bb.14:
	cbnz	w28, LBB0_17
	b	LBB0_19
LBB0_15:
	mov	x0, x24
	bl	_IXGBE_VLVF
	mov	x1, x0
	mov	x0, x19
	mov	w2, #0
	bl	_IXGBE_WRITE_REG
LBB0_16:
	cbz	w28, LBB0_18
LBB0_17:
	mov	x0, x20
	bl	_IXGBE_VFTA
	mov	x1, x0
	mov	x0, x19
	mov	x2, x22
	bl	_IXGBE_WRITE_REG
LBB0_18:
	mov	w24, #0
LBB0_19:
	mov	x0, x24
	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 AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.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
