	.file	"161079393.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"fcntl(F_GETFL)\n"
.LC1:
	.string	"fcntl(F_SETFL)\n"
	.text
	.globl	setnonblocking
	.type	setnonblocking, @function
setnonblocking:
.LFB6:
	.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	eax, DWORD PTR -20[rbp]
	mov	esi, 3
	mov	edi, eax
	mov	eax, 0
	call	fcntl@PLT
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], 0
	jns	.L2
	lea	rdi, .LC0[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L2:
	or	DWORD PTR -4[rbp], 2048
	mov	edx, DWORD PTR -4[rbp]
	mov	eax, DWORD PTR -20[rbp]
	mov	esi, 4
	mov	edi, eax
	mov	eax, 0
	call	fcntl@PLT
	test	eax, eax
	jns	.L4
	lea	rdi, .LC1[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L4:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	setnonblocking, .-setnonblocking
	.section	.rodata
.LC2:
	.string	"sockfd\n"
.LC3:
	.string	"bind\n"
.LC4:
	.string	"epoll_create"
.LC5:
	.string	"epoll_ctl: listen_sock"
.LC6:
	.string	"epoll_pwait"
.LC7:
	.string	"epoll_ctl: add"
.LC8:
	.string	"accept"
.LC9:
	.string	"read error"
.LC10:
	.string	"epoll_ctl: mod"
	.align 8
.LC11:
	.string	"HTTP/1.1 200 OK\r\nContent-Length: %d\r\n\r\nHello World"
.LC12:
	.string	"write error"
	.text
	.globl	main
	.type	main, @function
main:
.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, 4096
	or	QWORD PTR [rsp], 0
	sub	rsp, 4096
	or	QWORD PTR [rsp], 0
	sub	rsp, 240
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	edx, 0
	mov	esi, 1
	mov	edi, 2
	call	socket@PLT
	mov	DWORD PTR -8412[rbp], eax
	cmp	DWORD PTR -8412[rbp], 0
	jns	.L6
	lea	rdi, .LC2[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L6:
	mov	eax, DWORD PTR -8412[rbp]
	mov	edi, eax
	call	setnonblocking
	lea	rax, -8368[rbp]
	mov	QWORD PTR [rax], 0
	mov	QWORD PTR 8[rax], 0
	mov	WORD PTR -8368[rbp], 2
	mov	edi, 0
	call	htonl@PLT
	mov	DWORD PTR -8364[rbp], eax
	mov	edi, 8084
	call	htons@PLT
	mov	WORD PTR -8366[rbp], ax
	lea	rcx, -8368[rbp]
	mov	eax, DWORD PTR -8412[rbp]
	mov	edx, 16
	mov	rsi, rcx
	mov	edi, eax
	call	bind@PLT
	test	eax, eax
	jns	.L7
	lea	rdi, .LC3[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L7:
	mov	eax, DWORD PTR -8412[rbp]
	mov	esi, 20
	mov	edi, eax
	call	listen@PLT
	mov	edi, 10
	call	epoll_create@PLT
	mov	DWORD PTR -8408[rbp], eax
	cmp	DWORD PTR -8408[rbp], -1
	jne	.L8
	lea	rdi, .LC4[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L8:
	mov	DWORD PTR -8380[rbp], 1
	mov	eax, DWORD PTR -8412[rbp]
	mov	DWORD PTR -8376[rbp], eax
	lea	rcx, -8380[rbp]
	mov	edx, DWORD PTR -8412[rbp]
	mov	eax, DWORD PTR -8408[rbp]
	mov	esi, 1
	mov	edi, eax
	call	epoll_ctl@PLT
	cmp	eax, -1
	jne	.L9
	lea	rdi, .LC5[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L9:
	lea	rsi, -8336[rbp]
	mov	eax, DWORD PTR -8408[rbp]
	mov	ecx, -1
	mov	edx, 10
	mov	edi, eax
	call	epoll_wait@PLT
	mov	DWORD PTR -8404[rbp], eax
	cmp	DWORD PTR -8404[rbp], -1
	jne	.L10
	lea	rdi, .LC6[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L10:
	mov	DWORD PTR -8420[rbp], 0
	jmp	.L11
.L26:
	mov	eax, DWORD PTR -8420[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	add	rax, rbp
	sub	rax, 8332
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -8400[rbp], eax
	mov	eax, DWORD PTR -8400[rbp]
	cmp	eax, DWORD PTR -8412[rbp]
	jne	.L12
	jmp	.L13
.L14:
	mov	eax, DWORD PTR -8384[rbp]
	mov	edi, eax
	call	setnonblocking
	mov	DWORD PTR -8380[rbp], -2147483647
	mov	eax, DWORD PTR -8384[rbp]
	mov	DWORD PTR -8376[rbp], eax
	lea	rcx, -8380[rbp]
	mov	edx, DWORD PTR -8384[rbp]
	mov	eax, DWORD PTR -8408[rbp]
	mov	esi, 1
	mov	edi, eax
	call	epoll_ctl@PLT
	cmp	eax, -1
	jne	.L13
	lea	rdi, .LC7[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L13:
	lea	rdx, -8424[rbp]
	lea	rcx, -8352[rbp]
	mov	eax, DWORD PTR -8412[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	accept@PLT
	mov	DWORD PTR -8384[rbp], eax
	cmp	DWORD PTR -8384[rbp], 0
	jg	.L14
	cmp	DWORD PTR -8384[rbp], -1
	jne	.L28
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	cmp	eax, 11
	je	.L28
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	cmp	eax, 103
	je	.L28
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	cmp	eax, 71
	je	.L28
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	cmp	eax, 4
	je	.L28
	lea	rdi, .LC8[rip]
	call	perror@PLT
	jmp	.L28
.L12:
	mov	eax, DWORD PTR -8420[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	add	rax, rbp
	sub	rax, 8336
	mov	eax, DWORD PTR [rax]
	and	eax, 1
	test	eax, eax
	je	.L17
	mov	DWORD PTR -8416[rbp], 0
	jmp	.L18
.L19:
	mov	eax, DWORD PTR -8396[rbp]
	add	DWORD PTR -8416[rbp], eax
.L18:
	mov	eax, DWORD PTR -8416[rbp]
	cdqe
	lea	rdx, -8208[rbp]
	lea	rcx, [rdx+rax]
	mov	eax, DWORD PTR -8400[rbp]
	mov	edx, 8191
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	mov	DWORD PTR -8396[rbp], eax
	cmp	DWORD PTR -8396[rbp], 0
	jg	.L19
	cmp	DWORD PTR -8396[rbp], -1
	jne	.L20
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	cmp	eax, 11
	je	.L20
	lea	rdi, .LC9[rip]
	call	perror@PLT
.L20:
	mov	eax, DWORD PTR -8400[rbp]
	mov	DWORD PTR -8376[rbp], eax
	mov	eax, DWORD PTR -8420[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	add	rax, rbp
	sub	rax, 8336
	mov	eax, DWORD PTR [rax]
	or	eax, 4
	mov	DWORD PTR -8380[rbp], eax
	lea	rcx, -8380[rbp]
	mov	edx, DWORD PTR -8400[rbp]
	mov	eax, DWORD PTR -8408[rbp]
	mov	esi, 3
	mov	edi, eax
	call	epoll_ctl@PLT
	cmp	eax, -1
	jne	.L17
	lea	rdi, .LC10[rip]
	call	perror@PLT
.L17:
	mov	eax, DWORD PTR -8420[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	add	rax, rbp
	sub	rax, 8336
	mov	eax, DWORD PTR [rax]
	and	eax, 4
	test	eax, eax
	je	.L16
	lea	rax, -8208[rbp]
	mov	edx, 11
	lea	rsi, .LC11[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	lea	rax, -8208[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	DWORD PTR -8392[rbp], eax
	mov	eax, DWORD PTR -8392[rbp]
	mov	DWORD PTR -8416[rbp], eax
	jmp	.L21
.L25:
	mov	eax, DWORD PTR -8416[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -8392[rbp]
	cdqe
	mov	ecx, DWORD PTR -8416[rbp]
	movsx	rcx, ecx
	sub	rax, rcx
	mov	rsi, rax
	lea	rax, -8208[rbp]
	lea	rcx, [rax+rsi]
	mov	eax, DWORD PTR -8400[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	write@PLT
	mov	DWORD PTR -8388[rbp], eax
	mov	eax, DWORD PTR -8388[rbp]
	cmp	eax, DWORD PTR -8416[rbp]
	jge	.L22
	cmp	DWORD PTR -8388[rbp], -1
	jne	.L29
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	cmp	eax, 11
	je	.L29
	lea	rdi, .LC12[rip]
	call	perror@PLT
	jmp	.L29
.L22:
	mov	eax, DWORD PTR -8388[rbp]
	sub	DWORD PTR -8416[rbp], eax
.L21:
	cmp	DWORD PTR -8416[rbp], 0
	jg	.L25
	jmp	.L24
.L29:
	nop
.L24:
	mov	eax, DWORD PTR -8400[rbp]
	mov	edi, eax
	call	close@PLT
	jmp	.L16
.L28:
	nop
.L16:
	add	DWORD PTR -8420[rbp], 1
.L11:
	mov	eax, DWORD PTR -8420[rbp]
	cmp	eax, DWORD PTR -8404[rbp]
	jl	.L26
	jmp	.L9
	.cfi_endproc
.LFE7:
	.size	main, .-main
	.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	"161079393.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"fcntl(F_GETFL)\012\000"
	.align	2
.LC1:
	.ascii	"fcntl(F_SETFL)\012\000"
	.text
	.align	2
	.global	setnonblocking
	.syntax unified
	.arm
	.fpu softvfp
	.type	setnonblocking, %function
setnonblocking:
	@ 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]
	mov	r1, #3
	ldr	r0, [fp, #-16]
	bl	fcntl
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bge	.L2
	ldr	r0, .L5
	bl	perror
	mov	r0, #1
	bl	exit
.L2:
	ldr	r3, [fp, #-8]
	orr	r3, r3, #2048
	str	r3, [fp, #-8]
	ldr	r2, [fp, #-8]
	mov	r1, #4
	ldr	r0, [fp, #-16]
	bl	fcntl
	mov	r3, r0
	cmp	r3, #0
	bge	.L4
	ldr	r0, .L5+4
	bl	perror
	mov	r0, #1
	bl	exit
.L4:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L6:
	.align	2
.L5:
	.word	.LC0
	.word	.LC1
	.size	setnonblocking, .-setnonblocking
	.section	.rodata
	.align	2
.LC2:
	.ascii	"sockfd\012\000"
	.align	2
.LC3:
	.ascii	"bind\012\000"
	.align	2
.LC4:
	.ascii	"epoll_create\000"
	.align	2
.LC5:
	.ascii	"epoll_ctl: listen_sock\000"
	.align	2
.LC6:
	.ascii	"epoll_pwait\000"
	.align	2
.LC7:
	.ascii	"epoll_ctl: add\000"
	.align	2
.LC8:
	.ascii	"accept\000"
	.align	2
.LC9:
	.ascii	"read error\000"
	.align	2
.LC10:
	.ascii	"epoll_ctl: mod\000"
	.align	2
.LC11:
	.ascii	"HTTP/1.1 200 OK\015\012Content-Length: %d\015\012\015"
	.ascii	"\012Hello World\000"
	.align	2
.LC12:
	.ascii	"write error\000"
	.align	2
.LC13:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 8456
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #8448
	sub	sp, sp, #12
	ldr	r3, .L32
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r4, r3
	mov	r2, #0
	mov	r1, #1
	mov	r0, #2
	bl	socket
	str	r0, [r4, #-248]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-248]
	cmp	r3, #0
	bge	.L8
	ldr	r0, .L32+4
	bl	perror
	mov	r0, #1
	bl	exit
.L8:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r0, [r3, #-248]
	bl	setnonblocking
	sub	r3, fp, #8384
	sub	r3, r3, #12
	sub	r3, r3, #8
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2]
	str	r3, [r2, #4]
	str	r3, [r2, #8]
	str	r3, [r2, #12]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, #2
	strh	r2, [r3, #-200]	@ movhi
	mov	r0, #0
	bl	htonl
	mov	r3, r0
	sub	r2, fp, #8192
	sub	r2, r2, #12
	str	r3, [r2, #-196]
	ldr	r0, .L32+8
	bl	htons
	mov	r3, r0
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	strh	r2, [r3, #-198]	@ movhi
	sub	r3, fp, #8384
	sub	r3, r3, #12
	sub	r3, r3, #8
	sub	r2, fp, #8192
	sub	r2, r2, #12
	mov	r0, r2
	mov	r2, #16
	mov	r1, r3
	ldr	r0, [r0, #-248]
	bl	bind
	mov	r3, r0
	cmp	r3, #0
	bge	.L9
	ldr	r0, .L32+12
	bl	perror
	mov	r0, #1
	bl	exit
.L9:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r1, #20
	ldr	r0, [r3, #-248]
	bl	listen
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r4, r3
	mov	r0, #10
	bl	epoll_create
	str	r0, [r4, #-244]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-244]
	cmn	r3, #1
	bne	.L10
	ldr	r0, .L32+16
	bl	perror
	mov	r0, #1
	bl	exit
.L10:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #1
	str	r3, [r2, #-216]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-248]
	str	r3, [r2, #-208]
	sub	r3, fp, #8384
	sub	r3, r3, #12
	sub	r3, r3, #24
	sub	r2, fp, #8192
	sub	r2, r2, #12
	sub	r1, fp, #8192
	sub	r1, r1, #12
	mov	r0, r1
	ldr	r2, [r2, #-248]
	mov	r1, #1
	ldr	r0, [r0, #-244]
	bl	epoll_ctl
	mov	r3, r0
	cmn	r3, #1
	bne	.L11
	ldr	r0, .L32+20
	bl	perror
	mov	r0, #1
	bl	exit
.L11:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r4, r3
	sub	r1, fp, #8320
	sub	r1, r1, #12
	sub	r1, r1, #40
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r0, r3
	mvn	r3, #0
	mov	r2, #10
	ldr	r0, [r0, #-244]
	bl	epoll_wait
	str	r0, [r4, #-240]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-240]
	cmn	r3, #1
	bne	.L12
	ldr	r0, .L32+24
	bl	perror
	mov	r0, #1
	bl	exit
.L12:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-256]
	b	.L13
.L28:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r1, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-256]
	lsl	r3, r3, #4
	add	r3, r1, r3
	ldr	r3, [r3, #-160]
	str	r3, [r2, #-236]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r2, [r2, #-236]
	ldr	r3, [r3, #-248]
	cmp	r2, r3
	bne	.L14
	b	.L15
.L16:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r0, [r3, #-220]
	bl	setnonblocking
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #-2147483647
	str	r3, [r2, #-216]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-220]
	str	r3, [r2, #-208]
	sub	r3, fp, #8384
	sub	r3, r3, #12
	sub	r3, r3, #24
	sub	r2, fp, #8192
	sub	r2, r2, #12
	sub	r1, fp, #8192
	sub	r1, r1, #12
	mov	r0, r1
	ldr	r2, [r2, #-220]
	mov	r1, #1
	ldr	r0, [r0, #-244]
	bl	epoll_ctl
	mov	r3, r0
	cmn	r3, #1
	bne	.L15
	ldr	r0, .L32+28
	bl	perror
	mov	r0, #1
	bl	exit
.L15:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r4, r3
	sub	r2, fp, #8448
	sub	r2, r2, #12
	sub	r2, r2, #4
	sub	r3, fp, #8320
	sub	r3, r3, #12
	sub	r3, r3, #56
	sub	r1, fp, #8192
	sub	r1, r1, #12
	mov	r0, r1
	mov	r1, r3
	ldr	r0, [r0, #-248]
	bl	accept
	str	r0, [r4, #-220]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-220]
	cmp	r3, #0
	bgt	.L16
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-220]
	cmn	r3, #1
	bne	.L30
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	cmp	r3, #11
	beq	.L30
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	cmp	r3, #103
	beq	.L30
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	cmp	r3, #71
	beq	.L30
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	cmp	r3, #4
	beq	.L30
	ldr	r0, .L32+32
	bl	perror
	b	.L30
.L14:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-256]
	lsl	r3, r3, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-168]
	and	r3, r3, #1
	cmp	r3, #0
	beq	.L19
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-252]
	b	.L20
.L21:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r1, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r2, [r2, #-252]
	ldr	r3, [r3, #-232]
	add	r3, r2, r3
	str	r3, [r1, #-252]
.L20:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r2, [r3, #-252]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	sub	r3, r3, #4
	add	r3, r3, r2
	sub	r2, fp, #8192
	sub	r2, r2, #12
	mov	r4, r2
	sub	r2, fp, #8192
	sub	r2, r2, #12
	mov	r0, r2
	ldr	r2, .L32+36
	mov	r1, r3
	ldr	r0, [r0, #-236]
	bl	read
	str	r0, [r4, #-232]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-232]
	cmp	r3, #0
	bgt	.L21
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-232]
	cmn	r3, #1
	bne	.L22
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	cmp	r3, #11
	beq	.L22
	ldr	r0, .L32+40
	bl	perror
.L22:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-236]
	str	r3, [r2, #-208]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-256]
	lsl	r3, r3, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-168]
	orr	r3, r3, #4
	sub	r2, fp, #8192
	sub	r2, r2, #12
	str	r3, [r2, #-216]
	sub	r3, fp, #8384
	sub	r3, r3, #12
	sub	r3, r3, #24
	sub	r2, fp, #8192
	sub	r2, r2, #12
	sub	r1, fp, #8192
	sub	r1, r1, #12
	mov	r0, r1
	ldr	r2, [r2, #-236]
	mov	r1, #3
	ldr	r0, [r0, #-244]
	bl	epoll_ctl
	mov	r3, r0
	cmn	r3, #1
	bne	.L19
	ldr	r0, .L32+44
	bl	perror
.L19:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-256]
	lsl	r3, r3, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-168]
	and	r3, r3, #4
	cmp	r3, #0
	beq	.L18
	sub	r3, fp, #8192
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r2, #11
	ldr	r1, .L32+48
	mov	r0, r3
	bl	sprintf
	sub	r3, fp, #8192
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	sub	r2, fp, #8192
	sub	r2, r2, #12
	str	r3, [r2, #-228]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-228]
	str	r3, [r2, #-252]
	b	.L23
.L27:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r2, [r3, #-228]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-252]
	sub	r2, r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	sub	r3, r3, #4
	add	r3, r3, r2
	sub	r2, fp, #8192
	sub	r2, r2, #12
	ldr	r2, [r2, #-252]
	sub	r1, fp, #8192
	sub	r1, r1, #12
	mov	r4, r1
	sub	r1, fp, #8192
	sub	r1, r1, #12
	mov	r0, r1
	mov	r1, r3
	ldr	r0, [r0, #-236]
	bl	write
	str	r0, [r4, #-224]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r2, [r2, #-224]
	ldr	r3, [r3, #-252]
	cmp	r2, r3
	bge	.L24
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-224]
	cmn	r3, #1
	bne	.L31
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	cmp	r3, #11
	beq	.L31
	ldr	r0, .L32+52
	bl	perror
	b	.L31
.L24:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r1, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r2, [r2, #-252]
	ldr	r3, [r3, #-224]
	sub	r3, r2, r3
	str	r3, [r1, #-252]
.L23:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-252]
	cmp	r3, #0
	bgt	.L27
	b	.L26
.L31:
	nop
.L26:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r0, [r3, #-236]
	bl	close
	b	.L18
.L30:
	nop
.L18:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-256]
	add	r3, r3, #1
	str	r3, [r2, #-256]
.L13:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r2, [r2, #-256]
	ldr	r3, [r3, #-240]
	cmp	r2, r3
	blt	.L28
	b	.L11
.L33:
	.align	2
.L32:
	.word	.LC13
	.word	.LC2
	.word	8084
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	8191
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
