	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_efi_create_1t1_map             ## -- Begin function efi_create_1t1_map
	.p2align	4, 0x90
_efi_create_1t1_map:                    ## @efi_create_1t1_map
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, -48(%rbp)                 ## 4-byte Spill
	movl	%esi, %r15d
	movq	%rdi, %rbx
	movq	_OBJT_PHYS@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	_NPML4EPG@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_NPDPEPG@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	imull	%eax, %ecx
	addl	%ecx, %eax
	movq	_NPDEPG@GOTPCREL(%rip), %rdx
	imull	(%rdx), %ecx
	leal	(%rcx,%rax), %edi
	incl	%edi
	callq	_ptoa
	movq	_VM_PROT_ALL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%r14d, %edi
	xorl	%esi, %esi
	movl	%eax, %edx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_vm_pager_allocate
	movq	_obj_1t1_pt@GOTPCREL(%rip), %r12
	movl	%eax, (%r12)
	movq	_efi_1t1_idx@GOTPCREL(%rip), %rcx
	movq	$0, (%rcx)
	movl	%eax, %edi
	callq	_VM_OBJECT_WLOCK
	xorl	%eax, %eax
	callq	_efi_1t1_page
	movq	_efi_pml4_page@GOTPCREL(%rip), %r14
	movl	%eax, (%r14)
	movl	(%r12), %edi
	callq	_VM_OBJECT_WUNLOCK
	movl	(%r14), %edi
	callq	_VM_PAGE_TO_PHYS
	movl	%eax, %edi
	callq	_PHYS_TO_DMAP
	movq	_efi_pml4@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movl	(%r14), %edi
	callq	_pmap_pinit_pml4
	movl	$1, %r14d
	movl	%r15d, -44(%rbp)                ## 4-byte Spill
	testl	%r15d, %r15d
	jle	LBB0_29
## %bb.1:
	movq	_PAGE_SIZE@GOTPCREL(%rip), %r13
	xorl	%r15d, %r15d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_26:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_obj_1t1_pt@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_VM_OBJECT_WUNLOCK
	movl	-52(%rbp), %r15d                ## 4-byte Reload
LBB0_27:                                ##   in Loop: Header=BB0_2 Depth=1
	incl	%r15d
	movq	%rbx, %rdi
	movl	-48(%rbp), %esi                 ## 4-byte Reload
	callq	_efi_next_descriptor
	movq	%rax, %rbx
	cmpl	-44(%rbp), %r15d                ## 4-byte Folded Reload
	je	LBB0_28
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_25 Depth 2
	movl	(%rbx), %eax
	movq	_EFI_MD_ATTR_RT@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_27
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	16(%rbx), %rdx
	testq	%rdx, %rdx
	je	LBB0_4
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	%edx, 4(%rbx)
	je	LBB0_5
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	4(%rbx), %edx
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_EFI_PAGE_MASK@GOTPCREL(%rip), %rcx
	testl	%edx, (%rcx)
	jne	LBB0_6
## %bb.12:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	8(%rbx), %ecx
	movq	_EFI_PAGE_SIZE@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	imull	%ecx, %esi
	testl	%esi, %esi
	js	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_2 Depth=1
	addl	%edx, %esi
	movq	_VM_MAXUSER_ADDRESS@GOTPCREL(%rip), %rdi
	cmpl	(%rdi), %esi
	jge	LBB0_14
## %bb.16:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	_VM_MEMATTR_WRITE_BACK@GOTPCREL(%rip), %rcx
	movq	_EFI_MD_ATTR_WB@GOTPCREL(%rip), %rdx
	testl	%eax, (%rdx)
	jne	LBB0_23
## %bb.17:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	_VM_MEMATTR_WRITE_THROUGH@GOTPCREL(%rip), %rcx
	movq	_EFI_MD_ATTR_WT@GOTPCREL(%rip), %rdx
	testl	%eax, (%rdx)
	jne	LBB0_23
## %bb.18:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	_VM_MEMATTR_WRITE_COMBINING@GOTPCREL(%rip), %rcx
	movq	_EFI_MD_ATTR_WC@GOTPCREL(%rip), %rdx
	testl	%eax, (%rdx)
	jne	LBB0_23
## %bb.19:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	_VM_MEMATTR_WRITE_PROTECTED@GOTPCREL(%rip), %rcx
	movq	_EFI_MD_ATTR_WP@GOTPCREL(%rip), %rdx
	testl	%eax, (%rdx)
	jne	LBB0_23
## %bb.20:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	_VM_MEMATTR_UNCACHEABLE@GOTPCREL(%rip), %rcx
	movq	_EFI_MD_ATTR_UC@GOTPCREL(%rip), %rdx
	testl	%eax, (%rdx)
	jne	LBB0_23
## %bb.21:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	_bootverbose@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	movq	_VM_MEMATTR_UNCACHEABLE@GOTPCREL(%rip), %rcx
	je	LBB0_23
## %bb.22:                              ##   in Loop: Header=BB0_2 Depth=1
	leaq	L_.str.3(%rip), %rdi
	movl	%r15d, %esi
	xorl	%eax, %eax
	callq	_printf
	movq	_VM_MEMATTR_UNCACHEABLE@GOTPCREL(%rip), %rcx
	.p2align	4, 0x90
LBB0_23:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	%r15d, -52(%rbp)                ## 4-byte Spill
	movl	(%rcx), %esi
	movq	_kernel_pmap@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_pmap_cache_bits
	movl	%eax, %r12d
	movq	_X86_PG_RW@GOTPCREL(%rip), %rax
	orl	(%rax), %r12d
	movq	_X86_PG_V@GOTPCREL(%rip), %rax
	orl	(%rax), %r12d
	movq	_obj_1t1_pt@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_VM_OBJECT_WLOCK
	cmpl	$0, 8(%rbx)
	jle	LBB0_26
## %bb.24:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	4(%rbx), %r14d
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_25:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	%r14d, %edi
	callq	_efi_1t1_pte
	movl	%r12d, %esi
	orl	%r14d, %esi
	movq	%rax, %rdi
	callq	_pte_store
	incl	%r15d
	addl	(%r13), %r14d
	cmpl	8(%rbx), %r15d
	jl	LBB0_25
	jmp	LBB0_26
LBB0_14:
	leaq	L_.str.2(%rip), %rdi
	movl	%r15d, %esi
                                        ## kill: def $edx killed $edx killed $rdx
	xorl	%eax, %eax
	callq	_printf
	jmp	LBB0_15
LBB0_28:
	movl	$1, %r14d
	jmp	LBB0_29
LBB0_6:
	movq	_bootverbose@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_15
## %bb.7:
	leaq	L_.str.1(%rip), %rdi
	jmp	LBB0_11
LBB0_9:
	movq	_bootverbose@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_15
## %bb.10:
	leaq	L_.str(%rip), %rdi
LBB0_11:
	movl	%r15d, %esi
	xorl	%eax, %eax
	callq	_printf
LBB0_15:
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_efi_destroy_1t1_map
LBB0_29:
	movl	%r14d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_OBJT_PHYS,4,2                  ## @OBJT_PHYS
	.comm	_NPML4EPG,4,2                   ## @NPML4EPG
	.comm	_NPDPEPG,4,2                    ## @NPDPEPG
	.comm	_NPDEPG,4,2                     ## @NPDEPG
	.comm	_VM_PROT_ALL,4,2                ## @VM_PROT_ALL
	.comm	_obj_1t1_pt,4,2                 ## @obj_1t1_pt
	.comm	_efi_1t1_idx,8,3                ## @efi_1t1_idx
	.comm	_efi_pml4_page,4,2              ## @efi_pml4_page
	.comm	_efi_pml4,8,3                   ## @efi_pml4
	.comm	_EFI_MD_ATTR_RT,4,2             ## @EFI_MD_ATTR_RT
	.comm	_bootverbose,8,3                ## @bootverbose
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"EFI Runtime entry %d is mapped\n"

	.comm	_EFI_PAGE_MASK,4,2              ## @EFI_PAGE_MASK
L_.str.1:                               ## @.str.1
	.asciz	"EFI Runtime entry %d is not aligned\n"

	.comm	_EFI_PAGE_SIZE,4,2              ## @EFI_PAGE_SIZE
	.comm	_VM_MAXUSER_ADDRESS,4,2         ## @VM_MAXUSER_ADDRESS
L_.str.2:                               ## @.str.2
	.asciz	"EFI Runtime entry %d is not in mappable for RT:base %#016jx %#jx pages\n"

	.comm	_EFI_MD_ATTR_WB,4,2             ## @EFI_MD_ATTR_WB
	.comm	_VM_MEMATTR_WRITE_BACK,4,2      ## @VM_MEMATTR_WRITE_BACK
	.comm	_EFI_MD_ATTR_WT,4,2             ## @EFI_MD_ATTR_WT
	.comm	_VM_MEMATTR_WRITE_THROUGH,4,2   ## @VM_MEMATTR_WRITE_THROUGH
	.comm	_EFI_MD_ATTR_WC,4,2             ## @EFI_MD_ATTR_WC
	.comm	_VM_MEMATTR_WRITE_COMBINING,4,2 ## @VM_MEMATTR_WRITE_COMBINING
	.comm	_EFI_MD_ATTR_WP,4,2             ## @EFI_MD_ATTR_WP
	.comm	_VM_MEMATTR_WRITE_PROTECTED,4,2 ## @VM_MEMATTR_WRITE_PROTECTED
	.comm	_EFI_MD_ATTR_UC,4,2             ## @EFI_MD_ATTR_UC
	.comm	_VM_MEMATTR_UNCACHEABLE,4,2     ## @VM_MEMATTR_UNCACHEABLE
L_.str.3:                               ## @.str.3
	.asciz	"EFI Runtime entry %d mapping attributes unsupported\n"

	.comm	_kernel_pmap,4,2                ## @kernel_pmap
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_X86_PG_RW,4,2                  ## @X86_PG_RW
	.comm	_X86_PG_V,4,2                   ## @X86_PG_V
	.comm	_PAGE_SIZE,8,3                  ## @PAGE_SIZE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_efi_create_1t1_map             ; -- Begin function efi_create_1t1_map
	.p2align	2
_efi_create_1t1_map:                    ; @efi_create_1t1_map
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x8, _OBJT_PHYS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _OBJT_PHYS@GOTPAGEOFF]
Lloh2:
	adrp	x9, _NPML4EPG@GOTPAGE
Lloh3:
	ldr	x9, [x9, _NPML4EPG@GOTPAGEOFF]
Lloh4:
	ldr	w22, [x8]
Lloh5:
	ldr	w8, [x9]
Lloh6:
	adrp	x9, _NPDPEPG@GOTPAGE
Lloh7:
	ldr	x9, [x9, _NPDPEPG@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	mul	w9, w9, w8
	add	w8, w8, w9
Lloh9:
	adrp	x10, _NPDEPG@GOTPAGE
Lloh10:
	ldr	x10, [x10, _NPDEPG@GOTPAGEOFF]
Lloh11:
	ldr	w10, [x10]
	madd	w8, w9, w10, w8
	add	w0, w8, #1
	bl	_ptoa
	mov	x2, x0
Lloh12:
	adrp	x8, _VM_PROT_ALL@GOTPAGE
Lloh13:
	ldr	x8, [x8, _VM_PROT_ALL@GOTPAGEOFF]
Lloh14:
	ldr	w3, [x8]
	mov	x0, x22
	mov	x1, #0
	mov	w4, #0
	mov	x5, #0
	bl	_vm_pager_allocate
Lloh15:
	adrp	x25, _obj_1t1_pt@GOTPAGE
Lloh16:
	ldr	x25, [x25, _obj_1t1_pt@GOTPAGEOFF]
	str	w0, [x25]
Lloh17:
	adrp	x8, _efi_1t1_idx@GOTPAGE
Lloh18:
	ldr	x8, [x8, _efi_1t1_idx@GOTPAGEOFF]
Lloh19:
	str	xzr, [x8]
	bl	_VM_OBJECT_WLOCK
	bl	_efi_1t1_page
Lloh20:
	adrp	x22, _efi_pml4_page@GOTPAGE
Lloh21:
	ldr	x22, [x22, _efi_pml4_page@GOTPAGEOFF]
	str	w0, [x22]
	ldr	w0, [x25]
	bl	_VM_OBJECT_WUNLOCK
	ldr	w0, [x22]
	bl	_VM_PAGE_TO_PHYS
	bl	_PHYS_TO_DMAP
Lloh22:
	adrp	x8, _efi_pml4@GOTPAGE
Lloh23:
	ldr	x8, [x8, _efi_pml4@GOTPAGEOFF]
Lloh24:
	str	x0, [x8]
	ldr	w0, [x22]
	bl	_pmap_pinit_pml4
	cmp	w20, #1
	b.lt	LBB0_22
; %bb.1:
	mov	w22, #0
Lloh25:
	adrp	x27, _PAGE_SIZE@GOTPAGE
Lloh26:
	ldr	x27, [x27, _PAGE_SIZE@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w0, [x25]
	bl	_VM_OBJECT_WUNLOCK
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	w22, w22, #1
	mov	x0, x21
	mov	x1, x19
	bl	_efi_next_descriptor
	mov	x21, x0
	cmp	w22, w20
	b.eq	LBB0_22
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_21 Depth 2
	ldr	w8, [x21]
Lloh27:
	adrp	x9, _EFI_MD_ATTR_RT@GOTPAGE
Lloh28:
	ldr	x9, [x9, _EFI_MD_ATTR_RT@GOTPAGEOFF]
Lloh29:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x9, [x21, #16]
	cbz	x9, LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w10, [x21, #4]
	cmp	w10, w9
	b.eq	LBB0_8
	b	LBB0_26
LBB0_7:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w9, [x21, #4]
LBB0_8:                                 ;   in Loop: Header=BB0_4 Depth=1
Lloh30:
	adrp	x10, _EFI_PAGE_MASK@GOTPAGE
Lloh31:
	ldr	x10, [x10, _EFI_PAGE_MASK@GOTPAGEOFF]
Lloh32:
	ldr	w10, [x10]
	tst	w10, w9
	b.ne	LBB0_24
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w10, [x21, #8]
Lloh33:
	adrp	x11, _EFI_PAGE_SIZE@GOTPAGE
Lloh34:
	ldr	x11, [x11, _EFI_PAGE_SIZE@GOTPAGEOFF]
Lloh35:
	ldr	w11, [x11]
	mul	w11, w11, w10
	tbnz	w11, #31, LBB0_23
; %bb.10:                               ;   in Loop: Header=BB0_4 Depth=1
Lloh36:
	adrp	x12, _VM_MAXUSER_ADDRESS@GOTPAGE
Lloh37:
	ldr	x12, [x12, _VM_MAXUSER_ADDRESS@GOTPAGEOFF]
Lloh38:
	ldr	w12, [x12]
	add	w11, w11, w9
	cmp	w11, w12
	b.ge	LBB0_23
; %bb.11:                               ;   in Loop: Header=BB0_4 Depth=1
Lloh39:
	adrp	x9, _EFI_MD_ATTR_WB@GOTPAGE
Lloh40:
	ldr	x9, [x9, _EFI_MD_ATTR_WB@GOTPAGEOFF]
Lloh41:
	ldr	w10, [x9]
Lloh42:
	adrp	x9, _VM_MEMATTR_WRITE_BACK@GOTPAGE
Lloh43:
	ldr	x9, [x9, _VM_MEMATTR_WRITE_BACK@GOTPAGEOFF]
	tst	w10, w8
	b.ne	LBB0_19
; %bb.12:                               ;   in Loop: Header=BB0_4 Depth=1
Lloh44:
	adrp	x9, _EFI_MD_ATTR_WT@GOTPAGE
Lloh45:
	ldr	x9, [x9, _EFI_MD_ATTR_WT@GOTPAGEOFF]
Lloh46:
	ldr	w10, [x9]
Lloh47:
	adrp	x9, _VM_MEMATTR_WRITE_THROUGH@GOTPAGE
Lloh48:
	ldr	x9, [x9, _VM_MEMATTR_WRITE_THROUGH@GOTPAGEOFF]
	tst	w10, w8
	b.ne	LBB0_19
; %bb.13:                               ;   in Loop: Header=BB0_4 Depth=1
Lloh49:
	adrp	x9, _EFI_MD_ATTR_WC@GOTPAGE
Lloh50:
	ldr	x9, [x9, _EFI_MD_ATTR_WC@GOTPAGEOFF]
Lloh51:
	ldr	w10, [x9]
Lloh52:
	adrp	x9, _VM_MEMATTR_WRITE_COMBINING@GOTPAGE
Lloh53:
	ldr	x9, [x9, _VM_MEMATTR_WRITE_COMBINING@GOTPAGEOFF]
	tst	w10, w8
	b.ne	LBB0_19
; %bb.14:                               ;   in Loop: Header=BB0_4 Depth=1
Lloh54:
	adrp	x9, _EFI_MD_ATTR_WP@GOTPAGE
Lloh55:
	ldr	x9, [x9, _EFI_MD_ATTR_WP@GOTPAGEOFF]
Lloh56:
	ldr	w10, [x9]
Lloh57:
	adrp	x9, _VM_MEMATTR_WRITE_PROTECTED@GOTPAGE
Lloh58:
	ldr	x9, [x9, _VM_MEMATTR_WRITE_PROTECTED@GOTPAGEOFF]
	tst	w10, w8
	b.ne	LBB0_19
; %bb.15:                               ;   in Loop: Header=BB0_4 Depth=1
Lloh59:
	adrp	x9, _EFI_MD_ATTR_UC@GOTPAGE
Lloh60:
	ldr	x9, [x9, _EFI_MD_ATTR_UC@GOTPAGEOFF]
Lloh61:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_18
; %bb.16:                               ;   in Loop: Header=BB0_4 Depth=1
Lloh62:
	adrp	x8, _bootverbose@GOTPAGE
Lloh63:
	ldr	x8, [x8, _bootverbose@GOTPAGEOFF]
Lloh64:
	ldr	x8, [x8]
Lloh65:
	adrp	x9, _VM_MEMATTR_UNCACHEABLE@GOTPAGE
Lloh66:
	ldr	x9, [x9, _VM_MEMATTR_UNCACHEABLE@GOTPAGEOFF]
	cbz	x8, LBB0_19
; %bb.17:                               ;   in Loop: Header=BB0_4 Depth=1
Lloh67:
	adrp	x0, l_.str.3@PAGE
Lloh68:
	add	x0, x0, l_.str.3@PAGEOFF
	mov	x1, x22
	bl	_printf
LBB0_18:                                ;   in Loop: Header=BB0_4 Depth=1
Lloh69:
	adrp	x9, _VM_MEMATTR_UNCACHEABLE@GOTPAGE
Lloh70:
	ldr	x9, [x9, _VM_MEMATTR_UNCACHEABLE@GOTPAGEOFF]
LBB0_19:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w1, [x9]
Lloh71:
	adrp	x8, _kernel_pmap@GOTPAGE
Lloh72:
	ldr	x8, [x8, _kernel_pmap@GOTPAGEOFF]
Lloh73:
	ldr	w0, [x8]
Lloh74:
	adrp	x8, _FALSE@GOTPAGE
Lloh75:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh76:
	ldr	w2, [x8]
	bl	_pmap_cache_bits
	mov	x24, x0
Lloh77:
	adrp	x8, _X86_PG_RW@GOTPAGE
Lloh78:
	ldr	x8, [x8, _X86_PG_RW@GOTPAGEOFF]
Lloh79:
	ldr	w28, [x8]
Lloh80:
	adrp	x8, _X86_PG_V@GOTPAGE
Lloh81:
	ldr	x8, [x8, _X86_PG_V@GOTPAGEOFF]
Lloh82:
	ldr	w26, [x8]
	ldr	w0, [x25]
	bl	_VM_OBJECT_WLOCK
	ldr	w8, [x21, #8]
	cmp	w8, #1
	b.lt	LBB0_2
; %bb.20:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	w23, #0
	orr	w8, w28, w24
	orr	w28, w8, w26
	ldr	w24, [x21, #4]
LBB0_21:                                ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x24
	bl	_efi_1t1_pte
	orr	w1, w28, w24
	bl	_pte_store
	add	w23, w23, #1
	ldr	w8, [x27]
	add	w24, w24, w8
	ldr	w8, [x21, #8]
	cmp	w23, w8
	b.lt	LBB0_21
	b	LBB0_2
LBB0_22:
	mov	w0, #1
	b	LBB0_30
LBB0_23:
                                        ; kill: def $w9 killed $w9 killed $x9 def $x9
	stp	x9, x10, [sp]
Lloh83:
	adrp	x0, l_.str.2@PAGE
Lloh84:
	add	x0, x0, l_.str.2@PAGEOFF
	b	LBB0_28
LBB0_24:
Lloh85:
	adrp	x8, _bootverbose@GOTPAGE
Lloh86:
	ldr	x8, [x8, _bootverbose@GOTPAGEOFF]
Lloh87:
	ldr	x8, [x8]
	cbz	x8, LBB0_29
; %bb.25:
Lloh88:
	adrp	x0, l_.str.1@PAGE
Lloh89:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_28
LBB0_26:
Lloh90:
	adrp	x8, _bootverbose@GOTPAGE
Lloh91:
	ldr	x8, [x8, _bootverbose@GOTPAGEOFF]
Lloh92:
	ldr	x8, [x8]
	cbz	x8, LBB0_29
; %bb.27:
Lloh93:
	adrp	x0, l_.str@PAGE
Lloh94:
	add	x0, x0, l_.str@PAGEOFF
LBB0_28:
	mov	x1, x22
	bl	_printf
LBB0_29:
	bl	_efi_destroy_1t1_map
	mov	w0, #0
LBB0_30:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotStr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGotStr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGot	Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGot	Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGot	Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGot	Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh59, Lloh60, Lloh61
	.loh AdrpLdrGot	Lloh65, Lloh66
	.loh AdrpLdrGotLdr	Lloh62, Lloh63, Lloh64
	.loh AdrpAdd	Lloh67, Lloh68
	.loh AdrpLdrGot	Lloh69, Lloh70
	.loh AdrpLdrGotLdr	Lloh80, Lloh81, Lloh82
	.loh AdrpLdrGotLdr	Lloh77, Lloh78, Lloh79
	.loh AdrpLdrGotLdr	Lloh74, Lloh75, Lloh76
	.loh AdrpLdrGotLdr	Lloh71, Lloh72, Lloh73
	.loh AdrpAdd	Lloh83, Lloh84
	.loh AdrpLdrGotLdr	Lloh85, Lloh86, Lloh87
	.loh AdrpAdd	Lloh88, Lloh89
	.loh AdrpLdrGotLdr	Lloh90, Lloh91, Lloh92
	.loh AdrpAdd	Lloh93, Lloh94
	.cfi_endproc
                                        ; -- End function
	.comm	_OBJT_PHYS,4,2                  ; @OBJT_PHYS
	.comm	_NPML4EPG,4,2                   ; @NPML4EPG
	.comm	_NPDPEPG,4,2                    ; @NPDPEPG
	.comm	_NPDEPG,4,2                     ; @NPDEPG
	.comm	_VM_PROT_ALL,4,2                ; @VM_PROT_ALL
	.comm	_obj_1t1_pt,4,2                 ; @obj_1t1_pt
	.comm	_efi_1t1_idx,8,3                ; @efi_1t1_idx
	.comm	_efi_pml4_page,4,2              ; @efi_pml4_page
	.comm	_efi_pml4,8,3                   ; @efi_pml4
	.comm	_EFI_MD_ATTR_RT,4,2             ; @EFI_MD_ATTR_RT
	.comm	_bootverbose,8,3                ; @bootverbose
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"EFI Runtime entry %d is mapped\n"

	.comm	_EFI_PAGE_MASK,4,2              ; @EFI_PAGE_MASK
l_.str.1:                               ; @.str.1
	.asciz	"EFI Runtime entry %d is not aligned\n"

	.comm	_EFI_PAGE_SIZE,4,2              ; @EFI_PAGE_SIZE
	.comm	_VM_MAXUSER_ADDRESS,4,2         ; @VM_MAXUSER_ADDRESS
l_.str.2:                               ; @.str.2
	.asciz	"EFI Runtime entry %d is not in mappable for RT:base %#016jx %#jx pages\n"

	.comm	_EFI_MD_ATTR_WB,4,2             ; @EFI_MD_ATTR_WB
	.comm	_VM_MEMATTR_WRITE_BACK,4,2      ; @VM_MEMATTR_WRITE_BACK
	.comm	_EFI_MD_ATTR_WT,4,2             ; @EFI_MD_ATTR_WT
	.comm	_VM_MEMATTR_WRITE_THROUGH,4,2   ; @VM_MEMATTR_WRITE_THROUGH
	.comm	_EFI_MD_ATTR_WC,4,2             ; @EFI_MD_ATTR_WC
	.comm	_VM_MEMATTR_WRITE_COMBINING,4,2 ; @VM_MEMATTR_WRITE_COMBINING
	.comm	_EFI_MD_ATTR_WP,4,2             ; @EFI_MD_ATTR_WP
	.comm	_VM_MEMATTR_WRITE_PROTECTED,4,2 ; @VM_MEMATTR_WRITE_PROTECTED
	.comm	_EFI_MD_ATTR_UC,4,2             ; @EFI_MD_ATTR_UC
	.comm	_VM_MEMATTR_UNCACHEABLE,4,2     ; @VM_MEMATTR_UNCACHEABLE
l_.str.3:                               ; @.str.3
	.asciz	"EFI Runtime entry %d mapping attributes unsupported\n"

	.comm	_kernel_pmap,4,2                ; @kernel_pmap
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_X86_PG_RW,4,2                  ; @X86_PG_RW
	.comm	_X86_PG_V,4,2                   ; @X86_PG_V
	.comm	_PAGE_SIZE,8,3                  ; @PAGE_SIZE
.subsections_via_symbols
