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>

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

Assembly Code:

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

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

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

Assembly Code:

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

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