	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ixgbevf_configure_rx_ring
_ixgbevf_configure_rx_ring:             ## @ixgbevf_configure_rx_ring
	.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	%rsi, %rbx
	movq	%rdi, %r14
	movl	(%rsi), %r13d
	movl	48(%rsi), %r15d
	movl	%r15d, %edi
	callq	_IXGBE_VFRXDCTL
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_IXGBE_READ_REG
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_ixgbevf_disable_rx_queue
	movl	%r15d, %edi
	callq	_IXGBE_VFRDBAL
	movq	%rax, %r12
	movl	$32, %edi
	callq	_DMA_BIT_MASK
	andl	%eax, %r13d
	movq	%r14, %rdi
	movq	%r12, %rsi
	movl	%r13d, %edx
	movl	-44(%rbp), %r13d                ## 4-byte Reload
	callq	_IXGBE_WRITE_REG
	movl	%r15d, %edi
	callq	_IXGBE_VFRDBAH
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_IXGBE_WRITE_REG
	movl	%r15d, %edi
	callq	_IXGBE_VFRDLEN
	movl	4(%rbx), %edx
	shll	$3, %edx
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_IXGBE_WRITE_REG
	movl	%r15d, %edi
	callq	_IXGBE_VFDCA_RXCTRL
	movq	_IXGBE_DCA_RXCTRL_DESC_RRO_EN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_IXGBE_WRITE_REG
	movl	%r15d, %edi
	callq	_IXGBE_VFRDH
	movq	%r14, %rdi
	movq	%rax, %rsi
	xorl	%edx, %edx
	callq	_IXGBE_WRITE_REG
	movl	%r15d, %edi
	callq	_IXGBE_VFRDT
	movq	%r14, %rdi
	movq	%rax, %rsi
	xorl	%edx, %edx
	callq	_IXGBE_WRITE_REG
	movq	8(%r14), %r12
	movl	%r15d, %edi
	callq	_IXGBE_VFRDT
	addq	%r12, %rax
	movq	%rax, 40(%rbx)
	movl	4(%rbx), %edx
	movl	32(%rbx), %edi
	shll	$2, %edx
	xorl	%esi, %esi
	callq	_memset
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_IXGBEVF_RX_DESC
	movq	$0, (%rax)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 8(%rbx)
	movq	$0, 24(%rbx)
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movl	%r15d, %edx
	callq	_ixgbevf_configure_srrctl
	movq	(%r14), %rax
	movq	_ixgbe_mac_82599_vf@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_4
## %bb.1:
	movq	_IXGBE_RXDCTL_RLPMLMASK@GOTPCREL(%rip), %rax
	movq	_IXGBE_RXDCTL_RLPML_EN@GOTPCREL(%rip), %r12
	movl	(%r12), %ecx
	orl	(%rax), %ecx
	notl	%ecx
	andl	%ecx, %r13d
	movq	%rbx, %rdi
	callq	_ring_uses_build_skb
	testq	%rax, %rax
	je	LBB0_4
## %bb.2:
	movq	%rbx, %rdi
	callq	_ring_uses_large_buffer
	testl	%eax, %eax
	jne	LBB0_4
## %bb.3:
	movq	_IXGBEVF_MAX_FRAME_BUILD_SKB@GOTPCREL(%rip), %rax
	orl	(%rax), %r13d
	orl	(%r12), %r13d
LBB0_4:
	movq	_IXGBE_RXDCTL_ENABLE@GOTPCREL(%rip), %rax
	movq	_IXGBE_RXDCTL_VME@GOTPCREL(%rip), %rcx
	orl	(%rax), %r13d
	orl	(%rcx), %r13d
	movl	%r15d, %edi
	callq	_IXGBE_VFRXDCTL
	movq	%r14, %rdi
	movq	%rax, %rsi
	movl	%r13d, %edx
	callq	_IXGBE_WRITE_REG
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_ixgbevf_rx_desc_queue_enable
	movq	%rbx, %rdi
	callq	_ixgbevf_desc_unused
	movq	%rbx, %rdi
	movl	%eax, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ixgbevf_alloc_rx_buffers       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_IXGBE_DCA_RXCTRL_DESC_RRO_EN,4,2 ## @IXGBE_DCA_RXCTRL_DESC_RRO_EN
	.comm	_ixgbe_mac_82599_vf,8,3         ## @ixgbe_mac_82599_vf
	.comm	_IXGBE_RXDCTL_RLPMLMASK,4,2     ## @IXGBE_RXDCTL_RLPMLMASK
	.comm	_IXGBE_RXDCTL_RLPML_EN,4,2      ## @IXGBE_RXDCTL_RLPML_EN
	.comm	_IXGBEVF_MAX_FRAME_BUILD_SKB,4,2 ## @IXGBEVF_MAX_FRAME_BUILD_SKB
	.comm	_IXGBE_RXDCTL_ENABLE,4,2        ## @IXGBE_RXDCTL_ENABLE
	.comm	_IXGBE_RXDCTL_VME,4,2           ## @IXGBE_RXDCTL_VME
	.comm	_IXGBE_DCA_RXCTRL_DATA_WRO_EN,4,2 ## @IXGBE_DCA_RXCTRL_DATA_WRO_EN
	.no_dead_strip	_ixgbevf_configure_rx_ring
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ixgbevf_configure_rx_ring
_ixgbevf_configure_rx_ring:             ; @ixgbevf_configure_rx_ring
	.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	x19, x1
	mov	x20, x0
	ldr	w24, [x1]
	ldr	w21, [x1, #48]
	mov	x0, x21
	bl	_IXGBE_VFRXDCTL
	mov	x1, x0
	mov	x0, x20
	bl	_IXGBE_READ_REG
	mov	x22, x0
	mov	x0, x20
	mov	x1, x19
	bl	_ixgbevf_disable_rx_queue
	mov	x0, x21
	bl	_IXGBE_VFRDBAL
	mov	x23, x0
	mov	w0, #32
	bl	_DMA_BIT_MASK
	and	w2, w0, w24
	mov	x0, x20
	mov	x1, x23
	bl	_IXGBE_WRITE_REG
	mov	x0, x21
	bl	_IXGBE_VFRDBAH
	mov	x1, x0
	mov	x0, x20
	bl	_IXGBE_WRITE_REG
	mov	x0, x21
	bl	_IXGBE_VFRDLEN
	mov	x1, x0
	ldr	w8, [x19, #4]
	lsl	w2, w8, #3
	mov	x0, x20
	bl	_IXGBE_WRITE_REG
	mov	x0, x21
	bl	_IXGBE_VFDCA_RXCTRL
	mov	x1, x0
Lloh0:
	adrp	x8, _IXGBE_DCA_RXCTRL_DESC_RRO_EN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IXGBE_DCA_RXCTRL_DESC_RRO_EN@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x0, x20
	bl	_IXGBE_WRITE_REG
	mov	x0, x21
	bl	_IXGBE_VFRDH
	mov	x1, x0
	mov	x0, x20
	mov	w2, #0
	bl	_IXGBE_WRITE_REG
	mov	x0, x21
	bl	_IXGBE_VFRDT
	mov	x1, x0
	mov	x0, x20
	mov	w2, #0
	bl	_IXGBE_WRITE_REG
	ldr	x23, [x20, #8]
	mov	x0, x21
	bl	_IXGBE_VFRDT
	add	x8, x0, x23
	str	x8, [x19, #40]
	ldr	w0, [x19, #32]
	ldr	w8, [x19, #4]
	lsl	w2, w8, #2
	mov	w1, #0
	bl	_memset
	mov	x0, x19
	mov	w1, #0
	bl	_IXGBEVF_RX_DESC
	str	xzr, [x0]
	stp	xzr, xzr, [x19, #16]
	str	xzr, [x19, #8]
	mov	x0, x20
	mov	x1, x19
	mov	x2, x21
	bl	_ixgbevf_configure_srrctl
	ldr	x8, [x20]
Lloh3:
	adrp	x9, _ixgbe_mac_82599_vf@GOTPAGE
Lloh4:
	ldr	x9, [x9, _ixgbe_mac_82599_vf@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_4
; %bb.1:
Lloh6:
	adrp	x8, _IXGBE_RXDCTL_RLPMLMASK@GOTPAGE
Lloh7:
	ldr	x8, [x8, _IXGBE_RXDCTL_RLPMLMASK@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
Lloh9:
	adrp	x23, _IXGBE_RXDCTL_RLPML_EN@GOTPAGE
Lloh10:
	ldr	x23, [x23, _IXGBE_RXDCTL_RLPML_EN@GOTPAGEOFF]
	ldr	w9, [x23]
	orr	w8, w9, w8
	bic	w22, w22, w8
	mov	x0, x19
	bl	_ring_uses_build_skb
	cbz	x0, LBB0_4
; %bb.2:
	mov	x0, x19
	bl	_ring_uses_large_buffer
	cbnz	w0, LBB0_4
; %bb.3:
Lloh11:
	adrp	x8, _IXGBEVF_MAX_FRAME_BUILD_SKB@GOTPAGE
Lloh12:
	ldr	x8, [x8, _IXGBEVF_MAX_FRAME_BUILD_SKB@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	ldr	w9, [x23]
	orr	w8, w8, w22
	orr	w22, w8, w9
LBB0_4:
Lloh14:
	adrp	x8, _IXGBE_RXDCTL_ENABLE@GOTPAGE
Lloh15:
	ldr	x8, [x8, _IXGBE_RXDCTL_ENABLE@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
Lloh17:
	adrp	x9, _IXGBE_RXDCTL_VME@GOTPAGE
Lloh18:
	ldr	x9, [x9, _IXGBE_RXDCTL_VME@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	orr	w8, w8, w22
	orr	w22, w8, w9
	mov	x0, x21
	bl	_IXGBE_VFRXDCTL
	mov	x1, x0
	mov	x0, x20
	mov	x2, x22
	bl	_IXGBE_WRITE_REG
	mov	x0, x20
	mov	x1, x19
	bl	_ixgbevf_rx_desc_queue_enable
	mov	x0, x19
	bl	_ixgbevf_desc_unused
	mov	x1, x0
	mov	x0, x19
	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
	b	_ixgbevf_alloc_rx_buffers
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_IXGBE_DCA_RXCTRL_DESC_RRO_EN,4,2 ; @IXGBE_DCA_RXCTRL_DESC_RRO_EN
	.comm	_ixgbe_mac_82599_vf,8,3         ; @ixgbe_mac_82599_vf
	.comm	_IXGBE_RXDCTL_RLPMLMASK,4,2     ; @IXGBE_RXDCTL_RLPMLMASK
	.comm	_IXGBE_RXDCTL_RLPML_EN,4,2      ; @IXGBE_RXDCTL_RLPML_EN
	.comm	_IXGBEVF_MAX_FRAME_BUILD_SKB,4,2 ; @IXGBEVF_MAX_FRAME_BUILD_SKB
	.comm	_IXGBE_RXDCTL_ENABLE,4,2        ; @IXGBE_RXDCTL_ENABLE
	.comm	_IXGBE_RXDCTL_VME,4,2           ; @IXGBE_RXDCTL_VME
	.comm	_IXGBE_DCA_RXCTRL_DATA_WRO_EN,4,2 ; @IXGBE_DCA_RXCTRL_DATA_WRO_EN
	.no_dead_strip	_ixgbevf_configure_rx_ring
.subsections_via_symbols
