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 <inttypes.h>

int kitamuraeri(const void* asumisu, const void* mizuhasu) {
	int satorina = *(const uint64_t*)asumisu, zaasan = *(const uint64_t*)mizuhasu;
	return satorina > zaasan ? -1 : satorina < zaasan;
}

int32_t N;
uint64_t A[114514];

int main(void) {
	int32_t i;
	uint64_t horieyui = 0;
	if (scanf("%" SCNd32, &N) != 1) return 1;
	for (i = 0; i < N; i++) {
		if (scanf("%" SCNu64, &A[i]) != 1) return 1;
	}
	qsort(A, N, sizeof(*A), kitamuraeri);
	for (i = 0; i + 1 < N;) {
		if (A[i] == A[i + 1]) {
			if (horieyui == 0) {
				horieyui = A[i];
				i += 2;
			} else {
				printf("%" PRIu64 "\n", A[i] * horieyui);
				return 0;
			}
		} else {
			i++;
		}
	}
	puts("0");
	return 0;
}
```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.p2align 4
	.globl	kitamuraeri
	.type	kitamuraeri, @function
kitamuraeri:
.LFB39:
	.cfi_startproc
	endbr64
	movl	(%rsi), %eax
	cmpl	%eax, (%rdi)
	movl	$-1, %edx
	setl	%al
	movzbl	%al, %eax
	cmovg	%edx, %eax
	ret
	.cfi_endproc
.LFE39:
	.size	kitamuraeri, .-kitamuraeri
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d"
.LC1:
	.string	"%lu"
.LC2:
	.string	"%lu\n"
.LC3:
	.string	"0"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB40:
	.cfi_startproc
	endbr64
	pushq	%r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	xorl	%eax, %eax
	leaq	N(%rip), %rsi
	leaq	.LC0(%rip), %rdi
	pushq	%r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	pushq	%rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	pushq	%rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	subq	$8, %rsp
	.cfi_def_cfa_offset 48
	call	__isoc99_scanf@PLT
	cmpl	$1, %eax
	jne	.L9
	movslq	N(%rip), %rsi
	leaq	A(%rip), %r12
	testl	%esi, %esi
	jle	.L8
	movq	%r12, %rbx
	xorl	%ebp, %ebp
	leaq	.LC1(%rip), %r13
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L20:
	movslq	N(%rip), %rsi
	addl	$1, %ebp
	addq	$8, %rbx
	cmpl	%ebp, %esi
	jle	.L8
.L10:
	xorl	%eax, %eax
	movq	%rbx, %rsi
	movq	%r13, %rdi
	call	__isoc99_scanf@PLT
	cmpl	$1, %eax
	je	.L20
.L9:
	movl	$1, %eax
.L5:
	addq	$8, %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
.L8:
	.cfi_restore_state
	leaq	kitamuraeri(%rip), %rcx
	movl	$8, %edx
	movq	%r12, %rdi
	call	qsort@PLT
	movl	N(%rip), %esi
	xorl	%r8d, %r8d
	xorl	%eax, %eax
.L11:
	movslq	%eax, %rdx
	leaq	(%r12,%rdx,8), %rcx
	jmp	.L12
	.p2align 4,,10
	.p2align 3
.L14:
	movq	(%rcx), %rdx
	addq	$8, %rcx
	cmpq	(%rcx), %rdx
	je	.L21
.L12:
	movl	%eax, %edi
	addl	$1, %eax
	cmpl	%esi, %eax
	jl	.L14
	leaq	.LC3(%rip), %rdi
	call	puts@PLT
	xorl	%eax, %eax
	jmp	.L5
.L21:
	testq	%r8, %r8
	jne	.L13
	leal	2(%rdi), %eax
	movq	%rdx, %r8
	jmp	.L11
.L13:
	imulq	%r8, %rdx
	leaq	.LC2(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	xorl	%eax, %eax
	jmp	.L5
	.cfi_endproc
.LFE40:
	.size	main, .-main
	.globl	A
	.bss
	.align 32
	.type	A, @object
	.size	A, 916112
A:
	.zero	916112
	.globl	N
	.align 4
	.type	N, @object
	.size	N, 4
N:
	.zero	4
	.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	kitamuraeri
	.type	kitamuraeri, @function
kitamuraeri:
.LFB39:
	.cfi_startproc
	endbr64
	movl	(%rsi), %eax
	cmpl	%eax, (%rdi)
	movl	$-1, %edx
	setl	%al
	movzbl	%al, %eax
	cmovg	%edx, %eax
	ret
	.cfi_endproc
.LFE39:
	.size	kitamuraeri, .-kitamuraeri
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d"
.LC1:
	.string	"%lu"
.LC2:
	.string	"%lu\n"
.LC3:
	.string	"0"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB40:
	.cfi_startproc
	endbr64
	pushq	%r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	xorl	%eax, %eax
	leaq	N(%rip), %rsi
	leaq	.LC0(%rip), %rdi
	pushq	%r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	pushq	%rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	pushq	%rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	subq	$8, %rsp
	.cfi_def_cfa_offset 48
	call	__isoc99_scanf@PLT
	cmpl	$1, %eax
	jne	.L9
	movslq	N(%rip), %rsi
	leaq	A(%rip), %r12
	testl	%esi, %esi
	jle	.L8
	movq	%r12, %rbx
	xorl	%ebp, %ebp
	leaq	.LC1(%rip), %r13
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L20:
	movslq	N(%rip), %rsi
	addl	$1, %ebp
	addq	$8, %rbx
	cmpl	%ebp, %esi
	jle	.L8
.L10:
	xorl	%eax, %eax
	movq	%rbx, %rsi
	movq	%r13, %rdi
	call	__isoc99_scanf@PLT
	cmpl	$1, %eax
	je	.L20
.L9:
	movl	$1, %eax
.L5:
	addq	$8, %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
.L8:
	.cfi_restore_state
	leaq	kitamuraeri(%rip), %rcx
	movl	$8, %edx
	movq	%r12, %rdi
	call	qsort@PLT
	movl	N(%rip), %esi
	xorl	%r8d, %r8d
	xorl	%eax, %eax
.L11:
	movslq	%eax, %rdx
	leaq	(%r12,%rdx,8), %rcx
	jmp	.L12
	.p2align 4,,10
	.p2align 3
.L14:
	movq	(%rcx), %rdx
	addq	$8, %rcx
	cmpq	(%rcx), %rdx
	je	.L21
.L12:
	movl	%eax, %edi
	addl	$1, %eax
	cmpl	%esi, %eax
	jl	.L14
	leaq	.LC3(%rip), %rdi
	call	puts@PLT
	xorl	%eax, %eax
	jmp	.L5
.L21:
	testq	%r8, %r8
	jne	.L13
	leal	2(%rdi), %eax
	movq	%rdx, %r8
	jmp	.L11
.L13:
	imulq	%r8, %rdx
	leaq	.LC2(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	xorl	%eax, %eax
	jmp	.L5
	.cfi_endproc
.LFE40:
	.size	main, .-main
	.globl	A
	.bss
	.align 32
	.type	A, @object
	.size	A, 916112
A:
	.zero	916112
	.globl	N
	.align 4
	.type	N, @object
	.size	N, 4
N:
	.zero	4
	.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	kitamuraeri
	.type	kitamuraeri, @function
kitamuraeri:
.LFB39:
	.cfi_startproc
	endbr64
	movl	(%rsi), %eax
	cmpl	%eax, (%rdi)
	movl	$-1, %edx
	setl	%al
	movzbl	%al, %eax
	cmovg	%edx, %eax
	ret
	.cfi_endproc
.LFE39:
	.size	kitamuraeri, .-kitamuraeri
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d"
.LC1:
	.string	"%lu"
.LC2:
	.string	"%lu\n"
.LC3:
	.string	"0"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB40:
	.cfi_startproc
	endbr64
	pushq	%r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	xorl	%eax, %eax
	leaq	N(%rip), %rsi
	leaq	.LC0(%rip), %rdi
	pushq	%r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	pushq	%rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	pushq	%rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	subq	$8, %rsp
	.cfi_def_cfa_offset 48
	call	__isoc99_scanf@PLT
	cmpl	$1, %eax
	jne	.L9
	movslq	N(%rip), %rsi
	leaq	A(%rip), %r12
	testl	%esi, %esi
	jle	.L8
	movq	%r12, %rbx
	xorl	%ebp, %ebp
	leaq	.LC1(%rip), %r13
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L20:
	movslq	N(%rip), %rsi
	addl	$1, %ebp
	addq	$8, %rbx
	cmpl	%ebp, %esi
	jle	.L8
.L10:
	xorl	%eax, %eax
	movq	%rbx, %rsi
	movq	%r13, %rdi
	call	__isoc99_scanf@PLT
	cmpl	$1, %eax
	je	.L20
.L9:
	movl	$1, %eax
.L5:
	addq	$8, %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
.L8:
	.cfi_restore_state
	leaq	kitamuraeri(%rip), %rcx
	movl	$8, %edx
	movq	%r12, %rdi
	call	qsort@PLT
	movl	N(%rip), %esi
	xorl	%r8d, %r8d
	xorl	%eax, %eax
.L11:
	movslq	%eax, %rdx
	leaq	(%r12,%rdx,8), %rcx
	jmp	.L12
	.p2align 4,,10
	.p2align 3
.L14:
	movq	(%rcx), %rdx
	addq	$8, %rcx
	cmpq	(%rcx), %rdx
	je	.L21
.L12:
	movl	%eax, %edi
	addl	$1, %eax
	cmpl	%esi, %eax
	jl	.L14
	leaq	.LC3(%rip), %rdi
	call	puts@PLT
	xorl	%eax, %eax
	jmp	.L5
.L21:
	testq	%r8, %r8
	jne	.L13
	leal	2(%rdi), %eax
	movq	%rdx, %r8
	jmp	.L11
.L13:
	imulq	%r8, %rdx
	leaq	.LC2(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	xorl	%eax, %eax
	jmp	.L5
	.cfi_endproc
.LFE40:
	.size	main, .-main
	.globl	A
	.bss
	.align 32
	.type	A, @object
	.size	A, 916112
A:
	.zero	916112
	.globl	N
	.align 4
	.type	N, @object
	.size	N, 4
N:
	.zero	4
	.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 <inttypes.h>

int kitamuraeri(const void* asumisu, const void* mizuhasu) {
	int satorina = *(const uint64_t*)asumisu, zaasan = *(const uint64_t*)mizuhasu;
	return satorina > zaasan ? -1 : satorina < zaasan;
}

int32_t N;
uint64_t A[114514];

int main(void) {
	int32_t i;
	uint64_t horieyui = 0;
	if (scanf("%" SCNd32, &N) != 1) return 1;
	for (i = 0; i < N; i++) {
		if (scanf("%" SCNu64, &A[i]) != 1) return 1;
	}
	qsort(A, N, sizeof(*A), kitamuraeri);
	for (i = 0; i + 1 < N;) {
		if (A[i] == A[i + 1]) {
			if (horieyui == 0) {
				horieyui = A[i];
				i += 2;
			} else {
				printf("%" PRIu64 "\n", A[i] * horieyui);
				return 0;
			}
		} else {
			i++;
		}
	}
	puts("0");
	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 <inttypes.h>

int kitamuraeri(const void* asumisu, const void* mizuhasu) {
	int satorina = *(const uint64_t*)asumisu, zaasan = *(const uint64_t*)mizuhasu;
	return satorina > zaasan ? -1 : satorina < zaasan;
}

int32_t N;
uint64_t A[114514];

int main(void) {
	int32_t i;
	uint64_t horieyui = 0;
	if (scanf("%" SCNd32, &N) != 1) return 1;
	for (i = 0; i < N; i++) {
		if (scanf("%" SCNu64, &A[i]) != 1) return 1;
	}
	qsort(A, N, sizeof(*A), kitamuraeri);
	for (i = 0; i + 1 < N;) {
		if (A[i] == A[i + 1]) {
			if (horieyui == 0) {
				horieyui = A[i];
				i += 2;
			} else {
				printf("%" PRIu64 "\n", A[i] * horieyui);
				return 0;
			}
		} else {
			i++;
		}
	}
	puts("0");
	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:

10
3 3 3 3 4 4 2 5 5 5
 6
3 1 2 4 2 2
 6
3 2 2 4 2 2
 6
3 2 2 4 3 2
 10
3 3 6 3 4 4 1 6 5 5
 10
3 3 6 3 4 3 1 6 5 6
 6
3 4 2 3 4 3
 10
3 3 6 6 4 3 1 6 3 6
 10
3 2 8 6 4 0 1 8 3 10
 6
1 -1 1 7 8 7

20
 0
 4
 6
 30
 18
 12
 36
 24
 7

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 <inttypes.h>

int kitamuraeri(const void* asumisu, const void* mizuhasu) {
	int satorina = *(const uint64_t*)asumisu, zaasan = *(const uint64_t*)mizuhasu;
	return satorina > zaasan ? -1 : satorina < zaasan;
}

int32_t N;
uint64_t A[114514];

int main(void) {
	int32_t i;
	uint64_t horieyui = 0;
	if (scanf("%" SCNd32, &N) != 1) return 1;
	for (i = 0; i < N; i++) {
		if (scanf("%" SCNu64, &A[i]) != 1) return 1;
	}
	qsort(A, N, sizeof(*A), kitamuraeri);
	for (i = 0; i + 1 < N;) {
		if (A[i] == A[i + 1]) {
			if (horieyui == 0) {
				horieyui = A[i];
				i += 2;
			} else {
				printf("%" PRIu64 "\n", A[i] * horieyui);
				return 0;
			}
		} else {
			i++;
		}
	}
	puts("0");
	return 0;
}
```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.p2align 4
	.globl	kitamuraeri
	.type	kitamuraeri, @function
kitamuraeri:
.LFB39:
	.cfi_startproc
	endbr64
	movl	(%rsi), %eax
	cmpl	%eax, (%rdi)
	movl	$-1, %edx
	setl	%al
	movzbl	%al, %eax
	cmovg	%edx, %eax
	ret
	.cfi_endproc
.LFE39:
	.size	kitamuraeri, .-kitamuraeri
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d"
.LC1:
	.string	"%lu"
.LC2:
	.string	"%lu\n"
.LC3:
	.string	"0"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB40:
	.cfi_startproc
	endbr64
	pushq	%r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	xorl	%eax, %eax
	leaq	N(%rip), %rsi
	leaq	.LC0(%rip), %rdi
	pushq	%r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	pushq	%rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	pushq	%rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	subq	$8, %rsp
	.cfi_def_cfa_offset 48
	call	__isoc99_scanf@PLT
	cmpl	$1, %eax
	jne	.L9
	movslq	N(%rip), %rsi
	leaq	A(%rip), %r12
	testl	%esi, %esi
	jle	.L8
	movq	%r12, %rbx
	xorl	%ebp, %ebp
	leaq	.LC1(%rip), %r13
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L20:
	movslq	N(%rip), %rsi
	addl	$1, %ebp
	addq	$8, %rbx
	cmpl	%ebp, %esi
	jle	.L8
.L10:
	xorl	%eax, %eax
	movq	%rbx, %rsi
	movq	%r13, %rdi
	call	__isoc99_scanf@PLT
	cmpl	$1, %eax
	je	.L20
.L9:
	movl	$1, %eax
.L5:
	addq	$8, %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
.L8:
	.cfi_restore_state
	leaq	kitamuraeri(%rip), %rcx
	movl	$8, %edx
	movq	%r12, %rdi
	call	qsort@PLT
	movl	N(%rip), %esi
	xorl	%r8d, %r8d
	xorl	%eax, %eax
.L11:
	movslq	%eax, %rdx
	leaq	(%r12,%rdx,8), %rcx
	jmp	.L12
	.p2align 4,,10
	.p2align 3
.L14:
	movq	(%rcx), %rdx
	addq	$8, %rcx
	cmpq	(%rcx), %rdx
	je	.L21
.L12:
	movl	%eax, %edi
	addl	$1, %eax
	cmpl	%esi, %eax
	jl	.L14
	leaq	.LC3(%rip), %rdi
	call	puts@PLT
	xorl	%eax, %eax
	jmp	.L5
.L21:
	testq	%r8, %r8
	jne	.L13
	leal	2(%rdi), %eax
	movq	%rdx, %r8
	jmp	.L11
.L13:
	imulq	%r8, %rdx
	leaq	.LC2(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	xorl	%eax, %eax
	jmp	.L5
	.cfi_endproc
.LFE40:
	.size	main, .-main
	.globl	A
	.bss
	.align 32
	.type	A, @object
	.size	A, 916112
A:
	.zero	916112
	.globl	N
	.align 4
	.type	N, @object
	.size	N, 4
N:
	.zero	4
	.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	kitamuraeri
	.type	kitamuraeri, @function
kitamuraeri:
.LFB39:
	.cfi_startproc
	endbr64
	movl	(%rsi), %eax
	cmpl	%eax, (%rdi)
	movl	$-1, %edx
	setl	%al
	movzbl	%al, %eax
	cmovg	%edx, %eax
	ret
	.cfi_endproc
.LFE39:
	.size	kitamuraeri, .-kitamuraeri
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d"
.LC1:
	.string	"%lu"
.LC2:
	.string	"%lu\n"
.LC3:
	.string	"0"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB40:
	.cfi_startproc
	endbr64
	pushq	%r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	xorl	%eax, %eax
	leaq	N(%rip), %rsi
	leaq	.LC0(%rip), %rdi
	pushq	%r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	pushq	%rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	pushq	%rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	subq	$8, %rsp
	.cfi_def_cfa_offset 48
	call	__isoc99_scanf@PLT
	cmpl	$1, %eax
	jne	.L9
	movslq	N(%rip), %rsi
	leaq	A(%rip), %r12
	testl	%esi, %esi
	jle	.L8
	movq	%r12, %rbx
	xorl	%ebp, %ebp
	leaq	.LC1(%rip), %r13
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L20:
	movslq	N(%rip), %rsi
	addl	$1, %ebp
	addq	$8, %rbx
	cmpl	%ebp, %esi
	jle	.L8
.L10:
	xorl	%eax, %eax
	movq	%rbx, %rsi
	movq	%r13, %rdi
	call	__isoc99_scanf@PLT
	cmpl	$1, %eax
	je	.L20
.L9:
	movl	$1, %eax
.L5:
	addq	$8, %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
.L8:
	.cfi_restore_state
	leaq	kitamuraeri(%rip), %rcx
	movl	$8, %edx
	movq	%r12, %rdi
	call	qsort@PLT
	movl	N(%rip), %esi
	xorl	%r8d, %r8d
	xorl	%eax, %eax
.L11:
	movslq	%eax, %rdx
	leaq	(%r12,%rdx,8), %rcx
	jmp	.L12
	.p2align 4,,10
	.p2align 3
.L14:
	movq	(%rcx), %rdx
	addq	$8, %rcx
	cmpq	(%rcx), %rdx
	je	.L21
.L12:
	movl	%eax, %edi
	addl	$1, %eax
	cmpl	%esi, %eax
	jl	.L14
	leaq	.LC3(%rip), %rdi
	call	puts@PLT
	xorl	%eax, %eax
	jmp	.L5
.L21:
	testq	%r8, %r8
	jne	.L13
	leal	2(%rdi), %eax
	movq	%rdx, %r8
	jmp	.L11
.L13:
	imulq	%r8, %rdx
	leaq	.LC2(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	xorl	%eax, %eax
	jmp	.L5
	.cfi_endproc
.LFE40:
	.size	main, .-main
	.globl	A
	.bss
	.align 32
	.type	A, @object
	.size	A, 916112
A:
	.zero	916112
	.globl	N
	.align 4
	.type	N, @object
	.size	N, 4
N:
	.zero	4
	.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:
```