	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pmap_pinit_pml4                ## -- Begin function pmap_pinit_pml4
	.p2align	4, 0x90
_pmap_pinit_pml4:                       ## @pmap_pinit_pml4
	.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
	movl	%edi, -44(%rbp)                 ## 4-byte Spill
	callq	_VM_PAGE_TO_PHYS
	movl	%eax, %edi
	callq	_PHYS_TO_DMAP
	movq	%rax, %r15
	movq	_NKPML4E@GOTPCREL(%rip), %r12
	cmpl	$0, (%r12)
	jle	LBB0_3
## %bb.1:
	xorl	%ebx, %ebx
	movq	_KPML4BASE@GOTPCREL(%rip), %r13
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	_KPDPphys@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r14d
	movl	%ebx, %edi
	callq	_ptoa
	addl	%r14d, %eax
	movq	_X86_PG_RW@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_X86_PG_V@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movslq	(%r13), %rcx
	addq	%rbx, %rcx
	movl	%eax, (%r15,%rcx,4)
	incq	%rbx
	cmpl	(%r12), %ebx
	jl	LBB0_2
LBB0_3:
	movq	_ndmpdpphys@GOTPCREL(%rip), %r12
	cmpl	$0, (%r12)
	jle	LBB0_6
## %bb.4:
	xorl	%ebx, %ebx
	movq	_DMPML4I@GOTPCREL(%rip), %r13
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	_DMPDPphys@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r14d
	movl	%ebx, %edi
	callq	_ptoa
	addl	%r14d, %eax
	movq	_X86_PG_RW@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_X86_PG_V@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movslq	(%r13), %rcx
	addq	%rbx, %rcx
	movl	%eax, (%r15,%rcx,4)
	incq	%rbx
	cmpl	(%r12), %ebx
	jl	LBB0_5
LBB0_6:
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	callq	_VM_PAGE_TO_PHYS
	movq	_X86_PG_V@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_X86_PG_RW@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_X86_PG_A@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_X86_PG_M@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_PML4PML4I@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	%eax, (%r15,%rcx,4)
	movq	_lm_ents@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jle	LBB0_9
## %bb.7:
	movq	_kernel_pmap@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rcx), %rcx
	xorl	%edx, %edx
	movq	_LMSPML4I@GOTPCREL(%rip), %rsi
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movslq	(%rsi), %rdi
	addq	%rdx, %rdi
	movl	(%rcx,%rdi,4), %ebx
	movl	%ebx, (%r15,%rdi,4)
	incq	%rdx
	cmpl	(%rax), %edx
	jl	LBB0_8
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NKPML4E,4,2                    ## @NKPML4E
	.comm	_KPDPphys,4,2                   ## @KPDPphys
	.comm	_X86_PG_RW,4,2                  ## @X86_PG_RW
	.comm	_X86_PG_V,4,2                   ## @X86_PG_V
	.comm	_KPML4BASE,4,2                  ## @KPML4BASE
	.comm	_ndmpdpphys,4,2                 ## @ndmpdpphys
	.comm	_DMPDPphys,4,2                  ## @DMPDPphys
	.comm	_DMPML4I,4,2                    ## @DMPML4I
	.comm	_X86_PG_A,4,2                   ## @X86_PG_A
	.comm	_X86_PG_M,4,2                   ## @X86_PG_M
	.comm	_PML4PML4I,8,3                  ## @PML4PML4I
	.comm	_lm_ents,4,2                    ## @lm_ents
	.comm	_kernel_pmap,8,3                ## @kernel_pmap
	.comm	_LMSPML4I,4,2                   ## @LMSPML4I
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pmap_pinit_pml4                ; -- Begin function pmap_pinit_pml4
	.p2align	2
_pmap_pinit_pml4:                       ; @pmap_pinit_pml4
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x20, x0
	bl	_VM_PAGE_TO_PHYS
	bl	_PHYS_TO_DMAP
	mov	x19, x0
Lloh0:
	adrp	x24, _NKPML4E@GOTPAGE
Lloh1:
	ldr	x24, [x24, _NKPML4E@GOTPAGEOFF]
	ldr	w8, [x24]
Lloh2:
	adrp	x22, _X86_PG_RW@GOTPAGE
Lloh3:
	ldr	x22, [x22, _X86_PG_RW@GOTPAGEOFF]
Lloh4:
	adrp	x23, _X86_PG_V@GOTPAGE
Lloh5:
	ldr	x23, [x23, _X86_PG_V@GOTPAGEOFF]
	cmp	w8, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x21, #0
Lloh6:
	adrp	x25, _KPDPphys@GOTPAGE
Lloh7:
	ldr	x25, [x25, _KPDPphys@GOTPAGEOFF]
Lloh8:
	adrp	x26, _KPML4BASE@GOTPAGE
Lloh9:
	ldr	x26, [x26, _KPML4BASE@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w27, [x25]
	mov	x0, x21
	bl	_ptoa
	ldr	w8, [x22]
	add	w9, w0, w27
	orr	w8, w9, w8
	ldr	w9, [x23]
	orr	w8, w8, w9
	ldrsw	x9, [x26]
	add	x9, x21, x9
	str	w8, [x19, x9, lsl #2]
	ldr	w8, [x24]
	add	x21, x21, #1
	cmp	w21, w8
	b.lt	LBB0_2
LBB0_3:
Lloh10:
	adrp	x24, _ndmpdpphys@GOTPAGE
Lloh11:
	ldr	x24, [x24, _ndmpdpphys@GOTPAGEOFF]
	ldr	w8, [x24]
	cmp	w8, #1
	b.lt	LBB0_6
; %bb.4:
	mov	x21, #0
Lloh12:
	adrp	x25, _DMPDPphys@GOTPAGE
Lloh13:
	ldr	x25, [x25, _DMPDPphys@GOTPAGEOFF]
Lloh14:
	adrp	x26, _DMPML4I@GOTPAGE
Lloh15:
	ldr	x26, [x26, _DMPML4I@GOTPAGEOFF]
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w27, [x25]
	mov	x0, x21
	bl	_ptoa
	ldr	w8, [x22]
	add	w9, w0, w27
	orr	w8, w9, w8
	ldr	w9, [x23]
	orr	w8, w8, w9
	ldrsw	x9, [x26]
	add	x9, x21, x9
	str	w8, [x19, x9, lsl #2]
	ldr	w8, [x24]
	add	x21, x21, #1
	cmp	w21, w8
	b.lt	LBB0_5
LBB0_6:
	mov	x0, x20
	bl	_VM_PAGE_TO_PHYS
	ldr	w8, [x23]
	orr	w8, w8, w0
	ldr	w9, [x22]
	orr	w8, w8, w9
Lloh16:
	adrp	x9, _X86_PG_A@GOTPAGE
Lloh17:
	ldr	x9, [x9, _X86_PG_A@GOTPAGEOFF]
Lloh18:
	ldr	w9, [x9]
Lloh19:
	adrp	x10, _X86_PG_M@GOTPAGE
Lloh20:
	ldr	x10, [x10, _X86_PG_M@GOTPAGEOFF]
	orr	w8, w8, w9
Lloh21:
	ldr	w9, [x10]
	orr	w8, w8, w9
Lloh22:
	adrp	x9, _PML4PML4I@GOTPAGE
Lloh23:
	ldr	x9, [x9, _PML4PML4I@GOTPAGEOFF]
Lloh24:
	ldr	x9, [x9]
	str	w8, [x19, x9, lsl #2]
Lloh25:
	adrp	x8, _lm_ents@GOTPAGE
Lloh26:
	ldr	x8, [x8, _lm_ents@GOTPAGEOFF]
	ldr	w9, [x8]
	cmp	w9, #1
	b.lt	LBB0_9
; %bb.7:
	mov	x9, #0
Lloh27:
	adrp	x10, _kernel_pmap@GOTPAGE
Lloh28:
	ldr	x10, [x10, _kernel_pmap@GOTPAGEOFF]
Lloh29:
	ldr	x10, [x10]
	ldr	x10, [x10]
Lloh30:
	adrp	x11, _LMSPML4I@GOTPAGE
Lloh31:
	ldr	x11, [x11, _LMSPML4I@GOTPAGEOFF]
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldrsw	x12, [x11]
	add	x12, x9, x12
	lsl	x12, x12, #2
	ldr	w13, [x10, x12]
	str	w13, [x19, x12]
	ldr	w12, [x8]
	add	x9, x9, #1
	cmp	w9, w12
	b.lt	LBB0_8
LBB0_9:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.cfi_endproc
                                        ; -- End function
	.comm	_NKPML4E,4,2                    ; @NKPML4E
	.comm	_KPDPphys,4,2                   ; @KPDPphys
	.comm	_X86_PG_RW,4,2                  ; @X86_PG_RW
	.comm	_X86_PG_V,4,2                   ; @X86_PG_V
	.comm	_KPML4BASE,4,2                  ; @KPML4BASE
	.comm	_ndmpdpphys,4,2                 ; @ndmpdpphys
	.comm	_DMPDPphys,4,2                  ; @DMPDPphys
	.comm	_DMPML4I,4,2                    ; @DMPML4I
	.comm	_X86_PG_A,4,2                   ; @X86_PG_A
	.comm	_X86_PG_M,4,2                   ; @X86_PG_M
	.comm	_PML4PML4I,8,3                  ; @PML4PML4I
	.comm	_lm_ents,4,2                    ; @lm_ents
	.comm	_kernel_pmap,8,3                ; @kernel_pmap
	.comm	_LMSPML4I,4,2                   ; @LMSPML4I
.subsections_via_symbols
