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>
int minimum(int ,int);
int main()
{
    int n;
    scanf("%d",&n);
    int *tot;
    tot=(int *)malloc((n+1)*sizeof(int));
    tot[0]=0;
    int min=200000;
    for (int i = 1; i <=n; i++)
    {
        min=tot[i-1]+1;
        int draw=6;
        while(draw<=i)
        {
            min=minimum(min,tot[i-draw]+1);
            draw*=6;
        }
        draw=9;
        while(draw<=i)
        {
            min=minimum(min,tot[i-draw]+1);
            draw*=9;
        }
        tot[i]=min;
    }
    printf("%d",min);
    free(tot);
    return 0;
}

int minimum(int a,int b)
{
    if(a<b)return a;
    else return b;
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%d"
	.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
	subq	$32, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-32(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-32(%rbp), %eax
	addl	$1, %eax
	cltq
	salq	$2, %rax
	movq	%rax, %rdi
	call	malloc@PLT
	movq	%rax, -16(%rbp)
	movq	-16(%rbp), %rax
	movl	$0, (%rax)
	movl	$200000, -28(%rbp)
	movl	$1, -24(%rbp)
	jmp	.L2
.L7:
	movl	-24(%rbp), %eax
	cltq
	salq	$2, %rax
	leaq	-4(%rax), %rdx
	movq	-16(%rbp), %rax
	addq	%rdx, %rax
	movl	(%rax), %eax
	addl	$1, %eax
	movl	%eax, -28(%rbp)
	movl	$6, -20(%rbp)
	jmp	.L3
.L4:
	movl	-24(%rbp), %eax
	subl	-20(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	movq	-16(%rbp), %rax
	addq	%rdx, %rax
	movl	(%rax), %eax
	leal	1(%rax), %edx
	movl	-28(%rbp), %eax
	movl	%edx, %esi
	movl	%eax, %edi
	call	minimum
	movl	%eax, -28(%rbp)
	movl	-20(%rbp), %edx
	movl	%edx, %eax
	addl	%eax, %eax
	addl	%edx, %eax
	addl	%eax, %eax
	movl	%eax, -20(%rbp)
.L3:
	movl	-20(%rbp), %eax
	cmpl	-24(%rbp), %eax
	jle	.L4
	movl	$9, -20(%rbp)
	jmp	.L5
.L6:
	movl	-24(%rbp), %eax
	subl	-20(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	movq	-16(%rbp), %rax
	addq	%rdx, %rax
	movl	(%rax), %eax
	leal	1(%rax), %edx
	movl	-28(%rbp), %eax
	movl	%edx, %esi
	movl	%eax, %edi
	call	minimum
	movl	%eax, -28(%rbp)
	movl	-20(%rbp), %edx
	movl	%edx, %eax
	sall	$3, %eax
	addl	%edx, %eax
	movl	%eax, -20(%rbp)
.L5:
	movl	-20(%rbp), %eax
	cmpl	-24(%rbp), %eax
	jle	.L6
	movl	-24(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	movq	-16(%rbp), %rax
	addq	%rax, %rdx
	movl	-28(%rbp), %eax
	movl	%eax, (%rdx)
	addl	$1, -24(%rbp)
.L2:
	movl	-32(%rbp), %eax
	cmpl	%eax, -24(%rbp)
	jle	.L7
	movl	-28(%rbp), %eax
	movl	%eax, %esi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movq	-16(%rbp), %rax
	movq	%rax, %rdi
	call	free@PLT
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L9
	call	__stack_chk_fail@PLT
.L9:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.globl	minimum
	.type	minimum, @function
minimum:
.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, -4(%rbp)
	movl	%esi, -8(%rbp)
	movl	-4(%rbp), %eax
	cmpl	-8(%rbp), %eax
	jge	.L11
	movl	-4(%rbp), %eax
	jmp	.L12
.L11:
	movl	-8(%rbp), %eax
.L12:
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	minimum, .-minimum
	.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	"%d"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB39:
	.cfi_startproc
	endbr64
	pushq	%r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	leaq	.LC0(%rip), %r12
	pushq	%rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	movq	%r12, %rdi
	pushq	%rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	subq	$16, %rsp
	.cfi_def_cfa_offset 48
	movq	%fs:40, %rax
	movq	%rax, 8(%rsp)
	xorl	%eax, %eax
	leaq	4(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movl	4(%rsp), %ebx
	leal	1(%rbx), %edi
	movslq	%edi, %rdi
	salq	$2, %rdi
	call	malloc@PLT
	movl	$0, (%rax)
	movq	%rax, %rbp
	testl	%ebx, %ebx
	jle	.L14
	movl	$1, %edi
	leaq	4(%rax), %rsi
	movl	$1, %edx
	cmpl	$8, %edi
	jle	.L7
	.p2align 4,,10
	.p2align 3
.L21:
	movl	$9, %eax
	.p2align 4,,10
	.p2align 3
.L8:
	movl	%edi, %ecx
	subl	%eax, %ecx
	leal	(%rax,%rax,8), %eax
	movslq	%ecx, %rcx
	movl	0(%rbp,%rcx,4), %ecx
	addl	$1, %ecx
	cmpl	%ecx, %edx
	cmovg	%ecx, %edx
	cmpl	%eax, %edi
	jge	.L8
	movl	%edx, (%rsi)
	leal	1(%rdi), %r8d
	cmpl	%edi, %ebx
	je	.L2
	addl	$1, %edx
	movl	$6, %eax
	.p2align 4,,10
	.p2align 3
.L6:
	movl	%r8d, %ecx
	subl	%eax, %ecx
	leal	(%rax,%rax,2), %eax
	movslq	%ecx, %rcx
	movl	0(%rbp,%rcx,4), %ecx
	addl	$1, %ecx
	cmpl	%ecx, %edx
	cmovg	%ecx, %edx
	addl	%eax, %eax
	cmpl	%r8d, %eax
	jle	.L6
.L5:
	addq	$4, %rsi
	movl	%r8d, %edi
.L22:
	cmpl	$8, %edi
	jg	.L21
.L7:
	movl	%edx, (%rsi)
	leal	1(%rdi), %r8d
	cmpl	%edi, %ebx
	je	.L2
	addl	$1, %edx
	cmpl	$5, %r8d
	jle	.L5
	leal	-5(%rdi), %eax
	movl	%r8d, %edi
	cltq
	movl	0(%rbp,%rax,4), %eax
	addl	$1, %eax
	cmpl	%eax, %edx
	cmovg	%eax, %edx
	addq	$4, %rsi
	jmp	.L22
.L14:
	movl	$200000, %edx
	.p2align 4,,10
	.p2align 3
.L2:
	movl	$1, %edi
	xorl	%eax, %eax
	movq	%r12, %rsi
	call	__printf_chk@PLT
	movq	%rbp, %rdi
	call	free@PLT
	movq	8(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L23
	addq	$16, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 24
	popq	%rbp
	.cfi_def_cfa_offset 16
	popq	%r12
	.cfi_def_cfa_offset 8
	ret
.L23:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE39:
	.size	main, .-main
	.text
	.p2align 4
	.globl	minimum
	.type	minimum, @function
minimum:
.LFB40:
	.cfi_startproc
	endbr64
	cmpl	%esi, %edi
	movl	%esi, %eax
	cmovle	%edi, %eax
	ret
	.cfi_endproc
.LFE40:
	.size	minimum, .-minimum
	.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	"%d"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB39:
	.cfi_startproc
	endbr64
	pushq	%r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	leaq	.LC0(%rip), %r12
	pushq	%rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	movq	%r12, %rdi
	pushq	%rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	subq	$16, %rsp
	.cfi_def_cfa_offset 48
	movq	%fs:40, %rax
	movq	%rax, 8(%rsp)
	xorl	%eax, %eax
	leaq	4(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movl	4(%rsp), %ebx
	leal	1(%rbx), %edi
	movslq	%edi, %rdi
	salq	$2, %rdi
	call	malloc@PLT
	movl	$0, (%rax)
	movq	%rax, %rbp
	testl	%ebx, %ebx
	jle	.L14
	movl	$1, %edi
	leaq	4(%rax), %rsi
	movl	$1, %edx
	cmpl	$8, %edi
	jle	.L7
	.p2align 4,,10
	.p2align 3
.L21:
	movl	$9, %eax
	.p2align 4,,10
	.p2align 3
.L8:
	movl	%edi, %ecx
	subl	%eax, %ecx
	leal	(%rax,%rax,8), %eax
	movslq	%ecx, %rcx
	movl	0(%rbp,%rcx,4), %ecx
	addl	$1, %ecx
	cmpl	%ecx, %edx
	cmovg	%ecx, %edx
	cmpl	%eax, %edi
	jge	.L8
	movl	%edx, (%rsi)
	leal	1(%rdi), %r8d
	cmpl	%edi, %ebx
	je	.L2
	addl	$1, %edx
	movl	$6, %eax
	.p2align 4,,10
	.p2align 3
.L6:
	movl	%r8d, %ecx
	subl	%eax, %ecx
	leal	(%rax,%rax,2), %eax
	movslq	%ecx, %rcx
	movl	0(%rbp,%rcx,4), %ecx
	addl	$1, %ecx
	cmpl	%ecx, %edx
	cmovg	%ecx, %edx
	addl	%eax, %eax
	cmpl	%r8d, %eax
	jle	.L6
.L5:
	addq	$4, %rsi
	movl	%r8d, %edi
.L22:
	cmpl	$8, %edi
	jg	.L21
.L7:
	movl	%edx, (%rsi)
	leal	1(%rdi), %r8d
	cmpl	%edi, %ebx
	je	.L2
	addl	$1, %edx
	cmpl	$5, %r8d
	jle	.L5
	leal	-5(%rdi), %eax
	movl	%r8d, %edi
	cltq
	movl	0(%rbp,%rax,4), %eax
	addl	$1, %eax
	cmpl	%eax, %edx
	cmovg	%eax, %edx
	addq	$4, %rsi
	jmp	.L22
.L14:
	movl	$200000, %edx
	.p2align 4,,10
	.p2align 3
.L2:
	movl	$1, %edi
	xorl	%eax, %eax
	movq	%r12, %rsi
	call	__printf_chk@PLT
	movq	%rbp, %rdi
	call	free@PLT
	movq	8(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L23
	addq	$16, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 24
	popq	%rbp
	.cfi_def_cfa_offset 16
	popq	%r12
	.cfi_def_cfa_offset 8
	ret
.L23:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE39:
	.size	main, .-main
	.text
	.p2align 4
	.globl	minimum
	.type	minimum, @function
minimum:
.LFB40:
	.cfi_startproc
	endbr64
	cmpl	%esi, %edi
	movl	%esi, %eax
	cmovle	%edi, %eax
	ret
	.cfi_endproc
.LFE40:
	.size	minimum, .-minimum
	.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>
int minimum(int ,int);
int main()
{
    int n;
    scanf("%d",&n);
    int *tot;
    tot=(int *)malloc((n+1)*sizeof(int));
    tot[0]=0;
    int min=200000;
    for (int i = 1; i <=n; i++)
    {
        min=tot[i-1]+1;
        int draw=6;
        while(draw<=i)
        {
            min=minimum(min,tot[i-draw]+1);
            draw*=6;
        }
        draw=9;
        while(draw<=i)
        {
            min=minimum(min,tot[i-draw]+1);
            draw*=9;
        }
        tot[i]=min;
    }
    printf("%d",min);
    free(tot);
    return 0;
}

int minimum(int a,int b)
{
    if(a<b)return a;
    else return b;
}
1
 66223
 181
 0
 179
 18
 18666
 7553
 8
 105

1 9 5 200000 6 2 8 7 3 4
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>
int minimum(int ,int);
int main()
{
    int n;
    scanf("%d",&n);
    int *tot;
    tot=(int *)malloc((n+1)*sizeof(int));
    tot[0]=0;
    int min=200000;
    for (int i = 1; i <=n; i++)
    {
        min=tot[i-1]+1;
        int draw=6;
        while(draw<=i)
        {
            min=minimum(min,tot[i-draw]+1);
            draw*=6;
        }
        draw=9;
        while(draw<=i)
        {
            min=minimum(min,tot[i-draw]+1);
            draw*=9;
        }
        tot[i]=min;
    }
    printf("%d",min);
    free(tot);
    return 0;
}

int minimum(int a,int b)
{
    if(a<b)return a;
    else return b;
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%d"
	.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
	subq	$32, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-32(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-32(%rbp), %eax
	addl	$1, %eax
	cltq
	salq	$2, %rax
	movq	%rax, %rdi
	call	malloc@PLT
	movq	%rax, -16(%rbp)
	movq	-16(%rbp), %rax
	movl	$0, (%rax)
	movl	$200000, -28(%rbp)
	movl	$1, -24(%rbp)
	jmp	.L2
.L7:
	movl	-24(%rbp), %eax
	cltq
	salq	$2, %rax
	leaq	-4(%rax), %rdx
	movq	-16(%rbp), %rax
	addq	%rdx, %rax
	movl	(%rax), %eax
	addl	$1, %eax
	movl	%eax, -28(%rbp)
	movl	$6, -20(%rbp)
	jmp	.L3
.L4:
	movl	-24(%rbp), %eax
	subl	-20(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	movq	-16(%rbp), %rax
	addq	%rdx, %rax
	movl	(%rax), %eax
	leal	1(%rax), %edx
	movl	-28(%rbp), %eax
	movl	%edx, %esi
	movl	%eax, %edi
	call	minimum
	movl	%eax, -28(%rbp)
	movl	-20(%rbp), %edx
	movl	%edx, %eax
	addl	%eax, %eax
	addl	%edx, %eax
	addl	%eax, %eax
	movl	%eax, -20(%rbp)
.L3:
	movl	-20(%rbp), %eax
	cmpl	-24(%rbp), %eax
	jle	.L4
	movl	$9, -20(%rbp)
	jmp	.L5
.L6:
	movl	-24(%rbp), %eax
	subl	-20(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	movq	-16(%rbp), %rax
	addq	%rdx, %rax
	movl	(%rax), %eax
	leal	1(%rax), %edx
	movl	-28(%rbp), %eax
	movl	%edx, %esi
	movl	%eax, %edi
	call	minimum
	movl	%eax, -28(%rbp)
	movl	-20(%rbp), %edx
	movl	%edx, %eax
	sall	$3, %eax
	addl	%edx, %eax
	movl	%eax, -20(%rbp)
.L5:
	movl	-20(%rbp), %eax
	cmpl	-24(%rbp), %eax
	jle	.L6
	movl	-24(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	movq	-16(%rbp), %rax
	addq	%rax, %rdx
	movl	-28(%rbp), %eax
	movl	%eax, (%rdx)
	addl	$1, -24(%rbp)
.L2:
	movl	-32(%rbp), %eax
	cmpl	%eax, -24(%rbp)
	jle	.L7
	movl	-28(%rbp), %eax
	movl	%eax, %esi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movq	-16(%rbp), %rax
	movq	%rax, %rdi
	call	free@PLT
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L9
	call	__stack_chk_fail@PLT
.L9:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.globl	minimum
	.type	minimum, @function
minimum:
.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, -4(%rbp)
	movl	%esi, -8(%rbp)
	movl	-4(%rbp), %eax
	cmpl	-8(%rbp), %eax
	jge	.L11
	movl	-4(%rbp), %eax
	jmp	.L12
.L11:
	movl	-8(%rbp), %eax
.L12:
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	minimum, .-minimum
	.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"
	.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
	subq	$32, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-32(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-32(%rbp), %eax
	addl	$1, %eax
	cltq
	salq	$2, %rax
	movq	%rax, %rdi
	call	malloc@PLT
	movq	%rax, -16(%rbp)
	movq	-16(%rbp), %rax
	movl	$0, (%rax)
	movl	$200000, -28(%rbp)
	movl	$1, -24(%rbp)
	jmp	.L2
.L7:
	movl	-24(%rbp), %eax
	cltq
	salq	$2, %rax
	leaq	-4(%rax), %rdx
	movq	-16(%rbp), %rax
	addq	%rdx, %rax
	movl	(%rax), %eax
	addl	$1, %eax
	movl	%eax, -28(%rbp)
	movl	$6, -20(%rbp)
	jmp	.L3
.L4:
	movl	-24(%rbp), %eax
	subl	-20(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	movq	-16(%rbp), %rax
	addq	%rdx, %rax
	movl	(%rax), %eax
	leal	1(%rax), %edx
	movl	-28(%rbp), %eax
	movl	%edx, %esi
	movl	%eax, %edi
	call	minimum
	movl	%eax, -28(%rbp)
	movl	-20(%rbp), %edx
	movl	%edx, %eax
	addl	%eax, %eax
	addl	%edx, %eax
	addl	%eax, %eax
	movl	%eax, -20(%rbp)
.L3:
	movl	-20(%rbp), %eax
	cmpl	-24(%rbp), %eax
	jle	.L4
	movl	$9, -20(%rbp)
	jmp	.L5
.L6:
	movl	-24(%rbp), %eax
	subl	-20(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	movq	-16(%rbp), %rax
	addq	%rdx, %rax
	movl	(%rax), %eax
	leal	1(%rax), %edx
	movl	-28(%rbp), %eax
	movl	%edx, %esi
	movl	%eax, %edi
	call	minimum
	movl	%eax, -28(%rbp)
	movl	-20(%rbp), %edx
	movl	%edx, %eax
	sall	$3, %eax
	addl	%edx, %eax
	movl	%eax, -20(%rbp)
.L5:
	movl	-20(%rbp), %eax
	cmpl	-24(%rbp), %eax
	jle	.L6
	movl	-24(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	movq	-16(%rbp), %rax
	addq	%rax, %rdx
	movl	-28(%rbp), %eax
	movl	%eax, (%rdx)
	addl	$1, -24(%rbp)
.L2:
	movl	-32(%rbp), %eax
	cmpl	%eax, -24(%rbp)
	jle	.L7
	movl	-28(%rbp), %eax
	movl	%eax, %esi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movq	-16(%rbp), %rax
	movq	%rax, %rdi
	call	free@PLT
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L9
	call	__stack_chk_fail@PLT
.L9:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.globl	minimum
	.type	minimum, @function
minimum:
.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, -4(%rbp)
	movl	%esi, -8(%rbp)
	movl	-4(%rbp), %eax
	cmpl	-8(%rbp), %eax
	jge	.L11
	movl	-4(%rbp), %eax
	jmp	.L12
.L11:
	movl	-8(%rbp), %eax
.L12:
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	minimum, .-minimum
	.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:
