Given the following C code and assembly code, your task is to generate highly optimized x86-64 assembly code.
C Code:

```c
char buf[1<<20];
sz;
main()
{
	read(0,buf,1<<20);
	for(;buf[sz++]>='0';);
	int A=0;
	for(;;)
	{
		char k=buf[sz++];
		if(k<'0')break;
		A=A*10+k-'0';
	}
	int ans=1;
	char s=0,t=0;
	for(;buf[sz]>='0';)
	{
		int B=0;
		for(;;)
		{
			char k=buf[sz++];
			if(k<'0')break;
			B=B*10+k-'0';
		}
		if(A>B)s=1;
		else if(A<B)t=1;
		if(s&&t)s=t=0,++ans;
		A=B;
	}
	printf("%d\n",ans);
}
```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	leaq	buf(%rip), %rbx
	movl	$1048576, %edx
	xorl	%edi, %edi
	movq	%rbx, %rsi
	xorl	%eax, %eax
	call	read@PLT
	movslq	sz(%rip), %rcx
	movq	%rcx, %rdx
	addq	%rbx, %rcx
	.p2align 4,,10
	.p2align 3
.L2:
	addq	$1, %rcx
	movl	%edx, %eax
	addl	$1, %edx
	cmpb	$47, -1(%rcx)
	jg	.L2
	movslq	%edx, %rdx
	leal	2(%rax), %esi
	movsbl	(%rbx,%rdx), %edx
	movl	%esi, sz(%rip)
	cmpb	$47, %dl
	jle	.L25
	addl	$3, %eax
	xorl	%r8d, %r8d
	leaq	-2+buf(%rip), %rdi
	cltq
	.p2align 4,,10
	.p2align 3
.L6:
	leal	(%r8,%r8,4), %ecx
	movl	%eax, %esi
	addq	$1, %rax
	leal	-48(%rdx,%rcx,2), %r8d
	movsbl	(%rdi,%rax), %edx
	cmpb	$47, %dl
	jg	.L6
	movl	%esi, sz(%rip)
.L7:
	movslq	%esi, %rax
	movl	$1, %r11d
	movsbl	(%rbx,%rax), %eax
	cmpb	$47, %al
	jle	.L5
	xorl	%r9d, %r9d
	xorl	%r10d, %r10d
	movl	$1, %r11d
	leaq	-2+buf(%rip), %rdi
	.p2align 4,,10
	.p2align 3
.L4:
	leal	2(%rsi), %edx
	xorl	%ecx, %ecx
	movslq	%edx, %rdx
	.p2align 4,,10
	.p2align 3
.L8:
	leal	(%rcx,%rcx,4), %ecx
	movl	%edx, %esi
	addq	$1, %rdx
	leal	-48(%rax,%rcx,2), %ecx
	movsbl	(%rdi,%rdx), %eax
	cmpb	$47, %al
	jg	.L8
	cmpl	%r8d, %ecx
	jl	.L26
	movl	%r10d, %eax
	andl	$1, %eax
	cmpl	%r8d, %ecx
	jle	.L27
	movl	$1, %r9d
.L12:
	testb	%al, %al
	je	.L11
.L10:
	addl	$1, %r11d
	xorl	%r9d, %r9d
	xorl	%r10d, %r10d
.L11:
	movslq	%esi, %rax
	movsbl	(%rbx,%rax), %eax
	cmpb	$47, %al
	jle	.L13
.L28:
	movl	%ecx, %r8d
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L26:
	movl	$1, %r10d
	testb	%r9b, %r9b
	jne	.L10
	movslq	%esi, %rax
	movsbl	(%rbx,%rax), %eax
	cmpb	$47, %al
	jg	.L28
.L13:
	movl	%esi, sz(%rip)
.L5:
	movl	%r11d, %esi
	leaq	.LC0(%rip), %rdi
	xorl	%eax, %eax
	call	printf@PLT
	xorl	%eax, %eax
	popq	%rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L27:
	.cfi_restore_state
	movl	%r10d, %eax
	andl	%r9d, %eax
	jmp	.L12
.L25:
	xorl	%r8d, %r8d
	jmp	.L7
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.globl	sz
	.bss
	.align 4
	.type	sz, @object
	.size	sz, 4
sz:
	.zero	4
	.globl	buf
	.align 32
	.type	buf, @object
	.size	buf, 1048576
buf:
	.zero	1048576
	.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\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	leaq	buf(%rip), %rbx
	movl	$1048576, %edx
	xorl	%edi, %edi
	movq	%rbx, %rsi
	xorl	%eax, %eax
	call	read@PLT
	movslq	sz(%rip), %rcx
	movq	%rcx, %rdx
	addq	%rbx, %rcx
	.p2align 4,,10
	.p2align 3
.L2:
	addq	$1, %rcx
	movl	%edx, %eax
	addl	$1, %edx
	cmpb	$47, -1(%rcx)
	jg	.L2
	movslq	%edx, %rdx
	leal	2(%rax), %esi
	movsbl	(%rbx,%rdx), %edx
	movl	%esi, sz(%rip)
	cmpb	$47, %dl
	jle	.L25
	addl	$3, %eax
	xorl	%r8d, %r8d
	leaq	-2+buf(%rip), %rdi
	cltq
	.p2align 4,,10
	.p2align 3
.L6:
	leal	(%r8,%r8,4), %ecx
	movl	%eax, %esi
	addq	$1, %rax
	leal	-48(%rdx,%rcx,2), %r8d
	movsbl	(%rdi,%rax), %edx
	cmpb	$47, %dl
	jg	.L6
	movl	%esi, sz(%rip)
.L7:
	movslq	%esi, %rax
	movl	$1, %r11d
	movsbl	(%rbx,%rax), %eax
	cmpb	$47, %al
	jle	.L5
	xorl	%r9d, %r9d
	xorl	%r10d, %r10d
	movl	$1, %r11d
	leaq	-2+buf(%rip), %rdi
	.p2align 4,,10
	.p2align 3
.L4:
	leal	2(%rsi), %edx
	xorl	%ecx, %ecx
	movslq	%edx, %rdx
	.p2align 4,,10
	.p2align 3
.L8:
	leal	(%rcx,%rcx,4), %ecx
	movl	%edx, %esi
	addq	$1, %rdx
	leal	-48(%rax,%rcx,2), %ecx
	movsbl	(%rdi,%rdx), %eax
	cmpb	$47, %al
	jg	.L8
	cmpl	%r8d, %ecx
	jl	.L26
	movl	%r10d, %eax
	andl	$1, %eax
	cmpl	%r8d, %ecx
	jle	.L27
	movl	$1, %r9d
.L12:
	testb	%al, %al
	je	.L11
.L10:
	addl	$1, %r11d
	xorl	%r9d, %r9d
	xorl	%r10d, %r10d
.L11:
	movslq	%esi, %rax
	movsbl	(%rbx,%rax), %eax
	cmpb	$47, %al
	jle	.L13
.L28:
	movl	%ecx, %r8d
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L26:
	movl	$1, %r10d
	testb	%r9b, %r9b
	jne	.L10
	movslq	%esi, %rax
	movsbl	(%rbx,%rax), %eax
	cmpb	$47, %al
	jg	.L28
.L13:
	movl	%esi, sz(%rip)
.L5:
	movl	%r11d, %esi
	leaq	.LC0(%rip), %rdi
	xorl	%eax, %eax
	call	printf@PLT
	xorl	%eax, %eax
	popq	%rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L27:
	.cfi_restore_state
	movl	%r10d, %eax
	andl	%r9d, %eax
	jmp	.L12
.L25:
	xorl	%r8d, %r8d
	jmp	.L7
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.globl	sz
	.bss
	.align 4
	.type	sz, @object
	.size	sz, 4
sz:
	.zero	4
	.globl	buf
	.align 32
	.type	buf, @object
	.size	buf, 1048576
buf:
	.zero	1048576
	.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\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	leaq	buf(%rip), %rbx
	movl	$1048576, %edx
	xorl	%edi, %edi
	movq	%rbx, %rsi
	xorl	%eax, %eax
	call	read@PLT
	movslq	sz(%rip), %rcx
	movq	%rcx, %rdx
	addq	%rbx, %rcx
	.p2align 4,,10
	.p2align 3
.L2:
	addq	$1, %rcx
	movl	%edx, %eax
	addl	$1, %edx
	cmpb	$47, -1(%rcx)
	jg	.L2
	movslq	%edx, %rdx
	leal	2(%rax), %esi
	movsbl	(%rbx,%rdx), %edx
	movl	%esi, sz(%rip)
	cmpb	$47, %dl
	jle	.L25
	addl	$3, %eax
	xorl	%r8d, %r8d
	leaq	-2+buf(%rip), %rdi
	cltq
	.p2align 4,,10
	.p2align 3
.L6:
	leal	(%r8,%r8,4), %ecx
	movl	%eax, %esi
	addq	$1, %rax
	leal	-48(%rdx,%rcx,2), %r8d
	movsbl	(%rdi,%rax), %edx
	cmpb	$47, %dl
	jg	.L6
	movl	%esi, sz(%rip)
.L7:
	movslq	%esi, %rax
	movl	$1, %r11d
	movsbl	(%rbx,%rax), %eax
	cmpb	$47, %al
	jle	.L5
	xorl	%r9d, %r9d
	xorl	%r10d, %r10d
	movl	$1, %r11d
	leaq	-2+buf(%rip), %rdi
	.p2align 4,,10
	.p2align 3
.L4:
	leal	2(%rsi), %edx
	xorl	%ecx, %ecx
	movslq	%edx, %rdx
	.p2align 4,,10
	.p2align 3
.L8:
	leal	(%rcx,%rcx,4), %ecx
	movl	%edx, %esi
	addq	$1, %rdx
	leal	-48(%rax,%rcx,2), %ecx
	movsbl	(%rdi,%rdx), %eax
	cmpb	$47, %al
	jg	.L8
	cmpl	%r8d, %ecx
	jl	.L26
	movl	%r10d, %eax
	andl	$1, %eax
	cmpl	%r8d, %ecx
	jle	.L27
	movl	$1, %r9d
.L12:
	testb	%al, %al
	je	.L11
.L10:
	addl	$1, %r11d
	xorl	%r9d, %r9d
	xorl	%r10d, %r10d
.L11:
	movslq	%esi, %rax
	movsbl	(%rbx,%rax), %eax
	cmpb	$47, %al
	jle	.L13
.L28:
	movl	%ecx, %r8d
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L26:
	movl	$1, %r10d
	testb	%r9b, %r9b
	jne	.L10
	movslq	%esi, %rax
	movsbl	(%rbx,%rax), %eax
	cmpb	$47, %al
	jg	.L28
.L13:
	movl	%esi, sz(%rip)
.L5:
	movl	%r11d, %esi
	leaq	.LC0(%rip), %rdi
	xorl	%eax, %eax
	call	printf@PLT
	xorl	%eax, %eax
	popq	%rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L27:
	.cfi_restore_state
	movl	%r10d, %eax
	andl	%r9d, %eax
	jmp	.L12
.L25:
	xorl	%r8d, %r8d
	jmp	.L7
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.globl	sz
	.bss
	.align 4
	.type	sz, @object
	.size	sz, 4
sz:
	.zero	4
	.globl	buf
	.align 32
	.type	buf, @object
	.size	buf, 1048576
buf:
	.zero	1048576
	.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
char buf[1<<20];
sz;
main()
{
	read(0,buf,1<<20);
	for(;buf[sz++]>='0';);
	int A=0;
	for(;;)
	{
		char k=buf[sz++];
		if(k<'0')break;
		A=A*10+k-'0';
	}
	int ans=1;
	char s=0,t=0;
	for(;buf[sz]>='0';)
	{
		int B=0;
		for(;;)
		{
			char k=buf[sz++];
			if(k<'0')break;
			B=B*10+k-'0';
		}
		if(A>B)s=1;
		else if(A<B)t=1;
		if(s&&t)s=t=0,++ans;
		A=B;
	}
	printf("%d\n",ans);
}
```
Given the following C code, your task is to generate highly optimized x86-64 assembly code.
C Code:

```c
char buf[1<<20];
sz;
main()
{
	read(0,buf,1<<20);
	for(;buf[sz++]>='0';);
	int A=0;
	for(;;)
	{
		char k=buf[sz++];
		if(k<'0')break;
		A=A*10+k-'0';
	}
	int ans=1;
	char s=0,t=0;
	for(;buf[sz]>='0';)
	{
		int B=0;
		for(;;)
		{
			char k=buf[sz++];
			if(k<'0')break;
			B=B*10+k-'0';
		}
		if(A>B)s=1;
		else if(A<B)t=1;
		if(s&&t)s=t=0,++ans;
		A=B;
	}
	printf("%d\n",ans);
}
```

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
1 2 3 2 0 1
 9
1 2 1 2 2 2 1 2 1
 6
1 2 3 2 0 0
 9
0 1 0 -1 2 7 2 -1 0
 7
1 2 3 2 1 999999999 1000000100
 9
1 2 1 2 2 2 2 2 1
 7
1 4 3 2 1 999999999 1000000100
 6
0 2 3 2 0 0
 9
1 2 0 2 2 2 2 2 1
 7
1 4 3 4 1 999999999 1000000100

3
 4
 2
 2
 3
 3
 3
 2
 3
 3

Given the following C code and assembly code, your task is to generate highly optimized x86-64 assembly code.
C Code:

```c
char buf[1<<20];
sz;
main()
{
	read(0,buf,1<<20);
	for(;buf[sz++]>='0';);
	int A=0;
	for(;;)
	{
		char k=buf[sz++];
		if(k<'0')break;
		A=A*10+k-'0';
	}
	int ans=1;
	char s=0,t=0;
	for(;buf[sz]>='0';)
	{
		int B=0;
		for(;;)
		{
			char k=buf[sz++];
			if(k<'0')break;
			B=B*10+k-'0';
		}
		if(A>B)s=1;
		else if(A<B)t=1;
		if(s&&t)s=t=0,++ans;
		A=B;
	}
	printf("%d\n",ans);
}
```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	leaq	buf(%rip), %rbx
	movl	$1048576, %edx
	xorl	%edi, %edi
	movq	%rbx, %rsi
	xorl	%eax, %eax
	call	read@PLT
	movslq	sz(%rip), %rcx
	movq	%rcx, %rdx
	addq	%rbx, %rcx
	.p2align 4,,10
	.p2align 3
.L2:
	addq	$1, %rcx
	movl	%edx, %eax
	addl	$1, %edx
	cmpb	$47, -1(%rcx)
	jg	.L2
	movslq	%edx, %rdx
	leal	2(%rax), %esi
	movsbl	(%rbx,%rdx), %edx
	movl	%esi, sz(%rip)
	cmpb	$47, %dl
	jle	.L25
	addl	$3, %eax
	xorl	%r8d, %r8d
	leaq	-2+buf(%rip), %rdi
	cltq
	.p2align 4,,10
	.p2align 3
.L6:
	leal	(%r8,%r8,4), %ecx
	movl	%eax, %esi
	addq	$1, %rax
	leal	-48(%rdx,%rcx,2), %r8d
	movsbl	(%rdi,%rax), %edx
	cmpb	$47, %dl
	jg	.L6
	movl	%esi, sz(%rip)
.L7:
	movslq	%esi, %rax
	movl	$1, %r11d
	movsbl	(%rbx,%rax), %eax
	cmpb	$47, %al
	jle	.L5
	xorl	%r9d, %r9d
	xorl	%r10d, %r10d
	movl	$1, %r11d
	leaq	-2+buf(%rip), %rdi
	.p2align 4,,10
	.p2align 3
.L4:
	leal	2(%rsi), %edx
	xorl	%ecx, %ecx
	movslq	%edx, %rdx
	.p2align 4,,10
	.p2align 3
.L8:
	leal	(%rcx,%rcx,4), %ecx
	movl	%edx, %esi
	addq	$1, %rdx
	leal	-48(%rax,%rcx,2), %ecx
	movsbl	(%rdi,%rdx), %eax
	cmpb	$47, %al
	jg	.L8
	cmpl	%r8d, %ecx
	jl	.L26
	movl	%r10d, %eax
	andl	$1, %eax
	cmpl	%r8d, %ecx
	jle	.L27
	movl	$1, %r9d
.L12:
	testb	%al, %al
	je	.L11
.L10:
	addl	$1, %r11d
	xorl	%r9d, %r9d
	xorl	%r10d, %r10d
.L11:
	movslq	%esi, %rax
	movsbl	(%rbx,%rax), %eax
	cmpb	$47, %al
	jle	.L13
.L28:
	movl	%ecx, %r8d
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L26:
	movl	$1, %r10d
	testb	%r9b, %r9b
	jne	.L10
	movslq	%esi, %rax
	movsbl	(%rbx,%rax), %eax
	cmpb	$47, %al
	jg	.L28
.L13:
	movl	%esi, sz(%rip)
.L5:
	movl	%r11d, %esi
	leaq	.LC0(%rip), %rdi
	xorl	%eax, %eax
	call	printf@PLT
	xorl	%eax, %eax
	popq	%rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L27:
	.cfi_restore_state
	movl	%r10d, %eax
	andl	%r9d, %eax
	jmp	.L12
.L25:
	xorl	%r8d, %r8d
	jmp	.L7
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.globl	sz
	.bss
	.align 4
	.type	sz, @object
	.size	sz, 4
sz:
	.zero	4
	.globl	buf
	.align 32
	.type	buf, @object
	.size	buf, 1048576
buf:
	.zero	1048576
	.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\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	leaq	buf(%rip), %rbx
	movl	$1048576, %edx
	xorl	%edi, %edi
	movq	%rbx, %rsi
	xorl	%eax, %eax
	call	read@PLT
	movslq	sz(%rip), %rcx
	movq	%rcx, %rdx
	addq	%rbx, %rcx
	.p2align 4,,10
	.p2align 3
.L2:
	addq	$1, %rcx
	movl	%edx, %eax
	addl	$1, %edx
	cmpb	$47, -1(%rcx)
	jg	.L2
	movslq	%edx, %rdx
	leal	2(%rax), %esi
	movsbl	(%rbx,%rdx), %edx
	movl	%esi, sz(%rip)
	cmpb	$47, %dl
	jle	.L25
	addl	$3, %eax
	xorl	%r8d, %r8d
	leaq	-2+buf(%rip), %rdi
	cltq
	.p2align 4,,10
	.p2align 3
.L6:
	leal	(%r8,%r8,4), %ecx
	movl	%eax, %esi
	addq	$1, %rax
	leal	-48(%rdx,%rcx,2), %r8d
	movsbl	(%rdi,%rax), %edx
	cmpb	$47, %dl
	jg	.L6
	movl	%esi, sz(%rip)
.L7:
	movslq	%esi, %rax
	movl	$1, %r11d
	movsbl	(%rbx,%rax), %eax
	cmpb	$47, %al
	jle	.L5
	xorl	%r9d, %r9d
	xorl	%r10d, %r10d
	movl	$1, %r11d
	leaq	-2+buf(%rip), %rdi
	.p2align 4,,10
	.p2align 3
.L4:
	leal	2(%rsi), %edx
	xorl	%ecx, %ecx
	movslq	%edx, %rdx
	.p2align 4,,10
	.p2align 3
.L8:
	leal	(%rcx,%rcx,4), %ecx
	movl	%edx, %esi
	addq	$1, %rdx
	leal	-48(%rax,%rcx,2), %ecx
	movsbl	(%rdi,%rdx), %eax
	cmpb	$47, %al
	jg	.L8
	cmpl	%r8d, %ecx
	jl	.L26
	movl	%r10d, %eax
	andl	$1, %eax
	cmpl	%r8d, %ecx
	jle	.L27
	movl	$1, %r9d
.L12:
	testb	%al, %al
	je	.L11
.L10:
	addl	$1, %r11d
	xorl	%r9d, %r9d
	xorl	%r10d, %r10d
.L11:
	movslq	%esi, %rax
	movsbl	(%rbx,%rax), %eax
	cmpb	$47, %al
	jle	.L13
.L28:
	movl	%ecx, %r8d
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L26:
	movl	$1, %r10d
	testb	%r9b, %r9b
	jne	.L10
	movslq	%esi, %rax
	movsbl	(%rbx,%rax), %eax
	cmpb	$47, %al
	jg	.L28
.L13:
	movl	%esi, sz(%rip)
.L5:
	movl	%r11d, %esi
	leaq	.LC0(%rip), %rdi
	xorl	%eax, %eax
	call	printf@PLT
	xorl	%eax, %eax
	popq	%rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L27:
	.cfi_restore_state
	movl	%r10d, %eax
	andl	%r9d, %eax
	jmp	.L12
.L25:
	xorl	%r8d, %r8d
	jmp	.L7
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.globl	sz
	.bss
	.align 4
	.type	sz, @object
	.size	sz, 4
sz:
	.zero	4
	.globl	buf
	.align 32
	.type	buf, @object
	.size	buf, 1048576
buf:
	.zero	1048576
	.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:
```