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(){
	int n,m,b=0;
	int a[1000];
   int t=0;

	scanf("%d %d",&n,&m);

	for(int i=0;i<n;i++){
		scanf("%d",&a[i]);
		t=t+a[i];
	}
	for(int i=0;i<n;i++){
		if(a[i]*4*m>=t){
         b++;
      }
   }

	if(b>=m){
      printf("Yes");
   }else{
      printf("No");
   }
   
   return 0;
}
```

Assembly Code:

```assembly
	.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:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	leaq	.LC0(%rip), %rdi
	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
	subq	$4032, %rsp
	.cfi_def_cfa_offset 4080
	movq	%fs:40, %rax
	movq	%rax, 4024(%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
	xorl	%ebx, %ebx
	xorl	%r12d, %r12d
	leaq	16(%rsp), %r13
	leaq	.LC1(%rip), %r14
	.p2align 4,,10
	.p2align 3
.L3:
	leaq	0(%r13,%rbx,4), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	movq	%r13, %rbp
	call	__isoc99_scanf@PLT
	movl	0(%r13,%rbx,4), %ecx
	movl	8(%rsp), %eax
	addq	$1, %rbx
	addl	%r12d, %ecx
	movl	%ecx, %r12d
	cmpl	%ebx, %eax
	jg	.L3
	movl	12(%rsp), %edi
	testl	%eax, %eax
	jle	.L17
	leal	-1(%rax), %edx
	cmpl	$3, %edx
	jbe	.L18
	movl	%eax, %edx
	movd	%edi, %xmm7
	pxor	%xmm3, %xmm3
	shrl	$2, %edx
	pshufd	$0, %xmm7, %xmm4
	movd	%ecx, %xmm7
	movdqa	%xmm4, %xmm6
	pshufd	$0, %xmm7, %xmm2
	movdqa	%xmm3, %xmm5
	subl	$1, %edx
	salq	$4, %rdx
	psrlq	$32, %xmm6
	leaq	32(%rsp,%rdx), %rdx
	.p2align 4,,10
	.p2align 3
.L6:
	movdqa	0(%rbp), %xmm1
	movdqa	%xmm4, %xmm0
	pmuludq	0(%rbp), %xmm0
	pshufd	$8, %xmm0, %xmm0
	addq	$16, %rbp
	psrlq	$32, %xmm1
	pmuludq	%xmm6, %xmm1
	pshufd	$8, %xmm1, %xmm1
	punpckldq	%xmm1, %xmm0
	movdqa	%xmm2, %xmm1
	pslld	$2, %xmm0
	pcmpgtd	%xmm0, %xmm1
	pcmpeqd	%xmm5, %xmm1
	psubd	%xmm1, %xmm3
	cmpq	%rbp, %rdx
	jne	.L6
	movdqa	%xmm3, %xmm0
	movl	%eax, %esi
	psrldq	$8, %xmm0
	andl	$-4, %esi
	paddd	%xmm0, %xmm3
	movdqa	%xmm3, %xmm0
	psrldq	$4, %xmm0
	paddd	%xmm0, %xmm3
	movd	%xmm3, %edx
	testb	$3, %al
	je	.L4
.L5:
	movslq	%esi, %r8
	movl	16(%rsp,%r8,4), %ebx
	imull	%edi, %ebx
	movl	%ebx, %r8d
	sall	$2, %r8d
	cmpl	%ecx, %r8d
	setge	%r8b
	movzbl	%r8b, %r8d
	addl	%r8d, %edx
	leal	1(%rsi), %r8d
	cmpl	%r8d, %eax
	jle	.L4
	movslq	%r8d, %r8
	movl	16(%rsp,%r8,4), %ebx
	imull	%edi, %ebx
	movl	%ebx, %r8d
	sall	$2, %r8d
	cmpl	%r8d, %ecx
	jle	.L23
.L10:
	leal	2(%rsi), %r8d
	cmpl	%r8d, %eax
	jle	.L4
	movslq	%r8d, %r8
	movl	16(%rsp,%r8,4), %ebx
	imull	%edi, %ebx
	movl	%ebx, %r8d
	sall	$2, %r8d
	cmpl	%ecx, %r8d
	jl	.L11
	addl	$1, %edx
.L11:
	addl	$3, %esi
	cmpl	%esi, %eax
	jle	.L4
	movslq	%esi, %rsi
	movl	16(%rsp,%rsi,4), %eax
	imull	%edi, %eax
	sall	$2, %eax
	cmpl	%eax, %ecx
	jg	.L4
	addl	$1, %edx
.L4:
	cmpl	%edi, %edx
	jl	.L14
	leaq	.LC2(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
.L15:
	movq	4024(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L24
	addq	$4032, %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
.L14:
	.cfi_restore_state
	leaq	.LC3(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	jmp	.L15
.L23:
	addl	$1, %edx
	jmp	.L10
.L2:
	movl	12(%rsp), %edi
	xorl	%edx, %edx
	jmp	.L4
.L18:
	xorl	%esi, %esi
	xorl	%edx, %edx
	jmp	.L5
.L17:
	xorl	%edx, %edx
	jmp	.L4
.L24:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.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	"%d"
.LC2:
	.string	"Yes"
.LC3:
	.string	"No"
	.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
	leaq	.LC0(%rip), %rdi
	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
	subq	$4032, %rsp
	.cfi_def_cfa_offset 4080
	movq	%fs:40, %rax
	movq	%rax, 4024(%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
	xorl	%ebx, %ebx
	xorl	%r12d, %r12d
	leaq	16(%rsp), %r13
	leaq	.LC1(%rip), %r14
	.p2align 4,,10
	.p2align 3
.L3:
	leaq	0(%r13,%rbx,4), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	movq	%r13, %rbp
	call	__isoc99_scanf@PLT
	movl	0(%r13,%rbx,4), %ecx
	movl	8(%rsp), %eax
	addq	$1, %rbx
	addl	%r12d, %ecx
	movl	%ecx, %r12d
	cmpl	%ebx, %eax
	jg	.L3
	movl	12(%rsp), %edi
	testl	%eax, %eax
	jle	.L17
	leal	-1(%rax), %edx
	cmpl	$3, %edx
	jbe	.L18
	movl	%eax, %edx
	movd	%edi, %xmm7
	pxor	%xmm3, %xmm3
	shrl	$2, %edx
	pshufd	$0, %xmm7, %xmm4
	movd	%ecx, %xmm7
	movdqa	%xmm4, %xmm6
	pshufd	$0, %xmm7, %xmm2
	movdqa	%xmm3, %xmm5
	subl	$1, %edx
	salq	$4, %rdx
	psrlq	$32, %xmm6
	leaq	32(%rsp,%rdx), %rdx
	.p2align 4,,10
	.p2align 3
.L6:
	movdqa	0(%rbp), %xmm1
	movdqa	%xmm4, %xmm0
	pmuludq	0(%rbp), %xmm0
	pshufd	$8, %xmm0, %xmm0
	addq	$16, %rbp
	psrlq	$32, %xmm1
	pmuludq	%xmm6, %xmm1
	pshufd	$8, %xmm1, %xmm1
	punpckldq	%xmm1, %xmm0
	movdqa	%xmm2, %xmm1
	pslld	$2, %xmm0
	pcmpgtd	%xmm0, %xmm1
	pcmpeqd	%xmm5, %xmm1
	psubd	%xmm1, %xmm3
	cmpq	%rbp, %rdx
	jne	.L6
	movdqa	%xmm3, %xmm0
	movl	%eax, %esi
	psrldq	$8, %xmm0
	andl	$-4, %esi
	paddd	%xmm0, %xmm3
	movdqa	%xmm3, %xmm0
	psrldq	$4, %xmm0
	paddd	%xmm0, %xmm3
	movd	%xmm3, %edx
	testb	$3, %al
	je	.L4
.L5:
	movslq	%esi, %r8
	movl	16(%rsp,%r8,4), %ebx
	imull	%edi, %ebx
	movl	%ebx, %r8d
	sall	$2, %r8d
	cmpl	%ecx, %r8d
	setge	%r8b
	movzbl	%r8b, %r8d
	addl	%r8d, %edx
	leal	1(%rsi), %r8d
	cmpl	%r8d, %eax
	jle	.L4
	movslq	%r8d, %r8
	movl	16(%rsp,%r8,4), %ebx
	imull	%edi, %ebx
	movl	%ebx, %r8d
	sall	$2, %r8d
	cmpl	%r8d, %ecx
	jle	.L23
.L10:
	leal	2(%rsi), %r8d
	cmpl	%r8d, %eax
	jle	.L4
	movslq	%r8d, %r8
	movl	16(%rsp,%r8,4), %ebx
	imull	%edi, %ebx
	movl	%ebx, %r8d
	sall	$2, %r8d
	cmpl	%ecx, %r8d
	jl	.L11
	addl	$1, %edx
.L11:
	addl	$3, %esi
	cmpl	%esi, %eax
	jle	.L4
	movslq	%esi, %rsi
	movl	16(%rsp,%rsi,4), %eax
	imull	%edi, %eax
	sall	$2, %eax
	cmpl	%eax, %ecx
	jg	.L4
	addl	$1, %edx
.L4:
	cmpl	%edi, %edx
	jl	.L14
	leaq	.LC2(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
.L15:
	movq	4024(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L24
	addq	$4032, %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
.L14:
	.cfi_restore_state
	leaq	.LC3(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	jmp	.L15
.L23:
	addl	$1, %edx
	jmp	.L10
.L2:
	movl	12(%rsp), %edi
	xorl	%edx, %edx
	jmp	.L4
.L18:
	xorl	%esi, %esi
	xorl	%edx, %edx
	jmp	.L5
.L17:
	xorl	%edx, %edx
	jmp	.L4
.L24:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.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	"%d"
.LC2:
	.string	"Yes"
.LC3:
	.string	"No"
	.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
	leaq	.LC0(%rip), %rdi
	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
	subq	$4032, %rsp
	.cfi_def_cfa_offset 4080
	movq	%fs:40, %rax
	movq	%rax, 4024(%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
	xorl	%ebx, %ebx
	xorl	%r12d, %r12d
	leaq	16(%rsp), %r13
	leaq	.LC1(%rip), %r14
	.p2align 4,,10
	.p2align 3
.L3:
	leaq	0(%r13,%rbx,4), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	movq	%r13, %rbp
	call	__isoc99_scanf@PLT
	movl	0(%r13,%rbx,4), %ecx
	movl	8(%rsp), %eax
	addq	$1, %rbx
	addl	%r12d, %ecx
	movl	%ecx, %r12d
	cmpl	%ebx, %eax
	jg	.L3
	movl	12(%rsp), %edi
	testl	%eax, %eax
	jle	.L17
	leal	-1(%rax), %edx
	cmpl	$3, %edx
	jbe	.L18
	movl	%eax, %edx
	movd	%edi, %xmm7
	pxor	%xmm3, %xmm3
	shrl	$2, %edx
	pshufd	$0, %xmm7, %xmm4
	movd	%ecx, %xmm7
	movdqa	%xmm4, %xmm6
	pshufd	$0, %xmm7, %xmm2
	movdqa	%xmm3, %xmm5
	subl	$1, %edx
	salq	$4, %rdx
	psrlq	$32, %xmm6
	leaq	32(%rsp,%rdx), %rdx
	.p2align 4,,10
	.p2align 3
.L6:
	movdqa	0(%rbp), %xmm1
	movdqa	%xmm4, %xmm0
	pmuludq	0(%rbp), %xmm0
	pshufd	$8, %xmm0, %xmm0
	addq	$16, %rbp
	psrlq	$32, %xmm1
	pmuludq	%xmm6, %xmm1
	pshufd	$8, %xmm1, %xmm1
	punpckldq	%xmm1, %xmm0
	movdqa	%xmm2, %xmm1
	pslld	$2, %xmm0
	pcmpgtd	%xmm0, %xmm1
	pcmpeqd	%xmm5, %xmm1
	psubd	%xmm1, %xmm3
	cmpq	%rbp, %rdx
	jne	.L6
	movdqa	%xmm3, %xmm0
	movl	%eax, %esi
	psrldq	$8, %xmm0
	andl	$-4, %esi
	paddd	%xmm0, %xmm3
	movdqa	%xmm3, %xmm0
	psrldq	$4, %xmm0
	paddd	%xmm0, %xmm3
	movd	%xmm3, %edx
	testb	$3, %al
	je	.L4
.L5:
	movslq	%esi, %r8
	movl	16(%rsp,%r8,4), %ebx
	imull	%edi, %ebx
	movl	%ebx, %r8d
	sall	$2, %r8d
	cmpl	%ecx, %r8d
	setge	%r8b
	movzbl	%r8b, %r8d
	addl	%r8d, %edx
	leal	1(%rsi), %r8d
	cmpl	%r8d, %eax
	jle	.L4
	movslq	%r8d, %r8
	movl	16(%rsp,%r8,4), %ebx
	imull	%edi, %ebx
	movl	%ebx, %r8d
	sall	$2, %r8d
	cmpl	%r8d, %ecx
	jle	.L23
.L10:
	leal	2(%rsi), %r8d
	cmpl	%r8d, %eax
	jle	.L4
	movslq	%r8d, %r8
	movl	16(%rsp,%r8,4), %ebx
	imull	%edi, %ebx
	movl	%ebx, %r8d
	sall	$2, %r8d
	cmpl	%ecx, %r8d
	jl	.L11
	addl	$1, %edx
.L11:
	addl	$3, %esi
	cmpl	%esi, %eax
	jle	.L4
	movslq	%esi, %rsi
	movl	16(%rsp,%rsi,4), %eax
	imull	%edi, %eax
	sall	$2, %eax
	cmpl	%eax, %ecx
	jg	.L4
	addl	$1, %edx
.L4:
	cmpl	%edi, %edx
	jl	.L14
	leaq	.LC2(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
.L15:
	movq	4024(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L24
	addq	$4032, %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
.L14:
	.cfi_restore_state
	leaq	.LC3(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	jmp	.L15
.L23:
	addl	$1, %edx
	jmp	.L10
.L2:
	movl	12(%rsp), %edi
	xorl	%edx, %edx
	jmp	.L4
.L18:
	xorl	%esi, %esi
	xorl	%edx, %edx
	jmp	.L5
.L17:
	xorl	%edx, %edx
	jmp	.L4
.L24:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.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
#include<stdio.h>

int main(){
	int n,m,b=0;
	int a[1000];
   int t=0;

	scanf("%d %d",&n,&m);

	for(int i=0;i<n;i++){
		scanf("%d",&a[i]);
		t=t+a[i];
	}
	for(int i=0;i<n;i++){
		if(a[i]*4*m>=t){
         b++;
      }
   }

	if(b>=m){
      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(){
	int n,m,b=0;
	int a[1000];
   int t=0;

	scanf("%d %d",&n,&m);

	for(int i=0;i<n;i++){
		scanf("%d",&a[i]);
		t=t+a[i];
	}
	for(int i=0;i<n;i++){
		if(a[i]*4*m>=t){
         b++;
      }
   }

	if(b>=m){
      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:

4 1
5 4 0 1
 3 2
519 19 1
 12 3
4 56 78 901 2 345 67 890 123 45 3 789
 3 1
5 4 0 1
 3 2
39 19 1
 3 2
39 14 1
 3 2
39 18 1
 3 1
39 18 1
 3 1
39 16 1
 3 1
53 16 1

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

int main(){
	int n,m,b=0;
	int a[1000];
   int t=0;

	scanf("%d %d",&n,&m);

	for(int i=0;i<n;i++){
		scanf("%d",&a[i]);
		t=t+a[i];
	}
	for(int i=0;i<n;i++){
		if(a[i]*4*m>=t){
         b++;
      }
   }

	if(b>=m){
      printf("Yes");
   }else{
      printf("No");
   }
   
   return 0;
}
```

Assembly Code:

```assembly
	.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:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	leaq	.LC0(%rip), %rdi
	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
	subq	$4032, %rsp
	.cfi_def_cfa_offset 4080
	movq	%fs:40, %rax
	movq	%rax, 4024(%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
	xorl	%ebx, %ebx
	xorl	%r12d, %r12d
	leaq	16(%rsp), %r13
	leaq	.LC1(%rip), %r14
	.p2align 4,,10
	.p2align 3
.L3:
	leaq	0(%r13,%rbx,4), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	movq	%r13, %rbp
	call	__isoc99_scanf@PLT
	movl	0(%r13,%rbx,4), %ecx
	movl	8(%rsp), %eax
	addq	$1, %rbx
	addl	%r12d, %ecx
	movl	%ecx, %r12d
	cmpl	%ebx, %eax
	jg	.L3
	movl	12(%rsp), %edi
	testl	%eax, %eax
	jle	.L17
	leal	-1(%rax), %edx
	cmpl	$3, %edx
	jbe	.L18
	movl	%eax, %edx
	movd	%edi, %xmm7
	pxor	%xmm3, %xmm3
	shrl	$2, %edx
	pshufd	$0, %xmm7, %xmm4
	movd	%ecx, %xmm7
	movdqa	%xmm4, %xmm6
	pshufd	$0, %xmm7, %xmm2
	movdqa	%xmm3, %xmm5
	subl	$1, %edx
	salq	$4, %rdx
	psrlq	$32, %xmm6
	leaq	32(%rsp,%rdx), %rdx
	.p2align 4,,10
	.p2align 3
.L6:
	movdqa	0(%rbp), %xmm1
	movdqa	%xmm4, %xmm0
	pmuludq	0(%rbp), %xmm0
	pshufd	$8, %xmm0, %xmm0
	addq	$16, %rbp
	psrlq	$32, %xmm1
	pmuludq	%xmm6, %xmm1
	pshufd	$8, %xmm1, %xmm1
	punpckldq	%xmm1, %xmm0
	movdqa	%xmm2, %xmm1
	pslld	$2, %xmm0
	pcmpgtd	%xmm0, %xmm1
	pcmpeqd	%xmm5, %xmm1
	psubd	%xmm1, %xmm3
	cmpq	%rbp, %rdx
	jne	.L6
	movdqa	%xmm3, %xmm0
	movl	%eax, %esi
	psrldq	$8, %xmm0
	andl	$-4, %esi
	paddd	%xmm0, %xmm3
	movdqa	%xmm3, %xmm0
	psrldq	$4, %xmm0
	paddd	%xmm0, %xmm3
	movd	%xmm3, %edx
	testb	$3, %al
	je	.L4
.L5:
	movslq	%esi, %r8
	movl	16(%rsp,%r8,4), %ebx
	imull	%edi, %ebx
	movl	%ebx, %r8d
	sall	$2, %r8d
	cmpl	%ecx, %r8d
	setge	%r8b
	movzbl	%r8b, %r8d
	addl	%r8d, %edx
	leal	1(%rsi), %r8d
	cmpl	%r8d, %eax
	jle	.L4
	movslq	%r8d, %r8
	movl	16(%rsp,%r8,4), %ebx
	imull	%edi, %ebx
	movl	%ebx, %r8d
	sall	$2, %r8d
	cmpl	%r8d, %ecx
	jle	.L23
.L10:
	leal	2(%rsi), %r8d
	cmpl	%r8d, %eax
	jle	.L4
	movslq	%r8d, %r8
	movl	16(%rsp,%r8,4), %ebx
	imull	%edi, %ebx
	movl	%ebx, %r8d
	sall	$2, %r8d
	cmpl	%ecx, %r8d
	jl	.L11
	addl	$1, %edx
.L11:
	addl	$3, %esi
	cmpl	%esi, %eax
	jle	.L4
	movslq	%esi, %rsi
	movl	16(%rsp,%rsi,4), %eax
	imull	%edi, %eax
	sall	$2, %eax
	cmpl	%eax, %ecx
	jg	.L4
	addl	$1, %edx
.L4:
	cmpl	%edi, %edx
	jl	.L14
	leaq	.LC2(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
.L15:
	movq	4024(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L24
	addq	$4032, %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
.L14:
	.cfi_restore_state
	leaq	.LC3(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	jmp	.L15
.L23:
	addl	$1, %edx
	jmp	.L10
.L2:
	movl	12(%rsp), %edi
	xorl	%edx, %edx
	jmp	.L4
.L18:
	xorl	%esi, %esi
	xorl	%edx, %edx
	jmp	.L5
.L17:
	xorl	%edx, %edx
	jmp	.L4
.L24:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.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	"%d"
.LC2:
	.string	"Yes"
.LC3:
	.string	"No"
	.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
	leaq	.LC0(%rip), %rdi
	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
	subq	$4032, %rsp
	.cfi_def_cfa_offset 4080
	movq	%fs:40, %rax
	movq	%rax, 4024(%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
	xorl	%ebx, %ebx
	xorl	%r12d, %r12d
	leaq	16(%rsp), %r13
	leaq	.LC1(%rip), %r14
	.p2align 4,,10
	.p2align 3
.L3:
	leaq	0(%r13,%rbx,4), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	movq	%r13, %rbp
	call	__isoc99_scanf@PLT
	movl	0(%r13,%rbx,4), %ecx
	movl	8(%rsp), %eax
	addq	$1, %rbx
	addl	%r12d, %ecx
	movl	%ecx, %r12d
	cmpl	%ebx, %eax
	jg	.L3
	movl	12(%rsp), %edi
	testl	%eax, %eax
	jle	.L17
	leal	-1(%rax), %edx
	cmpl	$3, %edx
	jbe	.L18
	movl	%eax, %edx
	movd	%edi, %xmm7
	pxor	%xmm3, %xmm3
	shrl	$2, %edx
	pshufd	$0, %xmm7, %xmm4
	movd	%ecx, %xmm7
	movdqa	%xmm4, %xmm6
	pshufd	$0, %xmm7, %xmm2
	movdqa	%xmm3, %xmm5
	subl	$1, %edx
	salq	$4, %rdx
	psrlq	$32, %xmm6
	leaq	32(%rsp,%rdx), %rdx
	.p2align 4,,10
	.p2align 3
.L6:
	movdqa	0(%rbp), %xmm1
	movdqa	%xmm4, %xmm0
	pmuludq	0(%rbp), %xmm0
	pshufd	$8, %xmm0, %xmm0
	addq	$16, %rbp
	psrlq	$32, %xmm1
	pmuludq	%xmm6, %xmm1
	pshufd	$8, %xmm1, %xmm1
	punpckldq	%xmm1, %xmm0
	movdqa	%xmm2, %xmm1
	pslld	$2, %xmm0
	pcmpgtd	%xmm0, %xmm1
	pcmpeqd	%xmm5, %xmm1
	psubd	%xmm1, %xmm3
	cmpq	%rbp, %rdx
	jne	.L6
	movdqa	%xmm3, %xmm0
	movl	%eax, %esi
	psrldq	$8, %xmm0
	andl	$-4, %esi
	paddd	%xmm0, %xmm3
	movdqa	%xmm3, %xmm0
	psrldq	$4, %xmm0
	paddd	%xmm0, %xmm3
	movd	%xmm3, %edx
	testb	$3, %al
	je	.L4
.L5:
	movslq	%esi, %r8
	movl	16(%rsp,%r8,4), %ebx
	imull	%edi, %ebx
	movl	%ebx, %r8d
	sall	$2, %r8d
	cmpl	%ecx, %r8d
	setge	%r8b
	movzbl	%r8b, %r8d
	addl	%r8d, %edx
	leal	1(%rsi), %r8d
	cmpl	%r8d, %eax
	jle	.L4
	movslq	%r8d, %r8
	movl	16(%rsp,%r8,4), %ebx
	imull	%edi, %ebx
	movl	%ebx, %r8d
	sall	$2, %r8d
	cmpl	%r8d, %ecx
	jle	.L23
.L10:
	leal	2(%rsi), %r8d
	cmpl	%r8d, %eax
	jle	.L4
	movslq	%r8d, %r8
	movl	16(%rsp,%r8,4), %ebx
	imull	%edi, %ebx
	movl	%ebx, %r8d
	sall	$2, %r8d
	cmpl	%ecx, %r8d
	jl	.L11
	addl	$1, %edx
.L11:
	addl	$3, %esi
	cmpl	%esi, %eax
	jle	.L4
	movslq	%esi, %rsi
	movl	16(%rsp,%rsi,4), %eax
	imull	%edi, %eax
	sall	$2, %eax
	cmpl	%eax, %ecx
	jg	.L4
	addl	$1, %edx
.L4:
	cmpl	%edi, %edx
	jl	.L14
	leaq	.LC2(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
.L15:
	movq	4024(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L24
	addq	$4032, %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
.L14:
	.cfi_restore_state
	leaq	.LC3(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	jmp	.L15
.L23:
	addl	$1, %edx
	jmp	.L10
.L2:
	movl	12(%rsp), %edi
	xorl	%edx, %edx
	jmp	.L4
.L18:
	xorl	%esi, %esi
	xorl	%edx, %edx
	jmp	.L5
.L17:
	xorl	%edx, %edx
	jmp	.L4
.L24:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.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:
```