	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function i40e_vsi_configure_rx
_i40e_vsi_configure_rx:                 ## @i40e_vsi_configure_rx
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movq	32(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	40(%r14), %rcx
	movq	_I40E_FLAG_LEGACY_RX@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	testl	%edx, (%rcx)
	je	LBB0_11
LBB0_2:
	movq	_I40E_MAX_RXBUFFER@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 24(%r14)
LBB0_3:
	movq	_I40E_RXBUFFER_2048@GOTPCREL(%rip), %rax
LBB0_4:
	movq	(%rax), %rax
LBB0_5:
	movq	%rax, 16(%r14)
	cmpq	$0, (%r14)
	je	LBB0_9
## %bb.6:
	movl	$1, %ebx
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r14), %rax
	movl	-4(%rax,%rbx,4), %edi
	callq	_i40e_configure_rx_ring
	cmpq	(%r14), %rbx
	jae	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	incq	%rbx
	testl	%eax, %eax
	je	LBB0_7
	jmp	LBB0_10
LBB0_9:
	xorl	%eax, %eax
LBB0_10:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_11:
	movq	_I40E_2K_TOO_SMALL_WITH_PADDING@GOTPCREL(%rip), %rcx
	cmpl	$0, (%rcx)
	jne	LBB0_13
## %bb.12:
	movq	(%rax), %rax
	movq	_ETH_DATA_LEN@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jle	LBB0_16
LBB0_13:
	movq	_I40E_MAX_RXBUFFER@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 24(%r14)
	movq	_PAGE_SIZE@GOTPCREL(%rip), %rax
	cmpl	$8192, (%rax)                   ## imm = 0x2000
	jge	LBB0_3
## %bb.14:
	movq	_I40E_RXBUFFER_3072@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_16:
	movq	_I40E_RXBUFFER_1536@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_NET_IP_ALIGN@GOTPCREL(%rip), %rcx
	subq	(%rcx), %rax
	movq	%rax, 24(%r14)
	jmp	LBB0_5
	.cfi_endproc
                                        ## -- End function
	.comm	_I40E_FLAG_LEGACY_RX,4,2        ## @I40E_FLAG_LEGACY_RX
	.comm	_I40E_MAX_RXBUFFER,8,3          ## @I40E_MAX_RXBUFFER
	.comm	_I40E_RXBUFFER_2048,8,3         ## @I40E_RXBUFFER_2048
	.comm	_I40E_2K_TOO_SMALL_WITH_PADDING,4,2 ## @I40E_2K_TOO_SMALL_WITH_PADDING
	.comm	_ETH_DATA_LEN,8,3               ## @ETH_DATA_LEN
	.comm	_I40E_RXBUFFER_1536,8,3         ## @I40E_RXBUFFER_1536
	.comm	_NET_IP_ALIGN,8,3               ## @NET_IP_ALIGN
	.comm	_PAGE_SIZE,4,2                  ## @PAGE_SIZE
	.comm	_I40E_RXBUFFER_3072,8,3         ## @I40E_RXBUFFER_3072
	.no_dead_strip	_i40e_vsi_configure_rx
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function i40e_vsi_configure_rx
_i40e_vsi_configure_rx:                 ; @i40e_vsi_configure_rx
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	x8, [x0, #32]
	cbz	x8, LBB0_2
; %bb.1:
	ldr	x9, [x19, #40]
	ldr	w9, [x9]
Lloh0:
	adrp	x10, _I40E_FLAG_LEGACY_RX@GOTPAGE
Lloh1:
	ldr	x10, [x10, _I40E_FLAG_LEGACY_RX@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_3
LBB0_2:
Lloh3:
	adrp	x8, _I40E_MAX_RXBUFFER@GOTPAGE
Lloh4:
	ldr	x8, [x8, _I40E_MAX_RXBUFFER@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	str	x8, [x19, #24]
Lloh6:
	adrp	x8, _I40E_RXBUFFER_2048@GOTPAGE
Lloh7:
	ldr	x8, [x8, _I40E_RXBUFFER_2048@GOTPAGEOFF]
	b	LBB0_6
LBB0_3:
Lloh8:
	adrp	x9, _I40E_2K_TOO_SMALL_WITH_PADDING@GOTPAGE
Lloh9:
	ldr	x9, [x9, _I40E_2K_TOO_SMALL_WITH_PADDING@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	cbnz	w9, LBB0_5
; %bb.4:
	ldr	x8, [x8]
Lloh11:
	adrp	x9, _ETH_DATA_LEN@GOTPAGE
Lloh12:
	ldr	x9, [x9, _ETH_DATA_LEN@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cmp	x8, x9
	b.le	LBB0_12
LBB0_5:
Lloh14:
	adrp	x8, _I40E_MAX_RXBUFFER@GOTPAGE
Lloh15:
	ldr	x8, [x8, _I40E_MAX_RXBUFFER@GOTPAGEOFF]
Lloh16:
	ldr	x8, [x8]
	str	x8, [x19, #24]
Lloh17:
	adrp	x8, _PAGE_SIZE@GOTPAGE
Lloh18:
	ldr	x8, [x8, _PAGE_SIZE@GOTPAGEOFF]
Lloh19:
	adrp	x9, _I40E_RXBUFFER_3072@GOTPAGE
Lloh20:
	ldr	x9, [x9, _I40E_RXBUFFER_3072@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
Lloh22:
	adrp	x10, _I40E_RXBUFFER_2048@GOTPAGE
Lloh23:
	ldr	x10, [x10, _I40E_RXBUFFER_2048@GOTPAGEOFF]
	cmp	w8, #2, lsl #12                 ; =8192
	csel	x8, x9, x10, lt
LBB0_6:
	ldr	x8, [x8]
LBB0_7:
	str	x8, [x19, #16]
	ldr	x8, [x19]
	cbz	x8, LBB0_10
; %bb.8:
	mov	x20, #0
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #8]
	ldr	w0, [x8, x20, lsl #2]
	bl	_i40e_configure_rx_ring
	add	x20, x20, #1
	ldr	x8, [x19]
	cmp	x20, x8
	ccmp	w0, #0, #0, lo
	b.eq	LBB0_9
	b	LBB0_11
LBB0_10:
	mov	w0, #0
LBB0_11:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_12:
Lloh24:
	adrp	x8, _I40E_RXBUFFER_1536@GOTPAGE
Lloh25:
	ldr	x8, [x8, _I40E_RXBUFFER_1536@GOTPAGEOFF]
Lloh26:
	ldr	x8, [x8]
Lloh27:
	adrp	x9, _NET_IP_ALIGN@GOTPAGE
Lloh28:
	ldr	x9, [x9, _NET_IP_ALIGN@GOTPAGEOFF]
Lloh29:
	ldr	x9, [x9]
	sub	x8, x8, x9
	str	x8, [x19, #24]
	b	LBB0_7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh21
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.comm	_I40E_FLAG_LEGACY_RX,4,2        ; @I40E_FLAG_LEGACY_RX
	.comm	_I40E_MAX_RXBUFFER,8,3          ; @I40E_MAX_RXBUFFER
	.comm	_I40E_RXBUFFER_2048,8,3         ; @I40E_RXBUFFER_2048
	.comm	_I40E_2K_TOO_SMALL_WITH_PADDING,4,2 ; @I40E_2K_TOO_SMALL_WITH_PADDING
	.comm	_ETH_DATA_LEN,8,3               ; @ETH_DATA_LEN
	.comm	_I40E_RXBUFFER_1536,8,3         ; @I40E_RXBUFFER_1536
	.comm	_NET_IP_ALIGN,8,3               ; @NET_IP_ALIGN
	.comm	_PAGE_SIZE,4,2                  ; @PAGE_SIZE
	.comm	_I40E_RXBUFFER_3072,8,3         ; @I40E_RXBUFFER_3072
	.no_dead_strip	_i40e_vsi_configure_rx
.subsections_via_symbols
