	.file	"extr_mm.c_get_free_page.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	get_free_page
	.type	get_free_page, @function
get_free_page:
.LFB0:
	.cfi_startproc
	endbr64
	mov	ecx, DWORD PTR PAGING_PAGES[rip]
	test	ecx, ecx
	jle	.L5
	mov	rdx, QWORD PTR mem_map[rip]
	xor	eax, eax
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L3:
	add	eax, 1
	add	rdx, 4
	cmp	ecx, eax
	je	.L5
.L4:
	mov	esi, DWORD PTR [rdx]
	test	esi, esi
	jne	.L3
	mov	DWORD PTR [rdx], 1
	imul	eax, DWORD PTR PAGE_SIZE[rip]
	cdqe
	add	rax, QWORD PTR LOW_MEMORY[rip]
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	xor	eax, eax
	ret
	.cfi_endproc
.LFE0:
	.size	get_free_page, .-get_free_page
	.comm	mem_map,8,8
	.comm	PAGING_PAGES,4,4
	.comm	PAGE_SIZE,4,4
	.comm	LOW_MEMORY,8,8
	.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_mm.c_get_free_page.c"
	.text
	.align	2
	.global	get_free_page
	.syntax unified
	.arm
	.fpu softvfp
	.type	get_free_page, %function
get_free_page:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	@ link register save eliminated.
	ldr	r3, .L8
	ldr	ip, [r3]
	cmp	ip, #0
	ble	.L5
	ldr	r2, .L8+4
	mov	r3, #0
	ldr	r2, [r2]
	b	.L4
.L3:
	add	r3, r3, #1
	cmp	ip, r3
	beq	.L5
.L4:
	ldr	r0, [r2]
	mov	r1, r2
	cmp	r0, #0
	add	r2, r2, #4
	bne	.L3
	mov	ip, #1
	ldr	r2, .L8+8
	ldr	r0, .L8+12
	str	ip, [r1]
	ldr	r2, [r2]
	ldr	r0, [r0]
	mla	r0, r2, r3, r0
	bx	lr
.L5:
	mov	r0, #0
	bx	lr
.L9:
	.align	2
.L8:
	.word	PAGING_PAGES
	.word	mem_map
	.word	PAGE_SIZE
	.word	LOW_MEMORY
	.size	get_free_page, .-get_free_page
	.comm	mem_map,4,4
	.comm	PAGING_PAGES,4,4
	.comm	PAGE_SIZE,4,4
	.comm	LOW_MEMORY,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
