	.file	"102680.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"Enter the number of entries "
.LC1:
	.string	"%d"
.LC2:
	.string	"x%d = "
.LC3:
	.string	"%lf"
.LC4:
	.string	"y%d = "
	.align 8
.LC5:
	.string	"\nEnter xi where interpolation is required"
	.align 8
.LC8:
	.string	"\nThe interpolated value of y at xi = %lf is %lf\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, 3424
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -3412[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	DWORD PTR -3408[rbp], 0
	jmp	.L2
.L3:
	mov	eax, DWORD PTR -3408[rbp]
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdx, -3376[rbp]
	mov	eax, DWORD PTR -3408[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -3408[rbp]
	mov	esi, eax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rcx, -3216[rbp]
	mov	eax, DWORD PTR -3408[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 5
	add	rax, rcx
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	add	DWORD PTR -3408[rbp], 1
.L2:
	mov	eax, DWORD PTR -3412[rbp]
	cmp	DWORD PTR -3408[rbp], eax
	jl	.L3
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -3400[rbp]
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	DWORD PTR -3404[rbp], 1
	jmp	.L4
.L7:
	mov	DWORD PTR -3408[rbp], 0
	jmp	.L5
.L6:
	mov	eax, DWORD PTR -3408[rbp]
	lea	edx, 1[rax]
	mov	eax, DWORD PTR -3404[rbp]
	sub	eax, 1
	movsx	rcx, eax
	movsx	rdx, edx
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, rcx
	movsd	xmm0, QWORD PTR -3216[rbp+rax*8]
	mov	eax, DWORD PTR -3404[rbp]
	sub	eax, 1
	movsx	rcx, eax
	mov	eax, DWORD PTR -3408[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, rcx
	movsd	xmm1, QWORD PTR -3216[rbp+rax*8]
	subsd	xmm0, xmm1
	mov	edx, DWORD PTR -3408[rbp]
	mov	eax, DWORD PTR -3404[rbp]
	add	eax, edx
	cdqe
	movsd	xmm1, QWORD PTR -3376[rbp+rax*8]
	mov	eax, DWORD PTR -3408[rbp]
	cdqe
	movsd	xmm2, QWORD PTR -3376[rbp+rax*8]
	subsd	xmm1, xmm2
	divsd	xmm0, xmm1
	mov	eax, DWORD PTR -3404[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -3408[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, rcx
	movsd	QWORD PTR -3216[rbp+rax*8], xmm0
	add	DWORD PTR -3408[rbp], 1
.L5:
	mov	eax, DWORD PTR -3412[rbp]
	sub	eax, 1
	cmp	DWORD PTR -3408[rbp], eax
	jl	.L6
	add	DWORD PTR -3404[rbp], 1
.L4:
	mov	eax, DWORD PTR -3412[rbp]
	cmp	DWORD PTR -3404[rbp], eax
	jl	.L7
	pxor	xmm0, xmm0
	movsd	QWORD PTR -3392[rbp], xmm0
	mov	DWORD PTR -3408[rbp], 1
	jmp	.L8
.L11:
	movsd	xmm0, QWORD PTR .LC7[rip]
	movsd	QWORD PTR -3384[rbp], xmm0
	mov	DWORD PTR -3404[rbp], 0
	jmp	.L9
.L10:
	movsd	xmm0, QWORD PTR -3400[rbp]
	mov	eax, DWORD PTR -3404[rbp]
	cdqe
	movsd	xmm1, QWORD PTR -3376[rbp+rax*8]
	subsd	xmm0, xmm1
	movsd	xmm1, QWORD PTR -3384[rbp]
	mulsd	xmm0, xmm1
	movsd	QWORD PTR -3384[rbp], xmm0
	add	DWORD PTR -3404[rbp], 1
.L9:
	mov	eax, DWORD PTR -3404[rbp]
	cmp	eax, DWORD PTR -3408[rbp]
	jl	.L10
	mov	eax, DWORD PTR -3408[rbp]
	cdqe
	movsd	xmm0, QWORD PTR -3216[rbp+rax*8]
	mulsd	xmm0, QWORD PTR -3384[rbp]
	movsd	xmm1, QWORD PTR -3392[rbp]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -3392[rbp], xmm0
	add	DWORD PTR -3408[rbp], 1
.L8:
	mov	eax, DWORD PTR -3412[rbp]
	cmp	DWORD PTR -3408[rbp], eax
	jl	.L11
	movsd	xmm0, QWORD PTR -3216[rbp]
	movsd	xmm1, QWORD PTR -3392[rbp]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -3392[rbp], xmm0
	mov	rax, QWORD PTR -3400[rbp]
	movsd	xmm0, QWORD PTR -3392[rbp]
	movapd	xmm1, xmm0
	movq	xmm0, rax
	lea	rdi, .LC8[rip]
	mov	eax, 2
	call	printf@PLT
	mov	eax, 0
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L13
	call	__stack_chk_fail@PLT
.L13:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC7:
	.long	0
	.long	1072693248
	.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	"102680.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Enter the number of entries \000"
	.align	2
.LC1:
	.ascii	"%d\000"
	.align	2
.LC2:
	.ascii	"x%d = \000"
	.align	2
.LC3:
	.ascii	"%lf\000"
	.align	2
.LC4:
	.ascii	"y%d = \000"
	.align	2
.LC5:
	.ascii	"\012Enter xi where interpolation is required\000"
	.global	__aeabi_dsub
	.global	__aeabi_ddiv
	.global	__aeabi_dmul
	.global	__aeabi_dadd
	.align	2
.LC6:
	.ascii	"\012The interpolated value of y at xi = %lf is %lf\012"
	.ascii	"\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 = 3408
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #3408
	sub	sp, sp, #8
	ldr	r3, .L14
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	ldr	r0, .L14+4
	bl	printf
	sub	r3, fp, #3392
	sub	r3, r3, #12
	sub	r3, r3, #12
	mov	r1, r3
	ldr	r0, .L14+8
	bl	__isoc99_scanf
	mov	r3, #0
	str	r3, [fp, #-3412]
	b	.L2
.L3:
	ldr	r1, [fp, #-3412]
	ldr	r0, .L14+12
	bl	printf
	sub	r3, fp, #3360
	sub	r3, r3, #12
	sub	r3, r3, #8
	ldr	r2, [fp, #-3412]
	lsl	r2, r2, #3
	add	r3, r3, r2
	mov	r1, r3
	ldr	r0, .L14+16
	bl	__isoc99_scanf
	ldr	r1, [fp, #-3412]
	ldr	r0, .L14+20
	bl	printf
	sub	r2, fp, #3200
	sub	r2, r2, #12
	sub	r2, r2, #8
	ldr	r1, [fp, #-3412]
	mov	r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r1
	lsl	r3, r3, #5
	add	r3, r2, r3
	mov	r1, r3
	ldr	r0, .L14+16
	bl	__isoc99_scanf
	ldr	r3, [fp, #-3412]
	add	r3, r3, #1
	str	r3, [fp, #-3412]
.L2:
	ldr	r3, [fp, #-3416]
	ldr	r2, [fp, #-3412]
	cmp	r2, r3
	blt	.L3
	ldr	r0, .L14+24
	bl	printf
	sub	r3, fp, #3392
	sub	r3, r3, #12
	mov	r1, r3
	ldr	r0, .L14+16
	bl	__isoc99_scanf
	mov	r3, #1
	str	r3, [fp, #-3408]
	b	.L4
.L7:
	mov	r3, #0
	str	r3, [fp, #-3412]
	b	.L5
.L6:
	ldr	r3, [fp, #-3412]
	add	r2, r3, #1
	ldr	r3, [fp, #-3408]
	sub	r1, r3, #1
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r1
	lsl	r3, r3, #3
	sub	r2, fp, #12
	add	r3, r2, r3
	sub	r3, r3, #3200
	sub	r3, r3, #8
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-3408]
	sub	ip, r3, #1
	ldr	r2, [fp, #-3412]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, ip
	lsl	r3, r3, #3
	sub	r2, fp, #12
	add	r3, r2, r3
	sub	r3, r3, #3200
	sub	r3, r3, #8
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldr	r2, [fp, #-3412]
	ldr	r3, [fp, #-3408]
	add	r3, r2, r3
	lsl	r3, r3, #3
	sub	r2, fp, #12
	add	r3, r2, r3
	sub	r3, r3, #3360
	sub	r3, r3, #8
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-3412]
	lsl	r3, r3, #3
	sub	r2, fp, #12
	add	r3, r2, r3
	sub	r3, r3, #3360
	sub	r3, r3, #8
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r2, [fp, #-3412]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	ldr	r2, [fp, #-3408]
	add	r3, r3, r2
	lsl	r3, r3, #3
	sub	r2, fp, #12
	add	r3, r2, r3
	sub	r3, r3, #3200
	sub	r3, r3, #8
	stm	r3, {r0-r1}
	ldr	r3, [fp, #-3412]
	add	r3, r3, #1
	str	r3, [fp, #-3412]
.L5:
	ldr	r3, [fp, #-3416]
	sub	r3, r3, #1
	ldr	r2, [fp, #-3412]
	cmp	r2, r3
	blt	.L6
	ldr	r3, [fp, #-3408]
	add	r3, r3, #1
	str	r3, [fp, #-3408]
.L4:
	ldr	r3, [fp, #-3416]
	ldr	r2, [fp, #-3408]
	cmp	r2, r3
	blt	.L7
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-3396]
	str	r3, [fp, #-3392]
	mov	r3, #1
	str	r3, [fp, #-3412]
	b	.L8
.L11:
	mov	r2, #0
	ldr	r3, .L14+28
	str	r2, [fp, #-3388]
	str	r3, [fp, #-3384]
	mov	r3, #0
	str	r3, [fp, #-3408]
	b	.L9
.L10:
	ldr	r0, [fp, #-3404]
	ldr	r1, [fp, #-3400]
	ldr	r3, [fp, #-3408]
	lsl	r3, r3, #3
	sub	r2, fp, #12
	add	r3, r2, r3
	sub	r3, r3, #3360
	sub	r3, r3, #8
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	ldr	r0, [fp, #-3388]
	ldr	r1, [fp, #-3384]
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-3388]
	str	r3, [fp, #-3384]
	ldr	r3, [fp, #-3408]
	add	r3, r3, #1
	str	r3, [fp, #-3408]
.L9:
	ldr	r2, [fp, #-3408]
	ldr	r3, [fp, #-3412]
	cmp	r2, r3
	blt	.L10
	ldr	r3, [fp, #-3412]
	lsl	r3, r3, #3
	sub	r2, fp, #12
	add	r3, r2, r3
	sub	r3, r3, #3200
	sub	r3, r3, #8
	ldmia	r3, {r0-r1}
	ldr	r2, [fp, #-3388]
	ldr	r3, [fp, #-3384]
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	ldr	r0, [fp, #-3396]
	ldr	r1, [fp, #-3392]
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-3396]
	str	r3, [fp, #-3392]
	ldr	r3, [fp, #-3412]
	add	r3, r3, #1
	str	r3, [fp, #-3412]
.L8:
	ldr	r3, [fp, #-3416]
	ldr	r2, [fp, #-3412]
	cmp	r2, r3
	blt	.L11
	ldr	r2, [fp, #-3220]
	ldr	r3, [fp, #-3216]
	ldr	r0, [fp, #-3396]
	ldr	r1, [fp, #-3392]
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-3396]
	str	r3, [fp, #-3392]
	ldr	r0, [fp, #-3404]
	ldr	r1, [fp, #-3400]
	ldr	r2, [fp, #-3396]
	ldr	r3, [fp, #-3392]
	stm	sp, {r2-r3}
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L14+32
	bl	printf
	mov	r3, #0
	ldr	r2, .L14
	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}
.L15:
	.align	2
.L14:
	.word	.LC7
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	1072693248
	.word	.LC6
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
