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()
{
	int H,W,a,b,c=-1,d=0,e,f,g;
	char HW[101][101];
	scanf("%d %d",&H,&W);
		for(b=0;b<H;b++){
	scanf("%s",&HW[b]);
	}
	for(a=0;a<H;a++){
		for(b=0;b<W;b++){
			if(HW[a][b]=='c'){
				c=0;
				d=1;
			}
			printf("%d",c);
			if(d==1)
			c++;
			if(W-1==b){
			printf("\n");
			c=-1;
			d=0;
			}
			else
			printf(" ");
		}
	}
	return 0;
}```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d %d"
.LC1:
	.string	"%s"
.LC2:
	.string	"%d"
	.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
	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	$4096, %rsp
	.cfi_def_cfa_offset 4152
	orq	$0, (%rsp)
	subq	$4096, %rsp
	.cfi_def_cfa_offset 8248
	orq	$0, (%rsp)
	subq	$2056, %rsp
	.cfi_def_cfa_offset 10304
	leaq	.LC0(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, 10232(%rsp)
	xorl	%eax, %eax
	leaq	12(%rsp), %rdx
	leaq	8(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movl	8(%rsp), %eax
	testl	%eax, %eax
	jle	.L2
	leaq	16(%rsp), %r13
	xorl	%ebx, %ebx
	leaq	.LC1(%rip), %r12
	movq	%r13, %rbp
	.p2align 4,,10
	.p2align 3
.L3:
	movq	%rbp, %rsi
	movq	%r12, %rdi
	xorl	%eax, %eax
	addl	$1, %ebx
	call	__isoc99_scanf@PLT
	movl	8(%rsp), %eax
	addq	$101, %rbp
	cmpl	%ebx, %eax
	jg	.L3
	testl	%eax, %eax
	jle	.L2
	movl	12(%rsp), %eax
	xorl	%r12d, %r12d
	movl	$-1, %ebp
	xorl	%r15d, %r15d
	leaq	.LC2(%rip), %r14
	testl	%eax, %eax
	jle	.L2
	.p2align 4,,10
	.p2align 3
.L15:
	xorl	%ebx, %ebx
	.p2align 4,,10
	.p2align 3
.L11:
	cmpb	$99, 0(%r13,%rbx)
	je	.L21
.L5:
	xorl	%eax, %eax
	movl	%ebp, %edx
	movq	%r14, %rsi
	movl	$1, %edi
	call	__printf_chk@PLT
	cmpl	$1, %r12d
	je	.L22
.L7:
	movl	12(%rsp), %eax
	subl	$1, %eax
	cmpl	%ebx, %eax
	je	.L23
	movl	$32, %edi
	addq	$1, %rbx
	call	putchar@PLT
	movl	12(%rsp), %eax
	cmpl	%ebx, %eax
	jg	.L11
.L10:
	addl	$1, %r15d
	cmpl	%r15d, 8(%rsp)
	jle	.L2
	addq	$101, %r13
	testl	%eax, %eax
	jg	.L15
.L2:
	movq	10232(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L24
	addq	$10248, %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
.L23:
	.cfi_restore_state
	movl	$10, %edi
	addq	$1, %rbx
	xorl	%r12d, %r12d
	movl	$-1, %ebp
	call	putchar@PLT
	movl	12(%rsp), %eax
	cmpl	%ebx, %eax
	jle	.L10
	cmpb	$99, 0(%r13,%rbx)
	jne	.L5
.L21:
	xorl	%edx, %edx
	movq	%r14, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	movl	$1, %ebp
.L6:
	movl	$1, %r12d
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L22:
	addl	$1, %ebp
	jmp	.L6
.L24:
	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	"%d %d"
.LC1:
	.string	"%s"
.LC2:
	.string	"%d"
	.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
	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	$4096, %rsp
	.cfi_def_cfa_offset 4152
	orq	$0, (%rsp)
	subq	$4096, %rsp
	.cfi_def_cfa_offset 8248
	orq	$0, (%rsp)
	subq	$2056, %rsp
	.cfi_def_cfa_offset 10304
	leaq	.LC0(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, 10232(%rsp)
	xorl	%eax, %eax
	leaq	12(%rsp), %rdx
	leaq	8(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movl	8(%rsp), %eax
	testl	%eax, %eax
	jle	.L2
	leaq	16(%rsp), %r13
	xorl	%ebx, %ebx
	leaq	.LC1(%rip), %r12
	movq	%r13, %rbp
	.p2align 4,,10
	.p2align 3
.L3:
	movq	%rbp, %rsi
	movq	%r12, %rdi
	xorl	%eax, %eax
	addl	$1, %ebx
	call	__isoc99_scanf@PLT
	movl	8(%rsp), %eax
	addq	$101, %rbp
	cmpl	%ebx, %eax
	jg	.L3
	testl	%eax, %eax
	jle	.L2
	movl	12(%rsp), %eax
	xorl	%r12d, %r12d
	movl	$-1, %ebp
	xorl	%r15d, %r15d
	leaq	.LC2(%rip), %r14
	testl	%eax, %eax
	jle	.L2
	.p2align 4,,10
	.p2align 3
.L15:
	xorl	%ebx, %ebx
	.p2align 4,,10
	.p2align 3
.L11:
	cmpb	$99, 0(%r13,%rbx)
	je	.L21
.L5:
	xorl	%eax, %eax
	movl	%ebp, %edx
	movq	%r14, %rsi
	movl	$1, %edi
	call	__printf_chk@PLT
	cmpl	$1, %r12d
	je	.L22
.L7:
	movl	12(%rsp), %eax
	subl	$1, %eax
	cmpl	%ebx, %eax
	je	.L23
	movl	$32, %edi
	addq	$1, %rbx
	call	putchar@PLT
	movl	12(%rsp), %eax
	cmpl	%ebx, %eax
	jg	.L11
.L10:
	addl	$1, %r15d
	cmpl	%r15d, 8(%rsp)
	jle	.L2
	addq	$101, %r13
	testl	%eax, %eax
	jg	.L15
.L2:
	movq	10232(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L24
	addq	$10248, %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
.L23:
	.cfi_restore_state
	movl	$10, %edi
	addq	$1, %rbx
	xorl	%r12d, %r12d
	movl	$-1, %ebp
	call	putchar@PLT
	movl	12(%rsp), %eax
	cmpl	%ebx, %eax
	jle	.L10
	cmpb	$99, 0(%r13,%rbx)
	jne	.L5
.L21:
	xorl	%edx, %edx
	movq	%r14, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	movl	$1, %ebp
.L6:
	movl	$1, %r12d
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L22:
	addl	$1, %ebp
	jmp	.L6
.L24:
	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	"%d %d"
.LC1:
	.string	"%s"
.LC2:
	.string	"%d"
	.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
	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	$4096, %rsp
	.cfi_def_cfa_offset 4152
	orq	$0, (%rsp)
	subq	$4096, %rsp
	.cfi_def_cfa_offset 8248
	orq	$0, (%rsp)
	subq	$2056, %rsp
	.cfi_def_cfa_offset 10304
	leaq	.LC0(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, 10232(%rsp)
	xorl	%eax, %eax
	leaq	12(%rsp), %rdx
	leaq	8(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movl	8(%rsp), %eax
	testl	%eax, %eax
	jle	.L2
	leaq	16(%rsp), %r13
	xorl	%ebx, %ebx
	leaq	.LC1(%rip), %r12
	movq	%r13, %rbp
	.p2align 4,,10
	.p2align 3
.L3:
	movq	%rbp, %rsi
	movq	%r12, %rdi
	xorl	%eax, %eax
	addl	$1, %ebx
	call	__isoc99_scanf@PLT
	movl	8(%rsp), %eax
	addq	$101, %rbp
	cmpl	%ebx, %eax
	jg	.L3
	testl	%eax, %eax
	jle	.L2
	movl	12(%rsp), %eax
	xorl	%r12d, %r12d
	movl	$-1, %ebp
	xorl	%r15d, %r15d
	leaq	.LC2(%rip), %r14
	testl	%eax, %eax
	jle	.L2
	.p2align 4,,10
	.p2align 3
.L15:
	xorl	%ebx, %ebx
	.p2align 4,,10
	.p2align 3
.L11:
	cmpb	$99, 0(%r13,%rbx)
	je	.L21
.L5:
	xorl	%eax, %eax
	movl	%ebp, %edx
	movq	%r14, %rsi
	movl	$1, %edi
	call	__printf_chk@PLT
	cmpl	$1, %r12d
	je	.L22
.L7:
	movl	12(%rsp), %eax
	subl	$1, %eax
	cmpl	%ebx, %eax
	je	.L23
	movl	$32, %edi
	addq	$1, %rbx
	call	putchar@PLT
	movl	12(%rsp), %eax
	cmpl	%ebx, %eax
	jg	.L11
.L10:
	addl	$1, %r15d
	cmpl	%r15d, 8(%rsp)
	jle	.L2
	addq	$101, %r13
	testl	%eax, %eax
	jg	.L15
.L2:
	movq	10232(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L24
	addq	$10248, %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
.L23:
	.cfi_restore_state
	movl	$10, %edi
	addq	$1, %rbx
	xorl	%r12d, %r12d
	movl	$-1, %ebp
	call	putchar@PLT
	movl	12(%rsp), %eax
	cmpl	%ebx, %eax
	jle	.L10
	cmpb	$99, 0(%r13,%rbx)
	jne	.L5
.L21:
	xorl	%edx, %edx
	movq	%r14, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	movl	$1, %ebp
.L6:
	movl	$1, %r12d
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L22:
	addl	$1, %ebp
	jmp	.L6
.L24:
	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()
{
	int H,W,a,b,c=-1,d=0,e,f,g;
	char HW[101][101];
	scanf("%d %d",&H,&W);
		for(b=0;b<H;b++){
	scanf("%s",&HW[b]);
	}
	for(a=0;a<H;a++){
		for(b=0;b<W;b++){
			if(HW[a][b]=='c'){
				c=0;
				d=1;
			}
			printf("%d",c);
			if(d==1)
			c++;
			if(W-1==b){
			printf("\n");
			c=-1;
			d=0;
			}
			else
			printf(" ");
		}
	}
	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()
{
	int H,W,a,b,c=-1,d=0,e,f,g;
	char HW[101][101];
	scanf("%d %d",&H,&W);
		for(b=0;b<H;b++){
	scanf("%s",&HW[b]);
	}
	for(a=0;a<H;a++){
		for(b=0;b<W;b++){
			if(HW[a][b]=='c'){
				c=0;
				d=1;
			}
			printf("%d",c);
			if(d==1)
			c++;
			if(W-1==b){
			printf("\n");
			c=-1;
			d=0;
			}
			else
			printf(" ");
		}
	}
	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:

3 4
c..c
..c.
....

0 1 2 0
-1 -1 0 1
-1 -1 -1 -1

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()
{
	int H,W,a,b,c=-1,d=0,e,f,g;
	char HW[101][101];
	scanf("%d %d",&H,&W);
		for(b=0;b<H;b++){
	scanf("%s",&HW[b]);
	}
	for(a=0;a<H;a++){
		for(b=0;b<W;b++){
			if(HW[a][b]=='c'){
				c=0;
				d=1;
			}
			printf("%d",c);
			if(d==1)
			c++;
			if(W-1==b){
			printf("\n");
			c=-1;
			d=0;
			}
			else
			printf(" ");
		}
	}
	return 0;
}```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d %d"
.LC1:
	.string	"%s"
.LC2:
	.string	"%d"
	.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
	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	$4096, %rsp
	.cfi_def_cfa_offset 4152
	orq	$0, (%rsp)
	subq	$4096, %rsp
	.cfi_def_cfa_offset 8248
	orq	$0, (%rsp)
	subq	$2056, %rsp
	.cfi_def_cfa_offset 10304
	leaq	.LC0(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, 10232(%rsp)
	xorl	%eax, %eax
	leaq	12(%rsp), %rdx
	leaq	8(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movl	8(%rsp), %eax
	testl	%eax, %eax
	jle	.L2
	leaq	16(%rsp), %r13
	xorl	%ebx, %ebx
	leaq	.LC1(%rip), %r12
	movq	%r13, %rbp
	.p2align 4,,10
	.p2align 3
.L3:
	movq	%rbp, %rsi
	movq	%r12, %rdi
	xorl	%eax, %eax
	addl	$1, %ebx
	call	__isoc99_scanf@PLT
	movl	8(%rsp), %eax
	addq	$101, %rbp
	cmpl	%ebx, %eax
	jg	.L3
	testl	%eax, %eax
	jle	.L2
	movl	12(%rsp), %eax
	xorl	%r12d, %r12d
	movl	$-1, %ebp
	xorl	%r15d, %r15d
	leaq	.LC2(%rip), %r14
	testl	%eax, %eax
	jle	.L2
	.p2align 4,,10
	.p2align 3
.L15:
	xorl	%ebx, %ebx
	.p2align 4,,10
	.p2align 3
.L11:
	cmpb	$99, 0(%r13,%rbx)
	je	.L21
.L5:
	xorl	%eax, %eax
	movl	%ebp, %edx
	movq	%r14, %rsi
	movl	$1, %edi
	call	__printf_chk@PLT
	cmpl	$1, %r12d
	je	.L22
.L7:
	movl	12(%rsp), %eax
	subl	$1, %eax
	cmpl	%ebx, %eax
	je	.L23
	movl	$32, %edi
	addq	$1, %rbx
	call	putchar@PLT
	movl	12(%rsp), %eax
	cmpl	%ebx, %eax
	jg	.L11
.L10:
	addl	$1, %r15d
	cmpl	%r15d, 8(%rsp)
	jle	.L2
	addq	$101, %r13
	testl	%eax, %eax
	jg	.L15
.L2:
	movq	10232(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L24
	addq	$10248, %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
.L23:
	.cfi_restore_state
	movl	$10, %edi
	addq	$1, %rbx
	xorl	%r12d, %r12d
	movl	$-1, %ebp
	call	putchar@PLT
	movl	12(%rsp), %eax
	cmpl	%ebx, %eax
	jle	.L10
	cmpb	$99, 0(%r13,%rbx)
	jne	.L5
.L21:
	xorl	%edx, %edx
	movq	%r14, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	movl	$1, %ebp
.L6:
	movl	$1, %r12d
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L22:
	addl	$1, %ebp
	jmp	.L6
.L24:
	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	"%d %d"
.LC1:
	.string	"%s"
.LC2:
	.string	"%d"
	.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
	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	$4096, %rsp
	.cfi_def_cfa_offset 4152
	orq	$0, (%rsp)
	subq	$4096, %rsp
	.cfi_def_cfa_offset 8248
	orq	$0, (%rsp)
	subq	$2056, %rsp
	.cfi_def_cfa_offset 10304
	leaq	.LC0(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, 10232(%rsp)
	xorl	%eax, %eax
	leaq	12(%rsp), %rdx
	leaq	8(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movl	8(%rsp), %eax
	testl	%eax, %eax
	jle	.L2
	leaq	16(%rsp), %r13
	xorl	%ebx, %ebx
	leaq	.LC1(%rip), %r12
	movq	%r13, %rbp
	.p2align 4,,10
	.p2align 3
.L3:
	movq	%rbp, %rsi
	movq	%r12, %rdi
	xorl	%eax, %eax
	addl	$1, %ebx
	call	__isoc99_scanf@PLT
	movl	8(%rsp), %eax
	addq	$101, %rbp
	cmpl	%ebx, %eax
	jg	.L3
	testl	%eax, %eax
	jle	.L2
	movl	12(%rsp), %eax
	xorl	%r12d, %r12d
	movl	$-1, %ebp
	xorl	%r15d, %r15d
	leaq	.LC2(%rip), %r14
	testl	%eax, %eax
	jle	.L2
	.p2align 4,,10
	.p2align 3
.L15:
	xorl	%ebx, %ebx
	.p2align 4,,10
	.p2align 3
.L11:
	cmpb	$99, 0(%r13,%rbx)
	je	.L21
.L5:
	xorl	%eax, %eax
	movl	%ebp, %edx
	movq	%r14, %rsi
	movl	$1, %edi
	call	__printf_chk@PLT
	cmpl	$1, %r12d
	je	.L22
.L7:
	movl	12(%rsp), %eax
	subl	$1, %eax
	cmpl	%ebx, %eax
	je	.L23
	movl	$32, %edi
	addq	$1, %rbx
	call	putchar@PLT
	movl	12(%rsp), %eax
	cmpl	%ebx, %eax
	jg	.L11
.L10:
	addl	$1, %r15d
	cmpl	%r15d, 8(%rsp)
	jle	.L2
	addq	$101, %r13
	testl	%eax, %eax
	jg	.L15
.L2:
	movq	10232(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L24
	addq	$10248, %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
.L23:
	.cfi_restore_state
	movl	$10, %edi
	addq	$1, %rbx
	xorl	%r12d, %r12d
	movl	$-1, %ebp
	call	putchar@PLT
	movl	12(%rsp), %eax
	cmpl	%ebx, %eax
	jle	.L10
	cmpb	$99, 0(%r13,%rbx)
	jne	.L5
.L21:
	xorl	%edx, %edx
	movq	%r14, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	movl	$1, %ebp
.L6:
	movl	$1, %r12d
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L22:
	addl	$1, %ebp
	jmp	.L6
.L24:
	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:
```