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>

typedef struct {
  long x,y;
} star;

int comp(const void *a, const void *b){
  if(((star *)a)->x==((star *)b)->x){
    return ((star*)a)->y-((star*)b)->y;
  }
  return ((star*)a)->x-((star *)b)->x;
}

int main(){
  int m,n,i,j,c;
  star cons[200],map[1000],a;
  while (1) {
    scanf("%d",&n);
    if(n==0) break;
    for(i=0;i<n;i++){
      scanf("%ld %ld",&cons[i].x,&cons[i].y );
    }
    scanf("%d",&m);
    for(i=0;i<m;i++){
      scanf("%ld %ld",&map[i].x,&map[i].y);
    }
    qsort(cons,n,sizeof(star),comp);
    qsort(map,m,sizeof(star),comp);
    for(i=0;i<m;i++){
      a.x=map[i].x+cons[1].x-cons[0].x;
      a.y=map[i].y+cons[1].y-cons[0].y;
      c=1;
      for(j=i+1;j<m;j++){
        if(a.x==map[j].x && a.y==map[j].y){
          c++;
          if(c==n) break;
          a.x+=cons[c].x-cons[c-1].x;
          a.y+=cons[c].y-cons[c-1].y;
        }
      }
      if (c==n) break;
    }
    printf("%ld %ld\n",map[i].x-cons[0].x,map[i].y-cons[0].y);
  }
  return 0;
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.globl	comp
	.type	comp, @function
comp:
.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
	movq	(%rax), %rdx
	movq	-16(%rbp), %rax
	movq	(%rax), %rax
	cmpq	%rax, %rdx
	jne	.L2
	movq	-8(%rbp), %rax
	movq	8(%rax), %rax
	movl	%eax, %edx
	movq	-16(%rbp), %rax
	movq	8(%rax), %rax
	movl	%eax, %ecx
	movl	%edx, %eax
	subl	%ecx, %eax
	jmp	.L3
.L2:
	movq	-8(%rbp), %rax
	movq	(%rax), %rax
	movl	%eax, %edx
	movq	-16(%rbp), %rax
	movq	(%rax), %rax
	movl	%eax, %ecx
	movl	%edx, %eax
	subl	%ecx, %eax
.L3:
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	comp, .-comp
	.section	.rodata
.LC0:
	.string	"%d"
.LC1:
	.string	"%ld %ld"
.LC2:
	.string	"%ld %ld\n"
	.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
	leaq	-16384(%rsp), %r11
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	subq	$2880, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
.L20:
	leaq	-19248(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-19248(%rbp), %eax
	testl	%eax, %eax
	je	.L24
	movl	$0, -19244(%rbp)
	jmp	.L7
.L8:
	leaq	-19216(%rbp), %rdx
	movl	-19244(%rbp), %eax
	cltq
	salq	$4, %rax
	addq	%rdx, %rax
	leaq	8(%rax), %rdx
	leaq	-19216(%rbp), %rcx
	movl	-19244(%rbp), %eax
	cltq
	salq	$4, %rax
	addq	%rcx, %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addl	$1, -19244(%rbp)
.L7:
	movl	-19248(%rbp), %eax
	cmpl	%eax, -19244(%rbp)
	jl	.L8
	leaq	-19252(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -19244(%rbp)
	jmp	.L9
.L10:
	leaq	-16016(%rbp), %rdx
	movl	-19244(%rbp), %eax
	cltq
	salq	$4, %rax
	addq	%rdx, %rax
	leaq	8(%rax), %rdx
	leaq	-16016(%rbp), %rcx
	movl	-19244(%rbp), %eax
	cltq
	salq	$4, %rax
	addq	%rcx, %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addl	$1, -19244(%rbp)
.L9:
	movl	-19252(%rbp), %eax
	cmpl	%eax, -19244(%rbp)
	jl	.L10
	movl	-19248(%rbp), %eax
	movslq	%eax, %rsi
	leaq	-19216(%rbp), %rax
	leaq	comp(%rip), %rdx
	movq	%rdx, %rcx
	movl	$16, %edx
	movq	%rax, %rdi
	call	qsort@PLT
	movl	-19252(%rbp), %eax
	movslq	%eax, %rsi
	leaq	-16016(%rbp), %rax
	leaq	comp(%rip), %rdx
	movq	%rdx, %rcx
	movl	$16, %edx
	movq	%rax, %rdi
	call	qsort@PLT
	movl	$0, -19244(%rbp)
	jmp	.L11
.L19:
	movl	-19244(%rbp), %eax
	cltq
	salq	$4, %rax
	addq	%rbp, %rax
	subq	$16016, %rax
	movq	(%rax), %rdx
	movq	-19200(%rbp), %rax
	addq	%rdx, %rax
	movq	-19216(%rbp), %rdx
	subq	%rdx, %rax
	movq	%rax, -19232(%rbp)
	movl	-19244(%rbp), %eax
	cltq
	salq	$4, %rax
	addq	%rbp, %rax
	subq	$16008, %rax
	movq	(%rax), %rdx
	movq	-19192(%rbp), %rax
	addq	%rdx, %rax
	movq	-19208(%rbp), %rdx
	subq	%rdx, %rax
	movq	%rax, -19224(%rbp)
	movl	$1, -19236(%rbp)
	movl	-19244(%rbp), %eax
	addl	$1, %eax
	movl	%eax, -19240(%rbp)
	jmp	.L12
.L16:
	movq	-19232(%rbp), %rdx
	movl	-19240(%rbp), %eax
	cltq
	salq	$4, %rax
	addq	%rbp, %rax
	subq	$16016, %rax
	movq	(%rax), %rax
	cmpq	%rax, %rdx
	jne	.L13
	movq	-19224(%rbp), %rdx
	movl	-19240(%rbp), %eax
	cltq
	salq	$4, %rax
	addq	%rbp, %rax
	subq	$16008, %rax
	movq	(%rax), %rax
	cmpq	%rax, %rdx
	jne	.L13
	addl	$1, -19236(%rbp)
	movl	-19248(%rbp), %eax
	cmpl	%eax, -19236(%rbp)
	je	.L25
	movq	-19232(%rbp), %rcx
	movl	-19236(%rbp), %eax
	cltq
	salq	$4, %rax
	addq	%rbp, %rax
	subq	$19216, %rax
	movq	(%rax), %rax
	movl	-19236(%rbp), %edx
	subl	$1, %edx
	movslq	%edx, %rdx
	salq	$4, %rdx
	addq	%rbp, %rdx
	subq	$19216, %rdx
	movq	(%rdx), %rdx
	subq	%rdx, %rax
	addq	%rcx, %rax
	movq	%rax, -19232(%rbp)
	movq	-19224(%rbp), %rcx
	movl	-19236(%rbp), %eax
	cltq
	salq	$4, %rax
	addq	%rbp, %rax
	subq	$19208, %rax
	movq	(%rax), %rax
	movl	-19236(%rbp), %edx
	subl	$1, %edx
	movslq	%edx, %rdx
	salq	$4, %rdx
	addq	%rbp, %rdx
	subq	$19208, %rdx
	movq	(%rdx), %rdx
	subq	%rdx, %rax
	addq	%rcx, %rax
	movq	%rax, -19224(%rbp)
.L13:
	addl	$1, -19240(%rbp)
.L12:
	movl	-19252(%rbp), %eax
	cmpl	%eax, -19240(%rbp)
	jl	.L16
	jmp	.L15
.L25:
	nop
.L15:
	movl	-19248(%rbp), %eax
	cmpl	%eax, -19236(%rbp)
	je	.L26
	addl	$1, -19244(%rbp)
.L11:
	movl	-19252(%rbp), %eax
	cmpl	%eax, -19244(%rbp)
	jl	.L19
	jmp	.L18
.L26:
	nop
.L18:
	movl	-19244(%rbp), %eax
	cltq
	salq	$4, %rax
	addq	%rbp, %rax
	subq	$16008, %rax
	movq	(%rax), %rax
	movq	-19208(%rbp), %rcx
	subq	%rcx, %rax
	movq	%rax, %rdx
	movl	-19244(%rbp), %eax
	cltq
	salq	$4, %rax
	addq	%rbp, %rax
	subq	$16016, %rax
	movq	(%rax), %rax
	movq	-19216(%rbp), %rcx
	subq	%rcx, %rax
	movq	%rax, %rsi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	jmp	.L20
.L24:
	nop
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L22
	call	__stack_chk_fail@PLT
.L22:
	leave
	.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	comp
	.type	comp, @function
comp:
.LFB39:
	.cfi_startproc
	endbr64
	movq	(%rdi), %rcx
	movq	(%rsi), %rdx
	movl	%ecx, %eax
	subl	%edx, %eax
	cmpq	%rdx, %rcx
	je	.L5
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	movq	8(%rdi), %rax
	subl	8(%rsi), %eax
	ret
	.cfi_endproc
.LFE39:
	.size	comp, .-comp
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d"
.LC1:
	.string	"%ld %ld"
.LC2:
	.string	"%ld %ld\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB40:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	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
	leaq	-16384(%rsp), %r11
	.cfi_def_cfa 11, 16440
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	.cfi_def_cfa_register 7
	subq	$2920, %rsp
	.cfi_def_cfa_offset 19360
	leaq	.LC1(%rip), %r15
	movq	%fs:40, %rax
	movq	%rax, 19288(%rsp)
	xorl	%eax, %eax
	leaq	76(%rsp), %rax
	movq	%rax, 56(%rsp)
.L20:
	movq	56(%rsp), %rsi
	leaq	.LC0(%rip), %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	76(%rsp), %edx
	testl	%edx, %edx
	je	.L7
	leaq	80(%rsp), %r12
	jle	.L12
	movq	%r12, %rbx
	xorl	%ebp, %ebp
	.p2align 4,,10
	.p2align 3
.L11:
	leaq	8(%rbx), %rdx
	movq	%rbx, %rsi
	movq	%r15, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	addl	$1, %ebp
	addq	$16, %rbx
	cmpl	%ebp, 76(%rsp)
	jg	.L11
.L12:
	leaq	72(%rsp), %rsi
	leaq	.LC0(%rip), %rdi
	xorl	%eax, %eax
	xorl	%ebp, %ebp
	call	__isoc99_scanf@PLT
	movl	72(%rsp), %eax
	leaq	3280(%rsp), %r13
	movq	%r13, %rbx
	testl	%eax, %eax
	jle	.L10
	.p2align 4,,10
	.p2align 3
.L14:
	leaq	8(%rbx), %rdx
	movq	%rbx, %rsi
	movq	%r15, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	addl	$1, %ebp
	addq	$16, %rbx
	cmpl	%ebp, 72(%rsp)
	jg	.L14
.L10:
	movslq	76(%rsp), %rsi
	movq	%r12, %rdi
	movl	$16, %edx
	xorl	%r12d, %r12d
	leaq	comp(%rip), %rcx
	leaq	3296(%rsp), %rbp
	xorl	%ebx, %ebx
	call	qsort@PLT
	movslq	72(%rsp), %rsi
	movq	%r13, %rdi
	leaq	comp(%rip), %rcx
	movl	$16, %edx
	call	qsort@PLT
	movq	96(%rsp), %rax
	movl	72(%rsp), %r14d
	movl	76(%rsp), %r13d
	movq	%rax, 24(%rsp)
	movq	80(%rsp), %rax
	movq	%rax, 8(%rsp)
	movq	104(%rsp), %rax
	movq	%rax, 32(%rsp)
	movq	88(%rsp), %rax
	movq	%rax, 16(%rsp)
	leal	-1(%r14), %eax
	movl	%eax, 44(%rsp)
	leaq	3312(%rsp), %rax
	movq	%rax, 48(%rsp)
	.p2align 4,,10
	.p2align 3
.L13:
	movq	-16(%rbp), %rdx
	movq	-8(%rbp), %rcx
	cmpl	%ebx, %r14d
	jle	.L17
	movq	24(%rsp), %rax
	addl	$1, %ebx
	leaq	(%rax,%rdx), %rsi
	movq	32(%rsp), %rax
	subq	8(%rsp), %rsi
	leaq	(%rax,%rcx), %r9
	subq	16(%rsp), %r9
	cmpl	%ebx, %r14d
	jle	.L22
	movl	44(%rsp), %edi
	movq	%rbp, %rax
	movl	$1, %r8d
	subl	%ebx, %edi
	addq	%r12, %rdi
	salq	$4, %rdi
	addq	48(%rsp), %rdi
	jmp	.L18
	.p2align 4,,10
	.p2align 3
.L16:
	addq	$16, %rax
	cmpq	%rax, %rdi
	je	.L15
.L18:
	cmpq	%rsi, (%rax)
	jne	.L16
	cmpq	%r9, 8(%rax)
	jne	.L16
	leal	1(%r8), %r11d
	cmpl	%r11d, %r13d
	je	.L17
	movslq	%r11d, %r10
	salq	$4, %r8
	addq	$16, %rax
	salq	$4, %r10
	addq	80(%rsp,%r10), %rsi
	addq	88(%rsp,%r10), %r9
	subq	80(%rsp,%r8), %rsi
	subq	88(%rsp,%r8), %r9
	movslq	%r11d, %r8
	cmpq	%rax, %rdi
	jne	.L18
	.p2align 4,,10
	.p2align 3
.L15:
	addq	$1, %r12
	addq	$16, %rbp
	cmpl	%r8d, %r13d
	jne	.L13
.L17:
	subq	16(%rsp), %rcx
	subq	8(%rsp), %rdx
	leaq	.LC2(%rip), %rsi
	xorl	%eax, %eax
	movl	$1, %edi
	call	__printf_chk@PLT
	jmp	.L20
.L22:
	movl	$1, %r8d
	addq	$1, %r12
	addq	$16, %rbp
	cmpl	%r8d, %r13d
	jne	.L13
	jmp	.L17
	.p2align 4,,10
	.p2align 3
.L7:
	movq	19288(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L30
	addq	$19304, %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
.L30:
	.cfi_restore_state
	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	comp
	.type	comp, @function
comp:
.LFB39:
	.cfi_startproc
	endbr64
	movq	(%rdi), %rcx
	movq	(%rsi), %rdx
	movl	%ecx, %eax
	subl	%edx, %eax
	cmpq	%rdx, %rcx
	je	.L5
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	movq	8(%rdi), %rax
	subl	8(%rsi), %eax
	ret
	.cfi_endproc
.LFE39:
	.size	comp, .-comp
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d"
.LC1:
	.string	"%ld %ld"
.LC2:
	.string	"%ld %ld\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB40:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	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
	leaq	-16384(%rsp), %r11
	.cfi_def_cfa 11, 16440
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	.cfi_def_cfa_register 7
	subq	$2920, %rsp
	.cfi_def_cfa_offset 19360
	leaq	.LC1(%rip), %r15
	movq	%fs:40, %rax
	movq	%rax, 19288(%rsp)
	xorl	%eax, %eax
	leaq	76(%rsp), %rax
	movq	%rax, 56(%rsp)
.L20:
	movq	56(%rsp), %rsi
	leaq	.LC0(%rip), %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	76(%rsp), %edx
	testl	%edx, %edx
	je	.L7
	leaq	80(%rsp), %r12
	jle	.L12
	movq	%r12, %rbx
	xorl	%ebp, %ebp
	.p2align 4,,10
	.p2align 3
.L11:
	leaq	8(%rbx), %rdx
	movq	%rbx, %rsi
	movq	%r15, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	addl	$1, %ebp
	addq	$16, %rbx
	cmpl	%ebp, 76(%rsp)
	jg	.L11
.L12:
	leaq	72(%rsp), %rsi
	leaq	.LC0(%rip), %rdi
	xorl	%eax, %eax
	xorl	%ebp, %ebp
	call	__isoc99_scanf@PLT
	movl	72(%rsp), %eax
	leaq	3280(%rsp), %r13
	movq	%r13, %rbx
	testl	%eax, %eax
	jle	.L10
	.p2align 4,,10
	.p2align 3
.L14:
	leaq	8(%rbx), %rdx
	movq	%rbx, %rsi
	movq	%r15, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	addl	$1, %ebp
	addq	$16, %rbx
	cmpl	%ebp, 72(%rsp)
	jg	.L14
.L10:
	movslq	76(%rsp), %rsi
	movq	%r12, %rdi
	movl	$16, %edx
	xorl	%r12d, %r12d
	leaq	comp(%rip), %rcx
	leaq	3296(%rsp), %rbp
	xorl	%ebx, %ebx
	call	qsort@PLT
	movslq	72(%rsp), %rsi
	movq	%r13, %rdi
	leaq	comp(%rip), %rcx
	movl	$16, %edx
	call	qsort@PLT
	movq	96(%rsp), %rax
	movl	72(%rsp), %r14d
	movl	76(%rsp), %r13d
	movq	%rax, 24(%rsp)
	movq	80(%rsp), %rax
	movq	%rax, 8(%rsp)
	movq	104(%rsp), %rax
	movq	%rax, 32(%rsp)
	movq	88(%rsp), %rax
	movq	%rax, 16(%rsp)
	leal	-1(%r14), %eax
	movl	%eax, 44(%rsp)
	leaq	3312(%rsp), %rax
	movq	%rax, 48(%rsp)
	.p2align 4,,10
	.p2align 3
.L13:
	movq	-16(%rbp), %rdx
	movq	-8(%rbp), %rcx
	cmpl	%ebx, %r14d
	jle	.L17
	movq	24(%rsp), %rax
	addl	$1, %ebx
	leaq	(%rax,%rdx), %rsi
	movq	32(%rsp), %rax
	subq	8(%rsp), %rsi
	leaq	(%rax,%rcx), %r9
	subq	16(%rsp), %r9
	cmpl	%ebx, %r14d
	jle	.L22
	movl	44(%rsp), %edi
	movq	%rbp, %rax
	movl	$1, %r8d
	subl	%ebx, %edi
	addq	%r12, %rdi
	salq	$4, %rdi
	addq	48(%rsp), %rdi
	jmp	.L18
	.p2align 4,,10
	.p2align 3
.L16:
	addq	$16, %rax
	cmpq	%rax, %rdi
	je	.L15
.L18:
	cmpq	%rsi, (%rax)
	jne	.L16
	cmpq	%r9, 8(%rax)
	jne	.L16
	leal	1(%r8), %r11d
	cmpl	%r11d, %r13d
	je	.L17
	movslq	%r11d, %r10
	salq	$4, %r8
	addq	$16, %rax
	salq	$4, %r10
	addq	80(%rsp,%r10), %rsi
	addq	88(%rsp,%r10), %r9
	subq	80(%rsp,%r8), %rsi
	subq	88(%rsp,%r8), %r9
	movslq	%r11d, %r8
	cmpq	%rax, %rdi
	jne	.L18
	.p2align 4,,10
	.p2align 3
.L15:
	addq	$1, %r12
	addq	$16, %rbp
	cmpl	%r8d, %r13d
	jne	.L13
.L17:
	subq	16(%rsp), %rcx
	subq	8(%rsp), %rdx
	leaq	.LC2(%rip), %rsi
	xorl	%eax, %eax
	movl	$1, %edi
	call	__printf_chk@PLT
	jmp	.L20
.L22:
	movl	$1, %r8d
	addq	$1, %r12
	addq	$16, %rbp
	cmpl	%r8d, %r13d
	jne	.L13
	jmp	.L17
	.p2align 4,,10
	.p2align 3
.L7:
	movq	19288(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L30
	addq	$19304, %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
.L30:
	.cfi_restore_state
	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>

typedef struct {
  long x,y;
} star;

int comp(const void *a, const void *b){
  if(((star *)a)->x==((star *)b)->x){
    return ((star*)a)->y-((star*)b)->y;
  }
  return ((star*)a)->x-((star *)b)->x;
}

int main(){
  int m,n,i,j,c;
  star cons[200],map[1000],a;
  while (1) {
    scanf("%d",&n);
    if(n==0) break;
    for(i=0;i<n;i++){
      scanf("%ld %ld",&cons[i].x,&cons[i].y );
    }
    scanf("%d",&m);
    for(i=0;i<m;i++){
      scanf("%ld %ld",&map[i].x,&map[i].y);
    }
    qsort(cons,n,sizeof(star),comp);
    qsort(map,m,sizeof(star),comp);
    for(i=0;i<m;i++){
      a.x=map[i].x+cons[1].x-cons[0].x;
      a.y=map[i].y+cons[1].y-cons[0].y;
      c=1;
      for(j=i+1;j<m;j++){
        if(a.x==map[j].x && a.y==map[j].y){
          c++;
          if(c==n) break;
          a.x+=cons[c].x-cons[c-1].x;
          a.y+=cons[c].y-cons[c-1].y;
        }
      }
      if (c==n) break;
    }
    printf("%ld %ld\n",map[i].x-cons[0].x,map[i].y-cons[0].y);
  }
  return 0;
}
5
8 5
6 4
4 3
7 10
0 10
10
10 5
2 7
10 7
8 10
10 2
1 2
8 1
6 7
6 0
0 9
5
904207 809784
845370 244806
499091 59863
638406 182509
435076 362268
10
757559 866424
114810 239537
519926 989458
461089 424480
674361 448440
81851 150384
459107 795405
299682 6700
254125 362183
50795 541942
0
 5
8 5
6 4
4 3
7 10
0 10
10
10 5
2 7
9 7
8 10
10 2
1 2
8 1
6 7
6 0
0 9
5
904207 809784
845370 244806
499091 59863
638406 182509
435076 362268
10
757559 866424
114810 239537
919396 989458
461089 424480
674361 448440
81851 150384
459107 795405
299682 6700
254125 362183
50795 541942
0
 5
8 5
6 4
4 3
7 10
0 10
10
10 5
2 7
9 7
8 10
10 2
1 2
8 1
6 7
6 0
0 0
5
904207 809784
845370 244806
499091 59863
638406 182509
435076 362268
10
757559 866424
114810 239537
519926 989458
461089 424480
674361 448440
81851 150384
459107 795405
299682 6700
254125 362183
50795 541942
0
 5
8 5
6 4
4 3
11 10
0 10
10
10 5
2 7
10 7
8 10
10 2
1 2
8 1
6 7
6 0
0 9
5
904207 809784
845370 244806
499091 59863
638406 182509
435076 362268
10
757559 866424
114810 239537
519926 989458
461089 424480
674361 448440
81851 150384
459107 795405
299682 6700
254125 362183
50795 541942
0
 5
8 5
6 4
4 3
11 10
0 10
10
10 5
2 4
10 7
8 10
10 2
1 2
8 1
6 7
6 0
0 9
5
904207 809784
845370 244806
499091 59863
638406 182509
435076 362268
10
757559 866424
114810 239537
519926 989458
461089 424480
674361 448440
81851 150384
459107 795405
299682 6700
254125 362183
50795 541942
0
 5
8 5
6 4
4 3
11 10
0 10
10
10 5
2 4
10 7
8 10
10 2
1 2
8 1
6 7
6 0
0 9
5
904207 809784
845370 244806
499091 59863
638406 182509
435076 362268
10
757559 866424
114810 239537
519926 989458
461089 424480
1244032 448440
81851 150384
459107 795405
299682 6700
254125 362183
50795 541942
0
 5
8 5
6 4
4 3
11 10
0 10
10
10 5
2 4
10 7
8 10
10 2
1 2
8 1
6 7
6 0
0 9
5
904207 809784
845370 244806
499091 59863
638406 182509
435076 362268
10
757559 866424
114810 239537
519926 989458
461089 424480
1244032 646221
81851 150384
459107 795405
299682 6700
254125 362183
50795 541942
0
 5
8 5
6 4
4 3
7 10
0 10
10
10 5
2 7
10 7
8 10
10 2
1 2
8 1
6 8
6 0
0 9
5
904207 809784
845370 244806
499091 59863
638406 182509
435076 362268
10
757559 866424
114810 239537
519926 989458
461089 424480
674361 448440
81851 150384
459107 795405
299682 6700
254125 362183
50795 541942
0
 5
8 5
6 4
4 3
11 10
0 10
10
10 5
2 7
10 7
8 10
10 2
1 2
8 1
6 7
6 0
0 9
5
904207 809784
845370 244806
499091 59863
638406 182509
435076 362268
10
757559 866424
114810 239537
519926 989458
461089 424480
674361 448440
81851 150384
459107 795405
299682 499
254125 362183
50795 541942
0
 5
8 5
6 4
4 3
11 10
0 10
10
10 5
2 4
8 7
8 10
10 2
1 2
8 1
6 7
6 0
0 9
5
904207 809784
845370 244806
499091 59863
638406 182509
435076 362268
10
757559 866424
114810 239537
519926 989458
461089 424480
674361 448440
81851 150384
459107 795405
299682 6700
254125 362183
50795 541942
0

0 -10
-384281 179674
 2 -3
-435076 -362268
 2 -3
-384281 179674
 0 -10
-384281 179674
 0 -10
-384281 179674
 0 -10
-384281 179674
 0 -10
-384281 179674
 0 -10
-384281 179674
 0 -10
-384281 179674
 0 -10
-384281 179674

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>

typedef struct {
  long x,y;
} star;

int comp(const void *a, const void *b){
  if(((star *)a)->x==((star *)b)->x){
    return ((star*)a)->y-((star*)b)->y;
  }
  return ((star*)a)->x-((star *)b)->x;
}

int main(){
  int m,n,i,j,c;
  star cons[200],map[1000],a;
  while (1) {
    scanf("%d",&n);
    if(n==0) break;
    for(i=0;i<n;i++){
      scanf("%ld %ld",&cons[i].x,&cons[i].y );
    }
    scanf("%d",&m);
    for(i=0;i<m;i++){
      scanf("%ld %ld",&map[i].x,&map[i].y);
    }
    qsort(cons,n,sizeof(star),comp);
    qsort(map,m,sizeof(star),comp);
    for(i=0;i<m;i++){
      a.x=map[i].x+cons[1].x-cons[0].x;
      a.y=map[i].y+cons[1].y-cons[0].y;
      c=1;
      for(j=i+1;j<m;j++){
        if(a.x==map[j].x && a.y==map[j].y){
          c++;
          if(c==n) break;
          a.x+=cons[c].x-cons[c-1].x;
          a.y+=cons[c].y-cons[c-1].y;
        }
      }
      if (c==n) break;
    }
    printf("%ld %ld\n",map[i].x-cons[0].x,map[i].y-cons[0].y);
  }
  return 0;
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.globl	comp
	.type	comp, @function
comp:
.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
	movq	(%rax), %rdx
	movq	-16(%rbp), %rax
	movq	(%rax), %rax
	cmpq	%rax, %rdx
	jne	.L2
	movq	-8(%rbp), %rax
	movq	8(%rax), %rax
	movl	%eax, %edx
	movq	-16(%rbp), %rax
	movq	8(%rax), %rax
	movl	%eax, %ecx
	movl	%edx, %eax
	subl	%ecx, %eax
	jmp	.L3
.L2:
	movq	-8(%rbp), %rax
	movq	(%rax), %rax
	movl	%eax, %edx
	movq	-16(%rbp), %rax
	movq	(%rax), %rax
	movl	%eax, %ecx
	movl	%edx, %eax
	subl	%ecx, %eax
.L3:
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	comp, .-comp
	.section	.rodata
.LC0:
	.string	"%d"
.LC1:
	.string	"%ld %ld"
.LC2:
	.string	"%ld %ld\n"
	.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
	leaq	-16384(%rsp), %r11
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	subq	$2880, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
.L20:
	leaq	-19248(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-19248(%rbp), %eax
	testl	%eax, %eax
	je	.L24
	movl	$0, -19244(%rbp)
	jmp	.L7
.L8:
	leaq	-19216(%rbp), %rdx
	movl	-19244(%rbp), %eax
	cltq
	salq	$4, %rax
	addq	%rdx, %rax
	leaq	8(%rax), %rdx
	leaq	-19216(%rbp), %rcx
	movl	-19244(%rbp), %eax
	cltq
	salq	$4, %rax
	addq	%rcx, %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addl	$1, -19244(%rbp)
.L7:
	movl	-19248(%rbp), %eax
	cmpl	%eax, -19244(%rbp)
	jl	.L8
	leaq	-19252(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -19244(%rbp)
	jmp	.L9
.L10:
	leaq	-16016(%rbp), %rdx
	movl	-19244(%rbp), %eax
	cltq
	salq	$4, %rax
	addq	%rdx, %rax
	leaq	8(%rax), %rdx
	leaq	-16016(%rbp), %rcx
	movl	-19244(%rbp), %eax
	cltq
	salq	$4, %rax
	addq	%rcx, %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addl	$1, -19244(%rbp)
.L9:
	movl	-19252(%rbp), %eax
	cmpl	%eax, -19244(%rbp)
	jl	.L10
	movl	-19248(%rbp), %eax
	movslq	%eax, %rsi
	leaq	-19216(%rbp), %rax
	leaq	comp(%rip), %rdx
	movq	%rdx, %rcx
	movl	$16, %edx
	movq	%rax, %rdi
	call	qsort@PLT
	movl	-19252(%rbp), %eax
	movslq	%eax, %rsi
	leaq	-16016(%rbp), %rax
	leaq	comp(%rip), %rdx
	movq	%rdx, %rcx
	movl	$16, %edx
	movq	%rax, %rdi
	call	qsort@PLT
	movl	$0, -19244(%rbp)
	jmp	.L11
.L19:
	movl	-19244(%rbp), %eax
	cltq
	salq	$4, %rax
	addq	%rbp, %rax
	subq	$16016, %rax
	movq	(%rax), %rdx
	movq	-19200(%rbp), %rax
	addq	%rdx, %rax
	movq	-19216(%rbp), %rdx
	subq	%rdx, %rax
	movq	%rax, -19232(%rbp)
	movl	-19244(%rbp), %eax
	cltq
	salq	$4, %rax
	addq	%rbp, %rax
	subq	$16008, %rax
	movq	(%rax), %rdx
	movq	-19192(%rbp), %rax
	addq	%rdx, %rax
	movq	-19208(%rbp), %rdx
	subq	%rdx, %rax
	movq	%rax, -19224(%rbp)
	movl	$1, -19236(%rbp)
	movl	-19244(%rbp), %eax
	addl	$1, %eax
	movl	%eax, -19240(%rbp)
	jmp	.L12
.L16:
	movq	-19232(%rbp), %rdx
	movl	-19240(%rbp), %eax
	cltq
	salq	$4, %rax
	addq	%rbp, %rax
	subq	$16016, %rax
	movq	(%rax), %rax
	cmpq	%rax, %rdx
	jne	.L13
	movq	-19224(%rbp), %rdx
	movl	-19240(%rbp), %eax
	cltq
	salq	$4, %rax
	addq	%rbp, %rax
	subq	$16008, %rax
	movq	(%rax), %rax
	cmpq	%rax, %rdx
	jne	.L13
	addl	$1, -19236(%rbp)
	movl	-19248(%rbp), %eax
	cmpl	%eax, -19236(%rbp)
	je	.L25
	movq	-19232(%rbp), %rcx
	movl	-19236(%rbp), %eax
	cltq
	salq	$4, %rax
	addq	%rbp, %rax
	subq	$19216, %rax
	movq	(%rax), %rax
	movl	-19236(%rbp), %edx
	subl	$1, %edx
	movslq	%edx, %rdx
	salq	$4, %rdx
	addq	%rbp, %rdx
	subq	$19216, %rdx
	movq	(%rdx), %rdx
	subq	%rdx, %rax
	addq	%rcx, %rax
	movq	%rax, -19232(%rbp)
	movq	-19224(%rbp), %rcx
	movl	-19236(%rbp), %eax
	cltq
	salq	$4, %rax
	addq	%rbp, %rax
	subq	$19208, %rax
	movq	(%rax), %rax
	movl	-19236(%rbp), %edx
	subl	$1, %edx
	movslq	%edx, %rdx
	salq	$4, %rdx
	addq	%rbp, %rdx
	subq	$19208, %rdx
	movq	(%rdx), %rdx
	subq	%rdx, %rax
	addq	%rcx, %rax
	movq	%rax, -19224(%rbp)
.L13:
	addl	$1, -19240(%rbp)
.L12:
	movl	-19252(%rbp), %eax
	cmpl	%eax, -19240(%rbp)
	jl	.L16
	jmp	.L15
.L25:
	nop
.L15:
	movl	-19248(%rbp), %eax
	cmpl	%eax, -19236(%rbp)
	je	.L26
	addl	$1, -19244(%rbp)
.L11:
	movl	-19252(%rbp), %eax
	cmpl	%eax, -19244(%rbp)
	jl	.L19
	jmp	.L18
.L26:
	nop
.L18:
	movl	-19244(%rbp), %eax
	cltq
	salq	$4, %rax
	addq	%rbp, %rax
	subq	$16008, %rax
	movq	(%rax), %rax
	movq	-19208(%rbp), %rcx
	subq	%rcx, %rax
	movq	%rax, %rdx
	movl	-19244(%rbp), %eax
	cltq
	salq	$4, %rax
	addq	%rbp, %rax
	subq	$16016, %rax
	movq	(%rax), %rax
	movq	-19216(%rbp), %rcx
	subq	%rcx, %rax
	movq	%rax, %rsi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	jmp	.L20
.L24:
	nop
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L22
	call	__stack_chk_fail@PLT
.L22:
	leave
	.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	comp
	.type	comp, @function
comp:
.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
	movq	(%rax), %rdx
	movq	-16(%rbp), %rax
	movq	(%rax), %rax
	cmpq	%rax, %rdx
	jne	.L2
	movq	-8(%rbp), %rax
	movq	8(%rax), %rax
	movl	%eax, %edx
	movq	-16(%rbp), %rax
	movq	8(%rax), %rax
	movl	%eax, %ecx
	movl	%edx, %eax
	subl	%ecx, %eax
	jmp	.L3
.L2:
	movq	-8(%rbp), %rax
	movq	(%rax), %rax
	movl	%eax, %edx
	movq	-16(%rbp), %rax
	movq	(%rax), %rax
	movl	%eax, %ecx
	movl	%edx, %eax
	subl	%ecx, %eax
.L3:
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	comp, .-comp
	.section	.rodata
.LC0:
	.string	"%d"
.LC1:
	.string	"%ld %ld"
.LC2:
	.string	"%ld %ld\n"
	.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
	leaq	-16384(%rsp), %r11
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	subq	$2880, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
.L20:
	leaq	-19248(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-19248(%rbp), %eax
	testl	%eax, %eax
	je	.L24
	movl	$0, -19244(%rbp)
	jmp	.L7
.L8:
	leaq	-19216(%rbp), %rdx
	movl	-19244(%rbp), %eax
	cltq
	salq	$4, %rax
	addq	%rdx, %rax
	leaq	8(%rax), %rdx
	leaq	-19216(%rbp), %rcx
	movl	-19244(%rbp), %eax
	cltq
	salq	$4, %rax
	addq	%rcx, %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addl	$1, -19244(%rbp)
.L7:
	movl	-19248(%rbp), %eax
	cmpl	%eax, -19244(%rbp)
	jl	.L8
	leaq	-19252(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -19244(%rbp)
	jmp	.L9
.L10:
	leaq	-16016(%rbp), %rdx
	movl	-19244(%rbp), %eax
	cltq
	salq	$4, %rax
	addq	%rdx, %rax
	leaq	8(%rax), %rdx
	leaq	-16016(%rbp), %rcx
	movl	-19244(%rbp), %eax
	cltq
	salq	$4, %rax
	addq	%rcx, %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addl	$1, -19244(%rbp)
.L9:
	movl	-19252(%rbp), %eax
	cmpl	%eax, -19244(%rbp)
	jl	.L10
	movl	-19248(%rbp), %eax
	movslq	%eax, %rsi
	leaq	-19216(%rbp), %rax
	leaq	comp(%rip), %rdx
	movq	%rdx, %rcx
	movl	$16, %edx
	movq	%rax, %rdi
	call	qsort@PLT
	movl	-19252(%rbp), %eax
	movslq	%eax, %rsi
	leaq	-16016(%rbp), %rax
	leaq	comp(%rip), %rdx
	movq	%rdx, %rcx
	movl	$16, %edx
	movq	%rax, %rdi
	call	qsort@PLT
	movl	$0, -19244(%rbp)
	jmp	.L11
.L19:
	movl	-19244(%rbp), %eax
	cltq
	salq	$4, %rax
	addq	%rbp, %rax
	subq	$16016, %rax
	movq	(%rax), %rdx
	movq	-19200(%rbp), %rax
	addq	%rdx, %rax
	movq	-19216(%rbp), %rdx
	subq	%rdx, %rax
	movq	%rax, -19232(%rbp)
	movl	-19244(%rbp), %eax
	cltq
	salq	$4, %rax
	addq	%rbp, %rax
	subq	$16008, %rax
	movq	(%rax), %rdx
	movq	-19192(%rbp), %rax
	addq	%rdx, %rax
	movq	-19208(%rbp), %rdx
	subq	%rdx, %rax
	movq	%rax, -19224(%rbp)
	movl	$1, -19236(%rbp)
	movl	-19244(%rbp), %eax
	addl	$1, %eax
	movl	%eax, -19240(%rbp)
	jmp	.L12
.L16:
	movq	-19232(%rbp), %rdx
	movl	-19240(%rbp), %eax
	cltq
	salq	$4, %rax
	addq	%rbp, %rax
	subq	$16016, %rax
	movq	(%rax), %rax
	cmpq	%rax, %rdx
	jne	.L13
	movq	-19224(%rbp), %rdx
	movl	-19240(%rbp), %eax
	cltq
	salq	$4, %rax
	addq	%rbp, %rax
	subq	$16008, %rax
	movq	(%rax), %rax
	cmpq	%rax, %rdx
	jne	.L13
	addl	$1, -19236(%rbp)
	movl	-19248(%rbp), %eax
	cmpl	%eax, -19236(%rbp)
	je	.L25
	movq	-19232(%rbp), %rcx
	movl	-19236(%rbp), %eax
	cltq
	salq	$4, %rax
	addq	%rbp, %rax
	subq	$19216, %rax
	movq	(%rax), %rax
	movl	-19236(%rbp), %edx
	subl	$1, %edx
	movslq	%edx, %rdx
	salq	$4, %rdx
	addq	%rbp, %rdx
	subq	$19216, %rdx
	movq	(%rdx), %rdx
	subq	%rdx, %rax
	addq	%rcx, %rax
	movq	%rax, -19232(%rbp)
	movq	-19224(%rbp), %rcx
	movl	-19236(%rbp), %eax
	cltq
	salq	$4, %rax
	addq	%rbp, %rax
	subq	$19208, %rax
	movq	(%rax), %rax
	movl	-19236(%rbp), %edx
	subl	$1, %edx
	movslq	%edx, %rdx
	salq	$4, %rdx
	addq	%rbp, %rdx
	subq	$19208, %rdx
	movq	(%rdx), %rdx
	subq	%rdx, %rax
	addq	%rcx, %rax
	movq	%rax, -19224(%rbp)
.L13:
	addl	$1, -19240(%rbp)
.L12:
	movl	-19252(%rbp), %eax
	cmpl	%eax, -19240(%rbp)
	jl	.L16
	jmp	.L15
.L25:
	nop
.L15:
	movl	-19248(%rbp), %eax
	cmpl	%eax, -19236(%rbp)
	je	.L26
	addl	$1, -19244(%rbp)
.L11:
	movl	-19252(%rbp), %eax
	cmpl	%eax, -19244(%rbp)
	jl	.L19
	jmp	.L18
.L26:
	nop
.L18:
	movl	-19244(%rbp), %eax
	cltq
	salq	$4, %rax
	addq	%rbp, %rax
	subq	$16008, %rax
	movq	(%rax), %rax
	movq	-19208(%rbp), %rcx
	subq	%rcx, %rax
	movq	%rax, %rdx
	movl	-19244(%rbp), %eax
	cltq
	salq	$4, %rax
	addq	%rbp, %rax
	subq	$16016, %rax
	movq	(%rax), %rax
	movq	-19216(%rbp), %rcx
	subq	%rcx, %rax
	movq	%rax, %rsi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	jmp	.L20
.L24:
	nop
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L22
	call	__stack_chk_fail@PLT
.L22:
	leave
	.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:
