	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function c_can_handle_bus_err
_c_can_handle_bus_err:                  ## @c_can_handle_bus_err
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %ebx
	movq	%rdi, %r15
	callq	_netdev_priv
	movq	_LEC_UNUSED@GOTPCREL(%rip), %rcx
	xorl	%r12d, %r12d
	cmpl	%ebx, (%rcx)
	je	LBB0_15
## %bb.1:
	movq	_LEC_NO_ERROR@GOTPCREL(%rip), %rcx
	cmpl	%ebx, (%rcx)
	je	LBB0_15
## %bb.2:
	movq	_CAN_CTRLMODE_BERR_REPORTING@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_15
## %bb.3:
	incl	4(%rax)
	incl	8(%r15)
	leaq	-40(%rbp), %rsi
	movq	%r15, %rdi
	callq	_alloc_can_err_skb
	movq	%rax, %r14
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	jne	LBB0_15
## %bb.4:
	movq	_CAN_ERR_PROT@GOTPCREL(%rip), %rax
	movq	_CAN_ERR_BUSERROR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	-40(%rbp), %rax
	orl	%ecx, (%rax)
	addl	$-128, %ebx
	cmpl	$5, %ebx
	ja	LBB0_14
## %bb.5:
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%rbx,4), %rcx
	addq	%rax, %rcx
	jmpq	*%rcx
LBB0_6:
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	callq	_netdev_dbg
	movq	_CAN_ERR_PROT_STUFF@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_8:
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	callq	_netdev_dbg
	movq	_CAN_ERR_PROT_FORM@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_12:
	leaq	L_.str.5(%rip), %rsi
	movq	%r15, %rdi
	callq	_netdev_dbg
	movq	_CAN_ERR_PROT_LOC_CRC_SEQ@GOTPCREL(%rip), %rax
	jmp	LBB0_13
LBB0_10:
	leaq	L_.str.3(%rip), %rsi
	movq	%r15, %rdi
	callq	_netdev_dbg
	movq	_CAN_ERR_PROT_BIT1@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_11:
	leaq	L_.str.4(%rip), %rsi
	movq	%r15, %rdi
	callq	_netdev_dbg
	movq	_CAN_ERR_PROT_BIT0@GOTPCREL(%rip), %rax
LBB0_7:
	movl	(%rax), %ecx
	movq	-40(%rbp), %rax
	movq	16(%rax), %rdx
	orl	%ecx, 8(%rdx)
	jmp	LBB0_14
LBB0_9:
	leaq	L_.str.2(%rip), %rsi
	movq	%r15, %rdi
	callq	_netdev_dbg
	movq	_CAN_ERR_PROT_LOC_ACK@GOTPCREL(%rip), %rax
LBB0_13:
	movl	(%rax), %ecx
	movq	-40(%rbp), %rax
	movq	16(%rax), %rdx
	movl	%ecx, 12(%rdx)
LBB0_14:
	incl	4(%r15)
	movl	8(%rax), %eax
	addl	%eax, (%r15)
	movq	%r14, %rdi
	callq	_netif_receive_skb
	movl	$1, %r12d
LBB0_15:
	movl	%r12d, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
LJTI0_0:
	.long	L0_0_set_6
	.long	L0_0_set_8
	.long	L0_0_set_12
	.long	L0_0_set_10
	.long	L0_0_set_11
	.long	L0_0_set_9
	.end_data_region
                                        ## -- End function
	.comm	_LEC_UNUSED,4,2                 ## @LEC_UNUSED
	.comm	_LEC_NO_ERROR,4,2               ## @LEC_NO_ERROR
	.comm	_CAN_CTRLMODE_BERR_REPORTING,4,2 ## @CAN_CTRLMODE_BERR_REPORTING
	.comm	_CAN_ERR_PROT,4,2               ## @CAN_ERR_PROT
	.comm	_CAN_ERR_BUSERROR,4,2           ## @CAN_ERR_BUSERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"stuff error\n"

	.comm	_CAN_ERR_PROT_STUFF,4,2         ## @CAN_ERR_PROT_STUFF
L_.str.1:                               ## @.str.1
	.asciz	"form error\n"

	.comm	_CAN_ERR_PROT_FORM,4,2          ## @CAN_ERR_PROT_FORM
L_.str.2:                               ## @.str.2
	.asciz	"ack error\n"

	.comm	_CAN_ERR_PROT_LOC_ACK,4,2       ## @CAN_ERR_PROT_LOC_ACK
L_.str.3:                               ## @.str.3
	.asciz	"bit1 error\n"

	.comm	_CAN_ERR_PROT_BIT1,4,2          ## @CAN_ERR_PROT_BIT1
L_.str.4:                               ## @.str.4
	.asciz	"bit0 error\n"

	.comm	_CAN_ERR_PROT_BIT0,4,2          ## @CAN_ERR_PROT_BIT0
L_.str.5:                               ## @.str.5
	.asciz	"CRC error\n"

	.comm	_CAN_ERR_PROT_LOC_CRC_SEQ,4,2   ## @CAN_ERR_PROT_LOC_CRC_SEQ
	.no_dead_strip	_c_can_handle_bus_err
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function c_can_handle_bus_err
_c_can_handle_bus_err:                  ; @c_can_handle_bus_err
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x21, x1
	mov	x19, x0
	bl	_netdev_priv
Lloh0:
	adrp	x8, _LEC_UNUSED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LEC_UNUSED@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _LEC_NO_ERROR@GOTPAGE
Lloh4:
	ldr	x9, [x9, _LEC_NO_ERROR@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w8, w21
	ccmp	w9, w21, #4, ne
	b.eq	LBB0_3
; %bb.1:
	ldr	w8, [x0]
Lloh6:
	adrp	x9, _CAN_CTRLMODE_BERR_REPORTING@GOTPAGE
Lloh7:
	ldr	x9, [x9, _CAN_CTRLMODE_BERR_REPORTING@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_3
; %bb.2:
	ldr	w8, [x0, #4]
	add	w8, w8, #1
	str	w8, [x0, #4]
	ldr	w8, [x19, #8]
	add	w8, w8, #1
	str	w8, [x19, #8]
	add	x1, sp, #8
	mov	x0, x19
	bl	_alloc_can_err_skb
	mov	x20, x0
	cmp	x0, #0
	cset	w0, eq
	bl	_unlikely
	cbz	x0, LBB0_5
LBB0_3:
	mov	w0, #0
LBB0_4:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_5:
Lloh9:
	adrp	x8, _CAN_ERR_PROT@GOTPAGE
Lloh10:
	ldr	x8, [x8, _CAN_ERR_PROT@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
Lloh12:
	adrp	x9, _CAN_ERR_BUSERROR@GOTPAGE
Lloh13:
	ldr	x9, [x9, _CAN_ERR_BUSERROR@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	orr	w9, w9, w8
	ldr	x8, [sp, #8]
	ldr	w10, [x8]
	orr	w9, w9, w10
	str	w9, [x8]
	sub	w9, w21, #128
	cmp	w9, #5
	b.hi	LBB0_15
; %bb.6:
Lloh15:
	adrp	x8, lJTI0_0@PAGE
Lloh16:
	add	x8, x8, lJTI0_0@PAGEOFF
	adr	x10, LBB0_7
	ldrb	w11, [x8, x9]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_7:
Lloh17:
	adrp	x1, l_.str@PAGE
Lloh18:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_netdev_dbg
Lloh19:
	adrp	x8, _CAN_ERR_PROT_STUFF@GOTPAGE
Lloh20:
	ldr	x8, [x8, _CAN_ERR_PROT_STUFF@GOTPAGEOFF]
	b	LBB0_12
LBB0_8:
Lloh21:
	adrp	x1, l_.str.1@PAGE
Lloh22:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_netdev_dbg
Lloh23:
	adrp	x8, _CAN_ERR_PROT_FORM@GOTPAGE
Lloh24:
	ldr	x8, [x8, _CAN_ERR_PROT_FORM@GOTPAGEOFF]
	b	LBB0_12
LBB0_9:
Lloh25:
	adrp	x1, l_.str.5@PAGE
Lloh26:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x19
	bl	_netdev_dbg
Lloh27:
	adrp	x8, _CAN_ERR_PROT_LOC_CRC_SEQ@GOTPAGE
Lloh28:
	ldr	x8, [x8, _CAN_ERR_PROT_LOC_CRC_SEQ@GOTPAGEOFF]
	b	LBB0_14
LBB0_10:
Lloh29:
	adrp	x1, l_.str.3@PAGE
Lloh30:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_netdev_dbg
Lloh31:
	adrp	x8, _CAN_ERR_PROT_BIT1@GOTPAGE
Lloh32:
	ldr	x8, [x8, _CAN_ERR_PROT_BIT1@GOTPAGEOFF]
	b	LBB0_12
LBB0_11:
Lloh33:
	adrp	x1, l_.str.4@PAGE
Lloh34:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	_netdev_dbg
Lloh35:
	adrp	x8, _CAN_ERR_PROT_BIT0@GOTPAGE
Lloh36:
	ldr	x8, [x8, _CAN_ERR_PROT_BIT0@GOTPAGEOFF]
LBB0_12:
	ldr	w9, [x8]
	ldr	x8, [sp, #8]
	ldr	x10, [x8, #16]
	ldr	w11, [x10, #8]
	orr	w9, w11, w9
	str	w9, [x10, #8]
	b	LBB0_15
LBB0_13:
Lloh37:
	adrp	x1, l_.str.2@PAGE
Lloh38:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_netdev_dbg
Lloh39:
	adrp	x8, _CAN_ERR_PROT_LOC_ACK@GOTPAGE
Lloh40:
	ldr	x8, [x8, _CAN_ERR_PROT_LOC_ACK@GOTPAGEOFF]
LBB0_14:
	ldr	w9, [x8]
	ldr	x8, [sp, #8]
	ldr	x10, [x8, #16]
	str	w9, [x10, #12]
LBB0_15:
	add	x8, x8, #8
	ldr	d0, [x19]
	movi.2s	v1, #1
	ld1.s	{ v1 }[0], [x8]
	add.2s	v0, v0, v1
	str	d0, [x19]
	mov	x0, x20
	bl	_netif_receive_skb
	mov	w0, #1
	b	LBB0_4
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpLdrGot	Lloh39, Lloh40
	.loh AdrpAdd	Lloh37, Lloh38
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_7-LBB0_7)>>2
	.byte	(LBB0_8-LBB0_7)>>2
	.byte	(LBB0_9-LBB0_7)>>2
	.byte	(LBB0_10-LBB0_7)>>2
	.byte	(LBB0_11-LBB0_7)>>2
	.byte	(LBB0_13-LBB0_7)>>2
                                        ; -- End function
	.comm	_LEC_UNUSED,4,2                 ; @LEC_UNUSED
	.comm	_LEC_NO_ERROR,4,2               ; @LEC_NO_ERROR
	.comm	_CAN_CTRLMODE_BERR_REPORTING,4,2 ; @CAN_CTRLMODE_BERR_REPORTING
	.comm	_CAN_ERR_PROT,4,2               ; @CAN_ERR_PROT
	.comm	_CAN_ERR_BUSERROR,4,2           ; @CAN_ERR_BUSERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"stuff error\n"

	.comm	_CAN_ERR_PROT_STUFF,4,2         ; @CAN_ERR_PROT_STUFF
l_.str.1:                               ; @.str.1
	.asciz	"form error\n"

	.comm	_CAN_ERR_PROT_FORM,4,2          ; @CAN_ERR_PROT_FORM
l_.str.2:                               ; @.str.2
	.asciz	"ack error\n"

	.comm	_CAN_ERR_PROT_LOC_ACK,4,2       ; @CAN_ERR_PROT_LOC_ACK
l_.str.3:                               ; @.str.3
	.asciz	"bit1 error\n"

	.comm	_CAN_ERR_PROT_BIT1,4,2          ; @CAN_ERR_PROT_BIT1
l_.str.4:                               ; @.str.4
	.asciz	"bit0 error\n"

	.comm	_CAN_ERR_PROT_BIT0,4,2          ; @CAN_ERR_PROT_BIT0
l_.str.5:                               ; @.str.5
	.asciz	"CRC error\n"

	.comm	_CAN_ERR_PROT_LOC_CRC_SEQ,4,2   ; @CAN_ERR_PROT_LOC_CRC_SEQ
	.no_dead_strip	_c_can_handle_bus_err
.subsections_via_symbols
