	.file	"514510.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC0:
	.string	"\nInforme os n\303\272meros do vetor:"
.LC1:
	.string	"%i"
.LC2:
	.string	"\nMenor = indices "
.LC3:
	.string	"%i. "
.LC4:
	.string	"%i, "
.LC5:
	.string	"com valor %i"
	.align 8
.LC6:
	.string	"\nMenor = indice %i com valor %i"
.LC7:
	.string	"\nMaior = indices "
	.align 8
.LC8:
	.string	"\nMaior = indice %i com valor %i"
.LC9:
	.string	"\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, 192
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -180[rbp], 0
	mov	DWORD PTR -176[rbp], 0
	lea	rdi, .LC0[rip]
	call	puts@PLT
	mov	DWORD PTR -164[rbp], 0
	jmp	.L2
.L12:
	lea	rdx, -144[rbp]
	mov	eax, DWORD PTR -164[rbp]
	cdqe
	sal	rax, 2
	add	rax, rdx
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	cmp	DWORD PTR -164[rbp], 0
	jne	.L3
	mov	eax, DWORD PTR -164[rbp]
	cdqe
	mov	eax, DWORD PTR -144[rbp+rax*4]
	mov	DWORD PTR -172[rbp], eax
	mov	eax, DWORD PTR -180[rbp]
	cdqe
	mov	edx, DWORD PTR -164[rbp]
	mov	DWORD PTR -96[rbp+rax*4], edx
	mov	eax, DWORD PTR -164[rbp]
	cdqe
	mov	eax, DWORD PTR -144[rbp+rax*4]
	mov	DWORD PTR -168[rbp], eax
	mov	eax, DWORD PTR -176[rbp]
	cdqe
	mov	edx, DWORD PTR -164[rbp]
	mov	DWORD PTR -48[rbp+rax*4], edx
	jmp	.L4
.L3:
	mov	eax, DWORD PTR -164[rbp]
	cdqe
	mov	eax, DWORD PTR -144[rbp+rax*4]
	cmp	DWORD PTR -172[rbp], eax
	jge	.L5
	mov	eax, DWORD PTR -164[rbp]
	cdqe
	mov	eax, DWORD PTR -144[rbp+rax*4]
	mov	DWORD PTR -172[rbp], eax
	mov	DWORD PTR -160[rbp], 0
	jmp	.L6
.L7:
	mov	eax, DWORD PTR -160[rbp]
	cdqe
	mov	DWORD PTR -96[rbp+rax*4], 0
	add	DWORD PTR -160[rbp], 1
.L6:
	cmp	DWORD PTR -160[rbp], 9
	jle	.L7
	mov	DWORD PTR -180[rbp], 0
	mov	eax, DWORD PTR -180[rbp]
	cdqe
	mov	edx, DWORD PTR -164[rbp]
	mov	DWORD PTR -96[rbp+rax*4], edx
	jmp	.L4
.L5:
	mov	eax, DWORD PTR -164[rbp]
	cdqe
	mov	eax, DWORD PTR -144[rbp+rax*4]
	cmp	DWORD PTR -172[rbp], eax
	jne	.L8
	add	DWORD PTR -180[rbp], 1
	mov	eax, DWORD PTR -180[rbp]
	cdqe
	mov	edx, DWORD PTR -164[rbp]
	mov	DWORD PTR -96[rbp+rax*4], edx
	jmp	.L4
.L8:
	mov	eax, DWORD PTR -164[rbp]
	cdqe
	mov	eax, DWORD PTR -144[rbp+rax*4]
	cmp	DWORD PTR -168[rbp], eax
	jle	.L9
	mov	eax, DWORD PTR -164[rbp]
	cdqe
	mov	eax, DWORD PTR -144[rbp+rax*4]
	mov	DWORD PTR -168[rbp], eax
	mov	DWORD PTR -156[rbp], 0
	jmp	.L10
.L11:
	mov	eax, DWORD PTR -156[rbp]
	cdqe
	mov	DWORD PTR -48[rbp+rax*4], 0
	add	DWORD PTR -156[rbp], 1
.L10:
	cmp	DWORD PTR -156[rbp], 9
	jle	.L11
	mov	DWORD PTR -176[rbp], 0
	mov	eax, DWORD PTR -176[rbp]
	cdqe
	mov	edx, DWORD PTR -164[rbp]
	mov	DWORD PTR -48[rbp+rax*4], edx
	jmp	.L4
.L9:
	mov	eax, DWORD PTR -164[rbp]
	cdqe
	mov	eax, DWORD PTR -144[rbp+rax*4]
	cmp	DWORD PTR -168[rbp], eax
	jne	.L4
	add	DWORD PTR -176[rbp], 1
	mov	eax, DWORD PTR -176[rbp]
	cdqe
	mov	edx, DWORD PTR -164[rbp]
	mov	DWORD PTR -48[rbp+rax*4], edx
.L4:
	add	DWORD PTR -164[rbp], 1
.L2:
	cmp	DWORD PTR -164[rbp], 9
	jle	.L12
	cmp	DWORD PTR -176[rbp], 0
	je	.L13
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -152[rbp], 0
	jmp	.L14
.L17:
	mov	eax, DWORD PTR -152[rbp]
	cmp	eax, DWORD PTR -176[rbp]
	jne	.L15
	mov	eax, DWORD PTR -152[rbp]
	cdqe
	mov	eax, DWORD PTR -48[rbp+rax*4]
	mov	esi, eax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L16
.L15:
	mov	eax, DWORD PTR -152[rbp]
	cdqe
	mov	eax, DWORD PTR -48[rbp+rax*4]
	mov	esi, eax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
.L16:
	add	DWORD PTR -152[rbp], 1
.L14:
	mov	eax, DWORD PTR -152[rbp]
	cmp	eax, DWORD PTR -176[rbp]
	jle	.L17
	mov	eax, DWORD PTR -168[rbp]
	mov	esi, eax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L18
.L13:
	cmp	DWORD PTR -176[rbp], 0
	jne	.L18
	mov	eax, DWORD PTR -176[rbp]
	cdqe
	mov	eax, DWORD PTR -48[rbp+rax*4]
	mov	edx, DWORD PTR -168[rbp]
	mov	esi, eax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
.L18:
	cmp	DWORD PTR -180[rbp], 0
	je	.L19
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -148[rbp], 0
	jmp	.L20
.L23:
	mov	eax, DWORD PTR -148[rbp]
	cmp	eax, DWORD PTR -180[rbp]
	jne	.L21
	mov	eax, DWORD PTR -148[rbp]
	cdqe
	mov	eax, DWORD PTR -96[rbp+rax*4]
	mov	esi, eax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L22
.L21:
	mov	eax, DWORD PTR -148[rbp]
	cdqe
	mov	eax, DWORD PTR -96[rbp+rax*4]
	mov	esi, eax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
.L22:
	add	DWORD PTR -148[rbp], 1
.L20:
	mov	eax, DWORD PTR -148[rbp]
	cmp	eax, DWORD PTR -180[rbp]
	jle	.L23
	mov	eax, DWORD PTR -172[rbp]
	mov	esi, eax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L24
.L19:
	cmp	DWORD PTR -180[rbp], 0
	jne	.L24
	mov	eax, DWORD PTR -180[rbp]
	cdqe
	mov	eax, DWORD PTR -96[rbp+rax*4]
	mov	edx, DWORD PTR -172[rbp]
	mov	esi, eax
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
.L24:
	lea	rdi, .LC9[rip]
	call	puts@PLT
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L26
	call	__stack_chk_fail@PLT
.L26:
	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	"514510.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"\012Informe os n\303\272meros do vetor:\000"
	.align	2
.LC1:
	.ascii	"%i\000"
	.align	2
.LC2:
	.ascii	"\012Menor = indices \000"
	.align	2
.LC3:
	.ascii	"%i. \000"
	.align	2
.LC4:
	.ascii	"%i, \000"
	.align	2
.LC5:
	.ascii	"com valor %i\000"
	.align	2
.LC6:
	.ascii	"\012Menor = indice %i com valor %i\000"
	.align	2
.LC7:
	.ascii	"\012Maior = indices \000"
	.align	2
.LC8:
	.ascii	"\012Maior = indice %i com valor %i\000"
	.align	2
.LC9:
	.ascii	"\012\000"
	.align	2
.LC10:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 160
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #160
	ldr	r3, .L27
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-164]
	mov	r3, #0
	str	r3, [fp, #-160]
	ldr	r0, .L27+4
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-148]
	b	.L2
.L12:
	sub	r2, fp, #128
	ldr	r3, [fp, #-148]
	lsl	r3, r3, #2
	add	r3, r2, r3
	mov	r1, r3
	ldr	r0, .L27+8
	bl	__isoc99_scanf
	ldr	r3, [fp, #-148]
	cmp	r3, #0
	bne	.L3
	ldr	r3, [fp, #-148]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-124]
	str	r3, [fp, #-156]
	ldr	r3, [fp, #-164]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r2, [fp, #-148]
	str	r2, [r3, #-84]
	ldr	r3, [fp, #-148]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-124]
	str	r3, [fp, #-152]
	ldr	r3, [fp, #-160]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r2, [fp, #-148]
	str	r2, [r3, #-44]
	b	.L4
.L3:
	ldr	r3, [fp, #-148]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-124]
	ldr	r2, [fp, #-156]
	cmp	r2, r3
	bge	.L5
	ldr	r3, [fp, #-148]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-124]
	str	r3, [fp, #-156]
	mov	r3, #0
	str	r3, [fp, #-144]
	b	.L6
.L7:
	ldr	r3, [fp, #-144]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	mov	r2, #0
	str	r2, [r3, #-84]
	ldr	r3, [fp, #-144]
	add	r3, r3, #1
	str	r3, [fp, #-144]
.L6:
	ldr	r3, [fp, #-144]
	cmp	r3, #9
	ble	.L7
	mov	r3, #0
	str	r3, [fp, #-164]
	ldr	r3, [fp, #-164]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r2, [fp, #-148]
	str	r2, [r3, #-84]
	b	.L4
.L5:
	ldr	r3, [fp, #-148]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-124]
	ldr	r2, [fp, #-156]
	cmp	r2, r3
	bne	.L8
	ldr	r3, [fp, #-164]
	add	r3, r3, #1
	str	r3, [fp, #-164]
	ldr	r3, [fp, #-164]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r2, [fp, #-148]
	str	r2, [r3, #-84]
	b	.L4
.L8:
	ldr	r3, [fp, #-148]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-124]
	ldr	r2, [fp, #-152]
	cmp	r2, r3
	ble	.L9
	ldr	r3, [fp, #-148]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-124]
	str	r3, [fp, #-152]
	mov	r3, #0
	str	r3, [fp, #-140]
	b	.L10
.L11:
	ldr	r3, [fp, #-140]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	mov	r2, #0
	str	r2, [r3, #-44]
	ldr	r3, [fp, #-140]
	add	r3, r3, #1
	str	r3, [fp, #-140]
.L10:
	ldr	r3, [fp, #-140]
	cmp	r3, #9
	ble	.L11
	mov	r3, #0
	str	r3, [fp, #-160]
	ldr	r3, [fp, #-160]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r2, [fp, #-148]
	str	r2, [r3, #-44]
	b	.L4
.L9:
	ldr	r3, [fp, #-148]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-124]
	ldr	r2, [fp, #-152]
	cmp	r2, r3
	bne	.L4
	ldr	r3, [fp, #-160]
	add	r3, r3, #1
	str	r3, [fp, #-160]
	ldr	r3, [fp, #-160]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r2, [fp, #-148]
	str	r2, [r3, #-44]
.L4:
	ldr	r3, [fp, #-148]
	add	r3, r3, #1
	str	r3, [fp, #-148]
.L2:
	ldr	r3, [fp, #-148]
	cmp	r3, #9
	ble	.L12
	ldr	r3, [fp, #-160]
	cmp	r3, #0
	beq	.L13
	ldr	r0, .L27+12
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-136]
	b	.L14
.L17:
	ldr	r2, [fp, #-136]
	ldr	r3, [fp, #-160]
	cmp	r2, r3
	bne	.L15
	ldr	r3, [fp, #-136]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-44]
	mov	r1, r3
	ldr	r0, .L27+16
	bl	printf
	b	.L16
.L15:
	ldr	r3, [fp, #-136]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-44]
	mov	r1, r3
	ldr	r0, .L27+20
	bl	printf
.L16:
	ldr	r3, [fp, #-136]
	add	r3, r3, #1
	str	r3, [fp, #-136]
.L14:
	ldr	r2, [fp, #-136]
	ldr	r3, [fp, #-160]
	cmp	r2, r3
	ble	.L17
	ldr	r1, [fp, #-152]
	ldr	r0, .L27+24
	bl	printf
	b	.L18
.L13:
	ldr	r3, [fp, #-160]
	cmp	r3, #0
	bne	.L18
	ldr	r3, [fp, #-160]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-44]
	ldr	r2, [fp, #-152]
	mov	r1, r3
	ldr	r0, .L27+28
	bl	printf
.L18:
	ldr	r3, [fp, #-164]
	cmp	r3, #0
	beq	.L19
	ldr	r0, .L27+32
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-132]
	b	.L20
.L23:
	ldr	r2, [fp, #-132]
	ldr	r3, [fp, #-164]
	cmp	r2, r3
	bne	.L21
	ldr	r3, [fp, #-132]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-84]
	mov	r1, r3
	ldr	r0, .L27+16
	bl	printf
	b	.L22
.L21:
	ldr	r3, [fp, #-132]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-84]
	mov	r1, r3
	ldr	r0, .L27+20
	bl	printf
.L22:
	ldr	r3, [fp, #-132]
	add	r3, r3, #1
	str	r3, [fp, #-132]
.L20:
	ldr	r2, [fp, #-132]
	ldr	r3, [fp, #-164]
	cmp	r2, r3
	ble	.L23
	ldr	r1, [fp, #-156]
	ldr	r0, .L27+24
	bl	printf
	b	.L24
.L19:
	ldr	r3, [fp, #-164]
	cmp	r3, #0
	bne	.L24
	ldr	r3, [fp, #-164]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-84]
	ldr	r2, [fp, #-156]
	mov	r1, r3
	ldr	r0, .L27+36
	bl	printf
.L24:
	ldr	r0, .L27+40
	bl	puts
	mov	r3, #0
	ldr	r2, .L27
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L26
	bl	__stack_chk_fail
.L26:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L28:
	.align	2
.L27:
	.word	.LC10
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
