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>

void point_sort(int point_data[])
{

	int i, j, temp;

	for(i = 0; i < 9; i++) {
		for(j = i + 1; j < 10; j++) {
			if(point_data[i] < point_data[j]) {
				temp = point_data[i];
				point_data[i] = point_data[j];
				point_data[j] = temp;
			}
		}
	}

}

int main(void)
{

	int i;
	int W_college[10], K_college[10];

	for(i = 0; i < 20; i++) {
		if(i <= 9) {
			scanf("%d", &W_college[i]);
		}
		else {
			scanf("%d", &K_college[i - 10]);
		}
	}

	point_sort(W_college);
	point_sort(K_college);

	printf("%d %d\n", W_college[0] + W_college[1] + W_college[2], K_college[0] + K_college[1] + K_college[2]);

	return 0;

}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.globl	point_sort
	.type	point_sort, @function
point_sort:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	movq	%rdi, -24(%rbp)
	movl	$0, -12(%rbp)
	jmp	.L2
.L6:
	movl	-12(%rbp), %eax
	addl	$1, %eax
	movl	%eax, -8(%rbp)
	jmp	.L3
.L5:
	movl	-12(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	movq	-24(%rbp), %rax
	addq	%rdx, %rax
	movl	(%rax), %edx
	movl	-8(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rcx
	movq	-24(%rbp), %rax
	addq	%rcx, %rax
	movl	(%rax), %eax
	cmpl	%eax, %edx
	jge	.L4
	movl	-12(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	movq	-24(%rbp), %rax
	addq	%rdx, %rax
	movl	(%rax), %eax
	movl	%eax, -4(%rbp)
	movl	-8(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	movq	-24(%rbp), %rax
	addq	%rdx, %rax
	movl	-12(%rbp), %edx
	movslq	%edx, %rdx
	leaq	0(,%rdx,4), %rcx
	movq	-24(%rbp), %rdx
	addq	%rcx, %rdx
	movl	(%rax), %eax
	movl	%eax, (%rdx)
	movl	-8(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	movq	-24(%rbp), %rax
	addq	%rax, %rdx
	movl	-4(%rbp), %eax
	movl	%eax, (%rdx)
.L4:
	addl	$1, -8(%rbp)
.L3:
	cmpl	$9, -8(%rbp)
	jle	.L5
	addl	$1, -12(%rbp)
.L2:
	cmpl	$8, -12(%rbp)
	jle	.L6
	nop
	nop
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	point_sort, .-point_sort
	.section	.rodata
.LC0:
	.string	"%d"
.LC1:
	.string	"%d %d\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB1:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$112, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movl	$0, -100(%rbp)
	jmp	.L8
.L11:
	cmpl	$9, -100(%rbp)
	jg	.L9
	leaq	-96(%rbp), %rdx
	movl	-100(%rbp), %eax
	cltq
	salq	$2, %rax
	addq	%rdx, %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	jmp	.L10
.L9:
	movl	-100(%rbp), %eax
	subl	$10, %eax
	leaq	-48(%rbp), %rdx
	cltq
	salq	$2, %rax
	addq	%rdx, %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
.L10:
	addl	$1, -100(%rbp)
.L8:
	cmpl	$19, -100(%rbp)
	jle	.L11
	leaq	-96(%rbp), %rax
	movq	%rax, %rdi
	call	point_sort
	leaq	-48(%rbp), %rax
	movq	%rax, %rdi
	call	point_sort
	movl	-48(%rbp), %edx
	movl	-44(%rbp), %eax
	addl	%eax, %edx
	movl	-40(%rbp), %eax
	addl	%eax, %edx
	movl	-96(%rbp), %ecx
	movl	-92(%rbp), %eax
	addl	%eax, %ecx
	movl	-88(%rbp), %eax
	addl	%ecx, %eax
	movl	%eax, %esi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L13
	call	__stack_chk_fail@PLT
.L13:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.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
	.p2align 4
	.globl	point_sort
	.type	point_sort, @function
point_sort:
.LFB23:
	.cfi_startproc
	endbr64
	movq	%rdi, %rax
	movl	$2, %edx
	.p2align 4,,10
	.p2align 3
.L13:
	movq	(%rax), %xmm0
	pshufd	$0xe5, %xmm0, %xmm2
	movd	%xmm0, %ecx
	movd	%xmm2, %esi
	pshufd	$225, %xmm0, %xmm1
	cmpl	%ecx, %esi
	jle	.L2
	movq	%xmm1, (%rax)
.L2:
	cmpl	$10, %edx
	je	.L1
	movl	(%rax), %ecx
	movl	8(%rax), %esi
	cmpl	%esi, %ecx
	jge	.L4
	movl	%esi, (%rax)
	movl	%ecx, 8(%rax)
.L4:
	cmpl	$9, %edx
	je	.L5
	movl	(%rax), %ecx
	movl	12(%rax), %esi
	cmpl	%esi, %ecx
	jge	.L6
	movl	%esi, (%rax)
	movl	%ecx, 12(%rax)
.L6:
	cmpl	$8, %edx
	je	.L5
	movl	(%rax), %ecx
	movl	16(%rax), %esi
	cmpl	%esi, %ecx
	jge	.L7
	movl	%esi, (%rax)
	movl	%ecx, 16(%rax)
.L7:
	cmpl	$7, %edx
	je	.L5
	movl	(%rax), %ecx
	movl	20(%rax), %esi
	cmpl	%esi, %ecx
	jge	.L8
	movl	%esi, (%rax)
	movl	%ecx, 20(%rax)
.L8:
	cmpl	$6, %edx
	je	.L5
	movl	(%rax), %ecx
	movl	24(%rax), %esi
	cmpl	%esi, %ecx
	jge	.L9
	movl	%esi, (%rax)
	movl	%ecx, 24(%rax)
.L9:
	cmpl	$5, %edx
	je	.L5
	movl	(%rax), %ecx
	movl	28(%rax), %esi
	cmpl	%esi, %ecx
	jge	.L10
	movl	%esi, (%rax)
	movl	%ecx, 28(%rax)
.L10:
	cmpl	$4, %edx
	je	.L5
	movl	(%rax), %ecx
	movl	32(%rax), %esi
	cmpl	%esi, %ecx
	jge	.L11
	movl	%esi, (%rax)
	movl	%ecx, 32(%rax)
.L11:
	cmpl	$3, %edx
	je	.L5
	movl	(%rax), %ecx
	movl	36(%rax), %esi
	cmpl	%esi, %ecx
	jge	.L12
	movl	%esi, (%rax)
	movl	%ecx, 36(%rax)
.L12:
	addl	$1, %edx
	addq	$4, %rax
	cmpl	$11, %edx
	jne	.L13
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	addq	$4, %rax
	addl	$1, %edx
	jmp	.L13
	.p2align 4,,10
	.p2align 3
.L1:
	ret
	.cfi_endproc
.LFE23:
	.size	point_sort, .-point_sort
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d"
.LC1:
	.string	"%d %d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB24:
	.cfi_startproc
	endbr64
	pushq	%r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	pushq	%r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	leaq	.LC0(%rip), %r12
	pushq	%rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	pushq	%rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	xorl	%ebx, %ebx
	subq	$104, %rsp
	.cfi_def_cfa_offset 144
	movq	%fs:40, %rax
	movq	%rax, 88(%rsp)
	xorl	%eax, %eax
	leaq	8(%rsp), %rbp
	movq	%rsp, %r13
	jmp	.L47
	.p2align 4,,10
	.p2align 3
.L131:
	leaq	0(%r13,%rbx,4), %rsi
	movq	%r12, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
.L45:
	addq	$1, %rbx
	addq	$4, %rbp
.L47:
	cmpq	$9, %rbx
	jbe	.L131
	xorl	%eax, %eax
	movq	%rbp, %rsi
	movq	%r12, %rdi
	call	__isoc99_scanf@PLT
	cmpq	$19, %rbx
	jne	.L45
	movq	%r13, %rax
	movl	$2, %edx
	.p2align 4,,10
	.p2align 3
.L59:
	movq	(%rax), %xmm0
	pshufd	$0xe5, %xmm0, %xmm2
	movd	%xmm0, %ecx
	movd	%xmm2, %esi
	pshufd	$225, %xmm0, %xmm1
	cmpl	%ecx, %esi
	jle	.L48
	movq	%xmm1, (%rax)
.L48:
	cmpl	$10, %edx
	je	.L49
	movl	(%rax), %ecx
	movl	8(%rax), %esi
	cmpl	%esi, %ecx
	jge	.L50
	movl	%esi, (%rax)
	movl	%ecx, 8(%rax)
.L50:
	cmpl	$9, %edx
	je	.L51
	movl	(%rax), %ecx
	movl	12(%rax), %esi
	cmpl	%esi, %ecx
	jge	.L52
	movl	%esi, (%rax)
	movl	%ecx, 12(%rax)
.L52:
	cmpl	$8, %edx
	je	.L51
	movl	(%rax), %ecx
	movl	16(%rax), %esi
	cmpl	%esi, %ecx
	jge	.L53
	movl	%esi, (%rax)
	movl	%ecx, 16(%rax)
.L53:
	cmpl	$7, %edx
	je	.L51
	movl	(%rax), %ecx
	movl	20(%rax), %esi
	cmpl	%esi, %ecx
	jge	.L54
	movl	%esi, (%rax)
	movl	%ecx, 20(%rax)
.L54:
	cmpl	$6, %edx
	je	.L51
	movl	(%rax), %ecx
	movl	24(%rax), %esi
	cmpl	%esi, %ecx
	jge	.L55
	movl	%esi, (%rax)
	movl	%ecx, 24(%rax)
.L55:
	cmpl	$5, %edx
	je	.L51
	movl	(%rax), %ecx
	movl	28(%rax), %esi
	cmpl	%esi, %ecx
	jge	.L56
	movl	%esi, (%rax)
	movl	%ecx, 28(%rax)
.L56:
	cmpl	$4, %edx
	je	.L51
	movl	(%rax), %ecx
	movl	32(%rax), %esi
	cmpl	%esi, %ecx
	jge	.L57
	movl	%esi, (%rax)
	movl	%ecx, 32(%rax)
.L57:
	cmpl	$3, %edx
	je	.L51
	movl	(%rax), %ecx
	movl	36(%rax), %esi
	cmpl	%esi, %ecx
	jge	.L58
	movl	%esi, (%rax)
	movl	%ecx, 36(%rax)
.L58:
	addl	$1, %edx
	addq	$4, %rax
	cmpl	$11, %edx
	jne	.L59
	.p2align 4,,10
	.p2align 3
.L49:
	leaq	48(%rsp), %rcx
	movl	$2, %esi
	.p2align 4,,10
	.p2align 3
.L71:
	movq	(%rcx), %xmm0
	pshufd	$0xe5, %xmm0, %xmm3
	movd	%xmm0, %eax
	movd	%xmm3, %edx
	pshufd	$225, %xmm0, %xmm1
	cmpl	%eax, %edx
	jle	.L60
	movq	%xmm1, (%rcx)
.L60:
	cmpl	$10, %esi
	je	.L61
	movl	(%rcx), %eax
	movl	8(%rcx), %edx
	cmpl	%eax, %edx
	jle	.L62
	movl	%edx, (%rcx)
	movl	%eax, 8(%rcx)
.L62:
	cmpl	$9, %esi
	je	.L63
	movl	(%rcx), %eax
	movl	12(%rcx), %edx
	cmpl	%eax, %edx
	jle	.L64
	movl	%edx, (%rcx)
	movl	%eax, 12(%rcx)
.L64:
	cmpl	$8, %esi
	je	.L63
	movl	(%rcx), %eax
	movl	16(%rcx), %edx
	cmpl	%eax, %edx
	jle	.L65
	movl	%edx, (%rcx)
	movl	%eax, 16(%rcx)
.L65:
	cmpl	$7, %esi
	je	.L63
	movl	(%rcx), %eax
	movl	20(%rcx), %edx
	cmpl	%eax, %edx
	jle	.L66
	movl	%edx, (%rcx)
	movl	%eax, 20(%rcx)
.L66:
	cmpl	$6, %esi
	je	.L63
	movl	(%rcx), %eax
	movl	24(%rcx), %edx
	cmpl	%eax, %edx
	jle	.L67
	movl	%edx, (%rcx)
	movl	%eax, 24(%rcx)
.L67:
	cmpl	$5, %esi
	je	.L63
	movl	(%rcx), %eax
	movl	28(%rcx), %edx
	cmpl	%edx, %eax
	jge	.L68
	movl	%edx, (%rcx)
	movl	%eax, 28(%rcx)
.L68:
	cmpl	$4, %esi
	je	.L63
	movl	(%rcx), %eax
	movl	32(%rcx), %edx
	cmpl	%edx, %eax
	jge	.L69
	movl	%edx, (%rcx)
	movl	%eax, 32(%rcx)
.L69:
	cmpl	$3, %esi
	je	.L63
	movl	(%rcx), %eax
	movl	36(%rcx), %edx
	cmpl	%edx, %eax
	jge	.L70
	movl	%edx, (%rcx)
	movl	%eax, 36(%rcx)
.L70:
	addl	$1, %esi
	addq	$4, %rcx
	cmpl	$11, %esi
	jne	.L71
	.p2align 4,,10
	.p2align 3
.L61:
	movl	52(%rsp), %ecx
	movl	4(%rsp), %edx
	xorl	%eax, %eax
	movl	$1, %edi
	addl	48(%rsp), %ecx
	addl	(%rsp), %edx
	leaq	.LC1(%rip), %rsi
	addl	56(%rsp), %ecx
	addl	8(%rsp), %edx
	call	__printf_chk@PLT
	movq	88(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L132
	addq	$104, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 32
	popq	%rbp
	.cfi_def_cfa_offset 24
	popq	%r12
	.cfi_def_cfa_offset 16
	popq	%r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L51:
	.cfi_restore_state
	addq	$4, %rax
	addl	$1, %edx
	jmp	.L59
	.p2align 4,,10
	.p2align 3
.L63:
	addq	$4, %rcx
	addl	$1, %esi
	jmp	.L71
.L132:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE24:
	.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
	.p2align 4
	.globl	point_sort
	.type	point_sort, @function
point_sort:
.LFB23:
	.cfi_startproc
	endbr64
	movq	%rdi, %rax
	movl	$2, %edx
	.p2align 4,,10
	.p2align 3
.L13:
	movq	(%rax), %xmm0
	pshufd	$0xe5, %xmm0, %xmm2
	movd	%xmm0, %ecx
	movd	%xmm2, %esi
	pshufd	$225, %xmm0, %xmm1
	cmpl	%ecx, %esi
	jle	.L2
	movq	%xmm1, (%rax)
.L2:
	cmpl	$10, %edx
	je	.L1
	movl	(%rax), %ecx
	movl	8(%rax), %esi
	cmpl	%esi, %ecx
	jge	.L4
	movl	%esi, (%rax)
	movl	%ecx, 8(%rax)
.L4:
	cmpl	$9, %edx
	je	.L5
	movl	(%rax), %ecx
	movl	12(%rax), %esi
	cmpl	%esi, %ecx
	jge	.L6
	movl	%esi, (%rax)
	movl	%ecx, 12(%rax)
.L6:
	cmpl	$8, %edx
	je	.L5
	movl	(%rax), %ecx
	movl	16(%rax), %esi
	cmpl	%esi, %ecx
	jge	.L7
	movl	%esi, (%rax)
	movl	%ecx, 16(%rax)
.L7:
	cmpl	$7, %edx
	je	.L5
	movl	(%rax), %ecx
	movl	20(%rax), %esi
	cmpl	%esi, %ecx
	jge	.L8
	movl	%esi, (%rax)
	movl	%ecx, 20(%rax)
.L8:
	cmpl	$6, %edx
	je	.L5
	movl	(%rax), %ecx
	movl	24(%rax), %esi
	cmpl	%esi, %ecx
	jge	.L9
	movl	%esi, (%rax)
	movl	%ecx, 24(%rax)
.L9:
	cmpl	$5, %edx
	je	.L5
	movl	(%rax), %ecx
	movl	28(%rax), %esi
	cmpl	%esi, %ecx
	jge	.L10
	movl	%esi, (%rax)
	movl	%ecx, 28(%rax)
.L10:
	cmpl	$4, %edx
	je	.L5
	movl	(%rax), %ecx
	movl	32(%rax), %esi
	cmpl	%esi, %ecx
	jge	.L11
	movl	%esi, (%rax)
	movl	%ecx, 32(%rax)
.L11:
	cmpl	$3, %edx
	je	.L5
	movl	(%rax), %ecx
	movl	36(%rax), %esi
	cmpl	%esi, %ecx
	jge	.L12
	movl	%esi, (%rax)
	movl	%ecx, 36(%rax)
.L12:
	addl	$1, %edx
	addq	$4, %rax
	cmpl	$11, %edx
	jne	.L13
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	addq	$4, %rax
	addl	$1, %edx
	jmp	.L13
	.p2align 4,,10
	.p2align 3
.L1:
	ret
	.cfi_endproc
.LFE23:
	.size	point_sort, .-point_sort
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d"
.LC1:
	.string	"%d %d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB24:
	.cfi_startproc
	endbr64
	pushq	%r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	pushq	%r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	leaq	.LC0(%rip), %r12
	pushq	%rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	pushq	%rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	xorl	%ebx, %ebx
	subq	$104, %rsp
	.cfi_def_cfa_offset 144
	movq	%fs:40, %rax
	movq	%rax, 88(%rsp)
	xorl	%eax, %eax
	leaq	8(%rsp), %rbp
	movq	%rsp, %r13
	jmp	.L47
	.p2align 4,,10
	.p2align 3
.L131:
	leaq	0(%r13,%rbx,4), %rsi
	movq	%r12, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
.L45:
	addq	$1, %rbx
	addq	$4, %rbp
.L47:
	cmpq	$9, %rbx
	jbe	.L131
	xorl	%eax, %eax
	movq	%rbp, %rsi
	movq	%r12, %rdi
	call	__isoc99_scanf@PLT
	cmpq	$19, %rbx
	jne	.L45
	movq	%r13, %rax
	movl	$2, %edx
	.p2align 4,,10
	.p2align 3
.L59:
	movq	(%rax), %xmm0
	pshufd	$0xe5, %xmm0, %xmm2
	movd	%xmm0, %ecx
	movd	%xmm2, %esi
	pshufd	$225, %xmm0, %xmm1
	cmpl	%ecx, %esi
	jle	.L48
	movq	%xmm1, (%rax)
.L48:
	cmpl	$10, %edx
	je	.L49
	movl	(%rax), %ecx
	movl	8(%rax), %esi
	cmpl	%esi, %ecx
	jge	.L50
	movl	%esi, (%rax)
	movl	%ecx, 8(%rax)
.L50:
	cmpl	$9, %edx
	je	.L51
	movl	(%rax), %ecx
	movl	12(%rax), %esi
	cmpl	%esi, %ecx
	jge	.L52
	movl	%esi, (%rax)
	movl	%ecx, 12(%rax)
.L52:
	cmpl	$8, %edx
	je	.L51
	movl	(%rax), %ecx
	movl	16(%rax), %esi
	cmpl	%esi, %ecx
	jge	.L53
	movl	%esi, (%rax)
	movl	%ecx, 16(%rax)
.L53:
	cmpl	$7, %edx
	je	.L51
	movl	(%rax), %ecx
	movl	20(%rax), %esi
	cmpl	%esi, %ecx
	jge	.L54
	movl	%esi, (%rax)
	movl	%ecx, 20(%rax)
.L54:
	cmpl	$6, %edx
	je	.L51
	movl	(%rax), %ecx
	movl	24(%rax), %esi
	cmpl	%esi, %ecx
	jge	.L55
	movl	%esi, (%rax)
	movl	%ecx, 24(%rax)
.L55:
	cmpl	$5, %edx
	je	.L51
	movl	(%rax), %ecx
	movl	28(%rax), %esi
	cmpl	%esi, %ecx
	jge	.L56
	movl	%esi, (%rax)
	movl	%ecx, 28(%rax)
.L56:
	cmpl	$4, %edx
	je	.L51
	movl	(%rax), %ecx
	movl	32(%rax), %esi
	cmpl	%esi, %ecx
	jge	.L57
	movl	%esi, (%rax)
	movl	%ecx, 32(%rax)
.L57:
	cmpl	$3, %edx
	je	.L51
	movl	(%rax), %ecx
	movl	36(%rax), %esi
	cmpl	%esi, %ecx
	jge	.L58
	movl	%esi, (%rax)
	movl	%ecx, 36(%rax)
.L58:
	addl	$1, %edx
	addq	$4, %rax
	cmpl	$11, %edx
	jne	.L59
	.p2align 4,,10
	.p2align 3
.L49:
	leaq	48(%rsp), %rcx
	movl	$2, %esi
	.p2align 4,,10
	.p2align 3
.L71:
	movq	(%rcx), %xmm0
	pshufd	$0xe5, %xmm0, %xmm3
	movd	%xmm0, %eax
	movd	%xmm3, %edx
	pshufd	$225, %xmm0, %xmm1
	cmpl	%eax, %edx
	jle	.L60
	movq	%xmm1, (%rcx)
.L60:
	cmpl	$10, %esi
	je	.L61
	movl	(%rcx), %eax
	movl	8(%rcx), %edx
	cmpl	%eax, %edx
	jle	.L62
	movl	%edx, (%rcx)
	movl	%eax, 8(%rcx)
.L62:
	cmpl	$9, %esi
	je	.L63
	movl	(%rcx), %eax
	movl	12(%rcx), %edx
	cmpl	%eax, %edx
	jle	.L64
	movl	%edx, (%rcx)
	movl	%eax, 12(%rcx)
.L64:
	cmpl	$8, %esi
	je	.L63
	movl	(%rcx), %eax
	movl	16(%rcx), %edx
	cmpl	%eax, %edx
	jle	.L65
	movl	%edx, (%rcx)
	movl	%eax, 16(%rcx)
.L65:
	cmpl	$7, %esi
	je	.L63
	movl	(%rcx), %eax
	movl	20(%rcx), %edx
	cmpl	%eax, %edx
	jle	.L66
	movl	%edx, (%rcx)
	movl	%eax, 20(%rcx)
.L66:
	cmpl	$6, %esi
	je	.L63
	movl	(%rcx), %eax
	movl	24(%rcx), %edx
	cmpl	%eax, %edx
	jle	.L67
	movl	%edx, (%rcx)
	movl	%eax, 24(%rcx)
.L67:
	cmpl	$5, %esi
	je	.L63
	movl	(%rcx), %eax
	movl	28(%rcx), %edx
	cmpl	%edx, %eax
	jge	.L68
	movl	%edx, (%rcx)
	movl	%eax, 28(%rcx)
.L68:
	cmpl	$4, %esi
	je	.L63
	movl	(%rcx), %eax
	movl	32(%rcx), %edx
	cmpl	%edx, %eax
	jge	.L69
	movl	%edx, (%rcx)
	movl	%eax, 32(%rcx)
.L69:
	cmpl	$3, %esi
	je	.L63
	movl	(%rcx), %eax
	movl	36(%rcx), %edx
	cmpl	%edx, %eax
	jge	.L70
	movl	%edx, (%rcx)
	movl	%eax, 36(%rcx)
.L70:
	addl	$1, %esi
	addq	$4, %rcx
	cmpl	$11, %esi
	jne	.L71
	.p2align 4,,10
	.p2align 3
.L61:
	movl	52(%rsp), %ecx
	movl	4(%rsp), %edx
	xorl	%eax, %eax
	movl	$1, %edi
	addl	48(%rsp), %ecx
	addl	(%rsp), %edx
	leaq	.LC1(%rip), %rsi
	addl	56(%rsp), %ecx
	addl	8(%rsp), %edx
	call	__printf_chk@PLT
	movq	88(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L132
	addq	$104, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 32
	popq	%rbp
	.cfi_def_cfa_offset 24
	popq	%r12
	.cfi_def_cfa_offset 16
	popq	%r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L51:
	.cfi_restore_state
	addq	$4, %rax
	addl	$1, %edx
	jmp	.L59
	.p2align 4,,10
	.p2align 3
.L63:
	addq	$4, %rcx
	addl	$1, %esi
	jmp	.L71
.L132:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE24:
	.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>

void point_sort(int point_data[])
{

	int i, j, temp;

	for(i = 0; i < 9; i++) {
		for(j = i + 1; j < 10; j++) {
			if(point_data[i] < point_data[j]) {
				temp = point_data[i];
				point_data[i] = point_data[j];
				point_data[j] = temp;
			}
		}
	}

}

int main(void)
{

	int i;
	int W_college[10], K_college[10];

	for(i = 0; i < 20; i++) {
		if(i <= 9) {
			scanf("%d", &W_college[i]);
		}
		else {
			scanf("%d", &K_college[i - 10]);
		}
	}

	point_sort(W_college);
	point_sort(K_college);

	printf("%d %d\n", W_college[0] + W_college[1] + W_college[2], K_college[0] + K_college[1] + K_college[2]);

	return 0;

}
23
23
20
15
15
14
13
9
7
6
25
19
17
17
16
13
12
11
9
5

66 61

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>

void point_sort(int point_data[])
{

	int i, j, temp;

	for(i = 0; i < 9; i++) {
		for(j = i + 1; j < 10; j++) {
			if(point_data[i] < point_data[j]) {
				temp = point_data[i];
				point_data[i] = point_data[j];
				point_data[j] = temp;
			}
		}
	}

}

int main(void)
{

	int i;
	int W_college[10], K_college[10];

	for(i = 0; i < 20; i++) {
		if(i <= 9) {
			scanf("%d", &W_college[i]);
		}
		else {
			scanf("%d", &K_college[i - 10]);
		}
	}

	point_sort(W_college);
	point_sort(K_college);

	printf("%d %d\n", W_college[0] + W_college[1] + W_college[2], K_college[0] + K_college[1] + K_college[2]);

	return 0;

}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.globl	point_sort
	.type	point_sort, @function
point_sort:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	movq	%rdi, -24(%rbp)
	movl	$0, -12(%rbp)
	jmp	.L2
.L6:
	movl	-12(%rbp), %eax
	addl	$1, %eax
	movl	%eax, -8(%rbp)
	jmp	.L3
.L5:
	movl	-12(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	movq	-24(%rbp), %rax
	addq	%rdx, %rax
	movl	(%rax), %edx
	movl	-8(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rcx
	movq	-24(%rbp), %rax
	addq	%rcx, %rax
	movl	(%rax), %eax
	cmpl	%eax, %edx
	jge	.L4
	movl	-12(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	movq	-24(%rbp), %rax
	addq	%rdx, %rax
	movl	(%rax), %eax
	movl	%eax, -4(%rbp)
	movl	-8(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	movq	-24(%rbp), %rax
	addq	%rdx, %rax
	movl	-12(%rbp), %edx
	movslq	%edx, %rdx
	leaq	0(,%rdx,4), %rcx
	movq	-24(%rbp), %rdx
	addq	%rcx, %rdx
	movl	(%rax), %eax
	movl	%eax, (%rdx)
	movl	-8(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	movq	-24(%rbp), %rax
	addq	%rax, %rdx
	movl	-4(%rbp), %eax
	movl	%eax, (%rdx)
.L4:
	addl	$1, -8(%rbp)
.L3:
	cmpl	$9, -8(%rbp)
	jle	.L5
	addl	$1, -12(%rbp)
.L2:
	cmpl	$8, -12(%rbp)
	jle	.L6
	nop
	nop
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	point_sort, .-point_sort
	.section	.rodata
.LC0:
	.string	"%d"
.LC1:
	.string	"%d %d\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB1:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$112, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movl	$0, -100(%rbp)
	jmp	.L8
.L11:
	cmpl	$9, -100(%rbp)
	jg	.L9
	leaq	-96(%rbp), %rdx
	movl	-100(%rbp), %eax
	cltq
	salq	$2, %rax
	addq	%rdx, %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	jmp	.L10
.L9:
	movl	-100(%rbp), %eax
	subl	$10, %eax
	leaq	-48(%rbp), %rdx
	cltq
	salq	$2, %rax
	addq	%rdx, %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
.L10:
	addl	$1, -100(%rbp)
.L8:
	cmpl	$19, -100(%rbp)
	jle	.L11
	leaq	-96(%rbp), %rax
	movq	%rax, %rdi
	call	point_sort
	leaq	-48(%rbp), %rax
	movq	%rax, %rdi
	call	point_sort
	movl	-48(%rbp), %edx
	movl	-44(%rbp), %eax
	addl	%eax, %edx
	movl	-40(%rbp), %eax
	addl	%eax, %edx
	movl	-96(%rbp), %ecx
	movl	-92(%rbp), %eax
	addl	%eax, %ecx
	movl	-88(%rbp), %eax
	addl	%ecx, %eax
	movl	%eax, %esi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L13
	call	__stack_chk_fail@PLT
.L13:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.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
	.globl	point_sort
	.type	point_sort, @function
point_sort:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	movq	%rdi, -24(%rbp)
	movl	$0, -12(%rbp)
	jmp	.L2
.L6:
	movl	-12(%rbp), %eax
	addl	$1, %eax
	movl	%eax, -8(%rbp)
	jmp	.L3
.L5:
	movl	-12(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	movq	-24(%rbp), %rax
	addq	%rdx, %rax
	movl	(%rax), %edx
	movl	-8(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rcx
	movq	-24(%rbp), %rax
	addq	%rcx, %rax
	movl	(%rax), %eax
	cmpl	%eax, %edx
	jge	.L4
	movl	-12(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	movq	-24(%rbp), %rax
	addq	%rdx, %rax
	movl	(%rax), %eax
	movl	%eax, -4(%rbp)
	movl	-8(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	movq	-24(%rbp), %rax
	addq	%rdx, %rax
	movl	-12(%rbp), %edx
	movslq	%edx, %rdx
	leaq	0(,%rdx,4), %rcx
	movq	-24(%rbp), %rdx
	addq	%rcx, %rdx
	movl	(%rax), %eax
	movl	%eax, (%rdx)
	movl	-8(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	movq	-24(%rbp), %rax
	addq	%rax, %rdx
	movl	-4(%rbp), %eax
	movl	%eax, (%rdx)
.L4:
	addl	$1, -8(%rbp)
.L3:
	cmpl	$9, -8(%rbp)
	jle	.L5
	addl	$1, -12(%rbp)
.L2:
	cmpl	$8, -12(%rbp)
	jle	.L6
	nop
	nop
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	point_sort, .-point_sort
	.section	.rodata
.LC0:
	.string	"%d"
.LC1:
	.string	"%d %d\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB1:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$112, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movl	$0, -100(%rbp)
	jmp	.L8
.L11:
	cmpl	$9, -100(%rbp)
	jg	.L9
	leaq	-96(%rbp), %rdx
	movl	-100(%rbp), %eax
	cltq
	salq	$2, %rax
	addq	%rdx, %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	jmp	.L10
.L9:
	movl	-100(%rbp), %eax
	subl	$10, %eax
	leaq	-48(%rbp), %rdx
	cltq
	salq	$2, %rax
	addq	%rdx, %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
.L10:
	addl	$1, -100(%rbp)
.L8:
	cmpl	$19, -100(%rbp)
	jle	.L11
	leaq	-96(%rbp), %rax
	movq	%rax, %rdi
	call	point_sort
	leaq	-48(%rbp), %rax
	movq	%rax, %rdi
	call	point_sort
	movl	-48(%rbp), %edx
	movl	-44(%rbp), %eax
	addl	%eax, %edx
	movl	-40(%rbp), %eax
	addl	%eax, %edx
	movl	-96(%rbp), %ecx
	movl	-92(%rbp), %eax
	addl	%eax, %ecx
	movl	-88(%rbp), %eax
	addl	%ecx, %eax
	movl	%eax, %esi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L13
	call	__stack_chk_fail@PLT
.L13:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.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:
