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()
{
	int n,p,a[55],i;
	int num_1=0;
	long long int ans,m;
	scanf("%d%d",&n,&p);
	for(i=0;i<n;i++)
	{
		scanf("%d",&a[i]);	
		if(a[i]%2)	num_1++;
	}
	if(num_1==0)
	{
		if(p)
		{
			printf("0");
			return 0;
		}
		else
		{
			if(n%2)
			{
				ans=1<<(n/2);
				m=2<<(n/2);
				printf("%lld",m*ans);
				return 0;
			}
			else
			{
				ans=m=1<<(n/2);
				printf("%lld",ans*m);
				return 0;
			}
		}
	}
	ans=1<<(num_1-1);
	m=1<<(n-num_1);
	printf("%lld",ans*m);
	return 0;
}```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.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:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	leaq	.LC0(%rip), %rdi
	pushq	%r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	pushq	%rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	pushq	%rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	subq	$264, %rsp
	.cfi_def_cfa_offset 304
	movq	%fs:40, %rax
	movq	%rax, 248(%rsp)
	xorl	%eax, %eax
	leaq	8(%rsp), %rsi
	leaq	12(%rsp), %rdx
	call	__isoc99_scanf@PLT
	movl	8(%rsp), %esi
	testl	%esi, %esi
	jle	.L2
	xorl	%ebx, %ebx
	leaq	16(%rsp), %r12
	leaq	.LC1(%rip), %r13
	xorl	%ebp, %ebp
	.p2align 4,,10
	.p2align 3
.L4:
	leaq	(%r12,%rbx,4), %rsi
	xorl	%eax, %eax
	movq	%r13, %rdi
	call	__isoc99_scanf@PLT
	movl	(%r12,%rbx,4), %eax
	movl	8(%rsp), %esi
	andl	$1, %eax
	cmpl	$1, %eax
	sbbl	$-1, %ebp
	addq	$1, %rbx
	cmpl	%ebx, %esi
	jg	.L4
	testl	%ebp, %ebp
	jne	.L5
.L2:
	movl	12(%rsp), %eax
	testl	%eax, %eax
	jne	.L15
	movl	%esi, %eax
	movl	$2, %edi
	cltd
	idivl	%edi
	movl	$1, %edx
	movl	%eax, %ecx
	sall	%cl, %edx
	andb	$1, %sil
	movslq	%edx, %rdx
	jne	.L16
	imulq	%rdx, %rdx
	leaq	.LC2(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
.L7:
	movq	248(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L17
	addq	$264, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 32
	popq	%rbp
	.cfi_def_cfa_offset 24
	popq	%r12
	.cfi_def_cfa_offset 16
	popq	%r13
	.cfi_def_cfa_offset 8
	ret
.L16:
	.cfi_restore_state
	sall	%cl, %edi
	leaq	.LC2(%rip), %rsi
	xorl	%eax, %eax
	movslq	%edi, %rdi
	imulq	%rdi, %rdx
	movl	$1, %edi
	call	__printf_chk@PLT
	jmp	.L7
.L5:
	movl	$1, %eax
	leal	-1(%rbp), %ecx
	movl	$1, %edi
	movl	%eax, %edx
	sall	%cl, %edx
	movl	%esi, %ecx
	leaq	.LC2(%rip), %rsi
	subl	%ebp, %ecx
	movslq	%edx, %rdx
	sall	%cl, %eax
	cltq
	imulq	%rax, %rdx
	xorl	%eax, %eax
	call	__printf_chk@PLT
	jmp	.L7
.L15:
	movl	$48, %edi
	call	putchar@PLT
	jmp	.L7
.L17:
	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%d"
.LC1:
	.string	"%d"
.LC2:
	.string	"%lld"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	leaq	.LC0(%rip), %rdi
	pushq	%r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	pushq	%rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	pushq	%rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	subq	$264, %rsp
	.cfi_def_cfa_offset 304
	movq	%fs:40, %rax
	movq	%rax, 248(%rsp)
	xorl	%eax, %eax
	leaq	8(%rsp), %rsi
	leaq	12(%rsp), %rdx
	call	__isoc99_scanf@PLT
	movl	8(%rsp), %esi
	testl	%esi, %esi
	jle	.L2
	xorl	%ebx, %ebx
	leaq	16(%rsp), %r12
	leaq	.LC1(%rip), %r13
	xorl	%ebp, %ebp
	.p2align 4,,10
	.p2align 3
.L4:
	leaq	(%r12,%rbx,4), %rsi
	xorl	%eax, %eax
	movq	%r13, %rdi
	call	__isoc99_scanf@PLT
	movl	(%r12,%rbx,4), %eax
	movl	8(%rsp), %esi
	andl	$1, %eax
	cmpl	$1, %eax
	sbbl	$-1, %ebp
	addq	$1, %rbx
	cmpl	%ebx, %esi
	jg	.L4
	testl	%ebp, %ebp
	jne	.L5
.L2:
	movl	12(%rsp), %eax
	testl	%eax, %eax
	jne	.L15
	movl	%esi, %eax
	movl	$2, %edi
	cltd
	idivl	%edi
	movl	$1, %edx
	movl	%eax, %ecx
	sall	%cl, %edx
	andb	$1, %sil
	movslq	%edx, %rdx
	jne	.L16
	imulq	%rdx, %rdx
	leaq	.LC2(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
.L7:
	movq	248(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L17
	addq	$264, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 32
	popq	%rbp
	.cfi_def_cfa_offset 24
	popq	%r12
	.cfi_def_cfa_offset 16
	popq	%r13
	.cfi_def_cfa_offset 8
	ret
.L16:
	.cfi_restore_state
	sall	%cl, %edi
	leaq	.LC2(%rip), %rsi
	xorl	%eax, %eax
	movslq	%edi, %rdi
	imulq	%rdi, %rdx
	movl	$1, %edi
	call	__printf_chk@PLT
	jmp	.L7
.L5:
	movl	$1, %eax
	leal	-1(%rbp), %ecx
	movl	$1, %edi
	movl	%eax, %edx
	sall	%cl, %edx
	movl	%esi, %ecx
	leaq	.LC2(%rip), %rsi
	subl	%ebp, %ecx
	movslq	%edx, %rdx
	sall	%cl, %eax
	cltq
	imulq	%rax, %rdx
	xorl	%eax, %eax
	call	__printf_chk@PLT
	jmp	.L7
.L15:
	movl	$48, %edi
	call	putchar@PLT
	jmp	.L7
.L17:
	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%d"
.LC1:
	.string	"%d"
.LC2:
	.string	"%lld"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	leaq	.LC0(%rip), %rdi
	pushq	%r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	pushq	%rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	pushq	%rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	subq	$264, %rsp
	.cfi_def_cfa_offset 304
	movq	%fs:40, %rax
	movq	%rax, 248(%rsp)
	xorl	%eax, %eax
	leaq	8(%rsp), %rsi
	leaq	12(%rsp), %rdx
	call	__isoc99_scanf@PLT
	movl	8(%rsp), %esi
	testl	%esi, %esi
	jle	.L2
	xorl	%ebx, %ebx
	leaq	16(%rsp), %r12
	leaq	.LC1(%rip), %r13
	xorl	%ebp, %ebp
	.p2align 4,,10
	.p2align 3
.L4:
	leaq	(%r12,%rbx,4), %rsi
	xorl	%eax, %eax
	movq	%r13, %rdi
	call	__isoc99_scanf@PLT
	movl	(%r12,%rbx,4), %eax
	movl	8(%rsp), %esi
	andl	$1, %eax
	cmpl	$1, %eax
	sbbl	$-1, %ebp
	addq	$1, %rbx
	cmpl	%ebx, %esi
	jg	.L4
	testl	%ebp, %ebp
	jne	.L5
.L2:
	movl	12(%rsp), %eax
	testl	%eax, %eax
	jne	.L15
	movl	%esi, %eax
	movl	$2, %edi
	cltd
	idivl	%edi
	movl	$1, %edx
	movl	%eax, %ecx
	sall	%cl, %edx
	andb	$1, %sil
	movslq	%edx, %rdx
	jne	.L16
	imulq	%rdx, %rdx
	leaq	.LC2(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
.L7:
	movq	248(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L17
	addq	$264, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 32
	popq	%rbp
	.cfi_def_cfa_offset 24
	popq	%r12
	.cfi_def_cfa_offset 16
	popq	%r13
	.cfi_def_cfa_offset 8
	ret
.L16:
	.cfi_restore_state
	sall	%cl, %edi
	leaq	.LC2(%rip), %rsi
	xorl	%eax, %eax
	movslq	%edi, %rdi
	imulq	%rdi, %rdx
	movl	$1, %edi
	call	__printf_chk@PLT
	jmp	.L7
.L5:
	movl	$1, %eax
	leal	-1(%rbp), %ecx
	movl	$1, %edi
	movl	%eax, %edx
	sall	%cl, %edx
	movl	%esi, %ecx
	leaq	.LC2(%rip), %rsi
	subl	%ebp, %ecx
	movslq	%edx, %rdx
	sall	%cl, %eax
	cltq
	imulq	%rax, %rdx
	xorl	%eax, %eax
	call	__printf_chk@PLT
	jmp	.L7
.L15:
	movl	$48, %edi
	call	putchar@PLT
	jmp	.L7
.L17:
	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()
{
	int n,p,a[55],i;
	int num_1=0;
	long long int ans,m;
	scanf("%d%d",&n,&p);
	for(i=0;i<n;i++)
	{
		scanf("%d",&a[i]);	
		if(a[i]%2)	num_1++;
	}
	if(num_1==0)
	{
		if(p)
		{
			printf("0");
			return 0;
		}
		else
		{
			if(n%2)
			{
				ans=1<<(n/2);
				m=2<<(n/2);
				printf("%lld",m*ans);
				return 0;
			}
			else
			{
				ans=m=1<<(n/2);
				printf("%lld",ans*m);
				return 0;
			}
		}
	}
	ans=1<<(num_1-1);
	m=1<<(n-num_1);
	printf("%lld",ans*m);
	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()
{
	int n,p,a[55],i;
	int num_1=0;
	long long int ans,m;
	scanf("%d%d",&n,&p);
	for(i=0;i<n;i++)
	{
		scanf("%d",&a[i]);	
		if(a[i]%2)	num_1++;
	}
	if(num_1==0)
	{
		if(p)
		{
			printf("0");
			return 0;
		}
		else
		{
			if(n%2)
			{
				ans=1<<(n/2);
				m=2<<(n/2);
				printf("%lld",m*ans);
				return 0;
			}
			else
			{
				ans=m=1<<(n/2);
				printf("%lld",ans*m);
				return 0;
			}
		}
	}
	ans=1<<(num_1-1);
	m=1<<(n-num_1);
	printf("%lld",ans*m);
	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 1
67
 45 1
17 55 85 55 74 20 90 67 40 70 39 89 91 50 16 24 14 43 24 68 25 9 89 71 41 16 53 13 61 15 85 72 62 67 42 26 36 66 4 87 59 91 4 25 26
 3 1
1 1 1
 2 0
1 1
 1 1
42
 45 1
17 55 85 55 74 20 90 67 40 70 39 89 91 50 16 24 14 43 24 68 25 9 89 71 41 16 53 11 61 15 85 72 62 67 42 26 36 66 4 87 59 91 4 25 26
 45 1
17 55 85 55 74 20 90 67 40 70 39 89 91 50 16 24 14 43 24 68 25 9 89 71 41 16 53 11 61 15 85 72 62 67 42 26 36 66 4 87 59 91 4 24 26
 45 1
17 55 85 55 74 20 90 67 40 121 39 89 91 50 16 24 14 43 24 68 25 9 89 71 41 16 53 11 61 15 85 72 62 67 42 26 36 66 4 87 59 91 4 24 26
 45 1
17 55 85 55 74 20 90 67 40 121 39 89 91 50 16 38 14 43 24 68 25 9 89 71 41 16 53 11 61 15 85 72 62 67 42 26 36 66 4 87 59 91 4 24 26
 45 1
17 55 85 55 74 20 90 67 40 121 39 178 91 50 16 38 14 43 24 68 25 9 89 71 41 16 53 11 61 15 85 72 62 67 42 26 36 66 4 87 59 91 4 24 26

1 17592186044416 4 2 0 17592186044416 17592186044416 17592186044416 17592186044416 17592186044416
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()
{
	int n,p,a[55],i;
	int num_1=0;
	long long int ans,m;
	scanf("%d%d",&n,&p);
	for(i=0;i<n;i++)
	{
		scanf("%d",&a[i]);	
		if(a[i]%2)	num_1++;
	}
	if(num_1==0)
	{
		if(p)
		{
			printf("0");
			return 0;
		}
		else
		{
			if(n%2)
			{
				ans=1<<(n/2);
				m=2<<(n/2);
				printf("%lld",m*ans);
				return 0;
			}
			else
			{
				ans=m=1<<(n/2);
				printf("%lld",ans*m);
				return 0;
			}
		}
	}
	ans=1<<(num_1-1);
	m=1<<(n-num_1);
	printf("%lld",ans*m);
	return 0;
}```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.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:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	leaq	.LC0(%rip), %rdi
	pushq	%r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	pushq	%rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	pushq	%rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	subq	$264, %rsp
	.cfi_def_cfa_offset 304
	movq	%fs:40, %rax
	movq	%rax, 248(%rsp)
	xorl	%eax, %eax
	leaq	8(%rsp), %rsi
	leaq	12(%rsp), %rdx
	call	__isoc99_scanf@PLT
	movl	8(%rsp), %esi
	testl	%esi, %esi
	jle	.L2
	xorl	%ebx, %ebx
	leaq	16(%rsp), %r12
	leaq	.LC1(%rip), %r13
	xorl	%ebp, %ebp
	.p2align 4,,10
	.p2align 3
.L4:
	leaq	(%r12,%rbx,4), %rsi
	xorl	%eax, %eax
	movq	%r13, %rdi
	call	__isoc99_scanf@PLT
	movl	(%r12,%rbx,4), %eax
	movl	8(%rsp), %esi
	andl	$1, %eax
	cmpl	$1, %eax
	sbbl	$-1, %ebp
	addq	$1, %rbx
	cmpl	%ebx, %esi
	jg	.L4
	testl	%ebp, %ebp
	jne	.L5
.L2:
	movl	12(%rsp), %eax
	testl	%eax, %eax
	jne	.L15
	movl	%esi, %eax
	movl	$2, %edi
	cltd
	idivl	%edi
	movl	$1, %edx
	movl	%eax, %ecx
	sall	%cl, %edx
	andb	$1, %sil
	movslq	%edx, %rdx
	jne	.L16
	imulq	%rdx, %rdx
	leaq	.LC2(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
.L7:
	movq	248(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L17
	addq	$264, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 32
	popq	%rbp
	.cfi_def_cfa_offset 24
	popq	%r12
	.cfi_def_cfa_offset 16
	popq	%r13
	.cfi_def_cfa_offset 8
	ret
.L16:
	.cfi_restore_state
	sall	%cl, %edi
	leaq	.LC2(%rip), %rsi
	xorl	%eax, %eax
	movslq	%edi, %rdi
	imulq	%rdi, %rdx
	movl	$1, %edi
	call	__printf_chk@PLT
	jmp	.L7
.L5:
	movl	$1, %eax
	leal	-1(%rbp), %ecx
	movl	$1, %edi
	movl	%eax, %edx
	sall	%cl, %edx
	movl	%esi, %ecx
	leaq	.LC2(%rip), %rsi
	subl	%ebp, %ecx
	movslq	%edx, %rdx
	sall	%cl, %eax
	cltq
	imulq	%rax, %rdx
	xorl	%eax, %eax
	call	__printf_chk@PLT
	jmp	.L7
.L15:
	movl	$48, %edi
	call	putchar@PLT
	jmp	.L7
.L17:
	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%d"
.LC1:
	.string	"%d"
.LC2:
	.string	"%lld"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	leaq	.LC0(%rip), %rdi
	pushq	%r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	pushq	%rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	pushq	%rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	subq	$264, %rsp
	.cfi_def_cfa_offset 304
	movq	%fs:40, %rax
	movq	%rax, 248(%rsp)
	xorl	%eax, %eax
	leaq	8(%rsp), %rsi
	leaq	12(%rsp), %rdx
	call	__isoc99_scanf@PLT
	movl	8(%rsp), %esi
	testl	%esi, %esi
	jle	.L2
	xorl	%ebx, %ebx
	leaq	16(%rsp), %r12
	leaq	.LC1(%rip), %r13
	xorl	%ebp, %ebp
	.p2align 4,,10
	.p2align 3
.L4:
	leaq	(%r12,%rbx,4), %rsi
	xorl	%eax, %eax
	movq	%r13, %rdi
	call	__isoc99_scanf@PLT
	movl	(%r12,%rbx,4), %eax
	movl	8(%rsp), %esi
	andl	$1, %eax
	cmpl	$1, %eax
	sbbl	$-1, %ebp
	addq	$1, %rbx
	cmpl	%ebx, %esi
	jg	.L4
	testl	%ebp, %ebp
	jne	.L5
.L2:
	movl	12(%rsp), %eax
	testl	%eax, %eax
	jne	.L15
	movl	%esi, %eax
	movl	$2, %edi
	cltd
	idivl	%edi
	movl	$1, %edx
	movl	%eax, %ecx
	sall	%cl, %edx
	andb	$1, %sil
	movslq	%edx, %rdx
	jne	.L16
	imulq	%rdx, %rdx
	leaq	.LC2(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
.L7:
	movq	248(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L17
	addq	$264, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 32
	popq	%rbp
	.cfi_def_cfa_offset 24
	popq	%r12
	.cfi_def_cfa_offset 16
	popq	%r13
	.cfi_def_cfa_offset 8
	ret
.L16:
	.cfi_restore_state
	sall	%cl, %edi
	leaq	.LC2(%rip), %rsi
	xorl	%eax, %eax
	movslq	%edi, %rdi
	imulq	%rdi, %rdx
	movl	$1, %edi
	call	__printf_chk@PLT
	jmp	.L7
.L5:
	movl	$1, %eax
	leal	-1(%rbp), %ecx
	movl	$1, %edi
	movl	%eax, %edx
	sall	%cl, %edx
	movl	%esi, %ecx
	leaq	.LC2(%rip), %rsi
	subl	%ebp, %ecx
	movslq	%edx, %rdx
	sall	%cl, %eax
	cltq
	imulq	%rax, %rdx
	xorl	%eax, %eax
	call	__printf_chk@PLT
	jmp	.L7
.L15:
	movl	$48, %edi
	call	putchar@PLT
	jmp	.L7
.L17:
	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:
```