	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function de_rx_err_acct
_de_rx_err_acct:                        ## @de_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	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %ebx
	movl	%esi, %r8d
	movq	%rdi, %r14
	movq	_rx_err@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	(%rdi), %rdx
	movl	%ecx, (%rsp)
	leaq	L_.str(%rip), %rcx
	movl	%ebx, %r9d
	callq	_netif_dbg
	movl	%ebx, %eax
	andl	$939524864, %eax                ## imm = 0x38000300
	cmpl	$768, %eax                      ## imm = 0x300
	jne	LBB0_1
## %bb.3:
	movq	_RxError@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_10
## %bb.4:
	movq	(%r14), %rax
	incl	12(%rax)
	testl	$2192, %ebx                     ## imm = 0x890
	je	LBB0_6
## %bb.5:
	incl	8(%rax)
LBB0_6:
	movq	_RxErrCRC@GOTPCREL(%rip), %rcx
	testl	%ebx, (%rcx)
	je	LBB0_8
## %bb.7:
	incl	4(%rax)
LBB0_8:
	movq	_RxErrFIFO@GOTPCREL(%rip), %rcx
	testl	%ebx, (%rcx)
	jne	LBB0_9
	jmp	LBB0_10
LBB0_1:
	movzwl	%bx, %eax
	cmpl	$32767, %eax                    ## imm = 0x7FFF
	je	LBB0_10
## %bb.2:
	movl	(%r15), %esi
	movq	(%r14), %rdx
	leaq	L_.str.1(%rip), %rcx
	movq	%r14, %rdi
	movl	%ebx, %r8d
	callq	_netif_warn
	movq	(%r14), %rax
	addq	$8, %rax
LBB0_9:
	incl	(%rax)
LBB0_10:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	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"

L_.str.1:                               ## @.str.1
	.asciz	"Oversized Ethernet frame spanned multiple buffers, status %08x!\n"

	.comm	_RxError,4,2                    ## @RxError
	.comm	_RxErrCRC,4,2                   ## @RxErrCRC
	.comm	_RxErrFIFO,4,2                  ## @RxErrFIFO
	.no_dead_strip	_de_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 de_rx_err_acct
_de_rx_err_acct:                        ; @de_rx_err_acct
	.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	x6, x3
	mov	x19, x2
	mov	x4, x1
	mov	x20, x0
Lloh0:
	adrp	x21, _rx_err@GOTPAGE
Lloh1:
	ldr	x21, [x21, _rx_err@GOTPAGEOFF]
	ldr	w1, [x21]
	ldr	x2, [x0]
Lloh2:
	adrp	x3, l_.str@PAGE
Lloh3:
	add	x3, x3, l_.str@PAGEOFF
	mov	x5, x19
	bl	_netif_dbg
	and	w8, w19, #0x3fffff00
	and	w8, w8, #0xf80003ff
	cmp	w8, #768
	b.ne	LBB0_7
; %bb.1:
Lloh4:
	adrp	x8, _RxError@GOTPAGE
Lloh5:
	ldr	x8, [x8, _RxError@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	tst	w8, w19
	b.eq	LBB0_10
; %bb.2:
	ldr	x8, [x20]
	ldr	w9, [x8, #12]
	add	w9, w9, #1
	str	w9, [x8, #12]
	mov	w9, #2192
	tst	w19, w9
	b.eq	LBB0_4
; %bb.3:
	ldr	w9, [x8, #8]
	add	w9, w9, #1
	str	w9, [x8, #8]
LBB0_4:
Lloh7:
	adrp	x9, _RxErrCRC@GOTPAGE
Lloh8:
	ldr	x9, [x9, _RxErrCRC@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
	tst	w9, w19
	b.eq	LBB0_6
; %bb.5:
	ldr	w9, [x8, #4]
	add	w9, w9, #1
	str	w9, [x8, #4]
LBB0_6:
Lloh10:
	adrp	x9, _RxErrFIFO@GOTPAGE
Lloh11:
	ldr	x9, [x9, _RxErrFIFO@GOTPAGEOFF]
Lloh12:
	ldr	w9, [x9]
	tst	w9, w19
	b.ne	LBB0_9
	b	LBB0_10
LBB0_7:
	mov	w8, #32767
	cmp	w8, w19, uxth
	b.eq	LBB0_10
; %bb.8:
	ldr	w1, [x21]
	ldr	x2, [x20]
Lloh13:
	adrp	x3, l_.str.1@PAGE
Lloh14:
	add	x3, x3, l_.str.1@PAGEOFF
	mov	x0, x20
	mov	x4, x19
	bl	_netif_warn
	ldr	x8, [x20]
	add	x8, x8, #8
LBB0_9:
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
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 AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.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"

l_.str.1:                               ; @.str.1
	.asciz	"Oversized Ethernet frame spanned multiple buffers, status %08x!\n"

	.comm	_RxError,4,2                    ; @RxError
	.comm	_RxErrCRC,4,2                   ; @RxErrCRC
	.comm	_RxErrFIFO,4,2                  ; @RxErrFIFO
	.no_dead_strip	_de_rx_err_acct
.subsections_via_symbols
