	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function count_errors
_count_errors:                          ## @count_errors
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movl	%edi, %ebx
	movq	%rsi, %rdi
	callq	_netdev_priv
	movq	_RXBD_TRUNCATED@GOTPCREL(%rip), %rcx
	testw	%bx, (%rcx)
	je	LBB0_2
## %bb.1:
	incl	8(%r14)
	addq	$20, %rax
	jmp	LBB0_10
LBB0_2:
	movq	_RXBD_LARGE@GOTPCREL(%rip), %rcx
	movzwl	(%rcx), %ecx
	movq	_RXBD_SHORT@GOTPCREL(%rip), %rdx
	movzwl	(%rdx), %edx
	orw	%cx, %dx
	testw	%bx, %dx
	je	LBB0_4
## %bb.3:
	incl	8(%r14)
	xorl	%edx, %edx
	testw	%bx, %cx
	setne	%dl
	incl	12(%rax,%rdx,4)
LBB0_4:
	movq	_RXBD_NONOCTET@GOTPCREL(%rip), %rcx
	testw	%bx, (%rcx)
	je	LBB0_6
## %bb.5:
	incl	4(%r14)
	incl	8(%rax)
LBB0_6:
	movq	_RXBD_CRCERR@GOTPCREL(%rip), %rcx
	testw	%bx, (%rcx)
	je	LBB0_8
## %bb.7:
	incl	4(%rax)
	incl	(%r14)
LBB0_8:
	movq	_RXBD_OVERRUN@GOTPCREL(%rip), %rcx
	testw	%bx, (%rcx)
	je	LBB0_11
## %bb.9:
	incl	(%rax)
	movq	%r14, %rax
LBB0_10:
	incl	(%rax)
LBB0_11:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RXBD_TRUNCATED,2,1             ## @RXBD_TRUNCATED
	.comm	_RXBD_LARGE,2,1                 ## @RXBD_LARGE
	.comm	_RXBD_SHORT,2,1                 ## @RXBD_SHORT
	.comm	_RXBD_NONOCTET,2,1              ## @RXBD_NONOCTET
	.comm	_RXBD_CRCERR,2,1                ## @RXBD_CRCERR
	.comm	_RXBD_OVERRUN,2,1               ## @RXBD_OVERRUN
	.no_dead_strip	_count_errors
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function count_errors
_count_errors:                          ; @count_errors
	.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	x19, x1
	mov	x20, x0
	mov	x0, x1
	bl	_netdev_priv
Lloh0:
	adrp	x8, _RXBD_TRUNCATED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RXBD_TRUNCATED@GOTPAGEOFF]
	ldrh	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_2
; %bb.1:
	ldr	w8, [x19, #8]
	add	w8, w8, #1
	str	w8, [x19, #8]
	add	x19, x0, #20
	b	LBB0_10
LBB0_2:
Lloh2:
	adrp	x8, _RXBD_LARGE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _RXBD_LARGE@GOTPAGEOFF]
	ldrh	w8, [x8]
Lloh4:
	adrp	x9, _RXBD_SHORT@GOTPAGE
Lloh5:
	ldr	x9, [x9, _RXBD_SHORT@GOTPAGEOFF]
	ldrh	w9, [x9]
	orr	w9, w9, w8
	tst	w9, w20
	b.eq	LBB0_4
; %bb.3:
	ldr	w9, [x19, #8]
	add	w9, w9, #1
	str	w9, [x19, #8]
	tst	w8, w20
	mov	w8, #16
	mov	w9, #12
	csel	x8, x9, x8, eq
	ldr	w9, [x0, x8]
	add	w9, w9, #1
	str	w9, [x0, x8]
LBB0_4:
Lloh6:
	adrp	x8, _RXBD_NONOCTET@GOTPAGE
Lloh7:
	ldr	x8, [x8, _RXBD_NONOCTET@GOTPAGEOFF]
	ldrh	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_6
; %bb.5:
	ldr	w8, [x19, #4]
	add	w8, w8, #1
	str	w8, [x19, #4]
	ldr	w8, [x0, #8]
	add	w8, w8, #1
	str	w8, [x0, #8]
LBB0_6:
Lloh8:
	adrp	x8, _RXBD_CRCERR@GOTPAGE
Lloh9:
	ldr	x8, [x8, _RXBD_CRCERR@GOTPAGEOFF]
	ldrh	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_8
; %bb.7:
	ldr	w8, [x0, #4]
	add	w8, w8, #1
	str	w8, [x0, #4]
	ldr	w8, [x19]
	add	w8, w8, #1
	str	w8, [x19]
LBB0_8:
Lloh10:
	adrp	x8, _RXBD_OVERRUN@GOTPAGE
Lloh11:
	ldr	x8, [x8, _RXBD_OVERRUN@GOTPAGEOFF]
	ldrh	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_11
; %bb.9:
	ldr	w8, [x0]
	add	w8, w8, #1
	str	w8, [x0]
LBB0_10:
	ldr	w8, [x19]
	add	w8, w8, #1
	str	w8, [x19]
LBB0_11:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_RXBD_TRUNCATED,2,1             ; @RXBD_TRUNCATED
	.comm	_RXBD_LARGE,2,1                 ; @RXBD_LARGE
	.comm	_RXBD_SHORT,2,1                 ; @RXBD_SHORT
	.comm	_RXBD_NONOCTET,2,1              ; @RXBD_NONOCTET
	.comm	_RXBD_CRCERR,2,1                ; @RXBD_CRCERR
	.comm	_RXBD_OVERRUN,2,1               ; @RXBD_OVERRUN
	.no_dead_strip	_count_errors
.subsections_via_symbols
