	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function determine_mtr
_determine_mtr:                         ## @determine_mtr
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movl	%esi, %eax
	movq	_DIMMS_PER_CHANNEL@GOTPCREL(%rip), %rcx
	cmpl	%esi, (%rcx)
	jle	LBB0_1
## %bb.2:
	movq	_CHANNELS_PER_BRANCH@GOTPCREL(%rip), %rcx
	xorl	%esi, %esi
	cmpl	%edx, (%rcx)
	setle	%sil
	movq	(%rdi,%rsi,8), %rcx
	cltq
	movl	(%rcx,%rax,4), %ebx
	jmp	LBB0_3
LBB0_1:
	leaq	L_.str(%rip), %rsi
	xorl	%ebx, %ebx
	xorl	%edi, %edi
	movl	%eax, %edx
	callq	_edac_dbg
LBB0_3:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DIMMS_PER_CHANNEL,4,2          ## @DIMMS_PER_CHANNEL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ERROR: trying to access an invalid dimm: %d\n"

	.comm	_CHANNELS_PER_BRANCH,4,2        ## @CHANNELS_PER_BRANCH
	.no_dead_strip	_determine_mtr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function determine_mtr
_determine_mtr:                         ; @determine_mtr
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	mov	x8, x1
Lloh0:
	adrp	x9, _DIMMS_PER_CHANNEL@GOTPAGE
Lloh1:
	ldr	x9, [x9, _DIMMS_PER_CHANNEL@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	cmp	w9, w1
	b.le	LBB0_2
; %bb.1:
Lloh3:
	adrp	x9, _CHANNELS_PER_BRANCH@GOTPAGE
Lloh4:
	ldr	x9, [x9, _CHANNELS_PER_BRANCH@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w9, w2
	cset	w9, le
	ldr	x9, [x0, w9, uxtw #3]
	ldr	w0, [x9, w8, sxtw #2]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_2:
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #0
	mov	x2, x8
	bl	_edac_dbg
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_DIMMS_PER_CHANNEL,4,2          ; @DIMMS_PER_CHANNEL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ERROR: trying to access an invalid dimm: %d\n"

	.comm	_CHANNELS_PER_BRANCH,4,2        ; @CHANNELS_PER_BRANCH
	.no_dead_strip	_determine_mtr
.subsections_via_symbols
