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>
#define df 0
typedef struct{
  int x;
  int y;
}pair;

int c(const void* a,const void* b){
  if(((pair*)a)->x>((pair*)b)->x) return 1;
  if(((pair*)a)->x<((pair*)b)->x) return -1;
  if(((pair*)a)->y>((pair*)b)->y) return 1;
  if(((pair*)a)->y<((pair*)b)->y) return -1;
  return 0;
}
int main (){
  int n;
  scanf("%d",&n);
  int i,j;
  pair pos[n],dif[n*n];
  for(i=0;i<n;i++){
    scanf("%d%d",&pos[i].x,&pos[i].y);
  }
  if(n==1) {
    printf("1");
    return 0;
  }
  int k=0;
  for(i=0;i<n;i++){
    for(j=0;j<n;j++){
      if(i==j)continue;
      dif[k].x=pos[i].x-pos[j].x;
      dif[k].y=pos[i].y-pos[j].y;
      k++;
    }
  }
  qsort(dif,k,sizeof(pair),c);
  int max=1,temp=1;
  for(i=1;i<k;i++){
    if(c(&(dif[i]),&(dif[i-1]))==0)temp++;
    else temp=1;
    if(max<temp)max=temp;
  }
  printf("%d",n-max);
}


/// check df==0 ///
```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.globl	c
	.type	c, @function
c:
.LFB6:
	.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
	movl	(%rax), %edx
	movq	-16(%rbp), %rax
	movl	(%rax), %eax
	cmpl	%eax, %edx
	jle	.L2
	movl	$1, %eax
	jmp	.L3
.L2:
	movq	-8(%rbp), %rax
	movl	(%rax), %edx
	movq	-16(%rbp), %rax
	movl	(%rax), %eax
	cmpl	%eax, %edx
	jge	.L4
	movl	$-1, %eax
	jmp	.L3
.L4:
	movq	-8(%rbp), %rax
	movl	4(%rax), %edx
	movq	-16(%rbp), %rax
	movl	4(%rax), %eax
	cmpl	%eax, %edx
	jle	.L5
	movl	$1, %eax
	jmp	.L3
.L5:
	movq	-8(%rbp), %rax
	movl	4(%rax), %edx
	movq	-16(%rbp), %rax
	movl	4(%rax), %eax
	cmpl	%eax, %edx
	jge	.L6
	movl	$-1, %eax
	jmp	.L3
.L6:
	movl	$0, %eax
.L3:
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	c, .-c
	.section	.rodata
.LC0:
	.string	"%d"
.LC1:
	.string	"%d%d"
	.text
	.globl	main
	.type	main, @function
main:
.LFB7:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$104, %rsp
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	movq	%fs:40, %rax
	movq	%rax, -56(%rbp)
	xorl	%eax, %eax
	movq	%rsp, %rax
	movq	%rax, %rbx
	leaq	-112(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-112(%rbp), %eax
	movslq	%eax, %rdx
	subq	$1, %rdx
	movq	%rdx, -88(%rbp)
	movslq	%eax, %rdx
	movq	%rdx, -128(%rbp)
	movq	$0, -120(%rbp)
	movslq	%eax, %rdx
	movq	%rdx, -144(%rbp)
	movq	$0, -136(%rbp)
	cltq
	leaq	0(,%rax,8), %rdx
	movl	$16, %eax
	subq	$1, %rax
	addq	%rdx, %rax
	movl	$16, %edi
	movl	$0, %edx
	divq	%rdi
	imulq	$16, %rax, %rax
	movq	%rax, %rcx
	andq	$-4096, %rcx
	movq	%rsp, %rdx
	subq	%rcx, %rdx
.L8:
	cmpq	%rdx, %rsp
	je	.L9
	subq	$4096, %rsp
	orq	$0, 4088(%rsp)
	jmp	.L8
.L9:
	movq	%rax, %rdx
	andl	$4095, %edx
	subq	%rdx, %rsp
	movq	%rax, %rdx
	andl	$4095, %edx
	testq	%rdx, %rdx
	je	.L10
	andl	$4095, %eax
	subq	$8, %rax
	addq	%rsp, %rax
	orq	$0, (%rax)
.L10:
	movq	%rsp, %rax
	addq	$3, %rax
	shrq	$2, %rax
	salq	$2, %rax
	movq	%rax, -80(%rbp)
	movl	-112(%rbp), %edx
	movl	-112(%rbp), %eax
	imull	%edx, %eax
	movslq	%eax, %rdx
	subq	$1, %rdx
	movq	%rdx, -72(%rbp)
	movslq	%eax, %rdx
	movq	%rdx, %r14
	movl	$0, %r15d
	movslq	%eax, %rdx
	movq	%rdx, %r12
	movl	$0, %r13d
	cltq
	leaq	0(,%rax,8), %rdx
	movl	$16, %eax
	subq	$1, %rax
	addq	%rdx, %rax
	movl	$16, %esi
	movl	$0, %edx
	divq	%rsi
	imulq	$16, %rax, %rax
	movq	%rax, %rcx
	andq	$-4096, %rcx
	movq	%rsp, %rdx
	subq	%rcx, %rdx
.L11:
	cmpq	%rdx, %rsp
	je	.L12
	subq	$4096, %rsp
	orq	$0, 4088(%rsp)
	jmp	.L11
.L12:
	movq	%rax, %rdx
	andl	$4095, %edx
	subq	%rdx, %rsp
	movq	%rax, %rdx
	andl	$4095, %edx
	testq	%rdx, %rdx
	je	.L13
	andl	$4095, %eax
	subq	$8, %rax
	addq	%rsp, %rax
	orq	$0, (%rax)
.L13:
	movq	%rsp, %rax
	addq	$3, %rax
	shrq	$2, %rax
	salq	$2, %rax
	movq	%rax, -64(%rbp)
	movl	$0, -108(%rbp)
	jmp	.L14
.L15:
	movl	-108(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rdx
	movq	-80(%rbp), %rax
	addq	%rdx, %rax
	leaq	4(%rax), %rdx
	movl	-108(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rcx
	movq	-80(%rbp), %rax
	addq	%rcx, %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addl	$1, -108(%rbp)
.L14:
	movl	-112(%rbp), %eax
	cmpl	%eax, -108(%rbp)
	jl	.L15
	movl	-112(%rbp), %eax
	cmpl	$1, %eax
	jne	.L16
	movl	$49, %edi
	call	putchar@PLT
	movl	$0, %eax
	movq	%rbx, %rsp
	jmp	.L17
.L16:
	movl	$0, -100(%rbp)
	movl	$0, -108(%rbp)
	jmp	.L18
.L23:
	movl	$0, -104(%rbp)
	jmp	.L19
.L22:
	movl	-108(%rbp), %eax
	cmpl	-104(%rbp), %eax
	je	.L30
	movq	-80(%rbp), %rax
	movl	-108(%rbp), %edx
	movslq	%edx, %rdx
	movl	(%rax,%rdx,8), %ecx
	movq	-80(%rbp), %rax
	movl	-104(%rbp), %edx
	movslq	%edx, %rdx
	movl	(%rax,%rdx,8), %eax
	subl	%eax, %ecx
	movq	-64(%rbp), %rax
	movl	-100(%rbp), %edx
	movslq	%edx, %rdx
	movl	%ecx, (%rax,%rdx,8)
	movq	-80(%rbp), %rax
	movl	-108(%rbp), %edx
	movslq	%edx, %rdx
	movl	4(%rax,%rdx,8), %ecx
	movq	-80(%rbp), %rax
	movl	-104(%rbp), %edx
	movslq	%edx, %rdx
	movl	4(%rax,%rdx,8), %eax
	subl	%eax, %ecx
	movq	-64(%rbp), %rax
	movl	-100(%rbp), %edx
	movslq	%edx, %rdx
	movl	%ecx, 4(%rax,%rdx,8)
	addl	$1, -100(%rbp)
	jmp	.L21
.L30:
	nop
.L21:
	addl	$1, -104(%rbp)
.L19:
	movl	-112(%rbp), %eax
	cmpl	%eax, -104(%rbp)
	jl	.L22
	addl	$1, -108(%rbp)
.L18:
	movl	-112(%rbp), %eax
	cmpl	%eax, -108(%rbp)
	jl	.L23
	movl	-100(%rbp), %eax
	movslq	%eax, %rsi
	movq	-64(%rbp), %rax
	leaq	c(%rip), %rdx
	movq	%rdx, %rcx
	movl	$8, %edx
	movq	%rax, %rdi
	call	qsort@PLT
	movl	$1, -96(%rbp)
	movl	$1, -92(%rbp)
	movl	$1, -108(%rbp)
	jmp	.L24
.L28:
	movl	-108(%rbp), %eax
	subl	$1, %eax
	cltq
	leaq	0(,%rax,8), %rdx
	movq	-64(%rbp), %rax
	addq	%rax, %rdx
	movl	-108(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rcx
	movq	-64(%rbp), %rax
	addq	%rcx, %rax
	movq	%rdx, %rsi
	movq	%rax, %rdi
	call	c
	testl	%eax, %eax
	jne	.L25
	addl	$1, -92(%rbp)
	jmp	.L26
.L25:
	movl	$1, -92(%rbp)
.L26:
	movl	-96(%rbp), %eax
	cmpl	-92(%rbp), %eax
	jge	.L27
	movl	-92(%rbp), %eax
	movl	%eax, -96(%rbp)
.L27:
	addl	$1, -108(%rbp)
.L24:
	movl	-108(%rbp), %eax
	cmpl	-100(%rbp), %eax
	jl	.L28
	movl	-112(%rbp), %eax
	subl	-96(%rbp), %eax
	movl	%eax, %esi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movq	%rbx, %rsp
	movl	$0, %eax
.L17:
	movq	-56(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L29
	call	__stack_chk_fail@PLT
.L29:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.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	c
	.type	c, @function
c:
.LFB39:
	.cfi_startproc
	endbr64
	movl	(%rsi), %edx
	movl	$1, %eax
	cmpl	%edx, (%rdi)
	jg	.L1
	movl	$-1, %eax
	jl	.L1
	movl	4(%rsi), %ecx
	movl	$1, %eax
	cmpl	%ecx, 4(%rdi)
	jg	.L1
	setl	%al
	movzbl	%al, %eax
	negl	%eax
.L1:
	ret
	.cfi_endproc
.LFE39:
	.size	c, .-c
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d"
.LC1:
	.string	"%d%d"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB40:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	leaq	.LC0(%rip), %rdi
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	pushq	%r15
	pushq	%r14
	leaq	-60(%rbp), %rsi
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	movq	%fs:40, %rax
	movq	%rax, -56(%rbp)
	xorl	%eax, %eax
	movq	%rsp, -72(%rbp)
	call	__isoc99_scanf@PLT
	movslq	-60(%rbp), %rax
	movq	%rsp, %rsi
	movq	%rax, %rdx
	leaq	15(,%rax,8), %rax
	movq	%rax, %rcx
	andq	$-4096, %rax
	subq	%rax, %rsi
	andq	$-16, %rcx
	cmpq	%rsi, %rsp
	je	.L9
.L51:
	subq	$4096, %rsp
	orq	$0, 4088(%rsp)
	cmpq	%rsi, %rsp
	jne	.L51
.L9:
	andl	$4095, %ecx
	subq	%rcx, %rsp
	testq	%rcx, %rcx
	jne	.L52
.L10:
	movl	%edx, %eax
	movq	%rsp, %rsi
	movq	%rsp, %rbx
	imull	%edx, %eax
	cltq
	leaq	15(,%rax,8), %rax
	movq	%rax, %rcx
	andq	$-4096, %rax
	andq	$-16, %rcx
	subq	%rax, %rsi
.L11:
	cmpq	%rsi, %rsp
	je	.L12
	subq	$4096, %rsp
	orq	$0, 4088(%rsp)
	jmp	.L11
.L52:
	orq	$0, -8(%rsp,%rcx)
	jmp	.L10
.L12:
	andl	$4095, %ecx
	subq	%rcx, %rsp
	testq	%rcx, %rcx
	jne	.L53
.L13:
	leaq	3(%rsp), %r15
	movq	%r15, %rax
	andq	$-4, %r15
	shrq	$2, %rax
	movq	%rax, -80(%rbp)
	testl	%edx, %edx
	jle	.L14
	movq	%rbx, %r13
	movq	%rbx, %r14
	xorl	%r12d, %r12d
	.p2align 4,,10
	.p2align 3
.L15:
	leaq	4(%r14), %rdx
	movq	%r14, %rsi
	leaq	.LC1(%rip), %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	-60(%rbp), %r9d
	addl	$1, %r12d
	addq	$8, %r14
	cmpl	%r12d, %r9d
	jg	.L15
	cmpl	$1, %r9d
	je	.L16
	testl	%r9d, %r9d
	jle	.L14
	xorl	%r14d, %r14d
	xorl	%esi, %esi
	movslq	%r9d, %rdi
	.p2align 4,,10
	.p2align 3
.L17:
	xorl	%eax, %eax
	.p2align 4,,10
	.p2align 3
.L20:
	cmpl	%eax, %esi
	je	.L19
	movq	0(%r13), %xmm0
	movq	(%rbx,%rax,8), %xmm1
	movslq	%r14d, %rdx
	addl	$1, %r14d
	psubd	%xmm1, %xmm0
	movq	%xmm0, (%r15,%rdx,8)
.L19:
	addq	$1, %rax
	cmpq	%rdi, %rax
	jne	.L20
	addl	$1, %esi
	addq	$8, %r13
	cmpl	%esi, %r9d
	jne	.L17
	movslq	%r14d, %rsi
	leaq	c(%rip), %rcx
	movl	$8, %edx
	movq	%r15, %rdi
	call	qsort@PLT
	cmpl	$1, %r14d
	jle	.L31
	cmpl	$3, %r14d
	jle	.L32
	movq	-80(%rbp), %rax
	leaq	4(%r15), %rsi
	movl	$1, %edx
	movl	$1, %ecx
	movl	$1, %r8d
	movl	0(,%rax,4), %r9d
	leal	-4(%r14), %eax
	andl	$-2, %eax
	addl	$3, %eax
	jmp	.L26
	.p2align 4,,10
	.p2align 3
.L24:
	movl	12(%rsi), %r9d
	movl	$1, %edx
	cmpl	%r9d, %r10d
	je	.L54
.L25:
	cmpl	%edx, %edi
	cmovl	%edx, %edi
	cmpl	%edi, %ecx
	cmovl	%edi, %ecx
	addl	$2, %r8d
	addq	$16, %rsi
	cmpl	%eax, %r8d
	je	.L23
.L26:
	movl	4(%rsi), %r10d
	movl	$1, %edi
	cmpl	%r10d, %r9d
	jne	.L24
	movl	(%rsi), %ebx
	cmpl	%ebx, 8(%rsi)
	jne	.L24
	leal	1(%rdx), %edi
	jmp	.L24
.L54:
	movl	8(%rsi), %ebx
	cmpl	%ebx, 16(%rsi)
	jne	.L25
	leal	1(%rdi), %edx
	jmp	.L25
.L32:
	movl	$1, %edx
	movl	$1, %ecx
	movl	$1, %eax
.L23:
	cltq
	jmp	.L28
	.p2align 4,,10
	.p2align 3
.L38:
	movl	$1, %edx
	cmpl	%edx, %ecx
	cmovl	%edx, %ecx
	addq	$1, %rax
	cmpl	%eax, %r14d
	jle	.L22
.L28:
	movl	-8(%r15,%rax,8), %ebx
	cmpl	%ebx, (%r15,%rax,8)
	jne	.L38
	movl	-4(%r15,%rax,8), %ebx
	addl	$1, %edx
	cmpl	%ebx, 4(%r15,%rax,8)
	jne	.L38
	cmpl	%edx, %ecx
	cmovl	%edx, %ecx
	addq	$1, %rax
	cmpl	%eax, %r14d
	jg	.L28
	.p2align 4,,10
	.p2align 3
.L22:
	movl	-60(%rbp), %edx
	leaq	.LC0(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	subl	%ecx, %edx
	call	__printf_chk@PLT
	movq	-72(%rbp), %rsp
.L18:
	movq	-56(%rbp), %rax
	subq	%fs:40, %rax
	jne	.L55
	leaq	-40(%rbp), %rsp
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	.cfi_remember_state
	.cfi_def_cfa 7, 8
	ret
.L16:
	.cfi_restore_state
	movl	$49, %edi
	call	putchar@PLT
	movq	-72(%rbp), %rsp
	jmp	.L18
.L14:
	leaq	c(%rip), %rcx
	movl	$8, %edx
	xorl	%esi, %esi
	movq	%r15, %rdi
	call	qsort@PLT
	movl	$1, %ecx
	jmp	.L22
.L53:
	orq	$0, -8(%rsp,%rcx)
	jmp	.L13
.L31:
	movl	$1, %ecx
	jmp	.L22
.L55:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE40:
	.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
	.p2align 4
	.globl	c
	.type	c, @function
c:
.LFB39:
	.cfi_startproc
	endbr64
	movl	(%rsi), %edx
	movl	$1, %eax
	cmpl	%edx, (%rdi)
	jg	.L1
	movl	$-1, %eax
	jl	.L1
	movl	4(%rsi), %ecx
	movl	$1, %eax
	cmpl	%ecx, 4(%rdi)
	jg	.L1
	setl	%al
	movzbl	%al, %eax
	negl	%eax
.L1:
	ret
	.cfi_endproc
.LFE39:
	.size	c, .-c
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d"
.LC1:
	.string	"%d%d"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB40:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	leaq	.LC0(%rip), %rdi
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	pushq	%r15
	pushq	%r14
	leaq	-60(%rbp), %rsi
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	movq	%fs:40, %rax
	movq	%rax, -56(%rbp)
	xorl	%eax, %eax
	movq	%rsp, -72(%rbp)
	call	__isoc99_scanf@PLT
	movslq	-60(%rbp), %rax
	movq	%rsp, %rsi
	movq	%rax, %rdx
	leaq	15(,%rax,8), %rax
	movq	%rax, %rcx
	andq	$-4096, %rax
	subq	%rax, %rsi
	andq	$-16, %rcx
	cmpq	%rsi, %rsp
	je	.L9
.L51:
	subq	$4096, %rsp
	orq	$0, 4088(%rsp)
	cmpq	%rsi, %rsp
	jne	.L51
.L9:
	andl	$4095, %ecx
	subq	%rcx, %rsp
	testq	%rcx, %rcx
	jne	.L52
.L10:
	movl	%edx, %eax
	movq	%rsp, %rsi
	movq	%rsp, %rbx
	imull	%edx, %eax
	cltq
	leaq	15(,%rax,8), %rax
	movq	%rax, %rcx
	andq	$-4096, %rax
	andq	$-16, %rcx
	subq	%rax, %rsi
.L11:
	cmpq	%rsi, %rsp
	je	.L12
	subq	$4096, %rsp
	orq	$0, 4088(%rsp)
	jmp	.L11
.L52:
	orq	$0, -8(%rsp,%rcx)
	jmp	.L10
.L12:
	andl	$4095, %ecx
	subq	%rcx, %rsp
	testq	%rcx, %rcx
	jne	.L53
.L13:
	leaq	3(%rsp), %r15
	movq	%r15, %rax
	andq	$-4, %r15
	shrq	$2, %rax
	movq	%rax, -80(%rbp)
	testl	%edx, %edx
	jle	.L14
	movq	%rbx, %r13
	movq	%rbx, %r14
	xorl	%r12d, %r12d
	.p2align 4,,10
	.p2align 3
.L15:
	leaq	4(%r14), %rdx
	movq	%r14, %rsi
	leaq	.LC1(%rip), %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	-60(%rbp), %r9d
	addl	$1, %r12d
	addq	$8, %r14
	cmpl	%r12d, %r9d
	jg	.L15
	cmpl	$1, %r9d
	je	.L16
	testl	%r9d, %r9d
	jle	.L14
	xorl	%r14d, %r14d
	xorl	%esi, %esi
	movslq	%r9d, %rdi
	.p2align 4,,10
	.p2align 3
.L17:
	xorl	%eax, %eax
	.p2align 4,,10
	.p2align 3
.L20:
	cmpl	%eax, %esi
	je	.L19
	movq	0(%r13), %xmm0
	movq	(%rbx,%rax,8), %xmm1
	movslq	%r14d, %rdx
	addl	$1, %r14d
	psubd	%xmm1, %xmm0
	movq	%xmm0, (%r15,%rdx,8)
.L19:
	addq	$1, %rax
	cmpq	%rdi, %rax
	jne	.L20
	addl	$1, %esi
	addq	$8, %r13
	cmpl	%esi, %r9d
	jne	.L17
	movslq	%r14d, %rsi
	leaq	c(%rip), %rcx
	movl	$8, %edx
	movq	%r15, %rdi
	call	qsort@PLT
	cmpl	$1, %r14d
	jle	.L31
	cmpl	$3, %r14d
	jle	.L32
	movq	-80(%rbp), %rax
	leaq	4(%r15), %rsi
	movl	$1, %edx
	movl	$1, %ecx
	movl	$1, %r8d
	movl	0(,%rax,4), %r9d
	leal	-4(%r14), %eax
	andl	$-2, %eax
	addl	$3, %eax
	jmp	.L26
	.p2align 4,,10
	.p2align 3
.L24:
	movl	12(%rsi), %r9d
	movl	$1, %edx
	cmpl	%r9d, %r10d
	je	.L54
.L25:
	cmpl	%edx, %edi
	cmovl	%edx, %edi
	cmpl	%edi, %ecx
	cmovl	%edi, %ecx
	addl	$2, %r8d
	addq	$16, %rsi
	cmpl	%eax, %r8d
	je	.L23
.L26:
	movl	4(%rsi), %r10d
	movl	$1, %edi
	cmpl	%r10d, %r9d
	jne	.L24
	movl	(%rsi), %ebx
	cmpl	%ebx, 8(%rsi)
	jne	.L24
	leal	1(%rdx), %edi
	jmp	.L24
.L54:
	movl	8(%rsi), %ebx
	cmpl	%ebx, 16(%rsi)
	jne	.L25
	leal	1(%rdi), %edx
	jmp	.L25
.L32:
	movl	$1, %edx
	movl	$1, %ecx
	movl	$1, %eax
.L23:
	cltq
	jmp	.L28
	.p2align 4,,10
	.p2align 3
.L38:
	movl	$1, %edx
	cmpl	%edx, %ecx
	cmovl	%edx, %ecx
	addq	$1, %rax
	cmpl	%eax, %r14d
	jle	.L22
.L28:
	movl	-8(%r15,%rax,8), %ebx
	cmpl	%ebx, (%r15,%rax,8)
	jne	.L38
	movl	-4(%r15,%rax,8), %ebx
	addl	$1, %edx
	cmpl	%ebx, 4(%r15,%rax,8)
	jne	.L38
	cmpl	%edx, %ecx
	cmovl	%edx, %ecx
	addq	$1, %rax
	cmpl	%eax, %r14d
	jg	.L28
	.p2align 4,,10
	.p2align 3
.L22:
	movl	-60(%rbp), %edx
	leaq	.LC0(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	subl	%ecx, %edx
	call	__printf_chk@PLT
	movq	-72(%rbp), %rsp
.L18:
	movq	-56(%rbp), %rax
	subq	%fs:40, %rax
	jne	.L55
	leaq	-40(%rbp), %rsp
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	.cfi_remember_state
	.cfi_def_cfa 7, 8
	ret
.L16:
	.cfi_restore_state
	movl	$49, %edi
	call	putchar@PLT
	movq	-72(%rbp), %rsp
	jmp	.L18
.L14:
	leaq	c(%rip), %rcx
	movl	$8, %edx
	xorl	%esi, %esi
	movq	%r15, %rdi
	call	qsort@PLT
	movl	$1, %ecx
	jmp	.L22
.L53:
	orq	$0, -8(%rsp,%rcx)
	jmp	.L13
.L31:
	movl	$1, %ecx
	jmp	.L22
.L55:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE40:
	.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>
#define df 0
typedef struct{
  int x;
  int y;
}pair;

int c(const void* a,const void* b){
  if(((pair*)a)->x>((pair*)b)->x) return 1;
  if(((pair*)a)->x<((pair*)b)->x) return -1;
  if(((pair*)a)->y>((pair*)b)->y) return 1;
  if(((pair*)a)->y<((pair*)b)->y) return -1;
  return 0;
}
int main (){
  int n;
  scanf("%d",&n);
  int i,j;
  pair pos[n],dif[n*n];
  for(i=0;i<n;i++){
    scanf("%d%d",&pos[i].x,&pos[i].y);
  }
  if(n==1) {
    printf("1");
    return 0;
  }
  int k=0;
  for(i=0;i<n;i++){
    for(j=0;j<n;j++){
      if(i==j)continue;
      dif[k].x=pos[i].x-pos[j].x;
      dif[k].y=pos[i].y-pos[j].y;
      k++;
    }
  }
  qsort(dif,k,sizeof(pair),c);
  int max=1,temp=1;
  for(i=1;i<k;i++){
    if(c(&(dif[i]),&(dif[i-1]))==0)temp++;
    else temp=1;
    if(max<temp)max=temp;
  }
  printf("%d",n-max);
}


/// check df==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>
#define df 0
typedef struct{
  int x;
  int y;
}pair;

int c(const void* a,const void* b){
  if(((pair*)a)->x>((pair*)b)->x) return 1;
  if(((pair*)a)->x<((pair*)b)->x) return -1;
  if(((pair*)a)->y>((pair*)b)->y) return 1;
  if(((pair*)a)->y<((pair*)b)->y) return -1;
  return 0;
}
int main (){
  int n;
  scanf("%d",&n);
  int i,j;
  pair pos[n],dif[n*n];
  for(i=0;i<n;i++){
    scanf("%d%d",&pos[i].x,&pos[i].y);
  }
  if(n==1) {
    printf("1");
    return 0;
  }
  int k=0;
  for(i=0;i<n;i++){
    for(j=0;j<n;j++){
      if(i==j)continue;
      dif[k].x=pos[i].x-pos[j].x;
      dif[k].y=pos[i].y-pos[j].y;
      k++;
    }
  }
  qsort(dif,k,sizeof(pair),c);
  int max=1,temp=1;
  for(i=1;i<k;i++){
    if(c(&(dif[i]),&(dif[i-1]))==0)temp++;
    else temp=1;
    if(max<temp)max=temp;
  }
  printf("%d",n-max);
}


/// check df==0 ///
```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.globl	c
	.type	c, @function
c:
.LFB6:
	.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
	movl	(%rax), %edx
	movq	-16(%rbp), %rax
	movl	(%rax), %eax
	cmpl	%eax, %edx
	jle	.L2
	movl	$1, %eax
	jmp	.L3
.L2:
	movq	-8(%rbp), %rax
	movl	(%rax), %edx
	movq	-16(%rbp), %rax
	movl	(%rax), %eax
	cmpl	%eax, %edx
	jge	.L4
	movl	$-1, %eax
	jmp	.L3
.L4:
	movq	-8(%rbp), %rax
	movl	4(%rax), %edx
	movq	-16(%rbp), %rax
	movl	4(%rax), %eax
	cmpl	%eax, %edx
	jle	.L5
	movl	$1, %eax
	jmp	.L3
.L5:
	movq	-8(%rbp), %rax
	movl	4(%rax), %edx
	movq	-16(%rbp), %rax
	movl	4(%rax), %eax
	cmpl	%eax, %edx
	jge	.L6
	movl	$-1, %eax
	jmp	.L3
.L6:
	movl	$0, %eax
.L3:
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	c, .-c
	.section	.rodata
.LC0:
	.string	"%d"
.LC1:
	.string	"%d%d"
	.text
	.globl	main
	.type	main, @function
main:
.LFB7:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$104, %rsp
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	movq	%fs:40, %rax
	movq	%rax, -56(%rbp)
	xorl	%eax, %eax
	movq	%rsp, %rax
	movq	%rax, %rbx
	leaq	-112(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-112(%rbp), %eax
	movslq	%eax, %rdx
	subq	$1, %rdx
	movq	%rdx, -88(%rbp)
	movslq	%eax, %rdx
	movq	%rdx, -128(%rbp)
	movq	$0, -120(%rbp)
	movslq	%eax, %rdx
	movq	%rdx, -144(%rbp)
	movq	$0, -136(%rbp)
	cltq
	leaq	0(,%rax,8), %rdx
	movl	$16, %eax
	subq	$1, %rax
	addq	%rdx, %rax
	movl	$16, %edi
	movl	$0, %edx
	divq	%rdi
	imulq	$16, %rax, %rax
	movq	%rax, %rcx
	andq	$-4096, %rcx
	movq	%rsp, %rdx
	subq	%rcx, %rdx
.L8:
	cmpq	%rdx, %rsp
	je	.L9
	subq	$4096, %rsp
	orq	$0, 4088(%rsp)
	jmp	.L8
.L9:
	movq	%rax, %rdx
	andl	$4095, %edx
	subq	%rdx, %rsp
	movq	%rax, %rdx
	andl	$4095, %edx
	testq	%rdx, %rdx
	je	.L10
	andl	$4095, %eax
	subq	$8, %rax
	addq	%rsp, %rax
	orq	$0, (%rax)
.L10:
	movq	%rsp, %rax
	addq	$3, %rax
	shrq	$2, %rax
	salq	$2, %rax
	movq	%rax, -80(%rbp)
	movl	-112(%rbp), %edx
	movl	-112(%rbp), %eax
	imull	%edx, %eax
	movslq	%eax, %rdx
	subq	$1, %rdx
	movq	%rdx, -72(%rbp)
	movslq	%eax, %rdx
	movq	%rdx, %r14
	movl	$0, %r15d
	movslq	%eax, %rdx
	movq	%rdx, %r12
	movl	$0, %r13d
	cltq
	leaq	0(,%rax,8), %rdx
	movl	$16, %eax
	subq	$1, %rax
	addq	%rdx, %rax
	movl	$16, %esi
	movl	$0, %edx
	divq	%rsi
	imulq	$16, %rax, %rax
	movq	%rax, %rcx
	andq	$-4096, %rcx
	movq	%rsp, %rdx
	subq	%rcx, %rdx
.L11:
	cmpq	%rdx, %rsp
	je	.L12
	subq	$4096, %rsp
	orq	$0, 4088(%rsp)
	jmp	.L11
.L12:
	movq	%rax, %rdx
	andl	$4095, %edx
	subq	%rdx, %rsp
	movq	%rax, %rdx
	andl	$4095, %edx
	testq	%rdx, %rdx
	je	.L13
	andl	$4095, %eax
	subq	$8, %rax
	addq	%rsp, %rax
	orq	$0, (%rax)
.L13:
	movq	%rsp, %rax
	addq	$3, %rax
	shrq	$2, %rax
	salq	$2, %rax
	movq	%rax, -64(%rbp)
	movl	$0, -108(%rbp)
	jmp	.L14
.L15:
	movl	-108(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rdx
	movq	-80(%rbp), %rax
	addq	%rdx, %rax
	leaq	4(%rax), %rdx
	movl	-108(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rcx
	movq	-80(%rbp), %rax
	addq	%rcx, %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addl	$1, -108(%rbp)
.L14:
	movl	-112(%rbp), %eax
	cmpl	%eax, -108(%rbp)
	jl	.L15
	movl	-112(%rbp), %eax
	cmpl	$1, %eax
	jne	.L16
	movl	$49, %edi
	call	putchar@PLT
	movl	$0, %eax
	movq	%rbx, %rsp
	jmp	.L17
.L16:
	movl	$0, -100(%rbp)
	movl	$0, -108(%rbp)
	jmp	.L18
.L23:
	movl	$0, -104(%rbp)
	jmp	.L19
.L22:
	movl	-108(%rbp), %eax
	cmpl	-104(%rbp), %eax
	je	.L30
	movq	-80(%rbp), %rax
	movl	-108(%rbp), %edx
	movslq	%edx, %rdx
	movl	(%rax,%rdx,8), %ecx
	movq	-80(%rbp), %rax
	movl	-104(%rbp), %edx
	movslq	%edx, %rdx
	movl	(%rax,%rdx,8), %eax
	subl	%eax, %ecx
	movq	-64(%rbp), %rax
	movl	-100(%rbp), %edx
	movslq	%edx, %rdx
	movl	%ecx, (%rax,%rdx,8)
	movq	-80(%rbp), %rax
	movl	-108(%rbp), %edx
	movslq	%edx, %rdx
	movl	4(%rax,%rdx,8), %ecx
	movq	-80(%rbp), %rax
	movl	-104(%rbp), %edx
	movslq	%edx, %rdx
	movl	4(%rax,%rdx,8), %eax
	subl	%eax, %ecx
	movq	-64(%rbp), %rax
	movl	-100(%rbp), %edx
	movslq	%edx, %rdx
	movl	%ecx, 4(%rax,%rdx,8)
	addl	$1, -100(%rbp)
	jmp	.L21
.L30:
	nop
.L21:
	addl	$1, -104(%rbp)
.L19:
	movl	-112(%rbp), %eax
	cmpl	%eax, -104(%rbp)
	jl	.L22
	addl	$1, -108(%rbp)
.L18:
	movl	-112(%rbp), %eax
	cmpl	%eax, -108(%rbp)
	jl	.L23
	movl	-100(%rbp), %eax
	movslq	%eax, %rsi
	movq	-64(%rbp), %rax
	leaq	c(%rip), %rdx
	movq	%rdx, %rcx
	movl	$8, %edx
	movq	%rax, %rdi
	call	qsort@PLT
	movl	$1, -96(%rbp)
	movl	$1, -92(%rbp)
	movl	$1, -108(%rbp)
	jmp	.L24
.L28:
	movl	-108(%rbp), %eax
	subl	$1, %eax
	cltq
	leaq	0(,%rax,8), %rdx
	movq	-64(%rbp), %rax
	addq	%rax, %rdx
	movl	-108(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rcx
	movq	-64(%rbp), %rax
	addq	%rcx, %rax
	movq	%rdx, %rsi
	movq	%rax, %rdi
	call	c
	testl	%eax, %eax
	jne	.L25
	addl	$1, -92(%rbp)
	jmp	.L26
.L25:
	movl	$1, -92(%rbp)
.L26:
	movl	-96(%rbp), %eax
	cmpl	-92(%rbp), %eax
	jge	.L27
	movl	-92(%rbp), %eax
	movl	%eax, -96(%rbp)
.L27:
	addl	$1, -108(%rbp)
.L24:
	movl	-108(%rbp), %eax
	cmpl	-100(%rbp), %eax
	jl	.L28
	movl	-112(%rbp), %eax
	subl	-96(%rbp), %eax
	movl	%eax, %esi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movq	%rbx, %rsp
	movl	$0, %eax
.L17:
	movq	-56(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L29
	call	__stack_chk_fail@PLT
.L29:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.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	c
	.type	c, @function
c:
.LFB6:
	.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
	movl	(%rax), %edx
	movq	-16(%rbp), %rax
	movl	(%rax), %eax
	cmpl	%eax, %edx
	jle	.L2
	movl	$1, %eax
	jmp	.L3
.L2:
	movq	-8(%rbp), %rax
	movl	(%rax), %edx
	movq	-16(%rbp), %rax
	movl	(%rax), %eax
	cmpl	%eax, %edx
	jge	.L4
	movl	$-1, %eax
	jmp	.L3
.L4:
	movq	-8(%rbp), %rax
	movl	4(%rax), %edx
	movq	-16(%rbp), %rax
	movl	4(%rax), %eax
	cmpl	%eax, %edx
	jle	.L5
	movl	$1, %eax
	jmp	.L3
.L5:
	movq	-8(%rbp), %rax
	movl	4(%rax), %edx
	movq	-16(%rbp), %rax
	movl	4(%rax), %eax
	cmpl	%eax, %edx
	jge	.L6
	movl	$-1, %eax
	jmp	.L3
.L6:
	movl	$0, %eax
.L3:
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	c, .-c
	.section	.rodata
.LC0:
	.string	"%d"
.LC1:
	.string	"%d%d"
	.text
	.globl	main
	.type	main, @function
main:
.LFB7:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$104, %rsp
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	movq	%fs:40, %rax
	movq	%rax, -56(%rbp)
	xorl	%eax, %eax
	movq	%rsp, %rax
	movq	%rax, %rbx
	leaq	-112(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-112(%rbp), %eax
	movslq	%eax, %rdx
	subq	$1, %rdx
	movq	%rdx, -88(%rbp)
	movslq	%eax, %rdx
	movq	%rdx, -128(%rbp)
	movq	$0, -120(%rbp)
	movslq	%eax, %rdx
	movq	%rdx, -144(%rbp)
	movq	$0, -136(%rbp)
	cltq
	leaq	0(,%rax,8), %rdx
	movl	$16, %eax
	subq	$1, %rax
	addq	%rdx, %rax
	movl	$16, %edi
	movl	$0, %edx
	divq	%rdi
	imulq	$16, %rax, %rax
	movq	%rax, %rcx
	andq	$-4096, %rcx
	movq	%rsp, %rdx
	subq	%rcx, %rdx
.L8:
	cmpq	%rdx, %rsp
	je	.L9
	subq	$4096, %rsp
	orq	$0, 4088(%rsp)
	jmp	.L8
.L9:
	movq	%rax, %rdx
	andl	$4095, %edx
	subq	%rdx, %rsp
	movq	%rax, %rdx
	andl	$4095, %edx
	testq	%rdx, %rdx
	je	.L10
	andl	$4095, %eax
	subq	$8, %rax
	addq	%rsp, %rax
	orq	$0, (%rax)
.L10:
	movq	%rsp, %rax
	addq	$3, %rax
	shrq	$2, %rax
	salq	$2, %rax
	movq	%rax, -80(%rbp)
	movl	-112(%rbp), %edx
	movl	-112(%rbp), %eax
	imull	%edx, %eax
	movslq	%eax, %rdx
	subq	$1, %rdx
	movq	%rdx, -72(%rbp)
	movslq	%eax, %rdx
	movq	%rdx, %r14
	movl	$0, %r15d
	movslq	%eax, %rdx
	movq	%rdx, %r12
	movl	$0, %r13d
	cltq
	leaq	0(,%rax,8), %rdx
	movl	$16, %eax
	subq	$1, %rax
	addq	%rdx, %rax
	movl	$16, %esi
	movl	$0, %edx
	divq	%rsi
	imulq	$16, %rax, %rax
	movq	%rax, %rcx
	andq	$-4096, %rcx
	movq	%rsp, %rdx
	subq	%rcx, %rdx
.L11:
	cmpq	%rdx, %rsp
	je	.L12
	subq	$4096, %rsp
	orq	$0, 4088(%rsp)
	jmp	.L11
.L12:
	movq	%rax, %rdx
	andl	$4095, %edx
	subq	%rdx, %rsp
	movq	%rax, %rdx
	andl	$4095, %edx
	testq	%rdx, %rdx
	je	.L13
	andl	$4095, %eax
	subq	$8, %rax
	addq	%rsp, %rax
	orq	$0, (%rax)
.L13:
	movq	%rsp, %rax
	addq	$3, %rax
	shrq	$2, %rax
	salq	$2, %rax
	movq	%rax, -64(%rbp)
	movl	$0, -108(%rbp)
	jmp	.L14
.L15:
	movl	-108(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rdx
	movq	-80(%rbp), %rax
	addq	%rdx, %rax
	leaq	4(%rax), %rdx
	movl	-108(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rcx
	movq	-80(%rbp), %rax
	addq	%rcx, %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addl	$1, -108(%rbp)
.L14:
	movl	-112(%rbp), %eax
	cmpl	%eax, -108(%rbp)
	jl	.L15
	movl	-112(%rbp), %eax
	cmpl	$1, %eax
	jne	.L16
	movl	$49, %edi
	call	putchar@PLT
	movl	$0, %eax
	movq	%rbx, %rsp
	jmp	.L17
.L16:
	movl	$0, -100(%rbp)
	movl	$0, -108(%rbp)
	jmp	.L18
.L23:
	movl	$0, -104(%rbp)
	jmp	.L19
.L22:
	movl	-108(%rbp), %eax
	cmpl	-104(%rbp), %eax
	je	.L30
	movq	-80(%rbp), %rax
	movl	-108(%rbp), %edx
	movslq	%edx, %rdx
	movl	(%rax,%rdx,8), %ecx
	movq	-80(%rbp), %rax
	movl	-104(%rbp), %edx
	movslq	%edx, %rdx
	movl	(%rax,%rdx,8), %eax
	subl	%eax, %ecx
	movq	-64(%rbp), %rax
	movl	-100(%rbp), %edx
	movslq	%edx, %rdx
	movl	%ecx, (%rax,%rdx,8)
	movq	-80(%rbp), %rax
	movl	-108(%rbp), %edx
	movslq	%edx, %rdx
	movl	4(%rax,%rdx,8), %ecx
	movq	-80(%rbp), %rax
	movl	-104(%rbp), %edx
	movslq	%edx, %rdx
	movl	4(%rax,%rdx,8), %eax
	subl	%eax, %ecx
	movq	-64(%rbp), %rax
	movl	-100(%rbp), %edx
	movslq	%edx, %rdx
	movl	%ecx, 4(%rax,%rdx,8)
	addl	$1, -100(%rbp)
	jmp	.L21
.L30:
	nop
.L21:
	addl	$1, -104(%rbp)
.L19:
	movl	-112(%rbp), %eax
	cmpl	%eax, -104(%rbp)
	jl	.L22
	addl	$1, -108(%rbp)
.L18:
	movl	-112(%rbp), %eax
	cmpl	%eax, -108(%rbp)
	jl	.L23
	movl	-100(%rbp), %eax
	movslq	%eax, %rsi
	movq	-64(%rbp), %rax
	leaq	c(%rip), %rdx
	movq	%rdx, %rcx
	movl	$8, %edx
	movq	%rax, %rdi
	call	qsort@PLT
	movl	$1, -96(%rbp)
	movl	$1, -92(%rbp)
	movl	$1, -108(%rbp)
	jmp	.L24
.L28:
	movl	-108(%rbp), %eax
	subl	$1, %eax
	cltq
	leaq	0(,%rax,8), %rdx
	movq	-64(%rbp), %rax
	addq	%rax, %rdx
	movl	-108(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rcx
	movq	-64(%rbp), %rax
	addq	%rcx, %rax
	movq	%rdx, %rsi
	movq	%rax, %rdi
	call	c
	testl	%eax, %eax
	jne	.L25
	addl	$1, -92(%rbp)
	jmp	.L26
.L25:
	movl	$1, -92(%rbp)
.L26:
	movl	-96(%rbp), %eax
	cmpl	-92(%rbp), %eax
	jge	.L27
	movl	-92(%rbp), %eax
	movl	%eax, -96(%rbp)
.L27:
	addl	$1, -108(%rbp)
.L24:
	movl	-108(%rbp), %eax
	cmpl	-100(%rbp), %eax
	jl	.L28
	movl	-112(%rbp), %eax
	subl	-96(%rbp), %eax
	movl	%eax, %esi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movq	%rbx, %rsp
	movl	$0, %eax
.L17:
	movq	-56(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L29
	call	__stack_chk_fail@PLT
.L29:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.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:
