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

```c
#include <float.h>
#include <inttypes.h>
#include <limits.h>
#include <stdbool.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include <unistd.h>
#include <math.h>
#ifdef __cplusplus
#include <bits/stdc++.h>
#endif

char rbuf[2800014];
int rbufl;

#define getchar_unlocked() rbuf[rbufl++]

int32_t nextint(void){ char c=getchar_unlocked(); while(c!='-'&&(c<'0'||'9'<c)) c=getchar_unlocked(); bool s=false; if(c=='-'){s=true;c=getchar_unlocked();} uint32_t x=0; while('0'<=c && c<='9'){ x=x*10+c-'0'; c=getchar_unlocked(); } return s?-x:x; }

int edge[200000][2];

int qmem[400000];

int *e[100001];
int el[100001];

int prev[100001];

int s[100000];
int sl, sr;

int main(void){
	read(STDIN_FILENO, rbuf, sizeof(rbuf));
	int n=nextint();
	int m=nextint();
	for(int i=0; i<m; i++){
		int A=nextint();
		int B=nextint();
		edge[i][0]=A;
		edge[i][1]=B;
		el[A]++;
		el[B]++;
	}
	int ne=0;
	for(int i=1; i<=n; i++){
		e[i]=&qmem[ne];
		ne+=el[i];
		el[i]=0;
	}
	for(int i=0; i<m; i++){
		int A=edge[i][0];
		int B=edge[i][1];
		e[A][el[A]++]=B;
		e[B][el[B]++]=A;
	}
	int k=0;
	prev[1]=1;
	s[sr++]=1;
	while(sl<sr){
		k++;
		int from = s[sl++];
		for(int i=0; i<el[from]; i++){
			int to = e[from][i];
			if(prev[to]==0){
				prev[to]=from;
				s[sr++]=to;
			}
		}
	}
	if(k==n){
		puts("Yes");
		for(int i=2; i<=n; i++){
			printf("%d\n", prev[i]);
		}
	}else{
		puts("No");
	}
}
```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.globl	rbuf
	.bss
	.align 32
	.type	rbuf, @object
	.size	rbuf, 2800014
rbuf:
	.zero	2800014
	.globl	rbufl
	.align 4
	.type	rbufl, @object
	.size	rbufl, 4
rbufl:
	.zero	4
	.text
	.globl	nextint
	.type	nextint, @function
nextint:
.LFB6:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	movl	rbufl(%rip), %eax
	leal	1(%rax), %edx
	movl	%edx, rbufl(%rip)
	cltq
	leaq	rbuf(%rip), %rdx
	movzbl	(%rax,%rdx), %eax
	movb	%al, -6(%rbp)
	jmp	.L2
.L4:
	movl	rbufl(%rip), %eax
	leal	1(%rax), %edx
	movl	%edx, rbufl(%rip)
	cltq
	leaq	rbuf(%rip), %rdx
	movzbl	(%rax,%rdx), %eax
	movb	%al, -6(%rbp)
.L2:
	cmpb	$45, -6(%rbp)
	je	.L3
	cmpb	$47, -6(%rbp)
	jle	.L4
	cmpb	$57, -6(%rbp)
	jg	.L4
.L3:
	movb	$0, -5(%rbp)
	cmpb	$45, -6(%rbp)
	jne	.L5
	movb	$1, -5(%rbp)
	movl	rbufl(%rip), %eax
	leal	1(%rax), %edx
	movl	%edx, rbufl(%rip)
	cltq
	leaq	rbuf(%rip), %rdx
	movzbl	(%rax,%rdx), %eax
	movb	%al, -6(%rbp)
.L5:
	movl	$0, -4(%rbp)
	jmp	.L6
.L8:
	movl	-4(%rbp), %edx
	movl	%edx, %eax
	sall	$2, %eax
	addl	%edx, %eax
	addl	%eax, %eax
	movl	%eax, %edx
	movsbl	-6(%rbp), %eax
	addl	%edx, %eax
	subl	$48, %eax
	movl	%eax, -4(%rbp)
	movl	rbufl(%rip), %eax
	leal	1(%rax), %edx
	movl	%edx, rbufl(%rip)
	cltq
	leaq	rbuf(%rip), %rdx
	movzbl	(%rax,%rdx), %eax
	movb	%al, -6(%rbp)
.L6:
	cmpb	$47, -6(%rbp)
	jle	.L7
	cmpb	$57, -6(%rbp)
	jle	.L8
.L7:
	cmpb	$0, -5(%rbp)
	je	.L9
	movl	-4(%rbp), %eax
	negl	%eax
	jmp	.L11
.L9:
	movl	-4(%rbp), %eax
.L11:
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	nextint, .-nextint
	.globl	edge
	.bss
	.align 32
	.type	edge, @object
	.size	edge, 1600000
edge:
	.zero	1600000
	.globl	qmem
	.align 32
	.type	qmem, @object
	.size	qmem, 1600000
qmem:
	.zero	1600000
	.globl	e
	.align 32
	.type	e, @object
	.size	e, 800008
e:
	.zero	800008
	.globl	el
	.align 32
	.type	el, @object
	.size	el, 400004
el:
	.zero	400004
	.globl	prev
	.align 32
	.type	prev, @object
	.size	prev, 400004
prev:
	.zero	400004
	.globl	s
	.align 32
	.type	s, @object
	.size	s, 400000
s:
	.zero	400000
	.globl	sl
	.align 4
	.type	sl, @object
	.size	sl, 4
sl:
	.zero	4
	.globl	sr
	.align 4
	.type	sr, @object
	.size	sr, 4
sr:
	.zero	4
	.section	.rodata
.LC0:
	.string	"Yes"
.LC1:
	.string	"%d\n"
.LC2:
	.string	"No"
	.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
	subq	$64, %rsp
	movl	$2800014, %edx
	leaq	rbuf(%rip), %rax
	movq	%rax, %rsi
	movl	$0, %edi
	call	read@PLT
	call	nextint
	movl	%eax, -32(%rbp)
	call	nextint
	movl	%eax, -28(%rbp)
	movl	$0, -60(%rbp)
	jmp	.L13
.L14:
	call	nextint
	movl	%eax, -8(%rbp)
	call	nextint
	movl	%eax, -4(%rbp)
	movl	-60(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rcx
	leaq	edge(%rip), %rdx
	movl	-8(%rbp), %eax
	movl	%eax, (%rcx,%rdx)
	movl	-60(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rcx
	leaq	4+edge(%rip), %rdx
	movl	-4(%rbp), %eax
	movl	%eax, (%rcx,%rdx)
	movl	-8(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	el(%rip), %rax
	movl	(%rdx,%rax), %eax
	leal	1(%rax), %ecx
	movl	-8(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	el(%rip), %rax
	movl	%ecx, (%rdx,%rax)
	movl	-4(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	el(%rip), %rax
	movl	(%rdx,%rax), %eax
	leal	1(%rax), %ecx
	movl	-4(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	el(%rip), %rax
	movl	%ecx, (%rdx,%rax)
	addl	$1, -60(%rbp)
.L13:
	movl	-60(%rbp), %eax
	cmpl	-28(%rbp), %eax
	jl	.L14
	movl	$0, -56(%rbp)
	movl	$1, -52(%rbp)
	jmp	.L15
.L16:
	movl	-56(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	qmem(%rip), %rax
	leaq	(%rdx,%rax), %rcx
	movl	-52(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rdx
	leaq	e(%rip), %rax
	movq	%rcx, (%rdx,%rax)
	movl	-52(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	el(%rip), %rax
	movl	(%rdx,%rax), %eax
	addl	%eax, -56(%rbp)
	movl	-52(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	el(%rip), %rax
	movl	$0, (%rdx,%rax)
	addl	$1, -52(%rbp)
.L15:
	movl	-52(%rbp), %eax
	cmpl	-32(%rbp), %eax
	jle	.L16
	movl	$0, -48(%rbp)
	jmp	.L17
.L18:
	movl	-48(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rdx
	leaq	edge(%rip), %rax
	movl	(%rdx,%rax), %eax
	movl	%eax, -16(%rbp)
	movl	-48(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rdx
	leaq	4+edge(%rip), %rax
	movl	(%rdx,%rax), %eax
	movl	%eax, -12(%rbp)
	movl	-16(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rdx
	leaq	e(%rip), %rax
	movq	(%rdx,%rax), %rdi
	movl	-16(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	el(%rip), %rax
	movl	(%rdx,%rax), %eax
	leal	1(%rax), %edx
	movl	-16(%rbp), %ecx
	movslq	%ecx, %rcx
	leaq	0(,%rcx,4), %rsi
	leaq	el(%rip), %rcx
	movl	%edx, (%rsi,%rcx)
	cltq
	salq	$2, %rax
	leaq	(%rdi,%rax), %rdx
	movl	-12(%rbp), %eax
	movl	%eax, (%rdx)
	movl	-12(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rdx
	leaq	e(%rip), %rax
	movq	(%rdx,%rax), %rdi
	movl	-12(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	el(%rip), %rax
	movl	(%rdx,%rax), %eax
	leal	1(%rax), %edx
	movl	-12(%rbp), %ecx
	movslq	%ecx, %rcx
	leaq	0(,%rcx,4), %rsi
	leaq	el(%rip), %rcx
	movl	%edx, (%rsi,%rcx)
	cltq
	salq	$2, %rax
	leaq	(%rdi,%rax), %rdx
	movl	-16(%rbp), %eax
	movl	%eax, (%rdx)
	addl	$1, -48(%rbp)
.L17:
	movl	-48(%rbp), %eax
	cmpl	-28(%rbp), %eax
	jl	.L18
	movl	$0, -44(%rbp)
	movl	$1, 4+prev(%rip)
	movl	sr(%rip), %eax
	leal	1(%rax), %edx
	movl	%edx, sr(%rip)
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	s(%rip), %rax
	movl	$1, (%rdx,%rax)
	jmp	.L19
.L23:
	addl	$1, -44(%rbp)
	movl	sl(%rip), %eax
	leal	1(%rax), %edx
	movl	%edx, sl(%rip)
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	s(%rip), %rax
	movl	(%rdx,%rax), %eax
	movl	%eax, -24(%rbp)
	movl	$0, -40(%rbp)
	jmp	.L20
.L22:
	movl	-24(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rdx
	leaq	e(%rip), %rax
	movq	(%rdx,%rax), %rdx
	movl	-40(%rbp), %eax
	cltq
	salq	$2, %rax
	addq	%rdx, %rax
	movl	(%rax), %eax
	movl	%eax, -20(%rbp)
	movl	-20(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	prev(%rip), %rax
	movl	(%rdx,%rax), %eax
	testl	%eax, %eax
	jne	.L21
	movl	-20(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rcx
	leaq	prev(%rip), %rdx
	movl	-24(%rbp), %eax
	movl	%eax, (%rcx,%rdx)
	movl	sr(%rip), %eax
	leal	1(%rax), %edx
	movl	%edx, sr(%rip)
	cltq
	leaq	0(,%rax,4), %rcx
	leaq	s(%rip), %rdx
	movl	-20(%rbp), %eax
	movl	%eax, (%rcx,%rdx)
.L21:
	addl	$1, -40(%rbp)
.L20:
	movl	-24(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	el(%rip), %rax
	movl	(%rdx,%rax), %eax
	cmpl	%eax, -40(%rbp)
	jl	.L22
.L19:
	movl	sl(%rip), %edx
	movl	sr(%rip), %eax
	cmpl	%eax, %edx
	jl	.L23
	movl	-44(%rbp), %eax
	cmpl	-32(%rbp), %eax
	jne	.L24
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	movl	$2, -36(%rbp)
	jmp	.L25
.L26:
	movl	-36(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	prev(%rip), %rax
	movl	(%rdx,%rax), %eax
	movl	%eax, %esi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	addl	$1, -36(%rbp)
.L25:
	movl	-36(%rbp), %eax
	cmpl	-32(%rbp), %eax
	jle	.L26
	jmp	.L27
.L24:
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
.L27:
	movl	$0, %eax
	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	nextint
	.type	nextint, @function
nextint:
.LFB63:
	.cfi_startproc
	endbr64
	movslq	rbufl(%rip), %rax
	leaq	rbuf(%rip), %r8
	leal	1(%rax), %edx
	movq	%rax, %rcx
	movsbl	(%r8,%rax), %eax
	movl	%edx, rbufl(%rip)
	leal	-48(%rax), %esi
	cmpb	$45, %al
	je	.L5
	cmpb	$9, %sil
	jbe	.L2
	addl	$2, %ecx
	leaq	-1(%r8), %rdi
	movslq	%ecx, %rcx
	.p2align 4,,10
	.p2align 3
.L3:
	movsbl	(%rdi,%rcx), %eax
	movl	%ecx, %edx
	addq	$1, %rcx
	leal	-48(%rax), %esi
	cmpb	$45, %al
	je	.L14
	cmpb	$9, %sil
	ja	.L3
.L14:
	movl	%edx, rbufl(%rip)
.L2:
	cmpb	$45, %al
	je	.L5
	xorl	%r10d, %r10d
	cmpb	$9, %sil
	ja	.L13
.L6:
	addl	$1, %edx
	xorl	%ecx, %ecx
	leaq	-1+rbuf(%rip), %rdi
	movslq	%edx, %rdx
	.p2align 4,,10
	.p2align 3
.L9:
	leal	(%rcx,%rcx,4), %ecx
	movl	%edx, %r9d
	leal	(%rax,%rcx,2), %esi
	movsbl	(%rdi,%rdx), %eax
	addq	$1, %rdx
	leal	-48(%rsi), %ecx
	leal	-48(%rax), %r8d
	cmpb	$9, %r8b
	jbe	.L9
	movl	$48, %eax
	movl	%r9d, rbufl(%rip)
	subl	%esi, %eax
	testb	%r10b, %r10b
	cmove	%ecx, %eax
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	leal	1(%rdx), %ecx
	movslq	%edx, %rdx
	movsbl	(%r8,%rdx), %eax
	movl	%ecx, rbufl(%rip)
	leal	-48(%rax), %edx
	cmpb	$9, %dl
	ja	.L13
	movl	%ecx, %edx
	movl	$1, %r10d
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L13:
	xorl	%eax, %eax
	ret
	.cfi_endproc
.LFE63:
	.size	nextint, .-nextint
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Yes"
.LC1:
	.string	"%d\n"
.LC2:
	.string	"No"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB64:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	movl	$2800014, %edx
	leaq	rbuf(%rip), %rsi
	xorl	%edi, %edi
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	subq	$8, %rsp
	.cfi_def_cfa_offset 64
	call	read@PLT
	call	nextint
	movl	%eax, %ebx
	call	nextint
	movl	%eax, %ebp
	testl	%eax, %eax
	jle	.L28
	leaq	edge(%rip), %r12
	leal	-1(%rax), %eax
	leaq	8(%r12), %rdx
	movq	%r12, %r15
	leaq	el(%rip), %r11
	leaq	(%rdx,%rax,8), %r13
	.p2align 4,,10
	.p2align 3
.L29:
	call	nextint
	addq	$8, %r15
	movslq	%eax, %r14
	call	nextint
	movd	%r14d, %xmm0
	movd	%eax, %xmm1
	cltq
	punpckldq	%xmm1, %xmm0
	movq	%xmm0, -8(%r15)
	addl	$1, (%r11,%r14,4)
	addl	$1, (%r11,%rax,4)
	cmpq	%r15, %r13
	jne	.L29
	leaq	e(%rip), %rdi
	testl	%ebx, %ebx
	jle	.L32
.L47:
	movl	$1, %eax
	xorl	%edx, %edx
	leaq	e(%rip), %rdi
	leaq	qmem(%rip), %rsi
	.p2align 4,,10
	.p2align 3
.L31:
	movslq	%edx, %rcx
	addl	(%r11,%rax,4), %edx
	movl	$0, (%r11,%rax,4)
	leaq	(%rsi,%rcx,4), %rcx
	movq	%rcx, (%rdi,%rax,8)
	addq	$1, %rax
	cmpl	%eax, %ebx
	jge	.L31
	leaq	edge(%rip), %r12
	testl	%ebp, %ebp
	jle	.L64
.L32:
	xorl	%edx, %edx
	leaq	4+edge(%rip), %r9
	.p2align 4,,10
	.p2align 3
.L36:
	movslq	(%r12,%rdx,8), %rsi
	movslq	(%r9,%rdx,8), %rax
	addq	$1, %rdx
	movslq	(%r11,%rsi,4), %rcx
	movq	(%rdi,%rsi,8), %r10
	movq	%rsi, %r8
	leal	1(%rcx), %r13d
	movl	%r13d, (%r11,%rsi,4)
	movq	(%rdi,%rax,8), %rsi
	movl	%eax, (%r10,%rcx,4)
	movslq	(%r11,%rax,4), %rcx
	leal	1(%rcx), %r10d
	movl	%r10d, (%r11,%rax,4)
	movl	%r8d, (%rsi,%rcx,4)
	cmpl	%edx, %ebp
	jg	.L36
.L37:
	movslq	sr(%rip), %rax
	movl	sl(%rip), %r10d
	leaq	s(%rip), %rbp
	movl	$1, 4+prev(%rip)
	leaq	el(%rip), %r11
	leal	1(%rax), %edx
	movl	$1, 0(%rbp,%rax,4)
	movl	%edx, sr(%rip)
	cmpl	%r10d, %edx
	jle	.L65
.L34:
	movslq	%r10d, %rax
	movl	$1, %r13d
	leaq	e(%rip), %r15
	leaq	0(%rbp,%rax,4), %r12
	subl	%r10d, %r13d
	leaq	prev(%rip), %rdi
	.p2align 4,,10
	.p2align 3
.L41:
	movslq	(%r12), %rcx
	leal	0(%r13,%r10), %r14d
	addl	$1, %r10d
	movl	%r10d, sl(%rip)
	movl	(%r11,%rcx,4), %eax
	movq	%rcx, %r9
	testl	%eax, %eax
	jle	.L38
	movq	(%r15,%rcx,8), %rcx
	leal	-1(%rax), %esi
	leaq	4(%rcx), %rax
	leaq	(%rax,%rsi,4), %r8
	jmp	.L40
	.p2align 4,,10
	.p2align 3
.L66:
	addq	$4, %rax
.L40:
	movslq	(%rcx), %rsi
	cmpl	$0, (%rdi,%rsi,4)
	movq	%rsi, %rcx
	jne	.L39
	movl	%r9d, (%rdi,%rsi,4)
	leal	1(%rdx), %esi
	movslq	%edx, %rdx
	movl	%esi, sr(%rip)
	movl	%ecx, 0(%rbp,%rdx,4)
	movl	%esi, %edx
.L39:
	movq	%rax, %rcx
	cmpq	%rax, %r8
	jne	.L66
.L38:
	addq	$4, %r12
	cmpl	%edx, %r10d
	jl	.L41
	cmpl	%r14d, %ebx
	je	.L67
.L42:
	leaq	.LC2(%rip), %rdi
	call	puts@PLT
.L62:
	addq	$8, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%rbp
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	ret
.L67:
	.cfi_restore_state
	leaq	.LC0(%rip), %rdi
	movl	$2, %ebp
	leaq	prev(%rip), %r13
	call	puts@PLT
	leaq	.LC1(%rip), %r12
	cmpl	$1, %ebx
	je	.L62
	.p2align 4,,10
	.p2align 3
.L43:
	movl	0(%r13,%rbp,4), %edx
	movq	%r12, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	addq	$1, %rbp
	call	__printf_chk@PLT
	cmpl	%ebp, %ebx
	jge	.L43
	jmp	.L62
.L28:
	leaq	el(%rip), %r11
	testl	%ebx, %ebx
	jg	.L47
	jmp	.L37
.L64:
	movslq	sr(%rip), %rax
	movl	sl(%rip), %r10d
	leaq	s(%rip), %rbp
	movl	$1, 4+prev(%rip)
	leal	1(%rax), %edx
	movl	$1, 0(%rbp,%rax,4)
	movl	%edx, sr(%rip)
	cmpl	%edx, %r10d
	jl	.L34
	jmp	.L42
.L65:
	testl	%ebx, %ebx
	jne	.L42
	leaq	.LC0(%rip), %rdi
	call	puts@PLT
	jmp	.L62
	.cfi_endproc
.LFE64:
	.size	main, .-main
	.globl	sr
	.bss
	.align 4
	.type	sr, @object
	.size	sr, 4
sr:
	.zero	4
	.globl	sl
	.align 4
	.type	sl, @object
	.size	sl, 4
sl:
	.zero	4
	.globl	s
	.align 32
	.type	s, @object
	.size	s, 400000
s:
	.zero	400000
	.globl	prev
	.align 32
	.type	prev, @object
	.size	prev, 400004
prev:
	.zero	400004
	.globl	el
	.align 32
	.type	el, @object
	.size	el, 400004
el:
	.zero	400004
	.globl	e
	.align 32
	.type	e, @object
	.size	e, 800008
e:
	.zero	800008
	.globl	qmem
	.align 32
	.type	qmem, @object
	.size	qmem, 1600000
qmem:
	.zero	1600000
	.globl	edge
	.align 32
	.type	edge, @object
	.size	edge, 1600000
edge:
	.zero	1600000
	.globl	rbufl
	.align 4
	.type	rbufl, @object
	.size	rbufl, 4
rbufl:
	.zero	4
	.globl	rbuf
	.align 32
	.type	rbuf, @object
	.size	rbuf, 2800014
rbuf:
	.zero	2800014
	.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	nextint
	.type	nextint, @function
nextint:
.LFB63:
	.cfi_startproc
	endbr64
	movslq	rbufl(%rip), %rax
	leaq	rbuf(%rip), %r8
	leal	1(%rax), %edx
	movq	%rax, %rcx
	movsbl	(%r8,%rax), %eax
	movl	%edx, rbufl(%rip)
	leal	-48(%rax), %esi
	cmpb	$45, %al
	je	.L5
	cmpb	$9, %sil
	jbe	.L2
	addl	$2, %ecx
	leaq	-1(%r8), %rdi
	movslq	%ecx, %rcx
	.p2align 4,,10
	.p2align 3
.L3:
	movsbl	(%rdi,%rcx), %eax
	movl	%ecx, %edx
	addq	$1, %rcx
	leal	-48(%rax), %esi
	cmpb	$45, %al
	je	.L14
	cmpb	$9, %sil
	ja	.L3
.L14:
	movl	%edx, rbufl(%rip)
.L2:
	cmpb	$45, %al
	je	.L5
	xorl	%r10d, %r10d
	cmpb	$9, %sil
	ja	.L13
.L6:
	addl	$1, %edx
	xorl	%ecx, %ecx
	leaq	-1+rbuf(%rip), %rdi
	movslq	%edx, %rdx
	.p2align 4,,10
	.p2align 3
.L9:
	leal	(%rcx,%rcx,4), %ecx
	movl	%edx, %r9d
	leal	(%rax,%rcx,2), %esi
	movsbl	(%rdi,%rdx), %eax
	addq	$1, %rdx
	leal	-48(%rsi), %ecx
	leal	-48(%rax), %r8d
	cmpb	$9, %r8b
	jbe	.L9
	movl	$48, %eax
	movl	%r9d, rbufl(%rip)
	subl	%esi, %eax
	testb	%r10b, %r10b
	cmove	%ecx, %eax
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	leal	1(%rdx), %ecx
	movslq	%edx, %rdx
	movsbl	(%r8,%rdx), %eax
	movl	%ecx, rbufl(%rip)
	leal	-48(%rax), %edx
	cmpb	$9, %dl
	ja	.L13
	movl	%ecx, %edx
	movl	$1, %r10d
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L13:
	xorl	%eax, %eax
	ret
	.cfi_endproc
.LFE63:
	.size	nextint, .-nextint
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Yes"
.LC1:
	.string	"%d\n"
.LC2:
	.string	"No"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB64:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	movl	$2800014, %edx
	leaq	rbuf(%rip), %rsi
	xorl	%edi, %edi
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	subq	$8, %rsp
	.cfi_def_cfa_offset 64
	call	read@PLT
	call	nextint
	movl	%eax, %ebx
	call	nextint
	movl	%eax, %ebp
	testl	%eax, %eax
	jle	.L28
	leaq	edge(%rip), %r12
	leal	-1(%rax), %eax
	leaq	8(%r12), %rdx
	movq	%r12, %r15
	leaq	el(%rip), %r11
	leaq	(%rdx,%rax,8), %r13
	.p2align 4,,10
	.p2align 3
.L29:
	call	nextint
	addq	$8, %r15
	movslq	%eax, %r14
	call	nextint
	movd	%r14d, %xmm0
	movd	%eax, %xmm1
	cltq
	punpckldq	%xmm1, %xmm0
	movq	%xmm0, -8(%r15)
	addl	$1, (%r11,%r14,4)
	addl	$1, (%r11,%rax,4)
	cmpq	%r15, %r13
	jne	.L29
	leaq	e(%rip), %rdi
	testl	%ebx, %ebx
	jle	.L32
.L47:
	movl	$1, %eax
	xorl	%edx, %edx
	leaq	e(%rip), %rdi
	leaq	qmem(%rip), %rsi
	.p2align 4,,10
	.p2align 3
.L31:
	movslq	%edx, %rcx
	addl	(%r11,%rax,4), %edx
	movl	$0, (%r11,%rax,4)
	leaq	(%rsi,%rcx,4), %rcx
	movq	%rcx, (%rdi,%rax,8)
	addq	$1, %rax
	cmpl	%eax, %ebx
	jge	.L31
	leaq	edge(%rip), %r12
	testl	%ebp, %ebp
	jle	.L64
.L32:
	xorl	%edx, %edx
	leaq	4+edge(%rip), %r9
	.p2align 4,,10
	.p2align 3
.L36:
	movslq	(%r12,%rdx,8), %rsi
	movslq	(%r9,%rdx,8), %rax
	addq	$1, %rdx
	movslq	(%r11,%rsi,4), %rcx
	movq	(%rdi,%rsi,8), %r10
	movq	%rsi, %r8
	leal	1(%rcx), %r13d
	movl	%r13d, (%r11,%rsi,4)
	movq	(%rdi,%rax,8), %rsi
	movl	%eax, (%r10,%rcx,4)
	movslq	(%r11,%rax,4), %rcx
	leal	1(%rcx), %r10d
	movl	%r10d, (%r11,%rax,4)
	movl	%r8d, (%rsi,%rcx,4)
	cmpl	%edx, %ebp
	jg	.L36
.L37:
	movslq	sr(%rip), %rax
	movl	sl(%rip), %r10d
	leaq	s(%rip), %rbp
	movl	$1, 4+prev(%rip)
	leaq	el(%rip), %r11
	leal	1(%rax), %edx
	movl	$1, 0(%rbp,%rax,4)
	movl	%edx, sr(%rip)
	cmpl	%r10d, %edx
	jle	.L65
.L34:
	movslq	%r10d, %rax
	movl	$1, %r13d
	leaq	e(%rip), %r15
	leaq	0(%rbp,%rax,4), %r12
	subl	%r10d, %r13d
	leaq	prev(%rip), %rdi
	.p2align 4,,10
	.p2align 3
.L41:
	movslq	(%r12), %rcx
	leal	0(%r13,%r10), %r14d
	addl	$1, %r10d
	movl	%r10d, sl(%rip)
	movl	(%r11,%rcx,4), %eax
	movq	%rcx, %r9
	testl	%eax, %eax
	jle	.L38
	movq	(%r15,%rcx,8), %rcx
	leal	-1(%rax), %esi
	leaq	4(%rcx), %rax
	leaq	(%rax,%rsi,4), %r8
	jmp	.L40
	.p2align 4,,10
	.p2align 3
.L66:
	addq	$4, %rax
.L40:
	movslq	(%rcx), %rsi
	cmpl	$0, (%rdi,%rsi,4)
	movq	%rsi, %rcx
	jne	.L39
	movl	%r9d, (%rdi,%rsi,4)
	leal	1(%rdx), %esi
	movslq	%edx, %rdx
	movl	%esi, sr(%rip)
	movl	%ecx, 0(%rbp,%rdx,4)
	movl	%esi, %edx
.L39:
	movq	%rax, %rcx
	cmpq	%rax, %r8
	jne	.L66
.L38:
	addq	$4, %r12
	cmpl	%edx, %r10d
	jl	.L41
	cmpl	%r14d, %ebx
	je	.L67
.L42:
	leaq	.LC2(%rip), %rdi
	call	puts@PLT
.L62:
	addq	$8, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%rbp
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	ret
.L67:
	.cfi_restore_state
	leaq	.LC0(%rip), %rdi
	movl	$2, %ebp
	leaq	prev(%rip), %r13
	call	puts@PLT
	leaq	.LC1(%rip), %r12
	cmpl	$1, %ebx
	je	.L62
	.p2align 4,,10
	.p2align 3
.L43:
	movl	0(%r13,%rbp,4), %edx
	movq	%r12, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	addq	$1, %rbp
	call	__printf_chk@PLT
	cmpl	%ebp, %ebx
	jge	.L43
	jmp	.L62
.L28:
	leaq	el(%rip), %r11
	testl	%ebx, %ebx
	jg	.L47
	jmp	.L37
.L64:
	movslq	sr(%rip), %rax
	movl	sl(%rip), %r10d
	leaq	s(%rip), %rbp
	movl	$1, 4+prev(%rip)
	leal	1(%rax), %edx
	movl	$1, 0(%rbp,%rax,4)
	movl	%edx, sr(%rip)
	cmpl	%edx, %r10d
	jl	.L34
	jmp	.L42
.L65:
	testl	%ebx, %ebx
	jne	.L42
	leaq	.LC0(%rip), %rdi
	call	puts@PLT
	jmp	.L62
	.cfi_endproc
.LFE64:
	.size	main, .-main
	.globl	sr
	.bss
	.align 4
	.type	sr, @object
	.size	sr, 4
sr:
	.zero	4
	.globl	sl
	.align 4
	.type	sl, @object
	.size	sl, 4
sl:
	.zero	4
	.globl	s
	.align 32
	.type	s, @object
	.size	s, 400000
s:
	.zero	400000
	.globl	prev
	.align 32
	.type	prev, @object
	.size	prev, 400004
prev:
	.zero	400004
	.globl	el
	.align 32
	.type	el, @object
	.size	el, 400004
el:
	.zero	400004
	.globl	e
	.align 32
	.type	e, @object
	.size	e, 800008
e:
	.zero	800008
	.globl	qmem
	.align 32
	.type	qmem, @object
	.size	qmem, 1600000
qmem:
	.zero	1600000
	.globl	edge
	.align 32
	.type	edge, @object
	.size	edge, 1600000
edge:
	.zero	1600000
	.globl	rbufl
	.align 4
	.type	rbufl, @object
	.size	rbufl, 4
rbufl:
	.zero	4
	.globl	rbuf
	.align 32
	.type	rbuf, @object
	.size	rbuf, 2800014
rbuf:
	.zero	2800014
	.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 <float.h>
#include <inttypes.h>
#include <limits.h>
#include <stdbool.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include <unistd.h>
#include <math.h>
#ifdef __cplusplus
#include <bits/stdc++.h>
#endif

char rbuf[2800014];
int rbufl;

#define getchar_unlocked() rbuf[rbufl++]

int32_t nextint(void){ char c=getchar_unlocked(); while(c!='-'&&(c<'0'||'9'<c)) c=getchar_unlocked(); bool s=false; if(c=='-'){s=true;c=getchar_unlocked();} uint32_t x=0; while('0'<=c && c<='9'){ x=x*10+c-'0'; c=getchar_unlocked(); } return s?-x:x; }

int edge[200000][2];

int qmem[400000];

int *e[100001];
int el[100001];

int prev[100001];

int s[100000];
int sl, sr;

int main(void){
	read(STDIN_FILENO, rbuf, sizeof(rbuf));
	int n=nextint();
	int m=nextint();
	for(int i=0; i<m; i++){
		int A=nextint();
		int B=nextint();
		edge[i][0]=A;
		edge[i][1]=B;
		el[A]++;
		el[B]++;
	}
	int ne=0;
	for(int i=1; i<=n; i++){
		e[i]=&qmem[ne];
		ne+=el[i];
		el[i]=0;
	}
	for(int i=0; i<m; i++){
		int A=edge[i][0];
		int B=edge[i][1];
		e[A][el[A]++]=B;
		e[B][el[B]++]=A;
	}
	int k=0;
	prev[1]=1;
	s[sr++]=1;
	while(sl<sr){
		k++;
		int from = s[sl++];
		for(int i=0; i<el[from]; i++){
			int to = e[from][i];
			if(prev[to]==0){
				prev[to]=from;
				s[sr++]=to;
			}
		}
	}
	if(k==n){
		puts("Yes");
		for(int i=2; i<=n; i++){
			printf("%d\n", prev[i]);
		}
	}else{
		puts("No");
	}
}

4 4
1 4
2 3
3 4
4 2
 6 9
3 4
6 1
2 4
5 3
4 6
1 5
6 2
4 5
5 3
 4 4
1 4
2 3
4 4
4 2
 6 9
3 4
6 1
2 4
5 3
4 6
1 5
6 4
4 5
5 3
 6 9
3 4
6 1
2 1
5 3
4 6
1 5
6 4
4 5
5 3
 6 5
3 4
6 1
2 1
5 3
4 6
1 5
6 4
4 5
3 3
 6 9
3 4
6 1
2 4
5 1
4 6
1 5
6 2
4 5
5 6
 6 9
3 4
6 1
2 1
5 1
4 6
1 5
6 4
4 5
4 3
 6 9
3 4
6 1
2 4
5 3
4 6
1 2
6 2
4 6
5 6
 6 9
3 4
6 1
2 4
5 3
4 6
2 2
6 2
4 6
5 6

Yes
4
4
1
 Yes
6
5
6
1
1
 Yes
4
2
1
 Yes
4
5
6
1
1
 Yes
1
5
6
1
1
 Yes
1
4
6
3
1
 Yes
6
4
6
1
1
 Yes
1
4
6
1
1
 Yes
1
4
6
6
1
 Yes
6
4
6
6
1

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

```c
#include <float.h>
#include <inttypes.h>
#include <limits.h>
#include <stdbool.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include <unistd.h>
#include <math.h>
#ifdef __cplusplus
#include <bits/stdc++.h>
#endif

char rbuf[2800014];
int rbufl;

#define getchar_unlocked() rbuf[rbufl++]

int32_t nextint(void){ char c=getchar_unlocked(); while(c!='-'&&(c<'0'||'9'<c)) c=getchar_unlocked(); bool s=false; if(c=='-'){s=true;c=getchar_unlocked();} uint32_t x=0; while('0'<=c && c<='9'){ x=x*10+c-'0'; c=getchar_unlocked(); } return s?-x:x; }

int edge[200000][2];

int qmem[400000];

int *e[100001];
int el[100001];

int prev[100001];

int s[100000];
int sl, sr;

int main(void){
	read(STDIN_FILENO, rbuf, sizeof(rbuf));
	int n=nextint();
	int m=nextint();
	for(int i=0; i<m; i++){
		int A=nextint();
		int B=nextint();
		edge[i][0]=A;
		edge[i][1]=B;
		el[A]++;
		el[B]++;
	}
	int ne=0;
	for(int i=1; i<=n; i++){
		e[i]=&qmem[ne];
		ne+=el[i];
		el[i]=0;
	}
	for(int i=0; i<m; i++){
		int A=edge[i][0];
		int B=edge[i][1];
		e[A][el[A]++]=B;
		e[B][el[B]++]=A;
	}
	int k=0;
	prev[1]=1;
	s[sr++]=1;
	while(sl<sr){
		k++;
		int from = s[sl++];
		for(int i=0; i<el[from]; i++){
			int to = e[from][i];
			if(prev[to]==0){
				prev[to]=from;
				s[sr++]=to;
			}
		}
	}
	if(k==n){
		puts("Yes");
		for(int i=2; i<=n; i++){
			printf("%d\n", prev[i]);
		}
	}else{
		puts("No");
	}
}
```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.globl	rbuf
	.bss
	.align 32
	.type	rbuf, @object
	.size	rbuf, 2800014
rbuf:
	.zero	2800014
	.globl	rbufl
	.align 4
	.type	rbufl, @object
	.size	rbufl, 4
rbufl:
	.zero	4
	.text
	.globl	nextint
	.type	nextint, @function
nextint:
.LFB6:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	movl	rbufl(%rip), %eax
	leal	1(%rax), %edx
	movl	%edx, rbufl(%rip)
	cltq
	leaq	rbuf(%rip), %rdx
	movzbl	(%rax,%rdx), %eax
	movb	%al, -6(%rbp)
	jmp	.L2
.L4:
	movl	rbufl(%rip), %eax
	leal	1(%rax), %edx
	movl	%edx, rbufl(%rip)
	cltq
	leaq	rbuf(%rip), %rdx
	movzbl	(%rax,%rdx), %eax
	movb	%al, -6(%rbp)
.L2:
	cmpb	$45, -6(%rbp)
	je	.L3
	cmpb	$47, -6(%rbp)
	jle	.L4
	cmpb	$57, -6(%rbp)
	jg	.L4
.L3:
	movb	$0, -5(%rbp)
	cmpb	$45, -6(%rbp)
	jne	.L5
	movb	$1, -5(%rbp)
	movl	rbufl(%rip), %eax
	leal	1(%rax), %edx
	movl	%edx, rbufl(%rip)
	cltq
	leaq	rbuf(%rip), %rdx
	movzbl	(%rax,%rdx), %eax
	movb	%al, -6(%rbp)
.L5:
	movl	$0, -4(%rbp)
	jmp	.L6
.L8:
	movl	-4(%rbp), %edx
	movl	%edx, %eax
	sall	$2, %eax
	addl	%edx, %eax
	addl	%eax, %eax
	movl	%eax, %edx
	movsbl	-6(%rbp), %eax
	addl	%edx, %eax
	subl	$48, %eax
	movl	%eax, -4(%rbp)
	movl	rbufl(%rip), %eax
	leal	1(%rax), %edx
	movl	%edx, rbufl(%rip)
	cltq
	leaq	rbuf(%rip), %rdx
	movzbl	(%rax,%rdx), %eax
	movb	%al, -6(%rbp)
.L6:
	cmpb	$47, -6(%rbp)
	jle	.L7
	cmpb	$57, -6(%rbp)
	jle	.L8
.L7:
	cmpb	$0, -5(%rbp)
	je	.L9
	movl	-4(%rbp), %eax
	negl	%eax
	jmp	.L11
.L9:
	movl	-4(%rbp), %eax
.L11:
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	nextint, .-nextint
	.globl	edge
	.bss
	.align 32
	.type	edge, @object
	.size	edge, 1600000
edge:
	.zero	1600000
	.globl	qmem
	.align 32
	.type	qmem, @object
	.size	qmem, 1600000
qmem:
	.zero	1600000
	.globl	e
	.align 32
	.type	e, @object
	.size	e, 800008
e:
	.zero	800008
	.globl	el
	.align 32
	.type	el, @object
	.size	el, 400004
el:
	.zero	400004
	.globl	prev
	.align 32
	.type	prev, @object
	.size	prev, 400004
prev:
	.zero	400004
	.globl	s
	.align 32
	.type	s, @object
	.size	s, 400000
s:
	.zero	400000
	.globl	sl
	.align 4
	.type	sl, @object
	.size	sl, 4
sl:
	.zero	4
	.globl	sr
	.align 4
	.type	sr, @object
	.size	sr, 4
sr:
	.zero	4
	.section	.rodata
.LC0:
	.string	"Yes"
.LC1:
	.string	"%d\n"
.LC2:
	.string	"No"
	.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
	subq	$64, %rsp
	movl	$2800014, %edx
	leaq	rbuf(%rip), %rax
	movq	%rax, %rsi
	movl	$0, %edi
	call	read@PLT
	call	nextint
	movl	%eax, -32(%rbp)
	call	nextint
	movl	%eax, -28(%rbp)
	movl	$0, -60(%rbp)
	jmp	.L13
.L14:
	call	nextint
	movl	%eax, -8(%rbp)
	call	nextint
	movl	%eax, -4(%rbp)
	movl	-60(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rcx
	leaq	edge(%rip), %rdx
	movl	-8(%rbp), %eax
	movl	%eax, (%rcx,%rdx)
	movl	-60(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rcx
	leaq	4+edge(%rip), %rdx
	movl	-4(%rbp), %eax
	movl	%eax, (%rcx,%rdx)
	movl	-8(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	el(%rip), %rax
	movl	(%rdx,%rax), %eax
	leal	1(%rax), %ecx
	movl	-8(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	el(%rip), %rax
	movl	%ecx, (%rdx,%rax)
	movl	-4(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	el(%rip), %rax
	movl	(%rdx,%rax), %eax
	leal	1(%rax), %ecx
	movl	-4(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	el(%rip), %rax
	movl	%ecx, (%rdx,%rax)
	addl	$1, -60(%rbp)
.L13:
	movl	-60(%rbp), %eax
	cmpl	-28(%rbp), %eax
	jl	.L14
	movl	$0, -56(%rbp)
	movl	$1, -52(%rbp)
	jmp	.L15
.L16:
	movl	-56(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	qmem(%rip), %rax
	leaq	(%rdx,%rax), %rcx
	movl	-52(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rdx
	leaq	e(%rip), %rax
	movq	%rcx, (%rdx,%rax)
	movl	-52(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	el(%rip), %rax
	movl	(%rdx,%rax), %eax
	addl	%eax, -56(%rbp)
	movl	-52(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	el(%rip), %rax
	movl	$0, (%rdx,%rax)
	addl	$1, -52(%rbp)
.L15:
	movl	-52(%rbp), %eax
	cmpl	-32(%rbp), %eax
	jle	.L16
	movl	$0, -48(%rbp)
	jmp	.L17
.L18:
	movl	-48(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rdx
	leaq	edge(%rip), %rax
	movl	(%rdx,%rax), %eax
	movl	%eax, -16(%rbp)
	movl	-48(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rdx
	leaq	4+edge(%rip), %rax
	movl	(%rdx,%rax), %eax
	movl	%eax, -12(%rbp)
	movl	-16(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rdx
	leaq	e(%rip), %rax
	movq	(%rdx,%rax), %rdi
	movl	-16(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	el(%rip), %rax
	movl	(%rdx,%rax), %eax
	leal	1(%rax), %edx
	movl	-16(%rbp), %ecx
	movslq	%ecx, %rcx
	leaq	0(,%rcx,4), %rsi
	leaq	el(%rip), %rcx
	movl	%edx, (%rsi,%rcx)
	cltq
	salq	$2, %rax
	leaq	(%rdi,%rax), %rdx
	movl	-12(%rbp), %eax
	movl	%eax, (%rdx)
	movl	-12(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rdx
	leaq	e(%rip), %rax
	movq	(%rdx,%rax), %rdi
	movl	-12(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	el(%rip), %rax
	movl	(%rdx,%rax), %eax
	leal	1(%rax), %edx
	movl	-12(%rbp), %ecx
	movslq	%ecx, %rcx
	leaq	0(,%rcx,4), %rsi
	leaq	el(%rip), %rcx
	movl	%edx, (%rsi,%rcx)
	cltq
	salq	$2, %rax
	leaq	(%rdi,%rax), %rdx
	movl	-16(%rbp), %eax
	movl	%eax, (%rdx)
	addl	$1, -48(%rbp)
.L17:
	movl	-48(%rbp), %eax
	cmpl	-28(%rbp), %eax
	jl	.L18
	movl	$0, -44(%rbp)
	movl	$1, 4+prev(%rip)
	movl	sr(%rip), %eax
	leal	1(%rax), %edx
	movl	%edx, sr(%rip)
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	s(%rip), %rax
	movl	$1, (%rdx,%rax)
	jmp	.L19
.L23:
	addl	$1, -44(%rbp)
	movl	sl(%rip), %eax
	leal	1(%rax), %edx
	movl	%edx, sl(%rip)
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	s(%rip), %rax
	movl	(%rdx,%rax), %eax
	movl	%eax, -24(%rbp)
	movl	$0, -40(%rbp)
	jmp	.L20
.L22:
	movl	-24(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rdx
	leaq	e(%rip), %rax
	movq	(%rdx,%rax), %rdx
	movl	-40(%rbp), %eax
	cltq
	salq	$2, %rax
	addq	%rdx, %rax
	movl	(%rax), %eax
	movl	%eax, -20(%rbp)
	movl	-20(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	prev(%rip), %rax
	movl	(%rdx,%rax), %eax
	testl	%eax, %eax
	jne	.L21
	movl	-20(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rcx
	leaq	prev(%rip), %rdx
	movl	-24(%rbp), %eax
	movl	%eax, (%rcx,%rdx)
	movl	sr(%rip), %eax
	leal	1(%rax), %edx
	movl	%edx, sr(%rip)
	cltq
	leaq	0(,%rax,4), %rcx
	leaq	s(%rip), %rdx
	movl	-20(%rbp), %eax
	movl	%eax, (%rcx,%rdx)
.L21:
	addl	$1, -40(%rbp)
.L20:
	movl	-24(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	el(%rip), %rax
	movl	(%rdx,%rax), %eax
	cmpl	%eax, -40(%rbp)
	jl	.L22
.L19:
	movl	sl(%rip), %edx
	movl	sr(%rip), %eax
	cmpl	%eax, %edx
	jl	.L23
	movl	-44(%rbp), %eax
	cmpl	-32(%rbp), %eax
	jne	.L24
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	movl	$2, -36(%rbp)
	jmp	.L25
.L26:
	movl	-36(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	prev(%rip), %rax
	movl	(%rdx,%rax), %eax
	movl	%eax, %esi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	addl	$1, -36(%rbp)
.L25:
	movl	-36(%rbp), %eax
	cmpl	-32(%rbp), %eax
	jle	.L26
	jmp	.L27
.L24:
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
.L27:
	movl	$0, %eax
	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	rbuf
	.bss
	.align 32
	.type	rbuf, @object
	.size	rbuf, 2800014
rbuf:
	.zero	2800014
	.globl	rbufl
	.align 4
	.type	rbufl, @object
	.size	rbufl, 4
rbufl:
	.zero	4
	.text
	.globl	nextint
	.type	nextint, @function
nextint:
.LFB6:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	movl	rbufl(%rip), %eax
	leal	1(%rax), %edx
	movl	%edx, rbufl(%rip)
	cltq
	leaq	rbuf(%rip), %rdx
	movzbl	(%rax,%rdx), %eax
	movb	%al, -6(%rbp)
	jmp	.L2
.L4:
	movl	rbufl(%rip), %eax
	leal	1(%rax), %edx
	movl	%edx, rbufl(%rip)
	cltq
	leaq	rbuf(%rip), %rdx
	movzbl	(%rax,%rdx), %eax
	movb	%al, -6(%rbp)
.L2:
	cmpb	$45, -6(%rbp)
	je	.L3
	cmpb	$47, -6(%rbp)
	jle	.L4
	cmpb	$57, -6(%rbp)
	jg	.L4
.L3:
	movb	$0, -5(%rbp)
	cmpb	$45, -6(%rbp)
	jne	.L5
	movb	$1, -5(%rbp)
	movl	rbufl(%rip), %eax
	leal	1(%rax), %edx
	movl	%edx, rbufl(%rip)
	cltq
	leaq	rbuf(%rip), %rdx
	movzbl	(%rax,%rdx), %eax
	movb	%al, -6(%rbp)
.L5:
	movl	$0, -4(%rbp)
	jmp	.L6
.L8:
	movl	-4(%rbp), %edx
	movl	%edx, %eax
	sall	$2, %eax
	addl	%edx, %eax
	addl	%eax, %eax
	movl	%eax, %edx
	movsbl	-6(%rbp), %eax
	addl	%edx, %eax
	subl	$48, %eax
	movl	%eax, -4(%rbp)
	movl	rbufl(%rip), %eax
	leal	1(%rax), %edx
	movl	%edx, rbufl(%rip)
	cltq
	leaq	rbuf(%rip), %rdx
	movzbl	(%rax,%rdx), %eax
	movb	%al, -6(%rbp)
.L6:
	cmpb	$47, -6(%rbp)
	jle	.L7
	cmpb	$57, -6(%rbp)
	jle	.L8
.L7:
	cmpb	$0, -5(%rbp)
	je	.L9
	movl	-4(%rbp), %eax
	negl	%eax
	jmp	.L11
.L9:
	movl	-4(%rbp), %eax
.L11:
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	nextint, .-nextint
	.globl	edge
	.bss
	.align 32
	.type	edge, @object
	.size	edge, 1600000
edge:
	.zero	1600000
	.globl	qmem
	.align 32
	.type	qmem, @object
	.size	qmem, 1600000
qmem:
	.zero	1600000
	.globl	e
	.align 32
	.type	e, @object
	.size	e, 800008
e:
	.zero	800008
	.globl	el
	.align 32
	.type	el, @object
	.size	el, 400004
el:
	.zero	400004
	.globl	prev
	.align 32
	.type	prev, @object
	.size	prev, 400004
prev:
	.zero	400004
	.globl	s
	.align 32
	.type	s, @object
	.size	s, 400000
s:
	.zero	400000
	.globl	sl
	.align 4
	.type	sl, @object
	.size	sl, 4
sl:
	.zero	4
	.globl	sr
	.align 4
	.type	sr, @object
	.size	sr, 4
sr:
	.zero	4
	.section	.rodata
.LC0:
	.string	"Yes"
.LC1:
	.string	"%d\n"
.LC2:
	.string	"No"
	.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
	subq	$64, %rsp
	movl	$2800014, %edx
	leaq	rbuf(%rip), %rax
	movq	%rax, %rsi
	movl	$0, %edi
	call	read@PLT
	call	nextint
	movl	%eax, -32(%rbp)
	call	nextint
	movl	%eax, -28(%rbp)
	movl	$0, -60(%rbp)
	jmp	.L13
.L14:
	call	nextint
	movl	%eax, -8(%rbp)
	call	nextint
	movl	%eax, -4(%rbp)
	movl	-60(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rcx
	leaq	edge(%rip), %rdx
	movl	-8(%rbp), %eax
	movl	%eax, (%rcx,%rdx)
	movl	-60(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rcx
	leaq	4+edge(%rip), %rdx
	movl	-4(%rbp), %eax
	movl	%eax, (%rcx,%rdx)
	movl	-8(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	el(%rip), %rax
	movl	(%rdx,%rax), %eax
	leal	1(%rax), %ecx
	movl	-8(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	el(%rip), %rax
	movl	%ecx, (%rdx,%rax)
	movl	-4(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	el(%rip), %rax
	movl	(%rdx,%rax), %eax
	leal	1(%rax), %ecx
	movl	-4(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	el(%rip), %rax
	movl	%ecx, (%rdx,%rax)
	addl	$1, -60(%rbp)
.L13:
	movl	-60(%rbp), %eax
	cmpl	-28(%rbp), %eax
	jl	.L14
	movl	$0, -56(%rbp)
	movl	$1, -52(%rbp)
	jmp	.L15
.L16:
	movl	-56(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	qmem(%rip), %rax
	leaq	(%rdx,%rax), %rcx
	movl	-52(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rdx
	leaq	e(%rip), %rax
	movq	%rcx, (%rdx,%rax)
	movl	-52(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	el(%rip), %rax
	movl	(%rdx,%rax), %eax
	addl	%eax, -56(%rbp)
	movl	-52(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	el(%rip), %rax
	movl	$0, (%rdx,%rax)
	addl	$1, -52(%rbp)
.L15:
	movl	-52(%rbp), %eax
	cmpl	-32(%rbp), %eax
	jle	.L16
	movl	$0, -48(%rbp)
	jmp	.L17
.L18:
	movl	-48(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rdx
	leaq	edge(%rip), %rax
	movl	(%rdx,%rax), %eax
	movl	%eax, -16(%rbp)
	movl	-48(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rdx
	leaq	4+edge(%rip), %rax
	movl	(%rdx,%rax), %eax
	movl	%eax, -12(%rbp)
	movl	-16(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rdx
	leaq	e(%rip), %rax
	movq	(%rdx,%rax), %rdi
	movl	-16(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	el(%rip), %rax
	movl	(%rdx,%rax), %eax
	leal	1(%rax), %edx
	movl	-16(%rbp), %ecx
	movslq	%ecx, %rcx
	leaq	0(,%rcx,4), %rsi
	leaq	el(%rip), %rcx
	movl	%edx, (%rsi,%rcx)
	cltq
	salq	$2, %rax
	leaq	(%rdi,%rax), %rdx
	movl	-12(%rbp), %eax
	movl	%eax, (%rdx)
	movl	-12(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rdx
	leaq	e(%rip), %rax
	movq	(%rdx,%rax), %rdi
	movl	-12(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	el(%rip), %rax
	movl	(%rdx,%rax), %eax
	leal	1(%rax), %edx
	movl	-12(%rbp), %ecx
	movslq	%ecx, %rcx
	leaq	0(,%rcx,4), %rsi
	leaq	el(%rip), %rcx
	movl	%edx, (%rsi,%rcx)
	cltq
	salq	$2, %rax
	leaq	(%rdi,%rax), %rdx
	movl	-16(%rbp), %eax
	movl	%eax, (%rdx)
	addl	$1, -48(%rbp)
.L17:
	movl	-48(%rbp), %eax
	cmpl	-28(%rbp), %eax
	jl	.L18
	movl	$0, -44(%rbp)
	movl	$1, 4+prev(%rip)
	movl	sr(%rip), %eax
	leal	1(%rax), %edx
	movl	%edx, sr(%rip)
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	s(%rip), %rax
	movl	$1, (%rdx,%rax)
	jmp	.L19
.L23:
	addl	$1, -44(%rbp)
	movl	sl(%rip), %eax
	leal	1(%rax), %edx
	movl	%edx, sl(%rip)
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	s(%rip), %rax
	movl	(%rdx,%rax), %eax
	movl	%eax, -24(%rbp)
	movl	$0, -40(%rbp)
	jmp	.L20
.L22:
	movl	-24(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rdx
	leaq	e(%rip), %rax
	movq	(%rdx,%rax), %rdx
	movl	-40(%rbp), %eax
	cltq
	salq	$2, %rax
	addq	%rdx, %rax
	movl	(%rax), %eax
	movl	%eax, -20(%rbp)
	movl	-20(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	prev(%rip), %rax
	movl	(%rdx,%rax), %eax
	testl	%eax, %eax
	jne	.L21
	movl	-20(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rcx
	leaq	prev(%rip), %rdx
	movl	-24(%rbp), %eax
	movl	%eax, (%rcx,%rdx)
	movl	sr(%rip), %eax
	leal	1(%rax), %edx
	movl	%edx, sr(%rip)
	cltq
	leaq	0(,%rax,4), %rcx
	leaq	s(%rip), %rdx
	movl	-20(%rbp), %eax
	movl	%eax, (%rcx,%rdx)
.L21:
	addl	$1, -40(%rbp)
.L20:
	movl	-24(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	el(%rip), %rax
	movl	(%rdx,%rax), %eax
	cmpl	%eax, -40(%rbp)
	jl	.L22
.L19:
	movl	sl(%rip), %edx
	movl	sr(%rip), %eax
	cmpl	%eax, %edx
	jl	.L23
	movl	-44(%rbp), %eax
	cmpl	-32(%rbp), %eax
	jne	.L24
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	movl	$2, -36(%rbp)
	jmp	.L25
.L26:
	movl	-36(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	prev(%rip), %rax
	movl	(%rdx,%rax), %eax
	movl	%eax, %esi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	addl	$1, -36(%rbp)
.L25:
	movl	-36(%rbp), %eax
	cmpl	-32(%rbp), %eax
	jle	.L26
	jmp	.L27
.L24:
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
.L27:
	movl	$0, %eax
	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:
