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

```c
#include<stdio.h>
#include<string.h>
#include<math.h>
#include<stdlib.h>
#include<limits.h>

#define rep(i,begin,end) for(int i=begin; i<end; i++)
#define revrep(i,begin,end) for(int i=begin; i>end; i--)
#define lld long long int

int main(){
    int c[3][3];
    rep(i, 0, 3){
        rep(j, 0, 3){
            scanf("%d", &c[i][j]);
        }
    }
    int f=1;
    rep(i, 0, 2){
        int buf = c[i][0] - c[i+1][0];
        rep(j, 1, 3){
            if(c[i][j] - c[i+1][j] != buf){
                f = 0;
            }
        }
    }
    printf(f ? "Yes" : "No");

    return 0;
}```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Yes"
.LC1:
	.string	"No"
.LC2:
	.string	"%d"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB51:
	.cfi_startproc
	endbr64
	pushq	%r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	pushq	%rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	leaq	.LC2(%rip), %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	subq	$48, %rsp
	.cfi_def_cfa_offset 80
	movq	%fs:40, %rax
	movq	%rax, 40(%rsp)
	xorl	%eax, %eax
	movq	%rsp, %rbx
	leaq	36(%rsp), %r12
.L2:
	movq	%rbx, %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	leaq	4(%rbx), %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	leaq	8(%rbx), %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	addq	$12, %rbx
	cmpq	%rbx, %r12
	jne	.L2
	movl	12(%rsp), %ecx
	movl	16(%rsp), %eax
	movl	(%rsp), %esi
	movl	4(%rsp), %edx
	movl	20(%rsp), %r8d
	movl	8(%rsp), %edi
	subl	%ecx, %esi
	subl	%eax, %edx
	cmpl	%esi, %edx
	sete	%dl
	subl	%r8d, %edi
	cmpl	%edi, %esi
	movzbl	%dl, %edx
	movl	$0, %esi
	cmovne	%esi, %edx
	subl	24(%rsp), %ecx
	subl	28(%rsp), %eax
	leaq	.LC1(%rip), %rsi
	cmpl	%ecx, %eax
	je	.L13
.L4:
	xorl	%eax, %eax
	movl	$1, %edi
	call	__printf_chk@PLT
	movq	40(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L14
	addq	$48, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 24
	popq	%rbp
	.cfi_def_cfa_offset 16
	popq	%r12
	.cfi_def_cfa_offset 8
	ret
.L13:
	.cfi_restore_state
	subl	32(%rsp), %r8d
	cmpl	%r8d, %eax
	jne	.L4
	testl	%edx, %edx
	leaq	.LC0(%rip), %rax
	cmovne	%rax, %rsi
	jmp	.L4
.L14:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE51:
	.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.
Optimized Assembly Code:

user
```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Yes"
.LC1:
	.string	"No"
.LC2:
	.string	"%d"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB51:
	.cfi_startproc
	endbr64
	pushq	%r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	pushq	%rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	leaq	.LC2(%rip), %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	subq	$48, %rsp
	.cfi_def_cfa_offset 80
	movq	%fs:40, %rax
	movq	%rax, 40(%rsp)
	xorl	%eax, %eax
	movq	%rsp, %rbx
	leaq	36(%rsp), %r12
.L2:
	movq	%rbx, %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	leaq	4(%rbx), %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	leaq	8(%rbx), %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	addq	$12, %rbx
	cmpq	%rbx, %r12
	jne	.L2
	movl	12(%rsp), %ecx
	movl	16(%rsp), %eax
	movl	(%rsp), %esi
	movl	4(%rsp), %edx
	movl	20(%rsp), %r8d
	movl	8(%rsp), %edi
	subl	%ecx, %esi
	subl	%eax, %edx
	cmpl	%esi, %edx
	sete	%dl
	subl	%r8d, %edi
	cmpl	%edi, %esi
	movzbl	%dl, %edx
	movl	$0, %esi
	cmovne	%esi, %edx
	subl	24(%rsp), %ecx
	subl	28(%rsp), %eax
	leaq	.LC1(%rip), %rsi
	cmpl	%ecx, %eax
	je	.L13
.L4:
	xorl	%eax, %eax
	movl	$1, %edi
	call	__printf_chk@PLT
	movq	40(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L14
	addq	$48, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 24
	popq	%rbp
	.cfi_def_cfa_offset 16
	popq	%r12
	.cfi_def_cfa_offset 8
	ret
.L13:
	.cfi_restore_state
	subl	32(%rsp), %r8d
	cmpl	%r8d, %eax
	jne	.L4
	testl	%edx, %edx
	leaq	.LC0(%rip), %rax
	cmovne	%rax, %rsi
	jmp	.L4
.L14:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE51:
	.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
```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Yes"
.LC1:
	.string	"No"
.LC2:
	.string	"%d"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB51:
	.cfi_startproc
	endbr64
	pushq	%r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	pushq	%rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	leaq	.LC2(%rip), %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	subq	$48, %rsp
	.cfi_def_cfa_offset 80
	movq	%fs:40, %rax
	movq	%rax, 40(%rsp)
	xorl	%eax, %eax
	movq	%rsp, %rbx
	leaq	36(%rsp), %r12
.L2:
	movq	%rbx, %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	leaq	4(%rbx), %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	leaq	8(%rbx), %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	addq	$12, %rbx
	cmpq	%rbx, %r12
	jne	.L2
	movl	12(%rsp), %ecx
	movl	16(%rsp), %eax
	movl	(%rsp), %esi
	movl	4(%rsp), %edx
	movl	20(%rsp), %r8d
	movl	8(%rsp), %edi
	subl	%ecx, %esi
	subl	%eax, %edx
	cmpl	%esi, %edx
	sete	%dl
	subl	%r8d, %edi
	cmpl	%edi, %esi
	movzbl	%dl, %edx
	movl	$0, %esi
	cmovne	%esi, %edx
	subl	24(%rsp), %ecx
	subl	28(%rsp), %eax
	leaq	.LC1(%rip), %rsi
	cmpl	%ecx, %eax
	je	.L13
.L4:
	xorl	%eax, %eax
	movl	$1, %edi
	call	__printf_chk@PLT
	movq	40(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L14
	addq	$48, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 24
	popq	%rbp
	.cfi_def_cfa_offset 16
	popq	%r12
	.cfi_def_cfa_offset 8
	ret
.L13:
	.cfi_restore_state
	subl	32(%rsp), %r8d
	cmpl	%r8d, %eax
	jne	.L4
	testl	%edx, %edx
	leaq	.LC0(%rip), %rax
	cmovne	%rax, %rsi
	jmp	.L4
.L14:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE51:
	.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:
```
```c
#include<stdio.h>
#include<string.h>
#include<math.h>
#include<stdlib.h>
#include<limits.h>

#define rep(i,begin,end) for(int i=begin; i<end; i++)
#define revrep(i,begin,end) for(int i=begin; i>end; i--)
#define lld long long int

int main(){
    int c[3][3];
    rep(i, 0, 3){
        rep(j, 0, 3){
            scanf("%d", &c[i][j]);
        }
    }
    int f=1;
    rep(i, 0, 2){
        int buf = c[i][0] - c[i+1][0];
        rep(j, 1, 3){
            if(c[i][j] - c[i+1][j] != buf){
                f = 0;
            }
        }
    }
    printf(f ? "Yes" : "No");

    return 0;
}```
Given the following C code, your task is to generate highly optimized x86-64 assembly code.
C Code:

```c
#include<stdio.h>
#include<string.h>
#include<math.h>
#include<stdlib.h>
#include<limits.h>

#define rep(i,begin,end) for(int i=begin; i<end; i++)
#define revrep(i,begin,end) for(int i=begin; i>end; i--)
#define lld long long int

int main(){
    int c[3][3];
    rep(i, 0, 3){
        rep(j, 0, 3){
            scanf("%d", &c[i][j]);
        }
    }
    int f=1;
    rep(i, 0, 2){
        int buf = c[i][0] - c[i+1][0];
        rep(j, 1, 3){
            if(c[i][j] - c[i+1][j] != buf){
                f = 0;
            }
        }
    }
    printf(f ? "Yes" : "No");

    return 0;
}```

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.
Optimized Assembly Code:

1 0 1
4 1 2
1 0 1
 1 8 6
2 9 7
1 7 7
 0 8 8
0 8 8
0 0 8
 2 2 2
2 1 0
2 2 2
 1 0 1
4 1 2
0 0 1
 1 8 6
4 9 7
1 7 7
 0 8 2
0 8 8
0 0 8
 2 2 2
2 1 -1
2 2 2
 1 0 1
4 1 4
0 0 1
 1 8 6
6 9 7
1 7 7

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

```c
#include<stdio.h>
#include<string.h>
#include<math.h>
#include<stdlib.h>
#include<limits.h>

#define rep(i,begin,end) for(int i=begin; i<end; i++)
#define revrep(i,begin,end) for(int i=begin; i>end; i--)
#define lld long long int

int main(){
    int c[3][3];
    rep(i, 0, 3){
        rep(j, 0, 3){
            scanf("%d", &c[i][j]);
        }
    }
    int f=1;
    rep(i, 0, 2){
        int buf = c[i][0] - c[i+1][0];
        rep(j, 1, 3){
            if(c[i][j] - c[i+1][j] != buf){
                f = 0;
            }
        }
    }
    printf(f ? "Yes" : "No");

    return 0;
}```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Yes"
.LC1:
	.string	"No"
.LC2:
	.string	"%d"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB51:
	.cfi_startproc
	endbr64
	pushq	%r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	pushq	%rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	leaq	.LC2(%rip), %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	subq	$48, %rsp
	.cfi_def_cfa_offset 80
	movq	%fs:40, %rax
	movq	%rax, 40(%rsp)
	xorl	%eax, %eax
	movq	%rsp, %rbx
	leaq	36(%rsp), %r12
.L2:
	movq	%rbx, %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	leaq	4(%rbx), %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	leaq	8(%rbx), %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	addq	$12, %rbx
	cmpq	%rbx, %r12
	jne	.L2
	movl	12(%rsp), %ecx
	movl	16(%rsp), %eax
	movl	(%rsp), %esi
	movl	4(%rsp), %edx
	movl	20(%rsp), %r8d
	movl	8(%rsp), %edi
	subl	%ecx, %esi
	subl	%eax, %edx
	cmpl	%esi, %edx
	sete	%dl
	subl	%r8d, %edi
	cmpl	%edi, %esi
	movzbl	%dl, %edx
	movl	$0, %esi
	cmovne	%esi, %edx
	subl	24(%rsp), %ecx
	subl	28(%rsp), %eax
	leaq	.LC1(%rip), %rsi
	cmpl	%ecx, %eax
	je	.L13
.L4:
	xorl	%eax, %eax
	movl	$1, %edi
	call	__printf_chk@PLT
	movq	40(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L14
	addq	$48, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 24
	popq	%rbp
	.cfi_def_cfa_offset 16
	popq	%r12
	.cfi_def_cfa_offset 8
	ret
.L13:
	.cfi_restore_state
	subl	32(%rsp), %r8d
	cmpl	%r8d, %eax
	jne	.L4
	testl	%edx, %edx
	leaq	.LC0(%rip), %rax
	cmovne	%rax, %rsi
	jmp	.L4
.L14:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE51:
	.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.
Optimized Assembly Code:

train
```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Yes"
.LC1:
	.string	"No"
.LC2:
	.string	"%d"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB51:
	.cfi_startproc
	endbr64
	pushq	%r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	pushq	%rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	leaq	.LC2(%rip), %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	subq	$48, %rsp
	.cfi_def_cfa_offset 80
	movq	%fs:40, %rax
	movq	%rax, 40(%rsp)
	xorl	%eax, %eax
	movq	%rsp, %rbx
	leaq	36(%rsp), %r12
.L2:
	movq	%rbx, %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	leaq	4(%rbx), %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	leaq	8(%rbx), %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	addq	$12, %rbx
	cmpq	%rbx, %r12
	jne	.L2
	movl	12(%rsp), %ecx
	movl	16(%rsp), %eax
	movl	(%rsp), %esi
	movl	4(%rsp), %edx
	movl	20(%rsp), %r8d
	movl	8(%rsp), %edi
	subl	%ecx, %esi
	subl	%eax, %edx
	cmpl	%esi, %edx
	sete	%dl
	subl	%r8d, %edi
	cmpl	%edi, %esi
	movzbl	%dl, %edx
	movl	$0, %esi
	cmovne	%esi, %edx
	subl	24(%rsp), %ecx
	subl	28(%rsp), %eax
	leaq	.LC1(%rip), %rsi
	cmpl	%ecx, %eax
	je	.L13
.L4:
	xorl	%eax, %eax
	movl	$1, %edi
	call	__printf_chk@PLT
	movq	40(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L14
	addq	$48, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 24
	popq	%rbp
	.cfi_def_cfa_offset 16
	popq	%r12
	.cfi_def_cfa_offset 8
	ret
.L13:
	.cfi_restore_state
	subl	32(%rsp), %r8d
	cmpl	%r8d, %eax
	jne	.L4
	testl	%edx, %edx
	leaq	.LC0(%rip), %rax
	cmovne	%rax, %rsi
	jmp	.L4
.L14:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE51:
	.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:
```