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 <stdlib.h>
#include <string.h>
#include <time.h>
#include <math.h>
#include <limits.h>
#include <assert.h>
#define FOR(i,a,n) for(i=(a);i<(n);i++)
#define swap(type,a,b) do{type t=a;a=b;b=t;}while(0)
#define MAX(a,b) (((a)>(b))?(a):(b))
#define MIN(a,b) (((a)<(b))?(a):(b))
#define ll long long
#define INF 100000000
#define MOD 1000000007
#define SIZE 100005
#define LOCAL
#ifdef LOCAL
    #define DEBUG(...) printf(" "__VA_ARGS__)
#else
    #define DEBUG(...)
#endif /* LOCAL */
int comp(const void* a,const void* b){
	return *(int*)a-*(int*)b;
}
char str[50];
char pat[16][10]={
"KIHBR","AKIHBR","KIHABR","KIHBAR","KIHBRA",
"AKIHABR","AKIHBAR","AKIHBRA","AKIHABAR","AKIHABRA","AKIHBARA",
"AKIHABARA","KIHABAR","KIHABRA","KIHBARA","KIHABARA"
};
int main(void)
{
	int i;
	scanf("%s",str);
	FOR(i,0,16){
		if(strcmp(pat[i],str)==0){
			puts("YES");
			return 0;
		}
	}
	puts("NO");
	return 0;
}
    
    
```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.p2align 4
	.globl	comp
	.type	comp, @function
comp:
.LFB51:
	.cfi_startproc
	endbr64
	movl	(%rdi), %eax
	subl	(%rsi), %eax
	ret
	.cfi_endproc
.LFE51:
	.size	comp, .-comp
	.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:
.LFB52:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	leaq	str(%rip), %rbp
	leaq	.LC0(%rip), %rdi
	xorl	%eax, %eax
	movq	%rbp, %rsi
	call	__isoc99_scanf@PLT
	movq	%rbp, %rsi
	leaq	pat(%rip), %rdi
	call	strcmp@PLT
	testl	%eax, %eax
	je	.L4
	movq	%rbp, %rsi
	leaq	10+pat(%rip), %rdi
	call	strcmp@PLT
	testl	%eax, %eax
	je	.L4
	movq	%rbp, %rsi
	leaq	20+pat(%rip), %rdi
	call	strcmp@PLT
	testl	%eax, %eax
	je	.L4
	movq	%rbp, %rsi
	leaq	30+pat(%rip), %rdi
	call	strcmp@PLT
	testl	%eax, %eax
	je	.L4
	movq	%rbp, %rsi
	leaq	40+pat(%rip), %rdi
	call	strcmp@PLT
	testl	%eax, %eax
	je	.L4
	movq	%rbp, %rsi
	leaq	50+pat(%rip), %rdi
	call	strcmp@PLT
	testl	%eax, %eax
	je	.L4
	movq	%rbp, %rsi
	leaq	60+pat(%rip), %rdi
	call	strcmp@PLT
	testl	%eax, %eax
	je	.L4
	movq	%rbp, %rsi
	leaq	70+pat(%rip), %rdi
	call	strcmp@PLT
	testl	%eax, %eax
	je	.L4
	movq	%rbp, %rsi
	leaq	80+pat(%rip), %rdi
	call	strcmp@PLT
	testl	%eax, %eax
	je	.L4
	movq	%rbp, %rsi
	leaq	90+pat(%rip), %rdi
	call	strcmp@PLT
	testl	%eax, %eax
	je	.L4
	movq	%rbp, %rsi
	leaq	100+pat(%rip), %rdi
	call	strcmp@PLT
	testl	%eax, %eax
	je	.L4
	movq	%rbp, %rsi
	leaq	110+pat(%rip), %rdi
	call	strcmp@PLT
	testl	%eax, %eax
	je	.L4
	movq	%rbp, %rsi
	leaq	120+pat(%rip), %rdi
	call	strcmp@PLT
	testl	%eax, %eax
	je	.L4
	movq	%rbp, %rsi
	leaq	130+pat(%rip), %rdi
	call	strcmp@PLT
	testl	%eax, %eax
	je	.L4
	movq	%rbp, %rsi
	leaq	140+pat(%rip), %rdi
	call	strcmp@PLT
	testl	%eax, %eax
	je	.L4
	movq	%rbp, %rsi
	leaq	150+pat(%rip), %rdi
	call	strcmp@PLT
	testl	%eax, %eax
	je	.L4
	leaq	.LC2(%rip), %rdi
	call	puts@PLT
.L6:
	xorl	%eax, %eax
	popq	%rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
.L4:
	.cfi_restore_state
	leaq	.LC1(%rip), %rdi
	call	puts@PLT
	jmp	.L6
	.cfi_endproc
.LFE52:
	.size	main, .-main
	.globl	pat
	.data
	.align 32
	.type	pat, @object
	.size	pat, 160
pat:
	.string	"KIHBR"
	.zero	4
	.string	"AKIHBR"
	.zero	3
	.string	"KIHABR"
	.zero	3
	.string	"KIHBAR"
	.zero	3
	.string	"KIHBRA"
	.zero	3
	.string	"AKIHABR"
	.zero	2
	.string	"AKIHBAR"
	.zero	2
	.string	"AKIHBRA"
	.zero	2
	.string	"AKIHABAR"
	.zero	1
	.string	"AKIHABRA"
	.zero	1
	.string	"AKIHBARA"
	.zero	1
	.string	"AKIHABARA"
	.string	"KIHABAR"
	.zero	2
	.string	"KIHABRA"
	.zero	2
	.string	"KIHBARA"
	.zero	2
	.string	"KIHABARA"
	.zero	1
	.globl	str
	.bss
	.align 32
	.type	str, @object
	.size	str, 50
str:
	.zero	50
	.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
	.p2align 4
	.globl	comp
	.type	comp, @function
comp:
.LFB51:
	.cfi_startproc
	endbr64
	movl	(%rdi), %eax
	subl	(%rsi), %eax
	ret
	.cfi_endproc
.LFE51:
	.size	comp, .-comp
	.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:
.LFB52:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	leaq	str(%rip), %rbp
	leaq	.LC0(%rip), %rdi
	xorl	%eax, %eax
	movq	%rbp, %rsi
	call	__isoc99_scanf@PLT
	movq	%rbp, %rsi
	leaq	pat(%rip), %rdi
	call	strcmp@PLT
	testl	%eax, %eax
	je	.L4
	movq	%rbp, %rsi
	leaq	10+pat(%rip), %rdi
	call	strcmp@PLT
	testl	%eax, %eax
	je	.L4
	movq	%rbp, %rsi
	leaq	20+pat(%rip), %rdi
	call	strcmp@PLT
	testl	%eax, %eax
	je	.L4
	movq	%rbp, %rsi
	leaq	30+pat(%rip), %rdi
	call	strcmp@PLT
	testl	%eax, %eax
	je	.L4
	movq	%rbp, %rsi
	leaq	40+pat(%rip), %rdi
	call	strcmp@PLT
	testl	%eax, %eax
	je	.L4
	movq	%rbp, %rsi
	leaq	50+pat(%rip), %rdi
	call	strcmp@PLT
	testl	%eax, %eax
	je	.L4
	movq	%rbp, %rsi
	leaq	60+pat(%rip), %rdi
	call	strcmp@PLT
	testl	%eax, %eax
	je	.L4
	movq	%rbp, %rsi
	leaq	70+pat(%rip), %rdi
	call	strcmp@PLT
	testl	%eax, %eax
	je	.L4
	movq	%rbp, %rsi
	leaq	80+pat(%rip), %rdi
	call	strcmp@PLT
	testl	%eax, %eax
	je	.L4
	movq	%rbp, %rsi
	leaq	90+pat(%rip), %rdi
	call	strcmp@PLT
	testl	%eax, %eax
	je	.L4
	movq	%rbp, %rsi
	leaq	100+pat(%rip), %rdi
	call	strcmp@PLT
	testl	%eax, %eax
	je	.L4
	movq	%rbp, %rsi
	leaq	110+pat(%rip), %rdi
	call	strcmp@PLT
	testl	%eax, %eax
	je	.L4
	movq	%rbp, %rsi
	leaq	120+pat(%rip), %rdi
	call	strcmp@PLT
	testl	%eax, %eax
	je	.L4
	movq	%rbp, %rsi
	leaq	130+pat(%rip), %rdi
	call	strcmp@PLT
	testl	%eax, %eax
	je	.L4
	movq	%rbp, %rsi
	leaq	140+pat(%rip), %rdi
	call	strcmp@PLT
	testl	%eax, %eax
	je	.L4
	movq	%rbp, %rsi
	leaq	150+pat(%rip), %rdi
	call	strcmp@PLT
	testl	%eax, %eax
	je	.L4
	leaq	.LC2(%rip), %rdi
	call	puts@PLT
.L6:
	xorl	%eax, %eax
	popq	%rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
.L4:
	.cfi_restore_state
	leaq	.LC1(%rip), %rdi
	call	puts@PLT
	jmp	.L6
	.cfi_endproc
.LFE52:
	.size	main, .-main
	.globl	pat
	.data
	.align 32
	.type	pat, @object
	.size	pat, 160
pat:
	.string	"KIHBR"
	.zero	4
	.string	"AKIHBR"
	.zero	3
	.string	"KIHABR"
	.zero	3
	.string	"KIHBAR"
	.zero	3
	.string	"KIHBRA"
	.zero	3
	.string	"AKIHABR"
	.zero	2
	.string	"AKIHBAR"
	.zero	2
	.string	"AKIHBRA"
	.zero	2
	.string	"AKIHABAR"
	.zero	1
	.string	"AKIHABRA"
	.zero	1
	.string	"AKIHBARA"
	.zero	1
	.string	"AKIHABARA"
	.string	"KIHABAR"
	.zero	2
	.string	"KIHABRA"
	.zero	2
	.string	"KIHBARA"
	.zero	2
	.string	"KIHABARA"
	.zero	1
	.globl	str
	.bss
	.align 32
	.type	str, @object
	.size	str, 50
str:
	.zero	50
	.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
	.p2align 4
	.globl	comp
	.type	comp, @function
comp:
.LFB51:
	.cfi_startproc
	endbr64
	movl	(%rdi), %eax
	subl	(%rsi), %eax
	ret
	.cfi_endproc
.LFE51:
	.size	comp, .-comp
	.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:
.LFB52:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	leaq	str(%rip), %rbp
	leaq	.LC0(%rip), %rdi
	xorl	%eax, %eax
	movq	%rbp, %rsi
	call	__isoc99_scanf@PLT
	movq	%rbp, %rsi
	leaq	pat(%rip), %rdi
	call	strcmp@PLT
	testl	%eax, %eax
	je	.L4
	movq	%rbp, %rsi
	leaq	10+pat(%rip), %rdi
	call	strcmp@PLT
	testl	%eax, %eax
	je	.L4
	movq	%rbp, %rsi
	leaq	20+pat(%rip), %rdi
	call	strcmp@PLT
	testl	%eax, %eax
	je	.L4
	movq	%rbp, %rsi
	leaq	30+pat(%rip), %rdi
	call	strcmp@PLT
	testl	%eax, %eax
	je	.L4
	movq	%rbp, %rsi
	leaq	40+pat(%rip), %rdi
	call	strcmp@PLT
	testl	%eax, %eax
	je	.L4
	movq	%rbp, %rsi
	leaq	50+pat(%rip), %rdi
	call	strcmp@PLT
	testl	%eax, %eax
	je	.L4
	movq	%rbp, %rsi
	leaq	60+pat(%rip), %rdi
	call	strcmp@PLT
	testl	%eax, %eax
	je	.L4
	movq	%rbp, %rsi
	leaq	70+pat(%rip), %rdi
	call	strcmp@PLT
	testl	%eax, %eax
	je	.L4
	movq	%rbp, %rsi
	leaq	80+pat(%rip), %rdi
	call	strcmp@PLT
	testl	%eax, %eax
	je	.L4
	movq	%rbp, %rsi
	leaq	90+pat(%rip), %rdi
	call	strcmp@PLT
	testl	%eax, %eax
	je	.L4
	movq	%rbp, %rsi
	leaq	100+pat(%rip), %rdi
	call	strcmp@PLT
	testl	%eax, %eax
	je	.L4
	movq	%rbp, %rsi
	leaq	110+pat(%rip), %rdi
	call	strcmp@PLT
	testl	%eax, %eax
	je	.L4
	movq	%rbp, %rsi
	leaq	120+pat(%rip), %rdi
	call	strcmp@PLT
	testl	%eax, %eax
	je	.L4
	movq	%rbp, %rsi
	leaq	130+pat(%rip), %rdi
	call	strcmp@PLT
	testl	%eax, %eax
	je	.L4
	movq	%rbp, %rsi
	leaq	140+pat(%rip), %rdi
	call	strcmp@PLT
	testl	%eax, %eax
	je	.L4
	movq	%rbp, %rsi
	leaq	150+pat(%rip), %rdi
	call	strcmp@PLT
	testl	%eax, %eax
	je	.L4
	leaq	.LC2(%rip), %rdi
	call	puts@PLT
.L6:
	xorl	%eax, %eax
	popq	%rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
.L4:
	.cfi_restore_state
	leaq	.LC1(%rip), %rdi
	call	puts@PLT
	jmp	.L6
	.cfi_endproc
.LFE52:
	.size	main, .-main
	.globl	pat
	.data
	.align 32
	.type	pat, @object
	.size	pat, 160
pat:
	.string	"KIHBR"
	.zero	4
	.string	"AKIHBR"
	.zero	3
	.string	"KIHABR"
	.zero	3
	.string	"KIHBAR"
	.zero	3
	.string	"KIHBRA"
	.zero	3
	.string	"AKIHABR"
	.zero	2
	.string	"AKIHBAR"
	.zero	2
	.string	"AKIHBRA"
	.zero	2
	.string	"AKIHABAR"
	.zero	1
	.string	"AKIHABRA"
	.zero	1
	.string	"AKIHBARA"
	.zero	1
	.string	"AKIHABARA"
	.string	"KIHABAR"
	.zero	2
	.string	"KIHABRA"
	.zero	2
	.string	"KIHBARA"
	.zero	2
	.string	"KIHABARA"
	.zero	1
	.globl	str
	.bss
	.align 32
	.type	str, @object
	.size	str, 50
str:
	.zero	50
	.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 <stdlib.h>
#include <string.h>
#include <time.h>
#include <math.h>
#include <limits.h>
#include <assert.h>
#define FOR(i,a,n) for(i=(a);i<(n);i++)
#define swap(type,a,b) do{type t=a;a=b;b=t;}while(0)
#define MAX(a,b) (((a)>(b))?(a):(b))
#define MIN(a,b) (((a)<(b))?(a):(b))
#define ll long long
#define INF 100000000
#define MOD 1000000007
#define SIZE 100005
#define LOCAL
#ifdef LOCAL
    #define DEBUG(...) printf(" "__VA_ARGS__)
#else
    #define DEBUG(...)
#endif /* LOCAL */
int comp(const void* a,const void* b){
	return *(int*)a-*(int*)b;
}
char str[50];
char pat[16][10]={
"KIHBR","AKIHBR","KIHABR","KIHBAR","KIHBRA",
"AKIHABR","AKIHBAR","AKIHBRA","AKIHABAR","AKIHABRA","AKIHBARA",
"AKIHABARA","KIHABAR","KIHABRA","KIHBARA","KIHABARA"
};
int main(void)
{
	int i;
	scanf("%s",str);
	FOR(i,0,16){
		if(strcmp(pat[i],str)==0){
			puts("YES");
			return 0;
		}
	}
	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 <stdlib.h>
#include <string.h>
#include <time.h>
#include <math.h>
#include <limits.h>
#include <assert.h>
#define FOR(i,a,n) for(i=(a);i<(n);i++)
#define swap(type,a,b) do{type t=a;a=b;b=t;}while(0)
#define MAX(a,b) (((a)>(b))?(a):(b))
#define MIN(a,b) (((a)<(b))?(a):(b))
#define ll long long
#define INF 100000000
#define MOD 1000000007
#define SIZE 100005
#define LOCAL
#ifdef LOCAL
    #define DEBUG(...) printf(" "__VA_ARGS__)
#else
    #define DEBUG(...)
#endif /* LOCAL */
int comp(const void* a,const void* b){
	return *(int*)a-*(int*)b;
}
char str[50];
char pat[16][10]={
"KIHBR","AKIHBR","KIHABR","KIHBAR","KIHBRA",
"AKIHABR","AKIHBAR","AKIHBRA","AKIHABAR","AKIHABRA","AKIHBARA",
"AKIHABARA","KIHABAR","KIHABRA","KIHBARA","KIHABARA"
};
int main(void)
{
	int i;
	scanf("%s",str);
	FOR(i,0,16){
		if(strcmp(pat[i],str)==0){
			puts("YES");
			return 0;
		}
	}
	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:

KIHBR

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 <stdlib.h>
#include <string.h>
#include <time.h>
#include <math.h>
#include <limits.h>
#include <assert.h>
#define FOR(i,a,n) for(i=(a);i<(n);i++)
#define swap(type,a,b) do{type t=a;a=b;b=t;}while(0)
#define MAX(a,b) (((a)>(b))?(a):(b))
#define MIN(a,b) (((a)<(b))?(a):(b))
#define ll long long
#define INF 100000000
#define MOD 1000000007
#define SIZE 100005
#define LOCAL
#ifdef LOCAL
    #define DEBUG(...) printf(" "__VA_ARGS__)
#else
    #define DEBUG(...)
#endif /* LOCAL */
int comp(const void* a,const void* b){
	return *(int*)a-*(int*)b;
}
char str[50];
char pat[16][10]={
"KIHBR","AKIHBR","KIHABR","KIHBAR","KIHBRA",
"AKIHABR","AKIHBAR","AKIHBRA","AKIHABAR","AKIHABRA","AKIHBARA",
"AKIHABARA","KIHABAR","KIHABRA","KIHBARA","KIHABARA"
};
int main(void)
{
	int i;
	scanf("%s",str);
	FOR(i,0,16){
		if(strcmp(pat[i],str)==0){
			puts("YES");
			return 0;
		}
	}
	puts("NO");
	return 0;
}
    
    
```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.p2align 4
	.globl	comp
	.type	comp, @function
comp:
.LFB51:
	.cfi_startproc
	endbr64
	movl	(%rdi), %eax
	subl	(%rsi), %eax
	ret
	.cfi_endproc
.LFE51:
	.size	comp, .-comp
	.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:
.LFB52:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	leaq	str(%rip), %rbp
	leaq	.LC0(%rip), %rdi
	xorl	%eax, %eax
	movq	%rbp, %rsi
	call	__isoc99_scanf@PLT
	movq	%rbp, %rsi
	leaq	pat(%rip), %rdi
	call	strcmp@PLT
	testl	%eax, %eax
	je	.L4
	movq	%rbp, %rsi
	leaq	10+pat(%rip), %rdi
	call	strcmp@PLT
	testl	%eax, %eax
	je	.L4
	movq	%rbp, %rsi
	leaq	20+pat(%rip), %rdi
	call	strcmp@PLT
	testl	%eax, %eax
	je	.L4
	movq	%rbp, %rsi
	leaq	30+pat(%rip), %rdi
	call	strcmp@PLT
	testl	%eax, %eax
	je	.L4
	movq	%rbp, %rsi
	leaq	40+pat(%rip), %rdi
	call	strcmp@PLT
	testl	%eax, %eax
	je	.L4
	movq	%rbp, %rsi
	leaq	50+pat(%rip), %rdi
	call	strcmp@PLT
	testl	%eax, %eax
	je	.L4
	movq	%rbp, %rsi
	leaq	60+pat(%rip), %rdi
	call	strcmp@PLT
	testl	%eax, %eax
	je	.L4
	movq	%rbp, %rsi
	leaq	70+pat(%rip), %rdi
	call	strcmp@PLT
	testl	%eax, %eax
	je	.L4
	movq	%rbp, %rsi
	leaq	80+pat(%rip), %rdi
	call	strcmp@PLT
	testl	%eax, %eax
	je	.L4
	movq	%rbp, %rsi
	leaq	90+pat(%rip), %rdi
	call	strcmp@PLT
	testl	%eax, %eax
	je	.L4
	movq	%rbp, %rsi
	leaq	100+pat(%rip), %rdi
	call	strcmp@PLT
	testl	%eax, %eax
	je	.L4
	movq	%rbp, %rsi
	leaq	110+pat(%rip), %rdi
	call	strcmp@PLT
	testl	%eax, %eax
	je	.L4
	movq	%rbp, %rsi
	leaq	120+pat(%rip), %rdi
	call	strcmp@PLT
	testl	%eax, %eax
	je	.L4
	movq	%rbp, %rsi
	leaq	130+pat(%rip), %rdi
	call	strcmp@PLT
	testl	%eax, %eax
	je	.L4
	movq	%rbp, %rsi
	leaq	140+pat(%rip), %rdi
	call	strcmp@PLT
	testl	%eax, %eax
	je	.L4
	movq	%rbp, %rsi
	leaq	150+pat(%rip), %rdi
	call	strcmp@PLT
	testl	%eax, %eax
	je	.L4
	leaq	.LC2(%rip), %rdi
	call	puts@PLT
.L6:
	xorl	%eax, %eax
	popq	%rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
.L4:
	.cfi_restore_state
	leaq	.LC1(%rip), %rdi
	call	puts@PLT
	jmp	.L6
	.cfi_endproc
.LFE52:
	.size	main, .-main
	.globl	pat
	.data
	.align 32
	.type	pat, @object
	.size	pat, 160
pat:
	.string	"KIHBR"
	.zero	4
	.string	"AKIHBR"
	.zero	3
	.string	"KIHABR"
	.zero	3
	.string	"KIHBAR"
	.zero	3
	.string	"KIHBRA"
	.zero	3
	.string	"AKIHABR"
	.zero	2
	.string	"AKIHBAR"
	.zero	2
	.string	"AKIHBRA"
	.zero	2
	.string	"AKIHABAR"
	.zero	1
	.string	"AKIHABRA"
	.zero	1
	.string	"AKIHBARA"
	.zero	1
	.string	"AKIHABARA"
	.string	"KIHABAR"
	.zero	2
	.string	"KIHABRA"
	.zero	2
	.string	"KIHBARA"
	.zero	2
	.string	"KIHABARA"
	.zero	1
	.globl	str
	.bss
	.align 32
	.type	str, @object
	.size	str, 50
str:
	.zero	50
	.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
	.p2align 4
	.globl	comp
	.type	comp, @function
comp:
.LFB51:
	.cfi_startproc
	endbr64
	movl	(%rdi), %eax
	subl	(%rsi), %eax
	ret
	.cfi_endproc
.LFE51:
	.size	comp, .-comp
	.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:
.LFB52:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	leaq	str(%rip), %rbp
	leaq	.LC0(%rip), %rdi
	xorl	%eax, %eax
	movq	%rbp, %rsi
	call	__isoc99_scanf@PLT
	movq	%rbp, %rsi
	leaq	pat(%rip), %rdi
	call	strcmp@PLT
	testl	%eax, %eax
	je	.L4
	movq	%rbp, %rsi
	leaq	10+pat(%rip), %rdi
	call	strcmp@PLT
	testl	%eax, %eax
	je	.L4
	movq	%rbp, %rsi
	leaq	20+pat(%rip), %rdi
	call	strcmp@PLT
	testl	%eax, %eax
	je	.L4
	movq	%rbp, %rsi
	leaq	30+pat(%rip), %rdi
	call	strcmp@PLT
	testl	%eax, %eax
	je	.L4
	movq	%rbp, %rsi
	leaq	40+pat(%rip), %rdi
	call	strcmp@PLT
	testl	%eax, %eax
	je	.L4
	movq	%rbp, %rsi
	leaq	50+pat(%rip), %rdi
	call	strcmp@PLT
	testl	%eax, %eax
	je	.L4
	movq	%rbp, %rsi
	leaq	60+pat(%rip), %rdi
	call	strcmp@PLT
	testl	%eax, %eax
	je	.L4
	movq	%rbp, %rsi
	leaq	70+pat(%rip), %rdi
	call	strcmp@PLT
	testl	%eax, %eax
	je	.L4
	movq	%rbp, %rsi
	leaq	80+pat(%rip), %rdi
	call	strcmp@PLT
	testl	%eax, %eax
	je	.L4
	movq	%rbp, %rsi
	leaq	90+pat(%rip), %rdi
	call	strcmp@PLT
	testl	%eax, %eax
	je	.L4
	movq	%rbp, %rsi
	leaq	100+pat(%rip), %rdi
	call	strcmp@PLT
	testl	%eax, %eax
	je	.L4
	movq	%rbp, %rsi
	leaq	110+pat(%rip), %rdi
	call	strcmp@PLT
	testl	%eax, %eax
	je	.L4
	movq	%rbp, %rsi
	leaq	120+pat(%rip), %rdi
	call	strcmp@PLT
	testl	%eax, %eax
	je	.L4
	movq	%rbp, %rsi
	leaq	130+pat(%rip), %rdi
	call	strcmp@PLT
	testl	%eax, %eax
	je	.L4
	movq	%rbp, %rsi
	leaq	140+pat(%rip), %rdi
	call	strcmp@PLT
	testl	%eax, %eax
	je	.L4
	movq	%rbp, %rsi
	leaq	150+pat(%rip), %rdi
	call	strcmp@PLT
	testl	%eax, %eax
	je	.L4
	leaq	.LC2(%rip), %rdi
	call	puts@PLT
.L6:
	xorl	%eax, %eax
	popq	%rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
.L4:
	.cfi_restore_state
	leaq	.LC1(%rip), %rdi
	call	puts@PLT
	jmp	.L6
	.cfi_endproc
.LFE52:
	.size	main, .-main
	.globl	pat
	.data
	.align 32
	.type	pat, @object
	.size	pat, 160
pat:
	.string	"KIHBR"
	.zero	4
	.string	"AKIHBR"
	.zero	3
	.string	"KIHABR"
	.zero	3
	.string	"KIHBAR"
	.zero	3
	.string	"KIHBRA"
	.zero	3
	.string	"AKIHABR"
	.zero	2
	.string	"AKIHBAR"
	.zero	2
	.string	"AKIHBRA"
	.zero	2
	.string	"AKIHABAR"
	.zero	1
	.string	"AKIHABRA"
	.zero	1
	.string	"AKIHBARA"
	.zero	1
	.string	"AKIHABARA"
	.string	"KIHABAR"
	.zero	2
	.string	"KIHABRA"
	.zero	2
	.string	"KIHBARA"
	.zero	2
	.string	"KIHABARA"
	.zero	1
	.globl	str
	.bss
	.align 32
	.type	str, @object
	.size	str, 50
str:
	.zero	50
	.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:
```