	.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	%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, %r14
	movq	%rdi, %rbx
	movq	8(%rdi), %rax
	movl	(%rax), %r12d
	movq	_ETH_HLEN@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	_ETH_FCS_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	%rsi, %rdi
	callq	_clear_ring_build_skb_enabled
	movq	%r14, %rdi
	callq	_clear_ring_uses_large_buffer
	movq	_IXGBEVF_FLAGS_LEGACY_RX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	je	LBB0_1
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	%r14, %rdi
	callq	_set_ring_build_skb_enabled
	movq	_PAGE_SIZE@GOTPCREL(%rip), %rax
	cmpl	$8191, (%rax)                   ## imm = 0x1FFF
	jg	LBB0_3
## %bb.2:
	addl	%r12d, %r15d
	addl	%r13d, %r15d
	movq	_IXGBEVF_MAX_FRAME_BUILD_SKB@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r15d
	jbe	LBB0_3
## %bb.4:
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_set_ring_uses_large_buffer     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ETH_HLEN,4,2                   ## @ETH_HLEN
	.comm	_ETH_FCS_LEN,4,2                ## @ETH_FCS_LEN
	.comm	_IXGBEVF_FLAGS_LEGACY_RX,4,2    ## @IXGBEVF_FLAGS_LEGACY_RX
	.comm	_PAGE_SIZE,4,2                  ## @PAGE_SIZE
	.comm	_IXGBEVF_MAX_FRAME_BUILD_SKB,4,2 ## @IXGBEVF_MAX_FRAME_BUILD_SKB
	.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	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	x8, [x0, #8]
	ldr	w21, [x8]
Lloh0:
	adrp	x8, _ETH_HLEN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ETH_HLEN@GOTPAGEOFF]
Lloh2:
	ldr	w22, [x8]
Lloh3:
	adrp	x8, _ETH_FCS_LEN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ETH_FCS_LEN@GOTPAGEOFF]
Lloh5:
	ldr	w23, [x8]
	mov	x0, x1
	bl	_clear_ring_build_skb_enabled
	mov	x0, x19
	bl	_clear_ring_uses_large_buffer
	ldr	w8, [x20]
Lloh6:
	adrp	x9, _IXGBEVF_FLAGS_LEGACY_RX@GOTPAGE
Lloh7:
	ldr	x9, [x9, _IXGBEVF_FLAGS_LEGACY_RX@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_2
; %bb.1:
	add	w8, w22, w21
	add	w20, w8, w23
	mov	x0, x19
	bl	_set_ring_build_skb_enabled
Lloh9:
	adrp	x8, _PAGE_SIZE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _PAGE_SIZE@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
Lloh12:
	adrp	x9, _IXGBEVF_MAX_FRAME_BUILD_SKB@GOTPAGE
Lloh13:
	ldr	x9, [x9, _IXGBEVF_MAX_FRAME_BUILD_SKB@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	cmp	w8, #2, lsl #12                 ; =8192
	ccmp	w20, w9, #0, lt
	b.hi	LBB0_3
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
LBB0_3:
	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	_set_ring_uses_large_buffer
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_ETH_HLEN,4,2                   ; @ETH_HLEN
	.comm	_ETH_FCS_LEN,4,2                ; @ETH_FCS_LEN
	.comm	_IXGBEVF_FLAGS_LEGACY_RX,4,2    ; @IXGBEVF_FLAGS_LEGACY_RX
	.comm	_PAGE_SIZE,4,2                  ; @PAGE_SIZE
	.comm	_IXGBEVF_MAX_FRAME_BUILD_SKB,4,2 ; @IXGBEVF_MAX_FRAME_BUILD_SKB
	.no_dead_strip	_ixgbevf_set_rx_buffer_len
.subsections_via_symbols
