	.file	"111820.c"
	.intel_syntax noprefix
	.text
	.local	event_fd_list
	.comm	event_fd_list,40,32
	.type	event_fd_list_insert, @function
event_fd_list_insert:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -8[rbp], rdi
	mov	QWORD PTR -16[rbp], rsi
	mov	rax, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR 8[rax]
	mov	rax, QWORD PTR -16[rbp]
	mov	QWORD PTR 8[rax], rdx
	mov	rax, QWORD PTR -16[rbp]
	mov	rdx, QWORD PTR -8[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 8[rax]
	test	rax, rax
	je	.L2
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	rdx, QWORD PTR -16[rbp]
	mov	QWORD PTR [rax], rdx
.L2:
	mov	rax, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR -16[rbp]
	mov	QWORD PTR 8[rax], rdx
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	event_fd_list_insert, .-event_fd_list_insert
	.type	event_fd_list_delete, @function
event_fd_list_delete:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdx, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR 8[rdx]
	mov	QWORD PTR 8[rax], rdx
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 8[rax]
	test	rax, rax
	je	.L5
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	rdx, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR [rdx]
	mov	QWORD PTR [rax], rdx
.L5:
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	event_fd_list_delete, .-event_fd_list_delete
	.globl	event_fd_handler_register
	.type	event_fd_handler_register, @function
event_fd_handler_register:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	DWORD PTR -20[rbp], edi
	mov	QWORD PTR -32[rbp], rsi
	mov	QWORD PTR -40[rbp], rdx
	mov	edi, 40
	call	malloc@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L7
	mov	eax, -1
	jmp	.L8
.L7:
	mov	rax, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR -40[rbp]
	mov	QWORD PTR 24[rax], rdx
	mov	rax, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR -32[rbp]
	mov	QWORD PTR 16[rax], rdx
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, DWORD PTR -20[rbp]
	mov	DWORD PTR 32[rax], edx
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rax
	lea	rdi, event_fd_list[rip]
	call	event_fd_list_insert
	mov	eax, 0
.L8:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	event_fd_handler_register, .-event_fd_handler_register
	.globl	event_fd_handler_unregister
	.type	event_fd_handler_unregister, @function
event_fd_handler_unregister:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	DWORD PTR -20[rbp], edi
	mov	rax, QWORD PTR event_fd_list[rip+8]
	mov	QWORD PTR -8[rbp], rax
	jmp	.L10
.L13:
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 32[rax]
	cmp	DWORD PTR -20[rbp], eax
	jne	.L11
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	event_fd_list_delete
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	free@PLT
	jmp	.L9
.L11:
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -8[rbp], rax
.L10:
	cmp	QWORD PTR -8[rbp], 0
	jne	.L13
.L9:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	event_fd_handler_unregister, .-event_fd_handler_unregister
	.globl	event_process
	.type	event_process, @function
event_process:
.LFB10:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 304
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -304[rbp], 0
	mov	eax, 0
	mov	ecx, 16
	lea	rdx, -144[rbp]
	mov	rdi, rdx
#APP
# 76 "the_stack_data/111820.c" 1
	cld; rep; stosq
# 0 "" 2
#NO_APP
	mov	eax, edi
	mov	edx, ecx
	mov	DWORD PTR -300[rbp], edx
	mov	DWORD PTR -296[rbp], eax
	lea	rax, -272[rbp]
	mov	rdi, rax
	call	sigemptyset@PLT
	mov	rax, QWORD PTR event_fd_list[rip+8]
	mov	QWORD PTR -288[rbp], rax
	jmp	.L15
.L16:
	mov	rax, QWORD PTR -288[rbp]
	mov	eax, DWORD PTR 32[rax]
	lea	edx, 63[rax]
	test	eax, eax
	cmovs	eax, edx
	sar	eax, 6
	mov	esi, eax
	movsx	rax, esi
	mov	rdi, QWORD PTR -144[rbp+rax*8]
	mov	rax, QWORD PTR -288[rbp]
	mov	eax, DWORD PTR 32[rax]
	cdq
	shr	edx, 26
	add	eax, edx
	and	eax, 63
	sub	eax, edx
	mov	edx, 1
	mov	ecx, eax
	sal	rdx, cl
	mov	rax, rdx
	or	rdi, rax
	mov	rdx, rdi
	movsx	rax, esi
	mov	QWORD PTR -144[rbp+rax*8], rdx
	mov	rax, QWORD PTR -288[rbp]
	mov	eax, DWORD PTR 32[rax]
	cmp	DWORD PTR -304[rbp], eax
	cmovge	eax, DWORD PTR -304[rbp]
	mov	DWORD PTR -304[rbp], eax
	mov	rax, QWORD PTR -288[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -288[rbp], rax
.L15:
	cmp	QWORD PTR -288[rbp], 0
	jne	.L16
	mov	eax, DWORD PTR -304[rbp]
	lea	edi, 1[rax]
	lea	rdx, -272[rbp]
	lea	rax, -144[rbp]
	mov	r9, rdx
	mov	r8d, 0
	mov	ecx, 0
	mov	edx, 0
	mov	rsi, rax
	call	pselect@PLT
	mov	DWORD PTR -292[rbp], eax
	cmp	DWORD PTR -292[rbp], 0
	jns	.L17
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	cmp	eax, 4
	jne	.L17
	mov	eax, 0
	jmp	.L22
.L17:
	mov	rax, QWORD PTR event_fd_list[rip+8]
	mov	QWORD PTR -288[rbp], rax
	jmp	.L19
.L21:
	mov	rax, QWORD PTR -288[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -280[rbp], rax
	mov	rax, QWORD PTR -288[rbp]
	mov	eax, DWORD PTR 32[rax]
	lea	edx, 63[rax]
	test	eax, eax
	cmovs	eax, edx
	sar	eax, 6
	cdqe
	mov	rsi, QWORD PTR -144[rbp+rax*8]
	mov	rax, QWORD PTR -288[rbp]
	mov	eax, DWORD PTR 32[rax]
	cdq
	shr	edx, 26
	add	eax, edx
	and	eax, 63
	sub	eax, edx
	mov	edx, 1
	mov	ecx, eax
	sal	rdx, cl
	mov	rax, rdx
	and	rax, rsi
	test	rax, rax
	je	.L20
	mov	rax, QWORD PTR -288[rbp]
	mov	rcx, QWORD PTR 16[rax]
	mov	rax, QWORD PTR -288[rbp]
	mov	rdx, QWORD PTR 24[rax]
	mov	rax, QWORD PTR -288[rbp]
	mov	eax, DWORD PTR 32[rax]
	mov	rsi, rdx
	mov	edi, eax
	call	rcx
.L20:
	mov	rax, QWORD PTR -280[rbp]
	mov	QWORD PTR -288[rbp], rax
.L19:
	cmp	QWORD PTR -288[rbp], 0
	jne	.L21
	mov	eax, DWORD PTR -292[rbp]
.L22:
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L23
	call	__stack_chk_fail@PLT
.L23:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	event_process, .-event_process
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.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, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"111820.c"
	.text
	.local	event_fd_list
	.comm	event_fd_list,20,4
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	event_fd_list_insert, %function
event_fd_list_insert:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	ldr	r3, [fp, #-8]
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-12]
	str	r2, [r3, #4]
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-8]
	str	r2, [r3]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #4]
	cmp	r3, #0
	beq	.L2
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #4]
	ldr	r2, [fp, #-12]
	str	r2, [r3]
.L2:
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-12]
	str	r2, [r3, #4]
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	event_fd_list_insert, .-event_fd_list_insert
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	event_fd_list_delete, %function
event_fd_list_delete:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	ldr	r2, [r2, #4]
	str	r2, [r3, #4]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #4]
	cmp	r3, #0
	beq	.L5
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #4]
	ldr	r2, [fp, #-8]
	ldr	r2, [r2]
	str	r2, [r3]
.L5:
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	event_fd_list_delete, .-event_fd_list_delete
	.align	2
	.global	event_fd_handler_register
	.syntax unified
	.arm
	.fpu softvfp
	.type	event_fd_handler_register, %function
event_fd_handler_register:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	mov	r0, #20
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L7
	mvn	r3, #0
	b	.L8
.L7:
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-24]
	str	r2, [r3, #12]
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-20]
	str	r2, [r3, #8]
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-16]
	str	r2, [r3, #16]
	ldr	r1, [fp, #-8]
	ldr	r0, .L9
	bl	event_fd_list_insert
	mov	r3, #0
.L8:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L10:
	.align	2
.L9:
	.word	event_fd_list
	.size	event_fd_handler_register, .-event_fd_handler_register
	.align	2
	.global	event_fd_handler_unregister
	.syntax unified
	.arm
	.fpu softvfp
	.type	event_fd_handler_unregister, %function
event_fd_handler_unregister:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	ldr	r3, .L16
	ldr	r3, [r3, #4]
	str	r3, [fp, #-8]
	b	.L12
.L15:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #16]
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	bne	.L13
	ldr	r0, [fp, #-8]
	bl	event_fd_list_delete
	ldr	r0, [fp, #-8]
	bl	free
	b	.L11
.L13:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-8]
.L12:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L15
.L11:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L17:
	.align	2
.L16:
	.word	event_fd_list
	.size	event_fd_handler_unregister, .-event_fd_handler_unregister
	.section	.rodata
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	event_process
	.syntax unified
	.arm
	.fpu softvfp
	.type	event_process, %function
event_process:
	@ args = 0, pretend = 0, frame = 288
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #296
	ldr	r3, .L30
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-284]
	sub	r3, fp, #136
	str	r3, [fp, #-276]
	mov	r3, #0
	str	r3, [fp, #-280]
	b	.L19
.L20:
	ldr	r3, [fp, #-276]
	ldr	r2, [fp, #-280]
	mov	r1, #0
	str	r1, [r3, r2, lsl #2]
	ldr	r3, [fp, #-280]
	add	r3, r3, #1
	str	r3, [fp, #-280]
.L19:
	ldr	r3, [fp, #-280]
	cmp	r3, #31
	bls	.L20
	sub	r3, fp, #264
	mov	r0, r3
	bl	sigemptyset
	ldr	r3, .L30+4
	ldr	r3, [r3, #4]
	str	r3, [fp, #-288]
	b	.L21
.L22:
	ldr	r3, [fp, #-288]
	ldr	r3, [r3, #16]
	add	r2, r3, #31
	cmp	r3, #0
	movlt	r3, r2
	movge	r3, r3
	asr	r3, r3, #5
	mov	r2, r3
	lsl	r3, r2, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	ldr	r1, [r3, #-132]
	ldr	r3, [fp, #-288]
	ldr	r3, [r3, #16]
	rsbs	r0, r3, #0
	and	r3, r3, #31
	and	r0, r0, #31
	rsbpl	r3, r0, #0
	mov	r0, #1
	lsl	r3, r0, r3
	orr	r1, r1, r3
	lsl	r3, r2, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	str	r1, [r3, #-132]
	ldr	r3, [fp, #-288]
	ldr	r3, [r3, #16]
	ldr	r2, [fp, #-284]
	cmp	r2, r3
	movge	r3, r2
	movlt	r3, r3
	str	r3, [fp, #-284]
	ldr	r3, [fp, #-288]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-288]
.L21:
	ldr	r3, [fp, #-288]
	cmp	r3, #0
	bne	.L22
	ldr	r3, [fp, #-284]
	add	r0, r3, #1
	sub	r1, fp, #136
	sub	r3, fp, #264
	str	r3, [sp, #4]
	mov	r3, #0
	str	r3, [sp]
	mov	r3, #0
	mov	r2, #0
	bl	pselect
	str	r0, [fp, #-272]
	ldr	r3, [fp, #-272]
	cmp	r3, #0
	bge	.L23
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	cmp	r3, #4
	bne	.L23
	mov	r3, #0
	b	.L28
.L23:
	ldr	r3, .L30+4
	ldr	r3, [r3, #4]
	str	r3, [fp, #-288]
	b	.L25
.L27:
	ldr	r3, [fp, #-288]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-268]
	ldr	r3, [fp, #-288]
	ldr	r3, [r3, #16]
	add	r2, r3, #31
	cmp	r3, #0
	movlt	r3, r2
	movge	r3, r3
	asr	r3, r3, #5
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r2, [r3, #-132]
	ldr	r3, [fp, #-288]
	ldr	r3, [r3, #16]
	rsbs	r1, r3, #0
	and	r3, r3, #31
	and	r1, r1, #31
	rsbpl	r3, r1, #0
	mov	r1, #1
	lsl	r3, r1, r3
	and	r3, r3, r2
	cmp	r3, #0
	beq	.L26
	ldr	r3, [fp, #-288]
	ldr	r3, [r3, #8]
	ldr	r2, [fp, #-288]
	ldr	r0, [r2, #16]
	ldr	r2, [fp, #-288]
	ldr	r2, [r2, #12]
	mov	r1, r2
	blx	r3
.L26:
	ldr	r3, [fp, #-268]
	str	r3, [fp, #-288]
.L25:
	ldr	r3, [fp, #-288]
	cmp	r3, #0
	bne	.L27
	ldr	r3, [fp, #-272]
.L28:
	ldr	r2, .L30
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L29
	bl	__stack_chk_fail
.L29:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L31:
	.align	2
.L30:
	.word	.LC0
	.word	event_fd_list
	.size	event_process, .-event_process
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
