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<string.h>
int main(void)
{
  char s[20];
  scanf("%s",s);
  int len=strlen(s);
  int count=0;
  for(int i=0;i<len;i++){
    if(s[i]=='x')count++;
  }

  if(count<=7){
    puts("YES");
  }else{
    puts("NO");
  }
  return 0;
}
```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%s"
.LC3:
	.string	"YES"
.LC4:
	.string	"NO"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB35:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	leaq	.LC0(%rip), %rdi
	subq	$32, %rsp
	.cfi_def_cfa_offset 48
	movq	%fs:40, %rax
	movq	%rax, 24(%rsp)
	xorl	%eax, %eax
	movq	%rsp, %rbp
	movq	%rbp, %rsi
	call	__isoc99_scanf@PLT
	movq	%rbp, %rdi
	call	strlen@PLT
	testq	%rax, %rax
	je	.L2
	movq	%rax, %rdx
	leal	-1(%rax), %eax
	cmpl	$14, %eax
	jbe	.L24
	movdqa	(%rsp), %xmm1
	pxor	%xmm2, %xmm2
	pcmpeqb	.LC1(%rip), %xmm1
	pand	.LC2(%rip), %xmm1
	pcmpgtb	%xmm1, %xmm2
	movdqa	%xmm1, %xmm0
	punpcklbw	%xmm2, %xmm0
	punpckhbw	%xmm2, %xmm1
	pxor	%xmm2, %xmm2
	movdqa	%xmm2, %xmm3
	pcmpgtw	%xmm1, %xmm2
	movdqa	%xmm0, %xmm4
	pcmpgtw	%xmm0, %xmm3
	punpcklwd	%xmm3, %xmm4
	punpckhwd	%xmm3, %xmm0
	movdqa	%xmm1, %xmm3
	paddd	%xmm4, %xmm0
	punpcklwd	%xmm2, %xmm3
	punpckhwd	%xmm2, %xmm1
	paddd	%xmm3, %xmm0
	paddd	%xmm1, %xmm0
	movdqa	%xmm0, %xmm1
	psrldq	$8, %xmm1
	paddd	%xmm1, %xmm0
	movdqa	%xmm0, %xmm1
	psrldq	$4, %xmm1
	paddd	%xmm1, %xmm0
	movd	%xmm0, %eax
	cmpl	$16, %edx
	je	.L4
	movl	$16, %ecx
.L3:
	movslq	%ecx, %rsi
	cmpb	$120, (%rsp,%rsi)
	jne	.L5
	addl	$1, %eax
.L5:
	leal	1(%rcx), %esi
	cmpl	%edx, %esi
	jge	.L4
	movslq	%esi, %rsi
	cmpb	$120, (%rsp,%rsi)
	je	.L30
.L6:
	leal	2(%rcx), %esi
	cmpl	%esi, %edx
	jle	.L4
	movslq	%esi, %rsi
	cmpb	$120, (%rsp,%rsi)
	je	.L31
.L7:
	leal	3(%rcx), %esi
	cmpl	%esi, %edx
	jle	.L4
	movslq	%esi, %rsi
	cmpb	$120, (%rsp,%rsi)
	je	.L32
.L8:
	leal	4(%rcx), %esi
	cmpl	%esi, %edx
	jle	.L4
	movslq	%esi, %rsi
	cmpb	$120, (%rsp,%rsi)
	je	.L33
.L9:
	leal	5(%rcx), %esi
	cmpl	%esi, %edx
	jle	.L4
	movslq	%esi, %rsi
	cmpb	$120, (%rsp,%rsi)
	jne	.L10
	addl	$1, %eax
.L10:
	leal	6(%rcx), %esi
	cmpl	%esi, %edx
	jle	.L4
	movslq	%esi, %rsi
	cmpb	$120, (%rsp,%rsi)
	jne	.L11
	addl	$1, %eax
.L11:
	leal	7(%rcx), %esi
	cmpl	%esi, %edx
	jle	.L4
	movslq	%esi, %rsi
	cmpb	$120, (%rsp,%rsi)
	jne	.L12
	addl	$1, %eax
.L12:
	leal	8(%rcx), %esi
	cmpl	%esi, %edx
	jle	.L4
	movslq	%esi, %rsi
	cmpb	$120, (%rsp,%rsi)
	jne	.L13
	addl	$1, %eax
.L13:
	leal	9(%rcx), %esi
	cmpl	%esi, %edx
	jle	.L4
	movslq	%esi, %rsi
	cmpb	$120, (%rsp,%rsi)
	je	.L34
.L14:
	leal	10(%rcx), %esi
	cmpl	%esi, %edx
	jle	.L4
	movslq	%esi, %rsi
	cmpb	$120, (%rsp,%rsi)
	je	.L35
.L15:
	leal	11(%rcx), %esi
	cmpl	%esi, %edx
	jle	.L4
	movslq	%esi, %rsi
	cmpb	$120, (%rsp,%rsi)
	je	.L36
.L16:
	leal	12(%rcx), %esi
	cmpl	%esi, %edx
	jle	.L4
	movslq	%esi, %rsi
	cmpb	$120, (%rsp,%rsi)
	je	.L37
.L17:
	leal	13(%rcx), %esi
	cmpl	%esi, %edx
	jle	.L4
	movslq	%esi, %rsi
	cmpb	$120, (%rsp,%rsi)
	jne	.L18
	addl	$1, %eax
.L18:
	addl	$14, %ecx
	cmpl	%ecx, %edx
	jle	.L4
	movslq	%ecx, %rcx
	cmpb	$120, (%rsp,%rcx)
	jne	.L4
	addl	$1, %eax
	.p2align 4,,10
	.p2align 3
.L4:
	cmpl	$7, %eax
	jle	.L2
	leaq	.LC4(%rip), %rdi
	call	puts@PLT
.L22:
	movq	24(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L38
	addq	$32, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 16
	xorl	%eax, %eax
	popq	%rbp
	.cfi_def_cfa_offset 8
	ret
.L2:
	.cfi_restore_state
	leaq	.LC3(%rip), %rdi
	call	puts@PLT
	jmp	.L22
.L30:
	addl	$1, %eax
	jmp	.L6
.L31:
	addl	$1, %eax
	jmp	.L7
.L32:
	addl	$1, %eax
	jmp	.L8
.L33:
	addl	$1, %eax
	jmp	.L9
.L34:
	addl	$1, %eax
	jmp	.L14
.L35:
	addl	$1, %eax
	jmp	.L15
.L36:
	addl	$1, %eax
	jmp	.L16
.L37:
	addl	$1, %eax
	jmp	.L17
.L24:
	xorl	%ecx, %ecx
	xorl	%eax, %eax
	jmp	.L3
.L38:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE35:
	.size	main, .-main
	.section	.rodata.cst16,"aM",@progbits,16
	.align 16
.LC1:
	.byte	120
	.byte	120
	.byte	120
	.byte	120
	.byte	120
	.byte	120
	.byte	120
	.byte	120
	.byte	120
	.byte	120
	.byte	120
	.byte	120
	.byte	120
	.byte	120
	.byte	120
	.byte	120
	.align 16
.LC2:
	.byte	1
	.byte	1
	.byte	1
	.byte	1
	.byte	1
	.byte	1
	.byte	1
	.byte	1
	.byte	1
	.byte	1
	.byte	1
	.byte	1
	.byte	1
	.byte	1
	.byte	1
	.byte	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
.LC0:
	.string	"%s"
.LC3:
	.string	"YES"
.LC4:
	.string	"NO"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB35:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	leaq	.LC0(%rip), %rdi
	subq	$32, %rsp
	.cfi_def_cfa_offset 48
	movq	%fs:40, %rax
	movq	%rax, 24(%rsp)
	xorl	%eax, %eax
	movq	%rsp, %rbp
	movq	%rbp, %rsi
	call	__isoc99_scanf@PLT
	movq	%rbp, %rdi
	call	strlen@PLT
	testq	%rax, %rax
	je	.L2
	movq	%rax, %rdx
	leal	-1(%rax), %eax
	cmpl	$14, %eax
	jbe	.L24
	movdqa	(%rsp), %xmm1
	pxor	%xmm2, %xmm2
	pcmpeqb	.LC1(%rip), %xmm1
	pand	.LC2(%rip), %xmm1
	pcmpgtb	%xmm1, %xmm2
	movdqa	%xmm1, %xmm0
	punpcklbw	%xmm2, %xmm0
	punpckhbw	%xmm2, %xmm1
	pxor	%xmm2, %xmm2
	movdqa	%xmm2, %xmm3
	pcmpgtw	%xmm1, %xmm2
	movdqa	%xmm0, %xmm4
	pcmpgtw	%xmm0, %xmm3
	punpcklwd	%xmm3, %xmm4
	punpckhwd	%xmm3, %xmm0
	movdqa	%xmm1, %xmm3
	paddd	%xmm4, %xmm0
	punpcklwd	%xmm2, %xmm3
	punpckhwd	%xmm2, %xmm1
	paddd	%xmm3, %xmm0
	paddd	%xmm1, %xmm0
	movdqa	%xmm0, %xmm1
	psrldq	$8, %xmm1
	paddd	%xmm1, %xmm0
	movdqa	%xmm0, %xmm1
	psrldq	$4, %xmm1
	paddd	%xmm1, %xmm0
	movd	%xmm0, %eax
	cmpl	$16, %edx
	je	.L4
	movl	$16, %ecx
.L3:
	movslq	%ecx, %rsi
	cmpb	$120, (%rsp,%rsi)
	jne	.L5
	addl	$1, %eax
.L5:
	leal	1(%rcx), %esi
	cmpl	%edx, %esi
	jge	.L4
	movslq	%esi, %rsi
	cmpb	$120, (%rsp,%rsi)
	je	.L30
.L6:
	leal	2(%rcx), %esi
	cmpl	%esi, %edx
	jle	.L4
	movslq	%esi, %rsi
	cmpb	$120, (%rsp,%rsi)
	je	.L31
.L7:
	leal	3(%rcx), %esi
	cmpl	%esi, %edx
	jle	.L4
	movslq	%esi, %rsi
	cmpb	$120, (%rsp,%rsi)
	je	.L32
.L8:
	leal	4(%rcx), %esi
	cmpl	%esi, %edx
	jle	.L4
	movslq	%esi, %rsi
	cmpb	$120, (%rsp,%rsi)
	je	.L33
.L9:
	leal	5(%rcx), %esi
	cmpl	%esi, %edx
	jle	.L4
	movslq	%esi, %rsi
	cmpb	$120, (%rsp,%rsi)
	jne	.L10
	addl	$1, %eax
.L10:
	leal	6(%rcx), %esi
	cmpl	%esi, %edx
	jle	.L4
	movslq	%esi, %rsi
	cmpb	$120, (%rsp,%rsi)
	jne	.L11
	addl	$1, %eax
.L11:
	leal	7(%rcx), %esi
	cmpl	%esi, %edx
	jle	.L4
	movslq	%esi, %rsi
	cmpb	$120, (%rsp,%rsi)
	jne	.L12
	addl	$1, %eax
.L12:
	leal	8(%rcx), %esi
	cmpl	%esi, %edx
	jle	.L4
	movslq	%esi, %rsi
	cmpb	$120, (%rsp,%rsi)
	jne	.L13
	addl	$1, %eax
.L13:
	leal	9(%rcx), %esi
	cmpl	%esi, %edx
	jle	.L4
	movslq	%esi, %rsi
	cmpb	$120, (%rsp,%rsi)
	je	.L34
.L14:
	leal	10(%rcx), %esi
	cmpl	%esi, %edx
	jle	.L4
	movslq	%esi, %rsi
	cmpb	$120, (%rsp,%rsi)
	je	.L35
.L15:
	leal	11(%rcx), %esi
	cmpl	%esi, %edx
	jle	.L4
	movslq	%esi, %rsi
	cmpb	$120, (%rsp,%rsi)
	je	.L36
.L16:
	leal	12(%rcx), %esi
	cmpl	%esi, %edx
	jle	.L4
	movslq	%esi, %rsi
	cmpb	$120, (%rsp,%rsi)
	je	.L37
.L17:
	leal	13(%rcx), %esi
	cmpl	%esi, %edx
	jle	.L4
	movslq	%esi, %rsi
	cmpb	$120, (%rsp,%rsi)
	jne	.L18
	addl	$1, %eax
.L18:
	addl	$14, %ecx
	cmpl	%ecx, %edx
	jle	.L4
	movslq	%ecx, %rcx
	cmpb	$120, (%rsp,%rcx)
	jne	.L4
	addl	$1, %eax
	.p2align 4,,10
	.p2align 3
.L4:
	cmpl	$7, %eax
	jle	.L2
	leaq	.LC4(%rip), %rdi
	call	puts@PLT
.L22:
	movq	24(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L38
	addq	$32, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 16
	xorl	%eax, %eax
	popq	%rbp
	.cfi_def_cfa_offset 8
	ret
.L2:
	.cfi_restore_state
	leaq	.LC3(%rip), %rdi
	call	puts@PLT
	jmp	.L22
.L30:
	addl	$1, %eax
	jmp	.L6
.L31:
	addl	$1, %eax
	jmp	.L7
.L32:
	addl	$1, %eax
	jmp	.L8
.L33:
	addl	$1, %eax
	jmp	.L9
.L34:
	addl	$1, %eax
	jmp	.L14
.L35:
	addl	$1, %eax
	jmp	.L15
.L36:
	addl	$1, %eax
	jmp	.L16
.L37:
	addl	$1, %eax
	jmp	.L17
.L24:
	xorl	%ecx, %ecx
	xorl	%eax, %eax
	jmp	.L3
.L38:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE35:
	.size	main, .-main
	.section	.rodata.cst16,"aM",@progbits,16
	.align 16
.LC1:
	.byte	120
	.byte	120
	.byte	120
	.byte	120
	.byte	120
	.byte	120
	.byte	120
	.byte	120
	.byte	120
	.byte	120
	.byte	120
	.byte	120
	.byte	120
	.byte	120
	.byte	120
	.byte	120
	.align 16
.LC2:
	.byte	1
	.byte	1
	.byte	1
	.byte	1
	.byte	1
	.byte	1
	.byte	1
	.byte	1
	.byte	1
	.byte	1
	.byte	1
	.byte	1
	.byte	1
	.byte	1
	.byte	1
	.byte	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
.LC0:
	.string	"%s"
.LC3:
	.string	"YES"
.LC4:
	.string	"NO"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB35:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	leaq	.LC0(%rip), %rdi
	subq	$32, %rsp
	.cfi_def_cfa_offset 48
	movq	%fs:40, %rax
	movq	%rax, 24(%rsp)
	xorl	%eax, %eax
	movq	%rsp, %rbp
	movq	%rbp, %rsi
	call	__isoc99_scanf@PLT
	movq	%rbp, %rdi
	call	strlen@PLT
	testq	%rax, %rax
	je	.L2
	movq	%rax, %rdx
	leal	-1(%rax), %eax
	cmpl	$14, %eax
	jbe	.L24
	movdqa	(%rsp), %xmm1
	pxor	%xmm2, %xmm2
	pcmpeqb	.LC1(%rip), %xmm1
	pand	.LC2(%rip), %xmm1
	pcmpgtb	%xmm1, %xmm2
	movdqa	%xmm1, %xmm0
	punpcklbw	%xmm2, %xmm0
	punpckhbw	%xmm2, %xmm1
	pxor	%xmm2, %xmm2
	movdqa	%xmm2, %xmm3
	pcmpgtw	%xmm1, %xmm2
	movdqa	%xmm0, %xmm4
	pcmpgtw	%xmm0, %xmm3
	punpcklwd	%xmm3, %xmm4
	punpckhwd	%xmm3, %xmm0
	movdqa	%xmm1, %xmm3
	paddd	%xmm4, %xmm0
	punpcklwd	%xmm2, %xmm3
	punpckhwd	%xmm2, %xmm1
	paddd	%xmm3, %xmm0
	paddd	%xmm1, %xmm0
	movdqa	%xmm0, %xmm1
	psrldq	$8, %xmm1
	paddd	%xmm1, %xmm0
	movdqa	%xmm0, %xmm1
	psrldq	$4, %xmm1
	paddd	%xmm1, %xmm0
	movd	%xmm0, %eax
	cmpl	$16, %edx
	je	.L4
	movl	$16, %ecx
.L3:
	movslq	%ecx, %rsi
	cmpb	$120, (%rsp,%rsi)
	jne	.L5
	addl	$1, %eax
.L5:
	leal	1(%rcx), %esi
	cmpl	%edx, %esi
	jge	.L4
	movslq	%esi, %rsi
	cmpb	$120, (%rsp,%rsi)
	je	.L30
.L6:
	leal	2(%rcx), %esi
	cmpl	%esi, %edx
	jle	.L4
	movslq	%esi, %rsi
	cmpb	$120, (%rsp,%rsi)
	je	.L31
.L7:
	leal	3(%rcx), %esi
	cmpl	%esi, %edx
	jle	.L4
	movslq	%esi, %rsi
	cmpb	$120, (%rsp,%rsi)
	je	.L32
.L8:
	leal	4(%rcx), %esi
	cmpl	%esi, %edx
	jle	.L4
	movslq	%esi, %rsi
	cmpb	$120, (%rsp,%rsi)
	je	.L33
.L9:
	leal	5(%rcx), %esi
	cmpl	%esi, %edx
	jle	.L4
	movslq	%esi, %rsi
	cmpb	$120, (%rsp,%rsi)
	jne	.L10
	addl	$1, %eax
.L10:
	leal	6(%rcx), %esi
	cmpl	%esi, %edx
	jle	.L4
	movslq	%esi, %rsi
	cmpb	$120, (%rsp,%rsi)
	jne	.L11
	addl	$1, %eax
.L11:
	leal	7(%rcx), %esi
	cmpl	%esi, %edx
	jle	.L4
	movslq	%esi, %rsi
	cmpb	$120, (%rsp,%rsi)
	jne	.L12
	addl	$1, %eax
.L12:
	leal	8(%rcx), %esi
	cmpl	%esi, %edx
	jle	.L4
	movslq	%esi, %rsi
	cmpb	$120, (%rsp,%rsi)
	jne	.L13
	addl	$1, %eax
.L13:
	leal	9(%rcx), %esi
	cmpl	%esi, %edx
	jle	.L4
	movslq	%esi, %rsi
	cmpb	$120, (%rsp,%rsi)
	je	.L34
.L14:
	leal	10(%rcx), %esi
	cmpl	%esi, %edx
	jle	.L4
	movslq	%esi, %rsi
	cmpb	$120, (%rsp,%rsi)
	je	.L35
.L15:
	leal	11(%rcx), %esi
	cmpl	%esi, %edx
	jle	.L4
	movslq	%esi, %rsi
	cmpb	$120, (%rsp,%rsi)
	je	.L36
.L16:
	leal	12(%rcx), %esi
	cmpl	%esi, %edx
	jle	.L4
	movslq	%esi, %rsi
	cmpb	$120, (%rsp,%rsi)
	je	.L37
.L17:
	leal	13(%rcx), %esi
	cmpl	%esi, %edx
	jle	.L4
	movslq	%esi, %rsi
	cmpb	$120, (%rsp,%rsi)
	jne	.L18
	addl	$1, %eax
.L18:
	addl	$14, %ecx
	cmpl	%ecx, %edx
	jle	.L4
	movslq	%ecx, %rcx
	cmpb	$120, (%rsp,%rcx)
	jne	.L4
	addl	$1, %eax
	.p2align 4,,10
	.p2align 3
.L4:
	cmpl	$7, %eax
	jle	.L2
	leaq	.LC4(%rip), %rdi
	call	puts@PLT
.L22:
	movq	24(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L38
	addq	$32, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 16
	xorl	%eax, %eax
	popq	%rbp
	.cfi_def_cfa_offset 8
	ret
.L2:
	.cfi_restore_state
	leaq	.LC3(%rip), %rdi
	call	puts@PLT
	jmp	.L22
.L30:
	addl	$1, %eax
	jmp	.L6
.L31:
	addl	$1, %eax
	jmp	.L7
.L32:
	addl	$1, %eax
	jmp	.L8
.L33:
	addl	$1, %eax
	jmp	.L9
.L34:
	addl	$1, %eax
	jmp	.L14
.L35:
	addl	$1, %eax
	jmp	.L15
.L36:
	addl	$1, %eax
	jmp	.L16
.L37:
	addl	$1, %eax
	jmp	.L17
.L24:
	xorl	%ecx, %ecx
	xorl	%eax, %eax
	jmp	.L3
.L38:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE35:
	.size	main, .-main
	.section	.rodata.cst16,"aM",@progbits,16
	.align 16
.LC1:
	.byte	120
	.byte	120
	.byte	120
	.byte	120
	.byte	120
	.byte	120
	.byte	120
	.byte	120
	.byte	120
	.byte	120
	.byte	120
	.byte	120
	.byte	120
	.byte	120
	.byte	120
	.byte	120
	.align 16
.LC2:
	.byte	1
	.byte	1
	.byte	1
	.byte	1
	.byte	1
	.byte	1
	.byte	1
	.byte	1
	.byte	1
	.byte	1
	.byte	1
	.byte	1
	.byte	1
	.byte	1
	.byte	1
	.byte	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>
#include<string.h>
int main(void)
{
  char s[20];
  scanf("%s",s);
  int len=strlen(s);
  int count=0;
  for(int i=0;i<len;i++){
    if(s[i]=='x')count++;
  }

  if(count<=7){
    puts("YES");
  }else{
    puts("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>
#include<string.h>
int main(void)
{
  char s[20];
  scanf("%s",s);
  int len=strlen(s);
  int count=0;
  for(int i=0;i<len;i++){
    if(s[i]=='x')count++;
  }

  if(count<=7){
    puts("YES");
  }else{
    puts("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:

xoxoxoxoxoxoxo
 oxoxowoxoxoxox
 oxoxowoooxoxxx
 xxxoxooowoxoxo
 xoxoxooxwoxoxo
 xoxoyoxoxoxoxo
 xxxoxoooooxwxo
 xoxowooxwoxoxo
 oxoxoxoxoyoxox
 xoxoxoxoxoyoxo

YES
 YES
 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<string.h>
int main(void)
{
  char s[20];
  scanf("%s",s);
  int len=strlen(s);
  int count=0;
  for(int i=0;i<len;i++){
    if(s[i]=='x')count++;
  }

  if(count<=7){
    puts("YES");
  }else{
    puts("NO");
  }
  return 0;
}
```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%s"
.LC3:
	.string	"YES"
.LC4:
	.string	"NO"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB35:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	leaq	.LC0(%rip), %rdi
	subq	$32, %rsp
	.cfi_def_cfa_offset 48
	movq	%fs:40, %rax
	movq	%rax, 24(%rsp)
	xorl	%eax, %eax
	movq	%rsp, %rbp
	movq	%rbp, %rsi
	call	__isoc99_scanf@PLT
	movq	%rbp, %rdi
	call	strlen@PLT
	testq	%rax, %rax
	je	.L2
	movq	%rax, %rdx
	leal	-1(%rax), %eax
	cmpl	$14, %eax
	jbe	.L24
	movdqa	(%rsp), %xmm1
	pxor	%xmm2, %xmm2
	pcmpeqb	.LC1(%rip), %xmm1
	pand	.LC2(%rip), %xmm1
	pcmpgtb	%xmm1, %xmm2
	movdqa	%xmm1, %xmm0
	punpcklbw	%xmm2, %xmm0
	punpckhbw	%xmm2, %xmm1
	pxor	%xmm2, %xmm2
	movdqa	%xmm2, %xmm3
	pcmpgtw	%xmm1, %xmm2
	movdqa	%xmm0, %xmm4
	pcmpgtw	%xmm0, %xmm3
	punpcklwd	%xmm3, %xmm4
	punpckhwd	%xmm3, %xmm0
	movdqa	%xmm1, %xmm3
	paddd	%xmm4, %xmm0
	punpcklwd	%xmm2, %xmm3
	punpckhwd	%xmm2, %xmm1
	paddd	%xmm3, %xmm0
	paddd	%xmm1, %xmm0
	movdqa	%xmm0, %xmm1
	psrldq	$8, %xmm1
	paddd	%xmm1, %xmm0
	movdqa	%xmm0, %xmm1
	psrldq	$4, %xmm1
	paddd	%xmm1, %xmm0
	movd	%xmm0, %eax
	cmpl	$16, %edx
	je	.L4
	movl	$16, %ecx
.L3:
	movslq	%ecx, %rsi
	cmpb	$120, (%rsp,%rsi)
	jne	.L5
	addl	$1, %eax
.L5:
	leal	1(%rcx), %esi
	cmpl	%edx, %esi
	jge	.L4
	movslq	%esi, %rsi
	cmpb	$120, (%rsp,%rsi)
	je	.L30
.L6:
	leal	2(%rcx), %esi
	cmpl	%esi, %edx
	jle	.L4
	movslq	%esi, %rsi
	cmpb	$120, (%rsp,%rsi)
	je	.L31
.L7:
	leal	3(%rcx), %esi
	cmpl	%esi, %edx
	jle	.L4
	movslq	%esi, %rsi
	cmpb	$120, (%rsp,%rsi)
	je	.L32
.L8:
	leal	4(%rcx), %esi
	cmpl	%esi, %edx
	jle	.L4
	movslq	%esi, %rsi
	cmpb	$120, (%rsp,%rsi)
	je	.L33
.L9:
	leal	5(%rcx), %esi
	cmpl	%esi, %edx
	jle	.L4
	movslq	%esi, %rsi
	cmpb	$120, (%rsp,%rsi)
	jne	.L10
	addl	$1, %eax
.L10:
	leal	6(%rcx), %esi
	cmpl	%esi, %edx
	jle	.L4
	movslq	%esi, %rsi
	cmpb	$120, (%rsp,%rsi)
	jne	.L11
	addl	$1, %eax
.L11:
	leal	7(%rcx), %esi
	cmpl	%esi, %edx
	jle	.L4
	movslq	%esi, %rsi
	cmpb	$120, (%rsp,%rsi)
	jne	.L12
	addl	$1, %eax
.L12:
	leal	8(%rcx), %esi
	cmpl	%esi, %edx
	jle	.L4
	movslq	%esi, %rsi
	cmpb	$120, (%rsp,%rsi)
	jne	.L13
	addl	$1, %eax
.L13:
	leal	9(%rcx), %esi
	cmpl	%esi, %edx
	jle	.L4
	movslq	%esi, %rsi
	cmpb	$120, (%rsp,%rsi)
	je	.L34
.L14:
	leal	10(%rcx), %esi
	cmpl	%esi, %edx
	jle	.L4
	movslq	%esi, %rsi
	cmpb	$120, (%rsp,%rsi)
	je	.L35
.L15:
	leal	11(%rcx), %esi
	cmpl	%esi, %edx
	jle	.L4
	movslq	%esi, %rsi
	cmpb	$120, (%rsp,%rsi)
	je	.L36
.L16:
	leal	12(%rcx), %esi
	cmpl	%esi, %edx
	jle	.L4
	movslq	%esi, %rsi
	cmpb	$120, (%rsp,%rsi)
	je	.L37
.L17:
	leal	13(%rcx), %esi
	cmpl	%esi, %edx
	jle	.L4
	movslq	%esi, %rsi
	cmpb	$120, (%rsp,%rsi)
	jne	.L18
	addl	$1, %eax
.L18:
	addl	$14, %ecx
	cmpl	%ecx, %edx
	jle	.L4
	movslq	%ecx, %rcx
	cmpb	$120, (%rsp,%rcx)
	jne	.L4
	addl	$1, %eax
	.p2align 4,,10
	.p2align 3
.L4:
	cmpl	$7, %eax
	jle	.L2
	leaq	.LC4(%rip), %rdi
	call	puts@PLT
.L22:
	movq	24(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L38
	addq	$32, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 16
	xorl	%eax, %eax
	popq	%rbp
	.cfi_def_cfa_offset 8
	ret
.L2:
	.cfi_restore_state
	leaq	.LC3(%rip), %rdi
	call	puts@PLT
	jmp	.L22
.L30:
	addl	$1, %eax
	jmp	.L6
.L31:
	addl	$1, %eax
	jmp	.L7
.L32:
	addl	$1, %eax
	jmp	.L8
.L33:
	addl	$1, %eax
	jmp	.L9
.L34:
	addl	$1, %eax
	jmp	.L14
.L35:
	addl	$1, %eax
	jmp	.L15
.L36:
	addl	$1, %eax
	jmp	.L16
.L37:
	addl	$1, %eax
	jmp	.L17
.L24:
	xorl	%ecx, %ecx
	xorl	%eax, %eax
	jmp	.L3
.L38:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE35:
	.size	main, .-main
	.section	.rodata.cst16,"aM",@progbits,16
	.align 16
.LC1:
	.byte	120
	.byte	120
	.byte	120
	.byte	120
	.byte	120
	.byte	120
	.byte	120
	.byte	120
	.byte	120
	.byte	120
	.byte	120
	.byte	120
	.byte	120
	.byte	120
	.byte	120
	.byte	120
	.align 16
.LC2:
	.byte	1
	.byte	1
	.byte	1
	.byte	1
	.byte	1
	.byte	1
	.byte	1
	.byte	1
	.byte	1
	.byte	1
	.byte	1
	.byte	1
	.byte	1
	.byte	1
	.byte	1
	.byte	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
.LC0:
	.string	"%s"
.LC3:
	.string	"YES"
.LC4:
	.string	"NO"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB35:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	leaq	.LC0(%rip), %rdi
	subq	$32, %rsp
	.cfi_def_cfa_offset 48
	movq	%fs:40, %rax
	movq	%rax, 24(%rsp)
	xorl	%eax, %eax
	movq	%rsp, %rbp
	movq	%rbp, %rsi
	call	__isoc99_scanf@PLT
	movq	%rbp, %rdi
	call	strlen@PLT
	testq	%rax, %rax
	je	.L2
	movq	%rax, %rdx
	leal	-1(%rax), %eax
	cmpl	$14, %eax
	jbe	.L24
	movdqa	(%rsp), %xmm1
	pxor	%xmm2, %xmm2
	pcmpeqb	.LC1(%rip), %xmm1
	pand	.LC2(%rip), %xmm1
	pcmpgtb	%xmm1, %xmm2
	movdqa	%xmm1, %xmm0
	punpcklbw	%xmm2, %xmm0
	punpckhbw	%xmm2, %xmm1
	pxor	%xmm2, %xmm2
	movdqa	%xmm2, %xmm3
	pcmpgtw	%xmm1, %xmm2
	movdqa	%xmm0, %xmm4
	pcmpgtw	%xmm0, %xmm3
	punpcklwd	%xmm3, %xmm4
	punpckhwd	%xmm3, %xmm0
	movdqa	%xmm1, %xmm3
	paddd	%xmm4, %xmm0
	punpcklwd	%xmm2, %xmm3
	punpckhwd	%xmm2, %xmm1
	paddd	%xmm3, %xmm0
	paddd	%xmm1, %xmm0
	movdqa	%xmm0, %xmm1
	psrldq	$8, %xmm1
	paddd	%xmm1, %xmm0
	movdqa	%xmm0, %xmm1
	psrldq	$4, %xmm1
	paddd	%xmm1, %xmm0
	movd	%xmm0, %eax
	cmpl	$16, %edx
	je	.L4
	movl	$16, %ecx
.L3:
	movslq	%ecx, %rsi
	cmpb	$120, (%rsp,%rsi)
	jne	.L5
	addl	$1, %eax
.L5:
	leal	1(%rcx), %esi
	cmpl	%edx, %esi
	jge	.L4
	movslq	%esi, %rsi
	cmpb	$120, (%rsp,%rsi)
	je	.L30
.L6:
	leal	2(%rcx), %esi
	cmpl	%esi, %edx
	jle	.L4
	movslq	%esi, %rsi
	cmpb	$120, (%rsp,%rsi)
	je	.L31
.L7:
	leal	3(%rcx), %esi
	cmpl	%esi, %edx
	jle	.L4
	movslq	%esi, %rsi
	cmpb	$120, (%rsp,%rsi)
	je	.L32
.L8:
	leal	4(%rcx), %esi
	cmpl	%esi, %edx
	jle	.L4
	movslq	%esi, %rsi
	cmpb	$120, (%rsp,%rsi)
	je	.L33
.L9:
	leal	5(%rcx), %esi
	cmpl	%esi, %edx
	jle	.L4
	movslq	%esi, %rsi
	cmpb	$120, (%rsp,%rsi)
	jne	.L10
	addl	$1, %eax
.L10:
	leal	6(%rcx), %esi
	cmpl	%esi, %edx
	jle	.L4
	movslq	%esi, %rsi
	cmpb	$120, (%rsp,%rsi)
	jne	.L11
	addl	$1, %eax
.L11:
	leal	7(%rcx), %esi
	cmpl	%esi, %edx
	jle	.L4
	movslq	%esi, %rsi
	cmpb	$120, (%rsp,%rsi)
	jne	.L12
	addl	$1, %eax
.L12:
	leal	8(%rcx), %esi
	cmpl	%esi, %edx
	jle	.L4
	movslq	%esi, %rsi
	cmpb	$120, (%rsp,%rsi)
	jne	.L13
	addl	$1, %eax
.L13:
	leal	9(%rcx), %esi
	cmpl	%esi, %edx
	jle	.L4
	movslq	%esi, %rsi
	cmpb	$120, (%rsp,%rsi)
	je	.L34
.L14:
	leal	10(%rcx), %esi
	cmpl	%esi, %edx
	jle	.L4
	movslq	%esi, %rsi
	cmpb	$120, (%rsp,%rsi)
	je	.L35
.L15:
	leal	11(%rcx), %esi
	cmpl	%esi, %edx
	jle	.L4
	movslq	%esi, %rsi
	cmpb	$120, (%rsp,%rsi)
	je	.L36
.L16:
	leal	12(%rcx), %esi
	cmpl	%esi, %edx
	jle	.L4
	movslq	%esi, %rsi
	cmpb	$120, (%rsp,%rsi)
	je	.L37
.L17:
	leal	13(%rcx), %esi
	cmpl	%esi, %edx
	jle	.L4
	movslq	%esi, %rsi
	cmpb	$120, (%rsp,%rsi)
	jne	.L18
	addl	$1, %eax
.L18:
	addl	$14, %ecx
	cmpl	%ecx, %edx
	jle	.L4
	movslq	%ecx, %rcx
	cmpb	$120, (%rsp,%rcx)
	jne	.L4
	addl	$1, %eax
	.p2align 4,,10
	.p2align 3
.L4:
	cmpl	$7, %eax
	jle	.L2
	leaq	.LC4(%rip), %rdi
	call	puts@PLT
.L22:
	movq	24(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L38
	addq	$32, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 16
	xorl	%eax, %eax
	popq	%rbp
	.cfi_def_cfa_offset 8
	ret
.L2:
	.cfi_restore_state
	leaq	.LC3(%rip), %rdi
	call	puts@PLT
	jmp	.L22
.L30:
	addl	$1, %eax
	jmp	.L6
.L31:
	addl	$1, %eax
	jmp	.L7
.L32:
	addl	$1, %eax
	jmp	.L8
.L33:
	addl	$1, %eax
	jmp	.L9
.L34:
	addl	$1, %eax
	jmp	.L14
.L35:
	addl	$1, %eax
	jmp	.L15
.L36:
	addl	$1, %eax
	jmp	.L16
.L37:
	addl	$1, %eax
	jmp	.L17
.L24:
	xorl	%ecx, %ecx
	xorl	%eax, %eax
	jmp	.L3
.L38:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE35:
	.size	main, .-main
	.section	.rodata.cst16,"aM",@progbits,16
	.align 16
.LC1:
	.byte	120
	.byte	120
	.byte	120
	.byte	120
	.byte	120
	.byte	120
	.byte	120
	.byte	120
	.byte	120
	.byte	120
	.byte	120
	.byte	120
	.byte	120
	.byte	120
	.byte	120
	.byte	120
	.align 16
.LC2:
	.byte	1
	.byte	1
	.byte	1
	.byte	1
	.byte	1
	.byte	1
	.byte	1
	.byte	1
	.byte	1
	.byte	1
	.byte	1
	.byte	1
	.byte	1
	.byte	1
	.byte	1
	.byte	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:
```