	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ppc4xx_edac_generate_bank_message
_ppc4xx_edac_generate_bank_message:     ## @ppc4xx_edac_generate_bank_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
	movq	%rdi, %r13
	movq	(%rdi), %rcx
	leaq	L_.str(%rip), %rdx
	xorl	%r12d, %r12d
	movq	%r15, %rdi
	movq	%rbx, %rsi
	xorl	%eax, %eax
	callq	_snprintf
	testl	%eax, %eax
	js	LBB0_14
## %bb.1:
	movl	%eax, %ecx
	cmpq	%rbx, %rcx
	jae	LBB0_14
## %bb.2:
	addq	%rcx, %r15
	subq	%rcx, %rbx
	cmpl	$0, 8(%r13)
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	je	LBB0_10
## %bb.3:
	xorl	%r14d, %r14d
	xorl	%r12d, %r12d
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_5 Depth=1
	incl	%r12d
	cmpl	8(%r13), %r12d
	jae	LBB0_9
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	%r12d, %esi
	callq	_ppc4xx_edac_check_bank_error
	testq	%rax, %rax
	je	LBB0_4
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	testl	%r14d, %r14d
	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	%r12d, %r8d
	xorl	%eax, %eax
	callq	_snprintf
	testl	%eax, %eax
	js	LBB0_13
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	%eax, %ecx
	subq	%rcx, %rbx
	jbe	LBB0_13
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	incl	%r14d
	addq	%rcx, %r15
	addl	%eax, -44(%rbp)                 ## 4-byte Folded Spill
	jmp	LBB0_4
LBB0_13:
	movl	-44(%rbp), %r12d                ## 4-byte Reload
	jmp	LBB0_14
LBB0_9:
	testl	%r14d, %r14d
	leaq	L_.str.3(%rip), %rcx
	jne	LBB0_11
LBB0_10:
	leaq	L_.str.5(%rip), %rcx
LBB0_11:
	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, %r12d
	cmoval	%eax, %r12d
	testl	%eax, %eax
	cmovsl	%r14d, %r12d
	addl	-44(%rbp), %r12d                ## 4-byte Folded Reload
LBB0_14:
	movl	%r12d, %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	"%s: Banks: "

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_bank_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_bank_message
_ppc4xx_edac_generate_bank_message:     ; @ppc4xx_edac_generate_bank_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	x20, x3
	mov	x21, x2
	mov	x22, x1
	mov	x23, x0
	ldr	x3, [x0]
Lloh0:
	adrp	x2, l_.str@PAGE
Lloh1:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x21
	mov	x1, x20
	bl	_snprintf
	tbnz	w0, #31, LBB0_9
; %bb.1:
	mov	x19, x0
	mov	w8, w0
	cmp	x8, x20
	b.hs	LBB0_9
; %bb.2:
	add	x21, x21, x8
	sub	x20, x20, x8
	ldr	w8, [x23, #8]
	cbz	w8, LBB0_12
; %bb.3:
	mov	w26, #0
	mov	w24, #0
Lloh2:
	adrp	x27, l_.str.2@PAGE
Lloh3:
	add	x27, x27, l_.str.2@PAGEOFF
Lloh4:
	adrp	x28, l_.str.3@PAGE
Lloh5:
	add	x28, x28, l_.str.3@PAGEOFF
Lloh6:
	adrp	x25, l_.str.1@PAGE
Lloh7:
	add	x25, x25, l_.str.1@PAGEOFF
	b	LBB0_6
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	w26, w26, #1
	add	x21, x21, x8
	add	w19, w0, w19
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	w24, w24, #1
	ldr	w8, [x23, #8]
	cmp	w24, w8
	b.hs	LBB0_10
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x22
	mov	x1, x24
	bl	_ppc4xx_edac_check_bank_error
	cbz	x0, LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	cmp	w26, #0
	csel	x3, x28, x27, eq
	str	x24, [sp]
	mov	x0, x21
	mov	x1, x20
	mov	x2, x25
	bl	_snprintf
	tbnz	w0, #31, LBB0_14
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	w8, w0
	subs	x20, x20, x8
	b.hi	LBB0_4
	b	LBB0_14
LBB0_9:
	mov	w19, #0
	b	LBB0_14
LBB0_10:
	cbz	w26, LBB0_12
; %bb.11:
Lloh8:
	adrp	x3, l_.str.3@PAGE
Lloh9:
	add	x3, x3, l_.str.3@PAGEOFF
	b	LBB0_13
LBB0_12:
Lloh10:
	adrp	x3, l_.str.5@PAGE
Lloh11:
	add	x3, x3, l_.str.5@PAGEOFF
LBB0_13:
Lloh12:
	adrp	x2, l_.str.4@PAGE
Lloh13:
	add	x2, x2, l_.str.4@PAGEOFF
	mov	x0, x21
	mov	x1, x20
	bl	_snprintf
	cmp	x20, w0, sxtw
	mov	w8, #-1
	ccmp	w0, w8, #4, hi
	csel	w8, w0, wzr, gt
	add	w19, w8, w19
LBB0_14:
	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
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s: Banks: "

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_bank_message
.subsections_via_symbols
