	.file	"203598.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC0:
	.string	"not enough memory to create array"
	.align 8
.LC1:
	.string	"enter a number or, type 'quit' and hit enter to exit"
.LC2:
	.string	"%s"
.LC3:
	.string	"quit"
.LC4:
	.string	"List of all numbers:"
.LC5:
	.string	"Total number of entries: %d\n"
.LC6:
	.string	"Sum of all numbers: %d\n"
.LC7:
	.string	"Average of all numbers: %.3f\n"
	.align 8
.LC8:
	.string	"Lowest number is %d and Highest number is %d\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, -999424[rsp]
.LPSRL0:
	sub	rsp, 4096
	or	DWORD PTR [rsp], 0
	cmp	rsp, r11
	jne	.LPSRL0
	sub	rsp, 640
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -1000044[rbp], 0
	mov	DWORD PTR -1000036[rbp], 0
	mov	DWORD PTR -1000028[rbp], 0
	mov	edi, 40000
	call	malloc@PLT
	mov	QWORD PTR -1000024[rbp], rax
	cmp	QWORD PTR -1000024[rbp], 0
	jne	.L2
	lea	rdi, .LC0[rip]
	call	puts@PLT
	mov	edi, 1
	call	exit@PLT
.L2:
	lea	rdi, .LC1[rip]
	call	puts@PLT
	lea	rdx, -1000016[rbp]
	mov	eax, DWORD PTR -1000044[rbp]
	cdqe
	imul	rax, rax, 1000
	add	rax, rdx
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdx, -1000016[rbp]
	mov	eax, DWORD PTR -1000044[rbp]
	cdqe
	imul	rax, rax, 1000
	add	rax, rdx
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L3
	sub	DWORD PTR -1000044[rbp], 1
	nop
	lea	rdi, .LC4[rip]
	call	puts@PLT
	mov	DWORD PTR -1000052[rbp], 0
	jmp	.L5
.L3:
	add	DWORD PTR -1000044[rbp], 1
	jmp	.L2
.L6:
	lea	rdx, -1000016[rbp]
	mov	eax, DWORD PTR -1000052[rbp]
	cdqe
	imul	rax, rax, 1000
	add	rax, rdx
	mov	rdi, rax
	call	puts@PLT
	add	DWORD PTR -1000052[rbp], 1
.L5:
	mov	eax, DWORD PTR -1000052[rbp]
	cmp	eax, DWORD PTR -1000044[rbp]
	jle	.L6
	mov	eax, DWORD PTR -1000044[rbp]
	add	eax, 1
	mov	esi, eax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -1000052[rbp], 0
	jmp	.L7
.L10:
	mov	DWORD PTR -1000048[rbp], 0
	mov	DWORD PTR -1000040[rbp], 0
	jmp	.L8
.L9:
	mov	edx, DWORD PTR -1000040[rbp]
	mov	eax, edx
	sal	eax, 2
	add	eax, edx
	add	eax, eax
	mov	ecx, eax
	mov	eax, DWORD PTR -1000048[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -1000052[rbp]
	cdqe
	imul	rax, rax, 1000
	add	rax, rbp
	add	rax, rdx
	sub	rax, 1000016
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	sub	eax, 48
	add	eax, ecx
	mov	DWORD PTR -1000040[rbp], eax
	add	DWORD PTR -1000048[rbp], 1
.L8:
	mov	eax, DWORD PTR -1000048[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -1000052[rbp]
	cdqe
	imul	rax, rax, 1000
	add	rax, rbp
	add	rax, rdx
	sub	rax, 1000016
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L9
	mov	eax, DWORD PTR -1000052[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -1000024[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -1000040[rbp]
	mov	DWORD PTR [rdx], eax
	mov	eax, DWORD PTR -1000040[rbp]
	add	DWORD PTR -1000036[rbp], eax
	add	DWORD PTR -1000052[rbp], 1
.L7:
	mov	eax, DWORD PTR -1000052[rbp]
	cmp	eax, DWORD PTR -1000044[rbp]
	jle	.L10
	mov	eax, DWORD PTR -1000036[rbp]
	mov	esi, eax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, DWORD PTR -1000036[rbp]
	mov	eax, DWORD PTR -1000044[rbp]
	add	eax, 1
	pxor	xmm1, xmm1
	cvtsi2ss	xmm1, eax
	divss	xmm0, xmm1
	pxor	xmm2, xmm2
	cvtss2sd	xmm2, xmm0
	movq	rax, xmm2
	movq	xmm0, rax
	lea	rdi, .LC7[rip]
	mov	eax, 1
	call	printf@PLT
	mov	rax, QWORD PTR -1000024[rbp]
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -1000032[rbp], eax
	mov	DWORD PTR -1000052[rbp], 0
	jmp	.L11
.L14:
	mov	eax, DWORD PTR -1000052[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -1000024[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	cmp	DWORD PTR -1000032[rbp], eax
	jle	.L12
	mov	eax, DWORD PTR -1000052[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -1000024[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -1000032[rbp], eax
.L12:
	mov	eax, DWORD PTR -1000052[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -1000024[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	cmp	DWORD PTR -1000028[rbp], eax
	jge	.L13
	mov	eax, DWORD PTR -1000052[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -1000024[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -1000028[rbp], eax
.L13:
	add	DWORD PTR -1000052[rbp], 1
.L11:
	mov	eax, DWORD PTR -1000052[rbp]
	cmp	eax, DWORD PTR -1000044[rbp]
	jle	.L14
	mov	edx, DWORD PTR -1000028[rbp]
	mov	eax, DWORD PTR -1000032[rbp]
	mov	esi, eax
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L16
	call	__stack_chk_fail@PLT
.L16:
	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	"203598.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"not enough memory to create array\000"
	.align	2
.LC1:
	.ascii	"enter a number or, type 'quit' and hit enter to exi"
	.ascii	"t\000"
	.align	2
.LC2:
	.ascii	"%s\000"
	.align	2
.LC3:
	.ascii	"quit\000"
	.align	2
.LC4:
	.ascii	"List of all numbers:\000"
	.align	2
.LC5:
	.ascii	"Total number of entries: %d\012\000"
	.align	2
.LC6:
	.ascii	"Sum of all numbers: %d\012\000"
	.global	__aeabi_i2f
	.global	__aeabi_fdiv
	.global	__aeabi_f2d
	.align	2
.LC7:
	.ascii	"Average of all numbers: %.3f\012\000"
	.align	2
.LC8:
	.ascii	"Lowest number is %d and Highest number is %d\012\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 = 1000040
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #999424
	sub	sp, sp, #620
	ldr	r3, .L17
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	sub	r3, fp, #999424
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-604]
	sub	r3, fp, #999424
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-596]
	sub	r3, fp, #999424
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-588]
	sub	r3, fp, #999424
	sub	r3, r3, #12
	mov	r4, r3
	ldr	r0, .L17+4
	bl	malloc
	mov	r3, r0
	str	r3, [r4, #-584]
	sub	r3, fp, #999424
	sub	r3, r3, #12
	ldr	r3, [r3, #-584]
	cmp	r3, #0
	bne	.L2
	ldr	r0, .L17+8
	bl	puts
	mov	r0, #1
	bl	exit
.L2:
	ldr	r0, .L17+12
	bl	puts
	sub	r2, fp, #999424
	sub	r2, r2, #12
	sub	r2, r2, #580
	sub	r3, fp, #999424
	sub	r3, r3, #12
	ldr	r1, [r3, #-604]
	mov	r3, r1
	lsl	r3, r3, #5
	sub	r3, r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r1
	lsl	r3, r3, #3
	add	r3, r2, r3
	mov	r1, r3
	ldr	r0, .L17+16
	bl	__isoc99_scanf
	sub	r2, fp, #999424
	sub	r2, r2, #12
	sub	r2, r2, #580
	sub	r3, fp, #999424
	sub	r3, r3, #12
	ldr	r1, [r3, #-604]
	mov	r3, r1
	lsl	r3, r3, #5
	sub	r3, r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r1
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldr	r1, .L17+20
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L3
	sub	r3, fp, #999424
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #999424
	sub	r3, r3, #12
	ldr	r3, [r3, #-604]
	sub	r3, r3, #1
	str	r3, [r2, #-604]
	nop
	ldr	r0, .L17+24
	bl	puts
	sub	r3, fp, #999424
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-612]
	b	.L5
.L3:
	sub	r3, fp, #999424
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #999424
	sub	r3, r3, #12
	ldr	r3, [r3, #-604]
	add	r3, r3, #1
	str	r3, [r2, #-604]
	b	.L2
.L6:
	sub	r2, fp, #999424
	sub	r2, r2, #12
	sub	r2, r2, #580
	sub	r3, fp, #999424
	sub	r3, r3, #12
	ldr	r1, [r3, #-612]
	mov	r3, r1
	lsl	r3, r3, #5
	sub	r3, r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r1
	lsl	r3, r3, #3
	add	r3, r2, r3
	mov	r0, r3
	bl	puts
	sub	r3, fp, #999424
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #999424
	sub	r3, r3, #12
	ldr	r3, [r3, #-612]
	add	r3, r3, #1
	str	r3, [r2, #-612]
.L5:
	sub	r3, fp, #999424
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #999424
	sub	r3, r3, #12
	ldr	r2, [r2, #-612]
	ldr	r3, [r3, #-604]
	cmp	r2, r3
	ble	.L6
	sub	r3, fp, #999424
	sub	r3, r3, #12
	ldr	r3, [r3, #-604]
	add	r3, r3, #1
	mov	r1, r3
	ldr	r0, .L17+28
	bl	printf
	sub	r3, fp, #999424
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-612]
	b	.L7
.L10:
	sub	r3, fp, #999424
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-608]
	sub	r3, fp, #999424
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-600]
	b	.L8
.L9:
	sub	r3, fp, #999424
	sub	r3, r3, #12
	ldr	r2, [r3, #-600]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	mov	r1, r3
	sub	r3, fp, #999424
	sub	r3, r3, #12
	mov	r0, r3
	sub	r3, fp, #999424
	sub	r3, r3, #12
	ldr	r2, [r3, #-612]
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r2, r0, r3
	sub	r3, fp, #999424
	sub	r3, r3, #12
	ldr	r3, [r3, #-608]
	add	r3, r2, r3
	sub	r3, r3, #580
	ldrb	r3, [r3]	@ zero_extendqisi2
	sub	r3, r3, #48
	sub	r2, fp, #999424
	sub	r2, r2, #12
	add	r3, r1, r3
	str	r3, [r2, #-600]
	sub	r3, fp, #999424
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #999424
	sub	r3, r3, #12
	ldr	r3, [r3, #-608]
	add	r3, r3, #1
	str	r3, [r2, #-608]
.L8:
	sub	r3, fp, #999424
	sub	r3, r3, #12
	mov	r1, r3
	sub	r3, fp, #999424
	sub	r3, r3, #12
	ldr	r2, [r3, #-612]
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r2, r1, r3
	sub	r3, fp, #999424
	sub	r3, r3, #12
	ldr	r3, [r3, #-608]
	add	r3, r2, r3
	sub	r3, r3, #580
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L9
	sub	r3, fp, #999424
	sub	r3, r3, #12
	ldr	r3, [r3, #-612]
	lsl	r3, r3, #2
	sub	r2, fp, #999424
	sub	r2, r2, #12
	ldr	r2, [r2, #-584]
	add	r3, r2, r3
	sub	r2, fp, #999424
	sub	r2, r2, #12
	ldr	r2, [r2, #-600]
	str	r2, [r3]
	sub	r3, fp, #999424
	sub	r3, r3, #12
	mov	r1, r3
	sub	r3, fp, #999424
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #999424
	sub	r3, r3, #12
	ldr	r2, [r2, #-596]
	ldr	r3, [r3, #-600]
	add	r3, r2, r3
	str	r3, [r1, #-596]
	sub	r3, fp, #999424
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #999424
	sub	r3, r3, #12
	ldr	r3, [r3, #-612]
	add	r3, r3, #1
	str	r3, [r2, #-612]
.L7:
	sub	r3, fp, #999424
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #999424
	sub	r3, r3, #12
	ldr	r2, [r2, #-612]
	ldr	r3, [r3, #-604]
	cmp	r2, r3
	ble	.L10
	sub	r3, fp, #999424
	sub	r3, r3, #12
	ldr	r1, [r3, #-596]
	ldr	r0, .L17+32
	bl	printf
	sub	r3, fp, #999424
	sub	r3, r3, #12
	ldr	r0, [r3, #-596]
	bl	__aeabi_i2f
	mov	r4, r0
	sub	r3, fp, #999424
	sub	r3, r3, #12
	ldr	r3, [r3, #-604]
	add	r3, r3, #1
	mov	r0, r3
	bl	__aeabi_i2f
	mov	r3, r0
	mov	r1, r3
	mov	r0, r4
	bl	__aeabi_fdiv
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L17+36
	bl	printf
	sub	r3, fp, #999424
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #999424
	sub	r3, r3, #12
	ldr	r3, [r3, #-584]
	ldr	r3, [r3]
	str	r3, [r2, #-592]
	sub	r3, fp, #999424
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-612]
	b	.L11
.L14:
	sub	r3, fp, #999424
	sub	r3, r3, #12
	ldr	r3, [r3, #-612]
	lsl	r3, r3, #2
	sub	r2, fp, #999424
	sub	r2, r2, #12
	ldr	r2, [r2, #-584]
	add	r3, r2, r3
	ldr	r3, [r3]
	sub	r2, fp, #999424
	sub	r2, r2, #12
	ldr	r2, [r2, #-592]
	cmp	r2, r3
	ble	.L12
	sub	r3, fp, #999424
	sub	r3, r3, #12
	ldr	r3, [r3, #-612]
	lsl	r3, r3, #2
	sub	r2, fp, #999424
	sub	r2, r2, #12
	ldr	r2, [r2, #-584]
	add	r3, r2, r3
	sub	r2, fp, #999424
	sub	r2, r2, #12
	ldr	r3, [r3]
	str	r3, [r2, #-592]
.L12:
	sub	r3, fp, #999424
	sub	r3, r3, #12
	ldr	r3, [r3, #-612]
	lsl	r3, r3, #2
	sub	r2, fp, #999424
	sub	r2, r2, #12
	ldr	r2, [r2, #-584]
	add	r3, r2, r3
	ldr	r3, [r3]
	sub	r2, fp, #999424
	sub	r2, r2, #12
	ldr	r2, [r2, #-588]
	cmp	r2, r3
	bge	.L13
	sub	r3, fp, #999424
	sub	r3, r3, #12
	ldr	r3, [r3, #-612]
	lsl	r3, r3, #2
	sub	r2, fp, #999424
	sub	r2, r2, #12
	ldr	r2, [r2, #-584]
	add	r3, r2, r3
	sub	r2, fp, #999424
	sub	r2, r2, #12
	ldr	r3, [r3]
	str	r3, [r2, #-588]
.L13:
	sub	r3, fp, #999424
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #999424
	sub	r3, r3, #12
	ldr	r3, [r3, #-612]
	add	r3, r3, #1
	str	r3, [r2, #-612]
.L11:
	sub	r3, fp, #999424
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #999424
	sub	r3, r3, #12
	ldr	r2, [r2, #-612]
	ldr	r3, [r3, #-604]
	cmp	r2, r3
	ble	.L14
	sub	r3, fp, #999424
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #999424
	sub	r3, r3, #12
	ldr	r2, [r2, #-588]
	ldr	r1, [r3, #-592]
	ldr	r0, .L17+40
	bl	printf
	mov	r3, #0
	ldr	r2, .L17
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L16
	bl	__stack_chk_fail
.L16:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L18:
	.align	2
.L17:
	.word	.LC9
	.word	40000
	.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
