Given the following C code and unoptimized assembly code, your task is to generate highly optimized x86-64 assembly code.
C Code:

```c
#include<stdio.h>
int main(void){

	int m,n,s[200][2],t[1000][2];
	int i,j,k,x,y;

	while(1){
		scanf("%d",&m);
		if(!m)break;
		for(i=0;i<m;i++){
			scanf("%d%d",&s[i][0],&s[i][1]);
		}
		scanf("%d",&n);
		for(i=0;i<n;i++){
			scanf("%d%d",&t[i][0],&t[i][1]);
		}
		for(i=0;i<n;i++){
			x=t[i][0]-s[0][0];
			y=t[i][1]-s[0][1];
			for(j=1;j<m;j++){
				for(k=0;k<n;k++){
					if(s[j][0]+x==t[k][0]&&s[j][1]+y==t[k][1]){
						break;
					}
				}
				if(k==n)break;
			}
			if(j==m){
				printf("%d %d\n",x,y);
				break;
			}
		}
	}
	return 0;
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%d"
.LC1:
	.string	"%d%d"
.LC2:
	.string	"%d %d\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$4096, %rsp
	orq	$0, (%rsp)
	subq	$4096, %rsp
	orq	$0, (%rsp)
	subq	$1456, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
.L20:
	leaq	-9644(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-9644(%rbp), %eax
	testl	%eax, %eax
	je	.L24
	movl	$0, -9636(%rbp)
	jmp	.L4
.L5:
	leaq	-9616(%rbp), %rdx
	movl	-9636(%rbp), %eax
	cltq
	salq	$3, %rax
	addq	$4, %rax
	addq	%rax, %rdx
	leaq	-9616(%rbp), %rcx
	movl	-9636(%rbp), %eax
	cltq
	salq	$3, %rax
	addq	%rcx, %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addl	$1, -9636(%rbp)
.L4:
	movl	-9644(%rbp), %eax
	cmpl	%eax, -9636(%rbp)
	jl	.L5
	leaq	-9640(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -9636(%rbp)
	jmp	.L6
.L7:
	leaq	-8016(%rbp), %rdx
	movl	-9636(%rbp), %eax
	cltq
	salq	$3, %rax
	addq	$4, %rax
	addq	%rax, %rdx
	leaq	-8016(%rbp), %rcx
	movl	-9636(%rbp), %eax
	cltq
	salq	$3, %rax
	addq	%rcx, %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addl	$1, -9636(%rbp)
.L6:
	movl	-9640(%rbp), %eax
	cmpl	%eax, -9636(%rbp)
	jl	.L7
	movl	$0, -9636(%rbp)
	jmp	.L8
.L19:
	movl	-9636(%rbp), %eax
	cltq
	movl	-8016(%rbp,%rax,8), %eax
	movl	-9616(%rbp), %edx
	subl	%edx, %eax
	movl	%eax, -9624(%rbp)
	movl	-9636(%rbp), %eax
	cltq
	movl	-8012(%rbp,%rax,8), %eax
	movl	-9612(%rbp), %edx
	subl	%edx, %eax
	movl	%eax, -9620(%rbp)
	movl	$1, -9632(%rbp)
	jmp	.L9
.L16:
	movl	$0, -9628(%rbp)
	jmp	.L10
.L13:
	movl	-9632(%rbp), %eax
	cltq
	movl	-9616(%rbp,%rax,8), %edx
	movl	-9624(%rbp), %eax
	addl	%eax, %edx
	movl	-9628(%rbp), %eax
	cltq
	movl	-8016(%rbp,%rax,8), %eax
	cmpl	%eax, %edx
	jne	.L11
	movl	-9632(%rbp), %eax
	cltq
	movl	-9612(%rbp,%rax,8), %edx
	movl	-9620(%rbp), %eax
	addl	%eax, %edx
	movl	-9628(%rbp), %eax
	cltq
	movl	-8012(%rbp,%rax,8), %eax
	cmpl	%eax, %edx
	je	.L25
.L11:
	addl	$1, -9628(%rbp)
.L10:
	movl	-9640(%rbp), %eax
	cmpl	%eax, -9628(%rbp)
	jl	.L13
	jmp	.L12
.L25:
	nop
.L12:
	movl	-9640(%rbp), %eax
	cmpl	%eax, -9628(%rbp)
	je	.L26
	addl	$1, -9632(%rbp)
.L9:
	movl	-9644(%rbp), %eax
	cmpl	%eax, -9632(%rbp)
	jl	.L16
	jmp	.L15
.L26:
	nop
.L15:
	movl	-9644(%rbp), %eax
	cmpl	%eax, -9632(%rbp)
	jne	.L17
	movl	-9620(%rbp), %edx
	movl	-9624(%rbp), %eax
	movl	%eax, %esi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	jmp	.L18
.L17:
	addl	$1, -9636(%rbp)
.L8:
	movl	-9640(%rbp), %eax
	cmpl	%eax, -9636(%rbp)
	jl	.L19
.L18:
	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
.LFE0:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	1f - 0f
	.long	4f - 1f
	.long	5
0:
	.string	"GNU"
1:
	.align 8
	.long	0xc0000002
	.long	3f - 2f
2:
	.long	0x3
3:
	.align 8
4:
```

Only output the optimized assembly code. Do not include any other text. Do not write any comments in the assembly code. Wrap the assembly code in ```assembly``` tags.
user
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d"
.LC1:
	.string	"%d%d"
.LC2:
	.string	"%d %d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	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
	movq	%fs:40, %rax
	movq	%rax, 9656(%rsp)
	xorl	%eax, %eax
	leaq	40(%rsp), %rax
	leaq	1652(%rsp), %rbx
	movq	%rax, 16(%rsp)
	movq	%rbx, %r14
.L17:
	leaq	44(%rsp), %rax
	movq	%rax, 24(%rsp)
.L2:
	movq	16(%rsp), %rsi
	leaq	.LC0(%rip), %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	40(%rsp), %eax
	testl	%eax, %eax
	je	.L3
	leaq	48(%rsp), %rbx
	movl	$0, %ebp
	jle	.L8
.L7:
	leaq	4(%rbx), %rdx
	movq	%rbx, %rsi
	movq	%r15, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	addl	$1, %ebp
	addq	$8, %rbx
	cmpl	%ebp, 40(%rsp)
	jg	.L7
.L8:
	movq	24(%rsp), %rsi
	xorl	%eax, %eax
	xorl	%r12d, %r12d
	leaq	.LC0(%rip), %rdi
	leaq	1648(%rsp), %rbx
	call	__isoc99_scanf@PLT
	movl	44(%rsp), %eax
	movq	%rbx, %rbp
	testl	%eax, %eax
	jle	.L2
.L9:
	movq	%rbp, %rsi
	leaq	4(%rbp), %rdx
	movq	%r15, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	44(%rsp), %esi
	addl	$1, %r12d
	addq	$8, %rbp
	cmpl	%r12d, %esi
	jg	.L9
	testl	%esi, %esi
	jle	.L2
	leal	-1(%rsi), %eax
	movl	48(%rsp), %r13d
	movl	52(%rsp), %r12d
	leaq	8(%rbx,%rax,8), %rax
	movl	40(%rsp), %ebp
	movq	%rax, 8(%rsp)
.L18:
	movl	(%rbx), %r11d
	movl	4(%rbx), %r9d
	subl	%r13d, %r11d
	subl	%r12d, %r9d
	cmpl	$1, %ebp
	jle	.L10
	leaq	56(%rsp), %r8
	movl	$1, %r10d
	.p2align 4,,10
	.p2align 3
.L11:
	movl	(%r8), %ecx
	movq	%r14, %rax
	xorl	%edx, %edx
	addl	%r11d, %ecx
	jmp	.L14
	.p2align 4,,10
	.p2align 3
.L12:
	addl	$1, %edx
	addq	$8, %rax
	cmpl	%edx, %esi
	je	.L15
.L14:
	cmpl	-4(%rax), %ecx
	jne	.L12
	movl	4(%r8), %edi
	addl	%r9d, %edi
	cmpl	(%rax), %edi
	jne	.L12
	addl	$1, %r10d
	addq	$8, %r8
	cmpl	%r10d, %ebp
	jne	.L11
.L16:
	movl	%r9d, %ecx
	movl	%r11d, %edx
	leaq	.LC2(%rip), %rsi
	xorl	%eax, %eax
	movl	$1, %edi
	call	__printf_chk@PLT
	jmp	.L17
.L10:
	je	.L16
	.p2align 4,,10
	.p2align 3
.L15:
	addq	$8, %rbx
	cmpq	%rbx, 8(%rsp)
	jne	.L18
	jmp	.L2
.L3:
	movq	9656(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L30
	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
.L30:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	1f - 0f
	.long	4f - 1f
	.long	5
0:
	.string	"GNU"
1:
	.align 8
	.long	0xc0000002
	.long	3f - 2f
2:
	.long	0x3
3:
	.align 8
4:

rule
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d"
.LC1:
	.string	"%d%d"
.LC2:
	.string	"%d %d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	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
	movq	%fs:40, %rax
	movq	%rax, 9656(%rsp)
	xorl	%eax, %eax
	leaq	40(%rsp), %rax
	leaq	1652(%rsp), %rbx
	movq	%rax, 16(%rsp)
	movq	%rbx, %r14
.L17:
	leaq	44(%rsp), %rax
	movq	%rax, 24(%rsp)
.L2:
	movq	16(%rsp), %rsi
	leaq	.LC0(%rip), %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	40(%rsp), %eax
	testl	%eax, %eax
	je	.L3
	leaq	48(%rsp), %rbx
	movl	$0, %ebp
	jle	.L8
.L7:
	leaq	4(%rbx), %rdx
	movq	%rbx, %rsi
	movq	%r15, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	addl	$1, %ebp
	addq	$8, %rbx
	cmpl	%ebp, 40(%rsp)
	jg	.L7
.L8:
	movq	24(%rsp), %rsi
	xorl	%eax, %eax
	xorl	%r12d, %r12d
	leaq	.LC0(%rip), %rdi
	leaq	1648(%rsp), %rbx
	call	__isoc99_scanf@PLT
	movl	44(%rsp), %eax
	movq	%rbx, %rbp
	testl	%eax, %eax
	jle	.L2
.L9:
	movq	%rbp, %rsi
	leaq	4(%rbp), %rdx
	movq	%r15, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	44(%rsp), %esi
	addl	$1, %r12d
	addq	$8, %rbp
	cmpl	%r12d, %esi
	jg	.L9
	testl	%esi, %esi
	jle	.L2
	leal	-1(%rsi), %eax
	movl	48(%rsp), %r13d
	movl	52(%rsp), %r12d
	leaq	8(%rbx,%rax,8), %rax
	movl	40(%rsp), %ebp
	movq	%rax, 8(%rsp)
.L18:
	movl	(%rbx), %r11d
	movl	4(%rbx), %r9d
	subl	%r13d, %r11d
	subl	%r12d, %r9d
	cmpl	$1, %ebp
	jle	.L10
	leaq	56(%rsp), %r8
	movl	$1, %r10d
	.p2align 4,,10
	.p2align 3
.L11:
	movl	(%r8), %ecx
	movq	%r14, %rax
	xorl	%edx, %edx
	addl	%r11d, %ecx
	jmp	.L14
	.p2align 4,,10
	.p2align 3
.L12:
	addl	$1, %edx
	addq	$8, %rax
	cmpl	%edx, %esi
	je	.L15
.L14:
	cmpl	-4(%rax), %ecx
	jne	.L12
	movl	4(%r8), %edi
	addl	%r9d, %edi
	cmpl	(%rax), %edi
	jne	.L12
	addl	$1, %r10d
	addq	$8, %r8
	cmpl	%r10d, %ebp
	jne	.L11
.L16:
	movl	%r9d, %ecx
	movl	%r11d, %edx
	leaq	.LC2(%rip), %rsi
	xorl	%eax, %eax
	movl	$1, %edi
	call	__printf_chk@PLT
	jmp	.L17
.L10:
	je	.L16
	.p2align 4,,10
	.p2align 3
.L15:
	addq	$8, %rbx
	cmpq	%rbx, 8(%rsp)
	jne	.L18
	jmp	.L2
.L3:
	movq	9656(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L30
	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
.L30:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	1f - 0f
	.long	4f - 1f
	.long	5
0:
	.string	"GNU"
1:
	.align 8
	.long	0xc0000002
	.long	3f - 2f
2:
	.long	0x3
3:
	.align 8
4:

#include<stdio.h>
int main(void){

	int m,n,s[200][2],t[1000][2];
	int i,j,k,x,y;

	while(1){
		scanf("%d",&m);
		if(!m)break;
		for(i=0;i<m;i++){
			scanf("%d%d",&s[i][0],&s[i][1]);
		}
		scanf("%d",&n);
		for(i=0;i<n;i++){
			scanf("%d%d",&t[i][0],&t[i][1]);
		}
		for(i=0;i<n;i++){
			x=t[i][0]-s[0][0];
			y=t[i][1]-s[0][1];
			for(j=1;j<m;j++){
				for(k=0;k<n;k++){
					if(s[j][0]+x==t[k][0]&&s[j][1]+y==t[k][1]){
						break;
					}
				}
				if(k==n)break;
			}
			if(j==m){
				printf("%d %d\n",x,y);
				break;
			}
		}
	}
	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>
int main(void){

	int m,n,s[200][2],t[1000][2];
	int i,j,k,x,y;

	while(1){
		scanf("%d",&m);
		if(!m)break;
		for(i=0;i<m;i++){
			scanf("%d%d",&s[i][0],&s[i][1]);
		}
		scanf("%d",&n);
		for(i=0;i<n;i++){
			scanf("%d%d",&t[i][0],&t[i][1]);
		}
		for(i=0;i<n;i++){
			x=t[i][0]-s[0][0];
			y=t[i][1]-s[0][1];
			for(j=1;j<m;j++){
				for(k=0;k<n;k++){
					if(s[j][0]+x==t[k][0]&&s[j][1]+y==t[k][1]){
						break;
					}
				}
				if(k==n)break;
			}
			if(j==m){
				printf("%d %d\n",x,y);
				break;
			}
		}
	}
	return 0;
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%d"
.LC1:
	.string	"%d%d"
.LC2:
	.string	"%d %d\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$4096, %rsp
	orq	$0, (%rsp)
	subq	$4096, %rsp
	orq	$0, (%rsp)
	subq	$1456, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
.L20:
	leaq	-9644(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-9644(%rbp), %eax
	testl	%eax, %eax
	je	.L24
	movl	$0, -9636(%rbp)
	jmp	.L4
.L5:
	leaq	-9616(%rbp), %rdx
	movl	-9636(%rbp), %eax
	cltq
	salq	$3, %rax
	addq	$4, %rax
	addq	%rax, %rdx
	leaq	-9616(%rbp), %rcx
	movl	-9636(%rbp), %eax
	cltq
	salq	$3, %rax
	addq	%rcx, %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addl	$1, -9636(%rbp)
.L4:
	movl	-9644(%rbp), %eax
	cmpl	%eax, -9636(%rbp)
	jl	.L5
	leaq	-9640(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -9636(%rbp)
	jmp	.L6
.L7:
	leaq	-8016(%rbp), %rdx
	movl	-9636(%rbp), %eax
	cltq
	salq	$3, %rax
	addq	$4, %rax
	addq	%rax, %rdx
	leaq	-8016(%rbp), %rcx
	movl	-9636(%rbp), %eax
	cltq
	salq	$3, %rax
	addq	%rcx, %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addl	$1, -9636(%rbp)
.L6:
	movl	-9640(%rbp), %eax
	cmpl	%eax, -9636(%rbp)
	jl	.L7
	movl	$0, -9636(%rbp)
	jmp	.L8
.L19:
	movl	-9636(%rbp), %eax
	cltq
	movl	-8016(%rbp,%rax,8), %eax
	movl	-9616(%rbp), %edx
	subl	%edx, %eax
	movl	%eax, -9624(%rbp)
	movl	-9636(%rbp), %eax
	cltq
	movl	-8012(%rbp,%rax,8), %eax
	movl	-9612(%rbp), %edx
	subl	%edx, %eax
	movl	%eax, -9620(%rbp)
	movl	$1, -9632(%rbp)
	jmp	.L9
.L16:
	movl	$0, -9628(%rbp)
	jmp	.L10
.L13:
	movl	-9632(%rbp), %eax
	cltq
	movl	-9616(%rbp,%rax,8), %edx
	movl	-9624(%rbp), %eax
	addl	%eax, %edx
	movl	-9628(%rbp), %eax
	cltq
	movl	-8016(%rbp,%rax,8), %eax
	cmpl	%eax, %edx
	jne	.L11
	movl	-9632(%rbp), %eax
	cltq
	movl	-9612(%rbp,%rax,8), %edx
	movl	-9620(%rbp), %eax
	addl	%eax, %edx
	movl	-9628(%rbp), %eax
	cltq
	movl	-8012(%rbp,%rax,8), %eax
	cmpl	%eax, %edx
	je	.L25
.L11:
	addl	$1, -9628(%rbp)
.L10:
	movl	-9640(%rbp), %eax
	cmpl	%eax, -9628(%rbp)
	jl	.L13
	jmp	.L12
.L25:
	nop
.L12:
	movl	-9640(%rbp), %eax
	cmpl	%eax, -9628(%rbp)
	je	.L26
	addl	$1, -9632(%rbp)
.L9:
	movl	-9644(%rbp), %eax
	cmpl	%eax, -9632(%rbp)
	jl	.L16
	jmp	.L15
.L26:
	nop
.L15:
	movl	-9644(%rbp), %eax
	cmpl	%eax, -9632(%rbp)
	jne	.L17
	movl	-9620(%rbp), %edx
	movl	-9624(%rbp), %eax
	movl	%eax, %esi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	jmp	.L18
.L17:
	addl	$1, -9636(%rbp)
.L8:
	movl	-9640(%rbp), %eax
	cmpl	%eax, -9636(%rbp)
	jl	.L19
.L18:
	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
.LFE0:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	1f - 0f
	.long	4f - 1f
	.long	5
0:
	.string	"GNU"
1:
	.align 8
	.long	0xc0000002
	.long	3f - 2f
2:
	.long	0x3
3:
	.align 8
4:
```

Only output the optimized assembly code. Do not include any other text. Do not write any comments in the assembly code. Wrap the assembly code in ```assembly``` tags.
train
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%d"
.LC1:
	.string	"%d%d"
.LC2:
	.string	"%d %d\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$4096, %rsp
	orq	$0, (%rsp)
	subq	$4096, %rsp
	orq	$0, (%rsp)
	subq	$1456, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
.L20:
	leaq	-9644(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-9644(%rbp), %eax
	testl	%eax, %eax
	je	.L24
	movl	$0, -9636(%rbp)
	jmp	.L4
.L5:
	leaq	-9616(%rbp), %rdx
	movl	-9636(%rbp), %eax
	cltq
	salq	$3, %rax
	addq	$4, %rax
	addq	%rax, %rdx
	leaq	-9616(%rbp), %rcx
	movl	-9636(%rbp), %eax
	cltq
	salq	$3, %rax
	addq	%rcx, %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addl	$1, -9636(%rbp)
.L4:
	movl	-9644(%rbp), %eax
	cmpl	%eax, -9636(%rbp)
	jl	.L5
	leaq	-9640(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -9636(%rbp)
	jmp	.L6
.L7:
	leaq	-8016(%rbp), %rdx
	movl	-9636(%rbp), %eax
	cltq
	salq	$3, %rax
	addq	$4, %rax
	addq	%rax, %rdx
	leaq	-8016(%rbp), %rcx
	movl	-9636(%rbp), %eax
	cltq
	salq	$3, %rax
	addq	%rcx, %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addl	$1, -9636(%rbp)
.L6:
	movl	-9640(%rbp), %eax
	cmpl	%eax, -9636(%rbp)
	jl	.L7
	movl	$0, -9636(%rbp)
	jmp	.L8
.L19:
	movl	-9636(%rbp), %eax
	cltq
	movl	-8016(%rbp,%rax,8), %eax
	movl	-9616(%rbp), %edx
	subl	%edx, %eax
	movl	%eax, -9624(%rbp)
	movl	-9636(%rbp), %eax
	cltq
	movl	-8012(%rbp,%rax,8), %eax
	movl	-9612(%rbp), %edx
	subl	%edx, %eax
	movl	%eax, -9620(%rbp)
	movl	$1, -9632(%rbp)
	jmp	.L9
.L16:
	movl	$0, -9628(%rbp)
	jmp	.L10
.L13:
	movl	-9632(%rbp), %eax
	cltq
	movl	-9616(%rbp,%rax,8), %edx
	movl	-9624(%rbp), %eax
	addl	%eax, %edx
	movl	-9628(%rbp), %eax
	cltq
	movl	-8016(%rbp,%rax,8), %eax
	cmpl	%eax, %edx
	jne	.L11
	movl	-9632(%rbp), %eax
	cltq
	movl	-9612(%rbp,%rax,8), %edx
	movl	-9620(%rbp), %eax
	addl	%eax, %edx
	movl	-9628(%rbp), %eax
	cltq
	movl	-8012(%rbp,%rax,8), %eax
	cmpl	%eax, %edx
	je	.L25
.L11:
	addl	$1, -9628(%rbp)
.L10:
	movl	-9640(%rbp), %eax
	cmpl	%eax, -9628(%rbp)
	jl	.L13
	jmp	.L12
.L25:
	nop
.L12:
	movl	-9640(%rbp), %eax
	cmpl	%eax, -9628(%rbp)
	je	.L26
	addl	$1, -9632(%rbp)
.L9:
	movl	-9644(%rbp), %eax
	cmpl	%eax, -9632(%rbp)
	jl	.L16
	jmp	.L15
.L26:
	nop
.L15:
	movl	-9644(%rbp), %eax
	cmpl	%eax, -9632(%rbp)
	jne	.L17
	movl	-9620(%rbp), %edx
	movl	-9624(%rbp), %eax
	movl	%eax, %esi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	jmp	.L18
.L17:
	addl	$1, -9636(%rbp)
.L8:
	movl	-9640(%rbp), %eax
	cmpl	%eax, -9636(%rbp)
	jl	.L19
.L18:
	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
.LFE0:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	1f - 0f
	.long	4f - 1f
	.long	5
0:
	.string	"GNU"
1:
	.align 8
	.long	0xc0000002
	.long	3f - 2f
2:
	.long	0x3
3:
	.align 8
4:
