	.file	"739181.c"
	.intel_syntax noprefix
	.text
	.globl	list
	.bss
	.align 32
	.type	list, @object
	.size	list, 10800
list:
	.zero	10800
	.globl	ind
	.align 4
	.type	ind, @object
	.size	ind, 4
ind:
	.zero	4
	.section	.rodata
	.align 8
.LC0:
	.string	"\nSERVER : Waiting for : %s %d\n"
	.align 8
.LC1:
	.string	"\nSERVER : Proccessing request from : %s %d\n"
.LC2:
	.string	"request"
.LC3:
	.string	"\nSERVER : AT : %s %d\n"
	.align 8
.LC4:
	.string	"SERVER : Size of the list : %d\n"
.LC5:
	.string	"The List : "
.LC6:
	.string	"%s %d\n"
.LC7:
	.string	"connect"
	.align 8
.LC8:
	.string	"SERVER : Starting chat at the connect side"
.LC9:
	.string	"die"
.LC10:
	.string	"end"
	.align 8
.LC11:
	.string	"SERVER : chat was closed at the connect side"
.LC12:
	.string	"wait"
	.align 8
.LC13:
	.string	"SERVER : Waiting for a chat request"
.LC14:
	.string	"SERVER : Got a chat request"
	.align 8
.LC15:
	.string	"SERVER : Chat was closed at the wait side"
.LC16:
	.string	"logout"
	.align 8
.LC17:
	.string	"SERVER : Closing connection and removing from the list"
.LC18:
	.string	"SERVER : Something Wrong here"
	.text
	.globl	foo
	.type	foo, @function
foo:
.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, 504
	.cfi_offset 3, -24
	mov	QWORD PTR -504[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -504[rbp]
	mov	rcx, QWORD PTR [rax]
	mov	rbx, QWORD PTR 8[rax]
	mov	QWORD PTR -464[rbp], rcx
	mov	QWORD PTR -456[rbp], rbx
	mov	rcx, QWORD PTR 16[rax]
	mov	rbx, QWORD PTR 24[rax]
	mov	QWORD PTR -448[rbp], rcx
	mov	QWORD PTR -440[rbp], rbx
	mov	rcx, QWORD PTR 32[rax]
	mov	rbx, QWORD PTR 40[rax]
	mov	QWORD PTR -432[rbp], rcx
	mov	QWORD PTR -424[rbp], rbx
	mov	rcx, QWORD PTR 48[rax]
	mov	rbx, QWORD PTR 56[rax]
	mov	QWORD PTR -416[rbp], rcx
	mov	QWORD PTR -408[rbp], rbx
	mov	rcx, QWORD PTR 64[rax]
	mov	rbx, QWORD PTR 72[rax]
	mov	QWORD PTR -400[rbp], rcx
	mov	QWORD PTR -392[rbp], rbx
	mov	rcx, QWORD PTR 80[rax]
	mov	rbx, QWORD PTR 88[rax]
	mov	QWORD PTR -384[rbp], rcx
	mov	QWORD PTR -376[rbp], rbx
	mov	rdx, QWORD PTR 96[rax]
	mov	QWORD PTR -368[rbp], rdx
	mov	eax, DWORD PTR 104[rax]
	mov	DWORD PTR -360[rbp], eax
	mov	eax, DWORD PTR -460[rbp]
	mov	DWORD PTR -488[rbp], eax
.L26:
	mov	eax, DWORD PTR -464[rbp]
	lea	rdx, -464[rbp]
	lea	rcx, 8[rdx]
	mov	edx, eax
	mov	rsi, rcx
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -352[rbp]
	mov	edx, 100
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	eax, DWORD PTR -488[rbp]
	lea	rsi, -352[rbp]
	mov	ecx, 0
	mov	edx, 100
	mov	edi, eax
	call	recv@PLT
	mov	eax, DWORD PTR -464[rbp]
	lea	rdx, -464[rbp]
	lea	rcx, 8[rdx]
	mov	edx, eax
	mov	rsi, rcx
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -352[rbp]
	mov	rdi, rax
	call	puts@PLT
	lea	rax, -352[rbp]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L2
	mov	eax, DWORD PTR -464[rbp]
	lea	rdx, -464[rbp]
	lea	rcx, 8[rdx]
	mov	edx, eax
	mov	rsi, rcx
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR ind[rip]
	mov	esi, eax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -488[rbp]
	mov	ecx, 0
	mov	edx, 4
	lea	rsi, ind[rip]
	mov	edi, eax
	call	send@PLT
	lea	rdi, .LC5[rip]
	call	puts@PLT
	mov	DWORD PTR -480[rbp], 0
	jmp	.L3
.L6:
	mov	eax, DWORD PTR -480[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	lea	rdx, 0[0+rax*8]
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, list[rip]
	mov	edx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -480[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	add	rax, rax
	add	rax, rcx
	lea	rcx, 0[0+rax*8]
	add	rax, rcx
	sal	rax, 2
	lea	rcx, list[rip]
	add	rax, rcx
	add	rax, 8
	mov	rsi, rax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -480[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	lea	rdx, 0[0+rax*8]
	add	rax, rdx
	sal	rax, 2
	lea	rdx, list[rip]
	add	rax, rdx
	lea	rdx, 8[rax]
	lea	rax, -464[rbp]
	add	rax, 8
	mov	rsi, rdx
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L4
	mov	ecx, DWORD PTR -464[rbp]
	mov	eax, DWORD PTR -480[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	lea	rdx, 0[0+rax*8]
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, list[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cmp	ecx, eax
	je	.L29
.L4:
	mov	eax, DWORD PTR -480[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	lea	rdx, 0[0+rax*8]
	add	rax, rdx
	sal	rax, 2
	lea	rdx, list[rip]
	add	rax, rdx
	lea	rsi, 8[rax]
	mov	eax, DWORD PTR -488[rbp]
	mov	ecx, 0
	mov	edx, 100
	mov	edi, eax
	call	send@PLT
	mov	eax, DWORD PTR -480[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	lea	rdx, 0[0+rax*8]
	add	rax, rdx
	sal	rax, 2
	lea	rdx, list[rip]
	lea	rsi, [rax+rdx]
	mov	eax, DWORD PTR -488[rbp]
	mov	ecx, 0
	mov	edx, 4
	mov	edi, eax
	call	send@PLT
	jmp	.L5
.L29:
	nop
.L5:
	add	DWORD PTR -480[rbp], 1
.L3:
	mov	eax, DWORD PTR ind[rip]
	cmp	DWORD PTR -480[rbp], eax
	jl	.L6
	jmp	.L26
.L2:
	lea	rax, -352[rbp]
	lea	rsi, .LC7[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L8
	mov	eax, DWORD PTR -464[rbp]
	lea	rdx, -464[rbp]
	lea	rcx, 8[rdx]
	mov	edx, eax
	mov	rsi, rcx
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -488[rbp]
	lea	rsi, -240[rbp]
	mov	ecx, 0
	mov	edx, 100
	mov	edi, eax
	call	recv@PLT
	mov	eax, DWORD PTR -488[rbp]
	lea	rsi, -484[rbp]
	mov	ecx, 0
	mov	edx, 4
	mov	edi, eax
	call	recv@PLT
	mov	DWORD PTR -480[rbp], 0
	jmp	.L9
.L14:
	mov	eax, DWORD PTR -480[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	lea	rdx, 0[0+rax*8]
	add	rax, rdx
	sal	rax, 2
	lea	rdx, list[rip]
	add	rax, rdx
	lea	rdx, 8[rax]
	lea	rax, -240[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L10
	mov	eax, DWORD PTR -480[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	lea	rdx, 0[0+rax*8]
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, list[rip]
	mov	edx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -484[rbp]
	cmp	edx, eax
	jne	.L10
	mov	eax, DWORD PTR -480[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	lea	rdx, 0[0+rax*8]
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, list[rip+4]
	mov	eax, DWORD PTR [rdx+rax]
	mov	DWORD PTR -472[rbp], eax
	mov	eax, DWORD PTR -480[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	lea	rdx, 0[0+rax*8]
	add	rax, rdx
	sal	rax, 2
	lea	rdx, list[rip]
	add	rax, rdx
	lea	rdx, 8[rax]
	lea	rax, -128[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	mov	eax, DWORD PTR -480[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	lea	rdx, 0[0+rax*8]
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, list[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	DWORD PTR -468[rbp], eax
	mov	eax, DWORD PTR -480[rbp]
	mov	DWORD PTR -476[rbp], eax
	jmp	.L11
.L12:
	mov	eax, DWORD PTR -476[rbp]
	add	eax, 1
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	lea	rdx, 0[0+rax*8]
	add	rax, rdx
	sal	rax, 2
	lea	rdx, list[rip]
	add	rax, rdx
	lea	rdx, 8[rax]
	mov	eax, DWORD PTR -476[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	add	rax, rax
	add	rax, rcx
	lea	rcx, 0[0+rax*8]
	add	rax, rcx
	sal	rax, 2
	lea	rcx, list[rip]
	add	rax, rcx
	add	rax, 8
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	mov	eax, DWORD PTR -476[rbp]
	add	eax, 1
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	lea	rdx, 0[0+rax*8]
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, list[rip]
	mov	edx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -476[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	add	rax, rax
	add	rax, rcx
	lea	rcx, 0[0+rax*8]
	add	rax, rcx
	sal	rax, 2
	mov	rcx, rax
	lea	rax, list[rip]
	mov	DWORD PTR [rcx+rax], edx
	mov	eax, DWORD PTR -476[rbp]
	add	eax, 1
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	lea	rdx, 0[0+rax*8]
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, list[rip+4]
	mov	edx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -476[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	add	rax, rax
	add	rax, rcx
	lea	rcx, 0[0+rax*8]
	add	rax, rcx
	sal	rax, 2
	mov	rcx, rax
	lea	rax, list[rip+4]
	mov	DWORD PTR [rcx+rax], edx
	add	DWORD PTR -476[rbp], 1
.L11:
	mov	eax, DWORD PTR ind[rip]
	cmp	DWORD PTR -476[rbp], eax
	jl	.L12
	jmp	.L13
.L10:
	add	DWORD PTR -480[rbp], 1
.L9:
	mov	eax, DWORD PTR ind[rip]
	cmp	DWORD PTR -480[rbp], eax
	jl	.L14
.L13:
	mov	eax, DWORD PTR ind[rip]
	sub	eax, 1
	mov	DWORD PTR ind[rip], eax
	lea	rsi, -488[rbp]
	mov	eax, DWORD PTR -472[rbp]
	mov	ecx, 0
	mov	edx, 4
	mov	edi, eax
	call	send@PLT
	mov	eax, DWORD PTR -464[rbp]
	lea	rdx, -464[rbp]
	lea	rcx, 8[rdx]
	mov	edx, eax
	mov	rsi, rcx
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC8[rip]
	call	puts@PLT
.L18:
	mov	eax, DWORD PTR -488[rbp]
	lea	rsi, -352[rbp]
	mov	ecx, 0
	mov	edx, 100
	mov	edi, eax
	call	recv@PLT
	lea	rax, -352[rbp]
	lea	rsi, .LC9[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	je	.L30
	lea	rsi, -352[rbp]
	mov	eax, DWORD PTR -472[rbp]
	mov	ecx, 0
	mov	edx, 100
	mov	edi, eax
	call	send@PLT
	lea	rax, -352[rbp]
	lea	rsi, .LC10[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	je	.L31
	jmp	.L18
.L30:
	nop
	jmp	.L16
.L31:
	nop
.L16:
	mov	eax, DWORD PTR -464[rbp]
	lea	rdx, -464[rbp]
	lea	rcx, 8[rdx]
	mov	edx, eax
	mov	rsi, rcx
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC11[rip]
	call	puts@PLT
	jmp	.L26
.L8:
	lea	rax, -352[rbp]
	lea	rsi, .LC12[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L19
	mov	eax, DWORD PTR -464[rbp]
	lea	rdx, -464[rbp]
	lea	rcx, 8[rdx]
	mov	edx, eax
	mov	rsi, rcx
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR ind[rip]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	lea	rdx, 0[0+rax*8]
	add	rax, rdx
	sal	rax, 2
	lea	rdx, list[rip]
	add	rax, rdx
	add	rax, 8
	lea	rdx, -464[rbp]
	add	rdx, 8
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	mov	eax, DWORD PTR ind[rip]
	mov	edx, DWORD PTR -464[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	add	rax, rax
	add	rax, rcx
	lea	rcx, 0[0+rax*8]
	add	rax, rcx
	sal	rax, 2
	mov	rcx, rax
	lea	rax, list[rip]
	mov	DWORD PTR [rcx+rax], edx
	mov	eax, DWORD PTR ind[rip]
	mov	edx, DWORD PTR -460[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	add	rax, rax
	add	rax, rcx
	lea	rcx, 0[0+rax*8]
	add	rax, rcx
	sal	rax, 2
	mov	rcx, rax
	lea	rax, list[rip+4]
	mov	DWORD PTR [rcx+rax], edx
	mov	eax, DWORD PTR ind[rip]
	add	eax, 1
	mov	DWORD PTR ind[rip], eax
	lea	rdi, .LC13[rip]
	call	puts@PLT
	mov	eax, DWORD PTR -488[rbp]
	lea	rsi, -484[rbp]
	mov	ecx, 0
	mov	edx, 4
	mov	edi, eax
	call	recv@PLT
	mov	eax, DWORD PTR -464[rbp]
	lea	rdx, -464[rbp]
	lea	rcx, 8[rdx]
	mov	edx, eax
	mov	rsi, rcx
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC14[rip]
	call	puts@PLT
.L23:
	mov	eax, DWORD PTR -488[rbp]
	lea	rsi, -352[rbp]
	mov	ecx, 0
	mov	edx, 100
	mov	edi, eax
	call	recv@PLT
	lea	rax, -352[rbp]
	lea	rsi, .LC9[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	je	.L32
	mov	eax, DWORD PTR -484[rbp]
	lea	rsi, -352[rbp]
	mov	ecx, 0
	mov	edx, 100
	mov	edi, eax
	call	send@PLT
	lea	rax, -352[rbp]
	lea	rsi, .LC10[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	je	.L33
	jmp	.L23
.L32:
	nop
	jmp	.L21
.L33:
	nop
.L21:
	mov	eax, DWORD PTR -464[rbp]
	lea	rdx, -464[rbp]
	lea	rcx, 8[rdx]
	mov	edx, eax
	mov	rsi, rcx
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC15[rip]
	call	puts@PLT
	jmp	.L26
.L19:
	lea	rax, -352[rbp]
	lea	rsi, .LC16[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L24
	mov	eax, DWORD PTR -464[rbp]
	lea	rdx, -464[rbp]
	lea	rcx, 8[rdx]
	mov	edx, eax
	mov	rsi, rcx
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC17[rip]
	call	puts@PLT
	mov	eax, DWORD PTR -488[rbp]
	mov	edi, eax
	mov	eax, 0
	call	close@PLT
	mov	eax, 0
	jmp	.L27
.L24:
	lea	rdi, .LC18[rip]
	call	puts@PLT
	mov	eax, DWORD PTR -464[rbp]
	lea	rdx, -464[rbp]
	lea	rcx, 8[rdx]
	mov	edx, eax
	mov	rsi, rcx
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC17[rip]
	call	puts@PLT
	mov	eax, DWORD PTR -488[rbp]
	mov	edi, eax
	mov	eax, 0
	call	close@PLT
	mov	eax, 0
.L27:
	mov	rbx, QWORD PTR -24[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L28
	call	__stack_chk_fail@PLT
.L28:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	foo, .-foo
	.section	.rodata
.LC19:
	.string	"127.0.0.1"
.LC20:
	.string	"Binding failed.."
	.align 8
.LC21:
	.string	"\nServer was started successfully.. waiting for response from client..."
	.align 8
.LC22:
	.string	"SERVER : Got a new connection from -- %s %d\n\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, 456
	.cfi_offset 3, -24
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -448[rbp], 0
	mov	edx, 0
	mov	esi, 1
	mov	edi, 2
	call	socket@PLT
	mov	DWORD PTR -444[rbp], eax
	mov	WORD PTR -416[rbp], 2
	mov	WORD PTR -414[rbp], 15518
	lea	rdi, .LC19[rip]
	call	inet_addr@PLT
	mov	DWORD PTR -412[rbp], eax
	lea	rcx, -416[rbp]
	mov	eax, DWORD PTR -444[rbp]
	mov	edx, 16
	mov	rsi, rcx
	mov	edi, eax
	call	bind@PLT
	cmp	eax, -1
	jne	.L35
	lea	rdi, .LC20[rip]
	call	puts@PLT
	mov	eax, 1
	mov	rbx, QWORD PTR -24[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L38
	jmp	.L39
.L35:
	lea	rdi, .LC21[rip]
	call	puts@PLT
	mov	DWORD PTR -452[rbp], 16
	mov	eax, DWORD PTR -444[rbp]
	mov	esi, 2
	mov	edi, eax
	call	listen@PLT
	mov	DWORD PTR -440[rbp], eax
.L37:
	lea	rdx, -452[rbp]
	lea	rcx, -432[rbp]
	mov	eax, DWORD PTR -444[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	accept@PLT
	mov	DWORD PTR -436[rbp], eax
	movzx	eax, WORD PTR -430[rbp]
	movzx	eax, ax
	mov	edi, eax
	call	ntohs@PLT
	movzx	ebx, ax
	mov	eax, DWORD PTR -428[rbp]
	mov	edi, eax
	call	inet_ntoa@PLT
	mov	edx, ebx
	mov	rsi, rax
	lea	rdi, .LC22[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -436[rbp]
	mov	DWORD PTR -396[rbp], eax
	movzx	eax, WORD PTR -430[rbp]
	movzx	eax, ax
	mov	edi, eax
	call	ntohs@PLT
	movzx	eax, ax
	mov	DWORD PTR -400[rbp], eax
	mov	eax, DWORD PTR -428[rbp]
	mov	edi, eax
	call	inet_ntoa@PLT
	mov	rdx, rax
	lea	rax, -400[rbp]
	add	rax, 8
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	lea	rdx, -288[rbp]
	mov	eax, DWORD PTR -448[rbp]
	cdqe
	sal	rax, 3
	lea	rdi, [rdx+rax]
	lea	rax, -400[rbp]
	mov	rcx, rax
	lea	rdx, foo[rip]
	mov	esi, 0
	call	pthread_create@PLT
	add	DWORD PTR -448[rbp], 1
	jmp	.L37
.L39:
	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	"739181.c"
	.text
	.comm	list,10800,4
	.comm	ind,4,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"\012SERVER : Waiting for : %s %d\012\000"
	.align	2
.LC1:
	.ascii	"\012SERVER : Proccessing request from : %s %d\012\000"
	.align	2
.LC2:
	.ascii	"request\000"
	.align	2
.LC3:
	.ascii	"\012SERVER : AT : %s %d\012\000"
	.align	2
.LC4:
	.ascii	"SERVER : Size of the list : %d\012\000"
	.align	2
.LC5:
	.ascii	"The List : \000"
	.align	2
.LC6:
	.ascii	"%s %d\012\000"
	.align	2
.LC7:
	.ascii	"connect\000"
	.align	2
.LC8:
	.ascii	"SERVER : Starting chat at the connect side\000"
	.align	2
.LC9:
	.ascii	"die\000"
	.align	2
.LC10:
	.ascii	"end\000"
	.align	2
.LC11:
	.ascii	"SERVER : chat was closed at the connect side\000"
	.align	2
.LC12:
	.ascii	"wait\000"
	.align	2
.LC13:
	.ascii	"SERVER : Waiting for a chat request\000"
	.align	2
.LC14:
	.ascii	"SERVER : Got a chat request\000"
	.align	2
.LC15:
	.ascii	"SERVER : Chat was closed at the wait side\000"
	.align	2
.LC16:
	.ascii	"logout\000"
	.align	2
.LC17:
	.ascii	"SERVER : Closing connection and removing from the l"
	.ascii	"ist\000"
	.align	2
.LC18:
	.ascii	"SERVER : Something Wrong here\000"
	.align	2
.LC19:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	foo
	.syntax unified
	.arm
	.fpu softvfp
	.type	foo, %function
foo:
	@ args = 0, pretend = 0, frame = 448
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #448
	str	r0, [fp, #-448]
	ldr	r3, .L34
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r2, [fp, #-448]
	sub	r3, fp, #416
	mov	r1, r2
	mov	r2, #108
	mov	r0, r3
	bl	memcpy
	ldr	r3, [fp, #-412]
	str	r3, [fp, #-440]
.L26:
	ldr	r2, [fp, #-416]
	sub	r3, fp, #416
	add	r3, r3, #8
	mov	r1, r3
	ldr	r0, .L34+4
	bl	printf
	sub	r3, fp, #308
	mov	r2, #100
	mov	r1, #0
	mov	r0, r3
	bl	memset
	ldr	r0, [fp, #-440]
	sub	r1, fp, #308
	mov	r3, #0
	mov	r2, #100
	bl	recv
	ldr	r2, [fp, #-416]
	sub	r3, fp, #416
	add	r3, r3, #8
	mov	r1, r3
	ldr	r0, .L34+8
	bl	printf
	sub	r3, fp, #308
	mov	r0, r3
	bl	puts
	sub	r3, fp, #308
	ldr	r1, .L34+12
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L2
	ldr	r2, [fp, #-416]
	sub	r3, fp, #416
	add	r3, r3, #8
	mov	r1, r3
	ldr	r0, .L34+16
	bl	printf
	ldr	r3, .L34+20
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L34+24
	bl	printf
	ldr	r0, [fp, #-440]
	mov	r3, #0
	mov	r2, #4
	ldr	r1, .L34+20
	bl	send
	ldr	r0, .L34+28
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-432]
	b	.L3
.L6:
	ldr	r2, [fp, #-432]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r2, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, #8
	ldr	r2, .L34+32
	add	r1, r3, r2
	ldr	r0, .L34+32
	ldr	r2, [fp, #-432]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r2, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r0, r3
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r0, .L34+36
	bl	printf
	ldr	r2, [fp, #-432]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r2, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, #8
	ldr	r2, .L34+32
	add	r2, r3, r2
	sub	r3, fp, #416
	add	r3, r3, #8
	mov	r1, r2
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L4
	ldr	r1, [fp, #-416]
	ldr	r0, .L34+32
	ldr	r2, [fp, #-432]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r2, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r0, r3
	ldr	r3, [r3]
	cmp	r1, r3
	beq	.L29
.L4:
	ldr	r0, [fp, #-440]
	ldr	r2, [fp, #-432]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r2, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, #8
	ldr	r2, .L34+32
	add	r1, r3, r2
	mov	r3, #0
	mov	r2, #100
	bl	send
	ldr	r0, [fp, #-440]
	ldr	r2, [fp, #-432]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r2, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #2
	ldr	r2, .L34+32
	add	r1, r3, r2
	mov	r3, #0
	mov	r2, #4
	bl	send
	b	.L5
.L29:
	nop
.L5:
	ldr	r3, [fp, #-432]
	add	r3, r3, #1
	str	r3, [fp, #-432]
.L3:
	ldr	r3, .L34+20
	ldr	r3, [r3]
	ldr	r2, [fp, #-432]
	cmp	r2, r3
	blt	.L6
	b	.L26
.L2:
	sub	r3, fp, #308
	ldr	r1, .L34+40
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L8
	ldr	r2, [fp, #-416]
	sub	r3, fp, #416
	add	r3, r3, #8
	mov	r1, r3
	ldr	r0, .L34+16
	bl	printf
	ldr	r0, [fp, #-440]
	sub	r1, fp, #208
	mov	r3, #0
	mov	r2, #100
	bl	recv
	ldr	r0, [fp, #-440]
	sub	r1, fp, #436
	mov	r3, #0
	mov	r2, #4
	bl	recv
	mov	r3, #0
	str	r3, [fp, #-432]
	b	.L9
.L14:
	ldr	r2, [fp, #-432]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r2, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, #8
	ldr	r2, .L34+32
	add	r2, r3, r2
	sub	r3, fp, #208
	mov	r1, r2
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L10
	ldr	r1, .L34+32
	ldr	r2, [fp, #-432]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r2, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-436]
	cmp	r2, r3
	bne	.L10
	ldr	r1, .L34+32
	ldr	r2, [fp, #-432]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r2, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #4
	ldr	r3, [r3]
	str	r3, [fp, #-424]
	ldr	r2, [fp, #-432]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r2, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, #8
	ldr	r2, .L34+32
	add	r2, r3, r2
	sub	r3, fp, #108
	mov	r1, r2
	mov	r0, r3
	bl	strcpy
	ldr	r1, .L34+32
	ldr	r2, [fp, #-432]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r2, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r3, [r3]
	str	r3, [fp, #-420]
	ldr	r3, [fp, #-432]
	str	r3, [fp, #-428]
	b	.L11
.L12:
	ldr	r2, [fp, #-428]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r2, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, #8
	ldr	r2, .L34+32
	add	r0, r3, r2
	ldr	r3, [fp, #-428]
	add	r2, r3, #1
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r2, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, #8
	ldr	r2, .L34+32
	add	r3, r3, r2
	mov	r1, r3
	bl	strcpy
	ldr	r3, [fp, #-428]
	add	r2, r3, #1
	ldr	r1, .L34+32
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r2, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r1, [r3]
	ldr	r0, .L34+32
	ldr	r2, [fp, #-428]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r2, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r0, r3
	str	r1, [r3]
	ldr	r3, [fp, #-428]
	add	r2, r3, #1
	ldr	r1, .L34+32
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r2, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #4
	ldr	r1, [r3]
	ldr	r0, .L34+32
	ldr	r2, [fp, #-428]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r2, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r0, r3
	add	r3, r3, #4
	str	r1, [r3]
	ldr	r3, [fp, #-428]
	add	r3, r3, #1
	str	r3, [fp, #-428]
.L11:
	ldr	r3, .L34+20
	ldr	r3, [r3]
	ldr	r2, [fp, #-428]
	cmp	r2, r3
	blt	.L12
	b	.L13
.L10:
	ldr	r3, [fp, #-432]
	add	r3, r3, #1
	str	r3, [fp, #-432]
.L9:
	ldr	r3, .L34+20
	ldr	r3, [r3]
	ldr	r2, [fp, #-432]
	cmp	r2, r3
	blt	.L14
.L13:
	ldr	r3, .L34+20
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, .L34+20
	str	r3, [r2]
	sub	r1, fp, #440
	mov	r3, #0
	mov	r2, #4
	ldr	r0, [fp, #-424]
	bl	send
	ldr	r2, [fp, #-416]
	sub	r3, fp, #416
	add	r3, r3, #8
	mov	r1, r3
	ldr	r0, .L34+16
	bl	printf
	ldr	r0, .L34+44
	bl	puts
.L18:
	ldr	r0, [fp, #-440]
	sub	r1, fp, #308
	mov	r3, #0
	mov	r2, #100
	bl	recv
	sub	r3, fp, #308
	ldr	r1, .L34+48
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L30
	sub	r1, fp, #308
	mov	r3, #0
	mov	r2, #100
	ldr	r0, [fp, #-424]
	bl	send
	sub	r3, fp, #308
	ldr	r1, .L34+52
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L31
	b	.L18
.L30:
	nop
	b	.L16
.L31:
	nop
.L16:
	ldr	r2, [fp, #-416]
	sub	r3, fp, #416
	add	r3, r3, #8
	mov	r1, r3
	ldr	r0, .L34+16
	bl	printf
	ldr	r0, .L34+56
	bl	puts
	b	.L26
.L8:
	sub	r3, fp, #308
	ldr	r1, .L34+60
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L19
	ldr	r2, [fp, #-416]
	sub	r3, fp, #416
	add	r3, r3, #8
	mov	r1, r3
	ldr	r0, .L34+16
	bl	printf
	ldr	r3, .L34+20
	ldr	r2, [r3]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r2, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, #8
	ldr	r2, .L34+32
	add	r2, r3, r2
	sub	r3, fp, #416
	add	r3, r3, #8
	mov	r1, r3
	mov	r0, r2
	bl	strcpy
	ldr	r3, .L34+20
	ldr	r2, [r3]
	ldr	r1, [fp, #-416]
	ldr	r0, .L34+32
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r2, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r0, r3
	str	r1, [r3]
	ldr	r3, .L34+20
	ldr	r2, [r3]
	ldr	r1, [fp, #-412]
	ldr	r0, .L34+32
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r2, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r0, r3
	add	r3, r3, #4
	str	r1, [r3]
	ldr	r3, .L34+20
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L34+20
	str	r3, [r2]
	ldr	r0, .L34+64
	bl	puts
	ldr	r0, [fp, #-440]
	sub	r1, fp, #436
	mov	r3, #0
	mov	r2, #4
	bl	recv
	ldr	r2, [fp, #-416]
	sub	r3, fp, #416
	add	r3, r3, #8
	mov	r1, r3
	ldr	r0, .L34+16
	bl	printf
	ldr	r0, .L34+68
	bl	puts
.L23:
	ldr	r0, [fp, #-440]
	sub	r1, fp, #308
	mov	r3, #0
	mov	r2, #100
	bl	recv
	sub	r3, fp, #308
	ldr	r1, .L34+48
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L32
	ldr	r0, [fp, #-436]
	sub	r1, fp, #308
	mov	r3, #0
	mov	r2, #100
	bl	send
	sub	r3, fp, #308
	ldr	r1, .L34+52
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L33
	b	.L23
.L32:
	nop
	b	.L21
.L33:
	nop
.L21:
	ldr	r2, [fp, #-416]
	sub	r3, fp, #416
	add	r3, r3, #8
	mov	r1, r3
	ldr	r0, .L34+16
	bl	printf
	ldr	r0, .L34+72
	bl	puts
	b	.L26
.L19:
	sub	r3, fp, #308
	ldr	r1, .L34+76
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L24
	ldr	r2, [fp, #-416]
	sub	r3, fp, #416
	add	r3, r3, #8
	mov	r1, r3
	ldr	r0, .L34+16
	bl	printf
	ldr	r0, .L34+80
	bl	puts
	ldr	r3, [fp, #-440]
	mov	r0, r3
	bl	close
	mov	r3, #0
	b	.L27
.L24:
	ldr	r0, .L34+84
	bl	puts
	ldr	r2, [fp, #-416]
	sub	r3, fp, #416
	add	r3, r3, #8
	mov	r1, r3
	ldr	r0, .L34+16
	bl	printf
	ldr	r0, .L34+80
	bl	puts
	ldr	r3, [fp, #-440]
	mov	r0, r3
	bl	close
	mov	r3, #0
.L27:
	ldr	r2, .L34
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L28
	bl	__stack_chk_fail
.L28:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L35:
	.align	2
.L34:
	.word	.LC19
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	ind
	.word	.LC4
	.word	.LC5
	.word	list
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.word	.LC16
	.word	.LC17
	.word	.LC18
	.size	foo, .-foo
	.section	.rodata
	.align	2
.LC20:
	.ascii	"127.0.0.1\000"
	.align	2
.LC21:
	.ascii	"Binding failed..\000"
	.align	2
.LC22:
	.ascii	"\012Server was started successfully.. waiting for r"
	.ascii	"esponse from client...\000"
	.align	2
.LC23:
	.ascii	"SERVER : Got a new connection from -- %s %d\012\012"
	.ascii	"\000"
	.align	2
.LC24:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 344
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #348
	ldr	r3, .L42
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-352]
	mov	r2, #0
	mov	r1, #1
	mov	r0, #2
	bl	socket
	str	r0, [fp, #-348]
	sub	r3, fp, #12
	sub	r3, r3, #308
	mov	r2, #2
	strh	r2, [r3]	@ movhi
	sub	r3, fp, #12
	sub	r3, r3, #308
	ldr	r2, .L42+4
	strh	r2, [r3, #2]	@ movhi
	ldr	r0, .L42+8
	bl	inet_addr
	mov	r3, r0
	str	r3, [fp, #-316]
	sub	r3, fp, #320
	mov	r2, #16
	mov	r1, r3
	ldr	r0, [fp, #-348]
	bl	bind
	mov	r3, r0
	cmn	r3, #1
	bne	.L37
	ldr	r0, .L42+12
	bl	puts
	mov	r3, #1
	ldr	r2, .L42
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L40
	b	.L41
.L37:
	ldr	r0, .L42+16
	bl	puts
	mov	r3, #16
	str	r3, [fp, #-356]
	mov	r1, #2
	ldr	r0, [fp, #-348]
	bl	listen
	str	r0, [fp, #-344]
.L39:
	sub	r2, fp, #356
	sub	r3, fp, #336
	mov	r1, r3
	ldr	r0, [fp, #-348]
	bl	accept
	str	r0, [fp, #-340]
	ldr	r0, [fp, #-332]
	bl	inet_ntoa
	mov	r4, r0
	sub	r3, fp, #12
	sub	r3, r3, #324
	ldrh	r3, [r3, #2]
	mov	r0, r3
	bl	ntohs
	mov	r3, r0
	mov	r2, r3
	mov	r1, r4
	ldr	r0, .L42+20
	bl	printf
	ldr	r3, [fp, #-340]
	str	r3, [fp, #-220]
	sub	r3, fp, #12
	sub	r3, r3, #324
	ldrh	r3, [r3, #2]
	mov	r0, r3
	bl	ntohs
	mov	r3, r0
	str	r3, [fp, #-224]
	ldr	r0, [fp, #-332]
	bl	inet_ntoa
	mov	r2, r0
	sub	r3, fp, #224
	add	r3, r3, #8
	mov	r1, r2
	mov	r0, r3
	bl	strcpy
	sub	r2, fp, #304
	ldr	r3, [fp, #-352]
	lsl	r3, r3, #2
	add	r0, r2, r3
	sub	r3, fp, #224
	ldr	r2, .L42+24
	mov	r1, #0
	bl	pthread_create
	ldr	r3, [fp, #-352]
	add	r3, r3, #1
	str	r3, [fp, #-352]
	b	.L39
.L41:
	bl	__stack_chk_fail
.L40:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L43:
	.align	2
.L42:
	.word	.LC24
	.word	15518
	.word	.LC20
	.word	.LC21
	.word	.LC22
	.word	.LC23
	.word	foo
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
