	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ddr3_lrdimm_cs_size
_ddr3_lrdimm_cs_size:                   ## @ddr3_lrdimm_cs_size
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
                                        ## kill: def $edi killed $edi def $rdi
	xorl	%ecx, %ecx
	cmpl	$4, %edi
	jb	LBB0_7
## %bb.1:
	cmpl	$6, %edi
	je	LBB0_7
## %bb.2:
	movl	$7, %ecx
	cmpl	$12, %edi
	je	LBB0_9
## %bb.3:
	testb	$1, %dil
	jne	LBB0_5
## %bb.4:
	movl	%edi, %ecx
	jmp	LBB0_6
LBB0_5:
	leal	1(%rdi), %ecx
LBB0_6:
	shrl	%ecx
LBB0_7:
	cmpl	$7, %edi
	jae	LBB0_9
## %bb.8:
	movl	$-1, %eax
	movl	$79, %edx
	btl	%edi, %edx
	jb	LBB0_10
LBB0_9:
	movl	$128, %eax
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %eax
	imull	%esi, %eax
LBB0_10:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_ddr3_lrdimm_cs_size
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ddr3_lrdimm_cs_size
_ddr3_lrdimm_cs_size:                   ; @ddr3_lrdimm_cs_size
	.cfi_startproc
; %bb.0:
                                        ; kill: def $w0 killed $w0 def $x0
	mov	w8, #0
	cmp	w0, #4
	b.lo	LBB0_5
; %bb.1:
	cmp	w0, #6
	b.eq	LBB0_5
; %bb.2:
	cmp	w0, #12
	b.ne	LBB0_4
; %bb.3:
	mov	w8, #7
	b	LBB0_7
LBB0_4:
	add	w8, w0, #1
	lsr	w8, w8, #1
	lsr	w9, w0, #1
	tst	w0, #0x1
	csel	w8, w8, w9, ne
LBB0_5:
	cmp	w0, #7
	b.hs	LBB0_7
; %bb.6:
	mov	w9, #79
	lsr	w9, w9, w0
	tbnz	w9, #0, LBB0_8
LBB0_7:
	mov	w9, #128
	lsl	w8, w9, w8
	mul	w0, w8, w1
	ret
LBB0_8:
	mov	w0, #-1
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_ddr3_lrdimm_cs_size
.subsections_via_symbols
