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<stdlib.h>
#include<string.h>

int main()
{
	int N, K;
	char s[100001];
	scanf("%d %d",&N,&K);
	scanf("%s",s);
	int ans = -1,num;
	int i;
	int ct = 1;
	int flag = 1;
	int zero_one_start[100001] = {0};
	
	for (i = 0;i < N;i++)
	{
		if (s[i] - '0' != flag)
		{
			zero_one_start[ct] = i;//0と１の先頭
			ct++;
			flag = 1 - flag;
		}
	}
	if (ct == 1)ans = N;
	zero_one_start[ct] = N;
	for (i = 1;i < ct;i++)
	{
		if (s[zero_one_start[i]] == '0')
		{
			num = zero_one_start[i+2*K>ct?ct:i+2*K] - zero_one_start[i - 1];
			if (ans < num)ans = num;
		}

	}
	printf("%d\n",ans);
	return 0;
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%d %d"
.LC1:
	.string	"%s"
.LC2:
	.string	"%d\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB6:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	leaq	-499712(%rsp), %r11
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	subq	$352, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-500056(%rbp), %rdx
	leaq	-500060(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	leaq	-100016(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$-1, -500052(%rbp)
	movl	$1, -500044(%rbp)
	movl	$1, -500040(%rbp)
	leaq	-500032(%rbp), %rax
	movl	$400004, %edx
	movl	$0, %esi
	movq	%rax, %rdi
	call	memset@PLT
	movl	$0, -500048(%rbp)
	jmp	.L2
.L4:
	movl	-500048(%rbp), %eax
	cltq
	movzbl	-100016(%rbp,%rax), %eax
	movsbl	%al, %eax
	subl	$48, %eax
	cmpl	%eax, -500040(%rbp)
	je	.L3
	movl	-500044(%rbp), %eax
	cltq
	movl	-500048(%rbp), %edx
	movl	%edx, -500032(%rbp,%rax,4)
	addl	$1, -500044(%rbp)
	movl	$1, %eax
	subl	-500040(%rbp), %eax
	movl	%eax, -500040(%rbp)
.L3:
	addl	$1, -500048(%rbp)
.L2:
	movl	-500060(%rbp), %eax
	cmpl	%eax, -500048(%rbp)
	jl	.L4
	cmpl	$1, -500044(%rbp)
	jne	.L5
	movl	-500060(%rbp), %eax
	movl	%eax, -500052(%rbp)
.L5:
	movl	-500060(%rbp), %edx
	movl	-500044(%rbp), %eax
	cltq
	movl	%edx, -500032(%rbp,%rax,4)
	movl	$1, -500048(%rbp)
	jmp	.L6
.L8:
	movl	-500048(%rbp), %eax
	cltq
	movl	-500032(%rbp,%rax,4), %eax
	cltq
	movzbl	-100016(%rbp,%rax), %eax
	cmpb	$48, %al
	jne	.L7
	movl	-500056(%rbp), %eax
	leal	(%rax,%rax), %edx
	movl	-500048(%rbp), %eax
	addl	%eax, %edx
	movl	-500044(%rbp), %eax
	cmpl	%eax, %edx
	cmovle	%edx, %eax
	cltq
	movl	-500032(%rbp,%rax,4), %edx
	movl	-500048(%rbp), %eax
	subl	$1, %eax
	cltq
	movl	-500032(%rbp,%rax,4), %ecx
	movl	%edx, %eax
	subl	%ecx, %eax
	movl	%eax, -500036(%rbp)
	movl	-500052(%rbp), %eax
	cmpl	-500036(%rbp), %eax
	jge	.L7
	movl	-500036(%rbp), %eax
	movl	%eax, -500052(%rbp)
.L7:
	addl	$1, -500048(%rbp)
.L6:
	movl	-500048(%rbp), %eax
	cmpl	-500044(%rbp), %eax
	jl	.L8
	movl	-500052(%rbp), %eax
	movl	%eax, %esi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L10
	call	__stack_chk_fail@PLT
.L10:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.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	"%d %d"
.LC1:
	.string	"%s"
.LC2:
	.string	"%d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB51:
	.cfi_startproc
	endbr64
	pushq	%rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	leaq	-499712(%rsp), %r11
	.cfi_def_cfa 11, 499728
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	.cfi_def_cfa_register 7
	subq	$336, %rsp
	.cfi_def_cfa_offset 500064
	leaq	.LC0(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, 500040(%rsp)
	xorl	%eax, %eax
	leaq	12(%rsp), %rdx
	leaq	8(%rsp), %rsi
	leaq	400032(%rsp), %rbx
	call	__isoc99_scanf@PLT
	movq	%rbx, %rsi
	leaq	.LC1(%rip), %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	leaq	16(%rsp), %rdi
	movl	$400004, %edx
	xorl	%esi, %esi
	call	memset@PLT
	movl	8(%rsp), %r8d
	testl	%r8d, %r8d
	jle	.L10
	movslq	%r8d, %rdi
	xorl	%eax, %eax
	movl	$1, %esi
	movl	$1, %ecx
	movl	$1, %r9d
	.p2align 4,,10
	.p2align 3
.L7:
	movsbl	(%rbx,%rax), %edx
	subl	$48, %edx
	cmpl	%esi, %edx
	je	.L3
	movslq	%ecx, %rdx
	addl	$1, %ecx
	movl	%eax, 16(%rsp,%rdx,4)
	movl	%r9d, %edx
	addq	$1, %rax
	subl	%esi, %edx
	movl	%edx, %esi
	cmpq	%rdi, %rax
	jne	.L7
.L5:
	movslq	%ecx, %rax
	leaq	20(%rsp), %rdx
	movl	%r8d, 16(%rsp,%rax,4)
	movl	12(%rsp), %eax
	movl	$-1, %r8d
	leal	(%rax,%rax), %edi
	leal	1(%rdi), %eax
	addl	%ecx, %edi
	.p2align 4,,10
	.p2align 3
.L9:
	movslq	(%rdx), %rsi
	cmpb	$48, 400032(%rsp,%rsi)
	jne	.L8
	cmpl	%ecx, %eax
	movl	%ecx, %esi
	cmovle	%eax, %esi
	movslq	%esi, %rsi
	movl	16(%rsp,%rsi,4), %esi
	subl	-4(%rdx), %esi
	cmpl	%esi, %r8d
	cmovl	%esi, %r8d
.L8:
	addl	$1, %eax
	addq	$4, %rdx
	cmpl	%eax, %edi
	jne	.L9
.L10:
	xorl	%eax, %eax
	movl	%r8d, %edx
	movl	$1, %edi
	leaq	.LC2(%rip), %rsi
	call	__printf_chk@PLT
	movq	500040(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L19
	addq	$500048, %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
.L3:
	.cfi_restore_state
	addq	$1, %rax
	cmpq	%rdi, %rax
	jne	.L7
	cmpl	$1, %ecx
	je	.L10
	jmp	.L5
.L19:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE51:
	.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	"%d %d"
.LC1:
	.string	"%s"
.LC2:
	.string	"%d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB51:
	.cfi_startproc
	endbr64
	pushq	%rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	leaq	-499712(%rsp), %r11
	.cfi_def_cfa 11, 499728
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	.cfi_def_cfa_register 7
	subq	$336, %rsp
	.cfi_def_cfa_offset 500064
	leaq	.LC0(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, 500040(%rsp)
	xorl	%eax, %eax
	leaq	12(%rsp), %rdx
	leaq	8(%rsp), %rsi
	leaq	400032(%rsp), %rbx
	call	__isoc99_scanf@PLT
	movq	%rbx, %rsi
	leaq	.LC1(%rip), %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	leaq	16(%rsp), %rdi
	movl	$400004, %edx
	xorl	%esi, %esi
	call	memset@PLT
	movl	8(%rsp), %r8d
	testl	%r8d, %r8d
	jle	.L10
	movslq	%r8d, %rdi
	xorl	%eax, %eax
	movl	$1, %esi
	movl	$1, %ecx
	movl	$1, %r9d
	.p2align 4,,10
	.p2align 3
.L7:
	movsbl	(%rbx,%rax), %edx
	subl	$48, %edx
	cmpl	%esi, %edx
	je	.L3
	movslq	%ecx, %rdx
	addl	$1, %ecx
	movl	%eax, 16(%rsp,%rdx,4)
	movl	%r9d, %edx
	addq	$1, %rax
	subl	%esi, %edx
	movl	%edx, %esi
	cmpq	%rdi, %rax
	jne	.L7
.L5:
	movslq	%ecx, %rax
	leaq	20(%rsp), %rdx
	movl	%r8d, 16(%rsp,%rax,4)
	movl	12(%rsp), %eax
	movl	$-1, %r8d
	leal	(%rax,%rax), %edi
	leal	1(%rdi), %eax
	addl	%ecx, %edi
	.p2align 4,,10
	.p2align 3
.L9:
	movslq	(%rdx), %rsi
	cmpb	$48, 400032(%rsp,%rsi)
	jne	.L8
	cmpl	%ecx, %eax
	movl	%ecx, %esi
	cmovle	%eax, %esi
	movslq	%esi, %rsi
	movl	16(%rsp,%rsi,4), %esi
	subl	-4(%rdx), %esi
	cmpl	%esi, %r8d
	cmovl	%esi, %r8d
.L8:
	addl	$1, %eax
	addq	$4, %rdx
	cmpl	%eax, %edi
	jne	.L9
.L10:
	xorl	%eax, %eax
	movl	%r8d, %edx
	movl	$1, %edi
	leaq	.LC2(%rip), %rsi
	call	__printf_chk@PLT
	movq	500040(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L19
	addq	$500048, %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
.L3:
	.cfi_restore_state
	addq	$1, %rax
	cmpq	%rdi, %rax
	jne	.L7
	cmpl	$1, %ecx
	je	.L10
	jmp	.L5
.L19:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE51:
	.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<stdlib.h>
#include<string.h>

int main()
{
	int N, K;
	char s[100001];
	scanf("%d %d",&N,&K);
	scanf("%s",s);
	int ans = -1,num;
	int i;
	int ct = 1;
	int flag = 1;
	int zero_one_start[100001] = {0};
	
	for (i = 0;i < N;i++)
	{
		if (s[i] - '0' != flag)
		{
			zero_one_start[ct] = i;//0と１の先頭
			ct++;
			flag = 1 - flag;
		}
	}
	if (ct == 1)ans = N;
	zero_one_start[ct] = N;
	for (i = 1;i < ct;i++)
	{
		if (s[zero_one_start[i]] == '0')
		{
			num = zero_one_start[i+2*K>ct?ct:i+2*K] - zero_one_start[i - 1];
			if (ans < num)ans = num;
		}

	}
	printf("%d\n",ans);
	return 0;
}
5 1
00000
 5 1
11010
 14 2
11101010110111
 5 0
11000
 5 1
01010
 1 1
0
 14 2
11101010110101
 14 2
11101000110111
 14 2
11101000111111
 14 1
11101010110111

5
 4
 8
 2
 3
 1
 7
 10
 14
 6

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<stdlib.h>
#include<string.h>

int main()
{
	int N, K;
	char s[100001];
	scanf("%d %d",&N,&K);
	scanf("%s",s);
	int ans = -1,num;
	int i;
	int ct = 1;
	int flag = 1;
	int zero_one_start[100001] = {0};
	
	for (i = 0;i < N;i++)
	{
		if (s[i] - '0' != flag)
		{
			zero_one_start[ct] = i;//0と１の先頭
			ct++;
			flag = 1 - flag;
		}
	}
	if (ct == 1)ans = N;
	zero_one_start[ct] = N;
	for (i = 1;i < ct;i++)
	{
		if (s[zero_one_start[i]] == '0')
		{
			num = zero_one_start[i+2*K>ct?ct:i+2*K] - zero_one_start[i - 1];
			if (ans < num)ans = num;
		}

	}
	printf("%d\n",ans);
	return 0;
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%d %d"
.LC1:
	.string	"%s"
.LC2:
	.string	"%d\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB6:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	leaq	-499712(%rsp), %r11
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	subq	$352, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-500056(%rbp), %rdx
	leaq	-500060(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	leaq	-100016(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$-1, -500052(%rbp)
	movl	$1, -500044(%rbp)
	movl	$1, -500040(%rbp)
	leaq	-500032(%rbp), %rax
	movl	$400004, %edx
	movl	$0, %esi
	movq	%rax, %rdi
	call	memset@PLT
	movl	$0, -500048(%rbp)
	jmp	.L2
.L4:
	movl	-500048(%rbp), %eax
	cltq
	movzbl	-100016(%rbp,%rax), %eax
	movsbl	%al, %eax
	subl	$48, %eax
	cmpl	%eax, -500040(%rbp)
	je	.L3
	movl	-500044(%rbp), %eax
	cltq
	movl	-500048(%rbp), %edx
	movl	%edx, -500032(%rbp,%rax,4)
	addl	$1, -500044(%rbp)
	movl	$1, %eax
	subl	-500040(%rbp), %eax
	movl	%eax, -500040(%rbp)
.L3:
	addl	$1, -500048(%rbp)
.L2:
	movl	-500060(%rbp), %eax
	cmpl	%eax, -500048(%rbp)
	jl	.L4
	cmpl	$1, -500044(%rbp)
	jne	.L5
	movl	-500060(%rbp), %eax
	movl	%eax, -500052(%rbp)
.L5:
	movl	-500060(%rbp), %edx
	movl	-500044(%rbp), %eax
	cltq
	movl	%edx, -500032(%rbp,%rax,4)
	movl	$1, -500048(%rbp)
	jmp	.L6
.L8:
	movl	-500048(%rbp), %eax
	cltq
	movl	-500032(%rbp,%rax,4), %eax
	cltq
	movzbl	-100016(%rbp,%rax), %eax
	cmpb	$48, %al
	jne	.L7
	movl	-500056(%rbp), %eax
	leal	(%rax,%rax), %edx
	movl	-500048(%rbp), %eax
	addl	%eax, %edx
	movl	-500044(%rbp), %eax
	cmpl	%eax, %edx
	cmovle	%edx, %eax
	cltq
	movl	-500032(%rbp,%rax,4), %edx
	movl	-500048(%rbp), %eax
	subl	$1, %eax
	cltq
	movl	-500032(%rbp,%rax,4), %ecx
	movl	%edx, %eax
	subl	%ecx, %eax
	movl	%eax, -500036(%rbp)
	movl	-500052(%rbp), %eax
	cmpl	-500036(%rbp), %eax
	jge	.L7
	movl	-500036(%rbp), %eax
	movl	%eax, -500052(%rbp)
.L7:
	addl	$1, -500048(%rbp)
.L6:
	movl	-500048(%rbp), %eax
	cmpl	-500044(%rbp), %eax
	jl	.L8
	movl	-500052(%rbp), %eax
	movl	%eax, %esi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L10
	call	__stack_chk_fail@PLT
.L10:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.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	"%d %d"
.LC1:
	.string	"%s"
.LC2:
	.string	"%d\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB6:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	leaq	-499712(%rsp), %r11
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	subq	$352, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-500056(%rbp), %rdx
	leaq	-500060(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	leaq	-100016(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$-1, -500052(%rbp)
	movl	$1, -500044(%rbp)
	movl	$1, -500040(%rbp)
	leaq	-500032(%rbp), %rax
	movl	$400004, %edx
	movl	$0, %esi
	movq	%rax, %rdi
	call	memset@PLT
	movl	$0, -500048(%rbp)
	jmp	.L2
.L4:
	movl	-500048(%rbp), %eax
	cltq
	movzbl	-100016(%rbp,%rax), %eax
	movsbl	%al, %eax
	subl	$48, %eax
	cmpl	%eax, -500040(%rbp)
	je	.L3
	movl	-500044(%rbp), %eax
	cltq
	movl	-500048(%rbp), %edx
	movl	%edx, -500032(%rbp,%rax,4)
	addl	$1, -500044(%rbp)
	movl	$1, %eax
	subl	-500040(%rbp), %eax
	movl	%eax, -500040(%rbp)
.L3:
	addl	$1, -500048(%rbp)
.L2:
	movl	-500060(%rbp), %eax
	cmpl	%eax, -500048(%rbp)
	jl	.L4
	cmpl	$1, -500044(%rbp)
	jne	.L5
	movl	-500060(%rbp), %eax
	movl	%eax, -500052(%rbp)
.L5:
	movl	-500060(%rbp), %edx
	movl	-500044(%rbp), %eax
	cltq
	movl	%edx, -500032(%rbp,%rax,4)
	movl	$1, -500048(%rbp)
	jmp	.L6
.L8:
	movl	-500048(%rbp), %eax
	cltq
	movl	-500032(%rbp,%rax,4), %eax
	cltq
	movzbl	-100016(%rbp,%rax), %eax
	cmpb	$48, %al
	jne	.L7
	movl	-500056(%rbp), %eax
	leal	(%rax,%rax), %edx
	movl	-500048(%rbp), %eax
	addl	%eax, %edx
	movl	-500044(%rbp), %eax
	cmpl	%eax, %edx
	cmovle	%edx, %eax
	cltq
	movl	-500032(%rbp,%rax,4), %edx
	movl	-500048(%rbp), %eax
	subl	$1, %eax
	cltq
	movl	-500032(%rbp,%rax,4), %ecx
	movl	%edx, %eax
	subl	%ecx, %eax
	movl	%eax, -500036(%rbp)
	movl	-500052(%rbp), %eax
	cmpl	-500036(%rbp), %eax
	jge	.L7
	movl	-500036(%rbp), %eax
	movl	%eax, -500052(%rbp)
.L7:
	addl	$1, -500048(%rbp)
.L6:
	movl	-500048(%rbp), %eax
	cmpl	-500044(%rbp), %eax
	jl	.L8
	movl	-500052(%rbp), %eax
	movl	%eax, %esi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L10
	call	__stack_chk_fail@PLT
.L10:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.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:
