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>
long long int ans[55][5050];
int n,ave;
int x[55];


long long int dp(int m,int sum){
    if(ans[m][sum]!=-1){
        return ans[m][sum];
    }else if(m==0){
        if(sum==2500 && sum==2500-x[0])ans[0][sum]=2;
        else if(sum==2500 || sum==2500-x[0])ans[0][sum]=1;
        else ans[0][sum]=0;
    }else{
        ans[m][sum]=dp(m-1,sum)+dp(m-1,sum+x[m]);
    }
    return ans[m][sum];
}

int main(){
    scanf("%d %d",&n,&ave);
    int q,i,j;
    for(i=0;i<=n-1;i++){
        scanf("%d",&q);
        x[i]=q-ave;
    }
    for(i=0;i<=53;i++)for(j=0;j<=5048;j++)ans[i][j]=-1;
    
    
    long long int count=dp(n-1,2500);
    printf("%lld",count-1);
    
    return 0;
}
```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.globl	ans
	.bss
	.align 32
	.type	ans, @object
	.size	ans, 2222000
ans:
	.zero	2222000
	.globl	n
	.align 4
	.type	n, @object
	.size	n, 4
n:
	.zero	4
	.globl	ave
	.align 4
	.type	ave, @object
	.size	ave, 4
ave:
	.zero	4
	.globl	x
	.align 32
	.type	x, @object
	.size	x, 220
x:
	.zero	220
	.text
	.globl	dp
	.type	dp, @function
dp:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset 3, -24
	movl	%edi, -20(%rbp)
	movl	%esi, -24(%rbp)
	movl	-24(%rbp), %eax
	movslq	%eax, %rdx
	movl	-20(%rbp), %eax
	cltq
	imulq	$5050, %rax, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,8), %rdx
	leaq	ans(%rip), %rax
	movq	(%rdx,%rax), %rax
	cmpq	$-1, %rax
	je	.L2
	movl	-24(%rbp), %eax
	movslq	%eax, %rdx
	movl	-20(%rbp), %eax
	cltq
	imulq	$5050, %rax, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,8), %rdx
	leaq	ans(%rip), %rax
	movq	(%rdx,%rax), %rax
	jmp	.L3
.L2:
	cmpl	$0, -20(%rbp)
	jne	.L4
	cmpl	$2500, -24(%rbp)
	jne	.L5
	movl	x(%rip), %edx
	movl	$2500, %eax
	subl	%edx, %eax
	cmpl	%eax, -24(%rbp)
	jne	.L5
	movl	-24(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rdx
	leaq	ans(%rip), %rax
	movq	$2, (%rdx,%rax)
	jmp	.L9
.L5:
	cmpl	$2500, -24(%rbp)
	je	.L7
	movl	x(%rip), %edx
	movl	$2500, %eax
	subl	%edx, %eax
	cmpl	%eax, -24(%rbp)
	jne	.L8
.L7:
	movl	-24(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rdx
	leaq	ans(%rip), %rax
	movq	$1, (%rdx,%rax)
	jmp	.L9
.L8:
	movl	-24(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rdx
	leaq	ans(%rip), %rax
	movq	$0, (%rdx,%rax)
	jmp	.L9
.L4:
	movl	-20(%rbp), %eax
	leal	-1(%rax), %edx
	movl	-24(%rbp), %eax
	movl	%eax, %esi
	movl	%edx, %edi
	call	dp
	movq	%rax, %rbx
	movl	-20(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	x(%rip), %rax
	movl	(%rdx,%rax), %edx
	movl	-24(%rbp), %eax
	addl	%eax, %edx
	movl	-20(%rbp), %eax
	subl	$1, %eax
	movl	%edx, %esi
	movl	%eax, %edi
	call	dp
	leaq	(%rbx,%rax), %rcx
	movl	-24(%rbp), %eax
	movslq	%eax, %rdx
	movl	-20(%rbp), %eax
	cltq
	imulq	$5050, %rax, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,8), %rdx
	leaq	ans(%rip), %rax
	movq	%rcx, (%rdx,%rax)
.L9:
	movl	-24(%rbp), %eax
	movslq	%eax, %rdx
	movl	-20(%rbp), %eax
	cltq
	imulq	$5050, %rax, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,8), %rdx
	leaq	ans(%rip), %rax
	movq	(%rdx,%rax), %rax
.L3:
	movq	-8(%rbp), %rbx
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	dp, .-dp
	.section	.rodata
.LC0:
	.string	"%d %d"
.LC1:
	.string	"%d"
.LC2:
	.string	"%lld"
	.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	$32, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	ave(%rip), %rax
	movq	%rax, %rdx
	leaq	n(%rip), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -24(%rbp)
	jmp	.L11
.L12:
	leaq	-28(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-28(%rbp), %eax
	movl	ave(%rip), %edx
	subl	%edx, %eax
	movl	%eax, %ecx
	movl	-24(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	x(%rip), %rax
	movl	%ecx, (%rdx,%rax)
	addl	$1, -24(%rbp)
.L11:
	movl	n(%rip), %eax
	cmpl	%eax, -24(%rbp)
	jl	.L12
	movl	$0, -24(%rbp)
	jmp	.L13
.L16:
	movl	$0, -20(%rbp)
	jmp	.L14
.L15:
	movl	-20(%rbp), %eax
	movslq	%eax, %rdx
	movl	-24(%rbp), %eax
	cltq
	imulq	$5050, %rax, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,8), %rdx
	leaq	ans(%rip), %rax
	movq	$-1, (%rdx,%rax)
	addl	$1, -20(%rbp)
.L14:
	cmpl	$5048, -20(%rbp)
	jle	.L15
	addl	$1, -24(%rbp)
.L13:
	cmpl	$53, -24(%rbp)
	jle	.L16
	movl	n(%rip), %eax
	subl	$1, %eax
	movl	$2500, %esi
	movl	%eax, %edi
	call	dp
	movq	%rax, -16(%rbp)
	movq	-16(%rbp), %rax
	subq	$1, %rax
	movq	%rax, %rsi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L18
	call	__stack_chk_fail@PLT
.L18:
	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
	.p2align 4
	.type	dp.part.0, @function
dp.part.0:
.LFB25:
	.cfi_startproc
	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
	movslq	%edi, %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	subq	$24, %rsp
	.cfi_def_cfa_offset 80
	testl	%ebp, %ebp
	jne	.L2
	movl	x(%rip), %edx
	cmpl	$2500, %esi
	je	.L11
	movl	$2500, %eax
	subl	%edx, %eax
	cmpl	%eax, %esi
	je	.L4
	movslq	%esi, %rbx
	leaq	ans(%rip), %rax
	movq	$0, (%rax,%rbx,8)
	addq	$24, %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
.L11:
	.cfi_restore_state
	testl	%edx, %edx
	jne	.L4
	movq	$2, 20000+ans(%rip)
	addq	$24, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	movl	$2, %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
.L4:
	.cfi_restore_state
	movslq	%esi, %rbx
	leaq	ans(%rip), %rax
	movq	$1, (%rax,%rbx,8)
	addq	$24, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	movl	$1, %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
.L2:
	.cfi_restore_state
	leal	-1(%rbp), %edi
	movslq	%esi, %r14
	leaq	ans(%rip), %r13
	movslq	%edi, %r12
	imulq	$5050, %r12, %rax
	addq	%r14, %rax
	movq	0(%r13,%rax,8), %r15
	cmpq	$-1, %r15
	je	.L12
.L7:
	imulq	$5050, %r12, %r12
	leaq	x(%rip), %rax
	addl	(%rax,%rbp,4), %esi
	movslq	%esi, %rax
	addq	%rax, %r12
	movq	0(%r13,%r12,8), %rax
	cmpq	$-1, %rax
	je	.L13
.L8:
	imulq	$5050, %rbp, %rbp
	addq	%r15, %rax
	addq	%r14, %rbp
	movq	%rax, 0(%r13,%rbp,8)
	addq	$24, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	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
.L13:
	.cfi_restore_state
	call	dp.part.0
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L12:
	movl	%esi, 12(%rsp)
	movl	%edi, 8(%rsp)
	call	dp.part.0
	movl	12(%rsp), %esi
	movl	8(%rsp), %edi
	movq	%rax, %r15
	jmp	.L7
	.cfi_endproc
.LFE25:
	.size	dp.part.0, .-dp.part.0
	.p2align 4
	.globl	dp
	.type	dp, @function
dp:
.LFB23:
	.cfi_startproc
	endbr64
	movslq	%edi, %r11
	movslq	%esi, %r10
	leaq	ans(%rip), %r9
	imulq	$5050, %r11, %rax
	addq	%r10, %rax
	movq	(%r9,%rax,8), %rax
	cmpq	$-1, %rax
	jne	.L24
	testl	%edi, %edi
	jne	.L16
	movl	x(%rip), %edx
	cmpl	$2500, %esi
	je	.L26
	movl	$2500, %eax
	subl	%edx, %eax
	cmpl	%eax, %esi
	je	.L18
	movq	$0, (%r9,%r10,8)
	xorl	%eax, %eax
	ret
	.p2align 4,,10
	.p2align 3
.L24:
	ret
	.p2align 4,,10
	.p2align 3
.L16:
	leal	-1(%rdi), %r8d
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	pushq	%rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	movslq	%r8d, %rbx
	imulq	$5050, %rbx, %rax
	subq	$24, %rsp
	.cfi_def_cfa_offset 48
	addq	%r10, %rax
	movq	(%r9,%rax,8), %rbp
	cmpq	$-1, %rbp
	jne	.L21
	movl	%r8d, %edi
	movl	%esi, 12(%rsp)
	call	dp.part.0
	movl	12(%rsp), %esi
	movq	%rax, %rbp
.L21:
	imulq	$5050, %rbx, %rbx
	leaq	x(%rip), %rax
	addl	(%rax,%r11,4), %esi
	movslq	%esi, %rax
	addq	%rax, %rbx
	movq	(%r9,%rbx,8), %rax
	cmpq	$-1, %rax
	jne	.L22
	movl	%r8d, %edi
	call	dp.part.0
.L22:
	imulq	$5050, %r11, %rdx
	addq	%rbp, %rax
	addq	%r10, %rdx
	movq	%rax, (%r9,%rdx,8)
	addq	$24, %rsp
	.cfi_def_cfa_offset 24
	popq	%rbx
	.cfi_def_cfa_offset 16
	popq	%rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L18:
	.cfi_restore 3
	.cfi_restore 6
	movq	$1, (%r9,%r10,8)
	movl	$1, %eax
	ret
	.p2align 4,,10
	.p2align 3
.L26:
	testl	%edx, %edx
	jne	.L18
	movq	$2, 20000+ans(%rip)
	movl	$2, %eax
	ret
	.cfi_endproc
.LFE23:
	.size	dp, .-dp
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d %d"
.LC1:
	.string	"%d"
.LC2:
	.string	"%lld"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB24:
	.cfi_startproc
	endbr64
	pushq	%r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	leaq	ave(%rip), %rdx
	leaq	n(%rip), %rsi
	pushq	%r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	leaq	.LC0(%rip), %rdi
	pushq	%r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	pushq	%rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	pushq	%rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	subq	$16, %rsp
	.cfi_def_cfa_offset 64
	movq	%fs:40, %rax
	movq	%rax, 8(%rsp)
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	n(%rip), %ebp
	testl	%ebp, %ebp
	jle	.L28
	xorl	%ebx, %ebx
	leaq	4(%rsp), %r14
	leaq	.LC1(%rip), %r13
	leaq	x(%rip), %r12
.L29:
	movq	%r14, %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	4(%rsp), %eax
	movl	n(%rip), %ebp
	subl	ave(%rip), %eax
	movl	%eax, (%r12,%rbx,4)
	addq	$1, %rbx
	cmpl	%ebx, %ebp
	jg	.L29
.L28:
	leaq	ans(%rip), %r12
	movq	%r12, %rcx
	leaq	2181600(%r12), %rbx
.L30:
	movq	%rcx, %rdi
	movl	$40392, %edx
	movl	$255, %esi
	call	memset@PLT
	movq	%rax, %rcx
	addq	$40400, %rcx
	cmpq	%rcx, %rbx
	jne	.L30
	leal	-1(%rbp), %edi
	movslq	%edi, %rax
	imulq	$40400, %rax, %rax
	movq	20000(%r12,%rax), %rax
	cmpq	$-1, %rax
	jne	.L31
	movl	$2500, %esi
	call	dp.part.0
.L31:
	leaq	-1(%rax), %rdx
	leaq	.LC2(%rip), %rsi
	xorl	%eax, %eax
	movl	$1, %edi
	call	__printf_chk@PLT
	movq	8(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L36
	addq	$16, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 40
	popq	%rbp
	.cfi_def_cfa_offset 32
	popq	%r12
	.cfi_def_cfa_offset 24
	popq	%r13
	.cfi_def_cfa_offset 16
	popq	%r14
	.cfi_def_cfa_offset 8
	ret
.L36:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE24:
	.size	main, .-main
	.globl	x
	.bss
	.align 32
	.type	x, @object
	.size	x, 220
x:
	.zero	220
	.globl	ave
	.align 4
	.type	ave, @object
	.size	ave, 4
ave:
	.zero	4
	.globl	n
	.align 4
	.type	n, @object
	.size	n, 4
n:
	.zero	4
	.globl	ans
	.align 32
	.type	ans, @object
	.size	ans, 2222000
ans:
	.zero	2222000
	.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
	.type	dp.part.0, @function
dp.part.0:
.LFB25:
	.cfi_startproc
	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
	movslq	%edi, %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	subq	$24, %rsp
	.cfi_def_cfa_offset 80
	testl	%ebp, %ebp
	jne	.L2
	movl	x(%rip), %edx
	cmpl	$2500, %esi
	je	.L11
	movl	$2500, %eax
	subl	%edx, %eax
	cmpl	%eax, %esi
	je	.L4
	movslq	%esi, %rbx
	leaq	ans(%rip), %rax
	movq	$0, (%rax,%rbx,8)
	addq	$24, %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
.L11:
	.cfi_restore_state
	testl	%edx, %edx
	jne	.L4
	movq	$2, 20000+ans(%rip)
	addq	$24, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	movl	$2, %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
.L4:
	.cfi_restore_state
	movslq	%esi, %rbx
	leaq	ans(%rip), %rax
	movq	$1, (%rax,%rbx,8)
	addq	$24, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	movl	$1, %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
.L2:
	.cfi_restore_state
	leal	-1(%rbp), %edi
	movslq	%esi, %r14
	leaq	ans(%rip), %r13
	movslq	%edi, %r12
	imulq	$5050, %r12, %rax
	addq	%r14, %rax
	movq	0(%r13,%rax,8), %r15
	cmpq	$-1, %r15
	je	.L12
.L7:
	imulq	$5050, %r12, %r12
	leaq	x(%rip), %rax
	addl	(%rax,%rbp,4), %esi
	movslq	%esi, %rax
	addq	%rax, %r12
	movq	0(%r13,%r12,8), %rax
	cmpq	$-1, %rax
	je	.L13
.L8:
	imulq	$5050, %rbp, %rbp
	addq	%r15, %rax
	addq	%r14, %rbp
	movq	%rax, 0(%r13,%rbp,8)
	addq	$24, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	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
.L13:
	.cfi_restore_state
	call	dp.part.0
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L12:
	movl	%esi, 12(%rsp)
	movl	%edi, 8(%rsp)
	call	dp.part.0
	movl	12(%rsp), %esi
	movl	8(%rsp), %edi
	movq	%rax, %r15
	jmp	.L7
	.cfi_endproc
.LFE25:
	.size	dp.part.0, .-dp.part.0
	.p2align 4
	.globl	dp
	.type	dp, @function
dp:
.LFB23:
	.cfi_startproc
	endbr64
	movslq	%edi, %r11
	movslq	%esi, %r10
	leaq	ans(%rip), %r9
	imulq	$5050, %r11, %rax
	addq	%r10, %rax
	movq	(%r9,%rax,8), %rax
	cmpq	$-1, %rax
	jne	.L24
	testl	%edi, %edi
	jne	.L16
	movl	x(%rip), %edx
	cmpl	$2500, %esi
	je	.L26
	movl	$2500, %eax
	subl	%edx, %eax
	cmpl	%eax, %esi
	je	.L18
	movq	$0, (%r9,%r10,8)
	xorl	%eax, %eax
	ret
	.p2align 4,,10
	.p2align 3
.L24:
	ret
	.p2align 4,,10
	.p2align 3
.L16:
	leal	-1(%rdi), %r8d
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	pushq	%rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	movslq	%r8d, %rbx
	imulq	$5050, %rbx, %rax
	subq	$24, %rsp
	.cfi_def_cfa_offset 48
	addq	%r10, %rax
	movq	(%r9,%rax,8), %rbp
	cmpq	$-1, %rbp
	jne	.L21
	movl	%r8d, %edi
	movl	%esi, 12(%rsp)
	call	dp.part.0
	movl	12(%rsp), %esi
	movq	%rax, %rbp
.L21:
	imulq	$5050, %rbx, %rbx
	leaq	x(%rip), %rax
	addl	(%rax,%r11,4), %esi
	movslq	%esi, %rax
	addq	%rax, %rbx
	movq	(%r9,%rbx,8), %rax
	cmpq	$-1, %rax
	jne	.L22
	movl	%r8d, %edi
	call	dp.part.0
.L22:
	imulq	$5050, %r11, %rdx
	addq	%rbp, %rax
	addq	%r10, %rdx
	movq	%rax, (%r9,%rdx,8)
	addq	$24, %rsp
	.cfi_def_cfa_offset 24
	popq	%rbx
	.cfi_def_cfa_offset 16
	popq	%rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L18:
	.cfi_restore 3
	.cfi_restore 6
	movq	$1, (%r9,%r10,8)
	movl	$1, %eax
	ret
	.p2align 4,,10
	.p2align 3
.L26:
	testl	%edx, %edx
	jne	.L18
	movq	$2, 20000+ans(%rip)
	movl	$2, %eax
	ret
	.cfi_endproc
.LFE23:
	.size	dp, .-dp
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d %d"
.LC1:
	.string	"%d"
.LC2:
	.string	"%lld"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB24:
	.cfi_startproc
	endbr64
	pushq	%r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	leaq	ave(%rip), %rdx
	leaq	n(%rip), %rsi
	pushq	%r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	leaq	.LC0(%rip), %rdi
	pushq	%r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	pushq	%rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	pushq	%rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	subq	$16, %rsp
	.cfi_def_cfa_offset 64
	movq	%fs:40, %rax
	movq	%rax, 8(%rsp)
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	n(%rip), %ebp
	testl	%ebp, %ebp
	jle	.L28
	xorl	%ebx, %ebx
	leaq	4(%rsp), %r14
	leaq	.LC1(%rip), %r13
	leaq	x(%rip), %r12
.L29:
	movq	%r14, %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	4(%rsp), %eax
	movl	n(%rip), %ebp
	subl	ave(%rip), %eax
	movl	%eax, (%r12,%rbx,4)
	addq	$1, %rbx
	cmpl	%ebx, %ebp
	jg	.L29
.L28:
	leaq	ans(%rip), %r12
	movq	%r12, %rcx
	leaq	2181600(%r12), %rbx
.L30:
	movq	%rcx, %rdi
	movl	$40392, %edx
	movl	$255, %esi
	call	memset@PLT
	movq	%rax, %rcx
	addq	$40400, %rcx
	cmpq	%rcx, %rbx
	jne	.L30
	leal	-1(%rbp), %edi
	movslq	%edi, %rax
	imulq	$40400, %rax, %rax
	movq	20000(%r12,%rax), %rax
	cmpq	$-1, %rax
	jne	.L31
	movl	$2500, %esi
	call	dp.part.0
.L31:
	leaq	-1(%rax), %rdx
	leaq	.LC2(%rip), %rsi
	xorl	%eax, %eax
	movl	$1, %edi
	call	__printf_chk@PLT
	movq	8(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L36
	addq	$16, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 40
	popq	%rbp
	.cfi_def_cfa_offset 32
	popq	%r12
	.cfi_def_cfa_offset 24
	popq	%r13
	.cfi_def_cfa_offset 16
	popq	%r14
	.cfi_def_cfa_offset 8
	ret
.L36:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE24:
	.size	main, .-main
	.globl	x
	.bss
	.align 32
	.type	x, @object
	.size	x, 220
x:
	.zero	220
	.globl	ave
	.align 4
	.type	ave, @object
	.size	ave, 4
ave:
	.zero	4
	.globl	n
	.align 4
	.type	n, @object
	.size	n, 4
n:
	.zero	4
	.globl	ans
	.align 32
	.type	ans, @object
	.size	ans, 2222000
ans:
	.zero	2222000
	.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>
long long int ans[55][5050];
int n,ave;
int x[55];


long long int dp(int m,int sum){
    if(ans[m][sum]!=-1){
        return ans[m][sum];
    }else if(m==0){
        if(sum==2500 && sum==2500-x[0])ans[0][sum]=2;
        else if(sum==2500 || sum==2500-x[0])ans[0][sum]=1;
        else ans[0][sum]=0;
    }else{
        ans[m][sum]=dp(m-1,sum)+dp(m-1,sum+x[m]);
    }
    return ans[m][sum];
}

int main(){
    scanf("%d %d",&n,&ave);
    int q,i,j;
    for(i=0;i<=n-1;i++){
        scanf("%d",&q);
        x[i]=q-ave;
    }
    for(i=0;i<=53;i++)for(j=0;j<=5048;j++)ans[i][j]=-1;
    
    
    long long int count=dp(n-1,2500);
    printf("%lld",count-1);
    
    return 0;
}

4 8
7 9 8 9

5
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>
long long int ans[55][5050];
int n,ave;
int x[55];


long long int dp(int m,int sum){
    if(ans[m][sum]!=-1){
        return ans[m][sum];
    }else if(m==0){
        if(sum==2500 && sum==2500-x[0])ans[0][sum]=2;
        else if(sum==2500 || sum==2500-x[0])ans[0][sum]=1;
        else ans[0][sum]=0;
    }else{
        ans[m][sum]=dp(m-1,sum)+dp(m-1,sum+x[m]);
    }
    return ans[m][sum];
}

int main(){
    scanf("%d %d",&n,&ave);
    int q,i,j;
    for(i=0;i<=n-1;i++){
        scanf("%d",&q);
        x[i]=q-ave;
    }
    for(i=0;i<=53;i++)for(j=0;j<=5048;j++)ans[i][j]=-1;
    
    
    long long int count=dp(n-1,2500);
    printf("%lld",count-1);
    
    return 0;
}
```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.globl	ans
	.bss
	.align 32
	.type	ans, @object
	.size	ans, 2222000
ans:
	.zero	2222000
	.globl	n
	.align 4
	.type	n, @object
	.size	n, 4
n:
	.zero	4
	.globl	ave
	.align 4
	.type	ave, @object
	.size	ave, 4
ave:
	.zero	4
	.globl	x
	.align 32
	.type	x, @object
	.size	x, 220
x:
	.zero	220
	.text
	.globl	dp
	.type	dp, @function
dp:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset 3, -24
	movl	%edi, -20(%rbp)
	movl	%esi, -24(%rbp)
	movl	-24(%rbp), %eax
	movslq	%eax, %rdx
	movl	-20(%rbp), %eax
	cltq
	imulq	$5050, %rax, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,8), %rdx
	leaq	ans(%rip), %rax
	movq	(%rdx,%rax), %rax
	cmpq	$-1, %rax
	je	.L2
	movl	-24(%rbp), %eax
	movslq	%eax, %rdx
	movl	-20(%rbp), %eax
	cltq
	imulq	$5050, %rax, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,8), %rdx
	leaq	ans(%rip), %rax
	movq	(%rdx,%rax), %rax
	jmp	.L3
.L2:
	cmpl	$0, -20(%rbp)
	jne	.L4
	cmpl	$2500, -24(%rbp)
	jne	.L5
	movl	x(%rip), %edx
	movl	$2500, %eax
	subl	%edx, %eax
	cmpl	%eax, -24(%rbp)
	jne	.L5
	movl	-24(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rdx
	leaq	ans(%rip), %rax
	movq	$2, (%rdx,%rax)
	jmp	.L9
.L5:
	cmpl	$2500, -24(%rbp)
	je	.L7
	movl	x(%rip), %edx
	movl	$2500, %eax
	subl	%edx, %eax
	cmpl	%eax, -24(%rbp)
	jne	.L8
.L7:
	movl	-24(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rdx
	leaq	ans(%rip), %rax
	movq	$1, (%rdx,%rax)
	jmp	.L9
.L8:
	movl	-24(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rdx
	leaq	ans(%rip), %rax
	movq	$0, (%rdx,%rax)
	jmp	.L9
.L4:
	movl	-20(%rbp), %eax
	leal	-1(%rax), %edx
	movl	-24(%rbp), %eax
	movl	%eax, %esi
	movl	%edx, %edi
	call	dp
	movq	%rax, %rbx
	movl	-20(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	x(%rip), %rax
	movl	(%rdx,%rax), %edx
	movl	-24(%rbp), %eax
	addl	%eax, %edx
	movl	-20(%rbp), %eax
	subl	$1, %eax
	movl	%edx, %esi
	movl	%eax, %edi
	call	dp
	leaq	(%rbx,%rax), %rcx
	movl	-24(%rbp), %eax
	movslq	%eax, %rdx
	movl	-20(%rbp), %eax
	cltq
	imulq	$5050, %rax, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,8), %rdx
	leaq	ans(%rip), %rax
	movq	%rcx, (%rdx,%rax)
.L9:
	movl	-24(%rbp), %eax
	movslq	%eax, %rdx
	movl	-20(%rbp), %eax
	cltq
	imulq	$5050, %rax, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,8), %rdx
	leaq	ans(%rip), %rax
	movq	(%rdx,%rax), %rax
.L3:
	movq	-8(%rbp), %rbx
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	dp, .-dp
	.section	.rodata
.LC0:
	.string	"%d %d"
.LC1:
	.string	"%d"
.LC2:
	.string	"%lld"
	.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	$32, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	ave(%rip), %rax
	movq	%rax, %rdx
	leaq	n(%rip), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -24(%rbp)
	jmp	.L11
.L12:
	leaq	-28(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-28(%rbp), %eax
	movl	ave(%rip), %edx
	subl	%edx, %eax
	movl	%eax, %ecx
	movl	-24(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	x(%rip), %rax
	movl	%ecx, (%rdx,%rax)
	addl	$1, -24(%rbp)
.L11:
	movl	n(%rip), %eax
	cmpl	%eax, -24(%rbp)
	jl	.L12
	movl	$0, -24(%rbp)
	jmp	.L13
.L16:
	movl	$0, -20(%rbp)
	jmp	.L14
.L15:
	movl	-20(%rbp), %eax
	movslq	%eax, %rdx
	movl	-24(%rbp), %eax
	cltq
	imulq	$5050, %rax, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,8), %rdx
	leaq	ans(%rip), %rax
	movq	$-1, (%rdx,%rax)
	addl	$1, -20(%rbp)
.L14:
	cmpl	$5048, -20(%rbp)
	jle	.L15
	addl	$1, -24(%rbp)
.L13:
	cmpl	$53, -24(%rbp)
	jle	.L16
	movl	n(%rip), %eax
	subl	$1, %eax
	movl	$2500, %esi
	movl	%eax, %edi
	call	dp
	movq	%rax, -16(%rbp)
	movq	-16(%rbp), %rax
	subq	$1, %rax
	movq	%rax, %rsi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L18
	call	__stack_chk_fail@PLT
.L18:
	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
	.globl	ans
	.bss
	.align 32
	.type	ans, @object
	.size	ans, 2222000
ans:
	.zero	2222000
	.globl	n
	.align 4
	.type	n, @object
	.size	n, 4
n:
	.zero	4
	.globl	ave
	.align 4
	.type	ave, @object
	.size	ave, 4
ave:
	.zero	4
	.globl	x
	.align 32
	.type	x, @object
	.size	x, 220
x:
	.zero	220
	.text
	.globl	dp
	.type	dp, @function
dp:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset 3, -24
	movl	%edi, -20(%rbp)
	movl	%esi, -24(%rbp)
	movl	-24(%rbp), %eax
	movslq	%eax, %rdx
	movl	-20(%rbp), %eax
	cltq
	imulq	$5050, %rax, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,8), %rdx
	leaq	ans(%rip), %rax
	movq	(%rdx,%rax), %rax
	cmpq	$-1, %rax
	je	.L2
	movl	-24(%rbp), %eax
	movslq	%eax, %rdx
	movl	-20(%rbp), %eax
	cltq
	imulq	$5050, %rax, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,8), %rdx
	leaq	ans(%rip), %rax
	movq	(%rdx,%rax), %rax
	jmp	.L3
.L2:
	cmpl	$0, -20(%rbp)
	jne	.L4
	cmpl	$2500, -24(%rbp)
	jne	.L5
	movl	x(%rip), %edx
	movl	$2500, %eax
	subl	%edx, %eax
	cmpl	%eax, -24(%rbp)
	jne	.L5
	movl	-24(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rdx
	leaq	ans(%rip), %rax
	movq	$2, (%rdx,%rax)
	jmp	.L9
.L5:
	cmpl	$2500, -24(%rbp)
	je	.L7
	movl	x(%rip), %edx
	movl	$2500, %eax
	subl	%edx, %eax
	cmpl	%eax, -24(%rbp)
	jne	.L8
.L7:
	movl	-24(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rdx
	leaq	ans(%rip), %rax
	movq	$1, (%rdx,%rax)
	jmp	.L9
.L8:
	movl	-24(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rdx
	leaq	ans(%rip), %rax
	movq	$0, (%rdx,%rax)
	jmp	.L9
.L4:
	movl	-20(%rbp), %eax
	leal	-1(%rax), %edx
	movl	-24(%rbp), %eax
	movl	%eax, %esi
	movl	%edx, %edi
	call	dp
	movq	%rax, %rbx
	movl	-20(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	x(%rip), %rax
	movl	(%rdx,%rax), %edx
	movl	-24(%rbp), %eax
	addl	%eax, %edx
	movl	-20(%rbp), %eax
	subl	$1, %eax
	movl	%edx, %esi
	movl	%eax, %edi
	call	dp
	leaq	(%rbx,%rax), %rcx
	movl	-24(%rbp), %eax
	movslq	%eax, %rdx
	movl	-20(%rbp), %eax
	cltq
	imulq	$5050, %rax, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,8), %rdx
	leaq	ans(%rip), %rax
	movq	%rcx, (%rdx,%rax)
.L9:
	movl	-24(%rbp), %eax
	movslq	%eax, %rdx
	movl	-20(%rbp), %eax
	cltq
	imulq	$5050, %rax, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,8), %rdx
	leaq	ans(%rip), %rax
	movq	(%rdx,%rax), %rax
.L3:
	movq	-8(%rbp), %rbx
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	dp, .-dp
	.section	.rodata
.LC0:
	.string	"%d %d"
.LC1:
	.string	"%d"
.LC2:
	.string	"%lld"
	.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	$32, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	ave(%rip), %rax
	movq	%rax, %rdx
	leaq	n(%rip), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -24(%rbp)
	jmp	.L11
.L12:
	leaq	-28(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-28(%rbp), %eax
	movl	ave(%rip), %edx
	subl	%edx, %eax
	movl	%eax, %ecx
	movl	-24(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	x(%rip), %rax
	movl	%ecx, (%rdx,%rax)
	addl	$1, -24(%rbp)
.L11:
	movl	n(%rip), %eax
	cmpl	%eax, -24(%rbp)
	jl	.L12
	movl	$0, -24(%rbp)
	jmp	.L13
.L16:
	movl	$0, -20(%rbp)
	jmp	.L14
.L15:
	movl	-20(%rbp), %eax
	movslq	%eax, %rdx
	movl	-24(%rbp), %eax
	cltq
	imulq	$5050, %rax, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,8), %rdx
	leaq	ans(%rip), %rax
	movq	$-1, (%rdx,%rax)
	addl	$1, -20(%rbp)
.L14:
	cmpl	$5048, -20(%rbp)
	jle	.L15
	addl	$1, -24(%rbp)
.L13:
	cmpl	$53, -24(%rbp)
	jle	.L16
	movl	n(%rip), %eax
	subl	$1, %eax
	movl	$2500, %esi
	movl	%eax, %edi
	call	dp
	movq	%rax, -16(%rbp)
	movq	-16(%rbp), %rax
	subq	$1, %rax
	movq	%rax, %rsi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L18
	call	__stack_chk_fail@PLT
.L18:
	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:
