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>
int main(void){
	int n,i,sum=0,r;
	int a[21],b[21],c[21];
	scanf("%d",&n);
	for(i=1;i<=n;i++){
		scanf("%d",&a[i]);
	}
	for(i=1;i<=n;i++){
		scanf("%d",&b[i]);
	}
	for(i=1;i<=n-1;i++){
		scanf("%d",&c[i]);
	}
	for(i=1,r=a[1];i<=n;i++){
		sum+=b[a[i]];
		if(a[i]==r+1){
			sum+=c[a[i-1]];
		}
		r=a[i];
	}
	printf("%d",sum);
	return 0;
}
```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.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	.LC0(%rip), %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	movq	%rbp, %rdi
	subq	$304, %rsp
	.cfi_def_cfa_offset 336
	movq	%fs:40, %rax
	movq	%rax, 296(%rsp)
	xorl	%eax, %eax
	leaq	12(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %eax
	testl	%eax, %eax
	jle	.L2
	leaq	20(%rsp), %r12
	movl	$1, %ebx
	.p2align 4,,10
	.p2align 3
.L3:
	movq	%r12, %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	addl	$1, %ebx
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %eax
	addq	$4, %r12
	cmpl	%ebx, %eax
	jge	.L3
	testl	%eax, %eax
	jle	.L2
	leaq	116(%rsp), %r12
	movl	$1, %ebx
	.p2align 4,,10
	.p2align 3
.L4:
	movq	%r12, %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	addl	$1, %ebx
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %edx
	addq	$4, %r12
	cmpl	%ebx, %edx
	jge	.L4
	cmpl	$1, %edx
	jle	.L5
.L11:
	leaq	212(%rsp), %r12
	movl	$1, %ebx
	.p2align 4,,10
	.p2align 3
.L6:
	movq	%r12, %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	addl	$1, %ebx
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %edx
	addq	$4, %r12
	cmpl	%ebx, %edx
	jg	.L6
.L5:
	movl	20(%rsp), %ecx
	testl	%edx, %edx
	jle	.L12
	subl	$1, %edx
	leaq	16(%rsp), %rax
	xorl	%r8d, %r8d
	leaq	20(%rsp,%rdx,4), %rdi
	.p2align 4,,10
	.p2align 3
.L10:
	movslq	4(%rax), %rsi
	movl	%ecx, %edx
	addl	$1, %edx
	movq	%rsi, %rcx
	addl	112(%rsp,%rsi,4), %r8d
	cmpl	%edx, %esi
	jne	.L9
	movslq	(%rax), %rdx
	addl	208(%rsp,%rdx,4), %r8d
.L9:
	addq	$4, %rax
	cmpq	%rax, %rdi
	jne	.L10
.L8:
	xorl	%eax, %eax
	movl	%r8d, %edx
	movq	%rbp, %rsi
	movl	$1, %edi
	call	__printf_chk@PLT
	movq	296(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L21
	addq	$304, %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
.L2:
	.cfi_restore_state
	cmpl	$1, 12(%rsp)
	jg	.L11
.L12:
	xorl	%r8d, %r8d
	jmp	.L8
.L21:
	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:
```

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	"%d"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.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	.LC0(%rip), %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	movq	%rbp, %rdi
	subq	$304, %rsp
	.cfi_def_cfa_offset 336
	movq	%fs:40, %rax
	movq	%rax, 296(%rsp)
	xorl	%eax, %eax
	leaq	12(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %eax
	testl	%eax, %eax
	jle	.L2
	leaq	20(%rsp), %r12
	movl	$1, %ebx
	.p2align 4,,10
	.p2align 3
.L3:
	movq	%r12, %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	addl	$1, %ebx
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %eax
	addq	$4, %r12
	cmpl	%ebx, %eax
	jge	.L3
	testl	%eax, %eax
	jle	.L2
	leaq	116(%rsp), %r12
	movl	$1, %ebx
	.p2align 4,,10
	.p2align 3
.L4:
	movq	%r12, %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	addl	$1, %ebx
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %edx
	addq	$4, %r12
	cmpl	%ebx, %edx
	jge	.L4
	cmpl	$1, %edx
	jle	.L5
.L11:
	leaq	212(%rsp), %r12
	movl	$1, %ebx
	.p2align 4,,10
	.p2align 3
.L6:
	movq	%r12, %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	addl	$1, %ebx
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %edx
	addq	$4, %r12
	cmpl	%ebx, %edx
	jg	.L6
.L5:
	movl	20(%rsp), %ecx
	testl	%edx, %edx
	jle	.L12
	subl	$1, %edx
	leaq	16(%rsp), %rax
	xorl	%r8d, %r8d
	leaq	20(%rsp,%rdx,4), %rdi
	.p2align 4,,10
	.p2align 3
.L10:
	movslq	4(%rax), %rsi
	movl	%ecx, %edx
	addl	$1, %edx
	movq	%rsi, %rcx
	addl	112(%rsp,%rsi,4), %r8d
	cmpl	%edx, %esi
	jne	.L9
	movslq	(%rax), %rdx
	addl	208(%rsp,%rdx,4), %r8d
.L9:
	addq	$4, %rax
	cmpq	%rax, %rdi
	jne	.L10
.L8:
	xorl	%eax, %eax
	movl	%r8d, %edx
	movq	%rbp, %rsi
	movl	$1, %edi
	call	__printf_chk@PLT
	movq	296(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L21
	addq	$304, %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
.L2:
	.cfi_restore_state
	cmpl	$1, 12(%rsp)
	jg	.L11
.L12:
	xorl	%r8d, %r8d
	jmp	.L8
.L21:
	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
```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.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	.LC0(%rip), %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	movq	%rbp, %rdi
	subq	$304, %rsp
	.cfi_def_cfa_offset 336
	movq	%fs:40, %rax
	movq	%rax, 296(%rsp)
	xorl	%eax, %eax
	leaq	12(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %eax
	testl	%eax, %eax
	jle	.L2
	leaq	20(%rsp), %r12
	movl	$1, %ebx
	.p2align 4,,10
	.p2align 3
.L3:
	movq	%r12, %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	addl	$1, %ebx
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %eax
	addq	$4, %r12
	cmpl	%ebx, %eax
	jge	.L3
	testl	%eax, %eax
	jle	.L2
	leaq	116(%rsp), %r12
	movl	$1, %ebx
	.p2align 4,,10
	.p2align 3
.L4:
	movq	%r12, %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	addl	$1, %ebx
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %edx
	addq	$4, %r12
	cmpl	%ebx, %edx
	jge	.L4
	cmpl	$1, %edx
	jle	.L5
.L11:
	leaq	212(%rsp), %r12
	movl	$1, %ebx
	.p2align 4,,10
	.p2align 3
.L6:
	movq	%r12, %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	addl	$1, %ebx
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %edx
	addq	$4, %r12
	cmpl	%ebx, %edx
	jg	.L6
.L5:
	movl	20(%rsp), %ecx
	testl	%edx, %edx
	jle	.L12
	subl	$1, %edx
	leaq	16(%rsp), %rax
	xorl	%r8d, %r8d
	leaq	20(%rsp,%rdx,4), %rdi
	.p2align 4,,10
	.p2align 3
.L10:
	movslq	4(%rax), %rsi
	movl	%ecx, %edx
	addl	$1, %edx
	movq	%rsi, %rcx
	addl	112(%rsp,%rsi,4), %r8d
	cmpl	%edx, %esi
	jne	.L9
	movslq	(%rax), %rdx
	addl	208(%rsp,%rdx,4), %r8d
.L9:
	addq	$4, %rax
	cmpq	%rax, %rdi
	jne	.L10
.L8:
	xorl	%eax, %eax
	movl	%r8d, %edx
	movq	%rbp, %rsi
	movl	$1, %edi
	call	__printf_chk@PLT
	movq	296(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L21
	addq	$304, %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
.L2:
	.cfi_restore_state
	cmpl	$1, 12(%rsp)
	jg	.L11
.L12:
	xorl	%r8d, %r8d
	jmp	.L8
.L21:
	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:
```
```c
#include<stdio.h>
int main(void){
	int n,i,sum=0,r;
	int a[21],b[21],c[21];
	scanf("%d",&n);
	for(i=1;i<=n;i++){
		scanf("%d",&a[i]);
	}
	for(i=1;i<=n;i++){
		scanf("%d",&b[i]);
	}
	for(i=1;i<=n-1;i++){
		scanf("%d",&c[i]);
	}
	for(i=1,r=a[1];i<=n;i++){
		sum+=b[a[i]];
		if(a[i]==r+1){
			sum+=c[a[i-1]];
		}
		r=a[i];
	}
	printf("%d",sum);
	return 0;
}
```
Given the following C code, your task is to generate highly optimized x86-64 assembly code.
C Code:

```c
#include<stdio.h>
int main(void){
	int n,i,sum=0,r;
	int a[21],b[21],c[21];
	scanf("%d",&n);
	for(i=1;i<=n;i++){
		scanf("%d",&a[i]);
	}
	for(i=1;i<=n;i++){
		scanf("%d",&b[i]);
	}
	for(i=1;i<=n-1;i++){
		scanf("%d",&c[i]);
	}
	for(i=1,r=a[1];i<=n;i++){
		sum+=b[a[i]];
		if(a[i]==r+1){
			sum+=c[a[i-1]];
		}
		r=a[i];
	}
	printf("%d",sum);
	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:

2
1 0
50 50
50
 4
2 3 4 1
13 5 1 24
45 9 15
 4
2 3 4 1
13 5 1 24
45 9 16
 4
2 3 4 1
14 5 1 24
45 9 16
 4
2 3 4 1
7 5 1 24
45 9 16
 3
3 1 2
2 5 3
3 6
 4
2 3 4 1
20 5 1 24
45 9 16
 3
3 1 2
2 1 3
3 6
 4
2 3 4 1
14 5 1 24
4 6 16
 4
2 3 4 1
7 5 1 24
45 9 8

52 67 68 69 62 13 75 9 66 54
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>
int main(void){
	int n,i,sum=0,r;
	int a[21],b[21],c[21];
	scanf("%d",&n);
	for(i=1;i<=n;i++){
		scanf("%d",&a[i]);
	}
	for(i=1;i<=n;i++){
		scanf("%d",&b[i]);
	}
	for(i=1;i<=n-1;i++){
		scanf("%d",&c[i]);
	}
	for(i=1,r=a[1];i<=n;i++){
		sum+=b[a[i]];
		if(a[i]==r+1){
			sum+=c[a[i-1]];
		}
		r=a[i];
	}
	printf("%d",sum);
	return 0;
}
```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.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	.LC0(%rip), %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	movq	%rbp, %rdi
	subq	$304, %rsp
	.cfi_def_cfa_offset 336
	movq	%fs:40, %rax
	movq	%rax, 296(%rsp)
	xorl	%eax, %eax
	leaq	12(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %eax
	testl	%eax, %eax
	jle	.L2
	leaq	20(%rsp), %r12
	movl	$1, %ebx
	.p2align 4,,10
	.p2align 3
.L3:
	movq	%r12, %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	addl	$1, %ebx
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %eax
	addq	$4, %r12
	cmpl	%ebx, %eax
	jge	.L3
	testl	%eax, %eax
	jle	.L2
	leaq	116(%rsp), %r12
	movl	$1, %ebx
	.p2align 4,,10
	.p2align 3
.L4:
	movq	%r12, %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	addl	$1, %ebx
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %edx
	addq	$4, %r12
	cmpl	%ebx, %edx
	jge	.L4
	cmpl	$1, %edx
	jle	.L5
.L11:
	leaq	212(%rsp), %r12
	movl	$1, %ebx
	.p2align 4,,10
	.p2align 3
.L6:
	movq	%r12, %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	addl	$1, %ebx
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %edx
	addq	$4, %r12
	cmpl	%ebx, %edx
	jg	.L6
.L5:
	movl	20(%rsp), %ecx
	testl	%edx, %edx
	jle	.L12
	subl	$1, %edx
	leaq	16(%rsp), %rax
	xorl	%r8d, %r8d
	leaq	20(%rsp,%rdx,4), %rdi
	.p2align 4,,10
	.p2align 3
.L10:
	movslq	4(%rax), %rsi
	movl	%ecx, %edx
	addl	$1, %edx
	movq	%rsi, %rcx
	addl	112(%rsp,%rsi,4), %r8d
	cmpl	%edx, %esi
	jne	.L9
	movslq	(%rax), %rdx
	addl	208(%rsp,%rdx,4), %r8d
.L9:
	addq	$4, %rax
	cmpq	%rax, %rdi
	jne	.L10
.L8:
	xorl	%eax, %eax
	movl	%r8d, %edx
	movq	%rbp, %rsi
	movl	$1, %edi
	call	__printf_chk@PLT
	movq	296(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L21
	addq	$304, %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
.L2:
	.cfi_restore_state
	cmpl	$1, 12(%rsp)
	jg	.L11
.L12:
	xorl	%r8d, %r8d
	jmp	.L8
.L21:
	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:
```

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	"%d"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.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	.LC0(%rip), %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	movq	%rbp, %rdi
	subq	$304, %rsp
	.cfi_def_cfa_offset 336
	movq	%fs:40, %rax
	movq	%rax, 296(%rsp)
	xorl	%eax, %eax
	leaq	12(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %eax
	testl	%eax, %eax
	jle	.L2
	leaq	20(%rsp), %r12
	movl	$1, %ebx
	.p2align 4,,10
	.p2align 3
.L3:
	movq	%r12, %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	addl	$1, %ebx
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %eax
	addq	$4, %r12
	cmpl	%ebx, %eax
	jge	.L3
	testl	%eax, %eax
	jle	.L2
	leaq	116(%rsp), %r12
	movl	$1, %ebx
	.p2align 4,,10
	.p2align 3
.L4:
	movq	%r12, %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	addl	$1, %ebx
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %edx
	addq	$4, %r12
	cmpl	%ebx, %edx
	jge	.L4
	cmpl	$1, %edx
	jle	.L5
.L11:
	leaq	212(%rsp), %r12
	movl	$1, %ebx
	.p2align 4,,10
	.p2align 3
.L6:
	movq	%r12, %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	addl	$1, %ebx
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %edx
	addq	$4, %r12
	cmpl	%ebx, %edx
	jg	.L6
.L5:
	movl	20(%rsp), %ecx
	testl	%edx, %edx
	jle	.L12
	subl	$1, %edx
	leaq	16(%rsp), %rax
	xorl	%r8d, %r8d
	leaq	20(%rsp,%rdx,4), %rdi
	.p2align 4,,10
	.p2align 3
.L10:
	movslq	4(%rax), %rsi
	movl	%ecx, %edx
	addl	$1, %edx
	movq	%rsi, %rcx
	addl	112(%rsp,%rsi,4), %r8d
	cmpl	%edx, %esi
	jne	.L9
	movslq	(%rax), %rdx
	addl	208(%rsp,%rdx,4), %r8d
.L9:
	addq	$4, %rax
	cmpq	%rax, %rdi
	jne	.L10
.L8:
	xorl	%eax, %eax
	movl	%r8d, %edx
	movq	%rbp, %rsi
	movl	$1, %edi
	call	__printf_chk@PLT
	movq	296(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L21
	addq	$304, %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
.L2:
	.cfi_restore_state
	cmpl	$1, 12(%rsp)
	jg	.L11
.L12:
	xorl	%r8d, %r8d
	jmp	.L8
.L21:
	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:
```