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>

char str[101];

int getitv(char c){
    int r=0;
    int i,j;
    for(i=0,j=0;str[i]!='\0';i++,j++){
        if(str[i]==c){
            if(j>r)
                r=j;
            j=-1;
        }
    }
    if(j>r)
        return j;
    else
        return r;
}

main(){
    scanf("%s",&str);
    char i;
    int r=1000;

    for(i='a';i<='z';i++){
        if(getitv(i)<r)
            r=getitv(i);
    }
    printf("%d\n",r);
    return 0;
}```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.p2align 4
	.globl	getitv
	.type	getitv, @function
getitv:
.LFB23:
	.cfi_startproc
	endbr64
	movzbl	str(%rip), %edx
	testb	%dl, %dl
	je	.L6
	leaq	1+str(%rip), %rcx
	xorl	%esi, %esi
	xorl	%eax, %eax
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L3:
	movzbl	(%rcx), %edx
	addq	$1, %rcx
	addl	$1, %esi
	testb	%dl, %dl
	je	.L9
.L5:
	cmpb	%dil, %dl
	jne	.L3
	cmpl	%esi, %eax
	cmovl	%esi, %eax
	movzbl	(%rcx), %edx
	addq	$1, %rcx
	xorl	%esi, %esi
	testb	%dl, %dl
	jne	.L5
.L9:
	cmpl	%esi, %eax
	cmovl	%esi, %eax
	ret
	.p2align 4,,10
	.p2align 3
.L6:
	xorl	%eax, %eax
	ret
	.cfi_endproc
.LFE23:
	.size	getitv, .-getitv
	.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:
.LFB24:
	.cfi_startproc
	endbr64
	leaq	str(%rip), %rsi
	subq	$8, %rsp
	.cfi_def_cfa_offset 16
	leaq	.LC0(%rip), %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	$1000, %r9d
	movl	$97, %esi
	movzbl	str(%rip), %r10d
	.p2align 4,,10
	.p2align 3
.L11:
	testb	%r10b, %r10b
	je	.L32
	leaq	1+str(%rip), %r8
	movl	%r10d, %eax
	xorl	%edi, %edi
	xorl	%ecx, %ecx
	movq	%r8, %rdx
	jmp	.L14
	.p2align 4,,10
	.p2align 3
.L12:
	movzbl	(%rdx), %eax
	addq	$1, %rdx
	addl	$1, %ecx
	testb	%al, %al
	je	.L33
.L14:
	cmpb	%al, %sil
	jne	.L12
	cmpl	%ecx, %edi
	cmovl	%ecx, %edi
	movzbl	(%rdx), %eax
	addq	$1, %rdx
	xorl	%ecx, %ecx
	testb	%al, %al
	jne	.L14
.L33:
	cmpl	%ecx, %edi
	cmovl	%ecx, %edi
	cmpl	%r9d, %edi
	jl	.L34
.L22:
	addl	$1, %esi
	cmpb	$123, %sil
	jne	.L11
	movl	%r9d, %edx
	leaq	.LC1(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	xorl	%eax, %eax
	addq	$8, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L34:
	.cfi_restore_state
	movl	%r10d, %eax
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	jmp	.L18
	.p2align 4,,10
	.p2align 3
.L16:
	movzbl	(%r8), %eax
	addq	$1, %r8
	addl	$1, %ecx
	testb	%al, %al
	je	.L35
.L18:
	cmpb	%sil, %al
	jne	.L16
	cmpl	%ecx, %edx
	cmovl	%ecx, %edx
	movzbl	(%r8), %eax
	addq	$1, %r8
	xorl	%ecx, %ecx
	testb	%al, %al
	jne	.L18
.L35:
	cmpl	%ecx, %edx
	cmovge	%edx, %ecx
	movl	%ecx, %r9d
	jmp	.L22
	.p2align 4,,10
	.p2align 3
.L32:
	xorl	%r9d, %r9d
	jmp	.L22
	.cfi_endproc
.LFE24:
	.size	main, .-main
	.globl	str
	.bss
	.align 32
	.type	str, @object
	.size	str, 101
str:
	.zero	101
	.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
	.p2align 4
	.globl	getitv
	.type	getitv, @function
getitv:
.LFB23:
	.cfi_startproc
	endbr64
	movzbl	str(%rip), %edx
	testb	%dl, %dl
	je	.L6
	leaq	1+str(%rip), %rcx
	xorl	%esi, %esi
	xorl	%eax, %eax
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L3:
	movzbl	(%rcx), %edx
	addq	$1, %rcx
	addl	$1, %esi
	testb	%dl, %dl
	je	.L9
.L5:
	cmpb	%dil, %dl
	jne	.L3
	cmpl	%esi, %eax
	cmovl	%esi, %eax
	movzbl	(%rcx), %edx
	addq	$1, %rcx
	xorl	%esi, %esi
	testb	%dl, %dl
	jne	.L5
.L9:
	cmpl	%esi, %eax
	cmovl	%esi, %eax
	ret
	.p2align 4,,10
	.p2align 3
.L6:
	xorl	%eax, %eax
	ret
	.cfi_endproc
.LFE23:
	.size	getitv, .-getitv
	.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:
.LFB24:
	.cfi_startproc
	endbr64
	leaq	str(%rip), %rsi
	subq	$8, %rsp
	.cfi_def_cfa_offset 16
	leaq	.LC0(%rip), %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	$1000, %r9d
	movl	$97, %esi
	movzbl	str(%rip), %r10d
	.p2align 4,,10
	.p2align 3
.L11:
	testb	%r10b, %r10b
	je	.L32
	leaq	1+str(%rip), %r8
	movl	%r10d, %eax
	xorl	%edi, %edi
	xorl	%ecx, %ecx
	movq	%r8, %rdx
	jmp	.L14
	.p2align 4,,10
	.p2align 3
.L12:
	movzbl	(%rdx), %eax
	addq	$1, %rdx
	addl	$1, %ecx
	testb	%al, %al
	je	.L33
.L14:
	cmpb	%al, %sil
	jne	.L12
	cmpl	%ecx, %edi
	cmovl	%ecx, %edi
	movzbl	(%rdx), %eax
	addq	$1, %rdx
	xorl	%ecx, %ecx
	testb	%al, %al
	jne	.L14
.L33:
	cmpl	%ecx, %edi
	cmovl	%ecx, %edi
	cmpl	%r9d, %edi
	jl	.L34
.L22:
	addl	$1, %esi
	cmpb	$123, %sil
	jne	.L11
	movl	%r9d, %edx
	leaq	.LC1(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	xorl	%eax, %eax
	addq	$8, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L34:
	.cfi_restore_state
	movl	%r10d, %eax
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	jmp	.L18
	.p2align 4,,10
	.p2align 3
.L16:
	movzbl	(%r8), %eax
	addq	$1, %r8
	addl	$1, %ecx
	testb	%al, %al
	je	.L35
.L18:
	cmpb	%sil, %al
	jne	.L16
	cmpl	%ecx, %edx
	cmovl	%ecx, %edx
	movzbl	(%r8), %eax
	addq	$1, %r8
	xorl	%ecx, %ecx
	testb	%al, %al
	jne	.L18
.L35:
	cmpl	%ecx, %edx
	cmovge	%edx, %ecx
	movl	%ecx, %r9d
	jmp	.L22
	.p2align 4,,10
	.p2align 3
.L32:
	xorl	%r9d, %r9d
	jmp	.L22
	.cfi_endproc
.LFE24:
	.size	main, .-main
	.globl	str
	.bss
	.align 32
	.type	str, @object
	.size	str, 101
str:
	.zero	101
	.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
	.p2align 4
	.globl	getitv
	.type	getitv, @function
getitv:
.LFB23:
	.cfi_startproc
	endbr64
	movzbl	str(%rip), %edx
	testb	%dl, %dl
	je	.L6
	leaq	1+str(%rip), %rcx
	xorl	%esi, %esi
	xorl	%eax, %eax
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L3:
	movzbl	(%rcx), %edx
	addq	$1, %rcx
	addl	$1, %esi
	testb	%dl, %dl
	je	.L9
.L5:
	cmpb	%dil, %dl
	jne	.L3
	cmpl	%esi, %eax
	cmovl	%esi, %eax
	movzbl	(%rcx), %edx
	addq	$1, %rcx
	xorl	%esi, %esi
	testb	%dl, %dl
	jne	.L5
.L9:
	cmpl	%esi, %eax
	cmovl	%esi, %eax
	ret
	.p2align 4,,10
	.p2align 3
.L6:
	xorl	%eax, %eax
	ret
	.cfi_endproc
.LFE23:
	.size	getitv, .-getitv
	.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:
.LFB24:
	.cfi_startproc
	endbr64
	leaq	str(%rip), %rsi
	subq	$8, %rsp
	.cfi_def_cfa_offset 16
	leaq	.LC0(%rip), %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	$1000, %r9d
	movl	$97, %esi
	movzbl	str(%rip), %r10d
	.p2align 4,,10
	.p2align 3
.L11:
	testb	%r10b, %r10b
	je	.L32
	leaq	1+str(%rip), %r8
	movl	%r10d, %eax
	xorl	%edi, %edi
	xorl	%ecx, %ecx
	movq	%r8, %rdx
	jmp	.L14
	.p2align 4,,10
	.p2align 3
.L12:
	movzbl	(%rdx), %eax
	addq	$1, %rdx
	addl	$1, %ecx
	testb	%al, %al
	je	.L33
.L14:
	cmpb	%al, %sil
	jne	.L12
	cmpl	%ecx, %edi
	cmovl	%ecx, %edi
	movzbl	(%rdx), %eax
	addq	$1, %rdx
	xorl	%ecx, %ecx
	testb	%al, %al
	jne	.L14
.L33:
	cmpl	%ecx, %edi
	cmovl	%ecx, %edi
	cmpl	%r9d, %edi
	jl	.L34
.L22:
	addl	$1, %esi
	cmpb	$123, %sil
	jne	.L11
	movl	%r9d, %edx
	leaq	.LC1(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	xorl	%eax, %eax
	addq	$8, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L34:
	.cfi_restore_state
	movl	%r10d, %eax
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	jmp	.L18
	.p2align 4,,10
	.p2align 3
.L16:
	movzbl	(%r8), %eax
	addq	$1, %r8
	addl	$1, %ecx
	testb	%al, %al
	je	.L35
.L18:
	cmpb	%sil, %al
	jne	.L16
	cmpl	%ecx, %edx
	cmovl	%ecx, %edx
	movzbl	(%r8), %eax
	addq	$1, %r8
	xorl	%ecx, %ecx
	testb	%al, %al
	jne	.L18
.L35:
	cmpl	%ecx, %edx
	cmovge	%edx, %ecx
	movl	%ecx, %r9d
	jmp	.L22
	.p2align 4,,10
	.p2align 3
.L32:
	xorl	%r9d, %r9d
	jmp	.L22
	.cfi_endproc
.LFE24:
	.size	main, .-main
	.globl	str
	.bss
	.align 32
	.type	str, @object
	.size	str, 101
str:
	.zero	101
	.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>

char str[101];

int getitv(char c){
    int r=0;
    int i,j;
    for(i=0,j=0;str[i]!='\0';i++,j++){
        if(str[i]==c){
            if(j>r)
                r=j;
            j=-1;
        }
    }
    if(j>r)
        return j;
    else
        return r;
}

main(){
    scanf("%s",&str);
    char i;
    int r=1000;

    for(i='a';i<='z';i++){
        if(getitv(i)<r)
            r=getitv(i);
    }
    printf("%d\n",r);
    return 0;
}```
Given the following C code, your task is to generate highly optimized x86-64 assembly code.
C Code:

```c
#include <stdio.h>

char str[101];

int getitv(char c){
    int r=0;
    int i,j;
    for(i=0,j=0;str[i]!='\0';i++,j++){
        if(str[i]==c){
            if(j>r)
                r=j;
            j=-1;
        }
    }
    if(j>r)
        return j;
    else
        return r;
}

main(){
    scanf("%s",&str);
    char i;
    int r=1000;

    for(i='a';i<='z';i++){
        if(getitv(i)<r)
            r=getitv(i);
    }
    printf("%d\n",r);
    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:

resval
 whbrjpjyhsrywlqjxcbrbaomnw
 zzy
 lakjac
 xmboabrbnxjrlwyrthyjpjrchv
 whcrjpbyhtxywkrlxnbrbaojmr
 smjoabjdoxmrjwypugydyqrchv
 whdrpxdwhuozxkrmxodjaaojkt
 xwwwnajdrxmrqwzpugnhlojced
 wyeoqidphazibqrnvxibngzwpx

3
 8
 1
 2
 6
 10
 11
 9
 12
 7

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>

char str[101];

int getitv(char c){
    int r=0;
    int i,j;
    for(i=0,j=0;str[i]!='\0';i++,j++){
        if(str[i]==c){
            if(j>r)
                r=j;
            j=-1;
        }
    }
    if(j>r)
        return j;
    else
        return r;
}

main(){
    scanf("%s",&str);
    char i;
    int r=1000;

    for(i='a';i<='z';i++){
        if(getitv(i)<r)
            r=getitv(i);
    }
    printf("%d\n",r);
    return 0;
}```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.p2align 4
	.globl	getitv
	.type	getitv, @function
getitv:
.LFB23:
	.cfi_startproc
	endbr64
	movzbl	str(%rip), %edx
	testb	%dl, %dl
	je	.L6
	leaq	1+str(%rip), %rcx
	xorl	%esi, %esi
	xorl	%eax, %eax
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L3:
	movzbl	(%rcx), %edx
	addq	$1, %rcx
	addl	$1, %esi
	testb	%dl, %dl
	je	.L9
.L5:
	cmpb	%dil, %dl
	jne	.L3
	cmpl	%esi, %eax
	cmovl	%esi, %eax
	movzbl	(%rcx), %edx
	addq	$1, %rcx
	xorl	%esi, %esi
	testb	%dl, %dl
	jne	.L5
.L9:
	cmpl	%esi, %eax
	cmovl	%esi, %eax
	ret
	.p2align 4,,10
	.p2align 3
.L6:
	xorl	%eax, %eax
	ret
	.cfi_endproc
.LFE23:
	.size	getitv, .-getitv
	.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:
.LFB24:
	.cfi_startproc
	endbr64
	leaq	str(%rip), %rsi
	subq	$8, %rsp
	.cfi_def_cfa_offset 16
	leaq	.LC0(%rip), %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	$1000, %r9d
	movl	$97, %esi
	movzbl	str(%rip), %r10d
	.p2align 4,,10
	.p2align 3
.L11:
	testb	%r10b, %r10b
	je	.L32
	leaq	1+str(%rip), %r8
	movl	%r10d, %eax
	xorl	%edi, %edi
	xorl	%ecx, %ecx
	movq	%r8, %rdx
	jmp	.L14
	.p2align 4,,10
	.p2align 3
.L12:
	movzbl	(%rdx), %eax
	addq	$1, %rdx
	addl	$1, %ecx
	testb	%al, %al
	je	.L33
.L14:
	cmpb	%al, %sil
	jne	.L12
	cmpl	%ecx, %edi
	cmovl	%ecx, %edi
	movzbl	(%rdx), %eax
	addq	$1, %rdx
	xorl	%ecx, %ecx
	testb	%al, %al
	jne	.L14
.L33:
	cmpl	%ecx, %edi
	cmovl	%ecx, %edi
	cmpl	%r9d, %edi
	jl	.L34
.L22:
	addl	$1, %esi
	cmpb	$123, %sil
	jne	.L11
	movl	%r9d, %edx
	leaq	.LC1(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	xorl	%eax, %eax
	addq	$8, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L34:
	.cfi_restore_state
	movl	%r10d, %eax
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	jmp	.L18
	.p2align 4,,10
	.p2align 3
.L16:
	movzbl	(%r8), %eax
	addq	$1, %r8
	addl	$1, %ecx
	testb	%al, %al
	je	.L35
.L18:
	cmpb	%sil, %al
	jne	.L16
	cmpl	%ecx, %edx
	cmovl	%ecx, %edx
	movzbl	(%r8), %eax
	addq	$1, %r8
	xorl	%ecx, %ecx
	testb	%al, %al
	jne	.L18
.L35:
	cmpl	%ecx, %edx
	cmovge	%edx, %ecx
	movl	%ecx, %r9d
	jmp	.L22
	.p2align 4,,10
	.p2align 3
.L32:
	xorl	%r9d, %r9d
	jmp	.L22
	.cfi_endproc
.LFE24:
	.size	main, .-main
	.globl	str
	.bss
	.align 32
	.type	str, @object
	.size	str, 101
str:
	.zero	101
	.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
	.p2align 4
	.globl	getitv
	.type	getitv, @function
getitv:
.LFB23:
	.cfi_startproc
	endbr64
	movzbl	str(%rip), %edx
	testb	%dl, %dl
	je	.L6
	leaq	1+str(%rip), %rcx
	xorl	%esi, %esi
	xorl	%eax, %eax
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L3:
	movzbl	(%rcx), %edx
	addq	$1, %rcx
	addl	$1, %esi
	testb	%dl, %dl
	je	.L9
.L5:
	cmpb	%dil, %dl
	jne	.L3
	cmpl	%esi, %eax
	cmovl	%esi, %eax
	movzbl	(%rcx), %edx
	addq	$1, %rcx
	xorl	%esi, %esi
	testb	%dl, %dl
	jne	.L5
.L9:
	cmpl	%esi, %eax
	cmovl	%esi, %eax
	ret
	.p2align 4,,10
	.p2align 3
.L6:
	xorl	%eax, %eax
	ret
	.cfi_endproc
.LFE23:
	.size	getitv, .-getitv
	.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:
.LFB24:
	.cfi_startproc
	endbr64
	leaq	str(%rip), %rsi
	subq	$8, %rsp
	.cfi_def_cfa_offset 16
	leaq	.LC0(%rip), %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	$1000, %r9d
	movl	$97, %esi
	movzbl	str(%rip), %r10d
	.p2align 4,,10
	.p2align 3
.L11:
	testb	%r10b, %r10b
	je	.L32
	leaq	1+str(%rip), %r8
	movl	%r10d, %eax
	xorl	%edi, %edi
	xorl	%ecx, %ecx
	movq	%r8, %rdx
	jmp	.L14
	.p2align 4,,10
	.p2align 3
.L12:
	movzbl	(%rdx), %eax
	addq	$1, %rdx
	addl	$1, %ecx
	testb	%al, %al
	je	.L33
.L14:
	cmpb	%al, %sil
	jne	.L12
	cmpl	%ecx, %edi
	cmovl	%ecx, %edi
	movzbl	(%rdx), %eax
	addq	$1, %rdx
	xorl	%ecx, %ecx
	testb	%al, %al
	jne	.L14
.L33:
	cmpl	%ecx, %edi
	cmovl	%ecx, %edi
	cmpl	%r9d, %edi
	jl	.L34
.L22:
	addl	$1, %esi
	cmpb	$123, %sil
	jne	.L11
	movl	%r9d, %edx
	leaq	.LC1(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	xorl	%eax, %eax
	addq	$8, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L34:
	.cfi_restore_state
	movl	%r10d, %eax
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	jmp	.L18
	.p2align 4,,10
	.p2align 3
.L16:
	movzbl	(%r8), %eax
	addq	$1, %r8
	addl	$1, %ecx
	testb	%al, %al
	je	.L35
.L18:
	cmpb	%sil, %al
	jne	.L16
	cmpl	%ecx, %edx
	cmovl	%ecx, %edx
	movzbl	(%r8), %eax
	addq	$1, %r8
	xorl	%ecx, %ecx
	testb	%al, %al
	jne	.L18
.L35:
	cmpl	%ecx, %edx
	cmovge	%edx, %ecx
	movl	%ecx, %r9d
	jmp	.L22
	.p2align 4,,10
	.p2align 3
.L32:
	xorl	%r9d, %r9d
	jmp	.L22
	.cfi_endproc
.LFE24:
	.size	main, .-main
	.globl	str
	.bss
	.align 32
	.type	str, @object
	.size	str, 101
str:
	.zero	101
	.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:
```