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>
#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;
}```

Assembly Code:

```assembly
	.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:
```

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
	.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
```assembly
	.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:
```
```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;
}```
Given the following C 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;
}```

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:

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 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;
}```

Assembly Code:

```assembly
	.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:
```

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
	.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:
```