	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function desc_get_rx_frame_len
_desc_get_rx_frame_len:                 ## @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
	movl	(%rdi), %edi
	callq	_le32_to_cpu
	movl	%eax, %edx
	movq	_RXDESC_FRAME_LEN_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	%edx, %eax
	movq	_RXDESC_FRAME_LEN_OFFSET@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	sarl	%cl, %eax
	movq	_RXDESC_FRAME_TYPE@GOTPCREL(%rip), %rcx
	andl	(%rcx), %edx
	je	LBB0_2
## %bb.1:
	movq	_ETH_FCS_LEN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
LBB0_2:
	subl	%edx, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RXDESC_FRAME_LEN_MASK,4,2      ## @RXDESC_FRAME_LEN_MASK
	.comm	_RXDESC_FRAME_LEN_OFFSET,4,2    ## @RXDESC_FRAME_LEN_OFFSET
	.comm	_RXDESC_FRAME_TYPE,4,2          ## @RXDESC_FRAME_TYPE
	.comm	_ETH_FCS_LEN,8,3                ## @ETH_FCS_LEN
	.no_dead_strip	_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 desc_get_rx_frame_len
_desc_get_rx_frame_len:                 ; @desc_get_rx_frame_len
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	ldr	w0, [x0]
	bl	_le32_to_cpu
Lloh0:
	adrp	x8, _RXDESC_FRAME_LEN_MASK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RXDESC_FRAME_LEN_MASK@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	and	w8, w8, w0
Lloh3:
	adrp	x9, _RXDESC_FRAME_LEN_OFFSET@GOTPAGE
Lloh4:
	ldr	x9, [x9, _RXDESC_FRAME_LEN_OFFSET@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	asr	w8, w8, w9
Lloh6:
	adrp	x9, _RXDESC_FRAME_TYPE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _RXDESC_FRAME_TYPE@GOTPAGEOFF]
Lloh8:
	adrp	x10, _ETH_FCS_LEN@GOTPAGE
Lloh9:
	ldr	x10, [x10, _ETH_FCS_LEN@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
Lloh11:
	ldr	w10, [x10]
	tst	w9, w0
	csel	w9, wzr, w10, eq
	sub	w0, w8, w9
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh10
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_RXDESC_FRAME_LEN_MASK,4,2      ; @RXDESC_FRAME_LEN_MASK
	.comm	_RXDESC_FRAME_LEN_OFFSET,4,2    ; @RXDESC_FRAME_LEN_OFFSET
	.comm	_RXDESC_FRAME_TYPE,4,2          ; @RXDESC_FRAME_TYPE
	.comm	_ETH_FCS_LEN,8,3                ; @ETH_FCS_LEN
	.no_dead_strip	_desc_get_rx_frame_len
.subsections_via_symbols
