	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function e7xxx_init_csrows
_e7xxx_init_csrows:                     ## @e7xxx_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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %ebx
	movl	%edx, %r14d
	movq	%rsi, %rcx
	movq	%rsi, -104(%rbp)                ## 8-byte Spill
	movq	%rdi, %r12
	movq	_E7XXX_DRA@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-64(%rbp), %rdx
	movq	%rcx, %rdi
	callq	_pci_read_config_dword
	movl	%ebx, %edi
	movl	%r14d, %esi
	callq	_dual_channel_active
	movl	%eax, %r13d
	movl	%ebx, -60(%rbp)                 ## 4-byte Spill
	movl	%ebx, %edi
	movl	%r14d, %esi
	callq	_drb_granularity
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	cmpl	$0, (%r12)
	jle	LBB0_22
## %bb.1:
	movq	%r13, %r11
	movq	%r12, %r10
	addl	$25, -44(%rbp)                  ## 4-byte Folded Spill
	leal	1(%r13), %eax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
                                        ## kill: def $eax killed $eax killed $rax def $rax
	andl	$-2, %eax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	xorl	%r14d, %r14d
	xorl	%r13d, %r13d
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	movq	%r11, -80(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r13, %r8
	movq	-56(%rbp), %r10                 ## 8-byte Reload
LBB0_21:                                ##   in Loop: Header=BB0_2 Depth=1
	incq	%r14
	movslq	(%r10), %rax
	movq	%r8, %r13
	cmpq	%rax, %r14
	jge	LBB0_22
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_14 Depth 2
	movl	-64(%rbp), %r12d
	leal	(,%r14,4), %ecx
	orb	$3, %cl
                                        ## kill: def $cl killed $cl killed $ecx
	shrl	%cl, %r12d
	movq	8(%r10), %rax
	movq	(%rax,%r14,8), %rbx
	movq	_E7XXX_DRB@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	%r14, %rsi
	movq	-104(%rbp), %rdi                ## 8-byte Reload
	leaq	-68(%rbp), %rdx
	callq	_pci_read_config_byte
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	movq	_PAGE_SHIFT@GOTPCREL(%rip), %rax
	subl	(%rax), %ecx
	movl	-68(%rbp), %r15d
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %r15d
	movl	$3, %edi
	leaq	L_.str(%rip), %rsi
	movl	%r14d, %edx
	movl	%r15d, %ecx
	callq	_edac_dbg
	movslq	%r15d, %r8
	cmpq	%r8, %r13
	je	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	leal	-1(%r15), %eax
	movq	%r13, (%rbx)
	movl	%eax, 8(%rbx)
	testl	$3145728, -60(%rbp)             ## 4-byte Folded Reload
                                        ## imm = 0x300000
	je	LBB0_10
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-80(%rbp), %r11                 ## 8-byte Reload
	testl	%r11d, %r11d
	je	LBB0_9
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%r12d, %eax
	andl	$1, %eax
	je	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_EDAC_S4ECD4ED@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	_EDAC_FLAG_S4ECD4ED@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_EDAC_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	-56(%rbp), %r10                 ## 8-byte Reload
	movq	-80(%rbp), %r11                 ## 8-byte Reload
	testl	%r11d, %r11d
	jns	LBB0_12
	jmp	LBB0_21
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_EDAC_SECDED@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	_EDAC_FLAG_SECDED@GOTPCREL(%rip), %rax
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	(%rax), %eax
	movq	-56(%rbp), %r10                 ## 8-byte Reload
	orl	%eax, 4(%r10)
	testl	%r11d, %r11d
	js	LBB0_21
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=1
	subl	%r13d, %r15d
	movl	%r15d, %eax
	cltd
	movq	-88(%rbp), %rsi                 ## 8-byte Reload
	idivl	%esi
	movq	16(%rbx), %rdx
	xorl	%edi, %edi
	testl	%r11d, %r11d
	je	LBB0_17
## %bb.13:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	-96(%rbp), %r13                 ## 8-byte Reload
	movq	_MEM_RDDR@GOTPCREL(%rip), %r15
	jmp	LBB0_14
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_14 Depth=2
	movl	(%rcx), %esi
	movl	%esi, 12(%rbx)
	movl	%r9d, 8(%rbx)
	movq	8(%rdx,%rdi,8), %rsi
	movq	(%rsi), %rsi
	movl	%eax, (%rsi)
	movl	$4096, 4(%rsi)                  ## imm = 0x1000
	movl	(%r15), %ebx
	movl	%ebx, 16(%rsi)
	movl	(%rcx), %ecx
	movl	%ecx, 12(%rsi)
	movl	%r9d, 8(%rsi)
	addq	$2, %rdi
	cmpq	%rdi, %r13
	je	LBB0_17
LBB0_14:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%rdx,%rdi,8), %rcx
	movq	(%rcx), %rbx
	movl	%eax, (%rbx)
	movl	$4096, 4(%rbx)                  ## imm = 0x1000
	movl	(%r15), %ecx
	movl	%ecx, 16(%rbx)
	movq	_DEV_X4@GOTPCREL(%rip), %rcx
	testb	$1, %r12b
	jne	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_14 Depth=2
	movq	_DEV_X8@GOTPCREL(%rip), %rcx
	jmp	LBB0_16
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_2 Depth=1
	testb	$1, -88(%rbp)                   ## 1-byte Folded Reload
	je	LBB0_21
## %bb.18:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	(%rdx,%rdi,8), %rcx
	movq	(%rcx), %rcx
	movl	%eax, (%rcx)
	movl	$4096, 4(%rcx)                  ## imm = 0x1000
	movq	_MEM_RDDR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rcx)
	movq	_DEV_X4@GOTPCREL(%rip), %rax
	testb	$1, %r12b
	jne	LBB0_20
## %bb.19:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	_DEV_X8@GOTPCREL(%rip), %rax
LBB0_20:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	(%rax), %eax
	movl	%eax, 12(%rcx)
	movl	%r9d, 8(%rcx)
	jmp	LBB0_21
LBB0_22:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_E7XXX_DRA,4,2                  ## @E7XXX_DRA
	.comm	_E7XXX_DRB,8,3                  ## @E7XXX_DRB
	.comm	_PAGE_SHIFT,4,2                 ## @PAGE_SHIFT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"(%d) cumul_size 0x%x\n"

	.comm	_EDAC_S4ECD4ED,4,2              ## @EDAC_S4ECD4ED
	.comm	_EDAC_FLAG_S4ECD4ED,4,2         ## @EDAC_FLAG_S4ECD4ED
	.comm	_EDAC_SECDED,4,2                ## @EDAC_SECDED
	.comm	_EDAC_FLAG_SECDED,4,2           ## @EDAC_FLAG_SECDED
	.comm	_EDAC_NONE,4,2                  ## @EDAC_NONE
	.comm	_MEM_RDDR,4,2                   ## @MEM_RDDR
	.comm	_DEV_X4,4,2                     ## @DEV_X4
	.comm	_DEV_X8,4,2                     ## @DEV_X8
	.no_dead_strip	_e7xxx_init_csrows
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function e7xxx_init_csrows
_e7xxx_init_csrows:                     ; @e7xxx_init_csrows
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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	x23, x3
	mov	x22, x2
	mov	x9, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _E7XXX_DRA@GOTPAGE
Lloh1:
	ldr	x8, [x8, _E7XXX_DRA@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	add	x2, sp, #40
	str	x9, [sp, #32]                   ; 8-byte Folded Spill
	mov	x0, x9
	bl	_pci_read_config_dword
	mov	x0, x23
	mov	x1, x22
	bl	_dual_channel_active
	str	w0, [sp, #24]                   ; 4-byte Folded Spill
	mov	x0, x23
	mov	x1, x22
	bl	_drb_granularity
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_14
; %bb.1:
	mov	x22, #0
	mov	x21, #0
	add	w8, w0, #25
	str	w8, [sp, #28]                   ; 4-byte Folded Spill
	and	w8, w23, #0x300000
	str	w8, [sp, #20]                   ; 4-byte Folded Spill
	ldr	w8, [sp, #24]                   ; 4-byte Folded Reload
	add	w8, w8, #1
	str	x8, [sp, #8]                    ; 8-byte Folded Spill
	mov	w27, #4096
Lloh3:
	adrp	x28, _MEM_RDDR@GOTPAGE
Lloh4:
	ldr	x28, [x28, _MEM_RDDR@GOTPAGEOFF]
Lloh5:
	adrp	x23, _DEV_X4@GOTPAGE
Lloh6:
	ldr	x23, [x23, _DEV_X4@GOTPAGEOFF]
Lloh7:
	adrp	x26, _DEV_X8@GOTPAGE
Lloh8:
	ldr	x26, [x26, _DEV_X8@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x21, x8
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x22, x22, #1
	ldrsw	x8, [x20]
	cmp	x22, x8
	b.ge	LBB0_14
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_13 Depth 2
	ldr	w25, [sp, #40]
	ldr	x8, [x20, #8]
	ldr	x19, [x8, x22, lsl #3]
Lloh9:
	adrp	x8, _E7XXX_DRB@GOTPAGE
Lloh10:
	ldr	x8, [x8, _E7XXX_DRB@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	add	x1, x8, x22
	add	x2, sp, #44
	ldr	x0, [sp, #32]                   ; 8-byte Folded Reload
	bl	_pci_read_config_byte
	ldr	w8, [sp, #44]
Lloh12:
	adrp	x9, _PAGE_SHIFT@GOTPAGE
Lloh13:
	ldr	x9, [x9, _PAGE_SHIFT@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	ldr	w10, [sp, #28]                  ; 4-byte Folded Reload
	sub	w9, w10, w9
	lsl	w24, w8, w9
	mov	w0, #3
Lloh15:
	adrp	x1, l_.str@PAGE
Lloh16:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x22
	mov	x3, x24
	bl	_edac_dbg
	sxtw	x8, w24
	cmp	x21, x8
	b.eq	LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w9, #3
	bfi	w9, w22, #2, #30
	lsr	w9, w25, w9
	str	x21, [x19]
	sub	w10, w8, #1
	str	w10, [x19, #8]
	ldr	w10, [sp, #20]                  ; 4-byte Folded Reload
	cbz	w10, LBB0_9
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w10, [sp, #24]                  ; 4-byte Folded Reload
	cbz	w10, LBB0_10
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	tbz	w9, #0, LBB0_10
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
Lloh17:
	adrp	x10, _EDAC_S4ECD4ED@GOTPAGE
Lloh18:
	ldr	x10, [x10, _EDAC_S4ECD4ED@GOTPAGEOFF]
Lloh19:
	ldr	w10, [x10]
Lloh20:
	adrp	x11, _EDAC_FLAG_S4ECD4ED@GOTPAGE
Lloh21:
	ldr	x11, [x11, _EDAC_FLAG_S4ECD4ED@GOTPAGEOFF]
	b	LBB0_11
LBB0_9:                                 ;   in Loop: Header=BB0_4 Depth=1
Lloh22:
	adrp	x10, _EDAC_NONE@GOTPAGE
Lloh23:
	ldr	x10, [x10, _EDAC_NONE@GOTPAGEOFF]
Lloh24:
	ldr	w10, [x10]
	ldr	w11, [sp, #24]                  ; 4-byte Folded Reload
	tbz	w11, #31, LBB0_12
	b	LBB0_2
LBB0_10:                                ;   in Loop: Header=BB0_4 Depth=1
Lloh25:
	adrp	x10, _EDAC_SECDED@GOTPAGE
Lloh26:
	ldr	x10, [x10, _EDAC_SECDED@GOTPAGEOFF]
Lloh27:
	ldr	w10, [x10]
Lloh28:
	adrp	x11, _EDAC_FLAG_SECDED@GOTPAGE
Lloh29:
	ldr	x11, [x11, _EDAC_FLAG_SECDED@GOTPAGEOFF]
LBB0_11:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w11, [x11]
	ldr	w12, [x20, #4]
	orr	w11, w12, w11
	str	w11, [x20, #4]
	ldr	w11, [sp, #24]                  ; 4-byte Folded Reload
	tbnz	w11, #31, LBB0_2
LBB0_12:                                ;   in Loop: Header=BB0_4 Depth=1
	sub	w13, w8, w21
	ldr	x11, [x19, #16]
	ldr	x14, [sp, #8]                   ; 8-byte Folded Reload
	mov	x12, x14
	sdiv	w13, w13, w14
LBB0_13:                                ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x14, [x11], #8
	ldr	x14, [x14]
	stp	w13, w27, [x14]
	ldr	w15, [x28]
	str	w15, [x14, #16]
	tst	w9, #0x1
	csel	x15, x26, x23, eq
	ldr	w15, [x15]
	stp	w10, w15, [x14, #8]
	subs	x12, x12, #1
	b.ne	LBB0_13
	b	LBB0_2
LBB0_14:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.comm	_E7XXX_DRA,4,2                  ; @E7XXX_DRA
	.comm	_E7XXX_DRB,8,3                  ; @E7XXX_DRB
	.comm	_PAGE_SHIFT,4,2                 ; @PAGE_SHIFT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"(%d) cumul_size 0x%x\n"

	.comm	_EDAC_S4ECD4ED,4,2              ; @EDAC_S4ECD4ED
	.comm	_EDAC_FLAG_S4ECD4ED,4,2         ; @EDAC_FLAG_S4ECD4ED
	.comm	_EDAC_SECDED,4,2                ; @EDAC_SECDED
	.comm	_EDAC_FLAG_SECDED,4,2           ; @EDAC_FLAG_SECDED
	.comm	_EDAC_NONE,4,2                  ; @EDAC_NONE
	.comm	_MEM_RDDR,4,2                   ; @MEM_RDDR
	.comm	_DEV_X4,4,2                     ; @DEV_X4
	.comm	_DEV_X8,4,2                     ; @DEV_X8
	.no_dead_strip	_e7xxx_init_csrows
.subsections_via_symbols
