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<stdlib.h>
#include<string.h>
#include<stdint.h>
#include<tgmath.h>
#include<stdbool.h>
#include<sys/queue.h>
#include<time.h>
#define ll long long
#define min(a, b) ((a) > (b) ? (b) : (a))
#define max(a, b) ((a) > (b) ? (a) : (b))

int n, x[55], y[55];
main(){
    scanf("%d", &n);
    for(int i=0; i<n; i++){
        scanf("%d%d", &x[i], &y[i]);
    }
    int ans = n;
    for(int i=0; i<n; i++){
        for(int j=0; j<n; j++){
            if(i!=j){
                int p = x[i] - x[j], q = y[i] - y[j], cnt = 0;
                for(int k=0; k<n; k++){
                    for(int l=0; l<n; l++){
                        if(k != l){
                            if(x[k]-x[l] == p && y[k]-y[l] == q)cnt++;
                        }
                    }
                }
                ans = min(ans, n-cnt);
            }
        }
    }
    printf("%d\n", ans);
    return 0;
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.globl	n
	.bss
	.align 4
	.type	n, @object
	.size	n, 4
n:
	.zero	4
	.globl	x
	.align 32
	.type	x, @object
	.size	x, 220
x:
	.zero	220
	.globl	y
	.align 32
	.type	y, @object
	.size	y, 220
y:
	.zero	220
	.section	.rodata
.LC0:
	.string	"%d"
.LC1:
	.string	"%d%d"
.LC2:
	.string	"%d\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB6:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$48, %rsp
	leaq	n(%rip), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -36(%rbp)
	jmp	.L2
.L3:
	movl	-36(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	y(%rip), %rax
	addq	%rax, %rdx
	movl	-36(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rcx
	leaq	x(%rip), %rax
	addq	%rcx, %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addl	$1, -36(%rbp)
.L2:
	movl	n(%rip), %eax
	cmpl	%eax, -36(%rbp)
	jl	.L3
	movl	n(%rip), %eax
	movl	%eax, -32(%rbp)
	movl	$0, -28(%rbp)
	jmp	.L4
.L13:
	movl	$0, -24(%rbp)
	jmp	.L5
.L12:
	movl	-28(%rbp), %eax
	cmpl	-24(%rbp), %eax
	je	.L6
	movl	-28(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	x(%rip), %rax
	movl	(%rdx,%rax), %eax
	movl	-24(%rbp), %edx
	movslq	%edx, %rdx
	leaq	0(,%rdx,4), %rcx
	leaq	x(%rip), %rdx
	movl	(%rcx,%rdx), %edx
	subl	%edx, %eax
	movl	%eax, -8(%rbp)
	movl	-28(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	y(%rip), %rax
	movl	(%rdx,%rax), %eax
	movl	-24(%rbp), %edx
	movslq	%edx, %rdx
	leaq	0(,%rdx,4), %rcx
	leaq	y(%rip), %rdx
	movl	(%rcx,%rdx), %edx
	subl	%edx, %eax
	movl	%eax, -4(%rbp)
	movl	$0, -20(%rbp)
	movl	$0, -16(%rbp)
	jmp	.L7
.L11:
	movl	$0, -12(%rbp)
	jmp	.L8
.L10:
	movl	-16(%rbp), %eax
	cmpl	-12(%rbp), %eax
	je	.L9
	movl	-16(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	x(%rip), %rax
	movl	(%rdx,%rax), %eax
	movl	-12(%rbp), %edx
	movslq	%edx, %rdx
	leaq	0(,%rdx,4), %rcx
	leaq	x(%rip), %rdx
	movl	(%rcx,%rdx), %edx
	subl	%edx, %eax
	cmpl	%eax, -8(%rbp)
	jne	.L9
	movl	-16(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	y(%rip), %rax
	movl	(%rdx,%rax), %eax
	movl	-12(%rbp), %edx
	movslq	%edx, %rdx
	leaq	0(,%rdx,4), %rcx
	leaq	y(%rip), %rdx
	movl	(%rcx,%rdx), %edx
	subl	%edx, %eax
	cmpl	%eax, -4(%rbp)
	jne	.L9
	addl	$1, -20(%rbp)
.L9:
	addl	$1, -12(%rbp)
.L8:
	movl	n(%rip), %eax
	cmpl	%eax, -12(%rbp)
	jl	.L10
	addl	$1, -16(%rbp)
.L7:
	movl	n(%rip), %eax
	cmpl	%eax, -16(%rbp)
	jl	.L11
	movl	n(%rip), %eax
	subl	-20(%rbp), %eax
	movl	-32(%rbp), %edx
	cmpl	%eax, %edx
	cmovle	%edx, %eax
	movl	%eax, -32(%rbp)
.L6:
	addl	$1, -24(%rbp)
.L5:
	movl	n(%rip), %eax
	cmpl	%eax, -24(%rbp)
	jl	.L12
	addl	$1, -28(%rbp)
.L4:
	movl	n(%rip), %eax
	cmpl	%eax, -28(%rbp)
	jl	.L13
	movl	-32(%rbp), %eax
	movl	%eax, %esi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, %eax
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	1f - 0f
	.long	4f - 1f
	.long	5
0:
	.string	"GNU"
1:
	.align 8
	.long	0xc0000002
	.long	3f - 2f
2:
	.long	0x3
3:
	.align 8
4:
```

Only output the optimized assembly code. Do not include any other text. Do not write any comments in the assembly code. Wrap the assembly code in ```assembly``` tags.
user
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d"
.LC1:
	.string	"%d%d"
.LC2:
	.string	"%d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB51:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	leaq	n(%rip), %rsi
	leaq	.LC0(%rip), %rdi
	xorl	%eax, %eax
	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
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	subq	$8, %rsp
	.cfi_def_cfa_offset 64
	call	__isoc99_scanf@PLT
	movl	n(%rip), %r13d
	testl	%r13d, %r13d
	jle	.L2
	leaq	x(%rip), %rbx
	xorl	%r12d, %r12d
	leaq	y(%rip), %rbp
	movq	%rbx, %r13
	leaq	.LC1(%rip), %r15
.L3:
	leaq	0(%rbp,%r12,4), %rdx
	movq	%r13, %rsi
	movq	%r15, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	n(%rip), %r14d
	addq	$1, %r12
	addq	$4, %r13
	cmpl	%r12d, %r14d
	jg	.L3
	testl	%r14d, %r14d
	jle	.L11
	movslq	%r14d, %rsi
	movl	%r14d, %r13d
	xorl	%r12d, %r12d
.L10:
	xorl	%r11d, %r11d
	.p2align 4,,10
	.p2align 3
.L9:
	cmpl	%r12d, %r11d
	je	.L4
	movl	(%rbx,%r12,4), %r8d
	movl	0(%rbp,%r12,4), %r10d
	movq	%rbx, %rdi
	xorl	%ecx, %ecx
	subl	(%rbx,%r11,4), %r8d
	subl	0(%rbp,%r11,4), %r10d
	xorl	%r9d, %r9d
	.p2align 4,,10
	.p2align 3
.L5:
	xorl	%eax, %eax
	.p2align 4,,10
	.p2align 3
.L7:
	cmpl	%ecx, %eax
	je	.L6
	movl	(%rdi), %edx
	subl	(%rbx,%rax,4), %edx
	cmpl	%r8d, %edx
	jne	.L6
	movl	0(%rbp,%rcx,4), %edx
	subl	0(%rbp,%rax,4), %edx
	cmpl	%r10d, %edx
	sete	%dl
	movzbl	%dl, %edx
	addl	%edx, %r9d
.L6:
	addq	$1, %rax
	cmpq	%rsi, %rax
	jne	.L7
	addq	$1, %rcx
	addq	$4, %rdi
	cmpq	%rsi, %rcx
	jne	.L5
	movl	%r14d, %eax
	subl	%r9d, %eax
	cmpl	%eax, %r13d
	cmovg	%eax, %r13d
.L4:
	addq	$1, %r11
	cmpq	%rsi, %r11
	jne	.L9
	addq	$1, %r12
	cmpq	%rsi, %r12
	jne	.L10
.L2:
	movl	%r13d, %edx
	leaq	.LC2(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	addq	$8, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%rbp
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	ret
.L11:
	.cfi_restore_state
	movl	%r14d, %r13d
	jmp	.L2
	.cfi_endproc
.LFE51:
	.size	main, .-main
	.globl	y
	.bss
	.align 32
	.type	y, @object
	.size	y, 220
y:
	.zero	220
	.globl	x
	.align 32
	.type	x, @object
	.size	x, 220
x:
	.zero	220
	.globl	n
	.align 4
	.type	n, @object
	.size	n, 4
n:
	.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	"%d"
.LC1:
	.string	"%d%d"
.LC2:
	.string	"%d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB51:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	leaq	n(%rip), %rsi
	leaq	.LC0(%rip), %rdi
	xorl	%eax, %eax
	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
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	subq	$8, %rsp
	.cfi_def_cfa_offset 64
	call	__isoc99_scanf@PLT
	movl	n(%rip), %r13d
	testl	%r13d, %r13d
	jle	.L2
	leaq	x(%rip), %rbx
	xorl	%r12d, %r12d
	leaq	y(%rip), %rbp
	movq	%rbx, %r13
	leaq	.LC1(%rip), %r15
.L3:
	leaq	0(%rbp,%r12,4), %rdx
	movq	%r13, %rsi
	movq	%r15, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	n(%rip), %r14d
	addq	$1, %r12
	addq	$4, %r13
	cmpl	%r12d, %r14d
	jg	.L3
	testl	%r14d, %r14d
	jle	.L11
	movslq	%r14d, %rsi
	movl	%r14d, %r13d
	xorl	%r12d, %r12d
.L10:
	xorl	%r11d, %r11d
	.p2align 4,,10
	.p2align 3
.L9:
	cmpl	%r12d, %r11d
	je	.L4
	movl	(%rbx,%r12,4), %r8d
	movl	0(%rbp,%r12,4), %r10d
	movq	%rbx, %rdi
	xorl	%ecx, %ecx
	subl	(%rbx,%r11,4), %r8d
	subl	0(%rbp,%r11,4), %r10d
	xorl	%r9d, %r9d
	.p2align 4,,10
	.p2align 3
.L5:
	xorl	%eax, %eax
	.p2align 4,,10
	.p2align 3
.L7:
	cmpl	%ecx, %eax
	je	.L6
	movl	(%rdi), %edx
	subl	(%rbx,%rax,4), %edx
	cmpl	%r8d, %edx
	jne	.L6
	movl	0(%rbp,%rcx,4), %edx
	subl	0(%rbp,%rax,4), %edx
	cmpl	%r10d, %edx
	sete	%dl
	movzbl	%dl, %edx
	addl	%edx, %r9d
.L6:
	addq	$1, %rax
	cmpq	%rsi, %rax
	jne	.L7
	addq	$1, %rcx
	addq	$4, %rdi
	cmpq	%rsi, %rcx
	jne	.L5
	movl	%r14d, %eax
	subl	%r9d, %eax
	cmpl	%eax, %r13d
	cmovg	%eax, %r13d
.L4:
	addq	$1, %r11
	cmpq	%rsi, %r11
	jne	.L9
	addq	$1, %r12
	cmpq	%rsi, %r12
	jne	.L10
.L2:
	movl	%r13d, %edx
	leaq	.LC2(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	addq	$8, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%rbp
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	ret
.L11:
	.cfi_restore_state
	movl	%r14d, %r13d
	jmp	.L2
	.cfi_endproc
.LFE51:
	.size	main, .-main
	.globl	y
	.bss
	.align 32
	.type	y, @object
	.size	y, 220
y:
	.zero	220
	.globl	x
	.align 32
	.type	x, @object
	.size	x, 220
x:
	.zero	220
	.globl	n
	.align 4
	.type	n, @object
	.size	n, 4
n:
	.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<stdlib.h>
#include<string.h>
#include<stdint.h>
#include<tgmath.h>
#include<stdbool.h>
#include<sys/queue.h>
#include<time.h>
#define ll long long
#define min(a, b) ((a) > (b) ? (b) : (a))
#define max(a, b) ((a) > (b) ? (a) : (b))

int n, x[55], y[55];
main(){
    scanf("%d", &n);
    for(int i=0; i<n; i++){
        scanf("%d%d", &x[i], &y[i]);
    }
    int ans = n;
    for(int i=0; i<n; i++){
        for(int j=0; j<n; j++){
            if(i!=j){
                int p = x[i] - x[j], q = y[i] - y[j], cnt = 0;
                for(int k=0; k<n; k++){
                    for(int l=0; l<n; l++){
                        if(k != l){
                            if(x[k]-x[l] == p && y[k]-y[l] == q)cnt++;
                        }
                    }
                }
                ans = min(ans, n-cnt);
            }
        }
    }
    printf("%d\n", ans);
    return 0;
}
3
1 4
4 6
11 8
 2
1 2
2 2
 4
1 1
1 4
2 1
2 2
 3
1 4
4 6
11 3
 3
0 4
4 6
11 3
 3
-1 4
4 6
11 3
 3
-2 4
4 6
11 3
 3
-2 4
5 6
11 3
 3
-2 4
5 6
11 4
 3
-1 4
5 6
11 4

2
 1
 3
 2
 2
 2
 2
 2
 2
 2

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<stdlib.h>
#include<string.h>
#include<stdint.h>
#include<tgmath.h>
#include<stdbool.h>
#include<sys/queue.h>
#include<time.h>
#define ll long long
#define min(a, b) ((a) > (b) ? (b) : (a))
#define max(a, b) ((a) > (b) ? (a) : (b))

int n, x[55], y[55];
main(){
    scanf("%d", &n);
    for(int i=0; i<n; i++){
        scanf("%d%d", &x[i], &y[i]);
    }
    int ans = n;
    for(int i=0; i<n; i++){
        for(int j=0; j<n; j++){
            if(i!=j){
                int p = x[i] - x[j], q = y[i] - y[j], cnt = 0;
                for(int k=0; k<n; k++){
                    for(int l=0; l<n; l++){
                        if(k != l){
                            if(x[k]-x[l] == p && y[k]-y[l] == q)cnt++;
                        }
                    }
                }
                ans = min(ans, n-cnt);
            }
        }
    }
    printf("%d\n", ans);
    return 0;
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.globl	n
	.bss
	.align 4
	.type	n, @object
	.size	n, 4
n:
	.zero	4
	.globl	x
	.align 32
	.type	x, @object
	.size	x, 220
x:
	.zero	220
	.globl	y
	.align 32
	.type	y, @object
	.size	y, 220
y:
	.zero	220
	.section	.rodata
.LC0:
	.string	"%d"
.LC1:
	.string	"%d%d"
.LC2:
	.string	"%d\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB6:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$48, %rsp
	leaq	n(%rip), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -36(%rbp)
	jmp	.L2
.L3:
	movl	-36(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	y(%rip), %rax
	addq	%rax, %rdx
	movl	-36(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rcx
	leaq	x(%rip), %rax
	addq	%rcx, %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addl	$1, -36(%rbp)
.L2:
	movl	n(%rip), %eax
	cmpl	%eax, -36(%rbp)
	jl	.L3
	movl	n(%rip), %eax
	movl	%eax, -32(%rbp)
	movl	$0, -28(%rbp)
	jmp	.L4
.L13:
	movl	$0, -24(%rbp)
	jmp	.L5
.L12:
	movl	-28(%rbp), %eax
	cmpl	-24(%rbp), %eax
	je	.L6
	movl	-28(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	x(%rip), %rax
	movl	(%rdx,%rax), %eax
	movl	-24(%rbp), %edx
	movslq	%edx, %rdx
	leaq	0(,%rdx,4), %rcx
	leaq	x(%rip), %rdx
	movl	(%rcx,%rdx), %edx
	subl	%edx, %eax
	movl	%eax, -8(%rbp)
	movl	-28(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	y(%rip), %rax
	movl	(%rdx,%rax), %eax
	movl	-24(%rbp), %edx
	movslq	%edx, %rdx
	leaq	0(,%rdx,4), %rcx
	leaq	y(%rip), %rdx
	movl	(%rcx,%rdx), %edx
	subl	%edx, %eax
	movl	%eax, -4(%rbp)
	movl	$0, -20(%rbp)
	movl	$0, -16(%rbp)
	jmp	.L7
.L11:
	movl	$0, -12(%rbp)
	jmp	.L8
.L10:
	movl	-16(%rbp), %eax
	cmpl	-12(%rbp), %eax
	je	.L9
	movl	-16(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	x(%rip), %rax
	movl	(%rdx,%rax), %eax
	movl	-12(%rbp), %edx
	movslq	%edx, %rdx
	leaq	0(,%rdx,4), %rcx
	leaq	x(%rip), %rdx
	movl	(%rcx,%rdx), %edx
	subl	%edx, %eax
	cmpl	%eax, -8(%rbp)
	jne	.L9
	movl	-16(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	y(%rip), %rax
	movl	(%rdx,%rax), %eax
	movl	-12(%rbp), %edx
	movslq	%edx, %rdx
	leaq	0(,%rdx,4), %rcx
	leaq	y(%rip), %rdx
	movl	(%rcx,%rdx), %edx
	subl	%edx, %eax
	cmpl	%eax, -4(%rbp)
	jne	.L9
	addl	$1, -20(%rbp)
.L9:
	addl	$1, -12(%rbp)
.L8:
	movl	n(%rip), %eax
	cmpl	%eax, -12(%rbp)
	jl	.L10
	addl	$1, -16(%rbp)
.L7:
	movl	n(%rip), %eax
	cmpl	%eax, -16(%rbp)
	jl	.L11
	movl	n(%rip), %eax
	subl	-20(%rbp), %eax
	movl	-32(%rbp), %edx
	cmpl	%eax, %edx
	cmovle	%edx, %eax
	movl	%eax, -32(%rbp)
.L6:
	addl	$1, -24(%rbp)
.L5:
	movl	n(%rip), %eax
	cmpl	%eax, -24(%rbp)
	jl	.L12
	addl	$1, -28(%rbp)
.L4:
	movl	n(%rip), %eax
	cmpl	%eax, -28(%rbp)
	jl	.L13
	movl	-32(%rbp), %eax
	movl	%eax, %esi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, %eax
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	1f - 0f
	.long	4f - 1f
	.long	5
0:
	.string	"GNU"
1:
	.align 8
	.long	0xc0000002
	.long	3f - 2f
2:
	.long	0x3
3:
	.align 8
4:
```

Only output the optimized assembly code. Do not include any other text. Do not write any comments in the assembly code. Wrap the assembly code in ```assembly``` tags.
train
	.file	"temp.c"
	.text
	.globl	n
	.bss
	.align 4
	.type	n, @object
	.size	n, 4
n:
	.zero	4
	.globl	x
	.align 32
	.type	x, @object
	.size	x, 220
x:
	.zero	220
	.globl	y
	.align 32
	.type	y, @object
	.size	y, 220
y:
	.zero	220
	.section	.rodata
.LC0:
	.string	"%d"
.LC1:
	.string	"%d%d"
.LC2:
	.string	"%d\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB6:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$48, %rsp
	leaq	n(%rip), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -36(%rbp)
	jmp	.L2
.L3:
	movl	-36(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	y(%rip), %rax
	addq	%rax, %rdx
	movl	-36(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rcx
	leaq	x(%rip), %rax
	addq	%rcx, %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addl	$1, -36(%rbp)
.L2:
	movl	n(%rip), %eax
	cmpl	%eax, -36(%rbp)
	jl	.L3
	movl	n(%rip), %eax
	movl	%eax, -32(%rbp)
	movl	$0, -28(%rbp)
	jmp	.L4
.L13:
	movl	$0, -24(%rbp)
	jmp	.L5
.L12:
	movl	-28(%rbp), %eax
	cmpl	-24(%rbp), %eax
	je	.L6
	movl	-28(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	x(%rip), %rax
	movl	(%rdx,%rax), %eax
	movl	-24(%rbp), %edx
	movslq	%edx, %rdx
	leaq	0(,%rdx,4), %rcx
	leaq	x(%rip), %rdx
	movl	(%rcx,%rdx), %edx
	subl	%edx, %eax
	movl	%eax, -8(%rbp)
	movl	-28(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	y(%rip), %rax
	movl	(%rdx,%rax), %eax
	movl	-24(%rbp), %edx
	movslq	%edx, %rdx
	leaq	0(,%rdx,4), %rcx
	leaq	y(%rip), %rdx
	movl	(%rcx,%rdx), %edx
	subl	%edx, %eax
	movl	%eax, -4(%rbp)
	movl	$0, -20(%rbp)
	movl	$0, -16(%rbp)
	jmp	.L7
.L11:
	movl	$0, -12(%rbp)
	jmp	.L8
.L10:
	movl	-16(%rbp), %eax
	cmpl	-12(%rbp), %eax
	je	.L9
	movl	-16(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	x(%rip), %rax
	movl	(%rdx,%rax), %eax
	movl	-12(%rbp), %edx
	movslq	%edx, %rdx
	leaq	0(,%rdx,4), %rcx
	leaq	x(%rip), %rdx
	movl	(%rcx,%rdx), %edx
	subl	%edx, %eax
	cmpl	%eax, -8(%rbp)
	jne	.L9
	movl	-16(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	y(%rip), %rax
	movl	(%rdx,%rax), %eax
	movl	-12(%rbp), %edx
	movslq	%edx, %rdx
	leaq	0(,%rdx,4), %rcx
	leaq	y(%rip), %rdx
	movl	(%rcx,%rdx), %edx
	subl	%edx, %eax
	cmpl	%eax, -4(%rbp)
	jne	.L9
	addl	$1, -20(%rbp)
.L9:
	addl	$1, -12(%rbp)
.L8:
	movl	n(%rip), %eax
	cmpl	%eax, -12(%rbp)
	jl	.L10
	addl	$1, -16(%rbp)
.L7:
	movl	n(%rip), %eax
	cmpl	%eax, -16(%rbp)
	jl	.L11
	movl	n(%rip), %eax
	subl	-20(%rbp), %eax
	movl	-32(%rbp), %edx
	cmpl	%eax, %edx
	cmovle	%edx, %eax
	movl	%eax, -32(%rbp)
.L6:
	addl	$1, -24(%rbp)
.L5:
	movl	n(%rip), %eax
	cmpl	%eax, -24(%rbp)
	jl	.L12
	addl	$1, -28(%rbp)
.L4:
	movl	n(%rip), %eax
	cmpl	%eax, -28(%rbp)
	jl	.L13
	movl	-32(%rbp), %eax
	movl	%eax, %esi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, %eax
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	1f - 0f
	.long	4f - 1f
	.long	5
0:
	.string	"GNU"
1:
	.align 8
	.long	0xc0000002
	.long	3f - 2f
2:
	.long	0x3
3:
	.align 8
4:
