	.file	"552750.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC1:
	.string	"Enter the value of x:"
.LC2:
	.string	"%lf"
.LC3:
	.string	"n\ttn\tSn\tfabs(tn/sum)"
.LC5:
	.string	"1\t%.2f\t%.2f\t%.2f\n"
.LC7:
	.string	"%d\t%.2f\t%.2f\t%f\n"
	.align 8
.LC8:
	.string	"\nThe sum of sine(%.2f) is: %f summing %d terms."
	.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, 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	movsd	xmm0, QWORD PTR .LC0[rip]
	movsd	QWORD PTR -32[rbp], xmm0
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -56[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	movsd	xmm0, QWORD PTR -56[rbp]
	movsd	QWORD PTR -48[rbp], xmm0
	movsd	xmm0, QWORD PTR -48[rbp]
	movsd	QWORD PTR -40[rbp], xmm0
	lea	rdi, .LC3[rip]
	call	puts@PLT
	movsd	xmm0, QWORD PTR -48[rbp]
	divsd	xmm0, QWORD PTR -40[rbp]
	movq	xmm1, QWORD PTR .LC4[rip]
	andpd	xmm1, xmm0
	movsd	xmm0, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR -48[rbp]
	movapd	xmm2, xmm1
	movapd	xmm1, xmm0
	movq	xmm0, rax
	lea	rdi, .LC5[rip]
	mov	eax, 3
	call	printf@PLT
	mov	DWORD PTR -60[rbp], 1
.L2:
	movsd	xmm1, QWORD PTR -56[rbp]
	movsd	xmm0, QWORD PTR -56[rbp]
	mulsd	xmm0, xmm1
	movq	xmm1, QWORD PTR .LC6[rip]
	xorpd	xmm0, xmm1
	mov	eax, DWORD PTR -60[rbp]
	add	eax, eax
	add	eax, 1
	imul	eax, DWORD PTR -60[rbp]
	add	eax, eax
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, eax
	divsd	xmm0, xmm1
	movsd	QWORD PTR -24[rbp], xmm0
	movsd	xmm0, QWORD PTR -24[rbp]
	mulsd	xmm0, QWORD PTR -48[rbp]
	movsd	QWORD PTR -16[rbp], xmm0
	movsd	xmm0, QWORD PTR -40[rbp]
	addsd	xmm0, QWORD PTR -16[rbp]
	movsd	QWORD PTR -40[rbp], xmm0
	movsd	xmm0, QWORD PTR -16[rbp]
	movsd	QWORD PTR -48[rbp], xmm0
	add	DWORD PTR -60[rbp], 1
	movsd	xmm0, QWORD PTR -16[rbp]
	divsd	xmm0, QWORD PTR -40[rbp]
	movq	xmm1, QWORD PTR .LC4[rip]
	andpd	xmm1, xmm0
	movsd	xmm0, QWORD PTR -40[rbp]
	mov	rdx, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR -60[rbp]
	movapd	xmm2, xmm1
	movapd	xmm1, xmm0
	movq	xmm0, rdx
	mov	esi, eax
	lea	rdi, .LC7[rip]
	mov	eax, 3
	call	printf@PLT
	movsd	xmm0, QWORD PTR -16[rbp]
	divsd	xmm0, QWORD PTR -40[rbp]
	movq	xmm1, QWORD PTR .LC4[rip]
	andpd	xmm0, xmm1
	comisd	xmm0, QWORD PTR -32[rbp]
	ja	.L2
	mov	rax, QWORD PTR -56[rbp]
	mov	edx, DWORD PTR -60[rbp]
	movsd	xmm0, QWORD PTR -40[rbp]
	mov	esi, edx
	movapd	xmm1, xmm0
	movq	xmm0, rax
	lea	rdi, .LC8[rip]
	mov	eax, 2
	call	printf@PLT
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L4
	call	__stack_chk_fail@PLT
.L4:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC0:
	.long	-1998362383
	.long	1055193269
	.align 16
.LC4:
	.long	-1
	.long	2147483647
	.long	0
	.long	0
	.align 16
.LC6:
	.long	0
	.long	-2147483648
	.long	0
	.long	0
	.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	"552750.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Enter the value of x:\000"
	.align	2
.LC1:
	.ascii	"%lf\000"
	.align	2
.LC2:
	.ascii	"n\011tn\011Sn\011fabs(tn/sum)\000"
	.global	__aeabi_ddiv
	.align	2
.LC3:
	.ascii	"1\011%.2f\011%.2f\011%.2f\012\000"
	.global	__aeabi_dmul
	.global	__aeabi_i2d
	.global	__aeabi_dadd
	.align	2
.LC4:
	.ascii	"%d\011%.2f\011%.2f\011%f\012\000"
	.global	__aeabi_dcmplt
	.align	2
.LC5:
	.ascii	"\012The sum of sine(%.2f) is: %f summing %d terms.\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 = 72
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, fp, lr}
	add	fp, sp, #28
	sub	sp, sp, #88
	ldr	r3, .L5
	ldr	r3, [r3]
	str	r3, [fp, #-32]
	mov	r3,#0
	ldr	r2, .L5+4
	ldr	r3, .L5+8
	str	r2, [fp, #-60]
	str	r3, [fp, #-56]
	ldr	r0, .L5+12
	bl	printf
	sub	r3, fp, #84
	mov	r1, r3
	ldr	r0, .L5+16
	bl	__isoc99_scanf
	sub	r3, fp, #84
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-76]
	str	r3, [fp, #-72]
	sub	r3, fp, #76
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-68]
	str	r3, [fp, #-64]
	ldr	r0, .L5+20
	bl	puts
	sub	r3, fp, #68
	ldmia	r3, {r2-r3}
	sub	r1, fp, #76
	ldmia	r1, {r0-r1}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r6, r2
	bic	r7, r3, #-2147483648
	str	r6, [sp, #8]
	str	r7, [sp, #12]
	sub	r3, fp, #68
	ldmia	r3, {r2-r3}
	stm	sp, {r2-r3}
	sub	r3, fp, #76
	ldmia	r3, {r2-r3}
	ldr	r0, .L5+24
	bl	printf
	mov	r3, #1
	str	r3, [fp, #-88]
.L2:
	sub	r1, fp, #84
	ldmia	r1, {r0-r1}
	sub	r3, fp, #84
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-100]
	eor	r3, r3, #-2147483648
	str	r3, [fp, #-96]
	ldr	r3, [fp, #-88]
	lsl	r3, r3, #1
	add	r3, r3, #1
	ldr	r2, [fp, #-88]
	mul	r3, r2, r3
	lsl	r3, r3, #1
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #100
	ldmia	r1, {r0-r1}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-52]
	str	r3, [fp, #-48]
	sub	r3, fp, #76
	ldmia	r3, {r2-r3}
	sub	r1, fp, #52
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-44]
	str	r3, [fp, #-40]
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	sub	r1, fp, #68
	ldmia	r1, {r0-r1}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-68]
	str	r3, [fp, #-64]
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-76]
	str	r3, [fp, #-72]
	ldr	r3, [fp, #-88]
	add	r3, r3, #1
	str	r3, [fp, #-88]
	sub	r3, fp, #68
	ldmia	r3, {r2-r3}
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	bic	r5, r3, #-2147483648
	str	r4, [sp, #8]
	str	r5, [sp, #12]
	sub	r3, fp, #68
	ldmia	r3, {r2-r3}
	stm	sp, {r2-r3}
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	ldr	r1, [fp, #-88]
	ldr	r0, .L5+28
	bl	printf
	sub	r3, fp, #68
	ldmia	r3, {r2-r3}
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r8, r2
	bic	r9, r3, #-2147483648
	mov	r2, r8
	mov	r3, r9
	sub	r1, fp, #60
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	bne	.L2
	sub	r1, fp, #84
	ldmia	r1, {r0-r1}
	ldr	r3, [fp, #-88]
	str	r3, [sp, #8]
	sub	r3, fp, #68
	ldmia	r3, {r2-r3}
	stm	sp, {r2-r3}
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L5+32
	bl	printf
	mov	r3, #0
	ldr	r2, .L5
	ldr	r1, [r2]
	ldr	r2, [fp, #-32]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L4
	bl	__stack_chk_fail
.L4:
	mov	r0, r3
	sub	sp, fp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, fp, pc}
.L6:
	.align	2
.L5:
	.word	.LC6
	.word	-1998362383
	.word	1055193269
	.word	.LC0
	.word	.LC1
	.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
