	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cp_rx_err_acct
_cp_rx_err_acct:                        ## @cp_rx_err_acct
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%edx, %r14d
	movl	%esi, %r8d
	movq	%rdi, %rbx
	movq	_rx_err@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	(%rdi), %rdx
	movl	%ecx, (%rsp)
	leaq	L_.str(%rip), %rcx
	movl	%r14d, %r9d
	callq	_netif_dbg
	movq	(%rbx), %rax
	incl	16(%rax)
	movq	_RxErrFrame@GOTPCREL(%rip), %rcx
	testl	%r14d, (%rcx)
	je	LBB0_2
## %bb.1:
	incl	12(%rax)
LBB0_2:
	movq	_RxErrCRC@GOTPCREL(%rip), %rcx
	testl	%r14d, (%rcx)
	je	LBB0_4
## %bb.3:
	incl	8(%rax)
LBB0_4:
	movq	_RxErrRunt@GOTPCREL(%rip), %rcx
	testl	%r14d, (%rcx)
	jne	LBB0_6
## %bb.5:
	movq	_RxErrLong@GOTPCREL(%rip), %rcx
	testl	%r14d, (%rcx)
	je	LBB0_7
LBB0_6:
	incl	4(%rax)
LBB0_7:
	movq	_FirstFrag@GOTPCREL(%rip), %rcx
	movq	_LastFrag@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	movl	%r14d, %ecx
	notl	%ecx
	testl	%ecx, %edx
	je	LBB0_9
## %bb.8:
	incl	4(%rax)
LBB0_9:
	movq	_RxErrFIFO@GOTPCREL(%rip), %rcx
	testl	%r14d, (%rcx)
	je	LBB0_11
## %bb.10:
	incl	(%rax)
LBB0_11:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_rx_err,4,2                     ## @rx_err
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"rx err, slot %d status 0x%x len %d\n"

	.comm	_RxErrFrame,4,2                 ## @RxErrFrame
	.comm	_RxErrCRC,4,2                   ## @RxErrCRC
	.comm	_RxErrRunt,4,2                  ## @RxErrRunt
	.comm	_RxErrLong,4,2                  ## @RxErrLong
	.comm	_FirstFrag,4,2                  ## @FirstFrag
	.comm	_LastFrag,4,2                   ## @LastFrag
	.comm	_RxErrFIFO,4,2                  ## @RxErrFIFO
	.no_dead_strip	_cp_rx_err_acct
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cp_rx_err_acct
_cp_rx_err_acct:                        ; @cp_rx_err_acct
	.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
	mov	x6, x3
	mov	x19, x2
	mov	x4, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _rx_err@GOTPAGE
Lloh1:
	ldr	x8, [x8, _rx_err@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	ldr	x2, [x0]
Lloh3:
	adrp	x3, l_.str@PAGE
Lloh4:
	add	x3, x3, l_.str@PAGEOFF
	mov	x5, x19
	bl	_netif_dbg
	ldr	x8, [x20]
	ldr	w9, [x8, #16]
	add	w9, w9, #1
	str	w9, [x8, #16]
Lloh5:
	adrp	x9, _RxErrFrame@GOTPAGE
Lloh6:
	ldr	x9, [x9, _RxErrFrame@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	tst	w9, w19
	b.eq	LBB0_2
; %bb.1:
	ldr	w9, [x8, #12]
	add	w9, w9, #1
	str	w9, [x8, #12]
LBB0_2:
Lloh8:
	adrp	x9, _RxErrCRC@GOTPAGE
Lloh9:
	ldr	x9, [x9, _RxErrCRC@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	tst	w9, w19
	b.eq	LBB0_4
; %bb.3:
	ldr	w9, [x8, #8]
	add	w9, w9, #1
	str	w9, [x8, #8]
LBB0_4:
Lloh11:
	adrp	x9, _RxErrRunt@GOTPAGE
Lloh12:
	ldr	x9, [x9, _RxErrRunt@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	tst	w9, w19
	b.ne	LBB0_6
; %bb.5:
Lloh14:
	adrp	x9, _RxErrLong@GOTPAGE
Lloh15:
	ldr	x9, [x9, _RxErrLong@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	tst	w9, w19
	b.eq	LBB0_7
LBB0_6:
	ldr	w9, [x8, #4]
	add	w9, w9, #1
	str	w9, [x8, #4]
LBB0_7:
Lloh17:
	adrp	x9, _FirstFrag@GOTPAGE
Lloh18:
	ldr	x9, [x9, _FirstFrag@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
Lloh20:
	adrp	x10, _LastFrag@GOTPAGE
Lloh21:
	ldr	x10, [x10, _LastFrag@GOTPAGEOFF]
Lloh22:
	ldr	w10, [x10]
	orr	w9, w10, w9
	bics	wzr, w9, w19
	b.eq	LBB0_9
; %bb.8:
	ldr	w9, [x8, #4]
	add	w9, w9, #1
	str	w9, [x8, #4]
LBB0_9:
Lloh23:
	adrp	x9, _RxErrFIFO@GOTPAGE
Lloh24:
	ldr	x9, [x9, _RxErrFIFO@GOTPAGEOFF]
Lloh25:
	ldr	w9, [x9]
	tst	w9, w19
	b.eq	LBB0_11
; %bb.10:
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
LBB0_11:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_rx_err,4,2                     ; @rx_err
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"rx err, slot %d status 0x%x len %d\n"

	.comm	_RxErrFrame,4,2                 ; @RxErrFrame
	.comm	_RxErrCRC,4,2                   ; @RxErrCRC
	.comm	_RxErrRunt,4,2                  ; @RxErrRunt
	.comm	_RxErrLong,4,2                  ; @RxErrLong
	.comm	_FirstFrag,4,2                  ; @FirstFrag
	.comm	_LastFrag,4,2                   ; @LastFrag
	.comm	_RxErrFIFO,4,2                  ; @RxErrFIFO
	.no_dead_strip	_cp_rx_err_acct
.subsections_via_symbols
