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>
#define dr 1000000007

int main(){
  int n,i,j,c[60];
  long a[300005],b,m=0;
  for(i=0;i<60;i++){
    c[i]=0;
  }
  scanf("%d",&n);
  for(i=0;i<n;i++){
    scanf("%ld",&a[i]);
    for(j=0;j<60;j++){
      c[j]+=(a[i]>>j)&1;
    }
  }
  for(i=0;i<60;i++){
    m+=(((long)n-c[i])*c[i]%dr)*(((long)1<<i)%dr);
  }
  printf("%ld",m%dr);
  return(0);
}```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d"
.LC1:
	.string	"%ld"
	.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
	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	-2400256(%rsp), %r11
	.cfi_def_cfa 11, 2400296
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	.cfi_def_cfa_register 7
	subq	$56, %rsp
	.cfi_def_cfa_offset 2400352
	movl	$30, %ecx
	leaq	.LC1(%rip), %rbp
	movq	%fs:40, %rax
	movq	%rax, 2400296(%rsp)
	xorl	%eax, %eax
	leaq	16(%rsp), %rbx
	leaq	12(%rsp), %rsi
	movq	%rbx, %rdi
	rep stosq
	leaq	.LC0(%rip), %rdi
	call	__isoc99_scanf@PLT
	movslq	12(%rsp), %r9
	testl	%r9d, %r9d
	jle	.L2
	leaq	256(%rsp), %r12
	xorl	%r13d, %r13d
	.p2align 4,,10
	.p2align 3
.L4:
	movq	%r12, %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movq	(%r12), %rsi
	movq	%rbx, %rax
	xorl	%ecx, %ecx
	.p2align 4,,10
	.p2align 3
.L3:
	movq	%rsi, %rdx
	sarq	%cl, %rdx
	addl	$1, %ecx
	andl	$1, %edx
	addl	%edx, (%rax)
	addq	$4, %rax
	cmpl	$60, %ecx
	jne	.L3
	movslq	12(%rsp), %r9
	addl	$1, %r13d
	addq	$8, %r12
	cmpl	%r13d, %r9d
	jg	.L4
.L2:
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	movl	$1, %r10d
	movabsq	$-8543223828751151131, %rdi
	.p2align 4,,10
	.p2align 3
.L5:
	movslq	(%rbx,%rcx,4), %rax
	movq	%r9, %rsi
	movq	%r10, %r11
	salq	%cl, %r11
	addq	$1, %rcx
	subq	%rax, %rsi
	imulq	%rax, %rsi
	movq	%rsi, %rax
	imulq	%rdi
	movq	%rsi, %rax
	sarq	$63, %rax
	addq	%rsi, %rdx
	sarq	$29, %rdx
	subq	%rax, %rdx
	movq	%r11, %rax
	imulq	$1000000007, %rdx, %rdx
	subq	%rdx, %rsi
	mulq	%rdi
	shrq	$29, %rdx
	imulq	$1000000007, %rdx, %rdx
	subq	%rdx, %r11
	imulq	%r11, %rsi
	addq	%rsi, %r8
	cmpq	$60, %rcx
	jne	.L5
	movq	%r8, %rax
	movq	%rbp, %rsi
	imulq	%rdi
	movl	$1, %edi
	leaq	(%rdx,%r8), %rax
	movq	%r8, %rdx
	sarq	$63, %rdx
	sarq	$29, %rax
	subq	%rdx, %rax
	movq	%r8, %rdx
	imulq	$1000000007, %rax, %rax
	subq	%rax, %rdx
	xorl	%eax, %eax
	call	__printf_chk@PLT
	movq	2400296(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L13
	addq	$2400312, %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
.L13:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	1f - 0f
	.long	4f - 1f
	.long	5
0:
	.string	"GNU"
1:
	.align 8
	.long	0xc0000002
	.long	3f - 2f
2:
	.long	0x3
3:
	.align 8
4:
```

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

user
```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d"
.LC1:
	.string	"%ld"
	.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
	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	-2400256(%rsp), %r11
	.cfi_def_cfa 11, 2400296
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	.cfi_def_cfa_register 7
	subq	$56, %rsp
	.cfi_def_cfa_offset 2400352
	movl	$30, %ecx
	leaq	.LC1(%rip), %rbp
	movq	%fs:40, %rax
	movq	%rax, 2400296(%rsp)
	xorl	%eax, %eax
	leaq	16(%rsp), %rbx
	leaq	12(%rsp), %rsi
	movq	%rbx, %rdi
	rep stosq
	leaq	.LC0(%rip), %rdi
	call	__isoc99_scanf@PLT
	movslq	12(%rsp), %r9
	testl	%r9d, %r9d
	jle	.L2
	leaq	256(%rsp), %r12
	xorl	%r13d, %r13d
	.p2align 4,,10
	.p2align 3
.L4:
	movq	%r12, %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movq	(%r12), %rsi
	movq	%rbx, %rax
	xorl	%ecx, %ecx
	.p2align 4,,10
	.p2align 3
.L3:
	movq	%rsi, %rdx
	sarq	%cl, %rdx
	addl	$1, %ecx
	andl	$1, %edx
	addl	%edx, (%rax)
	addq	$4, %rax
	cmpl	$60, %ecx
	jne	.L3
	movslq	12(%rsp), %r9
	addl	$1, %r13d
	addq	$8, %r12
	cmpl	%r13d, %r9d
	jg	.L4
.L2:
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	movl	$1, %r10d
	movabsq	$-8543223828751151131, %rdi
	.p2align 4,,10
	.p2align 3
.L5:
	movslq	(%rbx,%rcx,4), %rax
	movq	%r9, %rsi
	movq	%r10, %r11
	salq	%cl, %r11
	addq	$1, %rcx
	subq	%rax, %rsi
	imulq	%rax, %rsi
	movq	%rsi, %rax
	imulq	%rdi
	movq	%rsi, %rax
	sarq	$63, %rax
	addq	%rsi, %rdx
	sarq	$29, %rdx
	subq	%rax, %rdx
	movq	%r11, %rax
	imulq	$1000000007, %rdx, %rdx
	subq	%rdx, %rsi
	mulq	%rdi
	shrq	$29, %rdx
	imulq	$1000000007, %rdx, %rdx
	subq	%rdx, %r11
	imulq	%r11, %rsi
	addq	%rsi, %r8
	cmpq	$60, %rcx
	jne	.L5
	movq	%r8, %rax
	movq	%rbp, %rsi
	imulq	%rdi
	movl	$1, %edi
	leaq	(%rdx,%r8), %rax
	movq	%r8, %rdx
	sarq	$63, %rdx
	sarq	$29, %rax
	subq	%rdx, %rax
	movq	%r8, %rdx
	imulq	$1000000007, %rax, %rax
	subq	%rax, %rdx
	xorl	%eax, %eax
	call	__printf_chk@PLT
	movq	2400296(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L13
	addq	$2400312, %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
.L13:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	1f - 0f
	.long	4f - 1f
	.long	5
0:
	.string	"GNU"
1:
	.align 8
	.long	0xc0000002
	.long	3f - 2f
2:
	.long	0x3
3:
	.align 8
4:
```
rule
```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d"
.LC1:
	.string	"%ld"
	.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
	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	-2400256(%rsp), %r11
	.cfi_def_cfa 11, 2400296
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	.cfi_def_cfa_register 7
	subq	$56, %rsp
	.cfi_def_cfa_offset 2400352
	movl	$30, %ecx
	leaq	.LC1(%rip), %rbp
	movq	%fs:40, %rax
	movq	%rax, 2400296(%rsp)
	xorl	%eax, %eax
	leaq	16(%rsp), %rbx
	leaq	12(%rsp), %rsi
	movq	%rbx, %rdi
	rep stosq
	leaq	.LC0(%rip), %rdi
	call	__isoc99_scanf@PLT
	movslq	12(%rsp), %r9
	testl	%r9d, %r9d
	jle	.L2
	leaq	256(%rsp), %r12
	xorl	%r13d, %r13d
	.p2align 4,,10
	.p2align 3
.L4:
	movq	%r12, %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movq	(%r12), %rsi
	movq	%rbx, %rax
	xorl	%ecx, %ecx
	.p2align 4,,10
	.p2align 3
.L3:
	movq	%rsi, %rdx
	sarq	%cl, %rdx
	addl	$1, %ecx
	andl	$1, %edx
	addl	%edx, (%rax)
	addq	$4, %rax
	cmpl	$60, %ecx
	jne	.L3
	movslq	12(%rsp), %r9
	addl	$1, %r13d
	addq	$8, %r12
	cmpl	%r13d, %r9d
	jg	.L4
.L2:
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	movl	$1, %r10d
	movabsq	$-8543223828751151131, %rdi
	.p2align 4,,10
	.p2align 3
.L5:
	movslq	(%rbx,%rcx,4), %rax
	movq	%r9, %rsi
	movq	%r10, %r11
	salq	%cl, %r11
	addq	$1, %rcx
	subq	%rax, %rsi
	imulq	%rax, %rsi
	movq	%rsi, %rax
	imulq	%rdi
	movq	%rsi, %rax
	sarq	$63, %rax
	addq	%rsi, %rdx
	sarq	$29, %rdx
	subq	%rax, %rdx
	movq	%r11, %rax
	imulq	$1000000007, %rdx, %rdx
	subq	%rdx, %rsi
	mulq	%rdi
	shrq	$29, %rdx
	imulq	$1000000007, %rdx, %rdx
	subq	%rdx, %r11
	imulq	%r11, %rsi
	addq	%rsi, %r8
	cmpq	$60, %rcx
	jne	.L5
	movq	%r8, %rax
	movq	%rbp, %rsi
	imulq	%rdi
	movl	$1, %edi
	leaq	(%rdx,%r8), %rax
	movq	%r8, %rdx
	sarq	$63, %rdx
	sarq	$29, %rax
	subq	%rdx, %rax
	movq	%r8, %rdx
	imulq	$1000000007, %rax, %rax
	subq	%rax, %rdx
	xorl	%eax, %eax
	call	__printf_chk@PLT
	movq	2400296(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L13
	addq	$2400312, %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
.L13:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	1f - 0f
	.long	4f - 1f
	.long	5
0:
	.string	"GNU"
1:
	.align 8
	.long	0xc0000002
	.long	3f - 2f
2:
	.long	0x3
3:
	.align 8
4:
```
```c
#include <stdio.h>
#define dr 1000000007

int main(){
  int n,i,j,c[60];
  long a[300005],b,m=0;
  for(i=0;i<60;i++){
    c[i]=0;
  }
  scanf("%d",&n);
  for(i=0;i<n;i++){
    scanf("%ld",&a[i]);
    for(j=0;j<60;j++){
      c[j]+=(a[i]>>j)&1;
    }
  }
  for(i=0;i<60;i++){
    m+=(((long)n-c[i])*c[i]%dr)*(((long)1<<i)%dr);
  }
  printf("%ld",m%dr);
  return(0);
}```
Given the following C code, your task is to generate highly optimized x86-64 assembly code.
C Code:

```c
#include <stdio.h>
#define dr 1000000007

int main(){
  int n,i,j,c[60];
  long a[300005],b,m=0;
  for(i=0;i<60;i++){
    c[i]=0;
  }
  scanf("%d",&n);
  for(i=0;i<n;i++){
    scanf("%ld",&a[i]);
    for(j=0;j<60;j++){
      c[j]+=(a[i]>>j)&1;
    }
  }
  for(i=0;i<60;i++){
    m+=(((long)n-c[i])*c[i]%dr)*(((long)1<<i)%dr);
  }
  printf("%ld",m%dr);
  return(0);
}```

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

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>
#define dr 1000000007

int main(){
  int n,i,j,c[60];
  long a[300005],b,m=0;
  for(i=0;i<60;i++){
    c[i]=0;
  }
  scanf("%d",&n);
  for(i=0;i<n;i++){
    scanf("%ld",&a[i]);
    for(j=0;j<60;j++){
      c[j]+=(a[i]>>j)&1;
    }
  }
  for(i=0;i<60;i++){
    m+=(((long)n-c[i])*c[i]%dr)*(((long)1<<i)%dr);
  }
  printf("%ld",m%dr);
  return(0);
}```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d"
.LC1:
	.string	"%ld"
	.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
	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	-2400256(%rsp), %r11
	.cfi_def_cfa 11, 2400296
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	.cfi_def_cfa_register 7
	subq	$56, %rsp
	.cfi_def_cfa_offset 2400352
	movl	$30, %ecx
	leaq	.LC1(%rip), %rbp
	movq	%fs:40, %rax
	movq	%rax, 2400296(%rsp)
	xorl	%eax, %eax
	leaq	16(%rsp), %rbx
	leaq	12(%rsp), %rsi
	movq	%rbx, %rdi
	rep stosq
	leaq	.LC0(%rip), %rdi
	call	__isoc99_scanf@PLT
	movslq	12(%rsp), %r9
	testl	%r9d, %r9d
	jle	.L2
	leaq	256(%rsp), %r12
	xorl	%r13d, %r13d
	.p2align 4,,10
	.p2align 3
.L4:
	movq	%r12, %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movq	(%r12), %rsi
	movq	%rbx, %rax
	xorl	%ecx, %ecx
	.p2align 4,,10
	.p2align 3
.L3:
	movq	%rsi, %rdx
	sarq	%cl, %rdx
	addl	$1, %ecx
	andl	$1, %edx
	addl	%edx, (%rax)
	addq	$4, %rax
	cmpl	$60, %ecx
	jne	.L3
	movslq	12(%rsp), %r9
	addl	$1, %r13d
	addq	$8, %r12
	cmpl	%r13d, %r9d
	jg	.L4
.L2:
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	movl	$1, %r10d
	movabsq	$-8543223828751151131, %rdi
	.p2align 4,,10
	.p2align 3
.L5:
	movslq	(%rbx,%rcx,4), %rax
	movq	%r9, %rsi
	movq	%r10, %r11
	salq	%cl, %r11
	addq	$1, %rcx
	subq	%rax, %rsi
	imulq	%rax, %rsi
	movq	%rsi, %rax
	imulq	%rdi
	movq	%rsi, %rax
	sarq	$63, %rax
	addq	%rsi, %rdx
	sarq	$29, %rdx
	subq	%rax, %rdx
	movq	%r11, %rax
	imulq	$1000000007, %rdx, %rdx
	subq	%rdx, %rsi
	mulq	%rdi
	shrq	$29, %rdx
	imulq	$1000000007, %rdx, %rdx
	subq	%rdx, %r11
	imulq	%r11, %rsi
	addq	%rsi, %r8
	cmpq	$60, %rcx
	jne	.L5
	movq	%r8, %rax
	movq	%rbp, %rsi
	imulq	%rdi
	movl	$1, %edi
	leaq	(%rdx,%r8), %rax
	movq	%r8, %rdx
	sarq	$63, %rdx
	sarq	$29, %rax
	subq	%rdx, %rax
	movq	%r8, %rdx
	imulq	$1000000007, %rax, %rax
	subq	%rax, %rdx
	xorl	%eax, %eax
	call	__printf_chk@PLT
	movq	2400296(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L13
	addq	$2400312, %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
.L13:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	1f - 0f
	.long	4f - 1f
	.long	5
0:
	.string	"GNU"
1:
	.align 8
	.long	0xc0000002
	.long	3f - 2f
2:
	.long	0x3
3:
	.align 8
4:
```

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

train
```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d"
.LC1:
	.string	"%ld"
	.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
	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	-2400256(%rsp), %r11
	.cfi_def_cfa 11, 2400296
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	.cfi_def_cfa_register 7
	subq	$56, %rsp
	.cfi_def_cfa_offset 2400352
	movl	$30, %ecx
	leaq	.LC1(%rip), %rbp
	movq	%fs:40, %rax
	movq	%rax, 2400296(%rsp)
	xorl	%eax, %eax
	leaq	16(%rsp), %rbx
	leaq	12(%rsp), %rsi
	movq	%rbx, %rdi
	rep stosq
	leaq	.LC0(%rip), %rdi
	call	__isoc99_scanf@PLT
	movslq	12(%rsp), %r9
	testl	%r9d, %r9d
	jle	.L2
	leaq	256(%rsp), %r12
	xorl	%r13d, %r13d
	.p2align 4,,10
	.p2align 3
.L4:
	movq	%r12, %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movq	(%r12), %rsi
	movq	%rbx, %rax
	xorl	%ecx, %ecx
	.p2align 4,,10
	.p2align 3
.L3:
	movq	%rsi, %rdx
	sarq	%cl, %rdx
	addl	$1, %ecx
	andl	$1, %edx
	addl	%edx, (%rax)
	addq	$4, %rax
	cmpl	$60, %ecx
	jne	.L3
	movslq	12(%rsp), %r9
	addl	$1, %r13d
	addq	$8, %r12
	cmpl	%r13d, %r9d
	jg	.L4
.L2:
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	movl	$1, %r10d
	movabsq	$-8543223828751151131, %rdi
	.p2align 4,,10
	.p2align 3
.L5:
	movslq	(%rbx,%rcx,4), %rax
	movq	%r9, %rsi
	movq	%r10, %r11
	salq	%cl, %r11
	addq	$1, %rcx
	subq	%rax, %rsi
	imulq	%rax, %rsi
	movq	%rsi, %rax
	imulq	%rdi
	movq	%rsi, %rax
	sarq	$63, %rax
	addq	%rsi, %rdx
	sarq	$29, %rdx
	subq	%rax, %rdx
	movq	%r11, %rax
	imulq	$1000000007, %rdx, %rdx
	subq	%rdx, %rsi
	mulq	%rdi
	shrq	$29, %rdx
	imulq	$1000000007, %rdx, %rdx
	subq	%rdx, %r11
	imulq	%r11, %rsi
	addq	%rsi, %r8
	cmpq	$60, %rcx
	jne	.L5
	movq	%r8, %rax
	movq	%rbp, %rsi
	imulq	%rdi
	movl	$1, %edi
	leaq	(%rdx,%r8), %rax
	movq	%r8, %rdx
	sarq	$63, %rdx
	sarq	$29, %rax
	subq	%rdx, %rax
	movq	%r8, %rdx
	imulq	$1000000007, %rax, %rax
	subq	%rax, %rdx
	xorl	%eax, %eax
	call	__printf_chk@PLT
	movq	2400296(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L13
	addq	$2400312, %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
.L13:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.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:
```