	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ti_hecc_interrupt
_ti_hecc_interrupt:                     ## @ti_hecc_interrupt
	.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
	movq	%rsi, %rdi
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	callq	_netdev_priv
	movq	%rax, %r13
	cmpq	$0, 16(%rax)
	jne	LBB0_2
## %bb.1:
	movq	_HECC_CANGIF0@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_2:
	movq	_HECC_CANGIF1@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_hecc_read
	testl	%eax, %eax
	je	LBB0_9
## %bb.4:
	movl	%eax, %r12d
	movq	_HECC_CANES@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_hecc_read
	movl	%eax, %ebx
	movq	_HECC_CANES_FLAGS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	andl	%ebx, %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	%r12d, %esi
	movl	%ebx, %edx
	callq	_ti_hecc_error
LBB0_6:
	movq	_HECC_CANGIM_DEF_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	andl	%r12d, %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_10
## %bb.7:
	movq	_HECC_CANREC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_hecc_read
	movl	%eax, %ebx
	movq	_HECC_CANTEC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_hecc_read
	movq	_HECC_CANGIF_WLIF@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r15d
	testl	%r12d, %r15d
	movl	%ebx, -64(%rbp)                 ## 4-byte Spill
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
	je	LBB0_16
## %bb.8:
	xorl	%esi, %esi
	cmpl	%eax, %ebx
	movq	_CAN_STATE_ERROR_WARNING@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	movl	%ebx, %r14d
	cmovll	%esi, %r14d
	cmovgl	%esi, %ebx
	movl	40(%r13), %edi
	leaq	L_.str(%rip), %rsi
	callq	_netdev_dbg
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	%r14d, %esi
	movl	%ebx, %edx
	callq	_ti_hecc_change_state
	jmp	LBB0_17
LBB0_9:
	movq	_IRQ_NONE@GOTPCREL(%rip), %rax
	jmp	LBB0_46
LBB0_10:
	movq	32(%r13), %rax
	movq	_CAN_STATE_ERROR_ACTIVE@GOTPCREL(%rip), %rbx
	xorl	%edi, %edi
	cmpq	(%rbx), %rax
	setne	%dil
	callq	_unlikely
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	testq	%rax, %rax
	je	LBB0_28
## %bb.11:
	movq	_HECC_CANREC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_hecc_read
	movl	%eax, %r15d
	movq	_HECC_CANTEC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_hecc_read
	cmpl	$127, %r15d
	jg	LBB0_22
## %bb.12:
	cmpl	$128, %eax
	jge	LBB0_22
## %bb.13:
	cmpl	$95, %r15d
	jg	LBB0_23
## %bb.14:
	cmpl	$96, %eax
	jge	LBB0_23
## %bb.15:
	movl	(%rbx), %edx
	jmp	LBB0_25
LBB0_16:
	xorl	%r15d, %r15d
LBB0_17:
	movq	_HECC_CANGIF_EPIF@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%r12d, %eax
	je	LBB0_19
## %bb.18:
	orl	%eax, %r15d
	movl	%r15d, -44(%rbp)                ## 4-byte Spill
	xorl	%eax, %eax
	movl	-60(%rbp), %ecx                 ## 4-byte Reload
	cmpl	%ecx, -64(%rbp)                 ## 4-byte Folded Reload
	movq	_CAN_STATE_ERROR_PASSIVE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	movl	%ebx, %r14d
	cmovll	%eax, %r14d
	cmovgl	%eax, %ebx
	movl	40(%r13), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_netdev_dbg
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	%r14d, %esi
	movl	%ebx, %edx
	callq	_ti_hecc_change_state
	jmp	LBB0_20
LBB0_19:
	movl	%r15d, -44(%rbp)                ## 4-byte Spill
LBB0_20:
	movq	_HECC_CANGIF_BOIF@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%r12d, %eax
	je	LBB0_28
## %bb.21:
	orl	%eax, -44(%rbp)                 ## 4-byte Folded Spill
	movq	_CAN_STATE_BUS_OFF@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movl	40(%r13), %edi
	leaq	L_.str.2(%rip), %rsi
	callq	_netdev_dbg
	movq	_HECC_CANGIM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	xorl	%edx, %edx
	callq	_hecc_write
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_can_bus_off
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	%r14d, %edx
	jmp	LBB0_27
LBB0_22:
	movq	_CAN_STATE_ERROR_PASSIVE@GOTPCREL(%rip), %rcx
	jmp	LBB0_24
LBB0_23:
	movq	_CAN_STATE_ERROR_WARNING@GOTPCREL(%rip), %rcx
LBB0_24:
	movl	(%rcx), %edx
LBB0_25:
	movl	%edx, %ecx
	cmpq	%rcx, 32(%r13)
	jle	LBB0_28
## %bb.26:
	xorl	%ecx, %ecx
	cmpl	%eax, %r15d
	movl	%edx, %esi
	cmovll	%ecx, %esi
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	cmovgl	%ecx, %edx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
LBB0_27:
	callq	_ti_hecc_change_state
LBB0_28:
	movq	_HECC_CANGIF_GMIF@GOTPCREL(%rip), %rax
	testl	%r12d, (%rax)
	je	LBB0_42
## %bb.29:
	movq	(%r13), %rcx
	movq	8(%r13), %rax
	cmpq	%rax, %rcx
	jle	LBB0_34
## %bb.30:
	leaq	28(%r13), %r12
	leaq	24(%r13), %rbx
	.p2align	4, 0x90
LBB0_31:                                ## =>This Inner Loop Header: Depth=1
	movq	%r13, %rdi
	callq	_get_tx_tail_mb
	movl	%eax, %r15d
	movl	%eax, %edi
	callq	_BIT
	movl	%eax, %r14d
	movq	_HECC_CANTA@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_hecc_read
	testl	%r14d, %eax
	je	LBB0_33
## %bb.32:                              ##   in Loop: Header=BB0_31 Depth=1
	movq	_HECC_CANTA@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	movl	%r14d, %edx
	callq	_hecc_write
	movq	%r12, %rdi
	callq	_spin_lock_irqsave
	movq	_HECC_CANME@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	movl	%r14d, %edx
	callq	_hecc_clear_bit
	movq	%r12, %rdi
	callq	_spin_unlock_irqrestore
	movq	%r13, %rdi
	movl	%r15d, %esi
	callq	_hecc_read_stamp
	movq	%rbx, %rdi
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_can_rx_offload_get_echo_skb
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	addl	%eax, 4(%rdi)
	incl	(%rdi)
	movq	_CAN_LED_EVENT_TX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_can_led_event
	movq	(%r13), %rcx
	movq	8(%r13), %rax
	decq	%rcx
	movq	%rcx, (%r13)
	cmpq	%rax, %rcx
	jg	LBB0_31
	jmp	LBB0_34
LBB0_33:
	movq	(%r13), %rcx
	movq	8(%r13), %rax
LBB0_34:
	movq	_HECC_TX_MASK@GOTPCREL(%rip), %rdx
	movslq	(%rdx), %rdx
	movq	%rcx, %rsi
	andq	%rdx, %rsi
	cmpq	%rcx, %rax
	jne	LBB0_36
## %bb.35:
	cmpq	%rdx, %rsi
	jne	LBB0_38
LBB0_36:
	cmpq	%rdx, %rsi
	jne	LBB0_39
## %bb.37:
	andq	%rdx, %rax
	cmpq	%rdx, %rax
	jne	LBB0_39
LBB0_38:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_netif_wake_queue
LBB0_39:
	movq	_HECC_CANRMP@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	%r13, %rdi
	callq	_hecc_read
	testl	%eax, %eax
	je	LBB0_42
## %bb.40:
	movq	%r13, %rbx
	addq	$24, %rbx
	.p2align	4, 0x90
LBB0_41:                                ## =>This Inner Loop Header: Depth=1
	movslq	%eax, %rsi
	movq	%rbx, %rdi
	callq	_can_rx_offload_irq_offload_timestamp
	movl	(%r14), %esi
	movq	%r13, %rdi
	callq	_hecc_read
	testl	%eax, %eax
	jne	LBB0_41
LBB0_42:
	cmpq	$0, 16(%r13)
	jne	LBB0_44
## %bb.43:
	movq	_HECC_CANGIF0@GOTPCREL(%rip), %rbx
	jmp	LBB0_45
LBB0_44:
	movq	_HECC_CANGIF1@GOTPCREL(%rip), %rbx
LBB0_45:
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	movl	(%rbx), %esi
	movq	%r13, %rdi
	callq	_hecc_write
	movl	(%rbx), %esi
	movq	%r13, %rdi
	callq	_hecc_read
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %rax
LBB0_46:
	movl	(%rax), %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HECC_CANGIF1,4,2               ## @HECC_CANGIF1
	.comm	_HECC_CANGIF0,4,2               ## @HECC_CANGIF0
	.comm	_IRQ_NONE,4,2                   ## @IRQ_NONE
	.comm	_HECC_CANES,4,2                 ## @HECC_CANES
	.comm	_HECC_CANES_FLAGS,4,2           ## @HECC_CANES_FLAGS
	.comm	_HECC_CANGIM_DEF_MASK,4,2       ## @HECC_CANGIM_DEF_MASK
	.comm	_HECC_CANREC,4,2                ## @HECC_CANREC
	.comm	_HECC_CANTEC,4,2                ## @HECC_CANTEC
	.comm	_HECC_CANGIF_WLIF,4,2           ## @HECC_CANGIF_WLIF
	.comm	_CAN_STATE_ERROR_WARNING,4,2    ## @CAN_STATE_ERROR_WARNING
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Error Warning interrupt\n"

	.comm	_HECC_CANGIF_EPIF,4,2           ## @HECC_CANGIF_EPIF
	.comm	_CAN_STATE_ERROR_PASSIVE,4,2    ## @CAN_STATE_ERROR_PASSIVE
L_.str.1:                               ## @.str.1
	.asciz	"Error passive interrupt\n"

	.comm	_HECC_CANGIF_BOIF,4,2           ## @HECC_CANGIF_BOIF
	.comm	_CAN_STATE_BUS_OFF,4,2          ## @CAN_STATE_BUS_OFF
L_.str.2:                               ## @.str.2
	.asciz	"Bus off interrupt\n"

	.comm	_HECC_CANGIM,4,2                ## @HECC_CANGIM
	.comm	_CAN_STATE_ERROR_ACTIVE,8,3     ## @CAN_STATE_ERROR_ACTIVE
	.comm	_HECC_CANGIF_GMIF,4,2           ## @HECC_CANGIF_GMIF
	.comm	_HECC_CANTA,4,2                 ## @HECC_CANTA
	.comm	_HECC_CANME,4,2                 ## @HECC_CANME
	.comm	_CAN_LED_EVENT_TX,4,2           ## @CAN_LED_EVENT_TX
	.comm	_HECC_TX_MASK,4,2               ## @HECC_TX_MASK
	.comm	_HECC_CANRMP,4,2                ## @HECC_CANRMP
	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.no_dead_strip	_ti_hecc_interrupt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ti_hecc_interrupt
_ti_hecc_interrupt:                     ; @ti_hecc_interrupt
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x1
	mov	x0, x1
	bl	_netdev_priv
	mov	x19, x0
Lloh0:
	adrp	x27, _HECC_CANGIF1@GOTPAGE
Lloh1:
	ldr	x27, [x27, _HECC_CANGIF1@GOTPAGEOFF]
	ldr	x8, [x0, #16]
Lloh2:
	adrp	x28, _HECC_CANGIF0@GOTPAGE
Lloh3:
	ldr	x28, [x28, _HECC_CANGIF0@GOTPAGEOFF]
	cmp	x8, #0
	csel	x8, x28, x27, eq
	ldr	w1, [x8]
	bl	_hecc_read
	cbz	w0, LBB0_6
; %bb.1:
	mov	x22, x0
Lloh4:
	adrp	x8, _HECC_CANES@GOTPAGE
Lloh5:
	ldr	x8, [x8, _HECC_CANES@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_hecc_read
	mov	x21, x0
Lloh7:
	adrp	x8, _HECC_CANES_FLAGS@GOTPAGE
Lloh8:
	ldr	x8, [x8, _HECC_CANES_FLAGS@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	and	w0, w8, w0
	bl	_unlikely
	cbz	x0, LBB0_3
; %bb.2:
	mov	x0, x20
	mov	x1, x22
	mov	x2, x21
	bl	_ti_hecc_error
LBB0_3:
Lloh10:
	adrp	x8, _HECC_CANGIM_DEF_MASK@GOTPAGE
Lloh11:
	ldr	x8, [x8, _HECC_CANGIM_DEF_MASK@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	and	w0, w8, w22
	bl	_unlikely
	cbz	x0, LBB0_7
; %bb.4:
Lloh13:
	adrp	x8, _HECC_CANREC@GOTPAGE
Lloh14:
	ldr	x8, [x8, _HECC_CANREC@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_hecc_read
	mov	x23, x0
Lloh16:
	adrp	x8, _HECC_CANTEC@GOTPAGE
Lloh17:
	ldr	x8, [x8, _HECC_CANTEC@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_hecc_read
	mov	x24, x0
Lloh19:
	adrp	x8, _HECC_CANGIF_WLIF@GOTPAGE
Lloh20:
	ldr	x8, [x8, _HECC_CANGIF_WLIF@GOTPAGEOFF]
Lloh21:
	ldr	w21, [x8]
	tst	w21, w22
	b.eq	LBB0_13
; %bb.5:
Lloh22:
	adrp	x8, _CAN_STATE_ERROR_WARNING@GOTPAGE
Lloh23:
	ldr	x8, [x8, _CAN_STATE_ERROR_WARNING@GOTPAGEOFF]
Lloh24:
	ldr	w8, [x8]
	cmp	w23, w24
	csel	w25, wzr, w8, lt
	csel	w26, wzr, w8, gt
	ldr	w0, [x19, #40]
Lloh25:
	adrp	x1, l_.str@PAGE
Lloh26:
	add	x1, x1, l_.str@PAGEOFF
	bl	_netdev_dbg
	mov	x0, x20
	mov	x1, x25
	mov	x2, x26
	bl	_ti_hecc_change_state
	b	LBB0_14
LBB0_6:
Lloh27:
	adrp	x8, _IRQ_NONE@GOTPAGE
Lloh28:
	ldr	x8, [x8, _IRQ_NONE@GOTPAGEOFF]
	b	LBB0_39
LBB0_7:
	ldr	x8, [x19, #32]
Lloh29:
	adrp	x23, _CAN_STATE_ERROR_ACTIVE@GOTPAGE
Lloh30:
	ldr	x23, [x23, _CAN_STATE_ERROR_ACTIVE@GOTPAGEOFF]
	ldr	x9, [x23]
	cmp	x8, x9
	cset	w0, ne
	bl	_unlikely
	cbz	x0, LBB0_23
; %bb.8:
Lloh31:
	adrp	x8, _HECC_CANREC@GOTPAGE
Lloh32:
	ldr	x8, [x8, _HECC_CANREC@GOTPAGEOFF]
Lloh33:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_hecc_read
	mov	x21, x0
Lloh34:
	adrp	x8, _HECC_CANTEC@GOTPAGE
Lloh35:
	ldr	x8, [x8, _HECC_CANTEC@GOTPAGEOFF]
Lloh36:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_hecc_read
	cmp	w21, #127
	b.gt	LBB0_18
; %bb.9:
	cmp	w0, #128
	b.ge	LBB0_18
; %bb.10:
	cmp	w21, #95
	b.gt	LBB0_19
; %bb.11:
	cmp	w0, #96
	b.ge	LBB0_19
; %bb.12:
	ldr	w8, [x23]
	b	LBB0_21
LBB0_13:
	mov	w21, #0
LBB0_14:
Lloh37:
	adrp	x8, _HECC_CANGIF_EPIF@GOTPAGE
Lloh38:
	ldr	x8, [x8, _HECC_CANGIF_EPIF@GOTPAGEOFF]
Lloh39:
	ldr	w8, [x8]
	tst	w8, w22
	b.eq	LBB0_16
; %bb.15:
Lloh40:
	adrp	x9, _CAN_STATE_ERROR_PASSIVE@GOTPAGE
Lloh41:
	ldr	x9, [x9, _CAN_STATE_ERROR_PASSIVE@GOTPAGEOFF]
	orr	w21, w8, w21
Lloh42:
	ldr	w8, [x9]
	cmp	w23, w24
	csel	w23, wzr, w8, lt
	csel	w24, wzr, w8, gt
	ldr	w0, [x19, #40]
Lloh43:
	adrp	x1, l_.str.1@PAGE
Lloh44:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_netdev_dbg
	mov	x0, x20
	mov	x1, x23
	mov	x2, x24
	bl	_ti_hecc_change_state
LBB0_16:
Lloh45:
	adrp	x8, _HECC_CANGIF_BOIF@GOTPAGE
Lloh46:
	ldr	x8, [x8, _HECC_CANGIF_BOIF@GOTPAGEOFF]
Lloh47:
	ldr	w8, [x8]
	tst	w8, w22
	b.eq	LBB0_24
; %bb.17:
	orr	w21, w8, w21
Lloh48:
	adrp	x8, _CAN_STATE_BUS_OFF@GOTPAGE
Lloh49:
	ldr	x8, [x8, _CAN_STATE_BUS_OFF@GOTPAGEOFF]
Lloh50:
	ldr	w23, [x8]
	ldr	w0, [x19, #40]
Lloh51:
	adrp	x1, l_.str.2@PAGE
Lloh52:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_netdev_dbg
Lloh53:
	adrp	x8, _HECC_CANGIM@GOTPAGE
Lloh54:
	ldr	x8, [x8, _HECC_CANGIM@GOTPAGEOFF]
Lloh55:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	bl	_hecc_write
	mov	x0, x20
	bl	_can_bus_off
	mov	x0, x20
	mov	x1, x23
	mov	x2, x23
	bl	_ti_hecc_change_state
	b	LBB0_24
LBB0_18:
Lloh56:
	adrp	x8, _CAN_STATE_ERROR_PASSIVE@GOTPAGE
Lloh57:
	ldr	x8, [x8, _CAN_STATE_ERROR_PASSIVE@GOTPAGEOFF]
	b	LBB0_20
LBB0_19:
Lloh58:
	adrp	x8, _CAN_STATE_ERROR_WARNING@GOTPAGE
Lloh59:
	ldr	x8, [x8, _CAN_STATE_ERROR_WARNING@GOTPAGEOFF]
LBB0_20:
	ldr	w8, [x8]
LBB0_21:
	ldr	x9, [x19, #32]
	cmp	x9, w8, uxtw
	b.le	LBB0_23
; %bb.22:
	cmp	w21, w0
	csel	w1, wzr, w8, lt
	csel	w2, wzr, w8, gt
	mov	x0, x20
	bl	_ti_hecc_change_state
LBB0_23:
	mov	w21, #0
LBB0_24:
Lloh60:
	adrp	x8, _HECC_CANGIF_GMIF@GOTPAGE
Lloh61:
	ldr	x8, [x8, _HECC_CANGIF_GMIF@GOTPAGEOFF]
Lloh62:
	ldr	w8, [x8]
	tst	w8, w22
	b.eq	LBB0_38
; %bb.25:
	ldp	x9, x8, [x19]
	cmp	x9, x8
	b.le	LBB0_31
; %bb.26:
	add	x22, x19, #28
	add	x23, x19, #24
Lloh63:
	adrp	x26, _HECC_CANTA@GOTPAGE
Lloh64:
	ldr	x26, [x26, _HECC_CANTA@GOTPAGEOFF]
Lloh65:
	adrp	x27, _HECC_CANME@GOTPAGE
Lloh66:
	ldr	x27, [x27, _HECC_CANME@GOTPAGEOFF]
Lloh67:
	adrp	x28, _CAN_LED_EVENT_TX@GOTPAGE
Lloh68:
	ldr	x28, [x28, _CAN_LED_EVENT_TX@GOTPAGEOFF]
LBB0_27:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	bl	_get_tx_tail_mb
	mov	x24, x0
	bl	_BIT
	mov	x25, x0
	ldr	w1, [x26]
	mov	x0, x19
	bl	_hecc_read
	tst	w0, w25
	b.eq	LBB0_29
; %bb.28:                               ;   in Loop: Header=BB0_27 Depth=1
	ldr	w1, [x26]
	mov	x0, x19
	mov	x2, x25
	bl	_hecc_write
	mov	x0, x22
	bl	_spin_lock_irqsave
	ldr	w1, [x27]
	mov	x0, x19
	mov	x2, x25
	bl	_hecc_clear_bit
	mov	x0, x22
	bl	_spin_unlock_irqrestore
	mov	x0, x19
	mov	x1, x24
	bl	_hecc_read_stamp
	mov	x2, x0
	mov	x0, x23
	mov	x1, x24
	bl	_can_rx_offload_get_echo_skb
	ldp	w9, w8, [x20]
	add	w8, w8, w0
	add	w9, w9, #1
	stp	w9, w8, [x20]
	ldr	w1, [x28]
	mov	x0, x20
	bl	_can_led_event
	ldp	x9, x8, [x19]
	sub	x9, x9, #1
	str	x9, [x19]
	cmp	x9, x8
	b.gt	LBB0_27
	b	LBB0_30
LBB0_29:
	ldp	x9, x8, [x19]
LBB0_30:
Lloh69:
	adrp	x27, _HECC_CANGIF1@GOTPAGE
Lloh70:
	ldr	x27, [x27, _HECC_CANGIF1@GOTPAGEOFF]
Lloh71:
	adrp	x28, _HECC_CANGIF0@GOTPAGE
Lloh72:
	ldr	x28, [x28, _HECC_CANGIF0@GOTPAGEOFF]
LBB0_31:
Lloh73:
	adrp	x10, _HECC_TX_MASK@GOTPAGE
Lloh74:
	ldr	x10, [x10, _HECC_TX_MASK@GOTPAGEOFF]
Lloh75:
	ldrsw	x10, [x10]
	and	x11, x9, x10
	cmp	x8, x9
	b.ne	LBB0_33
; %bb.32:
	cmp	x11, x10
	b.ne	LBB0_34
LBB0_33:
	and	x8, x8, x10
	cmp	x11, x10
	ccmp	x8, x10, #0, eq
	b.ne	LBB0_35
LBB0_34:
	mov	x0, x20
	bl	_netif_wake_queue
LBB0_35:
Lloh76:
	adrp	x22, _HECC_CANRMP@GOTPAGE
Lloh77:
	ldr	x22, [x22, _HECC_CANRMP@GOTPAGEOFF]
	ldr	w1, [x22]
	mov	x0, x19
	bl	_hecc_read
                                        ; kill: def $w0 killed $w0 def $x0
	cbz	w0, LBB0_38
; %bb.36:
	add	x20, x19, #24
LBB0_37:                                ; =>This Inner Loop Header: Depth=1
	sxtw	x1, w0
	mov	x0, x20
	bl	_can_rx_offload_irq_offload_timestamp
	ldr	w1, [x22]
	mov	x0, x19
	bl	_hecc_read
                                        ; kill: def $w0 killed $w0 def $x0
	cbnz	w0, LBB0_37
LBB0_38:
	ldr	x8, [x19, #16]
	cmp	x8, #0
	csel	x20, x28, x27, eq
	ldr	w1, [x20]
	mov	x0, x19
	mov	x2, x21
	bl	_hecc_write
	ldr	w1, [x20]
	mov	x0, x19
	bl	_hecc_read
Lloh78:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh79:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
LBB0_39:
	ldr	w0, [x8]
	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
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpAdd	Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpAdd	Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGot	Lloh56, Lloh57
	.loh AdrpLdrGot	Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.loh AdrpLdrGot	Lloh67, Lloh68
	.loh AdrpLdrGot	Lloh65, Lloh66
	.loh AdrpLdrGot	Lloh63, Lloh64
	.loh AdrpLdrGot	Lloh71, Lloh72
	.loh AdrpLdrGot	Lloh69, Lloh70
	.loh AdrpLdrGotLdr	Lloh73, Lloh74, Lloh75
	.loh AdrpLdrGot	Lloh76, Lloh77
	.loh AdrpLdrGot	Lloh78, Lloh79
	.cfi_endproc
                                        ; -- End function
	.comm	_HECC_CANGIF1,4,2               ; @HECC_CANGIF1
	.comm	_HECC_CANGIF0,4,2               ; @HECC_CANGIF0
	.comm	_IRQ_NONE,4,2                   ; @IRQ_NONE
	.comm	_HECC_CANES,4,2                 ; @HECC_CANES
	.comm	_HECC_CANES_FLAGS,4,2           ; @HECC_CANES_FLAGS
	.comm	_HECC_CANGIM_DEF_MASK,4,2       ; @HECC_CANGIM_DEF_MASK
	.comm	_HECC_CANREC,4,2                ; @HECC_CANREC
	.comm	_HECC_CANTEC,4,2                ; @HECC_CANTEC
	.comm	_HECC_CANGIF_WLIF,4,2           ; @HECC_CANGIF_WLIF
	.comm	_CAN_STATE_ERROR_WARNING,4,2    ; @CAN_STATE_ERROR_WARNING
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Error Warning interrupt\n"

	.comm	_HECC_CANGIF_EPIF,4,2           ; @HECC_CANGIF_EPIF
	.comm	_CAN_STATE_ERROR_PASSIVE,4,2    ; @CAN_STATE_ERROR_PASSIVE
l_.str.1:                               ; @.str.1
	.asciz	"Error passive interrupt\n"

	.comm	_HECC_CANGIF_BOIF,4,2           ; @HECC_CANGIF_BOIF
	.comm	_CAN_STATE_BUS_OFF,4,2          ; @CAN_STATE_BUS_OFF
l_.str.2:                               ; @.str.2
	.asciz	"Bus off interrupt\n"

	.comm	_HECC_CANGIM,4,2                ; @HECC_CANGIM
	.comm	_CAN_STATE_ERROR_ACTIVE,8,3     ; @CAN_STATE_ERROR_ACTIVE
	.comm	_HECC_CANGIF_GMIF,4,2           ; @HECC_CANGIF_GMIF
	.comm	_HECC_CANTA,4,2                 ; @HECC_CANTA
	.comm	_HECC_CANME,4,2                 ; @HECC_CANME
	.comm	_CAN_LED_EVENT_TX,4,2           ; @CAN_LED_EVENT_TX
	.comm	_HECC_TX_MASK,4,2               ; @HECC_TX_MASK
	.comm	_HECC_CANRMP,4,2                ; @HECC_CANRMP
	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.no_dead_strip	_ti_hecc_interrupt
.subsections_via_symbols
