	.file	"301603.c"
	.intel_syntax noprefix
	.text
	.globl	sm
	.bss
	.align 8
	.type	sm, @object
	.size	sm, 8
sm:
	.zero	8
	.globl	shmid
	.align 4
	.type	shmid, @object
	.size	shmid, 4
shmid:
	.zero	4
	.globl	inchar
	.align 4
	.type	inchar, @object
	.size	inchar, 4
inchar:
	.zero	4
	.globl	stack
	.align 32
	.type	stack, @object
	.size	stack, 792
stack:
	.zero	792
	.globl	toggle
	.align 4
	.type	toggle, @object
	.size	toggle, 4
toggle:
	.zero	4
	.globl	twice
	.align 4
	.type	twice, @object
	.size	twice, 4
twice:
	.zero	4
	.globl	pirsiz
	.align 4
	.type	pirsiz, @object
	.size	pirsiz, 4
pirsiz:
	.zero	4
	.globl	pirflt
	.align 4
	.type	pirflt, @object
	.size	pirflt, 4
pirflt:
	.zero	4
	.globl	events
	.align 32
	.type	events, @object
	.size	events, 792
events:
	.zero	792
	.globl	pirtim
	.align 8
	.type	pirtim, @object
	.size	pirtim, 8
pirtim:
	.zero	8
	.globl	myp
	.align 4
	.type	myp, @object
	.size	myp, 4
myp:
	.zero	4
	.globl	mypn
	.align 4
	.type	mypn, @object
	.size	mypn, 4
mypn:
	.zero	4
	.globl	mykb
	.align 4
	.type	mykb, @object
	.size	mykb, 4
mykb:
	.zero	4
	.globl	watch
	.type	watch, @object
	.size	watch, 1
watch:
	.zero	1
	.globl	vtmode
	.type	vtmode, @object
	.size	vtmode, 1
vtmode:
	.zero	1
	.globl	ansi
	.type	ansi, @object
	.size	ansi, 1
ansi:
	.zero	1
	.globl	vtloo
	.type	vtloo, @object
	.size	vtloo, 1
vtloo:
	.zero	1
	.globl	mymes
	.type	mymes, @object
	.size	mymes, 1
mymes:
	.zero	1
	.globl	mycom
	.type	mycom, @object
	.size	mycom, 1
mycom:
	.zero	1
	.globl	mynum
	.type	mynum, @object
	.size	mynum, 1
mynum:
	.zero	1
	.globl	home
	.type	home, @object
	.size	home, 1
home:
	.zero	1
	.globl	awetow
	.type	awetow, @object
	.size	awetow, 1
awetow:
	.zero	1
	.globl	numpl
	.align 32
	.type	numpl, @object
	.size	numpl, 40
numpl:
	.zero	40
	.globl	numpr
	.align 32
	.type	numpr, @object
	.size	numpr, 40
numpr:
	.zero	40
	.globl	numsh
	.align 32
	.type	numsh, @object
	.size	numsh, 40
numsh:
	.zero	40
	.globl	scr
	.align 32
	.type	scr, @object
	.size	scr, 80
scr:
	.zero	80
	.globl	scr2
	.align 16
	.type	scr2, @object
	.size	scr2, 30
scr2:
	.zero	30
	.globl	game_len
	.align 8
	.type	game_len, @object
	.size	game_len, 8
game_len:
	.zero	8
	.globl	lsttim
	.align 8
	.type	lsttim, @object
	.size	lsttim, 8
lsttim:
	.zero	8
	.globl	x_siz
	.type	x_siz, @object
	.size	x_siz, 1
x_siz:
	.zero	1
	.globl	y_siz
	.type	y_siz, @object
	.size	y_siz, 1
y_siz:
	.zero	1
	.globl	z_siz
	.type	z_siz, @object
	.size	z_siz, 1
z_siz:
	.zero	1
	.globl	prod_time
	.align 8
	.type	prod_time, @object
	.size	prod_time, 8
prod_time:
	.zero	8
	.globl	trav_time
	.align 8
	.type	trav_time, @object
	.size	trav_time, 8
trav_time:
	.zero	8
	.globl	GID
	.align 4
	.type	GID, @object
	.size	GID, 4
GID:
	.zero	4
	.globl	UID
	.align 4
	.type	UID, @object
	.size	UID, 4
UID:
	.zero	4
	.globl	flags
	.align 4
	.type	flags, @object
	.size	flags, 4
flags:
	.zero	4
	.globl	flagsave
	.align 4
	.type	flagsave, @object
	.size	flagsave, 4
flagsave:
	.zero	4
	.globl	tdes
	.align 32
	.type	tdes, @object
	.size	tdes, 60
tdes:
	.zero	60
	.globl	tsave
	.align 32
	.type	tsave, @object
	.size	tsave, 60
tsave:
	.zero	60
	.globl	inbuf
	.type	inbuf, @object
	.size	inbuf, 2
inbuf:
	.zero	2
	.globl	inlen
	.align 4
	.type	inlen, @object
	.size	inlen, 4
inlen:
	.zero	4
	.text
	.globl	initterm
	.type	initterm, @function
initterm:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	edx, 0
	mov	esi, 3
	mov	edi, 0
	mov	eax, 0
	call	fcntl@PLT
	mov	DWORD PTR flags[rip], eax
	mov	eax, DWORD PTR flags[rip]
	mov	DWORD PTR flagsave[rip], eax
	lea	rsi, tdes[rip]
	mov	edi, 0
	call	tcgetattr@PLT
	lea	rsi, tsave[rip]
	mov	edi, 0
	call	tcgetattr@PLT
	mov	eax, DWORD PTR tdes[rip+12]
	and	eax, -3
	mov	DWORD PTR tdes[rip+12], eax
	mov	BYTE PTR tdes[rip+23], 1
	mov	BYTE PTR tdes[rip+22], 2
	lea	rdx, tdes[rip]
	mov	esi, 0
	mov	edi, 0
	call	tcsetattr@PLT
	mov	eax, DWORD PTR flags[rip]
	and	ah, -9
	mov	edx, eax
	mov	esi, 4
	mov	edi, 0
	mov	eax, 0
	call	fcntl@PLT
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	initterm, .-initterm
	.globl	restterm
	.type	restterm, @function
restterm:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	eax, DWORD PTR flagsave[rip]
	mov	edx, eax
	mov	esi, 4
	mov	edi, 0
	mov	eax, 0
	call	fcntl@PLT
	lea	rdx, tsave[rip]
	mov	esi, 0
	mov	edi, 0
	call	tcsetattr@PLT
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	restterm, .-restterm
	.globl	getch
	.type	getch, @function
getch:
.LFB8:
	.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, 24
	.cfi_offset 3, -24
	mov	eax, DWORD PTR flags[rip]
	or	ah, 8
	mov	ebx, eax
	mov	rax, QWORD PTR stdin[rip]
	mov	rdi, rax
	call	fileno@PLT
	mov	edx, ebx
	mov	esi, 4
	mov	edi, eax
	mov	eax, 0
	call	fcntl@PLT
	mov	BYTE PTR inbuf[rip], 0
	mov	BYTE PTR -17[rbp], 0
	mov	rax, QWORD PTR stdin[rip]
	mov	rdi, rax
	call	fileno@PLT
	mov	edx, 1
	lea	rsi, inbuf[rip]
	mov	edi, eax
	call	read@PLT
	mov	DWORD PTR inlen[rip], eax
	mov	eax, DWORD PTR inlen[rip]
	test	eax, eax
	jg	.L4
	mov	BYTE PTR -17[rbp], -1
	jmp	.L5
.L4:
	movzx	eax, BYTE PTR inbuf[rip]
	mov	BYTE PTR -17[rbp], al
.L5:
	mov	ebx, DWORD PTR flags[rip]
	mov	rax, QWORD PTR stdin[rip]
	mov	rdi, rax
	call	fileno@PLT
	mov	edx, ebx
	mov	esi, 4
	mov	edi, eax
	mov	eax, 0
	call	fcntl@PLT
	movzx	eax, BYTE PTR -17[rbp]
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	getch, .-getch
	.globl	getchr
	.type	getchr, @function
getchr:
.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, 24
	.cfi_offset 3, -24
	mov	eax, DWORD PTR flags[rip]
	or	ah, 8
	mov	ebx, eax
	mov	rax, QWORD PTR stdin[rip]
	mov	rdi, rax
	call	fileno@PLT
	mov	edx, ebx
	mov	esi, 4
	mov	edi, eax
	mov	eax, 0
	call	fcntl@PLT
	nop
.L8:
	mov	rax, QWORD PTR stdin[rip]
	mov	rdi, rax
	call	fileno@PLT
	mov	edx, 1
	lea	rsi, inbuf[rip]
	mov	edi, eax
	call	read@PLT
	test	rax, rax
	jle	.L8
	mov	ebx, DWORD PTR flags[rip]
	mov	rax, QWORD PTR stdin[rip]
	mov	rdi, rax
	call	fileno@PLT
	mov	edx, ebx
	mov	esi, 4
	mov	edi, eax
	mov	eax, 0
	call	fcntl@PLT
	movzx	eax, BYTE PTR inbuf[rip]
	mov	BYTE PTR -17[rbp], al
	movzx	eax, BYTE PTR -17[rbp]
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	getchr, .-getchr
	.section	.rodata
	.align 8
.LC0:
	.string	"\nGalcon Segment available.  Attaching"
	.align 8
.LC1:
	.string	"\nCreating new Galcon segment..."
.LC2:
	.string	"Can't change GID of Main"
	.text
	.globl	get_main_region
	.type	get_main_region, @function
get_main_region:
.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, 144
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	call	getuid@PLT
	mov	DWORD PTR -136[rbp], eax
	call	getgid@PLT
	mov	DWORD PTR -132[rbp], eax
	mov	edi, 0
	call	setuid@PLT
	mov	edi, 0
	call	setgid@PLT
	mov	edx, 2040
	mov	esi, 2768
	mov	edi, 1002
	call	shmget@PLT
	mov	DWORD PTR shmid[rip], eax
	mov	eax, DWORD PTR shmid[rip]
	test	eax, eax
	jns	.L11
	lea	rdi, .LC0[rip]
	call	puts@PLT
	mov	edx, 0
	mov	esi, 2768
	mov	edi, 1002
	call	shmget@PLT
	mov	DWORD PTR shmid[rip], eax
	jmp	.L12
.L11:
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR shmid[rip]
	lea	rdx, -128[rbp]
	mov	esi, 2
	mov	edi, eax
	call	shmctl@PLT
	mov	DWORD PTR -120[rbp], 100
	mov	eax, DWORD PTR shmid[rip]
	lea	rdx, -128[rbp]
	mov	esi, 1
	mov	edi, eax
	call	shmctl@PLT
	test	eax, eax
	je	.L12
	lea	rdi, .LC2[rip]
	call	perror@PLT
	mov	edi, 0
	call	exit@PLT
.L12:
	mov	eax, DWORD PTR -136[rbp]
	mov	edi, eax
	call	setuid@PLT
	mov	eax, DWORD PTR -132[rbp]
	mov	edi, eax
	call	setgid@PLT
	mov	eax, DWORD PTR shmid[rip]
	mov	edx, 0
	mov	esi, 0
	mov	edi, eax
	call	shmat@PLT
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L14
	call	__stack_chk_fail@PLT
.L14:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	get_main_region, .-get_main_region
	.globl	detach
	.type	detach, @function
detach:
.LFB11:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	rax, QWORD PTR sm[rip]
	mov	rdi, rax
	call	shmdt@PLT
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	detach, .-detach
	.section	.rodata
.LC3:
	.string	"%02ld.%02ld"
	.text
	.globl	sdate
	.type	sdate, @function
sdate:
.LFB12:
	.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 -40[rbp], rdi
	cmp	QWORD PTR -40[rbp], 0
	jne	.L17
	mov	edi, 0
	mov	eax, 0
	call	time@PLT
	movsx	rdx, eax
	mov	rax, QWORD PTR sm[rip]
	mov	rcx, QWORD PTR [rax]
	mov	rax, rdx
	sub	rax, rcx
	mov	QWORD PTR -24[rbp], rax
	jmp	.L18
.L17:
	mov	rax, QWORD PTR sm[rip]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -40[rbp]
	sub	rax, rdx
	mov	QWORD PTR -24[rbp], rax
.L18:
	mov	rcx, QWORD PTR -24[rbp]
	movabs	rdx, -8608480567731124087
	mov	rax, rcx
	imul	rdx
	lea	rax, [rdx+rcx]
	sar	rax, 5
	sar	rcx, 63
	mov	rdx, rcx
	sub	rax, rdx
	mov	QWORD PTR -16[rbp], rax
	mov	rcx, QWORD PTR -24[rbp]
	movabs	rdx, -8608480567731124087
	mov	rax, rcx
	imul	rdx
	lea	rax, [rdx+rcx]
	sar	rax, 5
	mov	rsi, rcx
	sar	rsi, 63
	sub	rax, rsi
	mov	rdx, rax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 2
	sub	rcx, rax
	mov	rdx, rcx
	mov	QWORD PTR -8[rbp], rdx
	mov	rdx, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR -16[rbp]
	mov	rcx, rdx
	mov	rdx, rax
	lea	rsi, .LC3[rip]
	lea	rdi, buf.0[rip]
	mov	eax, 0
	call	sprintf@PLT
	lea	rax, buf.0[rip]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	sdate, .-sdate
	.globl	setrand
	.type	setrand, @function
setrand:
.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, 8
	.cfi_offset 3, -24
	call	getpid@PLT
	mov	ebx, eax
	mov	edi, 0
	mov	eax, 0
	call	time@PLT
	add	eax, ebx
	mov	edi, eax
	call	srand@PLT
	nop
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	setrand, .-setrand
	.globl	irand
	.type	irand, @function
irand:
.LFB14:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	DWORD PTR -4[rbp], edi
	call	rand@PLT
	cdq
	idiv	DWORD PTR -4[rbp]
	mov	eax, edx
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE14:
	.size	irand, .-irand
	.globl	prandom
	.type	prandom, @function
prandom:
.LFB15:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	DWORD PTR -4[rbp], edi
	call	rand@PLT
	cdq
	idiv	DWORD PTR -4[rbp]
	mov	eax, edx
	add	eax, 1
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE15:
	.size	prandom, .-prandom
	.section	.rodata
.LC4:
	.string	"\nYou have lost this round."
	.align 8
.LC5:
	.string	"\nYou have completely won the war!!"
.LC6:
	.string	"\nThe War is Over. . ."
	.align 8
.LC7:
	.string	"\nThe points break down as follows:"
	.align 8
.LC8:
	.string	"%20s] Planets:%3d production:%4d Ships:%5d  Score:%6d\n"
	.text
	.globl	chkend
	.type	chkend, @function
chkend:
.LFB16:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	DWORD PTR -8[rbp], 0
	mov	DWORD PTR -4[rbp], 0
	movzx	eax, BYTE PTR watch[rip]
	test	al, al
	jne	.L26
	mov	DWORD PTR -12[rbp], 0
	jmp	.L27
.L29:
	mov	rax, QWORD PTR sm[rip]
	mov	edx, DWORD PTR -12[rbp]
	movsx	rdx, edx
	add	rdx, 136
	mov	edx, DWORD PTR 8[rax+rdx*4]
	movzx	eax, BYTE PTR mynum[rip]
	movsx	eax, al
	cmp	edx, eax
	jne	.L28
	add	DWORD PTR -8[rbp], 1
.L28:
	add	DWORD PTR -12[rbp], 1
.L27:
	cmp	DWORD PTR -12[rbp], 38
	jle	.L29
	mov	DWORD PTR -12[rbp], 0
	jmp	.L30
.L32:
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, stack[rip]
	mov	eax, DWORD PTR [rdx+rax]
	test	eax, eax
	je	.L31
	add	DWORD PTR -4[rbp], 1
.L31:
	add	DWORD PTR -12[rbp], 1
.L30:
	cmp	DWORD PTR -12[rbp], 98
	jle	.L32
	cmp	DWORD PTR -8[rbp], 0
	jne	.L33
	cmp	DWORD PTR -4[rbp], 0
	jne	.L33
	lea	rdi, .LC4[rip]
	call	puts@PLT
	mov	DWORD PTR -12[rbp], 0
	jmp	.L34
.L35:
	add	DWORD PTR -12[rbp], 1
.L34:
	mov	rax, QWORD PTR sm[rip]
	mov	edx, DWORD PTR -12[rbp]
	movsx	rdx, edx
	add	rdx, 312
	mov	eax, DWORD PTR [rax+rdx*4]
	test	eax, eax
	jne	.L35
	mov	rax, QWORD PTR sm[rip]
	mov	edx, DWORD PTR myp[rip]
	mov	ecx, DWORD PTR -12[rbp]
	movsx	rcx, ecx
	add	rcx, 312
	mov	DWORD PTR [rax+rcx*4], edx
	mov	rax, QWORD PTR sm[rip]
	mov	edx, DWORD PTR mypn[rip]
	mov	ecx, DWORD PTR -12[rbp]
	movsx	rcx, ecx
	add	rcx, 332
	mov	DWORD PTR [rax+rcx*4], edx
	mov	eax, 0
	call	restterm
	mov	edi, 0
	call	exit@PLT
.L33:
	cmp	DWORD PTR -8[rbp], 39
	jne	.L26
	lea	rdi, .LC5[rip]
	call	puts@PLT
	mov	rax, QWORD PTR sm[rip]
	mov	QWORD PTR [rax], 0
	mov	BYTE PTR watch[rip], 1
	mov	rax, QWORD PTR sm[rip]
	mov	DWORD PTR 1032[rax], 0
	mov	eax, 0
	call	chkend
.L26:
	mov	edi, 0
	mov	eax, 0
	call	time@PLT
	movsx	rdx, eax
	mov	rax, QWORD PTR sm[rip]
	mov	rcx, QWORD PTR [rax]
	mov	rax, QWORD PTR game_len[rip]
	add	rax, rcx
	cmp	rdx, rax
	jge	.L36
	mov	eax, 0
	jmp	.L47
.L36:
	movzx	eax, BYTE PTR vtmode[rip]
	test	al, al
	je	.L38
	mov	eax, 0
	call	nrmscr
	mov	eax, 0
	call	cls
.L38:
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC7[rip]
	call	puts@PLT
	mov	DWORD PTR -12[rbp], 0
	jmp	.L39
.L40:
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, numpl[rip]
	mov	DWORD PTR [rdx+rax], 0
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, numpr[rip]
	mov	DWORD PTR [rdx+rax], 0
	mov	DWORD PTR numsh[rip], 0
	add	DWORD PTR -12[rbp], 1
.L39:
	cmp	DWORD PTR -12[rbp], 9
	jle	.L40
	mov	DWORD PTR -12[rbp], 0
	jmp	.L41
.L43:
	mov	rax, QWORD PTR sm[rip]
	mov	edx, DWORD PTR -12[rbp]
	movsx	rdx, edx
	add	rdx, 136
	mov	eax, DWORD PTR 8[rax+rdx*4]
	cmp	eax, -1
	je	.L42
	mov	rax, QWORD PTR sm[rip]
	mov	edx, DWORD PTR -12[rbp]
	movsx	rdx, edx
	add	rdx, 136
	mov	eax, DWORD PTR 8[rax+rdx*4]
	movsx	rdx, eax
	lea	rcx, 0[0+rdx*4]
	lea	rdx, numpl[rip]
	mov	edx, DWORD PTR [rcx+rdx]
	lea	ecx, 1[rdx]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, numpl[rip]
	mov	DWORD PTR [rdx+rax], ecx
	mov	rax, QWORD PTR sm[rip]
	mov	edx, DWORD PTR -12[rbp]
	movsx	rdx, edx
	add	rdx, 136
	mov	eax, DWORD PTR 8[rax+rdx*4]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, numpr[rip]
	mov	esi, DWORD PTR [rdx+rax]
	mov	rax, QWORD PTR sm[rip]
	mov	edx, DWORD PTR -12[rbp]
	movsx	rdx, edx
	add	rdx, 176
	mov	ecx, DWORD PTR 8[rax+rdx*4]
	mov	rax, QWORD PTR sm[rip]
	mov	edx, DWORD PTR -12[rbp]
	movsx	rdx, edx
	add	rdx, 136
	mov	eax, DWORD PTR 8[rax+rdx*4]
	add	ecx, esi
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, numpr[rip]
	mov	DWORD PTR [rdx+rax], ecx
	mov	rax, QWORD PTR sm[rip]
	mov	edx, DWORD PTR -12[rbp]
	movsx	rdx, edx
	add	rdx, 136
	mov	eax, DWORD PTR 8[rax+rdx*4]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, numsh[rip]
	mov	esi, DWORD PTR [rdx+rax]
	mov	rax, QWORD PTR sm[rip]
	mov	edx, DWORD PTR -12[rbp]
	movsx	rdx, edx
	add	rdx, 216
	mov	ecx, DWORD PTR 8[rax+rdx*4]
	mov	rax, QWORD PTR sm[rip]
	mov	edx, DWORD PTR -12[rbp]
	movsx	rdx, edx
	add	rdx, 136
	mov	eax, DWORD PTR 8[rax+rdx*4]
	add	ecx, esi
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, numsh[rip]
	mov	DWORD PTR [rdx+rax], ecx
.L42:
	add	DWORD PTR -12[rbp], 1
.L41:
	cmp	DWORD PTR -12[rbp], 38
	jle	.L43
	mov	DWORD PTR -12[rbp], 0
	jmp	.L44
.L46:
	mov	rcx, QWORD PTR sm[rip]
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, rcx
	add	rax, 1800
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L45
	mov	rcx, QWORD PTR sm[rip]
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, rcx
	add	rax, 1800
	movzx	eax, BYTE PTR [rax]
	cmp	al, 1
	je	.L45
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, numpl[rip]
	mov	edx, DWORD PTR [rdx+rax]
	mov	eax, edx
	sal	eax, 2
	add	eax, edx
	add	eax, eax
	mov	ecx, eax
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, numpr[rip]
	mov	edx, DWORD PTR [rdx+rax]
	mov	eax, edx
	sal	eax, 2
	add	eax, edx
	add	ecx, eax
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, numsh[rip]
	mov	eax, DWORD PTR [rdx+rax]
	lea	r8d, [rcx+rax]
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, numsh[rip]
	mov	edi, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, numpr[rip]
	mov	ecx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, numpl[rip]
	mov	edx, DWORD PTR [rdx+rax]
	mov	r9, QWORD PTR sm[rip]
	mov	eax, DWORD PTR -12[rbp]
	movsx	rsi, eax
	mov	rax, rsi
	sal	rax, 2
	add	rax, rsi
	sal	rax, 2
	add	rax, 1792
	add	rax, r9
	add	rax, 8
	mov	r9d, r8d
	mov	r8d, edi
	mov	rsi, rax
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
.L45:
	add	DWORD PTR -12[rbp], 1
.L44:
	cmp	DWORD PTR -12[rbp], 9
	jle	.L46
	mov	rax, QWORD PTR sm[rip]
	mov	edx, DWORD PTR 1032[rax]
	sub	edx, 1
	mov	DWORD PTR 1032[rax], edx
	mov	eax, 0
	call	restterm
	mov	edi, 0
	call	exit@PLT
.L47:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE16:
	.size	chkend, .-chkend
	.section	.rodata
.LC9:
	.string	"Player #%d %20s]\n"
.LC10:
	.string	"\n* Denotes an observer"
	.text
	.globl	who
	.type	who, @function
who:
.LFB17:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	DWORD PTR -4[rbp], 0
	jmp	.L49
.L51:
	mov	rcx, QWORD PTR sm[rip]
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, rcx
	add	rax, 1800
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L50
	mov	rcx, QWORD PTR sm[rip]
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, 1792
	add	rax, rcx
	lea	rdx, 8[rax]
	mov	eax, DWORD PTR -4[rbp]
	mov	esi, eax
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
.L50:
	add	DWORD PTR -4[rbp], 1
.L49:
	cmp	DWORD PTR -4[rbp], 7
	jle	.L51
	lea	rdi, .LC10[rip]
	call	puts@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE17:
	.size	who, .-who
	.section	.rodata
.LC11:
	.string	"\nCommand: "
	.text
	.globl	prompt
	.type	prompt, @function
prompt:
.LFB18:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	movzx	eax, BYTE PTR vtmode[rip]
	test	al, al
	je	.L53
	mov	esi, 16
	mov	edi, 14
	mov	eax, 0
	call	gotoxy
	jmp	.L54
.L53:
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
.L54:
	mov	rax, QWORD PTR stdout[rip]
	mov	rdi, rax
	call	fflush@PLT
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE18:
	.size	prompt, .-prompt
	.section	.rodata
	.align 8
.LC12:
	.string	"  \007#%2d %s] has left the battle."
	.align 8
.LC13:
	.string	"  \007#%2d %s] has terminated observation."
.LC14:
	.string	"\nBye Bye"
	.text
	.globl	wrapup
	.type	wrapup, @function
wrapup:
.LFB19:
	.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, 24
	.cfi_offset 3, -24
	mov	rcx, QWORD PTR sm[rip]
	movzx	eax, BYTE PTR mynum[rip]
	movsx	eax, al
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, rcx
	add	rax, 1800
	movzx	eax, BYTE PTR [rax]
	cmp	al, 1
	je	.L56
	mov	eax, 0
	call	lock
	mov	rax, QWORD PTR sm[rip]
	mov	eax, DWORD PTR 1160[rax]
	add	eax, 1
	mov	DWORD PTR -20[rbp], eax
	cmp	DWORD PTR -20[rbp], 4
	jle	.L57
	mov	DWORD PTR -20[rbp], 0
.L57:
	movzx	eax, BYTE PTR watch[rip]
	test	al, al
	jne	.L58
	mov	rcx, QWORD PTR sm[rip]
	movzx	eax, BYTE PTR mynum[rip]
	movsx	eax, al
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, 1792
	add	rax, rcx
	lea	rcx, 8[rax]
	movzx	eax, BYTE PTR mynum[rip]
	movsx	edx, al
	mov	rdi, QWORD PTR sm[rip]
	mov	eax, DWORD PTR -20[rbp]
	movsx	rsi, eax
	mov	rax, rsi
	sal	rax, 2
	add	rax, rsi
	lea	rsi, 0[0+rax*4]
	add	rax, rsi
	sal	rax, 2
	add	rax, 2000
	add	rax, rdi
	lea	rsi, .LC12[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	mov	rcx, QWORD PTR sm[rip]
	mov	eax, DWORD PTR -20[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	sal	rax, 2
	add	rax, rcx
	add	rax, 2001
	mov	BYTE PTR [rax], 88
	jmp	.L59
.L58:
	mov	rcx, QWORD PTR sm[rip]
	movzx	eax, BYTE PTR mynum[rip]
	movsx	eax, al
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, 1792
	add	rax, rcx
	lea	rcx, 8[rax]
	movzx	eax, BYTE PTR mynum[rip]
	movsx	edx, al
	mov	rdi, QWORD PTR sm[rip]
	mov	eax, DWORD PTR -20[rbp]
	movsx	rsi, eax
	mov	rax, rsi
	sal	rax, 2
	add	rax, rsi
	lea	rsi, 0[0+rax*4]
	add	rax, rsi
	sal	rax, 2
	add	rax, 2000
	add	rax, rdi
	lea	rsi, .LC13[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	mov	rcx, QWORD PTR sm[rip]
	mov	eax, DWORD PTR -20[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	sal	rax, 2
	add	rax, rcx
	add	rax, 2001
	mov	BYTE PTR [rax], 79
.L59:
	mov	rsi, QWORD PTR sm[rip]
	movzx	edx, BYTE PTR mynum[rip]
	mov	eax, DWORD PTR -20[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	sal	rax, 2
	add	rax, rcx
	lea	rcx, 0[0+rax*4]
	add	rax, rcx
	sal	rax, 2
	add	rax, rsi
	add	rax, 2000
	mov	BYTE PTR [rax], dl
	mov	rax, QWORD PTR sm[rip]
	mov	edx, DWORD PTR -20[rbp]
	mov	DWORD PTR 1160[rax], edx
	mov	rax, QWORD PTR sm[rip]
	mov	edx, DWORD PTR 1156[rax]
	sub	edx, 1
	mov	DWORD PTR 1156[rax], edx
.L56:
	movzx	eax, BYTE PTR vtmode[rip]
	test	al, al
	je	.L60
	mov	eax, 0
	call	nrmscr
	mov	eax, 0
	call	cls
.L60:
	mov	eax, DWORD PTR twice[rip]
	test	eax, eax
	jne	.L61
	mov	rax, QWORD PTR sm[rip]
	mov	eax, DWORD PTR 1092[rax]
	test	eax, eax
	jne	.L61
	movzx	eax, BYTE PTR watch[rip]
	test	al, al
	jne	.L61
	mov	DWORD PTR -24[rbp], 0
	jmp	.L62
.L63:
	add	DWORD PTR -24[rbp], 1
.L62:
	mov	rax, QWORD PTR sm[rip]
	mov	edx, DWORD PTR -24[rbp]
	movsx	rdx, edx
	add	rdx, 256
	mov	eax, DWORD PTR 12[rax+rdx*4]
	test	eax, eax
	jne	.L63
	mov	rax, QWORD PTR sm[rip]
	mov	edx, DWORD PTR myp[rip]
	mov	ecx, DWORD PTR -24[rbp]
	movsx	rcx, ecx
	add	rcx, 256
	mov	DWORD PTR 12[rax+rcx*4], edx
	mov	rax, QWORD PTR sm[rip]
	mov	edx, DWORD PTR mypn[rip]
	mov	ecx, DWORD PTR -24[rbp]
	movsx	rcx, ecx
	add	rcx, 272
	mov	DWORD PTR 8[rax+rcx*4], edx
.L61:
	mov	DWORD PTR -24[rbp], 0
	jmp	.L64
.L66:
	mov	rax, QWORD PTR sm[rip]
	mov	edx, DWORD PTR -24[rbp]
	movsx	rdx, edx
	add	rdx, 136
	mov	edx, DWORD PTR 8[rax+rdx*4]
	movzx	eax, BYTE PTR mynum[rip]
	movsx	eax, al
	cmp	edx, eax
	jne	.L65
	mov	rax, QWORD PTR sm[rip]
	mov	edx, DWORD PTR -24[rbp]
	movsx	rdx, edx
	add	rdx, 136
	mov	DWORD PTR 8[rax+rdx*4], -1
	mov	rax, QWORD PTR sm[rip]
	mov	edx, DWORD PTR -24[rbp]
	movsx	rdx, edx
	add	rdx, 176
	mov	eax, DWORD PTR 8[rax+rdx*4]
	cmp	eax, 10
	je	.L65
	mov	rbx, QWORD PTR sm[rip]
	mov	edi, 10
	mov	eax, 0
	call	prandom
	mov	edx, DWORD PTR -24[rbp]
	movsx	rdx, edx
	add	rdx, 176
	mov	DWORD PTR 8[rbx+rdx*4], eax
.L65:
	add	DWORD PTR -24[rbp], 1
.L64:
	cmp	DWORD PTR -24[rbp], 38
	jle	.L66
	mov	rcx, QWORD PTR sm[rip]
	movzx	eax, BYTE PTR mynum[rip]
	movsx	eax, al
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, rcx
	add	rax, 1800
	mov	BYTE PTR [rax], 0
	mov	rax, QWORD PTR sm[rip]
	mov	edx, DWORD PTR 1032[rax]
	sub	edx, 1
	mov	DWORD PTR 1032[rax], edx
	mov	eax, 0
	call	detach
	mov	eax, 0
	call	offprivs
	mov	eax, 0
	call	restterm
	lea	rdi, .LC14[rip]
	call	puts@PLT
	mov	edi, 1
	call	exit@PLT
	.cfi_endproc
.LFE19:
	.size	wrapup, .-wrapup
	.section	.rodata
.LC15:
	.string	"\nSummary of player #:"
.LC16:
	.string	"Name: %s]\n"
	.align 8
.LC17:
	.string	"Planet #%2d  Distance from #%2d = %4d\n"
	.align 8
.LC18:
	.string	"\nNOTE: You no longer control your home world!"
	.text
	.globl	individual
	.type	individual, @function
individual:
.LFB20:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdi, .LC15[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -16[rbp]
	mov	rdi, rax
	mov	eax, 0
	call	getnum
	mov	DWORD PTR -12[rbp], eax
	mov	edi, 10
	call	putchar@PLT
	mov	eax, DWORD PTR -16[rbp]
	test	eax, eax
	jle	.L68
	mov	eax, DWORD PTR -16[rbp]
	cmp	eax, 9
	jg	.L68
	mov	rcx, QWORD PTR sm[rip]
	mov	eax, DWORD PTR -16[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, 1792
	add	rax, rcx
	add	rax, 8
	mov	rsi, rax
	lea	rdi, .LC16[rip]
	mov	eax, 0
	call	printf@PLT
.L68:
	mov	DWORD PTR -12[rbp], 0
	jmp	.L69
.L71:
	mov	rax, QWORD PTR sm[rip]
	mov	edx, DWORD PTR -12[rbp]
	movsx	rdx, edx
	add	rdx, 136
	mov	edx, DWORD PTR 8[rax+rdx*4]
	mov	eax, DWORD PTR -16[rbp]
	cmp	edx, eax
	jne	.L70
	movzx	eax, BYTE PTR home[rip]
	movsx	eax, al
	mov	edx, DWORD PTR -12[rbp]
	mov	esi, edx
	mov	edi, eax
	mov	eax, 0
	call	prange
	mov	ecx, eax
	movzx	eax, BYTE PTR home[rip]
	movsx	edx, al
	mov	eax, DWORD PTR -12[rbp]
	mov	esi, eax
	lea	rdi, .LC17[rip]
	mov	eax, 0
	call	printf@PLT
.L70:
	add	DWORD PTR -12[rbp], 1
.L69:
	cmp	DWORD PTR -12[rbp], 38
	jle	.L71
	mov	rax, QWORD PTR sm[rip]
	movzx	edx, BYTE PTR home[rip]
	movsx	edx, dl
	movsx	rdx, edx
	add	rdx, 136
	mov	edx, DWORD PTR 8[rax+rdx*4]
	movzx	eax, BYTE PTR mynum[rip]
	movsx	eax, al
	cmp	edx, eax
	je	.L72
	lea	rdi, .LC18[rip]
	call	puts@PLT
.L72:
	nop
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L73
	call	__stack_chk_fail@PLT
.L73:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE20:
	.size	individual, .-individual
	.globl	setup
	.type	setup, @function
setup:
.LFB21:
	.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, 312
	.cfi_offset 3, -24
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	rdx, QWORD PTR sm[rip]
	mov	DWORD PTR 1156[rdx], 0
	mov	rax, QWORD PTR sm[rip]
	mov	edx, DWORD PTR 1156[rdx]
	mov	DWORD PTR 1244[rax], edx
	mov	rdx, QWORD PTR sm[rip]
	mov	eax, DWORD PTR 1244[rax]
	mov	DWORD PTR 1160[rdx], eax
	mov	edi, 0
	mov	eax, 0
	call	time@PLT
	mov	edx, eax
	mov	rax, QWORD PTR sm[rip]
	movsx	rdx, edx
	mov	QWORD PTR [rax], rdx
	mov	DWORD PTR -316[rbp], 0
	jmp	.L75
.L76:
	mov	rcx, QWORD PTR sm[rip]
	mov	eax, DWORD PTR -316[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, rcx
	add	rax, 1800
	mov	BYTE PTR [rax], 0
	add	DWORD PTR -316[rbp], 1
.L75:
	cmp	DWORD PTR -316[rbp], 9
	jle	.L76
	mov	DWORD PTR -316[rbp], 0
	jmp	.L77
.L78:
	mov	rax, QWORD PTR sm[rip]
	mov	edx, DWORD PTR -316[rbp]
	movsx	rdx, edx
	add	rdx, 312
	mov	DWORD PTR [rax+rdx*4], 0
	add	DWORD PTR -316[rbp], 1
.L77:
	cmp	DWORD PTR -316[rbp], 19
	jle	.L78
	mov	DWORD PTR -316[rbp], 0
	jmp	.L79
.L80:
	mov	rax, QWORD PTR sm[rip]
	mov	edx, DWORD PTR -316[rbp]
	movsx	rdx, edx
	add	rdx, 256
	mov	DWORD PTR 12[rax+rdx*4], 0
	add	DWORD PTR -316[rbp], 1
.L79:
	cmp	DWORD PTR -316[rbp], 14
	jle	.L80
	mov	DWORD PTR -316[rbp], 1
	jmp	.L81
.L84:
	mov	DWORD PTR -308[rbp], 1
	jmp	.L82
.L83:
	mov	rcx, QWORD PTR sm[rip]
	mov	eax, DWORD PTR -308[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -316[rbp]
	cdqe
	sal	rax, 4
	add	rax, rcx
	add	rax, rdx
	add	rax, 2510
	mov	BYTE PTR [rax], -1
	mov	eax, DWORD PTR -308[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -316[rbp]
	cdqe
	sal	rax, 4
	lea	rax, -16[rax]
	add	rax, rbp
	add	rax, rdx
	sub	rax, 272
	mov	BYTE PTR [rax], 0
	add	DWORD PTR -308[rbp], 1
.L82:
	cmp	DWORD PTR -308[rbp], 15
	jle	.L83
	add	DWORD PTR -316[rbp], 1
.L81:
	cmp	DWORD PTR -316[rbp], 15
	jle	.L84
	mov	DWORD PTR -316[rbp], 0
	jmp	.L85
.L88:
	mov	rax, QWORD PTR sm[rip]
	mov	edx, DWORD PTR -316[rbp]
	movsx	rdx, edx
	add	rdx, 136
	mov	DWORD PTR 8[rax+rdx*4], -1
	mov	DWORD PTR -312[rbp], 0
	jmp	.L86
.L87:
	movzx	eax, BYTE PTR x_siz[rip]
	movsx	eax, al
	mov	edi, eax
	mov	eax, 0
	call	prandom
	mov	DWORD PTR -296[rbp], eax
	movzx	eax, BYTE PTR y_siz[rip]
	movsx	eax, al
	mov	edi, eax
	mov	eax, 0
	call	prandom
	mov	DWORD PTR -292[rbp], eax
	mov	eax, DWORD PTR -296[rbp]
	lea	edx, 1[rax]
	mov	eax, DWORD PTR -292[rbp]
	add	eax, 1
	movsx	rcx, eax
	movsx	rax, edx
	sal	rax, 4
	lea	rax, -16[rax]
	add	rax, rbp
	add	rax, rcx
	sub	rax, 272
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L86
	mov	rax, QWORD PTR sm[rip]
	mov	edx, DWORD PTR -316[rbp]
	movsx	rdx, edx
	lea	rcx, 16[rdx]
	mov	edx, DWORD PTR -296[rbp]
	mov	DWORD PTR 8[rax+rcx*4], edx
	mov	rax, QWORD PTR sm[rip]
	mov	edx, DWORD PTR -316[rbp]
	movsx	rdx, edx
	lea	rcx, 56[rdx]
	mov	edx, DWORD PTR -292[rbp]
	mov	DWORD PTR 8[rax+rcx*4], edx
	mov	eax, DWORD PTR -296[rbp]
	lea	edx, 1[rax]
	mov	eax, DWORD PTR -292[rbp]
	add	eax, 1
	movsx	rcx, eax
	movsx	rax, edx
	sal	rax, 4
	lea	rax, -16[rax]
	add	rax, rbp
	add	rax, rcx
	sub	rax, 272
	mov	BYTE PTR [rax], 1
	mov	DWORD PTR -312[rbp], 1
.L86:
	cmp	DWORD PTR -312[rbp], 0
	je	.L87
	mov	DWORD PTR -312[rbp], 0
	mov	rax, QWORD PTR sm[rip]
	mov	edx, DWORD PTR -316[rbp]
	movsx	rdx, edx
	add	rdx, 16
	mov	eax, DWORD PTR 8[rax+rdx*4]
	mov	DWORD PTR -304[rbp], eax
	mov	rax, QWORD PTR sm[rip]
	mov	edx, DWORD PTR -316[rbp]
	movsx	rdx, edx
	add	rdx, 56
	mov	eax, DWORD PTR 8[rax+rdx*4]
	mov	DWORD PTR -300[rbp], eax
	movzx	eax, BYTE PTR z_siz[rip]
	movsx	eax, al
	mov	rbx, QWORD PTR sm[rip]
	mov	edi, eax
	mov	eax, 0
	call	prandom
	mov	edx, DWORD PTR -316[rbp]
	movsx	rdx, edx
	add	rdx, 96
	mov	DWORD PTR 8[rbx+rdx*4], eax
	mov	rbx, QWORD PTR sm[rip]
	mov	edi, 10
	mov	eax, 0
	call	prandom
	mov	edx, DWORD PTR -316[rbp]
	movsx	rdx, edx
	add	rdx, 176
	mov	DWORD PTR 8[rbx+rdx*4], eax
	mov	edi, 0
	mov	eax, 0
	call	time@PLT
	mov	edx, eax
	mov	rax, QWORD PTR sm[rip]
	movsx	rdx, edx
	mov	ecx, DWORD PTR -316[rbp]
	movsx	rcx, ecx
	add	rcx, 176
	mov	QWORD PTR [rax+rcx*8], rdx
	mov	rax, QWORD PTR sm[rip]
	mov	edx, DWORD PTR -316[rbp]
	movsx	rdx, edx
	add	rdx, 176
	mov	edx, DWORD PTR 8[rax+rdx*4]
	mov	eax, edx
	sal	eax, 2
	add	eax, edx
	lea	edx, 0[0+rax*4]
	add	eax, edx
	mov	rbx, QWORD PTR sm[rip]
	mov	edi, eax
	mov	eax, 0
	call	prandom
	mov	edx, DWORD PTR -316[rbp]
	movsx	rdx, edx
	add	rdx, 216
	mov	DWORD PTR 8[rbx+rdx*4], eax
	mov	rsi, QWORD PTR sm[rip]
	mov	eax, DWORD PTR -316[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -300[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -304[rbp]
	cdqe
	sal	rax, 4
	add	rax, rsi
	add	rax, rcx
	add	rax, 2510
	mov	BYTE PTR [rax], dl
	add	DWORD PTR -316[rbp], 1
.L85:
	cmp	DWORD PTR -316[rbp], 38
	jle	.L88
	mov	DWORD PTR -316[rbp], 0
	jmp	.L89
.L90:
	mov	edi, 39
	mov	eax, 0
	call	prandom
	mov	DWORD PTR -308[rbp], eax
	mov	rax, QWORD PTR sm[rip]
	mov	edx, DWORD PTR -308[rbp]
	movsx	rdx, edx
	add	rdx, 176
	mov	DWORD PTR 8[rax+rdx*4], 20
	add	DWORD PTR -316[rbp], 1
.L89:
	cmp	DWORD PTR -316[rbp], 3
	jle	.L90
	mov	DWORD PTR -316[rbp], 0
	jmp	.L91
.L92:
	mov	rcx, QWORD PTR sm[rip]
	mov	eax, DWORD PTR -316[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, rcx
	add	rax, 1800
	mov	BYTE PTR [rax], 0
	add	DWORD PTR -316[rbp], 1
.L91:
	cmp	DWORD PTR -316[rbp], 9
	jle	.L92
	nop
	mov	rsi, QWORD PTR -24[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L93
	call	__stack_chk_fail@PLT
.L93:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE21:
	.size	setup, .-setup
	.section	.rodata
.LC19:
	.string	"\nBase Planet: "
.LC20:
	.string	"Range: "
.LC21:
	.string	"Planet #%3d Range=%3d "
.LC22:
	.string	"Own= *Neutral*"
.LC23:
	.string	"Own = %s]\n"
	.text
	.globl	area
	.type	area, @function
area:
.LFB22:
	.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	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdi, .LC19[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -20[rbp]
	mov	rdi, rax
	mov	eax, 0
	call	getnum
	mov	DWORD PTR -12[rbp], eax
	mov	eax, DWORD PTR -20[rbp]
	test	eax, eax
	js	.L95
	mov	eax, DWORD PTR -20[rbp]
	cmp	eax, 38
	jle	.L96
.L95:
	mov	eax, 0
	jmp	.L94
.L96:
	lea	rdi, .LC20[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -16[rbp]
	mov	rdi, rax
	mov	eax, 0
	call	getnum
	mov	DWORD PTR -12[rbp], eax
	mov	DWORD PTR -12[rbp], 0
	jmp	.L98
.L101:
	mov	eax, DWORD PTR -20[rbp]
	mov	edx, DWORD PTR -12[rbp]
	mov	esi, edx
	mov	edi, eax
	mov	eax, 0
	call	prange
	mov	edx, DWORD PTR -16[rbp]
	cmp	eax, edx
	jg	.L99
	mov	eax, DWORD PTR -20[rbp]
	mov	edx, DWORD PTR -12[rbp]
	mov	esi, edx
	mov	edi, eax
	mov	eax, 0
	call	prange
	mov	edx, eax
	mov	eax, DWORD PTR -12[rbp]
	mov	esi, eax
	lea	rdi, .LC21[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR sm[rip]
	mov	edx, DWORD PTR -12[rbp]
	movsx	rdx, edx
	add	rdx, 136
	mov	eax, DWORD PTR 8[rax+rdx*4]
	cmp	eax, -1
	jne	.L100
	lea	rdi, .LC22[rip]
	call	puts@PLT
	jmp	.L99
.L100:
	mov	rcx, QWORD PTR sm[rip]
	mov	rax, QWORD PTR sm[rip]
	mov	edx, DWORD PTR -12[rbp]
	movsx	rdx, edx
	add	rdx, 136
	mov	eax, DWORD PTR 8[rax+rdx*4]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, 1792
	add	rax, rcx
	add	rax, 8
	mov	rsi, rax
	lea	rdi, .LC23[rip]
	mov	eax, 0
	call	printf@PLT
.L99:
	add	DWORD PTR -12[rbp], 1
.L98:
	cmp	DWORD PTR -12[rbp], 38
	jle	.L101
.L94:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L102
	call	__stack_chk_fail@PLT
.L102:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE22:
	.size	area, .-area
	.section	.rodata
.LC24:
	.string	"  %s] has been cleared."
	.text
	.globl	update
	.type	update, @function
update:
.LFB23:
	.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	edi, 0
	mov	eax, 0
	call	time@PLT
	cdqe
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR sm[rip]
	movzx	edx, BYTE PTR mynum[rip]
	movsx	edx, dl
	movsx	rdx, edx
	mov	rcx, QWORD PTR -8[rbp]
	mov	QWORD PTR 8[rax+rdx*8], rcx
	mov	DWORD PTR -20[rbp], 0
	jmp	.L104
.L110:
	mov	rax, QWORD PTR sm[rip]
	mov	edx, DWORD PTR -20[rbp]
	movsx	rdx, edx
	mov	rax, QWORD PTR 8[rax+rdx*8]
	mov	rdx, QWORD PTR -8[rbp]
	sub	rdx, 420
	cmp	rax, rdx
	jge	.L105
	mov	rax, QWORD PTR sm[rip]
	mov	edx, DWORD PTR -20[rbp]
	movsx	rdx, edx
	mov	rax, QWORD PTR 8[rax+rdx*8]
	test	rax, rax
	je	.L105
	mov	rcx, QWORD PTR sm[rip]
	mov	eax, DWORD PTR -20[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, rcx
	add	rax, 1800
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L105
	mov	rax, QWORD PTR sm[rip]
	mov	edx, DWORD PTR -20[rbp]
	movsx	rdx, edx
	mov	QWORD PTR 8[rax+rdx*8], 0
	mov	DWORD PTR -16[rbp], 0
	jmp	.L106
.L108:
	mov	rax, QWORD PTR sm[rip]
	mov	edx, DWORD PTR -16[rbp]
	movsx	rdx, edx
	add	rdx, 136
	mov	eax, DWORD PTR 8[rax+rdx*4]
	cmp	DWORD PTR -20[rbp], eax
	jne	.L107
	mov	rax, QWORD PTR sm[rip]
	mov	edx, DWORD PTR -16[rbp]
	movsx	rdx, edx
	add	rdx, 136
	mov	DWORD PTR 8[rax+rdx*4], -1
.L107:
	add	DWORD PTR -16[rbp], 1
.L106:
	cmp	DWORD PTR -16[rbp], 37
	jle	.L108
	mov	eax, 0
	call	lock
	mov	rax, QWORD PTR sm[rip]
	mov	eax, DWORD PTR 1160[rax]
	add	eax, 1
	mov	DWORD PTR -12[rbp], eax
	cmp	DWORD PTR -12[rbp], 4
	jle	.L109
	mov	DWORD PTR -12[rbp], 0
.L109:
	mov	rcx, QWORD PTR sm[rip]
	mov	eax, DWORD PTR -20[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, 1792
	add	rax, rcx
	lea	rdx, 8[rax]
	mov	rsi, QWORD PTR sm[rip]
	mov	eax, DWORD PTR -12[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	sal	rax, 2
	add	rax, rcx
	lea	rcx, 0[0+rax*4]
	add	rax, rcx
	sal	rax, 2
	add	rax, 2000
	add	rax, rsi
	lea	rsi, .LC24[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	mov	rcx, QWORD PTR sm[rip]
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	sal	rax, 2
	add	rax, rcx
	add	rax, 2001
	mov	BYTE PTR [rax], 88
	mov	rcx, QWORD PTR sm[rip]
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	sal	rax, 2
	add	rax, rcx
	add	rax, 2000
	mov	BYTE PTR [rax], 8
	mov	rax, QWORD PTR sm[rip]
	mov	edx, DWORD PTR -12[rbp]
	mov	DWORD PTR 1160[rax], edx
	mov	rax, QWORD PTR sm[rip]
	mov	edx, DWORD PTR 1156[rax]
	sub	edx, 1
	mov	DWORD PTR 1156[rax], edx
	mov	rcx, QWORD PTR sm[rip]
	mov	eax, DWORD PTR -20[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, rcx
	add	rax, 1800
	mov	BYTE PTR [rax], 0
	mov	rax, QWORD PTR sm[rip]
	mov	edx, DWORD PTR 1032[rax]
	sub	edx, 1
	mov	DWORD PTR 1032[rax], edx
.L105:
	add	DWORD PTR -20[rbp], 1
.L104:
	cmp	DWORD PTR -20[rbp], 7
	jle	.L110
	mov	DWORD PTR -20[rbp], 0
	jmp	.L111
.L115:
	mov	rax, QWORD PTR sm[rip]
	mov	edx, DWORD PTR -20[rbp]
	movsx	rdx, edx
	add	rdx, 176
	mov	rax, QWORD PTR [rax+rdx*8]
	mov	rdx, QWORD PTR -8[rbp]
	sub	rdx, 45
	cmp	rax, rdx
	jge	.L112
	mov	rax, QWORD PTR sm[rip]
	mov	edx, DWORD PTR -20[rbp]
	movsx	rdx, edx
	lea	rcx, 176[rdx]
	mov	rdx, QWORD PTR -8[rbp]
	mov	QWORD PTR [rax+rcx*8], rdx
	mov	rax, QWORD PTR sm[rip]
	mov	edx, DWORD PTR -20[rbp]
	movsx	rdx, edx
	add	rdx, 216
	mov	ecx, DWORD PTR 8[rax+rdx*4]
	mov	rax, QWORD PTR sm[rip]
	mov	edx, DWORD PTR -20[rbp]
	movsx	rdx, edx
	add	rdx, 176
	mov	edx, DWORD PTR 8[rax+rdx*4]
	mov	rax, QWORD PTR sm[rip]
	add	ecx, edx
	mov	edx, DWORD PTR -20[rbp]
	movsx	rdx, edx
	add	rdx, 216
	mov	DWORD PTR 8[rax+rdx*4], ecx
	mov	rax, QWORD PTR sm[rip]
	mov	edx, DWORD PTR -20[rbp]
	movsx	rdx, edx
	add	rdx, 136
	mov	eax, DWORD PTR 8[rax+rdx*4]
	cmp	eax, -1
	jne	.L113
	mov	rax, QWORD PTR sm[rip]
	mov	edx, DWORD PTR -20[rbp]
	movsx	rdx, edx
	add	rdx, 216
	mov	eax, DWORD PTR 8[rax+rdx*4]
	cmp	eax, 250
	jle	.L113
	mov	rax, QWORD PTR sm[rip]
	mov	edx, DWORD PTR -20[rbp]
	movsx	rdx, edx
	add	rdx, 216
	mov	DWORD PTR 8[rax+rdx*4], 250
.L113:
	mov	rax, QWORD PTR sm[rip]
	mov	edx, DWORD PTR -20[rbp]
	movsx	rdx, edx
	add	rdx, 216
	mov	edx, DWORD PTR 8[rax+rdx*4]
	mov	rax, QWORD PTR sm[rip]
	mov	ecx, DWORD PTR -20[rbp]
	movsx	rcx, ecx
	add	rcx, 176
	mov	eax, DWORD PTR 8[rax+rcx*4]
	imul	eax, eax, 50
	cmp	edx, eax
	jle	.L114
	mov	rax, QWORD PTR sm[rip]
	mov	edx, DWORD PTR -20[rbp]
	movsx	rdx, edx
	add	rdx, 176
	mov	eax, DWORD PTR 8[rax+rdx*4]
	cmp	eax, 9
	jg	.L114
	mov	rax, QWORD PTR sm[rip]
	mov	edx, DWORD PTR -20[rbp]
	movsx	rdx, edx
	add	rdx, 176
	mov	edx, DWORD PTR 8[rax+rdx*4]
	lea	ecx, 1[rdx]
	mov	edx, DWORD PTR -20[rbp]
	movsx	rdx, edx
	add	rdx, 176
	mov	DWORD PTR 8[rax+rdx*4], ecx
.L114:
	mov	rax, QWORD PTR sm[rip]
	mov	edx, DWORD PTR -20[rbp]
	movsx	rdx, edx
	add	rdx, 216
	mov	eax, DWORD PTR 8[rax+rdx*4]
	cmp	eax, 1500
	jle	.L112
	mov	rax, QWORD PTR sm[rip]
	mov	edx, DWORD PTR -20[rbp]
	movsx	rdx, edx
	add	rdx, 216
	mov	DWORD PTR 8[rax+rdx*4], 1500
.L112:
	add	DWORD PTR -20[rbp], 1
.L111:
	cmp	DWORD PTR -20[rbp], 38
	jle	.L115
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE23:
	.size	update, .-update
	.section	.rodata
.LC25:
	.string	"\nGalaxy status at %s\n\n"
.LC26:
	.string	"#%2d (%2d,%2d) "
.LC27:
	.string	"*Neutral*"
.LC28:
	.string	"%s]\n"
	.text
	.globl	galaxy
	.type	galaxy, @function
galaxy:
.LFB24:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	edi, 0
	mov	eax, 0
	call	sdate
	mov	rsi, rax
	lea	rdi, .LC25[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -4[rbp], 0
	jmp	.L117
.L120:
	mov	rax, QWORD PTR sm[rip]
	mov	edx, DWORD PTR -4[rbp]
	movsx	rdx, edx
	add	rdx, 56
	mov	ecx, DWORD PTR 8[rax+rdx*4]
	mov	rax, QWORD PTR sm[rip]
	mov	edx, DWORD PTR -4[rbp]
	movsx	rdx, edx
	add	rdx, 16
	mov	edx, DWORD PTR 8[rax+rdx*4]
	mov	eax, DWORD PTR -4[rbp]
	mov	esi, eax
	lea	rdi, .LC26[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR sm[rip]
	mov	edx, DWORD PTR -4[rbp]
	movsx	rdx, edx
	add	rdx, 136
	mov	eax, DWORD PTR 8[rax+rdx*4]
	cmp	eax, -1
	jne	.L118
	lea	rdi, .LC27[rip]
	call	puts@PLT
	jmp	.L119
.L118:
	mov	rcx, QWORD PTR sm[rip]
	mov	rax, QWORD PTR sm[rip]
	mov	edx, DWORD PTR -4[rbp]
	movsx	rdx, edx
	add	rdx, 136
	mov	eax, DWORD PTR 8[rax+rdx*4]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, 1792
	add	rax, rcx
	add	rax, 8
	mov	rsi, rax
	lea	rdi, .LC28[rip]
	mov	eax, 0
	call	printf@PLT
.L119:
	add	DWORD PTR -4[rbp], 1
.L117:
	cmp	DWORD PTR -4[rbp], 38
	jle	.L120
	mov	edi, 10
	call	putchar@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE24:
	.size	galaxy, .-galaxy
	.section	.rodata
.LC29:
	.string	"\nWhich Planet: "
.LC30:
	.string	"#%2d owner= *Neutral*\n"
.LC31:
	.string	"#%2d owner= %s] "
.LC32:
	.string	" Prod:%3d Ships:%5d\n"
	.text
	.globl	oneplanet
	.type	oneplanet, @function
oneplanet:
.LFB25:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -12[rbp], -1
	jmp	.L122
.L123:
	lea	rdi, .LC29[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -12[rbp]
	mov	rdi, rax
	mov	eax, 0
	call	getnum
.L122:
	mov	eax, DWORD PTR -12[rbp]
	test	eax, eax
	js	.L123
	mov	eax, DWORD PTR -12[rbp]
	cmp	eax, 38
	jg	.L123
	mov	rax, QWORD PTR sm[rip]
	mov	edx, DWORD PTR -12[rbp]
	movsx	rdx, edx
	add	rdx, 136
	mov	eax, DWORD PTR 8[rax+rdx*4]
	cmp	eax, -1
	jne	.L124
	mov	eax, DWORD PTR -12[rbp]
	mov	esi, eax
	lea	rdi, .LC30[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L125
.L124:
	mov	rcx, QWORD PTR sm[rip]
	mov	rax, QWORD PTR sm[rip]
	mov	edx, DWORD PTR -12[rbp]
	movsx	rdx, edx
	add	rdx, 136
	mov	eax, DWORD PTR 8[rax+rdx*4]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, 1792
	add	rax, rcx
	lea	rdx, 8[rax]
	mov	eax, DWORD PTR -12[rbp]
	mov	esi, eax
	lea	rdi, .LC31[rip]
	mov	eax, 0
	call	printf@PLT
.L125:
	mov	rax, QWORD PTR sm[rip]
	mov	edx, DWORD PTR -12[rbp]
	movsx	rdx, edx
	add	rdx, 136
	mov	edx, DWORD PTR 8[rax+rdx*4]
	movzx	eax, BYTE PTR mynum[rip]
	movsx	eax, al
	cmp	edx, eax
	jne	.L126
	mov	rax, QWORD PTR sm[rip]
	mov	edx, DWORD PTR -12[rbp]
	movsx	rdx, edx
	add	rdx, 216
	mov	edx, DWORD PTR 8[rax+rdx*4]
	mov	rax, QWORD PTR sm[rip]
	mov	ecx, DWORD PTR -12[rbp]
	movsx	rcx, ecx
	add	rcx, 176
	mov	eax, DWORD PTR 8[rax+rcx*4]
	mov	esi, eax
	lea	rdi, .LC32[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L127
.L126:
	mov	edi, 10
	call	putchar@PLT
.L127:
	nop
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L128
	call	__stack_chk_fail@PLT
.L128:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE25:
	.size	oneplanet, .-oneplanet
	.section	.rodata
	.align 8
.LC33:
	.string	"\nYour fleet #%d has been attacked by pirates!\n"
.LC34:
	.string	"Your fleet has: %d\n"
.LC35:
	.string	"Pirate's fleet: %d\n"
	.align 8
.LC36:
	.string	"Your fleet has been destroyed!"
	.align 8
.LC37:
	.string	"%d ships escaped from the pirates!\n"
	.align 8
.LC38:
	.string	"\nPlanet %d receives reinforcements\n"
	.align 8
.LC39:
	.string	"\nInvasion alert! Your fleet arrived at %d"
	.align 8
.LC40:
	.string	"\nYour fleet has: %d\nDefending fleet:%d\n"
	.align 8
.LC41:
	.string	"You WON! %d ships hold planet #%d\n"
	.align 8
.LC42:
	.string	"You LOST! %d enemy ships hold planet #%d\n"
	.text
	.globl	fleets
	.type	fleets, @function
fleets:
.LFB26:
	.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	edi, 0
	mov	eax, 0
	call	time@PLT
	cdqe
	mov	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR pirtim[rip]
	test	rax, rax
	je	.L130
	mov	rax, QWORD PTR pirtim[rip]
	cmp	QWORD PTR -24[rbp], rax
	jle	.L130
	mov	QWORD PTR pirtim[rip], 0
	movzx	eax, BYTE PTR vtmode[rip]
	test	al, al
	je	.L131
	mov	esi, 1
	mov	edi, 24
	mov	eax, 0
	call	gotoxy
.L131:
	mov	eax, DWORD PTR pirflt[rip]
	mov	esi, eax
	lea	rdi, .LC33[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR pirflt[rip]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, stack[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	esi, eax
	lea	rdi, .LC34[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR pirsiz[rip]
	mov	esi, eax
	lea	rdi, .LC35[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR pirflt[rip]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, stack[rip]
	mov	edx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR pirsiz[rip]
	cmp	edx, eax
	jge	.L132
	lea	rdi, .LC36[rip]
	call	puts@PLT
	mov	eax, DWORD PTR pirflt[rip]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, events[rip]
	mov	QWORD PTR [rdx+rax], 0
	jmp	.L133
.L132:
	mov	eax, DWORD PTR pirflt[rip]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, stack[rip]
	mov	ecx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR pirsiz[rip]
	movsx	rdx, eax
	imul	rdx, rdx, 1431655766
	mov	rsi, rdx
	shr	rsi, 32
	sar	eax, 31
	sub	eax, esi
	mov	edx, eax
	mov	eax, DWORD PTR pirflt[rip]
	add	ecx, edx
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, stack[rip]
	mov	DWORD PTR [rdx+rax], ecx
	mov	eax, DWORD PTR pirflt[rip]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, stack[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	esi, eax
	lea	rdi, .LC37[rip]
	mov	eax, 0
	call	printf@PLT
.L133:
	mov	DWORD PTR pirsiz[rip], 0
	movzx	eax, BYTE PTR vtmode[rip]
	test	al, al
	je	.L130
	mov	eax, 0
	call	prompt
.L130:
	mov	DWORD PTR -64[rbp], 0
	jmp	.L134
.L160:
	mov	eax, DWORD PTR -64[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, events[rip]
	mov	rax, QWORD PTR [rdx+rax]
	test	rax, rax
	je	.L135
	mov	eax, DWORD PTR -64[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, events[rip]
	mov	rax, QWORD PTR [rdx+rax]
	cmp	QWORD PTR -24[rbp], rax
	jle	.L135
	mov	eax, DWORD PTR -64[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, stack[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	DWORD PTR -44[rbp], eax
	mov	eax, DWORD PTR -64[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, stack[rip+4]
	mov	eax, DWORD PTR [rdx+rax]
	mov	DWORD PTR -40[rbp], eax
	mov	rax, QWORD PTR sm[rip]
	mov	edx, DWORD PTR -40[rbp]
	movsx	rdx, edx
	add	rdx, 136
	mov	eax, DWORD PTR 8[rax+rdx*4]
	mov	DWORD PTR -36[rbp], eax
	mov	rax, QWORD PTR sm[rip]
	mov	edx, DWORD PTR -40[rbp]
	movsx	rdx, edx
	add	rdx, 216
	mov	eax, DWORD PTR 8[rax+rdx*4]
	mov	DWORD PTR -48[rbp], eax
	movzx	eax, BYTE PTR mynum[rip]
	movsx	eax, al
	cmp	DWORD PTR -36[rbp], eax
	jne	.L136
	mov	rax, QWORD PTR sm[rip]
	mov	ecx, DWORD PTR -48[rbp]
	mov	edx, DWORD PTR -44[rbp]
	add	ecx, edx
	mov	edx, DWORD PTR -40[rbp]
	movsx	rdx, edx
	add	rdx, 216
	mov	DWORD PTR 8[rax+rdx*4], ecx
	movzx	eax, BYTE PTR awetow[rip]
	test	al, al
	jne	.L137
	movzx	eax, BYTE PTR vtmode[rip]
	test	al, al
	je	.L138
	mov	esi, 1
	mov	edi, 24
	mov	eax, 0
	call	gotoxy
.L138:
	mov	eax, DWORD PTR -40[rbp]
	mov	esi, eax
	lea	rdi, .LC38[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L139
.L137:
	movzx	eax, BYTE PTR vtmode[rip]
	test	al, al
	je	.L139
	movzx	eax, BYTE PTR awetow[rip]
	test	al, al
	je	.L139
	mov	eax, DWORD PTR -40[rbp]
	mov	edi, eax
	mov	eax, 0
	call	pset
	mov	eax, 0
	call	prompt
	jmp	.L139
.L136:
	movzx	eax, BYTE PTR vtmode[rip]
	test	al, al
	je	.L140
	mov	esi, 1
	mov	edi, 24
	mov	eax, 0
	call	gotoxy
.L140:
	mov	eax, DWORD PTR -40[rbp]
	mov	esi, eax
	lea	rdi, .LC39[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edx, DWORD PTR -48[rbp]
	mov	eax, DWORD PTR -44[rbp]
	mov	esi, eax
	lea	rdi, .LC40[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -32[rbp], 0
	mov	eax, 0
	call	lock
	jmp	.L141
.L155:
	mov	DWORD PTR -52[rbp], 10
	mov	eax, DWORD PTR -52[rbp]
	imul	eax, DWORD PTR -44[rbp]
	cdq
	idiv	DWORD PTR -48[rbp]
	mov	DWORD PTR -52[rbp], eax
	cmp	DWORD PTR -52[rbp], 18
	jle	.L142
	mov	DWORD PTR -52[rbp], 18
.L142:
	cmp	DWORD PTR -52[rbp], 2
	jg	.L143
	mov	DWORD PTR -52[rbp], 3
.L143:
	mov	DWORD PTR -32[rbp], 0
	cmp	DWORD PTR -32[rbp], 0
	je	.L162
	mov	edi, 5
	mov	eax, 0
	call	irand
	add	eax, 1
	mov	DWORD PTR -32[rbp], eax
	cmp	DWORD PTR -32[rbp], 3
	jle	.L161
.L162:
	nop
.L146:
	mov	eax, DWORD PTR -44[rbp]
	mov	edi, eax
	mov	eax, 0
	call	irand
	add	eax, 1
	mov	DWORD PTR -28[rbp], eax
	mov	eax, DWORD PTR -44[rbp]
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	cmp	DWORD PTR -28[rbp], eax
	jl	.L146
	mov	DWORD PTR -60[rbp], 0
	jmp	.L147
.L149:
	cmp	DWORD PTR -48[rbp], 0
	jle	.L148
	mov	edi, 20
	mov	eax, 0
	call	irand
	cmp	DWORD PTR -52[rbp], eax
	jl	.L148
	sub	DWORD PTR -48[rbp], 1
.L148:
	add	DWORD PTR -60[rbp], 1
.L147:
	mov	eax, DWORD PTR -60[rbp]
	cmp	eax, DWORD PTR -28[rbp]
	jl	.L149
	jmp	.L145
.L161:
	nop
.L145:
	cmp	DWORD PTR -48[rbp], 0
	jle	.L141
	nop
.L150:
	mov	eax, DWORD PTR -48[rbp]
	mov	edi, eax
	mov	eax, 0
	call	irand
	add	eax, 1
	mov	DWORD PTR -28[rbp], eax
	mov	eax, DWORD PTR -48[rbp]
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	cmp	DWORD PTR -28[rbp], eax
	jl	.L150
	mov	DWORD PTR -60[rbp], 0
	jmp	.L151
.L153:
	cmp	DWORD PTR -44[rbp], 0
	jle	.L152
	mov	edi, 20
	mov	eax, 0
	call	irand
	cmp	DWORD PTR -52[rbp], eax
	jg	.L152
	sub	DWORD PTR -44[rbp], 1
.L152:
	add	DWORD PTR -60[rbp], 1
.L151:
	mov	eax, DWORD PTR -60[rbp]
	cmp	eax, DWORD PTR -28[rbp]
	jl	.L153
.L141:
	cmp	DWORD PTR -44[rbp], 0
	jle	.L154
	cmp	DWORD PTR -48[rbp], 0
	jg	.L155
.L154:
	cmp	DWORD PTR -44[rbp], 0
	jle	.L156
	mov	edx, DWORD PTR -40[rbp]
	mov	eax, DWORD PTR -44[rbp]
	mov	esi, eax
	lea	rdi, .LC41[rip]
	mov	eax, 0
	call	printf@PLT
	movzx	edx, BYTE PTR mynum[rip]
	mov	rax, QWORD PTR sm[rip]
	movsx	edx, dl
	mov	ecx, DWORD PTR -40[rbp]
	movsx	rcx, ecx
	add	rcx, 136
	mov	DWORD PTR 8[rax+rcx*4], edx
	mov	rax, QWORD PTR sm[rip]
	mov	edx, DWORD PTR -40[rbp]
	movsx	rdx, edx
	lea	rcx, 216[rdx]
	mov	edx, DWORD PTR -44[rbp]
	mov	DWORD PTR 8[rax+rcx*4], edx
	mov	rax, QWORD PTR sm[rip]
	mov	edx, DWORD PTR -40[rbp]
	movsx	rdx, edx
	add	rdx, 176
	mov	ebx, DWORD PTR 8[rax+rdx*4]
	mov	edi, 4
	mov	eax, 0
	call	irand
	mov	edx, eax
	mov	rax, QWORD PTR sm[rip]
	sub	ebx, edx
	mov	ecx, ebx
	mov	edx, DWORD PTR -40[rbp]
	movsx	rdx, edx
	add	rdx, 176
	mov	DWORD PTR 8[rax+rdx*4], ecx
	mov	rax, QWORD PTR sm[rip]
	mov	edx, DWORD PTR -40[rbp]
	movsx	rdx, edx
	add	rdx, 176
	mov	eax, DWORD PTR 8[rax+rdx*4]
	test	eax, eax
	jg	.L157
	mov	rax, QWORD PTR sm[rip]
	mov	edx, DWORD PTR -40[rbp]
	movsx	rdx, edx
	add	rdx, 176
	mov	DWORD PTR 8[rax+rdx*4], 1
.L157:
	movzx	eax, BYTE PTR vtmode[rip]
	test	al, al
	je	.L158
	mov	eax, DWORD PTR -40[rbp]
	mov	edi, eax
	mov	eax, 0
	call	vtupdate
	jmp	.L158
.L156:
	mov	edx, DWORD PTR -40[rbp]
	mov	eax, DWORD PTR -48[rbp]
	mov	esi, eax
	lea	rdi, .LC42[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR sm[rip]
	mov	edx, DWORD PTR -40[rbp]
	movsx	rdx, edx
	lea	rcx, 216[rdx]
	mov	edx, DWORD PTR -48[rbp]
	mov	DWORD PTR 8[rax+rcx*4], edx
.L158:
	mov	rax, QWORD PTR sm[rip]
	mov	eax, DWORD PTR 1244[rax]
	mov	DWORD PTR -56[rbp], eax
	add	DWORD PTR -56[rbp], 1
	cmp	DWORD PTR -56[rbp], 9
	jle	.L159
	mov	DWORD PTR -56[rbp], 0
.L159:
	movzx	edx, BYTE PTR mynum[rip]
	mov	rax, QWORD PTR sm[rip]
	movsx	edx, dl
	mov	ecx, DWORD PTR -56[rbp]
	movsx	rcx, ecx
	add	rcx, 144
	mov	DWORD PTR 12[rax+rcx*8], edx
	mov	rax, QWORD PTR sm[rip]
	mov	edx, DWORD PTR -56[rbp]
	movsx	rdx, edx
	mov	ecx, DWORD PTR -40[rbp]
	mov	DWORD PTR 1168[rax+rdx*8], ecx
	mov	rax, QWORD PTR sm[rip]
	mov	edx, DWORD PTR -56[rbp]
	mov	DWORD PTR 1244[rax], edx
	mov	rax, QWORD PTR sm[rip]
	mov	edx, DWORD PTR 1156[rax]
	sub	edx, 1
	mov	DWORD PTR 1156[rax], edx
.L139:
	mov	eax, DWORD PTR -64[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, events[rip]
	mov	QWORD PTR [rdx+rax], 0
.L135:
	add	DWORD PTR -64[rbp], 1
.L134:
	cmp	DWORD PTR -64[rbp], 98
	jle	.L160
	nop
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE26:
	.size	fleets, .-fleets
	.globl	lock
	.type	lock, @function
lock:
.LFB27:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	DWORD PTR -4[rbp], 0
	mov	rax, QWORD PTR sm[rip]
	mov	eax, DWORD PTR 1156[rax]
	test	eax, eax
	js	.L164
	mov	rax, QWORD PTR sm[rip]
	mov	eax, DWORD PTR 1156[rax]
	cmp	eax, 20
	jle	.L166
.L164:
	mov	rax, QWORD PTR sm[rip]
	mov	DWORD PTR 1156[rax], 0
	jmp	.L166
.L168:
	add	DWORD PTR -4[rbp], 1
	mov	edi, 2
	call	sleep@PLT
.L166:
	mov	rax, QWORD PTR sm[rip]
	mov	eax, DWORD PTR 1156[rax]
	test	eax, eax
	jle	.L167
	cmp	DWORD PTR -4[rbp], 4
	jle	.L168
.L167:
	mov	rax, QWORD PTR sm[rip]
	mov	DWORD PTR 1156[rax], 0
	mov	rax, QWORD PTR sm[rip]
	mov	edx, DWORD PTR 1156[rax]
	add	edx, 1
	mov	DWORD PTR 1156[rax], edx
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE27:
	.size	lock, .-lock
	.section	.rodata
.LC43:
	.string	"\nPrivate message from %s]\n"
.LC44:
	.string	"\nPublic message by %s]\n"
.LC45:
	.string	"%s\n\n"
	.text
	.globl	getpub
	.type	getpub, @function
getpub:
.LFB28:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	DWORD PTR -8[rbp], 0
	movzx	eax, BYTE PTR mymes[rip]
	movsx	eax, al
	mov	DWORD PTR -16[rbp], eax
	jmp	.L170
.L184:
	add	DWORD PTR -16[rbp], 1
	cmp	DWORD PTR -16[rbp], 4
	jle	.L171
	mov	DWORD PTR -16[rbp], 0
.L171:
	mov	DWORD PTR -8[rbp], 1
	mov	rcx, QWORD PTR sm[rip]
	mov	eax, DWORD PTR -16[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	sal	rax, 2
	add	rax, rcx
	add	rax, 2000
	movzx	edx, BYTE PTR [rax]
	movzx	eax, BYTE PTR mynum[rip]
	cmp	dl, al
	je	.L170
	mov	rcx, QWORD PTR sm[rip]
	mov	eax, DWORD PTR -16[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	sal	rax, 2
	add	rax, rcx
	add	rax, 2001
	movzx	eax, BYTE PTR [rax]
	cmp	al, 80
	je	.L172
	mov	rcx, QWORD PTR sm[rip]
	mov	eax, DWORD PTR -16[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	sal	rax, 2
	add	rax, rcx
	add	rax, 2001
	movzx	edx, BYTE PTR [rax]
	movzx	eax, BYTE PTR mynum[rip]
	cmp	dl, al
	je	.L172
	mov	rcx, QWORD PTR sm[rip]
	mov	eax, DWORD PTR -16[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	sal	rax, 2
	add	rax, rcx
	add	rax, 2001
	movzx	eax, BYTE PTR [rax]
	cmp	al, 69
	je	.L172
	mov	rcx, QWORD PTR sm[rip]
	mov	eax, DWORD PTR -16[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	sal	rax, 2
	add	rax, rcx
	add	rax, 2001
	movzx	eax, BYTE PTR [rax]
	cmp	al, 88
	je	.L172
	mov	rcx, QWORD PTR sm[rip]
	mov	eax, DWORD PTR -16[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	sal	rax, 2
	add	rax, rcx
	add	rax, 2001
	movzx	eax, BYTE PTR [rax]
	cmp	al, 79
	jne	.L170
.L172:
	mov	rcx, QWORD PTR sm[rip]
	mov	eax, DWORD PTR -16[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	sal	rax, 2
	add	rax, rcx
	add	rax, 2001
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	mov	DWORD PTR -12[rbp], eax
	cmp	DWORD PTR -12[rbp], 80
	je	.L173
	cmp	DWORD PTR -12[rbp], 79
	je	.L173
	cmp	DWORD PTR -12[rbp], 88
	je	.L173
	cmp	DWORD PTR -12[rbp], 67
	je	.L173
	cmp	DWORD PTR -12[rbp], 69
	je	.L173
	mov	DWORD PTR -12[rbp], 73
.L173:
	movzx	eax, BYTE PTR vtmode[rip]
	test	al, al
	je	.L174
	mov	esi, 1
	mov	edi, 24
	mov	eax, 0
	call	gotoxy
.L174:
	cmp	DWORD PTR -12[rbp], 73
	jne	.L175
	mov	rcx, QWORD PTR sm[rip]
	mov	rsi, QWORD PTR sm[rip]
	mov	eax, DWORD PTR -16[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	sal	rax, 2
	add	rax, rsi
	add	rax, 2000
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, 1792
	add	rax, rcx
	add	rax, 8
	mov	rsi, rax
	lea	rdi, .LC43[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L176
.L175:
	cmp	DWORD PTR -12[rbp], 80
	jne	.L177
	mov	rcx, QWORD PTR sm[rip]
	mov	rsi, QWORD PTR sm[rip]
	mov	eax, DWORD PTR -16[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	sal	rax, 2
	add	rax, rsi
	add	rax, 2000
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, 1792
	add	rax, rcx
	add	rax, 8
	mov	rsi, rax
	lea	rdi, .LC44[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L176
.L177:
	cmp	DWORD PTR -12[rbp], 69
	jne	.L178
	movzx	eax, BYTE PTR vtmode[rip]
	test	al, al
	je	.L178
	mov	DWORD PTR -4[rbp], 0
	jmp	.L179
.L181:
	mov	rax, QWORD PTR sm[rip]
	mov	edx, DWORD PTR -4[rbp]
	movsx	rdx, edx
	add	rdx, 136
	mov	ecx, DWORD PTR 8[rax+rdx*4]
	mov	rsi, QWORD PTR sm[rip]
	mov	eax, DWORD PTR -16[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	sal	rax, 2
	add	rax, rsi
	add	rax, 2000
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	cmp	ecx, eax
	jne	.L180
	mov	eax, DWORD PTR -4[rbp]
	mov	edi, eax
	mov	eax, 0
	call	vtupdate
.L180:
	add	DWORD PTR -4[rbp], 1
.L179:
	cmp	DWORD PTR -4[rbp], 38
	jle	.L181
	jmp	.L176
.L178:
	cmp	DWORD PTR -12[rbp], 88
	jne	.L182
	movzx	eax, BYTE PTR vtmode[rip]
	test	al, al
	je	.L182
	mov	eax, 0
	call	vtscan
	jmp	.L176
.L182:
	mov	edi, 10
	call	putchar@PLT
.L176:
	movzx	eax, BYTE PTR vtmode[rip]
	test	al, al
	je	.L183
	mov	esi, 1
	mov	edi, 24
	mov	eax, 0
	call	gotoxy
.L183:
	mov	rcx, QWORD PTR sm[rip]
	mov	eax, DWORD PTR -16[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	sal	rax, 2
	add	rax, 2000
	add	rax, rcx
	add	rax, 2
	mov	rsi, rax
	lea	rdi, .LC45[rip]
	mov	eax, 0
	call	printf@PLT
.L170:
	mov	rax, QWORD PTR sm[rip]
	mov	eax, DWORD PTR 1160[rax]
	cmp	DWORD PTR -16[rbp], eax
	jne	.L184
	mov	eax, DWORD PTR -16[rbp]
	mov	BYTE PTR mymes[rip], al
	cmp	DWORD PTR -8[rbp], 0
	je	.L185
	movzx	eax, BYTE PTR vtmode[rip]
	test	al, al
	je	.L185
	mov	eax, 0
	call	prompt
.L185:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE28:
	.size	getpub, .-getpub
	.section	.rodata
	.align 8
.LC46:
	.string	"\nInvasion attempt!\nAttacker:%s]\nPlanet #%d\n"
.LC47:
	.string	"It remains Neutral"
.LC48:
	.string	"%s] has gained the planet.\n"
.LC49:
	.string	"%s] retains control.\n"
	.align 8
.LC50:
	.string	"%d ships still hold your planet %d\n"
	.text
	.globl	getcom
	.type	getcom, @function
getcom:
.LFB29:
	.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
	movzx	eax, BYTE PTR mycom[rip]
	movsx	eax, al
	mov	DWORD PTR -16[rbp], eax
	jmp	.L187
.L193:
	add	DWORD PTR -16[rbp], 1
	cmp	DWORD PTR -16[rbp], 9
	jle	.L188
	mov	DWORD PTR -16[rbp], 0
.L188:
	mov	rax, QWORD PTR sm[rip]
	mov	edx, DWORD PTR -16[rbp]
	movsx	rdx, edx
	add	rdx, 144
	mov	eax, DWORD PTR 12[rax+rdx*8]
	mov	DWORD PTR -12[rbp], eax
	mov	rax, QWORD PTR sm[rip]
	mov	rdx, QWORD PTR sm[rip]
	mov	ecx, DWORD PTR -16[rbp]
	movsx	rcx, ecx
	mov	edx, DWORD PTR 1168[rdx+rcx*8]
	movsx	rdx, edx
	add	rdx, 136
	mov	eax, DWORD PTR 8[rax+rdx*4]
	mov	DWORD PTR -8[rbp], eax
	mov	rax, QWORD PTR sm[rip]
	mov	edx, DWORD PTR -16[rbp]
	movsx	rdx, edx
	mov	eax, DWORD PTR 1168[rax+rdx*8]
	mov	DWORD PTR -4[rbp], eax
	movzx	eax, BYTE PTR mynum[rip]
	movsx	eax, al
	cmp	DWORD PTR -12[rbp], eax
	je	.L187
	movzx	eax, BYTE PTR vtmode[rip]
	test	al, al
	je	.L189
	mov	esi, 1
	mov	edi, 24
	mov	eax, 0
	call	gotoxy
.L189:
	mov	rcx, QWORD PTR sm[rip]
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, 1792
	add	rax, rcx
	lea	rcx, 8[rax]
	mov	eax, DWORD PTR -4[rbp]
	mov	edx, eax
	mov	rsi, rcx
	lea	rdi, .LC46[rip]
	mov	eax, 0
	call	printf@PLT
	cmp	DWORD PTR -8[rbp], -1
	jne	.L190
	lea	rdi, .LC47[rip]
	call	puts@PLT
.L190:
	mov	eax, DWORD PTR -8[rbp]
	cmp	eax, DWORD PTR -12[rbp]
	jne	.L191
	mov	rcx, QWORD PTR sm[rip]
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, 1792
	add	rax, rcx
	add	rax, 8
	mov	rsi, rax
	lea	rdi, .LC48[rip]
	mov	eax, 0
	call	printf@PLT
	movzx	eax, BYTE PTR vtmode[rip]
	test	al, al
	je	.L191
	mov	eax, DWORD PTR -4[rbp]
	mov	edi, eax
	mov	eax, 0
	call	vtupdate
	mov	eax, DWORD PTR -4[rbp]
	mov	edi, eax
	mov	eax, 0
	call	pset
.L191:
	mov	eax, DWORD PTR -8[rbp]
	cmp	eax, DWORD PTR -12[rbp]
	je	.L192
	cmp	DWORD PTR -8[rbp], -1
	je	.L192
	mov	rcx, QWORD PTR sm[rip]
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, 1792
	add	rax, rcx
	add	rax, 8
	mov	rsi, rax
	lea	rdi, .LC49[rip]
	mov	eax, 0
	call	printf@PLT
.L192:
	movzx	eax, BYTE PTR mynum[rip]
	movsx	eax, al
	cmp	DWORD PTR -8[rbp], eax
	jne	.L187
	mov	rax, QWORD PTR sm[rip]
	mov	edx, DWORD PTR -4[rbp]
	movsx	rdx, edx
	add	rdx, 216
	mov	eax, DWORD PTR 8[rax+rdx*4]
	mov	edx, DWORD PTR -4[rbp]
	mov	esi, eax
	lea	rdi, .LC50[rip]
	mov	eax, 0
	call	printf@PLT
	movzx	eax, BYTE PTR vtmode[rip]
	test	al, al
	je	.L187
	movzx	eax, BYTE PTR awetow[rip]
	test	al, al
	je	.L187
	mov	eax, DWORD PTR -4[rbp]
	mov	edi, eax
	mov	eax, 0
	call	pset
.L187:
	mov	rax, QWORD PTR sm[rip]
	mov	eax, DWORD PTR 1244[rax]
	cmp	DWORD PTR -16[rbp], eax
	jne	.L193
	mov	eax, DWORD PTR -16[rbp]
	mov	BYTE PTR mycom[rip], al
	mov	eax, 0
	call	prompt
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE29:
	.size	getcom, .-getcom
	.globl	prange
	.type	prange, @function
prange:
.LFB30:
	.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	DWORD PTR -36[rbp], edi
	mov	DWORD PTR -40[rbp], esi
	mov	rax, QWORD PTR sm[rip]
	mov	edx, DWORD PTR -36[rbp]
	movsx	rdx, edx
	add	rdx, 16
	mov	edx, DWORD PTR 8[rax+rdx*4]
	mov	rax, QWORD PTR sm[rip]
	mov	ecx, DWORD PTR -40[rbp]
	movsx	rcx, ecx
	add	rcx, 16
	mov	ecx, DWORD PTR 8[rax+rcx*4]
	mov	eax, edx
	sub	eax, ecx
	cdqe
	mov	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	imul	rax, rax
	mov	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR sm[rip]
	mov	edx, DWORD PTR -36[rbp]
	movsx	rdx, edx
	add	rdx, 56
	mov	edx, DWORD PTR 8[rax+rdx*4]
	mov	rax, QWORD PTR sm[rip]
	mov	ecx, DWORD PTR -40[rbp]
	movsx	rcx, ecx
	add	rcx, 56
	mov	ecx, DWORD PTR 8[rax+rcx*4]
	mov	eax, edx
	sub	eax, ecx
	cdqe
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	imul	rax, rax
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR sm[rip]
	mov	edx, DWORD PTR -36[rbp]
	movsx	rdx, edx
	add	rdx, 96
	mov	edx, DWORD PTR 8[rax+rdx*4]
	mov	rax, QWORD PTR sm[rip]
	mov	ecx, DWORD PTR -40[rbp]
	movsx	rcx, ecx
	add	rcx, 96
	mov	ecx, DWORD PTR 8[rax+rcx*4]
	mov	eax, edx
	sub	eax, ecx
	cdqe
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	imul	rax, rax
	mov	QWORD PTR -8[rbp], rax
	mov	rdx, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR -16[rbp]
	add	rdx, rax
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	mov	rdi, rax
	mov	eax, 0
	call	root
	movd	eax, xmm0
	mov	DWORD PTR -28[rbp], eax
	movss	xmm0, DWORD PTR -28[rbp]
	cvttss2si	eax, xmm0
	mov	DWORD PTR -32[rbp], eax
	pxor	xmm1, xmm1
	cvtsi2ss	xmm1, DWORD PTR -32[rbp]
	movss	xmm0, DWORD PTR -28[rbp]
	comiss	xmm0, xmm1
	jbe	.L195
	add	DWORD PTR -32[rbp], 1
.L195:
	mov	eax, DWORD PTR -32[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE30:
	.size	prange, .-prange
	.section	.rodata
.LC51:
	.string	"\nPlanet #:"
.LC52:
	.string	"Range from %d to %d = %d\n"
	.text
	.globl	compute
	.type	compute, @function
compute:
.LFB31:
	.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	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdi, .LC51[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -20[rbp]
	mov	rdi, rax
	mov	eax, 0
	call	getnum
	mov	DWORD PTR -12[rbp], eax
	lea	rdi, .LC51[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -16[rbp]
	mov	rdi, rax
	mov	eax, 0
	call	getnum
	mov	DWORD PTR -12[rbp], eax
	mov	edx, DWORD PTR -16[rbp]
	mov	eax, DWORD PTR -20[rbp]
	mov	esi, edx
	mov	edi, eax
	mov	eax, 0
	call	prange
	mov	DWORD PTR -12[rbp], eax
	mov	edx, DWORD PTR -16[rbp]
	mov	eax, DWORD PTR -20[rbp]
	mov	ecx, DWORD PTR -12[rbp]
	mov	esi, eax
	lea	rdi, .LC52[rip]
	mov	eax, 0
	call	printf@PLT
	nop
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L200
	call	__stack_chk_fail@PLT
.L200:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE31:
	.size	compute, .-compute
	.globl	root
	.type	root, @function
root:
.LFB32:
	.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
	cmp	QWORD PTR -24[rbp], 0
	jne	.L202
	pxor	xmm0, xmm0
	jmp	.L203
.L202:
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, QWORD PTR -24[rbp]
	movsd	xmm1, QWORD PTR .LC54[rip]
	divsd	xmm0, xmm1
	movsd	QWORD PTR -8[rbp], xmm0
	mov	DWORD PTR -16[rbp], 0
	movss	xmm0, DWORD PTR .LC55[rip]
	movss	DWORD PTR -12[rbp], xmm0
	jmp	.L204
.L208:
	add	DWORD PTR -16[rbp], 1
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, QWORD PTR -24[rbp]
	divsd	xmm0, QWORD PTR -8[rbp]
	addsd	xmm0, QWORD PTR -8[rbp]
	movsd	xmm1, QWORD PTR .LC54[rip]
	divsd	xmm0, xmm1
	movsd	QWORD PTR -8[rbp], xmm0
	movsd	xmm0, QWORD PTR -8[rbp]
	mulsd	xmm0, xmm0
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, QWORD PTR -24[rbp]
	subsd	xmm0, xmm1
	cvtsd2ss	xmm0, xmm0
	movss	DWORD PTR -12[rbp], xmm0
	pxor	xmm0, xmm0
	comiss	xmm0, DWORD PTR -12[rbp]
	ja	.L209
	jmp	.L204
.L209:
	movss	xmm0, DWORD PTR -12[rbp]
	movss	xmm1, DWORD PTR .LC56[rip]
	xorps	xmm0, xmm1
	movss	DWORD PTR -12[rbp], xmm0
.L204:
	movsd	xmm0, QWORD PTR -8[rbp]
	mulsd	xmm0, xmm0
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, QWORD PTR -24[rbp]
	ucomisd	xmm0, xmm1
	jp	.L210
	comisd	xmm0, xmm1
	je	.L206
.L210:
	pxor	xmm0, xmm0
	cvtss2sd	xmm0, DWORD PTR -12[rbp]
	comisd	xmm0, QWORD PTR .LC57[rip]
	ja	.L208
.L206:
	pxor	xmm0, xmm0
	cvtsd2ss	xmm0, QWORD PTR -8[rbp]
.L203:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE32:
	.size	root, .-root
	.section	.rodata
.LC58:
	.string	"\nFleet  Dest  Size  Arrival"
.LC59:
	.string	"  %2d    %2d   %4d  %5s\n"
	.align 8
.LC60:
	.string	"\nNo Fleets currently in flight."
	.text
	.globl	flts
	.type	flts, @function
flts:
.LFB33:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	DWORD PTR -4[rbp], 0
	lea	rdi, .LC58[rip]
	call	puts@PLT
	mov	DWORD PTR -8[rbp], 0
	jmp	.L212
.L214:
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, events[rip]
	mov	rax, QWORD PTR [rdx+rax]
	test	rax, rax
	je	.L213
	mov	DWORD PTR -4[rbp], 1
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, events[rip]
	mov	rax, QWORD PTR [rdx+rax]
	mov	rdi, rax
	mov	eax, 0
	call	sdate
	mov	rsi, rax
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, stack[rip]
	mov	ecx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, stack[rip+4]
	mov	edx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -8[rbp]
	mov	r8, rsi
	mov	esi, eax
	lea	rdi, .LC59[rip]
	mov	eax, 0
	call	printf@PLT
.L213:
	add	DWORD PTR -8[rbp], 1
.L212:
	cmp	DWORD PTR -8[rbp], 98
	jle	.L214
	cmp	DWORD PTR -4[rbp], 0
	jne	.L215
	lea	rdi, .LC60[rip]
	call	puts@PLT
.L215:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE33:
	.size	flts, .-flts
	.section	.rodata
.LC61:
	.string	"\nEnter Broadcast Message:\n>  "
.LC62:
	.string	"Message Sent."
	.text
	.globl	broadcast
	.type	broadcast, @function
broadcast:
.LFB34:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 1056
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -1044[rbp], 2
	lea	rdi, .LC61[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR stdout[rip]
	mov	rdi, rax
	call	fflush@PLT
	mov	eax, 0
	call	restterm
	mov	rdx, QWORD PTR stdin[rip]
	lea	rax, -528[rbp]
	mov	esi, 511
	mov	rdi, rax
	call	fgets@PLT
	mov	eax, 0
	call	initterm
	mov	BYTE PTR -1039[rbp], 80
	movzx	eax, BYTE PTR mynum[rip]
	mov	BYTE PTR -1040[rbp], al
	mov	BYTE PTR -1038[rbp], 0
	mov	BYTE PTR -431[rbp], 0
	mov	eax, 0
	call	lock
	mov	rax, QWORD PTR sm[rip]
	mov	eax, DWORD PTR 1160[rax]
	add	eax, 1
	mov	DWORD PTR -1048[rbp], eax
	cmp	DWORD PTR -1048[rbp], 4
	jle	.L217
	mov	DWORD PTR -1048[rbp], 0
.L217:
	mov	rsi, QWORD PTR sm[rip]
	movzx	edx, BYTE PTR -1040[rbp]
	mov	eax, DWORD PTR -1048[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	sal	rax, 2
	add	rax, rcx
	lea	rcx, 0[0+rax*4]
	add	rax, rcx
	sal	rax, 2
	add	rax, rsi
	add	rax, 2000
	mov	BYTE PTR [rax], dl
	mov	rsi, QWORD PTR sm[rip]
	movzx	edx, BYTE PTR -1039[rbp]
	mov	eax, DWORD PTR -1048[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	sal	rax, 2
	add	rax, rcx
	lea	rcx, 0[0+rax*4]
	add	rax, rcx
	sal	rax, 2
	add	rax, rsi
	add	rax, 2001
	mov	BYTE PTR [rax], dl
	mov	rcx, QWORD PTR sm[rip]
	mov	eax, DWORD PTR -1048[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	sal	rax, 2
	add	rax, 2000
	add	rax, rcx
	lea	rdx, 2[rax]
	lea	rax, -528[rbp]
	mov	rsi, rax
	mov	rdi, rdx
	call	strcpy@PLT
	mov	rax, QWORD PTR sm[rip]
	mov	edx, DWORD PTR -1048[rbp]
	mov	DWORD PTR 1160[rax], edx
	mov	rax, QWORD PTR sm[rip]
	mov	edx, DWORD PTR 1156[rax]
	sub	edx, 1
	mov	DWORD PTR 1156[rax], edx
	lea	rdi, .LC62[rip]
	call	puts@PLT
	nop
	mov	rdi, QWORD PTR -8[rbp]
	sub	rdi, QWORD PTR fs:40
	je	.L218
	call	__stack_chk_fail@PLT
.L218:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE34:
	.size	broadcast, .-broadcast
	.section	.rodata
.LC63:
	.string	"\nEnter Private Message:\n>  "
.LC64:
	.string	"\nMessage to (player NUMBER):"
.LC65:
	.string	"Illegal player number."
.LC66:
	.string	"\nMessage Sent to %s.\n"
	.text
	.globl	prvmsg
	.type	prvmsg, @function
prvmsg:
.LFB35:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 656
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -652[rbp], 2
	lea	rdi, .LC63[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR stdout[rip]
	mov	rdi, rax
	call	fflush@PLT
	mov	eax, 0
	call	restterm
	mov	rdx, QWORD PTR stdin[rip]
	lea	rax, -528[rbp]
	mov	esi, 511
	mov	rdi, rax
	call	fgets@PLT
	mov	eax, 0
	call	initterm
	mov	eax, DWORD PTR toggle[rip]
	test	eax, eax
	js	.L220
	mov	eax, DWORD PTR toggle[rip]
	mov	DWORD PTR -644[rbp], eax
	jmp	.L221
.L220:
	lea	rdi, .LC64[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -652[rbp]
	mov	rdi, rax
	mov	eax, 0
	call	getnum
	mov	DWORD PTR -648[rbp], eax
	mov	eax, DWORD PTR -652[rbp]
	mov	DWORD PTR -644[rbp], eax
.L221:
	cmp	DWORD PTR -644[rbp], 0
	js	.L222
	cmp	DWORD PTR -644[rbp], 10
	jg	.L222
	mov	rcx, QWORD PTR sm[rip]
	mov	eax, DWORD PTR -644[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, 1792
	add	rax, rcx
	add	rax, 8
	test	rax, rax
	jne	.L223
.L222:
	lea	rdi, .LC65[rip]
	call	puts@PLT
	mov	eax, 0
	jmp	.L219
.L223:
	mov	eax, DWORD PTR -644[rbp]
	mov	BYTE PTR -639[rbp], al
	movzx	eax, BYTE PTR mynum[rip]
	mov	BYTE PTR -640[rbp], al
	mov	BYTE PTR -638[rbp], 0
	mov	BYTE PTR -429[rbp], 0
	mov	eax, 0
	call	lock
	mov	rax, QWORD PTR sm[rip]
	mov	eax, DWORD PTR 1160[rax]
	add	eax, 1
	mov	DWORD PTR -648[rbp], eax
	cmp	DWORD PTR -648[rbp], 4
	jle	.L225
	mov	DWORD PTR -648[rbp], 0
.L225:
	mov	rsi, QWORD PTR sm[rip]
	movzx	edx, BYTE PTR -640[rbp]
	mov	eax, DWORD PTR -648[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	sal	rax, 2
	add	rax, rcx
	lea	rcx, 0[0+rax*4]
	add	rax, rcx
	sal	rax, 2
	add	rax, rsi
	add	rax, 2000
	mov	BYTE PTR [rax], dl
	mov	rsi, QWORD PTR sm[rip]
	movzx	edx, BYTE PTR -639[rbp]
	mov	eax, DWORD PTR -648[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	sal	rax, 2
	add	rax, rcx
	lea	rcx, 0[0+rax*4]
	add	rax, rcx
	sal	rax, 2
	add	rax, rsi
	add	rax, 2001
	mov	BYTE PTR [rax], dl
	mov	rcx, QWORD PTR sm[rip]
	mov	eax, DWORD PTR -648[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	sal	rax, 2
	add	rax, 2000
	add	rax, rcx
	lea	rdx, 2[rax]
	lea	rax, -528[rbp]
	mov	rsi, rax
	mov	rdi, rdx
	call	strcpy@PLT
	mov	rax, QWORD PTR sm[rip]
	mov	edx, DWORD PTR -648[rbp]
	mov	DWORD PTR 1160[rax], edx
	mov	rax, QWORD PTR sm[rip]
	mov	edx, DWORD PTR 1156[rax]
	sub	edx, 1
	mov	DWORD PTR 1156[rax], edx
	mov	rcx, QWORD PTR sm[rip]
	mov	eax, DWORD PTR -644[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, 1792
	add	rax, rcx
	add	rax, 8
	mov	rsi, rax
	lea	rdi, .LC66[rip]
	mov	eax, 0
	call	printf@PLT
.L219:
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L226
	call	__stack_chk_fail@PLT
.L226:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE35:
	.size	prvmsg, .-prvmsg
	.section	.rodata
.LC67:
	.string	"\nFrom world:"
.LC68:
	.string	"\nYou do not own that world!"
.LC69:
	.string	"To world:"
	.align 8
.LC70:
	.string	"\nSorry, too many fleets in the air!"
.LC71:
	.string	"Number to send (%d) :"
.LC72:
	.string	"Invalid fleet size!"
	.align 8
.LC73:
	.string	"\nYou have lost control of that world!!!"
.LC74:
	.string	"Fleet will arrive at %s\n"
	.text
	.globl	send
	.type	send, @function
send:
.LFB36:
	.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	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -32[rbp], -1
	jmp	.L228
.L230:
	lea	rdi, .LC67[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -40[rbp]
	mov	rdi, rax
	mov	eax, 0
	call	getnum
	mov	DWORD PTR -32[rbp], eax
	mov	eax, DWORD PTR -40[rbp]
	test	eax, eax
	js	.L229
	mov	eax, DWORD PTR -40[rbp]
	cmp	eax, 38
	jle	.L228
.L229:
	mov	DWORD PTR -32[rbp], -1
.L228:
	cmp	DWORD PTR -32[rbp], -1
	je	.L230
	mov	rax, QWORD PTR sm[rip]
	mov	edx, DWORD PTR -40[rbp]
	movsx	rdx, edx
	add	rdx, 136
	mov	edx, DWORD PTR 8[rax+rdx*4]
	movzx	eax, BYTE PTR mynum[rip]
	movsx	eax, al
	cmp	edx, eax
	je	.L231
	lea	rdi, .LC68[rip]
	call	puts@PLT
	mov	eax, 0
	jmp	.L227
.L231:
	mov	DWORD PTR -44[rbp], -1
	jmp	.L233
.L235:
	lea	rdi, .LC69[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -36[rbp]
	mov	rdi, rax
	mov	eax, 0
	call	getnum
	mov	DWORD PTR -44[rbp], eax
	mov	eax, DWORD PTR -36[rbp]
	test	eax, eax
	js	.L234
	mov	eax, DWORD PTR -36[rbp]
	cmp	eax, 38
	jle	.L233
.L234:
	mov	DWORD PTR -44[rbp], -1
.L233:
	mov	eax, DWORD PTR -44[rbp]
	cmp	eax, -1
	je	.L235
	mov	DWORD PTR -28[rbp], 0
	jmp	.L236
.L238:
	add	DWORD PTR -28[rbp], 1
.L236:
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, events[rip]
	mov	rax, QWORD PTR [rdx+rax]
	test	rax, rax
	je	.L237
	cmp	DWORD PTR -28[rbp], 99
	jle	.L238
.L237:
	cmp	DWORD PTR -28[rbp], 100
	jne	.L239
	lea	rdi, .LC70[rip]
	call	puts@PLT
	mov	eax, 0
	jmp	.L227
.L239:
	mov	rax, QWORD PTR sm[rip]
	mov	edx, DWORD PTR -40[rbp]
	movsx	rdx, edx
	add	rdx, 216
	mov	eax, DWORD PTR 8[rax+rdx*4]
	mov	esi, eax
	lea	rdi, .LC71[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -44[rbp]
	mov	rdi, rax
	mov	eax, 0
	call	getnum
	mov	DWORD PTR -32[rbp], eax
	mov	rax, QWORD PTR sm[rip]
	mov	edx, DWORD PTR -40[rbp]
	movsx	rdx, edx
	add	rdx, 216
	mov	edx, DWORD PTR 8[rax+rdx*4]
	mov	eax, DWORD PTR -44[rbp]
	cmp	edx, eax
	jl	.L240
	mov	eax, DWORD PTR -44[rbp]
	test	eax, eax
	jg	.L241
.L240:
	lea	rdi, .LC72[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	jmp	.L227
.L241:
	mov	rax, QWORD PTR sm[rip]
	mov	edx, DWORD PTR -40[rbp]
	movsx	rdx, edx
	add	rdx, 136
	mov	edx, DWORD PTR 8[rax+rdx*4]
	movzx	eax, BYTE PTR mynum[rip]
	movsx	eax, al
	cmp	edx, eax
	je	.L242
	lea	rdi, .LC73[rip]
	call	puts@PLT
	mov	eax, 0
	jmp	.L227
.L242:
	mov	eax, DWORD PTR -44[rbp]
	mov	edx, DWORD PTR -28[rbp]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*8]
	lea	rdx, stack[rip]
	mov	DWORD PTR [rcx+rdx], eax
	mov	rax, QWORD PTR sm[rip]
	mov	edx, DWORD PTR -40[rbp]
	movsx	rdx, edx
	add	rdx, 216
	mov	ecx, DWORD PTR 8[rax+rdx*4]
	mov	esi, DWORD PTR -44[rbp]
	mov	rax, QWORD PTR sm[rip]
	mov	edx, DWORD PTR -40[rbp]
	sub	ecx, esi
	movsx	rdx, edx
	add	rdx, 216
	mov	DWORD PTR 8[rax+rdx*4], ecx
	mov	eax, DWORD PTR -36[rbp]
	mov	edx, DWORD PTR -28[rbp]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*8]
	lea	rdx, stack[rip+4]
	mov	DWORD PTR [rcx+rdx], eax
	mov	edi, 0
	mov	eax, 0
	call	time@PLT
	movsx	rbx, eax
	mov	edx, DWORD PTR -36[rbp]
	mov	eax, DWORD PTR -40[rbp]
	mov	esi, edx
	mov	edi, eax
	mov	eax, 0
	call	prange
	movsx	rdx, eax
	mov	rax, QWORD PTR trav_time[rip]
	imul	rax, rdx
	lea	rcx, [rbx+rax]
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, events[rip]
	mov	QWORD PTR [rdx+rax], rcx
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, events[rip]
	mov	rax, QWORD PTR [rdx+rax]
	mov	rdi, rax
	mov	eax, 0
	call	sdate
	mov	rsi, rax
	lea	rdi, .LC74[rip]
	mov	eax, 0
	call	printf@PLT
	movzx	eax, BYTE PTR vtmode[rip]
	test	al, al
	je	.L243
	movzx	eax, BYTE PTR awetow[rip]
	test	al, al
	je	.L243
	mov	eax, DWORD PTR -40[rbp]
	mov	edi, eax
	mov	eax, 0
	call	pset
.L243:
	mov	eax, DWORD PTR -28[rbp]
	mov	edi, eax
	mov	eax, 0
	call	pirate
.L227:
	mov	rbx, QWORD PTR -24[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L245
	call	__stack_chk_fail@PLT
.L245:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE36:
	.size	send, .-send
	.section	.rodata
.LC75:
	.string	"Kwick list:\n"
.LC76:
	.string	"#%2d Prod:%3d Ships:%5d\n"
	.text
	.globl	kwick
	.type	kwick, @function
kwick:
.LFB37:
	.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
	lea	rdi, .LC75[rip]
	call	puts@PLT
	mov	DWORD PTR -4[rbp], 0
	jmp	.L247
.L249:
	mov	rax, QWORD PTR sm[rip]
	mov	edx, DWORD PTR -4[rbp]
	movsx	rdx, edx
	add	rdx, 136
	mov	edx, DWORD PTR 8[rax+rdx*4]
	movzx	eax, BYTE PTR mynum[rip]
	movsx	eax, al
	cmp	edx, eax
	jne	.L248
	mov	rax, QWORD PTR sm[rip]
	mov	edx, DWORD PTR -4[rbp]
	movsx	rdx, edx
	add	rdx, 216
	mov	ecx, DWORD PTR 8[rax+rdx*4]
	mov	rax, QWORD PTR sm[rip]
	mov	edx, DWORD PTR -4[rbp]
	movsx	rdx, edx
	add	rdx, 176
	mov	edx, DWORD PTR 8[rax+rdx*4]
	mov	eax, DWORD PTR -4[rbp]
	mov	esi, eax
	lea	rdi, .LC76[rip]
	mov	eax, 0
	call	printf@PLT
.L248:
	add	DWORD PTR -4[rbp], 1
.L247:
	cmp	DWORD PTR -4[rbp], 38
	jle	.L249
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE37:
	.size	kwick, .-kwick
	.section	.rodata
.LC77:
	.string	"\nA Number is Expected"
.LC78:
	.string	"%d"
	.text
	.globl	getnum
	.type	getnum, @function
getnum:
.LFB38:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 144
	mov	QWORD PTR -136[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -120[rbp], -1
	mov	rax, QWORD PTR stdout[rip]
	mov	rdi, rax
	call	fflush@PLT
	jmp	.L251
.L252:
	mov	DWORD PTR -120[rbp], 0
	mov	eax, 0
	call	restterm
	mov	rdx, QWORD PTR stdin[rip]
	lea	rax, -112[rbp]
	mov	esi, 98
	mov	rdi, rax
	call	fgets@PLT
	mov	eax, 0
	call	initterm
	lea	rax, -112[rbp]
	mov	rdi, rax
	call	atoi@PLT
	test	eax, eax
	jne	.L251
	movzx	eax, BYTE PTR -112[rbp]
	cmp	al, 48
	je	.L251
	mov	DWORD PTR -120[rbp], -1
	lea	rdi, .LC77[rip]
	call	puts@PLT
	mov	rax, QWORD PTR stdout[rip]
	mov	rdi, rax
	call	fflush@PLT
.L251:
	cmp	DWORD PTR -120[rbp], -1
	je	.L252
	mov	rdx, QWORD PTR -136[rbp]
	lea	rax, -112[rbp]
	lea	rsi, .LC78[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	mov	DWORD PTR -116[rbp], eax
	nop
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L253
	call	__stack_chk_fail@PLT
.L253:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE38:
	.size	getnum, .-getnum
	.section	.rodata
.LC79:
	.string	"console"
	.text
	.globl	getppn
	.type	getppn, @function
getppn:
.LFB39:
	.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
	call	getgid@PLT
	mov	edx, eax
	mov	rax, QWORD PTR -24[rbp]
	mov	DWORD PTR [rax], edx
	call	getuid@PLT
	mov	edx, eax
	mov	rax, QWORD PTR -32[rbp]
	mov	DWORD PTR [rax], edx
	mov	edi, 0
	call	ttyname@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	lea	rsi, .LC79[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L255
	mov	rax, QWORD PTR -40[rbp]
	mov	DWORD PTR [rax], 0
	jmp	.L256
.L255:
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 8
	mov	rdi, rax
	call	atoi@PLT
	mov	rdx, QWORD PTR -40[rbp]
	mov	DWORD PTR [rdx], eax
.L256:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE39:
	.size	getppn, .-getppn
	.section	.rodata
.LC80:
	.string	"Send to (tty): "
.LC81:
	.string	"Enter your message\n>"
.LC82:
	.string	"/usr/local/bin/send %s %c%s%c"
	.text
	.globl	zend
	.type	zend, @function
zend:
.LFB40:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 2080
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	esi, 1
	mov	edi, 24
	mov	eax, 0
	call	gotoxy
	lea	rdi, .LC80[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR stdout[rip]
	mov	rdi, rax
	call	fflush@PLT
	mov	rdx, QWORD PTR stdin[rip]
	lea	rax, -2077[rbp]
	mov	esi, 12
	mov	rdi, rax
	call	fgets@PLT
	movzx	eax, BYTE PTR -2077[rbp]
	test	al, al
	jne	.L258
	mov	eax, 0
	jmp	.L260
.L258:
	lea	rdi, .LC81[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR stdout[rip]
	mov	rdi, rax
	call	fflush@PLT
	mov	rdx, QWORD PTR stdin[rip]
	lea	rax, -2064[rbp]
	mov	esi, 1023
	mov	rdi, rax
	call	fgets@PLT
	lea	rcx, -2064[rbp]
	lea	rdx, -2077[rbp]
	lea	rax, -1040[rbp]
	mov	r9d, 34
	mov	r8, rcx
	mov	ecx, 34
	lea	rsi, .LC82[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	lea	rax, -1040[rbp]
	mov	rdi, rax
	call	system@PLT
	mov	eax, 0
.L260:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L261
	call	__stack_chk_fail@PLT
.L261:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE40:
	.size	zend, .-zend
	.section	.rodata
.LC83:
	.string	"(Cleargame): Are you sure? "
.LC84:
	.string	"YES"
	.text
	.globl	clrgam
	.type	clrgam, @function
clrgam:
.LFB41:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 112
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR stdout[rip]
	mov	rdi, rax
	call	fflush@PLT
	mov	eax, DWORD PTR UID[rip]
	cmp	eax, 501
	je	.L263
	mov	eax, DWORD PTR UID[rip]
	cmp	eax, 502
	je	.L263
	mov	eax, DWORD PTR UID[rip]
	test	eax, eax
	jne	.L264
.L263:
	lea	rdi, .LC83[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR stdout[rip]
	mov	rdi, rax
	call	fflush@PLT
	mov	rdx, QWORD PTR stdin[rip]
	lea	rax, -112[rbp]
	mov	esi, 99
	mov	rdi, rax
	call	fgets@PLT
	lea	rax, -112[rbp]
	lea	rsi, .LC84[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L264
	mov	rax, QWORD PTR sm[rip]
	mov	QWORD PTR [rax], 0
.L264:
	nop
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L265
	call	__stack_chk_fail@PLT
.L265:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE41:
	.size	clrgam, .-clrgam
	.section	.rodata
.LC85:
	.string	". "
.LC86:
	.string	"%2d"
	.text
	.globl	scan
	.type	scan, @function
scan:
.LFB42:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	DWORD PTR -4[rbp], 1
	jmp	.L267
.L272:
	mov	DWORD PTR -8[rbp], 1
	jmp	.L268
.L271:
	mov	edi, 32
	call	putchar@PLT
	mov	rcx, QWORD PTR sm[rip]
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	sal	rax, 4
	add	rax, rcx
	add	rax, rdx
	add	rax, 2510
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jns	.L269
	lea	rdi, .LC85[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L270
.L269:
	mov	rcx, QWORD PTR sm[rip]
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	sal	rax, 4
	add	rax, rcx
	add	rax, rdx
	add	rax, 2510
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	mov	esi, eax
	lea	rdi, .LC86[rip]
	mov	eax, 0
	call	printf@PLT
.L270:
	add	DWORD PTR -8[rbp], 1
.L268:
	cmp	DWORD PTR -8[rbp], 15
	jle	.L271
	mov	edi, 10
	call	putchar@PLT
	add	DWORD PTR -4[rbp], 1
.L267:
	cmp	DWORD PTR -4[rbp], 14
	jle	.L272
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE42:
	.size	scan, .-scan
	.section	.rodata
	.align 8
.LC87:
	.string	".  .  .  .  .  .  .  .  .  .  .  .  .  .  ."
	.align 8
.LC88:
	.string	"=============>  =====[     ]======="
	.text
	.globl	setit
	.type	setit, @function
setit:
.LFB43:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	eax, 0
	call	cls
	mov	DWORD PTR -4[rbp], 1
	jmp	.L274
.L275:
	mov	eax, DWORD PTR -4[rbp]
	mov	esi, 36
	mov	edi, eax
	mov	eax, 0
	call	gotoxy
	lea	rdi, .LC87[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -4[rbp], 1
.L274:
	cmp	DWORD PTR -4[rbp], 14
	jle	.L275
	mov	esi, 1
	mov	edi, 14
	mov	eax, 0
	call	gotoxy
	lea	rdi, .LC88[rip]
	mov	eax, 0
	call	printf@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE43:
	.size	setit, .-setit
	.section	.rodata
.LC89:
	.string	"%s"
	.text
	.globl	updtim
	.type	updtim, @function
updtim:
.LFB44:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	esi, 23
	mov	edi, 14
	mov	eax, 0
	call	gotoxy
	mov	edi, 0
	mov	eax, 0
	call	sdate
	mov	rsi, rax
	lea	rdi, .LC89[rip]
	mov	eax, 0
	call	printf@PLT
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE44:
	.size	updtim, .-updtim
	.section	.rodata
.LC90:
	.string	"\033[J"
	.text
	.globl	cls
	.type	cls, @function
cls:
.LFB45:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	esi, 1
	mov	edi, 1
	mov	eax, 0
	call	gotoxy
	lea	rdi, .LC90[rip]
	mov	eax, 0
	call	printf@PLT
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE45:
	.size	cls, .-cls
	.section	.rodata
.LC91:
	.string	"\033[%d;%dH"
	.text
	.globl	gotoxy
	.type	gotoxy, @function
gotoxy:
.LFB46:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	edx, edi
	mov	eax, esi
	mov	BYTE PTR -4[rbp], dl
	mov	BYTE PTR -8[rbp], al
	movsx	edx, BYTE PTR -8[rbp]
	movsx	eax, BYTE PTR -4[rbp]
	mov	esi, eax
	lea	rdi, .LC91[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE46:
	.size	gotoxy, .-gotoxy
	.section	.rodata
.LC92:
	.string	"\033[15;24r"
	.text
	.globl	setscr
	.type	setscr, @function
setscr:
.LFB47:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	rdi, .LC92[rip]
	mov	eax, 0
	call	printf@PLT
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE47:
	.size	setscr, .-setscr
	.section	.rodata
.LC93:
	.string	"\033[0;24r"
	.text
	.globl	nrmscr
	.type	nrmscr, @function
nrmscr:
.LFB48:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	rdi, .LC93[rip]
	mov	eax, 0
	call	printf@PLT
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE48:
	.size	nrmscr, .-nrmscr
	.section	.rodata
.LC94:
	.string	"Autosend to which planet: "
.LC95:
	.string	"#%2d - %4d: "
	.align 8
.LC96:
	.string	"\nYou have lost control of world #%d\n"
	.text
	.globl	autosd
	.type	autosd, @function
autosd:
.LFB49:
	.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, 216
	.cfi_offset 3, -24
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -200[rbp], -1
	jmp	.L283
.L285:
	lea	rdi, .LC94[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -212[rbp]
	mov	rdi, rax
	mov	eax, 0
	call	getnum
	mov	DWORD PTR -200[rbp], eax
	mov	eax, DWORD PTR -212[rbp]
	test	eax, eax
	js	.L284
	mov	eax, DWORD PTR -212[rbp]
	cmp	eax, 38
	jle	.L283
.L284:
	mov	DWORD PTR -200[rbp], -1
.L283:
	cmp	DWORD PTR -200[rbp], -1
	je	.L285
	mov	DWORD PTR -204[rbp], 0
	jmp	.L286
.L298:
	mov	eax, DWORD PTR -204[rbp]
	cdqe
	mov	DWORD PTR -192[rbp+rax*4], 0
	mov	rax, QWORD PTR sm[rip]
	mov	edx, DWORD PTR -204[rbp]
	movsx	rdx, edx
	add	rdx, 136
	mov	edx, DWORD PTR 8[rax+rdx*4]
	movzx	eax, BYTE PTR mynum[rip]
	movsx	eax, al
	cmp	edx, eax
	jne	.L287
	mov	eax, DWORD PTR -212[rbp]
	cmp	DWORD PTR -204[rbp], eax
	je	.L287
	mov	eax, DWORD PTR -204[rbp]
	cdqe
	mov	DWORD PTR -192[rbp+rax*4], 1
	mov	DWORD PTR -200[rbp], -1
	jmp	.L288
.L297:
	mov	rax, QWORD PTR sm[rip]
	mov	edx, DWORD PTR -204[rbp]
	movsx	rdx, edx
	add	rdx, 216
	mov	edx, DWORD PTR 8[rax+rdx*4]
	mov	eax, DWORD PTR -204[rbp]
	mov	esi, eax
	lea	rdi, .LC95[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -208[rbp]
	mov	rdi, rax
	mov	eax, 0
	call	getnum
	mov	DWORD PTR -200[rbp], eax
	mov	eax, DWORD PTR -208[rbp]
	test	eax, eax
	js	.L289
	mov	rax, QWORD PTR sm[rip]
	mov	edx, DWORD PTR -204[rbp]
	movsx	rdx, edx
	add	rdx, 216
	mov	edx, DWORD PTR 8[rax+rdx*4]
	mov	eax, DWORD PTR -208[rbp]
	cmp	edx, eax
	jge	.L290
.L289:
	mov	DWORD PTR -200[rbp], -1
	jmp	.L288
.L290:
	mov	eax, DWORD PTR -208[rbp]
	test	eax, eax
	jle	.L288
	mov	DWORD PTR -196[rbp], 0
	jmp	.L291
.L293:
	add	DWORD PTR -196[rbp], 1
.L291:
	mov	eax, DWORD PTR -196[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, events[rip]
	mov	rax, QWORD PTR [rdx+rax]
	test	rax, rax
	je	.L292
	cmp	DWORD PTR -196[rbp], 99
	jle	.L293
.L292:
	cmp	DWORD PTR -196[rbp], 100
	jne	.L294
	lea	rdi, .LC70[rip]
	call	puts@PLT
	mov	eax, 0
	jmp	.L282
.L294:
	mov	rax, QWORD PTR sm[rip]
	mov	edx, DWORD PTR -204[rbp]
	movsx	rdx, edx
	add	rdx, 136
	mov	edx, DWORD PTR 8[rax+rdx*4]
	movzx	eax, BYTE PTR mynum[rip]
	movsx	eax, al
	cmp	edx, eax
	je	.L296
	mov	eax, DWORD PTR -204[rbp]
	mov	esi, eax
	lea	rdi, .LC96[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L288
.L296:
	mov	eax, DWORD PTR -208[rbp]
	mov	edx, DWORD PTR -196[rbp]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*8]
	lea	rdx, stack[rip]
	mov	DWORD PTR [rcx+rdx], eax
	mov	rax, QWORD PTR sm[rip]
	mov	edx, DWORD PTR -204[rbp]
	movsx	rdx, edx
	add	rdx, 216
	mov	edx, DWORD PTR 8[rax+rdx*4]
	mov	esi, DWORD PTR -208[rbp]
	mov	rax, QWORD PTR sm[rip]
	mov	ecx, edx
	sub	ecx, esi
	mov	edx, DWORD PTR -204[rbp]
	movsx	rdx, edx
	add	rdx, 216
	mov	DWORD PTR 8[rax+rdx*4], ecx
	mov	eax, DWORD PTR -212[rbp]
	mov	edx, DWORD PTR -196[rbp]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*8]
	lea	rdx, stack[rip+4]
	mov	DWORD PTR [rcx+rdx], eax
	mov	edi, 0
	mov	eax, 0
	call	time@PLT
	movsx	rbx, eax
	mov	edx, DWORD PTR -212[rbp]
	mov	eax, DWORD PTR -204[rbp]
	mov	esi, edx
	mov	edi, eax
	mov	eax, 0
	call	prange
	movsx	rdx, eax
	mov	rax, QWORD PTR trav_time[rip]
	imul	rax, rdx
	lea	rcx, [rbx+rax]
	mov	eax, DWORD PTR -196[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, events[rip]
	mov	QWORD PTR [rdx+rax], rcx
	mov	eax, DWORD PTR -196[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, events[rip]
	mov	rax, QWORD PTR [rdx+rax]
	mov	rdi, rax
	mov	eax, 0
	call	sdate
	mov	rsi, rax
	lea	rdi, .LC74[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -196[rbp]
	mov	edi, eax
	mov	eax, 0
	call	pirate
.L288:
	cmp	DWORD PTR -200[rbp], -1
	je	.L297
.L287:
	add	DWORD PTR -204[rbp], 1
.L286:
	cmp	DWORD PTR -204[rbp], 38
	jle	.L298
	movzx	eax, BYTE PTR vtmode[rip]
	test	al, al
	je	.L299
	movzx	eax, BYTE PTR awetow[rip]
	test	al, al
	je	.L299
	mov	DWORD PTR -204[rbp], 0
	jmp	.L300
.L302:
	mov	eax, DWORD PTR -204[rbp]
	cdqe
	mov	eax, DWORD PTR -192[rbp+rax*4]
	test	eax, eax
	je	.L301
	mov	eax, DWORD PTR -204[rbp]
	mov	edi, eax
	mov	eax, 0
	call	pset
.L301:
	add	DWORD PTR -204[rbp], 1
.L300:
	cmp	DWORD PTR -204[rbp], 38
	jle	.L302
.L299:
.L282:
	mov	rbx, QWORD PTR -24[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L303
	call	__stack_chk_fail@PLT
.L303:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE49:
	.size	autosd, .-autosd
	.section	.rodata
.LC97:
	.string	"\033[5m"
	.text
	.globl	blink
	.type	blink, @function
blink:
.LFB50:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	rdi, .LC97[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE50:
	.size	blink, .-blink
	.section	.rodata
.LC98:
	.string	"\033[0m"
.LC99:
	.string	"\033[2m"
.LC100:
	.string	"\033[8m"
	.text
	.globl	dim
	.type	dim, @function
dim:
.LFB51:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	movzx	eax, BYTE PTR vtloo[rip]
	test	al, al
	je	.L307
	lea	rdi, .LC98[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L308
.L307:
	lea	rdi, .LC99[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC100[rip]
	mov	eax, 0
	call	printf@PLT
.L308:
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE51:
	.size	dim, .-dim
	.section	.rodata
.LC101:
	.string	"\033[1m"
	.text
	.globl	normal
	.type	normal, @function
normal:
.LFB52:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	rdi, .LC98[rip]
	mov	eax, 0
	call	printf@PLT
	movzx	eax, BYTE PTR vtloo[rip]
	test	al, al
	je	.L310
	lea	rdi, .LC101[rip]
	mov	eax, 0
	call	printf@PLT
.L310:
	mov	eax, 0
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE52:
	.size	normal, .-normal
	.section	.rodata
	.align 8
.LC102:
	.string	"Private message toggle is off."
	.align 8
.LC103:
	.string	"Enter user number to private msg to: "
.LC104:
	.string	"Toggle set to send to %s]"
	.text
	.globl	prvtog
	.type	prvtog, @function
prvtog:
.LFB53:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	eax, DWORD PTR toggle[rip]
	test	eax, eax
	js	.L313
	mov	DWORD PTR toggle[rip], -1
	lea	rdi, .LC102[rip]
	call	puts@PLT
	mov	eax, 0
	jmp	.L312
.L313:
	lea	rdi, .LC103[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, toggle[rip]
	mov	eax, 0
	call	getnum
	mov	eax, DWORD PTR toggle[rip]
	test	eax, eax
	js	.L315
	mov	eax, DWORD PTR toggle[rip]
	cmp	eax, 7
	jle	.L316
.L315:
	mov	DWORD PTR toggle[rip], -1
.L316:
	mov	eax, DWORD PTR toggle[rip]
	test	eax, eax
	js	.L313
	mov	rcx, QWORD PTR sm[rip]
	mov	eax, DWORD PTR toggle[rip]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, 1792
	add	rax, rcx
	add	rax, 8
	mov	rsi, rax
	lea	rdi, .LC104[rip]
	mov	eax, 0
	call	printf@PLT
.L312:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE53:
	.size	prvtog, .-prvtog
	.section	.rodata
.LC105:
	.string	"\nWarp from world:"
.LC106:
	.string	"Warp to world:"
	.align 8
.LC107:
	.string	"Warp fleet will arrive at %s carrying %d ships\n"
	.text
	.globl	warp
	.type	warp, @function
warp:
.LFB54:
	.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	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -32[rbp], -1
	jmp	.L318
.L320:
	lea	rdi, .LC105[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -40[rbp]
	mov	rdi, rax
	mov	eax, 0
	call	getnum
	mov	DWORD PTR -32[rbp], eax
	mov	eax, DWORD PTR -40[rbp]
	test	eax, eax
	js	.L319
	mov	eax, DWORD PTR -40[rbp]
	cmp	eax, 38
	jle	.L318
.L319:
	mov	DWORD PTR -32[rbp], -1
.L318:
	cmp	DWORD PTR -32[rbp], -1
	je	.L320
	mov	rax, QWORD PTR sm[rip]
	mov	edx, DWORD PTR -40[rbp]
	movsx	rdx, edx
	add	rdx, 136
	mov	edx, DWORD PTR 8[rax+rdx*4]
	movzx	eax, BYTE PTR mynum[rip]
	movsx	eax, al
	cmp	edx, eax
	je	.L321
	lea	rdi, .LC68[rip]
	call	puts@PLT
	mov	eax, 0
	jmp	.L317
.L321:
	mov	DWORD PTR -44[rbp], -1
	jmp	.L323
.L325:
	lea	rdi, .LC106[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -36[rbp]
	mov	rdi, rax
	mov	eax, 0
	call	getnum
	mov	DWORD PTR -44[rbp], eax
	mov	eax, DWORD PTR -36[rbp]
	test	eax, eax
	js	.L324
	mov	eax, DWORD PTR -36[rbp]
	cmp	eax, 38
	jle	.L323
.L324:
	mov	DWORD PTR -44[rbp], -1
.L323:
	mov	eax, DWORD PTR -44[rbp]
	cmp	eax, -1
	je	.L325
	mov	DWORD PTR -28[rbp], 0
	jmp	.L326
.L328:
	add	DWORD PTR -28[rbp], 1
.L326:
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, events[rip]
	mov	rax, QWORD PTR [rdx+rax]
	test	rax, rax
	je	.L327
	cmp	DWORD PTR -28[rbp], 99
	jle	.L328
.L327:
	cmp	DWORD PTR -28[rbp], 100
	jne	.L329
	lea	rdi, .LC70[rip]
	call	puts@PLT
	mov	eax, 0
	jmp	.L317
.L329:
	mov	rax, QWORD PTR sm[rip]
	mov	edx, DWORD PTR -40[rbp]
	movsx	rdx, edx
	add	rdx, 216
	mov	eax, DWORD PTR 8[rax+rdx*4]
	mov	esi, eax
	lea	rdi, .LC71[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -44[rbp]
	mov	rdi, rax
	mov	eax, 0
	call	getnum
	mov	DWORD PTR -32[rbp], eax
	mov	rax, QWORD PTR sm[rip]
	mov	edx, DWORD PTR -40[rbp]
	movsx	rdx, edx
	add	rdx, 216
	mov	edx, DWORD PTR 8[rax+rdx*4]
	mov	eax, DWORD PTR -44[rbp]
	cmp	edx, eax
	jl	.L330
	mov	eax, DWORD PTR -44[rbp]
	cmp	eax, 99
	jg	.L331
.L330:
	lea	rdi, .LC72[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	jmp	.L317
.L331:
	mov	rax, QWORD PTR sm[rip]
	mov	edx, DWORD PTR -40[rbp]
	movsx	rdx, edx
	add	rdx, 136
	mov	edx, DWORD PTR 8[rax+rdx*4]
	movzx	eax, BYTE PTR mynum[rip]
	movsx	eax, al
	cmp	edx, eax
	je	.L332
	lea	rdi, .LC73[rip]
	call	puts@PLT
	mov	eax, 0
	jmp	.L317
.L332:
	mov	eax, DWORD PTR -44[rbp]
	movsx	rdx, eax
	imul	rdx, rdx, 1717986919
	shr	rdx, 32
	mov	ecx, edx
	sar	ecx, 2
	sar	eax, 31
	sub	eax, ecx
	mov	edx, eax
	mov	eax, DWORD PTR -44[rbp]
	lea	ecx, [rdx+rax]
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, stack[rip]
	mov	DWORD PTR [rdx+rax], ecx
	mov	rax, QWORD PTR sm[rip]
	mov	edx, DWORD PTR -40[rbp]
	movsx	rdx, edx
	add	rdx, 216
	mov	ecx, DWORD PTR 8[rax+rdx*4]
	mov	esi, DWORD PTR -44[rbp]
	mov	rax, QWORD PTR sm[rip]
	mov	edx, DWORD PTR -40[rbp]
	sub	ecx, esi
	movsx	rdx, edx
	add	rdx, 216
	mov	DWORD PTR 8[rax+rdx*4], ecx
	mov	eax, DWORD PTR -36[rbp]
	mov	edx, DWORD PTR -28[rbp]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*8]
	lea	rdx, stack[rip+4]
	mov	DWORD PTR [rcx+rdx], eax
	mov	edi, 0
	mov	eax, 0
	call	time@PLT
	movsx	rbx, eax
	mov	edx, DWORD PTR -36[rbp]
	mov	eax, DWORD PTR -40[rbp]
	mov	esi, edx
	mov	edi, eax
	mov	eax, 0
	call	prange
	movsx	rdx, eax
	mov	rax, QWORD PTR trav_time[rip]
	mov	rcx, rax
	shr	rcx, 63
	add	rax, rcx
	sar	rax
	imul	rax, rdx
	lea	rcx, [rbx+rax]
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, events[rip]
	mov	QWORD PTR [rdx+rax], rcx
	mov	eax, DWORD PTR -44[rbp]
	movsx	rdx, eax
	imul	rdx, rdx, 1717986919
	shr	rdx, 32
	mov	ecx, edx
	sar	ecx, 2
	sar	eax, 31
	sub	eax, ecx
	mov	edx, eax
	mov	eax, DWORD PTR -44[rbp]
	lea	ebx, [rdx+rax]
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, events[rip]
	mov	rax, QWORD PTR [rdx+rax]
	mov	rdi, rax
	mov	eax, 0
	call	sdate
	mov	edx, ebx
	mov	rsi, rax
	lea	rdi, .LC107[rip]
	mov	eax, 0
	call	printf@PLT
	movzx	eax, BYTE PTR vtmode[rip]
	test	al, al
	je	.L333
	movzx	eax, BYTE PTR awetow[rip]
	test	al, al
	je	.L333
	mov	eax, DWORD PTR -40[rbp]
	mov	edi, eax
	mov	eax, 0
	call	pset
.L333:
.L317:
	mov	rbx, QWORD PTR -24[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L335
	call	__stack_chk_fail@PLT
.L335:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE54:
	.size	warp, .-warp
	.section	.rodata
.LC108:
	.string	"%2d)"
	.text
	.globl	plupd
	.type	plupd, @function
plupd:
.LFB55:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	eax, 0
	call	clrjnk
	mov	eax, 0
	call	normal
	mov	DWORD PTR -4[rbp], 0
	jmp	.L337
.L342:
	cmp	DWORD PTR -4[rbp], 12
	jg	.L338
	mov	eax, DWORD PTR -4[rbp]
	add	eax, 1
	mov	DWORD PTR -12[rbp], eax
	mov	DWORD PTR -8[rbp], 1
	jmp	.L339
.L338:
	cmp	DWORD PTR -4[rbp], 25
	jg	.L340
	mov	eax, DWORD PTR -4[rbp]
	sub	eax, 12
	mov	DWORD PTR -12[rbp], eax
	mov	DWORD PTR -8[rbp], 13
	jmp	.L339
.L340:
	mov	eax, DWORD PTR -4[rbp]
	sub	eax, 25
	mov	DWORD PTR -12[rbp], eax
	mov	DWORD PTR -8[rbp], 25
.L339:
	mov	edx, DWORD PTR -8[rbp]
	mov	eax, DWORD PTR -12[rbp]
	mov	esi, edx
	mov	edi, eax
	mov	eax, 0
	call	gotoxy
	mov	eax, DWORD PTR -4[rbp]
	mov	esi, eax
	lea	rdi, .LC108[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR sm[rip]
	mov	edx, DWORD PTR -4[rbp]
	movsx	rdx, edx
	add	rdx, 136
	mov	edx, DWORD PTR 8[rax+rdx*4]
	movzx	eax, BYTE PTR mynum[rip]
	movsx	eax, al
	cmp	edx, eax
	jne	.L341
	mov	eax, DWORD PTR -4[rbp]
	mov	edi, eax
	mov	eax, 0
	call	pset
.L341:
	add	DWORD PTR -4[rbp], 1
.L337:
	cmp	DWORD PTR -4[rbp], 38
	jle	.L342
	mov	eax, 0
	call	prompt
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE55:
	.size	plupd, .-plupd
	.section	.rodata
.LC109:
	.string	"\033[1K"
	.text
	.globl	clrjnk
	.type	clrjnk, @function
clrjnk:
.LFB56:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	DWORD PTR -4[rbp], 0
	jmp	.L344
.L345:
	mov	eax, DWORD PTR -4[rbp]
	mov	esi, 35
	mov	edi, eax
	mov	eax, 0
	call	gotoxy
	lea	rdi, .LC109[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -4[rbp], 1
.L344:
	cmp	DWORD PTR -4[rbp], 13
	jle	.L345
	mov	esi, 1
	mov	edi, 14
	mov	eax, 0
	call	gotoxy
	lea	rdi, .LC109[rip]
	mov	eax, 0
	call	printf@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE56:
	.size	clrjnk, .-clrjnk
	.section	.rodata
.LC110:
	.string	"\033[31m"
.LC111:
	.string	"\033[35m"
.LC112:
	.string	"\033[32m"
.LC113:
	.string	"%2d %4d"
.LC114:
	.string	"       "
	.text
	.globl	pset
	.type	pset, @function
pset:
.LFB57:
	.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
	cmp	DWORD PTR -20[rbp], 12
	jg	.L347
	mov	eax, DWORD PTR -20[rbp]
	add	eax, 1
	mov	DWORD PTR -8[rbp], eax
	mov	DWORD PTR -4[rbp], 4
	jmp	.L348
.L347:
	cmp	DWORD PTR -20[rbp], 25
	jg	.L349
	mov	eax, DWORD PTR -20[rbp]
	sub	eax, 12
	mov	DWORD PTR -8[rbp], eax
	mov	DWORD PTR -4[rbp], 16
	jmp	.L348
.L349:
	mov	eax, DWORD PTR -20[rbp]
	sub	eax, 25
	mov	DWORD PTR -8[rbp], eax
	mov	DWORD PTR -4[rbp], 28
.L348:
	mov	edx, DWORD PTR -4[rbp]
	mov	eax, DWORD PTR -8[rbp]
	mov	esi, edx
	mov	edi, eax
	mov	eax, 0
	call	gotoxy
	mov	rax, QWORD PTR sm[rip]
	mov	edx, DWORD PTR -20[rbp]
	movsx	rdx, edx
	add	rdx, 136
	mov	edx, DWORD PTR 8[rax+rdx*4]
	movzx	eax, BYTE PTR mynum[rip]
	movsx	eax, al
	cmp	edx, eax
	jne	.L350
	movzx	eax, BYTE PTR ansi[rip]
	test	al, al
	je	.L351
	mov	rax, QWORD PTR sm[rip]
	mov	edx, DWORD PTR -20[rbp]
	movsx	rdx, edx
	add	rdx, 216
	mov	eax, DWORD PTR 8[rax+rdx*4]
	test	eax, eax
	jg	.L352
	lea	rdi, .LC110[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L356
.L352:
	mov	rax, QWORD PTR sm[rip]
	mov	edx, DWORD PTR -20[rbp]
	movsx	rdx, edx
	add	rdx, 216
	mov	eax, DWORD PTR 8[rax+rdx*4]
	test	eax, eax
	jle	.L354
	mov	rax, QWORD PTR sm[rip]
	mov	edx, DWORD PTR -20[rbp]
	movsx	rdx, edx
	add	rdx, 216
	mov	eax, DWORD PTR 8[rax+rdx*4]
	cmp	eax, 199
	jg	.L354
	mov	eax, 0
	call	normal
	lea	rdi, .LC110[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L356
.L354:
	mov	rax, QWORD PTR sm[rip]
	mov	edx, DWORD PTR -20[rbp]
	movsx	rdx, edx
	add	rdx, 216
	mov	eax, DWORD PTR 8[rax+rdx*4]
	cmp	eax, 199
	jle	.L355
	mov	rax, QWORD PTR sm[rip]
	mov	edx, DWORD PTR -20[rbp]
	movsx	rdx, edx
	add	rdx, 216
	mov	eax, DWORD PTR 8[rax+rdx*4]
	cmp	eax, 1499
	jg	.L355
	mov	eax, 0
	call	normal
	lea	rdi, .LC111[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L356
.L355:
	mov	eax, 0
	call	normal
	lea	rdi, .LC112[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L356
.L351:
	mov	rax, QWORD PTR sm[rip]
	mov	edx, DWORD PTR -20[rbp]
	movsx	rdx, edx
	add	rdx, 216
	mov	eax, DWORD PTR 8[rax+rdx*4]
	test	eax, eax
	jg	.L357
	mov	eax, 0
	call	dim
	jmp	.L356
.L357:
	mov	rax, QWORD PTR sm[rip]
	mov	edx, DWORD PTR -20[rbp]
	movsx	rdx, edx
	add	rdx, 216
	mov	eax, DWORD PTR 8[rax+rdx*4]
	test	eax, eax
	jle	.L358
	mov	rax, QWORD PTR sm[rip]
	mov	edx, DWORD PTR -20[rbp]
	movsx	rdx, edx
	add	rdx, 216
	mov	eax, DWORD PTR 8[rax+rdx*4]
	cmp	eax, 1499
	jg	.L358
	mov	eax, 0
	call	dim
	jmp	.L356
.L358:
	mov	eax, 0
	call	normal
.L356:
	mov	rax, QWORD PTR sm[rip]
	mov	edx, DWORD PTR -20[rbp]
	movsx	rdx, edx
	add	rdx, 216
	mov	edx, DWORD PTR 8[rax+rdx*4]
	mov	rax, QWORD PTR sm[rip]
	mov	ecx, DWORD PTR -20[rbp]
	movsx	rcx, ecx
	add	rcx, 176
	mov	eax, DWORD PTR 8[rax+rcx*4]
	mov	esi, eax
	lea	rdi, .LC113[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L359
.L350:
	lea	rdi, .LC114[rip]
	mov	eax, 0
	call	printf@PLT
.L359:
	mov	eax, 0
	call	normal
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE57:
	.size	pset, .-pset
	.section	.rodata
.LC115:
	.string	"\033[%dm"
	.text
	.globl	vtscan
	.type	vtscan, @function
vtscan:
.LFB58:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	DWORD PTR -4[rbp], 0
	jmp	.L361
.L367:
	mov	rax, QWORD PTR sm[rip]
	mov	edx, DWORD PTR -4[rbp]
	movsx	rdx, edx
	add	rdx, 16
	mov	edx, DWORD PTR 8[rax+rdx*4]
	mov	eax, edx
	add	eax, eax
	add	eax, edx
	lea	edx, 33[rax]
	mov	rax, QWORD PTR sm[rip]
	mov	ecx, DWORD PTR -4[rbp]
	movsx	rcx, ecx
	add	rcx, 56
	mov	eax, DWORD PTR 8[rax+rcx*4]
	mov	esi, edx
	mov	edi, eax
	mov	eax, 0
	call	gotoxy
	movzx	eax, BYTE PTR ansi[rip]
	test	al, al
	je	.L362
	mov	rax, QWORD PTR sm[rip]
	mov	edx, DWORD PTR -4[rbp]
	movsx	rdx, edx
	add	rdx, 136
	mov	eax, DWORD PTR 8[rax+rdx*4]
	add	eax, 31
	mov	BYTE PTR -5[rbp], al
	cmp	BYTE PTR -5[rbp], 36
	jle	.L363
	mov	BYTE PTR -5[rbp], 36
.L363:
	movsx	eax, BYTE PTR -5[rbp]
	mov	esi, eax
	lea	rdi, .LC115[rip]
	mov	eax, 0
	call	printf@PLT
	cmp	BYTE PTR -5[rbp], 30
	jg	.L364
	mov	eax, 0
	call	normal
	jmp	.L364
.L362:
	mov	eax, 0
	call	dim
	mov	rax, QWORD PTR sm[rip]
	mov	edx, DWORD PTR -4[rbp]
	movsx	rdx, edx
	add	rdx, 136
	mov	edx, DWORD PTR 8[rax+rdx*4]
	movzx	eax, BYTE PTR mynum[rip]
	movsx	eax, al
	cmp	edx, eax
	jne	.L365
	mov	eax, 0
	call	normal
	jmp	.L366
.L365:
	mov	rax, QWORD PTR sm[rip]
	mov	edx, DWORD PTR -4[rbp]
	movsx	rdx, edx
	add	rdx, 136
	mov	eax, DWORD PTR 8[rax+rdx*4]
	test	eax, eax
	js	.L366
	mov	eax, 0
	call	blink
.L366:
	mov	rax, QWORD PTR sm[rip]
	mov	edx, DWORD PTR -4[rbp]
	movsx	rdx, edx
	add	rdx, 136
	mov	eax, DWORD PTR 8[rax+rdx*4]
	cmp	eax, -1
	jne	.L364
	mov	eax, 0
	call	dim
.L364:
	mov	eax, DWORD PTR -4[rbp]
	mov	esi, eax
	lea	rdi, .LC86[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	call	normal
	add	DWORD PTR -4[rbp], 1
.L361:
	cmp	DWORD PTR -4[rbp], 38
	jle	.L367
	mov	eax, 0
	call	dim
	mov	eax, 0
	call	normal
	mov	eax, 0
	call	prompt
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE58:
	.size	vtscan, .-vtscan
	.section	.rodata
	.align 8
.LC116:
	.string	"Dst  Size  Arriv  Dst  Size  Arriv"
.LC117:
	.string	" %2d  %4d  %s"
	.text
	.globl	vtflts
	.type	vtflts, @function
vtflts:
.LFB59:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	eax, 0
	call	clrjnk
	mov	esi, 1
	mov	edi, 1
	mov	eax, 0
	call	gotoxy
	lea	rdi, .LC116[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -8[rbp], 1
	mov	DWORD PTR -4[rbp], 1
	mov	DWORD PTR -12[rbp], 0
	mov	DWORD PTR -16[rbp], 0
	jmp	.L369
.L372:
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, events[rip]
	mov	rax, QWORD PTR [rdx+rax]
	test	rax, rax
	je	.L370
	add	DWORD PTR -12[rbp], 1
	cmp	DWORD PTR -12[rbp], 24
	jg	.L370
	add	DWORD PTR -4[rbp], 1
	cmp	DWORD PTR -4[rbp], 13
	jle	.L371
	mov	DWORD PTR -4[rbp], 2
	add	DWORD PTR -8[rbp], 18
.L371:
	mov	edx, DWORD PTR -8[rbp]
	mov	eax, DWORD PTR -4[rbp]
	mov	esi, edx
	mov	edi, eax
	mov	eax, 0
	call	gotoxy
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, events[rip]
	mov	rax, QWORD PTR [rdx+rax]
	mov	rdi, rax
	mov	eax, 0
	call	sdate
	mov	rcx, rax
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, stack[rip]
	mov	edx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	lea	rsi, 0[0+rax*8]
	lea	rax, stack[rip+4]
	mov	eax, DWORD PTR [rsi+rax]
	mov	esi, eax
	lea	rdi, .LC117[rip]
	mov	eax, 0
	call	printf@PLT
.L370:
	add	DWORD PTR -16[rbp], 1
.L369:
	cmp	DWORD PTR -16[rbp], 98
	jle	.L372
	mov	esi, 34
	mov	edi, 14
	mov	eax, 0
	call	gotoxy
	cmp	DWORD PTR -12[rbp], 24
	jle	.L373
	mov	eax, 0
	call	blink
	mov	edi, 42
	call	putchar@PLT
	mov	eax, 0
	call	normal
	jmp	.L374
.L373:
	mov	edi, 61
	call	putchar@PLT
.L374:
	mov	eax, 0
	call	prompt
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE59:
	.size	vtflts, .-vtflts
	.section	.rodata
.LC118:
	.string	"Enter planet: "
	.text
	.globl	shtscn
	.type	shtscn, @function
shtscn:
.LFB60:
	.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	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -36[rbp], -1
	jmp	.L376
.L378:
	lea	rdi, .LC118[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -36[rbp]
	mov	rdi, rax
	mov	eax, 0
	call	getnum
	mov	eax, DWORD PTR -36[rbp]
	test	eax, eax
	js	.L377
	mov	eax, DWORD PTR -36[rbp]
	cmp	eax, 38
	jle	.L376
.L377:
	mov	DWORD PTR -36[rbp], -1
.L376:
	mov	eax, DWORD PTR -36[rbp]
	cmp	eax, -1
	je	.L378
	mov	rax, QWORD PTR sm[rip]
	mov	edx, DWORD PTR -36[rbp]
	movsx	rdx, edx
	add	rdx, 16
	mov	eax, DWORD PTR 8[rax+rdx*4]
	sub	eax, 5
	mov	DWORD PTR -32[rbp], eax
	mov	rax, QWORD PTR sm[rip]
	mov	edx, DWORD PTR -36[rbp]
	movsx	rdx, edx
	add	rdx, 16
	mov	eax, DWORD PTR 8[rax+rdx*4]
	add	eax, 5
	mov	DWORD PTR -28[rbp], eax
	cmp	DWORD PTR -32[rbp], 0
	jg	.L379
	mov	eax, 1
	sub	eax, DWORD PTR -32[rbp]
	add	DWORD PTR -28[rbp], eax
	mov	DWORD PTR -32[rbp], 1
.L379:
	cmp	DWORD PTR -28[rbp], 15
	jle	.L380
	mov	eax, DWORD PTR -28[rbp]
	sub	eax, 15
	sub	DWORD PTR -32[rbp], eax
	mov	DWORD PTR -28[rbp], 15
.L380:
	mov	rax, QWORD PTR sm[rip]
	mov	edx, DWORD PTR -36[rbp]
	movsx	rdx, edx
	add	rdx, 56
	mov	eax, DWORD PTR 8[rax+rdx*4]
	sub	eax, 5
	mov	DWORD PTR -24[rbp], eax
	mov	rax, QWORD PTR sm[rip]
	mov	edx, DWORD PTR -36[rbp]
	movsx	rdx, edx
	add	rdx, 56
	mov	eax, DWORD PTR 8[rax+rdx*4]
	add	eax, 5
	mov	DWORD PTR -20[rbp], eax
	cmp	DWORD PTR -24[rbp], 0
	jg	.L381
	mov	eax, 1
	sub	eax, DWORD PTR -24[rbp]
	add	DWORD PTR -20[rbp], eax
	mov	DWORD PTR -24[rbp], 1
.L381:
	cmp	DWORD PTR -20[rbp], 14
	jle	.L382
	mov	eax, DWORD PTR -20[rbp]
	sub	eax, 14
	sub	DWORD PTR -24[rbp], eax
	mov	DWORD PTR -20[rbp], 14
.L382:
	mov	eax, DWORD PTR -24[rbp]
	mov	DWORD PTR -12[rbp], eax
	jmp	.L383
.L388:
	mov	eax, DWORD PTR -32[rbp]
	mov	DWORD PTR -16[rbp], eax
	jmp	.L384
.L387:
	mov	edi, 32
	call	putchar@PLT
	mov	rcx, QWORD PTR sm[rip]
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	sal	rax, 4
	add	rax, rcx
	add	rax, rdx
	add	rax, 2510
	movzx	eax, BYTE PTR [rax]
	cmp	al, -1
	jne	.L385
	lea	rdi, .LC85[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L386
.L385:
	mov	rcx, QWORD PTR sm[rip]
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	sal	rax, 4
	add	rax, rcx
	add	rax, rdx
	add	rax, 2510
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	mov	esi, eax
	lea	rdi, .LC86[rip]
	mov	eax, 0
	call	printf@PLT
.L386:
	add	DWORD PTR -16[rbp], 1
.L384:
	mov	eax, DWORD PTR -28[rbp]
	cmp	eax, DWORD PTR -16[rbp]
	jge	.L387
	mov	edi, 10
	call	putchar@PLT
	add	DWORD PTR -12[rbp], 1
.L383:
	mov	eax, DWORD PTR -20[rbp]
	cmp	eax, DWORD PTR -12[rbp]
	jge	.L388
	nop
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L389
	call	__stack_chk_fail@PLT
.L389:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE60:
	.size	shtscn, .-shtscn
	.section	.rodata
.LC119:
	.string	"Summary of player: "
.LC120:
	.string	"Summary of %s]\n\n"
	.align 8
.LC121:
	.string	"Planet  Planet  Planet  Planet"
.LC122:
	.string	"#%2d"
	.text
	.globl	vtindiv
	.type	vtindiv, @function
vtindiv:
.LFB61:
	.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	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -28[rbp], -1
	jmp	.L391
.L393:
	lea	rdi, .LC119[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -28[rbp]
	mov	rdi, rax
	mov	eax, 0
	call	getnum
	mov	eax, DWORD PTR -28[rbp]
	test	eax, eax
	js	.L392
	mov	eax, DWORD PTR -28[rbp]
	cmp	eax, 7
	jle	.L391
.L392:
	mov	DWORD PTR -28[rbp], -1
.L391:
	mov	eax, DWORD PTR -28[rbp]
	cmp	eax, -1
	je	.L393
	mov	eax, 0
	call	clrjnk
	mov	esi, 1
	mov	edi, 1
	mov	eax, 0
	call	gotoxy
	mov	rcx, QWORD PTR sm[rip]
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, 1792
	add	rax, rcx
	add	rax, 8
	mov	rsi, rax
	lea	rdi, .LC120[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC121[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -16[rbp], 3
	mov	DWORD PTR -12[rbp], 3
	mov	DWORD PTR -20[rbp], 0
	mov	DWORD PTR -24[rbp], 0
	jmp	.L394
.L397:
	mov	rax, QWORD PTR sm[rip]
	mov	edx, DWORD PTR -24[rbp]
	movsx	rdx, edx
	add	rdx, 136
	mov	edx, DWORD PTR 8[rax+rdx*4]
	mov	eax, DWORD PTR -28[rbp]
	cmp	edx, eax
	jne	.L395
	add	DWORD PTR -20[rbp], 1
	cmp	DWORD PTR -20[rbp], 10
	jle	.L396
	mov	DWORD PTR -20[rbp], 1
	mov	DWORD PTR -12[rbp], 3
	add	DWORD PTR -16[rbp], 8
.L396:
	add	DWORD PTR -12[rbp], 1
	mov	edx, DWORD PTR -16[rbp]
	mov	eax, DWORD PTR -12[rbp]
	mov	esi, edx
	mov	edi, eax
	mov	eax, 0
	call	gotoxy
	mov	eax, DWORD PTR -24[rbp]
	mov	esi, eax
	lea	rdi, .LC122[rip]
	mov	eax, 0
	call	printf@PLT
.L395:
	add	DWORD PTR -24[rbp], 1
.L394:
	cmp	DWORD PTR -24[rbp], 38
	jle	.L397
	mov	eax, 0
	call	prompt
	nop
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L398
	call	__stack_chk_fail@PLT
.L398:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE61:
	.size	vtindiv, .-vtindiv
	.globl	pirate
	.type	pirate, @function
pirate:
.LFB62:
	.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	edi, 39
	mov	eax, 0
	call	irand
	mov	DWORD PTR -4[rbp], eax
	mov	rax, QWORD PTR pirtim[rip]
	test	rax, rax
	je	.L400
	mov	eax, 0
	jmp	.L399
.L400:
	cmp	DWORD PTR -4[rbp], 25
	je	.L403
	mov	eax, 0
	jmp	.L399
.L404:
	mov	edi, 80
	mov	eax, 0
	call	irand
	mov	DWORD PTR pirsiz[rip], eax
.L403:
	mov	eax, DWORD PTR pirsiz[rip]
	cmp	eax, 19
	jle	.L404
	mov	eax, DWORD PTR -20[rbp]
	mov	DWORD PTR pirflt[rip], eax
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, events[rip]
	mov	rax, QWORD PTR [rdx+rax]
	sub	rax, 20
	mov	QWORD PTR pirtim[rip], rax
.L399:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE62:
	.size	pirate, .-pirate
	.section	.rodata
.LC123:
	.string	"/usr/local/bin/who"
	.text
	.globl	syswho
	.type	syswho, @function
syswho:
.LFB63:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	rdi, .LC123[rip]
	call	system@PLT
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE63:
	.size	syswho, .-syswho
	.globl	vtupdate
	.type	vtupdate, @function
vtupdate:
.LFB64:
	.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	rax, QWORD PTR sm[rip]
	mov	edx, DWORD PTR -20[rbp]
	movsx	rdx, edx
	add	rdx, 16
	mov	edx, DWORD PTR 8[rax+rdx*4]
	mov	eax, edx
	add	eax, eax
	add	eax, edx
	lea	edx, 33[rax]
	mov	rax, QWORD PTR sm[rip]
	mov	ecx, DWORD PTR -20[rbp]
	movsx	rcx, ecx
	add	rcx, 56
	mov	eax, DWORD PTR 8[rax+rcx*4]
	mov	esi, edx
	mov	edi, eax
	mov	eax, 0
	call	gotoxy
	movzx	eax, BYTE PTR ansi[rip]
	test	al, al
	je	.L407
	mov	rax, QWORD PTR sm[rip]
	mov	edx, DWORD PTR -20[rbp]
	movsx	rdx, edx
	add	rdx, 136
	mov	eax, DWORD PTR 8[rax+rdx*4]
	add	eax, 31
	mov	BYTE PTR -1[rbp], al
	cmp	BYTE PTR -1[rbp], 36
	jle	.L408
	mov	BYTE PTR -1[rbp], 36
.L408:
	movsx	eax, BYTE PTR -1[rbp]
	mov	esi, eax
	lea	rdi, .LC115[rip]
	mov	eax, 0
	call	printf@PLT
	cmp	BYTE PTR -1[rbp], 30
	jg	.L409
	mov	eax, 0
	call	normal
	jmp	.L409
.L407:
	mov	eax, 0
	call	dim
	mov	rax, QWORD PTR sm[rip]
	mov	edx, DWORD PTR -20[rbp]
	movsx	rdx, edx
	add	rdx, 136
	mov	edx, DWORD PTR 8[rax+rdx*4]
	movzx	eax, BYTE PTR mynum[rip]
	movsx	eax, al
	cmp	edx, eax
	jne	.L410
	mov	eax, 0
	call	normal
	jmp	.L411
.L410:
	mov	rax, QWORD PTR sm[rip]
	mov	edx, DWORD PTR -20[rbp]
	movsx	rdx, edx
	add	rdx, 136
	mov	eax, DWORD PTR 8[rax+rdx*4]
	test	eax, eax
	js	.L411
	mov	eax, 0
	call	blink
.L411:
	mov	rax, QWORD PTR sm[rip]
	mov	edx, DWORD PTR -20[rbp]
	movsx	rdx, edx
	add	rdx, 136
	mov	eax, DWORD PTR 8[rax+rdx*4]
	cmp	eax, -1
	jne	.L409
	mov	eax, 0
	call	dim
.L409:
	mov	eax, DWORD PTR -20[rbp]
	mov	esi, eax
	lea	rdi, .LC86[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	call	normal
	mov	rax, QWORD PTR sm[rip]
	mov	edx, DWORD PTR -20[rbp]
	movsx	rdx, edx
	add	rdx, 136
	mov	edx, DWORD PTR 8[rax+rdx*4]
	movzx	eax, BYTE PTR mynum[rip]
	movsx	eax, al
	cmp	edx, eax
	jne	.L412
	movzx	eax, BYTE PTR awetow[rip]
	test	al, al
	je	.L412
	mov	eax, DWORD PTR -20[rbp]
	mov	edi, eax
	mov	eax, 0
	call	pset
.L412:
	mov	eax, 0
	call	prompt
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE64:
	.size	vtupdate, .-vtupdate
	.globl	onprivs
	.type	onprivs, @function
onprivs:
.LFB65:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	edi, 100
	call	setgid@PLT
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE65:
	.size	onprivs, .-onprivs
	.globl	offprivs
	.type	offprivs, @function
offprivs:
.LFB66:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	eax, DWORD PTR GID[rip]
	mov	edi, eax
	call	setgid@PLT
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE66:
	.size	offprivs, .-offprivs
	.section	.rodata
.LC124:
	.string	"Quick Help"
	.align 8
.LC125:
	.string	"a - area      b - broadcast  c - compute    d - warp send  f - fleets"
	.align 8
.LC126:
	.string	"g - galaxy    h - help       i - one player j - system who k - kwik list"
	.align 8
.LC127:
	.string	"l - scanner   m - pvt toggle n - no VT100   o - one planet p - pvt msg"
	.align 8
.LC128:
	.string	"q - quit      r - short scan s - send fleet t - time       u - update"
	.align 8
.LC129:
	.string	"v - VT100 md  w - who        x - auto send  * - auto update toggle"
	.align 8
.LC130:
	.string	"; - VT100Colr ? = dim vt100  e - Cleargame  n - Nonvt100"
	.text
	.globl	helpme
	.type	helpme, @function
helpme:
.LFB67:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	esi, 1
	mov	edi, 24
	mov	eax, 0
	call	gotoxy
	lea	rdi, .LC124[rip]
	call	puts@PLT
	lea	rdi, .LC125[rip]
	call	puts@PLT
	lea	rdi, .LC126[rip]
	call	puts@PLT
	lea	rdi, .LC127[rip]
	call	puts@PLT
	lea	rdi, .LC128[rip]
	call	puts@PLT
	lea	rdi, .LC129[rip]
	call	puts@PLT
	lea	rdi, .LC130[rip]
	call	puts@PLT
	mov	eax, 0
	call	prompt
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE67:
	.size	helpme, .-helpme
	.globl	trap
	.type	trap, @function
trap:
.LFB68:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	DWORD PTR -4[rbp], edi
	mov	eax, 0
	call	wrapup
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE68:
	.size	trap, .-trap
	.section	.rodata
.LC131:
	.string	"Byron Guernsey"
.LC132:
	.string	"8/05/96"
.LC133:
	.string	"linux-586-elf"
.LC134:
	.string	"GalCon (%s) Revised %s by %s\n"
.LC135:
	.string	"Game length is %ld minutes\n"
	.align 8
.LC136:
	.string	"\nAllowed to reenter for observation..."
.LC137:
	.string	"\nO)bserve or P)lay Galcon: P\b"
.LC138:
	.string	"\n\nEnter your name, please: "
.LC139:
	.string	" %-9s [%3d,%-3d"
.LC140:
	.string	"*%-9s [%3d,%-3d"
.LC141:
	.string	"\n\007?Name may not contain *'s."
	.align 8
.LC142:
	.string	"  \007#%2d %s] has joined the battle."
	.align 8
.LC143:
	.string	"  \007#%2d %s] has entered tournament for observation."
	.align 8
.LC144:
	.string	"Help will be found in HELP GAMES GALCON."
.LC145:
	.string	"\n"
	.align 8
.LC146:
	.string	"\nYour home planet is #%d, located at (%d,%d)\n"
.LC147:
	.string	"\nCurrent time is %s\n"
.LC148:
	.string	"Years           %ld\n"
	.align 8
.LC149:
	.string	"\n%cAre you sure you want to Quit? "
.LC150:
	.string	"VT100 Mode Activated."
	.align 8
.LC151:
	.string	"Autoupdate failed - Not in VT100 mode"
.LC152:
	.string	"Auto-Planet update on."
.LC153:
	.string	"Auto-Planet update off."
.LC154:
	.string	"VT100 Mode Disabled."
	.text
	.globl	main
	.type	main, @function
main:
.LFB69:
	.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
	call	getgid@PLT
	mov	DWORD PTR GID[rip], eax
	call	getuid@PLT
	mov	DWORD PTR UID[rip], eax
	mov	eax, 0
	call	onprivs
	lea	rsi, trap[rip]
	mov	edi, 2
	call	signal@PLT
	lea	rsi, trap[rip]
	mov	edi, 1
	call	signal@PLT
	mov	DWORD PTR toggle[rip], -1
	mov	eax, 0
	call	get_main_region
	mov	QWORD PTR sm[rip], rax
	mov	eax, 0
	call	initterm
	mov	edi, 10
	call	putchar@PLT
	lea	rcx, .LC131[rip]
	lea	rdx, .LC132[rip]
	lea	rsi, .LC133[rip]
	lea	rdi, .LC134[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 10
	call	putchar@PLT
	lea	rdx, mykb[rip]
	lea	rsi, mypn[rip]
	lea	rdi, myp[rip]
	mov	eax, 0
	call	getppn
	mov	QWORD PTR game_len[rip], 3600
	mov	BYTE PTR x_siz[rip], 15
	mov	BYTE PTR y_siz[rip], 14
	mov	BYTE PTR z_siz[rip], 1
	mov	QWORD PTR prod_time[rip], 45
	mov	QWORD PTR trav_time[rip], 30
	mov	rcx, QWORD PTR game_len[rip]
	movabs	rdx, -8608480567731124087
	mov	rax, rcx
	imul	rdx
	lea	rax, [rdx+rcx]
	sar	rax, 5
	sar	rcx, 63
	mov	rdx, rcx
	sub	rax, rdx
	mov	rsi, rax
	lea	rdi, .LC135[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	call	setrand
	jmp	.L418
.L419:
	mov	edi, 1
	call	sleep@PLT
.L418:
	mov	rax, QWORD PTR sm[rip]
	mov	eax, DWORD PTR 1032[rax]
	cmp	eax, 122
	je	.L419
	mov	rax, QWORD PTR sm[rip]
	mov	eax, DWORD PTR 1032[rax]
	test	eax, eax
	js	.L420
	mov	rax, QWORD PTR sm[rip]
	mov	eax, DWORD PTR 1032[rax]
	cmp	eax, 10
	jle	.L421
.L420:
	mov	rax, QWORD PTR sm[rip]
	mov	DWORD PTR 1032[rax], 0
.L421:
	mov	rax, QWORD PTR sm[rip]
	mov	eax, DWORD PTR 1156[rax]
	test	eax, eax
	js	.L422
	mov	rax, QWORD PTR sm[rip]
	mov	edx, DWORD PTR 1156[rax]
	mov	rax, QWORD PTR sm[rip]
	mov	eax, DWORD PTR 1032[rax]
	cmp	edx, eax
	jle	.L423
.L422:
	mov	rax, QWORD PTR sm[rip]
	mov	DWORD PTR 1156[rax], 0
.L423:
	mov	rax, QWORD PTR sm[rip]
	mov	eax, DWORD PTR 1032[rax]
	test	eax, eax
	jne	.L424
	mov	rax, QWORD PTR sm[rip]
	mov	DWORD PTR 1032[rax], 122
.L424:
	mov	eax, 0
	call	lock
	mov	rax, QWORD PTR sm[rip]
	mov	eax, DWORD PTR 1032[rax]
	cmp	eax, 122
	je	.L425
	mov	rax, QWORD PTR sm[rip]
	mov	rax, QWORD PTR 1408[rax]
	lea	rbx, 300[rax]
	mov	edi, 0
	mov	eax, 0
	call	time@PLT
	cdqe
	cmp	rbx, rax
	jl	.L425
	mov	rax, QWORD PTR sm[rip]
	mov	rbx, QWORD PTR 1408[rax]
	mov	edi, 0
	mov	eax, 0
	call	time@PLT
	cdqe
	cmp	rbx, rax
	jle	.L426
.L425:
	mov	eax, 0
	call	setup
.L426:
	mov	DWORD PTR -56[rbp], 0
	jmp	.L427
.L428:
	mov	eax, DWORD PTR -56[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, events[rip]
	mov	QWORD PTR [rdx+rax], 0
	add	DWORD PTR -56[rbp], 1
.L427:
	cmp	DWORD PTR -56[rbp], 98
	jle	.L428
	mov	DWORD PTR -60[rbp], 0
	jmp	.L429
.L431:
	mov	rax, QWORD PTR sm[rip]
	mov	edx, DWORD PTR -60[rbp]
	movsx	rdx, edx
	add	rdx, 312
	mov	edx, DWORD PTR [rax+rdx*4]
	mov	eax, DWORD PTR myp[rip]
	cmp	edx, eax
	jne	.L430
	mov	rax, QWORD PTR sm[rip]
	mov	edx, DWORD PTR -60[rbp]
	movsx	rdx, edx
	add	rdx, 332
	mov	edx, DWORD PTR [rax+rdx*4]
	mov	eax, DWORD PTR mypn[rip]
	cmp	edx, eax
	jne	.L430
	lea	rdi, .LC136[rip]
	call	puts@PLT
	mov	BYTE PTR watch[rip], 1
.L430:
	add	DWORD PTR -60[rbp], 1
.L429:
	cmp	DWORD PTR -60[rbp], 19
	jle	.L431
	mov	rax, QWORD PTR stdout[rip]
	mov	rdi, rax
	call	fflush@PLT
	movzx	eax, BYTE PTR watch[rip]
	test	al, al
	jne	.L432
	lea	rdi, .LC137[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR stdout[rip]
	mov	rdi, rax
	call	fflush@PLT
	mov	eax, 0
	call	getchr
	mov	BYTE PTR watch[rip], al
	movzx	eax, BYTE PTR watch[rip]
	movsx	eax, al
	mov	edi, eax
	call	toupper@PLT
	mov	BYTE PTR watch[rip], al
	movzx	eax, BYTE PTR watch[rip]
	cmp	al, 79
	jne	.L433
	mov	BYTE PTR watch[rip], 1
	mov	edi, 79
	call	putchar@PLT
	jmp	.L432
.L433:
	mov	BYTE PTR watch[rip], 0
.L432:
	mov	DWORD PTR -60[rbp], 0
	jmp	.L434
.L436:
	mov	rax, QWORD PTR sm[rip]
	mov	edx, DWORD PTR -60[rbp]
	movsx	rdx, edx
	add	rdx, 256
	mov	edx, DWORD PTR 12[rax+rdx*4]
	mov	eax, DWORD PTR myp[rip]
	cmp	edx, eax
	jne	.L435
	mov	rax, QWORD PTR sm[rip]
	mov	edx, DWORD PTR -60[rbp]
	movsx	rdx, edx
	add	rdx, 272
	mov	edx, DWORD PTR 8[rax+rdx*4]
	mov	eax, DWORD PTR mypn[rip]
	cmp	edx, eax
	jne	.L435
	mov	DWORD PTR twice[rip], 1
.L435:
	add	DWORD PTR -60[rbp], 1
.L434:
	cmp	DWORD PTR -60[rbp], 14
	jle	.L436
	mov	rax, QWORD PTR sm[rip]
	mov	eax, DWORD PTR 1160[rax]
	mov	BYTE PTR mymes[rip], al
	mov	rax, QWORD PTR sm[rip]
	mov	eax, DWORD PTR 1244[rax]
	mov	BYTE PTR mycom[rip], al
	mov	rax, QWORD PTR sm[rip]
	mov	eax, DWORD PTR 1032[rax]
	cmp	eax, 122
	jne	.L437
	mov	rax, QWORD PTR sm[rip]
	mov	DWORD PTR 1032[rax], 1
	jmp	.L438
.L437:
	mov	rax, QWORD PTR sm[rip]
	mov	edx, DWORD PTR 1032[rax]
	add	edx, 1
	mov	DWORD PTR 1032[rax], edx
.L438:
	mov	BYTE PTR home[rip], 0
	mov	BYTE PTR mynum[rip], 0
	mov	BYTE PTR home[rip], 0
	jmp	.L439
.L440:
	movzx	eax, BYTE PTR home[rip]
	add	eax, 1
	mov	BYTE PTR home[rip], al
.L439:
	mov	rcx, QWORD PTR sm[rip]
	movzx	eax, BYTE PTR home[rip]
	movsx	eax, al
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, rcx
	add	rax, 1800
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L440
	mov	rcx, QWORD PTR sm[rip]
	movzx	eax, BYTE PTR home[rip]
	movsx	eax, al
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, rcx
	add	rax, 1800
	mov	BYTE PTR [rax], 10
	movzx	eax, BYTE PTR home[rip]
	mov	BYTE PTR mynum[rip], al
	mov	BYTE PTR home[rip], -1
	mov	rax, QWORD PTR sm[rip]
	mov	edx, DWORD PTR 1156[rax]
	sub	edx, 1
	mov	DWORD PTR 1156[rax], edx
	mov	rax, QWORD PTR sm[rip]
	movzx	edx, BYTE PTR mynum[rip]
	movsx	edx, dl
	movsx	rdx, edx
	mov	QWORD PTR 8[rax+rdx*8], 0
	mov	DWORD PTR -52[rbp], 0
	mov	rsi, QWORD PTR sm[rip]
	movzx	eax, BYTE PTR mynum[rip]
	movsx	eax, al
	mov	edx, DWORD PTR -52[rbp]
	movsx	rcx, edx
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, rsi
	add	rax, rcx
	add	rax, 1800
	mov	BYTE PTR [rax], 1
	jmp	.L441
.L450:
	mov	DWORD PTR -52[rbp], 0
	lea	rdi, .LC138[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR stdout[rip]
	mov	rdi, rax
	call	fflush@PLT
	mov	eax, 0
	call	restterm
	mov	rax, QWORD PTR stdin[rip]
	mov	rdx, rax
	mov	esi, 79
	lea	rdi, scr[rip]
	call	fgets@PLT
	mov	eax, 0
	call	initterm
	mov	BYTE PTR scr[rip+9], 0
	mov	DWORD PTR -60[rbp], 0
	jmp	.L442
.L444:
	mov	eax, DWORD PTR -60[rbp]
	cdqe
	lea	rdx, scr[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	cmp	al, 42
	jne	.L443
	mov	BYTE PTR scr[rip], 42
.L443:
	add	DWORD PTR -60[rbp], 1
.L442:
	cmp	DWORD PTR -60[rbp], 8
	jle	.L444
	movzx	eax, BYTE PTR scr[rip]
	cmp	al, 42
	je	.L445
	movzx	eax, BYTE PTR watch[rip]
	test	al, al
	jne	.L446
	mov	edx, DWORD PTR mypn[rip]
	mov	eax, DWORD PTR myp[rip]
	mov	r8d, edx
	mov	ecx, eax
	lea	rdx, scr[rip]
	lea	rsi, .LC139[rip]
	lea	rdi, scr2[rip]
	mov	eax, 0
	call	sprintf@PLT
	jmp	.L447
.L446:
	mov	edx, DWORD PTR mypn[rip]
	mov	eax, DWORD PTR myp[rip]
	mov	r8d, edx
	mov	ecx, eax
	lea	rdx, scr[rip]
	lea	rsi, .LC140[rip]
	lea	rdi, scr2[rip]
	mov	eax, 0
	call	sprintf@PLT
.L447:
	mov	DWORD PTR -52[rbp], 0
	jmp	.L448
.L449:
	mov	rdi, QWORD PTR sm[rip]
	movzx	eax, BYTE PTR mynum[rip]
	movsx	ecx, al
	mov	eax, DWORD PTR -52[rbp]
	cdqe
	lea	rdx, scr2[rip]
	movzx	edx, BYTE PTR [rax+rdx]
	mov	eax, DWORD PTR -52[rbp]
	movsx	rsi, eax
	movsx	rcx, ecx
	mov	rax, rcx
	sal	rax, 2
	add	rax, rcx
	sal	rax, 2
	add	rax, rdi
	add	rax, rsi
	add	rax, 1800
	mov	BYTE PTR [rax], dl
	add	DWORD PTR -52[rbp], 1
.L448:
	cmp	DWORD PTR -52[rbp], 19
	jle	.L449
	jmp	.L441
.L445:
	lea	rdi, .LC141[rip]
	call	puts@PLT
.L441:
	mov	rcx, QWORD PTR sm[rip]
	movzx	eax, BYTE PTR mynum[rip]
	movsx	eax, al
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, rcx
	add	rax, 1800
	movzx	eax, BYTE PTR [rax]
	cmp	al, 1
	je	.L450
	mov	eax, 0
	call	lock
	mov	rax, QWORD PTR sm[rip]
	mov	eax, DWORD PTR 1160[rax]
	add	eax, 1
	mov	DWORD PTR -52[rbp], eax
	cmp	DWORD PTR -52[rbp], 4
	jle	.L451
	mov	DWORD PTR -52[rbp], 0
.L451:
	movzx	eax, BYTE PTR watch[rip]
	test	al, al
	jne	.L452
	mov	rcx, QWORD PTR sm[rip]
	movzx	eax, BYTE PTR mynum[rip]
	movsx	eax, al
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, 1792
	add	rax, rcx
	lea	rcx, 8[rax]
	movzx	eax, BYTE PTR mynum[rip]
	movsx	edx, al
	mov	rdi, QWORD PTR sm[rip]
	mov	eax, DWORD PTR -52[rbp]
	movsx	rsi, eax
	mov	rax, rsi
	sal	rax, 2
	add	rax, rsi
	lea	rsi, 0[0+rax*4]
	add	rax, rsi
	sal	rax, 2
	add	rax, 2000
	add	rax, rdi
	lea	rsi, .LC142[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	mov	rcx, QWORD PTR sm[rip]
	mov	eax, DWORD PTR -52[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	sal	rax, 2
	add	rax, rcx
	add	rax, 2001
	mov	BYTE PTR [rax], 69
	jmp	.L453
.L452:
	mov	rcx, QWORD PTR sm[rip]
	movzx	eax, BYTE PTR mynum[rip]
	movsx	eax, al
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, 1792
	add	rax, rcx
	lea	rcx, 8[rax]
	movzx	eax, BYTE PTR mynum[rip]
	movsx	edx, al
	mov	rdi, QWORD PTR sm[rip]
	mov	eax, DWORD PTR -52[rbp]
	movsx	rsi, eax
	mov	rax, rsi
	sal	rax, 2
	add	rax, rsi
	lea	rsi, 0[0+rax*4]
	add	rax, rsi
	sal	rax, 2
	add	rax, 2000
	add	rax, rdi
	lea	rsi, .LC143[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	mov	rcx, QWORD PTR sm[rip]
	mov	eax, DWORD PTR -52[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	sal	rax, 2
	add	rax, rcx
	add	rax, 2001
	mov	BYTE PTR [rax], 79
.L453:
	mov	rsi, QWORD PTR sm[rip]
	movzx	edx, BYTE PTR mynum[rip]
	mov	eax, DWORD PTR -52[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	sal	rax, 2
	add	rax, rcx
	lea	rcx, 0[0+rax*4]
	add	rax, rcx
	sal	rax, 2
	add	rax, rsi
	add	rax, 2000
	mov	BYTE PTR [rax], dl
	mov	rax, QWORD PTR sm[rip]
	mov	edx, DWORD PTR -52[rbp]
	mov	DWORD PTR 1160[rax], edx
	lea	rdi, .LC144[rip]
	call	puts@PLT
	lea	rdi, .LC145[rip]
	call	puts@PLT
	mov	BYTE PTR home[rip], -1
	movzx	eax, BYTE PTR watch[rip]
	test	al, al
	jne	.L454
	jmp	.L455
.L460:
	mov	edi, 39
	mov	eax, 0
	call	irand
	mov	DWORD PTR -52[rbp], eax
	mov	rax, QWORD PTR sm[rip]
	mov	edx, DWORD PTR -52[rbp]
	movsx	rdx, edx
	add	rdx, 136
	mov	eax, DWORD PTR 8[rax+rdx*4]
	cmp	eax, -1
	jne	.L455
	movzx	edx, BYTE PTR mynum[rip]
	mov	rax, QWORD PTR sm[rip]
	movsx	edx, dl
	mov	ecx, DWORD PTR -52[rbp]
	movsx	rcx, ecx
	add	rcx, 136
	mov	DWORD PTR 8[rax+rcx*4], edx
	mov	eax, DWORD PTR twice[rip]
	test	eax, eax
	je	.L456
	mov	rax, QWORD PTR sm[rip]
	mov	edx, DWORD PTR -52[rbp]
	movsx	rdx, edx
	add	rdx, 216
	mov	DWORD PTR 8[rax+rdx*4], 250
	jmp	.L457
.L456:
	mov	rax, QWORD PTR sm[rip]
	mov	edx, DWORD PTR -52[rbp]
	movsx	rdx, edx
	add	rdx, 216
	mov	DWORD PTR 8[rax+rdx*4], 450
.L457:
	mov	eax, DWORD PTR twice[rip]
	test	eax, eax
	je	.L458
	mov	rax, QWORD PTR sm[rip]
	mov	edx, DWORD PTR -52[rbp]
	movsx	rdx, edx
	add	rdx, 176
	mov	DWORD PTR 8[rax+rdx*4], 5
	jmp	.L459
.L458:
	mov	rax, QWORD PTR sm[rip]
	mov	edx, DWORD PTR -52[rbp]
	movsx	rdx, edx
	add	rdx, 176
	mov	DWORD PTR 8[rax+rdx*4], 15
.L459:
	mov	eax, DWORD PTR -52[rbp]
	mov	BYTE PTR home[rip], al
.L455:
	movzx	eax, BYTE PTR home[rip]
	cmp	al, -1
	je	.L460
	mov	rax, QWORD PTR sm[rip]
	movzx	edx, BYTE PTR home[rip]
	movsx	edx, dl
	movsx	rdx, edx
	add	rdx, 56
	mov	ecx, DWORD PTR 8[rax+rdx*4]
	mov	rax, QWORD PTR sm[rip]
	movzx	edx, BYTE PTR home[rip]
	movsx	edx, dl
	movsx	rdx, edx
	add	rdx, 16
	mov	edx, DWORD PTR 8[rax+rdx*4]
	movzx	eax, BYTE PTR home[rip]
	movsx	eax, al
	mov	esi, eax
	lea	rdi, .LC146[rip]
	mov	eax, 0
	call	printf@PLT
.L454:
	mov	rax, QWORD PTR sm[rip]
	mov	edx, DWORD PTR 1156[rax]
	sub	edx, 1
	mov	DWORD PTR 1156[rax], edx
	mov	eax, 0
	call	prompt
	mov	DWORD PTR inchar[rip], 0
	mov	edi, 0
	mov	eax, 0
	call	time@PLT
	cdqe
	mov	QWORD PTR -40[rbp], rax
.L516:
	mov	rax, QWORD PTR stdout[rip]
	mov	rdi, rax
	call	fflush@PLT
	mov	eax, 0
	call	getch
	movsx	eax, al
	mov	DWORD PTR inchar[rip], eax
	mov	eax, DWORD PTR inchar[rip]
	cmp	eax, -1
	je	.L461
	movzx	eax, BYTE PTR vtmode[rip]
	test	al, al
	je	.L462
	mov	esi, 1
	mov	edi, 24
	mov	eax, 0
	call	gotoxy
.L462:
	mov	eax, DWORD PTR inchar[rip]
	mov	edi, eax
	call	tolower@PLT
	mov	DWORD PTR inchar[rip], eax
	movzx	eax, BYTE PTR vtmode[rip]
	test	al, al
	je	.L463
	mov	eax, DWORD PTR inchar[rip]
	cmp	eax, 121
	je	.L461
	mov	eax, DWORD PTR inchar[rip]
	cmp	eax, 117
	je	.L461
	mov	eax, DWORD PTR inchar[rip]
	cmp	eax, 108
	je	.L461
.L463:
	mov	edi, 10
	call	putchar@PLT
.L461:
	mov	eax, DWORD PTR inchar[rip]
	add	eax, 1
	cmp	eax, 122
	ja	.L464
	mov	eax, eax
	lea	rdx, 0[0+rax*4]
	lea	rax, .L466[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, .L466[rip]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L466:
	.long	.L494-.L466
	.long	.L464-.L466
	.long	.L464-.L466
	.long	.L464-.L466
	.long	.L464-.L466
	.long	.L464-.L466
	.long	.L464-.L466
	.long	.L464-.L466
	.long	.L464-.L466
	.long	.L464-.L466
	.long	.L464-.L466
	.long	.L464-.L466
	.long	.L464-.L466
	.long	.L464-.L466
	.long	.L464-.L466
	.long	.L464-.L466
	.long	.L464-.L466
	.long	.L464-.L466
	.long	.L464-.L466
	.long	.L464-.L466
	.long	.L464-.L466
	.long	.L464-.L466
	.long	.L464-.L466
	.long	.L464-.L466
	.long	.L464-.L466
	.long	.L464-.L466
	.long	.L464-.L466
	.long	.L464-.L466
	.long	.L464-.L466
	.long	.L464-.L466
	.long	.L464-.L466
	.long	.L464-.L466
	.long	.L464-.L466
	.long	.L464-.L466
	.long	.L464-.L466
	.long	.L464-.L466
	.long	.L464-.L466
	.long	.L464-.L466
	.long	.L464-.L466
	.long	.L464-.L466
	.long	.L464-.L466
	.long	.L464-.L466
	.long	.L464-.L466
	.long	.L493-.L466
	.long	.L464-.L466
	.long	.L464-.L466
	.long	.L464-.L466
	.long	.L464-.L466
	.long	.L464-.L466
	.long	.L464-.L466
	.long	.L464-.L466
	.long	.L464-.L466
	.long	.L464-.L466
	.long	.L464-.L466
	.long	.L464-.L466
	.long	.L464-.L466
	.long	.L464-.L466
	.long	.L464-.L466
	.long	.L464-.L466
	.long	.L464-.L466
	.long	.L492-.L466
	.long	.L464-.L466
	.long	.L464-.L466
	.long	.L464-.L466
	.long	.L491-.L466
	.long	.L464-.L466
	.long	.L464-.L466
	.long	.L464-.L466
	.long	.L464-.L466
	.long	.L464-.L466
	.long	.L464-.L466
	.long	.L464-.L466
	.long	.L464-.L466
	.long	.L464-.L466
	.long	.L464-.L466
	.long	.L464-.L466
	.long	.L464-.L466
	.long	.L464-.L466
	.long	.L464-.L466
	.long	.L464-.L466
	.long	.L464-.L466
	.long	.L464-.L466
	.long	.L464-.L466
	.long	.L464-.L466
	.long	.L464-.L466
	.long	.L464-.L466
	.long	.L464-.L466
	.long	.L464-.L466
	.long	.L464-.L466
	.long	.L464-.L466
	.long	.L464-.L466
	.long	.L464-.L466
	.long	.L464-.L466
	.long	.L464-.L466
	.long	.L464-.L466
	.long	.L464-.L466
	.long	.L464-.L466
	.long	.L464-.L466
	.long	.L490-.L466
	.long	.L489-.L466
	.long	.L488-.L466
	.long	.L487-.L466
	.long	.L486-.L466
	.long	.L485-.L466
	.long	.L484-.L466
	.long	.L483-.L466
	.long	.L482-.L466
	.long	.L481-.L466
	.long	.L480-.L466
	.long	.L479-.L466
	.long	.L478-.L466
	.long	.L477-.L466
	.long	.L476-.L466
	.long	.L475-.L466
	.long	.L474-.L466
	.long	.L473-.L466
	.long	.L472-.L466
	.long	.L471-.L466
	.long	.L470-.L466
	.long	.L469-.L466
	.long	.L468-.L466
	.long	.L467-.L466
	.long	.L465-.L466
	.text
.L494:
	mov	eax, 0
	call	update
	mov	edi, 1
	call	sleep@PLT
	jmp	.L464
.L489:
	mov	eax, 0
	call	broadcast
	jmp	.L464
.L482:
	movzx	eax, BYTE PTR vtmode[rip]
	test	al, al
	je	.L495
	mov	eax, 0
	call	vtindiv
	mov	BYTE PTR awetow[rip], 0
	jmp	.L464
.L495:
	mov	eax, 0
	call	individual
	jmp	.L464
.L480:
	mov	eax, 0
	call	kwick
	jmp	.L464
.L476:
	mov	eax, 0
	call	oneplanet
	jmp	.L464
.L475:
	mov	eax, 0
	call	prvmsg
	jmp	.L464
.L486:
	mov	eax, 0
	call	clrgam
	jmp	.L464
.L471:
	mov	edi, 0
	mov	eax, 0
	call	sdate
	mov	rsi, rax
	lea	rdi, .LC147[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 0
	mov	eax, 0
	call	time@PLT
	movsx	rdx, eax
	mov	rax, QWORD PTR sm[rip]
	mov	rax, QWORD PTR [rax]
	mov	rcx, rdx
	sub	rcx, rax
	movabs	rdx, -8608480567731124087
	mov	rax, rcx
	imul	rdx
	lea	rax, [rdx+rcx]
	sar	rax, 5
	sar	rcx, 63
	mov	rdx, rcx
	sub	rax, rdx
	mov	QWORD PTR -32[rbp], rax
	mov	rax, QWORD PTR -32[rbp]
	mov	rsi, rax
	lea	rdi, .LC148[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L464
.L490:
	mov	eax, 0
	call	area
	jmp	.L464
.L478:
	mov	eax, 0
	call	prvtog
	jmp	.L464
.L485:
	mov	eax, 0
	call	flts
	jmp	.L464
.L484:
	mov	eax, 0
	call	galaxy
	jmp	.L464
.L488:
	mov	eax, 0
	call	compute
	jmp	.L464
.L468:
	mov	eax, 0
	call	who
	jmp	.L464
.L472:
	mov	eax, 0
	call	send
	jmp	.L464
.L474:
	mov	esi, 7
	lea	rdi, .LC149[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR stdout[rip]
	mov	rdi, rax
	call	fflush@PLT
	mov	eax, 0
	call	getchr
	movsx	eax, al
	mov	DWORD PTR -52[rbp], eax
	mov	eax, DWORD PTR -52[rbp]
	mov	edi, eax
	call	tolower@PLT
	mov	DWORD PTR -52[rbp], eax
	cmp	DWORD PTR -52[rbp], 121
	jne	.L517
	mov	eax, 0
	call	wrapup
	jmp	.L517
.L479:
	movzx	eax, BYTE PTR vtmode[rip]
	test	al, al
	je	.L498
	mov	eax, 0
	call	vtscan
	jmp	.L464
.L498:
	mov	eax, 0
	call	scan
	jmp	.L464
.L491:
	movzx	eax, BYTE PTR vtloo[rip]
	test	al, al
	jne	.L518
	mov	BYTE PTR vtloo[rip], 1
	jmp	.L518
.L492:
	movzx	eax, BYTE PTR ansi[rip]
	test	al, al
	jne	.L469
	mov	BYTE PTR ansi[rip], 1
.L469:
	movzx	eax, BYTE PTR vtmode[rip]
	test	al, al
	jne	.L493
	mov	BYTE PTR vtloo[rip], 1
	mov	BYTE PTR vtmode[rip], 1
	mov	eax, 0
	call	setscr
	mov	eax, 0
	call	setit
	mov	eax, 0
	call	vtscan
	mov	eax, 0
	call	plupd
	mov	esi, 1
	mov	edi, 24
	mov	eax, 0
	call	gotoxy
	lea	rdi, .LC150[rip]
	call	puts@PLT
.L493:
	movzx	eax, BYTE PTR vtmode[rip]
	test	al, al
	jne	.L501
	lea	rdi, .LC151[rip]
	call	puts@PLT
	jmp	.L464
.L501:
	movzx	eax, BYTE PTR awetow[rip]
	test	al, al
	jne	.L503
	mov	BYTE PTR awetow[rip], 1
	mov	eax, 0
	call	plupd
	mov	esi, 1
	mov	edi, 24
	mov	eax, 0
	call	gotoxy
	lea	rdi, .LC152[rip]
	call	puts@PLT
	jmp	.L464
.L503:
	mov	BYTE PTR awetow[rip], 0
	mov	esi, 1
	mov	edi, 24
	mov	eax, 0
	call	gotoxy
	lea	rdi, .LC153[rip]
	call	puts@PLT
	jmp	.L464
.L477:
	movzx	eax, BYTE PTR vtmode[rip]
	test	al, al
	je	.L519
	mov	BYTE PTR vtmode[rip], 0
	mov	BYTE PTR awetow[rip], 0
	mov	BYTE PTR ansi[rip], 0
	mov	BYTE PTR vtloo[rip], 0
	mov	eax, 0
	call	nrmscr
	mov	esi, 1
	mov	edi, 24
	mov	eax, 0
	call	gotoxy
	lea	rdi, .LC154[rip]
	call	puts@PLT
	jmp	.L519
.L470:
	movzx	eax, BYTE PTR vtmode[rip]
	test	al, al
	je	.L520
	mov	eax, 0
	call	plupd
	jmp	.L520
.L467:
	mov	eax, 0
	call	autosd
	jmp	.L464
.L487:
	mov	eax, 0
	call	warp
	jmp	.L464
.L465:
	movzx	eax, BYTE PTR vtmode[rip]
	test	al, al
	je	.L506
	mov	eax, 0
	call	vtflts
	jmp	.L507
.L506:
	mov	eax, 0
	call	flts
.L507:
	mov	BYTE PTR awetow[rip], 0
	jmp	.L464
.L473:
	mov	eax, 0
	call	shtscn
	jmp	.L464
.L481:
	mov	eax, 0
	call	syswho
	jmp	.L464
.L483:
	mov	eax, 0
	call	helpme
	jmp	.L464
.L517:
	nop
	jmp	.L464
.L518:
	nop
	jmp	.L464
.L519:
	nop
	jmp	.L464
.L520:
	nop
.L464:
	mov	eax, 0
	call	fleets
	mov	eax, 0
	call	chkend
	movzx	eax, BYTE PTR mymes[rip]
	movsx	edx, al
	mov	rax, QWORD PTR sm[rip]
	mov	eax, DWORD PTR 1160[rax]
	cmp	edx, eax
	je	.L508
	mov	eax, 0
	call	getpub
.L508:
	movzx	eax, BYTE PTR mycom[rip]
	movsx	edx, al
	mov	rax, QWORD PTR sm[rip]
	mov	eax, DWORD PTR 1244[rax]
	cmp	edx, eax
	je	.L509
	mov	eax, 0
	call	getcom
.L509:
	mov	edi, 0
	mov	eax, 0
	call	time@PLT
	cdqe
	mov	QWORD PTR -24[rbp], rax
	movzx	eax, BYTE PTR vtmode[rip]
	test	al, al
	je	.L510
	mov	rax, QWORD PTR -24[rbp]
	lea	rdx, -4[rax]
	mov	rax, QWORD PTR lsttim[rip]
	cmp	rdx, rax
	jle	.L510
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR lsttim[rip], rax
	mov	eax, 0
	call	updtim
	mov	eax, 0
	call	prompt
.L510:
	mov	edi, 0
	mov	eax, 0
	call	time@PLT
	cdqe
	mov	QWORD PTR -24[rbp], rax
	movzx	eax, BYTE PTR vtmode[rip]
	test	al, al
	je	.L511
	movzx	eax, BYTE PTR awetow[rip]
	test	al, al
	je	.L511
	mov	rax, QWORD PTR -24[rbp]
	sub	rax, 29
	cmp	QWORD PTR -40[rbp], rax
	jge	.L511
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR -40[rbp], rax
	mov	QWORD PTR -48[rbp], 0
	jmp	.L512
.L514:
	mov	rax, QWORD PTR sm[rip]
	mov	rdx, QWORD PTR -48[rbp]
	add	rdx, 136
	mov	edx, DWORD PTR 8[rax+rdx*4]
	movzx	eax, BYTE PTR mynum[rip]
	movsx	eax, al
	cmp	edx, eax
	jne	.L513
	mov	rax, QWORD PTR -48[rbp]
	mov	rdi, rax
	mov	eax, 0
	call	pset
.L513:
	add	QWORD PTR -48[rbp], 1
.L512:
	cmp	QWORD PTR -48[rbp], 38
	jle	.L514
	mov	eax, 0
	call	prompt
.L511:
	mov	eax, DWORD PTR inchar[rip]
	cmp	eax, -1
	je	.L516
	mov	eax, 0
	call	prompt
	jmp	.L516
	.cfi_endproc
.LFE69:
	.size	main, .-main
	.local	buf.0
	.comm	buf.0,30,16
	.section	.rodata
	.align 8
.LC54:
	.long	0
	.long	1073741824
	.align 4
.LC55:
	.long	1065353216
	.align 16
.LC56:
	.long	-2147483648
	.long	0
	.long	0
	.long	0
	.align 8
.LC57:
	.long	-755914244
	.long	1062232653
	.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	"301603.c"
	.text
	.comm	sm,4,4
	.comm	shmid,4,4
	.comm	inchar,4,4
	.comm	stack,792,4
	.comm	toggle,4,4
	.comm	twice,4,4
	.comm	pirsiz,4,4
	.comm	pirflt,4,4
	.comm	events,396,4
	.comm	pirtim,4,4
	.comm	myp,4,4
	.comm	mypn,4,4
	.comm	mykb,4,4
	.comm	watch,1,1
	.comm	vtmode,1,1
	.comm	ansi,1,1
	.comm	vtloo,1,1
	.comm	mymes,1,1
	.comm	mycom,1,1
	.comm	mynum,1,1
	.comm	home,1,1
	.comm	awetow,1,1
	.comm	numpl,40,4
	.comm	numpr,40,4
	.comm	numsh,40,4
	.comm	scr,80,4
	.comm	scr2,30,4
	.comm	game_len,4,4
	.comm	lsttim,4,4
	.comm	x_siz,1,1
	.comm	y_siz,1,1
	.comm	z_siz,1,1
	.comm	prod_time,4,4
	.comm	trav_time,4,4
	.comm	GID,4,4
	.comm	UID,4,4
	.comm	flags,4,4
	.comm	flagsave,4,4
	.comm	tdes,60,4
	.comm	tsave,60,4
	.comm	inbuf,2,4
	.comm	inlen,4,4
	.align	2
	.global	initterm
	.syntax unified
	.arm
	.fpu softvfp
	.type	initterm, %function
initterm:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	mov	r2, #0
	mov	r1, #3
	mov	r0, #0
	bl	fcntl
	mov	r3, r0
	ldr	r2, .L2
	str	r3, [r2]
	ldr	r3, .L2
	ldr	r3, [r3]
	ldr	r2, .L2+4
	str	r3, [r2]
	ldr	r1, .L2+8
	mov	r0, #0
	bl	tcgetattr
	ldr	r1, .L2+12
	mov	r0, #0
	bl	tcgetattr
	ldr	r3, .L2+8
	ldr	r3, [r3, #12]
	bic	r3, r3, #2
	ldr	r2, .L2+8
	str	r3, [r2, #12]
	ldr	r3, .L2+8
	mov	r2, #1
	strb	r2, [r3, #23]
	ldr	r3, .L2+8
	mov	r2, #2
	strb	r2, [r3, #22]
	ldr	r2, .L2+8
	mov	r1, #0
	mov	r0, #0
	bl	tcsetattr
	ldr	r3, .L2
	ldr	r3, [r3]
	bic	r3, r3, #2048
	mov	r2, r3
	mov	r1, #4
	mov	r0, #0
	bl	fcntl
	nop
	mov	r0, r3
	pop	{fp, pc}
.L3:
	.align	2
.L2:
	.word	flags
	.word	flagsave
	.word	tdes
	.word	tsave
	.size	initterm, .-initterm
	.align	2
	.global	restterm
	.syntax unified
	.arm
	.fpu softvfp
	.type	restterm, %function
restterm:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r3, .L5
	ldr	r3, [r3]
	mov	r2, r3
	mov	r1, #4
	mov	r0, #0
	bl	fcntl
	ldr	r2, .L5+4
	mov	r1, #0
	mov	r0, #0
	bl	tcsetattr
	nop
	mov	r0, r3
	pop	{fp, pc}
.L6:
	.align	2
.L5:
	.word	flagsave
	.word	tsave
	.size	restterm, .-restterm
	.align	2
	.global	getch
	.syntax unified
	.arm
	.fpu softvfp
	.type	getch, %function
getch:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	ldr	r3, .L11
	ldr	r3, [r3]
	mov	r0, r3
	bl	fileno
	ldr	r3, .L11+4
	ldr	r3, [r3]
	orr	r3, r3, #2048
	mov	r2, r3
	mov	r1, #4
	bl	fcntl
	ldr	r3, .L11+8
	mov	r2, #0
	strb	r2, [r3]
	mov	r3, #0
	strb	r3, [fp, #-5]
	ldr	r3, .L11
	ldr	r3, [r3]
	mov	r0, r3
	bl	fileno
	mov	r3, r0
	mov	r2, #1
	ldr	r1, .L11+8
	mov	r0, r3
	bl	read
	mov	r3, r0
	ldr	r2, .L11+12
	str	r3, [r2]
	ldr	r3, .L11+12
	ldr	r3, [r3]
	cmp	r3, #0
	bgt	.L8
	mvn	r3, #0
	strb	r3, [fp, #-5]
	b	.L9
.L8:
	ldr	r3, .L11+8
	ldrb	r3, [r3]
	strb	r3, [fp, #-5]
.L9:
	ldr	r3, .L11
	ldr	r3, [r3]
	mov	r0, r3
	bl	fileno
	ldr	r3, .L11+4
	ldr	r3, [r3]
	mov	r2, r3
	mov	r1, #4
	bl	fcntl
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L12:
	.align	2
.L11:
	.word	stdin
	.word	flags
	.word	inbuf
	.word	inlen
	.size	getch, .-getch
	.align	2
	.global	getchr
	.syntax unified
	.arm
	.fpu softvfp
	.type	getchr, %function
getchr:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	ldr	r3, .L16
	ldr	r3, [r3]
	mov	r0, r3
	bl	fileno
	ldr	r3, .L16+4
	ldr	r3, [r3]
	orr	r3, r3, #2048
	mov	r2, r3
	mov	r1, #4
	bl	fcntl
	nop
.L14:
	ldr	r3, .L16
	ldr	r3, [r3]
	mov	r0, r3
	bl	fileno
	mov	r3, r0
	mov	r2, #1
	ldr	r1, .L16+8
	mov	r0, r3
	bl	read
	mov	r3, r0
	cmp	r3, #0
	ble	.L14
	ldr	r3, .L16
	ldr	r3, [r3]
	mov	r0, r3
	bl	fileno
	ldr	r3, .L16+4
	ldr	r3, [r3]
	mov	r2, r3
	mov	r1, #4
	bl	fcntl
	ldr	r3, .L16+8
	ldrb	r3, [r3]
	strb	r3, [fp, #-5]
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L17:
	.align	2
.L16:
	.word	stdin
	.word	flags
	.word	inbuf
	.size	getchr, .-getchr
	.section	.rodata
	.align	2
.LC0:
	.ascii	"\012Galcon Segment available.  Attaching\000"
	.align	2
.LC1:
	.ascii	"\012Creating new Galcon segment...\000"
	.align	2
.LC2:
	.ascii	"Can't change GID of Main\000"
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	get_main_region
	.syntax unified
	.arm
	.fpu softvfp
	.type	get_main_region, %function
get_main_region:
	@ args = 0, pretend = 0, frame = 96
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #96
	ldr	r3, .L23
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	bl	getuid
	mov	r3, r0
	str	r3, [fp, #-100]
	bl	getgid
	mov	r3, r0
	str	r3, [fp, #-96]
	mov	r0, #0
	bl	setuid
	mov	r0, #0
	bl	setgid
	ldr	r2, .L23+4
	ldr	r1, .L23+8
	ldr	r0, .L23+12
	bl	shmget
	mov	r3, r0
	ldr	r2, .L23+16
	str	r3, [r2]
	ldr	r3, .L23+16
	ldr	r3, [r3]
	cmp	r3, #0
	bge	.L19
	ldr	r0, .L23+20
	bl	puts
	mov	r2, #0
	ldr	r1, .L23+8
	ldr	r0, .L23+12
	bl	shmget
	mov	r3, r0
	ldr	r2, .L23+16
	str	r3, [r2]
	b	.L20
.L19:
	ldr	r0, .L23+24
	bl	printf
	ldr	r3, .L23+16
	ldr	r3, [r3]
	sub	r2, fp, #92
	mov	r1, #2
	mov	r0, r3
	bl	shmctl
	mov	r3, #100
	str	r3, [fp, #-84]
	ldr	r3, .L23+16
	ldr	r3, [r3]
	sub	r2, fp, #92
	mov	r1, #1
	mov	r0, r3
	bl	shmctl
	mov	r3, r0
	cmp	r3, #0
	beq	.L20
	ldr	r0, .L23+28
	bl	perror
	mov	r0, #0
	bl	exit
.L20:
	ldr	r3, [fp, #-100]
	mov	r0, r3
	bl	setuid
	ldr	r3, [fp, #-96]
	mov	r0, r3
	bl	setgid
	ldr	r3, .L23+16
	ldr	r3, [r3]
	mov	r2, #0
	mov	r1, #0
	mov	r0, r3
	bl	shmat
	mov	r3, r0
	ldr	r2, .L23
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L22
	bl	__stack_chk_fail
.L22:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L24:
	.align	2
.L23:
	.word	.LC3
	.word	2040
	.word	2536
	.word	1002
	.word	shmid
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.size	get_main_region, .-get_main_region
	.align	2
	.global	detach
	.syntax unified
	.arm
	.fpu softvfp
	.type	detach, %function
detach:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r3, .L26
	ldr	r3, [r3]
	mov	r0, r3
	bl	shmdt
	nop
	pop	{fp, pc}
.L27:
	.align	2
.L26:
	.word	sm
	.size	detach, .-detach
	.section	.rodata
	.align	2
.LC4:
	.ascii	"%02ld.%02ld\000"
	.text
	.align	2
	.global	sdate
	.syntax unified
	.arm
	.fpu softvfp
	.type	sdate, %function
sdate:
	@ 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, #-24]
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	bne	.L29
	mov	r0, #0
	bl	time
	mov	r2, r0
	ldr	r3, .L32
	ldr	r3, [r3]
	ldr	r3, [r3]
	sub	r3, r2, r3
	str	r3, [fp, #-16]
	b	.L30
.L29:
	ldr	r3, .L32
	ldr	r3, [r3]
	ldr	r3, [r3]
	ldr	r2, [fp, #-24]
	sub	r3, r2, r3
	str	r3, [fp, #-16]
.L30:
	ldr	r3, [fp, #-16]
	ldr	r2, .L32+4
	smull	r1, r2, r3, r2
	add	r2, r2, r3
	asr	r2, r2, #5
	asr	r3, r3, #31
	sub	r3, r2, r3
	str	r3, [fp, #-12]
	ldr	r2, [fp, #-16]
	ldr	r3, .L32+4
	smull	r1, r3, r2, r3
	add	r3, r3, r2
	asr	r1, r3, #5
	asr	r3, r2, #31
	sub	r1, r1, r3
	mov	r3, r1
	lsl	r3, r3, #4
	sub	r3, r3, r1
	lsl	r3, r3, #2
	sub	r3, r2, r3
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-12]
	ldr	r1, .L32+8
	ldr	r0, .L32+12
	bl	sprintf
	ldr	r3, .L32+12
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L33:
	.align	2
.L32:
	.word	sm
	.word	-2004318071
	.word	.LC4
	.word	buf.6580
	.size	sdate, .-sdate
	.align	2
	.global	setrand
	.syntax unified
	.arm
	.fpu softvfp
	.type	setrand, %function
setrand:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	bl	getpid
	mov	r4, r0
	mov	r0, #0
	bl	time
	mov	r3, r0
	add	r3, r4, r3
	mov	r0, r3
	bl	srand
	nop
	mov	r0, r3
	pop	{r4, r5, fp, pc}
	.size	setrand, .-setrand
	.global	__aeabi_idivmod
	.align	2
	.global	irand
	.syntax unified
	.arm
	.fpu softvfp
	.type	irand, %function
irand:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	bl	rand
	mov	r3, r0
	ldr	r1, [fp, #-8]
	mov	r0, r3
	bl	__aeabi_idivmod
	mov	r3, r1
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	irand, .-irand
	.align	2
	.global	prandom
	.syntax unified
	.arm
	.fpu softvfp
	.type	prandom, %function
prandom:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	bl	rand
	mov	r3, r0
	ldr	r1, [fp, #-8]
	mov	r0, r3
	bl	__aeabi_idivmod
	mov	r3, r1
	add	r3, r3, #1
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	prandom, .-prandom
	.section	.rodata
	.align	2
.LC5:
	.ascii	"\012You have lost this round.\000"
	.align	2
.LC6:
	.ascii	"\012You have completely won the war!!\000"
	.align	2
.LC7:
	.ascii	"\012The War is Over. . .\000"
	.align	2
.LC8:
	.ascii	"\012The points break down as follows:\000"
	.align	2
.LC9:
	.ascii	"%20s] Planets:%3d production:%4d Ships:%5d  Score:%"
	.ascii	"6d\012\000"
	.text
	.align	2
	.global	chkend
	.syntax unified
	.arm
	.fpu softvfp
	.type	chkend, %function
chkend:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #28
	mov	r3, #0
	str	r3, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-16]
	ldr	r3, .L62
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L40
	mov	r3, #0
	str	r3, [fp, #-24]
	b	.L41
.L43:
	ldr	r3, .L62+4
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	add	r3, r3, #128
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3, #4]
	ldr	r2, .L62+8
	ldrb	r2, [r2]	@ zero_extendqisi2
	cmp	r3, r2
	bne	.L42
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L42:
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L41:
	ldr	r3, [fp, #-24]
	cmp	r3, #38
	ble	.L43
	mov	r3, #0
	str	r3, [fp, #-24]
	b	.L44
.L46:
	ldr	r2, .L62+12
	ldr	r3, [fp, #-24]
	ldr	r3, [r2, r3, lsl #3]
	cmp	r3, #0
	beq	.L45
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L45:
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L44:
	ldr	r3, [fp, #-24]
	cmp	r3, #98
	ble	.L46
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bne	.L47
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L47
	ldr	r0, .L62+16
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-24]
	b	.L48
.L49:
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L48:
	ldr	r3, .L62+4
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	add	r3, r3, #300
	add	r3, r3, #2
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3, #4]
	cmp	r3, #0
	bne	.L49
	ldr	r3, .L62+4
	ldr	r1, [r3]
	ldr	r3, .L62+20
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	add	r3, r3, #300
	add	r3, r3, #2
	lsl	r3, r3, #2
	add	r3, r1, r3
	str	r2, [r3, #4]
	ldr	r3, .L62+4
	ldr	r1, [r3]
	ldr	r3, .L62+24
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	add	r3, r3, #320
	add	r3, r3, #2
	lsl	r3, r3, #2
	add	r3, r1, r3
	str	r2, [r3, #4]
	bl	restterm
	mov	r0, #0
	bl	exit
.L47:
	ldr	r3, [fp, #-20]
	cmp	r3, #39
	bne	.L40
	ldr	r0, .L62+28
	bl	puts
	ldr	r3, .L62+4
	ldr	r3, [r3]
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, .L62
	mov	r2, #1
	strb	r2, [r3]
	ldr	r3, .L62+4
	ldr	r3, [r3]
	mov	r2, #0
	str	r2, [r3, #996]
	bl	chkend
.L40:
	mov	r0, #0
	bl	time
	mov	r1, r0
	ldr	r3, .L62+4
	ldr	r3, [r3]
	ldr	r2, [r3]
	ldr	r3, .L62+32
	ldr	r3, [r3]
	add	r3, r2, r3
	cmp	r1, r3
	bge	.L50
	mov	r3, #0
	b	.L61
.L50:
	ldr	r3, .L62+36
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L52
	bl	nrmscr
	bl	cls
.L52:
	ldr	r0, .L62+40
	bl	printf
	ldr	r0, .L62+44
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-24]
	b	.L53
.L54:
	ldr	r2, .L62+48
	ldr	r3, [fp, #-24]
	mov	r1, #0
	str	r1, [r2, r3, lsl #2]
	ldr	r2, .L62+52
	ldr	r3, [fp, #-24]
	mov	r1, #0
	str	r1, [r2, r3, lsl #2]
	ldr	r3, .L62+56
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L53:
	ldr	r3, [fp, #-24]
	cmp	r3, #9
	ble	.L54
	mov	r3, #0
	str	r3, [fp, #-24]
	b	.L55
.L57:
	ldr	r3, .L62+4
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	add	r3, r3, #128
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3, #4]
	cmn	r3, #1
	beq	.L56
	ldr	r3, .L62+4
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	add	r3, r3, #128
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3, #4]
	ldr	r2, .L62+48
	ldr	r2, [r2, r3, lsl #2]
	add	r2, r2, #1
	ldr	r1, .L62+48
	str	r2, [r1, r3, lsl #2]
	ldr	r3, .L62+4
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	add	r3, r3, #128
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3, #4]
	ldr	r2, .L62+52
	ldr	r1, [r2, r3, lsl #2]
	ldr	r3, .L62+4
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	add	r3, r3, #168
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [r3, #4]
	ldr	r3, .L62+4
	ldr	r0, [r3]
	ldr	r3, [fp, #-24]
	add	r3, r3, #128
	lsl	r3, r3, #2
	add	r3, r0, r3
	ldr	r3, [r3, #4]
	add	r2, r1, r2
	ldr	r1, .L62+52
	str	r2, [r1, r3, lsl #2]
	ldr	r3, .L62+4
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	add	r3, r3, #128
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3, #4]
	ldr	r2, .L62+56
	ldr	r1, [r2, r3, lsl #2]
	ldr	r3, .L62+4
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	add	r3, r3, #208
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [r3, #4]
	ldr	r3, .L62+4
	ldr	r0, [r3]
	ldr	r3, [fp, #-24]
	add	r3, r3, #128
	lsl	r3, r3, #2
	add	r3, r0, r3
	ldr	r3, [r3, #4]
	add	r2, r1, r2
	ldr	r1, .L62+56
	str	r2, [r1, r3, lsl #2]
.L56:
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L55:
	ldr	r3, [fp, #-24]
	cmp	r3, #38
	ble	.L57
	mov	r3, #0
	str	r3, [fp, #-24]
	b	.L58
.L60:
	ldr	r3, .L62+4
	ldr	r1, [r3]
	ldr	r2, [fp, #-24]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #1568
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L59
	ldr	r3, .L62+4
	ldr	r1, [r3]
	ldr	r2, [fp, #-24]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #1568
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #1
	beq	.L59
	ldr	r3, .L62+4
	ldr	r1, [r3]
	ldr	r2, [fp, #-24]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, #1568
	add	r0, r1, r3
	ldr	r2, .L62+48
	ldr	r3, [fp, #-24]
	ldr	ip, [r2, r3, lsl #2]
	ldr	r2, .L62+52
	ldr	r3, [fp, #-24]
	ldr	lr, [r2, r3, lsl #2]
	ldr	r2, .L62+56
	ldr	r3, [fp, #-24]
	ldr	r1, [r2, r3, lsl #2]
	ldr	r2, .L62+48
	ldr	r3, [fp, #-24]
	ldr	r2, [r2, r3, lsl #2]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	mov	r4, r3
	ldr	r2, .L62+52
	ldr	r3, [fp, #-24]
	ldr	r2, [r2, r3, lsl #2]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	add	r2, r4, r3
	ldr	r4, .L62+56
	ldr	r3, [fp, #-24]
	ldr	r3, [r4, r3, lsl #2]
	add	r3, r2, r3
	str	r3, [sp, #4]
	str	r1, [sp]
	mov	r3, lr
	mov	r2, ip
	mov	r1, r0
	ldr	r0, .L62+60
	bl	printf
.L59:
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L58:
	ldr	r3, [fp, #-24]
	cmp	r3, #9
	ble	.L60
	ldr	r3, .L62+4
	ldr	r3, [r3]
	ldr	r2, [r3, #996]
	sub	r2, r2, #1
	str	r2, [r3, #996]
	bl	restterm
	mov	r0, #0
	bl	exit
.L61:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L63:
	.align	2
.L62:
	.word	watch
	.word	sm
	.word	mynum
	.word	stack
	.word	.LC5
	.word	myp
	.word	mypn
	.word	.LC6
	.word	game_len
	.word	vtmode
	.word	.LC7
	.word	.LC8
	.word	numpl
	.word	numpr
	.word	numsh
	.word	.LC9
	.size	chkend, .-chkend
	.section	.rodata
	.align	2
.LC10:
	.ascii	"Player #%d %20s]\012\000"
	.align	2
.LC11:
	.ascii	"\012* Denotes an observer\000"
	.text
	.align	2
	.global	who
	.syntax unified
	.arm
	.fpu softvfp
	.type	who, %function
who:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L65
.L67:
	ldr	r3, .L68
	ldr	r1, [r3]
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #1568
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L66
	ldr	r3, .L68
	ldr	r1, [r3]
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, #1568
	add	r3, r1, r3
	mov	r2, r3
	ldr	r1, [fp, #-8]
	ldr	r0, .L68+4
	bl	printf
.L66:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L65:
	ldr	r3, [fp, #-8]
	cmp	r3, #7
	ble	.L67
	ldr	r0, .L68+8
	bl	puts
	nop
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L69:
	.align	2
.L68:
	.word	sm
	.word	.LC10
	.word	.LC11
	.size	who, .-who
	.section	.rodata
	.align	2
.LC12:
	.ascii	"\012Command: \000"
	.text
	.align	2
	.global	prompt
	.syntax unified
	.arm
	.fpu softvfp
	.type	prompt, %function
prompt:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r3, .L73
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L71
	mov	r1, #16
	mov	r0, #14
	bl	gotoxy
	b	.L72
.L71:
	ldr	r0, .L73+4
	bl	printf
.L72:
	ldr	r3, .L73+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	nop
	mov	r0, r3
	pop	{fp, pc}
.L74:
	.align	2
.L73:
	.word	vtmode
	.word	.LC12
	.word	stdout
	.size	prompt, .-prompt
	.section	.rodata
	.align	2
.LC13:
	.ascii	"  \007#%2d %s] has left the battle.\000"
	.align	2
.LC14:
	.ascii	"  \007#%2d %s] has terminated observation.\000"
	.align	2
.LC15:
	.ascii	"\012Bye Bye\000"
	.text
	.align	2
	.global	wrapup
	.syntax unified
	.arm
	.fpu softvfp
	.type	wrapup, %function
wrapup:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #12
	ldr	r3, .L87
	ldr	r2, [r3]
	ldr	r3, .L87+4
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r1, r3
	mov	r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r1
	lsl	r3, r3, #2
	add	r3, r2, r3
	add	r3, r3, #1568
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #1
	beq	.L76
	bl	lock
	ldr	r3, .L87
	ldr	r3, [r3]
	ldr	r3, [r3, #1124]
	add	r3, r3, #1
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #4
	ble	.L77
	mov	r3, #0
	str	r3, [fp, #-16]
.L77:
	ldr	r3, .L87+8
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L78
	ldr	r3, .L87
	ldr	r1, [r3]
	ldr	r2, [fp, #-16]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, #1760
	add	r3, r3, #8
	add	r0, r1, r3
	ldr	r3, .L87+4
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	ip, r3
	ldr	r3, .L87
	ldr	r2, [r3]
	ldr	r3, .L87+4
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r1, r3
	mov	r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r1
	lsl	r3, r3, #2
	add	r3, r3, #1568
	add	r3, r2, r3
	mov	r2, ip
	ldr	r1, .L87+12
	bl	sprintf
	ldr	r3, .L87
	ldr	r1, [r3]
	ldr	r2, [fp, #-16]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #1760
	add	r3, r3, #9
	mov	r2, #88
	strb	r2, [r3]
	b	.L79
.L78:
	ldr	r3, .L87
	ldr	r1, [r3]
	ldr	r2, [fp, #-16]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, #1760
	add	r3, r3, #8
	add	r0, r1, r3
	ldr	r3, .L87+4
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	ip, r3
	ldr	r3, .L87
	ldr	r2, [r3]
	ldr	r3, .L87+4
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r1, r3
	mov	r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r1
	lsl	r3, r3, #2
	add	r3, r3, #1568
	add	r3, r2, r3
	mov	r2, ip
	ldr	r1, .L87+16
	bl	sprintf
	ldr	r3, .L87
	ldr	r1, [r3]
	ldr	r2, [fp, #-16]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #1760
	add	r3, r3, #9
	mov	r2, #79
	strb	r2, [r3]
.L79:
	ldr	r3, .L87
	ldr	r1, [r3]
	ldr	r3, .L87+4
	ldrb	r0, [r3]	@ zero_extendqisi2
	ldr	r2, [fp, #-16]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #1760
	add	r3, r3, #8
	mov	r2, r0
	strb	r2, [r3]
	ldr	r3, .L87
	ldr	r3, [r3]
	ldr	r2, [fp, #-16]
	str	r2, [r3, #1124]
	ldr	r3, .L87
	ldr	r3, [r3]
	ldr	r2, [r3, #1120]
	sub	r2, r2, #1
	str	r2, [r3, #1120]
.L76:
	ldr	r3, .L87+20
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L80
	bl	nrmscr
	bl	cls
.L80:
	ldr	r3, .L87+24
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L81
	ldr	r3, .L87
	ldr	r3, [r3]
	ldr	r3, [r3, #1056]
	cmp	r3, #0
	bne	.L81
	ldr	r3, .L87+8
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L81
	mov	r3, #0
	str	r3, [fp, #-20]
	b	.L82
.L83:
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L82:
	ldr	r3, .L87
	ldr	r3, [r3]
	ldr	r2, [fp, #-20]
	add	r2, r2, #250
	ldr	r3, [r3, r2, lsl #2]
	cmp	r3, #0
	bne	.L83
	ldr	r3, .L87
	ldr	r3, [r3]
	ldr	r2, .L87+28
	ldr	r1, [r2]
	ldr	r2, [fp, #-20]
	add	r2, r2, #250
	str	r1, [r3, r2, lsl #2]
	ldr	r3, .L87
	ldr	r1, [r3]
	ldr	r3, .L87+32
	ldr	r2, [r3]
	ldr	r3, [fp, #-20]
	add	r3, r3, #264
	lsl	r3, r3, #2
	add	r3, r1, r3
	str	r2, [r3, #4]
.L81:
	mov	r3, #0
	str	r3, [fp, #-20]
	b	.L84
.L86:
	ldr	r3, .L87
	ldr	r2, [r3]
	ldr	r3, [fp, #-20]
	add	r3, r3, #128
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3, #4]
	ldr	r2, .L87+4
	ldrb	r2, [r2]	@ zero_extendqisi2
	cmp	r3, r2
	bne	.L85
	ldr	r3, .L87
	ldr	r2, [r3]
	ldr	r3, [fp, #-20]
	add	r3, r3, #128
	lsl	r3, r3, #2
	add	r3, r2, r3
	mvn	r2, #0
	str	r2, [r3, #4]
	ldr	r3, .L87
	ldr	r2, [r3]
	ldr	r3, [fp, #-20]
	add	r3, r3, #168
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3, #4]
	cmp	r3, #10
	beq	.L85
	ldr	r3, .L87
	ldr	r4, [r3]
	mov	r0, #10
	bl	prandom
	mov	r2, r0
	ldr	r3, [fp, #-20]
	add	r3, r3, #168
	lsl	r3, r3, #2
	add	r3, r4, r3
	str	r2, [r3, #4]
.L85:
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L84:
	ldr	r3, [fp, #-20]
	cmp	r3, #38
	ble	.L86
	ldr	r3, .L87
	ldr	r2, [r3]
	ldr	r3, .L87+4
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r1, r3
	mov	r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r1
	lsl	r3, r3, #2
	add	r3, r2, r3
	add	r3, r3, #1568
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, .L87
	ldr	r3, [r3]
	ldr	r2, [r3, #996]
	sub	r2, r2, #1
	str	r2, [r3, #996]
	bl	detach
	bl	offprivs
	bl	restterm
	ldr	r0, .L87+36
	bl	puts
	mov	r0, #1
	bl	exit
.L88:
	.align	2
.L87:
	.word	sm
	.word	mynum
	.word	watch
	.word	.LC13
	.word	.LC14
	.word	vtmode
	.word	twice
	.word	myp
	.word	mypn
	.word	.LC15
	.size	wrapup, .-wrapup
	.section	.rodata
	.align	2
.LC16:
	.ascii	"\012Summary of player #:\000"
	.align	2
.LC17:
	.ascii	"Name: %s]\012\000"
	.align	2
.LC18:
	.ascii	"Planet #%2d  Distance from #%2d = %4d\012\000"
	.align	2
.LC19:
	.ascii	"\012NOTE: You no longer control your home world!\000"
	.align	2
.LC20:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	individual
	.syntax unified
	.arm
	.fpu softvfp
	.type	individual, %function
individual:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #20
	ldr	r3, .L96
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	ldr	r0, .L96+4
	bl	printf
	sub	r3, fp, #24
	mov	r0, r3
	bl	getnum
	str	r0, [fp, #-20]
	mov	r0, #10
	bl	putchar
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	ble	.L90
	ldr	r3, [fp, #-24]
	cmp	r3, #9
	bgt	.L90
	ldr	r3, .L96+8
	ldr	r1, [r3]
	ldr	r2, [fp, #-24]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, #1568
	add	r3, r1, r3
	mov	r1, r3
	ldr	r0, .L96+12
	bl	printf
.L90:
	mov	r3, #0
	str	r3, [fp, #-20]
	b	.L91
.L93:
	ldr	r3, .L96+8
	ldr	r2, [r3]
	ldr	r3, [fp, #-20]
	add	r3, r3, #128
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-24]
	cmp	r2, r3
	bne	.L92
	ldr	r3, .L96+16
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r4, r3
	ldr	r3, .L96+16
	ldrb	r3, [r3]	@ zero_extendqisi2
	ldr	r1, [fp, #-20]
	mov	r0, r3
	bl	prange
	mov	r3, r0
	mov	r2, r4
	ldr	r1, [fp, #-20]
	ldr	r0, .L96+20
	bl	printf
.L92:
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L91:
	ldr	r3, [fp, #-20]
	cmp	r3, #38
	ble	.L93
	ldr	r3, .L96+8
	ldr	r2, [r3]
	ldr	r3, .L96+16
	ldrb	r3, [r3]	@ zero_extendqisi2
	add	r3, r3, #128
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3, #4]
	ldr	r2, .L96+24
	ldrb	r2, [r2]	@ zero_extendqisi2
	cmp	r3, r2
	beq	.L94
	ldr	r0, .L96+28
	bl	puts
.L94:
	nop
	ldr	r2, .L96
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L95
	bl	__stack_chk_fail
.L95:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L97:
	.align	2
.L96:
	.word	.LC20
	.word	.LC16
	.word	sm
	.word	.LC17
	.word	home
	.word	.LC18
	.word	mynum
	.word	.LC19
	.size	individual, .-individual
	.section	.rodata
	.align	2
.LC21:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	setup
	.syntax unified
	.arm
	.fpu softvfp
	.type	setup, %function
setup:
	@ args = 0, pretend = 0, frame = 288
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #292
	ldr	r3, .L118
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	ldr	r3, .L118+4
	ldr	r2, [r3]
	mov	r3, #0
	str	r3, [r2, #1120]
	ldr	r3, .L118+4
	ldr	r3, [r3]
	ldr	r2, [r2, #1120]
	str	r2, [r3, #1208]
	ldr	r2, .L118+4
	ldr	r2, [r2]
	ldr	r3, [r3, #1208]
	str	r3, [r2, #1124]
	ldr	r3, .L118+4
	ldr	r4, [r3]
	mov	r0, #0
	bl	time
	mov	r3, r0
	str	r3, [r4]
	mov	r3, #0
	str	r3, [fp, #-300]
	b	.L99
.L100:
	ldr	r3, .L118+4
	ldr	r1, [r3]
	ldr	r2, [fp, #-300]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #1568
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-300]
	add	r3, r3, #1
	str	r3, [fp, #-300]
.L99:
	ldr	r3, [fp, #-300]
	cmp	r3, #9
	ble	.L100
	mov	r3, #0
	str	r3, [fp, #-300]
	b	.L101
.L102:
	ldr	r3, .L118+4
	ldr	r2, [r3]
	ldr	r3, [fp, #-300]
	add	r3, r3, #300
	add	r3, r3, #2
	lsl	r3, r3, #2
	add	r3, r2, r3
	mov	r2, #0
	str	r2, [r3, #4]
	ldr	r3, [fp, #-300]
	add	r3, r3, #1
	str	r3, [fp, #-300]
.L101:
	ldr	r3, [fp, #-300]
	cmp	r3, #19
	ble	.L102
	mov	r3, #0
	str	r3, [fp, #-300]
	b	.L103
.L104:
	ldr	r3, .L118+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-300]
	add	r2, r2, #250
	mov	r1, #0
	str	r1, [r3, r2, lsl #2]
	ldr	r3, [fp, #-300]
	add	r3, r3, #1
	str	r3, [fp, #-300]
.L103:
	ldr	r3, [fp, #-300]
	cmp	r3, #14
	ble	.L104
	mov	r3, #1
	str	r3, [fp, #-300]
	b	.L105
.L108:
	mov	r3, #1
	str	r3, [fp, #-292]
	b	.L106
.L107:
	ldr	r3, .L118+4
	ldr	r2, [r3]
	ldr	r3, [fp, #-300]
	lsl	r3, r3, #4
	add	r2, r2, r3
	ldr	r3, [fp, #-292]
	add	r3, r2, r3
	add	r3, r3, #2272
	add	r3, r3, #6
	mvn	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-300]
	lsl	r3, r3, #4
	sub	r2, fp, #12
	add	r2, r2, r3
	ldr	r3, [fp, #-292]
	add	r3, r2, r3
	sub	r3, r3, #260
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-292]
	add	r3, r3, #1
	str	r3, [fp, #-292]
.L106:
	ldr	r3, [fp, #-292]
	cmp	r3, #15
	ble	.L107
	ldr	r3, [fp, #-300]
	add	r3, r3, #1
	str	r3, [fp, #-300]
.L105:
	ldr	r3, [fp, #-300]
	cmp	r3, #15
	ble	.L108
	mov	r3, #0
	str	r3, [fp, #-300]
	b	.L109
.L112:
	ldr	r3, .L118+4
	ldr	r2, [r3]
	ldr	r3, [fp, #-300]
	add	r3, r3, #128
	lsl	r3, r3, #2
	add	r3, r2, r3
	mvn	r2, #0
	str	r2, [r3, #4]
	mov	r3, #0
	str	r3, [fp, #-296]
	b	.L110
.L111:
	ldr	r3, .L118+8
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r0, r3
	bl	prandom
	str	r0, [fp, #-280]
	ldr	r3, .L118+12
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r0, r3
	bl	prandom
	str	r0, [fp, #-276]
	ldr	r3, [fp, #-280]
	add	r2, r3, #1
	ldr	r3, [fp, #-276]
	add	r3, r3, #1
	lsl	r2, r2, #4
	sub	r1, fp, #12
	add	r2, r1, r2
	add	r3, r2, r3
	sub	r3, r3, #260
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L110
	ldr	r3, .L118+4
	ldr	r2, [r3]
	ldr	r3, [fp, #-300]
	add	r3, r3, #8
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [fp, #-280]
	str	r2, [r3, #4]
	ldr	r3, .L118+4
	ldr	r2, [r3]
	ldr	r3, [fp, #-300]
	add	r3, r3, #48
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [fp, #-276]
	str	r2, [r3, #4]
	ldr	r3, [fp, #-280]
	add	r2, r3, #1
	ldr	r3, [fp, #-276]
	add	r3, r3, #1
	lsl	r2, r2, #4
	sub	r1, fp, #12
	add	r2, r1, r2
	add	r3, r2, r3
	sub	r3, r3, #260
	mov	r2, #1
	strb	r2, [r3]
	mov	r3, #1
	str	r3, [fp, #-296]
.L110:
	ldr	r3, [fp, #-296]
	cmp	r3, #0
	beq	.L111
	mov	r3, #0
	str	r3, [fp, #-296]
	ldr	r3, .L118+4
	ldr	r2, [r3]
	ldr	r3, [fp, #-300]
	add	r3, r3, #8
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3, #4]
	str	r3, [fp, #-288]
	ldr	r3, .L118+4
	ldr	r2, [r3]
	ldr	r3, [fp, #-300]
	add	r3, r3, #48
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3, #4]
	str	r3, [fp, #-284]
	ldr	r3, .L118+16
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, .L118+4
	ldr	r4, [r3]
	mov	r0, r2
	bl	prandom
	mov	r2, r0
	ldr	r3, [fp, #-300]
	add	r3, r3, #88
	lsl	r3, r3, #2
	add	r3, r4, r3
	str	r2, [r3, #4]
	ldr	r3, .L118+4
	ldr	r4, [r3]
	mov	r0, #10
	bl	prandom
	mov	r2, r0
	ldr	r3, [fp, #-300]
	add	r3, r3, #168
	lsl	r3, r3, #2
	add	r3, r4, r3
	str	r2, [r3, #4]
	ldr	r3, .L118+4
	ldr	r4, [r3]
	mov	r0, #0
	bl	time
	mov	r2, r0
	ldr	r3, [fp, #-300]
	add	r3, r3, #340
	add	r3, r3, #2
	lsl	r3, r3, #2
	add	r3, r4, r3
	str	r2, [r3, #4]
	ldr	r3, .L118+4
	ldr	r2, [r3]
	ldr	r3, [fp, #-300]
	add	r3, r3, #168
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [r3, #4]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	ldr	r2, .L118+4
	ldr	r4, [r2]
	mov	r0, r3
	bl	prandom
	mov	r2, r0
	ldr	r3, [fp, #-300]
	add	r3, r3, #208
	lsl	r3, r3, #2
	add	r3, r4, r3
	str	r2, [r3, #4]
	ldr	r3, .L118+4
	ldr	r2, [r3]
	ldr	r3, [fp, #-300]
	and	r1, r3, #255
	ldr	r3, [fp, #-288]
	lsl	r3, r3, #4
	add	r2, r2, r3
	ldr	r3, [fp, #-284]
	add	r3, r2, r3
	add	r3, r3, #2272
	add	r3, r3, #6
	mov	r2, r1
	strb	r2, [r3]
	ldr	r3, [fp, #-300]
	add	r3, r3, #1
	str	r3, [fp, #-300]
.L109:
	ldr	r3, [fp, #-300]
	cmp	r3, #38
	ble	.L112
	mov	r3, #0
	str	r3, [fp, #-300]
	b	.L113
.L114:
	mov	r0, #39
	bl	prandom
	str	r0, [fp, #-292]
	ldr	r3, .L118+4
	ldr	r2, [r3]
	ldr	r3, [fp, #-292]
	add	r3, r3, #168
	lsl	r3, r3, #2
	add	r3, r2, r3
	mov	r2, #20
	str	r2, [r3, #4]
	ldr	r3, [fp, #-300]
	add	r3, r3, #1
	str	r3, [fp, #-300]
.L113:
	ldr	r3, [fp, #-300]
	cmp	r3, #3
	ble	.L114
	mov	r3, #0
	str	r3, [fp, #-300]
	b	.L115
.L116:
	ldr	r3, .L118+4
	ldr	r1, [r3]
	ldr	r2, [fp, #-300]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #1568
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-300]
	add	r3, r3, #1
	str	r3, [fp, #-300]
.L115:
	ldr	r3, [fp, #-300]
	cmp	r3, #9
	ble	.L116
	nop
	ldr	r2, .L118
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L117
	bl	__stack_chk_fail
.L117:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L119:
	.align	2
.L118:
	.word	.LC21
	.word	sm
	.word	x_siz
	.word	y_siz
	.word	z_siz
	.size	setup, .-setup
	.section	.rodata
	.align	2
.LC22:
	.ascii	"\012Base Planet: \000"
	.align	2
.LC23:
	.ascii	"Range: \000"
	.align	2
.LC24:
	.ascii	"Planet #%3d Range=%3d \000"
	.align	2
.LC25:
	.ascii	"Own= *Neutral*\000"
	.align	2
.LC26:
	.ascii	"Own = %s]\012\000"
	.align	2
.LC27:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	area
	.syntax unified
	.arm
	.fpu softvfp
	.type	area, %function
area:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	ldr	r3, .L129
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r0, .L129+4
	bl	printf
	sub	r3, fp, #20
	mov	r0, r3
	bl	getnum
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	blt	.L121
	ldr	r3, [fp, #-20]
	cmp	r3, #38
	ble	.L122
.L121:
	mov	r3, #0
	b	.L120
.L122:
	ldr	r0, .L129+8
	bl	printf
	sub	r3, fp, #16
	mov	r0, r3
	bl	getnum
	str	r0, [fp, #-12]
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L124
.L127:
	ldr	r3, [fp, #-20]
	ldr	r1, [fp, #-12]
	mov	r0, r3
	bl	prange
	mov	r2, r0
	ldr	r3, [fp, #-16]
	cmp	r2, r3
	bgt	.L125
	ldr	r3, [fp, #-20]
	ldr	r1, [fp, #-12]
	mov	r0, r3
	bl	prange
	mov	r3, r0
	mov	r2, r3
	ldr	r1, [fp, #-12]
	ldr	r0, .L129+12
	bl	printf
	ldr	r3, .L129+16
	ldr	r2, [r3]
	ldr	r3, [fp, #-12]
	add	r3, r3, #128
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3, #4]
	cmn	r3, #1
	bne	.L126
	ldr	r0, .L129+20
	bl	puts
	b	.L125
.L126:
	ldr	r3, .L129+16
	ldr	r1, [r3]
	ldr	r3, .L129+16
	ldr	r2, [r3]
	ldr	r3, [fp, #-12]
	add	r3, r3, #128
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [r3, #4]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, #1568
	add	r3, r1, r3
	mov	r1, r3
	ldr	r0, .L129+24
	bl	printf
.L125:
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L124:
	ldr	r3, [fp, #-12]
	cmp	r3, #38
	ble	.L127
.L120:
	ldr	r2, .L129
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L128
	bl	__stack_chk_fail
.L128:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L130:
	.align	2
.L129:
	.word	.LC27
	.word	.LC22
	.word	.LC23
	.word	.LC24
	.word	sm
	.word	.LC25
	.word	.LC26
	.size	area, .-area
	.section	.rodata
	.align	2
.LC28:
	.ascii	"  %s] has been cleared.\000"
	.text
	.align	2
	.global	update
	.syntax unified
	.arm
	.fpu softvfp
	.type	update, %function
update:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	mov	r0, #0
	bl	time
	str	r0, [fp, #-8]
	ldr	r3, .L144
	ldr	r2, [r3]
	ldr	r3, .L144+4
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [fp, #-8]
	str	r2, [r3, #4]
	mov	r3, #0
	str	r3, [fp, #-20]
	b	.L132
.L138:
	ldr	r3, .L144
	ldr	r2, [r3]
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-8]
	sub	r3, r3, #420
	cmp	r2, r3
	bge	.L133
	ldr	r3, .L144
	ldr	r2, [r3]
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3, #4]
	cmp	r3, #0
	beq	.L133
	ldr	r3, .L144
	ldr	r1, [r3]
	ldr	r2, [fp, #-20]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #1568
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L133
	ldr	r3, .L144
	ldr	r2, [r3]
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #2
	add	r3, r2, r3
	mov	r2, #0
	str	r2, [r3, #4]
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L134
.L136:
	ldr	r3, .L144
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	add	r3, r3, #128
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3, #4]
	ldr	r2, [fp, #-20]
	cmp	r2, r3
	bne	.L135
	ldr	r3, .L144
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	add	r3, r3, #128
	lsl	r3, r3, #2
	add	r3, r2, r3
	mvn	r2, #0
	str	r2, [r3, #4]
.L135:
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L134:
	ldr	r3, [fp, #-16]
	cmp	r3, #37
	ble	.L136
	bl	lock
	ldr	r3, .L144
	ldr	r3, [r3]
	ldr	r3, [r3, #1124]
	add	r3, r3, #1
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #4
	ble	.L137
	mov	r3, #0
	str	r3, [fp, #-12]
.L137:
	ldr	r3, .L144
	ldr	r1, [r3]
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, #1760
	add	r3, r3, #8
	add	r0, r1, r3
	ldr	r3, .L144
	ldr	r1, [r3]
	ldr	r2, [fp, #-20]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, #1568
	add	r3, r1, r3
	mov	r2, r3
	ldr	r1, .L144+8
	bl	sprintf
	ldr	r3, .L144
	ldr	r1, [r3]
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #1760
	add	r3, r3, #9
	mov	r2, #88
	strb	r2, [r3]
	ldr	r3, .L144
	ldr	r1, [r3]
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #1760
	add	r3, r3, #8
	mov	r2, #8
	strb	r2, [r3]
	ldr	r3, .L144
	ldr	r3, [r3]
	ldr	r2, [fp, #-12]
	str	r2, [r3, #1124]
	ldr	r3, .L144
	ldr	r3, [r3]
	ldr	r2, [r3, #1120]
	sub	r2, r2, #1
	str	r2, [r3, #1120]
	ldr	r3, .L144
	ldr	r1, [r3]
	ldr	r2, [fp, #-20]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #1568
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, .L144
	ldr	r3, [r3]
	ldr	r2, [r3, #996]
	sub	r2, r2, #1
	str	r2, [r3, #996]
.L133:
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L132:
	ldr	r3, [fp, #-20]
	cmp	r3, #7
	ble	.L138
	mov	r3, #0
	str	r3, [fp, #-20]
	b	.L139
.L143:
	ldr	r3, .L144
	ldr	r2, [r3]
	ldr	r3, [fp, #-20]
	add	r3, r3, #340
	add	r3, r3, #2
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-8]
	sub	r3, r3, #45
	cmp	r2, r3
	bge	.L140
	ldr	r3, .L144
	ldr	r2, [r3]
	ldr	r3, [fp, #-20]
	add	r3, r3, #340
	add	r3, r3, #2
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [fp, #-8]
	str	r2, [r3, #4]
	ldr	r3, .L144
	ldr	r2, [r3]
	ldr	r3, [fp, #-20]
	add	r3, r3, #208
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [r3, #4]
	ldr	r3, .L144
	ldr	r1, [r3]
	ldr	r3, [fp, #-20]
	add	r3, r3, #168
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r3, [r3, #4]
	ldr	r1, .L144
	ldr	r1, [r1]
	add	r2, r2, r3
	ldr	r3, [fp, #-20]
	add	r3, r3, #208
	lsl	r3, r3, #2
	add	r3, r1, r3
	str	r2, [r3, #4]
	ldr	r3, .L144
	ldr	r2, [r3]
	ldr	r3, [fp, #-20]
	add	r3, r3, #128
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3, #4]
	cmn	r3, #1
	bne	.L141
	ldr	r3, .L144
	ldr	r2, [r3]
	ldr	r3, [fp, #-20]
	add	r3, r3, #208
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3, #4]
	cmp	r3, #250
	ble	.L141
	ldr	r3, .L144
	ldr	r2, [r3]
	ldr	r3, [fp, #-20]
	add	r3, r3, #208
	lsl	r3, r3, #2
	add	r3, r2, r3
	mov	r2, #250
	str	r2, [r3, #4]
.L141:
	ldr	r3, .L144
	ldr	r2, [r3]
	ldr	r3, [fp, #-20]
	add	r3, r3, #208
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r1, [r3, #4]
	ldr	r3, .L144
	ldr	r2, [r3]
	ldr	r3, [fp, #-20]
	add	r3, r3, #168
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [r3, #4]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	cmp	r1, r3
	ble	.L142
	ldr	r3, .L144
	ldr	r2, [r3]
	ldr	r3, [fp, #-20]
	add	r3, r3, #168
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3, #4]
	cmp	r3, #9
	bgt	.L142
	ldr	r3, .L144
	ldr	r2, [r3]
	ldr	r3, [fp, #-20]
	add	r3, r3, #168
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3, #4]
	add	r1, r3, #1
	ldr	r3, [fp, #-20]
	add	r3, r3, #168
	lsl	r3, r3, #2
	add	r3, r2, r3
	str	r1, [r3, #4]
.L142:
	ldr	r3, .L144
	ldr	r2, [r3]
	ldr	r3, [fp, #-20]
	add	r3, r3, #208
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3, #4]
	ldr	r2, .L144+12
	cmp	r3, r2
	ble	.L140
	ldr	r3, .L144
	ldr	r2, [r3]
	ldr	r3, [fp, #-20]
	add	r3, r3, #208
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, .L144+12
	str	r2, [r3, #4]
.L140:
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L139:
	ldr	r3, [fp, #-20]
	cmp	r3, #38
	ble	.L143
	nop
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L145:
	.align	2
.L144:
	.word	sm
	.word	mynum
	.word	.LC28
	.word	1500
	.size	update, .-update
	.section	.rodata
	.align	2
.LC29:
	.ascii	"\012Galaxy status at %s\012\012\000"
	.align	2
.LC30:
	.ascii	"#%2d (%2d,%2d) \000"
	.align	2
.LC31:
	.ascii	"*Neutral*\000"
	.align	2
.LC32:
	.ascii	"%s]\012\000"
	.text
	.align	2
	.global	galaxy
	.syntax unified
	.arm
	.fpu softvfp
	.type	galaxy, %function
galaxy:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	mov	r0, #0
	bl	sdate
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L151
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L147
.L150:
	ldr	r3, .L151+4
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	add	r3, r3, #8
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r1, [r3, #4]
	ldr	r3, .L151+4
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	add	r3, r3, #48
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3, #4]
	mov	r2, r1
	ldr	r1, [fp, #-8]
	ldr	r0, .L151+8
	bl	printf
	ldr	r3, .L151+4
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	add	r3, r3, #128
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3, #4]
	cmn	r3, #1
	bne	.L148
	ldr	r0, .L151+12
	bl	puts
	b	.L149
.L148:
	ldr	r3, .L151+4
	ldr	r1, [r3]
	ldr	r3, .L151+4
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	add	r3, r3, #128
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [r3, #4]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, #1568
	add	r3, r1, r3
	mov	r1, r3
	ldr	r0, .L151+16
	bl	printf
.L149:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L147:
	ldr	r3, [fp, #-8]
	cmp	r3, #38
	ble	.L150
	mov	r0, #10
	bl	putchar
	nop
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L152:
	.align	2
.L151:
	.word	.LC29
	.word	sm
	.word	.LC30
	.word	.LC31
	.word	.LC32
	.size	galaxy, .-galaxy
	.section	.rodata
	.align	2
.LC33:
	.ascii	"\012Which Planet: \000"
	.align	2
.LC34:
	.ascii	"#%2d owner= *Neutral*\012\000"
	.align	2
.LC35:
	.ascii	"#%2d owner= %s] \000"
	.align	2
.LC36:
	.ascii	" Prod:%3d Ships:%5d\012\000"
	.align	2
.LC37:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	oneplanet
	.syntax unified
	.arm
	.fpu softvfp
	.type	oneplanet, %function
oneplanet:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	ldr	r3, .L161
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mvn	r3, #0
	str	r3, [fp, #-12]
	b	.L154
.L155:
	ldr	r0, .L161+4
	bl	printf
	sub	r3, fp, #12
	mov	r0, r3
	bl	getnum
.L154:
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	blt	.L155
	ldr	r3, [fp, #-12]
	cmp	r3, #38
	bgt	.L155
	ldr	r3, .L161+8
	ldr	r2, [r3]
	ldr	r3, [fp, #-12]
	add	r3, r3, #128
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3, #4]
	cmn	r3, #1
	bne	.L156
	ldr	r3, [fp, #-12]
	mov	r1, r3
	ldr	r0, .L161+12
	bl	printf
	b	.L157
.L156:
	ldr	r0, [fp, #-12]
	ldr	r3, .L161+8
	ldr	r1, [r3]
	ldr	r3, .L161+8
	ldr	r2, [r3]
	ldr	r3, [fp, #-12]
	add	r3, r3, #128
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [r3, #4]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, #1568
	add	r3, r1, r3
	mov	r2, r3
	mov	r1, r0
	ldr	r0, .L161+16
	bl	printf
.L157:
	ldr	r3, .L161+8
	ldr	r2, [r3]
	ldr	r3, [fp, #-12]
	add	r3, r3, #128
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3, #4]
	ldr	r2, .L161+20
	ldrb	r2, [r2]	@ zero_extendqisi2
	cmp	r3, r2
	bne	.L158
	ldr	r3, .L161+8
	ldr	r2, [r3]
	ldr	r3, [fp, #-12]
	add	r3, r3, #168
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r1, [r3, #4]
	ldr	r3, .L161+8
	ldr	r2, [r3]
	ldr	r3, [fp, #-12]
	add	r3, r3, #208
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3, #4]
	mov	r2, r3
	ldr	r0, .L161+24
	bl	printf
	b	.L159
.L158:
	mov	r0, #10
	bl	putchar
.L159:
	nop
	ldr	r2, .L161
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L160
	bl	__stack_chk_fail
.L160:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L162:
	.align	2
.L161:
	.word	.LC37
	.word	.LC33
	.word	sm
	.word	.LC34
	.word	.LC35
	.word	mynum
	.word	.LC36
	.size	oneplanet, .-oneplanet
	.section	.rodata
	.align	2
.LC38:
	.ascii	"\012Your fleet #%d has been attacked by pirates!\012"
	.ascii	"\000"
	.align	2
.LC39:
	.ascii	"Your fleet has: %d\012\000"
	.align	2
.LC40:
	.ascii	"Pirate's fleet: %d\012\000"
	.align	2
.LC41:
	.ascii	"Your fleet has been destroyed!\000"
	.align	2
.LC42:
	.ascii	"%d ships escaped from the pirates!\012\000"
	.align	2
.LC43:
	.ascii	"\012Planet %d receives reinforcements\012\000"
	.align	2
.LC44:
	.ascii	"\012Invasion alert! Your fleet arrived at %d\000"
	.align	2
.LC45:
	.ascii	"\012Your fleet has: %d\012Defending fleet:%d\012\000"
	.global	__aeabi_idiv
	.align	2
.LC46:
	.ascii	"You WON! %d ships hold planet #%d\012\000"
	.align	2
.LC47:
	.ascii	"You LOST! %d enemy ships hold planet #%d\012\000"
	.text
	.align	2
	.global	fleets
	.syntax unified
	.arm
	.fpu softvfp
	.type	fleets, %function
fleets:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #52
	mov	r0, #0
	bl	time
	str	r0, [fp, #-32]
	ldr	r3, .L197
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L164
	ldr	r3, .L197
	ldr	r3, [r3]
	ldr	r2, [fp, #-32]
	cmp	r2, r3
	ble	.L164
	ldr	r3, .L197
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, .L197+4
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L165
	mov	r1, #1
	mov	r0, #24
	bl	gotoxy
.L165:
	ldr	r3, .L197+8
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L197+12
	bl	printf
	ldr	r3, .L197+8
	ldr	r3, [r3]
	ldr	r2, .L197+16
	ldr	r3, [r2, r3, lsl #3]
	mov	r1, r3
	ldr	r0, .L197+20
	bl	printf
	ldr	r3, .L197+24
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L197+28
	bl	printf
	ldr	r3, .L197+8
	ldr	r3, [r3]
	ldr	r2, .L197+16
	ldr	r2, [r2, r3, lsl #3]
	ldr	r3, .L197+24
	ldr	r3, [r3]
	cmp	r2, r3
	bge	.L166
	ldr	r0, .L197+32
	bl	puts
	ldr	r3, .L197+8
	ldr	r3, [r3]
	ldr	r2, .L197+36
	mov	r1, #0
	str	r1, [r2, r3, lsl #2]
	b	.L167
.L166:
	ldr	r3, .L197+8
	ldr	r3, [r3]
	ldr	r2, .L197+16
	ldr	r1, [r2, r3, lsl #3]
	ldr	r3, .L197+24
	ldr	r3, [r3]
	ldr	r2, .L197+40
	smull	r0, r2, r3, r2
	asr	r3, r3, #31
	sub	r2, r3, r2
	ldr	r3, .L197+8
	ldr	r3, [r3]
	add	r2, r1, r2
	ldr	r1, .L197+16
	str	r2, [r1, r3, lsl #3]
	ldr	r3, .L197+8
	ldr	r3, [r3]
	ldr	r2, .L197+16
	ldr	r3, [r2, r3, lsl #3]
	mov	r1, r3
	ldr	r0, .L197+44
	bl	printf
.L167:
	ldr	r3, .L197+24
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, .L197+4
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L164
	bl	prompt
.L164:
	mov	r3, #0
	str	r3, [fp, #-56]
	b	.L168
.L194:
	ldr	r2, .L197+36
	ldr	r3, [fp, #-56]
	ldr	r3, [r2, r3, lsl #2]
	cmp	r3, #0
	beq	.L169
	ldr	r2, .L197+36
	ldr	r3, [fp, #-56]
	ldr	r3, [r2, r3, lsl #2]
	ldr	r2, [fp, #-32]
	cmp	r2, r3
	ble	.L169
	ldr	r2, .L197+16
	ldr	r3, [fp, #-56]
	ldr	r3, [r2, r3, lsl #3]
	str	r3, [fp, #-36]
	ldr	r2, .L197+16
	ldr	r3, [fp, #-56]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldr	r3, [r3, #4]
	str	r3, [fp, #-28]
	ldr	r3, .L197+48
	ldr	r2, [r3]
	ldr	r3, [fp, #-28]
	add	r3, r3, #128
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3, #4]
	str	r3, [fp, #-24]
	ldr	r3, .L197+48
	ldr	r2, [r3]
	ldr	r3, [fp, #-28]
	add	r3, r3, #208
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3, #4]
	str	r3, [fp, #-40]
	ldr	r3, .L197+52
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, [fp, #-24]
	cmp	r3, r2
	bne	.L170
	ldr	r3, .L197+48
	ldr	r1, [r3]
	ldr	r2, [fp, #-40]
	ldr	r3, [fp, #-36]
	add	r2, r2, r3
	ldr	r3, [fp, #-28]
	add	r3, r3, #208
	lsl	r3, r3, #2
	add	r3, r1, r3
	str	r2, [r3, #4]
	ldr	r3, .L197+56
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L171
	ldr	r3, .L197+4
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L172
	mov	r1, #1
	mov	r0, #24
	bl	gotoxy
.L172:
	ldr	r1, [fp, #-28]
	ldr	r0, .L197+60
	bl	printf
	b	.L173
.L171:
	ldr	r3, .L197+4
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L173
	ldr	r3, .L197+56
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L173
	ldr	r0, [fp, #-28]
	bl	pset
	bl	prompt
	b	.L173
.L170:
	ldr	r3, .L197+4
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L174
	mov	r1, #1
	mov	r0, #24
	bl	gotoxy
.L174:
	ldr	r1, [fp, #-28]
	ldr	r0, .L197+64
	bl	printf
	ldr	r2, [fp, #-40]
	ldr	r1, [fp, #-36]
	ldr	r0, .L197+68
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-20]
	bl	lock
	b	.L175
.L189:
	mov	r3, #10
	str	r3, [fp, #-44]
	ldr	r3, [fp, #-44]
	ldr	r2, [fp, #-36]
	mul	r3, r2, r3
	ldr	r1, [fp, #-40]
	mov	r0, r3
	bl	__aeabi_idiv
	mov	r3, r0
	str	r3, [fp, #-44]
	ldr	r3, [fp, #-44]
	cmp	r3, #18
	ble	.L176
	mov	r3, #18
	str	r3, [fp, #-44]
.L176:
	ldr	r3, [fp, #-44]
	cmp	r3, #2
	bgt	.L177
	mov	r3, #3
	str	r3, [fp, #-44]
.L177:
	mov	r3, #0
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	beq	.L196
	mov	r0, #5
	bl	irand
	mov	r3, r0
	add	r3, r3, #1
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-20]
	cmp	r3, #3
	ble	.L195
.L196:
	nop
.L180:
	ldr	r0, [fp, #-36]
	bl	irand
	mov	r3, r0
	add	r3, r3, #1
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-36]
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	mov	r2, r3
	ldr	r3, [fp, #-16]
	cmp	r3, r2
	blt	.L180
	mov	r3, #0
	str	r3, [fp, #-52]
	b	.L181
.L183:
	ldr	r3, [fp, #-40]
	cmp	r3, #0
	ble	.L182
	mov	r0, #20
	bl	irand
	mov	r2, r0
	ldr	r3, [fp, #-44]
	cmp	r3, r2
	blt	.L182
	ldr	r3, [fp, #-40]
	sub	r3, r3, #1
	str	r3, [fp, #-40]
.L182:
	ldr	r3, [fp, #-52]
	add	r3, r3, #1
	str	r3, [fp, #-52]
.L181:
	ldr	r2, [fp, #-52]
	ldr	r3, [fp, #-16]
	cmp	r2, r3
	blt	.L183
	b	.L179
.L195:
	nop
.L179:
	ldr	r3, [fp, #-40]
	cmp	r3, #0
	ble	.L175
	nop
.L184:
	ldr	r0, [fp, #-40]
	bl	irand
	mov	r3, r0
	add	r3, r3, #1
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-40]
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	mov	r2, r3
	ldr	r3, [fp, #-16]
	cmp	r3, r2
	blt	.L184
	mov	r3, #0
	str	r3, [fp, #-52]
	b	.L185
.L187:
	ldr	r3, [fp, #-36]
	cmp	r3, #0
	ble	.L186
	mov	r0, #20
	bl	irand
	mov	r2, r0
	ldr	r3, [fp, #-44]
	cmp	r3, r2
	bgt	.L186
	ldr	r3, [fp, #-36]
	sub	r3, r3, #1
	str	r3, [fp, #-36]
.L186:
	ldr	r3, [fp, #-52]
	add	r3, r3, #1
	str	r3, [fp, #-52]
.L185:
	ldr	r2, [fp, #-52]
	ldr	r3, [fp, #-16]
	cmp	r2, r3
	blt	.L187
.L175:
	ldr	r3, [fp, #-36]
	cmp	r3, #0
	ble	.L188
	ldr	r3, [fp, #-40]
	cmp	r3, #0
	bgt	.L189
.L188:
	ldr	r3, [fp, #-36]
	cmp	r3, #0
	ble	.L190
	ldr	r2, [fp, #-28]
	ldr	r1, [fp, #-36]
	ldr	r0, .L197+72
	bl	printf
	ldr	r3, .L197+52
	ldrb	r1, [r3]	@ zero_extendqisi2
	ldr	r3, .L197+48
	ldr	r2, [r3]
	ldr	r3, [fp, #-28]
	add	r3, r3, #128
	lsl	r3, r3, #2
	add	r3, r2, r3
	str	r1, [r3, #4]
	ldr	r3, .L197+48
	ldr	r2, [r3]
	ldr	r3, [fp, #-28]
	add	r3, r3, #208
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [fp, #-36]
	str	r2, [r3, #4]
	ldr	r3, .L197+48
	ldr	r2, [r3]
	ldr	r3, [fp, #-28]
	add	r3, r3, #168
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r4, [r3, #4]
	mov	r0, #4
	bl	irand
	mov	r3, r0
	ldr	r2, .L197+48
	ldr	r1, [r2]
	sub	r2, r4, r3
	ldr	r3, [fp, #-28]
	add	r3, r3, #168
	lsl	r3, r3, #2
	add	r3, r1, r3
	str	r2, [r3, #4]
	ldr	r3, .L197+48
	ldr	r2, [r3]
	ldr	r3, [fp, #-28]
	add	r3, r3, #168
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3, #4]
	cmp	r3, #0
	bgt	.L191
	ldr	r3, .L197+48
	ldr	r2, [r3]
	ldr	r3, [fp, #-28]
	add	r3, r3, #168
	lsl	r3, r3, #2
	add	r3, r2, r3
	mov	r2, #1
	str	r2, [r3, #4]
.L191:
	ldr	r3, .L197+4
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L192
	ldr	r0, [fp, #-28]
	bl	vtupdate
	b	.L192
.L190:
	ldr	r2, [fp, #-28]
	ldr	r1, [fp, #-40]
	ldr	r0, .L197+76
	bl	printf
	ldr	r3, .L197+48
	ldr	r2, [r3]
	ldr	r3, [fp, #-28]
	add	r3, r3, #208
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [fp, #-40]
	str	r2, [r3, #4]
.L192:
	ldr	r3, .L197+48
	ldr	r3, [r3]
	ldr	r3, [r3, #1208]
	str	r3, [fp, #-48]
	ldr	r3, [fp, #-48]
	add	r3, r3, #1
	str	r3, [fp, #-48]
	ldr	r3, [fp, #-48]
	cmp	r3, #9
	ble	.L193
	mov	r3, #0
	str	r3, [fp, #-48]
.L193:
	ldr	r3, .L197+52
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldr	r3, .L197+48
	ldr	r3, [r3]
	mov	r1, r2
	ldr	r2, [fp, #-48]
	add	r2, r2, #141
	str	r1, [r3, r2, lsl #3]
	ldr	r3, .L197+48
	ldr	r2, [r3]
	ldr	r3, [fp, #-48]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldr	r2, [fp, #-28]
	str	r2, [r3, #1132]
	ldr	r3, .L197+48
	ldr	r3, [r3]
	ldr	r2, [fp, #-48]
	str	r2, [r3, #1208]
	ldr	r3, .L197+48
	ldr	r3, [r3]
	ldr	r2, [r3, #1120]
	sub	r2, r2, #1
	str	r2, [r3, #1120]
.L173:
	ldr	r2, .L197+36
	ldr	r3, [fp, #-56]
	mov	r1, #0
	str	r1, [r2, r3, lsl #2]
.L169:
	ldr	r3, [fp, #-56]
	add	r3, r3, #1
	str	r3, [fp, #-56]
.L168:
	ldr	r3, [fp, #-56]
	cmp	r3, #98
	ble	.L194
	nop
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L198:
	.align	2
.L197:
	.word	pirtim
	.word	vtmode
	.word	pirflt
	.word	.LC38
	.word	stack
	.word	.LC39
	.word	pirsiz
	.word	.LC40
	.word	.LC41
	.word	events
	.word	1431655766
	.word	.LC42
	.word	sm
	.word	mynum
	.word	awetow
	.word	.LC43
	.word	.LC44
	.word	.LC45
	.word	.LC46
	.word	.LC47
	.size	fleets, .-fleets
	.align	2
	.global	lock
	.syntax unified
	.arm
	.fpu softvfp
	.type	lock, %function
lock:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	mov	r3, #0
	str	r3, [fp, #-8]
	ldr	r3, .L205
	ldr	r3, [r3]
	ldr	r3, [r3, #1120]
	cmp	r3, #0
	blt	.L200
	ldr	r3, .L205
	ldr	r3, [r3]
	ldr	r3, [r3, #1120]
	cmp	r3, #20
	ble	.L202
.L200:
	ldr	r3, .L205
	ldr	r3, [r3]
	mov	r2, #0
	str	r2, [r3, #1120]
	b	.L202
.L204:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
	mov	r0, #2
	bl	sleep
.L202:
	ldr	r3, .L205
	ldr	r3, [r3]
	ldr	r3, [r3, #1120]
	cmp	r3, #0
	ble	.L203
	ldr	r3, [fp, #-8]
	cmp	r3, #4
	ble	.L204
.L203:
	ldr	r3, .L205
	ldr	r3, [r3]
	mov	r2, #0
	str	r2, [r3, #1120]
	ldr	r3, .L205
	ldr	r3, [r3]
	ldr	r2, [r3, #1120]
	add	r2, r2, #1
	str	r2, [r3, #1120]
	nop
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L206:
	.align	2
.L205:
	.word	sm
	.size	lock, .-lock
	.section	.rodata
	.align	2
.LC48:
	.ascii	"\012Private message from %s]\012\000"
	.align	2
.LC49:
	.ascii	"\012Public message by %s]\012\000"
	.align	2
.LC50:
	.ascii	"%s\012\012\000"
	.text
	.align	2
	.global	getpub
	.syntax unified
	.arm
	.fpu softvfp
	.type	getpub, %function
getpub:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	mov	r3, #0
	str	r3, [fp, #-12]
	ldr	r3, .L224
	ldrb	r3, [r3]	@ zero_extendqisi2
	str	r3, [fp, #-20]
	b	.L208
.L222:
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-20]
	cmp	r3, #4
	ble	.L209
	mov	r3, #0
	str	r3, [fp, #-20]
.L209:
	mov	r3, #1
	str	r3, [fp, #-12]
	ldr	r3, .L224+4
	ldr	r1, [r3]
	ldr	r2, [fp, #-20]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #1760
	add	r3, r3, #8
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldr	r3, .L224+8
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r2, r3
	beq	.L208
	ldr	r3, .L224+4
	ldr	r1, [r3]
	ldr	r2, [fp, #-20]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #1760
	add	r3, r3, #9
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #80
	beq	.L210
	ldr	r3, .L224+4
	ldr	r1, [r3]
	ldr	r2, [fp, #-20]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #1760
	add	r3, r3, #9
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldr	r3, .L224+8
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r2, r3
	beq	.L210
	ldr	r3, .L224+4
	ldr	r1, [r3]
	ldr	r2, [fp, #-20]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #1760
	add	r3, r3, #9
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #69
	beq	.L210
	ldr	r3, .L224+4
	ldr	r1, [r3]
	ldr	r2, [fp, #-20]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #1760
	add	r3, r3, #9
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #88
	beq	.L210
	ldr	r3, .L224+4
	ldr	r1, [r3]
	ldr	r2, [fp, #-20]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #1760
	add	r3, r3, #9
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #79
	bne	.L208
.L210:
	ldr	r3, .L224+4
	ldr	r1, [r3]
	ldr	r2, [fp, #-20]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #1760
	add	r3, r3, #9
	ldrb	r3, [r3]	@ zero_extendqisi2
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #80
	beq	.L211
	ldr	r3, [fp, #-16]
	cmp	r3, #79
	beq	.L211
	ldr	r3, [fp, #-16]
	cmp	r3, #88
	beq	.L211
	ldr	r3, [fp, #-16]
	cmp	r3, #67
	beq	.L211
	ldr	r3, [fp, #-16]
	cmp	r3, #69
	beq	.L211
	mov	r3, #73
	str	r3, [fp, #-16]
.L211:
	ldr	r3, .L224+12
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L212
	mov	r1, #1
	mov	r0, #24
	bl	gotoxy
.L212:
	ldr	r3, [fp, #-16]
	cmp	r3, #73
	bne	.L213
	ldr	r3, .L224+4
	ldr	r1, [r3]
	ldr	r3, .L224+4
	ldr	r0, [r3]
	ldr	r2, [fp, #-20]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r0, r3
	add	r3, r3, #1760
	add	r3, r3, #8
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, #1568
	add	r3, r1, r3
	mov	r1, r3
	ldr	r0, .L224+16
	bl	printf
	b	.L214
.L213:
	ldr	r3, [fp, #-16]
	cmp	r3, #80
	bne	.L215
	ldr	r3, .L224+4
	ldr	r1, [r3]
	ldr	r3, .L224+4
	ldr	r0, [r3]
	ldr	r2, [fp, #-20]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r0, r3
	add	r3, r3, #1760
	add	r3, r3, #8
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, #1568
	add	r3, r1, r3
	mov	r1, r3
	ldr	r0, .L224+20
	bl	printf
	b	.L214
.L215:
	ldr	r3, [fp, #-16]
	cmp	r3, #69
	bne	.L216
	ldr	r3, .L224+12
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L216
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L217
.L219:
	ldr	r3, .L224+4
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	add	r3, r3, #128
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r1, [r3, #4]
	ldr	r3, .L224+4
	ldr	r0, [r3]
	ldr	r2, [fp, #-20]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r0, r3
	add	r3, r3, #1760
	add	r3, r3, #8
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r1, r3
	bne	.L218
	ldr	r0, [fp, #-8]
	bl	vtupdate
.L218:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L217:
	ldr	r3, [fp, #-8]
	cmp	r3, #38
	ble	.L219
	b	.L214
.L216:
	ldr	r3, [fp, #-16]
	cmp	r3, #88
	bne	.L220
	ldr	r3, .L224+12
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L220
	bl	vtscan
	b	.L214
.L220:
	mov	r0, #10
	bl	putchar
.L214:
	ldr	r3, .L224+12
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L221
	mov	r1, #1
	mov	r0, #24
	bl	gotoxy
.L221:
	ldr	r3, .L224+4
	ldr	r1, [r3]
	ldr	r2, [fp, #-20]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, #1760
	add	r3, r3, #8
	add	r3, r1, r3
	add	r3, r3, #2
	mov	r1, r3
	ldr	r0, .L224+24
	bl	printf
.L208:
	ldr	r3, .L224+4
	ldr	r3, [r3]
	ldr	r3, [r3, #1124]
	ldr	r2, [fp, #-20]
	cmp	r2, r3
	bne	.L222
	ldr	r3, [fp, #-20]
	and	r2, r3, #255
	ldr	r3, .L224
	strb	r2, [r3]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	beq	.L223
	ldr	r3, .L224+12
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L223
	bl	prompt
.L223:
	nop
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L225:
	.align	2
.L224:
	.word	mymes
	.word	sm
	.word	mynum
	.word	vtmode
	.word	.LC48
	.word	.LC49
	.word	.LC50
	.size	getpub, .-getpub
	.section	.rodata
	.align	2
.LC51:
	.ascii	"\012Invasion attempt!\012Attacker:%s]\012Planet #%d"
	.ascii	"\012\000"
	.align	2
.LC52:
	.ascii	"It remains Neutral\000"
	.align	2
.LC53:
	.ascii	"%s] has gained the planet.\012\000"
	.align	2
.LC54:
	.ascii	"%s] retains control.\012\000"
	.align	2
.LC55:
	.ascii	"%d ships still hold your planet %d\012\000"
	.text
	.align	2
	.global	getcom
	.syntax unified
	.arm
	.fpu softvfp
	.type	getcom, %function
getcom:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	ldr	r3, .L234
	ldrb	r3, [r3]	@ zero_extendqisi2
	str	r3, [fp, #-20]
	b	.L227
.L233:
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-20]
	cmp	r3, #9
	ble	.L228
	mov	r3, #0
	str	r3, [fp, #-20]
.L228:
	ldr	r3, .L234+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-20]
	add	r2, r2, #141
	ldr	r3, [r3, r2, lsl #3]
	str	r3, [fp, #-16]
	ldr	r3, .L234+4
	ldr	r2, [r3]
	ldr	r3, .L234+4
	ldr	r1, [r3]
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #3
	add	r3, r1, r3
	ldr	r3, [r3, #1132]
	add	r3, r3, #128
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3, #4]
	str	r3, [fp, #-12]
	ldr	r3, .L234+4
	ldr	r2, [r3]
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldr	r3, [r3, #1132]
	str	r3, [fp, #-8]
	ldr	r3, .L234+8
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, [fp, #-16]
	cmp	r3, r2
	beq	.L227
	ldr	r3, .L234+12
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L229
	mov	r1, #1
	mov	r0, #24
	bl	gotoxy
.L229:
	ldr	r3, .L234+4
	ldr	r1, [r3]
	ldr	r2, [fp, #-16]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, #1568
	add	r3, r1, r3
	ldr	r2, [fp, #-8]
	mov	r1, r3
	ldr	r0, .L234+16
	bl	printf
	ldr	r3, [fp, #-12]
	cmn	r3, #1
	bne	.L230
	ldr	r0, .L234+20
	bl	puts
.L230:
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-16]
	cmp	r2, r3
	bne	.L231
	ldr	r3, .L234+4
	ldr	r1, [r3]
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, #1568
	add	r3, r1, r3
	mov	r1, r3
	ldr	r0, .L234+24
	bl	printf
	ldr	r3, .L234+12
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L231
	ldr	r0, [fp, #-8]
	bl	vtupdate
	ldr	r0, [fp, #-8]
	bl	pset
.L231:
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-16]
	cmp	r2, r3
	beq	.L232
	ldr	r3, [fp, #-12]
	cmn	r3, #1
	beq	.L232
	ldr	r3, .L234+4
	ldr	r1, [r3]
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, #1568
	add	r3, r1, r3
	mov	r1, r3
	ldr	r0, .L234+28
	bl	printf
.L232:
	ldr	r3, .L234+8
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, [fp, #-12]
	cmp	r3, r2
	bne	.L227
	ldr	r3, .L234+4
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	add	r3, r3, #208
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3, #4]
	ldr	r2, [fp, #-8]
	mov	r1, r3
	ldr	r0, .L234+32
	bl	printf
	ldr	r3, .L234+12
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L227
	ldr	r3, .L234+36
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L227
	ldr	r0, [fp, #-8]
	bl	pset
.L227:
	ldr	r3, .L234+4
	ldr	r3, [r3]
	ldr	r3, [r3, #1208]
	ldr	r2, [fp, #-20]
	cmp	r2, r3
	bne	.L233
	ldr	r3, [fp, #-20]
	and	r2, r3, #255
	ldr	r3, .L234
	strb	r2, [r3]
	bl	prompt
	nop
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L235:
	.align	2
.L234:
	.word	mycom
	.word	sm
	.word	mynum
	.word	vtmode
	.word	.LC51
	.word	.LC52
	.word	.LC53
	.word	.LC54
	.word	.LC55
	.word	awetow
	.size	getcom, .-getcom
	.global	__aeabi_f2iz
	.global	__aeabi_i2f
	.global	__aeabi_fcmpgt
	.align	2
	.global	prange
	.syntax unified
	.arm
	.fpu softvfp
	.type	prange, %function
prange:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	ldr	r3, .L241
	ldr	r2, [r3]
	ldr	r3, [fp, #-32]
	add	r3, r3, #8
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [r3, #4]
	ldr	r3, .L241
	ldr	r1, [r3]
	ldr	r3, [fp, #-36]
	add	r3, r3, #8
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r3, [r3, #4]
	sub	r3, r2, r3
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-20]
	mov	r2, r3
	mul	r2, r3, r2
	mov	r3, r2
	str	r3, [fp, #-20]
	ldr	r3, .L241
	ldr	r2, [r3]
	ldr	r3, [fp, #-32]
	add	r3, r3, #48
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [r3, #4]
	ldr	r3, .L241
	ldr	r1, [r3]
	ldr	r3, [fp, #-36]
	add	r3, r3, #48
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r3, [r3, #4]
	sub	r3, r2, r3
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-16]
	mov	r2, r3
	mul	r2, r3, r2
	mov	r3, r2
	str	r3, [fp, #-16]
	ldr	r3, .L241
	ldr	r2, [r3]
	ldr	r3, [fp, #-32]
	add	r3, r3, #88
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [r3, #4]
	ldr	r3, .L241
	ldr	r1, [r3]
	ldr	r3, [fp, #-36]
	add	r3, r3, #88
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r3, [r3, #4]
	sub	r3, r2, r3
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	mov	r2, r3
	mul	r2, r3, r2
	mov	r3, r2
	str	r3, [fp, #-12]
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-16]
	add	r2, r2, r3
	ldr	r3, [fp, #-12]
	add	r3, r2, r3
	mov	r0, r3
	bl	root
	str	r0, [fp, #-8]	@ float
	ldr	r0, [fp, #-8]	@ float
	bl	__aeabi_f2iz
	mov	r3, r0
	str	r3, [fp, #-24]
	ldr	r0, [fp, #-24]
	bl	__aeabi_i2f
	mov	r3, r0
	mov	r1, r3
	ldr	r0, [fp, #-8]	@ float
	bl	__aeabi_fcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L237
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L237:
	ldr	r3, [fp, #-24]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L242:
	.align	2
.L241:
	.word	sm
	.size	prange, .-prange
	.section	.rodata
	.align	2
.LC56:
	.ascii	"\012Planet #:\000"
	.align	2
.LC57:
	.ascii	"Range from %d to %d = %d\012\000"
	.align	2
.LC58:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	compute
	.syntax unified
	.arm
	.fpu softvfp
	.type	compute, %function
compute:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	ldr	r3, .L245
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r0, .L245+4
	bl	printf
	sub	r3, fp, #20
	mov	r0, r3
	bl	getnum
	str	r0, [fp, #-12]
	ldr	r0, .L245+4
	bl	printf
	sub	r3, fp, #16
	mov	r0, r3
	bl	getnum
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-16]
	mov	r1, r2
	mov	r0, r3
	bl	prange
	str	r0, [fp, #-12]
	ldr	r1, [fp, #-20]
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-12]
	ldr	r0, .L245+8
	bl	printf
	nop
	ldr	r2, .L245
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L244
	bl	__stack_chk_fail
.L244:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L246:
	.align	2
.L245:
	.word	.LC58
	.word	.LC56
	.word	.LC57
	.size	compute, .-compute
	.global	__aeabi_i2d
	.global	__aeabi_ddiv
	.global	__aeabi_dadd
	.global	__aeabi_dmul
	.global	__aeabi_dsub
	.global	__aeabi_d2f
	.global	__aeabi_fcmplt
	.global	__aeabi_dcmpeq
	.global	__aeabi_f2d
	.global	__aeabi_dcmpgt
	.align	2
	.global	root
	.syntax unified
	.arm
	.fpu softvfp
	.type	root, %function
root:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #24
	str	r0, [fp, #-32]
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	bne	.L248
	mov	r3, #0
	b	.L249
.L248:
	ldr	r0, [fp, #-32]
	bl	__aeabi_i2d
	mov	r2, #0
	mov	r3, #1073741824
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-20]
	str	r3, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-28]
	mov	r3, #1065353216
	str	r3, [fp, #-24]	@ float
	b	.L250
.L254:
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
	ldr	r0, [fp, #-32]
	bl	__aeabi_i2d
	sub	r3, fp, #20
	ldmia	r3, {r2-r3}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	sub	r3, fp, #20
	ldmia	r3, {r2-r3}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	mov	r2, #0
	mov	r3, #1073741824
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-20]
	str	r3, [fp, #-16]
	sub	r3, fp, #20
	ldmia	r3, {r2-r3}
	sub	r1, fp, #20
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldr	r0, [fp, #-32]
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	mov	r3, r0
	str	r3, [fp, #-24]	@ float
	mov	r1, #0
	ldr	r0, [fp, #-24]	@ float
	bl	__aeabi_fcmplt
	mov	r3, r0
	cmp	r3, #0
	bne	.L255
	b	.L250
.L255:
	ldr	r3, [fp, #-24]
	eor	r3, r3, #-2147483648
	str	r3, [fp, #-24]	@ float
.L250:
	sub	r3, fp, #20
	ldmia	r3, {r2-r3}
	sub	r1, fp, #20
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldr	r0, [fp, #-32]
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dcmpeq
	mov	r3, r0
	cmp	r3, #0
	bne	.L252
	ldr	r0, [fp, #-24]	@ float
	bl	__aeabi_f2d
	ldr	r2, .L257
	ldr	r3, .L257+4
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	bne	.L254
.L252:
	sub	r1, fp, #20
	ldmia	r1, {r0-r1}
	bl	__aeabi_d2f
	mov	r3, r0
.L249:
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L258:
	.align	2
.L257:
	.word	-755914244
	.word	1062232653
	.size	root, .-root
	.section	.rodata
	.align	2
.LC59:
	.ascii	"\012Fleet  Dest  Size  Arrival\000"
	.align	2
.LC60:
	.ascii	"  %2d    %2d   %4d  %5s\012\000"
	.align	2
.LC61:
	.ascii	"\012No Fleets currently in flight.\000"
	.text
	.align	2
	.global	flts
	.syntax unified
	.arm
	.fpu softvfp
	.type	flts, %function
flts:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #16
	mov	r3, #0
	str	r3, [fp, #-16]
	ldr	r0, .L264
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-20]
	b	.L260
.L262:
	ldr	r2, .L264+4
	ldr	r3, [fp, #-20]
	ldr	r3, [r2, r3, lsl #2]
	cmp	r3, #0
	beq	.L261
	mov	r3, #1
	str	r3, [fp, #-16]
	ldr	r2, .L264+8
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldr	r4, [r3, #4]
	ldr	r2, .L264+8
	ldr	r3, [fp, #-20]
	ldr	r5, [r2, r3, lsl #3]
	ldr	r2, .L264+4
	ldr	r3, [fp, #-20]
	ldr	r3, [r2, r3, lsl #2]
	mov	r0, r3
	bl	sdate
	mov	r3, r0
	str	r3, [sp]
	mov	r3, r5
	mov	r2, r4
	ldr	r1, [fp, #-20]
	ldr	r0, .L264+12
	bl	printf
.L261:
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L260:
	ldr	r3, [fp, #-20]
	cmp	r3, #98
	ble	.L262
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L263
	ldr	r0, .L264+16
	bl	puts
.L263:
	nop
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L265:
	.align	2
.L264:
	.word	.LC59
	.word	events
	.word	stack
	.word	.LC60
	.word	.LC61
	.size	flts, .-flts
	.section	.rodata
	.align	2
.LC62:
	.ascii	"\012Enter Broadcast Message:\012>  \000"
	.align	2
.LC63:
	.ascii	"Message Sent.\000"
	.align	2
.LC64:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	broadcast
	.syntax unified
	.arm
	.fpu softvfp
	.type	broadcast, %function
broadcast:
	@ args = 0, pretend = 0, frame = 1040
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #1040
	ldr	r3, .L269
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #2
	str	r3, [fp, #-1036]
	ldr	r0, .L269+4
	bl	printf
	ldr	r3, .L269+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	bl	restterm
	ldr	r3, .L269+12
	ldr	r2, [r3]
	sub	r3, fp, #520
	ldr	r1, .L269+16
	mov	r0, r3
	bl	fgets
	bl	initterm
	mov	r3, #80
	strb	r3, [fp, #-1031]
	ldr	r3, .L269+20
	ldrb	r3, [r3]	@ zero_extendqisi2
	strb	r3, [fp, #-1032]
	mov	r3, #0
	strb	r3, [fp, #-1030]
	mov	r3, #0
	strb	r3, [fp, #-423]
	bl	lock
	ldr	r3, .L269+24
	ldr	r3, [r3]
	ldr	r3, [r3, #1124]
	add	r3, r3, #1
	str	r3, [fp, #-1040]
	ldr	r3, [fp, #-1040]
	cmp	r3, #4
	ble	.L267
	mov	r3, #0
	str	r3, [fp, #-1040]
.L267:
	ldr	r3, .L269+24
	ldr	r1, [r3]
	ldrb	r0, [fp, #-1032]	@ zero_extendqisi2
	ldr	r2, [fp, #-1040]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #1760
	add	r3, r3, #8
	mov	r2, r0
	strb	r2, [r3]
	ldr	r3, .L269+24
	ldr	r1, [r3]
	ldrb	r0, [fp, #-1031]	@ zero_extendqisi2
	ldr	r2, [fp, #-1040]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #1760
	add	r3, r3, #9
	mov	r2, r0
	strb	r2, [r3]
	ldr	r3, .L269+24
	ldr	r1, [r3]
	ldr	r2, [fp, #-1040]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, #1760
	add	r3, r3, #8
	add	r3, r1, r3
	add	r3, r3, #2
	sub	r2, fp, #520
	mov	r1, r2
	mov	r0, r3
	bl	strcpy
	ldr	r3, .L269+24
	ldr	r3, [r3]
	ldr	r2, [fp, #-1040]
	str	r2, [r3, #1124]
	ldr	r3, .L269+24
	ldr	r3, [r3]
	ldr	r2, [r3, #1120]
	sub	r2, r2, #1
	str	r2, [r3, #1120]
	ldr	r0, .L269+28
	bl	puts
	nop
	ldr	r2, .L269
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L268
	bl	__stack_chk_fail
.L268:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L270:
	.align	2
.L269:
	.word	.LC64
	.word	.LC62
	.word	stdout
	.word	stdin
	.word	511
	.word	mynum
	.word	sm
	.word	.LC63
	.size	broadcast, .-broadcast
	.section	.rodata
	.align	2
.LC65:
	.ascii	"\012Enter Private Message:\012>  \000"
	.align	2
.LC66:
	.ascii	"\012Message to (player NUMBER):\000"
	.align	2
.LC67:
	.ascii	"Illegal player number.\000"
	.align	2
.LC68:
	.ascii	"\012Message Sent to %s.\012\000"
	.align	2
.LC69:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	prvmsg
	.syntax unified
	.arm
	.fpu softvfp
	.type	prvmsg, %function
prvmsg:
	@ args = 0, pretend = 0, frame = 632
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #632
	ldr	r3, .L279
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #2
	str	r3, [fp, #-632]
	ldr	r0, .L279+4
	bl	printf
	ldr	r3, .L279+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	bl	restterm
	ldr	r3, .L279+12
	ldr	r2, [r3]
	sub	r3, fp, #520
	ldr	r1, .L279+16
	mov	r0, r3
	bl	fgets
	bl	initterm
	ldr	r3, .L279+20
	ldr	r3, [r3]
	cmp	r3, #0
	blt	.L272
	ldr	r3, .L279+20
	ldr	r3, [r3]
	str	r3, [fp, #-624]
	b	.L273
.L272:
	ldr	r0, .L279+24
	bl	printf
	sub	r3, fp, #632
	mov	r0, r3
	bl	getnum
	str	r0, [fp, #-628]
	ldr	r3, [fp, #-632]
	str	r3, [fp, #-624]
.L273:
	ldr	r3, [fp, #-624]
	cmp	r3, #0
	blt	.L274
	ldr	r3, [fp, #-624]
	cmp	r3, #10
	bgt	.L274
	ldr	r3, .L279+28
	ldr	r1, [r3]
	ldr	r2, [fp, #-624]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, #1568
	add	r3, r1, r3
	cmp	r3, #0
	bne	.L275
.L274:
	ldr	r0, .L279+32
	bl	puts
	mov	r3, #0
	b	.L271
.L275:
	ldr	r3, [fp, #-624]
	and	r3, r3, #255
	strb	r3, [fp, #-619]
	ldr	r3, .L279+36
	ldrb	r3, [r3]	@ zero_extendqisi2
	strb	r3, [fp, #-620]
	mov	r3, #0
	strb	r3, [fp, #-618]
	mov	r3, #0
	strb	r3, [fp, #-421]
	bl	lock
	ldr	r3, .L279+28
	ldr	r3, [r3]
	ldr	r3, [r3, #1124]
	add	r3, r3, #1
	str	r3, [fp, #-628]
	ldr	r3, [fp, #-628]
	cmp	r3, #4
	ble	.L277
	mov	r3, #0
	str	r3, [fp, #-628]
.L277:
	ldr	r3, .L279+28
	ldr	r1, [r3]
	ldrb	r0, [fp, #-620]	@ zero_extendqisi2
	ldr	r2, [fp, #-628]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #1760
	add	r3, r3, #8
	mov	r2, r0
	strb	r2, [r3]
	ldr	r3, .L279+28
	ldr	r1, [r3]
	ldrb	r0, [fp, #-619]	@ zero_extendqisi2
	ldr	r2, [fp, #-628]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #1760
	add	r3, r3, #9
	mov	r2, r0
	strb	r2, [r3]
	ldr	r3, .L279+28
	ldr	r1, [r3]
	ldr	r2, [fp, #-628]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, #1760
	add	r3, r3, #8
	add	r3, r1, r3
	add	r3, r3, #2
	sub	r2, fp, #520
	mov	r1, r2
	mov	r0, r3
	bl	strcpy
	ldr	r3, .L279+28
	ldr	r3, [r3]
	ldr	r2, [fp, #-628]
	str	r2, [r3, #1124]
	ldr	r3, .L279+28
	ldr	r3, [r3]
	ldr	r2, [r3, #1120]
	sub	r2, r2, #1
	str	r2, [r3, #1120]
	ldr	r3, .L279+28
	ldr	r1, [r3]
	ldr	r2, [fp, #-624]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, #1568
	add	r3, r1, r3
	mov	r1, r3
	ldr	r0, .L279+40
	bl	printf
.L271:
	ldr	r2, .L279
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L278
	bl	__stack_chk_fail
.L278:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L280:
	.align	2
.L279:
	.word	.LC69
	.word	.LC65
	.word	stdout
	.word	stdin
	.word	511
	.word	toggle
	.word	.LC66
	.word	sm
	.word	.LC67
	.word	mynum
	.word	.LC68
	.size	prvmsg, .-prvmsg
	.section	.rodata
	.align	2
.LC70:
	.ascii	"\012From world:\000"
	.align	2
.LC71:
	.ascii	"\012You do not own that world!\000"
	.align	2
.LC72:
	.ascii	"To world:\000"
	.align	2
.LC73:
	.ascii	"\012Sorry, too many fleets in the air!\000"
	.align	2
.LC74:
	.ascii	"Number to send (%d) :\000"
	.align	2
.LC75:
	.ascii	"Invalid fleet size!\000"
	.align	2
.LC76:
	.ascii	"\012You have lost control of that world!!!\000"
	.align	2
.LC77:
	.ascii	"Fleet will arrive at %s\012\000"
	.align	2
.LC78:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	send
	.syntax unified
	.arm
	.fpu softvfp
	.type	send, %function
send:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #28
	ldr	r3, .L300
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mvn	r3, #0
	str	r3, [fp, #-24]
	b	.L282
.L284:
	ldr	r0, .L300+4
	bl	printf
	sub	r3, fp, #32
	mov	r0, r3
	bl	getnum
	str	r0, [fp, #-24]
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	blt	.L283
	ldr	r3, [fp, #-32]
	cmp	r3, #38
	ble	.L282
.L283:
	mvn	r3, #0
	str	r3, [fp, #-24]
.L282:
	ldr	r3, [fp, #-24]
	cmn	r3, #1
	beq	.L284
	ldr	r3, .L300+8
	ldr	r2, [r3]
	ldr	r3, [fp, #-32]
	add	r3, r3, #128
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3, #4]
	ldr	r2, .L300+12
	ldrb	r2, [r2]	@ zero_extendqisi2
	cmp	r3, r2
	beq	.L285
	ldr	r0, .L300+16
	bl	puts
	mov	r3, #0
	b	.L281
.L285:
	mvn	r3, #0
	str	r3, [fp, #-36]
	b	.L287
.L289:
	ldr	r0, .L300+20
	bl	printf
	sub	r3, fp, #28
	mov	r0, r3
	bl	getnum
	mov	r3, r0
	str	r3, [fp, #-36]
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	blt	.L288
	ldr	r3, [fp, #-28]
	cmp	r3, #38
	ble	.L287
.L288:
	mvn	r3, #0
	str	r3, [fp, #-36]
.L287:
	ldr	r3, [fp, #-36]
	cmn	r3, #1
	beq	.L289
	mov	r3, #0
	str	r3, [fp, #-20]
	b	.L290
.L292:
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L290:
	ldr	r2, .L300+24
	ldr	r3, [fp, #-20]
	ldr	r3, [r2, r3, lsl #2]
	cmp	r3, #0
	beq	.L291
	ldr	r3, [fp, #-20]
	cmp	r3, #99
	ble	.L292
.L291:
	ldr	r3, [fp, #-20]
	cmp	r3, #100
	bne	.L293
	ldr	r0, .L300+28
	bl	puts
	mov	r3, #0
	b	.L281
.L293:
	ldr	r3, .L300+8
	ldr	r2, [r3]
	ldr	r3, [fp, #-32]
	add	r3, r3, #208
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3, #4]
	mov	r1, r3
	ldr	r0, .L300+32
	bl	printf
	sub	r3, fp, #36
	mov	r0, r3
	bl	getnum
	str	r0, [fp, #-24]
	ldr	r3, .L300+8
	ldr	r2, [r3]
	ldr	r3, [fp, #-32]
	add	r3, r3, #208
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-36]
	cmp	r2, r3
	blt	.L294
	ldr	r3, [fp, #-36]
	cmp	r3, #0
	bgt	.L295
.L294:
	ldr	r0, .L300+36
	bl	printf
	mov	r3, #0
	b	.L281
.L295:
	ldr	r3, .L300+8
	ldr	r2, [r3]
	ldr	r3, [fp, #-32]
	add	r3, r3, #128
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3, #4]
	ldr	r2, .L300+12
	ldrb	r2, [r2]	@ zero_extendqisi2
	cmp	r3, r2
	beq	.L296
	ldr	r0, .L300+40
	bl	puts
	mov	r3, #0
	b	.L281
.L296:
	ldr	r2, [fp, #-36]
	ldr	r1, .L300+44
	ldr	r3, [fp, #-20]
	str	r2, [r1, r3, lsl #3]
	ldr	r3, .L300+8
	ldr	r2, [r3]
	ldr	r3, [fp, #-32]
	add	r3, r3, #208
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r0, [r3, #4]
	ldr	r2, [fp, #-36]
	ldr	r3, .L300+8
	ldr	r1, [r3]
	ldr	r3, [fp, #-32]
	sub	r2, r0, r2
	add	r3, r3, #208
	lsl	r3, r3, #2
	add	r3, r1, r3
	str	r2, [r3, #4]
	ldr	r2, [fp, #-28]
	ldr	r1, .L300+44
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #3
	add	r3, r1, r3
	str	r2, [r3, #4]
	mov	r0, #0
	bl	time
	mov	r4, r0
	ldr	r3, [fp, #-32]
	ldr	r2, [fp, #-28]
	mov	r1, r2
	mov	r0, r3
	bl	prange
	mov	r2, r0
	ldr	r3, .L300+48
	ldr	r3, [r3]
	mul	r3, r2, r3
	add	r2, r4, r3
	ldr	r1, .L300+24
	ldr	r3, [fp, #-20]
	str	r2, [r1, r3, lsl #2]
	ldr	r2, .L300+24
	ldr	r3, [fp, #-20]
	ldr	r3, [r2, r3, lsl #2]
	mov	r0, r3
	bl	sdate
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L300+52
	bl	printf
	ldr	r3, .L300+56
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L297
	ldr	r3, .L300+60
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L297
	ldr	r3, [fp, #-32]
	mov	r0, r3
	bl	pset
.L297:
	ldr	r0, [fp, #-20]
	bl	pirate
.L281:
	ldr	r2, .L300
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L299
	bl	__stack_chk_fail
.L299:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L301:
	.align	2
.L300:
	.word	.LC78
	.word	.LC70
	.word	sm
	.word	mynum
	.word	.LC71
	.word	.LC72
	.word	events
	.word	.LC73
	.word	.LC74
	.word	.LC75
	.word	.LC76
	.word	stack
	.word	trav_time
	.word	.LC77
	.word	vtmode
	.word	awetow
	.size	send, .-send
	.section	.rodata
	.align	2
.LC79:
	.ascii	"Kwick list:\012\000"
	.align	2
.LC80:
	.ascii	"#%2d Prod:%3d Ships:%5d\012\000"
	.text
	.align	2
	.global	kwick
	.syntax unified
	.arm
	.fpu softvfp
	.type	kwick, %function
kwick:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	ldr	r0, .L306
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L303
.L305:
	ldr	r3, .L306+4
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	add	r3, r3, #128
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3, #4]
	ldr	r2, .L306+8
	ldrb	r2, [r2]	@ zero_extendqisi2
	cmp	r3, r2
	bne	.L304
	ldr	r3, .L306+4
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	add	r3, r3, #168
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r1, [r3, #4]
	ldr	r3, .L306+4
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	add	r3, r3, #208
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3, #4]
	mov	r2, r1
	ldr	r1, [fp, #-8]
	ldr	r0, .L306+12
	bl	printf
.L304:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L303:
	ldr	r3, [fp, #-8]
	cmp	r3, #38
	ble	.L305
	nop
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L307:
	.align	2
.L306:
	.word	.LC79
	.word	sm
	.word	mynum
	.word	.LC80
	.size	kwick, .-kwick
	.section	.rodata
	.align	2
.LC81:
	.ascii	"\012A Number is Expected\000"
	.align	2
.LC82:
	.ascii	"%d\000"
	.align	2
.LC83:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	getnum
	.syntax unified
	.arm
	.fpu softvfp
	.type	getnum, %function
getnum:
	@ args = 0, pretend = 0, frame = 120
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #120
	str	r0, [fp, #-120]
	ldr	r3, .L312
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mvn	r3, #0
	str	r3, [fp, #-116]
	ldr	r3, .L312+4
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	b	.L309
.L310:
	mov	r3, #0
	str	r3, [fp, #-116]
	bl	restterm
	ldr	r3, .L312+8
	ldr	r2, [r3]
	sub	r3, fp, #108
	mov	r1, #98
	mov	r0, r3
	bl	fgets
	bl	initterm
	sub	r3, fp, #108
	mov	r0, r3
	bl	atoi
	mov	r3, r0
	cmp	r3, #0
	bne	.L309
	ldrb	r3, [fp, #-108]	@ zero_extendqisi2
	cmp	r3, #48
	beq	.L309
	mvn	r3, #0
	str	r3, [fp, #-116]
	ldr	r0, .L312+12
	bl	puts
	ldr	r3, .L312+4
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
.L309:
	ldr	r3, [fp, #-116]
	cmn	r3, #1
	beq	.L310
	sub	r3, fp, #108
	ldr	r2, [fp, #-120]
	ldr	r1, .L312+16
	mov	r0, r3
	bl	__isoc99_sscanf
	str	r0, [fp, #-112]
	nop
	ldr	r2, .L312
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L311
	bl	__stack_chk_fail
.L311:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L313:
	.align	2
.L312:
	.word	.LC83
	.word	stdout
	.word	stdin
	.word	.LC81
	.word	.LC82
	.size	getnum, .-getnum
	.section	.rodata
	.align	2
.LC84:
	.ascii	"console\000"
	.text
	.align	2
	.global	getppn
	.syntax unified
	.arm
	.fpu softvfp
	.type	getppn, %function
getppn:
	@ 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]
	bl	getgid
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-16]
	str	r2, [r3]
	bl	getuid
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-20]
	str	r2, [r3]
	mov	r0, #0
	bl	ttyname
	str	r0, [fp, #-8]
	ldr	r1, .L317
	ldr	r0, [fp, #-8]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L315
	ldr	r3, [fp, #-24]
	mov	r2, #0
	str	r2, [r3]
	b	.L316
.L315:
	ldr	r3, [fp, #-8]
	add	r3, r3, #8
	mov	r0, r3
	bl	atoi
	mov	r2, r0
	ldr	r3, [fp, #-24]
	str	r2, [r3]
.L316:
	nop
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L318:
	.align	2
.L317:
	.word	.LC84
	.size	getppn, .-getppn
	.section	.rodata
	.align	2
.LC85:
	.ascii	"Send to (tty): \000"
	.align	2
.LC86:
	.ascii	"Enter your message\012>\000"
	.align	2
.LC87:
	.ascii	"/usr/local/bin/send %s %c%s%c\000"
	.align	2
.LC88:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	zend
	.syntax unified
	.arm
	.fpu softvfp
	.type	zend, %function
zend:
	@ args = 0, pretend = 0, frame = 2072
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #2080
	ldr	r3, .L324
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r1, #1
	mov	r0, #24
	bl	gotoxy
	ldr	r0, .L324+4
	bl	printf
	ldr	r3, .L324+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	ldr	r3, .L324+12
	ldr	r2, [r3]
	sub	r3, fp, #2064
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r1, #12
	mov	r0, r3
	bl	fgets
	ldrb	r3, [fp, #-2072]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L320
	mov	r3, #0
	b	.L322
.L320:
	ldr	r0, .L324+16
	bl	printf
	ldr	r3, .L324+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	ldr	r3, .L324+12
	ldr	r2, [r3]
	sub	r3, fp, #2048
	sub	r3, r3, #4
	sub	r3, r3, #4
	ldr	r1, .L324+20
	mov	r0, r3
	bl	fgets
	sub	r2, fp, #2064
	sub	r2, r2, #4
	sub	r2, r2, #4
	sub	r0, fp, #1024
	sub	r0, r0, #4
	sub	r0, r0, #4
	mov	r3, #34
	str	r3, [sp, #4]
	sub	r3, fp, #2048
	sub	r3, r3, #4
	sub	r3, r3, #4
	str	r3, [sp]
	mov	r3, #34
	ldr	r1, .L324+24
	bl	sprintf
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r0, r3
	bl	system
	mov	r3, #0
.L322:
	ldr	r2, .L324
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L323
	bl	__stack_chk_fail
.L323:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L325:
	.align	2
.L324:
	.word	.LC88
	.word	.LC85
	.word	stdout
	.word	stdin
	.word	.LC86
	.word	1023
	.word	.LC87
	.size	zend, .-zend
	.section	.rodata
	.align	2
.LC89:
	.ascii	"(Cleargame): Are you sure? \000"
	.align	2
.LC90:
	.ascii	"YES\000"
	.align	2
.LC91:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	clrgam
	.syntax unified
	.arm
	.fpu softvfp
	.type	clrgam, %function
clrgam:
	@ args = 0, pretend = 0, frame = 104
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #104
	ldr	r3, .L330
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, .L330+4
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	ldr	r3, .L330+8
	ldr	r3, [r3]
	ldr	r2, .L330+12
	cmp	r3, r2
	beq	.L327
	ldr	r3, .L330+8
	ldr	r3, [r3]
	ldr	r2, .L330+16
	cmp	r3, r2
	beq	.L327
	ldr	r3, .L330+8
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L328
.L327:
	ldr	r0, .L330+20
	bl	printf
	ldr	r3, .L330+4
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	ldr	r3, .L330+24
	ldr	r2, [r3]
	sub	r3, fp, #108
	mov	r1, #99
	mov	r0, r3
	bl	fgets
	sub	r3, fp, #108
	ldr	r1, .L330+28
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L328
	ldr	r3, .L330+32
	ldr	r3, [r3]
	mov	r2, #0
	str	r2, [r3]
.L328:
	nop
	ldr	r2, .L330
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L329
	bl	__stack_chk_fail
.L329:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L331:
	.align	2
.L330:
	.word	.LC91
	.word	stdout
	.word	UID
	.word	501
	.word	502
	.word	.LC89
	.word	stdin
	.word	.LC90
	.word	sm
	.size	clrgam, .-clrgam
	.section	.rodata
	.align	2
.LC92:
	.ascii	"%2d\000"
	.text
	.align	2
	.global	scan
	.syntax unified
	.arm
	.fpu softvfp
	.type	scan, %function
scan:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	mov	r3, #1
	str	r3, [fp, #-8]
	b	.L333
.L336:
	mov	r3, #1
	str	r3, [fp, #-12]
	b	.L334
.L335:
	mov	r0, #32
	bl	putchar
	ldr	r3, .L337
	ldr	r2, [r3]
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #4
	add	r2, r2, r3
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	add	r3, r3, #2272
	add	r3, r3, #6
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r0, .L337+4
	bl	printf
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L334:
	ldr	r3, [fp, #-12]
	cmp	r3, #15
	ble	.L335
	mov	r0, #10
	bl	putchar
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L333:
	ldr	r3, [fp, #-8]
	cmp	r3, #14
	ble	.L336
	nop
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L338:
	.align	2
.L337:
	.word	sm
	.word	.LC92
	.size	scan, .-scan
	.section	.rodata
	.align	2
.LC93:
	.ascii	".  .  .  .  .  .  .  .  .  .  .  .  .  .  .\000"
	.align	2
.LC94:
	.ascii	"=============>  =====[     ]=======\000"
	.text
	.align	2
	.global	setit
	.syntax unified
	.arm
	.fpu softvfp
	.type	setit, %function
setit:
	@ 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	cls
	mov	r3, #1
	str	r3, [fp, #-8]
	b	.L340
.L341:
	mov	r1, #36
	ldr	r0, [fp, #-8]
	bl	gotoxy
	ldr	r0, .L342
	bl	printf
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L340:
	ldr	r3, [fp, #-8]
	cmp	r3, #14
	ble	.L341
	mov	r1, #1
	mov	r0, #14
	bl	gotoxy
	ldr	r0, .L342+4
	bl	printf
	nop
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L343:
	.align	2
.L342:
	.word	.LC93
	.word	.LC94
	.size	setit, .-setit
	.section	.rodata
	.align	2
.LC95:
	.ascii	"%s\000"
	.text
	.align	2
	.global	updtim
	.syntax unified
	.arm
	.fpu softvfp
	.type	updtim, %function
updtim:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	mov	r1, #23
	mov	r0, #14
	bl	gotoxy
	mov	r0, #0
	bl	sdate
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L345
	bl	printf
	nop
	mov	r0, r3
	pop	{fp, pc}
.L346:
	.align	2
.L345:
	.word	.LC95
	.size	updtim, .-updtim
	.section	.rodata
	.align	2
.LC96:
	.ascii	"\033[J\000"
	.text
	.align	2
	.global	cls
	.syntax unified
	.arm
	.fpu softvfp
	.type	cls, %function
cls:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	mov	r1, #1
	mov	r0, #1
	bl	gotoxy
	ldr	r0, .L348
	bl	printf
	nop
	mov	r0, r3
	pop	{fp, pc}
.L349:
	.align	2
.L348:
	.word	.LC96
	.size	cls, .-cls
	.section	.rodata
	.align	2
.LC97:
	.ascii	"\033[%d;%dH\000"
	.text
	.align	2
	.global	gotoxy
	.syntax unified
	.arm
	.fpu softvfp
	.type	gotoxy, %function
gotoxy:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	mov	r3, r0
	mov	r2, r1
	strb	r3, [fp, #-8]
	mov	r3, r2
	strb	r3, [fp, #-12]
	ldrb	r3, [fp, #-8]	@ zero_extendqisi2
	ldrb	r2, [fp, #-12]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r0, .L352
	bl	printf
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L353:
	.align	2
.L352:
	.word	.LC97
	.size	gotoxy, .-gotoxy
	.section	.rodata
	.align	2
.LC98:
	.ascii	"\033[15;24r\000"
	.text
	.align	2
	.global	setscr
	.syntax unified
	.arm
	.fpu softvfp
	.type	setscr, %function
setscr:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r0, .L355
	bl	printf
	nop
	mov	r0, r3
	pop	{fp, pc}
.L356:
	.align	2
.L355:
	.word	.LC98
	.size	setscr, .-setscr
	.section	.rodata
	.align	2
.LC99:
	.ascii	"\033[0;24r\000"
	.text
	.align	2
	.global	nrmscr
	.syntax unified
	.arm
	.fpu softvfp
	.type	nrmscr, %function
nrmscr:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r0, .L358
	bl	printf
	nop
	mov	r0, r3
	pop	{fp, pc}
.L359:
	.align	2
.L358:
	.word	.LC99
	.size	nrmscr, .-nrmscr
	.section	.rodata
	.align	2
.LC100:
	.ascii	"Autosend to which planet: \000"
	.align	2
.LC101:
	.ascii	"#%2d - %4d: \000"
	.align	2
.LC102:
	.ascii	"\012You have lost control of world #%d\012\000"
	.align	2
.LC103:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	autosd
	.syntax unified
	.arm
	.fpu softvfp
	.type	autosd, %function
autosd:
	@ args = 0, pretend = 0, frame = 184
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #188
	ldr	r3, .L382
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mvn	r3, #0
	str	r3, [fp, #-184]
	b	.L361
.L363:
	ldr	r0, .L382+4
	bl	printf
	sub	r3, fp, #196
	mov	r0, r3
	bl	getnum
	str	r0, [fp, #-184]
	ldr	r3, [fp, #-196]
	cmp	r3, #0
	blt	.L362
	ldr	r3, [fp, #-196]
	cmp	r3, #38
	ble	.L361
.L362:
	mvn	r3, #0
	str	r3, [fp, #-184]
.L361:
	ldr	r3, [fp, #-184]
	cmn	r3, #1
	beq	.L363
	mov	r3, #0
	str	r3, [fp, #-188]
	b	.L364
.L376:
	ldr	r3, [fp, #-188]
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	mov	r2, #0
	str	r2, [r3, #-164]
	ldr	r3, .L382+8
	ldr	r2, [r3]
	ldr	r3, [fp, #-188]
	add	r3, r3, #128
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3, #4]
	ldr	r2, .L382+12
	ldrb	r2, [r2]	@ zero_extendqisi2
	cmp	r3, r2
	bne	.L365
	ldr	r3, [fp, #-196]
	ldr	r2, [fp, #-188]
	cmp	r2, r3
	beq	.L365
	ldr	r3, [fp, #-188]
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	mov	r2, #1
	str	r2, [r3, #-164]
	mvn	r3, #0
	str	r3, [fp, #-184]
	b	.L366
.L375:
	ldr	r3, .L382+8
	ldr	r2, [r3]
	ldr	r3, [fp, #-188]
	add	r3, r3, #208
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3, #4]
	mov	r2, r3
	ldr	r1, [fp, #-188]
	ldr	r0, .L382+16
	bl	printf
	sub	r3, fp, #192
	mov	r0, r3
	bl	getnum
	str	r0, [fp, #-184]
	ldr	r3, [fp, #-192]
	cmp	r3, #0
	blt	.L367
	ldr	r3, .L382+8
	ldr	r2, [r3]
	ldr	r3, [fp, #-188]
	add	r3, r3, #208
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-192]
	cmp	r2, r3
	bge	.L368
.L367:
	mvn	r3, #0
	str	r3, [fp, #-184]
	b	.L366
.L368:
	ldr	r3, [fp, #-192]
	cmp	r3, #0
	ble	.L366
	mov	r3, #0
	str	r3, [fp, #-180]
	b	.L369
.L371:
	ldr	r3, [fp, #-180]
	add	r3, r3, #1
	str	r3, [fp, #-180]
.L369:
	ldr	r2, .L382+20
	ldr	r3, [fp, #-180]
	ldr	r3, [r2, r3, lsl #2]
	cmp	r3, #0
	beq	.L370
	ldr	r3, [fp, #-180]
	cmp	r3, #99
	ble	.L371
.L370:
	ldr	r3, [fp, #-180]
	cmp	r3, #100
	bne	.L372
	ldr	r0, .L382+24
	bl	puts
	mov	r3, #0
	b	.L360
.L372:
	ldr	r3, .L382+8
	ldr	r2, [r3]
	ldr	r3, [fp, #-188]
	add	r3, r3, #128
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3, #4]
	ldr	r2, .L382+12
	ldrb	r2, [r2]	@ zero_extendqisi2
	cmp	r3, r2
	beq	.L374
	ldr	r1, [fp, #-188]
	ldr	r0, .L382+28
	bl	printf
	b	.L366
.L374:
	ldr	r2, [fp, #-192]
	ldr	r1, .L382+32
	ldr	r3, [fp, #-180]
	str	r2, [r1, r3, lsl #3]
	ldr	r3, .L382+8
	ldr	r2, [r3]
	ldr	r3, [fp, #-188]
	add	r3, r3, #208
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-192]
	ldr	r1, .L382+8
	ldr	r1, [r1]
	sub	r2, r2, r3
	ldr	r3, [fp, #-188]
	add	r3, r3, #208
	lsl	r3, r3, #2
	add	r3, r1, r3
	str	r2, [r3, #4]
	ldr	r2, [fp, #-196]
	ldr	r1, .L382+32
	ldr	r3, [fp, #-180]
	lsl	r3, r3, #3
	add	r3, r1, r3
	str	r2, [r3, #4]
	mov	r0, #0
	bl	time
	mov	r4, r0
	ldr	r3, [fp, #-196]
	mov	r1, r3
	ldr	r0, [fp, #-188]
	bl	prange
	mov	r2, r0
	ldr	r3, .L382+36
	ldr	r3, [r3]
	mul	r3, r2, r3
	add	r2, r4, r3
	ldr	r1, .L382+20
	ldr	r3, [fp, #-180]
	str	r2, [r1, r3, lsl #2]
	ldr	r2, .L382+20
	ldr	r3, [fp, #-180]
	ldr	r3, [r2, r3, lsl #2]
	mov	r0, r3
	bl	sdate
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L382+40
	bl	printf
	ldr	r0, [fp, #-180]
	bl	pirate
.L366:
	ldr	r3, [fp, #-184]
	cmn	r3, #1
	beq	.L375
.L365:
	ldr	r3, [fp, #-188]
	add	r3, r3, #1
	str	r3, [fp, #-188]
.L364:
	ldr	r3, [fp, #-188]
	cmp	r3, #38
	ble	.L376
	ldr	r3, .L382+44
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L377
	ldr	r3, .L382+48
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L377
	mov	r3, #0
	str	r3, [fp, #-188]
	b	.L378
.L380:
	ldr	r3, [fp, #-188]
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r3, [r3, #-164]
	cmp	r3, #0
	beq	.L379
	ldr	r0, [fp, #-188]
	bl	pset
.L379:
	ldr	r3, [fp, #-188]
	add	r3, r3, #1
	str	r3, [fp, #-188]
.L378:
	ldr	r3, [fp, #-188]
	cmp	r3, #38
	ble	.L380
.L377:
.L360:
	ldr	r2, .L382
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L381
	bl	__stack_chk_fail
.L381:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L383:
	.align	2
.L382:
	.word	.LC103
	.word	.LC100
	.word	sm
	.word	mynum
	.word	.LC101
	.word	events
	.word	.LC73
	.word	.LC102
	.word	stack
	.word	trav_time
	.word	.LC77
	.word	vtmode
	.word	awetow
	.size	autosd, .-autosd
	.section	.rodata
	.align	2
.LC104:
	.ascii	"\033[5m\000"
	.text
	.align	2
	.global	blink
	.syntax unified
	.arm
	.fpu softvfp
	.type	blink, %function
blink:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r0, .L386
	bl	printf
	mov	r3, #0
	mov	r0, r3
	pop	{fp, pc}
.L387:
	.align	2
.L386:
	.word	.LC104
	.size	blink, .-blink
	.section	.rodata
	.align	2
.LC105:
	.ascii	"\033[0m\000"
	.align	2
.LC106:
	.ascii	"\033[2m\000"
	.align	2
.LC107:
	.ascii	"\033[8m\000"
	.text
	.align	2
	.global	dim
	.syntax unified
	.arm
	.fpu softvfp
	.type	dim, %function
dim:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r3, .L391
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L389
	ldr	r0, .L391+4
	bl	printf
	b	.L390
.L389:
	ldr	r0, .L391+8
	bl	printf
	ldr	r0, .L391+12
	bl	printf
.L390:
	nop
	mov	r0, r3
	pop	{fp, pc}
.L392:
	.align	2
.L391:
	.word	vtloo
	.word	.LC105
	.word	.LC106
	.word	.LC107
	.size	dim, .-dim
	.section	.rodata
	.align	2
.LC108:
	.ascii	"\033[1m\000"
	.text
	.align	2
	.global	normal
	.syntax unified
	.arm
	.fpu softvfp
	.type	normal, %function
normal:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r0, .L396
	bl	printf
	ldr	r3, .L396+4
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L394
	ldr	r0, .L396+8
	bl	printf
.L394:
	mov	r3, #0
	mov	r0, r3
	pop	{fp, pc}
.L397:
	.align	2
.L396:
	.word	.LC105
	.word	vtloo
	.word	.LC108
	.size	normal, .-normal
	.section	.rodata
	.align	2
.LC109:
	.ascii	"Private message toggle is off.\000"
	.align	2
.LC110:
	.ascii	"Enter user number to private msg to: \000"
	.align	2
.LC111:
	.ascii	"Toggle set to send to %s]\000"
	.text
	.align	2
	.global	prvtog
	.syntax unified
	.arm
	.fpu softvfp
	.type	prvtog, %function
prvtog:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r3, .L403
	ldr	r3, [r3]
	cmp	r3, #0
	blt	.L399
	ldr	r3, .L403
	mvn	r2, #0
	str	r2, [r3]
	ldr	r0, .L403+4
	bl	puts
	mov	r3, #0
	b	.L398
.L399:
	ldr	r0, .L403+8
	bl	printf
	ldr	r0, .L403
	bl	getnum
	ldr	r3, .L403
	ldr	r3, [r3]
	cmp	r3, #0
	blt	.L401
	ldr	r3, .L403
	ldr	r3, [r3]
	cmp	r3, #7
	ble	.L402
.L401:
	ldr	r3, .L403
	mvn	r2, #0
	str	r2, [r3]
.L402:
	ldr	r3, .L403
	ldr	r3, [r3]
	cmp	r3, #0
	blt	.L399
	ldr	r3, .L403+12
	ldr	r1, [r3]
	ldr	r3, .L403
	ldr	r2, [r3]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, #1568
	add	r3, r1, r3
	mov	r1, r3
	ldr	r0, .L403+16
	bl	printf
.L398:
	mov	r0, r3
	pop	{fp, pc}
.L404:
	.align	2
.L403:
	.word	toggle
	.word	.LC109
	.word	.LC110
	.word	sm
	.word	.LC111
	.size	prvtog, .-prvtog
	.section	.rodata
	.align	2
.LC112:
	.ascii	"\012Warp from world:\000"
	.align	2
.LC113:
	.ascii	"Warp to world:\000"
	.align	2
.LC114:
	.ascii	"Warp fleet will arrive at %s carrying %d ships\012\000"
	.align	2
.LC115:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	warp
	.syntax unified
	.arm
	.fpu softvfp
	.type	warp, %function
warp:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #28
	ldr	r3, .L424
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mvn	r3, #0
	str	r3, [fp, #-24]
	b	.L406
.L408:
	ldr	r0, .L424+4
	bl	printf
	sub	r3, fp, #32
	mov	r0, r3
	bl	getnum
	str	r0, [fp, #-24]
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	blt	.L407
	ldr	r3, [fp, #-32]
	cmp	r3, #38
	ble	.L406
.L407:
	mvn	r3, #0
	str	r3, [fp, #-24]
.L406:
	ldr	r3, [fp, #-24]
	cmn	r3, #1
	beq	.L408
	ldr	r3, .L424+8
	ldr	r2, [r3]
	ldr	r3, [fp, #-32]
	add	r3, r3, #128
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3, #4]
	ldr	r2, .L424+12
	ldrb	r2, [r2]	@ zero_extendqisi2
	cmp	r3, r2
	beq	.L409
	ldr	r0, .L424+16
	bl	puts
	mov	r3, #0
	b	.L405
.L409:
	mvn	r3, #0
	str	r3, [fp, #-36]
	b	.L411
.L413:
	ldr	r0, .L424+20
	bl	printf
	sub	r3, fp, #28
	mov	r0, r3
	bl	getnum
	mov	r3, r0
	str	r3, [fp, #-36]
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	blt	.L412
	ldr	r3, [fp, #-28]
	cmp	r3, #38
	ble	.L411
.L412:
	mvn	r3, #0
	str	r3, [fp, #-36]
.L411:
	ldr	r3, [fp, #-36]
	cmn	r3, #1
	beq	.L413
	mov	r3, #0
	str	r3, [fp, #-20]
	b	.L414
.L416:
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L414:
	ldr	r2, .L424+24
	ldr	r3, [fp, #-20]
	ldr	r3, [r2, r3, lsl #2]
	cmp	r3, #0
	beq	.L415
	ldr	r3, [fp, #-20]
	cmp	r3, #99
	ble	.L416
.L415:
	ldr	r3, [fp, #-20]
	cmp	r3, #100
	bne	.L417
	ldr	r0, .L424+28
	bl	puts
	mov	r3, #0
	b	.L405
.L417:
	ldr	r3, .L424+8
	ldr	r2, [r3]
	ldr	r3, [fp, #-32]
	add	r3, r3, #208
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3, #4]
	mov	r1, r3
	ldr	r0, .L424+32
	bl	printf
	sub	r3, fp, #36
	mov	r0, r3
	bl	getnum
	str	r0, [fp, #-24]
	ldr	r3, .L424+8
	ldr	r2, [r3]
	ldr	r3, [fp, #-32]
	add	r3, r3, #208
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-36]
	cmp	r2, r3
	blt	.L418
	ldr	r3, [fp, #-36]
	cmp	r3, #99
	bgt	.L419
.L418:
	ldr	r0, .L424+36
	bl	printf
	mov	r3, #0
	b	.L405
.L419:
	ldr	r3, .L424+8
	ldr	r2, [r3]
	ldr	r3, [fp, #-32]
	add	r3, r3, #128
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3, #4]
	ldr	r2, .L424+12
	ldrb	r2, [r2]	@ zero_extendqisi2
	cmp	r3, r2
	beq	.L420
	ldr	r0, .L424+40
	bl	puts
	mov	r3, #0
	b	.L405
.L420:
	ldr	r3, [fp, #-36]
	ldr	r2, .L424+44
	smull	r1, r2, r3, r2
	asr	r2, r2, #2
	asr	r3, r3, #31
	sub	r2, r3, r2
	ldr	r3, [fp, #-36]
	add	r2, r2, r3
	ldr	r1, .L424+48
	ldr	r3, [fp, #-20]
	str	r2, [r1, r3, lsl #3]
	ldr	r3, .L424+8
	ldr	r2, [r3]
	ldr	r3, [fp, #-32]
	add	r3, r3, #208
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r0, [r3, #4]
	ldr	r2, [fp, #-36]
	ldr	r3, .L424+8
	ldr	r1, [r3]
	ldr	r3, [fp, #-32]
	sub	r2, r0, r2
	add	r3, r3, #208
	lsl	r3, r3, #2
	add	r3, r1, r3
	str	r2, [r3, #4]
	ldr	r2, [fp, #-28]
	ldr	r1, .L424+48
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #3
	add	r3, r1, r3
	str	r2, [r3, #4]
	mov	r0, #0
	bl	time
	mov	r4, r0
	ldr	r3, [fp, #-32]
	ldr	r2, [fp, #-28]
	mov	r1, r2
	mov	r0, r3
	bl	prange
	mov	r1, r0
	ldr	r3, .L424+52
	ldr	r3, [r3]
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	mul	r3, r1, r3
	add	r2, r4, r3
	ldr	r1, .L424+24
	ldr	r3, [fp, #-20]
	str	r2, [r1, r3, lsl #2]
	ldr	r2, .L424+24
	ldr	r3, [fp, #-20]
	ldr	r3, [r2, r3, lsl #2]
	mov	r0, r3
	bl	sdate
	mov	r1, r0
	ldr	r3, [fp, #-36]
	ldr	r2, .L424+44
	smull	r0, r2, r3, r2
	asr	r2, r2, #2
	asr	r3, r3, #31
	sub	r2, r3, r2
	ldr	r3, [fp, #-36]
	add	r3, r2, r3
	mov	r2, r3
	ldr	r0, .L424+56
	bl	printf
	ldr	r3, .L424+60
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L421
	ldr	r3, .L424+64
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L421
	ldr	r3, [fp, #-32]
	mov	r0, r3
	bl	pset
.L421:
.L405:
	ldr	r2, .L424
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L423
	bl	__stack_chk_fail
.L423:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L425:
	.align	2
.L424:
	.word	.LC115
	.word	.LC112
	.word	sm
	.word	mynum
	.word	.LC71
	.word	.LC113
	.word	events
	.word	.LC73
	.word	.LC74
	.word	.LC75
	.word	.LC76
	.word	1717986919
	.word	stack
	.word	trav_time
	.word	.LC114
	.word	vtmode
	.word	awetow
	.size	warp, .-warp
	.section	.rodata
	.align	2
.LC116:
	.ascii	"%2d)\000"
	.text
	.align	2
	.global	plupd
	.syntax unified
	.arm
	.fpu softvfp
	.type	plupd, %function
plupd:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	bl	clrjnk
	bl	normal
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L427
.L432:
	ldr	r3, [fp, #-8]
	cmp	r3, #12
	bgt	.L428
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-16]
	mov	r3, #1
	str	r3, [fp, #-12]
	b	.L429
.L428:
	ldr	r3, [fp, #-8]
	cmp	r3, #25
	bgt	.L430
	ldr	r3, [fp, #-8]
	sub	r3, r3, #12
	str	r3, [fp, #-16]
	mov	r3, #13
	str	r3, [fp, #-12]
	b	.L429
.L430:
	ldr	r3, [fp, #-8]
	sub	r3, r3, #25
	str	r3, [fp, #-16]
	mov	r3, #25
	str	r3, [fp, #-12]
.L429:
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-16]
	bl	gotoxy
	ldr	r1, [fp, #-8]
	ldr	r0, .L433
	bl	printf
	ldr	r3, .L433+4
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	add	r3, r3, #128
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3, #4]
	ldr	r2, .L433+8
	ldrb	r2, [r2]	@ zero_extendqisi2
	cmp	r3, r2
	bne	.L431
	ldr	r0, [fp, #-8]
	bl	pset
.L431:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L427:
	ldr	r3, [fp, #-8]
	cmp	r3, #38
	ble	.L432
	bl	prompt
	nop
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L434:
	.align	2
.L433:
	.word	.LC116
	.word	sm
	.word	mynum
	.size	plupd, .-plupd
	.section	.rodata
	.align	2
.LC117:
	.ascii	"\033[1K\000"
	.text
	.align	2
	.global	clrjnk
	.syntax unified
	.arm
	.fpu softvfp
	.type	clrjnk, %function
clrjnk:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L436
.L437:
	mov	r1, #35
	ldr	r0, [fp, #-8]
	bl	gotoxy
	ldr	r0, .L438
	bl	printf
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L436:
	ldr	r3, [fp, #-8]
	cmp	r3, #13
	ble	.L437
	mov	r1, #1
	mov	r0, #14
	bl	gotoxy
	ldr	r0, .L438
	bl	printf
	nop
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L439:
	.align	2
.L438:
	.word	.LC117
	.size	clrjnk, .-clrjnk
	.section	.rodata
	.align	2
.LC118:
	.ascii	"\033[31m\000"
	.align	2
.LC119:
	.ascii	"\033[35m\000"
	.align	2
.LC120:
	.ascii	"\033[32m\000"
	.align	2
.LC121:
	.ascii	"%2d %4d\000"
	.align	2
.LC122:
	.ascii	"       \000"
	.text
	.align	2
	.global	pset
	.syntax unified
	.arm
	.fpu softvfp
	.type	pset, %function
pset:
	@ 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]
	ldr	r3, [fp, #-16]
	cmp	r3, #12
	bgt	.L441
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-12]
	mov	r3, #4
	str	r3, [fp, #-8]
	b	.L442
.L441:
	ldr	r3, [fp, #-16]
	cmp	r3, #25
	bgt	.L443
	ldr	r3, [fp, #-16]
	sub	r3, r3, #12
	str	r3, [fp, #-12]
	mov	r3, #16
	str	r3, [fp, #-8]
	b	.L442
.L443:
	ldr	r3, [fp, #-16]
	sub	r3, r3, #25
	str	r3, [fp, #-12]
	mov	r3, #28
	str	r3, [fp, #-8]
.L442:
	ldr	r1, [fp, #-8]
	ldr	r0, [fp, #-12]
	bl	gotoxy
	ldr	r3, .L454
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	add	r3, r3, #128
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3, #4]
	ldr	r2, .L454+4
	ldrb	r2, [r2]	@ zero_extendqisi2
	cmp	r3, r2
	bne	.L444
	ldr	r3, .L454+8
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L445
	ldr	r3, .L454
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	add	r3, r3, #208
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3, #4]
	cmp	r3, #0
	bgt	.L446
	ldr	r0, .L454+12
	bl	printf
	b	.L450
.L446:
	ldr	r3, .L454
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	add	r3, r3, #208
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3, #4]
	cmp	r3, #0
	ble	.L448
	ldr	r3, .L454
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	add	r3, r3, #208
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3, #4]
	cmp	r3, #199
	bgt	.L448
	bl	normal
	ldr	r0, .L454+12
	bl	printf
	b	.L450
.L448:
	ldr	r3, .L454
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	add	r3, r3, #208
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3, #4]
	cmp	r3, #199
	ble	.L449
	ldr	r3, .L454
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	add	r3, r3, #208
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3, #4]
	ldr	r2, .L454+16
	cmp	r3, r2
	bgt	.L449
	bl	normal
	ldr	r0, .L454+20
	bl	printf
	b	.L450
.L449:
	bl	normal
	ldr	r0, .L454+24
	bl	printf
	b	.L450
.L445:
	ldr	r3, .L454
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	add	r3, r3, #208
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3, #4]
	cmp	r3, #0
	bgt	.L451
	bl	dim
	b	.L450
.L451:
	ldr	r3, .L454
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	add	r3, r3, #208
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3, #4]
	cmp	r3, #0
	ble	.L452
	ldr	r3, .L454
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	add	r3, r3, #208
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3, #4]
	ldr	r2, .L454+16
	cmp	r3, r2
	bgt	.L452
	bl	dim
	b	.L450
.L452:
	bl	normal
.L450:
	ldr	r3, .L454
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	add	r3, r3, #168
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r1, [r3, #4]
	ldr	r3, .L454
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	add	r3, r3, #208
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3, #4]
	mov	r2, r3
	ldr	r0, .L454+28
	bl	printf
	b	.L453
.L444:
	ldr	r0, .L454+32
	bl	printf
.L453:
	bl	normal
	nop
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L455:
	.align	2
.L454:
	.word	sm
	.word	mynum
	.word	ansi
	.word	.LC118
	.word	1499
	.word	.LC119
	.word	.LC120
	.word	.LC121
	.word	.LC122
	.size	pset, .-pset
	.section	.rodata
	.align	2
.LC123:
	.ascii	"\033[%dm\000"
	.text
	.align	2
	.global	vtscan
	.syntax unified
	.arm
	.fpu softvfp
	.type	vtscan, %function
vtscan:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L457
.L463:
	ldr	r3, .L464
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	add	r3, r3, #48
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r0, [r3, #4]
	ldr	r3, .L464
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	add	r3, r3, #8
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [r3, #4]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	add	r3, r3, #33
	mov	r1, r3
	bl	gotoxy
	ldr	r3, .L464+4
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L458
	ldr	r3, .L464
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	add	r3, r3, #128
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3, #4]
	and	r3, r3, #255
	add	r3, r3, #31
	strb	r3, [fp, #-9]
	ldrb	r3, [fp, #-9]	@ zero_extendqisi2
	cmp	r3, #36
	bls	.L459
	mov	r3, #36
	strb	r3, [fp, #-9]
.L459:
	ldrb	r3, [fp, #-9]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r0, .L464+8
	bl	printf
	ldrb	r3, [fp, #-9]	@ zero_extendqisi2
	cmp	r3, #30
	bhi	.L460
	bl	normal
	b	.L460
.L458:
	bl	dim
	ldr	r3, .L464
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	add	r3, r3, #128
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3, #4]
	ldr	r2, .L464+12
	ldrb	r2, [r2]	@ zero_extendqisi2
	cmp	r3, r2
	bne	.L461
	bl	normal
	b	.L462
.L461:
	ldr	r3, .L464
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	add	r3, r3, #128
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3, #4]
	cmp	r3, #0
	blt	.L462
	bl	blink
.L462:
	ldr	r3, .L464
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	add	r3, r3, #128
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3, #4]
	cmn	r3, #1
	bne	.L460
	bl	dim
.L460:
	ldr	r1, [fp, #-8]
	ldr	r0, .L464+16
	bl	printf
	bl	normal
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L457:
	ldr	r3, [fp, #-8]
	cmp	r3, #38
	ble	.L463
	bl	dim
	bl	normal
	bl	prompt
	nop
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L465:
	.align	2
.L464:
	.word	sm
	.word	ansi
	.word	.LC123
	.word	mynum
	.word	.LC92
	.size	vtscan, .-vtscan
	.section	.rodata
	.align	2
.LC124:
	.ascii	"Dst  Size  Arriv  Dst  Size  Arriv\000"
	.align	2
.LC125:
	.ascii	" %2d  %4d  %s\000"
	.text
	.align	2
	.global	vtflts
	.syntax unified
	.arm
	.fpu softvfp
	.type	vtflts, %function
vtflts:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #16
	bl	clrjnk
	mov	r1, #1
	mov	r0, #1
	bl	gotoxy
	ldr	r0, .L473
	bl	printf
	mov	r3, #1
	str	r3, [fp, #-20]
	mov	r3, #1
	str	r3, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-28]
	b	.L467
.L470:
	ldr	r2, .L473+4
	ldr	r3, [fp, #-28]
	ldr	r3, [r2, r3, lsl #2]
	cmp	r3, #0
	beq	.L468
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-24]
	cmp	r3, #24
	bgt	.L468
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #13
	ble	.L469
	mov	r3, #2
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-20]
	add	r3, r3, #18
	str	r3, [fp, #-20]
.L469:
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-16]
	bl	gotoxy
	ldr	r2, .L473+8
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldr	r4, [r3, #4]
	ldr	r2, .L473+8
	ldr	r3, [fp, #-28]
	ldr	r5, [r2, r3, lsl #3]
	ldr	r2, .L473+4
	ldr	r3, [fp, #-28]
	ldr	r3, [r2, r3, lsl #2]
	mov	r0, r3
	bl	sdate
	mov	r3, r0
	mov	r2, r5
	mov	r1, r4
	ldr	r0, .L473+12
	bl	printf
.L468:
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
.L467:
	ldr	r3, [fp, #-28]
	cmp	r3, #98
	ble	.L470
	mov	r1, #34
	mov	r0, #14
	bl	gotoxy
	ldr	r3, [fp, #-24]
	cmp	r3, #24
	ble	.L471
	bl	blink
	mov	r0, #42
	bl	putchar
	bl	normal
	b	.L472
.L471:
	mov	r0, #61
	bl	putchar
.L472:
	bl	prompt
	nop
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L474:
	.align	2
.L473:
	.word	.LC124
	.word	events
	.word	stack
	.word	.LC125
	.size	vtflts, .-vtflts
	.section	.rodata
	.align	2
.LC126:
	.ascii	"Enter planet: \000"
	.align	2
.LC127:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	shtscn
	.syntax unified
	.arm
	.fpu softvfp
	.type	shtscn, %function
shtscn:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	ldr	r3, .L488
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mvn	r3, #0
	str	r3, [fp, #-36]
	b	.L476
.L478:
	ldr	r0, .L488+4
	bl	printf
	sub	r3, fp, #36
	mov	r0, r3
	bl	getnum
	ldr	r3, [fp, #-36]
	cmp	r3, #0
	blt	.L477
	ldr	r3, [fp, #-36]
	cmp	r3, #38
	ble	.L476
.L477:
	mvn	r3, #0
	str	r3, [fp, #-36]
.L476:
	ldr	r3, [fp, #-36]
	cmn	r3, #1
	beq	.L478
	ldr	r3, .L488+8
	ldr	r2, [r3]
	ldr	r3, [fp, #-36]
	add	r3, r3, #8
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3, #4]
	sub	r3, r3, #5
	str	r3, [fp, #-32]
	ldr	r3, .L488+8
	ldr	r2, [r3]
	ldr	r3, [fp, #-36]
	add	r3, r3, #8
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3, #4]
	add	r3, r3, #5
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	bgt	.L479
	ldr	r3, [fp, #-32]
	rsb	r3, r3, #1
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	str	r3, [fp, #-28]
	mov	r3, #1
	str	r3, [fp, #-32]
.L479:
	ldr	r3, [fp, #-28]
	cmp	r3, #15
	ble	.L480
	ldr	r3, [fp, #-28]
	sub	r3, r3, #15
	ldr	r2, [fp, #-32]
	sub	r3, r2, r3
	str	r3, [fp, #-32]
	mov	r3, #15
	str	r3, [fp, #-28]
.L480:
	ldr	r3, .L488+8
	ldr	r2, [r3]
	ldr	r3, [fp, #-36]
	add	r3, r3, #48
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3, #4]
	sub	r3, r3, #5
	str	r3, [fp, #-24]
	ldr	r3, .L488+8
	ldr	r2, [r3]
	ldr	r3, [fp, #-36]
	add	r3, r3, #48
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3, #4]
	add	r3, r3, #5
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	bgt	.L481
	ldr	r3, [fp, #-24]
	rsb	r3, r3, #1
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	str	r3, [fp, #-20]
	mov	r3, #1
	str	r3, [fp, #-24]
.L481:
	ldr	r3, [fp, #-20]
	cmp	r3, #14
	ble	.L482
	ldr	r3, [fp, #-20]
	sub	r3, r3, #14
	ldr	r2, [fp, #-24]
	sub	r3, r2, r3
	str	r3, [fp, #-24]
	mov	r3, #14
	str	r3, [fp, #-20]
.L482:
	ldr	r3, [fp, #-24]
	str	r3, [fp, #-12]
	b	.L483
.L486:
	ldr	r3, [fp, #-32]
	str	r3, [fp, #-16]
	b	.L484
.L485:
	mov	r0, #32
	bl	putchar
	ldr	r3, .L488+8
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #4
	add	r2, r2, r3
	ldr	r3, [fp, #-12]
	add	r3, r2, r3
	add	r3, r3, #2272
	add	r3, r3, #6
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r0, .L488+12
	bl	printf
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L484:
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #-16]
	cmp	r2, r3
	bge	.L485
	mov	r0, #10
	bl	putchar
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L483:
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-12]
	cmp	r2, r3
	bge	.L486
	nop
	ldr	r2, .L488
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L487
	bl	__stack_chk_fail
.L487:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L489:
	.align	2
.L488:
	.word	.LC127
	.word	.LC126
	.word	sm
	.word	.LC92
	.size	shtscn, .-shtscn
	.section	.rodata
	.align	2
.LC128:
	.ascii	"Summary of player: \000"
	.align	2
.LC129:
	.ascii	"Summary of %s]\012\012\000"
	.align	2
.LC130:
	.ascii	"Planet  Planet  Planet  Planet\000"
	.align	2
.LC131:
	.ascii	"#%2d\000"
	.align	2
.LC132:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	vtindiv
	.syntax unified
	.arm
	.fpu softvfp
	.type	vtindiv, %function
vtindiv:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	ldr	r3, .L499
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mvn	r3, #0
	str	r3, [fp, #-28]
	b	.L491
.L493:
	ldr	r0, .L499+4
	bl	printf
	sub	r3, fp, #28
	mov	r0, r3
	bl	getnum
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	blt	.L492
	ldr	r3, [fp, #-28]
	cmp	r3, #7
	ble	.L491
.L492:
	mvn	r3, #0
	str	r3, [fp, #-28]
.L491:
	ldr	r3, [fp, #-28]
	cmn	r3, #1
	beq	.L493
	bl	clrjnk
	mov	r1, #1
	mov	r0, #1
	bl	gotoxy
	ldr	r3, .L499+8
	ldr	r1, [r3]
	ldr	r2, [fp, #-28]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, #1568
	add	r3, r1, r3
	mov	r1, r3
	ldr	r0, .L499+12
	bl	printf
	ldr	r0, .L499+16
	bl	printf
	mov	r3, #3
	str	r3, [fp, #-16]
	mov	r3, #3
	str	r3, [fp, #-12]
	mov	r3, #0
	str	r3, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-24]
	b	.L494
.L497:
	ldr	r3, .L499+8
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	add	r3, r3, #128
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-28]
	cmp	r2, r3
	bne	.L495
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-20]
	cmp	r3, #10
	ble	.L496
	mov	r3, #1
	str	r3, [fp, #-20]
	mov	r3, #3
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-16]
	add	r3, r3, #8
	str	r3, [fp, #-16]
.L496:
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
	ldr	r1, [fp, #-16]
	ldr	r0, [fp, #-12]
	bl	gotoxy
	ldr	r1, [fp, #-24]
	ldr	r0, .L499+20
	bl	printf
.L495:
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L494:
	ldr	r3, [fp, #-24]
	cmp	r3, #38
	ble	.L497
	bl	prompt
	nop
	ldr	r2, .L499
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L498
	bl	__stack_chk_fail
.L498:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L500:
	.align	2
.L499:
	.word	.LC132
	.word	.LC128
	.word	sm
	.word	.LC129
	.word	.LC130
	.word	.LC131
	.size	vtindiv, .-vtindiv
	.align	2
	.global	pirate
	.syntax unified
	.arm
	.fpu softvfp
	.type	pirate, %function
pirate:
	@ 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	r0, #39
	bl	irand
	str	r0, [fp, #-8]
	ldr	r3, .L507
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L502
	mov	r3, #0
	b	.L501
.L502:
	ldr	r3, [fp, #-8]
	cmp	r3, #25
	beq	.L505
	mov	r3, #0
	b	.L501
.L506:
	mov	r0, #80
	bl	irand
	mov	r3, r0
	ldr	r2, .L507+4
	str	r3, [r2]
.L505:
	ldr	r3, .L507+4
	ldr	r3, [r3]
	cmp	r3, #19
	ble	.L506
	ldr	r2, .L507+8
	ldr	r3, [fp, #-16]
	str	r3, [r2]
	ldr	r2, .L507+12
	ldr	r3, [fp, #-16]
	ldr	r3, [r2, r3, lsl #2]
	sub	r3, r3, #20
	ldr	r2, .L507
	str	r3, [r2]
.L501:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L508:
	.align	2
.L507:
	.word	pirtim
	.word	pirsiz
	.word	pirflt
	.word	events
	.size	pirate, .-pirate
	.section	.rodata
	.align	2
.LC133:
	.ascii	"/usr/local/bin/who\000"
	.text
	.align	2
	.global	syswho
	.syntax unified
	.arm
	.fpu softvfp
	.type	syswho, %function
syswho:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r0, .L510
	bl	system
	nop
	mov	r0, r3
	pop	{fp, pc}
.L511:
	.align	2
.L510:
	.word	.LC133
	.size	syswho, .-syswho
	.align	2
	.global	vtupdate
	.syntax unified
	.arm
	.fpu softvfp
	.type	vtupdate, %function
vtupdate:
	@ 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]
	ldr	r3, .L519
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	add	r3, r3, #48
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r0, [r3, #4]
	ldr	r3, .L519
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	add	r3, r3, #8
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [r3, #4]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	add	r3, r3, #33
	mov	r1, r3
	bl	gotoxy
	ldr	r3, .L519+4
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L513
	ldr	r3, .L519
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	add	r3, r3, #128
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3, #4]
	and	r3, r3, #255
	add	r3, r3, #31
	strb	r3, [fp, #-5]
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #36
	bls	.L514
	mov	r3, #36
	strb	r3, [fp, #-5]
.L514:
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r0, .L519+8
	bl	printf
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #30
	bhi	.L515
	bl	normal
	b	.L515
.L513:
	bl	dim
	ldr	r3, .L519
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	add	r3, r3, #128
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3, #4]
	ldr	r2, .L519+12
	ldrb	r2, [r2]	@ zero_extendqisi2
	cmp	r3, r2
	bne	.L516
	bl	normal
	b	.L517
.L516:
	ldr	r3, .L519
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	add	r3, r3, #128
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3, #4]
	cmp	r3, #0
	blt	.L517
	bl	blink
.L517:
	ldr	r3, .L519
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	add	r3, r3, #128
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3, #4]
	cmn	r3, #1
	bne	.L515
	bl	dim
.L515:
	ldr	r1, [fp, #-16]
	ldr	r0, .L519+16
	bl	printf
	bl	normal
	ldr	r3, .L519
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	add	r3, r3, #128
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3, #4]
	ldr	r2, .L519+12
	ldrb	r2, [r2]	@ zero_extendqisi2
	cmp	r3, r2
	bne	.L518
	ldr	r3, .L519+20
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L518
	ldr	r0, [fp, #-16]
	bl	pset
.L518:
	bl	prompt
	nop
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L520:
	.align	2
.L519:
	.word	sm
	.word	ansi
	.word	.LC123
	.word	mynum
	.word	.LC92
	.word	awetow
	.size	vtupdate, .-vtupdate
	.align	2
	.global	onprivs
	.syntax unified
	.arm
	.fpu softvfp
	.type	onprivs, %function
onprivs:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	mov	r0, #100
	bl	setgid
	nop
	mov	r0, r3
	pop	{fp, pc}
	.size	onprivs, .-onprivs
	.align	2
	.global	offprivs
	.syntax unified
	.arm
	.fpu softvfp
	.type	offprivs, %function
offprivs:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r3, .L523
	ldr	r3, [r3]
	mov	r0, r3
	bl	setgid
	nop
	mov	r0, r3
	pop	{fp, pc}
.L524:
	.align	2
.L523:
	.word	GID
	.size	offprivs, .-offprivs
	.section	.rodata
	.align	2
.LC134:
	.ascii	"Quick Help\000"
	.align	2
.LC135:
	.ascii	"a - area      b - broadcast  c - compute    d - war"
	.ascii	"p send  f - fleets\000"
	.align	2
.LC136:
	.ascii	"g - galaxy    h - help       i - one player j - sys"
	.ascii	"tem who k - kwik list\000"
	.align	2
.LC137:
	.ascii	"l - scanner   m - pvt toggle n - no VT100   o - one"
	.ascii	" planet p - pvt msg\000"
	.align	2
.LC138:
	.ascii	"q - quit      r - short scan s - send fleet t - tim"
	.ascii	"e       u - update\000"
	.align	2
.LC139:
	.ascii	"v - VT100 md  w - who        x - auto send  * - aut"
	.ascii	"o update toggle\000"
	.align	2
.LC140:
	.ascii	"; - VT100Colr ? = dim vt100  e - Cleargame  n - Non"
	.ascii	"vt100\000"
	.text
	.align	2
	.global	helpme
	.syntax unified
	.arm
	.fpu softvfp
	.type	helpme, %function
helpme:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	mov	r1, #1
	mov	r0, #24
	bl	gotoxy
	ldr	r0, .L526
	bl	puts
	ldr	r0, .L526+4
	bl	puts
	ldr	r0, .L526+8
	bl	puts
	ldr	r0, .L526+12
	bl	puts
	ldr	r0, .L526+16
	bl	puts
	ldr	r0, .L526+20
	bl	puts
	ldr	r0, .L526+24
	bl	puts
	bl	prompt
	nop
	mov	r0, r3
	pop	{fp, pc}
.L527:
	.align	2
.L526:
	.word	.LC134
	.word	.LC135
	.word	.LC136
	.word	.LC137
	.word	.LC138
	.word	.LC139
	.word	.LC140
	.size	helpme, .-helpme
	.align	2
	.global	trap
	.syntax unified
	.arm
	.fpu softvfp
	.type	trap, %function
trap:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	bl	wrapup
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	trap, .-trap
	.section	.rodata
	.align	2
.LC141:
	.ascii	"Byron Guernsey\000"
	.align	2
.LC142:
	.ascii	"8/05/96\000"
	.align	2
.LC143:
	.ascii	"linux-586-elf\000"
	.align	2
.LC144:
	.ascii	"GalCon (%s) Revised %s by %s\012\000"
	.align	2
.LC145:
	.ascii	"Game length is %ld minutes\012\000"
	.align	2
.LC146:
	.ascii	"\012Allowed to reenter for observation...\000"
	.align	2
.LC147:
	.ascii	"\012O)bserve or P)lay Galcon: P\010\000"
	.align	2
.LC148:
	.ascii	"\012\012Enter your name, please: \000"
	.align	2
.LC149:
	.ascii	" %-9s [%3d,%-3d\000"
	.align	2
.LC150:
	.ascii	"*%-9s [%3d,%-3d\000"
	.align	2
.LC151:
	.ascii	"\012\007?Name may not contain *'s.\000"
	.align	2
.LC152:
	.ascii	"  \007#%2d %s] has joined the battle.\000"
	.align	2
.LC153:
	.ascii	"  \007#%2d %s] has entered tournament for observati"
	.ascii	"on.\000"
	.align	2
.LC154:
	.ascii	"Help will be found in HELP GAMES GALCON.\000"
	.align	2
.LC155:
	.ascii	"\012\000"
	.align	2
.LC156:
	.ascii	"\012Your home planet is #%d, located at (%d,%d)\012"
	.ascii	"\000"
	.align	2
.LC157:
	.ascii	"\012Current time is %s\012\000"
	.align	2
.LC158:
	.ascii	"Years           %ld\012\000"
	.align	2
.LC159:
	.ascii	"\012%cAre you sure you want to Quit? \000"
	.align	2
.LC160:
	.ascii	"VT100 Mode Activated.\000"
	.align	2
.LC161:
	.ascii	"Autoupdate failed - Not in VT100 mode\000"
	.align	2
.LC162:
	.ascii	"Auto-Planet update on.\000"
	.align	2
.LC163:
	.ascii	"Auto-Planet update off.\000"
	.align	2
.LC164:
	.ascii	"VT100 Mode Disabled.\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #44
	bl	getgid
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L627
	str	r2, [r3]
	bl	getuid
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L627+4
	str	r2, [r3]
	bl	onprivs
	ldr	r1, .L627+8
	mov	r0, #2
	bl	signal
	ldr	r1, .L627+8
	mov	r0, #1
	bl	signal
	ldr	r3, .L627+12
	mvn	r2, #0
	str	r2, [r3]
	bl	get_main_region
	mov	r3, r0
	ldr	r2, .L627+16
	str	r3, [r2]
	bl	initterm
	mov	r0, #10
	bl	putchar
	ldr	r3, .L627+20
	ldr	r2, .L627+24
	ldr	r1, .L627+28
	ldr	r0, .L627+32
	bl	printf
	mov	r0, #10
	bl	putchar
	ldr	r2, .L627+36
	ldr	r1, .L627+40
	ldr	r0, .L627+44
	bl	getppn
	ldr	r3, .L627+48
	mov	r2, #3600
	str	r2, [r3]
	ldr	r3, .L627+52
	mov	r2, #15
	strb	r2, [r3]
	ldr	r3, .L627+56
	mov	r2, #14
	strb	r2, [r3]
	ldr	r3, .L627+60
	mov	r2, #1
	strb	r2, [r3]
	ldr	r3, .L627+64
	mov	r2, #45
	str	r2, [r3]
	ldr	r3, .L627+68
	mov	r2, #30
	str	r2, [r3]
	ldr	r3, .L627+48
	ldr	r3, [r3]
	ldr	r2, .L627+72
	smull	r1, r2, r3, r2
	add	r2, r2, r3
	asr	r2, r2, #5
	asr	r3, r3, #31
	sub	r3, r2, r3
	mov	r1, r3
	ldr	r0, .L627+76
	bl	printf
	bl	setrand
	b	.L530
.L531:
	mov	r0, #1
	bl	sleep
.L530:
	ldr	r3, .L627+16
	ldr	r3, [r3]
	ldr	r3, [r3, #996]
	cmp	r3, #122
	beq	.L531
	ldr	r3, .L627+16
	ldr	r3, [r3]
	ldr	r3, [r3, #996]
	cmp	r3, #0
	blt	.L532
	ldr	r3, .L627+16
	ldr	r3, [r3]
	ldr	r3, [r3, #996]
	cmp	r3, #10
	ble	.L533
.L532:
	ldr	r3, .L627+16
	ldr	r3, [r3]
	mov	r2, #0
	str	r2, [r3, #996]
.L533:
	ldr	r3, .L627+16
	ldr	r3, [r3]
	ldr	r3, [r3, #1120]
	cmp	r3, #0
	blt	.L534
	ldr	r3, .L627+16
	ldr	r3, [r3]
	ldr	r2, [r3, #1120]
	ldr	r3, .L627+16
	ldr	r3, [r3]
	ldr	r3, [r3, #996]
	cmp	r2, r3
	ble	.L535
.L534:
	ldr	r3, .L627+16
	ldr	r3, [r3]
	mov	r2, #0
	str	r2, [r3, #1120]
.L535:
	ldr	r3, .L627+16
	ldr	r3, [r3]
	ldr	r3, [r3, #996]
	cmp	r3, #0
	bne	.L536
	ldr	r3, .L627+16
	ldr	r3, [r3]
	mov	r2, #122
	str	r2, [r3, #996]
.L536:
	bl	lock
	ldr	r3, .L627+16
	ldr	r3, [r3]
	ldr	r3, [r3, #996]
	cmp	r3, #122
	beq	.L537
	ldr	r3, .L627+16
	ldr	r3, [r3]
	ldr	r3, [r3, #1372]
	add	r4, r3, #300
	mov	r0, #0
	bl	time
	mov	r3, r0
	cmp	r4, r3
	blt	.L537
	ldr	r3, .L627+16
	ldr	r3, [r3]
	ldr	r4, [r3, #1372]
	mov	r0, #0
	bl	time
	mov	r3, r0
	cmp	r4, r3
	ble	.L538
.L537:
	bl	setup
.L538:
	mov	r3, #0
	str	r3, [fp, #-28]
	b	.L539
.L540:
	ldr	r2, .L627+80
	ldr	r3, [fp, #-28]
	mov	r1, #0
	str	r1, [r2, r3, lsl #2]
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
.L539:
	ldr	r3, [fp, #-28]
	cmp	r3, #98
	ble	.L540
	mov	r3, #0
	str	r3, [fp, #-24]
	b	.L541
.L543:
	ldr	r3, .L627+16
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	add	r3, r3, #300
	add	r3, r3, #2
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [r3, #4]
	ldr	r3, .L627+44
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L542
	ldr	r3, .L627+16
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	add	r3, r3, #320
	add	r3, r3, #2
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [r3, #4]
	ldr	r3, .L627+40
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L542
	ldr	r0, .L627+84
	bl	puts
	ldr	r3, .L627+88
	mov	r2, #1
	strb	r2, [r3]
.L542:
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L541:
	ldr	r3, [fp, #-24]
	cmp	r3, #19
	ble	.L543
	ldr	r3, .L627+92
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	ldr	r3, .L627+88
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L544
	ldr	r0, .L627+96
	bl	printf
	ldr	r3, .L627+92
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	bl	getchr
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L627+88
	strb	r2, [r3]
	ldr	r3, .L627+88
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r0, r3
	bl	toupper
	mov	r3, r0
	and	r2, r3, #255
	ldr	r3, .L627+88
	strb	r2, [r3]
	ldr	r3, .L627+88
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #79
	bne	.L545
	ldr	r3, .L627+88
	mov	r2, #1
	strb	r2, [r3]
	mov	r0, #79
	bl	putchar
	b	.L544
.L545:
	ldr	r3, .L627+88
	mov	r2, #0
	strb	r2, [r3]
.L544:
	mov	r3, #0
	str	r3, [fp, #-24]
	b	.L546
.L548:
	ldr	r3, .L627+16
	ldr	r3, [r3]
	ldr	r2, [fp, #-24]
	add	r2, r2, #250
	ldr	r2, [r3, r2, lsl #2]
	ldr	r3, .L627+44
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L547
	ldr	r3, .L627+16
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	add	r3, r3, #264
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [r3, #4]
	ldr	r3, .L627+40
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L547
	ldr	r3, .L627+100
	mov	r2, #1
	str	r2, [r3]
.L547:
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L546:
	ldr	r3, [fp, #-24]
	cmp	r3, #14
	ble	.L548
	ldr	r3, .L627+16
	ldr	r3, [r3]
	ldr	r3, [r3, #1124]
	and	r2, r3, #255
	ldr	r3, .L627+196
	strb	r2, [r3]
	ldr	r3, .L627+16
	ldr	r3, [r3]
	ldr	r3, [r3, #1208]
	and	r2, r3, #255
	ldr	r3, .L627+200
	strb	r2, [r3]
	ldr	r3, .L627+16
	ldr	r3, [r3]
	ldr	r3, [r3, #996]
	cmp	r3, #122
	bne	.L549
	ldr	r3, .L627+16
	ldr	r3, [r3]
	mov	r2, #1
	str	r2, [r3, #996]
	b	.L550
.L549:
	ldr	r3, .L627+16
	ldr	r3, [r3]
	ldr	r2, [r3, #996]
	add	r2, r2, #1
	str	r2, [r3, #996]
.L550:
	ldr	r3, .L627+104
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, .L627+220
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, .L627+104
	mov	r2, #0
	strb	r2, [r3]
	b	.L551
.L552:
	ldr	r3, .L627+104
	ldrb	r3, [r3]	@ zero_extendqisi2
	add	r3, r3, #1
	and	r2, r3, #255
	ldr	r3, .L627+104
	strb	r2, [r3]
.L551:
	ldr	r3, .L627+16
	ldr	r2, [r3]
	ldr	r3, .L627+104
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r1, r3
	mov	r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r1
	lsl	r3, r3, #2
	add	r3, r2, r3
	add	r3, r3, #1568
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L552
	ldr	r3, .L627+16
	ldr	r2, [r3]
	ldr	r3, .L627+104
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r1, r3
	mov	r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r1
	lsl	r3, r3, #2
	add	r3, r2, r3
	add	r3, r3, #1568
	mov	r2, #10
	strb	r2, [r3]
	ldr	r3, .L627+104
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldr	r3, .L627+220
	strb	r2, [r3]
	ldr	r3, .L627+104
	mvn	r2, #0
	strb	r2, [r3]
	ldr	r3, .L627+16
	ldr	r3, [r3]
	ldr	r2, [r3, #1120]
	sub	r2, r2, #1
	str	r2, [r3, #1120]
	ldr	r3, .L627+16
	ldr	r2, [r3]
	ldr	r3, .L627+220
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #2
	add	r3, r2, r3
	mov	r2, #0
	str	r2, [r3, #4]
	mov	r3, #0
	str	r3, [fp, #-32]
	ldr	r3, .L627+16
	ldr	r2, [r3]
	ldr	r3, .L627+220
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r1, r3
	mov	r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r1
	lsl	r3, r3, #2
	add	r2, r2, r3
	ldr	r3, [fp, #-32]
	add	r3, r2, r3
	add	r3, r3, #1568
	mov	r2, #1
	strb	r2, [r3]
	b	.L553
.L562:
	mov	r3, #0
	str	r3, [fp, #-32]
	ldr	r0, .L627+108
	bl	printf
	ldr	r3, .L627+92
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	bl	restterm
	ldr	r3, .L627+112
	ldr	r3, [r3]
	mov	r2, r3
	mov	r1, #79
	ldr	r0, .L627+116
	bl	fgets
	bl	initterm
	ldr	r3, .L627+116
	mov	r2, #0
	strb	r2, [r3, #9]
	mov	r3, #0
	str	r3, [fp, #-24]
	b	.L554
.L556:
	ldr	r2, .L627+116
	ldr	r3, [fp, #-24]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #42
	bne	.L555
	ldr	r3, .L627+116
	mov	r2, #42
	strb	r2, [r3]
.L555:
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L554:
	ldr	r3, [fp, #-24]
	cmp	r3, #8
	ble	.L556
	ldr	r3, .L627+116
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #42
	beq	.L557
	ldr	r3, .L627+88
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L558
	ldr	r3, .L627+44
	ldr	r2, [r3]
	ldr	r3, .L627+40
	ldr	r3, [r3]
	str	r3, [sp]
	mov	r3, r2
	ldr	r2, .L627+116
	ldr	r1, .L627+120
	ldr	r0, .L627+124
	bl	sprintf
	b	.L559
.L558:
	ldr	r3, .L627+44
	ldr	r2, [r3]
	ldr	r3, .L627+40
	ldr	r3, [r3]
	str	r3, [sp]
	mov	r3, r2
	ldr	r2, .L627+116
	ldr	r1, .L627+128
	ldr	r0, .L627+124
	bl	sprintf
.L559:
	mov	r3, #0
	str	r3, [fp, #-32]
	b	.L560
.L561:
	ldr	r3, .L627+16
	ldr	r2, [r3]
	ldr	r3, .L627+220
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r0, r3
	ldr	r1, .L627+124
	ldr	r3, [fp, #-32]
	add	r3, r1, r3
	ldrb	r1, [r3]	@ zero_extendqisi2
	mov	r3, r0
	lsl	r3, r3, #2
	add	r3, r3, r0
	lsl	r3, r3, #2
	add	r2, r2, r3
	ldr	r3, [fp, #-32]
	add	r3, r2, r3
	add	r3, r3, #1568
	mov	r2, r1
	strb	r2, [r3]
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
.L560:
	ldr	r3, [fp, #-32]
	cmp	r3, #19
	ble	.L561
	b	.L553
.L557:
	ldr	r0, .L627+132
	bl	puts
.L553:
	ldr	r3, .L627+16
	ldr	r2, [r3]
	ldr	r3, .L627+220
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r1, r3
	mov	r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r1
	lsl	r3, r3, #2
	add	r3, r2, r3
	add	r3, r3, #1568
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #1
	beq	.L562
	bl	lock
	ldr	r3, .L627+16
	ldr	r3, [r3]
	ldr	r3, [r3, #1124]
	add	r3, r3, #1
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-32]
	cmp	r3, #4
	ble	.L563
	mov	r3, #0
	str	r3, [fp, #-32]
.L563:
	ldr	r3, .L627+88
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L564
	ldr	r3, .L627+16
	ldr	r1, [r3]
	ldr	r2, [fp, #-32]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, #1760
	add	r3, r3, #8
	add	r0, r1, r3
	ldr	r3, .L627+220
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	ip, r3
	ldr	r3, .L627+16
	ldr	r2, [r3]
	ldr	r3, .L627+220
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r1, r3
	mov	r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r1
	lsl	r3, r3, #2
	add	r3, r3, #1568
	add	r3, r2, r3
	mov	r2, ip
	ldr	r1, .L627+136
	bl	sprintf
	ldr	r3, .L627+16
	ldr	r1, [r3]
	ldr	r2, [fp, #-32]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #1760
	add	r3, r3, #9
	mov	r2, #69
	strb	r2, [r3]
	b	.L565
.L564:
	ldr	r3, .L627+16
	ldr	r1, [r3]
	ldr	r2, [fp, #-32]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, #1760
	add	r3, r3, #8
	add	r0, r1, r3
	ldr	r3, .L627+220
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	ip, r3
	ldr	r3, .L627+16
	ldr	r2, [r3]
	ldr	r3, .L627+220
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r1, r3
	mov	r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r1
	lsl	r3, r3, #2
	add	r3, r3, #1568
	add	r3, r2, r3
	mov	r2, ip
	ldr	r1, .L627+140
	bl	sprintf
	ldr	r3, .L627+16
	ldr	r1, [r3]
	ldr	r2, [fp, #-32]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #1760
	add	r3, r3, #9
	mov	r2, #79
	strb	r2, [r3]
.L565:
	ldr	r3, .L627+16
	ldr	r1, [r3]
	ldr	r3, .L627+220
	ldrb	r0, [r3]	@ zero_extendqisi2
	ldr	r2, [fp, #-32]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #1760
	add	r3, r3, #8
	mov	r2, r0
	strb	r2, [r3]
	ldr	r3, .L627+16
	ldr	r3, [r3]
	ldr	r2, [fp, #-32]
	str	r2, [r3, #1124]
	ldr	r0, .L627+144
	bl	puts
	ldr	r0, .L627+148
	bl	puts
	ldr	r3, .L627+104
	mvn	r2, #0
	strb	r2, [r3]
	ldr	r3, .L627+88
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L566
	nop
	ldr	r3, .L627+104
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r0, r3
	ldr	r3, .L627+16
	ldr	r2, [r3]
	ldr	r3, .L627+104
	ldrb	r3, [r3]	@ zero_extendqisi2
	add	r3, r3, #8
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r1, [r3, #4]
	ldr	r3, .L627+16
	ldr	r2, [r3]
	ldr	r3, .L627+104
	ldrb	r3, [r3]	@ zero_extendqisi2
	add	r3, r3, #48
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3, #4]
	mov	r2, r1
	mov	r1, r0
	ldr	r0, .L627+152
	bl	printf
.L566:
	ldr	r3, .L627+16
	ldr	r3, [r3]
	ldr	r2, [r3, #1120]
	sub	r2, r2, #1
	str	r2, [r3, #1120]
	bl	prompt
	ldr	r3, .L627+224
	mov	r2, #0
	str	r2, [r3]
	mov	r0, #0
	bl	time
	str	r0, [fp, #-36]
.L622:
	ldr	r3, .L627+92
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	bl	getch
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L627+224
	str	r2, [r3]
	ldr	r3, .L627+224
	ldr	r3, [r3]
	cmn	r3, #1
	beq	.L567
	ldr	r3, .L627+208
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L568
	mov	r1, #1
	mov	r0, #24
	bl	gotoxy
.L568:
	ldr	r3, .L627+224
	ldr	r3, [r3]
	mov	r0, r3
	bl	tolower
	mov	r3, r0
	ldr	r2, .L627+224
	str	r3, [r2]
	ldr	r3, .L627+208
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L569
	ldr	r3, .L627+224
	ldr	r3, [r3]
	cmp	r3, #121
	beq	.L567
	ldr	r3, .L627+224
	ldr	r3, [r3]
	cmp	r3, #117
	beq	.L567
	ldr	r3, .L627+224
	ldr	r3, [r3]
	cmp	r3, #108
	beq	.L567
.L569:
	mov	r0, #10
	bl	putchar
.L567:
	ldr	r3, .L627+224
	ldr	r3, [r3]
	add	r3, r3, #1
	cmp	r3, #122
	ldrls	pc, [pc, r3, asl #2]
	b	.L570
.L572:
	.word	.L600
	.word	.L570
	.word	.L570
	.word	.L570
	.word	.L570
	.word	.L570
	.word	.L570
	.word	.L570
	.word	.L570
	.word	.L570
	.word	.L570
	.word	.L570
	.word	.L570
	.word	.L570
	.word	.L570
	.word	.L570
	.word	.L570
	.word	.L570
	.word	.L570
	.word	.L570
	.word	.L570
	.word	.L570
	.word	.L570
	.word	.L570
	.word	.L570
	.word	.L570
	.word	.L570
	.word	.L570
	.word	.L570
	.word	.L570
	.word	.L570
	.word	.L570
	.word	.L570
	.word	.L570
	.word	.L570
	.word	.L570
	.word	.L570
	.word	.L570
	.word	.L570
	.word	.L570
	.word	.L570
	.word	.L570
	.word	.L570
	.word	.L599
	.word	.L570
	.word	.L570
	.word	.L570
	.word	.L570
	.word	.L570
	.word	.L570
	.word	.L570
	.word	.L570
	.word	.L570
	.word	.L570
	.word	.L570
	.word	.L570
	.word	.L570
	.word	.L570
	.word	.L570
	.word	.L570
	.word	.L598
	.word	.L570
	.word	.L570
	.word	.L570
	.word	.L597
	.word	.L570
	.word	.L570
	.word	.L570
	.word	.L570
	.word	.L570
	.word	.L570
	.word	.L570
	.word	.L570
	.word	.L570
	.word	.L570
	.word	.L570
	.word	.L570
	.word	.L570
	.word	.L570
	.word	.L570
	.word	.L570
	.word	.L570
	.word	.L570
	.word	.L570
	.word	.L570
	.word	.L570
	.word	.L570
	.word	.L570
	.word	.L570
	.word	.L570
	.word	.L570
	.word	.L570
	.word	.L570
	.word	.L570
	.word	.L570
	.word	.L570
	.word	.L570
	.word	.L570
	.word	.L596
	.word	.L595
	.word	.L594
	.word	.L593
	.word	.L592
	.word	.L591
	.word	.L590
	.word	.L589
	.word	.L588
	.word	.L587
	.word	.L586
	.word	.L585
	.word	.L584
	.word	.L583
	.word	.L582
	.word	.L581
	.word	.L580
	.word	.L579
	.word	.L578
	.word	.L577
	.word	.L576
	.word	.L575
	.word	.L574
	.word	.L573
	.word	.L571
.L600:
	bl	update
	mov	r0, #1
	bl	sleep
	b	.L570
.L595:
	bl	broadcast
	b	.L570
.L588:
	ldr	r3, .L627+208
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L601
	bl	vtindiv
	ldr	r3, .L627+212
	mov	r2, #0
	strb	r2, [r3]
	b	.L570
.L601:
	bl	individual
	b	.L570
.L586:
	bl	kwick
	b	.L570
.L582:
	bl	oneplanet
	b	.L570
.L581:
	bl	prvmsg
	b	.L570
.L592:
	bl	clrgam
	b	.L570
.L577:
	mov	r0, #0
	bl	sdate
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L627+156
	bl	printf
	mov	r0, #0
	bl	time
	mov	r2, r0
	ldr	r3, .L627+16
	ldr	r3, [r3]
	ldr	r3, [r3]
	sub	r3, r2, r3
	ldr	r2, .L627+72
	smull	r1, r2, r3, r2
	add	r2, r2, r3
	asr	r2, r2, #5
	asr	r3, r3, #31
	sub	r3, r2, r3
	str	r3, [fp, #-20]
	ldr	r1, [fp, #-20]
	ldr	r0, .L627+160
	bl	printf
	b	.L570
.L596:
	bl	area
	b	.L570
.L584:
	bl	prvtog
	b	.L570
.L591:
	bl	flts
	b	.L570
.L590:
	bl	galaxy
	b	.L570
.L594:
	bl	compute
	b	.L570
.L574:
	bl	who
	b	.L570
.L578:
	bl	send
	b	.L570
.L580:
	mov	r1, #7
	ldr	r0, .L627+164
	bl	printf
	ldr	r3, .L627+92
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	bl	getchr
	mov	r3, r0
	str	r3, [fp, #-32]
	ldr	r0, [fp, #-32]
	bl	tolower
	str	r0, [fp, #-32]
	ldr	r3, [fp, #-32]
	cmp	r3, #121
	bne	.L623
	bl	wrapup
	b	.L623
.L585:
	ldr	r3, .L627+208
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L604
	bl	vtscan
	b	.L570
.L604:
	bl	scan
	b	.L570
.L597:
	ldr	r3, .L627+168
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L624
	ldr	r3, .L627+168
	mov	r2, #1
	strb	r2, [r3]
	b	.L624
.L598:
	ldr	r3, .L627+172
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L575
	ldr	r3, .L627+172
	mov	r2, #1
	strb	r2, [r3]
.L575:
	ldr	r3, .L627+208
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L599
	ldr	r3, .L627+168
	mov	r2, #1
	strb	r2, [r3]
	ldr	r3, .L627+208
	mov	r2, #1
	strb	r2, [r3]
	bl	setscr
	bl	setit
	bl	vtscan
	bl	plupd
	mov	r1, #1
	mov	r0, #24
	bl	gotoxy
	ldr	r0, .L627+176
	bl	puts
.L599:
	ldr	r3, .L627+208
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L607
	ldr	r0, .L627+180
	bl	puts
	b	.L570
.L607:
	ldr	r3, .L627+212
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L609
	ldr	r3, .L627+212
	mov	r2, #1
	strb	r2, [r3]
	bl	plupd
	mov	r1, #1
	mov	r0, #24
	bl	gotoxy
	ldr	r0, .L627+184
	bl	puts
	b	.L570
.L609:
	ldr	r3, .L627+212
	mov	r2, #0
	strb	r2, [r3]
	mov	r1, #1
	mov	r0, #24
	bl	gotoxy
	ldr	r0, .L627+188
	bl	puts
	b	.L570
.L583:
	ldr	r3, .L627+208
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L625
	ldr	r3, .L627+208
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, .L627+212
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, .L627+172
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, .L627+168
	mov	r2, #0
	strb	r2, [r3]
	bl	nrmscr
	mov	r1, #1
	mov	r0, #24
	bl	gotoxy
	ldr	r0, .L627+192
	bl	puts
	b	.L625
.L576:
	ldr	r3, .L627+208
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L626
	bl	plupd
	b	.L626
.L573:
	bl	autosd
	b	.L570
.L593:
	bl	warp
	b	.L570
.L571:
	ldr	r3, .L627+208
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L612
	bl	vtflts
	b	.L613
.L612:
	bl	flts
.L613:
	ldr	r3, .L627+212
	mov	r2, #0
	strb	r2, [r3]
	b	.L570
.L579:
	bl	shtscn
	b	.L570
.L587:
	bl	syswho
	b	.L570
.L628:
	.align	2
.L627:
	.word	GID
	.word	UID
	.word	trap
	.word	toggle
	.word	sm
	.word	.LC141
	.word	.LC142
	.word	.LC143
	.word	.LC144
	.word	mykb
	.word	mypn
	.word	myp
	.word	game_len
	.word	x_siz
	.word	y_siz
	.word	z_siz
	.word	prod_time
	.word	trav_time
	.word	-2004318071
	.word	.LC145
	.word	events
	.word	.LC146
	.word	watch
	.word	stdout
	.word	.LC147
	.word	twice
	.word	home
	.word	.LC148
	.word	stdin
	.word	scr
	.word	.LC149
	.word	scr2
	.word	.LC150
	.word	.LC151
	.word	.LC152
	.word	.LC153
	.word	.LC154
	.word	.LC155
	.word	.LC156
	.word	.LC157
	.word	.LC158
	.word	.LC159
	.word	vtloo
	.word	ansi
	.word	.LC160
	.word	.LC161
	.word	.LC162
	.word	.LC163
	.word	.LC164
	.word	mymes
	.word	mycom
	.word	lsttim
	.word	vtmode
	.word	awetow
	.word	sm
	.word	mynum
	.word	inchar
.L589:
	bl	helpme
	b	.L570
.L623:
	nop
	b	.L570
.L624:
	nop
	b	.L570
.L625:
	nop
	b	.L570
.L626:
	nop
.L570:
	bl	fleets
	bl	chkend
	ldr	r3, .L627+196
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, .L627+216
	ldr	r3, [r3]
	ldr	r3, [r3, #1124]
	cmp	r2, r3
	beq	.L614
	bl	getpub
.L614:
	ldr	r3, .L627+200
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, .L627+216
	ldr	r3, [r3]
	ldr	r3, [r3, #1208]
	cmp	r2, r3
	beq	.L615
	bl	getcom
.L615:
	mov	r0, #0
	bl	time
	str	r0, [fp, #-16]
	ldr	r3, .L627+208
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L616
	ldr	r3, [fp, #-16]
	sub	r2, r3, #4
	ldr	r3, .L627+204
	ldr	r3, [r3]
	cmp	r2, r3
	ble	.L616
	ldr	r2, .L627+204
	ldr	r3, [fp, #-16]
	str	r3, [r2]
	bl	updtim
	bl	prompt
.L616:
	mov	r0, #0
	bl	time
	str	r0, [fp, #-16]
	ldr	r3, .L627+208
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L617
	ldr	r3, .L627+212
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L617
	ldr	r3, [fp, #-16]
	sub	r3, r3, #29
	ldr	r2, [fp, #-36]
	cmp	r2, r3
	bge	.L617
	ldr	r3, [fp, #-16]
	str	r3, [fp, #-36]
	mov	r3, #0
	str	r3, [fp, #-40]
	b	.L618
.L620:
	ldr	r3, .L627+216
	ldr	r2, [r3]
	ldr	r3, [fp, #-40]
	add	r3, r3, #128
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3, #4]
	ldr	r2, .L627+220
	ldrb	r2, [r2]	@ zero_extendqisi2
	cmp	r3, r2
	bne	.L619
	ldr	r0, [fp, #-40]
	bl	pset
.L619:
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	str	r3, [fp, #-40]
.L618:
	ldr	r3, [fp, #-40]
	cmp	r3, #38
	ble	.L620
	bl	prompt
.L617:
	ldr	r3, .L627+224
	ldr	r3, [r3]
	cmn	r3, #1
	beq	.L622
	bl	prompt
	b	.L622
	.size	main, .-main
	.local	buf.6580
	.comm	buf.6580,30,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
