	.file	"203492.c"
	.intel_syntax noprefix
	.text
	.globl	opcaoAdicionarTime
	.section	.rodata
	.align 4
	.type	opcaoAdicionarTime, @object
	.size	opcaoAdicionarTime, 4
opcaoAdicionarTime:
	.long	49
	.globl	opcaoEliminarTime
	.align 4
	.type	opcaoEliminarTime, @object
	.size	opcaoEliminarTime, 4
opcaoEliminarTime:
	.long	50
	.globl	opcaoAdicionarJogo
	.align 4
	.type	opcaoAdicionarJogo, @object
	.size	opcaoAdicionarJogo, 4
opcaoAdicionarJogo:
	.long	51
	.globl	opcaoApagarJogo
	.align 4
	.type	opcaoApagarJogo, @object
	.size	opcaoApagarJogo, 4
opcaoApagarJogo:
	.long	52
	.globl	opcaoVerResultados
	.align 4
	.type	opcaoVerResultados, @object
	.size	opcaoVerResultados, 4
opcaoVerResultados:
	.long	53
	.globl	opcaoPercentuais
	.align 4
	.type	opcaoPercentuais, @object
	.size	opcaoPercentuais, 4
opcaoPercentuais:
	.long	54
	.globl	opcaoImprimir
	.align 4
	.type	opcaoImprimir, @object
	.size	opcaoImprimir, 4
opcaoImprimir:
	.long	55
	.globl	opcaoSair
	.align 4
	.type	opcaoSair, @object
	.size	opcaoSair, 4
opcaoSair:
	.long	56
	.globl	teclaEnter
	.align 4
	.type	teclaEnter, @object
	.size	teclaEnter, 4
teclaEnter:
	.long	10
	.align 8
.LC0:
	.string	"Bem vindo a Tabela do Brasileirao!"
.LC1:
	.string	"r+b"
.LC2:
	.string	"times.dat"
.LC3:
	.string	"jogos.dat"
	.align 8
.LC4:
	.string	"Erro ao abrir o arquivo de dados!"
.LC5:
	.string	"\nSelecione uma opcao:"
.LC6:
	.string	"1 - Adicionar um time"
.LC7:
	.string	"2 - Eliminar um time"
	.align 8
.LC8:
	.string	"3 - Entrar com um novo jogo para um time"
.LC9:
	.string	"4 - Apagar um jogo de um time"
	.align 8
.LC10:
	.string	"5 - Ver todos os resultados de um time"
	.align 8
.LC11:
	.string	"6 - Calcular os percentuais de vitoria, empate e derrota de um time"
	.align 8
.LC12:
	.string	"7 - Imprimir a lista dos times"
.LC13:
	.string	"8 - Sair"
.LC14:
	.string	"Adicionando Time"
	.align 8
.LC15:
	.string	"Digite o nome do time a adicionar:"
.LC16:
	.string	"%s"
.LC17:
	.string	"Eliminando Time"
.LC18:
	.string	"%d - %s\n"
	.align 8
.LC19:
	.string	"Digite o numero do time a ser eliminado:"
.LC20:
	.string	"%i"
.LC21:
	.string	"erro"
.LC22:
	.string	"Entrando com um novo jogo"
	.align 8
.LC23:
	.string	"Digite o numero do time mandante:"
	.align 8
.LC24:
	.string	"Digite a quantidade de gols do time mandante:"
	.align 8
.LC25:
	.string	"Digite o numero do time visitante:"
	.align 8
.LC26:
	.string	"Digite a quantidade de gols do time visitante:"
.LC27:
	.string	"Digite a data do jogo:"
.LC28:
	.string	"Apagando um jogo"
.LC29:
	.string	"%d - %s %d x %d %s \n"
	.align 8
.LC30:
	.string	"Digite o numero do jogo a ser apagado:"
.LC31:
	.string	"Resultado dos jogos"
.LC32:
	.string	"Digite o numero do time:"
	.align 8
.LC33:
	.string	"Percentuais de vitorias, empates e derrotas"
.LC35:
	.string	"Total de jogos: %i\n"
.LC36:
	.string	"Percentual de vitorias: %.2f\n"
.LC37:
	.string	"Percentual de derrotas: %.2f\n"
.LC38:
	.string	"Percentual de empates: %.2f\n"
.LC39:
	.string	"Lista dos times"
.LC40:
	.string	"%d - %s - %d\n"
	.align 8
.LC41:
	.string	"Obrigado por utilizar a Tabela do Brasileirao"
.LC42:
	.string	"Opcao Inexistente"
	.text
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r15
	push	r14
	push	r13
	push	r12
	push	rbx
	sub	rsp, 4040
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	mov	DWORD PTR -4068[rbp], edi
	mov	QWORD PTR -4080[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -56[rbp], rax
	xor	eax, eax
	lea	rdi, .LC0[rip]
	call	puts@PLT
	lea	rsi, .LC1[rip]
	lea	rdi, .LC2[rip]
	call	fopen@PLT
	mov	QWORD PTR -4016[rbp], rax
	lea	rsi, .LC1[rip]
	lea	rdi, .LC3[rip]
	call	fopen@PLT
	mov	QWORD PTR -4008[rbp], rax
	cmp	QWORD PTR -4016[rbp], 0
	jne	.L2
	lea	rdi, .LC4[rip]
	call	puts@PLT
	jmp	.L3
.L2:
	lea	rdi, .LC5[rip]
	call	puts@PLT
	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
	mov	eax, 49
	cmp	DWORD PTR -4052[rbp], eax
	jne	.L4
	lea	rdi, .LC14[rip]
	call	puts@PLT
	mov	DWORD PTR -3924[rbp], 1
	lea	rdi, .LC15[rip]
	call	puts@PLT
	lea	rax, -3984[rbp]
	mov	rsi, rax
	lea	rdi, .LC16[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	rax, QWORD PTR -4016[rbp]
	mov	edx, 2
	mov	esi, 64
	mov	rdi, rax
	call	fseek@PLT
	mov	rdx, QWORD PTR -4016[rbp]
	lea	rax, -3984[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 64
	mov	rdi, rax
	call	fwrite@PLT
	jmp	.L5
.L4:
	mov	eax, 50
	cmp	DWORD PTR -4052[rbp], eax
	jne	.L6
	lea	rdi, .LC17[rip]
	call	puts@PLT
	mov	DWORD PTR -4064[rbp], 0
	mov	rax, QWORD PTR -4016[rbp]
	mov	rdi, rax
	call	rewind@PLT
	jmp	.L7
.L8:
	mov	eax, DWORD PTR -3924[rbp]
	cmp	eax, 1
	jne	.L7
	mov	eax, DWORD PTR -4064[rbp]
	lea	rdx, -3984[rbp]
	mov	esi, eax
	lea	rdi, .LC18[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -4064[rbp]
	add	eax, 1
	mov	DWORD PTR -4064[rbp], eax
.L7:
	mov	rdx, QWORD PTR -4016[rbp]
	lea	rax, -3984[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 64
	mov	rdi, rax
	call	fread@PLT
	test	rax, rax
	jne	.L8
	mov	DWORD PTR -4060[rbp], 0
	lea	rdi, .LC19[rip]
	call	puts@PLT
	lea	rax, -4060[rbp]
	mov	rsi, rax
	lea	rdi, .LC20[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	call	getchar@PLT
	mov	DWORD PTR -4064[rbp], 0
	mov	DWORD PTR -4048[rbp], 0
	mov	rax, QWORD PTR -4016[rbp]
	mov	rdi, rax
	call	rewind@PLT
	jmp	.L9
.L14:
	mov	eax, DWORD PTR -3924[rbp]
	cmp	eax, 1
	jne	.L10
	mov	edx, DWORD PTR -4064[rbp]
	mov	eax, DWORD PTR -4060[rbp]
	cmp	edx, eax
	jne	.L11
	mov	eax, DWORD PTR -4048[rbp]
	cdqe
	sal	rax, 6
	mov	rcx, rax
	mov	rax, QWORD PTR -4016[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	rdi, rax
	call	fseek@PLT
	mov	DWORD PTR -3924[rbp], 0
	mov	rdx, QWORD PTR -4016[rbp]
	lea	rax, -3984[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 64
	mov	rdi, rax
	call	fwrite@PLT
	mov	rax, QWORD PTR -4016[rbp]
	mov	rdi, rax
	call	ferror@PLT
	test	eax, eax
	je	.L70
	lea	rdi, .LC21[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L70
.L11:
	mov	eax, DWORD PTR -4064[rbp]
	add	eax, 1
	mov	DWORD PTR -4064[rbp], eax
.L10:
	add	DWORD PTR -4048[rbp], 1
.L9:
	mov	rdx, QWORD PTR -4016[rbp]
	lea	rax, -3984[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 64
	mov	rdi, rax
	call	fread@PLT
	test	rax, rax
	jne	.L14
	jmp	.L5
.L6:
	mov	eax, 51
	cmp	DWORD PTR -4052[rbp], eax
	jne	.L15
	lea	rdi, .LC22[rip]
	call	puts@PLT
	mov	DWORD PTR -4064[rbp], 0
	mov	rax, QWORD PTR -4016[rbp]
	mov	rdi, rax
	call	rewind@PLT
	jmp	.L16
.L17:
	mov	eax, DWORD PTR -3924[rbp]
	cmp	eax, 1
	jne	.L16
	mov	eax, DWORD PTR -4064[rbp]
	lea	rdx, -3984[rbp]
	mov	esi, eax
	lea	rdi, .LC18[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -4064[rbp]
	lea	rcx, -3728[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 2
	lea	rdx, [rcx+rax]
	lea	rax, -3984[rbp]
	mov	rsi, rax
	mov	rdi, rdx
	call	strcpy@PLT
	mov	eax, DWORD PTR -4064[rbp]
	add	eax, 1
	mov	DWORD PTR -4064[rbp], eax
.L16:
	mov	rdx, QWORD PTR -4016[rbp]
	lea	rax, -3984[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 64
	mov	rdi, rax
	call	fread@PLT
	test	rax, rax
	jne	.L17
	lea	rdi, .LC23[rip]
	call	puts@PLT
	lea	rax, -4064[rbp]
	mov	rsi, rax
	lea	rdi, .LC20[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	call	getchar@PLT
	mov	eax, DWORD PTR -4064[rbp]
	lea	rcx, -3728[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 2
	lea	rdx, [rcx+rax]
	lea	rax, -3920[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	lea	rdi, .LC24[rip]
	call	puts@PLT
	lea	rax, -4064[rbp]
	mov	rsi, rax
	lea	rdi, .LC20[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	call	getchar@PLT
	mov	eax, DWORD PTR -4064[rbp]
	mov	DWORD PTR -3800[rbp], eax
	lea	rdi, .LC25[rip]
	call	puts@PLT
	lea	rax, -4064[rbp]
	mov	rsi, rax
	lea	rdi, .LC20[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	call	getchar@PLT
	mov	eax, DWORD PTR -4064[rbp]
	lea	rcx, -3728[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 2
	lea	rdx, [rcx+rax]
	lea	rax, -3920[rbp]
	add	rax, 60
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	lea	rdi, .LC26[rip]
	call	puts@PLT
	lea	rax, -4064[rbp]
	mov	rsi, rax
	lea	rdi, .LC20[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	call	getchar@PLT
	mov	eax, DWORD PTR -4064[rbp]
	mov	DWORD PTR -3796[rbp], eax
	lea	rdi, .LC27[rip]
	call	puts@PLT
	lea	rax, -3920[rbp]
	sub	rax, -128
	mov	rsi, rax
	lea	rdi, .LC16[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	DWORD PTR -3732[rbp], 1
	mov	rax, QWORD PTR -4008[rbp]
	mov	edx, 2
	mov	esi, 192
	mov	rdi, rax
	call	fseek@PLT
	mov	rdx, QWORD PTR -4008[rbp]
	lea	rax, -3920[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 192
	mov	rdi, rax
	call	fwrite@PLT
	jmp	.L5
.L15:
	mov	eax, 52
	cmp	DWORD PTR -4052[rbp], eax
	jne	.L18
	lea	rdi, .LC28[rip]
	call	puts@PLT
	mov	DWORD PTR -4064[rbp], 0
	mov	rax, QWORD PTR -4008[rbp]
	mov	rdi, rax
	call	rewind@PLT
	jmp	.L19
.L20:
	mov	eax, DWORD PTR -3732[rbp]
	cmp	eax, 1
	jne	.L19
	mov	esi, DWORD PTR -3796[rbp]
	mov	ecx, DWORD PTR -3800[rbp]
	mov	eax, DWORD PTR -4064[rbp]
	lea	rdx, -3920[rbp]
	lea	rdi, 60[rdx]
	lea	rdx, -3920[rbp]
	mov	r9, rdi
	mov	r8d, esi
	mov	esi, eax
	lea	rdi, .LC29[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -4064[rbp]
	add	eax, 1
	mov	DWORD PTR -4064[rbp], eax
.L19:
	mov	rdx, QWORD PTR -4008[rbp]
	lea	rax, -3920[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 192
	mov	rdi, rax
	call	fread@PLT
	test	rax, rax
	jne	.L20
	lea	rdi, .LC30[rip]
	call	puts@PLT
	lea	rax, -4060[rbp]
	mov	rsi, rax
	lea	rdi, .LC20[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	call	getchar@PLT
	mov	DWORD PTR -4064[rbp], 0
	mov	DWORD PTR -4048[rbp], 0
	mov	rax, QWORD PTR -4008[rbp]
	mov	rdi, rax
	call	rewind@PLT
	jmp	.L21
.L26:
	mov	eax, DWORD PTR -3732[rbp]
	cmp	eax, 1
	jne	.L22
	mov	edx, DWORD PTR -4064[rbp]
	mov	eax, DWORD PTR -4060[rbp]
	cmp	edx, eax
	jne	.L23
	mov	eax, DWORD PTR -4048[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 6
	mov	rcx, rax
	mov	rax, QWORD PTR -4008[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	rdi, rax
	call	fseek@PLT
	mov	DWORD PTR -3732[rbp], 0
	mov	rdx, QWORD PTR -4008[rbp]
	lea	rax, -3920[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 192
	mov	rdi, rax
	call	fwrite@PLT
	mov	rax, QWORD PTR -4016[rbp]
	mov	rdi, rax
	call	ferror@PLT
	test	eax, eax
	je	.L71
	lea	rdi, .LC21[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L71
.L23:
	mov	eax, DWORD PTR -4064[rbp]
	add	eax, 1
	mov	DWORD PTR -4064[rbp], eax
.L22:
	add	DWORD PTR -4048[rbp], 1
.L21:
	mov	rdx, QWORD PTR -4008[rbp]
	lea	rax, -3920[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 192
	mov	rdi, rax
	call	fread@PLT
	test	rax, rax
	jne	.L26
	jmp	.L5
.L18:
	mov	eax, 53
	cmp	DWORD PTR -4052[rbp], eax
	jne	.L27
	lea	rdi, .LC31[rip]
	call	puts@PLT
	mov	DWORD PTR -4064[rbp], 0
	mov	rax, QWORD PTR -4016[rbp]
	mov	rdi, rax
	call	rewind@PLT
	jmp	.L28
.L29:
	mov	eax, DWORD PTR -3924[rbp]
	cmp	eax, 1
	jne	.L28
	mov	eax, DWORD PTR -4064[rbp]
	lea	rdx, -3984[rbp]
	mov	esi, eax
	lea	rdi, .LC18[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -4064[rbp]
	lea	rcx, -3728[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 2
	lea	rdx, [rcx+rax]
	lea	rax, -3984[rbp]
	mov	rsi, rax
	mov	rdi, rdx
	call	strcpy@PLT
	mov	eax, DWORD PTR -4064[rbp]
	add	eax, 1
	mov	DWORD PTR -4064[rbp], eax
.L28:
	mov	rdx, QWORD PTR -4016[rbp]
	lea	rax, -3984[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 64
	mov	rdi, rax
	call	fread@PLT
	test	rax, rax
	jne	.L29
	mov	DWORD PTR -4060[rbp], 0
	lea	rdi, .LC32[rip]
	call	puts@PLT
	lea	rax, -4060[rbp]
	mov	rsi, rax
	lea	rdi, .LC20[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	call	getchar@PLT
	mov	rax, QWORD PTR -4008[rbp]
	mov	rdi, rax
	call	rewind@PLT
	jmp	.L30
.L32:
	mov	eax, DWORD PTR -3732[rbp]
	cmp	eax, 1
	jne	.L30
	mov	eax, DWORD PTR -4060[rbp]
	lea	rcx, -3728[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 2
	lea	rdx, [rcx+rax]
	lea	rax, -3920[rbp]
	mov	rsi, rax
	mov	rdi, rdx
	call	strcmp@PLT
	test	eax, eax
	je	.L31
	mov	eax, DWORD PTR -4060[rbp]
	lea	rcx, -3728[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 2
	add	rax, rcx
	lea	rdx, -3920[rbp]
	add	rdx, 60
	mov	rsi, rdx
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L30
.L31:
	mov	esi, DWORD PTR -3796[rbp]
	mov	ecx, DWORD PTR -3800[rbp]
	mov	eax, DWORD PTR -4064[rbp]
	lea	rdx, -3920[rbp]
	lea	rdi, 60[rdx]
	lea	rdx, -3920[rbp]
	mov	r9, rdi
	mov	r8d, esi
	mov	esi, eax
	lea	rdi, .LC29[rip]
	mov	eax, 0
	call	printf@PLT
.L30:
	mov	rdx, QWORD PTR -4008[rbp]
	lea	rax, -3920[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 192
	mov	rdi, rax
	call	fread@PLT
	test	rax, rax
	jne	.L32
	jmp	.L5
.L27:
	mov	eax, 54
	cmp	DWORD PTR -4052[rbp], eax
	jne	.L33
	lea	rdi, .LC33[rip]
	call	puts@PLT
	mov	DWORD PTR -4064[rbp], 0
	mov	rax, QWORD PTR -4016[rbp]
	mov	rdi, rax
	call	rewind@PLT
	jmp	.L34
.L35:
	mov	eax, DWORD PTR -3924[rbp]
	cmp	eax, 1
	jne	.L34
	mov	eax, DWORD PTR -4064[rbp]
	lea	rdx, -3984[rbp]
	mov	esi, eax
	lea	rdi, .LC18[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -4064[rbp]
	lea	rcx, -3728[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 2
	lea	rdx, [rcx+rax]
	lea	rax, -3984[rbp]
	mov	rsi, rax
	mov	rdi, rdx
	call	strcpy@PLT
	mov	eax, DWORD PTR -4064[rbp]
	add	eax, 1
	mov	DWORD PTR -4064[rbp], eax
.L34:
	mov	rdx, QWORD PTR -4016[rbp]
	lea	rax, -3984[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 64
	mov	rdi, rax
	call	fread@PLT
	test	rax, rax
	jne	.L35
	mov	DWORD PTR -4060[rbp], 0
	lea	rdi, .LC32[rip]
	call	puts@PLT
	lea	rax, -4060[rbp]
	mov	rsi, rax
	lea	rdi, .LC20[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	call	getchar@PLT
	mov	rax, QWORD PTR -4008[rbp]
	mov	rdi, rax
	call	rewind@PLT
	mov	DWORD PTR -4056[rbp], 0
	mov	DWORD PTR -4044[rbp], 0
	mov	DWORD PTR -4040[rbp], 0
	jmp	.L36
.L42:
	mov	eax, DWORD PTR -3732[rbp]
	cmp	eax, 1
	jne	.L36
	mov	eax, DWORD PTR -4060[rbp]
	lea	rcx, -3728[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 2
	lea	rdx, [rcx+rax]
	lea	rax, -3920[rbp]
	mov	rsi, rax
	mov	rdi, rdx
	call	strcmp@PLT
	test	eax, eax
	jne	.L37
	mov	edx, DWORD PTR -3800[rbp]
	mov	eax, DWORD PTR -3796[rbp]
	cmp	edx, eax
	jle	.L38
	add	DWORD PTR -4056[rbp], 1
.L38:
	mov	edx, DWORD PTR -3800[rbp]
	mov	eax, DWORD PTR -3796[rbp]
	cmp	edx, eax
	jge	.L39
	add	DWORD PTR -4044[rbp], 1
.L39:
	mov	edx, DWORD PTR -3800[rbp]
	mov	eax, DWORD PTR -3796[rbp]
	cmp	edx, eax
	jne	.L37
	add	DWORD PTR -4040[rbp], 1
.L37:
	mov	eax, DWORD PTR -4060[rbp]
	lea	rcx, -3728[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 2
	add	rax, rcx
	lea	rdx, -3920[rbp]
	add	rdx, 60
	mov	rsi, rdx
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L36
	mov	edx, DWORD PTR -3796[rbp]
	mov	eax, DWORD PTR -3800[rbp]
	cmp	edx, eax
	jle	.L40
	add	DWORD PTR -4056[rbp], 1
.L40:
	mov	edx, DWORD PTR -3796[rbp]
	mov	eax, DWORD PTR -3800[rbp]
	cmp	edx, eax
	jge	.L41
	add	DWORD PTR -4044[rbp], 1
.L41:
	mov	edx, DWORD PTR -3796[rbp]
	mov	eax, DWORD PTR -3800[rbp]
	cmp	edx, eax
	jne	.L36
	add	DWORD PTR -4040[rbp], 1
.L36:
	mov	rdx, QWORD PTR -4008[rbp]
	lea	rax, -3920[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 192
	mov	rdi, rax
	call	fread@PLT
	test	rax, rax
	jne	.L42
	mov	edx, DWORD PTR -4056[rbp]
	mov	eax, DWORD PTR -4040[rbp]
	add	edx, eax
	mov	eax, DWORD PTR -4044[rbp]
	add	eax, edx
	mov	DWORD PTR -4020[rbp], eax
	pxor	xmm0, xmm0
	movss	DWORD PTR -4036[rbp], xmm0
	pxor	xmm0, xmm0
	movss	DWORD PTR -4032[rbp], xmm0
	pxor	xmm0, xmm0
	movss	DWORD PTR -4028[rbp], xmm0
	cmp	DWORD PTR -4020[rbp], 0
	jle	.L43
	mov	eax, DWORD PTR -4056[rbp]
	imul	eax, eax, 100
	cdq
	idiv	DWORD PTR -4020[rbp]
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, eax
	movss	DWORD PTR -4036[rbp], xmm0
	mov	eax, DWORD PTR -4044[rbp]
	imul	eax, eax, 100
	cdq
	idiv	DWORD PTR -4020[rbp]
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, eax
	movss	DWORD PTR -4032[rbp], xmm0
	mov	eax, DWORD PTR -4040[rbp]
	imul	eax, eax, 100
	cdq
	idiv	DWORD PTR -4020[rbp]
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, eax
	movss	DWORD PTR -4028[rbp], xmm0
.L43:
	mov	eax, DWORD PTR -4020[rbp]
	mov	esi, eax
	lea	rdi, .LC35[rip]
	mov	eax, 0
	call	printf@PLT
	pxor	xmm1, xmm1
	cvtss2sd	xmm1, DWORD PTR -4036[rbp]
	movq	rax, xmm1
	movq	xmm0, rax
	lea	rdi, .LC36[rip]
	mov	eax, 1
	call	printf@PLT
	pxor	xmm2, xmm2
	cvtss2sd	xmm2, DWORD PTR -4032[rbp]
	movq	rax, xmm2
	movq	xmm0, rax
	lea	rdi, .LC37[rip]
	mov	eax, 1
	call	printf@PLT
	pxor	xmm3, xmm3
	cvtss2sd	xmm3, DWORD PTR -4028[rbp]
	movq	rax, xmm3
	movq	xmm0, rax
	lea	rdi, .LC38[rip]
	mov	eax, 1
	call	printf@PLT
	jmp	.L5
.L33:
	mov	eax, 55
	cmp	DWORD PTR -4052[rbp], eax
	jne	.L44
	lea	rdi, .LC39[rip]
	call	puts@PLT
	mov	DWORD PTR -4064[rbp], 0
	mov	rax, QWORD PTR -4016[rbp]
	mov	rdi, rax
	call	rewind@PLT
	jmp	.L45
.L46:
	mov	eax, DWORD PTR -3924[rbp]
	cmp	eax, 1
	jne	.L45
	mov	eax, DWORD PTR -4064[rbp]
	lea	rcx, -3728[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 2
	lea	rdx, [rcx+rax]
	lea	rax, -3984[rbp]
	mov	rsi, rax
	mov	rdi, rdx
	call	strcpy@PLT
	mov	eax, DWORD PTR -4064[rbp]
	add	eax, 1
	mov	DWORD PTR -4064[rbp], eax
.L45:
	mov	rdx, QWORD PTR -4016[rbp]
	lea	rax, -3984[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 64
	mov	rdi, rax
	call	fread@PLT
	test	rax, rax
	jne	.L46
	mov	eax, DWORD PTR -4064[rbp]
	mov	rdx, rsp
	mov	rbx, rdx
	movsx	rdx, eax
	sub	rdx, 1
	mov	QWORD PTR -4000[rbp], rdx
	movsx	rdx, eax
	mov	r12, rdx
	mov	r13d, 0
	movsx	rdx, eax
	mov	r14, rdx
	mov	r15d, 0
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	eax, 16
	sub	rax, 1
	add	rax, rdx
	mov	esi, 16
	mov	edx, 0
	div	rsi
	imul	rax, rax, 16
	mov	rcx, rax
	and	rcx, -4096
	mov	rdx, rsp
	sub	rdx, rcx
.L47:
	cmp	rsp, rdx
	je	.L48
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L47
.L48:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L49
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L49:
	mov	rax, rsp
	add	rax, 3
	shr	rax, 2
	sal	rax, 2
	mov	QWORD PTR -3992[rbp], rax
	mov	DWORD PTR -4060[rbp], 0
	jmp	.L50
.L51:
	mov	edx, DWORD PTR -4060[rbp]
	mov	rax, QWORD PTR -3992[rbp]
	movsx	rdx, edx
	mov	DWORD PTR [rax+rdx*4], 0
	mov	eax, DWORD PTR -4060[rbp]
	add	eax, 1
	mov	DWORD PTR -4060[rbp], eax
.L50:
	mov	edx, DWORD PTR -4060[rbp]
	mov	eax, DWORD PTR -4064[rbp]
	cmp	edx, eax
	jl	.L51
	mov	rax, QWORD PTR -4008[rbp]
	mov	rdi, rax
	call	rewind@PLT
	jmp	.L52
.L59:
	mov	eax, DWORD PTR -3732[rbp]
	cmp	eax, 1
	jne	.L52
	mov	DWORD PTR -4060[rbp], 0
	jmp	.L53
.L58:
	mov	eax, DWORD PTR -4060[rbp]
	lea	rcx, -3728[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 2
	lea	rdx, [rcx+rax]
	lea	rax, -3920[rbp]
	mov	rsi, rax
	mov	rdi, rdx
	call	strcmp@PLT
	test	eax, eax
	jne	.L54
	mov	edx, DWORD PTR -3800[rbp]
	mov	eax, DWORD PTR -3796[rbp]
	cmp	edx, eax
	jle	.L55
	mov	edx, DWORD PTR -4060[rbp]
	mov	rax, QWORD PTR -3992[rbp]
	movsx	rdx, edx
	mov	eax, DWORD PTR [rax+rdx*4]
	mov	edx, DWORD PTR -4060[rbp]
	lea	ecx, 3[rax]
	mov	rax, QWORD PTR -3992[rbp]
	movsx	rdx, edx
	mov	DWORD PTR [rax+rdx*4], ecx
.L55:
	mov	edx, DWORD PTR -3800[rbp]
	mov	eax, DWORD PTR -3796[rbp]
	cmp	edx, eax
	jne	.L56
	mov	edx, DWORD PTR -4060[rbp]
	mov	rax, QWORD PTR -3992[rbp]
	movsx	rdx, edx
	mov	eax, DWORD PTR [rax+rdx*4]
	mov	edx, DWORD PTR -4060[rbp]
	lea	ecx, 1[rax]
	mov	rax, QWORD PTR -3992[rbp]
	movsx	rdx, edx
	mov	DWORD PTR [rax+rdx*4], ecx
	jmp	.L56
.L54:
	mov	eax, DWORD PTR -4060[rbp]
	lea	rcx, -3728[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 2
	add	rax, rcx
	lea	rdx, -3920[rbp]
	add	rdx, 60
	mov	rsi, rdx
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L56
	mov	edx, DWORD PTR -3796[rbp]
	mov	eax, DWORD PTR -3800[rbp]
	cmp	edx, eax
	jle	.L57
	mov	edx, DWORD PTR -4060[rbp]
	mov	rax, QWORD PTR -3992[rbp]
	movsx	rdx, edx
	mov	eax, DWORD PTR [rax+rdx*4]
	mov	edx, DWORD PTR -4060[rbp]
	lea	ecx, 3[rax]
	mov	rax, QWORD PTR -3992[rbp]
	movsx	rdx, edx
	mov	DWORD PTR [rax+rdx*4], ecx
.L57:
	mov	edx, DWORD PTR -3796[rbp]
	mov	eax, DWORD PTR -3800[rbp]
	cmp	edx, eax
	jne	.L56
	mov	edx, DWORD PTR -4060[rbp]
	mov	rax, QWORD PTR -3992[rbp]
	movsx	rdx, edx
	mov	eax, DWORD PTR [rax+rdx*4]
	mov	edx, DWORD PTR -4060[rbp]
	lea	ecx, 1[rax]
	mov	rax, QWORD PTR -3992[rbp]
	movsx	rdx, edx
	mov	DWORD PTR [rax+rdx*4], ecx
.L56:
	mov	eax, DWORD PTR -4060[rbp]
	add	eax, 1
	mov	DWORD PTR -4060[rbp], eax
.L53:
	mov	edx, DWORD PTR -4060[rbp]
	mov	eax, DWORD PTR -4064[rbp]
	cmp	edx, eax
	jl	.L58
.L52:
	mov	rdx, QWORD PTR -4008[rbp]
	lea	rax, -3920[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 192
	mov	rdi, rax
	call	fread@PLT
	test	rax, rax
	jne	.L59
	mov	DWORD PTR -4060[rbp], 0
	jmp	.L60
.L64:
	mov	DWORD PTR -4048[rbp], 0
	jmp	.L61
.L63:
	mov	rax, QWORD PTR -3992[rbp]
	mov	edx, DWORD PTR -4048[rbp]
	movsx	rdx, edx
	mov	ecx, DWORD PTR [rax+rdx*4]
	mov	eax, DWORD PTR -4048[rbp]
	lea	edx, 1[rax]
	mov	rax, QWORD PTR -3992[rbp]
	movsx	rdx, edx
	mov	eax, DWORD PTR [rax+rdx*4]
	cmp	ecx, eax
	jge	.L62
	mov	rax, QWORD PTR -3992[rbp]
	mov	edx, DWORD PTR -4048[rbp]
	movsx	rdx, edx
	mov	eax, DWORD PTR [rax+rdx*4]
	mov	DWORD PTR -4024[rbp], eax
	lea	rcx, -3728[rbp]
	mov	eax, DWORD PTR -4048[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 2
	lea	rdx, [rcx+rax]
	lea	rax, -128[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	mov	eax, DWORD PTR -4048[rbp]
	lea	edx, 1[rax]
	mov	rax, QWORD PTR -3992[rbp]
	movsx	rdx, edx
	mov	ecx, DWORD PTR [rax+rdx*4]
	mov	rax, QWORD PTR -3992[rbp]
	mov	edx, DWORD PTR -4048[rbp]
	movsx	rdx, edx
	mov	DWORD PTR [rax+rdx*4], ecx
	mov	eax, DWORD PTR -4048[rbp]
	add	eax, 1
	lea	rcx, -3728[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 2
	lea	rdx, [rcx+rax]
	lea	rsi, -3728[rbp]
	mov	eax, DWORD PTR -4048[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	sal	rax, 4
	sub	rax, rcx
	sal	rax, 2
	add	rax, rsi
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	mov	eax, DWORD PTR -4048[rbp]
	lea	edx, 1[rax]
	mov	rax, QWORD PTR -3992[rbp]
	movsx	rdx, edx
	mov	ecx, DWORD PTR -4024[rbp]
	mov	DWORD PTR [rax+rdx*4], ecx
	mov	eax, DWORD PTR -4048[rbp]
	add	eax, 1
	lea	rcx, -3728[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 2
	lea	rdx, [rcx+rax]
	lea	rax, -128[rbp]
	mov	rsi, rax
	mov	rdi, rdx
	call	strcpy@PLT
.L62:
	add	DWORD PTR -4048[rbp], 1
.L61:
	mov	eax, DWORD PTR -4064[rbp]
	mov	edx, DWORD PTR -4060[rbp]
	sub	eax, edx
	sub	eax, 1
	cmp	DWORD PTR -4048[rbp], eax
	jl	.L63
	mov	eax, DWORD PTR -4060[rbp]
	add	eax, 1
	mov	DWORD PTR -4060[rbp], eax
.L60:
	mov	eax, DWORD PTR -4064[rbp]
	lea	edx, -1[rax]
	mov	eax, DWORD PTR -4060[rbp]
	cmp	edx, eax
	jg	.L64
	mov	DWORD PTR -4060[rbp], 0
	jmp	.L65
.L66:
	mov	edx, DWORD PTR -4060[rbp]
	mov	rax, QWORD PTR -3992[rbp]
	movsx	rdx, edx
	mov	edx, DWORD PTR [rax+rdx*4]
	mov	eax, DWORD PTR -4060[rbp]
	lea	rsi, -3728[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	sal	rax, 4
	sub	rax, rcx
	sal	rax, 2
	add	rsi, rax
	mov	eax, DWORD PTR -4060[rbp]
	mov	ecx, edx
	mov	rdx, rsi
	mov	esi, eax
	lea	rdi, .LC40[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -4060[rbp]
	add	eax, 1
	mov	DWORD PTR -4060[rbp], eax
.L65:
	mov	edx, DWORD PTR -4060[rbp]
	mov	eax, DWORD PTR -4064[rbp]
	cmp	edx, eax
	jl	.L66
	mov	rsp, rbx
	jmp	.L5
.L44:
	mov	eax, 56
	cmp	DWORD PTR -4052[rbp], eax
	jne	.L67
	lea	rdi, .LC41[rip]
	call	puts@PLT
	jmp	.L3
.L67:
	mov	eax, 10
	cmp	DWORD PTR -4052[rbp], eax
	je	.L5
	lea	rdi, .LC42[rip]
	call	puts@PLT
	jmp	.L5
.L70:
	nop
	jmp	.L5
.L71:
	nop
.L5:
	mov	edi, 0
	call	fflush@PLT
	call	getchar@PLT
	mov	DWORD PTR -4052[rbp], eax
	cmp	DWORD PTR -4052[rbp], -1
	jne	.L2
.L3:
	mov	eax, 0
	mov	rbx, QWORD PTR -56[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L69
	call	__stack_chk_fail@PLT
.L69:
	lea	rsp, -40[rbp]
	pop	rbx
	pop	r12
	pop	r13
	pop	r14
	pop	r15
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.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	"203492.c"
	.text
	.global	opcaoAdicionarTime
	.section	.rodata
	.align	2
	.type	opcaoAdicionarTime, %object
	.size	opcaoAdicionarTime, 4
opcaoAdicionarTime:
	.word	49
	.global	opcaoEliminarTime
	.align	2
	.type	opcaoEliminarTime, %object
	.size	opcaoEliminarTime, 4
opcaoEliminarTime:
	.word	50
	.global	opcaoAdicionarJogo
	.align	2
	.type	opcaoAdicionarJogo, %object
	.size	opcaoAdicionarJogo, 4
opcaoAdicionarJogo:
	.word	51
	.global	opcaoApagarJogo
	.align	2
	.type	opcaoApagarJogo, %object
	.size	opcaoApagarJogo, 4
opcaoApagarJogo:
	.word	52
	.global	opcaoVerResultados
	.align	2
	.type	opcaoVerResultados, %object
	.size	opcaoVerResultados, 4
opcaoVerResultados:
	.word	53
	.global	opcaoPercentuais
	.align	2
	.type	opcaoPercentuais, %object
	.size	opcaoPercentuais, 4
opcaoPercentuais:
	.word	54
	.global	opcaoImprimir
	.align	2
	.type	opcaoImprimir, %object
	.size	opcaoImprimir, 4
opcaoImprimir:
	.word	55
	.global	opcaoSair
	.align	2
	.type	opcaoSair, %object
	.size	opcaoSair, 4
opcaoSair:
	.word	56
	.global	teclaEnter
	.align	2
	.type	teclaEnter, %object
	.size	teclaEnter, 4
teclaEnter:
	.word	10
	.align	2
.LC0:
	.ascii	"Bem vindo a Tabela do Brasileirao!\000"
	.align	2
.LC1:
	.ascii	"r+b\000"
	.align	2
.LC2:
	.ascii	"times.dat\000"
	.align	2
.LC3:
	.ascii	"jogos.dat\000"
	.align	2
.LC4:
	.ascii	"Erro ao abrir o arquivo de dados!\000"
	.align	2
.LC5:
	.ascii	"\012Selecione uma opcao:\000"
	.align	2
.LC6:
	.ascii	"1 - Adicionar um time\000"
	.align	2
.LC7:
	.ascii	"2 - Eliminar um time\000"
	.align	2
.LC8:
	.ascii	"3 - Entrar com um novo jogo para um time\000"
	.align	2
.LC9:
	.ascii	"4 - Apagar um jogo de um time\000"
	.align	2
.LC10:
	.ascii	"5 - Ver todos os resultados de um time\000"
	.align	2
.LC11:
	.ascii	"6 - Calcular os percentuais de vitoria, empate e de"
	.ascii	"rrota de um time\000"
	.align	2
.LC12:
	.ascii	"7 - Imprimir a lista dos times\000"
	.align	2
.LC13:
	.ascii	"8 - Sair\000"
	.align	2
.LC14:
	.ascii	"Adicionando Time\000"
	.align	2
.LC15:
	.ascii	"Digite o nome do time a adicionar:\000"
	.align	2
.LC16:
	.ascii	"%s\000"
	.align	2
.LC17:
	.ascii	"Eliminando Time\000"
	.align	2
.LC18:
	.ascii	"%d - %s\012\000"
	.align	2
.LC19:
	.ascii	"Digite o numero do time a ser eliminado:\000"
	.align	2
.LC20:
	.ascii	"%i\000"
	.align	2
.LC21:
	.ascii	"erro\000"
	.align	2
.LC22:
	.ascii	"Entrando com um novo jogo\000"
	.align	2
.LC23:
	.ascii	"Digite o numero do time mandante:\000"
	.align	2
.LC24:
	.ascii	"Digite a quantidade de gols do time mandante:\000"
	.align	2
.LC25:
	.ascii	"Digite o numero do time visitante:\000"
	.align	2
.LC26:
	.ascii	"Digite a quantidade de gols do time visitante:\000"
	.align	2
.LC27:
	.ascii	"Digite a data do jogo:\000"
	.align	2
.LC28:
	.ascii	"Apagando um jogo\000"
	.align	2
.LC29:
	.ascii	"%d - %s %d x %d %s \012\000"
	.align	2
.LC30:
	.ascii	"Digite o numero do jogo a ser apagado:\000"
	.align	2
.LC31:
	.ascii	"Resultado dos jogos\000"
	.align	2
.LC32:
	.ascii	"Digite o numero do time:\000"
	.align	2
.LC33:
	.ascii	"Percentuais de vitorias, empates e derrotas\000"
	.global	__aeabi_idiv
	.global	__aeabi_i2f
	.align	2
.LC34:
	.ascii	"Total de jogos: %i\012\000"
	.global	__aeabi_f2d
	.align	2
.LC35:
	.ascii	"Percentual de vitorias: %.2f\012\000"
	.align	2
.LC36:
	.ascii	"Percentual de derrotas: %.2f\012\000"
	.align	2
.LC37:
	.ascii	"Percentual de empates: %.2f\012\000"
	.align	2
.LC38:
	.ascii	"Lista dos times\000"
	.align	2
.LC39:
	.ascii	"%d - %s - %d\012\000"
	.align	2
.LC40:
	.ascii	"Obrigado por utilizar a Tabela do Brasileirao\000"
	.align	2
.LC41:
	.ascii	"Opcao Inexistente\000"
	.align	2
.LC42:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 3992
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #4000
	sub	sp, sp, #4
	str	r0, [fp, #-4000]
	str	r1, [fp, #-4004]
	ldr	r3, .L69+168
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	ldr	r0, .L69
	bl	puts
	ldr	r1, .L69+4
	ldr	r0, .L69+8
	bl	fopen
	str	r0, [fp, #-3956]
	ldr	r1, .L69+4
	ldr	r0, .L69+12
	bl	fopen
	str	r0, [fp, #-3952]
	ldr	r3, [fp, #-3956]
	cmp	r3, #0
	bne	.L2
	ldr	r0, .L69+16
	bl	puts
	b	.L3
.L2:
	ldr	r0, .L69+20
	bl	puts
	ldr	r0, .L69+24
	bl	puts
	ldr	r0, .L69+28
	bl	puts
	ldr	r0, .L69+32
	bl	puts
	ldr	r0, .L69+36
	bl	puts
	ldr	r0, .L69+40
	bl	puts
	ldr	r0, .L69+44
	bl	puts
	ldr	r0, .L69+48
	bl	puts
	ldr	r0, .L69+52
	bl	puts
	mov	r3, #49
	mov	r2, r3
	ldr	r3, [fp, #-3984]
	cmp	r3, r2
	bne	.L4
	ldr	r0, .L69+56
	bl	puts
	mov	r3, #1
	str	r3, [fp, #-3872]
	ldr	r0, .L69+60
	bl	puts
	sub	r3, fp, #3920
	sub	r3, r3, #12
	mov	r1, r3
	ldr	r0, .L69+64
	bl	__isoc99_scanf
	mov	r2, #2
	mov	r1, #64
	ldr	r0, [fp, #-3956]
	bl	fseek
	sub	r0, fp, #3920
	sub	r0, r0, #12
	ldr	r3, [fp, #-3956]
	mov	r2, #1
	mov	r1, #64
	bl	fwrite
	b	.L5
.L4:
	mov	r3, #50
	mov	r2, r3
	ldr	r3, [fp, #-3984]
	cmp	r3, r2
	bne	.L6
	ldr	r0, .L69+68
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-3996]
	ldr	r0, [fp, #-3956]
	bl	rewind
	b	.L7
.L8:
	ldr	r3, [fp, #-3872]
	cmp	r3, #1
	bne	.L7
	ldr	r3, [fp, #-3996]
	sub	r2, fp, #3920
	sub	r2, r2, #12
	mov	r1, r3
	ldr	r0, .L69+72
	bl	printf
	ldr	r3, [fp, #-3996]
	add	r3, r3, #1
	str	r3, [fp, #-3996]
.L7:
	sub	r0, fp, #3920
	sub	r0, r0, #12
	ldr	r3, [fp, #-3956]
	mov	r2, #1
	mov	r1, #64
	bl	fread
	mov	r3, r0
	cmp	r3, #0
	bne	.L8
	mov	r3, #0
	str	r3, [fp, #-3992]
	ldr	r0, .L69+76
	bl	puts
	sub	r3, fp, #3968
	sub	r3, r3, #12
	sub	r3, r3, #12
	mov	r1, r3
	ldr	r0, .L69+80
	bl	__isoc99_scanf
	bl	getchar
	mov	r3, #0
	str	r3, [fp, #-3996]
	mov	r3, #0
	str	r3, [fp, #-3980]
	ldr	r0, [fp, #-3956]
	bl	rewind
	b	.L9
.L14:
	ldr	r3, [fp, #-3872]
	cmp	r3, #1
	bne	.L10
	ldr	r2, [fp, #-3996]
	ldr	r3, [fp, #-3992]
	cmp	r2, r3
	bne	.L11
	ldr	r3, [fp, #-3980]
	lsl	r3, r3, #6
	mov	r2, #0
	mov	r1, r3
	ldr	r0, [fp, #-3956]
	bl	fseek
	mov	r3, #0
	str	r3, [fp, #-3872]
	sub	r0, fp, #3920
	sub	r0, r0, #12
	ldr	r3, [fp, #-3956]
	mov	r2, #1
	mov	r1, #64
	bl	fwrite
	ldr	r0, [fp, #-3956]
	bl	ferror
	mov	r3, r0
	cmp	r3, #0
	beq	.L67
	ldr	r0, .L69+84
	bl	printf
	b	.L67
.L11:
	ldr	r3, [fp, #-3996]
	add	r3, r3, #1
	str	r3, [fp, #-3996]
.L10:
	ldr	r3, [fp, #-3980]
	add	r3, r3, #1
	str	r3, [fp, #-3980]
.L9:
	sub	r0, fp, #3920
	sub	r0, r0, #12
	ldr	r3, [fp, #-3956]
	mov	r2, #1
	mov	r1, #64
	bl	fread
	mov	r3, r0
	cmp	r3, #0
	bne	.L14
	b	.L5
.L6:
	mov	r3, #51
	mov	r2, r3
	ldr	r3, [fp, #-3984]
	cmp	r3, r2
	bne	.L15
	ldr	r0, .L69+88
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-3996]
	ldr	r0, [fp, #-3956]
	bl	rewind
	b	.L16
.L17:
	ldr	r3, [fp, #-3872]
	cmp	r3, #1
	bne	.L16
	ldr	r3, [fp, #-3996]
	sub	r2, fp, #3920
	sub	r2, r2, #12
	mov	r1, r3
	ldr	r0, .L69+72
	bl	printf
	ldr	r2, [fp, #-3996]
	sub	r1, fp, #3664
	sub	r1, r1, #12
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	sub	r2, fp, #3920
	sub	r2, r2, #12
	mov	r1, r2
	mov	r0, r3
	bl	strcpy
	ldr	r3, [fp, #-3996]
	add	r3, r3, #1
	str	r3, [fp, #-3996]
.L16:
	sub	r0, fp, #3920
	sub	r0, r0, #12
	ldr	r3, [fp, #-3956]
	mov	r2, #1
	mov	r1, #64
	bl	fread
	mov	r3, r0
	cmp	r3, #0
	bne	.L17
	ldr	r0, .L69+92
	bl	puts
	sub	r3, fp, #3984
	sub	r3, r3, #12
	mov	r1, r3
	ldr	r0, .L69+80
	bl	__isoc99_scanf
	bl	getchar
	ldr	r2, [fp, #-3996]
	sub	r1, fp, #3664
	sub	r1, r1, #12
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r2, r1, r3
	sub	r3, fp, #3856
	sub	r3, r3, #12
	mov	r1, r2
	mov	r0, r3
	bl	strcpy
	ldr	r0, .L69+96
	bl	puts
	sub	r3, fp, #3984
	sub	r3, r3, #12
	mov	r1, r3
	ldr	r0, .L69+80
	bl	__isoc99_scanf
	bl	getchar
	ldr	r3, [fp, #-3996]
	str	r3, [fp, #-3748]
	ldr	r0, .L69+100
	bl	puts
	sub	r3, fp, #3984
	sub	r3, r3, #12
	mov	r1, r3
	ldr	r0, .L69+80
	bl	__isoc99_scanf
	bl	getchar
	ldr	r2, [fp, #-3996]
	sub	r1, fp, #3664
	sub	r1, r1, #12
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r2, r1, r3
	sub	r3, fp, #3856
	sub	r3, r3, #12
	add	r3, r3, #60
	mov	r1, r2
	mov	r0, r3
	bl	strcpy
	ldr	r0, .L69+104
	bl	puts
	sub	r3, fp, #3984
	sub	r3, r3, #12
	mov	r1, r3
	ldr	r0, .L69+80
	bl	__isoc99_scanf
	bl	getchar
	ldr	r3, [fp, #-3996]
	str	r3, [fp, #-3744]
	ldr	r0, .L69+108
	bl	puts
	sub	r3, fp, #3856
	sub	r3, r3, #12
	add	r3, r3, #128
	mov	r1, r3
	ldr	r0, .L69+64
	bl	__isoc99_scanf
	mov	r3, #1
	str	r3, [fp, #-3680]
	mov	r2, #2
	mov	r1, #192
	ldr	r0, [fp, #-3952]
	bl	fseek
	sub	r0, fp, #3856
	sub	r0, r0, #12
	ldr	r3, [fp, #-3952]
	mov	r2, #1
	mov	r1, #192
	bl	fwrite
	b	.L5
.L15:
	mov	r3, #52
	mov	r2, r3
	ldr	r3, [fp, #-3984]
	cmp	r3, r2
	bne	.L18
	ldr	r0, .L69+112
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-3996]
	ldr	r0, [fp, #-3952]
	bl	rewind
	b	.L19
.L20:
	ldr	r3, [fp, #-3680]
	cmp	r3, #1
	bne	.L19
	ldr	r1, [fp, #-3996]
	ldr	ip, [fp, #-3748]
	ldr	r3, [fp, #-3744]
	sub	r0, fp, #3856
	sub	r0, r0, #12
	sub	r2, fp, #3856
	sub	r2, r2, #12
	add	r2, r2, #60
	str	r2, [sp, #4]
	str	r3, [sp]
	mov	r3, ip
	mov	r2, r0
	ldr	r0, .L69+116
	bl	printf
	ldr	r3, [fp, #-3996]
	add	r3, r3, #1
	str	r3, [fp, #-3996]
.L19:
	sub	r0, fp, #3856
	sub	r0, r0, #12
	ldr	r3, [fp, #-3952]
	mov	r2, #1
	mov	r1, #192
	bl	fread
	mov	r3, r0
	cmp	r3, #0
	bne	.L20
	ldr	r0, .L69+120
	bl	puts
	sub	r3, fp, #3968
	sub	r3, r3, #12
	sub	r3, r3, #12
	mov	r1, r3
	ldr	r0, .L69+80
	bl	__isoc99_scanf
	bl	getchar
	mov	r3, #0
	str	r3, [fp, #-3996]
	mov	r3, #0
	str	r3, [fp, #-3980]
	ldr	r0, [fp, #-3952]
	bl	rewind
	b	.L21
.L26:
	ldr	r3, [fp, #-3680]
	cmp	r3, #1
	bne	.L22
	ldr	r2, [fp, #-3996]
	ldr	r3, [fp, #-3992]
	cmp	r2, r3
	bne	.L23
	ldr	r2, [fp, #-3980]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #6
	mov	r2, #0
	mov	r1, r3
	ldr	r0, [fp, #-3952]
	bl	fseek
	mov	r3, #0
	str	r3, [fp, #-3680]
	sub	r0, fp, #3856
	sub	r0, r0, #12
	ldr	r3, [fp, #-3952]
	mov	r2, #1
	mov	r1, #192
	bl	fwrite
	ldr	r0, [fp, #-3956]
	bl	ferror
	mov	r3, r0
	cmp	r3, #0
	beq	.L68
	ldr	r0, .L69+84
	bl	printf
	b	.L68
.L23:
	ldr	r3, [fp, #-3996]
	add	r3, r3, #1
	str	r3, [fp, #-3996]
.L22:
	ldr	r3, [fp, #-3980]
	add	r3, r3, #1
	str	r3, [fp, #-3980]
.L21:
	sub	r0, fp, #3856
	sub	r0, r0, #12
	ldr	r3, [fp, #-3952]
	mov	r2, #1
	mov	r1, #192
	bl	fread
	mov	r3, r0
	cmp	r3, #0
	bne	.L26
	b	.L5
.L18:
	mov	r3, #53
	mov	r2, r3
	ldr	r3, [fp, #-3984]
	cmp	r3, r2
	bne	.L27
	ldr	r0, .L69+124
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-3996]
	ldr	r0, [fp, #-3956]
	bl	rewind
	b	.L28
.L29:
	ldr	r3, [fp, #-3872]
	cmp	r3, #1
	bne	.L28
	ldr	r3, [fp, #-3996]
	sub	r2, fp, #3920
	sub	r2, r2, #12
	mov	r1, r3
	ldr	r0, .L69+72
	bl	printf
	ldr	r2, [fp, #-3996]
	sub	r1, fp, #3664
	sub	r1, r1, #12
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	sub	r2, fp, #3920
	sub	r2, r2, #12
	mov	r1, r2
	mov	r0, r3
	bl	strcpy
	ldr	r3, [fp, #-3996]
	add	r3, r3, #1
	str	r3, [fp, #-3996]
.L28:
	sub	r0, fp, #3920
	sub	r0, r0, #12
	ldr	r3, [fp, #-3956]
	mov	r2, #1
	mov	r1, #64
	bl	fread
	mov	r3, r0
	cmp	r3, #0
	bne	.L29
	mov	r3, #0
	str	r3, [fp, #-3992]
	ldr	r0, .L69+128
	bl	puts
	sub	r3, fp, #3968
	sub	r3, r3, #12
	sub	r3, r3, #12
	mov	r1, r3
	ldr	r0, .L69+80
	bl	__isoc99_scanf
	bl	getchar
	ldr	r0, [fp, #-3952]
	bl	rewind
	b	.L30
.L32:
	ldr	r3, [fp, #-3680]
	cmp	r3, #1
	bne	.L30
	ldr	r2, [fp, #-3992]
	sub	r1, fp, #3664
	sub	r1, r1, #12
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	sub	r2, fp, #3856
	sub	r2, r2, #12
	mov	r1, r2
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L31
	ldr	r2, [fp, #-3992]
	sub	r1, fp, #3664
	sub	r1, r1, #12
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r2, r1, r3
	sub	r3, fp, #3856
	sub	r3, r3, #12
	add	r3, r3, #60
	mov	r1, r3
	mov	r0, r2
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L30
.L31:
	ldr	r1, [fp, #-3996]
	ldr	ip, [fp, #-3748]
	ldr	r3, [fp, #-3744]
	sub	r0, fp, #3856
	sub	r0, r0, #12
	sub	r2, fp, #3856
	sub	r2, r2, #12
	add	r2, r2, #60
	str	r2, [sp, #4]
	str	r3, [sp]
	mov	r3, ip
	mov	r2, r0
	ldr	r0, .L69+116
	bl	printf
.L30:
	sub	r0, fp, #3856
	sub	r0, r0, #12
	ldr	r3, [fp, #-3952]
	mov	r2, #1
	mov	r1, #192
	bl	fread
	mov	r3, r0
	cmp	r3, #0
	bne	.L32
	b	.L5
.L27:
	mov	r3, #54
	mov	r2, r3
	ldr	r3, [fp, #-3984]
	cmp	r3, r2
	bne	.L33
	ldr	r0, .L69+132
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-3996]
	ldr	r0, [fp, #-3956]
	bl	rewind
	b	.L34
.L35:
	ldr	r3, [fp, #-3872]
	cmp	r3, #1
	bne	.L34
	ldr	r3, [fp, #-3996]
	sub	r2, fp, #3920
	sub	r2, r2, #12
	mov	r1, r3
	ldr	r0, .L69+72
	bl	printf
	ldr	r2, [fp, #-3996]
	sub	r1, fp, #3664
	sub	r1, r1, #12
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	sub	r2, fp, #3920
	sub	r2, r2, #12
	mov	r1, r2
	mov	r0, r3
	bl	strcpy
	ldr	r3, [fp, #-3996]
	add	r3, r3, #1
	str	r3, [fp, #-3996]
.L34:
	sub	r0, fp, #3920
	sub	r0, r0, #12
	ldr	r3, [fp, #-3956]
	mov	r2, #1
	mov	r1, #64
	bl	fread
	mov	r3, r0
	cmp	r3, #0
	bne	.L35
	mov	r3, #0
	str	r3, [fp, #-3992]
	ldr	r0, .L69+128
	bl	puts
	sub	r3, fp, #3968
	sub	r3, r3, #12
	sub	r3, r3, #12
	mov	r1, r3
	ldr	r0, .L69+80
	bl	__isoc99_scanf
	bl	getchar
	ldr	r0, [fp, #-3952]
	bl	rewind
	mov	r3, #0
	str	r3, [fp, #-3988]
	mov	r3, #0
	str	r3, [fp, #-3976]
	mov	r3, #0
	str	r3, [fp, #-3972]
	b	.L36
.L42:
	ldr	r3, [fp, #-3680]
	cmp	r3, #1
	bne	.L36
	ldr	r2, [fp, #-3992]
	sub	r1, fp, #3664
	sub	r1, r1, #12
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	sub	r2, fp, #3856
	sub	r2, r2, #12
	mov	r1, r2
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L37
	ldr	r2, [fp, #-3748]
	ldr	r3, [fp, #-3744]
	cmp	r2, r3
	ble	.L38
	ldr	r3, [fp, #-3988]
	add	r3, r3, #1
	str	r3, [fp, #-3988]
.L38:
	ldr	r2, [fp, #-3748]
	ldr	r3, [fp, #-3744]
	cmp	r2, r3
	bge	.L39
	ldr	r3, [fp, #-3976]
	add	r3, r3, #1
	str	r3, [fp, #-3976]
.L39:
	ldr	r2, [fp, #-3748]
	ldr	r3, [fp, #-3744]
	cmp	r2, r3
	bne	.L37
	ldr	r3, [fp, #-3972]
	add	r3, r3, #1
	str	r3, [fp, #-3972]
.L37:
	ldr	r2, [fp, #-3992]
	sub	r1, fp, #3664
	sub	r1, r1, #12
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r2, r1, r3
	sub	r3, fp, #3856
	sub	r3, r3, #12
	add	r3, r3, #60
	mov	r1, r3
	mov	r0, r2
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L36
	ldr	r2, [fp, #-3744]
	ldr	r3, [fp, #-3748]
	cmp	r2, r3
	ble	.L40
	ldr	r3, [fp, #-3988]
	add	r3, r3, #1
	str	r3, [fp, #-3988]
.L40:
	ldr	r2, [fp, #-3744]
	ldr	r3, [fp, #-3748]
	cmp	r2, r3
	bge	.L41
	ldr	r3, [fp, #-3976]
	add	r3, r3, #1
	str	r3, [fp, #-3976]
.L41:
	ldr	r2, [fp, #-3744]
	ldr	r3, [fp, #-3748]
	cmp	r2, r3
	bne	.L36
	ldr	r3, [fp, #-3972]
	add	r3, r3, #1
	str	r3, [fp, #-3972]
.L36:
	sub	r0, fp, #3856
	sub	r0, r0, #12
	ldr	r3, [fp, #-3952]
	mov	r2, #1
	mov	r1, #192
	bl	fread
	mov	r3, r0
	cmp	r3, #0
	bne	.L42
	ldr	r2, [fp, #-3988]
	ldr	r3, [fp, #-3972]
	add	r3, r2, r3
	ldr	r2, [fp, #-3976]
	add	r3, r2, r3
	str	r3, [fp, #-3936]
	mov	r3, #0
	str	r3, [fp, #-3968]	@ float
	mov	r3, #0
	str	r3, [fp, #-3964]	@ float
	mov	r3, #0
	str	r3, [fp, #-3960]	@ float
	ldr	r3, [fp, #-3936]
	cmp	r3, #0
	ble	.L43
	ldr	r2, [fp, #-3988]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	ldr	r1, [fp, #-3936]
	mov	r0, r3
	bl	__aeabi_idiv
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_i2f
	mov	r3, r0
	str	r3, [fp, #-3968]	@ float
	ldr	r2, [fp, #-3976]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	ldr	r1, [fp, #-3936]
	mov	r0, r3
	bl	__aeabi_idiv
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_i2f
	mov	r3, r0
	str	r3, [fp, #-3964]	@ float
	ldr	r2, [fp, #-3972]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	ldr	r1, [fp, #-3936]
	mov	r0, r3
	bl	__aeabi_idiv
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_i2f
	mov	r3, r0
	str	r3, [fp, #-3960]	@ float
.L43:
	ldr	r1, [fp, #-3936]
	ldr	r0, .L69+136
	bl	printf
	ldr	r0, [fp, #-3968]	@ float
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L69+140
	bl	printf
	ldr	r0, [fp, #-3964]	@ float
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L69+144
	bl	printf
	ldr	r0, [fp, #-3960]	@ float
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L69+148
	bl	printf
	b	.L5
.L33:
	mov	r3, #55
	mov	r2, r3
	ldr	r3, [fp, #-3984]
	cmp	r3, r2
	bne	.L44
	ldr	r0, .L69+152
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-3996]
	ldr	r0, [fp, #-3956]
	bl	rewind
	b	.L45
.L46:
	ldr	r3, [fp, #-3872]
	cmp	r3, #1
	bne	.L45
	ldr	r2, [fp, #-3996]
	sub	r1, fp, #3664
	sub	r1, r1, #12
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	sub	r2, fp, #3920
	sub	r2, r2, #12
	mov	r1, r2
	mov	r0, r3
	bl	strcpy
	ldr	r3, [fp, #-3996]
	add	r3, r3, #1
	str	r3, [fp, #-3996]
.L45:
	sub	r0, fp, #3920
	sub	r0, r0, #12
	ldr	r3, [fp, #-3956]
	mov	r2, #1
	mov	r1, #64
	bl	fread
	mov	r3, r0
	cmp	r3, #0
	bne	.L46
	ldr	ip, [fp, #-3996]
	mov	r3, sp
	mov	r4, r3
	sub	r3, ip, #1
	str	r3, [fp, #-3948]
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #5
	orr	r3, r3, r0, lsr #27
	lsl	r2, r0, #5
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #5
	orr	r3, r3, r0, lsr #27
	lsl	r2, r0, #5
	mov	r3, ip
	lsl	r3, r3, #2
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	add	r3, sp, #8
	add	r3, r3, #3
	lsr	r3, r3, #2
	lsl	r3, r3, #2
	str	r3, [fp, #-3944]
	mov	r3, #0
	str	r3, [fp, #-3992]
	b	.L47
.L48:
	ldr	r2, [fp, #-3992]
	ldr	r3, [fp, #-3944]
	mov	r1, #0
	str	r1, [r3, r2, lsl #2]
	ldr	r3, [fp, #-3992]
	add	r3, r3, #1
	str	r3, [fp, #-3992]
.L47:
	ldr	r2, [fp, #-3992]
	ldr	r3, [fp, #-3996]
	cmp	r2, r3
	blt	.L48
	ldr	r0, [fp, #-3952]
	bl	rewind
	b	.L49
.L56:
	ldr	r3, [fp, #-3680]
	cmp	r3, #1
	bne	.L49
	mov	r3, #0
	str	r3, [fp, #-3992]
	b	.L50
.L55:
	ldr	r2, [fp, #-3992]
	sub	r1, fp, #3664
	sub	r1, r1, #12
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	sub	r2, fp, #3856
	sub	r2, r2, #12
	mov	r1, r2
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L51
	ldr	r2, [fp, #-3748]
	ldr	r3, [fp, #-3744]
	cmp	r2, r3
	ble	.L52
	ldr	r2, [fp, #-3992]
	ldr	r3, [fp, #-3944]
	ldr	r3, [r3, r2, lsl #2]
	ldr	r2, [fp, #-3992]
	add	r1, r3, #3
	ldr	r3, [fp, #-3944]
	str	r1, [r3, r2, lsl #2]
.L52:
	ldr	r2, [fp, #-3748]
	ldr	r3, [fp, #-3744]
	cmp	r2, r3
	bne	.L53
	ldr	r2, [fp, #-3992]
	ldr	r3, [fp, #-3944]
	ldr	r3, [r3, r2, lsl #2]
	ldr	r2, [fp, #-3992]
	add	r1, r3, #1
	ldr	r3, [fp, #-3944]
	str	r1, [r3, r2, lsl #2]
	b	.L53
.L51:
	ldr	r2, [fp, #-3992]
	sub	r1, fp, #3664
	sub	r1, r1, #12
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r2, r1, r3
	sub	r3, fp, #3856
	sub	r3, r3, #12
	add	r3, r3, #60
	mov	r1, r3
	mov	r0, r2
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L53
	ldr	r2, [fp, #-3744]
	ldr	r3, [fp, #-3748]
	cmp	r2, r3
	ble	.L54
	ldr	r2, [fp, #-3992]
	ldr	r3, [fp, #-3944]
	ldr	r3, [r3, r2, lsl #2]
	ldr	r2, [fp, #-3992]
	add	r1, r3, #3
	ldr	r3, [fp, #-3944]
	str	r1, [r3, r2, lsl #2]
.L54:
	ldr	r2, [fp, #-3744]
	ldr	r3, [fp, #-3748]
	cmp	r2, r3
	bne	.L53
	ldr	r2, [fp, #-3992]
	ldr	r3, [fp, #-3944]
	ldr	r3, [r3, r2, lsl #2]
	ldr	r2, [fp, #-3992]
	add	r1, r3, #1
	ldr	r3, [fp, #-3944]
	str	r1, [r3, r2, lsl #2]
.L53:
	ldr	r3, [fp, #-3992]
	add	r3, r3, #1
	str	r3, [fp, #-3992]
.L50:
	ldr	r2, [fp, #-3992]
	ldr	r3, [fp, #-3996]
	cmp	r2, r3
	blt	.L55
.L49:
	sub	r0, fp, #3856
	sub	r0, r0, #12
	ldr	r3, [fp, #-3952]
	mov	r2, #1
	mov	r1, #192
	bl	fread
	mov	r3, r0
	cmp	r3, #0
	bne	.L56
	mov	r3, #0
	str	r3, [fp, #-3992]
	b	.L57
.L61:
	mov	r3, #0
	str	r3, [fp, #-3980]
	b	.L58
.L70:
	.align	2
.L69:
	.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
	.word	.LC39
	.word	.LC40
	.word	.LC41
	.word	.LC42
.L60:
	ldr	r3, [fp, #-3944]
	ldr	r2, [fp, #-3980]
	ldr	r2, [r3, r2, lsl #2]
	ldr	r3, [fp, #-3980]
	add	r1, r3, #1
	ldr	r3, [fp, #-3944]
	ldr	r3, [r3, r1, lsl #2]
	cmp	r2, r3
	bge	.L59
	ldr	r3, [fp, #-3944]
	ldr	r2, [fp, #-3980]
	ldr	r3, [r3, r2, lsl #2]
	str	r3, [fp, #-3940]
	sub	r1, fp, #3664
	sub	r1, r1, #12
	ldr	r2, [fp, #-3980]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r2, r1, r3
	sub	r3, fp, #76
	mov	r1, r2
	mov	r0, r3
	bl	strcpy
	ldr	r3, [fp, #-3980]
	add	r2, r3, #1
	ldr	r3, [fp, #-3944]
	ldr	r1, [r3, r2, lsl #2]
	ldr	r3, [fp, #-3944]
	ldr	r2, [fp, #-3980]
	str	r1, [r3, r2, lsl #2]
	sub	r1, fp, #3664
	sub	r1, r1, #12
	ldr	r2, [fp, #-3980]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r0, r1, r3
	ldr	r3, [fp, #-3980]
	add	r2, r3, #1
	sub	r1, fp, #3664
	sub	r1, r1, #12
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	mov	r1, r3
	bl	strcpy
	ldr	r3, [fp, #-3980]
	add	r2, r3, #1
	ldr	r3, [fp, #-3944]
	ldr	r1, [fp, #-3940]
	str	r1, [r3, r2, lsl #2]
	ldr	r3, [fp, #-3980]
	add	r2, r3, #1
	sub	r1, fp, #3664
	sub	r1, r1, #12
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	sub	r2, fp, #76
	mov	r1, r2
	mov	r0, r3
	bl	strcpy
.L59:
	ldr	r3, [fp, #-3980]
	add	r3, r3, #1
	str	r3, [fp, #-3980]
.L58:
	ldr	r2, [fp, #-3996]
	ldr	r3, [fp, #-3992]
	sub	r3, r2, r3
	sub	r3, r3, #1
	ldr	r2, [fp, #-3980]
	cmp	r2, r3
	blt	.L60
	ldr	r3, [fp, #-3992]
	add	r3, r3, #1
	str	r3, [fp, #-3992]
.L57:
	ldr	r3, [fp, #-3996]
	sub	r2, r3, #1
	ldr	r3, [fp, #-3992]
	cmp	r2, r3
	bgt	.L61
	mov	r3, #0
	str	r3, [fp, #-3992]
	b	.L62
.L63:
	ldr	r0, [fp, #-3992]
	ldr	r2, [fp, #-3992]
	sub	r1, fp, #3664
	sub	r1, r1, #12
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r1, r1, r3
	ldr	r2, [fp, #-3992]
	ldr	r3, [fp, #-3944]
	ldr	r3, [r3, r2, lsl #2]
	mov	r2, r1
	mov	r1, r0
	ldr	r0, .L69+156
	bl	printf
	ldr	r3, [fp, #-3992]
	add	r3, r3, #1
	str	r3, [fp, #-3992]
.L62:
	ldr	r2, [fp, #-3992]
	ldr	r3, [fp, #-3996]
	cmp	r2, r3
	blt	.L63
	mov	sp, r4
	b	.L5
.L44:
	mov	r3, #56
	mov	r2, r3
	ldr	r3, [fp, #-3984]
	cmp	r3, r2
	bne	.L64
	ldr	r0, .L69+160
	bl	puts
	b	.L3
.L64:
	mov	r3, #10
	mov	r2, r3
	ldr	r3, [fp, #-3984]
	cmp	r3, r2
	beq	.L5
	ldr	r0, .L69+164
	bl	puts
	b	.L5
.L67:
	nop
	b	.L5
.L68:
	nop
.L5:
	mov	r0, #0
	bl	fflush
	bl	getchar
	mov	r3, r0
	str	r3, [fp, #-3984]
	ldr	r3, [fp, #-3984]
	cmn	r3, #1
	bne	.L2
.L3:
	mov	r3, #0
	ldr	r2, .L69+168
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L66
	bl	__stack_chk_fail
.L66:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
