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

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

void triangle (int side1,int side2,int angle);

int main () {
    int side1,side2,angle;
    scanf ("%d %d %d",&side1,&side2,&angle);
    
    triangle (side1,side2,angle);
    
    return 0;
}

void triangle (int side1,int side2,int angle) {
    double S,L,h,side3,angle2;
    angle2 = angle * 2*M_PI / 360;
    
    h = side2 * sin (angle2);
    S = (side1 * h) / 2;
    
    side3 = sqrt (side1 * side1 + side2 * side2 - 2*side1*side2*cos (angle2));
    L = side1 + side2 + side3;
    
    printf ("%f\n%f\n%f\n",S,L,h);
}
```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC4:
	.string	"%f\n%f\n%f\n"
	.text
	.p2align 4
	.globl	triangle
	.type	triangle, @function
triangle:
.LFB24:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	addl	%edx, %edx
	pxor	%xmm0, %xmm0
	movl	%edi, %ebp
	pushq	%rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	cvtsi2sdl	%edx, %xmm0
	movl	%esi, %ebx
	subq	$40, %rsp
	.cfi_def_cfa_offset 64
	leaq	24(%rsp), %rdi
	mulsd	.LC0(%rip), %xmm0
	leaq	16(%rsp), %rsi
	divsd	.LC1(%rip), %xmm0
	call	sincos@PLT
	movl	%ebp, %eax
	movl	%ebx, %edx
	imull	%ebp, %eax
	pxor	%xmm1, %xmm1
	pxor	%xmm0, %xmm0
	imull	%ebx, %edx
	pxor	%xmm2, %xmm2
	pxor	%xmm3, %xmm3
	cvtsi2sdl	%ebx, %xmm2
	mulsd	24(%rsp), %xmm2
	cvtsi2sdl	%ebp, %xmm3
	addl	%edx, %eax
	cvtsi2sdl	%eax, %xmm1
	movl	%ebx, %eax
	imull	%ebp, %eax
	mulsd	%xmm2, %xmm3
	mulsd	.LC2(%rip), %xmm3
	addl	%eax, %eax
	cvtsi2sdl	%eax, %xmm0
	mulsd	16(%rsp), %xmm0
	subsd	%xmm0, %xmm1
	pxor	%xmm0, %xmm0
	ucomisd	%xmm1, %xmm0
	ja	.L6
	sqrtsd	%xmm1, %xmm1
.L4:
	addl	%ebp, %ebx
	pxor	%xmm0, %xmm0
	addq	$40, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	movl	$1, %edi
	cvtsi2sdl	%ebx, %xmm0
	leaq	.LC4(%rip), %rsi
	popq	%rbx
	.cfi_def_cfa_offset 16
	movl	$3, %eax
	popq	%rbp
	.cfi_def_cfa_offset 8
	addsd	%xmm0, %xmm1
	movapd	%xmm3, %xmm0
	jmp	__printf_chk@PLT
.L6:
	.cfi_restore_state
	movapd	%xmm1, %xmm0
	movsd	%xmm3, 8(%rsp)
	movsd	%xmm2, (%rsp)
	call	sqrt@PLT
	movsd	8(%rsp), %xmm3
	movsd	(%rsp), %xmm2
	movapd	%xmm0, %xmm1
	jmp	.L4
	.cfi_endproc
.LFE24:
	.size	triangle, .-triangle
	.section	.rodata.str1.1
.LC5:
	.string	"%d %d %d"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	subq	$40, %rsp
	.cfi_def_cfa_offset 48
	leaq	.LC5(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, 24(%rsp)
	xorl	%eax, %eax
	leaq	16(%rsp), %rdx
	leaq	12(%rsp), %rsi
	leaq	20(%rsp), %rcx
	call	__isoc99_scanf@PLT
	movl	20(%rsp), %edx
	movl	16(%rsp), %esi
	movl	12(%rsp), %edi
	call	triangle
	movq	24(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L12
	xorl	%eax, %eax
	addq	$40, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
.L12:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.size	main, .-main
	.section	.rodata.cst8,"aM",@progbits,8
	.align 8
.LC0:
	.long	1413754136
	.long	1074340347
	.align 8
.LC1:
	.long	0
	.long	1081507840
	.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:
```

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
.LC4:
	.string	"%f\n%f\n%f\n"
	.text
	.p2align 4
	.globl	triangle
	.type	triangle, @function
triangle:
.LFB24:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	addl	%edx, %edx
	pxor	%xmm0, %xmm0
	movl	%edi, %ebp
	pushq	%rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	cvtsi2sdl	%edx, %xmm0
	movl	%esi, %ebx
	subq	$40, %rsp
	.cfi_def_cfa_offset 64
	leaq	24(%rsp), %rdi
	mulsd	.LC0(%rip), %xmm0
	leaq	16(%rsp), %rsi
	divsd	.LC1(%rip), %xmm0
	call	sincos@PLT
	movl	%ebp, %eax
	movl	%ebx, %edx
	imull	%ebp, %eax
	pxor	%xmm1, %xmm1
	pxor	%xmm0, %xmm0
	imull	%ebx, %edx
	pxor	%xmm2, %xmm2
	pxor	%xmm3, %xmm3
	cvtsi2sdl	%ebx, %xmm2
	mulsd	24(%rsp), %xmm2
	cvtsi2sdl	%ebp, %xmm3
	addl	%edx, %eax
	cvtsi2sdl	%eax, %xmm1
	movl	%ebx, %eax
	imull	%ebp, %eax
	mulsd	%xmm2, %xmm3
	mulsd	.LC2(%rip), %xmm3
	addl	%eax, %eax
	cvtsi2sdl	%eax, %xmm0
	mulsd	16(%rsp), %xmm0
	subsd	%xmm0, %xmm1
	pxor	%xmm0, %xmm0
	ucomisd	%xmm1, %xmm0
	ja	.L6
	sqrtsd	%xmm1, %xmm1
.L4:
	addl	%ebp, %ebx
	pxor	%xmm0, %xmm0
	addq	$40, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	movl	$1, %edi
	cvtsi2sdl	%ebx, %xmm0
	leaq	.LC4(%rip), %rsi
	popq	%rbx
	.cfi_def_cfa_offset 16
	movl	$3, %eax
	popq	%rbp
	.cfi_def_cfa_offset 8
	addsd	%xmm0, %xmm1
	movapd	%xmm3, %xmm0
	jmp	__printf_chk@PLT
.L6:
	.cfi_restore_state
	movapd	%xmm1, %xmm0
	movsd	%xmm3, 8(%rsp)
	movsd	%xmm2, (%rsp)
	call	sqrt@PLT
	movsd	8(%rsp), %xmm3
	movsd	(%rsp), %xmm2
	movapd	%xmm0, %xmm1
	jmp	.L4
	.cfi_endproc
.LFE24:
	.size	triangle, .-triangle
	.section	.rodata.str1.1
.LC5:
	.string	"%d %d %d"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	subq	$40, %rsp
	.cfi_def_cfa_offset 48
	leaq	.LC5(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, 24(%rsp)
	xorl	%eax, %eax
	leaq	16(%rsp), %rdx
	leaq	12(%rsp), %rsi
	leaq	20(%rsp), %rcx
	call	__isoc99_scanf@PLT
	movl	20(%rsp), %edx
	movl	16(%rsp), %esi
	movl	12(%rsp), %edi
	call	triangle
	movq	24(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L12
	xorl	%eax, %eax
	addq	$40, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
.L12:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.size	main, .-main
	.section	.rodata.cst8,"aM",@progbits,8
	.align 8
.LC0:
	.long	1413754136
	.long	1074340347
	.align 8
.LC1:
	.long	0
	.long	1081507840
	.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
```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC4:
	.string	"%f\n%f\n%f\n"
	.text
	.p2align 4
	.globl	triangle
	.type	triangle, @function
triangle:
.LFB24:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	addl	%edx, %edx
	pxor	%xmm0, %xmm0
	movl	%edi, %ebp
	pushq	%rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	cvtsi2sdl	%edx, %xmm0
	movl	%esi, %ebx
	subq	$40, %rsp
	.cfi_def_cfa_offset 64
	leaq	24(%rsp), %rdi
	mulsd	.LC0(%rip), %xmm0
	leaq	16(%rsp), %rsi
	divsd	.LC1(%rip), %xmm0
	call	sincos@PLT
	movl	%ebp, %eax
	movl	%ebx, %edx
	imull	%ebp, %eax
	pxor	%xmm1, %xmm1
	pxor	%xmm0, %xmm0
	imull	%ebx, %edx
	pxor	%xmm2, %xmm2
	pxor	%xmm3, %xmm3
	cvtsi2sdl	%ebx, %xmm2
	mulsd	24(%rsp), %xmm2
	cvtsi2sdl	%ebp, %xmm3
	addl	%edx, %eax
	cvtsi2sdl	%eax, %xmm1
	movl	%ebx, %eax
	imull	%ebp, %eax
	mulsd	%xmm2, %xmm3
	mulsd	.LC2(%rip), %xmm3
	addl	%eax, %eax
	cvtsi2sdl	%eax, %xmm0
	mulsd	16(%rsp), %xmm0
	subsd	%xmm0, %xmm1
	pxor	%xmm0, %xmm0
	ucomisd	%xmm1, %xmm0
	ja	.L6
	sqrtsd	%xmm1, %xmm1
.L4:
	addl	%ebp, %ebx
	pxor	%xmm0, %xmm0
	addq	$40, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	movl	$1, %edi
	cvtsi2sdl	%ebx, %xmm0
	leaq	.LC4(%rip), %rsi
	popq	%rbx
	.cfi_def_cfa_offset 16
	movl	$3, %eax
	popq	%rbp
	.cfi_def_cfa_offset 8
	addsd	%xmm0, %xmm1
	movapd	%xmm3, %xmm0
	jmp	__printf_chk@PLT
.L6:
	.cfi_restore_state
	movapd	%xmm1, %xmm0
	movsd	%xmm3, 8(%rsp)
	movsd	%xmm2, (%rsp)
	call	sqrt@PLT
	movsd	8(%rsp), %xmm3
	movsd	(%rsp), %xmm2
	movapd	%xmm0, %xmm1
	jmp	.L4
	.cfi_endproc
.LFE24:
	.size	triangle, .-triangle
	.section	.rodata.str1.1
.LC5:
	.string	"%d %d %d"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	subq	$40, %rsp
	.cfi_def_cfa_offset 48
	leaq	.LC5(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, 24(%rsp)
	xorl	%eax, %eax
	leaq	16(%rsp), %rdx
	leaq	12(%rsp), %rsi
	leaq	20(%rsp), %rcx
	call	__isoc99_scanf@PLT
	movl	20(%rsp), %edx
	movl	16(%rsp), %esi
	movl	12(%rsp), %edi
	call	triangle
	movq	24(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L12
	xorl	%eax, %eax
	addq	$40, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
.L12:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.size	main, .-main
	.section	.rodata.cst8,"aM",@progbits,8
	.align 8
.LC0:
	.long	1413754136
	.long	1074340347
	.align 8
.LC1:
	.long	0
	.long	1081507840
	.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:
```
```c
#include <stdio.h>
#include <math.h>

void triangle (int side1,int side2,int angle);

int main () {
    int side1,side2,angle;
    scanf ("%d %d %d",&side1,&side2,&angle);
    
    triangle (side1,side2,angle);
    
    return 0;
}

void triangle (int side1,int side2,int angle) {
    double S,L,h,side3,angle2;
    angle2 = angle * 2*M_PI / 360;
    
    h = side2 * sin (angle2);
    S = (side1 * h) / 2;
    
    side3 = sqrt (side1 * side1 + side2 * side2 - 2*side1*side2*cos (angle2));
    L = side1 + side2 + side3;
    
    printf ("%f\n%f\n%f\n",S,L,h);
}
```
Given the following C code, your task is to generate highly optimized x86-64 assembly code.
C Code:

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

void triangle (int side1,int side2,int angle);

int main () {
    int side1,side2,angle;
    scanf ("%d %d %d",&side1,&side2,&angle);
    
    triangle (side1,side2,angle);
    
    return 0;
}

void triangle (int side1,int side2,int angle) {
    double S,L,h,side3,angle2;
    angle2 = angle * 2*M_PI / 360;
    
    h = side2 * sin (angle2);
    S = (side1 * h) / 2;
    
    side3 = sqrt (side1 * side1 + side2 * side2 - 2*side1*side2*cos (angle2));
    L = side1 + side2 + side3;
    
    printf ("%f\n%f\n%f\n",S,L,h);
}
```

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
#include <stdio.h>
#include <math.h>

void triangle (int side1,int side2,int angle);

int main () {
    int side1,side2,angle;
    scanf ("%d %d %d",&side1,&side2,&angle);
    
    triangle (side1,side2,angle);
    
    return 0;
}

void triangle (int side1,int side2,int angle) {
    double S,L,h,side3,angle2;
    angle2 = angle * 2*M_PI / 360;
    
    h = side2 * sin (angle2);
    S = (side1 * h) / 2;
    
    side3 = sqrt (side1 * side1 + side2 * side2 - 2*side1*side2*cos (angle2));
    L = side1 + side2 + side3;
    
    printf ("%f\n%f\n%f\n",S,L,h);
}
```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC4:
	.string	"%f\n%f\n%f\n"
	.text
	.p2align 4
	.globl	triangle
	.type	triangle, @function
triangle:
.LFB24:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	addl	%edx, %edx
	pxor	%xmm0, %xmm0
	movl	%edi, %ebp
	pushq	%rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	cvtsi2sdl	%edx, %xmm0
	movl	%esi, %ebx
	subq	$40, %rsp
	.cfi_def_cfa_offset 64
	leaq	24(%rsp), %rdi
	mulsd	.LC0(%rip), %xmm0
	leaq	16(%rsp), %rsi
	divsd	.LC1(%rip), %xmm0
	call	sincos@PLT
	movl	%ebp, %eax
	movl	%ebx, %edx
	imull	%ebp, %eax
	pxor	%xmm1, %xmm1
	pxor	%xmm0, %xmm0
	imull	%ebx, %edx
	pxor	%xmm2, %xmm2
	pxor	%xmm3, %xmm3
	cvtsi2sdl	%ebx, %xmm2
	mulsd	24(%rsp), %xmm2
	cvtsi2sdl	%ebp, %xmm3
	addl	%edx, %eax
	cvtsi2sdl	%eax, %xmm1
	movl	%ebx, %eax
	imull	%ebp, %eax
	mulsd	%xmm2, %xmm3
	mulsd	.LC2(%rip), %xmm3
	addl	%eax, %eax
	cvtsi2sdl	%eax, %xmm0
	mulsd	16(%rsp), %xmm0
	subsd	%xmm0, %xmm1
	pxor	%xmm0, %xmm0
	ucomisd	%xmm1, %xmm0
	ja	.L6
	sqrtsd	%xmm1, %xmm1
.L4:
	addl	%ebp, %ebx
	pxor	%xmm0, %xmm0
	addq	$40, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	movl	$1, %edi
	cvtsi2sdl	%ebx, %xmm0
	leaq	.LC4(%rip), %rsi
	popq	%rbx
	.cfi_def_cfa_offset 16
	movl	$3, %eax
	popq	%rbp
	.cfi_def_cfa_offset 8
	addsd	%xmm0, %xmm1
	movapd	%xmm3, %xmm0
	jmp	__printf_chk@PLT
.L6:
	.cfi_restore_state
	movapd	%xmm1, %xmm0
	movsd	%xmm3, 8(%rsp)
	movsd	%xmm2, (%rsp)
	call	sqrt@PLT
	movsd	8(%rsp), %xmm3
	movsd	(%rsp), %xmm2
	movapd	%xmm0, %xmm1
	jmp	.L4
	.cfi_endproc
.LFE24:
	.size	triangle, .-triangle
	.section	.rodata.str1.1
.LC5:
	.string	"%d %d %d"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	subq	$40, %rsp
	.cfi_def_cfa_offset 48
	leaq	.LC5(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, 24(%rsp)
	xorl	%eax, %eax
	leaq	16(%rsp), %rdx
	leaq	12(%rsp), %rsi
	leaq	20(%rsp), %rcx
	call	__isoc99_scanf@PLT
	movl	20(%rsp), %edx
	movl	16(%rsp), %esi
	movl	12(%rsp), %edi
	call	triangle
	movq	24(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L12
	xorl	%eax, %eax
	addq	$40, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
.L12:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.size	main, .-main
	.section	.rodata.cst8,"aM",@progbits,8
	.align 8
.LC0:
	.long	1413754136
	.long	1074340347
	.align 8
.LC1:
	.long	0
	.long	1081507840
	.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:
```

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
.LC4:
	.string	"%f\n%f\n%f\n"
	.text
	.p2align 4
	.globl	triangle
	.type	triangle, @function
triangle:
.LFB24:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	addl	%edx, %edx
	pxor	%xmm0, %xmm0
	movl	%edi, %ebp
	pushq	%rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	cvtsi2sdl	%edx, %xmm0
	movl	%esi, %ebx
	subq	$40, %rsp
	.cfi_def_cfa_offset 64
	leaq	24(%rsp), %rdi
	mulsd	.LC0(%rip), %xmm0
	leaq	16(%rsp), %rsi
	divsd	.LC1(%rip), %xmm0
	call	sincos@PLT
	movl	%ebp, %eax
	movl	%ebx, %edx
	imull	%ebp, %eax
	pxor	%xmm1, %xmm1
	pxor	%xmm0, %xmm0
	imull	%ebx, %edx
	pxor	%xmm2, %xmm2
	pxor	%xmm3, %xmm3
	cvtsi2sdl	%ebx, %xmm2
	mulsd	24(%rsp), %xmm2
	cvtsi2sdl	%ebp, %xmm3
	addl	%edx, %eax
	cvtsi2sdl	%eax, %xmm1
	movl	%ebx, %eax
	imull	%ebp, %eax
	mulsd	%xmm2, %xmm3
	mulsd	.LC2(%rip), %xmm3
	addl	%eax, %eax
	cvtsi2sdl	%eax, %xmm0
	mulsd	16(%rsp), %xmm0
	subsd	%xmm0, %xmm1
	pxor	%xmm0, %xmm0
	ucomisd	%xmm1, %xmm0
	ja	.L6
	sqrtsd	%xmm1, %xmm1
.L4:
	addl	%ebp, %ebx
	pxor	%xmm0, %xmm0
	addq	$40, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	movl	$1, %edi
	cvtsi2sdl	%ebx, %xmm0
	leaq	.LC4(%rip), %rsi
	popq	%rbx
	.cfi_def_cfa_offset 16
	movl	$3, %eax
	popq	%rbp
	.cfi_def_cfa_offset 8
	addsd	%xmm0, %xmm1
	movapd	%xmm3, %xmm0
	jmp	__printf_chk@PLT
.L6:
	.cfi_restore_state
	movapd	%xmm1, %xmm0
	movsd	%xmm3, 8(%rsp)
	movsd	%xmm2, (%rsp)
	call	sqrt@PLT
	movsd	8(%rsp), %xmm3
	movsd	(%rsp), %xmm2
	movapd	%xmm0, %xmm1
	jmp	.L4
	.cfi_endproc
.LFE24:
	.size	triangle, .-triangle
	.section	.rodata.str1.1
.LC5:
	.string	"%d %d %d"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	subq	$40, %rsp
	.cfi_def_cfa_offset 48
	leaq	.LC5(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, 24(%rsp)
	xorl	%eax, %eax
	leaq	16(%rsp), %rdx
	leaq	12(%rsp), %rsi
	leaq	20(%rsp), %rcx
	call	__isoc99_scanf@PLT
	movl	20(%rsp), %edx
	movl	16(%rsp), %esi
	movl	12(%rsp), %edi
	call	triangle
	movq	24(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L12
	xorl	%eax, %eax
	addq	$40, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
.L12:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.size	main, .-main
	.section	.rodata.cst8,"aM",@progbits,8
	.align 8
.LC0:
	.long	1413754136
	.long	1074340347
	.align 8
.LC1:
	.long	0
	.long	1081507840
	.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:
```