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 <string.h>

int test(float x){
	if (x >= 1.1) return 0;
	if (x < 1.1 && x >= 0.6) return 1;
	if (x < 0.6 && x >= 0.2) return 2;
	if (x < 0.2) return 3;
}

int main(void)
{
	float l, r; 
	int i;
	int a, b;
	int left[5], right[5];
	memset (left, 0, sizeof(left));
	memset (right, 0, sizeof(right));
	 

	
	while (scanf("%f%f", &l, &r) != EOF){
		a = test(l);
		b = test(r);
		left[a]++;
		right[b]++;
	}
	for (i = 0; i < 4; i++){
		printf("%d %d\n", left[i], right[i]);
	}
	


	return (0);
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.globl	test
	.type	test, @function
test:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	movss	%xmm0, -4(%rbp)
	pxor	%xmm0, %xmm0
	cvtss2sd	-4(%rbp), %xmm0
	comisd	.LC0(%rip), %xmm0
	jb	.L19
	movl	$0, %eax
	jmp	.L1
.L19:
	pxor	%xmm1, %xmm1
	cvtss2sd	-4(%rbp), %xmm1
	movsd	.LC0(%rip), %xmm0
	comisd	%xmm1, %xmm0
	jbe	.L5
	pxor	%xmm0, %xmm0
	cvtss2sd	-4(%rbp), %xmm0
	comisd	.LC1(%rip), %xmm0
	jb	.L5
	movl	$1, %eax
	jmp	.L1
.L5:
	pxor	%xmm1, %xmm1
	cvtss2sd	-4(%rbp), %xmm1
	movsd	.LC1(%rip), %xmm0
	comisd	%xmm1, %xmm0
	jbe	.L8
	pxor	%xmm0, %xmm0
	cvtss2sd	-4(%rbp), %xmm0
	comisd	.LC2(%rip), %xmm0
	jb	.L8
	movl	$2, %eax
	jmp	.L1
.L8:
	pxor	%xmm1, %xmm1
	cvtss2sd	-4(%rbp), %xmm1
	movsd	.LC2(%rip), %xmm0
	comisd	%xmm1, %xmm0
	jbe	.L20
	movl	$3, %eax
	jmp	.L1
.L20:
.L1:
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	test, .-test
	.section	.rodata
.LC3:
	.string	"%f%f"
.LC4:
	.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	$96, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-64(%rbp), %rax
	movl	$20, %edx
	movl	$0, %esi
	movq	%rax, %rdi
	call	memset@PLT
	leaq	-32(%rbp), %rax
	movl	$20, %edx
	movl	$0, %esi
	movq	%rax, %rdi
	call	memset@PLT
	jmp	.L22
.L23:
	movl	-84(%rbp), %eax
	movd	%eax, %xmm0
	call	test
	movl	%eax, -72(%rbp)
	movl	-80(%rbp), %eax
	movd	%eax, %xmm0
	call	test
	movl	%eax, -68(%rbp)
	movl	-72(%rbp), %eax
	cltq
	movl	-64(%rbp,%rax,4), %eax
	leal	1(%rax), %edx
	movl	-72(%rbp), %eax
	cltq
	movl	%edx, -64(%rbp,%rax,4)
	movl	-68(%rbp), %eax
	cltq
	movl	-32(%rbp,%rax,4), %eax
	leal	1(%rax), %edx
	movl	-68(%rbp), %eax
	cltq
	movl	%edx, -32(%rbp,%rax,4)
.L22:
	leaq	-80(%rbp), %rdx
	leaq	-84(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC3(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	cmpl	$-1, %eax
	jne	.L23
	movl	$0, -76(%rbp)
	jmp	.L24
.L25:
	movl	-76(%rbp), %eax
	cltq
	movl	-32(%rbp,%rax,4), %edx
	movl	-76(%rbp), %eax
	cltq
	movl	-64(%rbp,%rax,4), %eax
	movl	%eax, %esi
	leaq	.LC4(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	addl	$1, -76(%rbp)
.L24:
	cmpl	$3, -76(%rbp)
	jle	.L25
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L27
	call	__stack_chk_fail@PLT
.L27:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC0:
	.long	-1717986918
	.long	1072798105
	.align 8
.LC1:
	.long	858993459
	.long	1071854387
	.align 8
.LC2:
	.long	-1717986918
	.long	1070176665
	.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	test
	.type	test, @function
test:
.LFB35:
	.cfi_startproc
	endbr64
	movsd	.LC0(%rip), %xmm1
	xorl	%eax, %eax
	cvtss2sd	%xmm0, %xmm0
	comisd	%xmm1, %xmm0
	jnb	.L1
	comisd	%xmm0, %xmm1
	movsd	.LC1(%rip), %xmm1
	jbe	.L3
	comisd	%xmm1, %xmm0
	movl	$1, %eax
	jnb	.L1
.L3:
	comisd	%xmm0, %xmm1
	movsd	.LC2(%rip), %xmm1
	jbe	.L5
	comisd	%xmm1, %xmm0
	movl	$2, %eax
	jnb	.L1
.L5:
	movl	$3, %eax
	ret
	.p2align 4,,10
	.p2align 3
.L1:
	ret
	.cfi_endproc
.LFE35:
	.size	test, .-test
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC3:
	.string	"%f%f"
.LC4:
	.string	"%d %d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB36:
	.cfi_startproc
	endbr64
	pushq	%r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	pxor	%xmm0, %xmm0
	pushq	%r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	pushq	%r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	leaq	.LC3(%rip), %r12
	pushq	%rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	pushq	%rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	subq	$80, %rsp
	.cfi_def_cfa_offset 128
	movq	%fs:40, %rax
	movq	%rax, 72(%rsp)
	xorl	%eax, %eax
	leaq	12(%rsp), %r14
	movaps	%xmm0, 16(%rsp)
	leaq	8(%rsp), %r13
	movl	$0, 32(%rsp)
	movl	$0, 64(%rsp)
	movaps	%xmm0, 48(%rsp)
	jmp	.L15
	.p2align 4,,10
	.p2align 3
.L46:
	comisd	%xmm0, %xmm1
	movsd	.LC1(%rip), %xmm2
	jbe	.L23
	comisd	%xmm2, %xmm0
	jnb	.L35
.L23:
	comisd	%xmm0, %xmm2
	movsd	.LC2(%rip), %xmm2
	jbe	.L25
	comisd	%xmm2, %xmm0
	jnb	.L36
.L25:
	ucomisd	%xmm0, %xmm2
	movl	$3, %eax
	cmova	%eax, %ebx
.L22:
	movslq	%ebp, %rax
	addl	$1, 16(%rsp,%rax,4)
	movslq	%ebx, %rax
	addl	$1, 48(%rsp,%rax,4)
.L15:
	xorl	%eax, %eax
	movq	%r14, %rdx
	movq	%r13, %rsi
	movq	%r12, %rdi
	call	__isoc99_scanf@PLT
	cmpl	$-1, %eax
	movq	.LC0(%rip), %rax
	movq	%rax, %xmm1
	je	.L45
	pxor	%xmm0, %xmm0
	cvtss2sd	8(%rsp), %xmm0
	comisd	%xmm1, %xmm0
	jnb	.L31
	comisd	%xmm0, %xmm1
	movsd	.LC1(%rip), %xmm2
	jbe	.L17
	movq	.LC1(%rip), %rax
	movq	%rax, %xmm2
	comisd	%xmm2, %xmm0
	jnb	.L32
.L17:
	comisd	%xmm0, %xmm2
	movq	.LC2(%rip), %rax
	movq	%rax, %xmm2
	jbe	.L19
	comisd	%xmm2, %xmm0
	jnb	.L33
.L19:
	ucomisd	%xmm0, %xmm2
	movl	$3, %eax
	cmova	%eax, %ebp
.L16:
	pxor	%xmm0, %xmm0
	cvtss2sd	12(%rsp), %xmm0
	comisd	%xmm1, %xmm0
	jb	.L46
	xorl	%ebx, %ebx
	jmp	.L22
	.p2align 4,,10
	.p2align 3
.L31:
	xorl	%ebp, %ebp
	jmp	.L16
	.p2align 4,,10
	.p2align 3
.L45:
	xorl	%ebx, %ebx
	leaq	48(%rsp), %r13
	leaq	16(%rsp), %r12
	leaq	.LC4(%rip), %rbp
.L29:
	movl	0(%r13,%rbx), %ecx
	movl	(%r12,%rbx), %edx
	movq	%rbp, %rsi
	xorl	%eax, %eax
	movl	$1, %edi
	addq	$4, %rbx
	call	__printf_chk@PLT
	cmpq	$16, %rbx
	jne	.L29
	movq	72(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L47
	addq	$80, %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
	.p2align 4,,10
	.p2align 3
.L32:
	.cfi_restore_state
	movl	$1, %ebp
	jmp	.L16
	.p2align 4,,10
	.p2align 3
.L35:
	movl	$1, %ebx
	jmp	.L22
	.p2align 4,,10
	.p2align 3
.L33:
	movl	$2, %ebp
	jmp	.L16
	.p2align 4,,10
	.p2align 3
.L36:
	movl	$2, %ebx
	jmp	.L22
.L47:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE36:
	.size	main, .-main
	.section	.rodata.cst8,"aM",@progbits,8
	.align 8
.LC0:
	.long	-1717986918
	.long	1072798105
	.align 8
.LC1:
	.long	858993459
	.long	1071854387
	.align 8
.LC2:
	.long	-1717986918
	.long	1070176665
	.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	test
	.type	test, @function
test:
.LFB35:
	.cfi_startproc
	endbr64
	movsd	.LC0(%rip), %xmm1
	xorl	%eax, %eax
	cvtss2sd	%xmm0, %xmm0
	comisd	%xmm1, %xmm0
	jnb	.L1
	comisd	%xmm0, %xmm1
	movsd	.LC1(%rip), %xmm1
	jbe	.L3
	comisd	%xmm1, %xmm0
	movl	$1, %eax
	jnb	.L1
.L3:
	comisd	%xmm0, %xmm1
	movsd	.LC2(%rip), %xmm1
	jbe	.L5
	comisd	%xmm1, %xmm0
	movl	$2, %eax
	jnb	.L1
.L5:
	movl	$3, %eax
	ret
	.p2align 4,,10
	.p2align 3
.L1:
	ret
	.cfi_endproc
.LFE35:
	.size	test, .-test
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC3:
	.string	"%f%f"
.LC4:
	.string	"%d %d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB36:
	.cfi_startproc
	endbr64
	pushq	%r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	pxor	%xmm0, %xmm0
	pushq	%r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	pushq	%r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	leaq	.LC3(%rip), %r12
	pushq	%rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	pushq	%rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	subq	$80, %rsp
	.cfi_def_cfa_offset 128
	movq	%fs:40, %rax
	movq	%rax, 72(%rsp)
	xorl	%eax, %eax
	leaq	12(%rsp), %r14
	movaps	%xmm0, 16(%rsp)
	leaq	8(%rsp), %r13
	movl	$0, 32(%rsp)
	movl	$0, 64(%rsp)
	movaps	%xmm0, 48(%rsp)
	jmp	.L15
	.p2align 4,,10
	.p2align 3
.L46:
	comisd	%xmm0, %xmm1
	movsd	.LC1(%rip), %xmm2
	jbe	.L23
	comisd	%xmm2, %xmm0
	jnb	.L35
.L23:
	comisd	%xmm0, %xmm2
	movsd	.LC2(%rip), %xmm2
	jbe	.L25
	comisd	%xmm2, %xmm0
	jnb	.L36
.L25:
	ucomisd	%xmm0, %xmm2
	movl	$3, %eax
	cmova	%eax, %ebx
.L22:
	movslq	%ebp, %rax
	addl	$1, 16(%rsp,%rax,4)
	movslq	%ebx, %rax
	addl	$1, 48(%rsp,%rax,4)
.L15:
	xorl	%eax, %eax
	movq	%r14, %rdx
	movq	%r13, %rsi
	movq	%r12, %rdi
	call	__isoc99_scanf@PLT
	cmpl	$-1, %eax
	movq	.LC0(%rip), %rax
	movq	%rax, %xmm1
	je	.L45
	pxor	%xmm0, %xmm0
	cvtss2sd	8(%rsp), %xmm0
	comisd	%xmm1, %xmm0
	jnb	.L31
	comisd	%xmm0, %xmm1
	movsd	.LC1(%rip), %xmm2
	jbe	.L17
	movq	.LC1(%rip), %rax
	movq	%rax, %xmm2
	comisd	%xmm2, %xmm0
	jnb	.L32
.L17:
	comisd	%xmm0, %xmm2
	movq	.LC2(%rip), %rax
	movq	%rax, %xmm2
	jbe	.L19
	comisd	%xmm2, %xmm0
	jnb	.L33
.L19:
	ucomisd	%xmm0, %xmm2
	movl	$3, %eax
	cmova	%eax, %ebp
.L16:
	pxor	%xmm0, %xmm0
	cvtss2sd	12(%rsp), %xmm0
	comisd	%xmm1, %xmm0
	jb	.L46
	xorl	%ebx, %ebx
	jmp	.L22
	.p2align 4,,10
	.p2align 3
.L31:
	xorl	%ebp, %ebp
	jmp	.L16
	.p2align 4,,10
	.p2align 3
.L45:
	xorl	%ebx, %ebx
	leaq	48(%rsp), %r13
	leaq	16(%rsp), %r12
	leaq	.LC4(%rip), %rbp
.L29:
	movl	0(%r13,%rbx), %ecx
	movl	(%r12,%rbx), %edx
	movq	%rbp, %rsi
	xorl	%eax, %eax
	movl	$1, %edi
	addq	$4, %rbx
	call	__printf_chk@PLT
	cmpq	$16, %rbx
	jne	.L29
	movq	72(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L47
	addq	$80, %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
	.p2align 4,,10
	.p2align 3
.L32:
	.cfi_restore_state
	movl	$1, %ebp
	jmp	.L16
	.p2align 4,,10
	.p2align 3
.L35:
	movl	$1, %ebx
	jmp	.L22
	.p2align 4,,10
	.p2align 3
.L33:
	movl	$2, %ebp
	jmp	.L16
	.p2align 4,,10
	.p2align 3
.L36:
	movl	$2, %ebx
	jmp	.L22
.L47:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE36:
	.size	main, .-main
	.section	.rodata.cst8,"aM",@progbits,8
	.align 8
.LC0:
	.long	-1717986918
	.long	1072798105
	.align 8
.LC1:
	.long	858993459
	.long	1071854387
	.align 8
.LC2:
	.long	-1717986918
	.long	1070176665
	.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 <string.h>

int test(float x){
	if (x >= 1.1) return 0;
	if (x < 1.1 && x >= 0.6) return 1;
	if (x < 0.6 && x >= 0.2) return 2;
	if (x < 0.2) return 3;
}

int main(void)
{
	float l, r; 
	int i;
	int a, b;
	int left[5], right[5];
	memset (left, 0, sizeof(left));
	memset (right, 0, sizeof(right));
	 

	
	while (scanf("%f%f", &l, &r) != EOF){
		a = test(l);
		b = test(r);
		left[a]++;
		right[b]++;
	}
	for (i = 0; i < 4; i++){
		printf("%d %d\n", left[i], right[i]);
	}
	


	return (0);
}
1.0 1.2
0.8 1.5
1.2 0.7
2.0 2.1903643288076555
 1.0 1.6960573379527397
1.4596389610615816 1.5471720124202895
1.2 0.7
2.751284804693524 2.1903643288076555
 1.4450818768746183 1.6960573379527397
2.61268179406582 1.5471720124202895
2.573217216239934 0.7
4.9346769267643475 2.1903643288076555
 3.074377310282718 3.408310358864073
4.365908554441974 2.7842928577123516
2.573217216239934 1.750655805377047
6.112015344915439 2.378616543190681
 1.0 1.2
0.8 1.5
1.2 0.7
2.751284804693524 2.1903643288076555
 1.0 1.2
0.8 1.5471720124202895
1.2 0.7
2.751284804693524 2.1903643288076555
 1.0 1.6960573379527397
0.8 1.5471720124202895
1.2 0.7
2.751284804693524 2.1903643288076555
 1.0 1.6960573379527397
0.8413834025534568 1.5471720124202895
1.2 0.7
2.751284804693524 2.1903643288076555
 1.0 1.6960573379527397
1.4596389610615816 1.5471720124202895
1.2 0.7
3.619100269325771 2.1903643288076555
 1.0 1.6960573379527397
1.4596389610615816 1.5471720124202895
1.2 0.7
4.285760834475757 2.1903643288076555

2 3
2 1
0 0
0 0
 3 3
1 1
0 0
0 0
 4 3
0 1
0 0
0 0
 4 4
0 0
0 0
0 0
 2 3
2 1
0 0
0 0
 2 3
2 1
0 0
0 0
 2 3
2 1
0 0
0 0
 2 3
2 1
0 0
0 0
 3 3
1 1
0 0
0 0
 3 3
1 1
0 0
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 <string.h>

int test(float x){
	if (x >= 1.1) return 0;
	if (x < 1.1 && x >= 0.6) return 1;
	if (x < 0.6 && x >= 0.2) return 2;
	if (x < 0.2) return 3;
}

int main(void)
{
	float l, r; 
	int i;
	int a, b;
	int left[5], right[5];
	memset (left, 0, sizeof(left));
	memset (right, 0, sizeof(right));
	 

	
	while (scanf("%f%f", &l, &r) != EOF){
		a = test(l);
		b = test(r);
		left[a]++;
		right[b]++;
	}
	for (i = 0; i < 4; i++){
		printf("%d %d\n", left[i], right[i]);
	}
	


	return (0);
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.globl	test
	.type	test, @function
test:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	movss	%xmm0, -4(%rbp)
	pxor	%xmm0, %xmm0
	cvtss2sd	-4(%rbp), %xmm0
	comisd	.LC0(%rip), %xmm0
	jb	.L19
	movl	$0, %eax
	jmp	.L1
.L19:
	pxor	%xmm1, %xmm1
	cvtss2sd	-4(%rbp), %xmm1
	movsd	.LC0(%rip), %xmm0
	comisd	%xmm1, %xmm0
	jbe	.L5
	pxor	%xmm0, %xmm0
	cvtss2sd	-4(%rbp), %xmm0
	comisd	.LC1(%rip), %xmm0
	jb	.L5
	movl	$1, %eax
	jmp	.L1
.L5:
	pxor	%xmm1, %xmm1
	cvtss2sd	-4(%rbp), %xmm1
	movsd	.LC1(%rip), %xmm0
	comisd	%xmm1, %xmm0
	jbe	.L8
	pxor	%xmm0, %xmm0
	cvtss2sd	-4(%rbp), %xmm0
	comisd	.LC2(%rip), %xmm0
	jb	.L8
	movl	$2, %eax
	jmp	.L1
.L8:
	pxor	%xmm1, %xmm1
	cvtss2sd	-4(%rbp), %xmm1
	movsd	.LC2(%rip), %xmm0
	comisd	%xmm1, %xmm0
	jbe	.L20
	movl	$3, %eax
	jmp	.L1
.L20:
.L1:
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	test, .-test
	.section	.rodata
.LC3:
	.string	"%f%f"
.LC4:
	.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	$96, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-64(%rbp), %rax
	movl	$20, %edx
	movl	$0, %esi
	movq	%rax, %rdi
	call	memset@PLT
	leaq	-32(%rbp), %rax
	movl	$20, %edx
	movl	$0, %esi
	movq	%rax, %rdi
	call	memset@PLT
	jmp	.L22
.L23:
	movl	-84(%rbp), %eax
	movd	%eax, %xmm0
	call	test
	movl	%eax, -72(%rbp)
	movl	-80(%rbp), %eax
	movd	%eax, %xmm0
	call	test
	movl	%eax, -68(%rbp)
	movl	-72(%rbp), %eax
	cltq
	movl	-64(%rbp,%rax,4), %eax
	leal	1(%rax), %edx
	movl	-72(%rbp), %eax
	cltq
	movl	%edx, -64(%rbp,%rax,4)
	movl	-68(%rbp), %eax
	cltq
	movl	-32(%rbp,%rax,4), %eax
	leal	1(%rax), %edx
	movl	-68(%rbp), %eax
	cltq
	movl	%edx, -32(%rbp,%rax,4)
.L22:
	leaq	-80(%rbp), %rdx
	leaq	-84(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC3(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	cmpl	$-1, %eax
	jne	.L23
	movl	$0, -76(%rbp)
	jmp	.L24
.L25:
	movl	-76(%rbp), %eax
	cltq
	movl	-32(%rbp,%rax,4), %edx
	movl	-76(%rbp), %eax
	cltq
	movl	-64(%rbp,%rax,4), %eax
	movl	%eax, %esi
	leaq	.LC4(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	addl	$1, -76(%rbp)
.L24:
	cmpl	$3, -76(%rbp)
	jle	.L25
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L27
	call	__stack_chk_fail@PLT
.L27:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC0:
	.long	-1717986918
	.long	1072798105
	.align 8
.LC1:
	.long	858993459
	.long	1071854387
	.align 8
.LC2:
	.long	-1717986918
	.long	1070176665
	.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	test
	.type	test, @function
test:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	movss	%xmm0, -4(%rbp)
	pxor	%xmm0, %xmm0
	cvtss2sd	-4(%rbp), %xmm0
	comisd	.LC0(%rip), %xmm0
	jb	.L19
	movl	$0, %eax
	jmp	.L1
.L19:
	pxor	%xmm1, %xmm1
	cvtss2sd	-4(%rbp), %xmm1
	movsd	.LC0(%rip), %xmm0
	comisd	%xmm1, %xmm0
	jbe	.L5
	pxor	%xmm0, %xmm0
	cvtss2sd	-4(%rbp), %xmm0
	comisd	.LC1(%rip), %xmm0
	jb	.L5
	movl	$1, %eax
	jmp	.L1
.L5:
	pxor	%xmm1, %xmm1
	cvtss2sd	-4(%rbp), %xmm1
	movsd	.LC1(%rip), %xmm0
	comisd	%xmm1, %xmm0
	jbe	.L8
	pxor	%xmm0, %xmm0
	cvtss2sd	-4(%rbp), %xmm0
	comisd	.LC2(%rip), %xmm0
	jb	.L8
	movl	$2, %eax
	jmp	.L1
.L8:
	pxor	%xmm1, %xmm1
	cvtss2sd	-4(%rbp), %xmm1
	movsd	.LC2(%rip), %xmm0
	comisd	%xmm1, %xmm0
	jbe	.L20
	movl	$3, %eax
	jmp	.L1
.L20:
.L1:
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	test, .-test
	.section	.rodata
.LC3:
	.string	"%f%f"
.LC4:
	.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	$96, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-64(%rbp), %rax
	movl	$20, %edx
	movl	$0, %esi
	movq	%rax, %rdi
	call	memset@PLT
	leaq	-32(%rbp), %rax
	movl	$20, %edx
	movl	$0, %esi
	movq	%rax, %rdi
	call	memset@PLT
	jmp	.L22
.L23:
	movl	-84(%rbp), %eax
	movd	%eax, %xmm0
	call	test
	movl	%eax, -72(%rbp)
	movl	-80(%rbp), %eax
	movd	%eax, %xmm0
	call	test
	movl	%eax, -68(%rbp)
	movl	-72(%rbp), %eax
	cltq
	movl	-64(%rbp,%rax,4), %eax
	leal	1(%rax), %edx
	movl	-72(%rbp), %eax
	cltq
	movl	%edx, -64(%rbp,%rax,4)
	movl	-68(%rbp), %eax
	cltq
	movl	-32(%rbp,%rax,4), %eax
	leal	1(%rax), %edx
	movl	-68(%rbp), %eax
	cltq
	movl	%edx, -32(%rbp,%rax,4)
.L22:
	leaq	-80(%rbp), %rdx
	leaq	-84(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC3(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	cmpl	$-1, %eax
	jne	.L23
	movl	$0, -76(%rbp)
	jmp	.L24
.L25:
	movl	-76(%rbp), %eax
	cltq
	movl	-32(%rbp,%rax,4), %edx
	movl	-76(%rbp), %eax
	cltq
	movl	-64(%rbp,%rax,4), %eax
	movl	%eax, %esi
	leaq	.LC4(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	addl	$1, -76(%rbp)
.L24:
	cmpl	$3, -76(%rbp)
	jle	.L25
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L27
	call	__stack_chk_fail@PLT
.L27:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC0:
	.long	-1717986918
	.long	1072798105
	.align 8
.LC1:
	.long	858993459
	.long	1071854387
	.align 8
.LC2:
	.long	-1717986918
	.long	1070176665
	.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:
