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 <limits.h>
#define MIN(a, b) ((a) < (b) ? (a) : (b))
#define MAX(a, b) ((a) > (b) ? (a) : (b))
#define ABS(a) ((a) < 0 ? -(a) : (a))
#define ABSS(a, b) ((a) > (b) ? (a) - (b) : (b) - (a))

typedef struct {
  int X;
  int Y;
} st_nums;

int main(void) {
  int N;
  scanf("%d", &N);

  st_nums nums[50];
  for(int i = 0; i < N; i++) {
    scanf("%d %d", &nums[i].X, &nums[i].Y);
  }
  int minCost = N;
  for(int i = 0; i < N-1; i++) {
    for(int j = i+1; j < N; j++) {
      int p = nums[i].X - nums[j].X;
      int q = nums[i].Y - nums[j].Y;
      int cost = N;
      for(int m = 0; m < N-1; m++) {
	for(int n = m+1; n < N; n++) {
	  if(((nums[m].X-p) == (nums[n].X) &&
	      (nums[m].Y-q) == (nums[n].Y)) ||
	     ((nums[m].X+p) == (nums[n].X) &&
	      (nums[m].Y+q) == (nums[n].Y)))
	    cost--;
	}
      }
      minCost = MIN(minCost, cost);
    }
  }
  printf("%d\n", minCost);
  return 0;
}
```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.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	$464, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-456(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -452(%rbp)
	jmp	.L2
.L3:
	leaq	-416(%rbp), %rdx
	movl	-452(%rbp), %eax
	cltq
	salq	$3, %rax
	addq	%rdx, %rax
	leaq	4(%rax), %rdx
	leaq	-416(%rbp), %rcx
	movl	-452(%rbp), %eax
	cltq
	salq	$3, %rax
	addq	%rcx, %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addl	$1, -452(%rbp)
.L2:
	movl	-456(%rbp), %eax
	cmpl	%eax, -452(%rbp)
	jl	.L3
	movl	-456(%rbp), %eax
	movl	%eax, -448(%rbp)
	movl	$0, -444(%rbp)
	jmp	.L4
.L14:
	movl	-444(%rbp), %eax
	addl	$1, %eax
	movl	%eax, -440(%rbp)
	jmp	.L5
.L13:
	movl	-444(%rbp), %eax
	cltq
	movl	-416(%rbp,%rax,8), %edx
	movl	-440(%rbp), %eax
	cltq
	movl	-416(%rbp,%rax,8), %ecx
	movl	%edx, %eax
	subl	%ecx, %eax
	movl	%eax, -424(%rbp)
	movl	-444(%rbp), %eax
	cltq
	movl	-412(%rbp,%rax,8), %edx
	movl	-440(%rbp), %eax
	cltq
	movl	-412(%rbp,%rax,8), %ecx
	movl	%edx, %eax
	subl	%ecx, %eax
	movl	%eax, -420(%rbp)
	movl	-456(%rbp), %eax
	movl	%eax, -436(%rbp)
	movl	$0, -432(%rbp)
	jmp	.L6
.L12:
	movl	-432(%rbp), %eax
	addl	$1, %eax
	movl	%eax, -428(%rbp)
	jmp	.L7
.L11:
	movl	-432(%rbp), %eax
	cltq
	movl	-416(%rbp,%rax,8), %eax
	subl	-424(%rbp), %eax
	movl	%eax, %edx
	movl	-428(%rbp), %eax
	cltq
	movl	-416(%rbp,%rax,8), %eax
	cmpl	%eax, %edx
	jne	.L8
	movl	-432(%rbp), %eax
	cltq
	movl	-412(%rbp,%rax,8), %eax
	subl	-420(%rbp), %eax
	movl	%eax, %edx
	movl	-428(%rbp), %eax
	cltq
	movl	-412(%rbp,%rax,8), %eax
	cmpl	%eax, %edx
	je	.L9
.L8:
	movl	-432(%rbp), %eax
	cltq
	movl	-416(%rbp,%rax,8), %edx
	movl	-424(%rbp), %eax
	addl	%eax, %edx
	movl	-428(%rbp), %eax
	cltq
	movl	-416(%rbp,%rax,8), %eax
	cmpl	%eax, %edx
	jne	.L10
	movl	-432(%rbp), %eax
	cltq
	movl	-412(%rbp,%rax,8), %edx
	movl	-420(%rbp), %eax
	addl	%eax, %edx
	movl	-428(%rbp), %eax
	cltq
	movl	-412(%rbp,%rax,8), %eax
	cmpl	%eax, %edx
	jne	.L10
.L9:
	subl	$1, -436(%rbp)
.L10:
	addl	$1, -428(%rbp)
.L7:
	movl	-456(%rbp), %eax
	cmpl	%eax, -428(%rbp)
	jl	.L11
	addl	$1, -432(%rbp)
.L6:
	movl	-456(%rbp), %eax
	subl	$1, %eax
	cmpl	%eax, -432(%rbp)
	jl	.L12
	movl	-448(%rbp), %edx
	movl	-436(%rbp), %eax
	cmpl	%eax, %edx
	cmovle	%edx, %eax
	movl	%eax, -448(%rbp)
	addl	$1, -440(%rbp)
.L5:
	movl	-456(%rbp), %eax
	cmpl	%eax, -440(%rbp)
	jl	.L13
	addl	$1, -444(%rbp)
.L4:
	movl	-456(%rbp), %eax
	subl	$1, %eax
	cmpl	%eax, -444(%rbp)
	jl	.L14
	movl	-448(%rbp), %eax
	movl	%eax, %esi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L16
	call	__stack_chk_fail@PLT
.L16:
	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:
.LFB39:
	.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	76(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movl	76(%rsp), %eax
	movl	%eax, 20(%rsp)
	testl	%eax, %eax
	jle	.L2
	leaq	80(%rsp), %rax
	xorl	%ebp, %ebp
	leaq	.LC1(%rip), %r12
	movq	%rax, 24(%rsp)
	movq	%rax, %rbx
.L3:
	leaq	4(%rbx), %rdx
	movq	%rbx, %rsi
	movq	%r12, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	76(%rsp), %r14d
	addl	$1, %ebp
	addq	$8, %rbx
	cmpl	%ebp, %r14d
	jg	.L3
	cmpl	$1, %r14d
	jle	.L14
	leal	-2(%r14), %eax
	movl	%r14d, 20(%rsp)
	leal	-1(%r14), %r13d
	leaq	2(%rax), %r12
	movq	24(%rsp), %rax
	leaq	88(%rsp), %r15
	movq	$1, 48(%rsp)
	movq	%rax, 56(%rsp)
.L12:
	movq	48(%rsp), %rdi
	cmpl	%edi, %r14d
	jle	.L4
	movq	56(%rsp), %rbx
	movl	(%rbx), %eax
	movq	%rbx, 8(%rsp)
	movl	%eax, 32(%rsp)
	movl	4(%rbx), %eax
	movl	%eax, 36(%rsp)
	movl	%r13d, %eax
	subl	%edi, %eax
	leaq	-1(%rdi,%rax), %rax
	leaq	(%r15,%rax,8), %rax
	movq	%rax, 40(%rsp)
	.p2align 4,,10
	.p2align 3
.L11:
	movq	8(%rsp), %rax
	movq	24(%rsp), %rdi
	movl	%r14d, %ebx
	movl	$1, %r10d
	movl	32(%rsp), %ebp
	movl	36(%rsp), %r11d
	subl	8(%rax), %ebp
	subl	12(%rax), %r11d
	.p2align 4,,10
	.p2align 3
.L10:
	cmpl	%r10d, %r14d
	jle	.L5
	movl	(%rdi), %esi
	movl	%r13d, %eax
	subl	%r10d, %eax
	movl	%esi, %r9d
	leaq	-1(%r10,%rax), %rax
	addl	%ebp, %esi
	leaq	(%r15,%rax,8), %r8
	subl	%ebp, %r9d
	movq	%rdi, %rax
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L6:
	cmpl	%esi, %edx
	je	.L22
.L8:
	addq	$8, %rax
	cmpq	%rax, %r8
	je	.L5
.L9:
	movl	8(%rax), %edx
	cmpl	%edx, %r9d
	jne	.L6
	movl	4(%rdi), %ecx
	subl	%r11d, %ecx
	cmpl	12(%rax), %ecx
	jne	.L6
	subl	$1, %ebx
.L24:
	addq	$8, %rax
	cmpq	%rax, %r8
	jne	.L9
	.p2align 4,,10
	.p2align 3
.L5:
	addq	$1, %r10
	addq	$8, %rdi
	cmpq	%r12, %r10
	jne	.L10
	movl	20(%rsp), %eax
	cmpl	%ebx, %eax
	cmovle	%eax, %ebx
	addq	$8, 8(%rsp)
	movq	8(%rsp), %rax
	movl	%ebx, 20(%rsp)
	cmpq	40(%rsp), %rax
	jne	.L11
.L4:
	addq	$1, 48(%rsp)
	movq	48(%rsp), %rax
	addq	$8, 56(%rsp)
	cmpq	%r12, %rax
	jne	.L12
.L2:
	movl	20(%rsp), %edx
	xorl	%eax, %eax
	movl	$1, %edi
	leaq	.LC2(%rip), %rsi
	call	__printf_chk@PLT
	movq	488(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L23
	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
	.p2align 4,,10
	.p2align 3
.L22:
	.cfi_restore_state
	movl	4(%rdi), %edx
	addl	%r11d, %edx
	cmpl	12(%rax), %edx
	jne	.L8
	subl	$1, %ebx
	jmp	.L24
.L14:
	movl	%r14d, 20(%rsp)
	jmp	.L2
.L23:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE39:
	.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"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB39:
	.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	76(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movl	76(%rsp), %eax
	movl	%eax, 20(%rsp)
	testl	%eax, %eax
	jle	.L2
	leaq	80(%rsp), %rax
	xorl	%ebp, %ebp
	leaq	.LC1(%rip), %r12
	movq	%rax, 24(%rsp)
	movq	%rax, %rbx
.L3:
	leaq	4(%rbx), %rdx
	movq	%rbx, %rsi
	movq	%r12, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	76(%rsp), %r14d
	addl	$1, %ebp
	addq	$8, %rbx
	cmpl	%ebp, %r14d
	jg	.L3
	cmpl	$1, %r14d
	jle	.L14
	leal	-2(%r14), %eax
	movl	%r14d, 20(%rsp)
	leal	-1(%r14), %r13d
	leaq	2(%rax), %r12
	movq	24(%rsp), %rax
	leaq	88(%rsp), %r15
	movq	$1, 48(%rsp)
	movq	%rax, 56(%rsp)
.L12:
	movq	48(%rsp), %rdi
	cmpl	%edi, %r14d
	jle	.L4
	movq	56(%rsp), %rbx
	movl	(%rbx), %eax
	movq	%rbx, 8(%rsp)
	movl	%eax, 32(%rsp)
	movl	4(%rbx), %eax
	movl	%eax, 36(%rsp)
	movl	%r13d, %eax
	subl	%edi, %eax
	leaq	-1(%rdi,%rax), %rax
	leaq	(%r15,%rax,8), %rax
	movq	%rax, 40(%rsp)
	.p2align 4,,10
	.p2align 3
.L11:
	movq	8(%rsp), %rax
	movq	24(%rsp), %rdi
	movl	%r14d, %ebx
	movl	$1, %r10d
	movl	32(%rsp), %ebp
	movl	36(%rsp), %r11d
	subl	8(%rax), %ebp
	subl	12(%rax), %r11d
	.p2align 4,,10
	.p2align 3
.L10:
	cmpl	%r10d, %r14d
	jle	.L5
	movl	(%rdi), %esi
	movl	%r13d, %eax
	subl	%r10d, %eax
	movl	%esi, %r9d
	leaq	-1(%r10,%rax), %rax
	addl	%ebp, %esi
	leaq	(%r15,%rax,8), %r8
	subl	%ebp, %r9d
	movq	%rdi, %rax
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L6:
	cmpl	%esi, %edx
	je	.L22
.L8:
	addq	$8, %rax
	cmpq	%rax, %r8
	je	.L5
.L9:
	movl	8(%rax), %edx
	cmpl	%edx, %r9d
	jne	.L6
	movl	4(%rdi), %ecx
	subl	%r11d, %ecx
	cmpl	12(%rax), %ecx
	jne	.L6
	subl	$1, %ebx
.L24:
	addq	$8, %rax
	cmpq	%rax, %r8
	jne	.L9
	.p2align 4,,10
	.p2align 3
.L5:
	addq	$1, %r10
	addq	$8, %rdi
	cmpq	%r12, %r10
	jne	.L10
	movl	20(%rsp), %eax
	cmpl	%ebx, %eax
	cmovle	%eax, %ebx
	addq	$8, 8(%rsp)
	movq	8(%rsp), %rax
	movl	%ebx, 20(%rsp)
	cmpq	40(%rsp), %rax
	jne	.L11
.L4:
	addq	$1, 48(%rsp)
	movq	48(%rsp), %rax
	addq	$8, 56(%rsp)
	cmpq	%r12, %rax
	jne	.L12
.L2:
	movl	20(%rsp), %edx
	xorl	%eax, %eax
	movl	$1, %edi
	leaq	.LC2(%rip), %rsi
	call	__printf_chk@PLT
	movq	488(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L23
	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
	.p2align 4,,10
	.p2align 3
.L22:
	.cfi_restore_state
	movl	4(%rdi), %edx
	addl	%r11d, %edx
	cmpl	12(%rax), %edx
	jne	.L8
	subl	$1, %ebx
	jmp	.L24
.L14:
	movl	%r14d, 20(%rsp)
	jmp	.L2
.L23:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE39:
	.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>
#include <stdlib.h>
#include <limits.h>
#define MIN(a, b) ((a) < (b) ? (a) : (b))
#define MAX(a, b) ((a) > (b) ? (a) : (b))
#define ABS(a) ((a) < 0 ? -(a) : (a))
#define ABSS(a, b) ((a) > (b) ? (a) - (b) : (b) - (a))

typedef struct {
  int X;
  int Y;
} st_nums;

int main(void) {
  int N;
  scanf("%d", &N);

  st_nums nums[50];
  for(int i = 0; i < N; i++) {
    scanf("%d %d", &nums[i].X, &nums[i].Y);
  }
  int minCost = N;
  for(int i = 0; i < N-1; i++) {
    for(int j = i+1; j < N; j++) {
      int p = nums[i].X - nums[j].X;
      int q = nums[i].Y - nums[j].Y;
      int cost = N;
      for(int m = 0; m < N-1; m++) {
	for(int n = m+1; n < N; n++) {
	  if(((nums[m].X-p) == (nums[n].X) &&
	      (nums[m].Y-q) == (nums[n].Y)) ||
	     ((nums[m].X+p) == (nums[n].X) &&
	      (nums[m].Y+q) == (nums[n].Y)))
	    cost--;
	}
      }
      minCost = MIN(minCost, cost);
    }
  }
  printf("%d\n", minCost);
  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 <limits.h>
#define MIN(a, b) ((a) < (b) ? (a) : (b))
#define MAX(a, b) ((a) > (b) ? (a) : (b))
#define ABS(a) ((a) < 0 ? -(a) : (a))
#define ABSS(a, b) ((a) > (b) ? (a) - (b) : (b) - (a))

typedef struct {
  int X;
  int Y;
} st_nums;

int main(void) {
  int N;
  scanf("%d", &N);

  st_nums nums[50];
  for(int i = 0; i < N; i++) {
    scanf("%d %d", &nums[i].X, &nums[i].Y);
  }
  int minCost = N;
  for(int i = 0; i < N-1; i++) {
    for(int j = i+1; j < N; j++) {
      int p = nums[i].X - nums[j].X;
      int q = nums[i].Y - nums[j].Y;
      int cost = N;
      for(int m = 0; m < N-1; m++) {
	for(int n = m+1; n < N; n++) {
	  if(((nums[m].X-p) == (nums[n].X) &&
	      (nums[m].Y-q) == (nums[n].Y)) ||
	     ((nums[m].X+p) == (nums[n].X) &&
	      (nums[m].Y+q) == (nums[n].Y)))
	    cost--;
	}
      }
      minCost = MIN(minCost, cost);
    }
  }
  printf("%d\n", minCost);
  return 0;
}
```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.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	$464, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-456(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -452(%rbp)
	jmp	.L2
.L3:
	leaq	-416(%rbp), %rdx
	movl	-452(%rbp), %eax
	cltq
	salq	$3, %rax
	addq	%rdx, %rax
	leaq	4(%rax), %rdx
	leaq	-416(%rbp), %rcx
	movl	-452(%rbp), %eax
	cltq
	salq	$3, %rax
	addq	%rcx, %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addl	$1, -452(%rbp)
.L2:
	movl	-456(%rbp), %eax
	cmpl	%eax, -452(%rbp)
	jl	.L3
	movl	-456(%rbp), %eax
	movl	%eax, -448(%rbp)
	movl	$0, -444(%rbp)
	jmp	.L4
.L14:
	movl	-444(%rbp), %eax
	addl	$1, %eax
	movl	%eax, -440(%rbp)
	jmp	.L5
.L13:
	movl	-444(%rbp), %eax
	cltq
	movl	-416(%rbp,%rax,8), %edx
	movl	-440(%rbp), %eax
	cltq
	movl	-416(%rbp,%rax,8), %ecx
	movl	%edx, %eax
	subl	%ecx, %eax
	movl	%eax, -424(%rbp)
	movl	-444(%rbp), %eax
	cltq
	movl	-412(%rbp,%rax,8), %edx
	movl	-440(%rbp), %eax
	cltq
	movl	-412(%rbp,%rax,8), %ecx
	movl	%edx, %eax
	subl	%ecx, %eax
	movl	%eax, -420(%rbp)
	movl	-456(%rbp), %eax
	movl	%eax, -436(%rbp)
	movl	$0, -432(%rbp)
	jmp	.L6
.L12:
	movl	-432(%rbp), %eax
	addl	$1, %eax
	movl	%eax, -428(%rbp)
	jmp	.L7
.L11:
	movl	-432(%rbp), %eax
	cltq
	movl	-416(%rbp,%rax,8), %eax
	subl	-424(%rbp), %eax
	movl	%eax, %edx
	movl	-428(%rbp), %eax
	cltq
	movl	-416(%rbp,%rax,8), %eax
	cmpl	%eax, %edx
	jne	.L8
	movl	-432(%rbp), %eax
	cltq
	movl	-412(%rbp,%rax,8), %eax
	subl	-420(%rbp), %eax
	movl	%eax, %edx
	movl	-428(%rbp), %eax
	cltq
	movl	-412(%rbp,%rax,8), %eax
	cmpl	%eax, %edx
	je	.L9
.L8:
	movl	-432(%rbp), %eax
	cltq
	movl	-416(%rbp,%rax,8), %edx
	movl	-424(%rbp), %eax
	addl	%eax, %edx
	movl	-428(%rbp), %eax
	cltq
	movl	-416(%rbp,%rax,8), %eax
	cmpl	%eax, %edx
	jne	.L10
	movl	-432(%rbp), %eax
	cltq
	movl	-412(%rbp,%rax,8), %edx
	movl	-420(%rbp), %eax
	addl	%eax, %edx
	movl	-428(%rbp), %eax
	cltq
	movl	-412(%rbp,%rax,8), %eax
	cmpl	%eax, %edx
	jne	.L10
.L9:
	subl	$1, -436(%rbp)
.L10:
	addl	$1, -428(%rbp)
.L7:
	movl	-456(%rbp), %eax
	cmpl	%eax, -428(%rbp)
	jl	.L11
	addl	$1, -432(%rbp)
.L6:
	movl	-456(%rbp), %eax
	subl	$1, %eax
	cmpl	%eax, -432(%rbp)
	jl	.L12
	movl	-448(%rbp), %edx
	movl	-436(%rbp), %eax
	cmpl	%eax, %edx
	cmovle	%edx, %eax
	movl	%eax, -448(%rbp)
	addl	$1, -440(%rbp)
.L5:
	movl	-456(%rbp), %eax
	cmpl	%eax, -440(%rbp)
	jl	.L13
	addl	$1, -444(%rbp)
.L4:
	movl	-456(%rbp), %eax
	subl	$1, %eax
	cmpl	%eax, -444(%rbp)
	jl	.L14
	movl	-448(%rbp), %eax
	movl	%eax, %esi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L16
	call	__stack_chk_fail@PLT
.L16:
	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
	.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	$464, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-456(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -452(%rbp)
	jmp	.L2
.L3:
	leaq	-416(%rbp), %rdx
	movl	-452(%rbp), %eax
	cltq
	salq	$3, %rax
	addq	%rdx, %rax
	leaq	4(%rax), %rdx
	leaq	-416(%rbp), %rcx
	movl	-452(%rbp), %eax
	cltq
	salq	$3, %rax
	addq	%rcx, %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addl	$1, -452(%rbp)
.L2:
	movl	-456(%rbp), %eax
	cmpl	%eax, -452(%rbp)
	jl	.L3
	movl	-456(%rbp), %eax
	movl	%eax, -448(%rbp)
	movl	$0, -444(%rbp)
	jmp	.L4
.L14:
	movl	-444(%rbp), %eax
	addl	$1, %eax
	movl	%eax, -440(%rbp)
	jmp	.L5
.L13:
	movl	-444(%rbp), %eax
	cltq
	movl	-416(%rbp,%rax,8), %edx
	movl	-440(%rbp), %eax
	cltq
	movl	-416(%rbp,%rax,8), %ecx
	movl	%edx, %eax
	subl	%ecx, %eax
	movl	%eax, -424(%rbp)
	movl	-444(%rbp), %eax
	cltq
	movl	-412(%rbp,%rax,8), %edx
	movl	-440(%rbp), %eax
	cltq
	movl	-412(%rbp,%rax,8), %ecx
	movl	%edx, %eax
	subl	%ecx, %eax
	movl	%eax, -420(%rbp)
	movl	-456(%rbp), %eax
	movl	%eax, -436(%rbp)
	movl	$0, -432(%rbp)
	jmp	.L6
.L12:
	movl	-432(%rbp), %eax
	addl	$1, %eax
	movl	%eax, -428(%rbp)
	jmp	.L7
.L11:
	movl	-432(%rbp), %eax
	cltq
	movl	-416(%rbp,%rax,8), %eax
	subl	-424(%rbp), %eax
	movl	%eax, %edx
	movl	-428(%rbp), %eax
	cltq
	movl	-416(%rbp,%rax,8), %eax
	cmpl	%eax, %edx
	jne	.L8
	movl	-432(%rbp), %eax
	cltq
	movl	-412(%rbp,%rax,8), %eax
	subl	-420(%rbp), %eax
	movl	%eax, %edx
	movl	-428(%rbp), %eax
	cltq
	movl	-412(%rbp,%rax,8), %eax
	cmpl	%eax, %edx
	je	.L9
.L8:
	movl	-432(%rbp), %eax
	cltq
	movl	-416(%rbp,%rax,8), %edx
	movl	-424(%rbp), %eax
	addl	%eax, %edx
	movl	-428(%rbp), %eax
	cltq
	movl	-416(%rbp,%rax,8), %eax
	cmpl	%eax, %edx
	jne	.L10
	movl	-432(%rbp), %eax
	cltq
	movl	-412(%rbp,%rax,8), %edx
	movl	-420(%rbp), %eax
	addl	%eax, %edx
	movl	-428(%rbp), %eax
	cltq
	movl	-412(%rbp,%rax,8), %eax
	cmpl	%eax, %edx
	jne	.L10
.L9:
	subl	$1, -436(%rbp)
.L10:
	addl	$1, -428(%rbp)
.L7:
	movl	-456(%rbp), %eax
	cmpl	%eax, -428(%rbp)
	jl	.L11
	addl	$1, -432(%rbp)
.L6:
	movl	-456(%rbp), %eax
	subl	$1, %eax
	cmpl	%eax, -432(%rbp)
	jl	.L12
	movl	-448(%rbp), %edx
	movl	-436(%rbp), %eax
	cmpl	%eax, %edx
	cmovle	%edx, %eax
	movl	%eax, -448(%rbp)
	addl	$1, -440(%rbp)
.L5:
	movl	-456(%rbp), %eax
	cmpl	%eax, -440(%rbp)
	jl	.L13
	addl	$1, -444(%rbp)
.L4:
	movl	-456(%rbp), %eax
	subl	$1, %eax
	cmpl	%eax, -444(%rbp)
	jl	.L14
	movl	-448(%rbp), %eax
	movl	%eax, %esi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L16
	call	__stack_chk_fail@PLT
.L16:
	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:
