	.file	"extr_mds_client.c_renewed_caps.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"stale"
.LC1:
	.string	"fresh"
.LC2:
	.string	"mds%d caps renewed\n"
.LC3:
	.string	"mds%d caps still stale\n"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC4:
	.string	"renewed_caps mds%d ttl now %lu, was %s, now %s\n"
	.text
	.p2align 4
	.type	renewed_caps, @function
renewed_caps:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12d, edx
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, rdi
	mov	rdi, rsi
	call	spin_lock@PLT
	test	r12d, r12d
	jne	.L2
	mov	rax, QWORD PTR [rbx]
	mov	esi, DWORD PTR [rax]
	imul	esi, DWORD PTR HZ[rip]
	movsx	rsi, esi
	add	rsi, QWORD PTR 24[rbp]
	mov	QWORD PTR 8[rbp], rsi
.L3:
	mov	edi, DWORD PTR jiffies[rip]
	call	time_before@PLT
	lea	rcx, .LC1[rip]
	mov	rdx, QWORD PTR 8[rbp]
	mov	esi, DWORD PTR 16[rbp]
	test	rax, rax
	lea	r8, .LC0[rip]
	cmove	r8, rcx
.L18:
	lea	rdi, .LC4[rip]
	call	dout@PLT
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	rdi, rbp
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	spin_unlock@PLT
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	rsi, QWORD PTR 8[rbp]
	mov	edi, DWORD PTR jiffies[rip]
	call	time_after_eq@PLT
	test	rax, rax
	mov	rax, QWORD PTR [rbx]
	mov	esi, DWORD PTR [rax]
	je	.L4
	imul	esi, DWORD PTR HZ[rip]
	mov	edi, DWORD PTR jiffies[rip]
	movsx	rsi, esi
	add	rsi, QWORD PTR 24[rbp]
	mov	QWORD PTR 8[rbp], rsi
	call	time_before@PLT
	test	rax, rax
	je	.L20
	mov	esi, DWORD PTR 16[rbp]
	lea	rdi, .LC2[rip]
	call	pr_info@PLT
	mov	rsi, QWORD PTR 8[rbp]
	mov	edi, DWORD PTR jiffies[rip]
	call	time_before@PLT
	test	rax, rax
	jne	.L7
	mov	rdx, QWORD PTR 8[rbp]
	mov	esi, DWORD PTR 16[rbp]
	lea	rdi, .LC4[rip]
	lea	r8, .LC1[rip]
	lea	rcx, .LC0[rip]
	call	dout@PLT
	mov	rdi, rbp
	call	spin_unlock@PLT
.L12:
	mov	esi, DWORD PTR RENEWCAPS[rip]
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	rdi, rbp
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	wake_up_session_caps@PLT
	.p2align 4,,10
	.p2align 3
.L20:
	.cfi_restore_state
	mov	esi, DWORD PTR 16[rbp]
	lea	rdi, .LC3[rip]
	call	pr_info@PLT
	mov	rsi, QWORD PTR 8[rbp]
	mov	edi, DWORD PTR jiffies[rip]
	call	time_before@PLT
	test	rax, rax
	je	.L21
	lea	r8, .LC0[rip]
	mov	rdx, QWORD PTR 8[rbp]
	mov	esi, DWORD PTR 16[rbp]
	mov	rcx, r8
	jmp	.L18
	.p2align 4,,10
	.p2align 3
.L4:
	imul	esi, DWORD PTR HZ[rip]
	movsx	rsi, esi
	add	rsi, QWORD PTR 24[rbp]
	mov	QWORD PTR 8[rbp], rsi
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L7:
	lea	r8, .LC0[rip]
	mov	rdx, QWORD PTR 8[rbp]
	mov	esi, DWORD PTR 16[rbp]
	lea	rdi, .LC4[rip]
	mov	rcx, r8
	call	dout@PLT
	mov	rdi, rbp
	call	spin_unlock@PLT
	jmp	.L12
.L21:
	mov	rdx, QWORD PTR 8[rbp]
	mov	esi, DWORD PTR 16[rbp]
	lea	r8, .LC1[rip]
	lea	rcx, .LC0[rip]
	jmp	.L18
	.cfi_endproc
.LFE0:
	.size	renewed_caps, .-renewed_caps
	.comm	jiffies,4,4
	.comm	RENEWCAPS,4,4
	.comm	HZ,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_mds_client.c_renewed_caps.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"mds%d caps renewed\012\000"
	.align	2
.LC1:
	.ascii	"mds%d caps still stale\012\000"
	.align	2
.LC2:
	.ascii	"fresh\000"
	.align	2
.LC3:
	.ascii	"renewed_caps mds%d ttl now %lu, was %s, now %s\012\000"
	.align	2
.LC4:
	.ascii	"stale\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	renewed_caps, %function
renewed_caps:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r6, r2
	mov	r5, r0
	sub	sp, sp, #8
	mov	r0, r1
	mov	r4, r1
	bl	spin_lock
	cmp	r6, #0
	bne	.L2
	ldr	r2, [r5]
	ldr	r3, .L22
	ldr	r5, [r2]
	ldr	r1, [r3]
	ldr	r2, [r4, #12]
	ldr	r6, .L22+4
	mla	r5, r1, r5, r2
	str	r5, [r4, #4]
.L3:
	mov	r1, r5
	ldr	r0, [r6]
	ldr	r6, [r4, #8]
	bl	time_before
	cmp	r0, #0
	movne	r2, r5
	movne	r1, r6
	moveq	r2, r5
	moveq	r1, r6
	ldrne	r3, .L22+8
	ldreq	r3, .L22+12
	strne	r3, [sp]
	ldrne	r3, .L22+12
	streq	r3, [sp]
.L17:
	ldr	r0, .L22+16
	bl	dout
	mov	r0, r4
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, lr}
	b	spin_unlock
.L2:
	ldr	r6, .L22+4
	ldr	r1, [r4, #4]
	ldr	r0, [r6]
	bl	time_after_eq
	cmp	r0, #0
	ldr	r2, [r5]
	ldr	r3, .L22
	beq	.L4
	ldr	r1, [r2]
	ldr	r2, [r3]
	ldr	r3, [r4, #12]
	ldr	r0, [r6]
	mla	r1, r2, r1, r3
	str	r1, [r4, #4]
	bl	time_before
	cmp	r0, #0
	beq	.L19
	ldr	r1, [r4, #8]
	ldr	r0, .L22+20
	bl	pr_info
	ldr	r5, [r4, #4]
	ldr	r0, [r6]
	mov	r1, r5
	ldr	r6, [r4, #8]
	bl	time_before
	cmp	r0, #0
	beq	.L20
	ldr	r3, .L22+8
	mov	r2, r5
	mov	r1, r6
	ldr	r0, .L22+16
	str	r3, [sp]
	bl	dout
	mov	r0, r4
	bl	spin_unlock
.L12:
	mov	r0, r4
	ldr	r3, .L22+24
	ldr	r1, [r3]
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, lr}
	b	wake_up_session_caps
.L19:
	ldr	r1, [r4, #8]
	ldr	r0, .L22+28
	bl	pr_info
	ldr	r5, [r4, #4]
	ldr	r0, [r6]
	mov	r1, r5
	ldr	r6, [r4, #8]
	bl	time_before
	cmp	r0, #0
	beq	.L21
	ldr	r3, .L22+8
	mov	r2, r5
	mov	r1, r6
	str	r3, [sp]
	b	.L17
.L4:
	ldr	r5, [r2]
	ldr	r1, [r3]
	ldr	r2, [r4, #12]
	mla	r5, r1, r5, r2
	str	r5, [r4, #4]
	b	.L3
.L21:
	ldr	r3, .L22+12
	mov	r2, r5
	str	r3, [sp]
	mov	r1, r6
	ldr	r3, .L22+8
	b	.L17
.L20:
	ldr	r3, .L22+12
	mov	r2, r5
	str	r3, [sp]
	mov	r1, r6
	ldr	r3, .L22+8
	ldr	r0, .L22+16
	bl	dout
	mov	r0, r4
	bl	spin_unlock
	b	.L12
.L23:
	.align	2
.L22:
	.word	HZ
	.word	jiffies
	.word	.LC4
	.word	.LC2
	.word	.LC3
	.word	.LC0
	.word	RENEWCAPS
	.word	.LC1
	.size	renewed_caps, .-renewed_caps
	.comm	jiffies,4,4
	.comm	RENEWCAPS,4,4
	.comm	HZ,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
