	.file	"138988.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"r+"
.LC1:
	.string	"bus.txt"
.LC2:
	.string	"Den vrethike to arxeio."
.LC3:
	.string	"%s %d"
	.align 8
.LC4:
	.string	"To lewforeio exei arithmo pinakidas %s kai arithmo thesewn %d.\n\n"
	.align 8
.LC5:
	.string	"Exete dwsei lathos arithmo thesewn."
	.align 8
.LC6:
	.string	"Kante mia epilogh apo ta parakatw:"
	.align 8
.LC7:
	.string	"1: Gia emfanish tou synolikou plhthous kenwn thesewn kai twn arithmwn tous."
	.align 8
.LC8:
	.string	"2: Gia krathsh theshs me sygkekrimeno arithmo."
	.align 8
.LC9:
	.string	"3: Gia krathsh ths prwths kenhs theshs pou vrisketai se parathyro."
	.align 8
.LC10:
	.string	"4: Gia akyrwsh krathshs theshs."
	.align 8
.LC11:
	.string	"5: Gia anazhthsh krathmenhs theshs."
	.align 8
.LC12:
	.string	"6: Gia emfanish listas krathmenwn thesewn."
	.align 8
.LC13:
	.string	"7: Gia efanish tou diagrammatos twn thesewn sthn othonh tou ypologisth."
	.align 8
.LC14:
	.string	"8: Gia apothikeysh tou diagrammatos twn thesewn se arxeio keimenou."
	.align 8
.LC15:
	.string	"0: Gia termatismo tou programmatos."
.LC16:
	.string	" %d"
.LC17:
	.string	"H thesh %d einai kenh.\n"
	.align 8
.LC18:
	.string	"To synolo twn kenwn thesewn einai %d.\n\n"
	.align 8
.LC19:
	.string	"Dwste ton arithmo ths theshs gia thn opoia thelete na kanete krathsh."
	.align 8
.LC20:
	.string	"H krathsh ths theshs oloklhrwthike.\n"
.LC21:
	.string	"Den yparxei ayth h thesh.\n"
	.align 8
.LC22:
	.string	"H thesh ayth einai hdh krathmenh.\n"
	.align 8
.LC23:
	.string	"Dwste ton arithmo ths theshs gia thn opoia thelete na kanete akyrwsh."
	.align 8
.LC24:
	.string	"H akyrwsh ths theshs oloklhrwthike.\n"
.LC25:
	.string	"H thesh ayth einai kenh.\n"
	.align 8
.LC26:
	.string	"Dwste ton arithmo ths theshs gia thn opoia thelete na elegksete."
.LC27:
	.string	"H thesh einai krathmenh.\n"
.LC28:
	.string	"H thesh einai kenh.\n"
	.align 8
.LC29:
	.string	"Oi krathmenes theseis einai oi parakatw:"
.LC30:
	.string	"%d\n"
.LC31:
	.string	"_"
.LC32:
	.string	"*"
.LC33:
	.string	"w+"
.LC34:
	.string	"layout.txt"
.LC35:
	.string	"%s\n"
.LC36:
	.string	"_\n"
.LC37:
	.string	"*\n"
.LC38:
	.string	"Den exeis epileksei swsta.\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 400
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -380[rbp], 0
	jmp	.L2
.L3:
	lea	rax, -320[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	strcpy@PLT
	mov	eax, DWORD PTR -380[rbp]
	add	eax, 1
	mov	DWORD PTR -248[rbp], eax
	add	DWORD PTR -380[rbp], 1
.L2:
	cmp	DWORD PTR -380[rbp], 52
	jle	.L3
	lea	rsi, .LC0[rip]
	lea	rdi, .LC1[rip]
	call	fopen@PLT
	mov	QWORD PTR -336[rbp], rax
	cmp	QWORD PTR -336[rbp], 0
	jne	.L4
	lea	rdi, .LC2[rip]
	call	puts@PLT
	mov	eax, 0
	jmp	.L5
.L4:
	lea	rcx, -400[rbp]
	lea	rdx, -18[rbp]
	mov	rax, QWORD PTR -336[rbp]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	mov	edx, DWORD PTR -400[rbp]
	lea	rax, -18[rbp]
	mov	rsi, rax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -400[rbp]
	cmp	eax, 53
	jg	.L6
	mov	eax, DWORD PTR -400[rbp]
	test	eax, eax
	jle	.L6
	mov	eax, DWORD PTR -400[rbp]
	sub	eax, 5
	cdq
	shr	edx, 30
	add	eax, edx
	and	eax, 3
	sub	eax, edx
	mov	DWORD PTR -340[rbp], eax
	cmp	DWORD PTR -340[rbp], 0
	je	.L8
	lea	rdi, .LC5[rip]
	call	puts@PLT
	jmp	.L8
.L69:
	lea	rdi, .LC6[rip]
	call	puts@PLT
	lea	rdi, .LC7[rip]
	call	puts@PLT
	lea	rdi, .LC8[rip]
	call	puts@PLT
	lea	rdi, .LC9[rip]
	call	puts@PLT
	lea	rdi, .LC10[rip]
	call	puts@PLT
	lea	rdi, .LC11[rip]
	call	puts@PLT
	lea	rdi, .LC12[rip]
	call	puts@PLT
	lea	rdi, .LC13[rip]
	call	puts@PLT
	lea	rdi, .LC14[rip]
	call	puts@PLT
	lea	rdi, .LC15[rip]
	call	puts@PLT
	lea	rax, -396[rbp]
	mov	rsi, rax
	lea	rdi, .LC16[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -396[rbp]
	cmp	eax, 1
	jne	.L9
	mov	DWORD PTR -376[rbp], 0
	mov	DWORD PTR -380[rbp], 0
	jmp	.L10
.L12:
	mov	eax, DWORD PTR -380[rbp]
	cdqe
	mov	eax, DWORD PTR -240[rbp+rax*4]
	test	eax, eax
	jne	.L11
	add	DWORD PTR -376[rbp], 1
	mov	eax, DWORD PTR -380[rbp]
	add	eax, 1
	mov	esi, eax
	lea	rdi, .LC17[rip]
	mov	eax, 0
	call	printf@PLT
.L11:
	add	DWORD PTR -380[rbp], 1
.L10:
	mov	eax, DWORD PTR -400[rbp]
	cmp	DWORD PTR -380[rbp], eax
	jl	.L12
	mov	eax, DWORD PTR -376[rbp]
	mov	esi, eax
	lea	rdi, .LC18[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L13
.L9:
	mov	eax, DWORD PTR -396[rbp]
	cmp	eax, 2
	jne	.L14
	lea	rdi, .LC19[rip]
	call	puts@PLT
	lea	rax, -392[rbp]
	mov	rsi, rax
	lea	rdi, .LC16[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -392[rbp]
	test	eax, eax
	jle	.L15
	mov	edx, DWORD PTR -392[rbp]
	mov	eax, DWORD PTR -400[rbp]
	cmp	edx, eax
	jg	.L15
	mov	eax, DWORD PTR -392[rbp]
	sub	eax, 1
	cdqe
	mov	eax, DWORD PTR -240[rbp+rax*4]
	test	eax, eax
	jne	.L15
	mov	eax, DWORD PTR -392[rbp]
	sub	eax, 1
	cdqe
	mov	DWORD PTR -240[rbp+rax*4], 1
	lea	rdi, .LC20[rip]
	call	puts@PLT
	jmp	.L13
.L15:
	mov	eax, DWORD PTR -392[rbp]
	test	eax, eax
	jle	.L17
	mov	edx, DWORD PTR -392[rbp]
	mov	eax, DWORD PTR -400[rbp]
	cmp	edx, eax
	jle	.L18
.L17:
	lea	rdi, .LC21[rip]
	call	puts@PLT
	jmp	.L13
.L18:
	lea	rdi, .LC22[rip]
	call	puts@PLT
	jmp	.L13
.L14:
	mov	eax, DWORD PTR -396[rbp]
	cmp	eax, 3
	jne	.L19
	mov	DWORD PTR -372[rbp], 0
	jmp	.L20
.L24:
	mov	eax, DWORD PTR -372[rbp]
	cdqe
	mov	eax, DWORD PTR -240[rbp+rax*4]
	test	eax, eax
	jne	.L21
	mov	eax, DWORD PTR -372[rbp]
	cdqe
	mov	DWORD PTR -240[rbp+rax*4], 1
	mov	eax, DWORD PTR -400[rbp]
	sub	eax, 3
	mov	DWORD PTR -372[rbp], eax
	jmp	.L22
.L21:
	mov	eax, DWORD PTR -372[rbp]
	add	eax, 3
	cdqe
	mov	eax, DWORD PTR -240[rbp+rax*4]
	test	eax, eax
	jne	.L23
	mov	eax, DWORD PTR -372[rbp]
	lea	edx, 3[rax]
	mov	eax, DWORD PTR -400[rbp]
	sub	eax, 3
	cmp	edx, eax
	jge	.L23
	mov	eax, DWORD PTR -372[rbp]
	add	eax, 3
	cdqe
	mov	DWORD PTR -240[rbp+rax*4], 1
	mov	eax, DWORD PTR -400[rbp]
	sub	eax, 3
	mov	DWORD PTR -372[rbp], eax
	jmp	.L22
.L23:
	mov	eax, DWORD PTR -372[rbp]
	lea	edx, 2[rax]
	mov	eax, DWORD PTR -400[rbp]
	sub	eax, 3
	cmp	edx, eax
	jl	.L22
	mov	eax, DWORD PTR -400[rbp]
	sub	eax, 1
	cdqe
	mov	eax, DWORD PTR -240[rbp+rax*4]
	test	eax, eax
	jne	.L22
	mov	eax, DWORD PTR -400[rbp]
	sub	eax, 1
	cdqe
	mov	DWORD PTR -240[rbp+rax*4], 1
.L22:
	add	DWORD PTR -372[rbp], 4
.L20:
	mov	eax, DWORD PTR -400[rbp]
	sub	eax, 3
	cmp	DWORD PTR -372[rbp], eax
	jl	.L24
	mov	edi, 10
	call	putchar@PLT
	jmp	.L13
.L19:
	mov	eax, DWORD PTR -396[rbp]
	cmp	eax, 4
	jne	.L25
	lea	rdi, .LC23[rip]
	call	puts@PLT
	lea	rax, -388[rbp]
	mov	rsi, rax
	lea	rdi, .LC16[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -388[rbp]
	test	eax, eax
	jle	.L26
	mov	edx, DWORD PTR -388[rbp]
	mov	eax, DWORD PTR -400[rbp]
	cmp	edx, eax
	jg	.L26
	mov	eax, DWORD PTR -388[rbp]
	sub	eax, 1
	cdqe
	mov	eax, DWORD PTR -240[rbp+rax*4]
	cmp	eax, 1
	jne	.L26
	mov	eax, DWORD PTR -388[rbp]
	sub	eax, 1
	cdqe
	mov	DWORD PTR -240[rbp+rax*4], 0
	lea	rdi, .LC24[rip]
	call	puts@PLT
	jmp	.L13
.L26:
	mov	eax, DWORD PTR -388[rbp]
	test	eax, eax
	jle	.L28
	mov	edx, DWORD PTR -388[rbp]
	mov	eax, DWORD PTR -400[rbp]
	cmp	edx, eax
	jle	.L29
.L28:
	lea	rdi, .LC21[rip]
	call	puts@PLT
	jmp	.L13
.L29:
	lea	rdi, .LC25[rip]
	call	puts@PLT
	jmp	.L13
.L25:
	mov	eax, DWORD PTR -396[rbp]
	cmp	eax, 5
	jne	.L30
	lea	rdi, .LC26[rip]
	call	puts@PLT
	lea	rax, -384[rbp]
	mov	rsi, rax
	lea	rdi, .LC16[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -384[rbp]
	test	eax, eax
	jle	.L31
	mov	edx, DWORD PTR -384[rbp]
	mov	eax, DWORD PTR -400[rbp]
	cmp	edx, eax
	jg	.L31
	mov	eax, DWORD PTR -384[rbp]
	sub	eax, 1
	cdqe
	mov	eax, DWORD PTR -240[rbp+rax*4]
	cmp	eax, 1
	jne	.L31
	lea	rdi, .LC27[rip]
	call	puts@PLT
	jmp	.L13
.L31:
	mov	eax, DWORD PTR -384[rbp]
	test	eax, eax
	jle	.L33
	mov	edx, DWORD PTR -384[rbp]
	mov	eax, DWORD PTR -400[rbp]
	cmp	edx, eax
	jg	.L33
	mov	eax, DWORD PTR -384[rbp]
	sub	eax, 1
	cdqe
	mov	eax, DWORD PTR -240[rbp+rax*4]
	test	eax, eax
	jne	.L33
	lea	rdi, .LC28[rip]
	call	puts@PLT
	jmp	.L13
.L33:
	lea	rdi, .LC21[rip]
	call	puts@PLT
	jmp	.L13
.L30:
	mov	eax, DWORD PTR -396[rbp]
	cmp	eax, 6
	jne	.L34
	lea	rdi, .LC29[rip]
	call	puts@PLT
	mov	DWORD PTR -368[rbp], 0
	jmp	.L35
.L37:
	mov	eax, DWORD PTR -368[rbp]
	cdqe
	mov	eax, DWORD PTR -240[rbp+rax*4]
	cmp	eax, 1
	jne	.L36
	mov	eax, DWORD PTR -368[rbp]
	add	eax, 1
	mov	esi, eax
	lea	rdi, .LC30[rip]
	mov	eax, 0
	call	printf@PLT
.L36:
	add	DWORD PTR -368[rbp], 1
.L35:
	mov	eax, DWORD PTR -400[rbp]
	cmp	DWORD PTR -368[rbp], eax
	jl	.L37
	mov	edi, 10
	call	putchar@PLT
	jmp	.L13
.L34:
	mov	eax, DWORD PTR -396[rbp]
	cmp	eax, 7
	jne	.L38
	lea	rax, -18[rbp]
	mov	rdi, rax
	call	puts@PLT
	mov	DWORD PTR -364[rbp], 0
	mov	DWORD PTR -360[rbp], 0
	jmp	.L39
.L48:
	mov	eax, DWORD PTR -364[rbp]
	cdqe
	mov	eax, DWORD PTR -240[rbp+rax*4]
	test	eax, eax
	jne	.L40
	mov	edi, 95
	call	putchar@PLT
	jmp	.L41
.L40:
	mov	edi, 42
	call	putchar@PLT
.L41:
	mov	eax, DWORD PTR -364[rbp]
	add	eax, 1
	cdqe
	mov	eax, DWORD PTR -240[rbp+rax*4]
	test	eax, eax
	jne	.L42
	mov	edi, 95
	call	putchar@PLT
	jmp	.L43
.L42:
	mov	edi, 42
	call	putchar@PLT
.L43:
	mov	edi, 32
	call	putchar@PLT
	mov	eax, DWORD PTR -364[rbp]
	add	eax, 2
	cdqe
	mov	eax, DWORD PTR -240[rbp+rax*4]
	test	eax, eax
	jne	.L44
	mov	edi, 95
	call	putchar@PLT
	jmp	.L45
.L44:
	mov	edi, 42
	call	putchar@PLT
.L45:
	mov	eax, DWORD PTR -364[rbp]
	add	eax, 3
	cdqe
	mov	eax, DWORD PTR -240[rbp+rax*4]
	test	eax, eax
	jne	.L46
	lea	rdi, .LC31[rip]
	call	puts@PLT
	jmp	.L47
.L46:
	lea	rdi, .LC32[rip]
	call	puts@PLT
.L47:
	add	DWORD PTR -364[rbp], 4
	add	DWORD PTR -360[rbp], 4
.L39:
	mov	eax, DWORD PTR -400[rbp]
	sub	eax, 5
	cmp	DWORD PTR -360[rbp], eax
	jl	.L48
	mov	eax, DWORD PTR -400[rbp]
	sub	eax, 5
	mov	DWORD PTR -356[rbp], eax
	jmp	.L49
.L52:
	mov	eax, DWORD PTR -356[rbp]
	cdqe
	mov	eax, DWORD PTR -240[rbp+rax*4]
	test	eax, eax
	jne	.L50
	mov	edi, 95
	call	putchar@PLT
	jmp	.L51
.L50:
	mov	edi, 42
	call	putchar@PLT
.L51:
	add	DWORD PTR -356[rbp], 1
.L49:
	mov	eax, DWORD PTR -400[rbp]
	cmp	DWORD PTR -356[rbp], eax
	jl	.L52
	mov	edi, 10
	call	putchar@PLT
	jmp	.L13
.L38:
	mov	eax, DWORD PTR -396[rbp]
	cmp	eax, 8
	jne	.L53
	lea	rsi, .LC33[rip]
	lea	rdi, .LC34[rip]
	call	fopen@PLT
	mov	QWORD PTR -328[rbp], rax
	lea	rdx, -18[rbp]
	mov	rax, QWORD PTR -328[rbp]
	lea	rsi, .LC35[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	DWORD PTR -348[rbp], 0
	mov	DWORD PTR -352[rbp], 0
	jmp	.L54
.L63:
	mov	eax, DWORD PTR -348[rbp]
	cdqe
	mov	eax, DWORD PTR -240[rbp+rax*4]
	test	eax, eax
	jne	.L55
	mov	rax, QWORD PTR -328[rbp]
	mov	rsi, rax
	mov	edi, 95
	call	fputc@PLT
	jmp	.L56
.L55:
	mov	rax, QWORD PTR -328[rbp]
	mov	rsi, rax
	mov	edi, 42
	call	fputc@PLT
.L56:
	mov	eax, DWORD PTR -348[rbp]
	add	eax, 1
	cdqe
	mov	eax, DWORD PTR -240[rbp+rax*4]
	test	eax, eax
	jne	.L57
	mov	rax, QWORD PTR -328[rbp]
	mov	rsi, rax
	mov	edi, 95
	call	fputc@PLT
	jmp	.L58
.L57:
	mov	rax, QWORD PTR -328[rbp]
	mov	rsi, rax
	mov	edi, 42
	call	fputc@PLT
.L58:
	mov	rax, QWORD PTR -328[rbp]
	mov	rsi, rax
	mov	edi, 32
	call	fputc@PLT
	mov	eax, DWORD PTR -348[rbp]
	add	eax, 2
	cdqe
	mov	eax, DWORD PTR -240[rbp+rax*4]
	test	eax, eax
	jne	.L59
	mov	rax, QWORD PTR -328[rbp]
	mov	rsi, rax
	mov	edi, 95
	call	fputc@PLT
	jmp	.L60
.L59:
	mov	rax, QWORD PTR -328[rbp]
	mov	rsi, rax
	mov	edi, 42
	call	fputc@PLT
.L60:
	mov	eax, DWORD PTR -348[rbp]
	add	eax, 3
	cdqe
	mov	eax, DWORD PTR -240[rbp+rax*4]
	test	eax, eax
	jne	.L61
	mov	rax, QWORD PTR -328[rbp]
	mov	rcx, rax
	mov	edx, 2
	mov	esi, 1
	lea	rdi, .LC36[rip]
	call	fwrite@PLT
	jmp	.L62
.L61:
	mov	rax, QWORD PTR -328[rbp]
	mov	rcx, rax
	mov	edx, 2
	mov	esi, 1
	lea	rdi, .LC37[rip]
	call	fwrite@PLT
.L62:
	add	DWORD PTR -348[rbp], 4
	add	DWORD PTR -352[rbp], 4
.L54:
	mov	eax, DWORD PTR -400[rbp]
	sub	eax, 5
	cmp	DWORD PTR -352[rbp], eax
	jl	.L63
	mov	eax, DWORD PTR -400[rbp]
	sub	eax, 5
	mov	DWORD PTR -344[rbp], eax
	jmp	.L64
.L67:
	mov	eax, DWORD PTR -344[rbp]
	cdqe
	mov	eax, DWORD PTR -240[rbp+rax*4]
	test	eax, eax
	jne	.L65
	mov	rax, QWORD PTR -328[rbp]
	mov	rsi, rax
	mov	edi, 95
	call	fputc@PLT
	jmp	.L66
.L65:
	mov	rax, QWORD PTR -328[rbp]
	mov	rsi, rax
	mov	edi, 42
	call	fputc@PLT
.L66:
	add	DWORD PTR -344[rbp], 1
.L64:
	mov	eax, DWORD PTR -400[rbp]
	cmp	DWORD PTR -344[rbp], eax
	jl	.L67
	mov	rax, QWORD PTR -328[rbp]
	mov	rsi, rax
	mov	edi, 10
	call	fputc@PLT
	mov	rax, QWORD PTR -328[rbp]
	mov	rdi, rax
	call	fclose@PLT
	jmp	.L13
.L53:
	mov	eax, DWORD PTR -396[rbp]
	test	eax, eax
	jne	.L68
	mov	DWORD PTR -340[rbp], 1
	jmp	.L13
.L68:
	lea	rdi, .LC38[rip]
	call	puts@PLT
.L13:
	mov	eax, DWORD PTR -396[rbp]
	test	eax, eax
	jne	.L69
.L8:
	cmp	DWORD PTR -340[rbp], 0
	je	.L69
	jmp	.L70
.L6:
	lea	rdi, .LC5[rip]
	call	puts@PLT
.L70:
	mov	rax, QWORD PTR -336[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, 0
.L5:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L71
	call	__stack_chk_fail@PLT
.L71:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"138988.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"r+\000"
	.align	2
.LC1:
	.ascii	"bus.txt\000"
	.align	2
.LC2:
	.ascii	"Den vrethike to arxeio.\000"
	.align	2
.LC3:
	.ascii	"%s %d\000"
	.align	2
.LC4:
	.ascii	"To lewforeio exei arithmo pinakidas %s kai arithmo "
	.ascii	"thesewn %d.\012\012\000"
	.align	2
.LC5:
	.ascii	"Exete dwsei lathos arithmo thesewn.\000"
	.align	2
.LC6:
	.ascii	"Kante mia epilogh apo ta parakatw:\000"
	.align	2
.LC7:
	.ascii	"1: Gia emfanish tou synolikou plhthous kenwn thesew"
	.ascii	"n kai twn arithmwn tous.\000"
	.align	2
.LC8:
	.ascii	"2: Gia krathsh theshs me sygkekrimeno arithmo.\000"
	.align	2
.LC9:
	.ascii	"3: Gia krathsh ths prwths kenhs theshs pou vrisketa"
	.ascii	"i se parathyro.\000"
	.align	2
.LC10:
	.ascii	"4: Gia akyrwsh krathshs theshs.\000"
	.align	2
.LC11:
	.ascii	"5: Gia anazhthsh krathmenhs theshs.\000"
	.align	2
.LC12:
	.ascii	"6: Gia emfanish listas krathmenwn thesewn.\000"
	.align	2
.LC13:
	.ascii	"7: Gia efanish tou diagrammatos twn thesewn sthn ot"
	.ascii	"honh tou ypologisth.\000"
	.align	2
.LC14:
	.ascii	"8: Gia apothikeysh tou diagrammatos twn thesewn se "
	.ascii	"arxeio keimenou.\000"
	.align	2
.LC15:
	.ascii	"0: Gia termatismo tou programmatos.\000"
	.align	2
.LC16:
	.ascii	" %d\000"
	.align	2
.LC17:
	.ascii	"H thesh %d einai kenh.\012\000"
	.align	2
.LC18:
	.ascii	"To synolo twn kenwn thesewn einai %d.\012\012\000"
	.align	2
.LC19:
	.ascii	"Dwste ton arithmo ths theshs gia thn opoia thelete "
	.ascii	"na kanete krathsh.\000"
	.align	2
.LC20:
	.ascii	"H krathsh ths theshs oloklhrwthike.\012\000"
	.align	2
.LC21:
	.ascii	"Den yparxei ayth h thesh.\012\000"
	.align	2
.LC22:
	.ascii	"H thesh ayth einai hdh krathmenh.\012\000"
	.align	2
.LC23:
	.ascii	"Dwste ton arithmo ths theshs gia thn opoia thelete "
	.ascii	"na kanete akyrwsh.\000"
	.align	2
.LC24:
	.ascii	"H akyrwsh ths theshs oloklhrwthike.\012\000"
	.align	2
.LC25:
	.ascii	"H thesh ayth einai kenh.\012\000"
	.align	2
.LC26:
	.ascii	"Dwste ton arithmo ths theshs gia thn opoia thelete "
	.ascii	"na elegksete.\000"
	.align	2
.LC27:
	.ascii	"H thesh einai krathmenh.\012\000"
	.align	2
.LC28:
	.ascii	"H thesh einai kenh.\012\000"
	.align	2
.LC29:
	.ascii	"Oi krathmenes theseis einai oi parakatw:\000"
	.align	2
.LC30:
	.ascii	"%d\012\000"
	.align	2
.LC31:
	.ascii	"_\000"
	.align	2
.LC32:
	.ascii	"*\000"
	.align	2
.LC33:
	.ascii	"w+\000"
	.align	2
.LC34:
	.ascii	"layout.txt\000"
	.align	2
.LC35:
	.ascii	"%s\012\000"
	.align	2
.LC36:
	.ascii	"_\012\000"
	.align	2
.LC37:
	.ascii	"*\012\000"
	.align	2
.LC38:
	.ascii	"Den exeis epileksei swsta.\012\000"
	.align	2
.LC39:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 376
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #376
	ldr	r3, .L72
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-360]
	b	.L2
.L3:
	sub	r3, fp, #308
	mov	r1, #0
	mov	r0, r3
	bl	strcpy
	ldr	r3, [fp, #-360]
	add	r3, r3, #1
	str	r3, [fp, #-236]
	ldr	r3, [fp, #-360]
	add	r3, r3, #1
	str	r3, [fp, #-360]
.L2:
	ldr	r3, [fp, #-360]
	cmp	r3, #52
	ble	.L3
	ldr	r1, .L72+4
	ldr	r0, .L72+8
	bl	fopen
	str	r0, [fp, #-316]
	ldr	r3, [fp, #-316]
	cmp	r3, #0
	bne	.L4
	ldr	r0, .L72+12
	bl	puts
	mov	r3, #0
	b	.L5
.L4:
	sub	r3, fp, #380
	sub	r2, fp, #20
	ldr	r1, .L72+16
	ldr	r0, [fp, #-316]
	bl	__isoc99_fscanf
	ldr	r2, [fp, #-380]
	sub	r3, fp, #20
	mov	r1, r3
	ldr	r0, .L72+20
	bl	printf
	ldr	r3, [fp, #-380]
	cmp	r3, #53
	bgt	.L6
	ldr	r3, [fp, #-380]
	cmp	r3, #0
	ble	.L6
	ldr	r3, [fp, #-380]
	sub	r3, r3, #5
	rsbs	r2, r3, #0
	and	r3, r3, #3
	and	r2, r2, #3
	rsbpl	r3, r2, #0
	str	r3, [fp, #-320]
	ldr	r3, [fp, #-320]
	cmp	r3, #0
	beq	.L8
	ldr	r0, .L72+24
	bl	puts
	b	.L8
.L69:
	ldr	r0, .L72+28
	bl	puts
	ldr	r0, .L72+32
	bl	puts
	ldr	r0, .L72+36
	bl	puts
	ldr	r0, .L72+40
	bl	puts
	ldr	r0, .L72+44
	bl	puts
	ldr	r0, .L72+48
	bl	puts
	ldr	r0, .L72+52
	bl	puts
	ldr	r0, .L72+56
	bl	puts
	ldr	r0, .L72+60
	bl	puts
	ldr	r0, .L72+64
	bl	puts
	sub	r3, fp, #376
	mov	r1, r3
	ldr	r0, .L72+68
	bl	__isoc99_scanf
	ldr	r3, [fp, #-376]
	cmp	r3, #1
	bne	.L9
	mov	r3, #0
	str	r3, [fp, #-356]
	mov	r3, #0
	str	r3, [fp, #-360]
	b	.L10
.L12:
	ldr	r3, [fp, #-360]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-228]
	cmp	r3, #0
	bne	.L11
	ldr	r3, [fp, #-356]
	add	r3, r3, #1
	str	r3, [fp, #-356]
	ldr	r3, [fp, #-360]
	add	r3, r3, #1
	mov	r1, r3
	ldr	r0, .L72+72
	bl	printf
.L11:
	ldr	r3, [fp, #-360]
	add	r3, r3, #1
	str	r3, [fp, #-360]
.L10:
	ldr	r3, [fp, #-380]
	ldr	r2, [fp, #-360]
	cmp	r2, r3
	blt	.L12
	ldr	r1, [fp, #-356]
	ldr	r0, .L72+76
	bl	printf
	b	.L13
.L9:
	ldr	r3, [fp, #-376]
	cmp	r3, #2
	bne	.L14
	ldr	r0, .L72+80
	bl	puts
	sub	r3, fp, #372
	mov	r1, r3
	ldr	r0, .L72+68
	bl	__isoc99_scanf
	ldr	r3, [fp, #-372]
	cmp	r3, #0
	ble	.L15
	ldr	r2, [fp, #-372]
	ldr	r3, [fp, #-380]
	cmp	r2, r3
	bgt	.L15
	ldr	r3, [fp, #-372]
	sub	r3, r3, #1
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-228]
	cmp	r3, #0
	bne	.L15
	ldr	r3, [fp, #-372]
	sub	r3, r3, #1
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	mov	r2, #1
	str	r2, [r3, #-228]
	ldr	r0, .L72+84
	bl	puts
	b	.L13
.L15:
	ldr	r3, [fp, #-372]
	cmp	r3, #0
	ble	.L17
	ldr	r2, [fp, #-372]
	ldr	r3, [fp, #-380]
	cmp	r2, r3
	ble	.L18
.L17:
	ldr	r0, .L72+88
	bl	puts
	b	.L13
.L18:
	ldr	r0, .L72+92
	bl	puts
	b	.L13
.L14:
	ldr	r3, [fp, #-376]
	cmp	r3, #3
	bne	.L19
	mov	r3, #0
	str	r3, [fp, #-352]
	b	.L20
.L24:
	ldr	r3, [fp, #-352]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-228]
	cmp	r3, #0
	bne	.L21
	ldr	r3, [fp, #-352]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	mov	r2, #1
	str	r2, [r3, #-228]
	ldr	r3, [fp, #-380]
	sub	r3, r3, #3
	str	r3, [fp, #-352]
	b	.L22
.L21:
	ldr	r3, [fp, #-352]
	add	r3, r3, #3
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-228]
	cmp	r3, #0
	bne	.L23
	ldr	r3, [fp, #-352]
	add	r2, r3, #3
	ldr	r3, [fp, #-380]
	sub	r3, r3, #3
	cmp	r2, r3
	bge	.L23
	ldr	r3, [fp, #-352]
	add	r3, r3, #3
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	mov	r2, #1
	str	r2, [r3, #-228]
	ldr	r3, [fp, #-380]
	sub	r3, r3, #3
	str	r3, [fp, #-352]
	b	.L22
.L23:
	ldr	r3, [fp, #-352]
	add	r2, r3, #2
	ldr	r3, [fp, #-380]
	sub	r3, r3, #3
	cmp	r2, r3
	blt	.L22
	ldr	r3, [fp, #-380]
	sub	r3, r3, #1
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-228]
	cmp	r3, #0
	bne	.L22
	ldr	r3, [fp, #-380]
	sub	r3, r3, #1
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	mov	r2, #1
	str	r2, [r3, #-228]
.L22:
	ldr	r3, [fp, #-352]
	add	r3, r3, #4
	str	r3, [fp, #-352]
.L20:
	ldr	r3, [fp, #-380]
	sub	r3, r3, #3
	ldr	r2, [fp, #-352]
	cmp	r2, r3
	blt	.L24
	mov	r0, #10
	bl	putchar
	b	.L13
.L19:
	ldr	r3, [fp, #-376]
	cmp	r3, #4
	bne	.L25
	ldr	r0, .L72+96
	bl	puts
	sub	r3, fp, #368
	mov	r1, r3
	ldr	r0, .L72+68
	bl	__isoc99_scanf
	ldr	r3, [fp, #-368]
	cmp	r3, #0
	ble	.L26
	ldr	r2, [fp, #-368]
	ldr	r3, [fp, #-380]
	cmp	r2, r3
	bgt	.L26
	ldr	r3, [fp, #-368]
	sub	r3, r3, #1
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-228]
	cmp	r3, #1
	bne	.L26
	ldr	r3, [fp, #-368]
	sub	r3, r3, #1
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	mov	r2, #0
	str	r2, [r3, #-228]
	ldr	r0, .L72+100
	bl	puts
	b	.L13
.L26:
	ldr	r3, [fp, #-368]
	cmp	r3, #0
	ble	.L28
	ldr	r2, [fp, #-368]
	ldr	r3, [fp, #-380]
	cmp	r2, r3
	ble	.L29
.L28:
	ldr	r0, .L72+88
	bl	puts
	b	.L13
.L29:
	ldr	r0, .L72+104
	bl	puts
	b	.L13
.L25:
	ldr	r3, [fp, #-376]
	cmp	r3, #5
	bne	.L30
	ldr	r0, .L72+108
	bl	puts
	sub	r3, fp, #364
	mov	r1, r3
	ldr	r0, .L72+68
	bl	__isoc99_scanf
	ldr	r3, [fp, #-364]
	cmp	r3, #0
	ble	.L31
	ldr	r2, [fp, #-364]
	ldr	r3, [fp, #-380]
	cmp	r2, r3
	bgt	.L31
	ldr	r3, [fp, #-364]
	sub	r3, r3, #1
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-228]
	cmp	r3, #1
	bne	.L31
	ldr	r0, .L72+112
	bl	puts
	b	.L13
.L31:
	ldr	r3, [fp, #-364]
	cmp	r3, #0
	ble	.L33
	ldr	r2, [fp, #-364]
	ldr	r3, [fp, #-380]
	cmp	r2, r3
	bgt	.L33
	ldr	r3, [fp, #-364]
	sub	r3, r3, #1
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-228]
	cmp	r3, #0
	bne	.L33
	ldr	r0, .L72+116
	bl	puts
	b	.L13
.L33:
	ldr	r0, .L72+88
	bl	puts
	b	.L13
.L30:
	ldr	r3, [fp, #-376]
	cmp	r3, #6
	bne	.L34
	ldr	r0, .L72+120
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-348]
	b	.L35
.L37:
	ldr	r3, [fp, #-348]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-228]
	cmp	r3, #1
	bne	.L36
	ldr	r3, [fp, #-348]
	add	r3, r3, #1
	mov	r1, r3
	ldr	r0, .L72+124
	bl	printf
.L36:
	ldr	r3, [fp, #-348]
	add	r3, r3, #1
	str	r3, [fp, #-348]
.L35:
	ldr	r3, [fp, #-380]
	ldr	r2, [fp, #-348]
	cmp	r2, r3
	blt	.L37
	mov	r0, #10
	bl	putchar
	b	.L13
.L34:
	ldr	r3, [fp, #-376]
	cmp	r3, #7
	bne	.L38
	sub	r3, fp, #20
	mov	r0, r3
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-344]
	mov	r3, #0
	str	r3, [fp, #-340]
	b	.L39
.L48:
	ldr	r3, [fp, #-344]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-228]
	cmp	r3, #0
	bne	.L40
	mov	r0, #95
	bl	putchar
	b	.L41
.L40:
	mov	r0, #42
	bl	putchar
.L41:
	ldr	r3, [fp, #-344]
	add	r3, r3, #1
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-228]
	cmp	r3, #0
	bne	.L42
	mov	r0, #95
	bl	putchar
	b	.L43
.L42:
	mov	r0, #42
	bl	putchar
.L43:
	mov	r0, #32
	bl	putchar
	ldr	r3, [fp, #-344]
	add	r3, r3, #2
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-228]
	cmp	r3, #0
	bne	.L44
	mov	r0, #95
	bl	putchar
	b	.L45
.L44:
	mov	r0, #42
	bl	putchar
.L45:
	ldr	r3, [fp, #-344]
	add	r3, r3, #3
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-228]
	cmp	r3, #0
	bne	.L46
	ldr	r0, .L72+128
	bl	puts
	b	.L47
.L46:
	ldr	r0, .L72+132
	bl	puts
.L47:
	ldr	r3, [fp, #-344]
	add	r3, r3, #4
	str	r3, [fp, #-344]
	ldr	r3, [fp, #-340]
	add	r3, r3, #4
	str	r3, [fp, #-340]
.L39:
	ldr	r3, [fp, #-380]
	sub	r3, r3, #5
	ldr	r2, [fp, #-340]
	cmp	r2, r3
	blt	.L48
	ldr	r3, [fp, #-380]
	sub	r3, r3, #5
	str	r3, [fp, #-336]
	b	.L49
.L52:
	ldr	r3, [fp, #-336]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-228]
	cmp	r3, #0
	bne	.L50
	mov	r0, #95
	bl	putchar
	b	.L51
.L50:
	mov	r0, #42
	bl	putchar
.L51:
	ldr	r3, [fp, #-336]
	add	r3, r3, #1
	str	r3, [fp, #-336]
.L49:
	ldr	r3, [fp, #-380]
	ldr	r2, [fp, #-336]
	cmp	r2, r3
	blt	.L52
	mov	r0, #10
	bl	putchar
	b	.L13
.L38:
	ldr	r3, [fp, #-376]
	cmp	r3, #8
	bne	.L53
	ldr	r1, .L72+136
	ldr	r0, .L72+140
	bl	fopen
	str	r0, [fp, #-312]
	sub	r3, fp, #20
	mov	r2, r3
	ldr	r1, .L72+144
	ldr	r0, [fp, #-312]
	bl	fprintf
	mov	r3, #0
	str	r3, [fp, #-328]
	mov	r3, #0
	str	r3, [fp, #-332]
	b	.L54
.L63:
	ldr	r3, [fp, #-328]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-228]
	cmp	r3, #0
	bne	.L55
	ldr	r1, [fp, #-312]
	mov	r0, #95
	bl	fputc
	b	.L56
.L55:
	ldr	r1, [fp, #-312]
	mov	r0, #42
	bl	fputc
.L56:
	ldr	r3, [fp, #-328]
	add	r3, r3, #1
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-228]
	cmp	r3, #0
	bne	.L57
	ldr	r1, [fp, #-312]
	mov	r0, #95
	bl	fputc
	b	.L58
.L57:
	ldr	r1, [fp, #-312]
	mov	r0, #42
	bl	fputc
.L58:
	ldr	r1, [fp, #-312]
	mov	r0, #32
	bl	fputc
	ldr	r3, [fp, #-328]
	add	r3, r3, #2
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-228]
	cmp	r3, #0
	bne	.L59
	ldr	r1, [fp, #-312]
	mov	r0, #95
	bl	fputc
	b	.L60
.L59:
	ldr	r1, [fp, #-312]
	mov	r0, #42
	bl	fputc
.L60:
	ldr	r3, [fp, #-328]
	add	r3, r3, #3
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-228]
	cmp	r3, #0
	bne	.L61
	ldr	r3, [fp, #-312]
	mov	r2, #2
	mov	r1, #1
	ldr	r0, .L72+148
	bl	fwrite
	b	.L62
.L61:
	ldr	r3, [fp, #-312]
	mov	r2, #2
	mov	r1, #1
	ldr	r0, .L72+152
	bl	fwrite
.L62:
	ldr	r3, [fp, #-328]
	add	r3, r3, #4
	str	r3, [fp, #-328]
	ldr	r3, [fp, #-332]
	add	r3, r3, #4
	str	r3, [fp, #-332]
.L54:
	ldr	r3, [fp, #-380]
	sub	r3, r3, #5
	ldr	r2, [fp, #-332]
	cmp	r2, r3
	blt	.L63
	ldr	r3, [fp, #-380]
	sub	r3, r3, #5
	str	r3, [fp, #-324]
	b	.L64
.L67:
	ldr	r3, [fp, #-324]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-228]
	cmp	r3, #0
	bne	.L65
	ldr	r1, [fp, #-312]
	mov	r0, #95
	bl	fputc
	b	.L66
.L65:
	ldr	r1, [fp, #-312]
	mov	r0, #42
	bl	fputc
.L66:
	ldr	r3, [fp, #-324]
	add	r3, r3, #1
	str	r3, [fp, #-324]
.L64:
	ldr	r3, [fp, #-380]
	ldr	r2, [fp, #-324]
	cmp	r2, r3
	blt	.L67
	ldr	r1, [fp, #-312]
	mov	r0, #10
	bl	fputc
	ldr	r0, [fp, #-312]
	bl	fclose
	b	.L13
.L53:
	ldr	r3, [fp, #-376]
	cmp	r3, #0
	bne	.L68
	mov	r3, #1
	str	r3, [fp, #-320]
	b	.L13
.L68:
	ldr	r0, .L72+156
	bl	puts
.L13:
	ldr	r3, [fp, #-376]
	cmp	r3, #0
	bne	.L69
.L8:
	ldr	r3, [fp, #-320]
	cmp	r3, #0
	beq	.L69
	b	.L70
.L6:
	ldr	r0, .L72+24
	bl	puts
.L70:
	ldr	r0, [fp, #-316]
	bl	fclose
	mov	r3, #0
.L5:
	ldr	r2, .L72
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L71
	bl	__stack_chk_fail
.L71:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L73:
	.align	2
.L72:
	.word	.LC39
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.word	.LC16
	.word	.LC17
	.word	.LC18
	.word	.LC19
	.word	.LC20
	.word	.LC21
	.word	.LC22
	.word	.LC23
	.word	.LC24
	.word	.LC25
	.word	.LC26
	.word	.LC27
	.word	.LC28
	.word	.LC29
	.word	.LC30
	.word	.LC31
	.word	.LC32
	.word	.LC33
	.word	.LC34
	.word	.LC35
	.word	.LC36
	.word	.LC37
	.word	.LC38
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
