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>
#include <string.h>
#include <stdlib.h>
#include <stdbool.h>
#include <math.h>

int main(void){

    char w[128];

    scanf("%s", w);

    int c['z'-'a'+1] = {0};

    int len = strlen(w);

    for(int i = 0; i < len; i++){
        c[w[i]-'a']++;
    }

    int f = 0;

    for(int i = 0; i < 'z'-'a'+1; i++){
        if(c[i] % 2 == 1){
            f = 1;
            break;
        }
    }

    if(f == 0){
        printf("Yes\n");
    }else{
        printf("No\n");
    }

    return 0;
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%s"
.LC1:
	.string	"Yes"
.LC2:
	.string	"No"
	.text
	.globl	main
	.type	main, @function
main:
.LFB6:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$272, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-144(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	leaq	-256(%rbp), %rdx
	movl	$0, %eax
	movl	$13, %ecx
	movq	%rdx, %rdi
	rep stosq
	leaq	-144(%rbp), %rax
	movq	%rax, %rdi
	call	strlen@PLT
	movl	%eax, -260(%rbp)
	movl	$0, -272(%rbp)
	jmp	.L2
.L3:
	movl	-272(%rbp), %eax
	cltq
	movzbl	-144(%rbp,%rax), %eax
	movsbl	%al, %eax
	subl	$97, %eax
	movslq	%eax, %rdx
	movl	-256(%rbp,%rdx,4), %edx
	addl	$1, %edx
	cltq
	movl	%edx, -256(%rbp,%rax,4)
	addl	$1, -272(%rbp)
.L2:
	movl	-272(%rbp), %eax
	cmpl	-260(%rbp), %eax
	jl	.L3
	movl	$0, -268(%rbp)
	movl	$0, -264(%rbp)
	jmp	.L4
.L7:
	movl	-264(%rbp), %eax
	cltq
	movl	-256(%rbp,%rax,4), %eax
	cltd
	shrl	$31, %edx
	addl	%edx, %eax
	andl	$1, %eax
	subl	%edx, %eax
	cmpl	$1, %eax
	jne	.L5
	movl	$1, -268(%rbp)
	jmp	.L6
.L5:
	addl	$1, -264(%rbp)
.L4:
	cmpl	$25, -264(%rbp)
	jle	.L7
.L6:
	cmpl	$0, -268(%rbp)
	jne	.L8
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	jmp	.L9
.L8:
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
.L9:
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L11
	call	__stack_chk_fail@PLT
.L11:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.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
	.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:
.LFB51:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	leaq	.LC0(%rip), %rdi
	pushq	%rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	subq	$264, %rsp
	.cfi_def_cfa_offset 288
	movq	%fs:40, %rax
	movq	%rax, 248(%rsp)
	xorl	%eax, %eax
	leaq	112(%rsp), %rbp
	movq	%rsp, %rbx
	movq	%rbp, %rsi
	call	__isoc99_scanf@PLT
	xorl	%eax, %eax
	movl	$13, %ecx
	movq	%rbx, %rdi
	rep stosq
	movq	%rbp, %rdi
	call	strlen@PLT
	testq	%rax, %rax
	je	.L2
	subl	$1, %eax
	movq	%rbp, %rdx
	leaq	113(%rsp,%rax), %rcx
	.p2align 4,,10
	.p2align 3
.L3:
	movsbl	(%rdx), %eax
	addq	$1, %rdx
	subl	$97, %eax
	cltq
	addl	$1, (%rsp,%rax,4)
	cmpq	%rcx, %rdx
	jne	.L3
.L2:
	movq	%rbx, %rdi
	leaq	104(%rsp), %rcx
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L19:
	addq	$4, %rdi
	cmpq	%rdi, %rcx
	je	.L18
.L5:
	movl	(%rdi), %eax
	movl	%eax, %edx
	shrl	$31, %edx
	addl	%edx, %eax
	andl	$1, %eax
	subl	%edx, %eax
	cmpl	$1, %eax
	jne	.L19
	leaq	.LC2(%rip), %rdi
	call	puts@PLT
.L7:
	movq	248(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L20
	addq	$264, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 16
	popq	%rbp
	.cfi_def_cfa_offset 8
	ret
.L18:
	.cfi_restore_state
	leaq	.LC1(%rip), %rdi
	call	puts@PLT
	jmp	.L7
.L20:
	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
	.file	"temp.c"
	.text
	.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:
.LFB51:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	leaq	.LC0(%rip), %rdi
	pushq	%rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	subq	$264, %rsp
	.cfi_def_cfa_offset 288
	movq	%fs:40, %rax
	movq	%rax, 248(%rsp)
	xorl	%eax, %eax
	leaq	112(%rsp), %rbp
	movq	%rsp, %rbx
	movq	%rbp, %rsi
	call	__isoc99_scanf@PLT
	xorl	%eax, %eax
	movl	$13, %ecx
	movq	%rbx, %rdi
	rep stosq
	movq	%rbp, %rdi
	call	strlen@PLT
	testq	%rax, %rax
	je	.L2
	subl	$1, %eax
	movq	%rbp, %rdx
	leaq	113(%rsp,%rax), %rcx
	.p2align 4,,10
	.p2align 3
.L3:
	movsbl	(%rdx), %eax
	addq	$1, %rdx
	subl	$97, %eax
	cltq
	addl	$1, (%rsp,%rax,4)
	cmpq	%rcx, %rdx
	jne	.L3
.L2:
	movq	%rbx, %rdi
	leaq	104(%rsp), %rcx
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L19:
	addq	$4, %rdi
	cmpq	%rdi, %rcx
	je	.L18
.L5:
	movl	(%rdi), %eax
	movl	%eax, %edx
	shrl	$31, %edx
	addl	%edx, %eax
	andl	$1, %eax
	subl	%edx, %eax
	cmpl	$1, %eax
	jne	.L19
	leaq	.LC2(%rip), %rdi
	call	puts@PLT
.L7:
	movq	248(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L20
	addq	$264, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 16
	popq	%rbp
	.cfi_def_cfa_offset 8
	ret
.L18:
	.cfi_restore_state
	leaq	.LC1(%rip), %rdi
	call	puts@PLT
	jmp	.L7
.L20:
	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:

#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <stdbool.h>
#include <math.h>

int main(void){

    char w[128];

    scanf("%s", w);

    int c['z'-'a'+1] = {0};

    int len = strlen(w);

    for(int i = 0; i < len; i++){
        c[w[i]-'a']++;
    }

    int f = 0;

    for(int i = 0; i < 'z'-'a'+1; i++){
        if(c[i] % 2 == 1){
            f = 1;
            break;
        }
    }

    if(f == 0){
        printf("Yes\n");
    }else{
        printf("No\n");
    }

    return 0;
}
ab`ccaba
 ab`cc`ba
 hthtg
 hghtt
 `b`cc`ba
 hgtth
 ab`cc`b`
 hgtuh
 `b`cc`ca
 hgsth

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>
#include <string.h>
#include <stdlib.h>
#include <stdbool.h>
#include <math.h>

int main(void){

    char w[128];

    scanf("%s", w);

    int c['z'-'a'+1] = {0};

    int len = strlen(w);

    for(int i = 0; i < len; i++){
        c[w[i]-'a']++;
    }

    int f = 0;

    for(int i = 0; i < 'z'-'a'+1; i++){
        if(c[i] % 2 == 1){
            f = 1;
            break;
        }
    }

    if(f == 0){
        printf("Yes\n");
    }else{
        printf("No\n");
    }

    return 0;
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%s"
.LC1:
	.string	"Yes"
.LC2:
	.string	"No"
	.text
	.globl	main
	.type	main, @function
main:
.LFB6:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$272, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-144(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	leaq	-256(%rbp), %rdx
	movl	$0, %eax
	movl	$13, %ecx
	movq	%rdx, %rdi
	rep stosq
	leaq	-144(%rbp), %rax
	movq	%rax, %rdi
	call	strlen@PLT
	movl	%eax, -260(%rbp)
	movl	$0, -272(%rbp)
	jmp	.L2
.L3:
	movl	-272(%rbp), %eax
	cltq
	movzbl	-144(%rbp,%rax), %eax
	movsbl	%al, %eax
	subl	$97, %eax
	movslq	%eax, %rdx
	movl	-256(%rbp,%rdx,4), %edx
	addl	$1, %edx
	cltq
	movl	%edx, -256(%rbp,%rax,4)
	addl	$1, -272(%rbp)
.L2:
	movl	-272(%rbp), %eax
	cmpl	-260(%rbp), %eax
	jl	.L3
	movl	$0, -268(%rbp)
	movl	$0, -264(%rbp)
	jmp	.L4
.L7:
	movl	-264(%rbp), %eax
	cltq
	movl	-256(%rbp,%rax,4), %eax
	cltd
	shrl	$31, %edx
	addl	%edx, %eax
	andl	$1, %eax
	subl	%edx, %eax
	cmpl	$1, %eax
	jne	.L5
	movl	$1, -268(%rbp)
	jmp	.L6
.L5:
	addl	$1, -264(%rbp)
.L4:
	cmpl	$25, -264(%rbp)
	jle	.L7
.L6:
	cmpl	$0, -268(%rbp)
	jne	.L8
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	jmp	.L9
.L8:
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
.L9:
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L11
	call	__stack_chk_fail@PLT
.L11:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.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
	.section	.rodata
.LC0:
	.string	"%s"
.LC1:
	.string	"Yes"
.LC2:
	.string	"No"
	.text
	.globl	main
	.type	main, @function
main:
.LFB6:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$272, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-144(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	leaq	-256(%rbp), %rdx
	movl	$0, %eax
	movl	$13, %ecx
	movq	%rdx, %rdi
	rep stosq
	leaq	-144(%rbp), %rax
	movq	%rax, %rdi
	call	strlen@PLT
	movl	%eax, -260(%rbp)
	movl	$0, -272(%rbp)
	jmp	.L2
.L3:
	movl	-272(%rbp), %eax
	cltq
	movzbl	-144(%rbp,%rax), %eax
	movsbl	%al, %eax
	subl	$97, %eax
	movslq	%eax, %rdx
	movl	-256(%rbp,%rdx,4), %edx
	addl	$1, %edx
	cltq
	movl	%edx, -256(%rbp,%rax,4)
	addl	$1, -272(%rbp)
.L2:
	movl	-272(%rbp), %eax
	cmpl	-260(%rbp), %eax
	jl	.L3
	movl	$0, -268(%rbp)
	movl	$0, -264(%rbp)
	jmp	.L4
.L7:
	movl	-264(%rbp), %eax
	cltq
	movl	-256(%rbp,%rax,4), %eax
	cltd
	shrl	$31, %edx
	addl	%edx, %eax
	andl	$1, %eax
	subl	%edx, %eax
	cmpl	$1, %eax
	jne	.L5
	movl	$1, -268(%rbp)
	jmp	.L6
.L5:
	addl	$1, -264(%rbp)
.L4:
	cmpl	$25, -264(%rbp)
	jle	.L7
.L6:
	cmpl	$0, -268(%rbp)
	jne	.L8
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	jmp	.L9
.L8:
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
.L9:
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L11
	call	__stack_chk_fail@PLT
.L11:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.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:
