	.file	"978319.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC4:
	.string	"element %zu is %g,\tits squares is %g \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
	sub	rsp, 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -48[rbp], 0
	mov	QWORD PTR -40[rbp], 0
	mov	QWORD PTR -32[rbp], 0
	mov	QWORD PTR -24[rbp], 0
	mov	QWORD PTR -16[rbp], 0
	movsd	xmm0, QWORD PTR .LC0[rip]
	movsd	QWORD PTR -48[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC1[rip]
	movsd	QWORD PTR -40[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC2[rip]
	movsd	QWORD PTR -24[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC3[rip]
	movsd	QWORD PTR -16[rbp], xmm0
	mov	QWORD PTR -56[rbp], 0
	jmp	.L2
.L4:
	cmp	QWORD PTR -56[rbp], 0
	je	.L3
	mov	rax, QWORD PTR -56[rbp]
	movsd	xmm1, QWORD PTR -48[rbp+rax*8]
	mov	rax, QWORD PTR -56[rbp]
	movsd	xmm0, QWORD PTR -48[rbp+rax*8]
	mulsd	xmm0, xmm1
	mov	rax, QWORD PTR -56[rbp]
	mov	rdx, QWORD PTR -48[rbp+rax*8]
	mov	rax, QWORD PTR -56[rbp]
	movapd	xmm1, xmm0
	movq	xmm0, rdx
	mov	rsi, rax
	lea	rdi, .LC4[rip]
	mov	eax, 2
	call	printf@PLT
.L3:
	add	QWORD PTR -56[rbp], 1
.L2:
	cmp	QWORD PTR -56[rbp], 4
	jbe	.L4
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L6
	call	__stack_chk_fail@PLT
.L6:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC0:
	.long	0
	.long	1075970048
	.align 8
.LC1:
	.long	858993459
	.long	1074213683
	.align 8
.LC2:
	.long	-674825262
	.long	1058167198
	.align 8
.LC3:
	.long	1111229401
	.long	1161351359
	.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	"978319.c"
	.text
	.global	__aeabi_dmul
	.section	.rodata
	.align	2
.LC0:
	.ascii	"element %zu is %g,\011its squares is %g \012\000"
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 56
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #64
	ldr	r3, .L7
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	sub	r3, fp, #60
	mov	r2, #40
	mov	r1, #0
	mov	r0, r3
	bl	memset
	mov	r2, #0
	ldr	r3, .L7+4
	str	r2, [fp, #-60]
	str	r3, [fp, #-56]
	ldr	r2, .L7+8
	ldr	r3, .L7+12
	str	r2, [fp, #-52]
	str	r3, [fp, #-48]
	ldr	r2, .L7+16
	ldr	r3, .L7+20
	str	r2, [fp, #-36]
	str	r3, [fp, #-32]
	ldr	r2, .L7+24
	ldr	r3, .L7+28
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-64]
	b	.L2
.L4:
	ldr	r3, [fp, #-64]
	cmp	r3, #0
	beq	.L3
	ldr	r3, [fp, #-64]
	lsl	r3, r3, #3
	sub	r2, fp, #12
	add	r3, r2, r3
	sub	r3, r3, #48
	ldmia	r3, {r4-r5}
	ldr	r3, [fp, #-64]
	lsl	r3, r3, #3
	sub	r2, fp, #12
	add	r3, r2, r3
	sub	r3, r3, #48
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-64]
	lsl	r3, r3, #3
	sub	r2, fp, #12
	add	r3, r2, r3
	sub	r3, r3, #48
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	stm	sp, {r2-r3}
	mov	r2, r4
	mov	r3, r5
	ldr	r1, [fp, #-64]
	ldr	r0, .L7+32
	bl	printf
.L3:
	ldr	r3, [fp, #-64]
	add	r3, r3, #1
	str	r3, [fp, #-64]
.L2:
	ldr	r3, [fp, #-64]
	cmp	r3, #4
	bls	.L4
	mov	r3, #0
	ldr	r2, .L7
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L6
	bl	__stack_chk_fail
.L6:
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L8:
	.align	2
.L7:
	.word	.LC1
	.word	1075970048
	.word	858993459
	.word	1074213683
	.word	-674825262
	.word	1058167198
	.word	1111229401
	.word	1161351359
	.word	.LC0
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
