	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function i82443bxgx_init_csrows
_i82443bxgx_init_csrows:                ## @i82443bxgx_init_csrows
	.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
	movl	%ecx, -48(%rbp)                 ## 4-byte Spill
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	movq	%rsi, %rcx
	movq	%rdi, %rbx
	movq	_I82443BXGX_DRAMC@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	leaq	-88(%rbp), %rdx
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	movq	%rcx, %rdi
	callq	_pci_read_config_byte
	cmpl	$0, (%rbx)
	jle	LBB0_5
## %bb.1:
	xorl	%r13d, %r13d
	xorl	%r14d, %r14d
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	incq	%r13
	movslq	(%rbx), %rax
	cmpq	%rax, %r13
	jge	LBB0_5
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%rbx), %rax
	movq	(%rax,%r13,8), %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	8(%rax), %rax
	movq	(%rax), %rax
	movq	(%rax), %r12
	movq	_I82443BXGX_DRB@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	%r13, %rsi
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	leaq	-64(%rbp), %rdx
	callq	_pci_read_config_byte
	movl	4(%rbx), %edx
	movl	-64(%rbp), %r8d
	movl	$1, %edi
	leaq	L_.str(%rip), %rsi
	movl	%r13d, %ecx
	xorl	%eax, %eax
	callq	_edac_dbg
	movl	-64(%rbp), %r15d
	shll	$23, %r15d
	movl	4(%rbx), %edx
	movl	$1, %edi
	leaq	L_.str.1(%rip), %rsi
	movl	%r13d, %ecx
	movl	%r15d, %r8d
	movl	%r14d, %r9d
	xorl	%eax, %eax
	callq	_edac_dbg
	testl	%r15d, %r15d
	movl	$-2147483648, %eax              ## imm = 0x80000000
	cmovnel	%r15d, %eax
	testl	%r14d, %r14d
	cmovel	%r15d, %eax
	cmpl	%r14d, %eax
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_PAGE_SHIFT@GOTPCREL(%rip), %rdx
	movzbl	(%rdx), %ecx
	sarl	%cl, %r14d
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	movl	%r14d, (%rsi)
	movzbl	(%rdx), %ecx
	movl	%eax, %edx
	sarl	%cl, %edx
	leal	-1(%rdx), %ecx
	movl	%ecx, 4(%rsi)
	subl	%r14d, %edx
	movl	%edx, (%r12)
	movl	$4096, 4(%r12)                  ## imm = 0x1000
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	movl	%ecx, 8(%r12)
	movq	_DEV_UNKNOWN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 16(%r12)
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	movl	%ecx, 12(%r12)
	movl	%eax, %r14d
	jmp	LBB0_4
LBB0_5:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_I82443BXGX_DRAMC,8,3           ## @I82443BXGX_DRAMC
	.comm	_I82443BXGX_DRB,8,3             ## @I82443BXGX_DRB
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"MC%d: Row=%d DRB = %#0x\n"

L_.str.1:                               ## @.str.1
	.asciz	"MC%d: Row=%d, Boundary Address=%#0x, Last = %#0x\n"

	.comm	_PAGE_SHIFT,4,2                 ## @PAGE_SHIFT
	.comm	_DEV_UNKNOWN,4,2                ## @DEV_UNKNOWN
	.no_dead_strip	_i82443bxgx_init_csrows
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function i82443bxgx_init_csrows
_i82443bxgx_init_csrows:                ; @i82443bxgx_init_csrows
	.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
	stp	w2, w3, [sp, #8]                ; 8-byte Folded Spill
	mov	x21, x1
	mov	x22, x0
Lloh0:
	adrp	x8, _I82443BXGX_DRAMC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _I82443BXGX_DRAMC@GOTPAGEOFF]
Lloh2:
	ldr	x1, [x8]
	add	x2, sp, #16
	mov	x0, x21
	bl	_pci_read_config_byte
	ldr	w8, [x22]
	cmp	w8, #1
	b.lt	LBB0_5
; %bb.1:
	mov	x23, #0
	mov	w20, #0
Lloh3:
	adrp	x28, _PAGE_SHIFT@GOTPAGE
Lloh4:
	ldr	x28, [x28, _PAGE_SHIFT@GOTPAGEOFF]
	mov	w19, #-2147483648
Lloh5:
	adrp	x25, l_.str.1@PAGE
Lloh6:
	add	x25, x25, l_.str.1@PAGEOFF
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x23, x23, #1
	ldrsw	x8, [x22]
	cmp	x23, x8
	b.ge	LBB0_5
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x22, #8]
	ldr	x24, [x8, x23, lsl #3]
	ldr	x8, [x24, #8]
	ldr	x8, [x8]
	ldr	x27, [x8]
Lloh7:
	adrp	x8, _I82443BXGX_DRB@GOTPAGE
Lloh8:
	ldr	x8, [x8, _I82443BXGX_DRB@GOTPAGEOFF]
Lloh9:
	ldr	x8, [x8]
	add	x1, x23, x8
	add	x2, sp, #24
	mov	x0, x21
	bl	_pci_read_config_byte
	ldr	w2, [x22, #4]
	ldr	w4, [sp, #24]
	mov	w0, #1
Lloh10:
	adrp	x1, l_.str@PAGE
Lloh11:
	add	x1, x1, l_.str@PAGEOFF
	mov	x3, x23
	bl	_edac_dbg
	ldr	w8, [sp, #24]
	lsl	w26, w8, #23
	ldr	w2, [x22, #4]
	str	x20, [sp]
	mov	w0, #1
	mov	x1, x25
	mov	x3, x23
	mov	x4, x26
	bl	_edac_dbg
	cmp	w26, #0
	ccmp	w20, #0, #4, eq
	csel	w8, w26, w19, eq
	cmp	w8, w20
	b.eq	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w9, [x28]
	asr	w9, w20, w9
	str	w9, [x24]
	ldr	w10, [x28]
	asr	w10, w8, w10
	sub	w11, w10, #1
	str	w11, [x24, #4]
	sub	w9, w10, w9
	str	w9, [x27]
	mov	w9, #4096
	str	w9, [x27, #4]
Lloh12:
	adrp	x9, _DEV_UNKNOWN@GOTPAGE
Lloh13:
	ldr	x9, [x9, _DEV_UNKNOWN@GOTPAGEOFF]
Lloh14:
	ldr	w10, [x9]
	ldr	w9, [sp, #12]                   ; 4-byte Folded Reload
	str	w9, [x27, #8]
	ldr	w9, [sp, #8]                    ; 4-byte Folded Reload
	stp	w9, w10, [x27, #12]
	mov	x20, x8
	b	LBB0_2
LBB0_5:
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_I82443BXGX_DRAMC,8,3           ; @I82443BXGX_DRAMC
	.comm	_I82443BXGX_DRB,8,3             ; @I82443BXGX_DRB
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"MC%d: Row=%d DRB = %#0x\n"

l_.str.1:                               ; @.str.1
	.asciz	"MC%d: Row=%d, Boundary Address=%#0x, Last = %#0x\n"

	.comm	_PAGE_SHIFT,4,2                 ; @PAGE_SHIFT
	.comm	_DEV_UNKNOWN,4,2                ; @DEV_UNKNOWN
	.no_dead_strip	_i82443bxgx_init_csrows
.subsections_via_symbols
