	.file	"extr_ntp_request.c_mem_stats.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	mem_stats, @function
mem_stats:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	ecx, 56
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	call	prepare_pkt@PLT
	mov	rdi, QWORD PTR current_time[rip]
	sub	edi, DWORD PTR peer_timereset[rip]
	mov	rbp, rax
	call	htonl@PLT
	mov	edi, DWORD PTR total_peer_structs[rip]
	mov	QWORD PTR 48[rbp], rax
	call	htons@PLT
	mov	edi, DWORD PTR peer_free_count[rip]
	mov	QWORD PTR 40[rbp], rax
	call	htons@PLT
	mov	edi, DWORD PTR findpeer_calls[rip]
	mov	QWORD PTR 32[rbp], rax
	call	htonl@PLT
	mov	edi, DWORD PTR peer_allocations[rip]
	mov	QWORD PTR 24[rbp], rax
	call	htonl@PLT
	mov	edi, DWORD PTR peer_demobilizations[rip]
	mov	QWORD PTR 16[rbp], rax
	call	htonl@PLT
	mov	QWORD PTR 8[rbp], rax
	mov	eax, DWORD PTR NTP_HASH_SIZE[rip]
	test	eax, eax
	jle	.L2
	xor	ebx, ebx
	.p2align 4,,10
	.p2align 3
.L3:
	mov	rax, QWORD PTR 0[rbp]
	mov	esi, DWORD PTR UCHAR_MAX[rip]
	lea	r12, [rax+rbx*8]
	mov	rax, QWORD PTR peer_hash_count[rip]
	mov	rdi, QWORD PTR [rax+rbx*8]
	add	rbx, 1
	call	max@PLT
	cmp	DWORD PTR NTP_HASH_SIZE[rip], ebx
	mov	QWORD PTR [r12], rax
	jg	.L3
.L2:
	xor	eax, eax
	call	more_pkt@PLT
	pop	rbx
	.cfi_def_cfa_offset 24
	xor	eax, eax
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	flush_pkt@PLT
	.cfi_endproc
.LFE0:
	.size	mem_stats, .-mem_stats
	.comm	total_peer_structs,8,8
	.comm	peer_timereset,8,8
	.comm	peer_hash_count,8,8
	.comm	peer_free_count,8,8
	.comm	peer_demobilizations,8,8
	.comm	peer_allocations,8,8
	.comm	findpeer_calls,8,8
	.comm	current_time,8,8
	.comm	UCHAR_MAX,4,4
	.comm	NTP_HASH_SIZE,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_ntp_request.c_mem_stats.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	mem_stats, %function
mem_stats:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r3, #28
	bl	prepare_pkt
	ldr	r2, .L7
	ldr	r3, .L7+4
	ldr	r2, [r2]
	ldr	r3, [r3]
	mov	r5, r0
	sub	r0, r2, r3
	bl	htonl
	ldr	r3, .L7+8
	str	r0, [r5, #24]
	ldr	r0, [r3]
	bl	htons
	ldr	r3, .L7+12
	str	r0, [r5, #20]
	ldr	r0, [r3]
	bl	htons
	ldr	r3, .L7+16
	str	r0, [r5, #16]
	ldr	r0, [r3]
	bl	htonl
	ldr	r3, .L7+20
	str	r0, [r5, #12]
	ldr	r0, [r3]
	bl	htonl
	ldr	r3, .L7+24
	str	r0, [r5, #8]
	ldr	r0, [r3]
	bl	htonl
	ldr	r7, .L7+28
	str	r0, [r5, #4]
	ldr	r3, [r7]
	cmp	r3, #0
	ble	.L2
	mov	r4, #0
	ldr	r8, .L7+32
	ldr	r9, .L7+36
.L3:
	ldr	r3, [r9]
	ldr	r1, [r8]
	ldr	r0, [r3, r4, lsl #2]
	ldr	r6, [r5]
	bl	max
	ldr	r3, [r7]
	str	r0, [r6, r4, lsl #2]
	add	r4, r4, #1
	cmp	r3, r4
	bgt	.L3
.L2:
	bl	more_pkt
	pop	{r4, r5, r6, r7, r8, r9, r10, lr}
	b	flush_pkt
.L8:
	.align	2
.L7:
	.word	current_time
	.word	peer_timereset
	.word	total_peer_structs
	.word	peer_free_count
	.word	findpeer_calls
	.word	peer_allocations
	.word	peer_demobilizations
	.word	NTP_HASH_SIZE
	.word	UCHAR_MAX
	.word	peer_hash_count
	.size	mem_stats, .-mem_stats
	.comm	total_peer_structs,4,4
	.comm	peer_timereset,4,4
	.comm	peer_hash_count,4,4
	.comm	peer_free_count,4,4
	.comm	peer_demobilizations,4,4
	.comm	peer_allocations,4,4
	.comm	findpeer_calls,4,4
	.comm	current_time,4,4
	.comm	UCHAR_MAX,4,4
	.comm	NTP_HASH_SIZE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
