	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function setup_mci_misc_attrs
_setup_mci_misc_attrs:                  ## @setup_mci_misc_attrs
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	48(%rdi), %r14
	movq	_MEM_FLAG_DDR2@GOTPCREL(%rip), %rax
	movq	_MEM_FLAG_RDDR2@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movl	%ecx, (%rdi)
	movq	_EDAC_FLAG_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 44(%rdi)
	movl	(%r14), %ecx
	movq	_NBCAP_SECDED@GOTPCREL(%rip), %rdx
	testl	%ecx, (%rdx)
	je	LBB0_2
## %bb.1:
	movq	_EDAC_FLAG_SECDED@GOTPCREL(%rip), %rdx
	orl	(%rdx), %eax
	movl	%eax, 44(%rbx)
LBB0_2:
	movq	_NBCAP_CHIPKILL@GOTPCREL(%rip), %rdx
	testl	%ecx, (%rdx)
	je	LBB0_4
## %bb.3:
	movq	_EDAC_FLAG_S4ECD4ED@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, 44(%rbx)
LBB0_4:
	movq	%r14, %rdi
	callq	_amd64_determine_edac_cap
	movl	%eax, 40(%rbx)
	movq	_EDAC_MOD_STR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 36(%rbx)
	movq	_EDAC_AMD64_VERSION@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 32(%rbx)
	movl	(%r15), %eax
	movl	%eax, 28(%rbx)
	movl	4(%r14), %edi
	callq	_pci_name
	movl	%eax, 24(%rbx)
	movq	$0, 16(%rbx)
	movq	_amd64_set_scrub_rate@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rbx)
	movq	_amd64_get_scrub_rate@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MEM_FLAG_DDR2,4,2              ## @MEM_FLAG_DDR2
	.comm	_MEM_FLAG_RDDR2,4,2             ## @MEM_FLAG_RDDR2
	.comm	_EDAC_FLAG_NONE,4,2             ## @EDAC_FLAG_NONE
	.comm	_NBCAP_SECDED,4,2               ## @NBCAP_SECDED
	.comm	_EDAC_FLAG_SECDED,4,2           ## @EDAC_FLAG_SECDED
	.comm	_NBCAP_CHIPKILL,4,2             ## @NBCAP_CHIPKILL
	.comm	_EDAC_FLAG_S4ECD4ED,4,2         ## @EDAC_FLAG_S4ECD4ED
	.comm	_EDAC_MOD_STR,4,2               ## @EDAC_MOD_STR
	.comm	_EDAC_AMD64_VERSION,4,2         ## @EDAC_AMD64_VERSION
	.comm	_amd64_set_scrub_rate,4,2       ## @amd64_set_scrub_rate
	.comm	_amd64_get_scrub_rate,4,2       ## @amd64_get_scrub_rate
	.no_dead_strip	_setup_mci_misc_attrs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function setup_mci_misc_attrs
_setup_mci_misc_attrs:                  ; @setup_mci_misc_attrs
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x21, x1
	mov	x19, x0
	ldr	x20, [x0, #48]
Lloh0:
	adrp	x8, _MEM_FLAG_DDR2@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MEM_FLAG_DDR2@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _MEM_FLAG_RDDR2@GOTPAGE
Lloh4:
	ldr	x9, [x9, _MEM_FLAG_RDDR2@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w8, w9, w8
	str	w8, [x0]
Lloh6:
	adrp	x8, _EDAC_FLAG_NONE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EDAC_FLAG_NONE@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	str	w8, [x0, #44]
	ldr	w9, [x20]
Lloh9:
	adrp	x10, _NBCAP_SECDED@GOTPAGE
Lloh10:
	ldr	x10, [x10, _NBCAP_SECDED@GOTPAGEOFF]
Lloh11:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_2
; %bb.1:
Lloh12:
	adrp	x10, _EDAC_FLAG_SECDED@GOTPAGE
Lloh13:
	ldr	x10, [x10, _EDAC_FLAG_SECDED@GOTPAGEOFF]
Lloh14:
	ldr	w10, [x10]
	orr	w8, w10, w8
	str	w8, [x19, #44]
LBB0_2:
Lloh15:
	adrp	x10, _NBCAP_CHIPKILL@GOTPAGE
Lloh16:
	ldr	x10, [x10, _NBCAP_CHIPKILL@GOTPAGEOFF]
Lloh17:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_4
; %bb.3:
Lloh18:
	adrp	x9, _EDAC_FLAG_S4ECD4ED@GOTPAGE
Lloh19:
	ldr	x9, [x9, _EDAC_FLAG_S4ECD4ED@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	orr	w8, w8, w9
	str	w8, [x19, #44]
LBB0_4:
	mov	x0, x20
	bl	_amd64_determine_edac_cap
Lloh21:
	adrp	x8, _EDAC_MOD_STR@GOTPAGE
Lloh22:
	ldr	x8, [x8, _EDAC_MOD_STR@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
Lloh24:
	adrp	x9, _EDAC_AMD64_VERSION@GOTPAGE
Lloh25:
	ldr	x9, [x9, _EDAC_AMD64_VERSION@GOTPAGEOFF]
	stp	w8, w0, [x19, #36]
Lloh26:
	ldr	w8, [x9]
	ldr	w9, [x21]
	stp	w9, w8, [x19, #28]
	ldr	w0, [x20, #4]
	bl	_pci_name
	str	w0, [x19, #24]
	str	xzr, [x19, #16]
Lloh27:
	adrp	x8, _amd64_set_scrub_rate@GOTPAGE
Lloh28:
	ldr	x8, [x8, _amd64_set_scrub_rate@GOTPAGEOFF]
Lloh29:
	ldr	w8, [x8]
Lloh30:
	adrp	x9, _amd64_get_scrub_rate@GOTPAGE
Lloh31:
	ldr	x9, [x9, _amd64_get_scrub_rate@GOTPAGEOFF]
Lloh32:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #4]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_MEM_FLAG_DDR2,4,2              ; @MEM_FLAG_DDR2
	.comm	_MEM_FLAG_RDDR2,4,2             ; @MEM_FLAG_RDDR2
	.comm	_EDAC_FLAG_NONE,4,2             ; @EDAC_FLAG_NONE
	.comm	_NBCAP_SECDED,4,2               ; @NBCAP_SECDED
	.comm	_EDAC_FLAG_SECDED,4,2           ; @EDAC_FLAG_SECDED
	.comm	_NBCAP_CHIPKILL,4,2             ; @NBCAP_CHIPKILL
	.comm	_EDAC_FLAG_S4ECD4ED,4,2         ; @EDAC_FLAG_S4ECD4ED
	.comm	_EDAC_MOD_STR,4,2               ; @EDAC_MOD_STR
	.comm	_EDAC_AMD64_VERSION,4,2         ; @EDAC_AMD64_VERSION
	.comm	_amd64_set_scrub_rate,4,2       ; @amd64_set_scrub_rate
	.comm	_amd64_get_scrub_rate,4,2       ; @amd64_get_scrub_rate
	.no_dead_strip	_setup_mci_misc_attrs
.subsections_via_symbols
