	.file	"extr_evmap.c_evmap_io_add_.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	evmap_io_add_
	.type	evmap_io_add_, @function
evmap_io_add_:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rsi
	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
	mov	rbx, QWORD PTR 8[rdi]
	xor	edi, edi
	cmp	QWORD PTR [rdx], rsi
	sete	dil
	call	EVUTIL_ASSERT@PLT
	test	r12, r12
	js	.L5
	cmp	QWORD PTR 0[rbp], r12
	jg	.L4
	mov	edx, 8
	mov	rsi, r12
	mov	rdi, rbp
	call	evmap_make_space@PLT
	cmp	eax, -1
	je	.L1
.L4:
	mov	r9d, DWORD PTR 8[rbx]
	mov	r8d, DWORD PTR evmap_io_init[rip]
	mov	rdx, r12
	xor	edi, edi
	mov	ecx, DWORD PTR evmap_io[rip]
	mov	rsi, rbp
	call	GET_IO_SLOT_AND_CTOR@PLT
	mov	eax, DWORD PTR ds:0
	ud2
	.p2align 4,,10
	.p2align 3
.L5:
	xor	eax, eax
.L1:
	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	evmap_io_add_, .-evmap_io_add_
	.comm	evmap_io_init,4,4
	.comm	evmap_io,4,4
	.comm	ev_io_next,4,4
	.comm	EV_WRITE,2,2
	.comm	EV_READ,2,2
	.comm	EV_ET,2,2
	.comm	EV_CLOSED,2,2
	.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_evmap_io_add_.c"
	.text
	.align	2
	.global	evmap_io_add_
	.syntax unified
	.arm
	.fpu softvfp
	.type	evmap_io_add_, %function
evmap_io_add_:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r5, r0
	ldr	r0, [r2]
	mov	r4, r1
	sub	r0, r0, r1
	clz	r0, r0
	sub	sp, sp, #8
	lsr	r0, r0, #5
	ldr	r6, [r5, #4]
	bl	EVUTIL_ASSERT
	cmp	r4, #0
	blt	.L5
	ldr	r3, [r5]
	cmp	r3, r4
	bgt	.L4
	mov	r2, #4
	mov	r1, r4
	mov	r0, r5
	bl	evmap_make_space
	cmn	r0, #1
	beq	.L1
.L4:
	ldr	r3, .L8
	ldr	r2, [r6, #4]
	ldr	r0, [r3]
	ldr	r3, .L8+4
	str	r2, [sp, #4]
	str	r0, [sp]
	mov	r2, r4
	mov	r1, r5
	ldr	r3, [r3]
	mov	r0, #0
	bl	GET_IO_SLOT_AND_CTOR
	mov	r3, #0
	ldr	r3, [r3]
	.inst	0xe7f000f0
.L5:
	mov	r0, #0
.L1:
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, pc}
.L9:
	.align	2
.L8:
	.word	evmap_io_init
	.word	evmap_io
	.size	evmap_io_add_, .-evmap_io_add_
	.comm	evmap_io_init,4,4
	.comm	evmap_io,4,4
	.comm	ev_io_next,4,4
	.comm	EV_WRITE,2,2
	.comm	EV_READ,2,2
	.comm	EV_ET,2,2
	.comm	EV_CLOSED,2,2
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
