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 is_palindrome(char s[], int l)
{
	int i;
	for (i = 0; i < l / 2; i++) if (s[i] != s[l-1-i]) break;
	if (i < l / 2) return 0;
	else return 1;
}

int main()
{
	char S[100];
	scanf("%s", S);

	int i, l;
	for (l = 0; S[l] != 0; l++);
	if (is_palindrome(S, l) + is_palindrome(S, (l - 1) / 2) + is_palindrome(&(S[(l+1)/2]), (l - 1) / 2) == 3) printf("Yes\n");
	else printf("No\n");
	fflush(stdout);
	return 0;
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.globl	is_palindrome
	.type	is_palindrome, @function
is_palindrome:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	movq	%rdi, -24(%rbp)
	movl	%esi, -28(%rbp)
	movl	$0, -4(%rbp)
	jmp	.L2
.L5:
	movl	-4(%rbp), %eax
	movslq	%eax, %rdx
	movq	-24(%rbp), %rax
	addq	%rdx, %rax
	movzbl	(%rax), %edx
	movl	-28(%rbp), %eax
	subl	$1, %eax
	subl	-4(%rbp), %eax
	movslq	%eax, %rcx
	movq	-24(%rbp), %rax
	addq	%rcx, %rax
	movzbl	(%rax), %eax
	cmpb	%al, %dl
	jne	.L8
	addl	$1, -4(%rbp)
.L2:
	movl	-28(%rbp), %eax
	movl	%eax, %edx
	shrl	$31, %edx
	addl	%edx, %eax
	sarl	%eax
	cmpl	%eax, -4(%rbp)
	jl	.L5
	jmp	.L4
.L8:
	nop
.L4:
	movl	-28(%rbp), %eax
	movl	%eax, %edx
	shrl	$31, %edx
	addl	%edx, %eax
	sarl	%eax
	cmpl	%eax, -4(%rbp)
	jge	.L6
	movl	$0, %eax
	jmp	.L7
.L6:
	movl	$1, %eax
.L7:
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	is_palindrome, .-is_palindrome
	.section	.rodata
.LC0:
	.string	"%s"
.LC1:
	.string	"Yes"
.LC2:
	.string	"No"
	.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
	pushq	%rbx
	subq	$136, %rsp
	.cfi_offset 3, -24
	movq	%fs:40, %rax
	movq	%rax, -24(%rbp)
	xorl	%eax, %eax
	leaq	-128(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -132(%rbp)
	jmp	.L10
.L11:
	addl	$1, -132(%rbp)
.L10:
	movl	-132(%rbp), %eax
	cltq
	movzbl	-128(%rbp,%rax), %eax
	testb	%al, %al
	jne	.L11
	movl	-132(%rbp), %edx
	leaq	-128(%rbp), %rax
	movl	%edx, %esi
	movq	%rax, %rdi
	call	is_palindrome
	movl	%eax, %ebx
	movl	-132(%rbp), %eax
	subl	$1, %eax
	movl	%eax, %edx
	shrl	$31, %edx
	addl	%edx, %eax
	sarl	%eax
	movl	%eax, %edx
	leaq	-128(%rbp), %rax
	movl	%edx, %esi
	movq	%rax, %rdi
	call	is_palindrome
	addl	%eax, %ebx
	movl	-132(%rbp), %eax
	subl	$1, %eax
	movl	%eax, %edx
	shrl	$31, %edx
	addl	%edx, %eax
	sarl	%eax
	movl	%eax, %edx
	movl	-132(%rbp), %eax
	addl	$1, %eax
	movl	%eax, %ecx
	shrl	$31, %ecx
	addl	%ecx, %eax
	sarl	%eax
	leaq	-128(%rbp), %rcx
	cltq
	addq	%rcx, %rax
	movl	%edx, %esi
	movq	%rax, %rdi
	call	is_palindrome
	addl	%ebx, %eax
	cmpl	$3, %eax
	jne	.L12
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	jmp	.L13
.L12:
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
.L13:
	movq	stdout(%rip), %rax
	movq	%rax, %rdi
	call	fflush@PLT
	movl	$0, %eax
	movq	-24(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L15
	call	__stack_chk_fail@PLT
.L15:
	movq	-8(%rbp), %rbx
	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
	.globl	is_palindrome
	.type	is_palindrome, @function
is_palindrome:
.LFB23:
	.cfi_startproc
	endbr64
	movl	%esi, %ecx
	shrl	$31, %ecx
	addl	%esi, %ecx
	sarl	%ecx
	cmpl	$1, %esi
	jle	.L4
	leal	-1(%rsi), %eax
	xorl	%edx, %edx
	cltq
	addq	%rdi, %rax
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L8:
	addq	$1, %rdx
	subq	$1, %rax
	cmpl	%edx, %ecx
	jle	.L4
.L3:
	movzbl	(%rax), %esi
	cmpb	%sil, (%rdi,%rdx)
	je	.L8
	xorl	%eax, %eax
	ret
	.p2align 4,,10
	.p2align 3
.L4:
	movl	$1, %eax
	ret
	.cfi_endproc
.LFE23:
	.size	is_palindrome, .-is_palindrome
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%s"
.LC1:
	.string	"Yes"
.LC2:
	.string	"No"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB24:
	.cfi_startproc
	endbr64
	pushq	%rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	leaq	.LC0(%rip), %rdi
	subq	$112, %rsp
	.cfi_def_cfa_offset 128
	movq	%fs:40, %rax
	movq	%rax, 104(%rsp)
	xorl	%eax, %eax
	movq	%rsp, %rbx
	movq	%rbx, %rsi
	call	__isoc99_scanf@PLT
	cmpb	$0, (%rsp)
	je	.L10
	leaq	1(%rsp), %rdi
	xorl	%ecx, %ecx
	movq	%rdi, %rax
	.p2align 4,,10
	.p2align 3
.L11:
	addq	$1, %rax
	movl	%ecx, %edx
	leal	1(%rcx), %ecx
	cmpb	$0, -1(%rax)
	jne	.L11
	movl	%ecx, %esi
	sarl	%esi
	je	.L10
	movslq	%edx, %rcx
	subl	$1, %esi
	movq	%rbx, %rax
	addq	%rbx, %rcx
	addq	%rdi, %rsi
	jmp	.L13
	.p2align 4,,10
	.p2align 3
.L43:
	addq	$1, %rax
	subq	$1, %rcx
	cmpq	%rax, %rsi
	je	.L42
.L13:
	movzbl	(%rcx), %edi
	cmpb	%dil, (%rax)
	je	.L43
	movl	%edx, %r8d
	movl	%edx, %esi
	movl	$1, %r10d
	xorl	%r9d, %r9d
	sarl	%r8d
	sarl	$2, %esi
	cmpl	$3, %edx
	jle	.L18
.L23:
	leal	-1(%r8), %edi
	movslq	%r8d, %r8
	xorl	%eax, %eax
	addq	%rbx, %r8
	jmp	.L16
	.p2align 4,,10
	.p2align 3
.L45:
	addq	$1, %rax
	cmpl	%eax, %esi
	jle	.L44
.L16:
	movq	%rax, %rcx
	negq	%rcx
	movzbl	-1(%r8,%rcx), %ecx
	cmpb	%cl, (%rbx,%rax)
	je	.L45
	leal	2(%rdx), %ecx
	sarl	%ecx
	movslq	%ecx, %rcx
	addq	%rbx, %rcx
.L22:
	movslq	%edi, %rdx
	xorl	%eax, %eax
	addq	%rcx, %rdx
	jmp	.L19
	.p2align 4,,10
	.p2align 3
.L47:
	addq	$1, %rax
	subq	$1, %rdx
	cmpl	%eax, %esi
	jle	.L46
.L19:
	movzbl	(%rdx), %ebx
	cmpb	%bl, (%rcx,%rax)
	je	.L47
.L18:
	leaq	.LC2(%rip), %rdi
	call	puts@PLT
.L21:
	movq	stdout(%rip), %rdi
	call	fflush@PLT
	movq	104(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L48
	addq	$112, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 16
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 8
	ret
.L42:
	.cfi_restore_state
	movl	%edx, %r8d
	movl	%edx, %esi
	movl	$2, %r10d
	movl	$1, %r9d
	sarl	%r8d
	sarl	$2, %esi
	cmpl	$3, %edx
	jg	.L23
	jmp	.L10
.L44:
	leal	2(%rdx), %ecx
	movl	%r10d, %r9d
	sarl	%ecx
	movslq	%ecx, %rcx
	addq	%rbx, %rcx
	jmp	.L22
.L46:
	cmpl	$2, %r9d
	jne	.L18
.L10:
	leaq	.LC1(%rip), %rdi
	call	puts@PLT
	jmp	.L21
.L48:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE24:
	.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
	.p2align 4
	.globl	is_palindrome
	.type	is_palindrome, @function
is_palindrome:
.LFB23:
	.cfi_startproc
	endbr64
	movl	%esi, %ecx
	shrl	$31, %ecx
	addl	%esi, %ecx
	sarl	%ecx
	cmpl	$1, %esi
	jle	.L4
	leal	-1(%rsi), %eax
	xorl	%edx, %edx
	cltq
	addq	%rdi, %rax
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L8:
	addq	$1, %rdx
	subq	$1, %rax
	cmpl	%edx, %ecx
	jle	.L4
.L3:
	movzbl	(%rax), %esi
	cmpb	%sil, (%rdi,%rdx)
	je	.L8
	xorl	%eax, %eax
	ret
	.p2align 4,,10
	.p2align 3
.L4:
	movl	$1, %eax
	ret
	.cfi_endproc
.LFE23:
	.size	is_palindrome, .-is_palindrome
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%s"
.LC1:
	.string	"Yes"
.LC2:
	.string	"No"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB24:
	.cfi_startproc
	endbr64
	pushq	%rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	leaq	.LC0(%rip), %rdi
	subq	$112, %rsp
	.cfi_def_cfa_offset 128
	movq	%fs:40, %rax
	movq	%rax, 104(%rsp)
	xorl	%eax, %eax
	movq	%rsp, %rbx
	movq	%rbx, %rsi
	call	__isoc99_scanf@PLT
	cmpb	$0, (%rsp)
	je	.L10
	leaq	1(%rsp), %rdi
	xorl	%ecx, %ecx
	movq	%rdi, %rax
	.p2align 4,,10
	.p2align 3
.L11:
	addq	$1, %rax
	movl	%ecx, %edx
	leal	1(%rcx), %ecx
	cmpb	$0, -1(%rax)
	jne	.L11
	movl	%ecx, %esi
	sarl	%esi
	je	.L10
	movslq	%edx, %rcx
	subl	$1, %esi
	movq	%rbx, %rax
	addq	%rbx, %rcx
	addq	%rdi, %rsi
	jmp	.L13
	.p2align 4,,10
	.p2align 3
.L43:
	addq	$1, %rax
	subq	$1, %rcx
	cmpq	%rax, %rsi
	je	.L42
.L13:
	movzbl	(%rcx), %edi
	cmpb	%dil, (%rax)
	je	.L43
	movl	%edx, %r8d
	movl	%edx, %esi
	movl	$1, %r10d
	xorl	%r9d, %r9d
	sarl	%r8d
	sarl	$2, %esi
	cmpl	$3, %edx
	jle	.L18
.L23:
	leal	-1(%r8), %edi
	movslq	%r8d, %r8
	xorl	%eax, %eax
	addq	%rbx, %r8
	jmp	.L16
	.p2align 4,,10
	.p2align 3
.L45:
	addq	$1, %rax
	cmpl	%eax, %esi
	jle	.L44
.L16:
	movq	%rax, %rcx
	negq	%rcx
	movzbl	-1(%r8,%rcx), %ecx
	cmpb	%cl, (%rbx,%rax)
	je	.L45
	leal	2(%rdx), %ecx
	sarl	%ecx
	movslq	%ecx, %rcx
	addq	%rbx, %rcx
.L22:
	movslq	%edi, %rdx
	xorl	%eax, %eax
	addq	%rcx, %rdx
	jmp	.L19
	.p2align 4,,10
	.p2align 3
.L47:
	addq	$1, %rax
	subq	$1, %rdx
	cmpl	%eax, %esi
	jle	.L46
.L19:
	movzbl	(%rdx), %ebx
	cmpb	%bl, (%rcx,%rax)
	je	.L47
.L18:
	leaq	.LC2(%rip), %rdi
	call	puts@PLT
.L21:
	movq	stdout(%rip), %rdi
	call	fflush@PLT
	movq	104(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L48
	addq	$112, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 16
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 8
	ret
.L42:
	.cfi_restore_state
	movl	%edx, %r8d
	movl	%edx, %esi
	movl	$2, %r10d
	movl	$1, %r9d
	sarl	%r8d
	sarl	$2, %esi
	cmpl	$3, %edx
	jg	.L23
	jmp	.L10
.L44:
	leal	2(%rdx), %ecx
	movl	%r10d, %r9d
	sarl	%ecx
	movslq	%ecx, %rcx
	addq	%rbx, %rcx
	jmp	.L22
.L46:
	cmpl	$2, %r9d
	jne	.L18
.L10:
	leaq	.LC1(%rip), %rdi
	call	puts@PLT
	jmp	.L21
.L48:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE24:
	.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 is_palindrome(char s[], int l)
{
	int i;
	for (i = 0; i < l / 2; i++) if (s[i] != s[l-1-i]) break;
	if (i < l / 2) return 0;
	else return 1;
}

int main()
{
	char S[100];
	scanf("%s", S);

	int i, l;
	for (l = 0; S[l] != 0; l++);
	if (is_palindrome(S, l) + is_palindrome(S, (l - 1) / 2) + is_palindrome(&(S[(l+1)/2]), (l - 1) / 2) == 3) printf("Yes\n");
	else printf("No\n");
	fflush(stdout);
	return 0;
}
akas`ka
 redocta
 llvee
 akas`ja
 rfdocta
 elvle
 ak`saja
 redodta
 elvld
 `k`saja

No
 No
 No
 No
 No
 No
 No
 No
 No
 No

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 is_palindrome(char s[], int l)
{
	int i;
	for (i = 0; i < l / 2; i++) if (s[i] != s[l-1-i]) break;
	if (i < l / 2) return 0;
	else return 1;
}

int main()
{
	char S[100];
	scanf("%s", S);

	int i, l;
	for (l = 0; S[l] != 0; l++);
	if (is_palindrome(S, l) + is_palindrome(S, (l - 1) / 2) + is_palindrome(&(S[(l+1)/2]), (l - 1) / 2) == 3) printf("Yes\n");
	else printf("No\n");
	fflush(stdout);
	return 0;
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.globl	is_palindrome
	.type	is_palindrome, @function
is_palindrome:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	movq	%rdi, -24(%rbp)
	movl	%esi, -28(%rbp)
	movl	$0, -4(%rbp)
	jmp	.L2
.L5:
	movl	-4(%rbp), %eax
	movslq	%eax, %rdx
	movq	-24(%rbp), %rax
	addq	%rdx, %rax
	movzbl	(%rax), %edx
	movl	-28(%rbp), %eax
	subl	$1, %eax
	subl	-4(%rbp), %eax
	movslq	%eax, %rcx
	movq	-24(%rbp), %rax
	addq	%rcx, %rax
	movzbl	(%rax), %eax
	cmpb	%al, %dl
	jne	.L8
	addl	$1, -4(%rbp)
.L2:
	movl	-28(%rbp), %eax
	movl	%eax, %edx
	shrl	$31, %edx
	addl	%edx, %eax
	sarl	%eax
	cmpl	%eax, -4(%rbp)
	jl	.L5
	jmp	.L4
.L8:
	nop
.L4:
	movl	-28(%rbp), %eax
	movl	%eax, %edx
	shrl	$31, %edx
	addl	%edx, %eax
	sarl	%eax
	cmpl	%eax, -4(%rbp)
	jge	.L6
	movl	$0, %eax
	jmp	.L7
.L6:
	movl	$1, %eax
.L7:
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	is_palindrome, .-is_palindrome
	.section	.rodata
.LC0:
	.string	"%s"
.LC1:
	.string	"Yes"
.LC2:
	.string	"No"
	.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
	pushq	%rbx
	subq	$136, %rsp
	.cfi_offset 3, -24
	movq	%fs:40, %rax
	movq	%rax, -24(%rbp)
	xorl	%eax, %eax
	leaq	-128(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -132(%rbp)
	jmp	.L10
.L11:
	addl	$1, -132(%rbp)
.L10:
	movl	-132(%rbp), %eax
	cltq
	movzbl	-128(%rbp,%rax), %eax
	testb	%al, %al
	jne	.L11
	movl	-132(%rbp), %edx
	leaq	-128(%rbp), %rax
	movl	%edx, %esi
	movq	%rax, %rdi
	call	is_palindrome
	movl	%eax, %ebx
	movl	-132(%rbp), %eax
	subl	$1, %eax
	movl	%eax, %edx
	shrl	$31, %edx
	addl	%edx, %eax
	sarl	%eax
	movl	%eax, %edx
	leaq	-128(%rbp), %rax
	movl	%edx, %esi
	movq	%rax, %rdi
	call	is_palindrome
	addl	%eax, %ebx
	movl	-132(%rbp), %eax
	subl	$1, %eax
	movl	%eax, %edx
	shrl	$31, %edx
	addl	%edx, %eax
	sarl	%eax
	movl	%eax, %edx
	movl	-132(%rbp), %eax
	addl	$1, %eax
	movl	%eax, %ecx
	shrl	$31, %ecx
	addl	%ecx, %eax
	sarl	%eax
	leaq	-128(%rbp), %rcx
	cltq
	addq	%rcx, %rax
	movl	%edx, %esi
	movq	%rax, %rdi
	call	is_palindrome
	addl	%ebx, %eax
	cmpl	$3, %eax
	jne	.L12
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	jmp	.L13
.L12:
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
.L13:
	movq	stdout(%rip), %rax
	movq	%rax, %rdi
	call	fflush@PLT
	movl	$0, %eax
	movq	-24(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L15
	call	__stack_chk_fail@PLT
.L15:
	movq	-8(%rbp), %rbx
	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	is_palindrome
	.type	is_palindrome, @function
is_palindrome:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	movq	%rdi, -24(%rbp)
	movl	%esi, -28(%rbp)
	movl	$0, -4(%rbp)
	jmp	.L2
.L5:
	movl	-4(%rbp), %eax
	movslq	%eax, %rdx
	movq	-24(%rbp), %rax
	addq	%rdx, %rax
	movzbl	(%rax), %edx
	movl	-28(%rbp), %eax
	subl	$1, %eax
	subl	-4(%rbp), %eax
	movslq	%eax, %rcx
	movq	-24(%rbp), %rax
	addq	%rcx, %rax
	movzbl	(%rax), %eax
	cmpb	%al, %dl
	jne	.L8
	addl	$1, -4(%rbp)
.L2:
	movl	-28(%rbp), %eax
	movl	%eax, %edx
	shrl	$31, %edx
	addl	%edx, %eax
	sarl	%eax
	cmpl	%eax, -4(%rbp)
	jl	.L5
	jmp	.L4
.L8:
	nop
.L4:
	movl	-28(%rbp), %eax
	movl	%eax, %edx
	shrl	$31, %edx
	addl	%edx, %eax
	sarl	%eax
	cmpl	%eax, -4(%rbp)
	jge	.L6
	movl	$0, %eax
	jmp	.L7
.L6:
	movl	$1, %eax
.L7:
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	is_palindrome, .-is_palindrome
	.section	.rodata
.LC0:
	.string	"%s"
.LC1:
	.string	"Yes"
.LC2:
	.string	"No"
	.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
	pushq	%rbx
	subq	$136, %rsp
	.cfi_offset 3, -24
	movq	%fs:40, %rax
	movq	%rax, -24(%rbp)
	xorl	%eax, %eax
	leaq	-128(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -132(%rbp)
	jmp	.L10
.L11:
	addl	$1, -132(%rbp)
.L10:
	movl	-132(%rbp), %eax
	cltq
	movzbl	-128(%rbp,%rax), %eax
	testb	%al, %al
	jne	.L11
	movl	-132(%rbp), %edx
	leaq	-128(%rbp), %rax
	movl	%edx, %esi
	movq	%rax, %rdi
	call	is_palindrome
	movl	%eax, %ebx
	movl	-132(%rbp), %eax
	subl	$1, %eax
	movl	%eax, %edx
	shrl	$31, %edx
	addl	%edx, %eax
	sarl	%eax
	movl	%eax, %edx
	leaq	-128(%rbp), %rax
	movl	%edx, %esi
	movq	%rax, %rdi
	call	is_palindrome
	addl	%eax, %ebx
	movl	-132(%rbp), %eax
	subl	$1, %eax
	movl	%eax, %edx
	shrl	$31, %edx
	addl	%edx, %eax
	sarl	%eax
	movl	%eax, %edx
	movl	-132(%rbp), %eax
	addl	$1, %eax
	movl	%eax, %ecx
	shrl	$31, %ecx
	addl	%ecx, %eax
	sarl	%eax
	leaq	-128(%rbp), %rcx
	cltq
	addq	%rcx, %rax
	movl	%edx, %esi
	movq	%rax, %rdi
	call	is_palindrome
	addl	%ebx, %eax
	cmpl	$3, %eax
	jne	.L12
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	jmp	.L13
.L12:
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
.L13:
	movq	stdout(%rip), %rax
	movq	%rax, %rdi
	call	fflush@PLT
	movl	$0, %eax
	movq	-24(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L15
	call	__stack_chk_fail@PLT
.L15:
	movq	-8(%rbp), %rbx
	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:
