Given the following C code and unoptimized assembly code, your task is to generate highly optimized x86-64 assembly code.
C Code:

```c
#include<stdio.h>
#include<math.h>

int main(){
	int a,b,C;		//入力される整数
	double S,L,h;	//面積、周の長さ、高さ
	double PI = acos(-1);//円周率
	
	//入力
	scanf("%d",&a);
	scanf("%d",&b);
	scanf("%d",&C);
	
	//ラジアンにする
	double Cr = C * (PI / 180);
	
	//Sの算出
	S = (double)(a * b * sin(Cr) / 2);
	
	//Lの算出
	double c = sqrt(pow(a,2) + pow(b,2) - 2 * a * b * cos(Cr));//もう一本の辺
	L = (double)(a + b + c);
	
	//hの算出
	h = (double)(2 * S / a);
	
	//出力
	printf("%lf\n%lf\n%lf\n",S,L,h);
	
	return 0;
}

```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC1:
	.string	"%d"
.LC4:
	.string	"%lf\n%lf\n%lf\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$96, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movsd	.LC0(%rip), %xmm0
	movsd	%xmm0, -56(%rbp)
	leaq	-68(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	leaq	-64(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	leaq	-60(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-60(%rbp), %eax
	pxor	%xmm1, %xmm1
	cvtsi2sdl	%eax, %xmm1
	movsd	-56(%rbp), %xmm0
	movsd	.LC2(%rip), %xmm2
	divsd	%xmm2, %xmm0
	mulsd	%xmm1, %xmm0
	movsd	%xmm0, -48(%rbp)
	movl	-68(%rbp), %edx
	movl	-64(%rbp), %eax
	imull	%edx, %eax
	pxor	%xmm4, %xmm4
	cvtsi2sdl	%eax, %xmm4
	movsd	%xmm4, -88(%rbp)
	movq	-48(%rbp), %rax
	movq	%rax, %xmm0
	call	sin@PLT
	mulsd	-88(%rbp), %xmm0
	movsd	.LC3(%rip), %xmm1
	divsd	%xmm1, %xmm0
	movsd	%xmm0, -40(%rbp)
	movl	-68(%rbp), %eax
	pxor	%xmm5, %xmm5
	cvtsi2sdl	%eax, %xmm5
	movq	%xmm5, %rax
	movsd	.LC3(%rip), %xmm0
	movapd	%xmm0, %xmm1
	movq	%rax, %xmm0
	call	pow@PLT
	movsd	%xmm0, -88(%rbp)
	movl	-64(%rbp), %eax
	pxor	%xmm6, %xmm6
	cvtsi2sdl	%eax, %xmm6
	movq	%xmm6, %rax
	movsd	.LC3(%rip), %xmm0
	movapd	%xmm0, %xmm1
	movq	%rax, %xmm0
	call	pow@PLT
	movapd	%xmm0, %xmm3
	addsd	-88(%rbp), %xmm3
	movsd	%xmm3, -88(%rbp)
	movl	-68(%rbp), %edx
	movl	-64(%rbp), %eax
	imull	%edx, %eax
	addl	%eax, %eax
	pxor	%xmm5, %xmm5
	cvtsi2sdl	%eax, %xmm5
	movsd	%xmm5, -96(%rbp)
	movq	-48(%rbp), %rax
	movq	%rax, %xmm0
	call	cos@PLT
	mulsd	-96(%rbp), %xmm0
	movsd	-88(%rbp), %xmm3
	subsd	%xmm0, %xmm3
	movq	%xmm3, %rax
	movq	%rax, %xmm0
	call	sqrt@PLT
	movq	%xmm0, %rax
	movq	%rax, -32(%rbp)
	movl	-68(%rbp), %edx
	movl	-64(%rbp), %eax
	addl	%edx, %eax
	pxor	%xmm0, %xmm0
	cvtsi2sdl	%eax, %xmm0
	movsd	-32(%rbp), %xmm1
	addsd	%xmm1, %xmm0
	movsd	%xmm0, -24(%rbp)
	movsd	-40(%rbp), %xmm0
	addsd	%xmm0, %xmm0
	movl	-68(%rbp), %eax
	pxor	%xmm1, %xmm1
	cvtsi2sdl	%eax, %xmm1
	divsd	%xmm1, %xmm0
	movsd	%xmm0, -16(%rbp)
	movsd	-16(%rbp), %xmm1
	movsd	-24(%rbp), %xmm0
	movq	-40(%rbp), %rax
	movapd	%xmm1, %xmm2
	movapd	%xmm0, %xmm1
	movq	%rax, %xmm0
	leaq	.LC4(%rip), %rax
	movq	%rax, %rdi
	movl	$3, %eax
	call	printf@PLT
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L3
	call	__stack_chk_fail@PLT
.L3:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC0:
	.long	1413754136
	.long	1074340347
	.align 8
.LC2:
	.long	0
	.long	1080459264
	.align 8
.LC3:
	.long	0
	.long	1073741824
	.ident	"GCC: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.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:
```

Only output the optimized assembly code. Do not include any other text. Do not write any comments in the assembly code. Wrap the assembly code in ```assembly``` tags.
user
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d"
.LC4:
	.string	"%lf\n%lf\n%lf\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	leaq	.LC0(%rip), %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	movq	%rbp, %rdi
	subq	$72, %rsp
	.cfi_def_cfa_offset 96
	movq	%fs:40, %rax
	movq	%rax, 56(%rsp)
	xorl	%eax, %eax
	leaq	44(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movq	%rbp, %rdi
	leaq	48(%rsp), %rsi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movq	%rbp, %rdi
	leaq	52(%rsp), %rsi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	pxor	%xmm0, %xmm0
	leaq	24(%rsp), %rdi
	leaq	16(%rsp), %rsi
	cvtsi2sdl	52(%rsp), %xmm0
	mulsd	.LC1(%rip), %xmm0
	call	sincos@PLT
	movl	44(%rsp), %ebx
	movl	48(%rsp), %ebp
	pxor	%xmm4, %xmm4
	pxor	%xmm0, %xmm0
	pxor	%xmm3, %xmm3
	cvtsi2sdl	%ebx, %xmm4
	movl	%ebx, %eax
	cvtsi2sdl	%ebp, %xmm0
	imull	%ebp, %eax
	movapd	%xmm4, %xmm1
	mulsd	%xmm0, %xmm0
	cvtsi2sdl	%eax, %xmm3
	addl	%eax, %eax
	mulsd	%xmm4, %xmm1
	mulsd	24(%rsp), %xmm3
	mulsd	.LC2(%rip), %xmm3
	addsd	%xmm0, %xmm1
	pxor	%xmm0, %xmm0
	cvtsi2sdl	%eax, %xmm0
	mulsd	16(%rsp), %xmm0
	subsd	%xmm0, %xmm1
	pxor	%xmm0, %xmm0
	ucomisd	%xmm1, %xmm0
	ja	.L7
	sqrtsd	%xmm1, %xmm1
.L4:
	movapd	%xmm3, %xmm2
	addl	%ebp, %ebx
	pxor	%xmm0, %xmm0
	movl	$1, %edi
	addsd	%xmm3, %xmm2
	leaq	.LC4(%rip), %rsi
	movl	$3, %eax
	cvtsi2sdl	%ebx, %xmm0
	divsd	%xmm4, %xmm2
	addsd	%xmm0, %xmm1
	movapd	%xmm3, %xmm0
	call	__printf_chk@PLT
	movq	56(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L10
	addq	$72, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 16
	popq	%rbp
	.cfi_def_cfa_offset 8
	ret
.L7:
	.cfi_restore_state
	movapd	%xmm1, %xmm0
	movsd	%xmm3, 8(%rsp)
	movsd	%xmm4, (%rsp)
	call	sqrt@PLT
	movsd	8(%rsp), %xmm3
	movsd	(%rsp), %xmm4
	movapd	%xmm0, %xmm1
	jmp	.L4
.L10:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.size	main, .-main
	.section	.rodata.cst8,"aM",@progbits,8
	.align 8
.LC1:
	.long	-1571644103
	.long	1066524486
	.align 8
.LC2:
	.long	0
	.long	1071644672
	.ident	"GCC: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.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:

rule
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d"
.LC4:
	.string	"%lf\n%lf\n%lf\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	leaq	.LC0(%rip), %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	movq	%rbp, %rdi
	subq	$72, %rsp
	.cfi_def_cfa_offset 96
	movq	%fs:40, %rax
	movq	%rax, 56(%rsp)
	xorl	%eax, %eax
	leaq	44(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movq	%rbp, %rdi
	leaq	48(%rsp), %rsi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movq	%rbp, %rdi
	leaq	52(%rsp), %rsi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	pxor	%xmm0, %xmm0
	leaq	24(%rsp), %rdi
	leaq	16(%rsp), %rsi
	cvtsi2sdl	52(%rsp), %xmm0
	mulsd	.LC1(%rip), %xmm0
	call	sincos@PLT
	movl	44(%rsp), %ebx
	movl	48(%rsp), %ebp
	pxor	%xmm4, %xmm4
	pxor	%xmm0, %xmm0
	pxor	%xmm3, %xmm3
	cvtsi2sdl	%ebx, %xmm4
	movl	%ebx, %eax
	cvtsi2sdl	%ebp, %xmm0
	imull	%ebp, %eax
	movapd	%xmm4, %xmm1
	mulsd	%xmm0, %xmm0
	cvtsi2sdl	%eax, %xmm3
	addl	%eax, %eax
	mulsd	%xmm4, %xmm1
	mulsd	24(%rsp), %xmm3
	mulsd	.LC2(%rip), %xmm3
	addsd	%xmm0, %xmm1
	pxor	%xmm0, %xmm0
	cvtsi2sdl	%eax, %xmm0
	mulsd	16(%rsp), %xmm0
	subsd	%xmm0, %xmm1
	pxor	%xmm0, %xmm0
	ucomisd	%xmm1, %xmm0
	ja	.L7
	sqrtsd	%xmm1, %xmm1
.L4:
	movapd	%xmm3, %xmm2
	addl	%ebp, %ebx
	pxor	%xmm0, %xmm0
	movl	$1, %edi
	addsd	%xmm3, %xmm2
	leaq	.LC4(%rip), %rsi
	movl	$3, %eax
	cvtsi2sdl	%ebx, %xmm0
	divsd	%xmm4, %xmm2
	addsd	%xmm0, %xmm1
	movapd	%xmm3, %xmm0
	call	__printf_chk@PLT
	movq	56(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L10
	addq	$72, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 16
	popq	%rbp
	.cfi_def_cfa_offset 8
	ret
.L7:
	.cfi_restore_state
	movapd	%xmm1, %xmm0
	movsd	%xmm3, 8(%rsp)
	movsd	%xmm4, (%rsp)
	call	sqrt@PLT
	movsd	8(%rsp), %xmm3
	movsd	(%rsp), %xmm4
	movapd	%xmm0, %xmm1
	jmp	.L4
.L10:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.size	main, .-main
	.section	.rodata.cst8,"aM",@progbits,8
	.align 8
.LC1:
	.long	-1571644103
	.long	1066524486
	.align 8
.LC2:
	.long	0
	.long	1071644672
	.ident	"GCC: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.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:

#include<stdio.h>
#include<math.h>

int main(){
	int a,b,C;		//入力される整数
	double S,L,h;	//面積、周の長さ、高さ
	double PI = acos(-1);//円周率
	
	//入力
	scanf("%d",&a);
	scanf("%d",&b);
	scanf("%d",&C);
	
	//ラジアンにする
	double Cr = C * (PI / 180);
	
	//Sの算出
	S = (double)(a * b * sin(Cr) / 2);
	
	//Lの算出
	double c = sqrt(pow(a,2) + pow(b,2) - 2 * a * b * cos(Cr));//もう一本の辺
	L = (double)(a + b + c);
	
	//hの算出
	h = (double)(2 * S / a);
	
	//出力
	printf("%lf\n%lf\n%lf\n",S,L,h);
	
	return 0;
}


4 3 130
 4 3 11
 2 3 90
 3 3 130
 4 5 11
 2 4 90
 2 3 130
 1 5 11
 2 5 90
 2 3 190

4.596267
13.358215
2.298133
 1.144854
8.200395
0.572427
 3.000000
8.605551
3.000000
 3.447200
11.437847
2.298133
 1.908090
10.317161
0.954045
 4.000000
10.472136
4.000000
 2.298133
9.551203
2.298133
 0.477022
10.022900
0.954045
 5.000000
12.385165
5.000000
 -0.520945
9.981736
-0.520945

Given the following C code and unoptimized assembly code, your task is to generate highly optimized x86-64 assembly code.
C Code:

```c
#include<stdio.h>
#include<math.h>

int main(){
	int a,b,C;		//入力される整数
	double S,L,h;	//面積、周の長さ、高さ
	double PI = acos(-1);//円周率
	
	//入力
	scanf("%d",&a);
	scanf("%d",&b);
	scanf("%d",&C);
	
	//ラジアンにする
	double Cr = C * (PI / 180);
	
	//Sの算出
	S = (double)(a * b * sin(Cr) / 2);
	
	//Lの算出
	double c = sqrt(pow(a,2) + pow(b,2) - 2 * a * b * cos(Cr));//もう一本の辺
	L = (double)(a + b + c);
	
	//hの算出
	h = (double)(2 * S / a);
	
	//出力
	printf("%lf\n%lf\n%lf\n",S,L,h);
	
	return 0;
}

```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC1:
	.string	"%d"
.LC4:
	.string	"%lf\n%lf\n%lf\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$96, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movsd	.LC0(%rip), %xmm0
	movsd	%xmm0, -56(%rbp)
	leaq	-68(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	leaq	-64(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	leaq	-60(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-60(%rbp), %eax
	pxor	%xmm1, %xmm1
	cvtsi2sdl	%eax, %xmm1
	movsd	-56(%rbp), %xmm0
	movsd	.LC2(%rip), %xmm2
	divsd	%xmm2, %xmm0
	mulsd	%xmm1, %xmm0
	movsd	%xmm0, -48(%rbp)
	movl	-68(%rbp), %edx
	movl	-64(%rbp), %eax
	imull	%edx, %eax
	pxor	%xmm4, %xmm4
	cvtsi2sdl	%eax, %xmm4
	movsd	%xmm4, -88(%rbp)
	movq	-48(%rbp), %rax
	movq	%rax, %xmm0
	call	sin@PLT
	mulsd	-88(%rbp), %xmm0
	movsd	.LC3(%rip), %xmm1
	divsd	%xmm1, %xmm0
	movsd	%xmm0, -40(%rbp)
	movl	-68(%rbp), %eax
	pxor	%xmm5, %xmm5
	cvtsi2sdl	%eax, %xmm5
	movq	%xmm5, %rax
	movsd	.LC3(%rip), %xmm0
	movapd	%xmm0, %xmm1
	movq	%rax, %xmm0
	call	pow@PLT
	movsd	%xmm0, -88(%rbp)
	movl	-64(%rbp), %eax
	pxor	%xmm6, %xmm6
	cvtsi2sdl	%eax, %xmm6
	movq	%xmm6, %rax
	movsd	.LC3(%rip), %xmm0
	movapd	%xmm0, %xmm1
	movq	%rax, %xmm0
	call	pow@PLT
	movapd	%xmm0, %xmm3
	addsd	-88(%rbp), %xmm3
	movsd	%xmm3, -88(%rbp)
	movl	-68(%rbp), %edx
	movl	-64(%rbp), %eax
	imull	%edx, %eax
	addl	%eax, %eax
	pxor	%xmm5, %xmm5
	cvtsi2sdl	%eax, %xmm5
	movsd	%xmm5, -96(%rbp)
	movq	-48(%rbp), %rax
	movq	%rax, %xmm0
	call	cos@PLT
	mulsd	-96(%rbp), %xmm0
	movsd	-88(%rbp), %xmm3
	subsd	%xmm0, %xmm3
	movq	%xmm3, %rax
	movq	%rax, %xmm0
	call	sqrt@PLT
	movq	%xmm0, %rax
	movq	%rax, -32(%rbp)
	movl	-68(%rbp), %edx
	movl	-64(%rbp), %eax
	addl	%edx, %eax
	pxor	%xmm0, %xmm0
	cvtsi2sdl	%eax, %xmm0
	movsd	-32(%rbp), %xmm1
	addsd	%xmm1, %xmm0
	movsd	%xmm0, -24(%rbp)
	movsd	-40(%rbp), %xmm0
	addsd	%xmm0, %xmm0
	movl	-68(%rbp), %eax
	pxor	%xmm1, %xmm1
	cvtsi2sdl	%eax, %xmm1
	divsd	%xmm1, %xmm0
	movsd	%xmm0, -16(%rbp)
	movsd	-16(%rbp), %xmm1
	movsd	-24(%rbp), %xmm0
	movq	-40(%rbp), %rax
	movapd	%xmm1, %xmm2
	movapd	%xmm0, %xmm1
	movq	%rax, %xmm0
	leaq	.LC4(%rip), %rax
	movq	%rax, %rdi
	movl	$3, %eax
	call	printf@PLT
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L3
	call	__stack_chk_fail@PLT
.L3:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC0:
	.long	1413754136
	.long	1074340347
	.align 8
.LC2:
	.long	0
	.long	1080459264
	.align 8
.LC3:
	.long	0
	.long	1073741824
	.ident	"GCC: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.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:
```

Only output the optimized assembly code. Do not include any other text. Do not write any comments in the assembly code. Wrap the assembly code in ```assembly``` tags.
train
	.file	"temp.c"
	.text
	.section	.rodata
.LC1:
	.string	"%d"
.LC4:
	.string	"%lf\n%lf\n%lf\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$96, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movsd	.LC0(%rip), %xmm0
	movsd	%xmm0, -56(%rbp)
	leaq	-68(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	leaq	-64(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	leaq	-60(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-60(%rbp), %eax
	pxor	%xmm1, %xmm1
	cvtsi2sdl	%eax, %xmm1
	movsd	-56(%rbp), %xmm0
	movsd	.LC2(%rip), %xmm2
	divsd	%xmm2, %xmm0
	mulsd	%xmm1, %xmm0
	movsd	%xmm0, -48(%rbp)
	movl	-68(%rbp), %edx
	movl	-64(%rbp), %eax
	imull	%edx, %eax
	pxor	%xmm4, %xmm4
	cvtsi2sdl	%eax, %xmm4
	movsd	%xmm4, -88(%rbp)
	movq	-48(%rbp), %rax
	movq	%rax, %xmm0
	call	sin@PLT
	mulsd	-88(%rbp), %xmm0
	movsd	.LC3(%rip), %xmm1
	divsd	%xmm1, %xmm0
	movsd	%xmm0, -40(%rbp)
	movl	-68(%rbp), %eax
	pxor	%xmm5, %xmm5
	cvtsi2sdl	%eax, %xmm5
	movq	%xmm5, %rax
	movsd	.LC3(%rip), %xmm0
	movapd	%xmm0, %xmm1
	movq	%rax, %xmm0
	call	pow@PLT
	movsd	%xmm0, -88(%rbp)
	movl	-64(%rbp), %eax
	pxor	%xmm6, %xmm6
	cvtsi2sdl	%eax, %xmm6
	movq	%xmm6, %rax
	movsd	.LC3(%rip), %xmm0
	movapd	%xmm0, %xmm1
	movq	%rax, %xmm0
	call	pow@PLT
	movapd	%xmm0, %xmm3
	addsd	-88(%rbp), %xmm3
	movsd	%xmm3, -88(%rbp)
	movl	-68(%rbp), %edx
	movl	-64(%rbp), %eax
	imull	%edx, %eax
	addl	%eax, %eax
	pxor	%xmm5, %xmm5
	cvtsi2sdl	%eax, %xmm5
	movsd	%xmm5, -96(%rbp)
	movq	-48(%rbp), %rax
	movq	%rax, %xmm0
	call	cos@PLT
	mulsd	-96(%rbp), %xmm0
	movsd	-88(%rbp), %xmm3
	subsd	%xmm0, %xmm3
	movq	%xmm3, %rax
	movq	%rax, %xmm0
	call	sqrt@PLT
	movq	%xmm0, %rax
	movq	%rax, -32(%rbp)
	movl	-68(%rbp), %edx
	movl	-64(%rbp), %eax
	addl	%edx, %eax
	pxor	%xmm0, %xmm0
	cvtsi2sdl	%eax, %xmm0
	movsd	-32(%rbp), %xmm1
	addsd	%xmm1, %xmm0
	movsd	%xmm0, -24(%rbp)
	movsd	-40(%rbp), %xmm0
	addsd	%xmm0, %xmm0
	movl	-68(%rbp), %eax
	pxor	%xmm1, %xmm1
	cvtsi2sdl	%eax, %xmm1
	divsd	%xmm1, %xmm0
	movsd	%xmm0, -16(%rbp)
	movsd	-16(%rbp), %xmm1
	movsd	-24(%rbp), %xmm0
	movq	-40(%rbp), %rax
	movapd	%xmm1, %xmm2
	movapd	%xmm0, %xmm1
	movq	%rax, %xmm0
	leaq	.LC4(%rip), %rax
	movq	%rax, %rdi
	movl	$3, %eax
	call	printf@PLT
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L3
	call	__stack_chk_fail@PLT
.L3:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC0:
	.long	1413754136
	.long	1074340347
	.align 8
.LC2:
	.long	0
	.long	1080459264
	.align 8
.LC3:
	.long	0
	.long	1073741824
	.ident	"GCC: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.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:
