	.file	"702863.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC0:
	.string	"Gerar aleatoriamente 10 elementos para um vetorA !!!\n"
.LC1:
	.string	"INDICE     VALOR"
.LC2:
	.string	"%d           %d\n"
.LC3:
	.string	"\n"
	.align 8
.LC4:
	.string	"A) A soma dos elementos armazenados no VetorA que s\303\243o inferiores a 100 foi de: %d\n"
	.align 8
.LC5:
	.string	"B) A quantidade de elementos armazenados nesse vetor que s\303\243o iguais a 100 foi de: %d\n"
	.align 8
.LC6:
	.string	"C) A media dos elementos armazenados nesse vetor que s\303\243o superiores a 100 foi de %.2f\n"
.LC7:
	.string	"Impossivel fazer media !!!"
	.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, 80
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -68[rbp], 0
	mov	DWORD PTR -64[rbp], 0
	mov	DWORD PTR -60[rbp], 0
	mov	DWORD PTR -56[rbp], 0
	lea	rax, -48[rbp]
	mov	esi, 100
	mov	rdi, rax
	mov	eax, 0
	call	GVA
	lea	rdi, .LC0[rip]
	call	puts@PLT
	lea	rdi, .LC1[rip]
	call	puts@PLT
	mov	DWORD PTR -72[rbp], 0
	jmp	.L2
.L3:
	mov	eax, DWORD PTR -72[rbp]
	cdqe
	mov	edx, DWORD PTR -48[rbp+rax*4]
	mov	eax, DWORD PTR -72[rbp]
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -72[rbp], 1
.L2:
	cmp	DWORD PTR -72[rbp], 9
	jle	.L3
	lea	rdi, .LC3[rip]
	call	puts@PLT
	mov	DWORD PTR -72[rbp], 0
	jmp	.L4
.L8:
	mov	eax, DWORD PTR -72[rbp]
	cdqe
	mov	eax, DWORD PTR -48[rbp+rax*4]
	cmp	eax, 100
	jg	.L5
	mov	eax, DWORD PTR -72[rbp]
	cdqe
	mov	eax, DWORD PTR -48[rbp+rax*4]
	add	DWORD PTR -68[rbp], eax
.L5:
	lea	rax, -48[rbp]
	cmp	rax, 100
	jne	.L6
	add	DWORD PTR -60[rbp], 1
.L6:
	mov	eax, DWORD PTR -72[rbp]
	cdqe
	mov	eax, DWORD PTR -48[rbp+rax*4]
	cmp	eax, 100
	jle	.L7
	mov	eax, DWORD PTR -72[rbp]
	cdqe
	mov	eax, DWORD PTR -48[rbp+rax*4]
	add	DWORD PTR -64[rbp], eax
	add	DWORD PTR -56[rbp], 1
.L7:
	add	DWORD PTR -72[rbp], 1
.L4:
	cmp	DWORD PTR -72[rbp], 9
	jle	.L8
	mov	eax, DWORD PTR -68[rbp]
	mov	esi, eax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -60[rbp]
	mov	esi, eax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	cmp	DWORD PTR -56[rbp], 0
	je	.L9
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, DWORD PTR -64[rbp]
	pxor	xmm1, xmm1
	cvtsi2ss	xmm1, DWORD PTR -56[rbp]
	divss	xmm0, xmm1
	movss	DWORD PTR -52[rbp], xmm0
	pxor	xmm2, xmm2
	cvtss2sd	xmm2, DWORD PTR -52[rbp]
	movq	rax, xmm2
	movq	xmm0, rax
	lea	rdi, .LC6[rip]
	mov	eax, 1
	call	printf@PLT
	jmp	.L10
.L9:
	lea	rdi, .LC7[rip]
	call	puts@PLT
.L10:
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L12
	call	__stack_chk_fail@PLT
.L12:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.globl	GVA
	.type	GVA, @function
GVA:
.LFB1:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	mov	edi, 0
	mov	eax, 0
	call	time@PLT
	mov	edi, eax
	mov	eax, 0
	call	srand@PLT
	mov	DWORD PTR -4[rbp], 0
	jmp	.L14
.L15:
	mov	eax, 0
	call	rand@PLT
	mov	edx, DWORD PTR -28[rbp]
	lea	esi, 1[rdx]
	mov	edx, DWORD PTR -4[rbp]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*4]
	mov	rdx, QWORD PTR -24[rbp]
	add	rcx, rdx
	cdq
	idiv	esi
	mov	eax, edx
	mov	DWORD PTR [rcx], eax
	add	DWORD PTR -4[rbp], 1
.L14:
	cmp	DWORD PTR -4[rbp], 9
	jle	.L15
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	GVA, .-GVA
	.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	"702863.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Gerar aleatoriamente 10 elementos para um vetorA !!"
	.ascii	"!\012\000"
	.align	2
.LC1:
	.ascii	"INDICE     VALOR\000"
	.align	2
.LC2:
	.ascii	"%d           %d\012\000"
	.align	2
.LC3:
	.ascii	"\012\000"
	.align	2
.LC4:
	.ascii	"A) A soma dos elementos armazenados no VetorA que s"
	.ascii	"\303\243o inferiores a 100 foi de: %d\012\000"
	.align	2
.LC5:
	.ascii	"B) A quantidade de elementos armazenados nesse veto"
	.ascii	"r que s\303\243o iguais a 100 foi de: %d\012\000"
	.global	__aeabi_i2f
	.global	__aeabi_fdiv
	.global	__aeabi_f2d
	.align	2
.LC6:
	.ascii	"C) A media dos elementos armazenados nesse vetor qu"
	.ascii	"e s\303\243o superiores a 100 foi de %.2f\012\000"
	.align	2
.LC7:
	.ascii	"Impossivel fazer media !!!\000"
	.align	2
.LC8:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 72
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #76
	ldr	r3, .L13
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-76]
	mov	r3, #0
	str	r3, [fp, #-72]
	mov	r3, #0
	str	r3, [fp, #-68]
	mov	r3, #0
	str	r3, [fp, #-64]
	sub	r3, fp, #56
	mov	r1, #100
	mov	r0, r3
	bl	GVA
	ldr	r0, .L13+4
	bl	puts
	ldr	r0, .L13+8
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-80]
	b	.L2
.L3:
	ldr	r3, [fp, #-80]
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r3, [r3, #-44]
	mov	r2, r3
	ldr	r1, [fp, #-80]
	ldr	r0, .L13+12
	bl	printf
	ldr	r3, [fp, #-80]
	add	r3, r3, #1
	str	r3, [fp, #-80]
.L2:
	ldr	r3, [fp, #-80]
	cmp	r3, #9
	ble	.L3
	ldr	r0, .L13+16
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-80]
	b	.L4
.L8:
	ldr	r3, [fp, #-80]
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r3, [r3, #-44]
	cmp	r3, #100
	bgt	.L5
	ldr	r3, [fp, #-80]
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r3, [r3, #-44]
	ldr	r2, [fp, #-76]
	add	r3, r2, r3
	str	r3, [fp, #-76]
.L5:
	sub	r3, fp, #56
	cmp	r3, #100
	bne	.L6
	ldr	r3, [fp, #-68]
	add	r3, r3, #1
	str	r3, [fp, #-68]
.L6:
	ldr	r3, [fp, #-80]
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r3, [r3, #-44]
	cmp	r3, #100
	ble	.L7
	ldr	r3, [fp, #-80]
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r3, [r3, #-44]
	ldr	r2, [fp, #-72]
	add	r3, r2, r3
	str	r3, [fp, #-72]
	ldr	r3, [fp, #-64]
	add	r3, r3, #1
	str	r3, [fp, #-64]
.L7:
	ldr	r3, [fp, #-80]
	add	r3, r3, #1
	str	r3, [fp, #-80]
.L4:
	ldr	r3, [fp, #-80]
	cmp	r3, #9
	ble	.L8
	ldr	r1, [fp, #-76]
	ldr	r0, .L13+20
	bl	printf
	ldr	r1, [fp, #-68]
	ldr	r0, .L13+24
	bl	printf
	ldr	r3, [fp, #-64]
	cmp	r3, #0
	beq	.L9
	ldr	r0, [fp, #-72]
	bl	__aeabi_i2f
	mov	r4, r0
	ldr	r0, [fp, #-64]
	bl	__aeabi_i2f
	mov	r3, r0
	mov	r1, r3
	mov	r0, r4
	bl	__aeabi_fdiv
	mov	r3, r0
	str	r3, [fp, #-60]	@ float
	ldr	r0, [fp, #-60]	@ float
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L13+28
	bl	printf
	b	.L10
.L9:
	ldr	r0, .L13+32
	bl	puts
.L10:
	mov	r3, #0
	ldr	r2, .L13
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L12
	bl	__stack_chk_fail
.L12:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L14:
	.align	2
.L13:
	.word	.LC8
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.size	main, .-main
	.global	__aeabi_idivmod
	.align	2
	.global	GVA
	.syntax unified
	.arm
	.fpu softvfp
	.type	GVA, %function
GVA:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #20
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	mov	r0, #0
	bl	time
	mov	r3, r0
	mov	r0, r3
	bl	srand
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L16
.L17:
	bl	rand
	ldr	r3, [fp, #-28]
	add	r1, r3, #1
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-24]
	add	r4, r2, r3
	bl	__aeabi_idivmod
	mov	r3, r1
	str	r3, [r4]
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L16:
	ldr	r3, [fp, #-16]
	cmp	r3, #9
	ble	.L17
	nop
	nop
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
	.size	GVA, .-GVA
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
