	.file	"extr_mmu_pv.c___xen_pgd_pin.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	__xen_pgd_pin, @function
__xen_pgd_pin:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rsi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	call	trace_xen_mmu_pgd_pin@PLT
	xor	eax, eax
	call	xen_mc_batch@PLT
	mov	ecx, DWORD PTR USER_LIMIT[rip]
	mov	rsi, rbp
	mov	rdi, r12
	mov	rdx, QWORD PTR xen_pin_page@GOTPCREL[rip]
	call	__xen_pgd_walk@PLT
	test	rax, rax
	jne	.L8
.L2:
	mov	rdi, rbp
	call	__pa@PLT
	mov	edi, eax
	call	PFN_DOWN@PLT
	mov	edi, DWORD PTR MMUEXT_PIN_L3_TABLE[rip]
	mov	esi, eax
	call	xen_do_pin@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	xor	edi, edi
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	xen_mc_issue@PLT
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	xor	edi, edi
	call	xen_mc_issue@PLT
	xor	eax, eax
	call	kmap_flush_unused@PLT
	xor	eax, eax
	call	xen_mc_batch@PLT
	jmp	.L2
	.cfi_endproc
.LFE0:
	.size	__xen_pgd_pin, .-__xen_pgd_pin
	.comm	USER_LIMIT,4,4
	.comm	TASK_SIZE,4,4
	.comm	PT_PMD,4,4
	.comm	PT_PGD,4,4
	.comm	MMUEXT_PIN_L4_TABLE,4,4
	.comm	MMUEXT_PIN_L3_TABLE,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_mmu_pv.c___xen_pgd_pin.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	__xen_pgd_pin, %function
__xen_pgd_pin:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r1
	mov	r5, r0
	bl	trace_xen_mmu_pgd_pin
	bl	xen_mc_batch
	ldr	r3, .L9
	mov	r0, r5
	mov	r1, r4
	ldr	r3, [r3]
	ldr	r2, .L9+4
	bl	__xen_pgd_walk
	cmp	r0, #0
	bne	.L8
.L2:
	ldr	r3, .L9+8
	mov	r0, r4
	ldr	r4, [r3]
	bl	__pa
	bl	PFN_DOWN
	mov	r1, r0
	mov	r0, r4
	bl	xen_do_pin
	pop	{r4, r5, r6, lr}
	mov	r0, #0
	b	xen_mc_issue
.L8:
	mov	r0, #0
	bl	xen_mc_issue
	bl	kmap_flush_unused
	bl	xen_mc_batch
	b	.L2
.L10:
	.align	2
.L9:
	.word	USER_LIMIT
	.word	xen_pin_page
	.word	MMUEXT_PIN_L3_TABLE
	.size	__xen_pgd_pin, .-__xen_pgd_pin
	.comm	USER_LIMIT,4,4
	.comm	TASK_SIZE,4,4
	.comm	PT_PMD,4,4
	.comm	PT_PGD,4,4
	.comm	MMUEXT_PIN_L4_TABLE,4,4
	.comm	MMUEXT_PIN_L3_TABLE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
