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 <stdlib.h>

int main()
{
	int i, H, W;
	char a[101][101];
	scanf("%d %d", &H, &W);
	for (i = 1; i <= H; i++) scanf("%s", &(a[i][1]));

	int j, count[26] = {};
	for (i = 1; i <= H; i++) {
		for (j = 1; j <= W; j++) count[a[i][j] - 'a']++;
	}
	
	int flag = 1;
	if (H % 2 == 0 && W % 2 == 0) {
		for (i = 0; i < 26; i++) if (count[i] % 4 != 0) break;
		if (i < 26) flag = 0;
	} else if (H % 2 == 0) {
		for (i = 0, j = 0; i < 26; i++) {
			if (count[i] % 2 != 0) break;
			else if (count[i] % 4 != 0) j++;
		}
		if (i < 26 || j > H / 2) flag = 0;
	} else if (W % 2 == 0) {
		for (i = 0, j = 0; i < 26; i++) {
			if (count[i] % 2 != 0) break;
			else if (count[i] % 4 != 0) j++;
		}
		if (i < 26 || j > W / 2) flag = 0;
	} else {
		for (i = 0, j = 0, flag = 0; i < 26; i++) {
			if (count[i] % 2 == 1) {
				if (flag == 1) break;
				flag = 1;
				if (count[i] % 4 == 3) j++;
			} else if (count[i] % 4 != 0) j++;
		}
		if (i < 26 || j > (H + W) / 2 - 1) flag = 0;
	}

	if (flag != 0) printf("Yes\n");
	else printf("No\n");
	fflush(stdout);
	return 0;
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%d %d"
.LC1:
	.string	"%s"
.LC2:
	.string	"Yes"
.LC3:
	.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	$4096, %rsp
	orq	$0, (%rsp)
	subq	$4096, %rsp
	orq	$0, (%rsp)
	subq	$2176, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-10352(%rbp), %rdx
	leaq	-10356(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$1, -10348(%rbp)
	jmp	.L2
.L3:
	leaq	-10224(%rbp), %rcx
	movl	-10348(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rsi
	addq	%rsi, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	$1, %rax
	addq	%rcx, %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addl	$1, -10348(%rbp)
.L2:
	movl	-10356(%rbp), %eax
	cmpl	%eax, -10348(%rbp)
	jle	.L3
	leaq	-10336(%rbp), %rdx
	movl	$0, %eax
	movl	$13, %ecx
	movq	%rdx, %rdi
	rep stosq
	movl	$1, -10348(%rbp)
	jmp	.L4
.L7:
	movl	$1, -10344(%rbp)
	jmp	.L5
.L6:
	movl	-10344(%rbp), %eax
	movslq	%eax, %rcx
	movl	-10348(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rsi
	addq	%rsi, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rbp, %rax
	addq	%rcx, %rax
	subq	$10224, %rax
	movzbl	(%rax), %eax
	movsbl	%al, %eax
	subl	$97, %eax
	movslq	%eax, %rdx
	movl	-10336(%rbp,%rdx,4), %edx
	addl	$1, %edx
	cltq
	movl	%edx, -10336(%rbp,%rax,4)
	addl	$1, -10344(%rbp)
.L5:
	movl	-10352(%rbp), %eax
	cmpl	%eax, -10344(%rbp)
	jle	.L6
	addl	$1, -10348(%rbp)
.L4:
	movl	-10356(%rbp), %eax
	cmpl	%eax, -10348(%rbp)
	jle	.L7
	movl	$1, -10340(%rbp)
	movl	-10356(%rbp), %eax
	andl	$1, %eax
	testl	%eax, %eax
	jne	.L8
	movl	-10352(%rbp), %eax
	andl	$1, %eax
	testl	%eax, %eax
	jne	.L8
	movl	$0, -10348(%rbp)
	jmp	.L9
.L12:
	movl	-10348(%rbp), %eax
	cltq
	movl	-10336(%rbp,%rax,4), %eax
	andl	$3, %eax
	testl	%eax, %eax
	jne	.L40
	addl	$1, -10348(%rbp)
.L9:
	cmpl	$25, -10348(%rbp)
	jle	.L12
	jmp	.L11
.L40:
	nop
.L11:
	cmpl	$25, -10348(%rbp)
	jg	.L14
	movl	$0, -10340(%rbp)
	jmp	.L14
.L8:
	movl	-10356(%rbp), %eax
	andl	$1, %eax
	testl	%eax, %eax
	jne	.L15
	movl	$0, -10348(%rbp)
	movl	$0, -10344(%rbp)
	jmp	.L16
.L20:
	movl	-10348(%rbp), %eax
	cltq
	movl	-10336(%rbp,%rax,4), %eax
	andl	$1, %eax
	testl	%eax, %eax
	jne	.L41
	movl	-10348(%rbp), %eax
	cltq
	movl	-10336(%rbp,%rax,4), %eax
	andl	$3, %eax
	testl	%eax, %eax
	je	.L19
	addl	$1, -10344(%rbp)
.L19:
	addl	$1, -10348(%rbp)
.L16:
	cmpl	$25, -10348(%rbp)
	jle	.L20
	jmp	.L18
.L41:
	nop
.L18:
	cmpl	$25, -10348(%rbp)
	jle	.L21
	movl	-10356(%rbp), %eax
	movl	%eax, %edx
	shrl	$31, %edx
	addl	%edx, %eax
	sarl	%eax
	cmpl	%eax, -10344(%rbp)
	jle	.L14
.L21:
	movl	$0, -10340(%rbp)
	jmp	.L14
.L15:
	movl	-10352(%rbp), %eax
	andl	$1, %eax
	testl	%eax, %eax
	jne	.L22
	movl	$0, -10348(%rbp)
	movl	$0, -10344(%rbp)
	jmp	.L23
.L27:
	movl	-10348(%rbp), %eax
	cltq
	movl	-10336(%rbp,%rax,4), %eax
	andl	$1, %eax
	testl	%eax, %eax
	jne	.L42
	movl	-10348(%rbp), %eax
	cltq
	movl	-10336(%rbp,%rax,4), %eax
	andl	$3, %eax
	testl	%eax, %eax
	je	.L26
	addl	$1, -10344(%rbp)
.L26:
	addl	$1, -10348(%rbp)
.L23:
	cmpl	$25, -10348(%rbp)
	jle	.L27
	jmp	.L25
.L42:
	nop
.L25:
	cmpl	$25, -10348(%rbp)
	jle	.L28
	movl	-10352(%rbp), %eax
	movl	%eax, %edx
	shrl	$31, %edx
	addl	%edx, %eax
	sarl	%eax
	cmpl	%eax, -10344(%rbp)
	jle	.L14
.L28:
	movl	$0, -10340(%rbp)
	jmp	.L14
.L22:
	movl	$0, -10348(%rbp)
	movl	$0, -10344(%rbp)
	movl	$0, -10340(%rbp)
	jmp	.L29
.L34:
	movl	-10348(%rbp), %eax
	cltq
	movl	-10336(%rbp,%rax,4), %eax
	cltd
	shrl	$31, %edx
	addl	%edx, %eax
	andl	$1, %eax
	subl	%edx, %eax
	cmpl	$1, %eax
	jne	.L30
	cmpl	$1, -10340(%rbp)
	je	.L43
	movl	$1, -10340(%rbp)
	movl	-10348(%rbp), %eax
	cltq
	movl	-10336(%rbp,%rax,4), %eax
	cltd
	shrl	$30, %edx
	addl	%edx, %eax
	andl	$3, %eax
	subl	%edx, %eax
	cmpl	$3, %eax
	jne	.L33
	addl	$1, -10344(%rbp)
	jmp	.L33
.L30:
	movl	-10348(%rbp), %eax
	cltq
	movl	-10336(%rbp,%rax,4), %eax
	andl	$3, %eax
	testl	%eax, %eax
	je	.L33
	addl	$1, -10344(%rbp)
.L33:
	addl	$1, -10348(%rbp)
.L29:
	cmpl	$25, -10348(%rbp)
	jle	.L34
	jmp	.L32
.L43:
	nop
.L32:
	cmpl	$25, -10348(%rbp)
	jle	.L35
	movl	-10356(%rbp), %edx
	movl	-10352(%rbp), %eax
	addl	%edx, %eax
	movl	%eax, %edx
	shrl	$31, %edx
	addl	%edx, %eax
	sarl	%eax
	cmpl	%eax, -10344(%rbp)
	jl	.L14
.L35:
	movl	$0, -10340(%rbp)
.L14:
	cmpl	$0, -10340(%rbp)
	je	.L36
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	jmp	.L37
.L36:
	leaq	.LC3(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
.L37:
	movq	stdout(%rip), %rax
	movq	%rax, %rdi
	call	fflush@PLT
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L39
	call	__stack_chk_fail@PLT
.L39:
	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	"%d %d"
.LC1:
	.string	"%s"
.LC2:
	.string	"Yes"
.LC3:
	.string	"No"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB39:
	.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
	pushq	%rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	subq	$4096, %rsp
	.cfi_def_cfa_offset 4128
	orq	$0, (%rsp)
	subq	$4096, %rsp
	.cfi_def_cfa_offset 8224
	orq	$0, (%rsp)
	subq	$2160, %rsp
	.cfi_def_cfa_offset 10384
	leaq	.LC0(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, 10344(%rsp)
	xorl	%eax, %eax
	leaq	12(%rsp), %rdx
	leaq	8(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movl	8(%rsp), %r8d
	testl	%r8d, %r8d
	jle	.L2
	leaq	230(%rsp), %rbp
	movl	$1, %ebx
	leaq	.LC1(%rip), %r12
	.p2align 4,,10
	.p2align 3
.L3:
	movq	%rbp, %rsi
	movq	%r12, %rdi
	xorl	%eax, %eax
	addl	$1, %ebx
	call	__isoc99_scanf@PLT
	movl	8(%rsp), %r8d
	addq	$101, %rbp
	cmpl	%ebx, %r8d
	jge	.L3
	leaq	16(%rsp), %r10
	xorl	%eax, %eax
	movl	$13, %ecx
	movq	%r10, %rdi
	rep stosq
	movl	12(%rsp), %eax
	testl	%r8d, %r8d
	jle	.L4
	testl	%eax, %eax
	jle	.L4
	leal	-1(%r8), %edx
	leal	-1(%rax), %r9d
	leaq	(%rdx,%rdx,4), %rcx
	leaq	332(%rsp,%r9), %rdi
	leaq	(%rcx,%rcx,4), %rcx
	leaq	231(%rsp,%r9), %rsi
	leaq	(%rdx,%rcx,4), %rdx
	addq	%rdx, %rdi
	.p2align 4,,10
	.p2align 3
.L6:
	movq	%rsi, %rcx
	subq	%r9, %rcx
	subq	$1, %rcx
	.p2align 4,,10
	.p2align 3
.L7:
	movsbl	(%rcx), %edx
	addq	$1, %rcx
	subl	$97, %edx
	movslq	%edx, %rdx
	addl	$1, 16(%rsp,%rdx,4)
	cmpq	%rcx, %rsi
	jne	.L7
	addq	$101, %rsi
	cmpq	%rdi, %rsi
	jne	.L6
.L4:
	movl	%eax, %edx
	andl	$1, %edx
	testb	$1, %r8b
	je	.L53
	testl	%edx, %edx
	je	.L54
	movq	%r10, %rsi
	leaq	120(%rsp), %r11
	xorl	%r10d, %r10d
	xorl	%r9d, %r9d
	jmp	.L22
	.p2align 4,,10
	.p2align 3
.L20:
	andl	$3, %edx
	cmpl	$1, %edx
	sbbl	$-1, %r9d
	addq	$4, %rsi
	cmpq	%rsi, %r11
	je	.L55
.L22:
	movl	(%rsi), %edx
	movl	%edx, %edi
	shrl	$31, %edi
	leal	(%rdx,%rdi), %ecx
	andl	$1, %ecx
	subl	%edi, %ecx
	cmpl	$1, %ecx
	jne	.L20
	cmpl	$1, %r10d
	je	.L10
	andl	$3, %edx
	movl	$1, %r10d
	cmpl	$3, %edx
	sete	%dl
	addq	$4, %rsi
	movzbl	%dl, %edx
	addl	%edx, %r9d
	cmpq	%rsi, %r11
	jne	.L22
.L55:
	addl	%r8d, %eax
	movl	$2, %ecx
	cltd
	idivl	%ecx
	cmpl	%r9d, %eax
	jle	.L10
	testl	%r10d, %r10d
	jne	.L12
.L10:
	leaq	.LC3(%rip), %rdi
	call	puts@PLT
.L24:
	movq	stdout(%rip), %rdi
	call	fflush@PLT
	movq	10344(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L56
	addq	$10352, %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
.L53:
	.cfi_restore_state
	testl	%edx, %edx
	movq	%r10, %rdx
	jne	.L9
	leaq	120(%rsp), %rax
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L57:
	addq	$4, %rdx
	cmpq	%rdx, %rax
	je	.L12
.L11:
	testb	$3, (%rdx)
	je	.L57
	jmp	.L10
.L9:
	leaq	120(%rsp), %rsi
	xorl	%ecx, %ecx
	jmp	.L14
	.p2align 4,,10
	.p2align 3
.L59:
	andl	$3, %eax
	cmpl	$1, %eax
	sbbl	$-1, %ecx
	addq	$4, %rdx
	cmpq	%rdx, %rsi
	je	.L58
.L14:
	movl	(%rdx), %eax
	testb	$1, %al
	je	.L59
	jmp	.L10
.L54:
	movq	%r10, %rdx
	leaq	120(%rsp), %rdi
	xorl	%esi, %esi
	jmp	.L18
	.p2align 4,,10
	.p2align 3
.L61:
	andl	$3, %ecx
	cmpl	$1, %ecx
	sbbl	$-1, %esi
	addq	$4, %rdx
	cmpq	%rdx, %rdi
	je	.L60
.L18:
	movl	(%rdx), %ecx
	testb	$1, %cl
	je	.L61
	jmp	.L10
.L58:
	movl	%r8d, %eax
	movl	$2, %esi
	cltd
	idivl	%esi
	cmpl	%ecx, %eax
	jl	.L10
.L12:
	leaq	.LC2(%rip), %rdi
	call	puts@PLT
	jmp	.L24
.L2:
	leaq	16(%rsp), %r10
	xorl	%eax, %eax
	movl	$26, %ecx
	movq	%r10, %rdi
	rep stosl
	movl	12(%rsp), %eax
	jmp	.L4
.L60:
	movl	$2, %ecx
	cltd
	idivl	%ecx
	cmpl	%esi, %eax
	jl	.L10
	jmp	.L12
.L56:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE39:
	.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	"%d %d"
.LC1:
	.string	"%s"
.LC2:
	.string	"Yes"
.LC3:
	.string	"No"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB39:
	.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
	pushq	%rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	subq	$4096, %rsp
	.cfi_def_cfa_offset 4128
	orq	$0, (%rsp)
	subq	$4096, %rsp
	.cfi_def_cfa_offset 8224
	orq	$0, (%rsp)
	subq	$2160, %rsp
	.cfi_def_cfa_offset 10384
	leaq	.LC0(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, 10344(%rsp)
	xorl	%eax, %eax
	leaq	12(%rsp), %rdx
	leaq	8(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movl	8(%rsp), %r8d
	testl	%r8d, %r8d
	jle	.L2
	leaq	230(%rsp), %rbp
	movl	$1, %ebx
	leaq	.LC1(%rip), %r12
	.p2align 4,,10
	.p2align 3
.L3:
	movq	%rbp, %rsi
	movq	%r12, %rdi
	xorl	%eax, %eax
	addl	$1, %ebx
	call	__isoc99_scanf@PLT
	movl	8(%rsp), %r8d
	addq	$101, %rbp
	cmpl	%ebx, %r8d
	jge	.L3
	leaq	16(%rsp), %r10
	xorl	%eax, %eax
	movl	$13, %ecx
	movq	%r10, %rdi
	rep stosq
	movl	12(%rsp), %eax
	testl	%r8d, %r8d
	jle	.L4
	testl	%eax, %eax
	jle	.L4
	leal	-1(%r8), %edx
	leal	-1(%rax), %r9d
	leaq	(%rdx,%rdx,4), %rcx
	leaq	332(%rsp,%r9), %rdi
	leaq	(%rcx,%rcx,4), %rcx
	leaq	231(%rsp,%r9), %rsi
	leaq	(%rdx,%rcx,4), %rdx
	addq	%rdx, %rdi
	.p2align 4,,10
	.p2align 3
.L6:
	movq	%rsi, %rcx
	subq	%r9, %rcx
	subq	$1, %rcx
	.p2align 4,,10
	.p2align 3
.L7:
	movsbl	(%rcx), %edx
	addq	$1, %rcx
	subl	$97, %edx
	movslq	%edx, %rdx
	addl	$1, 16(%rsp,%rdx,4)
	cmpq	%rcx, %rsi
	jne	.L7
	addq	$101, %rsi
	cmpq	%rdi, %rsi
	jne	.L6
.L4:
	movl	%eax, %edx
	andl	$1, %edx
	testb	$1, %r8b
	je	.L53
	testl	%edx, %edx
	je	.L54
	movq	%r10, %rsi
	leaq	120(%rsp), %r11
	xorl	%r10d, %r10d
	xorl	%r9d, %r9d
	jmp	.L22
	.p2align 4,,10
	.p2align 3
.L20:
	andl	$3, %edx
	cmpl	$1, %edx
	sbbl	$-1, %r9d
	addq	$4, %rsi
	cmpq	%rsi, %r11
	je	.L55
.L22:
	movl	(%rsi), %edx
	movl	%edx, %edi
	shrl	$31, %edi
	leal	(%rdx,%rdi), %ecx
	andl	$1, %ecx
	subl	%edi, %ecx
	cmpl	$1, %ecx
	jne	.L20
	cmpl	$1, %r10d
	je	.L10
	andl	$3, %edx
	movl	$1, %r10d
	cmpl	$3, %edx
	sete	%dl
	addq	$4, %rsi
	movzbl	%dl, %edx
	addl	%edx, %r9d
	cmpq	%rsi, %r11
	jne	.L22
.L55:
	addl	%r8d, %eax
	movl	$2, %ecx
	cltd
	idivl	%ecx
	cmpl	%r9d, %eax
	jle	.L10
	testl	%r10d, %r10d
	jne	.L12
.L10:
	leaq	.LC3(%rip), %rdi
	call	puts@PLT
.L24:
	movq	stdout(%rip), %rdi
	call	fflush@PLT
	movq	10344(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L56
	addq	$10352, %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
.L53:
	.cfi_restore_state
	testl	%edx, %edx
	movq	%r10, %rdx
	jne	.L9
	leaq	120(%rsp), %rax
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L57:
	addq	$4, %rdx
	cmpq	%rdx, %rax
	je	.L12
.L11:
	testb	$3, (%rdx)
	je	.L57
	jmp	.L10
.L9:
	leaq	120(%rsp), %rsi
	xorl	%ecx, %ecx
	jmp	.L14
	.p2align 4,,10
	.p2align 3
.L59:
	andl	$3, %eax
	cmpl	$1, %eax
	sbbl	$-1, %ecx
	addq	$4, %rdx
	cmpq	%rdx, %rsi
	je	.L58
.L14:
	movl	(%rdx), %eax
	testb	$1, %al
	je	.L59
	jmp	.L10
.L54:
	movq	%r10, %rdx
	leaq	120(%rsp), %rdi
	xorl	%esi, %esi
	jmp	.L18
	.p2align 4,,10
	.p2align 3
.L61:
	andl	$3, %ecx
	cmpl	$1, %ecx
	sbbl	$-1, %esi
	addq	$4, %rdx
	cmpq	%rdx, %rdi
	je	.L60
.L18:
	movl	(%rdx), %ecx
	testb	$1, %cl
	je	.L61
	jmp	.L10
.L58:
	movl	%r8d, %eax
	movl	$2, %esi
	cltd
	idivl	%esi
	cmpl	%ecx, %eax
	jl	.L10
.L12:
	leaq	.LC2(%rip), %rdi
	call	puts@PLT
	jmp	.L24
.L2:
	leaq	16(%rsp), %r10
	xorl	%eax, %eax
	movl	$26, %ecx
	movq	%r10, %rdi
	rep stosl
	movl	12(%rsp), %eax
	jmp	.L4
.L60:
	movl	$2, %ecx
	cltd
	idivl	%ecx
	cmpl	%esi, %eax
	jl	.L10
	jmp	.L12
.L56:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE39:
	.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 <stdlib.h>

int main()
{
	int i, H, W;
	char a[101][101];
	scanf("%d %d", &H, &W);
	for (i = 1; i <= H; i++) scanf("%s", &(a[i][1]));

	int j, count[26] = {};
	for (i = 1; i <= H; i++) {
		for (j = 1; j <= W; j++) count[a[i][j] - 'a']++;
	}
	
	int flag = 1;
	if (H % 2 == 0 && W % 2 == 0) {
		for (i = 0; i < 26; i++) if (count[i] % 4 != 0) break;
		if (i < 26) flag = 0;
	} else if (H % 2 == 0) {
		for (i = 0, j = 0; i < 26; i++) {
			if (count[i] % 2 != 0) break;
			else if (count[i] % 4 != 0) j++;
		}
		if (i < 26 || j > H / 2) flag = 0;
	} else if (W % 2 == 0) {
		for (i = 0, j = 0; i < 26; i++) {
			if (count[i] % 2 != 0) break;
			else if (count[i] % 4 != 0) j++;
		}
		if (i < 26 || j > W / 2) flag = 0;
	} else {
		for (i = 0, j = 0, flag = 0; i < 26; i++) {
			if (count[i] % 2 == 1) {
				if (flag == 1) break;
				flag = 1;
				if (count[i] % 4 == 3) j++;
			} else if (count[i] % 4 != 0) j++;
		}
		if (i < 26 || j > (H + W) / 2 - 1) flag = 0;
	}

	if (flag != 0) printf("Yes\n");
	else printf("No\n");
	fflush(stdout);
	return 0;
}
2 5
abxab
abyba
 1 1
y
 5 1
u
w
e
e
t
 2 2
ba
bb
 2 5
baxba
abyba
 5 1
u
w
e
e
s
 2 5
baxba
acyba
 2 2
ab
bb
 0 5
baxba
abyba
 2 5
abxab
acyba

No
 Yes
 No
 No
 No
 No
 No
 No
 Yes
 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 <stdlib.h>

int main()
{
	int i, H, W;
	char a[101][101];
	scanf("%d %d", &H, &W);
	for (i = 1; i <= H; i++) scanf("%s", &(a[i][1]));

	int j, count[26] = {};
	for (i = 1; i <= H; i++) {
		for (j = 1; j <= W; j++) count[a[i][j] - 'a']++;
	}
	
	int flag = 1;
	if (H % 2 == 0 && W % 2 == 0) {
		for (i = 0; i < 26; i++) if (count[i] % 4 != 0) break;
		if (i < 26) flag = 0;
	} else if (H % 2 == 0) {
		for (i = 0, j = 0; i < 26; i++) {
			if (count[i] % 2 != 0) break;
			else if (count[i] % 4 != 0) j++;
		}
		if (i < 26 || j > H / 2) flag = 0;
	} else if (W % 2 == 0) {
		for (i = 0, j = 0; i < 26; i++) {
			if (count[i] % 2 != 0) break;
			else if (count[i] % 4 != 0) j++;
		}
		if (i < 26 || j > W / 2) flag = 0;
	} else {
		for (i = 0, j = 0, flag = 0; i < 26; i++) {
			if (count[i] % 2 == 1) {
				if (flag == 1) break;
				flag = 1;
				if (count[i] % 4 == 3) j++;
			} else if (count[i] % 4 != 0) j++;
		}
		if (i < 26 || j > (H + W) / 2 - 1) flag = 0;
	}

	if (flag != 0) printf("Yes\n");
	else printf("No\n");
	fflush(stdout);
	return 0;
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%d %d"
.LC1:
	.string	"%s"
.LC2:
	.string	"Yes"
.LC3:
	.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	$4096, %rsp
	orq	$0, (%rsp)
	subq	$4096, %rsp
	orq	$0, (%rsp)
	subq	$2176, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-10352(%rbp), %rdx
	leaq	-10356(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$1, -10348(%rbp)
	jmp	.L2
.L3:
	leaq	-10224(%rbp), %rcx
	movl	-10348(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rsi
	addq	%rsi, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	$1, %rax
	addq	%rcx, %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addl	$1, -10348(%rbp)
.L2:
	movl	-10356(%rbp), %eax
	cmpl	%eax, -10348(%rbp)
	jle	.L3
	leaq	-10336(%rbp), %rdx
	movl	$0, %eax
	movl	$13, %ecx
	movq	%rdx, %rdi
	rep stosq
	movl	$1, -10348(%rbp)
	jmp	.L4
.L7:
	movl	$1, -10344(%rbp)
	jmp	.L5
.L6:
	movl	-10344(%rbp), %eax
	movslq	%eax, %rcx
	movl	-10348(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rsi
	addq	%rsi, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rbp, %rax
	addq	%rcx, %rax
	subq	$10224, %rax
	movzbl	(%rax), %eax
	movsbl	%al, %eax
	subl	$97, %eax
	movslq	%eax, %rdx
	movl	-10336(%rbp,%rdx,4), %edx
	addl	$1, %edx
	cltq
	movl	%edx, -10336(%rbp,%rax,4)
	addl	$1, -10344(%rbp)
.L5:
	movl	-10352(%rbp), %eax
	cmpl	%eax, -10344(%rbp)
	jle	.L6
	addl	$1, -10348(%rbp)
.L4:
	movl	-10356(%rbp), %eax
	cmpl	%eax, -10348(%rbp)
	jle	.L7
	movl	$1, -10340(%rbp)
	movl	-10356(%rbp), %eax
	andl	$1, %eax
	testl	%eax, %eax
	jne	.L8
	movl	-10352(%rbp), %eax
	andl	$1, %eax
	testl	%eax, %eax
	jne	.L8
	movl	$0, -10348(%rbp)
	jmp	.L9
.L12:
	movl	-10348(%rbp), %eax
	cltq
	movl	-10336(%rbp,%rax,4), %eax
	andl	$3, %eax
	testl	%eax, %eax
	jne	.L40
	addl	$1, -10348(%rbp)
.L9:
	cmpl	$25, -10348(%rbp)
	jle	.L12
	jmp	.L11
.L40:
	nop
.L11:
	cmpl	$25, -10348(%rbp)
	jg	.L14
	movl	$0, -10340(%rbp)
	jmp	.L14
.L8:
	movl	-10356(%rbp), %eax
	andl	$1, %eax
	testl	%eax, %eax
	jne	.L15
	movl	$0, -10348(%rbp)
	movl	$0, -10344(%rbp)
	jmp	.L16
.L20:
	movl	-10348(%rbp), %eax
	cltq
	movl	-10336(%rbp,%rax,4), %eax
	andl	$1, %eax
	testl	%eax, %eax
	jne	.L41
	movl	-10348(%rbp), %eax
	cltq
	movl	-10336(%rbp,%rax,4), %eax
	andl	$3, %eax
	testl	%eax, %eax
	je	.L19
	addl	$1, -10344(%rbp)
.L19:
	addl	$1, -10348(%rbp)
.L16:
	cmpl	$25, -10348(%rbp)
	jle	.L20
	jmp	.L18
.L41:
	nop
.L18:
	cmpl	$25, -10348(%rbp)
	jle	.L21
	movl	-10356(%rbp), %eax
	movl	%eax, %edx
	shrl	$31, %edx
	addl	%edx, %eax
	sarl	%eax
	cmpl	%eax, -10344(%rbp)
	jle	.L14
.L21:
	movl	$0, -10340(%rbp)
	jmp	.L14
.L15:
	movl	-10352(%rbp), %eax
	andl	$1, %eax
	testl	%eax, %eax
	jne	.L22
	movl	$0, -10348(%rbp)
	movl	$0, -10344(%rbp)
	jmp	.L23
.L27:
	movl	-10348(%rbp), %eax
	cltq
	movl	-10336(%rbp,%rax,4), %eax
	andl	$1, %eax
	testl	%eax, %eax
	jne	.L42
	movl	-10348(%rbp), %eax
	cltq
	movl	-10336(%rbp,%rax,4), %eax
	andl	$3, %eax
	testl	%eax, %eax
	je	.L26
	addl	$1, -10344(%rbp)
.L26:
	addl	$1, -10348(%rbp)
.L23:
	cmpl	$25, -10348(%rbp)
	jle	.L27
	jmp	.L25
.L42:
	nop
.L25:
	cmpl	$25, -10348(%rbp)
	jle	.L28
	movl	-10352(%rbp), %eax
	movl	%eax, %edx
	shrl	$31, %edx
	addl	%edx, %eax
	sarl	%eax
	cmpl	%eax, -10344(%rbp)
	jle	.L14
.L28:
	movl	$0, -10340(%rbp)
	jmp	.L14
.L22:
	movl	$0, -10348(%rbp)
	movl	$0, -10344(%rbp)
	movl	$0, -10340(%rbp)
	jmp	.L29
.L34:
	movl	-10348(%rbp), %eax
	cltq
	movl	-10336(%rbp,%rax,4), %eax
	cltd
	shrl	$31, %edx
	addl	%edx, %eax
	andl	$1, %eax
	subl	%edx, %eax
	cmpl	$1, %eax
	jne	.L30
	cmpl	$1, -10340(%rbp)
	je	.L43
	movl	$1, -10340(%rbp)
	movl	-10348(%rbp), %eax
	cltq
	movl	-10336(%rbp,%rax,4), %eax
	cltd
	shrl	$30, %edx
	addl	%edx, %eax
	andl	$3, %eax
	subl	%edx, %eax
	cmpl	$3, %eax
	jne	.L33
	addl	$1, -10344(%rbp)
	jmp	.L33
.L30:
	movl	-10348(%rbp), %eax
	cltq
	movl	-10336(%rbp,%rax,4), %eax
	andl	$3, %eax
	testl	%eax, %eax
	je	.L33
	addl	$1, -10344(%rbp)
.L33:
	addl	$1, -10348(%rbp)
.L29:
	cmpl	$25, -10348(%rbp)
	jle	.L34
	jmp	.L32
.L43:
	nop
.L32:
	cmpl	$25, -10348(%rbp)
	jle	.L35
	movl	-10356(%rbp), %edx
	movl	-10352(%rbp), %eax
	addl	%edx, %eax
	movl	%eax, %edx
	shrl	$31, %edx
	addl	%edx, %eax
	sarl	%eax
	cmpl	%eax, -10344(%rbp)
	jl	.L14
.L35:
	movl	$0, -10340(%rbp)
.L14:
	cmpl	$0, -10340(%rbp)
	je	.L36
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	jmp	.L37
.L36:
	leaq	.LC3(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
.L37:
	movq	stdout(%rip), %rax
	movq	%rax, %rdi
	call	fflush@PLT
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L39
	call	__stack_chk_fail@PLT
.L39:
	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	"%d %d"
.LC1:
	.string	"%s"
.LC2:
	.string	"Yes"
.LC3:
	.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	$4096, %rsp
	orq	$0, (%rsp)
	subq	$4096, %rsp
	orq	$0, (%rsp)
	subq	$2176, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-10352(%rbp), %rdx
	leaq	-10356(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$1, -10348(%rbp)
	jmp	.L2
.L3:
	leaq	-10224(%rbp), %rcx
	movl	-10348(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rsi
	addq	%rsi, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	$1, %rax
	addq	%rcx, %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addl	$1, -10348(%rbp)
.L2:
	movl	-10356(%rbp), %eax
	cmpl	%eax, -10348(%rbp)
	jle	.L3
	leaq	-10336(%rbp), %rdx
	movl	$0, %eax
	movl	$13, %ecx
	movq	%rdx, %rdi
	rep stosq
	movl	$1, -10348(%rbp)
	jmp	.L4
.L7:
	movl	$1, -10344(%rbp)
	jmp	.L5
.L6:
	movl	-10344(%rbp), %eax
	movslq	%eax, %rcx
	movl	-10348(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rsi
	addq	%rsi, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rbp, %rax
	addq	%rcx, %rax
	subq	$10224, %rax
	movzbl	(%rax), %eax
	movsbl	%al, %eax
	subl	$97, %eax
	movslq	%eax, %rdx
	movl	-10336(%rbp,%rdx,4), %edx
	addl	$1, %edx
	cltq
	movl	%edx, -10336(%rbp,%rax,4)
	addl	$1, -10344(%rbp)
.L5:
	movl	-10352(%rbp), %eax
	cmpl	%eax, -10344(%rbp)
	jle	.L6
	addl	$1, -10348(%rbp)
.L4:
	movl	-10356(%rbp), %eax
	cmpl	%eax, -10348(%rbp)
	jle	.L7
	movl	$1, -10340(%rbp)
	movl	-10356(%rbp), %eax
	andl	$1, %eax
	testl	%eax, %eax
	jne	.L8
	movl	-10352(%rbp), %eax
	andl	$1, %eax
	testl	%eax, %eax
	jne	.L8
	movl	$0, -10348(%rbp)
	jmp	.L9
.L12:
	movl	-10348(%rbp), %eax
	cltq
	movl	-10336(%rbp,%rax,4), %eax
	andl	$3, %eax
	testl	%eax, %eax
	jne	.L40
	addl	$1, -10348(%rbp)
.L9:
	cmpl	$25, -10348(%rbp)
	jle	.L12
	jmp	.L11
.L40:
	nop
.L11:
	cmpl	$25, -10348(%rbp)
	jg	.L14
	movl	$0, -10340(%rbp)
	jmp	.L14
.L8:
	movl	-10356(%rbp), %eax
	andl	$1, %eax
	testl	%eax, %eax
	jne	.L15
	movl	$0, -10348(%rbp)
	movl	$0, -10344(%rbp)
	jmp	.L16
.L20:
	movl	-10348(%rbp), %eax
	cltq
	movl	-10336(%rbp,%rax,4), %eax
	andl	$1, %eax
	testl	%eax, %eax
	jne	.L41
	movl	-10348(%rbp), %eax
	cltq
	movl	-10336(%rbp,%rax,4), %eax
	andl	$3, %eax
	testl	%eax, %eax
	je	.L19
	addl	$1, -10344(%rbp)
.L19:
	addl	$1, -10348(%rbp)
.L16:
	cmpl	$25, -10348(%rbp)
	jle	.L20
	jmp	.L18
.L41:
	nop
.L18:
	cmpl	$25, -10348(%rbp)
	jle	.L21
	movl	-10356(%rbp), %eax
	movl	%eax, %edx
	shrl	$31, %edx
	addl	%edx, %eax
	sarl	%eax
	cmpl	%eax, -10344(%rbp)
	jle	.L14
.L21:
	movl	$0, -10340(%rbp)
	jmp	.L14
.L15:
	movl	-10352(%rbp), %eax
	andl	$1, %eax
	testl	%eax, %eax
	jne	.L22
	movl	$0, -10348(%rbp)
	movl	$0, -10344(%rbp)
	jmp	.L23
.L27:
	movl	-10348(%rbp), %eax
	cltq
	movl	-10336(%rbp,%rax,4), %eax
	andl	$1, %eax
	testl	%eax, %eax
	jne	.L42
	movl	-10348(%rbp), %eax
	cltq
	movl	-10336(%rbp,%rax,4), %eax
	andl	$3, %eax
	testl	%eax, %eax
	je	.L26
	addl	$1, -10344(%rbp)
.L26:
	addl	$1, -10348(%rbp)
.L23:
	cmpl	$25, -10348(%rbp)
	jle	.L27
	jmp	.L25
.L42:
	nop
.L25:
	cmpl	$25, -10348(%rbp)
	jle	.L28
	movl	-10352(%rbp), %eax
	movl	%eax, %edx
	shrl	$31, %edx
	addl	%edx, %eax
	sarl	%eax
	cmpl	%eax, -10344(%rbp)
	jle	.L14
.L28:
	movl	$0, -10340(%rbp)
	jmp	.L14
.L22:
	movl	$0, -10348(%rbp)
	movl	$0, -10344(%rbp)
	movl	$0, -10340(%rbp)
	jmp	.L29
.L34:
	movl	-10348(%rbp), %eax
	cltq
	movl	-10336(%rbp,%rax,4), %eax
	cltd
	shrl	$31, %edx
	addl	%edx, %eax
	andl	$1, %eax
	subl	%edx, %eax
	cmpl	$1, %eax
	jne	.L30
	cmpl	$1, -10340(%rbp)
	je	.L43
	movl	$1, -10340(%rbp)
	movl	-10348(%rbp), %eax
	cltq
	movl	-10336(%rbp,%rax,4), %eax
	cltd
	shrl	$30, %edx
	addl	%edx, %eax
	andl	$3, %eax
	subl	%edx, %eax
	cmpl	$3, %eax
	jne	.L33
	addl	$1, -10344(%rbp)
	jmp	.L33
.L30:
	movl	-10348(%rbp), %eax
	cltq
	movl	-10336(%rbp,%rax,4), %eax
	andl	$3, %eax
	testl	%eax, %eax
	je	.L33
	addl	$1, -10344(%rbp)
.L33:
	addl	$1, -10348(%rbp)
.L29:
	cmpl	$25, -10348(%rbp)
	jle	.L34
	jmp	.L32
.L43:
	nop
.L32:
	cmpl	$25, -10348(%rbp)
	jle	.L35
	movl	-10356(%rbp), %edx
	movl	-10352(%rbp), %eax
	addl	%edx, %eax
	movl	%eax, %edx
	shrl	$31, %edx
	addl	%edx, %eax
	sarl	%eax
	cmpl	%eax, -10344(%rbp)
	jl	.L14
.L35:
	movl	$0, -10340(%rbp)
.L14:
	cmpl	$0, -10340(%rbp)
	je	.L36
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	jmp	.L37
.L36:
	leaq	.LC3(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
.L37:
	movq	stdout(%rip), %rax
	movq	%rax, %rdi
	call	fflush@PLT
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L39
	call	__stack_chk_fail@PLT
.L39:
	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:
