	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function c2_set_rxbufsize
_c2_set_rxbufsize:                      ## @c2_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
	movq	8(%rdi), %rax
	movq	(%rax), %rcx
	movq	_RX_BUF_SIZE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	%rax, %rcx
	jle	LBB0_2
## %bb.1:
	movq	_ETH_HLEN@GOTPCREL(%rip), %rax
	movq	_NET_IP_ALIGN@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	addq	(%rax), %rcx
	leaq	(%rdx,%rcx), %rax
	addq	$4, %rax
	jmp	LBB0_3
LBB0_2:
	addq	$4, %rax
LBB0_3:
	movq	%rax, (%rdi)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RX_BUF_SIZE,8,3                ## @RX_BUF_SIZE
	.comm	_ETH_HLEN,8,3                   ## @ETH_HLEN
	.comm	_NET_IP_ALIGN,8,3               ## @NET_IP_ALIGN
	.no_dead_strip	_c2_set_rxbufsize
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function c2_set_rxbufsize
_c2_set_rxbufsize:                      ; @c2_set_rxbufsize
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0, #8]
	ldr	x8, [x8]
Lloh0:
	adrp	x9, _RX_BUF_SIZE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _RX_BUF_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	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, _NET_IP_ALIGN@GOTPAGE
Lloh7:
	ldr	x10, [x10, _NET_IP_ALIGN@GOTPAGEOFF]
Lloh8:
	ldr	x10, [x10]
	add	x8, x8, x9
	add	x8, x8, x10
	add	x8, x8, #4
	str	x8, [x0]
	ret
LBB0_2:
	add	x8, x9, #4
	str	x8, [x0]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_RX_BUF_SIZE,8,3                ; @RX_BUF_SIZE
	.comm	_ETH_HLEN,8,3                   ; @ETH_HLEN
	.comm	_NET_IP_ALIGN,8,3               ; @NET_IP_ALIGN
	.no_dead_strip	_c2_set_rxbufsize
.subsections_via_symbols
