	.file	"540278.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC0:
	.string	"\nEnter number of elements to be entered - "
.LC1:
	.string	"%d"
.LC2:
	.string	"\nOverflow"
.LC3:
	.string	"\nEnter the elements - "
.LC4:
	.string	"%lf"
.LC5:
	.string	"\nElements before increment - "
.LC6:
	.string	"\nElements after increment - "
	.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
	lea	rdi, .LC0[rip]
	call	puts@PLT
	lea	rax, -184[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -184[rbp]
	cmp	eax, 20
	jle	.L2
	lea	rdi, .LC2[rip]
	call	puts@PLT
	mov	eax, 0
	jmp	.L6
.L2:
	lea	rdi, .LC3[rip]
	call	puts@PLT
	mov	DWORD PTR -180[rbp], 0
	jmp	.L4
.L5:
	lea	rdx, -176[rbp]
	mov	eax, DWORD PTR -180[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rsi, rax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	add	DWORD PTR -180[rbp], 1
.L4:
	mov	eax, DWORD PTR -184[rbp]
	cmp	DWORD PTR -180[rbp], eax
	jl	.L5
	lea	rdi, .LC5[rip]
	call	puts@PLT
	mov	edx, DWORD PTR -184[rbp]
	lea	rax, -176[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	display_array
	mov	edx, DWORD PTR -184[rbp]
	lea	rax, -176[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	increment_by_2
	lea	rdi, .LC6[rip]
	call	puts@PLT
	mov	edx, DWORD PTR -184[rbp]
	lea	rax, -176[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	display_array
	mov	edi, 10
	call	putchar@PLT
	mov	eax, 0
.L6:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L7
	call	__stack_chk_fail@PLT
.L7:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.globl	increment_by_2
	.type	increment_by_2, @function
increment_by_2:
.LFB1:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	mov	DWORD PTR -4[rbp], 0
	jmp	.L9
.L10:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR .LC7[rip]
	addsd	xmm0, xmm1
	movsd	QWORD PTR [rax], xmm0
	add	DWORD PTR -4[rbp], 1
.L9:
	mov	eax, DWORD PTR -4[rbp]
	cmp	eax, DWORD PTR -28[rbp]
	jl	.L10
	nop
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	increment_by_2, .-increment_by_2
	.section	.rodata
.LC8:
	.string	"\n%lf"
	.text
	.globl	display_array
	.type	display_array, @function
display_array:
.LFB2:
	.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	DWORD PTR -4[rbp], 0
	jmp	.L12
.L13:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	movq	xmm0, rax
	lea	rdi, .LC8[rip]
	mov	eax, 1
	call	printf@PLT
	add	DWORD PTR -4[rbp], 1
.L12:
	mov	eax, DWORD PTR -4[rbp]
	cmp	eax, DWORD PTR -28[rbp]
	jl	.L13
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	display_array, .-display_array
	.section	.rodata
	.align 8
.LC7:
	.long	0
	.long	1073741824
	.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	"540278.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"\012Enter number of elements to be entered - \000"
	.align	2
.LC1:
	.ascii	"%d\000"
	.align	2
.LC2:
	.ascii	"\012Overflow\000"
	.align	2
.LC3:
	.ascii	"\012Enter the elements - \000"
	.align	2
.LC4:
	.ascii	"%lf\000"
	.align	2
.LC5:
	.ascii	"\012Elements before increment - \000"
	.align	2
.LC6:
	.ascii	"\012Elements after increment - \000"
	.align	2
.LC7:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 176
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #176
	ldr	r3, .L8
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r0, .L8+4
	bl	puts
	sub	r3, fp, #180
	mov	r1, r3
	ldr	r0, .L8+8
	bl	__isoc99_scanf
	ldr	r3, [fp, #-180]
	cmp	r3, #20
	ble	.L2
	ldr	r0, .L8+12
	bl	puts
	mov	r3, #0
	b	.L6
.L2:
	ldr	r0, .L8+16
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-176]
	b	.L4
.L5:
	sub	r2, fp, #172
	ldr	r3, [fp, #-176]
	lsl	r3, r3, #3
	add	r3, r2, r3
	mov	r1, r3
	ldr	r0, .L8+20
	bl	__isoc99_scanf
	ldr	r3, [fp, #-176]
	add	r3, r3, #1
	str	r3, [fp, #-176]
.L4:
	ldr	r3, [fp, #-180]
	ldr	r2, [fp, #-176]
	cmp	r2, r3
	blt	.L5
	ldr	r0, .L8+24
	bl	puts
	ldr	r2, [fp, #-180]
	sub	r3, fp, #172
	mov	r1, r2
	mov	r0, r3
	bl	display_array
	ldr	r2, [fp, #-180]
	sub	r3, fp, #172
	mov	r1, r2
	mov	r0, r3
	bl	increment_by_2
	ldr	r0, .L8+28
	bl	puts
	ldr	r2, [fp, #-180]
	sub	r3, fp, #172
	mov	r1, r2
	mov	r0, r3
	bl	display_array
	mov	r0, #10
	bl	putchar
	mov	r3, #0
.L6:
	ldr	r2, .L8
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L7
	bl	__stack_chk_fail
.L7:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L9:
	.align	2
.L8:
	.word	.LC7
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.size	main, .-main
	.global	__aeabi_dadd
	.align	2
	.global	increment_by_2
	.syntax unified
	.arm
	.fpu softvfp
	.type	increment_by_2, %function
increment_by_2:
	@ 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	r3, #0
	str	r3, [fp, #-16]
	b	.L11
.L12:
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-24]
	add	r4, r2, r3
	mov	r2, #0
	mov	r3, #1073741824
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	stm	r4, {r2-r3}
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L11:
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-28]
	cmp	r2, r3
	blt	.L12
	nop
	nop
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
	.size	increment_by_2, .-increment_by_2
	.section	.rodata
	.align	2
.LC8:
	.ascii	"\012%lf\000"
	.text
	.align	2
	.global	display_array
	.syntax unified
	.arm
	.fpu softvfp
	.type	display_array, %function
display_array:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L14
.L15:
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	ldr	r0, .L16
	bl	printf
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L14:
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	blt	.L15
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L17:
	.align	2
.L16:
	.word	.LC8
	.size	display_array, .-display_array
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
