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

```c
#include <stdio.h>

int GCD(int a, int b)
{
    if (b == 0) return a;
    return GCD(b, a % b);
}

int main(void)
{
    int n;
    int array[3];
    int mini = 1000000000;
    int i, j;
    int gcd;
    
    scanf("%d", &n);
    for (i = 0; i < n; i++){
        scanf("%d", array + i);
        if (mini > array[i]) mini = array[i];
    }
    for (i = 1; i <= mini; i++){
        for (j = 0; j < n; j++){
            if (array[j] % i != 0) break;
        }
        if (j == n) printf("%d\n", i);
    }
    
    return 0;
}```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.p2align 4
	.globl	GCD
	.type	GCD, @function
GCD:
.LFB23:
	.cfi_startproc
	endbr64
	movl	%edi, %eax
	movl	%esi, %r8d
	testl	%esi, %esi
	jne	.L2
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L11:
	movl	%edx, %r8d
.L2:
	cltd
	idivl	%r8d
	movl	%r8d, %eax
	testl	%edx, %edx
	jne	.L11
	movl	%r8d, %eax
	ret
	.p2align 4,,10
	.p2align 3
.L10:
	movl	%edi, %r8d
	movl	%r8d, %eax
	ret
	.cfi_endproc
.LFE23:
	.size	GCD, .-GCD
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d"
.LC1:
	.string	"%d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB24:
	.cfi_startproc
	endbr64
	pushq	%r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	leaq	.LC0(%rip), %r13
	pushq	%r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	movq	%r13, %rdi
	pushq	%rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	pushq	%rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	subq	$40, %rsp
	.cfi_def_cfa_offset 80
	movq	%fs:40, %rax
	movq	%rax, 24(%rsp)
	xorl	%eax, %eax
	leaq	8(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movl	8(%rsp), %eax
	testl	%eax, %eax
	jle	.L21
	xorl	%ebx, %ebx
	movl	$1000000000, %ebp
	leaq	12(%rsp), %r12
.L14:
	leaq	(%r12,%rbx,4), %rsi
	xorl	%eax, %eax
	movq	%r13, %rdi
	call	__isoc99_scanf@PLT
	movl	(%r12,%rbx,4), %eax
	cmpl	%eax, %ebp
	cmovg	%eax, %ebp
	addq	$1, %rbx
	cmpl	%ebx, 8(%rsp)
	jg	.L14
	testl	%ebp, %ebp
	jle	.L15
.L13:
	movl	$1, %ebx
	leaq	.LC1(%rip), %r12
	.p2align 4,,10
	.p2align 3
.L16:
	movl	8(%rsp), %ecx
	xorl	%eax, %eax
	testl	%ecx, %ecx
	jle	.L18
	movl	12(%rsp), %eax
	cltd
	idivl	%ebx
	testl	%edx, %edx
	jne	.L17
	cmpl	$1, %ecx
	je	.L22
	movl	16(%rsp), %eax
	cltd
	idivl	%ebx
	testl	%edx, %edx
	jne	.L17
	cmpl	$2, %ecx
	je	.L23
	movl	20(%rsp), %eax
	cltd
	idivl	%ebx
	testl	%edx, %edx
	jne	.L17
	movl	$3, %eax
.L18:
	cmpl	%eax, %ecx
	jne	.L17
	movl	%ebx, %edx
	movq	%r12, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
.L17:
	addl	$1, %ebx
	cmpl	%ebx, %ebp
	jge	.L16
.L15:
	movq	24(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L26
	addq	$40, %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
.L22:
	.cfi_restore_state
	movl	$1, %eax
	jmp	.L18
.L23:
	movl	$2, %eax
	jmp	.L18
.L21:
	movl	$1000000000, %ebp
	jmp	.L13
.L26:
	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	GCD
	.type	GCD, @function
GCD:
.LFB23:
	.cfi_startproc
	endbr64
	movl	%edi, %eax
	movl	%esi, %r8d
	testl	%esi, %esi
	jne	.L2
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L11:
	movl	%edx, %r8d
.L2:
	cltd
	idivl	%r8d
	movl	%r8d, %eax
	testl	%edx, %edx
	jne	.L11
	movl	%r8d, %eax
	ret
	.p2align 4,,10
	.p2align 3
.L10:
	movl	%edi, %r8d
	movl	%r8d, %eax
	ret
	.cfi_endproc
.LFE23:
	.size	GCD, .-GCD
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d"
.LC1:
	.string	"%d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB24:
	.cfi_startproc
	endbr64
	pushq	%r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	leaq	.LC0(%rip), %r13
	pushq	%r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	movq	%r13, %rdi
	pushq	%rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	pushq	%rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	subq	$40, %rsp
	.cfi_def_cfa_offset 80
	movq	%fs:40, %rax
	movq	%rax, 24(%rsp)
	xorl	%eax, %eax
	leaq	8(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movl	8(%rsp), %eax
	testl	%eax, %eax
	jle	.L21
	xorl	%ebx, %ebx
	movl	$1000000000, %ebp
	leaq	12(%rsp), %r12
.L14:
	leaq	(%r12,%rbx,4), %rsi
	xorl	%eax, %eax
	movq	%r13, %rdi
	call	__isoc99_scanf@PLT
	movl	(%r12,%rbx,4), %eax
	cmpl	%eax, %ebp
	cmovg	%eax, %ebp
	addq	$1, %rbx
	cmpl	%ebx, 8(%rsp)
	jg	.L14
	testl	%ebp, %ebp
	jle	.L15
.L13:
	movl	$1, %ebx
	leaq	.LC1(%rip), %r12
	.p2align 4,,10
	.p2align 3
.L16:
	movl	8(%rsp), %ecx
	xorl	%eax, %eax
	testl	%ecx, %ecx
	jle	.L18
	movl	12(%rsp), %eax
	cltd
	idivl	%ebx
	testl	%edx, %edx
	jne	.L17
	cmpl	$1, %ecx
	je	.L22
	movl	16(%rsp), %eax
	cltd
	idivl	%ebx
	testl	%edx, %edx
	jne	.L17
	cmpl	$2, %ecx
	je	.L23
	movl	20(%rsp), %eax
	cltd
	idivl	%ebx
	testl	%edx, %edx
	jne	.L17
	movl	$3, %eax
.L18:
	cmpl	%eax, %ecx
	jne	.L17
	movl	%ebx, %edx
	movq	%r12, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
.L17:
	addl	$1, %ebx
	cmpl	%ebx, %ebp
	jge	.L16
.L15:
	movq	24(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L26
	addq	$40, %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
.L22:
	.cfi_restore_state
	movl	$1, %eax
	jmp	.L18
.L23:
	movl	$2, %eax
	jmp	.L18
.L21:
	movl	$1000000000, %ebp
	jmp	.L13
.L26:
	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	GCD
	.type	GCD, @function
GCD:
.LFB23:
	.cfi_startproc
	endbr64
	movl	%edi, %eax
	movl	%esi, %r8d
	testl	%esi, %esi
	jne	.L2
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L11:
	movl	%edx, %r8d
.L2:
	cltd
	idivl	%r8d
	movl	%r8d, %eax
	testl	%edx, %edx
	jne	.L11
	movl	%r8d, %eax
	ret
	.p2align 4,,10
	.p2align 3
.L10:
	movl	%edi, %r8d
	movl	%r8d, %eax
	ret
	.cfi_endproc
.LFE23:
	.size	GCD, .-GCD
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d"
.LC1:
	.string	"%d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB24:
	.cfi_startproc
	endbr64
	pushq	%r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	leaq	.LC0(%rip), %r13
	pushq	%r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	movq	%r13, %rdi
	pushq	%rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	pushq	%rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	subq	$40, %rsp
	.cfi_def_cfa_offset 80
	movq	%fs:40, %rax
	movq	%rax, 24(%rsp)
	xorl	%eax, %eax
	leaq	8(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movl	8(%rsp), %eax
	testl	%eax, %eax
	jle	.L21
	xorl	%ebx, %ebx
	movl	$1000000000, %ebp
	leaq	12(%rsp), %r12
.L14:
	leaq	(%r12,%rbx,4), %rsi
	xorl	%eax, %eax
	movq	%r13, %rdi
	call	__isoc99_scanf@PLT
	movl	(%r12,%rbx,4), %eax
	cmpl	%eax, %ebp
	cmovg	%eax, %ebp
	addq	$1, %rbx
	cmpl	%ebx, 8(%rsp)
	jg	.L14
	testl	%ebp, %ebp
	jle	.L15
.L13:
	movl	$1, %ebx
	leaq	.LC1(%rip), %r12
	.p2align 4,,10
	.p2align 3
.L16:
	movl	8(%rsp), %ecx
	xorl	%eax, %eax
	testl	%ecx, %ecx
	jle	.L18
	movl	12(%rsp), %eax
	cltd
	idivl	%ebx
	testl	%edx, %edx
	jne	.L17
	cmpl	$1, %ecx
	je	.L22
	movl	16(%rsp), %eax
	cltd
	idivl	%ebx
	testl	%edx, %edx
	jne	.L17
	cmpl	$2, %ecx
	je	.L23
	movl	20(%rsp), %eax
	cltd
	idivl	%ebx
	testl	%edx, %edx
	jne	.L17
	movl	$3, %eax
.L18:
	cmpl	%eax, %ecx
	jne	.L17
	movl	%ebx, %edx
	movq	%r12, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
.L17:
	addl	$1, %ebx
	cmpl	%ebx, %ebp
	jge	.L16
.L15:
	movq	24(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L26
	addq	$40, %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
.L22:
	.cfi_restore_state
	movl	$1, %eax
	jmp	.L18
.L23:
	movl	$2, %eax
	jmp	.L18
.L21:
	movl	$1000000000, %ebp
	jmp	.L13
.L26:
	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
#include <stdio.h>

int GCD(int a, int b)
{
    if (b == 0) return a;
    return GCD(b, a % b);
}

int main(void)
{
    int n;
    int array[3];
    int mini = 1000000000;
    int i, j;
    int gcd;
    
    scanf("%d", &n);
    for (i = 0; i < n; i++){
        scanf("%d", array + i);
        if (mini > array[i]) mini = array[i];
    }
    for (i = 1; i <= mini; i++){
        for (j = 0; j < n; j++){
            if (array[j] % i != 0) break;
        }
        if (j == n) printf("%d\n", i);
    }
    
    return 0;
}```
Given the following C code, your task is to generate highly optimized x86-64 assembly code.
C Code:

```c
#include <stdio.h>

int GCD(int a, int b)
{
    if (b == 0) return a;
    return GCD(b, a % b);
}

int main(void)
{
    int n;
    int array[3];
    int mini = 1000000000;
    int i, j;
    int gcd;
    
    scanf("%d", &n);
    for (i = 0; i < n; i++){
        scanf("%d", array + i);
        if (mini > array[i]) mini = array[i];
    }
    for (i = 1; i <= mini; i++){
        for (j = 0; j < n; j++){
            if (array[j] % i != 0) break;
        }
        if (j == n) printf("%d\n", i);
    }
    
    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:

2
75 125

1
5
25

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

```c
#include <stdio.h>

int GCD(int a, int b)
{
    if (b == 0) return a;
    return GCD(b, a % b);
}

int main(void)
{
    int n;
    int array[3];
    int mini = 1000000000;
    int i, j;
    int gcd;
    
    scanf("%d", &n);
    for (i = 0; i < n; i++){
        scanf("%d", array + i);
        if (mini > array[i]) mini = array[i];
    }
    for (i = 1; i <= mini; i++){
        for (j = 0; j < n; j++){
            if (array[j] % i != 0) break;
        }
        if (j == n) printf("%d\n", i);
    }
    
    return 0;
}```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.p2align 4
	.globl	GCD
	.type	GCD, @function
GCD:
.LFB23:
	.cfi_startproc
	endbr64
	movl	%edi, %eax
	movl	%esi, %r8d
	testl	%esi, %esi
	jne	.L2
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L11:
	movl	%edx, %r8d
.L2:
	cltd
	idivl	%r8d
	movl	%r8d, %eax
	testl	%edx, %edx
	jne	.L11
	movl	%r8d, %eax
	ret
	.p2align 4,,10
	.p2align 3
.L10:
	movl	%edi, %r8d
	movl	%r8d, %eax
	ret
	.cfi_endproc
.LFE23:
	.size	GCD, .-GCD
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d"
.LC1:
	.string	"%d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB24:
	.cfi_startproc
	endbr64
	pushq	%r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	leaq	.LC0(%rip), %r13
	pushq	%r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	movq	%r13, %rdi
	pushq	%rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	pushq	%rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	subq	$40, %rsp
	.cfi_def_cfa_offset 80
	movq	%fs:40, %rax
	movq	%rax, 24(%rsp)
	xorl	%eax, %eax
	leaq	8(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movl	8(%rsp), %eax
	testl	%eax, %eax
	jle	.L21
	xorl	%ebx, %ebx
	movl	$1000000000, %ebp
	leaq	12(%rsp), %r12
.L14:
	leaq	(%r12,%rbx,4), %rsi
	xorl	%eax, %eax
	movq	%r13, %rdi
	call	__isoc99_scanf@PLT
	movl	(%r12,%rbx,4), %eax
	cmpl	%eax, %ebp
	cmovg	%eax, %ebp
	addq	$1, %rbx
	cmpl	%ebx, 8(%rsp)
	jg	.L14
	testl	%ebp, %ebp
	jle	.L15
.L13:
	movl	$1, %ebx
	leaq	.LC1(%rip), %r12
	.p2align 4,,10
	.p2align 3
.L16:
	movl	8(%rsp), %ecx
	xorl	%eax, %eax
	testl	%ecx, %ecx
	jle	.L18
	movl	12(%rsp), %eax
	cltd
	idivl	%ebx
	testl	%edx, %edx
	jne	.L17
	cmpl	$1, %ecx
	je	.L22
	movl	16(%rsp), %eax
	cltd
	idivl	%ebx
	testl	%edx, %edx
	jne	.L17
	cmpl	$2, %ecx
	je	.L23
	movl	20(%rsp), %eax
	cltd
	idivl	%ebx
	testl	%edx, %edx
	jne	.L17
	movl	$3, %eax
.L18:
	cmpl	%eax, %ecx
	jne	.L17
	movl	%ebx, %edx
	movq	%r12, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
.L17:
	addl	$1, %ebx
	cmpl	%ebx, %ebp
	jge	.L16
.L15:
	movq	24(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L26
	addq	$40, %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
.L22:
	.cfi_restore_state
	movl	$1, %eax
	jmp	.L18
.L23:
	movl	$2, %eax
	jmp	.L18
.L21:
	movl	$1000000000, %ebp
	jmp	.L13
.L26:
	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	GCD
	.type	GCD, @function
GCD:
.LFB23:
	.cfi_startproc
	endbr64
	movl	%edi, %eax
	movl	%esi, %r8d
	testl	%esi, %esi
	jne	.L2
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L11:
	movl	%edx, %r8d
.L2:
	cltd
	idivl	%r8d
	movl	%r8d, %eax
	testl	%edx, %edx
	jne	.L11
	movl	%r8d, %eax
	ret
	.p2align 4,,10
	.p2align 3
.L10:
	movl	%edi, %r8d
	movl	%r8d, %eax
	ret
	.cfi_endproc
.LFE23:
	.size	GCD, .-GCD
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d"
.LC1:
	.string	"%d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB24:
	.cfi_startproc
	endbr64
	pushq	%r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	leaq	.LC0(%rip), %r13
	pushq	%r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	movq	%r13, %rdi
	pushq	%rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	pushq	%rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	subq	$40, %rsp
	.cfi_def_cfa_offset 80
	movq	%fs:40, %rax
	movq	%rax, 24(%rsp)
	xorl	%eax, %eax
	leaq	8(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movl	8(%rsp), %eax
	testl	%eax, %eax
	jle	.L21
	xorl	%ebx, %ebx
	movl	$1000000000, %ebp
	leaq	12(%rsp), %r12
.L14:
	leaq	(%r12,%rbx,4), %rsi
	xorl	%eax, %eax
	movq	%r13, %rdi
	call	__isoc99_scanf@PLT
	movl	(%r12,%rbx,4), %eax
	cmpl	%eax, %ebp
	cmovg	%eax, %ebp
	addq	$1, %rbx
	cmpl	%ebx, 8(%rsp)
	jg	.L14
	testl	%ebp, %ebp
	jle	.L15
.L13:
	movl	$1, %ebx
	leaq	.LC1(%rip), %r12
	.p2align 4,,10
	.p2align 3
.L16:
	movl	8(%rsp), %ecx
	xorl	%eax, %eax
	testl	%ecx, %ecx
	jle	.L18
	movl	12(%rsp), %eax
	cltd
	idivl	%ebx
	testl	%edx, %edx
	jne	.L17
	cmpl	$1, %ecx
	je	.L22
	movl	16(%rsp), %eax
	cltd
	idivl	%ebx
	testl	%edx, %edx
	jne	.L17
	cmpl	$2, %ecx
	je	.L23
	movl	20(%rsp), %eax
	cltd
	idivl	%ebx
	testl	%edx, %edx
	jne	.L17
	movl	$3, %eax
.L18:
	cmpl	%eax, %ecx
	jne	.L17
	movl	%ebx, %edx
	movq	%r12, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
.L17:
	addl	$1, %ebx
	cmpl	%ebx, %ebp
	jge	.L16
.L15:
	movq	24(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L26
	addq	$40, %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
.L22:
	.cfi_restore_state
	movl	$1, %eax
	jmp	.L18
.L23:
	movl	$2, %eax
	jmp	.L18
.L21:
	movl	$1000000000, %ebp
	jmp	.L13
.L26:
	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:
```