	.file	"extr_evmap.c_event_changelist_remove_all_.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	event_changelist_remove_all_
	.type	event_changelist_remove_all_, @function
event_changelist_remove_all_:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13, rsi
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12, rdi
	mov	rdi, rsi
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	call	event_changelist_check@PLT
	mov	eax, DWORD PTR [r12]
	test	eax, eax
	jle	.L2
	xor	ebx, ebx
	.p2align 4,,10
	.p2align 3
.L3:
	mov	rax, QWORD PTR 8[r12]
	mov	rdi, r13
	lea	rsi, [rax+rbx*4]
	call	event_change_get_fdinfo@PLT
	xor	edi, edi
	mov	rbp, rax
	lea	eax, 1[rbx]
	cmp	DWORD PTR 0[rbp], eax
	sete	dil
	add	rbx, 1
	call	EVUTIL_ASSERT@PLT
	mov	DWORD PTR 0[rbp], 0
	cmp	DWORD PTR [r12], ebx
	jg	.L3
.L2:
	mov	DWORD PTR [r12], 0
	add	rsp, 8
	.cfi_def_cfa_offset 40
	mov	rdi, r13
	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	event_changelist_check@PLT
	.cfi_endproc
.LFE0:
	.size	event_changelist_remove_all_, .-event_changelist_remove_all_
	.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_evmap.c_event_changelist_remove_all_.c"
	.text
	.align	2
	.global	event_changelist_remove_all_
	.syntax unified
	.arm
	.fpu softvfp
	.type	event_changelist_remove_all_, %function
event_changelist_remove_all_:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r6, r0
	mov	r0, r1
	mov	r8, r1
	bl	event_changelist_check
	ldr	r3, [r6]
	cmp	r3, #0
	ble	.L2
	mov	r4, #0
	mov	r7, r4
.L3:
	ldr	r1, [r6, #4]
	mov	r0, r8
	add	r1, r1, r4, lsl #2
	bl	event_change_get_fdinfo
	mov	r5, r0
	ldr	r0, [r0]
	add	r4, r4, #1
	sub	r0, r0, r4
	clz	r0, r0
	lsr	r0, r0, #5
	bl	EVUTIL_ASSERT
	ldr	r3, [r6]
	str	r7, [r5]
	cmp	r4, r3
	blt	.L3
.L2:
	mov	r3, #0
	mov	r0, r8
	str	r3, [r6]
	pop	{r4, r5, r6, r7, r8, lr}
	b	event_changelist_check
	.size	event_changelist_remove_all_, .-event_changelist_remove_all_
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
