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>
int main()
{
	int n;
	scanf("%d", &n);
	int i;
	int x[55], y[55];
	for (i = 0; i < n; i++)
		scanf("%d %d", &x[i], &y[i]);
	int ans = 2000000009;
	int p, q;
	int j, k, l, a;
	for (i = 0; i < n; i++)
	{
		for (j = 0; j < n; j++)
		{
			if (i != j)
			{
				p = x[i] - x[j];
				q = y[i] - y[j];
				a = n;
				for (k = 0; k < n; k++)
					for (l = 0; l < n; l++)
						if (x[k] - p == x[l] && y[k] - q == y[l])
							a--;
				if (ans > a)
					ans = a;
			}
		}
	}
	if (n > 1)
		printf("%d\n", ans);
	else
		printf("1\n");
	return 0;
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%d"
.LC1:
	.string	"%d %d"
.LC2:
	.string	"%d\n"
.LC3:
	.string	"1"
	.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
	subq	$512, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-500(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -496(%rbp)
	jmp	.L2
.L3:
	leaq	-240(%rbp), %rdx
	movl	-496(%rbp), %eax
	cltq
	salq	$2, %rax
	addq	%rax, %rdx
	leaq	-464(%rbp), %rcx
	movl	-496(%rbp), %eax
	cltq
	salq	$2, %rax
	addq	%rcx, %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addl	$1, -496(%rbp)
.L2:
	movl	-500(%rbp), %eax
	cmpl	%eax, -496(%rbp)
	jl	.L3
	movl	$2000000009, -492(%rbp)
	movl	$0, -496(%rbp)
	jmp	.L4
.L13:
	movl	$0, -488(%rbp)
	jmp	.L5
.L12:
	movl	-496(%rbp), %eax
	cmpl	-488(%rbp), %eax
	je	.L6
	movl	-496(%rbp), %eax
	cltq
	movl	-464(%rbp,%rax,4), %edx
	movl	-488(%rbp), %eax
	cltq
	movl	-464(%rbp,%rax,4), %ecx
	movl	%edx, %eax
	subl	%ecx, %eax
	movl	%eax, -472(%rbp)
	movl	-496(%rbp), %eax
	cltq
	movl	-240(%rbp,%rax,4), %edx
	movl	-488(%rbp), %eax
	cltq
	movl	-240(%rbp,%rax,4), %ecx
	movl	%edx, %eax
	subl	%ecx, %eax
	movl	%eax, -468(%rbp)
	movl	-500(%rbp), %eax
	movl	%eax, -476(%rbp)
	movl	$0, -484(%rbp)
	jmp	.L7
.L11:
	movl	$0, -480(%rbp)
	jmp	.L8
.L10:
	movl	-484(%rbp), %eax
	cltq
	movl	-464(%rbp,%rax,4), %eax
	subl	-472(%rbp), %eax
	movl	%eax, %edx
	movl	-480(%rbp), %eax
	cltq
	movl	-464(%rbp,%rax,4), %eax
	cmpl	%eax, %edx
	jne	.L9
	movl	-484(%rbp), %eax
	cltq
	movl	-240(%rbp,%rax,4), %eax
	subl	-468(%rbp), %eax
	movl	%eax, %edx
	movl	-480(%rbp), %eax
	cltq
	movl	-240(%rbp,%rax,4), %eax
	cmpl	%eax, %edx
	jne	.L9
	subl	$1, -476(%rbp)
.L9:
	addl	$1, -480(%rbp)
.L8:
	movl	-500(%rbp), %eax
	cmpl	%eax, -480(%rbp)
	jl	.L10
	addl	$1, -484(%rbp)
.L7:
	movl	-500(%rbp), %eax
	cmpl	%eax, -484(%rbp)
	jl	.L11
	movl	-492(%rbp), %eax
	cmpl	-476(%rbp), %eax
	jle	.L6
	movl	-476(%rbp), %eax
	movl	%eax, -492(%rbp)
.L6:
	addl	$1, -488(%rbp)
.L5:
	movl	-500(%rbp), %eax
	cmpl	%eax, -488(%rbp)
	jl	.L12
	addl	$1, -496(%rbp)
.L4:
	movl	-500(%rbp), %eax
	cmpl	%eax, -496(%rbp)
	jl	.L13
	movl	-500(%rbp), %eax
	cmpl	$1, %eax
	jle	.L14
	movl	-492(%rbp), %eax
	movl	%eax, %esi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	jmp	.L15
.L14:
	leaq	.LC3(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
.L15:
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L17
	call	__stack_chk_fail@PLT
.L17:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.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"
.LC3:
	.string	"1"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	leaq	.LC0(%rip), %rdi
	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	$504, %rsp
	.cfi_def_cfa_offset 560
	movq	%fs:40, %rax
	movq	%rax, 488(%rsp)
	xorl	%eax, %eax
	leaq	28(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movl	28(%rsp), %eax
	testl	%eax, %eax
	jle	.L11
	leaq	32(%rsp), %rbx
	xorl	%r12d, %r12d
	leaq	256(%rsp), %rbp
	movq	%rbx, %r13
	leaq	.LC1(%rip), %r14
.L3:
	leaq	0(%rbp,%r12,4), %rdx
	movq	%r13, %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	28(%rsp), %eax
	addq	$1, %r12
	addq	$4, %r13
	cmpl	%r12d, %eax
	jg	.L3
	movl	%eax, 12(%rsp)
	testl	%eax, %eax
	jle	.L11
	movl	%eax, %esi
	subl	$1, %eax
	xorl	%r14d, %r14d
	movl	$2000000009, %r15d
	leaq	4(%rbx,%rax,4), %r13
.L10:
	xorl	%r12d, %r12d
	.p2align 4,,10
	.p2align 3
.L9:
	cmpl	%r14d, %r12d
	je	.L4
	movl	12(%rsp), %r10d
	movl	(%rbx,%r14,4), %r11d
	movq	%rbp, %rdi
	movq	%rbx, %r8
	movl	0(%rbp,%r14,4), %r9d
	subl	(%rbx,%r12,4), %r11d
	subl	0(%rbp,%r12,4), %r9d
	.p2align 4,,10
	.p2align 3
.L5:
	movl	(%r8), %edx
	xorl	%eax, %eax
	subl	%r11d, %edx
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L6:
	addq	$1, %rax
	cmpq	%rsi, %rax
	je	.L20
.L7:
	cmpl	(%rbx,%rax,4), %edx
	jne	.L6
	movl	(%rdi), %ecx
	subl	%r9d, %ecx
	cmpl	0(%rbp,%rax,4), %ecx
	jne	.L6
	addq	$1, %rax
	subl	$1, %r10d
	cmpq	%rsi, %rax
	jne	.L7
	.p2align 4,,10
	.p2align 3
.L20:
	addq	$4, %r8
	addq	$4, %rdi
	cmpq	%r13, %r8
	jne	.L5
	cmpl	%r10d, %r15d
	cmovg	%r10d, %r15d
.L4:
	addq	$1, %r12
	cmpq	%rsi, %r12
	jne	.L9
	addq	$1, %r14
	cmpq	%r12, %r14
	jne	.L10
	cmpl	$1, 12(%rsp)
	jle	.L11
	movl	%r15d, %edx
	leaq	.LC2(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
.L12:
	movq	488(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L21
	addq	$504, %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
	leaq	.LC3(%rip), %rdi
	call	puts@PLT
	jmp	.L12
.L21:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.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
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d"
.LC1:
	.string	"%d %d"
.LC2:
	.string	"%d\n"
.LC3:
	.string	"1"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	leaq	.LC0(%rip), %rdi
	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	$504, %rsp
	.cfi_def_cfa_offset 560
	movq	%fs:40, %rax
	movq	%rax, 488(%rsp)
	xorl	%eax, %eax
	leaq	28(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movl	28(%rsp), %eax
	testl	%eax, %eax
	jle	.L11
	leaq	32(%rsp), %rbx
	xorl	%r12d, %r12d
	leaq	256(%rsp), %rbp
	movq	%rbx, %r13
	leaq	.LC1(%rip), %r14
.L3:
	leaq	0(%rbp,%r12,4), %rdx
	movq	%r13, %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	28(%rsp), %eax
	addq	$1, %r12
	addq	$4, %r13
	cmpl	%r12d, %eax
	jg	.L3
	movl	%eax, 12(%rsp)
	testl	%eax, %eax
	jle	.L11
	movl	%eax, %esi
	subl	$1, %eax
	xorl	%r14d, %r14d
	movl	$2000000009, %r15d
	leaq	4(%rbx,%rax,4), %r13
.L10:
	xorl	%r12d, %r12d
	.p2align 4,,10
	.p2align 3
.L9:
	cmpl	%r14d, %r12d
	je	.L4
	movl	12(%rsp), %r10d
	movl	(%rbx,%r14,4), %r11d
	movq	%rbp, %rdi
	movq	%rbx, %r8
	movl	0(%rbp,%r14,4), %r9d
	subl	(%rbx,%r12,4), %r11d
	subl	0(%rbp,%r12,4), %r9d
	.p2align 4,,10
	.p2align 3
.L5:
	movl	(%r8), %edx
	xorl	%eax, %eax
	subl	%r11d, %edx
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L6:
	addq	$1, %rax
	cmpq	%rsi, %rax
	je	.L20
.L7:
	cmpl	(%rbx,%rax,4), %edx
	jne	.L6
	movl	(%rdi), %ecx
	subl	%r9d, %ecx
	cmpl	0(%rbp,%rax,4), %ecx
	jne	.L6
	addq	$1, %rax
	subl	$1, %r10d
	cmpq	%rsi, %rax
	jne	.L7
	.p2align 4,,10
	.p2align 3
.L20:
	addq	$4, %r8
	addq	$4, %rdi
	cmpq	%r13, %r8
	jne	.L5
	cmpl	%r10d, %r15d
	cmovg	%r10d, %r15d
.L4:
	addq	$1, %r12
	cmpq	%rsi, %r12
	jne	.L9
	addq	$1, %r14
	cmpq	%r12, %r14
	jne	.L10
	cmpl	$1, 12(%rsp)
	jle	.L11
	movl	%r15d, %edx
	leaq	.LC2(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
.L12:
	movq	488(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L21
	addq	$504, %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
	leaq	.LC3(%rip), %rdi
	call	puts@PLT
	jmp	.L12
.L21:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.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>
int main()
{
	int n;
	scanf("%d", &n);
	int i;
	int x[55], y[55];
	for (i = 0; i < n; i++)
		scanf("%d %d", &x[i], &y[i]);
	int ans = 2000000009;
	int p, q;
	int j, k, l, a;
	for (i = 0; i < n; i++)
	{
		for (j = 0; j < n; j++)
		{
			if (i != j)
			{
				p = x[i] - x[j];
				q = y[i] - y[j];
				a = n;
				for (k = 0; k < n; k++)
					for (l = 0; l < n; l++)
						if (x[k] - p == x[l] && y[k] - q == y[l])
							a--;
				if (ans > a)
					ans = a;
			}
		}
	}
	if (n > 1)
		printf("%d\n", ans);
	else
		printf("1\n");
	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>
int main()
{
	int n;
	scanf("%d", &n);
	int i;
	int x[55], y[55];
	for (i = 0; i < n; i++)
		scanf("%d %d", &x[i], &y[i]);
	int ans = 2000000009;
	int p, q;
	int j, k, l, a;
	for (i = 0; i < n; i++)
	{
		for (j = 0; j < n; j++)
		{
			if (i != j)
			{
				p = x[i] - x[j];
				q = y[i] - y[j];
				a = n;
				for (k = 0; k < n; k++)
					for (l = 0; l < n; l++)
						if (x[k] - p == x[l] && y[k] - q == y[l])
							a--;
				if (ans > a)
					ans = a;
			}
		}
	}
	if (n > 1)
		printf("%d\n", ans);
	else
		printf("1\n");
	return 0;
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%d"
.LC1:
	.string	"%d %d"
.LC2:
	.string	"%d\n"
.LC3:
	.string	"1"
	.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
	subq	$512, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-500(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -496(%rbp)
	jmp	.L2
.L3:
	leaq	-240(%rbp), %rdx
	movl	-496(%rbp), %eax
	cltq
	salq	$2, %rax
	addq	%rax, %rdx
	leaq	-464(%rbp), %rcx
	movl	-496(%rbp), %eax
	cltq
	salq	$2, %rax
	addq	%rcx, %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addl	$1, -496(%rbp)
.L2:
	movl	-500(%rbp), %eax
	cmpl	%eax, -496(%rbp)
	jl	.L3
	movl	$2000000009, -492(%rbp)
	movl	$0, -496(%rbp)
	jmp	.L4
.L13:
	movl	$0, -488(%rbp)
	jmp	.L5
.L12:
	movl	-496(%rbp), %eax
	cmpl	-488(%rbp), %eax
	je	.L6
	movl	-496(%rbp), %eax
	cltq
	movl	-464(%rbp,%rax,4), %edx
	movl	-488(%rbp), %eax
	cltq
	movl	-464(%rbp,%rax,4), %ecx
	movl	%edx, %eax
	subl	%ecx, %eax
	movl	%eax, -472(%rbp)
	movl	-496(%rbp), %eax
	cltq
	movl	-240(%rbp,%rax,4), %edx
	movl	-488(%rbp), %eax
	cltq
	movl	-240(%rbp,%rax,4), %ecx
	movl	%edx, %eax
	subl	%ecx, %eax
	movl	%eax, -468(%rbp)
	movl	-500(%rbp), %eax
	movl	%eax, -476(%rbp)
	movl	$0, -484(%rbp)
	jmp	.L7
.L11:
	movl	$0, -480(%rbp)
	jmp	.L8
.L10:
	movl	-484(%rbp), %eax
	cltq
	movl	-464(%rbp,%rax,4), %eax
	subl	-472(%rbp), %eax
	movl	%eax, %edx
	movl	-480(%rbp), %eax
	cltq
	movl	-464(%rbp,%rax,4), %eax
	cmpl	%eax, %edx
	jne	.L9
	movl	-484(%rbp), %eax
	cltq
	movl	-240(%rbp,%rax,4), %eax
	subl	-468(%rbp), %eax
	movl	%eax, %edx
	movl	-480(%rbp), %eax
	cltq
	movl	-240(%rbp,%rax,4), %eax
	cmpl	%eax, %edx
	jne	.L9
	subl	$1, -476(%rbp)
.L9:
	addl	$1, -480(%rbp)
.L8:
	movl	-500(%rbp), %eax
	cmpl	%eax, -480(%rbp)
	jl	.L10
	addl	$1, -484(%rbp)
.L7:
	movl	-500(%rbp), %eax
	cmpl	%eax, -484(%rbp)
	jl	.L11
	movl	-492(%rbp), %eax
	cmpl	-476(%rbp), %eax
	jle	.L6
	movl	-476(%rbp), %eax
	movl	%eax, -492(%rbp)
.L6:
	addl	$1, -488(%rbp)
.L5:
	movl	-500(%rbp), %eax
	cmpl	%eax, -488(%rbp)
	jl	.L12
	addl	$1, -496(%rbp)
.L4:
	movl	-500(%rbp), %eax
	cmpl	%eax, -496(%rbp)
	jl	.L13
	movl	-500(%rbp), %eax
	cmpl	$1, %eax
	jle	.L14
	movl	-492(%rbp), %eax
	movl	%eax, %esi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	jmp	.L15
.L14:
	leaq	.LC3(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
.L15:
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L17
	call	__stack_chk_fail@PLT
.L17:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.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
	.section	.rodata
.LC0:
	.string	"%d"
.LC1:
	.string	"%d %d"
.LC2:
	.string	"%d\n"
.LC3:
	.string	"1"
	.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
	subq	$512, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-500(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -496(%rbp)
	jmp	.L2
.L3:
	leaq	-240(%rbp), %rdx
	movl	-496(%rbp), %eax
	cltq
	salq	$2, %rax
	addq	%rax, %rdx
	leaq	-464(%rbp), %rcx
	movl	-496(%rbp), %eax
	cltq
	salq	$2, %rax
	addq	%rcx, %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addl	$1, -496(%rbp)
.L2:
	movl	-500(%rbp), %eax
	cmpl	%eax, -496(%rbp)
	jl	.L3
	movl	$2000000009, -492(%rbp)
	movl	$0, -496(%rbp)
	jmp	.L4
.L13:
	movl	$0, -488(%rbp)
	jmp	.L5
.L12:
	movl	-496(%rbp), %eax
	cmpl	-488(%rbp), %eax
	je	.L6
	movl	-496(%rbp), %eax
	cltq
	movl	-464(%rbp,%rax,4), %edx
	movl	-488(%rbp), %eax
	cltq
	movl	-464(%rbp,%rax,4), %ecx
	movl	%edx, %eax
	subl	%ecx, %eax
	movl	%eax, -472(%rbp)
	movl	-496(%rbp), %eax
	cltq
	movl	-240(%rbp,%rax,4), %edx
	movl	-488(%rbp), %eax
	cltq
	movl	-240(%rbp,%rax,4), %ecx
	movl	%edx, %eax
	subl	%ecx, %eax
	movl	%eax, -468(%rbp)
	movl	-500(%rbp), %eax
	movl	%eax, -476(%rbp)
	movl	$0, -484(%rbp)
	jmp	.L7
.L11:
	movl	$0, -480(%rbp)
	jmp	.L8
.L10:
	movl	-484(%rbp), %eax
	cltq
	movl	-464(%rbp,%rax,4), %eax
	subl	-472(%rbp), %eax
	movl	%eax, %edx
	movl	-480(%rbp), %eax
	cltq
	movl	-464(%rbp,%rax,4), %eax
	cmpl	%eax, %edx
	jne	.L9
	movl	-484(%rbp), %eax
	cltq
	movl	-240(%rbp,%rax,4), %eax
	subl	-468(%rbp), %eax
	movl	%eax, %edx
	movl	-480(%rbp), %eax
	cltq
	movl	-240(%rbp,%rax,4), %eax
	cmpl	%eax, %edx
	jne	.L9
	subl	$1, -476(%rbp)
.L9:
	addl	$1, -480(%rbp)
.L8:
	movl	-500(%rbp), %eax
	cmpl	%eax, -480(%rbp)
	jl	.L10
	addl	$1, -484(%rbp)
.L7:
	movl	-500(%rbp), %eax
	cmpl	%eax, -484(%rbp)
	jl	.L11
	movl	-492(%rbp), %eax
	cmpl	-476(%rbp), %eax
	jle	.L6
	movl	-476(%rbp), %eax
	movl	%eax, -492(%rbp)
.L6:
	addl	$1, -488(%rbp)
.L5:
	movl	-500(%rbp), %eax
	cmpl	%eax, -488(%rbp)
	jl	.L12
	addl	$1, -496(%rbp)
.L4:
	movl	-500(%rbp), %eax
	cmpl	%eax, -496(%rbp)
	jl	.L13
	movl	-500(%rbp), %eax
	cmpl	$1, %eax
	jle	.L14
	movl	-492(%rbp), %eax
	movl	%eax, %esi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	jmp	.L15
.L14:
	leaq	.LC3(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
.L15:
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L17
	call	__stack_chk_fail@PLT
.L17:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.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:
