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>
#include <string.h>
#include <stdlib.h>
#define MIN(a, b) (a<b?a:b)

int cmp(const void *a, const void *b) {
	return *(int*)b - *(int*)a;
}

int main(int argc, char const* argv[])
{
	int n, i;
	int k;
	char s[100010];
	int l=0, r=0;
	int ans=0;
	scanf("%d%d%s",&n, &k, s+1);
	s[0] = '_';
	for(i=1; i<=n; i++) {
		if(s[i]=='L') {
			if(s[i-1]=='L') {
				ans++;
			} else {
				l++;
			}
		} else if(s[i]=='R') {
			if(s[i-1]=='R') {
				ans++;
			} else {
				r++;
			}
		}
	}
	int temp = MIN(l, r);
	if(temp > k) {
		ans += k*2;
	} else {
		ans = n-1;
	}
	printf("%d\n", ans);
	
	return 0;
}
```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.p2align 4
	.globl	cmp
	.type	cmp, @function
cmp:
.LFB51:
	.cfi_startproc
	endbr64
	movl	(%rsi), %eax
	subl	(%rdi), %eax
	ret
	.cfi_endproc
.LFE51:
	.size	cmp, .-cmp
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d%d%s"
.LC1:
	.string	"%d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB52:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	pushq	%rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	leaq	-98304(%rsp), %r11
	.cfi_def_cfa 11, 98328
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	.cfi_def_cfa_register 7
	subq	$1752, %rsp
	.cfi_def_cfa_offset 100080
	leaq	.LC0(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, 100040(%rsp)
	xorl	%eax, %eax
	leaq	17(%rsp), %rbp
	leaq	12(%rsp), %rdx
	leaq	8(%rsp), %rsi
	movq	%rbp, %rcx
	call	__isoc99_scanf@PLT
	movl	8(%rsp), %edx
	movb	$95, 16(%rsp)
	testl	%edx, %edx
	jle	.L13
	leaq	16(%rsp), %rbx
	leal	-1(%rdx), %ecx
	xorl	%r9d, %r9d
	xorl	%r8d, %r8d
	movq	%rbx, %rax
	leaq	0(%rbp,%rcx), %rsi
	xorl	%edi, %edi
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L5:
	cmpb	$82, %cl
	je	.L17
.L7:
	addq	$1, %rax
	cmpq	%rsi, %rax
	je	.L4
.L9:
	movzbl	1(%rax), %ecx
	cmpb	$76, %cl
	jne	.L5
	cmpb	$76, (%rax)
	je	.L16
	addq	$1, %rax
	addl	$1, %edi
	cmpq	%rsi, %rax
	jne	.L9
	.p2align 4,,10
	.p2align 3
.L4:
	cmpl	%r8d, %edi
	movl	12(%rsp), %eax
	leaq	.LC1(%rip), %rsi
	cmovg	%r8d, %edi
	subl	$1, %edx
	leal	(%r9,%rax,2), %ecx
	cmpl	%edi, %eax
	movl	$1, %edi
	cmovl	%ecx, %edx
	xorl	%eax, %eax
	call	__printf_chk@PLT
	movq	100040(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L18
	addq	$100056, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 16
	popq	%rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L17:
	.cfi_restore_state
	cmpb	$82, (%rax)
	je	.L16
	addl	$1, %r8d
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L16:
	addl	$1, %r9d
	jmp	.L7
.L13:
	xorl	%r9d, %r9d
	xorl	%r8d, %r8d
	xorl	%edi, %edi
	jmp	.L4
.L18:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE52:
	.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
	.p2align 4
	.globl	cmp
	.type	cmp, @function
cmp:
.LFB51:
	.cfi_startproc
	endbr64
	movl	(%rsi), %eax
	subl	(%rdi), %eax
	ret
	.cfi_endproc
.LFE51:
	.size	cmp, .-cmp
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d%d%s"
.LC1:
	.string	"%d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB52:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	pushq	%rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	leaq	-98304(%rsp), %r11
	.cfi_def_cfa 11, 98328
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	.cfi_def_cfa_register 7
	subq	$1752, %rsp
	.cfi_def_cfa_offset 100080
	leaq	.LC0(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, 100040(%rsp)
	xorl	%eax, %eax
	leaq	17(%rsp), %rbp
	leaq	12(%rsp), %rdx
	leaq	8(%rsp), %rsi
	movq	%rbp, %rcx
	call	__isoc99_scanf@PLT
	movl	8(%rsp), %edx
	movb	$95, 16(%rsp)
	testl	%edx, %edx
	jle	.L13
	leaq	16(%rsp), %rbx
	leal	-1(%rdx), %ecx
	xorl	%r9d, %r9d
	xorl	%r8d, %r8d
	movq	%rbx, %rax
	leaq	0(%rbp,%rcx), %rsi
	xorl	%edi, %edi
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L5:
	cmpb	$82, %cl
	je	.L17
.L7:
	addq	$1, %rax
	cmpq	%rsi, %rax
	je	.L4
.L9:
	movzbl	1(%rax), %ecx
	cmpb	$76, %cl
	jne	.L5
	cmpb	$76, (%rax)
	je	.L16
	addq	$1, %rax
	addl	$1, %edi
	cmpq	%rsi, %rax
	jne	.L9
	.p2align 4,,10
	.p2align 3
.L4:
	cmpl	%r8d, %edi
	movl	12(%rsp), %eax
	leaq	.LC1(%rip), %rsi
	cmovg	%r8d, %edi
	subl	$1, %edx
	leal	(%r9,%rax,2), %ecx
	cmpl	%edi, %eax
	movl	$1, %edi
	cmovl	%ecx, %edx
	xorl	%eax, %eax
	call	__printf_chk@PLT
	movq	100040(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L18
	addq	$100056, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 16
	popq	%rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L17:
	.cfi_restore_state
	cmpb	$82, (%rax)
	je	.L16
	addl	$1, %r8d
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L16:
	addl	$1, %r9d
	jmp	.L7
.L13:
	xorl	%r9d, %r9d
	xorl	%r8d, %r8d
	xorl	%edi, %edi
	jmp	.L4
.L18:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE52:
	.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
	.p2align 4
	.globl	cmp
	.type	cmp, @function
cmp:
.LFB51:
	.cfi_startproc
	endbr64
	movl	(%rsi), %eax
	subl	(%rdi), %eax
	ret
	.cfi_endproc
.LFE51:
	.size	cmp, .-cmp
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d%d%s"
.LC1:
	.string	"%d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB52:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	pushq	%rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	leaq	-98304(%rsp), %r11
	.cfi_def_cfa 11, 98328
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	.cfi_def_cfa_register 7
	subq	$1752, %rsp
	.cfi_def_cfa_offset 100080
	leaq	.LC0(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, 100040(%rsp)
	xorl	%eax, %eax
	leaq	17(%rsp), %rbp
	leaq	12(%rsp), %rdx
	leaq	8(%rsp), %rsi
	movq	%rbp, %rcx
	call	__isoc99_scanf@PLT
	movl	8(%rsp), %edx
	movb	$95, 16(%rsp)
	testl	%edx, %edx
	jle	.L13
	leaq	16(%rsp), %rbx
	leal	-1(%rdx), %ecx
	xorl	%r9d, %r9d
	xorl	%r8d, %r8d
	movq	%rbx, %rax
	leaq	0(%rbp,%rcx), %rsi
	xorl	%edi, %edi
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L5:
	cmpb	$82, %cl
	je	.L17
.L7:
	addq	$1, %rax
	cmpq	%rsi, %rax
	je	.L4
.L9:
	movzbl	1(%rax), %ecx
	cmpb	$76, %cl
	jne	.L5
	cmpb	$76, (%rax)
	je	.L16
	addq	$1, %rax
	addl	$1, %edi
	cmpq	%rsi, %rax
	jne	.L9
	.p2align 4,,10
	.p2align 3
.L4:
	cmpl	%r8d, %edi
	movl	12(%rsp), %eax
	leaq	.LC1(%rip), %rsi
	cmovg	%r8d, %edi
	subl	$1, %edx
	leal	(%r9,%rax,2), %ecx
	cmpl	%edi, %eax
	movl	$1, %edi
	cmovl	%ecx, %edx
	xorl	%eax, %eax
	call	__printf_chk@PLT
	movq	100040(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L18
	addq	$100056, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 16
	popq	%rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L17:
	.cfi_restore_state
	cmpb	$82, (%rax)
	je	.L16
	addl	$1, %r8d
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L16:
	addl	$1, %r9d
	jmp	.L7
.L13:
	xorl	%r9d, %r9d
	xorl	%r8d, %r8d
	xorl	%edi, %edi
	jmp	.L4
.L18:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE52:
	.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
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#define MIN(a, b) (a<b?a:b)

int cmp(const void *a, const void *b) {
	return *(int*)b - *(int*)a;
}

int main(int argc, char const* argv[])
{
	int n, i;
	int k;
	char s[100010];
	int l=0, r=0;
	int ans=0;
	scanf("%d%d%s",&n, &k, s+1);
	s[0] = '_';
	for(i=1; i<=n; i++) {
		if(s[i]=='L') {
			if(s[i-1]=='L') {
				ans++;
			} else {
				l++;
			}
		} else if(s[i]=='R') {
			if(s[i-1]=='R') {
				ans++;
			} else {
				r++;
			}
		}
	}
	int temp = MIN(l, r);
	if(temp > k) {
		ans += k*2;
	} else {
		ans = n-1;
	}
	printf("%d\n", ans);
	
	return 0;
}
```
Given the following C code, your task is to generate highly optimized x86-64 assembly code.
C Code:

```c
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#define MIN(a, b) (a<b?a:b)

int cmp(const void *a, const void *b) {
	return *(int*)b - *(int*)a;
}

int main(int argc, char const* argv[])
{
	int n, i;
	int k;
	char s[100010];
	int l=0, r=0;
	int ans=0;
	scanf("%d%d%s",&n, &k, s+1);
	s[0] = '_';
	for(i=1; i<=n; i++) {
		if(s[i]=='L') {
			if(s[i-1]=='L') {
				ans++;
			} else {
				l++;
			}
		} else if(s[i]=='R') {
			if(s[i-1]=='R') {
				ans++;
			} else {
				r++;
			}
		}
	}
	int temp = MIN(l, r);
	if(temp > k) {
		ans += k*2;
	} else {
		ans = n-1;
	}
	printf("%d\n", ans);
	
	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:

6 2
LRLRRL
 9 3
RRRLRLRLL
 9 0
RRRLRLRLL
 6 0
LRRLRL
 9 1
RRRRLLRLL
 9 1
RLRRLLLRR
 6 1
RRLLRL
 10 2
LLLLLRRRRR
 13 4
LRRLRLRRLRLLR
 13 8
LRRLRLRRLRLLR

5
 8
 3
 1
 7
 6
 4
 9
 11
 12

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>
#include <string.h>
#include <stdlib.h>
#define MIN(a, b) (a<b?a:b)

int cmp(const void *a, const void *b) {
	return *(int*)b - *(int*)a;
}

int main(int argc, char const* argv[])
{
	int n, i;
	int k;
	char s[100010];
	int l=0, r=0;
	int ans=0;
	scanf("%d%d%s",&n, &k, s+1);
	s[0] = '_';
	for(i=1; i<=n; i++) {
		if(s[i]=='L') {
			if(s[i-1]=='L') {
				ans++;
			} else {
				l++;
			}
		} else if(s[i]=='R') {
			if(s[i-1]=='R') {
				ans++;
			} else {
				r++;
			}
		}
	}
	int temp = MIN(l, r);
	if(temp > k) {
		ans += k*2;
	} else {
		ans = n-1;
	}
	printf("%d\n", ans);
	
	return 0;
}
```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.p2align 4
	.globl	cmp
	.type	cmp, @function
cmp:
.LFB51:
	.cfi_startproc
	endbr64
	movl	(%rsi), %eax
	subl	(%rdi), %eax
	ret
	.cfi_endproc
.LFE51:
	.size	cmp, .-cmp
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d%d%s"
.LC1:
	.string	"%d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB52:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	pushq	%rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	leaq	-98304(%rsp), %r11
	.cfi_def_cfa 11, 98328
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	.cfi_def_cfa_register 7
	subq	$1752, %rsp
	.cfi_def_cfa_offset 100080
	leaq	.LC0(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, 100040(%rsp)
	xorl	%eax, %eax
	leaq	17(%rsp), %rbp
	leaq	12(%rsp), %rdx
	leaq	8(%rsp), %rsi
	movq	%rbp, %rcx
	call	__isoc99_scanf@PLT
	movl	8(%rsp), %edx
	movb	$95, 16(%rsp)
	testl	%edx, %edx
	jle	.L13
	leaq	16(%rsp), %rbx
	leal	-1(%rdx), %ecx
	xorl	%r9d, %r9d
	xorl	%r8d, %r8d
	movq	%rbx, %rax
	leaq	0(%rbp,%rcx), %rsi
	xorl	%edi, %edi
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L5:
	cmpb	$82, %cl
	je	.L17
.L7:
	addq	$1, %rax
	cmpq	%rsi, %rax
	je	.L4
.L9:
	movzbl	1(%rax), %ecx
	cmpb	$76, %cl
	jne	.L5
	cmpb	$76, (%rax)
	je	.L16
	addq	$1, %rax
	addl	$1, %edi
	cmpq	%rsi, %rax
	jne	.L9
	.p2align 4,,10
	.p2align 3
.L4:
	cmpl	%r8d, %edi
	movl	12(%rsp), %eax
	leaq	.LC1(%rip), %rsi
	cmovg	%r8d, %edi
	subl	$1, %edx
	leal	(%r9,%rax,2), %ecx
	cmpl	%edi, %eax
	movl	$1, %edi
	cmovl	%ecx, %edx
	xorl	%eax, %eax
	call	__printf_chk@PLT
	movq	100040(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L18
	addq	$100056, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 16
	popq	%rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L17:
	.cfi_restore_state
	cmpb	$82, (%rax)
	je	.L16
	addl	$1, %r8d
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L16:
	addl	$1, %r9d
	jmp	.L7
.L13:
	xorl	%r9d, %r9d
	xorl	%r8d, %r8d
	xorl	%edi, %edi
	jmp	.L4
.L18:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE52:
	.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
	.p2align 4
	.globl	cmp
	.type	cmp, @function
cmp:
.LFB51:
	.cfi_startproc
	endbr64
	movl	(%rsi), %eax
	subl	(%rdi), %eax
	ret
	.cfi_endproc
.LFE51:
	.size	cmp, .-cmp
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d%d%s"
.LC1:
	.string	"%d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB52:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	pushq	%rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	leaq	-98304(%rsp), %r11
	.cfi_def_cfa 11, 98328
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	.cfi_def_cfa_register 7
	subq	$1752, %rsp
	.cfi_def_cfa_offset 100080
	leaq	.LC0(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, 100040(%rsp)
	xorl	%eax, %eax
	leaq	17(%rsp), %rbp
	leaq	12(%rsp), %rdx
	leaq	8(%rsp), %rsi
	movq	%rbp, %rcx
	call	__isoc99_scanf@PLT
	movl	8(%rsp), %edx
	movb	$95, 16(%rsp)
	testl	%edx, %edx
	jle	.L13
	leaq	16(%rsp), %rbx
	leal	-1(%rdx), %ecx
	xorl	%r9d, %r9d
	xorl	%r8d, %r8d
	movq	%rbx, %rax
	leaq	0(%rbp,%rcx), %rsi
	xorl	%edi, %edi
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L5:
	cmpb	$82, %cl
	je	.L17
.L7:
	addq	$1, %rax
	cmpq	%rsi, %rax
	je	.L4
.L9:
	movzbl	1(%rax), %ecx
	cmpb	$76, %cl
	jne	.L5
	cmpb	$76, (%rax)
	je	.L16
	addq	$1, %rax
	addl	$1, %edi
	cmpq	%rsi, %rax
	jne	.L9
	.p2align 4,,10
	.p2align 3
.L4:
	cmpl	%r8d, %edi
	movl	12(%rsp), %eax
	leaq	.LC1(%rip), %rsi
	cmovg	%r8d, %edi
	subl	$1, %edx
	leal	(%r9,%rax,2), %ecx
	cmpl	%edi, %eax
	movl	$1, %edi
	cmovl	%ecx, %edx
	xorl	%eax, %eax
	call	__printf_chk@PLT
	movq	100040(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L18
	addq	$100056, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 16
	popq	%rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L17:
	.cfi_restore_state
	cmpb	$82, (%rax)
	je	.L16
	addl	$1, %r8d
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L16:
	addl	$1, %r9d
	jmp	.L7
.L13:
	xorl	%r9d, %r9d
	xorl	%r8d, %r8d
	xorl	%edi, %edi
	jmp	.L4
.L18:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE52:
	.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:
```