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>
#include<math.h>

int main(void)
{
    int n, m, i, count=0;
    float t=0.0;

    scanf("%d %d", &n, &m);
    int A[n];
    
    for(i=0; i<n; i++) {
        scanf("%d", &A[i]);
        t += A[i];
    }

    t /= 4*m;

    for(i=0; i<n; i++) {
        if(A[i] >= t) {
            count++;
        }
    }

    if(count >= m) {
        printf("Yes\n"); 
    } else {
        printf("No\n");
    }

    return 0;
}
```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC1:
	.string	"%d %d"
.LC2:
	.string	"%d"
.LC3:
	.string	"Yes"
.LC4:
	.string	"No"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	leaq	.LC1(%rip), %rdi
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	pushq	%r15
	pushq	%r14
	leaq	-60(%rbp), %rdx
	leaq	-64(%rbp), %rsi
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	movq	%fs:40, %rax
	movq	%rax, -56(%rbp)
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movslq	-64(%rbp), %rax
	movq	%rsp, %rsi
	movq	%rax, %rcx
	leaq	15(,%rax,4), %rax
	movq	%rax, %rdx
	andq	$-4096, %rax
	subq	%rax, %rsi
	andq	$-16, %rdx
	cmpq	%rsi, %rsp
	je	.L3
.L33:
	subq	$4096, %rsp
	orq	$0, 4088(%rsp)
	cmpq	%rsi, %rsp
	jne	.L33
.L3:
	andl	$4095, %edx
	subq	%rdx, %rsp
	testq	%rdx, %rdx
	jne	.L34
.L4:
	movq	%rsp, %r13
	testl	%ecx, %ecx
	jle	.L5
	movq	%r13, %r15
	movq	%r13, %rbx
	pxor	%xmm0, %xmm0
	xorl	%r12d, %r12d
	leaq	.LC2(%rip), %r14
	.p2align 4,,10
	.p2align 3
.L6:
	movq	%rbx, %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	movss	%xmm0, -68(%rbp)
	call	__isoc99_scanf@PLT
	pxor	%xmm1, %xmm1
	movl	-64(%rbp), %edx
	addl	$1, %r12d
	cvtsi2ssl	(%rbx), %xmm1
	movss	-68(%rbp), %xmm0
	addq	$4, %rbx
	addss	%xmm1, %xmm0
	cmpl	%r12d, %edx
	jg	.L6
	movl	-60(%rbp), %esi
	pxor	%xmm2, %xmm2
	movaps	%xmm0, %xmm1
	leal	0(,%rsi,4), %eax
	cvtsi2ssl	%eax, %xmm2
	divss	%xmm2, %xmm1
	testl	%edx, %edx
	jle	.L21
	leal	-1(%rdx), %eax
	cmpl	$2, %eax
	jbe	.L22
	movl	%edx, %eax
	movaps	%xmm1, %xmm4
	pxor	%xmm0, %xmm0
	shrl	$2, %eax
	shufps	$0, %xmm4, %xmm4
	salq	$4, %rax
	addq	%r13, %rax
	.p2align 4,,10
	.p2align 3
.L9:
	movdqu	(%r15), %xmm5
	movaps	%xmm4, %xmm3
	addq	$16, %r15
	cvtdq2ps	%xmm5, %xmm2
	cmpleps	%xmm2, %xmm3
	psubd	%xmm3, %xmm0
	cmpq	%r15, %rax
	jne	.L9
	movdqa	%xmm0, %xmm2
	movl	%edx, %ecx
	psrldq	$8, %xmm2
	andl	$-4, %ecx
	paddd	%xmm2, %xmm0
	movdqa	%xmm0, %xmm2
	psrldq	$4, %xmm2
	paddd	%xmm2, %xmm0
	movd	%xmm0, %eax
	testb	$3, %dl
	je	.L7
.L8:
	movslq	%ecx, %rdi
	pxor	%xmm0, %xmm0
	leal	1(%rcx), %r8d
	leaq	0(%r13,%rdi,4), %rdi
	cvtsi2ssl	(%rdi), %xmm0
	comiss	%xmm1, %xmm0
	sbbl	$-1, %eax
	cmpl	%r8d, %edx
	jle	.L7
	pxor	%xmm0, %xmm0
	cvtsi2ssl	4(%rdi), %xmm0
	comiss	%xmm1, %xmm0
	sbbl	$-1, %eax
	addl	$2, %ecx
	cmpl	%ecx, %edx
	jle	.L7
	pxor	%xmm0, %xmm0
	cvtsi2ssl	8(%rdi), %xmm0
	comiss	%xmm1, %xmm0
	sbbl	$-1, %eax
.L7:
	cmpl	%eax, %esi
	jg	.L18
	leaq	.LC3(%rip), %rdi
	call	puts@PLT
.L19:
	movq	-56(%rbp), %rax
	subq	%fs:40, %rax
	jne	.L35
	leaq	-40(%rbp), %rsp
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	.cfi_remember_state
	.cfi_def_cfa 7, 8
	ret
.L18:
	.cfi_restore_state
	leaq	.LC4(%rip), %rdi
	call	puts@PLT
	jmp	.L19
.L34:
	orq	$0, -8(%rsp,%rdx)
	jmp	.L4
.L5:
	movl	-60(%rbp), %esi
	xorl	%eax, %eax
	jmp	.L7
.L22:
	xorl	%eax, %eax
	xorl	%ecx, %ecx
	jmp	.L8
.L21:
	xorl	%eax, %eax
	jmp	.L7
.L35:
	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
.LC1:
	.string	"%d %d"
.LC2:
	.string	"%d"
.LC3:
	.string	"Yes"
.LC4:
	.string	"No"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	leaq	.LC1(%rip), %rdi
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	pushq	%r15
	pushq	%r14
	leaq	-60(%rbp), %rdx
	leaq	-64(%rbp), %rsi
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	movq	%fs:40, %rax
	movq	%rax, -56(%rbp)
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movslq	-64(%rbp), %rax
	movq	%rsp, %rsi
	movq	%rax, %rcx
	leaq	15(,%rax,4), %rax
	movq	%rax, %rdx
	andq	$-4096, %rax
	subq	%rax, %rsi
	andq	$-16, %rdx
	cmpq	%rsi, %rsp
	je	.L3
.L33:
	subq	$4096, %rsp
	orq	$0, 4088(%rsp)
	cmpq	%rsi, %rsp
	jne	.L33
.L3:
	andl	$4095, %edx
	subq	%rdx, %rsp
	testq	%rdx, %rdx
	jne	.L34
.L4:
	movq	%rsp, %r13
	testl	%ecx, %ecx
	jle	.L5
	movq	%r13, %r15
	movq	%r13, %rbx
	pxor	%xmm0, %xmm0
	xorl	%r12d, %r12d
	leaq	.LC2(%rip), %r14
	.p2align 4,,10
	.p2align 3
.L6:
	movq	%rbx, %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	movss	%xmm0, -68(%rbp)
	call	__isoc99_scanf@PLT
	pxor	%xmm1, %xmm1
	movl	-64(%rbp), %edx
	addl	$1, %r12d
	cvtsi2ssl	(%rbx), %xmm1
	movss	-68(%rbp), %xmm0
	addq	$4, %rbx
	addss	%xmm1, %xmm0
	cmpl	%r12d, %edx
	jg	.L6
	movl	-60(%rbp), %esi
	pxor	%xmm2, %xmm2
	movaps	%xmm0, %xmm1
	leal	0(,%rsi,4), %eax
	cvtsi2ssl	%eax, %xmm2
	divss	%xmm2, %xmm1
	testl	%edx, %edx
	jle	.L21
	leal	-1(%rdx), %eax
	cmpl	$2, %eax
	jbe	.L22
	movl	%edx, %eax
	movaps	%xmm1, %xmm4
	pxor	%xmm0, %xmm0
	shrl	$2, %eax
	shufps	$0, %xmm4, %xmm4
	salq	$4, %rax
	addq	%r13, %rax
	.p2align 4,,10
	.p2align 3
.L9:
	movdqu	(%r15), %xmm5
	movaps	%xmm4, %xmm3
	addq	$16, %r15
	cvtdq2ps	%xmm5, %xmm2
	cmpleps	%xmm2, %xmm3
	psubd	%xmm3, %xmm0
	cmpq	%r15, %rax
	jne	.L9
	movdqa	%xmm0, %xmm2
	movl	%edx, %ecx
	psrldq	$8, %xmm2
	andl	$-4, %ecx
	paddd	%xmm2, %xmm0
	movdqa	%xmm0, %xmm2
	psrldq	$4, %xmm2
	paddd	%xmm2, %xmm0
	movd	%xmm0, %eax
	testb	$3, %dl
	je	.L7
.L8:
	movslq	%ecx, %rdi
	pxor	%xmm0, %xmm0
	leal	1(%rcx), %r8d
	leaq	0(%r13,%rdi,4), %rdi
	cvtsi2ssl	(%rdi), %xmm0
	comiss	%xmm1, %xmm0
	sbbl	$-1, %eax
	cmpl	%r8d, %edx
	jle	.L7
	pxor	%xmm0, %xmm0
	cvtsi2ssl	4(%rdi), %xmm0
	comiss	%xmm1, %xmm0
	sbbl	$-1, %eax
	addl	$2, %ecx
	cmpl	%ecx, %edx
	jle	.L7
	pxor	%xmm0, %xmm0
	cvtsi2ssl	8(%rdi), %xmm0
	comiss	%xmm1, %xmm0
	sbbl	$-1, %eax
.L7:
	cmpl	%eax, %esi
	jg	.L18
	leaq	.LC3(%rip), %rdi
	call	puts@PLT
.L19:
	movq	-56(%rbp), %rax
	subq	%fs:40, %rax
	jne	.L35
	leaq	-40(%rbp), %rsp
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	.cfi_remember_state
	.cfi_def_cfa 7, 8
	ret
.L18:
	.cfi_restore_state
	leaq	.LC4(%rip), %rdi
	call	puts@PLT
	jmp	.L19
.L34:
	orq	$0, -8(%rsp,%rdx)
	jmp	.L4
.L5:
	movl	-60(%rbp), %esi
	xorl	%eax, %eax
	jmp	.L7
.L22:
	xorl	%eax, %eax
	xorl	%ecx, %ecx
	jmp	.L8
.L21:
	xorl	%eax, %eax
	jmp	.L7
.L35:
	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
.LC1:
	.string	"%d %d"
.LC2:
	.string	"%d"
.LC3:
	.string	"Yes"
.LC4:
	.string	"No"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	leaq	.LC1(%rip), %rdi
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	pushq	%r15
	pushq	%r14
	leaq	-60(%rbp), %rdx
	leaq	-64(%rbp), %rsi
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	movq	%fs:40, %rax
	movq	%rax, -56(%rbp)
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movslq	-64(%rbp), %rax
	movq	%rsp, %rsi
	movq	%rax, %rcx
	leaq	15(,%rax,4), %rax
	movq	%rax, %rdx
	andq	$-4096, %rax
	subq	%rax, %rsi
	andq	$-16, %rdx
	cmpq	%rsi, %rsp
	je	.L3
.L33:
	subq	$4096, %rsp
	orq	$0, 4088(%rsp)
	cmpq	%rsi, %rsp
	jne	.L33
.L3:
	andl	$4095, %edx
	subq	%rdx, %rsp
	testq	%rdx, %rdx
	jne	.L34
.L4:
	movq	%rsp, %r13
	testl	%ecx, %ecx
	jle	.L5
	movq	%r13, %r15
	movq	%r13, %rbx
	pxor	%xmm0, %xmm0
	xorl	%r12d, %r12d
	leaq	.LC2(%rip), %r14
	.p2align 4,,10
	.p2align 3
.L6:
	movq	%rbx, %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	movss	%xmm0, -68(%rbp)
	call	__isoc99_scanf@PLT
	pxor	%xmm1, %xmm1
	movl	-64(%rbp), %edx
	addl	$1, %r12d
	cvtsi2ssl	(%rbx), %xmm1
	movss	-68(%rbp), %xmm0
	addq	$4, %rbx
	addss	%xmm1, %xmm0
	cmpl	%r12d, %edx
	jg	.L6
	movl	-60(%rbp), %esi
	pxor	%xmm2, %xmm2
	movaps	%xmm0, %xmm1
	leal	0(,%rsi,4), %eax
	cvtsi2ssl	%eax, %xmm2
	divss	%xmm2, %xmm1
	testl	%edx, %edx
	jle	.L21
	leal	-1(%rdx), %eax
	cmpl	$2, %eax
	jbe	.L22
	movl	%edx, %eax
	movaps	%xmm1, %xmm4
	pxor	%xmm0, %xmm0
	shrl	$2, %eax
	shufps	$0, %xmm4, %xmm4
	salq	$4, %rax
	addq	%r13, %rax
	.p2align 4,,10
	.p2align 3
.L9:
	movdqu	(%r15), %xmm5
	movaps	%xmm4, %xmm3
	addq	$16, %r15
	cvtdq2ps	%xmm5, %xmm2
	cmpleps	%xmm2, %xmm3
	psubd	%xmm3, %xmm0
	cmpq	%r15, %rax
	jne	.L9
	movdqa	%xmm0, %xmm2
	movl	%edx, %ecx
	psrldq	$8, %xmm2
	andl	$-4, %ecx
	paddd	%xmm2, %xmm0
	movdqa	%xmm0, %xmm2
	psrldq	$4, %xmm2
	paddd	%xmm2, %xmm0
	movd	%xmm0, %eax
	testb	$3, %dl
	je	.L7
.L8:
	movslq	%ecx, %rdi
	pxor	%xmm0, %xmm0
	leal	1(%rcx), %r8d
	leaq	0(%r13,%rdi,4), %rdi
	cvtsi2ssl	(%rdi), %xmm0
	comiss	%xmm1, %xmm0
	sbbl	$-1, %eax
	cmpl	%r8d, %edx
	jle	.L7
	pxor	%xmm0, %xmm0
	cvtsi2ssl	4(%rdi), %xmm0
	comiss	%xmm1, %xmm0
	sbbl	$-1, %eax
	addl	$2, %ecx
	cmpl	%ecx, %edx
	jle	.L7
	pxor	%xmm0, %xmm0
	cvtsi2ssl	8(%rdi), %xmm0
	comiss	%xmm1, %xmm0
	sbbl	$-1, %eax
.L7:
	cmpl	%eax, %esi
	jg	.L18
	leaq	.LC3(%rip), %rdi
	call	puts@PLT
.L19:
	movq	-56(%rbp), %rax
	subq	%fs:40, %rax
	jne	.L35
	leaq	-40(%rbp), %rsp
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	.cfi_remember_state
	.cfi_def_cfa 7, 8
	ret
.L18:
	.cfi_restore_state
	leaq	.LC4(%rip), %rdi
	call	puts@PLT
	jmp	.L19
.L34:
	orq	$0, -8(%rsp,%rdx)
	jmp	.L4
.L5:
	movl	-60(%rbp), %esi
	xorl	%eax, %eax
	jmp	.L7
.L22:
	xorl	%eax, %eax
	xorl	%ecx, %ecx
	jmp	.L8
.L21:
	xorl	%eax, %eax
	jmp	.L7
.L35:
	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>
#include<math.h>

int main(void)
{
    int n, m, i, count=0;
    float t=0.0;

    scanf("%d %d", &n, &m);
    int A[n];
    
    for(i=0; i<n; i++) {
        scanf("%d", &A[i]);
        t += A[i];
    }

    t /= 4*m;

    for(i=0; i<n; i++) {
        if(A[i] >= t) {
            count++;
        }
    }

    if(count >= m) {
        printf("Yes\n"); 
    } else {
        printf("No\n");
    }

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

```c
#include<stdio.h>
#include<math.h>

int main(void)
{
    int n, m, i, count=0;
    float t=0.0;

    scanf("%d %d", &n, &m);
    int A[n];
    
    for(i=0; i<n; i++) {
        scanf("%d", &A[i]);
        t += A[i];
    }

    t /= 4*m;

    for(i=0; i<n; i++) {
        if(A[i] >= t) {
            count++;
        }
    }

    if(count >= m) {
        printf("Yes\n"); 
    } else {
        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:

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>
#include<math.h>

int main(void)
{
    int n, m, i, count=0;
    float t=0.0;

    scanf("%d %d", &n, &m);
    int A[n];
    
    for(i=0; i<n; i++) {
        scanf("%d", &A[i]);
        t += A[i];
    }

    t /= 4*m;

    for(i=0; i<n; i++) {
        if(A[i] >= t) {
            count++;
        }
    }

    if(count >= m) {
        printf("Yes\n"); 
    } else {
        printf("No\n");
    }

    return 0;
}
```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC1:
	.string	"%d %d"
.LC2:
	.string	"%d"
.LC3:
	.string	"Yes"
.LC4:
	.string	"No"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	leaq	.LC1(%rip), %rdi
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	pushq	%r15
	pushq	%r14
	leaq	-60(%rbp), %rdx
	leaq	-64(%rbp), %rsi
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	movq	%fs:40, %rax
	movq	%rax, -56(%rbp)
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movslq	-64(%rbp), %rax
	movq	%rsp, %rsi
	movq	%rax, %rcx
	leaq	15(,%rax,4), %rax
	movq	%rax, %rdx
	andq	$-4096, %rax
	subq	%rax, %rsi
	andq	$-16, %rdx
	cmpq	%rsi, %rsp
	je	.L3
.L33:
	subq	$4096, %rsp
	orq	$0, 4088(%rsp)
	cmpq	%rsi, %rsp
	jne	.L33
.L3:
	andl	$4095, %edx
	subq	%rdx, %rsp
	testq	%rdx, %rdx
	jne	.L34
.L4:
	movq	%rsp, %r13
	testl	%ecx, %ecx
	jle	.L5
	movq	%r13, %r15
	movq	%r13, %rbx
	pxor	%xmm0, %xmm0
	xorl	%r12d, %r12d
	leaq	.LC2(%rip), %r14
	.p2align 4,,10
	.p2align 3
.L6:
	movq	%rbx, %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	movss	%xmm0, -68(%rbp)
	call	__isoc99_scanf@PLT
	pxor	%xmm1, %xmm1
	movl	-64(%rbp), %edx
	addl	$1, %r12d
	cvtsi2ssl	(%rbx), %xmm1
	movss	-68(%rbp), %xmm0
	addq	$4, %rbx
	addss	%xmm1, %xmm0
	cmpl	%r12d, %edx
	jg	.L6
	movl	-60(%rbp), %esi
	pxor	%xmm2, %xmm2
	movaps	%xmm0, %xmm1
	leal	0(,%rsi,4), %eax
	cvtsi2ssl	%eax, %xmm2
	divss	%xmm2, %xmm1
	testl	%edx, %edx
	jle	.L21
	leal	-1(%rdx), %eax
	cmpl	$2, %eax
	jbe	.L22
	movl	%edx, %eax
	movaps	%xmm1, %xmm4
	pxor	%xmm0, %xmm0
	shrl	$2, %eax
	shufps	$0, %xmm4, %xmm4
	salq	$4, %rax
	addq	%r13, %rax
	.p2align 4,,10
	.p2align 3
.L9:
	movdqu	(%r15), %xmm5
	movaps	%xmm4, %xmm3
	addq	$16, %r15
	cvtdq2ps	%xmm5, %xmm2
	cmpleps	%xmm2, %xmm3
	psubd	%xmm3, %xmm0
	cmpq	%r15, %rax
	jne	.L9
	movdqa	%xmm0, %xmm2
	movl	%edx, %ecx
	psrldq	$8, %xmm2
	andl	$-4, %ecx
	paddd	%xmm2, %xmm0
	movdqa	%xmm0, %xmm2
	psrldq	$4, %xmm2
	paddd	%xmm2, %xmm0
	movd	%xmm0, %eax
	testb	$3, %dl
	je	.L7
.L8:
	movslq	%ecx, %rdi
	pxor	%xmm0, %xmm0
	leal	1(%rcx), %r8d
	leaq	0(%r13,%rdi,4), %rdi
	cvtsi2ssl	(%rdi), %xmm0
	comiss	%xmm1, %xmm0
	sbbl	$-1, %eax
	cmpl	%r8d, %edx
	jle	.L7
	pxor	%xmm0, %xmm0
	cvtsi2ssl	4(%rdi), %xmm0
	comiss	%xmm1, %xmm0
	sbbl	$-1, %eax
	addl	$2, %ecx
	cmpl	%ecx, %edx
	jle	.L7
	pxor	%xmm0, %xmm0
	cvtsi2ssl	8(%rdi), %xmm0
	comiss	%xmm1, %xmm0
	sbbl	$-1, %eax
.L7:
	cmpl	%eax, %esi
	jg	.L18
	leaq	.LC3(%rip), %rdi
	call	puts@PLT
.L19:
	movq	-56(%rbp), %rax
	subq	%fs:40, %rax
	jne	.L35
	leaq	-40(%rbp), %rsp
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	.cfi_remember_state
	.cfi_def_cfa 7, 8
	ret
.L18:
	.cfi_restore_state
	leaq	.LC4(%rip), %rdi
	call	puts@PLT
	jmp	.L19
.L34:
	orq	$0, -8(%rsp,%rdx)
	jmp	.L4
.L5:
	movl	-60(%rbp), %esi
	xorl	%eax, %eax
	jmp	.L7
.L22:
	xorl	%eax, %eax
	xorl	%ecx, %ecx
	jmp	.L8
.L21:
	xorl	%eax, %eax
	jmp	.L7
.L35:
	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
.LC1:
	.string	"%d %d"
.LC2:
	.string	"%d"
.LC3:
	.string	"Yes"
.LC4:
	.string	"No"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	leaq	.LC1(%rip), %rdi
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	pushq	%r15
	pushq	%r14
	leaq	-60(%rbp), %rdx
	leaq	-64(%rbp), %rsi
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	movq	%fs:40, %rax
	movq	%rax, -56(%rbp)
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movslq	-64(%rbp), %rax
	movq	%rsp, %rsi
	movq	%rax, %rcx
	leaq	15(,%rax,4), %rax
	movq	%rax, %rdx
	andq	$-4096, %rax
	subq	%rax, %rsi
	andq	$-16, %rdx
	cmpq	%rsi, %rsp
	je	.L3
.L33:
	subq	$4096, %rsp
	orq	$0, 4088(%rsp)
	cmpq	%rsi, %rsp
	jne	.L33
.L3:
	andl	$4095, %edx
	subq	%rdx, %rsp
	testq	%rdx, %rdx
	jne	.L34
.L4:
	movq	%rsp, %r13
	testl	%ecx, %ecx
	jle	.L5
	movq	%r13, %r15
	movq	%r13, %rbx
	pxor	%xmm0, %xmm0
	xorl	%r12d, %r12d
	leaq	.LC2(%rip), %r14
	.p2align 4,,10
	.p2align 3
.L6:
	movq	%rbx, %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	movss	%xmm0, -68(%rbp)
	call	__isoc99_scanf@PLT
	pxor	%xmm1, %xmm1
	movl	-64(%rbp), %edx
	addl	$1, %r12d
	cvtsi2ssl	(%rbx), %xmm1
	movss	-68(%rbp), %xmm0
	addq	$4, %rbx
	addss	%xmm1, %xmm0
	cmpl	%r12d, %edx
	jg	.L6
	movl	-60(%rbp), %esi
	pxor	%xmm2, %xmm2
	movaps	%xmm0, %xmm1
	leal	0(,%rsi,4), %eax
	cvtsi2ssl	%eax, %xmm2
	divss	%xmm2, %xmm1
	testl	%edx, %edx
	jle	.L21
	leal	-1(%rdx), %eax
	cmpl	$2, %eax
	jbe	.L22
	movl	%edx, %eax
	movaps	%xmm1, %xmm4
	pxor	%xmm0, %xmm0
	shrl	$2, %eax
	shufps	$0, %xmm4, %xmm4
	salq	$4, %rax
	addq	%r13, %rax
	.p2align 4,,10
	.p2align 3
.L9:
	movdqu	(%r15), %xmm5
	movaps	%xmm4, %xmm3
	addq	$16, %r15
	cvtdq2ps	%xmm5, %xmm2
	cmpleps	%xmm2, %xmm3
	psubd	%xmm3, %xmm0
	cmpq	%r15, %rax
	jne	.L9
	movdqa	%xmm0, %xmm2
	movl	%edx, %ecx
	psrldq	$8, %xmm2
	andl	$-4, %ecx
	paddd	%xmm2, %xmm0
	movdqa	%xmm0, %xmm2
	psrldq	$4, %xmm2
	paddd	%xmm2, %xmm0
	movd	%xmm0, %eax
	testb	$3, %dl
	je	.L7
.L8:
	movslq	%ecx, %rdi
	pxor	%xmm0, %xmm0
	leal	1(%rcx), %r8d
	leaq	0(%r13,%rdi,4), %rdi
	cvtsi2ssl	(%rdi), %xmm0
	comiss	%xmm1, %xmm0
	sbbl	$-1, %eax
	cmpl	%r8d, %edx
	jle	.L7
	pxor	%xmm0, %xmm0
	cvtsi2ssl	4(%rdi), %xmm0
	comiss	%xmm1, %xmm0
	sbbl	$-1, %eax
	addl	$2, %ecx
	cmpl	%ecx, %edx
	jle	.L7
	pxor	%xmm0, %xmm0
	cvtsi2ssl	8(%rdi), %xmm0
	comiss	%xmm1, %xmm0
	sbbl	$-1, %eax
.L7:
	cmpl	%eax, %esi
	jg	.L18
	leaq	.LC3(%rip), %rdi
	call	puts@PLT
.L19:
	movq	-56(%rbp), %rax
	subq	%fs:40, %rax
	jne	.L35
	leaq	-40(%rbp), %rsp
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	.cfi_remember_state
	.cfi_def_cfa 7, 8
	ret
.L18:
	.cfi_restore_state
	leaq	.LC4(%rip), %rdi
	call	puts@PLT
	jmp	.L19
.L34:
	orq	$0, -8(%rsp,%rdx)
	jmp	.L4
.L5:
	movl	-60(%rbp), %esi
	xorl	%eax, %eax
	jmp	.L7
.L22:
	xorl	%eax, %eax
	xorl	%ecx, %ecx
	jmp	.L8
.L21:
	xorl	%eax, %eax
	jmp	.L7
.L35:
	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:
```