	.file	"extr_event.c_event_queue_make_later_events_active.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	event_queue_make_later_events_active, @function
event_queue_make_later_events_active:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	lea	r12, 24[rbp]
	call	EVENT_BASE_ASSERT_LOCKED@PLT
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L3:
	mov	edx, DWORD PTR evcb_active_next[rip]
	mov	rsi, rbx
	mov	rdi, r12
	call	TAILQ_REMOVE@PLT
	mov	eax, DWORD PTR EVLIST_ACTIVE_LATER[rip]
	xor	edi, edi
	not	eax
	and	eax, DWORD PTR [rbx]
	or	eax, DWORD PTR EVLIST_ACTIVE[rip]
	mov	DWORD PTR [rbx], eax
	mov	rax, QWORD PTR 0[rbp]
	cmp	QWORD PTR 8[rbx], rax
	setb	dil
	call	EVUTIL_ASSERT@PLT
	mov	rdx, QWORD PTR 8[rbx]
	mov	rax, QWORD PTR 16[rbp]
	mov	rsi, rbx
	lea	rdi, [rax+rdx*4]
	mov	edx, DWORD PTR evcb_active_next[rip]
	call	TAILQ_INSERT_TAIL@PLT
	mov	rax, QWORD PTR EV_CLOSURE_CB_SELF[rip]
	cmp	QWORD PTR 16[rbx], rax
	sete	al
	movzx	eax, al
	add	DWORD PTR 8[rbp], eax
.L2:
	mov	rdi, r12
	call	TAILQ_FIRST@PLT
	mov	rbx, rax
	test	rax, rax
	jne	.L3
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	event_queue_make_later_events_active, .-event_queue_make_later_events_active
	.comm	evcb_active_next,4,4
	.comm	EV_CLOSURE_CB_SELF,8,8
	.comm	EVLIST_ACTIVE_LATER,4,4
	.comm	EVLIST_ACTIVE,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_event.c_event_queue_make_later_events_active.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	event_queue_make_later_events_active, %function
event_queue_make_later_events_active:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r5, r0
	bl	EVENT_BASE_ASSERT_LOCKED
	ldr	r7, .L7
	ldr	r10, .L7+4
	ldr	r9, .L7+8
	ldr	r8, .L7+12
	add	r6, r5, #12
.L2:
	mov	r0, r6
	bl	TAILQ_FIRST
	subs	r4, r0, #0
	popeq	{r4, r5, r6, r7, r8, r9, r10, pc}
	mov	r1, r4
	ldr	r2, [r7]
	mov	r0, r6
	bl	TAILQ_REMOVE
	ldr	r2, [r10]
	ldr	r3, [r4]
	ldr	r1, [r9]
	ldr	r0, [r4, #4]
	bic	r3, r3, r2
	ldr	r2, [r5]
	orr	r3, r3, r1
	cmp	r0, r2
	movcs	r0, #0
	movcc	r0, #1
	str	r3, [r4]
	bl	EVUTIL_ASSERT
	ldr	r3, [r5, #8]
	ldr	r0, [r4, #4]
	mov	r1, r4
	ldr	r2, [r7]
	add	r0, r3, r0, lsl #2
	bl	TAILQ_INSERT_TAIL
	ldr	r1, [r4, #8]
	ldr	r3, [r5, #4]
	ldr	r2, [r8]
	cmp	r1, r2
	addeq	r3, r3, #1
	str	r3, [r5, #4]
	b	.L2
.L8:
	.align	2
.L7:
	.word	evcb_active_next
	.word	EVLIST_ACTIVE_LATER
	.word	EVLIST_ACTIVE
	.word	EV_CLOSURE_CB_SELF
	.size	event_queue_make_later_events_active, .-event_queue_make_later_events_active
	.comm	evcb_active_next,4,4
	.comm	EV_CLOSURE_CB_SELF,4,4
	.comm	EVLIST_ACTIVE_LATER,4,4
	.comm	EVLIST_ACTIVE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
