	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rcar_canfd_global_error
_rcar_canfd_global_error:               ## @rcar_canfd_global_error
	.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	%rdi, %r14
	callq	_netdev_priv
	movq	%rax, %r13
	movq	8(%rax), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movl	(%r13), %r12d
	movl	4(%r13), %edi
	movq	_RCANFD_RFFIFO_IDX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	%r12d, %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	_RCANFD_GERFL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_rcar_canfd_read
	movl	%eax, %ebx
	movq	_RCANFD_GERFL_EEF0@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_3
## %bb.1:
	testl	%r12d, %r12d
	jne	LBB0_3
## %bb.2:
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_6
LBB0_3:
	movq	_RCANFD_GERFL_EEF1@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_7
## %bb.4:
	cmpl	$1, %r12d
	jne	LBB0_7
## %bb.5:
	leaq	L_.str.1(%rip), %rsi
LBB0_6:
	movq	%r14, %rdi
	callq	_netdev_dbg
	incl	4(%r14)
LBB0_7:
	movq	_RCANFD_GERFL_MES@GOTPCREL(%rip), %rax
	movl	%ebx, -52(%rbp)                 ## 4-byte Spill
	testl	%ebx, (%rax)
	je	LBB0_12
## %bb.8:
	movl	4(%r13), %r15d
	movq	_RCANFD_CFFIFO_IDX@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movl	%r12d, %edi
	callq	_RCANFD_CFSTS
	movl	%r15d, %edi
	movl	%eax, %esi
	callq	_rcar_canfd_read
	movl	%eax, %r15d
	movq	_RCANFD_CFSTS_CFMLT@GOTPCREL(%rip), %rax
	testl	%r15d, (%rax)
	je	LBB0_10
## %bb.9:
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	callq	_netdev_dbg
	incl	4(%r14)
	movl	4(%r13), %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movl	(%rbx), %esi
	movl	%r12d, %edi
	callq	_RCANFD_CFSTS
	movq	_RCANFD_CFSTS_CFMLT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	notl	%ecx
	andl	%ecx, %r15d
	movl	-48(%rbp), %edi                 ## 4-byte Reload
	movl	%eax, %esi
	movl	%r15d, %edx
	callq	_rcar_canfd_write
LBB0_10:
	movl	4(%r13), %ebx
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	callq	_RCANFD_RFSTS
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_rcar_canfd_read
	movq	_RCANFD_RFSTS_RFMLT@GOTPCREL(%rip), %r12
	testl	%eax, (%r12)
	je	LBB0_12
## %bb.11:
	movl	%eax, %ebx
	leaq	L_.str.3(%rip), %rsi
	movq	%r14, %rdi
	callq	_netdev_dbg
	incl	(%r14)
	movl	4(%r13), %r15d
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	callq	_RCANFD_RFSTS
	movl	(%r12), %ecx
	notl	%ecx
	andl	%ecx, %ebx
	movl	%r15d, %edi
	movl	%eax, %esi
	movl	%ebx, %edx
	callq	_rcar_canfd_write
LBB0_12:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	cmpq	$0, (%rax)
	movl	-52(%rbp), %ecx                 ## 4-byte Reload
	je	LBB0_15
## %bb.13:
	movq	_RCANFD_GERFL_CMPOF@GOTPCREL(%rip), %rax
	testl	%ecx, (%rax)
	je	LBB0_15
## %bb.14:
	leaq	L_.str.4(%rip), %rsi
	movq	%r14, %rdi
	callq	_netdev_dbg
LBB0_15:
	movl	4(%r13), %edi
	movq	_RCANFD_GERFL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_rcar_canfd_write               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_RCANFD_RFFIFO_IDX,4,2          ## @RCANFD_RFFIFO_IDX
	.comm	_RCANFD_GERFL,4,2               ## @RCANFD_GERFL
	.comm	_RCANFD_GERFL_EEF0,4,2          ## @RCANFD_GERFL_EEF0
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Ch0: ECC Error flag\n"

	.comm	_RCANFD_GERFL_EEF1,4,2          ## @RCANFD_GERFL_EEF1
L_.str.1:                               ## @.str.1
	.asciz	"Ch1: ECC Error flag\n"

	.comm	_RCANFD_GERFL_MES,4,2           ## @RCANFD_GERFL_MES
	.comm	_RCANFD_CFFIFO_IDX,4,2          ## @RCANFD_CFFIFO_IDX
	.comm	_RCANFD_CFSTS_CFMLT,4,2         ## @RCANFD_CFSTS_CFMLT
L_.str.2:                               ## @.str.2
	.asciz	"Tx Message Lost flag\n"

	.comm	_RCANFD_RFSTS_RFMLT,4,2         ## @RCANFD_RFSTS_RFMLT
L_.str.3:                               ## @.str.3
	.asciz	"Rx Message Lost flag\n"

	.comm	_RCANFD_GERFL_CMPOF,4,2         ## @RCANFD_GERFL_CMPOF
L_.str.4:                               ## @.str.4
	.asciz	"global payload overflow interrupt\n"

	.no_dead_strip	_rcar_canfd_global_error
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rcar_canfd_global_error
_rcar_canfd_global_error:               ; @rcar_canfd_global_error
	.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, x0
	bl	_netdev_priv
	mov	x19, x0
	ldr	x27, [x0, #8]
Lloh0:
	adrp	x8, _RCANFD_RFFIFO_IDX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RCANFD_RFFIFO_IDX@GOTPAGEOFF]
Lloh2:
	ldr	w23, [x8]
	ldp	w22, w0, [x0]
Lloh3:
	adrp	x26, _RCANFD_GERFL@GOTPAGE
Lloh4:
	ldr	x26, [x26, _RCANFD_GERFL@GOTPAGEOFF]
	ldr	w1, [x26]
	bl	_rcar_canfd_read
	mov	x21, x0
Lloh5:
	adrp	x8, _RCANFD_GERFL_EEF0@GOTPAGE
Lloh6:
	ldr	x8, [x8, _RCANFD_GERFL_EEF0@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	and	w8, w8, w0
	cmp	w8, #0
	ccmp	w22, #0, #0, ne
	b.eq	LBB0_3
; %bb.1:
Lloh8:
	adrp	x8, _RCANFD_GERFL_EEF1@GOTPAGE
Lloh9:
	ldr	x8, [x8, _RCANFD_GERFL_EEF1@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	and	w8, w8, w21
	cmp	w8, #0
	ccmp	w22, #1, #0, ne
	b.ne	LBB0_5
; %bb.2:
Lloh11:
	adrp	x1, l_.str.1@PAGE
Lloh12:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_4
LBB0_3:
Lloh13:
	adrp	x1, l_.str@PAGE
Lloh14:
	add	x1, x1, l_.str@PAGEOFF
LBB0_4:
	mov	x0, x20
	bl	_netdev_dbg
	ldr	w8, [x20, #4]
	add	w8, w8, #1
	str	w8, [x20, #4]
LBB0_5:
Lloh15:
	adrp	x8, _RCANFD_GERFL_MES@GOTPAGE
Lloh16:
	ldr	x8, [x8, _RCANFD_GERFL_MES@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_10
; %bb.6:
	add	w23, w23, w22
	ldr	w24, [x19, #4]
Lloh18:
	adrp	x28, _RCANFD_CFFIFO_IDX@GOTPAGE
Lloh19:
	ldr	x28, [x28, _RCANFD_CFFIFO_IDX@GOTPAGEOFF]
	ldr	w1, [x28]
	mov	x0, x22
	bl	_RCANFD_CFSTS
	mov	x1, x0
	mov	x0, x24
	bl	_rcar_canfd_read
Lloh20:
	adrp	x26, _RCANFD_CFSTS_CFMLT@GOTPAGE
Lloh21:
	ldr	x26, [x26, _RCANFD_CFSTS_CFMLT@GOTPAGEOFF]
	ldr	w8, [x26]
	tst	w8, w0
	b.eq	LBB0_8
; %bb.7:
	mov	x24, x0
Lloh22:
	adrp	x1, l_.str.2@PAGE
Lloh23:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	bl	_netdev_dbg
	ldr	w8, [x20, #4]
	add	w8, w8, #1
	str	w8, [x20, #4]
	ldr	w25, [x19, #4]
	ldr	w1, [x28]
	mov	x0, x22
	bl	_RCANFD_CFSTS
	mov	x1, x0
	ldr	w8, [x26]
	bic	w2, w24, w8
	mov	x0, x25
	bl	_rcar_canfd_write
LBB0_8:
	ldr	w22, [x19, #4]
	mov	x0, x23
	bl	_RCANFD_RFSTS
	mov	x1, x0
	mov	x0, x22
	bl	_rcar_canfd_read
Lloh24:
	adrp	x25, _RCANFD_RFSTS_RFMLT@GOTPAGE
Lloh25:
	ldr	x25, [x25, _RCANFD_RFSTS_RFMLT@GOTPAGEOFF]
	ldr	w8, [x25]
	tst	w8, w0
Lloh26:
	adrp	x26, _RCANFD_GERFL@GOTPAGE
Lloh27:
	ldr	x26, [x26, _RCANFD_GERFL@GOTPAGEOFF]
	b.eq	LBB0_10
; %bb.9:
	mov	x22, x0
Lloh28:
	adrp	x1, l_.str.3@PAGE
Lloh29:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x20
	bl	_netdev_dbg
	ldr	w8, [x20]
	add	w8, w8, #1
	str	w8, [x20]
	ldr	w24, [x19, #4]
	mov	x0, x23
	bl	_RCANFD_RFSTS
	mov	x1, x0
	ldr	w8, [x25]
	bic	w2, w22, w8
	mov	x0, x24
	bl	_rcar_canfd_write
LBB0_10:
	ldr	x8, [x27]
	cbz	x8, LBB0_13
; %bb.11:
Lloh30:
	adrp	x8, _RCANFD_GERFL_CMPOF@GOTPAGE
Lloh31:
	ldr	x8, [x8, _RCANFD_GERFL_CMPOF@GOTPAGEOFF]
Lloh32:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_13
; %bb.12:
Lloh33:
	adrp	x1, l_.str.4@PAGE
Lloh34:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x20
	bl	_netdev_dbg
LBB0_13:
	ldr	w0, [x19, #4]
	ldr	w1, [x26]
	mov	w2, #0
	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
	b	_rcar_canfd_write
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpAdd	Lloh33, Lloh34
	.cfi_endproc
                                        ; -- End function
	.comm	_RCANFD_RFFIFO_IDX,4,2          ; @RCANFD_RFFIFO_IDX
	.comm	_RCANFD_GERFL,4,2               ; @RCANFD_GERFL
	.comm	_RCANFD_GERFL_EEF0,4,2          ; @RCANFD_GERFL_EEF0
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Ch0: ECC Error flag\n"

	.comm	_RCANFD_GERFL_EEF1,4,2          ; @RCANFD_GERFL_EEF1
l_.str.1:                               ; @.str.1
	.asciz	"Ch1: ECC Error flag\n"

	.comm	_RCANFD_GERFL_MES,4,2           ; @RCANFD_GERFL_MES
	.comm	_RCANFD_CFFIFO_IDX,4,2          ; @RCANFD_CFFIFO_IDX
	.comm	_RCANFD_CFSTS_CFMLT,4,2         ; @RCANFD_CFSTS_CFMLT
l_.str.2:                               ; @.str.2
	.asciz	"Tx Message Lost flag\n"

	.comm	_RCANFD_RFSTS_RFMLT,4,2         ; @RCANFD_RFSTS_RFMLT
l_.str.3:                               ; @.str.3
	.asciz	"Rx Message Lost flag\n"

	.comm	_RCANFD_GERFL_CMPOF,4,2         ; @RCANFD_GERFL_CMPOF
l_.str.4:                               ; @.str.4
	.asciz	"global payload overflow interrupt\n"

	.no_dead_strip	_rcar_canfd_global_error
.subsections_via_symbols
