	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pmap_pinit                     ## -- Begin function pmap_pinit
	.p2align	4, 0x90
_pmap_pinit:                            ## @pmap_pinit
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	leaq	L_.str(%rip), %rdi
	movl	%ebx, %esi
	callq	_printf
	movl	$1, %edi
	movl	%eax, %esi
	callq	_PDEBUG
	movq	%rbx, %rdi
	callq	_pmap_alloc_l1
	movq	16(%rbx), %rdi
	movl	$8, %esi
	callq	_bzero
	leaq	8(%rbx), %rdi
	callq	_CPU_ZERO
	leaq	4(%rbx), %rdi
	callq	_TAILQ_INIT
	movq	%rbx, %rdi
	movl	$4, %esi
	callq	_bzero
	movl	$1, (%rbx)
	movq	_vector_page@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	movq	_KERNBASE@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r14
	jge	LBB0_2
## %bb.1:
	movq	_systempage@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_PHYS_TO_VM_PAGE
	movq	_VM_PROT_READ@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	_PMAP_ENTER_WIRED@GOTPCREL(%rip), %rdx
	movl	(%rdx), %r8d
	orl	%ecx, %r8d
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movl	%eax, %edx
	xorl	%r9d, %r9d
	callq	_pmap_enter
LBB0_2:
	movl	$1, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"pmap_pinit: pmap = %08x\n"

	.comm	_vector_page,8,3                ## @vector_page
	.comm	_KERNBASE,8,3                   ## @KERNBASE
	.comm	_systempage,4,2                 ## @systempage
	.comm	_VM_PROT_READ,4,2               ## @VM_PROT_READ
	.comm	_PMAP_ENTER_WIRED,4,2           ## @PMAP_ENTER_WIRED
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pmap_pinit                     ; -- Begin function pmap_pinit
	.p2align	2
_pmap_pinit:                            ; @pmap_pinit
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	bl	_printf
	mov	x1, x0
	mov	w20, #1
	mov	w0, #1
	bl	_PDEBUG
	mov	x0, x19
	bl	_pmap_alloc_l1
	ldr	x0, [x19, #16]
	mov	w1, #8
	bl	_bzero
	add	x0, x19, #8
	bl	_CPU_ZERO
	add	x0, x19, #4
	bl	_TAILQ_INIT
	mov	x0, x19
	mov	w1, #4
	bl	_bzero
Lloh2:
	adrp	x8, _vector_page@GOTPAGE
Lloh3:
	ldr	x8, [x8, _vector_page@GOTPAGEOFF]
	str	w20, [x19]
Lloh4:
	ldr	x20, [x8]
Lloh5:
	adrp	x8, _KERNBASE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _KERNBASE@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	cmp	x20, x8
	b.ge	LBB0_2
; %bb.1:
Lloh8:
	adrp	x8, _systempage@GOTPAGE
Lloh9:
	ldr	x8, [x8, _systempage@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	bl	_PHYS_TO_VM_PAGE
	mov	x2, x0
Lloh11:
	adrp	x8, _VM_PROT_READ@GOTPAGE
Lloh12:
	ldr	x8, [x8, _VM_PROT_READ@GOTPAGEOFF]
Lloh13:
	ldr	w3, [x8]
Lloh14:
	adrp	x8, _PMAP_ENTER_WIRED@GOTPAGE
Lloh15:
	ldr	x8, [x8, _PMAP_ENTER_WIRED@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	orr	w4, w8, w3
	mov	x0, x19
	mov	x1, x20
	mov	w5, #0
	bl	_pmap_enter
LBB0_2:
	mov	w0, #1
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"pmap_pinit: pmap = %08x\n"

	.comm	_vector_page,8,3                ; @vector_page
	.comm	_KERNBASE,8,3                   ; @KERNBASE
	.comm	_systempage,4,2                 ; @systempage
	.comm	_VM_PROT_READ,4,2               ; @VM_PROT_READ
	.comm	_PMAP_ENTER_WIRED,4,2           ; @PMAP_ENTER_WIRED
.subsections_via_symbols
