	.file	"85452.c"
	.intel_syntax noprefix
	.text
	.globl	words
	.bss
	.align 32
	.type	words, @object
	.size	words, 120
words:
	.zero	120
	.globl	n_threads
	.align 4
	.type	n_threads, @object
	.size	n_threads, 4
n_threads:
	.zero	4
	.section	.rodata
.LC0:
	.string	"r"
.LC1:
	.string	"hangman.txt"
	.align 8
.LC2:
	.string	"Error: Could not create socket"
.LC3:
	.string	"Socket Created"
.LC4:
	.string	"Error: Bind failed."
.LC5:
	.string	"Bind Done"
.LC6:
	.string	"Waiting for connections..."
.LC7:
	.string	"Error: Accept Failed"
.LC8:
	.string	"Connection Accepted"
.LC9:
	.string	"n"
	.align 8
.LC10:
	.string	"Error: pthread_create() failed for Thread # %d"
.LC11:
	.string	"%d\n"
.LC12:
	.string	"Error: Server overloaded"
	.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
	push	rbx
	sub	rsp, 2184
	.cfi_offset 3, -24
	mov	DWORD PTR -2180[rbp], edi
	mov	QWORD PTR -2192[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	lea	rsi, .LC0[rip]
	lea	rdi, .LC1[rip]
	call	fopen@PLT
	mov	QWORD PTR -2136[rbp], rax
	mov	QWORD PTR -2128[rbp], 0
	mov	QWORD PTR -2144[rbp], 0
	mov	DWORD PTR -2172[rbp], 0
	cmp	QWORD PTR -2136[rbp], 0
	je	.L2
	jmp	.L3
.L4:
	mov	eax, DWORD PTR -2172[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, words[rip]
	mov	rbx, QWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -2172[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, words[rip]
	mov	rax, QWORD PTR [rdx+rax]
	mov	rdi, rax
	call	strlen@PLT
	sub	rax, 1
	add	rax, rbx
	mov	BYTE PTR [rax], 0
	mov	eax, DWORD PTR -2172[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, words[rip]
	mov	rax, QWORD PTR [rdx+rax]
	mov	rdi, rax
	call	puts@PLT
	add	DWORD PTR -2172[rbp], 1
.L3:
	mov	eax, DWORD PTR -2172[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, words[rip]
	lea	rcx, [rdx+rax]
	mov	rdx, QWORD PTR -2136[rbp]
	lea	rax, -2144[rbp]
	mov	rsi, rax
	mov	rdi, rcx
	call	getline@PLT
	mov	QWORD PTR -2120[rbp], rax
	cmp	QWORD PTR -2120[rbp], -1
	jne	.L4
	mov	rax, QWORD PTR -2136[rbp]
	mov	rdi, rax
	call	fclose@PLT
.L2:
	mov	DWORD PTR -2164[rbp], 0
	mov	DWORD PTR n_threads[rip], 0
	mov	DWORD PTR -2168[rbp], 0
	mov	edx, 0
	mov	esi, 1
	mov	edi, 2
	call	socket@PLT
	mov	DWORD PTR -2160[rbp], eax
	cmp	DWORD PTR -2160[rbp], -1
	jne	.L5
	lea	rdi, .LC2[rip]
	call	puts@PLT
.L5:
	lea	rdi, .LC3[rip]
	call	puts@PLT
	mov	WORD PTR -2112[rbp], 2
	mov	rax, QWORD PTR -2192[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	inet_addr@PLT
	mov	DWORD PTR -2108[rbp], eax
	mov	rax, QWORD PTR -2192[rbp]
	add	rax, 16
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atoi@PLT
	movzx	eax, ax
	mov	edi, eax
	call	htons@PLT
	mov	WORD PTR -2110[rbp], ax
	lea	rcx, -2112[rbp]
	mov	eax, DWORD PTR -2160[rbp]
	mov	edx, 16
	mov	rsi, rcx
	mov	edi, eax
	call	bind@PLT
	test	eax, eax
	jns	.L6
	lea	rdi, .LC4[rip]
	call	puts@PLT
	mov	eax, 1
	jmp	.L17
.L6:
	lea	rdi, .LC5[rip]
	call	puts@PLT
	mov	DWORD PTR -2156[rbp], 1
	jmp	.L8
.L16:
	lea	rax, -2037[rbp]
	mov	DWORD PTR [rax], 0
	mov	BYTE PTR 4[rax], 0
	mov	eax, DWORD PTR -2160[rbp]
	mov	esi, 1
	mov	edi, eax
	call	listen@PLT
	mov	eax, DWORD PTR n_threads[rip]
	test	eax, eax
	jg	.L9
	lea	rdi, .LC6[rip]
	call	puts@PLT
.L9:
	mov	DWORD PTR -2176[rbp], 16
	mov	eax, DWORD PTR n_threads[rip]
	cmp	eax, 2
	jg	.L10
	lea	rdx, -2176[rbp]
	lea	rcx, -2096[rbp]
	mov	eax, DWORD PTR -2160[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	accept@PLT
	mov	DWORD PTR -2152[rbp], eax
	cmp	DWORD PTR -2152[rbp], 0
	jns	.L11
	lea	rdi, .LC7[rip]
	call	puts@PLT
	mov	eax, 0
	jmp	.L17
.L11:
	lea	rdi, .LC8[rip]
	call	puts@PLT
	lea	rax, -2032[rbp]
	mov	rsi, rax
	mov	eax, 0
	mov	edx, 250
	mov	rdi, rsi
	mov	rcx, rdx
	rep stosq
	lea	rax, -2032[rbp]
	movabs	rbx, 8031079741255673170
	movabs	rsi, 7431067419771433760
	mov	QWORD PTR [rax], rbx
	mov	QWORD PTR 8[rax], rsi
	movabs	rbx, 3420809510932278625
	mov	QWORD PTR 16[rax], rbx
	mov	DWORD PTR 24[rax], 3811694
	lea	rax, -2032[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	lea	rcx, -2032[rbp]
	mov	eax, DWORD PTR -2152[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	write@PLT
	lea	rsi, -2037[rbp]
	mov	eax, DWORD PTR -2152[rbp]
	mov	ecx, 0
	mov	edx, 5
	mov	edi, eax
	call	recv@PLT
	lea	rax, -2037[rbp]
	mov	rdi, rax
	call	puts@PLT
	lea	rax, -2037[rbp]
	lea	rsi, .LC9[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L12
	jmp	.L8
.L12:
	mov	eax, DWORD PTR n_threads[rip]
	add	eax, 1
	mov	DWORD PTR n_threads[rip], eax
	mov	eax, DWORD PTR -2152[rbp]
	cdqe
	mov	rdx, rax
	lea	rcx, -2080[rbp]
	mov	eax, DWORD PTR -2168[rbp]
	cdqe
	sal	rax, 3
	add	rax, rcx
	mov	rcx, rdx
	lea	rdx, printThreadID[rip]
	mov	esi, 0
	mov	rdi, rax
	call	pthread_create@PLT
	mov	DWORD PTR -2148[rbp], eax
	add	DWORD PTR -2168[rbp], 1
	cmp	DWORD PTR -2148[rbp], 0
	je	.L13
	mov	eax, DWORD PTR -2168[rbp]
	mov	esi, eax
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	jmp	.L17
.L13:
	mov	eax, DWORD PTR n_threads[rip]
	test	eax, eax
	jg	.L14
	mov	edi, 0
	call	pthread_exit@PLT
.L14:
	sub	DWORD PTR -2168[rbp], 1
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L8
.L10:
	lea	rdx, -2176[rbp]
	lea	rcx, -2096[rbp]
	mov	eax, DWORD PTR -2160[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	accept@PLT
	mov	DWORD PTR -2152[rbp], eax
	cmp	DWORD PTR -2152[rbp], 0
	jns	.L15
	lea	rdi, .LC7[rip]
	call	puts@PLT
	mov	eax, 0
	jmp	.L17
.L15:
	lea	rdi, .LC12[rip]
	call	puts@PLT
	lea	rax, -2032[rbp]
	movabs	rbx, 5989851767573213765
	movabs	rsi, 8534075494591001189
	mov	QWORD PTR [rax], rbx
	mov	QWORD PTR 8[rax], rsi
	movabs	rbx, 7234298746084553317
	mov	QWORD PTR 16[rax], rbx
	mov	WORD PTR 24[rax], 10
	lea	rax, -2032[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	lea	rcx, -2032[rbp]
	mov	eax, DWORD PTR -2152[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	write@PLT
.L8:
	cmp	DWORD PTR -2156[rbp], 0
	jg	.L16
	mov	eax, 0
.L17:
	mov	rbx, QWORD PTR -24[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L18
	call	__stack_chk_fail@PLT
.L18:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.section	.rodata
.LC13:
	.string	"Game Start Client %i\n"
.LC14:
	.string	"end"
.LC15:
	.string	"Error: Reveived Failed\n"
	.text
	.globl	printThreadID
	.type	printThreadID, @function
printThreadID:
.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, 4096
	or	QWORD PTR [rsp], 0
	sub	rsp, 1976
	.cfi_offset 3, -24
	mov	QWORD PTR -6072[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	edi, 0
	call	time@PLT
	mov	edi, eax
	call	srand@PLT
	mov	rax, QWORD PTR -6072[rbp]
	mov	QWORD PTR -6040[rbp], rax
	mov	DWORD PTR -6044[rbp], 0
	lea	rax, -2032[rbp]
	mov	edx, 2000
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	lea	rax, -6032[rbp]
	mov	edx, 2000
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	eax, 0
	call	randomNum
	mov	DWORD PTR -6056[rbp], eax
	jmp	.L20
.L21:
	mov	eax, 0
	call	randomNum
	mov	DWORD PTR -6056[rbp], eax
.L20:
	mov	eax, DWORD PTR -6056[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, words[rip]
	mov	rax, QWORD PTR [rdx+rax]
	test	rax, rax
	je	.L21
	mov	eax, DWORD PTR -6056[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, words[rip]
	mov	rdx, QWORD PTR [rdx+rax]
	lea	rax, -4032[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	mov	DWORD PTR -6052[rbp], 0
	jmp	.L22
.L23:
	mov	eax, DWORD PTR -6052[rbp]
	cdqe
	mov	BYTE PTR -2032[rbp+rax], 95
	add	DWORD PTR -6052[rbp], 1
.L22:
	mov	eax, DWORD PTR -6052[rbp]
	movsx	rbx, eax
	lea	rax, -4032[rbp]
	mov	rdi, rax
	call	strlen@PLT
	cmp	rbx, rax
	jb	.L23
	lea	rax, -2032[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -6040[rbp]
	mov	ecx, eax
	lea	rax, -2032[rbp]
	mov	rsi, rax
	mov	edi, ecx
	call	write@PLT
	mov	DWORD PTR -6048[rbp], 0
	mov	eax, DWORD PTR n_threads[rip]
	mov	esi, eax
	lea	rdi, .LC13[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L24
.L28:
	mov	rax, QWORD PTR -6040[rbp]
	mov	edi, eax
	lea	rax, -6032[rbp]
	mov	ecx, 0
	mov	edx, 2000
	mov	rsi, rax
	call	recv@PLT
	mov	DWORD PTR -6044[rbp], eax
	cmp	DWORD PTR -6044[rbp], 0
	jle	.L25
	movzx	eax, BYTE PTR -6032[rbp]
	movsx	eax, al
	lea	rdx, -2032[rbp]
	lea	rcx, -4032[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	guessChecker
	lea	rax, -6032[rbp]
	lea	rsi, .LC14[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L26
	lea	rax, -4032[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -6040[rbp]
	mov	ecx, eax
	lea	rax, -4032[rbp]
	mov	rsi, rax
	mov	edi, ecx
	call	write@PLT
	mov	eax, DWORD PTR n_threads[rip]
	sub	eax, 1
	mov	DWORD PTR n_threads[rip], eax
	mov	edi, 0
	call	pthread_exit@PLT
.L26:
	lea	rax, -2032[rbp]
	mov	rdi, rax
	call	winGame
	test	eax, eax
	je	.L27
	mov	DWORD PTR -6048[rbp], 1
.L27:
	lea	rax, -2032[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -6040[rbp]
	mov	ecx, eax
	lea	rax, -2032[rbp]
	mov	rsi, rax
	mov	edi, ecx
	call	write@PLT
	jmp	.L24
.L25:
	lea	rdi, .LC15[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L24:
	cmp	DWORD PTR -6048[rbp], 0
	je	.L28
	lea	rax, -4032[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -6040[rbp]
	mov	ecx, eax
	lea	rax, -4032[rbp]
	mov	rsi, rax
	mov	edi, ecx
	call	write@PLT
	mov	eax, DWORD PTR n_threads[rip]
	sub	eax, 1
	mov	DWORD PTR n_threads[rip], eax
	mov	edi, 0
	call	pthread_exit@PLT
	.cfi_endproc
.LFE7:
	.size	printThreadID, .-printThreadID
	.globl	randomNum
	.type	randomNum, @function
randomNum:
.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, 16
	call	rand@PLT
	movsx	rdx, eax
	imul	rdx, rdx, -2004318071
	shr	rdx, 32
	add	edx, eax
	sar	edx, 3
	mov	ecx, eax
	sar	ecx, 31
	sub	edx, ecx
	mov	DWORD PTR -4[rbp], edx
	mov	ecx, DWORD PTR -4[rbp]
	mov	edx, ecx
	sal	edx, 4
	sub	edx, ecx
	sub	eax, edx
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR -4[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	randomNum, .-randomNum
	.globl	guessChecker
	.type	guessChecker, @function
guessChecker:
.LFB9:
	.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	eax, edi
	mov	QWORD PTR -48[rbp], rsi
	mov	QWORD PTR -56[rbp], rdx
	mov	BYTE PTR -36[rbp], al
	mov	DWORD PTR -20[rbp], 0
	mov	DWORD PTR -24[rbp], 0
	jmp	.L33
.L35:
	mov	eax, DWORD PTR -24[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	BYTE PTR -36[rbp], al
	jne	.L34
	mov	eax, DWORD PTR -24[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR -24[rbp]
	movsx	rcx, edx
	mov	rdx, QWORD PTR -56[rbp]
	add	rdx, rcx
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR [rdx], al
.L34:
	add	DWORD PTR -24[rbp], 1
.L33:
	mov	eax, DWORD PTR -24[rbp]
	movsx	rbx, eax
	mov	rax, QWORD PTR -48[rbp]
	mov	rdi, rax
	call	strlen@PLT
	cmp	rbx, rax
	jb	.L35
	nop
	nop
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	guessChecker, .-guessChecker
	.globl	winGame
	.type	winGame, @function
winGame:
.LFB10:
	.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, 40
	.cfi_offset 3, -24
	mov	QWORD PTR -40[rbp], rdi
	mov	DWORD PTR -24[rbp], 1
	mov	DWORD PTR -20[rbp], 0
	jmp	.L37
.L39:
	mov	eax, DWORD PTR -20[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 95
	jne	.L38
	mov	DWORD PTR -24[rbp], 0
.L38:
	add	DWORD PTR -20[rbp], 1
.L37:
	mov	eax, DWORD PTR -20[rbp]
	movsx	rbx, eax
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	strlen@PLT
	cmp	rbx, rax
	jb	.L39
	mov	eax, DWORD PTR -24[rbp]
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	winGame, .-winGame
	.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	"85452.c"
	.text
	.comm	words,60,4
	.comm	n_threads,4,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"r\000"
	.align	2
.LC1:
	.ascii	"hangman.txt\000"
	.align	2
.LC2:
	.ascii	"Error: Could not create socket\000"
	.align	2
.LC3:
	.ascii	"Socket Created\000"
	.align	2
.LC4:
	.ascii	"Error: Bind failed.\000"
	.align	2
.LC5:
	.ascii	"Bind Done\000"
	.align	2
.LC6:
	.ascii	"Waiting for connections...\000"
	.align	2
.LC7:
	.ascii	"Error: Accept Failed\000"
	.align	2
.LC8:
	.ascii	"Connection Accepted\000"
	.align	2
.LC9:
	.ascii	"Ready to start game? (y/n):\000"
	.align	2
.LC10:
	.ascii	"n\000"
	.align	2
.LC11:
	.ascii	"Error: pthread_create() failed for Thread # %d\000"
	.align	2
.LC12:
	.ascii	"%d\012\000"
	.align	2
.LC13:
	.ascii	"Error: Server overloaded\000"
	.align	2
.LC14:
	.ascii	"Error: Server overloaded\012\000"
	.align	2
.LC15:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 2120
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #2112
	sub	sp, sp, #12
	str	r0, [fp, #-2128]
	str	r1, [fp, #-2132]
	ldr	r3, .L19
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	ldr	r1, .L19+4
	ldr	r0, .L19+8
	bl	fopen
	str	r0, [fp, #-2108]
	mov	r3, #0
	str	r3, [fp, #-2104]
	mov	r3, #0
	str	r3, [fp, #-2120]
	mov	r3, #0
	str	r3, [fp, #-2116]
	ldr	r3, [fp, #-2108]
	cmp	r3, #0
	beq	.L2
	b	.L3
.L4:
	ldr	r2, .L19+12
	ldr	r3, [fp, #-2116]
	ldr	r4, [r2, r3, lsl #2]
	ldr	r2, .L19+12
	ldr	r3, [fp, #-2116]
	ldr	r3, [r2, r3, lsl #2]
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	sub	r3, r3, #1
	add	r3, r4, r3
	mov	r2, #0
	strb	r2, [r3]
	ldr	r2, .L19+12
	ldr	r3, [fp, #-2116]
	ldr	r3, [r2, r3, lsl #2]
	mov	r0, r3
	bl	puts
	ldr	r3, [fp, #-2116]
	add	r3, r3, #1
	str	r3, [fp, #-2116]
.L3:
	ldr	r3, [fp, #-2116]
	lsl	r3, r3, #2
	ldr	r2, .L19+12
	add	r0, r3, r2
	sub	r3, fp, #2096
	sub	r3, r3, #12
	sub	r3, r3, #12
	ldr	r2, [fp, #-2108]
	mov	r1, r3
	bl	getline
	str	r0, [fp, #-2100]
	ldr	r3, [fp, #-2100]
	cmn	r3, #1
	bne	.L4
	ldr	r0, [fp, #-2108]
	bl	fclose
.L2:
	mov	r3, #0
	str	r3, [fp, #-2096]
	ldr	r3, .L19+16
	mov	r2, #0
	str	r2, [r3]
	mov	r3, #0
	str	r3, [fp, #-2112]
	mov	r2, #0
	mov	r1, #1
	mov	r0, #2
	bl	socket
	str	r0, [fp, #-2092]
	ldr	r3, [fp, #-2092]
	cmn	r3, #1
	bne	.L5
	ldr	r0, .L19+20
	bl	puts
.L5:
	ldr	r0, .L19+24
	bl	puts
	sub	r3, fp, #12
	sub	r3, r3, #2064
	mov	r2, #2
	strh	r2, [r3]	@ movhi
	ldr	r3, [fp, #-2132]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r0, r3
	bl	inet_addr
	mov	r3, r0
	str	r3, [fp, #-2072]
	ldr	r3, [fp, #-2132]
	add	r3, r3, #8
	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
	sub	r3, fp, #12
	sub	r3, r3, #2064
	strh	r2, [r3, #2]	@ movhi
	sub	r3, fp, #2064
	sub	r3, r3, #12
	mov	r2, #16
	mov	r1, r3
	ldr	r0, [fp, #-2092]
	bl	bind
	mov	r3, r0
	cmp	r3, #0
	bge	.L6
	ldr	r0, .L19+28
	bl	puts
	mov	r3, #1
	b	.L17
.L6:
	ldr	r0, .L19+32
	bl	puts
	mov	r3, #1
	str	r3, [fp, #-2088]
	b	.L8
.L16:
	sub	r3, fp, #2000
	sub	r3, r3, #12
	sub	r3, r3, #12
	mov	r2, #0
	str	r2, [r3]
	strb	r2, [r3, #4]
	mov	r1, #1
	ldr	r0, [fp, #-2092]
	bl	listen
	ldr	r3, .L19+16
	ldr	r3, [r3]
	cmp	r3, #0
	bgt	.L9
	ldr	r0, .L19+36
	bl	puts
.L9:
	mov	r3, #16
	str	r3, [fp, #-2124]
	ldr	r3, .L19+16
	ldr	r3, [r3]
	cmp	r3, #2
	bgt	.L10
	sub	r2, fp, #2112
	sub	r2, r2, #12
	sub	r3, fp, #2048
	sub	r3, r3, #12
	mov	r1, r3
	ldr	r0, [fp, #-2092]
	bl	accept
	str	r0, [fp, #-2084]
	ldr	r3, [fp, #-2084]
	cmp	r3, #0
	bge	.L11
	ldr	r0, .L19+40
	bl	puts
	mov	r3, #0
	b	.L17
.L11:
	ldr	r0, .L19+44
	bl	puts
	sub	r3, fp, #2000
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r0, r3
	mov	r3, #2000
	mov	r2, r3
	mov	r1, #0
	bl	memset
	sub	r3, fp, #2000
	sub	r3, r3, #12
	sub	r3, r3, #4
	ldr	r2, .L19+48
	mov	ip, r3
	mov	lr, r2
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldm	lr, {r0, r1, r2}
	stm	ip, {r0, r1, r2}
	sub	r3, fp, #2000
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r0, r3
	bl	strlen
	mov	r2, r0
	sub	r3, fp, #2000
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r1, r3
	ldr	r0, [fp, #-2084]
	bl	write
	sub	r1, fp, #2000
	sub	r1, r1, #12
	sub	r1, r1, #12
	mov	r3, #0
	mov	r2, #5
	ldr	r0, [fp, #-2084]
	bl	recv
	sub	r3, fp, #2000
	sub	r3, r3, #12
	sub	r3, r3, #12
	mov	r0, r3
	bl	puts
	sub	r3, fp, #2000
	sub	r3, r3, #12
	sub	r3, r3, #12
	ldr	r1, .L19+52
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L12
	b	.L8
.L12:
	ldr	r3, .L19+16
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L19+16
	str	r3, [r2]
	sub	r2, fp, #2032
	sub	r2, r2, #12
	ldr	r3, [fp, #-2112]
	lsl	r3, r3, #2
	add	r0, r2, r3
	ldr	r3, [fp, #-2084]
	ldr	r2, .L19+56
	mov	r1, #0
	bl	pthread_create
	str	r0, [fp, #-2080]
	ldr	r3, [fp, #-2112]
	add	r3, r3, #1
	str	r3, [fp, #-2112]
	ldr	r3, [fp, #-2080]
	cmp	r3, #0
	beq	.L13
	ldr	r1, [fp, #-2112]
	ldr	r0, .L19+60
	bl	printf
	mov	r3, #0
	b	.L17
.L13:
	ldr	r3, .L19+16
	ldr	r3, [r3]
	cmp	r3, #0
	bgt	.L14
	mov	r0, #0
	bl	pthread_exit
.L14:
	ldr	r3, [fp, #-2112]
	sub	r3, r3, #1
	str	r3, [fp, #-2112]
	ldr	r0, .L19+64
	bl	printf
	b	.L8
.L10:
	sub	r2, fp, #2112
	sub	r2, r2, #12
	sub	r3, fp, #2048
	sub	r3, r3, #12
	mov	r1, r3
	ldr	r0, [fp, #-2092]
	bl	accept
	str	r0, [fp, #-2084]
	ldr	r3, [fp, #-2084]
	cmp	r3, #0
	bge	.L15
	ldr	r0, .L19+40
	bl	puts
	mov	r3, #0
	b	.L17
.L15:
	ldr	r0, .L19+68
	bl	puts
	sub	r3, fp, #2000
	sub	r3, r3, #12
	sub	r3, r3, #4
	ldr	r2, .L19+72
	mov	ip, r3
	mov	lr, r2
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldm	lr, {r0, r1, r2}
	stmia	ip!, {r0, r1}
	strh	r2, [ip]	@ movhi
	sub	r3, fp, #2000
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r0, r3
	bl	strlen
	mov	r2, r0
	sub	r3, fp, #2000
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r1, r3
	ldr	r0, [fp, #-2084]
	bl	write
.L8:
	ldr	r3, [fp, #-2088]
	cmp	r3, #0
	bgt	.L16
	mov	r3, #0
.L17:
	ldr	r2, .L19
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L18
	bl	__stack_chk_fail
.L18:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L20:
	.align	2
.L19:
	.word	.LC15
	.word	.LC0
	.word	.LC1
	.word	words
	.word	n_threads
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	printThreadID
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.size	main, .-main
	.section	.rodata
	.align	2
.LC16:
	.ascii	"Game Start Client %i\012\000"
	.align	2
.LC17:
	.ascii	"end\000"
	.align	2
.LC18:
	.ascii	"Error: Reveived Failed\012\000"
	.align	2
.LC19:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	printThreadID
	.syntax unified
	.arm
	.fpu softvfp
	.type	printThreadID, %function
printThreadID:
	@ args = 0, pretend = 0, frame = 6032
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #6016
	sub	sp, sp, #20
	sub	r3, fp, #4096
	sub	r3, r3, #12
	str	r0, [r3, #-1932]
	ldr	r3, .L32
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r0, #0
	bl	time
	mov	r3, r0
	mov	r0, r3
	bl	srand
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-1932]
	str	r3, [r2, #-1916]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-1912]
	sub	r3, fp, #2000
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r2, #2000
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #5952
	sub	r3, r3, #12
	sub	r3, r3, #52
	mov	r2, #2000
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r4, r3
	bl	randomNum
	str	r0, [r4, #-1928]
	b	.L22
.L23:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r4, r3
	bl	randomNum
	str	r0, [r4, #-1928]
.L22:
	ldr	r2, .L32+4
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-1928]
	ldr	r3, [r2, r3, lsl #2]
	cmp	r3, #0
	beq	.L23
	ldr	r2, .L32+4
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-1928]
	ldr	r2, [r2, r3, lsl #2]
	sub	r3, fp, #4000
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r1, r2
	mov	r0, r3
	bl	strcpy
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-1924]
	b	.L24
.L25:
	sub	r3, fp, #2000
	sub	r3, r3, #12
	sub	r3, r3, #4
	sub	r2, fp, #4096
	sub	r2, r2, #12
	ldr	r2, [r2, #-1924]
	add	r3, r3, r2
	mov	r2, #95
	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, #-1924]
	add	r3, r3, #1
	str	r3, [r2, #-1924]
.L24:
	sub	r3, fp, #4000
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r0, r3
	bl	strlen
	mov	r2, r0
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-1924]
	cmp	r2, r3
	bhi	.L25
	sub	r3, fp, #2000
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r0, r3
	bl	strlen
	mov	r2, r0
	sub	r3, fp, #2000
	sub	r3, r3, #12
	sub	r3, r3, #4
	sub	r1, fp, #4096
	sub	r1, r1, #12
	mov	r0, r1
	mov	r1, r3
	ldr	r0, [r0, #-1916]
	bl	write
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-1920]
	ldr	r3, .L32+8
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L32+12
	bl	printf
	b	.L26
.L30:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r4, r3
	sub	r1, fp, #5952
	sub	r1, r1, #12
	sub	r1, r1, #52
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r0, r3
	mov	r3, #0
	mov	r2, #2000
	ldr	r0, [r0, #-1916]
	bl	recv
	str	r0, [r4, #-1912]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-1912]
	cmp	r3, #0
	ble	.L27
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldrb	r0, [r3, #-1908]	@ zero_extendqisi2
	sub	r2, fp, #2000
	sub	r2, r2, #12
	sub	r2, r2, #4
	sub	r3, fp, #4000
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r1, r3
	bl	guessChecker
	sub	r3, fp, #5952
	sub	r3, r3, #12
	sub	r3, r3, #52
	ldr	r1, .L32+16
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L28
	sub	r3, fp, #4000
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r0, r3
	bl	strlen
	mov	r2, r0
	sub	r3, fp, #4000
	sub	r3, r3, #12
	sub	r3, r3, #4
	sub	r1, fp, #4096
	sub	r1, r1, #12
	mov	r0, r1
	mov	r1, r3
	ldr	r0, [r0, #-1916]
	bl	write
	ldr	r3, .L32+8
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, .L32+8
	str	r3, [r2]
	mov	r0, #0
	bl	pthread_exit
.L28:
	sub	r3, fp, #2000
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r0, r3
	bl	winGame
	mov	r3, r0
	cmp	r3, #0
	beq	.L29
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #1
	str	r3, [r2, #-1920]
.L29:
	sub	r3, fp, #2000
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r0, r3
	bl	strlen
	mov	r2, r0
	sub	r3, fp, #2000
	sub	r3, r3, #12
	sub	r3, r3, #4
	sub	r1, fp, #4096
	sub	r1, r1, #12
	mov	r0, r1
	mov	r1, r3
	ldr	r0, [r0, #-1916]
	bl	write
	b	.L26
.L27:
	ldr	r0, .L32+20
	bl	perror
	mov	r0, #1
	bl	exit
.L26:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-1920]
	cmp	r3, #0
	beq	.L30
	sub	r3, fp, #4000
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r0, r3
	bl	strlen
	mov	r2, r0
	sub	r3, fp, #4000
	sub	r3, r3, #12
	sub	r3, r3, #4
	sub	r1, fp, #4096
	sub	r1, r1, #12
	mov	r0, r1
	mov	r1, r3
	ldr	r0, [r0, #-1916]
	bl	write
	ldr	r3, .L32+8
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, .L32+8
	str	r3, [r2]
	mov	r0, #0
	bl	pthread_exit
.L33:
	.align	2
.L32:
	.word	.LC19
	.word	words
	.word	n_threads
	.word	.LC16
	.word	.LC17
	.word	.LC18
	.size	printThreadID, .-printThreadID
	.align	2
	.global	randomNum
	.syntax unified
	.arm
	.fpu softvfp
	.type	randomNum, %function
randomNum:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	bl	rand
	mov	r2, r0
	ldr	r3, .L36
	smull	r1, r3, r2, r3
	add	r3, r3, r2
	asr	r1, r3, #3
	asr	r3, r2, #31
	sub	r1, r1, r3
	mov	r3, r1
	lsl	r3, r3, #4
	sub	r3, r3, r1
	sub	r3, r2, r3
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L37:
	.align	2
.L36:
	.word	-2004318071
	.size	randomNum, .-randomNum
	.align	2
	.global	guessChecker
	.syntax unified
	.arm
	.fpu softvfp
	.type	guessChecker, %function
guessChecker:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	mov	r3, r0
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	strb	r3, [fp, #-13]
	mov	r3, #0
	str	r3, [fp, #-8]
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L39
.L41:
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	ldrb	r2, [fp, #-13]	@ zero_extendqisi2
	cmp	r2, r3
	bne	.L40
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-20]
	add	r2, r2, r3
	ldr	r3, [fp, #-12]
	ldr	r1, [fp, #-24]
	add	r3, r1, r3
	ldrb	r2, [r2]	@ zero_extendqisi2
	strb	r2, [r3]
.L40:
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L39:
	ldr	r0, [fp, #-20]
	bl	strlen
	mov	r2, r0
	ldr	r3, [fp, #-12]
	cmp	r2, r3
	bhi	.L41
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	guessChecker, .-guessChecker
	.align	2
	.global	winGame
	.syntax unified
	.arm
	.fpu softvfp
	.type	winGame, %function
winGame:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	mov	r3, #1
	str	r3, [fp, #-12]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L43
.L45:
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #95
	bne	.L44
	mov	r3, #0
	str	r3, [fp, #-12]
.L44:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L43:
	ldr	r0, [fp, #-16]
	bl	strlen
	mov	r2, r0
	ldr	r3, [fp, #-8]
	cmp	r2, r3
	bhi	.L45
	ldr	r3, [fp, #-12]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	winGame, .-winGame
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
