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>
#include<stdlib.h>
#include<string.h>
#include<stdbool.h>
#include<math.h>
#include<limits.h>
#define MAX 200002
int main(){
    int N,K;
    scanf("%d %d",&N,&K);
    int A[MAX];
    for(int i=1;i<=N;i++)
        scanf("%d",A+i);
    for(int i=K+1;i<=N;i++){
        if(A[i-K]<A[i])
            printf("Yes\n");
        else
            printf("No\n");
    }
}
```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%d %d"
.LC1:
	.string	"%d"
.LC2:
	.string	"Yes"
.LC3:
	.string	"No"
	.text
	.globl	main
	.type	main, @function
main:
.LFB6:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	leaq	-798720(%rsp), %r11
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	subq	$1312, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-800028(%rbp), %rdx
	leaq	-800032(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$1, -800024(%rbp)
	jmp	.L2
.L3:
	movl	-800024(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	-800016(%rbp), %rax
	addq	%rdx, %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addl	$1, -800024(%rbp)
.L2:
	movl	-800032(%rbp), %eax
	cmpl	%eax, -800024(%rbp)
	jle	.L3
	movl	-800028(%rbp), %eax
	addl	$1, %eax
	movl	%eax, -800020(%rbp)
	jmp	.L4
.L7:
	movl	-800028(%rbp), %edx
	movl	-800020(%rbp), %eax
	subl	%edx, %eax
	cltq
	movl	-800016(%rbp,%rax,4), %edx
	movl	-800020(%rbp), %eax
	cltq
	movl	-800016(%rbp,%rax,4), %eax
	cmpl	%eax, %edx
	jge	.L5
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	jmp	.L6
.L5:
	leaq	.LC3(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
.L6:
	addl	$1, -800020(%rbp)
.L4:
	movl	-800032(%rbp), %eax
	cmpl	%eax, -800020(%rbp)
	jle	.L7
	movl	$0, %eax
	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
.LFE6:
	.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	"%d"
.LC2:
	.string	"Yes"
.LC3:
	.string	"No"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB51:
	.cfi_startproc
	endbr64
	pushq	%r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	pushq	%r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	pushq	%rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	pushq	%rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	leaq	-798720(%rsp), %r11
	.cfi_def_cfa 11, 798760
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	.cfi_def_cfa_register 7
	subq	$1320, %rsp
	.cfi_def_cfa_offset 800080
	leaq	.LC0(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, 800024(%rsp)
	xorl	%eax, %eax
	leaq	12(%rsp), %rdx
	leaq	8(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movl	8(%rsp), %eax
	testl	%eax, %eax
	jle	.L2
	leaq	20(%rsp), %rbp
	movl	$1, %ebx
	leaq	.LC1(%rip), %r12
	.p2align 4,,10
	.p2align 3
.L3:
	movq	%rbp, %rsi
	movq	%r12, %rdi
	xorl	%eax, %eax
	addl	$1, %ebx
	call	__isoc99_scanf@PLT
	movl	8(%rsp), %eax
	addq	$4, %rbp
	cmpl	%ebx, %eax
	jge	.L3
.L2:
	movl	12(%rsp), %edx
	leal	1(%rdx), %ebx
	cmpl	%eax, %ebx
	jg	.L4
	movslq	%ebx, %rbx
	leaq	16(%rsp), %rbp
	leaq	.LC3(%rip), %r13
	leaq	.LC2(%rip), %r12
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L12:
	movq	%r12, %rdi
	addq	$1, %rbx
	call	puts@PLT
	cmpl	%ebx, 8(%rsp)
	jl	.L4
.L6:
	movl	12(%rsp), %edx
.L7:
	movl	%ebx, %eax
	movl	0(%rbp,%rbx,4), %ecx
	subl	%edx, %eax
	cltq
	cmpl	%ecx, 16(%rsp,%rax,4)
	jl	.L12
	movq	%r13, %rdi
	addq	$1, %rbx
	call	puts@PLT
	cmpl	%ebx, 8(%rsp)
	jge	.L6
.L4:
	movq	800024(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L13
	addq	$800040, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 32
	popq	%rbp
	.cfi_def_cfa_offset 24
	popq	%r12
	.cfi_def_cfa_offset 16
	popq	%r13
	.cfi_def_cfa_offset 8
	ret
.L13:
	.cfi_restore_state
	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
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d %d"
.LC1:
	.string	"%d"
.LC2:
	.string	"Yes"
.LC3:
	.string	"No"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB51:
	.cfi_startproc
	endbr64
	pushq	%r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	pushq	%r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	pushq	%rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	pushq	%rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	leaq	-798720(%rsp), %r11
	.cfi_def_cfa 11, 798760
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	.cfi_def_cfa_register 7
	subq	$1320, %rsp
	.cfi_def_cfa_offset 800080
	leaq	.LC0(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, 800024(%rsp)
	xorl	%eax, %eax
	leaq	12(%rsp), %rdx
	leaq	8(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movl	8(%rsp), %eax
	testl	%eax, %eax
	jle	.L2
	leaq	20(%rsp), %rbp
	movl	$1, %ebx
	leaq	.LC1(%rip), %r12
	.p2align 4,,10
	.p2align 3
.L3:
	movq	%rbp, %rsi
	movq	%r12, %rdi
	xorl	%eax, %eax
	addl	$1, %ebx
	call	__isoc99_scanf@PLT
	movl	8(%rsp), %eax
	addq	$4, %rbp
	cmpl	%ebx, %eax
	jge	.L3
.L2:
	movl	12(%rsp), %edx
	leal	1(%rdx), %ebx
	cmpl	%eax, %ebx
	jg	.L4
	movslq	%ebx, %rbx
	leaq	16(%rsp), %rbp
	leaq	.LC3(%rip), %r13
	leaq	.LC2(%rip), %r12
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L12:
	movq	%r12, %rdi
	addq	$1, %rbx
	call	puts@PLT
	cmpl	%ebx, 8(%rsp)
	jl	.L4
.L6:
	movl	12(%rsp), %edx
.L7:
	movl	%ebx, %eax
	movl	0(%rbp,%rbx,4), %ecx
	subl	%edx, %eax
	cltq
	cmpl	%ecx, 16(%rsp,%rax,4)
	jl	.L12
	movq	%r13, %rdi
	addq	$1, %rbx
	call	puts@PLT
	cmpl	%ebx, 8(%rsp)
	jge	.L6
.L4:
	movq	800024(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L13
	addq	$800040, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 32
	popq	%rbp
	.cfi_def_cfa_offset 24
	popq	%r12
	.cfi_def_cfa_offset 16
	popq	%r13
	.cfi_def_cfa_offset 8
	ret
.L13:
	.cfi_restore_state
	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:

#include<stdio.h>
#include<stdlib.h>
#include<string.h>
#include<stdbool.h>
#include<math.h>
#include<limits.h>
#define MAX 200002
int main(){
    int N,K;
    scanf("%d %d",&N,&K);
    int A[MAX];
    for(int i=1;i<=N;i++)
        scanf("%d",A+i);
    for(int i=K+1;i<=N;i++){
        if(A[i-K]<A[i])
            printf("Yes\n");
        else
            printf("No\n");
    }
}

3 1
1001 869120 1001
 15 7
3 1 4 1 5 9 2 6 5 3 5 7 9 7 9
 15 7
3 1 4 1 5 9 2 6 5 5 5 7 9 7 9
 15 7
3 1 8 1 5 9 1 8 1 5 9 7 9 7 16
 15 7
3 1 9 1 5 5 0 8 1 5 9 8 9 7 15
 3 2
1011 869120 1001
 5 3
96 98 95 000 20
 5 0
96 98 162 100 39
 15 7
3 1 8 1 5 8 1 6 5 5 9 7 9 7 9
 15 11
3 1 8 1 5 9 1 6 5 5 9 7 9 7 16

Yes
No
 Yes
Yes
No
Yes
Yes
No
Yes
Yes
 Yes
Yes
Yes
Yes
Yes
No
Yes
Yes
 Yes
No
No
Yes
Yes
No
Yes
Yes
 Yes
No
No
Yes
Yes
Yes
Yes
Yes
 No
 No
No
 No
No
No
No
No
 Yes
Yes
No
Yes
Yes
Yes
Yes
Yes
 Yes
Yes
No
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>
#include<stdlib.h>
#include<string.h>
#include<stdbool.h>
#include<math.h>
#include<limits.h>
#define MAX 200002
int main(){
    int N,K;
    scanf("%d %d",&N,&K);
    int A[MAX];
    for(int i=1;i<=N;i++)
        scanf("%d",A+i);
    for(int i=K+1;i<=N;i++){
        if(A[i-K]<A[i])
            printf("Yes\n");
        else
            printf("No\n");
    }
}
```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%d %d"
.LC1:
	.string	"%d"
.LC2:
	.string	"Yes"
.LC3:
	.string	"No"
	.text
	.globl	main
	.type	main, @function
main:
.LFB6:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	leaq	-798720(%rsp), %r11
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	subq	$1312, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-800028(%rbp), %rdx
	leaq	-800032(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$1, -800024(%rbp)
	jmp	.L2
.L3:
	movl	-800024(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	-800016(%rbp), %rax
	addq	%rdx, %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addl	$1, -800024(%rbp)
.L2:
	movl	-800032(%rbp), %eax
	cmpl	%eax, -800024(%rbp)
	jle	.L3
	movl	-800028(%rbp), %eax
	addl	$1, %eax
	movl	%eax, -800020(%rbp)
	jmp	.L4
.L7:
	movl	-800028(%rbp), %edx
	movl	-800020(%rbp), %eax
	subl	%edx, %eax
	cltq
	movl	-800016(%rbp,%rax,4), %edx
	movl	-800020(%rbp), %eax
	cltq
	movl	-800016(%rbp,%rax,4), %eax
	cmpl	%eax, %edx
	jge	.L5
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	jmp	.L6
.L5:
	leaq	.LC3(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
.L6:
	addl	$1, -800020(%rbp)
.L4:
	movl	-800032(%rbp), %eax
	cmpl	%eax, -800020(%rbp)
	jle	.L7
	movl	$0, %eax
	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
.LFE6:
	.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
	.section	.rodata
.LC0:
	.string	"%d %d"
.LC1:
	.string	"%d"
.LC2:
	.string	"Yes"
.LC3:
	.string	"No"
	.text
	.globl	main
	.type	main, @function
main:
.LFB6:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	leaq	-798720(%rsp), %r11
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	subq	$1312, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-800028(%rbp), %rdx
	leaq	-800032(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$1, -800024(%rbp)
	jmp	.L2
.L3:
	movl	-800024(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	-800016(%rbp), %rax
	addq	%rdx, %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addl	$1, -800024(%rbp)
.L2:
	movl	-800032(%rbp), %eax
	cmpl	%eax, -800024(%rbp)
	jle	.L3
	movl	-800028(%rbp), %eax
	addl	$1, %eax
	movl	%eax, -800020(%rbp)
	jmp	.L4
.L7:
	movl	-800028(%rbp), %edx
	movl	-800020(%rbp), %eax
	subl	%edx, %eax
	cltq
	movl	-800016(%rbp,%rax,4), %edx
	movl	-800020(%rbp), %eax
	cltq
	movl	-800016(%rbp,%rax,4), %eax
	cmpl	%eax, %edx
	jge	.L5
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	jmp	.L6
.L5:
	leaq	.LC3(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
.L6:
	addl	$1, -800020(%rbp)
.L4:
	movl	-800032(%rbp), %eax
	cmpl	%eax, -800020(%rbp)
	jle	.L7
	movl	$0, %eax
	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
.LFE6:
	.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:
