	.file	"115070.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"%s %d %f"
.LC1:
	.string	"Registo %s %d %.2f inserido\n"
.LC2:
	.string	"Espaco insuficiente"
.LC3:
	.string	"%s"
.LC4:
	.string	"Registro %s %d %.2f \n"
.LC5:
	.string	"Registro Ausente"
.LC6:
	.string	"pause"
	.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, 416
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -412[rbp], 0
	mov	DWORD PTR -404[rbp], 0
	movabs	rax, 32195291552903021
	mov	QWORD PTR -80[rbp], rax
	movabs	rax, 32204087394266729
	mov	QWORD PTR -72[rbp], rax
	jmp	.L2
.L9:
	lea	rdx, -72[rbp]
	lea	rax, -88[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L3
	cmp	DWORD PTR -412[rbp], 3
	jg	.L4
	lea	rcx, -400[rbp]
	mov	eax, DWORD PTR -412[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 2
	add	rax, 48
	add	rax, rcx
	lea	rcx, 8[rax]
	lea	rsi, -400[rbp]
	mov	eax, DWORD PTR -412[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 2
	add	rax, 48
	add	rax, rsi
	lea	rdx, 4[rax]
	lea	rdi, -400[rbp]
	mov	eax, DWORD PTR -412[rbp]
	movsx	rsi, eax
	mov	rax, rsi
	sal	rax, 4
	sub	rax, rsi
	sal	rax, 2
	add	rax, rdi
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -412[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 2
	add	rax, rbp
	sub	rax, 344
	movss	xmm0, DWORD PTR [rax]
	pxor	xmm1, xmm1
	cvtss2sd	xmm1, xmm0
	movq	rcx, xmm1
	mov	eax, DWORD PTR -412[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 2
	add	rax, rbp
	sub	rax, 348
	mov	edx, DWORD PTR [rax]
	lea	rdi, -400[rbp]
	mov	eax, DWORD PTR -412[rbp]
	movsx	rsi, eax
	mov	rax, rsi
	sal	rax, 4
	sub	rax, rsi
	sal	rax, 2
	add	rax, rdi
	movq	xmm0, rcx
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 1
	call	printf@PLT
	add	DWORD PTR -412[rbp], 1
	jmp	.L3
.L4:
	lea	rdi, .LC2[rip]
	call	puts@PLT
.L3:
	lea	rdx, -80[rbp]
	lea	rax, -88[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L2
	lea	rax, -64[rbp]
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	call	getchar@PLT
	mov	DWORD PTR -408[rbp], 0
	jmp	.L5
.L8:
	lea	rcx, -400[rbp]
	mov	eax, DWORD PTR -408[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 2
	lea	rdx, [rcx+rax]
	lea	rax, -64[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L6
	mov	eax, DWORD PTR -408[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 2
	add	rax, rbp
	sub	rax, 344
	movss	xmm0, DWORD PTR [rax]
	pxor	xmm2, xmm2
	cvtss2sd	xmm2, xmm0
	movq	rcx, xmm2
	mov	eax, DWORD PTR -408[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 2
	add	rax, rbp
	sub	rax, 348
	mov	edx, DWORD PTR [rax]
	lea	rdi, -400[rbp]
	mov	eax, DWORD PTR -408[rbp]
	movsx	rsi, eax
	mov	rax, rsi
	sal	rax, 4
	sub	rax, rsi
	sal	rax, 2
	add	rax, rdi
	movq	xmm0, rcx
	mov	rsi, rax
	lea	rdi, .LC4[rip]
	mov	eax, 1
	call	printf@PLT
	jmp	.L7
.L6:
	add	DWORD PTR -404[rbp], 1
.L7:
	add	DWORD PTR -408[rbp], 1
.L5:
	cmp	DWORD PTR -408[rbp], 3
	jle	.L8
	cmp	DWORD PTR -404[rbp], 4
	jle	.L2
	lea	rdi, .LC5[rip]
	call	puts@PLT
.L2:
	lea	rax, -88[rbp]
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	cmp	eax, -1
	jne	.L9
	lea	rdi, .LC6[rip]
	call	system@PLT
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L11
	call	__stack_chk_fail@PLT
.L11:
	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	"115070.c"
	.text
	.section	.rodata
	.align	2
.LC2:
	.ascii	"%s %d %f\000"
	.global	__aeabi_f2d
	.align	2
.LC3:
	.ascii	"Registo %s %d %.2f inserido\012\000"
	.align	2
.LC4:
	.ascii	"Espaco insuficiente\000"
	.align	2
.LC5:
	.ascii	"%s\000"
	.align	2
.LC6:
	.ascii	"Registro %s %d %.2f \012\000"
	.align	2
.LC7:
	.ascii	"Registro Ausente\000"
	.align	2
.LC8:
	.ascii	"pause\000"
	.align	2
.LC0:
	.ascii	"mostrar\000"
	.align	2
.LC1:
	.ascii	"inserir\000"
	.align	2
.LC9:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 392
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #400
	ldr	r3, .L12
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-404]
	mov	r3, #0
	str	r3, [fp, #-396]
	ldr	r2, .L12+4
	sub	r3, fp, #84
	ldm	r2, {r0, r1}
	stm	r3, {r0, r1}
	ldr	r2, .L12+8
	sub	r3, fp, #76
	ldm	r2, {r0, r1}
	stm	r3, {r0, r1}
	b	.L2
.L9:
	sub	r2, fp, #76
	sub	r3, fp, #92
	mov	r1, r2
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L3
	ldr	r3, [fp, #-404]
	cmp	r3, #3
	bgt	.L4
	sub	r1, fp, #392
	ldr	r2, [fp, #-404]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r0, r1, r3
	sub	r1, fp, #392
	ldr	r2, [fp, #-404]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, #48
	add	r3, r1, r3
	add	ip, r3, #4
	sub	r1, fp, #392
	ldr	r2, [fp, #-404]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, #56
	add	r3, r1, r3
	mov	r2, ip
	mov	r1, r0
	ldr	r0, .L12+12
	bl	__isoc99_scanf
	sub	r1, fp, #392
	ldr	r2, [fp, #-404]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r4, r1, r3
	ldr	r2, [fp, #-404]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	sub	r3, r3, #328
	ldr	r5, [r3]
	ldr	r2, [fp, #-404]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	sub	r3, r3, #324
	ldr	r3, [r3]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	stm	sp, {r2-r3}
	mov	r2, r5
	mov	r1, r4
	ldr	r0, .L12+16
	bl	printf
	ldr	r3, [fp, #-404]
	add	r3, r3, #1
	str	r3, [fp, #-404]
	b	.L3
.L4:
	ldr	r0, .L12+20
	bl	puts
.L3:
	sub	r2, fp, #84
	sub	r3, fp, #92
	mov	r1, r2
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L2
	sub	r3, fp, #68
	mov	r1, r3
	ldr	r0, .L12+24
	bl	__isoc99_scanf
	bl	getchar
	mov	r3, #0
	str	r3, [fp, #-400]
	b	.L5
.L8:
	sub	r1, fp, #392
	ldr	r2, [fp, #-400]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r2, r1, r3
	sub	r3, fp, #68
	mov	r1, r2
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L6
	sub	r1, fp, #392
	ldr	r2, [fp, #-400]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r4, r1, r3
	ldr	r2, [fp, #-400]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	sub	r3, r3, #328
	ldr	r5, [r3]
	ldr	r2, [fp, #-400]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	sub	r3, r3, #324
	ldr	r3, [r3]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	stm	sp, {r2-r3}
	mov	r2, r5
	mov	r1, r4
	ldr	r0, .L12+28
	bl	printf
	b	.L7
.L6:
	ldr	r3, [fp, #-396]
	add	r3, r3, #1
	str	r3, [fp, #-396]
.L7:
	ldr	r3, [fp, #-400]
	add	r3, r3, #1
	str	r3, [fp, #-400]
.L5:
	ldr	r3, [fp, #-400]
	cmp	r3, #3
	ble	.L8
	ldr	r3, [fp, #-396]
	cmp	r3, #4
	ble	.L2
	ldr	r0, .L12+32
	bl	puts
.L2:
	sub	r3, fp, #92
	mov	r1, r3
	ldr	r0, .L12+24
	bl	__isoc99_scanf
	mov	r3, r0
	cmn	r3, #1
	bne	.L9
	ldr	r0, .L12+36
	bl	system
	mov	r3, #0
	ldr	r2, .L12
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L11
	bl	__stack_chk_fail
.L11:
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L13:
	.align	2
.L12:
	.word	.LC9
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
