	.file	"extr_mpoa_caches.c_refresh_entries.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"refresh_entries\n"
.LC1:
	.string	"refreshing an entry.\n"
	.text
	.p2align 4
	.type	refresh_entries, @function
refresh_entries:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	lea	r13, .LC1[rip]
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	rbx, QWORD PTR 8[rdi]
	lea	rdi, .LC0[rip]
	call	ddprintk@PLT
	xor	eax, eax
	call	ktime_get_seconds@PLT
	mov	rdi, rbp
	mov	r12d, eax
	call	read_lock_bh@PLT
	test	rbx, rbx
	jne	.L2
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L4:
	mov	rbx, QWORD PTR 16[rbx]
	test	rbx, rbx
	je	.L7
.L2:
	mov	rax, QWORD PTR INGRESS_RESOLVED[rip]
	cmp	QWORD PTR [rbx], rax
	jne	.L4
	mov	eax, DWORD PTR 8[rbx]
	test	eax, eax
	jne	.L5
	mov	eax, DWORD PTR 24[rbx]
	lea	edx, [rax+rax]
	movsx	rax, edx
	sar	edx, 31
	imul	rax, rax, 1431655766
	shr	rax, 32
	sub	eax, edx
	mov	DWORD PTR 8[rbx], eax
.L5:
	mov	edx, r12d
	sub	edx, DWORD PTR 12[rbx]
	cmp	edx, eax
	jle	.L4
	mov	rdi, r13
	call	dprintk@PLT
	mov	rax, QWORD PTR INGRESS_REFRESHING[rip]
	mov	QWORD PTR [rbx], rax
	mov	rbx, QWORD PTR 16[rbx]
	test	rbx, rbx
	jne	.L2
.L7:
	add	rsp, 8
	.cfi_def_cfa_offset 40
	mov	rdi, rbp
	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
	jmp	read_unlock_bh@PLT
	.cfi_endproc
.LFE0:
	.size	refresh_entries, .-refresh_entries
	.comm	INGRESS_RESOLVED,8,8
	.comm	INGRESS_REFRESHING,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_mpoa_caches.c_refresh_entries.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"refresh_entries\012\000"
	.align	2
.LC1:
	.ascii	"refreshing an entry.\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	refresh_entries, %function
refresh_entries:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r6, r0
	ldr	r0, .L12
	ldr	r4, [r6, #4]
	bl	ddprintk
	bl	ktime_get_seconds
	mov	r7, r0
	mov	r0, r6
	bl	read_lock_bh
	cmp	r4, #0
	beq	.L7
	ldr	r5, .L12+4
	ldr	r10, .L12+8
	ldr	r9, .L12+12
	ldr	r8, .L12+16
	b	.L2
.L4:
	ldr	r4, [r4, #12]
	cmp	r4, #0
	beq	.L7
.L2:
	ldr	r2, [r4]
	ldr	r3, [r5]
	cmp	r2, r3
	bne	.L4
	ldr	r3, [r4, #4]
	cmp	r3, #0
	ldreq	r3, [r4, #16]
	lsleq	r2, r3, #1
	smulleq	r1, r3, r8, r2
	subeq	r3, r3, r2, asr #31
	ldr	r2, [r4, #8]
	streq	r3, [r4, #4]
	sub	r2, r7, r2
	cmp	r2, r3
	ble	.L4
	mov	r0, r10
	bl	dprintk
	ldr	r3, [r9]
	str	r3, [r4]
	ldr	r4, [r4, #12]
	cmp	r4, #0
	bne	.L2
.L7:
	mov	r0, r6
	pop	{r4, r5, r6, r7, r8, r9, r10, lr}
	b	read_unlock_bh
.L13:
	.align	2
.L12:
	.word	.LC0
	.word	INGRESS_RESOLVED
	.word	.LC1
	.word	INGRESS_REFRESHING
	.word	1431655766
	.size	refresh_entries, .-refresh_entries
	.comm	INGRESS_RESOLVED,4,4
	.comm	INGRESS_REFRESHING,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
