	.file	"459088.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC0:
	.string	"create socket error: %s(errno: %d)\n"
	.align 8
.LC1:
	.string	"setsockopt port to reuse failed"
	.align 8
.LC2:
	.string	"bind socket error: %s(errno: %d)\n"
	.text
	.type	create_and_bind, @function
create_and_bind:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 56
	.cfi_offset 3, -24
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	edx, 0
	mov	esi, 2049
	mov	edi, 2
	call	socket@PLT
	mov	DWORD PTR -56[rbp], eax
	cmp	DWORD PTR -56[rbp], 0
	jns	.L2
	call	__errno_location@PLT
	mov	ebx, DWORD PTR [rax]
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	edx, ebx
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, -1
	jmp	.L6
.L2:
	lea	rax, -48[rbp]
	mov	edx, 16
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	WORD PTR -48[rbp], 2
	mov	edi, 0
	call	htonl@PLT
	mov	DWORD PTR -44[rbp], eax
	mov	edi, 6667
	call	htons@PLT
	mov	WORD PTR -46[rbp], ax
	mov	DWORD PTR -60[rbp], 1
	lea	rdx, -60[rbp]
	mov	eax, DWORD PTR -56[rbp]
	mov	r8d, 4
	mov	rcx, rdx
	mov	edx, 2
	mov	esi, 1
	mov	edi, eax
	call	setsockopt@PLT
	test	eax, eax
	jns	.L4
	lea	rdi, .LC1[rip]
	call	perror@PLT
.L4:
	lea	rcx, -48[rbp]
	mov	eax, DWORD PTR -56[rbp]
	mov	edx, 16
	mov	rsi, rcx
	mov	edi, eax
	call	bind@PLT
	mov	DWORD PTR -52[rbp], eax
	cmp	DWORD PTR -52[rbp], 0
	jns	.L5
	call	__errno_location@PLT
	mov	ebx, DWORD PTR [rax]
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	edx, ebx
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, -1
	jmp	.L6
.L5:
	mov	eax, DWORD PTR -56[rbp]
.L6:
	mov	rcx, QWORD PTR -24[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L7
	call	__stack_chk_fail@PLT
.L7:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	create_and_bind, .-create_and_bind
	.section	.rodata
.LC3:
	.string	"listen"
.LC4:
	.string	"epoll_create"
.LC5:
	.string	"epoll_ctl"
.LC6:
	.string	"client"
.LC7:
	.string	"127.0.0.1"
.LC8:
	.string	"6667"
.LC9:
	.string	"/bin/client"
	.align 8
.LC10:
	.string	"spawn client process error: %s(errno: %d), %d process(es) spawned\n"
	.align 8
.LC11:
	.string	"no client is successfully spawned"
.LC12:
	.string	"epoll error\n"
.LC13:
	.string	"accept"
	.align 8
.LC14:
	.string	"Accepted connection on descriptor %d (host=%s, port=%s)\n"
.LC15:
	.string	"read"
.LC16:
	.string	"write"
	.align 8
.LC17:
	.string	"Closed connection on descriptor %d\n"
	.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
	push	rbx
	sub	rsp, 1240
	.cfi_offset 3, -24
	mov	DWORD PTR -1236[rbp], edi
	mov	QWORD PTR -1248[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	eax, 0
	call	create_and_bind
	mov	DWORD PTR -1192[rbp], eax
	mov	eax, DWORD PTR -1192[rbp]
	mov	esi, 4096
	mov	edi, eax
	call	listen@PLT
	mov	DWORD PTR -1188[rbp], eax
	cmp	DWORD PTR -1188[rbp], -1
	jne	.L9
	lea	rdi, .LC3[rip]
	call	perror@PLT
	mov	eax, -1
	jmp	.L37
.L9:
	mov	edi, 0
	call	epoll_create1@PLT
	mov	DWORD PTR -1184[rbp], eax
	cmp	DWORD PTR -1184[rbp], -1
	jne	.L11
	lea	rdi, .LC4[rip]
	call	perror@PLT
	mov	eax, -1
	jmp	.L37
.L11:
	mov	eax, DWORD PTR -1192[rbp]
	mov	DWORD PTR -1144[rbp], eax
	mov	DWORD PTR -1148[rbp], -2147483647
	lea	rcx, -1148[rbp]
	mov	edx, DWORD PTR -1192[rbp]
	mov	eax, DWORD PTR -1184[rbp]
	mov	esi, 1
	mov	edi, eax
	call	epoll_ctl@PLT
	mov	DWORD PTR -1188[rbp], eax
	cmp	DWORD PTR -1188[rbp], -1
	jne	.L12
	lea	rdi, .LC5[rip]
	call	perror@PLT
	mov	eax, -1
	jmp	.L37
.L12:
	mov	esi, 12
	mov	edi, 64
	call	calloc@PLT
	mov	QWORD PTR -1168[rbp], rax
	mov	DWORD PTR -1212[rbp], 3
	lea	rax, .LC6[rip]
	mov	QWORD PTR -1120[rbp], rax
	lea	rax, .LC7[rip]
	mov	QWORD PTR -1112[rbp], rax
	lea	rax, .LC8[rip]
	mov	QWORD PTR -1104[rbp], rax
	mov	QWORD PTR -1096[rbp], 0
	mov	DWORD PTR -1208[rbp], 0
	jmp	.L13
.L17:
	lea	rdx, -1120[rbp]
	lea	rax, -1220[rbp]
	mov	r9d, 0
	mov	r8, rdx
	mov	ecx, 0
	mov	edx, 0
	lea	rsi, .LC9[rip]
	mov	rdi, rax
	call	posix_spawn@PLT
	mov	DWORD PTR -1180[rbp], eax
	cmp	DWORD PTR -1180[rbp], 0
	jns	.L14
	call	__errno_location@PLT
	mov	ebx, DWORD PTR [rax]
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rsi, rax
	mov	eax, DWORD PTR -1208[rbp]
	mov	ecx, eax
	mov	edx, ebx
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	printf@PLT
	cmp	DWORD PTR -1208[rbp], 0
	jne	.L15
	lea	rdi, .LC11[rip]
	call	perror@PLT
	mov	eax, -1
	jmp	.L37
.L15:
	mov	eax, DWORD PTR -1208[rbp]
	mov	DWORD PTR -1212[rbp], eax
	jmp	.L16
.L14:
	add	DWORD PTR -1208[rbp], 1
.L13:
	cmp	DWORD PTR -1208[rbp], 2
	jle	.L17
.L16:
	mov	DWORD PTR -1204[rbp], 0
	jmp	.L18
.L36:
	mov	rsi, QWORD PTR -1168[rbp]
	mov	eax, DWORD PTR -1184[rbp]
	mov	r8d, 0
	mov	ecx, -1
	mov	edx, 64
	mov	edi, eax
	call	epoll_pwait@PLT
	mov	DWORD PTR -1176[rbp], eax
	mov	DWORD PTR -1200[rbp], 0
	jmp	.L19
.L35:
	mov	eax, DWORD PTR -1200[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -1168[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	and	eax, 8
	test	eax, eax
	jne	.L20
	mov	eax, DWORD PTR -1200[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -1168[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	and	eax, 16
	test	eax, eax
	jne	.L20
	mov	eax, DWORD PTR -1200[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -1168[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	and	eax, 1
	test	eax, eax
	jne	.L21
.L20:
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 12
	mov	esi, 1
	lea	rdi, .LC12[rip]
	call	fwrite@PLT
	mov	eax, DWORD PTR -1200[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -1168[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR 4[rax]
	mov	edi, eax
	call	close@PLT
	jmp	.L22
.L21:
	mov	eax, DWORD PTR -1200[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -1168[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR 4[rax]
	cmp	DWORD PTR -1192[rbp], eax
	jne	.L23
.L28:
	mov	DWORD PTR -1216[rbp], 16
	lea	rdx, -1216[rbp]
	lea	rsi, -1136[rbp]
	mov	eax, DWORD PTR -1192[rbp]
	mov	ecx, 2048
	mov	edi, eax
	mov	eax, 0
	call	accept4@PLT
	mov	DWORD PTR -1172[rbp], eax
	cmp	DWORD PTR -1172[rbp], -1
	jne	.L24
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	cmp	eax, 11
	je	.L39
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	cmp	eax, 11
	je	.L39
	lea	rdi, .LC13[rip]
	call	perror@PLT
	nop
	jmp	.L39
.L24:
	mov	esi, DWORD PTR -1216[rbp]
	lea	rcx, -1088[rbp]
	lea	rdx, -1056[rbp]
	lea	rax, -1136[rbp]
	sub	rsp, 8
	push	3
	mov	r9d, 32
	mov	r8, rcx
	mov	ecx, 1025
	mov	rdi, rax
	call	getnameinfo@PLT
	add	rsp, 16
	mov	DWORD PTR -1188[rbp], eax
	cmp	DWORD PTR -1188[rbp], 0
	jne	.L26
	lea	rcx, -1088[rbp]
	lea	rdx, -1056[rbp]
	mov	eax, DWORD PTR -1172[rbp]
	mov	esi, eax
	lea	rdi, .LC14[rip]
	mov	eax, 0
	call	printf@PLT
.L26:
	mov	eax, DWORD PTR -1172[rbp]
	mov	DWORD PTR -1144[rbp], eax
	mov	DWORD PTR -1148[rbp], -2147483647
	lea	rcx, -1148[rbp]
	mov	edx, DWORD PTR -1172[rbp]
	mov	eax, DWORD PTR -1184[rbp]
	mov	esi, 1
	mov	edi, eax
	call	epoll_ctl@PLT
	mov	DWORD PTR -1188[rbp], eax
	cmp	DWORD PTR -1188[rbp], -1
	jne	.L28
	lea	rdi, .LC5[rip]
	call	perror@PLT
	mov	eax, -1
	jmp	.L37
.L23:
	mov	DWORD PTR -1196[rbp], 0
.L34:
	mov	eax, DWORD PTR -1200[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -1168[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR 4[rax]
	lea	rcx, -1056[rbp]
	mov	edx, 512
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	mov	QWORD PTR -1160[rbp], rax
	cmp	QWORD PTR -1160[rbp], -1
	jne	.L29
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	cmp	eax, 11
	je	.L40
	lea	rdi, .LC15[rip]
	call	perror@PLT
	mov	DWORD PTR -1196[rbp], 1
	jmp	.L40
.L29:
	cmp	QWORD PTR -1160[rbp], 0
	jne	.L32
	mov	DWORD PTR -1196[rbp], 1
	jmp	.L31
.L32:
	mov	rdx, QWORD PTR -1160[rbp]
	lea	rax, -1056[rbp]
	mov	rsi, rax
	mov	edi, 1
	call	write@PLT
	mov	DWORD PTR -1188[rbp], eax
	cmp	DWORD PTR -1188[rbp], -1
	jne	.L34
	lea	rdi, .LC16[rip]
	call	perror@PLT
	mov	eax, -1
	jmp	.L37
.L40:
	nop
.L31:
	cmp	DWORD PTR -1196[rbp], 0
	je	.L22
	mov	eax, DWORD PTR -1200[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -1168[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR 4[rax]
	mov	esi, eax
	lea	rdi, .LC17[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -1200[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -1168[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR 4[rax]
	mov	edi, eax
	call	close@PLT
	add	DWORD PTR -1204[rbp], 1
	jmp	.L22
.L39:
	nop
.L22:
	add	DWORD PTR -1200[rbp], 1
.L19:
	mov	eax, DWORD PTR -1200[rbp]
	cmp	eax, DWORD PTR -1176[rbp]
	jl	.L35
.L18:
	mov	eax, DWORD PTR -1204[rbp]
	cmp	eax, DWORD PTR -1212[rbp]
	jl	.L36
	mov	rax, QWORD PTR -1168[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	eax, DWORD PTR -1192[rbp]
	mov	edi, eax
	call	close@PLT
	mov	eax, 0
.L37:
	mov	rbx, QWORD PTR -24[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L38
	call	__stack_chk_fail@PLT
.L38:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.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	"459088.c"
	.section	.rodata
	.align	2
.LC0:
	.ascii	"client\000"
	.align	2
.LC1:
	.ascii	"127.0.0.1\000"
	.align	2
.LC2:
	.ascii	"6667\000"
	.text
	.section	.rodata
	.align	2
.LC4:
	.ascii	"create socket error: %s(errno: %d)\012\000"
	.align	2
.LC5:
	.ascii	"setsockopt port to reuse failed\000"
	.align	2
.LC6:
	.ascii	"bind socket error: %s(errno: %d)\012\000"
	.align	2
.LC7:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	create_and_bind, %function
create_and_bind:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #44
	ldr	r3, .L8
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r2, #0
	ldr	r1, .L8+4
	mov	r0, #2
	bl	socket
	str	r0, [fp, #-40]
	ldr	r3, [fp, #-40]
	cmp	r3, #0
	bge	.L2
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r4, r0
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r2, r3
	mov	r1, r4
	ldr	r0, .L8+8
	bl	printf
	mvn	r3, #0
	b	.L6
.L2:
	sub	r3, fp, #32
	mov	r2, #16
	mov	r1, #0
	mov	r0, r3
	bl	memset
	mov	r3, #2
	strh	r3, [fp, #-32]	@ movhi
	mov	r0, #0
	bl	htonl
	mov	r3, r0
	str	r3, [fp, #-28]
	ldr	r0, .L8+12
	bl	htons
	mov	r3, r0
	strh	r3, [fp, #-30]	@ movhi
	mov	r3, #1
	str	r3, [fp, #-44]
	sub	r3, fp, #44
	mov	r2, #4
	str	r2, [sp]
	mov	r2, #2
	mov	r1, #1
	ldr	r0, [fp, #-40]
	bl	setsockopt
	mov	r3, r0
	cmp	r3, #0
	bge	.L4
	ldr	r0, .L8+16
	bl	perror
.L4:
	sub	r3, fp, #32
	mov	r2, #16
	mov	r1, r3
	ldr	r0, [fp, #-40]
	bl	bind
	str	r0, [fp, #-36]
	ldr	r3, [fp, #-36]
	cmp	r3, #0
	bge	.L5
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r4, r0
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r2, r3
	mov	r1, r4
	ldr	r0, .L8+20
	bl	printf
	mvn	r3, #0
	b	.L6
.L5:
	ldr	r3, [fp, #-40]
.L6:
	ldr	r2, .L8
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L7
	bl	__stack_chk_fail
.L7:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L9:
	.align	2
.L8:
	.word	.LC7
	.word	2049
	.word	.LC4
	.word	6667
	.word	.LC5
	.word	.LC6
	.size	create_and_bind, .-create_and_bind
	.section	.rodata
	.align	2
.LC8:
	.ascii	"listen\000"
	.align	2
.LC9:
	.ascii	"epoll_create\000"
	.align	2
.LC10:
	.ascii	"epoll_ctl\000"
	.align	2
.LC12:
	.ascii	"/bin/client\000"
	.align	2
.LC13:
	.ascii	"spawn client process error: %s(errno: %d), %d proce"
	.ascii	"ss(es) spawned\012\000"
	.align	2
.LC14:
	.ascii	"no client is successfully spawned\000"
	.align	2
.LC15:
	.ascii	"epoll error\012\000"
	.align	2
.LC16:
	.ascii	"accept\000"
	.align	2
.LC17:
	.ascii	"Accepted connection on descriptor %d (host=%s, port"
	.ascii	"=%s)\012\000"
	.align	2
.LC18:
	.ascii	"read\000"
	.align	2
.LC19:
	.ascii	"write\000"
	.align	2
.LC20:
	.ascii	"Closed connection on descriptor %d\012\000"
	.align	2
.LC11:
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	0
	.align	2
.LC21:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 1184
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #1200
	sub	sp, sp, #4
	str	r0, [fp, #-1192]
	str	r1, [fp, #-1196]
	ldr	r3, .L43
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	bl	create_and_bind
	str	r0, [fp, #-1156]
	mov	r1, #4096
	ldr	r0, [fp, #-1156]
	bl	listen
	str	r0, [fp, #-1152]
	ldr	r3, [fp, #-1152]
	cmn	r3, #1
	bne	.L11
	ldr	r0, .L43+4
	bl	perror
	mvn	r3, #0
	b	.L39
.L11:
	mov	r0, #0
	bl	epoll_create1
	str	r0, [fp, #-1148]
	ldr	r3, [fp, #-1148]
	cmn	r3, #1
	bne	.L13
	ldr	r0, .L43+8
	bl	perror
	mvn	r3, #0
	b	.L39
.L13:
	ldr	r3, [fp, #-1156]
	str	r3, [fp, #-1116]
	mov	r3, #-2147483647
	str	r3, [fp, #-1124]
	sub	r3, fp, #1104
	sub	r3, r3, #12
	sub	r3, r3, #8
	ldr	r2, [fp, #-1156]
	mov	r1, #1
	ldr	r0, [fp, #-1148]
	bl	epoll_ctl
	str	r0, [fp, #-1152]
	ldr	r3, [fp, #-1152]
	cmn	r3, #1
	bne	.L14
	ldr	r0, .L43+12
	bl	perror
	mvn	r3, #0
	b	.L39
.L14:
	mov	r1, #16
	mov	r0, #64
	bl	calloc
	mov	r3, r0
	str	r3, [fp, #-1144]
	mov	r3, #3
	str	r3, [fp, #-1176]
	ldr	r3, .L43+16
	sub	ip, fp, #1088
	sub	ip, ip, #12
	sub	ip, ip, #8
	ldm	r3, {r0, r1, r2, r3}
	stm	ip, {r0, r1, r2, r3}
	mov	r3, #0
	str	r3, [fp, #-1172]
	b	.L15
.L19:
	sub	r0, fp, #1168
	sub	r0, r0, #12
	sub	r0, r0, #4
	mov	r3, #0
	str	r3, [sp, #4]
	sub	r3, fp, #1088
	sub	r3, r3, #12
	sub	r3, r3, #8
	str	r3, [sp]
	mov	r3, #0
	mov	r2, #0
	ldr	r1, .L43+20
	bl	posix_spawn
	str	r0, [fp, #-1140]
	ldr	r3, [fp, #-1140]
	cmp	r3, #0
	bge	.L16
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r4, r0
	bl	__errno_location
	mov	r3, r0
	ldr	r2, [r3]
	ldr	r3, [fp, #-1172]
	mov	r1, r4
	ldr	r0, .L43+24
	bl	printf
	ldr	r3, [fp, #-1172]
	cmp	r3, #0
	bne	.L17
	ldr	r0, .L43+28
	bl	perror
	mvn	r3, #0
	b	.L39
.L17:
	ldr	r3, [fp, #-1172]
	str	r3, [fp, #-1176]
	b	.L18
.L16:
	ldr	r3, [fp, #-1172]
	add	r3, r3, #1
	str	r3, [fp, #-1172]
.L15:
	ldr	r3, [fp, #-1172]
	cmp	r3, #2
	ble	.L19
.L18:
	mov	r3, #0
	str	r3, [fp, #-1168]
	b	.L20
.L38:
	mov	r3, #0
	str	r3, [sp]
	mvn	r3, #0
	mov	r2, #64
	ldr	r1, [fp, #-1144]
	ldr	r0, [fp, #-1148]
	bl	epoll_pwait
	str	r0, [fp, #-1136]
	mov	r3, #0
	str	r3, [fp, #-1164]
	b	.L21
.L37:
	ldr	r3, [fp, #-1164]
	lsl	r3, r3, #4
	ldr	r2, [fp, #-1144]
	add	r3, r2, r3
	ldr	r3, [r3]
	and	r3, r3, #8
	cmp	r3, #0
	bne	.L22
	ldr	r3, [fp, #-1164]
	lsl	r3, r3, #4
	ldr	r2, [fp, #-1144]
	add	r3, r2, r3
	ldr	r3, [r3]
	and	r3, r3, #16
	cmp	r3, #0
	bne	.L22
	ldr	r3, [fp, #-1164]
	lsl	r3, r3, #4
	ldr	r2, [fp, #-1144]
	add	r3, r2, r3
	ldr	r3, [r3]
	and	r3, r3, #1
	cmp	r3, #0
	bne	.L23
.L22:
	ldr	r3, .L43+32
	ldr	r3, [r3]
	mov	r2, #12
	mov	r1, #1
	ldr	r0, .L43+36
	bl	fwrite
	ldr	r3, [fp, #-1164]
	lsl	r3, r3, #4
	ldr	r2, [fp, #-1144]
	add	r3, r2, r3
	ldr	r3, [r3, #8]
	mov	r0, r3
	bl	close
	b	.L24
.L23:
	ldr	r3, [fp, #-1164]
	lsl	r3, r3, #4
	ldr	r2, [fp, #-1144]
	add	r3, r2, r3
	ldr	r3, [r3, #8]
	ldr	r2, [fp, #-1156]
	cmp	r2, r3
	bne	.L25
.L30:
	mov	r3, #16
	str	r3, [fp, #-1180]
	sub	r2, fp, #1168
	sub	r2, r2, #12
	sub	r1, fp, #1072
	sub	r1, r1, #12
	sub	r1, r1, #8
	mov	r3, #2048
	ldr	r0, [fp, #-1156]
	bl	accept4
	str	r0, [fp, #-1128]
	ldr	r3, [fp, #-1128]
	cmn	r3, #1
	bne	.L26
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	cmp	r3, #11
	beq	.L41
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	cmp	r3, #11
	beq	.L41
	ldr	r0, .L43+40
	bl	perror
	nop
	b	.L41
.L26:
	ldr	r1, [fp, #-1180]
	sub	r2, fp, #1024
	sub	r2, r2, #12
	sub	r2, r2, #8
	sub	r0, fp, #1072
	sub	r0, r0, #12
	sub	r0, r0, #8
	mov	r3, #3
	str	r3, [sp, #8]
	mov	r3, #32
	str	r3, [sp, #4]
	sub	r3, fp, #1056
	sub	r3, r3, #12
	sub	r3, r3, #8
	str	r3, [sp]
	ldr	r3, .L43+44
	bl	getnameinfo
	str	r0, [fp, #-1152]
	ldr	r3, [fp, #-1152]
	cmp	r3, #0
	bne	.L28
	sub	r3, fp, #1056
	sub	r3, r3, #12
	sub	r3, r3, #8
	sub	r2, fp, #1024
	sub	r2, r2, #12
	sub	r2, r2, #8
	ldr	r1, [fp, #-1128]
	ldr	r0, .L43+48
	bl	printf
.L28:
	ldr	r3, [fp, #-1128]
	str	r3, [fp, #-1116]
	mov	r3, #-2147483647
	str	r3, [fp, #-1124]
	sub	r3, fp, #1104
	sub	r3, r3, #12
	sub	r3, r3, #8
	ldr	r2, [fp, #-1128]
	mov	r1, #1
	ldr	r0, [fp, #-1148]
	bl	epoll_ctl
	str	r0, [fp, #-1152]
	ldr	r3, [fp, #-1152]
	cmn	r3, #1
	bne	.L30
	ldr	r0, .L43+12
	bl	perror
	mvn	r3, #0
	b	.L39
.L25:
	mov	r3, #0
	str	r3, [fp, #-1160]
.L36:
	ldr	r3, [fp, #-1164]
	lsl	r3, r3, #4
	ldr	r2, [fp, #-1144]
	add	r3, r2, r3
	ldr	r0, [r3, #8]
	sub	r3, fp, #1024
	sub	r3, r3, #12
	sub	r3, r3, #8
	mov	r2, #512
	mov	r1, r3
	bl	read
	str	r0, [fp, #-1132]
	ldr	r3, [fp, #-1132]
	cmn	r3, #1
	bne	.L31
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	cmp	r3, #11
	beq	.L42
	ldr	r0, .L43+52
	bl	perror
	mov	r3, #1
	str	r3, [fp, #-1160]
	b	.L42
.L31:
	ldr	r3, [fp, #-1132]
	cmp	r3, #0
	bne	.L34
	mov	r3, #1
	str	r3, [fp, #-1160]
	b	.L33
.L34:
	ldr	r2, [fp, #-1132]
	sub	r3, fp, #1024
	sub	r3, r3, #12
	sub	r3, r3, #8
	mov	r1, r3
	mov	r0, #1
	bl	write
	str	r0, [fp, #-1152]
	ldr	r3, [fp, #-1152]
	cmn	r3, #1
	bne	.L36
	ldr	r0, .L43+56
	bl	perror
	mvn	r3, #0
	b	.L39
.L42:
	nop
.L33:
	ldr	r3, [fp, #-1160]
	cmp	r3, #0
	beq	.L24
	ldr	r3, [fp, #-1164]
	lsl	r3, r3, #4
	ldr	r2, [fp, #-1144]
	add	r3, r2, r3
	ldr	r3, [r3, #8]
	mov	r1, r3
	ldr	r0, .L43+60
	bl	printf
	ldr	r3, [fp, #-1164]
	lsl	r3, r3, #4
	ldr	r2, [fp, #-1144]
	add	r3, r2, r3
	ldr	r3, [r3, #8]
	mov	r0, r3
	bl	close
	ldr	r3, [fp, #-1168]
	add	r3, r3, #1
	str	r3, [fp, #-1168]
	b	.L24
.L41:
	nop
.L24:
	ldr	r3, [fp, #-1164]
	add	r3, r3, #1
	str	r3, [fp, #-1164]
.L21:
	ldr	r2, [fp, #-1164]
	ldr	r3, [fp, #-1136]
	cmp	r2, r3
	blt	.L37
.L20:
	ldr	r2, [fp, #-1168]
	ldr	r3, [fp, #-1176]
	cmp	r2, r3
	blt	.L38
	ldr	r0, [fp, #-1144]
	bl	free
	ldr	r0, [fp, #-1156]
	bl	close
	mov	r3, #0
.L39:
	ldr	r2, .L43
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L40
	bl	__stack_chk_fail
.L40:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L44:
	.align	2
.L43:
	.word	.LC21
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	stderr
	.word	.LC15
	.word	.LC16
	.word	1025
	.word	.LC17
	.word	.LC18
	.word	.LC19
	.word	.LC20
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
