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

```c
/******************************************************************************

                            Online C Compiler.
                Code, Compile, Run and Debug C program online.
Write your code in this editor and press "Run" button to compile and execute it.

*******************************************************************************/

#include <stdio.h>
int getGcd(int, int);

int getGcd(int a, int b){
    if(a==0 || a==b){
        return b;
    }
    if(a>=b){
        return getGcd(a%b, b);
    }
    return getGcd(b, a);
}

int main()
{
    
    int n, k, a, max_num, gcd;
    
    scanf("%d", &n);
    scanf("%d", &k);

    gcd = 0;
	max_num = 0;
    for(int i=0;i<n;i++){
        scanf("%d", &a);
        gcd = getGcd(gcd, a);
        if(max_num<=a){
			max_num = a;
		}
    }
	
	//Can we get the number k by performing subtractions with the n numbers
	if(k%gcd == 0 & gcd>0 & max_num >= k){
		printf("POSSIBLE");	
	}
	else{
		printf("IMPOSSIBLE");
	}
    return 0;
}
```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.p2align 4
	.globl	getGcd
	.type	getGcd, @function
getGcd:
.LFB23:
	.cfi_startproc
	endbr64
	movl	%esi, %r8d
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L6:
	movl	%r8d, %edi
	movl	%eax, %r8d
.L4:
	testl	%edi, %edi
	je	.L8
.L10:
	cmpl	%r8d, %edi
	je	.L8
	movl	%edi, %eax
	jl	.L6
	cltd
	idivl	%r8d
	movl	%edx, %edi
	testl	%edi, %edi
	jne	.L10
.L8:
	movl	%r8d, %eax
	ret
	.cfi_endproc
.LFE23:
	.size	getGcd, .-getGcd
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d"
.LC1:
	.string	"POSSIBLE"
.LC2:
	.string	"IMPOSSIBLE"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB24:
	.cfi_startproc
	endbr64
	pushq	%r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	pushq	%r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	pushq	%r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	pushq	%rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	leaq	.LC0(%rip), %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	movq	%rbp, %rdi
	subq	$32, %rsp
	.cfi_def_cfa_offset 80
	movq	%fs:40, %rax
	movq	%rax, 24(%rsp)
	xorl	%eax, %eax
	leaq	12(%rsp), %rsi
	call	__isoc99_scanf@PLT
	leaq	16(%rsp), %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %eax
	testl	%eax, %eax
	jle	.L12
	xorl	%r14d, %r14d
	xorl	%ebx, %ebx
	leaq	20(%rsp), %r12
	xorl	%r13d, %r13d
	.p2align 4,,10
	.p2align 3
.L15:
	movq	%r12, %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	20(%rsp), %ecx
	movl	%ebx, %edx
	movl	%ecx, %ebx
	jmp	.L17
	.p2align 4,,10
	.p2align 3
.L22:
	movl	%ebx, %edx
	movl	%eax, %ebx
.L17:
	testl	%edx, %edx
	je	.L23
.L34:
	cmpl	%ebx, %edx
	je	.L23
	movl	%edx, %eax
	jl	.L22
	cltd
	idivl	%ebx
	testl	%edx, %edx
	jne	.L34
	.p2align 4,,10
	.p2align 3
.L23:
	cmpl	%ecx, %r13d
	cmovl	%ecx, %r13d
	addl	$1, %r14d
	cmpl	%r14d, 12(%rsp)
	jg	.L15
	movl	16(%rsp), %eax
	testl	%ebx, %ebx
	setg	%cl
	cmpl	%r13d, %eax
	setle	%dl
	testb	%dl, %cl
	je	.L19
	cltd
	idivl	%ebx
	testl	%edx, %edx
	jne	.L19
	leaq	.LC1(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
.L20:
	movq	24(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L35
	addq	$32, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 40
	popq	%rbp
	.cfi_def_cfa_offset 32
	popq	%r12
	.cfi_def_cfa_offset 24
	popq	%r13
	.cfi_def_cfa_offset 16
	popq	%r14
	.cfi_def_cfa_offset 8
	ret
.L19:
	.cfi_restore_state
	leaq	.LC2(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	jmp	.L20
.L12:
	ud2
.L35:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE24:
	.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
	.p2align 4
	.globl	getGcd
	.type	getGcd, @function
getGcd:
.LFB23:
	.cfi_startproc
	endbr64
	movl	%esi, %r8d
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L6:
	movl	%r8d, %edi
	movl	%eax, %r8d
.L4:
	testl	%edi, %edi
	je	.L8
.L10:
	cmpl	%r8d, %edi
	je	.L8
	movl	%edi, %eax
	jl	.L6
	cltd
	idivl	%r8d
	movl	%edx, %edi
	testl	%edi, %edi
	jne	.L10
.L8:
	movl	%r8d, %eax
	ret
	.cfi_endproc
.LFE23:
	.size	getGcd, .-getGcd
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d"
.LC1:
	.string	"POSSIBLE"
.LC2:
	.string	"IMPOSSIBLE"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB24:
	.cfi_startproc
	endbr64
	pushq	%r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	pushq	%r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	pushq	%r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	pushq	%rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	leaq	.LC0(%rip), %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	movq	%rbp, %rdi
	subq	$32, %rsp
	.cfi_def_cfa_offset 80
	movq	%fs:40, %rax
	movq	%rax, 24(%rsp)
	xorl	%eax, %eax
	leaq	12(%rsp), %rsi
	call	__isoc99_scanf@PLT
	leaq	16(%rsp), %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %eax
	testl	%eax, %eax
	jle	.L12
	xorl	%r14d, %r14d
	xorl	%ebx, %ebx
	leaq	20(%rsp), %r12
	xorl	%r13d, %r13d
	.p2align 4,,10
	.p2align 3
.L15:
	movq	%r12, %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	20(%rsp), %ecx
	movl	%ebx, %edx
	movl	%ecx, %ebx
	jmp	.L17
	.p2align 4,,10
	.p2align 3
.L22:
	movl	%ebx, %edx
	movl	%eax, %ebx
.L17:
	testl	%edx, %edx
	je	.L23
.L34:
	cmpl	%ebx, %edx
	je	.L23
	movl	%edx, %eax
	jl	.L22
	cltd
	idivl	%ebx
	testl	%edx, %edx
	jne	.L34
	.p2align 4,,10
	.p2align 3
.L23:
	cmpl	%ecx, %r13d
	cmovl	%ecx, %r13d
	addl	$1, %r14d
	cmpl	%r14d, 12(%rsp)
	jg	.L15
	movl	16(%rsp), %eax
	testl	%ebx, %ebx
	setg	%cl
	cmpl	%r13d, %eax
	setle	%dl
	testb	%dl, %cl
	je	.L19
	cltd
	idivl	%ebx
	testl	%edx, %edx
	jne	.L19
	leaq	.LC1(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
.L20:
	movq	24(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L35
	addq	$32, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 40
	popq	%rbp
	.cfi_def_cfa_offset 32
	popq	%r12
	.cfi_def_cfa_offset 24
	popq	%r13
	.cfi_def_cfa_offset 16
	popq	%r14
	.cfi_def_cfa_offset 8
	ret
.L19:
	.cfi_restore_state
	leaq	.LC2(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	jmp	.L20
.L12:
	ud2
.L35:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE24:
	.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
	.p2align 4
	.globl	getGcd
	.type	getGcd, @function
getGcd:
.LFB23:
	.cfi_startproc
	endbr64
	movl	%esi, %r8d
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L6:
	movl	%r8d, %edi
	movl	%eax, %r8d
.L4:
	testl	%edi, %edi
	je	.L8
.L10:
	cmpl	%r8d, %edi
	je	.L8
	movl	%edi, %eax
	jl	.L6
	cltd
	idivl	%r8d
	movl	%edx, %edi
	testl	%edi, %edi
	jne	.L10
.L8:
	movl	%r8d, %eax
	ret
	.cfi_endproc
.LFE23:
	.size	getGcd, .-getGcd
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d"
.LC1:
	.string	"POSSIBLE"
.LC2:
	.string	"IMPOSSIBLE"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB24:
	.cfi_startproc
	endbr64
	pushq	%r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	pushq	%r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	pushq	%r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	pushq	%rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	leaq	.LC0(%rip), %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	movq	%rbp, %rdi
	subq	$32, %rsp
	.cfi_def_cfa_offset 80
	movq	%fs:40, %rax
	movq	%rax, 24(%rsp)
	xorl	%eax, %eax
	leaq	12(%rsp), %rsi
	call	__isoc99_scanf@PLT
	leaq	16(%rsp), %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %eax
	testl	%eax, %eax
	jle	.L12
	xorl	%r14d, %r14d
	xorl	%ebx, %ebx
	leaq	20(%rsp), %r12
	xorl	%r13d, %r13d
	.p2align 4,,10
	.p2align 3
.L15:
	movq	%r12, %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	20(%rsp), %ecx
	movl	%ebx, %edx
	movl	%ecx, %ebx
	jmp	.L17
	.p2align 4,,10
	.p2align 3
.L22:
	movl	%ebx, %edx
	movl	%eax, %ebx
.L17:
	testl	%edx, %edx
	je	.L23
.L34:
	cmpl	%ebx, %edx
	je	.L23
	movl	%edx, %eax
	jl	.L22
	cltd
	idivl	%ebx
	testl	%edx, %edx
	jne	.L34
	.p2align 4,,10
	.p2align 3
.L23:
	cmpl	%ecx, %r13d
	cmovl	%ecx, %r13d
	addl	$1, %r14d
	cmpl	%r14d, 12(%rsp)
	jg	.L15
	movl	16(%rsp), %eax
	testl	%ebx, %ebx
	setg	%cl
	cmpl	%r13d, %eax
	setle	%dl
	testb	%dl, %cl
	je	.L19
	cltd
	idivl	%ebx
	testl	%edx, %edx
	jne	.L19
	leaq	.LC1(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
.L20:
	movq	24(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L35
	addq	$32, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 40
	popq	%rbp
	.cfi_def_cfa_offset 32
	popq	%r12
	.cfi_def_cfa_offset 24
	popq	%r13
	.cfi_def_cfa_offset 16
	popq	%r14
	.cfi_def_cfa_offset 8
	ret
.L19:
	.cfi_restore_state
	leaq	.LC2(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	jmp	.L20
.L12:
	ud2
.L35:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE24:
	.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
/******************************************************************************

                            Online C Compiler.
                Code, Compile, Run and Debug C program online.
Write your code in this editor and press "Run" button to compile and execute it.

*******************************************************************************/

#include <stdio.h>
int getGcd(int, int);

int getGcd(int a, int b){
    if(a==0 || a==b){
        return b;
    }
    if(a>=b){
        return getGcd(a%b, b);
    }
    return getGcd(b, a);
}

int main()
{
    
    int n, k, a, max_num, gcd;
    
    scanf("%d", &n);
    scanf("%d", &k);

    gcd = 0;
	max_num = 0;
    for(int i=0;i<n;i++){
        scanf("%d", &a);
        gcd = getGcd(gcd, a);
        if(max_num<=a){
			max_num = a;
		}
    }
	
	//Can we get the number k by performing subtractions with the n numbers
	if(k%gcd == 0 & gcd>0 & max_num >= k){
		printf("POSSIBLE");	
	}
	else{
		printf("IMPOSSIBLE");
	}
    return 0;
}
```
Given the following C code, your task is to generate highly optimized x86-64 assembly code.
C Code:

```c
/******************************************************************************

                            Online C Compiler.
                Code, Compile, Run and Debug C program online.
Write your code in this editor and press "Run" button to compile and execute it.

*******************************************************************************/

#include <stdio.h>
int getGcd(int, int);

int getGcd(int a, int b){
    if(a==0 || a==b){
        return b;
    }
    if(a>=b){
        return getGcd(a%b, b);
    }
    return getGcd(b, a);
}

int main()
{
    
    int n, k, a, max_num, gcd;
    
    scanf("%d", &n);
    scanf("%d", &k);

    gcd = 0;
	max_num = 0;
    for(int i=0;i<n;i++){
        scanf("%d", &a);
        gcd = getGcd(gcd, a);
        if(max_num<=a){
			max_num = a;
		}
    }
	
	//Can we get the number k by performing subtractions with the n numbers
	if(k%gcd == 0 & gcd>0 & max_num >= k){
		printf("POSSIBLE");	
	}
	else{
		printf("IMPOSSIBLE");
	}
    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:

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 assembly code, your task is to generate highly optimized x86-64 assembly code.
C Code:

```c
/******************************************************************************

                            Online C Compiler.
                Code, Compile, Run and Debug C program online.
Write your code in this editor and press "Run" button to compile and execute it.

*******************************************************************************/

#include <stdio.h>
int getGcd(int, int);

int getGcd(int a, int b){
    if(a==0 || a==b){
        return b;
    }
    if(a>=b){
        return getGcd(a%b, b);
    }
    return getGcd(b, a);
}

int main()
{
    
    int n, k, a, max_num, gcd;
    
    scanf("%d", &n);
    scanf("%d", &k);

    gcd = 0;
	max_num = 0;
    for(int i=0;i<n;i++){
        scanf("%d", &a);
        gcd = getGcd(gcd, a);
        if(max_num<=a){
			max_num = a;
		}
    }
	
	//Can we get the number k by performing subtractions with the n numbers
	if(k%gcd == 0 & gcd>0 & max_num >= k){
		printf("POSSIBLE");	
	}
	else{
		printf("IMPOSSIBLE");
	}
    return 0;
}
```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.p2align 4
	.globl	getGcd
	.type	getGcd, @function
getGcd:
.LFB23:
	.cfi_startproc
	endbr64
	movl	%esi, %r8d
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L6:
	movl	%r8d, %edi
	movl	%eax, %r8d
.L4:
	testl	%edi, %edi
	je	.L8
.L10:
	cmpl	%r8d, %edi
	je	.L8
	movl	%edi, %eax
	jl	.L6
	cltd
	idivl	%r8d
	movl	%edx, %edi
	testl	%edi, %edi
	jne	.L10
.L8:
	movl	%r8d, %eax
	ret
	.cfi_endproc
.LFE23:
	.size	getGcd, .-getGcd
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d"
.LC1:
	.string	"POSSIBLE"
.LC2:
	.string	"IMPOSSIBLE"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB24:
	.cfi_startproc
	endbr64
	pushq	%r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	pushq	%r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	pushq	%r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	pushq	%rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	leaq	.LC0(%rip), %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	movq	%rbp, %rdi
	subq	$32, %rsp
	.cfi_def_cfa_offset 80
	movq	%fs:40, %rax
	movq	%rax, 24(%rsp)
	xorl	%eax, %eax
	leaq	12(%rsp), %rsi
	call	__isoc99_scanf@PLT
	leaq	16(%rsp), %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %eax
	testl	%eax, %eax
	jle	.L12
	xorl	%r14d, %r14d
	xorl	%ebx, %ebx
	leaq	20(%rsp), %r12
	xorl	%r13d, %r13d
	.p2align 4,,10
	.p2align 3
.L15:
	movq	%r12, %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	20(%rsp), %ecx
	movl	%ebx, %edx
	movl	%ecx, %ebx
	jmp	.L17
	.p2align 4,,10
	.p2align 3
.L22:
	movl	%ebx, %edx
	movl	%eax, %ebx
.L17:
	testl	%edx, %edx
	je	.L23
.L34:
	cmpl	%ebx, %edx
	je	.L23
	movl	%edx, %eax
	jl	.L22
	cltd
	idivl	%ebx
	testl	%edx, %edx
	jne	.L34
	.p2align 4,,10
	.p2align 3
.L23:
	cmpl	%ecx, %r13d
	cmovl	%ecx, %r13d
	addl	$1, %r14d
	cmpl	%r14d, 12(%rsp)
	jg	.L15
	movl	16(%rsp), %eax
	testl	%ebx, %ebx
	setg	%cl
	cmpl	%r13d, %eax
	setle	%dl
	testb	%dl, %cl
	je	.L19
	cltd
	idivl	%ebx
	testl	%edx, %edx
	jne	.L19
	leaq	.LC1(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
.L20:
	movq	24(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L35
	addq	$32, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 40
	popq	%rbp
	.cfi_def_cfa_offset 32
	popq	%r12
	.cfi_def_cfa_offset 24
	popq	%r13
	.cfi_def_cfa_offset 16
	popq	%r14
	.cfi_def_cfa_offset 8
	ret
.L19:
	.cfi_restore_state
	leaq	.LC2(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	jmp	.L20
.L12:
	ud2
.L35:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE24:
	.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
	.p2align 4
	.globl	getGcd
	.type	getGcd, @function
getGcd:
.LFB23:
	.cfi_startproc
	endbr64
	movl	%esi, %r8d
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L6:
	movl	%r8d, %edi
	movl	%eax, %r8d
.L4:
	testl	%edi, %edi
	je	.L8
.L10:
	cmpl	%r8d, %edi
	je	.L8
	movl	%edi, %eax
	jl	.L6
	cltd
	idivl	%r8d
	movl	%edx, %edi
	testl	%edi, %edi
	jne	.L10
.L8:
	movl	%r8d, %eax
	ret
	.cfi_endproc
.LFE23:
	.size	getGcd, .-getGcd
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d"
.LC1:
	.string	"POSSIBLE"
.LC2:
	.string	"IMPOSSIBLE"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB24:
	.cfi_startproc
	endbr64
	pushq	%r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	pushq	%r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	pushq	%r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	pushq	%rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	leaq	.LC0(%rip), %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	movq	%rbp, %rdi
	subq	$32, %rsp
	.cfi_def_cfa_offset 80
	movq	%fs:40, %rax
	movq	%rax, 24(%rsp)
	xorl	%eax, %eax
	leaq	12(%rsp), %rsi
	call	__isoc99_scanf@PLT
	leaq	16(%rsp), %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %eax
	testl	%eax, %eax
	jle	.L12
	xorl	%r14d, %r14d
	xorl	%ebx, %ebx
	leaq	20(%rsp), %r12
	xorl	%r13d, %r13d
	.p2align 4,,10
	.p2align 3
.L15:
	movq	%r12, %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	20(%rsp), %ecx
	movl	%ebx, %edx
	movl	%ecx, %ebx
	jmp	.L17
	.p2align 4,,10
	.p2align 3
.L22:
	movl	%ebx, %edx
	movl	%eax, %ebx
.L17:
	testl	%edx, %edx
	je	.L23
.L34:
	cmpl	%ebx, %edx
	je	.L23
	movl	%edx, %eax
	jl	.L22
	cltd
	idivl	%ebx
	testl	%edx, %edx
	jne	.L34
	.p2align 4,,10
	.p2align 3
.L23:
	cmpl	%ecx, %r13d
	cmovl	%ecx, %r13d
	addl	$1, %r14d
	cmpl	%r14d, 12(%rsp)
	jg	.L15
	movl	16(%rsp), %eax
	testl	%ebx, %ebx
	setg	%cl
	cmpl	%r13d, %eax
	setle	%dl
	testb	%dl, %cl
	je	.L19
	cltd
	idivl	%ebx
	testl	%edx, %edx
	jne	.L19
	leaq	.LC1(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
.L20:
	movq	24(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L35
	addq	$32, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 40
	popq	%rbp
	.cfi_def_cfa_offset 32
	popq	%r12
	.cfi_def_cfa_offset 24
	popq	%r13
	.cfi_def_cfa_offset 16
	popq	%r14
	.cfi_def_cfa_offset 8
	ret
.L19:
	.cfi_restore_state
	leaq	.LC2(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	jmp	.L20
.L12:
	ud2
.L35:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE24:
	.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:
```