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

```c
#include <stdio.h>
#include <string.h>
#define HASHTABLE_SIZE 2000
#define NAME_LENGTH 15

/* グループ */
typedef struct {
	char name[NAME_LENGTH + 1];
	int members[10];
	int count;
} Group;

Group groups[HASHTABLE_SIZE]; /* グループおよびメンバー */
int flag[HASHTABLE_SIZE];

/* 文字列のハッシュ値を求める */
int hash(char* s) {
	int i, h = 0, a = 3141, b = 2718;
	for (i = 0; s[i] != '\0'; i++, a = a * b % (HASHTABLE_SIZE - 1)) h = (a * h + s[i]) % HASHTABLE_SIZE;
	return h;
}

/* 指定された名前のグループの番号を返す */
#define CAN_NOT_FIND -1
int search(char* name) {
	int i;
	for (i = hash(name); flag[i]; i++) {
		if (strcmp(name, groups[i].name) == 0) return i;
	}
	return CAN_NOT_FIND;
}

/* 指定された名前のグループを配列に追加し、グループに割り当てられた番号を返す。 */
int addGroup(char* name) {
	int i = search(name);
	if (i == CAN_NOT_FIND) {
		/* 新しいグループを作成する */
		for (i = hash(name); flag[i]; i++); /* 挿入可能な番号を探す */
		flag[i] = 1;
		strncpy(groups[i].name, name, NAME_LENGTH + 1);
		groups[i].count = 0;
	}
	return i;
}

/* 指定された名前のメンバーを、グループのメンバーとして追加し、メンバーに割り当てられた番号を返す。 */
int addMember(int i, char* name) {
	int j = addGroup(name);
	groups[i].members[groups[i].count++] = j;
	return j;
}

/* 指定されたグループに含まれるメンバーの総数を返す */
int isCounted[HASHTABLE_SIZE];
int countMemberR(int i) {
	int n = 0, j;
	for (j = 0; j < groups[i].count; j++) {
		int m = groups[i].members[j];
		if (isCounted[m]) continue; /* 探索済みなら無視する */
		isCounted[m] = 1;

		if (groups[m].count == 0) n++;
		else n += countMemberR(m);
	}
	return n;
}
int countMember(int i) {
	int j;
	for (j = 0; j < HASHTABLE_SIZE; j++) isCounted[j] = 0;
	return countMemberR(i);
}

int main(void) {
	int n; /* グループの数 */
	int head; /* 最初のグループの番号 */

	/* データセット毎の処理 */
	while (scanf("%d", &n) == 1 && n > 0 && n <= 100) {
		char s[NAME_LENGTH + 1];
		int i;

		/* 初期化 */
		for (i = 0; i < HASHTABLE_SIZE; i++) flag[i] = 0;
		head = CAN_NOT_FIND;

		/* 各グループに含まれるメンバーを読み込む */
		for (; n > 0; n--) {
			/* グループ */
			scanf("%*[^a-z]%[a-z]:", s);
			i = addGroup(s);
			if (head == CAN_NOT_FIND) head = i;

			/* メンバー */
			while (scanf("%[a-z],", s) == 1) addMember(i, s);
		}
		scanf("%*[^0-9]"); /* 残った文字を読み捨てる */

		/* 最初のグループに含まれるメンバーを数える */
		/* 出力 */
		printf("%d\n", countMember(head));
	}

	return 0;
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.globl	groups
	.bss
	.align 32
	.type	groups, @object
	.size	groups, 120000
groups:
	.zero	120000
	.globl	flag
	.align 32
	.type	flag, @object
	.size	flag, 8000
flag:
	.zero	8000
	.text
	.globl	hash
	.type	hash, @function
hash:
.LFB0:
	.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)
	movl	$0, -12(%rbp)
	movl	$3141, -8(%rbp)
	movl	$2718, -4(%rbp)
	movl	$0, -16(%rbp)
	jmp	.L2
.L3:
	movl	-8(%rbp), %eax
	imull	-12(%rbp), %eax
	movl	%eax, %edx
	movl	-16(%rbp), %eax
	movslq	%eax, %rcx
	movq	-24(%rbp), %rax
	addq	%rcx, %rax
	movzbl	(%rax), %eax
	movsbl	%al, %eax
	addl	%edx, %eax
	movslq	%eax, %rdx
	imulq	$274877907, %rdx, %rdx
	shrq	$32, %rdx
	sarl	$7, %edx
	movl	%eax, %ecx
	sarl	$31, %ecx
	subl	%ecx, %edx
	movl	%edx, -12(%rbp)
	movl	-12(%rbp), %edx
	imull	$2000, %edx, %edx
	subl	%edx, %eax
	movl	%eax, -12(%rbp)
	addl	$1, -16(%rbp)
	movl	-8(%rbp), %eax
	imull	-4(%rbp), %eax
	movslq	%eax, %rdx
	imulq	$1100061659, %rdx, %rdx
	shrq	$32, %rdx
	sarl	$9, %edx
	movl	%eax, %ecx
	sarl	$31, %ecx
	subl	%ecx, %edx
	movl	%edx, -8(%rbp)
	movl	-8(%rbp), %edx
	imull	$1999, %edx, %edx
	subl	%edx, %eax
	movl	%eax, -8(%rbp)
.L2:
	movl	-16(%rbp), %eax
	movslq	%eax, %rdx
	movq	-24(%rbp), %rax
	addq	%rdx, %rax
	movzbl	(%rax), %eax
	testb	%al, %al
	jne	.L3
	movl	-12(%rbp), %eax
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	hash, .-hash
	.globl	search
	.type	search, @function
search:
.LFB1:
	.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
	movq	%rdi, -24(%rbp)
	movq	-24(%rbp), %rax
	movq	%rax, %rdi
	call	hash
	movl	%eax, -4(%rbp)
	jmp	.L6
.L9:
	movl	-4(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$4, %rax
	subq	%rdx, %rax
	salq	$2, %rax
	leaq	groups(%rip), %rdx
	addq	%rax, %rdx
	movq	-24(%rbp), %rax
	movq	%rdx, %rsi
	movq	%rax, %rdi
	call	strcmp@PLT
	testl	%eax, %eax
	jne	.L7
	movl	-4(%rbp), %eax
	jmp	.L8
.L7:
	addl	$1, -4(%rbp)
.L6:
	movl	-4(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	flag(%rip), %rax
	movl	(%rdx,%rax), %eax
	testl	%eax, %eax
	jne	.L9
	movl	$-1, %eax
.L8:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	search, .-search
	.globl	addGroup
	.type	addGroup, @function
addGroup:
.LFB2:
	.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
	movq	%rdi, -24(%rbp)
	movq	-24(%rbp), %rax
	movq	%rax, %rdi
	call	search
	movl	%eax, -4(%rbp)
	cmpl	$-1, -4(%rbp)
	jne	.L11
	movq	-24(%rbp), %rax
	movq	%rax, %rdi
	call	hash
	movl	%eax, -4(%rbp)
	jmp	.L12
.L13:
	addl	$1, -4(%rbp)
.L12:
	movl	-4(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	flag(%rip), %rax
	movl	(%rdx,%rax), %eax
	testl	%eax, %eax
	jne	.L13
	movl	-4(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	flag(%rip), %rax
	movl	$1, (%rdx,%rax)
	movl	-4(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$4, %rax
	subq	%rdx, %rax
	salq	$2, %rax
	leaq	groups(%rip), %rdx
	leaq	(%rax,%rdx), %rcx
	movq	-24(%rbp), %rax
	movl	$16, %edx
	movq	%rax, %rsi
	movq	%rcx, %rdi
	call	strncpy@PLT
	movl	-4(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$4, %rax
	subq	%rdx, %rax
	salq	$2, %rax
	movq	%rax, %rdx
	leaq	56+groups(%rip), %rax
	movl	$0, (%rdx,%rax)
.L11:
	movl	-4(%rbp), %eax
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	addGroup, .-addGroup
	.globl	addMember
	.type	addMember, @function
addMember:
.LFB3:
	.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	%edi, -20(%rbp)
	movq	%rsi, -32(%rbp)
	movq	-32(%rbp), %rax
	movq	%rax, %rdi
	call	addGroup
	movl	%eax, -4(%rbp)
	movl	-20(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$4, %rax
	subq	%rdx, %rax
	salq	$2, %rax
	movq	%rax, %rdx
	leaq	56+groups(%rip), %rax
	movl	(%rdx,%rax), %edx
	leal	1(%rdx), %ecx
	movl	-20(%rbp), %eax
	movslq	%eax, %rsi
	movq	%rsi, %rax
	salq	$4, %rax
	subq	%rsi, %rax
	salq	$2, %rax
	movq	%rax, %rsi
	leaq	56+groups(%rip), %rax
	movl	%ecx, (%rsi,%rax)
	movslq	%edx, %rcx
	movl	-20(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$4, %rax
	subq	%rdx, %rax
	addq	%rcx, %rax
	addq	$4, %rax
	leaq	0(,%rax,4), %rcx
	leaq	groups(%rip), %rdx
	movl	-4(%rbp), %eax
	movl	%eax, (%rcx,%rdx)
	movl	-4(%rbp), %eax
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	addMember, .-addMember
	.globl	isCounted
	.bss
	.align 32
	.type	isCounted, @object
	.size	isCounted, 8000
isCounted:
	.zero	8000
	.text
	.globl	countMemberR
	.type	countMemberR, @function
countMemberR:
.LFB4:
	.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	%edi, -20(%rbp)
	movl	$0, -12(%rbp)
	movl	$0, -8(%rbp)
	jmp	.L18
.L22:
	movl	-8(%rbp), %eax
	movslq	%eax, %rcx
	movl	-20(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$4, %rax
	subq	%rdx, %rax
	addq	%rcx, %rax
	addq	$4, %rax
	leaq	0(,%rax,4), %rdx
	leaq	groups(%rip), %rax
	movl	(%rdx,%rax), %eax
	movl	%eax, -4(%rbp)
	movl	-4(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	isCounted(%rip), %rax
	movl	(%rdx,%rax), %eax
	testl	%eax, %eax
	jne	.L24
	movl	-4(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	isCounted(%rip), %rax
	movl	$1, (%rdx,%rax)
	movl	-4(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$4, %rax
	subq	%rdx, %rax
	salq	$2, %rax
	movq	%rax, %rdx
	leaq	56+groups(%rip), %rax
	movl	(%rdx,%rax), %eax
	testl	%eax, %eax
	jne	.L21
	addl	$1, -12(%rbp)
	jmp	.L20
.L21:
	movl	-4(%rbp), %eax
	movl	%eax, %edi
	call	countMemberR
	addl	%eax, -12(%rbp)
	jmp	.L20
.L24:
	nop
.L20:
	addl	$1, -8(%rbp)
.L18:
	movl	-20(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$4, %rax
	subq	%rdx, %rax
	salq	$2, %rax
	movq	%rax, %rdx
	leaq	56+groups(%rip), %rax
	movl	(%rdx,%rax), %eax
	cmpl	%eax, -8(%rbp)
	jl	.L22
	movl	-12(%rbp), %eax
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE4:
	.size	countMemberR, .-countMemberR
	.globl	countMember
	.type	countMember, @function
countMember:
.LFB5:
	.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	%edi, -20(%rbp)
	movl	$0, -4(%rbp)
	jmp	.L26
.L27:
	movl	-4(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	isCounted(%rip), %rax
	movl	$0, (%rdx,%rax)
	addl	$1, -4(%rbp)
.L26:
	cmpl	$1999, -4(%rbp)
	jle	.L27
	movl	-20(%rbp), %eax
	movl	%eax, %edi
	call	countMemberR
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE5:
	.size	countMember, .-countMember
	.section	.rodata
.LC0:
	.string	"%*[^a-z]%[a-z]:"
.LC1:
	.string	"%[a-z],"
.LC2:
	.string	"%*[^0-9]"
.LC3:
	.string	"%d\n"
.LC4:
	.string	"%d"
	.text
	.globl	main
	.type	main, @function
main:
.LFB6:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$48, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	jmp	.L30
.L39:
	movl	$0, -36(%rbp)
	jmp	.L31
.L32:
	movl	-36(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	flag(%rip), %rax
	movl	$0, (%rdx,%rax)
	addl	$1, -36(%rbp)
.L31:
	cmpl	$1999, -36(%rbp)
	jle	.L32
	movl	$-1, -40(%rbp)
	jmp	.L33
.L37:
	leaq	-32(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	leaq	-32(%rbp), %rax
	movq	%rax, %rdi
	call	addGroup
	movl	%eax, -36(%rbp)
	cmpl	$-1, -40(%rbp)
	jne	.L35
	movl	-36(%rbp), %eax
	movl	%eax, -40(%rbp)
	jmp	.L35
.L36:
	leaq	-32(%rbp), %rdx
	movl	-36(%rbp), %eax
	movq	%rdx, %rsi
	movl	%eax, %edi
	call	addMember
.L35:
	leaq	-32(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	cmpl	$1, %eax
	je	.L36
	movl	-44(%rbp), %eax
	subl	$1, %eax
	movl	%eax, -44(%rbp)
.L33:
	movl	-44(%rbp), %eax
	testl	%eax, %eax
	jg	.L37
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-40(%rbp), %eax
	movl	%eax, %edi
	call	countMember
	movl	%eax, %esi
	leaq	.LC3(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
.L30:
	leaq	-44(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC4(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	cmpl	$1, %eax
	jne	.L38
	movl	-44(%rbp), %eax
	testl	%eax, %eax
	jle	.L38
	movl	-44(%rbp), %eax
	cmpl	$100, %eax
	jle	.L39
.L38:
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L41
	call	__stack_chk_fail@PLT
.L41:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.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	hash
	.type	hash, @function
hash:
.LFB35:
	.cfi_startproc
	endbr64
	movsbl	(%rdi), %ecx
	testb	%cl, %cl
	je	.L4
	leaq	1(%rdi), %rsi
	movl	$3141, %edx
	xorl	%eax, %eax
	.p2align 4,,10
	.p2align 3
.L3:
	imull	%edx, %eax
	addq	$1, %rsi
	addl	%eax, %ecx
	movslq	%ecx, %rax
	movl	%ecx, %edi
	imulq	$274877907, %rax, %rax
	sarl	$31, %edi
	sarq	$39, %rax
	subl	%edi, %eax
	imull	$2000, %eax, %edi
	movl	%ecx, %eax
	imull	$2718, %edx, %ecx
	subl	%edi, %eax
	movslq	%ecx, %rdx
	movl	%ecx, %edi
	imulq	$1100061659, %rdx, %rdx
	sarl	$31, %edi
	sarq	$41, %rdx
	subl	%edi, %edx
	imull	$1999, %edx, %edi
	movl	%ecx, %edx
	movsbl	-1(%rsi), %ecx
	subl	%edi, %edx
	testb	%cl, %cl
	jne	.L3
	ret
	.p2align 4,,10
	.p2align 3
.L4:
	xorl	%eax, %eax
	ret
	.cfi_endproc
.LFE35:
	.size	hash, .-hash
	.p2align 4
	.globl	search
	.type	search, @function
search:
.LFB36:
	.cfi_startproc
	endbr64
	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
	movq	%rdi, %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	movsbl	(%rdi), %edx
	testb	%dl, %dl
	je	.L12
	leaq	1(%rdi), %rcx
	movl	$3141, %eax
	xorl	%ebx, %ebx
	.p2align 4,,10
	.p2align 3
.L9:
	imull	%eax, %ebx
	addq	$1, %rcx
	addl	%ebx, %edx
	movslq	%edx, %rbx
	movl	%edx, %esi
	imulq	$274877907, %rbx, %rbx
	sarl	$31, %esi
	sarq	$39, %rbx
	subl	%esi, %ebx
	imull	$2000, %ebx, %esi
	subl	%esi, %edx
	movslq	%edx, %rbx
	imull	$2718, %eax, %edx
	movslq	%edx, %rax
	movl	%edx, %esi
	imulq	$1100061659, %rax, %rax
	sarl	$31, %esi
	sarq	$41, %rax
	subl	%esi, %eax
	imull	$1999, %eax, %esi
	movl	%edx, %eax
	movsbl	-1(%rcx), %edx
	subl	%esi, %eax
	testb	%dl, %dl
	jne	.L9
.L8:
	leaq	flag(%rip), %rax
	movl	(%rax,%rbx,4), %eax
	testl	%eax, %eax
	je	.L13
	movq	%rbx, %rax
	leaq	groups(%rip), %rdx
	leaq	4+flag(%rip), %r13
	salq	$4, %rax
	subq	%rbx, %rax
	leaq	(%rdx,%rax,4), %r12
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L20:
	movl	0(%r13,%rbx,4), %eax
	addq	$60, %r12
	addq	$1, %rbx
	testl	%eax, %eax
	je	.L13
.L11:
	movq	%r12, %rsi
	movq	%rbp, %rdi
	movl	%ebx, %r14d
	call	strcmp@PLT
	testl	%eax, %eax
	jne	.L20
	popq	%rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	movl	%r14d, %eax
	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
	.p2align 4,,10
	.p2align 3
.L13:
	.cfi_restore_state
	movl	$-1, %r14d
	popq	%rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	popq	%rbp
	.cfi_def_cfa_offset 32
	movl	%r14d, %eax
	popq	%r12
	.cfi_def_cfa_offset 24
	popq	%r13
	.cfi_def_cfa_offset 16
	popq	%r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L12:
	.cfi_restore_state
	xorl	%ebx, %ebx
	jmp	.L8
	.cfi_endproc
.LFE36:
	.size	search, .-search
	.p2align 4
	.globl	addGroup
	.type	addGroup, @function
addGroup:
.LFB37:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	movq	%rdi, %r12
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	subq	$24, %rsp
	.cfi_def_cfa_offset 80
	movsbl	(%rdi), %ebp
	testb	%bpl, %bpl
	je	.L22
	leaq	1(%rdi), %rsi
	movsbl	%bpl, %ecx
	movl	$3141, %eax
	xorl	%ebx, %ebx
	movq	%rsi, %rdi
	.p2align 4,,10
	.p2align 3
.L23:
	movl	%ebx, %edx
	addq	$1, %rdi
	imull	%eax, %edx
	addl	%ecx, %edx
	movslq	%edx, %rbx
	movl	%edx, %ecx
	imulq	$274877907, %rbx, %rbx
	sarl	$31, %ecx
	sarq	$39, %rbx
	subl	%ecx, %ebx
	imull	$2000, %ebx, %ecx
	movl	%edx, %ebx
	imull	$2718, %eax, %edx
	subl	%ecx, %ebx
	movslq	%edx, %rax
	movl	%edx, %ecx
	imulq	$1100061659, %rax, %rax
	sarl	$31, %ecx
	sarq	$41, %rax
	subl	%ecx, %eax
	imull	$1999, %eax, %ecx
	movl	%edx, %eax
	subl	%ecx, %eax
	movsbl	-1(%rdi), %ecx
	testb	%cl, %cl
	jne	.L23
	leaq	flag(%rip), %rcx
	movslq	%ebx, %rbx
	movl	(%rcx,%rbx,4), %eax
	testl	%eax, %eax
	je	.L46
.L34:
	movq	%rbx, %rax
	leaq	groups(%rip), %rsi
	leaq	4+flag(%rip), %r15
	salq	$4, %rax
	movq	%rsi, 8(%rsp)
	subq	%rbx, %rax
	leaq	(%rsi,%rax,4), %r14
	jmp	.L26
	.p2align 4,,10
	.p2align 3
.L47:
	movl	(%r15,%rbx,4), %eax
	addq	$60, %r14
	addq	$1, %rbx
	testl	%eax, %eax
	je	.L27
.L26:
	movq	%r14, %rsi
	movq	%r12, %rdi
	movl	%ebx, %r13d
	call	strcmp@PLT
	testl	%eax, %eax
	jne	.L47
	cmpl	$-1, %ebx
	je	.L27
.L21:
	addq	$24, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	movl	%r13d, %eax
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%rbp
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L27:
	.cfi_restore_state
	testb	%bpl, %bpl
	je	.L29
	leaq	1(%r12), %rsi
	leaq	flag(%rip), %rcx
.L35:
	movl	$3141, %eax
	xorl	%r13d, %r13d
	.p2align 4,,10
	.p2align 3
.L30:
	movl	%r13d, %edx
	addq	$1, %rsi
	imull	%eax, %edx
	addl	%edx, %ebp
	movslq	%ebp, %r13
	movl	%ebp, %edx
	imulq	$274877907, %r13, %r13
	sarl	$31, %edx
	sarq	$39, %r13
	subl	%edx, %r13d
	imull	$2000, %r13d, %edx
	subl	%edx, %ebp
	imull	$2718, %eax, %edx
	movl	%ebp, %r13d
	movsbl	-1(%rsi), %ebp
	movslq	%edx, %rax
	movl	%edx, %edi
	imulq	$1100061659, %rax, %rax
	sarl	$31, %edi
	sarq	$41, %rax
	subl	%edi, %eax
	imull	$1999, %eax, %edi
	movl	%edx, %eax
	subl	%edi, %eax
	testb	%bpl, %bpl
	jne	.L30
	movslq	%r13d, %rax
	movl	(%rcx,%rax,4), %eax
.L31:
	testl	%eax, %eax
	je	.L32
	leal	1(%r13), %eax
	leaq	-4+flag(%rip), %rdx
	cltq
	.p2align 4,,10
	.p2align 3
.L33:
	movl	%eax, %r13d
	addq	$1, %rax
	movl	(%rdx,%rax,4), %esi
	testl	%esi, %esi
	jne	.L33
.L32:
	movslq	%r13d, %rdx
	movq	8(%rsp), %rsi
	movq	%rdx, %rax
	movl	$1, (%rcx,%rdx,4)
	salq	$4, %rax
	subq	%rdx, %rax
	movl	$16, %edx
	leaq	(%rsi,%rax,4), %rcx
	movq	%r12, %rsi
	movq	%rcx, %rdi
	call	strncpy@PLT
	movl	$0, 56(%rax)
	jmp	.L21
	.p2align 4,,10
	.p2align 3
.L22:
	movl	flag(%rip), %r13d
	xorl	%ebx, %ebx
	testl	%r13d, %r13d
	jne	.L34
	leaq	groups(%rip), %rax
	leaq	flag(%rip), %rcx
	movq	%rax, 8(%rsp)
	jmp	.L32
.L29:
	movl	flag(%rip), %eax
	xorl	%r13d, %r13d
	leaq	flag(%rip), %rcx
	jmp	.L31
.L46:
	leaq	groups(%rip), %rax
	movq	%rax, 8(%rsp)
	jmp	.L35
	.cfi_endproc
.LFE37:
	.size	addGroup, .-addGroup
	.p2align 4
	.globl	addMember
	.type	addMember, @function
addMember:
.LFB38:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	movq	%rsi, %r13
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	subq	$24, %rsp
	.cfi_def_cfa_offset 80
	movsbl	(%rsi), %ebp
	movl	%edi, 12(%rsp)
	testb	%bpl, %bpl
	je	.L49
	leaq	1(%rsi), %rcx
	movsbl	%bpl, %edi
	movl	$3141, %eax
	xorl	%ebx, %ebx
	movq	%rcx, %rsi
	.p2align 4,,10
	.p2align 3
.L50:
	imull	%eax, %ebx
	addq	$1, %rsi
	movl	%ebx, %edx
	addl	%edi, %edx
	movslq	%edx, %rbx
	movl	%edx, %edi
	imulq	$274877907, %rbx, %rbx
	sarl	$31, %edi
	sarq	$39, %rbx
	subl	%edi, %ebx
	imull	$2000, %ebx, %edi
	subl	%edi, %edx
	movslq	%edx, %rbx
	imull	$2718, %eax, %edx
	movslq	%edx, %rax
	movl	%edx, %edi
	imulq	$1100061659, %rax, %rax
	sarl	$31, %edi
	sarq	$41, %rax
	subl	%edi, %eax
	imull	$1999, %eax, %edi
	movl	%edx, %eax
	subl	%edi, %eax
	movsbl	-1(%rsi), %edi
	testb	%dil, %dil
	jne	.L50
	leaq	flag(%rip), %rsi
	movl	(%rsi,%rbx,4), %eax
	testl	%eax, %eax
	je	.L74
.L61:
	movq	%rbx, %rax
	leaq	groups(%rip), %rcx
	leaq	4+flag(%rip), %r15
	salq	$4, %rax
	movq	%rcx, (%rsp)
	subq	%rbx, %rax
	leaq	(%rcx,%rax,4), %r12
	jmp	.L53
	.p2align 4,,10
	.p2align 3
.L75:
	movl	(%r15,%rbx,4), %eax
	addq	$60, %r12
	addq	$1, %rbx
	testl	%eax, %eax
	je	.L54
.L53:
	movq	%r12, %rsi
	movq	%r13, %rdi
	movl	%ebx, %r14d
	call	strcmp@PLT
	testl	%eax, %eax
	jne	.L75
	cmpl	$-1, %ebx
	je	.L54
.L55:
	movslq	12(%rsp), %r12
	movq	(%rsp), %rbx
	movq	%r12, %rdx
	salq	$4, %rdx
	subq	%r12, %rdx
	leaq	(%rbx,%rdx,4), %rcx
	movslq	56(%rcx), %rax
	leal	1(%rax), %esi
	leaq	4(%rdx,%rax), %rax
	movl	%r14d, (%rbx,%rax,4)
	movl	%r14d, %eax
	movl	%esi, 56(%rcx)
	addq	$24, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%rbp
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L54:
	.cfi_restore_state
	testb	%bpl, %bpl
	je	.L56
	leaq	1(%r13), %rcx
	leaq	flag(%rip), %rsi
.L62:
	movl	$3141, %eax
	xorl	%r14d, %r14d
	.p2align 4,,10
	.p2align 3
.L57:
	movl	%r14d, %edx
	addq	$1, %rcx
	imull	%eax, %edx
	addl	%edx, %ebp
	movslq	%ebp, %r8
	movl	%ebp, %edx
	movl	%ebp, %r14d
	movsbl	-1(%rcx), %ebp
	imulq	$274877907, %r8, %r8
	sarl	$31, %edx
	sarq	$39, %r8
	subl	%edx, %r8d
	imull	$2000, %r8d, %edx
	subl	%edx, %r14d
	imull	$2718, %eax, %edx
	movslq	%edx, %rax
	movl	%edx, %edi
	imulq	$1100061659, %rax, %rax
	sarl	$31, %edi
	sarq	$41, %rax
	subl	%edi, %eax
	imull	$1999, %eax, %edi
	movl	%edx, %eax
	subl	%edi, %eax
	testb	%bpl, %bpl
	jne	.L57
	movslq	%r14d, %rax
	movl	(%rsi,%rax,4), %eax
.L58:
	testl	%eax, %eax
	je	.L59
	leal	1(%r14), %eax
	leaq	-4+flag(%rip), %rdx
	cltq
	.p2align 4,,10
	.p2align 3
.L60:
	movl	%eax, %r14d
	addq	$1, %rax
	movl	(%rdx,%rax,4), %ecx
	testl	%ecx, %ecx
	jne	.L60
.L59:
	movslq	%r14d, %rdx
	movq	(%rsp), %rcx
	movq	%rdx, %rax
	movl	$1, (%rsi,%rdx,4)
	movq	%r13, %rsi
	salq	$4, %rax
	subq	%rdx, %rax
	movl	$16, %edx
	leaq	(%rcx,%rax,4), %rcx
	movq	%rcx, %rdi
	call	strncpy@PLT
	movl	$0, 56(%rax)
	jmp	.L55
	.p2align 4,,10
	.p2align 3
.L49:
	movl	flag(%rip), %r14d
	xorl	%ebx, %ebx
	testl	%r14d, %r14d
	jne	.L61
	leaq	groups(%rip), %rax
	leaq	flag(%rip), %rsi
	movq	%rax, (%rsp)
	jmp	.L59
.L56:
	movl	flag(%rip), %eax
	xorl	%r14d, %r14d
	leaq	flag(%rip), %rsi
	jmp	.L58
.L74:
	leaq	groups(%rip), %rax
	movq	%rax, (%rsp)
	jmp	.L62
	.cfi_endproc
.LFE38:
	.size	addMember, .-addMember
	.p2align 4
	.globl	countMemberR
	.type	countMemberR, @function
countMemberR:
.LFB39:
	.cfi_startproc
	endbr64
	movslq	%edi, %rdi
	leaq	groups(%rip), %rsi
	xorl	%r11d, %r11d
	movq	%rdi, %rax
	salq	$4, %rax
	subq	%rdi, %rax
	leaq	(%rsi,%rax,4), %r8
	movl	56(%r8), %edx
	testl	%edx, %edx
	jle	.L156
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	xorl	%r9d, %r9d
	leaq	isCounted(%rip), %r10
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	subq	$152, %rsp
	.cfi_def_cfa_offset 208
	movl	%r11d, (%rsp)
	movq	%r9, %r11
.L137:
	movslq	16(%r8,%r11,4), %rax
	movl	(%r10,%rax,4), %ecx
	testl	%ecx, %ecx
	jne	.L78
	movq	%rax, %rdx
	movl	$1, (%r10,%rax,4)
	salq	$4, %rdx
	subq	%rax, %rdx
	leaq	(%rsi,%rdx,4), %r15
	movl	56(%r15), %edx
	testl	%edx, %edx
	jne	.L159
	addl	$1, (%rsp)
	movl	56(%r8), %edx
.L78:
	addq	$1, %r11
	cmpl	%r11d, %edx
	jg	.L137
	movl	(%rsp), %eax
	addq	$152, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%rbp
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L159:
	.cfi_restore_state
	movl	$0, %r9d
	jle	.L81
	movl	%ecx, 4(%rsp)
	movq	%r11, 16(%rsp)
	movq	%r9, %r11
	movq	%r8, 24(%rsp)
	movq	%r15, %r8
.L136:
	movslq	16(%r8,%r11,4), %rax
	movl	(%r10,%rax,4), %ecx
	testl	%ecx, %ecx
	jne	.L82
	movq	%rax, %rdx
	movl	$1, (%r10,%rax,4)
	salq	$4, %rdx
	subq	%rax, %rdx
	leaq	(%rsi,%rdx,4), %r15
	movl	56(%r15), %edx
	testl	%edx, %edx
	jne	.L160
	addl	$1, 4(%rsp)
	movl	56(%r8), %edx
.L82:
	addq	$1, %r11
	cmpl	%r11d, %edx
	jg	.L136
	movl	4(%rsp), %ecx
	addl	%ecx, (%rsp)
	movq	16(%rsp), %r11
	movq	24(%rsp), %r8
.L81:
	movl	56(%r8), %edx
	jmp	.L78
	.p2align 4,,10
	.p2align 3
.L160:
	movl	$0, %r9d
	jle	.L85
	movq	%r11, 40(%rsp)
	movq	%r8, 48(%rsp)
	movl	%ecx, 8(%rsp)
	movq	%r15, %rcx
.L135:
	movslq	16(%rcx,%r9,4), %rax
	movl	(%r10,%rax,4), %r8d
	testl	%r8d, %r8d
	jne	.L86
	movq	%rax, %rdx
	movl	$1, (%r10,%rax,4)
	salq	$4, %rdx
	subq	%rax, %rdx
	leaq	(%rsi,%rdx,4), %r15
	movl	56(%r15), %edx
	testl	%edx, %edx
	jne	.L161
	addl	$1, 8(%rsp)
	movl	56(%rcx), %edx
.L86:
	addq	$1, %r9
	cmpl	%r9d, %edx
	jg	.L135
	movl	8(%rsp), %ecx
	addl	%ecx, 4(%rsp)
	movq	40(%rsp), %r11
	movq	48(%rsp), %r8
.L85:
	movl	56(%r8), %edx
	jmp	.L82
	.p2align 4,,10
	.p2align 3
.L161:
	movl	$0, %r11d
	jle	.L89
	movq	%rcx, 64(%rsp)
	movl	%r8d, 12(%rsp)
	movq	%r15, %r8
	movq	%r9, 56(%rsp)
	movq	%r11, %r9
.L134:
	movslq	16(%r8,%r9,4), %rax
	movl	(%r10,%rax,4), %r11d
	testl	%r11d, %r11d
	jne	.L90
	movq	%rax, %rdx
	movl	$1, (%r10,%rax,4)
	salq	$4, %rdx
	subq	%rax, %rdx
	leaq	(%rsi,%rdx,4), %r13
	movl	56(%r13), %edx
	testl	%edx, %edx
	jne	.L162
	addl	$1, 12(%rsp)
	movl	56(%r8), %edx
.L90:
	addq	$1, %r9
	cmpl	%r9d, %edx
	jg	.L134
	movl	12(%rsp), %r8d
	addl	%r8d, 8(%rsp)
	movq	56(%rsp), %r9
	movq	64(%rsp), %rcx
.L89:
	movl	56(%rcx), %edx
	jmp	.L86
	.p2align 4,,10
	.p2align 3
.L162:
	movl	$0, %r14d
	jle	.L93
	movl	%r11d, 32(%rsp)
	movq	%r13, %rcx
	movq	%r8, 80(%rsp)
	movq	%r9, 72(%rsp)
	movq	%r14, %r9
.L133:
	movslq	16(%rcx,%r9,4), %rax
	movl	(%r10,%rax,4), %r8d
	testl	%r8d, %r8d
	jne	.L94
	movq	%rax, %rdx
	movl	$1, (%r10,%rax,4)
	salq	$4, %rdx
	subq	%rax, %rdx
	leaq	(%rsi,%rdx,4), %r15
	movl	56(%r15), %edx
	testl	%edx, %edx
	jne	.L163
	addl	$1, 32(%rsp)
	movl	56(%rcx), %edx
.L94:
	addq	$1, %r9
	cmpl	%r9d, %edx
	jg	.L133
	movl	32(%rsp), %r11d
	addl	%r11d, 12(%rsp)
	movq	72(%rsp), %r9
	movq	80(%rsp), %r8
.L93:
	movl	56(%r8), %edx
	jmp	.L90
	.p2align 4,,10
	.p2align 3
.L163:
	movl	$0, %r11d
	jle	.L97
	movl	%r8d, 36(%rsp)
	movq	%r11, %rbx
	movq	%rcx, 96(%rsp)
	movq	%r9, 88(%rsp)
	movq	%r15, %r9
.L132:
	movslq	16(%r9,%rbx,4), %rax
	movl	(%r10,%rax,4), %r12d
	testl	%r12d, %r12d
	jne	.L98
	movq	%rax, %rdx
	movl	$1, (%r10,%rax,4)
	salq	$4, %rdx
	subq	%rax, %rdx
	leaq	(%rsi,%rdx,4), %r11
	movl	56(%r11), %edx
	testl	%edx, %edx
	jne	.L164
	addl	$1, 36(%rsp)
	movl	56(%r9), %edx
.L98:
	addq	$1, %rbx
	cmpl	%ebx, %edx
	jg	.L132
	movl	36(%rsp), %r8d
	addl	%r8d, 32(%rsp)
	movq	88(%rsp), %r9
	movq	96(%rsp), %rcx
.L97:
	movl	56(%rcx), %edx
	jmp	.L94
	.p2align 4,,10
	.p2align 3
.L164:
	movl	$0, %ebp
	jle	.L101
	movq	%rbx, 104(%rsp)
	movl	%r12d, %ecx
	movq	%r9, 112(%rsp)
.L131:
	movslq	16(%r11,%rbp,4), %rax
	movl	(%r10,%rax,4), %r14d
	testl	%r14d, %r14d
	jne	.L102
	movq	%rax, %rdx
	movl	$1, (%r10,%rax,4)
	salq	$4, %rdx
	subq	%rax, %rdx
	leaq	(%rsi,%rdx,4), %r15
	movl	56(%r15), %eax
	testl	%eax, %eax
	jne	.L165
	movl	56(%r11), %edx
	addl	$1, %ecx
.L102:
	addq	$1, %rbp
	cmpl	%ebp, %edx
	jg	.L131
	addl	%ecx, 36(%rsp)
	movq	104(%rsp), %rbx
	movq	112(%rsp), %r9
.L101:
	movl	56(%r9), %edx
	jmp	.L98
	.p2align 4,,10
	.p2align 3
.L156:
	.cfi_def_cfa_offset 8
	.cfi_restore 3
	.cfi_restore 6
	.cfi_restore 12
	.cfi_restore 13
	.cfi_restore 14
	.cfi_restore 15
	movl	%r11d, %eax
	ret
	.p2align 4,,10
	.p2align 3
.L165:
	.cfi_def_cfa_offset 208
	.cfi_offset 3, -56
	.cfi_offset 6, -48
	.cfi_offset 12, -40
	.cfi_offset 13, -32
	.cfi_offset 14, -24
	.cfi_offset 15, -16
	movl	$0, %r13d
	jle	.L105
	movq	%rbp, 120(%rsp)
	movl	%ecx, %ebp
.L130:
	movslq	16(%r15,%r13,4), %rbx
	movl	(%r10,%rbx,4), %r12d
	testl	%r12d, %r12d
	jne	.L106
	movq	%rbx, %rax
	movl	$1, (%r10,%rbx,4)
	salq	$4, %rax
	subq	%rbx, %rax
	leaq	(%rsi,%rax,4), %rcx
	movl	56(%rcx), %eax
	testl	%eax, %eax
	jne	.L166
	movl	56(%r15), %eax
	addl	$1, %r14d
.L106:
	addq	$1, %r13
	cmpl	%r13d, %eax
	jg	.L130
	movl	%ebp, %ecx
	movq	120(%rsp), %rbp
	addl	%r14d, %ecx
.L105:
	movl	56(%r11), %edx
	jmp	.L102
	.p2align 4,,10
	.p2align 3
.L166:
	jle	.L109
	movslq	16(%rcx), %rdi
	movl	(%r10,%rdi,4), %r8d
	movq	%rdi, %r9
	testl	%r8d, %r8d
	jne	.L110
	movq	%rdi, %r8
	movl	$1, (%r10,%rdi,4)
	movl	$1, %r12d
	salq	$4, %r8
	subq	%rdi, %r8
	movl	56(%rsi,%r8,4), %edi
	testl	%edi, %edi
	jne	.L167
.L110:
	cmpl	$1, %eax
	jle	.L111
	movq	%rbx, %rcx
	salq	$4, %rcx
	subq	%rbx, %rcx
	leaq	(%rsi,%rcx,4), %r8
	movslq	20(%r8), %rcx
	movl	(%r10,%rcx,4), %edx
	movq	%rcx, %rdi
	testl	%edx, %edx
	jne	.L112
	movq	%rcx, %rax
	movl	$1, (%r10,%rcx,4)
	salq	$4, %rax
	subq	%rcx, %rax
	movl	56(%rsi,%rax,4), %eax
	testl	%eax, %eax
	jne	.L168
	movl	56(%r8), %eax
	addl	$1, %r12d
.L112:
	cmpl	$2, %eax
	jle	.L111
	movq	%rbx, %rcx
	salq	$4, %rcx
	subq	%rbx, %rcx
	leaq	(%rsi,%rcx,4), %r8
	movslq	24(%r8), %rcx
	movl	(%r10,%rcx,4), %r9d
	movq	%rcx, %rdi
	testl	%r9d, %r9d
	jne	.L114
	movq	%rcx, %rax
	movl	$1, (%r10,%rcx,4)
	salq	$4, %rax
	subq	%rcx, %rax
	movl	56(%rsi,%rax,4), %ecx
	testl	%ecx, %ecx
	jne	.L169
	movl	56(%r8), %eax
	addl	$1, %r12d
.L114:
	cmpl	$3, %eax
	jle	.L111
	movq	%rbx, %rcx
	salq	$4, %rcx
	subq	%rbx, %rcx
	leaq	(%rsi,%rcx,4), %r8
	movslq	28(%r8), %rcx
	movl	(%r10,%rcx,4), %edx
	movq	%rcx, %rdi
	testl	%edx, %edx
	jne	.L116
	movq	%rcx, %rax
	movl	$1, (%r10,%rcx,4)
	salq	$4, %rax
	subq	%rcx, %rax
	movl	56(%rsi,%rax,4), %eax
	testl	%eax, %eax
	jne	.L170
	movl	56(%r8), %eax
	addl	$1, %r12d
.L116:
	cmpl	$4, %eax
	jle	.L111
	movq	%rbx, %rcx
	salq	$4, %rcx
	subq	%rbx, %rcx
	leaq	(%rsi,%rcx,4), %r8
	movslq	32(%r8), %rcx
	movl	(%r10,%rcx,4), %r9d
	movq	%rcx, %rdi
	testl	%r9d, %r9d
	jne	.L118
	movq	%rcx, %rax
	movl	$1, (%r10,%rcx,4)
	salq	$4, %rax
	subq	%rcx, %rax
	movl	56(%rsi,%rax,4), %ecx
	testl	%ecx, %ecx
	jne	.L171
	movl	56(%r8), %eax
	addl	$1, %r12d
.L118:
	cmpl	$5, %eax
	jle	.L111
	movq	%rbx, %rcx
	salq	$4, %rcx
	subq	%rbx, %rcx
	leaq	(%rsi,%rcx,4), %r8
	movslq	36(%r8), %rcx
	movl	(%r10,%rcx,4), %edx
	movq	%rcx, %rdi
	testl	%edx, %edx
	jne	.L120
	movq	%rcx, %rax
	movl	$1, (%r10,%rcx,4)
	salq	$4, %rax
	subq	%rcx, %rax
	movl	56(%rsi,%rax,4), %eax
	testl	%eax, %eax
	jne	.L172
	movl	56(%r8), %eax
	addl	$1, %r12d
.L120:
	cmpl	$6, %eax
	jle	.L111
	movq	%rbx, %rcx
	salq	$4, %rcx
	subq	%rbx, %rcx
	leaq	(%rsi,%rcx,4), %r8
	movslq	40(%r8), %rcx
	movl	(%r10,%rcx,4), %r9d
	movq	%rcx, %rdi
	testl	%r9d, %r9d
	jne	.L122
	movq	%rcx, %rax
	movl	$1, (%r10,%rcx,4)
	salq	$4, %rax
	subq	%rcx, %rax
	movl	56(%rsi,%rax,4), %ecx
	testl	%ecx, %ecx
	jne	.L173
	movl	56(%r8), %eax
	addl	$1, %r12d
.L122:
	cmpl	$7, %eax
	jle	.L111
	movq	%rbx, %rcx
	salq	$4, %rcx
	subq	%rbx, %rcx
	leaq	(%rsi,%rcx,4), %r8
	movslq	44(%r8), %rcx
	movl	(%r10,%rcx,4), %edx
	movq	%rcx, %rdi
	testl	%edx, %edx
	jne	.L124
	movq	%rcx, %rax
	movl	$1, (%r10,%rcx,4)
	salq	$4, %rax
	subq	%rcx, %rax
	movl	56(%rsi,%rax,4), %eax
	testl	%eax, %eax
	jne	.L174
	movl	56(%r8), %eax
	addl	$1, %r12d
.L124:
	cmpl	$8, %eax
	jle	.L111
	movq	%rbx, %rcx
	salq	$4, %rcx
	subq	%rbx, %rcx
	leaq	(%rsi,%rcx,4), %r8
	movslq	48(%r8), %rcx
	movl	(%r10,%rcx,4), %r9d
	movq	%rcx, %rdi
	testl	%r9d, %r9d
	jne	.L126
	movq	%rcx, %rax
	movl	$1, (%r10,%rcx,4)
	salq	$4, %rax
	subq	%rcx, %rax
	movl	56(%rsi,%rax,4), %ecx
	testl	%ecx, %ecx
	jne	.L175
	movl	56(%r8), %eax
	addl	$1, %r12d
.L126:
	cmpl	$9, %eax
	jle	.L111
	movq	%rbx, %rax
	salq	$4, %rax
	subq	%rbx, %rax
	movslq	52(%rsi,%rax,4), %rax
	movl	(%r10,%rax,4), %edx
	movq	%rax, %rdi
	testl	%edx, %edx
	jne	.L111
	movq	%rax, %rcx
	movl	$1, (%r10,%rax,4)
	salq	$4, %rcx
	subq	%rax, %rcx
	movl	56(%rsi,%rcx,4), %eax
	testl	%eax, %eax
	jne	.L129
	addl	$1, %r12d
	.p2align 4,,10
	.p2align 3
.L111:
	addl	%r12d, %r14d
.L109:
	movl	56(%r15), %eax
	jmp	.L106
.L167:
	movl	%r9d, %edi
	movq	%r11, 136(%rsp)
	movq	%rcx, 128(%rsp)
	call	countMemberR
	movq	128(%rsp), %rcx
	movq	136(%rsp), %r11
	leaq	groups(%rip), %rsi
	movl	%eax, %r12d
	leaq	isCounted(%rip), %r10
	movl	56(%rcx), %eax
	jmp	.L110
.L168:
	movq	%r11, 136(%rsp)
	movq	%r8, 128(%rsp)
	call	countMemberR
	movq	128(%rsp), %r8
	movq	136(%rsp), %r11
	leaq	isCounted(%rip), %r10
	addl	%eax, %r12d
	leaq	groups(%rip), %rsi
	movl	56(%r8), %eax
	jmp	.L112
.L169:
	movq	%r11, 136(%rsp)
	movq	%r8, 128(%rsp)
	call	countMemberR
	movq	128(%rsp), %r8
	movq	136(%rsp), %r11
	leaq	isCounted(%rip), %r10
	addl	%eax, %r12d
	leaq	groups(%rip), %rsi
	movl	56(%r8), %eax
	jmp	.L114
.L170:
	movq	%r11, 136(%rsp)
	movq	%r8, 128(%rsp)
	call	countMemberR
	movq	128(%rsp), %r8
	movq	136(%rsp), %r11
	leaq	isCounted(%rip), %r10
	addl	%eax, %r12d
	leaq	groups(%rip), %rsi
	movl	56(%r8), %eax
	jmp	.L116
.L171:
	movq	%r11, 136(%rsp)
	movq	%r8, 128(%rsp)
	call	countMemberR
	movq	128(%rsp), %r8
	movq	136(%rsp), %r11
	leaq	isCounted(%rip), %r10
	addl	%eax, %r12d
	leaq	groups(%rip), %rsi
	movl	56(%r8), %eax
	jmp	.L118
.L172:
	movq	%r11, 136(%rsp)
	movq	%r8, 128(%rsp)
	call	countMemberR
	movq	128(%rsp), %r8
	movq	136(%rsp), %r11
	leaq	isCounted(%rip), %r10
	addl	%eax, %r12d
	leaq	groups(%rip), %rsi
	movl	56(%r8), %eax
	jmp	.L120
.L173:
	movq	%r11, 136(%rsp)
	movq	%r8, 128(%rsp)
	call	countMemberR
	movq	128(%rsp), %r8
	movq	136(%rsp), %r11
	leaq	isCounted(%rip), %r10
	addl	%eax, %r12d
	leaq	groups(%rip), %rsi
	movl	56(%r8), %eax
	jmp	.L122
.L174:
	movq	%r11, 136(%rsp)
	movq	%r8, 128(%rsp)
	call	countMemberR
	movq	128(%rsp), %r8
	movq	136(%rsp), %r11
	leaq	isCounted(%rip), %r10
	addl	%eax, %r12d
	leaq	groups(%rip), %rsi
	movl	56(%r8), %eax
	jmp	.L124
.L175:
	movq	%r11, 136(%rsp)
	movq	%r8, 128(%rsp)
	call	countMemberR
	movq	128(%rsp), %r8
	movq	136(%rsp), %r11
	leaq	isCounted(%rip), %r10
	addl	%eax, %r12d
	leaq	groups(%rip), %rsi
	movl	56(%r8), %eax
	jmp	.L126
.L129:
	movq	%r11, 128(%rsp)
	call	countMemberR
	movq	128(%rsp), %r11
	leaq	groups(%rip), %rsi
	leaq	isCounted(%rip), %r10
	addl	%eax, %r12d
	jmp	.L111
	.cfi_endproc
.LFE39:
	.size	countMemberR, .-countMemberR
	.p2align 4
	.globl	countMember
	.type	countMember, @function
countMember:
.LFB40:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	movl	%edi, %r8d
	xorl	%eax, %eax
	movl	$1000, %ecx
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	leaq	groups(%rip), %r11
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	leaq	isCounted(%rip), %rbx
	movq	%rbx, %rdi
	subq	$56, %rsp
	.cfi_def_cfa_offset 112
	rep stosq
	movslq	%r8d, %rax
	movl	$0, 16(%rsp)
	movq	%rax, %rdx
	salq	$4, %rdx
	subq	%rax, %rdx
	leaq	(%r11,%rdx,4), %r10
	movl	56(%r10), %edx
	testl	%edx, %edx
	jle	.L176
	xorl	%ebp, %ebp
.L212:
	movslq	16(%r10,%rbp,4), %rax
	movl	(%rbx,%rax,4), %r13d
	testl	%r13d, %r13d
	jne	.L178
	movq	%rax, %rdx
	movl	$1, (%rbx,%rax,4)
	salq	$4, %rdx
	subq	%rax, %rdx
	leaq	(%r11,%rdx,4), %r9
	movl	56(%r9), %edx
	testl	%edx, %edx
	jne	.L221
	addl	$1, 16(%rsp)
	movl	56(%r10), %edx
.L178:
	addq	$1, %rbp
	cmpl	%ebp, %edx
	jg	.L212
.L176:
	movl	16(%rsp), %eax
	addq	$56, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%rbp
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	ret
.L221:
	.cfi_restore_state
	movl	$0, %r12d
	jle	.L181
	movq	%rbp, (%rsp)
	movl	%r13d, %ecx
	movq	%r10, 8(%rsp)
.L211:
	movslq	16(%r9,%r12,4), %rax
	movl	(%rbx,%rax,4), %r13d
	testl	%r13d, %r13d
	jne	.L182
	movq	%rax, %rdx
	movl	$1, (%rbx,%rax,4)
	salq	$4, %rdx
	subq	%rax, %rdx
	leaq	(%r11,%rdx,4), %rdx
	movl	56(%rdx), %eax
	testl	%eax, %eax
	jne	.L222
	movl	56(%r9), %edx
	addl	$1, %ecx
.L182:
	addq	$1, %r12
	cmpl	%r12d, %edx
	jg	.L211
	addl	%ecx, 16(%rsp)
	movq	(%rsp), %rbp
	movq	8(%rsp), %r10
.L181:
	movl	56(%r10), %edx
	jmp	.L178
.L222:
	movl	$0, %r14d
	jle	.L185
	movl	%ecx, 20(%rsp)
	movq	%r9, 32(%rsp)
	movq	%r12, 24(%rsp)
	movq	%r14, %r12
	movq	%rdx, %r14
.L210:
	movslq	16(%r14,%r12,4), %rbp
	movl	(%rbx,%rbp,4), %r15d
	testl	%r15d, %r15d
	jne	.L186
	movq	%rbp, %rax
	movl	$1, (%rbx,%rbp,4)
	salq	$4, %rax
	subq	%rbp, %rax
	leaq	(%r11,%rax,4), %r8
	movl	56(%r8), %eax
	testl	%eax, %eax
	jne	.L223
	movl	56(%r14), %eax
	addl	$1, %r13d
.L186:
	addq	$1, %r12
	cmpl	%r12d, %eax
	jg	.L210
	movl	20(%rsp), %ecx
	movq	24(%rsp), %r12
	movq	32(%rsp), %r9
	addl	%r13d, %ecx
.L185:
	movl	56(%r9), %edx
	jmp	.L182
.L223:
	jle	.L189
	movslq	16(%r8), %rdi
	movl	(%rbx,%rdi,4), %ecx
	testl	%ecx, %ecx
	jne	.L190
	movq	%rdi, %r9
	movl	$1, (%rbx,%rdi,4)
	movl	$1, %r15d
	salq	$4, %r9
	subq	%rdi, %r9
	movl	56(%r11,%r9,4), %edx
	testl	%edx, %edx
	jne	.L224
.L190:
	cmpl	$1, %eax
	jle	.L191
	movq	%rbp, %rdi
	salq	$4, %rdi
	subq	%rbp, %rdi
	leaq	(%r11,%rdi,4), %r8
	movslq	20(%r8), %rdi
	movl	(%rbx,%rdi,4), %r10d
	movq	%rdi, %r9
	testl	%r10d, %r10d
	jne	.L192
	movq	%rdi, %rax
	movl	$1, (%rbx,%rdi,4)
	salq	$4, %rax
	subq	%rdi, %rax
	movl	56(%r11,%rax,4), %edi
	testl	%edi, %edi
	jne	.L225
	movl	56(%r8), %eax
	addl	$1, %r15d
.L192:
	cmpl	$2, %eax
	jle	.L191
	movq	%rbp, %rdi
	salq	$4, %rdi
	subq	%rbp, %rdi
	leaq	(%r11,%rdi,4), %r8
	movslq	24(%r8), %rdi
	movl	(%rbx,%rdi,4), %esi
	testl	%esi, %esi
	jne	.L194
	movq	%rdi, %rax
	movl	$1, (%rbx,%rdi,4)
	salq	$4, %rax
	subq	%rdi, %rax
	movl	56(%r11,%rax,4), %ecx
	testl	%ecx, %ecx
	jne	.L226
	movl	56(%r8), %eax
	addl	$1, %r15d
.L194:
	cmpl	$3, %eax
	jle	.L191
	movq	%rbp, %rdi
	salq	$4, %rdi
	subq	%rbp, %rdi
	leaq	(%r11,%rdi,4), %r8
	movslq	28(%r8), %rdi
	movl	(%rbx,%rdi,4), %edx
	testl	%edx, %edx
	jne	.L196
	movq	%rdi, %rax
	movl	$1, (%rbx,%rdi,4)
	salq	$4, %rax
	subq	%rdi, %rax
	movl	56(%r11,%rax,4), %eax
	testl	%eax, %eax
	jne	.L227
	movl	56(%r8), %eax
	addl	$1, %r15d
.L196:
	cmpl	$4, %eax
	jle	.L191
	movq	%rbp, %rdi
	salq	$4, %rdi
	subq	%rbp, %rdi
	leaq	(%r11,%rdi,4), %r8
	movslq	32(%r8), %rdi
	movl	(%rbx,%rdi,4), %r10d
	movq	%rdi, %r9
	testl	%r10d, %r10d
	jne	.L198
	movq	%rdi, %rax
	movl	$1, (%rbx,%rdi,4)
	salq	$4, %rax
	subq	%rdi, %rax
	movl	56(%r11,%rax,4), %edi
	testl	%edi, %edi
	jne	.L228
	movl	56(%r8), %eax
	addl	$1, %r15d
.L198:
	cmpl	$5, %eax
	jle	.L191
	movq	%rbp, %rdi
	salq	$4, %rdi
	subq	%rbp, %rdi
	leaq	(%r11,%rdi,4), %r8
	movslq	36(%r8), %rdi
	movl	(%rbx,%rdi,4), %esi
	testl	%esi, %esi
	jne	.L200
	movq	%rdi, %rax
	movl	$1, (%rbx,%rdi,4)
	salq	$4, %rax
	subq	%rdi, %rax
	movl	56(%r11,%rax,4), %ecx
	testl	%ecx, %ecx
	jne	.L229
	movl	56(%r8), %eax
	addl	$1, %r15d
.L200:
	cmpl	$6, %eax
	jle	.L191
	movq	%rbp, %rdi
	salq	$4, %rdi
	subq	%rbp, %rdi
	leaq	(%r11,%rdi,4), %r8
	movslq	40(%r8), %rdi
	movl	(%rbx,%rdi,4), %edx
	testl	%edx, %edx
	jne	.L202
	movq	%rdi, %rax
	movl	$1, (%rbx,%rdi,4)
	salq	$4, %rax
	subq	%rdi, %rax
	movl	56(%r11,%rax,4), %eax
	testl	%eax, %eax
	jne	.L230
	movl	56(%r8), %eax
	addl	$1, %r15d
.L202:
	cmpl	$7, %eax
	jle	.L191
	movq	%rbp, %rdi
	salq	$4, %rdi
	subq	%rbp, %rdi
	leaq	(%r11,%rdi,4), %r8
	movslq	44(%r8), %rdi
	movl	(%rbx,%rdi,4), %r10d
	movq	%rdi, %r9
	testl	%r10d, %r10d
	jne	.L204
	movq	%rdi, %rax
	movl	$1, (%rbx,%rdi,4)
	salq	$4, %rax
	subq	%rdi, %rax
	movl	56(%r11,%rax,4), %edi
	testl	%edi, %edi
	jne	.L231
	movl	56(%r8), %eax
	addl	$1, %r15d
.L204:
	cmpl	$8, %eax
	jle	.L191
	movq	%rbp, %rdi
	salq	$4, %rdi
	subq	%rbp, %rdi
	leaq	(%r11,%rdi,4), %r8
	movslq	48(%r8), %rdi
	movl	(%rbx,%rdi,4), %esi
	testl	%esi, %esi
	jne	.L206
	movq	%rdi, %rax
	movl	$1, (%rbx,%rdi,4)
	salq	$4, %rax
	subq	%rdi, %rax
	movl	56(%r11,%rax,4), %ecx
	testl	%ecx, %ecx
	jne	.L232
	movl	56(%r8), %eax
	addl	$1, %r15d
.L206:
	cmpl	$9, %eax
	jle	.L191
	movq	%rbp, %rax
	salq	$4, %rax
	subq	%rbp, %rax
	movslq	52(%r11,%rax,4), %rax
	movl	(%rbx,%rax,4), %edx
	movq	%rax, %r8
	testl	%edx, %edx
	jne	.L191
	movq	%rax, %rdi
	movl	$1, (%rbx,%rax,4)
	salq	$4, %rdi
	subq	%rax, %rdi
	movl	56(%r11,%rdi,4), %eax
	testl	%eax, %eax
	jne	.L209
	addl	$1, %r15d
.L191:
	addl	%r15d, %r13d
.L189:
	movl	56(%r14), %eax
	jmp	.L186
.L224:
	movq	%r8, 40(%rsp)
	call	countMemberR
	movq	40(%rsp), %r8
	leaq	groups(%rip), %r11
	movl	%eax, %r15d
	movl	56(%r8), %eax
	jmp	.L190
.L225:
	movl	%r9d, %edi
	movq	%r8, 40(%rsp)
	call	countMemberR
	movq	40(%rsp), %r8
	leaq	groups(%rip), %r11
	addl	%eax, %r15d
	movl	56(%r8), %eax
	jmp	.L192
.L226:
	movq	%r8, 40(%rsp)
	call	countMemberR
	movq	40(%rsp), %r8
	leaq	groups(%rip), %r11
	addl	%eax, %r15d
	movl	56(%r8), %eax
	jmp	.L194
.L230:
	movq	%r8, 40(%rsp)
	call	countMemberR
	movq	40(%rsp), %r8
	leaq	groups(%rip), %r11
	addl	%eax, %r15d
	movl	56(%r8), %eax
	jmp	.L202
.L229:
	movq	%r8, 40(%rsp)
	call	countMemberR
	movq	40(%rsp), %r8
	leaq	groups(%rip), %r11
	addl	%eax, %r15d
	movl	56(%r8), %eax
	jmp	.L200
.L227:
	movq	%r8, 40(%rsp)
	call	countMemberR
	movq	40(%rsp), %r8
	leaq	groups(%rip), %r11
	addl	%eax, %r15d
	movl	56(%r8), %eax
	jmp	.L196
.L228:
	movl	%r9d, %edi
	movq	%r8, 40(%rsp)
	call	countMemberR
	movq	40(%rsp), %r8
	leaq	groups(%rip), %r11
	addl	%eax, %r15d
	movl	56(%r8), %eax
	jmp	.L198
.L231:
	movl	%r9d, %edi
	movq	%r8, 40(%rsp)
	call	countMemberR
	movq	40(%rsp), %r8
	leaq	groups(%rip), %r11
	addl	%eax, %r15d
	movl	56(%r8), %eax
	jmp	.L204
.L209:
	movl	%r8d, %edi
	call	countMemberR
	leaq	groups(%rip), %r11
	addl	%eax, %r15d
	jmp	.L191
.L232:
	movq	%r8, 40(%rsp)
	call	countMemberR
	movq	40(%rsp), %r8
	leaq	groups(%rip), %r11
	addl	%eax, %r15d
	movl	56(%r8), %eax
	jmp	.L206
	.cfi_endproc
.LFE40:
	.size	countMember, .-countMember
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%*[^a-z]%[a-z]:"
.LC1:
	.string	"%[a-z],"
.LC2:
	.string	"%*[^0-9]"
.LC3:
	.string	"%d\n"
.LC4:
	.string	"%d"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB41:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	leaq	4+flag(%rip), %r15
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	subq	$120, %rsp
	.cfi_def_cfa_offset 176
	movq	%fs:40, %rax
	movq	%rax, 104(%rsp)
	xorl	%eax, %eax
	leaq	76(%rsp), %rax
	movq	%rax, 32(%rsp)
.L234:
	movq	32(%rsp), %rsi
	xorl	%eax, %eax
	leaq	.LC4(%rip), %rdi
	call	__isoc99_scanf@PLT
	cmpl	$1, %eax
	jne	.L301
	movl	76(%rsp), %eax
	subl	$1, %eax
	cmpl	$99, %eax
	ja	.L301
	movl	$1000, %ecx
	xorl	%eax, %eax
	leaq	flag(%rip), %rdi
	movl	$-1, 16(%rsp)
	rep stosq
	leaq	80(%rsp), %rbp
	.p2align 4,,10
	.p2align 3
.L264:
	movq	%rbp, %rsi
	leaq	.LC0(%rip), %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movzbl	80(%rsp), %r12d
	testb	%r12b, %r12b
	je	.L235
	leaq	81(%rsp), %rsi
	movl	$3141, %edx
	xorl	%eax, %eax
	movsbl	%r12b, %r8d
	movq	%rsi, %rdi
	.p2align 4,,10
	.p2align 3
.L236:
	imull	%edx, %eax
	addq	$1, %rdi
	movl	%eax, %ecx
	addl	%r8d, %ecx
	movslq	%ecx, %rax
	movl	%ecx, %r8d
	imulq	$274877907, %rax, %rax
	sarl	$31, %r8d
	sarq	$39, %rax
	subl	%r8d, %eax
	imull	$2000, %eax, %r8d
	movl	%ecx, %eax
	imull	$2718, %edx, %ecx
	subl	%r8d, %eax
	movslq	%ecx, %rdx
	movl	%ecx, %r8d
	imulq	$1100061659, %rdx, %rdx
	sarl	$31, %r8d
	sarq	$41, %rdx
	subl	%r8d, %edx
	imull	$1999, %edx, %r8d
	movl	%ecx, %edx
	subl	%r8d, %edx
	movsbl	-1(%rdi), %r8d
	testb	%r8b, %r8b
	jne	.L236
	movslq	%eax, %rbx
	leaq	flag(%rip), %rax
	movl	(%rax,%rbx,4), %eax
	testl	%eax, %eax
	je	.L240
.L304:
	movq	%rbx, %rax
	leaq	groups(%rip), %rsi
	salq	$4, %rax
	subq	%rbx, %rax
	leaq	(%rsi,%rax,4), %r14
	jmp	.L239
	.p2align 4,,10
	.p2align 3
.L341:
	movl	(%r15,%rbx,4), %eax
	addq	$60, %r14
	addq	$1, %rbx
	testl	%eax, %eax
	je	.L242
.L239:
	movq	%r14, %rsi
	movq	%rbp, %rdi
	movslq	%ebx, %r13
	call	strcmp@PLT
	testl	%eax, %eax
	jne	.L341
	cmpl	$-1, %r13d
	je	.L242
.L243:
	movl	16(%rsp), %eax
	movq	%r13, %r12
	cmpl	$-1, %eax
	cmove	%r13d, %eax
	salq	$4, %r12
	subq	%r13, %r12
	movl	%eax, 16(%rsp)
	leaq	0(,%r12,4), %rax
	movq	%r12, (%rsp)
	movq	%rax, 8(%rsp)
	.p2align 4,,10
	.p2align 3
.L260:
	xorl	%eax, %eax
	movq	%rbp, %rsi
	leaq	.LC1(%rip), %rdi
	call	__isoc99_scanf@PLT
	cmpl	$1, %eax
	jne	.L261
	movzbl	80(%rsp), %r12d
	testb	%r12b, %r12b
	je	.L342
	leaq	81(%rsp), %rsi
	movl	$3141, %eax
	xorl	%ebx, %ebx
	movsbl	%r12b, %ecx
	movq	%rsi, %rdi
	.p2align 4,,10
	.p2align 3
.L248:
	imull	%eax, %ebx
	addq	$1, %rdi
	movl	%ebx, %edx
	addl	%ecx, %edx
	movslq	%edx, %rbx
	movl	%edx, %ecx
	imulq	$274877907, %rbx, %rbx
	sarl	$31, %ecx
	sarq	$39, %rbx
	subl	%ecx, %ebx
	imull	$2000, %ebx, %ecx
	subl	%ecx, %edx
	movslq	%edx, %rbx
	imull	$2718, %eax, %edx
	movslq	%edx, %rax
	movl	%edx, %ecx
	imulq	$1100061659, %rax, %rax
	sarl	$31, %ecx
	sarq	$41, %rax
	subl	%ecx, %eax
	imull	$1999, %eax, %ecx
	movl	%edx, %eax
	subl	%ecx, %eax
	movsbl	-1(%rdi), %ecx
	testb	%cl, %cl
	jne	.L248
	leaq	flag(%rip), %rax
	movl	(%rax,%rbx,4), %edx
	testl	%edx, %edx
	je	.L252
.L303:
	movq	%rbx, %rax
	leaq	groups(%rip), %rsi
	salq	$4, %rax
	subq	%rbx, %rax
	leaq	(%rsi,%rax,4), %r14
	jmp	.L251
	.p2align 4,,10
	.p2align 3
.L343:
	movl	(%r15,%rbx,4), %eax
	addq	$60, %r14
	addq	$1, %rbx
	testl	%eax, %eax
	je	.L254
.L251:
	movq	%r14, %rsi
	movq	%rbp, %rdi
	movl	%ebx, %r13d
	call	strcmp@PLT
	testl	%eax, %eax
	jne	.L343
	cmpl	$-1, %ebx
	je	.L254
.L255:
	leaq	groups(%rip), %rdx
	addq	8(%rsp), %rdx
	leaq	groups(%rip), %rdi
	movslq	56(%rdx), %rax
	leal	1(%rax), %esi
	movl	%esi, 56(%rdx)
	movq	(%rsp), %rsi
	leaq	4(%rax,%rsi), %rax
	movl	%r13d, (%rdi,%rax,4)
	jmp	.L260
	.p2align 4,,10
	.p2align 3
.L254:
	leaq	81(%rsp), %rsi
	testb	%r12b, %r12b
	je	.L344
.L252:
	movl	$3141, %eax
	xorl	%r13d, %r13d
	.p2align 4,,10
	.p2align 3
.L256:
	imull	%eax, %r13d
	movsbl	%r12b, %edx
	movzbl	(%rsi), %r12d
	addq	$1, %rsi
	addl	%r13d, %edx
	movslq	%edx, %r13
	movl	%edx, %ecx
	imulq	$274877907, %r13, %r13
	sarl	$31, %ecx
	sarq	$39, %r13
	subl	%ecx, %r13d
	imull	$2000, %r13d, %ecx
	subl	%ecx, %edx
	movl	%edx, %r13d
	imull	$2718, %eax, %edx
	movslq	%edx, %rax
	movl	%edx, %ecx
	imulq	$1100061659, %rax, %rax
	sarl	$31, %ecx
	sarq	$41, %rax
	subl	%ecx, %eax
	imull	$1999, %eax, %ecx
	movl	%edx, %eax
	subl	%ecx, %eax
	testb	%r12b, %r12b
	jne	.L256
	movslq	%r13d, %rax
	leaq	flag(%rip), %rdi
	movl	(%rdi,%rax,4), %eax
.L257:
	testl	%eax, %eax
	je	.L258
	leal	1(%r13), %ecx
	movslq	%ecx, %rax
	.p2align 4,,10
	.p2align 3
.L259:
	movl	%eax, %r13d
	leaq	-4+flag(%rip), %rsi
	addq	$1, %rax
	movl	(%rsi,%rax,4), %esi
	testl	%esi, %esi
	jne	.L259
.L258:
	movslq	%r13d, %rdx
	leaq	flag(%rip), %rax
	leaq	groups(%rip), %rdi
	movq	%rbp, %rsi
	movl	$1, (%rax,%rdx,4)
	movq	%rdx, %rax
	salq	$4, %rax
	subq	%rdx, %rax
	movl	$16, %edx
	leaq	(%rdi,%rax,4), %rdi
	call	strncpy@PLT
	movl	$0, 56(%rax)
	jmp	.L255
	.p2align 4,,10
	.p2align 3
.L261:
	movl	76(%rsp), %eax
	subl	$1, %eax
	movl	%eax, 76(%rsp)
	testl	%eax, %eax
	jg	.L264
	leaq	.LC2(%rip), %rdi
	xorl	%eax, %eax
	leaq	isCounted(%rip), %r13
	call	__isoc99_scanf@PLT
	xorl	%eax, %eax
	movl	$1000, %ecx
	movq	%r13, %rdi
	rep stosq
	movslq	16(%rsp), %rax
	movl	$0, 24(%rsp)
	movq	%rax, %rdx
	salq	$4, %rdx
	subq	%rax, %rdx
	leaq	groups(%rip), %rax
	leaq	(%rax,%rdx,4), %rax
	movl	56(%rax), %edx
	movq	%rax, 8(%rsp)
	testl	%edx, %edx
	jle	.L265
	xorl	%r14d, %r14d
.L300:
	movq	8(%rsp), %rax
	movslq	16(%rax,%r14,4), %rax
	movl	0(%r13,%rax,4), %r12d
	testl	%r12d, %r12d
	jne	.L266
	movl	$1, 0(%r13,%rax,4)
	movq	%rax, %rdx
	salq	$4, %rdx
	subq	%rax, %rdx
	leaq	groups(%rip), %rax
	leaq	(%rax,%rdx,4), %rax
	movl	56(%rax), %edx
	movq	%rax, (%rsp)
	testl	%edx, %edx
	jne	.L345
	movq	8(%rsp), %rax
	addl	$1, 24(%rsp)
	movl	56(%rax), %edx
.L266:
	addq	$1, %r14
	cmpl	%r14d, %edx
	jg	.L300
.L265:
	movl	24(%rsp), %edx
	leaq	.LC3(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	jmp	.L234
	.p2align 4,,10
	.p2align 3
.L342:
	leaq	flag(%rip), %rax
	xorl	%ebx, %ebx
	movl	(%rax), %r13d
	testl	%r13d, %r13d
	jne	.L303
	jmp	.L258
.L242:
	leaq	81(%rsp), %rsi
	xorl	%r13d, %r13d
	testb	%r12b, %r12b
	je	.L241
.L240:
	movl	$3141, %eax
	xorl	%r13d, %r13d
	.p2align 4,,10
	.p2align 3
.L244:
	imull	%eax, %r13d
	movsbl	%r12b, %edx
	movzbl	(%rsi), %r12d
	addq	$1, %rsi
	addl	%r13d, %edx
	movslq	%edx, %r13
	movl	%edx, %ecx
	imulq	$274877907, %r13, %r13
	sarl	$31, %ecx
	sarq	$39, %r13
	subl	%ecx, %r13d
	imull	$2000, %r13d, %ecx
	subl	%ecx, %edx
	movslq	%edx, %r13
	imull	$2718, %eax, %edx
	movslq	%edx, %rax
	movl	%edx, %ecx
	imulq	$1100061659, %rax, %rax
	sarl	$31, %ecx
	sarq	$41, %rax
	subl	%ecx, %eax
	imull	$1999, %eax, %ecx
	movl	%edx, %eax
	subl	%ecx, %eax
	testb	%r12b, %r12b
	jne	.L244
.L241:
	movslq	%r13d, %rax
	leaq	flag(%rip), %rdi
	movl	(%rdi,%rax,4), %r8d
	testl	%r8d, %r8d
	je	.L245
	leal	1(%r13), %eax
	cltq
	.p2align 4,,10
	.p2align 3
.L246:
	movslq	%eax, %r13
	leaq	-4+flag(%rip), %rdi
	addq	$1, %rax
	movl	(%rdi,%rax,4), %edi
	testl	%edi, %edi
	jne	.L246
	movslq	%r13d, %rax
.L245:
	movq	%rax, %rdx
	leaq	flag(%rip), %rdi
	movq	%rbp, %rsi
	salq	$4, %rdx
	movl	$1, (%rdi,%rax,4)
	subq	%rax, %rdx
	leaq	groups(%rip), %rax
	leaq	(%rax,%rdx,4), %rcx
	movl	$16, %edx
	movq	%rcx, %rdi
	call	strncpy@PLT
	movl	$0, 56(%rax)
	jmp	.L243
.L344:
	leaq	flag(%rip), %rax
	xorl	%r13d, %r13d
	movl	(%rax), %eax
	jmp	.L257
.L235:
	leaq	flag(%rip), %rax
	xorl	%ebx, %ebx
	movslq	(%rax), %r13
	xorl	%eax, %eax
	testl	%r13d, %r13d
	jne	.L304
	jmp	.L245
	.p2align 4,,10
	.p2align 3
.L345:
	movl	$0, %eax
	jle	.L269
	movl	%r12d, 28(%rsp)
	movq	%rax, %rbx
	movq	%r14, 40(%rsp)
.L299:
	movq	(%rsp), %rax
	movslq	16(%rax,%rbx,4), %rax
	movl	0(%r13,%rax,4), %ebp
	testl	%ebp, %ebp
	jne	.L270
	movl	$1, 0(%r13,%rax,4)
	movq	%rax, %rdx
	salq	$4, %rdx
	subq	%rax, %rdx
	leaq	groups(%rip), %rax
	leaq	(%rax,%rdx,4), %rax
	movq	%rax, 16(%rsp)
	movl	56(%rax), %eax
	testl	%eax, %eax
	jne	.L346
	movq	(%rsp), %rax
	addl	$1, 28(%rsp)
	movl	56(%rax), %edx
.L270:
	addq	$1, %rbx
	cmpl	%ebx, %edx
	jg	.L299
	movl	28(%rsp), %r12d
	addl	%r12d, 24(%rsp)
	movq	40(%rsp), %r14
.L269:
	movq	8(%rsp), %rax
	movl	56(%rax), %edx
	jmp	.L266
.L346:
	movl	$0, %edi
	jle	.L273
	movq	%rbx, 48(%rsp)
	movq	%rdi, %r12
.L298:
	movq	16(%rsp), %rsi
	movslq	16(%rsi,%r12,4), %r14
	movl	0(%r13,%r14,4), %ebx
	testl	%ebx, %ebx
	jne	.L274
	movq	%r14, %rax
	leaq	groups(%rip), %rdi
	movl	$1, 0(%r13,%r14,4)
	salq	$4, %rax
	subq	%r14, %rax
	leaq	(%rdi,%rax,4), %rsi
	movl	56(%rsi), %eax
	testl	%eax, %eax
	jne	.L347
	movq	16(%rsp), %rax
	addl	$1, %ebp
	movl	56(%rax), %eax
.L274:
	addq	$1, %r12
	cmpl	%r12d, %eax
	jg	.L298
	addl	%ebp, 28(%rsp)
	movq	48(%rsp), %rbx
.L273:
	movq	(%rsp), %rax
	movl	56(%rax), %edx
	jmp	.L270
.L347:
	jle	.L277
	movslq	16(%rsi), %rdi
	movl	0(%r13,%rdi,4), %ecx
	movq	%rdi, %r9
	testl	%ecx, %ecx
	jne	.L278
	movq	%rdi, %r8
	movl	$1, %ebx
	movl	$1, 0(%r13,%rdi,4)
	salq	$4, %r8
	subq	%rdi, %r8
	leaq	groups(%rip), %rdi
	movl	56(%rdi,%r8,4), %edx
	testl	%edx, %edx
	jne	.L348
.L278:
	cmpl	$1, %eax
	jle	.L279
	movq	%r14, %rsi
	leaq	groups(%rip), %rdx
	salq	$4, %rsi
	subq	%r14, %rsi
	leaq	(%rdx,%rsi,4), %rdi
	movslq	20(%rdi), %rsi
	movl	0(%r13,%rsi,4), %r11d
	testl	%r11d, %r11d
	jne	.L280
	movl	$1, 0(%r13,%rsi,4)
	movq	%rsi, %rax
	salq	$4, %rax
	subq	%rsi, %rax
	movl	56(%rdx,%rax,4), %r10d
	testl	%r10d, %r10d
	jne	.L349
	movl	56(%rdi), %eax
	addl	$1, %ebx
.L280:
	cmpl	$2, %eax
	jle	.L279
	movq	%r14, %rsi
	leaq	groups(%rip), %rdx
	salq	$4, %rsi
	subq	%r14, %rsi
	leaq	(%rdx,%rsi,4), %rdi
	movslq	24(%rdi), %rsi
	movl	0(%r13,%rsi,4), %r9d
	movq	%rsi, %r8
	testl	%r9d, %r9d
	jne	.L282
	movl	$1, 0(%r13,%rsi,4)
	movq	%rsi, %rax
	salq	$4, %rax
	subq	%rsi, %rax
	movl	56(%rdx,%rax,4), %esi
	testl	%esi, %esi
	jne	.L350
	movl	56(%rdi), %eax
	addl	$1, %ebx
.L282:
	cmpl	$3, %eax
	jle	.L279
	movq	%r14, %rsi
	leaq	groups(%rip), %rdx
	salq	$4, %rsi
	subq	%r14, %rsi
	leaq	(%rdx,%rsi,4), %rdi
	movslq	28(%rdi), %rsi
	movl	0(%r13,%rsi,4), %ecx
	testl	%ecx, %ecx
	jne	.L284
	movl	$1, 0(%r13,%rsi,4)
	movq	%rsi, %rax
	salq	$4, %rax
	subq	%rsi, %rax
	movl	56(%rdx,%rax,4), %r11d
	testl	%r11d, %r11d
	jne	.L351
	movl	56(%rdi), %eax
	addl	$1, %ebx
.L284:
	cmpl	$4, %eax
	jle	.L279
	movq	%r14, %rsi
	leaq	groups(%rip), %rdx
	salq	$4, %rsi
	subq	%r14, %rsi
	movslq	32(%rdx,%rsi,4), %rsi
	movl	0(%r13,%rsi,4), %r10d
	movq	%rsi, %rdi
	testl	%r10d, %r10d
	jne	.L286
	movl	$1, 0(%r13,%rsi,4)
	movq	%rsi, %rax
	salq	$4, %rax
	subq	%rsi, %rax
	movl	56(%rdx,%rax,4), %r9d
	testl	%r9d, %r9d
	jne	.L352
	imulq	$60, %r14, %rax
	leaq	groups(%rip), %rdi
	addl	$1, %ebx
	movl	56(%rdi,%rax), %eax
.L286:
	cmpl	$5, %eax
	jle	.L279
	movq	%r14, %rsi
	leaq	groups(%rip), %rdx
	salq	$4, %rsi
	subq	%r14, %rsi
	movslq	36(%rdx,%rsi,4), %rsi
	movl	0(%r13,%rsi,4), %r8d
	movq	%rsi, %rdi
	testl	%r8d, %r8d
	jne	.L288
	movl	$1, 0(%r13,%rsi,4)
	imulq	$60, %rsi, %rsi
	cmpl	$0, 56(%rdx,%rsi)
	jne	.L353
	imulq	$60, %r14, %rax
	leaq	groups(%rip), %rdi
	addl	$1, %ebx
	movl	56(%rdi,%rax), %eax
.L288:
	cmpl	$6, %eax
	jle	.L279
	movq	%r14, %rsi
	leaq	groups(%rip), %rdx
	salq	$4, %rsi
	subq	%r14, %rsi
	movslq	40(%rdx,%rsi,4), %rsi
	movl	0(%r13,%rsi,4), %ecx
	movq	%rsi, %rdi
	testl	%ecx, %ecx
	jne	.L290
	movl	$1, 0(%r13,%rsi,4)
	imulq	$60, %rsi, %rsi
	cmpl	$0, 56(%rdx,%rsi)
	jne	.L354
	imulq	$60, %r14, %rax
	leaq	groups(%rip), %rdi
	addl	$1, %ebx
	movl	56(%rdi,%rax), %eax
.L290:
	cmpl	$7, %eax
	jle	.L279
	imulq	$60, %r14, %rsi
	leaq	groups(%rip), %rdx
	addq	%rdx, %rsi
	movslq	44(%rsi), %rdi
	cmpl	$0, 0(%r13,%rdi,4)
	movq	%rdi, %r8
	jne	.L292
	movl	$1, 0(%r13,%rdi,4)
	imulq	$60, %rdi, %rdi
	cmpl	$0, 56(%rdx,%rdi)
	jne	.L355
	movl	56(%rsi), %eax
	addl	$1, %ebx
.L292:
	cmpl	$8, %eax
	jle	.L279
	imulq	$60, %r14, %rsi
	leaq	groups(%rip), %rdx
	addq	%rdx, %rsi
	movslq	48(%rsi), %rdi
	cmpl	$0, 0(%r13,%rdi,4)
	movq	%rdi, %r8
	jne	.L294
	movl	$1, 0(%r13,%rdi,4)
	imulq	$60, %rdi, %rdi
	cmpl	$0, 56(%rdx,%rdi)
	jne	.L356
	movl	56(%rsi), %eax
	addl	$1, %ebx
.L294:
	cmpl	$9, %eax
	jle	.L279
	imulq	$60, %r14, %rcx
	leaq	groups(%rip), %rsi
	movslq	52(%rsi,%rcx), %rax
	cmpl	$0, 0(%r13,%rax,4)
	movq	%rax, %rdi
	jne	.L279
	movl	$1, 0(%r13,%rax,4)
	imulq	$60, %rax, %rax
	cmpl	$0, 56(%rsi,%rax)
	jne	.L297
	addl	$1, %ebx
.L279:
	addl	%ebx, %ebp
.L277:
	movq	16(%rsp), %rax
	movl	56(%rax), %eax
	jmp	.L274
.L301:
	movq	104(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L357
	addq	$120, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%rbp
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	ret
.L348:
	.cfi_restore_state
	movl	%r9d, %edi
	movq	%rsi, 56(%rsp)
	call	countMemberR
	movq	56(%rsp), %rsi
	movl	%eax, %ebx
	movl	56(%rsi), %eax
	jmp	.L278
.L349:
	movl	%esi, %edi
	call	countMemberR
	leaq	groups(%rip), %rdi
	addl	%eax, %ebx
	imulq	$60, %r14, %rax
	movl	56(%rdi,%rax), %eax
	jmp	.L280
.L351:
	movl	%esi, %edi
	call	countMemberR
	leaq	groups(%rip), %rdi
	addl	%eax, %ebx
	imulq	$60, %r14, %rax
	movl	56(%rdi,%rax), %eax
	jmp	.L284
.L350:
	movl	%r8d, %edi
	call	countMemberR
	leaq	groups(%rip), %rdi
	addl	%eax, %ebx
	imulq	$60, %r14, %rax
	movl	56(%rdi,%rax), %eax
	jmp	.L282
.L352:
	call	countMemberR
	leaq	groups(%rip), %rdi
	addl	%eax, %ebx
	imulq	$60, %r14, %rax
	movl	56(%rdi,%rax), %eax
	jmp	.L286
.L353:
	call	countMemberR
	leaq	groups(%rip), %rdi
	addl	%eax, %ebx
	imulq	$60, %r14, %rax
	movl	56(%rdi,%rax), %eax
	jmp	.L288
.L297:
	call	countMemberR
	addl	%eax, %ebx
	addl	%ebx, %ebp
	jmp	.L277
.L354:
	call	countMemberR
	leaq	groups(%rip), %rdi
	addl	%eax, %ebx
	imulq	$60, %r14, %rax
	movl	56(%rdi,%rax), %eax
	jmp	.L290
.L355:
	movl	%r8d, %edi
	movq	%rsi, 56(%rsp)
	call	countMemberR
	movq	56(%rsp), %rsi
	addl	%eax, %ebx
	movl	56(%rsi), %eax
	jmp	.L292
.L356:
	movl	%r8d, %edi
	movq	%rsi, 56(%rsp)
	call	countMemberR
	movq	56(%rsp), %rsi
	addl	%eax, %ebx
	movl	56(%rsi), %eax
	jmp	.L294
.L357:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE41:
	.size	main, .-main
	.globl	isCounted
	.bss
	.align 32
	.type	isCounted, @object
	.size	isCounted, 8000
isCounted:
	.zero	8000
	.globl	flag
	.align 32
	.type	flag, @object
	.size	flag, 8000
flag:
	.zero	8000
	.globl	groups
	.align 32
	.type	groups, @object
	.size	groups, 120000
groups:
	.zero	120000
	.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	hash
	.type	hash, @function
hash:
.LFB35:
	.cfi_startproc
	endbr64
	movsbl	(%rdi), %ecx
	testb	%cl, %cl
	je	.L4
	leaq	1(%rdi), %rsi
	movl	$3141, %edx
	xorl	%eax, %eax
	.p2align 4,,10
	.p2align 3
.L3:
	imull	%edx, %eax
	addq	$1, %rsi
	addl	%eax, %ecx
	movslq	%ecx, %rax
	movl	%ecx, %edi
	imulq	$274877907, %rax, %rax
	sarl	$31, %edi
	sarq	$39, %rax
	subl	%edi, %eax
	imull	$2000, %eax, %edi
	movl	%ecx, %eax
	imull	$2718, %edx, %ecx
	subl	%edi, %eax
	movslq	%ecx, %rdx
	movl	%ecx, %edi
	imulq	$1100061659, %rdx, %rdx
	sarl	$31, %edi
	sarq	$41, %rdx
	subl	%edi, %edx
	imull	$1999, %edx, %edi
	movl	%ecx, %edx
	movsbl	-1(%rsi), %ecx
	subl	%edi, %edx
	testb	%cl, %cl
	jne	.L3
	ret
	.p2align 4,,10
	.p2align 3
.L4:
	xorl	%eax, %eax
	ret
	.cfi_endproc
.LFE35:
	.size	hash, .-hash
	.p2align 4
	.globl	search
	.type	search, @function
search:
.LFB36:
	.cfi_startproc
	endbr64
	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
	movq	%rdi, %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	movsbl	(%rdi), %edx
	testb	%dl, %dl
	je	.L12
	leaq	1(%rdi), %rcx
	movl	$3141, %eax
	xorl	%ebx, %ebx
	.p2align 4,,10
	.p2align 3
.L9:
	imull	%eax, %ebx
	addq	$1, %rcx
	addl	%ebx, %edx
	movslq	%edx, %rbx
	movl	%edx, %esi
	imulq	$274877907, %rbx, %rbx
	sarl	$31, %esi
	sarq	$39, %rbx
	subl	%esi, %ebx
	imull	$2000, %ebx, %esi
	subl	%esi, %edx
	movslq	%edx, %rbx
	imull	$2718, %eax, %edx
	movslq	%edx, %rax
	movl	%edx, %esi
	imulq	$1100061659, %rax, %rax
	sarl	$31, %esi
	sarq	$41, %rax
	subl	%esi, %eax
	imull	$1999, %eax, %esi
	movl	%edx, %eax
	movsbl	-1(%rcx), %edx
	subl	%esi, %eax
	testb	%dl, %dl
	jne	.L9
.L8:
	leaq	flag(%rip), %rax
	movl	(%rax,%rbx,4), %eax
	testl	%eax, %eax
	je	.L13
	movq	%rbx, %rax
	leaq	groups(%rip), %rdx
	leaq	4+flag(%rip), %r13
	salq	$4, %rax
	subq	%rbx, %rax
	leaq	(%rdx,%rax,4), %r12
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L20:
	movl	0(%r13,%rbx,4), %eax
	addq	$60, %r12
	addq	$1, %rbx
	testl	%eax, %eax
	je	.L13
.L11:
	movq	%r12, %rsi
	movq	%rbp, %rdi
	movl	%ebx, %r14d
	call	strcmp@PLT
	testl	%eax, %eax
	jne	.L20
	popq	%rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	movl	%r14d, %eax
	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
	.p2align 4,,10
	.p2align 3
.L13:
	.cfi_restore_state
	movl	$-1, %r14d
	popq	%rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	popq	%rbp
	.cfi_def_cfa_offset 32
	movl	%r14d, %eax
	popq	%r12
	.cfi_def_cfa_offset 24
	popq	%r13
	.cfi_def_cfa_offset 16
	popq	%r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L12:
	.cfi_restore_state
	xorl	%ebx, %ebx
	jmp	.L8
	.cfi_endproc
.LFE36:
	.size	search, .-search
	.p2align 4
	.globl	addGroup
	.type	addGroup, @function
addGroup:
.LFB37:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	movq	%rdi, %r12
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	subq	$24, %rsp
	.cfi_def_cfa_offset 80
	movsbl	(%rdi), %ebp
	testb	%bpl, %bpl
	je	.L22
	leaq	1(%rdi), %rsi
	movsbl	%bpl, %ecx
	movl	$3141, %eax
	xorl	%ebx, %ebx
	movq	%rsi, %rdi
	.p2align 4,,10
	.p2align 3
.L23:
	movl	%ebx, %edx
	addq	$1, %rdi
	imull	%eax, %edx
	addl	%ecx, %edx
	movslq	%edx, %rbx
	movl	%edx, %ecx
	imulq	$274877907, %rbx, %rbx
	sarl	$31, %ecx
	sarq	$39, %rbx
	subl	%ecx, %ebx
	imull	$2000, %ebx, %ecx
	movl	%edx, %ebx
	imull	$2718, %eax, %edx
	subl	%ecx, %ebx
	movslq	%edx, %rax
	movl	%edx, %ecx
	imulq	$1100061659, %rax, %rax
	sarl	$31, %ecx
	sarq	$41, %rax
	subl	%ecx, %eax
	imull	$1999, %eax, %ecx
	movl	%edx, %eax
	subl	%ecx, %eax
	movsbl	-1(%rdi), %ecx
	testb	%cl, %cl
	jne	.L23
	leaq	flag(%rip), %rcx
	movslq	%ebx, %rbx
	movl	(%rcx,%rbx,4), %eax
	testl	%eax, %eax
	je	.L46
.L34:
	movq	%rbx, %rax
	leaq	groups(%rip), %rsi
	leaq	4+flag(%rip), %r15
	salq	$4, %rax
	movq	%rsi, 8(%rsp)
	subq	%rbx, %rax
	leaq	(%rsi,%rax,4), %r14
	jmp	.L26
	.p2align 4,,10
	.p2align 3
.L47:
	movl	(%r15,%rbx,4), %eax
	addq	$60, %r14
	addq	$1, %rbx
	testl	%eax, %eax
	je	.L27
.L26:
	movq	%r14, %rsi
	movq	%r12, %rdi
	movl	%ebx, %r13d
	call	strcmp@PLT
	testl	%eax, %eax
	jne	.L47
	cmpl	$-1, %ebx
	je	.L27
.L21:
	addq	$24, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	movl	%r13d, %eax
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%rbp
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L27:
	.cfi_restore_state
	testb	%bpl, %bpl
	je	.L29
	leaq	1(%r12), %rsi
	leaq	flag(%rip), %rcx
.L35:
	movl	$3141, %eax
	xorl	%r13d, %r13d
	.p2align 4,,10
	.p2align 3
.L30:
	movl	%r13d, %edx
	addq	$1, %rsi
	imull	%eax, %edx
	addl	%edx, %ebp
	movslq	%ebp, %r13
	movl	%ebp, %edx
	imulq	$274877907, %r13, %r13
	sarl	$31, %edx
	sarq	$39, %r13
	subl	%edx, %r13d
	imull	$2000, %r13d, %edx
	subl	%edx, %ebp
	imull	$2718, %eax, %edx
	movl	%ebp, %r13d
	movsbl	-1(%rsi), %ebp
	movslq	%edx, %rax
	movl	%edx, %edi
	imulq	$1100061659, %rax, %rax
	sarl	$31, %edi
	sarq	$41, %rax
	subl	%edi, %eax
	imull	$1999, %eax, %edi
	movl	%edx, %eax
	subl	%edi, %eax
	testb	%bpl, %bpl
	jne	.L30
	movslq	%r13d, %rax
	movl	(%rcx,%rax,4), %eax
.L31:
	testl	%eax, %eax
	je	.L32
	leal	1(%r13), %eax
	leaq	-4+flag(%rip), %rdx
	cltq
	.p2align 4,,10
	.p2align 3
.L33:
	movl	%eax, %r13d
	addq	$1, %rax
	movl	(%rdx,%rax,4), %esi
	testl	%esi, %esi
	jne	.L33
.L32:
	movslq	%r13d, %rdx
	movq	8(%rsp), %rsi
	movq	%rdx, %rax
	movl	$1, (%rcx,%rdx,4)
	salq	$4, %rax
	subq	%rdx, %rax
	movl	$16, %edx
	leaq	(%rsi,%rax,4), %rcx
	movq	%r12, %rsi
	movq	%rcx, %rdi
	call	strncpy@PLT
	movl	$0, 56(%rax)
	jmp	.L21
	.p2align 4,,10
	.p2align 3
.L22:
	movl	flag(%rip), %r13d
	xorl	%ebx, %ebx
	testl	%r13d, %r13d
	jne	.L34
	leaq	groups(%rip), %rax
	leaq	flag(%rip), %rcx
	movq	%rax, 8(%rsp)
	jmp	.L32
.L29:
	movl	flag(%rip), %eax
	xorl	%r13d, %r13d
	leaq	flag(%rip), %rcx
	jmp	.L31
.L46:
	leaq	groups(%rip), %rax
	movq	%rax, 8(%rsp)
	jmp	.L35
	.cfi_endproc
.LFE37:
	.size	addGroup, .-addGroup
	.p2align 4
	.globl	addMember
	.type	addMember, @function
addMember:
.LFB38:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	movq	%rsi, %r13
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	subq	$24, %rsp
	.cfi_def_cfa_offset 80
	movsbl	(%rsi), %ebp
	movl	%edi, 12(%rsp)
	testb	%bpl, %bpl
	je	.L49
	leaq	1(%rsi), %rcx
	movsbl	%bpl, %edi
	movl	$3141, %eax
	xorl	%ebx, %ebx
	movq	%rcx, %rsi
	.p2align 4,,10
	.p2align 3
.L50:
	imull	%eax, %ebx
	addq	$1, %rsi
	movl	%ebx, %edx
	addl	%edi, %edx
	movslq	%edx, %rbx
	movl	%edx, %edi
	imulq	$274877907, %rbx, %rbx
	sarl	$31, %edi
	sarq	$39, %rbx
	subl	%edi, %ebx
	imull	$2000, %ebx, %edi
	subl	%edi, %edx
	movslq	%edx, %rbx
	imull	$2718, %eax, %edx
	movslq	%edx, %rax
	movl	%edx, %edi
	imulq	$1100061659, %rax, %rax
	sarl	$31, %edi
	sarq	$41, %rax
	subl	%edi, %eax
	imull	$1999, %eax, %edi
	movl	%edx, %eax
	subl	%edi, %eax
	movsbl	-1(%rsi), %edi
	testb	%dil, %dil
	jne	.L50
	leaq	flag(%rip), %rsi
	movl	(%rsi,%rbx,4), %eax
	testl	%eax, %eax
	je	.L74
.L61:
	movq	%rbx, %rax
	leaq	groups(%rip), %rcx
	leaq	4+flag(%rip), %r15
	salq	$4, %rax
	movq	%rcx, (%rsp)
	subq	%rbx, %rax
	leaq	(%rcx,%rax,4), %r12
	jmp	.L53
	.p2align 4,,10
	.p2align 3
.L75:
	movl	(%r15,%rbx,4), %eax
	addq	$60, %r12
	addq	$1, %rbx
	testl	%eax, %eax
	je	.L54
.L53:
	movq	%r12, %rsi
	movq	%r13, %rdi
	movl	%ebx, %r14d
	call	strcmp@PLT
	testl	%eax, %eax
	jne	.L75
	cmpl	$-1, %ebx
	je	.L54
.L55:
	movslq	12(%rsp), %r12
	movq	(%rsp), %rbx
	movq	%r12, %rdx
	salq	$4, %rdx
	subq	%r12, %rdx
	leaq	(%rbx,%rdx,4), %rcx
	movslq	56(%rcx), %rax
	leal	1(%rax), %esi
	leaq	4(%rdx,%rax), %rax
	movl	%r14d, (%rbx,%rax,4)
	movl	%r14d, %eax
	movl	%esi, 56(%rcx)
	addq	$24, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%rbp
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L54:
	.cfi_restore_state
	testb	%bpl, %bpl
	je	.L56
	leaq	1(%r13), %rcx
	leaq	flag(%rip), %rsi
.L62:
	movl	$3141, %eax
	xorl	%r14d, %r14d
	.p2align 4,,10
	.p2align 3
.L57:
	movl	%r14d, %edx
	addq	$1, %rcx
	imull	%eax, %edx
	addl	%edx, %ebp
	movslq	%ebp, %r8
	movl	%ebp, %edx
	movl	%ebp, %r14d
	movsbl	-1(%rcx), %ebp
	imulq	$274877907, %r8, %r8
	sarl	$31, %edx
	sarq	$39, %r8
	subl	%edx, %r8d
	imull	$2000, %r8d, %edx
	subl	%edx, %r14d
	imull	$2718, %eax, %edx
	movslq	%edx, %rax
	movl	%edx, %edi
	imulq	$1100061659, %rax, %rax
	sarl	$31, %edi
	sarq	$41, %rax
	subl	%edi, %eax
	imull	$1999, %eax, %edi
	movl	%edx, %eax
	subl	%edi, %eax
	testb	%bpl, %bpl
	jne	.L57
	movslq	%r14d, %rax
	movl	(%rsi,%rax,4), %eax
.L58:
	testl	%eax, %eax
	je	.L59
	leal	1(%r14), %eax
	leaq	-4+flag(%rip), %rdx
	cltq
	.p2align 4,,10
	.p2align 3
.L60:
	movl	%eax, %r14d
	addq	$1, %rax
	movl	(%rdx,%rax,4), %ecx
	testl	%ecx, %ecx
	jne	.L60
.L59:
	movslq	%r14d, %rdx
	movq	(%rsp), %rcx
	movq	%rdx, %rax
	movl	$1, (%rsi,%rdx,4)
	movq	%r13, %rsi
	salq	$4, %rax
	subq	%rdx, %rax
	movl	$16, %edx
	leaq	(%rcx,%rax,4), %rcx
	movq	%rcx, %rdi
	call	strncpy@PLT
	movl	$0, 56(%rax)
	jmp	.L55
	.p2align 4,,10
	.p2align 3
.L49:
	movl	flag(%rip), %r14d
	xorl	%ebx, %ebx
	testl	%r14d, %r14d
	jne	.L61
	leaq	groups(%rip), %rax
	leaq	flag(%rip), %rsi
	movq	%rax, (%rsp)
	jmp	.L59
.L56:
	movl	flag(%rip), %eax
	xorl	%r14d, %r14d
	leaq	flag(%rip), %rsi
	jmp	.L58
.L74:
	leaq	groups(%rip), %rax
	movq	%rax, (%rsp)
	jmp	.L62
	.cfi_endproc
.LFE38:
	.size	addMember, .-addMember
	.p2align 4
	.globl	countMemberR
	.type	countMemberR, @function
countMemberR:
.LFB39:
	.cfi_startproc
	endbr64
	movslq	%edi, %rdi
	leaq	groups(%rip), %rsi
	xorl	%r11d, %r11d
	movq	%rdi, %rax
	salq	$4, %rax
	subq	%rdi, %rax
	leaq	(%rsi,%rax,4), %r8
	movl	56(%r8), %edx
	testl	%edx, %edx
	jle	.L156
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	xorl	%r9d, %r9d
	leaq	isCounted(%rip), %r10
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	subq	$152, %rsp
	.cfi_def_cfa_offset 208
	movl	%r11d, (%rsp)
	movq	%r9, %r11
.L137:
	movslq	16(%r8,%r11,4), %rax
	movl	(%r10,%rax,4), %ecx
	testl	%ecx, %ecx
	jne	.L78
	movq	%rax, %rdx
	movl	$1, (%r10,%rax,4)
	salq	$4, %rdx
	subq	%rax, %rdx
	leaq	(%rsi,%rdx,4), %r15
	movl	56(%r15), %edx
	testl	%edx, %edx
	jne	.L159
	addl	$1, (%rsp)
	movl	56(%r8), %edx
.L78:
	addq	$1, %r11
	cmpl	%r11d, %edx
	jg	.L137
	movl	(%rsp), %eax
	addq	$152, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%rbp
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L159:
	.cfi_restore_state
	movl	$0, %r9d
	jle	.L81
	movl	%ecx, 4(%rsp)
	movq	%r11, 16(%rsp)
	movq	%r9, %r11
	movq	%r8, 24(%rsp)
	movq	%r15, %r8
.L136:
	movslq	16(%r8,%r11,4), %rax
	movl	(%r10,%rax,4), %ecx
	testl	%ecx, %ecx
	jne	.L82
	movq	%rax, %rdx
	movl	$1, (%r10,%rax,4)
	salq	$4, %rdx
	subq	%rax, %rdx
	leaq	(%rsi,%rdx,4), %r15
	movl	56(%r15), %edx
	testl	%edx, %edx
	jne	.L160
	addl	$1, 4(%rsp)
	movl	56(%r8), %edx
.L82:
	addq	$1, %r11
	cmpl	%r11d, %edx
	jg	.L136
	movl	4(%rsp), %ecx
	addl	%ecx, (%rsp)
	movq	16(%rsp), %r11
	movq	24(%rsp), %r8
.L81:
	movl	56(%r8), %edx
	jmp	.L78
	.p2align 4,,10
	.p2align 3
.L160:
	movl	$0, %r9d
	jle	.L85
	movq	%r11, 40(%rsp)
	movq	%r8, 48(%rsp)
	movl	%ecx, 8(%rsp)
	movq	%r15, %rcx
.L135:
	movslq	16(%rcx,%r9,4), %rax
	movl	(%r10,%rax,4), %r8d
	testl	%r8d, %r8d
	jne	.L86
	movq	%rax, %rdx
	movl	$1, (%r10,%rax,4)
	salq	$4, %rdx
	subq	%rax, %rdx
	leaq	(%rsi,%rdx,4), %r15
	movl	56(%r15), %edx
	testl	%edx, %edx
	jne	.L161
	addl	$1, 8(%rsp)
	movl	56(%rcx), %edx
.L86:
	addq	$1, %r9
	cmpl	%r9d, %edx
	jg	.L135
	movl	8(%rsp), %ecx
	addl	%ecx, 4(%rsp)
	movq	40(%rsp), %r11
	movq	48(%rsp), %r8
.L85:
	movl	56(%r8), %edx
	jmp	.L82
	.p2align 4,,10
	.p2align 3
.L161:
	movl	$0, %r11d
	jle	.L89
	movq	%rcx, 64(%rsp)
	movl	%r8d, 12(%rsp)
	movq	%r15, %r8
	movq	%r9, 56(%rsp)
	movq	%r11, %r9
.L134:
	movslq	16(%r8,%r9,4), %rax
	movl	(%r10,%rax,4), %r11d
	testl	%r11d, %r11d
	jne	.L90
	movq	%rax, %rdx
	movl	$1, (%r10,%rax,4)
	salq	$4, %rdx
	subq	%rax, %rdx
	leaq	(%rsi,%rdx,4), %r13
	movl	56(%r13), %edx
	testl	%edx, %edx
	jne	.L162
	addl	$1, 12(%rsp)
	movl	56(%r8), %edx
.L90:
	addq	$1, %r9
	cmpl	%r9d, %edx
	jg	.L134
	movl	12(%rsp), %r8d
	addl	%r8d, 8(%rsp)
	movq	56(%rsp), %r9
	movq	64(%rsp), %rcx
.L89:
	movl	56(%rcx), %edx
	jmp	.L86
	.p2align 4,,10
	.p2align 3
.L162:
	movl	$0, %r14d
	jle	.L93
	movl	%r11d, 32(%rsp)
	movq	%r13, %rcx
	movq	%r8, 80(%rsp)
	movq	%r9, 72(%rsp)
	movq	%r14, %r9
.L133:
	movslq	16(%rcx,%r9,4), %rax
	movl	(%r10,%rax,4), %r8d
	testl	%r8d, %r8d
	jne	.L94
	movq	%rax, %rdx
	movl	$1, (%r10,%rax,4)
	salq	$4, %rdx
	subq	%rax, %rdx
	leaq	(%rsi,%rdx,4), %r15
	movl	56(%r15), %edx
	testl	%edx, %edx
	jne	.L163
	addl	$1, 32(%rsp)
	movl	56(%rcx), %edx
.L94:
	addq	$1, %r9
	cmpl	%r9d, %edx
	jg	.L133
	movl	32(%rsp), %r11d
	addl	%r11d, 12(%rsp)
	movq	72(%rsp), %r9
	movq	80(%rsp), %r8
.L93:
	movl	56(%r8), %edx
	jmp	.L90
	.p2align 4,,10
	.p2align 3
.L163:
	movl	$0, %r11d
	jle	.L97
	movl	%r8d, 36(%rsp)
	movq	%r11, %rbx
	movq	%rcx, 96(%rsp)
	movq	%r9, 88(%rsp)
	movq	%r15, %r9
.L132:
	movslq	16(%r9,%rbx,4), %rax
	movl	(%r10,%rax,4), %r12d
	testl	%r12d, %r12d
	jne	.L98
	movq	%rax, %rdx
	movl	$1, (%r10,%rax,4)
	salq	$4, %rdx
	subq	%rax, %rdx
	leaq	(%rsi,%rdx,4), %r11
	movl	56(%r11), %edx
	testl	%edx, %edx
	jne	.L164
	addl	$1, 36(%rsp)
	movl	56(%r9), %edx
.L98:
	addq	$1, %rbx
	cmpl	%ebx, %edx
	jg	.L132
	movl	36(%rsp), %r8d
	addl	%r8d, 32(%rsp)
	movq	88(%rsp), %r9
	movq	96(%rsp), %rcx
.L97:
	movl	56(%rcx), %edx
	jmp	.L94
	.p2align 4,,10
	.p2align 3
.L164:
	movl	$0, %ebp
	jle	.L101
	movq	%rbx, 104(%rsp)
	movl	%r12d, %ecx
	movq	%r9, 112(%rsp)
.L131:
	movslq	16(%r11,%rbp,4), %rax
	movl	(%r10,%rax,4), %r14d
	testl	%r14d, %r14d
	jne	.L102
	movq	%rax, %rdx
	movl	$1, (%r10,%rax,4)
	salq	$4, %rdx
	subq	%rax, %rdx
	leaq	(%rsi,%rdx,4), %r15
	movl	56(%r15), %eax
	testl	%eax, %eax
	jne	.L165
	movl	56(%r11), %edx
	addl	$1, %ecx
.L102:
	addq	$1, %rbp
	cmpl	%ebp, %edx
	jg	.L131
	addl	%ecx, 36(%rsp)
	movq	104(%rsp), %rbx
	movq	112(%rsp), %r9
.L101:
	movl	56(%r9), %edx
	jmp	.L98
	.p2align 4,,10
	.p2align 3
.L156:
	.cfi_def_cfa_offset 8
	.cfi_restore 3
	.cfi_restore 6
	.cfi_restore 12
	.cfi_restore 13
	.cfi_restore 14
	.cfi_restore 15
	movl	%r11d, %eax
	ret
	.p2align 4,,10
	.p2align 3
.L165:
	.cfi_def_cfa_offset 208
	.cfi_offset 3, -56
	.cfi_offset 6, -48
	.cfi_offset 12, -40
	.cfi_offset 13, -32
	.cfi_offset 14, -24
	.cfi_offset 15, -16
	movl	$0, %r13d
	jle	.L105
	movq	%rbp, 120(%rsp)
	movl	%ecx, %ebp
.L130:
	movslq	16(%r15,%r13,4), %rbx
	movl	(%r10,%rbx,4), %r12d
	testl	%r12d, %r12d
	jne	.L106
	movq	%rbx, %rax
	movl	$1, (%r10,%rbx,4)
	salq	$4, %rax
	subq	%rbx, %rax
	leaq	(%rsi,%rax,4), %rcx
	movl	56(%rcx), %eax
	testl	%eax, %eax
	jne	.L166
	movl	56(%r15), %eax
	addl	$1, %r14d
.L106:
	addq	$1, %r13
	cmpl	%r13d, %eax
	jg	.L130
	movl	%ebp, %ecx
	movq	120(%rsp), %rbp
	addl	%r14d, %ecx
.L105:
	movl	56(%r11), %edx
	jmp	.L102
	.p2align 4,,10
	.p2align 3
.L166:
	jle	.L109
	movslq	16(%rcx), %rdi
	movl	(%r10,%rdi,4), %r8d
	movq	%rdi, %r9
	testl	%r8d, %r8d
	jne	.L110
	movq	%rdi, %r8
	movl	$1, (%r10,%rdi,4)
	movl	$1, %r12d
	salq	$4, %r8
	subq	%rdi, %r8
	movl	56(%rsi,%r8,4), %edi
	testl	%edi, %edi
	jne	.L167
.L110:
	cmpl	$1, %eax
	jle	.L111
	movq	%rbx, %rcx
	salq	$4, %rcx
	subq	%rbx, %rcx
	leaq	(%rsi,%rcx,4), %r8
	movslq	20(%r8), %rcx
	movl	(%r10,%rcx,4), %edx
	movq	%rcx, %rdi
	testl	%edx, %edx
	jne	.L112
	movq	%rcx, %rax
	movl	$1, (%r10,%rcx,4)
	salq	$4, %rax
	subq	%rcx, %rax
	movl	56(%rsi,%rax,4), %eax
	testl	%eax, %eax
	jne	.L168
	movl	56(%r8), %eax
	addl	$1, %r12d
.L112:
	cmpl	$2, %eax
	jle	.L111
	movq	%rbx, %rcx
	salq	$4, %rcx
	subq	%rbx, %rcx
	leaq	(%rsi,%rcx,4), %r8
	movslq	24(%r8), %rcx
	movl	(%r10,%rcx,4), %r9d
	movq	%rcx, %rdi
	testl	%r9d, %r9d
	jne	.L114
	movq	%rcx, %rax
	movl	$1, (%r10,%rcx,4)
	salq	$4, %rax
	subq	%rcx, %rax
	movl	56(%rsi,%rax,4), %ecx
	testl	%ecx, %ecx
	jne	.L169
	movl	56(%r8), %eax
	addl	$1, %r12d
.L114:
	cmpl	$3, %eax
	jle	.L111
	movq	%rbx, %rcx
	salq	$4, %rcx
	subq	%rbx, %rcx
	leaq	(%rsi,%rcx,4), %r8
	movslq	28(%r8), %rcx
	movl	(%r10,%rcx,4), %edx
	movq	%rcx, %rdi
	testl	%edx, %edx
	jne	.L116
	movq	%rcx, %rax
	movl	$1, (%r10,%rcx,4)
	salq	$4, %rax
	subq	%rcx, %rax
	movl	56(%rsi,%rax,4), %eax
	testl	%eax, %eax
	jne	.L170
	movl	56(%r8), %eax
	addl	$1, %r12d
.L116:
	cmpl	$4, %eax
	jle	.L111
	movq	%rbx, %rcx
	salq	$4, %rcx
	subq	%rbx, %rcx
	leaq	(%rsi,%rcx,4), %r8
	movslq	32(%r8), %rcx
	movl	(%r10,%rcx,4), %r9d
	movq	%rcx, %rdi
	testl	%r9d, %r9d
	jne	.L118
	movq	%rcx, %rax
	movl	$1, (%r10,%rcx,4)
	salq	$4, %rax
	subq	%rcx, %rax
	movl	56(%rsi,%rax,4), %ecx
	testl	%ecx, %ecx
	jne	.L171
	movl	56(%r8), %eax
	addl	$1, %r12d
.L118:
	cmpl	$5, %eax
	jle	.L111
	movq	%rbx, %rcx
	salq	$4, %rcx
	subq	%rbx, %rcx
	leaq	(%rsi,%rcx,4), %r8
	movslq	36(%r8), %rcx
	movl	(%r10,%rcx,4), %edx
	movq	%rcx, %rdi
	testl	%edx, %edx
	jne	.L120
	movq	%rcx, %rax
	movl	$1, (%r10,%rcx,4)
	salq	$4, %rax
	subq	%rcx, %rax
	movl	56(%rsi,%rax,4), %eax
	testl	%eax, %eax
	jne	.L172
	movl	56(%r8), %eax
	addl	$1, %r12d
.L120:
	cmpl	$6, %eax
	jle	.L111
	movq	%rbx, %rcx
	salq	$4, %rcx
	subq	%rbx, %rcx
	leaq	(%rsi,%rcx,4), %r8
	movslq	40(%r8), %rcx
	movl	(%r10,%rcx,4), %r9d
	movq	%rcx, %rdi
	testl	%r9d, %r9d
	jne	.L122
	movq	%rcx, %rax
	movl	$1, (%r10,%rcx,4)
	salq	$4, %rax
	subq	%rcx, %rax
	movl	56(%rsi,%rax,4), %ecx
	testl	%ecx, %ecx
	jne	.L173
	movl	56(%r8), %eax
	addl	$1, %r12d
.L122:
	cmpl	$7, %eax
	jle	.L111
	movq	%rbx, %rcx
	salq	$4, %rcx
	subq	%rbx, %rcx
	leaq	(%rsi,%rcx,4), %r8
	movslq	44(%r8), %rcx
	movl	(%r10,%rcx,4), %edx
	movq	%rcx, %rdi
	testl	%edx, %edx
	jne	.L124
	movq	%rcx, %rax
	movl	$1, (%r10,%rcx,4)
	salq	$4, %rax
	subq	%rcx, %rax
	movl	56(%rsi,%rax,4), %eax
	testl	%eax, %eax
	jne	.L174
	movl	56(%r8), %eax
	addl	$1, %r12d
.L124:
	cmpl	$8, %eax
	jle	.L111
	movq	%rbx, %rcx
	salq	$4, %rcx
	subq	%rbx, %rcx
	leaq	(%rsi,%rcx,4), %r8
	movslq	48(%r8), %rcx
	movl	(%r10,%rcx,4), %r9d
	movq	%rcx, %rdi
	testl	%r9d, %r9d
	jne	.L126
	movq	%rcx, %rax
	movl	$1, (%r10,%rcx,4)
	salq	$4, %rax
	subq	%rcx, %rax
	movl	56(%rsi,%rax,4), %ecx
	testl	%ecx, %ecx
	jne	.L175
	movl	56(%r8), %eax
	addl	$1, %r12d
.L126:
	cmpl	$9, %eax
	jle	.L111
	movq	%rbx, %rax
	salq	$4, %rax
	subq	%rbx, %rax
	movslq	52(%rsi,%rax,4), %rax
	movl	(%r10,%rax,4), %edx
	movq	%rax, %rdi
	testl	%edx, %edx
	jne	.L111
	movq	%rax, %rcx
	movl	$1, (%r10,%rax,4)
	salq	$4, %rcx
	subq	%rax, %rcx
	movl	56(%rsi,%rcx,4), %eax
	testl	%eax, %eax
	jne	.L129
	addl	$1, %r12d
	.p2align 4,,10
	.p2align 3
.L111:
	addl	%r12d, %r14d
.L109:
	movl	56(%r15), %eax
	jmp	.L106
.L167:
	movl	%r9d, %edi
	movq	%r11, 136(%rsp)
	movq	%rcx, 128(%rsp)
	call	countMemberR
	movq	128(%rsp), %rcx
	movq	136(%rsp), %r11
	leaq	groups(%rip), %rsi
	movl	%eax, %r12d
	leaq	isCounted(%rip), %r10
	movl	56(%rcx), %eax
	jmp	.L110
.L168:
	movq	%r11, 136(%rsp)
	movq	%r8, 128(%rsp)
	call	countMemberR
	movq	128(%rsp), %r8
	movq	136(%rsp), %r11
	leaq	isCounted(%rip), %r10
	addl	%eax, %r12d
	leaq	groups(%rip), %rsi
	movl	56(%r8), %eax
	jmp	.L112
.L169:
	movq	%r11, 136(%rsp)
	movq	%r8, 128(%rsp)
	call	countMemberR
	movq	128(%rsp), %r8
	movq	136(%rsp), %r11
	leaq	isCounted(%rip), %r10
	addl	%eax, %r12d
	leaq	groups(%rip), %rsi
	movl	56(%r8), %eax
	jmp	.L114
.L170:
	movq	%r11, 136(%rsp)
	movq	%r8, 128(%rsp)
	call	countMemberR
	movq	128(%rsp), %r8
	movq	136(%rsp), %r11
	leaq	isCounted(%rip), %r10
	addl	%eax, %r12d
	leaq	groups(%rip), %rsi
	movl	56(%r8), %eax
	jmp	.L116
.L171:
	movq	%r11, 136(%rsp)
	movq	%r8, 128(%rsp)
	call	countMemberR
	movq	128(%rsp), %r8
	movq	136(%rsp), %r11
	leaq	isCounted(%rip), %r10
	addl	%eax, %r12d
	leaq	groups(%rip), %rsi
	movl	56(%r8), %eax
	jmp	.L118
.L172:
	movq	%r11, 136(%rsp)
	movq	%r8, 128(%rsp)
	call	countMemberR
	movq	128(%rsp), %r8
	movq	136(%rsp), %r11
	leaq	isCounted(%rip), %r10
	addl	%eax, %r12d
	leaq	groups(%rip), %rsi
	movl	56(%r8), %eax
	jmp	.L120
.L173:
	movq	%r11, 136(%rsp)
	movq	%r8, 128(%rsp)
	call	countMemberR
	movq	128(%rsp), %r8
	movq	136(%rsp), %r11
	leaq	isCounted(%rip), %r10
	addl	%eax, %r12d
	leaq	groups(%rip), %rsi
	movl	56(%r8), %eax
	jmp	.L122
.L174:
	movq	%r11, 136(%rsp)
	movq	%r8, 128(%rsp)
	call	countMemberR
	movq	128(%rsp), %r8
	movq	136(%rsp), %r11
	leaq	isCounted(%rip), %r10
	addl	%eax, %r12d
	leaq	groups(%rip), %rsi
	movl	56(%r8), %eax
	jmp	.L124
.L175:
	movq	%r11, 136(%rsp)
	movq	%r8, 128(%rsp)
	call	countMemberR
	movq	128(%rsp), %r8
	movq	136(%rsp), %r11
	leaq	isCounted(%rip), %r10
	addl	%eax, %r12d
	leaq	groups(%rip), %rsi
	movl	56(%r8), %eax
	jmp	.L126
.L129:
	movq	%r11, 128(%rsp)
	call	countMemberR
	movq	128(%rsp), %r11
	leaq	groups(%rip), %rsi
	leaq	isCounted(%rip), %r10
	addl	%eax, %r12d
	jmp	.L111
	.cfi_endproc
.LFE39:
	.size	countMemberR, .-countMemberR
	.p2align 4
	.globl	countMember
	.type	countMember, @function
countMember:
.LFB40:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	movl	%edi, %r8d
	xorl	%eax, %eax
	movl	$1000, %ecx
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	leaq	groups(%rip), %r11
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	leaq	isCounted(%rip), %rbx
	movq	%rbx, %rdi
	subq	$56, %rsp
	.cfi_def_cfa_offset 112
	rep stosq
	movslq	%r8d, %rax
	movl	$0, 16(%rsp)
	movq	%rax, %rdx
	salq	$4, %rdx
	subq	%rax, %rdx
	leaq	(%r11,%rdx,4), %r10
	movl	56(%r10), %edx
	testl	%edx, %edx
	jle	.L176
	xorl	%ebp, %ebp
.L212:
	movslq	16(%r10,%rbp,4), %rax
	movl	(%rbx,%rax,4), %r13d
	testl	%r13d, %r13d
	jne	.L178
	movq	%rax, %rdx
	movl	$1, (%rbx,%rax,4)
	salq	$4, %rdx
	subq	%rax, %rdx
	leaq	(%r11,%rdx,4), %r9
	movl	56(%r9), %edx
	testl	%edx, %edx
	jne	.L221
	addl	$1, 16(%rsp)
	movl	56(%r10), %edx
.L178:
	addq	$1, %rbp
	cmpl	%ebp, %edx
	jg	.L212
.L176:
	movl	16(%rsp), %eax
	addq	$56, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%rbp
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	ret
.L221:
	.cfi_restore_state
	movl	$0, %r12d
	jle	.L181
	movq	%rbp, (%rsp)
	movl	%r13d, %ecx
	movq	%r10, 8(%rsp)
.L211:
	movslq	16(%r9,%r12,4), %rax
	movl	(%rbx,%rax,4), %r13d
	testl	%r13d, %r13d
	jne	.L182
	movq	%rax, %rdx
	movl	$1, (%rbx,%rax,4)
	salq	$4, %rdx
	subq	%rax, %rdx
	leaq	(%r11,%rdx,4), %rdx
	movl	56(%rdx), %eax
	testl	%eax, %eax
	jne	.L222
	movl	56(%r9), %edx
	addl	$1, %ecx
.L182:
	addq	$1, %r12
	cmpl	%r12d, %edx
	jg	.L211
	addl	%ecx, 16(%rsp)
	movq	(%rsp), %rbp
	movq	8(%rsp), %r10
.L181:
	movl	56(%r10), %edx
	jmp	.L178
.L222:
	movl	$0, %r14d
	jle	.L185
	movl	%ecx, 20(%rsp)
	movq	%r9, 32(%rsp)
	movq	%r12, 24(%rsp)
	movq	%r14, %r12
	movq	%rdx, %r14
.L210:
	movslq	16(%r14,%r12,4), %rbp
	movl	(%rbx,%rbp,4), %r15d
	testl	%r15d, %r15d
	jne	.L186
	movq	%rbp, %rax
	movl	$1, (%rbx,%rbp,4)
	salq	$4, %rax
	subq	%rbp, %rax
	leaq	(%r11,%rax,4), %r8
	movl	56(%r8), %eax
	testl	%eax, %eax
	jne	.L223
	movl	56(%r14), %eax
	addl	$1, %r13d
.L186:
	addq	$1, %r12
	cmpl	%r12d, %eax
	jg	.L210
	movl	20(%rsp), %ecx
	movq	24(%rsp), %r12
	movq	32(%rsp), %r9
	addl	%r13d, %ecx
.L185:
	movl	56(%r9), %edx
	jmp	.L182
.L223:
	jle	.L189
	movslq	16(%r8), %rdi
	movl	(%rbx,%rdi,4), %ecx
	testl	%ecx, %ecx
	jne	.L190
	movq	%rdi, %r9
	movl	$1, (%rbx,%rdi,4)
	movl	$1, %r15d
	salq	$4, %r9
	subq	%rdi, %r9
	movl	56(%r11,%r9,4), %edx
	testl	%edx, %edx
	jne	.L224
.L190:
	cmpl	$1, %eax
	jle	.L191
	movq	%rbp, %rdi
	salq	$4, %rdi
	subq	%rbp, %rdi
	leaq	(%r11,%rdi,4), %r8
	movslq	20(%r8), %rdi
	movl	(%rbx,%rdi,4), %r10d
	movq	%rdi, %r9
	testl	%r10d, %r10d
	jne	.L192
	movq	%rdi, %rax
	movl	$1, (%rbx,%rdi,4)
	salq	$4, %rax
	subq	%rdi, %rax
	movl	56(%r11,%rax,4), %edi
	testl	%edi, %edi
	jne	.L225
	movl	56(%r8), %eax
	addl	$1, %r15d
.L192:
	cmpl	$2, %eax
	jle	.L191
	movq	%rbp, %rdi
	salq	$4, %rdi
	subq	%rbp, %rdi
	leaq	(%r11,%rdi,4), %r8
	movslq	24(%r8), %rdi
	movl	(%rbx,%rdi,4), %esi
	testl	%esi, %esi
	jne	.L194
	movq	%rdi, %rax
	movl	$1, (%rbx,%rdi,4)
	salq	$4, %rax
	subq	%rdi, %rax
	movl	56(%r11,%rax,4), %ecx
	testl	%ecx, %ecx
	jne	.L226
	movl	56(%r8), %eax
	addl	$1, %r15d
.L194:
	cmpl	$3, %eax
	jle	.L191
	movq	%rbp, %rdi
	salq	$4, %rdi
	subq	%rbp, %rdi
	leaq	(%r11,%rdi,4), %r8
	movslq	28(%r8), %rdi
	movl	(%rbx,%rdi,4), %edx
	testl	%edx, %edx
	jne	.L196
	movq	%rdi, %rax
	movl	$1, (%rbx,%rdi,4)
	salq	$4, %rax
	subq	%rdi, %rax
	movl	56(%r11,%rax,4), %eax
	testl	%eax, %eax
	jne	.L227
	movl	56(%r8), %eax
	addl	$1, %r15d
.L196:
	cmpl	$4, %eax
	jle	.L191
	movq	%rbp, %rdi
	salq	$4, %rdi
	subq	%rbp, %rdi
	leaq	(%r11,%rdi,4), %r8
	movslq	32(%r8), %rdi
	movl	(%rbx,%rdi,4), %r10d
	movq	%rdi, %r9
	testl	%r10d, %r10d
	jne	.L198
	movq	%rdi, %rax
	movl	$1, (%rbx,%rdi,4)
	salq	$4, %rax
	subq	%rdi, %rax
	movl	56(%r11,%rax,4), %edi
	testl	%edi, %edi
	jne	.L228
	movl	56(%r8), %eax
	addl	$1, %r15d
.L198:
	cmpl	$5, %eax
	jle	.L191
	movq	%rbp, %rdi
	salq	$4, %rdi
	subq	%rbp, %rdi
	leaq	(%r11,%rdi,4), %r8
	movslq	36(%r8), %rdi
	movl	(%rbx,%rdi,4), %esi
	testl	%esi, %esi
	jne	.L200
	movq	%rdi, %rax
	movl	$1, (%rbx,%rdi,4)
	salq	$4, %rax
	subq	%rdi, %rax
	movl	56(%r11,%rax,4), %ecx
	testl	%ecx, %ecx
	jne	.L229
	movl	56(%r8), %eax
	addl	$1, %r15d
.L200:
	cmpl	$6, %eax
	jle	.L191
	movq	%rbp, %rdi
	salq	$4, %rdi
	subq	%rbp, %rdi
	leaq	(%r11,%rdi,4), %r8
	movslq	40(%r8), %rdi
	movl	(%rbx,%rdi,4), %edx
	testl	%edx, %edx
	jne	.L202
	movq	%rdi, %rax
	movl	$1, (%rbx,%rdi,4)
	salq	$4, %rax
	subq	%rdi, %rax
	movl	56(%r11,%rax,4), %eax
	testl	%eax, %eax
	jne	.L230
	movl	56(%r8), %eax
	addl	$1, %r15d
.L202:
	cmpl	$7, %eax
	jle	.L191
	movq	%rbp, %rdi
	salq	$4, %rdi
	subq	%rbp, %rdi
	leaq	(%r11,%rdi,4), %r8
	movslq	44(%r8), %rdi
	movl	(%rbx,%rdi,4), %r10d
	movq	%rdi, %r9
	testl	%r10d, %r10d
	jne	.L204
	movq	%rdi, %rax
	movl	$1, (%rbx,%rdi,4)
	salq	$4, %rax
	subq	%rdi, %rax
	movl	56(%r11,%rax,4), %edi
	testl	%edi, %edi
	jne	.L231
	movl	56(%r8), %eax
	addl	$1, %r15d
.L204:
	cmpl	$8, %eax
	jle	.L191
	movq	%rbp, %rdi
	salq	$4, %rdi
	subq	%rbp, %rdi
	leaq	(%r11,%rdi,4), %r8
	movslq	48(%r8), %rdi
	movl	(%rbx,%rdi,4), %esi
	testl	%esi, %esi
	jne	.L206
	movq	%rdi, %rax
	movl	$1, (%rbx,%rdi,4)
	salq	$4, %rax
	subq	%rdi, %rax
	movl	56(%r11,%rax,4), %ecx
	testl	%ecx, %ecx
	jne	.L232
	movl	56(%r8), %eax
	addl	$1, %r15d
.L206:
	cmpl	$9, %eax
	jle	.L191
	movq	%rbp, %rax
	salq	$4, %rax
	subq	%rbp, %rax
	movslq	52(%r11,%rax,4), %rax
	movl	(%rbx,%rax,4), %edx
	movq	%rax, %r8
	testl	%edx, %edx
	jne	.L191
	movq	%rax, %rdi
	movl	$1, (%rbx,%rax,4)
	salq	$4, %rdi
	subq	%rax, %rdi
	movl	56(%r11,%rdi,4), %eax
	testl	%eax, %eax
	jne	.L209
	addl	$1, %r15d
.L191:
	addl	%r15d, %r13d
.L189:
	movl	56(%r14), %eax
	jmp	.L186
.L224:
	movq	%r8, 40(%rsp)
	call	countMemberR
	movq	40(%rsp), %r8
	leaq	groups(%rip), %r11
	movl	%eax, %r15d
	movl	56(%r8), %eax
	jmp	.L190
.L225:
	movl	%r9d, %edi
	movq	%r8, 40(%rsp)
	call	countMemberR
	movq	40(%rsp), %r8
	leaq	groups(%rip), %r11
	addl	%eax, %r15d
	movl	56(%r8), %eax
	jmp	.L192
.L226:
	movq	%r8, 40(%rsp)
	call	countMemberR
	movq	40(%rsp), %r8
	leaq	groups(%rip), %r11
	addl	%eax, %r15d
	movl	56(%r8), %eax
	jmp	.L194
.L230:
	movq	%r8, 40(%rsp)
	call	countMemberR
	movq	40(%rsp), %r8
	leaq	groups(%rip), %r11
	addl	%eax, %r15d
	movl	56(%r8), %eax
	jmp	.L202
.L229:
	movq	%r8, 40(%rsp)
	call	countMemberR
	movq	40(%rsp), %r8
	leaq	groups(%rip), %r11
	addl	%eax, %r15d
	movl	56(%r8), %eax
	jmp	.L200
.L227:
	movq	%r8, 40(%rsp)
	call	countMemberR
	movq	40(%rsp), %r8
	leaq	groups(%rip), %r11
	addl	%eax, %r15d
	movl	56(%r8), %eax
	jmp	.L196
.L228:
	movl	%r9d, %edi
	movq	%r8, 40(%rsp)
	call	countMemberR
	movq	40(%rsp), %r8
	leaq	groups(%rip), %r11
	addl	%eax, %r15d
	movl	56(%r8), %eax
	jmp	.L198
.L231:
	movl	%r9d, %edi
	movq	%r8, 40(%rsp)
	call	countMemberR
	movq	40(%rsp), %r8
	leaq	groups(%rip), %r11
	addl	%eax, %r15d
	movl	56(%r8), %eax
	jmp	.L204
.L209:
	movl	%r8d, %edi
	call	countMemberR
	leaq	groups(%rip), %r11
	addl	%eax, %r15d
	jmp	.L191
.L232:
	movq	%r8, 40(%rsp)
	call	countMemberR
	movq	40(%rsp), %r8
	leaq	groups(%rip), %r11
	addl	%eax, %r15d
	movl	56(%r8), %eax
	jmp	.L206
	.cfi_endproc
.LFE40:
	.size	countMember, .-countMember
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%*[^a-z]%[a-z]:"
.LC1:
	.string	"%[a-z],"
.LC2:
	.string	"%*[^0-9]"
.LC3:
	.string	"%d\n"
.LC4:
	.string	"%d"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB41:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	leaq	4+flag(%rip), %r15
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	subq	$120, %rsp
	.cfi_def_cfa_offset 176
	movq	%fs:40, %rax
	movq	%rax, 104(%rsp)
	xorl	%eax, %eax
	leaq	76(%rsp), %rax
	movq	%rax, 32(%rsp)
.L234:
	movq	32(%rsp), %rsi
	xorl	%eax, %eax
	leaq	.LC4(%rip), %rdi
	call	__isoc99_scanf@PLT
	cmpl	$1, %eax
	jne	.L301
	movl	76(%rsp), %eax
	subl	$1, %eax
	cmpl	$99, %eax
	ja	.L301
	movl	$1000, %ecx
	xorl	%eax, %eax
	leaq	flag(%rip), %rdi
	movl	$-1, 16(%rsp)
	rep stosq
	leaq	80(%rsp), %rbp
	.p2align 4,,10
	.p2align 3
.L264:
	movq	%rbp, %rsi
	leaq	.LC0(%rip), %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movzbl	80(%rsp), %r12d
	testb	%r12b, %r12b
	je	.L235
	leaq	81(%rsp), %rsi
	movl	$3141, %edx
	xorl	%eax, %eax
	movsbl	%r12b, %r8d
	movq	%rsi, %rdi
	.p2align 4,,10
	.p2align 3
.L236:
	imull	%edx, %eax
	addq	$1, %rdi
	movl	%eax, %ecx
	addl	%r8d, %ecx
	movslq	%ecx, %rax
	movl	%ecx, %r8d
	imulq	$274877907, %rax, %rax
	sarl	$31, %r8d
	sarq	$39, %rax
	subl	%r8d, %eax
	imull	$2000, %eax, %r8d
	movl	%ecx, %eax
	imull	$2718, %edx, %ecx
	subl	%r8d, %eax
	movslq	%ecx, %rdx
	movl	%ecx, %r8d
	imulq	$1100061659, %rdx, %rdx
	sarl	$31, %r8d
	sarq	$41, %rdx
	subl	%r8d, %edx
	imull	$1999, %edx, %r8d
	movl	%ecx, %edx
	subl	%r8d, %edx
	movsbl	-1(%rdi), %r8d
	testb	%r8b, %r8b
	jne	.L236
	movslq	%eax, %rbx
	leaq	flag(%rip), %rax
	movl	(%rax,%rbx,4), %eax
	testl	%eax, %eax
	je	.L240
.L304:
	movq	%rbx, %rax
	leaq	groups(%rip), %rsi
	salq	$4, %rax
	subq	%rbx, %rax
	leaq	(%rsi,%rax,4), %r14
	jmp	.L239
	.p2align 4,,10
	.p2align 3
.L341:
	movl	(%r15,%rbx,4), %eax
	addq	$60, %r14
	addq	$1, %rbx
	testl	%eax, %eax
	je	.L242
.L239:
	movq	%r14, %rsi
	movq	%rbp, %rdi
	movslq	%ebx, %r13
	call	strcmp@PLT
	testl	%eax, %eax
	jne	.L341
	cmpl	$-1, %r13d
	je	.L242
.L243:
	movl	16(%rsp), %eax
	movq	%r13, %r12
	cmpl	$-1, %eax
	cmove	%r13d, %eax
	salq	$4, %r12
	subq	%r13, %r12
	movl	%eax, 16(%rsp)
	leaq	0(,%r12,4), %rax
	movq	%r12, (%rsp)
	movq	%rax, 8(%rsp)
	.p2align 4,,10
	.p2align 3
.L260:
	xorl	%eax, %eax
	movq	%rbp, %rsi
	leaq	.LC1(%rip), %rdi
	call	__isoc99_scanf@PLT
	cmpl	$1, %eax
	jne	.L261
	movzbl	80(%rsp), %r12d
	testb	%r12b, %r12b
	je	.L342
	leaq	81(%rsp), %rsi
	movl	$3141, %eax
	xorl	%ebx, %ebx
	movsbl	%r12b, %ecx
	movq	%rsi, %rdi
	.p2align 4,,10
	.p2align 3
.L248:
	imull	%eax, %ebx
	addq	$1, %rdi
	movl	%ebx, %edx
	addl	%ecx, %edx
	movslq	%edx, %rbx
	movl	%edx, %ecx
	imulq	$274877907, %rbx, %rbx
	sarl	$31, %ecx
	sarq	$39, %rbx
	subl	%ecx, %ebx
	imull	$2000, %ebx, %ecx
	subl	%ecx, %edx
	movslq	%edx, %rbx
	imull	$2718, %eax, %edx
	movslq	%edx, %rax
	movl	%edx, %ecx
	imulq	$1100061659, %rax, %rax
	sarl	$31, %ecx
	sarq	$41, %rax
	subl	%ecx, %eax
	imull	$1999, %eax, %ecx
	movl	%edx, %eax
	subl	%ecx, %eax
	movsbl	-1(%rdi), %ecx
	testb	%cl, %cl
	jne	.L248
	leaq	flag(%rip), %rax
	movl	(%rax,%rbx,4), %edx
	testl	%edx, %edx
	je	.L252
.L303:
	movq	%rbx, %rax
	leaq	groups(%rip), %rsi
	salq	$4, %rax
	subq	%rbx, %rax
	leaq	(%rsi,%rax,4), %r14
	jmp	.L251
	.p2align 4,,10
	.p2align 3
.L343:
	movl	(%r15,%rbx,4), %eax
	addq	$60, %r14
	addq	$1, %rbx
	testl	%eax, %eax
	je	.L254
.L251:
	movq	%r14, %rsi
	movq	%rbp, %rdi
	movl	%ebx, %r13d
	call	strcmp@PLT
	testl	%eax, %eax
	jne	.L343
	cmpl	$-1, %ebx
	je	.L254
.L255:
	leaq	groups(%rip), %rdx
	addq	8(%rsp), %rdx
	leaq	groups(%rip), %rdi
	movslq	56(%rdx), %rax
	leal	1(%rax), %esi
	movl	%esi, 56(%rdx)
	movq	(%rsp), %rsi
	leaq	4(%rax,%rsi), %rax
	movl	%r13d, (%rdi,%rax,4)
	jmp	.L260
	.p2align 4,,10
	.p2align 3
.L254:
	leaq	81(%rsp), %rsi
	testb	%r12b, %r12b
	je	.L344
.L252:
	movl	$3141, %eax
	xorl	%r13d, %r13d
	.p2align 4,,10
	.p2align 3
.L256:
	imull	%eax, %r13d
	movsbl	%r12b, %edx
	movzbl	(%rsi), %r12d
	addq	$1, %rsi
	addl	%r13d, %edx
	movslq	%edx, %r13
	movl	%edx, %ecx
	imulq	$274877907, %r13, %r13
	sarl	$31, %ecx
	sarq	$39, %r13
	subl	%ecx, %r13d
	imull	$2000, %r13d, %ecx
	subl	%ecx, %edx
	movl	%edx, %r13d
	imull	$2718, %eax, %edx
	movslq	%edx, %rax
	movl	%edx, %ecx
	imulq	$1100061659, %rax, %rax
	sarl	$31, %ecx
	sarq	$41, %rax
	subl	%ecx, %eax
	imull	$1999, %eax, %ecx
	movl	%edx, %eax
	subl	%ecx, %eax
	testb	%r12b, %r12b
	jne	.L256
	movslq	%r13d, %rax
	leaq	flag(%rip), %rdi
	movl	(%rdi,%rax,4), %eax
.L257:
	testl	%eax, %eax
	je	.L258
	leal	1(%r13), %ecx
	movslq	%ecx, %rax
	.p2align 4,,10
	.p2align 3
.L259:
	movl	%eax, %r13d
	leaq	-4+flag(%rip), %rsi
	addq	$1, %rax
	movl	(%rsi,%rax,4), %esi
	testl	%esi, %esi
	jne	.L259
.L258:
	movslq	%r13d, %rdx
	leaq	flag(%rip), %rax
	leaq	groups(%rip), %rdi
	movq	%rbp, %rsi
	movl	$1, (%rax,%rdx,4)
	movq	%rdx, %rax
	salq	$4, %rax
	subq	%rdx, %rax
	movl	$16, %edx
	leaq	(%rdi,%rax,4), %rdi
	call	strncpy@PLT
	movl	$0, 56(%rax)
	jmp	.L255
	.p2align 4,,10
	.p2align 3
.L261:
	movl	76(%rsp), %eax
	subl	$1, %eax
	movl	%eax, 76(%rsp)
	testl	%eax, %eax
	jg	.L264
	leaq	.LC2(%rip), %rdi
	xorl	%eax, %eax
	leaq	isCounted(%rip), %r13
	call	__isoc99_scanf@PLT
	xorl	%eax, %eax
	movl	$1000, %ecx
	movq	%r13, %rdi
	rep stosq
	movslq	16(%rsp), %rax
	movl	$0, 24(%rsp)
	movq	%rax, %rdx
	salq	$4, %rdx
	subq	%rax, %rdx
	leaq	groups(%rip), %rax
	leaq	(%rax,%rdx,4), %rax
	movl	56(%rax), %edx
	movq	%rax, 8(%rsp)
	testl	%edx, %edx
	jle	.L265
	xorl	%r14d, %r14d
.L300:
	movq	8(%rsp), %rax
	movslq	16(%rax,%r14,4), %rax
	movl	0(%r13,%rax,4), %r12d
	testl	%r12d, %r12d
	jne	.L266
	movl	$1, 0(%r13,%rax,4)
	movq	%rax, %rdx
	salq	$4, %rdx
	subq	%rax, %rdx
	leaq	groups(%rip), %rax
	leaq	(%rax,%rdx,4), %rax
	movl	56(%rax), %edx
	movq	%rax, (%rsp)
	testl	%edx, %edx
	jne	.L345
	movq	8(%rsp), %rax
	addl	$1, 24(%rsp)
	movl	56(%rax), %edx
.L266:
	addq	$1, %r14
	cmpl	%r14d, %edx
	jg	.L300
.L265:
	movl	24(%rsp), %edx
	leaq	.LC3(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	jmp	.L234
	.p2align 4,,10
	.p2align 3
.L342:
	leaq	flag(%rip), %rax
	xorl	%ebx, %ebx
	movl	(%rax), %r13d
	testl	%r13d, %r13d
	jne	.L303
	jmp	.L258
.L242:
	leaq	81(%rsp), %rsi
	xorl	%r13d, %r13d
	testb	%r12b, %r12b
	je	.L241
.L240:
	movl	$3141, %eax
	xorl	%r13d, %r13d
	.p2align 4,,10
	.p2align 3
.L244:
	imull	%eax, %r13d
	movsbl	%r12b, %edx
	movzbl	(%rsi), %r12d
	addq	$1, %rsi
	addl	%r13d, %edx
	movslq	%edx, %r13
	movl	%edx, %ecx
	imulq	$274877907, %r13, %r13
	sarl	$31, %ecx
	sarq	$39, %r13
	subl	%ecx, %r13d
	imull	$2000, %r13d, %ecx
	subl	%ecx, %edx
	movslq	%edx, %r13
	imull	$2718, %eax, %edx
	movslq	%edx, %rax
	movl	%edx, %ecx
	imulq	$1100061659, %rax, %rax
	sarl	$31, %ecx
	sarq	$41, %rax
	subl	%ecx, %eax
	imull	$1999, %eax, %ecx
	movl	%edx, %eax
	subl	%ecx, %eax
	testb	%r12b, %r12b
	jne	.L244
.L241:
	movslq	%r13d, %rax
	leaq	flag(%rip), %rdi
	movl	(%rdi,%rax,4), %r8d
	testl	%r8d, %r8d
	je	.L245
	leal	1(%r13), %eax
	cltq
	.p2align 4,,10
	.p2align 3
.L246:
	movslq	%eax, %r13
	leaq	-4+flag(%rip), %rdi
	addq	$1, %rax
	movl	(%rdi,%rax,4), %edi
	testl	%edi, %edi
	jne	.L246
	movslq	%r13d, %rax
.L245:
	movq	%rax, %rdx
	leaq	flag(%rip), %rdi
	movq	%rbp, %rsi
	salq	$4, %rdx
	movl	$1, (%rdi,%rax,4)
	subq	%rax, %rdx
	leaq	groups(%rip), %rax
	leaq	(%rax,%rdx,4), %rcx
	movl	$16, %edx
	movq	%rcx, %rdi
	call	strncpy@PLT
	movl	$0, 56(%rax)
	jmp	.L243
.L344:
	leaq	flag(%rip), %rax
	xorl	%r13d, %r13d
	movl	(%rax), %eax
	jmp	.L257
.L235:
	leaq	flag(%rip), %rax
	xorl	%ebx, %ebx
	movslq	(%rax), %r13
	xorl	%eax, %eax
	testl	%r13d, %r13d
	jne	.L304
	jmp	.L245
	.p2align 4,,10
	.p2align 3
.L345:
	movl	$0, %eax
	jle	.L269
	movl	%r12d, 28(%rsp)
	movq	%rax, %rbx
	movq	%r14, 40(%rsp)
.L299:
	movq	(%rsp), %rax
	movslq	16(%rax,%rbx,4), %rax
	movl	0(%r13,%rax,4), %ebp
	testl	%ebp, %ebp
	jne	.L270
	movl	$1, 0(%r13,%rax,4)
	movq	%rax, %rdx
	salq	$4, %rdx
	subq	%rax, %rdx
	leaq	groups(%rip), %rax
	leaq	(%rax,%rdx,4), %rax
	movq	%rax, 16(%rsp)
	movl	56(%rax), %eax
	testl	%eax, %eax
	jne	.L346
	movq	(%rsp), %rax
	addl	$1, 28(%rsp)
	movl	56(%rax), %edx
.L270:
	addq	$1, %rbx
	cmpl	%ebx, %edx
	jg	.L299
	movl	28(%rsp), %r12d
	addl	%r12d, 24(%rsp)
	movq	40(%rsp), %r14
.L269:
	movq	8(%rsp), %rax
	movl	56(%rax), %edx
	jmp	.L266
.L346:
	movl	$0, %edi
	jle	.L273
	movq	%rbx, 48(%rsp)
	movq	%rdi, %r12
.L298:
	movq	16(%rsp), %rsi
	movslq	16(%rsi,%r12,4), %r14
	movl	0(%r13,%r14,4), %ebx
	testl	%ebx, %ebx
	jne	.L274
	movq	%r14, %rax
	leaq	groups(%rip), %rdi
	movl	$1, 0(%r13,%r14,4)
	salq	$4, %rax
	subq	%r14, %rax
	leaq	(%rdi,%rax,4), %rsi
	movl	56(%rsi), %eax
	testl	%eax, %eax
	jne	.L347
	movq	16(%rsp), %rax
	addl	$1, %ebp
	movl	56(%rax), %eax
.L274:
	addq	$1, %r12
	cmpl	%r12d, %eax
	jg	.L298
	addl	%ebp, 28(%rsp)
	movq	48(%rsp), %rbx
.L273:
	movq	(%rsp), %rax
	movl	56(%rax), %edx
	jmp	.L270
.L347:
	jle	.L277
	movslq	16(%rsi), %rdi
	movl	0(%r13,%rdi,4), %ecx
	movq	%rdi, %r9
	testl	%ecx, %ecx
	jne	.L278
	movq	%rdi, %r8
	movl	$1, %ebx
	movl	$1, 0(%r13,%rdi,4)
	salq	$4, %r8
	subq	%rdi, %r8
	leaq	groups(%rip), %rdi
	movl	56(%rdi,%r8,4), %edx
	testl	%edx, %edx
	jne	.L348
.L278:
	cmpl	$1, %eax
	jle	.L279
	movq	%r14, %rsi
	leaq	groups(%rip), %rdx
	salq	$4, %rsi
	subq	%r14, %rsi
	leaq	(%rdx,%rsi,4), %rdi
	movslq	20(%rdi), %rsi
	movl	0(%r13,%rsi,4), %r11d
	testl	%r11d, %r11d
	jne	.L280
	movl	$1, 0(%r13,%rsi,4)
	movq	%rsi, %rax
	salq	$4, %rax
	subq	%rsi, %rax
	movl	56(%rdx,%rax,4), %r10d
	testl	%r10d, %r10d
	jne	.L349
	movl	56(%rdi), %eax
	addl	$1, %ebx
.L280:
	cmpl	$2, %eax
	jle	.L279
	movq	%r14, %rsi
	leaq	groups(%rip), %rdx
	salq	$4, %rsi
	subq	%r14, %rsi
	leaq	(%rdx,%rsi,4), %rdi
	movslq	24(%rdi), %rsi
	movl	0(%r13,%rsi,4), %r9d
	movq	%rsi, %r8
	testl	%r9d, %r9d
	jne	.L282
	movl	$1, 0(%r13,%rsi,4)
	movq	%rsi, %rax
	salq	$4, %rax
	subq	%rsi, %rax
	movl	56(%rdx,%rax,4), %esi
	testl	%esi, %esi
	jne	.L350
	movl	56(%rdi), %eax
	addl	$1, %ebx
.L282:
	cmpl	$3, %eax
	jle	.L279
	movq	%r14, %rsi
	leaq	groups(%rip), %rdx
	salq	$4, %rsi
	subq	%r14, %rsi
	leaq	(%rdx,%rsi,4), %rdi
	movslq	28(%rdi), %rsi
	movl	0(%r13,%rsi,4), %ecx
	testl	%ecx, %ecx
	jne	.L284
	movl	$1, 0(%r13,%rsi,4)
	movq	%rsi, %rax
	salq	$4, %rax
	subq	%rsi, %rax
	movl	56(%rdx,%rax,4), %r11d
	testl	%r11d, %r11d
	jne	.L351
	movl	56(%rdi), %eax
	addl	$1, %ebx
.L284:
	cmpl	$4, %eax
	jle	.L279
	movq	%r14, %rsi
	leaq	groups(%rip), %rdx
	salq	$4, %rsi
	subq	%r14, %rsi
	movslq	32(%rdx,%rsi,4), %rsi
	movl	0(%r13,%rsi,4), %r10d
	movq	%rsi, %rdi
	testl	%r10d, %r10d
	jne	.L286
	movl	$1, 0(%r13,%rsi,4)
	movq	%rsi, %rax
	salq	$4, %rax
	subq	%rsi, %rax
	movl	56(%rdx,%rax,4), %r9d
	testl	%r9d, %r9d
	jne	.L352
	imulq	$60, %r14, %rax
	leaq	groups(%rip), %rdi
	addl	$1, %ebx
	movl	56(%rdi,%rax), %eax
.L286:
	cmpl	$5, %eax
	jle	.L279
	movq	%r14, %rsi
	leaq	groups(%rip), %rdx
	salq	$4, %rsi
	subq	%r14, %rsi
	movslq	36(%rdx,%rsi,4), %rsi
	movl	0(%r13,%rsi,4), %r8d
	movq	%rsi, %rdi
	testl	%r8d, %r8d
	jne	.L288
	movl	$1, 0(%r13,%rsi,4)
	imulq	$60, %rsi, %rsi
	cmpl	$0, 56(%rdx,%rsi)
	jne	.L353
	imulq	$60, %r14, %rax
	leaq	groups(%rip), %rdi
	addl	$1, %ebx
	movl	56(%rdi,%rax), %eax
.L288:
	cmpl	$6, %eax
	jle	.L279
	movq	%r14, %rsi
	leaq	groups(%rip), %rdx
	salq	$4, %rsi
	subq	%r14, %rsi
	movslq	40(%rdx,%rsi,4), %rsi
	movl	0(%r13,%rsi,4), %ecx
	movq	%rsi, %rdi
	testl	%ecx, %ecx
	jne	.L290
	movl	$1, 0(%r13,%rsi,4)
	imulq	$60, %rsi, %rsi
	cmpl	$0, 56(%rdx,%rsi)
	jne	.L354
	imulq	$60, %r14, %rax
	leaq	groups(%rip), %rdi
	addl	$1, %ebx
	movl	56(%rdi,%rax), %eax
.L290:
	cmpl	$7, %eax
	jle	.L279
	imulq	$60, %r14, %rsi
	leaq	groups(%rip), %rdx
	addq	%rdx, %rsi
	movslq	44(%rsi), %rdi
	cmpl	$0, 0(%r13,%rdi,4)
	movq	%rdi, %r8
	jne	.L292
	movl	$1, 0(%r13,%rdi,4)
	imulq	$60, %rdi, %rdi
	cmpl	$0, 56(%rdx,%rdi)
	jne	.L355
	movl	56(%rsi), %eax
	addl	$1, %ebx
.L292:
	cmpl	$8, %eax
	jle	.L279
	imulq	$60, %r14, %rsi
	leaq	groups(%rip), %rdx
	addq	%rdx, %rsi
	movslq	48(%rsi), %rdi
	cmpl	$0, 0(%r13,%rdi,4)
	movq	%rdi, %r8
	jne	.L294
	movl	$1, 0(%r13,%rdi,4)
	imulq	$60, %rdi, %rdi
	cmpl	$0, 56(%rdx,%rdi)
	jne	.L356
	movl	56(%rsi), %eax
	addl	$1, %ebx
.L294:
	cmpl	$9, %eax
	jle	.L279
	imulq	$60, %r14, %rcx
	leaq	groups(%rip), %rsi
	movslq	52(%rsi,%rcx), %rax
	cmpl	$0, 0(%r13,%rax,4)
	movq	%rax, %rdi
	jne	.L279
	movl	$1, 0(%r13,%rax,4)
	imulq	$60, %rax, %rax
	cmpl	$0, 56(%rsi,%rax)
	jne	.L297
	addl	$1, %ebx
.L279:
	addl	%ebx, %ebp
.L277:
	movq	16(%rsp), %rax
	movl	56(%rax), %eax
	jmp	.L274
.L301:
	movq	104(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L357
	addq	$120, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%rbp
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	ret
.L348:
	.cfi_restore_state
	movl	%r9d, %edi
	movq	%rsi, 56(%rsp)
	call	countMemberR
	movq	56(%rsp), %rsi
	movl	%eax, %ebx
	movl	56(%rsi), %eax
	jmp	.L278
.L349:
	movl	%esi, %edi
	call	countMemberR
	leaq	groups(%rip), %rdi
	addl	%eax, %ebx
	imulq	$60, %r14, %rax
	movl	56(%rdi,%rax), %eax
	jmp	.L280
.L351:
	movl	%esi, %edi
	call	countMemberR
	leaq	groups(%rip), %rdi
	addl	%eax, %ebx
	imulq	$60, %r14, %rax
	movl	56(%rdi,%rax), %eax
	jmp	.L284
.L350:
	movl	%r8d, %edi
	call	countMemberR
	leaq	groups(%rip), %rdi
	addl	%eax, %ebx
	imulq	$60, %r14, %rax
	movl	56(%rdi,%rax), %eax
	jmp	.L282
.L352:
	call	countMemberR
	leaq	groups(%rip), %rdi
	addl	%eax, %ebx
	imulq	$60, %r14, %rax
	movl	56(%rdi,%rax), %eax
	jmp	.L286
.L353:
	call	countMemberR
	leaq	groups(%rip), %rdi
	addl	%eax, %ebx
	imulq	$60, %r14, %rax
	movl	56(%rdi,%rax), %eax
	jmp	.L288
.L297:
	call	countMemberR
	addl	%eax, %ebx
	addl	%ebx, %ebp
	jmp	.L277
.L354:
	call	countMemberR
	leaq	groups(%rip), %rdi
	addl	%eax, %ebx
	imulq	$60, %r14, %rax
	movl	56(%rdi,%rax), %eax
	jmp	.L290
.L355:
	movl	%r8d, %edi
	movq	%rsi, 56(%rsp)
	call	countMemberR
	movq	56(%rsp), %rsi
	addl	%eax, %ebx
	movl	56(%rsi), %eax
	jmp	.L292
.L356:
	movl	%r8d, %edi
	movq	%rsi, 56(%rsp)
	call	countMemberR
	movq	56(%rsp), %rsi
	addl	%eax, %ebx
	movl	56(%rsi), %eax
	jmp	.L294
.L357:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE41:
	.size	main, .-main
	.globl	isCounted
	.bss
	.align 32
	.type	isCounted, @object
	.size	isCounted, 8000
isCounted:
	.zero	8000
	.globl	flag
	.align 32
	.type	flag, @object
	.size	flag, 8000
flag:
	.zero	8000
	.globl	groups
	.align 32
	.type	groups, @object
	.size	groups, 120000
groups:
	.zero	120000
	.ident	"GCC: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	1f - 0f
	.long	4f - 1f
	.long	5
0:
	.string	"GNU"
1:
	.align 8
	.long	0xc0000002
	.long	3f - 2f
2:
	.long	0x3
3:
	.align 8
4:

#include <stdio.h>
#include <string.h>
#define HASHTABLE_SIZE 2000
#define NAME_LENGTH 15

/* グループ */
typedef struct {
	char name[NAME_LENGTH + 1];
	int members[10];
	int count;
} Group;

Group groups[HASHTABLE_SIZE]; /* グループおよびメンバー */
int flag[HASHTABLE_SIZE];

/* 文字列のハッシュ値を求める */
int hash(char* s) {
	int i, h = 0, a = 3141, b = 2718;
	for (i = 0; s[i] != '\0'; i++, a = a * b % (HASHTABLE_SIZE - 1)) h = (a * h + s[i]) % HASHTABLE_SIZE;
	return h;
}

/* 指定された名前のグループの番号を返す */
#define CAN_NOT_FIND -1
int search(char* name) {
	int i;
	for (i = hash(name); flag[i]; i++) {
		if (strcmp(name, groups[i].name) == 0) return i;
	}
	return CAN_NOT_FIND;
}

/* 指定された名前のグループを配列に追加し、グループに割り当てられた番号を返す。 */
int addGroup(char* name) {
	int i = search(name);
	if (i == CAN_NOT_FIND) {
		/* 新しいグループを作成する */
		for (i = hash(name); flag[i]; i++); /* 挿入可能な番号を探す */
		flag[i] = 1;
		strncpy(groups[i].name, name, NAME_LENGTH + 1);
		groups[i].count = 0;
	}
	return i;
}

/* 指定された名前のメンバーを、グループのメンバーとして追加し、メンバーに割り当てられた番号を返す。 */
int addMember(int i, char* name) {
	int j = addGroup(name);
	groups[i].members[groups[i].count++] = j;
	return j;
}

/* 指定されたグループに含まれるメンバーの総数を返す */
int isCounted[HASHTABLE_SIZE];
int countMemberR(int i) {
	int n = 0, j;
	for (j = 0; j < groups[i].count; j++) {
		int m = groups[i].members[j];
		if (isCounted[m]) continue; /* 探索済みなら無視する */
		isCounted[m] = 1;

		if (groups[m].count == 0) n++;
		else n += countMemberR(m);
	}
	return n;
}
int countMember(int i) {
	int j;
	for (j = 0; j < HASHTABLE_SIZE; j++) isCounted[j] = 0;
	return countMemberR(i);
}

int main(void) {
	int n; /* グループの数 */
	int head; /* 最初のグループの番号 */

	/* データセット毎の処理 */
	while (scanf("%d", &n) == 1 && n > 0 && n <= 100) {
		char s[NAME_LENGTH + 1];
		int i;

		/* 初期化 */
		for (i = 0; i < HASHTABLE_SIZE; i++) flag[i] = 0;
		head = CAN_NOT_FIND;

		/* 各グループに含まれるメンバーを読み込む */
		for (; n > 0; n--) {
			/* グループ */
			scanf("%*[^a-z]%[a-z]:", s);
			i = addGroup(s);
			if (head == CAN_NOT_FIND) head = i;

			/* メンバー */
			while (scanf("%[a-z],", s) == 1) addMember(i, s);
		}
		scanf("%*[^0-9]"); /* 残った文字を読み捨てる */

		/* 最初のグループに含まれるメンバーを数える */
		/* 出力 */
		printf("%d\n", countMember(head));
	}

	return 0;
}
2
development:alice,bob,design,eve.
design:carol,alice.
3
one:another.
another:yetanother.
xetanother:dave.
3
friends:alice,bob,bestfriends,carol,fran,badcompany.
bestfriends:eve,alice.
badcompany:dave,carol.
5
a:b,c,d,e.
b:c,d,e,f.
c:d,e,f,g.
d:e,f,g,h.
e:f,g,h,i.
4
aa:bb.
cc:dd,ee.
ff:gg.
bb:cc.
0
 2
development:alice,bob,design,eve.
design:carol,amice.
3
one:another.
another:yetanother.
yetanother:dave.
3
friends:alice,bob,bestfriends,carol,fran,badcompany.
bestfriends:eve,alice.
badcompany:dave,carol.
5
a:b,c,d,e.
b:c,d,e,f.
c:d,e,f,g.
d:e,f,g,h.
e:f,g,h,i.
4
aa:bb.
cc:dd,ee.
ff:gg.
bb:cc.
0
 2
development:alice,bob,design,eve.
oesign:cardl,alice.
3
ohe:anotner.
another:yetanother.
xetanother:dave.
3
friends:alice,bob,bestfriends,carol,fran,badcompany.
bestfriends:eve,alice.
badcompany:dave,carol.
5
a:b,c,d,e.
b:c,d,e,f.
c:d,e,f,g.
d:e,f,g,h.
e:f,g,h,i.
4
aa:bb.
dc:dd,ee.
ff:gg.
bb:cc.
0
 2
development:alice,bob,desifn,eve.
design:carol,alice.
3
one:anotheq.
another:yetanother.
xetanother:dave.
3
friends:alice,bob,bestfriends,carol,fran,bbdcompany.
bestfriends:eve,alice.
badcompany:dave,carol.
0
a:b,c,d,e.
b:c,e,d,f.
c:d,e,f,g.
d:e,f,g,h.
e:f,h,i,h.
4
aa:bb.
cc:dd,ee.
ff:gg.
bb:cc.
0
 2
development:alice,bob,design,eve.
design:carol,alice.
3
ohe:anotner.
another:yetanother.
xetanother:dave.
3
friends:alire,bob,bestfriends,carol,fcan,badcompany.
bestfriends:eve,alice.
badcompany:dave,carol.
5
a:b,c,d,e.
b:c,d,e,f.
c:d,e,f,g.
d:e,f,g,h.
e:f,g,h,i.
4
aa:bb.
cc:dd,ee.
ff:gg.
bb:cc.
0
 2
development:alice,bob,desifn,eve.
design:carol,alice.
3
one:anotheq.
another:yetanother.
xetanother:dave.
3
friends:alice,bob,bestfriends,carol,fran,bbdcompany.
bestfriends:eve,aljce.
badcompany:dave,carol.
0
a:b,c,d,e.
b:c,e,d,f.
c:d,e,f,g.
d:e,f,g,h.
e:f,h,i,h.
4
aa:bb.
cc:dd,ee.
ff:gg.
bb:cc.
1
 2
development:alice,bob,desifn,eve.
design:carol,alice.
3
oneoan:theq.
another:yetanother.
xetanother:dave.
3
friends:alice,bob,bestfriends,carol,fran,badcompany.
bestfriends:eve,alice.
badcompany:dave,carol.
5
a:b,c,d,e.
b:c,e,d,f.
c:d,e,f,g.
d:e,f,g,h.
e:f,h,h,i.
0
aa:bb.
cc:dd,ee.
ff:gg.
bb:bc.
0
 2
development:alice,bob,design,eve.
oesign:cardl,alice.
3
ohe:anotner.
another:yetanother.
xetanother:dave.
3
friends:alice,bob,bestfriends,carol,fran,badcompany.
bestfriends:eve,alice.
badcompany:dave,carnl.
5
a:b,c,d,e.
b:c,d,e,f.
c:d,e,f,g.
d:e,f,g,h.
e:f,g,h,i.
4
aa:bb.
dc:dd,ee.
ff:gh.
bb:cc.
0
 2
development:alice,bob,design,eve.
design:carol,amice.
3
one:another.
another:yetanother.
yetanother:dave.
3
friends:alice,bob,bestfriends,carol,fran,badcompany.
bestfrjends:eve,alice.
badcompany:dave,carol.
5
a:b,c,e,e.
b:c,d,e,f.
c:d,e,f,g.
d:e,f,g,h.
e:f,g,h,i.
4
aa:bb.
cc:dd,ee.
ff:gg.
bb:dc.
0
 2
development:alice,bob,desifn,eve.
design:carol,alice.
0
one:another.
another:yetanother.
xetanother:dave.
3
friends:akice,bob,bestfriends,carol,fran,badcompany.
bestfriends:eve,alice.
badcompany:dave,carol.
5
a:b,c,d,e.
b:c,d,e,f.
c:d,e,f,g.
d:e,f,g,h.
e:f,g,h,i.
4
aa:bb.
cc:dd,ee.
ff:gg.
bb:cc.
0

4
1
6
4
2
 5
1
6
4
2
 4
1
6
4
1
 4
1
6
 4
1
7
4
2
 4
1
7
 4
1
6
4
 4
1
7
4
1
 5
1
6
4
1
 4

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

```c
#include <stdio.h>
#include <string.h>
#define HASHTABLE_SIZE 2000
#define NAME_LENGTH 15

/* グループ */
typedef struct {
	char name[NAME_LENGTH + 1];
	int members[10];
	int count;
} Group;

Group groups[HASHTABLE_SIZE]; /* グループおよびメンバー */
int flag[HASHTABLE_SIZE];

/* 文字列のハッシュ値を求める */
int hash(char* s) {
	int i, h = 0, a = 3141, b = 2718;
	for (i = 0; s[i] != '\0'; i++, a = a * b % (HASHTABLE_SIZE - 1)) h = (a * h + s[i]) % HASHTABLE_SIZE;
	return h;
}

/* 指定された名前のグループの番号を返す */
#define CAN_NOT_FIND -1
int search(char* name) {
	int i;
	for (i = hash(name); flag[i]; i++) {
		if (strcmp(name, groups[i].name) == 0) return i;
	}
	return CAN_NOT_FIND;
}

/* 指定された名前のグループを配列に追加し、グループに割り当てられた番号を返す。 */
int addGroup(char* name) {
	int i = search(name);
	if (i == CAN_NOT_FIND) {
		/* 新しいグループを作成する */
		for (i = hash(name); flag[i]; i++); /* 挿入可能な番号を探す */
		flag[i] = 1;
		strncpy(groups[i].name, name, NAME_LENGTH + 1);
		groups[i].count = 0;
	}
	return i;
}

/* 指定された名前のメンバーを、グループのメンバーとして追加し、メンバーに割り当てられた番号を返す。 */
int addMember(int i, char* name) {
	int j = addGroup(name);
	groups[i].members[groups[i].count++] = j;
	return j;
}

/* 指定されたグループに含まれるメンバーの総数を返す */
int isCounted[HASHTABLE_SIZE];
int countMemberR(int i) {
	int n = 0, j;
	for (j = 0; j < groups[i].count; j++) {
		int m = groups[i].members[j];
		if (isCounted[m]) continue; /* 探索済みなら無視する */
		isCounted[m] = 1;

		if (groups[m].count == 0) n++;
		else n += countMemberR(m);
	}
	return n;
}
int countMember(int i) {
	int j;
	for (j = 0; j < HASHTABLE_SIZE; j++) isCounted[j] = 0;
	return countMemberR(i);
}

int main(void) {
	int n; /* グループの数 */
	int head; /* 最初のグループの番号 */

	/* データセット毎の処理 */
	while (scanf("%d", &n) == 1 && n > 0 && n <= 100) {
		char s[NAME_LENGTH + 1];
		int i;

		/* 初期化 */
		for (i = 0; i < HASHTABLE_SIZE; i++) flag[i] = 0;
		head = CAN_NOT_FIND;

		/* 各グループに含まれるメンバーを読み込む */
		for (; n > 0; n--) {
			/* グループ */
			scanf("%*[^a-z]%[a-z]:", s);
			i = addGroup(s);
			if (head == CAN_NOT_FIND) head = i;

			/* メンバー */
			while (scanf("%[a-z],", s) == 1) addMember(i, s);
		}
		scanf("%*[^0-9]"); /* 残った文字を読み捨てる */

		/* 最初のグループに含まれるメンバーを数える */
		/* 出力 */
		printf("%d\n", countMember(head));
	}

	return 0;
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.globl	groups
	.bss
	.align 32
	.type	groups, @object
	.size	groups, 120000
groups:
	.zero	120000
	.globl	flag
	.align 32
	.type	flag, @object
	.size	flag, 8000
flag:
	.zero	8000
	.text
	.globl	hash
	.type	hash, @function
hash:
.LFB0:
	.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)
	movl	$0, -12(%rbp)
	movl	$3141, -8(%rbp)
	movl	$2718, -4(%rbp)
	movl	$0, -16(%rbp)
	jmp	.L2
.L3:
	movl	-8(%rbp), %eax
	imull	-12(%rbp), %eax
	movl	%eax, %edx
	movl	-16(%rbp), %eax
	movslq	%eax, %rcx
	movq	-24(%rbp), %rax
	addq	%rcx, %rax
	movzbl	(%rax), %eax
	movsbl	%al, %eax
	addl	%edx, %eax
	movslq	%eax, %rdx
	imulq	$274877907, %rdx, %rdx
	shrq	$32, %rdx
	sarl	$7, %edx
	movl	%eax, %ecx
	sarl	$31, %ecx
	subl	%ecx, %edx
	movl	%edx, -12(%rbp)
	movl	-12(%rbp), %edx
	imull	$2000, %edx, %edx
	subl	%edx, %eax
	movl	%eax, -12(%rbp)
	addl	$1, -16(%rbp)
	movl	-8(%rbp), %eax
	imull	-4(%rbp), %eax
	movslq	%eax, %rdx
	imulq	$1100061659, %rdx, %rdx
	shrq	$32, %rdx
	sarl	$9, %edx
	movl	%eax, %ecx
	sarl	$31, %ecx
	subl	%ecx, %edx
	movl	%edx, -8(%rbp)
	movl	-8(%rbp), %edx
	imull	$1999, %edx, %edx
	subl	%edx, %eax
	movl	%eax, -8(%rbp)
.L2:
	movl	-16(%rbp), %eax
	movslq	%eax, %rdx
	movq	-24(%rbp), %rax
	addq	%rdx, %rax
	movzbl	(%rax), %eax
	testb	%al, %al
	jne	.L3
	movl	-12(%rbp), %eax
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	hash, .-hash
	.globl	search
	.type	search, @function
search:
.LFB1:
	.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
	movq	%rdi, -24(%rbp)
	movq	-24(%rbp), %rax
	movq	%rax, %rdi
	call	hash
	movl	%eax, -4(%rbp)
	jmp	.L6
.L9:
	movl	-4(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$4, %rax
	subq	%rdx, %rax
	salq	$2, %rax
	leaq	groups(%rip), %rdx
	addq	%rax, %rdx
	movq	-24(%rbp), %rax
	movq	%rdx, %rsi
	movq	%rax, %rdi
	call	strcmp@PLT
	testl	%eax, %eax
	jne	.L7
	movl	-4(%rbp), %eax
	jmp	.L8
.L7:
	addl	$1, -4(%rbp)
.L6:
	movl	-4(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	flag(%rip), %rax
	movl	(%rdx,%rax), %eax
	testl	%eax, %eax
	jne	.L9
	movl	$-1, %eax
.L8:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	search, .-search
	.globl	addGroup
	.type	addGroup, @function
addGroup:
.LFB2:
	.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
	movq	%rdi, -24(%rbp)
	movq	-24(%rbp), %rax
	movq	%rax, %rdi
	call	search
	movl	%eax, -4(%rbp)
	cmpl	$-1, -4(%rbp)
	jne	.L11
	movq	-24(%rbp), %rax
	movq	%rax, %rdi
	call	hash
	movl	%eax, -4(%rbp)
	jmp	.L12
.L13:
	addl	$1, -4(%rbp)
.L12:
	movl	-4(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	flag(%rip), %rax
	movl	(%rdx,%rax), %eax
	testl	%eax, %eax
	jne	.L13
	movl	-4(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	flag(%rip), %rax
	movl	$1, (%rdx,%rax)
	movl	-4(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$4, %rax
	subq	%rdx, %rax
	salq	$2, %rax
	leaq	groups(%rip), %rdx
	leaq	(%rax,%rdx), %rcx
	movq	-24(%rbp), %rax
	movl	$16, %edx
	movq	%rax, %rsi
	movq	%rcx, %rdi
	call	strncpy@PLT
	movl	-4(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$4, %rax
	subq	%rdx, %rax
	salq	$2, %rax
	movq	%rax, %rdx
	leaq	56+groups(%rip), %rax
	movl	$0, (%rdx,%rax)
.L11:
	movl	-4(%rbp), %eax
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	addGroup, .-addGroup
	.globl	addMember
	.type	addMember, @function
addMember:
.LFB3:
	.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	%edi, -20(%rbp)
	movq	%rsi, -32(%rbp)
	movq	-32(%rbp), %rax
	movq	%rax, %rdi
	call	addGroup
	movl	%eax, -4(%rbp)
	movl	-20(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$4, %rax
	subq	%rdx, %rax
	salq	$2, %rax
	movq	%rax, %rdx
	leaq	56+groups(%rip), %rax
	movl	(%rdx,%rax), %edx
	leal	1(%rdx), %ecx
	movl	-20(%rbp), %eax
	movslq	%eax, %rsi
	movq	%rsi, %rax
	salq	$4, %rax
	subq	%rsi, %rax
	salq	$2, %rax
	movq	%rax, %rsi
	leaq	56+groups(%rip), %rax
	movl	%ecx, (%rsi,%rax)
	movslq	%edx, %rcx
	movl	-20(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$4, %rax
	subq	%rdx, %rax
	addq	%rcx, %rax
	addq	$4, %rax
	leaq	0(,%rax,4), %rcx
	leaq	groups(%rip), %rdx
	movl	-4(%rbp), %eax
	movl	%eax, (%rcx,%rdx)
	movl	-4(%rbp), %eax
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	addMember, .-addMember
	.globl	isCounted
	.bss
	.align 32
	.type	isCounted, @object
	.size	isCounted, 8000
isCounted:
	.zero	8000
	.text
	.globl	countMemberR
	.type	countMemberR, @function
countMemberR:
.LFB4:
	.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	%edi, -20(%rbp)
	movl	$0, -12(%rbp)
	movl	$0, -8(%rbp)
	jmp	.L18
.L22:
	movl	-8(%rbp), %eax
	movslq	%eax, %rcx
	movl	-20(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$4, %rax
	subq	%rdx, %rax
	addq	%rcx, %rax
	addq	$4, %rax
	leaq	0(,%rax,4), %rdx
	leaq	groups(%rip), %rax
	movl	(%rdx,%rax), %eax
	movl	%eax, -4(%rbp)
	movl	-4(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	isCounted(%rip), %rax
	movl	(%rdx,%rax), %eax
	testl	%eax, %eax
	jne	.L24
	movl	-4(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	isCounted(%rip), %rax
	movl	$1, (%rdx,%rax)
	movl	-4(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$4, %rax
	subq	%rdx, %rax
	salq	$2, %rax
	movq	%rax, %rdx
	leaq	56+groups(%rip), %rax
	movl	(%rdx,%rax), %eax
	testl	%eax, %eax
	jne	.L21
	addl	$1, -12(%rbp)
	jmp	.L20
.L21:
	movl	-4(%rbp), %eax
	movl	%eax, %edi
	call	countMemberR
	addl	%eax, -12(%rbp)
	jmp	.L20
.L24:
	nop
.L20:
	addl	$1, -8(%rbp)
.L18:
	movl	-20(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$4, %rax
	subq	%rdx, %rax
	salq	$2, %rax
	movq	%rax, %rdx
	leaq	56+groups(%rip), %rax
	movl	(%rdx,%rax), %eax
	cmpl	%eax, -8(%rbp)
	jl	.L22
	movl	-12(%rbp), %eax
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE4:
	.size	countMemberR, .-countMemberR
	.globl	countMember
	.type	countMember, @function
countMember:
.LFB5:
	.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	%edi, -20(%rbp)
	movl	$0, -4(%rbp)
	jmp	.L26
.L27:
	movl	-4(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	isCounted(%rip), %rax
	movl	$0, (%rdx,%rax)
	addl	$1, -4(%rbp)
.L26:
	cmpl	$1999, -4(%rbp)
	jle	.L27
	movl	-20(%rbp), %eax
	movl	%eax, %edi
	call	countMemberR
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE5:
	.size	countMember, .-countMember
	.section	.rodata
.LC0:
	.string	"%*[^a-z]%[a-z]:"
.LC1:
	.string	"%[a-z],"
.LC2:
	.string	"%*[^0-9]"
.LC3:
	.string	"%d\n"
.LC4:
	.string	"%d"
	.text
	.globl	main
	.type	main, @function
main:
.LFB6:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$48, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	jmp	.L30
.L39:
	movl	$0, -36(%rbp)
	jmp	.L31
.L32:
	movl	-36(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	flag(%rip), %rax
	movl	$0, (%rdx,%rax)
	addl	$1, -36(%rbp)
.L31:
	cmpl	$1999, -36(%rbp)
	jle	.L32
	movl	$-1, -40(%rbp)
	jmp	.L33
.L37:
	leaq	-32(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	leaq	-32(%rbp), %rax
	movq	%rax, %rdi
	call	addGroup
	movl	%eax, -36(%rbp)
	cmpl	$-1, -40(%rbp)
	jne	.L35
	movl	-36(%rbp), %eax
	movl	%eax, -40(%rbp)
	jmp	.L35
.L36:
	leaq	-32(%rbp), %rdx
	movl	-36(%rbp), %eax
	movq	%rdx, %rsi
	movl	%eax, %edi
	call	addMember
.L35:
	leaq	-32(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	cmpl	$1, %eax
	je	.L36
	movl	-44(%rbp), %eax
	subl	$1, %eax
	movl	%eax, -44(%rbp)
.L33:
	movl	-44(%rbp), %eax
	testl	%eax, %eax
	jg	.L37
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-40(%rbp), %eax
	movl	%eax, %edi
	call	countMember
	movl	%eax, %esi
	leaq	.LC3(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
.L30:
	leaq	-44(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC4(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	cmpl	$1, %eax
	jne	.L38
	movl	-44(%rbp), %eax
	testl	%eax, %eax
	jle	.L38
	movl	-44(%rbp), %eax
	cmpl	$100, %eax
	jle	.L39
.L38:
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L41
	call	__stack_chk_fail@PLT
.L41:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.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	groups
	.bss
	.align 32
	.type	groups, @object
	.size	groups, 120000
groups:
	.zero	120000
	.globl	flag
	.align 32
	.type	flag, @object
	.size	flag, 8000
flag:
	.zero	8000
	.text
	.globl	hash
	.type	hash, @function
hash:
.LFB0:
	.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)
	movl	$0, -12(%rbp)
	movl	$3141, -8(%rbp)
	movl	$2718, -4(%rbp)
	movl	$0, -16(%rbp)
	jmp	.L2
.L3:
	movl	-8(%rbp), %eax
	imull	-12(%rbp), %eax
	movl	%eax, %edx
	movl	-16(%rbp), %eax
	movslq	%eax, %rcx
	movq	-24(%rbp), %rax
	addq	%rcx, %rax
	movzbl	(%rax), %eax
	movsbl	%al, %eax
	addl	%edx, %eax
	movslq	%eax, %rdx
	imulq	$274877907, %rdx, %rdx
	shrq	$32, %rdx
	sarl	$7, %edx
	movl	%eax, %ecx
	sarl	$31, %ecx
	subl	%ecx, %edx
	movl	%edx, -12(%rbp)
	movl	-12(%rbp), %edx
	imull	$2000, %edx, %edx
	subl	%edx, %eax
	movl	%eax, -12(%rbp)
	addl	$1, -16(%rbp)
	movl	-8(%rbp), %eax
	imull	-4(%rbp), %eax
	movslq	%eax, %rdx
	imulq	$1100061659, %rdx, %rdx
	shrq	$32, %rdx
	sarl	$9, %edx
	movl	%eax, %ecx
	sarl	$31, %ecx
	subl	%ecx, %edx
	movl	%edx, -8(%rbp)
	movl	-8(%rbp), %edx
	imull	$1999, %edx, %edx
	subl	%edx, %eax
	movl	%eax, -8(%rbp)
.L2:
	movl	-16(%rbp), %eax
	movslq	%eax, %rdx
	movq	-24(%rbp), %rax
	addq	%rdx, %rax
	movzbl	(%rax), %eax
	testb	%al, %al
	jne	.L3
	movl	-12(%rbp), %eax
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	hash, .-hash
	.globl	search
	.type	search, @function
search:
.LFB1:
	.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
	movq	%rdi, -24(%rbp)
	movq	-24(%rbp), %rax
	movq	%rax, %rdi
	call	hash
	movl	%eax, -4(%rbp)
	jmp	.L6
.L9:
	movl	-4(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$4, %rax
	subq	%rdx, %rax
	salq	$2, %rax
	leaq	groups(%rip), %rdx
	addq	%rax, %rdx
	movq	-24(%rbp), %rax
	movq	%rdx, %rsi
	movq	%rax, %rdi
	call	strcmp@PLT
	testl	%eax, %eax
	jne	.L7
	movl	-4(%rbp), %eax
	jmp	.L8
.L7:
	addl	$1, -4(%rbp)
.L6:
	movl	-4(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	flag(%rip), %rax
	movl	(%rdx,%rax), %eax
	testl	%eax, %eax
	jne	.L9
	movl	$-1, %eax
.L8:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	search, .-search
	.globl	addGroup
	.type	addGroup, @function
addGroup:
.LFB2:
	.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
	movq	%rdi, -24(%rbp)
	movq	-24(%rbp), %rax
	movq	%rax, %rdi
	call	search
	movl	%eax, -4(%rbp)
	cmpl	$-1, -4(%rbp)
	jne	.L11
	movq	-24(%rbp), %rax
	movq	%rax, %rdi
	call	hash
	movl	%eax, -4(%rbp)
	jmp	.L12
.L13:
	addl	$1, -4(%rbp)
.L12:
	movl	-4(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	flag(%rip), %rax
	movl	(%rdx,%rax), %eax
	testl	%eax, %eax
	jne	.L13
	movl	-4(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	flag(%rip), %rax
	movl	$1, (%rdx,%rax)
	movl	-4(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$4, %rax
	subq	%rdx, %rax
	salq	$2, %rax
	leaq	groups(%rip), %rdx
	leaq	(%rax,%rdx), %rcx
	movq	-24(%rbp), %rax
	movl	$16, %edx
	movq	%rax, %rsi
	movq	%rcx, %rdi
	call	strncpy@PLT
	movl	-4(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$4, %rax
	subq	%rdx, %rax
	salq	$2, %rax
	movq	%rax, %rdx
	leaq	56+groups(%rip), %rax
	movl	$0, (%rdx,%rax)
.L11:
	movl	-4(%rbp), %eax
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	addGroup, .-addGroup
	.globl	addMember
	.type	addMember, @function
addMember:
.LFB3:
	.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	%edi, -20(%rbp)
	movq	%rsi, -32(%rbp)
	movq	-32(%rbp), %rax
	movq	%rax, %rdi
	call	addGroup
	movl	%eax, -4(%rbp)
	movl	-20(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$4, %rax
	subq	%rdx, %rax
	salq	$2, %rax
	movq	%rax, %rdx
	leaq	56+groups(%rip), %rax
	movl	(%rdx,%rax), %edx
	leal	1(%rdx), %ecx
	movl	-20(%rbp), %eax
	movslq	%eax, %rsi
	movq	%rsi, %rax
	salq	$4, %rax
	subq	%rsi, %rax
	salq	$2, %rax
	movq	%rax, %rsi
	leaq	56+groups(%rip), %rax
	movl	%ecx, (%rsi,%rax)
	movslq	%edx, %rcx
	movl	-20(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$4, %rax
	subq	%rdx, %rax
	addq	%rcx, %rax
	addq	$4, %rax
	leaq	0(,%rax,4), %rcx
	leaq	groups(%rip), %rdx
	movl	-4(%rbp), %eax
	movl	%eax, (%rcx,%rdx)
	movl	-4(%rbp), %eax
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	addMember, .-addMember
	.globl	isCounted
	.bss
	.align 32
	.type	isCounted, @object
	.size	isCounted, 8000
isCounted:
	.zero	8000
	.text
	.globl	countMemberR
	.type	countMemberR, @function
countMemberR:
.LFB4:
	.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	%edi, -20(%rbp)
	movl	$0, -12(%rbp)
	movl	$0, -8(%rbp)
	jmp	.L18
.L22:
	movl	-8(%rbp), %eax
	movslq	%eax, %rcx
	movl	-20(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$4, %rax
	subq	%rdx, %rax
	addq	%rcx, %rax
	addq	$4, %rax
	leaq	0(,%rax,4), %rdx
	leaq	groups(%rip), %rax
	movl	(%rdx,%rax), %eax
	movl	%eax, -4(%rbp)
	movl	-4(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	isCounted(%rip), %rax
	movl	(%rdx,%rax), %eax
	testl	%eax, %eax
	jne	.L24
	movl	-4(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	isCounted(%rip), %rax
	movl	$1, (%rdx,%rax)
	movl	-4(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$4, %rax
	subq	%rdx, %rax
	salq	$2, %rax
	movq	%rax, %rdx
	leaq	56+groups(%rip), %rax
	movl	(%rdx,%rax), %eax
	testl	%eax, %eax
	jne	.L21
	addl	$1, -12(%rbp)
	jmp	.L20
.L21:
	movl	-4(%rbp), %eax
	movl	%eax, %edi
	call	countMemberR
	addl	%eax, -12(%rbp)
	jmp	.L20
.L24:
	nop
.L20:
	addl	$1, -8(%rbp)
.L18:
	movl	-20(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$4, %rax
	subq	%rdx, %rax
	salq	$2, %rax
	movq	%rax, %rdx
	leaq	56+groups(%rip), %rax
	movl	(%rdx,%rax), %eax
	cmpl	%eax, -8(%rbp)
	jl	.L22
	movl	-12(%rbp), %eax
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE4:
	.size	countMemberR, .-countMemberR
	.globl	countMember
	.type	countMember, @function
countMember:
.LFB5:
	.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	%edi, -20(%rbp)
	movl	$0, -4(%rbp)
	jmp	.L26
.L27:
	movl	-4(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	isCounted(%rip), %rax
	movl	$0, (%rdx,%rax)
	addl	$1, -4(%rbp)
.L26:
	cmpl	$1999, -4(%rbp)
	jle	.L27
	movl	-20(%rbp), %eax
	movl	%eax, %edi
	call	countMemberR
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE5:
	.size	countMember, .-countMember
	.section	.rodata
.LC0:
	.string	"%*[^a-z]%[a-z]:"
.LC1:
	.string	"%[a-z],"
.LC2:
	.string	"%*[^0-9]"
.LC3:
	.string	"%d\n"
.LC4:
	.string	"%d"
	.text
	.globl	main
	.type	main, @function
main:
.LFB6:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$48, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	jmp	.L30
.L39:
	movl	$0, -36(%rbp)
	jmp	.L31
.L32:
	movl	-36(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	flag(%rip), %rax
	movl	$0, (%rdx,%rax)
	addl	$1, -36(%rbp)
.L31:
	cmpl	$1999, -36(%rbp)
	jle	.L32
	movl	$-1, -40(%rbp)
	jmp	.L33
.L37:
	leaq	-32(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	leaq	-32(%rbp), %rax
	movq	%rax, %rdi
	call	addGroup
	movl	%eax, -36(%rbp)
	cmpl	$-1, -40(%rbp)
	jne	.L35
	movl	-36(%rbp), %eax
	movl	%eax, -40(%rbp)
	jmp	.L35
.L36:
	leaq	-32(%rbp), %rdx
	movl	-36(%rbp), %eax
	movq	%rdx, %rsi
	movl	%eax, %edi
	call	addMember
.L35:
	leaq	-32(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	cmpl	$1, %eax
	je	.L36
	movl	-44(%rbp), %eax
	subl	$1, %eax
	movl	%eax, -44(%rbp)
.L33:
	movl	-44(%rbp), %eax
	testl	%eax, %eax
	jg	.L37
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-40(%rbp), %eax
	movl	%eax, %edi
	call	countMember
	movl	%eax, %esi
	leaq	.LC3(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
.L30:
	leaq	-44(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC4(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	cmpl	$1, %eax
	jne	.L38
	movl	-44(%rbp), %eax
	testl	%eax, %eax
	jle	.L38
	movl	-44(%rbp), %eax
	cmpl	$100, %eax
	jle	.L39
.L38:
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L41
	call	__stack_chk_fail@PLT
.L41:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.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:
