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

```c
//http://agc014.contest.atcoder.jp/tasks/agc014_b
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
int main() {
//    freopen("../input3.txt", "r", stdin);

    int N, M, a, b;
    int odd[200000];

    memset(odd, 0, 800000);

    scanf("%d%d", &N, &M);

    for (int i = 0; i < M; i++) {
       scanf("%d%d", &a, &b);
        odd[a - 1]++;
        odd[b - 1]++;
        if (a < 1 || a > N || b < 1 || b > N || a == b)
            goto BadEnd;
    }

    short result = 1;
    int max = 0;
    for (int i = 0; i < N; i++) {
        if (odd[i] % 2 == 1) {
            result = 0;
            break;
        }
        if (odd[i] > max)
            max = odd[i];
    }

    if (result)
        printf("YES\n");
    else
        BadEnd:
        printf("NO\n");

    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:
.LFB51:
	.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	-798720(%rsp), %r11
	.cfi_def_cfa 11, 798768
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	.cfi_def_cfa_register 7
	subq	$1312, %rsp
	.cfi_def_cfa_offset 800080
	movl	$800000, %edx
	xorl	%esi, %esi
	leaq	.LC0(%rip), %rbx
	movq	%fs:40, %rax
	movq	%rax, 800024(%rsp)
	xorl	%eax, %eax
	leaq	16(%rsp), %r13
	movq	%r13, %rdi
	call	memset@PLT
	leaq	4(%rsp), %rdx
	movq	%rsp, %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	4(%rsp), %eax
	testl	%eax, %eax
	jle	.L2
	xorl	%r14d, %r14d
	leaq	12(%rsp), %r12
	leaq	8(%rsp), %rbp
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L18:
	cmpl	%ecx, %edx
	je	.L3
	addl	$1, %r14d
	cmpl	%r14d, 4(%rsp)
	jle	.L5
.L4:
	movq	%r12, %rdx
	movq	%rbp, %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	8(%rsp), %edx
	movl	12(%rsp), %ecx
	leal	-1(%rdx), %eax
	cltq
	addl	$1, 16(%rsp,%rax,4)
	leal	-1(%rcx), %eax
	cltq
	addl	$1, 16(%rsp,%rax,4)
	testl	%edx, %edx
	jle	.L3
	movl	(%rsp), %esi
	testl	%ecx, %ecx
	setle	%al
	cmpl	%esi, %edx
	setg	%dil
	orl	%edi, %eax
	cmpl	%esi, %ecx
	setg	%dil
	orb	%dil, %al
	je	.L18
.L3:
	leaq	.LC1(%rip), %rdi
	call	puts@PLT
.L8:
	movq	800024(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L19
	addq	$800032, %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
.L2:
	.cfi_restore_state
	movl	(%rsp), %esi
	testl	%esi, %esi
	jle	.L6
.L5:
	xorl	%edx, %edx
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L20:
	addq	$1, %rdx
	cmpl	%edx, %esi
	jle	.L6
.L7:
	movl	0(%r13,%rdx,4), %eax
	movl	%eax, %ecx
	shrl	$31, %ecx
	addl	%ecx, %eax
	andl	$1, %eax
	subl	%ecx, %eax
	cmpl	$1, %eax
	jne	.L20
	jmp	.L3
.L6:
	leaq	.LC2(%rip), %rdi
	call	puts@PLT
	jmp	.L8
.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	"NO"
.LC2:
	.string	"YES"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB51:
	.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	-798720(%rsp), %r11
	.cfi_def_cfa 11, 798768
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	.cfi_def_cfa_register 7
	subq	$1312, %rsp
	.cfi_def_cfa_offset 800080
	movl	$800000, %edx
	xorl	%esi, %esi
	leaq	.LC0(%rip), %rbx
	movq	%fs:40, %rax
	movq	%rax, 800024(%rsp)
	xorl	%eax, %eax
	leaq	16(%rsp), %r13
	movq	%r13, %rdi
	call	memset@PLT
	leaq	4(%rsp), %rdx
	movq	%rsp, %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	4(%rsp), %eax
	testl	%eax, %eax
	jle	.L2
	xorl	%r14d, %r14d
	leaq	12(%rsp), %r12
	leaq	8(%rsp), %rbp
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L18:
	cmpl	%ecx, %edx
	je	.L3
	addl	$1, %r14d
	cmpl	%r14d, 4(%rsp)
	jle	.L5
.L4:
	movq	%r12, %rdx
	movq	%rbp, %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	8(%rsp), %edx
	movl	12(%rsp), %ecx
	leal	-1(%rdx), %eax
	cltq
	addl	$1, 16(%rsp,%rax,4)
	leal	-1(%rcx), %eax
	cltq
	addl	$1, 16(%rsp,%rax,4)
	testl	%edx, %edx
	jle	.L3
	movl	(%rsp), %esi
	testl	%ecx, %ecx
	setle	%al
	cmpl	%esi, %edx
	setg	%dil
	orl	%edi, %eax
	cmpl	%esi, %ecx
	setg	%dil
	orb	%dil, %al
	je	.L18
.L3:
	leaq	.LC1(%rip), %rdi
	call	puts@PLT
.L8:
	movq	800024(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L19
	addq	$800032, %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
.L2:
	.cfi_restore_state
	movl	(%rsp), %esi
	testl	%esi, %esi
	jle	.L6
.L5:
	xorl	%edx, %edx
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L20:
	addq	$1, %rdx
	cmpl	%edx, %esi
	jle	.L6
.L7:
	movl	0(%r13,%rdx,4), %eax
	movl	%eax, %ecx
	shrl	$31, %ecx
	addl	%ecx, %eax
	andl	$1, %eax
	subl	%ecx, %eax
	cmpl	$1, %eax
	jne	.L20
	jmp	.L3
.L6:
	leaq	.LC2(%rip), %rdi
	call	puts@PLT
	jmp	.L8
.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	"NO"
.LC2:
	.string	"YES"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB51:
	.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	-798720(%rsp), %r11
	.cfi_def_cfa 11, 798768
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	.cfi_def_cfa_register 7
	subq	$1312, %rsp
	.cfi_def_cfa_offset 800080
	movl	$800000, %edx
	xorl	%esi, %esi
	leaq	.LC0(%rip), %rbx
	movq	%fs:40, %rax
	movq	%rax, 800024(%rsp)
	xorl	%eax, %eax
	leaq	16(%rsp), %r13
	movq	%r13, %rdi
	call	memset@PLT
	leaq	4(%rsp), %rdx
	movq	%rsp, %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	4(%rsp), %eax
	testl	%eax, %eax
	jle	.L2
	xorl	%r14d, %r14d
	leaq	12(%rsp), %r12
	leaq	8(%rsp), %rbp
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L18:
	cmpl	%ecx, %edx
	je	.L3
	addl	$1, %r14d
	cmpl	%r14d, 4(%rsp)
	jle	.L5
.L4:
	movq	%r12, %rdx
	movq	%rbp, %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	8(%rsp), %edx
	movl	12(%rsp), %ecx
	leal	-1(%rdx), %eax
	cltq
	addl	$1, 16(%rsp,%rax,4)
	leal	-1(%rcx), %eax
	cltq
	addl	$1, 16(%rsp,%rax,4)
	testl	%edx, %edx
	jle	.L3
	movl	(%rsp), %esi
	testl	%ecx, %ecx
	setle	%al
	cmpl	%esi, %edx
	setg	%dil
	orl	%edi, %eax
	cmpl	%esi, %ecx
	setg	%dil
	orb	%dil, %al
	je	.L18
.L3:
	leaq	.LC1(%rip), %rdi
	call	puts@PLT
.L8:
	movq	800024(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L19
	addq	$800032, %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
.L2:
	.cfi_restore_state
	movl	(%rsp), %esi
	testl	%esi, %esi
	jle	.L6
.L5:
	xorl	%edx, %edx
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L20:
	addq	$1, %rdx
	cmpl	%edx, %esi
	jle	.L6
.L7:
	movl	0(%r13,%rdx,4), %eax
	movl	%eax, %ecx
	shrl	$31, %ecx
	addl	%ecx, %eax
	andl	$1, %eax
	subl	%ecx, %eax
	cmpl	$1, %eax
	jne	.L20
	jmp	.L3
.L6:
	leaq	.LC2(%rip), %rdi
	call	puts@PLT
	jmp	.L8
.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
//http://agc014.contest.atcoder.jp/tasks/agc014_b
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
int main() {
//    freopen("../input3.txt", "r", stdin);

    int N, M, a, b;
    int odd[200000];

    memset(odd, 0, 800000);

    scanf("%d%d", &N, &M);

    for (int i = 0; i < M; i++) {
       scanf("%d%d", &a, &b);
        odd[a - 1]++;
        odd[b - 1]++;
        if (a < 1 || a > N || b < 1 || b > N || a == b)
            goto BadEnd;
    }

    short result = 1;
    int max = 0;
    for (int i = 0; i < N; i++) {
        if (odd[i] % 2 == 1) {
            result = 0;
            break;
        }
        if (odd[i] > max)
            max = odd[i];
    }

    if (result)
        printf("YES\n");
    else
        BadEnd:
        printf("NO\n");

    return 0;
}```
Given the following C code, your task is to generate highly optimized x86-64 assembly code.
C Code:

```c
//http://agc014.contest.atcoder.jp/tasks/agc014_b
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
int main() {
//    freopen("../input3.txt", "r", stdin);

    int N, M, a, b;
    int odd[200000];

    memset(odd, 0, 800000);

    scanf("%d%d", &N, &M);

    for (int i = 0; i < M; i++) {
       scanf("%d%d", &a, &b);
        odd[a - 1]++;
        odd[b - 1]++;
        if (a < 1 || a > N || b < 1 || b > N || a == b)
            goto BadEnd;
    }

    short result = 1;
    int max = 0;
    for (int i = 0; i < N; i++) {
        if (odd[i] % 2 == 1) {
            result = 0;
            break;
        }
        if (odd[i] > max)
            max = odd[i];
    }

    if (result)
        printf("YES\n");
    else
        BadEnd:
        printf("NO\n");

    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
 NO
 NO
 NO
 NO
 NO
 NO
 NO
 YES
 YES

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

```c
//http://agc014.contest.atcoder.jp/tasks/agc014_b
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
int main() {
//    freopen("../input3.txt", "r", stdin);

    int N, M, a, b;
    int odd[200000];

    memset(odd, 0, 800000);

    scanf("%d%d", &N, &M);

    for (int i = 0; i < M; i++) {
       scanf("%d%d", &a, &b);
        odd[a - 1]++;
        odd[b - 1]++;
        if (a < 1 || a > N || b < 1 || b > N || a == b)
            goto BadEnd;
    }

    short result = 1;
    int max = 0;
    for (int i = 0; i < N; i++) {
        if (odd[i] % 2 == 1) {
            result = 0;
            break;
        }
        if (odd[i] > max)
            max = odd[i];
    }

    if (result)
        printf("YES\n");
    else
        BadEnd:
        printf("NO\n");

    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:
.LFB51:
	.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	-798720(%rsp), %r11
	.cfi_def_cfa 11, 798768
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	.cfi_def_cfa_register 7
	subq	$1312, %rsp
	.cfi_def_cfa_offset 800080
	movl	$800000, %edx
	xorl	%esi, %esi
	leaq	.LC0(%rip), %rbx
	movq	%fs:40, %rax
	movq	%rax, 800024(%rsp)
	xorl	%eax, %eax
	leaq	16(%rsp), %r13
	movq	%r13, %rdi
	call	memset@PLT
	leaq	4(%rsp), %rdx
	movq	%rsp, %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	4(%rsp), %eax
	testl	%eax, %eax
	jle	.L2
	xorl	%r14d, %r14d
	leaq	12(%rsp), %r12
	leaq	8(%rsp), %rbp
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L18:
	cmpl	%ecx, %edx
	je	.L3
	addl	$1, %r14d
	cmpl	%r14d, 4(%rsp)
	jle	.L5
.L4:
	movq	%r12, %rdx
	movq	%rbp, %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	8(%rsp), %edx
	movl	12(%rsp), %ecx
	leal	-1(%rdx), %eax
	cltq
	addl	$1, 16(%rsp,%rax,4)
	leal	-1(%rcx), %eax
	cltq
	addl	$1, 16(%rsp,%rax,4)
	testl	%edx, %edx
	jle	.L3
	movl	(%rsp), %esi
	testl	%ecx, %ecx
	setle	%al
	cmpl	%esi, %edx
	setg	%dil
	orl	%edi, %eax
	cmpl	%esi, %ecx
	setg	%dil
	orb	%dil, %al
	je	.L18
.L3:
	leaq	.LC1(%rip), %rdi
	call	puts@PLT
.L8:
	movq	800024(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L19
	addq	$800032, %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
.L2:
	.cfi_restore_state
	movl	(%rsp), %esi
	testl	%esi, %esi
	jle	.L6
.L5:
	xorl	%edx, %edx
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L20:
	addq	$1, %rdx
	cmpl	%edx, %esi
	jle	.L6
.L7:
	movl	0(%r13,%rdx,4), %eax
	movl	%eax, %ecx
	shrl	$31, %ecx
	addl	%ecx, %eax
	andl	$1, %eax
	subl	%ecx, %eax
	cmpl	$1, %eax
	jne	.L20
	jmp	.L3
.L6:
	leaq	.LC2(%rip), %rdi
	call	puts@PLT
	jmp	.L8
.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	"NO"
.LC2:
	.string	"YES"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB51:
	.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	-798720(%rsp), %r11
	.cfi_def_cfa 11, 798768
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	.cfi_def_cfa_register 7
	subq	$1312, %rsp
	.cfi_def_cfa_offset 800080
	movl	$800000, %edx
	xorl	%esi, %esi
	leaq	.LC0(%rip), %rbx
	movq	%fs:40, %rax
	movq	%rax, 800024(%rsp)
	xorl	%eax, %eax
	leaq	16(%rsp), %r13
	movq	%r13, %rdi
	call	memset@PLT
	leaq	4(%rsp), %rdx
	movq	%rsp, %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	4(%rsp), %eax
	testl	%eax, %eax
	jle	.L2
	xorl	%r14d, %r14d
	leaq	12(%rsp), %r12
	leaq	8(%rsp), %rbp
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L18:
	cmpl	%ecx, %edx
	je	.L3
	addl	$1, %r14d
	cmpl	%r14d, 4(%rsp)
	jle	.L5
.L4:
	movq	%r12, %rdx
	movq	%rbp, %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	8(%rsp), %edx
	movl	12(%rsp), %ecx
	leal	-1(%rdx), %eax
	cltq
	addl	$1, 16(%rsp,%rax,4)
	leal	-1(%rcx), %eax
	cltq
	addl	$1, 16(%rsp,%rax,4)
	testl	%edx, %edx
	jle	.L3
	movl	(%rsp), %esi
	testl	%ecx, %ecx
	setle	%al
	cmpl	%esi, %edx
	setg	%dil
	orl	%edi, %eax
	cmpl	%esi, %ecx
	setg	%dil
	orb	%dil, %al
	je	.L18
.L3:
	leaq	.LC1(%rip), %rdi
	call	puts@PLT
.L8:
	movq	800024(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L19
	addq	$800032, %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
.L2:
	.cfi_restore_state
	movl	(%rsp), %esi
	testl	%esi, %esi
	jle	.L6
.L5:
	xorl	%edx, %edx
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L20:
	addq	$1, %rdx
	cmpl	%edx, %esi
	jle	.L6
.L7:
	movl	0(%r13,%rdx,4), %eax
	movl	%eax, %ecx
	shrl	$31, %ecx
	addl	%ecx, %eax
	andl	$1, %eax
	subl	%ecx, %eax
	cmpl	$1, %eax
	jne	.L20
	jmp	.L3
.L6:
	leaq	.LC2(%rip), %rdi
	call	puts@PLT
	jmp	.L8
.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:
```