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

```c
/*
 * ID:  ITP1_10_B
 * Problem: Triangle
 */

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

int main(void)
{
    double a, b, C_degree;
    double h, c, S, L, C_radian;


    scanf("%lf %lf %lf", &a, &b, &C_degree);
    C_radian = M_PI * C_degree / 180.0;
    h = b * sin(C_radian);
    S = 0.5 * a * h;
    c = sqrt(a * a + b * b - 2 * a * b * cos(C_radian));
    L = a + b + c;

    printf("%f\n%f\n%f\n", S, L, h);

    return 0;
}

```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%lf %lf %lf"
.LC5:
	.string	"%f\n%f\n%f\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	subq	$88, %rsp
	.cfi_def_cfa_offset 96
	leaq	.LC0(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, 72(%rsp)
	xorl	%eax, %eax
	leaq	64(%rsp), %rcx
	leaq	56(%rsp), %rdx
	leaq	48(%rsp), %rsi
	call	__isoc99_scanf@PLT
	leaq	40(%rsp), %rdi
	leaq	32(%rsp), %rsi
	movsd	.LC1(%rip), %xmm0
	mulsd	64(%rsp), %xmm0
	divsd	.LC2(%rip), %xmm0
	call	sincos@PLT
	movsd	48(%rsp), %xmm3
	movsd	56(%rsp), %xmm1
	movsd	40(%rsp), %xmm2
	movsd	.LC3(%rip), %xmm5
	movapd	%xmm3, %xmm0
	movapd	%xmm1, %xmm4
	mulsd	%xmm1, %xmm4
	mulsd	%xmm3, %xmm0
	mulsd	%xmm1, %xmm2
	mulsd	%xmm3, %xmm5
	addsd	%xmm4, %xmm0
	movapd	%xmm3, %xmm4
	addsd	%xmm3, %xmm4
	mulsd	%xmm2, %xmm5
	mulsd	%xmm1, %xmm4
	mulsd	32(%rsp), %xmm4
	subsd	%xmm4, %xmm0
	pxor	%xmm4, %xmm4
	ucomisd	%xmm0, %xmm4
	ja	.L7
	sqrtsd	%xmm0, %xmm0
.L4:
	addsd	%xmm3, %xmm1
	movl	$1, %edi
	movl	$3, %eax
	leaq	.LC5(%rip), %rsi
	addsd	%xmm0, %xmm1
	movapd	%xmm5, %xmm0
	call	__printf_chk@PLT
	movq	72(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L10
	xorl	%eax, %eax
	addq	$88, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
.L7:
	.cfi_restore_state
	movsd	%xmm5, 24(%rsp)
	movsd	%xmm2, 16(%rsp)
	movsd	%xmm3, 8(%rsp)
	movsd	%xmm1, (%rsp)
	call	sqrt@PLT
	movsd	24(%rsp), %xmm5
	movsd	16(%rsp), %xmm2
	movsd	8(%rsp), %xmm3
	movsd	(%rsp), %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	1413754136
	.long	1074340347
	.align 8
.LC2:
	.long	0
	.long	1080459264
	.align 8
.LC3:
	.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:
```

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.
Optimized Assembly Code:

user
```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%lf %lf %lf"
.LC5:
	.string	"%f\n%f\n%f\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	subq	$88, %rsp
	.cfi_def_cfa_offset 96
	leaq	.LC0(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, 72(%rsp)
	xorl	%eax, %eax
	leaq	64(%rsp), %rcx
	leaq	56(%rsp), %rdx
	leaq	48(%rsp), %rsi
	call	__isoc99_scanf@PLT
	leaq	40(%rsp), %rdi
	leaq	32(%rsp), %rsi
	movsd	.LC1(%rip), %xmm0
	mulsd	64(%rsp), %xmm0
	divsd	.LC2(%rip), %xmm0
	call	sincos@PLT
	movsd	48(%rsp), %xmm3
	movsd	56(%rsp), %xmm1
	movsd	40(%rsp), %xmm2
	movsd	.LC3(%rip), %xmm5
	movapd	%xmm3, %xmm0
	movapd	%xmm1, %xmm4
	mulsd	%xmm1, %xmm4
	mulsd	%xmm3, %xmm0
	mulsd	%xmm1, %xmm2
	mulsd	%xmm3, %xmm5
	addsd	%xmm4, %xmm0
	movapd	%xmm3, %xmm4
	addsd	%xmm3, %xmm4
	mulsd	%xmm2, %xmm5
	mulsd	%xmm1, %xmm4
	mulsd	32(%rsp), %xmm4
	subsd	%xmm4, %xmm0
	pxor	%xmm4, %xmm4
	ucomisd	%xmm0, %xmm4
	ja	.L7
	sqrtsd	%xmm0, %xmm0
.L4:
	addsd	%xmm3, %xmm1
	movl	$1, %edi
	movl	$3, %eax
	leaq	.LC5(%rip), %rsi
	addsd	%xmm0, %xmm1
	movapd	%xmm5, %xmm0
	call	__printf_chk@PLT
	movq	72(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L10
	xorl	%eax, %eax
	addq	$88, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
.L7:
	.cfi_restore_state
	movsd	%xmm5, 24(%rsp)
	movsd	%xmm2, 16(%rsp)
	movsd	%xmm3, 8(%rsp)
	movsd	%xmm1, (%rsp)
	call	sqrt@PLT
	movsd	24(%rsp), %xmm5
	movsd	16(%rsp), %xmm2
	movsd	8(%rsp), %xmm3
	movsd	(%rsp), %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	1413754136
	.long	1074340347
	.align 8
.LC2:
	.long	0
	.long	1080459264
	.align 8
.LC3:
	.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
```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%lf %lf %lf"
.LC5:
	.string	"%f\n%f\n%f\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	subq	$88, %rsp
	.cfi_def_cfa_offset 96
	leaq	.LC0(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, 72(%rsp)
	xorl	%eax, %eax
	leaq	64(%rsp), %rcx
	leaq	56(%rsp), %rdx
	leaq	48(%rsp), %rsi
	call	__isoc99_scanf@PLT
	leaq	40(%rsp), %rdi
	leaq	32(%rsp), %rsi
	movsd	.LC1(%rip), %xmm0
	mulsd	64(%rsp), %xmm0
	divsd	.LC2(%rip), %xmm0
	call	sincos@PLT
	movsd	48(%rsp), %xmm3
	movsd	56(%rsp), %xmm1
	movsd	40(%rsp), %xmm2
	movsd	.LC3(%rip), %xmm5
	movapd	%xmm3, %xmm0
	movapd	%xmm1, %xmm4
	mulsd	%xmm1, %xmm4
	mulsd	%xmm3, %xmm0
	mulsd	%xmm1, %xmm2
	mulsd	%xmm3, %xmm5
	addsd	%xmm4, %xmm0
	movapd	%xmm3, %xmm4
	addsd	%xmm3, %xmm4
	mulsd	%xmm2, %xmm5
	mulsd	%xmm1, %xmm4
	mulsd	32(%rsp), %xmm4
	subsd	%xmm4, %xmm0
	pxor	%xmm4, %xmm4
	ucomisd	%xmm0, %xmm4
	ja	.L7
	sqrtsd	%xmm0, %xmm0
.L4:
	addsd	%xmm3, %xmm1
	movl	$1, %edi
	movl	$3, %eax
	leaq	.LC5(%rip), %rsi
	addsd	%xmm0, %xmm1
	movapd	%xmm5, %xmm0
	call	__printf_chk@PLT
	movq	72(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L10
	xorl	%eax, %eax
	addq	$88, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
.L7:
	.cfi_restore_state
	movsd	%xmm5, 24(%rsp)
	movsd	%xmm2, 16(%rsp)
	movsd	%xmm3, 8(%rsp)
	movsd	%xmm1, (%rsp)
	call	sqrt@PLT
	movsd	24(%rsp), %xmm5
	movsd	16(%rsp), %xmm2
	movsd	8(%rsp), %xmm3
	movsd	(%rsp), %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	1413754136
	.long	1074340347
	.align 8
.LC2:
	.long	0
	.long	1080459264
	.align 8
.LC3:
	.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:
```
```c
/*
 * ID:  ITP1_10_B
 * Problem: Triangle
 */

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

int main(void)
{
    double a, b, C_degree;
    double h, c, S, L, C_radian;


    scanf("%lf %lf %lf", &a, &b, &C_degree);
    C_radian = M_PI * C_degree / 180.0;
    h = b * sin(C_radian);
    S = 0.5 * a * h;
    c = sqrt(a * a + b * b - 2 * a * b * cos(C_radian));
    L = a + b + c;

    printf("%f\n%f\n%f\n", S, L, h);

    return 0;
}

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

```c
/*
 * ID:  ITP1_10_B
 * Problem: Triangle
 */

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

int main(void)
{
    double a, b, C_degree;
    double h, c, S, L, C_radian;


    scanf("%lf %lf %lf", &a, &b, &C_degree);
    C_radian = M_PI * C_degree / 180.0;
    h = b * sin(C_radian);
    S = 0.5 * a * h;
    c = sqrt(a * a + b * b - 2 * a * b * cos(C_radian));
    L = a + b + c;

    printf("%f\n%f\n%f\n", S, L, h);

    return 0;
}

```

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.
Optimized Assembly Code:

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 assembly code, your task is to generate highly optimized x86-64 assembly code.
C Code:

```c
/*
 * ID:  ITP1_10_B
 * Problem: Triangle
 */

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

int main(void)
{
    double a, b, C_degree;
    double h, c, S, L, C_radian;


    scanf("%lf %lf %lf", &a, &b, &C_degree);
    C_radian = M_PI * C_degree / 180.0;
    h = b * sin(C_radian);
    S = 0.5 * a * h;
    c = sqrt(a * a + b * b - 2 * a * b * cos(C_radian));
    L = a + b + c;

    printf("%f\n%f\n%f\n", S, L, h);

    return 0;
}

```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%lf %lf %lf"
.LC5:
	.string	"%f\n%f\n%f\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	subq	$88, %rsp
	.cfi_def_cfa_offset 96
	leaq	.LC0(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, 72(%rsp)
	xorl	%eax, %eax
	leaq	64(%rsp), %rcx
	leaq	56(%rsp), %rdx
	leaq	48(%rsp), %rsi
	call	__isoc99_scanf@PLT
	leaq	40(%rsp), %rdi
	leaq	32(%rsp), %rsi
	movsd	.LC1(%rip), %xmm0
	mulsd	64(%rsp), %xmm0
	divsd	.LC2(%rip), %xmm0
	call	sincos@PLT
	movsd	48(%rsp), %xmm3
	movsd	56(%rsp), %xmm1
	movsd	40(%rsp), %xmm2
	movsd	.LC3(%rip), %xmm5
	movapd	%xmm3, %xmm0
	movapd	%xmm1, %xmm4
	mulsd	%xmm1, %xmm4
	mulsd	%xmm3, %xmm0
	mulsd	%xmm1, %xmm2
	mulsd	%xmm3, %xmm5
	addsd	%xmm4, %xmm0
	movapd	%xmm3, %xmm4
	addsd	%xmm3, %xmm4
	mulsd	%xmm2, %xmm5
	mulsd	%xmm1, %xmm4
	mulsd	32(%rsp), %xmm4
	subsd	%xmm4, %xmm0
	pxor	%xmm4, %xmm4
	ucomisd	%xmm0, %xmm4
	ja	.L7
	sqrtsd	%xmm0, %xmm0
.L4:
	addsd	%xmm3, %xmm1
	movl	$1, %edi
	movl	$3, %eax
	leaq	.LC5(%rip), %rsi
	addsd	%xmm0, %xmm1
	movapd	%xmm5, %xmm0
	call	__printf_chk@PLT
	movq	72(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L10
	xorl	%eax, %eax
	addq	$88, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
.L7:
	.cfi_restore_state
	movsd	%xmm5, 24(%rsp)
	movsd	%xmm2, 16(%rsp)
	movsd	%xmm3, 8(%rsp)
	movsd	%xmm1, (%rsp)
	call	sqrt@PLT
	movsd	24(%rsp), %xmm5
	movsd	16(%rsp), %xmm2
	movsd	8(%rsp), %xmm3
	movsd	(%rsp), %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	1413754136
	.long	1074340347
	.align 8
.LC2:
	.long	0
	.long	1080459264
	.align 8
.LC3:
	.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:
```

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.
Optimized Assembly Code:

train
```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%lf %lf %lf"
.LC5:
	.string	"%f\n%f\n%f\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	subq	$88, %rsp
	.cfi_def_cfa_offset 96
	leaq	.LC0(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, 72(%rsp)
	xorl	%eax, %eax
	leaq	64(%rsp), %rcx
	leaq	56(%rsp), %rdx
	leaq	48(%rsp), %rsi
	call	__isoc99_scanf@PLT
	leaq	40(%rsp), %rdi
	leaq	32(%rsp), %rsi
	movsd	.LC1(%rip), %xmm0
	mulsd	64(%rsp), %xmm0
	divsd	.LC2(%rip), %xmm0
	call	sincos@PLT
	movsd	48(%rsp), %xmm3
	movsd	56(%rsp), %xmm1
	movsd	40(%rsp), %xmm2
	movsd	.LC3(%rip), %xmm5
	movapd	%xmm3, %xmm0
	movapd	%xmm1, %xmm4
	mulsd	%xmm1, %xmm4
	mulsd	%xmm3, %xmm0
	mulsd	%xmm1, %xmm2
	mulsd	%xmm3, %xmm5
	addsd	%xmm4, %xmm0
	movapd	%xmm3, %xmm4
	addsd	%xmm3, %xmm4
	mulsd	%xmm2, %xmm5
	mulsd	%xmm1, %xmm4
	mulsd	32(%rsp), %xmm4
	subsd	%xmm4, %xmm0
	pxor	%xmm4, %xmm4
	ucomisd	%xmm0, %xmm4
	ja	.L7
	sqrtsd	%xmm0, %xmm0
.L4:
	addsd	%xmm3, %xmm1
	movl	$1, %edi
	movl	$3, %eax
	leaq	.LC5(%rip), %rsi
	addsd	%xmm0, %xmm1
	movapd	%xmm5, %xmm0
	call	__printf_chk@PLT
	movq	72(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L10
	xorl	%eax, %eax
	addq	$88, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
.L7:
	.cfi_restore_state
	movsd	%xmm5, 24(%rsp)
	movsd	%xmm2, 16(%rsp)
	movsd	%xmm3, 8(%rsp)
	movsd	%xmm1, (%rsp)
	call	sqrt@PLT
	movsd	24(%rsp), %xmm5
	movsd	16(%rsp), %xmm2
	movsd	8(%rsp), %xmm3
	movsd	(%rsp), %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	1413754136
	.long	1074340347
	.align 8
.LC2:
	.long	0
	.long	1080459264
	.align 8
.LC3:
	.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:
```