	.file	"extr_event.c_event_callback_activate_nolock_.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	event_callback_activate_nolock_
	.type	event_callback_activate_nolock_, @function
event_callback_activate_nolock_:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	eax, DWORD PTR [rsi]
	mov	r13d, eax
	and	r13d, DWORD PTR EVLIST_FINALIZING[rip]
	jne	.L5
	and	eax, 129
	mov	r12, rdi
	mov	rbp, rsi
	cmp	eax, 128
	je	.L3
	cmp	eax, 129
	je	.L1
	test	eax, eax
	je	.L6
	xor	edi, edi
	call	EVUTIL_ASSERT@PLT
.L3:
	mov	rsi, rbp
	mov	rdi, r12
	call	event_queue_remove_active_later@PLT
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L5:
	xor	r13d, r13d
.L1:
	mov	eax, r13d
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	mov	r13d, 1
.L4:
	mov	rdi, r12
	mov	rsi, rbp
	call	event_queue_insert_active@PLT
	mov	rdi, r12
	call	EVBASE_NEED_NOTIFY@PLT
	test	rax, rax
	je	.L1
	mov	rdi, r12
	call	evthread_notify_base@PLT
	mov	eax, r13d
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	event_callback_activate_nolock_, .-event_callback_activate_nolock_
	.comm	EVLIST_FINALIZING,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_callback_activate_nolock_.c"
	.text
	.align	2
	.global	event_callback_activate_nolock_
	.syntax unified
	.arm
	.fpu softvfp
	.type	event_callback_activate_nolock_, %function
event_callback_activate_nolock_:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r2, .L19
	ldr	r3, [r1]
	ldr	r2, [r2]
	push	{r4, r5, r6, lr}
	ands	r4, r3, r2
	movne	r4, #0
	bne	.L1
	and	r3, r3, #129
	cmp	r3, #128
	mov	r5, r1
	mov	r6, r0
	beq	.L3
	cmp	r3, #129
	beq	.L1
	cmp	r3, #0
	moveq	r4, #1
	beq	.L4
	mov	r0, r4
	bl	EVUTIL_ASSERT
.L3:
	mov	r1, r5
	mov	r0, r6
	bl	event_queue_remove_active_later
.L4:
	mov	r1, r5
	mov	r0, r6
	bl	event_queue_insert_active
	mov	r0, r6
	bl	EVBASE_NEED_NOTIFY
	cmp	r0, #0
	bne	.L18
.L1:
	mov	r0, r4
	pop	{r4, r5, r6, pc}
.L18:
	mov	r0, r6
	bl	evthread_notify_base
	mov	r0, r4
	pop	{r4, r5, r6, pc}
.L20:
	.align	2
.L19:
	.word	EVLIST_FINALIZING
	.size	event_callback_activate_nolock_, .-event_callback_activate_nolock_
	.comm	EVLIST_FINALIZING,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
