	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function amd8111e_set_rx_buff_len
_amd8111e_set_rx_buff_len:              ## @amd8111e_set_rx_buff_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	callq	_netdev_priv
	movl	(%rbx), %ecx
	movq	_ETH_DATA_LEN@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %ecx
	jbe	LBB0_2
## %bb.1:
	movq	_ETH_HLEN@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	addq	%rdx, %rcx
	addq	$10, %rcx
	movq	%rcx, 8(%rax)
	movq	_OPTION_JUMBO_ENABLE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	%ecx, (%rax)
	jmp	LBB0_3
LBB0_2:
	movq	_PKT_BUFF_SZ@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, 8(%rax)
	movq	_OPTION_JUMBO_ENABLE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	notl	%ecx
	andl	%ecx, (%rax)
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ETH_DATA_LEN,4,2               ## @ETH_DATA_LEN
	.comm	_ETH_HLEN,8,3                   ## @ETH_HLEN
	.comm	_OPTION_JUMBO_ENABLE,4,2        ## @OPTION_JUMBO_ENABLE
	.comm	_PKT_BUFF_SZ,8,3                ## @PKT_BUFF_SZ
	.no_dead_strip	_amd8111e_set_rx_buff_len
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function amd8111e_set_rx_buff_len
_amd8111e_set_rx_buff_len:              ; @amd8111e_set_rx_buff_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
	bl	_netdev_priv
	ldr	w8, [x19]
Lloh0:
	adrp	x9, _ETH_DATA_LEN@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ETH_DATA_LEN@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ls	LBB0_2
; %bb.1:
Lloh3:
	adrp	x9, _ETH_HLEN@GOTPAGE
Lloh4:
	ldr	x9, [x9, _ETH_HLEN@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	add	x8, x8, x9
	add	x8, x8, #10
	str	x8, [x0, #8]
Lloh6:
	adrp	x8, _OPTION_JUMBO_ENABLE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _OPTION_JUMBO_ENABLE@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	ldr	w9, [x0]
	orr	w8, w9, w8
	b	LBB0_3
LBB0_2:
Lloh9:
	adrp	x8, _PKT_BUFF_SZ@GOTPAGE
Lloh10:
	ldr	x8, [x8, _PKT_BUFF_SZ@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	str	x8, [x0, #8]
Lloh12:
	adrp	x8, _OPTION_JUMBO_ENABLE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _OPTION_JUMBO_ENABLE@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	ldr	w9, [x0]
	bic	w8, w9, w8
LBB0_3:
	str	w8, [x0]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_ETH_DATA_LEN,4,2               ; @ETH_DATA_LEN
	.comm	_ETH_HLEN,8,3                   ; @ETH_HLEN
	.comm	_OPTION_JUMBO_ENABLE,4,2        ; @OPTION_JUMBO_ENABLE
	.comm	_PKT_BUFF_SZ,8,3                ; @PKT_BUFF_SZ
	.no_dead_strip	_amd8111e_set_rx_buff_len
.subsections_via_symbols
