	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_kvaser_usb_can_rx_over_error   ## -- Begin function kvaser_usb_can_rx_over_error
	.p2align	4, 0x90
_kvaser_usb_can_rx_over_error:          ## @kvaser_usb_can_rx_over_error
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	incl	16(%rdi)
	incl	12(%rdi)
	leaq	-16(%rbp), %rsi
	callq	_alloc_can_err_skb
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	_CAN_ERR_CRTL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	-16(%rbp), %rdx
	orl	%ecx, 16(%rdx)
	movq	_CAN_ERR_CRTL_RX_OVERFLOW@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	8(%rdx), %rsi
	movl	%ecx, 4(%rsi)
	incl	4(%rbx)
	movl	(%rdx), %ecx
	addl	%ecx, (%rbx)
	movq	%rax, %rdi
	callq	_netif_rx
	xorl	%eax, %eax
	jmp	LBB0_3
LBB0_1:
	incl	8(%rbx)
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_netdev_warn
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"No memory left for err_skb\n"

	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_CAN_ERR_CRTL,4,2               ## @CAN_ERR_CRTL
	.comm	_CAN_ERR_CRTL_RX_OVERFLOW,4,2   ## @CAN_ERR_CRTL_RX_OVERFLOW
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_kvaser_usb_can_rx_over_error   ; -- Begin function kvaser_usb_can_rx_over_error
	.p2align	2
_kvaser_usb_can_rx_over_error:          ; @kvaser_usb_can_rx_over_error
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x0
	ldur	d0, [x0, #12]
	movi.2s	v1, #1
	add.2s	v0, v0, v1
	stur	d0, [x0, #12]
	add	x1, sp, #8
	bl	_alloc_can_err_skb
	cbz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _CAN_ERR_CRTL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CAN_ERR_CRTL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldr	x9, [sp, #8]
	ldr	w10, [x9, #16]
	orr	w8, w10, w8
	str	w8, [x9, #16]
Lloh3:
	adrp	x8, _CAN_ERR_CRTL_RX_OVERFLOW@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CAN_ERR_CRTL_RX_OVERFLOW@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	ldr	x10, [x9, #8]
	str	w8, [x10, #4]
	ldr	d0, [x19]
	movi.2s	v1, #1
	ld1.s	{ v1 }[0], [x9]
	add.2s	v0, v0, v1
	str	d0, [x19]
	bl	_netif_rx
	mov	w0, #0
	b	LBB0_3
LBB0_2:
	ldr	w8, [x19, #8]
	add	w8, w8, #1
	str	w8, [x19, #8]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_netdev_warn
Lloh8:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_3:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"No memory left for err_skb\n"

	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_CAN_ERR_CRTL,4,2               ; @CAN_ERR_CRTL
	.comm	_CAN_ERR_CRTL_RX_OVERFLOW,4,2   ; @CAN_ERR_CRTL_RX_OVERFLOW
.subsections_via_symbols
