	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fsl_mc_check
_fsl_mc_check:                          ## @fsl_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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r13
	movq	16(%rdi), %r15
	movq	_FSL_MC_ERR_DETECT@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	addq	(%r15), %rdi
	callq	_ddr_in32
	testl	%eax, %eax
	je	LBB0_23
## %bb.1:
	movl	%eax, %r14d
	movq	_KERN_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	xorl	%r12d, %r12d
	movq	%r13, %rdi
	movl	%r14d, %ecx
	xorl	%eax, %eax
	callq	_fsl_mc_printk
	movq	_DDR_EDE_SBE@GOTPCREL(%rip), %rcx
	movq	_DDR_EDE_MBE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	(%rcx), %eax
	movq	(%r15), %rdi
	testl	%r14d, %eax
	je	LBB0_24
## %bb.2:
	movq	_FSL_MC_CAPTURE_ECC@GOTPCREL(%rip), %rax
	addq	(%rax), %rdi
	callq	_ddr_in32
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	_FSL_MC_DDR_SDRAM_CFG@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	(%r15), %rdi
	callq	_ddr_in32
	movq	_DSC_DBW_MASK@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	movl	%eax, -64(%rbp)                 ## 4-byte Spill
	movl	$255, %eax
	movl	$65535, %ecx                    ## imm = 0xFFFF
	cmovel	%eax, %ecx
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movq	_FSL_MC_CAPTURE_EXT_ADDRESS@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	(%r15), %rdi
	callq	_ddr_in32
	movl	%eax, %ebx
	movq	_FSL_MC_CAPTURE_ADDRESS@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	(%r15), %rdi
	callq	_ddr_in32
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_make64
	movl	%eax, %ebx
	movq	_PAGE_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	movl	%ebx, -52(%rbp)                 ## 4-byte Spill
	sarl	%cl, %ebx
	movl	(%r13), %eax
	testl	%eax, %eax
	jle	LBB0_8
## %bb.3:
	movq	8(%r13), %rcx
	xorl	%r12d, %r12d
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	incq	%r12
	cmpq	%r12, %rax
	je	LBB0_7
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rcx,%r12,8), %rdx
	cmpl	(%rdx), %ebx
	jl	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	cmpl	4(%rdx), %ebx
	jg	LBB0_6
	jmp	LBB0_8
LBB0_24:
	addq	(%rbx), %rdi
	movl	%r14d, %esi
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ddr_out32                      ## TAILCALL
LBB0_7:
	movl	%eax, %r12d
LBB0_8:
	movl	-48(%rbp), %eax                 ## 4-byte Reload
	andl	%eax, -44(%rbp)                 ## 4-byte Folded Spill
	movq	_FSL_MC_CAPTURE_DATA_HI@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	(%r15), %rdi
	callq	_ddr_in32
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	_FSL_MC_CAPTURE_DATA_LO@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	(%r15), %rdi
	callq	_ddr_in32
	movl	%eax, %r9d
	movq	_DDR_EDE_SBE@GOTPCREL(%rip), %rax
	testl	%r14d, (%rax)
	je	LBB0_16
## %bb.9:
	cmpl	$0, -64(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_16
## %bb.10:
	movl	%r14d, -64(%rbp)                ## 4-byte Spill
	leaq	-72(%rbp), %rcx
	leaq	-68(%rbp), %r8
	movl	-48(%rbp), %edi                 ## 4-byte Reload
	movl	%r9d, %r14d
	movl	%r9d, %esi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	callq	_sbe_ecc_decode
	movl	-72(%rbp), %ecx
	cmpl	$-1, %ecx
	je	LBB0_12
## %bb.11:
	movq	_KERN_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdx
	movq	%r13, %rdi
	xorl	%eax, %eax
	callq	_fsl_mc_printk
LBB0_12:
	movl	-68(%rbp), %ecx
	cmpl	$-1, %ecx
	movq	_KERN_ERR@GOTPCREL(%rip), %rdx
	je	LBB0_13
## %bb.14:
	movl	(%rdx), %esi
	leaq	L_.str.2(%rip), %rdx
	movq	%r13, %rdi
	xorl	%eax, %eax
	callq	_fsl_mc_printk
	movq	_KERN_ERR@GOTPCREL(%rip), %rdx
	movl	-68(%rbp), %eax
	jmp	LBB0_15
LBB0_13:
	movl	$-1, %eax
LBB0_15:
	movl	(%rdx), %esi
	movb	-72(%rbp), %dl
	leal	-32(%rdx), %edi
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	btcl	%edi, %ecx
	movl	%r14d, %r8d
	btcl	%edx, %r8d
	movl	-44(%rbp), %r9d                 ## 4-byte Reload
	btcl	%eax, %r9d
	leaq	L_.str.3(%rip), %rdx
	movq	%r13, %rdi
	xorl	%eax, %eax
	callq	_fsl_mc_printk
	movl	%r14d, %r9d
	movl	-64(%rbp), %r14d                ## 4-byte Reload
LBB0_16:
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
	movq	_KERN_ERR@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	leaq	L_.str.4(%rip), %rdx
	movq	%r13, %rdi
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	movl	%r9d, %r8d
	movl	-44(%rbp), %r9d                 ## 4-byte Reload
	xorl	%eax, %eax
	callq	_fsl_mc_printk
	movl	(%r15), %esi
	leaq	L_.str.5(%rip), %rdx
	movq	%r13, %rdi
	movl	-52(%rbp), %ecx                 ## 4-byte Reload
	xorl	%eax, %eax
	callq	_fsl_mc_printk
	movl	(%r15), %esi
	leaq	L_.str.6(%rip), %rdx
	movq	%r13, %rdi
	movl	%ebx, %ecx
	xorl	%eax, %eax
	callq	_fsl_mc_printk
	cmpl	(%r13), %r12d
	jne	LBB0_18
## %bb.17:
	movl	(%r15), %esi
	leaq	L_.str.7(%rip), %rdx
	movq	%r13, %rdi
	xorl	%eax, %eax
	callq	_fsl_mc_printk
LBB0_18:
	movq	_DDR_EDE_SBE@GOTPCREL(%rip), %rax
	testl	%r14d, (%rax)
	je	LBB0_20
## %bb.19:
	movq	_HW_EVENT_ERR_CORRECTED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_PAGE_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	notl	%r8d
	andl	-52(%rbp), %r8d                 ## 4-byte Folded Reload
	movl	4(%r13), %eax
	subq	$8, %rsp
	leaq	L_.str.8(%rip), %r10
	movq	%r13, %rsi
	movl	$1, %edx
	movl	%ebx, %ecx
	movl	-44(%rbp), %r9d                 ## 4-byte Reload
	pushq	%r10
	pushq	%rax
	pushq	$-1
	pushq	$0
	pushq	%r12
	callq	_edac_mc_handle_error
	addq	$48, %rsp
LBB0_20:
	movq	_DDR_EDE_MBE@GOTPCREL(%rip), %rax
	testl	%r14d, (%rax)
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	je	LBB0_22
## %bb.21:
	movq	_HW_EVENT_ERR_UNCORRECTED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_PAGE_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	movl	-52(%rbp), %r8d                 ## 4-byte Reload
	andl	%eax, %r8d
	movl	4(%r13), %eax
	subq	$8, %rsp
	leaq	L_.str.8(%rip), %r10
	movq	%r13, %rsi
	movl	$1, %edx
	movl	%ebx, %ecx
	movl	-44(%rbp), %r9d                 ## 4-byte Reload
	pushq	%r10
	pushq	%rax
	pushq	$-1
	pushq	$0
	pushq	%r12
	callq	_edac_mc_handle_error
	addq	$48, %rsp
LBB0_22:
	movq	_FSL_MC_ERR_DETECT@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	(%r15), %rdi
	movl	%r14d, %esi
	callq	_ddr_out32
LBB0_23:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FSL_MC_ERR_DETECT,8,3          ## @FSL_MC_ERR_DETECT
	.comm	_KERN_ERR,4,2                   ## @KERN_ERR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Err Detect Register: %#8.8x\n"

	.comm	_DDR_EDE_SBE,4,2                ## @DDR_EDE_SBE
	.comm	_DDR_EDE_MBE,4,2                ## @DDR_EDE_MBE
	.comm	_FSL_MC_CAPTURE_ECC,8,3         ## @FSL_MC_CAPTURE_ECC
	.comm	_FSL_MC_DDR_SDRAM_CFG,8,3       ## @FSL_MC_DDR_SDRAM_CFG
	.comm	_DSC_DBW_MASK,4,2               ## @DSC_DBW_MASK
	.comm	_FSL_MC_CAPTURE_EXT_ADDRESS,8,3 ## @FSL_MC_CAPTURE_EXT_ADDRESS
	.comm	_FSL_MC_CAPTURE_ADDRESS,8,3     ## @FSL_MC_CAPTURE_ADDRESS
	.comm	_PAGE_SHIFT,4,2                 ## @PAGE_SHIFT
	.comm	_FSL_MC_CAPTURE_DATA_HI,8,3     ## @FSL_MC_CAPTURE_DATA_HI
	.comm	_FSL_MC_CAPTURE_DATA_LO,8,3     ## @FSL_MC_CAPTURE_DATA_LO
L_.str.1:                               ## @.str.1
	.asciz	"Faulty Data bit: %d\n"

L_.str.2:                               ## @.str.2
	.asciz	"Faulty ECC bit: %d\n"

L_.str.3:                               ## @.str.3
	.asciz	"Expected Data / ECC:\t%#8.8x_%08x / %#2.2x\n"

L_.str.4:                               ## @.str.4
	.asciz	"Captured Data / ECC:\t%#8.8x_%08x / %#2.2x\n"

L_.str.5:                               ## @.str.5
	.asciz	"Err addr: %#8.8llx\n"

L_.str.6:                               ## @.str.6
	.asciz	"PFN: %#8.8x\n"

L_.str.7:                               ## @.str.7
	.asciz	"PFN out of range!\n"

	.comm	_HW_EVENT_ERR_CORRECTED,4,2     ## @HW_EVENT_ERR_CORRECTED
	.comm	_PAGE_MASK,4,2                  ## @PAGE_MASK
L_.str.8:                               ## @.str.8
	.space	1

	.comm	_HW_EVENT_ERR_UNCORRECTED,4,2   ## @HW_EVENT_ERR_UNCORRECTED
	.no_dead_strip	_fsl_mc_check
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fsl_mc_check
_fsl_mc_check:                          ; @fsl_mc_check
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	ldr	x28, [x0, #16]
	ldr	x8, [x28]
Lloh0:
	adrp	x21, _FSL_MC_ERR_DETECT@GOTPAGE
Lloh1:
	ldr	x21, [x21, _FSL_MC_ERR_DETECT@GOTPAGEOFF]
	ldr	x9, [x21]
	add	x0, x9, x8
	bl	_ddr_in32
	cbz	w0, LBB0_23
; %bb.1:
	mov	x19, x0
Lloh2:
	adrp	x8, _KERN_ERR@GOTPAGE
Lloh3:
	ldr	x8, [x8, _KERN_ERR@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	str	x19, [sp]
Lloh5:
	adrp	x2, l_.str@PAGE
Lloh6:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x20
	bl	_fsl_mc_printk
Lloh7:
	adrp	x8, _DDR_EDE_SBE@GOTPAGE
Lloh8:
	ldr	x8, [x8, _DDR_EDE_SBE@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
Lloh10:
	adrp	x9, _DDR_EDE_MBE@GOTPAGE
Lloh11:
	ldr	x9, [x9, _DDR_EDE_MBE@GOTPAGEOFF]
Lloh12:
	ldr	w9, [x9]
	orr	w9, w9, w8
	ldr	x8, [x28]
	tst	w9, w19
	b.eq	LBB0_7
; %bb.2:
Lloh13:
	adrp	x9, _FSL_MC_CAPTURE_ECC@GOTPAGE
Lloh14:
	ldr	x9, [x9, _FSL_MC_CAPTURE_ECC@GOTPAGEOFF]
Lloh15:
	ldr	x9, [x9]
	add	x0, x9, x8
	bl	_ddr_in32
	mov	x21, x0
	ldr	x8, [x28]
Lloh16:
	adrp	x9, _FSL_MC_DDR_SDRAM_CFG@GOTPAGE
Lloh17:
	ldr	x9, [x9, _FSL_MC_DDR_SDRAM_CFG@GOTPAGEOFF]
Lloh18:
	ldr	x9, [x9]
	add	x0, x9, x8
	bl	_ddr_in32
Lloh19:
	adrp	x8, _DSC_DBW_MASK@GOTPAGE
Lloh20:
	ldr	x8, [x8, _DSC_DBW_MASK@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
	ands	w27, w8, w0
	mov	w8, #65535
	mov	w9, #255
	csel	w8, w9, w8, eq
	and	w21, w8, w21
	ldr	x8, [x28]
Lloh22:
	adrp	x9, _FSL_MC_CAPTURE_EXT_ADDRESS@GOTPAGE
Lloh23:
	ldr	x9, [x9, _FSL_MC_CAPTURE_EXT_ADDRESS@GOTPAGEOFF]
Lloh24:
	ldr	x9, [x9]
	add	x0, x9, x8
	bl	_ddr_in32
	mov	x22, x0
	ldr	x8, [x28]
Lloh25:
	adrp	x9, _FSL_MC_CAPTURE_ADDRESS@GOTPAGE
Lloh26:
	ldr	x9, [x9, _FSL_MC_CAPTURE_ADDRESS@GOTPAGEOFF]
Lloh27:
	ldr	x9, [x9]
	add	x0, x9, x8
	bl	_ddr_in32
	mov	x1, x0
	mov	x0, x22
	bl	_make64
	mov	x23, x0
Lloh28:
	adrp	x8, _PAGE_SHIFT@GOTPAGE
Lloh29:
	ldr	x8, [x8, _PAGE_SHIFT@GOTPAGEOFF]
Lloh30:
	ldr	w8, [x8]
	asr	w22, w0, w8
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_9
; %bb.3:
	mov	x24, #0
	ldr	x9, [x20, #8]
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x24, x24, #1
	cmp	x8, x24
	b.eq	LBB0_8
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x10, [x9, x24, lsl #3]
	ldr	w11, [x10]
	cmp	w22, w11
	b.lt	LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w10, [x10, #4]
	cmp	w22, w10
	b.gt	LBB0_4
	b	LBB0_10
LBB0_7:
	ldr	x9, [x21]
	add	x0, x9, x8
	mov	x1, x19
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	b	_ddr_out32
LBB0_8:
	mov	x24, x8
	b	LBB0_10
LBB0_9:
	mov	w24, #0
LBB0_10:
	ldr	x8, [x28]
Lloh31:
	adrp	x9, _FSL_MC_CAPTURE_DATA_HI@GOTPAGE
Lloh32:
	ldr	x9, [x9, _FSL_MC_CAPTURE_DATA_HI@GOTPAGEOFF]
Lloh33:
	ldr	x9, [x9]
	add	x0, x9, x8
	bl	_ddr_in32
	mov	x25, x0
	ldr	x8, [x28]
Lloh34:
	adrp	x9, _FSL_MC_CAPTURE_DATA_LO@GOTPAGE
Lloh35:
	ldr	x9, [x9, _FSL_MC_CAPTURE_DATA_LO@GOTPAGEOFF]
Lloh36:
	ldr	x9, [x9]
	add	x0, x9, x8
	bl	_ddr_in32
	mov	x26, x0
Lloh37:
	adrp	x8, _DDR_EDE_SBE@GOTPAGE
Lloh38:
	ldr	x8, [x8, _DDR_EDE_SBE@GOTPAGEOFF]
Lloh39:
	ldr	w8, [x8]
	and	w8, w8, w19
	cmp	w8, #0
	ccmp	w27, #0, #0, ne
Lloh40:
	adrp	x27, _KERN_ERR@GOTPAGE
Lloh41:
	ldr	x27, [x27, _KERN_ERR@GOTPAGEOFF]
	b.ne	LBB0_16
; %bb.11:
	add	x3, sp, #28
	add	x4, sp, #24
	mov	x0, x25
	mov	x1, x26
	mov	x2, x21
	bl	_sbe_ecc_decode
	ldr	w8, [sp, #28]
	cmn	w8, #1
	b.eq	LBB0_13
; %bb.12:
	ldr	w1, [x27]
	str	x8, [sp]
Lloh42:
	adrp	x2, l_.str.1@PAGE
Lloh43:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_fsl_mc_printk
LBB0_13:
	ldr	w8, [sp, #24]
	cmn	w8, #1
	b.eq	LBB0_15
; %bb.14:
	ldr	w1, [x27]
	str	x8, [sp]
Lloh44:
	adrp	x2, l_.str.2@PAGE
Lloh45:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x0, x20
	bl	_fsl_mc_printk
	ldr	w8, [sp, #24]
LBB0_15:
	ldr	w1, [x27]
	ldr	w9, [sp, #28]
	mov	w10, #1
	lsl	w9, w10, w9
	eor	w11, w9, w25
	eor	w9, w9, w26
	lsl	w8, w10, w8
	eor	w8, w8, w21
	stp	x9, x8, [sp, #8]
	str	x11, [sp]
Lloh46:
	adrp	x2, l_.str.3@PAGE
Lloh47:
	add	x2, x2, l_.str.3@PAGEOFF
	mov	x0, x20
	bl	_fsl_mc_printk
LBB0_16:
	ldr	w1, [x27]
	stp	x26, x21, [sp, #8]
	str	x25, [sp]
Lloh48:
	adrp	x2, l_.str.4@PAGE
Lloh49:
	add	x2, x2, l_.str.4@PAGEOFF
	mov	x0, x20
	bl	_fsl_mc_printk
	ldr	w1, [x27]
	str	x23, [sp]
Lloh50:
	adrp	x2, l_.str.5@PAGE
Lloh51:
	add	x2, x2, l_.str.5@PAGEOFF
	mov	x0, x20
	bl	_fsl_mc_printk
	ldr	w1, [x27]
	str	x22, [sp]
Lloh52:
	adrp	x2, l_.str.6@PAGE
Lloh53:
	add	x2, x2, l_.str.6@PAGEOFF
	mov	x0, x20
	bl	_fsl_mc_printk
	ldr	w8, [x20]
	cmp	w24, w8
	b.ne	LBB0_18
; %bb.17:
	ldr	w1, [x27]
Lloh54:
	adrp	x2, l_.str.7@PAGE
Lloh55:
	add	x2, x2, l_.str.7@PAGEOFF
	mov	x0, x20
	bl	_fsl_mc_printk
LBB0_18:
Lloh56:
	adrp	x8, _DDR_EDE_SBE@GOTPAGE
Lloh57:
	ldr	x8, [x8, _DDR_EDE_SBE@GOTPAGEOFF]
Lloh58:
	ldr	w8, [x8]
Lloh59:
	adrp	x26, _PAGE_MASK@GOTPAGE
Lloh60:
	ldr	x26, [x26, _PAGE_MASK@GOTPAGEOFF]
Lloh61:
	adrp	x25, l_.str.8@PAGE
Lloh62:
	add	x25, x25, l_.str.8@PAGEOFF
	tst	w8, w19
	b.eq	LBB0_20
; %bb.19:
Lloh63:
	adrp	x8, _HW_EVENT_ERR_CORRECTED@GOTPAGE
Lloh64:
	ldr	x8, [x8, _HW_EVENT_ERR_CORRECTED@GOTPAGEOFF]
Lloh65:
	ldr	w0, [x8]
	ldr	w8, [x26]
	bic	w4, w23, w8
	ldr	w8, [x20, #4]
	str	x25, [sp, #8]
	mov	w9, #-1
	stp	w9, w8, [sp]
	mov	x1, x20
	mov	w2, #1
	mov	x3, x22
	mov	x5, x21
	mov	x6, x24
	mov	w7, #0
	bl	_edac_mc_handle_error
LBB0_20:
Lloh66:
	adrp	x8, _DDR_EDE_MBE@GOTPAGE
Lloh67:
	ldr	x8, [x8, _DDR_EDE_MBE@GOTPAGEOFF]
Lloh68:
	ldr	w8, [x8]
	tst	w8, w19
	b.eq	LBB0_22
; %bb.21:
Lloh69:
	adrp	x8, _HW_EVENT_ERR_UNCORRECTED@GOTPAGE
Lloh70:
	ldr	x8, [x8, _HW_EVENT_ERR_UNCORRECTED@GOTPAGEOFF]
Lloh71:
	ldr	w0, [x8]
	ldr	w8, [x26]
	bic	w4, w23, w8
	ldr	w8, [x20, #4]
	str	x25, [sp, #8]
	mov	w9, #-1
	stp	w9, w8, [sp]
	mov	x1, x20
	mov	w2, #1
	mov	x3, x22
	mov	x5, x21
	mov	x6, x24
	mov	w7, #0
	bl	_edac_mc_handle_error
LBB0_22:
	ldr	x8, [x28]
Lloh72:
	adrp	x9, _FSL_MC_ERR_DETECT@GOTPAGE
Lloh73:
	ldr	x9, [x9, _FSL_MC_ERR_DETECT@GOTPAGEOFF]
Lloh74:
	ldr	x9, [x9]
	add	x0, x9, x8
	mov	x1, x19
	bl	_ddr_out32
LBB0_23:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpAdd	Lloh46, Lloh47
	.loh AdrpAdd	Lloh52, Lloh53
	.loh AdrpAdd	Lloh50, Lloh51
	.loh AdrpAdd	Lloh48, Lloh49
	.loh AdrpAdd	Lloh54, Lloh55
	.loh AdrpAdd	Lloh61, Lloh62
	.loh AdrpLdrGot	Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh65
	.loh AdrpLdrGotLdr	Lloh66, Lloh67, Lloh68
	.loh AdrpLdrGotLdr	Lloh69, Lloh70, Lloh71
	.loh AdrpLdrGotLdr	Lloh72, Lloh73, Lloh74
	.cfi_endproc
                                        ; -- End function
	.comm	_FSL_MC_ERR_DETECT,8,3          ; @FSL_MC_ERR_DETECT
	.comm	_KERN_ERR,4,2                   ; @KERN_ERR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Err Detect Register: %#8.8x\n"

	.comm	_DDR_EDE_SBE,4,2                ; @DDR_EDE_SBE
	.comm	_DDR_EDE_MBE,4,2                ; @DDR_EDE_MBE
	.comm	_FSL_MC_CAPTURE_ECC,8,3         ; @FSL_MC_CAPTURE_ECC
	.comm	_FSL_MC_DDR_SDRAM_CFG,8,3       ; @FSL_MC_DDR_SDRAM_CFG
	.comm	_DSC_DBW_MASK,4,2               ; @DSC_DBW_MASK
	.comm	_FSL_MC_CAPTURE_EXT_ADDRESS,8,3 ; @FSL_MC_CAPTURE_EXT_ADDRESS
	.comm	_FSL_MC_CAPTURE_ADDRESS,8,3     ; @FSL_MC_CAPTURE_ADDRESS
	.comm	_PAGE_SHIFT,4,2                 ; @PAGE_SHIFT
	.comm	_FSL_MC_CAPTURE_DATA_HI,8,3     ; @FSL_MC_CAPTURE_DATA_HI
	.comm	_FSL_MC_CAPTURE_DATA_LO,8,3     ; @FSL_MC_CAPTURE_DATA_LO
l_.str.1:                               ; @.str.1
	.asciz	"Faulty Data bit: %d\n"

l_.str.2:                               ; @.str.2
	.asciz	"Faulty ECC bit: %d\n"

l_.str.3:                               ; @.str.3
	.asciz	"Expected Data / ECC:\t%#8.8x_%08x / %#2.2x\n"

l_.str.4:                               ; @.str.4
	.asciz	"Captured Data / ECC:\t%#8.8x_%08x / %#2.2x\n"

l_.str.5:                               ; @.str.5
	.asciz	"Err addr: %#8.8llx\n"

l_.str.6:                               ; @.str.6
	.asciz	"PFN: %#8.8x\n"

l_.str.7:                               ; @.str.7
	.asciz	"PFN out of range!\n"

	.comm	_HW_EVENT_ERR_CORRECTED,4,2     ; @HW_EVENT_ERR_CORRECTED
	.comm	_PAGE_MASK,4,2                  ; @PAGE_MASK
l_.str.8:                               ; @.str.8
	.space	1

	.comm	_HW_EVENT_ERR_UNCORRECTED,4,2   ; @HW_EVENT_ERR_UNCORRECTED
	.no_dead_strip	_fsl_mc_check
.subsections_via_symbols
