	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_dimm_config
_get_dimm_config:                       ## @get_dimm_config
	.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	$120, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	%rdi, -144(%rbp)                ## 8-byte Spill
	movq	16(%rdi), %rbx
	movq	40(%rbx), %rax
	movq	(%rax), %r14
	testq	%r14, %r14
	je	LBB0_1
## %bb.2:
	movq	_MC_CONTROL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	16(%rbx), %rdx
	movq	%r14, %rdi
	callq	_pci_read_config_dword
	movq	_MC_STATUS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	20(%rbx), %rdx
	movq	%r14, %rdi
	callq	_pci_read_config_dword
	movq	_MC_MAX_DOD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	24(%rbx), %r15
	movq	%r14, %rdi
	movq	%r15, %rdx
	callq	_pci_read_config_dword
	movq	_MC_CHANNEL_MAPPER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	28(%rbx), %rdx
	movq	%r14, %rdi
	callq	_pci_read_config_dword
	movq	(%rbx), %rax
	movl	(%rax), %edx
	movl	16(%rbx), %ecx
	movl	20(%rbx), %r8d
	movl	24(%rbx), %r9d
	movl	28(%rbx), %r10d
	subq	$8, %rsp
	leaq	L_.str(%rip), %rsi
	xorl	%edi, %edi
	xorl	%eax, %eax
	pushq	%r10
	callq	_edac_dbg
	addq	$16, %rsp
	movq	%rbx, %rdi
	callq	_ECC_ENABLED
	testq	%rax, %rax
	movq	%rbx, -112(%rbp)                ## 8-byte Spill
	movq	%r14, -136(%rbp)                ## 8-byte Spill
	je	LBB0_6
## %bb.3:
	movq	%rbx, %rdi
	callq	_ECCx8
	xorl	%ecx, %ecx
	testq	%rax, %rax
	setne	%cl
	leal	4(,%rcx,4), %edx
	leaq	L_.str.1(%rip), %rsi
	xorl	%edi, %edi
	xorl	%eax, %eax
	callq	_edac_dbg
	movq	%rbx, %rdi
	callq	_ECCx8
	testq	%rax, %rax
	jne	LBB0_4
## %bb.5:
	movq	_EDAC_S4ECD4ED@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_1:
	movq	_ENODEV@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_36
LBB0_6:
	leaq	L_.str.2(%rip), %rsi
	xorl	%edi, %edi
	xorl	%eax, %eax
	callq	_edac_dbg
	movq	_EDAC_NONE@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_4:
	movq	_EDAC_S8ECD8ED@GOTPCREL(%rip), %rax
LBB0_7:
	movl	(%rax), %eax
	movl	%eax, -124(%rbp)                ## 4-byte Spill
	movl	(%r15), %edi
	callq	_numdimms
	movl	%eax, -120(%rbp)                ## 4-byte Spill
	movl	(%r15), %edi
	sarl	$2, %edi
	callq	_numrank
	movl	%eax, %r12d
	movl	(%r15), %edi
	sarl	$4, %edi
	callq	_numbank
	movl	%eax, %r13d
	movl	(%r15), %edi
	sarl	$6, %edi
	callq	_numrow
	movl	%eax, %r14d
	movl	(%r15), %edi
	sarl	$9, %edi
	callq	_numcol
	movl	%eax, %r10d
	subq	$8, %rsp
	leaq	L_.str.3(%rip), %rsi
	xorl	%ebx, %ebx
	xorl	%edi, %edi
	movl	-120(%rbp), %edx                ## 4-byte Reload
	movl	%r12d, %ecx
	movl	%r13d, %r8d
	movl	%r14d, %r9d
	xorl	%eax, %eax
	pushq	%r10
	callq	_edac_dbg
	addq	$16, %rsp
	movq	_NUM_CHANS@GOTPCREL(%rip), %r14
	cmpl	$0, (%r14)
	jle	LBB0_36
## %bb.8:
	movq	_REGISTERED_DIMM@GOTPCREL(%rip), %r15
	xorl	%r12d, %r12d
	movq	-112(%rbp), %rbx                ## 8-byte Reload
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_9 Depth=1
	xorl	%edi, %edi
	leaq	L_.str.4(%rip), %rsi
LBB0_12:                                ##   in Loop: Header=BB0_9 Depth=1
	movl	%r12d, %edx
	xorl	%eax, %eax
	callq	_edac_dbg
LBB0_34:                                ##   in Loop: Header=BB0_9 Depth=1
	incq	%r12
	movslq	(%r14), %rax
	cmpq	%rax, %r12
	jge	LBB0_35
LBB0_9:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_24 Depth 2
	movq	32(%rbx), %rax
	movq	(%rax,%r12,8), %rax
	cmpq	$0, (%rax)
	je	LBB0_34
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	%rbx, %rdi
	movl	%r12d, %esi
	callq	_CH_ACTIVE
	testl	%eax, %eax
	je	LBB0_11
## %bb.13:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	%rbx, %rdi
	movl	%r12d, %esi
	callq	_CH_DISABLED
	testq	%rax, %rax
	je	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_9 Depth=1
	xorl	%edi, %edi
	leaq	L_.str.5(%rip), %rsi
	jmp	LBB0_12
LBB0_15:                                ##   in Loop: Header=BB0_9 Depth=1
	movq	32(%rbx), %rax
	movq	(%rax,%r12,8), %rax
	movq	(%rax), %rdi
	movq	_MC_CHANNEL_DIMM_INIT_PARAMS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-100(%rbp), %rdx
	callq	_pci_read_config_dword
	movl	-100(%rbp), %eax
	movq	_THREE_DIMMS_PRESENT@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_17
## %bb.16:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	8(%rbx), %rax
	leaq	(%r12,%r12,2), %rcx
	movl	$1, (%rax,%rcx,4)
	movl	-100(%rbp), %eax
LBB0_17:                                ##   in Loop: Header=BB0_9 Depth=1
	movq	_SINGLE_QUAD_RANK_PRESENT@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_19
## %bb.18:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	8(%rbx), %rax
	leaq	(%r12,%r12,2), %rcx
	movl	$1, 4(%rax,%rcx,4)
	movl	-100(%rbp), %eax
LBB0_19:                                ##   in Loop: Header=BB0_9 Depth=1
	movq	_QUAD_RANK_PRESENT@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_21
## %bb.20:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	8(%rbx), %rax
	leaq	(%r12,%r12,2), %rcx
	movl	$1, 8(%rax,%rcx,4)
	movl	-100(%rbp), %eax
LBB0_21:                                ##   in Loop: Header=BB0_9 Depth=1
	movq	_MEM_RDDR3@GOTPCREL(%rip), %rcx
	andl	(%r15), %eax
	jne	LBB0_23
## %bb.22:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	_MEM_DDR3@GOTPCREL(%rip), %rcx
LBB0_23:                                ##   in Loop: Header=BB0_9 Depth=1
	movl	(%rcx), %eax
	movl	%eax, -128(%rbp)                ## 4-byte Spill
	movq	32(%rbx), %rax
	movq	(%rax,%r12,8), %rax
	movq	8(%rax), %rdi
	movq	_MC_DOD_CH_DIMM0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-60(%rbp), %rdx
	callq	_pci_read_config_dword
	movq	32(%rbx), %rax
	movq	(%rax,%r12,8), %rax
	movq	8(%rax), %rdi
	movq	_MC_DOD_CH_DIMM1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-56(%rbp), %rdx
	callq	_pci_read_config_dword
	movq	32(%rbx), %rax
	movq	(%rax,%r12,8), %rax
	movq	8(%rax), %rdi
	movq	_MC_DOD_CH_DIMM2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-52(%rbp), %rdx
	callq	_pci_read_config_dword
	movl	28(%rbx), %edi
	movl	%r12d, %esi
	callq	_RDLCH
	movl	%eax, %r14d
	movl	28(%rbx), %edi
	movl	%r12d, %esi
	callq	_WRLCH
	movq	8(%rbx), %rcx
	leaq	(%r12,%r12,2), %rdx
	cmpl	$0, (%rcx,%rdx,4)
	leaq	L_.str.7(%rip), %r10
	leaq	L_.str.8(%rip), %rsi
	cmoveq	%rsi, %r10
	leaq	L_.str.9(%rip), %r11
	cmoveq	%rsi, %r11
	cmpl	$0, 8(%rcx,%rdx,4)
	movl	-100(%rbp), %r9d
	leaq	L_.str.10(%rip), %rbx
	cmoveq	%rsi, %rbx
	xorl	%ecx, %ecx
	movl	(%r15), %edx
	andl	%r9d, %edx
	sete	%cl
	leal	(%rcx,%rcx,2), %r15d
	addl	$82, %r15d
	xorl	%edi, %edi
	leaq	L_.str.6(%rip), %rsi
	movl	%r12d, %edx
	movl	%r14d, %ecx
	movl	%eax, %r8d
	xorl	%eax, %eax
	pushq	%r15
	pushq	%rbx
	pushq	%r11
	pushq	%r10
	callq	_edac_dbg
	addq	$32, %rsp
	xorl	%r13d, %r13d
	movq	%r12, -152(%rbp)                ## 8-byte Spill
	jmp	LBB0_24
LBB0_29:                                ##   in Loop: Header=BB0_24 Depth=2
	movq	_DEV_X16@GOTPCREL(%rip), %rax
LBB0_31:                                ##   in Loop: Header=BB0_24 Depth=2
	movl	(%rax), %eax
	movl	%eax, 20(%r15)
	movl	16(%r15), %edi
	movq	-112(%rbp), %rax                ## 8-byte Reload
	movq	(%rax), %rax
	movl	(%rax), %ecx
	movl	$4, %esi
	leaq	L_.str.12(%rip), %rdx
	movq	-152(%rbp), %r12                ## 8-byte Reload
	movl	%r12d, %r8d
	movl	%r13d, %r9d
	callq	_snprintf
	movl	$8, 4(%r15)
	movl	-124(%rbp), %eax                ## 4-byte Reload
	movl	%eax, 8(%r15)
	movl	-128(%rbp), %eax                ## 4-byte Reload
	movl	%eax, 12(%r15)
LBB0_32:                                ##   in Loop: Header=BB0_24 Depth=2
	incq	%r13
	cmpq	$3, %r13
	je	LBB0_33
LBB0_24:                                ##   Parent Loop BB0_9 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	-60(%rbp,%r13,4), %edi
	callq	_DIMM_PRESENT
	testl	%eax, %eax
	je	LBB0_32
## %bb.25:                              ##   in Loop: Header=BB0_24 Depth=2
	movq	-144(%rbp), %rax                ## 8-byte Reload
	movl	8(%rax), %edi
	movl	(%rax), %edx
	movl	4(%rax), %esi
	movl	%r12d, %ecx
	movl	%r13d, %r8d
	xorl	%r9d, %r9d
	callq	_EDAC_DIMM_PTR
	movq	%rax, -120(%rbp)                ## 8-byte Spill
	movl	-60(%rbp,%r13,4), %edi
	callq	_MC_DOD_NUMBANK
	movl	%eax, %edi
	callq	_numbank
	movl	%eax, %r14d
	movl	-60(%rbp,%r13,4), %edi
	callq	_MC_DOD_NUMRANK
	movl	%eax, %edi
	callq	_numrank
	movl	%eax, %ebx
	movq	%rbx, -160(%rbp)                ## 8-byte Spill
	movl	-60(%rbp,%r13,4), %edi
	callq	_MC_DOD_NUMROW
	movl	%eax, %edi
	callq	_numrow
	movl	%eax, %r12d
	movl	-60(%rbp,%r13,4), %edi
	callq	_MC_DOD_NUMCOL
	movl	%eax, %edi
	callq	_numcol
	movl	%eax, %r15d
	movl	%ebx, %eax
	imull	%r14d, %eax
	movl	%r12d, %ebx
	imull	%r15d, %ebx
	imull	%eax, %ebx
	sarl	$17, %ebx
	movl	-60(%rbp,%r13,4), %edi
	callq	_RANKOFFSET
	subq	$8, %rsp
	xorl	%edi, %edi
	leaq	L_.str.11(%rip), %rsi
	movl	%r13d, %edx
	movl	%ebx, %ecx
	movl	%eax, %r8d
	movl	%r14d, %r9d
	xorl	%eax, %eax
	pushq	%r15
	movq	-120(%rbp), %r15                ## 8-byte Reload
	pushq	%r12
	pushq	-160(%rbp)                      ## 8-byte Folded Reload
	callq	_edac_dbg
	addq	$32, %rsp
	movl	%ebx, %edi
	callq	_MiB_TO_PAGES
	movl	%eax, (%r15)
	movq	_DEV_X4@GOTPCREL(%rip), %rax
	cmpl	$4, %r14d
	je	LBB0_31
## %bb.26:                              ##   in Loop: Header=BB0_24 Depth=2
	cmpl	$16, %r14d
	je	LBB0_29
## %bb.27:                              ##   in Loop: Header=BB0_24 Depth=2
	cmpl	$8, %r14d
	jne	LBB0_30
## %bb.28:                              ##   in Loop: Header=BB0_24 Depth=2
	movq	_DEV_X8@GOTPCREL(%rip), %rax
	jmp	LBB0_31
LBB0_30:                                ##   in Loop: Header=BB0_24 Depth=2
	movq	_DEV_UNKNOWN@GOTPCREL(%rip), %rax
	jmp	LBB0_31
LBB0_33:                                ##   in Loop: Header=BB0_9 Depth=1
	movq	_MC_SAG_CH_0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-136(%rbp), %rbx                ## 8-byte Reload
	movq	%rbx, %rdi
	leaq	-96(%rbp), %rdx
	callq	_pci_read_config_dword
	movq	_MC_SAG_CH_1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	leaq	-92(%rbp), %rdx
	callq	_pci_read_config_dword
	movq	_MC_SAG_CH_2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	leaq	-88(%rbp), %rdx
	callq	_pci_read_config_dword
	movq	_MC_SAG_CH_3@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	leaq	-84(%rbp), %rdx
	callq	_pci_read_config_dword
	movq	_MC_SAG_CH_4@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	leaq	-80(%rbp), %rdx
	callq	_pci_read_config_dword
	movq	_MC_SAG_CH_5@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	leaq	-76(%rbp), %rdx
	callq	_pci_read_config_dword
	movq	_MC_SAG_CH_6@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	leaq	-72(%rbp), %rdx
	callq	_pci_read_config_dword
	movq	_MC_SAG_CH_7@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	leaq	-68(%rbp), %rdx
	callq	_pci_read_config_dword
	movl	$1, %edi
	leaq	L_.str.13(%rip), %rsi
	movl	%r12d, %edx
	xorl	%eax, %eax
	callq	_edac_dbg
	movl	-96(%rbp), %r8d
	movl	%r8d, %edx
	shrl	$27, %edx
	andl	$1, %edx
	movl	%r8d, %ecx
	shrl	$24, %ecx
	andl	$7, %ecx
	andl	$16777215, %r8d                 ## imm = 0xFFFFFF
	movl	$1, %edi
	leaq	L_.str.14(%rip), %rbx
	movq	%rbx, %rsi
	xorl	%eax, %eax
	callq	_edac_dbg
	movl	-92(%rbp), %r8d
	movl	%r8d, %edx
	shrl	$27, %edx
	andl	$1, %edx
	movl	%r8d, %ecx
	shrl	$24, %ecx
	andl	$7, %ecx
	andl	$16777215, %r8d                 ## imm = 0xFFFFFF
	movl	$1, %edi
	movq	%rbx, %rsi
	xorl	%eax, %eax
	callq	_edac_dbg
	movl	-88(%rbp), %r8d
	movl	%r8d, %edx
	shrl	$27, %edx
	andl	$1, %edx
	movl	%r8d, %ecx
	shrl	$24, %ecx
	andl	$7, %ecx
	andl	$16777215, %r8d                 ## imm = 0xFFFFFF
	movl	$1, %edi
	movq	%rbx, %rsi
	xorl	%eax, %eax
	callq	_edac_dbg
	movl	-84(%rbp), %r8d
	movl	%r8d, %edx
	shrl	$27, %edx
	andl	$1, %edx
	movl	%r8d, %ecx
	shrl	$24, %ecx
	andl	$7, %ecx
	andl	$16777215, %r8d                 ## imm = 0xFFFFFF
	movl	$1, %edi
	movq	%rbx, %rsi
	xorl	%eax, %eax
	callq	_edac_dbg
	movl	-80(%rbp), %r8d
	movl	%r8d, %edx
	shrl	$27, %edx
	andl	$1, %edx
	movl	%r8d, %ecx
	shrl	$24, %ecx
	andl	$7, %ecx
	andl	$16777215, %r8d                 ## imm = 0xFFFFFF
	movl	$1, %edi
	movq	%rbx, %rsi
	xorl	%eax, %eax
	callq	_edac_dbg
	movl	-76(%rbp), %r8d
	movl	%r8d, %edx
	shrl	$27, %edx
	andl	$1, %edx
	movl	%r8d, %ecx
	shrl	$24, %ecx
	andl	$7, %ecx
	andl	$16777215, %r8d                 ## imm = 0xFFFFFF
	movl	$1, %edi
	movq	%rbx, %rsi
	xorl	%eax, %eax
	callq	_edac_dbg
	movl	-72(%rbp), %r8d
	movl	%r8d, %edx
	shrl	$27, %edx
	andl	$1, %edx
	movl	%r8d, %ecx
	shrl	$24, %ecx
	andl	$7, %ecx
	andl	$16777215, %r8d                 ## imm = 0xFFFFFF
	movl	$1, %edi
	movq	%rbx, %rsi
	xorl	%eax, %eax
	callq	_edac_dbg
	movl	-68(%rbp), %r8d
	movl	%r8d, %edx
	shrl	$27, %edx
	andl	$1, %edx
	movl	%r8d, %ecx
	shrl	$24, %ecx
	andl	$7, %ecx
	andl	$16777215, %r8d                 ## imm = 0xFFFFFF
	movl	$1, %edi
	movq	%rbx, %rsi
	xorl	%eax, %eax
	callq	_edac_dbg
	movq	-112(%rbp), %rbx                ## 8-byte Reload
	movq	_NUM_CHANS@GOTPCREL(%rip), %r14
	movq	_REGISTERED_DIMM@GOTPCREL(%rip), %r15
	jmp	LBB0_34
LBB0_35:
	xorl	%ebx, %ebx
LBB0_36:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_38
## %bb.37:
	movl	%ebx, %eax
	addq	$120, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_38:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_MC_CONTROL,4,2                 ## @MC_CONTROL
	.comm	_MC_STATUS,4,2                  ## @MC_STATUS
	.comm	_MC_MAX_DOD,4,2                 ## @MC_MAX_DOD
	.comm	_MC_CHANNEL_MAPPER,4,2          ## @MC_CHANNEL_MAPPER
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"QPI %d control=0x%08x status=0x%08x dod=0x%08x map=0x%08x\n"

L_.str.1:                               ## @.str.1
	.asciz	"ECC enabled with x%d SDCC\n"

	.comm	_EDAC_S8ECD8ED,4,2              ## @EDAC_S8ECD8ED
	.comm	_EDAC_S4ECD4ED,4,2              ## @EDAC_S4ECD4ED
L_.str.2:                               ## @.str.2
	.asciz	"ECC disabled\n"

	.comm	_EDAC_NONE,4,2                  ## @EDAC_NONE
L_.str.3:                               ## @.str.3
	.asciz	"DOD Max limits: DIMMS: %d, %d-ranked, %d-banked x%x x 0x%x\n"

	.comm	_NUM_CHANS,4,2                  ## @NUM_CHANS
L_.str.4:                               ## @.str.4
	.asciz	"Channel %i is not active\n"

L_.str.5:                               ## @.str.5
	.asciz	"Channel %i is disabled\n"

	.comm	_MC_CHANNEL_DIMM_INIT_PARAMS,4,2 ## @MC_CHANNEL_DIMM_INIT_PARAMS
	.comm	_THREE_DIMMS_PRESENT,4,2        ## @THREE_DIMMS_PRESENT
	.comm	_SINGLE_QUAD_RANK_PRESENT,4,2   ## @SINGLE_QUAD_RANK_PRESENT
	.comm	_QUAD_RANK_PRESENT,4,2          ## @QUAD_RANK_PRESENT
	.comm	_REGISTERED_DIMM,4,2            ## @REGISTERED_DIMM
	.comm	_MEM_RDDR3,4,2                  ## @MEM_RDDR3
	.comm	_MEM_DDR3,4,2                   ## @MEM_DDR3
	.comm	_MC_DOD_CH_DIMM0,4,2            ## @MC_DOD_CH_DIMM0
	.comm	_MC_DOD_CH_DIMM1,4,2            ## @MC_DOD_CH_DIMM1
	.comm	_MC_DOD_CH_DIMM2,4,2            ## @MC_DOD_CH_DIMM2
L_.str.6:                               ## @.str.6
	.asciz	"Ch%d phy rd%d, wr%d (0x%08x): %s%s%s%cDIMMs\n"

L_.str.7:                               ## @.str.7
	.asciz	"3DIMMS "

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

L_.str.9:                               ## @.str.9
	.asciz	"SINGLE_4R "

L_.str.10:                              ## @.str.10
	.asciz	"HAS_4R "

L_.str.11:                              ## @.str.11
	.asciz	"\tdimm %d %d MiB offset: %x, bank: %d, rank: %d, row: %#x, col: %#x\n"

	.comm	_DEV_X4,4,2                     ## @DEV_X4
	.comm	_DEV_X8,4,2                     ## @DEV_X8
	.comm	_DEV_X16,4,2                    ## @DEV_X16
	.comm	_DEV_UNKNOWN,4,2                ## @DEV_UNKNOWN
L_.str.12:                              ## @.str.12
	.asciz	"CPU#%uChannel#%u_DIMM#%u"

	.comm	_MC_SAG_CH_0,4,2                ## @MC_SAG_CH_0
	.comm	_MC_SAG_CH_1,4,2                ## @MC_SAG_CH_1
	.comm	_MC_SAG_CH_2,4,2                ## @MC_SAG_CH_2
	.comm	_MC_SAG_CH_3,4,2                ## @MC_SAG_CH_3
	.comm	_MC_SAG_CH_4,4,2                ## @MC_SAG_CH_4
	.comm	_MC_SAG_CH_5,4,2                ## @MC_SAG_CH_5
	.comm	_MC_SAG_CH_6,4,2                ## @MC_SAG_CH_6
	.comm	_MC_SAG_CH_7,4,2                ## @MC_SAG_CH_7
L_.str.13:                              ## @.str.13
	.asciz	"\t[%i] DIVBY3\tREMOVED\tOFFSET\n"

L_.str.14:                              ## @.str.14
	.asciz	"\t\t%#x\t%#x\t%#x\n"

	.no_dead_strip	_get_dimm_config
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_dimm_config
_get_dimm_config:                       ; @get_dimm_config
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #336
	.cfi_def_cfa_offset 336
	stp	x28, x27, [sp, #240]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #256]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #272]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #288]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #304]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #320]            ; 16-byte Folded Spill
	add	x29, sp, #320
	.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
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-96]
	str	x0, [sp, #160]                  ; 8-byte Folded Spill
	ldr	x19, [x0, #16]
	ldr	x8, [x19, #40]
	ldr	x20, [x8]
	cbz	x20, LBB0_3
; %bb.1:
Lloh3:
	adrp	x8, _MC_CONTROL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MC_CONTROL@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	add	x2, x19, #16
	mov	x0, x20
	bl	_pci_read_config_dword
Lloh6:
	adrp	x8, _MC_STATUS@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MC_STATUS@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	add	x2, x19, #20
	mov	x0, x20
	bl	_pci_read_config_dword
Lloh9:
	adrp	x8, _MC_MAX_DOD@GOTPAGE
Lloh10:
	ldr	x8, [x8, _MC_MAX_DOD@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	add	x22, x19, #24
	mov	x0, x20
	mov	x2, x22
	bl	_pci_read_config_dword
Lloh12:
	adrp	x8, _MC_CHANNEL_MAPPER@GOTPAGE
Lloh13:
	ldr	x8, [x8, _MC_CHANNEL_MAPPER@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	add	x2, x19, #28
	mov	x0, x20
	bl	_pci_read_config_dword
	ldr	x8, [x19]
	ldr	w8, [x8]
	ldp	w9, w10, [x19, #16]
	ldp	w11, w12, [x19, #24]
	stp	x11, x12, [sp, #24]
	stp	x9, x10, [sp, #8]
	str	x8, [sp]
Lloh15:
	adrp	x1, l_.str@PAGE
Lloh16:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #0
	bl	_edac_dbg
	mov	x0, x19
	bl	_ECC_ENABLED
	str	x20, [sp, #136]                 ; 8-byte Folded Spill
	cbz	x0, LBB0_4
; %bb.2:
	mov	x0, x19
	bl	_ECCx8
	mov	w8, #8
	mov	w9, #4
	cmp	x0, #0
	csel	x8, x9, x8, eq
	str	x8, [sp]
Lloh17:
	adrp	x1, l_.str.1@PAGE
Lloh18:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w0, #0
	bl	_edac_dbg
	mov	x0, x19
	bl	_ECCx8
Lloh19:
	adrp	x8, _EDAC_S8ECD8ED@GOTPAGE
Lloh20:
	ldr	x8, [x8, _EDAC_S8ECD8ED@GOTPAGEOFF]
Lloh21:
	adrp	x9, _EDAC_S4ECD4ED@GOTPAGE
Lloh22:
	ldr	x9, [x9, _EDAC_S4ECD4ED@GOTPAGEOFF]
	cmp	x0, #0
	csel	x8, x9, x8, eq
	b	LBB0_5
LBB0_3:
Lloh23:
	adrp	x8, _ENODEV@GOTPAGE
Lloh24:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh25:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_26
LBB0_4:
Lloh26:
	adrp	x1, l_.str.2@PAGE
Lloh27:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_edac_dbg
Lloh28:
	adrp	x8, _EDAC_NONE@GOTPAGE
Lloh29:
	ldr	x8, [x8, _EDAC_NONE@GOTPAGEOFF]
LBB0_5:
	ldr	w8, [x8]
	str	w8, [sp, #156]                  ; 4-byte Folded Spill
	ldr	w0, [x22]
	bl	_numdimms
	mov	x23, x0
	ldr	w8, [x22]
	asr	w0, w8, #2
	bl	_numrank
	mov	x24, x0
	ldr	w8, [x22]
	asr	w0, w8, #4
	bl	_numbank
	mov	x25, x0
	ldr	w8, [x22]
	asr	w0, w8, #6
	bl	_numrow
	mov	x26, x0
	ldr	w8, [x22]
	asr	w0, w8, #9
	bl	_numcol
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x26, x0, [sp, #24]
	stp	x24, x25, [sp, #8]
	str	x23, [sp]
Lloh30:
	adrp	x1, l_.str.3@PAGE
Lloh31:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	w0, #0
	bl	_edac_dbg
Lloh32:
	adrp	x20, _NUM_CHANS@GOTPAGE
Lloh33:
	ldr	x20, [x20, _NUM_CHANS@GOTPAGEOFF]
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_25
; %bb.6:
	mov	x22, #0
	sub	x25, x29, #108
	add	x9, x25, #4
	add	x8, x25, #8
	stp	x8, x9, [sp, #120]              ; 16-byte Folded Spill
	sub	x8, x29, #140
	add	x10, x8, #4
	add	x9, x8, #8
	stp	x9, x10, [sp, #104]             ; 16-byte Folded Spill
	add	x10, x8, #12
	add	x9, x8, #16
	stp	x9, x10, [sp, #88]              ; 16-byte Folded Spill
	add	x10, x8, #20
	add	x9, x8, #24
	stp	x9, x10, [sp, #72]              ; 16-byte Folded Spill
	add	x8, x8, #28
	str	x8, [sp, #64]                   ; 8-byte Folded Spill
	mov	w21, #12
	mov	w23, #1
	str	x19, [sp, #144]                 ; 8-byte Folded Spill
	b	LBB0_10
LBB0_7:                                 ;   in Loop: Header=BB0_10 Depth=1
	mov	x8, x22
	str	x8, [sp]
Lloh34:
	adrp	x1, l_.str.4@PAGE
Lloh35:
	add	x1, x1, l_.str.4@PAGEOFF
LBB0_8:                                 ;   in Loop: Header=BB0_10 Depth=1
	bl	_edac_dbg
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=1
	add	x22, x22, #1
	ldrsw	x8, [x20]
	cmp	x22, x8
	b.ge	LBB0_25
LBB0_10:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_22 Depth 2
	ldr	x8, [x19, #32]
	ldr	x8, [x8, x22, lsl #3]
	ldr	x8, [x8]
	cbz	x8, LBB0_9
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	x0, x19
	mov	x1, x22
	bl	_CH_ACTIVE
	cbz	w0, LBB0_7
; %bb.12:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	x0, x19
	mov	x1, x22
	bl	_CH_DISABLED
	cbz	x0, LBB0_14
; %bb.13:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	x8, x22
	str	x8, [sp]
	mov	w0, #0
Lloh36:
	adrp	x1, l_.str.5@PAGE
Lloh37:
	add	x1, x1, l_.str.5@PAGEOFF
	b	LBB0_8
LBB0_14:                                ;   in Loop: Header=BB0_10 Depth=1
	ldr	x8, [x19, #32]
	ldr	x8, [x8, x22, lsl #3]
	ldr	x0, [x8]
Lloh38:
	adrp	x8, _MC_CHANNEL_DIMM_INIT_PARAMS@GOTPAGE
Lloh39:
	ldr	x8, [x8, _MC_CHANNEL_DIMM_INIT_PARAMS@GOTPAGEOFF]
Lloh40:
	ldr	w1, [x8]
	sub	x2, x29, #144
	bl	_pci_read_config_dword
	ldur	w8, [x29, #-144]
Lloh41:
	adrp	x9, _THREE_DIMMS_PRESENT@GOTPAGE
Lloh42:
	ldr	x9, [x9, _THREE_DIMMS_PRESENT@GOTPAGEOFF]
Lloh43:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_16
; %bb.15:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	x8, [x19, #8]
	mul	x9, x22, x21
	str	w23, [x8, x9]
	ldur	w8, [x29, #-144]
LBB0_16:                                ;   in Loop: Header=BB0_10 Depth=1
Lloh44:
	adrp	x9, _SINGLE_QUAD_RANK_PRESENT@GOTPAGE
Lloh45:
	ldr	x9, [x9, _SINGLE_QUAD_RANK_PRESENT@GOTPAGEOFF]
Lloh46:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_18
; %bb.17:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	x8, [x19, #8]
	madd	x8, x22, x21, x8
	str	w23, [x8, #4]
	ldur	w8, [x29, #-144]
LBB0_18:                                ;   in Loop: Header=BB0_10 Depth=1
Lloh47:
	adrp	x9, _QUAD_RANK_PRESENT@GOTPAGE
Lloh48:
	ldr	x9, [x9, _QUAD_RANK_PRESENT@GOTPAGEOFF]
Lloh49:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_20
; %bb.19:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	x8, [x19, #8]
	madd	x8, x22, x21, x8
	str	w23, [x8, #8]
	ldur	w8, [x29, #-144]
LBB0_20:                                ;   in Loop: Header=BB0_10 Depth=1
Lloh50:
	adrp	x20, _REGISTERED_DIMM@GOTPAGE
Lloh51:
	ldr	x20, [x20, _REGISTERED_DIMM@GOTPAGEOFF]
	ldr	w9, [x20]
	tst	w9, w8
Lloh52:
	adrp	x8, _MEM_DDR3@GOTPAGE
Lloh53:
	ldr	x8, [x8, _MEM_DDR3@GOTPAGEOFF]
Lloh54:
	adrp	x9, _MEM_RDDR3@GOTPAGE
Lloh55:
	ldr	x9, [x9, _MEM_RDDR3@GOTPAGEOFF]
	csel	x8, x8, x9, eq
	ldr	w8, [x8]
	stur	w8, [x29, #-148]                ; 4-byte Folded Spill
	ldr	x8, [x19, #32]
	lsl	x21, x22, #3
	ldr	x8, [x8, x21]
	ldr	x0, [x8, #8]
Lloh56:
	adrp	x8, _MC_DOD_CH_DIMM0@GOTPAGE
Lloh57:
	ldr	x8, [x8, _MC_DOD_CH_DIMM0@GOTPAGEOFF]
Lloh58:
	ldr	w1, [x8]
	sub	x2, x29, #108
	bl	_pci_read_config_dword
	ldr	x8, [x19, #32]
	ldr	x8, [x8, x21]
	ldr	x0, [x8, #8]
Lloh59:
	adrp	x8, _MC_DOD_CH_DIMM1@GOTPAGE
Lloh60:
	ldr	x8, [x8, _MC_DOD_CH_DIMM1@GOTPAGEOFF]
Lloh61:
	ldr	w1, [x8]
	ldr	x2, [sp, #128]                  ; 8-byte Folded Reload
	bl	_pci_read_config_dword
	ldr	x8, [x19, #32]
	ldr	x8, [x8, x21]
	ldr	x0, [x8, #8]
Lloh62:
	adrp	x8, _MC_DOD_CH_DIMM2@GOTPAGE
Lloh63:
	ldr	x8, [x8, _MC_DOD_CH_DIMM2@GOTPAGEOFF]
Lloh64:
	ldr	w1, [x8]
	ldr	x2, [sp, #120]                  ; 8-byte Folded Reload
	bl	_pci_read_config_dword
	ldr	w0, [x19, #28]
	mov	x1, x22
	bl	_RDLCH
	mov	w21, #12
	mov	x23, x0
	ldr	w0, [x19, #28]
	mov	x1, x22
	bl	_WRLCH
                                        ; kill: def $w0 killed $w0 def $x0
	ldur	w8, [x29, #-144]
	ldr	x9, [x19, #8]
	madd	x9, x22, x21, x9
	ldr	w10, [x9]
	cmp	w10, #0
Lloh65:
	adrp	x10, l_.str.7@PAGE
Lloh66:
	add	x10, x10, l_.str.7@PAGEOFF
Lloh67:
	adrp	x12, l_.str.8@PAGE
Lloh68:
	add	x12, x12, l_.str.8@PAGEOFF
	csel	x10, x12, x10, eq
Lloh69:
	adrp	x11, l_.str.9@PAGE
Lloh70:
	add	x11, x11, l_.str.9@PAGEOFF
	csel	x11, x12, x11, eq
	ldr	w9, [x9, #8]
	cmp	w9, #0
Lloh71:
	adrp	x9, l_.str.10@PAGE
Lloh72:
	add	x9, x9, l_.str.10@PAGEOFF
	csel	x9, x12, x9, eq
	ldr	w12, [x20]
	tst	w12, w8
	mov	w12, #82
	mov	w13, #85
	csel	x12, x13, x12, eq
	stp	x9, x12, [sp, #48]
	stp	x10, x11, [sp, #32]
	stp	x0, x8, [sp, #16]
	mov	x8, x22
	stp	x8, x23, [sp]
	mov	w0, #0
Lloh73:
	adrp	x1, l_.str.6@PAGE
Lloh74:
	add	x1, x1, l_.str.6@PAGEOFF
	bl	_edac_dbg
	mov	x23, #0
	b	LBB0_22
LBB0_21:                                ;   in Loop: Header=BB0_22 Depth=2
	add	x23, x23, #1
	cmp	x23, #3
	b.eq	LBB0_24
LBB0_22:                                ;   Parent Loop BB0_10 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w0, [x25, x23, lsl #2]
	bl	_DIMM_PRESENT
	cbz	w0, LBB0_21
; %bb.23:                               ;   in Loop: Header=BB0_22 Depth=2
	ldr	x8, [sp, #160]                  ; 8-byte Folded Reload
	ldp	w1, w0, [x8, #4]
	ldr	w2, [x8]
	mov	x3, x22
	mov	x4, x23
	mov	w5, #0
	bl	_EDAC_DIMM_PTR
	mov	x24, x0
	lsl	x19, x23, #2
	ldr	w0, [x25, x19]
	bl	_MC_DOD_NUMBANK
	bl	_numbank
	mov	x20, x22
	sub	x22, x29, #108
	mov	x25, x0
	ldr	w0, [x22, x19]
	bl	_MC_DOD_NUMRANK
	bl	_numrank
	mov	x26, x0
	ldr	w0, [x22, x19]
	bl	_MC_DOD_NUMROW
	bl	_numrow
	mov	x21, x0
	ldr	w0, [x22, x19]
	bl	_MC_DOD_NUMCOL
	bl	_numcol
	mov	x27, x0
	mul	w8, w26, w25
	mul	w8, w8, w21
	mul	w8, w8, w0
	asr	w28, w8, #17
	ldr	w0, [x22, x19]
	mov	x22, x20
	ldr	x19, [sp, #144]                 ; 8-byte Folded Reload
	bl	_RANKOFFSET
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x21, x27, [sp, #40]
	stp	x25, x26, [sp, #24]
	stp	x28, x0, [sp, #8]
	str	x23, [sp]
	mov	w0, #0
Lloh75:
	adrp	x1, l_.str.11@PAGE
Lloh76:
	add	x1, x1, l_.str.11@PAGEOFF
	bl	_edac_dbg
	mov	x0, x28
	bl	_MiB_TO_PAGES
	str	w0, [x24]
	cmp	w25, #8
Lloh77:
	adrp	x8, _DEV_UNKNOWN@GOTPAGE
Lloh78:
	ldr	x8, [x8, _DEV_UNKNOWN@GOTPAGEOFF]
Lloh79:
	adrp	x9, _DEV_X8@GOTPAGE
Lloh80:
	ldr	x9, [x9, _DEV_X8@GOTPAGEOFF]
	csel	x8, x8, x9, ne
	cmp	w25, #16
Lloh81:
	adrp	x9, _DEV_X16@GOTPAGE
Lloh82:
	ldr	x9, [x9, _DEV_X16@GOTPAGEOFF]
	csel	x8, x9, x8, eq
	cmp	w25, #4
	sub	x25, x29, #108
Lloh83:
	adrp	x9, _DEV_X4@GOTPAGE
Lloh84:
	ldr	x9, [x9, _DEV_X4@GOTPAGEOFF]
	csel	x8, x9, x8, eq
	ldr	w8, [x8]
	str	w8, [x24, #20]
	ldr	w0, [x24, #16]
	ldr	x8, [x19]
	ldr	w3, [x8]
	mov	w1, #4
Lloh85:
	adrp	x2, l_.str.12@PAGE
Lloh86:
	add	x2, x2, l_.str.12@PAGEOFF
	mov	x4, x22
	mov	x5, x23
	bl	_snprintf
	mov	w9, #8
	ldr	w8, [sp, #156]                  ; 4-byte Folded Reload
	stp	w9, w8, [x24, #4]
	ldur	w8, [x29, #-148]                ; 4-byte Folded Reload
	str	w8, [x24, #12]
	b	LBB0_21
LBB0_24:                                ;   in Loop: Header=BB0_10 Depth=1
Lloh87:
	adrp	x8, _MC_SAG_CH_0@GOTPAGE
Lloh88:
	ldr	x8, [x8, _MC_SAG_CH_0@GOTPAGEOFF]
Lloh89:
	ldr	w1, [x8]
	sub	x2, x29, #140
	ldr	x20, [sp, #136]                 ; 8-byte Folded Reload
	mov	x0, x20
	bl	_pci_read_config_dword
Lloh90:
	adrp	x8, _MC_SAG_CH_1@GOTPAGE
Lloh91:
	ldr	x8, [x8, _MC_SAG_CH_1@GOTPAGEOFF]
Lloh92:
	ldr	w1, [x8]
	mov	x0, x20
	ldr	x2, [sp, #112]                  ; 8-byte Folded Reload
	bl	_pci_read_config_dword
Lloh93:
	adrp	x8, _MC_SAG_CH_2@GOTPAGE
Lloh94:
	ldr	x8, [x8, _MC_SAG_CH_2@GOTPAGEOFF]
Lloh95:
	ldr	w1, [x8]
	mov	x0, x20
	ldr	x2, [sp, #104]                  ; 8-byte Folded Reload
	bl	_pci_read_config_dword
Lloh96:
	adrp	x8, _MC_SAG_CH_3@GOTPAGE
Lloh97:
	ldr	x8, [x8, _MC_SAG_CH_3@GOTPAGEOFF]
Lloh98:
	ldr	w1, [x8]
	mov	x0, x20
	ldr	x2, [sp, #96]                   ; 8-byte Folded Reload
	bl	_pci_read_config_dword
Lloh99:
	adrp	x8, _MC_SAG_CH_4@GOTPAGE
Lloh100:
	ldr	x8, [x8, _MC_SAG_CH_4@GOTPAGEOFF]
Lloh101:
	ldr	w1, [x8]
	mov	x0, x20
	ldr	x2, [sp, #88]                   ; 8-byte Folded Reload
	bl	_pci_read_config_dword
Lloh102:
	adrp	x8, _MC_SAG_CH_5@GOTPAGE
Lloh103:
	ldr	x8, [x8, _MC_SAG_CH_5@GOTPAGEOFF]
Lloh104:
	ldr	w1, [x8]
	mov	x0, x20
	ldr	x2, [sp, #80]                   ; 8-byte Folded Reload
	bl	_pci_read_config_dword
Lloh105:
	adrp	x8, _MC_SAG_CH_6@GOTPAGE
Lloh106:
	ldr	x8, [x8, _MC_SAG_CH_6@GOTPAGEOFF]
Lloh107:
	ldr	w1, [x8]
	mov	x0, x20
	ldr	x2, [sp, #72]                   ; 8-byte Folded Reload
	bl	_pci_read_config_dword
Lloh108:
	adrp	x8, _MC_SAG_CH_7@GOTPAGE
Lloh109:
	ldr	x8, [x8, _MC_SAG_CH_7@GOTPAGEOFF]
Lloh110:
	ldr	w1, [x8]
	mov	x0, x20
	ldr	x2, [sp, #64]                   ; 8-byte Folded Reload
	bl	_pci_read_config_dword
	mov	x8, x22
	str	x8, [sp]
	mov	w0, #1
Lloh111:
	adrp	x1, l_.str.13@PAGE
Lloh112:
	add	x1, x1, l_.str.13@PAGEOFF
	bl	_edac_dbg
	ldur	w8, [x29, #-140]
	ubfx	w9, w8, #27, #1
	ubfx	w10, w8, #24, #3
	and	w8, w8, #0xffffff
	stp	x10, x8, [sp, #8]
	str	x9, [sp]
	mov	w0, #1
Lloh113:
	adrp	x20, l_.str.14@PAGE
Lloh114:
	add	x20, x20, l_.str.14@PAGEOFF
	mov	x1, x20
	bl	_edac_dbg
	ldur	w8, [x29, #-136]
	ubfx	w9, w8, #27, #1
	ubfx	w10, w8, #24, #3
	and	w8, w8, #0xffffff
	stp	x10, x8, [sp, #8]
	str	x9, [sp]
	mov	w0, #1
	mov	x1, x20
	bl	_edac_dbg
	ldur	w8, [x29, #-132]
	ubfx	w9, w8, #27, #1
	ubfx	w10, w8, #24, #3
	and	w8, w8, #0xffffff
	stp	x10, x8, [sp, #8]
	str	x9, [sp]
	mov	w0, #1
	mov	x1, x20
	bl	_edac_dbg
	ldur	w8, [x29, #-128]
	ubfx	w9, w8, #27, #1
	ubfx	w10, w8, #24, #3
	and	w8, w8, #0xffffff
	stp	x10, x8, [sp, #8]
	str	x9, [sp]
	mov	w0, #1
	mov	x1, x20
	bl	_edac_dbg
	ldur	w8, [x29, #-124]
	ubfx	w9, w8, #27, #1
	ubfx	w10, w8, #24, #3
	and	w8, w8, #0xffffff
	stp	x10, x8, [sp, #8]
	str	x9, [sp]
	mov	w0, #1
	mov	x1, x20
	bl	_edac_dbg
	ldur	w8, [x29, #-120]
	ubfx	w9, w8, #27, #1
	ubfx	w10, w8, #24, #3
	and	w8, w8, #0xffffff
	stp	x10, x8, [sp, #8]
	str	x9, [sp]
	mov	w0, #1
	mov	x1, x20
	bl	_edac_dbg
	ldur	w8, [x29, #-116]
	ubfx	w9, w8, #27, #1
	ubfx	w10, w8, #24, #3
	and	w8, w8, #0xffffff
	stp	x10, x8, [sp, #8]
	str	x9, [sp]
	mov	w0, #1
	mov	x1, x20
	bl	_edac_dbg
	ldur	w8, [x29, #-112]
	ubfx	w9, w8, #27, #1
	ubfx	w10, w8, #24, #3
	and	w8, w8, #0xffffff
	stp	x10, x8, [sp, #8]
	str	x9, [sp]
	mov	w0, #1
	mov	x1, x20
	bl	_edac_dbg
Lloh115:
	adrp	x20, _NUM_CHANS@GOTPAGE
Lloh116:
	ldr	x20, [x20, _NUM_CHANS@GOTPAGEOFF]
	mov	w21, #12
	mov	w23, #1
	b	LBB0_9
LBB0_25:
	mov	w0, #0
LBB0_26:
	ldur	x8, [x29, #-96]
Lloh117:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh118:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh119:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_28
; %bb.27:
	ldp	x29, x30, [sp, #320]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #304]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #288]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #272]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #256]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #240]            ; 16-byte Folded Reload
	add	sp, sp, #336
	ret
LBB0_28:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpAdd	Lloh73, Lloh74
	.loh AdrpAdd	Lloh71, Lloh72
	.loh AdrpAdd	Lloh69, Lloh70
	.loh AdrpAdd	Lloh67, Lloh68
	.loh AdrpAdd	Lloh65, Lloh66
	.loh AdrpLdrGotLdr	Lloh62, Lloh63, Lloh64
	.loh AdrpLdrGotLdr	Lloh59, Lloh60, Lloh61
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpLdrGot	Lloh54, Lloh55
	.loh AdrpLdrGot	Lloh52, Lloh53
	.loh AdrpLdrGot	Lloh50, Lloh51
	.loh AdrpAdd	Lloh85, Lloh86
	.loh AdrpLdrGot	Lloh83, Lloh84
	.loh AdrpLdrGot	Lloh81, Lloh82
	.loh AdrpLdrGot	Lloh79, Lloh80
	.loh AdrpLdrGot	Lloh77, Lloh78
	.loh AdrpAdd	Lloh75, Lloh76
	.loh AdrpLdrGot	Lloh115, Lloh116
	.loh AdrpAdd	Lloh113, Lloh114
	.loh AdrpAdd	Lloh111, Lloh112
	.loh AdrpLdrGotLdr	Lloh108, Lloh109, Lloh110
	.loh AdrpLdrGotLdr	Lloh105, Lloh106, Lloh107
	.loh AdrpLdrGotLdr	Lloh102, Lloh103, Lloh104
	.loh AdrpLdrGotLdr	Lloh99, Lloh100, Lloh101
	.loh AdrpLdrGotLdr	Lloh96, Lloh97, Lloh98
	.loh AdrpLdrGotLdr	Lloh93, Lloh94, Lloh95
	.loh AdrpLdrGotLdr	Lloh90, Lloh91, Lloh92
	.loh AdrpLdrGotLdr	Lloh87, Lloh88, Lloh89
	.loh AdrpLdrGotLdr	Lloh117, Lloh118, Lloh119
	.cfi_endproc
                                        ; -- End function
	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_MC_CONTROL,4,2                 ; @MC_CONTROL
	.comm	_MC_STATUS,4,2                  ; @MC_STATUS
	.comm	_MC_MAX_DOD,4,2                 ; @MC_MAX_DOD
	.comm	_MC_CHANNEL_MAPPER,4,2          ; @MC_CHANNEL_MAPPER
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"QPI %d control=0x%08x status=0x%08x dod=0x%08x map=0x%08x\n"

l_.str.1:                               ; @.str.1
	.asciz	"ECC enabled with x%d SDCC\n"

	.comm	_EDAC_S8ECD8ED,4,2              ; @EDAC_S8ECD8ED
	.comm	_EDAC_S4ECD4ED,4,2              ; @EDAC_S4ECD4ED
l_.str.2:                               ; @.str.2
	.asciz	"ECC disabled\n"

	.comm	_EDAC_NONE,4,2                  ; @EDAC_NONE
l_.str.3:                               ; @.str.3
	.asciz	"DOD Max limits: DIMMS: %d, %d-ranked, %d-banked x%x x 0x%x\n"

	.comm	_NUM_CHANS,4,2                  ; @NUM_CHANS
l_.str.4:                               ; @.str.4
	.asciz	"Channel %i is not active\n"

l_.str.5:                               ; @.str.5
	.asciz	"Channel %i is disabled\n"

	.comm	_MC_CHANNEL_DIMM_INIT_PARAMS,4,2 ; @MC_CHANNEL_DIMM_INIT_PARAMS
	.comm	_THREE_DIMMS_PRESENT,4,2        ; @THREE_DIMMS_PRESENT
	.comm	_SINGLE_QUAD_RANK_PRESENT,4,2   ; @SINGLE_QUAD_RANK_PRESENT
	.comm	_QUAD_RANK_PRESENT,4,2          ; @QUAD_RANK_PRESENT
	.comm	_REGISTERED_DIMM,4,2            ; @REGISTERED_DIMM
	.comm	_MEM_RDDR3,4,2                  ; @MEM_RDDR3
	.comm	_MEM_DDR3,4,2                   ; @MEM_DDR3
	.comm	_MC_DOD_CH_DIMM0,4,2            ; @MC_DOD_CH_DIMM0
	.comm	_MC_DOD_CH_DIMM1,4,2            ; @MC_DOD_CH_DIMM1
	.comm	_MC_DOD_CH_DIMM2,4,2            ; @MC_DOD_CH_DIMM2
l_.str.6:                               ; @.str.6
	.asciz	"Ch%d phy rd%d, wr%d (0x%08x): %s%s%s%cDIMMs\n"

l_.str.7:                               ; @.str.7
	.asciz	"3DIMMS "

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

l_.str.9:                               ; @.str.9
	.asciz	"SINGLE_4R "

l_.str.10:                              ; @.str.10
	.asciz	"HAS_4R "

l_.str.11:                              ; @.str.11
	.asciz	"\tdimm %d %d MiB offset: %x, bank: %d, rank: %d, row: %#x, col: %#x\n"

	.comm	_DEV_X4,4,2                     ; @DEV_X4
	.comm	_DEV_X8,4,2                     ; @DEV_X8
	.comm	_DEV_X16,4,2                    ; @DEV_X16
	.comm	_DEV_UNKNOWN,4,2                ; @DEV_UNKNOWN
l_.str.12:                              ; @.str.12
	.asciz	"CPU#%uChannel#%u_DIMM#%u"

	.comm	_MC_SAG_CH_0,4,2                ; @MC_SAG_CH_0
	.comm	_MC_SAG_CH_1,4,2                ; @MC_SAG_CH_1
	.comm	_MC_SAG_CH_2,4,2                ; @MC_SAG_CH_2
	.comm	_MC_SAG_CH_3,4,2                ; @MC_SAG_CH_3
	.comm	_MC_SAG_CH_4,4,2                ; @MC_SAG_CH_4
	.comm	_MC_SAG_CH_5,4,2                ; @MC_SAG_CH_5
	.comm	_MC_SAG_CH_6,4,2                ; @MC_SAG_CH_6
	.comm	_MC_SAG_CH_7,4,2                ; @MC_SAG_CH_7
l_.str.13:                              ; @.str.13
	.asciz	"\t[%i] DIVBY3\tREMOVED\tOFFSET\n"

l_.str.14:                              ; @.str.14
	.asciz	"\t\t%#x\t%#x\t%#x\n"

	.no_dead_strip	_get_dimm_config
.subsections_via_symbols
