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>

char dp[100000];

int main(){
  int n, m;
  scanf("%d%d", &n, &m);
  for(int i=0;i<m;i++){
    int a, b;
    scanf("%d%d", &a, &b);
    dp[a-1] ^= 1;
    dp[b-1] ^= 1;
  }
  for(int i = 0; i<n; i++){
    if(dp[i]){
      puts("NO");
      return 0;
    }
  }
  puts("YES");
  return 0;
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.globl	dp
	.bss
	.align 32
	.type	dp, @object
	.size	dp, 100000
dp:
	.zero	100000
	.section	.rodata
.LC0:
	.string	"%d%d"
.LC1:
	.string	"NO"
.LC2:
	.string	"YES"
	.text
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$32, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-28(%rbp), %rdx
	leaq	-32(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -16(%rbp)
	jmp	.L2
.L3:
	leaq	-20(%rbp), %rdx
	leaq	-24(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-24(%rbp), %eax
	subl	$1, %eax
	cltq
	leaq	dp(%rip), %rdx
	movzbl	(%rax,%rdx), %eax
	movl	-24(%rbp), %edx
	subl	$1, %edx
	xorl	$1, %eax
	movl	%eax, %ecx
	movslq	%edx, %rax
	leaq	dp(%rip), %rdx
	movb	%cl, (%rax,%rdx)
	movl	-20(%rbp), %eax
	subl	$1, %eax
	cltq
	leaq	dp(%rip), %rdx
	movzbl	(%rax,%rdx), %eax
	movl	-20(%rbp), %edx
	subl	$1, %edx
	xorl	$1, %eax
	movl	%eax, %ecx
	movslq	%edx, %rax
	leaq	dp(%rip), %rdx
	movb	%cl, (%rax,%rdx)
	addl	$1, -16(%rbp)
.L2:
	movl	-28(%rbp), %eax
	cmpl	%eax, -16(%rbp)
	jl	.L3
	movl	$0, -12(%rbp)
	jmp	.L4
.L7:
	movl	-12(%rbp), %eax
	cltq
	leaq	dp(%rip), %rdx
	movzbl	(%rax,%rdx), %eax
	testb	%al, %al
	je	.L5
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	movl	$0, %eax
	jmp	.L8
.L5:
	addl	$1, -12(%rbp)
.L4:
	movl	-32(%rbp), %eax
	cmpl	%eax, -12(%rbp)
	jl	.L7
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	movl	$0, %eax
.L8:
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L9
	call	__stack_chk_fail@PLT
.L9:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.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	"NO"
.LC2:
	.string	"YES"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	pushq	%r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	pushq	%r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	pushq	%rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	pushq	%rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	leaq	.LC0(%rip), %rbx
	movq	%rbx, %rdi
	subq	$32, %rsp
	.cfi_def_cfa_offset 80
	movq	%fs:40, %rax
	movq	%rax, 24(%rsp)
	xorl	%eax, %eax
	leaq	12(%rsp), %rdx
	leaq	8(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %eax
	testl	%eax, %eax
	jle	.L2
	xorl	%r14d, %r14d
	leaq	20(%rsp), %r12
	leaq	16(%rsp), %rbp
	leaq	dp(%rip), %r13
	.p2align 4,,10
	.p2align 3
.L3:
	movq	%r12, %rdx
	movq	%rbp, %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	16(%rsp), %eax
	addl	$1, %r14d
	subl	$1, %eax
	cltq
	xorb	$1, 0(%r13,%rax)
	movl	20(%rsp), %eax
	subl	$1, %eax
	cltq
	xorb	$1, 0(%r13,%rax)
	cmpl	%r14d, 12(%rsp)
	jg	.L3
.L2:
	movl	8(%rsp), %edx
	testl	%edx, %edx
	jle	.L4
	leaq	dp(%rip), %rax
	subl	$1, %edx
	leaq	1(%rax), %rcx
	addq	%rcx, %rdx
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L5:
	addq	$1, %rax
	cmpq	%rdx, %rax
	je	.L4
.L7:
	cmpb	$0, (%rax)
	je	.L5
	leaq	.LC1(%rip), %rdi
	call	puts@PLT
	jmp	.L6
.L4:
	leaq	.LC2(%rip), %rdi
	call	puts@PLT
.L6:
	movq	24(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L13
	addq	$32, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 40
	popq	%rbp
	.cfi_def_cfa_offset 32
	popq	%r12
	.cfi_def_cfa_offset 24
	popq	%r13
	.cfi_def_cfa_offset 16
	popq	%r14
	.cfi_def_cfa_offset 8
	ret
.L13:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.size	main, .-main
	.globl	dp
	.bss
	.align 32
	.type	dp, @object
	.size	dp, 100000
dp:
	.zero	100000
	.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	"NO"
.LC2:
	.string	"YES"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	pushq	%r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	pushq	%r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	pushq	%rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	pushq	%rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	leaq	.LC0(%rip), %rbx
	movq	%rbx, %rdi
	subq	$32, %rsp
	.cfi_def_cfa_offset 80
	movq	%fs:40, %rax
	movq	%rax, 24(%rsp)
	xorl	%eax, %eax
	leaq	12(%rsp), %rdx
	leaq	8(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %eax
	testl	%eax, %eax
	jle	.L2
	xorl	%r14d, %r14d
	leaq	20(%rsp), %r12
	leaq	16(%rsp), %rbp
	leaq	dp(%rip), %r13
	.p2align 4,,10
	.p2align 3
.L3:
	movq	%r12, %rdx
	movq	%rbp, %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	16(%rsp), %eax
	addl	$1, %r14d
	subl	$1, %eax
	cltq
	xorb	$1, 0(%r13,%rax)
	movl	20(%rsp), %eax
	subl	$1, %eax
	cltq
	xorb	$1, 0(%r13,%rax)
	cmpl	%r14d, 12(%rsp)
	jg	.L3
.L2:
	movl	8(%rsp), %edx
	testl	%edx, %edx
	jle	.L4
	leaq	dp(%rip), %rax
	subl	$1, %edx
	leaq	1(%rax), %rcx
	addq	%rcx, %rdx
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L5:
	addq	$1, %rax
	cmpq	%rdx, %rax
	je	.L4
.L7:
	cmpb	$0, (%rax)
	je	.L5
	leaq	.LC1(%rip), %rdi
	call	puts@PLT
	jmp	.L6
.L4:
	leaq	.LC2(%rip), %rdi
	call	puts@PLT
.L6:
	movq	24(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L13
	addq	$32, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 40
	popq	%rbp
	.cfi_def_cfa_offset 32
	popq	%r12
	.cfi_def_cfa_offset 24
	popq	%r13
	.cfi_def_cfa_offset 16
	popq	%r14
	.cfi_def_cfa_offset 8
	ret
.L13:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.size	main, .-main
	.globl	dp
	.bss
	.align 32
	.type	dp, @object
	.size	dp, 100000
dp:
	.zero	100000
	.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>

char dp[100000];

int main(){
  int n, m;
  scanf("%d%d", &n, &m);
  for(int i=0;i<m;i++){
    int a, b;
    scanf("%d%d", &a, &b);
    dp[a-1] ^= 1;
    dp[b-1] ^= 1;
  }
  for(int i = 0; i<n; i++){
    if(dp[i]){
      puts("NO");
      return 0;
    }
  }
  puts("YES");
  return 0;
}
5 5
1 2
5 5
5 1
3 4
2 3
 5 1
1 1
6 5
5 2
3 4
2 3
 5 1
1 2
5 5
5 1
3 4
2 3
 5 1
1 2
6 5
5 1
3 4
2 3
 5 1
1 2
6 5
5 2
3 4
2 3
 5 1
1 1
6 6
5 2
3 4
2 3
 5 1
1 1
6 6
5 2
3 4
3 3
 10 1
1 1
6 6
5 2
3 4
3 3
 10 0
1 1
6 6
5 2
3 4
3 3
 10 0
1 1
11 6
5 2
3 4
3 3

NO
 YES
 NO
 NO
 NO
 YES
 YES
 YES
 YES
 YES

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>

char dp[100000];

int main(){
  int n, m;
  scanf("%d%d", &n, &m);
  for(int i=0;i<m;i++){
    int a, b;
    scanf("%d%d", &a, &b);
    dp[a-1] ^= 1;
    dp[b-1] ^= 1;
  }
  for(int i = 0; i<n; i++){
    if(dp[i]){
      puts("NO");
      return 0;
    }
  }
  puts("YES");
  return 0;
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.globl	dp
	.bss
	.align 32
	.type	dp, @object
	.size	dp, 100000
dp:
	.zero	100000
	.section	.rodata
.LC0:
	.string	"%d%d"
.LC1:
	.string	"NO"
.LC2:
	.string	"YES"
	.text
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$32, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-28(%rbp), %rdx
	leaq	-32(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -16(%rbp)
	jmp	.L2
.L3:
	leaq	-20(%rbp), %rdx
	leaq	-24(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-24(%rbp), %eax
	subl	$1, %eax
	cltq
	leaq	dp(%rip), %rdx
	movzbl	(%rax,%rdx), %eax
	movl	-24(%rbp), %edx
	subl	$1, %edx
	xorl	$1, %eax
	movl	%eax, %ecx
	movslq	%edx, %rax
	leaq	dp(%rip), %rdx
	movb	%cl, (%rax,%rdx)
	movl	-20(%rbp), %eax
	subl	$1, %eax
	cltq
	leaq	dp(%rip), %rdx
	movzbl	(%rax,%rdx), %eax
	movl	-20(%rbp), %edx
	subl	$1, %edx
	xorl	$1, %eax
	movl	%eax, %ecx
	movslq	%edx, %rax
	leaq	dp(%rip), %rdx
	movb	%cl, (%rax,%rdx)
	addl	$1, -16(%rbp)
.L2:
	movl	-28(%rbp), %eax
	cmpl	%eax, -16(%rbp)
	jl	.L3
	movl	$0, -12(%rbp)
	jmp	.L4
.L7:
	movl	-12(%rbp), %eax
	cltq
	leaq	dp(%rip), %rdx
	movzbl	(%rax,%rdx), %eax
	testb	%al, %al
	je	.L5
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	movl	$0, %eax
	jmp	.L8
.L5:
	addl	$1, -12(%rbp)
.L4:
	movl	-32(%rbp), %eax
	cmpl	%eax, -12(%rbp)
	jl	.L7
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	movl	$0, %eax
.L8:
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L9
	call	__stack_chk_fail@PLT
.L9:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.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	dp
	.bss
	.align 32
	.type	dp, @object
	.size	dp, 100000
dp:
	.zero	100000
	.section	.rodata
.LC0:
	.string	"%d%d"
.LC1:
	.string	"NO"
.LC2:
	.string	"YES"
	.text
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$32, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-28(%rbp), %rdx
	leaq	-32(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -16(%rbp)
	jmp	.L2
.L3:
	leaq	-20(%rbp), %rdx
	leaq	-24(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-24(%rbp), %eax
	subl	$1, %eax
	cltq
	leaq	dp(%rip), %rdx
	movzbl	(%rax,%rdx), %eax
	movl	-24(%rbp), %edx
	subl	$1, %edx
	xorl	$1, %eax
	movl	%eax, %ecx
	movslq	%edx, %rax
	leaq	dp(%rip), %rdx
	movb	%cl, (%rax,%rdx)
	movl	-20(%rbp), %eax
	subl	$1, %eax
	cltq
	leaq	dp(%rip), %rdx
	movzbl	(%rax,%rdx), %eax
	movl	-20(%rbp), %edx
	subl	$1, %edx
	xorl	$1, %eax
	movl	%eax, %ecx
	movslq	%edx, %rax
	leaq	dp(%rip), %rdx
	movb	%cl, (%rax,%rdx)
	addl	$1, -16(%rbp)
.L2:
	movl	-28(%rbp), %eax
	cmpl	%eax, -16(%rbp)
	jl	.L3
	movl	$0, -12(%rbp)
	jmp	.L4
.L7:
	movl	-12(%rbp), %eax
	cltq
	leaq	dp(%rip), %rdx
	movzbl	(%rax,%rdx), %eax
	testb	%al, %al
	je	.L5
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	movl	$0, %eax
	jmp	.L8
.L5:
	addl	$1, -12(%rbp)
.L4:
	movl	-32(%rbp), %eax
	cmpl	%eax, -12(%rbp)
	jl	.L7
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	movl	$0, %eax
.L8:
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L9
	call	__stack_chk_fail@PLT
.L9:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.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:
