Given the following C code and unoptimized 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;
}
    
    
```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.globl	comp
	.type	comp, @function
comp:
.LFB6:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	movq	%rdi, -8(%rbp)
	movq	%rsi, -16(%rbp)
	movq	-8(%rbp), %rax
	movl	(%rax), %edx
	movq	-16(%rbp), %rax
	movl	(%rax), %ecx
	movl	%edx, %eax
	subl	%ecx, %eax
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	comp, .-comp
	.globl	str
	.bss
	.align 32
	.type	str, @object
	.size	str, 50
str:
	.zero	50
	.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
	.section	.rodata
.LC0:
	.string	"%s"
.LC1:
	.string	"YES"
.LC2:
	.string	"NO"
	.text
	.globl	main
	.type	main, @function
main:
.LFB7:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$16, %rsp
	leaq	str(%rip), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -4(%rbp)
	jmp	.L4
.L7:
	movl	-4(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rax, %rax
	leaq	pat(%rip), %rdx
	addq	%rdx, %rax
	leaq	str(%rip), %rdx
	movq	%rdx, %rsi
	movq	%rax, %rdi
	call	strcmp@PLT
	testl	%eax, %eax
	jne	.L5
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	movl	$0, %eax
	jmp	.L6
.L5:
	addl	$1, -4(%rbp)
.L4:
	cmpl	$15, -4(%rbp)
	jle	.L7
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	movl	$0, %eax
.L6:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.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.
user
	.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
	.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:

#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;
}
    
    

KIHBR

YES

Given the following C code and unoptimized 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;
}
    
    
```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.globl	comp
	.type	comp, @function
comp:
.LFB6:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	movq	%rdi, -8(%rbp)
	movq	%rsi, -16(%rbp)
	movq	-8(%rbp), %rax
	movl	(%rax), %edx
	movq	-16(%rbp), %rax
	movl	(%rax), %ecx
	movl	%edx, %eax
	subl	%ecx, %eax
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	comp, .-comp
	.globl	str
	.bss
	.align 32
	.type	str, @object
	.size	str, 50
str:
	.zero	50
	.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
	.section	.rodata
.LC0:
	.string	"%s"
.LC1:
	.string	"YES"
.LC2:
	.string	"NO"
	.text
	.globl	main
	.type	main, @function
main:
.LFB7:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$16, %rsp
	leaq	str(%rip), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -4(%rbp)
	jmp	.L4
.L7:
	movl	-4(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rax, %rax
	leaq	pat(%rip), %rdx
	addq	%rdx, %rax
	leaq	str(%rip), %rdx
	movq	%rdx, %rsi
	movq	%rax, %rdi
	call	strcmp@PLT
	testl	%eax, %eax
	jne	.L5
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	movl	$0, %eax
	jmp	.L6
.L5:
	addl	$1, -4(%rbp)
.L4:
	cmpl	$15, -4(%rbp)
	jle	.L7
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	movl	$0, %eax
.L6:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.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.
train
	.file	"temp.c"
	.text
	.globl	comp
	.type	comp, @function
comp:
.LFB6:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	movq	%rdi, -8(%rbp)
	movq	%rsi, -16(%rbp)
	movq	-8(%rbp), %rax
	movl	(%rax), %edx
	movq	-16(%rbp), %rax
	movl	(%rax), %ecx
	movl	%edx, %eax
	subl	%ecx, %eax
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	comp, .-comp
	.globl	str
	.bss
	.align 32
	.type	str, @object
	.size	str, 50
str:
	.zero	50
	.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
	.section	.rodata
.LC0:
	.string	"%s"
.LC1:
	.string	"YES"
.LC2:
	.string	"NO"
	.text
	.globl	main
	.type	main, @function
main:
.LFB7:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$16, %rsp
	leaq	str(%rip), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -4(%rbp)
	jmp	.L4
.L7:
	movl	-4(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rax, %rax
	leaq	pat(%rip), %rdx
	addq	%rdx, %rax
	leaq	str(%rip), %rdx
	movq	%rdx, %rsi
	movq	%rax, %rdi
	call	strcmp@PLT
	testl	%eax, %eax
	jne	.L5
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	movl	$0, %eax
	jmp	.L6
.L5:
	addl	$1, -4(%rbp)
.L4:
	cmpl	$15, -4(%rbp)
	jle	.L7
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	movl	$0, %eax
.L6:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.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:
