	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sja1000_err
_sja1000_err:                           ## @sja1000_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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, -56(%rbp)                 ## 4-byte Spill
	movl	%esi, %r13d
	movq	%rdi, %r15
	callq	_netdev_priv
	movq	%rax, %rbx
	movl	8(%rax), %r14d
	leaq	-48(%rbp), %rsi
	movq	%r15, %rdi
	callq	_alloc_can_err_skb
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	_SJA1000_TXERR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	*(%rbx)
	movl	%eax, %r12d
	movq	_SJA1000_RXERR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	*(%rbx)
	movq	-48(%rbp), %rcx
	movq	(%rcx), %rcx
	movl	%r12d, -52(%rbp)                ## 4-byte Spill
	movl	%r12d, 24(%rcx)
	movl	%eax, %r12d
	movl	%eax, 28(%rcx)
	movq	_IRQ_DOI@GOTPCREL(%rip), %rax
	testl	%r13d, (%rax)
	je	LBB0_4
## %bb.3:
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	callq	_netdev_dbg
	movq	_CAN_ERR_CRTL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-48(%rbp), %rcx
	orl	%eax, 8(%rcx)
	movq	_CAN_ERR_CRTL_RX_OVERFLOW@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	(%rcx), %rcx
	movl	%eax, 4(%rcx)
	incl	16(%r15)
	incl	12(%r15)
	movq	_CMD_CDO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_sja1000_write_cmdreg
LBB0_4:
	movq	_IRQ_EI@GOTPCREL(%rip), %rax
	testl	%r13d, (%rax)
	je	LBB0_11
## %bb.5:
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	callq	_netdev_dbg
	movq	_SR_BS@GOTPCREL(%rip), %rax
	movl	-56(%rbp), %ecx                 ## 4-byte Reload
	testl	%ecx, (%rax)
	je	LBB0_7
## %bb.6:
	movq	_CAN_STATE_BUS_OFF@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_32
LBB0_7:
	movq	_SR_ES@GOTPCREL(%rip), %rax
	testl	%ecx, (%rax)
	je	LBB0_9
## %bb.8:
	movq	_CAN_STATE_ERROR_WARNING@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_9:
	movq	_CAN_STATE_ERROR_ACTIVE@GOTPCREL(%rip), %rax
LBB0_10:
	movl	(%rax), %r14d
LBB0_11:
	movq	_IRQ_BEI@GOTPCREL(%rip), %rax
	testl	%r13d, (%rax)
	je	LBB0_22
## %bb.12:
	incl	16(%rbx)
	incl	12(%r15)
	movq	_SJA1000_ECC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	*(%rbx)
	movq	_CAN_ERR_PROT@GOTPCREL(%rip), %rcx
	movq	_CAN_ERR_BUSERROR@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	movq	-48(%rbp), %rcx
	orl	%edx, 8(%rcx)
	movq	_ECC_MASK@GOTPCREL(%rip), %rsi
	movl	%eax, %edx
	andl	(%rsi), %edx
	cmpl	$128, %edx
	je	LBB0_18
## %bb.13:
	cmpl	$129, %edx
	je	LBB0_17
## %bb.14:
	cmpl	$130, %edx
	jne	LBB0_15
## %bb.16:
	movq	_CAN_ERR_PROT_BIT@GOTPCREL(%rip), %rdx
	jmp	LBB0_19
LBB0_18:
	movq	_CAN_ERR_PROT_STUFF@GOTPCREL(%rip), %rdx
	jmp	LBB0_19
LBB0_17:
	movq	_CAN_ERR_PROT_FORM@GOTPCREL(%rip), %rdx
LBB0_19:
	movl	(%rdx), %edx
	movq	(%rcx), %rcx
	orl	%edx, 8(%rcx)
	jmp	LBB0_20
LBB0_15:
	movq	(%rcx), %rcx
LBB0_20:
	movq	_ECC_SEG@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	andl	%eax, %edx
	movl	%edx, 12(%rcx)
	movq	_ECC_DIR@GOTPCREL(%rip), %rdx
	testl	%eax, (%rdx)
	jne	LBB0_22
## %bb.21:
	movq	_CAN_ERR_PROT_TX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 8(%rcx)
LBB0_22:
	movq	_IRQ_EPI@GOTPCREL(%rip), %rax
	testl	%r13d, (%rax)
	je	LBB0_26
## %bb.23:
	leaq	L_.str.2(%rip), %rsi
	movq	%r15, %rdi
	callq	_netdev_dbg
	movq	_CAN_STATE_ERROR_PASSIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	%eax, %r14d
	jne	LBB0_25
## %bb.24:
	movq	_CAN_STATE_ERROR_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_25:
	movl	%eax, %r14d
LBB0_26:
	movq	_IRQ_ALI@GOTPCREL(%rip), %rax
	testl	%r13d, (%rax)
	je	LBB0_28
## %bb.27:
	leaq	L_.str.3(%rip), %rsi
	movq	%r15, %rdi
	callq	_netdev_dbg
	movq	_SJA1000_ALC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	*(%rbx)
	incl	12(%rbx)
	incl	8(%r15)
	movq	_CAN_ERR_LOSTARB@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	-48(%rbp), %rdx
	orl	%ecx, 8(%rdx)
	andl	$31, %eax
	movq	(%rdx), %rcx
	movl	%eax, (%rcx)
LBB0_28:
	cmpl	8(%rbx), %r14d
	je	LBB0_31
## %bb.29:
	xorl	%ecx, %ecx
	cmpl	%r12d, -52(%rbp)                ## 4-byte Folded Reload
	movl	%r14d, %edx
	cmovbl	%ecx, %edx
	cmovbel	%r14d, %ecx
	movq	-48(%rbp), %rsi
	movq	%r15, %rdi
	callq	_can_change_state
	movq	_CAN_STATE_BUS_OFF@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r14d
	jne	LBB0_31
## %bb.30:
	movq	%r15, %rdi
	callq	_can_bus_off
LBB0_31:
	incl	4(%r15)
	movq	-48(%rbp), %rax
	movl	16(%rax), %eax
	addl	%eax, (%r15)
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_netif_rx
	xorl	%eax, %eax
LBB0_32:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_SJA1000_TXERR,4,2              ## @SJA1000_TXERR
	.comm	_SJA1000_RXERR,4,2              ## @SJA1000_RXERR
	.comm	_IRQ_DOI,4,2                    ## @IRQ_DOI
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"data overrun interrupt\n"

	.comm	_CAN_ERR_CRTL,4,2               ## @CAN_ERR_CRTL
	.comm	_CAN_ERR_CRTL_RX_OVERFLOW,4,2   ## @CAN_ERR_CRTL_RX_OVERFLOW
	.comm	_CMD_CDO,4,2                    ## @CMD_CDO
	.comm	_IRQ_EI,4,2                     ## @IRQ_EI
L_.str.1:                               ## @.str.1
	.asciz	"error warning interrupt\n"

	.comm	_SR_BS,4,2                      ## @SR_BS
	.comm	_CAN_STATE_BUS_OFF,4,2          ## @CAN_STATE_BUS_OFF
	.comm	_SR_ES,4,2                      ## @SR_ES
	.comm	_CAN_STATE_ERROR_WARNING,4,2    ## @CAN_STATE_ERROR_WARNING
	.comm	_CAN_STATE_ERROR_ACTIVE,4,2     ## @CAN_STATE_ERROR_ACTIVE
	.comm	_IRQ_BEI,4,2                    ## @IRQ_BEI
	.comm	_SJA1000_ECC,4,2                ## @SJA1000_ECC
	.comm	_CAN_ERR_PROT,4,2               ## @CAN_ERR_PROT
	.comm	_CAN_ERR_BUSERROR,4,2           ## @CAN_ERR_BUSERROR
	.comm	_ECC_MASK,4,2                   ## @ECC_MASK
	.comm	_CAN_ERR_PROT_BIT,4,2           ## @CAN_ERR_PROT_BIT
	.comm	_CAN_ERR_PROT_FORM,4,2          ## @CAN_ERR_PROT_FORM
	.comm	_CAN_ERR_PROT_STUFF,4,2         ## @CAN_ERR_PROT_STUFF
	.comm	_ECC_SEG,4,2                    ## @ECC_SEG
	.comm	_ECC_DIR,4,2                    ## @ECC_DIR
	.comm	_CAN_ERR_PROT_TX,4,2            ## @CAN_ERR_PROT_TX
	.comm	_IRQ_EPI,4,2                    ## @IRQ_EPI
L_.str.2:                               ## @.str.2
	.asciz	"error passive interrupt\n"

	.comm	_CAN_STATE_ERROR_PASSIVE,4,2    ## @CAN_STATE_ERROR_PASSIVE
	.comm	_IRQ_ALI,4,2                    ## @IRQ_ALI
L_.str.3:                               ## @.str.3
	.asciz	"arbitration lost interrupt\n"

	.comm	_SJA1000_ALC,4,2                ## @SJA1000_ALC
	.comm	_CAN_ERR_LOSTARB,4,2            ## @CAN_ERR_LOSTARB
	.no_dead_strip	_sja1000_err
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sja1000_err
_sja1000_err:                           ; @sja1000_err
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x25, x2
	mov	x24, x1
	mov	x19, x0
	bl	_netdev_priv
	mov	x21, x0
	ldr	w26, [x0, #8]
	add	x1, sp, #8
	mov	x0, x19
	bl	_alloc_can_err_skb
	cbz	x0, LBB0_6
; %bb.1:
	mov	x20, x0
	ldr	x8, [x21]
Lloh0:
	adrp	x9, _SJA1000_TXERR@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SJA1000_TXERR@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x9]
	mov	x0, x21
	blr	x8
	mov	x22, x0
	ldr	x8, [x21]
Lloh3:
	adrp	x9, _SJA1000_RXERR@GOTPAGE
Lloh4:
	ldr	x9, [x9, _SJA1000_RXERR@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x9]
	mov	x0, x21
	blr	x8
	mov	x23, x0
	ldr	x8, [sp, #8]
	ldr	x8, [x8]
	stp	w22, w0, [x8, #24]
Lloh6:
	adrp	x8, _IRQ_DOI@GOTPAGE
Lloh7:
	ldr	x8, [x8, _IRQ_DOI@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	tst	w8, w24
	b.eq	LBB0_3
; %bb.2:
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_netdev_dbg
Lloh11:
	adrp	x8, _CAN_ERR_CRTL@GOTPAGE
Lloh12:
	ldr	x8, [x8, _CAN_ERR_CRTL@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	ldr	x9, [sp, #8]
	ldr	w10, [x9, #8]
	orr	w8, w10, w8
	str	w8, [x9, #8]
Lloh14:
	adrp	x8, _CAN_ERR_CRTL_RX_OVERFLOW@GOTPAGE
Lloh15:
	ldr	x8, [x8, _CAN_ERR_CRTL_RX_OVERFLOW@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	ldr	x9, [x9]
	str	w8, [x9, #4]
	ldur	d0, [x19, #12]
	movi.2s	v1, #1
	add.2s	v0, v0, v1
	stur	d0, [x19, #12]
Lloh17:
	adrp	x8, _CMD_CDO@GOTPAGE
Lloh18:
	ldr	x8, [x8, _CMD_CDO@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_sja1000_write_cmdreg
LBB0_3:
Lloh20:
	adrp	x8, _IRQ_EI@GOTPAGE
Lloh21:
	ldr	x8, [x8, _IRQ_EI@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
	tst	w8, w24
	b.eq	LBB0_11
; %bb.4:
Lloh23:
	adrp	x1, l_.str.1@PAGE
Lloh24:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_netdev_dbg
Lloh25:
	adrp	x8, _SR_BS@GOTPAGE
Lloh26:
	ldr	x8, [x8, _SR_BS@GOTPAGEOFF]
Lloh27:
	ldr	w8, [x8]
	tst	w8, w25
	b.eq	LBB0_7
; %bb.5:
Lloh28:
	adrp	x8, _CAN_STATE_BUS_OFF@GOTPAGE
Lloh29:
	ldr	x8, [x8, _CAN_STATE_BUS_OFF@GOTPAGEOFF]
	b	LBB0_10
LBB0_6:
Lloh30:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh31:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh32:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_30
LBB0_7:
Lloh33:
	adrp	x8, _SR_ES@GOTPAGE
Lloh34:
	ldr	x8, [x8, _SR_ES@GOTPAGEOFF]
Lloh35:
	ldr	w8, [x8]
	tst	w8, w25
	b.eq	LBB0_9
; %bb.8:
Lloh36:
	adrp	x8, _CAN_STATE_ERROR_WARNING@GOTPAGE
Lloh37:
	ldr	x8, [x8, _CAN_STATE_ERROR_WARNING@GOTPAGEOFF]
	b	LBB0_10
LBB0_9:
Lloh38:
	adrp	x8, _CAN_STATE_ERROR_ACTIVE@GOTPAGE
Lloh39:
	ldr	x8, [x8, _CAN_STATE_ERROR_ACTIVE@GOTPAGEOFF]
LBB0_10:
	ldr	w26, [x8]
LBB0_11:
Lloh40:
	adrp	x8, _IRQ_BEI@GOTPAGE
Lloh41:
	ldr	x8, [x8, _IRQ_BEI@GOTPAGEOFF]
Lloh42:
	ldr	w8, [x8]
	tst	w8, w24
	b.eq	LBB0_22
; %bb.12:
	ldr	w8, [x21, #16]
	add	w8, w8, #1
	str	w8, [x21, #16]
	ldr	w8, [x19, #12]
	add	w8, w8, #1
	str	w8, [x19, #12]
	ldr	x8, [x21]
Lloh43:
	adrp	x9, _SJA1000_ECC@GOTPAGE
Lloh44:
	ldr	x9, [x9, _SJA1000_ECC@GOTPAGEOFF]
Lloh45:
	ldr	w1, [x9]
	mov	x0, x21
	blr	x8
Lloh46:
	adrp	x8, _CAN_ERR_PROT@GOTPAGE
Lloh47:
	ldr	x8, [x8, _CAN_ERR_PROT@GOTPAGEOFF]
Lloh48:
	adrp	x9, _CAN_ERR_BUSERROR@GOTPAGE
Lloh49:
	ldr	x9, [x9, _CAN_ERR_BUSERROR@GOTPAGEOFF]
Lloh50:
	ldr	w8, [x8]
Lloh51:
	ldr	w9, [x9]
	orr	w9, w9, w8
	ldr	x8, [sp, #8]
	ldr	w10, [x8, #8]
	orr	w9, w9, w10
	str	w9, [x8, #8]
Lloh52:
	adrp	x9, _ECC_MASK@GOTPAGE
Lloh53:
	ldr	x9, [x9, _ECC_MASK@GOTPAGEOFF]
Lloh54:
	ldr	w9, [x9]
	and	w9, w9, w0
	cmp	w9, #128
	b.eq	LBB0_16
; %bb.13:
	cmp	w9, #129
	b.eq	LBB0_17
; %bb.14:
	cmp	w9, #130
	b.ne	LBB0_19
; %bb.15:
Lloh55:
	adrp	x9, _CAN_ERR_PROT_BIT@GOTPAGE
Lloh56:
	ldr	x9, [x9, _CAN_ERR_PROT_BIT@GOTPAGEOFF]
	b	LBB0_18
LBB0_16:
Lloh57:
	adrp	x9, _CAN_ERR_PROT_STUFF@GOTPAGE
Lloh58:
	ldr	x9, [x9, _CAN_ERR_PROT_STUFF@GOTPAGEOFF]
	b	LBB0_18
LBB0_17:
Lloh59:
	adrp	x9, _CAN_ERR_PROT_FORM@GOTPAGE
Lloh60:
	ldr	x9, [x9, _CAN_ERR_PROT_FORM@GOTPAGEOFF]
LBB0_18:
	ldr	w9, [x9]
	ldr	x8, [x8]
	ldr	w10, [x8, #8]
	orr	w9, w10, w9
	str	w9, [x8, #8]
	b	LBB0_20
LBB0_19:
	ldr	x8, [x8]
LBB0_20:
Lloh61:
	adrp	x9, _ECC_SEG@GOTPAGE
Lloh62:
	ldr	x9, [x9, _ECC_SEG@GOTPAGEOFF]
Lloh63:
	ldr	w9, [x9]
	and	w9, w9, w0
	str	w9, [x8, #12]
Lloh64:
	adrp	x9, _ECC_DIR@GOTPAGE
Lloh65:
	ldr	x9, [x9, _ECC_DIR@GOTPAGEOFF]
Lloh66:
	ldr	w9, [x9]
	tst	w9, w0
	b.ne	LBB0_22
; %bb.21:
Lloh67:
	adrp	x9, _CAN_ERR_PROT_TX@GOTPAGE
Lloh68:
	ldr	x9, [x9, _CAN_ERR_PROT_TX@GOTPAGEOFF]
Lloh69:
	ldr	w9, [x9]
	ldr	w10, [x8, #8]
	orr	w9, w10, w9
	str	w9, [x8, #8]
LBB0_22:
Lloh70:
	adrp	x8, _IRQ_EPI@GOTPAGE
Lloh71:
	ldr	x8, [x8, _IRQ_EPI@GOTPAGEOFF]
Lloh72:
	ldr	w8, [x8]
	tst	w8, w24
	b.eq	LBB0_24
; %bb.23:
Lloh73:
	adrp	x1, l_.str.2@PAGE
Lloh74:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_netdev_dbg
Lloh75:
	adrp	x8, _CAN_STATE_ERROR_PASSIVE@GOTPAGE
Lloh76:
	ldr	x8, [x8, _CAN_STATE_ERROR_PASSIVE@GOTPAGEOFF]
Lloh77:
	ldr	w8, [x8]
Lloh78:
	adrp	x9, _CAN_STATE_ERROR_WARNING@GOTPAGE
Lloh79:
	ldr	x9, [x9, _CAN_STATE_ERROR_WARNING@GOTPAGEOFF]
Lloh80:
	ldr	w9, [x9]
	cmp	w26, w8
	csel	w26, w9, w8, eq
LBB0_24:
Lloh81:
	adrp	x8, _IRQ_ALI@GOTPAGE
Lloh82:
	ldr	x8, [x8, _IRQ_ALI@GOTPAGEOFF]
Lloh83:
	ldr	w8, [x8]
	tst	w8, w24
	b.eq	LBB0_26
; %bb.25:
Lloh84:
	adrp	x1, l_.str.3@PAGE
Lloh85:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_netdev_dbg
	ldr	x8, [x21]
Lloh86:
	adrp	x9, _SJA1000_ALC@GOTPAGE
Lloh87:
	ldr	x9, [x9, _SJA1000_ALC@GOTPAGEOFF]
Lloh88:
	ldr	w1, [x9]
	mov	x0, x21
	blr	x8
	ldr	w8, [x21, #12]
	add	w8, w8, #1
	str	w8, [x21, #12]
	ldr	w8, [x19, #8]
	add	w8, w8, #1
	str	w8, [x19, #8]
Lloh89:
	adrp	x8, _CAN_ERR_LOSTARB@GOTPAGE
Lloh90:
	ldr	x8, [x8, _CAN_ERR_LOSTARB@GOTPAGEOFF]
Lloh91:
	ldr	w8, [x8]
	ldr	x9, [sp, #8]
	ldr	w10, [x9, #8]
	orr	w8, w10, w8
	str	w8, [x9, #8]
	and	w8, w0, #0x1f
	ldr	x9, [x9]
	str	w8, [x9]
LBB0_26:
	ldr	w8, [x21, #8]
	cmp	w26, w8
	b.eq	LBB0_29
; %bb.27:
	cmp	w22, w23
	csel	w2, wzr, w26, lo
	csel	w3, wzr, w26, hi
	ldr	x1, [sp, #8]
	mov	x0, x19
	bl	_can_change_state
Lloh92:
	adrp	x8, _CAN_STATE_BUS_OFF@GOTPAGE
Lloh93:
	ldr	x8, [x8, _CAN_STATE_BUS_OFF@GOTPAGEOFF]
Lloh94:
	ldr	w8, [x8]
	cmp	w26, w8
	b.ne	LBB0_29
; %bb.28:
	mov	x0, x19
	bl	_can_bus_off
LBB0_29:
	ldr	x8, [sp, #8]
	add	x8, x8, #16
	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_rx
	mov	w0, #0
LBB0_30:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGot	Lloh36, Lloh37
	.loh AdrpLdrGot	Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh51
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh50
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGot	Lloh55, Lloh56
	.loh AdrpLdrGot	Lloh57, Lloh58
	.loh AdrpLdrGot	Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh64, Lloh65, Lloh66
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh63
	.loh AdrpLdrGotLdr	Lloh67, Lloh68, Lloh69
	.loh AdrpLdrGotLdr	Lloh70, Lloh71, Lloh72
	.loh AdrpLdrGotLdr	Lloh78, Lloh79, Lloh80
	.loh AdrpLdrGotLdr	Lloh75, Lloh76, Lloh77
	.loh AdrpAdd	Lloh73, Lloh74
	.loh AdrpLdrGotLdr	Lloh81, Lloh82, Lloh83
	.loh AdrpLdrGotLdr	Lloh89, Lloh90, Lloh91
	.loh AdrpLdrGotLdr	Lloh86, Lloh87, Lloh88
	.loh AdrpAdd	Lloh84, Lloh85
	.loh AdrpLdrGotLdr	Lloh92, Lloh93, Lloh94
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_SJA1000_TXERR,4,2              ; @SJA1000_TXERR
	.comm	_SJA1000_RXERR,4,2              ; @SJA1000_RXERR
	.comm	_IRQ_DOI,4,2                    ; @IRQ_DOI
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"data overrun interrupt\n"

	.comm	_CAN_ERR_CRTL,4,2               ; @CAN_ERR_CRTL
	.comm	_CAN_ERR_CRTL_RX_OVERFLOW,4,2   ; @CAN_ERR_CRTL_RX_OVERFLOW
	.comm	_CMD_CDO,4,2                    ; @CMD_CDO
	.comm	_IRQ_EI,4,2                     ; @IRQ_EI
l_.str.1:                               ; @.str.1
	.asciz	"error warning interrupt\n"

	.comm	_SR_BS,4,2                      ; @SR_BS
	.comm	_CAN_STATE_BUS_OFF,4,2          ; @CAN_STATE_BUS_OFF
	.comm	_SR_ES,4,2                      ; @SR_ES
	.comm	_CAN_STATE_ERROR_WARNING,4,2    ; @CAN_STATE_ERROR_WARNING
	.comm	_CAN_STATE_ERROR_ACTIVE,4,2     ; @CAN_STATE_ERROR_ACTIVE
	.comm	_IRQ_BEI,4,2                    ; @IRQ_BEI
	.comm	_SJA1000_ECC,4,2                ; @SJA1000_ECC
	.comm	_CAN_ERR_PROT,4,2               ; @CAN_ERR_PROT
	.comm	_CAN_ERR_BUSERROR,4,2           ; @CAN_ERR_BUSERROR
	.comm	_ECC_MASK,4,2                   ; @ECC_MASK
	.comm	_CAN_ERR_PROT_BIT,4,2           ; @CAN_ERR_PROT_BIT
	.comm	_CAN_ERR_PROT_FORM,4,2          ; @CAN_ERR_PROT_FORM
	.comm	_CAN_ERR_PROT_STUFF,4,2         ; @CAN_ERR_PROT_STUFF
	.comm	_ECC_SEG,4,2                    ; @ECC_SEG
	.comm	_ECC_DIR,4,2                    ; @ECC_DIR
	.comm	_CAN_ERR_PROT_TX,4,2            ; @CAN_ERR_PROT_TX
	.comm	_IRQ_EPI,4,2                    ; @IRQ_EPI
l_.str.2:                               ; @.str.2
	.asciz	"error passive interrupt\n"

	.comm	_CAN_STATE_ERROR_PASSIVE,4,2    ; @CAN_STATE_ERROR_PASSIVE
	.comm	_IRQ_ALI,4,2                    ; @IRQ_ALI
l_.str.3:                               ; @.str.3
	.asciz	"arbitration lost interrupt\n"

	.comm	_SJA1000_ALC,4,2                ; @SJA1000_ALC
	.comm	_CAN_ERR_LOSTARB,4,2            ; @CAN_ERR_LOSTARB
	.no_dead_strip	_sja1000_err
.subsections_via_symbols
