	.file	"72011603.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"sock_server"
.LC1:
	.string	"Server socket() failed"
.LC2:
	.string	"Server bind() failed"
.LC3:
	.string	"Srevet listen() failed"
.LC4:
	.string	"Server start"
.LC5:
	.string	"Server epoll_wait() failed"
.LC6:
	.string	"Current connect counts: [%d]\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	r11, -69632[rsp]
.LPSRL0:
	sub	rsp, 4096
	or	DWORD PTR [rsp], 0
	cmp	rsp, r11
	jne	.LPSRL0
	sub	rsp, 2800
	mov	DWORD PTR -72420[rbp], edi
	mov	QWORD PTR -72432[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -72416[rbp], 1
	mov	DWORD PTR -72412[rbp], 0
	lea	rax, -72384[rbp]
	mov	edx, 110
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	WORD PTR -72384[rbp], 1
	lea	rdi, .LC0[rip]
	call	unlink@PLT
	lea	rax, -72384[rbp]
	add	rax, 2
	movabs	rcx, 8243121546632327027
	mov	QWORD PTR [rax], rcx
	mov	DWORD PTR 8[rax], 7497078
	mov	edx, 0
	mov	esi, 1
	mov	edi, 1
	call	socket@PLT
	mov	DWORD PTR -72408[rbp], eax
	cmp	DWORD PTR -72408[rbp], 0
	jns	.L2
	lea	rdi, .LC1[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L2:
	lea	rdx, -72416[rbp]
	mov	eax, DWORD PTR -72408[rbp]
	mov	r8d, 4
	mov	rcx, rdx
	mov	edx, 2
	mov	esi, 1
	mov	edi, eax
	call	setsockopt@PLT
	lea	rcx, -72384[rbp]
	mov	eax, DWORD PTR -72408[rbp]
	mov	edx, 110
	mov	rsi, rcx
	mov	edi, eax
	call	bind@PLT
	mov	DWORD PTR -72404[rbp], eax
	cmp	DWORD PTR -72404[rbp], 0
	jns	.L3
	lea	rdi, .LC2[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L3:
	mov	eax, DWORD PTR -72408[rbp]
	mov	esi, 10
	mov	edi, eax
	call	listen@PLT
	mov	DWORD PTR -72404[rbp], eax
	cmp	DWORD PTR -72404[rbp], 0
	jns	.L4
	lea	rdi, .LC3[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L4:
	lea	rdi, .LC4[rip]
	call	puts@PLT
	mov	edi, 6000
	call	epoll_create@PLT
	mov	DWORD PTR -72400[rbp], eax
	lea	rax, -72272[rbp]
	mov	edx, 6000
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	DWORD PTR -72396[rbp], 1
	mov	eax, DWORD PTR -72408[rbp]
	mov	DWORD PTR -72392[rbp], eax
	lea	rcx, -72396[rbp]
	mov	edx, DWORD PTR -72408[rbp]
	mov	eax, DWORD PTR -72400[rbp]
	mov	esi, 1
	mov	edi, eax
	call	epoll_ctl@PLT
.L6:
	lea	rsi, -72272[rbp]
	mov	eax, DWORD PTR -72400[rbp]
	mov	ecx, -1
	mov	edx, 6000
	mov	edi, eax
	call	epoll_wait@PLT
	mov	DWORD PTR -72404[rbp], eax
	cmp	DWORD PTR -72404[rbp], 0
	jns	.L5
	lea	rdi, .LC5[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L5:
	lea	r9, -144[rbp]
	lea	r8, -272[rbp]
	mov	ecx, DWORD PTR -72408[rbp]
	mov	edx, DWORD PTR -72404[rbp]
	lea	rsi, -72272[rbp]
	mov	eax, DWORD PTR -72400[rbp]
	sub	rsp, 8
	lea	rdi, -72412[rbp]
	push	rdi
	mov	edi, eax
	call	handle_events
	add	rsp, 16
	mov	eax, DWORD PTR -72412[rbp]
	mov	esi, eax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L6
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.section	.rodata
.LC7:
	.string	"connect client: %d\n"
.LC8:
	.string	"Server recv() failed"
.LC9:
	.string	"closed client: %d\n"
.LC10:
	.string	"Server recv: %s\n"
.LC11:
	.string	"Welcome client: %d"
.LC12:
	.string	"Server send: %s\n"
.LC13:
	.string	"Server send() failed"
	.text
	.type	handle_events, @function
handle_events:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 96
	mov	DWORD PTR -52[rbp], edi
	mov	QWORD PTR -64[rbp], rsi
	mov	DWORD PTR -56[rbp], edx
	mov	DWORD PTR -68[rbp], ecx
	mov	QWORD PTR -80[rbp], r8
	mov	QWORD PTR -88[rbp], r9
	mov	rax, QWORD PTR 16[rbp]
	mov	QWORD PTR -96[rbp], rax
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -36[rbp], 0
	jmp	.L9
.L15:
	mov	eax, DWORD PTR -36[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR 4[rax]
	cmp	DWORD PTR -68[rbp], eax
	jne	.L10
	mov	eax, DWORD PTR -68[rbp]
	mov	edx, 0
	mov	esi, 0
	mov	edi, eax
	call	accept@PLT
	mov	DWORD PTR -24[rbp], eax
	cmp	DWORD PTR -24[rbp], 0
	js	.L17
	mov	DWORD PTR -20[rbp], 1
	mov	eax, DWORD PTR -24[rbp]
	mov	DWORD PTR -16[rbp], eax
	lea	rcx, -20[rbp]
	mov	edx, DWORD PTR -24[rbp]
	mov	eax, DWORD PTR -52[rbp]
	mov	esi, 1
	mov	edi, eax
	call	epoll_ctl@PLT
	mov	eax, DWORD PTR -24[rbp]
	mov	esi, eax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -96[rbp]
	mov	eax, DWORD PTR [rax]
	lea	edx, 1[rax]
	mov	rax, QWORD PTR -96[rbp]
	mov	DWORD PTR [rax], edx
	jmp	.L12
.L10:
	mov	rax, QWORD PTR -80[rbp]
	mov	edx, 128
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	eax, DWORD PTR -36[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR 4[rax]
	mov	rsi, QWORD PTR -80[rbp]
	mov	ecx, 0
	mov	edx, 128
	mov	edi, eax
	call	recv@PLT
	mov	DWORD PTR -32[rbp], eax
	cmp	DWORD PTR -32[rbp], 0
	jns	.L13
	lea	rdi, .LC8[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L13:
	cmp	DWORD PTR -32[rbp], 0
	jne	.L14
	mov	eax, DWORD PTR -36[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR 4[rax]
	mov	eax, DWORD PTR -52[rbp]
	mov	ecx, 0
	mov	esi, 2
	mov	edi, eax
	call	epoll_ctl@PLT
	mov	eax, DWORD PTR -36[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR 4[rax]
	mov	edi, eax
	call	close@PLT
	mov	eax, DWORD PTR -36[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR 4[rax]
	mov	esi, eax
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -96[rbp]
	mov	eax, DWORD PTR [rax]
	lea	edx, -1[rax]
	mov	rax, QWORD PTR -96[rbp]
	mov	DWORD PTR [rax], edx
	jmp	.L12
.L14:
	mov	eax, DWORD PTR -32[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -80[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 0
	mov	rax, QWORD PTR -80[rbp]
	mov	rsi, rax
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -36[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR 4[rax]
	mov	rax, QWORD PTR -88[rbp]
	lea	rsi, .LC11[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	mov	rax, QWORD PTR -88[rbp]
	mov	rsi, rax
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -88[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdi, rax
	mov	eax, DWORD PTR -36[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR 4[rax]
	mov	rsi, QWORD PTR -88[rbp]
	mov	ecx, 0
	mov	rdx, rdi
	mov	edi, eax
	call	send@PLT
	mov	DWORD PTR -28[rbp], eax
	cmp	DWORD PTR -28[rbp], 0
	jns	.L12
	lea	rdi, .LC13[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L17:
	nop
.L12:
	add	DWORD PTR -36[rbp], 1
.L9:
	mov	eax, DWORD PTR -36[rbp]
	cmp	eax, DWORD PTR -56[rbp]
	jl	.L15
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L16
	call	__stack_chk_fail@PLT
.L16:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	handle_events, .-handle_events
	.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	"72011603.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"sock_server\000"
	.align	2
.LC1:
	.ascii	"Server socket() failed\000"
	.align	2
.LC2:
	.ascii	"Server bind() failed\000"
	.align	2
.LC3:
	.ascii	"Srevet listen() failed\000"
	.align	2
.LC4:
	.ascii	"Server start\000"
	.align	2
.LC5:
	.ascii	"Server epoll_wait() failed\000"
	.align	2
.LC6:
	.ascii	"Current connect counts: [%d]\012\000"
	.align	2
.LC7:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 96424
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #96256
	sub	sp, sp, #188
	sub	r3, fp, #94208
	sub	r3, r3, #12
	str	r0, [r3, #-2212]
	sub	r3, fp, #94208
	sub	r3, r3, #12
	str	r1, [r3, #-2216]
	ldr	r3, .L8
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	sub	r3, fp, #94208
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #1
	str	r3, [r2, #-2204]
	sub	r3, fp, #94208
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-2200]
	sub	r3, fp, #96256
	sub	r3, r3, #12
	sub	r3, r3, #120
	mov	r2, #110
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #94208
	sub	r3, r3, #12
	sub	r3, r3, #2160
	sub	r3, r3, #8
	mov	r2, #1
	strh	r2, [r3]	@ movhi
	ldr	r0, .L8+4
	bl	unlink
	sub	r3, fp, #96256
	sub	r3, r3, #12
	sub	r3, r3, #120
	add	r3, r3, #2
	ldr	r2, .L8+4
	mov	r0, r3
	mov	r1, r2
	mov	r3, #12
	mov	r2, r3
	bl	memcpy
	sub	r3, fp, #94208
	sub	r3, r3, #12
	mov	r4, r3
	mov	r2, #0
	mov	r1, #1
	mov	r0, #1
	bl	socket
	str	r0, [r4, #-2196]
	sub	r3, fp, #94208
	sub	r3, r3, #12
	ldr	r3, [r3, #-2196]
	cmp	r3, #0
	bge	.L2
	ldr	r0, .L8+8
	bl	perror
	mov	r0, #1
	bl	exit
.L2:
	sub	r3, fp, #96256
	sub	r3, r3, #12
	sub	r3, r3, #156
	sub	r2, fp, #94208
	sub	r2, r2, #12
	mov	r0, r2
	mov	r2, #4
	str	r2, [sp]
	mov	r2, #2
	mov	r1, #1
	ldr	r0, [r0, #-2196]
	bl	setsockopt
	sub	r3, fp, #94208
	sub	r3, r3, #12
	mov	r4, r3
	sub	r3, fp, #96256
	sub	r3, r3, #12
	sub	r3, r3, #120
	sub	r2, fp, #94208
	sub	r2, r2, #12
	mov	r0, r2
	mov	r2, #110
	mov	r1, r3
	ldr	r0, [r0, #-2196]
	bl	bind
	str	r0, [r4, #-2192]
	sub	r3, fp, #94208
	sub	r3, r3, #12
	ldr	r3, [r3, #-2192]
	cmp	r3, #0
	bge	.L3
	ldr	r0, .L8+12
	bl	perror
	mov	r0, #1
	bl	exit
.L3:
	sub	r3, fp, #94208
	sub	r3, r3, #12
	mov	r4, r3
	sub	r3, fp, #94208
	sub	r3, r3, #12
	mov	r1, #10
	ldr	r0, [r3, #-2196]
	bl	listen
	str	r0, [r4, #-2192]
	sub	r3, fp, #94208
	sub	r3, r3, #12
	ldr	r3, [r3, #-2192]
	cmp	r3, #0
	bge	.L4
	ldr	r0, .L8+16
	bl	perror
	mov	r0, #1
	bl	exit
.L4:
	ldr	r0, .L8+20
	bl	puts
	sub	r3, fp, #94208
	sub	r3, r3, #12
	mov	r4, r3
	ldr	r0, .L8+24
	bl	epoll_create
	str	r0, [r4, #-2188]
	sub	r3, fp, #96256
	sub	r3, r3, #12
	sub	r3, r3, #8
	ldr	r2, .L8+24
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #94208
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #1
	str	r3, [r2, #-2184]
	sub	r3, fp, #94208
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #94208
	sub	r3, r3, #12
	ldr	r3, [r3, #-2196]
	str	r3, [r2, #-2176]
	sub	r3, fp, #96256
	sub	r3, r3, #12
	sub	r3, r3, #136
	sub	r2, fp, #94208
	sub	r2, r2, #12
	sub	r1, fp, #94208
	sub	r1, r1, #12
	mov	r0, r1
	ldr	r2, [r2, #-2196]
	mov	r1, #1
	ldr	r0, [r0, #-2188]
	bl	epoll_ctl
.L6:
	sub	r3, fp, #94208
	sub	r3, r3, #12
	mov	r4, r3
	sub	r1, fp, #96256
	sub	r1, r1, #12
	sub	r1, r1, #8
	sub	r3, fp, #94208
	sub	r3, r3, #12
	mov	r0, r3
	mvn	r3, #0
	ldr	r2, .L8+24
	ldr	r0, [r0, #-2188]
	bl	epoll_wait
	str	r0, [r4, #-2192]
	sub	r3, fp, #94208
	sub	r3, r3, #12
	ldr	r3, [r3, #-2192]
	cmp	r3, #0
	bge	.L5
	ldr	r0, .L8+28
	bl	perror
	mov	r0, #1
	bl	exit
.L5:
	sub	r3, fp, #94208
	sub	r3, r3, #12
	mov	ip, r3
	sub	r3, fp, #94208
	sub	r3, r3, #12
	mov	r2, r3
	sub	r1, fp, #96256
	sub	r1, r1, #12
	sub	r1, r1, #8
	sub	r3, fp, #94208
	sub	r3, r3, #12
	mov	r0, r3
	sub	r3, fp, #96256
	sub	r3, r3, #12
	sub	r3, r3, #152
	str	r3, [sp, #8]
	sub	r3, fp, #144
	str	r3, [sp, #4]
	sub	r3, fp, #272
	str	r3, [sp]
	ldr	r3, [ip, #-2196]
	ldr	r2, [r2, #-2192]
	ldr	r0, [r0, #-2188]
	bl	handle_events
	sub	r3, fp, #94208
	sub	r3, r3, #12
	ldr	r3, [r3, #-2200]
	mov	r1, r3
	ldr	r0, .L8+32
	bl	printf
	b	.L6
.L9:
	.align	2
.L8:
	.word	.LC7
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	6000
	.word	.LC5
	.word	.LC6
	.size	main, .-main
	.section	.rodata
	.align	2
.LC8:
	.ascii	"connect client: %d\012\000"
	.align	2
.LC9:
	.ascii	"Server recv() failed\000"
	.align	2
.LC10:
	.ascii	"closed client: %d\012\000"
	.align	2
.LC11:
	.ascii	"Server recv: %s\012\000"
	.align	2
.LC12:
	.ascii	"Welcome client: %d\000"
	.align	2
.LC13:
	.ascii	"Server send: %s\012\000"
	.align	2
.LC14:
	.ascii	"Server send() failed\000"
	.align	2
.LC15:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	handle_events, %function
handle_events:
	@ args = 12, pretend = 0, frame = 72
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #76
	str	r0, [fp, #-56]
	str	r1, [fp, #-60]
	str	r2, [fp, #-64]
	str	r3, [fp, #-68]
	ldr	r3, [fp, #4]
	str	r3, [fp, #-72]
	ldr	r3, [fp, #8]
	str	r3, [fp, #-76]
	ldr	r3, [fp, #12]
	str	r3, [fp, #-80]
	ldr	r3, .L20
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-52]
	b	.L11
.L17:
	ldr	r3, [fp, #-52]
	lsl	r3, r3, #4
	ldr	r2, [fp, #-60]
	add	r3, r2, r3
	ldr	r3, [r3, #8]
	ldr	r2, [fp, #-68]
	cmp	r2, r3
	bne	.L12
	mov	r2, #0
	mov	r1, #0
	ldr	r0, [fp, #-68]
	bl	accept
	str	r0, [fp, #-40]
	ldr	r3, [fp, #-40]
	cmp	r3, #0
	blt	.L19
	mov	r3, #1
	str	r3, [fp, #-36]
	ldr	r3, [fp, #-40]
	str	r3, [fp, #-28]
	sub	r3, fp, #36
	ldr	r2, [fp, #-40]
	mov	r1, #1
	ldr	r0, [fp, #-56]
	bl	epoll_ctl
	ldr	r1, [fp, #-40]
	ldr	r0, .L20+4
	bl	printf
	ldr	r3, [fp, #-80]
	ldr	r3, [r3]
	add	r2, r3, #1
	ldr	r3, [fp, #-80]
	str	r2, [r3]
	b	.L14
.L12:
	mov	r2, #128
	mov	r1, #0
	ldr	r0, [fp, #-72]
	bl	memset
	ldr	r3, [fp, #-52]
	lsl	r3, r3, #4
	ldr	r2, [fp, #-60]
	add	r3, r2, r3
	ldr	r0, [r3, #8]
	mov	r3, #0
	mov	r2, #128
	ldr	r1, [fp, #-72]
	bl	recv
	str	r0, [fp, #-48]
	ldr	r3, [fp, #-48]
	cmp	r3, #0
	bge	.L15
	ldr	r0, .L20+8
	bl	perror
	mov	r0, #1
	bl	exit
.L15:
	ldr	r3, [fp, #-48]
	cmp	r3, #0
	bne	.L16
	ldr	r3, [fp, #-52]
	lsl	r3, r3, #4
	ldr	r2, [fp, #-60]
	add	r3, r2, r3
	ldr	r2, [r3, #8]
	mov	r3, #0
	mov	r1, #2
	ldr	r0, [fp, #-56]
	bl	epoll_ctl
	ldr	r3, [fp, #-52]
	lsl	r3, r3, #4
	ldr	r2, [fp, #-60]
	add	r3, r2, r3
	ldr	r3, [r3, #8]
	mov	r0, r3
	bl	close
	ldr	r3, [fp, #-52]
	lsl	r3, r3, #4
	ldr	r2, [fp, #-60]
	add	r3, r2, r3
	ldr	r3, [r3, #8]
	mov	r1, r3
	ldr	r0, .L20+12
	bl	printf
	ldr	r3, [fp, #-80]
	ldr	r3, [r3]
	sub	r2, r3, #1
	ldr	r3, [fp, #-80]
	str	r2, [r3]
	b	.L14
.L16:
	ldr	r3, [fp, #-48]
	ldr	r2, [fp, #-72]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	ldr	r1, [fp, #-72]
	ldr	r0, .L20+16
	bl	printf
	ldr	r3, [fp, #-52]
	lsl	r3, r3, #4
	ldr	r2, [fp, #-60]
	add	r3, r2, r3
	ldr	r3, [r3, #8]
	mov	r2, r3
	ldr	r1, .L20+20
	ldr	r0, [fp, #-76]
	bl	sprintf
	ldr	r1, [fp, #-76]
	ldr	r0, .L20+24
	bl	printf
	ldr	r3, [fp, #-52]
	lsl	r3, r3, #4
	ldr	r2, [fp, #-60]
	add	r3, r2, r3
	ldr	r4, [r3, #8]
	ldr	r0, [fp, #-76]
	bl	strlen
	mov	r2, r0
	mov	r3, #0
	ldr	r1, [fp, #-76]
	mov	r0, r4
	bl	send
	str	r0, [fp, #-44]
	ldr	r3, [fp, #-44]
	cmp	r3, #0
	bge	.L14
	ldr	r0, .L20+28
	bl	perror
	mov	r0, #1
	bl	exit
.L19:
	nop
.L14:
	ldr	r3, [fp, #-52]
	add	r3, r3, #1
	str	r3, [fp, #-52]
.L11:
	ldr	r2, [fp, #-52]
	ldr	r3, [fp, #-64]
	cmp	r2, r3
	blt	.L17
	nop
	ldr	r3, .L20
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L18
	bl	__stack_chk_fail
.L18:
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L21:
	.align	2
.L20:
	.word	.LC15
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.size	handle_events, .-handle_events
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
