	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function nvbios_rammapEp
LCPI0_0:
	.long	511                             ## 0x1ff
	.long	511                             ## 0x1ff
	.long	1                               ## 0x1
	.long	1                               ## 0x1
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_nvbios_rammapEp
	.p2align	4, 0x90
_nvbios_rammapEp:                       ## @nvbios_rammapEp
	.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	%rcx, %r14
	movq	%rdx, %rbx
	movq	16(%rbp), %r15
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	callq	_nvbios_rammapEe
	movl	%eax, %r12d
	xorl	%r13d, %r13d
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	$96, %edx
	callq	_memset
	movl	(%rbx), %eax
	movl	%eax, (%r15)
	movl	(%r14), %eax
	movl	%eax, 4(%r15)
	movl	%r12d, %eax
	testl	%r12d, %r12d
	je	LBB0_2
## %bb.1:
	movl	(%rbx), %eax
LBB0_2:
	cmpl	$17, %eax
	je	LBB0_5
## %bb.3:
	cmpl	$16, %eax
	jne	LBB0_7
## %bb.4:
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	movl	%r12d, %esi
	callq	_nvbios_rd16
	movq	%rax, 88(%r15)
	leal	2(%r12), %esi
	movq	%r14, %rdi
	callq	_nvbios_rd16
	movq	%rax, 80(%r15)
	movl	%r12d, %ebx
	addl	$4, %ebx
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_nvbios_rd08
	shrl	%eax
	andl	$1, %eax
	movl	%eax, 8(%r15)
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_nvbios_rd08
	shrl	$3, %eax
	andl	$1, %eax
	movl	%eax, 12(%r15)
	jmp	LBB0_6
LBB0_5:
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	movl	%r12d, %esi
	callq	_nvbios_rd16
	movq	%rax, 88(%r15)
	leal	2(%r12), %esi
	movq	%r14, %rdi
	callq	_nvbios_rd16
	movq	%rax, 80(%r15)
	leal	8(%r12), %ebx
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_nvbios_rd08
	andl	$1, %eax
	movl	%eax, 16(%r15)
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_nvbios_rd08
	shrl	$2, %eax
	andl	$3, %eax
	movl	%eax, 20(%r15)
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_nvbios_rd08
	shrl	$4, %eax
	andl	$1, %eax
	movl	%eax, 24(%r15)
	leal	9(%r12), %esi
	movq	%r14, %rdi
	callq	_nvbios_rd32
	movl	%eax, %ecx
	shrl	$9, %ecx
	movl	%eax, %edx
	shrl	$18, %edx
	movl	%eax, %esi
	shrl	$19, %esi
	movd	%eax, %xmm0
	pinsrd	$1, %ecx, %xmm0
	pinsrd	$2, %edx, %xmm0
	pinsrd	$3, %esi, %xmm0
	pand	LCPI0_0(%rip), %xmm0
	movdqu	%xmm0, 28(%r15)
	movl	%eax, %ecx
	shrl	$20, %ecx
	andl	$31, %ecx
	movl	%ecx, 44(%r15)
	movl	%eax, %ecx
	shrl	$25, %ecx
	andl	$1, %ecx
	movl	%ecx, 48(%r15)
	movl	%eax, %ecx
	shrl	$26, %ecx
	andl	$1, %ecx
	movl	%ecx, 52(%r15)
	shrl	$27, %eax
	andl	$1, %eax
	movl	%eax, 56(%r15)
	leal	13(%r12), %esi
	movq	%r14, %rdi
	callq	_nvbios_rd08
	movl	%eax, 60(%r15)
	leal	14(%r12), %esi
	movq	%r14, %rdi
	callq	_nvbios_rd08
	movl	%eax, 64(%r15)
	leal	15(%r12), %esi
	movq	%r14, %rdi
	callq	_nvbios_rd08
	movl	%eax, 68(%r15)
	movl	%r12d, %esi
	addl	$17, %esi
	movq	%r14, %rdi
	callq	_nvbios_rd08
	shrl	$2, %eax
	andl	$3, %eax
	movl	%eax, 72(%r15)
LBB0_6:
	movl	%r12d, %r13d
LBB0_7:
	movl	%r13d, %eax
	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
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; -- Begin function nvbios_rammapEp
lCPI0_0:
	.long	4294967287                      ; 0xfffffff7
	.long	4294967278                      ; 0xffffffee
	.long	4294967277                      ; 0xffffffed
	.long	4294967276                      ; 0xffffffec
lCPI0_1:
	.long	511                             ; 0x1ff
	.long	1                               ; 0x1
	.long	1                               ; 0x1
	.long	31                              ; 0x1f
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3
lCPI0_2:
	.long	4294967271                      ; 0xffffffe7
	.long	4294967270                      ; 0xffffffe6
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_nvbios_rammapEp
	.p2align	2
_nvbios_rammapEp:                       ; @nvbios_rammapEp
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x19, x6
	mov	x22, x3
	mov	x23, x2
	mov	x21, x0
	bl	_nvbios_rammapEe
	mov	x20, x0
	mov	x0, x19
	mov	w1, #0
	mov	w2, #96
	bl	_memset
	ldr	w8, [x23]
	str	w8, [x19]
	ldr	w8, [x22]
	str	w8, [x19, #4]
	ldr	w8, [x23]
	cmp	w20, #0
	csel	w8, wzr, w8, eq
	cmp	w8, #17
	b.eq	LBB0_3
; %bb.1:
	mov	w0, #0
	cmp	w8, #16
	b.ne	LBB0_5
; %bb.2:
	mov	x0, x21
	mov	x1, x20
	bl	_nvbios_rd16
	str	x0, [x19, #88]
	add	w1, w20, #2
	mov	x0, x21
	bl	_nvbios_rd16
	str	x0, [x19, #80]
	add	w22, w20, #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, #3, #1
	str	w8, [x19, #12]
	b	LBB0_4
LBB0_3:
	mov	x0, x21
	mov	x1, x20
	bl	_nvbios_rd16
	str	x0, [x19, #88]
	add	w1, w20, #2
	mov	x0, x21
	bl	_nvbios_rd16
	str	x0, [x19, #80]
	add	w22, w20, #8
	mov	x0, x21
	mov	x1, x22
	bl	_nvbios_rd08
	and	w8, w0, #0x1
	str	w8, [x19, #16]
	mov	x0, x21
	mov	x1, x22
	bl	_nvbios_rd08
	ubfx	w8, w0, #2, #2
	str	w8, [x19, #20]
	mov	x0, x21
	mov	x1, x22
	bl	_nvbios_rd08
	ubfx	w8, w0, #4, #1
	str	w8, [x19, #24]
	add	w1, w20, #9
	mov	x0, x21
	bl	_nvbios_rd32
	and	w8, w0, #0x1ff
	str	w8, [x19, #28]
	dup.4s	v0, w0
Lloh0:
	adrp	x8, lCPI0_0@PAGE
Lloh1:
	ldr	q1, [x8, lCPI0_0@PAGEOFF]
	ushl.4s	v0, v0, v1
Lloh2:
	adrp	x8, lCPI0_1@PAGE
Lloh3:
	ldr	q1, [x8, lCPI0_1@PAGEOFF]
	and.16b	v0, v0, v1
	str	q0, [x19, #32]
	dup.2s	v0, w0
Lloh4:
	adrp	x8, lCPI0_2@PAGE
Lloh5:
	ldr	d1, [x8, lCPI0_2@PAGEOFF]
	ushl.2s	v0, v0, v1
	movi.2s	v1, #1
	and.8b	v0, v0, v1
	str	d0, [x19, #48]
	ubfx	w8, w0, #27, #1
	str	w8, [x19, #56]
	add	w1, w20, #13
	mov	x0, x21
	bl	_nvbios_rd08
	str	w0, [x19, #60]
	add	w1, w20, #14
	mov	x0, x21
	bl	_nvbios_rd08
	str	w0, [x19, #64]
	add	w1, w20, #15
	mov	x0, x21
	bl	_nvbios_rd08
	str	w0, [x19, #68]
	add	w1, w20, #17
	mov	x0, x21
	bl	_nvbios_rd08
	ubfx	w8, w0, #2, #2
	str	w8, [x19, #72]
LBB0_4:
	mov	x0, x20
LBB0_5:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdr	Lloh4, Lloh5
	.loh AdrpAdrp	Lloh2, Lloh4
	.loh AdrpLdr	Lloh2, Lloh3
	.loh AdrpAdrp	Lloh0, Lloh2
	.loh AdrpLdr	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
