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 <math.h>
#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 FOR(i,a,n) for(i=a;i<n;i++)
int comp(const void* a,const void* b){
	return *(int*)a-*(int*)b;
}
void fill(int a[],int b,int c){
	int i;
	FOR(i,0,b) a[i]=c;
	return;
}
char map[10][10];
void read(int w,int h,char c){
	int i,j;
	scanf("%*c");
	FOR(i,0,h+2) map[0][i]=c,map[w+1][i]=c;
	FOR(i,0,w+2) map[i][0]=c,map[i][h+1]=c;
	FOR(i,1,h+1){
		FOR(j,1,w+1){
			scanf("%c",&map[j][i]);
		}
		scanf("%*c");
	}
    return; 
}
int main(void)
{
	int h,w,x=1,y=1,i,j;
	scanf("%d%d",&h,&w);
	read(w,h,'.');
	map[x][y]='.';
	while(1){
		if(map[x+1][y]=='#') map[++x][y]='.';
		else if(map[x][y+1]=='#') map[x][++y]='.';
		else break;
	}
	FOR(i,1,h+1){
		FOR(j,1,w+1){
			if(map[j][i]=='#'){
				puts("Impossible");
				return 0;
			}
		}
	}
	puts("Possible");
	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	fill
	.type	fill, @function
fill:
.LFB7:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	movq	%rdi, -24(%rbp)
	movl	%esi, -28(%rbp)
	movl	%edx, -32(%rbp)
	movl	$0, -4(%rbp)
	jmp	.L4
.L5:
	movl	-4(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	movq	-24(%rbp), %rax
	addq	%rax, %rdx
	movl	-32(%rbp), %eax
	movl	%eax, (%rdx)
	addl	$1, -4(%rbp)
.L4:
	movl	-4(%rbp), %eax
	cmpl	-28(%rbp), %eax
	jl	.L5
	nop
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	fill, .-fill
	.globl	map
	.bss
	.align 32
	.type	map, @object
	.size	map, 100
map:
	.zero	100
	.section	.rodata
.LC0:
	.string	"%*c"
.LC1:
	.string	"%c"
	.text
	.globl	read
	.type	read, @function
read:
.LFB8:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$32, %rsp
	movl	%edi, -20(%rbp)
	movl	%esi, -24(%rbp)
	movl	%edx, %eax
	movb	%al, -28(%rbp)
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -8(%rbp)
	jmp	.L8
.L9:
	movl	-8(%rbp), %eax
	cltq
	leaq	map(%rip), %rcx
	movzbl	-28(%rbp), %edx
	movb	%dl, (%rax,%rcx)
	movl	-20(%rbp), %eax
	leal	1(%rax), %edx
	movl	-8(%rbp), %eax
	movslq	%eax, %rcx
	movslq	%edx, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rax, %rax
	leaq	(%rax,%rcx), %rdx
	leaq	map(%rip), %rax
	addq	%rax, %rdx
	movzbl	-28(%rbp), %eax
	movb	%al, (%rdx)
	addl	$1, -8(%rbp)
.L8:
	movl	-24(%rbp), %eax
	addl	$1, %eax
	cmpl	%eax, -8(%rbp)
	jle	.L9
	movl	$0, -8(%rbp)
	jmp	.L10
.L11:
	movl	-8(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rax, %rax
	movq	%rax, %rcx
	leaq	map(%rip), %rdx
	movzbl	-28(%rbp), %eax
	movb	%al, (%rcx,%rdx)
	movl	-24(%rbp), %eax
	addl	$1, %eax
	movslq	%eax, %rcx
	movl	-8(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rax, %rax
	leaq	(%rax,%rcx), %rdx
	leaq	map(%rip), %rax
	addq	%rax, %rdx
	movzbl	-28(%rbp), %eax
	movb	%al, (%rdx)
	addl	$1, -8(%rbp)
.L10:
	movl	-20(%rbp), %eax
	addl	$1, %eax
	cmpl	%eax, -8(%rbp)
	jle	.L11
	movl	$1, -8(%rbp)
	jmp	.L12
.L15:
	movl	$1, -4(%rbp)
	jmp	.L13
.L14:
	movl	-8(%rbp), %eax
	movslq	%eax, %rcx
	movl	-4(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rax, %rax
	leaq	(%rcx,%rax), %rdx
	leaq	map(%rip), %rax
	addq	%rdx, %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addl	$1, -4(%rbp)
.L13:
	movl	-20(%rbp), %eax
	cmpl	-4(%rbp), %eax
	jge	.L14
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addl	$1, -8(%rbp)
.L12:
	movl	-24(%rbp), %eax
	cmpl	-8(%rbp), %eax
	jge	.L15
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	read, .-read
	.section	.rodata
.LC2:
	.string	"%d%d"
.LC3:
	.string	"Impossible"
.LC4:
	.string	"Possible"
	.text
	.globl	main
	.type	main, @function
main:
.LFB9:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$32, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movl	$1, -24(%rbp)
	movl	$1, -20(%rbp)
	leaq	-28(%rbp), %rdx
	leaq	-32(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-32(%rbp), %ecx
	movl	-28(%rbp), %eax
	movl	$46, %edx
	movl	%ecx, %esi
	movl	%eax, %edi
	call	read
	movl	-20(%rbp), %eax
	movslq	%eax, %rcx
	movl	-24(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rax, %rax
	leaq	(%rax,%rcx), %rdx
	leaq	map(%rip), %rax
	addq	%rdx, %rax
	movb	$46, (%rax)
.L22:
	movl	-24(%rbp), %eax
	leal	1(%rax), %edx
	movl	-20(%rbp), %eax
	movslq	%eax, %rcx
	movslq	%edx, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rax, %rax
	leaq	(%rax,%rcx), %rdx
	leaq	map(%rip), %rax
	addq	%rdx, %rax
	movzbl	(%rax), %eax
	cmpb	$35, %al
	jne	.L18
	addl	$1, -24(%rbp)
	movl	-20(%rbp), %eax
	movslq	%eax, %rcx
	movl	-24(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rax, %rax
	leaq	(%rax,%rcx), %rdx
	leaq	map(%rip), %rax
	addq	%rdx, %rax
	movb	$46, (%rax)
	jmp	.L22
.L18:
	movl	-20(%rbp), %eax
	addl	$1, %eax
	movslq	%eax, %rcx
	movl	-24(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rax, %rax
	leaq	(%rax,%rcx), %rdx
	leaq	map(%rip), %rax
	addq	%rdx, %rax
	movzbl	(%rax), %eax
	cmpb	$35, %al
	jne	.L31
	addl	$1, -20(%rbp)
	movl	-20(%rbp), %eax
	movslq	%eax, %rcx
	movl	-24(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rax, %rax
	leaq	(%rax,%rcx), %rdx
	leaq	map(%rip), %rax
	addq	%rdx, %rax
	movb	$46, (%rax)
	jmp	.L22
.L31:
	nop
	movl	$1, -16(%rbp)
	jmp	.L23
.L28:
	movl	$1, -12(%rbp)
	jmp	.L24
.L27:
	movl	-16(%rbp), %eax
	movslq	%eax, %rcx
	movl	-12(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rax, %rax
	leaq	(%rax,%rcx), %rdx
	leaq	map(%rip), %rax
	addq	%rdx, %rax
	movzbl	(%rax), %eax
	cmpb	$35, %al
	jne	.L25
	leaq	.LC3(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	movl	$0, %eax
	jmp	.L29
.L25:
	addl	$1, -12(%rbp)
.L24:
	movl	-28(%rbp), %eax
	cmpl	%eax, -12(%rbp)
	jle	.L27
	addl	$1, -16(%rbp)
.L23:
	movl	-32(%rbp), %eax
	cmpl	%eax, -16(%rbp)
	jle	.L28
	leaq	.LC4(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	movl	$0, %eax
.L29:
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L30
	call	__stack_chk_fail@PLT
.L30:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.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
	.p2align 4
	.globl	fill
	.type	fill, @function
fill:
.LFB52:
	.cfi_startproc
	endbr64
	movl	%esi, %ecx
	testl	%esi, %esi
	jle	.L3
	leal	-1(%rsi), %eax
	cmpl	$2, %eax
	jbe	.L8
	shrl	$2, %esi
	movd	%edx, %xmm1
	movq	%rdi, %rax
	subl	$1, %esi
	pshufd	$0, %xmm1, %xmm0
	salq	$4, %rsi
	leaq	16(%rdi,%rsi), %rsi
	.p2align 4,,10
	.p2align 3
.L6:
	movups	%xmm0, (%rax)
	addq	$16, %rax
	cmpq	%rsi, %rax
	jne	.L6
	movl	%ecx, %eax
	andl	$-4, %eax
	testb	$3, %cl
	je	.L10
.L5:
	movslq	%eax, %rsi
	movl	%edx, (%rdi,%rsi,4)
	leaq	0(,%rsi,4), %r8
	leal	1(%rax), %esi
	cmpl	%esi, %ecx
	jle	.L3
	addl	$2, %eax
	movl	%edx, 4(%rdi,%r8)
	cmpl	%eax, %ecx
	jle	.L3
	movl	%edx, 8(%rdi,%r8)
.L3:
	ret
	.p2align 4,,10
	.p2align 3
.L10:
	ret
.L8:
	xorl	%eax, %eax
	jmp	.L5
	.cfi_endproc
.LFE52:
	.size	fill, .-fill
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%*c"
.LC1:
	.string	"%c"
	.text
	.p2align 4
	.globl	read
	.type	read, @function
read:
.LFB53:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	xorl	%eax, %eax
	movl	%esi, %r15d
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	leaq	.LC0(%rip), %r14
	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
	movl	%edx, %ebp
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	movl	%edi, %ebx
	movq	%r14, %rdi
	subq	$24, %rsp
	.cfi_def_cfa_offset 80
	movl	%esi, 12(%rsp)
	call	__isoc99_scanf@PLT
	movl	%r15d, %edx
	leal	1(%rbx), %edi
	addl	$1, %edx
	js	.L17
	movslq	%ebx, %rax
	leaq	5(%rax,%rax,4), %rsi
	addq	%rsi, %rsi
	leaq	-1(%rsi), %rax
	cmpq	$6, %rax
	jbe	.L15
	cmpl	$6, %edx
	jbe	.L15
	movl	12(%rsp), %r11d
	movl	%ebp, %eax
	movzbl	%bpl, %ecx
	sall	$8, %eax
	orl	%ecx, %eax
	leal	2(%r11), %r8d
	movd	%eax, %xmm1
	movl	%r8d, %ecx
	leaq	map(%rip), %rax
	pshuflw	$0, %xmm1, %xmm0
	andl	$-8, %ecx
	andl	$7, %r8d
	movq	%xmm0, map(%rip)
	movq	%xmm0, (%rax,%rsi)
	je	.L17
	movslq	%edi, %r8
	movslq	%ecx, %r9
	leaq	(%r8,%r8,4), %rsi
	movb	%bpl, (%rax,%r9)
	leaq	(%rax,%rsi,2), %rsi
	movb	%bpl, (%rsi,%r9)
	leal	1(%rcx), %r9d
	cmpl	%ecx, %r11d
	jl	.L17
	movslq	%r9d, %r10
	movb	%bpl, (%rax,%r10)
	movb	%bpl, (%rsi,%r10)
	leal	2(%rcx), %r10d
	cmpl	%r9d, %r11d
	jl	.L17
	movslq	%r10d, %r9
	movb	%bpl, (%rax,%r9)
	movb	%bpl, (%rsi,%r9)
	leal	3(%rcx), %r9d
	cmpl	%r10d, %r11d
	jl	.L17
	movslq	%r9d, %r10
	movb	%bpl, (%rax,%r10)
	movb	%bpl, (%rsi,%r10)
	leal	4(%rcx), %r10d
	cmpl	%r9d, %r11d
	jl	.L17
	movslq	%r10d, %r9
	movb	%bpl, (%rax,%r9)
	movb	%bpl, (%rsi,%r9)
	leal	5(%rcx), %r9d
	cmpl	%r10d, %r11d
	jl	.L17
	movslq	%r9d, %r10
	addl	$6, %ecx
	movb	%bpl, (%rax,%r10)
	movb	%bpl, (%rsi,%r10)
	cmpl	%r9d, %r11d
	jl	.L17
	movslq	%ecx, %rcx
	leaq	(%r8,%r8,4), %rsi
	movb	%bpl, (%rax,%rcx)
	leaq	(%rax,%rsi,2), %rax
	movb	%bpl, (%rax,%rcx)
.L17:
	testl	%edi, %edi
	js	.L14
	leaq	map(%rip), %rax
	movslq	%edx, %rdx
	movb	%bpl, map(%rip)
	movb	%bpl, (%rax,%rdx)
	testl	%ebx, %ebx
	js	.L14
	movb	%bpl, 10+map(%rip)
	movb	%bpl, 10(%rax,%rdx)
	je	.L14
	movb	%bpl, 20+map(%rip)
	movb	%bpl, 20(%rax,%rdx)
	cmpl	$1, %ebx
	je	.L14
	movb	%bpl, 30+map(%rip)
	movb	%bpl, 30(%rax,%rdx)
	cmpl	$2, %ebx
	je	.L14
	movb	%bpl, 40+map(%rip)
	movb	%bpl, 40(%rax,%rdx)
	cmpl	$3, %ebx
	je	.L14
	movb	%bpl, 50+map(%rip)
	movb	%bpl, 50(%rax,%rdx)
	cmpl	$4, %ebx
	je	.L14
	movb	%bpl, 60+map(%rip)
	movb	%bpl, 60(%rax,%rdx)
	cmpl	$5, %ebx
	je	.L14
	movb	%bpl, 70+map(%rip)
	movb	%bpl, 70(%rax,%rdx)
	cmpl	$6, %ebx
	je	.L14
	movb	%bpl, 80+map(%rip)
	movb	%bpl, 80(%rax,%rdx)
	cmpl	$7, %ebx
	je	.L14
	movb	%bpl, 90+map(%rip)
	movb	%bpl, 90(%rax,%rdx)
.L14:
	movl	12(%rsp), %eax
	movl	$1, %r12d
	leaq	.LC1(%rip), %rbp
	testl	%eax, %eax
	jle	.L11
	.p2align 4,,10
	.p2align 3
.L20:
	leaq	10+map(%rip), %rax
	movl	$1, %r15d
	leaq	(%rax,%r12), %r13
	testl	%ebx, %ebx
	jle	.L24
	.p2align 4,,10
	.p2align 3
.L22:
	movq	%r13, %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	addl	$1, %r15d
	call	__isoc99_scanf@PLT
	addq	$10, %r13
	cmpl	%r15d, %ebx
	jge	.L22
.L24:
	movq	%r14, %rdi
	xorl	%eax, %eax
	addq	$1, %r12
	call	__isoc99_scanf@PLT
	cmpl	%r12d, 12(%rsp)
	jge	.L20
.L11:
	addq	$24, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	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
.L15:
	.cfi_restore_state
	movslq	%edi, %rax
	movb	%bpl, map(%rip)
	leaq	(%rax,%rax,4), %rcx
	leaq	map(%rip), %rax
	leaq	(%rax,%rcx,2), %rax
	movl	12(%rsp), %ecx
	movb	%bpl, (%rax)
	testl	%ecx, %ecx
	js	.L17
	movb	%bpl, 1+map(%rip)
	movb	%bpl, 1(%rax)
	je	.L17
	movb	%bpl, 2+map(%rip)
	movb	%bpl, 2(%rax)
	cmpl	$1, %ecx
	je	.L17
	movb	%bpl, 3+map(%rip)
	movb	%bpl, 3(%rax)
	cmpl	$2, %ecx
	je	.L17
	movb	%bpl, 4+map(%rip)
	movb	%bpl, 4(%rax)
	cmpl	$3, %ecx
	je	.L17
	movb	%bpl, 5+map(%rip)
	movb	%bpl, 5(%rax)
	cmpl	$4, %ecx
	je	.L17
	movb	%bpl, 6+map(%rip)
	movb	%bpl, 6(%rax)
	cmpl	$5, %ecx
	je	.L17
	movb	%bpl, 7+map(%rip)
	movb	%bpl, 7(%rax)
	cmpl	$6, %ecx
	je	.L17
	movb	%bpl, 8+map(%rip)
	movb	%bpl, 8(%rax)
	cmpl	$7, %ecx
	je	.L17
	movb	%bpl, 9+map(%rip)
	movb	%bpl, 9(%rax)
	jmp	.L17
	.cfi_endproc
.LFE53:
	.size	read, .-read
	.section	.rodata.str1.1
.LC2:
	.string	"%d%d"
.LC3:
	.string	"Impossible"
.LC4:
	.string	"Possible"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB54:
	.cfi_startproc
	endbr64
	subq	$24, %rsp
	.cfi_def_cfa_offset 32
	leaq	.LC2(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, 8(%rsp)
	xorl	%eax, %eax
	leaq	4(%rsp), %rdx
	movq	%rsp, %rsi
	call	__isoc99_scanf@PLT
	movl	(%rsp), %esi
	movl	4(%rsp), %edi
	movl	$46, %edx
	call	read
	movl	$1, %esi
	movl	$1, %r8d
	movb	$46, 11+map(%rip)
	movl	$2, %ecx
	leaq	map(%rip), %rdi
	movl	$1, %edx
	.p2align 4,,10
	.p2align 3
.L85:
	movslq	%ecx, %rax
	leaq	(%rax,%rax,4), %rax
	leaq	(%rdi,%rax,2), %rax
	addq	%rdx, %rax
	cmpb	$35, (%rax)
	je	.L121
	movslq	%r8d, %rax
	addl	$1, %esi
	leaq	(%rax,%rax,4), %rax
	movslq	%esi, %rdx
	leaq	(%rdi,%rax,2), %rax
	addq	%rdx, %rax
	cmpb	$35, (%rax)
	jne	.L122
	movb	$46, (%rax)
	jmp	.L85
	.p2align 4,,10
	.p2align 3
.L121:
	movl	%ecx, %r8d
	movb	$46, (%rax)
	addl	$1, %ecx
	jmp	.L85
	.p2align 4,,10
	.p2align 3
.L122:
	movl	(%rsp), %esi
	testl	%esi, %esi
	jle	.L89
	movl	$1, %ecx
	movl	4(%rsp), %edx
	leaq	map(%rip), %rax
	subl	%edi, %ecx
.L90:
	testl	%edx, %edx
	jle	.L92
	cmpb	$35, 11(%rax)
	je	.L91
	cmpl	$1, %edx
	je	.L92
	cmpb	$35, 21(%rax)
	je	.L91
	cmpl	$2, %edx
	je	.L92
	cmpb	$35, 31(%rax)
	je	.L91
	cmpl	$3, %edx
	je	.L92
	cmpb	$35, 41(%rax)
	je	.L91
	cmpl	$4, %edx
	je	.L92
	cmpb	$35, 51(%rax)
	je	.L91
	cmpl	$5, %edx
	je	.L92
	cmpb	$35, 61(%rax)
	je	.L91
	cmpl	$6, %edx
	je	.L92
	cmpb	$35, 71(%rax)
	je	.L91
	cmpl	$7, %edx
	je	.L92
	cmpb	$35, 81(%rax)
	je	.L91
	cmpl	$8, %edx
	je	.L92
	cmpb	$35, 91(%rax)
	je	.L91
.L92:
	addq	$1, %rax
	leal	(%rcx,%rax), %edi
	cmpl	%esi, %edi
	jle	.L90
.L89:
	leaq	.LC4(%rip), %rdi
	call	puts@PLT
	jmp	.L93
	.p2align 4,,10
	.p2align 3
.L91:
	leaq	.LC3(%rip), %rdi
	call	puts@PLT
.L93:
	movq	8(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L123
	xorl	%eax, %eax
	addq	$24, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
.L123:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE54:
	.size	main, .-main
	.globl	map
	.bss
	.align 32
	.type	map, @object
	.size	map, 100
map:
	.zero	100
	.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
	.p2align 4
	.globl	fill
	.type	fill, @function
fill:
.LFB52:
	.cfi_startproc
	endbr64
	movl	%esi, %ecx
	testl	%esi, %esi
	jle	.L3
	leal	-1(%rsi), %eax
	cmpl	$2, %eax
	jbe	.L8
	shrl	$2, %esi
	movd	%edx, %xmm1
	movq	%rdi, %rax
	subl	$1, %esi
	pshufd	$0, %xmm1, %xmm0
	salq	$4, %rsi
	leaq	16(%rdi,%rsi), %rsi
	.p2align 4,,10
	.p2align 3
.L6:
	movups	%xmm0, (%rax)
	addq	$16, %rax
	cmpq	%rsi, %rax
	jne	.L6
	movl	%ecx, %eax
	andl	$-4, %eax
	testb	$3, %cl
	je	.L10
.L5:
	movslq	%eax, %rsi
	movl	%edx, (%rdi,%rsi,4)
	leaq	0(,%rsi,4), %r8
	leal	1(%rax), %esi
	cmpl	%esi, %ecx
	jle	.L3
	addl	$2, %eax
	movl	%edx, 4(%rdi,%r8)
	cmpl	%eax, %ecx
	jle	.L3
	movl	%edx, 8(%rdi,%r8)
.L3:
	ret
	.p2align 4,,10
	.p2align 3
.L10:
	ret
.L8:
	xorl	%eax, %eax
	jmp	.L5
	.cfi_endproc
.LFE52:
	.size	fill, .-fill
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%*c"
.LC1:
	.string	"%c"
	.text
	.p2align 4
	.globl	read
	.type	read, @function
read:
.LFB53:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	xorl	%eax, %eax
	movl	%esi, %r15d
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	leaq	.LC0(%rip), %r14
	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
	movl	%edx, %ebp
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	movl	%edi, %ebx
	movq	%r14, %rdi
	subq	$24, %rsp
	.cfi_def_cfa_offset 80
	movl	%esi, 12(%rsp)
	call	__isoc99_scanf@PLT
	movl	%r15d, %edx
	leal	1(%rbx), %edi
	addl	$1, %edx
	js	.L17
	movslq	%ebx, %rax
	leaq	5(%rax,%rax,4), %rsi
	addq	%rsi, %rsi
	leaq	-1(%rsi), %rax
	cmpq	$6, %rax
	jbe	.L15
	cmpl	$6, %edx
	jbe	.L15
	movl	12(%rsp), %r11d
	movl	%ebp, %eax
	movzbl	%bpl, %ecx
	sall	$8, %eax
	orl	%ecx, %eax
	leal	2(%r11), %r8d
	movd	%eax, %xmm1
	movl	%r8d, %ecx
	leaq	map(%rip), %rax
	pshuflw	$0, %xmm1, %xmm0
	andl	$-8, %ecx
	andl	$7, %r8d
	movq	%xmm0, map(%rip)
	movq	%xmm0, (%rax,%rsi)
	je	.L17
	movslq	%edi, %r8
	movslq	%ecx, %r9
	leaq	(%r8,%r8,4), %rsi
	movb	%bpl, (%rax,%r9)
	leaq	(%rax,%rsi,2), %rsi
	movb	%bpl, (%rsi,%r9)
	leal	1(%rcx), %r9d
	cmpl	%ecx, %r11d
	jl	.L17
	movslq	%r9d, %r10
	movb	%bpl, (%rax,%r10)
	movb	%bpl, (%rsi,%r10)
	leal	2(%rcx), %r10d
	cmpl	%r9d, %r11d
	jl	.L17
	movslq	%r10d, %r9
	movb	%bpl, (%rax,%r9)
	movb	%bpl, (%rsi,%r9)
	leal	3(%rcx), %r9d
	cmpl	%r10d, %r11d
	jl	.L17
	movslq	%r9d, %r10
	movb	%bpl, (%rax,%r10)
	movb	%bpl, (%rsi,%r10)
	leal	4(%rcx), %r10d
	cmpl	%r9d, %r11d
	jl	.L17
	movslq	%r10d, %r9
	movb	%bpl, (%rax,%r9)
	movb	%bpl, (%rsi,%r9)
	leal	5(%rcx), %r9d
	cmpl	%r10d, %r11d
	jl	.L17
	movslq	%r9d, %r10
	addl	$6, %ecx
	movb	%bpl, (%rax,%r10)
	movb	%bpl, (%rsi,%r10)
	cmpl	%r9d, %r11d
	jl	.L17
	movslq	%ecx, %rcx
	leaq	(%r8,%r8,4), %rsi
	movb	%bpl, (%rax,%rcx)
	leaq	(%rax,%rsi,2), %rax
	movb	%bpl, (%rax,%rcx)
.L17:
	testl	%edi, %edi
	js	.L14
	leaq	map(%rip), %rax
	movslq	%edx, %rdx
	movb	%bpl, map(%rip)
	movb	%bpl, (%rax,%rdx)
	testl	%ebx, %ebx
	js	.L14
	movb	%bpl, 10+map(%rip)
	movb	%bpl, 10(%rax,%rdx)
	je	.L14
	movb	%bpl, 20+map(%rip)
	movb	%bpl, 20(%rax,%rdx)
	cmpl	$1, %ebx
	je	.L14
	movb	%bpl, 30+map(%rip)
	movb	%bpl, 30(%rax,%rdx)
	cmpl	$2, %ebx
	je	.L14
	movb	%bpl, 40+map(%rip)
	movb	%bpl, 40(%rax,%rdx)
	cmpl	$3, %ebx
	je	.L14
	movb	%bpl, 50+map(%rip)
	movb	%bpl, 50(%rax,%rdx)
	cmpl	$4, %ebx
	je	.L14
	movb	%bpl, 60+map(%rip)
	movb	%bpl, 60(%rax,%rdx)
	cmpl	$5, %ebx
	je	.L14
	movb	%bpl, 70+map(%rip)
	movb	%bpl, 70(%rax,%rdx)
	cmpl	$6, %ebx
	je	.L14
	movb	%bpl, 80+map(%rip)
	movb	%bpl, 80(%rax,%rdx)
	cmpl	$7, %ebx
	je	.L14
	movb	%bpl, 90+map(%rip)
	movb	%bpl, 90(%rax,%rdx)
.L14:
	movl	12(%rsp), %eax
	movl	$1, %r12d
	leaq	.LC1(%rip), %rbp
	testl	%eax, %eax
	jle	.L11
	.p2align 4,,10
	.p2align 3
.L20:
	leaq	10+map(%rip), %rax
	movl	$1, %r15d
	leaq	(%rax,%r12), %r13
	testl	%ebx, %ebx
	jle	.L24
	.p2align 4,,10
	.p2align 3
.L22:
	movq	%r13, %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	addl	$1, %r15d
	call	__isoc99_scanf@PLT
	addq	$10, %r13
	cmpl	%r15d, %ebx
	jge	.L22
.L24:
	movq	%r14, %rdi
	xorl	%eax, %eax
	addq	$1, %r12
	call	__isoc99_scanf@PLT
	cmpl	%r12d, 12(%rsp)
	jge	.L20
.L11:
	addq	$24, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	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
.L15:
	.cfi_restore_state
	movslq	%edi, %rax
	movb	%bpl, map(%rip)
	leaq	(%rax,%rax,4), %rcx
	leaq	map(%rip), %rax
	leaq	(%rax,%rcx,2), %rax
	movl	12(%rsp), %ecx
	movb	%bpl, (%rax)
	testl	%ecx, %ecx
	js	.L17
	movb	%bpl, 1+map(%rip)
	movb	%bpl, 1(%rax)
	je	.L17
	movb	%bpl, 2+map(%rip)
	movb	%bpl, 2(%rax)
	cmpl	$1, %ecx
	je	.L17
	movb	%bpl, 3+map(%rip)
	movb	%bpl, 3(%rax)
	cmpl	$2, %ecx
	je	.L17
	movb	%bpl, 4+map(%rip)
	movb	%bpl, 4(%rax)
	cmpl	$3, %ecx
	je	.L17
	movb	%bpl, 5+map(%rip)
	movb	%bpl, 5(%rax)
	cmpl	$4, %ecx
	je	.L17
	movb	%bpl, 6+map(%rip)
	movb	%bpl, 6(%rax)
	cmpl	$5, %ecx
	je	.L17
	movb	%bpl, 7+map(%rip)
	movb	%bpl, 7(%rax)
	cmpl	$6, %ecx
	je	.L17
	movb	%bpl, 8+map(%rip)
	movb	%bpl, 8(%rax)
	cmpl	$7, %ecx
	je	.L17
	movb	%bpl, 9+map(%rip)
	movb	%bpl, 9(%rax)
	jmp	.L17
	.cfi_endproc
.LFE53:
	.size	read, .-read
	.section	.rodata.str1.1
.LC2:
	.string	"%d%d"
.LC3:
	.string	"Impossible"
.LC4:
	.string	"Possible"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB54:
	.cfi_startproc
	endbr64
	subq	$24, %rsp
	.cfi_def_cfa_offset 32
	leaq	.LC2(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, 8(%rsp)
	xorl	%eax, %eax
	leaq	4(%rsp), %rdx
	movq	%rsp, %rsi
	call	__isoc99_scanf@PLT
	movl	(%rsp), %esi
	movl	4(%rsp), %edi
	movl	$46, %edx
	call	read
	movl	$1, %esi
	movl	$1, %r8d
	movb	$46, 11+map(%rip)
	movl	$2, %ecx
	leaq	map(%rip), %rdi
	movl	$1, %edx
	.p2align 4,,10
	.p2align 3
.L85:
	movslq	%ecx, %rax
	leaq	(%rax,%rax,4), %rax
	leaq	(%rdi,%rax,2), %rax
	addq	%rdx, %rax
	cmpb	$35, (%rax)
	je	.L121
	movslq	%r8d, %rax
	addl	$1, %esi
	leaq	(%rax,%rax,4), %rax
	movslq	%esi, %rdx
	leaq	(%rdi,%rax,2), %rax
	addq	%rdx, %rax
	cmpb	$35, (%rax)
	jne	.L122
	movb	$46, (%rax)
	jmp	.L85
	.p2align 4,,10
	.p2align 3
.L121:
	movl	%ecx, %r8d
	movb	$46, (%rax)
	addl	$1, %ecx
	jmp	.L85
	.p2align 4,,10
	.p2align 3
.L122:
	movl	(%rsp), %esi
	testl	%esi, %esi
	jle	.L89
	movl	$1, %ecx
	movl	4(%rsp), %edx
	leaq	map(%rip), %rax
	subl	%edi, %ecx
.L90:
	testl	%edx, %edx
	jle	.L92
	cmpb	$35, 11(%rax)
	je	.L91
	cmpl	$1, %edx
	je	.L92
	cmpb	$35, 21(%rax)
	je	.L91
	cmpl	$2, %edx
	je	.L92
	cmpb	$35, 31(%rax)
	je	.L91
	cmpl	$3, %edx
	je	.L92
	cmpb	$35, 41(%rax)
	je	.L91
	cmpl	$4, %edx
	je	.L92
	cmpb	$35, 51(%rax)
	je	.L91
	cmpl	$5, %edx
	je	.L92
	cmpb	$35, 61(%rax)
	je	.L91
	cmpl	$6, %edx
	je	.L92
	cmpb	$35, 71(%rax)
	je	.L91
	cmpl	$7, %edx
	je	.L92
	cmpb	$35, 81(%rax)
	je	.L91
	cmpl	$8, %edx
	je	.L92
	cmpb	$35, 91(%rax)
	je	.L91
.L92:
	addq	$1, %rax
	leal	(%rcx,%rax), %edi
	cmpl	%esi, %edi
	jle	.L90
.L89:
	leaq	.LC4(%rip), %rdi
	call	puts@PLT
	jmp	.L93
	.p2align 4,,10
	.p2align 3
.L91:
	leaq	.LC3(%rip), %rdi
	call	puts@PLT
.L93:
	movq	8(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L123
	xorl	%eax, %eax
	addq	$24, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
.L123:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE54:
	.size	main, .-main
	.globl	map
	.bss
	.align 32
	.type	map, @object
	.size	map, 100
map:
	.zero	100
	.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 <math.h>
#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 FOR(i,a,n) for(i=a;i<n;i++)
int comp(const void* a,const void* b){
	return *(int*)a-*(int*)b;
}
void fill(int a[],int b,int c){
	int i;
	FOR(i,0,b) a[i]=c;
	return;
}
char map[10][10];
void read(int w,int h,char c){
	int i,j;
	scanf("%*c");
	FOR(i,0,h+2) map[0][i]=c,map[w+1][i]=c;
	FOR(i,0,w+2) map[i][0]=c,map[i][h+1]=c;
	FOR(i,1,h+1){
		FOR(j,1,w+1){
			scanf("%c",&map[j][i]);
		}
		scanf("%*c");
	}
    return; 
}
int main(void)
{
	int h,w,x=1,y=1,i,j;
	scanf("%d%d",&h,&w);
	read(w,h,'.');
	map[x][y]='.';
	while(1){
		if(map[x+1][y]=='#') map[++x][y]='.';
		else if(map[x][y+1]=='#') map[x][++y]='.';
		else break;
	}
	FOR(i,1,h+1){
		FOR(j,1,w+1){
			if(map[j][i]=='#'){
				puts("Impossible");
				return 0;
			}
		}
	}
	puts("Possible");
	return 0;
}

5 1

..#

..
 4 5
...##
.##..
..##.
...##
 4 10
...
.###.
.###.
...##
 4 8
...
.##..
..##.
...##
 5 0

..#

..
 4 5
...##
.##/.
..##.
...##
 4 10
./.
.###.
.###.
...##
 4 8
...
.##/.
..##.
...##
 8 0

..#

..
 4 5
./.##
.##/.
..##.
...##

Possible
 Impossible
 Impossible
 Impossible
 Possible
 Impossible
 Impossible
 Impossible
 Possible
 Impossible

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 <math.h>
#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 FOR(i,a,n) for(i=a;i<n;i++)
int comp(const void* a,const void* b){
	return *(int*)a-*(int*)b;
}
void fill(int a[],int b,int c){
	int i;
	FOR(i,0,b) a[i]=c;
	return;
}
char map[10][10];
void read(int w,int h,char c){
	int i,j;
	scanf("%*c");
	FOR(i,0,h+2) map[0][i]=c,map[w+1][i]=c;
	FOR(i,0,w+2) map[i][0]=c,map[i][h+1]=c;
	FOR(i,1,h+1){
		FOR(j,1,w+1){
			scanf("%c",&map[j][i]);
		}
		scanf("%*c");
	}
    return; 
}
int main(void)
{
	int h,w,x=1,y=1,i,j;
	scanf("%d%d",&h,&w);
	read(w,h,'.');
	map[x][y]='.';
	while(1){
		if(map[x+1][y]=='#') map[++x][y]='.';
		else if(map[x][y+1]=='#') map[x][++y]='.';
		else break;
	}
	FOR(i,1,h+1){
		FOR(j,1,w+1){
			if(map[j][i]=='#'){
				puts("Impossible");
				return 0;
			}
		}
	}
	puts("Possible");
	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	fill
	.type	fill, @function
fill:
.LFB7:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	movq	%rdi, -24(%rbp)
	movl	%esi, -28(%rbp)
	movl	%edx, -32(%rbp)
	movl	$0, -4(%rbp)
	jmp	.L4
.L5:
	movl	-4(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	movq	-24(%rbp), %rax
	addq	%rax, %rdx
	movl	-32(%rbp), %eax
	movl	%eax, (%rdx)
	addl	$1, -4(%rbp)
.L4:
	movl	-4(%rbp), %eax
	cmpl	-28(%rbp), %eax
	jl	.L5
	nop
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	fill, .-fill
	.globl	map
	.bss
	.align 32
	.type	map, @object
	.size	map, 100
map:
	.zero	100
	.section	.rodata
.LC0:
	.string	"%*c"
.LC1:
	.string	"%c"
	.text
	.globl	read
	.type	read, @function
read:
.LFB8:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$32, %rsp
	movl	%edi, -20(%rbp)
	movl	%esi, -24(%rbp)
	movl	%edx, %eax
	movb	%al, -28(%rbp)
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -8(%rbp)
	jmp	.L8
.L9:
	movl	-8(%rbp), %eax
	cltq
	leaq	map(%rip), %rcx
	movzbl	-28(%rbp), %edx
	movb	%dl, (%rax,%rcx)
	movl	-20(%rbp), %eax
	leal	1(%rax), %edx
	movl	-8(%rbp), %eax
	movslq	%eax, %rcx
	movslq	%edx, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rax, %rax
	leaq	(%rax,%rcx), %rdx
	leaq	map(%rip), %rax
	addq	%rax, %rdx
	movzbl	-28(%rbp), %eax
	movb	%al, (%rdx)
	addl	$1, -8(%rbp)
.L8:
	movl	-24(%rbp), %eax
	addl	$1, %eax
	cmpl	%eax, -8(%rbp)
	jle	.L9
	movl	$0, -8(%rbp)
	jmp	.L10
.L11:
	movl	-8(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rax, %rax
	movq	%rax, %rcx
	leaq	map(%rip), %rdx
	movzbl	-28(%rbp), %eax
	movb	%al, (%rcx,%rdx)
	movl	-24(%rbp), %eax
	addl	$1, %eax
	movslq	%eax, %rcx
	movl	-8(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rax, %rax
	leaq	(%rax,%rcx), %rdx
	leaq	map(%rip), %rax
	addq	%rax, %rdx
	movzbl	-28(%rbp), %eax
	movb	%al, (%rdx)
	addl	$1, -8(%rbp)
.L10:
	movl	-20(%rbp), %eax
	addl	$1, %eax
	cmpl	%eax, -8(%rbp)
	jle	.L11
	movl	$1, -8(%rbp)
	jmp	.L12
.L15:
	movl	$1, -4(%rbp)
	jmp	.L13
.L14:
	movl	-8(%rbp), %eax
	movslq	%eax, %rcx
	movl	-4(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rax, %rax
	leaq	(%rcx,%rax), %rdx
	leaq	map(%rip), %rax
	addq	%rdx, %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addl	$1, -4(%rbp)
.L13:
	movl	-20(%rbp), %eax
	cmpl	-4(%rbp), %eax
	jge	.L14
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addl	$1, -8(%rbp)
.L12:
	movl	-24(%rbp), %eax
	cmpl	-8(%rbp), %eax
	jge	.L15
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	read, .-read
	.section	.rodata
.LC2:
	.string	"%d%d"
.LC3:
	.string	"Impossible"
.LC4:
	.string	"Possible"
	.text
	.globl	main
	.type	main, @function
main:
.LFB9:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$32, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movl	$1, -24(%rbp)
	movl	$1, -20(%rbp)
	leaq	-28(%rbp), %rdx
	leaq	-32(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-32(%rbp), %ecx
	movl	-28(%rbp), %eax
	movl	$46, %edx
	movl	%ecx, %esi
	movl	%eax, %edi
	call	read
	movl	-20(%rbp), %eax
	movslq	%eax, %rcx
	movl	-24(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rax, %rax
	leaq	(%rax,%rcx), %rdx
	leaq	map(%rip), %rax
	addq	%rdx, %rax
	movb	$46, (%rax)
.L22:
	movl	-24(%rbp), %eax
	leal	1(%rax), %edx
	movl	-20(%rbp), %eax
	movslq	%eax, %rcx
	movslq	%edx, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rax, %rax
	leaq	(%rax,%rcx), %rdx
	leaq	map(%rip), %rax
	addq	%rdx, %rax
	movzbl	(%rax), %eax
	cmpb	$35, %al
	jne	.L18
	addl	$1, -24(%rbp)
	movl	-20(%rbp), %eax
	movslq	%eax, %rcx
	movl	-24(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rax, %rax
	leaq	(%rax,%rcx), %rdx
	leaq	map(%rip), %rax
	addq	%rdx, %rax
	movb	$46, (%rax)
	jmp	.L22
.L18:
	movl	-20(%rbp), %eax
	addl	$1, %eax
	movslq	%eax, %rcx
	movl	-24(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rax, %rax
	leaq	(%rax,%rcx), %rdx
	leaq	map(%rip), %rax
	addq	%rdx, %rax
	movzbl	(%rax), %eax
	cmpb	$35, %al
	jne	.L31
	addl	$1, -20(%rbp)
	movl	-20(%rbp), %eax
	movslq	%eax, %rcx
	movl	-24(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rax, %rax
	leaq	(%rax,%rcx), %rdx
	leaq	map(%rip), %rax
	addq	%rdx, %rax
	movb	$46, (%rax)
	jmp	.L22
.L31:
	nop
	movl	$1, -16(%rbp)
	jmp	.L23
.L28:
	movl	$1, -12(%rbp)
	jmp	.L24
.L27:
	movl	-16(%rbp), %eax
	movslq	%eax, %rcx
	movl	-12(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rax, %rax
	leaq	(%rax,%rcx), %rdx
	leaq	map(%rip), %rax
	addq	%rdx, %rax
	movzbl	(%rax), %eax
	cmpb	$35, %al
	jne	.L25
	leaq	.LC3(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	movl	$0, %eax
	jmp	.L29
.L25:
	addl	$1, -12(%rbp)
.L24:
	movl	-28(%rbp), %eax
	cmpl	%eax, -12(%rbp)
	jle	.L27
	addl	$1, -16(%rbp)
.L23:
	movl	-32(%rbp), %eax
	cmpl	%eax, -16(%rbp)
	jle	.L28
	leaq	.LC4(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	movl	$0, %eax
.L29:
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L30
	call	__stack_chk_fail@PLT
.L30:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.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	fill
	.type	fill, @function
fill:
.LFB7:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	movq	%rdi, -24(%rbp)
	movl	%esi, -28(%rbp)
	movl	%edx, -32(%rbp)
	movl	$0, -4(%rbp)
	jmp	.L4
.L5:
	movl	-4(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	movq	-24(%rbp), %rax
	addq	%rax, %rdx
	movl	-32(%rbp), %eax
	movl	%eax, (%rdx)
	addl	$1, -4(%rbp)
.L4:
	movl	-4(%rbp), %eax
	cmpl	-28(%rbp), %eax
	jl	.L5
	nop
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	fill, .-fill
	.globl	map
	.bss
	.align 32
	.type	map, @object
	.size	map, 100
map:
	.zero	100
	.section	.rodata
.LC0:
	.string	"%*c"
.LC1:
	.string	"%c"
	.text
	.globl	read
	.type	read, @function
read:
.LFB8:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$32, %rsp
	movl	%edi, -20(%rbp)
	movl	%esi, -24(%rbp)
	movl	%edx, %eax
	movb	%al, -28(%rbp)
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -8(%rbp)
	jmp	.L8
.L9:
	movl	-8(%rbp), %eax
	cltq
	leaq	map(%rip), %rcx
	movzbl	-28(%rbp), %edx
	movb	%dl, (%rax,%rcx)
	movl	-20(%rbp), %eax
	leal	1(%rax), %edx
	movl	-8(%rbp), %eax
	movslq	%eax, %rcx
	movslq	%edx, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rax, %rax
	leaq	(%rax,%rcx), %rdx
	leaq	map(%rip), %rax
	addq	%rax, %rdx
	movzbl	-28(%rbp), %eax
	movb	%al, (%rdx)
	addl	$1, -8(%rbp)
.L8:
	movl	-24(%rbp), %eax
	addl	$1, %eax
	cmpl	%eax, -8(%rbp)
	jle	.L9
	movl	$0, -8(%rbp)
	jmp	.L10
.L11:
	movl	-8(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rax, %rax
	movq	%rax, %rcx
	leaq	map(%rip), %rdx
	movzbl	-28(%rbp), %eax
	movb	%al, (%rcx,%rdx)
	movl	-24(%rbp), %eax
	addl	$1, %eax
	movslq	%eax, %rcx
	movl	-8(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rax, %rax
	leaq	(%rax,%rcx), %rdx
	leaq	map(%rip), %rax
	addq	%rax, %rdx
	movzbl	-28(%rbp), %eax
	movb	%al, (%rdx)
	addl	$1, -8(%rbp)
.L10:
	movl	-20(%rbp), %eax
	addl	$1, %eax
	cmpl	%eax, -8(%rbp)
	jle	.L11
	movl	$1, -8(%rbp)
	jmp	.L12
.L15:
	movl	$1, -4(%rbp)
	jmp	.L13
.L14:
	movl	-8(%rbp), %eax
	movslq	%eax, %rcx
	movl	-4(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rax, %rax
	leaq	(%rcx,%rax), %rdx
	leaq	map(%rip), %rax
	addq	%rdx, %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addl	$1, -4(%rbp)
.L13:
	movl	-20(%rbp), %eax
	cmpl	-4(%rbp), %eax
	jge	.L14
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addl	$1, -8(%rbp)
.L12:
	movl	-24(%rbp), %eax
	cmpl	-8(%rbp), %eax
	jge	.L15
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	read, .-read
	.section	.rodata
.LC2:
	.string	"%d%d"
.LC3:
	.string	"Impossible"
.LC4:
	.string	"Possible"
	.text
	.globl	main
	.type	main, @function
main:
.LFB9:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$32, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movl	$1, -24(%rbp)
	movl	$1, -20(%rbp)
	leaq	-28(%rbp), %rdx
	leaq	-32(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-32(%rbp), %ecx
	movl	-28(%rbp), %eax
	movl	$46, %edx
	movl	%ecx, %esi
	movl	%eax, %edi
	call	read
	movl	-20(%rbp), %eax
	movslq	%eax, %rcx
	movl	-24(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rax, %rax
	leaq	(%rax,%rcx), %rdx
	leaq	map(%rip), %rax
	addq	%rdx, %rax
	movb	$46, (%rax)
.L22:
	movl	-24(%rbp), %eax
	leal	1(%rax), %edx
	movl	-20(%rbp), %eax
	movslq	%eax, %rcx
	movslq	%edx, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rax, %rax
	leaq	(%rax,%rcx), %rdx
	leaq	map(%rip), %rax
	addq	%rdx, %rax
	movzbl	(%rax), %eax
	cmpb	$35, %al
	jne	.L18
	addl	$1, -24(%rbp)
	movl	-20(%rbp), %eax
	movslq	%eax, %rcx
	movl	-24(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rax, %rax
	leaq	(%rax,%rcx), %rdx
	leaq	map(%rip), %rax
	addq	%rdx, %rax
	movb	$46, (%rax)
	jmp	.L22
.L18:
	movl	-20(%rbp), %eax
	addl	$1, %eax
	movslq	%eax, %rcx
	movl	-24(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rax, %rax
	leaq	(%rax,%rcx), %rdx
	leaq	map(%rip), %rax
	addq	%rdx, %rax
	movzbl	(%rax), %eax
	cmpb	$35, %al
	jne	.L31
	addl	$1, -20(%rbp)
	movl	-20(%rbp), %eax
	movslq	%eax, %rcx
	movl	-24(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rax, %rax
	leaq	(%rax,%rcx), %rdx
	leaq	map(%rip), %rax
	addq	%rdx, %rax
	movb	$46, (%rax)
	jmp	.L22
.L31:
	nop
	movl	$1, -16(%rbp)
	jmp	.L23
.L28:
	movl	$1, -12(%rbp)
	jmp	.L24
.L27:
	movl	-16(%rbp), %eax
	movslq	%eax, %rcx
	movl	-12(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rax, %rax
	leaq	(%rax,%rcx), %rdx
	leaq	map(%rip), %rax
	addq	%rdx, %rax
	movzbl	(%rax), %eax
	cmpb	$35, %al
	jne	.L25
	leaq	.LC3(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	movl	$0, %eax
	jmp	.L29
.L25:
	addl	$1, -12(%rbp)
.L24:
	movl	-28(%rbp), %eax
	cmpl	%eax, -12(%rbp)
	jle	.L27
	addl	$1, -16(%rbp)
.L23:
	movl	-32(%rbp), %eax
	cmpl	%eax, -16(%rbp)
	jle	.L28
	leaq	.LC4(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	movl	$0, %eax
.L29:
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L30
	call	__stack_chk_fail@PLT
.L30:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.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:
