	.file	"69508.c"
	.intel_syntax noprefix
	.text
	.globl	create_game
	.type	create_game, @function
create_game:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	DWORD PTR -36[rbp], edi
	mov	DWORD PTR -40[rbp], esi
	mov	QWORD PTR -48[rbp], rdx
	mov	DWORD PTR -4[rbp], 0
	mov	DWORD PTR -20[rbp], 0
	jmp	.L2
.L11:
	mov	eax, DWORD PTR -20[rbp]
	add	eax, 1
	mov	DWORD PTR -16[rbp], eax
	jmp	.L3
.L10:
	mov	eax, DWORD PTR -16[rbp]
	add	eax, 1
	mov	DWORD PTR -12[rbp], eax
	jmp	.L4
.L9:
	mov	eax, DWORD PTR -12[rbp]
	add	eax, 1
	mov	DWORD PTR -8[rbp], eax
	jmp	.L5
.L8:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR -20[rbp]
	add	edx, 1
	mov	DWORD PTR [rax], edx
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR -16[rbp]
	add	edx, 1
	mov	DWORD PTR 4[rax], edx
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR -12[rbp]
	add	edx, 1
	mov	DWORD PTR 8[rax], edx
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR -8[rbp]
	add	edx, 1
	mov	DWORD PTR 12[rax], edx
	add	DWORD PTR -4[rbp], 1
	mov	eax, DWORD PTR -4[rbp]
	cmp	eax, DWORD PTR -36[rbp]
	je	.L12
	add	DWORD PTR -8[rbp], 1
.L5:
	mov	eax, DWORD PTR -8[rbp]
	cmp	eax, DWORD PTR -40[rbp]
	jl	.L8
	add	DWORD PTR -12[rbp], 1
.L4:
	mov	eax, DWORD PTR -40[rbp]
	sub	eax, 1
	cmp	DWORD PTR -12[rbp], eax
	jl	.L9
	add	DWORD PTR -16[rbp], 1
.L3:
	mov	eax, DWORD PTR -40[rbp]
	sub	eax, 2
	cmp	DWORD PTR -16[rbp], eax
	jl	.L10
	add	DWORD PTR -20[rbp], 1
.L2:
	mov	eax, DWORD PTR -40[rbp]
	sub	eax, 3
	cmp	DWORD PTR -20[rbp], eax
	jl	.L11
	jmp	.L1
.L12:
	nop
.L1:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	create_game, .-create_game
	.section	.rodata
.LC0:
	.string	"%d"
.LC1:
	.string	"host"
.LC2:
	.string	"%d %d %d %d\n"
.LC3:
	.string	"w"
.LC4:
	.string	"r"
.LC5:
	.string	"%d %d\n"
.LC6:
	.string	"-1 -1 -1 -1\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	r15
	push	r14
	push	r13
	push	r12
	push	rbx
	sub	rsp, 4096
	or	QWORD PTR [rsp], 0
	sub	rsp, 808
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	mov	DWORD PTR -4820[rbp], edi
	mov	QWORD PTR -4832[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -56[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -4748[rbp], 0
	jmp	.L14
.L15:
	mov	eax, DWORD PTR -4748[rbp]
	lea	edx, 63[rax]
	test	eax, eax
	cmovs	eax, edx
	sar	eax, 6
	mov	esi, eax
	movsx	rax, esi
	mov	rdi, QWORD PTR -4416[rbp+rax*8]
	mov	edx, DWORD PTR -4748[rbp]
	mov	eax, edx
	sar	eax, 31
	shr	eax, 26
	mov	ecx, eax
	lea	eax, [rdx+rcx]
	and	eax, 63
	sub	eax, ecx
	mov	edx, eax
	mov	eax, 1
	mov	ecx, edx
	sal	rax, cl
	not	rax
	and	rdi, rax
	mov	rdx, rdi
	movsx	rax, esi
	mov	QWORD PTR -4416[rbp+rax*8], rdx
	add	DWORD PTR -4748[rbp], 1
.L14:
	cmp	DWORD PTR -4748[rbp], 99
	jle	.L15
	mov	QWORD PTR -4624[rbp], 0
	mov	QWORD PTR -4616[rbp], 0
	lea	rsi, -4160[rbp]
	mov	eax, 0
	mov	edx, 500
	mov	rdi, rsi
	mov	rcx, rdx
	rep stosq
	mov	rax, QWORD PTR -4832[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR -4736[rbp], eax
	mov	rax, QWORD PTR -4832[rbp]
	add	rax, 16
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR -4732[rbp], eax
	mov	DWORD PTR -4752[rbp], 0
	jmp	.L16
.L17:
	lea	rdx, -4608[rbp]
	mov	eax, DWORD PTR -4752[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rdi, rax
	call	pipe@PLT
	lea	rdx, -4512[rbp]
	mov	eax, DWORD PTR -4752[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rdi, rax
	call	pipe@PLT
	add	DWORD PTR -4752[rbp], 1
.L16:
	mov	eax, DWORD PTR -4752[rbp]
	cmp	eax, DWORD PTR -4736[rbp]
	jl	.L17
	mov	edx, DWORD PTR -4732[rbp]
	mov	rax, rsp
	mov	r13, rax
	movsx	rax, edx
	sub	rax, 1
	mov	QWORD PTR -4720[rbp], rax
	movsx	rax, edx
	mov	r14, rax
	mov	r15d, 0
	movsx	rax, edx
	mov	QWORD PTR -4848[rbp], rax
	mov	QWORD PTR -4840[rbp], 0
	movsx	rax, edx
	lea	rdx, 0[0+rax*8]
	mov	eax, 16
	sub	rax, 1
	add	rax, rdx
	mov	ebx, 16
	mov	edx, 0
	div	rbx
	imul	rdx, rax, 16
	mov	rax, rdx
	and	rax, -4096
	mov	rcx, rsp
	sub	rcx, rax
.L18:
	cmp	rsp, rcx
	je	.L19
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L18
.L19:
	mov	rax, rdx
	and	eax, 4095
	sub	rsp, rax
	mov	rax, rdx
	and	eax, 4095
	test	rax, rax
	je	.L20
	mov	rax, rdx
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L20:
	mov	rax, rsp
	add	rax, 3
	shr	rax, 2
	sal	rax, 2
	mov	QWORD PTR -4712[rbp], rax
	mov	DWORD PTR -4756[rbp], 0
	jmp	.L21
.L22:
	mov	eax, DWORD PTR -4756[rbp]
	lea	ecx, 1[rax]
	mov	rdx, QWORD PTR -4712[rbp]
	mov	eax, DWORD PTR -4756[rbp]
	cdqe
	mov	DWORD PTR [rdx+rax*8], ecx
	mov	rdx, QWORD PTR -4712[rbp]
	mov	eax, DWORD PTR -4756[rbp]
	cdqe
	mov	DWORD PTR 4[rdx+rax*8], 0
	add	DWORD PTR -4756[rbp], 1
.L21:
	mov	eax, DWORD PTR -4756[rbp]
	cmp	eax, DWORD PTR -4732[rbp]
	jl	.L22
	mov	edx, DWORD PTR -4736[rbp]
	mov	rax, rsp
	mov	r12, rax
	movsx	rax, edx
	sub	rax, 1
	mov	QWORD PTR -4704[rbp], rax
	movsx	rax, edx
	mov	QWORD PTR -4864[rbp], rax
	mov	QWORD PTR -4856[rbp], 0
	movsx	rax, edx
	mov	QWORD PTR -4880[rbp], rax
	mov	QWORD PTR -4872[rbp], 0
	movsx	rax, edx
	lea	rdx, 0[0+rax*4]
	mov	eax, 16
	sub	rax, 1
	add	rax, rdx
	mov	ebx, 16
	mov	edx, 0
	div	rbx
	imul	rax, rax, 16
	mov	rcx, rax
	and	rcx, -4096
	mov	rdx, rsp
	sub	rdx, rcx
.L23:
	cmp	rsp, rdx
	je	.L24
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L23
.L24:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L25
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L25:
	mov	rax, rsp
	add	rax, 3
	shr	rax, 2
	sal	rax, 2
	mov	QWORD PTR -4696[rbp], rax
	mov	eax, DWORD PTR -4732[rbp]
	sub	eax, 1
	imul	eax, DWORD PTR -4732[rbp]
	mov	edx, DWORD PTR -4732[rbp]
	sub	edx, 2
	imul	eax, edx
	mov	edx, DWORD PTR -4732[rbp]
	sub	edx, 3
	imul	eax, edx
	movsx	rdx, eax
	imul	rdx, rdx, 715827883
	shr	rdx, 32
	sar	edx, 2
	sar	eax, 31
	mov	ecx, eax
	mov	eax, edx
	sub	eax, ecx
	mov	DWORD PTR -4760[rbp], eax
	mov	eax, DWORD PTR -4760[rbp]
	movsx	rdx, eax
	sub	rdx, 1
	mov	QWORD PTR -4688[rbp], rdx
	movsx	rdx, eax
	mov	QWORD PTR -4896[rbp], rdx
	mov	QWORD PTR -4888[rbp], 0
	movsx	rdx, eax
	mov	QWORD PTR -4912[rbp], rdx
	mov	QWORD PTR -4904[rbp], 0
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	eax, 16
	sub	rax, 1
	add	rax, rdx
	mov	ebx, 16
	mov	edx, 0
	div	rbx
	imul	rax, rax, 16
	mov	rcx, rax
	and	rcx, -4096
	mov	rdx, rsp
	sub	rdx, rcx
.L26:
	cmp	rsp, rdx
	je	.L27
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L26
.L27:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L28
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L28:
	mov	rax, rsp
	add	rax, 3
	shr	rax, 2
	sal	rax, 2
	mov	QWORD PTR -4680[rbp], rax
	mov	rdx, QWORD PTR -4680[rbp]
	mov	ecx, DWORD PTR -4732[rbp]
	mov	eax, DWORD PTR -4760[rbp]
	mov	esi, ecx
	mov	edi, eax
	call	create_game
	mov	DWORD PTR -4764[rbp], 0
	jmp	.L29
.L31:
	call	fork@PLT
	mov	ecx, eax
	mov	rax, QWORD PTR -4696[rbp]
	mov	edx, DWORD PTR -4764[rbp]
	movsx	rdx, edx
	mov	DWORD PTR [rax+rdx*4], ecx
	mov	rax, QWORD PTR -4696[rbp]
	mov	edx, DWORD PTR -4764[rbp]
	movsx	rdx, edx
	mov	eax, DWORD PTR [rax+rdx*4]
	test	eax, eax
	jne	.L30
	mov	eax, DWORD PTR -4764[rbp]
	cdqe
	mov	eax, DWORD PTR -4608[rbp+rax*8]
	mov	esi, 0
	mov	edi, eax
	call	dup2@PLT
	mov	eax, DWORD PTR -4764[rbp]
	cdqe
	mov	eax, DWORD PTR -4508[rbp+rax*8]
	mov	esi, 1
	mov	edi, eax
	call	dup2@PLT
	mov	eax, DWORD PTR -4764[rbp]
	lea	edx, 1[rax]
	lea	rax, -160[rbp]
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	lea	rax, -160[rbp]
	mov	ecx, 0
	mov	rdx, rax
	lea	rsi, .LC1[rip]
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	execl@PLT
.L30:
	mov	eax, DWORD PTR -4764[rbp]
	cdqe
	mov	eax, DWORD PTR -4512[rbp+rax*8]
	lea	edx, 63[rax]
	test	eax, eax
	cmovs	eax, edx
	sar	eax, 6
	mov	esi, eax
	movsx	rax, esi
	mov	rdi, QWORD PTR -4416[rbp+rax*8]
	mov	eax, DWORD PTR -4764[rbp]
	cdqe
	mov	eax, DWORD PTR -4512[rbp+rax*8]
	cdq
	shr	edx, 26
	add	eax, edx
	and	eax, 63
	sub	eax, edx
	mov	edx, 1
	mov	ecx, eax
	sal	rdx, cl
	mov	rax, rdx
	or	rdi, rax
	mov	rdx, rdi
	movsx	rax, esi
	mov	QWORD PTR -4416[rbp+rax*8], rdx
	add	DWORD PTR -4764[rbp], 1
.L29:
	mov	eax, DWORD PTR -4764[rbp]
	cmp	eax, DWORD PTR -4736[rbp]
	jl	.L31
	mov	eax, DWORD PTR -4760[rbp]
	mov	DWORD PTR -4768[rbp], eax
	jmp	.L32
.L47:
	mov	rax, QWORD PTR -4416[rbp]
	mov	rdx, QWORD PTR -4408[rbp]
	mov	QWORD PTR -4288[rbp], rax
	mov	QWORD PTR -4280[rbp], rdx
	mov	rax, QWORD PTR -4400[rbp]
	mov	rdx, QWORD PTR -4392[rbp]
	mov	QWORD PTR -4272[rbp], rax
	mov	QWORD PTR -4264[rbp], rdx
	mov	rax, QWORD PTR -4384[rbp]
	mov	rdx, QWORD PTR -4376[rbp]
	mov	QWORD PTR -4256[rbp], rax
	mov	QWORD PTR -4248[rbp], rdx
	mov	rax, QWORD PTR -4368[rbp]
	mov	rdx, QWORD PTR -4360[rbp]
	mov	QWORD PTR -4240[rbp], rax
	mov	QWORD PTR -4232[rbp], rdx
	mov	rax, QWORD PTR -4352[rbp]
	mov	rdx, QWORD PTR -4344[rbp]
	mov	QWORD PTR -4224[rbp], rax
	mov	QWORD PTR -4216[rbp], rdx
	mov	rax, QWORD PTR -4336[rbp]
	mov	rdx, QWORD PTR -4328[rbp]
	mov	QWORD PTR -4208[rbp], rax
	mov	QWORD PTR -4200[rbp], rdx
	mov	rax, QWORD PTR -4320[rbp]
	mov	rdx, QWORD PTR -4312[rbp]
	mov	QWORD PTR -4192[rbp], rax
	mov	QWORD PTR -4184[rbp], rdx
	mov	rax, QWORD PTR -4304[rbp]
	mov	rdx, QWORD PTR -4296[rbp]
	mov	QWORD PTR -4176[rbp], rax
	mov	QWORD PTR -4168[rbp], rdx
	mov	DWORD PTR -4772[rbp], 0
	jmp	.L33
.L46:
	cmp	DWORD PTR -4760[rbp], 0
	je	.L67
	lea	rdx, -4624[rbp]
	lea	rax, -4288[rbp]
	mov	r8, rdx
	mov	ecx, 0
	mov	edx, 0
	mov	rsi, rax
	mov	edi, 100
	call	select@PLT
	mov	DWORD PTR -4724[rbp], eax
	cmp	DWORD PTR -4724[rbp], 0
	jne	.L36
	cmp	DWORD PTR -4768[rbp], 0
	je	.L68
	mov	eax, DWORD PTR -4768[rbp]
	sub	eax, 1
	mov	rdx, QWORD PTR -4680[rbp]
	cdqe
	sal	rax, 4
	add	rax, rdx
	add	rax, 12
	mov	edi, DWORD PTR [rax]
	mov	eax, DWORD PTR -4768[rbp]
	sub	eax, 1
	mov	rdx, QWORD PTR -4680[rbp]
	cdqe
	sal	rax, 4
	add	rax, rdx
	add	rax, 8
	mov	esi, DWORD PTR [rax]
	mov	eax, DWORD PTR -4768[rbp]
	sub	eax, 1
	mov	rdx, QWORD PTR -4680[rbp]
	cdqe
	sal	rax, 4
	add	rax, rdx
	add	rax, 4
	mov	ecx, DWORD PTR [rax]
	mov	eax, DWORD PTR -4768[rbp]
	sub	eax, 1
	mov	rdx, QWORD PTR -4680[rbp]
	cdqe
	sal	rax, 4
	add	rax, rdx
	mov	edx, DWORD PTR [rax]
	lea	rax, -160[rbp]
	mov	r9d, edi
	mov	r8d, esi
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	mov	eax, DWORD PTR -4772[rbp]
	cdqe
	mov	eax, DWORD PTR -4604[rbp+rax*8]
	lea	rsi, .LC3[rip]
	mov	edi, eax
	call	fdopen@PLT
	mov	QWORD PTR -4632[rbp], rax
	mov	rdx, QWORD PTR -4632[rbp]
	lea	rax, -160[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	fputs@PLT
	mov	rax, QWORD PTR -4632[rbp]
	mov	rdi, rax
	call	fflush@PLT
	mov	eax, DWORD PTR -4772[rbp]
	cdqe
	mov	eax, DWORD PTR -4512[rbp+rax*8]
	movsx	rdx, eax
	mov	edx, DWORD PTR -4160[rbp+rdx*4]
	add	edx, 1
	cdqe
	mov	DWORD PTR -4160[rbp+rax*4], edx
	sub	DWORD PTR -4768[rbp], 1
	jmp	.L38
.L36:
	cmp	DWORD PTR -4724[rbp], 0
	jle	.L38
	mov	DWORD PTR -4776[rbp], 0
	jmp	.L39
.L42:
	mov	eax, DWORD PTR -4776[rbp]
	lea	edx, 63[rax]
	test	eax, eax
	cmovs	eax, edx
	sar	eax, 6
	cdqe
	mov	rsi, QWORD PTR -4288[rbp+rax*8]
	mov	eax, DWORD PTR -4776[rbp]
	cdq
	shr	edx, 26
	add	eax, edx
	and	eax, 63
	sub	eax, edx
	mov	edx, 1
	mov	ecx, eax
	sal	rdx, cl
	mov	rax, rdx
	and	rax, rsi
	test	rax, rax
	jne	.L69
	add	DWORD PTR -4776[rbp], 1
.L39:
	cmp	DWORD PTR -4776[rbp], 99
	jle	.L42
	jmp	.L41
.L69:
	nop
.L41:
	mov	eax, DWORD PTR -4776[rbp]
	lea	rsi, .LC4[rip]
	mov	edi, eax
	call	fdopen@PLT
	mov	QWORD PTR -4640[rbp], rax
	mov	rax, QWORD PTR -4640[rbp]
	mov	rdi, rax
	call	fflush@PLT
	mov	DWORD PTR -4780[rbp], 0
.L45:
	mov	eax, DWORD PTR -4776[rbp]
	cdqe
	mov	eax, DWORD PTR -4160[rbp+rax*4]
	test	eax, eax
	jne	.L43
	mov	rax, QWORD PTR -4640[rbp]
	mov	rdi, rax
	call	fflush@PLT
	mov	eax, DWORD PTR -4776[rbp]
	lea	edx, 63[rax]
	test	eax, eax
	cmovs	eax, edx
	sar	eax, 6
	mov	esi, eax
	movsx	rax, esi
	mov	rdi, QWORD PTR -4288[rbp+rax*8]
	mov	eax, DWORD PTR -4776[rbp]
	cdq
	shr	edx, 26
	add	eax, edx
	and	eax, 63
	sub	eax, edx
	mov	edx, 1
	mov	ecx, eax
	sal	rdx, cl
	mov	rax, rdx
	not	rax
	and	rdi, rax
	mov	rdx, rdi
	movsx	rax, esi
	mov	QWORD PTR -4288[rbp+rax*8], rdx
	jmp	.L38
.L43:
	mov	rdx, QWORD PTR -4640[rbp]
	lea	rax, -160[rbp]
	mov	esi, 100
	mov	rdi, rax
	call	fgets@PLT
	add	DWORD PTR -4780[rbp], 1
	lea	rcx, -4800[rbp]
	lea	rdx, -4804[rbp]
	lea	rax, -160[rbp]
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	mov	eax, DWORD PTR -4804[rbp]
	lea	edx, -1[rax]
	mov	rax, QWORD PTR -4712[rbp]
	movsx	rdx, edx
	mov	esi, DWORD PTR 4[rax+rdx*8]
	mov	ecx, DWORD PTR -4800[rbp]
	mov	eax, DWORD PTR -4804[rbp]
	lea	edx, -1[rax]
	add	ecx, esi
	mov	rax, QWORD PTR -4712[rbp]
	movsx	rdx, edx
	mov	DWORD PTR 4[rax+rdx*8], ecx
	cmp	DWORD PTR -4780[rbp], 4
	jne	.L45
	mov	DWORD PTR -4780[rbp], 0
	mov	eax, DWORD PTR -4776[rbp]
	cdqe
	mov	eax, DWORD PTR -4160[rbp+rax*4]
	lea	edx, -1[rax]
	mov	eax, DWORD PTR -4776[rbp]
	cdqe
	mov	DWORD PTR -4160[rbp+rax*4], edx
	sub	DWORD PTR -4760[rbp], 1
	jmp	.L45
.L38:
	add	DWORD PTR -4772[rbp], 1
.L33:
	mov	eax, DWORD PTR -4772[rbp]
	cmp	eax, DWORD PTR -4736[rbp]
	jl	.L46
	jmp	.L32
.L67:
	nop
	jmp	.L32
.L68:
	nop
.L32:
	cmp	DWORD PTR -4760[rbp], 0
	jg	.L47
	lea	rax, .LC6[rip]
	mov	QWORD PTR -4672[rbp], rax
	mov	DWORD PTR -4784[rbp], 0
	jmp	.L48
.L49:
	mov	eax, DWORD PTR -4784[rbp]
	cdqe
	mov	eax, DWORD PTR -4604[rbp+rax*8]
	lea	rsi, .LC3[rip]
	mov	edi, eax
	call	fdopen@PLT
	mov	QWORD PTR -4648[rbp], rax
	mov	rdx, QWORD PTR -4648[rbp]
	mov	rax, QWORD PTR -4672[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	fputs@PLT
	mov	rax, QWORD PTR -4648[rbp]
	mov	rdi, rax
	call	fflush@PLT
	add	DWORD PTR -4784[rbp], 1
.L48:
	mov	eax, DWORD PTR -4784[rbp]
	cmp	eax, DWORD PTR -4736[rbp]
	jl	.L49
	mov	eax, DWORD PTR -4736[rbp]
	mov	DWORD PTR -4788[rbp], eax
	jmp	.L50
.L51:
	lea	rax, -4800[rbp]
	mov	rdi, rax
	call	wait@PLT
	mov	DWORD PTR -4728[rbp], eax
	sub	DWORD PTR -4788[rbp], 1
.L50:
	cmp	DWORD PTR -4788[rbp], 0
	jg	.L51
	mov	eax, DWORD PTR -4732[rbp]
	mov	rdx, rsp
	mov	rbx, rdx
	movsx	rdx, eax
	sub	rdx, 1
	mov	QWORD PTR -4664[rbp], rdx
	movsx	rdx, eax
	mov	QWORD PTR -4928[rbp], rdx
	mov	QWORD PTR -4920[rbp], 0
	movsx	rdx, eax
	mov	QWORD PTR -4944[rbp], rdx
	mov	QWORD PTR -4936[rbp], 0
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	eax, 16
	sub	rax, 1
	add	rax, rdx
	mov	esi, 16
	mov	edx, 0
	div	rsi
	imul	rax, rax, 16
	mov	rcx, rax
	and	rcx, -4096
	mov	rdx, rsp
	sub	rdx, rcx
.L52:
	cmp	rsp, rdx
	je	.L53
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L52
.L53:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L54
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L54:
	mov	rax, rsp
	add	rax, 3
	shr	rax, 2
	sal	rax, 2
	mov	QWORD PTR -4656[rbp], rax
	mov	DWORD PTR -4792[rbp], 0
	jmp	.L55
.L56:
	mov	rax, QWORD PTR -4656[rbp]
	mov	edx, DWORD PTR -4792[rbp]
	movsx	rdx, edx
	mov	DWORD PTR [rax+rdx*4], 0
	add	DWORD PTR -4792[rbp], 1
.L55:
	mov	eax, DWORD PTR -4792[rbp]
	cmp	eax, DWORD PTR -4732[rbp]
	jl	.L56
	mov	DWORD PTR -4796[rbp], 0
	jmp	.L57
.L62:
	mov	DWORD PTR -4744[rbp], 0
	jmp	.L58
.L61:
	mov	eax, DWORD PTR -4796[rbp]
	cmp	eax, DWORD PTR -4744[rbp]
	je	.L70
	mov	rax, QWORD PTR -4712[rbp]
	mov	edx, DWORD PTR -4796[rbp]
	movsx	rdx, edx
	mov	ecx, DWORD PTR 4[rax+rdx*8]
	mov	rax, QWORD PTR -4712[rbp]
	mov	edx, DWORD PTR -4744[rbp]
	movsx	rdx, edx
	mov	eax, DWORD PTR 4[rax+rdx*8]
	cmp	ecx, eax
	jg	.L60
	mov	rax, QWORD PTR -4656[rbp]
	mov	edx, DWORD PTR -4796[rbp]
	movsx	rdx, edx
	mov	eax, DWORD PTR [rax+rdx*4]
	lea	ecx, 1[rax]
	mov	rax, QWORD PTR -4656[rbp]
	mov	edx, DWORD PTR -4796[rbp]
	movsx	rdx, edx
	mov	DWORD PTR [rax+rdx*4], ecx
	jmp	.L60
.L70:
	nop
.L60:
	add	DWORD PTR -4744[rbp], 1
.L58:
	mov	eax, DWORD PTR -4744[rbp]
	cmp	eax, DWORD PTR -4732[rbp]
	jl	.L61
	add	DWORD PTR -4796[rbp], 1
.L57:
	mov	eax, DWORD PTR -4796[rbp]
	cmp	eax, DWORD PTR -4732[rbp]
	jl	.L62
	mov	DWORD PTR -4740[rbp], 0
	jmp	.L63
.L64:
	mov	rax, QWORD PTR -4656[rbp]
	mov	edx, DWORD PTR -4740[rbp]
	movsx	rdx, edx
	mov	ecx, DWORD PTR [rax+rdx*4]
	mov	eax, DWORD PTR -4732[rbp]
	sub	eax, ecx
	mov	edx, eax
	mov	eax, DWORD PTR -4740[rbp]
	add	eax, 1
	mov	esi, eax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -4740[rbp], 1
.L63:
	mov	eax, DWORD PTR -4740[rbp]
	cmp	eax, DWORD PTR -4732[rbp]
	jl	.L64
	mov	eax, 0
	mov	rsp, rbx
	mov	rsp, r12
	mov	rsp, r13
	mov	rbx, QWORD PTR -56[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L66
	call	__stack_chk_fail@PLT
.L66:
	lea	rsp, -40[rbp]
	pop	rbx
	pop	r12
	pop	r13
	pop	r14
	pop	r15
	pop	rbp
	.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	"69508.c"
	.text
	.align	2
	.global	create_game
	.syntax unified
	.arm
	.fpu softvfp
	.type	create_game, %function
create_game:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #44
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	str	r2, [fp, #-40]
	mov	r3, #0
	str	r3, [fp, #-8]
	mov	r3, #0
	str	r3, [fp, #-24]
	b	.L2
.L11:
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-20]
	b	.L3
.L10:
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-16]
	b	.L4
.L9:
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-12]
	b	.L5
.L8:
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #4
	ldr	r2, [fp, #-40]
	add	r3, r2, r3
	ldr	r2, [fp, #-24]
	add	r2, r2, #1
	str	r2, [r3]
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #4
	ldr	r2, [fp, #-40]
	add	r3, r2, r3
	ldr	r2, [fp, #-20]
	add	r2, r2, #1
	str	r2, [r3, #4]
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #4
	ldr	r2, [fp, #-40]
	add	r3, r2, r3
	ldr	r2, [fp, #-16]
	add	r2, r2, #1
	str	r2, [r3, #8]
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #4
	ldr	r2, [fp, #-40]
	add	r3, r2, r3
	ldr	r2, [fp, #-12]
	add	r2, r2, #1
	str	r2, [r3, #12]
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-32]
	cmp	r2, r3
	beq	.L12
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L5:
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-36]
	cmp	r2, r3
	blt	.L8
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L4:
	ldr	r3, [fp, #-36]
	sub	r3, r3, #1
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	blt	.L9
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L3:
	ldr	r3, [fp, #-36]
	sub	r3, r3, #2
	ldr	r2, [fp, #-20]
	cmp	r2, r3
	blt	.L10
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L2:
	ldr	r3, [fp, #-36]
	sub	r3, r3, #3
	ldr	r2, [fp, #-24]
	cmp	r2, r3
	blt	.L11
	b	.L1
.L12:
	nop
.L1:
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	create_game, .-create_game
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%d\000"
	.align	2
.LC1:
	.ascii	"host\000"
	.align	2
.LC2:
	.ascii	"%d %d %d %d\012\000"
	.align	2
.LC3:
	.ascii	"w\000"
	.align	2
.LC4:
	.ascii	"r\000"
	.align	2
.LC5:
	.ascii	"%d %d\012\000"
	.align	2
.LC6:
	.ascii	"-1 -1 -1 -1\012\000"
	.align	2
.LC7:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 4704
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, fp, lr}
	add	fp, sp, #16
	sub	sp, sp, #4672
	sub	sp, sp, #44
	sub	r3, fp, #4096
	sub	r3, r3, #20
	str	r0, [r3, #-604]
	sub	r3, fp, #4096
	sub	r3, r3, #20
	str	r1, [r3, #-608]
	ldr	r3, .L59+32
	ldr	r3, [r3]
	str	r3, [fp, #-24]
	mov	r3,#0
	sub	r3, fp, #4096
	sub	r3, r3, #20
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-540]
	b	.L14
.L15:
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r3, [r3, #-540]
	add	r2, r3, #31
	cmp	r3, #0
	movlt	r3, r2
	movge	r3, r3
	asr	r3, r3, #5
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #20
	mov	r1, r3
	lsl	r3, r2, #2
	add	r3, r1, r3
	ldr	r1, [r3, #-264]
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r3, [r3, #-540]
	rsbs	r0, r3, #0
	and	r3, r3, #31
	and	r0, r0, #31
	rsbpl	r3, r0, #0
	mov	r0, #1
	lsl	r3, r0, r3
	mvn	r3, r3
	and	r1, r1, r3
	sub	r3, fp, #4096
	sub	r3, r3, #20
	mov	r0, r3
	lsl	r3, r2, #2
	add	r3, r0, r3
	str	r1, [r3, #-264]
	sub	r3, fp, #4096
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r3, [r3, #-540]
	add	r3, r3, #1
	str	r3, [r2, #-540]
.L14:
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r3, [r3, #-540]
	cmp	r3, #99
	ble	.L15
	sub	r3, fp, #4096
	sub	r3, r3, #20
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-464]
	sub	r3, fp, #4096
	sub	r3, r3, #20
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-460]
	sub	r3, fp, #4096
	sub	r3, r3, #20
	sub	r3, r3, #8
	mov	r2, #4000
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r3, [r3, #-608]
	add	r3, r3, #4
	ldr	r3, [r3]
	sub	r2, fp, #4096
	sub	r2, r2, #20
	mov	r4, r2
	mov	r0, r3
	bl	atoi
	str	r0, [r4, #-528]
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r3, [r3, #-608]
	add	r3, r3, #8
	ldr	r3, [r3]
	sub	r2, fp, #4096
	sub	r2, r2, #20
	mov	r4, r2
	mov	r0, r3
	bl	atoi
	str	r0, [r4, #-524]
	sub	r3, fp, #4096
	sub	r3, r3, #20
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-544]
	b	.L16
.L17:
	sub	r3, fp, #4544
	sub	r3, r3, #20
	sub	r3, r3, #8
	sub	r2, fp, #4096
	sub	r2, r2, #20
	ldr	r2, [r2, #-544]
	lsl	r2, r2, #3
	add	r3, r3, r2
	mov	r0, r3
	bl	pipe
	sub	r3, fp, #4416
	sub	r3, r3, #20
	sub	r3, r3, #40
	sub	r2, fp, #4096
	sub	r2, r2, #20
	ldr	r2, [r2, #-544]
	lsl	r2, r2, #3
	add	r3, r3, r2
	mov	r0, r3
	bl	pipe
	sub	r3, fp, #4096
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r3, [r3, #-544]
	add	r3, r3, #1
	str	r3, [r2, #-544]
.L16:
	sub	r3, fp, #4096
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r2, [r2, #-544]
	ldr	r3, [r3, #-528]
	cmp	r2, r3
	blt	.L17
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	ip, [r3, #-524]
	mov	r3, sp
	mov	r5, r3
	sub	r3, ip, #1
	sub	r2, fp, #4096
	sub	r2, r2, #20
	str	r3, [r2, #-520]
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #6
	orr	r3, r3, r0, lsr #26
	lsl	r2, r0, #6
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #6
	orr	r3, r3, r0, lsr #26
	lsl	r2, r0, #6
	mov	r3, ip
	lsl	r3, r3, #3
	sub	r2, fp, #4096
	sub	r2, r2, #20
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	add	r3, sp, #8
	add	r3, r3, #3
	lsr	r3, r3, #2
	lsl	r3, r3, #2
	str	r3, [r2, #-516]
	sub	r3, fp, #4096
	sub	r3, r3, #20
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-548]
	b	.L18
.L19:
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r3, [r3, #-548]
	add	r1, r3, #1
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r3, [r3, #-516]
	sub	r2, fp, #4096
	sub	r2, r2, #20
	ldr	r2, [r2, #-548]
	str	r1, [r3, r2, lsl #3]
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r2, [r3, #-516]
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r3, [r3, #-548]
	lsl	r3, r3, #3
	add	r3, r2, r3
	mov	r2, #0
	str	r2, [r3, #4]
	sub	r3, fp, #4096
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r3, [r3, #-548]
	add	r3, r3, #1
	str	r3, [r2, #-548]
.L18:
	sub	r3, fp, #4096
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r2, [r2, #-548]
	ldr	r3, [r3, #-524]
	cmp	r2, r3
	blt	.L19
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	ip, [r3, #-528]
	mov	r3, sp
	mov	r6, r3
	sub	r3, ip, #1
	sub	r2, fp, #4096
	sub	r2, r2, #20
	str	r3, [r2, #-512]
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #5
	orr	r3, r3, r0, lsr #27
	lsl	r2, r0, #5
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #5
	orr	r3, r3, r0, lsr #27
	lsl	r2, r0, #5
	mov	r3, ip
	lsl	r3, r3, #2
	sub	r2, fp, #4096
	sub	r2, r2, #20
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	add	r3, sp, #8
	add	r3, r3, #3
	lsr	r3, r3, #2
	lsl	r3, r3, #2
	str	r3, [r2, #-508]
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r3, [r3, #-524]
	sub	r3, r3, #1
	sub	r2, fp, #4096
	sub	r2, r2, #20
	ldr	r2, [r2, #-524]
	mul	r3, r2, r3
	sub	r2, fp, #4096
	sub	r2, r2, #20
	ldr	r2, [r2, #-524]
	sub	r2, r2, #2
	mul	r3, r2, r3
	sub	r2, fp, #4096
	sub	r2, r2, #20
	ldr	r2, [r2, #-524]
	sub	r2, r2, #3
	mul	r3, r2, r3
	sub	r2, fp, #4096
	sub	r2, r2, #20
	mov	r1, r2
	ldr	r2, .L59
	smull	r0, r2, r3, r2
	asr	r2, r2, #2
	asr	r3, r3, #31
	sub	r3, r2, r3
	str	r3, [r1, #-552]
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	ip, [r3, #-552]
	sub	r3, ip, #1
	sub	r2, fp, #4096
	sub	r2, r2, #20
	str	r3, [r2, #-504]
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #7
	orr	r3, r3, r0, lsr #25
	lsl	r2, r0, #7
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #7
	orr	r3, r3, r0, lsr #25
	lsl	r2, r0, #7
	mov	r3, ip
	lsl	r3, r3, #4
	sub	r2, fp, #4096
	sub	r2, r2, #20
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	add	r3, sp, #8
	add	r3, r3, #3
	lsr	r3, r3, #2
	lsl	r3, r3, #2
	str	r3, [r2, #-500]
	sub	r3, fp, #4096
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #20
	mov	r1, r3
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r2, [r2, #-500]
	ldr	r1, [r1, #-524]
	ldr	r0, [r3, #-552]
	bl	create_game
	sub	r3, fp, #4096
	sub	r3, r3, #20
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-556]
	b	.L20
.L22:
	bl	fork
	mov	r3, r0
	mov	r1, r3
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r3, [r3, #-508]
	sub	r2, fp, #4096
	sub	r2, r2, #20
	ldr	r2, [r2, #-556]
	str	r1, [r3, r2, lsl #2]
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r3, [r3, #-508]
	sub	r2, fp, #4096
	sub	r2, r2, #20
	ldr	r2, [r2, #-556]
	ldr	r3, [r3, r2, lsl #2]
	cmp	r3, #0
	bne	.L21
	sub	r3, fp, #4096
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r3, [r3, #-556]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldr	r3, [r3, #-456]
	mov	r1, #0
	mov	r0, r3
	bl	dup2
	sub	r3, fp, #4096
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r3, [r3, #-556]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldr	r3, [r3, #-356]
	mov	r1, #1
	mov	r0, r3
	bl	dup2
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r3, [r3, #-556]
	add	r2, r3, #1
	sub	r3, fp, #124
	ldr	r1, .L59+4
	mov	r0, r3
	bl	sprintf
	sub	r2, fp, #124
	mov	r3, #0
	ldr	r1, .L59+8
	ldr	r0, .L59+8
	bl	execl
.L21:
	sub	r3, fp, #4096
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r3, [r3, #-556]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldr	r3, [r3, #-360]
	add	r2, r3, #31
	cmp	r3, #0
	movlt	r3, r2
	movge	r3, r3
	asr	r3, r3, #5
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #20
	mov	r1, r3
	lsl	r3, r2, #2
	add	r3, r1, r3
	ldr	r1, [r3, #-264]
	sub	r3, fp, #4096
	sub	r3, r3, #20
	mov	r0, r3
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r3, [r3, #-556]
	lsl	r3, r3, #3
	add	r3, r0, r3
	ldr	r3, [r3, #-360]
	rsbs	r0, r3, #0
	and	r3, r3, #31
	and	r0, r0, #31
	rsbpl	r3, r0, #0
	mov	r0, #1
	lsl	r3, r0, r3
	orr	r1, r1, r3
	sub	r3, fp, #4096
	sub	r3, r3, #20
	mov	r0, r3
	lsl	r3, r2, #2
	add	r3, r0, r3
	str	r1, [r3, #-264]
	sub	r3, fp, #4096
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r3, [r3, #-556]
	add	r3, r3, #1
	str	r3, [r2, #-556]
.L20:
	sub	r3, fp, #4096
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r2, [r2, #-556]
	ldr	r3, [r3, #-528]
	cmp	r2, r3
	blt	.L22
	sub	r3, fp, #4096
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r3, [r3, #-552]
	str	r3, [r2, #-560]
	b	.L23
.L38:
	sub	r3, fp, #4096
	sub	r3, r3, #20
	sub	r2, fp, #4096
	sub	r2, r2, #20
	sub	r3, r3, #136
	sub	r1, r2, #264
	mov	r2, #128
	mov	r0, r3
	bl	memcpy
	sub	r3, fp, #4096
	sub	r3, r3, #20
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-564]
	b	.L24
.L37:
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r3, [r3, #-552]
	cmp	r3, #0
	beq	.L55
	sub	r3, fp, #4096
	sub	r3, r3, #20
	mov	r4, r3
	sub	r1, fp, #4224
	sub	r1, r1, #20
	sub	r1, r1, #8
	sub	r3, fp, #4544
	sub	r3, r3, #20
	sub	r3, r3, #16
	str	r3, [sp]
	mov	r3, #0
	mov	r2, #0
	mov	r0, #100
	bl	select
	str	r0, [r4, #-476]
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r3, [r3, #-476]
	cmp	r3, #0
	bne	.L27
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r3, [r3, #-560]
	cmp	r3, #0
	beq	.L56
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r3, [r3, #-560]
	sub	r2, r3, #1
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r3, [r3, #-500]
	ldr	ip, [r3, r2, lsl #4]
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r3, [r3, #-560]
	sub	r3, r3, #1
	sub	r2, fp, #4096
	sub	r2, r2, #20
	ldr	r2, [r2, #-500]
	lsl	r3, r3, #4
	add	r3, r2, r3
	ldr	lr, [r3, #4]
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r3, [r3, #-560]
	sub	r3, r3, #1
	sub	r2, fp, #4096
	sub	r2, r2, #20
	ldr	r2, [r2, #-500]
	lsl	r3, r3, #4
	add	r3, r2, r3
	ldr	r2, [r3, #8]
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r3, [r3, #-560]
	sub	r3, r3, #1
	sub	r1, fp, #4096
	sub	r1, r1, #20
	ldr	r1, [r1, #-500]
	lsl	r3, r3, #4
	add	r3, r1, r3
	ldr	r3, [r3, #12]
	sub	r0, fp, #124
	str	r3, [sp, #4]
	str	r2, [sp]
	mov	r3, lr
	mov	r2, ip
	ldr	r1, .L59+12
	bl	sprintf
	sub	r3, fp, #4096
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r3, [r3, #-564]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldr	r3, [r3, #-452]
	sub	r2, fp, #4096
	sub	r2, r2, #20
	mov	r4, r2
	ldr	r1, .L59+16
	mov	r0, r3
	bl	fdopen
	str	r0, [r4, #-468]
	sub	r3, fp, #4096
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #124
	ldr	r1, [r2, #-468]
	mov	r0, r3
	bl	fputs
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r0, [r3, #-468]
	bl	fflush
	sub	r3, fp, #4096
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r3, [r3, #-564]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldr	r2, [r3, #-360]
	sub	r3, fp, #4096
	sub	r3, r3, #20
	mov	r1, r3
	lsl	r3, r2, #2
	add	r3, r1, r3
	ldr	r3, [r3, #-8]
	add	r1, r3, #1
	sub	r3, fp, #4096
	sub	r3, r3, #20
	mov	r0, r3
	lsl	r3, r2, #2
	add	r3, r0, r3
	str	r1, [r3, #-8]
	sub	r3, fp, #4096
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r3, [r3, #-560]
	sub	r3, r3, #1
	str	r3, [r2, #-560]
	b	.L29
.L27:
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r3, [r3, #-476]
	cmp	r3, #0
	ble	.L29
	sub	r3, fp, #4096
	sub	r3, r3, #20
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-568]
	b	.L30
.L33:
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r3, [r3, #-568]
	add	r2, r3, #31
	cmp	r3, #0
	movlt	r3, r2
	movge	r3, r3
	asr	r3, r3, #5
	sub	r2, fp, #4096
	sub	r2, r2, #20
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [r3, #-136]
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r3, [r3, #-568]
	rsbs	r1, r3, #0
	and	r3, r3, #31
	and	r1, r1, #31
	rsbpl	r3, r1, #0
	mov	r1, #1
	lsl	r3, r1, r3
	and	r3, r3, r2
	cmp	r3, #0
	bne	.L57
	sub	r3, fp, #4096
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r3, [r3, #-568]
	add	r3, r3, #1
	str	r3, [r2, #-568]
.L30:
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r3, [r3, #-568]
	cmp	r3, #99
	ble	.L33
	b	.L32
.L57:
	nop
.L32:
	sub	r3, fp, #4096
	sub	r3, r3, #20
	mov	r4, r3
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r1, .L59+20
	ldr	r0, [r3, #-568]
	bl	fdopen
	str	r0, [r4, #-472]
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r0, [r3, #-472]
	bl	fflush
	sub	r3, fp, #4096
	sub	r3, r3, #20
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-572]
.L36:
	sub	r3, fp, #4096
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r3, [r3, #-568]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3, #-8]
	cmp	r3, #0
	bne	.L34
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r0, [r3, #-472]
	bl	fflush
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r3, [r3, #-568]
	add	r2, r3, #31
	cmp	r3, #0
	movlt	r3, r2
	movge	r3, r3
	asr	r3, r3, #5
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #20
	mov	r1, r3
	lsl	r3, r2, #2
	add	r3, r1, r3
	ldr	r1, [r3, #-136]
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r3, [r3, #-568]
	rsbs	r0, r3, #0
	and	r3, r3, #31
	and	r0, r0, #31
	rsbpl	r3, r0, #0
	mov	r0, #1
	lsl	r3, r0, r3
	mvn	r3, r3
	and	r1, r1, r3
	sub	r3, fp, #4096
	sub	r3, r3, #20
	mov	r0, r3
	lsl	r3, r2, #2
	add	r3, r0, r3
	str	r1, [r3, #-136]
	b	.L29
.L34:
	sub	r3, fp, #4096
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #124
	ldr	r2, [r2, #-472]
	mov	r1, #100
	mov	r0, r3
	bl	fgets
	sub	r3, fp, #4096
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r3, [r3, #-572]
	add	r3, r3, #1
	str	r3, [r2, #-572]
	sub	r3, fp, #4672
	sub	r3, r3, #20
	sub	r3, r3, #16
	sub	r2, fp, #4672
	sub	r2, r2, #20
	sub	r2, r2, #20
	sub	r0, fp, #124
	ldr	r1, .L59+28
	bl	__isoc99_sscanf
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r3, [r3, #-596]
	sub	r3, r3, #1
	sub	r2, fp, #4096
	sub	r2, r2, #20
	ldr	r2, [r2, #-516]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldr	r1, [r3, #4]
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r2, [r3, #-592]
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r3, [r3, #-596]
	sub	r3, r3, #1
	add	r2, r1, r2
	sub	r1, fp, #4096
	sub	r1, r1, #20
	ldr	r1, [r1, #-516]
	lsl	r3, r3, #3
	add	r3, r1, r3
	str	r2, [r3, #4]
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r3, [r3, #-572]
	cmp	r3, #4
	bne	.L36
	sub	r3, fp, #4096
	sub	r3, r3, #20
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-572]
	sub	r3, fp, #4096
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r3, [r3, #-568]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3, #-8]
	sub	r2, r3, #1
	sub	r3, fp, #4096
	sub	r3, r3, #20
	mov	r1, r3
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r3, [r3, #-568]
	lsl	r3, r3, #2
	add	r3, r1, r3
	str	r2, [r3, #-8]
	sub	r3, fp, #4096
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r3, [r3, #-552]
	sub	r3, r3, #1
	str	r3, [r2, #-552]
	b	.L36
.L29:
	sub	r3, fp, #4096
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r3, [r3, #-564]
	add	r3, r3, #1
	str	r3, [r2, #-564]
.L24:
	sub	r3, fp, #4096
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r2, [r2, #-564]
	ldr	r3, [r3, #-528]
	cmp	r2, r3
	blt	.L37
	b	.L23
.L55:
	nop
	b	.L23
.L56:
	nop
.L23:
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r3, [r3, #-552]
	cmp	r3, #0
	bgt	.L38
	sub	r3, fp, #4096
	sub	r3, r3, #20
	mov	r2, r3
	ldr	r3, .L59+24
	str	r3, [r2, #-496]
	sub	r3, fp, #4096
	sub	r3, r3, #20
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-576]
	b	.L39
.L40:
	sub	r3, fp, #4096
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r3, [r3, #-576]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldr	r3, [r3, #-452]
	sub	r2, fp, #4096
	sub	r2, r2, #20
	mov	r4, r2
	ldr	r1, .L59+16
	mov	r0, r3
	bl	fdopen
	str	r0, [r4, #-480]
	sub	r3, fp, #4096
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r1, [r2, #-480]
	ldr	r0, [r3, #-496]
	bl	fputs
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r0, [r3, #-480]
	bl	fflush
	sub	r3, fp, #4096
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r3, [r3, #-576]
	add	r3, r3, #1
	str	r3, [r2, #-576]
.L39:
	sub	r3, fp, #4096
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r2, [r2, #-576]
	ldr	r3, [r3, #-528]
	cmp	r2, r3
	blt	.L40
	sub	r3, fp, #4096
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r3, [r3, #-528]
	str	r3, [r2, #-580]
	b	.L41
.L42:
	sub	r3, fp, #4096
	sub	r3, r3, #20
	mov	r4, r3
	sub	r3, fp, #4672
	sub	r3, r3, #20
	sub	r3, r3, #16
	mov	r0, r3
	bl	wait
	str	r0, [r4, #-484]
	sub	r3, fp, #4096
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r3, [r3, #-580]
	sub	r3, r3, #1
	str	r3, [r2, #-580]
.L41:
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r3, [r3, #-580]
	cmp	r3, #0
	bgt	.L42
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	ip, [r3, #-524]
	mov	r3, sp
	mov	r4, r3
	sub	r3, ip, #1
	sub	r2, fp, #4096
	sub	r2, r2, #20
	str	r3, [r2, #-492]
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #5
	orr	r3, r3, r0, lsr #27
	lsl	r2, r0, #5
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #5
	orr	r3, r3, r0, lsr #27
	lsl	r2, r0, #5
	mov	r3, ip
	lsl	r3, r3, #2
	sub	r2, fp, #4096
	sub	r2, r2, #20
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	add	r3, sp, #8
	add	r3, r3, #3
	lsr	r3, r3, #2
	lsl	r3, r3, #2
	str	r3, [r2, #-488]
	sub	r3, fp, #4096
	sub	r3, r3, #20
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-584]
	b	.L43
.L44:
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r3, [r3, #-488]
	sub	r2, fp, #4096
	sub	r2, r2, #20
	ldr	r2, [r2, #-584]
	mov	r1, #0
	str	r1, [r3, r2, lsl #2]
	sub	r3, fp, #4096
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r3, [r3, #-584]
	add	r3, r3, #1
	str	r3, [r2, #-584]
.L43:
	sub	r3, fp, #4096
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r2, [r2, #-584]
	ldr	r3, [r3, #-524]
	cmp	r2, r3
	blt	.L44
	sub	r3, fp, #4096
	sub	r3, r3, #20
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-588]
	b	.L45
.L50:
	sub	r3, fp, #4096
	sub	r3, r3, #20
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-536]
	b	.L46
.L60:
	.align	2
.L59:
	.word	715827883
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC6
	.word	.LC5
	.word	.LC7
.L49:
	sub	r3, fp, #4096
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r2, [r2, #-588]
	ldr	r3, [r3, #-536]
	cmp	r2, r3
	beq	.L58
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r2, [r3, #-516]
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r3, [r3, #-588]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldr	r2, [r3, #4]
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r1, [r3, #-516]
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r3, [r3, #-536]
	lsl	r3, r3, #3
	add	r3, r1, r3
	ldr	r3, [r3, #4]
	cmp	r2, r3
	bgt	.L48
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r3, [r3, #-488]
	sub	r2, fp, #4096
	sub	r2, r2, #20
	ldr	r2, [r2, #-588]
	ldr	r3, [r3, r2, lsl #2]
	add	r1, r3, #1
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r3, [r3, #-488]
	sub	r2, fp, #4096
	sub	r2, r2, #20
	ldr	r2, [r2, #-588]
	str	r1, [r3, r2, lsl #2]
	b	.L48
.L58:
	nop
.L48:
	sub	r3, fp, #4096
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r3, [r3, #-536]
	add	r3, r3, #1
	str	r3, [r2, #-536]
.L46:
	sub	r3, fp, #4096
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r2, [r2, #-536]
	ldr	r3, [r3, #-524]
	cmp	r2, r3
	blt	.L49
	sub	r3, fp, #4096
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r3, [r3, #-588]
	add	r3, r3, #1
	str	r3, [r2, #-588]
.L45:
	sub	r3, fp, #4096
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r2, [r2, #-588]
	ldr	r3, [r3, #-524]
	cmp	r2, r3
	blt	.L50
	sub	r3, fp, #4096
	sub	r3, r3, #20
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-532]
	b	.L51
.L52:
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r3, [r3, #-532]
	add	r1, r3, #1
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r3, [r3, #-488]
	sub	r2, fp, #4096
	sub	r2, r2, #20
	ldr	r2, [r2, #-532]
	ldr	r3, [r3, r2, lsl #2]
	sub	r2, fp, #4096
	sub	r2, r2, #20
	ldr	r2, [r2, #-524]
	sub	r3, r2, r3
	mov	r2, r3
	ldr	r0, .L59+28
	bl	printf
	sub	r3, fp, #4096
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r3, [r3, #-532]
	add	r3, r3, #1
	str	r3, [r2, #-532]
.L51:
	sub	r3, fp, #4096
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r2, [r2, #-532]
	ldr	r3, [r3, #-524]
	cmp	r2, r3
	blt	.L52
	mov	r3, #0
	mov	sp, r4
	mov	sp, r6
	mov	sp, r5
	ldr	r2, .L59+32
	ldr	r1, [r2]
	ldr	r2, [fp, #-24]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L54
	bl	__stack_chk_fail
.L54:
	mov	r0, r3
	sub	sp, fp, #16
	@ sp needed
	pop	{r4, r5, r6, fp, pc}
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
