	.file	"358002.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC0:
	.string	"***************Bienvendo al maraton******************"
.LC1:
	.string	"Seleccione una categoria"
.LC2:
	.string	"  1) Musica"
.LC3:
	.string	"  2) Historia"
.LC4:
	.string	"  3) matematicas"
.LC5:
	.string	"op: "
.LC6:
	.string	"%d"
	.align 8
.LC7:
	.string	"Veamos que tan bueno eres en la musica "
.LC8:
	.string	"r"
.LC9:
	.string	"musica.txt"
	.align 8
.LC10:
	.string	"Veamos que tan bueno eres en historia "
.LC11:
	.string	"historia.txt"
	.align 8
.LC12:
	.string	"Veamos que tan bueno eres en el deporte"
.LC13:
	.string	"matematicas.txt"
	.align 8
.LC14:
	.string	"Error while opening the file.\n"
	.align 8
.LC15:
	.string	"Cargando preguntas... espere por favor..."
.LC16:
	.string	"%[^\n]s"
.LC17:
	.string	"Q: %s\n"
.LC18:
	.string	"R[%d]: %s\n"
.LC19:
	.string	"Res: %d\n"
	.align 8
.LC20:
	.string	"Ingresa el numero de jugadores (m\303\241x 4): "
	.align 8
.LC21:
	.string	"Ingrese el nombre los jugadores "
.LC22:
	.string	"\tJugador [%d]: "
.LC23:
	.string	"%s"
.LC24:
	.string	"\n\t*****TURNO DE %s *********\n"
	.align 8
.LC25:
	.string	"\tLa posicion actual del jugador es: %d\n"
.LC26:
	.string	"\t\302\277Cuanto cay\303\263 tu dado? "
.LC27:
	.string	"\n\t%s\n"
.LC28:
	.string	"\t\t%s\n"
.LC29:
	.string	"\tSu respuesta: "
	.align 8
.LC30:
	.string	"\t--->La nueva posicion de %s es: %d\n"
.LC31:
	.string	"El jugador no avanzo :("
.LC32:
	.string	"El ganador es el jugador %s\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
	lea	r11, -253952[rsp]
.LPSRL0:
	sub	rsp, 4096
	or	DWORD PTR [rsp], 0
	cmp	rsp, r11
	jne	.LPSRL0
	sub	rsp, 3184
	mov	DWORD PTR -257124[rbp], edi
	mov	QWORD PTR -257136[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -257072[rbp], 3
	mov	DWORD PTR -257068[rbp], 8
	mov	DWORD PTR -257064[rbp], 0
	mov	DWORD PTR -257060[rbp], 0
	mov	DWORD PTR -257056[rbp], 0
	lea	rdi, .LC0[rip]
	call	puts@PLT
	lea	rdi, .LC1[rip]
	call	puts@PLT
	lea	rdi, .LC2[rip]
	call	puts@PLT
	lea	rdi, .LC3[rip]
	call	puts@PLT
	lea	rdi, .LC4[rip]
	call	puts@PLT
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -257072[rbp]
	add	rax, 20
	mov	rsi, rax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -257052[rbp]
	cmp	eax, 1
	jne	.L2
	lea	rdi, .LC7[rip]
	call	puts@PLT
	lea	rsi, .LC8[rip]
	lea	rdi, .LC9[rip]
	call	fopen@PLT
	mov	QWORD PTR -257080[rbp], rax
.L2:
	mov	eax, DWORD PTR -257052[rbp]
	cmp	eax, 2
	jne	.L3
	lea	rdi, .LC10[rip]
	call	puts@PLT
	lea	rsi, .LC8[rip]
	lea	rdi, .LC11[rip]
	call	fopen@PLT
	mov	QWORD PTR -257080[rbp], rax
.L3:
	mov	eax, DWORD PTR -257052[rbp]
	cmp	eax, 3
	jne	.L4
	lea	rdi, .LC12[rip]
	call	puts@PLT
	lea	rsi, .LC8[rip]
	lea	rdi, .LC13[rip]
	call	fopen@PLT
	mov	QWORD PTR -257080[rbp], rax
.L4:
	cmp	QWORD PTR -257080[rbp], 0
	jne	.L5
	lea	rdi, .LC14[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L5:
	lea	rdi, .LC15[rip]
	call	puts@PLT
	mov	DWORD PTR -257104[rbp], 0
	jmp	.L6
.L9:
	lea	rdx, -256816[rbp]
	mov	eax, DWORD PTR -257104[rbp]
	cdqe
	imul	rax, rax, 1284
	add	rdx, rax
	mov	rax, QWORD PTR -257080[rbp]
	lea	rsi, .LC16[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	mov	rax, QWORD PTR -257080[rbp]
	mov	rdi, rax
	call	fgetc@PLT
	mov	DWORD PTR -257100[rbp], 0
	jmp	.L7
.L8:
	lea	rdx, -256816[rbp]
	mov	eax, DWORD PTR -257100[rbp]
	cdqe
	add	rax, 1
	sal	rax, 8
	mov	rcx, rax
	mov	eax, DWORD PTR -257104[rbp]
	cdqe
	imul	rax, rax, 1284
	add	rax, rcx
	add	rdx, rax
	mov	rax, QWORD PTR -257080[rbp]
	lea	rsi, .LC16[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	mov	rax, QWORD PTR -257080[rbp]
	mov	rdi, rax
	call	fgetc@PLT
	add	DWORD PTR -257100[rbp], 1
.L7:
	mov	eax, DWORD PTR -257072[rbp]
	cmp	DWORD PTR -257100[rbp], eax
	jl	.L8
	lea	rdx, -256816[rbp]
	mov	eax, DWORD PTR -257104[rbp]
	cdqe
	imul	rax, rax, 1284
	add	rax, 1280
	add	rdx, rax
	mov	rax, QWORD PTR -257080[rbp]
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	mov	rax, QWORD PTR -257080[rbp]
	mov	rdi, rax
	call	fgetc@PLT
	add	DWORD PTR -257104[rbp], 1
.L6:
	mov	rax, QWORD PTR -257080[rbp]
	mov	rdi, rax
	call	feof@PLT
	test	eax, eax
	je	.L9
	mov	rax, QWORD PTR -257080[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	DWORD PTR -257096[rbp], 0
	jmp	.L10
.L13:
	lea	rdx, -256816[rbp]
	mov	eax, DWORD PTR -257096[rbp]
	cdqe
	imul	rax, rax, 1284
	add	rax, rdx
	mov	rsi, rax
	lea	rdi, .LC17[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -257092[rbp], 0
	jmp	.L11
.L12:
	lea	rdx, -256816[rbp]
	mov	eax, DWORD PTR -257092[rbp]
	cdqe
	add	rax, 1
	sal	rax, 8
	mov	rcx, rax
	mov	eax, DWORD PTR -257096[rbp]
	cdqe
	imul	rax, rax, 1284
	add	rax, rcx
	add	rdx, rax
	mov	eax, DWORD PTR -257092[rbp]
	mov	esi, eax
	lea	rdi, .LC18[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -257092[rbp], 1
.L11:
	mov	eax, DWORD PTR -257072[rbp]
	cmp	DWORD PTR -257092[rbp], eax
	jl	.L12
	mov	eax, DWORD PTR -257096[rbp]
	cdqe
	imul	rax, rax, 1284
	add	rax, rbp
	sub	rax, 255536
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC19[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -257096[rbp], 1
.L10:
	mov	eax, DWORD PTR -257096[rbp]
	cmp	eax, DWORD PTR -257104[rbp]
	jl	.L13
	lea	rdi, .LC20[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -257072[rbp]
	add	rax, 24
	mov	rsi, rax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC21[rip]
	call	puts@PLT
	mov	DWORD PTR -257088[rbp], 0
	jmp	.L14
.L15:
	mov	eax, DWORD PTR -257088[rbp]
	add	eax, 1
	mov	esi, eax
	lea	rdi, .LC22[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rcx, -257040[rbp]
	mov	eax, DWORD PTR -257088[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 3
	add	rax, rcx
	mov	rsi, rax
	lea	rdi, .LC23[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -257088[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 3
	add	rax, rbp
	sub	rax, 256988
	mov	DWORD PTR [rax], 0
	add	DWORD PTR -257088[rbp], 1
.L14:
	mov	eax, DWORD PTR -257048[rbp]
	cmp	DWORD PTR -257088[rbp], eax
	jl	.L15
.L23:
	mov	eax, DWORD PTR -257060[rbp]
	lea	rcx, -257040[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 3
	add	rax, rcx
	mov	rsi, rax
	lea	rdi, .LC24[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -257060[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 3
	add	rax, rbp
	sub	rax, 256988
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC25[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC26[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -257112[rbp]
	mov	rsi, rax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -257056[rbp]
	lea	rdx, -256816[rbp]
	cdqe
	imul	rax, rax, 1284
	add	rax, rdx
	mov	rsi, rax
	lea	rdi, .LC27[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -257084[rbp], 0
	jmp	.L16
.L17:
	mov	eax, DWORD PTR -257056[rbp]
	lea	rcx, -256816[rbp]
	mov	edx, DWORD PTR -257084[rbp]
	movsx	rdx, edx
	add	rdx, 1
	sal	rdx, 8
	cdqe
	imul	rax, rax, 1284
	add	rax, rdx
	add	rax, rcx
	mov	rsi, rax
	lea	rdi, .LC28[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -257084[rbp], 1
.L16:
	cmp	DWORD PTR -257084[rbp], 3
	jle	.L17
	lea	rdi, .LC29[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -257108[rbp]
	mov	rsi, rax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -257108[rbp]
	lea	edx, -1[rax]
	mov	eax, DWORD PTR -257056[rbp]
	cdqe
	imul	rax, rax, 1284
	add	rax, rbp
	sub	rax, 255536
	mov	eax, DWORD PTR [rax]
	cmp	edx, eax
	jne	.L18
	mov	eax, DWORD PTR -257060[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 3
	add	rax, rbp
	sub	rax, 256988
	mov	ecx, DWORD PTR [rax]
	mov	edx, DWORD PTR -257112[rbp]
	mov	eax, DWORD PTR -257060[rbp]
	add	ecx, edx
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 3
	add	rax, rbp
	sub	rax, 256988
	mov	DWORD PTR [rax], ecx
	mov	eax, DWORD PTR -257060[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 3
	add	rax, rbp
	sub	rax, 256988
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR -257060[rbp]
	lea	rsi, -257040[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	sal	rax, 3
	sub	rax, rcx
	sal	rax, 3
	add	rax, rsi
	mov	rsi, rax
	lea	rdi, .LC30[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L19
.L18:
	lea	rdi, .LC31[rip]
	call	puts@PLT
.L19:
	mov	eax, DWORD PTR -257060[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 3
	add	rax, rbp
	sub	rax, 256988
	mov	eax, DWORD PTR [rax]
	cmp	eax, 49
	jg	.L20
	mov	eax, DWORD PTR -257056[rbp]
	add	eax, 1
	mov	DWORD PTR -257056[rbp], eax
	mov	eax, DWORD PTR -257060[rbp]
	add	eax, 1
	mov	DWORD PTR -257060[rbp], eax
	jmp	.L21
.L20:
	mov	DWORD PTR -257064[rbp], 1
.L21:
	mov	edx, DWORD PTR -257060[rbp]
	mov	eax, DWORD PTR -257048[rbp]
	cmp	edx, eax
	jne	.L22
	mov	DWORD PTR -257060[rbp], 0
.L22:
	mov	eax, DWORD PTR -257064[rbp]
	cmp	eax, 1
	jne	.L23
	mov	eax, DWORD PTR -257060[rbp]
	lea	rcx, -257040[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 3
	add	rax, rcx
	mov	rsi, rax
	lea	rdi, .LC32[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L25
	call	__stack_chk_fail@PLT
.L25:
	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	"358002.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"***************Bienvendo al maraton****************"
	.ascii	"**\000"
	.align	2
.LC1:
	.ascii	"Seleccione una categoria\000"
	.align	2
.LC2:
	.ascii	"  1) Musica\000"
	.align	2
.LC3:
	.ascii	"  2) Historia\000"
	.align	2
.LC4:
	.ascii	"  3) matematicas\000"
	.align	2
.LC5:
	.ascii	"op: \000"
	.align	2
.LC6:
	.ascii	"%d\000"
	.align	2
.LC7:
	.ascii	"Veamos que tan bueno eres en la musica \000"
	.align	2
.LC8:
	.ascii	"r\000"
	.align	2
.LC9:
	.ascii	"musica.txt\000"
	.align	2
.LC10:
	.ascii	"Veamos que tan bueno eres en historia \000"
	.align	2
.LC11:
	.ascii	"historia.txt\000"
	.align	2
.LC12:
	.ascii	"Veamos que tan bueno eres en el deporte\000"
	.align	2
.LC13:
	.ascii	"matematicas.txt\000"
	.align	2
.LC14:
	.ascii	"Error while opening the file.\012\000"
	.align	2
.LC15:
	.ascii	"Cargando preguntas... espere por favor...\000"
	.align	2
.LC16:
	.ascii	"%[^\012]s\000"
	.align	2
.LC17:
	.ascii	"Q: %s\012\000"
	.align	2
.LC18:
	.ascii	"R[%d]: %s\012\000"
	.align	2
.LC19:
	.ascii	"Res: %d\012\000"
	.align	2
.LC20:
	.ascii	"Ingresa el numero de jugadores (m\303\241x 4): \000"
	.align	2
.LC21:
	.ascii	"Ingrese el nombre los jugadores \000"
	.align	2
.LC22:
	.ascii	"\011Jugador [%d]: \000"
	.align	2
.LC23:
	.ascii	"%s\000"
	.align	2
.LC24:
	.ascii	"\012\011*****TURNO DE %s *********\012\000"
	.align	2
.LC25:
	.ascii	"\011La posicion actual del jugador es: %d\012\000"
	.align	2
.LC26:
	.ascii	"\011\302\277Cuanto cay\303\263 tu dado? \000"
	.align	2
.LC27:
	.ascii	"\012\011%s\012\000"
	.align	2
.LC28:
	.ascii	"\011\011%s\012\000"
	.align	2
.LC29:
	.ascii	"\011Su respuesta: \000"
	.align	2
.LC30:
	.ascii	"\011--->La nueva posicion de %s es: %d\012\000"
	.align	2
.LC31:
	.ascii	"El jugador no avanzo :(\000"
	.align	2
.LC32:
	.ascii	"El ganador es el jugador %s\012\000"
	.align	2
.LC33:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 257104
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #257024
	sub	sp, sp, #84
	sub	r3, fp, #253952
	sub	r3, r3, #12
	str	r0, [r3, #-3148]
	sub	r3, fp, #253952
	sub	r3, r3, #12
	str	r1, [r3, #-3152]
	ldr	r3, .L26
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	sub	r3, fp, #253952
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #3
	str	r3, [r2, #-3104]
	sub	r3, fp, #253952
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #8
	str	r3, [r2, #-3100]
	sub	r3, fp, #253952
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3096]
	sub	r3, fp, #253952
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3092]
	sub	r3, fp, #253952
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3088]
	ldr	r0, .L26+4
	bl	puts
	ldr	r0, .L26+8
	bl	puts
	ldr	r0, .L26+12
	bl	puts
	ldr	r0, .L26+16
	bl	puts
	ldr	r0, .L26+20
	bl	puts
	ldr	r0, .L26+24
	bl	printf
	sub	r3, fp, #257024
	sub	r3, r3, #12
	sub	r3, r3, #32
	add	r3, r3, #20
	mov	r1, r3
	ldr	r0, .L26+28
	bl	__isoc99_scanf
	sub	r3, fp, #253952
	sub	r3, r3, #12
	ldr	r3, [r3, #-3084]
	cmp	r3, #1
	bne	.L2
	ldr	r0, .L26+32
	bl	puts
	sub	r3, fp, #253952
	sub	r3, r3, #12
	mov	r4, r3
	ldr	r1, .L26+36
	ldr	r0, .L26+40
	bl	fopen
	str	r0, [r4, #-3132]
.L2:
	sub	r3, fp, #253952
	sub	r3, r3, #12
	ldr	r3, [r3, #-3084]
	cmp	r3, #2
	bne	.L3
	ldr	r0, .L26+44
	bl	puts
	sub	r3, fp, #253952
	sub	r3, r3, #12
	mov	r4, r3
	ldr	r1, .L26+36
	ldr	r0, .L26+48
	bl	fopen
	str	r0, [r4, #-3132]
.L3:
	sub	r3, fp, #253952
	sub	r3, r3, #12
	ldr	r3, [r3, #-3084]
	cmp	r3, #3
	bne	.L4
	ldr	r0, .L26+52
	bl	puts
	sub	r3, fp, #253952
	sub	r3, r3, #12
	mov	r4, r3
	ldr	r1, .L26+36
	ldr	r0, .L26+56
	bl	fopen
	str	r0, [r4, #-3132]
.L4:
	sub	r3, fp, #253952
	sub	r3, r3, #12
	ldr	r3, [r3, #-3132]
	cmp	r3, #0
	bne	.L5
	ldr	r0, .L26+60
	bl	perror
	mov	r0, #1
	bl	exit
.L5:
	ldr	r0, .L26+64
	bl	puts
	sub	r3, fp, #253952
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3128]
	b	.L6
.L9:
	sub	r2, fp, #256000
	sub	r2, r2, #12
	sub	r2, r2, #804
	sub	r3, fp, #253952
	sub	r3, r3, #12
	ldr	r1, [r3, #-3128]
	mov	r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r1
	lsl	r3, r3, #6
	add	r3, r3, r1
	lsl	r3, r3, #2
	add	r3, r2, r3
	sub	r2, fp, #253952
	sub	r2, r2, #12
	mov	r0, r2
	mov	r2, r3
	ldr	r1, .L26+68
	ldr	r0, [r0, #-3132]
	bl	__isoc99_fscanf
	sub	r3, fp, #253952
	sub	r3, r3, #12
	ldr	r0, [r3, #-3132]
	bl	fgetc
	sub	r3, fp, #253952
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3124]
	b	.L7
.L8:
	sub	r2, fp, #256000
	sub	r2, r2, #12
	sub	r2, r2, #804
	sub	r3, fp, #253952
	sub	r3, r3, #12
	ldr	r3, [r3, #-3124]
	add	r3, r3, #1
	lsl	r0, r3, #8
	sub	r3, fp, #253952
	sub	r3, r3, #12
	ldr	r1, [r3, #-3128]
	mov	r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r1
	lsl	r3, r3, #6
	add	r3, r3, r1
	lsl	r3, r3, #2
	add	r3, r0, r3
	add	r3, r2, r3
	sub	r2, fp, #253952
	sub	r2, r2, #12
	mov	r0, r2
	mov	r2, r3
	ldr	r1, .L26+68
	ldr	r0, [r0, #-3132]
	bl	__isoc99_fscanf
	sub	r3, fp, #253952
	sub	r3, r3, #12
	ldr	r0, [r3, #-3132]
	bl	fgetc
	sub	r3, fp, #253952
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #253952
	sub	r3, r3, #12
	ldr	r3, [r3, #-3124]
	add	r3, r3, #1
	str	r3, [r2, #-3124]
.L7:
	sub	r3, fp, #253952
	sub	r3, r3, #12
	ldr	r3, [r3, #-3104]
	sub	r2, fp, #253952
	sub	r2, r2, #12
	ldr	r2, [r2, #-3124]
	cmp	r2, r3
	blt	.L8
	sub	r2, fp, #256000
	sub	r2, r2, #12
	sub	r2, r2, #804
	sub	r3, fp, #253952
	sub	r3, r3, #12
	ldr	r1, [r3, #-3128]
	mov	r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r1
	lsl	r3, r3, #6
	add	r3, r3, r1
	lsl	r3, r3, #2
	add	r3, r3, #1280
	add	r3, r2, r3
	sub	r2, fp, #253952
	sub	r2, r2, #12
	mov	r0, r2
	mov	r2, r3
	ldr	r1, .L26+28
	ldr	r0, [r0, #-3132]
	bl	__isoc99_fscanf
	sub	r3, fp, #253952
	sub	r3, r3, #12
	ldr	r0, [r3, #-3132]
	bl	fgetc
	sub	r3, fp, #253952
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #253952
	sub	r3, r3, #12
	ldr	r3, [r3, #-3128]
	add	r3, r3, #1
	str	r3, [r2, #-3128]
.L6:
	sub	r3, fp, #253952
	sub	r3, r3, #12
	ldr	r0, [r3, #-3132]
	bl	feof
	mov	r3, r0
	cmp	r3, #0
	beq	.L9
	sub	r3, fp, #253952
	sub	r3, r3, #12
	ldr	r0, [r3, #-3132]
	bl	fclose
	sub	r3, fp, #253952
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3120]
	b	.L10
.L13:
	sub	r2, fp, #256000
	sub	r2, r2, #12
	sub	r2, r2, #804
	sub	r3, fp, #253952
	sub	r3, r3, #12
	ldr	r1, [r3, #-3120]
	mov	r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r1
	lsl	r3, r3, #6
	add	r3, r3, r1
	lsl	r3, r3, #2
	add	r3, r2, r3
	mov	r1, r3
	ldr	r0, .L26+72
	bl	printf
	sub	r3, fp, #253952
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3116]
	b	.L11
.L12:
	sub	r2, fp, #256000
	sub	r2, r2, #12
	sub	r2, r2, #804
	sub	r3, fp, #253952
	sub	r3, r3, #12
	ldr	r3, [r3, #-3116]
	add	r3, r3, #1
	lsl	r0, r3, #8
	sub	r3, fp, #253952
	sub	r3, r3, #12
	ldr	r1, [r3, #-3120]
	mov	r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r1
	lsl	r3, r3, #6
	add	r3, r3, r1
	lsl	r3, r3, #2
	add	r3, r0, r3
	add	r3, r2, r3
	sub	r2, fp, #253952
	sub	r2, r2, #12
	mov	r1, r2
	mov	r2, r3
	ldr	r1, [r1, #-3116]
	ldr	r0, .L26+76
	bl	printf
	sub	r3, fp, #253952
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #253952
	sub	r3, r3, #12
	ldr	r3, [r3, #-3116]
	add	r3, r3, #1
	str	r3, [r2, #-3116]
.L11:
	sub	r3, fp, #253952
	sub	r3, r3, #12
	ldr	r3, [r3, #-3104]
	sub	r2, fp, #253952
	sub	r2, r2, #12
	ldr	r2, [r2, #-3116]
	cmp	r2, r3
	blt	.L12
	sub	r3, fp, #253952
	sub	r3, r3, #12
	mov	r1, r3
	sub	r3, fp, #253952
	sub	r3, r3, #12
	ldr	r2, [r3, #-3120]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #6
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	sub	r3, r3, #1568
	sub	r3, r3, #4
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L26+80
	bl	printf
	sub	r3, fp, #253952
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #253952
	sub	r3, r3, #12
	ldr	r3, [r3, #-3120]
	add	r3, r3, #1
	str	r3, [r2, #-3120]
.L10:
	sub	r3, fp, #253952
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #253952
	sub	r3, r3, #12
	ldr	r2, [r2, #-3120]
	ldr	r3, [r3, #-3128]
	cmp	r2, r3
	blt	.L13
	ldr	r0, .L26+84
	bl	printf
	sub	r3, fp, #257024
	sub	r3, r3, #12
	sub	r3, r3, #32
	add	r3, r3, #24
	mov	r1, r3
	ldr	r0, .L26+28
	bl	__isoc99_scanf
	ldr	r0, .L26+88
	bl	puts
	sub	r3, fp, #253952
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3112]
	b	.L14
.L15:
	sub	r3, fp, #253952
	sub	r3, r3, #12
	ldr	r3, [r3, #-3112]
	add	r3, r3, #1
	mov	r1, r3
	ldr	r0, .L26+92
	bl	printf
	sub	r2, fp, #257024
	sub	r2, r2, #12
	sub	r2, r2, #4
	sub	r3, fp, #253952
	sub	r3, r3, #12
	ldr	r1, [r3, #-3112]
	mov	r3, r1
	lsl	r3, r3, #3
	sub	r3, r3, r1
	lsl	r3, r3, #3
	add	r3, r2, r3
	mov	r1, r3
	ldr	r0, .L26+96
	bl	__isoc99_scanf
	sub	r3, fp, #253952
	sub	r3, r3, #12
	mov	r1, r3
	sub	r3, fp, #253952
	sub	r3, r3, #12
	ldr	r2, [r3, #-3112]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	sub	r3, r3, #3024
	mov	r2, #0
	str	r2, [r3]
	sub	r3, fp, #253952
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #253952
	sub	r3, r3, #12
	ldr	r3, [r3, #-3112]
	add	r3, r3, #1
	str	r3, [r2, #-3112]
.L14:
	sub	r3, fp, #253952
	sub	r3, r3, #12
	ldr	r3, [r3, #-3080]
	sub	r2, fp, #253952
	sub	r2, r2, #12
	ldr	r2, [r2, #-3112]
	cmp	r2, r3
	blt	.L15
.L23:
	sub	r3, fp, #253952
	sub	r3, r3, #12
	ldr	r1, [r3, #-3092]
	sub	r2, fp, #257024
	sub	r2, r2, #12
	sub	r2, r2, #4
	mov	r3, r1
	lsl	r3, r3, #3
	sub	r3, r3, r1
	lsl	r3, r3, #3
	add	r3, r2, r3
	mov	r1, r3
	ldr	r0, .L26+100
	bl	printf
	sub	r3, fp, #253952
	sub	r3, r3, #12
	ldr	r2, [r3, #-3092]
	sub	r3, fp, #253952
	sub	r3, r3, #12
	mov	r1, r3
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	sub	r3, r3, #3024
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L26+104
	bl	printf
	ldr	r0, .L26+108
	bl	printf
	sub	r3, fp, #257024
	sub	r3, r3, #12
	sub	r3, r3, #68
	mov	r1, r3
	ldr	r0, .L26+28
	bl	__isoc99_scanf
	sub	r3, fp, #253952
	sub	r3, r3, #12
	ldr	r1, [r3, #-3088]
	sub	r2, fp, #256000
	sub	r2, r2, #12
	sub	r2, r2, #804
	mov	r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r1
	lsl	r3, r3, #6
	add	r3, r3, r1
	lsl	r3, r3, #2
	add	r3, r2, r3
	mov	r1, r3
	ldr	r0, .L26+112
	bl	printf
	sub	r3, fp, #253952
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3108]
	b	.L16
.L17:
	sub	r3, fp, #253952
	sub	r3, r3, #12
	ldr	r1, [r3, #-3088]
	sub	r2, fp, #256000
	sub	r2, r2, #12
	sub	r2, r2, #804
	sub	r3, fp, #253952
	sub	r3, r3, #12
	ldr	r3, [r3, #-3108]
	add	r3, r3, #1
	lsl	r0, r3, #8
	mov	r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r1
	lsl	r3, r3, #6
	add	r3, r3, r1
	lsl	r3, r3, #2
	add	r3, r0, r3
	add	r3, r2, r3
	mov	r1, r3
	ldr	r0, .L26+116
	bl	printf
	sub	r3, fp, #253952
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #253952
	sub	r3, r3, #12
	ldr	r3, [r3, #-3108]
	add	r3, r3, #1
	str	r3, [r2, #-3108]
.L16:
	sub	r3, fp, #253952
	sub	r3, r3, #12
	ldr	r3, [r3, #-3108]
	cmp	r3, #3
	ble	.L17
	ldr	r0, .L26+120
	bl	printf
	sub	r3, fp, #257024
	sub	r3, r3, #12
	sub	r3, r3, #64
	mov	r1, r3
	ldr	r0, .L26+28
	bl	__isoc99_scanf
	sub	r3, fp, #253952
	sub	r3, r3, #12
	ldr	r3, [r3, #-3136]
	sub	r1, r3, #1
	sub	r3, fp, #253952
	sub	r3, r3, #12
	ldr	r2, [r3, #-3088]
	sub	r3, fp, #253952
	sub	r3, r3, #12
	mov	r0, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #6
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r0, r3
	sub	r3, r3, #1568
	sub	r3, r3, #4
	ldr	r3, [r3]
	cmp	r1, r3
	bne	.L18
	sub	r3, fp, #253952
	sub	r3, r3, #12
	ldr	r2, [r3, #-3092]
	sub	r3, fp, #253952
	sub	r3, r3, #12
	mov	r1, r3
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	sub	r3, r3, #3024
	ldr	r1, [r3]
	sub	r3, fp, #253952
	sub	r3, r3, #12
	ldr	r3, [r3, #-3140]
	sub	r2, fp, #253952
	sub	r2, r2, #12
	ldr	r2, [r2, #-3092]
	add	r1, r1, r3
	sub	r3, fp, #253952
	sub	r3, r3, #12
	mov	r0, r3
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r0, r3
	sub	r3, r3, #3024
	str	r1, [r3]
	sub	r3, fp, #253952
	sub	r3, r3, #12
	ldr	r1, [r3, #-3092]
	sub	r2, fp, #257024
	sub	r2, r2, #12
	sub	r2, r2, #4
	mov	r3, r1
	lsl	r3, r3, #3
	sub	r3, r3, r1
	lsl	r3, r3, #3
	add	r1, r2, r3
	sub	r3, fp, #253952
	sub	r3, r3, #12
	ldr	r2, [r3, #-3092]
	sub	r3, fp, #253952
	sub	r3, r3, #12
	mov	r0, r3
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r0, r3
	sub	r3, r3, #3024
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r0, .L26+124
	bl	printf
	b	.L19
.L18:
	ldr	r0, .L26+128
	bl	puts
.L19:
	sub	r3, fp, #253952
	sub	r3, r3, #12
	ldr	r2, [r3, #-3092]
	sub	r3, fp, #253952
	sub	r3, r3, #12
	mov	r1, r3
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	sub	r3, r3, #3024
	ldr	r3, [r3]
	cmp	r3, #49
	bgt	.L20
	sub	r3, fp, #253952
	sub	r3, r3, #12
	ldr	r3, [r3, #-3088]
	add	r3, r3, #1
	sub	r2, fp, #253952
	sub	r2, r2, #12
	str	r3, [r2, #-3088]
	sub	r3, fp, #253952
	sub	r3, r3, #12
	ldr	r3, [r3, #-3092]
	add	r3, r3, #1
	sub	r2, fp, #253952
	sub	r2, r2, #12
	str	r3, [r2, #-3092]
	b	.L21
.L20:
	sub	r3, fp, #253952
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #1
	str	r3, [r2, #-3096]
.L21:
	sub	r3, fp, #253952
	sub	r3, r3, #12
	ldr	r2, [r3, #-3092]
	sub	r3, fp, #253952
	sub	r3, r3, #12
	ldr	r3, [r3, #-3080]
	cmp	r2, r3
	bne	.L22
	sub	r3, fp, #253952
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3092]
.L22:
	sub	r3, fp, #253952
	sub	r3, r3, #12
	ldr	r3, [r3, #-3096]
	cmp	r3, #1
	bne	.L23
	sub	r3, fp, #253952
	sub	r3, r3, #12
	ldr	r1, [r3, #-3092]
	sub	r2, fp, #257024
	sub	r2, r2, #12
	sub	r2, r2, #4
	mov	r3, r1
	lsl	r3, r3, #3
	sub	r3, r3, r1
	lsl	r3, r3, #3
	add	r3, r2, r3
	mov	r1, r3
	ldr	r0, .L26+132
	bl	printf
	mov	r3, #0
	ldr	r2, .L26
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L25
	bl	__stack_chk_fail
.L25:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L27:
	.align	2
.L26:
	.word	.LC33
	.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
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
