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

```c
#include <stdio.h>

long long int bit_counts[61];

int main (void) {
	int n, i, j;
	long long int a, res=0;
	
	scanf("%d\n", &n);
	
	for(i=0;i<n;i++)
	{
		scanf("%lld",&a);
		for(j=0;a;j++,a>>=1)
		{
			bit_counts[j]+=a&1;
		}
	}
	
	for(i=60;i>=0;i--)
	{
		res=res*2%1000000007LL+bit_counts[i]*(n-bit_counts[i])%1000000007LL;
		res%=1000000007LL;
	}
	
	printf("%lld\n", res);
}```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d\n"
.LC1:
	.string	"%lld"
.LC2:
	.string	"%lld\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	leaq	.LC0(%rip), %rdi
	pushq	%r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	pushq	%rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	pushq	%rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	leaq	bit_counts(%rip), %rbx
	subq	$40, %rsp
	.cfi_def_cfa_offset 80
	movq	%fs:40, %rax
	movq	%rax, 24(%rsp)
	xorl	%eax, %eax
	leaq	12(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movslq	12(%rsp), %r9
	testl	%r9d, %r9d
	jle	.L2
	xorl	%r13d, %r13d
	leaq	16(%rsp), %r12
	leaq	.LC1(%rip), %rbp
	.p2align 4,,10
	.p2align 3
.L5:
	movq	%r12, %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movq	16(%rsp), %rax
	testq	%rax, %rax
	je	.L3
	leaq	bit_counts(%rip), %rdx
	.p2align 4,,10
	.p2align 3
.L4:
	movq	%rax, %rcx
	andl	$1, %ecx
	addq	%rcx, (%rdx)
	addq	$8, %rdx
	sarq	%rax
	jne	.L4
	movq	$0, 16(%rsp)
.L3:
	movslq	12(%rsp), %r9
	addl	$1, %r13d
	cmpl	%r13d, %r9d
	jg	.L5
.L2:
	leaq	480+bit_counts(%rip), %rdi
	xorl	%ecx, %ecx
	movabsq	$-8543223828751151131, %r8
	.p2align 4,,10
	.p2align 3
.L6:
	addq	%rcx, %rcx
	movq	%r9, %rsi
	movq	%rcx, %rax
	imulq	%r8
	movq	%rcx, %rax
	sarq	$63, %rax
	leaq	(%rdx,%rcx), %r10
	sarq	$29, %r10
	subq	%rax, %r10
	imulq	$1000000007, %r10, %rax
	subq	%rax, %rcx
	movq	(%rdi), %rax
	subq	%rax, %rsi
	imulq	%rax, %rsi
	movq	%rsi, %rax
	imulq	%r8
	movq	%rsi, %rax
	sarq	$63, %rax
	addq	%rsi, %rdx
	sarq	$29, %rdx
	subq	%rax, %rdx
	imulq	$1000000007, %rdx, %rdx
	subq	%rdx, %rsi
	addq	%rcx, %rsi
	movq	%rsi, %rax
	imulq	%r8
	movq	%rsi, %rax
	sarq	$63, %rax
	leaq	(%rdx,%rsi), %rcx
	sarq	$29, %rcx
	subq	%rax, %rcx
	imulq	$1000000007, %rcx, %rax
	subq	%rax, %rsi
	movq	%rdi, %rax
	subq	$8, %rdi
	movq	%rsi, %rcx
	cmpq	%rax, %rbx
	jne	.L6
	movq	%rsi, %rdx
	xorl	%eax, %eax
	movl	$1, %edi
	leaq	.LC2(%rip), %rsi
	call	__printf_chk@PLT
	movq	24(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L17
	addq	$40, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 32
	popq	%rbp
	.cfi_def_cfa_offset 24
	popq	%r12
	.cfi_def_cfa_offset 16
	popq	%r13
	.cfi_def_cfa_offset 8
	ret
.L17:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.size	main, .-main
	.globl	bit_counts
	.bss
	.align 32
	.type	bit_counts, @object
	.size	bit_counts, 488
bit_counts:
	.zero	488
	.ident	"GCC: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	1f - 0f
	.long	4f - 1f
	.long	5
0:
	.string	"GNU"
1:
	.align 8
	.long	0xc0000002
	.long	3f - 2f
2:
	.long	0x3
3:
	.align 8
4:
```

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

user
```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d\n"
.LC1:
	.string	"%lld"
.LC2:
	.string	"%lld\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	leaq	.LC0(%rip), %rdi
	pushq	%r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	pushq	%rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	pushq	%rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	leaq	bit_counts(%rip), %rbx
	subq	$40, %rsp
	.cfi_def_cfa_offset 80
	movq	%fs:40, %rax
	movq	%rax, 24(%rsp)
	xorl	%eax, %eax
	leaq	12(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movslq	12(%rsp), %r9
	testl	%r9d, %r9d
	jle	.L2
	xorl	%r13d, %r13d
	leaq	16(%rsp), %r12
	leaq	.LC1(%rip), %rbp
	.p2align 4,,10
	.p2align 3
.L5:
	movq	%r12, %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movq	16(%rsp), %rax
	testq	%rax, %rax
	je	.L3
	leaq	bit_counts(%rip), %rdx
	.p2align 4,,10
	.p2align 3
.L4:
	movq	%rax, %rcx
	andl	$1, %ecx
	addq	%rcx, (%rdx)
	addq	$8, %rdx
	sarq	%rax
	jne	.L4
	movq	$0, 16(%rsp)
.L3:
	movslq	12(%rsp), %r9
	addl	$1, %r13d
	cmpl	%r13d, %r9d
	jg	.L5
.L2:
	leaq	480+bit_counts(%rip), %rdi
	xorl	%ecx, %ecx
	movabsq	$-8543223828751151131, %r8
	.p2align 4,,10
	.p2align 3
.L6:
	addq	%rcx, %rcx
	movq	%r9, %rsi
	movq	%rcx, %rax
	imulq	%r8
	movq	%rcx, %rax
	sarq	$63, %rax
	leaq	(%rdx,%rcx), %r10
	sarq	$29, %r10
	subq	%rax, %r10
	imulq	$1000000007, %r10, %rax
	subq	%rax, %rcx
	movq	(%rdi), %rax
	subq	%rax, %rsi
	imulq	%rax, %rsi
	movq	%rsi, %rax
	imulq	%r8
	movq	%rsi, %rax
	sarq	$63, %rax
	addq	%rsi, %rdx
	sarq	$29, %rdx
	subq	%rax, %rdx
	imulq	$1000000007, %rdx, %rdx
	subq	%rdx, %rsi
	addq	%rcx, %rsi
	movq	%rsi, %rax
	imulq	%r8
	movq	%rsi, %rax
	sarq	$63, %rax
	leaq	(%rdx,%rsi), %rcx
	sarq	$29, %rcx
	subq	%rax, %rcx
	imulq	$1000000007, %rcx, %rax
	subq	%rax, %rsi
	movq	%rdi, %rax
	subq	$8, %rdi
	movq	%rsi, %rcx
	cmpq	%rax, %rbx
	jne	.L6
	movq	%rsi, %rdx
	xorl	%eax, %eax
	movl	$1, %edi
	leaq	.LC2(%rip), %rsi
	call	__printf_chk@PLT
	movq	24(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L17
	addq	$40, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 32
	popq	%rbp
	.cfi_def_cfa_offset 24
	popq	%r12
	.cfi_def_cfa_offset 16
	popq	%r13
	.cfi_def_cfa_offset 8
	ret
.L17:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.size	main, .-main
	.globl	bit_counts
	.bss
	.align 32
	.type	bit_counts, @object
	.size	bit_counts, 488
bit_counts:
	.zero	488
	.ident	"GCC: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	1f - 0f
	.long	4f - 1f
	.long	5
0:
	.string	"GNU"
1:
	.align 8
	.long	0xc0000002
	.long	3f - 2f
2:
	.long	0x3
3:
	.align 8
4:
```
rule
```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d\n"
.LC1:
	.string	"%lld"
.LC2:
	.string	"%lld\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	leaq	.LC0(%rip), %rdi
	pushq	%r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	pushq	%rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	pushq	%rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	leaq	bit_counts(%rip), %rbx
	subq	$40, %rsp
	.cfi_def_cfa_offset 80
	movq	%fs:40, %rax
	movq	%rax, 24(%rsp)
	xorl	%eax, %eax
	leaq	12(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movslq	12(%rsp), %r9
	testl	%r9d, %r9d
	jle	.L2
	xorl	%r13d, %r13d
	leaq	16(%rsp), %r12
	leaq	.LC1(%rip), %rbp
	.p2align 4,,10
	.p2align 3
.L5:
	movq	%r12, %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movq	16(%rsp), %rax
	testq	%rax, %rax
	je	.L3
	leaq	bit_counts(%rip), %rdx
	.p2align 4,,10
	.p2align 3
.L4:
	movq	%rax, %rcx
	andl	$1, %ecx
	addq	%rcx, (%rdx)
	addq	$8, %rdx
	sarq	%rax
	jne	.L4
	movq	$0, 16(%rsp)
.L3:
	movslq	12(%rsp), %r9
	addl	$1, %r13d
	cmpl	%r13d, %r9d
	jg	.L5
.L2:
	leaq	480+bit_counts(%rip), %rdi
	xorl	%ecx, %ecx
	movabsq	$-8543223828751151131, %r8
	.p2align 4,,10
	.p2align 3
.L6:
	addq	%rcx, %rcx
	movq	%r9, %rsi
	movq	%rcx, %rax
	imulq	%r8
	movq	%rcx, %rax
	sarq	$63, %rax
	leaq	(%rdx,%rcx), %r10
	sarq	$29, %r10
	subq	%rax, %r10
	imulq	$1000000007, %r10, %rax
	subq	%rax, %rcx
	movq	(%rdi), %rax
	subq	%rax, %rsi
	imulq	%rax, %rsi
	movq	%rsi, %rax
	imulq	%r8
	movq	%rsi, %rax
	sarq	$63, %rax
	addq	%rsi, %rdx
	sarq	$29, %rdx
	subq	%rax, %rdx
	imulq	$1000000007, %rdx, %rdx
	subq	%rdx, %rsi
	addq	%rcx, %rsi
	movq	%rsi, %rax
	imulq	%r8
	movq	%rsi, %rax
	sarq	$63, %rax
	leaq	(%rdx,%rsi), %rcx
	sarq	$29, %rcx
	subq	%rax, %rcx
	imulq	$1000000007, %rcx, %rax
	subq	%rax, %rsi
	movq	%rdi, %rax
	subq	$8, %rdi
	movq	%rsi, %rcx
	cmpq	%rax, %rbx
	jne	.L6
	movq	%rsi, %rdx
	xorl	%eax, %eax
	movl	$1, %edi
	leaq	.LC2(%rip), %rsi
	call	__printf_chk@PLT
	movq	24(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L17
	addq	$40, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 32
	popq	%rbp
	.cfi_def_cfa_offset 24
	popq	%r12
	.cfi_def_cfa_offset 16
	popq	%r13
	.cfi_def_cfa_offset 8
	ret
.L17:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.size	main, .-main
	.globl	bit_counts
	.bss
	.align 32
	.type	bit_counts, @object
	.size	bit_counts, 488
bit_counts:
	.zero	488
	.ident	"GCC: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	1f - 0f
	.long	4f - 1f
	.long	5
0:
	.string	"GNU"
1:
	.align 8
	.long	0xc0000002
	.long	3f - 2f
2:
	.long	0x3
3:
	.align 8
4:
```
```c
#include <stdio.h>

long long int bit_counts[61];

int main (void) {
	int n, i, j;
	long long int a, res=0;
	
	scanf("%d\n", &n);
	
	for(i=0;i<n;i++)
	{
		scanf("%lld",&a);
		for(j=0;a;j++,a>>=1)
		{
			bit_counts[j]+=a&1;
		}
	}
	
	for(i=60;i>=0;i--)
	{
		res=res*2%1000000007LL+bit_counts[i]*(n-bit_counts[i])%1000000007LL;
		res%=1000000007LL;
	}
	
	printf("%lld\n", res);
}```
Given the following C code, your task is to generate highly optimized x86-64 assembly code.
C Code:

```c
#include <stdio.h>

long long int bit_counts[61];

int main (void) {
	int n, i, j;
	long long int a, res=0;
	
	scanf("%d\n", &n);
	
	for(i=0;i<n;i++)
	{
		scanf("%lld",&a);
		for(j=0;a;j++,a>>=1)
		{
			bit_counts[j]+=a&1;
		}
	}
	
	for(i=60;i>=0;i--)
	{
		res=res*2%1000000007LL+bit_counts[i]*(n-bit_counts[i])%1000000007LL;
		res%=1000000007LL;
	}
	
	printf("%lld\n", res);
}```

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

3
1 2 1
 10
1 14 159 2653 58979 323846 2643383 27950288 419716939 9375105820
 10
3 1 4 1 5 9 2 6 5 6
 3
1 4 1
 10
1 14 159 2653 58979 376446 2643383 27950288 419716939 9375105820
 10
3 1 4 1 5 9 2 6 5 2
 10
1 14 159 2653 58979 376446 2643383 33596518 419716939 9375105820
 10
3 1 4 1 6 9 2 6 5 2
 10
1 3 159 2653 58979 376446 2643383 33596518 419716939 9375105820
 10
1 3 159 2653 58979 376446 2643383 40072772 419716939 9375105820

6
 103715608
 244
 10
 104328928
 240
 144630974
 243
 144630991
 190239349

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

```c
#include <stdio.h>

long long int bit_counts[61];

int main (void) {
	int n, i, j;
	long long int a, res=0;
	
	scanf("%d\n", &n);
	
	for(i=0;i<n;i++)
	{
		scanf("%lld",&a);
		for(j=0;a;j++,a>>=1)
		{
			bit_counts[j]+=a&1;
		}
	}
	
	for(i=60;i>=0;i--)
	{
		res=res*2%1000000007LL+bit_counts[i]*(n-bit_counts[i])%1000000007LL;
		res%=1000000007LL;
	}
	
	printf("%lld\n", res);
}```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d\n"
.LC1:
	.string	"%lld"
.LC2:
	.string	"%lld\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	leaq	.LC0(%rip), %rdi
	pushq	%r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	pushq	%rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	pushq	%rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	leaq	bit_counts(%rip), %rbx
	subq	$40, %rsp
	.cfi_def_cfa_offset 80
	movq	%fs:40, %rax
	movq	%rax, 24(%rsp)
	xorl	%eax, %eax
	leaq	12(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movslq	12(%rsp), %r9
	testl	%r9d, %r9d
	jle	.L2
	xorl	%r13d, %r13d
	leaq	16(%rsp), %r12
	leaq	.LC1(%rip), %rbp
	.p2align 4,,10
	.p2align 3
.L5:
	movq	%r12, %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movq	16(%rsp), %rax
	testq	%rax, %rax
	je	.L3
	leaq	bit_counts(%rip), %rdx
	.p2align 4,,10
	.p2align 3
.L4:
	movq	%rax, %rcx
	andl	$1, %ecx
	addq	%rcx, (%rdx)
	addq	$8, %rdx
	sarq	%rax
	jne	.L4
	movq	$0, 16(%rsp)
.L3:
	movslq	12(%rsp), %r9
	addl	$1, %r13d
	cmpl	%r13d, %r9d
	jg	.L5
.L2:
	leaq	480+bit_counts(%rip), %rdi
	xorl	%ecx, %ecx
	movabsq	$-8543223828751151131, %r8
	.p2align 4,,10
	.p2align 3
.L6:
	addq	%rcx, %rcx
	movq	%r9, %rsi
	movq	%rcx, %rax
	imulq	%r8
	movq	%rcx, %rax
	sarq	$63, %rax
	leaq	(%rdx,%rcx), %r10
	sarq	$29, %r10
	subq	%rax, %r10
	imulq	$1000000007, %r10, %rax
	subq	%rax, %rcx
	movq	(%rdi), %rax
	subq	%rax, %rsi
	imulq	%rax, %rsi
	movq	%rsi, %rax
	imulq	%r8
	movq	%rsi, %rax
	sarq	$63, %rax
	addq	%rsi, %rdx
	sarq	$29, %rdx
	subq	%rax, %rdx
	imulq	$1000000007, %rdx, %rdx
	subq	%rdx, %rsi
	addq	%rcx, %rsi
	movq	%rsi, %rax
	imulq	%r8
	movq	%rsi, %rax
	sarq	$63, %rax
	leaq	(%rdx,%rsi), %rcx
	sarq	$29, %rcx
	subq	%rax, %rcx
	imulq	$1000000007, %rcx, %rax
	subq	%rax, %rsi
	movq	%rdi, %rax
	subq	$8, %rdi
	movq	%rsi, %rcx
	cmpq	%rax, %rbx
	jne	.L6
	movq	%rsi, %rdx
	xorl	%eax, %eax
	movl	$1, %edi
	leaq	.LC2(%rip), %rsi
	call	__printf_chk@PLT
	movq	24(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L17
	addq	$40, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 32
	popq	%rbp
	.cfi_def_cfa_offset 24
	popq	%r12
	.cfi_def_cfa_offset 16
	popq	%r13
	.cfi_def_cfa_offset 8
	ret
.L17:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.size	main, .-main
	.globl	bit_counts
	.bss
	.align 32
	.type	bit_counts, @object
	.size	bit_counts, 488
bit_counts:
	.zero	488
	.ident	"GCC: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	1f - 0f
	.long	4f - 1f
	.long	5
0:
	.string	"GNU"
1:
	.align 8
	.long	0xc0000002
	.long	3f - 2f
2:
	.long	0x3
3:
	.align 8
4:
```

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

train
```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d\n"
.LC1:
	.string	"%lld"
.LC2:
	.string	"%lld\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	leaq	.LC0(%rip), %rdi
	pushq	%r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	pushq	%rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	pushq	%rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	leaq	bit_counts(%rip), %rbx
	subq	$40, %rsp
	.cfi_def_cfa_offset 80
	movq	%fs:40, %rax
	movq	%rax, 24(%rsp)
	xorl	%eax, %eax
	leaq	12(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movslq	12(%rsp), %r9
	testl	%r9d, %r9d
	jle	.L2
	xorl	%r13d, %r13d
	leaq	16(%rsp), %r12
	leaq	.LC1(%rip), %rbp
	.p2align 4,,10
	.p2align 3
.L5:
	movq	%r12, %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movq	16(%rsp), %rax
	testq	%rax, %rax
	je	.L3
	leaq	bit_counts(%rip), %rdx
	.p2align 4,,10
	.p2align 3
.L4:
	movq	%rax, %rcx
	andl	$1, %ecx
	addq	%rcx, (%rdx)
	addq	$8, %rdx
	sarq	%rax
	jne	.L4
	movq	$0, 16(%rsp)
.L3:
	movslq	12(%rsp), %r9
	addl	$1, %r13d
	cmpl	%r13d, %r9d
	jg	.L5
.L2:
	leaq	480+bit_counts(%rip), %rdi
	xorl	%ecx, %ecx
	movabsq	$-8543223828751151131, %r8
	.p2align 4,,10
	.p2align 3
.L6:
	addq	%rcx, %rcx
	movq	%r9, %rsi
	movq	%rcx, %rax
	imulq	%r8
	movq	%rcx, %rax
	sarq	$63, %rax
	leaq	(%rdx,%rcx), %r10
	sarq	$29, %r10
	subq	%rax, %r10
	imulq	$1000000007, %r10, %rax
	subq	%rax, %rcx
	movq	(%rdi), %rax
	subq	%rax, %rsi
	imulq	%rax, %rsi
	movq	%rsi, %rax
	imulq	%r8
	movq	%rsi, %rax
	sarq	$63, %rax
	addq	%rsi, %rdx
	sarq	$29, %rdx
	subq	%rax, %rdx
	imulq	$1000000007, %rdx, %rdx
	subq	%rdx, %rsi
	addq	%rcx, %rsi
	movq	%rsi, %rax
	imulq	%r8
	movq	%rsi, %rax
	sarq	$63, %rax
	leaq	(%rdx,%rsi), %rcx
	sarq	$29, %rcx
	subq	%rax, %rcx
	imulq	$1000000007, %rcx, %rax
	subq	%rax, %rsi
	movq	%rdi, %rax
	subq	$8, %rdi
	movq	%rsi, %rcx
	cmpq	%rax, %rbx
	jne	.L6
	movq	%rsi, %rdx
	xorl	%eax, %eax
	movl	$1, %edi
	leaq	.LC2(%rip), %rsi
	call	__printf_chk@PLT
	movq	24(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L17
	addq	$40, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 32
	popq	%rbp
	.cfi_def_cfa_offset 24
	popq	%r12
	.cfi_def_cfa_offset 16
	popq	%r13
	.cfi_def_cfa_offset 8
	ret
.L17:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.size	main, .-main
	.globl	bit_counts
	.bss
	.align 32
	.type	bit_counts, @object
	.size	bit_counts, 488
bit_counts:
	.zero	488
	.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:
```