	.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	$136, %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, -160(%rbp)                ## 8-byte Spill
	movq	8(%rdi), %rbx
	movq	48(%rbx), %rax
	movq	(%rax), %r14
	testq	%r14, %r14
	je	LBB0_1
## %bb.2:
	movq	_MC_CONTROL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	24(%rbx), %rdx
	movq	%r14, %rdi
	callq	_pci_read_config_dword
	movq	_MC_STATUS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	28(%rbx), %rdx
	movq	%r14, %rdi
	callq	_pci_read_config_dword
	movq	_MC_MAX_DOD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	32(%rbx), %r15
	movq	%r14, %rdi
	movq	%r15, %rdx
	callq	_pci_read_config_dword
	movq	_MC_CHANNEL_MAPPER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	36(%rbx), %rdx
	movq	%r14, %rdi
	callq	_pci_read_config_dword
	movq	8(%rbx), %rax
	movl	(%rax), %esi
	movl	24(%rbx), %edx
	movl	28(%rbx), %ecx
	movl	32(%rbx), %r8d
	movl	36(%rbx), %r9d
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_debugf0
	movq	%rbx, %rdi
	callq	_ECC_ENABLED
	testq	%rax, %rax
	movq	%rbx, -120(%rbp)                ## 8-byte Spill
	movq	%r14, -152(%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), %esi
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_debugf0
	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	%r15d, %r15d
	subl	(%rax), %r15d
	jmp	LBB0_30
LBB0_6:
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_debugf0
	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, %ebx
	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
	leaq	L_.str.3(%rip), %rdi
	xorl	%r15d, %r15d
	movl	%ebx, %esi
	movl	%r12d, %edx
	movl	%r13d, %ecx
	movl	%r14d, %r8d
	movl	%eax, %r9d
	xorl	%eax, %eax
	callq	_debugf0
	movq	_NUM_CHANS@GOTPCREL(%rip), %r12
	cmpl	$0, (%r12)
	jle	LBB0_30
## %bb.8:
	movq	_REGISTERED_DIMM@GOTPCREL(%rip), %r15
	xorl	%eax, %eax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	movl	$0, -108(%rbp)                  ## 4-byte Folded Spill
	xorl	%eax, %eax
	movq	%rax, -144(%rbp)                ## 8-byte Spill
	movq	-120(%rbp), %rbx                ## 8-byte Reload
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_9 Depth=1
	leaq	L_.str.4(%rip), %rdi
LBB0_12:                                ##   in Loop: Header=BB0_9 Depth=1
	movq	-104(%rbp), %rsi                ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	xorl	%eax, %eax
	callq	_debugf0
LBB0_28:                                ##   in Loop: Header=BB0_9 Depth=1
	movq	-104(%rbp), %rdx                ## 8-byte Reload
	incq	%rdx
	movslq	(%r12), %rax
	movq	%rdx, %rcx
	movq	%rdx, -104(%rbp)                ## 8-byte Spill
	cmpq	%rax, %rdx
	jge	LBB0_29
LBB0_9:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_18 Depth 2
	movq	40(%rbx), %rax
	movq	-104(%rbp), %rcx                ## 8-byte Reload
	movq	(%rax,%rcx,8), %rax
	cmpq	$0, (%rax)
	je	LBB0_28
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	%rbx, %rdi
	movq	-104(%rbp), %rsi                ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_CH_ACTIVE
	testl	%eax, %eax
	je	LBB0_11
## %bb.13:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	%rbx, %rdi
	movq	-104(%rbp), %rsi                ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_CH_DISABLED
	testq	%rax, %rax
	je	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_9 Depth=1
	leaq	L_.str.5(%rip), %rdi
	jmp	LBB0_12
LBB0_15:                                ##   in Loop: Header=BB0_9 Depth=1
	movq	40(%rbx), %rax
	movq	-104(%rbp), %r14                ## 8-byte Reload
	movq	(%rax,%r14,8), %rax
	movq	(%rax), %rdi
	movq	_MC_CHANNEL_DIMM_INIT_PARAMS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-112(%rbp), %rdx
	callq	_pci_read_config_dword
	movq	_QUAD_RANK_PRESENT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%ecx, %ecx
	andl	-112(%rbp), %eax
	setne	%cl
	leal	2(%rcx,%rcx), %eax
	movq	16(%rbx), %rcx
	movl	%eax, (%rcx,%r14,8)
	movl	(%r15), %ecx
	movq	_MEM_RDDR3@GOTPCREL(%rip), %rax
	andl	-112(%rbp), %ecx
	jne	LBB0_17
## %bb.16:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	_MEM_DDR3@GOTPCREL(%rip), %rax
LBB0_17:                                ##   in Loop: Header=BB0_9 Depth=1
	movl	(%rax), %eax
	movl	%eax, -128(%rbp)                ## 4-byte Spill
	movq	40(%rbx), %rax
	movq	-104(%rbp), %r14                ## 8-byte Reload
	movq	(%rax,%r14,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	40(%rbx), %rax
	movq	(%rax,%r14,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	40(%rbx), %rax
	movq	(%rax,%r14,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	36(%rbx), %edi
	movl	%r14d, %esi
	callq	_RDLCH
	movl	%eax, %r14d
	movl	36(%rbx), %edi
	movq	-104(%rbp), %rsi                ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_WRLCH
	movl	-112(%rbp), %r8d
	movq	16(%rbx), %rcx
	movq	-104(%rbp), %rdx                ## 8-byte Reload
	movl	(%rcx,%rdx,8), %r9d
	xorl	%ecx, %ecx
	movl	(%r15), %edx
	andl	%r8d, %edx
	sete	%cl
	leal	(%rcx,%rcx,2), %ebx
	addl	$82, %ebx
	subq	$8, %rsp
	leaq	L_.str.6(%rip), %rdi
	movq	-104(%rbp), %rsi                ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	movl	%r14d, %edx
	movl	%eax, %ecx
	xorl	%eax, %eax
	pushq	%rbx
	callq	_debugf0
	addq	$16, %rsp
	xorl	%r13d, %r13d
	movl	-108(%rbp), %r12d               ## 4-byte Reload
	jmp	LBB0_18
LBB0_23:                                ##   in Loop: Header=BB0_18 Depth=2
	movq	_DEV_X16@GOTPCREL(%rip), %rsi
LBB0_25:                                ##   in Loop: Header=BB0_18 Depth=2
	movl	(%rsi), %esi
	movl	%esi, 48(%rcx,%rdx)
	movl	-124(%rbp), %esi                ## 4-byte Reload
	movl	%esi, 32(%rcx,%rdx)
	movl	-128(%rbp), %esi                ## 4-byte Reload
	movl	%esi, 36(%rcx,%rdx)
	movl	4(%rax), %edi
	movq	8(%r8), %rax
	movl	(%rax), %ecx
	movl	$4, %esi
	leaq	L_.str.8(%rip), %rdx
	movq	-104(%rbp), %r8                 ## 8-byte Reload
                                        ## kill: def $r8d killed $r8d killed $r8
	movl	%r13d, %r9d
	callq	_snprintf
	incl	%r12d
LBB0_26:                                ##   in Loop: Header=BB0_18 Depth=2
	incq	%r13
	cmpq	$3, %r13
	je	LBB0_27
LBB0_18:                                ##   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_26
## %bb.19:                              ##   in Loop: Header=BB0_18 Depth=2
	movl	-60(%rbp,%r13,4), %edi
	callq	_MC_DOD_NUMBANK
	movl	%eax, %edi
	callq	_numbank
	movl	%eax, %r15d
	movl	-60(%rbp,%r13,4), %edi
	callq	_MC_DOD_NUMRANK
	movl	%eax, %edi
	callq	_numrank
	movl	%eax, %r14d
	movl	-60(%rbp,%r13,4), %edi
	callq	_MC_DOD_NUMROW
	movl	%eax, %edi
	callq	_numrow
	movl	%r12d, -108(%rbp)               ## 4-byte Spill
	movl	%eax, %r12d
	movq	%r12, -168(%rbp)                ## 8-byte Spill
	movl	-60(%rbp,%r13,4), %edi
	callq	_MC_DOD_NUMCOL
	movl	%eax, %edi
	callq	_numcol
                                        ## kill: def $eax killed $eax def $rax
	movl	%r14d, %ecx
	movl	%r15d, %ebx
	movl	%r15d, -132(%rbp)               ## 4-byte Spill
	imull	%r15d, %ecx
	movl	%r12d, %r15d
	imull	%eax, %r15d
	movq	%rax, %r12
	imull	%ecx, %r15d
	sarl	$17, %r15d
	movq	-120(%rbp), %rax                ## 8-byte Reload
	movq	16(%rax), %rax
	movq	-104(%rbp), %rcx                ## 8-byte Reload
	incl	4(%rax,%rcx,8)
	movl	-60(%rbp,%r13,4), %edi
	callq	_RANKOFFSET
	leaq	L_.str.7(%rip), %rdi
	movl	%r13d, %esi
	movl	%r15d, %edx
	movl	%eax, %ecx
	movl	%ebx, %r8d
	movl	%r14d, %r9d
	movq	-104(%rbp), %r14                ## 8-byte Reload
	xorl	%eax, %eax
	pushq	%r12
	movq	-120(%rbp), %r12                ## 8-byte Reload
	pushq	-168(%rbp)                      ## 8-byte Folded Reload
	movl	-108(%rbp), %ebx                ## 4-byte Reload
	callq	_debugf0
	addq	$16, %rsp
	movl	%r15d, %edi
	callq	_MiB_TO_PAGES
	movq	%r12, %r8
	movq	-160(%rbp), %rcx                ## 8-byte Reload
	movq	(%rcx), %rcx
	movl	%ebx, %r12d
	movslq	%ebx, %rsi
	movq	-144(%rbp), %rbx                ## 8-byte Reload
	leaq	1(%rbx), %rdi
	movq	%rsi, %rdx
	shlq	$6, %rdx
	movq	%rdi, (%rcx,%rdx)
	cltq
	addq	%rax, %rbx
	movq	%rbx, %rdi
	movq	%rbx, -144(%rbp)                ## 8-byte Spill
	movq	%rbx, 8(%rcx,%rdx)
	movl	%eax, 16(%rcx,%rdx)
	movq	$0, 56(%rcx,%rdx)
	movl	$8, 20(%rcx,%rdx)
	movl	%esi, 24(%rcx,%rdx)
	movl	$1, 28(%rcx,%rdx)
	movq	40(%rcx,%rdx), %rax
	movl	%r14d, (%rax)
	movq	$0, 8(%rax)
	movq	(%r8), %rdi
	movq	%r14, -104(%rbp)                ## 8-byte Spill
	movq	(%rdi,%r14,8), %rdi
	movl	%esi, (%rdi,%r13,4)
	movl	-132(%rbp), %edi                ## 4-byte Reload
	movq	_DEV_X4@GOTPCREL(%rip), %rsi
	cmpl	$4, %edi
	je	LBB0_25
## %bb.20:                              ##   in Loop: Header=BB0_18 Depth=2
	cmpl	$16, %edi
	je	LBB0_23
## %bb.21:                              ##   in Loop: Header=BB0_18 Depth=2
	cmpl	$8, %edi
	jne	LBB0_24
## %bb.22:                              ##   in Loop: Header=BB0_18 Depth=2
	movq	_DEV_X8@GOTPCREL(%rip), %rsi
	jmp	LBB0_25
LBB0_24:                                ##   in Loop: Header=BB0_18 Depth=2
	movq	_DEV_UNKNOWN@GOTPCREL(%rip), %rsi
	jmp	LBB0_25
LBB0_27:                                ##   in Loop: Header=BB0_9 Depth=1
	movl	%r12d, -108(%rbp)               ## 4-byte Spill
	movq	_MC_SAG_CH_0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-152(%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
	leaq	L_.str.9(%rip), %rdi
	movq	-104(%rbp), %rsi                ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	xorl	%eax, %eax
	callq	_debugf1
	movl	-96(%rbp), %eax
	movl	%eax, %esi
	shrl	$27, %esi
	andl	$1, %esi
	movl	%eax, %edx
	shrl	$24, %edx
	andl	$7, %edx
	xorl	%ecx, %ecx
	testl	%eax, %eax
	setne	%cl
	leaq	L_.str.10(%rip), %rbx
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_debugf1
	movl	-92(%rbp), %eax
	movl	%eax, %esi
	shrl	$27, %esi
	andl	$1, %esi
	movl	%eax, %edx
	shrl	$24, %edx
	andl	$7, %edx
	xorl	%ecx, %ecx
	testl	%eax, %eax
	setne	%cl
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_debugf1
	movl	-88(%rbp), %eax
	movl	%eax, %esi
	shrl	$27, %esi
	andl	$1, %esi
	movl	%eax, %edx
	shrl	$24, %edx
	andl	$7, %edx
	xorl	%ecx, %ecx
	testl	%eax, %eax
	setne	%cl
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_debugf1
	movl	-84(%rbp), %eax
	movl	%eax, %esi
	shrl	$27, %esi
	andl	$1, %esi
	movl	%eax, %edx
	shrl	$24, %edx
	andl	$7, %edx
	xorl	%ecx, %ecx
	testl	%eax, %eax
	setne	%cl
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_debugf1
	movl	-80(%rbp), %eax
	movl	%eax, %esi
	shrl	$27, %esi
	andl	$1, %esi
	movl	%eax, %edx
	shrl	$24, %edx
	andl	$7, %edx
	xorl	%ecx, %ecx
	testl	%eax, %eax
	setne	%cl
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_debugf1
	movl	-76(%rbp), %eax
	movl	%eax, %esi
	shrl	$27, %esi
	andl	$1, %esi
	movl	%eax, %edx
	shrl	$24, %edx
	andl	$7, %edx
	xorl	%ecx, %ecx
	testl	%eax, %eax
	setne	%cl
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_debugf1
	movl	-72(%rbp), %eax
	movl	%eax, %esi
	shrl	$27, %esi
	andl	$1, %esi
	movl	%eax, %edx
	shrl	$24, %edx
	andl	$7, %edx
	xorl	%ecx, %ecx
	testl	%eax, %eax
	setne	%cl
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_debugf1
	movl	-68(%rbp), %eax
	movl	%eax, %esi
	shrl	$27, %esi
	andl	$1, %esi
	movl	%eax, %edx
	shrl	$24, %edx
	andl	$7, %edx
	xorl	%ecx, %ecx
	testl	%eax, %eax
	setne	%cl
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_debugf1
	movq	_NUM_CHANS@GOTPCREL(%rip), %r12
	movq	_REGISTERED_DIMM@GOTPCREL(%rip), %r15
	movq	-120(%rbp), %rbx                ## 8-byte Reload
	jmp	LBB0_28
LBB0_29:
	xorl	%r15d, %r15d
LBB0_30:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_32
## %bb.31:
	movl	%r15d, %eax
	addq	$136, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_32:
	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	_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): %d ranks, %cDIMMs\n"

L_.str.7:                               ## @.str.7
	.asciz	"\tdimm %d %d Mb 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.8:                               ## @.str.8
	.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.9:                               ## @.str.9
	.asciz	"\t[%i] DIVBY3\tREMOVED\tOFFSET\n"

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

	.comm	_SINGLE_QUAD_RANK_PRESENT,4,2   ## @SINGLE_QUAD_RANK_PRESENT
	.comm	_THREE_DIMMS_PRESENT,4,2        ## @THREE_DIMMS_PRESENT
	.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, #352
	.cfi_def_cfa_offset 352
	stp	x28, x27, [sp, #256]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #272]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #288]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #304]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #320]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #336]            ; 16-byte Folded Spill
	add	x29, sp, #336
	.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, #144]                  ; 8-byte Folded Spill
	ldr	x8, [x0, #8]
	mov	x27, x8
	ldr	x8, [x8, #48]
	ldr	x19, [x8]
	cbz	x19, LBB0_3
; %bb.1:
Lloh3:
	adrp	x8, _MC_CONTROL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MC_CONTROL@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x20, x27
	add	x2, x27, #24
	mov	x0, x19
	bl	_pci_read_config_dword
Lloh6:
	adrp	x8, _MC_STATUS@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MC_STATUS@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	add	x2, x27, #28
	mov	x0, x19
	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, x27, #32
	mov	x0, x19
	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, x27, #36
	mov	x0, x19
	bl	_pci_read_config_dword
	ldr	x8, [x27, #8]
	ldr	w8, [x8]
	ldp	w9, w10, [x27, #24]
	ldp	w11, w12, [x27, #32]
	stp	x11, x12, [sp, #24]
	stp	x9, x10, [sp, #8]
	str	x8, [sp]
Lloh15:
	adrp	x0, l_.str@PAGE
Lloh16:
	add	x0, x0, l_.str@PAGEOFF
	bl	_debugf0
	mov	x0, x27
	bl	_ECC_ENABLED
	cbz	x0, LBB0_4
; %bb.2:
	mov	x20, x27
	mov	x0, x27
	bl	_ECCx8
	mov	w8, #8
	mov	w9, #4
	cmp	x0, #0
	csel	x8, x9, x8, eq
	str	x8, [sp]
Lloh17:
	adrp	x0, l_.str.1@PAGE
Lloh18:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_debugf0
	mov	x0, x27
	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_27
LBB0_4:
Lloh26:
	adrp	x0, l_.str.2@PAGE
Lloh27:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_debugf0
Lloh28:
	adrp	x8, _EDAC_NONE@GOTPAGE
Lloh29:
	ldr	x8, [x8, _EDAC_NONE@GOTPAGEOFF]
LBB0_5:
	ldr	w8, [x8]
	str	w8, [sp, #140]                  ; 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	x0, l_.str.3@PAGE
Lloh31:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_debugf0
Lloh32:
	adrp	x20, _NUM_CHANS@GOTPAGE
Lloh33:
	ldr	x20, [x20, _NUM_CHANS@GOTPAGEOFF]
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_26
; %bb.6:
	mov	x26, #0
	mov	w21, #0
	mov	x25, #0
	sub	x24, x29, #108
	add	x8, x24, #4
	stp	x8, x19, [sp, #120]             ; 16-byte Folded Spill
	add	x10, x24, #8
	sub	x8, x29, #140
	add	x9, x8, #4
	stp	x9, x10, [sp, #104]             ; 16-byte Folded Spill
	add	x10, x8, #8
	add	x9, x8, #12
	stp	x9, x10, [sp, #88]              ; 16-byte Folded Spill
	add	x10, x8, #16
	add	x9, x8, #20
	stp	x9, x10, [sp, #72]              ; 16-byte Folded Spill
	add	x9, x8, #24
	add	x8, x8, #28
	stp	x8, x9, [sp, #56]               ; 16-byte Folded Spill
	b	LBB0_10
LBB0_7:                                 ;   in Loop: Header=BB0_10 Depth=1
	mov	x8, x26
	str	x8, [sp]
Lloh34:
	adrp	x0, l_.str.4@PAGE
Lloh35:
	add	x0, x0, l_.str.4@PAGEOFF
LBB0_8:                                 ;   in Loop: Header=BB0_10 Depth=1
	bl	_debugf0
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=1
	add	x26, x26, #1
	ldrsw	x8, [x20]
	cmp	x26, x8
	b.ge	LBB0_26
LBB0_10:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_18 Depth 2
	ldr	x8, [x27, #40]
	ldr	x8, [x8, x26, lsl #3]
	ldr	x8, [x8]
	cbz	x8, LBB0_9
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	x0, x27
	mov	x1, x26
	bl	_CH_ACTIVE
	cbz	w0, LBB0_7
; %bb.12:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	x0, x27
	mov	x1, x26
	bl	_CH_DISABLED
	cbz	x0, LBB0_14
; %bb.13:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	x8, x26
	str	x8, [sp]
Lloh36:
	adrp	x0, l_.str.5@PAGE
Lloh37:
	add	x0, x0, l_.str.5@PAGEOFF
	b	LBB0_8
LBB0_14:                                ;   in Loop: Header=BB0_10 Depth=1
	mov	x19, x27
	ldr	x8, [x27, #40]
	lsl	x22, x26, #3
	ldr	x8, [x8, x22]
	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, _QUAD_RANK_PRESENT@GOTPAGE
Lloh42:
	ldr	x9, [x9, _QUAD_RANK_PRESENT@GOTPAGEOFF]
Lloh43:
	ldr	w9, [x9]
	tst	w9, w8
	mov	w8, #4
	mov	w9, #2
	csel	w8, w9, w8, eq
	ldr	x9, [x27, #16]
	str	w8, [x9, x22]
	ldur	w8, [x29, #-144]
Lloh44:
	adrp	x20, _REGISTERED_DIMM@GOTPAGE
Lloh45:
	ldr	x20, [x20, _REGISTERED_DIMM@GOTPAGEOFF]
	ldr	w9, [x20]
	tst	w9, w8
Lloh46:
	adrp	x8, _MEM_DDR3@GOTPAGE
Lloh47:
	ldr	x8, [x8, _MEM_DDR3@GOTPAGEOFF]
Lloh48:
	adrp	x9, _MEM_RDDR3@GOTPAGE
Lloh49:
	ldr	x9, [x9, _MEM_RDDR3@GOTPAGEOFF]
	csel	x8, x8, x9, eq
	ldr	w8, [x8]
	str	w8, [sp, #156]                  ; 4-byte Folded Spill
	ldr	x8, [x27, #40]
	ldr	x8, [x8, x22]
	ldr	x0, [x8, #8]
Lloh50:
	adrp	x8, _MC_DOD_CH_DIMM0@GOTPAGE
Lloh51:
	ldr	x8, [x8, _MC_DOD_CH_DIMM0@GOTPAGEOFF]
Lloh52:
	ldr	w1, [x8]
	sub	x2, x29, #108
	bl	_pci_read_config_dword
	ldr	x8, [x27, #40]
	ldr	x8, [x8, x22]
	ldr	x0, [x8, #8]
Lloh53:
	adrp	x8, _MC_DOD_CH_DIMM1@GOTPAGE
Lloh54:
	ldr	x8, [x8, _MC_DOD_CH_DIMM1@GOTPAGEOFF]
Lloh55:
	ldr	w1, [x8]
	ldr	x2, [sp, #120]                  ; 8-byte Folded Reload
	bl	_pci_read_config_dword
	ldr	x8, [x27, #40]
	ldr	x8, [x8, x22]
	ldr	x0, [x8, #8]
Lloh56:
	adrp	x8, _MC_DOD_CH_DIMM2@GOTPAGE
Lloh57:
	ldr	x8, [x8, _MC_DOD_CH_DIMM2@GOTPAGEOFF]
Lloh58:
	ldr	w1, [x8]
	ldr	x2, [sp, #112]                  ; 8-byte Folded Reload
	bl	_pci_read_config_dword
	ldr	w0, [x27, #36]
	mov	x1, x26
	bl	_RDLCH
	mov	x23, x0
	ldr	w0, [x27, #36]
	mov	x1, x26
	bl	_WRLCH
                                        ; kill: def $w0 killed $w0 def $x0
	ldur	w8, [x29, #-144]
	ldr	x9, [x27, #16]
	ldr	w10, [x20]
	str	x22, [sp, #160]                 ; 8-byte Folded Spill
	ldr	w9, [x9, x22]
	tst	w10, w8
	mov	w10, #82
	mov	w11, #85
	csel	x10, x11, x10, eq
	stp	x9, x10, [sp, #32]
	stp	x0, x8, [sp, #16]
	mov	x8, x26
	stp	x8, x23, [sp]
Lloh59:
	adrp	x0, l_.str.6@PAGE
Lloh60:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_debugf0
	mov	x23, #0
	str	x26, [sp, #168]                 ; 8-byte Folded Spill
	b	LBB0_18
LBB0_15:                                ;   in Loop: Header=BB0_18 Depth=2
Lloh61:
	adrp	x10, _DEV_X16@GOTPAGE
Lloh62:
	ldr	x10, [x10, _DEV_X16@GOTPAGEOFF]
LBB0_16:                                ;   in Loop: Header=BB0_18 Depth=2
	sub	x24, x29, #108
	ldr	w10, [x10]
	str	w10, [x8, #48]
	ldr	w11, [sp, #140]                 ; 4-byte Folded Reload
	ldr	w10, [sp, #156]                 ; 4-byte Folded Reload
	stp	w11, w10, [x8, #32]
	ldr	w0, [x9, #4]
	ldr	x8, [x27, #8]
	ldr	w3, [x8]
	mov	w1, #4
Lloh63:
	adrp	x2, l_.str.8@PAGE
Lloh64:
	add	x2, x2, l_.str.8@PAGEOFF
	mov	x4, x26
	mov	x5, x23
	bl	_snprintf
	add	w21, w21, #1
LBB0_17:                                ;   in Loop: Header=BB0_18 Depth=2
	add	x23, x23, #1
	cmp	x23, #3
	b.eq	LBB0_25
LBB0_18:                                ;   Parent Loop BB0_10 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w0, [x24, x23, lsl #2]
	bl	_DIMM_PRESENT
	cbz	w0, LBB0_17
; %bb.19:                               ;   in Loop: Header=BB0_18 Depth=2
	lsl	x28, x23, #2
	ldr	w0, [x24, x28]
	bl	_MC_DOD_NUMBANK
	bl	_numbank
	sub	x22, x29, #108
	mov	x24, x0
	ldr	w0, [x22, x28]
	bl	_MC_DOD_NUMRANK
	bl	_numrank
	stp	x25, x21, [x29, #-160]          ; 16-byte Folded Spill
	mov	x25, x0
	ldr	w0, [x22, x28]
	bl	_MC_DOD_NUMROW
	bl	_numrow
	mov	x26, x0
	ldr	w0, [x22, x28]
	bl	_MC_DOD_NUMCOL
	bl	_numcol
	mov	x20, x27
	mov	x21, x0
	mul	w8, w25, w24
	mul	w8, w8, w26
	mul	w8, w8, w0
	asr	w27, w8, #17
	ldr	x8, [x20, #16]
	ldr	x19, [sp, #160]                 ; 8-byte Folded Reload
	add	x8, x8, x19
	ldr	w9, [x8, #4]
	add	w9, w9, #1
	str	w9, [x8, #4]
	ldr	w0, [x22, x28]
	bl	_RANKOFFSET
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x26, x21, [sp, #40]
	str	x25, [sp, #32]
	ldp	x25, x21, [x29, #-160]          ; 16-byte Folded Reload
	ldr	x26, [sp, #168]                 ; 8-byte Folded Reload
	stp	x0, x24, [sp, #16]
	stp	x23, x27, [sp]
Lloh65:
	adrp	x0, l_.str.7@PAGE
Lloh66:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	_debugf0
	mov	x0, x27
	bl	_MiB_TO_PAGES
	ldr	x8, [sp, #144]                  ; 8-byte Folded Reload
	ldr	x8, [x8]
	sxtw	x9, w21
	add	x10, x25, #1
	add	x8, x8, x9, lsl #6
	add	x25, x25, w0, sxtw
	stp	x10, x25, [x8]
	str	xzr, [x8, #56]
	mov	w9, #8
	stp	w0, w9, [x8, #16]
	mov	w9, #1
	stp	w21, w9, [x8, #24]
	ldr	x9, [x8, #40]
	str	w26, [x9]
	str	xzr, [x9, #8]
	mov	x27, x20
	ldr	x10, [x20]
	ldr	x10, [x10, x19]
	str	w21, [x10, x28]
	cmp	w24, #4
	b.eq	LBB0_23
; %bb.20:                               ;   in Loop: Header=BB0_18 Depth=2
	cmp	w24, #16
	b.eq	LBB0_15
; %bb.21:                               ;   in Loop: Header=BB0_18 Depth=2
	cmp	w24, #8
	b.ne	LBB0_24
; %bb.22:                               ;   in Loop: Header=BB0_18 Depth=2
Lloh67:
	adrp	x10, _DEV_X8@GOTPAGE
Lloh68:
	ldr	x10, [x10, _DEV_X8@GOTPAGEOFF]
	b	LBB0_16
LBB0_23:                                ;   in Loop: Header=BB0_18 Depth=2
Lloh69:
	adrp	x10, _DEV_X4@GOTPAGE
Lloh70:
	ldr	x10, [x10, _DEV_X4@GOTPAGEOFF]
	b	LBB0_16
LBB0_24:                                ;   in Loop: Header=BB0_18 Depth=2
Lloh71:
	adrp	x10, _DEV_UNKNOWN@GOTPAGE
Lloh72:
	ldr	x10, [x10, _DEV_UNKNOWN@GOTPAGEOFF]
	b	LBB0_16
LBB0_25:                                ;   in Loop: Header=BB0_10 Depth=1
Lloh73:
	adrp	x8, _MC_SAG_CH_0@GOTPAGE
Lloh74:
	ldr	x8, [x8, _MC_SAG_CH_0@GOTPAGEOFF]
Lloh75:
	ldr	w1, [x8]
	sub	x2, x29, #140
	ldr	x20, [sp, #128]                 ; 8-byte Folded Reload
	mov	x0, x20
	bl	_pci_read_config_dword
Lloh76:
	adrp	x8, _MC_SAG_CH_1@GOTPAGE
Lloh77:
	ldr	x8, [x8, _MC_SAG_CH_1@GOTPAGEOFF]
Lloh78:
	ldr	w1, [x8]
	mov	x0, x20
	ldr	x2, [sp, #104]                  ; 8-byte Folded Reload
	bl	_pci_read_config_dword
Lloh79:
	adrp	x8, _MC_SAG_CH_2@GOTPAGE
Lloh80:
	ldr	x8, [x8, _MC_SAG_CH_2@GOTPAGEOFF]
Lloh81:
	ldr	w1, [x8]
	mov	x0, x20
	ldr	x2, [sp, #96]                   ; 8-byte Folded Reload
	bl	_pci_read_config_dword
Lloh82:
	adrp	x8, _MC_SAG_CH_3@GOTPAGE
Lloh83:
	ldr	x8, [x8, _MC_SAG_CH_3@GOTPAGEOFF]
Lloh84:
	ldr	w1, [x8]
	mov	x0, x20
	ldr	x2, [sp, #88]                   ; 8-byte Folded Reload
	bl	_pci_read_config_dword
Lloh85:
	adrp	x8, _MC_SAG_CH_4@GOTPAGE
Lloh86:
	ldr	x8, [x8, _MC_SAG_CH_4@GOTPAGEOFF]
Lloh87:
	ldr	w1, [x8]
	mov	x0, x20
	ldr	x2, [sp, #80]                   ; 8-byte Folded Reload
	bl	_pci_read_config_dword
Lloh88:
	adrp	x8, _MC_SAG_CH_5@GOTPAGE
Lloh89:
	ldr	x8, [x8, _MC_SAG_CH_5@GOTPAGEOFF]
Lloh90:
	ldr	w1, [x8]
	mov	x0, x20
	ldr	x2, [sp, #72]                   ; 8-byte Folded Reload
	bl	_pci_read_config_dword
Lloh91:
	adrp	x8, _MC_SAG_CH_6@GOTPAGE
Lloh92:
	ldr	x8, [x8, _MC_SAG_CH_6@GOTPAGEOFF]
Lloh93:
	ldr	w1, [x8]
	mov	x0, x20
	ldr	x2, [sp, #64]                   ; 8-byte Folded Reload
	bl	_pci_read_config_dword
Lloh94:
	adrp	x8, _MC_SAG_CH_7@GOTPAGE
Lloh95:
	ldr	x8, [x8, _MC_SAG_CH_7@GOTPAGEOFF]
Lloh96:
	ldr	w1, [x8]
	mov	x0, x20
	ldr	x2, [sp, #56]                   ; 8-byte Folded Reload
	bl	_pci_read_config_dword
Lloh97:
	adrp	x0, l_.str.9@PAGE
Lloh98:
	add	x0, x0, l_.str.9@PAGEOFF
	mov	x1, x26
	bl	_debugf1
	ldur	w8, [x29, #-140]
	ubfx	w1, w8, #27, #1
	ubfx	w9, w8, #24, #3
	cmp	w8, #0
	cset	w8, ne
	stp	x9, x8, [sp]
Lloh99:
	adrp	x20, l_.str.10@PAGE
Lloh100:
	add	x20, x20, l_.str.10@PAGEOFF
	mov	x0, x20
	bl	_debugf1
	ldur	w8, [x29, #-136]
	ubfx	w1, w8, #27, #1
	ubfx	w9, w8, #24, #3
	cmp	w8, #0
	cset	w8, ne
	stp	x9, x8, [sp]
	mov	x0, x20
	bl	_debugf1
	ldur	w8, [x29, #-132]
	ubfx	w1, w8, #27, #1
	ubfx	w9, w8, #24, #3
	cmp	w8, #0
	cset	w8, ne
	stp	x9, x8, [sp]
	mov	x0, x20
	bl	_debugf1
	ldur	w8, [x29, #-128]
	ubfx	w1, w8, #27, #1
	ubfx	w9, w8, #24, #3
	cmp	w8, #0
	cset	w8, ne
	stp	x9, x8, [sp]
	mov	x0, x20
	bl	_debugf1
	ldur	w8, [x29, #-124]
	ubfx	w1, w8, #27, #1
	ubfx	w9, w8, #24, #3
	cmp	w8, #0
	cset	w8, ne
	stp	x9, x8, [sp]
	mov	x0, x20
	bl	_debugf1
	ldur	w8, [x29, #-120]
	ubfx	w1, w8, #27, #1
	ubfx	w9, w8, #24, #3
	cmp	w8, #0
	cset	w8, ne
	stp	x9, x8, [sp]
	mov	x0, x20
	bl	_debugf1
	ldur	w8, [x29, #-116]
	ubfx	w1, w8, #27, #1
	ubfx	w9, w8, #24, #3
	cmp	w8, #0
	cset	w8, ne
	stp	x9, x8, [sp]
	mov	x0, x20
	bl	_debugf1
	ldur	w8, [x29, #-112]
	ubfx	w1, w8, #27, #1
	ubfx	w9, w8, #24, #3
	cmp	w8, #0
	cset	w8, ne
	stp	x9, x8, [sp]
	mov	x0, x20
	bl	_debugf1
Lloh101:
	adrp	x20, _NUM_CHANS@GOTPAGE
Lloh102:
	ldr	x20, [x20, _NUM_CHANS@GOTPAGEOFF]
	b	LBB0_9
LBB0_26:
	mov	w0, #0
LBB0_27:
	ldur	x8, [x29, #-96]
Lloh103:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh104:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh105:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_29
; %bb.28:
	ldp	x29, x30, [sp, #336]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #320]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #304]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #288]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #272]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #256]            ; 16-byte Folded Reload
	add	sp, sp, #352
	ret
LBB0_29:
	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 AdrpAdd	Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGot	Lloh48, Lloh49
	.loh AdrpLdrGot	Lloh46, Lloh47
	.loh AdrpLdrGot	Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGot	Lloh61, Lloh62
	.loh AdrpAdd	Lloh63, Lloh64
	.loh AdrpAdd	Lloh65, Lloh66
	.loh AdrpLdrGot	Lloh67, Lloh68
	.loh AdrpLdrGot	Lloh69, Lloh70
	.loh AdrpLdrGot	Lloh71, Lloh72
	.loh AdrpLdrGot	Lloh101, Lloh102
	.loh AdrpAdd	Lloh99, Lloh100
	.loh AdrpAdd	Lloh97, Lloh98
	.loh AdrpLdrGotLdr	Lloh94, Lloh95, Lloh96
	.loh AdrpLdrGotLdr	Lloh91, Lloh92, Lloh93
	.loh AdrpLdrGotLdr	Lloh88, Lloh89, Lloh90
	.loh AdrpLdrGotLdr	Lloh85, Lloh86, Lloh87
	.loh AdrpLdrGotLdr	Lloh82, Lloh83, Lloh84
	.loh AdrpLdrGotLdr	Lloh79, Lloh80, Lloh81
	.loh AdrpLdrGotLdr	Lloh76, Lloh77, Lloh78
	.loh AdrpLdrGotLdr	Lloh73, Lloh74, Lloh75
	.loh AdrpLdrGotLdr	Lloh103, Lloh104, Lloh105
	.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	_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): %d ranks, %cDIMMs\n"

l_.str.7:                               ; @.str.7
	.asciz	"\tdimm %d %d Mb 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.8:                               ; @.str.8
	.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.9:                               ; @.str.9
	.asciz	"\t[%i] DIVBY3\tREMOVED\tOFFSET\n"

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

	.comm	_SINGLE_QUAD_RANK_PRESENT,4,2   ; @SINGLE_QUAD_RANK_PRESENT
	.comm	_THREE_DIMMS_PRESENT,4,2        ; @THREE_DIMMS_PRESENT
	.no_dead_strip	_get_dimm_config
.subsections_via_symbols
