	.file	"149993.c"
	.intel_syntax noprefix
	.text
	.globl	newNode
	.type	newNode, @function
newNode:
.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	QWORD PTR -32[rbp], rsi
	mov	edi, 72
	call	malloc@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, DWORD PTR -20[rbp]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR 8[rax], 0
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR 16[rax], 0
	mov	rax, QWORD PTR -8[rbp]
	lea	rcx, 24[rax]
	mov	rax, QWORD PTR -32[rbp]
	mov	edx, 16
	mov	rsi, rax
	mov	rdi, rcx
	call	strncpy@PLT
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 40
	mov	DWORD PTR [rax], 1280070990
	mov	BYTE PTR 4[rax], 0
	mov	rax, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	newNode, .-newNode
	.globl	server_sockfd
	.bss
	.align 4
	.type	server_sockfd, @object
	.size	server_sockfd, 4
server_sockfd:
	.zero	4
	.globl	client_sockfd
	.align 4
	.type	client_sockfd, @object
	.size	client_sockfd, 4
client_sockfd:
	.zero	4
	.globl	root
	.align 8
	.type	root, @object
	.size	root, 8
root:
	.zero	8
	.globl	now
	.align 8
	.type	now, @object
	.size	now, 8
now:
	.zero	8
	.text
	.globl	str_trim_lf
	.type	str_trim_lf, @function
str_trim_lf:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	mov	DWORD PTR -4[rbp], 0
	jmp	.L4
.L7:
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 10
	jne	.L5
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 0
	jmp	.L6
.L5:
	add	DWORD PTR -4[rbp], 1
.L4:
	mov	eax, DWORD PTR -4[rbp]
	cmp	eax, DWORD PTR -28[rbp]
	jl	.L7
	nop
.L6:
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	str_trim_lf, .-str_trim_lf
	.section	.rodata
.LC0:
	.string	"\nClose socketfd: %d\n"
.LC1:
	.string	"Bye"
	.text
	.globl	catch_ctrl_c_and_exit
	.type	catch_ctrl_c_and_exit, @function
catch_ctrl_c_and_exit:
.LFB8:
	.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
	jmp	.L9
.L10:
	mov	rax, QWORD PTR root[rip]
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR root[rip]
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	close@PLT
	mov	rax, QWORD PTR root[rip]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR root[rip]
	mov	rax, QWORD PTR 16[rax]
	mov	QWORD PTR root[rip], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	free@PLT
.L9:
	mov	rax, QWORD PTR root[rip]
	test	rax, rax
	jne	.L10
	lea	rdi, .LC1[rip]
	call	puts@PLT
	mov	edi, 0
	call	exit@PLT
	.cfi_endproc
.LFE8:
	.size	catch_ctrl_c_and_exit, .-catch_ctrl_c_and_exit
	.section	.rodata
.LC2:
	.string	"Send to sockfd %d: \"%s\" \n"
	.text
	.globl	send_to_all_clients
	.type	send_to_all_clients, @function
send_to_all_clients:
.LFB9:
	.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	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	rax, QWORD PTR root[rip]
	mov	rax, QWORD PTR 16[rax]
	mov	QWORD PTR -8[rbp], rax
	jmp	.L12
.L14:
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	edx, eax
	je	.L13
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR [rax]
	mov	rdx, QWORD PTR -32[rbp]
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR [rax]
	mov	rsi, QWORD PTR -32[rbp]
	mov	ecx, 0
	mov	edx, 201
	mov	edi, eax
	call	send@PLT
.L13:
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	QWORD PTR -8[rbp], rax
.L12:
	cmp	QWORD PTR -8[rbp], 0
	jne	.L14
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	send_to_all_clients, .-send_to_all_clients
	.globl	send_to_particular_client
	.type	send_to_particular_client, @function
send_to_particular_client:
.LFB10:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	QWORD PTR -40[rbp], rdx
	mov	rax, QWORD PTR root[rip]
	mov	rax, QWORD PTR 16[rax]
	mov	QWORD PTR -8[rbp], rax
	jmp	.L16
.L18:
	mov	rax, QWORD PTR -8[rbp]
	lea	rdx, 40[rax]
	mov	rax, QWORD PTR -40[rbp]
	mov	rsi, rax
	mov	rdi, rdx
	call	strcmp@PLT
	test	eax, eax
	jne	.L17
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR [rax]
	mov	rdx, QWORD PTR -32[rbp]
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR [rax]
	mov	rsi, QWORD PTR -32[rbp]
	mov	ecx, 0
	mov	edx, 201
	mov	edi, eax
	call	send@PLT
.L17:
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	QWORD PTR -8[rbp], rax
.L16:
	cmp	QWORD PTR -8[rbp], 0
	jne	.L18
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	send_to_particular_client, .-send_to_particular_client
	.globl	usernm_verification
	.type	usernm_verification, @function
usernm_verification:
.LFB11:
	.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	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	DWORD PTR -12[rbp], 0
	mov	rax, QWORD PTR root[rip]
	mov	rax, QWORD PTR 16[rax]
	mov	QWORD PTR -8[rbp], rax
	jmp	.L20
.L22:
	mov	rax, QWORD PTR -8[rbp]
	lea	rdx, 40[rax]
	mov	rax, QWORD PTR -32[rbp]
	mov	rsi, rax
	mov	rdi, rdx
	call	strcmp@PLT
	test	eax, eax
	jne	.L21
	add	DWORD PTR -12[rbp], 1
.L21:
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	QWORD PTR -8[rbp], rax
.L20:
	cmp	QWORD PTR -8[rbp], 0
	jne	.L22
	mov	eax, DWORD PTR -12[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	usernm_verification, .-usernm_verification
	.section	.rodata
.LC3:
	.string	"%s didn't input name.\n"
	.align 8
.LC4:
	.string	"%s(%s)(%d) joined the chatroom.\n"
.LC5:
	.string	"%s(%s) joined the chatroom."
.LC6:
	.string	"'%s'"
.LC7:
	.string	"%s\357\274\232%s"
.LC8:
	.string	"exit"
	.align 8
.LC9:
	.string	"%s(%s)(%d) left the chatroom.\n"
.LC10:
	.string	"%s(%s) left the chatroom."
.LC11:
	.string	"fuck"
.LC12:
	.string	"shit"
.LC13:
	.string	"asshole"
.LC14:
	.string	"pussy"
	.align 8
.LC15:
	.string	"Abusive/swear word has been detected! You have been kicked out!"
.LC16:
	.string	"Fatal Error: -1"
	.align 8
.LC17:
	.string	"The requested user couldn't be detected!"
	.text
	.globl	client_handler
	.type	client_handler, @function
client_handler:
.LFB12:
	.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, 4096
	or	QWORD PTR [rsp], 0
	sub	rsp, 2536
	.cfi_offset 3, -24
	mov	QWORD PTR -6632[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -6620[rbp], 0
	mov	DWORD PTR -6604[rbp], 0
	mov	QWORD PTR -6528[rbp], 0
	mov	QWORD PTR -6520[rbp], 0
	mov	QWORD PTR -6512[rbp], 0
	mov	DWORD PTR -6504[rbp], 0
	mov	WORD PTR -6500[rbp], 0
	mov	BYTE PTR -6498[rbp], 0
	mov	QWORD PTR -6496[rbp], 0
	mov	QWORD PTR -6488[rbp], 0
	mov	QWORD PTR -6480[rbp], 0
	mov	DWORD PTR -6472[rbp], 0
	mov	WORD PTR -6468[rbp], 0
	mov	BYTE PTR -6466[rbp], 0
	mov	QWORD PTR -6464[rbp], 0
	mov	QWORD PTR -6456[rbp], 0
	mov	QWORD PTR -6448[rbp], 0
	mov	QWORD PTR -6440[rbp], 0
	mov	QWORD PTR -6432[rbp], 0
	mov	QWORD PTR -6424[rbp], 0
	mov	QWORD PTR -6416[rbp], 0
	mov	QWORD PTR -6408[rbp], 0
	mov	QWORD PTR -6400[rbp], 0
	mov	QWORD PTR -6392[rbp], 0
	mov	QWORD PTR -6384[rbp], 0
	mov	QWORD PTR -6376[rbp], 0
	mov	DWORD PTR -6368[rbp], 0
	mov	BYTE PTR -6364[rbp], 0
	mov	QWORD PTR -6032[rbp], 0
	mov	QWORD PTR -6024[rbp], 0
	lea	rdx, -6016[rbp]
	mov	eax, 0
	mov	ecx, 748
	mov	rdi, rdx
	rep stosq
	mov	QWORD PTR -6352[rbp], 0
	mov	QWORD PTR -6344[rbp], 0
	mov	QWORD PTR -6336[rbp], 0
	mov	QWORD PTR -6328[rbp], 0
	mov	QWORD PTR -6320[rbp], 0
	mov	QWORD PTR -6312[rbp], 0
	mov	QWORD PTR -6304[rbp], 0
	mov	QWORD PTR -6296[rbp], 0
	mov	QWORD PTR -6288[rbp], 0
	mov	QWORD PTR -6280[rbp], 0
	mov	QWORD PTR -6272[rbp], 0
	mov	QWORD PTR -6264[rbp], 0
	mov	DWORD PTR -6256[rbp], 0
	mov	BYTE PTR -6252[rbp], 0
	mov	QWORD PTR -6240[rbp], 0
	mov	QWORD PTR -6232[rbp], 0
	mov	QWORD PTR -6224[rbp], 0
	mov	QWORD PTR -6216[rbp], 0
	mov	QWORD PTR -6208[rbp], 0
	mov	QWORD PTR -6200[rbp], 0
	mov	QWORD PTR -6192[rbp], 0
	mov	QWORD PTR -6184[rbp], 0
	mov	QWORD PTR -6176[rbp], 0
	mov	QWORD PTR -6168[rbp], 0
	mov	QWORD PTR -6160[rbp], 0
	mov	QWORD PTR -6152[rbp], 0
	mov	QWORD PTR -6144[rbp], 0
	mov	QWORD PTR -6136[rbp], 0
	mov	QWORD PTR -6128[rbp], 0
	mov	QWORD PTR -6120[rbp], 0
	mov	QWORD PTR -6112[rbp], 0
	mov	QWORD PTR -6104[rbp], 0
	mov	QWORD PTR -6096[rbp], 0
	mov	QWORD PTR -6088[rbp], 0
	mov	QWORD PTR -6080[rbp], 0
	mov	QWORD PTR -6072[rbp], 0
	mov	QWORD PTR -6064[rbp], 0
	mov	QWORD PTR -6056[rbp], 0
	mov	QWORD PTR -6048[rbp], 0
	mov	BYTE PTR -6040[rbp], 0
	mov	rax, QWORD PTR -6632[rbp]
	mov	QWORD PTR -6592[rbp], rax
	movabs	rax, 6000276034678768978
	mov	QWORD PTR -6571[rbp], rax
	mov	WORD PTR -6563[rbp], 8275
	mov	BYTE PTR -6561[rbp], 0
	mov	rax, QWORD PTR -6592[rbp]
	mov	eax, DWORD PTR [rax]
	lea	rsi, -6528[rbp]
	mov	ecx, 0
	mov	edx, 31
	mov	edi, eax
	call	recv@PLT
	test	rax, rax
	jle	.L25
	lea	rax, -6528[rbp]
	mov	rdi, rax
	call	strlen@PLT
	cmp	rax, 1
	jbe	.L25
	lea	rax, -6528[rbp]
	mov	rdi, rax
	call	strlen@PLT
	cmp	rax, 29
	jbe	.L26
.L25:
	mov	rax, QWORD PTR -6592[rbp]
	add	rax, 24
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -6620[rbp], 1
	jmp	.L47
.L26:
	mov	rax, QWORD PTR -6592[rbp]
	lea	rcx, 40[rax]
	lea	rax, -6528[rbp]
	mov	edx, 31
	mov	rsi, rax
	mov	rdi, rcx
	call	strncpy@PLT
	mov	rax, QWORD PTR -6592[rbp]
	mov	eax, DWORD PTR [rax]
	mov	rdx, QWORD PTR -6592[rbp]
	add	rdx, 24
	mov	rcx, QWORD PTR -6592[rbp]
	lea	rsi, 40[rcx]
	mov	ecx, eax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -6592[rbp]
	lea	rcx, 24[rax]
	mov	rax, QWORD PTR -6592[rbp]
	lea	rdx, 40[rax]
	lea	rax, -6240[rbp]
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	lea	rdx, -6240[rbp]
	mov	rax, QWORD PTR -6592[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	send_to_all_clients
.L47:
	mov	DWORD PTR -6616[rbp], 0
	mov	DWORD PTR -6600[rbp], 0
	mov	QWORD PTR -6560[rbp], 0
	mov	QWORD PTR -6552[rbp], 0
	mov	DWORD PTR -6544[rbp], 0
	mov	DWORD PTR -6612[rbp], 0
	mov	DWORD PTR -6608[rbp], 0
	cmp	DWORD PTR -6620[rbp], 0
	je	.L28
	mov	rax, QWORD PTR -6592[rbp]
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	close@PLT
	mov	rax, QWORD PTR now[rip]
	cmp	QWORD PTR -6592[rbp], rax
	je	.L29
	jmp	.L50
.L28:
	mov	rax, QWORD PTR -6592[rbp]
	mov	eax, DWORD PTR [rax]
	lea	rsi, -6464[rbp]
	mov	ecx, 0
	mov	edx, 101
	mov	edi, eax
	call	recv@PLT
	mov	DWORD PTR -6596[rbp], eax
	lea	rdx, -6464[rbp]
	lea	rax, -6352[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	cmp	DWORD PTR -6596[rbp], 0
	jle	.L31
	lea	rax, -6464[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L51
	lea	rdx, -6571[rbp]
	lea	rax, -6352[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strstr@PLT
	test	rax, rax
	je	.L34
	lea	rdx, -6571[rbp]
	lea	rax, -6352[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strstr@PLT
	mov	QWORD PTR -6584[rbp], rax
	cmp	QWORD PTR -6584[rbp], 0
	je	.L35
	lea	rdx, -6352[rbp]
	mov	rax, QWORD PTR -6584[rbp]
	sub	rax, rdx
	mov	ebx, eax
	lea	rax, -6571[rbp]
	mov	rdi, rax
	call	strlen@PLT
	add	eax, ebx
	mov	DWORD PTR -6616[rbp], eax
.L35:
	mov	eax, DWORD PTR -6616[rbp]
	mov	DWORD PTR -6612[rbp], eax
	jmp	.L36
.L37:
	add	DWORD PTR -6612[rbp], 1
.L36:
	mov	eax, DWORD PTR -6612[rbp]
	cdqe
	movzx	eax, BYTE PTR -6352[rbp+rax]
	cmp	al, 32
	jne	.L37
	mov	eax, DWORD PTR -6612[rbp]
	sub	eax, 1
	mov	DWORD PTR -6600[rbp], eax
	mov	eax, DWORD PTR -6616[rbp]
	mov	DWORD PTR -6612[rbp], eax
.L39:
	mov	eax, DWORD PTR -6612[rbp]
	cmp	eax, DWORD PTR -6600[rbp]
	jg	.L52
	mov	eax, DWORD PTR -6612[rbp]
	cdqe
	movzx	edx, BYTE PTR -6352[rbp+rax]
	mov	eax, DWORD PTR -6608[rbp]
	cdqe
	mov	BYTE PTR -6560[rbp+rax], dl
	add	DWORD PTR -6608[rbp], 1
	add	DWORD PTR -6612[rbp], 1
	jmp	.L39
.L52:
	nop
.L34:
	lea	rax, -6560[rbp]
	mov	esi, 101
	mov	rdi, rax
	call	str_trim_lf
	lea	rax, -6560[rbp]
	mov	rsi, rax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -6592[rbp]
	lea	rsi, 40[rax]
	lea	rdx, -6464[rbp]
	lea	rax, -6240[rbp]
	mov	rcx, rdx
	mov	rdx, rsi
	lea	rsi, .LC7[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	jmp	.L40
.L31:
	cmp	DWORD PTR -6596[rbp], 0
	je	.L41
	lea	rax, -6464[rbp]
	lea	rsi, .LC8[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L42
.L41:
	mov	rax, QWORD PTR -6592[rbp]
	mov	eax, DWORD PTR [rax]
	mov	rdx, QWORD PTR -6592[rbp]
	add	rdx, 24
	mov	rcx, QWORD PTR -6592[rbp]
	lea	rsi, 40[rcx]
	mov	ecx, eax
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -6592[rbp]
	lea	rcx, 24[rax]
	mov	rax, QWORD PTR -6592[rbp]
	lea	rdx, 40[rax]
	lea	rax, -6240[rbp]
	lea	rsi, .LC10[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	mov	DWORD PTR -6620[rbp], 1
	jmp	.L40
.L42:
	cmp	DWORD PTR -6596[rbp], 0
	je	.L43
	lea	rax, -6352[rbp]
	lea	rsi, .LC11[rip]
	mov	rdi, rax
	call	strstr@PLT
	test	rax, rax
	jne	.L43
	lea	rax, -6352[rbp]
	lea	rsi, .LC12[rip]
	mov	rdi, rax
	call	strstr@PLT
	test	rax, rax
	jne	.L43
	lea	rax, -6352[rbp]
	lea	rsi, .LC13[rip]
	mov	rdi, rax
	call	strstr@PLT
	test	rax, rax
	jne	.L43
	lea	rax, -6352[rbp]
	lea	rsi, .LC14[rip]
	mov	rdi, rax
	call	strstr@PLT
	test	rax, rax
	je	.L44
.L43:
	mov	rax, QWORD PTR -6592[rbp]
	lea	rdx, 40[rax]
	mov	rax, QWORD PTR -6592[rbp]
	lea	rsi, .LC15[rip]
	mov	rdi, rax
	call	send_to_particular_client
	jmp	.L40
.L44:
	lea	rdi, .LC16[rip]
	call	puts@PLT
	mov	DWORD PTR -6620[rbp], 1
.L40:
	lea	rdx, -6571[rbp]
	lea	rax, -6352[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strstr@PLT
	test	rax, rax
	je	.L45
	lea	rdx, -6560[rbp]
	lea	rcx, -6240[rbp]
	mov	rax, QWORD PTR -6592[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	send_to_particular_client
	lea	rdx, -6560[rbp]
	mov	rax, QWORD PTR -6592[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	usernm_verification
	test	eax, eax
	jne	.L47
	mov	rax, QWORD PTR -6592[rbp]
	lea	rdx, 40[rax]
	mov	rax, QWORD PTR -6592[rbp]
	lea	rsi, .LC17[rip]
	mov	rdi, rax
	call	send_to_particular_client
	jmp	.L47
.L45:
	lea	rdx, -6240[rbp]
	mov	rax, QWORD PTR -6592[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	send_to_all_clients
	jmp	.L47
.L51:
	nop
	jmp	.L47
.L29:
	mov	rax, QWORD PTR -6592[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR now[rip], rax
	mov	rax, QWORD PTR now[rip]
	mov	QWORD PTR 16[rax], 0
	jmp	.L48
.L50:
	mov	rax, QWORD PTR -6592[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	rdx, QWORD PTR -6592[rbp]
	mov	rdx, QWORD PTR 16[rdx]
	mov	QWORD PTR 16[rax], rdx
	mov	rax, QWORD PTR -6592[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	rdx, QWORD PTR -6592[rbp]
	mov	rdx, QWORD PTR 8[rdx]
	mov	QWORD PTR 8[rax], rdx
.L48:
	mov	rax, QWORD PTR -6592[rbp]
	mov	rdi, rax
	call	free@PLT
	nop
	mov	rax, QWORD PTR -24[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L49
	call	__stack_chk_fail@PLT
.L49:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	client_handler, .-client_handler
	.section	.rodata
.LC18:
	.string	"Fail to create a socket."
.LC19:
	.string	"127.0.0.1"
.LC20:
	.string	"Start Server on: %s:%d\n"
.LC21:
	.string	"Client %s:%d come in.\n"
.LC22:
	.string	"Create pthread error!\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB13:
	.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, 88
	.cfi_offset 3, -24
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	lea	rsi, catch_ctrl_c_and_exit[rip]
	mov	edi, 2
	call	signal@PLT
	mov	edx, 0
	mov	esi, 1
	mov	edi, 2
	call	socket@PLT
	mov	DWORD PTR server_sockfd[rip], eax
	mov	eax, DWORD PTR server_sockfd[rip]
	cmp	eax, -1
	jne	.L54
	lea	rdi, .LC18[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 1
	call	exit@PLT
.L54:
	mov	DWORD PTR -88[rbp], 16
	mov	DWORD PTR -84[rbp], 16
	mov	eax, DWORD PTR -88[rbp]
	movsx	rdx, eax
	lea	rax, -64[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	eax, DWORD PTR -84[rbp]
	movsx	rdx, eax
	lea	rax, -48[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	WORD PTR -64[rbp], 2
	lea	rdi, .LC19[rip]
	call	inet_addr@PLT
	mov	DWORD PTR -60[rbp], eax
	mov	edi, 8888
	call	htons@PLT
	mov	WORD PTR -62[rbp], ax
	mov	eax, DWORD PTR -88[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR server_sockfd[rip]
	lea	rcx, -64[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	bind@PLT
	mov	eax, DWORD PTR server_sockfd[rip]
	mov	esi, 5
	mov	edi, eax
	call	listen@PLT
	mov	eax, DWORD PTR server_sockfd[rip]
	lea	rdx, -88[rbp]
	lea	rcx, -64[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	getsockname@PLT
	movzx	eax, WORD PTR -62[rbp]
	movzx	eax, ax
	mov	edi, eax
	call	ntohs@PLT
	movzx	ebx, ax
	mov	eax, DWORD PTR -60[rbp]
	mov	edi, eax
	call	inet_ntoa@PLT
	mov	edx, ebx
	mov	rsi, rax
	lea	rdi, .LC20[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -60[rbp]
	mov	edi, eax
	call	inet_ntoa@PLT
	mov	rdx, rax
	mov	eax, DWORD PTR server_sockfd[rip]
	mov	rsi, rdx
	mov	edi, eax
	call	newNode
	mov	QWORD PTR root[rip], rax
	mov	rax, QWORD PTR root[rip]
	mov	QWORD PTR now[rip], rax
.L56:
	mov	eax, DWORD PTR server_sockfd[rip]
	lea	rdx, -84[rbp]
	lea	rcx, -48[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	accept@PLT
	mov	DWORD PTR client_sockfd[rip], eax
	mov	eax, DWORD PTR client_sockfd[rip]
	lea	rdx, -84[rbp]
	lea	rcx, -48[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	getpeername@PLT
	movzx	eax, WORD PTR -46[rbp]
	movzx	eax, ax
	mov	edi, eax
	call	ntohs@PLT
	movzx	ebx, ax
	mov	eax, DWORD PTR -44[rbp]
	mov	edi, eax
	call	inet_ntoa@PLT
	mov	edx, ebx
	mov	rsi, rax
	lea	rdi, .LC21[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -44[rbp]
	mov	edi, eax
	call	inet_ntoa@PLT
	mov	rdx, rax
	mov	eax, DWORD PTR client_sockfd[rip]
	mov	rsi, rdx
	mov	edi, eax
	call	newNode
	mov	QWORD PTR -72[rbp], rax
	mov	rdx, QWORD PTR now[rip]
	mov	rax, QWORD PTR -72[rbp]
	mov	QWORD PTR 8[rax], rdx
	mov	rax, QWORD PTR now[rip]
	mov	rdx, QWORD PTR -72[rbp]
	mov	QWORD PTR 16[rax], rdx
	mov	rax, QWORD PTR -72[rbp]
	mov	QWORD PTR now[rip], rax
	mov	rdx, QWORD PTR -72[rbp]
	lea	rax, -80[rbp]
	mov	rcx, rdx
	lea	rdx, client_handler[rip]
	mov	esi, 0
	mov	rdi, rax
	call	pthread_create@PLT
	test	eax, eax
	je	.L56
	lea	rdi, .LC22[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
	.cfi_endproc
.LFE13:
	.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	"149993.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"NULL\000"
	.text
	.align	2
	.global	newNode
	.syntax unified
	.arm
	.fpu softvfp
	.type	newNode, %function
newNode:
	@ 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]
	str	r1, [fp, #-20]
	mov	r0, #60
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-16]
	str	r2, [r3]
	ldr	r3, [fp, #-8]
	mov	r2, #0
	str	r2, [r3, #4]
	ldr	r3, [fp, #-8]
	mov	r2, #0
	str	r2, [r3, #8]
	ldr	r3, [fp, #-8]
	add	r3, r3, #12
	mov	r2, #16
	ldr	r1, [fp, #-20]
	mov	r0, r3
	bl	strncpy
	ldr	r3, [fp, #-8]
	add	r3, r3, #28
	ldr	r2, .L3
	mov	r0, r3
	mov	r1, r2
	mov	r3, #5
	mov	r2, r3
	bl	memcpy
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L4:
	.align	2
.L3:
	.word	.LC0
	.size	newNode, .-newNode
	.global	server_sockfd
	.bss
	.align	2
	.type	server_sockfd, %object
	.size	server_sockfd, 4
server_sockfd:
	.space	4
	.global	client_sockfd
	.align	2
	.type	client_sockfd, %object
	.size	client_sockfd, 4
client_sockfd:
	.space	4
	.comm	root,4,4
	.comm	now,4,4
	.text
	.align	2
	.global	str_trim_lf
	.syntax unified
	.arm
	.fpu softvfp
	.type	str_trim_lf, %function
str_trim_lf:
	@ 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]
	str	r1, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L6
.L9:
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #10
	bne	.L7
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	b	.L8
.L7:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L6:
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	blt	.L9
	nop
.L8:
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	str_trim_lf, .-str_trim_lf
	.section	.rodata
	.align	2
.LC1:
	.ascii	"\012Close socketfd: %d\012\000"
	.align	2
.LC2:
	.ascii	"Bye\000"
	.text
	.align	2
	.global	catch_ctrl_c_and_exit
	.syntax unified
	.arm
	.fpu softvfp
	.type	catch_ctrl_c_and_exit, %function
catch_ctrl_c_and_exit:
	@ 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]
	b	.L11
.L12:
	ldr	r3, .L13
	ldr	r3, [r3]
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L13+4
	bl	printf
	ldr	r3, .L13
	ldr	r3, [r3]
	ldr	r3, [r3]
	mov	r0, r3
	bl	close
	ldr	r3, .L13
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	ldr	r3, .L13
	ldr	r3, [r3]
	ldr	r3, [r3, #8]
	ldr	r2, .L13
	str	r3, [r2]
	ldr	r0, [fp, #-8]
	bl	free
.L11:
	ldr	r3, .L13
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L12
	ldr	r0, .L13+8
	bl	puts
	mov	r0, #0
	bl	exit
.L14:
	.align	2
.L13:
	.word	root
	.word	.LC1
	.word	.LC2
	.size	catch_ctrl_c_and_exit, .-catch_ctrl_c_and_exit
	.section	.rodata
	.align	2
.LC3:
	.ascii	"Send to sockfd %d: \"%s\" \012\000"
	.text
	.align	2
	.global	send_to_all_clients
	.syntax unified
	.arm
	.fpu softvfp
	.type	send_to_all_clients, %function
send_to_all_clients:
	@ 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]
	str	r1, [fp, #-20]
	ldr	r3, .L19
	ldr	r3, [r3]
	ldr	r3, [r3, #8]
	str	r3, [fp, #-8]
	b	.L16
.L18:
	ldr	r3, [fp, #-16]
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	cmp	r2, r3
	beq	.L17
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	ldr	r2, [fp, #-20]
	mov	r1, r3
	ldr	r0, .L19+4
	bl	printf
	ldr	r3, [fp, #-8]
	ldr	r0, [r3]
	mov	r3, #0
	mov	r2, #201
	ldr	r1, [fp, #-20]
	bl	send
.L17:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #8]
	str	r3, [fp, #-8]
.L16:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L18
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L20:
	.align	2
.L19:
	.word	root
	.word	.LC3
	.size	send_to_all_clients, .-send_to_all_clients
	.align	2
	.global	send_to_particular_client
	.syntax unified
	.arm
	.fpu softvfp
	.type	send_to_particular_client, %function
send_to_particular_client:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	ldr	r3, .L25
	ldr	r3, [r3]
	ldr	r3, [r3, #8]
	str	r3, [fp, #-8]
	b	.L22
.L24:
	ldr	r3, [fp, #-8]
	add	r3, r3, #28
	ldr	r1, [fp, #-24]
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L23
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	ldr	r2, [fp, #-20]
	mov	r1, r3
	ldr	r0, .L25+4
	bl	printf
	ldr	r3, [fp, #-8]
	ldr	r0, [r3]
	mov	r3, #0
	mov	r2, #201
	ldr	r1, [fp, #-20]
	bl	send
.L23:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #8]
	str	r3, [fp, #-8]
.L22:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L24
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L26:
	.align	2
.L25:
	.word	root
	.word	.LC3
	.size	send_to_particular_client, .-send_to_particular_client
	.align	2
	.global	usernm_verification
	.syntax unified
	.arm
	.fpu softvfp
	.type	usernm_verification, %function
usernm_verification:
	@ 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]
	str	r1, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-12]
	ldr	r3, .L32
	ldr	r3, [r3]
	ldr	r3, [r3, #8]
	str	r3, [fp, #-8]
	b	.L28
.L30:
	ldr	r3, [fp, #-8]
	add	r3, r3, #28
	ldr	r1, [fp, #-20]
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L29
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L29:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #8]
	str	r3, [fp, #-8]
.L28:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L30
	ldr	r3, [fp, #-12]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L33:
	.align	2
.L32:
	.word	root
	.size	usernm_verification, .-usernm_verification
	.section	.rodata
	.align	2
.LC5:
	.ascii	"%s didn't input name.\012\000"
	.align	2
.LC6:
	.ascii	"%s(%s)(%d) joined the chatroom.\012\000"
	.align	2
.LC7:
	.ascii	"%s(%s) joined the chatroom.\000"
	.align	2
.LC8:
	.ascii	"'%s'\000"
	.align	2
.LC9:
	.ascii	"%s\357\274\232%s\000"
	.align	2
.LC10:
	.ascii	"exit\000"
	.align	2
.LC11:
	.ascii	"%s(%s)(%d) left the chatroom.\012\000"
	.align	2
.LC12:
	.ascii	"%s(%s) left the chatroom.\000"
	.align	2
.LC13:
	.ascii	"fuck\000"
	.align	2
.LC14:
	.ascii	"shit\000"
	.align	2
.LC15:
	.ascii	"asshole\000"
	.align	2
.LC16:
	.ascii	"pussy\000"
	.align	2
.LC17:
	.ascii	"Abusive/swear word has been detected! You have been"
	.ascii	" kicked out!\000"
	.align	2
.LC18:
	.ascii	"Fatal Error: -1\000"
	.align	2
.LC19:
	.ascii	"The requested user couldn't be detected!\000"
	.align	2
.LC4:
	.ascii	"REQACCESS \000"
	.align	2
.LC20:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	client_handler
	.syntax unified
	.arm
	.fpu softvfp
	.type	client_handler, %function
client_handler:
	@ args = 0, pretend = 0, frame = 6560
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #6528
	sub	sp, sp, #36
	sub	r3, fp, #4096
	sub	r3, r3, #12
	str	r0, [r3, #-2460]
	ldr	r3, .L63
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-2452]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-2436]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, #0
	str	r2, [r3, #-2384]
	sub	r3, r3, #2368
	sub	r3, r3, #12
	mov	r2, #27
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, #0
	str	r2, [r3, #-2352]
	sub	r3, r3, #2336
	sub	r3, r3, #12
	mov	r2, #27
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, #0
	str	r2, [r3, #-2320]
	sub	r3, r3, #2304
	sub	r3, r3, #12
	mov	r2, #97
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, #0
	str	r2, [r3, #-1908]
	sub	r3, r3, #1904
	ldr	r2, .L63+4
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, #0
	str	r2, [r3, #-2216]
	sub	r3, r3, #2208
	sub	r3, r3, #4
	mov	r2, #97
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, #0
	str	r2, [r3, #-2112]
	sub	r3, r3, #2096
	sub	r3, r3, #12
	mov	r2, #197
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-2460]
	str	r3, [r2, #-2432]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r2, .L63+8
	sub	r3, r3, #2416
	ldm	r2, {r0, r1, r2}
	stmia	r3!, {r0, r1}
	strh	r2, [r3]	@ movhi
	add	r3, r3, #2
	lsr	r2, r2, #16
	strb	r2, [r3]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-2432]
	ldr	r0, [r3]
	sub	r1, fp, #6464
	sub	r1, r1, #12
	sub	r1, r1, #16
	mov	r3, #0
	mov	r2, #31
	bl	recv
	mov	r3, r0
	cmp	r3, #0
	ble	.L35
	sub	r3, fp, #6464
	sub	r3, r3, #12
	sub	r3, r3, #16
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	cmp	r3, #1
	bls	.L35
	sub	r3, fp, #6464
	sub	r3, r3, #12
	sub	r3, r3, #16
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	cmp	r3, #29
	bls	.L36
.L35:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-2432]
	add	r3, r3, #12
	mov	r1, r3
	ldr	r0, .L63+12
	bl	printf
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #1
	str	r3, [r2, #-2452]
	b	.L57
.L36:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-2432]
	add	r0, r3, #28
	sub	r3, fp, #6464
	sub	r3, r3, #12
	sub	r3, r3, #16
	mov	r2, #31
	mov	r1, r3
	bl	strncpy
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-2432]
	add	r1, r3, #28
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-2432]
	add	r2, r3, #12
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-2432]
	ldr	r3, [r3]
	ldr	r0, .L63+16
	bl	printf
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-2432]
	add	r2, r3, #28
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-2432]
	add	r3, r3, #12
	sub	r0, fp, #6208
	sub	r0, r0, #12
	ldr	r1, .L63+20
	bl	sprintf
	sub	r3, fp, #6208
	sub	r3, r3, #12
	sub	r2, fp, #4096
	sub	r2, r2, #12
	mov	r1, r3
	ldr	r0, [r2, #-2432]
	bl	send_to_all_clients
.L57:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-2448]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-2428]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, #0
	str	r2, [r3, #-2404]
	sub	r3, r3, #2400
	mov	r2, #0
	str	r2, [r3]
	str	r2, [r3, #4]
	str	r2, [r3, #8]
	str	r2, [r3, #12]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-2444]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-2440]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-2452]
	cmp	r3, #0
	beq	.L38
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-2432]
	ldr	r3, [r3]
	mov	r0, r3
	bl	close
	ldr	r3, .L63+24
	ldr	r3, [r3]
	sub	r2, fp, #4096
	sub	r2, r2, #12
	ldr	r2, [r2, #-2432]
	cmp	r2, r3
	beq	.L39
	b	.L60
.L38:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-2432]
	ldr	r0, [r3]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r4, r3
	sub	r1, fp, #6400
	sub	r1, r1, #12
	sub	r1, r1, #16
	mov	r3, #0
	mov	r2, #101
	bl	recv
	str	r0, [r4, #-2424]
	sub	r2, fp, #6400
	sub	r2, r2, #12
	sub	r2, r2, #16
	sub	r3, fp, #6272
	sub	r3, r3, #12
	sub	r3, r3, #40
	mov	r1, r2
	mov	r0, r3
	bl	strcpy
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-2424]
	cmp	r3, #0
	ble	.L41
	sub	r3, fp, #6400
	sub	r3, r3, #12
	sub	r3, r3, #16
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L61
	sub	r2, fp, #6464
	sub	r2, r2, #12
	sub	r2, r2, #48
	sub	r3, fp, #6272
	sub	r3, r3, #12
	sub	r3, r3, #40
	mov	r1, r2
	mov	r0, r3
	bl	strstr
	mov	r3, r0
	cmp	r3, #0
	beq	.L44
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r4, r3
	sub	r2, fp, #6464
	sub	r2, r2, #12
	sub	r2, r2, #48
	sub	r3, fp, #6272
	sub	r3, r3, #12
	sub	r3, r3, #40
	mov	r1, r2
	mov	r0, r3
	bl	strstr
	str	r0, [r4, #-2420]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-2420]
	cmp	r3, #0
	beq	.L45
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #6272
	sub	r3, r3, #12
	sub	r3, r3, #40
	ldr	r2, [r2, #-2420]
	sub	r3, r2, r3
	mov	r4, r3
	sub	r3, fp, #6464
	sub	r3, r3, #12
	sub	r3, r3, #48
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	add	r3, r4, r3
	sub	r2, fp, #4096
	sub	r2, r2, #12
	str	r3, [r2, #-2448]
.L45:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-2448]
	str	r3, [r2, #-2444]
	b	.L46
.L47:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-2444]
	add	r3, r3, #1
	str	r3, [r2, #-2444]
.L46:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-2444]
	add	r3, r2, r3
	sub	r3, r3, #2208
	sub	r3, r3, #8
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #32
	bne	.L47
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-2444]
	sub	r3, r3, #1
	str	r3, [r2, #-2428]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-2448]
	str	r3, [r2, #-2444]
.L49:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r2, [r2, #-2444]
	ldr	r3, [r3, #-2428]
	cmp	r2, r3
	bgt	.L62
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-2444]
	add	r3, r2, r3
	sub	r3, r3, #2208
	sub	r3, r3, #8
	ldrb	r2, [r3]	@ zero_extendqisi2
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r1, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-2440]
	add	r3, r1, r3
	sub	r3, r3, #2400
	sub	r3, r3, #4
	strb	r2, [r3]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-2440]
	add	r3, r3, #1
	str	r3, [r2, #-2440]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-2444]
	add	r3, r3, #1
	str	r3, [r2, #-2444]
	b	.L49
.L62:
	nop
.L44:
	sub	r3, fp, #6464
	sub	r3, r3, #12
	sub	r3, r3, #36
	mov	r1, #101
	mov	r0, r3
	bl	str_trim_lf
	sub	r3, fp, #6464
	sub	r3, r3, #12
	sub	r3, r3, #36
	mov	r1, r3
	ldr	r0, .L63+28
	bl	printf
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-2432]
	add	r2, r3, #28
	sub	r3, fp, #6400
	sub	r3, r3, #12
	sub	r3, r3, #16
	sub	r0, fp, #6208
	sub	r0, r0, #12
	ldr	r1, .L63+32
	bl	sprintf
	b	.L50
.L41:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-2424]
	cmp	r3, #0
	beq	.L51
	sub	r3, fp, #6400
	sub	r3, r3, #12
	sub	r3, r3, #16
	ldr	r1, .L63+36
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L52
.L51:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-2432]
	add	r1, r3, #28
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-2432]
	add	r2, r3, #12
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-2432]
	ldr	r3, [r3]
	ldr	r0, .L63+40
	bl	printf
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-2432]
	add	r2, r3, #28
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-2432]
	add	r3, r3, #12
	sub	r0, fp, #6208
	sub	r0, r0, #12
	ldr	r1, .L63+44
	bl	sprintf
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #1
	str	r3, [r2, #-2452]
	b	.L50
.L52:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-2424]
	cmp	r3, #0
	beq	.L53
	sub	r3, fp, #6272
	sub	r3, r3, #12
	sub	r3, r3, #40
	ldr	r1, .L63+48
	mov	r0, r3
	bl	strstr
	mov	r3, r0
	cmp	r3, #0
	bne	.L53
	sub	r3, fp, #6272
	sub	r3, r3, #12
	sub	r3, r3, #40
	ldr	r1, .L63+52
	mov	r0, r3
	bl	strstr
	mov	r3, r0
	cmp	r3, #0
	bne	.L53
	sub	r3, fp, #6272
	sub	r3, r3, #12
	sub	r3, r3, #40
	ldr	r1, .L63+56
	mov	r0, r3
	bl	strstr
	mov	r3, r0
	cmp	r3, #0
	bne	.L53
	sub	r3, fp, #6272
	sub	r3, r3, #12
	sub	r3, r3, #40
	ldr	r1, .L63+60
	mov	r0, r3
	bl	strstr
	mov	r3, r0
	cmp	r3, #0
	beq	.L54
.L53:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-2432]
	add	r3, r3, #28
	sub	r2, fp, #4096
	sub	r2, r2, #12
	mov	r0, r2
	mov	r2, r3
	ldr	r1, .L63+64
	ldr	r0, [r0, #-2432]
	bl	send_to_particular_client
	b	.L50
.L54:
	ldr	r0, .L63+68
	bl	puts
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #1
	str	r3, [r2, #-2452]
.L50:
	sub	r2, fp, #6464
	sub	r2, r2, #12
	sub	r2, r2, #48
	sub	r3, fp, #6272
	sub	r3, r3, #12
	sub	r3, r3, #40
	mov	r1, r2
	mov	r0, r3
	bl	strstr
	mov	r3, r0
	cmp	r3, #0
	beq	.L55
	sub	r3, fp, #6464
	sub	r3, r3, #12
	sub	r3, r3, #36
	sub	r1, fp, #6208
	sub	r1, r1, #12
	sub	r2, fp, #4096
	sub	r2, r2, #12
	mov	r0, r2
	mov	r2, r3
	ldr	r0, [r0, #-2432]
	bl	send_to_particular_client
	sub	r3, fp, #6464
	sub	r3, r3, #12
	sub	r3, r3, #36
	sub	r2, fp, #4096
	sub	r2, r2, #12
	mov	r1, r3
	ldr	r0, [r2, #-2432]
	bl	usernm_verification
	mov	r3, r0
	cmp	r3, #0
	bne	.L57
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-2432]
	add	r3, r3, #28
	sub	r2, fp, #4096
	sub	r2, r2, #12
	mov	r0, r2
	mov	r2, r3
	ldr	r1, .L63+72
	ldr	r0, [r0, #-2432]
	bl	send_to_particular_client
	b	.L57
.L55:
	sub	r3, fp, #6208
	sub	r3, r3, #12
	sub	r2, fp, #4096
	sub	r2, r2, #12
	mov	r1, r3
	ldr	r0, [r2, #-2432]
	bl	send_to_all_clients
	b	.L57
.L61:
	nop
	b	.L57
.L39:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-2432]
	ldr	r3, [r3, #4]
	ldr	r2, .L63+24
	str	r3, [r2]
	ldr	r3, .L63+24
	ldr	r3, [r3]
	mov	r2, #0
	str	r2, [r3, #8]
	b	.L58
.L60:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-2432]
	ldr	r3, [r3, #4]
	sub	r2, fp, #4096
	sub	r2, r2, #12
	ldr	r2, [r2, #-2432]
	ldr	r2, [r2, #8]
	str	r2, [r3, #8]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-2432]
	ldr	r3, [r3, #8]
	sub	r2, fp, #4096
	sub	r2, r2, #12
	ldr	r2, [r2, #-2432]
	ldr	r2, [r2, #4]
	str	r2, [r3, #4]
.L58:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r0, [r3, #-2432]
	bl	free
	nop
	ldr	r3, .L63
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L59
	bl	__stack_chk_fail
.L59:
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L64:
	.align	2
.L63:
	.word	.LC20
	.word	5996
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	now
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.word	.LC16
	.word	.LC17
	.word	.LC18
	.word	.LC19
	.size	client_handler, .-client_handler
	.section	.rodata
	.align	2
.LC21:
	.ascii	"Fail to create a socket.\000"
	.align	2
.LC22:
	.ascii	"127.0.0.1\000"
	.align	2
.LC23:
	.ascii	"Start Server on: %s:%d\012\000"
	.align	2
.LC24:
	.ascii	"Client %s:%d come in.\012\000"
	.align	2
.LC25:
	.ascii	"Create pthread error!\012\000"
	.align	2
.LC26:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 56
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #60
	ldr	r3, .L70
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	ldr	r1, .L70+4
	mov	r0, #2
	bl	signal
	mov	r2, #0
	mov	r1, #1
	mov	r0, #2
	bl	socket
	mov	r3, r0
	ldr	r2, .L70+8
	str	r3, [r2]
	ldr	r3, .L70+8
	ldr	r3, [r3]
	cmn	r3, #1
	bne	.L66
	ldr	r0, .L70+12
	bl	printf
	mov	r0, #1
	bl	exit
.L66:
	mov	r3, #16
	str	r3, [fp, #-64]
	mov	r3, #16
	str	r3, [fp, #-60]
	ldr	r3, [fp, #-64]
	mov	r2, r3
	sub	r3, fp, #48
	mov	r1, #0
	mov	r0, r3
	bl	memset
	ldr	r3, [fp, #-60]
	mov	r2, r3
	sub	r3, fp, #32
	mov	r1, #0
	mov	r0, r3
	bl	memset
	mov	r3, #2
	strh	r3, [fp, #-48]	@ movhi
	ldr	r0, .L70+16
	bl	inet_addr
	mov	r3, r0
	str	r3, [fp, #-44]
	ldr	r0, .L70+20
	bl	htons
	mov	r3, r0
	strh	r3, [fp, #-46]	@ movhi
	ldr	r3, .L70+8
	ldr	r3, [r3]
	ldr	r2, [fp, #-64]
	sub	r1, fp, #48
	mov	r0, r3
	bl	bind
	ldr	r3, .L70+8
	ldr	r3, [r3]
	mov	r1, #5
	mov	r0, r3
	bl	listen
	ldr	r3, .L70+8
	ldr	r3, [r3]
	sub	r2, fp, #64
	sub	r1, fp, #48
	mov	r0, r3
	bl	getsockname
	ldr	r0, [fp, #-44]
	bl	inet_ntoa
	mov	r4, r0
	ldrh	r3, [fp, #-46]
	mov	r0, r3
	bl	ntohs
	mov	r3, r0
	mov	r2, r3
	mov	r1, r4
	ldr	r0, .L70+24
	bl	printf
	ldr	r3, .L70+8
	ldr	r4, [r3]
	ldr	r0, [fp, #-44]
	bl	inet_ntoa
	mov	r3, r0
	mov	r1, r3
	mov	r0, r4
	bl	newNode
	mov	r3, r0
	ldr	r2, .L70+28
	str	r3, [r2]
	ldr	r3, .L70+28
	ldr	r3, [r3]
	ldr	r2, .L70+32
	str	r3, [r2]
.L68:
	ldr	r3, .L70+8
	ldr	r3, [r3]
	sub	r2, fp, #60
	sub	r1, fp, #32
	mov	r0, r3
	bl	accept
	mov	r3, r0
	ldr	r2, .L70+36
	str	r3, [r2]
	ldr	r3, .L70+36
	ldr	r3, [r3]
	sub	r2, fp, #60
	sub	r1, fp, #32
	mov	r0, r3
	bl	getpeername
	ldr	r0, [fp, #-28]
	bl	inet_ntoa
	mov	r4, r0
	ldrh	r3, [fp, #-30]
	mov	r0, r3
	bl	ntohs
	mov	r3, r0
	mov	r2, r3
	mov	r1, r4
	ldr	r0, .L70+40
	bl	printf
	ldr	r3, .L70+36
	ldr	r4, [r3]
	ldr	r0, [fp, #-28]
	bl	inet_ntoa
	mov	r3, r0
	mov	r1, r3
	mov	r0, r4
	bl	newNode
	str	r0, [fp, #-52]
	ldr	r3, .L70+32
	ldr	r2, [r3]
	ldr	r3, [fp, #-52]
	str	r2, [r3, #4]
	ldr	r3, .L70+32
	ldr	r3, [r3]
	ldr	r2, [fp, #-52]
	str	r2, [r3, #8]
	ldr	r2, .L70+32
	ldr	r3, [fp, #-52]
	str	r3, [r2]
	sub	r0, fp, #56
	ldr	r3, [fp, #-52]
	ldr	r2, .L70+44
	mov	r1, #0
	bl	pthread_create
	mov	r3, r0
	cmp	r3, #0
	beq	.L68
	ldr	r0, .L70+48
	bl	perror
	mov	r0, #1
	bl	exit
.L71:
	.align	2
.L70:
	.word	.LC26
	.word	catch_ctrl_c_and_exit
	.word	server_sockfd
	.word	.LC21
	.word	.LC22
	.word	8888
	.word	.LC23
	.word	root
	.word	now
	.word	client_sockfd
	.word	.LC24
	.word	client_handler
	.word	.LC25
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
