	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function smsc911x_rx_counterrors
_smsc911x_rx_counterrors:               ## @smsc911x_rx_counterrors
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r15d
	movq	%rdi, %r14
	movq	_RX_STS_ES_@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	andl	%esi, %edi
	callq	_unlikely
	movl	$1, %ebx
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	incl	12(%r14)
	movq	_RX_STS_CRC_ERR_@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	andl	%r15d, %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	incl	8(%r14)
	xorl	%ebx, %ebx
LBB0_3:
	movl	%ebx, %edi
	callq	_likely
	testq	%rax, %rax
	je	LBB0_8
## %bb.4:
	movq	_RX_STS_FRAME_TYPE_@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	%r15d, %eax
	setne	%al
	movq	_RX_STS_LENGTH_ERR_@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	%r15d, %ecx
	setne	%cl
	andb	%al, %cl
	movzbl	%cl, %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	incl	4(%r14)
LBB0_6:
	movq	_RX_STS_MCAST_@GOTPCREL(%rip), %rax
	testl	%r15d, (%rax)
	je	LBB0_8
## %bb.7:
	incl	(%r14)
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RX_STS_ES_,4,2                 ## @RX_STS_ES_
	.comm	_RX_STS_CRC_ERR_,4,2            ## @RX_STS_CRC_ERR_
	.comm	_RX_STS_FRAME_TYPE_,4,2         ## @RX_STS_FRAME_TYPE_
	.comm	_RX_STS_LENGTH_ERR_,4,2         ## @RX_STS_LENGTH_ERR_
	.comm	_RX_STS_MCAST_,4,2              ## @RX_STS_MCAST_
	.no_dead_strip	_smsc911x_rx_counterrors
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function smsc911x_rx_counterrors
_smsc911x_rx_counterrors:               ; @smsc911x_rx_counterrors
	.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	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _RX_STS_ES_@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RX_STS_ES_@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	and	w0, w8, w1
	bl	_unlikely
	cbz	x0, LBB0_3
; %bb.1:
	ldr	w8, [x19, #12]
	add	w8, w8, #1
	str	w8, [x19, #12]
Lloh3:
	adrp	x8, _RX_STS_CRC_ERR_@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RX_STS_CRC_ERR_@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	and	w0, w8, w20
	bl	_unlikely
	cbz	x0, LBB0_3
; %bb.2:
	mov	w0, #0
	ldr	w8, [x19, #8]
	add	w8, w8, #1
	str	w8, [x19, #8]
	bl	_likely
	cbnz	x0, LBB0_4
	b	LBB0_8
LBB0_3:
	mov	w0, #1
	bl	_likely
	cbz	x0, LBB0_8
LBB0_4:
Lloh6:
	adrp	x8, _RX_STS_FRAME_TYPE_@GOTPAGE
Lloh7:
	ldr	x8, [x8, _RX_STS_FRAME_TYPE_@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	tst	w8, w20
	cset	w8, ne
Lloh9:
	adrp	x9, _RX_STS_LENGTH_ERR_@GOTPAGE
Lloh10:
	ldr	x9, [x9, _RX_STS_LENGTH_ERR_@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	tst	w9, w20
	cset	w9, ne
	and	w0, w8, w9
	bl	_unlikely
	cbz	x0, LBB0_6
; %bb.5:
	ldr	w8, [x19, #4]
	add	w8, w8, #1
	str	w8, [x19, #4]
LBB0_6:
Lloh12:
	adrp	x8, _RX_STS_MCAST_@GOTPAGE
Lloh13:
	ldr	x8, [x8, _RX_STS_MCAST_@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_8
; %bb.7:
	ldr	w8, [x19]
	add	w8, w8, #1
	str	w8, [x19]
LBB0_8:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_RX_STS_ES_,4,2                 ; @RX_STS_ES_
	.comm	_RX_STS_CRC_ERR_,4,2            ; @RX_STS_CRC_ERR_
	.comm	_RX_STS_FRAME_TYPE_,4,2         ; @RX_STS_FRAME_TYPE_
	.comm	_RX_STS_LENGTH_ERR_,4,2         ; @RX_STS_LENGTH_ERR_
	.comm	_RX_STS_MCAST_,4,2              ; @RX_STS_MCAST_
	.no_dead_strip	_smsc911x_rx_counterrors
.subsections_via_symbols
