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>

int main(void) {
  int turu = 2;
  int tart = 4;
  int x, y;
  int judge = 0;
  scanf("%d%d", &x, &y);
  for(int i = 1; i <= x; i++) {
    if(turu * i + tart * (x-i) == y) {
      judge = 1;
    } else if(tart * i + turu * (x-i) == y) {
      judge = 1;
    }
  }
  if(judge == 1) {
    printf("Yes");
  } else {
    printf("No");
  }
  return 0;
}
```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC1:
	.string	"%d%d"
.LC4:
	.string	"Yes"
.LC5:
	.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), %edx
	testl	%edx, %edx
	jle	.L2
	leal	-1(%rdx), %eax
	movl	4(%rsp), %r8d
	cmpl	$2, %eax
	jbe	.L13
	movd	%edx, %xmm6
	movd	%r8d, %xmm7
	movl	%edx, %ecx
	xorl	%eax, %eax
	pshufd	$0, %xmm6, %xmm8
	pshufd	$0, %xmm7, %xmm5
	shrl	$2, %ecx
	pxor	%xmm4, %xmm4
	movdqa	.LC0(%rip), %xmm3
	movdqa	.LC2(%rip), %xmm7
	movdqa	.LC3(%rip), %xmm6
	.p2align 4,,10
	.p2align 3
.L4:
	movdqa	%xmm3, %xmm1
	movdqa	%xmm8, %xmm2
	paddd	%xmm7, %xmm3
	addl	$1, %eax
	psubd	%xmm1, %xmm2
	movdqa	%xmm1, %xmm0
	pslld	$1, %xmm0
	pslld	$2, %xmm1
	movdqa	%xmm2, %xmm9
	pslld	$2, %xmm9
	pslld	$1, %xmm2
	paddd	%xmm9, %xmm0
	paddd	%xmm2, %xmm1
	pcmpeqd	%xmm5, %xmm1
	pcmpeqd	%xmm5, %xmm0
	por	%xmm1, %xmm0
	movdqa	%xmm6, %xmm1
	pand	%xmm0, %xmm1
	pandn	%xmm4, %xmm0
	movdqa	%xmm0, %xmm4
	por	%xmm1, %xmm4
	cmpl	%eax, %ecx
	jne	.L4
	movdqa	%xmm4, %xmm1
	movl	%edx, %esi
	psrldq	$8, %xmm1
	andl	$-4, %esi
	movdqa	%xmm1, %xmm0
	leal	1(%rsi), %eax
	pcmpgtd	%xmm4, %xmm0
	pand	%xmm0, %xmm1
	pandn	%xmm4, %xmm0
	por	%xmm1, %xmm0
	movdqa	%xmm0, %xmm2
	psrldq	$4, %xmm2
	movdqa	%xmm2, %xmm1
	pcmpgtd	%xmm0, %xmm1
	pand	%xmm1, %xmm2
	pandn	%xmm0, %xmm1
	por	%xmm2, %xmm1
	movd	%xmm1, %ecx
	cmpl	%esi, %edx
	je	.L5
.L3:
	movl	%edx, %esi
	leal	(%rax,%rax), %edi
	subl	%eax, %esi
	leal	(%rdi,%rsi,4), %r9d
	cmpl	%r8d, %r9d
	je	.L6
	addl	%esi, %esi
	leal	(%rsi,%rax,4), %esi
	cmpl	%esi, %r8d
	je	.L6
	addl	$1, %eax
	cmpl	%edx, %eax
	jg	.L5
.L11:
	movl	%edx, %esi
	subl	%eax, %esi
	leal	2(%rdi,%rsi,4), %r9d
	cmpl	%r9d, %r8d
	je	.L7
	leal	0(,%rax,4), %r9d
	leal	(%r9,%rsi,2), %esi
	cmpl	%esi, %r8d
	je	.L7
	addl	$1, %eax
	cmpl	%eax, %edx
	jl	.L5
.L10:
	subl	%eax, %edx
	leal	4(%rdi,%rdx,4), %esi
	cmpl	%esi, %r8d
	je	.L8
	addl	%edx, %edx
	leal	(%rdx,%rax,4), %eax
	cmpl	%eax, %r8d
	je	.L8
.L5:
	subl	$1, %ecx
	je	.L8
.L2:
	leaq	.LC5(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
.L9:
	movq	8(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L20
	xorl	%eax, %eax
	addq	$24, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
.L6:
	.cfi_restore_state
	addl	$1, %eax
	movl	$1, %ecx
	cmpl	%edx, %eax
	jle	.L11
.L8:
	leaq	.LC4(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	jmp	.L9
.L7:
	addl	$1, %eax
	movl	$1, %ecx
	cmpl	%eax, %edx
	jge	.L10
	jmp	.L8
.L13:
	movl	$1, %eax
	xorl	%ecx, %ecx
	jmp	.L3
.L20:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.size	main, .-main
	.section	.rodata.cst16,"aM",@progbits,16
	.align 16
.LC0:
	.long	1
	.long	2
	.long	3
	.long	4
	.align 16
.LC2:
	.long	4
	.long	4
	.long	4
	.long	4
	.align 16
.LC3:
	.long	1
	.long	1
	.long	1
	.long	1
	.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
.LC1:
	.string	"%d%d"
.LC4:
	.string	"Yes"
.LC5:
	.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), %edx
	testl	%edx, %edx
	jle	.L2
	leal	-1(%rdx), %eax
	movl	4(%rsp), %r8d
	cmpl	$2, %eax
	jbe	.L13
	movd	%edx, %xmm6
	movd	%r8d, %xmm7
	movl	%edx, %ecx
	xorl	%eax, %eax
	pshufd	$0, %xmm6, %xmm8
	pshufd	$0, %xmm7, %xmm5
	shrl	$2, %ecx
	pxor	%xmm4, %xmm4
	movdqa	.LC0(%rip), %xmm3
	movdqa	.LC2(%rip), %xmm7
	movdqa	.LC3(%rip), %xmm6
	.p2align 4,,10
	.p2align 3
.L4:
	movdqa	%xmm3, %xmm1
	movdqa	%xmm8, %xmm2
	paddd	%xmm7, %xmm3
	addl	$1, %eax
	psubd	%xmm1, %xmm2
	movdqa	%xmm1, %xmm0
	pslld	$1, %xmm0
	pslld	$2, %xmm1
	movdqa	%xmm2, %xmm9
	pslld	$2, %xmm9
	pslld	$1, %xmm2
	paddd	%xmm9, %xmm0
	paddd	%xmm2, %xmm1
	pcmpeqd	%xmm5, %xmm1
	pcmpeqd	%xmm5, %xmm0
	por	%xmm1, %xmm0
	movdqa	%xmm6, %xmm1
	pand	%xmm0, %xmm1
	pandn	%xmm4, %xmm0
	movdqa	%xmm0, %xmm4
	por	%xmm1, %xmm4
	cmpl	%eax, %ecx
	jne	.L4
	movdqa	%xmm4, %xmm1
	movl	%edx, %esi
	psrldq	$8, %xmm1
	andl	$-4, %esi
	movdqa	%xmm1, %xmm0
	leal	1(%rsi), %eax
	pcmpgtd	%xmm4, %xmm0
	pand	%xmm0, %xmm1
	pandn	%xmm4, %xmm0
	por	%xmm1, %xmm0
	movdqa	%xmm0, %xmm2
	psrldq	$4, %xmm2
	movdqa	%xmm2, %xmm1
	pcmpgtd	%xmm0, %xmm1
	pand	%xmm1, %xmm2
	pandn	%xmm0, %xmm1
	por	%xmm2, %xmm1
	movd	%xmm1, %ecx
	cmpl	%esi, %edx
	je	.L5
.L3:
	movl	%edx, %esi
	leal	(%rax,%rax), %edi
	subl	%eax, %esi
	leal	(%rdi,%rsi,4), %r9d
	cmpl	%r8d, %r9d
	je	.L6
	addl	%esi, %esi
	leal	(%rsi,%rax,4), %esi
	cmpl	%esi, %r8d
	je	.L6
	addl	$1, %eax
	cmpl	%edx, %eax
	jg	.L5
.L11:
	movl	%edx, %esi
	subl	%eax, %esi
	leal	2(%rdi,%rsi,4), %r9d
	cmpl	%r9d, %r8d
	je	.L7
	leal	0(,%rax,4), %r9d
	leal	(%r9,%rsi,2), %esi
	cmpl	%esi, %r8d
	je	.L7
	addl	$1, %eax
	cmpl	%eax, %edx
	jl	.L5
.L10:
	subl	%eax, %edx
	leal	4(%rdi,%rdx,4), %esi
	cmpl	%esi, %r8d
	je	.L8
	addl	%edx, %edx
	leal	(%rdx,%rax,4), %eax
	cmpl	%eax, %r8d
	je	.L8
.L5:
	subl	$1, %ecx
	je	.L8
.L2:
	leaq	.LC5(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
.L9:
	movq	8(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L20
	xorl	%eax, %eax
	addq	$24, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
.L6:
	.cfi_restore_state
	addl	$1, %eax
	movl	$1, %ecx
	cmpl	%edx, %eax
	jle	.L11
.L8:
	leaq	.LC4(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	jmp	.L9
.L7:
	addl	$1, %eax
	movl	$1, %ecx
	cmpl	%eax, %edx
	jge	.L10
	jmp	.L8
.L13:
	movl	$1, %eax
	xorl	%ecx, %ecx
	jmp	.L3
.L20:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.size	main, .-main
	.section	.rodata.cst16,"aM",@progbits,16
	.align 16
.LC0:
	.long	1
	.long	2
	.long	3
	.long	4
	.align 16
.LC2:
	.long	4
	.long	4
	.long	4
	.long	4
	.align 16
.LC3:
	.long	1
	.long	1
	.long	1
	.long	1
	.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
.LC1:
	.string	"%d%d"
.LC4:
	.string	"Yes"
.LC5:
	.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), %edx
	testl	%edx, %edx
	jle	.L2
	leal	-1(%rdx), %eax
	movl	4(%rsp), %r8d
	cmpl	$2, %eax
	jbe	.L13
	movd	%edx, %xmm6
	movd	%r8d, %xmm7
	movl	%edx, %ecx
	xorl	%eax, %eax
	pshufd	$0, %xmm6, %xmm8
	pshufd	$0, %xmm7, %xmm5
	shrl	$2, %ecx
	pxor	%xmm4, %xmm4
	movdqa	.LC0(%rip), %xmm3
	movdqa	.LC2(%rip), %xmm7
	movdqa	.LC3(%rip), %xmm6
	.p2align 4,,10
	.p2align 3
.L4:
	movdqa	%xmm3, %xmm1
	movdqa	%xmm8, %xmm2
	paddd	%xmm7, %xmm3
	addl	$1, %eax
	psubd	%xmm1, %xmm2
	movdqa	%xmm1, %xmm0
	pslld	$1, %xmm0
	pslld	$2, %xmm1
	movdqa	%xmm2, %xmm9
	pslld	$2, %xmm9
	pslld	$1, %xmm2
	paddd	%xmm9, %xmm0
	paddd	%xmm2, %xmm1
	pcmpeqd	%xmm5, %xmm1
	pcmpeqd	%xmm5, %xmm0
	por	%xmm1, %xmm0
	movdqa	%xmm6, %xmm1
	pand	%xmm0, %xmm1
	pandn	%xmm4, %xmm0
	movdqa	%xmm0, %xmm4
	por	%xmm1, %xmm4
	cmpl	%eax, %ecx
	jne	.L4
	movdqa	%xmm4, %xmm1
	movl	%edx, %esi
	psrldq	$8, %xmm1
	andl	$-4, %esi
	movdqa	%xmm1, %xmm0
	leal	1(%rsi), %eax
	pcmpgtd	%xmm4, %xmm0
	pand	%xmm0, %xmm1
	pandn	%xmm4, %xmm0
	por	%xmm1, %xmm0
	movdqa	%xmm0, %xmm2
	psrldq	$4, %xmm2
	movdqa	%xmm2, %xmm1
	pcmpgtd	%xmm0, %xmm1
	pand	%xmm1, %xmm2
	pandn	%xmm0, %xmm1
	por	%xmm2, %xmm1
	movd	%xmm1, %ecx
	cmpl	%esi, %edx
	je	.L5
.L3:
	movl	%edx, %esi
	leal	(%rax,%rax), %edi
	subl	%eax, %esi
	leal	(%rdi,%rsi,4), %r9d
	cmpl	%r8d, %r9d
	je	.L6
	addl	%esi, %esi
	leal	(%rsi,%rax,4), %esi
	cmpl	%esi, %r8d
	je	.L6
	addl	$1, %eax
	cmpl	%edx, %eax
	jg	.L5
.L11:
	movl	%edx, %esi
	subl	%eax, %esi
	leal	2(%rdi,%rsi,4), %r9d
	cmpl	%r9d, %r8d
	je	.L7
	leal	0(,%rax,4), %r9d
	leal	(%r9,%rsi,2), %esi
	cmpl	%esi, %r8d
	je	.L7
	addl	$1, %eax
	cmpl	%eax, %edx
	jl	.L5
.L10:
	subl	%eax, %edx
	leal	4(%rdi,%rdx,4), %esi
	cmpl	%esi, %r8d
	je	.L8
	addl	%edx, %edx
	leal	(%rdx,%rax,4), %eax
	cmpl	%eax, %r8d
	je	.L8
.L5:
	subl	$1, %ecx
	je	.L8
.L2:
	leaq	.LC5(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
.L9:
	movq	8(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L20
	xorl	%eax, %eax
	addq	$24, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
.L6:
	.cfi_restore_state
	addl	$1, %eax
	movl	$1, %ecx
	cmpl	%edx, %eax
	jle	.L11
.L8:
	leaq	.LC4(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	jmp	.L9
.L7:
	addl	$1, %eax
	movl	$1, %ecx
	cmpl	%eax, %edx
	jge	.L10
	jmp	.L8
.L13:
	movl	$1, %eax
	xorl	%ecx, %ecx
	jmp	.L3
.L20:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.size	main, .-main
	.section	.rodata.cst16,"aM",@progbits,16
	.align 16
.LC0:
	.long	1
	.long	2
	.long	3
	.long	4
	.align 16
.LC2:
	.long	4
	.long	4
	.long	4
	.long	4
	.align 16
.LC3:
	.long	1
	.long	1
	.long	1
	.long	1
	.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>

int main(void) {
  int turu = 2;
  int tart = 4;
  int x, y;
  int judge = 0;
  scanf("%d%d", &x, &y);
  for(int i = 1; i <= x; i++) {
    if(turu * i + tart * (x-i) == y) {
      judge = 1;
    } else if(tart * i + turu * (x-i) == y) {
      judge = 1;
    }
  }
  if(judge == 1) {
    printf("Yes");
  } else {
    printf("No");
  }
  return 0;
}
```
Given the following C code, your task is to generate highly optimized x86-64 assembly code.
C Code:

```c
#include <stdio.h>

int main(void) {
  int turu = 2;
  int tart = 4;
  int x, y;
  int judge = 0;
  scanf("%d%d", &x, &y);
  for(int i = 1; i <= x; i++) {
    if(turu * i + tart * (x-i) == y) {
      judge = 1;
    } else if(tart * i + turu * (x-i) == y) {
      judge = 1;
    }
  }
  if(judge == 1) {
    printf("Yes");
  } else {
    printf("No");
  }
  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:

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 assembly code, your task is to generate highly optimized x86-64 assembly code.
C Code:

```c
#include <stdio.h>

int main(void) {
  int turu = 2;
  int tart = 4;
  int x, y;
  int judge = 0;
  scanf("%d%d", &x, &y);
  for(int i = 1; i <= x; i++) {
    if(turu * i + tart * (x-i) == y) {
      judge = 1;
    } else if(tart * i + turu * (x-i) == y) {
      judge = 1;
    }
  }
  if(judge == 1) {
    printf("Yes");
  } else {
    printf("No");
  }
  return 0;
}
```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC1:
	.string	"%d%d"
.LC4:
	.string	"Yes"
.LC5:
	.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), %edx
	testl	%edx, %edx
	jle	.L2
	leal	-1(%rdx), %eax
	movl	4(%rsp), %r8d
	cmpl	$2, %eax
	jbe	.L13
	movd	%edx, %xmm6
	movd	%r8d, %xmm7
	movl	%edx, %ecx
	xorl	%eax, %eax
	pshufd	$0, %xmm6, %xmm8
	pshufd	$0, %xmm7, %xmm5
	shrl	$2, %ecx
	pxor	%xmm4, %xmm4
	movdqa	.LC0(%rip), %xmm3
	movdqa	.LC2(%rip), %xmm7
	movdqa	.LC3(%rip), %xmm6
	.p2align 4,,10
	.p2align 3
.L4:
	movdqa	%xmm3, %xmm1
	movdqa	%xmm8, %xmm2
	paddd	%xmm7, %xmm3
	addl	$1, %eax
	psubd	%xmm1, %xmm2
	movdqa	%xmm1, %xmm0
	pslld	$1, %xmm0
	pslld	$2, %xmm1
	movdqa	%xmm2, %xmm9
	pslld	$2, %xmm9
	pslld	$1, %xmm2
	paddd	%xmm9, %xmm0
	paddd	%xmm2, %xmm1
	pcmpeqd	%xmm5, %xmm1
	pcmpeqd	%xmm5, %xmm0
	por	%xmm1, %xmm0
	movdqa	%xmm6, %xmm1
	pand	%xmm0, %xmm1
	pandn	%xmm4, %xmm0
	movdqa	%xmm0, %xmm4
	por	%xmm1, %xmm4
	cmpl	%eax, %ecx
	jne	.L4
	movdqa	%xmm4, %xmm1
	movl	%edx, %esi
	psrldq	$8, %xmm1
	andl	$-4, %esi
	movdqa	%xmm1, %xmm0
	leal	1(%rsi), %eax
	pcmpgtd	%xmm4, %xmm0
	pand	%xmm0, %xmm1
	pandn	%xmm4, %xmm0
	por	%xmm1, %xmm0
	movdqa	%xmm0, %xmm2
	psrldq	$4, %xmm2
	movdqa	%xmm2, %xmm1
	pcmpgtd	%xmm0, %xmm1
	pand	%xmm1, %xmm2
	pandn	%xmm0, %xmm1
	por	%xmm2, %xmm1
	movd	%xmm1, %ecx
	cmpl	%esi, %edx
	je	.L5
.L3:
	movl	%edx, %esi
	leal	(%rax,%rax), %edi
	subl	%eax, %esi
	leal	(%rdi,%rsi,4), %r9d
	cmpl	%r8d, %r9d
	je	.L6
	addl	%esi, %esi
	leal	(%rsi,%rax,4), %esi
	cmpl	%esi, %r8d
	je	.L6
	addl	$1, %eax
	cmpl	%edx, %eax
	jg	.L5
.L11:
	movl	%edx, %esi
	subl	%eax, %esi
	leal	2(%rdi,%rsi,4), %r9d
	cmpl	%r9d, %r8d
	je	.L7
	leal	0(,%rax,4), %r9d
	leal	(%r9,%rsi,2), %esi
	cmpl	%esi, %r8d
	je	.L7
	addl	$1, %eax
	cmpl	%eax, %edx
	jl	.L5
.L10:
	subl	%eax, %edx
	leal	4(%rdi,%rdx,4), %esi
	cmpl	%esi, %r8d
	je	.L8
	addl	%edx, %edx
	leal	(%rdx,%rax,4), %eax
	cmpl	%eax, %r8d
	je	.L8
.L5:
	subl	$1, %ecx
	je	.L8
.L2:
	leaq	.LC5(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
.L9:
	movq	8(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L20
	xorl	%eax, %eax
	addq	$24, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
.L6:
	.cfi_restore_state
	addl	$1, %eax
	movl	$1, %ecx
	cmpl	%edx, %eax
	jle	.L11
.L8:
	leaq	.LC4(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	jmp	.L9
.L7:
	addl	$1, %eax
	movl	$1, %ecx
	cmpl	%eax, %edx
	jge	.L10
	jmp	.L8
.L13:
	movl	$1, %eax
	xorl	%ecx, %ecx
	jmp	.L3
.L20:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.size	main, .-main
	.section	.rodata.cst16,"aM",@progbits,16
	.align 16
.LC0:
	.long	1
	.long	2
	.long	3
	.long	4
	.align 16
.LC2:
	.long	4
	.long	4
	.long	4
	.long	4
	.align 16
.LC3:
	.long	1
	.long	1
	.long	1
	.long	1
	.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
.LC1:
	.string	"%d%d"
.LC4:
	.string	"Yes"
.LC5:
	.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), %edx
	testl	%edx, %edx
	jle	.L2
	leal	-1(%rdx), %eax
	movl	4(%rsp), %r8d
	cmpl	$2, %eax
	jbe	.L13
	movd	%edx, %xmm6
	movd	%r8d, %xmm7
	movl	%edx, %ecx
	xorl	%eax, %eax
	pshufd	$0, %xmm6, %xmm8
	pshufd	$0, %xmm7, %xmm5
	shrl	$2, %ecx
	pxor	%xmm4, %xmm4
	movdqa	.LC0(%rip), %xmm3
	movdqa	.LC2(%rip), %xmm7
	movdqa	.LC3(%rip), %xmm6
	.p2align 4,,10
	.p2align 3
.L4:
	movdqa	%xmm3, %xmm1
	movdqa	%xmm8, %xmm2
	paddd	%xmm7, %xmm3
	addl	$1, %eax
	psubd	%xmm1, %xmm2
	movdqa	%xmm1, %xmm0
	pslld	$1, %xmm0
	pslld	$2, %xmm1
	movdqa	%xmm2, %xmm9
	pslld	$2, %xmm9
	pslld	$1, %xmm2
	paddd	%xmm9, %xmm0
	paddd	%xmm2, %xmm1
	pcmpeqd	%xmm5, %xmm1
	pcmpeqd	%xmm5, %xmm0
	por	%xmm1, %xmm0
	movdqa	%xmm6, %xmm1
	pand	%xmm0, %xmm1
	pandn	%xmm4, %xmm0
	movdqa	%xmm0, %xmm4
	por	%xmm1, %xmm4
	cmpl	%eax, %ecx
	jne	.L4
	movdqa	%xmm4, %xmm1
	movl	%edx, %esi
	psrldq	$8, %xmm1
	andl	$-4, %esi
	movdqa	%xmm1, %xmm0
	leal	1(%rsi), %eax
	pcmpgtd	%xmm4, %xmm0
	pand	%xmm0, %xmm1
	pandn	%xmm4, %xmm0
	por	%xmm1, %xmm0
	movdqa	%xmm0, %xmm2
	psrldq	$4, %xmm2
	movdqa	%xmm2, %xmm1
	pcmpgtd	%xmm0, %xmm1
	pand	%xmm1, %xmm2
	pandn	%xmm0, %xmm1
	por	%xmm2, %xmm1
	movd	%xmm1, %ecx
	cmpl	%esi, %edx
	je	.L5
.L3:
	movl	%edx, %esi
	leal	(%rax,%rax), %edi
	subl	%eax, %esi
	leal	(%rdi,%rsi,4), %r9d
	cmpl	%r8d, %r9d
	je	.L6
	addl	%esi, %esi
	leal	(%rsi,%rax,4), %esi
	cmpl	%esi, %r8d
	je	.L6
	addl	$1, %eax
	cmpl	%edx, %eax
	jg	.L5
.L11:
	movl	%edx, %esi
	subl	%eax, %esi
	leal	2(%rdi,%rsi,4), %r9d
	cmpl	%r9d, %r8d
	je	.L7
	leal	0(,%rax,4), %r9d
	leal	(%r9,%rsi,2), %esi
	cmpl	%esi, %r8d
	je	.L7
	addl	$1, %eax
	cmpl	%eax, %edx
	jl	.L5
.L10:
	subl	%eax, %edx
	leal	4(%rdi,%rdx,4), %esi
	cmpl	%esi, %r8d
	je	.L8
	addl	%edx, %edx
	leal	(%rdx,%rax,4), %eax
	cmpl	%eax, %r8d
	je	.L8
.L5:
	subl	$1, %ecx
	je	.L8
.L2:
	leaq	.LC5(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
.L9:
	movq	8(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L20
	xorl	%eax, %eax
	addq	$24, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
.L6:
	.cfi_restore_state
	addl	$1, %eax
	movl	$1, %ecx
	cmpl	%edx, %eax
	jle	.L11
.L8:
	leaq	.LC4(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	jmp	.L9
.L7:
	addl	$1, %eax
	movl	$1, %ecx
	cmpl	%eax, %edx
	jge	.L10
	jmp	.L8
.L13:
	movl	$1, %eax
	xorl	%ecx, %ecx
	jmp	.L3
.L20:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.size	main, .-main
	.section	.rodata.cst16,"aM",@progbits,16
	.align 16
.LC0:
	.long	1
	.long	2
	.long	3
	.long	4
	.align 16
.LC2:
	.long	4
	.long	4
	.long	4
	.long	4
	.align 16
.LC3:
	.long	1
	.long	1
	.long	1
	.long	1
	.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:
```