Given the following C code and assembly code, your task is to generate highly optimized x86-64 assembly code.
C Code:

```c
/*  ex 5_4
    supercomputerjoi    */

#include <stdio.h>

int main(void){

    char str[11];
    int len = 0, maxLen = 0;
    int i;

    // input S
    scanf("%s", str);

    // calculate max length
    for(i = 0; i < 11; i++){
        // if ATGC len + 1
        if(str[i] == 'A' || str[i] == 'T' || str[i] == 'G' || str[i] == 'C'){
            len++;
        }else{
            if(len > maxLen){
                maxLen = len;
            }
            len = 0;
            if(str[i] == '\0'){
                break;
            }
        }
    }

    // output answer
    printf("%d\n", maxLen);

    return 0;
}```

Assembly Code:

```assembly
	.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:
.LFB23:
	.cfi_startproc
	endbr64
	subq	$40, %rsp
	.cfi_def_cfa_offset 48
	leaq	.LC0(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, 24(%rsp)
	xorl	%eax, %eax
	leaq	13(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movzbl	13(%rsp), %eax
	leal	-65(%rax), %ecx
	cmpb	$19, %cl
	jbe	.L2
	xorl	%edx, %edx
	testb	%al, %al
	je	.L3
.L4:
	movzbl	14(%rsp), %eax
	leal	-65(%rax), %ecx
	cmpb	$19, %cl
	ja	.L75
	movq	$-524358, %rax
	sarq	%cl, %rax
	testb	$1, %al
	jne	.L36
	leal	1(%rdx), %eax
	xorl	%edx, %edx
.L6:
	movzbl	15(%rsp), %esi
	leal	-65(%rsi), %ecx
	cmpb	$19, %cl
	jbe	.L7
	cmpl	%eax, %edx
	cmovl	%eax, %edx
	testb	%sil, %sil
	je	.L3
.L66:
	movzbl	16(%rsp), %esi
	xorl	%eax, %eax
	leal	-65(%rsi), %ecx
	cmpb	$19, %cl
	jbe	.L10
.L77:
	cmpl	%eax, %edx
	cmovl	%eax, %edx
	testb	%sil, %sil
	je	.L3
.L67:
	movzbl	17(%rsp), %esi
	xorl	%eax, %eax
	leal	-65(%rsi), %ecx
	cmpb	$19, %cl
	jbe	.L13
.L78:
	cmpl	%eax, %edx
	cmovl	%eax, %edx
	testb	%sil, %sil
	je	.L3
.L68:
	movzbl	18(%rsp), %esi
	xorl	%eax, %eax
	leal	-65(%rsi), %ecx
	cmpb	$19, %cl
	jbe	.L16
.L79:
	cmpl	%eax, %edx
	cmovl	%eax, %edx
	testb	%sil, %sil
	je	.L3
.L69:
	movzbl	19(%rsp), %esi
	xorl	%eax, %eax
	leal	-65(%rsi), %ecx
	cmpb	$19, %cl
	jbe	.L19
.L80:
	cmpl	%eax, %edx
	cmovl	%eax, %edx
	testb	%sil, %sil
	je	.L3
.L70:
	movzbl	20(%rsp), %esi
	xorl	%eax, %eax
	leal	-65(%rsi), %ecx
	cmpb	$19, %cl
	jbe	.L22
.L81:
	cmpl	%eax, %edx
	cmovl	%eax, %edx
	testb	%sil, %sil
	je	.L3
.L71:
	movzbl	21(%rsp), %esi
	xorl	%eax, %eax
	leal	-65(%rsi), %ecx
	cmpb	$19, %cl
	jbe	.L25
.L82:
	cmpl	%eax, %edx
	cmovl	%eax, %edx
	testb	%sil, %sil
	je	.L3
.L72:
	movzbl	22(%rsp), %esi
	xorl	%eax, %eax
	leal	-65(%rsi), %ecx
	cmpb	$19, %cl
	jbe	.L28
.L83:
	cmpl	%eax, %edx
	cmovl	%eax, %edx
	testb	%sil, %sil
	je	.L3
.L73:
	xorl	%eax, %eax
.L29:
	movzbl	23(%rsp), %edi
	leal	-65(%rdi), %ecx
	cmpb	$19, %cl
	ja	.L33
	movq	$-524358, %rsi
	sarq	%cl, %rsi
	andb	$1, %sil
	jne	.L33
.L3:
	xorl	%eax, %eax
	leaq	.LC1(%rip), %rsi
	movl	$1, %edi
	call	__printf_chk@PLT
	movq	24(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L76
	xorl	%eax, %eax
	addq	$40, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
.L2:
	.cfi_restore_state
	movq	$-524358, %rdx
	sarq	%cl, %rdx
	andl	$1, %edx
	xorl	$1, %edx
	movzbl	%dl, %edx
	jmp	.L4
.L75:
	testb	%al, %al
	je	.L3
.L36:
	xorl	%eax, %eax
	jmp	.L6
.L33:
	cmpl	%eax, %edx
	cmovl	%eax, %edx
	jmp	.L3
.L7:
	movq	$-524358, %rsi
	sarq	%cl, %rsi
	andb	$1, %sil
	jne	.L9
	movzbl	16(%rsp), %esi
	addl	$1, %eax
	leal	-65(%rsi), %ecx
	cmpb	$19, %cl
	ja	.L77
.L10:
	movq	$-524358, %rsi
	sarq	%cl, %rsi
	andb	$1, %sil
	jne	.L12
	movzbl	17(%rsp), %esi
	addl	$1, %eax
	leal	-65(%rsi), %ecx
	cmpb	$19, %cl
	ja	.L78
.L13:
	movq	$-524358, %rsi
	sarq	%cl, %rsi
	andb	$1, %sil
	jne	.L15
	movzbl	18(%rsp), %esi
	addl	$1, %eax
	leal	-65(%rsi), %ecx
	cmpb	$19, %cl
	ja	.L79
.L16:
	movq	$-524358, %rsi
	sarq	%cl, %rsi
	andb	$1, %sil
	jne	.L18
	movzbl	19(%rsp), %esi
	addl	$1, %eax
	leal	-65(%rsi), %ecx
	cmpb	$19, %cl
	ja	.L80
.L19:
	movq	$-524358, %rsi
	sarq	%cl, %rsi
	andb	$1, %sil
	jne	.L21
	movzbl	20(%rsp), %esi
	addl	$1, %eax
	leal	-65(%rsi), %ecx
	cmpb	$19, %cl
	ja	.L81
.L22:
	movq	$-524358, %rsi
	sarq	%cl, %rsi
	andb	$1, %sil
	jne	.L24
	movzbl	21(%rsp), %esi
	addl	$1, %eax
	leal	-65(%rsi), %ecx
	cmpb	$19, %cl
	ja	.L82
.L25:
	movq	$-524358, %rsi
	sarq	%cl, %rsi
	andb	$1, %sil
	jne	.L27
	movzbl	22(%rsp), %esi
	addl	$1, %eax
	leal	-65(%rsi), %ecx
	cmpb	$19, %cl
	ja	.L83
.L28:
	movq	$-524358, %rsi
	sarq	%cl, %rsi
	andb	$1, %sil
	jne	.L30
	addl	$1, %eax
	jmp	.L29
.L9:
	cmpl	%eax, %edx
	cmovl	%eax, %edx
	jmp	.L66
.L12:
	cmpl	%eax, %edx
	cmovl	%eax, %edx
	jmp	.L67
.L15:
	cmpl	%eax, %edx
	cmovl	%eax, %edx
	jmp	.L68
.L18:
	cmpl	%eax, %edx
	cmovl	%eax, %edx
	jmp	.L69
.L21:
	cmpl	%eax, %edx
	cmovl	%eax, %edx
	jmp	.L70
.L24:
	cmpl	%eax, %edx
	cmovl	%eax, %edx
	jmp	.L71
.L27:
	cmpl	%eax, %edx
	cmovl	%eax, %edx
	jmp	.L72
.L30:
	cmpl	%eax, %edx
	cmovl	%eax, %edx
	jmp	.L73
.L76:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.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	"%s"
.LC1:
	.string	"%d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	subq	$40, %rsp
	.cfi_def_cfa_offset 48
	leaq	.LC0(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, 24(%rsp)
	xorl	%eax, %eax
	leaq	13(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movzbl	13(%rsp), %eax
	leal	-65(%rax), %ecx
	cmpb	$19, %cl
	jbe	.L2
	xorl	%edx, %edx
	testb	%al, %al
	je	.L3
.L4:
	movzbl	14(%rsp), %eax
	leal	-65(%rax), %ecx
	cmpb	$19, %cl
	ja	.L75
	movq	$-524358, %rax
	sarq	%cl, %rax
	testb	$1, %al
	jne	.L36
	leal	1(%rdx), %eax
	xorl	%edx, %edx
.L6:
	movzbl	15(%rsp), %esi
	leal	-65(%rsi), %ecx
	cmpb	$19, %cl
	jbe	.L7
	cmpl	%eax, %edx
	cmovl	%eax, %edx
	testb	%sil, %sil
	je	.L3
.L66:
	movzbl	16(%rsp), %esi
	xorl	%eax, %eax
	leal	-65(%rsi), %ecx
	cmpb	$19, %cl
	jbe	.L10
.L77:
	cmpl	%eax, %edx
	cmovl	%eax, %edx
	testb	%sil, %sil
	je	.L3
.L67:
	movzbl	17(%rsp), %esi
	xorl	%eax, %eax
	leal	-65(%rsi), %ecx
	cmpb	$19, %cl
	jbe	.L13
.L78:
	cmpl	%eax, %edx
	cmovl	%eax, %edx
	testb	%sil, %sil
	je	.L3
.L68:
	movzbl	18(%rsp), %esi
	xorl	%eax, %eax
	leal	-65(%rsi), %ecx
	cmpb	$19, %cl
	jbe	.L16
.L79:
	cmpl	%eax, %edx
	cmovl	%eax, %edx
	testb	%sil, %sil
	je	.L3
.L69:
	movzbl	19(%rsp), %esi
	xorl	%eax, %eax
	leal	-65(%rsi), %ecx
	cmpb	$19, %cl
	jbe	.L19
.L80:
	cmpl	%eax, %edx
	cmovl	%eax, %edx
	testb	%sil, %sil
	je	.L3
.L70:
	movzbl	20(%rsp), %esi
	xorl	%eax, %eax
	leal	-65(%rsi), %ecx
	cmpb	$19, %cl
	jbe	.L22
.L81:
	cmpl	%eax, %edx
	cmovl	%eax, %edx
	testb	%sil, %sil
	je	.L3
.L71:
	movzbl	21(%rsp), %esi
	xorl	%eax, %eax
	leal	-65(%rsi), %ecx
	cmpb	$19, %cl
	jbe	.L25
.L82:
	cmpl	%eax, %edx
	cmovl	%eax, %edx
	testb	%sil, %sil
	je	.L3
.L72:
	movzbl	22(%rsp), %esi
	xorl	%eax, %eax
	leal	-65(%rsi), %ecx
	cmpb	$19, %cl
	jbe	.L28
.L83:
	cmpl	%eax, %edx
	cmovl	%eax, %edx
	testb	%sil, %sil
	je	.L3
.L73:
	xorl	%eax, %eax
.L29:
	movzbl	23(%rsp), %edi
	leal	-65(%rdi), %ecx
	cmpb	$19, %cl
	ja	.L33
	movq	$-524358, %rsi
	sarq	%cl, %rsi
	andb	$1, %sil
	jne	.L33
.L3:
	xorl	%eax, %eax
	leaq	.LC1(%rip), %rsi
	movl	$1, %edi
	call	__printf_chk@PLT
	movq	24(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L76
	xorl	%eax, %eax
	addq	$40, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
.L2:
	.cfi_restore_state
	movq	$-524358, %rdx
	sarq	%cl, %rdx
	andl	$1, %edx
	xorl	$1, %edx
	movzbl	%dl, %edx
	jmp	.L4
.L75:
	testb	%al, %al
	je	.L3
.L36:
	xorl	%eax, %eax
	jmp	.L6
.L33:
	cmpl	%eax, %edx
	cmovl	%eax, %edx
	jmp	.L3
.L7:
	movq	$-524358, %rsi
	sarq	%cl, %rsi
	andb	$1, %sil
	jne	.L9
	movzbl	16(%rsp), %esi
	addl	$1, %eax
	leal	-65(%rsi), %ecx
	cmpb	$19, %cl
	ja	.L77
.L10:
	movq	$-524358, %rsi
	sarq	%cl, %rsi
	andb	$1, %sil
	jne	.L12
	movzbl	17(%rsp), %esi
	addl	$1, %eax
	leal	-65(%rsi), %ecx
	cmpb	$19, %cl
	ja	.L78
.L13:
	movq	$-524358, %rsi
	sarq	%cl, %rsi
	andb	$1, %sil
	jne	.L15
	movzbl	18(%rsp), %esi
	addl	$1, %eax
	leal	-65(%rsi), %ecx
	cmpb	$19, %cl
	ja	.L79
.L16:
	movq	$-524358, %rsi
	sarq	%cl, %rsi
	andb	$1, %sil
	jne	.L18
	movzbl	19(%rsp), %esi
	addl	$1, %eax
	leal	-65(%rsi), %ecx
	cmpb	$19, %cl
	ja	.L80
.L19:
	movq	$-524358, %rsi
	sarq	%cl, %rsi
	andb	$1, %sil
	jne	.L21
	movzbl	20(%rsp), %esi
	addl	$1, %eax
	leal	-65(%rsi), %ecx
	cmpb	$19, %cl
	ja	.L81
.L22:
	movq	$-524358, %rsi
	sarq	%cl, %rsi
	andb	$1, %sil
	jne	.L24
	movzbl	21(%rsp), %esi
	addl	$1, %eax
	leal	-65(%rsi), %ecx
	cmpb	$19, %cl
	ja	.L82
.L25:
	movq	$-524358, %rsi
	sarq	%cl, %rsi
	andb	$1, %sil
	jne	.L27
	movzbl	22(%rsp), %esi
	addl	$1, %eax
	leal	-65(%rsi), %ecx
	cmpb	$19, %cl
	ja	.L83
.L28:
	movq	$-524358, %rsi
	sarq	%cl, %rsi
	andb	$1, %sil
	jne	.L30
	addl	$1, %eax
	jmp	.L29
.L9:
	cmpl	%eax, %edx
	cmovl	%eax, %edx
	jmp	.L66
.L12:
	cmpl	%eax, %edx
	cmovl	%eax, %edx
	jmp	.L67
.L15:
	cmpl	%eax, %edx
	cmovl	%eax, %edx
	jmp	.L68
.L18:
	cmpl	%eax, %edx
	cmovl	%eax, %edx
	jmp	.L69
.L21:
	cmpl	%eax, %edx
	cmovl	%eax, %edx
	jmp	.L70
.L24:
	cmpl	%eax, %edx
	cmovl	%eax, %edx
	jmp	.L71
.L27:
	cmpl	%eax, %edx
	cmovl	%eax, %edx
	jmp	.L72
.L30:
	cmpl	%eax, %edx
	cmovl	%eax, %edx
	jmp	.L73
.L76:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.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	"%s"
.LC1:
	.string	"%d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	subq	$40, %rsp
	.cfi_def_cfa_offset 48
	leaq	.LC0(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, 24(%rsp)
	xorl	%eax, %eax
	leaq	13(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movzbl	13(%rsp), %eax
	leal	-65(%rax), %ecx
	cmpb	$19, %cl
	jbe	.L2
	xorl	%edx, %edx
	testb	%al, %al
	je	.L3
.L4:
	movzbl	14(%rsp), %eax
	leal	-65(%rax), %ecx
	cmpb	$19, %cl
	ja	.L75
	movq	$-524358, %rax
	sarq	%cl, %rax
	testb	$1, %al
	jne	.L36
	leal	1(%rdx), %eax
	xorl	%edx, %edx
.L6:
	movzbl	15(%rsp), %esi
	leal	-65(%rsi), %ecx
	cmpb	$19, %cl
	jbe	.L7
	cmpl	%eax, %edx
	cmovl	%eax, %edx
	testb	%sil, %sil
	je	.L3
.L66:
	movzbl	16(%rsp), %esi
	xorl	%eax, %eax
	leal	-65(%rsi), %ecx
	cmpb	$19, %cl
	jbe	.L10
.L77:
	cmpl	%eax, %edx
	cmovl	%eax, %edx
	testb	%sil, %sil
	je	.L3
.L67:
	movzbl	17(%rsp), %esi
	xorl	%eax, %eax
	leal	-65(%rsi), %ecx
	cmpb	$19, %cl
	jbe	.L13
.L78:
	cmpl	%eax, %edx
	cmovl	%eax, %edx
	testb	%sil, %sil
	je	.L3
.L68:
	movzbl	18(%rsp), %esi
	xorl	%eax, %eax
	leal	-65(%rsi), %ecx
	cmpb	$19, %cl
	jbe	.L16
.L79:
	cmpl	%eax, %edx
	cmovl	%eax, %edx
	testb	%sil, %sil
	je	.L3
.L69:
	movzbl	19(%rsp), %esi
	xorl	%eax, %eax
	leal	-65(%rsi), %ecx
	cmpb	$19, %cl
	jbe	.L19
.L80:
	cmpl	%eax, %edx
	cmovl	%eax, %edx
	testb	%sil, %sil
	je	.L3
.L70:
	movzbl	20(%rsp), %esi
	xorl	%eax, %eax
	leal	-65(%rsi), %ecx
	cmpb	$19, %cl
	jbe	.L22
.L81:
	cmpl	%eax, %edx
	cmovl	%eax, %edx
	testb	%sil, %sil
	je	.L3
.L71:
	movzbl	21(%rsp), %esi
	xorl	%eax, %eax
	leal	-65(%rsi), %ecx
	cmpb	$19, %cl
	jbe	.L25
.L82:
	cmpl	%eax, %edx
	cmovl	%eax, %edx
	testb	%sil, %sil
	je	.L3
.L72:
	movzbl	22(%rsp), %esi
	xorl	%eax, %eax
	leal	-65(%rsi), %ecx
	cmpb	$19, %cl
	jbe	.L28
.L83:
	cmpl	%eax, %edx
	cmovl	%eax, %edx
	testb	%sil, %sil
	je	.L3
.L73:
	xorl	%eax, %eax
.L29:
	movzbl	23(%rsp), %edi
	leal	-65(%rdi), %ecx
	cmpb	$19, %cl
	ja	.L33
	movq	$-524358, %rsi
	sarq	%cl, %rsi
	andb	$1, %sil
	jne	.L33
.L3:
	xorl	%eax, %eax
	leaq	.LC1(%rip), %rsi
	movl	$1, %edi
	call	__printf_chk@PLT
	movq	24(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L76
	xorl	%eax, %eax
	addq	$40, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
.L2:
	.cfi_restore_state
	movq	$-524358, %rdx
	sarq	%cl, %rdx
	andl	$1, %edx
	xorl	$1, %edx
	movzbl	%dl, %edx
	jmp	.L4
.L75:
	testb	%al, %al
	je	.L3
.L36:
	xorl	%eax, %eax
	jmp	.L6
.L33:
	cmpl	%eax, %edx
	cmovl	%eax, %edx
	jmp	.L3
.L7:
	movq	$-524358, %rsi
	sarq	%cl, %rsi
	andb	$1, %sil
	jne	.L9
	movzbl	16(%rsp), %esi
	addl	$1, %eax
	leal	-65(%rsi), %ecx
	cmpb	$19, %cl
	ja	.L77
.L10:
	movq	$-524358, %rsi
	sarq	%cl, %rsi
	andb	$1, %sil
	jne	.L12
	movzbl	17(%rsp), %esi
	addl	$1, %eax
	leal	-65(%rsi), %ecx
	cmpb	$19, %cl
	ja	.L78
.L13:
	movq	$-524358, %rsi
	sarq	%cl, %rsi
	andb	$1, %sil
	jne	.L15
	movzbl	18(%rsp), %esi
	addl	$1, %eax
	leal	-65(%rsi), %ecx
	cmpb	$19, %cl
	ja	.L79
.L16:
	movq	$-524358, %rsi
	sarq	%cl, %rsi
	andb	$1, %sil
	jne	.L18
	movzbl	19(%rsp), %esi
	addl	$1, %eax
	leal	-65(%rsi), %ecx
	cmpb	$19, %cl
	ja	.L80
.L19:
	movq	$-524358, %rsi
	sarq	%cl, %rsi
	andb	$1, %sil
	jne	.L21
	movzbl	20(%rsp), %esi
	addl	$1, %eax
	leal	-65(%rsi), %ecx
	cmpb	$19, %cl
	ja	.L81
.L22:
	movq	$-524358, %rsi
	sarq	%cl, %rsi
	andb	$1, %sil
	jne	.L24
	movzbl	21(%rsp), %esi
	addl	$1, %eax
	leal	-65(%rsi), %ecx
	cmpb	$19, %cl
	ja	.L82
.L25:
	movq	$-524358, %rsi
	sarq	%cl, %rsi
	andb	$1, %sil
	jne	.L27
	movzbl	22(%rsp), %esi
	addl	$1, %eax
	leal	-65(%rsi), %ecx
	cmpb	$19, %cl
	ja	.L83
.L28:
	movq	$-524358, %rsi
	sarq	%cl, %rsi
	andb	$1, %sil
	jne	.L30
	addl	$1, %eax
	jmp	.L29
.L9:
	cmpl	%eax, %edx
	cmovl	%eax, %edx
	jmp	.L66
.L12:
	cmpl	%eax, %edx
	cmovl	%eax, %edx
	jmp	.L67
.L15:
	cmpl	%eax, %edx
	cmovl	%eax, %edx
	jmp	.L68
.L18:
	cmpl	%eax, %edx
	cmovl	%eax, %edx
	jmp	.L69
.L21:
	cmpl	%eax, %edx
	cmovl	%eax, %edx
	jmp	.L70
.L24:
	cmpl	%eax, %edx
	cmovl	%eax, %edx
	jmp	.L71
.L27:
	cmpl	%eax, %edx
	cmovl	%eax, %edx
	jmp	.L72
.L30:
	cmpl	%eax, %edx
	cmovl	%eax, %edx
	jmp	.L73
.L76:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.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
/*  ex 5_4
    supercomputerjoi    */

#include <stdio.h>

int main(void){

    char str[11];
    int len = 0, maxLen = 0;
    int i;

    // input S
    scanf("%s", str);

    // calculate max length
    for(i = 0; i < 11; i++){
        // if ATGC len + 1
        if(str[i] == 'A' || str[i] == 'T' || str[i] == 'G' || str[i] == 'C'){
            len++;
        }else{
            if(len > maxLen){
                maxLen = len;
            }
            len = 0;
            if(str[i] == '\0'){
                break;
            }
        }
    }

    // output answer
    printf("%d\n", maxLen);

    return 0;
}```
Given the following C code, your task is to generate highly optimized x86-64 assembly code.
C Code:

```c
/*  ex 5_4
    supercomputerjoi    */

#include <stdio.h>

int main(void){

    char str[11];
    int len = 0, maxLen = 0;
    int i;

    // input S
    scanf("%s", str);

    // calculate max length
    for(i = 0; i < 11; i++){
        // if ATGC len + 1
        if(str[i] == 'A' || str[i] == 'T' || str[i] == 'G' || str[i] == 'C'){
            len++;
        }else{
            if(len > maxLen){
                maxLen = len;
            }
            len = 0;
            if(str[i] == '\0'){
                break;
            }
        }
    }

    // output answer
    printf("%d\n", maxLen);

    return 0;
}```

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:

SHINJUKV
 ATCPDER
 HATAGBYA
 HASAGBYA
 VKUJNIHT
 HATAGCYA
 VKUJNIHS
 ATCPCER
 ATCPBER
 HASAGCYA

0
 3
 4
 2
 1
 5
 0
 3
 3
 3

Given the following C code and assembly code, your task is to generate highly optimized x86-64 assembly code.
C Code:

```c
/*  ex 5_4
    supercomputerjoi    */

#include <stdio.h>

int main(void){

    char str[11];
    int len = 0, maxLen = 0;
    int i;

    // input S
    scanf("%s", str);

    // calculate max length
    for(i = 0; i < 11; i++){
        // if ATGC len + 1
        if(str[i] == 'A' || str[i] == 'T' || str[i] == 'G' || str[i] == 'C'){
            len++;
        }else{
            if(len > maxLen){
                maxLen = len;
            }
            len = 0;
            if(str[i] == '\0'){
                break;
            }
        }
    }

    // output answer
    printf("%d\n", maxLen);

    return 0;
}```

Assembly Code:

```assembly
	.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:
.LFB23:
	.cfi_startproc
	endbr64
	subq	$40, %rsp
	.cfi_def_cfa_offset 48
	leaq	.LC0(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, 24(%rsp)
	xorl	%eax, %eax
	leaq	13(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movzbl	13(%rsp), %eax
	leal	-65(%rax), %ecx
	cmpb	$19, %cl
	jbe	.L2
	xorl	%edx, %edx
	testb	%al, %al
	je	.L3
.L4:
	movzbl	14(%rsp), %eax
	leal	-65(%rax), %ecx
	cmpb	$19, %cl
	ja	.L75
	movq	$-524358, %rax
	sarq	%cl, %rax
	testb	$1, %al
	jne	.L36
	leal	1(%rdx), %eax
	xorl	%edx, %edx
.L6:
	movzbl	15(%rsp), %esi
	leal	-65(%rsi), %ecx
	cmpb	$19, %cl
	jbe	.L7
	cmpl	%eax, %edx
	cmovl	%eax, %edx
	testb	%sil, %sil
	je	.L3
.L66:
	movzbl	16(%rsp), %esi
	xorl	%eax, %eax
	leal	-65(%rsi), %ecx
	cmpb	$19, %cl
	jbe	.L10
.L77:
	cmpl	%eax, %edx
	cmovl	%eax, %edx
	testb	%sil, %sil
	je	.L3
.L67:
	movzbl	17(%rsp), %esi
	xorl	%eax, %eax
	leal	-65(%rsi), %ecx
	cmpb	$19, %cl
	jbe	.L13
.L78:
	cmpl	%eax, %edx
	cmovl	%eax, %edx
	testb	%sil, %sil
	je	.L3
.L68:
	movzbl	18(%rsp), %esi
	xorl	%eax, %eax
	leal	-65(%rsi), %ecx
	cmpb	$19, %cl
	jbe	.L16
.L79:
	cmpl	%eax, %edx
	cmovl	%eax, %edx
	testb	%sil, %sil
	je	.L3
.L69:
	movzbl	19(%rsp), %esi
	xorl	%eax, %eax
	leal	-65(%rsi), %ecx
	cmpb	$19, %cl
	jbe	.L19
.L80:
	cmpl	%eax, %edx
	cmovl	%eax, %edx
	testb	%sil, %sil
	je	.L3
.L70:
	movzbl	20(%rsp), %esi
	xorl	%eax, %eax
	leal	-65(%rsi), %ecx
	cmpb	$19, %cl
	jbe	.L22
.L81:
	cmpl	%eax, %edx
	cmovl	%eax, %edx
	testb	%sil, %sil
	je	.L3
.L71:
	movzbl	21(%rsp), %esi
	xorl	%eax, %eax
	leal	-65(%rsi), %ecx
	cmpb	$19, %cl
	jbe	.L25
.L82:
	cmpl	%eax, %edx
	cmovl	%eax, %edx
	testb	%sil, %sil
	je	.L3
.L72:
	movzbl	22(%rsp), %esi
	xorl	%eax, %eax
	leal	-65(%rsi), %ecx
	cmpb	$19, %cl
	jbe	.L28
.L83:
	cmpl	%eax, %edx
	cmovl	%eax, %edx
	testb	%sil, %sil
	je	.L3
.L73:
	xorl	%eax, %eax
.L29:
	movzbl	23(%rsp), %edi
	leal	-65(%rdi), %ecx
	cmpb	$19, %cl
	ja	.L33
	movq	$-524358, %rsi
	sarq	%cl, %rsi
	andb	$1, %sil
	jne	.L33
.L3:
	xorl	%eax, %eax
	leaq	.LC1(%rip), %rsi
	movl	$1, %edi
	call	__printf_chk@PLT
	movq	24(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L76
	xorl	%eax, %eax
	addq	$40, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
.L2:
	.cfi_restore_state
	movq	$-524358, %rdx
	sarq	%cl, %rdx
	andl	$1, %edx
	xorl	$1, %edx
	movzbl	%dl, %edx
	jmp	.L4
.L75:
	testb	%al, %al
	je	.L3
.L36:
	xorl	%eax, %eax
	jmp	.L6
.L33:
	cmpl	%eax, %edx
	cmovl	%eax, %edx
	jmp	.L3
.L7:
	movq	$-524358, %rsi
	sarq	%cl, %rsi
	andb	$1, %sil
	jne	.L9
	movzbl	16(%rsp), %esi
	addl	$1, %eax
	leal	-65(%rsi), %ecx
	cmpb	$19, %cl
	ja	.L77
.L10:
	movq	$-524358, %rsi
	sarq	%cl, %rsi
	andb	$1, %sil
	jne	.L12
	movzbl	17(%rsp), %esi
	addl	$1, %eax
	leal	-65(%rsi), %ecx
	cmpb	$19, %cl
	ja	.L78
.L13:
	movq	$-524358, %rsi
	sarq	%cl, %rsi
	andb	$1, %sil
	jne	.L15
	movzbl	18(%rsp), %esi
	addl	$1, %eax
	leal	-65(%rsi), %ecx
	cmpb	$19, %cl
	ja	.L79
.L16:
	movq	$-524358, %rsi
	sarq	%cl, %rsi
	andb	$1, %sil
	jne	.L18
	movzbl	19(%rsp), %esi
	addl	$1, %eax
	leal	-65(%rsi), %ecx
	cmpb	$19, %cl
	ja	.L80
.L19:
	movq	$-524358, %rsi
	sarq	%cl, %rsi
	andb	$1, %sil
	jne	.L21
	movzbl	20(%rsp), %esi
	addl	$1, %eax
	leal	-65(%rsi), %ecx
	cmpb	$19, %cl
	ja	.L81
.L22:
	movq	$-524358, %rsi
	sarq	%cl, %rsi
	andb	$1, %sil
	jne	.L24
	movzbl	21(%rsp), %esi
	addl	$1, %eax
	leal	-65(%rsi), %ecx
	cmpb	$19, %cl
	ja	.L82
.L25:
	movq	$-524358, %rsi
	sarq	%cl, %rsi
	andb	$1, %sil
	jne	.L27
	movzbl	22(%rsp), %esi
	addl	$1, %eax
	leal	-65(%rsi), %ecx
	cmpb	$19, %cl
	ja	.L83
.L28:
	movq	$-524358, %rsi
	sarq	%cl, %rsi
	andb	$1, %sil
	jne	.L30
	addl	$1, %eax
	jmp	.L29
.L9:
	cmpl	%eax, %edx
	cmovl	%eax, %edx
	jmp	.L66
.L12:
	cmpl	%eax, %edx
	cmovl	%eax, %edx
	jmp	.L67
.L15:
	cmpl	%eax, %edx
	cmovl	%eax, %edx
	jmp	.L68
.L18:
	cmpl	%eax, %edx
	cmovl	%eax, %edx
	jmp	.L69
.L21:
	cmpl	%eax, %edx
	cmovl	%eax, %edx
	jmp	.L70
.L24:
	cmpl	%eax, %edx
	cmovl	%eax, %edx
	jmp	.L71
.L27:
	cmpl	%eax, %edx
	cmovl	%eax, %edx
	jmp	.L72
.L30:
	cmpl	%eax, %edx
	cmovl	%eax, %edx
	jmp	.L73
.L76:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.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	"%s"
.LC1:
	.string	"%d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	subq	$40, %rsp
	.cfi_def_cfa_offset 48
	leaq	.LC0(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, 24(%rsp)
	xorl	%eax, %eax
	leaq	13(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movzbl	13(%rsp), %eax
	leal	-65(%rax), %ecx
	cmpb	$19, %cl
	jbe	.L2
	xorl	%edx, %edx
	testb	%al, %al
	je	.L3
.L4:
	movzbl	14(%rsp), %eax
	leal	-65(%rax), %ecx
	cmpb	$19, %cl
	ja	.L75
	movq	$-524358, %rax
	sarq	%cl, %rax
	testb	$1, %al
	jne	.L36
	leal	1(%rdx), %eax
	xorl	%edx, %edx
.L6:
	movzbl	15(%rsp), %esi
	leal	-65(%rsi), %ecx
	cmpb	$19, %cl
	jbe	.L7
	cmpl	%eax, %edx
	cmovl	%eax, %edx
	testb	%sil, %sil
	je	.L3
.L66:
	movzbl	16(%rsp), %esi
	xorl	%eax, %eax
	leal	-65(%rsi), %ecx
	cmpb	$19, %cl
	jbe	.L10
.L77:
	cmpl	%eax, %edx
	cmovl	%eax, %edx
	testb	%sil, %sil
	je	.L3
.L67:
	movzbl	17(%rsp), %esi
	xorl	%eax, %eax
	leal	-65(%rsi), %ecx
	cmpb	$19, %cl
	jbe	.L13
.L78:
	cmpl	%eax, %edx
	cmovl	%eax, %edx
	testb	%sil, %sil
	je	.L3
.L68:
	movzbl	18(%rsp), %esi
	xorl	%eax, %eax
	leal	-65(%rsi), %ecx
	cmpb	$19, %cl
	jbe	.L16
.L79:
	cmpl	%eax, %edx
	cmovl	%eax, %edx
	testb	%sil, %sil
	je	.L3
.L69:
	movzbl	19(%rsp), %esi
	xorl	%eax, %eax
	leal	-65(%rsi), %ecx
	cmpb	$19, %cl
	jbe	.L19
.L80:
	cmpl	%eax, %edx
	cmovl	%eax, %edx
	testb	%sil, %sil
	je	.L3
.L70:
	movzbl	20(%rsp), %esi
	xorl	%eax, %eax
	leal	-65(%rsi), %ecx
	cmpb	$19, %cl
	jbe	.L22
.L81:
	cmpl	%eax, %edx
	cmovl	%eax, %edx
	testb	%sil, %sil
	je	.L3
.L71:
	movzbl	21(%rsp), %esi
	xorl	%eax, %eax
	leal	-65(%rsi), %ecx
	cmpb	$19, %cl
	jbe	.L25
.L82:
	cmpl	%eax, %edx
	cmovl	%eax, %edx
	testb	%sil, %sil
	je	.L3
.L72:
	movzbl	22(%rsp), %esi
	xorl	%eax, %eax
	leal	-65(%rsi), %ecx
	cmpb	$19, %cl
	jbe	.L28
.L83:
	cmpl	%eax, %edx
	cmovl	%eax, %edx
	testb	%sil, %sil
	je	.L3
.L73:
	xorl	%eax, %eax
.L29:
	movzbl	23(%rsp), %edi
	leal	-65(%rdi), %ecx
	cmpb	$19, %cl
	ja	.L33
	movq	$-524358, %rsi
	sarq	%cl, %rsi
	andb	$1, %sil
	jne	.L33
.L3:
	xorl	%eax, %eax
	leaq	.LC1(%rip), %rsi
	movl	$1, %edi
	call	__printf_chk@PLT
	movq	24(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L76
	xorl	%eax, %eax
	addq	$40, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
.L2:
	.cfi_restore_state
	movq	$-524358, %rdx
	sarq	%cl, %rdx
	andl	$1, %edx
	xorl	$1, %edx
	movzbl	%dl, %edx
	jmp	.L4
.L75:
	testb	%al, %al
	je	.L3
.L36:
	xorl	%eax, %eax
	jmp	.L6
.L33:
	cmpl	%eax, %edx
	cmovl	%eax, %edx
	jmp	.L3
.L7:
	movq	$-524358, %rsi
	sarq	%cl, %rsi
	andb	$1, %sil
	jne	.L9
	movzbl	16(%rsp), %esi
	addl	$1, %eax
	leal	-65(%rsi), %ecx
	cmpb	$19, %cl
	ja	.L77
.L10:
	movq	$-524358, %rsi
	sarq	%cl, %rsi
	andb	$1, %sil
	jne	.L12
	movzbl	17(%rsp), %esi
	addl	$1, %eax
	leal	-65(%rsi), %ecx
	cmpb	$19, %cl
	ja	.L78
.L13:
	movq	$-524358, %rsi
	sarq	%cl, %rsi
	andb	$1, %sil
	jne	.L15
	movzbl	18(%rsp), %esi
	addl	$1, %eax
	leal	-65(%rsi), %ecx
	cmpb	$19, %cl
	ja	.L79
.L16:
	movq	$-524358, %rsi
	sarq	%cl, %rsi
	andb	$1, %sil
	jne	.L18
	movzbl	19(%rsp), %esi
	addl	$1, %eax
	leal	-65(%rsi), %ecx
	cmpb	$19, %cl
	ja	.L80
.L19:
	movq	$-524358, %rsi
	sarq	%cl, %rsi
	andb	$1, %sil
	jne	.L21
	movzbl	20(%rsp), %esi
	addl	$1, %eax
	leal	-65(%rsi), %ecx
	cmpb	$19, %cl
	ja	.L81
.L22:
	movq	$-524358, %rsi
	sarq	%cl, %rsi
	andb	$1, %sil
	jne	.L24
	movzbl	21(%rsp), %esi
	addl	$1, %eax
	leal	-65(%rsi), %ecx
	cmpb	$19, %cl
	ja	.L82
.L25:
	movq	$-524358, %rsi
	sarq	%cl, %rsi
	andb	$1, %sil
	jne	.L27
	movzbl	22(%rsp), %esi
	addl	$1, %eax
	leal	-65(%rsi), %ecx
	cmpb	$19, %cl
	ja	.L83
.L28:
	movq	$-524358, %rsi
	sarq	%cl, %rsi
	andb	$1, %sil
	jne	.L30
	addl	$1, %eax
	jmp	.L29
.L9:
	cmpl	%eax, %edx
	cmovl	%eax, %edx
	jmp	.L66
.L12:
	cmpl	%eax, %edx
	cmovl	%eax, %edx
	jmp	.L67
.L15:
	cmpl	%eax, %edx
	cmovl	%eax, %edx
	jmp	.L68
.L18:
	cmpl	%eax, %edx
	cmovl	%eax, %edx
	jmp	.L69
.L21:
	cmpl	%eax, %edx
	cmovl	%eax, %edx
	jmp	.L70
.L24:
	cmpl	%eax, %edx
	cmovl	%eax, %edx
	jmp	.L71
.L27:
	cmpl	%eax, %edx
	cmovl	%eax, %edx
	jmp	.L72
.L30:
	cmpl	%eax, %edx
	cmovl	%eax, %edx
	jmp	.L73
.L76:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.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:
```