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<string.h>
#include<math.h>
#include<stdlib.h>
#include<limits.h>

#define rep(i,begin,end) for(int i=begin; i<end; i++)
#define revrep(i,begin,end) for(int i=begin; i>end; i--)
#define lld long long int

int main(){
    int n, m;
    scanf("%d %d", &n, &m);
    int t[2][n+1];
    rep(i, 0, n+1){
        t[0][i] = 0;
        t[1][i] = 0;
    }
    rep(i, 0, m){
        int a, b;
        scanf("%d %d", &a, &b);
        if(a == 1){
            t[0][b] = 1;
        }
        if(a == n){
            t[1][b] = 1;
        }
        if(b == 1){
            t[0][a] = 1;
        }
        if(b == n){
            t[1][a] = 1;
        }
    }
    int f = 0;
    rep(i, 1, n+1){
        if(t[0][i]==1 && t[1][i]==1){
            f = 1;
            break;
        }
    }
    printf(f ? "POSSIBLE" : "IMPOSSIBLE");

    return 0;
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%d %d"
.LC1:
	.string	"POSSIBLE"
.LC2:
	.string	"IMPOSSIBLE"
	.text
	.globl	main
	.type	main, @function
main:
.LFB6:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	pushq	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	subq	$96, %rsp
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 12, -40
	.cfi_offset 3, -48
	movq	%fs:40, %rax
	movq	%rax, -40(%rbp)
	xorl	%eax, %eax
	movq	%rsp, %rax
	movq	%rax, %r12
	leaq	-84(%rbp), %rdx
	leaq	-88(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-88(%rbp), %eax
	addl	$1, %eax
	movslq	%eax, %rdx
	subq	$1, %rdx
	movq	%rdx, -56(%rbp)
	movslq	%eax, %rdx
	movq	%rdx, -112(%rbp)
	movq	$0, -104(%rbp)
	movslq	%eax, %rdx
	leaq	0(,%rdx,4), %rbx
	movslq	%eax, %rdx
	movq	%rdx, -128(%rbp)
	movq	$0, -120(%rbp)
	movslq	%eax, %rdx
	movq	%rdx, %r14
	movl	$0, %r15d
	cltq
	leaq	0(,%rax,8), %rdx
	movl	$16, %eax
	subq	$1, %rax
	addq	%rdx, %rax
	movl	$16, %esi
	movl	$0, %edx
	divq	%rsi
	imulq	$16, %rax, %rax
	movq	%rax, %rcx
	andq	$-4096, %rcx
	movq	%rsp, %rdx
	subq	%rcx, %rdx
.L2:
	cmpq	%rdx, %rsp
	je	.L3
	subq	$4096, %rsp
	orq	$0, 4088(%rsp)
	jmp	.L2
.L3:
	movq	%rax, %rdx
	andl	$4095, %edx
	subq	%rdx, %rsp
	movq	%rax, %rdx
	andl	$4095, %edx
	testq	%rdx, %rdx
	je	.L4
	andl	$4095, %eax
	subq	$8, %rax
	addq	%rsp, %rax
	orq	$0, (%rax)
.L4:
	movq	%rsp, %rax
	addq	$3, %rax
	shrq	$2, %rax
	salq	$2, %rax
	movq	%rax, -48(%rbp)
	movl	$0, -72(%rbp)
	jmp	.L5
.L6:
	movq	-48(%rbp), %rax
	movl	-72(%rbp), %edx
	movslq	%edx, %rdx
	movl	$0, (%rax,%rdx,4)
	movq	%rbx, %rcx
	shrq	$2, %rcx
	movq	-48(%rbp), %rax
	movl	-72(%rbp), %edx
	movslq	%edx, %rdx
	addq	%rcx, %rdx
	movl	$0, (%rax,%rdx,4)
	addl	$1, -72(%rbp)
.L5:
	movl	-88(%rbp), %eax
	cmpl	%eax, -72(%rbp)
	jle	.L6
	movl	$0, -68(%rbp)
	jmp	.L7
.L12:
	leaq	-76(%rbp), %rdx
	leaq	-80(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-80(%rbp), %eax
	cmpl	$1, %eax
	jne	.L8
	movl	-76(%rbp), %edx
	movq	-48(%rbp), %rax
	movslq	%edx, %rdx
	movl	$1, (%rax,%rdx,4)
.L8:
	movl	-80(%rbp), %edx
	movl	-88(%rbp), %eax
	cmpl	%eax, %edx
	jne	.L9
	movq	%rbx, %rcx
	shrq	$2, %rcx
	movl	-76(%rbp), %edx
	movq	-48(%rbp), %rax
	movslq	%edx, %rdx
	addq	%rcx, %rdx
	movl	$1, (%rax,%rdx,4)
.L9:
	movl	-76(%rbp), %eax
	cmpl	$1, %eax
	jne	.L10
	movl	-80(%rbp), %edx
	movq	-48(%rbp), %rax
	movslq	%edx, %rdx
	movl	$1, (%rax,%rdx,4)
.L10:
	movl	-76(%rbp), %edx
	movl	-88(%rbp), %eax
	cmpl	%eax, %edx
	jne	.L11
	movq	%rbx, %rcx
	shrq	$2, %rcx
	movl	-80(%rbp), %edx
	movq	-48(%rbp), %rax
	movslq	%edx, %rdx
	addq	%rcx, %rdx
	movl	$1, (%rax,%rdx,4)
.L11:
	addl	$1, -68(%rbp)
.L7:
	movl	-84(%rbp), %eax
	cmpl	%eax, -68(%rbp)
	jl	.L12
	movl	$0, -64(%rbp)
	movl	$1, -60(%rbp)
	jmp	.L13
.L16:
	movq	-48(%rbp), %rax
	movl	-60(%rbp), %edx
	movslq	%edx, %rdx
	movl	(%rax,%rdx,4), %eax
	cmpl	$1, %eax
	jne	.L14
	movq	%rbx, %rcx
	shrq	$2, %rcx
	movq	-48(%rbp), %rax
	movl	-60(%rbp), %edx
	movslq	%edx, %rdx
	addq	%rcx, %rdx
	movl	(%rax,%rdx,4), %eax
	cmpl	$1, %eax
	jne	.L14
	movl	$1, -64(%rbp)
	jmp	.L15
.L14:
	addl	$1, -60(%rbp)
.L13:
	movl	-88(%rbp), %eax
	cmpl	%eax, -60(%rbp)
	jle	.L16
.L15:
	cmpl	$0, -64(%rbp)
	je	.L17
	leaq	.LC1(%rip), %rax
	jmp	.L18
.L17:
	leaq	.LC2(%rip), %rax
.L18:
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, %eax
	movq	%r12, %rsp
	movq	-40(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L20
	call	__stack_chk_fail@PLT
.L20:
	leaq	-32(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.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
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"POSSIBLE"
.LC1:
	.string	"IMPOSSIBLE"
.LC2:
	.string	"%d %d"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB51:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	pushq	%r15
	pushq	%r14
	leaq	-68(%rbp), %rdx
	leaq	-72(%rbp), %rsi
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	leaq	.LC2(%rip), %rbx
	movq	%rbx, %rdi
	subq	$56, %rsp
	movq	%fs:40, %rax
	movq	%rax, -56(%rbp)
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	-72(%rbp), %ecx
	movq	%rsp, %rsi
	leal	1(%rcx), %eax
	cltq
	leaq	0(,%rax,4), %rdi
	leaq	15(,%rax,8), %rax
	movq	%rax, %rdx
	andq	$-4096, %rax
	movq	%rdi, -96(%rbp)
	subq	%rax, %rsi
	andq	$-16, %rdx
	cmpq	%rsi, %rsp
	je	.L3
.L28:
	subq	$4096, %rsp
	orq	$0, 4088(%rsp)
	cmpq	%rsi, %rsp
	jne	.L28
.L3:
	andl	$4095, %edx
	subq	%rdx, %rsp
	testq	%rdx, %rdx
	jne	.L29
.L4:
	movq	%rsp, %r15
	testl	%ecx, %ecx
	js	.L8
	movslq	%ecx, %rax
	xorl	%esi, %esi
	movq	%r15, %rdi
	movl	%ecx, -88(%rbp)
	leaq	4(,%rax,4), %r13
	movq	%r13, %rdx
	call	memset@PLT
	movq	-96(%rbp), %rax
	movq	%r13, %rdx
	xorl	%esi, %esi
	leaq	(%r15,%rax), %rdi
	call	memset@PLT
	movl	-88(%rbp), %ecx
.L8:
	movl	-68(%rbp), %eax
	testl	%eax, %eax
	jle	.L7
	movq	-96(%rbp), %rax
	xorl	%r12d, %r12d
	leaq	-60(%rbp), %r14
	leaq	-64(%rbp), %r13
	shrq	$2, %rax
	movq	%rax, -88(%rbp)
	.p2align 4,,10
	.p2align 3
.L15:
	movq	%r14, %rdx
	movq	%r13, %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movslq	-64(%rbp), %rax
	cmpl	$1, %eax
	je	.L9
	movl	-60(%rbp), %edx
.L10:
	movl	-72(%rbp), %ecx
	cmpl	%ecx, %eax
	jne	.L11
	movslq	%edx, %rsi
	addq	-88(%rbp), %rsi
	movl	$1, (%r15,%rsi,4)
.L11:
	cmpl	$1, %edx
	jne	.L12
	movslq	%eax, %rsi
	movl	$1, (%r15,%rsi,4)
.L12:
	cmpl	%edx, %ecx
	je	.L30
	addl	$1, %r12d
	cmpl	%r12d, -68(%rbp)
	jg	.L15
.L7:
	leaq	.LC1(%rip), %rsi
	testl	%ecx, %ecx
	jle	.L16
	movq	-96(%rbp), %r12
	movl	$1, %eax
	addq	%r15, %r12
	jmp	.L18
	.p2align 4,,10
	.p2align 3
.L17:
	addq	$1, %rax
	cmpl	%eax, %ecx
	jl	.L31
.L18:
	cmpl	$1, (%r15,%rax,4)
	jne	.L17
	cmpl	$1, (%r12,%rax,4)
	jne	.L17
	leaq	.LC0(%rip), %rsi
.L16:
	xorl	%eax, %eax
	movl	$1, %edi
	call	__printf_chk@PLT
	movq	-56(%rbp), %rax
	subq	%fs:40, %rax
	jne	.L32
	leaq	-40(%rbp), %rsp
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	.cfi_remember_state
	.cfi_def_cfa 7, 8
	ret
	.p2align 4,,10
	.p2align 3
.L30:
	.cfi_restore_state
	addq	-88(%rbp), %rax
	addl	$1, %r12d
	movl	$1, (%r15,%rax,4)
	cmpl	%r12d, -68(%rbp)
	jg	.L15
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L9:
	movslq	-60(%rbp), %rcx
	movl	$1, (%r15,%rcx,4)
	movq	%rcx, %rdx
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L31:
	leaq	.LC1(%rip), %rsi
	jmp	.L16
.L29:
	orq	$0, -8(%rsp,%rdx)
	jmp	.L4
.L32:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE51:
	.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
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"POSSIBLE"
.LC1:
	.string	"IMPOSSIBLE"
.LC2:
	.string	"%d %d"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB51:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	pushq	%r15
	pushq	%r14
	leaq	-68(%rbp), %rdx
	leaq	-72(%rbp), %rsi
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	leaq	.LC2(%rip), %rbx
	movq	%rbx, %rdi
	subq	$56, %rsp
	movq	%fs:40, %rax
	movq	%rax, -56(%rbp)
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	-72(%rbp), %ecx
	movq	%rsp, %rsi
	leal	1(%rcx), %eax
	cltq
	leaq	0(,%rax,4), %rdi
	leaq	15(,%rax,8), %rax
	movq	%rax, %rdx
	andq	$-4096, %rax
	movq	%rdi, -96(%rbp)
	subq	%rax, %rsi
	andq	$-16, %rdx
	cmpq	%rsi, %rsp
	je	.L3
.L28:
	subq	$4096, %rsp
	orq	$0, 4088(%rsp)
	cmpq	%rsi, %rsp
	jne	.L28
.L3:
	andl	$4095, %edx
	subq	%rdx, %rsp
	testq	%rdx, %rdx
	jne	.L29
.L4:
	movq	%rsp, %r15
	testl	%ecx, %ecx
	js	.L8
	movslq	%ecx, %rax
	xorl	%esi, %esi
	movq	%r15, %rdi
	movl	%ecx, -88(%rbp)
	leaq	4(,%rax,4), %r13
	movq	%r13, %rdx
	call	memset@PLT
	movq	-96(%rbp), %rax
	movq	%r13, %rdx
	xorl	%esi, %esi
	leaq	(%r15,%rax), %rdi
	call	memset@PLT
	movl	-88(%rbp), %ecx
.L8:
	movl	-68(%rbp), %eax
	testl	%eax, %eax
	jle	.L7
	movq	-96(%rbp), %rax
	xorl	%r12d, %r12d
	leaq	-60(%rbp), %r14
	leaq	-64(%rbp), %r13
	shrq	$2, %rax
	movq	%rax, -88(%rbp)
	.p2align 4,,10
	.p2align 3
.L15:
	movq	%r14, %rdx
	movq	%r13, %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movslq	-64(%rbp), %rax
	cmpl	$1, %eax
	je	.L9
	movl	-60(%rbp), %edx
.L10:
	movl	-72(%rbp), %ecx
	cmpl	%ecx, %eax
	jne	.L11
	movslq	%edx, %rsi
	addq	-88(%rbp), %rsi
	movl	$1, (%r15,%rsi,4)
.L11:
	cmpl	$1, %edx
	jne	.L12
	movslq	%eax, %rsi
	movl	$1, (%r15,%rsi,4)
.L12:
	cmpl	%edx, %ecx
	je	.L30
	addl	$1, %r12d
	cmpl	%r12d, -68(%rbp)
	jg	.L15
.L7:
	leaq	.LC1(%rip), %rsi
	testl	%ecx, %ecx
	jle	.L16
	movq	-96(%rbp), %r12
	movl	$1, %eax
	addq	%r15, %r12
	jmp	.L18
	.p2align 4,,10
	.p2align 3
.L17:
	addq	$1, %rax
	cmpl	%eax, %ecx
	jl	.L31
.L18:
	cmpl	$1, (%r15,%rax,4)
	jne	.L17
	cmpl	$1, (%r12,%rax,4)
	jne	.L17
	leaq	.LC0(%rip), %rsi
.L16:
	xorl	%eax, %eax
	movl	$1, %edi
	call	__printf_chk@PLT
	movq	-56(%rbp), %rax
	subq	%fs:40, %rax
	jne	.L32
	leaq	-40(%rbp), %rsp
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	.cfi_remember_state
	.cfi_def_cfa 7, 8
	ret
	.p2align 4,,10
	.p2align 3
.L30:
	.cfi_restore_state
	addq	-88(%rbp), %rax
	addl	$1, %r12d
	movl	$1, (%r15,%rax,4)
	cmpl	%r12d, -68(%rbp)
	jg	.L15
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L9:
	movslq	-60(%rbp), %rcx
	movl	$1, (%r15,%rcx,4)
	movq	%rcx, %rdx
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L31:
	leaq	.LC1(%rip), %rsi
	jmp	.L16
.L29:
	orq	$0, -8(%rsp,%rdx)
	jmp	.L4
.L32:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE51:
	.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:

#include<stdio.h>
#include<string.h>
#include<math.h>
#include<stdlib.h>
#include<limits.h>

#define rep(i,begin,end) for(int i=begin; i<end; i++)
#define revrep(i,begin,end) for(int i=begin; i>end; i--)
#define lld long long int

int main(){
    int n, m;
    scanf("%d %d", &n, &m);
    int t[2][n+1];
    rep(i, 0, n+1){
        t[0][i] = 0;
        t[1][i] = 0;
    }
    rep(i, 0, m){
        int a, b;
        scanf("%d %d", &a, &b);
        if(a == 1){
            t[0][b] = 1;
        }
        if(a == n){
            t[1][b] = 1;
        }
        if(b == 1){
            t[0][a] = 1;
        }
        if(b == n){
            t[1][a] = 1;
        }
    }
    int f = 0;
    rep(i, 1, n+1){
        if(t[0][i]==1 && t[1][i]==1){
            f = 1;
            break;
        }
    }
    printf(f ? "POSSIBLE" : "IMPOSSIBLE");

    return 0;
}
3 2
1 2
2 3

POSSIBLE
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<string.h>
#include<math.h>
#include<stdlib.h>
#include<limits.h>

#define rep(i,begin,end) for(int i=begin; i<end; i++)
#define revrep(i,begin,end) for(int i=begin; i>end; i--)
#define lld long long int

int main(){
    int n, m;
    scanf("%d %d", &n, &m);
    int t[2][n+1];
    rep(i, 0, n+1){
        t[0][i] = 0;
        t[1][i] = 0;
    }
    rep(i, 0, m){
        int a, b;
        scanf("%d %d", &a, &b);
        if(a == 1){
            t[0][b] = 1;
        }
        if(a == n){
            t[1][b] = 1;
        }
        if(b == 1){
            t[0][a] = 1;
        }
        if(b == n){
            t[1][a] = 1;
        }
    }
    int f = 0;
    rep(i, 1, n+1){
        if(t[0][i]==1 && t[1][i]==1){
            f = 1;
            break;
        }
    }
    printf(f ? "POSSIBLE" : "IMPOSSIBLE");

    return 0;
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%d %d"
.LC1:
	.string	"POSSIBLE"
.LC2:
	.string	"IMPOSSIBLE"
	.text
	.globl	main
	.type	main, @function
main:
.LFB6:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	pushq	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	subq	$96, %rsp
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 12, -40
	.cfi_offset 3, -48
	movq	%fs:40, %rax
	movq	%rax, -40(%rbp)
	xorl	%eax, %eax
	movq	%rsp, %rax
	movq	%rax, %r12
	leaq	-84(%rbp), %rdx
	leaq	-88(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-88(%rbp), %eax
	addl	$1, %eax
	movslq	%eax, %rdx
	subq	$1, %rdx
	movq	%rdx, -56(%rbp)
	movslq	%eax, %rdx
	movq	%rdx, -112(%rbp)
	movq	$0, -104(%rbp)
	movslq	%eax, %rdx
	leaq	0(,%rdx,4), %rbx
	movslq	%eax, %rdx
	movq	%rdx, -128(%rbp)
	movq	$0, -120(%rbp)
	movslq	%eax, %rdx
	movq	%rdx, %r14
	movl	$0, %r15d
	cltq
	leaq	0(,%rax,8), %rdx
	movl	$16, %eax
	subq	$1, %rax
	addq	%rdx, %rax
	movl	$16, %esi
	movl	$0, %edx
	divq	%rsi
	imulq	$16, %rax, %rax
	movq	%rax, %rcx
	andq	$-4096, %rcx
	movq	%rsp, %rdx
	subq	%rcx, %rdx
.L2:
	cmpq	%rdx, %rsp
	je	.L3
	subq	$4096, %rsp
	orq	$0, 4088(%rsp)
	jmp	.L2
.L3:
	movq	%rax, %rdx
	andl	$4095, %edx
	subq	%rdx, %rsp
	movq	%rax, %rdx
	andl	$4095, %edx
	testq	%rdx, %rdx
	je	.L4
	andl	$4095, %eax
	subq	$8, %rax
	addq	%rsp, %rax
	orq	$0, (%rax)
.L4:
	movq	%rsp, %rax
	addq	$3, %rax
	shrq	$2, %rax
	salq	$2, %rax
	movq	%rax, -48(%rbp)
	movl	$0, -72(%rbp)
	jmp	.L5
.L6:
	movq	-48(%rbp), %rax
	movl	-72(%rbp), %edx
	movslq	%edx, %rdx
	movl	$0, (%rax,%rdx,4)
	movq	%rbx, %rcx
	shrq	$2, %rcx
	movq	-48(%rbp), %rax
	movl	-72(%rbp), %edx
	movslq	%edx, %rdx
	addq	%rcx, %rdx
	movl	$0, (%rax,%rdx,4)
	addl	$1, -72(%rbp)
.L5:
	movl	-88(%rbp), %eax
	cmpl	%eax, -72(%rbp)
	jle	.L6
	movl	$0, -68(%rbp)
	jmp	.L7
.L12:
	leaq	-76(%rbp), %rdx
	leaq	-80(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-80(%rbp), %eax
	cmpl	$1, %eax
	jne	.L8
	movl	-76(%rbp), %edx
	movq	-48(%rbp), %rax
	movslq	%edx, %rdx
	movl	$1, (%rax,%rdx,4)
.L8:
	movl	-80(%rbp), %edx
	movl	-88(%rbp), %eax
	cmpl	%eax, %edx
	jne	.L9
	movq	%rbx, %rcx
	shrq	$2, %rcx
	movl	-76(%rbp), %edx
	movq	-48(%rbp), %rax
	movslq	%edx, %rdx
	addq	%rcx, %rdx
	movl	$1, (%rax,%rdx,4)
.L9:
	movl	-76(%rbp), %eax
	cmpl	$1, %eax
	jne	.L10
	movl	-80(%rbp), %edx
	movq	-48(%rbp), %rax
	movslq	%edx, %rdx
	movl	$1, (%rax,%rdx,4)
.L10:
	movl	-76(%rbp), %edx
	movl	-88(%rbp), %eax
	cmpl	%eax, %edx
	jne	.L11
	movq	%rbx, %rcx
	shrq	$2, %rcx
	movl	-80(%rbp), %edx
	movq	-48(%rbp), %rax
	movslq	%edx, %rdx
	addq	%rcx, %rdx
	movl	$1, (%rax,%rdx,4)
.L11:
	addl	$1, -68(%rbp)
.L7:
	movl	-84(%rbp), %eax
	cmpl	%eax, -68(%rbp)
	jl	.L12
	movl	$0, -64(%rbp)
	movl	$1, -60(%rbp)
	jmp	.L13
.L16:
	movq	-48(%rbp), %rax
	movl	-60(%rbp), %edx
	movslq	%edx, %rdx
	movl	(%rax,%rdx,4), %eax
	cmpl	$1, %eax
	jne	.L14
	movq	%rbx, %rcx
	shrq	$2, %rcx
	movq	-48(%rbp), %rax
	movl	-60(%rbp), %edx
	movslq	%edx, %rdx
	addq	%rcx, %rdx
	movl	(%rax,%rdx,4), %eax
	cmpl	$1, %eax
	jne	.L14
	movl	$1, -64(%rbp)
	jmp	.L15
.L14:
	addl	$1, -60(%rbp)
.L13:
	movl	-88(%rbp), %eax
	cmpl	%eax, -60(%rbp)
	jle	.L16
.L15:
	cmpl	$0, -64(%rbp)
	je	.L17
	leaq	.LC1(%rip), %rax
	jmp	.L18
.L17:
	leaq	.LC2(%rip), %rax
.L18:
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, %eax
	movq	%r12, %rsp
	movq	-40(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L20
	call	__stack_chk_fail@PLT
.L20:
	leaq	-32(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.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
	.section	.rodata
.LC0:
	.string	"%d %d"
.LC1:
	.string	"POSSIBLE"
.LC2:
	.string	"IMPOSSIBLE"
	.text
	.globl	main
	.type	main, @function
main:
.LFB6:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	pushq	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	subq	$96, %rsp
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 12, -40
	.cfi_offset 3, -48
	movq	%fs:40, %rax
	movq	%rax, -40(%rbp)
	xorl	%eax, %eax
	movq	%rsp, %rax
	movq	%rax, %r12
	leaq	-84(%rbp), %rdx
	leaq	-88(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-88(%rbp), %eax
	addl	$1, %eax
	movslq	%eax, %rdx
	subq	$1, %rdx
	movq	%rdx, -56(%rbp)
	movslq	%eax, %rdx
	movq	%rdx, -112(%rbp)
	movq	$0, -104(%rbp)
	movslq	%eax, %rdx
	leaq	0(,%rdx,4), %rbx
	movslq	%eax, %rdx
	movq	%rdx, -128(%rbp)
	movq	$0, -120(%rbp)
	movslq	%eax, %rdx
	movq	%rdx, %r14
	movl	$0, %r15d
	cltq
	leaq	0(,%rax,8), %rdx
	movl	$16, %eax
	subq	$1, %rax
	addq	%rdx, %rax
	movl	$16, %esi
	movl	$0, %edx
	divq	%rsi
	imulq	$16, %rax, %rax
	movq	%rax, %rcx
	andq	$-4096, %rcx
	movq	%rsp, %rdx
	subq	%rcx, %rdx
.L2:
	cmpq	%rdx, %rsp
	je	.L3
	subq	$4096, %rsp
	orq	$0, 4088(%rsp)
	jmp	.L2
.L3:
	movq	%rax, %rdx
	andl	$4095, %edx
	subq	%rdx, %rsp
	movq	%rax, %rdx
	andl	$4095, %edx
	testq	%rdx, %rdx
	je	.L4
	andl	$4095, %eax
	subq	$8, %rax
	addq	%rsp, %rax
	orq	$0, (%rax)
.L4:
	movq	%rsp, %rax
	addq	$3, %rax
	shrq	$2, %rax
	salq	$2, %rax
	movq	%rax, -48(%rbp)
	movl	$0, -72(%rbp)
	jmp	.L5
.L6:
	movq	-48(%rbp), %rax
	movl	-72(%rbp), %edx
	movslq	%edx, %rdx
	movl	$0, (%rax,%rdx,4)
	movq	%rbx, %rcx
	shrq	$2, %rcx
	movq	-48(%rbp), %rax
	movl	-72(%rbp), %edx
	movslq	%edx, %rdx
	addq	%rcx, %rdx
	movl	$0, (%rax,%rdx,4)
	addl	$1, -72(%rbp)
.L5:
	movl	-88(%rbp), %eax
	cmpl	%eax, -72(%rbp)
	jle	.L6
	movl	$0, -68(%rbp)
	jmp	.L7
.L12:
	leaq	-76(%rbp), %rdx
	leaq	-80(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-80(%rbp), %eax
	cmpl	$1, %eax
	jne	.L8
	movl	-76(%rbp), %edx
	movq	-48(%rbp), %rax
	movslq	%edx, %rdx
	movl	$1, (%rax,%rdx,4)
.L8:
	movl	-80(%rbp), %edx
	movl	-88(%rbp), %eax
	cmpl	%eax, %edx
	jne	.L9
	movq	%rbx, %rcx
	shrq	$2, %rcx
	movl	-76(%rbp), %edx
	movq	-48(%rbp), %rax
	movslq	%edx, %rdx
	addq	%rcx, %rdx
	movl	$1, (%rax,%rdx,4)
.L9:
	movl	-76(%rbp), %eax
	cmpl	$1, %eax
	jne	.L10
	movl	-80(%rbp), %edx
	movq	-48(%rbp), %rax
	movslq	%edx, %rdx
	movl	$1, (%rax,%rdx,4)
.L10:
	movl	-76(%rbp), %edx
	movl	-88(%rbp), %eax
	cmpl	%eax, %edx
	jne	.L11
	movq	%rbx, %rcx
	shrq	$2, %rcx
	movl	-80(%rbp), %edx
	movq	-48(%rbp), %rax
	movslq	%edx, %rdx
	addq	%rcx, %rdx
	movl	$1, (%rax,%rdx,4)
.L11:
	addl	$1, -68(%rbp)
.L7:
	movl	-84(%rbp), %eax
	cmpl	%eax, -68(%rbp)
	jl	.L12
	movl	$0, -64(%rbp)
	movl	$1, -60(%rbp)
	jmp	.L13
.L16:
	movq	-48(%rbp), %rax
	movl	-60(%rbp), %edx
	movslq	%edx, %rdx
	movl	(%rax,%rdx,4), %eax
	cmpl	$1, %eax
	jne	.L14
	movq	%rbx, %rcx
	shrq	$2, %rcx
	movq	-48(%rbp), %rax
	movl	-60(%rbp), %edx
	movslq	%edx, %rdx
	addq	%rcx, %rdx
	movl	(%rax,%rdx,4), %eax
	cmpl	$1, %eax
	jne	.L14
	movl	$1, -64(%rbp)
	jmp	.L15
.L14:
	addl	$1, -60(%rbp)
.L13:
	movl	-88(%rbp), %eax
	cmpl	%eax, -60(%rbp)
	jle	.L16
.L15:
	cmpl	$0, -64(%rbp)
	je	.L17
	leaq	.LC1(%rip), %rax
	jmp	.L18
.L17:
	leaq	.LC2(%rip), %rax
.L18:
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, %eax
	movq	%r12, %rsp
	movq	-40(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L20
	call	__stack_chk_fail@PLT
.L20:
	leaq	-32(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.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:
