	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ixgbe_set_rx_buffer_len
_ixgbe_set_rx_buffer_len:               ## @ixgbe_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	%rdi, %r14
	leaq	32(%rdi), %r12
	movq	24(%rdi), %rax
	movq	_ETH_HLEN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	addl	(%rax), %ebx
	movq	_ETH_FCS_LEN@GOTPCREL(%rip), %rcx
	movq	_ETH_FRAME_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	%eax, %ebx
	cmovlel	%eax, %ebx
	addl	(%rcx), %ebx
	movq	_IXGBE_MHADD@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	%r12, %rdi
	callq	_IXGBE_READ_REG
	movq	_IXGBE_MHADD_MFS_SHIFT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%eax, %edx
	sarl	%cl, %edx
	movl	%ebx, -44(%rbp)                 ## 4-byte Spill
	cmpl	%edx, %ebx
	je	LBB0_2
## %bb.1:
	movq	_IXGBE_MHADD_MFS_MASK@GOTPCREL(%rip), %rdx
	movl	(%rdx), %esi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %edx
	notl	%esi
	andl	%esi, %eax
	orl	%eax, %edx
	movl	(%r15), %esi
	movq	%r12, %rdi
	callq	_IXGBE_WRITE_REG
LBB0_2:
	movq	_IXGBE_HLREG0@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	%r12, %rdi
	callq	_IXGBE_READ_REG
	movq	_IXGBE_HLREG0_JUMBOEN@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	(%r15), %esi
	movq	%r12, %rdi
	movl	%eax, %edx
	callq	_IXGBE_WRITE_REG
	cmpl	$0, 4(%r14)
	jle	LBB0_15
## %bb.3:
	xorl	%r12d, %r12d
	movq	___IXGBE_RX_3K_BUFFER@GOTPCREL(%rip), %r13
	movq	_IXGBE_FLAG2_RSC_ENABLED@GOTPCREL(%rip), %r15
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_4 Depth=1
	movl	(%r13), %edi
	movq	%rbx, %rsi
	callq	_set_bit
LBB0_14:                                ##   in Loop: Header=BB0_4 Depth=1
	incq	%r12
	movslq	4(%r14), %rax
	cmpq	%rax, %r12
	jge	LBB0_15
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	16(%r14), %rax
	movq	(%rax,%r12,8), %rbx
	movq	%rbx, %rdi
	callq	_clear_ring_rsc_enabled
	movl	(%r13), %edi
	movq	%rbx, %rsi
	callq	_clear_bit
	movq	___IXGBE_RX_BUILD_SKB_ENABLED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_clear_bit
	movl	(%r15), %eax
	testl	%eax, 8(%r14)
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%rbx, %rdi
	callq	_set_ring_rsc_enabled
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	___IXGBE_RX_FCOE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	(%r13), %edi
	movq	%rbx, %rsi
	callq	_set_bit
LBB0_8:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	_IXGBE_FLAG2_RX_LEGACY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 8(%r14)
	jne	LBB0_14
## %bb.9:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	___IXGBE_RX_BUILD_SKB_ENABLED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_set_bit
	movl	(%r15), %eax
	testl	%eax, 8(%r14)
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_4 Depth=1
	movl	(%r13), %edi
	movq	%rbx, %rsi
	callq	_set_bit
LBB0_11:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	_IXGBE_2K_TOO_SMALL_WITH_PADDING@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	jne	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	_ETH_FCS_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_ETH_FRAME_LEN@GOTPCREL(%rip), %rcx
	addl	(%rcx), %eax
	cmpl	%eax, -44(%rbp)                 ## 4-byte Folded Reload
	jg	LBB0_13
	jmp	LBB0_14
LBB0_15:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ETH_HLEN,4,2                   ## @ETH_HLEN
	.comm	_ETH_FCS_LEN,4,2                ## @ETH_FCS_LEN
	.comm	_ETH_FRAME_LEN,4,2              ## @ETH_FRAME_LEN
	.comm	_IXGBE_MHADD,4,2                ## @IXGBE_MHADD
	.comm	_IXGBE_MHADD_MFS_SHIFT,4,2      ## @IXGBE_MHADD_MFS_SHIFT
	.comm	_IXGBE_MHADD_MFS_MASK,4,2       ## @IXGBE_MHADD_MFS_MASK
	.comm	_IXGBE_HLREG0,4,2               ## @IXGBE_HLREG0
	.comm	_IXGBE_HLREG0_JUMBOEN,4,2       ## @IXGBE_HLREG0_JUMBOEN
	.comm	___IXGBE_RX_3K_BUFFER,4,2       ## @__IXGBE_RX_3K_BUFFER
	.comm	___IXGBE_RX_BUILD_SKB_ENABLED,4,2 ## @__IXGBE_RX_BUILD_SKB_ENABLED
	.comm	_IXGBE_FLAG2_RSC_ENABLED,4,2    ## @IXGBE_FLAG2_RSC_ENABLED
	.comm	___IXGBE_RX_FCOE,4,2            ## @__IXGBE_RX_FCOE
	.comm	_IXGBE_FLAG2_RX_LEGACY,4,2      ## @IXGBE_FLAG2_RX_LEGACY
	.comm	_IXGBE_2K_TOO_SMALL_WITH_PADDING,8,3 ## @IXGBE_2K_TOO_SMALL_WITH_PADDING
	.comm	_IXGBE_FCOE_JUMBO_FRAME_SIZE,4,2 ## @IXGBE_FCOE_JUMBO_FRAME_SIZE
	.comm	_IXGBE_FLAG_FCOE_ENABLED,4,2    ## @IXGBE_FLAG_FCOE_ENABLED
	.no_dead_strip	_ixgbe_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 ixgbe_set_rx_buffer_len
_ixgbe_set_rx_buffer_len:               ; @ixgbe_set_rx_buffer_len
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x0
	add	x20, x0, #32
	ldr	x8, [x0, #24]
	ldr	w8, [x8]
Lloh0:
	adrp	x9, _ETH_HLEN@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ETH_HLEN@GOTPAGEOFF]
Lloh2:
	adrp	x10, _ETH_FCS_LEN@GOTPAGE
Lloh3:
	ldr	x10, [x10, _ETH_FCS_LEN@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
Lloh5:
	ldr	w10, [x10]
Lloh6:
	adrp	x11, _ETH_FRAME_LEN@GOTPAGE
Lloh7:
	ldr	x11, [x11, _ETH_FRAME_LEN@GOTPAGEOFF]
Lloh8:
	ldr	w11, [x11]
	add	w8, w9, w8
	cmp	w8, w11
	csel	w8, w8, w11, gt
	add	w23, w8, w10
Lloh9:
	adrp	x21, _IXGBE_MHADD@GOTPAGE
Lloh10:
	ldr	x21, [x21, _IXGBE_MHADD@GOTPAGEOFF]
	ldr	w1, [x21]
	mov	x0, x20
	bl	_IXGBE_READ_REG
Lloh11:
	adrp	x8, _IXGBE_MHADD_MFS_SHIFT@GOTPAGE
Lloh12:
	ldr	x8, [x8, _IXGBE_MHADD_MFS_SHIFT@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	asr	w9, w0, w8
	cmp	w23, w9
	b.eq	LBB0_2
; %bb.1:
Lloh14:
	adrp	x9, _IXGBE_MHADD_MFS_MASK@GOTPAGE
Lloh15:
	ldr	x9, [x9, _IXGBE_MHADD_MFS_MASK@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	bic	w9, w0, w9
	lsl	w8, w23, w8
	orr	w2, w9, w8
	ldr	w1, [x21]
	mov	x0, x20
	bl	_IXGBE_WRITE_REG
LBB0_2:
Lloh17:
	adrp	x21, _IXGBE_HLREG0@GOTPAGE
Lloh18:
	ldr	x21, [x21, _IXGBE_HLREG0@GOTPAGEOFF]
	ldr	w1, [x21]
	mov	x0, x20
	bl	_IXGBE_READ_REG
Lloh19:
	adrp	x8, _IXGBE_HLREG0_JUMBOEN@GOTPAGE
Lloh20:
	ldr	x8, [x8, _IXGBE_HLREG0_JUMBOEN@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
	orr	w2, w8, w0
	ldr	w1, [x21]
	mov	x0, x20
	bl	_IXGBE_WRITE_REG
	ldr	w8, [x19, #4]
	cmp	w8, #1
	b.lt	LBB0_15
; %bb.3:
	mov	x24, #0
Lloh22:
	adrp	x25, ___IXGBE_RX_3K_BUFFER@GOTPAGE
Lloh23:
	ldr	x25, [x25, ___IXGBE_RX_3K_BUFFER@GOTPAGEOFF]
Lloh24:
	adrp	x26, ___IXGBE_RX_BUILD_SKB_ENABLED@GOTPAGE
Lloh25:
	ldr	x26, [x26, ___IXGBE_RX_BUILD_SKB_ENABLED@GOTPAGEOFF]
Lloh26:
	adrp	x27, _IXGBE_FLAG2_RSC_ENABLED@GOTPAGE
Lloh27:
	ldr	x27, [x27, _IXGBE_FLAG2_RSC_ENABLED@GOTPAGEOFF]
Lloh28:
	adrp	x28, ___IXGBE_RX_FCOE@GOTPAGE
Lloh29:
	ldr	x28, [x28, ___IXGBE_RX_FCOE@GOTPAGEOFF]
Lloh30:
	adrp	x21, _IXGBE_FLAG2_RX_LEGACY@GOTPAGE
Lloh31:
	ldr	x21, [x21, _IXGBE_FLAG2_RX_LEGACY@GOTPAGEOFF]
Lloh32:
	adrp	x22, _IXGBE_2K_TOO_SMALL_WITH_PADDING@GOTPAGE
Lloh33:
	ldr	x22, [x22, _IXGBE_2K_TOO_SMALL_WITH_PADDING@GOTPAGEOFF]
	b	LBB0_6
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	w0, [x25]
	mov	x1, x20
	bl	_set_bit
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x24, x24, #1
	ldrsw	x8, [x19, #4]
	cmp	x24, x8
	b.ge	LBB0_15
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #16]
	ldr	x20, [x8, x24, lsl #3]
	mov	x0, x20
	bl	_clear_ring_rsc_enabled
	ldr	w0, [x25]
	mov	x1, x20
	bl	_clear_bit
	ldr	w0, [x26]
	mov	x1, x20
	bl	_clear_bit
	ldr	w8, [x19, #8]
	ldr	w9, [x27]
	tst	w9, w8
	b.eq	LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x20
	bl	_set_ring_rsc_enabled
LBB0_8:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	w0, [x28]
	mov	x1, x20
	bl	_test_bit
	cbz	x0, LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w0, [x25]
	mov	x1, x20
	bl	_set_bit
LBB0_10:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w8, [x19, #8]
	ldr	w9, [x21]
	tst	w9, w8
	b.ne	LBB0_5
; %bb.11:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	w0, [x26]
	mov	x1, x20
	bl	_set_bit
	ldr	w8, [x19, #8]
	ldr	w9, [x27]
	tst	w9, w8
	b.eq	LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	w0, [x25]
	mov	x1, x20
	bl	_set_bit
LBB0_13:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x22]
	cbnz	x8, LBB0_4
; %bb.14:                               ;   in Loop: Header=BB0_6 Depth=1
Lloh34:
	adrp	x8, _ETH_FRAME_LEN@GOTPAGE
Lloh35:
	ldr	x8, [x8, _ETH_FRAME_LEN@GOTPAGEOFF]
Lloh36:
	ldr	w8, [x8]
Lloh37:
	adrp	x9, _ETH_FCS_LEN@GOTPAGE
Lloh38:
	ldr	x9, [x9, _ETH_FCS_LEN@GOTPAGEOFF]
Lloh39:
	ldr	w9, [x9]
	add	w8, w9, w8
	cmp	w23, w8
	b.gt	LBB0_4
	b	LBB0_5
LBB0_15:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.cfi_endproc
                                        ; -- End function
	.comm	_ETH_HLEN,4,2                   ; @ETH_HLEN
	.comm	_ETH_FCS_LEN,4,2                ; @ETH_FCS_LEN
	.comm	_ETH_FRAME_LEN,4,2              ; @ETH_FRAME_LEN
	.comm	_IXGBE_MHADD,4,2                ; @IXGBE_MHADD
	.comm	_IXGBE_MHADD_MFS_SHIFT,4,2      ; @IXGBE_MHADD_MFS_SHIFT
	.comm	_IXGBE_MHADD_MFS_MASK,4,2       ; @IXGBE_MHADD_MFS_MASK
	.comm	_IXGBE_HLREG0,4,2               ; @IXGBE_HLREG0
	.comm	_IXGBE_HLREG0_JUMBOEN,4,2       ; @IXGBE_HLREG0_JUMBOEN
	.comm	___IXGBE_RX_3K_BUFFER,4,2       ; @__IXGBE_RX_3K_BUFFER
	.comm	___IXGBE_RX_BUILD_SKB_ENABLED,4,2 ; @__IXGBE_RX_BUILD_SKB_ENABLED
	.comm	_IXGBE_FLAG2_RSC_ENABLED,4,2    ; @IXGBE_FLAG2_RSC_ENABLED
	.comm	___IXGBE_RX_FCOE,4,2            ; @__IXGBE_RX_FCOE
	.comm	_IXGBE_FLAG2_RX_LEGACY,4,2      ; @IXGBE_FLAG2_RX_LEGACY
	.comm	_IXGBE_2K_TOO_SMALL_WITH_PADDING,8,3 ; @IXGBE_2K_TOO_SMALL_WITH_PADDING
	.comm	_IXGBE_FCOE_JUMBO_FRAME_SIZE,4,2 ; @IXGBE_FCOE_JUMBO_FRAME_SIZE
	.comm	_IXGBE_FLAG_FCOE_ENABLED,4,2    ; @IXGBE_FLAG_FCOE_ENABLED
	.no_dead_strip	_ixgbe_set_rx_buffer_len
.subsections_via_symbols
