	.file	"extr_pmap.c_pmap_pinit.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	pmap_pinit
	.type	pmap_pinit, @function
pmap_pinit:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L3:
	xor	edi, edi
	call	vm_wait@PLT
.L2:
	mov	edx, DWORD PTR VM_ALLOC_NORMAL[rip]
	xor	esi, esi
	or	edx, DWORD PTR VM_ALLOC_NOOBJ[rip]
	xor	edi, edi
	or	edx, DWORD PTR VM_ALLOC_WIRED[rip]
	or	edx, DWORD PTR VM_ALLOC_ZERO[rip]
	call	vm_page_alloc@PLT
	mov	rbx, rax
	test	rax, rax
	je	.L3
	mov	rdi, rax
	call	VM_PAGE_TO_PHYS@PLT
	mov	DWORD PTR 24[rbp], eax
	mov	edi, eax
	call	PHYS_TO_DMAP@PLT
	mov	QWORD PTR 16[rbp], rax
	mov	rdi, rax
	mov	eax, DWORD PTR [rbx]
	test	DWORD PTR PG_ZERO[rip], eax
	je	.L7
.L4:
	mov	QWORD PTR 8[rbp], 0
	lea	rdi, 4[rbp]
	mov	esi, 4
	call	bzero@PLT
	mov	esi, DWORD PTR INT_MAX[rip]
	mov	edi, -1
	call	COOKIE_FROM@PLT
	mov	DWORD PTR 0[rbp], eax
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	eax, 1
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	call	pagezero@PLT
	jmp	.L4
	.cfi_endproc
.LFE0:
	.size	pmap_pinit, .-pmap_pinit
	.comm	VM_ALLOC_ZERO,4,4
	.comm	VM_ALLOC_WIRED,4,4
	.comm	VM_ALLOC_NORMAL,4,4
	.comm	VM_ALLOC_NOOBJ,4,4
	.comm	PG_ZERO,4,4
	.comm	INT_MAX,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_pmap.c_pmap_pinit.c"
	.text
	.align	2
	.global	pmap_pinit
	.syntax unified
	.arm
	.fpu softvfp
	.type	pmap_pinit, %function
pmap_pinit:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r8, r0
	ldr	r7, .L8
	ldr	r6, .L8+4
	ldr	r5, .L8+8
	ldr	r4, .L8+12
	b	.L2
.L3:
	bl	vm_wait
.L2:
	mov	r1, #0
	ldr	r2, [r6]
	ldr	r3, [r7]
	ldr	r0, [r5]
	orr	r3, r3, r2
	ldr	r2, [r4]
	orr	r3, r3, r0
	orr	r2, r3, r2
	mov	r0, r1
	bl	vm_page_alloc
	subs	r9, r0, #0
	beq	.L3
	bl	VM_PAGE_TO_PHYS
	str	r0, [r8, #16]
	bl	PHYS_TO_DMAP
	ldr	r3, .L8+16
	ldr	r2, [r9]
	ldr	r3, [r3]
	str	r0, [r8, #12]
	tst	r2, r3
	beq	.L7
.L4:
	mov	r3, #0
	mov	r1, #4
	str	r3, [r8, #8]
	add	r0, r8, r1
	bl	bzero
	ldr	r3, .L8+20
	mvn	r0, #0
	ldr	r1, [r3]
	bl	COOKIE_FROM
	mov	r3, r0
	mov	r0, #1
	str	r3, [r8]
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L7:
	bl	pagezero
	b	.L4
.L9:
	.align	2
.L8:
	.word	VM_ALLOC_NORMAL
	.word	VM_ALLOC_NOOBJ
	.word	VM_ALLOC_WIRED
	.word	VM_ALLOC_ZERO
	.word	PG_ZERO
	.word	INT_MAX
	.size	pmap_pinit, .-pmap_pinit
	.comm	VM_ALLOC_ZERO,4,4
	.comm	VM_ALLOC_WIRED,4,4
	.comm	VM_ALLOC_NORMAL,4,4
	.comm	VM_ALLOC_NOOBJ,4,4
	.comm	PG_ZERO,4,4
	.comm	INT_MAX,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
