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>
typedef struct{
        double x;
        double y;
}coordinate;
int cx1, cy1, r1, cx2, cy2, r2;
void ssort(coordinate*, int);
main()
{
        double len, s, f1, f2;
        coordinate tc[4];
        scanf("%d %d %d%*c%d %d %d", &cx1, &cy1, &r1, &cx2, &cy2, &r2);
        len = sqrt(pow(cx1 - cx2, 2) + pow(cy1 - cy2, 2));
        s = atan2(cy2 - cy1, cx2 - cx1);
        f1 = acos((r1 + r2) / len);
        f2 = acos((r1 - r2) / len);
        tc[0].x = r1 * cos(s + f1);
        tc[0].y = r1 * sin(s + f1);
        tc[1].x = r1 * cos(s - f1);
        tc[1].y = r1 * sin(s - f1);
        tc[2].x = r1 * cos(s + f2);
    tc[2].y = r1 * sin(s + f2);
    tc[3].x = r1 * cos(s - f2);
    tc[3].y = r1 * sin(s - f2);
        if(len > (r1 + r2)){
                ssort(tc, 4);
        }else if(len == (r1 + r2)){
                ssort(tc, 3);
        }else if(len > abs(r1 - r2)){
                ssort(tc, 2);
        }else if(len == abs(r1 - r2)){
                printf("%.6f %.6f\n", tc[3].x + cx1, tc[3].y + cy1);
        }
}
void ssort(coordinate *t, int n)
{
        int i, j;
        for(i = 4 - n; i < 4; i++){
                int min = i;
                for(j = i + 1; j < 4; j++){
                        if(t[j].x < t[min].x || (t[j].x == t[min].x && t[j].y < t[min].y)){
                                min = j;
                        }
                }
                printf("%.6f %.6f\n", t[min].x + cx1, t[min].y + cy1);
                t[min] = t[i];
        }
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.globl	cx1
	.bss
	.align 4
	.type	cx1, @object
	.size	cx1, 4
cx1:
	.zero	4
	.globl	cy1
	.align 4
	.type	cy1, @object
	.size	cy1, 4
cy1:
	.zero	4
	.globl	r1
	.align 4
	.type	r1, @object
	.size	r1, 4
r1:
	.zero	4
	.globl	cx2
	.align 4
	.type	cx2, @object
	.size	cx2, 4
cx2:
	.zero	4
	.globl	cy2
	.align 4
	.type	cy2, @object
	.size	cy2, 4
cy2:
	.zero	4
	.globl	r2
	.align 4
	.type	r2, @object
	.size	r2, 4
r2:
	.zero	4
	.section	.rodata
.LC0:
	.string	"%d %d %d%*c%d %d %d"
.LC2:
	.string	"%.6f %.6f\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
	addq	$-128, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	subq	$8, %rsp
	leaq	r2(%rip), %rax
	pushq	%rax
	leaq	cy2(%rip), %r9
	leaq	cx2(%rip), %r8
	leaq	r1(%rip), %rax
	movq	%rax, %rcx
	leaq	cy1(%rip), %rax
	movq	%rax, %rdx
	leaq	cx1(%rip), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addq	$16, %rsp
	movl	cx1(%rip), %eax
	movl	cx2(%rip), %edx
	subl	%edx, %eax
	pxor	%xmm4, %xmm4
	cvtsi2sdl	%eax, %xmm4
	movq	%xmm4, %rax
	movsd	.LC1(%rip), %xmm0
	movapd	%xmm0, %xmm1
	movq	%rax, %xmm0
	call	pow@PLT
	movsd	%xmm0, -120(%rbp)
	movl	cy1(%rip), %eax
	movl	cy2(%rip), %edx
	subl	%edx, %eax
	pxor	%xmm5, %xmm5
	cvtsi2sdl	%eax, %xmm5
	movq	%xmm5, %rax
	movsd	.LC1(%rip), %xmm0
	movapd	%xmm0, %xmm1
	movq	%rax, %xmm0
	call	pow@PLT
	movapd	%xmm0, %xmm3
	addsd	-120(%rbp), %xmm3
	movq	%xmm3, %rax
	movq	%rax, %xmm0
	call	sqrt@PLT
	movq	%xmm0, %rax
	movq	%rax, -112(%rbp)
	movl	cx2(%rip), %eax
	movl	cx1(%rip), %edx
	subl	%edx, %eax
	pxor	%xmm0, %xmm0
	cvtsi2sdl	%eax, %xmm0
	movl	cy2(%rip), %eax
	movl	cy1(%rip), %edx
	subl	%edx, %eax
	pxor	%xmm7, %xmm7
	cvtsi2sdl	%eax, %xmm7
	movq	%xmm7, %rax
	movapd	%xmm0, %xmm1
	movq	%rax, %xmm0
	call	atan2@PLT
	movq	%xmm0, %rax
	movq	%rax, -104(%rbp)
	movl	r1(%rip), %edx
	movl	r2(%rip), %eax
	addl	%edx, %eax
	pxor	%xmm0, %xmm0
	cvtsi2sdl	%eax, %xmm0
	divsd	-112(%rbp), %xmm0
	movq	%xmm0, %rax
	movq	%rax, %xmm0
	call	acos@PLT
	movq	%xmm0, %rax
	movq	%rax, -96(%rbp)
	movl	r1(%rip), %eax
	movl	r2(%rip), %edx
	subl	%edx, %eax
	pxor	%xmm0, %xmm0
	cvtsi2sdl	%eax, %xmm0
	divsd	-112(%rbp), %xmm0
	movq	%xmm0, %rax
	movq	%rax, %xmm0
	call	acos@PLT
	movq	%xmm0, %rax
	movq	%rax, -88(%rbp)
	movl	r1(%rip), %eax
	pxor	%xmm4, %xmm4
	cvtsi2sdl	%eax, %xmm4
	movsd	%xmm4, -120(%rbp)
	movsd	-104(%rbp), %xmm0
	addsd	-96(%rbp), %xmm0
	movq	%xmm0, %rax
	movq	%rax, %xmm0
	call	cos@PLT
	mulsd	-120(%rbp), %xmm0
	movsd	%xmm0, -80(%rbp)
	movl	r1(%rip), %eax
	pxor	%xmm5, %xmm5
	cvtsi2sdl	%eax, %xmm5
	movsd	%xmm5, -120(%rbp)
	movsd	-104(%rbp), %xmm0
	addsd	-96(%rbp), %xmm0
	movq	%xmm0, %rax
	movq	%rax, %xmm0
	call	sin@PLT
	mulsd	-120(%rbp), %xmm0
	movsd	%xmm0, -72(%rbp)
	movl	r1(%rip), %eax
	pxor	%xmm6, %xmm6
	cvtsi2sdl	%eax, %xmm6
	movsd	%xmm6, -120(%rbp)
	movsd	-104(%rbp), %xmm0
	subsd	-96(%rbp), %xmm0
	movq	%xmm0, %rax
	movq	%rax, %xmm0
	call	cos@PLT
	mulsd	-120(%rbp), %xmm0
	movsd	%xmm0, -64(%rbp)
	movl	r1(%rip), %eax
	pxor	%xmm7, %xmm7
	cvtsi2sdl	%eax, %xmm7
	movsd	%xmm7, -120(%rbp)
	movsd	-104(%rbp), %xmm0
	subsd	-96(%rbp), %xmm0
	movq	%xmm0, %rax
	movq	%rax, %xmm0
	call	sin@PLT
	mulsd	-120(%rbp), %xmm0
	movsd	%xmm0, -56(%rbp)
	movl	r1(%rip), %eax
	pxor	%xmm3, %xmm3
	cvtsi2sdl	%eax, %xmm3
	movsd	%xmm3, -120(%rbp)
	movsd	-104(%rbp), %xmm0
	addsd	-88(%rbp), %xmm0
	movq	%xmm0, %rax
	movq	%rax, %xmm0
	call	cos@PLT
	mulsd	-120(%rbp), %xmm0
	movsd	%xmm0, -48(%rbp)
	movl	r1(%rip), %eax
	pxor	%xmm2, %xmm2
	cvtsi2sdl	%eax, %xmm2
	movsd	%xmm2, -120(%rbp)
	movsd	-104(%rbp), %xmm0
	addsd	-88(%rbp), %xmm0
	movq	%xmm0, %rax
	movq	%rax, %xmm0
	call	sin@PLT
	mulsd	-120(%rbp), %xmm0
	movsd	%xmm0, -40(%rbp)
	movl	r1(%rip), %eax
	pxor	%xmm4, %xmm4
	cvtsi2sdl	%eax, %xmm4
	movsd	%xmm4, -120(%rbp)
	movsd	-104(%rbp), %xmm0
	subsd	-88(%rbp), %xmm0
	movq	%xmm0, %rax
	movq	%rax, %xmm0
	call	cos@PLT
	mulsd	-120(%rbp), %xmm0
	movsd	%xmm0, -32(%rbp)
	movl	r1(%rip), %eax
	pxor	%xmm5, %xmm5
	cvtsi2sdl	%eax, %xmm5
	movsd	%xmm5, -120(%rbp)
	movsd	-104(%rbp), %xmm0
	subsd	-88(%rbp), %xmm0
	movq	%xmm0, %rax
	movq	%rax, %xmm0
	call	sin@PLT
	mulsd	-120(%rbp), %xmm0
	movsd	%xmm0, -24(%rbp)
	movl	r1(%rip), %edx
	movl	r2(%rip), %eax
	addl	%edx, %eax
	pxor	%xmm1, %xmm1
	cvtsi2sdl	%eax, %xmm1
	movsd	-112(%rbp), %xmm0
	comisd	%xmm1, %xmm0
	jbe	.L16
	leaq	-80(%rbp), %rax
	movl	$4, %esi
	movq	%rax, %rdi
	call	ssort
	jmp	.L4
.L16:
	movl	r1(%rip), %edx
	movl	r2(%rip), %eax
	addl	%edx, %eax
	pxor	%xmm0, %xmm0
	cvtsi2sdl	%eax, %xmm0
	ucomisd	-112(%rbp), %xmm0
	jp	.L5
	ucomisd	-112(%rbp), %xmm0
	jne	.L5
	leaq	-80(%rbp), %rax
	movl	$3, %esi
	movq	%rax, %rdi
	call	ssort
	jmp	.L4
.L5:
	movl	r1(%rip), %eax
	movl	r2(%rip), %edx
	subl	%edx, %eax
	movl	%eax, %edx
	negl	%edx
	cmovns	%edx, %eax
	pxor	%xmm1, %xmm1
	cvtsi2sdl	%eax, %xmm1
	movsd	-112(%rbp), %xmm0
	comisd	%xmm1, %xmm0
	jbe	.L17
	leaq	-80(%rbp), %rax
	movl	$2, %esi
	movq	%rax, %rdi
	call	ssort
	jmp	.L4
.L17:
	movl	r1(%rip), %eax
	movl	r2(%rip), %edx
	subl	%edx, %eax
	movl	%eax, %edx
	negl	%edx
	cmovns	%edx, %eax
	pxor	%xmm0, %xmm0
	cvtsi2sdl	%eax, %xmm0
	ucomisd	-112(%rbp), %xmm0
	jp	.L4
	ucomisd	-112(%rbp), %xmm0
	jne	.L4
	movsd	-24(%rbp), %xmm1
	movl	cy1(%rip), %eax
	pxor	%xmm0, %xmm0
	cvtsi2sdl	%eax, %xmm0
	movapd	%xmm1, %xmm2
	addsd	%xmm0, %xmm2
	movsd	-32(%rbp), %xmm1
	movl	cx1(%rip), %eax
	pxor	%xmm0, %xmm0
	cvtsi2sdl	%eax, %xmm0
	addsd	%xmm0, %xmm1
	movq	%xmm1, %rax
	movapd	%xmm2, %xmm1
	movq	%rax, %xmm0
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$2, %eax
	call	printf@PLT
.L4:
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L11
	call	__stack_chk_fail@PLT
.L11:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.globl	ssort
	.type	ssort, @function
ssort:
.LFB1:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$32, %rsp
	movq	%rdi, -24(%rbp)
	movl	%esi, -28(%rbp)
	movl	$4, %eax
	subl	-28(%rbp), %eax
	movl	%eax, -12(%rbp)
	jmp	.L19
.L26:
	movl	-12(%rbp), %eax
	movl	%eax, -4(%rbp)
	movl	-12(%rbp), %eax
	addl	$1, %eax
	movl	%eax, -8(%rbp)
	jmp	.L20
.L25:
	movl	-8(%rbp), %eax
	cltq
	salq	$4, %rax
	movq	%rax, %rdx
	movq	-24(%rbp), %rax
	addq	%rdx, %rax
	movsd	(%rax), %xmm1
	movl	-4(%rbp), %eax
	cltq
	salq	$4, %rax
	movq	%rax, %rdx
	movq	-24(%rbp), %rax
	addq	%rdx, %rax
	movsd	(%rax), %xmm0
	comisd	%xmm1, %xmm0
	ja	.L21
	movl	-8(%rbp), %eax
	cltq
	salq	$4, %rax
	movq	%rax, %rdx
	movq	-24(%rbp), %rax
	addq	%rdx, %rax
	movsd	(%rax), %xmm0
	movl	-4(%rbp), %eax
	cltq
	salq	$4, %rax
	movq	%rax, %rdx
	movq	-24(%rbp), %rax
	addq	%rdx, %rax
	movsd	(%rax), %xmm1
	ucomisd	%xmm1, %xmm0
	jp	.L22
	ucomisd	%xmm1, %xmm0
	jne	.L22
	movl	-8(%rbp), %eax
	cltq
	salq	$4, %rax
	movq	%rax, %rdx
	movq	-24(%rbp), %rax
	addq	%rdx, %rax
	movsd	8(%rax), %xmm1
	movl	-4(%rbp), %eax
	cltq
	salq	$4, %rax
	movq	%rax, %rdx
	movq	-24(%rbp), %rax
	addq	%rdx, %rax
	movsd	8(%rax), %xmm0
	comisd	%xmm1, %xmm0
	jbe	.L22
.L21:
	movl	-8(%rbp), %eax
	movl	%eax, -4(%rbp)
.L22:
	addl	$1, -8(%rbp)
.L20:
	cmpl	$3, -8(%rbp)
	jle	.L25
	movl	-4(%rbp), %eax
	cltq
	salq	$4, %rax
	movq	%rax, %rdx
	movq	-24(%rbp), %rax
	addq	%rdx, %rax
	movsd	8(%rax), %xmm1
	movl	cy1(%rip), %eax
	pxor	%xmm0, %xmm0
	cvtsi2sdl	%eax, %xmm0
	movapd	%xmm1, %xmm2
	addsd	%xmm0, %xmm2
	movl	-4(%rbp), %eax
	cltq
	salq	$4, %rax
	movq	%rax, %rdx
	movq	-24(%rbp), %rax
	addq	%rdx, %rax
	movsd	(%rax), %xmm1
	movl	cx1(%rip), %eax
	pxor	%xmm0, %xmm0
	cvtsi2sdl	%eax, %xmm0
	addsd	%xmm0, %xmm1
	movq	%xmm1, %rax
	movapd	%xmm2, %xmm1
	movq	%rax, %xmm0
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$2, %eax
	call	printf@PLT
	movl	-12(%rbp), %eax
	cltq
	salq	$4, %rax
	movq	%rax, %rdx
	movq	-24(%rbp), %rax
	addq	%rdx, %rax
	movl	-4(%rbp), %edx
	movslq	%edx, %rdx
	movq	%rdx, %rcx
	salq	$4, %rcx
	movq	-24(%rbp), %rdx
	addq	%rdx, %rcx
	movq	8(%rax), %rdx
	movq	(%rax), %rax
	movq	%rax, (%rcx)
	movq	%rdx, 8(%rcx)
	addl	$1, -12(%rbp)
.L19:
	cmpl	$3, -12(%rbp)
	jle	.L26
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	ssort, .-ssort
	.section	.rodata
	.align 8
.LC1:
	.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	"%.6f %.6f\n"
	.text
	.p2align 4
	.globl	ssort
	.type	ssort, @function
ssort:
.LFB24:
	.cfi_startproc
	endbr64
	movl	$4, %ecx
	subl	%esi, %ecx
	cmpl	$3, %ecx
	jg	.L17
	pushq	%r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	leaq	.LC0(%rip), %r14
	pushq	%r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	leal	1(%rcx), %r13d
	pushq	%r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	movq	%rdi, %r12
	pushq	%rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	movl	$5, %ebp
	subl	%esi, %ebp
	pushq	%rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	movslq	%ebp, %rbp
	salq	$4, %rbp
	addq	%rdi, %rbp
	cmpl	$3, %ecx
	je	.L3
	.p2align 4,,10
	.p2align 3
.L23:
	movsd	-16(%rbp), %xmm2
	movq	%rbp, %rax
	movl	%r13d, %edx
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L22:
	movslq	%ecx, %rbx
	salq	$4, %rbx
	addq	%r12, %rbx
	ucomisd	%xmm2, %xmm0
	jp	.L4
	jne	.L4
	movsd	8(%rbx), %xmm3
	movsd	8(%rax), %xmm1
	comisd	8(%rax), %xmm3
	cmpltsd	%xmm3, %xmm1
	cmova	%rax, %rbx
	cmova	%edx, %ecx
	andpd	%xmm1, %xmm0
	andnpd	%xmm2, %xmm1
	orpd	%xmm0, %xmm1
	movapd	%xmm1, %xmm2
.L4:
	addl	$1, %edx
	addq	$16, %rax
	cmpl	$4, %edx
	je	.L21
.L6:
	movsd	(%rax), %xmm0
	movq	%rax, %rbx
	comisd	%xmm0, %xmm2
	jbe	.L22
	movl	%edx, %ecx
	addl	$1, %edx
	movapd	%xmm0, %xmm2
	addq	$16, %rax
	cmpl	$4, %edx
	jne	.L6
.L21:
	pxor	%xmm0, %xmm0
	pxor	%xmm1, %xmm1
	movq	%r14, %rsi
	movl	$1, %edi
	cvtsi2sdl	cx1(%rip), %xmm0
	movl	$2, %eax
	addq	$16, %rbp
	cvtsi2sdl	cy1(%rip), %xmm1
	addsd	8(%rbx), %xmm1
	addsd	%xmm2, %xmm0
	call	__printf_chk@PLT
	movdqu	-32(%rbp), %xmm4
	movl	%r13d, %ecx
	leal	1(%rcx), %r13d
	movups	%xmm4, (%rbx)
	cmpl	$3, %ecx
	jne	.L23
.L3:
	pxor	%xmm1, %xmm1
	pxor	%xmm0, %xmm0
	movq	%r14, %rsi
	movl	$1, %edi
	cvtsi2sdl	cy1(%rip), %xmm1
	addsd	56(%r12), %xmm1
	movl	$2, %eax
	cvtsi2sdl	cx1(%rip), %xmm0
	addsd	48(%r12), %xmm0
	call	__printf_chk@PLT
	movdqu	-16(%rbp), %xmm5
	movups	%xmm5, 48(%r12)
	popq	%rbx
	.cfi_def_cfa_offset 40
	popq	%rbp
	.cfi_def_cfa_offset 32
	popq	%r12
	.cfi_def_cfa_offset 24
	popq	%r13
	.cfi_def_cfa_offset 16
	popq	%r14
	.cfi_def_cfa_offset 8
	ret
.L17:
	.cfi_restore 3
	.cfi_restore 6
	.cfi_restore 12
	.cfi_restore 13
	.cfi_restore 14
	ret
	.cfi_endproc
.LFE24:
	.size	ssort, .-ssort
	.section	.rodata.str1.1
.LC1:
	.string	"%d %d %d%*c%d %d %d"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	leaq	cy1(%rip), %rdx
	leaq	cy2(%rip), %r9
	pushq	%r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	leaq	cx2(%rip), %r8
	leaq	r1(%rip), %rcx
	pushq	%r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	leaq	cx1(%rip), %rsi
	leaq	.LC1(%rip), %rdi
	pushq	%rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	pushq	%rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	subq	$200, %rsp
	.cfi_def_cfa_offset 248
	movq	%fs:40, %rax
	movq	%rax, 192(%rsp)
	leaq	r2(%rip), %rax
	pushq	%rax
	.cfi_def_cfa_offset 256
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	cx1(%rip), %ebx
	pxor	%xmm1, %xmm1
	movl	cx2(%rip), %ebp
	movl	cy1(%rip), %r13d
	movl	cy2(%rip), %r12d
	pxor	%xmm0, %xmm0
	movl	%ebx, %eax
	subl	%ebp, %eax
	cvtsi2sdl	%eax, %xmm1
	movl	%r13d, %eax
	subl	%r12d, %eax
	cvtsi2sdl	%eax, %xmm0
	popq	%rax
	.cfi_def_cfa_offset 248
	popq	%rdx
	.cfi_def_cfa_offset 240
	mulsd	%xmm1, %xmm1
	mulsd	%xmm0, %xmm0
	addsd	%xmm1, %xmm0
	pxor	%xmm1, %xmm1
	ucomisd	%xmm0, %xmm1
	ja	.L42
	sqrtsd	%xmm0, %xmm0
	movsd	%xmm0, (%rsp)
.L27:
	subl	%ebx, %ebp
	pxor	%xmm0, %xmm0
	pxor	%xmm1, %xmm1
	subl	%r13d, %r12d
	cvtsi2sdl	%ebp, %xmm1
	cvtsi2sdl	%r12d, %xmm0
	call	atan2@PLT
	movl	r1(%rip), %ebp
	movl	r2(%rip), %r12d
	pxor	%xmm6, %xmm6
	movsd	%xmm0, 8(%rsp)
	leal	0(%rbp,%r12), %eax
	movl	%ebp, %r14d
	cvtsi2sdl	%eax, %xmm6
	subl	%r12d, %r14d
	leaq	96(%rsp), %r12
	movapd	%xmm6, %xmm2
	divsd	(%rsp), %xmm2
	movapd	%xmm2, %xmm0
	movsd	%xmm6, 88(%rsp)
	call	acos@PLT
	movsd	%xmm0, 16(%rsp)
	pxor	%xmm0, %xmm0
	cvtsi2sdl	%r14d, %xmm0
	divsd	(%rsp), %xmm0
	call	acos@PLT
	pxor	%xmm5, %xmm5
	movsd	8(%rsp), %xmm7
	movq	%r12, %rsi
	cvtsi2sdl	%ebp, %xmm5
	addsd	16(%rsp), %xmm7
	movsd	%xmm0, 24(%rsp)
	leaq	104(%rsp), %rbp
	movq	%rbp, %rdi
	movapd	%xmm7, %xmm0
	unpcklpd	%xmm5, %xmm5
	movaps	%xmm5, 64(%rsp)
	call	sincos@PLT
	movsd	8(%rsp), %xmm6
	movq	%r12, %rsi
	movq	%rbp, %rdi
	subsd	16(%rsp), %xmm6
	movsd	96(%rsp), %xmm4
	movsd	104(%rsp), %xmm10
	movsd	%xmm4, 80(%rsp)
	movapd	%xmm6, %xmm0
	movsd	%xmm10, 56(%rsp)
	call	sincos@PLT
	movsd	96(%rsp), %xmm3
	movq	%r12, %rsi
	movq	%rbp, %rdi
	movsd	104(%rsp), %xmm8
	movsd	%xmm3, 48(%rsp)
	movsd	8(%rsp), %xmm3
	addsd	24(%rsp), %xmm3
	movsd	%xmm8, 40(%rsp)
	movapd	%xmm3, %xmm0
	call	sincos@PLT
	movsd	8(%rsp), %xmm0
	movq	%r12, %rsi
	movq	%rbp, %rdi
	subsd	24(%rsp), %xmm0
	movsd	96(%rsp), %xmm2
	movsd	104(%rsp), %xmm7
	movsd	%xmm2, 32(%rsp)
	movsd	%xmm7, 16(%rsp)
	call	sincos@PLT
	movapd	64(%rsp), %xmm5
	movsd	16(%rsp), %xmm7
	movupd	96(%rsp), %xmm0
	movsd	56(%rsp), %xmm10
	movsd	80(%rsp), %xmm4
	movsd	40(%rsp), %xmm8
	movsd	48(%rsp), %xmm3
	movsd	32(%rsp), %xmm2
	mulpd	%xmm5, %xmm0
	unpcklpd	%xmm10, %xmm4
	movsd	88(%rsp), %xmm6
	mulpd	%xmm5, %xmm4
	unpcklpd	%xmm7, %xmm2
	unpcklpd	%xmm8, %xmm3
	movsd	(%rsp), %xmm7
	mulpd	%xmm5, %xmm3
	mulpd	%xmm5, %xmm2
	comisd	%xmm6, %xmm7
	movapd	%xmm0, %xmm1
	movapd	%xmm0, %xmm9
	movaps	%xmm0, 160(%rsp)
	unpckhpd	%xmm1, %xmm1
	movaps	%xmm4, 112(%rsp)
	movaps	%xmm3, 128(%rsp)
	movaps	%xmm2, 144(%rsp)
	ja	.L46
	ucomisd	(%rsp), %xmm6
	jp	.L31
	je	.L47
.L31:
	movl	%r14d, %eax
	pxor	%xmm0, %xmm0
	movsd	(%rsp), %xmm7
	negl	%eax
	cmovs	%r14d, %eax
	cvtsi2sdl	%eax, %xmm0
	comisd	%xmm0, %xmm7
	ja	.L48
	ucomisd	(%rsp), %xmm0
	jp	.L30
	jne	.L30
	pxor	%xmm2, %xmm2
	pxor	%xmm0, %xmm0
	movl	$1, %edi
	movl	$2, %eax
	cvtsi2sdl	%r13d, %xmm2
	leaq	.LC0(%rip), %rsi
	cvtsi2sdl	%ebx, %xmm0
	addsd	%xmm2, %xmm1
	addsd	%xmm9, %xmm0
	call	__printf_chk@PLT
	jmp	.L30
.L47:
	leaq	112(%rsp), %rdi
	movl	$3, %esi
	call	ssort
.L30:
	movq	184(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L49
	addq	$192, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 40
	popq	%rbp
	.cfi_def_cfa_offset 32
	popq	%r12
	.cfi_def_cfa_offset 24
	popq	%r13
	.cfi_def_cfa_offset 16
	popq	%r14
	.cfi_def_cfa_offset 8
	ret
.L46:
	.cfi_restore_state
	leaq	112(%rsp), %rdi
	movl	$4, %esi
	call	ssort
	jmp	.L30
.L48:
	leaq	112(%rsp), %rdi
	movl	$2, %esi
	call	ssort
	jmp	.L30
.L42:
	call	sqrt@PLT
	movsd	%xmm0, (%rsp)
	jmp	.L27
.L49:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.size	main, .-main
	.globl	r2
	.bss
	.align 4
	.type	r2, @object
	.size	r2, 4
r2:
	.zero	4
	.globl	cy2
	.align 4
	.type	cy2, @object
	.size	cy2, 4
cy2:
	.zero	4
	.globl	cx2
	.align 4
	.type	cx2, @object
	.size	cx2, 4
cx2:
	.zero	4
	.globl	r1
	.align 4
	.type	r1, @object
	.size	r1, 4
r1:
	.zero	4
	.globl	cy1
	.align 4
	.type	cy1, @object
	.size	cy1, 4
cy1:
	.zero	4
	.globl	cx1
	.align 4
	.type	cx1, @object
	.size	cx1, 4
cx1:
	.zero	4
	.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	"%.6f %.6f\n"
	.text
	.p2align 4
	.globl	ssort
	.type	ssort, @function
ssort:
.LFB24:
	.cfi_startproc
	endbr64
	movl	$4, %ecx
	subl	%esi, %ecx
	cmpl	$3, %ecx
	jg	.L17
	pushq	%r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	leaq	.LC0(%rip), %r14
	pushq	%r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	leal	1(%rcx), %r13d
	pushq	%r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	movq	%rdi, %r12
	pushq	%rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	movl	$5, %ebp
	subl	%esi, %ebp
	pushq	%rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	movslq	%ebp, %rbp
	salq	$4, %rbp
	addq	%rdi, %rbp
	cmpl	$3, %ecx
	je	.L3
	.p2align 4,,10
	.p2align 3
.L23:
	movsd	-16(%rbp), %xmm2
	movq	%rbp, %rax
	movl	%r13d, %edx
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L22:
	movslq	%ecx, %rbx
	salq	$4, %rbx
	addq	%r12, %rbx
	ucomisd	%xmm2, %xmm0
	jp	.L4
	jne	.L4
	movsd	8(%rbx), %xmm3
	movsd	8(%rax), %xmm1
	comisd	8(%rax), %xmm3
	cmpltsd	%xmm3, %xmm1
	cmova	%rax, %rbx
	cmova	%edx, %ecx
	andpd	%xmm1, %xmm0
	andnpd	%xmm2, %xmm1
	orpd	%xmm0, %xmm1
	movapd	%xmm1, %xmm2
.L4:
	addl	$1, %edx
	addq	$16, %rax
	cmpl	$4, %edx
	je	.L21
.L6:
	movsd	(%rax), %xmm0
	movq	%rax, %rbx
	comisd	%xmm0, %xmm2
	jbe	.L22
	movl	%edx, %ecx
	addl	$1, %edx
	movapd	%xmm0, %xmm2
	addq	$16, %rax
	cmpl	$4, %edx
	jne	.L6
.L21:
	pxor	%xmm0, %xmm0
	pxor	%xmm1, %xmm1
	movq	%r14, %rsi
	movl	$1, %edi
	cvtsi2sdl	cx1(%rip), %xmm0
	movl	$2, %eax
	addq	$16, %rbp
	cvtsi2sdl	cy1(%rip), %xmm1
	addsd	8(%rbx), %xmm1
	addsd	%xmm2, %xmm0
	call	__printf_chk@PLT
	movdqu	-32(%rbp), %xmm4
	movl	%r13d, %ecx
	leal	1(%rcx), %r13d
	movups	%xmm4, (%rbx)
	cmpl	$3, %ecx
	jne	.L23
.L3:
	pxor	%xmm1, %xmm1
	pxor	%xmm0, %xmm0
	movq	%r14, %rsi
	movl	$1, %edi
	cvtsi2sdl	cy1(%rip), %xmm1
	addsd	56(%r12), %xmm1
	movl	$2, %eax
	cvtsi2sdl	cx1(%rip), %xmm0
	addsd	48(%r12), %xmm0
	call	__printf_chk@PLT
	movdqu	-16(%rbp), %xmm5
	movups	%xmm5, 48(%r12)
	popq	%rbx
	.cfi_def_cfa_offset 40
	popq	%rbp
	.cfi_def_cfa_offset 32
	popq	%r12
	.cfi_def_cfa_offset 24
	popq	%r13
	.cfi_def_cfa_offset 16
	popq	%r14
	.cfi_def_cfa_offset 8
	ret
.L17:
	.cfi_restore 3
	.cfi_restore 6
	.cfi_restore 12
	.cfi_restore 13
	.cfi_restore 14
	ret
	.cfi_endproc
.LFE24:
	.size	ssort, .-ssort
	.section	.rodata.str1.1
.LC1:
	.string	"%d %d %d%*c%d %d %d"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	leaq	cy1(%rip), %rdx
	leaq	cy2(%rip), %r9
	pushq	%r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	leaq	cx2(%rip), %r8
	leaq	r1(%rip), %rcx
	pushq	%r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	leaq	cx1(%rip), %rsi
	leaq	.LC1(%rip), %rdi
	pushq	%rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	pushq	%rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	subq	$200, %rsp
	.cfi_def_cfa_offset 248
	movq	%fs:40, %rax
	movq	%rax, 192(%rsp)
	leaq	r2(%rip), %rax
	pushq	%rax
	.cfi_def_cfa_offset 256
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	cx1(%rip), %ebx
	pxor	%xmm1, %xmm1
	movl	cx2(%rip), %ebp
	movl	cy1(%rip), %r13d
	movl	cy2(%rip), %r12d
	pxor	%xmm0, %xmm0
	movl	%ebx, %eax
	subl	%ebp, %eax
	cvtsi2sdl	%eax, %xmm1
	movl	%r13d, %eax
	subl	%r12d, %eax
	cvtsi2sdl	%eax, %xmm0
	popq	%rax
	.cfi_def_cfa_offset 248
	popq	%rdx
	.cfi_def_cfa_offset 240
	mulsd	%xmm1, %xmm1
	mulsd	%xmm0, %xmm0
	addsd	%xmm1, %xmm0
	pxor	%xmm1, %xmm1
	ucomisd	%xmm0, %xmm1
	ja	.L42
	sqrtsd	%xmm0, %xmm0
	movsd	%xmm0, (%rsp)
.L27:
	subl	%ebx, %ebp
	pxor	%xmm0, %xmm0
	pxor	%xmm1, %xmm1
	subl	%r13d, %r12d
	cvtsi2sdl	%ebp, %xmm1
	cvtsi2sdl	%r12d, %xmm0
	call	atan2@PLT
	movl	r1(%rip), %ebp
	movl	r2(%rip), %r12d
	pxor	%xmm6, %xmm6
	movsd	%xmm0, 8(%rsp)
	leal	0(%rbp,%r12), %eax
	movl	%ebp, %r14d
	cvtsi2sdl	%eax, %xmm6
	subl	%r12d, %r14d
	leaq	96(%rsp), %r12
	movapd	%xmm6, %xmm2
	divsd	(%rsp), %xmm2
	movapd	%xmm2, %xmm0
	movsd	%xmm6, 88(%rsp)
	call	acos@PLT
	movsd	%xmm0, 16(%rsp)
	pxor	%xmm0, %xmm0
	cvtsi2sdl	%r14d, %xmm0
	divsd	(%rsp), %xmm0
	call	acos@PLT
	pxor	%xmm5, %xmm5
	movsd	8(%rsp), %xmm7
	movq	%r12, %rsi
	cvtsi2sdl	%ebp, %xmm5
	addsd	16(%rsp), %xmm7
	movsd	%xmm0, 24(%rsp)
	leaq	104(%rsp), %rbp
	movq	%rbp, %rdi
	movapd	%xmm7, %xmm0
	unpcklpd	%xmm5, %xmm5
	movaps	%xmm5, 64(%rsp)
	call	sincos@PLT
	movsd	8(%rsp), %xmm6
	movq	%r12, %rsi
	movq	%rbp, %rdi
	subsd	16(%rsp), %xmm6
	movsd	96(%rsp), %xmm4
	movsd	104(%rsp), %xmm10
	movsd	%xmm4, 80(%rsp)
	movapd	%xmm6, %xmm0
	movsd	%xmm10, 56(%rsp)
	call	sincos@PLT
	movsd	96(%rsp), %xmm3
	movq	%r12, %rsi
	movq	%rbp, %rdi
	movsd	104(%rsp), %xmm8
	movsd	%xmm3, 48(%rsp)
	movsd	8(%rsp), %xmm3
	addsd	24(%rsp), %xmm3
	movsd	%xmm8, 40(%rsp)
	movapd	%xmm3, %xmm0
	call	sincos@PLT
	movsd	8(%rsp), %xmm0
	movq	%r12, %rsi
	movq	%rbp, %rdi
	subsd	24(%rsp), %xmm0
	movsd	96(%rsp), %xmm2
	movsd	104(%rsp), %xmm7
	movsd	%xmm2, 32(%rsp)
	movsd	%xmm7, 16(%rsp)
	call	sincos@PLT
	movapd	64(%rsp), %xmm5
	movsd	16(%rsp), %xmm7
	movupd	96(%rsp), %xmm0
	movsd	56(%rsp), %xmm10
	movsd	80(%rsp), %xmm4
	movsd	40(%rsp), %xmm8
	movsd	48(%rsp), %xmm3
	movsd	32(%rsp), %xmm2
	mulpd	%xmm5, %xmm0
	unpcklpd	%xmm10, %xmm4
	movsd	88(%rsp), %xmm6
	mulpd	%xmm5, %xmm4
	unpcklpd	%xmm7, %xmm2
	unpcklpd	%xmm8, %xmm3
	movsd	(%rsp), %xmm7
	mulpd	%xmm5, %xmm3
	mulpd	%xmm5, %xmm2
	comisd	%xmm6, %xmm7
	movapd	%xmm0, %xmm1
	movapd	%xmm0, %xmm9
	movaps	%xmm0, 160(%rsp)
	unpckhpd	%xmm1, %xmm1
	movaps	%xmm4, 112(%rsp)
	movaps	%xmm3, 128(%rsp)
	movaps	%xmm2, 144(%rsp)
	ja	.L46
	ucomisd	(%rsp), %xmm6
	jp	.L31
	je	.L47
.L31:
	movl	%r14d, %eax
	pxor	%xmm0, %xmm0
	movsd	(%rsp), %xmm7
	negl	%eax
	cmovs	%r14d, %eax
	cvtsi2sdl	%eax, %xmm0
	comisd	%xmm0, %xmm7
	ja	.L48
	ucomisd	(%rsp), %xmm0
	jp	.L30
	jne	.L30
	pxor	%xmm2, %xmm2
	pxor	%xmm0, %xmm0
	movl	$1, %edi
	movl	$2, %eax
	cvtsi2sdl	%r13d, %xmm2
	leaq	.LC0(%rip), %rsi
	cvtsi2sdl	%ebx, %xmm0
	addsd	%xmm2, %xmm1
	addsd	%xmm9, %xmm0
	call	__printf_chk@PLT
	jmp	.L30
.L47:
	leaq	112(%rsp), %rdi
	movl	$3, %esi
	call	ssort
.L30:
	movq	184(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L49
	addq	$192, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 40
	popq	%rbp
	.cfi_def_cfa_offset 32
	popq	%r12
	.cfi_def_cfa_offset 24
	popq	%r13
	.cfi_def_cfa_offset 16
	popq	%r14
	.cfi_def_cfa_offset 8
	ret
.L46:
	.cfi_restore_state
	leaq	112(%rsp), %rdi
	movl	$4, %esi
	call	ssort
	jmp	.L30
.L48:
	leaq	112(%rsp), %rdi
	movl	$2, %esi
	call	ssort
	jmp	.L30
.L42:
	call	sqrt@PLT
	movsd	%xmm0, (%rsp)
	jmp	.L27
.L49:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.size	main, .-main
	.globl	r2
	.bss
	.align 4
	.type	r2, @object
	.size	r2, 4
r2:
	.zero	4
	.globl	cy2
	.align 4
	.type	cy2, @object
	.size	cy2, 4
cy2:
	.zero	4
	.globl	cx2
	.align 4
	.type	cx2, @object
	.size	cx2, 4
cx2:
	.zero	4
	.globl	r1
	.align 4
	.type	r1, @object
	.size	r1, 4
r1:
	.zero	4
	.globl	cy1
	.align 4
	.type	cy1, @object
	.size	cy1, 4
cy1:
	.zero	4
	.globl	cx1
	.align 4
	.type	cx1, @object
	.size	cx1, 4
cx1:
	.zero	4
	.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>
typedef struct{
        double x;
        double y;
}coordinate;
int cx1, cy1, r1, cx2, cy2, r2;
void ssort(coordinate*, int);
main()
{
        double len, s, f1, f2;
        coordinate tc[4];
        scanf("%d %d %d%*c%d %d %d", &cx1, &cy1, &r1, &cx2, &cy2, &r2);
        len = sqrt(pow(cx1 - cx2, 2) + pow(cy1 - cy2, 2));
        s = atan2(cy2 - cy1, cx2 - cx1);
        f1 = acos((r1 + r2) / len);
        f2 = acos((r1 - r2) / len);
        tc[0].x = r1 * cos(s + f1);
        tc[0].y = r1 * sin(s + f1);
        tc[1].x = r1 * cos(s - f1);
        tc[1].y = r1 * sin(s - f1);
        tc[2].x = r1 * cos(s + f2);
    tc[2].y = r1 * sin(s + f2);
    tc[3].x = r1 * cos(s - f2);
    tc[3].y = r1 * sin(s - f2);
        if(len > (r1 + r2)){
                ssort(tc, 4);
        }else if(len == (r1 + r2)){
                ssort(tc, 3);
        }else if(len > abs(r1 - r2)){
                ssort(tc, 2);
        }else if(len == abs(r1 - r2)){
                printf("%.6f %.6f\n", tc[3].x + cx1, tc[3].y + cy1);
        }
}
void ssort(coordinate *t, int n)
{
        int i, j;
        for(i = 4 - n; i < 4; i++){
                int min = i;
                for(j = i + 1; j < 4; j++){
                        if(t[j].x < t[min].x || (t[j].x == t[min].x && t[j].y < t[min].y)){
                                min = j;
                        }
                }
                printf("%.6f %.6f\n", t[min].x + cx1, t[min].y + cy1);
                t[min] = t[i];
        }
}
0 2 1
4 2 2
 1 2 2
3 2 2
 0 0 2
1 0 2
 1 1 2
6 2 2
 0 2 1
1 2 2
 0 -1 2
1 0 2
 1 1 2
6 4 2
 0 -2 2
1 0 2
 1 1 2
6 6 2
 0 -4 2
1 0 2

-0.250000 1.031754
-0.250000 2.968246
0.750000 1.338562
0.750000 2.661438
 1.000000 0.000000
1.000000 4.000000
 0.000000 -2.000000
0.000000 2.000000
 0.607768 2.961161
1.392232 -0.961161
2.295209 2.523953
2.781714 0.091432
 -1.000000 2.000000
 -1.414214 0.414214
1.414214 -2.414214
 -0.028992 2.714986
1.427769 2.953718
2.028992 -0.714986
2.925172 0.458047
 -1.788854 -1.105573
1.788854 -2.894427
 -0.414214 2.414214
0.633810 2.966190
2.414214 -0.414214
2.966190 0.633810
 -1.940285 -3.514929
-0.000000 -2.000000
0.941176 -2.235294
1.940285 -4.485071

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>
typedef struct{
        double x;
        double y;
}coordinate;
int cx1, cy1, r1, cx2, cy2, r2;
void ssort(coordinate*, int);
main()
{
        double len, s, f1, f2;
        coordinate tc[4];
        scanf("%d %d %d%*c%d %d %d", &cx1, &cy1, &r1, &cx2, &cy2, &r2);
        len = sqrt(pow(cx1 - cx2, 2) + pow(cy1 - cy2, 2));
        s = atan2(cy2 - cy1, cx2 - cx1);
        f1 = acos((r1 + r2) / len);
        f2 = acos((r1 - r2) / len);
        tc[0].x = r1 * cos(s + f1);
        tc[0].y = r1 * sin(s + f1);
        tc[1].x = r1 * cos(s - f1);
        tc[1].y = r1 * sin(s - f1);
        tc[2].x = r1 * cos(s + f2);
    tc[2].y = r1 * sin(s + f2);
    tc[3].x = r1 * cos(s - f2);
    tc[3].y = r1 * sin(s - f2);
        if(len > (r1 + r2)){
                ssort(tc, 4);
        }else if(len == (r1 + r2)){
                ssort(tc, 3);
        }else if(len > abs(r1 - r2)){
                ssort(tc, 2);
        }else if(len == abs(r1 - r2)){
                printf("%.6f %.6f\n", tc[3].x + cx1, tc[3].y + cy1);
        }
}
void ssort(coordinate *t, int n)
{
        int i, j;
        for(i = 4 - n; i < 4; i++){
                int min = i;
                for(j = i + 1; j < 4; j++){
                        if(t[j].x < t[min].x || (t[j].x == t[min].x && t[j].y < t[min].y)){
                                min = j;
                        }
                }
                printf("%.6f %.6f\n", t[min].x + cx1, t[min].y + cy1);
                t[min] = t[i];
        }
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.globl	cx1
	.bss
	.align 4
	.type	cx1, @object
	.size	cx1, 4
cx1:
	.zero	4
	.globl	cy1
	.align 4
	.type	cy1, @object
	.size	cy1, 4
cy1:
	.zero	4
	.globl	r1
	.align 4
	.type	r1, @object
	.size	r1, 4
r1:
	.zero	4
	.globl	cx2
	.align 4
	.type	cx2, @object
	.size	cx2, 4
cx2:
	.zero	4
	.globl	cy2
	.align 4
	.type	cy2, @object
	.size	cy2, 4
cy2:
	.zero	4
	.globl	r2
	.align 4
	.type	r2, @object
	.size	r2, 4
r2:
	.zero	4
	.section	.rodata
.LC0:
	.string	"%d %d %d%*c%d %d %d"
.LC2:
	.string	"%.6f %.6f\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
	addq	$-128, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	subq	$8, %rsp
	leaq	r2(%rip), %rax
	pushq	%rax
	leaq	cy2(%rip), %r9
	leaq	cx2(%rip), %r8
	leaq	r1(%rip), %rax
	movq	%rax, %rcx
	leaq	cy1(%rip), %rax
	movq	%rax, %rdx
	leaq	cx1(%rip), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addq	$16, %rsp
	movl	cx1(%rip), %eax
	movl	cx2(%rip), %edx
	subl	%edx, %eax
	pxor	%xmm4, %xmm4
	cvtsi2sdl	%eax, %xmm4
	movq	%xmm4, %rax
	movsd	.LC1(%rip), %xmm0
	movapd	%xmm0, %xmm1
	movq	%rax, %xmm0
	call	pow@PLT
	movsd	%xmm0, -120(%rbp)
	movl	cy1(%rip), %eax
	movl	cy2(%rip), %edx
	subl	%edx, %eax
	pxor	%xmm5, %xmm5
	cvtsi2sdl	%eax, %xmm5
	movq	%xmm5, %rax
	movsd	.LC1(%rip), %xmm0
	movapd	%xmm0, %xmm1
	movq	%rax, %xmm0
	call	pow@PLT
	movapd	%xmm0, %xmm3
	addsd	-120(%rbp), %xmm3
	movq	%xmm3, %rax
	movq	%rax, %xmm0
	call	sqrt@PLT
	movq	%xmm0, %rax
	movq	%rax, -112(%rbp)
	movl	cx2(%rip), %eax
	movl	cx1(%rip), %edx
	subl	%edx, %eax
	pxor	%xmm0, %xmm0
	cvtsi2sdl	%eax, %xmm0
	movl	cy2(%rip), %eax
	movl	cy1(%rip), %edx
	subl	%edx, %eax
	pxor	%xmm7, %xmm7
	cvtsi2sdl	%eax, %xmm7
	movq	%xmm7, %rax
	movapd	%xmm0, %xmm1
	movq	%rax, %xmm0
	call	atan2@PLT
	movq	%xmm0, %rax
	movq	%rax, -104(%rbp)
	movl	r1(%rip), %edx
	movl	r2(%rip), %eax
	addl	%edx, %eax
	pxor	%xmm0, %xmm0
	cvtsi2sdl	%eax, %xmm0
	divsd	-112(%rbp), %xmm0
	movq	%xmm0, %rax
	movq	%rax, %xmm0
	call	acos@PLT
	movq	%xmm0, %rax
	movq	%rax, -96(%rbp)
	movl	r1(%rip), %eax
	movl	r2(%rip), %edx
	subl	%edx, %eax
	pxor	%xmm0, %xmm0
	cvtsi2sdl	%eax, %xmm0
	divsd	-112(%rbp), %xmm0
	movq	%xmm0, %rax
	movq	%rax, %xmm0
	call	acos@PLT
	movq	%xmm0, %rax
	movq	%rax, -88(%rbp)
	movl	r1(%rip), %eax
	pxor	%xmm4, %xmm4
	cvtsi2sdl	%eax, %xmm4
	movsd	%xmm4, -120(%rbp)
	movsd	-104(%rbp), %xmm0
	addsd	-96(%rbp), %xmm0
	movq	%xmm0, %rax
	movq	%rax, %xmm0
	call	cos@PLT
	mulsd	-120(%rbp), %xmm0
	movsd	%xmm0, -80(%rbp)
	movl	r1(%rip), %eax
	pxor	%xmm5, %xmm5
	cvtsi2sdl	%eax, %xmm5
	movsd	%xmm5, -120(%rbp)
	movsd	-104(%rbp), %xmm0
	addsd	-96(%rbp), %xmm0
	movq	%xmm0, %rax
	movq	%rax, %xmm0
	call	sin@PLT
	mulsd	-120(%rbp), %xmm0
	movsd	%xmm0, -72(%rbp)
	movl	r1(%rip), %eax
	pxor	%xmm6, %xmm6
	cvtsi2sdl	%eax, %xmm6
	movsd	%xmm6, -120(%rbp)
	movsd	-104(%rbp), %xmm0
	subsd	-96(%rbp), %xmm0
	movq	%xmm0, %rax
	movq	%rax, %xmm0
	call	cos@PLT
	mulsd	-120(%rbp), %xmm0
	movsd	%xmm0, -64(%rbp)
	movl	r1(%rip), %eax
	pxor	%xmm7, %xmm7
	cvtsi2sdl	%eax, %xmm7
	movsd	%xmm7, -120(%rbp)
	movsd	-104(%rbp), %xmm0
	subsd	-96(%rbp), %xmm0
	movq	%xmm0, %rax
	movq	%rax, %xmm0
	call	sin@PLT
	mulsd	-120(%rbp), %xmm0
	movsd	%xmm0, -56(%rbp)
	movl	r1(%rip), %eax
	pxor	%xmm3, %xmm3
	cvtsi2sdl	%eax, %xmm3
	movsd	%xmm3, -120(%rbp)
	movsd	-104(%rbp), %xmm0
	addsd	-88(%rbp), %xmm0
	movq	%xmm0, %rax
	movq	%rax, %xmm0
	call	cos@PLT
	mulsd	-120(%rbp), %xmm0
	movsd	%xmm0, -48(%rbp)
	movl	r1(%rip), %eax
	pxor	%xmm2, %xmm2
	cvtsi2sdl	%eax, %xmm2
	movsd	%xmm2, -120(%rbp)
	movsd	-104(%rbp), %xmm0
	addsd	-88(%rbp), %xmm0
	movq	%xmm0, %rax
	movq	%rax, %xmm0
	call	sin@PLT
	mulsd	-120(%rbp), %xmm0
	movsd	%xmm0, -40(%rbp)
	movl	r1(%rip), %eax
	pxor	%xmm4, %xmm4
	cvtsi2sdl	%eax, %xmm4
	movsd	%xmm4, -120(%rbp)
	movsd	-104(%rbp), %xmm0
	subsd	-88(%rbp), %xmm0
	movq	%xmm0, %rax
	movq	%rax, %xmm0
	call	cos@PLT
	mulsd	-120(%rbp), %xmm0
	movsd	%xmm0, -32(%rbp)
	movl	r1(%rip), %eax
	pxor	%xmm5, %xmm5
	cvtsi2sdl	%eax, %xmm5
	movsd	%xmm5, -120(%rbp)
	movsd	-104(%rbp), %xmm0
	subsd	-88(%rbp), %xmm0
	movq	%xmm0, %rax
	movq	%rax, %xmm0
	call	sin@PLT
	mulsd	-120(%rbp), %xmm0
	movsd	%xmm0, -24(%rbp)
	movl	r1(%rip), %edx
	movl	r2(%rip), %eax
	addl	%edx, %eax
	pxor	%xmm1, %xmm1
	cvtsi2sdl	%eax, %xmm1
	movsd	-112(%rbp), %xmm0
	comisd	%xmm1, %xmm0
	jbe	.L16
	leaq	-80(%rbp), %rax
	movl	$4, %esi
	movq	%rax, %rdi
	call	ssort
	jmp	.L4
.L16:
	movl	r1(%rip), %edx
	movl	r2(%rip), %eax
	addl	%edx, %eax
	pxor	%xmm0, %xmm0
	cvtsi2sdl	%eax, %xmm0
	ucomisd	-112(%rbp), %xmm0
	jp	.L5
	ucomisd	-112(%rbp), %xmm0
	jne	.L5
	leaq	-80(%rbp), %rax
	movl	$3, %esi
	movq	%rax, %rdi
	call	ssort
	jmp	.L4
.L5:
	movl	r1(%rip), %eax
	movl	r2(%rip), %edx
	subl	%edx, %eax
	movl	%eax, %edx
	negl	%edx
	cmovns	%edx, %eax
	pxor	%xmm1, %xmm1
	cvtsi2sdl	%eax, %xmm1
	movsd	-112(%rbp), %xmm0
	comisd	%xmm1, %xmm0
	jbe	.L17
	leaq	-80(%rbp), %rax
	movl	$2, %esi
	movq	%rax, %rdi
	call	ssort
	jmp	.L4
.L17:
	movl	r1(%rip), %eax
	movl	r2(%rip), %edx
	subl	%edx, %eax
	movl	%eax, %edx
	negl	%edx
	cmovns	%edx, %eax
	pxor	%xmm0, %xmm0
	cvtsi2sdl	%eax, %xmm0
	ucomisd	-112(%rbp), %xmm0
	jp	.L4
	ucomisd	-112(%rbp), %xmm0
	jne	.L4
	movsd	-24(%rbp), %xmm1
	movl	cy1(%rip), %eax
	pxor	%xmm0, %xmm0
	cvtsi2sdl	%eax, %xmm0
	movapd	%xmm1, %xmm2
	addsd	%xmm0, %xmm2
	movsd	-32(%rbp), %xmm1
	movl	cx1(%rip), %eax
	pxor	%xmm0, %xmm0
	cvtsi2sdl	%eax, %xmm0
	addsd	%xmm0, %xmm1
	movq	%xmm1, %rax
	movapd	%xmm2, %xmm1
	movq	%rax, %xmm0
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$2, %eax
	call	printf@PLT
.L4:
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L11
	call	__stack_chk_fail@PLT
.L11:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.globl	ssort
	.type	ssort, @function
ssort:
.LFB1:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$32, %rsp
	movq	%rdi, -24(%rbp)
	movl	%esi, -28(%rbp)
	movl	$4, %eax
	subl	-28(%rbp), %eax
	movl	%eax, -12(%rbp)
	jmp	.L19
.L26:
	movl	-12(%rbp), %eax
	movl	%eax, -4(%rbp)
	movl	-12(%rbp), %eax
	addl	$1, %eax
	movl	%eax, -8(%rbp)
	jmp	.L20
.L25:
	movl	-8(%rbp), %eax
	cltq
	salq	$4, %rax
	movq	%rax, %rdx
	movq	-24(%rbp), %rax
	addq	%rdx, %rax
	movsd	(%rax), %xmm1
	movl	-4(%rbp), %eax
	cltq
	salq	$4, %rax
	movq	%rax, %rdx
	movq	-24(%rbp), %rax
	addq	%rdx, %rax
	movsd	(%rax), %xmm0
	comisd	%xmm1, %xmm0
	ja	.L21
	movl	-8(%rbp), %eax
	cltq
	salq	$4, %rax
	movq	%rax, %rdx
	movq	-24(%rbp), %rax
	addq	%rdx, %rax
	movsd	(%rax), %xmm0
	movl	-4(%rbp), %eax
	cltq
	salq	$4, %rax
	movq	%rax, %rdx
	movq	-24(%rbp), %rax
	addq	%rdx, %rax
	movsd	(%rax), %xmm1
	ucomisd	%xmm1, %xmm0
	jp	.L22
	ucomisd	%xmm1, %xmm0
	jne	.L22
	movl	-8(%rbp), %eax
	cltq
	salq	$4, %rax
	movq	%rax, %rdx
	movq	-24(%rbp), %rax
	addq	%rdx, %rax
	movsd	8(%rax), %xmm1
	movl	-4(%rbp), %eax
	cltq
	salq	$4, %rax
	movq	%rax, %rdx
	movq	-24(%rbp), %rax
	addq	%rdx, %rax
	movsd	8(%rax), %xmm0
	comisd	%xmm1, %xmm0
	jbe	.L22
.L21:
	movl	-8(%rbp), %eax
	movl	%eax, -4(%rbp)
.L22:
	addl	$1, -8(%rbp)
.L20:
	cmpl	$3, -8(%rbp)
	jle	.L25
	movl	-4(%rbp), %eax
	cltq
	salq	$4, %rax
	movq	%rax, %rdx
	movq	-24(%rbp), %rax
	addq	%rdx, %rax
	movsd	8(%rax), %xmm1
	movl	cy1(%rip), %eax
	pxor	%xmm0, %xmm0
	cvtsi2sdl	%eax, %xmm0
	movapd	%xmm1, %xmm2
	addsd	%xmm0, %xmm2
	movl	-4(%rbp), %eax
	cltq
	salq	$4, %rax
	movq	%rax, %rdx
	movq	-24(%rbp), %rax
	addq	%rdx, %rax
	movsd	(%rax), %xmm1
	movl	cx1(%rip), %eax
	pxor	%xmm0, %xmm0
	cvtsi2sdl	%eax, %xmm0
	addsd	%xmm0, %xmm1
	movq	%xmm1, %rax
	movapd	%xmm2, %xmm1
	movq	%rax, %xmm0
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$2, %eax
	call	printf@PLT
	movl	-12(%rbp), %eax
	cltq
	salq	$4, %rax
	movq	%rax, %rdx
	movq	-24(%rbp), %rax
	addq	%rdx, %rax
	movl	-4(%rbp), %edx
	movslq	%edx, %rdx
	movq	%rdx, %rcx
	salq	$4, %rcx
	movq	-24(%rbp), %rdx
	addq	%rdx, %rcx
	movq	8(%rax), %rdx
	movq	(%rax), %rax
	movq	%rax, (%rcx)
	movq	%rdx, 8(%rcx)
	addl	$1, -12(%rbp)
.L19:
	cmpl	$3, -12(%rbp)
	jle	.L26
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	ssort, .-ssort
	.section	.rodata
	.align 8
.LC1:
	.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
	.globl	cx1
	.bss
	.align 4
	.type	cx1, @object
	.size	cx1, 4
cx1:
	.zero	4
	.globl	cy1
	.align 4
	.type	cy1, @object
	.size	cy1, 4
cy1:
	.zero	4
	.globl	r1
	.align 4
	.type	r1, @object
	.size	r1, 4
r1:
	.zero	4
	.globl	cx2
	.align 4
	.type	cx2, @object
	.size	cx2, 4
cx2:
	.zero	4
	.globl	cy2
	.align 4
	.type	cy2, @object
	.size	cy2, 4
cy2:
	.zero	4
	.globl	r2
	.align 4
	.type	r2, @object
	.size	r2, 4
r2:
	.zero	4
	.section	.rodata
.LC0:
	.string	"%d %d %d%*c%d %d %d"
.LC2:
	.string	"%.6f %.6f\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
	addq	$-128, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	subq	$8, %rsp
	leaq	r2(%rip), %rax
	pushq	%rax
	leaq	cy2(%rip), %r9
	leaq	cx2(%rip), %r8
	leaq	r1(%rip), %rax
	movq	%rax, %rcx
	leaq	cy1(%rip), %rax
	movq	%rax, %rdx
	leaq	cx1(%rip), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addq	$16, %rsp
	movl	cx1(%rip), %eax
	movl	cx2(%rip), %edx
	subl	%edx, %eax
	pxor	%xmm4, %xmm4
	cvtsi2sdl	%eax, %xmm4
	movq	%xmm4, %rax
	movsd	.LC1(%rip), %xmm0
	movapd	%xmm0, %xmm1
	movq	%rax, %xmm0
	call	pow@PLT
	movsd	%xmm0, -120(%rbp)
	movl	cy1(%rip), %eax
	movl	cy2(%rip), %edx
	subl	%edx, %eax
	pxor	%xmm5, %xmm5
	cvtsi2sdl	%eax, %xmm5
	movq	%xmm5, %rax
	movsd	.LC1(%rip), %xmm0
	movapd	%xmm0, %xmm1
	movq	%rax, %xmm0
	call	pow@PLT
	movapd	%xmm0, %xmm3
	addsd	-120(%rbp), %xmm3
	movq	%xmm3, %rax
	movq	%rax, %xmm0
	call	sqrt@PLT
	movq	%xmm0, %rax
	movq	%rax, -112(%rbp)
	movl	cx2(%rip), %eax
	movl	cx1(%rip), %edx
	subl	%edx, %eax
	pxor	%xmm0, %xmm0
	cvtsi2sdl	%eax, %xmm0
	movl	cy2(%rip), %eax
	movl	cy1(%rip), %edx
	subl	%edx, %eax
	pxor	%xmm7, %xmm7
	cvtsi2sdl	%eax, %xmm7
	movq	%xmm7, %rax
	movapd	%xmm0, %xmm1
	movq	%rax, %xmm0
	call	atan2@PLT
	movq	%xmm0, %rax
	movq	%rax, -104(%rbp)
	movl	r1(%rip), %edx
	movl	r2(%rip), %eax
	addl	%edx, %eax
	pxor	%xmm0, %xmm0
	cvtsi2sdl	%eax, %xmm0
	divsd	-112(%rbp), %xmm0
	movq	%xmm0, %rax
	movq	%rax, %xmm0
	call	acos@PLT
	movq	%xmm0, %rax
	movq	%rax, -96(%rbp)
	movl	r1(%rip), %eax
	movl	r2(%rip), %edx
	subl	%edx, %eax
	pxor	%xmm0, %xmm0
	cvtsi2sdl	%eax, %xmm0
	divsd	-112(%rbp), %xmm0
	movq	%xmm0, %rax
	movq	%rax, %xmm0
	call	acos@PLT
	movq	%xmm0, %rax
	movq	%rax, -88(%rbp)
	movl	r1(%rip), %eax
	pxor	%xmm4, %xmm4
	cvtsi2sdl	%eax, %xmm4
	movsd	%xmm4, -120(%rbp)
	movsd	-104(%rbp), %xmm0
	addsd	-96(%rbp), %xmm0
	movq	%xmm0, %rax
	movq	%rax, %xmm0
	call	cos@PLT
	mulsd	-120(%rbp), %xmm0
	movsd	%xmm0, -80(%rbp)
	movl	r1(%rip), %eax
	pxor	%xmm5, %xmm5
	cvtsi2sdl	%eax, %xmm5
	movsd	%xmm5, -120(%rbp)
	movsd	-104(%rbp), %xmm0
	addsd	-96(%rbp), %xmm0
	movq	%xmm0, %rax
	movq	%rax, %xmm0
	call	sin@PLT
	mulsd	-120(%rbp), %xmm0
	movsd	%xmm0, -72(%rbp)
	movl	r1(%rip), %eax
	pxor	%xmm6, %xmm6
	cvtsi2sdl	%eax, %xmm6
	movsd	%xmm6, -120(%rbp)
	movsd	-104(%rbp), %xmm0
	subsd	-96(%rbp), %xmm0
	movq	%xmm0, %rax
	movq	%rax, %xmm0
	call	cos@PLT
	mulsd	-120(%rbp), %xmm0
	movsd	%xmm0, -64(%rbp)
	movl	r1(%rip), %eax
	pxor	%xmm7, %xmm7
	cvtsi2sdl	%eax, %xmm7
	movsd	%xmm7, -120(%rbp)
	movsd	-104(%rbp), %xmm0
	subsd	-96(%rbp), %xmm0
	movq	%xmm0, %rax
	movq	%rax, %xmm0
	call	sin@PLT
	mulsd	-120(%rbp), %xmm0
	movsd	%xmm0, -56(%rbp)
	movl	r1(%rip), %eax
	pxor	%xmm3, %xmm3
	cvtsi2sdl	%eax, %xmm3
	movsd	%xmm3, -120(%rbp)
	movsd	-104(%rbp), %xmm0
	addsd	-88(%rbp), %xmm0
	movq	%xmm0, %rax
	movq	%rax, %xmm0
	call	cos@PLT
	mulsd	-120(%rbp), %xmm0
	movsd	%xmm0, -48(%rbp)
	movl	r1(%rip), %eax
	pxor	%xmm2, %xmm2
	cvtsi2sdl	%eax, %xmm2
	movsd	%xmm2, -120(%rbp)
	movsd	-104(%rbp), %xmm0
	addsd	-88(%rbp), %xmm0
	movq	%xmm0, %rax
	movq	%rax, %xmm0
	call	sin@PLT
	mulsd	-120(%rbp), %xmm0
	movsd	%xmm0, -40(%rbp)
	movl	r1(%rip), %eax
	pxor	%xmm4, %xmm4
	cvtsi2sdl	%eax, %xmm4
	movsd	%xmm4, -120(%rbp)
	movsd	-104(%rbp), %xmm0
	subsd	-88(%rbp), %xmm0
	movq	%xmm0, %rax
	movq	%rax, %xmm0
	call	cos@PLT
	mulsd	-120(%rbp), %xmm0
	movsd	%xmm0, -32(%rbp)
	movl	r1(%rip), %eax
	pxor	%xmm5, %xmm5
	cvtsi2sdl	%eax, %xmm5
	movsd	%xmm5, -120(%rbp)
	movsd	-104(%rbp), %xmm0
	subsd	-88(%rbp), %xmm0
	movq	%xmm0, %rax
	movq	%rax, %xmm0
	call	sin@PLT
	mulsd	-120(%rbp), %xmm0
	movsd	%xmm0, -24(%rbp)
	movl	r1(%rip), %edx
	movl	r2(%rip), %eax
	addl	%edx, %eax
	pxor	%xmm1, %xmm1
	cvtsi2sdl	%eax, %xmm1
	movsd	-112(%rbp), %xmm0
	comisd	%xmm1, %xmm0
	jbe	.L16
	leaq	-80(%rbp), %rax
	movl	$4, %esi
	movq	%rax, %rdi
	call	ssort
	jmp	.L4
.L16:
	movl	r1(%rip), %edx
	movl	r2(%rip), %eax
	addl	%edx, %eax
	pxor	%xmm0, %xmm0
	cvtsi2sdl	%eax, %xmm0
	ucomisd	-112(%rbp), %xmm0
	jp	.L5
	ucomisd	-112(%rbp), %xmm0
	jne	.L5
	leaq	-80(%rbp), %rax
	movl	$3, %esi
	movq	%rax, %rdi
	call	ssort
	jmp	.L4
.L5:
	movl	r1(%rip), %eax
	movl	r2(%rip), %edx
	subl	%edx, %eax
	movl	%eax, %edx
	negl	%edx
	cmovns	%edx, %eax
	pxor	%xmm1, %xmm1
	cvtsi2sdl	%eax, %xmm1
	movsd	-112(%rbp), %xmm0
	comisd	%xmm1, %xmm0
	jbe	.L17
	leaq	-80(%rbp), %rax
	movl	$2, %esi
	movq	%rax, %rdi
	call	ssort
	jmp	.L4
.L17:
	movl	r1(%rip), %eax
	movl	r2(%rip), %edx
	subl	%edx, %eax
	movl	%eax, %edx
	negl	%edx
	cmovns	%edx, %eax
	pxor	%xmm0, %xmm0
	cvtsi2sdl	%eax, %xmm0
	ucomisd	-112(%rbp), %xmm0
	jp	.L4
	ucomisd	-112(%rbp), %xmm0
	jne	.L4
	movsd	-24(%rbp), %xmm1
	movl	cy1(%rip), %eax
	pxor	%xmm0, %xmm0
	cvtsi2sdl	%eax, %xmm0
	movapd	%xmm1, %xmm2
	addsd	%xmm0, %xmm2
	movsd	-32(%rbp), %xmm1
	movl	cx1(%rip), %eax
	pxor	%xmm0, %xmm0
	cvtsi2sdl	%eax, %xmm0
	addsd	%xmm0, %xmm1
	movq	%xmm1, %rax
	movapd	%xmm2, %xmm1
	movq	%rax, %xmm0
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$2, %eax
	call	printf@PLT
.L4:
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L11
	call	__stack_chk_fail@PLT
.L11:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.globl	ssort
	.type	ssort, @function
ssort:
.LFB1:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$32, %rsp
	movq	%rdi, -24(%rbp)
	movl	%esi, -28(%rbp)
	movl	$4, %eax
	subl	-28(%rbp), %eax
	movl	%eax, -12(%rbp)
	jmp	.L19
.L26:
	movl	-12(%rbp), %eax
	movl	%eax, -4(%rbp)
	movl	-12(%rbp), %eax
	addl	$1, %eax
	movl	%eax, -8(%rbp)
	jmp	.L20
.L25:
	movl	-8(%rbp), %eax
	cltq
	salq	$4, %rax
	movq	%rax, %rdx
	movq	-24(%rbp), %rax
	addq	%rdx, %rax
	movsd	(%rax), %xmm1
	movl	-4(%rbp), %eax
	cltq
	salq	$4, %rax
	movq	%rax, %rdx
	movq	-24(%rbp), %rax
	addq	%rdx, %rax
	movsd	(%rax), %xmm0
	comisd	%xmm1, %xmm0
	ja	.L21
	movl	-8(%rbp), %eax
	cltq
	salq	$4, %rax
	movq	%rax, %rdx
	movq	-24(%rbp), %rax
	addq	%rdx, %rax
	movsd	(%rax), %xmm0
	movl	-4(%rbp), %eax
	cltq
	salq	$4, %rax
	movq	%rax, %rdx
	movq	-24(%rbp), %rax
	addq	%rdx, %rax
	movsd	(%rax), %xmm1
	ucomisd	%xmm1, %xmm0
	jp	.L22
	ucomisd	%xmm1, %xmm0
	jne	.L22
	movl	-8(%rbp), %eax
	cltq
	salq	$4, %rax
	movq	%rax, %rdx
	movq	-24(%rbp), %rax
	addq	%rdx, %rax
	movsd	8(%rax), %xmm1
	movl	-4(%rbp), %eax
	cltq
	salq	$4, %rax
	movq	%rax, %rdx
	movq	-24(%rbp), %rax
	addq	%rdx, %rax
	movsd	8(%rax), %xmm0
	comisd	%xmm1, %xmm0
	jbe	.L22
.L21:
	movl	-8(%rbp), %eax
	movl	%eax, -4(%rbp)
.L22:
	addl	$1, -8(%rbp)
.L20:
	cmpl	$3, -8(%rbp)
	jle	.L25
	movl	-4(%rbp), %eax
	cltq
	salq	$4, %rax
	movq	%rax, %rdx
	movq	-24(%rbp), %rax
	addq	%rdx, %rax
	movsd	8(%rax), %xmm1
	movl	cy1(%rip), %eax
	pxor	%xmm0, %xmm0
	cvtsi2sdl	%eax, %xmm0
	movapd	%xmm1, %xmm2
	addsd	%xmm0, %xmm2
	movl	-4(%rbp), %eax
	cltq
	salq	$4, %rax
	movq	%rax, %rdx
	movq	-24(%rbp), %rax
	addq	%rdx, %rax
	movsd	(%rax), %xmm1
	movl	cx1(%rip), %eax
	pxor	%xmm0, %xmm0
	cvtsi2sdl	%eax, %xmm0
	addsd	%xmm0, %xmm1
	movq	%xmm1, %rax
	movapd	%xmm2, %xmm1
	movq	%rax, %xmm0
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$2, %eax
	call	printf@PLT
	movl	-12(%rbp), %eax
	cltq
	salq	$4, %rax
	movq	%rax, %rdx
	movq	-24(%rbp), %rax
	addq	%rdx, %rax
	movl	-4(%rbp), %edx
	movslq	%edx, %rdx
	movq	%rdx, %rcx
	salq	$4, %rcx
	movq	-24(%rbp), %rdx
	addq	%rdx, %rcx
	movq	8(%rax), %rdx
	movq	(%rax), %rax
	movq	%rax, (%rcx)
	movq	%rdx, 8(%rcx)
	addl	$1, -12(%rbp)
.L19:
	cmpl	$3, -12(%rbp)
	jle	.L26
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	ssort, .-ssort
	.section	.rodata
	.align 8
.LC1:
	.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:
