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>
#define rep(i,X) for(i=0;i<X;i++)
char s[102],c[27];n,C,S,A,i,j,k,l;main(tab){scanf("%d%s",&n,c);C=strlen(c);rep(i,n){scanf("%s",s);S=strlen(s);rep(j,S){if(s[j]-c[0])continue;rep(k,199){tab=k+1;rep(l,199){if(l>=C){l=1;break;}if(j+tab*l>=S || s[j+tab*l]-c[l]){l=0;break;}}if(l){A++;goto E;}}}E:;}C=!printf("%d\n",A);}```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d%s"
.LC1:
	.string	"%d\n"
.LC2:
	.string	"%s"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB35:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	leaq	n(%rip), %rsi
	movl	%edi, %r15d
	xorl	%eax, %eax
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	leaq	c(%rip), %r14
	leaq	.LC0(%rip), %rdi
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	movq	%r14, %rdx
	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	$24, %rsp
	.cfi_def_cfa_offset 80
	call	__isoc99_scanf@PLT
	movq	%r14, %rdi
	call	strlen@PLT
	movl	$0, i(%rip)
	movl	%eax, C(%rip)
	movl	n(%rip), %eax
	testl	%eax, %eax
	jle	.L13
.L2:
	leaq	s(%rip), %rsi
	leaq	.LC2(%rip), %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	leaq	s(%rip), %rdi
	call	strlen@PLT
	movl	$0, j(%rip)
	movq	%rax, 8(%rsp)
	movl	%eax, %r10d
	movl	%eax, S(%rip)
	testq	%rax, %rax
	je	.L4
	movzbl	(%r14), %eax
	movl	C(%rip), %r11d
	xorl	%r13d, %r13d
	xorl	%ebx, %ebx
	movl	l(%rip), %edx
	leaq	s(%rip), %rbp
	movb	%al, 7(%rsp)
	xorl	%eax, %eax
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L5:
	addl	$1, %ebx
	addq	$1, %rbp
	movl	$1, %r13d
	cmpl	%ebx, %r10d
	je	.L30
	movl	%ebx, (%rsp)
.L11:
	movzbl	7(%rsp), %esi
	cmpb	%sil, 0(%rbp)
	jne	.L5
	movl	$1, %r8d
	.p2align 4,,10
	.p2align 3
.L10:
	movl	%r8d, %r9d
	leal	-1(%r8), %r12d
	movl	%r8d, %r15d
	movl	%ebx, %edx
	movq	%rbp, %rcx
	xorl	%eax, %eax
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L6:
	cmpl	%edx, %r10d
	jle	.L8
	movzbl	(%rcx), %edi
	movzbl	(%r14,%rax), %esi
	addq	%r8, %rcx
	addq	$1, %rax
	addl	%r9d, %edx
	cmpb	%sil, %dil
	jne	.L8
.L9:
	cmpl	%eax, %r11d
	jg	.L6
	testb	%r13b, %r13b
	je	.L7
	movl	(%rsp), %eax
	movl	%eax, j(%rip)
.L7:
	addl	$1, A(%rip)
	movl	%r12d, k(%rip)
	movl	$1, l(%rip)
.L4:
	movl	i(%rip), %eax
	addl	$1, %eax
	cmpl	n(%rip), %eax
	movl	%eax, i(%rip)
	jl	.L2
.L13:
	movl	A(%rip), %edx
	xorl	%eax, %eax
	movl	$1, %edi
	leaq	.LC1(%rip), %rsi
	call	__printf_chk@PLT
	testl	%eax, %eax
	sete	%al
	movzbl	%al, %eax
	movl	%eax, C(%rip)
	addq	$24, %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
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	addq	$1, %r8
	cmpq	$200, %r8
	jne	.L10
	movl	$1, %eax
	xorl	%edx, %edx
	jmp	.L5
.L30:
	movl	8(%rsp), %ebx
	movl	%ebx, j(%rip)
	testb	%al, %al
	je	.L4
	movl	%r15d, k(%rip)
	movl	%edx, l(%rip)
	jmp	.L4
	.cfi_endproc
.LFE35:
	.size	main, .-main
	.globl	l
	.bss
	.align 4
	.type	l, @object
	.size	l, 4
l:
	.zero	4
	.globl	k
	.align 4
	.type	k, @object
	.size	k, 4
k:
	.zero	4
	.globl	j
	.align 4
	.type	j, @object
	.size	j, 4
j:
	.zero	4
	.globl	i
	.align 4
	.type	i, @object
	.size	i, 4
i:
	.zero	4
	.globl	A
	.align 4
	.type	A, @object
	.size	A, 4
A:
	.zero	4
	.globl	S
	.align 4
	.type	S, @object
	.size	S, 4
S:
	.zero	4
	.globl	C
	.align 4
	.type	C, @object
	.size	C, 4
C:
	.zero	4
	.globl	n
	.align 4
	.type	n, @object
	.size	n, 4
n:
	.zero	4
	.globl	c
	.align 16
	.type	c, @object
	.size	c, 27
c:
	.zero	27
	.globl	s
	.align 32
	.type	s, @object
	.size	s, 102
s:
	.zero	102
	.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	"%d%s"
.LC1:
	.string	"%d\n"
.LC2:
	.string	"%s"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB35:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	leaq	n(%rip), %rsi
	movl	%edi, %r15d
	xorl	%eax, %eax
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	leaq	c(%rip), %r14
	leaq	.LC0(%rip), %rdi
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	movq	%r14, %rdx
	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	$24, %rsp
	.cfi_def_cfa_offset 80
	call	__isoc99_scanf@PLT
	movq	%r14, %rdi
	call	strlen@PLT
	movl	$0, i(%rip)
	movl	%eax, C(%rip)
	movl	n(%rip), %eax
	testl	%eax, %eax
	jle	.L13
.L2:
	leaq	s(%rip), %rsi
	leaq	.LC2(%rip), %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	leaq	s(%rip), %rdi
	call	strlen@PLT
	movl	$0, j(%rip)
	movq	%rax, 8(%rsp)
	movl	%eax, %r10d
	movl	%eax, S(%rip)
	testq	%rax, %rax
	je	.L4
	movzbl	(%r14), %eax
	movl	C(%rip), %r11d
	xorl	%r13d, %r13d
	xorl	%ebx, %ebx
	movl	l(%rip), %edx
	leaq	s(%rip), %rbp
	movb	%al, 7(%rsp)
	xorl	%eax, %eax
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L5:
	addl	$1, %ebx
	addq	$1, %rbp
	movl	$1, %r13d
	cmpl	%ebx, %r10d
	je	.L30
	movl	%ebx, (%rsp)
.L11:
	movzbl	7(%rsp), %esi
	cmpb	%sil, 0(%rbp)
	jne	.L5
	movl	$1, %r8d
	.p2align 4,,10
	.p2align 3
.L10:
	movl	%r8d, %r9d
	leal	-1(%r8), %r12d
	movl	%r8d, %r15d
	movl	%ebx, %edx
	movq	%rbp, %rcx
	xorl	%eax, %eax
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L6:
	cmpl	%edx, %r10d
	jle	.L8
	movzbl	(%rcx), %edi
	movzbl	(%r14,%rax), %esi
	addq	%r8, %rcx
	addq	$1, %rax
	addl	%r9d, %edx
	cmpb	%sil, %dil
	jne	.L8
.L9:
	cmpl	%eax, %r11d
	jg	.L6
	testb	%r13b, %r13b
	je	.L7
	movl	(%rsp), %eax
	movl	%eax, j(%rip)
.L7:
	addl	$1, A(%rip)
	movl	%r12d, k(%rip)
	movl	$1, l(%rip)
.L4:
	movl	i(%rip), %eax
	addl	$1, %eax
	cmpl	n(%rip), %eax
	movl	%eax, i(%rip)
	jl	.L2
.L13:
	movl	A(%rip), %edx
	xorl	%eax, %eax
	movl	$1, %edi
	leaq	.LC1(%rip), %rsi
	call	__printf_chk@PLT
	testl	%eax, %eax
	sete	%al
	movzbl	%al, %eax
	movl	%eax, C(%rip)
	addq	$24, %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
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	addq	$1, %r8
	cmpq	$200, %r8
	jne	.L10
	movl	$1, %eax
	xorl	%edx, %edx
	jmp	.L5
.L30:
	movl	8(%rsp), %ebx
	movl	%ebx, j(%rip)
	testb	%al, %al
	je	.L4
	movl	%r15d, k(%rip)
	movl	%edx, l(%rip)
	jmp	.L4
	.cfi_endproc
.LFE35:
	.size	main, .-main
	.globl	l
	.bss
	.align 4
	.type	l, @object
	.size	l, 4
l:
	.zero	4
	.globl	k
	.align 4
	.type	k, @object
	.size	k, 4
k:
	.zero	4
	.globl	j
	.align 4
	.type	j, @object
	.size	j, 4
j:
	.zero	4
	.globl	i
	.align 4
	.type	i, @object
	.size	i, 4
i:
	.zero	4
	.globl	A
	.align 4
	.type	A, @object
	.size	A, 4
A:
	.zero	4
	.globl	S
	.align 4
	.type	S, @object
	.size	S, 4
S:
	.zero	4
	.globl	C
	.align 4
	.type	C, @object
	.size	C, 4
C:
	.zero	4
	.globl	n
	.align 4
	.type	n, @object
	.size	n, 4
n:
	.zero	4
	.globl	c
	.align 16
	.type	c, @object
	.size	c, 27
c:
	.zero	27
	.globl	s
	.align 32
	.type	s, @object
	.size	s, 102
s:
	.zero	102
	.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	"%d%s"
.LC1:
	.string	"%d\n"
.LC2:
	.string	"%s"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB35:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	leaq	n(%rip), %rsi
	movl	%edi, %r15d
	xorl	%eax, %eax
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	leaq	c(%rip), %r14
	leaq	.LC0(%rip), %rdi
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	movq	%r14, %rdx
	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	$24, %rsp
	.cfi_def_cfa_offset 80
	call	__isoc99_scanf@PLT
	movq	%r14, %rdi
	call	strlen@PLT
	movl	$0, i(%rip)
	movl	%eax, C(%rip)
	movl	n(%rip), %eax
	testl	%eax, %eax
	jle	.L13
.L2:
	leaq	s(%rip), %rsi
	leaq	.LC2(%rip), %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	leaq	s(%rip), %rdi
	call	strlen@PLT
	movl	$0, j(%rip)
	movq	%rax, 8(%rsp)
	movl	%eax, %r10d
	movl	%eax, S(%rip)
	testq	%rax, %rax
	je	.L4
	movzbl	(%r14), %eax
	movl	C(%rip), %r11d
	xorl	%r13d, %r13d
	xorl	%ebx, %ebx
	movl	l(%rip), %edx
	leaq	s(%rip), %rbp
	movb	%al, 7(%rsp)
	xorl	%eax, %eax
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L5:
	addl	$1, %ebx
	addq	$1, %rbp
	movl	$1, %r13d
	cmpl	%ebx, %r10d
	je	.L30
	movl	%ebx, (%rsp)
.L11:
	movzbl	7(%rsp), %esi
	cmpb	%sil, 0(%rbp)
	jne	.L5
	movl	$1, %r8d
	.p2align 4,,10
	.p2align 3
.L10:
	movl	%r8d, %r9d
	leal	-1(%r8), %r12d
	movl	%r8d, %r15d
	movl	%ebx, %edx
	movq	%rbp, %rcx
	xorl	%eax, %eax
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L6:
	cmpl	%edx, %r10d
	jle	.L8
	movzbl	(%rcx), %edi
	movzbl	(%r14,%rax), %esi
	addq	%r8, %rcx
	addq	$1, %rax
	addl	%r9d, %edx
	cmpb	%sil, %dil
	jne	.L8
.L9:
	cmpl	%eax, %r11d
	jg	.L6
	testb	%r13b, %r13b
	je	.L7
	movl	(%rsp), %eax
	movl	%eax, j(%rip)
.L7:
	addl	$1, A(%rip)
	movl	%r12d, k(%rip)
	movl	$1, l(%rip)
.L4:
	movl	i(%rip), %eax
	addl	$1, %eax
	cmpl	n(%rip), %eax
	movl	%eax, i(%rip)
	jl	.L2
.L13:
	movl	A(%rip), %edx
	xorl	%eax, %eax
	movl	$1, %edi
	leaq	.LC1(%rip), %rsi
	call	__printf_chk@PLT
	testl	%eax, %eax
	sete	%al
	movzbl	%al, %eax
	movl	%eax, C(%rip)
	addq	$24, %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
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	addq	$1, %r8
	cmpq	$200, %r8
	jne	.L10
	movl	$1, %eax
	xorl	%edx, %edx
	jmp	.L5
.L30:
	movl	8(%rsp), %ebx
	movl	%ebx, j(%rip)
	testb	%al, %al
	je	.L4
	movl	%r15d, k(%rip)
	movl	%edx, l(%rip)
	jmp	.L4
	.cfi_endproc
.LFE35:
	.size	main, .-main
	.globl	l
	.bss
	.align 4
	.type	l, @object
	.size	l, 4
l:
	.zero	4
	.globl	k
	.align 4
	.type	k, @object
	.size	k, 4
k:
	.zero	4
	.globl	j
	.align 4
	.type	j, @object
	.size	j, 4
j:
	.zero	4
	.globl	i
	.align 4
	.type	i, @object
	.size	i, 4
i:
	.zero	4
	.globl	A
	.align 4
	.type	A, @object
	.size	A, 4
A:
	.zero	4
	.globl	S
	.align 4
	.type	S, @object
	.size	S, 4
S:
	.zero	4
	.globl	C
	.align 4
	.type	C, @object
	.size	C, 4
C:
	.zero	4
	.globl	n
	.align 4
	.type	n, @object
	.size	n, 4
n:
	.zero	4
	.globl	c
	.align 16
	.type	c, @object
	.size	c, 27
c:
	.zero	27
	.globl	s
	.align 32
	.type	s, @object
	.size	s, 102
s:
	.zero	102
	.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>
#define rep(i,X) for(i=0;i<X;i++)
char s[102],c[27];n,C,S,A,i,j,k,l;main(tab){scanf("%d%s",&n,c);C=strlen(c);rep(i,n){scanf("%s",s);S=strlen(s);rep(j,S){if(s[j]-c[0])continue;rep(k,199){tab=k+1;rep(l,199){if(l>=C){l=1;break;}if(j+tab*l>=S || s[j+tab*l]-c[l]){l=0;break;}}if(l){A++;goto E;}}}E:;}C=!printf("%d\n",A);}```
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>
#define rep(i,X) for(i=0;i<X;i++)
char s[102],c[27];n,C,S,A,i,j,k,l;main(tab){scanf("%d%s",&n,c);C=strlen(c);rep(i,n){scanf("%s",s);S=strlen(s);rep(j,S){if(s[j]-c[0])continue;rep(k,199){tab=k+1;rep(l,199){if(l>=C){l=1;break;}if(j+tab*l>=S || s[j+tab*l]-c[l]){l=0;break;}}if(l){A++;goto E;}}}E:;}C=!printf("%d\n",A);}```

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
bar
abracadabra
bear
bar
bbraxbara
 4
rab
abracadabra
bear
bar
bbraxbara
 4
rab
abracadabra
bear
bar
arabxarbb
 4
qab
abracadabra
bear
bar
arabxarbb
 4
qab
abracadabra
bear
bra
arabxarbb
 4
qab
abrbcadaara
bear
bra
arabxarbb
 4
qab
abrbcadaara
bear
bra
arbbxarbb
 4
qab
abrbcadaara
raeb
bra
arbbxarbb
 4
qab
abrbcadaara
rafb
bra
arbbxarbb
 4
baq
abrbcadaara
rafb
bra
arbbxarbb

3
 1
 2
 0
 0
 0
 0
 0
 0
 0

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>
#define rep(i,X) for(i=0;i<X;i++)
char s[102],c[27];n,C,S,A,i,j,k,l;main(tab){scanf("%d%s",&n,c);C=strlen(c);rep(i,n){scanf("%s",s);S=strlen(s);rep(j,S){if(s[j]-c[0])continue;rep(k,199){tab=k+1;rep(l,199){if(l>=C){l=1;break;}if(j+tab*l>=S || s[j+tab*l]-c[l]){l=0;break;}}if(l){A++;goto E;}}}E:;}C=!printf("%d\n",A);}```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d%s"
.LC1:
	.string	"%d\n"
.LC2:
	.string	"%s"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB35:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	leaq	n(%rip), %rsi
	movl	%edi, %r15d
	xorl	%eax, %eax
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	leaq	c(%rip), %r14
	leaq	.LC0(%rip), %rdi
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	movq	%r14, %rdx
	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	$24, %rsp
	.cfi_def_cfa_offset 80
	call	__isoc99_scanf@PLT
	movq	%r14, %rdi
	call	strlen@PLT
	movl	$0, i(%rip)
	movl	%eax, C(%rip)
	movl	n(%rip), %eax
	testl	%eax, %eax
	jle	.L13
.L2:
	leaq	s(%rip), %rsi
	leaq	.LC2(%rip), %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	leaq	s(%rip), %rdi
	call	strlen@PLT
	movl	$0, j(%rip)
	movq	%rax, 8(%rsp)
	movl	%eax, %r10d
	movl	%eax, S(%rip)
	testq	%rax, %rax
	je	.L4
	movzbl	(%r14), %eax
	movl	C(%rip), %r11d
	xorl	%r13d, %r13d
	xorl	%ebx, %ebx
	movl	l(%rip), %edx
	leaq	s(%rip), %rbp
	movb	%al, 7(%rsp)
	xorl	%eax, %eax
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L5:
	addl	$1, %ebx
	addq	$1, %rbp
	movl	$1, %r13d
	cmpl	%ebx, %r10d
	je	.L30
	movl	%ebx, (%rsp)
.L11:
	movzbl	7(%rsp), %esi
	cmpb	%sil, 0(%rbp)
	jne	.L5
	movl	$1, %r8d
	.p2align 4,,10
	.p2align 3
.L10:
	movl	%r8d, %r9d
	leal	-1(%r8), %r12d
	movl	%r8d, %r15d
	movl	%ebx, %edx
	movq	%rbp, %rcx
	xorl	%eax, %eax
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L6:
	cmpl	%edx, %r10d
	jle	.L8
	movzbl	(%rcx), %edi
	movzbl	(%r14,%rax), %esi
	addq	%r8, %rcx
	addq	$1, %rax
	addl	%r9d, %edx
	cmpb	%sil, %dil
	jne	.L8
.L9:
	cmpl	%eax, %r11d
	jg	.L6
	testb	%r13b, %r13b
	je	.L7
	movl	(%rsp), %eax
	movl	%eax, j(%rip)
.L7:
	addl	$1, A(%rip)
	movl	%r12d, k(%rip)
	movl	$1, l(%rip)
.L4:
	movl	i(%rip), %eax
	addl	$1, %eax
	cmpl	n(%rip), %eax
	movl	%eax, i(%rip)
	jl	.L2
.L13:
	movl	A(%rip), %edx
	xorl	%eax, %eax
	movl	$1, %edi
	leaq	.LC1(%rip), %rsi
	call	__printf_chk@PLT
	testl	%eax, %eax
	sete	%al
	movzbl	%al, %eax
	movl	%eax, C(%rip)
	addq	$24, %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
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	addq	$1, %r8
	cmpq	$200, %r8
	jne	.L10
	movl	$1, %eax
	xorl	%edx, %edx
	jmp	.L5
.L30:
	movl	8(%rsp), %ebx
	movl	%ebx, j(%rip)
	testb	%al, %al
	je	.L4
	movl	%r15d, k(%rip)
	movl	%edx, l(%rip)
	jmp	.L4
	.cfi_endproc
.LFE35:
	.size	main, .-main
	.globl	l
	.bss
	.align 4
	.type	l, @object
	.size	l, 4
l:
	.zero	4
	.globl	k
	.align 4
	.type	k, @object
	.size	k, 4
k:
	.zero	4
	.globl	j
	.align 4
	.type	j, @object
	.size	j, 4
j:
	.zero	4
	.globl	i
	.align 4
	.type	i, @object
	.size	i, 4
i:
	.zero	4
	.globl	A
	.align 4
	.type	A, @object
	.size	A, 4
A:
	.zero	4
	.globl	S
	.align 4
	.type	S, @object
	.size	S, 4
S:
	.zero	4
	.globl	C
	.align 4
	.type	C, @object
	.size	C, 4
C:
	.zero	4
	.globl	n
	.align 4
	.type	n, @object
	.size	n, 4
n:
	.zero	4
	.globl	c
	.align 16
	.type	c, @object
	.size	c, 27
c:
	.zero	27
	.globl	s
	.align 32
	.type	s, @object
	.size	s, 102
s:
	.zero	102
	.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	"%d%s"
.LC1:
	.string	"%d\n"
.LC2:
	.string	"%s"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB35:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	leaq	n(%rip), %rsi
	movl	%edi, %r15d
	xorl	%eax, %eax
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	leaq	c(%rip), %r14
	leaq	.LC0(%rip), %rdi
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	movq	%r14, %rdx
	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	$24, %rsp
	.cfi_def_cfa_offset 80
	call	__isoc99_scanf@PLT
	movq	%r14, %rdi
	call	strlen@PLT
	movl	$0, i(%rip)
	movl	%eax, C(%rip)
	movl	n(%rip), %eax
	testl	%eax, %eax
	jle	.L13
.L2:
	leaq	s(%rip), %rsi
	leaq	.LC2(%rip), %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	leaq	s(%rip), %rdi
	call	strlen@PLT
	movl	$0, j(%rip)
	movq	%rax, 8(%rsp)
	movl	%eax, %r10d
	movl	%eax, S(%rip)
	testq	%rax, %rax
	je	.L4
	movzbl	(%r14), %eax
	movl	C(%rip), %r11d
	xorl	%r13d, %r13d
	xorl	%ebx, %ebx
	movl	l(%rip), %edx
	leaq	s(%rip), %rbp
	movb	%al, 7(%rsp)
	xorl	%eax, %eax
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L5:
	addl	$1, %ebx
	addq	$1, %rbp
	movl	$1, %r13d
	cmpl	%ebx, %r10d
	je	.L30
	movl	%ebx, (%rsp)
.L11:
	movzbl	7(%rsp), %esi
	cmpb	%sil, 0(%rbp)
	jne	.L5
	movl	$1, %r8d
	.p2align 4,,10
	.p2align 3
.L10:
	movl	%r8d, %r9d
	leal	-1(%r8), %r12d
	movl	%r8d, %r15d
	movl	%ebx, %edx
	movq	%rbp, %rcx
	xorl	%eax, %eax
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L6:
	cmpl	%edx, %r10d
	jle	.L8
	movzbl	(%rcx), %edi
	movzbl	(%r14,%rax), %esi
	addq	%r8, %rcx
	addq	$1, %rax
	addl	%r9d, %edx
	cmpb	%sil, %dil
	jne	.L8
.L9:
	cmpl	%eax, %r11d
	jg	.L6
	testb	%r13b, %r13b
	je	.L7
	movl	(%rsp), %eax
	movl	%eax, j(%rip)
.L7:
	addl	$1, A(%rip)
	movl	%r12d, k(%rip)
	movl	$1, l(%rip)
.L4:
	movl	i(%rip), %eax
	addl	$1, %eax
	cmpl	n(%rip), %eax
	movl	%eax, i(%rip)
	jl	.L2
.L13:
	movl	A(%rip), %edx
	xorl	%eax, %eax
	movl	$1, %edi
	leaq	.LC1(%rip), %rsi
	call	__printf_chk@PLT
	testl	%eax, %eax
	sete	%al
	movzbl	%al, %eax
	movl	%eax, C(%rip)
	addq	$24, %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
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	addq	$1, %r8
	cmpq	$200, %r8
	jne	.L10
	movl	$1, %eax
	xorl	%edx, %edx
	jmp	.L5
.L30:
	movl	8(%rsp), %ebx
	movl	%ebx, j(%rip)
	testb	%al, %al
	je	.L4
	movl	%r15d, k(%rip)
	movl	%edx, l(%rip)
	jmp	.L4
	.cfi_endproc
.LFE35:
	.size	main, .-main
	.globl	l
	.bss
	.align 4
	.type	l, @object
	.size	l, 4
l:
	.zero	4
	.globl	k
	.align 4
	.type	k, @object
	.size	k, 4
k:
	.zero	4
	.globl	j
	.align 4
	.type	j, @object
	.size	j, 4
j:
	.zero	4
	.globl	i
	.align 4
	.type	i, @object
	.size	i, 4
i:
	.zero	4
	.globl	A
	.align 4
	.type	A, @object
	.size	A, 4
A:
	.zero	4
	.globl	S
	.align 4
	.type	S, @object
	.size	S, 4
S:
	.zero	4
	.globl	C
	.align 4
	.type	C, @object
	.size	C, 4
C:
	.zero	4
	.globl	n
	.align 4
	.type	n, @object
	.size	n, 4
n:
	.zero	4
	.globl	c
	.align 16
	.type	c, @object
	.size	c, 27
c:
	.zero	27
	.globl	s
	.align 32
	.type	s, @object
	.size	s, 102
s:
	.zero	102
	.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:
```