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>
int main() {

	int i, ans = 0, x, y;
	char s[1000], t[1000];
	char end[] = "END_OF_TEXT";

	scanf("%s", s);
	for (i = 0; s[i] != '\0'; i++) {
		if ('A' <= s[i] && s[i] <= 'Z') {
			s[i] += 0x20;
		}
	}

	while (1) {
		scanf("%s", t);
		x = strcmp(end, t);
		if (x != 0) {
			for (i = 0; t[i] != '\0'; i++) {
				if ('A' <= t[i] && t[i] <= 'Z') {
					t[i] += 0x20;
				}
			}
			y = strcmp(s, t);
			if (y == 0) ans++;
		}
		else {
			printf("%d\n", ans);
			break;
		}
	}

	return 0;
}
```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%s"
.LC1:
	.string	"%d\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$2048, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movl	$0, -2040(%rbp)
	movabsq	$6079655328688131653, %rax
	movq	%rax, -2028(%rbp)
	movl	$5527621, -2020(%rbp)
	leaq	-2016(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -2044(%rbp)
	jmp	.L2
.L4:
	movl	-2044(%rbp), %eax
	cltq
	movzbl	-2016(%rbp,%rax), %eax
	cmpb	$64, %al
	jle	.L3
	movl	-2044(%rbp), %eax
	cltq
	movzbl	-2016(%rbp,%rax), %eax
	cmpb	$90, %al
	jg	.L3
	movl	-2044(%rbp), %eax
	cltq
	movzbl	-2016(%rbp,%rax), %eax
	addl	$32, %eax
	movl	%eax, %edx
	movl	-2044(%rbp), %eax
	cltq
	movb	%dl, -2016(%rbp,%rax)
.L3:
	addl	$1, -2044(%rbp)
.L2:
	movl	-2044(%rbp), %eax
	cltq
	movzbl	-2016(%rbp,%rax), %eax
	testb	%al, %al
	jne	.L4
.L11:
	leaq	-1008(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	leaq	-1008(%rbp), %rdx
	leaq	-2028(%rbp), %rax
	movq	%rdx, %rsi
	movq	%rax, %rdi
	call	strcmp@PLT
	movl	%eax, -2036(%rbp)
	cmpl	$0, -2036(%rbp)
	je	.L5
	movl	$0, -2044(%rbp)
	jmp	.L6
.L8:
	movl	-2044(%rbp), %eax
	cltq
	movzbl	-1008(%rbp,%rax), %eax
	cmpb	$64, %al
	jle	.L7
	movl	-2044(%rbp), %eax
	cltq
	movzbl	-1008(%rbp,%rax), %eax
	cmpb	$90, %al
	jg	.L7
	movl	-2044(%rbp), %eax
	cltq
	movzbl	-1008(%rbp,%rax), %eax
	addl	$32, %eax
	movl	%eax, %edx
	movl	-2044(%rbp), %eax
	cltq
	movb	%dl, -1008(%rbp,%rax)
.L7:
	addl	$1, -2044(%rbp)
.L6:
	movl	-2044(%rbp), %eax
	cltq
	movzbl	-1008(%rbp,%rax), %eax
	testb	%al, %al
	jne	.L8
	leaq	-1008(%rbp), %rdx
	leaq	-2016(%rbp), %rax
	movq	%rdx, %rsi
	movq	%rax, %rdi
	call	strcmp@PLT
	movl	%eax, -2032(%rbp)
	cmpl	$0, -2032(%rbp)
	jne	.L11
	addl	$1, -2040(%rbp)
	jmp	.L11
.L5:
	movl	-2040(%rbp), %eax
	movl	%eax, %esi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	nop
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L13
	call	__stack_chk_fail@PLT
.L13:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.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	"%d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB35:
	.cfi_startproc
	endbr64
	pushq	%r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	pushq	%r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	pushq	%r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	pushq	%rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	leaq	.LC0(%rip), %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	movq	%rbp, %rdi
	subq	$2032, %rsp
	.cfi_def_cfa_offset 2080
	movq	%fs:40, %rax
	movq	%rax, 2024(%rsp)
	movabsq	$6079655328688131653, %rax
	leaq	16(%rsp), %r13
	movl	$5527621, 12(%rsp)
	movq	%r13, %rsi
	movq	%rax, 4(%rsp)
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movzbl	16(%rsp), %eax
	testb	%al, %al
	je	.L2
	movq	%r13, %rdx
	.p2align 4,,10
	.p2align 3
.L5:
	leal	-65(%rax), %ecx
	cmpb	$25, %cl
	ja	.L3
	addl	$32, %eax
	addq	$1, %rdx
	movb	%al, -1(%rdx)
	movzbl	(%rdx), %eax
	testb	%al, %al
	jne	.L5
.L2:
	xorl	%r12d, %r12d
	leaq	1024(%rsp), %r14
	leaq	4(%rsp), %rbx
	.p2align 4,,10
	.p2align 3
.L6:
	movq	%r14, %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movq	(%r14), %rax
	cmpq	%rax, (%rbx)
	je	.L31
.L7:
	movzbl	1024(%rsp), %eax
	testb	%al, %al
	je	.L10
	movq	%r14, %rdx
	.p2align 4,,10
	.p2align 3
.L13:
	leal	-65(%rax), %ecx
	cmpb	$25, %cl
	ja	.L11
	addl	$32, %eax
	addq	$1, %rdx
	movb	%al, -1(%rdx)
	movzbl	(%rdx), %eax
	testb	%al, %al
	jne	.L13
.L10:
	movq	%r14, %rsi
	movq	%r13, %rdi
	call	strcmp@PLT
	cmpl	$1, %eax
	adcl	$0, %r12d
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L11:
	movzbl	1(%rdx), %eax
	addq	$1, %rdx
	testb	%al, %al
	jne	.L13
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L3:
	movzbl	1(%rdx), %eax
	addq	$1, %rdx
	testb	%al, %al
	jne	.L5
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L31:
	movl	8(%r14), %eax
	cmpl	%eax, 8(%rbx)
	jne	.L7
	xorl	%eax, %eax
	movl	%r12d, %edx
	movl	$1, %edi
	leaq	.LC1(%rip), %rsi
	call	__printf_chk@PLT
	movq	2024(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L32
	addq	$2032, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 40
	popq	%rbp
	.cfi_def_cfa_offset 32
	popq	%r12
	.cfi_def_cfa_offset 24
	popq	%r13
	.cfi_def_cfa_offset 16
	popq	%r14
	.cfi_def_cfa_offset 8
	ret
.L32:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE35:
	.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	"%d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB35:
	.cfi_startproc
	endbr64
	pushq	%r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	pushq	%r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	pushq	%r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	pushq	%rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	leaq	.LC0(%rip), %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	movq	%rbp, %rdi
	subq	$2032, %rsp
	.cfi_def_cfa_offset 2080
	movq	%fs:40, %rax
	movq	%rax, 2024(%rsp)
	movabsq	$6079655328688131653, %rax
	leaq	16(%rsp), %r13
	movl	$5527621, 12(%rsp)
	movq	%r13, %rsi
	movq	%rax, 4(%rsp)
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movzbl	16(%rsp), %eax
	testb	%al, %al
	je	.L2
	movq	%r13, %rdx
	.p2align 4,,10
	.p2align 3
.L5:
	leal	-65(%rax), %ecx
	cmpb	$25, %cl
	ja	.L3
	addl	$32, %eax
	addq	$1, %rdx
	movb	%al, -1(%rdx)
	movzbl	(%rdx), %eax
	testb	%al, %al
	jne	.L5
.L2:
	xorl	%r12d, %r12d
	leaq	1024(%rsp), %r14
	leaq	4(%rsp), %rbx
	.p2align 4,,10
	.p2align 3
.L6:
	movq	%r14, %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movq	(%r14), %rax
	cmpq	%rax, (%rbx)
	je	.L31
.L7:
	movzbl	1024(%rsp), %eax
	testb	%al, %al
	je	.L10
	movq	%r14, %rdx
	.p2align 4,,10
	.p2align 3
.L13:
	leal	-65(%rax), %ecx
	cmpb	$25, %cl
	ja	.L11
	addl	$32, %eax
	addq	$1, %rdx
	movb	%al, -1(%rdx)
	movzbl	(%rdx), %eax
	testb	%al, %al
	jne	.L13
.L10:
	movq	%r14, %rsi
	movq	%r13, %rdi
	call	strcmp@PLT
	cmpl	$1, %eax
	adcl	$0, %r12d
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L11:
	movzbl	1(%rdx), %eax
	addq	$1, %rdx
	testb	%al, %al
	jne	.L13
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L3:
	movzbl	1(%rdx), %eax
	addq	$1, %rdx
	testb	%al, %al
	jne	.L5
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L31:
	movl	8(%r14), %eax
	cmpl	%eax, 8(%rbx)
	jne	.L7
	xorl	%eax, %eax
	movl	%r12d, %edx
	movl	$1, %edi
	leaq	.LC1(%rip), %rsi
	call	__printf_chk@PLT
	movq	2024(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L32
	addq	$2032, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 40
	popq	%rbp
	.cfi_def_cfa_offset 32
	popq	%r12
	.cfi_def_cfa_offset 24
	popq	%r13
	.cfi_def_cfa_offset 16
	popq	%r14
	.cfi_def_cfa_offset 8
	ret
.L32:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE35:
	.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>
int main() {

	int i, ans = 0, x, y;
	char s[1000], t[1000];
	char end[] = "END_OF_TEXT";

	scanf("%s", s);
	for (i = 0; s[i] != '\0'; i++) {
		if ('A' <= s[i] && s[i] <= 'Z') {
			s[i] += 0x20;
		}
	}

	while (1) {
		scanf("%s", t);
		x = strcmp(end, t);
		if (x != 0) {
			for (i = 0; t[i] != '\0'; i++) {
				if ('A' <= t[i] && t[i] <= 'Z') {
					t[i] += 0x20;
				}
			}
			y = strcmp(s, t);
			if (y == 0) ans++;
		}
		else {
			printf("%d\n", ans);
			break;
		}
	}

	return 0;
}

computer
Nurtures computer scientists and highly-skilled computer engineers
who will create and exploit "knowledge" for the enw era.
Provides an outstanding computer environment.
END_OF_TEXT
 comquter
Nurtures computer scientists and highly-skilled computer engineers
who will create and tiolpxe "knowledge" for the enw era.
Provides an outstanding computer environment.
END_OF_TEXT
 computer
Nurtures computer scientists and highly-skilled computes engineers
who will create and exploit "knowledge" for the enw era.
Provides an outstanding computer environment.
END_OF_TEXT
 comquter
Nurtures computer stsitneics and highly-skilked computer engineers
who wilk create and tiolpxe "knowledge" for the enw era.
Provides an sutotanding comquter environment.
END_OF_TEXT
 computer
Nurtures computer scientists and highly-skilled computer engineers
who will create and tiolpxe "knowledge" for the enw era.
Provides an outstanding computer environment.
END_OF_TEXT
 comquter
Nurtures computer scientists and highly-skilled computer engineers
who will create and tiolpxe "knowledge" for the enw era.
Provides an sutotanding computer environment.
END_OF_TEXT
 comquter
Nurtures computer scientists and highlx-skilled computer engineers
who will create and tiolpxe "knowledge" for the enw era.
Provides an sutotanding computer environment.
END_OF_TEXT
 comquter
Nurtures computer scientists and highlx-skilled computer engineers
who will create and tiolpxe "knowledge" for the enw era.
Provides an sutotanding ctmpuoer environment.
END_OF_TEXT
 comquter
serutruN computer scientists and highlx-skilled computer engineers
who will create and tiolpxe "knowledge" for the enw era.
Provides an sutotanding ctmpuoer environment.
END_OF_TEXT
 comquter
serutruN computer scientists aod highlx-skilled computer engineers
who will create and tiolpxe "knowledge" for the enw era.
Provides an sutotanding ctmpuoer environment.
END_OF_TEXT

3
 0
 2
 1
 3
 0
 0
 0
 0
 0

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>
int main() {

	int i, ans = 0, x, y;
	char s[1000], t[1000];
	char end[] = "END_OF_TEXT";

	scanf("%s", s);
	for (i = 0; s[i] != '\0'; i++) {
		if ('A' <= s[i] && s[i] <= 'Z') {
			s[i] += 0x20;
		}
	}

	while (1) {
		scanf("%s", t);
		x = strcmp(end, t);
		if (x != 0) {
			for (i = 0; t[i] != '\0'; i++) {
				if ('A' <= t[i] && t[i] <= 'Z') {
					t[i] += 0x20;
				}
			}
			y = strcmp(s, t);
			if (y == 0) ans++;
		}
		else {
			printf("%d\n", ans);
			break;
		}
	}

	return 0;
}
```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%s"
.LC1:
	.string	"%d\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$2048, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movl	$0, -2040(%rbp)
	movabsq	$6079655328688131653, %rax
	movq	%rax, -2028(%rbp)
	movl	$5527621, -2020(%rbp)
	leaq	-2016(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -2044(%rbp)
	jmp	.L2
.L4:
	movl	-2044(%rbp), %eax
	cltq
	movzbl	-2016(%rbp,%rax), %eax
	cmpb	$64, %al
	jle	.L3
	movl	-2044(%rbp), %eax
	cltq
	movzbl	-2016(%rbp,%rax), %eax
	cmpb	$90, %al
	jg	.L3
	movl	-2044(%rbp), %eax
	cltq
	movzbl	-2016(%rbp,%rax), %eax
	addl	$32, %eax
	movl	%eax, %edx
	movl	-2044(%rbp), %eax
	cltq
	movb	%dl, -2016(%rbp,%rax)
.L3:
	addl	$1, -2044(%rbp)
.L2:
	movl	-2044(%rbp), %eax
	cltq
	movzbl	-2016(%rbp,%rax), %eax
	testb	%al, %al
	jne	.L4
.L11:
	leaq	-1008(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	leaq	-1008(%rbp), %rdx
	leaq	-2028(%rbp), %rax
	movq	%rdx, %rsi
	movq	%rax, %rdi
	call	strcmp@PLT
	movl	%eax, -2036(%rbp)
	cmpl	$0, -2036(%rbp)
	je	.L5
	movl	$0, -2044(%rbp)
	jmp	.L6
.L8:
	movl	-2044(%rbp), %eax
	cltq
	movzbl	-1008(%rbp,%rax), %eax
	cmpb	$64, %al
	jle	.L7
	movl	-2044(%rbp), %eax
	cltq
	movzbl	-1008(%rbp,%rax), %eax
	cmpb	$90, %al
	jg	.L7
	movl	-2044(%rbp), %eax
	cltq
	movzbl	-1008(%rbp,%rax), %eax
	addl	$32, %eax
	movl	%eax, %edx
	movl	-2044(%rbp), %eax
	cltq
	movb	%dl, -1008(%rbp,%rax)
.L7:
	addl	$1, -2044(%rbp)
.L6:
	movl	-2044(%rbp), %eax
	cltq
	movzbl	-1008(%rbp,%rax), %eax
	testb	%al, %al
	jne	.L8
	leaq	-1008(%rbp), %rdx
	leaq	-2016(%rbp), %rax
	movq	%rdx, %rsi
	movq	%rax, %rdi
	call	strcmp@PLT
	movl	%eax, -2032(%rbp)
	cmpl	$0, -2032(%rbp)
	jne	.L11
	addl	$1, -2040(%rbp)
	jmp	.L11
.L5:
	movl	-2040(%rbp), %eax
	movl	%eax, %esi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	nop
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L13
	call	__stack_chk_fail@PLT
.L13:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.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	"%d\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$2048, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movl	$0, -2040(%rbp)
	movabsq	$6079655328688131653, %rax
	movq	%rax, -2028(%rbp)
	movl	$5527621, -2020(%rbp)
	leaq	-2016(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -2044(%rbp)
	jmp	.L2
.L4:
	movl	-2044(%rbp), %eax
	cltq
	movzbl	-2016(%rbp,%rax), %eax
	cmpb	$64, %al
	jle	.L3
	movl	-2044(%rbp), %eax
	cltq
	movzbl	-2016(%rbp,%rax), %eax
	cmpb	$90, %al
	jg	.L3
	movl	-2044(%rbp), %eax
	cltq
	movzbl	-2016(%rbp,%rax), %eax
	addl	$32, %eax
	movl	%eax, %edx
	movl	-2044(%rbp), %eax
	cltq
	movb	%dl, -2016(%rbp,%rax)
.L3:
	addl	$1, -2044(%rbp)
.L2:
	movl	-2044(%rbp), %eax
	cltq
	movzbl	-2016(%rbp,%rax), %eax
	testb	%al, %al
	jne	.L4
.L11:
	leaq	-1008(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	leaq	-1008(%rbp), %rdx
	leaq	-2028(%rbp), %rax
	movq	%rdx, %rsi
	movq	%rax, %rdi
	call	strcmp@PLT
	movl	%eax, -2036(%rbp)
	cmpl	$0, -2036(%rbp)
	je	.L5
	movl	$0, -2044(%rbp)
	jmp	.L6
.L8:
	movl	-2044(%rbp), %eax
	cltq
	movzbl	-1008(%rbp,%rax), %eax
	cmpb	$64, %al
	jle	.L7
	movl	-2044(%rbp), %eax
	cltq
	movzbl	-1008(%rbp,%rax), %eax
	cmpb	$90, %al
	jg	.L7
	movl	-2044(%rbp), %eax
	cltq
	movzbl	-1008(%rbp,%rax), %eax
	addl	$32, %eax
	movl	%eax, %edx
	movl	-2044(%rbp), %eax
	cltq
	movb	%dl, -1008(%rbp,%rax)
.L7:
	addl	$1, -2044(%rbp)
.L6:
	movl	-2044(%rbp), %eax
	cltq
	movzbl	-1008(%rbp,%rax), %eax
	testb	%al, %al
	jne	.L8
	leaq	-1008(%rbp), %rdx
	leaq	-2016(%rbp), %rax
	movq	%rdx, %rsi
	movq	%rax, %rdi
	call	strcmp@PLT
	movl	%eax, -2032(%rbp)
	cmpl	$0, -2032(%rbp)
	jne	.L11
	addl	$1, -2040(%rbp)
	jmp	.L11
.L5:
	movl	-2040(%rbp), %eax
	movl	%eax, %esi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	nop
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L13
	call	__stack_chk_fail@PLT
.L13:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.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:
