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<string.h>
 
#define N 3
#define LIM 32
#define HN 362897
 
struct dep{
    int depth,key;
};
 
int ans[N][N]={
    {1,2,3},
    {4,5,6},
    {7,8,0}};
 
int min = LIM;
struct dep h[HN];
 
int hash1(int k){
    return k % HN;
}
int hash2(int k){
    return 1 + k%(HN-1);
}
int hash(int k, int i){
    return (hash1(k) + i*hash2(k))%HN;
}
 
 
void dfs(int p[N][N], int n){
    int i,j,i0,j0,a=0,b=1;
    int f=0;
    int tmp[N][N];
    //printf("A\n");
    for(i=0;i<N;i++)
    {
        for(j=0;j<N;j++)
        {
            if(ans[i][j]!=p[i][j])f++;
            if(p[i][j]==0)
            {
                i0=i;
                j0=j;
            }
            a+=p[i][j]*b;
            b*=10;
        }
    }
     
    if(f==0)
    {
        if(min>=n)
        {
            min=n;
        }
        return;
    }
    if(n>min) return;
    i=0;
    while(1)
    {
        b=hash(a, i);
        if(h[b].key == 0)
        {
            h[b].key=a;
            h[b].depth=n;
            break;
        }
        else if(h[b].key == a)
        {
            if(h[b].depth>n)
            {
                h[b].depth=n;
                break;
            }
            else return;
        }
        i++;
    }
     
    if(i0>0 && i0<N)
    {
        memcpy(tmp,p,sizeof(int)*N*N);
        f=tmp[i0][j0];
        tmp[i0][j0]=tmp[i0-1][j0];
        tmp[i0-1][j0]=f;
        dfs(tmp, n+1);
    }
    if(j0>0 && j0<N)
    {
        memcpy(tmp,p,sizeof(int)*N*N);
        f=tmp[i0][j0];
        tmp[i0][j0]=tmp[i0][j0-1];
        tmp[i0][j0-1]=f;
        dfs(tmp, n+1);
    }
     
    if(i0>=0 && i0<N-1)
    {
        memcpy(tmp,p,sizeof(int)*N*N);
        f=tmp[i0][j0];
        tmp[i0][j0]=tmp[i0+1][j0];
        tmp[i0+1][j0]=f;
        dfs(tmp, n+1);
    }
    if(j0>=0 && j0<N-1)
    {
        memcpy(tmp,p,sizeof(int)*N*N);
        f=tmp[i0][j0];
        tmp[i0][j0]=tmp[i0][j0+1];
        tmp[i0][j0+1]=f;
        dfs(tmp, n+1);
    }
     
}
 
int main(){
    int i,j;
    int p[N][N];
     
    for(i=0;i<N;i++){
        for(j=0;j<N;j++){
            scanf("%d",&p[i][j]);
        }
    }
    dfs(p,0);
     
    printf("%d\n",min);
     
    return 0;
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.globl	ans
	.data
	.align 32
	.type	ans, @object
	.size	ans, 36
ans:
	.long	1
	.long	2
	.long	3
	.long	4
	.long	5
	.long	6
	.long	7
	.long	8
	.long	0
	.globl	min
	.align 4
	.type	min, @object
	.size	min, 4
min:
	.long	32
	.globl	h
	.bss
	.align 32
	.type	h, @object
	.size	h, 2903176
h:
	.zero	2903176
	.text
	.globl	hash1
	.type	hash1, @function
hash1:
.LFB0:
	.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	-4(%rbp), %eax
	movslq	%eax, %rdx
	imulq	$1551266485, %rdx, %rdx
	shrq	$32, %rdx
	sarl	$17, %edx
	movl	%eax, %ecx
	sarl	$31, %ecx
	subl	%ecx, %edx
	imull	$362897, %edx, %ecx
	subl	%ecx, %eax
	movl	%eax, %edx
	movl	%edx, %eax
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	hash1, .-hash1
	.globl	hash2
	.type	hash2, @function
hash2:
.LFB1:
	.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	-4(%rbp), %eax
	movslq	%eax, %rdx
	imulq	$-1192425777, %rdx, %rdx
	shrq	$32, %rdx
	addl	%eax, %edx
	sarl	$18, %edx
	movl	%eax, %ecx
	sarl	$31, %ecx
	subl	%ecx, %edx
	imull	$362896, %edx, %ecx
	subl	%ecx, %eax
	movl	%eax, %edx
	leal	1(%rdx), %eax
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	hash2, .-hash2
	.globl	hash
	.type	hash, @function
hash:
.LFB2:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	pushq	%rbx
	subq	$8, %rsp
	.cfi_offset 3, -24
	movl	%edi, -12(%rbp)
	movl	%esi, -16(%rbp)
	movl	-12(%rbp), %eax
	movl	%eax, %edi
	call	hash1
	movl	%eax, %ebx
	movl	-12(%rbp), %eax
	movl	%eax, %edi
	call	hash2
	imull	-16(%rbp), %eax
	leal	(%rbx,%rax), %edx
	movslq	%edx, %rax
	imulq	$1551266485, %rax, %rax
	shrq	$32, %rax
	sarl	$17, %eax
	movl	%edx, %ecx
	sarl	$31, %ecx
	subl	%ecx, %eax
	imull	$362897, %eax, %ecx
	movl	%edx, %eax
	subl	%ecx, %eax
	movq	-8(%rbp), %rbx
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	hash, .-hash
	.globl	dfs
	.type	dfs, @function
dfs:
.LFB3:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$96, %rsp
	movq	%rdi, -88(%rbp)
	movl	%esi, -92(%rbp)
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movl	$0, -60(%rbp)
	movl	$1, -56(%rbp)
	movl	$0, -52(%rbp)
	movl	$0, -76(%rbp)
	jmp	.L8
.L13:
	movl	$0, -72(%rbp)
	jmp	.L9
.L12:
	movl	-72(%rbp), %eax
	movslq	%eax, %rcx
	movl	-76(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	addq	%rcx, %rax
	leaq	0(,%rax,4), %rdx
	leaq	ans(%rip), %rax
	movl	(%rdx,%rax), %ecx
	movl	-76(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	movq	%rax, %rdx
	movq	-88(%rbp), %rax
	addq	%rax, %rdx
	movl	-72(%rbp), %eax
	cltq
	movl	(%rdx,%rax,4), %eax
	cmpl	%eax, %ecx
	je	.L10
	addl	$1, -52(%rbp)
.L10:
	movl	-76(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	movq	%rax, %rdx
	movq	-88(%rbp), %rax
	addq	%rax, %rdx
	movl	-72(%rbp), %eax
	cltq
	movl	(%rdx,%rax,4), %eax
	testl	%eax, %eax
	jne	.L11
	movl	-76(%rbp), %eax
	movl	%eax, -68(%rbp)
	movl	-72(%rbp), %eax
	movl	%eax, -64(%rbp)
.L11:
	movl	-76(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	movq	%rax, %rdx
	movq	-88(%rbp), %rax
	addq	%rax, %rdx
	movl	-72(%rbp), %eax
	cltq
	movl	(%rdx,%rax,4), %eax
	imull	-56(%rbp), %eax
	addl	%eax, -60(%rbp)
	movl	-56(%rbp), %edx
	movl	%edx, %eax
	sall	$2, %eax
	addl	%edx, %eax
	addl	%eax, %eax
	movl	%eax, -56(%rbp)
	addl	$1, -72(%rbp)
.L9:
	cmpl	$2, -72(%rbp)
	jle	.L12
	addl	$1, -76(%rbp)
.L8:
	cmpl	$2, -76(%rbp)
	jle	.L13
	cmpl	$0, -52(%rbp)
	jne	.L14
	movl	min(%rip), %eax
	cmpl	%eax, -92(%rbp)
	jg	.L29
	movl	-92(%rbp), %eax
	movl	%eax, min(%rip)
	jmp	.L29
.L14:
	movl	min(%rip), %eax
	cmpl	%eax, -92(%rbp)
	jg	.L30
	movl	$0, -76(%rbp)
.L22:
	movl	-76(%rbp), %edx
	movl	-60(%rbp), %eax
	movl	%edx, %esi
	movl	%eax, %edi
	call	hash
	movl	%eax, -56(%rbp)
	movl	-56(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rdx
	leaq	4+h(%rip), %rax
	movl	(%rdx,%rax), %eax
	testl	%eax, %eax
	jne	.L18
	movl	-56(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rcx
	leaq	4+h(%rip), %rdx
	movl	-60(%rbp), %eax
	movl	%eax, (%rcx,%rdx)
	movl	-56(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rcx
	leaq	h(%rip), %rdx
	movl	-92(%rbp), %eax
	movl	%eax, (%rcx,%rdx)
	jmp	.L19
.L18:
	movl	-56(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rdx
	leaq	4+h(%rip), %rax
	movl	(%rdx,%rax), %eax
	cmpl	%eax, -60(%rbp)
	jne	.L20
	movl	-56(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rdx
	leaq	h(%rip), %rax
	movl	(%rdx,%rax), %eax
	cmpl	%eax, -92(%rbp)
	jge	.L31
	movl	-56(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rcx
	leaq	h(%rip), %rdx
	movl	-92(%rbp), %eax
	movl	%eax, (%rcx,%rdx)
	jmp	.L19
.L20:
	addl	$1, -76(%rbp)
	jmp	.L22
.L19:
	cmpl	$0, -68(%rbp)
	jle	.L23
	cmpl	$2, -68(%rbp)
	jg	.L23
	movq	-88(%rbp), %rcx
	leaq	-48(%rbp), %rax
	movl	$36, %edx
	movq	%rcx, %rsi
	movq	%rax, %rdi
	call	memcpy@PLT
	movl	-64(%rbp), %eax
	movslq	%eax, %rcx
	movl	-68(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	addq	%rcx, %rax
	movl	-48(%rbp,%rax,4), %eax
	movl	%eax, -52(%rbp)
	movl	-68(%rbp), %eax
	leal	-1(%rax), %edx
	movl	-64(%rbp), %eax
	movslq	%eax, %rcx
	movslq	%edx, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	addq	%rcx, %rax
	movl	-48(%rbp,%rax,4), %edx
	movl	-64(%rbp), %eax
	movslq	%eax, %rsi
	movl	-68(%rbp), %eax
	movslq	%eax, %rcx
	movq	%rcx, %rax
	addq	%rax, %rax
	addq	%rcx, %rax
	addq	%rsi, %rax
	movl	%edx, -48(%rbp,%rax,4)
	movl	-68(%rbp), %eax
	leal	-1(%rax), %edx
	movl	-64(%rbp), %eax
	movslq	%eax, %rcx
	movslq	%edx, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	leaq	(%rax,%rcx), %rdx
	movl	-52(%rbp), %eax
	movl	%eax, -48(%rbp,%rdx,4)
	movl	-92(%rbp), %eax
	leal	1(%rax), %edx
	leaq	-48(%rbp), %rax
	movl	%edx, %esi
	movq	%rax, %rdi
	call	dfs
.L23:
	cmpl	$0, -64(%rbp)
	jle	.L24
	cmpl	$2, -64(%rbp)
	jg	.L24
	movq	-88(%rbp), %rcx
	leaq	-48(%rbp), %rax
	movl	$36, %edx
	movq	%rcx, %rsi
	movq	%rax, %rdi
	call	memcpy@PLT
	movl	-64(%rbp), %eax
	movslq	%eax, %rcx
	movl	-68(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	addq	%rcx, %rax
	movl	-48(%rbp,%rax,4), %eax
	movl	%eax, -52(%rbp)
	movl	-64(%rbp), %eax
	subl	$1, %eax
	movslq	%eax, %rcx
	movl	-68(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	addq	%rcx, %rax
	movl	-48(%rbp,%rax,4), %edx
	movl	-64(%rbp), %eax
	movslq	%eax, %rsi
	movl	-68(%rbp), %eax
	movslq	%eax, %rcx
	movq	%rcx, %rax
	addq	%rax, %rax
	addq	%rcx, %rax
	addq	%rsi, %rax
	movl	%edx, -48(%rbp,%rax,4)
	movl	-64(%rbp), %eax
	subl	$1, %eax
	movslq	%eax, %rcx
	movl	-68(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	leaq	(%rax,%rcx), %rdx
	movl	-52(%rbp), %eax
	movl	%eax, -48(%rbp,%rdx,4)
	movl	-92(%rbp), %eax
	leal	1(%rax), %edx
	leaq	-48(%rbp), %rax
	movl	%edx, %esi
	movq	%rax, %rdi
	call	dfs
.L24:
	cmpl	$0, -68(%rbp)
	js	.L25
	cmpl	$1, -68(%rbp)
	jg	.L25
	movq	-88(%rbp), %rcx
	leaq	-48(%rbp), %rax
	movl	$36, %edx
	movq	%rcx, %rsi
	movq	%rax, %rdi
	call	memcpy@PLT
	movl	-64(%rbp), %eax
	movslq	%eax, %rcx
	movl	-68(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	addq	%rcx, %rax
	movl	-48(%rbp,%rax,4), %eax
	movl	%eax, -52(%rbp)
	movl	-68(%rbp), %eax
	leal	1(%rax), %edx
	movl	-64(%rbp), %eax
	movslq	%eax, %rcx
	movslq	%edx, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	addq	%rcx, %rax
	movl	-48(%rbp,%rax,4), %edx
	movl	-64(%rbp), %eax
	movslq	%eax, %rsi
	movl	-68(%rbp), %eax
	movslq	%eax, %rcx
	movq	%rcx, %rax
	addq	%rax, %rax
	addq	%rcx, %rax
	addq	%rsi, %rax
	movl	%edx, -48(%rbp,%rax,4)
	movl	-68(%rbp), %eax
	leal	1(%rax), %edx
	movl	-64(%rbp), %eax
	movslq	%eax, %rcx
	movslq	%edx, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	leaq	(%rax,%rcx), %rdx
	movl	-52(%rbp), %eax
	movl	%eax, -48(%rbp,%rdx,4)
	movl	-92(%rbp), %eax
	leal	1(%rax), %edx
	leaq	-48(%rbp), %rax
	movl	%edx, %esi
	movq	%rax, %rdi
	call	dfs
.L25:
	cmpl	$0, -64(%rbp)
	js	.L7
	cmpl	$1, -64(%rbp)
	jg	.L7
	movq	-88(%rbp), %rcx
	leaq	-48(%rbp), %rax
	movl	$36, %edx
	movq	%rcx, %rsi
	movq	%rax, %rdi
	call	memcpy@PLT
	movl	-64(%rbp), %eax
	movslq	%eax, %rcx
	movl	-68(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	addq	%rcx, %rax
	movl	-48(%rbp,%rax,4), %eax
	movl	%eax, -52(%rbp)
	movl	-64(%rbp), %eax
	addl	$1, %eax
	movslq	%eax, %rcx
	movl	-68(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	addq	%rcx, %rax
	movl	-48(%rbp,%rax,4), %edx
	movl	-64(%rbp), %eax
	movslq	%eax, %rsi
	movl	-68(%rbp), %eax
	movslq	%eax, %rcx
	movq	%rcx, %rax
	addq	%rax, %rax
	addq	%rcx, %rax
	addq	%rsi, %rax
	movl	%edx, -48(%rbp,%rax,4)
	movl	-64(%rbp), %eax
	addl	$1, %eax
	movslq	%eax, %rcx
	movl	-68(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	leaq	(%rax,%rcx), %rdx
	movl	-52(%rbp), %eax
	movl	%eax, -48(%rbp,%rdx,4)
	movl	-92(%rbp), %eax
	leal	1(%rax), %edx
	leaq	-48(%rbp), %rax
	movl	%edx, %esi
	movq	%rax, %rdi
	call	dfs
	jmp	.L7
.L29:
	nop
	jmp	.L7
.L30:
	nop
	jmp	.L7
.L31:
	nop
.L7:
	movq	-8(%rbp), %rax
	subq	%fs:40, %rax
	je	.L28
	call	__stack_chk_fail@PLT
.L28:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	dfs, .-dfs
	.section	.rodata
.LC0:
	.string	"%d"
.LC1:
	.string	"%d\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB4:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$64, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movl	$0, -56(%rbp)
	jmp	.L33
.L36:
	movl	$0, -52(%rbp)
	jmp	.L34
.L35:
	leaq	-48(%rbp), %rcx
	movl	-52(%rbp), %eax
	movslq	%eax, %rsi
	movl	-56(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	addq	%rsi, %rax
	salq	$2, %rax
	addq	%rcx, %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addl	$1, -52(%rbp)
.L34:
	cmpl	$2, -52(%rbp)
	jle	.L35
	addl	$1, -56(%rbp)
.L33:
	cmpl	$2, -56(%rbp)
	jle	.L36
	leaq	-48(%rbp), %rax
	movl	$0, %esi
	movq	%rax, %rdi
	call	dfs
	movl	min(%rip), %eax
	movl	%eax, %esi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L38
	call	__stack_chk_fail@PLT
.L38:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE4:
	.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	hash1
	.type	hash1, @function
hash1:
.LFB35:
	.cfi_startproc
	endbr64
	movslq	%edi, %rax
	movl	%edi, %edx
	imulq	$1551266485, %rax, %rax
	sarl	$31, %edx
	sarq	$49, %rax
	subl	%edx, %eax
	imull	$362897, %eax, %edx
	movl	%edi, %eax
	subl	%edx, %eax
	ret
	.cfi_endproc
.LFE35:
	.size	hash1, .-hash1
	.p2align 4
	.globl	hash2
	.type	hash2, @function
hash2:
.LFB36:
	.cfi_startproc
	endbr64
	movslq	%edi, %rdx
	movl	%edi, %eax
	imulq	$-1192425777, %rdx, %rdx
	sarl	$31, %eax
	shrq	$32, %rdx
	addl	%edi, %edx
	sarl	$18, %edx
	subl	%eax, %edx
	imull	$362896, %edx, %edx
	subl	%edx, %edi
	leal	1(%rdi), %eax
	ret
	.cfi_endproc
.LFE36:
	.size	hash2, .-hash2
	.p2align 4
	.globl	hash
	.type	hash, @function
hash:
.LFB37:
	.cfi_startproc
	endbr64
	movslq	%edi, %rdx
	movl	%esi, %r8d
	movl	%edi, %esi
	movl	%edi, %ecx
	imulq	$-1192425777, %rdx, %rax
	sarl	$31, %esi
	imulq	$1551266485, %rdx, %rdx
	shrq	$32, %rax
	addl	%edi, %eax
	sarq	$49, %rdx
	sarl	$18, %eax
	subl	%esi, %edx
	subl	%esi, %eax
	imull	$362897, %edx, %edx
	imull	$362896, %eax, %eax
	subl	%edx, %edi
	subl	%eax, %ecx
	leal	1(%rcx), %eax
	imull	%r8d, %eax
	leal	(%rax,%rdi), %edx
	movslq	%edx, %rax
	movl	%edx, %ecx
	imulq	$1551266485, %rax, %rax
	sarl	$31, %ecx
	sarq	$49, %rax
	subl	%ecx, %eax
	imull	$362897, %eax, %ecx
	movl	%edx, %eax
	subl	%ecx, %eax
	ret
	.cfi_endproc
.LFE37:
	.size	hash, .-hash
	.p2align 4
	.globl	dfs
	.type	dfs, @function
dfs:
.LFB38:
	.cfi_startproc
	endbr64
	pushq	%r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	movl	%esi, %r13d
	pushq	%r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	pushq	%rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	movq	%rdi, %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	subq	$56, %rsp
	.cfi_def_cfa_offset 96
	movl	(%rdi), %ecx
	movl	4(%rdi), %edx
	movq	%fs:40, %rax
	movq	%rax, 40(%rsp)
	xorl	%eax, %eax
	xorl	%eax, %eax
	cmpl	%ecx, ans(%rip)
	setne	%al
	xorl	%esi, %esi
	cmpl	%edx, 4+ans(%rip)
	setne	%sil
	xorl	%ebx, %ebx
	addl	%esi, %eax
	testl	%edx, %edx
	leal	(%rdx,%rdx,4), %edx
	sete	%bl
	leal	(%rcx,%rdx,2), %ecx
	xorl	%esi, %esi
	movl	8(%rdi), %edx
	cmpl	%edx, 8+ans(%rip)
	setne	%sil
	addl	%esi, %eax
	testl	%edx, %edx
	movl	$2, %esi
	cmove	%esi, %ebx
	imull	$100, %edx, %edx
	addl	%edx, %ecx
	movl	12(%rdi), %edx
	xorl	%edi, %edi
	cmpl	%edx, 12+ans(%rip)
	setne	%dil
	xorl	%r12d, %r12d
	addl	%edi, %eax
	cmpl	$1, %edx
	setb	%r12b
	xorl	%r8d, %r8d
	testl	%edx, %edx
	cmove	%r8d, %ebx
	imull	$1000, %edx, %edx
	xorl	%edi, %edi
	addl	%ecx, %edx
	movl	16(%rbp), %ecx
	cmpl	%ecx, 16+ans(%rip)
	setne	%dil
	addl	%edi, %eax
	testl	%ecx, %ecx
	movl	$1, %edi
	cmove	%edi, %ebx
	cmove	%rdi, %r12
	xorl	%r9d, %r9d
	imull	$10000, %ecx, %ecx
	addl	%edx, %ecx
	movl	20(%rbp), %edx
	cmpl	%edx, 20+ans(%rip)
	setne	%r9b
	addl	%r9d, %eax
	testl	%edx, %edx
	cmove	%esi, %ebx
	cmove	%rdi, %r12
	xorl	%r9d, %r9d
	imull	$100000, %edx, %edx
	addl	%edx, %ecx
	movl	24(%rbp), %edx
	cmpl	24+ans(%rip), %edx
	setne	%r9b
	addl	%r9d, %eax
	testl	%edx, %edx
	cmove	%r8d, %ebx
	cmove	%rsi, %r12
	xorl	%r8d, %r8d
	imull	$1000000, %edx, %edx
	addl	%ecx, %edx
	movl	28(%rbp), %ecx
	cmpl	28+ans(%rip), %ecx
	setne	%r8b
	addl	%r8d, %eax
	testl	%ecx, %ecx
	cmove	%edi, %ebx
	cmove	%rsi, %r12
	imull	$10000000, %ecx, %ecx
	addl	%edx, %ecx
	movl	32(%rbp), %edx
	cmpl	%edx, 32+ans(%rip)
	je	.L19
	addl	$1, %eax
	testl	%edx, %edx
	jne	.L22
	movd	%r13d, %xmm0
	movd	%ecx, %xmm2
	movl	$2, %ebx
	movl	min(%rip), %edx
	punpckldq	%xmm2, %xmm0
	movl	$2, %r12d
.L23:
	cmpl	%edx, %r13d
	jg	.L5
	movslq	%ecx, %rdx
	movl	%ecx, %esi
	leaq	h(%rip), %r9
	movl	%ecx, %r8d
	imulq	$1551266485, %rdx, %rax
	sarl	$31, %esi
	imulq	$-1192425777, %rdx, %rdx
	sarq	$49, %rax
	shrq	$32, %rdx
	subl	%esi, %eax
	addl	%ecx, %edx
	imull	$362897, %eax, %edi
	movl	%ecx, %eax
	sarl	$18, %edx
	subl	%esi, %edx
	imull	$362896, %edx, %edx
	subl	%edi, %eax
	movslq	%eax, %rdi
	movl	4(%r9,%rdi,8), %esi
	subl	%edx, %r8d
	addl	$1, %r8d
	leal	(%r8,%rax), %edx
	testl	%esi, %esi
	jne	.L30
	jmp	.L29
	.p2align 4,,10
	.p2align 3
.L28:
	movslq	%edx, %rax
	movl	%edx, %esi
	imulq	$1551266485, %rax, %rax
	sarl	$31, %esi
	sarq	$49, %rax
	subl	%esi, %eax
	imull	$362897, %eax, %esi
	movl	%edx, %eax
	addl	%r8d, %edx
	subl	%esi, %eax
	movslq	%eax, %rdi
	movl	4(%r9,%rdi,8), %esi
	testl	%esi, %esi
	je	.L29
.L30:
	cmpl	%ecx, %esi
	jne	.L28
	cmpl	%r13d, (%r9,%rdi,8)
	jle	.L5
	movl	%r13d, (%r9,%rdi,8)
	jmp	.L27
	.p2align 4,,10
	.p2align 3
.L19:
	testl	%edx, %edx
	cmove	%esi, %ebx
	cmove	%rsi, %r12
.L22:
	movd	%r13d, %xmm0
	imull	$100000000, %edx, %edx
	addl	%edx, %ecx
	movl	min(%rip), %edx
	movd	%ecx, %xmm1
	punpckldq	%xmm1, %xmm0
	testl	%eax, %eax
	jne	.L23
	cmpl	%edx, %r13d
	jle	.L53
	.p2align 4,,10
	.p2align 3
.L5:
	movq	40(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L54
	addq	$56, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	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
	.p2align 4,,10
	.p2align 3
.L29:
	.cfi_restore_state
	movq	%xmm0, (%r9,%rdi,8)
.L27:
	leal	-1(%r12), %eax
	cmpl	$1, %eax
	jbe	.L55
.L31:
	leal	-1(%rbx), %eax
	cmpl	$1, %eax
	jbe	.L56
.L32:
	cmpl	$2, %r12d
	jne	.L57
.L33:
	cmpl	$2, %ebx
	je	.L5
	movl	32(%rbp), %eax
	movdqu	0(%rbp), %xmm4
	leaq	(%r12,%r12,2), %rdx
	leal	1(%r13), %esi
	movdqu	16(%rbp), %xmm5
	movq	%rsp, %rdi
	movl	%eax, 32(%rsp)
	movslq	%ebx, %rax
	addq	%rdx, %rax
	movaps	%xmm4, (%rsp)
	movaps	%xmm5, 16(%rsp)
	rolq	$32, (%rsp,%rax,4)
	call	dfs
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L53:
	movl	%r13d, min(%rip)
	jmp	.L5
.L55:
	movl	32(%rbp), %edx
	cltq
	movslq	%ebx, %rcx
	movdqu	0(%rbp), %xmm3
	movdqu	16(%rbp), %xmm4
	leaq	(%rax,%rax,2), %rax
	movq	%rsp, %rdi
	movl	%edx, 32(%rsp)
	movslq	%r12d, %rdx
	addq	%rcx, %rax
	leaq	(%rdx,%rdx,2), %rdx
	movaps	%xmm3, (%rsp)
	addq	%rcx, %rdx
	movaps	%xmm4, 16(%rsp)
	movl	(%rsp,%rax,4), %ecx
	movl	(%rsp,%rdx,4), %esi
	movl	%ecx, (%rsp,%rdx,4)
	movl	%esi, (%rsp,%rax,4)
	leal	1(%r13), %esi
	call	dfs
	jmp	.L31
.L57:
	movl	32(%rbp), %eax
	movslq	%ebx, %rcx
	movdqu	0(%rbp), %xmm7
	movq	%rsp, %rdi
	movdqu	16(%rbp), %xmm3
	movl	%eax, 32(%rsp)
	movslq	%r12d, %rax
	leaq	(%rax,%rax,2), %rdx
	leal	1(%r12), %eax
	movaps	%xmm7, (%rsp)
	cltq
	addq	%rcx, %rdx
	movaps	%xmm3, 16(%rsp)
	leaq	(%rax,%rax,2), %rax
	movl	(%rsp,%rdx,4), %esi
	addq	%rcx, %rax
	movl	(%rsp,%rax,4), %ecx
	movl	%ecx, (%rsp,%rdx,4)
	movl	%esi, (%rsp,%rax,4)
	leal	1(%r13), %esi
	call	dfs
	jmp	.L33
.L56:
	movl	32(%rbp), %edx
	movslq	%r12d, %rcx
	movdqu	0(%rbp), %xmm5
	cltq
	leaq	(%rcx,%rcx,2), %rcx
	movdqu	16(%rbp), %xmm6
	movq	%rsp, %rdi
	leal	1(%r13), %esi
	movl	%edx, 32(%rsp)
	movslq	%ebx, %rdx
	addq	%rcx, %rax
	addq	%rcx, %rdx
	movaps	%xmm5, (%rsp)
	movaps	%xmm6, 16(%rsp)
	movq	-4(%rsp,%rdx,4), %xmm0
	pshufd	$225, %xmm0, %xmm0
	movq	%xmm0, (%rsp,%rax,4)
	call	dfs
	jmp	.L32
.L54:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE38:
	.size	dfs, .-dfs
	.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:
.LFB39:
	.cfi_startproc
	endbr64
	pushq	%r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	pushq	%r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	pushq	%rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	leaq	.LC0(%rip), %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	subq	$56, %rsp
	.cfi_def_cfa_offset 96
	movq	%fs:40, %rax
	movq	%rax, 40(%rsp)
	xorl	%eax, %eax
	movq	%rsp, %r13
	leaq	36(%rsp), %r12
	movq	%r13, %rbx
.L59:
	movq	%rbx, %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	leaq	4(%rbx), %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	leaq	8(%rbx), %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	addq	$12, %rbx
	cmpq	%rbx, %r12
	jne	.L59
	xorl	%esi, %esi
	movq	%r13, %rdi
	call	dfs
	movl	min(%rip), %edx
	xorl	%eax, %eax
	leaq	.LC1(%rip), %rsi
	movl	$1, %edi
	call	__printf_chk@PLT
	movq	40(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L63
	addq	$56, %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
.L63:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE39:
	.size	main, .-main
	.globl	h
	.bss
	.align 32
	.type	h, @object
	.size	h, 2903176
h:
	.zero	2903176
	.globl	min
	.data
	.align 4
	.type	min, @object
	.size	min, 4
min:
	.long	32
	.globl	ans
	.align 32
	.type	ans, @object
	.size	ans, 36
ans:
	.long	1
	.long	2
	.long	3
	.long	4
	.long	5
	.long	6
	.long	7
	.long	8
	.long	0
	.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	hash1
	.type	hash1, @function
hash1:
.LFB35:
	.cfi_startproc
	endbr64
	movslq	%edi, %rax
	movl	%edi, %edx
	imulq	$1551266485, %rax, %rax
	sarl	$31, %edx
	sarq	$49, %rax
	subl	%edx, %eax
	imull	$362897, %eax, %edx
	movl	%edi, %eax
	subl	%edx, %eax
	ret
	.cfi_endproc
.LFE35:
	.size	hash1, .-hash1
	.p2align 4
	.globl	hash2
	.type	hash2, @function
hash2:
.LFB36:
	.cfi_startproc
	endbr64
	movslq	%edi, %rdx
	movl	%edi, %eax
	imulq	$-1192425777, %rdx, %rdx
	sarl	$31, %eax
	shrq	$32, %rdx
	addl	%edi, %edx
	sarl	$18, %edx
	subl	%eax, %edx
	imull	$362896, %edx, %edx
	subl	%edx, %edi
	leal	1(%rdi), %eax
	ret
	.cfi_endproc
.LFE36:
	.size	hash2, .-hash2
	.p2align 4
	.globl	hash
	.type	hash, @function
hash:
.LFB37:
	.cfi_startproc
	endbr64
	movslq	%edi, %rdx
	movl	%esi, %r8d
	movl	%edi, %esi
	movl	%edi, %ecx
	imulq	$-1192425777, %rdx, %rax
	sarl	$31, %esi
	imulq	$1551266485, %rdx, %rdx
	shrq	$32, %rax
	addl	%edi, %eax
	sarq	$49, %rdx
	sarl	$18, %eax
	subl	%esi, %edx
	subl	%esi, %eax
	imull	$362897, %edx, %edx
	imull	$362896, %eax, %eax
	subl	%edx, %edi
	subl	%eax, %ecx
	leal	1(%rcx), %eax
	imull	%r8d, %eax
	leal	(%rax,%rdi), %edx
	movslq	%edx, %rax
	movl	%edx, %ecx
	imulq	$1551266485, %rax, %rax
	sarl	$31, %ecx
	sarq	$49, %rax
	subl	%ecx, %eax
	imull	$362897, %eax, %ecx
	movl	%edx, %eax
	subl	%ecx, %eax
	ret
	.cfi_endproc
.LFE37:
	.size	hash, .-hash
	.p2align 4
	.globl	dfs
	.type	dfs, @function
dfs:
.LFB38:
	.cfi_startproc
	endbr64
	pushq	%r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	movl	%esi, %r13d
	pushq	%r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	pushq	%rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	movq	%rdi, %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	subq	$56, %rsp
	.cfi_def_cfa_offset 96
	movl	(%rdi), %ecx
	movl	4(%rdi), %edx
	movq	%fs:40, %rax
	movq	%rax, 40(%rsp)
	xorl	%eax, %eax
	xorl	%eax, %eax
	cmpl	%ecx, ans(%rip)
	setne	%al
	xorl	%esi, %esi
	cmpl	%edx, 4+ans(%rip)
	setne	%sil
	xorl	%ebx, %ebx
	addl	%esi, %eax
	testl	%edx, %edx
	leal	(%rdx,%rdx,4), %edx
	sete	%bl
	leal	(%rcx,%rdx,2), %ecx
	xorl	%esi, %esi
	movl	8(%rdi), %edx
	cmpl	%edx, 8+ans(%rip)
	setne	%sil
	addl	%esi, %eax
	testl	%edx, %edx
	movl	$2, %esi
	cmove	%esi, %ebx
	imull	$100, %edx, %edx
	addl	%edx, %ecx
	movl	12(%rdi), %edx
	xorl	%edi, %edi
	cmpl	%edx, 12+ans(%rip)
	setne	%dil
	xorl	%r12d, %r12d
	addl	%edi, %eax
	cmpl	$1, %edx
	setb	%r12b
	xorl	%r8d, %r8d
	testl	%edx, %edx
	cmove	%r8d, %ebx
	imull	$1000, %edx, %edx
	xorl	%edi, %edi
	addl	%ecx, %edx
	movl	16(%rbp), %ecx
	cmpl	%ecx, 16+ans(%rip)
	setne	%dil
	addl	%edi, %eax
	testl	%ecx, %ecx
	movl	$1, %edi
	cmove	%edi, %ebx
	cmove	%rdi, %r12
	xorl	%r9d, %r9d
	imull	$10000, %ecx, %ecx
	addl	%edx, %ecx
	movl	20(%rbp), %edx
	cmpl	%edx, 20+ans(%rip)
	setne	%r9b
	addl	%r9d, %eax
	testl	%edx, %edx
	cmove	%esi, %ebx
	cmove	%rdi, %r12
	xorl	%r9d, %r9d
	imull	$100000, %edx, %edx
	addl	%edx, %ecx
	movl	24(%rbp), %edx
	cmpl	24+ans(%rip), %edx
	setne	%r9b
	addl	%r9d, %eax
	testl	%edx, %edx
	cmove	%r8d, %ebx
	cmove	%rsi, %r12
	xorl	%r8d, %r8d
	imull	$1000000, %edx, %edx
	addl	%ecx, %edx
	movl	28(%rbp), %ecx
	cmpl	28+ans(%rip), %ecx
	setne	%r8b
	addl	%r8d, %eax
	testl	%ecx, %ecx
	cmove	%edi, %ebx
	cmove	%rsi, %r12
	imull	$10000000, %ecx, %ecx
	addl	%edx, %ecx
	movl	32(%rbp), %edx
	cmpl	%edx, 32+ans(%rip)
	je	.L19
	addl	$1, %eax
	testl	%edx, %edx
	jne	.L22
	movd	%r13d, %xmm0
	movd	%ecx, %xmm2
	movl	$2, %ebx
	movl	min(%rip), %edx
	punpckldq	%xmm2, %xmm0
	movl	$2, %r12d
.L23:
	cmpl	%edx, %r13d
	jg	.L5
	movslq	%ecx, %rdx
	movl	%ecx, %esi
	leaq	h(%rip), %r9
	movl	%ecx, %r8d
	imulq	$1551266485, %rdx, %rax
	sarl	$31, %esi
	imulq	$-1192425777, %rdx, %rdx
	sarq	$49, %rax
	shrq	$32, %rdx
	subl	%esi, %eax
	addl	%ecx, %edx
	imull	$362897, %eax, %edi
	movl	%ecx, %eax
	sarl	$18, %edx
	subl	%esi, %edx
	imull	$362896, %edx, %edx
	subl	%edi, %eax
	movslq	%eax, %rdi
	movl	4(%r9,%rdi,8), %esi
	subl	%edx, %r8d
	addl	$1, %r8d
	leal	(%r8,%rax), %edx
	testl	%esi, %esi
	jne	.L30
	jmp	.L29
	.p2align 4,,10
	.p2align 3
.L28:
	movslq	%edx, %rax
	movl	%edx, %esi
	imulq	$1551266485, %rax, %rax
	sarl	$31, %esi
	sarq	$49, %rax
	subl	%esi, %eax
	imull	$362897, %eax, %esi
	movl	%edx, %eax
	addl	%r8d, %edx
	subl	%esi, %eax
	movslq	%eax, %rdi
	movl	4(%r9,%rdi,8), %esi
	testl	%esi, %esi
	je	.L29
.L30:
	cmpl	%ecx, %esi
	jne	.L28
	cmpl	%r13d, (%r9,%rdi,8)
	jle	.L5
	movl	%r13d, (%r9,%rdi,8)
	jmp	.L27
	.p2align 4,,10
	.p2align 3
.L19:
	testl	%edx, %edx
	cmove	%esi, %ebx
	cmove	%rsi, %r12
.L22:
	movd	%r13d, %xmm0
	imull	$100000000, %edx, %edx
	addl	%edx, %ecx
	movl	min(%rip), %edx
	movd	%ecx, %xmm1
	punpckldq	%xmm1, %xmm0
	testl	%eax, %eax
	jne	.L23
	cmpl	%edx, %r13d
	jle	.L53
	.p2align 4,,10
	.p2align 3
.L5:
	movq	40(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L54
	addq	$56, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	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
	.p2align 4,,10
	.p2align 3
.L29:
	.cfi_restore_state
	movq	%xmm0, (%r9,%rdi,8)
.L27:
	leal	-1(%r12), %eax
	cmpl	$1, %eax
	jbe	.L55
.L31:
	leal	-1(%rbx), %eax
	cmpl	$1, %eax
	jbe	.L56
.L32:
	cmpl	$2, %r12d
	jne	.L57
.L33:
	cmpl	$2, %ebx
	je	.L5
	movl	32(%rbp), %eax
	movdqu	0(%rbp), %xmm4
	leaq	(%r12,%r12,2), %rdx
	leal	1(%r13), %esi
	movdqu	16(%rbp), %xmm5
	movq	%rsp, %rdi
	movl	%eax, 32(%rsp)
	movslq	%ebx, %rax
	addq	%rdx, %rax
	movaps	%xmm4, (%rsp)
	movaps	%xmm5, 16(%rsp)
	rolq	$32, (%rsp,%rax,4)
	call	dfs
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L53:
	movl	%r13d, min(%rip)
	jmp	.L5
.L55:
	movl	32(%rbp), %edx
	cltq
	movslq	%ebx, %rcx
	movdqu	0(%rbp), %xmm3
	movdqu	16(%rbp), %xmm4
	leaq	(%rax,%rax,2), %rax
	movq	%rsp, %rdi
	movl	%edx, 32(%rsp)
	movslq	%r12d, %rdx
	addq	%rcx, %rax
	leaq	(%rdx,%rdx,2), %rdx
	movaps	%xmm3, (%rsp)
	addq	%rcx, %rdx
	movaps	%xmm4, 16(%rsp)
	movl	(%rsp,%rax,4), %ecx
	movl	(%rsp,%rdx,4), %esi
	movl	%ecx, (%rsp,%rdx,4)
	movl	%esi, (%rsp,%rax,4)
	leal	1(%r13), %esi
	call	dfs
	jmp	.L31
.L57:
	movl	32(%rbp), %eax
	movslq	%ebx, %rcx
	movdqu	0(%rbp), %xmm7
	movq	%rsp, %rdi
	movdqu	16(%rbp), %xmm3
	movl	%eax, 32(%rsp)
	movslq	%r12d, %rax
	leaq	(%rax,%rax,2), %rdx
	leal	1(%r12), %eax
	movaps	%xmm7, (%rsp)
	cltq
	addq	%rcx, %rdx
	movaps	%xmm3, 16(%rsp)
	leaq	(%rax,%rax,2), %rax
	movl	(%rsp,%rdx,4), %esi
	addq	%rcx, %rax
	movl	(%rsp,%rax,4), %ecx
	movl	%ecx, (%rsp,%rdx,4)
	movl	%esi, (%rsp,%rax,4)
	leal	1(%r13), %esi
	call	dfs
	jmp	.L33
.L56:
	movl	32(%rbp), %edx
	movslq	%r12d, %rcx
	movdqu	0(%rbp), %xmm5
	cltq
	leaq	(%rcx,%rcx,2), %rcx
	movdqu	16(%rbp), %xmm6
	movq	%rsp, %rdi
	leal	1(%r13), %esi
	movl	%edx, 32(%rsp)
	movslq	%ebx, %rdx
	addq	%rcx, %rax
	addq	%rcx, %rdx
	movaps	%xmm5, (%rsp)
	movaps	%xmm6, 16(%rsp)
	movq	-4(%rsp,%rdx,4), %xmm0
	pshufd	$225, %xmm0, %xmm0
	movq	%xmm0, (%rsp,%rax,4)
	call	dfs
	jmp	.L32
.L54:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE38:
	.size	dfs, .-dfs
	.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:
.LFB39:
	.cfi_startproc
	endbr64
	pushq	%r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	pushq	%r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	pushq	%rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	leaq	.LC0(%rip), %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	subq	$56, %rsp
	.cfi_def_cfa_offset 96
	movq	%fs:40, %rax
	movq	%rax, 40(%rsp)
	xorl	%eax, %eax
	movq	%rsp, %r13
	leaq	36(%rsp), %r12
	movq	%r13, %rbx
.L59:
	movq	%rbx, %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	leaq	4(%rbx), %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	leaq	8(%rbx), %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	addq	$12, %rbx
	cmpq	%rbx, %r12
	jne	.L59
	xorl	%esi, %esi
	movq	%r13, %rdi
	call	dfs
	movl	min(%rip), %edx
	xorl	%eax, %eax
	leaq	.LC1(%rip), %rsi
	movl	$1, %edi
	call	__printf_chk@PLT
	movq	40(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L63
	addq	$56, %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
.L63:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE39:
	.size	main, .-main
	.globl	h
	.bss
	.align 32
	.type	h, @object
	.size	h, 2903176
h:
	.zero	2903176
	.globl	min
	.data
	.align 4
	.type	min, @object
	.size	min, 4
min:
	.long	32
	.globl	ans
	.align 32
	.type	ans, @object
	.size	ans, 36
ans:
	.long	1
	.long	2
	.long	3
	.long	4
	.long	5
	.long	6
	.long	7
	.long	8
	.long	0
	.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<string.h>
 
#define N 3
#define LIM 32
#define HN 362897
 
struct dep{
    int depth,key;
};
 
int ans[N][N]={
    {1,2,3},
    {4,5,6},
    {7,8,0}};
 
int min = LIM;
struct dep h[HN];
 
int hash1(int k){
    return k % HN;
}
int hash2(int k){
    return 1 + k%(HN-1);
}
int hash(int k, int i){
    return (hash1(k) + i*hash2(k))%HN;
}
 
 
void dfs(int p[N][N], int n){
    int i,j,i0,j0,a=0,b=1;
    int f=0;
    int tmp[N][N];
    //printf("A\n");
    for(i=0;i<N;i++)
    {
        for(j=0;j<N;j++)
        {
            if(ans[i][j]!=p[i][j])f++;
            if(p[i][j]==0)
            {
                i0=i;
                j0=j;
            }
            a+=p[i][j]*b;
            b*=10;
        }
    }
     
    if(f==0)
    {
        if(min>=n)
        {
            min=n;
        }
        return;
    }
    if(n>min) return;
    i=0;
    while(1)
    {
        b=hash(a, i);
        if(h[b].key == 0)
        {
            h[b].key=a;
            h[b].depth=n;
            break;
        }
        else if(h[b].key == a)
        {
            if(h[b].depth>n)
            {
                h[b].depth=n;
                break;
            }
            else return;
        }
        i++;
    }
     
    if(i0>0 && i0<N)
    {
        memcpy(tmp,p,sizeof(int)*N*N);
        f=tmp[i0][j0];
        tmp[i0][j0]=tmp[i0-1][j0];
        tmp[i0-1][j0]=f;
        dfs(tmp, n+1);
    }
    if(j0>0 && j0<N)
    {
        memcpy(tmp,p,sizeof(int)*N*N);
        f=tmp[i0][j0];
        tmp[i0][j0]=tmp[i0][j0-1];
        tmp[i0][j0-1]=f;
        dfs(tmp, n+1);
    }
     
    if(i0>=0 && i0<N-1)
    {
        memcpy(tmp,p,sizeof(int)*N*N);
        f=tmp[i0][j0];
        tmp[i0][j0]=tmp[i0+1][j0];
        tmp[i0+1][j0]=f;
        dfs(tmp, n+1);
    }
    if(j0>=0 && j0<N-1)
    {
        memcpy(tmp,p,sizeof(int)*N*N);
        f=tmp[i0][j0];
        tmp[i0][j0]=tmp[i0][j0+1];
        tmp[i0][j0+1]=f;
        dfs(tmp, n+1);
    }
     
}
 
int main(){
    int i,j;
    int p[N][N];
     
    for(i=0;i<N;i++){
        for(j=0;j<N;j++){
            scanf("%d",&p[i][j]);
        }
    }
    dfs(p,0);
     
    printf("%d\n",min);
     
    return 0;
}
1 4 0
5 2 3
7 8 6

14

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<string.h>
 
#define N 3
#define LIM 32
#define HN 362897
 
struct dep{
    int depth,key;
};
 
int ans[N][N]={
    {1,2,3},
    {4,5,6},
    {7,8,0}};
 
int min = LIM;
struct dep h[HN];
 
int hash1(int k){
    return k % HN;
}
int hash2(int k){
    return 1 + k%(HN-1);
}
int hash(int k, int i){
    return (hash1(k) + i*hash2(k))%HN;
}
 
 
void dfs(int p[N][N], int n){
    int i,j,i0,j0,a=0,b=1;
    int f=0;
    int tmp[N][N];
    //printf("A\n");
    for(i=0;i<N;i++)
    {
        for(j=0;j<N;j++)
        {
            if(ans[i][j]!=p[i][j])f++;
            if(p[i][j]==0)
            {
                i0=i;
                j0=j;
            }
            a+=p[i][j]*b;
            b*=10;
        }
    }
     
    if(f==0)
    {
        if(min>=n)
        {
            min=n;
        }
        return;
    }
    if(n>min) return;
    i=0;
    while(1)
    {
        b=hash(a, i);
        if(h[b].key == 0)
        {
            h[b].key=a;
            h[b].depth=n;
            break;
        }
        else if(h[b].key == a)
        {
            if(h[b].depth>n)
            {
                h[b].depth=n;
                break;
            }
            else return;
        }
        i++;
    }
     
    if(i0>0 && i0<N)
    {
        memcpy(tmp,p,sizeof(int)*N*N);
        f=tmp[i0][j0];
        tmp[i0][j0]=tmp[i0-1][j0];
        tmp[i0-1][j0]=f;
        dfs(tmp, n+1);
    }
    if(j0>0 && j0<N)
    {
        memcpy(tmp,p,sizeof(int)*N*N);
        f=tmp[i0][j0];
        tmp[i0][j0]=tmp[i0][j0-1];
        tmp[i0][j0-1]=f;
        dfs(tmp, n+1);
    }
     
    if(i0>=0 && i0<N-1)
    {
        memcpy(tmp,p,sizeof(int)*N*N);
        f=tmp[i0][j0];
        tmp[i0][j0]=tmp[i0+1][j0];
        tmp[i0+1][j0]=f;
        dfs(tmp, n+1);
    }
    if(j0>=0 && j0<N-1)
    {
        memcpy(tmp,p,sizeof(int)*N*N);
        f=tmp[i0][j0];
        tmp[i0][j0]=tmp[i0][j0+1];
        tmp[i0][j0+1]=f;
        dfs(tmp, n+1);
    }
     
}
 
int main(){
    int i,j;
    int p[N][N];
     
    for(i=0;i<N;i++){
        for(j=0;j<N;j++){
            scanf("%d",&p[i][j]);
        }
    }
    dfs(p,0);
     
    printf("%d\n",min);
     
    return 0;
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.globl	ans
	.data
	.align 32
	.type	ans, @object
	.size	ans, 36
ans:
	.long	1
	.long	2
	.long	3
	.long	4
	.long	5
	.long	6
	.long	7
	.long	8
	.long	0
	.globl	min
	.align 4
	.type	min, @object
	.size	min, 4
min:
	.long	32
	.globl	h
	.bss
	.align 32
	.type	h, @object
	.size	h, 2903176
h:
	.zero	2903176
	.text
	.globl	hash1
	.type	hash1, @function
hash1:
.LFB0:
	.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	-4(%rbp), %eax
	movslq	%eax, %rdx
	imulq	$1551266485, %rdx, %rdx
	shrq	$32, %rdx
	sarl	$17, %edx
	movl	%eax, %ecx
	sarl	$31, %ecx
	subl	%ecx, %edx
	imull	$362897, %edx, %ecx
	subl	%ecx, %eax
	movl	%eax, %edx
	movl	%edx, %eax
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	hash1, .-hash1
	.globl	hash2
	.type	hash2, @function
hash2:
.LFB1:
	.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	-4(%rbp), %eax
	movslq	%eax, %rdx
	imulq	$-1192425777, %rdx, %rdx
	shrq	$32, %rdx
	addl	%eax, %edx
	sarl	$18, %edx
	movl	%eax, %ecx
	sarl	$31, %ecx
	subl	%ecx, %edx
	imull	$362896, %edx, %ecx
	subl	%ecx, %eax
	movl	%eax, %edx
	leal	1(%rdx), %eax
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	hash2, .-hash2
	.globl	hash
	.type	hash, @function
hash:
.LFB2:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	pushq	%rbx
	subq	$8, %rsp
	.cfi_offset 3, -24
	movl	%edi, -12(%rbp)
	movl	%esi, -16(%rbp)
	movl	-12(%rbp), %eax
	movl	%eax, %edi
	call	hash1
	movl	%eax, %ebx
	movl	-12(%rbp), %eax
	movl	%eax, %edi
	call	hash2
	imull	-16(%rbp), %eax
	leal	(%rbx,%rax), %edx
	movslq	%edx, %rax
	imulq	$1551266485, %rax, %rax
	shrq	$32, %rax
	sarl	$17, %eax
	movl	%edx, %ecx
	sarl	$31, %ecx
	subl	%ecx, %eax
	imull	$362897, %eax, %ecx
	movl	%edx, %eax
	subl	%ecx, %eax
	movq	-8(%rbp), %rbx
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	hash, .-hash
	.globl	dfs
	.type	dfs, @function
dfs:
.LFB3:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$96, %rsp
	movq	%rdi, -88(%rbp)
	movl	%esi, -92(%rbp)
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movl	$0, -60(%rbp)
	movl	$1, -56(%rbp)
	movl	$0, -52(%rbp)
	movl	$0, -76(%rbp)
	jmp	.L8
.L13:
	movl	$0, -72(%rbp)
	jmp	.L9
.L12:
	movl	-72(%rbp), %eax
	movslq	%eax, %rcx
	movl	-76(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	addq	%rcx, %rax
	leaq	0(,%rax,4), %rdx
	leaq	ans(%rip), %rax
	movl	(%rdx,%rax), %ecx
	movl	-76(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	movq	%rax, %rdx
	movq	-88(%rbp), %rax
	addq	%rax, %rdx
	movl	-72(%rbp), %eax
	cltq
	movl	(%rdx,%rax,4), %eax
	cmpl	%eax, %ecx
	je	.L10
	addl	$1, -52(%rbp)
.L10:
	movl	-76(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	movq	%rax, %rdx
	movq	-88(%rbp), %rax
	addq	%rax, %rdx
	movl	-72(%rbp), %eax
	cltq
	movl	(%rdx,%rax,4), %eax
	testl	%eax, %eax
	jne	.L11
	movl	-76(%rbp), %eax
	movl	%eax, -68(%rbp)
	movl	-72(%rbp), %eax
	movl	%eax, -64(%rbp)
.L11:
	movl	-76(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	movq	%rax, %rdx
	movq	-88(%rbp), %rax
	addq	%rax, %rdx
	movl	-72(%rbp), %eax
	cltq
	movl	(%rdx,%rax,4), %eax
	imull	-56(%rbp), %eax
	addl	%eax, -60(%rbp)
	movl	-56(%rbp), %edx
	movl	%edx, %eax
	sall	$2, %eax
	addl	%edx, %eax
	addl	%eax, %eax
	movl	%eax, -56(%rbp)
	addl	$1, -72(%rbp)
.L9:
	cmpl	$2, -72(%rbp)
	jle	.L12
	addl	$1, -76(%rbp)
.L8:
	cmpl	$2, -76(%rbp)
	jle	.L13
	cmpl	$0, -52(%rbp)
	jne	.L14
	movl	min(%rip), %eax
	cmpl	%eax, -92(%rbp)
	jg	.L29
	movl	-92(%rbp), %eax
	movl	%eax, min(%rip)
	jmp	.L29
.L14:
	movl	min(%rip), %eax
	cmpl	%eax, -92(%rbp)
	jg	.L30
	movl	$0, -76(%rbp)
.L22:
	movl	-76(%rbp), %edx
	movl	-60(%rbp), %eax
	movl	%edx, %esi
	movl	%eax, %edi
	call	hash
	movl	%eax, -56(%rbp)
	movl	-56(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rdx
	leaq	4+h(%rip), %rax
	movl	(%rdx,%rax), %eax
	testl	%eax, %eax
	jne	.L18
	movl	-56(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rcx
	leaq	4+h(%rip), %rdx
	movl	-60(%rbp), %eax
	movl	%eax, (%rcx,%rdx)
	movl	-56(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rcx
	leaq	h(%rip), %rdx
	movl	-92(%rbp), %eax
	movl	%eax, (%rcx,%rdx)
	jmp	.L19
.L18:
	movl	-56(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rdx
	leaq	4+h(%rip), %rax
	movl	(%rdx,%rax), %eax
	cmpl	%eax, -60(%rbp)
	jne	.L20
	movl	-56(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rdx
	leaq	h(%rip), %rax
	movl	(%rdx,%rax), %eax
	cmpl	%eax, -92(%rbp)
	jge	.L31
	movl	-56(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rcx
	leaq	h(%rip), %rdx
	movl	-92(%rbp), %eax
	movl	%eax, (%rcx,%rdx)
	jmp	.L19
.L20:
	addl	$1, -76(%rbp)
	jmp	.L22
.L19:
	cmpl	$0, -68(%rbp)
	jle	.L23
	cmpl	$2, -68(%rbp)
	jg	.L23
	movq	-88(%rbp), %rcx
	leaq	-48(%rbp), %rax
	movl	$36, %edx
	movq	%rcx, %rsi
	movq	%rax, %rdi
	call	memcpy@PLT
	movl	-64(%rbp), %eax
	movslq	%eax, %rcx
	movl	-68(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	addq	%rcx, %rax
	movl	-48(%rbp,%rax,4), %eax
	movl	%eax, -52(%rbp)
	movl	-68(%rbp), %eax
	leal	-1(%rax), %edx
	movl	-64(%rbp), %eax
	movslq	%eax, %rcx
	movslq	%edx, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	addq	%rcx, %rax
	movl	-48(%rbp,%rax,4), %edx
	movl	-64(%rbp), %eax
	movslq	%eax, %rsi
	movl	-68(%rbp), %eax
	movslq	%eax, %rcx
	movq	%rcx, %rax
	addq	%rax, %rax
	addq	%rcx, %rax
	addq	%rsi, %rax
	movl	%edx, -48(%rbp,%rax,4)
	movl	-68(%rbp), %eax
	leal	-1(%rax), %edx
	movl	-64(%rbp), %eax
	movslq	%eax, %rcx
	movslq	%edx, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	leaq	(%rax,%rcx), %rdx
	movl	-52(%rbp), %eax
	movl	%eax, -48(%rbp,%rdx,4)
	movl	-92(%rbp), %eax
	leal	1(%rax), %edx
	leaq	-48(%rbp), %rax
	movl	%edx, %esi
	movq	%rax, %rdi
	call	dfs
.L23:
	cmpl	$0, -64(%rbp)
	jle	.L24
	cmpl	$2, -64(%rbp)
	jg	.L24
	movq	-88(%rbp), %rcx
	leaq	-48(%rbp), %rax
	movl	$36, %edx
	movq	%rcx, %rsi
	movq	%rax, %rdi
	call	memcpy@PLT
	movl	-64(%rbp), %eax
	movslq	%eax, %rcx
	movl	-68(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	addq	%rcx, %rax
	movl	-48(%rbp,%rax,4), %eax
	movl	%eax, -52(%rbp)
	movl	-64(%rbp), %eax
	subl	$1, %eax
	movslq	%eax, %rcx
	movl	-68(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	addq	%rcx, %rax
	movl	-48(%rbp,%rax,4), %edx
	movl	-64(%rbp), %eax
	movslq	%eax, %rsi
	movl	-68(%rbp), %eax
	movslq	%eax, %rcx
	movq	%rcx, %rax
	addq	%rax, %rax
	addq	%rcx, %rax
	addq	%rsi, %rax
	movl	%edx, -48(%rbp,%rax,4)
	movl	-64(%rbp), %eax
	subl	$1, %eax
	movslq	%eax, %rcx
	movl	-68(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	leaq	(%rax,%rcx), %rdx
	movl	-52(%rbp), %eax
	movl	%eax, -48(%rbp,%rdx,4)
	movl	-92(%rbp), %eax
	leal	1(%rax), %edx
	leaq	-48(%rbp), %rax
	movl	%edx, %esi
	movq	%rax, %rdi
	call	dfs
.L24:
	cmpl	$0, -68(%rbp)
	js	.L25
	cmpl	$1, -68(%rbp)
	jg	.L25
	movq	-88(%rbp), %rcx
	leaq	-48(%rbp), %rax
	movl	$36, %edx
	movq	%rcx, %rsi
	movq	%rax, %rdi
	call	memcpy@PLT
	movl	-64(%rbp), %eax
	movslq	%eax, %rcx
	movl	-68(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	addq	%rcx, %rax
	movl	-48(%rbp,%rax,4), %eax
	movl	%eax, -52(%rbp)
	movl	-68(%rbp), %eax
	leal	1(%rax), %edx
	movl	-64(%rbp), %eax
	movslq	%eax, %rcx
	movslq	%edx, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	addq	%rcx, %rax
	movl	-48(%rbp,%rax,4), %edx
	movl	-64(%rbp), %eax
	movslq	%eax, %rsi
	movl	-68(%rbp), %eax
	movslq	%eax, %rcx
	movq	%rcx, %rax
	addq	%rax, %rax
	addq	%rcx, %rax
	addq	%rsi, %rax
	movl	%edx, -48(%rbp,%rax,4)
	movl	-68(%rbp), %eax
	leal	1(%rax), %edx
	movl	-64(%rbp), %eax
	movslq	%eax, %rcx
	movslq	%edx, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	leaq	(%rax,%rcx), %rdx
	movl	-52(%rbp), %eax
	movl	%eax, -48(%rbp,%rdx,4)
	movl	-92(%rbp), %eax
	leal	1(%rax), %edx
	leaq	-48(%rbp), %rax
	movl	%edx, %esi
	movq	%rax, %rdi
	call	dfs
.L25:
	cmpl	$0, -64(%rbp)
	js	.L7
	cmpl	$1, -64(%rbp)
	jg	.L7
	movq	-88(%rbp), %rcx
	leaq	-48(%rbp), %rax
	movl	$36, %edx
	movq	%rcx, %rsi
	movq	%rax, %rdi
	call	memcpy@PLT
	movl	-64(%rbp), %eax
	movslq	%eax, %rcx
	movl	-68(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	addq	%rcx, %rax
	movl	-48(%rbp,%rax,4), %eax
	movl	%eax, -52(%rbp)
	movl	-64(%rbp), %eax
	addl	$1, %eax
	movslq	%eax, %rcx
	movl	-68(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	addq	%rcx, %rax
	movl	-48(%rbp,%rax,4), %edx
	movl	-64(%rbp), %eax
	movslq	%eax, %rsi
	movl	-68(%rbp), %eax
	movslq	%eax, %rcx
	movq	%rcx, %rax
	addq	%rax, %rax
	addq	%rcx, %rax
	addq	%rsi, %rax
	movl	%edx, -48(%rbp,%rax,4)
	movl	-64(%rbp), %eax
	addl	$1, %eax
	movslq	%eax, %rcx
	movl	-68(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	leaq	(%rax,%rcx), %rdx
	movl	-52(%rbp), %eax
	movl	%eax, -48(%rbp,%rdx,4)
	movl	-92(%rbp), %eax
	leal	1(%rax), %edx
	leaq	-48(%rbp), %rax
	movl	%edx, %esi
	movq	%rax, %rdi
	call	dfs
	jmp	.L7
.L29:
	nop
	jmp	.L7
.L30:
	nop
	jmp	.L7
.L31:
	nop
.L7:
	movq	-8(%rbp), %rax
	subq	%fs:40, %rax
	je	.L28
	call	__stack_chk_fail@PLT
.L28:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	dfs, .-dfs
	.section	.rodata
.LC0:
	.string	"%d"
.LC1:
	.string	"%d\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB4:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$64, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movl	$0, -56(%rbp)
	jmp	.L33
.L36:
	movl	$0, -52(%rbp)
	jmp	.L34
.L35:
	leaq	-48(%rbp), %rcx
	movl	-52(%rbp), %eax
	movslq	%eax, %rsi
	movl	-56(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	addq	%rsi, %rax
	salq	$2, %rax
	addq	%rcx, %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addl	$1, -52(%rbp)
.L34:
	cmpl	$2, -52(%rbp)
	jle	.L35
	addl	$1, -56(%rbp)
.L33:
	cmpl	$2, -56(%rbp)
	jle	.L36
	leaq	-48(%rbp), %rax
	movl	$0, %esi
	movq	%rax, %rdi
	call	dfs
	movl	min(%rip), %eax
	movl	%eax, %esi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L38
	call	__stack_chk_fail@PLT
.L38:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE4:
	.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	ans
	.data
	.align 32
	.type	ans, @object
	.size	ans, 36
ans:
	.long	1
	.long	2
	.long	3
	.long	4
	.long	5
	.long	6
	.long	7
	.long	8
	.long	0
	.globl	min
	.align 4
	.type	min, @object
	.size	min, 4
min:
	.long	32
	.globl	h
	.bss
	.align 32
	.type	h, @object
	.size	h, 2903176
h:
	.zero	2903176
	.text
	.globl	hash1
	.type	hash1, @function
hash1:
.LFB0:
	.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	-4(%rbp), %eax
	movslq	%eax, %rdx
	imulq	$1551266485, %rdx, %rdx
	shrq	$32, %rdx
	sarl	$17, %edx
	movl	%eax, %ecx
	sarl	$31, %ecx
	subl	%ecx, %edx
	imull	$362897, %edx, %ecx
	subl	%ecx, %eax
	movl	%eax, %edx
	movl	%edx, %eax
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	hash1, .-hash1
	.globl	hash2
	.type	hash2, @function
hash2:
.LFB1:
	.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	-4(%rbp), %eax
	movslq	%eax, %rdx
	imulq	$-1192425777, %rdx, %rdx
	shrq	$32, %rdx
	addl	%eax, %edx
	sarl	$18, %edx
	movl	%eax, %ecx
	sarl	$31, %ecx
	subl	%ecx, %edx
	imull	$362896, %edx, %ecx
	subl	%ecx, %eax
	movl	%eax, %edx
	leal	1(%rdx), %eax
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	hash2, .-hash2
	.globl	hash
	.type	hash, @function
hash:
.LFB2:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	pushq	%rbx
	subq	$8, %rsp
	.cfi_offset 3, -24
	movl	%edi, -12(%rbp)
	movl	%esi, -16(%rbp)
	movl	-12(%rbp), %eax
	movl	%eax, %edi
	call	hash1
	movl	%eax, %ebx
	movl	-12(%rbp), %eax
	movl	%eax, %edi
	call	hash2
	imull	-16(%rbp), %eax
	leal	(%rbx,%rax), %edx
	movslq	%edx, %rax
	imulq	$1551266485, %rax, %rax
	shrq	$32, %rax
	sarl	$17, %eax
	movl	%edx, %ecx
	sarl	$31, %ecx
	subl	%ecx, %eax
	imull	$362897, %eax, %ecx
	movl	%edx, %eax
	subl	%ecx, %eax
	movq	-8(%rbp), %rbx
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	hash, .-hash
	.globl	dfs
	.type	dfs, @function
dfs:
.LFB3:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$96, %rsp
	movq	%rdi, -88(%rbp)
	movl	%esi, -92(%rbp)
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movl	$0, -60(%rbp)
	movl	$1, -56(%rbp)
	movl	$0, -52(%rbp)
	movl	$0, -76(%rbp)
	jmp	.L8
.L13:
	movl	$0, -72(%rbp)
	jmp	.L9
.L12:
	movl	-72(%rbp), %eax
	movslq	%eax, %rcx
	movl	-76(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	addq	%rcx, %rax
	leaq	0(,%rax,4), %rdx
	leaq	ans(%rip), %rax
	movl	(%rdx,%rax), %ecx
	movl	-76(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	movq	%rax, %rdx
	movq	-88(%rbp), %rax
	addq	%rax, %rdx
	movl	-72(%rbp), %eax
	cltq
	movl	(%rdx,%rax,4), %eax
	cmpl	%eax, %ecx
	je	.L10
	addl	$1, -52(%rbp)
.L10:
	movl	-76(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	movq	%rax, %rdx
	movq	-88(%rbp), %rax
	addq	%rax, %rdx
	movl	-72(%rbp), %eax
	cltq
	movl	(%rdx,%rax,4), %eax
	testl	%eax, %eax
	jne	.L11
	movl	-76(%rbp), %eax
	movl	%eax, -68(%rbp)
	movl	-72(%rbp), %eax
	movl	%eax, -64(%rbp)
.L11:
	movl	-76(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	movq	%rax, %rdx
	movq	-88(%rbp), %rax
	addq	%rax, %rdx
	movl	-72(%rbp), %eax
	cltq
	movl	(%rdx,%rax,4), %eax
	imull	-56(%rbp), %eax
	addl	%eax, -60(%rbp)
	movl	-56(%rbp), %edx
	movl	%edx, %eax
	sall	$2, %eax
	addl	%edx, %eax
	addl	%eax, %eax
	movl	%eax, -56(%rbp)
	addl	$1, -72(%rbp)
.L9:
	cmpl	$2, -72(%rbp)
	jle	.L12
	addl	$1, -76(%rbp)
.L8:
	cmpl	$2, -76(%rbp)
	jle	.L13
	cmpl	$0, -52(%rbp)
	jne	.L14
	movl	min(%rip), %eax
	cmpl	%eax, -92(%rbp)
	jg	.L29
	movl	-92(%rbp), %eax
	movl	%eax, min(%rip)
	jmp	.L29
.L14:
	movl	min(%rip), %eax
	cmpl	%eax, -92(%rbp)
	jg	.L30
	movl	$0, -76(%rbp)
.L22:
	movl	-76(%rbp), %edx
	movl	-60(%rbp), %eax
	movl	%edx, %esi
	movl	%eax, %edi
	call	hash
	movl	%eax, -56(%rbp)
	movl	-56(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rdx
	leaq	4+h(%rip), %rax
	movl	(%rdx,%rax), %eax
	testl	%eax, %eax
	jne	.L18
	movl	-56(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rcx
	leaq	4+h(%rip), %rdx
	movl	-60(%rbp), %eax
	movl	%eax, (%rcx,%rdx)
	movl	-56(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rcx
	leaq	h(%rip), %rdx
	movl	-92(%rbp), %eax
	movl	%eax, (%rcx,%rdx)
	jmp	.L19
.L18:
	movl	-56(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rdx
	leaq	4+h(%rip), %rax
	movl	(%rdx,%rax), %eax
	cmpl	%eax, -60(%rbp)
	jne	.L20
	movl	-56(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rdx
	leaq	h(%rip), %rax
	movl	(%rdx,%rax), %eax
	cmpl	%eax, -92(%rbp)
	jge	.L31
	movl	-56(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rcx
	leaq	h(%rip), %rdx
	movl	-92(%rbp), %eax
	movl	%eax, (%rcx,%rdx)
	jmp	.L19
.L20:
	addl	$1, -76(%rbp)
	jmp	.L22
.L19:
	cmpl	$0, -68(%rbp)
	jle	.L23
	cmpl	$2, -68(%rbp)
	jg	.L23
	movq	-88(%rbp), %rcx
	leaq	-48(%rbp), %rax
	movl	$36, %edx
	movq	%rcx, %rsi
	movq	%rax, %rdi
	call	memcpy@PLT
	movl	-64(%rbp), %eax
	movslq	%eax, %rcx
	movl	-68(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	addq	%rcx, %rax
	movl	-48(%rbp,%rax,4), %eax
	movl	%eax, -52(%rbp)
	movl	-68(%rbp), %eax
	leal	-1(%rax), %edx
	movl	-64(%rbp), %eax
	movslq	%eax, %rcx
	movslq	%edx, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	addq	%rcx, %rax
	movl	-48(%rbp,%rax,4), %edx
	movl	-64(%rbp), %eax
	movslq	%eax, %rsi
	movl	-68(%rbp), %eax
	movslq	%eax, %rcx
	movq	%rcx, %rax
	addq	%rax, %rax
	addq	%rcx, %rax
	addq	%rsi, %rax
	movl	%edx, -48(%rbp,%rax,4)
	movl	-68(%rbp), %eax
	leal	-1(%rax), %edx
	movl	-64(%rbp), %eax
	movslq	%eax, %rcx
	movslq	%edx, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	leaq	(%rax,%rcx), %rdx
	movl	-52(%rbp), %eax
	movl	%eax, -48(%rbp,%rdx,4)
	movl	-92(%rbp), %eax
	leal	1(%rax), %edx
	leaq	-48(%rbp), %rax
	movl	%edx, %esi
	movq	%rax, %rdi
	call	dfs
.L23:
	cmpl	$0, -64(%rbp)
	jle	.L24
	cmpl	$2, -64(%rbp)
	jg	.L24
	movq	-88(%rbp), %rcx
	leaq	-48(%rbp), %rax
	movl	$36, %edx
	movq	%rcx, %rsi
	movq	%rax, %rdi
	call	memcpy@PLT
	movl	-64(%rbp), %eax
	movslq	%eax, %rcx
	movl	-68(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	addq	%rcx, %rax
	movl	-48(%rbp,%rax,4), %eax
	movl	%eax, -52(%rbp)
	movl	-64(%rbp), %eax
	subl	$1, %eax
	movslq	%eax, %rcx
	movl	-68(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	addq	%rcx, %rax
	movl	-48(%rbp,%rax,4), %edx
	movl	-64(%rbp), %eax
	movslq	%eax, %rsi
	movl	-68(%rbp), %eax
	movslq	%eax, %rcx
	movq	%rcx, %rax
	addq	%rax, %rax
	addq	%rcx, %rax
	addq	%rsi, %rax
	movl	%edx, -48(%rbp,%rax,4)
	movl	-64(%rbp), %eax
	subl	$1, %eax
	movslq	%eax, %rcx
	movl	-68(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	leaq	(%rax,%rcx), %rdx
	movl	-52(%rbp), %eax
	movl	%eax, -48(%rbp,%rdx,4)
	movl	-92(%rbp), %eax
	leal	1(%rax), %edx
	leaq	-48(%rbp), %rax
	movl	%edx, %esi
	movq	%rax, %rdi
	call	dfs
.L24:
	cmpl	$0, -68(%rbp)
	js	.L25
	cmpl	$1, -68(%rbp)
	jg	.L25
	movq	-88(%rbp), %rcx
	leaq	-48(%rbp), %rax
	movl	$36, %edx
	movq	%rcx, %rsi
	movq	%rax, %rdi
	call	memcpy@PLT
	movl	-64(%rbp), %eax
	movslq	%eax, %rcx
	movl	-68(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	addq	%rcx, %rax
	movl	-48(%rbp,%rax,4), %eax
	movl	%eax, -52(%rbp)
	movl	-68(%rbp), %eax
	leal	1(%rax), %edx
	movl	-64(%rbp), %eax
	movslq	%eax, %rcx
	movslq	%edx, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	addq	%rcx, %rax
	movl	-48(%rbp,%rax,4), %edx
	movl	-64(%rbp), %eax
	movslq	%eax, %rsi
	movl	-68(%rbp), %eax
	movslq	%eax, %rcx
	movq	%rcx, %rax
	addq	%rax, %rax
	addq	%rcx, %rax
	addq	%rsi, %rax
	movl	%edx, -48(%rbp,%rax,4)
	movl	-68(%rbp), %eax
	leal	1(%rax), %edx
	movl	-64(%rbp), %eax
	movslq	%eax, %rcx
	movslq	%edx, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	leaq	(%rax,%rcx), %rdx
	movl	-52(%rbp), %eax
	movl	%eax, -48(%rbp,%rdx,4)
	movl	-92(%rbp), %eax
	leal	1(%rax), %edx
	leaq	-48(%rbp), %rax
	movl	%edx, %esi
	movq	%rax, %rdi
	call	dfs
.L25:
	cmpl	$0, -64(%rbp)
	js	.L7
	cmpl	$1, -64(%rbp)
	jg	.L7
	movq	-88(%rbp), %rcx
	leaq	-48(%rbp), %rax
	movl	$36, %edx
	movq	%rcx, %rsi
	movq	%rax, %rdi
	call	memcpy@PLT
	movl	-64(%rbp), %eax
	movslq	%eax, %rcx
	movl	-68(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	addq	%rcx, %rax
	movl	-48(%rbp,%rax,4), %eax
	movl	%eax, -52(%rbp)
	movl	-64(%rbp), %eax
	addl	$1, %eax
	movslq	%eax, %rcx
	movl	-68(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	addq	%rcx, %rax
	movl	-48(%rbp,%rax,4), %edx
	movl	-64(%rbp), %eax
	movslq	%eax, %rsi
	movl	-68(%rbp), %eax
	movslq	%eax, %rcx
	movq	%rcx, %rax
	addq	%rax, %rax
	addq	%rcx, %rax
	addq	%rsi, %rax
	movl	%edx, -48(%rbp,%rax,4)
	movl	-64(%rbp), %eax
	addl	$1, %eax
	movslq	%eax, %rcx
	movl	-68(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	leaq	(%rax,%rcx), %rdx
	movl	-52(%rbp), %eax
	movl	%eax, -48(%rbp,%rdx,4)
	movl	-92(%rbp), %eax
	leal	1(%rax), %edx
	leaq	-48(%rbp), %rax
	movl	%edx, %esi
	movq	%rax, %rdi
	call	dfs
	jmp	.L7
.L29:
	nop
	jmp	.L7
.L30:
	nop
	jmp	.L7
.L31:
	nop
.L7:
	movq	-8(%rbp), %rax
	subq	%fs:40, %rax
	je	.L28
	call	__stack_chk_fail@PLT
.L28:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	dfs, .-dfs
	.section	.rodata
.LC0:
	.string	"%d"
.LC1:
	.string	"%d\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB4:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$64, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movl	$0, -56(%rbp)
	jmp	.L33
.L36:
	movl	$0, -52(%rbp)
	jmp	.L34
.L35:
	leaq	-48(%rbp), %rcx
	movl	-52(%rbp), %eax
	movslq	%eax, %rsi
	movl	-56(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	addq	%rsi, %rax
	salq	$2, %rax
	addq	%rcx, %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addl	$1, -52(%rbp)
.L34:
	cmpl	$2, -52(%rbp)
	jle	.L35
	addl	$1, -56(%rbp)
.L33:
	cmpl	$2, -56(%rbp)
	jle	.L36
	leaq	-48(%rbp), %rax
	movl	$0, %esi
	movq	%rax, %rdi
	call	dfs
	movl	min(%rip), %eax
	movl	%eax, %esi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L38
	call	__stack_chk_fail@PLT
.L38:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE4:
	.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:
