	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xgene_edac_mc_check
_xgene_edac_mc_check:                   ## @xgene_edac_mc_check
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	movq	8(%rdi), %rbx
	movl	8(%rbx), %edi
	movq	_PCPHPERRINTSTS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-88(%rbp), %rdx
	callq	_xgene_edac_pcp_rd
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movl	8(%rbx), %edi
	movq	_PCPLPERRINTSTS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-84(%rbp), %rdx
	callq	_xgene_edac_pcp_rd
	movq	_MCU_UNCORR_ERR_MASK@GOTPCREL(%rip), %rcx
	movl	-88(%rbp), %eax
	testl	%eax, (%rcx)
	jne	LBB0_3
## %bb.1:
	movq	_MCU_CTL_ERR_MASK@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_3
## %bb.2:
	movq	_MCU_CORR_ERR_MASK@GOTPCREL(%rip), %rax
	movl	-84(%rbp), %ecx
	testl	%ecx, (%rax)
	je	LBB0_16
LBB0_3:
	movq	_MCU_MAX_RANK@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jle	LBB0_10
## %bb.4:
	movq	_MCUESRR0@GOTPCREL(%rip), %r14
	movq	_MCU_RANK_STRIDE@GOTPCREL(%rip), %rcx
	movq	_MCUEBLRR0@GOTPCREL(%rip), %rbx
	xorl	%r13d, %r13d
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	(%rbx), %rax
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	addq	(%rbx), %rax
	movslq	(%r12), %rsi
	imulq	%r15, %rsi
	addq	%rax, %rsi
	xorl	%edi, %edi
	callq	_writel
	movq	_MCUERCRR0@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	addq	(%rbx), %rax
	movslq	(%r12), %rsi
	imulq	%r15, %rsi
	addq	%rax, %rsi
	xorl	%edi, %edi
	callq	_writel
	movq	_MCUSBECNT0@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	addq	(%rbx), %rax
	movslq	(%r12), %rsi
	imulq	%r15, %rsi
	addq	%rax, %rsi
	xorl	%edi, %edi
	callq	_writel
	movq	(%r14), %rax
	addq	(%rbx), %rax
	movq	_MCUEBLRR0@GOTPCREL(%rip), %rbx
	movslq	(%r12), %rsi
	imulq	%r15, %rsi
	addq	%rax, %rsi
	movl	-52(%rbp), %edi                 ## 4-byte Reload
	callq	_writel
	incl	%r13d
	movq	_MCU_MAX_RANK@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r13d
	movq	%r12, %rcx
	jge	LBB0_10
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r14), %rax
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	addq	(%rdx), %rax
	movq	%rcx, %r12
	movslq	(%rcx), %rdi
	movslq	%r13d, %r15
	imulq	%r15, %rdi
	addq	%rax, %rdi
	callq	_readl
	movl	%eax, %edx
	movq	_MCU_ESRR_BACKUCERR_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_MCU_ESRR_DEMANDUCERR_MASK@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%edx, -52(%rbp)                 ## 4-byte Spill
	testl	%edx, %eax
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	_KERN_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	leaq	L_.str(%rip), %rdx
	leaq	L_.str.1(%rip), %rcx
	movl	%r13d, %r8d
	xorl	%eax, %eax
	callq	_edac_mc_chipset_printk
	movq	_HW_EVENT_ERR_UNCORRECTED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%rbx), %r10d
	subq	$8, %rsp
	movq	%rbx, %rsi
	movq	_MCUEBLRR0@GOTPCREL(%rip), %rbx
	movl	$1, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	leaq	L_.str.2(%rip), %rax
	pushq	%rax
	pushq	%r10
	pushq	$-1
	pushq	$0
	pushq	$0
	callq	_edac_mc_handle_error
	addq	$48, %rsp
LBB0_7:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	_MCU_ESRR_CERR_MASK@GOTPCREL(%rip), %rax
	movl	-52(%rbp), %ecx                 ## 4-byte Reload
	testl	%ecx, (%rax)
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	(%rbx), %rax
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	addq	(%rbx), %rax
	movslq	(%r12), %rdi
	imulq	%r15, %rdi
	addq	%rax, %rdi
	callq	_readl
	movq	_MCUERCRR0@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	addq	(%rbx), %rcx
	movl	%eax, -72(%rbp)                 ## 4-byte Spill
	movslq	(%r12), %rdi
	imulq	%r15, %rdi
	addq	%rcx, %rdi
	callq	_readl
	movq	_MCUSBECNT0@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	addq	(%rbx), %rcx
	movl	%eax, %r14d
	movslq	(%r12), %rdi
	imulq	%r15, %rdi
	addq	%rcx, %rdi
	callq	_readl
	movl	%eax, %ebx
	movq	_KERN_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -80(%rbp)                 ## 4-byte Spill
	movl	-72(%rbp), %edi                 ## 4-byte Reload
	callq	_MCU_EBLRR_ERRBANK_RD
	movl	%eax, -76(%rbp)                 ## 4-byte Spill
	movl	%r14d, %edi
	callq	_MCU_ERCRR_ERRCOL_RD
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movl	%r14d, %edi
	callq	_MCU_ERCRR_ERRROW_RD
	movl	%eax, %r14d
	movl	%ebx, %edi
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	callq	_MCU_SBECNT_COUNT
	movl	%eax, %r10d
	subq	$8, %rsp
	movq	%rbx, %rdi
	movl	-80(%rbp), %esi                 ## 4-byte Reload
	leaq	L_.str(%rip), %rdx
	leaq	L_.str.3(%rip), %rcx
	movl	%r13d, %r8d
	movl	-76(%rbp), %r9d                 ## 4-byte Reload
	xorl	%eax, %eax
	pushq	%r10
	pushq	%r14
	movq	_MCUESRR0@GOTPCREL(%rip), %r14
	pushq	-72(%rbp)                       ## 8-byte Folded Reload
	callq	_edac_mc_chipset_printk
	addq	$32, %rsp
	movq	_HW_EVENT_ERR_CORRECTED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%rbx), %r10d
	subq	$8, %rsp
	movq	%rbx, %rsi
	movq	_MCUEBLRR0@GOTPCREL(%rip), %rbx
	movl	$1, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	leaq	L_.str.2(%rip), %rax
	pushq	%rax
	pushq	%r10
	pushq	$-1
	pushq	$0
	pushq	$0
	callq	_edac_mc_handle_error
	addq	$48, %rsp
	jmp	LBB0_9
LBB0_10:
	movq	_MCUGESR@GOTPCREL(%rip), %r14
	movq	(%r14), %rdi
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	addq	(%rax), %rdi
	callq	_readl
	testl	%eax, %eax
	je	LBB0_16
## %bb.11:
	movl	%eax, %ebx
	movq	_MCU_GESR_ADDRNOMATCH_ERR_MASK@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_13
## %bb.12:
	movq	_KERN_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	leaq	L_.str.4(%rip), %rcx
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	xorl	%eax, %eax
	callq	_edac_mc_chipset_printk
LBB0_13:
	movq	_MCU_GESR_ADDRMULTIMATCH_ERR_MASK@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_15
## %bb.14:
	movq	_KERN_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	leaq	L_.str.5(%rip), %rcx
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	xorl	%eax, %eax
	callq	_edac_mc_chipset_printk
LBB0_15:
	movq	(%r14), %rsi
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	addq	(%rax), %rsi
	movl	%ebx, %edi
	callq	_writel
LBB0_16:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PCPHPERRINTSTS,4,2             ## @PCPHPERRINTSTS
	.comm	_PCPLPERRINTSTS,4,2             ## @PCPLPERRINTSTS
	.comm	_MCU_UNCORR_ERR_MASK,4,2        ## @MCU_UNCORR_ERR_MASK
	.comm	_MCU_CTL_ERR_MASK,4,2           ## @MCU_CTL_ERR_MASK
	.comm	_MCU_CORR_ERR_MASK,4,2          ## @MCU_CORR_ERR_MASK
	.comm	_MCU_MAX_RANK,4,2               ## @MCU_MAX_RANK
	.comm	_MCUESRR0,8,3                   ## @MCUESRR0
	.comm	_MCU_RANK_STRIDE,4,2            ## @MCU_RANK_STRIDE
	.comm	_MCU_ESRR_DEMANDUCERR_MASK,4,2  ## @MCU_ESRR_DEMANDUCERR_MASK
	.comm	_MCU_ESRR_BACKUCERR_MASK,4,2    ## @MCU_ESRR_BACKUCERR_MASK
	.comm	_KERN_ERR,4,2                   ## @KERN_ERR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"X-Gene"

L_.str.1:                               ## @.str.1
	.asciz	"MCU uncorrectable error at rank %d\n"

	.comm	_HW_EVENT_ERR_UNCORRECTED,4,2   ## @HW_EVENT_ERR_UNCORRECTED
L_.str.2:                               ## @.str.2
	.space	1

	.comm	_MCU_ESRR_CERR_MASK,4,2         ## @MCU_ESRR_CERR_MASK
	.comm	_MCUEBLRR0,8,3                  ## @MCUEBLRR0
	.comm	_MCUERCRR0,8,3                  ## @MCUERCRR0
	.comm	_MCUSBECNT0,8,3                 ## @MCUSBECNT0
	.comm	_KERN_WARNING,4,2               ## @KERN_WARNING
L_.str.3:                               ## @.str.3
	.asciz	"MCU correctable error at rank %d bank %d column %d row %d count %d\n"

	.comm	_HW_EVENT_ERR_CORRECTED,4,2     ## @HW_EVENT_ERR_CORRECTED
	.comm	_MCUGESR,8,3                    ## @MCUGESR
	.comm	_MCU_GESR_ADDRNOMATCH_ERR_MASK,4,2 ## @MCU_GESR_ADDRNOMATCH_ERR_MASK
L_.str.4:                               ## @.str.4
	.asciz	"MCU address miss-match error\n"

	.comm	_MCU_GESR_ADDRMULTIMATCH_ERR_MASK,4,2 ## @MCU_GESR_ADDRMULTIMATCH_ERR_MASK
L_.str.5:                               ## @.str.5
	.asciz	"MCU address multi-match error\n"

	.no_dead_strip	_xgene_edac_mc_check
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xgene_edac_mc_check
_xgene_edac_mc_check:                   ; @xgene_edac_mc_check
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #176
	.cfi_def_cfa_offset 176
	stp	x28, x27, [sp, #80]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #96]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #112]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #128]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #144]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #160]            ; 16-byte Folded Spill
	add	x29, sp, #160
	.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	x24, x0
	ldr	x21, [x0, #8]
	ldr	w0, [x21, #8]
Lloh0:
	adrp	x8, _PCPHPERRINTSTS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PCPHPERRINTSTS@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	add	x2, sp, #76
	bl	_xgene_edac_pcp_rd
	ldr	w0, [x21, #8]
Lloh3:
	adrp	x8, _PCPLPERRINTSTS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PCPLPERRINTSTS@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	add	x2, sp, #72
	bl	_xgene_edac_pcp_rd
Lloh6:
	adrp	x8, _MCU_UNCORR_ERR_MASK@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MCU_UNCORR_ERR_MASK@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x8]
	ldr	w8, [sp, #76]
	tst	w8, w9
	b.ne	LBB0_3
; %bb.1:
Lloh9:
	adrp	x9, _MCU_CTL_ERR_MASK@GOTPAGE
Lloh10:
	ldr	x9, [x9, _MCU_CTL_ERR_MASK@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_3
; %bb.2:
Lloh12:
	adrp	x8, _MCU_CORR_ERR_MASK@GOTPAGE
Lloh13:
	ldr	x8, [x8, _MCU_CORR_ERR_MASK@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	ldr	w9, [sp, #72]
	tst	w9, w8
	b.eq	LBB0_16
LBB0_3:
Lloh15:
	adrp	x8, _MCU_MAX_RANK@GOTPAGE
Lloh16:
	ldr	x8, [x8, _MCU_MAX_RANK@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	cmp	w8, #1
	b.lt	LBB0_10
; %bb.4:
	mov	w22, #0
Lloh18:
	adrp	x20, _MCUESRR0@GOTPAGE
Lloh19:
	ldr	x20, [x20, _MCUESRR0@GOTPAGEOFF]
Lloh20:
	adrp	x27, _MCU_RANK_STRIDE@GOTPAGE
Lloh21:
	ldr	x27, [x27, _MCU_RANK_STRIDE@GOTPAGEOFF]
Lloh22:
	adrp	x25, _MCUEBLRR0@GOTPAGE
Lloh23:
	ldr	x25, [x25, _MCUEBLRR0@GOTPAGEOFF]
Lloh24:
	adrp	x28, _MCUERCRR0@GOTPAGE
Lloh25:
	ldr	x28, [x28, _MCUERCRR0@GOTPAGEOFF]
Lloh26:
	adrp	x26, _MCUSBECNT0@GOTPAGE
Lloh27:
	ldr	x26, [x26, _MCUSBECNT0@GOTPAGEOFF]
Lloh28:
	adrp	x23, l_.str.2@PAGE
Lloh29:
	add	x23, x23, l_.str.2@PAGEOFF
	stp	x24, x21, [sp, #48]             ; 16-byte Folded Spill
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x21]
	ldr	x9, [x25]
	add	x8, x9, x8
	ldrsw	x9, [x27]
	mov	x10, x22
	sxtw	x19, w10
	madd	x1, x9, x19, x8
	mov	w0, #0
	bl	_writel
	ldr	x8, [x21]
	ldr	x9, [x28]
	add	x8, x9, x8
	ldrsw	x9, [x27]
	madd	x1, x9, x19, x8
	mov	w0, #0
	bl	_writel
	ldr	x8, [x21]
	ldr	x9, [x26]
	add	x8, x9, x8
	ldrsw	x9, [x27]
	madd	x1, x9, x19, x8
	mov	w0, #0
	bl	_writel
	ldr	x8, [x21]
	ldr	x9, [x20]
	add	x8, x9, x8
	ldrsw	x9, [x27]
	madd	x1, x9, x19, x8
	ldr	w0, [sp, #68]                   ; 4-byte Folded Reload
	bl	_writel
	add	w22, w22, #1
Lloh30:
	adrp	x8, _MCU_MAX_RANK@GOTPAGE
Lloh31:
	ldr	x8, [x8, _MCU_MAX_RANK@GOTPAGEOFF]
Lloh32:
	ldr	w8, [x8]
	cmp	w22, w8
	b.ge	LBB0_10
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21]
	ldr	x9, [x20]
	add	x8, x9, x8
	ldrsw	x9, [x27]
	sxtw	x10, w22
	madd	x0, x9, x10, x8
	bl	_readl
	mov	x19, x0
Lloh33:
	adrp	x8, _MCU_ESRR_DEMANDUCERR_MASK@GOTPAGE
Lloh34:
	ldr	x8, [x8, _MCU_ESRR_DEMANDUCERR_MASK@GOTPAGEOFF]
Lloh35:
	ldr	w8, [x8]
Lloh36:
	adrp	x9, _MCU_ESRR_BACKUCERR_MASK@GOTPAGE
Lloh37:
	ldr	x9, [x9, _MCU_ESRR_BACKUCERR_MASK@GOTPAGEOFF]
Lloh38:
	ldr	w9, [x9]
	orr	w8, w9, w8
	tst	w8, w0
	b.eq	LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
Lloh39:
	adrp	x8, _KERN_ERR@GOTPAGE
Lloh40:
	ldr	x8, [x8, _KERN_ERR@GOTPAGEOFF]
Lloh41:
	ldr	w1, [x8]
	mov	x8, x22
	str	x8, [sp]
	mov	x0, x24
Lloh42:
	adrp	x2, l_.str@PAGE
Lloh43:
	add	x2, x2, l_.str@PAGEOFF
Lloh44:
	adrp	x3, l_.str.1@PAGE
Lloh45:
	add	x3, x3, l_.str.1@PAGEOFF
	bl	_edac_mc_chipset_printk
Lloh46:
	adrp	x8, _HW_EVENT_ERR_UNCORRECTED@GOTPAGE
Lloh47:
	ldr	x8, [x8, _HW_EVENT_ERR_UNCORRECTED@GOTPAGEOFF]
Lloh48:
	ldr	w0, [x8]
	ldr	w9, [x24]
	str	x23, [sp, #8]
	mov	w8, #-1
	stp	w8, w9, [sp]
	mov	x1, x24
	mov	w2, #1
	mov	w3, #0
	mov	w4, #0
	mov	w5, #0
	mov	w6, #0
	mov	w7, #0
	bl	_edac_mc_handle_error
LBB0_8:                                 ;   in Loop: Header=BB0_6 Depth=1
Lloh49:
	adrp	x8, _MCU_ESRR_CERR_MASK@GOTPAGE
Lloh50:
	ldr	x8, [x8, _MCU_ESRR_CERR_MASK@GOTPAGEOFF]
Lloh51:
	ldr	w8, [x8]
	str	w19, [sp, #68]                  ; 4-byte Folded Spill
	tst	w8, w19
	b.eq	LBB0_5
; %bb.9:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x21]
	ldr	x9, [x25]
	add	x8, x9, x8
	ldrsw	x9, [x27]
	mov	x19, x22
	mov	x23, x26
	sxtw	x26, w19
	madd	x0, x9, x26, x8
	bl	_readl
	mov	x24, x0
	ldr	x8, [x21]
	ldr	x9, [x28]
	add	x8, x9, x8
	ldrsw	x9, [x27]
	madd	x0, x9, x26, x8
	bl	_readl
	mov	x25, x0
	ldr	x8, [x21]
	ldr	x9, [x23]
	add	x8, x9, x8
	ldrsw	x9, [x27]
	madd	x0, x9, x26, x8
	bl	_readl
	mov	x26, x0
Lloh52:
	adrp	x8, _KERN_WARNING@GOTPAGE
Lloh53:
	ldr	x8, [x8, _KERN_WARNING@GOTPAGEOFF]
	mov	x21, x27
Lloh54:
	ldr	w27, [x8]
	mov	x0, x24
	bl	_MCU_EBLRR_ERRBANK_RD
	mov	x24, x0
	mov	x0, x25
	bl	_MCU_ERCRR_ERRCOL_RD
	mov	x20, x28
	mov	x28, x0
	mov	x0, x25
	bl	_MCU_ERCRR_ERRROW_RD
	mov	x25, x0
	mov	x0, x26
	mov	x26, x23
Lloh55:
	adrp	x23, l_.str.2@PAGE
Lloh56:
	add	x23, x23, l_.str.2@PAGEOFF
	bl	_MCU_SBECNT_COUNT
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x25, x0, [sp, #24]
Lloh57:
	adrp	x25, _MCUEBLRR0@GOTPAGE
Lloh58:
	ldr	x25, [x25, _MCUEBLRR0@GOTPAGEOFF]
	stp	x24, x28, [sp, #8]
	mov	x28, x20
	ldr	x24, [sp, #48]                  ; 8-byte Folded Reload
Lloh59:
	adrp	x20, _MCUESRR0@GOTPAGE
Lloh60:
	ldr	x20, [x20, _MCUESRR0@GOTPAGEOFF]
	str	x19, [sp]
	mov	x0, x24
	mov	x1, x27
	mov	x27, x21
Lloh61:
	adrp	x2, l_.str@PAGE
Lloh62:
	add	x2, x2, l_.str@PAGEOFF
	ldr	x21, [sp, #56]                  ; 8-byte Folded Reload
Lloh63:
	adrp	x3, l_.str.3@PAGE
Lloh64:
	add	x3, x3, l_.str.3@PAGEOFF
	bl	_edac_mc_chipset_printk
Lloh65:
	adrp	x8, _HW_EVENT_ERR_CORRECTED@GOTPAGE
Lloh66:
	ldr	x8, [x8, _HW_EVENT_ERR_CORRECTED@GOTPAGEOFF]
Lloh67:
	ldr	w0, [x8]
	ldr	w9, [x24]
	str	x23, [sp, #8]
	mov	w8, #-1
	stp	w8, w9, [sp]
	mov	x1, x24
	mov	w2, #1
	mov	w3, #0
	mov	w4, #0
	mov	w5, #0
	mov	w6, #0
	mov	w7, #0
	bl	_edac_mc_handle_error
	b	LBB0_5
LBB0_10:
	ldr	x8, [x21]
Lloh68:
	adrp	x19, _MCUGESR@GOTPAGE
Lloh69:
	ldr	x19, [x19, _MCUGESR@GOTPAGEOFF]
	ldr	x9, [x19]
	add	x0, x9, x8
	bl	_readl
	cbz	w0, LBB0_16
; %bb.11:
	mov	x20, x0
Lloh70:
	adrp	x8, _MCU_GESR_ADDRNOMATCH_ERR_MASK@GOTPAGE
Lloh71:
	ldr	x8, [x8, _MCU_GESR_ADDRNOMATCH_ERR_MASK@GOTPAGEOFF]
Lloh72:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_13
; %bb.12:
Lloh73:
	adrp	x8, _KERN_WARNING@GOTPAGE
Lloh74:
	ldr	x8, [x8, _KERN_WARNING@GOTPAGEOFF]
Lloh75:
	ldr	w1, [x8]
Lloh76:
	adrp	x2, l_.str@PAGE
Lloh77:
	add	x2, x2, l_.str@PAGEOFF
Lloh78:
	adrp	x3, l_.str.4@PAGE
Lloh79:
	add	x3, x3, l_.str.4@PAGEOFF
	mov	x0, x24
	bl	_edac_mc_chipset_printk
LBB0_13:
Lloh80:
	adrp	x8, _MCU_GESR_ADDRMULTIMATCH_ERR_MASK@GOTPAGE
Lloh81:
	ldr	x8, [x8, _MCU_GESR_ADDRMULTIMATCH_ERR_MASK@GOTPAGEOFF]
Lloh82:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_15
; %bb.14:
Lloh83:
	adrp	x8, _KERN_WARNING@GOTPAGE
Lloh84:
	ldr	x8, [x8, _KERN_WARNING@GOTPAGEOFF]
Lloh85:
	ldr	w1, [x8]
Lloh86:
	adrp	x2, l_.str@PAGE
Lloh87:
	add	x2, x2, l_.str@PAGEOFF
Lloh88:
	adrp	x3, l_.str.5@PAGE
Lloh89:
	add	x3, x3, l_.str.5@PAGEOFF
	mov	x0, x24
	bl	_edac_mc_chipset_printk
LBB0_15:
	ldr	x8, [x21]
	ldr	x9, [x19]
	add	x1, x9, x8
	mov	x0, x20
	bl	_writel
LBB0_16:
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #128]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #112]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #96]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #176
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh65, Lloh66, Lloh67
	.loh AdrpAdd	Lloh63, Lloh64
	.loh AdrpAdd	Lloh61, Lloh62
	.loh AdrpLdrGot	Lloh59, Lloh60
	.loh AdrpLdrGot	Lloh57, Lloh58
	.loh AdrpAdd	Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpLdrGot	Lloh68, Lloh69
	.loh AdrpLdrGotLdr	Lloh70, Lloh71, Lloh72
	.loh AdrpAdd	Lloh78, Lloh79
	.loh AdrpAdd	Lloh76, Lloh77
	.loh AdrpLdrGotLdr	Lloh73, Lloh74, Lloh75
	.loh AdrpLdrGotLdr	Lloh80, Lloh81, Lloh82
	.loh AdrpAdd	Lloh88, Lloh89
	.loh AdrpAdd	Lloh86, Lloh87
	.loh AdrpLdrGotLdr	Lloh83, Lloh84, Lloh85
	.cfi_endproc
                                        ; -- End function
	.comm	_PCPHPERRINTSTS,4,2             ; @PCPHPERRINTSTS
	.comm	_PCPLPERRINTSTS,4,2             ; @PCPLPERRINTSTS
	.comm	_MCU_UNCORR_ERR_MASK,4,2        ; @MCU_UNCORR_ERR_MASK
	.comm	_MCU_CTL_ERR_MASK,4,2           ; @MCU_CTL_ERR_MASK
	.comm	_MCU_CORR_ERR_MASK,4,2          ; @MCU_CORR_ERR_MASK
	.comm	_MCU_MAX_RANK,4,2               ; @MCU_MAX_RANK
	.comm	_MCUESRR0,8,3                   ; @MCUESRR0
	.comm	_MCU_RANK_STRIDE,4,2            ; @MCU_RANK_STRIDE
	.comm	_MCU_ESRR_DEMANDUCERR_MASK,4,2  ; @MCU_ESRR_DEMANDUCERR_MASK
	.comm	_MCU_ESRR_BACKUCERR_MASK,4,2    ; @MCU_ESRR_BACKUCERR_MASK
	.comm	_KERN_ERR,4,2                   ; @KERN_ERR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"X-Gene"

l_.str.1:                               ; @.str.1
	.asciz	"MCU uncorrectable error at rank %d\n"

	.comm	_HW_EVENT_ERR_UNCORRECTED,4,2   ; @HW_EVENT_ERR_UNCORRECTED
l_.str.2:                               ; @.str.2
	.space	1

	.comm	_MCU_ESRR_CERR_MASK,4,2         ; @MCU_ESRR_CERR_MASK
	.comm	_MCUEBLRR0,8,3                  ; @MCUEBLRR0
	.comm	_MCUERCRR0,8,3                  ; @MCUERCRR0
	.comm	_MCUSBECNT0,8,3                 ; @MCUSBECNT0
	.comm	_KERN_WARNING,4,2               ; @KERN_WARNING
l_.str.3:                               ; @.str.3
	.asciz	"MCU correctable error at rank %d bank %d column %d row %d count %d\n"

	.comm	_HW_EVENT_ERR_CORRECTED,4,2     ; @HW_EVENT_ERR_CORRECTED
	.comm	_MCUGESR,8,3                    ; @MCUGESR
	.comm	_MCU_GESR_ADDRNOMATCH_ERR_MASK,4,2 ; @MCU_GESR_ADDRNOMATCH_ERR_MASK
l_.str.4:                               ; @.str.4
	.asciz	"MCU address miss-match error\n"

	.comm	_MCU_GESR_ADDRMULTIMATCH_ERR_MASK,4,2 ; @MCU_GESR_ADDRMULTIMATCH_ERR_MASK
l_.str.5:                               ; @.str.5
	.asciz	"MCU address multi-match error\n"

	.no_dead_strip	_xgene_edac_mc_check
.subsections_via_symbols
