	.file	"extr_35404.c_main.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"error 1"
.LC1:
	.string	"error 2"
.LC2:
	.string	"error 3"
.LC3:
	.string	"error 4"
.LC4:
	.string	"error 5"
.LC5:
	.string	"%ld\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r15
	push	r14
	push	r13
	push	r12
	push	rbx
	sub	rsp, 120
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -56[rbp], rax
	xor	eax, eax
	movsx	rax, DWORD PTR SIZE[rip]
	mov	rbx, rsp
	lea	rax, 15[0+rax*4]
	mov	rcx, rax
	mov	rdx, rax
	and	rcx, -4096
	and	rdx, -16
	sub	rbx, rcx
	mov	rcx, rbx
	cmp	rsp, rcx
	je	.L3
.L70:
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	cmp	rsp, rcx
	jne	.L70
.L3:
	and	edx, 4095
	sub	rsp, rdx
	test	rdx, rdx
	jne	.L71
.L4:
	mov	rcx, rax
	mov	rbx, rsp
	mov	rdx, rax
	mov	r13, rsp
	and	rcx, -4096
	and	rdx, -16
	sub	rbx, rcx
	mov	rcx, rbx
.L5:
	cmp	rsp, rcx
	je	.L6
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L5
.L71:
	or	QWORD PTR -8[rsp+rdx], 0
	jmp	.L4
.L6:
	and	edx, 4095
	sub	rsp, rdx
	test	rdx, rdx
	jne	.L72
.L7:
	mov	rcx, rax
	mov	rbx, rsp
	mov	rdx, rax
	mov	r15, rsp
	and	rcx, -4096
	and	rdx, -16
	sub	rbx, rcx
	mov	rcx, rbx
.L8:
	cmp	rsp, rcx
	je	.L9
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L8
.L72:
	or	QWORD PTR -8[rsp+rdx], 0
	jmp	.L7
.L9:
	and	edx, 4095
	sub	rsp, rdx
	test	rdx, rdx
	je	.L10
	or	QWORD PTR -8[rsp+rdx], 0
.L10:
	mov	rdx, rax
	mov	rbx, rsp
	and	rax, -4096
	mov	QWORD PTR -120[rbp], rsp
	sub	rbx, rax
	and	rdx, -16
	mov	rax, rbx
.L11:
	cmp	rsp, rax
	je	.L12
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L11
.L12:
	mov	rax, rdx
	and	eax, 4095
	sub	rsp, rax
	test	rax, rax
	je	.L13
	or	QWORD PTR -8[rsp+rax], 0
.L13:
	mov	eax, DWORD PTR EPOLLIN[rip]
	mov	edi, 1
	mov	QWORD PTR -152[rbp], rsp
	lea	r12, -100[rbp]
	mov	DWORD PTR -100[rbp], eax
	call	epoll_create@PLT
	cmp	DWORD PTR SIZE[rip], 0
	mov	DWORD PTR -140[rbp], eax
	jle	.L26
	xor	r14d, r14d
	lea	r12, -100[rbp]
	jmp	.L16
	.p2align 4,,10
	.p2align 3
.L15:
	mov	rcx, r14
	mov	eax, DWORD PTR SIZE[rip]
	add	rcx, 1
	mov	r14, rcx
	cmp	eax, ecx
	jle	.L73
.L16:
	mov	edi, 1
	call	epoll_create@PLT
	mov	esi, DWORD PTR EPOLL_CTL_ADD[rip]
	mov	edi, DWORD PTR -140[rbp]
	mov	rcx, r12
	mov	DWORD PTR 0[r13+r14*4], eax
	mov	edx, eax
	call	epoll_ctl@PLT
	mov	ebx, eax
	test	eax, eax
	je	.L15
	lea	rdi, .LC0[rip]
	call	perror@PLT
	jmp	.L15
	.p2align 4,,10
	.p2align 3
.L27:
	add	QWORD PTR -128[rbp], 1
	mov	rcx, QWORD PTR -128[rbp]
	cmp	eax, ecx
	jg	.L30
.L26:
	mov	edi, 1
	call	epoll_create@PLT
	xor	esi, esi
	lea	rdi, -96[rbp]
	mov	r13d, eax
	call	gettimeofday@PLT
	mov	edx, DWORD PTR -140[rbp]
	mov	rcx, r12
	mov	edi, r13d
	mov	esi, DWORD PTR EPOLL_CTL_ADD[rip]
	call	epoll_ctl@PLT
	test	eax, eax
	jne	.L74
.L32:
	xor	esi, esi
	lea	rdi, -80[rbp]
	call	gettimeofday@PLT
	imul	esi, DWORD PTR -80[rbp], 1000000
	lea	rdi, .LC5[rip]
	imul	eax, DWORD PTR -96[rbp], 1000000
	movsx	rsi, esi
	add	rsi, QWORD PTR -72[rbp]
	cdqe
	add	rax, QWORD PTR -88[rbp]
	sub	rsi, rax
	call	printf@PLT
	mov	rax, QWORD PTR -56[rbp]
	xor	rax, QWORD PTR fs:40
	jne	.L75
	lea	rsp, -40[rbp]
	xor	eax, eax
	pop	rbx
	pop	r12
	pop	r13
	pop	r14
	pop	r15
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa 7, 8
	ret
	.p2align 4,,10
	.p2align 3
.L73:
	.cfi_restore_state
	test	eax, eax
	jle	.L26
	mov	QWORD PTR -136[rbp], 0
	.p2align 4,,10
	.p2align 3
.L20:
	mov	edi, 1
	call	epoll_create@PLT
	mov	rsi, QWORD PTR -136[rbp]
	mov	DWORD PTR -128[rbp], eax
	mov	DWORD PTR [r15+rsi*4], eax
	mov	eax, DWORD PTR SIZE[rip]
	test	eax, eax
	jle	.L17
	xor	r14d, r14d
	jmp	.L19
	.p2align 4,,10
	.p2align 3
.L18:
	mov	eax, DWORD PTR SIZE[rip]
	add	r14, 1
	cmp	eax, r14d
	jle	.L17
.L19:
	mov	edi, DWORD PTR 0[r13+r14*4]
	mov	edx, DWORD PTR -128[rbp]
	mov	rcx, r12
	mov	esi, DWORD PTR EPOLL_CTL_ADD[rip]
	call	epoll_ctl@PLT
	test	ebx, ebx
	je	.L18
	lea	rdi, .LC1[rip]
	add	r14, 1
	call	perror@PLT
	mov	eax, DWORD PTR SIZE[rip]
	cmp	eax, r14d
	jg	.L19
.L17:
	add	QWORD PTR -136[rbp], 1
	mov	rsi, QWORD PTR -136[rbp]
	cmp	eax, esi
	jg	.L20
	test	eax, eax
	jle	.L26
	mov	QWORD PTR -128[rbp], 0
	.p2align 4,,10
	.p2align 3
.L25:
	mov	edi, 1
	call	epoll_create@PLT
	mov	rsi, QWORD PTR -128[rbp]
	mov	r14d, eax
	mov	rax, QWORD PTR -120[rbp]
	mov	DWORD PTR [rax+rsi*4], r14d
	mov	eax, DWORD PTR SIZE[rip]
	test	eax, eax
	jle	.L22
	xor	r13d, r13d
	jmp	.L24
	.p2align 4,,10
	.p2align 3
.L23:
	mov	eax, DWORD PTR SIZE[rip]
	add	r13, 1
	cmp	eax, r13d
	jle	.L22
.L24:
	mov	edi, DWORD PTR [r15+r13*4]
	mov	esi, DWORD PTR EPOLL_CTL_ADD[rip]
	mov	rcx, r12
	mov	edx, r14d
	call	epoll_ctl@PLT
	test	ebx, ebx
	je	.L23
	lea	rdi, .LC2[rip]
	add	r13, 1
	call	perror@PLT
	mov	eax, DWORD PTR SIZE[rip]
	cmp	eax, r13d
	jg	.L24
.L22:
	add	QWORD PTR -128[rbp], 1
	mov	rdx, QWORD PTR -128[rbp]
	cmp	eax, edx
	jg	.L25
	test	eax, eax
	jle	.L26
	mov	QWORD PTR -128[rbp], 0
	lea	r14, .LC3[rip]
	.p2align 4,,10
	.p2align 3
.L30:
	mov	edi, 1
	call	epoll_create@PLT
	mov	rdx, QWORD PTR -128[rbp]
	mov	r13d, eax
	mov	rax, QWORD PTR -152[rbp]
	mov	DWORD PTR [rax+rdx*4], r13d
	mov	eax, DWORD PTR SIZE[rip]
	test	eax, eax
	jle	.L27
	xor	r15d, r15d
	jmp	.L29
	.p2align 4,,10
	.p2align 3
.L28:
	mov	eax, DWORD PTR SIZE[rip]
	add	r15, 1
	cmp	eax, r15d
	jle	.L27
.L29:
	mov	rax, QWORD PTR -120[rbp]
	mov	esi, DWORD PTR EPOLL_CTL_ADD[rip]
	mov	rcx, r12
	mov	edx, r13d
	mov	edi, DWORD PTR [rax+r15*4]
	call	epoll_ctl@PLT
	test	ebx, ebx
	je	.L28
	mov	rdi, r14
	call	perror@PLT
	jmp	.L28
.L74:
	lea	rdi, .LC4[rip]
	call	perror@PLT
	jmp	.L32
.L75:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.comm	SIZE,4,4
	.comm	EPOLL_CTL_ADD,4,4
	.comm	EPOLLIN,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_35404.c_main.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"error 1\000"
	.align	2
.LC1:
	.ascii	"error 2\000"
	.align	2
.LC2:
	.ascii	"error 3\000"
	.align	2
.LC3:
	.ascii	"error 4\000"
	.align	2
.LC4:
	.ascii	"error 5\000"
	.align	2
.LC5:
	.ascii	"%ld\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC6:
	.word	__stack_chk_guard
	.section	.text.startup,"ax",%progbits
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 56
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	add	fp, sp, #32
	sub	sp, sp, #60
	ldr	r4, .L54
	ldr	r2, .L54+4
	ldr	r3, [r4]
	ldr	r2, [r2]
	lsl	r3, r3, #2
	add	r3, r3, #7
	bic	r3, r3, #7
	sub	sp, sp, r3
	mov	r5, sp
	sub	sp, sp, r3
	str	sp, [fp, #-68]
	sub	sp, sp, r3
	str	sp, [fp, #-84]
	sub	sp, sp, r3
	ldr	r3, .L54+8
	mov	r0, #1
	ldr	r3, [r3]
	str	r3, [fp, #-40]
	mov	r3,#0
	str	r2, [fp, #-60]
	bl	epoll_create
	ldr	r3, [r4]
	str	r0, [fp, #-80]
	cmp	r3, #0
	ldrle	r10, .L54+12
	str	sp, [fp, #-88]
	suble	r6, fp, #60
	ble	.L14
	sub	r3, r5, #4
	mov	r8, r3
	mov	r7, #0
	ldr	r10, .L54+12
	ldr	r9, .L54+16
	ldr	r5, [fp, #-80]
	str	r3, [fp, #-76]
	sub	r6, fp, #60
	b	.L4
.L3:
	ldr	r3, [r4]
	add	r7, r7, #1
	cmp	r3, r7
	ble	.L48
.L4:
	mov	r0, #1
	bl	epoll_create
	mov	r2, r0
	mov	r3, r6
	str	r2, [r8, #4]!
	mov	r0, r5
	ldr	r1, [r10]
	bl	epoll_ctl
	subs	r2, r0, #0
	beq	.L3
	mov	r0, r9
	str	r2, [fp, #-64]
	bl	perror
	ldr	r3, [r4]
	add	r7, r7, #1
	cmp	r3, r7
	ldr	r2, [fp, #-64]
	bgt	.L4
.L48:
	cmp	r3, #0
	mov	r5, r2
	ble	.L14
	ldr	r3, [fp, #-68]
	sub	r3, r3, #4
	str	r3, [fp, #-72]
	str	r3, [fp, #-64]
	mov	r3, #0
	str	r3, [fp, #-68]
.L8:
	mov	r0, #1
	bl	epoll_create
	ldr	r2, [fp, #-64]
	ldr	r3, [r4]
	str	r0, [r2, #4]!
	cmp	r3, #0
	mov	r9, r0
	str	r2, [fp, #-64]
	ble	.L14
	mov	r7, #0
	ldr	r8, [fp, #-76]
	b	.L7
.L6:
	ldr	r3, [r4]
	add	r7, r7, #1
	cmp	r3, r7
	ble	.L49
.L7:
	mov	r3, r6
	mov	r2, r9
	ldr	r1, [r10]
	ldr	r0, [r8, #4]!
	bl	epoll_ctl
	cmp	r5, #0
	beq	.L6
	ldr	r0, .L54+20
	bl	perror
	ldr	r3, [r4]
	add	r7, r7, #1
	cmp	r3, r7
	bgt	.L7
.L49:
	ldr	r2, [fp, #-68]
	add	r2, r2, #1
	cmp	r3, r2
	str	r2, [fp, #-68]
	bgt	.L8
	cmp	r3, #0
	ble	.L14
	ldr	r3, [fp, #-84]
	sub	r3, r3, #4
	str	r3, [fp, #-76]
	str	r3, [fp, #-64]
	mov	r3, #0
	str	r3, [fp, #-68]
.L13:
	mov	r0, #1
	bl	epoll_create
	ldr	r2, [fp, #-64]
	ldr	r3, [r4]
	str	r0, [r2, #4]!
	cmp	r3, #0
	mov	r9, r0
	str	r2, [fp, #-64]
	ble	.L14
	mov	r7, #0
	ldr	r8, [fp, #-72]
	b	.L12
.L11:
	ldr	r3, [r4]
	add	r7, r7, #1
	cmp	r3, r7
	ble	.L50
.L12:
	mov	r3, r6
	mov	r2, r9
	ldr	r1, [r10]
	ldr	r0, [r8, #4]!
	bl	epoll_ctl
	cmp	r5, #0
	beq	.L11
	ldr	r0, .L54+24
	bl	perror
	ldr	r3, [r4]
	add	r7, r7, #1
	cmp	r3, r7
	bgt	.L12
.L50:
	ldr	r2, [fp, #-68]
	add	r2, r2, #1
	cmp	r3, r2
	str	r2, [fp, #-68]
	bgt	.L13
	cmp	r3, #0
	ble	.L14
	mov	r3, #0
	str	r3, [fp, #-68]
	ldr	r3, [fp, #-88]
	sub	r3, r3, #4
	str	r3, [fp, #-64]
.L17:
	mov	r0, #1
	bl	epoll_create
	ldr	r2, [fp, #-64]
	ldr	r3, [r4]
	str	r0, [r2, #4]!
	cmp	r3, #0
	mov	r9, r0
	str	r2, [fp, #-64]
	ble	.L14
	mov	r7, #0
	ldr	r8, [fp, #-76]
	b	.L16
.L15:
	ldr	r3, [r4]
	add	r7, r7, #1
	cmp	r3, r7
	ble	.L51
.L16:
	mov	r3, r6
	mov	r2, r9
	ldr	r1, [r10]
	ldr	r0, [r8, #4]!
	bl	epoll_ctl
	cmp	r5, #0
	beq	.L15
	ldr	r0, .L54+28
	bl	perror
	ldr	r3, [r4]
	add	r7, r7, #1
	cmp	r3, r7
	bgt	.L16
.L51:
	ldr	r2, [fp, #-68]
	add	r2, r2, #1
	cmp	r3, r2
	str	r2, [fp, #-68]
	bgt	.L17
.L14:
	mov	r0, #1
	bl	epoll_create
	mov	r4, r0
	mov	r1, #0
	sub	r0, fp, #56
	bl	gettimeofday
	mov	r3, r6
	mov	r0, r4
	ldr	r2, [fp, #-80]
	ldr	r1, [r10]
	bl	epoll_ctl
	cmp	r0, #0
	bne	.L52
.L19:
	mov	r1, #0
	sub	r0, fp, #48
	bl	gettimeofday
	ldr	r2, [fp, #-48]
	ldr	r3, [fp, #-56]
	rsb	r0, r2, r2, lsl #5
	rsb	r1, r3, r3, lsl #5
	ldr	lr, [fp, #-44]
	ldr	ip, [fp, #-52]
	rsb	r0, r0, r0, lsl #6
	rsb	r1, r1, r1, lsl #6
	add	r2, r2, r0, lsl #3
	add	r3, r3, r1, lsl #3
	add	r2, lr, r2, lsl #6
	add	r3, ip, r3, lsl #6
	sub	r1, r2, r3
	ldr	r0, .L54+32
	bl	printf
	ldr	r3, .L54+8
	ldr	r2, [r3]
	ldr	r3, [fp, #-40]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L53
	mov	r0, #0
	sub	sp, fp, #32
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L52:
	ldr	r0, .L54+36
	bl	perror
	b	.L19
.L53:
	bl	__stack_chk_fail
.L55:
	.align	2
.L54:
	.word	SIZE
	.word	EPOLLIN
	.word	.LC6
	.word	EPOLL_CTL_ADD
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC5
	.word	.LC4
	.size	main, .-main
	.comm	SIZE,4,4
	.comm	EPOLL_CTL_ADD,4,4
	.comm	EPOLLIN,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
