	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cik_get_number_of_dram_channels
_cik_get_number_of_dram_channels:       ## @cik_get_number_of_dram_channels
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_mmMC_SHARED_CHMAP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_RREG32
	movq	_MC_SHARED_CHMAP__NOOFCHAN_MASK@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	movq	_MC_SHARED_CHMAP__NOOFCHAN__SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	sarl	%cl, %eax
	decl	%eax
	movl	$1, %ecx
	cmpl	$7, %eax
	ja	LBB0_2
## %bb.1:
	cltq
	leaq	l_switch.table.cik_get_number_of_dram_channels(%rip), %rcx
	movl	(%rcx,%rax,4), %ecx
LBB0_2:
	movl	%ecx, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_mmMC_SHARED_CHMAP,4,2          ## @mmMC_SHARED_CHMAP
	.comm	_MC_SHARED_CHMAP__NOOFCHAN_MASK,4,2 ## @MC_SHARED_CHMAP__NOOFCHAN_MASK
	.comm	_MC_SHARED_CHMAP__NOOFCHAN__SHIFT,4,2 ## @MC_SHARED_CHMAP__NOOFCHAN__SHIFT
	.no_dead_strip	_cik_get_number_of_dram_channels
	.section	__TEXT,__const
	.p2align	2                               ## @switch.table.cik_get_number_of_dram_channels
l_switch.table.cik_get_number_of_dram_channels:
	.long	2                               ## 0x2
	.long	4                               ## 0x4
	.long	8                               ## 0x8
	.long	3                               ## 0x3
	.long	6                               ## 0x6
	.long	10                              ## 0xa
	.long	12                              ## 0xc
	.long	16                              ## 0x10

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cik_get_number_of_dram_channels
_cik_get_number_of_dram_channels:       ; @cik_get_number_of_dram_channels
	.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
Lloh0:
	adrp	x8, _mmMC_SHARED_CHMAP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _mmMC_SHARED_CHMAP@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_RREG32
Lloh3:
	adrp	x8, _MC_SHARED_CHMAP__NOOFCHAN_MASK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MC_SHARED_CHMAP__NOOFCHAN_MASK@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	and	w8, w8, w0
Lloh6:
	adrp	x9, _MC_SHARED_CHMAP__NOOFCHAN__SHIFT@GOTPAGE
Lloh7:
	ldr	x9, [x9, _MC_SHARED_CHMAP__NOOFCHAN__SHIFT@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	asr	w8, w8, w9
	sub	w8, w8, #1
	cmp	w8, #7
	b.hi	LBB0_2
; %bb.1:
Lloh9:
	adrp	x9, l_switch.table.cik_get_number_of_dram_channels@PAGE
Lloh10:
	add	x9, x9, l_switch.table.cik_get_number_of_dram_channels@PAGEOFF
	ldr	w0, [x9, w8, sxtw #2]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_2:
	mov	w0, #1
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_mmMC_SHARED_CHMAP,4,2          ; @mmMC_SHARED_CHMAP
	.comm	_MC_SHARED_CHMAP__NOOFCHAN_MASK,4,2 ; @MC_SHARED_CHMAP__NOOFCHAN_MASK
	.comm	_MC_SHARED_CHMAP__NOOFCHAN__SHIFT,4,2 ; @MC_SHARED_CHMAP__NOOFCHAN__SHIFT
	.no_dead_strip	_cik_get_number_of_dram_channels
	.section	__TEXT,__const
	.p2align	2                               ; @switch.table.cik_get_number_of_dram_channels
l_switch.table.cik_get_number_of_dram_channels:
	.long	2                               ; 0x2
	.long	4                               ; 0x4
	.long	8                               ; 0x8
	.long	3                               ; 0x3
	.long	6                               ; 0x6
	.long	10                              ; 0xa
	.long	12                              ; 0xc
	.long	16                              ; 0x10

.subsections_via_symbols
