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

int main()
{
    int c1x, c1y, c1r, c2x, c2y, c2r;
    double d; //distance of Between the centers

    //printf("input\n");
    scanf("%d %d %d", &c1x, &c1y, &c1r);
    scanf("%d %d %d", &c2x, &c2y, &c2r);

    d = sqrt((c1x-c2x)*(c1x-c2x) + (c1y-c2y)*(c1y-c2y));

    // 4 common tangent lines
    if(d > (c1r+c2r)) printf("4\n");

    // 3 common tangent lines
    if(d == (c1r+c2r)) printf("3\n");

    // 2 common tangent lines
    if((abs(c1r-c2r) < d) && (d < (c1r+c2r))) printf("2\n");

    // 1 common tangent lines
    if(abs(c1r-c2r) == d) printf("1\n");

    // 0 common tangent lines
    if(d < abs(c1r-c2r)) printf("0\n");

    return 0;
}
```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%d %d %d"
.LC1:
	.string	"4"
.LC2:
	.string	"3"
.LC3:
	.string	"2"
.LC4:
	.string	"1"
.LC5:
	.string	"0"
	.text
	.globl	main
	.type	main, @function
main:
.LFB6:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$48, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-32(%rbp), %rcx
	leaq	-36(%rbp), %rdx
	leaq	-40(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	leaq	-20(%rbp), %rcx
	leaq	-24(%rbp), %rdx
	leaq	-28(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-40(%rbp), %eax
	movl	-28(%rbp), %ecx
	subl	%ecx, %eax
	movl	%eax, %edx
	movl	-40(%rbp), %eax
	movl	-28(%rbp), %ecx
	subl	%ecx, %eax
	movl	%edx, %ecx
	imull	%eax, %ecx
	movl	-36(%rbp), %eax
	movl	-24(%rbp), %esi
	subl	%esi, %eax
	movl	%eax, %edx
	movl	-36(%rbp), %eax
	movl	-24(%rbp), %esi
	subl	%esi, %eax
	imull	%edx, %eax
	addl	%ecx, %eax
	pxor	%xmm2, %xmm2
	cvtsi2sdl	%eax, %xmm2
	movq	%xmm2, %rax
	movq	%rax, %xmm0
	call	sqrt@PLT
	movq	%xmm0, %rax
	movq	%rax, -16(%rbp)
	movl	-32(%rbp), %edx
	movl	-20(%rbp), %eax
	addl	%edx, %eax
	pxor	%xmm1, %xmm1
	cvtsi2sdl	%eax, %xmm1
	movsd	-16(%rbp), %xmm0
	comisd	%xmm1, %xmm0
	jbe	.L2
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
.L2:
	movl	-32(%rbp), %edx
	movl	-20(%rbp), %eax
	addl	%edx, %eax
	pxor	%xmm0, %xmm0
	cvtsi2sdl	%eax, %xmm0
	ucomisd	-16(%rbp), %xmm0
	jp	.L4
	ucomisd	-16(%rbp), %xmm0
	jne	.L4
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
.L4:
	movl	-32(%rbp), %eax
	movl	-20(%rbp), %edx
	subl	%edx, %eax
	movl	%eax, %edx
	negl	%edx
	cmovns	%edx, %eax
	pxor	%xmm1, %xmm1
	cvtsi2sdl	%eax, %xmm1
	movsd	-16(%rbp), %xmm0
	comisd	%xmm1, %xmm0
	jbe	.L6
	movl	-32(%rbp), %edx
	movl	-20(%rbp), %eax
	addl	%edx, %eax
	pxor	%xmm0, %xmm0
	cvtsi2sdl	%eax, %xmm0
	comisd	-16(%rbp), %xmm0
	jbe	.L6
	leaq	.LC3(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
.L6:
	movl	-32(%rbp), %eax
	movl	-20(%rbp), %edx
	subl	%edx, %eax
	movl	%eax, %edx
	negl	%edx
	cmovns	%edx, %eax
	pxor	%xmm0, %xmm0
	cvtsi2sdl	%eax, %xmm0
	ucomisd	-16(%rbp), %xmm0
	jp	.L9
	ucomisd	-16(%rbp), %xmm0
	jne	.L9
	leaq	.LC4(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
.L9:
	movl	-32(%rbp), %eax
	movl	-20(%rbp), %edx
	subl	%edx, %eax
	movl	%eax, %edx
	negl	%edx
	cmovns	%edx, %eax
	pxor	%xmm0, %xmm0
	cvtsi2sdl	%eax, %xmm0
	comisd	-16(%rbp), %xmm0
	jbe	.L11
	leaq	.LC5(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
.L11:
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L14
	call	__stack_chk_fail@PLT
.L14:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.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 %d %d"
.LC2:
	.string	"4"
.LC3:
	.string	"3"
.LC4:
	.string	"2"
.LC5:
	.string	"1"
.LC6:
	.string	"0"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB39:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	leaq	.LC0(%rip), %rbp
	movq	%rbp, %rdi
	subq	$48, %rsp
	.cfi_def_cfa_offset 64
	movq	%fs:40, %rax
	movq	%rax, 40(%rsp)
	xorl	%eax, %eax
	leaq	24(%rsp), %rcx
	leaq	20(%rsp), %rdx
	leaq	16(%rsp), %rsi
	call	__isoc99_scanf@PLT
	leaq	32(%rsp), %rdx
	xorl	%eax, %eax
	movq	%rbp, %rdi
	leaq	36(%rsp), %rcx
	leaq	28(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movl	16(%rsp), %eax
	movl	20(%rsp), %edx
	pxor	%xmm0, %xmm0
	subl	28(%rsp), %eax
	subl	32(%rsp), %edx
	pxor	%xmm1, %xmm1
	imull	%eax, %eax
	imull	%edx, %edx
	addl	%edx, %eax
	cvtsi2sdl	%eax, %xmm0
	ucomisd	%xmm0, %xmm1
	ja	.L24
	sqrtsd	%xmm0, %xmm0
.L4:
	movl	24(%rsp), %eax
	movl	36(%rsp), %edx
	pxor	%xmm1, %xmm1
	leal	(%rax,%rdx), %ecx
	cvtsi2sdl	%ecx, %xmm1
	comisd	%xmm1, %xmm0
	ja	.L27
.L5:
	ucomisd	%xmm1, %xmm0
	jp	.L7
	je	.L28
.L7:
	movl	%eax, %esi
	pxor	%xmm1, %xmm1
	subl	%edx, %esi
	movl	%esi, %ecx
	negl	%ecx
	cmovs	%esi, %ecx
	cvtsi2sdl	%ecx, %xmm1
	comisd	%xmm1, %xmm0
	jbe	.L9
	addl	%eax, %edx
	pxor	%xmm1, %xmm1
	cvtsi2sdl	%edx, %xmm1
	comisd	%xmm0, %xmm1
	ja	.L29
.L12:
	subl	36(%rsp), %eax
	pxor	%xmm1, %xmm1
	movl	%eax, %edx
	negl	%edx
	cmovns	%edx, %eax
	cvtsi2sdl	%eax, %xmm1
	comisd	%xmm0, %xmm1
	ja	.L30
.L15:
	movq	40(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L31
	addq	$48, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 16
	xorl	%eax, %eax
	popq	%rbp
	.cfi_def_cfa_offset 8
	ret
.L29:
	.cfi_restore_state
	leaq	.LC4(%rip), %rdi
	movsd	%xmm0, 8(%rsp)
	call	puts@PLT
	movl	24(%rsp), %eax
	movsd	8(%rsp), %xmm0
.L9:
	movl	%eax, %ecx
	subl	36(%rsp), %ecx
	pxor	%xmm1, %xmm1
	movl	%ecx, %edx
	negl	%edx
	cmovs	%ecx, %edx
	cvtsi2sdl	%edx, %xmm1
	ucomisd	%xmm0, %xmm1
	jp	.L12
	jne	.L12
	leaq	.LC5(%rip), %rdi
	movsd	%xmm0, 8(%rsp)
	call	puts@PLT
	movl	24(%rsp), %eax
	movsd	8(%rsp), %xmm0
	jmp	.L12
.L28:
	leaq	.LC3(%rip), %rdi
	movsd	%xmm0, 8(%rsp)
	call	puts@PLT
	movl	24(%rsp), %eax
	movl	36(%rsp), %edx
	movsd	8(%rsp), %xmm0
	jmp	.L7
.L30:
	leaq	.LC6(%rip), %rdi
	call	puts@PLT
	jmp	.L15
.L27:
	leaq	.LC2(%rip), %rdi
	movsd	%xmm0, 8(%rsp)
	call	puts@PLT
	movl	24(%rsp), %eax
	movl	36(%rsp), %edx
	pxor	%xmm1, %xmm1
	movsd	8(%rsp), %xmm0
	leal	(%rax,%rdx), %ecx
	cvtsi2sdl	%ecx, %xmm1
	jmp	.L5
.L24:
	call	sqrt@PLT
	jmp	.L4
.L31:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE39:
	.size	main, .-main
	.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 %d %d"
.LC2:
	.string	"4"
.LC3:
	.string	"3"
.LC4:
	.string	"2"
.LC5:
	.string	"1"
.LC6:
	.string	"0"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB39:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	leaq	.LC0(%rip), %rbp
	movq	%rbp, %rdi
	subq	$48, %rsp
	.cfi_def_cfa_offset 64
	movq	%fs:40, %rax
	movq	%rax, 40(%rsp)
	xorl	%eax, %eax
	leaq	24(%rsp), %rcx
	leaq	20(%rsp), %rdx
	leaq	16(%rsp), %rsi
	call	__isoc99_scanf@PLT
	leaq	32(%rsp), %rdx
	xorl	%eax, %eax
	movq	%rbp, %rdi
	leaq	36(%rsp), %rcx
	leaq	28(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movl	16(%rsp), %eax
	movl	20(%rsp), %edx
	pxor	%xmm0, %xmm0
	subl	28(%rsp), %eax
	subl	32(%rsp), %edx
	pxor	%xmm1, %xmm1
	imull	%eax, %eax
	imull	%edx, %edx
	addl	%edx, %eax
	cvtsi2sdl	%eax, %xmm0
	ucomisd	%xmm0, %xmm1
	ja	.L24
	sqrtsd	%xmm0, %xmm0
.L4:
	movl	24(%rsp), %eax
	movl	36(%rsp), %edx
	pxor	%xmm1, %xmm1
	leal	(%rax,%rdx), %ecx
	cvtsi2sdl	%ecx, %xmm1
	comisd	%xmm1, %xmm0
	ja	.L27
.L5:
	ucomisd	%xmm1, %xmm0
	jp	.L7
	je	.L28
.L7:
	movl	%eax, %esi
	pxor	%xmm1, %xmm1
	subl	%edx, %esi
	movl	%esi, %ecx
	negl	%ecx
	cmovs	%esi, %ecx
	cvtsi2sdl	%ecx, %xmm1
	comisd	%xmm1, %xmm0
	jbe	.L9
	addl	%eax, %edx
	pxor	%xmm1, %xmm1
	cvtsi2sdl	%edx, %xmm1
	comisd	%xmm0, %xmm1
	ja	.L29
.L12:
	subl	36(%rsp), %eax
	pxor	%xmm1, %xmm1
	movl	%eax, %edx
	negl	%edx
	cmovns	%edx, %eax
	cvtsi2sdl	%eax, %xmm1
	comisd	%xmm0, %xmm1
	ja	.L30
.L15:
	movq	40(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L31
	addq	$48, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 16
	xorl	%eax, %eax
	popq	%rbp
	.cfi_def_cfa_offset 8
	ret
.L29:
	.cfi_restore_state
	leaq	.LC4(%rip), %rdi
	movsd	%xmm0, 8(%rsp)
	call	puts@PLT
	movl	24(%rsp), %eax
	movsd	8(%rsp), %xmm0
.L9:
	movl	%eax, %ecx
	subl	36(%rsp), %ecx
	pxor	%xmm1, %xmm1
	movl	%ecx, %edx
	negl	%edx
	cmovs	%ecx, %edx
	cvtsi2sdl	%edx, %xmm1
	ucomisd	%xmm0, %xmm1
	jp	.L12
	jne	.L12
	leaq	.LC5(%rip), %rdi
	movsd	%xmm0, 8(%rsp)
	call	puts@PLT
	movl	24(%rsp), %eax
	movsd	8(%rsp), %xmm0
	jmp	.L12
.L28:
	leaq	.LC3(%rip), %rdi
	movsd	%xmm0, 8(%rsp)
	call	puts@PLT
	movl	24(%rsp), %eax
	movl	36(%rsp), %edx
	movsd	8(%rsp), %xmm0
	jmp	.L7
.L30:
	leaq	.LC6(%rip), %rdi
	call	puts@PLT
	jmp	.L15
.L27:
	leaq	.LC2(%rip), %rdi
	movsd	%xmm0, 8(%rsp)
	call	puts@PLT
	movl	24(%rsp), %eax
	movl	36(%rsp), %edx
	pxor	%xmm1, %xmm1
	movsd	8(%rsp), %xmm0
	leal	(%rax,%rdx), %ecx
	cvtsi2sdl	%ecx, %xmm1
	jmp	.L5
.L24:
	call	sqrt@PLT
	jmp	.L4
.L31:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE39:
	.size	main, .-main
	.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>
#include <stdlib.h>

int main()
{
    int c1x, c1y, c1r, c2x, c2y, c2r;
    double d; //distance of Between the centers

    //printf("input\n");
    scanf("%d %d %d", &c1x, &c1y, &c1r);
    scanf("%d %d %d", &c2x, &c2y, &c2r);

    d = sqrt((c1x-c2x)*(c1x-c2x) + (c1y-c2y)*(c1y-c2y));

    // 4 common tangent lines
    if(d > (c1r+c2r)) printf("4\n");

    // 3 common tangent lines
    if(d == (c1r+c2r)) printf("3\n");

    // 2 common tangent lines
    if((abs(c1r-c2r) < d) && (d < (c1r+c2r))) printf("2\n");

    // 1 common tangent lines
    if(abs(c1r-c2r) == d) printf("1\n");

    // 0 common tangent lines
    if(d < abs(c1r-c2r)) printf("0\n");

    return 0;
}

0 0 0
1 0 2
 1 2 1
3 4 2
 1 2 0
4 2 2
 0 0 1
0 1 2
 0 0 0
0 0 2
 1 1 1
9 2 2
 0 1 0
0 0 2
 1 2 1
5 4 2
 -1 0 0
0 0 2
 1 2 0
0 2 2

0
 2
 4
 1
 0
 4
 0
 4
 0
 0

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

int main()
{
    int c1x, c1y, c1r, c2x, c2y, c2r;
    double d; //distance of Between the centers

    //printf("input\n");
    scanf("%d %d %d", &c1x, &c1y, &c1r);
    scanf("%d %d %d", &c2x, &c2y, &c2r);

    d = sqrt((c1x-c2x)*(c1x-c2x) + (c1y-c2y)*(c1y-c2y));

    // 4 common tangent lines
    if(d > (c1r+c2r)) printf("4\n");

    // 3 common tangent lines
    if(d == (c1r+c2r)) printf("3\n");

    // 2 common tangent lines
    if((abs(c1r-c2r) < d) && (d < (c1r+c2r))) printf("2\n");

    // 1 common tangent lines
    if(abs(c1r-c2r) == d) printf("1\n");

    // 0 common tangent lines
    if(d < abs(c1r-c2r)) printf("0\n");

    return 0;
}
```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%d %d %d"
.LC1:
	.string	"4"
.LC2:
	.string	"3"
.LC3:
	.string	"2"
.LC4:
	.string	"1"
.LC5:
	.string	"0"
	.text
	.globl	main
	.type	main, @function
main:
.LFB6:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$48, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-32(%rbp), %rcx
	leaq	-36(%rbp), %rdx
	leaq	-40(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	leaq	-20(%rbp), %rcx
	leaq	-24(%rbp), %rdx
	leaq	-28(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-40(%rbp), %eax
	movl	-28(%rbp), %ecx
	subl	%ecx, %eax
	movl	%eax, %edx
	movl	-40(%rbp), %eax
	movl	-28(%rbp), %ecx
	subl	%ecx, %eax
	movl	%edx, %ecx
	imull	%eax, %ecx
	movl	-36(%rbp), %eax
	movl	-24(%rbp), %esi
	subl	%esi, %eax
	movl	%eax, %edx
	movl	-36(%rbp), %eax
	movl	-24(%rbp), %esi
	subl	%esi, %eax
	imull	%edx, %eax
	addl	%ecx, %eax
	pxor	%xmm2, %xmm2
	cvtsi2sdl	%eax, %xmm2
	movq	%xmm2, %rax
	movq	%rax, %xmm0
	call	sqrt@PLT
	movq	%xmm0, %rax
	movq	%rax, -16(%rbp)
	movl	-32(%rbp), %edx
	movl	-20(%rbp), %eax
	addl	%edx, %eax
	pxor	%xmm1, %xmm1
	cvtsi2sdl	%eax, %xmm1
	movsd	-16(%rbp), %xmm0
	comisd	%xmm1, %xmm0
	jbe	.L2
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
.L2:
	movl	-32(%rbp), %edx
	movl	-20(%rbp), %eax
	addl	%edx, %eax
	pxor	%xmm0, %xmm0
	cvtsi2sdl	%eax, %xmm0
	ucomisd	-16(%rbp), %xmm0
	jp	.L4
	ucomisd	-16(%rbp), %xmm0
	jne	.L4
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
.L4:
	movl	-32(%rbp), %eax
	movl	-20(%rbp), %edx
	subl	%edx, %eax
	movl	%eax, %edx
	negl	%edx
	cmovns	%edx, %eax
	pxor	%xmm1, %xmm1
	cvtsi2sdl	%eax, %xmm1
	movsd	-16(%rbp), %xmm0
	comisd	%xmm1, %xmm0
	jbe	.L6
	movl	-32(%rbp), %edx
	movl	-20(%rbp), %eax
	addl	%edx, %eax
	pxor	%xmm0, %xmm0
	cvtsi2sdl	%eax, %xmm0
	comisd	-16(%rbp), %xmm0
	jbe	.L6
	leaq	.LC3(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
.L6:
	movl	-32(%rbp), %eax
	movl	-20(%rbp), %edx
	subl	%edx, %eax
	movl	%eax, %edx
	negl	%edx
	cmovns	%edx, %eax
	pxor	%xmm0, %xmm0
	cvtsi2sdl	%eax, %xmm0
	ucomisd	-16(%rbp), %xmm0
	jp	.L9
	ucomisd	-16(%rbp), %xmm0
	jne	.L9
	leaq	.LC4(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
.L9:
	movl	-32(%rbp), %eax
	movl	-20(%rbp), %edx
	subl	%edx, %eax
	movl	%eax, %edx
	negl	%edx
	cmovns	%edx, %eax
	pxor	%xmm0, %xmm0
	cvtsi2sdl	%eax, %xmm0
	comisd	-16(%rbp), %xmm0
	jbe	.L11
	leaq	.LC5(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
.L11:
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L14
	call	__stack_chk_fail@PLT
.L14:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.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
.LC0:
	.string	"%d %d %d"
.LC1:
	.string	"4"
.LC2:
	.string	"3"
.LC3:
	.string	"2"
.LC4:
	.string	"1"
.LC5:
	.string	"0"
	.text
	.globl	main
	.type	main, @function
main:
.LFB6:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$48, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-32(%rbp), %rcx
	leaq	-36(%rbp), %rdx
	leaq	-40(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	leaq	-20(%rbp), %rcx
	leaq	-24(%rbp), %rdx
	leaq	-28(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-40(%rbp), %eax
	movl	-28(%rbp), %ecx
	subl	%ecx, %eax
	movl	%eax, %edx
	movl	-40(%rbp), %eax
	movl	-28(%rbp), %ecx
	subl	%ecx, %eax
	movl	%edx, %ecx
	imull	%eax, %ecx
	movl	-36(%rbp), %eax
	movl	-24(%rbp), %esi
	subl	%esi, %eax
	movl	%eax, %edx
	movl	-36(%rbp), %eax
	movl	-24(%rbp), %esi
	subl	%esi, %eax
	imull	%edx, %eax
	addl	%ecx, %eax
	pxor	%xmm2, %xmm2
	cvtsi2sdl	%eax, %xmm2
	movq	%xmm2, %rax
	movq	%rax, %xmm0
	call	sqrt@PLT
	movq	%xmm0, %rax
	movq	%rax, -16(%rbp)
	movl	-32(%rbp), %edx
	movl	-20(%rbp), %eax
	addl	%edx, %eax
	pxor	%xmm1, %xmm1
	cvtsi2sdl	%eax, %xmm1
	movsd	-16(%rbp), %xmm0
	comisd	%xmm1, %xmm0
	jbe	.L2
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
.L2:
	movl	-32(%rbp), %edx
	movl	-20(%rbp), %eax
	addl	%edx, %eax
	pxor	%xmm0, %xmm0
	cvtsi2sdl	%eax, %xmm0
	ucomisd	-16(%rbp), %xmm0
	jp	.L4
	ucomisd	-16(%rbp), %xmm0
	jne	.L4
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
.L4:
	movl	-32(%rbp), %eax
	movl	-20(%rbp), %edx
	subl	%edx, %eax
	movl	%eax, %edx
	negl	%edx
	cmovns	%edx, %eax
	pxor	%xmm1, %xmm1
	cvtsi2sdl	%eax, %xmm1
	movsd	-16(%rbp), %xmm0
	comisd	%xmm1, %xmm0
	jbe	.L6
	movl	-32(%rbp), %edx
	movl	-20(%rbp), %eax
	addl	%edx, %eax
	pxor	%xmm0, %xmm0
	cvtsi2sdl	%eax, %xmm0
	comisd	-16(%rbp), %xmm0
	jbe	.L6
	leaq	.LC3(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
.L6:
	movl	-32(%rbp), %eax
	movl	-20(%rbp), %edx
	subl	%edx, %eax
	movl	%eax, %edx
	negl	%edx
	cmovns	%edx, %eax
	pxor	%xmm0, %xmm0
	cvtsi2sdl	%eax, %xmm0
	ucomisd	-16(%rbp), %xmm0
	jp	.L9
	ucomisd	-16(%rbp), %xmm0
	jne	.L9
	leaq	.LC4(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
.L9:
	movl	-32(%rbp), %eax
	movl	-20(%rbp), %edx
	subl	%edx, %eax
	movl	%eax, %edx
	negl	%edx
	cmovns	%edx, %eax
	pxor	%xmm0, %xmm0
	cvtsi2sdl	%eax, %xmm0
	comisd	-16(%rbp), %xmm0
	jbe	.L11
	leaq	.LC5(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
.L11:
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L14
	call	__stack_chk_fail@PLT
.L14:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.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:
