	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ppc4xx_edac_generate_lane_message
_ppc4xx_edac_generate_lane_message:     ## @ppc4xx_edac_generate_lane_message
	.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	%rcx, %rbx
	movq	%rdx, %r15
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	leaq	L_.str(%rip), %rdx
	xorl	%r14d, %r14d
	movq	%r15, %rdi
	movq	%rcx, %rsi
	xorl	%eax, %eax
	callq	_snprintf
	testl	%eax, %eax
	js	LBB0_11
## %bb.1:
	movl	%eax, %ecx
	cmpq	%rbx, %rcx
	jae	LBB0_11
## %bb.2:
	addq	%rcx, %r15
	subq	%rcx, %rbx
	xorl	%r12d, %r12d
	xorl	%r13d, %r13d
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_4 Depth=1
	incl	%r13d
	cmpl	$16, %r13d
	je	LBB0_8
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %r14d
	movl	%r13d, %edi
	callq	_SDRAM_ECCES_BNCE_ENCODE
	testl	%r14d, %eax
	je	LBB0_3
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	testl	%r12d, %r12d
	leaq	L_.str.2(%rip), %rcx
	leaq	L_.str.3(%rip), %rax
	cmoveq	%rax, %rcx
	movq	%r15, %rdi
	movq	%rbx, %rsi
	leaq	L_.str.1(%rip), %rdx
	movl	%r13d, %r8d
	xorl	%eax, %eax
	callq	_snprintf
	testl	%eax, %eax
	js	LBB0_10
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	%eax, %ecx
	subq	%rcx, %rbx
	jbe	LBB0_10
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	incl	%r12d
	addq	%rcx, %r15
	addl	%eax, -44(%rbp)                 ## 4-byte Folded Spill
	jmp	LBB0_3
LBB0_10:
	movl	-44(%rbp), %r14d                ## 4-byte Reload
	jmp	LBB0_11
LBB0_8:
	testl	%r12d, %r12d
	leaq	L_.str.5(%rip), %rax
	leaq	L_.str.3(%rip), %rcx
	cmoveq	%rax, %rcx
	leaq	L_.str.4(%rip), %rdx
	xorl	%r14d, %r14d
	movq	%r15, %rdi
	movq	%rbx, %rsi
	xorl	%eax, %eax
	callq	_snprintf
	cltq
	cmpq	%rax, %rbx
	movl	$0, %ecx
	cmoval	%eax, %ecx
	testl	%eax, %eax
	cmovsl	%r14d, %ecx
	movl	-44(%rbp), %r14d                ## 4-byte Reload
	addl	%ecx, %r14d
LBB0_11:
	movl	%r14d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"; Byte Lane Errors: "

L_.str.1:                               ## @.str.1
	.asciz	"%s%u"

L_.str.2:                               ## @.str.2
	.asciz	", "

L_.str.3:                               ## @.str.3
	.space	1

L_.str.4:                               ## @.str.4
	.asciz	"%s; "

L_.str.5:                               ## @.str.5
	.asciz	"None"

	.no_dead_strip	_ppc4xx_edac_generate_lane_message
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ppc4xx_edac_generate_lane_message
_ppc4xx_edac_generate_lane_message:     ; @ppc4xx_edac_generate_lane_message
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x21, x3
	mov	x22, x2
	mov	x20, x1
Lloh0:
	adrp	x2, l_.str@PAGE
Lloh1:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x22
	mov	x1, x3
	bl	_snprintf
	tbnz	w0, #31, LBB0_8
; %bb.1:
	mov	x19, x0
	mov	w8, w0
	cmp	x8, x21
	b.hs	LBB0_8
; %bb.2:
	mov	w25, #0
	mov	w23, #0
	add	x22, x22, x8
	sub	x21, x21, x8
Lloh2:
	adrp	x27, l_.str.2@PAGE
Lloh3:
	add	x27, x27, l_.str.2@PAGEOFF
Lloh4:
	adrp	x26, l_.str.3@PAGE
Lloh5:
	add	x26, x26, l_.str.3@PAGEOFF
Lloh6:
	adrp	x24, l_.str.1@PAGE
Lloh7:
	add	x24, x24, l_.str.1@PAGEOFF
	b	LBB0_5
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	w25, w25, #1
	add	x22, x22, x8
	add	w19, w0, w19
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	w23, w23, #1
	cmp	w23, #16
	b.eq	LBB0_10
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w28, [x20]
	mov	x0, x23
	bl	_SDRAM_ECCES_BNCE_ENCODE
	tst	w0, w28
	b.eq	LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	cmp	w25, #0
	csel	x8, x26, x27, eq
	stp	x8, x23, [sp]
	mov	x0, x22
	mov	x1, x21
	mov	x2, x24
	bl	_snprintf
	tbnz	w0, #31, LBB0_9
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	w8, w0
	subs	x21, x21, x8
	b.hi	LBB0_3
	b	LBB0_9
LBB0_8:
	mov	w19, #0
LBB0_9:
	mov	x0, x19
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_10:
Lloh8:
	adrp	x8, l_.str.5@PAGE
Lloh9:
	add	x8, x8, l_.str.5@PAGEOFF
	cmp	w25, #0
	csel	x8, x8, x26, eq
	str	x8, [sp]
Lloh10:
	adrp	x2, l_.str.4@PAGE
Lloh11:
	add	x2, x2, l_.str.4@PAGEOFF
	mov	x0, x22
	mov	x1, x21
	bl	_snprintf
	cmp	x21, w0, sxtw
	mov	w8, #-1
	ccmp	w0, w8, #4, hi
	csel	w8, w0, wzr, gt
	add	w19, w8, w19
	b	LBB0_9
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"; Byte Lane Errors: "

l_.str.1:                               ; @.str.1
	.asciz	"%s%u"

l_.str.2:                               ; @.str.2
	.asciz	", "

l_.str.3:                               ; @.str.3
	.space	1

l_.str.4:                               ; @.str.4
	.asciz	"%s; "

l_.str.5:                               ; @.str.5
	.asciz	"None"

	.no_dead_strip	_ppc4xx_edac_generate_lane_message
.subsections_via_symbols
