	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function i5400_process_nonfatal_error_info
_i5400_process_nonfatal_error_info:     ## @i5400_process_nonfatal_error_info
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_EDAC_MC_LABEL_LEN@GOTPCREL(%rip), %rax
	movl	$171, %ebx
	addl	(%rax), %ebx
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r12
	movq	_FERR_NF_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	andl	(%r14), %edi
	callq	_from_nf_ferr
	movq	%rax, -64(%rbp)
	testq	%rax, %rax
	je	LBB0_7
## %bb.1:
	movq	_ERROR_NF_UNCORRECTABLE@GOTPCREL(%rip), %rcx
	movq	_ERROR_NF_RECOVERABLE@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	orq	(%rcx), %rdx
	testq	%rax, %rdx
	je	LBB0_4
## %bb.2:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_9
## %bb.3:
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	%r14, %rsi
	movq	%rax, %rdx
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_i5400_proccess_non_recoverable_info ## TAILCALL
LBB0_4:
	movq	_ERROR_NF_CORRECTABLE@GOTPCREL(%rip), %rcx
	testq	%rax, (%rcx)
	je	LBB0_6
## %bb.5:
	leaq	L_.str(%rip), %rsi
	xorl	%edi, %edi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_edac_dbg
	movl	(%r14), %edi
	callq	_extract_fbdchan_indx
	movq	%r12, -112(%rbp)                ## 8-byte Spill
	movl	%eax, %r12d
	movl	4(%r14), %edi
	callq	_REC_ECC_LOCATOR_ODD
	cmpq	$1, %rax
	movl	%r12d, %r13d
	sbbl	$-1, %r13d
	movq	%r14, %rdi
	callq	_rec_bank
	movl	%eax, %r15d
	movq	%r14, %rdi
	callq	_rec_rank
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	movq	%r14, %rdi
	callq	_rec_rdwr
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movq	%r14, %rdi
	callq	_rec_ras
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	movq	%r14, %rdi
	callq	_rec_cas
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movq	_error_name@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_ARRAY_SIZE
	leaq	-64(%rbp), %rdi
	movl	%eax, %esi
	callq	_find_first_bit
	movl	%eax, -76(%rbp)                 ## 4-byte Spill
	sarl	%r12d
	movl	-52(%rbp), %r14d                ## 4-byte Reload
	movl	%r14d, %edi
	callq	_rdwr_str
	movq	%rax, %r10
	subq	$8, %rsp
	leaq	L_.str.1(%rip), %rsi
	xorl	%edi, %edi
	movq	-104(%rbp), %rdx                ## 8-byte Reload
                                        ## kill: def $edx killed $edx killed $rdx
	movl	%r13d, %ecx
	movl	%r12d, %r8d
	movl	%r15d, %r9d
	xorl	%eax, %eax
	pushq	-88(%rbp)                       ## 8-byte Folded Reload
	pushq	-96(%rbp)                       ## 8-byte Folded Reload
	pushq	%r10
	callq	_edac_dbg
	addq	$32, %rsp
	movl	%r14d, %edi
	callq	_rdwr_str
	movq	_error_name@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movslq	-76(%rbp), %rdx                 ## 4-byte Folded Reload
	movl	(%rcx,%rdx,4), %r10d
	leaq	L_.str.2(%rip), %rdx
	movq	-112(%rbp), %r14                ## 8-byte Reload
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	%r12d, %ecx
	movl	%r15d, %r8d
	movq	%rax, %r9
	pushq	%r10
	pushq	-64(%rbp)
	pushq	-88(%rbp)                       ## 8-byte Folded Reload
	pushq	-96(%rbp)                       ## 8-byte Folded Reload
	callq	_snprintf
	addq	$32, %rsp
	movq	_HW_EVENT_ERR_CORRECTED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%r13d, %eax
	shrl	$31, %eax
	addl	%r13d, %eax
	andl	$-2, %eax
	subl	%eax, %r13d
	cmpl	$0, -52(%rbp)                   ## 4-byte Folded Reload
	leaq	L_.str.4(%rip), %rax
	leaq	L_.str.3(%rip), %rbx
	cmoveq	%rax, %rbx
	subq	$8, %rsp
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	movl	$1, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	pushq	%r14
	pushq	%rbx
	pushq	-104(%rbp)                      ## 8-byte Folded Reload
	pushq	%r13
	pushq	%r12
	callq	_edac_mc_handle_error
	addq	$48, %rsp
	jmp	LBB0_7
LBB0_6:
	movq	_error_name@GOTPCREL(%rip), %r12
	movq	(%r12), %rdi
	callq	_ARRAY_SIZE
	leaq	-64(%rbp), %rdi
	movl	%eax, %esi
	callq	_find_first_bit
	movl	%eax, %ebx
	movl	(%r14), %edi
	callq	_extract_fbdchan_indx
	movq	_KERN_EMERG@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	sarl	%eax
	movq	-64(%rbp), %r8
	movq	(%r12), %rcx
	movslq	%ebx, %rdx
	movl	(%rcx,%rdx,4), %r9d
	leaq	L_.str.5(%rip), %rdx
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movl	%eax, %ecx
	callq	_i5400_mc_printk
LBB0_7:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_9
## %bb.8:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_EDAC_MC_LABEL_LEN,4,2          ## @EDAC_MC_LABEL_LEN
	.comm	_FERR_NF_MASK,4,2               ## @FERR_NF_MASK
	.comm	_ERROR_NF_UNCORRECTABLE,8,3     ## @ERROR_NF_UNCORRECTABLE
	.comm	_ERROR_NF_RECOVERABLE,8,3       ## @ERROR_NF_RECOVERABLE
	.comm	_ERROR_NF_CORRECTABLE,8,3       ## @ERROR_NF_CORRECTABLE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\tCorrected bits= 0x%lx\n"

	.comm	_error_name,8,3                 ## @error_name
L_.str.1:                               ## @.str.1
	.asciz	"\t\tDIMM= %d Channel= %d  (Branch %d DRAM Bank= %d rdwr= %s ras= %d cas= %d)\n"

L_.str.2:                               ## @.str.2
	.asciz	"Corrected error (Branch=%d DRAM-Bank=%d RDWR=%s RAS=%d CAS=%d, CE Err=0x%lx (%s))"

	.comm	_HW_EVENT_ERR_CORRECTED,4,2     ## @HW_EVENT_ERR_CORRECTED
L_.str.3:                               ## @.str.3
	.asciz	"Write error"

L_.str.4:                               ## @.str.4
	.asciz	"Read error"

	.comm	_KERN_EMERG,4,2                 ## @KERN_EMERG
L_.str.5:                               ## @.str.5
	.asciz	"Non-Fatal misc error (Branch=%d Err=%#lx (%s))"

	.no_dead_strip	_i5400_process_nonfatal_error_info
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function i5400_process_nonfatal_error_info
_i5400_process_nonfatal_error_info:     ; @i5400_process_nonfatal_error_info
	.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
	sub	sp, sp, #48
	mov	x22, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x8, _EDAC_MC_LABEL_LEN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EDAC_MC_LABEL_LEN@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	add	w21, w8, #171
	mov	x9, x21
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x21, #15
	and	x9, x9, #0x1fffffff0
	sub	x20, x8, x9
	mov	sp, x20
	ldr	w8, [x1]
Lloh8:
	adrp	x9, _FERR_NF_MASK@GOTPAGE
Lloh9:
	ldr	x9, [x9, _FERR_NF_MASK@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	and	w0, w9, w8
	bl	_from_nf_ferr
	stur	x0, [x29, #-96]
	cbz	x0, LBB0_7
; %bb.1:
	mov	x2, x0
Lloh11:
	adrp	x8, _ERROR_NF_UNCORRECTABLE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ERROR_NF_UNCORRECTABLE@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
Lloh14:
	adrp	x9, _ERROR_NF_RECOVERABLE@GOTPAGE
Lloh15:
	ldr	x9, [x9, _ERROR_NF_RECOVERABLE@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9]
	orr	x8, x9, x8
	tst	x8, x0
	b.eq	LBB0_4
; %bb.2:
	ldur	x8, [x29, #-88]
Lloh17:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh18:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh19:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_9
; %bb.3:
	mov	x0, x19
	mov	x1, x22
	sub	sp, x29, #80
	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	_i5400_proccess_non_recoverable_info
LBB0_4:
Lloh20:
	adrp	x8, _ERROR_NF_CORRECTABLE@GOTPAGE
Lloh21:
	ldr	x8, [x8, _ERROR_NF_CORRECTABLE@GOTPAGEOFF]
Lloh22:
	ldr	x8, [x8]
	tst	x8, x2
	b.eq	LBB0_6
; %bb.5:
Lloh23:
	adrp	x1, l_.str@PAGE
Lloh24:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #0
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_edac_dbg
	ldr	w0, [x22]
	bl	_extract_fbdchan_indx
	mov	x28, x0
	ldr	w0, [x22, #4]
	bl	_REC_ECC_LOCATOR_ODD
	cmp	x0, #0
	cinc	w23, w28, ne
	mov	x0, x22
	bl	_rec_bank
	stur	x0, [x29, #-112]                ; 8-byte Folded Spill
	mov	x0, x22
	bl	_rec_rank
	stur	w0, [x29, #-100]                ; 4-byte Folded Spill
	mov	x0, x22
	bl	_rec_rdwr
	mov	x24, x0
	mov	x0, x22
	bl	_rec_ras
	mov	x25, x0
	mov	x0, x22
	bl	_rec_cas
	mov	x27, x0
Lloh25:
	adrp	x8, _error_name@GOTPAGE
Lloh26:
	ldr	x8, [x8, _error_name@GOTPAGEOFF]
Lloh27:
	ldr	x0, [x8]
	bl	_ARRAY_SIZE
	mov	x1, x0
	sub	x0, x29, #96
	bl	_find_first_bit
	stur	w0, [x29, #-116]                ; 4-byte Folded Spill
	asr	w22, w28, #1
	mov	x0, x24
	bl	_rdwr_str
	sub	sp, sp, #48
	stp	x25, x27, [sp, #32]
	str	x0, [sp, #24]
	ldur	x26, [x29, #-112]               ; 8-byte Folded Reload
	stp	x22, x26, [sp, #8]
	str	x23, [sp]
Lloh28:
	adrp	x1, l_.str.1@PAGE
Lloh29:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w0, #0
	ldur	w28, [x29, #-100]               ; 4-byte Folded Reload
	mov	x2, x28
	bl	_edac_dbg
	add	sp, sp, #48
	mov	x0, x24
	bl	_rdwr_str
	mov	x5, x0
	ldur	x8, [x29, #-96]
Lloh30:
	adrp	x9, _error_name@GOTPAGE
Lloh31:
	ldr	x9, [x9, _error_name@GOTPAGEOFF]
Lloh32:
	ldr	x9, [x9]
	ldur	w10, [x29, #-116]               ; 4-byte Folded Reload
	ldr	w9, [x9, w10, sxtw #2]
	sub	sp, sp, #16
	str	w9, [sp, #8]
	str	x8, [sp]
Lloh33:
	adrp	x2, l_.str.2@PAGE
Lloh34:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x0, x20
	mov	x1, x21
	mov	x3, x22
	mov	x4, x26
	mov	x6, x25
	mov	x7, x27
	bl	_snprintf
	add	sp, sp, #16
Lloh35:
	adrp	x8, _HW_EVENT_ERR_CORRECTED@GOTPAGE
Lloh36:
	ldr	x8, [x8, _HW_EVENT_ERR_CORRECTED@GOTPAGEOFF]
Lloh37:
	ldr	w0, [x8]
	and	w8, w23, #0x1
	cmp	w23, #0
	cneg	w7, w8, lt
Lloh38:
	adrp	x8, l_.str.3@PAGE
Lloh39:
	add	x8, x8, l_.str.3@PAGEOFF
Lloh40:
	adrp	x9, l_.str.4@PAGE
Lloh41:
	add	x9, x9, l_.str.4@PAGEOFF
	cmp	w24, #0
	csel	x8, x9, x8, eq
	sub	sp, sp, #32
	stp	x8, x20, [sp, #8]
	str	w28, [sp]
	mov	x1, x19
	mov	w2, #1
	mov	w3, #0
	mov	w4, #0
	mov	w5, #0
	mov	x6, x22
	bl	_edac_mc_handle_error
	add	sp, sp, #32
	b	LBB0_7
LBB0_6:
Lloh42:
	adrp	x21, _error_name@GOTPAGE
Lloh43:
	ldr	x21, [x21, _error_name@GOTPAGEOFF]
	ldr	x0, [x21]
	bl	_ARRAY_SIZE
	mov	x1, x0
	sub	x0, x29, #96
	bl	_find_first_bit
	mov	x20, x0
	ldr	w0, [x22]
	bl	_extract_fbdchan_indx
Lloh44:
	adrp	x8, _KERN_EMERG@GOTPAGE
Lloh45:
	ldr	x8, [x8, _KERN_EMERG@GOTPAGEOFF]
Lloh46:
	ldr	w1, [x8]
	asr	w3, w0, #1
	ldur	x4, [x29, #-96]
	ldr	x8, [x21]
	ldr	w5, [x8, w20, sxtw #2]
Lloh47:
	adrp	x2, l_.str.5@PAGE
Lloh48:
	add	x2, x2, l_.str.5@PAGEOFF
	mov	x0, x19
	bl	_i5400_mc_printk
LBB0_7:
	ldur	x8, [x29, #-88]
Lloh49:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh50:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh51:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_9
; %bb.8:
	sub	sp, x29, #80
	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
	ret
LBB0_9:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGot	Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.cfi_endproc
                                        ; -- End function
	.comm	_EDAC_MC_LABEL_LEN,4,2          ; @EDAC_MC_LABEL_LEN
	.comm	_FERR_NF_MASK,4,2               ; @FERR_NF_MASK
	.comm	_ERROR_NF_UNCORRECTABLE,8,3     ; @ERROR_NF_UNCORRECTABLE
	.comm	_ERROR_NF_RECOVERABLE,8,3       ; @ERROR_NF_RECOVERABLE
	.comm	_ERROR_NF_CORRECTABLE,8,3       ; @ERROR_NF_CORRECTABLE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\tCorrected bits= 0x%lx\n"

	.comm	_error_name,8,3                 ; @error_name
l_.str.1:                               ; @.str.1
	.asciz	"\t\tDIMM= %d Channel= %d  (Branch %d DRAM Bank= %d rdwr= %s ras= %d cas= %d)\n"

l_.str.2:                               ; @.str.2
	.asciz	"Corrected error (Branch=%d DRAM-Bank=%d RDWR=%s RAS=%d CAS=%d, CE Err=0x%lx (%s))"

	.comm	_HW_EVENT_ERR_CORRECTED,4,2     ; @HW_EVENT_ERR_CORRECTED
l_.str.3:                               ; @.str.3
	.asciz	"Write error"

l_.str.4:                               ; @.str.4
	.asciz	"Read error"

	.comm	_KERN_EMERG,4,2                 ; @KERN_EMERG
l_.str.5:                               ; @.str.5
	.asciz	"Non-Fatal misc error (Branch=%d Err=%#lx (%s))"

	.no_dead_strip	_i5400_process_nonfatal_error_info
.subsections_via_symbols
