Given the following C code and unoptimized assembly code, your task is to generate highly optimized x86-64 assembly code.
C Code:

```c
#include <limits.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include <unistd.h>
#include <math.h>

#define P 1000000007

int comp(const void *a, const void *b){return *(int*)a-*(int*)b;}

int gcd2(int a, int b){
	int t;
	if(a>b) t=a, a=b, b=t;
	t = b % a;
	while(t!=0){
		b = a;
		a = t;
		t = b % a;
	}
	return a;
}


int main(void){
	int n, i;
	int a[100000], k;
	scanf("%d%d", &n, &k);
	for(i=0; i<n; i++){
		scanf("%d", a+i);
	}
	int g=a[0];
	for(i=1; i<n; i++){
		g=gcd2(g, a[i]);
	}
	for(i=0; i<n; i++){
		if(a[i]>=k && k%g==0){
			puts("POSSIBLE");
			return 0;
		}
	}
	puts("IMPOSSIBLE");
}
```

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	gcd2
	.type	gcd2, @function
gcd2:
.LFB7:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	movl	%edi, -20(%rbp)
	movl	%esi, -24(%rbp)
	movl	-20(%rbp), %eax
	cmpl	-24(%rbp), %eax
	jle	.L4
	movl	-20(%rbp), %eax
	movl	%eax, -4(%rbp)
	movl	-24(%rbp), %eax
	movl	%eax, -20(%rbp)
	movl	-4(%rbp), %eax
	movl	%eax, -24(%rbp)
.L4:
	movl	-24(%rbp), %eax
	cltd
	idivl	-20(%rbp)
	movl	%edx, -4(%rbp)
	jmp	.L5
.L6:
	movl	-20(%rbp), %eax
	movl	%eax, -24(%rbp)
	movl	-4(%rbp), %eax
	movl	%eax, -20(%rbp)
	movl	-24(%rbp), %eax
	cltd
	idivl	-20(%rbp)
	movl	%edx, -4(%rbp)
.L5:
	cmpl	$0, -4(%rbp)
	jne	.L6
	movl	-20(%rbp), %eax
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	gcd2, .-gcd2
	.section	.rodata
.LC0:
	.string	"%d%d"
.LC1:
	.string	"%d"
.LC2:
	.string	"POSSIBLE"
.LC3:
	.string	"IMPOSSIBLE"
	.text
	.globl	main
	.type	main, @function
main:
.LFB8:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	leaq	-397312(%rsp), %r11
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	subq	$2720, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-400028(%rbp), %rdx
	leaq	-400032(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -400024(%rbp)
	jmp	.L9
.L10:
	movl	-400024(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	-400016(%rbp), %rax
	addq	%rdx, %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addl	$1, -400024(%rbp)
.L9:
	movl	-400032(%rbp), %eax
	cmpl	%eax, -400024(%rbp)
	jl	.L10
	movl	-400016(%rbp), %eax
	movl	%eax, -400020(%rbp)
	movl	$1, -400024(%rbp)
	jmp	.L11
.L12:
	movl	-400024(%rbp), %eax
	cltq
	movl	-400016(%rbp,%rax,4), %edx
	movl	-400020(%rbp), %eax
	movl	%edx, %esi
	movl	%eax, %edi
	call	gcd2
	movl	%eax, -400020(%rbp)
	addl	$1, -400024(%rbp)
.L11:
	movl	-400032(%rbp), %eax
	cmpl	%eax, -400024(%rbp)
	jl	.L12
	movl	$0, -400024(%rbp)
	jmp	.L13
.L16:
	movl	-400024(%rbp), %eax
	cltq
	movl	-400016(%rbp,%rax,4), %edx
	movl	-400028(%rbp), %eax
	cmpl	%eax, %edx
	jl	.L14
	movl	-400028(%rbp), %eax
	cltd
	idivl	-400020(%rbp)
	movl	%edx, %eax
	testl	%eax, %eax
	jne	.L14
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	movl	$0, %eax
	jmp	.L15
.L14:
	addl	$1, -400024(%rbp)
.L13:
	movl	-400032(%rbp), %eax
	cmpl	%eax, -400024(%rbp)
	jl	.L16
	leaq	.LC3(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	movl	$0, %eax
.L15:
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L17
	call	__stack_chk_fail@PLT
.L17:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.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:
.LFB63:
	.cfi_startproc
	endbr64
	movl	(%rdi), %eax
	subl	(%rsi), %eax
	ret
	.cfi_endproc
.LFE63:
	.size	comp, .-comp
	.p2align 4
	.globl	gcd2
	.type	gcd2, @function
gcd2:
.LFB64:
	.cfi_startproc
	endbr64
	movl	%esi, %eax
	cmpl	%esi, %edi
	jle	.L4
	movl	%edi, %edx
	movl	%esi, %edi
	movl	%edx, %eax
.L4:
	cltd
	idivl	%edi
	testl	%edx, %edx
	je	.L7
	.p2align 4,,10
	.p2align 3
.L6:
	movl	%edi, %eax
	movl	%edx, %r8d
	cltd
	movl	%r8d, %edi
	idivl	%r8d
	testl	%edx, %edx
	jne	.L6
	movl	%r8d, %eax
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	movl	%edi, %r8d
	movl	%r8d, %eax
	ret
	.cfi_endproc
.LFE64:
	.size	gcd2, .-gcd2
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d%d"
.LC1:
	.string	"%d"
.LC2:
	.string	"POSSIBLE"
.LC3:
	.string	"IMPOSSIBLE"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB65:
	.cfi_startproc
	endbr64
	pushq	%r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	pushq	%r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	pushq	%rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	pushq	%rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	leaq	-397312(%rsp), %r11
	.cfi_def_cfa 11, 397352
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	.cfi_def_cfa_register 7
	subq	$2728, %rsp
	.cfi_def_cfa_offset 400080
	leaq	.LC0(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, 400024(%rsp)
	xorl	%eax, %eax
	leaq	12(%rsp), %rdx
	leaq	8(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movl	8(%rsp), %eax
	testl	%eax, %eax
	jle	.L10
	leaq	16(%rsp), %rbx
	xorl	%ebp, %ebp
	leaq	.LC1(%rip), %r13
	movq	%rbx, %r12
	.p2align 4,,10
	.p2align 3
.L11:
	movq	%r12, %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	addl	$1, %ebp
	call	__isoc99_scanf@PLT
	movl	8(%rsp), %edi
	addq	$4, %r12
	cmpl	%ebp, %edi
	jg	.L11
	movl	16(%rsp), %esi
	cmpl	$1, %edi
	jle	.L12
	movl	$1, %r8d
	.p2align 4,,10
	.p2align 3
.L16:
	movl	(%rbx,%r8,4), %eax
	movl	%esi, %ecx
	cmpl	%esi, %eax
	jge	.L13
	movl	%eax, %ecx
	movl	%esi, %eax
.L13:
	cltd
	idivl	%ecx
	testl	%edx, %edx
	je	.L23
	.p2align 4,,10
	.p2align 3
.L15:
	movl	%ecx, %eax
	movl	%edx, %esi
	movl	%edx, %ecx
	cltd
	idivl	%esi
	testl	%edx, %edx
	jne	.L15
	addq	$1, %r8
	cmpl	%r8d, %edi
	jg	.L16
.L17:
	movl	12(%rsp), %r8d
	xorl	%ecx, %ecx
	.p2align 4,,10
	.p2align 3
.L20:
	cmpl	%r8d, (%rbx,%rcx,4)
	jl	.L18
	movl	%r8d, %eax
	cltd
	idivl	%esi
	testl	%edx, %edx
	je	.L29
.L18:
	addq	$1, %rcx
	cmpl	%ecx, %edi
	jg	.L20
.L10:
	leaq	.LC3(%rip), %rdi
	call	puts@PLT
.L19:
	movq	400024(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L30
	addq	$400040, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 32
	popq	%rbp
	.cfi_def_cfa_offset 24
	popq	%r12
	.cfi_def_cfa_offset 16
	popq	%r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L23:
	.cfi_restore_state
	addq	$1, %r8
	movl	%ecx, %esi
	cmpl	%r8d, %edi
	jg	.L16
	jmp	.L17
.L29:
	leaq	.LC2(%rip), %rdi
	call	puts@PLT
	jmp	.L19
.L12:
	je	.L17
	jmp	.L10
.L30:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE65:
	.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
	.p2align 4
	.globl	comp
	.type	comp, @function
comp:
.LFB63:
	.cfi_startproc
	endbr64
	movl	(%rdi), %eax
	subl	(%rsi), %eax
	ret
	.cfi_endproc
.LFE63:
	.size	comp, .-comp
	.p2align 4
	.globl	gcd2
	.type	gcd2, @function
gcd2:
.LFB64:
	.cfi_startproc
	endbr64
	movl	%esi, %eax
	cmpl	%esi, %edi
	jle	.L4
	movl	%edi, %edx
	movl	%esi, %edi
	movl	%edx, %eax
.L4:
	cltd
	idivl	%edi
	testl	%edx, %edx
	je	.L7
	.p2align 4,,10
	.p2align 3
.L6:
	movl	%edi, %eax
	movl	%edx, %r8d
	cltd
	movl	%r8d, %edi
	idivl	%r8d
	testl	%edx, %edx
	jne	.L6
	movl	%r8d, %eax
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	movl	%edi, %r8d
	movl	%r8d, %eax
	ret
	.cfi_endproc
.LFE64:
	.size	gcd2, .-gcd2
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d%d"
.LC1:
	.string	"%d"
.LC2:
	.string	"POSSIBLE"
.LC3:
	.string	"IMPOSSIBLE"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB65:
	.cfi_startproc
	endbr64
	pushq	%r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	pushq	%r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	pushq	%rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	pushq	%rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	leaq	-397312(%rsp), %r11
	.cfi_def_cfa 11, 397352
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	.cfi_def_cfa_register 7
	subq	$2728, %rsp
	.cfi_def_cfa_offset 400080
	leaq	.LC0(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, 400024(%rsp)
	xorl	%eax, %eax
	leaq	12(%rsp), %rdx
	leaq	8(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movl	8(%rsp), %eax
	testl	%eax, %eax
	jle	.L10
	leaq	16(%rsp), %rbx
	xorl	%ebp, %ebp
	leaq	.LC1(%rip), %r13
	movq	%rbx, %r12
	.p2align 4,,10
	.p2align 3
.L11:
	movq	%r12, %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	addl	$1, %ebp
	call	__isoc99_scanf@PLT
	movl	8(%rsp), %edi
	addq	$4, %r12
	cmpl	%ebp, %edi
	jg	.L11
	movl	16(%rsp), %esi
	cmpl	$1, %edi
	jle	.L12
	movl	$1, %r8d
	.p2align 4,,10
	.p2align 3
.L16:
	movl	(%rbx,%r8,4), %eax
	movl	%esi, %ecx
	cmpl	%esi, %eax
	jge	.L13
	movl	%eax, %ecx
	movl	%esi, %eax
.L13:
	cltd
	idivl	%ecx
	testl	%edx, %edx
	je	.L23
	.p2align 4,,10
	.p2align 3
.L15:
	movl	%ecx, %eax
	movl	%edx, %esi
	movl	%edx, %ecx
	cltd
	idivl	%esi
	testl	%edx, %edx
	jne	.L15
	addq	$1, %r8
	cmpl	%r8d, %edi
	jg	.L16
.L17:
	movl	12(%rsp), %r8d
	xorl	%ecx, %ecx
	.p2align 4,,10
	.p2align 3
.L20:
	cmpl	%r8d, (%rbx,%rcx,4)
	jl	.L18
	movl	%r8d, %eax
	cltd
	idivl	%esi
	testl	%edx, %edx
	je	.L29
.L18:
	addq	$1, %rcx
	cmpl	%ecx, %edi
	jg	.L20
.L10:
	leaq	.LC3(%rip), %rdi
	call	puts@PLT
.L19:
	movq	400024(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L30
	addq	$400040, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 32
	popq	%rbp
	.cfi_def_cfa_offset 24
	popq	%r12
	.cfi_def_cfa_offset 16
	popq	%r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L23:
	.cfi_restore_state
	addq	$1, %r8
	movl	%ecx, %esi
	cmpl	%r8d, %edi
	jg	.L16
	jmp	.L17
.L29:
	leaq	.LC2(%rip), %rdi
	call	puts@PLT
	jmp	.L19
.L12:
	je	.L17
	jmp	.L10
.L30:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE65:
	.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 <limits.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include <unistd.h>
#include <math.h>

#define P 1000000007

int comp(const void *a, const void *b){return *(int*)a-*(int*)b;}

int gcd2(int a, int b){
	int t;
	if(a>b) t=a, a=b, b=t;
	t = b % a;
	while(t!=0){
		b = a;
		a = t;
		t = b % a;
	}
	return a;
}


int main(void){
	int n, i;
	int a[100000], k;
	scanf("%d%d", &n, &k);
	for(i=0; i<n; i++){
		scanf("%d", a+i);
	}
	int g=a[0];
	for(i=1; i<n; i++){
		g=gcd2(g, a[i]);
	}
	for(i=0; i<n; i++){
		if(a[i]>=k && k%g==0){
			puts("POSSIBLE");
			return 0;
		}
	}
	puts("IMPOSSIBLE");
}

4 11
11 3 7 10
 3 5
6 9 6
 5 19
10 2 8 6 4
 3 7
18 3 4
 3 11
11 3 7 10
 3 5
6 16 6
 5 19
10 2 8 6 1

POSSIBLE
 IMPOSSIBLE
 IMPOSSIBLE
 POSSIBLE
 POSSIBLE
 IMPOSSIBLE
 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 <limits.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include <unistd.h>
#include <math.h>

#define P 1000000007

int comp(const void *a, const void *b){return *(int*)a-*(int*)b;}

int gcd2(int a, int b){
	int t;
	if(a>b) t=a, a=b, b=t;
	t = b % a;
	while(t!=0){
		b = a;
		a = t;
		t = b % a;
	}
	return a;
}


int main(void){
	int n, i;
	int a[100000], k;
	scanf("%d%d", &n, &k);
	for(i=0; i<n; i++){
		scanf("%d", a+i);
	}
	int g=a[0];
	for(i=1; i<n; i++){
		g=gcd2(g, a[i]);
	}
	for(i=0; i<n; i++){
		if(a[i]>=k && k%g==0){
			puts("POSSIBLE");
			return 0;
		}
	}
	puts("IMPOSSIBLE");
}
```

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	gcd2
	.type	gcd2, @function
gcd2:
.LFB7:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	movl	%edi, -20(%rbp)
	movl	%esi, -24(%rbp)
	movl	-20(%rbp), %eax
	cmpl	-24(%rbp), %eax
	jle	.L4
	movl	-20(%rbp), %eax
	movl	%eax, -4(%rbp)
	movl	-24(%rbp), %eax
	movl	%eax, -20(%rbp)
	movl	-4(%rbp), %eax
	movl	%eax, -24(%rbp)
.L4:
	movl	-24(%rbp), %eax
	cltd
	idivl	-20(%rbp)
	movl	%edx, -4(%rbp)
	jmp	.L5
.L6:
	movl	-20(%rbp), %eax
	movl	%eax, -24(%rbp)
	movl	-4(%rbp), %eax
	movl	%eax, -20(%rbp)
	movl	-24(%rbp), %eax
	cltd
	idivl	-20(%rbp)
	movl	%edx, -4(%rbp)
.L5:
	cmpl	$0, -4(%rbp)
	jne	.L6
	movl	-20(%rbp), %eax
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	gcd2, .-gcd2
	.section	.rodata
.LC0:
	.string	"%d%d"
.LC1:
	.string	"%d"
.LC2:
	.string	"POSSIBLE"
.LC3:
	.string	"IMPOSSIBLE"
	.text
	.globl	main
	.type	main, @function
main:
.LFB8:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	leaq	-397312(%rsp), %r11
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	subq	$2720, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-400028(%rbp), %rdx
	leaq	-400032(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -400024(%rbp)
	jmp	.L9
.L10:
	movl	-400024(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	-400016(%rbp), %rax
	addq	%rdx, %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addl	$1, -400024(%rbp)
.L9:
	movl	-400032(%rbp), %eax
	cmpl	%eax, -400024(%rbp)
	jl	.L10
	movl	-400016(%rbp), %eax
	movl	%eax, -400020(%rbp)
	movl	$1, -400024(%rbp)
	jmp	.L11
.L12:
	movl	-400024(%rbp), %eax
	cltq
	movl	-400016(%rbp,%rax,4), %edx
	movl	-400020(%rbp), %eax
	movl	%edx, %esi
	movl	%eax, %edi
	call	gcd2
	movl	%eax, -400020(%rbp)
	addl	$1, -400024(%rbp)
.L11:
	movl	-400032(%rbp), %eax
	cmpl	%eax, -400024(%rbp)
	jl	.L12
	movl	$0, -400024(%rbp)
	jmp	.L13
.L16:
	movl	-400024(%rbp), %eax
	cltq
	movl	-400016(%rbp,%rax,4), %edx
	movl	-400028(%rbp), %eax
	cmpl	%eax, %edx
	jl	.L14
	movl	-400028(%rbp), %eax
	cltd
	idivl	-400020(%rbp)
	movl	%edx, %eax
	testl	%eax, %eax
	jne	.L14
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	movl	$0, %eax
	jmp	.L15
.L14:
	addl	$1, -400024(%rbp)
.L13:
	movl	-400032(%rbp), %eax
	cmpl	%eax, -400024(%rbp)
	jl	.L16
	leaq	.LC3(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	movl	$0, %eax
.L15:
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L17
	call	__stack_chk_fail@PLT
.L17:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.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	gcd2
	.type	gcd2, @function
gcd2:
.LFB7:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	movl	%edi, -20(%rbp)
	movl	%esi, -24(%rbp)
	movl	-20(%rbp), %eax
	cmpl	-24(%rbp), %eax
	jle	.L4
	movl	-20(%rbp), %eax
	movl	%eax, -4(%rbp)
	movl	-24(%rbp), %eax
	movl	%eax, -20(%rbp)
	movl	-4(%rbp), %eax
	movl	%eax, -24(%rbp)
.L4:
	movl	-24(%rbp), %eax
	cltd
	idivl	-20(%rbp)
	movl	%edx, -4(%rbp)
	jmp	.L5
.L6:
	movl	-20(%rbp), %eax
	movl	%eax, -24(%rbp)
	movl	-4(%rbp), %eax
	movl	%eax, -20(%rbp)
	movl	-24(%rbp), %eax
	cltd
	idivl	-20(%rbp)
	movl	%edx, -4(%rbp)
.L5:
	cmpl	$0, -4(%rbp)
	jne	.L6
	movl	-20(%rbp), %eax
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	gcd2, .-gcd2
	.section	.rodata
.LC0:
	.string	"%d%d"
.LC1:
	.string	"%d"
.LC2:
	.string	"POSSIBLE"
.LC3:
	.string	"IMPOSSIBLE"
	.text
	.globl	main
	.type	main, @function
main:
.LFB8:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	leaq	-397312(%rsp), %r11
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	subq	$2720, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-400028(%rbp), %rdx
	leaq	-400032(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -400024(%rbp)
	jmp	.L9
.L10:
	movl	-400024(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	-400016(%rbp), %rax
	addq	%rdx, %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addl	$1, -400024(%rbp)
.L9:
	movl	-400032(%rbp), %eax
	cmpl	%eax, -400024(%rbp)
	jl	.L10
	movl	-400016(%rbp), %eax
	movl	%eax, -400020(%rbp)
	movl	$1, -400024(%rbp)
	jmp	.L11
.L12:
	movl	-400024(%rbp), %eax
	cltq
	movl	-400016(%rbp,%rax,4), %edx
	movl	-400020(%rbp), %eax
	movl	%edx, %esi
	movl	%eax, %edi
	call	gcd2
	movl	%eax, -400020(%rbp)
	addl	$1, -400024(%rbp)
.L11:
	movl	-400032(%rbp), %eax
	cmpl	%eax, -400024(%rbp)
	jl	.L12
	movl	$0, -400024(%rbp)
	jmp	.L13
.L16:
	movl	-400024(%rbp), %eax
	cltq
	movl	-400016(%rbp,%rax,4), %edx
	movl	-400028(%rbp), %eax
	cmpl	%eax, %edx
	jl	.L14
	movl	-400028(%rbp), %eax
	cltd
	idivl	-400020(%rbp)
	movl	%edx, %eax
	testl	%eax, %eax
	jne	.L14
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	movl	$0, %eax
	jmp	.L15
.L14:
	addl	$1, -400024(%rbp)
.L13:
	movl	-400032(%rbp), %eax
	cmpl	%eax, -400024(%rbp)
	jl	.L16
	leaq	.LC3(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	movl	$0, %eax
.L15:
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L17
	call	__stack_chk_fail@PLT
.L17:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.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:
