	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function emac_rx_size
_emac_rx_size:                          ## @emac_rx_size
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	%edi, %eax
	movq	_ETH_DATA_LEN@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rdi
	cmpl	%eax, %edi
	jge	LBB0_2
## %bb.1:
	movq	_MAL_MAX_RX_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	popq	%rbp
	retq
LBB0_2:
	movq	_EMAC_MTU_OVERHEAD@GOTPCREL(%rip), %rax
	addq	(%rax), %rdi
	popq	%rbp
	jmp	_mal_rx_size                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ETH_DATA_LEN,4,2               ## @ETH_DATA_LEN
	.comm	_MAL_MAX_RX_SIZE,4,2            ## @MAL_MAX_RX_SIZE
	.comm	_EMAC_MTU_OVERHEAD,8,3          ## @EMAC_MTU_OVERHEAD
	.no_dead_strip	_emac_rx_size
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function emac_rx_size
_emac_rx_size:                          ; @emac_rx_size
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _ETH_DATA_LEN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ETH_DATA_LEN@GOTPAGEOFF]
Lloh2:
	ldrsw	x8, [x8]
	cmp	w8, w0
	b.ge	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _MAL_MAX_RX_SIZE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MAL_MAX_RX_SIZE@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	ret
LBB0_2:
Lloh6:
	adrp	x9, _EMAC_MTU_OVERHEAD@GOTPAGE
Lloh7:
	ldr	x9, [x9, _EMAC_MTU_OVERHEAD@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	add	x0, x9, x8
	b	_mal_rx_size
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_ETH_DATA_LEN,4,2               ; @ETH_DATA_LEN
	.comm	_MAL_MAX_RX_SIZE,4,2            ; @MAL_MAX_RX_SIZE
	.comm	_EMAC_MTU_OVERHEAD,8,3          ; @EMAC_MTU_OVERHEAD
	.no_dead_strip	_emac_rx_size
.subsections_via_symbols
