	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function enh_desc_get_rx_frame_len
_enh_desc_get_rx_frame_len:             ## @enh_desc_get_rx_frame_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	_STMMAC_RX_COE_TYPE1@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	cmpl	%esi, (%rax)
	setne	%bl
	movl	(%rdi), %edi
	callq	_le32_to_cpu
                                        ## kill: def $eax killed $eax def $rax
	movq	_RDES0_FRAME_LEN_MASK@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	movq	_RDES0_FRAME_LEN_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shrl	%cl, %eax
	leal	(%rax,%rbx,2), %eax
	addl	$-2, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_STMMAC_RX_COE_TYPE1,4,2        ## @STMMAC_RX_COE_TYPE1
	.comm	_RDES0_FRAME_LEN_MASK,4,2       ## @RDES0_FRAME_LEN_MASK
	.comm	_RDES0_FRAME_LEN_SHIFT,4,2      ## @RDES0_FRAME_LEN_SHIFT
	.no_dead_strip	_enh_desc_get_rx_frame_len
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function enh_desc_get_rx_frame_len
_enh_desc_get_rx_frame_len:             ; @enh_desc_get_rx_frame_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
Lloh0:
	adrp	x8, _STMMAC_RX_COE_TYPE1@GOTPAGE
Lloh1:
	ldr	x8, [x8, _STMMAC_RX_COE_TYPE1@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	mov	w9, #-2
	cmp	w8, w1
	csel	w19, w9, wzr, eq
	ldr	w0, [x0]
	bl	_le32_to_cpu
Lloh3:
	adrp	x8, _RDES0_FRAME_LEN_MASK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RDES0_FRAME_LEN_MASK@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	and	w8, w8, w0
Lloh6:
	adrp	x9, _RDES0_FRAME_LEN_SHIFT@GOTPAGE
Lloh7:
	ldr	x9, [x9, _RDES0_FRAME_LEN_SHIFT@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	lsr	w8, w8, w9
	add	w0, w8, w19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_STMMAC_RX_COE_TYPE1,4,2        ; @STMMAC_RX_COE_TYPE1
	.comm	_RDES0_FRAME_LEN_MASK,4,2       ; @RDES0_FRAME_LEN_MASK
	.comm	_RDES0_FRAME_LEN_SHIFT,4,2      ; @RDES0_FRAME_LEN_SHIFT
	.no_dead_strip	_enh_desc_get_rx_frame_len
.subsections_via_symbols
