	.file	"extr_page_tables.c_guest_set_pte.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	guest_set_pte
	.type	guest_set_pte, @function
guest_set_pte:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13d, ecx
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12, rdx
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	rdi, QWORD PTR [rdi]
	cmp	QWORD PTR [rdi], rdx
	ja	.L2
	mov	rdi, QWORD PTR 8[rdi]
	xor	ebx, ebx
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L4:
	add	ebx, 1
.L3:
	call	ARRAY_SIZE@PLT
	cmp	eax, ebx
	jbe	.L1
	mov	rax, QWORD PTR 0[rbp]
	mov	rdi, QWORD PTR 8[rax]
	mov	eax, ebx
	cmp	QWORD PTR [rdi+rax*8], 0
	je	.L4
	mov	rdi, rbp
	mov	ecx, r13d
	mov	rdx, r12
	mov	esi, ebx
	call	do_set_pte@PLT
	mov	rax, QWORD PTR 0[rbp]
	mov	rdi, QWORD PTR 8[rax]
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L2:
	call	find_pgdir@PLT
	mov	r14d, eax
	mov	rax, QWORD PTR 0[rbp]
	mov	rdi, QWORD PTR 8[rax]
	call	ARRAY_SIZE@PLT
	cmp	eax, r14d
	jne	.L10
.L1:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore_state
	pop	rbx
	.cfi_def_cfa_offset 40
	mov	ecx, r13d
	mov	rdx, r12
	mov	esi, r14d
	mov	rdi, rbp
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	jmp	do_set_pte@PLT
	.cfi_endproc
.LFE0:
	.size	guest_set_pte, .-guest_set_pte
	.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_page_tables.c_guest_set_pte.c"
	.text
	.align	2
	.global	guest_set_pte
	.syntax unified
	.arm
	.fpu softvfp
	.type	guest_set_pte, %function
guest_set_pte:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r5, r0
	ldr	r0, [r0]
	mov	r7, r3
	ldr	r3, [r0]
	mov	r6, r2
	cmp	r3, r2
	bhi	.L2
	mov	r4, #0
	ldr	r0, [r0, #4]
	b	.L3
.L4:
	add	r4, r4, #1
.L3:
	bl	ARRAY_SIZE
	cmp	r0, r4
	popls	{r4, r5, r6, r7, r8, pc}
	ldr	r1, [r5]
	ldr	r0, [r1, #4]
	ldr	r1, [r0, r4, lsl #2]
	cmp	r1, #0
	beq	.L4
	mov	r3, r7
	mov	r2, r6
	mov	r1, r4
	mov	r0, r5
	bl	do_set_pte
	ldr	r3, [r5]
	ldr	r0, [r3, #4]
	b	.L4
.L2:
	bl	find_pgdir
	ldr	r3, [r5]
	mov	r4, r0
	ldr	r0, [r3, #4]
	bl	ARRAY_SIZE
	cmp	r0, r4
	popeq	{r4, r5, r6, r7, r8, pc}
	mov	r3, r7
	mov	r2, r6
	mov	r1, r4
	mov	r0, r5
	pop	{r4, r5, r6, r7, r8, lr}
	b	do_set_pte
	.size	guest_set_pte, .-guest_set_pte
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
