	.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_14
## %bb.1:
	movq	%rdi, %r15
	leaq	56(%rdi), %r14
	movl	52(%rdi), %ebx
	movq	_IXGBE_VT_CTL@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movq	%r14, %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
	movl	(%rcx), %r12d
	notl	%r12d
	andl	%eax, %r12d
	xorl	%edi, %edi
	callq	_VMDQ_P
	movq	_IXGBE_VT_CTL_POOL_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %eax
	orl	%eax, %r12d
	movq	_IXGBE_VT_CTL_REPLEN@GOTPCREL(%rip), %rax
	orl	(%rax), %r12d
	movl	(%r13), %esi
	movq	%r14, %rdi
	movl	%r12d, %edx
	callq	_IXGBE_WRITE_REG
	testl	%ebx, %ebx
	je	LBB0_4
## %bb.2:
	movq	_IXGBE_VMOLR_AUPE@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	decl	%ebx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	callq	_VMDQ_P
	movl	%eax, %edi
	callq	_IXGBE_VMOLR
	movq	%r14, %rdi
	movl	%eax, %esi
	movl	%r12d, %edx
	callq	_IXGBE_WRITE_REG
	addl	$-1, %ebx
	jb	LBB0_3
LBB0_4:
	xorl	%edi, %edi
	callq	_VMDQ_P
	movl	%eax, %ebx
	leal	31(%rbx), %eax
	testl	%ebx, %ebx
	cmovnsl	%ebx, %eax
	andl	$-32, %eax
	subl	%eax, %ebx
	xorl	%edi, %edi
	callq	_VMDQ_P
	xorl	%ecx, %ecx
	xorl	%r13d, %r13d
	cmpl	$32, %eax
	setl	%cl
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	setge	%r13b
	movl	%r13d, %edi
	callq	_IXGBE_VFRE
	movl	%eax, %r12d
	movl	$31, %edi
	movl	%ebx, %esi
	callq	_GENMASK
	movq	%r14, %rdi
	movl	%r12d, %esi
	movl	%eax, %edx
	callq	_IXGBE_WRITE_REG
	movl	%r13d, %r12d
	xorl	$1, %r12d
	movl	%r12d, %edi
	callq	_IXGBE_VFRE
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	negl	%edx
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_IXGBE_WRITE_REG
	movl	%r13d, %edi
	callq	_IXGBE_VFTE
	movl	%eax, %r13d
	movl	$31, %edi
	movl	%ebx, %esi
	callq	_GENMASK
	movq	%r14, %rdi
	movl	%r13d, %esi
	movl	%eax, %edx
	callq	_IXGBE_WRITE_REG
	movl	%r12d, %edi
	callq	_IXGBE_VFTE
	movq	%r14, %rdi
	movl	%eax, %esi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	callq	_IXGBE_WRITE_REG
	movq	8(%r15), %rax
	movq	_BRIDGE_MODE_VEB@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_6
## %bb.5:
	movq	_IXGBE_PFDTXGSWC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_IXGBE_PFDTXGSWC_VT_LBEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	callq	_IXGBE_WRITE_REG
LBB0_6:
	movq	56(%r15), %rbx
	xorl	%edi, %edi
	callq	_VMDQ_P
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	%eax, %edx
	callq	*%rbx
	movq	_IXGBE_FLAG2_VLAN_PROMISC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, 48(%r15)
	movq	40(%r15), %rax
	movq	_RING_F_VMDQ@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rax,%rcx,4), %ecx
	cmpl	$129, %ecx
	jne	LBB0_7
## %bb.8:
	movq	_IXGBE_GCR_EXT_VT_MODE_32@GOTPCREL(%rip), %rax
	cmpl	$128, %ecx
	je	LBB0_10
	jmp	LBB0_11
LBB0_7:
	movq	_IXGBE_GCR_EXT_VT_MODE_64@GOTPCREL(%rip), %rax
	cmpl	$128, %ecx
	jne	LBB0_11
LBB0_10:
	movq	_IXGBE_GCR_EXT_VT_MODE_16@GOTPCREL(%rip), %rax
LBB0_11:
	movl	(%rax), %edx
	movq	_IXGBE_GCR_EXT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_IXGBE_WRITE_REG
	cmpl	$0, 16(%r15)
	jle	LBB0_14
## %bb.12:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	movl	32(%r15), %edi
	movq	24(%r15), %rax
	movl	4(%rax,%rbx,8), %edx
	movl	%ebx, %esi
	callq	_ixgbe_ndo_set_vf_spoofchk
	movl	32(%r15), %edi
	movq	24(%r15), %rax
	movl	(%rax,%rbx,8), %edx
	movl	%ebx, %esi
	callq	_ixgbe_ndo_set_vf_rss_query_en
	incq	%rbx
	movslq	16(%r15), %rax
	cmpq	%rax, %rbx
	jl	LBB0_13
LBB0_14:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.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_VMOLR_AUPE,4,2           ## @IXGBE_VMOLR_AUPE
	.comm	_BRIDGE_MODE_VEB,8,3            ## @BRIDGE_MODE_VEB
	.comm	_IXGBE_PFDTXGSWC,4,2            ## @IXGBE_PFDTXGSWC
	.comm	_IXGBE_PFDTXGSWC_VT_LBEN,4,2    ## @IXGBE_PFDTXGSWC_VT_LBEN
	.comm	_IXGBE_FLAG2_VLAN_PROMISC,4,2   ## @IXGBE_FLAG2_VLAN_PROMISC
	.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
	mov	x20, x0
	ldr	w8, [x20], #56
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_9
; %bb.1:
	mov	x19, x0
	ldr	w22, [x0, #52]
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	w23, 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, w23
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
	cbz	w22, LBB0_4
; %bb.2:
Lloh17:
	adrp	x8, _IXGBE_VMOLR_AUPE@GOTPAGE
Lloh18:
	ldr	x8, [x8, _IXGBE_VMOLR_AUPE@GOTPAGEOFF]
Lloh19:
	ldr	w21, [x8]
	sub	w22, w22, #1
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x22
	bl	_VMDQ_P
	bl	_IXGBE_VMOLR
	mov	x1, x0
	mov	x0, x20
	mov	x2, x21
	bl	_IXGBE_WRITE_REG
	sub	w22, w22, #1
	cmn	w22, #1
	b.ne	LBB0_3
LBB0_4:
	mov	w0, #0
	bl	_VMDQ_P
	negs	w8, w0
	and	w8, w8, #0x1f
	and	w9, w0, #0x1f
	csneg	w21, w9, w8, mi
	mov	w0, #0
	bl	_VMDQ_P
	mov	x22, x0
	cmp	w0, #31
	cset	w23, gt
	mov	x0, x23
	bl	_IXGBE_VFRE
	mov	x24, x0
	mov	w0, #31
	mov	x1, x21
	bl	_GENMASK
	mov	x2, x0
	mov	x0, x20
	mov	x1, x24
	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	x23, x0
	mov	w0, #31
	mov	x1, x21
	bl	_GENMASK
	mov	x2, x0
	mov	x0, x20
	mov	x1, x23
	bl	_IXGBE_WRITE_REG
	mov	x0, x22
	bl	_IXGBE_VFTE
	mov	x1, x0
	mov	x0, x20
	mov	x2, x24
	bl	_IXGBE_WRITE_REG
	ldr	x8, [x19, #8]
Lloh20:
	adrp	x9, _BRIDGE_MODE_VEB@GOTPAGE
Lloh21:
	ldr	x9, [x9, _BRIDGE_MODE_VEB@GOTPAGEOFF]
Lloh22:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_6
; %bb.5:
Lloh23:
	adrp	x8, _IXGBE_PFDTXGSWC@GOTPAGE
Lloh24:
	ldr	x8, [x8, _IXGBE_PFDTXGSWC@GOTPAGEOFF]
Lloh25:
	ldr	w1, [x8]
Lloh26:
	adrp	x8, _IXGBE_PFDTXGSWC_VT_LBEN@GOTPAGE
Lloh27:
	ldr	x8, [x8, _IXGBE_PFDTXGSWC_VT_LBEN@GOTPAGEOFF]
Lloh28:
	ldr	w2, [x8]
	mov	x0, x20
	bl	_IXGBE_WRITE_REG
LBB0_6:
	ldr	x21, [x19, #56]
	mov	w0, #0
	bl	_VMDQ_P
	mov	x2, x0
	mov	x0, x20
	mov	w1, #0
	blr	x21
Lloh29:
	adrp	x8, _IXGBE_FLAG2_VLAN_PROMISC@GOTPAGE
Lloh30:
	ldr	x8, [x8, _IXGBE_FLAG2_VLAN_PROMISC@GOTPAGEOFF]
Lloh31:
	ldr	w8, [x8]
	ldr	w9, [x19, #48]
	bic	w8, w9, w8
	str	w8, [x19, #48]
Lloh32:
	adrp	x8, _RING_F_VMDQ@GOTPAGE
Lloh33:
	ldr	x8, [x8, _RING_F_VMDQ@GOTPAGEOFF]
	ldr	x9, [x19, #40]
Lloh34:
	ldr	x8, [x8]
	ldr	w8, [x9, x8, lsl #2]
Lloh35:
	adrp	x9, _IXGBE_GCR_EXT_VT_MODE_16@GOTPAGE
Lloh36:
	ldr	x9, [x9, _IXGBE_GCR_EXT_VT_MODE_16@GOTPAGEOFF]
Lloh37:
	adrp	x10, _IXGBE_GCR_EXT_VT_MODE_32@GOTPAGE
Lloh38:
	ldr	x10, [x10, _IXGBE_GCR_EXT_VT_MODE_32@GOTPAGEOFF]
Lloh39:
	adrp	x11, _IXGBE_GCR_EXT_VT_MODE_64@GOTPAGE
Lloh40:
	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]
Lloh41:
	adrp	x8, _IXGBE_GCR_EXT@GOTPAGE
Lloh42:
	ldr	x8, [x8, _IXGBE_GCR_EXT@GOTPAGEOFF]
Lloh43:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_IXGBE_WRITE_REG
	ldr	w8, [x19, #16]
	cmp	w8, #1
	b.lt	LBB0_9
; %bb.7:
	mov	x21, #0
	mov	x20, #0
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x19, #32]
	ldr	x8, [x19, #24]
	add	x8, x8, x21
	ldr	w2, [x8, #4]
	mov	x1, x20
	bl	_ixgbe_ndo_set_vf_spoofchk
	ldr	w0, [x19, #32]
	ldr	x8, [x19, #24]
	ldr	w2, [x8, x21]
	mov	x1, x20
	bl	_ixgbe_ndo_set_vf_rss_query_en
	add	x20, x20, #1
	ldrsw	x8, [x19, #16]
	add	x21, x21, #8
	cmp	x20, x8
	b.lt	LBB0_8
LBB0_9:
	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	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGot	Lloh39, Lloh40
	.loh AdrpLdrGot	Lloh37, Lloh38
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.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_VMOLR_AUPE,4,2           ; @IXGBE_VMOLR_AUPE
	.comm	_BRIDGE_MODE_VEB,8,3            ; @BRIDGE_MODE_VEB
	.comm	_IXGBE_PFDTXGSWC,4,2            ; @IXGBE_PFDTXGSWC
	.comm	_IXGBE_PFDTXGSWC_VT_LBEN,4,2    ; @IXGBE_PFDTXGSWC_VT_LBEN
	.comm	_IXGBE_FLAG2_VLAN_PROMISC,4,2   ; @IXGBE_FLAG2_VLAN_PROMISC
	.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
