	.file	"37637713.c"
	.intel_syntax noprefix
	.text
	.globl	escapechar
	.section	.rodata
.LC0:
	.string	"exit"
	.section	.data.rel.local,"aw"
	.align 8
	.type	escapechar, @object
	.size	escapechar, 8
escapechar:
	.quad	.LC0
	.globl	maxfdp1
	.bss
	.align 4
	.type	maxfdp1, @object
	.size	maxfdp1, 4
maxfdp1:
	.zero	4
	.globl	num_client
	.align 4
	.type	num_client, @object
	.size	num_client, 4
num_client:
	.zero	4
	.globl	client_s
	.align 32
	.type	client_s, @object
	.size	client_s, 256
client_s:
	.zero	256
	.globl	client_addr
	.align 16
	.type	client_addr, @object
	.size	client_addr, 16
client_addr:
	.zero	16
	.globl	server_addr
	.align 16
	.type	server_addr, @object
	.size	server_addr, 16
server_addr:
	.zero	16
	.section	.rodata
.LC1:
	.string	"ACK"
.LC2:
	.string	"\354\202\254\354\232\251\353\262\225 : %s port\n"
	.align 8
.LC3:
	.string	"Server : Can't open stream socket."
	.align 8
.LC4:
	.string	"Server : Can't bind local address."
.LC5:
	.string	"select error <= 0 "
.LC6:
	.string	"accept error"
	.align 8
.LC7:
	.string	"\355\201\264\353\235\274\354\235\264\354\226\270\355\212\270 \354\227\260\352\262\260 \354\240\221\354\206\215(\354\206\214\354\274\223\353\262\210\355\230\270=%d, "
.LC8:
	.string	"IP \354\243\274\354\206\214 = %S), "
.LC9:
	.string	"\354\264\235 \355\201\264\353\235\274\354\235\264\354\226\270\355\212\270 \354\210\230 =%d\n"
.LC10:
	.string	"wait client socket %d...\n"
	.align 8
.LC11:
	.string	"\354\240\225\353\263\264\353\266\204\354\204\235 : %s from(\354\206\214\354\274\223\353\262\210\355\230\270=%d, "
.LC12:
	.string	"IP \354\243\274\354\206\214 = %s)\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
	sub	rsp, 736
	mov	DWORD PTR -724[rbp], edi
	mov	QWORD PTR -736[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, .LC1[rip]
	mov	QWORD PTR -680[rbp], rax
	cmp	DWORD PTR -724[rbp], 2
	je	.L2
	mov	rax, QWORD PTR -736[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 0
	call	exit@PLT
.L2:
	mov	edx, 0
	mov	esi, 1
	mov	edi, 2
	call	socket@PLT
	mov	DWORD PTR -700[rbp], eax
	cmp	DWORD PTR -700[rbp], 0
	jns	.L3
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 0
	call	exit@PLT
.L3:
	mov	QWORD PTR server_addr[rip], 0
	mov	QWORD PTR server_addr[rip+8], 0
	mov	WORD PTR server_addr[rip], 2
	mov	edi, 0
	call	htonl@PLT
	mov	DWORD PTR server_addr[rip+4], eax
	mov	rax, QWORD PTR -736[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atoi@PLT
	movzx	eax, ax
	mov	edi, eax
	call	htons@PLT
	mov	WORD PTR server_addr[rip+2], ax
	mov	eax, DWORD PTR -700[rbp]
	mov	edx, 16
	lea	rsi, server_addr[rip]
	mov	edi, eax
	call	bind@PLT
	test	eax, eax
	jns	.L4
	lea	rdi, .LC4[rip]
	call	puts@PLT
	mov	edi, 0
	call	exit@PLT
.L4:
	mov	eax, DWORD PTR -700[rbp]
	mov	esi, 5
	mov	edi, eax
	call	listen@PLT
	mov	eax, DWORD PTR -700[rbp]
	add	eax, 1
	mov	DWORD PTR maxfdp1[rip], eax
.L14:
	mov	eax, 0
	mov	ecx, 16
	lea	rdx, -656[rbp]
	mov	rdi, rdx
#APP
# 64 "the_stack_data/37637713.c" 1
	cld; rep; stosq
# 0 "" 2
#NO_APP
	mov	eax, edi
	mov	edx, ecx
	mov	DWORD PTR -696[rbp], edx
	mov	DWORD PTR -692[rbp], eax
	mov	eax, DWORD PTR -700[rbp]
	lea	edx, 63[rax]
	test	eax, eax
	cmovs	eax, edx
	sar	eax, 6
	mov	esi, eax
	movsx	rax, esi
	mov	rdi, QWORD PTR -656[rbp+rax*8]
	mov	eax, DWORD PTR -700[rbp]
	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 -656[rbp+rax*8], rdx
	mov	DWORD PTR -704[rbp], 0
	jmp	.L5
.L6:
	mov	eax, DWORD PTR -704[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, client_s[rip]
	mov	eax, DWORD PTR [rdx+rax]
	lea	edx, 63[rax]
	test	eax, eax
	cmovs	eax, edx
	sar	eax, 6
	mov	esi, eax
	movsx	rax, esi
	mov	rdi, QWORD PTR -656[rbp+rax*8]
	mov	eax, DWORD PTR -704[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, client_s[rip]
	mov	eax, DWORD PTR [rdx+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 -656[rbp+rax*8], rdx
	add	DWORD PTR -704[rbp], 1
.L5:
	mov	eax, DWORD PTR num_client[rip]
	cmp	DWORD PTR -704[rbp], eax
	jl	.L6
	mov	eax, DWORD PTR -700[rbp]
	mov	edi, eax
	call	getmax
	add	eax, 1
	mov	DWORD PTR maxfdp1[rip], eax
	mov	QWORD PTR -672[rbp], 0
	mov	QWORD PTR -664[rbp], 0
	mov	eax, DWORD PTR maxfdp1[rip]
	lea	rdx, -672[rbp]
	lea	rsi, -656[rbp]
	mov	r8, rdx
	mov	ecx, 0
	mov	edx, 0
	mov	edi, eax
	call	select@PLT
	test	eax, eax
	jns	.L7
	lea	rdi, .LC5[rip]
	call	puts@PLT
	mov	edi, 0
	call	exit@PLT
.L7:
	mov	eax, DWORD PTR -700[rbp]
	lea	edx, 63[rax]
	test	eax, eax
	cmovs	eax, edx
	sar	eax, 6
	cdqe
	mov	rsi, QWORD PTR -656[rbp+rax*8]
	mov	eax, DWORD PTR -700[rbp]
	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	.L8
	mov	DWORD PTR -708[rbp], 16
	lea	rdx, -708[rbp]
	mov	eax, DWORD PTR -700[rbp]
	lea	rsi, client_addr[rip]
	mov	edi, eax
	call	accept@PLT
	mov	DWORD PTR -688[rbp], eax
	cmp	DWORD PTR -688[rbp], -1
	jne	.L9
	lea	rdi, .LC6[rip]
	call	puts@PLT
	mov	edi, 0
	call	exit@PLT
.L9:
	mov	eax, DWORD PTR num_client[rip]
	cdqe
	lea	rcx, 0[0+rax*4]
	lea	rdx, client_s[rip]
	mov	eax, DWORD PTR -688[rbp]
	mov	DWORD PTR [rcx+rdx], eax
	mov	eax, DWORD PTR num_client[rip]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, client_s[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	esi, eax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR client_addr[rip+4]
	mov	edi, eax
	call	inet_ntoa@PLT
	mov	rsi, rax
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR num_client[rip]
	add	eax, 1
	mov	DWORD PTR num_client[rip], eax
	mov	eax, DWORD PTR num_client[rip]
	mov	esi, eax
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
.L8:
	mov	DWORD PTR -704[rbp], 0
	jmp	.L10
.L13:
	mov	eax, DWORD PTR -704[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, client_s[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	esi, eax
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -704[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, client_s[rip]
	mov	eax, DWORD PTR [rdx+rax]
	lea	edx, 63[rax]
	test	eax, eax
	cmovs	eax, edx
	sar	eax, 6
	cdqe
	mov	rsi, QWORD PTR -656[rbp+rax*8]
	mov	eax, DWORD PTR -704[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, client_s[rip]
	mov	eax, DWORD PTR [rdx+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	.L11
	mov	eax, DWORD PTR -704[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, client_s[rip]
	mov	eax, DWORD PTR [rdx+rax]
	lea	rsi, -528[rbp]
	mov	ecx, 0
	mov	edx, 512
	mov	edi, eax
	call	recv@PLT
	mov	DWORD PTR -684[rbp], eax
	cmp	DWORD PTR -684[rbp], 0
	jg	.L12
	mov	eax, DWORD PTR -704[rbp]
	mov	edi, eax
	call	removeClient
	jmp	.L11
.L12:
	mov	eax, DWORD PTR -684[rbp]
	cdqe
	mov	BYTE PTR -528[rbp+rax], 0
	mov	rax, QWORD PTR -680[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	mov	eax, DWORD PTR -704[rbp]
	cdqe
	lea	rcx, 0[0+rax*4]
	lea	rax, client_s[rip]
	mov	eax, DWORD PTR [rcx+rax]
	mov	rsi, QWORD PTR -680[rbp]
	mov	ecx, 0
	mov	edi, eax
	call	send@PLT
	mov	eax, DWORD PTR -704[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, client_s[rip]
	mov	edx, DWORD PTR [rdx+rax]
	lea	rax, -528[rbp]
	mov	rsi, rax
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR client_addr[rip+4]
	mov	edi, eax
	call	inet_ntoa@PLT
	mov	rsi, rax
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	printf@PLT
.L11:
	add	DWORD PTR -704[rbp], 1
.L10:
	mov	eax, DWORD PTR num_client[rip]
	cmp	DWORD PTR -704[rbp], eax
	jl	.L13
	jmp	.L14
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC13:
	.string	"\355\201\264\353\235\274\354\235\264\354\226\270\355\212\270 \354\227\260\352\262\260 \355\225\264\354\240\234(\354\206\214\354\274\223\353\262\210\355\230\270=%d, "
.LC14:
	.string	"IP \354\243\274\354\206\214 = %s), "
	.text
	.globl	removeClient
	.type	removeClient, @function
removeClient:
.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, 16
	mov	DWORD PTR -4[rbp], edi
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, client_s[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	edi, eax
	call	close@PLT
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, client_s[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	esi, eax
	lea	rdi, .LC13[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR num_client[rip]
	sub	eax, 1
	cmp	DWORD PTR -4[rbp], eax
	je	.L17
	mov	eax, DWORD PTR num_client[rip]
	sub	eax, 1
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, client_s[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	edx, DWORD PTR -4[rbp]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*4]
	lea	rdx, client_s[rip]
	mov	DWORD PTR [rcx+rdx], eax
.L17:
	mov	eax, DWORD PTR num_client[rip]
	sub	eax, 1
	mov	DWORD PTR num_client[rip], eax
	mov	eax, DWORD PTR client_addr[rip+4]
	mov	edi, eax
	call	inet_ntoa@PLT
	mov	rsi, rax
	lea	rdi, .LC14[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR num_client[rip]
	mov	esi, eax
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	removeClient, .-removeClient
	.globl	getmax
	.type	getmax, @function
getmax:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	DWORD PTR -20[rbp], edi
	mov	eax, DWORD PTR -20[rbp]
	mov	DWORD PTR -8[rbp], eax
	mov	DWORD PTR -4[rbp], 0
	jmp	.L19
.L21:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, client_s[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cmp	DWORD PTR -8[rbp], eax
	jge	.L20
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, client_s[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	DWORD PTR -8[rbp], eax
.L20:
	add	DWORD PTR -4[rbp], 1
.L19:
	mov	eax, DWORD PTR num_client[rip]
	cmp	DWORD PTR -4[rbp], eax
	jl	.L21
	mov	eax, DWORD PTR -8[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	getmax, .-getmax
	.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	"37637713.c"
	.text
	.global	escapechar
	.section	.rodata
	.align	2
.LC0:
	.ascii	"exit\000"
	.data
	.align	2
	.type	escapechar, %object
	.size	escapechar, 4
escapechar:
	.word	.LC0
	.comm	maxfdp1,4,4
	.global	num_client
	.bss
	.align	2
	.type	num_client, %object
	.size	num_client, 4
num_client:
	.space	4
	.comm	client_s,256,4
	.comm	client_addr,16,4
	.comm	server_addr,16,4
	.section	.rodata
	.align	2
.LC1:
	.ascii	"ACK\000"
	.align	2
.LC2:
	.ascii	"\354\202\254\354\232\251\353\262\225 : %s port\012\000"
	.align	2
.LC3:
	.ascii	"Server : Can't open stream socket.\000"
	.align	2
.LC4:
	.ascii	"Server : Can't bind local address.\000"
	.align	2
.LC5:
	.ascii	"select error <= 0 \000"
	.align	2
.LC6:
	.ascii	"accept error\000"
	.align	2
.LC7:
	.ascii	"\355\201\264\353\235\274\354\235\264\354\226\270\355"
	.ascii	"\212\270 \354\227\260\352\262\260 \354\240\221\354\206"
	.ascii	"\215(\354\206\214\354\274\223\353\262\210\355\230\270"
	.ascii	"=%d, \000"
	.align	2
.LC8:
	.ascii	"IP \354\243\274\354\206\214 = %S), \000"
	.align	2
.LC9:
	.ascii	"\354\264\235 \355\201\264\353\235\274\354\235\264\354"
	.ascii	"\226\270\355\212\270 \354\210\230 =%d\012\000"
	.align	2
.LC10:
	.ascii	"wait client socket %d...\012\000"
	.align	2
.LC11:
	.ascii	"\354\240\225\353\263\264\353\266\204\354\204\235 : "
	.ascii	"%s from(\354\206\214\354\274\223\353\262\210\355\230"
	.ascii	"\270=%d, \000"
	.align	2
.LC12:
	.ascii	"IP \354\243\274\354\206\214 = %s)\012\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 = 696
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #708
	str	r0, [fp, #-704]
	str	r1, [fp, #-708]
	ldr	r3, .L18
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	ldr	r3, .L18+4
	str	r3, [fp, #-684]
	ldr	r3, [fp, #-704]
	cmp	r3, #2
	beq	.L2
	ldr	r3, [fp, #-708]
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L18+8
	bl	printf
	mov	r0, #0
	bl	exit
.L2:
	mov	r2, #0
	mov	r1, #1
	mov	r0, #2
	bl	socket
	str	r0, [fp, #-680]
	ldr	r3, [fp, #-680]
	cmp	r3, #0
	bge	.L3
	ldr	r0, .L18+12
	bl	printf
	mov	r0, #0
	bl	exit
.L3:
	ldr	r3, .L18+16
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2]
	str	r3, [r2, #4]
	str	r3, [r2, #8]
	str	r3, [r2, #12]
	ldr	r3, .L18+16
	mov	r2, #2
	strh	r2, [r3]	@ movhi
	mov	r0, #0
	bl	htonl
	mov	r3, r0
	ldr	r2, .L18+16
	str	r3, [r2, #4]
	ldr	r3, [fp, #-708]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	mov	r3, r0
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	mov	r0, r3
	bl	htons
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L18+16
	strh	r2, [r3, #2]	@ movhi
	mov	r2, #16
	ldr	r1, .L18+16
	ldr	r0, [fp, #-680]
	bl	bind
	mov	r3, r0
	cmp	r3, #0
	bge	.L4
	ldr	r0, .L18+20
	bl	puts
	mov	r0, #0
	bl	exit
.L4:
	mov	r1, #5
	ldr	r0, [fp, #-680]
	bl	listen
	ldr	r3, [fp, #-680]
	add	r3, r3, #1
	ldr	r2, .L18+24
	str	r3, [r2]
.L16:
	sub	r3, fp, #656
	str	r3, [fp, #-676]
	mov	r3, #0
	str	r3, [fp, #-688]
	b	.L5
.L6:
	ldr	r3, [fp, #-676]
	ldr	r2, [fp, #-688]
	mov	r1, #0
	str	r1, [r3, r2, lsl #2]
	ldr	r3, [fp, #-688]
	add	r3, r3, #1
	str	r3, [fp, #-688]
.L5:
	ldr	r3, [fp, #-688]
	cmp	r3, #31
	bls	.L6
	ldr	r3, [fp, #-680]
	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, #12
	add	r3, r1, r3
	ldr	r1, [r3, #-644]
	ldr	r3, [fp, #-680]
	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, #12
	add	r3, r2, r3
	str	r1, [r3, #-644]
	mov	r3, #0
	str	r3, [fp, #-692]
	b	.L7
.L8:
	ldr	r2, .L18+28
	ldr	r3, [fp, #-692]
	ldr	r3, [r2, r3, lsl #2]
	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, #12
	add	r3, r1, r3
	ldr	r1, [r3, #-644]
	ldr	r0, .L18+28
	ldr	r3, [fp, #-692]
	ldr	r3, [r0, r3, lsl #2]
	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, #12
	add	r3, r2, r3
	str	r1, [r3, #-644]
	ldr	r3, [fp, #-692]
	add	r3, r3, #1
	str	r3, [fp, #-692]
.L7:
	ldr	r3, .L18+32
	ldr	r3, [r3]
	ldr	r2, [fp, #-692]
	cmp	r2, r3
	blt	.L8
	ldr	r0, [fp, #-680]
	bl	getmax
	mov	r3, r0
	add	r3, r3, #1
	ldr	r2, .L18+24
	str	r3, [r2]
	mov	r3, #0
	str	r3, [fp, #-664]
	mov	r3, #0
	str	r3, [fp, #-660]
	ldr	r3, .L18+24
	ldr	r0, [r3]
	sub	r1, fp, #656
	sub	r3, fp, #664
	str	r3, [sp]
	mov	r3, #0
	mov	r2, #0
	bl	select
	mov	r3, r0
	cmp	r3, #0
	bge	.L9
	ldr	r0, .L18+36
	bl	puts
	mov	r0, #0
	bl	exit
.L9:
	ldr	r3, [fp, #-680]
	add	r2, r3, #31
	cmp	r3, #0
	movlt	r3, r2
	movge	r3, r3
	asr	r3, r3, #5
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r2, [r3, #-644]
	ldr	r3, [fp, #-680]
	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	.L10
	mov	r3, #16
	str	r3, [fp, #-696]
	sub	r3, fp, #696
	mov	r2, r3
	ldr	r1, .L18+40
	ldr	r0, [fp, #-680]
	bl	accept
	str	r0, [fp, #-672]
	ldr	r3, [fp, #-672]
	cmn	r3, #1
	bne	.L11
	ldr	r0, .L18+44
	bl	puts
	mov	r0, #0
	bl	exit
.L11:
	ldr	r3, .L18+32
	ldr	r3, [r3]
	ldr	r1, .L18+28
	ldr	r2, [fp, #-672]
	str	r2, [r1, r3, lsl #2]
	ldr	r3, .L18+32
	ldr	r3, [r3]
	ldr	r2, .L18+28
	ldr	r3, [r2, r3, lsl #2]
	mov	r1, r3
	ldr	r0, .L18+48
	bl	printf
	ldr	r3, .L18+40
	ldr	r0, [r3, #4]
	bl	inet_ntoa
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L18+52
	bl	printf
	ldr	r3, .L18+32
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L18+32
	str	r3, [r2]
	ldr	r3, .L18+32
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L18+56
	bl	printf
.L10:
	mov	r3, #0
	str	r3, [fp, #-692]
	b	.L12
.L15:
	ldr	r2, .L18+28
	ldr	r3, [fp, #-692]
	ldr	r3, [r2, r3, lsl #2]
	mov	r1, r3
	ldr	r0, .L18+60
	bl	printf
	ldr	r2, .L18+28
	ldr	r3, [fp, #-692]
	ldr	r3, [r2, r3, lsl #2]
	add	r2, r3, #31
	cmp	r3, #0
	movlt	r3, r2
	movge	r3, r3
	asr	r3, r3, #5
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r2, [r3, #-644]
	ldr	r1, .L18+28
	ldr	r3, [fp, #-692]
	ldr	r3, [r1, r3, lsl #2]
	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	.L13
	ldr	r2, .L18+28
	ldr	r3, [fp, #-692]
	ldr	r0, [r2, r3, lsl #2]
	sub	r1, fp, #528
	mov	r3, #0
	mov	r2, #512
	bl	recv
	str	r0, [fp, #-668]
	ldr	r3, [fp, #-668]
	cmp	r3, #0
	bgt	.L14
	ldr	r0, [fp, #-692]
	bl	removeClient
	b	.L13
.L14:
	sub	r2, fp, #528
	ldr	r3, [fp, #-668]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	ldr	r2, .L18+28
	ldr	r3, [fp, #-692]
	ldr	r4, [r2, r3, lsl #2]
	ldr	r0, [fp, #-684]
	bl	strlen
	mov	r2, r0
	mov	r3, #0
	ldr	r1, [fp, #-684]
	mov	r0, r4
	bl	send
	ldr	r2, .L18+28
	ldr	r3, [fp, #-692]
	ldr	r2, [r2, r3, lsl #2]
	sub	r3, fp, #528
	mov	r1, r3
	ldr	r0, .L18+64
	bl	printf
	ldr	r3, .L18+40
	ldr	r0, [r3, #4]
	bl	inet_ntoa
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L18+68
	bl	printf
.L13:
	ldr	r3, [fp, #-692]
	add	r3, r3, #1
	str	r3, [fp, #-692]
.L12:
	ldr	r3, .L18+32
	ldr	r3, [r3]
	ldr	r2, [fp, #-692]
	cmp	r2, r3
	blt	.L15
	b	.L16
.L19:
	.align	2
.L18:
	.word	.LC13
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	server_addr
	.word	.LC4
	.word	maxfdp1
	.word	client_s
	.word	num_client
	.word	.LC5
	.word	client_addr
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.size	main, .-main
	.section	.rodata
	.align	2
.LC14:
	.ascii	"\355\201\264\353\235\274\354\235\264\354\226\270\355"
	.ascii	"\212\270 \354\227\260\352\262\260 \355\225\264\354\240"
	.ascii	"\234(\354\206\214\354\274\223\353\262\210\355\230\270"
	.ascii	"=%d, \000"
	.align	2
.LC15:
	.ascii	"IP \354\243\274\354\206\214 = %s), \000"
	.text
	.align	2
	.global	removeClient
	.syntax unified
	.arm
	.fpu softvfp
	.type	removeClient, %function
removeClient:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	ldr	r2, .L22
	ldr	r3, [fp, #-8]
	ldr	r3, [r2, r3, lsl #2]
	mov	r0, r3
	bl	close
	ldr	r2, .L22
	ldr	r3, [fp, #-8]
	ldr	r3, [r2, r3, lsl #2]
	mov	r1, r3
	ldr	r0, .L22+4
	bl	printf
	ldr	r3, .L22+8
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	beq	.L21
	ldr	r3, .L22+8
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, .L22
	ldr	r2, [r2, r3, lsl #2]
	ldr	r1, .L22
	ldr	r3, [fp, #-8]
	str	r2, [r1, r3, lsl #2]
.L21:
	ldr	r3, .L22+8
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, .L22+8
	str	r3, [r2]
	ldr	r3, .L22+12
	ldr	r0, [r3, #4]
	bl	inet_ntoa
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L22+16
	bl	printf
	ldr	r3, .L22+8
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L22+20
	bl	printf
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L23:
	.align	2
.L22:
	.word	client_s
	.word	.LC14
	.word	num_client
	.word	client_addr
	.word	.LC15
	.word	.LC9
	.size	removeClient, .-removeClient
	.align	2
	.global	getmax
	.syntax unified
	.arm
	.fpu softvfp
	.type	getmax, %function
getmax:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #20
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	str	r3, [fp, #-12]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L25
.L27:
	ldr	r2, .L29
	ldr	r3, [fp, #-8]
	ldr	r3, [r2, r3, lsl #2]
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	bge	.L26
	ldr	r2, .L29
	ldr	r3, [fp, #-8]
	ldr	r3, [r2, r3, lsl #2]
	str	r3, [fp, #-12]
.L26:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L25:
	ldr	r3, .L29+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	blt	.L27
	ldr	r3, [fp, #-12]
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L30:
	.align	2
.L29:
	.word	client_s
	.word	num_client
	.size	getmax, .-getmax
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
