Given the following C code and unoptimized assembly code, your task is to generate highly optimized x86-64 assembly code.
C Code:

```c

#define ll				long long
#define MOD				1000000007

#include <float.h>
#include <limits.h>
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>

FILE *in, *ans;
int tno;

int out(const char *s) {
#ifdef TEST
	char buf[8192];
	fgets(buf, sizeof(buf), ans);
	if (strcmp(buf, s)) {
		printf("err\n");
	}
#else
	printf(s);
#endif
	return 0;
}

int outi(int i) {
	char s[128];
	sprintf(s, "%d\n", i);
	out(s);
	return 0;
}

int outd(double d) {
	char s[128];
	sprintf(s, "%.10lf\n", d);
	out(s);
	return 0;
}

int outll(ll l) {
	char s[128];
	sprintf(s, "%lld\n", l);
	out(s);
	return 0;
}

int geti() {
	int i;
	fscanf(in, "%d", &i);
	return i;
}

ll getll() {
	ll l;
	fscanf(in, "%lld", &l);
	return l;
}

int getstr(char *s) {
	fscanf(in, "%s", s);
	return 0;
}

int getmin(int val1, int val2) {
	if (val1 < val2) {
		return val1;
	}
	else {
		return val2;
	}
}

int getmax(int val1, int val2) {
	if (val1 > val2) {
		return val1;
	}
	else {
		return val2;
	}
}

typedef struct data {
	int x, y;
} data;


int sortfnc(const void *v1, const void *v2) {
	data *d1 = (data *)v1;
	data *d2 = (data *)v2;

	if (d1->x > d2->x) {
		return 1;
	}
	else if (d1->x < d2->x) {
		return -1;
	}

	if (d1->y > d2->y) {
		return 1;
	}
	else if (d1->y < d2->y) {
		return -1;
	}

	return 0;
}

int n;
data datas[50];
data ptn[2500];
int pcnt;

int fnc2() {
	int i, j;

	n = geti();
	if (n <= 2) {
		return 1;
	}

	for (i = 0; i < n; i++) {
		datas[i].x = geti();
		datas[i].y = geti();
	}
	qsort(datas, n, sizeof(data), sortfnc);

	pcnt = 0;
	for (i = 0; i < n; i++) {
		for (j = i + 1; j < n; j++) {
			ptn[pcnt].x = datas[j].x - datas[i].x;
			ptn[pcnt].y = datas[j].y - datas[i].y;
			pcnt++;
		}
	}
	qsort(ptn, pcnt, sizeof(data), sortfnc);

	int x = ptn[0].x;
	int y = ptn[0].y;
	int len = 1;
	int max = len;
	for (i = 1; i < pcnt; i++) {
		if (x == ptn[i].x && y == ptn[i].y) {
			len++;
			max = getmax(max, len);
		}
		else {
			x = ptn[i].x;
			y = ptn[i].y;
			len = 1;
		}
	}

	return n - max;
}

int fnc1() {
	int ret = fnc2();
	outi(ret);
	return 0;
}

int main() {

#ifdef TEST
	for (tno = TEST_SNO; tno <= TEST_ENO; tno++) {
		char str[128];
		sprintf(str, "test%d.txt", tno);
		in = fopen(str, "r");
		sprintf(str, "ans%d.txt", tno);
		ans = fopen(str, "r");
		fnc1();
		fclose(in);
		fclose(ans);
	}
	printf("end\n");
#else
	in = stdin;
	fnc1();
#endif

	return 0;
}
```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.globl	in
	.bss
	.align 8
	.type	in, @object
	.size	in, 8
in:
	.zero	8
	.globl	ans
	.align 8
	.type	ans, @object
	.size	ans, 8
ans:
	.zero	8
	.globl	tno
	.align 4
	.type	tno, @object
	.size	tno, 4
tno:
	.zero	4
	.text
	.globl	out
	.type	out, @function
out:
.LFB6:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$16, %rsp
	movq	%rdi, -8(%rbp)
	movq	-8(%rbp), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, %eax
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	out, .-out
	.section	.rodata
.LC0:
	.string	"%d\n"
	.text
	.globl	outi
	.type	outi, @function
outi:
.LFB7:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$160, %rsp
	movl	%edi, -148(%rbp)
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movl	-148(%rbp), %edx
	leaq	-144(%rbp), %rax
	leaq	.LC0(%rip), %rcx
	movq	%rcx, %rsi
	movq	%rax, %rdi
	movl	$0, %eax
	call	sprintf@PLT
	leaq	-144(%rbp), %rax
	movq	%rax, %rdi
	call	out
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L5
	call	__stack_chk_fail@PLT
.L5:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	outi, .-outi
	.section	.rodata
.LC1:
	.string	"%.10lf\n"
	.text
	.globl	outd
	.type	outd, @function
outd:
.LFB8:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$160, %rsp
	movsd	%xmm0, -152(%rbp)
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movq	-152(%rbp), %rdx
	leaq	-144(%rbp), %rax
	movq	%rdx, %xmm0
	leaq	.LC1(%rip), %rdx
	movq	%rdx, %rsi
	movq	%rax, %rdi
	movl	$1, %eax
	call	sprintf@PLT
	leaq	-144(%rbp), %rax
	movq	%rax, %rdi
	call	out
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L8
	call	__stack_chk_fail@PLT
.L8:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	outd, .-outd
	.section	.rodata
.LC2:
	.string	"%lld\n"
	.text
	.globl	outll
	.type	outll, @function
outll:
.LFB9:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$160, %rsp
	movq	%rdi, -152(%rbp)
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movq	-152(%rbp), %rdx
	leaq	-144(%rbp), %rax
	leaq	.LC2(%rip), %rcx
	movq	%rcx, %rsi
	movq	%rax, %rdi
	movl	$0, %eax
	call	sprintf@PLT
	leaq	-144(%rbp), %rax
	movq	%rax, %rdi
	call	out
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L11
	call	__stack_chk_fail@PLT
.L11:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	outll, .-outll
	.section	.rodata
.LC3:
	.string	"%d"
	.text
	.globl	geti
	.type	geti, @function
geti:
.LFB10:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$16, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movq	in(%rip), %rax
	leaq	-12(%rbp), %rdx
	leaq	.LC3(%rip), %rcx
	movq	%rcx, %rsi
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_fscanf@PLT
	movl	-12(%rbp), %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L14
	call	__stack_chk_fail@PLT
.L14:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	geti, .-geti
	.section	.rodata
.LC4:
	.string	"%lld"
	.text
	.globl	getll
	.type	getll, @function
getll:
.LFB11:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$16, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movq	in(%rip), %rax
	leaq	-16(%rbp), %rdx
	leaq	.LC4(%rip), %rcx
	movq	%rcx, %rsi
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_fscanf@PLT
	movq	-16(%rbp), %rax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L17
	call	__stack_chk_fail@PLT
.L17:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	getll, .-getll
	.section	.rodata
.LC5:
	.string	"%s"
	.text
	.globl	getstr
	.type	getstr, @function
getstr:
.LFB12:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$16, %rsp
	movq	%rdi, -8(%rbp)
	movq	in(%rip), %rax
	movq	-8(%rbp), %rdx
	leaq	.LC5(%rip), %rcx
	movq	%rcx, %rsi
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_fscanf@PLT
	movl	$0, %eax
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	getstr, .-getstr
	.globl	getmin
	.type	getmin, @function
getmin:
.LFB13:
	.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	%esi, -8(%rbp)
	movl	-4(%rbp), %eax
	cmpl	-8(%rbp), %eax
	jge	.L21
	movl	-4(%rbp), %eax
	jmp	.L22
.L21:
	movl	-8(%rbp), %eax
.L22:
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	getmin, .-getmin
	.globl	getmax
	.type	getmax, @function
getmax:
.LFB14:
	.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	%esi, -8(%rbp)
	movl	-4(%rbp), %eax
	cmpl	-8(%rbp), %eax
	jle	.L24
	movl	-4(%rbp), %eax
	jmp	.L25
.L24:
	movl	-8(%rbp), %eax
.L25:
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE14:
	.size	getmax, .-getmax
	.globl	sortfnc
	.type	sortfnc, @function
sortfnc:
.LFB15:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	movq	%rdi, -24(%rbp)
	movq	%rsi, -32(%rbp)
	movq	-24(%rbp), %rax
	movq	%rax, -16(%rbp)
	movq	-32(%rbp), %rax
	movq	%rax, -8(%rbp)
	movq	-16(%rbp), %rax
	movl	(%rax), %edx
	movq	-8(%rbp), %rax
	movl	(%rax), %eax
	cmpl	%eax, %edx
	jle	.L27
	movl	$1, %eax
	jmp	.L28
.L27:
	movq	-16(%rbp), %rax
	movl	(%rax), %edx
	movq	-8(%rbp), %rax
	movl	(%rax), %eax
	cmpl	%eax, %edx
	jge	.L29
	movl	$-1, %eax
	jmp	.L28
.L29:
	movq	-16(%rbp), %rax
	movl	4(%rax), %edx
	movq	-8(%rbp), %rax
	movl	4(%rax), %eax
	cmpl	%eax, %edx
	jle	.L30
	movl	$1, %eax
	jmp	.L28
.L30:
	movq	-16(%rbp), %rax
	movl	4(%rax), %edx
	movq	-8(%rbp), %rax
	movl	4(%rax), %eax
	cmpl	%eax, %edx
	jge	.L31
	movl	$-1, %eax
	jmp	.L28
.L31:
	movl	$0, %eax
.L28:
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE15:
	.size	sortfnc, .-sortfnc
	.globl	n
	.bss
	.align 4
	.type	n, @object
	.size	n, 4
n:
	.zero	4
	.globl	datas
	.align 32
	.type	datas, @object
	.size	datas, 400
datas:
	.zero	400
	.globl	ptn
	.align 32
	.type	ptn, @object
	.size	ptn, 20000
ptn:
	.zero	20000
	.globl	pcnt
	.align 4
	.type	pcnt, @object
	.size	pcnt, 4
pcnt:
	.zero	4
	.text
	.globl	fnc2
	.type	fnc2, @function
fnc2:
.LFB16:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$32, %rsp
	movl	$0, %eax
	call	geti
	movl	%eax, n(%rip)
	movl	n(%rip), %eax
	cmpl	$2, %eax
	jg	.L33
	movl	$1, %eax
	jmp	.L34
.L33:
	movl	$0, -24(%rbp)
	jmp	.L35
.L36:
	movl	$0, %eax
	call	geti
	movl	-24(%rbp), %edx
	movslq	%edx, %rdx
	leaq	0(,%rdx,8), %rcx
	leaq	datas(%rip), %rdx
	movl	%eax, (%rcx,%rdx)
	movl	$0, %eax
	call	geti
	movl	-24(%rbp), %edx
	movslq	%edx, %rdx
	leaq	0(,%rdx,8), %rcx
	leaq	4+datas(%rip), %rdx
	movl	%eax, (%rcx,%rdx)
	addl	$1, -24(%rbp)
.L35:
	movl	n(%rip), %eax
	cmpl	%eax, -24(%rbp)
	jl	.L36
	movl	n(%rip), %eax
	cltq
	leaq	sortfnc(%rip), %rdx
	movq	%rdx, %rcx
	movl	$8, %edx
	movq	%rax, %rsi
	leaq	datas(%rip), %rax
	movq	%rax, %rdi
	call	qsort@PLT
	movl	$0, pcnt(%rip)
	movl	$0, -24(%rbp)
	jmp	.L37
.L40:
	movl	-24(%rbp), %eax
	addl	$1, %eax
	movl	%eax, -20(%rbp)
	jmp	.L38
.L39:
	movl	-20(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rdx
	leaq	datas(%rip), %rax
	movl	(%rdx,%rax), %edx
	movl	-24(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rcx
	leaq	datas(%rip), %rax
	movl	(%rcx,%rax), %esi
	movl	pcnt(%rip), %eax
	movl	%edx, %ecx
	subl	%esi, %ecx
	cltq
	leaq	0(,%rax,8), %rdx
	leaq	ptn(%rip), %rax
	movl	%ecx, (%rdx,%rax)
	movl	-20(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rdx
	leaq	4+datas(%rip), %rax
	movl	(%rdx,%rax), %edx
	movl	-24(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rcx
	leaq	4+datas(%rip), %rax
	movl	(%rcx,%rax), %esi
	movl	pcnt(%rip), %eax
	movl	%edx, %ecx
	subl	%esi, %ecx
	cltq
	leaq	0(,%rax,8), %rdx
	leaq	4+ptn(%rip), %rax
	movl	%ecx, (%rdx,%rax)
	movl	pcnt(%rip), %eax
	addl	$1, %eax
	movl	%eax, pcnt(%rip)
	addl	$1, -20(%rbp)
.L38:
	movl	n(%rip), %eax
	cmpl	%eax, -20(%rbp)
	jl	.L39
	addl	$1, -24(%rbp)
.L37:
	movl	n(%rip), %eax
	cmpl	%eax, -24(%rbp)
	jl	.L40
	movl	pcnt(%rip), %eax
	cltq
	leaq	sortfnc(%rip), %rdx
	movq	%rdx, %rcx
	movl	$8, %edx
	movq	%rax, %rsi
	leaq	ptn(%rip), %rax
	movq	%rax, %rdi
	call	qsort@PLT
	movl	ptn(%rip), %eax
	movl	%eax, -16(%rbp)
	movl	4+ptn(%rip), %eax
	movl	%eax, -12(%rbp)
	movl	$1, -8(%rbp)
	movl	-8(%rbp), %eax
	movl	%eax, -4(%rbp)
	movl	$1, -24(%rbp)
	jmp	.L41
.L44:
	movl	-24(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rdx
	leaq	ptn(%rip), %rax
	movl	(%rdx,%rax), %eax
	cmpl	%eax, -16(%rbp)
	jne	.L42
	movl	-24(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rdx
	leaq	4+ptn(%rip), %rax
	movl	(%rdx,%rax), %eax
	cmpl	%eax, -12(%rbp)
	jne	.L42
	addl	$1, -8(%rbp)
	movl	-8(%rbp), %edx
	movl	-4(%rbp), %eax
	movl	%edx, %esi
	movl	%eax, %edi
	call	getmax
	movl	%eax, -4(%rbp)
	jmp	.L43
.L42:
	movl	-24(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rdx
	leaq	ptn(%rip), %rax
	movl	(%rdx,%rax), %eax
	movl	%eax, -16(%rbp)
	movl	-24(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rdx
	leaq	4+ptn(%rip), %rax
	movl	(%rdx,%rax), %eax
	movl	%eax, -12(%rbp)
	movl	$1, -8(%rbp)
.L43:
	addl	$1, -24(%rbp)
.L41:
	movl	pcnt(%rip), %eax
	cmpl	%eax, -24(%rbp)
	jl	.L44
	movl	n(%rip), %eax
	subl	-4(%rbp), %eax
.L34:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE16:
	.size	fnc2, .-fnc2
	.globl	fnc1
	.type	fnc1, @function
fnc1:
.LFB17:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$16, %rsp
	movl	$0, %eax
	call	fnc2
	movl	%eax, -4(%rbp)
	movl	-4(%rbp), %eax
	movl	%eax, %edi
	call	outi
	movl	$0, %eax
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE17:
	.size	fnc1, .-fnc1
	.globl	main
	.type	main, @function
main:
.LFB18:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	movq	stdin(%rip), %rax
	movq	%rax, in(%rip)
	movl	$0, %eax
	call	fnc1
	movl	$0, %eax
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE18:
	.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	sortfnc
	.type	sortfnc, @function
sortfnc:
.LFB60:
	.cfi_startproc
	endbr64
	movl	(%rsi), %edx
	movl	$1, %eax
	cmpl	%edx, (%rdi)
	jg	.L1
	movl	$-1, %eax
	jl	.L1
	movl	4(%rsi), %ecx
	movl	$1, %eax
	cmpl	%ecx, 4(%rdi)
	jg	.L1
	setl	%al
	movzbl	%al, %eax
	negl	%eax
.L1:
	ret
	.cfi_endproc
.LFE60:
	.size	sortfnc, .-sortfnc
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d"
	.text
	.p2align 4
	.type	fnc2.part.0, @function
fnc2.part.0:
.LFB65:
	.cfi_startproc
	pushq	%r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	pushq	%r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	pushq	%r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	pushq	%rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	pushq	%rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	leaq	datas(%rip), %rbx
	subq	$16, %rsp
	.cfi_def_cfa_offset 64
	movq	%fs:40, %rax
	movq	%rax, 8(%rsp)
	movl	n(%rip), %eax
	testl	%eax, %eax
	jle	.L8
	xorl	%ebp, %ebp
	leaq	4(%rsp), %r13
	leaq	.LC0(%rip), %r12
	leaq	4(%rbx), %r14
	.p2align 4,,10
	.p2align 3
.L9:
	movq	in(%rip), %rdi
	movq	%r13, %rdx
	movq	%r12, %rsi
	xorl	%eax, %eax
	call	__isoc99_fscanf@PLT
	movl	4(%rsp), %eax
	movq	%r13, %rdx
	movq	%r12, %rsi
	movq	in(%rip), %rdi
	movl	%eax, (%rbx,%rbp,8)
	xorl	%eax, %eax
	call	__isoc99_fscanf@PLT
	movl	4(%rsp), %eax
	movl	%eax, (%r14,%rbp,8)
	movl	n(%rip), %eax
	addq	$1, %rbp
	cmpl	%ebp, %eax
	jg	.L9
.L8:
	leaq	sortfnc(%rip), %r12
	movslq	%eax, %rsi
	movl	$8, %edx
	movq	%rbx, %rdi
	movq	%r12, %rcx
	call	qsort@PLT
	movl	n(%rip), %r13d
	movl	$0, pcnt(%rip)
	testl	%r13d, %r13d
	jle	.L37
	leal	-1(%r13), %esi
	leaq	8+datas(%rip), %rcx
	movl	%r13d, %r8d
	xorl	%ebp, %ebp
	xorl	%edx, %edx
	xorl	%r11d, %r11d
	leaq	ptn(%rip), %r10
	.p2align 4,,10
	.p2align 3
.L17:
	movl	%r13d, %eax
	subl	%esi, %eax
	cmpl	%r13d, %eax
	jge	.L12
	movq	-8(%rcx), %xmm2
	cmpl	$2, %r8d
	je	.L23
	movl	%esi, %edx
	movdqa	%xmm2, %xmm1
	movslq	%r11d, %r9
	xorl	%eax, %eax
	shrl	%edx
	punpcklqdq	%xmm2, %xmm1
	leaq	(%r10,%r9,8), %rdi
	salq	$4, %rdx
	.p2align 4,,10
	.p2align 3
.L14:
	movdqu	(%rcx,%rax), %xmm0
	psubd	%xmm1, %xmm0
	movups	%xmm0, (%rdi,%rax)
	addq	$16, %rax
	cmpq	%rdx, %rax
	jne	.L14
	movl	%esi, %eax
	andl	$-2, %eax
	testb	$1, %sil
	je	.L16
.L13:
	addq	%rax, %r9
	leaq	1(%rbp,%rax), %rax
	movq	(%rbx,%rax,8), %xmm0
	psubd	%xmm2, %xmm0
	movq	%xmm0, (%r10,%r9,8)
.L16:
	leal	-1(%r11,%r8), %r11d
	movl	$1, %edx
.L12:
	subl	$1, %esi
	addq	$1, %rbp
	subl	$1, %r8d
	addq	$8, %rcx
	cmpl	$-1, %esi
	jne	.L17
	testb	%dl, %dl
	je	.L18
	movl	%r11d, pcnt(%rip)
	movslq	%r11d, %rsi
.L11:
	movq	%r12, %rcx
	movl	$8, %edx
	movq	%r10, %rdi
	call	qsort@PLT
	movl	pcnt(%rip), %esi
	movl	ptn(%rip), %edx
	movl	4+ptn(%rip), %ecx
	cmpl	$1, %esi
	jle	.L24
	leaq	8+ptn(%rip), %rax
	leal	-2(%rsi), %edi
	movl	$1, %r10d
	leaq	8(%rax), %rsi
	leaq	(%rsi,%rdi,8), %r9
	movl	$1, %edi
	jmp	.L21
	.p2align 4,,10
	.p2align 3
.L26:
	addq	$8, %rax
	movl	$1, %edi
	cmpq	%rax, %r9
	je	.L19
.L21:
	movl	%edx, %esi
	movl	(%rax), %edx
	movl	%ecx, %r8d
	movl	4(%rax), %ecx
	cmpl	%edx, %esi
	jne	.L26
	cmpl	%ecx, %r8d
	jne	.L26
	addl	$1, %edi
	cmpl	%edi, %r10d
	cmovl	%edi, %r10d
	addq	$8, %rax
	cmpq	%rax, %r9
	jne	.L21
	.p2align 4,,10
	.p2align 3
.L19:
	movl	n(%rip), %eax
	subl	%r10d, %eax
	movq	8(%rsp), %rdx
	subq	%fs:40, %rdx
	jne	.L38
	addq	$16, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	popq	%rbx
	.cfi_def_cfa_offset 40
	popq	%rbp
	.cfi_def_cfa_offset 32
	popq	%r12
	.cfi_def_cfa_offset 24
	popq	%r13
	.cfi_def_cfa_offset 16
	popq	%r14
	.cfi_def_cfa_offset 8
	ret
.L23:
	.cfi_restore_state
	xorl	%eax, %eax
	movslq	%r11d, %r9
	jmp	.L13
.L37:
	leaq	ptn(%rip), %r10
.L18:
	xorl	%esi, %esi
	jmp	.L11
.L24:
	movl	$1, %r10d
	jmp	.L19
.L38:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE65:
	.size	fnc2.part.0, .-fnc2.part.0
	.p2align 4
	.globl	out
	.type	out, @function
out:
.LFB51:
	.cfi_startproc
	endbr64
	subq	$8, %rsp
	.cfi_def_cfa_offset 16
	movq	%rdi, %rsi
	xorl	%eax, %eax
	movl	$1, %edi
	call	__printf_chk@PLT
	xorl	%eax, %eax
	addq	$8, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE51:
	.size	out, .-out
	.section	.rodata.str1.1
.LC1:
	.string	"%d\n"
	.text
	.p2align 4
	.globl	outi
	.type	outi, @function
outi:
.LFB52:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movl	%edi, %r8d
	movl	$1, %esi
	leaq	.LC1(%rip), %rcx
	movl	$128, %edx
	subq	$144, %rsp
	.cfi_def_cfa_offset 160
	movq	%fs:40, %rax
	movq	%rax, 136(%rsp)
	xorl	%eax, %eax
	movq	%rsp, %rbp
	movq	%rbp, %rdi
	call	__sprintf_chk@PLT
	xorl	%eax, %eax
	movq	%rbp, %rsi
	movl	$1, %edi
	call	__printf_chk@PLT
	movq	136(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L44
	addq	$144, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 16
	xorl	%eax, %eax
	popq	%rbp
	.cfi_def_cfa_offset 8
	ret
.L44:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE52:
	.size	outi, .-outi
	.section	.rodata.str1.1
.LC2:
	.string	"%.10lf\n"
	.text
	.p2align 4
	.globl	outd
	.type	outd, @function
outd:
.LFB53:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movl	$1, %esi
	movl	$128, %edx
	leaq	.LC2(%rip), %rcx
	subq	$144, %rsp
	.cfi_def_cfa_offset 160
	movq	%fs:40, %rax
	movq	%rax, 136(%rsp)
	xorl	%eax, %eax
	movq	%rsp, %rbp
	movl	$1, %eax
	movq	%rbp, %rdi
	call	__sprintf_chk@PLT
	xorl	%eax, %eax
	movq	%rbp, %rsi
	movl	$1, %edi
	call	__printf_chk@PLT
	movq	136(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L48
	addq	$144, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 16
	xorl	%eax, %eax
	popq	%rbp
	.cfi_def_cfa_offset 8
	ret
.L48:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE53:
	.size	outd, .-outd
	.section	.rodata.str1.1
.LC3:
	.string	"%lld\n"
	.text
	.p2align 4
	.globl	outll
	.type	outll, @function
outll:
.LFB54:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rdi, %r8
	movl	$1, %esi
	leaq	.LC3(%rip), %rcx
	movl	$128, %edx
	subq	$144, %rsp
	.cfi_def_cfa_offset 160
	movq	%fs:40, %rax
	movq	%rax, 136(%rsp)
	xorl	%eax, %eax
	movq	%rsp, %rbp
	movq	%rbp, %rdi
	call	__sprintf_chk@PLT
	xorl	%eax, %eax
	movq	%rbp, %rsi
	movl	$1, %edi
	call	__printf_chk@PLT
	movq	136(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L52
	addq	$144, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 16
	xorl	%eax, %eax
	popq	%rbp
	.cfi_def_cfa_offset 8
	ret
.L52:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE54:
	.size	outll, .-outll
	.p2align 4
	.globl	geti
	.type	geti, @function
geti:
.LFB55:
	.cfi_startproc
	endbr64
	subq	$24, %rsp
	.cfi_def_cfa_offset 32
	movq	in(%rip), %rdi
	leaq	.LC0(%rip), %rsi
	movq	%fs:40, %rax
	movq	%rax, 8(%rsp)
	xorl	%eax, %eax
	leaq	4(%rsp), %rdx
	call	__isoc99_fscanf@PLT
	movl	4(%rsp), %eax
	movq	8(%rsp), %rdx
	subq	%fs:40, %rdx
	jne	.L56
	addq	$24, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
.L56:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE55:
	.size	geti, .-geti
	.section	.rodata.str1.1
.LC4:
	.string	"%lld"
	.text
	.p2align 4
	.globl	getll
	.type	getll, @function
getll:
.LFB56:
	.cfi_startproc
	endbr64
	subq	$24, %rsp
	.cfi_def_cfa_offset 32
	movq	in(%rip), %rdi
	leaq	.LC4(%rip), %rsi
	movq	%fs:40, %rax
	movq	%rax, 8(%rsp)
	xorl	%eax, %eax
	movq	%rsp, %rdx
	call	__isoc99_fscanf@PLT
	movq	(%rsp), %rax
	movq	8(%rsp), %rdx
	subq	%fs:40, %rdx
	jne	.L60
	addq	$24, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
.L60:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE56:
	.size	getll, .-getll
	.section	.rodata.str1.1
.LC5:
	.string	"%s"
	.text
	.p2align 4
	.globl	getstr
	.type	getstr, @function
getstr:
.LFB57:
	.cfi_startproc
	endbr64
	subq	$8, %rsp
	.cfi_def_cfa_offset 16
	movq	%rdi, %rdx
	movq	in(%rip), %rdi
	xorl	%eax, %eax
	leaq	.LC5(%rip), %rsi
	call	__isoc99_fscanf@PLT
	xorl	%eax, %eax
	addq	$8, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE57:
	.size	getstr, .-getstr
	.p2align 4
	.globl	getmin
	.type	getmin, @function
getmin:
.LFB58:
	.cfi_startproc
	endbr64
	cmpl	%esi, %edi
	movl	%esi, %eax
	cmovle	%edi, %eax
	ret
	.cfi_endproc
.LFE58:
	.size	getmin, .-getmin
	.p2align 4
	.globl	getmax
	.type	getmax, @function
getmax:
.LFB59:
	.cfi_startproc
	endbr64
	cmpl	%esi, %edi
	movl	%esi, %eax
	cmovge	%edi, %eax
	ret
	.cfi_endproc
.LFE59:
	.size	getmax, .-getmax
	.p2align 4
	.globl	fnc2
	.type	fnc2, @function
fnc2:
.LFB61:
	.cfi_startproc
	endbr64
	subq	$24, %rsp
	.cfi_def_cfa_offset 32
	movq	in(%rip), %rdi
	leaq	.LC0(%rip), %rsi
	movq	%fs:40, %rax
	movq	%rax, 8(%rsp)
	xorl	%eax, %eax
	leaq	4(%rsp), %rdx
	call	__isoc99_fscanf@PLT
	movl	4(%rsp), %eax
	movl	%eax, n(%rip)
	cmpl	$2, %eax
	jle	.L66
	movq	8(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L70
	xorl	%eax, %eax
	addq	$24, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	jmp	fnc2.part.0
.L66:
	.cfi_restore_state
	movq	8(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L70
	movl	$1, %eax
	addq	$24, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
.L70:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE61:
	.size	fnc2, .-fnc2
	.p2align 4
	.globl	fnc1
	.type	fnc1, @function
fnc1:
.LFB62:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	leaq	.LC0(%rip), %rsi
	subq	$160, %rsp
	.cfi_def_cfa_offset 176
	movq	in(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, 152(%rsp)
	xorl	%eax, %eax
	leaq	12(%rsp), %rdx
	call	__isoc99_fscanf@PLT
	movl	12(%rsp), %eax
	movl	$1, %r8d
	movl	%eax, n(%rip)
	cmpl	$2, %eax
	jle	.L72
	xorl	%eax, %eax
	call	fnc2.part.0
	movl	%eax, %r8d
.L72:
	leaq	16(%rsp), %rbp
	movl	$1, %esi
	xorl	%eax, %eax
	movl	$128, %edx
	movq	%rbp, %rdi
	leaq	.LC1(%rip), %rcx
	call	__sprintf_chk@PLT
	xorl	%eax, %eax
	movq	%rbp, %rsi
	movl	$1, %edi
	call	__printf_chk@PLT
	movq	152(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L77
	addq	$160, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 16
	xorl	%eax, %eax
	popq	%rbp
	.cfi_def_cfa_offset 8
	ret
.L77:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE62:
	.size	fnc1, .-fnc1
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB63:
	.cfi_startproc
	endbr64
	subq	$8, %rsp
	.cfi_def_cfa_offset 16
	movq	stdin(%rip), %rax
	movq	%rax, in(%rip)
	xorl	%eax, %eax
	call	fnc2
	movl	%eax, %edi
	call	outi
	xorl	%eax, %eax
	addq	$8, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE63:
	.size	main, .-main
	.globl	pcnt
	.bss
	.align 4
	.type	pcnt, @object
	.size	pcnt, 4
pcnt:
	.zero	4
	.globl	ptn
	.align 32
	.type	ptn, @object
	.size	ptn, 20000
ptn:
	.zero	20000
	.globl	datas
	.align 32
	.type	datas, @object
	.size	datas, 400
datas:
	.zero	400
	.globl	n
	.align 4
	.type	n, @object
	.size	n, 4
n:
	.zero	4
	.globl	tno
	.align 4
	.type	tno, @object
	.size	tno, 4
tno:
	.zero	4
	.globl	ans
	.align 8
	.type	ans, @object
	.size	ans, 8
ans:
	.zero	8
	.globl	in
	.align 8
	.type	in, @object
	.size	in, 8
in:
	.zero	8
	.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	sortfnc
	.type	sortfnc, @function
sortfnc:
.LFB60:
	.cfi_startproc
	endbr64
	movl	(%rsi), %edx
	movl	$1, %eax
	cmpl	%edx, (%rdi)
	jg	.L1
	movl	$-1, %eax
	jl	.L1
	movl	4(%rsi), %ecx
	movl	$1, %eax
	cmpl	%ecx, 4(%rdi)
	jg	.L1
	setl	%al
	movzbl	%al, %eax
	negl	%eax
.L1:
	ret
	.cfi_endproc
.LFE60:
	.size	sortfnc, .-sortfnc
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d"
	.text
	.p2align 4
	.type	fnc2.part.0, @function
fnc2.part.0:
.LFB65:
	.cfi_startproc
	pushq	%r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	pushq	%r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	pushq	%r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	pushq	%rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	pushq	%rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	leaq	datas(%rip), %rbx
	subq	$16, %rsp
	.cfi_def_cfa_offset 64
	movq	%fs:40, %rax
	movq	%rax, 8(%rsp)
	movl	n(%rip), %eax
	testl	%eax, %eax
	jle	.L8
	xorl	%ebp, %ebp
	leaq	4(%rsp), %r13
	leaq	.LC0(%rip), %r12
	leaq	4(%rbx), %r14
	.p2align 4,,10
	.p2align 3
.L9:
	movq	in(%rip), %rdi
	movq	%r13, %rdx
	movq	%r12, %rsi
	xorl	%eax, %eax
	call	__isoc99_fscanf@PLT
	movl	4(%rsp), %eax
	movq	%r13, %rdx
	movq	%r12, %rsi
	movq	in(%rip), %rdi
	movl	%eax, (%rbx,%rbp,8)
	xorl	%eax, %eax
	call	__isoc99_fscanf@PLT
	movl	4(%rsp), %eax
	movl	%eax, (%r14,%rbp,8)
	movl	n(%rip), %eax
	addq	$1, %rbp
	cmpl	%ebp, %eax
	jg	.L9
.L8:
	leaq	sortfnc(%rip), %r12
	movslq	%eax, %rsi
	movl	$8, %edx
	movq	%rbx, %rdi
	movq	%r12, %rcx
	call	qsort@PLT
	movl	n(%rip), %r13d
	movl	$0, pcnt(%rip)
	testl	%r13d, %r13d
	jle	.L37
	leal	-1(%r13), %esi
	leaq	8+datas(%rip), %rcx
	movl	%r13d, %r8d
	xorl	%ebp, %ebp
	xorl	%edx, %edx
	xorl	%r11d, %r11d
	leaq	ptn(%rip), %r10
	.p2align 4,,10
	.p2align 3
.L17:
	movl	%r13d, %eax
	subl	%esi, %eax
	cmpl	%r13d, %eax
	jge	.L12
	movq	-8(%rcx), %xmm2
	cmpl	$2, %r8d
	je	.L23
	movl	%esi, %edx
	movdqa	%xmm2, %xmm1
	movslq	%r11d, %r9
	xorl	%eax, %eax
	shrl	%edx
	punpcklqdq	%xmm2, %xmm1
	leaq	(%r10,%r9,8), %rdi
	salq	$4, %rdx
	.p2align 4,,10
	.p2align 3
.L14:
	movdqu	(%rcx,%rax), %xmm0
	psubd	%xmm1, %xmm0
	movups	%xmm0, (%rdi,%rax)
	addq	$16, %rax
	cmpq	%rdx, %rax
	jne	.L14
	movl	%esi, %eax
	andl	$-2, %eax
	testb	$1, %sil
	je	.L16
.L13:
	addq	%rax, %r9
	leaq	1(%rbp,%rax), %rax
	movq	(%rbx,%rax,8), %xmm0
	psubd	%xmm2, %xmm0
	movq	%xmm0, (%r10,%r9,8)
.L16:
	leal	-1(%r11,%r8), %r11d
	movl	$1, %edx
.L12:
	subl	$1, %esi
	addq	$1, %rbp
	subl	$1, %r8d
	addq	$8, %rcx
	cmpl	$-1, %esi
	jne	.L17
	testb	%dl, %dl
	je	.L18
	movl	%r11d, pcnt(%rip)
	movslq	%r11d, %rsi
.L11:
	movq	%r12, %rcx
	movl	$8, %edx
	movq	%r10, %rdi
	call	qsort@PLT
	movl	pcnt(%rip), %esi
	movl	ptn(%rip), %edx
	movl	4+ptn(%rip), %ecx
	cmpl	$1, %esi
	jle	.L24
	leaq	8+ptn(%rip), %rax
	leal	-2(%rsi), %edi
	movl	$1, %r10d
	leaq	8(%rax), %rsi
	leaq	(%rsi,%rdi,8), %r9
	movl	$1, %edi
	jmp	.L21
	.p2align 4,,10
	.p2align 3
.L26:
	addq	$8, %rax
	movl	$1, %edi
	cmpq	%rax, %r9
	je	.L19
.L21:
	movl	%edx, %esi
	movl	(%rax), %edx
	movl	%ecx, %r8d
	movl	4(%rax), %ecx
	cmpl	%edx, %esi
	jne	.L26
	cmpl	%ecx, %r8d
	jne	.L26
	addl	$1, %edi
	cmpl	%edi, %r10d
	cmovl	%edi, %r10d
	addq	$8, %rax
	cmpq	%rax, %r9
	jne	.L21
	.p2align 4,,10
	.p2align 3
.L19:
	movl	n(%rip), %eax
	subl	%r10d, %eax
	movq	8(%rsp), %rdx
	subq	%fs:40, %rdx
	jne	.L38
	addq	$16, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	popq	%rbx
	.cfi_def_cfa_offset 40
	popq	%rbp
	.cfi_def_cfa_offset 32
	popq	%r12
	.cfi_def_cfa_offset 24
	popq	%r13
	.cfi_def_cfa_offset 16
	popq	%r14
	.cfi_def_cfa_offset 8
	ret
.L23:
	.cfi_restore_state
	xorl	%eax, %eax
	movslq	%r11d, %r9
	jmp	.L13
.L37:
	leaq	ptn(%rip), %r10
.L18:
	xorl	%esi, %esi
	jmp	.L11
.L24:
	movl	$1, %r10d
	jmp	.L19
.L38:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE65:
	.size	fnc2.part.0, .-fnc2.part.0
	.p2align 4
	.globl	out
	.type	out, @function
out:
.LFB51:
	.cfi_startproc
	endbr64
	subq	$8, %rsp
	.cfi_def_cfa_offset 16
	movq	%rdi, %rsi
	xorl	%eax, %eax
	movl	$1, %edi
	call	__printf_chk@PLT
	xorl	%eax, %eax
	addq	$8, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE51:
	.size	out, .-out
	.section	.rodata.str1.1
.LC1:
	.string	"%d\n"
	.text
	.p2align 4
	.globl	outi
	.type	outi, @function
outi:
.LFB52:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movl	%edi, %r8d
	movl	$1, %esi
	leaq	.LC1(%rip), %rcx
	movl	$128, %edx
	subq	$144, %rsp
	.cfi_def_cfa_offset 160
	movq	%fs:40, %rax
	movq	%rax, 136(%rsp)
	xorl	%eax, %eax
	movq	%rsp, %rbp
	movq	%rbp, %rdi
	call	__sprintf_chk@PLT
	xorl	%eax, %eax
	movq	%rbp, %rsi
	movl	$1, %edi
	call	__printf_chk@PLT
	movq	136(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L44
	addq	$144, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 16
	xorl	%eax, %eax
	popq	%rbp
	.cfi_def_cfa_offset 8
	ret
.L44:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE52:
	.size	outi, .-outi
	.section	.rodata.str1.1
.LC2:
	.string	"%.10lf\n"
	.text
	.p2align 4
	.globl	outd
	.type	outd, @function
outd:
.LFB53:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movl	$1, %esi
	movl	$128, %edx
	leaq	.LC2(%rip), %rcx
	subq	$144, %rsp
	.cfi_def_cfa_offset 160
	movq	%fs:40, %rax
	movq	%rax, 136(%rsp)
	xorl	%eax, %eax
	movq	%rsp, %rbp
	movl	$1, %eax
	movq	%rbp, %rdi
	call	__sprintf_chk@PLT
	xorl	%eax, %eax
	movq	%rbp, %rsi
	movl	$1, %edi
	call	__printf_chk@PLT
	movq	136(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L48
	addq	$144, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 16
	xorl	%eax, %eax
	popq	%rbp
	.cfi_def_cfa_offset 8
	ret
.L48:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE53:
	.size	outd, .-outd
	.section	.rodata.str1.1
.LC3:
	.string	"%lld\n"
	.text
	.p2align 4
	.globl	outll
	.type	outll, @function
outll:
.LFB54:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rdi, %r8
	movl	$1, %esi
	leaq	.LC3(%rip), %rcx
	movl	$128, %edx
	subq	$144, %rsp
	.cfi_def_cfa_offset 160
	movq	%fs:40, %rax
	movq	%rax, 136(%rsp)
	xorl	%eax, %eax
	movq	%rsp, %rbp
	movq	%rbp, %rdi
	call	__sprintf_chk@PLT
	xorl	%eax, %eax
	movq	%rbp, %rsi
	movl	$1, %edi
	call	__printf_chk@PLT
	movq	136(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L52
	addq	$144, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 16
	xorl	%eax, %eax
	popq	%rbp
	.cfi_def_cfa_offset 8
	ret
.L52:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE54:
	.size	outll, .-outll
	.p2align 4
	.globl	geti
	.type	geti, @function
geti:
.LFB55:
	.cfi_startproc
	endbr64
	subq	$24, %rsp
	.cfi_def_cfa_offset 32
	movq	in(%rip), %rdi
	leaq	.LC0(%rip), %rsi
	movq	%fs:40, %rax
	movq	%rax, 8(%rsp)
	xorl	%eax, %eax
	leaq	4(%rsp), %rdx
	call	__isoc99_fscanf@PLT
	movl	4(%rsp), %eax
	movq	8(%rsp), %rdx
	subq	%fs:40, %rdx
	jne	.L56
	addq	$24, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
.L56:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE55:
	.size	geti, .-geti
	.section	.rodata.str1.1
.LC4:
	.string	"%lld"
	.text
	.p2align 4
	.globl	getll
	.type	getll, @function
getll:
.LFB56:
	.cfi_startproc
	endbr64
	subq	$24, %rsp
	.cfi_def_cfa_offset 32
	movq	in(%rip), %rdi
	leaq	.LC4(%rip), %rsi
	movq	%fs:40, %rax
	movq	%rax, 8(%rsp)
	xorl	%eax, %eax
	movq	%rsp, %rdx
	call	__isoc99_fscanf@PLT
	movq	(%rsp), %rax
	movq	8(%rsp), %rdx
	subq	%fs:40, %rdx
	jne	.L60
	addq	$24, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
.L60:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE56:
	.size	getll, .-getll
	.section	.rodata.str1.1
.LC5:
	.string	"%s"
	.text
	.p2align 4
	.globl	getstr
	.type	getstr, @function
getstr:
.LFB57:
	.cfi_startproc
	endbr64
	subq	$8, %rsp
	.cfi_def_cfa_offset 16
	movq	%rdi, %rdx
	movq	in(%rip), %rdi
	xorl	%eax, %eax
	leaq	.LC5(%rip), %rsi
	call	__isoc99_fscanf@PLT
	xorl	%eax, %eax
	addq	$8, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE57:
	.size	getstr, .-getstr
	.p2align 4
	.globl	getmin
	.type	getmin, @function
getmin:
.LFB58:
	.cfi_startproc
	endbr64
	cmpl	%esi, %edi
	movl	%esi, %eax
	cmovle	%edi, %eax
	ret
	.cfi_endproc
.LFE58:
	.size	getmin, .-getmin
	.p2align 4
	.globl	getmax
	.type	getmax, @function
getmax:
.LFB59:
	.cfi_startproc
	endbr64
	cmpl	%esi, %edi
	movl	%esi, %eax
	cmovge	%edi, %eax
	ret
	.cfi_endproc
.LFE59:
	.size	getmax, .-getmax
	.p2align 4
	.globl	fnc2
	.type	fnc2, @function
fnc2:
.LFB61:
	.cfi_startproc
	endbr64
	subq	$24, %rsp
	.cfi_def_cfa_offset 32
	movq	in(%rip), %rdi
	leaq	.LC0(%rip), %rsi
	movq	%fs:40, %rax
	movq	%rax, 8(%rsp)
	xorl	%eax, %eax
	leaq	4(%rsp), %rdx
	call	__isoc99_fscanf@PLT
	movl	4(%rsp), %eax
	movl	%eax, n(%rip)
	cmpl	$2, %eax
	jle	.L66
	movq	8(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L70
	xorl	%eax, %eax
	addq	$24, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	jmp	fnc2.part.0
.L66:
	.cfi_restore_state
	movq	8(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L70
	movl	$1, %eax
	addq	$24, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
.L70:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE61:
	.size	fnc2, .-fnc2
	.p2align 4
	.globl	fnc1
	.type	fnc1, @function
fnc1:
.LFB62:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	leaq	.LC0(%rip), %rsi
	subq	$160, %rsp
	.cfi_def_cfa_offset 176
	movq	in(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, 152(%rsp)
	xorl	%eax, %eax
	leaq	12(%rsp), %rdx
	call	__isoc99_fscanf@PLT
	movl	12(%rsp), %eax
	movl	$1, %r8d
	movl	%eax, n(%rip)
	cmpl	$2, %eax
	jle	.L72
	xorl	%eax, %eax
	call	fnc2.part.0
	movl	%eax, %r8d
.L72:
	leaq	16(%rsp), %rbp
	movl	$1, %esi
	xorl	%eax, %eax
	movl	$128, %edx
	movq	%rbp, %rdi
	leaq	.LC1(%rip), %rcx
	call	__sprintf_chk@PLT
	xorl	%eax, %eax
	movq	%rbp, %rsi
	movl	$1, %edi
	call	__printf_chk@PLT
	movq	152(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L77
	addq	$160, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 16
	xorl	%eax, %eax
	popq	%rbp
	.cfi_def_cfa_offset 8
	ret
.L77:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE62:
	.size	fnc1, .-fnc1
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB63:
	.cfi_startproc
	endbr64
	subq	$8, %rsp
	.cfi_def_cfa_offset 16
	movq	stdin(%rip), %rax
	movq	%rax, in(%rip)
	xorl	%eax, %eax
	call	fnc2
	movl	%eax, %edi
	call	outi
	xorl	%eax, %eax
	addq	$8, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE63:
	.size	main, .-main
	.globl	pcnt
	.bss
	.align 4
	.type	pcnt, @object
	.size	pcnt, 4
pcnt:
	.zero	4
	.globl	ptn
	.align 32
	.type	ptn, @object
	.size	ptn, 20000
ptn:
	.zero	20000
	.globl	datas
	.align 32
	.type	datas, @object
	.size	datas, 400
datas:
	.zero	400
	.globl	n
	.align 4
	.type	n, @object
	.size	n, 4
n:
	.zero	4
	.globl	tno
	.align 4
	.type	tno, @object
	.size	tno, 4
tno:
	.zero	4
	.globl	ans
	.align 8
	.type	ans, @object
	.size	ans, 8
ans:
	.zero	8
	.globl	in
	.align 8
	.type	in, @object
	.size	in, 8
in:
	.zero	8
	.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:


#define ll				long long
#define MOD				1000000007

#include <float.h>
#include <limits.h>
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>

FILE *in, *ans;
int tno;

int out(const char *s) {
#ifdef TEST
	char buf[8192];
	fgets(buf, sizeof(buf), ans);
	if (strcmp(buf, s)) {
		printf("err\n");
	}
#else
	printf(s);
#endif
	return 0;
}

int outi(int i) {
	char s[128];
	sprintf(s, "%d\n", i);
	out(s);
	return 0;
}

int outd(double d) {
	char s[128];
	sprintf(s, "%.10lf\n", d);
	out(s);
	return 0;
}

int outll(ll l) {
	char s[128];
	sprintf(s, "%lld\n", l);
	out(s);
	return 0;
}

int geti() {
	int i;
	fscanf(in, "%d", &i);
	return i;
}

ll getll() {
	ll l;
	fscanf(in, "%lld", &l);
	return l;
}

int getstr(char *s) {
	fscanf(in, "%s", s);
	return 0;
}

int getmin(int val1, int val2) {
	if (val1 < val2) {
		return val1;
	}
	else {
		return val2;
	}
}

int getmax(int val1, int val2) {
	if (val1 > val2) {
		return val1;
	}
	else {
		return val2;
	}
}

typedef struct data {
	int x, y;
} data;


int sortfnc(const void *v1, const void *v2) {
	data *d1 = (data *)v1;
	data *d2 = (data *)v2;

	if (d1->x > d2->x) {
		return 1;
	}
	else if (d1->x < d2->x) {
		return -1;
	}

	if (d1->y > d2->y) {
		return 1;
	}
	else if (d1->y < d2->y) {
		return -1;
	}

	return 0;
}

int n;
data datas[50];
data ptn[2500];
int pcnt;

int fnc2() {
	int i, j;

	n = geti();
	if (n <= 2) {
		return 1;
	}

	for (i = 0; i < n; i++) {
		datas[i].x = geti();
		datas[i].y = geti();
	}
	qsort(datas, n, sizeof(data), sortfnc);

	pcnt = 0;
	for (i = 0; i < n; i++) {
		for (j = i + 1; j < n; j++) {
			ptn[pcnt].x = datas[j].x - datas[i].x;
			ptn[pcnt].y = datas[j].y - datas[i].y;
			pcnt++;
		}
	}
	qsort(ptn, pcnt, sizeof(data), sortfnc);

	int x = ptn[0].x;
	int y = ptn[0].y;
	int len = 1;
	int max = len;
	for (i = 1; i < pcnt; i++) {
		if (x == ptn[i].x && y == ptn[i].y) {
			len++;
			max = getmax(max, len);
		}
		else {
			x = ptn[i].x;
			y = ptn[i].y;
			len = 1;
		}
	}

	return n - max;
}

int fnc1() {
	int ret = fnc2();
	outi(ret);
	return 0;
}

int main() {

#ifdef TEST
	for (tno = TEST_SNO; tno <= TEST_ENO; tno++) {
		char str[128];
		sprintf(str, "test%d.txt", tno);
		in = fopen(str, "r");
		sprintf(str, "ans%d.txt", tno);
		ans = fopen(str, "r");
		fnc1();
		fclose(in);
		fclose(ans);
	}
	printf("end\n");
#else
	in = stdin;
	fnc1();
#endif

	return 0;
}

3
1 4
4 6
11 8
 2
1 2
2 2
 4
1 1
1 4
2 1
2 2
 3
1 4
4 6
11 3
 3
0 4
4 6
11 3
 3
-1 4
4 6
11 3
 3
-2 4
4 6
11 3
 3
-2 4
5 6
11 3
 3
-2 4
5 6
11 4
 3
-1 4
5 6
11 4

2
 1
 3
 2
 2
 2
 2
 2
 2
 2

Given the following C code and unoptimized assembly code, your task is to generate highly optimized x86-64 assembly code.
C Code:

```c

#define ll				long long
#define MOD				1000000007

#include <float.h>
#include <limits.h>
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>

FILE *in, *ans;
int tno;

int out(const char *s) {
#ifdef TEST
	char buf[8192];
	fgets(buf, sizeof(buf), ans);
	if (strcmp(buf, s)) {
		printf("err\n");
	}
#else
	printf(s);
#endif
	return 0;
}

int outi(int i) {
	char s[128];
	sprintf(s, "%d\n", i);
	out(s);
	return 0;
}

int outd(double d) {
	char s[128];
	sprintf(s, "%.10lf\n", d);
	out(s);
	return 0;
}

int outll(ll l) {
	char s[128];
	sprintf(s, "%lld\n", l);
	out(s);
	return 0;
}

int geti() {
	int i;
	fscanf(in, "%d", &i);
	return i;
}

ll getll() {
	ll l;
	fscanf(in, "%lld", &l);
	return l;
}

int getstr(char *s) {
	fscanf(in, "%s", s);
	return 0;
}

int getmin(int val1, int val2) {
	if (val1 < val2) {
		return val1;
	}
	else {
		return val2;
	}
}

int getmax(int val1, int val2) {
	if (val1 > val2) {
		return val1;
	}
	else {
		return val2;
	}
}

typedef struct data {
	int x, y;
} data;


int sortfnc(const void *v1, const void *v2) {
	data *d1 = (data *)v1;
	data *d2 = (data *)v2;

	if (d1->x > d2->x) {
		return 1;
	}
	else if (d1->x < d2->x) {
		return -1;
	}

	if (d1->y > d2->y) {
		return 1;
	}
	else if (d1->y < d2->y) {
		return -1;
	}

	return 0;
}

int n;
data datas[50];
data ptn[2500];
int pcnt;

int fnc2() {
	int i, j;

	n = geti();
	if (n <= 2) {
		return 1;
	}

	for (i = 0; i < n; i++) {
		datas[i].x = geti();
		datas[i].y = geti();
	}
	qsort(datas, n, sizeof(data), sortfnc);

	pcnt = 0;
	for (i = 0; i < n; i++) {
		for (j = i + 1; j < n; j++) {
			ptn[pcnt].x = datas[j].x - datas[i].x;
			ptn[pcnt].y = datas[j].y - datas[i].y;
			pcnt++;
		}
	}
	qsort(ptn, pcnt, sizeof(data), sortfnc);

	int x = ptn[0].x;
	int y = ptn[0].y;
	int len = 1;
	int max = len;
	for (i = 1; i < pcnt; i++) {
		if (x == ptn[i].x && y == ptn[i].y) {
			len++;
			max = getmax(max, len);
		}
		else {
			x = ptn[i].x;
			y = ptn[i].y;
			len = 1;
		}
	}

	return n - max;
}

int fnc1() {
	int ret = fnc2();
	outi(ret);
	return 0;
}

int main() {

#ifdef TEST
	for (tno = TEST_SNO; tno <= TEST_ENO; tno++) {
		char str[128];
		sprintf(str, "test%d.txt", tno);
		in = fopen(str, "r");
		sprintf(str, "ans%d.txt", tno);
		ans = fopen(str, "r");
		fnc1();
		fclose(in);
		fclose(ans);
	}
	printf("end\n");
#else
	in = stdin;
	fnc1();
#endif

	return 0;
}
```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.globl	in
	.bss
	.align 8
	.type	in, @object
	.size	in, 8
in:
	.zero	8
	.globl	ans
	.align 8
	.type	ans, @object
	.size	ans, 8
ans:
	.zero	8
	.globl	tno
	.align 4
	.type	tno, @object
	.size	tno, 4
tno:
	.zero	4
	.text
	.globl	out
	.type	out, @function
out:
.LFB6:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$16, %rsp
	movq	%rdi, -8(%rbp)
	movq	-8(%rbp), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, %eax
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	out, .-out
	.section	.rodata
.LC0:
	.string	"%d\n"
	.text
	.globl	outi
	.type	outi, @function
outi:
.LFB7:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$160, %rsp
	movl	%edi, -148(%rbp)
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movl	-148(%rbp), %edx
	leaq	-144(%rbp), %rax
	leaq	.LC0(%rip), %rcx
	movq	%rcx, %rsi
	movq	%rax, %rdi
	movl	$0, %eax
	call	sprintf@PLT
	leaq	-144(%rbp), %rax
	movq	%rax, %rdi
	call	out
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L5
	call	__stack_chk_fail@PLT
.L5:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	outi, .-outi
	.section	.rodata
.LC1:
	.string	"%.10lf\n"
	.text
	.globl	outd
	.type	outd, @function
outd:
.LFB8:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$160, %rsp
	movsd	%xmm0, -152(%rbp)
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movq	-152(%rbp), %rdx
	leaq	-144(%rbp), %rax
	movq	%rdx, %xmm0
	leaq	.LC1(%rip), %rdx
	movq	%rdx, %rsi
	movq	%rax, %rdi
	movl	$1, %eax
	call	sprintf@PLT
	leaq	-144(%rbp), %rax
	movq	%rax, %rdi
	call	out
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L8
	call	__stack_chk_fail@PLT
.L8:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	outd, .-outd
	.section	.rodata
.LC2:
	.string	"%lld\n"
	.text
	.globl	outll
	.type	outll, @function
outll:
.LFB9:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$160, %rsp
	movq	%rdi, -152(%rbp)
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movq	-152(%rbp), %rdx
	leaq	-144(%rbp), %rax
	leaq	.LC2(%rip), %rcx
	movq	%rcx, %rsi
	movq	%rax, %rdi
	movl	$0, %eax
	call	sprintf@PLT
	leaq	-144(%rbp), %rax
	movq	%rax, %rdi
	call	out
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L11
	call	__stack_chk_fail@PLT
.L11:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	outll, .-outll
	.section	.rodata
.LC3:
	.string	"%d"
	.text
	.globl	geti
	.type	geti, @function
geti:
.LFB10:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$16, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movq	in(%rip), %rax
	leaq	-12(%rbp), %rdx
	leaq	.LC3(%rip), %rcx
	movq	%rcx, %rsi
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_fscanf@PLT
	movl	-12(%rbp), %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L14
	call	__stack_chk_fail@PLT
.L14:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	geti, .-geti
	.section	.rodata
.LC4:
	.string	"%lld"
	.text
	.globl	getll
	.type	getll, @function
getll:
.LFB11:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$16, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movq	in(%rip), %rax
	leaq	-16(%rbp), %rdx
	leaq	.LC4(%rip), %rcx
	movq	%rcx, %rsi
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_fscanf@PLT
	movq	-16(%rbp), %rax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L17
	call	__stack_chk_fail@PLT
.L17:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	getll, .-getll
	.section	.rodata
.LC5:
	.string	"%s"
	.text
	.globl	getstr
	.type	getstr, @function
getstr:
.LFB12:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$16, %rsp
	movq	%rdi, -8(%rbp)
	movq	in(%rip), %rax
	movq	-8(%rbp), %rdx
	leaq	.LC5(%rip), %rcx
	movq	%rcx, %rsi
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_fscanf@PLT
	movl	$0, %eax
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	getstr, .-getstr
	.globl	getmin
	.type	getmin, @function
getmin:
.LFB13:
	.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	%esi, -8(%rbp)
	movl	-4(%rbp), %eax
	cmpl	-8(%rbp), %eax
	jge	.L21
	movl	-4(%rbp), %eax
	jmp	.L22
.L21:
	movl	-8(%rbp), %eax
.L22:
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	getmin, .-getmin
	.globl	getmax
	.type	getmax, @function
getmax:
.LFB14:
	.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	%esi, -8(%rbp)
	movl	-4(%rbp), %eax
	cmpl	-8(%rbp), %eax
	jle	.L24
	movl	-4(%rbp), %eax
	jmp	.L25
.L24:
	movl	-8(%rbp), %eax
.L25:
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE14:
	.size	getmax, .-getmax
	.globl	sortfnc
	.type	sortfnc, @function
sortfnc:
.LFB15:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	movq	%rdi, -24(%rbp)
	movq	%rsi, -32(%rbp)
	movq	-24(%rbp), %rax
	movq	%rax, -16(%rbp)
	movq	-32(%rbp), %rax
	movq	%rax, -8(%rbp)
	movq	-16(%rbp), %rax
	movl	(%rax), %edx
	movq	-8(%rbp), %rax
	movl	(%rax), %eax
	cmpl	%eax, %edx
	jle	.L27
	movl	$1, %eax
	jmp	.L28
.L27:
	movq	-16(%rbp), %rax
	movl	(%rax), %edx
	movq	-8(%rbp), %rax
	movl	(%rax), %eax
	cmpl	%eax, %edx
	jge	.L29
	movl	$-1, %eax
	jmp	.L28
.L29:
	movq	-16(%rbp), %rax
	movl	4(%rax), %edx
	movq	-8(%rbp), %rax
	movl	4(%rax), %eax
	cmpl	%eax, %edx
	jle	.L30
	movl	$1, %eax
	jmp	.L28
.L30:
	movq	-16(%rbp), %rax
	movl	4(%rax), %edx
	movq	-8(%rbp), %rax
	movl	4(%rax), %eax
	cmpl	%eax, %edx
	jge	.L31
	movl	$-1, %eax
	jmp	.L28
.L31:
	movl	$0, %eax
.L28:
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE15:
	.size	sortfnc, .-sortfnc
	.globl	n
	.bss
	.align 4
	.type	n, @object
	.size	n, 4
n:
	.zero	4
	.globl	datas
	.align 32
	.type	datas, @object
	.size	datas, 400
datas:
	.zero	400
	.globl	ptn
	.align 32
	.type	ptn, @object
	.size	ptn, 20000
ptn:
	.zero	20000
	.globl	pcnt
	.align 4
	.type	pcnt, @object
	.size	pcnt, 4
pcnt:
	.zero	4
	.text
	.globl	fnc2
	.type	fnc2, @function
fnc2:
.LFB16:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$32, %rsp
	movl	$0, %eax
	call	geti
	movl	%eax, n(%rip)
	movl	n(%rip), %eax
	cmpl	$2, %eax
	jg	.L33
	movl	$1, %eax
	jmp	.L34
.L33:
	movl	$0, -24(%rbp)
	jmp	.L35
.L36:
	movl	$0, %eax
	call	geti
	movl	-24(%rbp), %edx
	movslq	%edx, %rdx
	leaq	0(,%rdx,8), %rcx
	leaq	datas(%rip), %rdx
	movl	%eax, (%rcx,%rdx)
	movl	$0, %eax
	call	geti
	movl	-24(%rbp), %edx
	movslq	%edx, %rdx
	leaq	0(,%rdx,8), %rcx
	leaq	4+datas(%rip), %rdx
	movl	%eax, (%rcx,%rdx)
	addl	$1, -24(%rbp)
.L35:
	movl	n(%rip), %eax
	cmpl	%eax, -24(%rbp)
	jl	.L36
	movl	n(%rip), %eax
	cltq
	leaq	sortfnc(%rip), %rdx
	movq	%rdx, %rcx
	movl	$8, %edx
	movq	%rax, %rsi
	leaq	datas(%rip), %rax
	movq	%rax, %rdi
	call	qsort@PLT
	movl	$0, pcnt(%rip)
	movl	$0, -24(%rbp)
	jmp	.L37
.L40:
	movl	-24(%rbp), %eax
	addl	$1, %eax
	movl	%eax, -20(%rbp)
	jmp	.L38
.L39:
	movl	-20(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rdx
	leaq	datas(%rip), %rax
	movl	(%rdx,%rax), %edx
	movl	-24(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rcx
	leaq	datas(%rip), %rax
	movl	(%rcx,%rax), %esi
	movl	pcnt(%rip), %eax
	movl	%edx, %ecx
	subl	%esi, %ecx
	cltq
	leaq	0(,%rax,8), %rdx
	leaq	ptn(%rip), %rax
	movl	%ecx, (%rdx,%rax)
	movl	-20(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rdx
	leaq	4+datas(%rip), %rax
	movl	(%rdx,%rax), %edx
	movl	-24(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rcx
	leaq	4+datas(%rip), %rax
	movl	(%rcx,%rax), %esi
	movl	pcnt(%rip), %eax
	movl	%edx, %ecx
	subl	%esi, %ecx
	cltq
	leaq	0(,%rax,8), %rdx
	leaq	4+ptn(%rip), %rax
	movl	%ecx, (%rdx,%rax)
	movl	pcnt(%rip), %eax
	addl	$1, %eax
	movl	%eax, pcnt(%rip)
	addl	$1, -20(%rbp)
.L38:
	movl	n(%rip), %eax
	cmpl	%eax, -20(%rbp)
	jl	.L39
	addl	$1, -24(%rbp)
.L37:
	movl	n(%rip), %eax
	cmpl	%eax, -24(%rbp)
	jl	.L40
	movl	pcnt(%rip), %eax
	cltq
	leaq	sortfnc(%rip), %rdx
	movq	%rdx, %rcx
	movl	$8, %edx
	movq	%rax, %rsi
	leaq	ptn(%rip), %rax
	movq	%rax, %rdi
	call	qsort@PLT
	movl	ptn(%rip), %eax
	movl	%eax, -16(%rbp)
	movl	4+ptn(%rip), %eax
	movl	%eax, -12(%rbp)
	movl	$1, -8(%rbp)
	movl	-8(%rbp), %eax
	movl	%eax, -4(%rbp)
	movl	$1, -24(%rbp)
	jmp	.L41
.L44:
	movl	-24(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rdx
	leaq	ptn(%rip), %rax
	movl	(%rdx,%rax), %eax
	cmpl	%eax, -16(%rbp)
	jne	.L42
	movl	-24(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rdx
	leaq	4+ptn(%rip), %rax
	movl	(%rdx,%rax), %eax
	cmpl	%eax, -12(%rbp)
	jne	.L42
	addl	$1, -8(%rbp)
	movl	-8(%rbp), %edx
	movl	-4(%rbp), %eax
	movl	%edx, %esi
	movl	%eax, %edi
	call	getmax
	movl	%eax, -4(%rbp)
	jmp	.L43
.L42:
	movl	-24(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rdx
	leaq	ptn(%rip), %rax
	movl	(%rdx,%rax), %eax
	movl	%eax, -16(%rbp)
	movl	-24(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rdx
	leaq	4+ptn(%rip), %rax
	movl	(%rdx,%rax), %eax
	movl	%eax, -12(%rbp)
	movl	$1, -8(%rbp)
.L43:
	addl	$1, -24(%rbp)
.L41:
	movl	pcnt(%rip), %eax
	cmpl	%eax, -24(%rbp)
	jl	.L44
	movl	n(%rip), %eax
	subl	-4(%rbp), %eax
.L34:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE16:
	.size	fnc2, .-fnc2
	.globl	fnc1
	.type	fnc1, @function
fnc1:
.LFB17:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$16, %rsp
	movl	$0, %eax
	call	fnc2
	movl	%eax, -4(%rbp)
	movl	-4(%rbp), %eax
	movl	%eax, %edi
	call	outi
	movl	$0, %eax
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE17:
	.size	fnc1, .-fnc1
	.globl	main
	.type	main, @function
main:
.LFB18:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	movq	stdin(%rip), %rax
	movq	%rax, in(%rip)
	movl	$0, %eax
	call	fnc1
	movl	$0, %eax
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE18:
	.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	in
	.bss
	.align 8
	.type	in, @object
	.size	in, 8
in:
	.zero	8
	.globl	ans
	.align 8
	.type	ans, @object
	.size	ans, 8
ans:
	.zero	8
	.globl	tno
	.align 4
	.type	tno, @object
	.size	tno, 4
tno:
	.zero	4
	.text
	.globl	out
	.type	out, @function
out:
.LFB6:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$16, %rsp
	movq	%rdi, -8(%rbp)
	movq	-8(%rbp), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, %eax
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	out, .-out
	.section	.rodata
.LC0:
	.string	"%d\n"
	.text
	.globl	outi
	.type	outi, @function
outi:
.LFB7:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$160, %rsp
	movl	%edi, -148(%rbp)
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movl	-148(%rbp), %edx
	leaq	-144(%rbp), %rax
	leaq	.LC0(%rip), %rcx
	movq	%rcx, %rsi
	movq	%rax, %rdi
	movl	$0, %eax
	call	sprintf@PLT
	leaq	-144(%rbp), %rax
	movq	%rax, %rdi
	call	out
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L5
	call	__stack_chk_fail@PLT
.L5:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	outi, .-outi
	.section	.rodata
.LC1:
	.string	"%.10lf\n"
	.text
	.globl	outd
	.type	outd, @function
outd:
.LFB8:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$160, %rsp
	movsd	%xmm0, -152(%rbp)
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movq	-152(%rbp), %rdx
	leaq	-144(%rbp), %rax
	movq	%rdx, %xmm0
	leaq	.LC1(%rip), %rdx
	movq	%rdx, %rsi
	movq	%rax, %rdi
	movl	$1, %eax
	call	sprintf@PLT
	leaq	-144(%rbp), %rax
	movq	%rax, %rdi
	call	out
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L8
	call	__stack_chk_fail@PLT
.L8:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	outd, .-outd
	.section	.rodata
.LC2:
	.string	"%lld\n"
	.text
	.globl	outll
	.type	outll, @function
outll:
.LFB9:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$160, %rsp
	movq	%rdi, -152(%rbp)
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movq	-152(%rbp), %rdx
	leaq	-144(%rbp), %rax
	leaq	.LC2(%rip), %rcx
	movq	%rcx, %rsi
	movq	%rax, %rdi
	movl	$0, %eax
	call	sprintf@PLT
	leaq	-144(%rbp), %rax
	movq	%rax, %rdi
	call	out
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L11
	call	__stack_chk_fail@PLT
.L11:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	outll, .-outll
	.section	.rodata
.LC3:
	.string	"%d"
	.text
	.globl	geti
	.type	geti, @function
geti:
.LFB10:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$16, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movq	in(%rip), %rax
	leaq	-12(%rbp), %rdx
	leaq	.LC3(%rip), %rcx
	movq	%rcx, %rsi
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_fscanf@PLT
	movl	-12(%rbp), %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L14
	call	__stack_chk_fail@PLT
.L14:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	geti, .-geti
	.section	.rodata
.LC4:
	.string	"%lld"
	.text
	.globl	getll
	.type	getll, @function
getll:
.LFB11:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$16, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movq	in(%rip), %rax
	leaq	-16(%rbp), %rdx
	leaq	.LC4(%rip), %rcx
	movq	%rcx, %rsi
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_fscanf@PLT
	movq	-16(%rbp), %rax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L17
	call	__stack_chk_fail@PLT
.L17:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	getll, .-getll
	.section	.rodata
.LC5:
	.string	"%s"
	.text
	.globl	getstr
	.type	getstr, @function
getstr:
.LFB12:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$16, %rsp
	movq	%rdi, -8(%rbp)
	movq	in(%rip), %rax
	movq	-8(%rbp), %rdx
	leaq	.LC5(%rip), %rcx
	movq	%rcx, %rsi
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_fscanf@PLT
	movl	$0, %eax
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	getstr, .-getstr
	.globl	getmin
	.type	getmin, @function
getmin:
.LFB13:
	.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	%esi, -8(%rbp)
	movl	-4(%rbp), %eax
	cmpl	-8(%rbp), %eax
	jge	.L21
	movl	-4(%rbp), %eax
	jmp	.L22
.L21:
	movl	-8(%rbp), %eax
.L22:
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	getmin, .-getmin
	.globl	getmax
	.type	getmax, @function
getmax:
.LFB14:
	.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	%esi, -8(%rbp)
	movl	-4(%rbp), %eax
	cmpl	-8(%rbp), %eax
	jle	.L24
	movl	-4(%rbp), %eax
	jmp	.L25
.L24:
	movl	-8(%rbp), %eax
.L25:
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE14:
	.size	getmax, .-getmax
	.globl	sortfnc
	.type	sortfnc, @function
sortfnc:
.LFB15:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	movq	%rdi, -24(%rbp)
	movq	%rsi, -32(%rbp)
	movq	-24(%rbp), %rax
	movq	%rax, -16(%rbp)
	movq	-32(%rbp), %rax
	movq	%rax, -8(%rbp)
	movq	-16(%rbp), %rax
	movl	(%rax), %edx
	movq	-8(%rbp), %rax
	movl	(%rax), %eax
	cmpl	%eax, %edx
	jle	.L27
	movl	$1, %eax
	jmp	.L28
.L27:
	movq	-16(%rbp), %rax
	movl	(%rax), %edx
	movq	-8(%rbp), %rax
	movl	(%rax), %eax
	cmpl	%eax, %edx
	jge	.L29
	movl	$-1, %eax
	jmp	.L28
.L29:
	movq	-16(%rbp), %rax
	movl	4(%rax), %edx
	movq	-8(%rbp), %rax
	movl	4(%rax), %eax
	cmpl	%eax, %edx
	jle	.L30
	movl	$1, %eax
	jmp	.L28
.L30:
	movq	-16(%rbp), %rax
	movl	4(%rax), %edx
	movq	-8(%rbp), %rax
	movl	4(%rax), %eax
	cmpl	%eax, %edx
	jge	.L31
	movl	$-1, %eax
	jmp	.L28
.L31:
	movl	$0, %eax
.L28:
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE15:
	.size	sortfnc, .-sortfnc
	.globl	n
	.bss
	.align 4
	.type	n, @object
	.size	n, 4
n:
	.zero	4
	.globl	datas
	.align 32
	.type	datas, @object
	.size	datas, 400
datas:
	.zero	400
	.globl	ptn
	.align 32
	.type	ptn, @object
	.size	ptn, 20000
ptn:
	.zero	20000
	.globl	pcnt
	.align 4
	.type	pcnt, @object
	.size	pcnt, 4
pcnt:
	.zero	4
	.text
	.globl	fnc2
	.type	fnc2, @function
fnc2:
.LFB16:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$32, %rsp
	movl	$0, %eax
	call	geti
	movl	%eax, n(%rip)
	movl	n(%rip), %eax
	cmpl	$2, %eax
	jg	.L33
	movl	$1, %eax
	jmp	.L34
.L33:
	movl	$0, -24(%rbp)
	jmp	.L35
.L36:
	movl	$0, %eax
	call	geti
	movl	-24(%rbp), %edx
	movslq	%edx, %rdx
	leaq	0(,%rdx,8), %rcx
	leaq	datas(%rip), %rdx
	movl	%eax, (%rcx,%rdx)
	movl	$0, %eax
	call	geti
	movl	-24(%rbp), %edx
	movslq	%edx, %rdx
	leaq	0(,%rdx,8), %rcx
	leaq	4+datas(%rip), %rdx
	movl	%eax, (%rcx,%rdx)
	addl	$1, -24(%rbp)
.L35:
	movl	n(%rip), %eax
	cmpl	%eax, -24(%rbp)
	jl	.L36
	movl	n(%rip), %eax
	cltq
	leaq	sortfnc(%rip), %rdx
	movq	%rdx, %rcx
	movl	$8, %edx
	movq	%rax, %rsi
	leaq	datas(%rip), %rax
	movq	%rax, %rdi
	call	qsort@PLT
	movl	$0, pcnt(%rip)
	movl	$0, -24(%rbp)
	jmp	.L37
.L40:
	movl	-24(%rbp), %eax
	addl	$1, %eax
	movl	%eax, -20(%rbp)
	jmp	.L38
.L39:
	movl	-20(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rdx
	leaq	datas(%rip), %rax
	movl	(%rdx,%rax), %edx
	movl	-24(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rcx
	leaq	datas(%rip), %rax
	movl	(%rcx,%rax), %esi
	movl	pcnt(%rip), %eax
	movl	%edx, %ecx
	subl	%esi, %ecx
	cltq
	leaq	0(,%rax,8), %rdx
	leaq	ptn(%rip), %rax
	movl	%ecx, (%rdx,%rax)
	movl	-20(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rdx
	leaq	4+datas(%rip), %rax
	movl	(%rdx,%rax), %edx
	movl	-24(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rcx
	leaq	4+datas(%rip), %rax
	movl	(%rcx,%rax), %esi
	movl	pcnt(%rip), %eax
	movl	%edx, %ecx
	subl	%esi, %ecx
	cltq
	leaq	0(,%rax,8), %rdx
	leaq	4+ptn(%rip), %rax
	movl	%ecx, (%rdx,%rax)
	movl	pcnt(%rip), %eax
	addl	$1, %eax
	movl	%eax, pcnt(%rip)
	addl	$1, -20(%rbp)
.L38:
	movl	n(%rip), %eax
	cmpl	%eax, -20(%rbp)
	jl	.L39
	addl	$1, -24(%rbp)
.L37:
	movl	n(%rip), %eax
	cmpl	%eax, -24(%rbp)
	jl	.L40
	movl	pcnt(%rip), %eax
	cltq
	leaq	sortfnc(%rip), %rdx
	movq	%rdx, %rcx
	movl	$8, %edx
	movq	%rax, %rsi
	leaq	ptn(%rip), %rax
	movq	%rax, %rdi
	call	qsort@PLT
	movl	ptn(%rip), %eax
	movl	%eax, -16(%rbp)
	movl	4+ptn(%rip), %eax
	movl	%eax, -12(%rbp)
	movl	$1, -8(%rbp)
	movl	-8(%rbp), %eax
	movl	%eax, -4(%rbp)
	movl	$1, -24(%rbp)
	jmp	.L41
.L44:
	movl	-24(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rdx
	leaq	ptn(%rip), %rax
	movl	(%rdx,%rax), %eax
	cmpl	%eax, -16(%rbp)
	jne	.L42
	movl	-24(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rdx
	leaq	4+ptn(%rip), %rax
	movl	(%rdx,%rax), %eax
	cmpl	%eax, -12(%rbp)
	jne	.L42
	addl	$1, -8(%rbp)
	movl	-8(%rbp), %edx
	movl	-4(%rbp), %eax
	movl	%edx, %esi
	movl	%eax, %edi
	call	getmax
	movl	%eax, -4(%rbp)
	jmp	.L43
.L42:
	movl	-24(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rdx
	leaq	ptn(%rip), %rax
	movl	(%rdx,%rax), %eax
	movl	%eax, -16(%rbp)
	movl	-24(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rdx
	leaq	4+ptn(%rip), %rax
	movl	(%rdx,%rax), %eax
	movl	%eax, -12(%rbp)
	movl	$1, -8(%rbp)
.L43:
	addl	$1, -24(%rbp)
.L41:
	movl	pcnt(%rip), %eax
	cmpl	%eax, -24(%rbp)
	jl	.L44
	movl	n(%rip), %eax
	subl	-4(%rbp), %eax
.L34:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE16:
	.size	fnc2, .-fnc2
	.globl	fnc1
	.type	fnc1, @function
fnc1:
.LFB17:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$16, %rsp
	movl	$0, %eax
	call	fnc2
	movl	%eax, -4(%rbp)
	movl	-4(%rbp), %eax
	movl	%eax, %edi
	call	outi
	movl	$0, %eax
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE17:
	.size	fnc1, .-fnc1
	.globl	main
	.type	main, @function
main:
.LFB18:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	movq	stdin(%rip), %rax
	movq	%rax, in(%rip)
	movl	$0, %eax
	call	fnc1
	movl	$0, %eax
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE18:
	.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:
