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>
#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;
}
```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.globl	cmp
	.type	cmp, @function
cmp:
.LFB6:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	movq	%rdi, -8(%rbp)
	movq	%rsi, -16(%rbp)
	movq	-16(%rbp), %rax
	movl	(%rax), %edx
	movq	-8(%rbp), %rax
	movl	(%rax), %ecx
	movl	%edx, %eax
	subl	%ecx, %eax
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	cmp, .-cmp
	.section	.rodata
.LC0:
	.string	"%d%d%s"
.LC1:
	.string	"%d\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB7:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	leaq	-98304(%rsp), %r11
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	subq	$1776, %rsp
	movl	%edi, -100068(%rbp)
	movq	%rsi, -100080(%rbp)
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movl	$0, -100048(%rbp)
	movl	$0, -100044(%rbp)
	movl	$0, -100040(%rbp)
	leaq	-100032(%rbp), %rax
	addq	$1, %rax
	leaq	-100056(%rbp), %rdx
	leaq	-100060(%rbp), %rsi
	movq	%rax, %rcx
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movb	$95, -100032(%rbp)
	movl	$1, -100052(%rbp)
	jmp	.L4
.L9:
	movl	-100052(%rbp), %eax
	cltq
	movzbl	-100032(%rbp,%rax), %eax
	cmpb	$76, %al
	jne	.L5
	movl	-100052(%rbp), %eax
	subl	$1, %eax
	cltq
	movzbl	-100032(%rbp,%rax), %eax
	cmpb	$76, %al
	jne	.L6
	addl	$1, -100040(%rbp)
	jmp	.L7
.L6:
	addl	$1, -100048(%rbp)
	jmp	.L7
.L5:
	movl	-100052(%rbp), %eax
	cltq
	movzbl	-100032(%rbp,%rax), %eax
	cmpb	$82, %al
	jne	.L7
	movl	-100052(%rbp), %eax
	subl	$1, %eax
	cltq
	movzbl	-100032(%rbp,%rax), %eax
	cmpb	$82, %al
	jne	.L8
	addl	$1, -100040(%rbp)
	jmp	.L7
.L8:
	addl	$1, -100044(%rbp)
.L7:
	addl	$1, -100052(%rbp)
.L4:
	movl	-100060(%rbp), %eax
	cmpl	%eax, -100052(%rbp)
	jle	.L9
	movl	-100044(%rbp), %edx
	movl	-100048(%rbp), %eax
	cmpl	%eax, %edx
	cmovle	%edx, %eax
	movl	%eax, -100036(%rbp)
	movl	-100056(%rbp), %eax
	cmpl	%eax, -100036(%rbp)
	jle	.L10
	movl	-100056(%rbp), %eax
	addl	%eax, %eax
	addl	%eax, -100040(%rbp)
	jmp	.L11
.L10:
	movl	-100060(%rbp), %eax
	subl	$1, %eax
	movl	%eax, -100040(%rbp)
.L11:
	movl	-100040(%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	.L13
	call	__stack_chk_fail@PLT
.L13:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.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	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
	.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:

#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;
}

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 unoptimized 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;
}
```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.globl	cmp
	.type	cmp, @function
cmp:
.LFB6:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	movq	%rdi, -8(%rbp)
	movq	%rsi, -16(%rbp)
	movq	-16(%rbp), %rax
	movl	(%rax), %edx
	movq	-8(%rbp), %rax
	movl	(%rax), %ecx
	movl	%edx, %eax
	subl	%ecx, %eax
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	cmp, .-cmp
	.section	.rodata
.LC0:
	.string	"%d%d%s"
.LC1:
	.string	"%d\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB7:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	leaq	-98304(%rsp), %r11
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	subq	$1776, %rsp
	movl	%edi, -100068(%rbp)
	movq	%rsi, -100080(%rbp)
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movl	$0, -100048(%rbp)
	movl	$0, -100044(%rbp)
	movl	$0, -100040(%rbp)
	leaq	-100032(%rbp), %rax
	addq	$1, %rax
	leaq	-100056(%rbp), %rdx
	leaq	-100060(%rbp), %rsi
	movq	%rax, %rcx
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movb	$95, -100032(%rbp)
	movl	$1, -100052(%rbp)
	jmp	.L4
.L9:
	movl	-100052(%rbp), %eax
	cltq
	movzbl	-100032(%rbp,%rax), %eax
	cmpb	$76, %al
	jne	.L5
	movl	-100052(%rbp), %eax
	subl	$1, %eax
	cltq
	movzbl	-100032(%rbp,%rax), %eax
	cmpb	$76, %al
	jne	.L6
	addl	$1, -100040(%rbp)
	jmp	.L7
.L6:
	addl	$1, -100048(%rbp)
	jmp	.L7
.L5:
	movl	-100052(%rbp), %eax
	cltq
	movzbl	-100032(%rbp,%rax), %eax
	cmpb	$82, %al
	jne	.L7
	movl	-100052(%rbp), %eax
	subl	$1, %eax
	cltq
	movzbl	-100032(%rbp,%rax), %eax
	cmpb	$82, %al
	jne	.L8
	addl	$1, -100040(%rbp)
	jmp	.L7
.L8:
	addl	$1, -100044(%rbp)
.L7:
	addl	$1, -100052(%rbp)
.L4:
	movl	-100060(%rbp), %eax
	cmpl	%eax, -100052(%rbp)
	jle	.L9
	movl	-100044(%rbp), %edx
	movl	-100048(%rbp), %eax
	cmpl	%eax, %edx
	cmovle	%edx, %eax
	movl	%eax, -100036(%rbp)
	movl	-100056(%rbp), %eax
	cmpl	%eax, -100036(%rbp)
	jle	.L10
	movl	-100056(%rbp), %eax
	addl	%eax, %eax
	addl	%eax, -100040(%rbp)
	jmp	.L11
.L10:
	movl	-100060(%rbp), %eax
	subl	$1, %eax
	movl	%eax, -100040(%rbp)
.L11:
	movl	-100040(%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	.L13
	call	__stack_chk_fail@PLT
.L13:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.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	cmp
	.type	cmp, @function
cmp:
.LFB6:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	movq	%rdi, -8(%rbp)
	movq	%rsi, -16(%rbp)
	movq	-16(%rbp), %rax
	movl	(%rax), %edx
	movq	-8(%rbp), %rax
	movl	(%rax), %ecx
	movl	%edx, %eax
	subl	%ecx, %eax
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	cmp, .-cmp
	.section	.rodata
.LC0:
	.string	"%d%d%s"
.LC1:
	.string	"%d\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB7:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	leaq	-98304(%rsp), %r11
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	subq	$1776, %rsp
	movl	%edi, -100068(%rbp)
	movq	%rsi, -100080(%rbp)
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movl	$0, -100048(%rbp)
	movl	$0, -100044(%rbp)
	movl	$0, -100040(%rbp)
	leaq	-100032(%rbp), %rax
	addq	$1, %rax
	leaq	-100056(%rbp), %rdx
	leaq	-100060(%rbp), %rsi
	movq	%rax, %rcx
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movb	$95, -100032(%rbp)
	movl	$1, -100052(%rbp)
	jmp	.L4
.L9:
	movl	-100052(%rbp), %eax
	cltq
	movzbl	-100032(%rbp,%rax), %eax
	cmpb	$76, %al
	jne	.L5
	movl	-100052(%rbp), %eax
	subl	$1, %eax
	cltq
	movzbl	-100032(%rbp,%rax), %eax
	cmpb	$76, %al
	jne	.L6
	addl	$1, -100040(%rbp)
	jmp	.L7
.L6:
	addl	$1, -100048(%rbp)
	jmp	.L7
.L5:
	movl	-100052(%rbp), %eax
	cltq
	movzbl	-100032(%rbp,%rax), %eax
	cmpb	$82, %al
	jne	.L7
	movl	-100052(%rbp), %eax
	subl	$1, %eax
	cltq
	movzbl	-100032(%rbp,%rax), %eax
	cmpb	$82, %al
	jne	.L8
	addl	$1, -100040(%rbp)
	jmp	.L7
.L8:
	addl	$1, -100044(%rbp)
.L7:
	addl	$1, -100052(%rbp)
.L4:
	movl	-100060(%rbp), %eax
	cmpl	%eax, -100052(%rbp)
	jle	.L9
	movl	-100044(%rbp), %edx
	movl	-100048(%rbp), %eax
	cmpl	%eax, %edx
	cmovle	%edx, %eax
	movl	%eax, -100036(%rbp)
	movl	-100056(%rbp), %eax
	cmpl	%eax, -100036(%rbp)
	jle	.L10
	movl	-100056(%rbp), %eax
	addl	%eax, %eax
	addl	%eax, -100040(%rbp)
	jmp	.L11
.L10:
	movl	-100060(%rbp), %eax
	subl	$1, %eax
	movl	%eax, -100040(%rbp)
.L11:
	movl	-100040(%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	.L13
	call	__stack_chk_fail@PLT
.L13:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.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:
