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

```c
struct P{
	float t;
	int z;
}n[24],m[18];
M(float*a,float*b){
	return*a>*b?1:-1;
}
D(struct P*p){
	printf("%d %.2f\n",p->z,p->t);
}
main(i){
	for(i=0;i<24;i++)
		scanf("%d%f",&n[i].z,&n[i].t);
	for(i=0;i<3;i++){
		qsort(n+i*8,8,sizeof(*n),M);
		D(n+i*8);
		D(n+i*8+1);
		memcpy(m+i*6,n+i*8+2,sizeof(*n)*6);
	}
	qsort(m,18,sizeof(*n),M);
	D(m);
	D(m+1);
	exit(0);
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.globl	n
	.bss
	.align 32
	.type	n, @object
	.size	n, 192
n:
	.zero	192
	.globl	m
	.align 32
	.type	m, @object
	.size	m, 144
m:
	.zero	144
	.text
	.globl	M
	.type	M, @function
M:
.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, -8(%rbp)
	movq	%rsi, -16(%rbp)
	movq	-8(%rbp), %rax
	movss	(%rax), %xmm0
	movq	-16(%rbp), %rax
	movss	(%rax), %xmm1
	comiss	%xmm1, %xmm0
	jbe	.L7
	movl	$1, %eax
	jmp	.L5
.L7:
	movl	$-1, %eax
.L5:
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	M, .-M
	.section	.rodata
.LC0:
	.string	"%d %.2f\n"
	.text
	.globl	D
	.type	D, @function
D:
.LFB1:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$16, %rsp
	movq	%rdi, -8(%rbp)
	movq	-8(%rbp), %rax
	movss	(%rax), %xmm0
	pxor	%xmm1, %xmm1
	cvtss2sd	%xmm0, %xmm1
	movq	%xmm1, %rdx
	movq	-8(%rbp), %rax
	movl	4(%rax), %eax
	movq	%rdx, %xmm0
	movl	%eax, %esi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$1, %eax
	call	printf@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	D, .-D
	.section	.rodata
.LC1:
	.string	"%d%f"
	.text
	.globl	main
	.type	main, @function
main:
.LFB2:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$16, %rsp
	movl	%edi, -4(%rbp)
	movl	$0, -4(%rbp)
	jmp	.L10
.L11:
	movl	-4(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rdx
	leaq	n(%rip), %rax
	addq	%rax, %rdx
	movl	-4(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rcx
	leaq	n(%rip), %rax
	addq	%rcx, %rax
	addq	$4, %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	scanf@PLT
	addl	$1, -4(%rbp)
.L10:
	cmpl	$23, -4(%rbp)
	jle	.L11
	movl	$0, -4(%rbp)
	jmp	.L12
.L13:
	movl	-4(%rbp), %eax
	sall	$3, %eax
	cltq
	leaq	0(,%rax,8), %rdx
	leaq	n(%rip), %rax
	addq	%rdx, %rax
	leaq	M(%rip), %rdx
	movq	%rdx, %rcx
	movl	$8, %edx
	movl	$8, %esi
	movq	%rax, %rdi
	movl	$0, %eax
	call	qsort@PLT
	movl	-4(%rbp), %eax
	sall	$3, %eax
	cltq
	leaq	0(,%rax,8), %rdx
	leaq	n(%rip), %rax
	addq	%rdx, %rax
	movq	%rax, %rdi
	call	D
	movl	-4(%rbp), %eax
	sall	$3, %eax
	cltq
	addq	$1, %rax
	leaq	0(,%rax,8), %rdx
	leaq	n(%rip), %rax
	addq	%rdx, %rax
	movq	%rax, %rdi
	call	D
	movl	-4(%rbp), %eax
	sall	$3, %eax
	cltq
	addq	$2, %rax
	leaq	0(,%rax,8), %rdx
	leaq	n(%rip), %rax
	leaq	(%rdx,%rax), %rcx
	movl	-4(%rbp), %edx
	movl	%edx, %eax
	addl	%eax, %eax
	addl	%edx, %eax
	addl	%eax, %eax
	cltq
	leaq	0(,%rax,8), %rdx
	leaq	m(%rip), %rax
	addq	%rdx, %rax
	movl	$48, %edx
	movq	%rcx, %rsi
	movq	%rax, %rdi
	call	memcpy@PLT
	addl	$1, -4(%rbp)
.L12:
	cmpl	$2, -4(%rbp)
	jle	.L13
	leaq	M(%rip), %rax
	movq	%rax, %rcx
	movl	$8, %edx
	movl	$18, %esi
	leaq	m(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	qsort@PLT
	leaq	m(%rip), %rax
	movq	%rax, %rdi
	call	D
	leaq	8+m(%rip), %rax
	movq	%rax, %rdi
	call	D
	movl	$0, %edi
	call	exit@PLT
	.cfi_endproc
.LFE2:
	.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	M
	.type	M, @function
M:
.LFB0:
	.cfi_startproc
	endbr64
	movss	(%rdi), %xmm0
	xorl	%eax, %eax
	comiss	(%rsi), %xmm0
	seta	%al
	leal	-1(%rax,%rax), %eax
	ret
	.cfi_endproc
.LFE0:
	.size	M, .-M
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d %.2f\n"
	.text
	.p2align 4
	.globl	D
	.type	D, @function
D:
.LFB1:
	.cfi_startproc
	endbr64
	movl	4(%rdi), %esi
	pxor	%xmm0, %xmm0
	movl	$1, %eax
	cvtss2sd	(%rdi), %xmm0
	leaq	.LC0(%rip), %rdi
	jmp	printf@PLT
	.cfi_endproc
.LFE1:
	.size	D, .-D
	.section	.rodata.str1.1
.LC1:
	.string	"%d%f"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB2:
	.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
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	leaq	.LC1(%rip), %r12
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	leaq	4+n(%rip), %rbx
	leaq	-4(%rbx), %rbp
	leaq	192(%rbx), %r13
	subq	$8, %rsp
	.cfi_def_cfa_offset 64
	.p2align 4,,10
	.p2align 3
.L7:
	leaq	-4(%rbx), %rdx
	movq	%rbx, %rsi
	movq	%r12, %rdi
	xorl	%eax, %eax
	call	scanf@PLT
	addq	$8, %rbx
	cmpq	%rbx, %r13
	jne	.L7
	leaq	m(%rip), %r14
	leaq	192+n(%rip), %r13
	movq	%r14, %rbx
	leaq	M(%rip), %r15
	leaq	.LC0(%rip), %r12
.L8:
	movq	%r15, %rcx
	movl	$8, %edx
	movq	%rbp, %rdi
	movl	$8, %esi
	xorl	%eax, %eax
	addq	$64, %rbp
	addq	$48, %rbx
	call	qsort@PLT
	movl	-60(%rbp), %esi
	movq	%r12, %rdi
	pxor	%xmm0, %xmm0
	movl	$1, %eax
	cvtss2sd	-64(%rbp), %xmm0
	call	printf@PLT
	movl	-52(%rbp), %esi
	pxor	%xmm0, %xmm0
	movq	%r12, %rdi
	movl	$1, %eax
	cvtss2sd	-56(%rbp), %xmm0
	call	printf@PLT
	movdqu	-48(%rbp), %xmm1
	movdqu	-32(%rbp), %xmm2
	movdqu	-16(%rbp), %xmm3
	movaps	%xmm1, -48(%rbx)
	movaps	%xmm2, -32(%rbx)
	movaps	%xmm3, -16(%rbx)
	cmpq	%rbp, %r13
	jne	.L8
	movq	%r15, %rcx
	movl	$8, %edx
	movl	$18, %esi
	movq	%r14, %rdi
	xorl	%eax, %eax
	call	qsort@PLT
	movl	4+m(%rip), %esi
	movq	%r12, %rdi
	pxor	%xmm0, %xmm0
	movl	$1, %eax
	cvtss2sd	m(%rip), %xmm0
	call	printf@PLT
	movl	12+m(%rip), %esi
	movq	%r12, %rdi
	pxor	%xmm0, %xmm0
	movl	$1, %eax
	cvtss2sd	8+m(%rip), %xmm0
	call	printf@PLT
	xorl	%edi, %edi
	call	exit@PLT
	.cfi_endproc
.LFE2:
	.size	main, .-main
	.globl	m
	.bss
	.align 32
	.type	m, @object
	.size	m, 144
m:
	.zero	144
	.globl	n
	.align 32
	.type	n, @object
	.size	n, 192
n:
	.zero	192
	.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	M
	.type	M, @function
M:
.LFB0:
	.cfi_startproc
	endbr64
	movss	(%rdi), %xmm0
	xorl	%eax, %eax
	comiss	(%rsi), %xmm0
	seta	%al
	leal	-1(%rax,%rax), %eax
	ret
	.cfi_endproc
.LFE0:
	.size	M, .-M
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d %.2f\n"
	.text
	.p2align 4
	.globl	D
	.type	D, @function
D:
.LFB1:
	.cfi_startproc
	endbr64
	movl	4(%rdi), %esi
	pxor	%xmm0, %xmm0
	movl	$1, %eax
	cvtss2sd	(%rdi), %xmm0
	leaq	.LC0(%rip), %rdi
	jmp	printf@PLT
	.cfi_endproc
.LFE1:
	.size	D, .-D
	.section	.rodata.str1.1
.LC1:
	.string	"%d%f"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB2:
	.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
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	leaq	.LC1(%rip), %r12
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	leaq	4+n(%rip), %rbx
	leaq	-4(%rbx), %rbp
	leaq	192(%rbx), %r13
	subq	$8, %rsp
	.cfi_def_cfa_offset 64
	.p2align 4,,10
	.p2align 3
.L7:
	leaq	-4(%rbx), %rdx
	movq	%rbx, %rsi
	movq	%r12, %rdi
	xorl	%eax, %eax
	call	scanf@PLT
	addq	$8, %rbx
	cmpq	%rbx, %r13
	jne	.L7
	leaq	m(%rip), %r14
	leaq	192+n(%rip), %r13
	movq	%r14, %rbx
	leaq	M(%rip), %r15
	leaq	.LC0(%rip), %r12
.L8:
	movq	%r15, %rcx
	movl	$8, %edx
	movq	%rbp, %rdi
	movl	$8, %esi
	xorl	%eax, %eax
	addq	$64, %rbp
	addq	$48, %rbx
	call	qsort@PLT
	movl	-60(%rbp), %esi
	movq	%r12, %rdi
	pxor	%xmm0, %xmm0
	movl	$1, %eax
	cvtss2sd	-64(%rbp), %xmm0
	call	printf@PLT
	movl	-52(%rbp), %esi
	pxor	%xmm0, %xmm0
	movq	%r12, %rdi
	movl	$1, %eax
	cvtss2sd	-56(%rbp), %xmm0
	call	printf@PLT
	movdqu	-48(%rbp), %xmm1
	movdqu	-32(%rbp), %xmm2
	movdqu	-16(%rbp), %xmm3
	movaps	%xmm1, -48(%rbx)
	movaps	%xmm2, -32(%rbx)
	movaps	%xmm3, -16(%rbx)
	cmpq	%rbp, %r13
	jne	.L8
	movq	%r15, %rcx
	movl	$8, %edx
	movl	$18, %esi
	movq	%r14, %rdi
	xorl	%eax, %eax
	call	qsort@PLT
	movl	4+m(%rip), %esi
	movq	%r12, %rdi
	pxor	%xmm0, %xmm0
	movl	$1, %eax
	cvtss2sd	m(%rip), %xmm0
	call	printf@PLT
	movl	12+m(%rip), %esi
	movq	%r12, %rdi
	pxor	%xmm0, %xmm0
	movl	$1, %eax
	cvtss2sd	8+m(%rip), %xmm0
	call	printf@PLT
	xorl	%edi, %edi
	call	exit@PLT
	.cfi_endproc
.LFE2:
	.size	main, .-main
	.globl	m
	.bss
	.align 32
	.type	m, @object
	.size	m, 144
m:
	.zero	144
	.globl	n
	.align 32
	.type	n, @object
	.size	n, 192
n:
	.zero	192
	.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:

struct P{
	float t;
	int z;
}n[24],m[18];
M(float*a,float*b){
	return*a>*b?1:-1;
}
D(struct P*p){
	printf("%d %.2f\n",p->z,p->t);
}
main(i){
	for(i=0;i<24;i++)
		scanf("%d%f",&n[i].z,&n[i].t);
	for(i=0;i<3;i++){
		qsort(n+i*8,8,sizeof(*n),M);
		D(n+i*8);
		D(n+i*8+1);
		memcpy(m+i*6,n+i*8+2,sizeof(*n)*6);
	}
	qsort(m,18,sizeof(*n),M);
	D(m);
	D(m+1);
	exit(0);
}
18 25.46
16 26.23
3 23.00
10 24.79
5 22.88
11 23.87
19 23.90
1 25.11
23 23.88
4 23.46
7 24.12
12 22.91
13 21.99
14 22.86
21 23.12
9 24.09
17 22.51
22 23.49
6 23.02
20 22.23
8 21.89
15 24.14
8 23.77
2 23.42
 18 25.46
16 26.23
3 23.00
10 24.79
5 22.88
11 23.87
19 23.90
1 25.11
23 23.88
4 23.46
7 24.12
12 22.91
13 21.99
14 23.479546478837634
21 23.12
9 24.09
17 22.51
22 23.49
6 23.02
20 22.23
8 21.89
15 24.14
8 23.77
2 23.42
 18 25.46
16 26.23
3 23.00
10 24.79
5 22.88
11 23.87
19 23.90
1 25.11
23 23.88
4 23.46
7 24.12
12 22.91
13 21.99
14 22.86
8 23.12
9 24.09
17 22.51
22 23.49
6 23.02
20 22.23
24 21.89
15 24.14
8 23.77
2 23.42
 18 25.46
16 26.23
3 23.00
10 24.79
5 22.88
11 23.87
19 23.90
1 25.11
23 23.88
4 23.46
7 24.12
12 23.88090204379987
13 21.99
14 22.86
8 23.12
9 24.09
17 22.51
22 23.49
6 23.02
20 22.23
24 21.89
15 24.14
8 23.77
2 23.42
 27 25.46
16 26.23
3 23.00
10 24.79
5 22.88
11 23.87
19 23.90
2 25.11
23 23.88
4 23.46
7 24.12
12 22.91
13 21.99
14 22.86
21 23.12
9 24.09
26 22.51
22 23.49
6 23.02
20 22.23
8 21.89
15 24.14
8 23.77
2 23.42
 18 26.1511190671642
16 26.23
3 23.00
10 24.79
5 22.88
11 23.87
19 23.90
1 25.11
23 23.88
4 23.844314504002764
7 24.12
12 23.88090204379987
13 21.99
14 22.86
8 23.12
9 24.09
17 22.51
22 23.49
6 23.02
20 22.23
8 21.89
15 24.14
8 23.77
2 23.42
 18 25.46
16 26.23
3 23.00
10 24.79
7 22.88
11 23.87
19 23.90
1 25.11
24 23.88
4 23.46
7 24.12
12 22.91
13 21.99
14 22.86
21 23.12
0 24.09
17 22.51
22 23.49
6 23.02
20 22.23
24 21.89
15 24.14
8 23.77
2 23.42
 18 25.46
16 26.23
3 23.00
10 24.79
5 22.88
14 23.87
19 23.90
1 25.11
23 23.88
4 23.46
7 24.297502254604733
12 23.88090204379987
13 21.99
14 23.678873066875145
8 23.12
9 24.09
17 22.51
22 23.49
6 23.02
20 22.23
24 21.89
15 24.14
8 23.77
2 23.42
 18 26.1511190671642
16 26.23
3 23.00
10 24.79
5 22.88
11 23.87
19 23.90
1 25.11
23 23.88
4 23.844314504002764
7 24.12
12 23.88090204379987
5 21.99
14 22.86
8 23.12
9 24.09
17 22.51
22 23.49
6 23.02
20 22.23
8 21.89
15 24.14
8 23.77
2 23.42
 18 25.46
16 26.23
3 23.00
10 24.79
5 22.88
11 23.87
19 23.90
1 25.11
23 24.38005748103999
4 24.19242299546192
7 24.126116190100998
12 22.91
13 21.99
14 23.479546478837634
21 23.12
9 24.09
17 23.500621169356034
22 23.49
6 23.02
20 22.23
8 21.89
15 24.14
8 23.77
2 23.42

5 22.88
3 23.00
13 21.99
14 22.86
8 21.89
20 22.23
17 22.51
12 22.91
 5 22.88
3 23.00
13 21.99
12 22.91
8 21.89
20 22.23
17 22.51
6 23.02
 5 22.88
3 23.00
13 21.99
14 22.86
24 21.89
20 22.23
17 22.51
12 22.91
 5 22.88
3 23.00
13 21.99
14 22.86
24 21.89
20 22.23
17 22.51
6 23.02
 5 22.88
3 23.00
13 21.99
14 22.86
8 21.89
20 22.23
26 22.51
12 22.91
 5 22.88
3 23.00
13 21.99
14 22.86
8 21.89
20 22.23
17 22.51
6 23.02
 7 22.88
3 23.00
13 21.99
14 22.86
24 21.89
20 22.23
17 22.51
12 22.91
 5 22.88
3 23.00
13 21.99
8 23.12
24 21.89
20 22.23
17 22.51
6 23.02
 5 22.88
3 23.00
5 21.99
14 22.86
8 21.89
20 22.23
17 22.51
6 23.02
 5 22.88
3 23.00
13 21.99
12 22.91
8 21.89
20 22.23
6 23.02
21 23.12

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

```c
struct P{
	float t;
	int z;
}n[24],m[18];
M(float*a,float*b){
	return*a>*b?1:-1;
}
D(struct P*p){
	printf("%d %.2f\n",p->z,p->t);
}
main(i){
	for(i=0;i<24;i++)
		scanf("%d%f",&n[i].z,&n[i].t);
	for(i=0;i<3;i++){
		qsort(n+i*8,8,sizeof(*n),M);
		D(n+i*8);
		D(n+i*8+1);
		memcpy(m+i*6,n+i*8+2,sizeof(*n)*6);
	}
	qsort(m,18,sizeof(*n),M);
	D(m);
	D(m+1);
	exit(0);
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.globl	n
	.bss
	.align 32
	.type	n, @object
	.size	n, 192
n:
	.zero	192
	.globl	m
	.align 32
	.type	m, @object
	.size	m, 144
m:
	.zero	144
	.text
	.globl	M
	.type	M, @function
M:
.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, -8(%rbp)
	movq	%rsi, -16(%rbp)
	movq	-8(%rbp), %rax
	movss	(%rax), %xmm0
	movq	-16(%rbp), %rax
	movss	(%rax), %xmm1
	comiss	%xmm1, %xmm0
	jbe	.L7
	movl	$1, %eax
	jmp	.L5
.L7:
	movl	$-1, %eax
.L5:
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	M, .-M
	.section	.rodata
.LC0:
	.string	"%d %.2f\n"
	.text
	.globl	D
	.type	D, @function
D:
.LFB1:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$16, %rsp
	movq	%rdi, -8(%rbp)
	movq	-8(%rbp), %rax
	movss	(%rax), %xmm0
	pxor	%xmm1, %xmm1
	cvtss2sd	%xmm0, %xmm1
	movq	%xmm1, %rdx
	movq	-8(%rbp), %rax
	movl	4(%rax), %eax
	movq	%rdx, %xmm0
	movl	%eax, %esi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$1, %eax
	call	printf@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	D, .-D
	.section	.rodata
.LC1:
	.string	"%d%f"
	.text
	.globl	main
	.type	main, @function
main:
.LFB2:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$16, %rsp
	movl	%edi, -4(%rbp)
	movl	$0, -4(%rbp)
	jmp	.L10
.L11:
	movl	-4(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rdx
	leaq	n(%rip), %rax
	addq	%rax, %rdx
	movl	-4(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rcx
	leaq	n(%rip), %rax
	addq	%rcx, %rax
	addq	$4, %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	scanf@PLT
	addl	$1, -4(%rbp)
.L10:
	cmpl	$23, -4(%rbp)
	jle	.L11
	movl	$0, -4(%rbp)
	jmp	.L12
.L13:
	movl	-4(%rbp), %eax
	sall	$3, %eax
	cltq
	leaq	0(,%rax,8), %rdx
	leaq	n(%rip), %rax
	addq	%rdx, %rax
	leaq	M(%rip), %rdx
	movq	%rdx, %rcx
	movl	$8, %edx
	movl	$8, %esi
	movq	%rax, %rdi
	movl	$0, %eax
	call	qsort@PLT
	movl	-4(%rbp), %eax
	sall	$3, %eax
	cltq
	leaq	0(,%rax,8), %rdx
	leaq	n(%rip), %rax
	addq	%rdx, %rax
	movq	%rax, %rdi
	call	D
	movl	-4(%rbp), %eax
	sall	$3, %eax
	cltq
	addq	$1, %rax
	leaq	0(,%rax,8), %rdx
	leaq	n(%rip), %rax
	addq	%rdx, %rax
	movq	%rax, %rdi
	call	D
	movl	-4(%rbp), %eax
	sall	$3, %eax
	cltq
	addq	$2, %rax
	leaq	0(,%rax,8), %rdx
	leaq	n(%rip), %rax
	leaq	(%rdx,%rax), %rcx
	movl	-4(%rbp), %edx
	movl	%edx, %eax
	addl	%eax, %eax
	addl	%edx, %eax
	addl	%eax, %eax
	cltq
	leaq	0(,%rax,8), %rdx
	leaq	m(%rip), %rax
	addq	%rdx, %rax
	movl	$48, %edx
	movq	%rcx, %rsi
	movq	%rax, %rdi
	call	memcpy@PLT
	addl	$1, -4(%rbp)
.L12:
	cmpl	$2, -4(%rbp)
	jle	.L13
	leaq	M(%rip), %rax
	movq	%rax, %rcx
	movl	$8, %edx
	movl	$18, %esi
	leaq	m(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	qsort@PLT
	leaq	m(%rip), %rax
	movq	%rax, %rdi
	call	D
	leaq	8+m(%rip), %rax
	movq	%rax, %rdi
	call	D
	movl	$0, %edi
	call	exit@PLT
	.cfi_endproc
.LFE2:
	.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	n
	.bss
	.align 32
	.type	n, @object
	.size	n, 192
n:
	.zero	192
	.globl	m
	.align 32
	.type	m, @object
	.size	m, 144
m:
	.zero	144
	.text
	.globl	M
	.type	M, @function
M:
.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, -8(%rbp)
	movq	%rsi, -16(%rbp)
	movq	-8(%rbp), %rax
	movss	(%rax), %xmm0
	movq	-16(%rbp), %rax
	movss	(%rax), %xmm1
	comiss	%xmm1, %xmm0
	jbe	.L7
	movl	$1, %eax
	jmp	.L5
.L7:
	movl	$-1, %eax
.L5:
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	M, .-M
	.section	.rodata
.LC0:
	.string	"%d %.2f\n"
	.text
	.globl	D
	.type	D, @function
D:
.LFB1:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$16, %rsp
	movq	%rdi, -8(%rbp)
	movq	-8(%rbp), %rax
	movss	(%rax), %xmm0
	pxor	%xmm1, %xmm1
	cvtss2sd	%xmm0, %xmm1
	movq	%xmm1, %rdx
	movq	-8(%rbp), %rax
	movl	4(%rax), %eax
	movq	%rdx, %xmm0
	movl	%eax, %esi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$1, %eax
	call	printf@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	D, .-D
	.section	.rodata
.LC1:
	.string	"%d%f"
	.text
	.globl	main
	.type	main, @function
main:
.LFB2:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$16, %rsp
	movl	%edi, -4(%rbp)
	movl	$0, -4(%rbp)
	jmp	.L10
.L11:
	movl	-4(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rdx
	leaq	n(%rip), %rax
	addq	%rax, %rdx
	movl	-4(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rcx
	leaq	n(%rip), %rax
	addq	%rcx, %rax
	addq	$4, %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	scanf@PLT
	addl	$1, -4(%rbp)
.L10:
	cmpl	$23, -4(%rbp)
	jle	.L11
	movl	$0, -4(%rbp)
	jmp	.L12
.L13:
	movl	-4(%rbp), %eax
	sall	$3, %eax
	cltq
	leaq	0(,%rax,8), %rdx
	leaq	n(%rip), %rax
	addq	%rdx, %rax
	leaq	M(%rip), %rdx
	movq	%rdx, %rcx
	movl	$8, %edx
	movl	$8, %esi
	movq	%rax, %rdi
	movl	$0, %eax
	call	qsort@PLT
	movl	-4(%rbp), %eax
	sall	$3, %eax
	cltq
	leaq	0(,%rax,8), %rdx
	leaq	n(%rip), %rax
	addq	%rdx, %rax
	movq	%rax, %rdi
	call	D
	movl	-4(%rbp), %eax
	sall	$3, %eax
	cltq
	addq	$1, %rax
	leaq	0(,%rax,8), %rdx
	leaq	n(%rip), %rax
	addq	%rdx, %rax
	movq	%rax, %rdi
	call	D
	movl	-4(%rbp), %eax
	sall	$3, %eax
	cltq
	addq	$2, %rax
	leaq	0(,%rax,8), %rdx
	leaq	n(%rip), %rax
	leaq	(%rdx,%rax), %rcx
	movl	-4(%rbp), %edx
	movl	%edx, %eax
	addl	%eax, %eax
	addl	%edx, %eax
	addl	%eax, %eax
	cltq
	leaq	0(,%rax,8), %rdx
	leaq	m(%rip), %rax
	addq	%rdx, %rax
	movl	$48, %edx
	movq	%rcx, %rsi
	movq	%rax, %rdi
	call	memcpy@PLT
	addl	$1, -4(%rbp)
.L12:
	cmpl	$2, -4(%rbp)
	jle	.L13
	leaq	M(%rip), %rax
	movq	%rax, %rcx
	movl	$8, %edx
	movl	$18, %esi
	leaq	m(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	qsort@PLT
	leaq	m(%rip), %rax
	movq	%rax, %rdi
	call	D
	leaq	8+m(%rip), %rax
	movq	%rax, %rdi
	call	D
	movl	$0, %edi
	call	exit@PLT
	.cfi_endproc
.LFE2:
	.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:
