	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ixgbevf_set_rx_buffer_len
_ixgbevf_set_rx_buffer_len:             ## @ixgbevf_set_rx_buffer_len
	.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	16(%rdi), %rax
	movq	_ETH_HLEN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	addl	(%rax), %ebx
	addq	$24, %rdi
	movq	_ETH_FCS_LEN@GOTPCREL(%rip), %rax
	addl	(%rax), %ebx
	movl	%ebx, %esi
	callq	_ixgbevf_rlpml_set_vf
	movq	_VLAN_HLEN@GOTPCREL(%rip), %rax
	addl	(%rax), %ebx
	movq	24(%r14), %rax
	movq	_ixgbe_mac_X540_vf@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	movq	_MAXIMUM_ETHERNET_VLAN_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	%eax, %ebx
	jle	LBB0_6
LBB0_2:
	movq	_IXGBEVF_RXBUFFER_2K@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	%eax, %ebx
	jle	LBB0_6
## %bb.3:
	movq	_IXGBEVF_RXBUFFER_4K@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	%eax, %ebx
	jle	LBB0_6
## %bb.4:
	movq	_IXGBEVF_RXBUFFER_8K@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	%eax, %ebx
	jle	LBB0_6
## %bb.5:
	movq	_IXGBEVF_RXBUFFER_10K@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_6:
	movl	(%r14), %ecx
	testl	%ecx, %ecx
	jle	LBB0_18
## %bb.7:
	movq	8(%r14), %rdx
	cmpl	$8, %ecx
	jae	LBB0_9
## %bb.8:
	xorl	%esi, %esi
	jmp	LBB0_17
LBB0_9:
	movl	%ecx, %esi
	andl	$-8, %esi
	movd	%eax, %xmm0
	pshufd	$0, %xmm0, %xmm0                ## xmm0 = xmm0[0,0,0,0]
	leaq	-8(%rsi), %rbx
	movq	%rbx, %rdi
	shrq	$3, %rdi
	incq	%rdi
	movl	%edi, %r8d
	andl	$7, %r8d
	cmpq	$56, %rbx
	jae	LBB0_11
## %bb.10:
	xorl	%ebx, %ebx
	jmp	LBB0_13
LBB0_11:
	andq	$-8, %rdi
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movdqu	%xmm0, (%rdx,%rbx,4)
	movdqu	%xmm0, 16(%rdx,%rbx,4)
	movdqu	%xmm0, 32(%rdx,%rbx,4)
	movdqu	%xmm0, 48(%rdx,%rbx,4)
	movdqu	%xmm0, 64(%rdx,%rbx,4)
	movdqu	%xmm0, 80(%rdx,%rbx,4)
	movdqu	%xmm0, 96(%rdx,%rbx,4)
	movdqu	%xmm0, 112(%rdx,%rbx,4)
	movdqu	%xmm0, 128(%rdx,%rbx,4)
	movdqu	%xmm0, 144(%rdx,%rbx,4)
	movdqu	%xmm0, 160(%rdx,%rbx,4)
	movdqu	%xmm0, 176(%rdx,%rbx,4)
	movdqu	%xmm0, 192(%rdx,%rbx,4)
	movdqu	%xmm0, 208(%rdx,%rbx,4)
	movdqu	%xmm0, 224(%rdx,%rbx,4)
	movdqu	%xmm0, 240(%rdx,%rbx,4)
	addq	$64, %rbx
	addq	$-8, %rdi
	jne	LBB0_12
LBB0_13:
	testq	%r8, %r8
	je	LBB0_16
## %bb.14:
	leaq	(%rdx,%rbx,4), %rdi
	addq	$16, %rdi
	shlq	$5, %r8
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	movdqu	%xmm0, -16(%rdi,%rbx)
	movdqu	%xmm0, (%rdi,%rbx)
	addq	$32, %rbx
	cmpq	%rbx, %r8
	jne	LBB0_15
LBB0_16:
	cmpq	%rcx, %rsi
	je	LBB0_18
	.p2align	4, 0x90
LBB0_17:                                ## =>This Inner Loop Header: Depth=1
	movl	%eax, (%rdx,%rsi,4)
	incq	%rsi
	cmpq	%rsi, %rcx
	jne	LBB0_17
LBB0_18:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ETH_HLEN,4,2                   ## @ETH_HLEN
	.comm	_ETH_FCS_LEN,4,2                ## @ETH_FCS_LEN
	.comm	_VLAN_HLEN,8,3                  ## @VLAN_HLEN
	.comm	_ixgbe_mac_X540_vf,8,3          ## @ixgbe_mac_X540_vf
	.comm	_MAXIMUM_ETHERNET_VLAN_SIZE,4,2 ## @MAXIMUM_ETHERNET_VLAN_SIZE
	.comm	_IXGBEVF_RXBUFFER_2K,4,2        ## @IXGBEVF_RXBUFFER_2K
	.comm	_IXGBEVF_RXBUFFER_4K,4,2        ## @IXGBEVF_RXBUFFER_4K
	.comm	_IXGBEVF_RXBUFFER_8K,4,2        ## @IXGBEVF_RXBUFFER_8K
	.comm	_IXGBEVF_RXBUFFER_10K,4,2       ## @IXGBEVF_RXBUFFER_10K
	.no_dead_strip	_ixgbevf_set_rx_buffer_len
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ixgbevf_set_rx_buffer_len
_ixgbevf_set_rx_buffer_len:             ; @ixgbevf_set_rx_buffer_len
	.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
	add	x0, x0, #24
	ldr	x8, [x19, #16]
	ldr	w8, [x8]
Lloh0:
	adrp	x9, _ETH_HLEN@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ETH_HLEN@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
Lloh3:
	adrp	x10, _ETH_FCS_LEN@GOTPAGE
Lloh4:
	ldr	x10, [x10, _ETH_FCS_LEN@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	add	w8, w9, w8
	add	w20, w8, w10
	mov	x1, x20
	bl	_ixgbevf_rlpml_set_vf
Lloh6:
	adrp	x8, _VLAN_HLEN@GOTPAGE
Lloh7:
	ldr	x8, [x8, _VLAN_HLEN@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	add	w9, w20, w8
	ldr	x10, [x19, #24]
Lloh9:
	adrp	x8, _ixgbe_mac_X540_vf@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ixgbe_mac_X540_vf@GOTPAGEOFF]
Lloh11:
	ldr	x11, [x8]
Lloh12:
	adrp	x8, _MAXIMUM_ETHERNET_VLAN_SIZE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _MAXIMUM_ETHERNET_VLAN_SIZE@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	cmp	x10, x11
	ccmp	w9, w8, #0, eq
	b.le	LBB0_4
; %bb.1:
Lloh15:
	adrp	x8, _IXGBEVF_RXBUFFER_2K@GOTPAGE
Lloh16:
	ldr	x8, [x8, _IXGBEVF_RXBUFFER_2K@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	cmp	w9, w8
	b.le	LBB0_4
; %bb.2:
Lloh18:
	adrp	x8, _IXGBEVF_RXBUFFER_4K@GOTPAGE
Lloh19:
	ldr	x8, [x8, _IXGBEVF_RXBUFFER_4K@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	cmp	w9, w8
	b.le	LBB0_4
; %bb.3:
Lloh21:
	adrp	x8, _IXGBEVF_RXBUFFER_8K@GOTPAGE
Lloh22:
	ldr	x8, [x8, _IXGBEVF_RXBUFFER_8K@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
Lloh24:
	adrp	x10, _IXGBEVF_RXBUFFER_10K@GOTPAGE
Lloh25:
	ldr	x10, [x10, _IXGBEVF_RXBUFFER_10K@GOTPAGEOFF]
Lloh26:
	ldr	w10, [x10]
	cmp	w9, w8
	csel	w8, w10, w8, gt
LBB0_4:
	ldr	w9, [x19]
	cmp	w9, #1
	b.lt	LBB0_12
; %bb.5:
	ldr	x10, [x19, #8]
	cmp	w9, #16
	b.hs	LBB0_7
; %bb.6:
	mov	x11, #0
	b	LBB0_10
LBB0_7:
	and	x11, x9, #0xfffffff0
	dup.4s	v0, w8
	add	x12, x10, #32
	mov	x13, x11
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	stp	q0, q0, [x12, #-32]
	stp	q0, q0, [x12], #64
	subs	x13, x13, #16
	b.ne	LBB0_8
; %bb.9:
	cmp	x11, x9
	b.eq	LBB0_12
LBB0_10:
	add	x10, x10, x11, lsl #2
	sub	x9, x9, x11
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	str	w8, [x10], #4
	subs	x9, x9, #1
	b.ne	LBB0_11
LBB0_12:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_ETH_HLEN,4,2                   ; @ETH_HLEN
	.comm	_ETH_FCS_LEN,4,2                ; @ETH_FCS_LEN
	.comm	_VLAN_HLEN,8,3                  ; @VLAN_HLEN
	.comm	_ixgbe_mac_X540_vf,8,3          ; @ixgbe_mac_X540_vf
	.comm	_MAXIMUM_ETHERNET_VLAN_SIZE,4,2 ; @MAXIMUM_ETHERNET_VLAN_SIZE
	.comm	_IXGBEVF_RXBUFFER_2K,4,2        ; @IXGBEVF_RXBUFFER_2K
	.comm	_IXGBEVF_RXBUFFER_4K,4,2        ; @IXGBEVF_RXBUFFER_4K
	.comm	_IXGBEVF_RXBUFFER_8K,4,2        ; @IXGBEVF_RXBUFFER_8K
	.comm	_IXGBEVF_RXBUFFER_10K,4,2       ; @IXGBEVF_RXBUFFER_10K
	.no_dead_strip	_ixgbevf_set_rx_buffer_len
.subsections_via_symbols
