	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mcp251x_can_ist
_mcp251x_can_ist:                       ## @mcp251x_can_ist
	.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, %rbx
	movq	48(%rsi), %r15
	movq	56(%rsi), %r12
	leaq	8(%rsi), %rdi
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	callq	_mutex_lock
	cmpl	$0, (%rbx)
	je	LBB0_1
LBB0_52:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_mutex_unlock
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	_CANINTF_TX@GOTPCREL(%rip), %r14
	movq	_CAN_STATE_BUS_OFF@GOTPCREL(%rip), %r13
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_50:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %rdi
	callq	_netif_wake_queue
LBB0_51:                                ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$0, (%rbx)
	jne	LBB0_52
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	_CANINTF@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	leaq	-44(%rbp), %rdx
	leaq	-48(%rbp), %rcx
	callq	_mcp251x_read_2regs
	movl	(%r14), %eax
	movq	_CANINTF_RX@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_CANINTF_ERR@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	andl	-44(%rbp), %eax
	movl	%eax, -44(%rbp)
	movq	_CANINTF_RX0IF@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_mcp251x_hw_rx
	movq	%r12, %rdi
	callq	_mcp251x_is_2510
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_CANINTF@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_CANINTF_RX0IF@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	xorl	%ecx, %ecx
	callq	_mcp251x_write_bits
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	-44(%rbp), %eax
	movq	_CANINTF_RX1IF@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r12, %rdi
	movl	$1, %esi
	callq	_mcp251x_hw_rx
	movq	%r12, %rdi
	callq	_mcp251x_is_2510
	xorl	%ecx, %ecx
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_CANINTF_RX1IF@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	-44(%rbp), %eax
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	xorl	%ecx, %ecx
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r14), %edx
	movq	_CANINTF_ERR@GOTPCREL(%rip), %rsi
	orl	(%rsi), %edx
	andl	%eax, %edx
	orl	%ecx, %edx
	je	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	_CANINTF@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	xorl	%ecx, %ecx
	callq	_mcp251x_write_bits
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	-48(%rbp), %edx
	movq	_EFLG_RX1OVR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_EFLG_RX0OVR@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	testl	%edx, %eax
	je	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	_EFLG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	xorl	%ecx, %ecx
	callq	_mcp251x_write_bits
	movl	-48(%rbp), %edx
LBB0_14:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_EFLG_TXBO@GOTPCREL(%rip), %rax
	testl	%edx, (%rax)
	je	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r13), %ecx
	movq	_CAN_ERR_BUSOFF@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%r8d, %r8d
	jmp	LBB0_26
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_EFLG_TXEP@GOTPCREL(%rip), %rax
	testl	%edx, (%rax)
	je	LBB0_18
## %bb.17:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	_CAN_STATE_ERROR_PASSIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_CAN_ERR_CRTL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_CAN_ERR_CRTL_TX_PASSIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	jmp	LBB0_26
LBB0_18:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_EFLG_RXEP@GOTPCREL(%rip), %rax
	testl	%edx, (%rax)
	je	LBB0_20
## %bb.19:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	_CAN_STATE_ERROR_PASSIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_CAN_ERR_CRTL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_CAN_ERR_CRTL_RX_PASSIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	jmp	LBB0_26
LBB0_20:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_EFLG_TXWAR@GOTPCREL(%rip), %rax
	testl	%edx, (%rax)
	je	LBB0_22
## %bb.21:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	_CAN_ERR_CRTL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_CAN_ERR_CRTL_TX_WARNING@GOTPCREL(%rip), %rax
	jmp	LBB0_25
LBB0_22:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_EFLG_RXWAR@GOTPCREL(%rip), %rax
	testl	%edx, (%rax)
	je	LBB0_23
## %bb.24:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	_CAN_ERR_CRTL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_CAN_ERR_CRTL_RX_WARNING@GOTPCREL(%rip), %rax
LBB0_25:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	(%rax), %r8d
	movl	$128, %ecx
	.p2align	4, 0x90
LBB0_26:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	16(%rbx), %edi
	cmpl	$129, %edi
	je	LBB0_29
## %bb.27:                              ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$128, %edi
	jne	LBB0_35
## %bb.28:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r13), %edi
	jmp	LBB0_32
	.p2align	4, 0x90
LBB0_29:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r13), %edi
	cmpl	$128, %ecx
	jb	LBB0_32
## %bb.30:                              ##   in Loop: Header=BB0_2 Depth=1
	cmpl	%edi, %ecx
	ja	LBB0_32
## %bb.31:                              ##   in Loop: Header=BB0_2 Depth=1
	incl	40(%rbx)
LBB0_32:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_CAN_STATE_ERROR_PASSIVE@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ecx
	jb	LBB0_35
## %bb.33:                              ##   in Loop: Header=BB0_2 Depth=1
	cmpl	%edi, %ecx
	ja	LBB0_35
## %bb.34:                              ##   in Loop: Header=BB0_2 Depth=1
	incl	36(%rbx)
LBB0_35:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	%ecx, 16(%rbx)
	movq	_CANINTF_ERRIF@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	testl	%edi, -44(%rbp)
	je	LBB0_43
## %bb.36:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	_EFLG_RX0OVR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_EFLG_RX1OVR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, %ecx
	orl	%edi, %ecx
	testl	%edx, %ecx
	je	LBB0_42
## %bb.37:                              ##   in Loop: Header=BB0_2 Depth=1
	testl	%edx, %edi
	je	LBB0_39
## %bb.38:                              ##   in Loop: Header=BB0_2 Depth=1
	incl	12(%r15)
	incl	8(%r15)
LBB0_39:                                ##   in Loop: Header=BB0_2 Depth=1
	testl	%edx, %eax
	je	LBB0_41
## %bb.40:                              ##   in Loop: Header=BB0_2 Depth=1
	incl	12(%r15)
	incl	8(%r15)
LBB0_41:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_CAN_ERR_CRTL@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	movq	_CAN_ERR_CRTL_RX_OVERFLOW@GOTPCREL(%rip), %rax
	orl	(%rax), %r8d
LBB0_42:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %rdi
	movl	%r8d, %edx
	callq	_mcp251x_error_skb
	movl	16(%rbx), %ecx
LBB0_43:                                ##   in Loop: Header=BB0_2 Depth=1
	cmpl	(%r13), %ecx
	jne	LBB0_46
## %bb.44:                              ##   in Loop: Header=BB0_2 Depth=1
	cmpq	$0, 24(%rbx)
	je	LBB0_45
LBB0_46:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	-44(%rbp), %eax
	testl	%eax, %eax
	je	LBB0_52
## %bb.47:                              ##   in Loop: Header=BB0_2 Depth=1
	testl	%eax, (%r14)
	je	LBB0_51
## %bb.48:                              ##   in Loop: Header=BB0_2 Depth=1
	incl	4(%r15)
	movl	4(%rbx), %eax
	movl	(%r15), %ecx
	addl	%ecx, %eax
	decl	%eax
	movl	%eax, (%r15)
	movq	_CAN_LED_EVENT_TX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_can_led_event
	cmpl	$0, 4(%rbx)
	je	LBB0_50
## %bb.49:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_can_get_echo_skb
	movl	$0, 4(%rbx)
	jmp	LBB0_50
LBB0_23:                                ##   in Loop: Header=BB0_2 Depth=1
	xorl	%esi, %esi
	movl	$129, %ecx
	xorl	%r8d, %r8d
	jmp	LBB0_26
LBB0_45:
	movl	$1, (%rbx)
	incl	32(%rbx)
	movq	%r15, %rdi
	callq	_can_bus_off
	movq	%r12, %rdi
	callq	_mcp251x_hw_sleep
	jmp	LBB0_52
	.cfi_endproc
                                        ## -- End function
	.comm	_CANINTF,4,2                    ## @CANINTF
	.comm	_CANINTF_RX,4,2                 ## @CANINTF_RX
	.comm	_CANINTF_TX,4,2                 ## @CANINTF_TX
	.comm	_CANINTF_ERR,4,2                ## @CANINTF_ERR
	.comm	_CANINTF_RX0IF,4,2              ## @CANINTF_RX0IF
	.comm	_CANINTF_RX1IF,4,2              ## @CANINTF_RX1IF
	.comm	_EFLG_RX0OVR,4,2                ## @EFLG_RX0OVR
	.comm	_EFLG_RX1OVR,4,2                ## @EFLG_RX1OVR
	.comm	_EFLG,4,2                       ## @EFLG
	.comm	_EFLG_TXBO,4,2                  ## @EFLG_TXBO
	.comm	_CAN_STATE_BUS_OFF,4,2          ## @CAN_STATE_BUS_OFF
	.comm	_CAN_ERR_BUSOFF,4,2             ## @CAN_ERR_BUSOFF
	.comm	_EFLG_TXEP,4,2                  ## @EFLG_TXEP
	.comm	_CAN_STATE_ERROR_PASSIVE,4,2    ## @CAN_STATE_ERROR_PASSIVE
	.comm	_CAN_ERR_CRTL,4,2               ## @CAN_ERR_CRTL
	.comm	_CAN_ERR_CRTL_TX_PASSIVE,4,2    ## @CAN_ERR_CRTL_TX_PASSIVE
	.comm	_EFLG_RXEP,4,2                  ## @EFLG_RXEP
	.comm	_CAN_ERR_CRTL_RX_PASSIVE,4,2    ## @CAN_ERR_CRTL_RX_PASSIVE
	.comm	_EFLG_TXWAR,4,2                 ## @EFLG_TXWAR
	.comm	_CAN_ERR_CRTL_TX_WARNING,4,2    ## @CAN_ERR_CRTL_TX_WARNING
	.comm	_EFLG_RXWAR,4,2                 ## @EFLG_RXWAR
	.comm	_CAN_ERR_CRTL_RX_WARNING,4,2    ## @CAN_ERR_CRTL_RX_WARNING
	.comm	_CANINTF_ERRIF,4,2              ## @CANINTF_ERRIF
	.comm	_CAN_ERR_CRTL_RX_OVERFLOW,4,2   ## @CAN_ERR_CRTL_RX_OVERFLOW
	.comm	_CAN_LED_EVENT_TX,4,2           ## @CAN_LED_EVENT_TX
	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.no_dead_strip	_mcp251x_can_ist
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mcp251x_can_ist
_mcp251x_can_ist:                       ; @mcp251x_can_ist
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x22, x1
	ldp	x21, x20, [x1, #48]
	add	x0, x1, #8
	str	x0, [sp]                        ; 8-byte Folded Spill
	bl	_mutex_lock
	ldr	w8, [x22]
	cbz	w8, LBB0_2
LBB0_1:
	ldr	x0, [sp]                        ; 8-byte Folded Reload
	bl	_mutex_unlock
Lloh0:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_2:
Lloh3:
	adrp	x23, _CANINTF@GOTPAGE
Lloh4:
	ldr	x23, [x23, _CANINTF@GOTPAGEOFF]
Lloh5:
	adrp	x25, _CANINTF_TX@GOTPAGE
Lloh6:
	ldr	x25, [x25, _CANINTF_TX@GOTPAGEOFF]
Lloh7:
	adrp	x26, _CANINTF_ERR@GOTPAGE
Lloh8:
	ldr	x26, [x26, _CANINTF_ERR@GOTPAGEOFF]
Lloh9:
	adrp	x28, _CANINTF_RX1IF@GOTPAGE
Lloh10:
	ldr	x28, [x28, _CANINTF_RX1IF@GOTPAGEOFF]
Lloh11:
	adrp	x24, _EFLG_RX0OVR@GOTPAGE
Lloh12:
	ldr	x24, [x24, _EFLG_RX0OVR@GOTPAGEOFF]
Lloh13:
	adrp	x19, _EFLG_RX1OVR@GOTPAGE
Lloh14:
	ldr	x19, [x19, _EFLG_RX1OVR@GOTPAGEOFF]
Lloh15:
	adrp	x27, _CAN_STATE_BUS_OFF@GOTPAGE
Lloh16:
	ldr	x27, [x27, _CAN_STATE_BUS_OFF@GOTPAGEOFF]
	b	LBB0_5
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x21
	bl	_netif_wake_queue
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [x22]
	cbnz	w8, LBB0_1
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x23]
	add	x2, sp, #12
	add	x3, sp, #8
	mov	x0, x20
	bl	_mcp251x_read_2regs
Lloh17:
	adrp	x8, _CANINTF_RX@GOTPAGE
Lloh18:
	ldr	x8, [x8, _CANINTF_RX@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	ldr	w9, [x25]
	orr	w8, w9, w8
	ldr	w9, [x26]
	orr	w8, w8, w9
	ldr	w9, [sp, #12]
	and	w8, w9, w8
	str	w8, [sp, #12]
Lloh20:
	adrp	x9, _CANINTF_RX0IF@GOTPAGE
Lloh21:
	ldr	x9, [x9, _CANINTF_RX0IF@GOTPAGEOFF]
Lloh22:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_8
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x20
	mov	w1, #0
	bl	_mcp251x_hw_rx
	mov	x0, x20
	bl	_mcp251x_is_2510
	cbz	x0, LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w1, [x23]
Lloh23:
	adrp	x8, _CANINTF_RX0IF@GOTPAGE
Lloh24:
	ldr	x8, [x8, _CANINTF_RX0IF@GOTPAGEOFF]
Lloh25:
	ldr	w2, [x8]
	mov	x0, x20
	mov	w3, #0
	bl	_mcp251x_write_bits
LBB0_8:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [sp, #12]
	ldr	w9, [x28]
	tst	w9, w8
	b.eq	LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x20
	mov	w1, #1
	bl	_mcp251x_hw_rx
	mov	x0, x20
	bl	_mcp251x_is_2510
	ldr	w8, [x28]
	cmp	x0, #0
	csel	w9, wzr, w8, eq
	ldr	w8, [sp, #12]
	b	LBB0_11
LBB0_10:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	w9, #0
LBB0_11:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w10, [x26]
	ldr	w11, [x25]
	orr	w10, w11, w10
	and	w8, w10, w8
	orr	w2, w8, w9
	cbz	w2, LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	w1, [x23]
	mov	x0, x20
	mov	w3, #0
	bl	_mcp251x_write_bits
LBB0_13:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w2, [sp, #8]
	ldr	w8, [x24]
	ldr	w9, [x19]
	orr	w8, w9, w8
	tst	w8, w2
	b.eq	LBB0_15
; %bb.14:                               ;   in Loop: Header=BB0_5 Depth=1
Lloh26:
	adrp	x8, _EFLG@GOTPAGE
Lloh27:
	ldr	x8, [x8, _EFLG@GOTPAGEOFF]
Lloh28:
	ldr	w1, [x8]
	mov	x0, x20
	mov	w3, #0
	bl	_mcp251x_write_bits
	ldr	w2, [sp, #8]
LBB0_15:                                ;   in Loop: Header=BB0_5 Depth=1
Lloh29:
	adrp	x8, _EFLG_TXBO@GOTPAGE
Lloh30:
	ldr	x8, [x8, _EFLG_TXBO@GOTPAGEOFF]
Lloh31:
	ldr	w8, [x8]
	tst	w8, w2
	b.eq	LBB0_17
; %bb.16:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	w8, #0
	ldr	w9, [x27]
Lloh32:
	adrp	x10, _CAN_ERR_BUSOFF@GOTPAGE
Lloh33:
	ldr	x10, [x10, _CAN_ERR_BUSOFF@GOTPAGEOFF]
Lloh34:
	ldr	w1, [x10]
	b	LBB0_26
LBB0_17:                                ;   in Loop: Header=BB0_5 Depth=1
Lloh35:
	adrp	x8, _EFLG_TXEP@GOTPAGE
Lloh36:
	ldr	x8, [x8, _EFLG_TXEP@GOTPAGEOFF]
Lloh37:
	ldr	w8, [x8]
	tst	w8, w2
	b.eq	LBB0_19
; %bb.18:                               ;   in Loop: Header=BB0_5 Depth=1
Lloh38:
	adrp	x8, _CAN_STATE_ERROR_PASSIVE@GOTPAGE
Lloh39:
	ldr	x8, [x8, _CAN_STATE_ERROR_PASSIVE@GOTPAGEOFF]
Lloh40:
	ldr	w9, [x8]
Lloh41:
	adrp	x8, _CAN_ERR_CRTL@GOTPAGE
Lloh42:
	ldr	x8, [x8, _CAN_ERR_CRTL@GOTPAGEOFF]
Lloh43:
	ldr	w1, [x8]
Lloh44:
	adrp	x8, _CAN_ERR_CRTL_TX_PASSIVE@GOTPAGE
Lloh45:
	ldr	x8, [x8, _CAN_ERR_CRTL_TX_PASSIVE@GOTPAGEOFF]
Lloh46:
	ldr	w8, [x8]
	b	LBB0_26
LBB0_19:                                ;   in Loop: Header=BB0_5 Depth=1
Lloh47:
	adrp	x8, _EFLG_RXEP@GOTPAGE
Lloh48:
	ldr	x8, [x8, _EFLG_RXEP@GOTPAGEOFF]
Lloh49:
	ldr	w8, [x8]
	tst	w8, w2
	b.eq	LBB0_21
; %bb.20:                               ;   in Loop: Header=BB0_5 Depth=1
Lloh50:
	adrp	x8, _CAN_STATE_ERROR_PASSIVE@GOTPAGE
Lloh51:
	ldr	x8, [x8, _CAN_STATE_ERROR_PASSIVE@GOTPAGEOFF]
Lloh52:
	ldr	w9, [x8]
Lloh53:
	adrp	x8, _CAN_ERR_CRTL@GOTPAGE
Lloh54:
	ldr	x8, [x8, _CAN_ERR_CRTL@GOTPAGEOFF]
Lloh55:
	ldr	w1, [x8]
Lloh56:
	adrp	x8, _CAN_ERR_CRTL_RX_PASSIVE@GOTPAGE
Lloh57:
	ldr	x8, [x8, _CAN_ERR_CRTL_RX_PASSIVE@GOTPAGEOFF]
Lloh58:
	ldr	w8, [x8]
	b	LBB0_26
LBB0_21:                                ;   in Loop: Header=BB0_5 Depth=1
Lloh59:
	adrp	x8, _EFLG_TXWAR@GOTPAGE
Lloh60:
	ldr	x8, [x8, _EFLG_TXWAR@GOTPAGEOFF]
Lloh61:
	ldr	w8, [x8]
	tst	w8, w2
	b.eq	LBB0_23
; %bb.22:                               ;   in Loop: Header=BB0_5 Depth=1
Lloh62:
	adrp	x8, _CAN_ERR_CRTL@GOTPAGE
Lloh63:
	ldr	x8, [x8, _CAN_ERR_CRTL@GOTPAGEOFF]
Lloh64:
	ldr	w1, [x8]
Lloh65:
	adrp	x8, _CAN_ERR_CRTL_TX_WARNING@GOTPAGE
Lloh66:
	ldr	x8, [x8, _CAN_ERR_CRTL_TX_WARNING@GOTPAGEOFF]
	b	LBB0_25
LBB0_23:                                ;   in Loop: Header=BB0_5 Depth=1
Lloh67:
	adrp	x8, _EFLG_RXWAR@GOTPAGE
Lloh68:
	ldr	x8, [x8, _EFLG_RXWAR@GOTPAGEOFF]
Lloh69:
	ldr	w8, [x8]
	tst	w8, w2
	b.eq	LBB0_49
; %bb.24:                               ;   in Loop: Header=BB0_5 Depth=1
Lloh70:
	adrp	x8, _CAN_ERR_CRTL@GOTPAGE
Lloh71:
	ldr	x8, [x8, _CAN_ERR_CRTL@GOTPAGEOFF]
Lloh72:
	ldr	w1, [x8]
Lloh73:
	adrp	x8, _CAN_ERR_CRTL_RX_WARNING@GOTPAGE
Lloh74:
	ldr	x8, [x8, _CAN_ERR_CRTL_RX_WARNING@GOTPAGEOFF]
LBB0_25:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [x8]
	mov	w9, #128
LBB0_26:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w10, [x22, #16]
	cmp	w10, #129
	b.eq	LBB0_29
; %bb.27:                               ;   in Loop: Header=BB0_5 Depth=1
	cmp	w10, #128
	b.ne	LBB0_35
; %bb.28:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	w10, [x27]
	b	LBB0_32
LBB0_29:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w10, [x27]
	cmp	w9, #128
	b.lo	LBB0_32
; %bb.30:                               ;   in Loop: Header=BB0_5 Depth=1
	cmp	w9, w10
	b.hi	LBB0_32
; %bb.31:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	w11, [x22, #40]
	add	w11, w11, #1
	str	w11, [x22, #40]
LBB0_32:                                ;   in Loop: Header=BB0_5 Depth=1
Lloh75:
	adrp	x11, _CAN_STATE_ERROR_PASSIVE@GOTPAGE
Lloh76:
	ldr	x11, [x11, _CAN_STATE_ERROR_PASSIVE@GOTPAGEOFF]
Lloh77:
	ldr	w11, [x11]
	cmp	w9, w11
	b.lo	LBB0_35
; %bb.33:                               ;   in Loop: Header=BB0_5 Depth=1
	cmp	w9, w10
	b.hi	LBB0_35
; %bb.34:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	w10, [x22, #36]
	add	w10, w10, #1
	str	w10, [x22, #36]
LBB0_35:                                ;   in Loop: Header=BB0_5 Depth=1
	str	w9, [x22, #16]
	ldr	w10, [sp, #12]
Lloh78:
	adrp	x11, _CANINTF_ERRIF@GOTPAGE
Lloh79:
	ldr	x11, [x11, _CANINTF_ERRIF@GOTPAGEOFF]
Lloh80:
	ldr	w11, [x11]
	tst	w11, w10
	b.eq	LBB0_43
; %bb.36:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	w10, [x24]
	ldr	w9, [x19]
	orr	w11, w9, w10
	tst	w11, w2
	b.eq	LBB0_42
; %bb.37:                               ;   in Loop: Header=BB0_5 Depth=1
	tst	w10, w2
	b.eq	LBB0_39
; %bb.38:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	d0, [x21, #8]
	movi.2s	v1, #1
	add.2s	v0, v0, v1
	str	d0, [x21, #8]
LBB0_39:                                ;   in Loop: Header=BB0_5 Depth=1
	tst	w9, w2
	b.eq	LBB0_41
; %bb.40:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	d0, [x21, #8]
	movi.2s	v1, #1
	add.2s	v0, v0, v1
	str	d0, [x21, #8]
LBB0_41:                                ;   in Loop: Header=BB0_5 Depth=1
Lloh81:
	adrp	x9, _CAN_ERR_CRTL@GOTPAGE
Lloh82:
	ldr	x9, [x9, _CAN_ERR_CRTL@GOTPAGEOFF]
Lloh83:
	ldr	w9, [x9]
	orr	w1, w9, w1
Lloh84:
	adrp	x9, _CAN_ERR_CRTL_RX_OVERFLOW@GOTPAGE
Lloh85:
	ldr	x9, [x9, _CAN_ERR_CRTL_RX_OVERFLOW@GOTPAGEOFF]
Lloh86:
	ldr	w9, [x9]
	orr	w8, w9, w8
LBB0_42:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x21
	mov	x2, x8
	bl	_mcp251x_error_skb
	ldr	w9, [x22, #16]
LBB0_43:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [x27]
	cmp	w9, w8
	b.ne	LBB0_45
; %bb.44:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x22, #24]
	cbz	x8, LBB0_50
LBB0_45:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [sp, #12]
	cbz	w8, LBB0_1
; %bb.46:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	w9, [x25]
	tst	w9, w8
	b.eq	LBB0_4
; %bb.47:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [x22, #4]
	sub	w8, w8, #1
	ldr	d0, [x21]
	movi.2s	v1, #1
	mov.s	v1[0], w8
	add.2s	v0, v1, v0
	str	d0, [x21]
Lloh87:
	adrp	x8, _CAN_LED_EVENT_TX@GOTPAGE
Lloh88:
	ldr	x8, [x8, _CAN_LED_EVENT_TX@GOTPAGEOFF]
Lloh89:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_can_led_event
	ldr	w8, [x22, #4]
	cbz	w8, LBB0_3
; %bb.48:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x21
	mov	w1, #0
	bl	_can_get_echo_skb
	str	wzr, [x22, #4]
	b	LBB0_3
LBB0_49:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	w1, #0
	mov	w8, #0
	mov	w9, #129
	b	LBB0_26
LBB0_50:
	mov	w8, #1
	str	w8, [x22]
	ldr	w8, [x22, #32]
	add	w8, w8, #1
	str	w8, [x22, #32]
	mov	x0, x21
	bl	_can_bus_off
	mov	x0, x20
	bl	_mcp251x_hw_sleep
	b	LBB0_1
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh59, Lloh60, Lloh61
	.loh AdrpLdrGot	Lloh65, Lloh66
	.loh AdrpLdrGotLdr	Lloh62, Lloh63, Lloh64
	.loh AdrpLdrGotLdr	Lloh67, Lloh68, Lloh69
	.loh AdrpLdrGot	Lloh73, Lloh74
	.loh AdrpLdrGotLdr	Lloh70, Lloh71, Lloh72
	.loh AdrpLdrGotLdr	Lloh75, Lloh76, Lloh77
	.loh AdrpLdrGotLdr	Lloh78, Lloh79, Lloh80
	.loh AdrpLdrGotLdr	Lloh84, Lloh85, Lloh86
	.loh AdrpLdrGotLdr	Lloh81, Lloh82, Lloh83
	.loh AdrpLdrGotLdr	Lloh87, Lloh88, Lloh89
	.cfi_endproc
                                        ; -- End function
	.comm	_CANINTF,4,2                    ; @CANINTF
	.comm	_CANINTF_RX,4,2                 ; @CANINTF_RX
	.comm	_CANINTF_TX,4,2                 ; @CANINTF_TX
	.comm	_CANINTF_ERR,4,2                ; @CANINTF_ERR
	.comm	_CANINTF_RX0IF,4,2              ; @CANINTF_RX0IF
	.comm	_CANINTF_RX1IF,4,2              ; @CANINTF_RX1IF
	.comm	_EFLG_RX0OVR,4,2                ; @EFLG_RX0OVR
	.comm	_EFLG_RX1OVR,4,2                ; @EFLG_RX1OVR
	.comm	_EFLG,4,2                       ; @EFLG
	.comm	_EFLG_TXBO,4,2                  ; @EFLG_TXBO
	.comm	_CAN_STATE_BUS_OFF,4,2          ; @CAN_STATE_BUS_OFF
	.comm	_CAN_ERR_BUSOFF,4,2             ; @CAN_ERR_BUSOFF
	.comm	_EFLG_TXEP,4,2                  ; @EFLG_TXEP
	.comm	_CAN_STATE_ERROR_PASSIVE,4,2    ; @CAN_STATE_ERROR_PASSIVE
	.comm	_CAN_ERR_CRTL,4,2               ; @CAN_ERR_CRTL
	.comm	_CAN_ERR_CRTL_TX_PASSIVE,4,2    ; @CAN_ERR_CRTL_TX_PASSIVE
	.comm	_EFLG_RXEP,4,2                  ; @EFLG_RXEP
	.comm	_CAN_ERR_CRTL_RX_PASSIVE,4,2    ; @CAN_ERR_CRTL_RX_PASSIVE
	.comm	_EFLG_TXWAR,4,2                 ; @EFLG_TXWAR
	.comm	_CAN_ERR_CRTL_TX_WARNING,4,2    ; @CAN_ERR_CRTL_TX_WARNING
	.comm	_EFLG_RXWAR,4,2                 ; @EFLG_RXWAR
	.comm	_CAN_ERR_CRTL_RX_WARNING,4,2    ; @CAN_ERR_CRTL_RX_WARNING
	.comm	_CANINTF_ERRIF,4,2              ; @CANINTF_ERRIF
	.comm	_CAN_ERR_CRTL_RX_OVERFLOW,4,2   ; @CAN_ERR_CRTL_RX_OVERFLOW
	.comm	_CAN_LED_EVENT_TX,4,2           ; @CAN_LED_EVENT_TX
	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.no_dead_strip	_mcp251x_can_ist
.subsections_via_symbols
