	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gen9_edram_size_mb
_gen9_edram_size_mb:                    ## @gen9_edram_size_mb
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %r14d
	movl	%esi, %edi
	callq	_EDRAM_NUM_BANKS
	movl	%eax, %ebx
	movl	%r14d, %edi
	callq	_EDRAM_WAYS_IDX
	leaq	l___const.gen9_edram_size_mb.ways(%rip), %rcx
	imull	(%rcx,%rax,4), %ebx
	movl	%r14d, %edi
	callq	_EDRAM_SETS_IDX
	leaq	L___const.gen9_edram_size_mb.sets(%rip), %rcx
	imull	(%rcx,%rax,4), %ebx
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	4                               ## @__const.gen9_edram_size_mb.ways
l___const.gen9_edram_size_mb.ways:
	.long	4                               ## 0x4
	.long	8                               ## 0x8
	.long	12                              ## 0xc
	.long	16                              ## 0x10
	.long	16                              ## 0x10
	.long	16                              ## 0x10
	.long	16                              ## 0x10
	.long	16                              ## 0x10

	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## @__const.gen9_edram_size_mb.sets
L___const.gen9_edram_size_mb.sets:
	.long	1                               ## 0x1
	.long	1                               ## 0x1
	.long	2                               ## 0x2
	.long	2                               ## 0x2

	.no_dead_strip	_gen9_edram_size_mb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gen9_edram_size_mb
_gen9_edram_size_mb:                    ; @gen9_edram_size_mb
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	mov	x0, x1
	bl	_EDRAM_NUM_BANKS
	mov	x20, x0
	mov	x0, x19
	bl	_EDRAM_WAYS_IDX
Lloh0:
	adrp	x8, l___const.gen9_edram_size_mb.ways@PAGE
Lloh1:
	add	x8, x8, l___const.gen9_edram_size_mb.ways@PAGEOFF
	ldr	w8, [x8, x0, lsl #2]
	mul	w20, w8, w20
	mov	x0, x19
	bl	_EDRAM_SETS_IDX
Lloh2:
	adrp	x8, l___const.gen9_edram_size_mb.sets@PAGE
Lloh3:
	add	x8, x8, l___const.gen9_edram_size_mb.sets@PAGEOFF
	ldr	w8, [x8, x0, lsl #2]
	mul	w0, w20, w8
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
	.p2align	2                               ; @__const.gen9_edram_size_mb.ways
l___const.gen9_edram_size_mb.ways:
	.long	4                               ; 0x4
	.long	8                               ; 0x8
	.long	12                              ; 0xc
	.long	16                              ; 0x10
	.long	16                              ; 0x10
	.long	16                              ; 0x10
	.long	16                              ; 0x10
	.long	16                              ; 0x10

	.section	__TEXT,__literal16,16byte_literals
	.p2align	2                               ; @__const.gen9_edram_size_mb.sets
l___const.gen9_edram_size_mb.sets:
	.long	1                               ; 0x1
	.long	1                               ; 0x1
	.long	2                               ; 0x2
	.long	2                               ; 0x2

	.no_dead_strip	_gen9_edram_size_mb
.subsections_via_symbols
