	.file	"extr_hashfuncs.c_GetHashPageStatistics.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	GetHashPageStatistics, @function
GetHashPageStatistics:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13d, edi
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	call	PageGetMaxOffsetNumber@PLT
	mov	edi, r13d
	mov	r12d, eax
	call	PageGetSpecialPointer@PLT
	mov	QWORD PTR 16[rbp], 0
	mov	edi, r13d
	mov	QWORD PTR 8[rbp], 0
	movsx	rbx, eax
	call	PageGetPageSize@PLT
	mov	DWORD PTR 44[rbp], eax
	mov	eax, DWORD PTR 16[rbx]
	mov	DWORD PTR 40[rbp], eax
	mov	eax, DWORD PTR 12[rbx]
	mov	DWORD PTR 36[rbp], eax
	mov	eax, DWORD PTR 8[rbx]
	mov	DWORD PTR 32[rbp], eax
	mov	eax, DWORD PTR 4[rbx]
	mov	DWORD PTR 28[rbp], eax
	mov	eax, DWORD PTR [rbx]
	mov	ebx, DWORD PTR FirstOffsetNumber[rip]
	mov	DWORD PTR 24[rbp], eax
	cmp	r12d, ebx
	jl	.L2
	add	r12d, 1
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L9:
	add	ebx, 1
	add	QWORD PTR 16[rbp], 1
	cmp	ebx, r12d
	je	.L2
.L5:
	mov	edi, r13d
	mov	esi, ebx
	call	PageGetItemId@PLT
	mov	edi, eax
	call	ItemIdIsDead@PLT
	test	eax, eax
	je	.L9
	add	ebx, 1
	add	QWORD PTR 8[rbp], 1
	cmp	ebx, r12d
	jne	.L5
.L2:
	mov	edi, r13d
	call	PageGetFreeSpace@PLT
	mov	DWORD PTR 0[rbp], eax
	add	rsp, 8
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	GetHashPageStatistics, .-GetHashPageStatistics
	.comm	FirstOffsetNumber,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_hashfuncs.c_GetHashPageStatistics.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	GetHashPageStatistics, %function
GetHashPageStatistics:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r5, r1
	mov	r6, r0
	bl	PageGetMaxOffsetNumber
	mov	r7, r0
	mov	r0, r6
	bl	PageGetSpecialPointer
	mov	r3, #0
	mov	r8, r0
	str	r3, [r5, #8]
	str	r3, [r5, #4]
	mov	r0, r6
	bl	PageGetPageSize
	ldr	r3, .L9
	ldr	r2, [r8, #12]
	ldr	r4, [r3]
	ldr	r3, [r8, #16]
	cmp	r7, r4
	str	r3, [r5, #28]
	ldr	r3, [r8, #8]
	str	r2, [r5, #24]
	str	r3, [r5, #20]
	ldr	r2, [r8, #4]
	ldr	r3, [r8]
	str	r0, [r5, #32]
	str	r2, [r5, #16]
	str	r3, [r5, #12]
	blt	.L2
	add	r7, r7, #1
.L5:
	mov	r1, r4
	mov	r0, r6
	bl	PageGetItemId
	bl	ItemIdIsDead
	cmp	r0, #0
	ldreq	r3, [r5, #8]
	ldrne	r3, [r5, #4]
	addeq	r3, r3, #1
	addne	r3, r3, #1
	add	r4, r4, #1
	streq	r3, [r5, #8]
	strne	r3, [r5, #4]
	cmp	r4, r7
	bne	.L5
.L2:
	mov	r0, r6
	bl	PageGetFreeSpace
	str	r0, [r5]
	pop	{r4, r5, r6, r7, r8, pc}
.L10:
	.align	2
.L9:
	.word	FirstOffsetNumber
	.size	GetHashPageStatistics, .-GetHashPageStatistics
	.comm	FirstOffsetNumber,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
