	.file	"630824.c"
	.intel_syntax noprefix
	.text
	.globl	fact
	.type	fact, @function
fact:
.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, 32
	mov	DWORD PTR -4[rbp], edi
	cmp	DWORD PTR -4[rbp], 20
	jle	.L2
	fld	TBYTE PTR .LC0[rip]
	jmp	.L3
.L2:
	cmp	DWORD PTR -4[rbp], 0
	jne	.L4
	fld1
	jmp	.L3
.L4:
	fild	DWORD PTR -4[rbp]
	fstp	TBYTE PTR -32[rbp]
	mov	eax, DWORD PTR -4[rbp]
	sub	eax, 1
	mov	edi, eax
	call	fact
	fld	TBYTE PTR -32[rbp]
	fmulp	st(1), st
.L3:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	fact, .-fact
	.globl	rec
	.type	rec, @function
rec:
.LFB1:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	movsd	QWORD PTR -8[rbp], xmm0
	movsd	QWORD PTR -16[rbp], xmm1
	mov	DWORD PTR -20[rbp], edi
	movsd	QWORD PTR -32[rbp], xmm2
	mov	rax, QWORD PTR -8[rbp]
	movq	xmm0, rax
	call	sin@PLT
	movapd	xmm1, xmm0
	movsd	xmm0, QWORD PTR -32[rbp]
	subsd	xmm0, xmm1
	movq	xmm1, QWORD PTR .LC3[rip]
	andpd	xmm1, xmm0
	movsd	xmm0, QWORD PTR -16[rbp]
	comisd	xmm0, xmm1
	jbe	.L12
	mov	rax, QWORD PTR -32[rbp]
	jmp	.L8
.L12:
	mov	eax, DWORD PTR -20[rbp]
	add	eax, eax
	sub	eax, 1
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, eax
	mov	rax, QWORD PTR -8[rbp]
	movapd	xmm1, xmm0
	movq	xmm0, rax
	call	pow@PLT
	movsd	QWORD PTR -48[rbp], xmm0
	fld	QWORD PTR -48[rbp]
	fstp	TBYTE PTR -48[rbp]
	mov	eax, DWORD PTR -20[rbp]
	add	eax, eax
	sub	eax, 1
	mov	edi, eax
	call	fact
	fld	TBYTE PTR -48[rbp]
	fdivrp	st(1), st
	mov	eax, DWORD PTR -20[rbp]
	sub	eax, 1
	and	eax, 1
	test	eax, eax
	jne	.L9
	fld1
	jmp	.L10
.L9:
	fld1
	fchs
.L10:
	fmulp	st(1), st
	fld	QWORD PTR -32[rbp]
	faddp	st(1), st
	fstp	QWORD PTR -32[rbp]
	add	DWORD PTR -20[rbp], 1
	movsd	xmm1, QWORD PTR -32[rbp]
	mov	edx, DWORD PTR -20[rbp]
	movsd	xmm0, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -8[rbp]
	movapd	xmm2, xmm1
	mov	edi, edx
	movapd	xmm1, xmm0
	movq	xmm0, rax
	call	rec
	movq	rax, xmm0
.L8:
	movq	xmm0, rax
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	rec, .-rec
	.section	.rodata
.LC6:
	.string	"\320\222\320\262\320\265\320\264\320\270\321\202\320\265 \321\205 \320\270 \320\265: "
.LC7:
	.string	"%lf %lf"
.LC9:
	.string	" sin(x) = %lf\n"
	.align 8
.LC10:
	.string	"\320\240\320\265\320\267\321\203\320\273\321\214\321\202\320\260\321\202 \321\200\320\260\320\261\320\276\321\202\321\213 \321\206\320\270\320\272\320\273\320\260:\n sin(x) = %lf, n = %d\n"
	.align 8
.LC11:
	.string	"\320\240\320\265\320\267\321\203\320\273\321\214\321\202\320\260\321\202 \321\200\320\260\320\261\320\276\321\202\321\213 \321\200\320\265\320\272\321\203\321\200\321\201\320\270\320\270:\n sin(x) = %lf, n = %d\n"
	.text
	.globl	main
	.type	main, @function
main:
.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, 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	pxor	xmm0, xmm0
	movsd	QWORD PTR -16[rbp], xmm0
	lea	rdi, .LC6[rip]
	call	puts@PLT
	lea	rdx, -24[rbp]
	lea	rax, -32[rbp]
	mov	rsi, rax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	rax, QWORD PTR -32[rbp]
	movsd	xmm0, QWORD PTR .LC8[rip]
	movapd	xmm1, xmm0
	movq	xmm0, rax
	call	fmod@PLT
	movq	rax, xmm0
	mov	QWORD PTR -32[rbp], rax
	mov	rax, QWORD PTR -32[rbp]
	movq	xmm0, rax
	call	sin@PLT
	movq	rax, xmm0
	movq	xmm0, rax
	lea	rdi, .LC9[rip]
	mov	eax, 1
	call	printf@PLT
	mov	DWORD PTR -36[rbp], 1
	mov	DWORD PTR -36[rbp], 1
	jmp	.L14
.L17:
	mov	eax, DWORD PTR -36[rbp]
	add	eax, eax
	sub	eax, 1
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, eax
	mov	rax, QWORD PTR -32[rbp]
	movapd	xmm1, xmm0
	movq	xmm0, rax
	call	pow@PLT
	movsd	QWORD PTR -64[rbp], xmm0
	fld	QWORD PTR -64[rbp]
	fstp	TBYTE PTR -64[rbp]
	mov	eax, DWORD PTR -36[rbp]
	add	eax, eax
	sub	eax, 1
	mov	edi, eax
	call	fact
	fld	TBYTE PTR -64[rbp]
	fdivrp	st(1), st
	mov	eax, DWORD PTR -36[rbp]
	sub	eax, 1
	and	eax, 1
	test	eax, eax
	jne	.L15
	fld1
	jmp	.L16
.L15:
	fld1
	fchs
.L16:
	fmulp	st(1), st
	fld	QWORD PTR -16[rbp]
	faddp	st(1), st
	fstp	QWORD PTR -16[rbp]
	add	DWORD PTR -36[rbp], 1
.L14:
	mov	rax, QWORD PTR -32[rbp]
	movq	xmm0, rax
	call	sin@PLT
	movapd	xmm1, xmm0
	movsd	xmm0, QWORD PTR -16[rbp]
	subsd	xmm0, xmm1
	movq	xmm1, QWORD PTR .LC3[rip]
	andpd	xmm0, xmm1
	movsd	xmm1, QWORD PTR -24[rbp]
	comisd	xmm0, xmm1
	ja	.L17
	mov	edx, DWORD PTR -36[rbp]
	mov	rax, QWORD PTR -16[rbp]
	mov	esi, edx
	movq	xmm0, rax
	lea	rdi, .LC10[rip]
	mov	eax, 1
	call	printf@PLT
	mov	DWORD PTR -36[rbp], 1
	movsd	xmm0, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR -32[rbp]
	mov	edx, DWORD PTR -36[rbp]
	pxor	xmm2, xmm2
	mov	edi, edx
	movapd	xmm1, xmm0
	movq	xmm0, rax
	call	rec
	movq	rax, xmm0
	mov	QWORD PTR -16[rbp], rax
	mov	edx, DWORD PTR -36[rbp]
	mov	rax, QWORD PTR -16[rbp]
	mov	esi, edx
	movq	xmm0, rax
	lea	rdi, .LC11[rip]
	mov	eax, 1
	call	printf@PLT
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L19
	call	__stack_chk_fail@PLT
.L19:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	main, .-main
	.section	.rodata
	.align 16
.LC0:
	.long	-1
	.long	-1
	.long	32766
	.long	0
	.align 16
.LC3:
	.long	-1
	.long	2147483647
	.long	0
	.long	0
	.align 8
.LC8:
	.long	1413754136
	.long	1075388923
	.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	"630824.c"
	.text
	.global	__aeabi_i2d
	.global	__aeabi_dmul
	.align	2
	.global	fact
	.syntax unified
	.arm
	.fpu softvfp
	.type	fact, %function
fact:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #8
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #20
	ble	.L2
	mvn	r2, #0
	ldr	r3, .L5
	b	.L3
.L2:
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L4
	mov	r2, #0
	ldr	r3, .L5+4
	b	.L3
.L4:
	ldr	r0, [fp, #-16]
	bl	__aeabi_i2d
	mov	r4, r0
	mov	r5, r1
	ldr	r3, [fp, #-16]
	sub	r3, r3, #1
	mov	r0, r3
	bl	fact
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
.L3:
	mov	r0, r2
	mov	r1, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L6:
	.align	2
.L5:
	.word	2146435071
	.word	1072693248
	.size	fact, .-fact
	.global	__aeabi_dsub
	.global	__aeabi_dcmpgt
	.global	__aeabi_ddiv
	.global	__aeabi_dadd
	.align	2
	.global	rec
	.syntax unified
	.arm
	.fpu softvfp
	.type	rec, %function
rec:
	@ args = 16, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #32
	str	r0, [fp, #-20]
	str	r1, [fp, #-16]
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	sub	r1, fp, #20
	ldmia	r1, {r0-r1}
	bl	sin
	mov	r2, r0
	mov	r3, r1
	add	r1, fp, #12
	ldmia	r1, {r0-r1}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	bic	r5, r3, #-2147483648
	mov	r2, r4
	mov	r3, r5
	sub	r1, fp, #28
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L14
	add	r3, fp, #12
	ldmia	r3, {r2-r3}
	b	.L10
.L14:
	ldr	r3, [fp, #4]
	lsl	r3, r3, #1
	sub	r3, r3, #1
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #20
	ldmia	r1, {r0-r1}
	bl	pow
	mov	r4, r0
	mov	r5, r1
	ldr	r3, [fp, #4]
	lsl	r3, r3, #1
	sub	r3, r3, #1
	mov	r0, r3
	bl	fact
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldr	r3, [fp, #4]
	sub	r3, r3, #1
	and	r3, r3, #1
	cmp	r3, #0
	bne	.L11
	mov	r0, #0
	ldr	r1, .L15
	b	.L12
.L11:
	mov	r0, #0
	ldr	r1, .L15+4
.L12:
	mov	r2, r4
	mov	r3, r5
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	add	r1, fp, #12
	ldmia	r1, {r0-r1}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #12]
	str	r3, [fp, #16]
	ldr	r3, [fp, #4]
	add	r3, r3, #1
	str	r3, [fp, #4]
	add	r3, fp, #12
	ldmia	r3, {r2-r3}
	str	r2, [sp, #8]
	str	r3, [sp, #12]
	ldr	r3, [fp, #4]
	str	r3, [sp]
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	sub	r1, fp, #20
	ldmia	r1, {r0-r1}
	bl	rec
	mov	r2, r0
	mov	r3, r1
.L10:
	mov	r0, r2
	mov	r1, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L16:
	.align	2
.L15:
	.word	1072693248
	.word	-1074790400
	.size	rec, .-rec
	.section	.rodata
	.align	2
.LC0:
	.ascii	"\320\222\320\262\320\265\320\264\320\270\321\202\320"
	.ascii	"\265 \321\205 \320\270 \320\265: \000"
	.align	2
.LC1:
	.ascii	"%lf %lf\000"
	.align	2
.LC2:
	.ascii	" sin(x) = %lf\012\000"
	.align	2
.LC3:
	.ascii	"\320\240\320\265\320\267\321\203\320\273\321\214\321"
	.ascii	"\202\320\260\321\202 \321\200\320\260\320\261\320\276"
	.ascii	"\321\202\321\213 \321\206\320\270\320\272\320\273\320"
	.ascii	"\260:\012 sin(x) = %lf, n = %d\012\000"
	.align	2
.LC4:
	.ascii	"\320\240\320\265\320\267\321\203\320\273\321\214\321"
	.ascii	"\202\320\260\321\202 \321\200\320\260\320\261\320\276"
	.ascii	"\321\202\321\213 \321\200\320\265\320\272\321\203\321"
	.ascii	"\200\321\201\320\270\320\270:\012 sin(x) = %lf, n ="
	.ascii	" %d\012\000"
	.align	2
.LC5:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, fp, lr}
	add	fp, sp, #20
	sub	sp, sp, #56
	ldr	r3, .L24
	ldr	r3, [r3]
	str	r3, [fp, #-24]
	mov	r3,#0
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-36]
	str	r3, [fp, #-32]
	ldr	r0, .L24+4
	bl	puts
	sub	r2, fp, #44
	sub	r3, fp, #52
	mov	r1, r3
	ldr	r0, .L24+8
	bl	__isoc99_scanf
	sub	r1, fp, #52
	ldmia	r1, {r0-r1}
	ldr	r2, .L24+12
	ldr	r3, .L24+16
	bl	fmod
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-52]
	str	r3, [fp, #-48]
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	mov	r0, r2
	mov	r1, r3
	bl	sin
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L24+20
	bl	printf
	mov	r3, #1
	str	r3, [fp, #-56]
	mov	r3, #1
	str	r3, [fp, #-56]
	b	.L18
.L21:
	sub	r7, fp, #52
	ldmia	r7, {r6-r7}
	ldr	r3, [fp, #-56]
	lsl	r3, r3, #1
	sub	r3, r3, #1
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r6
	mov	r1, r7
	bl	pow
	mov	r6, r0
	mov	r7, r1
	ldr	r3, [fp, #-56]
	lsl	r3, r3, #1
	sub	r3, r3, #1
	mov	r0, r3
	bl	fact
	mov	r2, r0
	mov	r3, r1
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r6, r2
	mov	r7, r3
	ldr	r3, [fp, #-56]
	sub	r3, r3, #1
	and	r3, r3, #1
	cmp	r3, #0
	bne	.L19
	mov	r0, #0
	ldr	r1, .L24+24
	b	.L20
.L19:
	mov	r0, #0
	ldr	r1, .L24+28
.L20:
	mov	r2, r6
	mov	r3, r7
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #36
	ldmia	r1, {r0-r1}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-36]
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-56]
	add	r3, r3, #1
	str	r3, [fp, #-56]
.L18:
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	mov	r0, r2
	mov	r1, r3
	bl	sin
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #36
	ldmia	r1, {r0-r1}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	bic	r5, r3, #-2147483648
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	bne	.L21
	ldr	r3, [fp, #-56]
	str	r3, [sp]
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	ldr	r0, .L24+32
	bl	printf
	mov	r3, #1
	str	r3, [fp, #-56]
	sub	r1, fp, #52
	ldmia	r1, {r0-r1}
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	mov	r4, #0
	mov	r5, #0
	str	r4, [sp, #8]
	str	r5, [sp, #12]
	ldr	ip, [fp, #-56]
	str	ip, [sp]
	bl	rec
	str	r0, [fp, #-36]
	str	r1, [fp, #-32]
	ldr	r3, [fp, #-56]
	str	r3, [sp]
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	ldr	r0, .L24+36
	bl	printf
	mov	r3, #0
	ldr	r2, .L24
	ldr	r1, [r2]
	ldr	r2, [fp, #-24]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L23
	bl	__stack_chk_fail
.L23:
	mov	r0, r3
	sub	sp, fp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, fp, pc}
.L25:
	.align	2
.L24:
	.word	.LC5
	.word	.LC0
	.word	.LC1
	.word	1413754136
	.word	1075388923
	.word	.LC2
	.word	1072693248
	.word	-1074790400
	.word	.LC3
	.word	.LC4
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
