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>
#include<string.h>
#include<math.h>
typedef long long ll;

int hikaku(const void *n1,const void *n2)
{
    return *(int*)n2-*(int*)n1;
}


int main()
{
    int n,z=0;
    ll x=0,y=0;
    scanf("%d",&n);
    ll a[n];
    for(int i=0;i<n;i++)
    {
        scanf("%lld",&a[i]);
    }
    
    qsort(a,n,sizeof(ll),hikaku);

    for(int i=0;i<n;i++)
    {
        if(a[i+1]==a[i])
        {
            if(z==1)
            {
                y=a[i];
                z=2;
                break;
            }
            if(z==0)
            {
                x=a[i];
                i=i+1;
                z=1;
            }

        }
    }

    printf("%lld\n",x*y);


    return 0;
}```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.p2align 4
	.globl	hikaku
	.type	hikaku, @function
hikaku:
.LFB51:
	.cfi_startproc
	endbr64
	movl	(%rsi), %eax
	subl	(%rdi), %eax
	ret
	.cfi_endproc
.LFE51:
	.size	hikaku, .-hikaku
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d"
.LC1:
	.string	"%lld"
.LC2:
	.string	"%lld\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB52:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	leaq	.LC0(%rip), %rdi
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	pushq	%r14
	pushq	%r13
	leaq	-44(%rbp), %rsi
	pushq	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset 14, -24
	.cfi_offset 13, -32
	.cfi_offset 12, -40
	.cfi_offset 3, -48
	movq	%fs:40, %rax
	movq	%rax, -40(%rbp)
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movslq	-44(%rbp), %rsi
	movq	%rsp, %rdi
	leaq	15(,%rsi,8), %rdx
	movq	%rsi, %rax
	movq	%rdx, %rcx
	andq	$-4096, %rdx
	subq	%rdx, %rdi
	andq	$-16, %rcx
	cmpq	%rdi, %rsp
	je	.L5
.L22:
	subq	$4096, %rsp
	orq	$0, 4088(%rsp)
	cmpq	%rdi, %rsp
	jne	.L22
.L5:
	andl	$4095, %ecx
	subq	%rcx, %rsp
	testq	%rcx, %rcx
	jne	.L23
.L6:
	movq	%rsp, %rbx
	testl	%eax, %eax
	jle	.L7
	movq	%rbx, %r13
	xorl	%r12d, %r12d
	leaq	.LC1(%rip), %r14
	.p2align 4,,10
	.p2align 3
.L8:
	movq	%r13, %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	addl	$1, %r12d
	call	__isoc99_scanf@PLT
	movl	-44(%rbp), %eax
	addq	$8, %r13
	cmpl	%r12d, %eax
	jg	.L8
	movslq	%eax, %rsi
.L7:
	movq	%rbx, %rdi
	leaq	hikaku(%rip), %rcx
	movl	$8, %edx
	call	qsort@PLT
	movl	-44(%rbp), %edi
	testl	%edi, %edi
	jle	.L14
	xorl	%eax, %eax
	xorl	%r9d, %r9d
	xorl	%r8d, %r8d
	jmp	.L12
	.p2align 4,,10
	.p2align 3
.L15:
	movl	%ecx, %eax
	cmpl	%edi, %eax
	jge	.L14
.L12:
	leal	1(%rax), %ecx
	movslq	%eax, %rdx
	movslq	%ecx, %rsi
	movq	(%rbx,%rdx,8), %rdx
	cmpq	%rdx, (%rbx,%rsi,8)
	jne	.L15
	cmpl	$1, %r8d
	je	.L24
	addl	$2, %eax
	movq	%rdx, %r9
	movl	$1, %r8d
	cmpl	%edi, %eax
	jl	.L12
.L14:
	xorl	%edx, %edx
.L9:
	xorl	%eax, %eax
	leaq	.LC2(%rip), %rsi
	movl	$1, %edi
	call	__printf_chk@PLT
	movq	-40(%rbp), %rax
	subq	%fs:40, %rax
	jne	.L25
	leaq	-32(%rbp), %rsp
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%rbp
	.cfi_remember_state
	.cfi_def_cfa 7, 8
	ret
.L24:
	.cfi_restore_state
	imulq	%r9, %rdx
	jmp	.L9
.L23:
	orq	$0, -8(%rsp,%rcx)
	jmp	.L6
.L25:
	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:
```

Only output the optimized assembly code. Do not include any other text. Do not write any comments in the assembly code. Wrap the assembly code in ```assembly``` tags.
Optimized Assembly Code:

user
```assembly
	.file	"temp.c"
	.text
	.p2align 4
	.globl	hikaku
	.type	hikaku, @function
hikaku:
.LFB51:
	.cfi_startproc
	endbr64
	movl	(%rsi), %eax
	subl	(%rdi), %eax
	ret
	.cfi_endproc
.LFE51:
	.size	hikaku, .-hikaku
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d"
.LC1:
	.string	"%lld"
.LC2:
	.string	"%lld\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB52:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	leaq	.LC0(%rip), %rdi
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	pushq	%r14
	pushq	%r13
	leaq	-44(%rbp), %rsi
	pushq	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset 14, -24
	.cfi_offset 13, -32
	.cfi_offset 12, -40
	.cfi_offset 3, -48
	movq	%fs:40, %rax
	movq	%rax, -40(%rbp)
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movslq	-44(%rbp), %rsi
	movq	%rsp, %rdi
	leaq	15(,%rsi,8), %rdx
	movq	%rsi, %rax
	movq	%rdx, %rcx
	andq	$-4096, %rdx
	subq	%rdx, %rdi
	andq	$-16, %rcx
	cmpq	%rdi, %rsp
	je	.L5
.L22:
	subq	$4096, %rsp
	orq	$0, 4088(%rsp)
	cmpq	%rdi, %rsp
	jne	.L22
.L5:
	andl	$4095, %ecx
	subq	%rcx, %rsp
	testq	%rcx, %rcx
	jne	.L23
.L6:
	movq	%rsp, %rbx
	testl	%eax, %eax
	jle	.L7
	movq	%rbx, %r13
	xorl	%r12d, %r12d
	leaq	.LC1(%rip), %r14
	.p2align 4,,10
	.p2align 3
.L8:
	movq	%r13, %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	addl	$1, %r12d
	call	__isoc99_scanf@PLT
	movl	-44(%rbp), %eax
	addq	$8, %r13
	cmpl	%r12d, %eax
	jg	.L8
	movslq	%eax, %rsi
.L7:
	movq	%rbx, %rdi
	leaq	hikaku(%rip), %rcx
	movl	$8, %edx
	call	qsort@PLT
	movl	-44(%rbp), %edi
	testl	%edi, %edi
	jle	.L14
	xorl	%eax, %eax
	xorl	%r9d, %r9d
	xorl	%r8d, %r8d
	jmp	.L12
	.p2align 4,,10
	.p2align 3
.L15:
	movl	%ecx, %eax
	cmpl	%edi, %eax
	jge	.L14
.L12:
	leal	1(%rax), %ecx
	movslq	%eax, %rdx
	movslq	%ecx, %rsi
	movq	(%rbx,%rdx,8), %rdx
	cmpq	%rdx, (%rbx,%rsi,8)
	jne	.L15
	cmpl	$1, %r8d
	je	.L24
	addl	$2, %eax
	movq	%rdx, %r9
	movl	$1, %r8d
	cmpl	%edi, %eax
	jl	.L12
.L14:
	xorl	%edx, %edx
.L9:
	xorl	%eax, %eax
	leaq	.LC2(%rip), %rsi
	movl	$1, %edi
	call	__printf_chk@PLT
	movq	-40(%rbp), %rax
	subq	%fs:40, %rax
	jne	.L25
	leaq	-32(%rbp), %rsp
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%rbp
	.cfi_remember_state
	.cfi_def_cfa 7, 8
	ret
.L24:
	.cfi_restore_state
	imulq	%r9, %rdx
	jmp	.L9
.L23:
	orq	$0, -8(%rsp,%rcx)
	jmp	.L6
.L25:
	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
```assembly
	.file	"temp.c"
	.text
	.p2align 4
	.globl	hikaku
	.type	hikaku, @function
hikaku:
.LFB51:
	.cfi_startproc
	endbr64
	movl	(%rsi), %eax
	subl	(%rdi), %eax
	ret
	.cfi_endproc
.LFE51:
	.size	hikaku, .-hikaku
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d"
.LC1:
	.string	"%lld"
.LC2:
	.string	"%lld\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB52:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	leaq	.LC0(%rip), %rdi
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	pushq	%r14
	pushq	%r13
	leaq	-44(%rbp), %rsi
	pushq	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset 14, -24
	.cfi_offset 13, -32
	.cfi_offset 12, -40
	.cfi_offset 3, -48
	movq	%fs:40, %rax
	movq	%rax, -40(%rbp)
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movslq	-44(%rbp), %rsi
	movq	%rsp, %rdi
	leaq	15(,%rsi,8), %rdx
	movq	%rsi, %rax
	movq	%rdx, %rcx
	andq	$-4096, %rdx
	subq	%rdx, %rdi
	andq	$-16, %rcx
	cmpq	%rdi, %rsp
	je	.L5
.L22:
	subq	$4096, %rsp
	orq	$0, 4088(%rsp)
	cmpq	%rdi, %rsp
	jne	.L22
.L5:
	andl	$4095, %ecx
	subq	%rcx, %rsp
	testq	%rcx, %rcx
	jne	.L23
.L6:
	movq	%rsp, %rbx
	testl	%eax, %eax
	jle	.L7
	movq	%rbx, %r13
	xorl	%r12d, %r12d
	leaq	.LC1(%rip), %r14
	.p2align 4,,10
	.p2align 3
.L8:
	movq	%r13, %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	addl	$1, %r12d
	call	__isoc99_scanf@PLT
	movl	-44(%rbp), %eax
	addq	$8, %r13
	cmpl	%r12d, %eax
	jg	.L8
	movslq	%eax, %rsi
.L7:
	movq	%rbx, %rdi
	leaq	hikaku(%rip), %rcx
	movl	$8, %edx
	call	qsort@PLT
	movl	-44(%rbp), %edi
	testl	%edi, %edi
	jle	.L14
	xorl	%eax, %eax
	xorl	%r9d, %r9d
	xorl	%r8d, %r8d
	jmp	.L12
	.p2align 4,,10
	.p2align 3
.L15:
	movl	%ecx, %eax
	cmpl	%edi, %eax
	jge	.L14
.L12:
	leal	1(%rax), %ecx
	movslq	%eax, %rdx
	movslq	%ecx, %rsi
	movq	(%rbx,%rdx,8), %rdx
	cmpq	%rdx, (%rbx,%rsi,8)
	jne	.L15
	cmpl	$1, %r8d
	je	.L24
	addl	$2, %eax
	movq	%rdx, %r9
	movl	$1, %r8d
	cmpl	%edi, %eax
	jl	.L12
.L14:
	xorl	%edx, %edx
.L9:
	xorl	%eax, %eax
	leaq	.LC2(%rip), %rsi
	movl	$1, %edi
	call	__printf_chk@PLT
	movq	-40(%rbp), %rax
	subq	%fs:40, %rax
	jne	.L25
	leaq	-32(%rbp), %rsp
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%rbp
	.cfi_remember_state
	.cfi_def_cfa 7, 8
	ret
.L24:
	.cfi_restore_state
	imulq	%r9, %rdx
	jmp	.L9
.L23:
	orq	$0, -8(%rsp,%rcx)
	jmp	.L6
.L25:
	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:
```
```c
#include<stdio.h>
#include<stdlib.h>
#include<string.h>
#include<math.h>
typedef long long ll;

int hikaku(const void *n1,const void *n2)
{
    return *(int*)n2-*(int*)n1;
}


int main()
{
    int n,z=0;
    ll x=0,y=0;
    scanf("%d",&n);
    ll a[n];
    for(int i=0;i<n;i++)
    {
        scanf("%lld",&a[i]);
    }
    
    qsort(a,n,sizeof(ll),hikaku);

    for(int i=0;i<n;i++)
    {
        if(a[i+1]==a[i])
        {
            if(z==1)
            {
                y=a[i];
                z=2;
                break;
            }
            if(z==0)
            {
                x=a[i];
                i=i+1;
                z=1;
            }

        }
    }

    printf("%lld\n",x*y);


    return 0;
}```
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>
#include<string.h>
#include<math.h>
typedef long long ll;

int hikaku(const void *n1,const void *n2)
{
    return *(int*)n2-*(int*)n1;
}


int main()
{
    int n,z=0;
    ll x=0,y=0;
    scanf("%d",&n);
    ll a[n];
    for(int i=0;i<n;i++)
    {
        scanf("%lld",&a[i]);
    }
    
    qsort(a,n,sizeof(ll),hikaku);

    for(int i=0;i<n;i++)
    {
        if(a[i+1]==a[i])
        {
            if(z==1)
            {
                y=a[i];
                z=2;
                break;
            }
            if(z==0)
            {
                x=a[i];
                i=i+1;
                z=1;
            }

        }
    }

    printf("%lld\n",x*y);


    return 0;
}```

Only output the optimized assembly code. Do not include any other text. Do not write any comments in the assembly code. Wrap the assembly code in ```assembly``` tags.
Optimized Assembly Code:

6
3 1 2 4 2 1

2

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>
#include<string.h>
#include<math.h>
typedef long long ll;

int hikaku(const void *n1,const void *n2)
{
    return *(int*)n2-*(int*)n1;
}


int main()
{
    int n,z=0;
    ll x=0,y=0;
    scanf("%d",&n);
    ll a[n];
    for(int i=0;i<n;i++)
    {
        scanf("%lld",&a[i]);
    }
    
    qsort(a,n,sizeof(ll),hikaku);

    for(int i=0;i<n;i++)
    {
        if(a[i+1]==a[i])
        {
            if(z==1)
            {
                y=a[i];
                z=2;
                break;
            }
            if(z==0)
            {
                x=a[i];
                i=i+1;
                z=1;
            }

        }
    }

    printf("%lld\n",x*y);


    return 0;
}```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.p2align 4
	.globl	hikaku
	.type	hikaku, @function
hikaku:
.LFB51:
	.cfi_startproc
	endbr64
	movl	(%rsi), %eax
	subl	(%rdi), %eax
	ret
	.cfi_endproc
.LFE51:
	.size	hikaku, .-hikaku
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d"
.LC1:
	.string	"%lld"
.LC2:
	.string	"%lld\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB52:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	leaq	.LC0(%rip), %rdi
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	pushq	%r14
	pushq	%r13
	leaq	-44(%rbp), %rsi
	pushq	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset 14, -24
	.cfi_offset 13, -32
	.cfi_offset 12, -40
	.cfi_offset 3, -48
	movq	%fs:40, %rax
	movq	%rax, -40(%rbp)
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movslq	-44(%rbp), %rsi
	movq	%rsp, %rdi
	leaq	15(,%rsi,8), %rdx
	movq	%rsi, %rax
	movq	%rdx, %rcx
	andq	$-4096, %rdx
	subq	%rdx, %rdi
	andq	$-16, %rcx
	cmpq	%rdi, %rsp
	je	.L5
.L22:
	subq	$4096, %rsp
	orq	$0, 4088(%rsp)
	cmpq	%rdi, %rsp
	jne	.L22
.L5:
	andl	$4095, %ecx
	subq	%rcx, %rsp
	testq	%rcx, %rcx
	jne	.L23
.L6:
	movq	%rsp, %rbx
	testl	%eax, %eax
	jle	.L7
	movq	%rbx, %r13
	xorl	%r12d, %r12d
	leaq	.LC1(%rip), %r14
	.p2align 4,,10
	.p2align 3
.L8:
	movq	%r13, %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	addl	$1, %r12d
	call	__isoc99_scanf@PLT
	movl	-44(%rbp), %eax
	addq	$8, %r13
	cmpl	%r12d, %eax
	jg	.L8
	movslq	%eax, %rsi
.L7:
	movq	%rbx, %rdi
	leaq	hikaku(%rip), %rcx
	movl	$8, %edx
	call	qsort@PLT
	movl	-44(%rbp), %edi
	testl	%edi, %edi
	jle	.L14
	xorl	%eax, %eax
	xorl	%r9d, %r9d
	xorl	%r8d, %r8d
	jmp	.L12
	.p2align 4,,10
	.p2align 3
.L15:
	movl	%ecx, %eax
	cmpl	%edi, %eax
	jge	.L14
.L12:
	leal	1(%rax), %ecx
	movslq	%eax, %rdx
	movslq	%ecx, %rsi
	movq	(%rbx,%rdx,8), %rdx
	cmpq	%rdx, (%rbx,%rsi,8)
	jne	.L15
	cmpl	$1, %r8d
	je	.L24
	addl	$2, %eax
	movq	%rdx, %r9
	movl	$1, %r8d
	cmpl	%edi, %eax
	jl	.L12
.L14:
	xorl	%edx, %edx
.L9:
	xorl	%eax, %eax
	leaq	.LC2(%rip), %rsi
	movl	$1, %edi
	call	__printf_chk@PLT
	movq	-40(%rbp), %rax
	subq	%fs:40, %rax
	jne	.L25
	leaq	-32(%rbp), %rsp
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%rbp
	.cfi_remember_state
	.cfi_def_cfa 7, 8
	ret
.L24:
	.cfi_restore_state
	imulq	%r9, %rdx
	jmp	.L9
.L23:
	orq	$0, -8(%rsp,%rcx)
	jmp	.L6
.L25:
	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:
```

Only output the optimized assembly code. Do not include any other text. Do not write any comments in the assembly code. Wrap the assembly code in ```assembly``` tags.
Optimized Assembly Code:

train
```assembly
	.file	"temp.c"
	.text
	.p2align 4
	.globl	hikaku
	.type	hikaku, @function
hikaku:
.LFB51:
	.cfi_startproc
	endbr64
	movl	(%rsi), %eax
	subl	(%rdi), %eax
	ret
	.cfi_endproc
.LFE51:
	.size	hikaku, .-hikaku
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d"
.LC1:
	.string	"%lld"
.LC2:
	.string	"%lld\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB52:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	leaq	.LC0(%rip), %rdi
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	pushq	%r14
	pushq	%r13
	leaq	-44(%rbp), %rsi
	pushq	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset 14, -24
	.cfi_offset 13, -32
	.cfi_offset 12, -40
	.cfi_offset 3, -48
	movq	%fs:40, %rax
	movq	%rax, -40(%rbp)
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movslq	-44(%rbp), %rsi
	movq	%rsp, %rdi
	leaq	15(,%rsi,8), %rdx
	movq	%rsi, %rax
	movq	%rdx, %rcx
	andq	$-4096, %rdx
	subq	%rdx, %rdi
	andq	$-16, %rcx
	cmpq	%rdi, %rsp
	je	.L5
.L22:
	subq	$4096, %rsp
	orq	$0, 4088(%rsp)
	cmpq	%rdi, %rsp
	jne	.L22
.L5:
	andl	$4095, %ecx
	subq	%rcx, %rsp
	testq	%rcx, %rcx
	jne	.L23
.L6:
	movq	%rsp, %rbx
	testl	%eax, %eax
	jle	.L7
	movq	%rbx, %r13
	xorl	%r12d, %r12d
	leaq	.LC1(%rip), %r14
	.p2align 4,,10
	.p2align 3
.L8:
	movq	%r13, %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	addl	$1, %r12d
	call	__isoc99_scanf@PLT
	movl	-44(%rbp), %eax
	addq	$8, %r13
	cmpl	%r12d, %eax
	jg	.L8
	movslq	%eax, %rsi
.L7:
	movq	%rbx, %rdi
	leaq	hikaku(%rip), %rcx
	movl	$8, %edx
	call	qsort@PLT
	movl	-44(%rbp), %edi
	testl	%edi, %edi
	jle	.L14
	xorl	%eax, %eax
	xorl	%r9d, %r9d
	xorl	%r8d, %r8d
	jmp	.L12
	.p2align 4,,10
	.p2align 3
.L15:
	movl	%ecx, %eax
	cmpl	%edi, %eax
	jge	.L14
.L12:
	leal	1(%rax), %ecx
	movslq	%eax, %rdx
	movslq	%ecx, %rsi
	movq	(%rbx,%rdx,8), %rdx
	cmpq	%rdx, (%rbx,%rsi,8)
	jne	.L15
	cmpl	$1, %r8d
	je	.L24
	addl	$2, %eax
	movq	%rdx, %r9
	movl	$1, %r8d
	cmpl	%edi, %eax
	jl	.L12
.L14:
	xorl	%edx, %edx
.L9:
	xorl	%eax, %eax
	leaq	.LC2(%rip), %rsi
	movl	$1, %edi
	call	__printf_chk@PLT
	movq	-40(%rbp), %rax
	subq	%fs:40, %rax
	jne	.L25
	leaq	-32(%rbp), %rsp
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%rbp
	.cfi_remember_state
	.cfi_def_cfa 7, 8
	ret
.L24:
	.cfi_restore_state
	imulq	%r9, %rdx
	jmp	.L9
.L23:
	orq	$0, -8(%rsp,%rcx)
	jmp	.L6
.L25:
	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:
```