	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rcar_can_interrupt
_rcar_can_interrupt:                    ## @rcar_can_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rsi, %rdi
	callq	_netdev_priv
	movq	%rax, %r15
	movq	8(%rax), %rdi
	addq	$4, %rdi
	callq	_readb
	testl	%eax, (%r15)
	je	LBB0_1
## %bb.2:
	movl	%eax, %ebx
	movq	_RCAR_CAN_ISR_ERSF@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_4
## %bb.3:
	movq	%r14, %rdi
	callq	_rcar_can_error
LBB0_4:
	movq	_RCAR_CAN_ISR_TXFF@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_6
## %bb.5:
	movq	%r14, %rdi
	callq	_rcar_can_tx_done
LBB0_6:
	movq	_RCAR_CAN_ISR_RXFF@GOTPCREL(%rip), %rax
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %r14
	testl	%ebx, (%rax)
	je	LBB0_9
## %bb.7:
	leaq	4(%r15), %rbx
	movq	%rbx, %rdi
	callq	_napi_schedule_prep
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	movq	_RCAR_CAN_IER_RXFIE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	notl	%edi
	andl	(%r15), %edi
	movl	%edi, (%r15)
	movq	8(%r15), %rsi
	callq	_writeb
	movq	%rbx, %rdi
	callq	___napi_schedule
	jmp	LBB0_9
LBB0_1:
	movq	_IRQ_NONE@GOTPCREL(%rip), %r14
LBB0_9:
	movl	(%r14), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IRQ_NONE,4,2                   ## @IRQ_NONE
	.comm	_RCAR_CAN_ISR_ERSF,4,2          ## @RCAR_CAN_ISR_ERSF
	.comm	_RCAR_CAN_ISR_TXFF,4,2          ## @RCAR_CAN_ISR_TXFF
	.comm	_RCAR_CAN_ISR_RXFF,4,2          ## @RCAR_CAN_ISR_RXFF
	.comm	_RCAR_CAN_IER_RXFIE,4,2         ## @RCAR_CAN_IER_RXFIE
	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.no_dead_strip	_rcar_can_interrupt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rcar_can_interrupt
_rcar_can_interrupt:                    ; @rcar_can_interrupt
	.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	x20, x1
	mov	x0, x1
	bl	_netdev_priv
	mov	x19, x0
	ldr	x8, [x0, #8]
	add	x0, x8, #4
	bl	_readb
	ldr	w8, [x19]
	tst	w8, w0
	b.eq	LBB0_9
; %bb.1:
	mov	x21, x0
Lloh0:
	adrp	x8, _RCAR_CAN_ISR_ERSF@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RCAR_CAN_ISR_ERSF@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_3
; %bb.2:
	mov	x0, x20
	bl	_rcar_can_error
LBB0_3:
Lloh3:
	adrp	x8, _RCAR_CAN_ISR_TXFF@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RCAR_CAN_ISR_TXFF@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_5
; %bb.4:
	mov	x0, x20
	bl	_rcar_can_tx_done
LBB0_5:
Lloh6:
	adrp	x8, _RCAR_CAN_ISR_RXFF@GOTPAGE
Lloh7:
	ldr	x8, [x8, _RCAR_CAN_ISR_RXFF@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_8
; %bb.6:
	add	x20, x19, #4
	mov	x0, x20
	bl	_napi_schedule_prep
	cbz	x0, LBB0_8
; %bb.7:
Lloh9:
	adrp	x8, _RCAR_CAN_IER_RXFIE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _RCAR_CAN_IER_RXFIE@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	ldr	w9, [x19]
	bic	w0, w9, w8
	str	w0, [x19]
	ldr	x1, [x19, #8]
	bl	_writeb
	mov	x0, x20
	bl	___napi_schedule
LBB0_8:
Lloh12:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh13:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
	b	LBB0_10
LBB0_9:
Lloh14:
	adrp	x8, _IRQ_NONE@GOTPAGE
Lloh15:
	ldr	x8, [x8, _IRQ_NONE@GOTPAGEOFF]
LBB0_10:
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_IRQ_NONE,4,2                   ; @IRQ_NONE
	.comm	_RCAR_CAN_ISR_ERSF,4,2          ; @RCAR_CAN_ISR_ERSF
	.comm	_RCAR_CAN_ISR_TXFF,4,2          ; @RCAR_CAN_ISR_TXFF
	.comm	_RCAR_CAN_ISR_RXFF,4,2          ; @RCAR_CAN_ISR_RXFF
	.comm	_RCAR_CAN_IER_RXFIE,4,2         ; @RCAR_CAN_IER_RXFIE
	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.no_dead_strip	_rcar_can_interrupt
.subsections_via_symbols
