	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function atl1c_set_rxbufsize
_atl1c_set_rxbufsize:                   ## @atl1c_set_rxbufsize
	.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
	movslq	(%rsi), %rdi
	movq	_AT_RX_BUF_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	%eax, %edi
	jle	LBB0_2
## %bb.1:
	movq	_ETH_HLEN@GOTPCREL(%rip), %rax
	addq	(%rax), %rdi
	movq	_ETH_FCS_LEN@GOTPCREL(%rip), %rax
	addq	(%rax), %rdi
	movq	_VLAN_HLEN@GOTPCREL(%rip), %rax
	addq	(%rax), %rdi
	movl	$8, %esi
	callq	_roundup
LBB0_2:
	movl	%eax, (%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AT_RX_BUF_SIZE,4,2             ## @AT_RX_BUF_SIZE
	.comm	_ETH_HLEN,8,3                   ## @ETH_HLEN
	.comm	_ETH_FCS_LEN,8,3                ## @ETH_FCS_LEN
	.comm	_VLAN_HLEN,8,3                  ## @VLAN_HLEN
	.no_dead_strip	_atl1c_set_rxbufsize
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function atl1c_set_rxbufsize
_atl1c_set_rxbufsize:                   ; @atl1c_set_rxbufsize
	.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
	ldrsw	x8, [x1]
Lloh0:
	adrp	x9, _AT_RX_BUF_SIZE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _AT_RX_BUF_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x9]
	cmp	w8, w0
	b.le	LBB0_2
; %bb.1:
Lloh3:
	adrp	x9, _ETH_HLEN@GOTPAGE
Lloh4:
	ldr	x9, [x9, _ETH_HLEN@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
Lloh6:
	adrp	x10, _ETH_FCS_LEN@GOTPAGE
Lloh7:
	ldr	x10, [x10, _ETH_FCS_LEN@GOTPAGEOFF]
Lloh8:
	ldr	x10, [x10]
	add	x8, x9, x8
	add	x8, x8, x10
Lloh9:
	adrp	x9, _VLAN_HLEN@GOTPAGE
Lloh10:
	ldr	x9, [x9, _VLAN_HLEN@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	add	x0, x8, x9
	mov	w1, #8
	bl	_roundup
LBB0_2:
	str	w0, [x19]
	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	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_AT_RX_BUF_SIZE,4,2             ; @AT_RX_BUF_SIZE
	.comm	_ETH_HLEN,8,3                   ; @ETH_HLEN
	.comm	_ETH_FCS_LEN,8,3                ; @ETH_FCS_LEN
	.comm	_VLAN_HLEN,8,3                  ; @VLAN_HLEN
	.no_dead_strip	_atl1c_set_rxbufsize
.subsections_via_symbols
