	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nvbios_rammapSp                ## -- Begin function nvbios_rammapSp
	.p2align	4, 0x90
_nvbios_rammapSp:                       ## @nvbios_rammapSp
	.cfi_startproc
## %bb.0:
	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	%rdi, %r12
	movq	40(%rbp), %r13
	movl	16(%rbp), %eax
	movq	24(%rbp), %r15
	movq	32(%rbp), %rbx
	subq	$8, %rsp
	pushq	%rbx
	pushq	%r15
	pushq	%rax
	callq	_nvbios_rammapSe
	addq	$32, %rsp
	movq	%rax, %r14
	movl	(%r15), %eax
	movl	%eax, (%r13)
	movl	(%rbx), %eax
	movl	%eax, 4(%r13)
	movl	$0, %eax
	testq	%r14, %r14
	je	LBB0_2
## %bb.1:
	movl	(%r15), %eax
LBB0_2:
	cmpl	$17, %eax
	je	LBB0_6
## %bb.3:
	cmpl	$16, %eax
	jne	LBB0_4
## %bb.5:
	leaq	1(%r14), %rsi
	movq	%r12, %rdi
	callq	_nvbios_rd08
	movl	%eax, 8(%r13)
	leaq	2(%r14), %r15
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_nvbios_rd08
	andl	$1, %eax
	movl	%eax, 12(%r13)
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_nvbios_rd08
	shrl	%eax
	andl	$1, %eax
	movl	%eax, 16(%r13)
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_nvbios_rd08
	shrl	$2, %eax
	andl	$1, %eax
	movl	%eax, 20(%r13)
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_nvbios_rd08
	shrl	$3, %eax
	andl	$1, %eax
	movl	%eax, 24(%r13)
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_nvbios_rd08
	shrl	$4, %eax
	andl	$1, %eax
	movl	%eax, 28(%r13)
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_nvbios_rd08
	shrl	$5, %eax
	andl	$1, %eax
	movl	%eax, 32(%r13)
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_nvbios_rd08
	shrl	$6, %eax
	andl	$1, %eax
	movl	%eax, 36(%r13)
	leaq	3(%r14), %rsi
	movq	%r12, %rdi
	callq	_nvbios_rd08
	andl	$15, %eax
	movl	%eax, 40(%r13)
	leaq	4(%r14), %r15
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_nvbios_rd08
	andl	$1, %eax
	movl	%eax, 44(%r13)
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_nvbios_rd08
	shrl	$3, %eax
	andl	$1, %eax
	movl	%eax, 48(%r13)
	leaq	5(%r14), %rsi
	movq	%r12, %rdi
	callq	_nvbios_rd08
	movzbl	%al, %eax
	movl	%eax, 52(%r13)
	leaq	6(%r14), %rsi
	movq	%r12, %rdi
	callq	_nvbios_rd08
	movzbl	%al, %eax
	movl	%eax, 56(%r13)
	leaq	7(%r14), %rsi
	movq	%r12, %rdi
	callq	_nvbios_rd08
	movzbl	%al, %eax
	movl	%eax, 60(%r13)
	leaq	8(%r14), %rsi
	movq	%r12, %rdi
	callq	_nvbios_rd08
	movzbl	%al, %eax
	movl	%eax, 64(%r13)
	movq	%r14, %rbx
	addq	$9, %rbx
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_nvbios_rd08
	andl	$15, %eax
	movl	%eax, 68(%r13)
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_nvbios_rd08
	shrl	$4, %eax
	andl	$15, %eax
	movl	%eax, 72(%r13)
	jmp	LBB0_7
LBB0_6:
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_nvbios_rd08
	movl	%eax, 8(%r13)
	leaq	1(%r14), %r15
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_nvbios_rd08
	andl	$1, %eax
	movl	%eax, 76(%r13)
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_nvbios_rd08
	shrl	%eax
	andl	$1, %eax
	movl	%eax, 80(%r13)
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_nvbios_rd08
	shrl	$2, %eax
	andl	$1, %eax
	movl	%eax, 84(%r13)
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_nvbios_rd08
	shrl	$3, %eax
	andl	$1, %eax
	movl	%eax, 88(%r13)
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_nvbios_rd08
	shrl	$4, %eax
	andl	$1, %eax
	movl	%eax, 92(%r13)
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_nvbios_rd08
	shrl	$5, %eax
	andl	$1, %eax
	movl	%eax, 36(%r13)
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_nvbios_rd08
	shrl	$6, %eax
	andl	$1, %eax
	movl	%eax, 96(%r13)
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_nvbios_rd08
	shrl	$7, %eax
	andl	$1, %eax
	movl	%eax, 100(%r13)
	leaq	2(%r14), %r15
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_nvbios_rd08
	andl	$3, %eax
	movl	%eax, 104(%r13)
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_nvbios_rd08
	shrl	$2, %eax
	andl	$1, %eax
	movl	%eax, 108(%r13)
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_nvbios_rd08
	shrl	$3, %eax
	andl	$1, %eax
	movl	%eax, 112(%r13)
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_nvbios_rd08
	shrl	$4, %eax
	andl	$1, %eax
	movl	%eax, 116(%r13)
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_nvbios_rd08
	shrl	$6, %eax
	andl	$1, %eax
	movl	%eax, 120(%r13)
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_nvbios_rd08
	shrl	$7, %eax
	andl	$1, %eax
	movl	%eax, 124(%r13)
	leaq	3(%r14), %r15
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_nvbios_rd08
	andl	$15, %eax
	movl	%eax, 128(%r13)
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_nvbios_rd08
	shrl	$4, %eax
	andl	$3, %eax
	movl	%eax, 132(%r13)
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_nvbios_rd08
	shrl	$6, %eax
	andl	$3, %eax
	movl	%eax, 136(%r13)
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_nvbios_rd08
	shrl	$4, %eax
	andl	$15, %eax
	movl	%eax, 140(%r13)
	leaq	4(%r14), %rsi
	movq	%r12, %rdi
	callq	_nvbios_rd08
	movzbl	%al, %eax
	movl	%eax, 144(%r13)
	leaq	6(%r14), %rsi
	movq	%r12, %rdi
	callq	_nvbios_rd08
	movzbl	%al, %eax
	movl	%eax, 148(%r13)
	leaq	7(%r14), %r15
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_nvbios_rd08
	shrl	%eax
	andl	$1, %eax
	movl	%eax, 152(%r13)
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_nvbios_rd08
	shrl	$2, %eax
	andl	$1, %eax
	movl	%eax, 156(%r13)
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_nvbios_rd08
	shrl	$3, %eax
	andl	$1, %eax
	movl	%eax, 160(%r13)
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_nvbios_rd08
	shrl	$4, %eax
	andl	$1, %eax
	movl	%eax, 164(%r13)
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_nvbios_rd08
	shrl	$6, %eax
	andl	$1, %eax
	movl	%eax, 168(%r13)
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_nvbios_rd08
	shrl	$7, %eax
	andl	$1, %eax
	movl	%eax, 172(%r13)
	leaq	8(%r14), %r15
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_nvbios_rd08
	andl	$1, %eax
	movl	%eax, 176(%r13)
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_nvbios_rd08
	shrl	%eax
	andl	$1, %eax
	movl	%eax, 180(%r13)
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_nvbios_rd08
	shrl	$2, %eax
	andl	$1, %eax
	movl	%eax, 184(%r13)
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_nvbios_rd08
	shrl	$3, %eax
	andl	$1, %eax
	movl	%eax, 188(%r13)
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_nvbios_rd08
	shrl	$4, %eax
	andl	$1, %eax
	movl	%eax, 192(%r13)
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_nvbios_rd08
	shrl	$5, %eax
	andl	$1, %eax
	movl	%eax, 196(%r13)
	movq	%r14, %rsi
	addq	$9, %rsi
	movq	%r12, %rdi
	callq	_nvbios_rd08
	movzbl	%al, %eax
	movl	%eax, 200(%r13)
	jmp	LBB0_7
LBB0_4:
	xorl	%r14d, %r14d
LBB0_7:
	movq	%r14, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	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                ; -- Begin function nvbios_rammapSp
	.p2align	2
_nvbios_rammapSp:                       ; @nvbios_rammapSp
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x21, x7
	mov	x20, x0
	ldp	x23, x22, [x29, #16]
	str	x23, [sp]
	bl	_nvbios_rammapSe
	mov	x19, x0
	ldr	w8, [x21]
	str	w8, [x22]
	ldr	w8, [x23]
	str	w8, [x22, #4]
	ldr	w8, [x21]
	cmp	x0, #0
	csel	w8, wzr, w8, eq
	cmp	w8, #17
	b.eq	LBB0_3
; %bb.1:
	cmp	w8, #16
	b.ne	LBB0_4
; %bb.2:
	add	x1, x19, #1
	mov	x0, x20
	bl	_nvbios_rd08
	str	w0, [x22, #8]
	add	x21, x19, #2
	mov	x0, x20
	mov	x1, x21
	bl	_nvbios_rd08
	and	w8, w0, #0x1
	str	w8, [x22, #12]
	mov	x0, x20
	mov	x1, x21
	bl	_nvbios_rd08
	ubfx	w8, w0, #1, #1
	str	w8, [x22, #16]
	mov	x0, x20
	mov	x1, x21
	bl	_nvbios_rd08
	ubfx	w8, w0, #2, #1
	str	w8, [x22, #20]
	mov	x0, x20
	mov	x1, x21
	bl	_nvbios_rd08
	ubfx	w8, w0, #3, #1
	str	w8, [x22, #24]
	mov	x0, x20
	mov	x1, x21
	bl	_nvbios_rd08
	ubfx	w8, w0, #4, #1
	str	w8, [x22, #28]
	mov	x0, x20
	mov	x1, x21
	bl	_nvbios_rd08
	ubfx	w8, w0, #5, #1
	str	w8, [x22, #32]
	mov	x0, x20
	mov	x1, x21
	bl	_nvbios_rd08
	ubfx	w8, w0, #6, #1
	str	w8, [x22, #36]
	add	x1, x19, #3
	mov	x0, x20
	bl	_nvbios_rd08
	and	w8, w0, #0xf
	str	w8, [x22, #40]
	add	x21, x19, #4
	mov	x0, x20
	mov	x1, x21
	bl	_nvbios_rd08
	and	w8, w0, #0x1
	str	w8, [x22, #44]
	mov	x0, x20
	mov	x1, x21
	bl	_nvbios_rd08
	ubfx	w8, w0, #3, #1
	str	w8, [x22, #48]
	add	x1, x19, #5
	mov	x0, x20
	bl	_nvbios_rd08
	and	w8, w0, #0xff
	str	w8, [x22, #52]
	add	x1, x19, #6
	mov	x0, x20
	bl	_nvbios_rd08
	and	w8, w0, #0xff
	str	w8, [x22, #56]
	add	x1, x19, #7
	mov	x0, x20
	bl	_nvbios_rd08
	and	w8, w0, #0xff
	str	w8, [x22, #60]
	add	x1, x19, #8
	mov	x0, x20
	bl	_nvbios_rd08
	and	w8, w0, #0xff
	str	w8, [x22, #64]
	add	x21, x19, #9
	mov	x0, x20
	mov	x1, x21
	bl	_nvbios_rd08
	and	w8, w0, #0xf
	str	w8, [x22, #68]
	mov	x0, x20
	mov	x1, x21
	bl	_nvbios_rd08
	ubfx	w8, w0, #4, #4
	str	w8, [x22, #72]
	b	LBB0_5
LBB0_3:
	mov	x0, x20
	mov	x1, x19
	bl	_nvbios_rd08
	str	w0, [x22, #8]
	add	x21, x19, #1
	mov	x0, x20
	mov	x1, x21
	bl	_nvbios_rd08
	and	w8, w0, #0x1
	str	w8, [x22, #76]
	mov	x0, x20
	mov	x1, x21
	bl	_nvbios_rd08
	ubfx	w8, w0, #1, #1
	str	w8, [x22, #80]
	mov	x0, x20
	mov	x1, x21
	bl	_nvbios_rd08
	ubfx	w8, w0, #2, #1
	str	w8, [x22, #84]
	mov	x0, x20
	mov	x1, x21
	bl	_nvbios_rd08
	ubfx	w8, w0, #3, #1
	str	w8, [x22, #88]
	mov	x0, x20
	mov	x1, x21
	bl	_nvbios_rd08
	ubfx	w8, w0, #4, #1
	str	w8, [x22, #92]
	mov	x0, x20
	mov	x1, x21
	bl	_nvbios_rd08
	ubfx	w8, w0, #5, #1
	str	w8, [x22, #36]
	mov	x0, x20
	mov	x1, x21
	bl	_nvbios_rd08
	ubfx	w8, w0, #6, #1
	str	w8, [x22, #96]
	mov	x0, x20
	mov	x1, x21
	bl	_nvbios_rd08
	ubfx	w8, w0, #7, #1
	str	w8, [x22, #100]
	add	x21, x19, #2
	mov	x0, x20
	mov	x1, x21
	bl	_nvbios_rd08
	and	w8, w0, #0x3
	str	w8, [x22, #104]
	mov	x0, x20
	mov	x1, x21
	bl	_nvbios_rd08
	ubfx	w8, w0, #2, #1
	str	w8, [x22, #108]
	mov	x0, x20
	mov	x1, x21
	bl	_nvbios_rd08
	ubfx	w8, w0, #3, #1
	str	w8, [x22, #112]
	mov	x0, x20
	mov	x1, x21
	bl	_nvbios_rd08
	ubfx	w8, w0, #4, #1
	str	w8, [x22, #116]
	mov	x0, x20
	mov	x1, x21
	bl	_nvbios_rd08
	ubfx	w8, w0, #6, #1
	str	w8, [x22, #120]
	mov	x0, x20
	mov	x1, x21
	bl	_nvbios_rd08
	ubfx	w8, w0, #7, #1
	str	w8, [x22, #124]
	add	x21, x19, #3
	mov	x0, x20
	mov	x1, x21
	bl	_nvbios_rd08
	and	w8, w0, #0xf
	str	w8, [x22, #128]
	mov	x0, x20
	mov	x1, x21
	bl	_nvbios_rd08
	ubfx	w8, w0, #4, #2
	str	w8, [x22, #132]
	mov	x0, x20
	mov	x1, x21
	bl	_nvbios_rd08
	ubfx	w8, w0, #6, #2
	str	w8, [x22, #136]
	mov	x0, x20
	mov	x1, x21
	bl	_nvbios_rd08
	ubfx	w8, w0, #4, #4
	str	w8, [x22, #140]
	add	x1, x19, #4
	mov	x0, x20
	bl	_nvbios_rd08
	and	w8, w0, #0xff
	str	w8, [x22, #144]
	add	x1, x19, #6
	mov	x0, x20
	bl	_nvbios_rd08
	and	w8, w0, #0xff
	str	w8, [x22, #148]
	add	x21, x19, #7
	mov	x0, x20
	mov	x1, x21
	bl	_nvbios_rd08
	ubfx	w8, w0, #1, #1
	str	w8, [x22, #152]
	mov	x0, x20
	mov	x1, x21
	bl	_nvbios_rd08
	ubfx	w8, w0, #2, #1
	str	w8, [x22, #156]
	mov	x0, x20
	mov	x1, x21
	bl	_nvbios_rd08
	ubfx	w8, w0, #3, #1
	str	w8, [x22, #160]
	mov	x0, x20
	mov	x1, x21
	bl	_nvbios_rd08
	ubfx	w8, w0, #4, #1
	str	w8, [x22, #164]
	mov	x0, x20
	mov	x1, x21
	bl	_nvbios_rd08
	ubfx	w8, w0, #6, #1
	str	w8, [x22, #168]
	mov	x0, x20
	mov	x1, x21
	bl	_nvbios_rd08
	ubfx	w8, w0, #7, #1
	str	w8, [x22, #172]
	add	x21, x19, #8
	mov	x0, x20
	mov	x1, x21
	bl	_nvbios_rd08
	and	w8, w0, #0x1
	str	w8, [x22, #176]
	mov	x0, x20
	mov	x1, x21
	bl	_nvbios_rd08
	ubfx	w8, w0, #1, #1
	str	w8, [x22, #180]
	mov	x0, x20
	mov	x1, x21
	bl	_nvbios_rd08
	ubfx	w8, w0, #2, #1
	str	w8, [x22, #184]
	mov	x0, x20
	mov	x1, x21
	bl	_nvbios_rd08
	ubfx	w8, w0, #3, #1
	str	w8, [x22, #188]
	mov	x0, x20
	mov	x1, x21
	bl	_nvbios_rd08
	ubfx	w8, w0, #4, #1
	str	w8, [x22, #192]
	mov	x0, x20
	mov	x1, x21
	bl	_nvbios_rd08
	ubfx	w8, w0, #5, #1
	str	w8, [x22, #196]
	add	x1, x19, #9
	mov	x0, x20
	bl	_nvbios_rd08
	and	w8, w0, #0xff
	str	w8, [x22, #200]
	b	LBB0_5
LBB0_4:
	mov	x19, #0
LBB0_5:
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
