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>
int main(){
    char Sa[100],Sb[100],Sc[100];
    int i=0,j=0,k=0;
    char p='a';
    scanf("%s",Sa);
    scanf("%s",Sb);
    scanf("%s",Sc);
    while(1){
        switch(p){
            case 'a':{
                if(Sa[i]=='a')p='a';
                else if(Sa[i]=='b')p='b';
                else p='c';
                i++; break;
            }
            case 'b':{
                if(Sb[j]=='a')p='a';
                else if(Sb[j]=='b')p='b';
                else p='c';
                j++; break;
            }
            case 'c':{
                if(Sc[k]=='a')p='a';
                else if(Sc[k]=='b')p='b';
                else p='c';
                k++; break;
            }
        }
        if(p=='a'){
            if(Sa[i]=='\0'){
                printf("A");
                break;
            }
        }else if(p=='b'){
            if(Sb[j]=='\0'){
                printf("B");
                break;
            }
        }else{
            if(Sc[k]=='\0'){
                printf("C");
                break;
            }
        }
        
    }
    return 0;
}
```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%s"
	.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	$352, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movl	$0, -348(%rbp)
	movl	$0, -344(%rbp)
	movl	$0, -340(%rbp)
	movb	$97, -349(%rbp)
	leaq	-336(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	leaq	-224(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	leaq	-112(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
.L19:
	movsbl	-349(%rbp), %eax
	cmpl	$99, %eax
	je	.L2
	cmpl	$99, %eax
	jg	.L3
	cmpl	$97, %eax
	je	.L4
	cmpl	$98, %eax
	je	.L5
	jmp	.L3
.L4:
	movl	-348(%rbp), %eax
	cltq
	movzbl	-336(%rbp,%rax), %eax
	cmpb	$97, %al
	jne	.L6
	movb	$97, -349(%rbp)
	jmp	.L7
.L6:
	movl	-348(%rbp), %eax
	cltq
	movzbl	-336(%rbp,%rax), %eax
	cmpb	$98, %al
	jne	.L8
	movb	$98, -349(%rbp)
	jmp	.L7
.L8:
	movb	$99, -349(%rbp)
.L7:
	addl	$1, -348(%rbp)
	jmp	.L3
.L5:
	movl	-344(%rbp), %eax
	cltq
	movzbl	-224(%rbp,%rax), %eax
	cmpb	$97, %al
	jne	.L9
	movb	$97, -349(%rbp)
	jmp	.L10
.L9:
	movl	-344(%rbp), %eax
	cltq
	movzbl	-224(%rbp,%rax), %eax
	cmpb	$98, %al
	jne	.L11
	movb	$98, -349(%rbp)
	jmp	.L10
.L11:
	movb	$99, -349(%rbp)
.L10:
	addl	$1, -344(%rbp)
	jmp	.L3
.L2:
	movl	-340(%rbp), %eax
	cltq
	movzbl	-112(%rbp,%rax), %eax
	cmpb	$97, %al
	jne	.L12
	movb	$97, -349(%rbp)
	jmp	.L13
.L12:
	movl	-340(%rbp), %eax
	cltq
	movzbl	-112(%rbp,%rax), %eax
	cmpb	$98, %al
	jne	.L14
	movb	$98, -349(%rbp)
	jmp	.L13
.L14:
	movb	$99, -349(%rbp)
.L13:
	addl	$1, -340(%rbp)
	nop
.L3:
	cmpb	$97, -349(%rbp)
	jne	.L15
	movl	-348(%rbp), %eax
	cltq
	movzbl	-336(%rbp,%rax), %eax
	testb	%al, %al
	jne	.L19
	movl	$65, %edi
	call	putchar@PLT
	jmp	.L17
.L15:
	cmpb	$98, -349(%rbp)
	jne	.L18
	movl	-344(%rbp), %eax
	cltq
	movzbl	-224(%rbp,%rax), %eax
	testb	%al, %al
	jne	.L19
	movl	$66, %edi
	call	putchar@PLT
	jmp	.L17
.L18:
	movl	-340(%rbp), %eax
	cltq
	movzbl	-112(%rbp,%rax), %eax
	testb	%al, %al
	jne	.L19
	movl	$67, %edi
	call	putchar@PLT
.L17:
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L21
	call	__stack_chk_fail@PLT
.L21:
	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"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	leaq	.LC0(%rip), %rbp
	movq	%rbp, %rdi
	subq	$336, %rsp
	.cfi_def_cfa_offset 352
	movq	%fs:40, %rax
	movq	%rax, 328(%rsp)
	xorl	%eax, %eax
	movq	%rsp, %rsi
	call	__isoc99_scanf@PLT
	leaq	112(%rsp), %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	leaq	224(%rsp), %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movzbl	(%rsp), %eax
	leaq	1(%rsp), %rsi
	xorl	%ecx, %ecx
	xorl	%edi, %edi
	leaq	223(%rsp), %r8
	leaq	111(%rsp), %r9
	.p2align 4,,10
	.p2align 3
.L9:
	cmpb	$97, %al
	je	.L2
	cmpb	$98, %al
	je	.L8
.L5:
	addl	$1, %ecx
	movslq	%ecx, %rdx
.L7:
	movzbl	(%r8,%rdx), %eax
	testb	%al, %al
	je	.L34
	movl	%edx, %ecx
	cmpb	$97, %al
	je	.L2
	addq	$1, %rdx
	cmpb	$98, %al
	jne	.L7
.L8:
	addl	$1, %edi
	movslq	%edi, %rax
	movzbl	(%r9,%rax), %edx
	testb	%dl, %dl
	je	.L35
.L11:
	movl	%eax, %edi
	cmpb	$97, %dl
	je	.L2
	addq	$1, %rax
	cmpb	$98, %dl
	jne	.L5
	movzbl	(%r9,%rax), %edx
	testb	%dl, %dl
	jne	.L11
.L35:
	movl	$66, %edi
	call	putchar@PLT
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L2:
	movzbl	(%rsi), %eax
	addq	$1, %rsi
	testb	%al, %al
	jne	.L9
	movl	$65, %edi
	call	putchar@PLT
.L10:
	movq	328(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L36
	addq	$336, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 16
	xorl	%eax, %eax
	popq	%rbp
	.cfi_def_cfa_offset 8
	ret
.L34:
	.cfi_restore_state
	movl	$67, %edi
	call	putchar@PLT
	jmp	.L10
.L36:
	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
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%s"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	leaq	.LC0(%rip), %rbp
	movq	%rbp, %rdi
	subq	$336, %rsp
	.cfi_def_cfa_offset 352
	movq	%fs:40, %rax
	movq	%rax, 328(%rsp)
	xorl	%eax, %eax
	movq	%rsp, %rsi
	call	__isoc99_scanf@PLT
	leaq	112(%rsp), %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	leaq	224(%rsp), %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movzbl	(%rsp), %eax
	leaq	1(%rsp), %rsi
	xorl	%ecx, %ecx
	xorl	%edi, %edi
	leaq	223(%rsp), %r8
	leaq	111(%rsp), %r9
	.p2align 4,,10
	.p2align 3
.L9:
	cmpb	$97, %al
	je	.L2
	cmpb	$98, %al
	je	.L8
.L5:
	addl	$1, %ecx
	movslq	%ecx, %rdx
.L7:
	movzbl	(%r8,%rdx), %eax
	testb	%al, %al
	je	.L34
	movl	%edx, %ecx
	cmpb	$97, %al
	je	.L2
	addq	$1, %rdx
	cmpb	$98, %al
	jne	.L7
.L8:
	addl	$1, %edi
	movslq	%edi, %rax
	movzbl	(%r9,%rax), %edx
	testb	%dl, %dl
	je	.L35
.L11:
	movl	%eax, %edi
	cmpb	$97, %dl
	je	.L2
	addq	$1, %rax
	cmpb	$98, %dl
	jne	.L5
	movzbl	(%r9,%rax), %edx
	testb	%dl, %dl
	jne	.L11
.L35:
	movl	$66, %edi
	call	putchar@PLT
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L2:
	movzbl	(%rsi), %eax
	addq	$1, %rsi
	testb	%al, %al
	jne	.L9
	movl	$65, %edi
	call	putchar@PLT
.L10:
	movq	328(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L36
	addq	$336, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 16
	xorl	%eax, %eax
	popq	%rbp
	.cfi_def_cfa_offset 8
	ret
.L34:
	.cfi_restore_state
	movl	$67, %edi
	call	putchar@PLT
	jmp	.L10
.L36:
	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:

#include<stdio.h>
int main(){
    char Sa[100],Sb[100],Sc[100];
    int i=0,j=0,k=0;
    char p='a';
    scanf("%s",Sa);
    scanf("%s",Sb);
    scanf("%s",Sc);
    while(1){
        switch(p){
            case 'a':{
                if(Sa[i]=='a')p='a';
                else if(Sa[i]=='b')p='b';
                else p='c';
                i++; break;
            }
            case 'b':{
                if(Sb[j]=='a')p='a';
                else if(Sb[j]=='b')p='b';
                else p='c';
                j++; break;
            }
            case 'c':{
                if(Sc[k]=='a')p='a';
                else if(Sc[k]=='b')p='b';
                else p='c';
                k++; break;
            }
        }
        if(p=='a'){
            if(Sa[i]=='\0'){
                printf("A");
                break;
            }
        }else if(p=='b'){
            if(Sb[j]=='\0'){
                printf("B");
                break;
            }
        }else{
            if(Sc[k]=='\0'){
                printf("C");
                break;
            }
        }
        
    }
    return 0;
}

abcb
aabb
bccc
 caa
accc
ca
 aaca
aabb
cccc
 abcb
bbaa
bccc
 aacb
bbaa
bccc
 aacb
bbaa
cccb
 aaca
bbaa
cccb
 aaca
aabb
cccb
 acaa
aabb
cccc
 acaa
abab
cccc

B A C B A A A A C C
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>
int main(){
    char Sa[100],Sb[100],Sc[100];
    int i=0,j=0,k=0;
    char p='a';
    scanf("%s",Sa);
    scanf("%s",Sb);
    scanf("%s",Sc);
    while(1){
        switch(p){
            case 'a':{
                if(Sa[i]=='a')p='a';
                else if(Sa[i]=='b')p='b';
                else p='c';
                i++; break;
            }
            case 'b':{
                if(Sb[j]=='a')p='a';
                else if(Sb[j]=='b')p='b';
                else p='c';
                j++; break;
            }
            case 'c':{
                if(Sc[k]=='a')p='a';
                else if(Sc[k]=='b')p='b';
                else p='c';
                k++; break;
            }
        }
        if(p=='a'){
            if(Sa[i]=='\0'){
                printf("A");
                break;
            }
        }else if(p=='b'){
            if(Sb[j]=='\0'){
                printf("B");
                break;
            }
        }else{
            if(Sc[k]=='\0'){
                printf("C");
                break;
            }
        }
        
    }
    return 0;
}
```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%s"
	.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	$352, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movl	$0, -348(%rbp)
	movl	$0, -344(%rbp)
	movl	$0, -340(%rbp)
	movb	$97, -349(%rbp)
	leaq	-336(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	leaq	-224(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	leaq	-112(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
.L19:
	movsbl	-349(%rbp), %eax
	cmpl	$99, %eax
	je	.L2
	cmpl	$99, %eax
	jg	.L3
	cmpl	$97, %eax
	je	.L4
	cmpl	$98, %eax
	je	.L5
	jmp	.L3
.L4:
	movl	-348(%rbp), %eax
	cltq
	movzbl	-336(%rbp,%rax), %eax
	cmpb	$97, %al
	jne	.L6
	movb	$97, -349(%rbp)
	jmp	.L7
.L6:
	movl	-348(%rbp), %eax
	cltq
	movzbl	-336(%rbp,%rax), %eax
	cmpb	$98, %al
	jne	.L8
	movb	$98, -349(%rbp)
	jmp	.L7
.L8:
	movb	$99, -349(%rbp)
.L7:
	addl	$1, -348(%rbp)
	jmp	.L3
.L5:
	movl	-344(%rbp), %eax
	cltq
	movzbl	-224(%rbp,%rax), %eax
	cmpb	$97, %al
	jne	.L9
	movb	$97, -349(%rbp)
	jmp	.L10
.L9:
	movl	-344(%rbp), %eax
	cltq
	movzbl	-224(%rbp,%rax), %eax
	cmpb	$98, %al
	jne	.L11
	movb	$98, -349(%rbp)
	jmp	.L10
.L11:
	movb	$99, -349(%rbp)
.L10:
	addl	$1, -344(%rbp)
	jmp	.L3
.L2:
	movl	-340(%rbp), %eax
	cltq
	movzbl	-112(%rbp,%rax), %eax
	cmpb	$97, %al
	jne	.L12
	movb	$97, -349(%rbp)
	jmp	.L13
.L12:
	movl	-340(%rbp), %eax
	cltq
	movzbl	-112(%rbp,%rax), %eax
	cmpb	$98, %al
	jne	.L14
	movb	$98, -349(%rbp)
	jmp	.L13
.L14:
	movb	$99, -349(%rbp)
.L13:
	addl	$1, -340(%rbp)
	nop
.L3:
	cmpb	$97, -349(%rbp)
	jne	.L15
	movl	-348(%rbp), %eax
	cltq
	movzbl	-336(%rbp,%rax), %eax
	testb	%al, %al
	jne	.L19
	movl	$65, %edi
	call	putchar@PLT
	jmp	.L17
.L15:
	cmpb	$98, -349(%rbp)
	jne	.L18
	movl	-344(%rbp), %eax
	cltq
	movzbl	-224(%rbp,%rax), %eax
	testb	%al, %al
	jne	.L19
	movl	$66, %edi
	call	putchar@PLT
	jmp	.L17
.L18:
	movl	-340(%rbp), %eax
	cltq
	movzbl	-112(%rbp,%rax), %eax
	testb	%al, %al
	jne	.L19
	movl	$67, %edi
	call	putchar@PLT
.L17:
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L21
	call	__stack_chk_fail@PLT
.L21:
	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"
	.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	$352, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movl	$0, -348(%rbp)
	movl	$0, -344(%rbp)
	movl	$0, -340(%rbp)
	movb	$97, -349(%rbp)
	leaq	-336(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	leaq	-224(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	leaq	-112(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
.L19:
	movsbl	-349(%rbp), %eax
	cmpl	$99, %eax
	je	.L2
	cmpl	$99, %eax
	jg	.L3
	cmpl	$97, %eax
	je	.L4
	cmpl	$98, %eax
	je	.L5
	jmp	.L3
.L4:
	movl	-348(%rbp), %eax
	cltq
	movzbl	-336(%rbp,%rax), %eax
	cmpb	$97, %al
	jne	.L6
	movb	$97, -349(%rbp)
	jmp	.L7
.L6:
	movl	-348(%rbp), %eax
	cltq
	movzbl	-336(%rbp,%rax), %eax
	cmpb	$98, %al
	jne	.L8
	movb	$98, -349(%rbp)
	jmp	.L7
.L8:
	movb	$99, -349(%rbp)
.L7:
	addl	$1, -348(%rbp)
	jmp	.L3
.L5:
	movl	-344(%rbp), %eax
	cltq
	movzbl	-224(%rbp,%rax), %eax
	cmpb	$97, %al
	jne	.L9
	movb	$97, -349(%rbp)
	jmp	.L10
.L9:
	movl	-344(%rbp), %eax
	cltq
	movzbl	-224(%rbp,%rax), %eax
	cmpb	$98, %al
	jne	.L11
	movb	$98, -349(%rbp)
	jmp	.L10
.L11:
	movb	$99, -349(%rbp)
.L10:
	addl	$1, -344(%rbp)
	jmp	.L3
.L2:
	movl	-340(%rbp), %eax
	cltq
	movzbl	-112(%rbp,%rax), %eax
	cmpb	$97, %al
	jne	.L12
	movb	$97, -349(%rbp)
	jmp	.L13
.L12:
	movl	-340(%rbp), %eax
	cltq
	movzbl	-112(%rbp,%rax), %eax
	cmpb	$98, %al
	jne	.L14
	movb	$98, -349(%rbp)
	jmp	.L13
.L14:
	movb	$99, -349(%rbp)
.L13:
	addl	$1, -340(%rbp)
	nop
.L3:
	cmpb	$97, -349(%rbp)
	jne	.L15
	movl	-348(%rbp), %eax
	cltq
	movzbl	-336(%rbp,%rax), %eax
	testb	%al, %al
	jne	.L19
	movl	$65, %edi
	call	putchar@PLT
	jmp	.L17
.L15:
	cmpb	$98, -349(%rbp)
	jne	.L18
	movl	-344(%rbp), %eax
	cltq
	movzbl	-224(%rbp,%rax), %eax
	testb	%al, %al
	jne	.L19
	movl	$66, %edi
	call	putchar@PLT
	jmp	.L17
.L18:
	movl	-340(%rbp), %eax
	cltq
	movzbl	-112(%rbp,%rax), %eax
	testb	%al, %al
	jne	.L19
	movl	$67, %edi
	call	putchar@PLT
.L17:
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L21
	call	__stack_chk_fail@PLT
.L21:
	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:
