	.file	"816666.c"
	.intel_syntax noprefix
	.text
	.globl	genres
	.section	.rodata
.LC0:
	.string	"Blues"
.LC1:
	.string	"Classic Rock"
.LC2:
	.string	"Country"
.LC3:
	.string	"Dance"
.LC4:
	.string	"Disco"
.LC5:
	.string	"Funk"
.LC6:
	.string	"Grunge"
.LC7:
	.string	"Hip-Hop"
.LC8:
	.string	"Jazz"
.LC9:
	.string	"Metal"
.LC10:
	.string	"New Age"
.LC11:
	.string	"Oldies"
.LC12:
	.string	"Other"
.LC13:
	.string	"Pop"
.LC14:
	.string	"R&B"
.LC15:
	.string	"Rap"
.LC16:
	.string	"Reggae"
.LC17:
	.string	"Rock"
.LC18:
	.string	"Techno"
.LC19:
	.string	"Industrial"
.LC20:
	.string	"Alternative"
.LC21:
	.string	"Ska"
.LC22:
	.string	"Death Metal"
.LC23:
	.string	"Pranks"
.LC24:
	.string	"Soundtrack"
.LC25:
	.string	"Euro-Techno"
.LC26:
	.string	"Ambient"
.LC27:
	.string	"Trip-Hop"
.LC28:
	.string	"Vocal"
.LC29:
	.string	"Jazz+Funk"
.LC30:
	.string	"Fusion"
.LC31:
	.string	"Trance"
.LC32:
	.string	"Classical"
.LC33:
	.string	"Instrumental"
.LC34:
	.string	"Acid"
.LC35:
	.string	"House"
.LC36:
	.string	"Game"
.LC37:
	.string	"Sound Clip"
.LC38:
	.string	"Gospel"
.LC39:
	.string	"Noise"
.LC40:
	.string	"AlternRock"
.LC41:
	.string	"Bass"
.LC42:
	.string	"Soul"
.LC43:
	.string	"Punk"
.LC44:
	.string	"Space"
.LC45:
	.string	"Meditative"
.LC46:
	.string	"Instrumental Pop"
.LC47:
	.string	"Instrumental Rock"
.LC48:
	.string	"Ethnic"
.LC49:
	.string	"Gothic"
.LC50:
	.string	"Darkwave"
.LC51:
	.string	"Techno-Industrial"
.LC52:
	.string	"Electronic"
.LC53:
	.string	"Pop-Folk"
.LC54:
	.string	"Eurodance"
.LC55:
	.string	"Dream"
.LC56:
	.string	"Southern Rock"
.LC57:
	.string	"Comedy"
.LC58:
	.string	"Cult"
.LC59:
	.string	"Gangsta"
.LC60:
	.string	"Top 40"
.LC61:
	.string	"Christian Rap"
.LC62:
	.string	"Pop/Funk"
.LC63:
	.string	"Jungle"
.LC64:
	.string	"Native American"
.LC65:
	.string	"Cabaret"
.LC66:
	.string	"New Wave"
.LC67:
	.string	"Psychadelic"
.LC68:
	.string	"Rave"
.LC69:
	.string	"Showtunes"
.LC70:
	.string	"Trailer"
.LC71:
	.string	"Lo-Fi"
.LC72:
	.string	"Tribal"
.LC73:
	.string	"Acid Punk"
.LC74:
	.string	"Acid Jazz"
.LC75:
	.string	"Polka"
.LC76:
	.string	"Retro"
.LC77:
	.string	"Musical"
.LC78:
	.string	"Rock & Roll"
.LC79:
	.string	"Hard Rock"
	.section	.data.rel.local,"aw"
	.align 32
	.type	genres, @object
	.size	genres, 640
genres:
	.quad	.LC0
	.quad	.LC1
	.quad	.LC2
	.quad	.LC3
	.quad	.LC4
	.quad	.LC5
	.quad	.LC6
	.quad	.LC7
	.quad	.LC8
	.quad	.LC9
	.quad	.LC10
	.quad	.LC11
	.quad	.LC12
	.quad	.LC13
	.quad	.LC14
	.quad	.LC15
	.quad	.LC16
	.quad	.LC17
	.quad	.LC18
	.quad	.LC19
	.quad	.LC20
	.quad	.LC21
	.quad	.LC22
	.quad	.LC23
	.quad	.LC24
	.quad	.LC25
	.quad	.LC26
	.quad	.LC27
	.quad	.LC28
	.quad	.LC29
	.quad	.LC30
	.quad	.LC31
	.quad	.LC32
	.quad	.LC33
	.quad	.LC34
	.quad	.LC35
	.quad	.LC36
	.quad	.LC37
	.quad	.LC38
	.quad	.LC39
	.quad	.LC40
	.quad	.LC41
	.quad	.LC42
	.quad	.LC43
	.quad	.LC44
	.quad	.LC45
	.quad	.LC46
	.quad	.LC47
	.quad	.LC48
	.quad	.LC49
	.quad	.LC50
	.quad	.LC51
	.quad	.LC52
	.quad	.LC53
	.quad	.LC54
	.quad	.LC55
	.quad	.LC56
	.quad	.LC57
	.quad	.LC58
	.quad	.LC59
	.quad	.LC60
	.quad	.LC61
	.quad	.LC62
	.quad	.LC63
	.quad	.LC64
	.quad	.LC65
	.quad	.LC66
	.quad	.LC67
	.quad	.LC68
	.quad	.LC69
	.quad	.LC70
	.quad	.LC71
	.quad	.LC72
	.quad	.LC73
	.quad	.LC74
	.quad	.LC75
	.quad	.LC76
	.quad	.LC77
	.quad	.LC78
	.quad	.LC79
	.section	.rodata
.LC80:
	.string	"rb"
.LC81:
	.string	"musica.mp3"
.LC82:
	.string	"Erro a abrir ficheiro!\n"
.LC83:
	.string	"TAG"
.LC84:
	.string	"T\303\255tulo: %s\n"
.LC85:
	.string	"Artista: %s\n"
.LC86:
	.string	"\303\201lbum: %s\n"
.LC87:
	.string	"Ano: %s\n"
.LC88:
	.string	"Coment\303\241rio: %s\n"
.LC89:
	.string	"N\303\272mero: %d\n"
.LC90:
	.string	"G\303\251nero: %s\n"
	.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
	sub	rsp, 176
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rsi, .LC80[rip]
	lea	rdi, .LC81[rip]
	call	fopen@PLT
	mov	QWORD PTR -168[rbp], rax
	cmp	QWORD PTR -168[rbp], 0
	jne	.L2
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 23
	mov	esi, 1
	lea	rdi, .LC82[rip]
	call	fwrite@PLT
	mov	eax, -1
	jmp	.L6
.L2:
	lea	rdx, -160[rbp]
	mov	eax, 0
	mov	ecx, 17
	mov	rdi, rdx
	rep stosq
	mov	rdx, rdi
	mov	DWORD PTR [rdx], eax
	add	rdx, 4
	mov	rax, QWORD PTR -168[rbp]
	mov	edx, 2
	mov	rsi, -128
	mov	rdi, rax
	call	fseek@PLT
	mov	rdx, QWORD PTR -168[rbp]
	lea	rax, -160[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 3
	mov	rdi, rax
	call	fread@PLT
	mov	rax, QWORD PTR -168[rbp]
	lea	rdx, -160[rbp]
	lea	rdi, 3[rdx]
	mov	rcx, rax
	mov	edx, 1
	mov	esi, 30
	call	fread@PLT
	mov	rax, QWORD PTR -168[rbp]
	lea	rdx, -160[rbp]
	lea	rdi, 34[rdx]
	mov	rcx, rax
	mov	edx, 1
	mov	esi, 30
	call	fread@PLT
	mov	rax, QWORD PTR -168[rbp]
	lea	rdx, -160[rbp]
	lea	rdi, 65[rdx]
	mov	rcx, rax
	mov	edx, 1
	mov	esi, 30
	call	fread@PLT
	mov	rax, QWORD PTR -168[rbp]
	lea	rdx, -160[rbp]
	lea	rdi, 96[rdx]
	mov	rcx, rax
	mov	edx, 1
	mov	esi, 4
	call	fread@PLT
	mov	rax, QWORD PTR -168[rbp]
	lea	rdx, -160[rbp]
	lea	rdi, 101[rdx]
	mov	rcx, rax
	mov	edx, 1
	mov	esi, 30
	call	fread@PLT
	mov	rax, QWORD PTR -168[rbp]
	lea	rdx, -160[rbp]
	lea	rdi, 136[rdx]
	mov	rcx, rax
	mov	edx, 1
	mov	esi, 1
	call	fread@PLT
	movzx	eax, BYTE PTR -31[rbp]
	test	al, al
	jne	.L4
	movzx	eax, BYTE PTR -30[rbp]
	mov	BYTE PTR -28[rbp], al
.L4:
	lea	rax, -160[rbp]
	mov	edx, 3
	lea	rsi, .LC83[rip]
	mov	rdi, rax
	call	strncmp@PLT
	test	eax, eax
	jne	.L5
	lea	rax, -160[rbp]
	add	rax, 3
	mov	rsi, rax
	lea	rdi, .LC84[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -160[rbp]
	add	rax, 34
	mov	rsi, rax
	lea	rdi, .LC85[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -160[rbp]
	add	rax, 65
	mov	rsi, rax
	lea	rdi, .LC86[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -160[rbp]
	add	rax, 96
	mov	rsi, rax
	lea	rdi, .LC87[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -160[rbp]
	add	rax, 101
	mov	rsi, rax
	lea	rdi, .LC88[rip]
	mov	eax, 0
	call	printf@PLT
	movzx	eax, BYTE PTR -28[rbp]
	movsx	eax, al
	mov	esi, eax
	lea	rdi, .LC89[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, genres[rip]
	mov	rax, QWORD PTR [rdx+rax]
	mov	rsi, rax
	lea	rdi, .LC90[rip]
	mov	eax, 0
	call	printf@PLT
.L5:
	mov	eax, 0
.L6:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L7
	call	__stack_chk_fail@PLT
.L7:
	leave
	.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	"816666.c"
	.text
	.global	genres
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Blues\000"
	.align	2
.LC1:
	.ascii	"Classic Rock\000"
	.align	2
.LC2:
	.ascii	"Country\000"
	.align	2
.LC3:
	.ascii	"Dance\000"
	.align	2
.LC4:
	.ascii	"Disco\000"
	.align	2
.LC5:
	.ascii	"Funk\000"
	.align	2
.LC6:
	.ascii	"Grunge\000"
	.align	2
.LC7:
	.ascii	"Hip-Hop\000"
	.align	2
.LC8:
	.ascii	"Jazz\000"
	.align	2
.LC9:
	.ascii	"Metal\000"
	.align	2
.LC10:
	.ascii	"New Age\000"
	.align	2
.LC11:
	.ascii	"Oldies\000"
	.align	2
.LC12:
	.ascii	"Other\000"
	.align	2
.LC13:
	.ascii	"Pop\000"
	.align	2
.LC14:
	.ascii	"R&B\000"
	.align	2
.LC15:
	.ascii	"Rap\000"
	.align	2
.LC16:
	.ascii	"Reggae\000"
	.align	2
.LC17:
	.ascii	"Rock\000"
	.align	2
.LC18:
	.ascii	"Techno\000"
	.align	2
.LC19:
	.ascii	"Industrial\000"
	.align	2
.LC20:
	.ascii	"Alternative\000"
	.align	2
.LC21:
	.ascii	"Ska\000"
	.align	2
.LC22:
	.ascii	"Death Metal\000"
	.align	2
.LC23:
	.ascii	"Pranks\000"
	.align	2
.LC24:
	.ascii	"Soundtrack\000"
	.align	2
.LC25:
	.ascii	"Euro-Techno\000"
	.align	2
.LC26:
	.ascii	"Ambient\000"
	.align	2
.LC27:
	.ascii	"Trip-Hop\000"
	.align	2
.LC28:
	.ascii	"Vocal\000"
	.align	2
.LC29:
	.ascii	"Jazz+Funk\000"
	.align	2
.LC30:
	.ascii	"Fusion\000"
	.align	2
.LC31:
	.ascii	"Trance\000"
	.align	2
.LC32:
	.ascii	"Classical\000"
	.align	2
.LC33:
	.ascii	"Instrumental\000"
	.align	2
.LC34:
	.ascii	"Acid\000"
	.align	2
.LC35:
	.ascii	"House\000"
	.align	2
.LC36:
	.ascii	"Game\000"
	.align	2
.LC37:
	.ascii	"Sound Clip\000"
	.align	2
.LC38:
	.ascii	"Gospel\000"
	.align	2
.LC39:
	.ascii	"Noise\000"
	.align	2
.LC40:
	.ascii	"AlternRock\000"
	.align	2
.LC41:
	.ascii	"Bass\000"
	.align	2
.LC42:
	.ascii	"Soul\000"
	.align	2
.LC43:
	.ascii	"Punk\000"
	.align	2
.LC44:
	.ascii	"Space\000"
	.align	2
.LC45:
	.ascii	"Meditative\000"
	.align	2
.LC46:
	.ascii	"Instrumental Pop\000"
	.align	2
.LC47:
	.ascii	"Instrumental Rock\000"
	.align	2
.LC48:
	.ascii	"Ethnic\000"
	.align	2
.LC49:
	.ascii	"Gothic\000"
	.align	2
.LC50:
	.ascii	"Darkwave\000"
	.align	2
.LC51:
	.ascii	"Techno-Industrial\000"
	.align	2
.LC52:
	.ascii	"Electronic\000"
	.align	2
.LC53:
	.ascii	"Pop-Folk\000"
	.align	2
.LC54:
	.ascii	"Eurodance\000"
	.align	2
.LC55:
	.ascii	"Dream\000"
	.align	2
.LC56:
	.ascii	"Southern Rock\000"
	.align	2
.LC57:
	.ascii	"Comedy\000"
	.align	2
.LC58:
	.ascii	"Cult\000"
	.align	2
.LC59:
	.ascii	"Gangsta\000"
	.align	2
.LC60:
	.ascii	"Top 40\000"
	.align	2
.LC61:
	.ascii	"Christian Rap\000"
	.align	2
.LC62:
	.ascii	"Pop/Funk\000"
	.align	2
.LC63:
	.ascii	"Jungle\000"
	.align	2
.LC64:
	.ascii	"Native American\000"
	.align	2
.LC65:
	.ascii	"Cabaret\000"
	.align	2
.LC66:
	.ascii	"New Wave\000"
	.align	2
.LC67:
	.ascii	"Psychadelic\000"
	.align	2
.LC68:
	.ascii	"Rave\000"
	.align	2
.LC69:
	.ascii	"Showtunes\000"
	.align	2
.LC70:
	.ascii	"Trailer\000"
	.align	2
.LC71:
	.ascii	"Lo-Fi\000"
	.align	2
.LC72:
	.ascii	"Tribal\000"
	.align	2
.LC73:
	.ascii	"Acid Punk\000"
	.align	2
.LC74:
	.ascii	"Acid Jazz\000"
	.align	2
.LC75:
	.ascii	"Polka\000"
	.align	2
.LC76:
	.ascii	"Retro\000"
	.align	2
.LC77:
	.ascii	"Musical\000"
	.align	2
.LC78:
	.ascii	"Rock & Roll\000"
	.align	2
.LC79:
	.ascii	"Hard Rock\000"
	.data
	.align	2
	.type	genres, %object
	.size	genres, 320
genres:
	.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
	.word	.LC43
	.word	.LC44
	.word	.LC45
	.word	.LC46
	.word	.LC47
	.word	.LC48
	.word	.LC49
	.word	.LC50
	.word	.LC51
	.word	.LC52
	.word	.LC53
	.word	.LC54
	.word	.LC55
	.word	.LC56
	.word	.LC57
	.word	.LC58
	.word	.LC59
	.word	.LC60
	.word	.LC61
	.word	.LC62
	.word	.LC63
	.word	.LC64
	.word	.LC65
	.word	.LC66
	.word	.LC67
	.word	.LC68
	.word	.LC69
	.word	.LC70
	.word	.LC71
	.word	.LC72
	.word	.LC73
	.word	.LC74
	.word	.LC75
	.word	.LC76
	.word	.LC77
	.word	.LC78
	.word	.LC79
	.section	.rodata
	.align	2
.LC80:
	.ascii	"rb\000"
	.align	2
.LC81:
	.ascii	"musica.mp3\000"
	.align	2
.LC82:
	.ascii	"Erro a abrir ficheiro!\012\000"
	.align	2
.LC83:
	.ascii	"TAG\000"
	.align	2
.LC84:
	.ascii	"T\303\255tulo: %s\012\000"
	.align	2
.LC85:
	.ascii	"Artista: %s\012\000"
	.align	2
.LC86:
	.ascii	"\303\201lbum: %s\012\000"
	.align	2
.LC87:
	.ascii	"Ano: %s\012\000"
	.align	2
.LC88:
	.ascii	"Coment\303\241rio: %s\012\000"
	.align	2
.LC89:
	.ascii	"N\303\272mero: %d\012\000"
	.align	2
.LC90:
	.ascii	"G\303\251nero: %s\012\000"
	.align	2
.LC91:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 152
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #152
	ldr	r3, .L8
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r1, .L8+4
	ldr	r0, .L8+8
	bl	fopen
	str	r0, [fp, #-152]
	ldr	r3, [fp, #-152]
	cmp	r3, #0
	bne	.L2
	ldr	r3, .L8+12
	ldr	r3, [r3]
	mov	r2, #23
	mov	r1, #1
	ldr	r0, .L8+16
	bl	fwrite
	mvn	r3, #0
	b	.L6
.L2:
	sub	r3, fp, #148
	mov	r2, #140
	mov	r1, #0
	mov	r0, r3
	bl	memset
	mov	r2, #2
	mvn	r1, #127
	ldr	r0, [fp, #-152]
	bl	fseek
	sub	r0, fp, #148
	ldr	r3, [fp, #-152]
	mov	r2, #1
	mov	r1, #3
	bl	fread
	sub	r3, fp, #148
	add	r0, r3, #3
	ldr	r3, [fp, #-152]
	mov	r2, #1
	mov	r1, #30
	bl	fread
	sub	r3, fp, #148
	add	r0, r3, #34
	ldr	r3, [fp, #-152]
	mov	r2, #1
	mov	r1, #30
	bl	fread
	sub	r3, fp, #148
	add	r0, r3, #65
	ldr	r3, [fp, #-152]
	mov	r2, #1
	mov	r1, #30
	bl	fread
	sub	r3, fp, #148
	add	r0, r3, #96
	ldr	r3, [fp, #-152]
	mov	r2, #1
	mov	r1, #4
	bl	fread
	sub	r3, fp, #148
	add	r0, r3, #101
	ldr	r3, [fp, #-152]
	mov	r2, #1
	mov	r1, #30
	bl	fread
	sub	r3, fp, #148
	add	r0, r3, #136
	ldr	r3, [fp, #-152]
	mov	r2, #1
	mov	r1, #1
	bl	fread
	ldrb	r3, [fp, #-19]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L4
	ldrb	r3, [fp, #-18]	@ zero_extendqisi2
	strb	r3, [fp, #-16]
.L4:
	sub	r3, fp, #148
	mov	r2, #3
	ldr	r1, .L8+20
	mov	r0, r3
	bl	strncmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L5
	sub	r3, fp, #148
	add	r3, r3, #3
	mov	r1, r3
	ldr	r0, .L8+24
	bl	printf
	sub	r3, fp, #148
	add	r3, r3, #34
	mov	r1, r3
	ldr	r0, .L8+28
	bl	printf
	sub	r3, fp, #148
	add	r3, r3, #65
	mov	r1, r3
	ldr	r0, .L8+32
	bl	printf
	sub	r3, fp, #148
	add	r3, r3, #96
	mov	r1, r3
	ldr	r0, .L8+36
	bl	printf
	sub	r3, fp, #148
	add	r3, r3, #101
	mov	r1, r3
	ldr	r0, .L8+40
	bl	printf
	ldrb	r3, [fp, #-16]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r0, .L8+44
	bl	printf
	ldr	r3, [fp, #-12]
	ldr	r2, .L8+48
	ldr	r3, [r2, r3, lsl #2]
	mov	r1, r3
	ldr	r0, .L8+52
	bl	printf
.L5:
	mov	r3, #0
.L6:
	ldr	r2, .L8
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L7
	bl	__stack_chk_fail
.L7:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L9:
	.align	2
.L8:
	.word	.LC91
	.word	.LC80
	.word	.LC81
	.word	stderr
	.word	.LC82
	.word	.LC83
	.word	.LC84
	.word	.LC85
	.word	.LC86
	.word	.LC87
	.word	.LC88
	.word	.LC89
	.word	genres
	.word	.LC90
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
