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>
#define M 200
#define N 1000

void is_same(
    int m,int n,
    int mx[],int my[],
    int nx[],int ny[]){
  int i,j,k,l;
  int count;

  for(i=0;i<m;i++)
    for(j=0;j<n;j++){
      count=0;

      for(k=0;k<n;k++)
        for(l=0;l<m;l++)
          if( mx[l]+(nx[j]-mx[i])==nx[k] &&
              my[l]+(ny[j]-my[i])==ny[k] )
            count++;

      if(count==m){
        printf("%d %d\n",nx[j]-mx[i],ny[j]-my[i]);
        return ;
      }
    }
}

int main(void){
  int i;
  int m,n;
  int mx[M],my[M];
  int nx[N],ny[N];

  for(;;){
    scanf("%d",&m);
    if(m==0)
      break;
    for(i=0;i<m;i++)
      scanf("%d%d",&mx[i],&my[i]);

    scanf("%d",&n);
    for(i=0;i<n;i++)
      scanf("%d%d",&nx[i],&ny[i]);
    
    is_same(m,n,mx,my,nx,ny);
  }

  return 0;
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%d %d\n"
	.text
	.globl	is_same
	.type	is_same, @function
is_same:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$80, %rsp
	movl	%edi, -36(%rbp)
	movl	%esi, -40(%rbp)
	movq	%rdx, -48(%rbp)
	movq	%rcx, -56(%rbp)
	movq	%r8, -64(%rbp)
	movq	%r9, -72(%rbp)
	movl	$0, -20(%rbp)
	jmp	.L2
.L12:
	movl	$0, -16(%rbp)
	jmp	.L3
.L11:
	movl	$0, -4(%rbp)
	movl	$0, -12(%rbp)
	jmp	.L4
.L8:
	movl	$0, -8(%rbp)
	jmp	.L5
.L7:
	movl	-8(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	movq	-48(%rbp), %rax
	addq	%rdx, %rax
	movl	(%rax), %ecx
	movl	-16(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	movq	-64(%rbp), %rax
	addq	%rdx, %rax
	movl	(%rax), %eax
	movl	-20(%rbp), %edx
	movslq	%edx, %rdx
	leaq	0(,%rdx,4), %rsi
	movq	-48(%rbp), %rdx
	addq	%rsi, %rdx
	movl	(%rdx), %edx
	subl	%edx, %eax
	leal	(%rcx,%rax), %edx
	movl	-12(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rcx
	movq	-64(%rbp), %rax
	addq	%rcx, %rax
	movl	(%rax), %eax
	cmpl	%eax, %edx
	jne	.L6
	movl	-8(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	movq	-56(%rbp), %rax
	addq	%rdx, %rax
	movl	(%rax), %ecx
	movl	-16(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	movq	-72(%rbp), %rax
	addq	%rdx, %rax
	movl	(%rax), %eax
	movl	-20(%rbp), %edx
	movslq	%edx, %rdx
	leaq	0(,%rdx,4), %rsi
	movq	-56(%rbp), %rdx
	addq	%rsi, %rdx
	movl	(%rdx), %edx
	subl	%edx, %eax
	leal	(%rcx,%rax), %edx
	movl	-12(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rcx
	movq	-72(%rbp), %rax
	addq	%rcx, %rax
	movl	(%rax), %eax
	cmpl	%eax, %edx
	jne	.L6
	addl	$1, -4(%rbp)
.L6:
	addl	$1, -8(%rbp)
.L5:
	movl	-8(%rbp), %eax
	cmpl	-36(%rbp), %eax
	jl	.L7
	addl	$1, -12(%rbp)
.L4:
	movl	-12(%rbp), %eax
	cmpl	-40(%rbp), %eax
	jl	.L8
	movl	-4(%rbp), %eax
	cmpl	-36(%rbp), %eax
	jne	.L9
	movl	-16(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	movq	-72(%rbp), %rax
	addq	%rdx, %rax
	movl	(%rax), %eax
	movl	-20(%rbp), %edx
	movslq	%edx, %rdx
	leaq	0(,%rdx,4), %rcx
	movq	-56(%rbp), %rdx
	addq	%rcx, %rdx
	movl	(%rdx), %ecx
	subl	%ecx, %eax
	movl	%eax, %edx
	movl	-16(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rcx
	movq	-64(%rbp), %rax
	addq	%rcx, %rax
	movl	(%rax), %eax
	movl	-20(%rbp), %ecx
	movslq	%ecx, %rcx
	leaq	0(,%rcx,4), %rsi
	movq	-48(%rbp), %rcx
	addq	%rsi, %rcx
	movl	(%rcx), %ecx
	subl	%ecx, %eax
	movl	%eax, %esi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	jmp	.L1
.L9:
	addl	$1, -16(%rbp)
.L3:
	movl	-16(%rbp), %eax
	cmpl	-40(%rbp), %eax
	jl	.L11
	addl	$1, -20(%rbp)
.L2:
	movl	-20(%rbp), %eax
	cmpl	-36(%rbp), %eax
	jl	.L12
.L1:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	is_same, .-is_same
	.section	.rodata
.LC1:
	.string	"%d"
.LC2:
	.string	"%d%d"
	.text
	.globl	main
	.type	main, @function
main:
.LFB1:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$4096, %rsp
	orq	$0, (%rsp)
	subq	$4096, %rsp
	orq	$0, (%rsp)
	subq	$1440, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
.L20:
	leaq	-9628(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-9628(%rbp), %eax
	testl	%eax, %eax
	je	.L24
	movl	$0, -9620(%rbp)
	jmp	.L16
.L17:
	leaq	-8816(%rbp), %rdx
	movl	-9620(%rbp), %eax
	cltq
	salq	$2, %rax
	addq	%rax, %rdx
	leaq	-9616(%rbp), %rcx
	movl	-9620(%rbp), %eax
	cltq
	salq	$2, %rax
	addq	%rcx, %rax
	movq	%rax, %rsi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addl	$1, -9620(%rbp)
.L16:
	movl	-9628(%rbp), %eax
	cmpl	%eax, -9620(%rbp)
	jl	.L17
	leaq	-9624(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -9620(%rbp)
	jmp	.L18
.L19:
	leaq	-4016(%rbp), %rdx
	movl	-9620(%rbp), %eax
	cltq
	salq	$2, %rax
	addq	%rax, %rdx
	leaq	-8016(%rbp), %rcx
	movl	-9620(%rbp), %eax
	cltq
	salq	$2, %rax
	addq	%rcx, %rax
	movq	%rax, %rsi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addl	$1, -9620(%rbp)
.L18:
	movl	-9624(%rbp), %eax
	cmpl	%eax, -9620(%rbp)
	jl	.L19
	movl	-9624(%rbp), %esi
	movl	-9628(%rbp), %eax
	leaq	-4016(%rbp), %r8
	leaq	-8016(%rbp), %rdi
	leaq	-8816(%rbp), %rcx
	leaq	-9616(%rbp), %rdx
	movq	%r8, %r9
	movq	%rdi, %r8
	movl	%eax, %edi
	call	is_same
	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
.LFE1:
	.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 %d\n"
	.text
	.p2align 4
	.globl	is_same
	.type	is_same, @function
is_same:
.LFB23:
	.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
	movl	%edi, -16(%rsp)
	movl	%esi, -12(%rsp)
	testl	%edi, %edi
	jle	.L1
	movl	%esi, %r14d
	leal	-1(%rdi), %eax
	movq	%rdx, -32(%rsp)
	movq	%rdx, %rsi
	leaq	4(%rcx,%rax,4), %rax
	leal	-1(%r14), %r15d
	movq	%rcx, %rbp
	movq	%r8, %r13
	movq	%rax, -24(%rsp)
	leaq	4(%r9,%r15,4), %rax
	movq	%r9, %rbx
	movq	%rcx, %r11
	movq	%rax, -40(%rsp)
	movl	%edi, %edi
.L3:
	movl	-12(%rsp), %eax
	testl	%eax, %eax
	jle	.L8
	movq	-32(%rsp), %rax
	movq	%r13, %r14
	movq	%rbx, %r10
	movl	(%rax), %eax
	movl	%eax, -44(%rsp)
	.p2align 4,,10
	.p2align 3
.L10:
	movl	(%r14), %r8d
	xorl	%r9d, %r9d
	subl	-44(%rsp), %r8d
	xorl	%r12d, %r12d
	.p2align 4,,10
	.p2align 3
.L9:
	movl	0(%r13,%r9,4), %ecx
	xorl	%eax, %eax
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L4:
	addq	$1, %rax
	cmpq	%rdi, %rax
	je	.L15
.L5:
	movl	(%rsi,%rax,4), %edx
	addl	%r8d, %edx
	cmpl	%ecx, %edx
	jne	.L4
	movl	(%r10), %edx
	subl	(%r11), %edx
	addl	0(%rbp,%rax,4), %edx
	cmpl	(%rbx,%r9,4), %edx
	jne	.L4
	addq	$1, %rax
	addl	$1, %r12d
	cmpq	%rdi, %rax
	jne	.L5
	.p2align 4,,10
	.p2align 3
.L15:
	leaq	1(%r9), %rax
	cmpq	%r9, %r15
	je	.L6
	movq	%rax, %r9
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L6:
	cmpl	-16(%rsp), %r12d
	je	.L16
	addq	$4, %r14
	addq	$4, %r10
	cmpq	%r10, -40(%rsp)
	jne	.L10
.L8:
	addq	$4, -32(%rsp)
	addq	$4, %r11
	cmpq	-24(%rsp), %r11
	jne	.L3
.L1:
	popq	%rbx
	.cfi_remember_state
	.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
.L16:
	.cfi_restore_state
	popq	%rbx
	.cfi_def_cfa_offset 48
	movl	(%r10), %ecx
	movl	%r8d, %edx
	leaq	.LC0(%rip), %rsi
	popq	%rbp
	.cfi_def_cfa_offset 40
	subl	(%r11), %ecx
	movl	$1, %edi
	xorl	%eax, %eax
	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
	jmp	__printf_chk@PLT
	.cfi_endproc
.LFE23:
	.size	is_same, .-is_same
	.section	.rodata.str1.1
.LC1:
	.string	"%d"
.LC2:
	.string	"%d%d"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB24:
	.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
	subq	$4096, %rsp
	.cfi_def_cfa_offset 4152
	orq	$0, (%rsp)
	subq	$4096, %rsp
	.cfi_def_cfa_offset 8248
	orq	$0, (%rsp)
	subq	$1480, %rsp
	.cfi_def_cfa_offset 9728
	leaq	.LC1(%rip), %r15
	leaq	.LC2(%rip), %rbx
	movq	%fs:40, %rax
	movq	%rax, 9656(%rsp)
	xorl	%eax, %eax
	leaq	40(%rsp), %rax
	movq	%rax, 24(%rsp)
	.p2align 4,,10
	.p2align 3
.L25:
	movq	24(%rsp), %rsi
	movq	%r15, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	40(%rsp), %eax
	testl	%eax, %eax
	je	.L18
	leaq	48(%rsp), %rax
	movq	%rax, 8(%rsp)
	jle	.L30
	movq	%rax, %r14
	xorl	%ebp, %ebp
	leaq	848(%rsp), %r12
	.p2align 4,,10
	.p2align 3
.L22:
	leaq	(%r12,%rbp,4), %rdx
	movq	%r14, %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	addq	$1, %rbp
	addq	$4, %r14
	cmpl	%ebp, 40(%rsp)
	jg	.L22
.L23:
	leaq	44(%rsp), %rsi
	movq	%r15, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	44(%rsp), %r10d
	leaq	1648(%rsp), %rax
	leaq	5648(%rsp), %rbp
	movq	%rax, 16(%rsp)
	testl	%r10d, %r10d
	jle	.L21
	movq	%rax, %r14
	xorl	%r13d, %r13d
	leaq	5648(%rsp), %rbp
	.p2align 4,,10
	.p2align 3
.L24:
	leaq	0(%rbp,%r13,4), %rdx
	movq	%r14, %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	44(%rsp), %r10d
	addq	$1, %r13
	addq	$4, %r14
	cmpl	%r13d, %r10d
	jg	.L24
.L21:
	movq	16(%rsp), %r8
	movq	8(%rsp), %rdx
	movq	%rbp, %r9
	movq	%r12, %rcx
	movl	40(%rsp), %edi
	movl	%r10d, %esi
	call	is_same
	jmp	.L25
	.p2align 4,,10
	.p2align 3
.L18:
	movq	9656(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L31
	addq	$9672, %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
.L30:
	.cfi_restore_state
	leaq	848(%rsp), %r12
	jmp	.L23
.L31:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE24:
	.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 %d\n"
	.text
	.p2align 4
	.globl	is_same
	.type	is_same, @function
is_same:
.LFB23:
	.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
	movl	%edi, -16(%rsp)
	movl	%esi, -12(%rsp)
	testl	%edi, %edi
	jle	.L1
	movl	%esi, %r14d
	leal	-1(%rdi), %eax
	movq	%rdx, -32(%rsp)
	movq	%rdx, %rsi
	leaq	4(%rcx,%rax,4), %rax
	leal	-1(%r14), %r15d
	movq	%rcx, %rbp
	movq	%r8, %r13
	movq	%rax, -24(%rsp)
	leaq	4(%r9,%r15,4), %rax
	movq	%r9, %rbx
	movq	%rcx, %r11
	movq	%rax, -40(%rsp)
	movl	%edi, %edi
.L3:
	movl	-12(%rsp), %eax
	testl	%eax, %eax
	jle	.L8
	movq	-32(%rsp), %rax
	movq	%r13, %r14
	movq	%rbx, %r10
	movl	(%rax), %eax
	movl	%eax, -44(%rsp)
	.p2align 4,,10
	.p2align 3
.L10:
	movl	(%r14), %r8d
	xorl	%r9d, %r9d
	subl	-44(%rsp), %r8d
	xorl	%r12d, %r12d
	.p2align 4,,10
	.p2align 3
.L9:
	movl	0(%r13,%r9,4), %ecx
	xorl	%eax, %eax
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L4:
	addq	$1, %rax
	cmpq	%rdi, %rax
	je	.L15
.L5:
	movl	(%rsi,%rax,4), %edx
	addl	%r8d, %edx
	cmpl	%ecx, %edx
	jne	.L4
	movl	(%r10), %edx
	subl	(%r11), %edx
	addl	0(%rbp,%rax,4), %edx
	cmpl	(%rbx,%r9,4), %edx
	jne	.L4
	addq	$1, %rax
	addl	$1, %r12d
	cmpq	%rdi, %rax
	jne	.L5
	.p2align 4,,10
	.p2align 3
.L15:
	leaq	1(%r9), %rax
	cmpq	%r9, %r15
	je	.L6
	movq	%rax, %r9
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L6:
	cmpl	-16(%rsp), %r12d
	je	.L16
	addq	$4, %r14
	addq	$4, %r10
	cmpq	%r10, -40(%rsp)
	jne	.L10
.L8:
	addq	$4, -32(%rsp)
	addq	$4, %r11
	cmpq	-24(%rsp), %r11
	jne	.L3
.L1:
	popq	%rbx
	.cfi_remember_state
	.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
.L16:
	.cfi_restore_state
	popq	%rbx
	.cfi_def_cfa_offset 48
	movl	(%r10), %ecx
	movl	%r8d, %edx
	leaq	.LC0(%rip), %rsi
	popq	%rbp
	.cfi_def_cfa_offset 40
	subl	(%r11), %ecx
	movl	$1, %edi
	xorl	%eax, %eax
	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
	jmp	__printf_chk@PLT
	.cfi_endproc
.LFE23:
	.size	is_same, .-is_same
	.section	.rodata.str1.1
.LC1:
	.string	"%d"
.LC2:
	.string	"%d%d"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB24:
	.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
	subq	$4096, %rsp
	.cfi_def_cfa_offset 4152
	orq	$0, (%rsp)
	subq	$4096, %rsp
	.cfi_def_cfa_offset 8248
	orq	$0, (%rsp)
	subq	$1480, %rsp
	.cfi_def_cfa_offset 9728
	leaq	.LC1(%rip), %r15
	leaq	.LC2(%rip), %rbx
	movq	%fs:40, %rax
	movq	%rax, 9656(%rsp)
	xorl	%eax, %eax
	leaq	40(%rsp), %rax
	movq	%rax, 24(%rsp)
	.p2align 4,,10
	.p2align 3
.L25:
	movq	24(%rsp), %rsi
	movq	%r15, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	40(%rsp), %eax
	testl	%eax, %eax
	je	.L18
	leaq	48(%rsp), %rax
	movq	%rax, 8(%rsp)
	jle	.L30
	movq	%rax, %r14
	xorl	%ebp, %ebp
	leaq	848(%rsp), %r12
	.p2align 4,,10
	.p2align 3
.L22:
	leaq	(%r12,%rbp,4), %rdx
	movq	%r14, %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	addq	$1, %rbp
	addq	$4, %r14
	cmpl	%ebp, 40(%rsp)
	jg	.L22
.L23:
	leaq	44(%rsp), %rsi
	movq	%r15, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	44(%rsp), %r10d
	leaq	1648(%rsp), %rax
	leaq	5648(%rsp), %rbp
	movq	%rax, 16(%rsp)
	testl	%r10d, %r10d
	jle	.L21
	movq	%rax, %r14
	xorl	%r13d, %r13d
	leaq	5648(%rsp), %rbp
	.p2align 4,,10
	.p2align 3
.L24:
	leaq	0(%rbp,%r13,4), %rdx
	movq	%r14, %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	44(%rsp), %r10d
	addq	$1, %r13
	addq	$4, %r14
	cmpl	%r13d, %r10d
	jg	.L24
.L21:
	movq	16(%rsp), %r8
	movq	8(%rsp), %rdx
	movq	%rbp, %r9
	movq	%r12, %rcx
	movl	40(%rsp), %edi
	movl	%r10d, %esi
	call	is_same
	jmp	.L25
	.p2align 4,,10
	.p2align 3
.L18:
	movq	9656(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L31
	addq	$9672, %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
.L30:
	.cfi_restore_state
	leaq	848(%rsp), %r12
	jmp	.L23
.L31:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE24:
	.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>
#define M 200
#define N 1000

void is_same(
    int m,int n,
    int mx[],int my[],
    int nx[],int ny[]){
  int i,j,k,l;
  int count;

  for(i=0;i<m;i++)
    for(j=0;j<n;j++){
      count=0;

      for(k=0;k<n;k++)
        for(l=0;l<m;l++)
          if( mx[l]+(nx[j]-mx[i])==nx[k] &&
              my[l]+(ny[j]-my[i])==ny[k] )
            count++;

      if(count==m){
        printf("%d %d\n",nx[j]-mx[i],ny[j]-my[i]);
        return ;
      }
    }
}

int main(void){
  int i;
  int m,n;
  int mx[M],my[M];
  int nx[N],ny[N];

  for(;;){
    scanf("%d",&m);
    if(m==0)
      break;
    for(i=0;i<m;i++)
      scanf("%d%d",&mx[i],&my[i]);

    scanf("%d",&n);
    for(i=0;i<n;i++)
      scanf("%d%d",&nx[i],&ny[i]);
    
    is_same(m,n,mx,my,nx,ny);
  }

  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

-384281 179674
 2 -3
 2 -3
-384281 179674
 -384281 179674
 -384281 179674
 -384281 179674
 -384281 179674
 -384281 179674
 -384281 179674
 -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>
#define M 200
#define N 1000

void is_same(
    int m,int n,
    int mx[],int my[],
    int nx[],int ny[]){
  int i,j,k,l;
  int count;

  for(i=0;i<m;i++)
    for(j=0;j<n;j++){
      count=0;

      for(k=0;k<n;k++)
        for(l=0;l<m;l++)
          if( mx[l]+(nx[j]-mx[i])==nx[k] &&
              my[l]+(ny[j]-my[i])==ny[k] )
            count++;

      if(count==m){
        printf("%d %d\n",nx[j]-mx[i],ny[j]-my[i]);
        return ;
      }
    }
}

int main(void){
  int i;
  int m,n;
  int mx[M],my[M];
  int nx[N],ny[N];

  for(;;){
    scanf("%d",&m);
    if(m==0)
      break;
    for(i=0;i<m;i++)
      scanf("%d%d",&mx[i],&my[i]);

    scanf("%d",&n);
    for(i=0;i<n;i++)
      scanf("%d%d",&nx[i],&ny[i]);
    
    is_same(m,n,mx,my,nx,ny);
  }

  return 0;
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%d %d\n"
	.text
	.globl	is_same
	.type	is_same, @function
is_same:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$80, %rsp
	movl	%edi, -36(%rbp)
	movl	%esi, -40(%rbp)
	movq	%rdx, -48(%rbp)
	movq	%rcx, -56(%rbp)
	movq	%r8, -64(%rbp)
	movq	%r9, -72(%rbp)
	movl	$0, -20(%rbp)
	jmp	.L2
.L12:
	movl	$0, -16(%rbp)
	jmp	.L3
.L11:
	movl	$0, -4(%rbp)
	movl	$0, -12(%rbp)
	jmp	.L4
.L8:
	movl	$0, -8(%rbp)
	jmp	.L5
.L7:
	movl	-8(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	movq	-48(%rbp), %rax
	addq	%rdx, %rax
	movl	(%rax), %ecx
	movl	-16(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	movq	-64(%rbp), %rax
	addq	%rdx, %rax
	movl	(%rax), %eax
	movl	-20(%rbp), %edx
	movslq	%edx, %rdx
	leaq	0(,%rdx,4), %rsi
	movq	-48(%rbp), %rdx
	addq	%rsi, %rdx
	movl	(%rdx), %edx
	subl	%edx, %eax
	leal	(%rcx,%rax), %edx
	movl	-12(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rcx
	movq	-64(%rbp), %rax
	addq	%rcx, %rax
	movl	(%rax), %eax
	cmpl	%eax, %edx
	jne	.L6
	movl	-8(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	movq	-56(%rbp), %rax
	addq	%rdx, %rax
	movl	(%rax), %ecx
	movl	-16(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	movq	-72(%rbp), %rax
	addq	%rdx, %rax
	movl	(%rax), %eax
	movl	-20(%rbp), %edx
	movslq	%edx, %rdx
	leaq	0(,%rdx,4), %rsi
	movq	-56(%rbp), %rdx
	addq	%rsi, %rdx
	movl	(%rdx), %edx
	subl	%edx, %eax
	leal	(%rcx,%rax), %edx
	movl	-12(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rcx
	movq	-72(%rbp), %rax
	addq	%rcx, %rax
	movl	(%rax), %eax
	cmpl	%eax, %edx
	jne	.L6
	addl	$1, -4(%rbp)
.L6:
	addl	$1, -8(%rbp)
.L5:
	movl	-8(%rbp), %eax
	cmpl	-36(%rbp), %eax
	jl	.L7
	addl	$1, -12(%rbp)
.L4:
	movl	-12(%rbp), %eax
	cmpl	-40(%rbp), %eax
	jl	.L8
	movl	-4(%rbp), %eax
	cmpl	-36(%rbp), %eax
	jne	.L9
	movl	-16(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	movq	-72(%rbp), %rax
	addq	%rdx, %rax
	movl	(%rax), %eax
	movl	-20(%rbp), %edx
	movslq	%edx, %rdx
	leaq	0(,%rdx,4), %rcx
	movq	-56(%rbp), %rdx
	addq	%rcx, %rdx
	movl	(%rdx), %ecx
	subl	%ecx, %eax
	movl	%eax, %edx
	movl	-16(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rcx
	movq	-64(%rbp), %rax
	addq	%rcx, %rax
	movl	(%rax), %eax
	movl	-20(%rbp), %ecx
	movslq	%ecx, %rcx
	leaq	0(,%rcx,4), %rsi
	movq	-48(%rbp), %rcx
	addq	%rsi, %rcx
	movl	(%rcx), %ecx
	subl	%ecx, %eax
	movl	%eax, %esi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	jmp	.L1
.L9:
	addl	$1, -16(%rbp)
.L3:
	movl	-16(%rbp), %eax
	cmpl	-40(%rbp), %eax
	jl	.L11
	addl	$1, -20(%rbp)
.L2:
	movl	-20(%rbp), %eax
	cmpl	-36(%rbp), %eax
	jl	.L12
.L1:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	is_same, .-is_same
	.section	.rodata
.LC1:
	.string	"%d"
.LC2:
	.string	"%d%d"
	.text
	.globl	main
	.type	main, @function
main:
.LFB1:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$4096, %rsp
	orq	$0, (%rsp)
	subq	$4096, %rsp
	orq	$0, (%rsp)
	subq	$1440, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
.L20:
	leaq	-9628(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-9628(%rbp), %eax
	testl	%eax, %eax
	je	.L24
	movl	$0, -9620(%rbp)
	jmp	.L16
.L17:
	leaq	-8816(%rbp), %rdx
	movl	-9620(%rbp), %eax
	cltq
	salq	$2, %rax
	addq	%rax, %rdx
	leaq	-9616(%rbp), %rcx
	movl	-9620(%rbp), %eax
	cltq
	salq	$2, %rax
	addq	%rcx, %rax
	movq	%rax, %rsi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addl	$1, -9620(%rbp)
.L16:
	movl	-9628(%rbp), %eax
	cmpl	%eax, -9620(%rbp)
	jl	.L17
	leaq	-9624(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -9620(%rbp)
	jmp	.L18
.L19:
	leaq	-4016(%rbp), %rdx
	movl	-9620(%rbp), %eax
	cltq
	salq	$2, %rax
	addq	%rax, %rdx
	leaq	-8016(%rbp), %rcx
	movl	-9620(%rbp), %eax
	cltq
	salq	$2, %rax
	addq	%rcx, %rax
	movq	%rax, %rsi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addl	$1, -9620(%rbp)
.L18:
	movl	-9624(%rbp), %eax
	cmpl	%eax, -9620(%rbp)
	jl	.L19
	movl	-9624(%rbp), %esi
	movl	-9628(%rbp), %eax
	leaq	-4016(%rbp), %r8
	leaq	-8016(%rbp), %rdi
	leaq	-8816(%rbp), %rcx
	leaq	-9616(%rbp), %rdx
	movq	%r8, %r9
	movq	%rdi, %r8
	movl	%eax, %edi
	call	is_same
	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
.LFE1:
	.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 %d\n"
	.text
	.globl	is_same
	.type	is_same, @function
is_same:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$80, %rsp
	movl	%edi, -36(%rbp)
	movl	%esi, -40(%rbp)
	movq	%rdx, -48(%rbp)
	movq	%rcx, -56(%rbp)
	movq	%r8, -64(%rbp)
	movq	%r9, -72(%rbp)
	movl	$0, -20(%rbp)
	jmp	.L2
.L12:
	movl	$0, -16(%rbp)
	jmp	.L3
.L11:
	movl	$0, -4(%rbp)
	movl	$0, -12(%rbp)
	jmp	.L4
.L8:
	movl	$0, -8(%rbp)
	jmp	.L5
.L7:
	movl	-8(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	movq	-48(%rbp), %rax
	addq	%rdx, %rax
	movl	(%rax), %ecx
	movl	-16(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	movq	-64(%rbp), %rax
	addq	%rdx, %rax
	movl	(%rax), %eax
	movl	-20(%rbp), %edx
	movslq	%edx, %rdx
	leaq	0(,%rdx,4), %rsi
	movq	-48(%rbp), %rdx
	addq	%rsi, %rdx
	movl	(%rdx), %edx
	subl	%edx, %eax
	leal	(%rcx,%rax), %edx
	movl	-12(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rcx
	movq	-64(%rbp), %rax
	addq	%rcx, %rax
	movl	(%rax), %eax
	cmpl	%eax, %edx
	jne	.L6
	movl	-8(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	movq	-56(%rbp), %rax
	addq	%rdx, %rax
	movl	(%rax), %ecx
	movl	-16(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	movq	-72(%rbp), %rax
	addq	%rdx, %rax
	movl	(%rax), %eax
	movl	-20(%rbp), %edx
	movslq	%edx, %rdx
	leaq	0(,%rdx,4), %rsi
	movq	-56(%rbp), %rdx
	addq	%rsi, %rdx
	movl	(%rdx), %edx
	subl	%edx, %eax
	leal	(%rcx,%rax), %edx
	movl	-12(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rcx
	movq	-72(%rbp), %rax
	addq	%rcx, %rax
	movl	(%rax), %eax
	cmpl	%eax, %edx
	jne	.L6
	addl	$1, -4(%rbp)
.L6:
	addl	$1, -8(%rbp)
.L5:
	movl	-8(%rbp), %eax
	cmpl	-36(%rbp), %eax
	jl	.L7
	addl	$1, -12(%rbp)
.L4:
	movl	-12(%rbp), %eax
	cmpl	-40(%rbp), %eax
	jl	.L8
	movl	-4(%rbp), %eax
	cmpl	-36(%rbp), %eax
	jne	.L9
	movl	-16(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	movq	-72(%rbp), %rax
	addq	%rdx, %rax
	movl	(%rax), %eax
	movl	-20(%rbp), %edx
	movslq	%edx, %rdx
	leaq	0(,%rdx,4), %rcx
	movq	-56(%rbp), %rdx
	addq	%rcx, %rdx
	movl	(%rdx), %ecx
	subl	%ecx, %eax
	movl	%eax, %edx
	movl	-16(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rcx
	movq	-64(%rbp), %rax
	addq	%rcx, %rax
	movl	(%rax), %eax
	movl	-20(%rbp), %ecx
	movslq	%ecx, %rcx
	leaq	0(,%rcx,4), %rsi
	movq	-48(%rbp), %rcx
	addq	%rsi, %rcx
	movl	(%rcx), %ecx
	subl	%ecx, %eax
	movl	%eax, %esi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	jmp	.L1
.L9:
	addl	$1, -16(%rbp)
.L3:
	movl	-16(%rbp), %eax
	cmpl	-40(%rbp), %eax
	jl	.L11
	addl	$1, -20(%rbp)
.L2:
	movl	-20(%rbp), %eax
	cmpl	-36(%rbp), %eax
	jl	.L12
.L1:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	is_same, .-is_same
	.section	.rodata
.LC1:
	.string	"%d"
.LC2:
	.string	"%d%d"
	.text
	.globl	main
	.type	main, @function
main:
.LFB1:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$4096, %rsp
	orq	$0, (%rsp)
	subq	$4096, %rsp
	orq	$0, (%rsp)
	subq	$1440, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
.L20:
	leaq	-9628(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-9628(%rbp), %eax
	testl	%eax, %eax
	je	.L24
	movl	$0, -9620(%rbp)
	jmp	.L16
.L17:
	leaq	-8816(%rbp), %rdx
	movl	-9620(%rbp), %eax
	cltq
	salq	$2, %rax
	addq	%rax, %rdx
	leaq	-9616(%rbp), %rcx
	movl	-9620(%rbp), %eax
	cltq
	salq	$2, %rax
	addq	%rcx, %rax
	movq	%rax, %rsi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addl	$1, -9620(%rbp)
.L16:
	movl	-9628(%rbp), %eax
	cmpl	%eax, -9620(%rbp)
	jl	.L17
	leaq	-9624(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -9620(%rbp)
	jmp	.L18
.L19:
	leaq	-4016(%rbp), %rdx
	movl	-9620(%rbp), %eax
	cltq
	salq	$2, %rax
	addq	%rax, %rdx
	leaq	-8016(%rbp), %rcx
	movl	-9620(%rbp), %eax
	cltq
	salq	$2, %rax
	addq	%rcx, %rax
	movq	%rax, %rsi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addl	$1, -9620(%rbp)
.L18:
	movl	-9624(%rbp), %eax
	cmpl	%eax, -9620(%rbp)
	jl	.L19
	movl	-9624(%rbp), %esi
	movl	-9628(%rbp), %eax
	leaq	-4016(%rbp), %r8
	leaq	-8016(%rbp), %rdi
	leaq	-8816(%rbp), %rcx
	leaq	-9616(%rbp), %rdx
	movq	%r8, %r9
	movq	%rdi, %r8
	movl	%eax, %edi
	call	is_same
	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
.LFE1:
	.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:
