	.file	"extr_freepage.c_FreePageManagerLargestContiguous.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	FreePageManagerLargestContiguous, @function
FreePageManagerLargestContiguous:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	call	fpm_segment_base@PLT
	movsx	rdx, DWORD PTR FPM_NUM_FREELISTS[rip]
	mov	rbx, rax
	mov	rax, QWORD PTR 0[rbp]
	mov	edi, DWORD PTR -4[rax+rdx*4]
	call	relptr_is_null@PLT
	test	eax, eax
	je	.L13
	mov	eax, DWORD PTR FPM_NUM_FREELISTS[rip]
	lea	ebx, -1[rax]
	movsx	rbx, ebx
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L15:
	test	rbx, rbx
	jle	.L14
.L5:
	mov	rax, QWORD PTR 0[rbp]
	mov	r12, rbx
	lea	rbx, -1[rbx]
	mov	edi, DWORD PTR [rax+rbx*4]
	call	relptr_is_null@PLT
	test	eax, eax
	jne	.L15
	mov	rax, r12
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L13:
	.cfi_restore_state
	movsx	rdx, DWORD PTR FPM_NUM_FREELISTS[rip]
	mov	rax, QWORD PTR 0[rbp]
	mov	rdi, rbx
	xor	r12d, r12d
	mov	esi, DWORD PTR -4[rax+rdx*4]
	call	relptr_access@PLT
	.p2align 4,,10
	.p2align 3
.L3:
	mov	rdx, QWORD PTR [rax]
	mov	esi, DWORD PTR 8[rax]
	mov	rdi, rbx
	cmp	r12, rdx
	cmovl	r12, rdx
	call	relptr_access@PLT
	test	rax, rax
	jne	.L3
	mov	rax, r12
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L14:
	.cfi_restore_state
	xor	r12d, r12d
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	mov	rax, r12
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	FreePageManagerLargestContiguous, .-FreePageManagerLargestContiguous
	.comm	FPM_NUM_FREELISTS,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_freepage.c_FreePageManagerLargestContiguous.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	FreePageManagerLargestContiguous, %function
FreePageManagerLargestContiguous:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r6, r0
	bl	fpm_segment_base
	ldr	r7, .L16
	ldr	r2, [r6]
	ldr	r3, [r7]
	mov	r5, r0
	sub	r3, r3, #-1073741823
	ldr	r0, [r2, r3, lsl #2]
	bl	relptr_is_null
	subs	r4, r0, #0
	beq	.L13
	ldr	r5, [r7]
	sub	r5, r5, #1
	b	.L5
.L15:
	cmp	r5, #0
	ble	.L14
.L5:
	ldr	r3, [r6]
	mov	r4, r5
	sub	r5, r5, #1
	ldr	r0, [r3, r5, lsl #2]
	bl	relptr_is_null
	cmp	r0, #0
	bne	.L15
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, pc}
.L13:
	ldr	r3, [r7]
	ldr	r2, [r6]
	sub	r3, r3, #-1073741823
	mov	r0, r5
	ldr	r1, [r2, r3, lsl #2]
	bl	relptr_access
.L3:
	ldr	r3, [r0]
	ldr	r1, [r0, #4]
	cmp	r4, r3
	mov	r0, r5
	movlt	r4, r3
	bl	relptr_access
	cmp	r0, #0
	bne	.L3
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, pc}
.L14:
	mov	r4, #0
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, pc}
.L17:
	.align	2
.L16:
	.word	FPM_NUM_FREELISTS
	.size	FreePageManagerLargestContiguous, .-FreePageManagerLargestContiguous
	.comm	FPM_NUM_FREELISTS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
