	.file	"875828.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC1:
	.string	"Enter a number: "
.LC2:
	.string	"%f"
	.align 8
.LC4:
	.string	"There are %d numbers in this iteration\n"
.LC5:
	.string	"Input Array    2nd Array"
.LC6:
	.string	"%11f    %10f\n"
.LC7:
	.string	"Sum1: %f Sum2: %f\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, 208
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -196[rbp], 0
	mov	DWORD PTR -192[rbp], 0
	mov	DWORD PTR -188[rbp], 0
	pxor	xmm0, xmm0
	movss	DWORD PTR -184[rbp], xmm0
	pxor	xmm0, xmm0
	movss	DWORD PTR -180[rbp], xmm0
	jmp	.L2
.L7:
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -200[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	movss	xmm0, DWORD PTR -200[rbp]
	pxor	xmm1, xmm1
	ucomiss	xmm0, xmm1
	jp	.L15
	pxor	xmm1, xmm1
	ucomiss	xmm0, xmm1
	je	.L3
.L15:
	movss	xmm0, DWORD PTR -200[rbp]
	comiss	xmm0, DWORD PTR .LC3[rip]
	jb	.L16
.L3:
	mov	DWORD PTR -196[rbp], 1
	jmp	.L2
.L16:
	movss	xmm0, DWORD PTR -200[rbp]
	mov	eax, DWORD PTR -192[rbp]
	cdqe
	movss	DWORD PTR -176[rbp+rax*4], xmm0
	add	DWORD PTR -192[rbp], 1
.L2:
	cmp	DWORD PTR -196[rbp], 0
	je	.L7
	mov	edi, 10
	call	putchar@PLT
	mov	eax, DWORD PTR -192[rbp]
	mov	esi, eax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 10
	call	putchar@PLT
	cmp	DWORD PTR -192[rbp], 0
	jle	.L8
	lea	rdi, .LC5[rip]
	call	puts@PLT
	mov	DWORD PTR -188[rbp], 0
	jmp	.L9
.L12:
	mov	eax, DWORD PTR -188[rbp]
	and	eax, 1
	test	eax, eax
	jne	.L10
	mov	eax, DWORD PTR -188[rbp]
	cdqe
	movss	xmm0, DWORD PTR -176[rbp+rax*4]
	addss	xmm0, xmm0
	mov	eax, DWORD PTR -188[rbp]
	cdqe
	movss	DWORD PTR -96[rbp+rax*4], xmm0
	jmp	.L11
.L10:
	mov	eax, DWORD PTR -188[rbp]
	cdqe
	movss	xmm0, DWORD PTR -176[rbp+rax*4]
	pxor	xmm2, xmm2
	cvtss2sd	xmm2, xmm0
	movq	rax, xmm2
	movq	xmm0, rax
	call	cbrt@PLT
	cvtsd2ss	xmm0, xmm0
	mov	eax, DWORD PTR -188[rbp]
	cdqe
	movss	DWORD PTR -96[rbp+rax*4], xmm0
.L11:
	mov	eax, DWORD PTR -188[rbp]
	cdqe
	movss	xmm0, DWORD PTR -96[rbp+rax*4]
	cvtss2sd	xmm0, xmm0
	mov	eax, DWORD PTR -188[rbp]
	cdqe
	movss	xmm1, DWORD PTR -176[rbp+rax*4]
	pxor	xmm3, xmm3
	cvtss2sd	xmm3, xmm1
	movq	rax, xmm3
	movapd	xmm1, xmm0
	movq	xmm0, rax
	lea	rdi, .LC6[rip]
	mov	eax, 2
	call	printf@PLT
	mov	eax, DWORD PTR -188[rbp]
	cdqe
	movss	xmm0, DWORD PTR -176[rbp+rax*4]
	movss	xmm1, DWORD PTR -184[rbp]
	addss	xmm0, xmm1
	movss	DWORD PTR -184[rbp], xmm0
	mov	eax, DWORD PTR -188[rbp]
	cdqe
	movss	xmm0, DWORD PTR -96[rbp+rax*4]
	movss	xmm1, DWORD PTR -180[rbp]
	addss	xmm0, xmm1
	movss	DWORD PTR -180[rbp], xmm0
	add	DWORD PTR -188[rbp], 1
.L9:
	mov	eax, DWORD PTR -188[rbp]
	cmp	eax, DWORD PTR -192[rbp]
	jl	.L12
	pxor	xmm0, xmm0
	cvtss2sd	xmm0, DWORD PTR -180[rbp]
	pxor	xmm4, xmm4
	cvtss2sd	xmm4, DWORD PTR -184[rbp]
	movq	rax, xmm4
	movapd	xmm1, xmm0
	movq	xmm0, rax
	lea	rdi, .LC7[rip]
	mov	eax, 2
	call	printf@PLT
.L8:
	mov	eax, 0
	mov	rdx, QWORD PTR -8[rbp]
	sub	rdx, QWORD PTR fs:40
	je	.L14
	call	__stack_chk_fail@PLT
.L14:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.section	.rodata
	.align 4
.LC3:
	.long	1101004800
	.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	"875828.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Enter a number: \000"
	.align	2
.LC1:
	.ascii	"%f\000"
	.global	__aeabi_fcmpeq
	.global	__aeabi_fcmpge
	.align	2
.LC2:
	.ascii	"There are %d numbers in this iteration\012\000"
	.align	2
.LC3:
	.ascii	"Input Array    2nd Array\000"
	.global	__aeabi_fadd
	.global	__aeabi_f2d
	.global	__aeabi_d2f
	.align	2
.LC4:
	.ascii	"%11f    %10f\012\000"
	.align	2
.LC5:
	.ascii	"Sum1: %f Sum2: %f\012\000"
	.align	2
.LC6:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 192
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #200
	ldr	r3, .L15
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-196]
	mov	r3, #0
	str	r3, [fp, #-192]
	mov	r3, #0
	str	r3, [fp, #-188]
	mov	r3, #0
	str	r3, [fp, #-184]	@ float
	mov	r3, #0
	str	r3, [fp, #-180]	@ float
	b	.L2
.L6:
	ldr	r0, .L15+4
	bl	printf
	sub	r3, fp, #200
	mov	r1, r3
	ldr	r0, .L15+8
	bl	__isoc99_scanf
	ldr	r3, [fp, #-200]	@ float
	mov	r1, #0
	mov	r0, r3
	bl	__aeabi_fcmpeq
	mov	r3, r0
	cmp	r3, #0
	bne	.L3
	ldr	r3, [fp, #-200]	@ float
	ldr	r1, .L15+12
	mov	r0, r3
	bl	__aeabi_fcmpge
	mov	r3, r0
	cmp	r3, #0
	beq	.L14
.L3:
	mov	r3, #1
	str	r3, [fp, #-196]
	b	.L2
.L14:
	ldr	r2, [fp, #-200]	@ float
	ldr	r3, [fp, #-192]
	lsl	r3, r3, #2
	sub	r1, fp, #12
	add	r3, r1, r3
	str	r2, [r3, #-164]	@ float
	ldr	r3, [fp, #-192]
	add	r3, r3, #1
	str	r3, [fp, #-192]
.L2:
	ldr	r3, [fp, #-196]
	cmp	r3, #0
	beq	.L6
	mov	r0, #10
	bl	putchar
	ldr	r1, [fp, #-192]
	ldr	r0, .L15+16
	bl	printf
	mov	r0, #10
	bl	putchar
	ldr	r3, [fp, #-192]
	cmp	r3, #0
	ble	.L7
	ldr	r0, .L15+20
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-188]
	b	.L8
.L11:
	ldr	r3, [fp, #-188]
	and	r3, r3, #1
	cmp	r3, #0
	bne	.L9
	ldr	r3, [fp, #-188]
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r3, [r3, #-164]	@ float
	mov	r1, r3
	mov	r0, r3
	bl	__aeabi_fadd
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-188]
	lsl	r3, r3, #2
	sub	r1, fp, #12
	add	r3, r1, r3
	str	r2, [r3, #-84]	@ float
	b	.L10
.L9:
	ldr	r3, [fp, #-188]
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r3, [r3, #-164]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	cbrt
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	mov	r2, r0
	ldr	r3, [fp, #-188]
	lsl	r3, r3, #2
	sub	r1, fp, #12
	add	r3, r1, r3
	str	r2, [r3, #-84]	@ float
.L10:
	ldr	r3, [fp, #-188]
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r3, [r3, #-164]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r4, r0
	mov	r5, r1
	ldr	r3, [fp, #-188]
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r3, [r3, #-84]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	stm	sp, {r2-r3}
	mov	r2, r4
	mov	r3, r5
	ldr	r0, .L15+24
	bl	printf
	ldr	r3, [fp, #-188]
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r3, [r3, #-164]	@ float
	mov	r1, r3
	ldr	r0, [fp, #-184]	@ float
	bl	__aeabi_fadd
	mov	r3, r0
	str	r3, [fp, #-184]	@ float
	ldr	r3, [fp, #-188]
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r3, [r3, #-84]	@ float
	mov	r1, r3
	ldr	r0, [fp, #-180]	@ float
	bl	__aeabi_fadd
	mov	r3, r0
	str	r3, [fp, #-180]	@ float
	ldr	r3, [fp, #-188]
	add	r3, r3, #1
	str	r3, [fp, #-188]
.L8:
	ldr	r2, [fp, #-188]
	ldr	r3, [fp, #-192]
	cmp	r2, r3
	blt	.L11
	ldr	r0, [fp, #-184]	@ float
	bl	__aeabi_f2d
	mov	r4, r0
	mov	r5, r1
	ldr	r0, [fp, #-180]	@ float
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	stm	sp, {r2-r3}
	mov	r2, r4
	mov	r3, r5
	ldr	r0, .L15+28
	bl	printf
.L7:
	mov	r3, #0
	ldr	r2, .L15
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L13
	bl	__stack_chk_fail
.L13:
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L16:
	.align	2
.L15:
	.word	.LC6
	.word	.LC0
	.word	.LC1
	.word	1101004800
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
