	.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	%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
	movl	%edi, %ebx
	movq	%rsi, %rdi
	callq	_netdev_priv
	movq	%rax, %r15
	movq	_RXBD_TRUNCATED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_BD_LFLAG
	testl	%ebx, %eax
	je	LBB0_1
## %bb.10:
	incl	12(%r14)
	addq	$20, %r15
	movq	%r15, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_atomic64_inc                   ## TAILCALL
LBB0_1:
	movq	_RXBD_LARGE@GOTPCREL(%rip), %r12
	movq	_RXBD_SHORT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	orl	(%r12), %edi
	callq	_BD_LFLAG
	testl	%ebx, %eax
	je	LBB0_3
## %bb.2:
	incl	12(%r14)
	movl	(%r12), %edi
	callq	_BD_LFLAG
	xorl	%ecx, %ecx
	testl	%ebx, %eax
	setne	%cl
	leaq	(%r15,%rcx,4), %rdi
	addq	$12, %rdi
	callq	_atomic64_inc
LBB0_3:
	movq	_RXBD_NONOCTET@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_BD_LFLAG
	testl	%ebx, %eax
	je	LBB0_5
## %bb.4:
	incl	8(%r14)
	leaq	8(%r15), %rdi
	callq	_atomic64_inc
LBB0_5:
	movq	_RXBD_CRCERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_BD_LFLAG
	testl	%ebx, %eax
	je	LBB0_7
## %bb.6:
	leaq	4(%r15), %rdi
	callq	_atomic64_inc
	incl	4(%r14)
LBB0_7:
	movq	_RXBD_OVERRUN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_BD_LFLAG
	testl	%ebx, %eax
	je	LBB0_9
## %bb.8:
	movq	%r15, %rdi
	callq	_atomic64_inc
	incl	(%r14)
LBB0_9:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RXBD_TRUNCATED,4,2             ## @RXBD_TRUNCATED
	.comm	_RXBD_LARGE,4,2                 ## @RXBD_LARGE
	.comm	_RXBD_SHORT,4,2                 ## @RXBD_SHORT
	.comm	_RXBD_NONOCTET,4,2              ## @RXBD_NONOCTET
	.comm	_RXBD_CRCERR,4,2                ## @RXBD_CRCERR
	.comm	_RXBD_OVERRUN,4,2               ## @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	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
	mov	x0, x1
	bl	_netdev_priv
	mov	x20, x0
Lloh0:
	adrp	x8, _RXBD_TRUNCATED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RXBD_TRUNCATED@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_BD_LFLAG
	tst	w0, w21
	b.eq	LBB0_2
; %bb.1:
	ldr	w8, [x19, #12]
	add	w8, w8, #1
	str	w8, [x19, #12]
	add	x0, x20, #20
	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
	b	_atomic64_inc
LBB0_2:
Lloh3:
	adrp	x22, _RXBD_LARGE@GOTPAGE
Lloh4:
	ldr	x22, [x22, _RXBD_LARGE@GOTPAGEOFF]
	ldr	w8, [x22]
Lloh5:
	adrp	x9, _RXBD_SHORT@GOTPAGE
Lloh6:
	ldr	x9, [x9, _RXBD_SHORT@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	orr	w0, w9, w8
	bl	_BD_LFLAG
	tst	w0, w21
	b.eq	LBB0_4
; %bb.3:
	ldr	w8, [x19, #12]
	add	w8, w8, #1
	str	w8, [x19, #12]
	ldr	w0, [x22]
	bl	_BD_LFLAG
	add	x8, x20, #16
	add	x9, x20, #12
	tst	w0, w21
	csel	x0, x9, x8, eq
	bl	_atomic64_inc
LBB0_4:
Lloh8:
	adrp	x8, _RXBD_NONOCTET@GOTPAGE
Lloh9:
	ldr	x8, [x8, _RXBD_NONOCTET@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	bl	_BD_LFLAG
	tst	w0, w21
	b.eq	LBB0_6
; %bb.5:
	ldr	w8, [x19, #8]
	add	w8, w8, #1
	str	w8, [x19, #8]
	add	x0, x20, #8
	bl	_atomic64_inc
LBB0_6:
Lloh11:
	adrp	x8, _RXBD_CRCERR@GOTPAGE
Lloh12:
	ldr	x8, [x8, _RXBD_CRCERR@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	bl	_BD_LFLAG
	tst	w0, w21
	b.eq	LBB0_8
; %bb.7:
	add	x0, x20, #4
	bl	_atomic64_inc
	ldr	w8, [x19, #4]
	add	w8, w8, #1
	str	w8, [x19, #4]
LBB0_8:
Lloh14:
	adrp	x8, _RXBD_OVERRUN@GOTPAGE
Lloh15:
	ldr	x8, [x8, _RXBD_OVERRUN@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
	bl	_BD_LFLAG
	tst	w0, w21
	b.eq	LBB0_10
; %bb.9:
	mov	x0, x20
	bl	_atomic64_inc
	ldr	w8, [x19]
	add	w8, w8, #1
	str	w8, [x19]
LBB0_10:
	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	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_RXBD_TRUNCATED,4,2             ; @RXBD_TRUNCATED
	.comm	_RXBD_LARGE,4,2                 ; @RXBD_LARGE
	.comm	_RXBD_SHORT,4,2                 ; @RXBD_SHORT
	.comm	_RXBD_NONOCTET,4,2              ; @RXBD_NONOCTET
	.comm	_RXBD_CRCERR,4,2                ; @RXBD_CRCERR
	.comm	_RXBD_OVERRUN,4,2               ; @RXBD_OVERRUN
	.no_dead_strip	_count_errors
.subsections_via_symbols
