	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ixgbe_configure_virtualization
_ixgbe_configure_virtualization:        ## @ixgbe_configure_virtualization
	.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
	movq	_IXGBE_FLAG_SRIOV_ENABLED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rdi)
	je	LBB0_7
## %bb.1:
	movq	%rdi, %rbx
	leaq	24(%rdi), %r15
	movq	_IXGBE_VT_CTL@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	%r15, %rdi
	callq	_IXGBE_READ_REG
	movq	_IXGBE_VMD_CTL_VMDQ_EN@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_IXGBE_VT_CTL_POOL_MASK@GOTPCREL(%rip), %rcx
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movl	(%rcx), %ebx
	notl	%ebx
	andl	%eax, %ebx
	xorl	%edi, %edi
	callq	_VMDQ_P
	movq	_IXGBE_VT_CTL_POOL_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %eax
	orl	%eax, %ebx
	movq	_IXGBE_VT_CTL_REPLEN@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movl	(%r14), %esi
	movq	%r15, %rdi
	movl	%ebx, %edx
	callq	_IXGBE_WRITE_REG
	xorl	%edi, %edi
	callq	_VMDQ_P
	movl	%eax, %ebx
	xorl	%edi, %edi
	callq	_VMDQ_P
	xorl	%r12d, %r12d
	xorl	%r14d, %r14d
	cmpl	$32, %eax
	setl	%r12b
	setge	%r14b
	movl	%r14d, %edi
	callq	_IXGBE_VFRE
	movl	$-1, %r13d
	movl	%ebx, %ecx
	shll	%cl, %r13d
	movq	%r15, %rdi
	movl	%eax, %esi
	movl	%r13d, %edx
	callq	_IXGBE_WRITE_REG
	movl	%r14d, %ebx
	xorl	$1, %ebx
	movl	%ebx, %edi
	callq	_IXGBE_VFRE
	negl	%r12d
	movq	%r15, %rdi
	movl	%eax, %esi
	movl	%r12d, %edx
	callq	_IXGBE_WRITE_REG
	movl	%r14d, %edi
	callq	_IXGBE_VFTE
	movq	%r15, %rdi
	movl	%eax, %esi
	movl	%r13d, %edx
	callq	_IXGBE_WRITE_REG
	movl	%ebx, %edi
	callq	_IXGBE_VFTE
	movq	%r15, %rdi
	movl	%eax, %esi
	movl	%r12d, %edx
	callq	_IXGBE_WRITE_REG
	movq	_IXGBE_PFDTXGSWC@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	_IXGBE_PFDTXGSWC_VT_LBEN@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	movq	%r15, %rdi
	callq	_IXGBE_WRITE_REG
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	32(%rax), %rbx
	xorl	%edi, %edi
	callq	_VMDQ_P
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	%eax, %edx
	callq	*%rbx
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	16(%rbx), %rax
	movq	_RING_F_VMDQ@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rax,%rcx,4), %ecx
	cmpl	$129, %ecx
	jne	LBB0_2
## %bb.3:
	movq	_IXGBE_GCR_EXT_VT_MODE_32@GOTPCREL(%rip), %rax
	cmpl	$128, %ecx
	je	LBB0_5
	jmp	LBB0_6
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movq	_IXGBE_GCR_EXT_VT_MODE_64@GOTPCREL(%rip), %rax
	cmpl	$128, %ecx
	jne	LBB0_6
LBB0_5:
	movq	_IXGBE_GCR_EXT_VT_MODE_16@GOTPCREL(%rip), %rax
LBB0_6:
	movl	(%rax), %edx
	movq	_IXGBE_GCR_EXT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_IXGBE_WRITE_REG
	movl	(%r14), %esi
	movl	(%r12), %edx
	movq	%r15, %rdi
	callq	_IXGBE_WRITE_REG
	movq	8(%rbx), %rdx
	movq	24(%rbx), %rax
	xorl	%esi, %esi
	testq	%rdx, %rdx
	setne	%sil
	movl	%esi, 4(%rbx)
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmpq	*%rax                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_IXGBE_FLAG_SRIOV_ENABLED,4,2   ## @IXGBE_FLAG_SRIOV_ENABLED
	.comm	_IXGBE_VT_CTL,4,2               ## @IXGBE_VT_CTL
	.comm	_IXGBE_VMD_CTL_VMDQ_EN,4,2      ## @IXGBE_VMD_CTL_VMDQ_EN
	.comm	_IXGBE_VT_CTL_POOL_MASK,4,2     ## @IXGBE_VT_CTL_POOL_MASK
	.comm	_IXGBE_VT_CTL_POOL_SHIFT,4,2    ## @IXGBE_VT_CTL_POOL_SHIFT
	.comm	_IXGBE_VT_CTL_REPLEN,4,2        ## @IXGBE_VT_CTL_REPLEN
	.comm	_IXGBE_PFDTXGSWC,4,2            ## @IXGBE_PFDTXGSWC
	.comm	_IXGBE_PFDTXGSWC_VT_LBEN,4,2    ## @IXGBE_PFDTXGSWC_VT_LBEN
	.comm	_RING_F_VMDQ,8,3                ## @RING_F_VMDQ
	.comm	_IXGBE_GCR_EXT_VT_MODE_16,4,2   ## @IXGBE_GCR_EXT_VT_MODE_16
	.comm	_IXGBE_GCR_EXT_VT_MODE_32,4,2   ## @IXGBE_GCR_EXT_VT_MODE_32
	.comm	_IXGBE_GCR_EXT_VT_MODE_64,4,2   ## @IXGBE_GCR_EXT_VT_MODE_64
	.comm	_IXGBE_GCR_EXT,4,2              ## @IXGBE_GCR_EXT
	.no_dead_strip	_ixgbe_configure_virtualization
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ixgbe_configure_virtualization
_ixgbe_configure_virtualization:        ; @ixgbe_configure_virtualization
	.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
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _IXGBE_FLAG_SRIOV_ENABLED@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IXGBE_FLAG_SRIOV_ENABLED@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
	mov	x19, x0
	add	x20, x0, #24
Lloh3:
	adrp	x21, _IXGBE_VT_CTL@GOTPAGE
Lloh4:
	ldr	x21, [x21, _IXGBE_VT_CTL@GOTPAGEOFF]
	ldr	w1, [x21]
	mov	x0, x20
	bl	_IXGBE_READ_REG
Lloh5:
	adrp	x8, _IXGBE_VMD_CTL_VMDQ_EN@GOTPAGE
Lloh6:
	ldr	x8, [x8, _IXGBE_VMD_CTL_VMDQ_EN@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	orr	w8, w8, w0
Lloh8:
	adrp	x9, _IXGBE_VT_CTL_POOL_MASK@GOTPAGE
Lloh9:
	ldr	x9, [x9, _IXGBE_VT_CTL_POOL_MASK@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	bic	w22, w8, w9
	mov	w0, #0
	bl	_VMDQ_P
Lloh11:
	adrp	x8, _IXGBE_VT_CTL_POOL_SHIFT@GOTPAGE
Lloh12:
	ldr	x8, [x8, _IXGBE_VT_CTL_POOL_SHIFT@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	lsl	w8, w0, w8
	orr	w8, w8, w22
Lloh14:
	adrp	x9, _IXGBE_VT_CTL_REPLEN@GOTPAGE
Lloh15:
	ldr	x9, [x9, _IXGBE_VT_CTL_REPLEN@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	orr	w2, w8, w9
	ldr	w1, [x21]
	mov	x0, x20
	bl	_IXGBE_WRITE_REG
	mov	w0, #0
	bl	_VMDQ_P
	mov	x21, x0
	mov	w0, #0
	bl	_VMDQ_P
	mov	x22, x0
	cmp	w0, #31
	cset	w23, gt
	mov	x0, x23
	bl	_IXGBE_VFRE
	mov	x1, x0
	mov	w8, #-1
	lsl	w21, w8, w21
	mov	x0, x20
	mov	x2, x21
	bl	_IXGBE_WRITE_REG
	cmp	w22, #32
	cset	w22, lt
	csetm	w24, lt
	mov	x0, x22
	bl	_IXGBE_VFRE
	mov	x1, x0
	mov	x0, x20
	mov	x2, x24
	bl	_IXGBE_WRITE_REG
	mov	x0, x23
	bl	_IXGBE_VFTE
	mov	x1, x0
	mov	x0, x20
	mov	x2, x21
	bl	_IXGBE_WRITE_REG
	mov	x0, x22
	bl	_IXGBE_VFTE
	mov	x1, x0
	mov	x0, x20
	mov	x2, x24
	bl	_IXGBE_WRITE_REG
Lloh17:
	adrp	x21, _IXGBE_PFDTXGSWC@GOTPAGE
Lloh18:
	ldr	x21, [x21, _IXGBE_PFDTXGSWC@GOTPAGEOFF]
	ldr	w1, [x21]
Lloh19:
	adrp	x22, _IXGBE_PFDTXGSWC_VT_LBEN@GOTPAGE
Lloh20:
	ldr	x22, [x22, _IXGBE_PFDTXGSWC_VT_LBEN@GOTPAGEOFF]
	ldr	w2, [x22]
	mov	x0, x20
	bl	_IXGBE_WRITE_REG
	ldr	x23, [x19, #32]
	mov	w0, #0
	bl	_VMDQ_P
	mov	x2, x0
	mov	x0, x20
	mov	w1, #0
	blr	x23
Lloh21:
	adrp	x8, _RING_F_VMDQ@GOTPAGE
Lloh22:
	ldr	x8, [x8, _RING_F_VMDQ@GOTPAGEOFF]
	ldr	x9, [x19, #16]
Lloh23:
	ldr	x8, [x8]
	ldr	w8, [x9, x8, lsl #2]
Lloh24:
	adrp	x9, _IXGBE_GCR_EXT_VT_MODE_16@GOTPAGE
Lloh25:
	ldr	x9, [x9, _IXGBE_GCR_EXT_VT_MODE_16@GOTPAGEOFF]
Lloh26:
	adrp	x10, _IXGBE_GCR_EXT_VT_MODE_32@GOTPAGE
Lloh27:
	ldr	x10, [x10, _IXGBE_GCR_EXT_VT_MODE_32@GOTPAGEOFF]
Lloh28:
	adrp	x11, _IXGBE_GCR_EXT_VT_MODE_64@GOTPAGE
Lloh29:
	ldr	x11, [x11, _IXGBE_GCR_EXT_VT_MODE_64@GOTPAGEOFF]
	cmp	w8, #129
	csel	x10, x10, x11, eq
	cmp	w8, #128
	csel	x8, x9, x10, eq
	ldr	w2, [x8]
Lloh30:
	adrp	x8, _IXGBE_GCR_EXT@GOTPAGE
Lloh31:
	ldr	x8, [x8, _IXGBE_GCR_EXT@GOTPAGEOFF]
Lloh32:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_IXGBE_WRITE_REG
	ldr	w1, [x21]
	ldr	w2, [x22]
	mov	x0, x20
	bl	_IXGBE_WRITE_REG
	ldr	x3, [x19, #24]
	ldr	x2, [x19, #8]
	cmp	x2, #0
	cset	w1, ne
	str	w1, [x19, #4]
	mov	x0, x20
	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
	br	x3
LBB0_2:
	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	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_IXGBE_FLAG_SRIOV_ENABLED,4,2   ; @IXGBE_FLAG_SRIOV_ENABLED
	.comm	_IXGBE_VT_CTL,4,2               ; @IXGBE_VT_CTL
	.comm	_IXGBE_VMD_CTL_VMDQ_EN,4,2      ; @IXGBE_VMD_CTL_VMDQ_EN
	.comm	_IXGBE_VT_CTL_POOL_MASK,4,2     ; @IXGBE_VT_CTL_POOL_MASK
	.comm	_IXGBE_VT_CTL_POOL_SHIFT,4,2    ; @IXGBE_VT_CTL_POOL_SHIFT
	.comm	_IXGBE_VT_CTL_REPLEN,4,2        ; @IXGBE_VT_CTL_REPLEN
	.comm	_IXGBE_PFDTXGSWC,4,2            ; @IXGBE_PFDTXGSWC
	.comm	_IXGBE_PFDTXGSWC_VT_LBEN,4,2    ; @IXGBE_PFDTXGSWC_VT_LBEN
	.comm	_RING_F_VMDQ,8,3                ; @RING_F_VMDQ
	.comm	_IXGBE_GCR_EXT_VT_MODE_16,4,2   ; @IXGBE_GCR_EXT_VT_MODE_16
	.comm	_IXGBE_GCR_EXT_VT_MODE_32,4,2   ; @IXGBE_GCR_EXT_VT_MODE_32
	.comm	_IXGBE_GCR_EXT_VT_MODE_64,4,2   ; @IXGBE_GCR_EXT_VT_MODE_64
	.comm	_IXGBE_GCR_EXT,4,2              ; @IXGBE_GCR_EXT
	.no_dead_strip	_ixgbe_configure_virtualization
.subsections_via_symbols
