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

Assembly Code:

```assembly
	.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:
```

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
	.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
```assembly
	.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:
```
```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;
}```
Given the following C 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;
}```

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:

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

Assembly Code:

```assembly
	.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:
```

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
	.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:
```