	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function m_can_isr
_m_can_isr:                             ## @m_can_isr
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rsi, %rdi
	callq	_netdev_priv
	movq	%rax, %r15
	movq	_M_CAN_IR@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	%rax, %rdi
	callq	_m_can_read
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movl	%eax, %ebx
	movq	_IR_ALL_INT@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_4
## %bb.3:
	movl	(%r12), %esi
	movq	%r15, %rdi
	movl	%ebx, %edx
	callq	_m_can_write
LBB0_4:
	movq	16(%r15), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	%r15, %rdi
	callq	*%rax
LBB0_6:
	movq	_IR_RF0N@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	jne	LBB0_8
## %bb.7:
	movq	_IR_ERR_ALL_30X@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_11
LBB0_8:
	movl	%ebx, (%r15)
	movq	%r15, %rdi
	callq	_m_can_disable_all_interrupts
	cmpl	$0, 12(%r15)
	je	LBB0_9
## %bb.10:
	movq	%r14, %rdi
	callq	_m_can_rx_peripheral
LBB0_11:
	cmpl	$30, 4(%r15)
	jne	LBB0_14
LBB0_12:
	movq	_IR_TC@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_18
## %bb.13:
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_can_get_echo_skb
	addl	%eax, 4(%r14)
	incl	(%r14)
	movq	_CAN_LED_EVENT_TX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_can_led_event
LBB0_17:
	movq	%r14, %rdi
	callq	_netif_wake_queue
LBB0_18:
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %r12
	jmp	LBB0_19
LBB0_1:
	movq	_IRQ_NONE@GOTPCREL(%rip), %r12
	jmp	LBB0_19
LBB0_9:
	movq	%r15, %rdi
	addq	$8, %rdi
	callq	_napi_schedule
	cmpl	$30, 4(%r15)
	je	LBB0_12
LBB0_14:
	movq	_IR_TEFN@GOTPCREL(%rip), %rax
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %r12
	testl	%ebx, (%rax)
	je	LBB0_19
## %bb.15:
	movq	%r14, %rdi
	callq	_m_can_echo_tx_event
	movq	_CAN_LED_EVENT_TX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_can_led_event
	movq	%r14, %rdi
	callq	_netif_queue_stopped
	testq	%rax, %rax
	je	LBB0_19
## %bb.16:
	movq	%r15, %rdi
	callq	_m_can_tx_fifo_full
	testl	%eax, %eax
	je	LBB0_17
LBB0_19:
	movl	(%r12), %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_M_CAN_IR,4,2                   ## @M_CAN_IR
	.comm	_IRQ_NONE,4,2                   ## @IRQ_NONE
	.comm	_IR_ALL_INT,4,2                 ## @IR_ALL_INT
	.comm	_IR_RF0N,4,2                    ## @IR_RF0N
	.comm	_IR_ERR_ALL_30X,4,2             ## @IR_ERR_ALL_30X
	.comm	_IR_TC,4,2                      ## @IR_TC
	.comm	_CAN_LED_EVENT_TX,4,2           ## @CAN_LED_EVENT_TX
	.comm	_IR_TEFN,4,2                    ## @IR_TEFN
	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.no_dead_strip	_m_can_isr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function m_can_isr
_m_can_isr:                             ; @m_can_isr
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x1
	mov	x0, x1
	bl	_netdev_priv
	mov	x20, x0
Lloh0:
	adrp	x22, _M_CAN_IR@GOTPAGE
Lloh1:
	ldr	x22, [x22, _M_CAN_IR@GOTPAGEOFF]
	ldr	w1, [x22]
	bl	_m_can_read
	cbz	w0, LBB0_9
; %bb.1:
	mov	x21, x0
Lloh2:
	adrp	x8, _IR_ALL_INT@GOTPAGE
Lloh3:
	ldr	x8, [x8, _IR_ALL_INT@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_3
; %bb.2:
	ldr	w1, [x22]
	mov	x0, x20
	mov	x2, x21
	bl	_m_can_write
LBB0_3:
	ldr	x8, [x20, #16]
	ldr	x8, [x8]
	cbz	x8, LBB0_5
; %bb.4:
	mov	x0, x20
	blr	x8
LBB0_5:
Lloh5:
	adrp	x8, _IR_RF0N@GOTPAGE
Lloh6:
	ldr	x8, [x8, _IR_RF0N@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	tst	w8, w21
	b.ne	LBB0_7
; %bb.6:
Lloh8:
	adrp	x8, _IR_ERR_ALL_30X@GOTPAGE
Lloh9:
	ldr	x8, [x8, _IR_ERR_ALL_30X@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_11
LBB0_7:
	str	w21, [x20]
	mov	x0, x20
	bl	_m_can_disable_all_interrupts
	ldr	w8, [x20, #12]
	cbz	w8, LBB0_10
; %bb.8:
	mov	x0, x19
	bl	_m_can_rx_peripheral
	b	LBB0_11
LBB0_9:
Lloh11:
	adrp	x8, _IRQ_NONE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _IRQ_NONE@GOTPAGEOFF]
	b	LBB0_19
LBB0_10:
	add	x0, x20, #8
	bl	_napi_schedule
LBB0_11:
	ldr	w8, [x20, #4]
	cmp	w8, #30
	b.ne	LBB0_15
; %bb.12:
Lloh13:
	adrp	x8, _IR_TC@GOTPAGE
Lloh14:
	ldr	x8, [x8, _IR_TC@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_18
; %bb.13:
	mov	x0, x19
	mov	w1, #0
	bl	_can_get_echo_skb
	ldp	w9, w8, [x19]
	add	w8, w8, w0
	add	w9, w9, #1
	stp	w9, w8, [x19]
Lloh16:
	adrp	x8, _CAN_LED_EVENT_TX@GOTPAGE
Lloh17:
	ldr	x8, [x8, _CAN_LED_EVENT_TX@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_can_led_event
LBB0_14:
	mov	x0, x19
	bl	_netif_wake_queue
	b	LBB0_18
LBB0_15:
Lloh19:
	adrp	x8, _IR_TEFN@GOTPAGE
Lloh20:
	ldr	x8, [x8, _IR_TEFN@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_18
; %bb.16:
	mov	x0, x19
	bl	_m_can_echo_tx_event
Lloh22:
	adrp	x8, _CAN_LED_EVENT_TX@GOTPAGE
Lloh23:
	ldr	x8, [x8, _CAN_LED_EVENT_TX@GOTPAGEOFF]
Lloh24:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_can_led_event
	mov	x0, x19
	bl	_netif_queue_stopped
	cbz	x0, LBB0_18
; %bb.17:
	mov	x0, x20
	bl	_m_can_tx_fifo_full
	cbz	w0, LBB0_14
LBB0_18:
Lloh25:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh26:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
LBB0_19:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.comm	_M_CAN_IR,4,2                   ; @M_CAN_IR
	.comm	_IRQ_NONE,4,2                   ; @IRQ_NONE
	.comm	_IR_ALL_INT,4,2                 ; @IR_ALL_INT
	.comm	_IR_RF0N,4,2                    ; @IR_RF0N
	.comm	_IR_ERR_ALL_30X,4,2             ; @IR_ERR_ALL_30X
	.comm	_IR_TC,4,2                      ; @IR_TC
	.comm	_CAN_LED_EVENT_TX,4,2           ; @CAN_LED_EVENT_TX
	.comm	_IR_TEFN,4,2                    ; @IR_TEFN
	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.no_dead_strip	_m_can_isr
.subsections_via_symbols
