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 k = 0;
	char m[20];
	scanf("%s", m);
	int i;
	int n = 0;
	for (i = 0; i < 15; i++) {
		if ('o' == m[i] || 'x' == m[i]) {
			k++;
		}


	}
	for (i = 0; i < k; i++) {
		if ('o' == m[i]) {
			n++;
		}


	}
	if (n >= 8) {
		printf("YES");
	}
	else if (8 - n <= 15 - k) {
		printf("YES");
	}
	else {
		printf("NO");
	}
	return 0;
}```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%s"
.LC1:
	.string	"YES"
.LC2:
	.string	"NO"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	leaq	.LC0(%rip), %rdi
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	subq	$56, %rsp
	.cfi_def_cfa_offset 112
	movq	%fs:40, %rax
	movq	%rax, 40(%rsp)
	xorl	%eax, %eax
	leaq	16(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movzbl	16(%rsp), %edx
	movzbl	17(%rsp), %esi
	cmpb	$111, %dl
	sete	%al
	cmpb	$120, %dl
	sete	%cl
	orl	%ecx, %eax
	movzbl	%al, %eax
	cmpb	$111, %sil
	je	.L53
	cmpb	$120, %sil
	je	.L53
.L2:
	movzbl	18(%rsp), %edi
	cmpb	$111, %dil
	je	.L54
	cmpb	$120, %dil
	je	.L54
.L4:
	movzbl	19(%rsp), %r8d
	cmpb	$111, %r8b
	je	.L55
	cmpb	$120, %r8b
	je	.L55
.L6:
	movzbl	20(%rsp), %r9d
	cmpb	$111, %r9b
	je	.L56
	cmpb	$120, %r9b
	je	.L56
.L8:
	movzbl	21(%rsp), %r10d
	cmpb	$111, %r10b
	je	.L57
	cmpb	$120, %r10b
	je	.L57
.L10:
	movzbl	22(%rsp), %r11d
	cmpb	$111, %r11b
	je	.L58
	cmpb	$120, %r11b
	je	.L58
.L12:
	movzbl	23(%rsp), %ebx
	cmpb	$111, %bl
	je	.L59
	cmpb	$120, %bl
	je	.L59
.L14:
	movzbl	24(%rsp), %ebp
	cmpb	$111, %bpl
	je	.L60
	cmpb	$120, %bpl
	je	.L60
.L16:
	movzbl	25(%rsp), %r12d
	cmpb	$111, %r12b
	je	.L61
	cmpb	$120, %r12b
	je	.L61
.L18:
	movzbl	26(%rsp), %r13d
	cmpb	$111, %r13b
	je	.L62
	cmpb	$120, %r13b
	je	.L62
.L20:
	movzbl	27(%rsp), %r14d
	cmpb	$111, %r14b
	je	.L63
	cmpb	$120, %r14b
	je	.L63
.L22:
	movzbl	28(%rsp), %ecx
	movb	%cl, 14(%rsp)
	cmpb	$111, %cl
	je	.L64
	cmpb	$120, %cl
	je	.L64
.L24:
	movzbl	29(%rsp), %ecx
	movb	%cl, 15(%rsp)
	cmpb	$111, %cl
	je	.L65
	cmpb	$120, %cl
	je	.L65
	movzbl	30(%rsp), %r15d
	cmpb	$111, %r15b
	sete	%cl
	cmpb	$120, %r15b
	sete	%r15b
	orb	%cl, %r15b
	je	.L30
.L28:
	addl	$1, %eax
	movl	%ecx, %r15d
.L29:
	cmpb	$111, %dl
	sete	%dl
	movzbl	%dl, %edx
	cmpl	$1, %eax
	je	.L49
	xorl	%ecx, %ecx
	cmpb	$111, %sil
	sete	%cl
	addl	%ecx, %edx
	cmpl	$2, %eax
	je	.L49
	cmpb	$111, %dil
	je	.L147
.L34:
	cmpl	$3, %eax
	je	.L49
	cmpb	$111, %r8b
	je	.L148
.L35:
	cmpl	$4, %eax
	je	.L49
	cmpb	$111, %r9b
	je	.L149
.L36:
	cmpl	$5, %eax
	je	.L49
	cmpb	$111, %r10b
	jne	.L37
	addl	$1, %edx
.L37:
	cmpl	$6, %eax
	je	.L49
	cmpb	$111, %r11b
	jne	.L38
	addl	$1, %edx
.L38:
	cmpl	$7, %eax
	je	.L49
	cmpb	$111, %bl
	je	.L150
	cmpl	$8, %eax
	je	.L49
.L51:
	cmpb	$111, %bpl
	jne	.L41
	addl	$1, %edx
.L41:
	cmpl	$9, %eax
	je	.L40
	cmpb	$111, %r12b
	je	.L151
.L42:
	cmpl	$10, %eax
	je	.L40
	cmpb	$111, %r13b
	je	.L152
.L43:
	cmpl	$11, %eax
	je	.L40
	cmpb	$111, %r14b
	je	.L153
.L44:
	cmpl	$12, %eax
	je	.L40
	cmpb	$111, 14(%rsp)
	je	.L154
.L45:
	cmpl	$13, %eax
	je	.L40
	cmpb	$111, 15(%rsp)
	jne	.L46
	addl	$1, %edx
.L46:
	cmpl	$15, %eax
	jne	.L40
	cmpb	$1, %r15b
	sbbl	$-1, %edx
.L40:
	cmpl	$7, %edx
	jle	.L49
.L31:
	leaq	.LC1(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
.L50:
	movq	40(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L155
	addq	$56, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%rbp
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	ret
.L49:
	.cfi_restore_state
	movl	$8, %ecx
	subl	%edx, %ecx
	movl	$15, %edx
	subl	%eax, %edx
	cmpl	%edx, %ecx
	jle	.L31
	leaq	.LC2(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	jmp	.L50
.L65:
	movzbl	30(%rsp), %r15d
	addl	$1, %eax
	cmpb	$111, %r15b
	sete	%cl
	cmpb	$120, %r15b
	sete	%r15b
	orb	%cl, %r15b
	jne	.L28
	jmp	.L29
.L64:
	addl	$1, %eax
	jmp	.L24
.L63:
	addl	$1, %eax
	jmp	.L22
.L62:
	addl	$1, %eax
	jmp	.L20
.L61:
	addl	$1, %eax
	jmp	.L18
.L60:
	addl	$1, %eax
	jmp	.L16
.L59:
	addl	$1, %eax
	jmp	.L14
.L58:
	addl	$1, %eax
	jmp	.L12
.L57:
	addl	$1, %eax
	jmp	.L10
.L56:
	addl	$1, %eax
	jmp	.L8
.L55:
	addl	$1, %eax
	jmp	.L6
.L54:
	addl	$1, %eax
	jmp	.L4
.L53:
	addl	$1, %eax
	jmp	.L2
.L30:
	testl	%eax, %eax
	jne	.L29
	jmp	.L31
.L147:
	addl	$1, %edx
	jmp	.L34
.L148:
	addl	$1, %edx
	jmp	.L35
.L149:
	addl	$1, %edx
	jmp	.L36
.L151:
	addl	$1, %edx
	jmp	.L42
.L152:
	addl	$1, %edx
	jmp	.L43
.L153:
	addl	$1, %edx
	jmp	.L44
.L154:
	addl	$1, %edx
	jmp	.L45
.L150:
	addl	$1, %edx
	cmpl	$8, %eax
	jne	.L51
	jmp	.L40
.L155:
	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	"%s"
.LC1:
	.string	"YES"
.LC2:
	.string	"NO"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	leaq	.LC0(%rip), %rdi
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	subq	$56, %rsp
	.cfi_def_cfa_offset 112
	movq	%fs:40, %rax
	movq	%rax, 40(%rsp)
	xorl	%eax, %eax
	leaq	16(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movzbl	16(%rsp), %edx
	movzbl	17(%rsp), %esi
	cmpb	$111, %dl
	sete	%al
	cmpb	$120, %dl
	sete	%cl
	orl	%ecx, %eax
	movzbl	%al, %eax
	cmpb	$111, %sil
	je	.L53
	cmpb	$120, %sil
	je	.L53
.L2:
	movzbl	18(%rsp), %edi
	cmpb	$111, %dil
	je	.L54
	cmpb	$120, %dil
	je	.L54
.L4:
	movzbl	19(%rsp), %r8d
	cmpb	$111, %r8b
	je	.L55
	cmpb	$120, %r8b
	je	.L55
.L6:
	movzbl	20(%rsp), %r9d
	cmpb	$111, %r9b
	je	.L56
	cmpb	$120, %r9b
	je	.L56
.L8:
	movzbl	21(%rsp), %r10d
	cmpb	$111, %r10b
	je	.L57
	cmpb	$120, %r10b
	je	.L57
.L10:
	movzbl	22(%rsp), %r11d
	cmpb	$111, %r11b
	je	.L58
	cmpb	$120, %r11b
	je	.L58
.L12:
	movzbl	23(%rsp), %ebx
	cmpb	$111, %bl
	je	.L59
	cmpb	$120, %bl
	je	.L59
.L14:
	movzbl	24(%rsp), %ebp
	cmpb	$111, %bpl
	je	.L60
	cmpb	$120, %bpl
	je	.L60
.L16:
	movzbl	25(%rsp), %r12d
	cmpb	$111, %r12b
	je	.L61
	cmpb	$120, %r12b
	je	.L61
.L18:
	movzbl	26(%rsp), %r13d
	cmpb	$111, %r13b
	je	.L62
	cmpb	$120, %r13b
	je	.L62
.L20:
	movzbl	27(%rsp), %r14d
	cmpb	$111, %r14b
	je	.L63
	cmpb	$120, %r14b
	je	.L63
.L22:
	movzbl	28(%rsp), %ecx
	movb	%cl, 14(%rsp)
	cmpb	$111, %cl
	je	.L64
	cmpb	$120, %cl
	je	.L64
.L24:
	movzbl	29(%rsp), %ecx
	movb	%cl, 15(%rsp)
	cmpb	$111, %cl
	je	.L65
	cmpb	$120, %cl
	je	.L65
	movzbl	30(%rsp), %r15d
	cmpb	$111, %r15b
	sete	%cl
	cmpb	$120, %r15b
	sete	%r15b
	orb	%cl, %r15b
	je	.L30
.L28:
	addl	$1, %eax
	movl	%ecx, %r15d
.L29:
	cmpb	$111, %dl
	sete	%dl
	movzbl	%dl, %edx
	cmpl	$1, %eax
	je	.L49
	xorl	%ecx, %ecx
	cmpb	$111, %sil
	sete	%cl
	addl	%ecx, %edx
	cmpl	$2, %eax
	je	.L49
	cmpb	$111, %dil
	je	.L147
.L34:
	cmpl	$3, %eax
	je	.L49
	cmpb	$111, %r8b
	je	.L148
.L35:
	cmpl	$4, %eax
	je	.L49
	cmpb	$111, %r9b
	je	.L149
.L36:
	cmpl	$5, %eax
	je	.L49
	cmpb	$111, %r10b
	jne	.L37
	addl	$1, %edx
.L37:
	cmpl	$6, %eax
	je	.L49
	cmpb	$111, %r11b
	jne	.L38
	addl	$1, %edx
.L38:
	cmpl	$7, %eax
	je	.L49
	cmpb	$111, %bl
	je	.L150
	cmpl	$8, %eax
	je	.L49
.L51:
	cmpb	$111, %bpl
	jne	.L41
	addl	$1, %edx
.L41:
	cmpl	$9, %eax
	je	.L40
	cmpb	$111, %r12b
	je	.L151
.L42:
	cmpl	$10, %eax
	je	.L40
	cmpb	$111, %r13b
	je	.L152
.L43:
	cmpl	$11, %eax
	je	.L40
	cmpb	$111, %r14b
	je	.L153
.L44:
	cmpl	$12, %eax
	je	.L40
	cmpb	$111, 14(%rsp)
	je	.L154
.L45:
	cmpl	$13, %eax
	je	.L40
	cmpb	$111, 15(%rsp)
	jne	.L46
	addl	$1, %edx
.L46:
	cmpl	$15, %eax
	jne	.L40
	cmpb	$1, %r15b
	sbbl	$-1, %edx
.L40:
	cmpl	$7, %edx
	jle	.L49
.L31:
	leaq	.LC1(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
.L50:
	movq	40(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L155
	addq	$56, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%rbp
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	ret
.L49:
	.cfi_restore_state
	movl	$8, %ecx
	subl	%edx, %ecx
	movl	$15, %edx
	subl	%eax, %edx
	cmpl	%edx, %ecx
	jle	.L31
	leaq	.LC2(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	jmp	.L50
.L65:
	movzbl	30(%rsp), %r15d
	addl	$1, %eax
	cmpb	$111, %r15b
	sete	%cl
	cmpb	$120, %r15b
	sete	%r15b
	orb	%cl, %r15b
	jne	.L28
	jmp	.L29
.L64:
	addl	$1, %eax
	jmp	.L24
.L63:
	addl	$1, %eax
	jmp	.L22
.L62:
	addl	$1, %eax
	jmp	.L20
.L61:
	addl	$1, %eax
	jmp	.L18
.L60:
	addl	$1, %eax
	jmp	.L16
.L59:
	addl	$1, %eax
	jmp	.L14
.L58:
	addl	$1, %eax
	jmp	.L12
.L57:
	addl	$1, %eax
	jmp	.L10
.L56:
	addl	$1, %eax
	jmp	.L8
.L55:
	addl	$1, %eax
	jmp	.L6
.L54:
	addl	$1, %eax
	jmp	.L4
.L53:
	addl	$1, %eax
	jmp	.L2
.L30:
	testl	%eax, %eax
	jne	.L29
	jmp	.L31
.L147:
	addl	$1, %edx
	jmp	.L34
.L148:
	addl	$1, %edx
	jmp	.L35
.L149:
	addl	$1, %edx
	jmp	.L36
.L151:
	addl	$1, %edx
	jmp	.L42
.L152:
	addl	$1, %edx
	jmp	.L43
.L153:
	addl	$1, %edx
	jmp	.L44
.L154:
	addl	$1, %edx
	jmp	.L45
.L150:
	addl	$1, %edx
	cmpl	$8, %eax
	jne	.L51
	jmp	.L40
.L155:
	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	"%s"
.LC1:
	.string	"YES"
.LC2:
	.string	"NO"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	leaq	.LC0(%rip), %rdi
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	subq	$56, %rsp
	.cfi_def_cfa_offset 112
	movq	%fs:40, %rax
	movq	%rax, 40(%rsp)
	xorl	%eax, %eax
	leaq	16(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movzbl	16(%rsp), %edx
	movzbl	17(%rsp), %esi
	cmpb	$111, %dl
	sete	%al
	cmpb	$120, %dl
	sete	%cl
	orl	%ecx, %eax
	movzbl	%al, %eax
	cmpb	$111, %sil
	je	.L53
	cmpb	$120, %sil
	je	.L53
.L2:
	movzbl	18(%rsp), %edi
	cmpb	$111, %dil
	je	.L54
	cmpb	$120, %dil
	je	.L54
.L4:
	movzbl	19(%rsp), %r8d
	cmpb	$111, %r8b
	je	.L55
	cmpb	$120, %r8b
	je	.L55
.L6:
	movzbl	20(%rsp), %r9d
	cmpb	$111, %r9b
	je	.L56
	cmpb	$120, %r9b
	je	.L56
.L8:
	movzbl	21(%rsp), %r10d
	cmpb	$111, %r10b
	je	.L57
	cmpb	$120, %r10b
	je	.L57
.L10:
	movzbl	22(%rsp), %r11d
	cmpb	$111, %r11b
	je	.L58
	cmpb	$120, %r11b
	je	.L58
.L12:
	movzbl	23(%rsp), %ebx
	cmpb	$111, %bl
	je	.L59
	cmpb	$120, %bl
	je	.L59
.L14:
	movzbl	24(%rsp), %ebp
	cmpb	$111, %bpl
	je	.L60
	cmpb	$120, %bpl
	je	.L60
.L16:
	movzbl	25(%rsp), %r12d
	cmpb	$111, %r12b
	je	.L61
	cmpb	$120, %r12b
	je	.L61
.L18:
	movzbl	26(%rsp), %r13d
	cmpb	$111, %r13b
	je	.L62
	cmpb	$120, %r13b
	je	.L62
.L20:
	movzbl	27(%rsp), %r14d
	cmpb	$111, %r14b
	je	.L63
	cmpb	$120, %r14b
	je	.L63
.L22:
	movzbl	28(%rsp), %ecx
	movb	%cl, 14(%rsp)
	cmpb	$111, %cl
	je	.L64
	cmpb	$120, %cl
	je	.L64
.L24:
	movzbl	29(%rsp), %ecx
	movb	%cl, 15(%rsp)
	cmpb	$111, %cl
	je	.L65
	cmpb	$120, %cl
	je	.L65
	movzbl	30(%rsp), %r15d
	cmpb	$111, %r15b
	sete	%cl
	cmpb	$120, %r15b
	sete	%r15b
	orb	%cl, %r15b
	je	.L30
.L28:
	addl	$1, %eax
	movl	%ecx, %r15d
.L29:
	cmpb	$111, %dl
	sete	%dl
	movzbl	%dl, %edx
	cmpl	$1, %eax
	je	.L49
	xorl	%ecx, %ecx
	cmpb	$111, %sil
	sete	%cl
	addl	%ecx, %edx
	cmpl	$2, %eax
	je	.L49
	cmpb	$111, %dil
	je	.L147
.L34:
	cmpl	$3, %eax
	je	.L49
	cmpb	$111, %r8b
	je	.L148
.L35:
	cmpl	$4, %eax
	je	.L49
	cmpb	$111, %r9b
	je	.L149
.L36:
	cmpl	$5, %eax
	je	.L49
	cmpb	$111, %r10b
	jne	.L37
	addl	$1, %edx
.L37:
	cmpl	$6, %eax
	je	.L49
	cmpb	$111, %r11b
	jne	.L38
	addl	$1, %edx
.L38:
	cmpl	$7, %eax
	je	.L49
	cmpb	$111, %bl
	je	.L150
	cmpl	$8, %eax
	je	.L49
.L51:
	cmpb	$111, %bpl
	jne	.L41
	addl	$1, %edx
.L41:
	cmpl	$9, %eax
	je	.L40
	cmpb	$111, %r12b
	je	.L151
.L42:
	cmpl	$10, %eax
	je	.L40
	cmpb	$111, %r13b
	je	.L152
.L43:
	cmpl	$11, %eax
	je	.L40
	cmpb	$111, %r14b
	je	.L153
.L44:
	cmpl	$12, %eax
	je	.L40
	cmpb	$111, 14(%rsp)
	je	.L154
.L45:
	cmpl	$13, %eax
	je	.L40
	cmpb	$111, 15(%rsp)
	jne	.L46
	addl	$1, %edx
.L46:
	cmpl	$15, %eax
	jne	.L40
	cmpb	$1, %r15b
	sbbl	$-1, %edx
.L40:
	cmpl	$7, %edx
	jle	.L49
.L31:
	leaq	.LC1(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
.L50:
	movq	40(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L155
	addq	$56, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%rbp
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	ret
.L49:
	.cfi_restore_state
	movl	$8, %ecx
	subl	%edx, %ecx
	movl	$15, %edx
	subl	%eax, %edx
	cmpl	%edx, %ecx
	jle	.L31
	leaq	.LC2(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	jmp	.L50
.L65:
	movzbl	30(%rsp), %r15d
	addl	$1, %eax
	cmpb	$111, %r15b
	sete	%cl
	cmpb	$120, %r15b
	sete	%r15b
	orb	%cl, %r15b
	jne	.L28
	jmp	.L29
.L64:
	addl	$1, %eax
	jmp	.L24
.L63:
	addl	$1, %eax
	jmp	.L22
.L62:
	addl	$1, %eax
	jmp	.L20
.L61:
	addl	$1, %eax
	jmp	.L18
.L60:
	addl	$1, %eax
	jmp	.L16
.L59:
	addl	$1, %eax
	jmp	.L14
.L58:
	addl	$1, %eax
	jmp	.L12
.L57:
	addl	$1, %eax
	jmp	.L10
.L56:
	addl	$1, %eax
	jmp	.L8
.L55:
	addl	$1, %eax
	jmp	.L6
.L54:
	addl	$1, %eax
	jmp	.L4
.L53:
	addl	$1, %eax
	jmp	.L2
.L30:
	testl	%eax, %eax
	jne	.L29
	jmp	.L31
.L147:
	addl	$1, %edx
	jmp	.L34
.L148:
	addl	$1, %edx
	jmp	.L35
.L149:
	addl	$1, %edx
	jmp	.L36
.L151:
	addl	$1, %edx
	jmp	.L42
.L152:
	addl	$1, %edx
	jmp	.L43
.L153:
	addl	$1, %edx
	jmp	.L44
.L154:
	addl	$1, %edx
	jmp	.L45
.L150:
	addl	$1, %edx
	cmpl	$8, %eax
	jne	.L51
	jmp	.L40
.L155:
	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(void)
{
	int k = 0;
	char m[20];
	scanf("%s", m);
	int i;
	int n = 0;
	for (i = 0; i < 15; i++) {
		if ('o' == m[i] || 'x' == m[i]) {
			k++;
		}


	}
	for (i = 0; i < k; i++) {
		if ('o' == m[i]) {
			n++;
		}


	}
	if (n >= 8) {
		printf("YES");
	}
	else if (8 - n <= 15 - k) {
		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 k = 0;
	char m[20];
	scanf("%s", m);
	int i;
	int n = 0;
	for (i = 0; i < 15; i++) {
		if ('o' == m[i] || 'x' == m[i]) {
			k++;
		}


	}
	for (i = 0; i < k; i++) {
		if ('o' == m[i]) {
			n++;
		}


	}
	if (n >= 8) {
		printf("YES");
	}
	else if (8 - n <= 15 - k) {
		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:

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>

int main(void)
{
	int k = 0;
	char m[20];
	scanf("%s", m);
	int i;
	int n = 0;
	for (i = 0; i < 15; i++) {
		if ('o' == m[i] || 'x' == m[i]) {
			k++;
		}


	}
	for (i = 0; i < k; i++) {
		if ('o' == m[i]) {
			n++;
		}


	}
	if (n >= 8) {
		printf("YES");
	}
	else if (8 - n <= 15 - k) {
		printf("YES");
	}
	else {
		printf("NO");
	}
	return 0;
}```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%s"
.LC1:
	.string	"YES"
.LC2:
	.string	"NO"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	leaq	.LC0(%rip), %rdi
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	subq	$56, %rsp
	.cfi_def_cfa_offset 112
	movq	%fs:40, %rax
	movq	%rax, 40(%rsp)
	xorl	%eax, %eax
	leaq	16(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movzbl	16(%rsp), %edx
	movzbl	17(%rsp), %esi
	cmpb	$111, %dl
	sete	%al
	cmpb	$120, %dl
	sete	%cl
	orl	%ecx, %eax
	movzbl	%al, %eax
	cmpb	$111, %sil
	je	.L53
	cmpb	$120, %sil
	je	.L53
.L2:
	movzbl	18(%rsp), %edi
	cmpb	$111, %dil
	je	.L54
	cmpb	$120, %dil
	je	.L54
.L4:
	movzbl	19(%rsp), %r8d
	cmpb	$111, %r8b
	je	.L55
	cmpb	$120, %r8b
	je	.L55
.L6:
	movzbl	20(%rsp), %r9d
	cmpb	$111, %r9b
	je	.L56
	cmpb	$120, %r9b
	je	.L56
.L8:
	movzbl	21(%rsp), %r10d
	cmpb	$111, %r10b
	je	.L57
	cmpb	$120, %r10b
	je	.L57
.L10:
	movzbl	22(%rsp), %r11d
	cmpb	$111, %r11b
	je	.L58
	cmpb	$120, %r11b
	je	.L58
.L12:
	movzbl	23(%rsp), %ebx
	cmpb	$111, %bl
	je	.L59
	cmpb	$120, %bl
	je	.L59
.L14:
	movzbl	24(%rsp), %ebp
	cmpb	$111, %bpl
	je	.L60
	cmpb	$120, %bpl
	je	.L60
.L16:
	movzbl	25(%rsp), %r12d
	cmpb	$111, %r12b
	je	.L61
	cmpb	$120, %r12b
	je	.L61
.L18:
	movzbl	26(%rsp), %r13d
	cmpb	$111, %r13b
	je	.L62
	cmpb	$120, %r13b
	je	.L62
.L20:
	movzbl	27(%rsp), %r14d
	cmpb	$111, %r14b
	je	.L63
	cmpb	$120, %r14b
	je	.L63
.L22:
	movzbl	28(%rsp), %ecx
	movb	%cl, 14(%rsp)
	cmpb	$111, %cl
	je	.L64
	cmpb	$120, %cl
	je	.L64
.L24:
	movzbl	29(%rsp), %ecx
	movb	%cl, 15(%rsp)
	cmpb	$111, %cl
	je	.L65
	cmpb	$120, %cl
	je	.L65
	movzbl	30(%rsp), %r15d
	cmpb	$111, %r15b
	sete	%cl
	cmpb	$120, %r15b
	sete	%r15b
	orb	%cl, %r15b
	je	.L30
.L28:
	addl	$1, %eax
	movl	%ecx, %r15d
.L29:
	cmpb	$111, %dl
	sete	%dl
	movzbl	%dl, %edx
	cmpl	$1, %eax
	je	.L49
	xorl	%ecx, %ecx
	cmpb	$111, %sil
	sete	%cl
	addl	%ecx, %edx
	cmpl	$2, %eax
	je	.L49
	cmpb	$111, %dil
	je	.L147
.L34:
	cmpl	$3, %eax
	je	.L49
	cmpb	$111, %r8b
	je	.L148
.L35:
	cmpl	$4, %eax
	je	.L49
	cmpb	$111, %r9b
	je	.L149
.L36:
	cmpl	$5, %eax
	je	.L49
	cmpb	$111, %r10b
	jne	.L37
	addl	$1, %edx
.L37:
	cmpl	$6, %eax
	je	.L49
	cmpb	$111, %r11b
	jne	.L38
	addl	$1, %edx
.L38:
	cmpl	$7, %eax
	je	.L49
	cmpb	$111, %bl
	je	.L150
	cmpl	$8, %eax
	je	.L49
.L51:
	cmpb	$111, %bpl
	jne	.L41
	addl	$1, %edx
.L41:
	cmpl	$9, %eax
	je	.L40
	cmpb	$111, %r12b
	je	.L151
.L42:
	cmpl	$10, %eax
	je	.L40
	cmpb	$111, %r13b
	je	.L152
.L43:
	cmpl	$11, %eax
	je	.L40
	cmpb	$111, %r14b
	je	.L153
.L44:
	cmpl	$12, %eax
	je	.L40
	cmpb	$111, 14(%rsp)
	je	.L154
.L45:
	cmpl	$13, %eax
	je	.L40
	cmpb	$111, 15(%rsp)
	jne	.L46
	addl	$1, %edx
.L46:
	cmpl	$15, %eax
	jne	.L40
	cmpb	$1, %r15b
	sbbl	$-1, %edx
.L40:
	cmpl	$7, %edx
	jle	.L49
.L31:
	leaq	.LC1(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
.L50:
	movq	40(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L155
	addq	$56, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%rbp
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	ret
.L49:
	.cfi_restore_state
	movl	$8, %ecx
	subl	%edx, %ecx
	movl	$15, %edx
	subl	%eax, %edx
	cmpl	%edx, %ecx
	jle	.L31
	leaq	.LC2(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	jmp	.L50
.L65:
	movzbl	30(%rsp), %r15d
	addl	$1, %eax
	cmpb	$111, %r15b
	sete	%cl
	cmpb	$120, %r15b
	sete	%r15b
	orb	%cl, %r15b
	jne	.L28
	jmp	.L29
.L64:
	addl	$1, %eax
	jmp	.L24
.L63:
	addl	$1, %eax
	jmp	.L22
.L62:
	addl	$1, %eax
	jmp	.L20
.L61:
	addl	$1, %eax
	jmp	.L18
.L60:
	addl	$1, %eax
	jmp	.L16
.L59:
	addl	$1, %eax
	jmp	.L14
.L58:
	addl	$1, %eax
	jmp	.L12
.L57:
	addl	$1, %eax
	jmp	.L10
.L56:
	addl	$1, %eax
	jmp	.L8
.L55:
	addl	$1, %eax
	jmp	.L6
.L54:
	addl	$1, %eax
	jmp	.L4
.L53:
	addl	$1, %eax
	jmp	.L2
.L30:
	testl	%eax, %eax
	jne	.L29
	jmp	.L31
.L147:
	addl	$1, %edx
	jmp	.L34
.L148:
	addl	$1, %edx
	jmp	.L35
.L149:
	addl	$1, %edx
	jmp	.L36
.L151:
	addl	$1, %edx
	jmp	.L42
.L152:
	addl	$1, %edx
	jmp	.L43
.L153:
	addl	$1, %edx
	jmp	.L44
.L154:
	addl	$1, %edx
	jmp	.L45
.L150:
	addl	$1, %edx
	cmpl	$8, %eax
	jne	.L51
	jmp	.L40
.L155:
	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	"%s"
.LC1:
	.string	"YES"
.LC2:
	.string	"NO"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	leaq	.LC0(%rip), %rdi
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	subq	$56, %rsp
	.cfi_def_cfa_offset 112
	movq	%fs:40, %rax
	movq	%rax, 40(%rsp)
	xorl	%eax, %eax
	leaq	16(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movzbl	16(%rsp), %edx
	movzbl	17(%rsp), %esi
	cmpb	$111, %dl
	sete	%al
	cmpb	$120, %dl
	sete	%cl
	orl	%ecx, %eax
	movzbl	%al, %eax
	cmpb	$111, %sil
	je	.L53
	cmpb	$120, %sil
	je	.L53
.L2:
	movzbl	18(%rsp), %edi
	cmpb	$111, %dil
	je	.L54
	cmpb	$120, %dil
	je	.L54
.L4:
	movzbl	19(%rsp), %r8d
	cmpb	$111, %r8b
	je	.L55
	cmpb	$120, %r8b
	je	.L55
.L6:
	movzbl	20(%rsp), %r9d
	cmpb	$111, %r9b
	je	.L56
	cmpb	$120, %r9b
	je	.L56
.L8:
	movzbl	21(%rsp), %r10d
	cmpb	$111, %r10b
	je	.L57
	cmpb	$120, %r10b
	je	.L57
.L10:
	movzbl	22(%rsp), %r11d
	cmpb	$111, %r11b
	je	.L58
	cmpb	$120, %r11b
	je	.L58
.L12:
	movzbl	23(%rsp), %ebx
	cmpb	$111, %bl
	je	.L59
	cmpb	$120, %bl
	je	.L59
.L14:
	movzbl	24(%rsp), %ebp
	cmpb	$111, %bpl
	je	.L60
	cmpb	$120, %bpl
	je	.L60
.L16:
	movzbl	25(%rsp), %r12d
	cmpb	$111, %r12b
	je	.L61
	cmpb	$120, %r12b
	je	.L61
.L18:
	movzbl	26(%rsp), %r13d
	cmpb	$111, %r13b
	je	.L62
	cmpb	$120, %r13b
	je	.L62
.L20:
	movzbl	27(%rsp), %r14d
	cmpb	$111, %r14b
	je	.L63
	cmpb	$120, %r14b
	je	.L63
.L22:
	movzbl	28(%rsp), %ecx
	movb	%cl, 14(%rsp)
	cmpb	$111, %cl
	je	.L64
	cmpb	$120, %cl
	je	.L64
.L24:
	movzbl	29(%rsp), %ecx
	movb	%cl, 15(%rsp)
	cmpb	$111, %cl
	je	.L65
	cmpb	$120, %cl
	je	.L65
	movzbl	30(%rsp), %r15d
	cmpb	$111, %r15b
	sete	%cl
	cmpb	$120, %r15b
	sete	%r15b
	orb	%cl, %r15b
	je	.L30
.L28:
	addl	$1, %eax
	movl	%ecx, %r15d
.L29:
	cmpb	$111, %dl
	sete	%dl
	movzbl	%dl, %edx
	cmpl	$1, %eax
	je	.L49
	xorl	%ecx, %ecx
	cmpb	$111, %sil
	sete	%cl
	addl	%ecx, %edx
	cmpl	$2, %eax
	je	.L49
	cmpb	$111, %dil
	je	.L147
.L34:
	cmpl	$3, %eax
	je	.L49
	cmpb	$111, %r8b
	je	.L148
.L35:
	cmpl	$4, %eax
	je	.L49
	cmpb	$111, %r9b
	je	.L149
.L36:
	cmpl	$5, %eax
	je	.L49
	cmpb	$111, %r10b
	jne	.L37
	addl	$1, %edx
.L37:
	cmpl	$6, %eax
	je	.L49
	cmpb	$111, %r11b
	jne	.L38
	addl	$1, %edx
.L38:
	cmpl	$7, %eax
	je	.L49
	cmpb	$111, %bl
	je	.L150
	cmpl	$8, %eax
	je	.L49
.L51:
	cmpb	$111, %bpl
	jne	.L41
	addl	$1, %edx
.L41:
	cmpl	$9, %eax
	je	.L40
	cmpb	$111, %r12b
	je	.L151
.L42:
	cmpl	$10, %eax
	je	.L40
	cmpb	$111, %r13b
	je	.L152
.L43:
	cmpl	$11, %eax
	je	.L40
	cmpb	$111, %r14b
	je	.L153
.L44:
	cmpl	$12, %eax
	je	.L40
	cmpb	$111, 14(%rsp)
	je	.L154
.L45:
	cmpl	$13, %eax
	je	.L40
	cmpb	$111, 15(%rsp)
	jne	.L46
	addl	$1, %edx
.L46:
	cmpl	$15, %eax
	jne	.L40
	cmpb	$1, %r15b
	sbbl	$-1, %edx
.L40:
	cmpl	$7, %edx
	jle	.L49
.L31:
	leaq	.LC1(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
.L50:
	movq	40(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L155
	addq	$56, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%rbp
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	ret
.L49:
	.cfi_restore_state
	movl	$8, %ecx
	subl	%edx, %ecx
	movl	$15, %edx
	subl	%eax, %edx
	cmpl	%edx, %ecx
	jle	.L31
	leaq	.LC2(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	jmp	.L50
.L65:
	movzbl	30(%rsp), %r15d
	addl	$1, %eax
	cmpb	$111, %r15b
	sete	%cl
	cmpb	$120, %r15b
	sete	%r15b
	orb	%cl, %r15b
	jne	.L28
	jmp	.L29
.L64:
	addl	$1, %eax
	jmp	.L24
.L63:
	addl	$1, %eax
	jmp	.L22
.L62:
	addl	$1, %eax
	jmp	.L20
.L61:
	addl	$1, %eax
	jmp	.L18
.L60:
	addl	$1, %eax
	jmp	.L16
.L59:
	addl	$1, %eax
	jmp	.L14
.L58:
	addl	$1, %eax
	jmp	.L12
.L57:
	addl	$1, %eax
	jmp	.L10
.L56:
	addl	$1, %eax
	jmp	.L8
.L55:
	addl	$1, %eax
	jmp	.L6
.L54:
	addl	$1, %eax
	jmp	.L4
.L53:
	addl	$1, %eax
	jmp	.L2
.L30:
	testl	%eax, %eax
	jne	.L29
	jmp	.L31
.L147:
	addl	$1, %edx
	jmp	.L34
.L148:
	addl	$1, %edx
	jmp	.L35
.L149:
	addl	$1, %edx
	jmp	.L36
.L151:
	addl	$1, %edx
	jmp	.L42
.L152:
	addl	$1, %edx
	jmp	.L43
.L153:
	addl	$1, %edx
	jmp	.L44
.L154:
	addl	$1, %edx
	jmp	.L45
.L150:
	addl	$1, %edx
	cmpl	$8, %eax
	jne	.L51
	jmp	.L40
.L155:
	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:
```