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>
#include <string.h>
#include <math.h>

int min(int a,int b,int c){
    int asdf=a;
    if(asdf>b){asdf=b;}
    if(asdf>c){asdf=c;}
    return asdf;
}



int main(void){
int n,a,b,p[105];
int one=0,two=0,three=0;
scanf("%d",&n);
scanf("%d %d",&a,&b);

for(int i=0;i<n;i++){
scanf("%d",&p[i]);
}

for(int i=0;i<n;i++){
if(p[i]<=a){one++;}
else if(a+1<=p[i]&&p[i]<=b){two++;}
else {three++;}
}

printf("%d",min(one,two,three));
}
```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.globl	min
	.type	min, @function
min:
.LFB6:
	.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	%edx, -28(%rbp)
	movl	-20(%rbp), %eax
	movl	%eax, -4(%rbp)
	movl	-4(%rbp), %eax
	cmpl	-24(%rbp), %eax
	jle	.L2
	movl	-24(%rbp), %eax
	movl	%eax, -4(%rbp)
.L2:
	movl	-4(%rbp), %eax
	cmpl	-28(%rbp), %eax
	jle	.L3
	movl	-28(%rbp), %eax
	movl	%eax, -4(%rbp)
.L3:
	movl	-4(%rbp), %eax
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	min, .-min
	.section	.rodata
.LC0:
	.string	"%d"
.LC1:
	.string	"%d %d"
	.text
	.globl	main
	.type	main, @function
main:
.LFB7:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$464, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movl	$0, -452(%rbp)
	movl	$0, -448(%rbp)
	movl	$0, -444(%rbp)
	leaq	-464(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	leaq	-456(%rbp), %rdx
	leaq	-460(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -440(%rbp)
	jmp	.L6
.L7:
	leaq	-432(%rbp), %rdx
	movl	-440(%rbp), %eax
	cltq
	salq	$2, %rax
	addq	%rdx, %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addl	$1, -440(%rbp)
.L6:
	movl	-464(%rbp), %eax
	cmpl	%eax, -440(%rbp)
	jl	.L7
	movl	$0, -436(%rbp)
	jmp	.L8
.L12:
	movl	-436(%rbp), %eax
	cltq
	movl	-432(%rbp,%rax,4), %edx
	movl	-460(%rbp), %eax
	cmpl	%eax, %edx
	jg	.L9
	addl	$1, -452(%rbp)
	jmp	.L10
.L9:
	movl	-436(%rbp), %eax
	cltq
	movl	-432(%rbp,%rax,4), %edx
	movl	-460(%rbp), %eax
	cmpl	%eax, %edx
	jle	.L11
	movl	-436(%rbp), %eax
	cltq
	movl	-432(%rbp,%rax,4), %edx
	movl	-456(%rbp), %eax
	cmpl	%eax, %edx
	jg	.L11
	addl	$1, -448(%rbp)
	jmp	.L10
.L11:
	addl	$1, -444(%rbp)
.L10:
	addl	$1, -436(%rbp)
.L8:
	movl	-464(%rbp), %eax
	cmpl	%eax, -436(%rbp)
	jl	.L12
	movl	-444(%rbp), %edx
	movl	-448(%rbp), %ecx
	movl	-452(%rbp), %eax
	movl	%ecx, %esi
	movl	%eax, %edi
	call	min
	movl	%eax, %esi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L14
	call	__stack_chk_fail@PLT
.L14:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.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	min
	.type	min, @function
min:
.LFB51:
	.cfi_startproc
	endbr64
	cmpl	%edx, %esi
	movl	%edi, %eax
	cmovg	%edx, %esi
	cmpl	%edi, %esi
	cmovle	%esi, %eax
	ret
	.cfi_endproc
.LFE51:
	.size	min, .-min
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d"
.LC1:
	.string	"%d %d"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB52:
	.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	$456, %rsp
	.cfi_def_cfa_offset 496
	movq	%fs:40, %rax
	movq	%rax, 440(%rsp)
	xorl	%eax, %eax
	leaq	4(%rsp), %rsi
	call	__isoc99_scanf@PLT
	leaq	12(%rsp), %rdx
	leaq	8(%rsp), %rsi
	xorl	%eax, %eax
	leaq	.LC1(%rip), %rdi
	call	__isoc99_scanf@PLT
	movl	4(%rsp), %eax
	testl	%eax, %eax
	jle	.L4
	leaq	16(%rsp), %r12
	xorl	%ebx, %ebx
	movq	%r12, %rbp
	.p2align 4,,10
	.p2align 3
.L5:
	movq	%rbp, %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	addl	$1, %ebx
	call	__isoc99_scanf@PLT
	movl	4(%rsp), %ecx
	addq	$4, %rbp
	cmpl	%ebx, %ecx
	jg	.L5
	testl	%ecx, %ecx
	jle	.L4
	leal	-1(%rcx), %eax
	movl	8(%rsp), %r8d
	movl	12(%rsp), %r9d
	cmpl	$3, %eax
	jbe	.L26
	pxor	%xmm4, %xmm4
	movd	%r8d, %xmm7
	movd	%r9d, %xmm6
	movl	%ecx, %eax
	shrl	$2, %eax
	pshufd	$0, %xmm7, %xmm8
	movdqa	%xmm4, %xmm1
	leal	-1(%rax), %edx
	leaq	16(%r12), %rax
	pshufd	$0, %xmm6, %xmm7
	salq	$4, %rdx
	movdqa	%xmm4, %xmm6
	movdqa	%xmm4, %xmm5
	addq	%rax, %rdx
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L33:
	addq	$16, %rax
.L7:
	movdqa	(%r12), %xmm0
	movq	%rax, %r12
	movdqa	%xmm0, %xmm2
	pcmpgtd	%xmm7, %xmm0
	pcmpgtd	%xmm8, %xmm2
	movdqa	%xmm2, %xmm3
	pcmpeqd	%xmm5, %xmm3
	psubd	%xmm3, %xmm1
	movdqa	%xmm0, %xmm3
	pand	%xmm2, %xmm0
	pcmpeqd	%xmm5, %xmm3
	psubd	%xmm0, %xmm4
	pand	%xmm2, %xmm3
	psubd	%xmm3, %xmm6
	cmpq	%rax, %rdx
	jne	.L33
	movdqa	%xmm4, %xmm0
	movl	%ecx, %edi
	psrldq	$8, %xmm0
	andl	$-4, %edi
	paddd	%xmm0, %xmm4
	movdqa	%xmm4, %xmm0
	psrldq	$4, %xmm0
	paddd	%xmm0, %xmm4
	movdqa	%xmm6, %xmm0
	psrldq	$8, %xmm0
	movd	%xmm4, %eax
	paddd	%xmm6, %xmm0
	movdqa	%xmm0, %xmm2
	psrldq	$4, %xmm2
	paddd	%xmm2, %xmm0
	movd	%xmm0, %esi
	movdqa	%xmm1, %xmm0
	psrldq	$8, %xmm0
	paddd	%xmm0, %xmm1
	movdqa	%xmm1, %xmm0
	psrldq	$4, %xmm0
	paddd	%xmm0, %xmm1
	movd	%xmm1, %edx
	testb	$3, %cl
	je	.L9
.L6:
	movslq	%edi, %r10
	movl	16(%rsp,%r10,4), %r10d
	cmpl	%r10d, %r8d
	jl	.L34
	addl	$1, %edx
.L13:
	leal	1(%rdi), %r10d
	cmpl	%r10d, %ecx
	jle	.L9
	movslq	%r10d, %r10
	movl	16(%rsp,%r10,4), %r10d
	cmpl	%r10d, %r8d
	jge	.L14
	cmpl	%r10d, %r9d
	jl	.L15
	addl	$1, %esi
	jmp	.L16
.L17:
	addl	$1, %edx
.L19:
	addl	$3, %edi
	cmpl	%edi, %ecx
	jle	.L9
	movslq	%edi, %rdi
	movl	16(%rsp,%rdi,4), %ecx
	cmpl	%ecx, %r8d
	jl	.L35
	addl	$1, %edx
.L9:
	cmpl	%esi, %edx
	movl	$1, %edi
	cmovg	%esi, %edx
	movq	%r13, %rsi
	cmpl	%eax, %edx
	cmovg	%eax, %edx
	xorl	%eax, %eax
	call	__printf_chk@PLT
	movq	440(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L36
	addq	$456, %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
.L34:
	.cfi_restore_state
	cmpl	%r10d, %r9d
	jl	.L12
	addl	$1, %esi
	jmp	.L13
.L14:
	addl	$1, %edx
.L16:
	leal	2(%rdi), %r10d
	cmpl	%r10d, %ecx
	jle	.L9
	movslq	%r10d, %r10
	movl	16(%rsp,%r10,4), %r10d
	cmpl	%r10d, %r8d
	jge	.L17
	cmpl	%r10d, %r9d
	jl	.L18
	addl	$1, %esi
	jmp	.L19
.L35:
	cmpl	%ecx, %r9d
	jl	.L37
	addl	$1, %esi
	jmp	.L9
.L12:
	addl	$1, %eax
	jmp	.L13
.L15:
	addl	$1, %eax
	jmp	.L16
.L18:
	addl	$1, %eax
	jmp	.L19
.L37:
	addl	$1, %eax
	jmp	.L9
.L4:
	xorl	%eax, %eax
	xorl	%esi, %esi
	xorl	%edx, %edx
	jmp	.L9
.L26:
	xorl	%edi, %edi
	xorl	%eax, %eax
	xorl	%esi, %esi
	xorl	%edx, %edx
	jmp	.L6
.L36:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE52:
	.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	min
	.type	min, @function
min:
.LFB51:
	.cfi_startproc
	endbr64
	cmpl	%edx, %esi
	movl	%edi, %eax
	cmovg	%edx, %esi
	cmpl	%edi, %esi
	cmovle	%esi, %eax
	ret
	.cfi_endproc
.LFE51:
	.size	min, .-min
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d"
.LC1:
	.string	"%d %d"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB52:
	.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	$456, %rsp
	.cfi_def_cfa_offset 496
	movq	%fs:40, %rax
	movq	%rax, 440(%rsp)
	xorl	%eax, %eax
	leaq	4(%rsp), %rsi
	call	__isoc99_scanf@PLT
	leaq	12(%rsp), %rdx
	leaq	8(%rsp), %rsi
	xorl	%eax, %eax
	leaq	.LC1(%rip), %rdi
	call	__isoc99_scanf@PLT
	movl	4(%rsp), %eax
	testl	%eax, %eax
	jle	.L4
	leaq	16(%rsp), %r12
	xorl	%ebx, %ebx
	movq	%r12, %rbp
	.p2align 4,,10
	.p2align 3
.L5:
	movq	%rbp, %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	addl	$1, %ebx
	call	__isoc99_scanf@PLT
	movl	4(%rsp), %ecx
	addq	$4, %rbp
	cmpl	%ebx, %ecx
	jg	.L5
	testl	%ecx, %ecx
	jle	.L4
	leal	-1(%rcx), %eax
	movl	8(%rsp), %r8d
	movl	12(%rsp), %r9d
	cmpl	$3, %eax
	jbe	.L26
	pxor	%xmm4, %xmm4
	movd	%r8d, %xmm7
	movd	%r9d, %xmm6
	movl	%ecx, %eax
	shrl	$2, %eax
	pshufd	$0, %xmm7, %xmm8
	movdqa	%xmm4, %xmm1
	leal	-1(%rax), %edx
	leaq	16(%r12), %rax
	pshufd	$0, %xmm6, %xmm7
	salq	$4, %rdx
	movdqa	%xmm4, %xmm6
	movdqa	%xmm4, %xmm5
	addq	%rax, %rdx
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L33:
	addq	$16, %rax
.L7:
	movdqa	(%r12), %xmm0
	movq	%rax, %r12
	movdqa	%xmm0, %xmm2
	pcmpgtd	%xmm7, %xmm0
	pcmpgtd	%xmm8, %xmm2
	movdqa	%xmm2, %xmm3
	pcmpeqd	%xmm5, %xmm3
	psubd	%xmm3, %xmm1
	movdqa	%xmm0, %xmm3
	pand	%xmm2, %xmm0
	pcmpeqd	%xmm5, %xmm3
	psubd	%xmm0, %xmm4
	pand	%xmm2, %xmm3
	psubd	%xmm3, %xmm6
	cmpq	%rax, %rdx
	jne	.L33
	movdqa	%xmm4, %xmm0
	movl	%ecx, %edi
	psrldq	$8, %xmm0
	andl	$-4, %edi
	paddd	%xmm0, %xmm4
	movdqa	%xmm4, %xmm0
	psrldq	$4, %xmm0
	paddd	%xmm0, %xmm4
	movdqa	%xmm6, %xmm0
	psrldq	$8, %xmm0
	movd	%xmm4, %eax
	paddd	%xmm6, %xmm0
	movdqa	%xmm0, %xmm2
	psrldq	$4, %xmm2
	paddd	%xmm2, %xmm0
	movd	%xmm0, %esi
	movdqa	%xmm1, %xmm0
	psrldq	$8, %xmm0
	paddd	%xmm0, %xmm1
	movdqa	%xmm1, %xmm0
	psrldq	$4, %xmm0
	paddd	%xmm0, %xmm1
	movd	%xmm1, %edx
	testb	$3, %cl
	je	.L9
.L6:
	movslq	%edi, %r10
	movl	16(%rsp,%r10,4), %r10d
	cmpl	%r10d, %r8d
	jl	.L34
	addl	$1, %edx
.L13:
	leal	1(%rdi), %r10d
	cmpl	%r10d, %ecx
	jle	.L9
	movslq	%r10d, %r10
	movl	16(%rsp,%r10,4), %r10d
	cmpl	%r10d, %r8d
	jge	.L14
	cmpl	%r10d, %r9d
	jl	.L15
	addl	$1, %esi
	jmp	.L16
.L17:
	addl	$1, %edx
.L19:
	addl	$3, %edi
	cmpl	%edi, %ecx
	jle	.L9
	movslq	%edi, %rdi
	movl	16(%rsp,%rdi,4), %ecx
	cmpl	%ecx, %r8d
	jl	.L35
	addl	$1, %edx
.L9:
	cmpl	%esi, %edx
	movl	$1, %edi
	cmovg	%esi, %edx
	movq	%r13, %rsi
	cmpl	%eax, %edx
	cmovg	%eax, %edx
	xorl	%eax, %eax
	call	__printf_chk@PLT
	movq	440(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L36
	addq	$456, %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
.L34:
	.cfi_restore_state
	cmpl	%r10d, %r9d
	jl	.L12
	addl	$1, %esi
	jmp	.L13
.L14:
	addl	$1, %edx
.L16:
	leal	2(%rdi), %r10d
	cmpl	%r10d, %ecx
	jle	.L9
	movslq	%r10d, %r10
	movl	16(%rsp,%r10,4), %r10d
	cmpl	%r10d, %r8d
	jge	.L17
	cmpl	%r10d, %r9d
	jl	.L18
	addl	$1, %esi
	jmp	.L19
.L35:
	cmpl	%ecx, %r9d
	jl	.L37
	addl	$1, %esi
	jmp	.L9
.L12:
	addl	$1, %eax
	jmp	.L13
.L15:
	addl	$1, %eax
	jmp	.L16
.L18:
	addl	$1, %eax
	jmp	.L19
.L37:
	addl	$1, %eax
	jmp	.L9
.L4:
	xorl	%eax, %eax
	xorl	%esi, %esi
	xorl	%edx, %edx
	jmp	.L9
.L26:
	xorl	%edi, %edi
	xorl	%eax, %eax
	xorl	%esi, %esi
	xorl	%edx, %edx
	jmp	.L6
.L36:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE52:
	.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 <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>

int min(int a,int b,int c){
    int asdf=a;
    if(asdf>b){asdf=b;}
    if(asdf>c){asdf=c;}
    return asdf;
}



int main(void){
int n,a,b,p[105];
int one=0,two=0,three=0;
scanf("%d",&n);
scanf("%d %d",&a,&b);

for(int i=0;i<n;i++){
scanf("%d",&p[i]);
}

for(int i=0;i<n;i++){
if(p[i]<=a){one++;}
else if(a+1<=p[i]&&p[i]<=b){two++;}
else {three++;}
}

printf("%d",min(one,two,three));
}

3
5 11
5 6 10
 7
5 15
1 10 28 2 7 20 12
 8
3 8
5 5 5 2 10 10 15 20
 3
5 11
5 6 4
 7
5 15
1 13 28 2 7 20 12
 8
3 8
5 5 5 2 10 12 15 20
 3
5 11
5 6 3
 7
5 21
1 13 28 2 7 20 12
 8
3 8
5 5 5 2 9 12 15 20
 3
6 11
5 6 3

0 2 1 0 2 1 0 1 1 0
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>
#include <string.h>
#include <math.h>

int min(int a,int b,int c){
    int asdf=a;
    if(asdf>b){asdf=b;}
    if(asdf>c){asdf=c;}
    return asdf;
}



int main(void){
int n,a,b,p[105];
int one=0,two=0,three=0;
scanf("%d",&n);
scanf("%d %d",&a,&b);

for(int i=0;i<n;i++){
scanf("%d",&p[i]);
}

for(int i=0;i<n;i++){
if(p[i]<=a){one++;}
else if(a+1<=p[i]&&p[i]<=b){two++;}
else {three++;}
}

printf("%d",min(one,two,three));
}
```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.globl	min
	.type	min, @function
min:
.LFB6:
	.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	%edx, -28(%rbp)
	movl	-20(%rbp), %eax
	movl	%eax, -4(%rbp)
	movl	-4(%rbp), %eax
	cmpl	-24(%rbp), %eax
	jle	.L2
	movl	-24(%rbp), %eax
	movl	%eax, -4(%rbp)
.L2:
	movl	-4(%rbp), %eax
	cmpl	-28(%rbp), %eax
	jle	.L3
	movl	-28(%rbp), %eax
	movl	%eax, -4(%rbp)
.L3:
	movl	-4(%rbp), %eax
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	min, .-min
	.section	.rodata
.LC0:
	.string	"%d"
.LC1:
	.string	"%d %d"
	.text
	.globl	main
	.type	main, @function
main:
.LFB7:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$464, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movl	$0, -452(%rbp)
	movl	$0, -448(%rbp)
	movl	$0, -444(%rbp)
	leaq	-464(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	leaq	-456(%rbp), %rdx
	leaq	-460(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -440(%rbp)
	jmp	.L6
.L7:
	leaq	-432(%rbp), %rdx
	movl	-440(%rbp), %eax
	cltq
	salq	$2, %rax
	addq	%rdx, %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addl	$1, -440(%rbp)
.L6:
	movl	-464(%rbp), %eax
	cmpl	%eax, -440(%rbp)
	jl	.L7
	movl	$0, -436(%rbp)
	jmp	.L8
.L12:
	movl	-436(%rbp), %eax
	cltq
	movl	-432(%rbp,%rax,4), %edx
	movl	-460(%rbp), %eax
	cmpl	%eax, %edx
	jg	.L9
	addl	$1, -452(%rbp)
	jmp	.L10
.L9:
	movl	-436(%rbp), %eax
	cltq
	movl	-432(%rbp,%rax,4), %edx
	movl	-460(%rbp), %eax
	cmpl	%eax, %edx
	jle	.L11
	movl	-436(%rbp), %eax
	cltq
	movl	-432(%rbp,%rax,4), %edx
	movl	-456(%rbp), %eax
	cmpl	%eax, %edx
	jg	.L11
	addl	$1, -448(%rbp)
	jmp	.L10
.L11:
	addl	$1, -444(%rbp)
.L10:
	addl	$1, -436(%rbp)
.L8:
	movl	-464(%rbp), %eax
	cmpl	%eax, -436(%rbp)
	jl	.L12
	movl	-444(%rbp), %edx
	movl	-448(%rbp), %ecx
	movl	-452(%rbp), %eax
	movl	%ecx, %esi
	movl	%eax, %edi
	call	min
	movl	%eax, %esi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L14
	call	__stack_chk_fail@PLT
.L14:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.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	min
	.type	min, @function
min:
.LFB6:
	.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	%edx, -28(%rbp)
	movl	-20(%rbp), %eax
	movl	%eax, -4(%rbp)
	movl	-4(%rbp), %eax
	cmpl	-24(%rbp), %eax
	jle	.L2
	movl	-24(%rbp), %eax
	movl	%eax, -4(%rbp)
.L2:
	movl	-4(%rbp), %eax
	cmpl	-28(%rbp), %eax
	jle	.L3
	movl	-28(%rbp), %eax
	movl	%eax, -4(%rbp)
.L3:
	movl	-4(%rbp), %eax
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	min, .-min
	.section	.rodata
.LC0:
	.string	"%d"
.LC1:
	.string	"%d %d"
	.text
	.globl	main
	.type	main, @function
main:
.LFB7:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$464, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movl	$0, -452(%rbp)
	movl	$0, -448(%rbp)
	movl	$0, -444(%rbp)
	leaq	-464(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	leaq	-456(%rbp), %rdx
	leaq	-460(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -440(%rbp)
	jmp	.L6
.L7:
	leaq	-432(%rbp), %rdx
	movl	-440(%rbp), %eax
	cltq
	salq	$2, %rax
	addq	%rdx, %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addl	$1, -440(%rbp)
.L6:
	movl	-464(%rbp), %eax
	cmpl	%eax, -440(%rbp)
	jl	.L7
	movl	$0, -436(%rbp)
	jmp	.L8
.L12:
	movl	-436(%rbp), %eax
	cltq
	movl	-432(%rbp,%rax,4), %edx
	movl	-460(%rbp), %eax
	cmpl	%eax, %edx
	jg	.L9
	addl	$1, -452(%rbp)
	jmp	.L10
.L9:
	movl	-436(%rbp), %eax
	cltq
	movl	-432(%rbp,%rax,4), %edx
	movl	-460(%rbp), %eax
	cmpl	%eax, %edx
	jle	.L11
	movl	-436(%rbp), %eax
	cltq
	movl	-432(%rbp,%rax,4), %edx
	movl	-456(%rbp), %eax
	cmpl	%eax, %edx
	jg	.L11
	addl	$1, -448(%rbp)
	jmp	.L10
.L11:
	addl	$1, -444(%rbp)
.L10:
	addl	$1, -436(%rbp)
.L8:
	movl	-464(%rbp), %eax
	cmpl	%eax, -436(%rbp)
	jl	.L12
	movl	-444(%rbp), %edx
	movl	-448(%rbp), %ecx
	movl	-452(%rbp), %eax
	movl	%ecx, %esi
	movl	%eax, %edi
	call	min
	movl	%eax, %esi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L14
	call	__stack_chk_fail@PLT
.L14:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.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:
