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>

int main(void){
	int a, b, c;
	while( scanf(" %d %d %d", &a, &b, &c) != EOF){
		double area = sqrt(b*b - (a/2.0)*(a/2.0)) * (a/2.0);
		double y = (b+c)/2.0;
		area += sqrt(y*y - (b/2.0)*(b/2.0)) * (b/2.0) * 2;
	
		printf("%.10lf\n", area);
	}

	return 0;
}```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC2:
	.string	"%.10lf\n"
.LC3:
	.string	" %d %d %d"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	leaq	.LC2(%rip), %r14
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	leaq	.LC3(%rip), %rbx
	subq	$56, %rsp
	.cfi_def_cfa_offset 112
	movq	%fs:40, %rax
	movq	%rax, 40(%rsp)
	xorl	%eax, %eax
	leaq	36(%rsp), %r13
	leaq	32(%rsp), %r12
	leaq	28(%rsp), %rbp
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L9:
	pxor	%xmm1, %xmm1
	movl	32(%rsp), %r15d
	pxor	%xmm0, %xmm0
	pxor	%xmm4, %xmm4
	cvtsi2sdl	28(%rsp), %xmm1
	mulsd	.LC0(%rip), %xmm1
	movl	%r15d, %eax
	imull	%r15d, %eax
	movapd	%xmm1, %xmm2
	cvtsi2sdl	%eax, %xmm0
	mulsd	%xmm1, %xmm2
	subsd	%xmm2, %xmm0
	ucomisd	%xmm0, %xmm4
	ja	.L13
	sqrtsd	%xmm0, %xmm0
	movapd	%xmm4, %xmm5
.L5:
	movl	36(%rsp), %eax
	movapd	%xmm1, %xmm3
	pxor	%xmm1, %xmm1
	mulsd	%xmm0, %xmm3
	cvtsi2sdl	%r15d, %xmm1
	pxor	%xmm0, %xmm0
	mulsd	.LC0(%rip), %xmm1
	addl	%r15d, %eax
	cvtsi2sdl	%eax, %xmm0
	mulsd	.LC0(%rip), %xmm0
	movapd	%xmm1, %xmm2
	mulsd	%xmm0, %xmm0
	mulsd	%xmm1, %xmm2
	subsd	%xmm2, %xmm0
	ucomisd	%xmm0, %xmm5
	ja	.L14
	sqrtsd	%xmm0, %xmm0
.L8:
	mulsd	%xmm0, %xmm1
	movq	%r14, %rsi
	movl	$1, %edi
	movl	$1, %eax
	addsd	%xmm1, %xmm1
	addsd	%xmm3, %xmm1
	movapd	%xmm1, %xmm0
	call	__printf_chk@PLT
.L2:
	xorl	%eax, %eax
	movq	%r13, %rcx
	movq	%r12, %rdx
	movq	%rbp, %rsi
	movq	%rbx, %rdi
	call	__isoc99_scanf@PLT
	cmpl	$-1, %eax
	jne	.L9
	movq	40(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L17
	addq	$56, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%rbp
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	ret
.L13:
	.cfi_restore_state
	movsd	%xmm1, (%rsp)
	call	sqrt@PLT
	movsd	(%rsp), %xmm1
	pxor	%xmm5, %xmm5
	jmp	.L5
.L14:
	movsd	%xmm3, 8(%rsp)
	movsd	%xmm1, (%rsp)
	call	sqrt@PLT
	movsd	8(%rsp), %xmm3
	movsd	(%rsp), %xmm1
	jmp	.L8
.L17:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.size	main, .-main
	.section	.rodata.cst8,"aM",@progbits,8
	.align 8
.LC0:
	.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
.LC2:
	.string	"%.10lf\n"
.LC3:
	.string	" %d %d %d"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	leaq	.LC2(%rip), %r14
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	leaq	.LC3(%rip), %rbx
	subq	$56, %rsp
	.cfi_def_cfa_offset 112
	movq	%fs:40, %rax
	movq	%rax, 40(%rsp)
	xorl	%eax, %eax
	leaq	36(%rsp), %r13
	leaq	32(%rsp), %r12
	leaq	28(%rsp), %rbp
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L9:
	pxor	%xmm1, %xmm1
	movl	32(%rsp), %r15d
	pxor	%xmm0, %xmm0
	pxor	%xmm4, %xmm4
	cvtsi2sdl	28(%rsp), %xmm1
	mulsd	.LC0(%rip), %xmm1
	movl	%r15d, %eax
	imull	%r15d, %eax
	movapd	%xmm1, %xmm2
	cvtsi2sdl	%eax, %xmm0
	mulsd	%xmm1, %xmm2
	subsd	%xmm2, %xmm0
	ucomisd	%xmm0, %xmm4
	ja	.L13
	sqrtsd	%xmm0, %xmm0
	movapd	%xmm4, %xmm5
.L5:
	movl	36(%rsp), %eax
	movapd	%xmm1, %xmm3
	pxor	%xmm1, %xmm1
	mulsd	%xmm0, %xmm3
	cvtsi2sdl	%r15d, %xmm1
	pxor	%xmm0, %xmm0
	mulsd	.LC0(%rip), %xmm1
	addl	%r15d, %eax
	cvtsi2sdl	%eax, %xmm0
	mulsd	.LC0(%rip), %xmm0
	movapd	%xmm1, %xmm2
	mulsd	%xmm0, %xmm0
	mulsd	%xmm1, %xmm2
	subsd	%xmm2, %xmm0
	ucomisd	%xmm0, %xmm5
	ja	.L14
	sqrtsd	%xmm0, %xmm0
.L8:
	mulsd	%xmm0, %xmm1
	movq	%r14, %rsi
	movl	$1, %edi
	movl	$1, %eax
	addsd	%xmm1, %xmm1
	addsd	%xmm3, %xmm1
	movapd	%xmm1, %xmm0
	call	__printf_chk@PLT
.L2:
	xorl	%eax, %eax
	movq	%r13, %rcx
	movq	%r12, %rdx
	movq	%rbp, %rsi
	movq	%rbx, %rdi
	call	__isoc99_scanf@PLT
	cmpl	$-1, %eax
	jne	.L9
	movq	40(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L17
	addq	$56, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%rbp
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	ret
.L13:
	.cfi_restore_state
	movsd	%xmm1, (%rsp)
	call	sqrt@PLT
	movsd	(%rsp), %xmm1
	pxor	%xmm5, %xmm5
	jmp	.L5
.L14:
	movsd	%xmm3, 8(%rsp)
	movsd	%xmm1, (%rsp)
	call	sqrt@PLT
	movsd	8(%rsp), %xmm3
	movsd	(%rsp), %xmm1
	jmp	.L8
.L17:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.size	main, .-main
	.section	.rodata.cst8,"aM",@progbits,8
	.align 8
.LC0:
	.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
.LC2:
	.string	"%.10lf\n"
.LC3:
	.string	" %d %d %d"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	leaq	.LC2(%rip), %r14
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	leaq	.LC3(%rip), %rbx
	subq	$56, %rsp
	.cfi_def_cfa_offset 112
	movq	%fs:40, %rax
	movq	%rax, 40(%rsp)
	xorl	%eax, %eax
	leaq	36(%rsp), %r13
	leaq	32(%rsp), %r12
	leaq	28(%rsp), %rbp
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L9:
	pxor	%xmm1, %xmm1
	movl	32(%rsp), %r15d
	pxor	%xmm0, %xmm0
	pxor	%xmm4, %xmm4
	cvtsi2sdl	28(%rsp), %xmm1
	mulsd	.LC0(%rip), %xmm1
	movl	%r15d, %eax
	imull	%r15d, %eax
	movapd	%xmm1, %xmm2
	cvtsi2sdl	%eax, %xmm0
	mulsd	%xmm1, %xmm2
	subsd	%xmm2, %xmm0
	ucomisd	%xmm0, %xmm4
	ja	.L13
	sqrtsd	%xmm0, %xmm0
	movapd	%xmm4, %xmm5
.L5:
	movl	36(%rsp), %eax
	movapd	%xmm1, %xmm3
	pxor	%xmm1, %xmm1
	mulsd	%xmm0, %xmm3
	cvtsi2sdl	%r15d, %xmm1
	pxor	%xmm0, %xmm0
	mulsd	.LC0(%rip), %xmm1
	addl	%r15d, %eax
	cvtsi2sdl	%eax, %xmm0
	mulsd	.LC0(%rip), %xmm0
	movapd	%xmm1, %xmm2
	mulsd	%xmm0, %xmm0
	mulsd	%xmm1, %xmm2
	subsd	%xmm2, %xmm0
	ucomisd	%xmm0, %xmm5
	ja	.L14
	sqrtsd	%xmm0, %xmm0
.L8:
	mulsd	%xmm0, %xmm1
	movq	%r14, %rsi
	movl	$1, %edi
	movl	$1, %eax
	addsd	%xmm1, %xmm1
	addsd	%xmm3, %xmm1
	movapd	%xmm1, %xmm0
	call	__printf_chk@PLT
.L2:
	xorl	%eax, %eax
	movq	%r13, %rcx
	movq	%r12, %rdx
	movq	%rbp, %rsi
	movq	%rbx, %rdi
	call	__isoc99_scanf@PLT
	cmpl	$-1, %eax
	jne	.L9
	movq	40(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L17
	addq	$56, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%rbp
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	ret
.L13:
	.cfi_restore_state
	movsd	%xmm1, (%rsp)
	call	sqrt@PLT
	movsd	(%rsp), %xmm1
	pxor	%xmm5, %xmm5
	jmp	.L5
.L14:
	movsd	%xmm3, 8(%rsp)
	movsd	%xmm1, (%rsp)
	call	sqrt@PLT
	movsd	8(%rsp), %xmm3
	movsd	(%rsp), %xmm1
	jmp	.L8
.L17:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.size	main, .-main
	.section	.rodata.cst8,"aM",@progbits,8
	.align 8
.LC0:
	.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>

int main(void){
	int a, b, c;
	while( scanf(" %d %d %d", &a, &b, &c) != EOF){
		double area = sqrt(b*b - (a/2.0)*(a/2.0)) * (a/2.0);
		double y = (b+c)/2.0;
		area += sqrt(y*y - (b/2.0)*(b/2.0)) * (b/2.0) * 2;
	
		printf("%.10lf\n", area);
	}

	return 0;
}```
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>

int main(void){
	int a, b, c;
	while( scanf(" %d %d %d", &a, &b, &c) != EOF){
		double area = sqrt(b*b - (a/2.0)*(a/2.0)) * (a/2.0);
		double y = (b+c)/2.0;
		area += sqrt(y*y - (b/2.0)*(b/2.0)) * (b/2.0) * 2;
	
		printf("%.10lf\n", area);
	}

	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:

2 2 1
2 3 1
3 2 3
1 3 5
 4 2 1
2 3 1
3 2 3
1 3 5
 2 2 1
2 3 1
3 2 5
1 3 5
 2 2 0
2 3 1
3 2 3
2 3 5
 2 2 1
2 3 1
1 2 3
1 3 5
 4 2 1
2 3 1
3 2 3
1 3 0
 2 2 1
2 3 1
1 2 5
1 3 5
 2 2 0
2 3 0
3 2 3
2 3 5
 3 2 1
2 3 1
1 2 3
1 3 5
 4 2 1
2 3 1
3 2 3
1 6 0

3.9681187851
6.7970540913
6.5668891783
12.6033176764
 2.2360679775
6.7970540913
6.5668891783
12.6033176764
 3.9681187851
6.7970540913
8.6925174158
12.6033176764
 1.7320508076
6.7970540913
6.5668891783
13.9527248554
 3.9681187851
6.7970540913
5.5508215315
12.6033176764
 2.2360679775
6.7970540913
6.5668891783
1.4790199458
 3.9681187851
6.7970540913
7.6764497691
12.6033176764
 1.7320508076
2.8284271247
6.5668891783
13.9527248554
 4.2203814608
6.7970540913
5.5508215315
12.6033176764
 2.2360679775
6.7970540913
6.5668891783
2.9895651858

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>

int main(void){
	int a, b, c;
	while( scanf(" %d %d %d", &a, &b, &c) != EOF){
		double area = sqrt(b*b - (a/2.0)*(a/2.0)) * (a/2.0);
		double y = (b+c)/2.0;
		area += sqrt(y*y - (b/2.0)*(b/2.0)) * (b/2.0) * 2;
	
		printf("%.10lf\n", area);
	}

	return 0;
}```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC2:
	.string	"%.10lf\n"
.LC3:
	.string	" %d %d %d"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	leaq	.LC2(%rip), %r14
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	leaq	.LC3(%rip), %rbx
	subq	$56, %rsp
	.cfi_def_cfa_offset 112
	movq	%fs:40, %rax
	movq	%rax, 40(%rsp)
	xorl	%eax, %eax
	leaq	36(%rsp), %r13
	leaq	32(%rsp), %r12
	leaq	28(%rsp), %rbp
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L9:
	pxor	%xmm1, %xmm1
	movl	32(%rsp), %r15d
	pxor	%xmm0, %xmm0
	pxor	%xmm4, %xmm4
	cvtsi2sdl	28(%rsp), %xmm1
	mulsd	.LC0(%rip), %xmm1
	movl	%r15d, %eax
	imull	%r15d, %eax
	movapd	%xmm1, %xmm2
	cvtsi2sdl	%eax, %xmm0
	mulsd	%xmm1, %xmm2
	subsd	%xmm2, %xmm0
	ucomisd	%xmm0, %xmm4
	ja	.L13
	sqrtsd	%xmm0, %xmm0
	movapd	%xmm4, %xmm5
.L5:
	movl	36(%rsp), %eax
	movapd	%xmm1, %xmm3
	pxor	%xmm1, %xmm1
	mulsd	%xmm0, %xmm3
	cvtsi2sdl	%r15d, %xmm1
	pxor	%xmm0, %xmm0
	mulsd	.LC0(%rip), %xmm1
	addl	%r15d, %eax
	cvtsi2sdl	%eax, %xmm0
	mulsd	.LC0(%rip), %xmm0
	movapd	%xmm1, %xmm2
	mulsd	%xmm0, %xmm0
	mulsd	%xmm1, %xmm2
	subsd	%xmm2, %xmm0
	ucomisd	%xmm0, %xmm5
	ja	.L14
	sqrtsd	%xmm0, %xmm0
.L8:
	mulsd	%xmm0, %xmm1
	movq	%r14, %rsi
	movl	$1, %edi
	movl	$1, %eax
	addsd	%xmm1, %xmm1
	addsd	%xmm3, %xmm1
	movapd	%xmm1, %xmm0
	call	__printf_chk@PLT
.L2:
	xorl	%eax, %eax
	movq	%r13, %rcx
	movq	%r12, %rdx
	movq	%rbp, %rsi
	movq	%rbx, %rdi
	call	__isoc99_scanf@PLT
	cmpl	$-1, %eax
	jne	.L9
	movq	40(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L17
	addq	$56, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%rbp
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	ret
.L13:
	.cfi_restore_state
	movsd	%xmm1, (%rsp)
	call	sqrt@PLT
	movsd	(%rsp), %xmm1
	pxor	%xmm5, %xmm5
	jmp	.L5
.L14:
	movsd	%xmm3, 8(%rsp)
	movsd	%xmm1, (%rsp)
	call	sqrt@PLT
	movsd	8(%rsp), %xmm3
	movsd	(%rsp), %xmm1
	jmp	.L8
.L17:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.size	main, .-main
	.section	.rodata.cst8,"aM",@progbits,8
	.align 8
.LC0:
	.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
.LC2:
	.string	"%.10lf\n"
.LC3:
	.string	" %d %d %d"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	leaq	.LC2(%rip), %r14
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	leaq	.LC3(%rip), %rbx
	subq	$56, %rsp
	.cfi_def_cfa_offset 112
	movq	%fs:40, %rax
	movq	%rax, 40(%rsp)
	xorl	%eax, %eax
	leaq	36(%rsp), %r13
	leaq	32(%rsp), %r12
	leaq	28(%rsp), %rbp
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L9:
	pxor	%xmm1, %xmm1
	movl	32(%rsp), %r15d
	pxor	%xmm0, %xmm0
	pxor	%xmm4, %xmm4
	cvtsi2sdl	28(%rsp), %xmm1
	mulsd	.LC0(%rip), %xmm1
	movl	%r15d, %eax
	imull	%r15d, %eax
	movapd	%xmm1, %xmm2
	cvtsi2sdl	%eax, %xmm0
	mulsd	%xmm1, %xmm2
	subsd	%xmm2, %xmm0
	ucomisd	%xmm0, %xmm4
	ja	.L13
	sqrtsd	%xmm0, %xmm0
	movapd	%xmm4, %xmm5
.L5:
	movl	36(%rsp), %eax
	movapd	%xmm1, %xmm3
	pxor	%xmm1, %xmm1
	mulsd	%xmm0, %xmm3
	cvtsi2sdl	%r15d, %xmm1
	pxor	%xmm0, %xmm0
	mulsd	.LC0(%rip), %xmm1
	addl	%r15d, %eax
	cvtsi2sdl	%eax, %xmm0
	mulsd	.LC0(%rip), %xmm0
	movapd	%xmm1, %xmm2
	mulsd	%xmm0, %xmm0
	mulsd	%xmm1, %xmm2
	subsd	%xmm2, %xmm0
	ucomisd	%xmm0, %xmm5
	ja	.L14
	sqrtsd	%xmm0, %xmm0
.L8:
	mulsd	%xmm0, %xmm1
	movq	%r14, %rsi
	movl	$1, %edi
	movl	$1, %eax
	addsd	%xmm1, %xmm1
	addsd	%xmm3, %xmm1
	movapd	%xmm1, %xmm0
	call	__printf_chk@PLT
.L2:
	xorl	%eax, %eax
	movq	%r13, %rcx
	movq	%r12, %rdx
	movq	%rbp, %rsi
	movq	%rbx, %rdi
	call	__isoc99_scanf@PLT
	cmpl	$-1, %eax
	jne	.L9
	movq	40(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L17
	addq	$56, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%rbp
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	ret
.L13:
	.cfi_restore_state
	movsd	%xmm1, (%rsp)
	call	sqrt@PLT
	movsd	(%rsp), %xmm1
	pxor	%xmm5, %xmm5
	jmp	.L5
.L14:
	movsd	%xmm3, 8(%rsp)
	movsd	%xmm1, (%rsp)
	call	sqrt@PLT
	movsd	8(%rsp), %xmm3
	movsd	(%rsp), %xmm1
	jmp	.L8
.L17:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.size	main, .-main
	.section	.rodata.cst8,"aM",@progbits,8
	.align 8
.LC0:
	.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:
```