	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nvbios_rammapSp_from_perf      ## -- Begin function nvbios_rammapSp_from_perf
	.p2align	4, 0x90
_nvbios_rammapSp_from_perf:             ## @nvbios_rammapSp_from_perf
	.cfi_startproc
## %bb.0:
	xorl	%eax, %eax
	cmpl	$11, %edx
	jl	LBB0_2
## %bb.1:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r15
	movl	%ecx, %r12d
	movl	%esi, %r13d
	movq	%rdi, %rbx
	imull	%edx, %r12d
	leal	(%r12,%r13), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	$0, 72(%r8)
	leal	(%r12,%r13), %esi
	incl	%esi
	callq	_nvbios_rd08
	movl	%eax, (%r15)
	leal	(%r12,%r13), %r14d
	addl	$3, %r14d
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_nvbios_rd08
	andl	$1, %eax
	movl	%eax, 4(%r15)
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_nvbios_rd08
	shrl	%eax
	andl	$1, %eax
	movl	%eax, 8(%r15)
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_nvbios_rd08
	shrl	$2, %eax
	andl	$1, %eax
	movl	%eax, 12(%r15)
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_nvbios_rd08
	shrl	$3, %eax
	andl	$1, %eax
	movl	%eax, 16(%r15)
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_nvbios_rd08
	shrl	$3, %eax
	andl	$2, %eax
	movl	%eax, 20(%r15)
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_nvbios_rd08
	shrl	$7, %eax
	andl	$1, %eax
	movl	%eax, 24(%r15)
	leal	(%r12,%r13), %r14d
	addl	$4, %r14d
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_nvbios_rd08
	shrl	%eax
	andl	$1, %eax
	movl	%eax, 28(%r15)
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_nvbios_rd08
	shrl	$2, %eax
	andl	$1, %eax
	movl	%eax, 32(%r15)
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_nvbios_rd08
	shrl	$5, %eax
	andl	$1, %eax
	movl	%eax, 36(%r15)
	leal	(%r12,%r13), %esi
	addl	$5, %esi
	movq	%rbx, %rdi
	callq	_nvbios_rd08
	movzbl	%al, %eax
	movl	%eax, 40(%r15)
	leal	(%r12,%r13), %esi
	addl	$6, %esi
	movq	%rbx, %rdi
	callq	_nvbios_rd08
	movzbl	%al, %eax
	movl	%eax, 44(%r15)
	leal	(%r12,%r13), %esi
	addl	$7, %esi
	movq	%rbx, %rdi
	callq	_nvbios_rd08
	movzbl	%al, %eax
	movl	%eax, 48(%r15)
	leal	(%r12,%r13), %esi
	addl	$8, %esi
	movq	%rbx, %rdi
	callq	_nvbios_rd08
	movzbl	%al, %eax
	movl	%eax, 52(%r15)
	leal	(%r12,%r13), %esi
	addl	$9, %esi
	movq	%rbx, %rdi
	callq	_nvbios_rd08
	movzbl	%al, %eax
	movl	%eax, 56(%r15)
	leal	(%r12,%r13), %r14d
	addl	$10, %r14d
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_nvbios_rd08
	andl	$15, %eax
	movl	%eax, 60(%r15)
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_nvbios_rd08
	shrl	$4, %eax
	andl	$15, %eax
	movl	%eax, 64(%r15)
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
LBB0_2:
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nvbios_rammapSp_from_perf      ; -- Begin function nvbios_rammapSp_from_perf
	.p2align	2
_nvbios_rammapSp_from_perf:             ; @nvbios_rammapSp_from_perf
	.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
	cmp	w2, #11
	b.ge	LBB0_2
; %bb.1:
	mov	w20, #0
	b	LBB0_3
LBB0_2:
	mov	x19, x4
	mov	x21, x0
	madd	w20, w3, w2, w1
	str	xzr, [x4, #72]
	add	w1, w20, #1
	bl	_nvbios_rd08
	str	w0, [x19]
	add	w22, w20, #3
	mov	x0, x21
	mov	x1, x22
	bl	_nvbios_rd08
	and	w8, w0, #0x1
	str	w8, [x19, #4]
	mov	x0, x21
	mov	x1, x22
	bl	_nvbios_rd08
	ubfx	w8, w0, #1, #1
	str	w8, [x19, #8]
	mov	x0, x21
	mov	x1, x22
	bl	_nvbios_rd08
	ubfx	w8, w0, #2, #1
	str	w8, [x19, #12]
	mov	x0, x21
	mov	x1, x22
	bl	_nvbios_rd08
	ubfx	w8, w0, #3, #1
	str	w8, [x19, #16]
	mov	x0, x21
	mov	x1, x22
	bl	_nvbios_rd08
	lsr	w8, w0, #3
	and	w8, w8, #0x2
	str	w8, [x19, #20]
	mov	x0, x21
	mov	x1, x22
	bl	_nvbios_rd08
	ubfx	w8, w0, #7, #1
	str	w8, [x19, #24]
	add	w22, w20, #4
	mov	x0, x21
	mov	x1, x22
	bl	_nvbios_rd08
	ubfx	w8, w0, #1, #1
	str	w8, [x19, #28]
	mov	x0, x21
	mov	x1, x22
	bl	_nvbios_rd08
	ubfx	w8, w0, #2, #1
	str	w8, [x19, #32]
	mov	x0, x21
	mov	x1, x22
	bl	_nvbios_rd08
	ubfx	w8, w0, #5, #1
	str	w8, [x19, #36]
	add	w1, w20, #5
	mov	x0, x21
	bl	_nvbios_rd08
	and	w8, w0, #0xff
	str	w8, [x19, #40]
	add	w1, w20, #6
	mov	x0, x21
	bl	_nvbios_rd08
	and	w8, w0, #0xff
	str	w8, [x19, #44]
	add	w1, w20, #7
	mov	x0, x21
	bl	_nvbios_rd08
	and	w8, w0, #0xff
	str	w8, [x19, #48]
	add	w1, w20, #8
	mov	x0, x21
	bl	_nvbios_rd08
	and	w8, w0, #0xff
	str	w8, [x19, #52]
	add	w1, w20, #9
	mov	x0, x21
	bl	_nvbios_rd08
	and	w8, w0, #0xff
	str	w8, [x19, #56]
	add	w22, w20, #10
	mov	x0, x21
	mov	x1, x22
	bl	_nvbios_rd08
	and	w8, w0, #0xf
	str	w8, [x19, #60]
	mov	x0, x21
	mov	x1, x22
	bl	_nvbios_rd08
	ubfx	w8, w0, #4, #4
	str	w8, [x19, #64]
LBB0_3:
	mov	x0, x20
	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
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
