	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nvbios_vmap_parse              ## -- Begin function nvbios_vmap_parse
	.p2align	4, 0x90
_nvbios_vmap_parse:                     ## @nvbios_vmap_parse
	.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	%r9, %r14
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movq	%r8, -48(%rbp)                  ## 8-byte Spill
	callq	_nvbios_vmap_table
	movq	%rax, %r13
	xorl	%r12d, %r12d
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$12, %edx
	callq	_memset
	testq	%r13, %r13
	je	LBB0_2
## %bb.1:
	movl	(%rbx), %r12d
LBB0_2:
	cmpl	$32, %r12d
	je	LBB0_5
## %bb.3:
	cmpl	$16, %r12d
	jne	LBB0_8
## %bb.4:
	movabsq	$1095216660735, %rax            ## imm = 0xFF000000FF
	movq	%rax, (%r14)
	movl	$255, %eax
	jmp	LBB0_7
LBB0_5:
	leaq	7(%r13), %rsi
	movq	%r15, %rdi
	callq	_nvbios_rd08
	movl	%eax, (%r14)
	leaq	8(%r13), %rsi
	movq	%r15, %rdi
	callq	_nvbios_rd08
	movl	%eax, 4(%r14)
	movl	$255, %eax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	cmpl	$12, (%rcx)
	jl	LBB0_7
## %bb.6:
	movq	%r13, %rsi
	addq	$12, %rsi
	movq	%r15, %rdi
	callq	_nvbios_rd08
LBB0_7:
	movl	%eax, 8(%r14)
LBB0_8:
	movq	%r13, %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_vmap_parse              ; -- Begin function nvbios_vmap_parse
	.p2align	2
_nvbios_vmap_parse:                     ; @nvbios_vmap_parse
	.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, x5
	mov	x22, x4
	mov	x23, x1
	mov	x21, x0
	bl	_nvbios_vmap_table
	mov	x20, x0
	mov	x0, x19
	mov	w1, #0
	mov	w2, #12
	bl	_memset
	ldr	w8, [x23]
	cmp	x20, #0
	csel	w8, wzr, w8, eq
	cmp	w8, #32
	b.eq	LBB0_3
; %bb.1:
	cmp	w8, #16
	b.ne	LBB0_7
; %bb.2:
	movi	d0, #0x0000ff000000ff
	str	d0, [x19]
	b	LBB0_5
LBB0_3:
	add	x1, x20, #7
	mov	x0, x21
	bl	_nvbios_rd08
	str	w0, [x19]
	add	x1, x20, #8
	mov	x0, x21
	bl	_nvbios_rd08
	str	w0, [x19, #4]
	ldr	w8, [x22]
	cmp	w8, #12
	b.lt	LBB0_5
; %bb.4:
	add	x1, x20, #12
	mov	x0, x21
	bl	_nvbios_rd08
	b	LBB0_6
LBB0_5:
	mov	w0, #255
LBB0_6:
	str	w0, [x19, #8]
LBB0_7:
	mov	x0, x20
	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
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
