	.file	"extr_v_ex.c_v_ex_done.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	v_ex_done, @function
v_ex_done:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsi
	xor	r8d, r8d
	xor	edx, edx
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rdi
	sub	rsp, 24
	.cfi_def_cfa_offset 48
	mov	esi, DWORD PTR [rdi]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	mov	rcx, rsp
	call	db_eget@PLT
	test	rax, rax
	je	.L2
	mov	DWORD PTR [rbx], 1
	xor	edx, edx
	mov	ecx, 1
	mov	QWORD PTR 8[rbx], 0
.L3:
	mov	DWORD PTR 0[rbp], ecx
	mov	esi, DWORD PTR VM_RCM_MASK[rip]
	mov	rdi, rbp
	mov	QWORD PTR 8[rbp], rdx
	call	F_CLR@PLT
	mov	esi, DWORD PTR VM_RCM_SET[rip]
	mov	rdi, rbp
	call	F_SET@PLT
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L9
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	rdx, QWORD PTR 8[rbx]
	mov	rsi, QWORD PTR [rsp]
	mov	ecx, DWORD PTR [rbx]
	cmp	rdx, rsi
	jb	.L3
	lea	rdx, -1[rsi]
	test	rsi, rsi
	cmove	rdx, rax
	mov	QWORD PTR 8[rbx], rdx
	jmp	.L3
.L9:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	v_ex_done, .-v_ex_done
	.comm	VM_RCM_SET,4,4
	.comm	VM_RCM_MASK,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_v_ex.c_v_ex_done.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	v_ex_done, %function
v_ex_done:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r5, #0
	sub	sp, sp, #16
	str	r5, [sp]
	ldr	ip, .L10
	mov	r4, r1
	mov	r2, r5
	ldr	r1, [r0]
	add	r3, sp, #8
	mov	r6, r0
	ldr	ip, [ip]
	str	ip, [sp, #12]
	mov	ip,#0
	bl	db_eget
	cmp	r0, r5
	beq	.L2
	mov	r3, #1
	stm	r6, {r3, r5}
.L3:
	ldr	r2, .L10+4
	stm	r4, {r3, r5}
	ldr	r1, [r2]
	mov	r0, r4
	bl	F_CLR
	ldr	r3, .L10+8
	mov	r0, r4
	ldr	r1, [r3]
	bl	F_SET
	ldr	r3, .L10
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L9
	mov	r0, #0
	add	sp, sp, #16
	@ sp needed
	pop	{r4, r5, r6, pc}
.L2:
	ldr	r5, [r6, #4]
	ldr	r2, [sp, #8]
	ldr	r3, [r6]
	cmp	r5, r2
	bcc	.L3
	cmp	r2, #0
	moveq	r5, r2
	subne	r5, r2, #1
	str	r5, [r6, #4]
	b	.L3
.L9:
	bl	__stack_chk_fail
.L11:
	.align	2
.L10:
	.word	.LC0
	.word	VM_RCM_MASK
	.word	VM_RCM_SET
	.size	v_ex_done, .-v_ex_done
	.comm	VM_RCM_SET,4,4
	.comm	VM_RCM_MASK,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
