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>

int main()
{
  int x,y,i;
  int count =0;

  scanf("%d %d",&x,&y);

  for(i=0; i<=x; i++)
   {
     if(y == i*2 + (x-i)*4) {
       count++;
     }
   }

  if(count != 0)
    printf("Yes\n");
  else
    printf("No");

  return 0;
}
```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%d %d"
.LC1:
	.string	"Yes"
.LC2:
	.string	"No"
	.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
	movl	$0, -12(%rbp)
	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	$0, -16(%rbp)
	jmp	.L2
.L4:
	movl	-24(%rbp), %eax
	subl	-16(%rbp), %eax
	leal	(%rax,%rax), %edx
	movl	-16(%rbp), %eax
	addl	%edx, %eax
	leal	(%rax,%rax), %edx
	movl	-20(%rbp), %eax
	cmpl	%eax, %edx
	jne	.L3
	addl	$1, -12(%rbp)
.L3:
	addl	$1, -16(%rbp)
.L2:
	movl	-24(%rbp), %eax
	cmpl	%eax, -16(%rbp)
	jle	.L4
	cmpl	$0, -12(%rbp)
	je	.L5
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	jmp	.L6
.L5:
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
.L6:
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L8
	call	__stack_chk_fail@PLT
.L8:
	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
.LC1:
	.string	"%d %d"
.LC3:
	.string	"Yes"
.LC4:
	.string	"No"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	subq	$24, %rsp
	.cfi_def_cfa_offset 32
	leaq	.LC1(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, 8(%rsp)
	xorl	%eax, %eax
	leaq	4(%rsp), %rdx
	movq	%rsp, %rsi
	call	__isoc99_scanf@PLT
	movl	(%rsp), %ecx
	testl	%ecx, %ecx
	js	.L2
	movl	4(%rsp), %esi
	leal	1(%rcx), %edi
	cmpl	$5, %ecx
	jle	.L21
	movd	%ecx, %xmm7
	movl	%edi, %edx
	movdqa	.LC0(%rip), %xmm2
	xorl	%eax, %eax
	pshufd	$0, %xmm7, %xmm6
	movd	%esi, %xmm7
	shrl	$2, %edx
	pxor	%xmm1, %xmm1
	movdqa	.LC2(%rip), %xmm4
	pshufd	$0, %xmm7, %xmm5
	.p2align 4,,10
	.p2align 3
.L4:
	movdqa	%xmm2, %xmm3
	movdqa	%xmm6, %xmm0
	paddd	%xmm4, %xmm2
	addl	$1, %eax
	psubd	%xmm3, %xmm0
	pslld	$1, %xmm0
	paddd	%xmm3, %xmm0
	pslld	$1, %xmm0
	pcmpeqd	%xmm5, %xmm0
	psubd	%xmm0, %xmm1
	cmpl	%eax, %edx
	jne	.L4
	movdqa	%xmm1, %xmm0
	movl	%edi, %edx
	psrldq	$8, %xmm0
	andl	$-4, %edx
	andl	$3, %edi
	paddd	%xmm0, %xmm1
	movdqa	%xmm1, %xmm0
	psrldq	$4, %xmm0
	paddd	%xmm0, %xmm1
	movd	%xmm1, %eax
	je	.L5
.L3:
	movl	%ecx, %edi
	subl	%edx, %edi
	leal	(%rdx,%rdi,2), %edi
	addl	%edi, %edi
	cmpl	%esi, %edi
	je	.L28
	addl	$1, %edx
	cmpl	%ecx, %edx
	jg	.L5
.L7:
	movl	%ecx, %edi
	subl	%edx, %edi
	leal	(%rdx,%rdi,2), %edi
	addl	%edi, %edi
	cmpl	%edi, %esi
	je	.L29
	addl	$1, %edx
	cmpl	%ecx, %edx
	jg	.L5
.L10:
	movl	%ecx, %edi
	subl	%edx, %edi
	leal	(%rdx,%rdi,2), %edi
	addl	%edi, %edi
	cmpl	%edi, %esi
	je	.L30
	addl	$1, %edx
	cmpl	%edx, %ecx
	jl	.L5
.L12:
	movl	%ecx, %edi
	subl	%edx, %edi
	leal	(%rdx,%rdi,2), %edi
	addl	%edi, %edi
	cmpl	%edi, %esi
	je	.L31
	addl	$1, %edx
	cmpl	%edx, %ecx
	jl	.L5
.L14:
	movl	%ecx, %edi
	subl	%edx, %edi
	leal	(%rdx,%rdi,2), %edi
	addl	%edi, %edi
	cmpl	%edi, %esi
	je	.L32
	addl	$1, %edx
	cmpl	%edx, %ecx
	jl	.L5
.L16:
	subl	%edx, %ecx
	leal	(%rdx,%rcx,2), %edx
	addl	%edx, %edx
	cmpl	%edx, %esi
	je	.L33
.L5:
	testl	%eax, %eax
	je	.L2
.L8:
	leaq	.LC3(%rip), %rdi
	call	puts@PLT
.L19:
	movq	8(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L34
	xorl	%eax, %eax
	addq	$24, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
.L2:
	.cfi_restore_state
	leaq	.LC4(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	jmp	.L19
.L28:
	addl	$1, %edx
	addl	$1, %eax
	cmpl	%edx, %ecx
	jge	.L7
	jmp	.L8
.L29:
	addl	$1, %edx
	addl	$1, %eax
	cmpl	%edx, %ecx
	jge	.L10
	jmp	.L8
.L33:
	addl	$1, %eax
	jmp	.L5
.L30:
	addl	$1, %edx
	addl	$1, %eax
	cmpl	%edx, %ecx
	jge	.L12
	jmp	.L8
.L31:
	addl	$1, %edx
	addl	$1, %eax
	cmpl	%edx, %ecx
	jge	.L14
	jmp	.L8
.L32:
	addl	$1, %edx
	addl	$1, %eax
	cmpl	%edx, %ecx
	jge	.L16
	jmp	.L8
.L21:
	xorl	%eax, %eax
	xorl	%edx, %edx
	jmp	.L3
.L34:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.size	main, .-main
	.section	.rodata.cst16,"aM",@progbits,16
	.align 16
.LC0:
	.long	0
	.long	1
	.long	2
	.long	3
	.align 16
.LC2:
	.long	4
	.long	4
	.long	4
	.long	4
	.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
.LC1:
	.string	"%d %d"
.LC3:
	.string	"Yes"
.LC4:
	.string	"No"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	subq	$24, %rsp
	.cfi_def_cfa_offset 32
	leaq	.LC1(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, 8(%rsp)
	xorl	%eax, %eax
	leaq	4(%rsp), %rdx
	movq	%rsp, %rsi
	call	__isoc99_scanf@PLT
	movl	(%rsp), %ecx
	testl	%ecx, %ecx
	js	.L2
	movl	4(%rsp), %esi
	leal	1(%rcx), %edi
	cmpl	$5, %ecx
	jle	.L21
	movd	%ecx, %xmm7
	movl	%edi, %edx
	movdqa	.LC0(%rip), %xmm2
	xorl	%eax, %eax
	pshufd	$0, %xmm7, %xmm6
	movd	%esi, %xmm7
	shrl	$2, %edx
	pxor	%xmm1, %xmm1
	movdqa	.LC2(%rip), %xmm4
	pshufd	$0, %xmm7, %xmm5
	.p2align 4,,10
	.p2align 3
.L4:
	movdqa	%xmm2, %xmm3
	movdqa	%xmm6, %xmm0
	paddd	%xmm4, %xmm2
	addl	$1, %eax
	psubd	%xmm3, %xmm0
	pslld	$1, %xmm0
	paddd	%xmm3, %xmm0
	pslld	$1, %xmm0
	pcmpeqd	%xmm5, %xmm0
	psubd	%xmm0, %xmm1
	cmpl	%eax, %edx
	jne	.L4
	movdqa	%xmm1, %xmm0
	movl	%edi, %edx
	psrldq	$8, %xmm0
	andl	$-4, %edx
	andl	$3, %edi
	paddd	%xmm0, %xmm1
	movdqa	%xmm1, %xmm0
	psrldq	$4, %xmm0
	paddd	%xmm0, %xmm1
	movd	%xmm1, %eax
	je	.L5
.L3:
	movl	%ecx, %edi
	subl	%edx, %edi
	leal	(%rdx,%rdi,2), %edi
	addl	%edi, %edi
	cmpl	%esi, %edi
	je	.L28
	addl	$1, %edx
	cmpl	%ecx, %edx
	jg	.L5
.L7:
	movl	%ecx, %edi
	subl	%edx, %edi
	leal	(%rdx,%rdi,2), %edi
	addl	%edi, %edi
	cmpl	%edi, %esi
	je	.L29
	addl	$1, %edx
	cmpl	%ecx, %edx
	jg	.L5
.L10:
	movl	%ecx, %edi
	subl	%edx, %edi
	leal	(%rdx,%rdi,2), %edi
	addl	%edi, %edi
	cmpl	%edi, %esi
	je	.L30
	addl	$1, %edx
	cmpl	%edx, %ecx
	jl	.L5
.L12:
	movl	%ecx, %edi
	subl	%edx, %edi
	leal	(%rdx,%rdi,2), %edi
	addl	%edi, %edi
	cmpl	%edi, %esi
	je	.L31
	addl	$1, %edx
	cmpl	%edx, %ecx
	jl	.L5
.L14:
	movl	%ecx, %edi
	subl	%edx, %edi
	leal	(%rdx,%rdi,2), %edi
	addl	%edi, %edi
	cmpl	%edi, %esi
	je	.L32
	addl	$1, %edx
	cmpl	%edx, %ecx
	jl	.L5
.L16:
	subl	%edx, %ecx
	leal	(%rdx,%rcx,2), %edx
	addl	%edx, %edx
	cmpl	%edx, %esi
	je	.L33
.L5:
	testl	%eax, %eax
	je	.L2
.L8:
	leaq	.LC3(%rip), %rdi
	call	puts@PLT
.L19:
	movq	8(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L34
	xorl	%eax, %eax
	addq	$24, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
.L2:
	.cfi_restore_state
	leaq	.LC4(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	jmp	.L19
.L28:
	addl	$1, %edx
	addl	$1, %eax
	cmpl	%edx, %ecx
	jge	.L7
	jmp	.L8
.L29:
	addl	$1, %edx
	addl	$1, %eax
	cmpl	%edx, %ecx
	jge	.L10
	jmp	.L8
.L33:
	addl	$1, %eax
	jmp	.L5
.L30:
	addl	$1, %edx
	addl	$1, %eax
	cmpl	%edx, %ecx
	jge	.L12
	jmp	.L8
.L31:
	addl	$1, %edx
	addl	$1, %eax
	cmpl	%edx, %ecx
	jge	.L14
	jmp	.L8
.L32:
	addl	$1, %edx
	addl	$1, %eax
	cmpl	%edx, %ecx
	jge	.L16
	jmp	.L8
.L21:
	xorl	%eax, %eax
	xorl	%edx, %edx
	jmp	.L3
.L34:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.size	main, .-main
	.section	.rodata.cst16,"aM",@progbits,16
	.align 16
.LC0:
	.long	0
	.long	1
	.long	2
	.long	3
	.align 16
.LC2:
	.long	4
	.long	4
	.long	4
	.long	4
	.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>

int main()
{
  int x,y,i;
  int count =0;

  scanf("%d %d",&x,&y);

  for(i=0; i<=x; i++)
   {
     if(y == i*2 + (x-i)*4) {
       count++;
     }
   }

  if(count != 0)
    printf("Yes\n");
  else
    printf("No");

  return 0;
}

2 2
 6 12
 6 8
 1 100
 3 2
 1 110
 3 1
 6 3
 1 111
 5 1

No Yes
 No No No No No No No No
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>

int main()
{
  int x,y,i;
  int count =0;

  scanf("%d %d",&x,&y);

  for(i=0; i<=x; i++)
   {
     if(y == i*2 + (x-i)*4) {
       count++;
     }
   }

  if(count != 0)
    printf("Yes\n");
  else
    printf("No");

  return 0;
}
```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%d %d"
.LC1:
	.string	"Yes"
.LC2:
	.string	"No"
	.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
	movl	$0, -12(%rbp)
	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	$0, -16(%rbp)
	jmp	.L2
.L4:
	movl	-24(%rbp), %eax
	subl	-16(%rbp), %eax
	leal	(%rax,%rax), %edx
	movl	-16(%rbp), %eax
	addl	%edx, %eax
	leal	(%rax,%rax), %edx
	movl	-20(%rbp), %eax
	cmpl	%eax, %edx
	jne	.L3
	addl	$1, -12(%rbp)
.L3:
	addl	$1, -16(%rbp)
.L2:
	movl	-24(%rbp), %eax
	cmpl	%eax, -16(%rbp)
	jle	.L4
	cmpl	$0, -12(%rbp)
	je	.L5
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	jmp	.L6
.L5:
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
.L6:
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L8
	call	__stack_chk_fail@PLT
.L8:
	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
	.section	.rodata
.LC0:
	.string	"%d %d"
.LC1:
	.string	"Yes"
.LC2:
	.string	"No"
	.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
	movl	$0, -12(%rbp)
	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	$0, -16(%rbp)
	jmp	.L2
.L4:
	movl	-24(%rbp), %eax
	subl	-16(%rbp), %eax
	leal	(%rax,%rax), %edx
	movl	-16(%rbp), %eax
	addl	%edx, %eax
	leal	(%rax,%rax), %edx
	movl	-20(%rbp), %eax
	cmpl	%eax, %edx
	jne	.L3
	addl	$1, -12(%rbp)
.L3:
	addl	$1, -16(%rbp)
.L2:
	movl	-24(%rbp), %eax
	cmpl	%eax, -16(%rbp)
	jle	.L4
	cmpl	$0, -12(%rbp)
	je	.L5
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	jmp	.L6
.L5:
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
.L6:
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L8
	call	__stack_chk_fail@PLT
.L8:
	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:
