	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ndesc_get_rx_status
_ndesc_get_rx_status:                   ## @ndesc_get_rx_status
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	_good_frame@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	(%rdx), %edi
	callq	_le32_to_cpu
	movl	%eax, %r12d
	movq	_RDES0_OWN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	andl	%r12d, %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_dma_own@GOTPCREL(%rip), %rax
	jmp	LBB0_25
LBB0_2:
	movq	_RDES0_LAST_DESCRIPTOR@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	movl	(%rax), %eax
	andl	%r12d, %eax
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	incl	8(%r15)
	jmp	LBB0_24
LBB0_4:
	movq	_RDES0_ERROR_SUMMARY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	andl	%r12d, %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_18
## %bb.5:
	movq	_RDES0_DESCRIPTOR_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	andl	%r12d, %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	incl	36(%r14)
LBB0_7:
	movq	_RDES0_SA_FILTER_FAIL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	andl	%r12d, %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	incl	32(%r14)
LBB0_9:
	movq	_RDES0_OVERFLOW_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	andl	%r12d, %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:
	incl	28(%r14)
LBB0_11:
	movq	_RDES0_IPC_CSUM_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	andl	%r12d, %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_13
## %bb.12:
	incl	24(%r14)
LBB0_13:
	movq	_RDES0_COLLISION@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	andl	%r12d, %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_15
## %bb.14:
	incl	20(%r14)
	incl	4(%r15)
LBB0_15:
	movq	_RDES0_CRC_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	andl	%r12d, %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_17
## %bb.16:
	incl	16(%r14)
	incl	(%r15)
LBB0_17:
	movq	_discard_frame@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
LBB0_18:
	movq	_RDES0_DRIBBLING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	andl	%r12d, %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_20
## %bb.19:
	incl	12(%r14)
LBB0_20:
	movq	_RDES0_LENGTH_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	andl	%r12d, %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_22
## %bb.21:
	incl	8(%r14)
	movq	_discard_frame@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
LBB0_22:
	movq	_RDES0_MII_ERROR@GOTPCREL(%rip), %rax
	andl	(%rax), %r12d
	movl	%r12d, %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_26
## %bb.23:
	incl	4(%r14)
LBB0_24:
	movq	_discard_frame@GOTPCREL(%rip), %rax
LBB0_25:
	movl	(%rax), %ebx
LBB0_26:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_good_frame,4,2                 ## @good_frame
	.comm	_RDES0_OWN,4,2                  ## @RDES0_OWN
	.comm	_dma_own,4,2                    ## @dma_own
	.comm	_RDES0_LAST_DESCRIPTOR,4,2      ## @RDES0_LAST_DESCRIPTOR
	.comm	_discard_frame,4,2              ## @discard_frame
	.comm	_RDES0_ERROR_SUMMARY,4,2        ## @RDES0_ERROR_SUMMARY
	.comm	_RDES0_DESCRIPTOR_ERROR,4,2     ## @RDES0_DESCRIPTOR_ERROR
	.comm	_RDES0_SA_FILTER_FAIL,4,2       ## @RDES0_SA_FILTER_FAIL
	.comm	_RDES0_OVERFLOW_ERROR,4,2       ## @RDES0_OVERFLOW_ERROR
	.comm	_RDES0_IPC_CSUM_ERROR,4,2       ## @RDES0_IPC_CSUM_ERROR
	.comm	_RDES0_COLLISION,4,2            ## @RDES0_COLLISION
	.comm	_RDES0_CRC_ERROR,4,2            ## @RDES0_CRC_ERROR
	.comm	_RDES0_DRIBBLING,4,2            ## @RDES0_DRIBBLING
	.comm	_RDES0_LENGTH_ERROR,4,2         ## @RDES0_LENGTH_ERROR
	.comm	_RDES0_MII_ERROR,4,2            ## @RDES0_MII_ERROR
	.comm	_RDES0_VLAN_TAG,4,2             ## @RDES0_VLAN_TAG
	.no_dead_strip	_ndesc_get_rx_status
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ndesc_get_rx_status
_ndesc_get_rx_status:                   ; @ndesc_get_rx_status
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x1
	mov	x21, x0
Lloh0:
	adrp	x8, _good_frame@GOTPAGE
Lloh1:
	ldr	x8, [x8, _good_frame@GOTPAGEOFF]
Lloh2:
	ldr	w22, [x8]
	ldr	w0, [x2]
	bl	_le32_to_cpu
	mov	x20, x0
Lloh3:
	adrp	x8, _RDES0_OWN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RDES0_OWN@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	and	w0, w8, w0
	bl	_unlikely
	cbz	x0, LBB0_2
; %bb.1:
Lloh6:
	adrp	x8, _dma_own@GOTPAGE
Lloh7:
	ldr	x8, [x8, _dma_own@GOTPAGEOFF]
	b	LBB0_25
LBB0_2:
Lloh8:
	adrp	x8, _RDES0_LAST_DESCRIPTOR@GOTPAGE
Lloh9:
	ldr	x8, [x8, _RDES0_LAST_DESCRIPTOR@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	tst	w8, w20
	cset	w0, eq
	bl	_unlikely
	cbz	x0, LBB0_4
; %bb.3:
	ldr	w8, [x21, #8]
	add	w8, w8, #1
	str	w8, [x21, #8]
	b	LBB0_24
LBB0_4:
Lloh11:
	adrp	x8, _RDES0_ERROR_SUMMARY@GOTPAGE
Lloh12:
	ldr	x8, [x8, _RDES0_ERROR_SUMMARY@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	and	w0, w8, w20
	bl	_unlikely
	cbz	x0, LBB0_18
; %bb.5:
Lloh14:
	adrp	x8, _RDES0_DESCRIPTOR_ERROR@GOTPAGE
Lloh15:
	ldr	x8, [x8, _RDES0_DESCRIPTOR_ERROR@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	and	w0, w8, w20
	bl	_unlikely
	cbz	x0, LBB0_7
; %bb.6:
	ldr	w8, [x19, #36]
	add	w8, w8, #1
	str	w8, [x19, #36]
LBB0_7:
Lloh17:
	adrp	x8, _RDES0_SA_FILTER_FAIL@GOTPAGE
Lloh18:
	ldr	x8, [x8, _RDES0_SA_FILTER_FAIL@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	and	w0, w8, w20
	bl	_unlikely
	cbz	x0, LBB0_9
; %bb.8:
	ldr	w8, [x19, #32]
	add	w8, w8, #1
	str	w8, [x19, #32]
LBB0_9:
Lloh20:
	adrp	x8, _RDES0_OVERFLOW_ERROR@GOTPAGE
Lloh21:
	ldr	x8, [x8, _RDES0_OVERFLOW_ERROR@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
	and	w0, w8, w20
	bl	_unlikely
	cbz	x0, LBB0_11
; %bb.10:
	ldr	w8, [x19, #28]
	add	w8, w8, #1
	str	w8, [x19, #28]
LBB0_11:
Lloh23:
	adrp	x8, _RDES0_IPC_CSUM_ERROR@GOTPAGE
Lloh24:
	ldr	x8, [x8, _RDES0_IPC_CSUM_ERROR@GOTPAGEOFF]
Lloh25:
	ldr	w8, [x8]
	and	w0, w8, w20
	bl	_unlikely
	cbz	x0, LBB0_13
; %bb.12:
	ldr	w8, [x19, #24]
	add	w8, w8, #1
	str	w8, [x19, #24]
LBB0_13:
Lloh26:
	adrp	x8, _RDES0_COLLISION@GOTPAGE
Lloh27:
	ldr	x8, [x8, _RDES0_COLLISION@GOTPAGEOFF]
Lloh28:
	ldr	w8, [x8]
	and	w0, w8, w20
	bl	_unlikely
	cbz	x0, LBB0_15
; %bb.14:
	ldr	w8, [x19, #20]
	add	w8, w8, #1
	str	w8, [x19, #20]
	ldr	w8, [x21, #4]
	add	w8, w8, #1
	str	w8, [x21, #4]
LBB0_15:
Lloh29:
	adrp	x8, _RDES0_CRC_ERROR@GOTPAGE
Lloh30:
	ldr	x8, [x8, _RDES0_CRC_ERROR@GOTPAGEOFF]
Lloh31:
	ldr	w8, [x8]
	and	w0, w8, w20
	bl	_unlikely
	cbz	x0, LBB0_17
; %bb.16:
	ldr	w8, [x19, #16]
	add	w8, w8, #1
	str	w8, [x19, #16]
	ldr	w8, [x21]
	add	w8, w8, #1
	str	w8, [x21]
LBB0_17:
Lloh32:
	adrp	x8, _discard_frame@GOTPAGE
Lloh33:
	ldr	x8, [x8, _discard_frame@GOTPAGEOFF]
Lloh34:
	ldr	w22, [x8]
LBB0_18:
Lloh35:
	adrp	x8, _RDES0_DRIBBLING@GOTPAGE
Lloh36:
	ldr	x8, [x8, _RDES0_DRIBBLING@GOTPAGEOFF]
Lloh37:
	ldr	w8, [x8]
	and	w0, w8, w20
	bl	_unlikely
	cbz	x0, LBB0_20
; %bb.19:
	ldr	w8, [x19, #12]
	add	w8, w8, #1
	str	w8, [x19, #12]
LBB0_20:
Lloh38:
	adrp	x8, _RDES0_LENGTH_ERROR@GOTPAGE
Lloh39:
	ldr	x8, [x8, _RDES0_LENGTH_ERROR@GOTPAGEOFF]
Lloh40:
	ldr	w8, [x8]
	and	w0, w8, w20
	bl	_unlikely
	cbz	x0, LBB0_22
; %bb.21:
	ldr	w8, [x19, #8]
	add	w8, w8, #1
	str	w8, [x19, #8]
Lloh41:
	adrp	x8, _discard_frame@GOTPAGE
Lloh42:
	ldr	x8, [x8, _discard_frame@GOTPAGEOFF]
Lloh43:
	ldr	w22, [x8]
LBB0_22:
Lloh44:
	adrp	x8, _RDES0_MII_ERROR@GOTPAGE
Lloh45:
	ldr	x8, [x8, _RDES0_MII_ERROR@GOTPAGEOFF]
Lloh46:
	ldr	w8, [x8]
	and	w0, w8, w20
	bl	_unlikely
	cbz	x0, LBB0_26
; %bb.23:
	ldr	w8, [x19, #4]
	add	w8, w8, #1
	str	w8, [x19, #4]
LBB0_24:
Lloh47:
	adrp	x8, _discard_frame@GOTPAGE
Lloh48:
	ldr	x8, [x8, _discard_frame@GOTPAGEOFF]
LBB0_25:
	ldr	w22, [x8]
LBB0_26:
	mov	x0, x22
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGot	Lloh47, Lloh48
	.cfi_endproc
                                        ; -- End function
	.comm	_good_frame,4,2                 ; @good_frame
	.comm	_RDES0_OWN,4,2                  ; @RDES0_OWN
	.comm	_dma_own,4,2                    ; @dma_own
	.comm	_RDES0_LAST_DESCRIPTOR,4,2      ; @RDES0_LAST_DESCRIPTOR
	.comm	_discard_frame,4,2              ; @discard_frame
	.comm	_RDES0_ERROR_SUMMARY,4,2        ; @RDES0_ERROR_SUMMARY
	.comm	_RDES0_DESCRIPTOR_ERROR,4,2     ; @RDES0_DESCRIPTOR_ERROR
	.comm	_RDES0_SA_FILTER_FAIL,4,2       ; @RDES0_SA_FILTER_FAIL
	.comm	_RDES0_OVERFLOW_ERROR,4,2       ; @RDES0_OVERFLOW_ERROR
	.comm	_RDES0_IPC_CSUM_ERROR,4,2       ; @RDES0_IPC_CSUM_ERROR
	.comm	_RDES0_COLLISION,4,2            ; @RDES0_COLLISION
	.comm	_RDES0_CRC_ERROR,4,2            ; @RDES0_CRC_ERROR
	.comm	_RDES0_DRIBBLING,4,2            ; @RDES0_DRIBBLING
	.comm	_RDES0_LENGTH_ERROR,4,2         ; @RDES0_LENGTH_ERROR
	.comm	_RDES0_MII_ERROR,4,2            ; @RDES0_MII_ERROR
	.comm	_RDES0_VLAN_TAG,4,2             ; @RDES0_VLAN_TAG
	.no_dead_strip	_ndesc_get_rx_status
.subsections_via_symbols
