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

int main() {
	char s[1201], g;
	int i = 0, j, a[26] = {0}, k, h;
	while(scanf("%c", &s[i]) != EOF) ++i;
	k = i;
	for (h = 0; h <= i; ++h) {
		if (isupper(s[h])) s[h] = tolower(s[h]);
		for (j = 0; j < 26; ++j) {
			g = 'a' + j;
			if (s[h] == g) {
				++a[j];
				break;
			}
		}
	}
	for (i = 0; i < 26; ++i) {
		g = 'a' + i;
		printf("%c : %d\n", g, a[i]);
	}
}
```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%c"
.LC1:
	.string	"%c : %d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB53:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	movl	$13, %ecx
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	xorl	%r14d, %r14d
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	leaq	.LC0(%rip), %r12
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	subq	$1336, %rsp
	.cfi_def_cfa_offset 1392
	movq	%fs:40, %rax
	movq	%rax, 1320(%rsp)
	xorl	%eax, %eax
	movq	%rsp, %rbx
	leaq	112(%rsp), %r13
	movq	%rbx, %rdi
	movq	%r13, %rbp
	rep stosq
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L3:
	addl	$1, %r14d
.L2:
	movq	%rbp, %rsi
	movq	%r12, %rdi
	xorl	%eax, %eax
	addq	$1, %rbp
	call	__isoc99_scanf@PLT
	cmpl	$-1, %eax
	jne	.L3
	call	__ctype_b_loc@PLT
	leaq	1(%r13), %r12
	movslq	%r14d, %rbp
	movq	(%rax), %r15
	addq	%r12, %rbp
	.p2align 4,,10
	.p2align 3
.L8:
	movsbq	0(%r13), %r14
	movq	%r14, %rdx
	testb	$1, 1(%r15,%r14,2)
	je	.L4
	call	__ctype_tolower_loc@PLT
	movq	(%rax), %rax
	movl	(%rax,%r14,4), %eax
	movb	%al, 0(%r13)
	movl	%eax, %edx
.L4:
	subl	$97, %edx
	xorl	%eax, %eax
	movzbl	%dl, %edx
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L5:
	addl	$1, %eax
	cmpl	$26, %eax
	je	.L6
.L7:
	cmpl	%eax, %edx
	jne	.L5
	addl	$1, (%rsp,%rdx,4)
.L6:
	movq	%r12, %r13
	cmpq	%rbp, %r12
	je	.L17
	addq	$1, %r12
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L17:
	leaq	104(%rsp), %r13
	movl	$97, %ebp
	leaq	.LC1(%rip), %r12
	.p2align 4,,10
	.p2align 3
.L9:
	movl	(%rbx), %ecx
	movl	%ebp, %edx
	movq	%r12, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	addq	$4, %rbx
	addl	$1, %ebp
	call	__printf_chk@PLT
	cmpq	%rbx, %r13
	jne	.L9
	movq	1320(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L20
	addq	$1336, %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
.L20:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE53:
	.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	"%c"
.LC1:
	.string	"%c : %d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB53:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	movl	$13, %ecx
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	xorl	%r14d, %r14d
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	leaq	.LC0(%rip), %r12
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	subq	$1336, %rsp
	.cfi_def_cfa_offset 1392
	movq	%fs:40, %rax
	movq	%rax, 1320(%rsp)
	xorl	%eax, %eax
	movq	%rsp, %rbx
	leaq	112(%rsp), %r13
	movq	%rbx, %rdi
	movq	%r13, %rbp
	rep stosq
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L3:
	addl	$1, %r14d
.L2:
	movq	%rbp, %rsi
	movq	%r12, %rdi
	xorl	%eax, %eax
	addq	$1, %rbp
	call	__isoc99_scanf@PLT
	cmpl	$-1, %eax
	jne	.L3
	call	__ctype_b_loc@PLT
	leaq	1(%r13), %r12
	movslq	%r14d, %rbp
	movq	(%rax), %r15
	addq	%r12, %rbp
	.p2align 4,,10
	.p2align 3
.L8:
	movsbq	0(%r13), %r14
	movq	%r14, %rdx
	testb	$1, 1(%r15,%r14,2)
	je	.L4
	call	__ctype_tolower_loc@PLT
	movq	(%rax), %rax
	movl	(%rax,%r14,4), %eax
	movb	%al, 0(%r13)
	movl	%eax, %edx
.L4:
	subl	$97, %edx
	xorl	%eax, %eax
	movzbl	%dl, %edx
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L5:
	addl	$1, %eax
	cmpl	$26, %eax
	je	.L6
.L7:
	cmpl	%eax, %edx
	jne	.L5
	addl	$1, (%rsp,%rdx,4)
.L6:
	movq	%r12, %r13
	cmpq	%rbp, %r12
	je	.L17
	addq	$1, %r12
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L17:
	leaq	104(%rsp), %r13
	movl	$97, %ebp
	leaq	.LC1(%rip), %r12
	.p2align 4,,10
	.p2align 3
.L9:
	movl	(%rbx), %ecx
	movl	%ebp, %edx
	movq	%r12, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	addq	$4, %rbx
	addl	$1, %ebp
	call	__printf_chk@PLT
	cmpq	%rbx, %r13
	jne	.L9
	movq	1320(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L20
	addq	$1336, %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
.L20:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE53:
	.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	"%c"
.LC1:
	.string	"%c : %d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB53:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	movl	$13, %ecx
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	xorl	%r14d, %r14d
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	leaq	.LC0(%rip), %r12
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	subq	$1336, %rsp
	.cfi_def_cfa_offset 1392
	movq	%fs:40, %rax
	movq	%rax, 1320(%rsp)
	xorl	%eax, %eax
	movq	%rsp, %rbx
	leaq	112(%rsp), %r13
	movq	%rbx, %rdi
	movq	%r13, %rbp
	rep stosq
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L3:
	addl	$1, %r14d
.L2:
	movq	%rbp, %rsi
	movq	%r12, %rdi
	xorl	%eax, %eax
	addq	$1, %rbp
	call	__isoc99_scanf@PLT
	cmpl	$-1, %eax
	jne	.L3
	call	__ctype_b_loc@PLT
	leaq	1(%r13), %r12
	movslq	%r14d, %rbp
	movq	(%rax), %r15
	addq	%r12, %rbp
	.p2align 4,,10
	.p2align 3
.L8:
	movsbq	0(%r13), %r14
	movq	%r14, %rdx
	testb	$1, 1(%r15,%r14,2)
	je	.L4
	call	__ctype_tolower_loc@PLT
	movq	(%rax), %rax
	movl	(%rax,%r14,4), %eax
	movb	%al, 0(%r13)
	movl	%eax, %edx
.L4:
	subl	$97, %edx
	xorl	%eax, %eax
	movzbl	%dl, %edx
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L5:
	addl	$1, %eax
	cmpl	$26, %eax
	je	.L6
.L7:
	cmpl	%eax, %edx
	jne	.L5
	addl	$1, (%rsp,%rdx,4)
.L6:
	movq	%r12, %r13
	cmpq	%rbp, %r12
	je	.L17
	addq	$1, %r12
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L17:
	leaq	104(%rsp), %r13
	movl	$97, %ebp
	leaq	.LC1(%rip), %r12
	.p2align 4,,10
	.p2align 3
.L9:
	movl	(%rbx), %ecx
	movl	%ebp, %edx
	movq	%r12, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	addq	$4, %rbx
	addl	$1, %ebp
	call	__printf_chk@PLT
	cmpq	%rbx, %r13
	jne	.L9
	movq	1320(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L20
	addq	$1336, %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
.L20:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE53:
	.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>
#include <string.h>
#include <ctype.h>
#include <stdlib.h>

int main() {
	char s[1201], g;
	int i = 0, j, a[26] = {0}, k, h;
	while(scanf("%c", &s[i]) != EOF) ++i;
	k = i;
	for (h = 0; h <= i; ++h) {
		if (isupper(s[h])) s[h] = tolower(s[h]);
		for (j = 0; j < 26; ++j) {
			g = 'a' + j;
			if (s[h] == g) {
				++a[j];
				break;
			}
		}
	}
	for (i = 0; i < 26; ++i) {
		g = 'a' + i;
		printf("%c : %d\n", g, a[i]);
	}
}
```
Given the following C code, your task is to generate highly optimized x86-64 assembly code.
C Code:

```c
#include <stdio.h>
#include <string.h>
#include <ctype.h>
#include <stdlib.h>

int main() {
	char s[1201], g;
	int i = 0, j, a[26] = {0}, k, h;
	while(scanf("%c", &s[i]) != EOF) ++i;
	k = i;
	for (h = 0; h <= i; ++h) {
		if (isupper(s[h])) s[h] = tolower(s[h]);
		for (j = 0; j < 26; ++j) {
			g = 'a' + j;
			if (s[h] == g) {
				++a[j];
				break;
			}
		}
	}
	for (i = 0; i < 26; ++i) {
		g = 'a' + i;
		printf("%c : %d\n", g, a[i]);
	}
}
```

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:

This is ` pen.
 This si a pen.
 hTit si a pen.
 hTis ir a pen.
 hTis ri a pdn.
 hTis ri a odn.
 hTis ri a odo.
 hsiT rh a od.o
 Tsih is a od-o
 Tsih is ` od-o

a : 0
b : 0
c : 0
d : 0
e : 1
f : 0
g : 0
h : 1
i : 2
j : 0
k : 0
l : 0
m : 0
n : 1
o : 0
p : 1
q : 0
r : 0
s : 2
t : 1
u : 0
v : 0
w : 0
x : 0
y : 0
z : 0
 a : 1
b : 0
c : 0
d : 0
e : 1
f : 0
g : 0
h : 1
i : 2
j : 0
k : 0
l : 0
m : 0
n : 1
o : 0
p : 1
q : 0
r : 0
s : 2
t : 1
u : 0
v : 0
w : 0
x : 0
y : 0
z : 0
 a : 1
b : 0
c : 0
d : 0
e : 1
f : 0
g : 0
h : 1
i : 2
j : 0
k : 0
l : 0
m : 0
n : 1
o : 0
p : 1
q : 0
r : 0
s : 1
t : 2
u : 0
v : 0
w : 0
x : 0
y : 0
z : 0
 a : 1
b : 0
c : 0
d : 0
e : 1
f : 0
g : 0
h : 1
i : 2
j : 0
k : 0
l : 0
m : 0
n : 1
o : 0
p : 1
q : 0
r : 1
s : 1
t : 1
u : 0
v : 0
w : 0
x : 0
y : 0
z : 0
 a : 1
b : 0
c : 0
d : 1
e : 0
f : 0
g : 0
h : 1
i : 2
j : 0
k : 0
l : 0
m : 0
n : 1
o : 0
p : 1
q : 0
r : 1
s : 1
t : 1
u : 0
v : 0
w : 0
x : 0
y : 0
z : 0
 a : 1
b : 0
c : 0
d : 1
e : 0
f : 0
g : 0
h : 1
i : 2
j : 0
k : 0
l : 0
m : 0
n : 1
o : 1
p : 0
q : 0
r : 1
s : 1
t : 1
u : 0
v : 0
w : 0
x : 0
y : 0
z : 0
 a : 1
b : 0
c : 0
d : 1
e : 0
f : 0
g : 0
h : 1
i : 2
j : 0
k : 0
l : 0
m : 0
n : 0
o : 2
p : 0
q : 0
r : 1
s : 1
t : 1
u : 0
v : 0
w : 0
x : 0
y : 0
z : 0
 a : 1
b : 0
c : 0
d : 1
e : 0
f : 0
g : 0
h : 2
i : 1
j : 0
k : 0
l : 0
m : 0
n : 0
o : 2
p : 0
q : 0
r : 1
s : 1
t : 1
u : 0
v : 0
w : 0
x : 0
y : 0
z : 0
 a : 1
b : 0
c : 0
d : 1
e : 0
f : 0
g : 0
h : 1
i : 2
j : 0
k : 0
l : 0
m : 0
n : 0
o : 2
p : 0
q : 0
r : 0
s : 2
t : 1
u : 0
v : 0
w : 0
x : 0
y : 0
z : 0
 a : 0
b : 0
c : 0
d : 1
e : 0
f : 0
g : 0
h : 1
i : 2
j : 0
k : 0
l : 0
m : 0
n : 0
o : 2
p : 0
q : 0
r : 0
s : 2
t : 1
u : 0
v : 0
w : 0
x : 0
y : 0
z : 0

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

int main() {
	char s[1201], g;
	int i = 0, j, a[26] = {0}, k, h;
	while(scanf("%c", &s[i]) != EOF) ++i;
	k = i;
	for (h = 0; h <= i; ++h) {
		if (isupper(s[h])) s[h] = tolower(s[h]);
		for (j = 0; j < 26; ++j) {
			g = 'a' + j;
			if (s[h] == g) {
				++a[j];
				break;
			}
		}
	}
	for (i = 0; i < 26; ++i) {
		g = 'a' + i;
		printf("%c : %d\n", g, a[i]);
	}
}
```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%c"
.LC1:
	.string	"%c : %d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB53:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	movl	$13, %ecx
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	xorl	%r14d, %r14d
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	leaq	.LC0(%rip), %r12
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	subq	$1336, %rsp
	.cfi_def_cfa_offset 1392
	movq	%fs:40, %rax
	movq	%rax, 1320(%rsp)
	xorl	%eax, %eax
	movq	%rsp, %rbx
	leaq	112(%rsp), %r13
	movq	%rbx, %rdi
	movq	%r13, %rbp
	rep stosq
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L3:
	addl	$1, %r14d
.L2:
	movq	%rbp, %rsi
	movq	%r12, %rdi
	xorl	%eax, %eax
	addq	$1, %rbp
	call	__isoc99_scanf@PLT
	cmpl	$-1, %eax
	jne	.L3
	call	__ctype_b_loc@PLT
	leaq	1(%r13), %r12
	movslq	%r14d, %rbp
	movq	(%rax), %r15
	addq	%r12, %rbp
	.p2align 4,,10
	.p2align 3
.L8:
	movsbq	0(%r13), %r14
	movq	%r14, %rdx
	testb	$1, 1(%r15,%r14,2)
	je	.L4
	call	__ctype_tolower_loc@PLT
	movq	(%rax), %rax
	movl	(%rax,%r14,4), %eax
	movb	%al, 0(%r13)
	movl	%eax, %edx
.L4:
	subl	$97, %edx
	xorl	%eax, %eax
	movzbl	%dl, %edx
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L5:
	addl	$1, %eax
	cmpl	$26, %eax
	je	.L6
.L7:
	cmpl	%eax, %edx
	jne	.L5
	addl	$1, (%rsp,%rdx,4)
.L6:
	movq	%r12, %r13
	cmpq	%rbp, %r12
	je	.L17
	addq	$1, %r12
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L17:
	leaq	104(%rsp), %r13
	movl	$97, %ebp
	leaq	.LC1(%rip), %r12
	.p2align 4,,10
	.p2align 3
.L9:
	movl	(%rbx), %ecx
	movl	%ebp, %edx
	movq	%r12, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	addq	$4, %rbx
	addl	$1, %ebp
	call	__printf_chk@PLT
	cmpq	%rbx, %r13
	jne	.L9
	movq	1320(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L20
	addq	$1336, %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
.L20:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE53:
	.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	"%c"
.LC1:
	.string	"%c : %d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB53:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	movl	$13, %ecx
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	xorl	%r14d, %r14d
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	leaq	.LC0(%rip), %r12
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	subq	$1336, %rsp
	.cfi_def_cfa_offset 1392
	movq	%fs:40, %rax
	movq	%rax, 1320(%rsp)
	xorl	%eax, %eax
	movq	%rsp, %rbx
	leaq	112(%rsp), %r13
	movq	%rbx, %rdi
	movq	%r13, %rbp
	rep stosq
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L3:
	addl	$1, %r14d
.L2:
	movq	%rbp, %rsi
	movq	%r12, %rdi
	xorl	%eax, %eax
	addq	$1, %rbp
	call	__isoc99_scanf@PLT
	cmpl	$-1, %eax
	jne	.L3
	call	__ctype_b_loc@PLT
	leaq	1(%r13), %r12
	movslq	%r14d, %rbp
	movq	(%rax), %r15
	addq	%r12, %rbp
	.p2align 4,,10
	.p2align 3
.L8:
	movsbq	0(%r13), %r14
	movq	%r14, %rdx
	testb	$1, 1(%r15,%r14,2)
	je	.L4
	call	__ctype_tolower_loc@PLT
	movq	(%rax), %rax
	movl	(%rax,%r14,4), %eax
	movb	%al, 0(%r13)
	movl	%eax, %edx
.L4:
	subl	$97, %edx
	xorl	%eax, %eax
	movzbl	%dl, %edx
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L5:
	addl	$1, %eax
	cmpl	$26, %eax
	je	.L6
.L7:
	cmpl	%eax, %edx
	jne	.L5
	addl	$1, (%rsp,%rdx,4)
.L6:
	movq	%r12, %r13
	cmpq	%rbp, %r12
	je	.L17
	addq	$1, %r12
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L17:
	leaq	104(%rsp), %r13
	movl	$97, %ebp
	leaq	.LC1(%rip), %r12
	.p2align 4,,10
	.p2align 3
.L9:
	movl	(%rbx), %ecx
	movl	%ebp, %edx
	movq	%r12, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	addq	$4, %rbx
	addl	$1, %ebp
	call	__printf_chk@PLT
	cmpq	%rbx, %r13
	jne	.L9
	movq	1320(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L20
	addq	$1336, %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
.L20:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE53:
	.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:
```