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 min(int a,int b){
  if(a>b){
    return b;
  }else{
    return a;
  }
}
int main(){
  char str[200001] = {};
  int i = 0;
  int j = 0;
  int n = 0;
  char stack[200001] = {};
  int stackcnt = 0;
  
  scanf(" %s",str);
  for(i=0;i<200001;i++){
    if(str[i] != '\0'){
      n++;
    }else{
      break;
    }
  }
  for(i=0;i<n;i++){
    if(stackcnt == 0 || stack[stackcnt-1] == 'T' || (stack[stackcnt-1] == 'S' && str[i] == 'S')){
      stack[stackcnt] = str[i];
      stackcnt++;
    }else {
      stackcnt--;
    }
  }
  
       
  printf("%d",stackcnt);
  return 0;
}
      ```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.globl	min
	.type	min, @function
min:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	movl	%edi, -4(%rbp)
	movl	%esi, -8(%rbp)
	movl	-4(%rbp), %eax
	cmpl	-8(%rbp), %eax
	jle	.L2
	movl	-8(%rbp), %eax
	jmp	.L3
.L2:
	movl	-4(%rbp), %eax
.L3:
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	min, .-min
	.section	.rodata
.LC0:
	.string	" %s"
.LC1:
	.string	"%d"
	.text
	.globl	main
	.type	main, @function
main:
.LFB1:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	leaq	-397312(%rsp), %r11
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	subq	$2736, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movq	$0, -400032(%rbp)
	movq	$0, -400024(%rbp)
	leaq	-400016(%rbp), %rax
	movl	$199985, %edx
	movl	$0, %esi
	movq	%rax, %rdi
	call	memset@PLT
	movl	$0, -400048(%rbp)
	movl	$0, -400036(%rbp)
	movl	$0, -400044(%rbp)
	movq	$0, -200016(%rbp)
	movq	$0, -200008(%rbp)
	leaq	-200000(%rbp), %rax
	movl	$199985, %edx
	movl	$0, %esi
	movq	%rax, %rdi
	call	memset@PLT
	movl	$0, -400040(%rbp)
	leaq	-400032(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -400048(%rbp)
	jmp	.L5
.L9:
	movl	-400048(%rbp), %eax
	cltq
	movzbl	-400032(%rbp,%rax), %eax
	testb	%al, %al
	je	.L17
	addl	$1, -400044(%rbp)
	addl	$1, -400048(%rbp)
.L5:
	cmpl	$200000, -400048(%rbp)
	jle	.L9
	jmp	.L8
.L17:
	nop
.L8:
	movl	$0, -400048(%rbp)
	jmp	.L10
.L14:
	cmpl	$0, -400040(%rbp)
	je	.L11
	movl	-400040(%rbp), %eax
	subl	$1, %eax
	cltq
	movzbl	-200016(%rbp,%rax), %eax
	cmpb	$84, %al
	je	.L11
	movl	-400040(%rbp), %eax
	subl	$1, %eax
	cltq
	movzbl	-200016(%rbp,%rax), %eax
	cmpb	$83, %al
	jne	.L12
	movl	-400048(%rbp), %eax
	cltq
	movzbl	-400032(%rbp,%rax), %eax
	cmpb	$83, %al
	jne	.L12
.L11:
	movl	-400048(%rbp), %eax
	cltq
	movzbl	-400032(%rbp,%rax), %edx
	movl	-400040(%rbp), %eax
	cltq
	movb	%dl, -200016(%rbp,%rax)
	addl	$1, -400040(%rbp)
	jmp	.L13
.L12:
	subl	$1, -400040(%rbp)
.L13:
	addl	$1, -400048(%rbp)
.L10:
	movl	-400048(%rbp), %eax
	cmpl	-400044(%rbp), %eax
	jl	.L14
	movl	-400040(%rbp), %eax
	movl	%eax, %esi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L16
	call	__stack_chk_fail@PLT
.L16:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.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
	.p2align 4
	.globl	min
	.type	min, @function
min:
.LFB23:
	.cfi_startproc
	endbr64
	cmpl	%esi, %edi
	movl	%esi, %eax
	cmovle	%edi, %eax
	ret
	.cfi_endproc
.LFE23:
	.size	min, .-min
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	" %s"
.LC1:
	.string	"%d"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB24:
	.cfi_startproc
	endbr64
	pushq	%rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	leaq	-397312(%rsp), %r11
	.cfi_def_cfa 11, 397328
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	.cfi_def_cfa_register 7
	subq	$2720, %rsp
	.cfi_def_cfa_offset 400048
	pxor	%xmm0, %xmm0
	movl	$199985, %edx
	xorl	%esi, %esi
	movq	%fs:40, %rax
	movq	%rax, 400024(%rsp)
	xorl	%eax, %eax
	leaq	16(%rsp), %rdi
	movaps	%xmm0, (%rsp)
	movq	%rsp, %rbx
	call	memset@PLT
	pxor	%xmm0, %xmm0
	movl	$199985, %edx
	xorl	%esi, %esi
	leaq	200032(%rsp), %rdi
	movaps	%xmm0, 200016(%rsp)
	call	memset@PLT
	movq	%rbx, %rsi
	leaq	.LC0(%rip), %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	xorl	%eax, %eax
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L24:
	addq	$1, %rax
	cmpq	$200001, %rax
	je	.L23
.L5:
	cmpb	$0, (%rax,%rbx)
	movl	%eax, %esi
	jne	.L24
	testl	%eax, %eax
	je	.L25
.L10:
	movq	%rbx, %rax
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L27:
	leal	-1(%rdx), %r8d
	movslq	%r8d, %rdi
	movzbl	200016(%rsp,%rdi), %edi
	cmpb	$84, %dil
	je	.L6
	cmpb	$83, %dil
	je	.L26
.L13:
	addl	$1, %ecx
	movl	%r8d, %edx
	addq	$1, %rax
	cmpl	%ecx, %esi
	jle	.L9
.L8:
	testl	%edx, %edx
	jne	.L27
.L6:
	movzbl	(%rax), %r8d
	movslq	%edx, %rdi
	addl	$1, %ecx
	addl	$1, %edx
	addq	$1, %rax
	movb	%r8b, 200016(%rsp,%rdi)
	cmpl	%ecx, %esi
	jg	.L8
.L9:
	xorl	%eax, %eax
	leaq	.LC1(%rip), %rsi
	movl	$1, %edi
	call	__printf_chk@PLT
	movq	400024(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L28
	addq	$400032, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 16
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L26:
	.cfi_restore_state
	cmpb	$83, (%rax)
	jne	.L13
	jmp	.L6
.L23:
	movl	$200001, %esi
	jmp	.L10
.L25:
	xorl	%edx, %edx
	jmp	.L9
.L28:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE24:
	.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
	.p2align 4
	.globl	min
	.type	min, @function
min:
.LFB23:
	.cfi_startproc
	endbr64
	cmpl	%esi, %edi
	movl	%esi, %eax
	cmovle	%edi, %eax
	ret
	.cfi_endproc
.LFE23:
	.size	min, .-min
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	" %s"
.LC1:
	.string	"%d"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB24:
	.cfi_startproc
	endbr64
	pushq	%rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	leaq	-397312(%rsp), %r11
	.cfi_def_cfa 11, 397328
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	.cfi_def_cfa_register 7
	subq	$2720, %rsp
	.cfi_def_cfa_offset 400048
	pxor	%xmm0, %xmm0
	movl	$199985, %edx
	xorl	%esi, %esi
	movq	%fs:40, %rax
	movq	%rax, 400024(%rsp)
	xorl	%eax, %eax
	leaq	16(%rsp), %rdi
	movaps	%xmm0, (%rsp)
	movq	%rsp, %rbx
	call	memset@PLT
	pxor	%xmm0, %xmm0
	movl	$199985, %edx
	xorl	%esi, %esi
	leaq	200032(%rsp), %rdi
	movaps	%xmm0, 200016(%rsp)
	call	memset@PLT
	movq	%rbx, %rsi
	leaq	.LC0(%rip), %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	xorl	%eax, %eax
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L24:
	addq	$1, %rax
	cmpq	$200001, %rax
	je	.L23
.L5:
	cmpb	$0, (%rax,%rbx)
	movl	%eax, %esi
	jne	.L24
	testl	%eax, %eax
	je	.L25
.L10:
	movq	%rbx, %rax
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L27:
	leal	-1(%rdx), %r8d
	movslq	%r8d, %rdi
	movzbl	200016(%rsp,%rdi), %edi
	cmpb	$84, %dil
	je	.L6
	cmpb	$83, %dil
	je	.L26
.L13:
	addl	$1, %ecx
	movl	%r8d, %edx
	addq	$1, %rax
	cmpl	%ecx, %esi
	jle	.L9
.L8:
	testl	%edx, %edx
	jne	.L27
.L6:
	movzbl	(%rax), %r8d
	movslq	%edx, %rdi
	addl	$1, %ecx
	addl	$1, %edx
	addq	$1, %rax
	movb	%r8b, 200016(%rsp,%rdi)
	cmpl	%ecx, %esi
	jg	.L8
.L9:
	xorl	%eax, %eax
	leaq	.LC1(%rip), %rsi
	movl	$1, %edi
	call	__printf_chk@PLT
	movq	400024(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L28
	addq	$400032, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 16
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L26:
	.cfi_restore_state
	cmpb	$83, (%rax)
	jne	.L13
	jmp	.L6
.L23:
	movl	$200001, %esi
	jmp	.L10
.L25:
	xorl	%edx, %edx
	jmp	.L9
.L28:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE24:
	.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 min(int a,int b){
  if(a>b){
    return b;
  }else{
    return a;
  }
}
int main(){
  char str[200001] = {};
  int i = 0;
  int j = 0;
  int n = 0;
  char stack[200001] = {};
  int stackcnt = 0;
  
  scanf(" %s",str);
  for(i=0;i<200001;i++){
    if(str[i] != '\0'){
      n++;
    }else{
      break;
    }
  }
  for(i=0;i<n;i++){
    if(stackcnt == 0 || stack[stackcnt-1] == 'T' || (stack[stackcnt-1] == 'S' && str[i] == 'S')){
      stack[stackcnt] = str[i];
      stackcnt++;
    }else {
      stackcnt--;
    }
  }
  
       
  printf("%d",stackcnt);
  return 0;
}
      
SSTTTSST
 STTTSS
 SSSTTT
 TTTSSS
 TTTTSSSS
 TSTSST
 SSTTTS
 TSSTST
 STTSST
 TSSSTT

2 4 0 6 8 2 2 2 2 2
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 min(int a,int b){
  if(a>b){
    return b;
  }else{
    return a;
  }
}
int main(){
  char str[200001] = {};
  int i = 0;
  int j = 0;
  int n = 0;
  char stack[200001] = {};
  int stackcnt = 0;
  
  scanf(" %s",str);
  for(i=0;i<200001;i++){
    if(str[i] != '\0'){
      n++;
    }else{
      break;
    }
  }
  for(i=0;i<n;i++){
    if(stackcnt == 0 || stack[stackcnt-1] == 'T' || (stack[stackcnt-1] == 'S' && str[i] == 'S')){
      stack[stackcnt] = str[i];
      stackcnt++;
    }else {
      stackcnt--;
    }
  }
  
       
  printf("%d",stackcnt);
  return 0;
}
      ```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.globl	min
	.type	min, @function
min:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	movl	%edi, -4(%rbp)
	movl	%esi, -8(%rbp)
	movl	-4(%rbp), %eax
	cmpl	-8(%rbp), %eax
	jle	.L2
	movl	-8(%rbp), %eax
	jmp	.L3
.L2:
	movl	-4(%rbp), %eax
.L3:
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	min, .-min
	.section	.rodata
.LC0:
	.string	" %s"
.LC1:
	.string	"%d"
	.text
	.globl	main
	.type	main, @function
main:
.LFB1:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	leaq	-397312(%rsp), %r11
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	subq	$2736, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movq	$0, -400032(%rbp)
	movq	$0, -400024(%rbp)
	leaq	-400016(%rbp), %rax
	movl	$199985, %edx
	movl	$0, %esi
	movq	%rax, %rdi
	call	memset@PLT
	movl	$0, -400048(%rbp)
	movl	$0, -400036(%rbp)
	movl	$0, -400044(%rbp)
	movq	$0, -200016(%rbp)
	movq	$0, -200008(%rbp)
	leaq	-200000(%rbp), %rax
	movl	$199985, %edx
	movl	$0, %esi
	movq	%rax, %rdi
	call	memset@PLT
	movl	$0, -400040(%rbp)
	leaq	-400032(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -400048(%rbp)
	jmp	.L5
.L9:
	movl	-400048(%rbp), %eax
	cltq
	movzbl	-400032(%rbp,%rax), %eax
	testb	%al, %al
	je	.L17
	addl	$1, -400044(%rbp)
	addl	$1, -400048(%rbp)
.L5:
	cmpl	$200000, -400048(%rbp)
	jle	.L9
	jmp	.L8
.L17:
	nop
.L8:
	movl	$0, -400048(%rbp)
	jmp	.L10
.L14:
	cmpl	$0, -400040(%rbp)
	je	.L11
	movl	-400040(%rbp), %eax
	subl	$1, %eax
	cltq
	movzbl	-200016(%rbp,%rax), %eax
	cmpb	$84, %al
	je	.L11
	movl	-400040(%rbp), %eax
	subl	$1, %eax
	cltq
	movzbl	-200016(%rbp,%rax), %eax
	cmpb	$83, %al
	jne	.L12
	movl	-400048(%rbp), %eax
	cltq
	movzbl	-400032(%rbp,%rax), %eax
	cmpb	$83, %al
	jne	.L12
.L11:
	movl	-400048(%rbp), %eax
	cltq
	movzbl	-400032(%rbp,%rax), %edx
	movl	-400040(%rbp), %eax
	cltq
	movb	%dl, -200016(%rbp,%rax)
	addl	$1, -400040(%rbp)
	jmp	.L13
.L12:
	subl	$1, -400040(%rbp)
.L13:
	addl	$1, -400048(%rbp)
.L10:
	movl	-400048(%rbp), %eax
	cmpl	-400044(%rbp), %eax
	jl	.L14
	movl	-400040(%rbp), %eax
	movl	%eax, %esi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L16
	call	__stack_chk_fail@PLT
.L16:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.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
	.globl	min
	.type	min, @function
min:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	movl	%edi, -4(%rbp)
	movl	%esi, -8(%rbp)
	movl	-4(%rbp), %eax
	cmpl	-8(%rbp), %eax
	jle	.L2
	movl	-8(%rbp), %eax
	jmp	.L3
.L2:
	movl	-4(%rbp), %eax
.L3:
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	min, .-min
	.section	.rodata
.LC0:
	.string	" %s"
.LC1:
	.string	"%d"
	.text
	.globl	main
	.type	main, @function
main:
.LFB1:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	leaq	-397312(%rsp), %r11
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	subq	$2736, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movq	$0, -400032(%rbp)
	movq	$0, -400024(%rbp)
	leaq	-400016(%rbp), %rax
	movl	$199985, %edx
	movl	$0, %esi
	movq	%rax, %rdi
	call	memset@PLT
	movl	$0, -400048(%rbp)
	movl	$0, -400036(%rbp)
	movl	$0, -400044(%rbp)
	movq	$0, -200016(%rbp)
	movq	$0, -200008(%rbp)
	leaq	-200000(%rbp), %rax
	movl	$199985, %edx
	movl	$0, %esi
	movq	%rax, %rdi
	call	memset@PLT
	movl	$0, -400040(%rbp)
	leaq	-400032(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -400048(%rbp)
	jmp	.L5
.L9:
	movl	-400048(%rbp), %eax
	cltq
	movzbl	-400032(%rbp,%rax), %eax
	testb	%al, %al
	je	.L17
	addl	$1, -400044(%rbp)
	addl	$1, -400048(%rbp)
.L5:
	cmpl	$200000, -400048(%rbp)
	jle	.L9
	jmp	.L8
.L17:
	nop
.L8:
	movl	$0, -400048(%rbp)
	jmp	.L10
.L14:
	cmpl	$0, -400040(%rbp)
	je	.L11
	movl	-400040(%rbp), %eax
	subl	$1, %eax
	cltq
	movzbl	-200016(%rbp,%rax), %eax
	cmpb	$84, %al
	je	.L11
	movl	-400040(%rbp), %eax
	subl	$1, %eax
	cltq
	movzbl	-200016(%rbp,%rax), %eax
	cmpb	$83, %al
	jne	.L12
	movl	-400048(%rbp), %eax
	cltq
	movzbl	-400032(%rbp,%rax), %eax
	cmpb	$83, %al
	jne	.L12
.L11:
	movl	-400048(%rbp), %eax
	cltq
	movzbl	-400032(%rbp,%rax), %edx
	movl	-400040(%rbp), %eax
	cltq
	movb	%dl, -200016(%rbp,%rax)
	addl	$1, -400040(%rbp)
	jmp	.L13
.L12:
	subl	$1, -400040(%rbp)
.L13:
	addl	$1, -400048(%rbp)
.L10:
	movl	-400048(%rbp), %eax
	cmpl	-400044(%rbp), %eax
	jl	.L14
	movl	-400040(%rbp), %eax
	movl	%eax, %esi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L16
	call	__stack_chk_fail@PLT
.L16:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.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:
