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

```c
#define M 30100
T[M],t[M];main(I,J,i,j,k,L,r){
for(i=2;i<M;i++)if(!T[i])for(j=i*2;j<M;j+=i)T[j]=1;
for(i=2,j=0;i<M;i++)if(!T[i])t[j++]=i;
for(;scanf("%d",&L),L;printf("%d\n",r))for(r=I=0;(i=t[I])<L;I++)for(J=I;(j=t[J])<=(k=L-i-j);J++)if(!T[k]&&j-i<k&&k<j+i)r++;
exit(0);}```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d\n"
.LC1:
	.string	"%d"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	movl	$4, %ecx
	movl	$2, %edx
	leaq	T(%rip), %r13
	pushq	%r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	pushq	%rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	pushq	%rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	subq	$24, %rsp
	.cfi_def_cfa_offset 64
	movl	%r9d, 12(%rsp)
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L2:
	addq	$1, %rdx
	addq	$2, %rcx
	cmpq	$30100, %rdx
	je	.L23
.L4:
	movl	0(%r13,%rdx,4), %r8d
	testl	%r8d, %r8d
	jne	.L2
	cmpq	$30099, %rcx
	ja	.L2
	movq	%rcx, %rax
	.p2align 4,,10
	.p2align 3
.L3:
	movl	$1, 0(%r13,%rax,4)
	addq	%rdx, %rax
	cmpl	$30099, %eax
	jle	.L3
	jmp	.L2
.L23:
	movl	$2, %edx
	xorl	%eax, %eax
	leaq	t(%rip), %rsi
	.p2align 4,,10
	.p2align 3
.L6:
	movl	0(%r13,%rdx,4), %edi
	testl	%edi, %edi
	jne	.L5
	movslq	%eax, %rcx
	addl	$1, %eax
	movl	%edx, (%rsi,%rcx,4)
.L5:
	addq	$1, %rdx
	cmpq	$30100, %rdx
	jne	.L6
	leaq	12(%rsp), %rbp
	leaq	.LC1(%rip), %rbx
	leaq	.LC0(%rip), %r12
	.p2align 4,,10
	.p2align 3
.L7:
	movq	%rbp, %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	call	scanf@PLT
	movl	12(%rsp), %r11d
	testl	%r11d, %r11d
	je	.L12
	movl	t(%rip), %r8d
	cmpl	%r11d, %r8d
	jge	.L15
	leaq	t(%rip), %r9
	xorl	%r10d, %r10d
	.p2align 4,,10
	.p2align 3
.L13:
	movl	%r11d, %edi
	movl	(%r9), %eax
	movq	%r9, %rcx
	subl	%r8d, %edi
	movl	%edi, %edx
	subl	%eax, %edx
	cmpl	%eax, %edx
	jl	.L11
	.p2align 4,,10
	.p2align 3
.L9:
	movslq	%edx, %rsi
	movl	0(%r13,%rsi,4), %esi
	testl	%esi, %esi
	jne	.L8
	movl	%eax, %esi
	subl	%r8d, %esi
	cmpl	%esi, %edx
	jle	.L8
	addl	%r8d, %eax
	cmpl	%eax, %edx
	setl	%al
	movzbl	%al, %eax
	addl	%eax, %r10d
.L8:
	movl	4(%rcx), %eax
	movl	%edi, %edx
	addq	$4, %rcx
	subl	%eax, %edx
	cmpl	%edx, %eax
	jle	.L9
.L11:
	movl	4(%r9), %r8d
	addq	$4, %r9
	cmpl	%r8d, %r11d
	jg	.L13
	movl	%r10d, %esi
	movq	%r12, %rdi
	xorl	%eax, %eax
	call	printf@PLT
	jmp	.L7
.L12:
	xorl	%edi, %edi
	call	exit@PLT
.L15:
	xorl	%r10d, %r10d
	movq	%r12, %rdi
	xorl	%eax, %eax
	movl	%r10d, %esi
	call	printf@PLT
	jmp	.L7
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.globl	t
	.bss
	.align 32
	.type	t, @object
	.size	t, 120400
t:
	.zero	120400
	.globl	T
	.align 32
	.type	T, @object
	.size	T, 120400
T:
	.zero	120400
	.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	"%d"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	movl	$4, %ecx
	movl	$2, %edx
	leaq	T(%rip), %r13
	pushq	%r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	pushq	%rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	pushq	%rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	subq	$24, %rsp
	.cfi_def_cfa_offset 64
	movl	%r9d, 12(%rsp)
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L2:
	addq	$1, %rdx
	addq	$2, %rcx
	cmpq	$30100, %rdx
	je	.L23
.L4:
	movl	0(%r13,%rdx,4), %r8d
	testl	%r8d, %r8d
	jne	.L2
	cmpq	$30099, %rcx
	ja	.L2
	movq	%rcx, %rax
	.p2align 4,,10
	.p2align 3
.L3:
	movl	$1, 0(%r13,%rax,4)
	addq	%rdx, %rax
	cmpl	$30099, %eax
	jle	.L3
	jmp	.L2
.L23:
	movl	$2, %edx
	xorl	%eax, %eax
	leaq	t(%rip), %rsi
	.p2align 4,,10
	.p2align 3
.L6:
	movl	0(%r13,%rdx,4), %edi
	testl	%edi, %edi
	jne	.L5
	movslq	%eax, %rcx
	addl	$1, %eax
	movl	%edx, (%rsi,%rcx,4)
.L5:
	addq	$1, %rdx
	cmpq	$30100, %rdx
	jne	.L6
	leaq	12(%rsp), %rbp
	leaq	.LC1(%rip), %rbx
	leaq	.LC0(%rip), %r12
	.p2align 4,,10
	.p2align 3
.L7:
	movq	%rbp, %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	call	scanf@PLT
	movl	12(%rsp), %r11d
	testl	%r11d, %r11d
	je	.L12
	movl	t(%rip), %r8d
	cmpl	%r11d, %r8d
	jge	.L15
	leaq	t(%rip), %r9
	xorl	%r10d, %r10d
	.p2align 4,,10
	.p2align 3
.L13:
	movl	%r11d, %edi
	movl	(%r9), %eax
	movq	%r9, %rcx
	subl	%r8d, %edi
	movl	%edi, %edx
	subl	%eax, %edx
	cmpl	%eax, %edx
	jl	.L11
	.p2align 4,,10
	.p2align 3
.L9:
	movslq	%edx, %rsi
	movl	0(%r13,%rsi,4), %esi
	testl	%esi, %esi
	jne	.L8
	movl	%eax, %esi
	subl	%r8d, %esi
	cmpl	%esi, %edx
	jle	.L8
	addl	%r8d, %eax
	cmpl	%eax, %edx
	setl	%al
	movzbl	%al, %eax
	addl	%eax, %r10d
.L8:
	movl	4(%rcx), %eax
	movl	%edi, %edx
	addq	$4, %rcx
	subl	%eax, %edx
	cmpl	%edx, %eax
	jle	.L9
.L11:
	movl	4(%r9), %r8d
	addq	$4, %r9
	cmpl	%r8d, %r11d
	jg	.L13
	movl	%r10d, %esi
	movq	%r12, %rdi
	xorl	%eax, %eax
	call	printf@PLT
	jmp	.L7
.L12:
	xorl	%edi, %edi
	call	exit@PLT
.L15:
	xorl	%r10d, %r10d
	movq	%r12, %rdi
	xorl	%eax, %eax
	movl	%r10d, %esi
	call	printf@PLT
	jmp	.L7
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.globl	t
	.bss
	.align 32
	.type	t, @object
	.size	t, 120400
t:
	.zero	120400
	.globl	T
	.align 32
	.type	T, @object
	.size	T, 120400
T:
	.zero	120400
	.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	"%d"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	movl	$4, %ecx
	movl	$2, %edx
	leaq	T(%rip), %r13
	pushq	%r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	pushq	%rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	pushq	%rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	subq	$24, %rsp
	.cfi_def_cfa_offset 64
	movl	%r9d, 12(%rsp)
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L2:
	addq	$1, %rdx
	addq	$2, %rcx
	cmpq	$30100, %rdx
	je	.L23
.L4:
	movl	0(%r13,%rdx,4), %r8d
	testl	%r8d, %r8d
	jne	.L2
	cmpq	$30099, %rcx
	ja	.L2
	movq	%rcx, %rax
	.p2align 4,,10
	.p2align 3
.L3:
	movl	$1, 0(%r13,%rax,4)
	addq	%rdx, %rax
	cmpl	$30099, %eax
	jle	.L3
	jmp	.L2
.L23:
	movl	$2, %edx
	xorl	%eax, %eax
	leaq	t(%rip), %rsi
	.p2align 4,,10
	.p2align 3
.L6:
	movl	0(%r13,%rdx,4), %edi
	testl	%edi, %edi
	jne	.L5
	movslq	%eax, %rcx
	addl	$1, %eax
	movl	%edx, (%rsi,%rcx,4)
.L5:
	addq	$1, %rdx
	cmpq	$30100, %rdx
	jne	.L6
	leaq	12(%rsp), %rbp
	leaq	.LC1(%rip), %rbx
	leaq	.LC0(%rip), %r12
	.p2align 4,,10
	.p2align 3
.L7:
	movq	%rbp, %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	call	scanf@PLT
	movl	12(%rsp), %r11d
	testl	%r11d, %r11d
	je	.L12
	movl	t(%rip), %r8d
	cmpl	%r11d, %r8d
	jge	.L15
	leaq	t(%rip), %r9
	xorl	%r10d, %r10d
	.p2align 4,,10
	.p2align 3
.L13:
	movl	%r11d, %edi
	movl	(%r9), %eax
	movq	%r9, %rcx
	subl	%r8d, %edi
	movl	%edi, %edx
	subl	%eax, %edx
	cmpl	%eax, %edx
	jl	.L11
	.p2align 4,,10
	.p2align 3
.L9:
	movslq	%edx, %rsi
	movl	0(%r13,%rsi,4), %esi
	testl	%esi, %esi
	jne	.L8
	movl	%eax, %esi
	subl	%r8d, %esi
	cmpl	%esi, %edx
	jle	.L8
	addl	%r8d, %eax
	cmpl	%eax, %edx
	setl	%al
	movzbl	%al, %eax
	addl	%eax, %r10d
.L8:
	movl	4(%rcx), %eax
	movl	%edi, %edx
	addq	$4, %rcx
	subl	%eax, %edx
	cmpl	%edx, %eax
	jle	.L9
.L11:
	movl	4(%r9), %r8d
	addq	$4, %r9
	cmpl	%r8d, %r11d
	jg	.L13
	movl	%r10d, %esi
	movq	%r12, %rdi
	xorl	%eax, %eax
	call	printf@PLT
	jmp	.L7
.L12:
	xorl	%edi, %edi
	call	exit@PLT
.L15:
	xorl	%r10d, %r10d
	movq	%r12, %rdi
	xorl	%eax, %eax
	movl	%r10d, %esi
	call	printf@PLT
	jmp	.L7
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.globl	t
	.bss
	.align 32
	.type	t, @object
	.size	t, 120400
t:
	.zero	120400
	.globl	T
	.align 32
	.type	T, @object
	.size	T, 120400
T:
	.zero	120400
	.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
#define M 30100
T[M],t[M];main(I,J,i,j,k,L,r){
for(i=2;i<M;i++)if(!T[i])for(j=i*2;j<M;j+=i)T[j]=1;
for(i=2,j=0;i<M;i++)if(!T[i])t[j++]=i;
for(;scanf("%d",&L),L;printf("%d\n",r))for(r=I=0;(i=t[I])<L;I++)for(J=I;(j=t[J])<=(k=L-i-j);J++)if(!T[k]&&j-i<k&&k<j+i)r++;
exit(0);}```
Given the following C code, your task is to generate highly optimized x86-64 assembly code.
C Code:

```c
#define M 30100
T[M],t[M];main(I,J,i,j,k,L,r){
for(i=2;i<M;i++)if(!T[i])for(j=i*2;j<M;j+=i)T[j]=1;
for(i=2,j=0;i<M;i++)if(!T[i])t[j++]=i;
for(;scanf("%d",&L),L;printf("%d\n",r))for(r=I=0;(i=t[I])<L;I++)for(J=I;(j=t[J])<=(k=L-i-j);J++)if(!T[k]&&j-i<k&&k<j+i)r++;
exit(0);}```

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

10
12
15
777
7180
5000
0
 10
2
15
777
7180
5000
0
 10
1
15
149
7180
5000
0
 10
1
15
149
7180
2901
0
 10
1
15
149
7180
6275
0
 10
1
15
149
7180
10757
0
 10
1
42
149
7180
2924
0
 10
1
42
149
635
3334
0
 10
12
15
777
4999
232
0
 10
12
15
1177
7180
5000
0

0
1
2
110
0
0
 0
0
2
110
0
0
 0
0
2
20
0
0
 0
0
2
20
0
791
 0
0
2
20
0
4041
 0
0
2
20
0
9902
 0
0
0
20
0
0
 0
0
0
20
133
0
 0
1
2
110
2780
0
 0
1
2
277
0
0

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

```c
#define M 30100
T[M],t[M];main(I,J,i,j,k,L,r){
for(i=2;i<M;i++)if(!T[i])for(j=i*2;j<M;j+=i)T[j]=1;
for(i=2,j=0;i<M;i++)if(!T[i])t[j++]=i;
for(;scanf("%d",&L),L;printf("%d\n",r))for(r=I=0;(i=t[I])<L;I++)for(J=I;(j=t[J])<=(k=L-i-j);J++)if(!T[k]&&j-i<k&&k<j+i)r++;
exit(0);}```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d\n"
.LC1:
	.string	"%d"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	movl	$4, %ecx
	movl	$2, %edx
	leaq	T(%rip), %r13
	pushq	%r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	pushq	%rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	pushq	%rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	subq	$24, %rsp
	.cfi_def_cfa_offset 64
	movl	%r9d, 12(%rsp)
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L2:
	addq	$1, %rdx
	addq	$2, %rcx
	cmpq	$30100, %rdx
	je	.L23
.L4:
	movl	0(%r13,%rdx,4), %r8d
	testl	%r8d, %r8d
	jne	.L2
	cmpq	$30099, %rcx
	ja	.L2
	movq	%rcx, %rax
	.p2align 4,,10
	.p2align 3
.L3:
	movl	$1, 0(%r13,%rax,4)
	addq	%rdx, %rax
	cmpl	$30099, %eax
	jle	.L3
	jmp	.L2
.L23:
	movl	$2, %edx
	xorl	%eax, %eax
	leaq	t(%rip), %rsi
	.p2align 4,,10
	.p2align 3
.L6:
	movl	0(%r13,%rdx,4), %edi
	testl	%edi, %edi
	jne	.L5
	movslq	%eax, %rcx
	addl	$1, %eax
	movl	%edx, (%rsi,%rcx,4)
.L5:
	addq	$1, %rdx
	cmpq	$30100, %rdx
	jne	.L6
	leaq	12(%rsp), %rbp
	leaq	.LC1(%rip), %rbx
	leaq	.LC0(%rip), %r12
	.p2align 4,,10
	.p2align 3
.L7:
	movq	%rbp, %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	call	scanf@PLT
	movl	12(%rsp), %r11d
	testl	%r11d, %r11d
	je	.L12
	movl	t(%rip), %r8d
	cmpl	%r11d, %r8d
	jge	.L15
	leaq	t(%rip), %r9
	xorl	%r10d, %r10d
	.p2align 4,,10
	.p2align 3
.L13:
	movl	%r11d, %edi
	movl	(%r9), %eax
	movq	%r9, %rcx
	subl	%r8d, %edi
	movl	%edi, %edx
	subl	%eax, %edx
	cmpl	%eax, %edx
	jl	.L11
	.p2align 4,,10
	.p2align 3
.L9:
	movslq	%edx, %rsi
	movl	0(%r13,%rsi,4), %esi
	testl	%esi, %esi
	jne	.L8
	movl	%eax, %esi
	subl	%r8d, %esi
	cmpl	%esi, %edx
	jle	.L8
	addl	%r8d, %eax
	cmpl	%eax, %edx
	setl	%al
	movzbl	%al, %eax
	addl	%eax, %r10d
.L8:
	movl	4(%rcx), %eax
	movl	%edi, %edx
	addq	$4, %rcx
	subl	%eax, %edx
	cmpl	%edx, %eax
	jle	.L9
.L11:
	movl	4(%r9), %r8d
	addq	$4, %r9
	cmpl	%r8d, %r11d
	jg	.L13
	movl	%r10d, %esi
	movq	%r12, %rdi
	xorl	%eax, %eax
	call	printf@PLT
	jmp	.L7
.L12:
	xorl	%edi, %edi
	call	exit@PLT
.L15:
	xorl	%r10d, %r10d
	movq	%r12, %rdi
	xorl	%eax, %eax
	movl	%r10d, %esi
	call	printf@PLT
	jmp	.L7
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.globl	t
	.bss
	.align 32
	.type	t, @object
	.size	t, 120400
t:
	.zero	120400
	.globl	T
	.align 32
	.type	T, @object
	.size	T, 120400
T:
	.zero	120400
	.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	"%d"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	movl	$4, %ecx
	movl	$2, %edx
	leaq	T(%rip), %r13
	pushq	%r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	pushq	%rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	pushq	%rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	subq	$24, %rsp
	.cfi_def_cfa_offset 64
	movl	%r9d, 12(%rsp)
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L2:
	addq	$1, %rdx
	addq	$2, %rcx
	cmpq	$30100, %rdx
	je	.L23
.L4:
	movl	0(%r13,%rdx,4), %r8d
	testl	%r8d, %r8d
	jne	.L2
	cmpq	$30099, %rcx
	ja	.L2
	movq	%rcx, %rax
	.p2align 4,,10
	.p2align 3
.L3:
	movl	$1, 0(%r13,%rax,4)
	addq	%rdx, %rax
	cmpl	$30099, %eax
	jle	.L3
	jmp	.L2
.L23:
	movl	$2, %edx
	xorl	%eax, %eax
	leaq	t(%rip), %rsi
	.p2align 4,,10
	.p2align 3
.L6:
	movl	0(%r13,%rdx,4), %edi
	testl	%edi, %edi
	jne	.L5
	movslq	%eax, %rcx
	addl	$1, %eax
	movl	%edx, (%rsi,%rcx,4)
.L5:
	addq	$1, %rdx
	cmpq	$30100, %rdx
	jne	.L6
	leaq	12(%rsp), %rbp
	leaq	.LC1(%rip), %rbx
	leaq	.LC0(%rip), %r12
	.p2align 4,,10
	.p2align 3
.L7:
	movq	%rbp, %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	call	scanf@PLT
	movl	12(%rsp), %r11d
	testl	%r11d, %r11d
	je	.L12
	movl	t(%rip), %r8d
	cmpl	%r11d, %r8d
	jge	.L15
	leaq	t(%rip), %r9
	xorl	%r10d, %r10d
	.p2align 4,,10
	.p2align 3
.L13:
	movl	%r11d, %edi
	movl	(%r9), %eax
	movq	%r9, %rcx
	subl	%r8d, %edi
	movl	%edi, %edx
	subl	%eax, %edx
	cmpl	%eax, %edx
	jl	.L11
	.p2align 4,,10
	.p2align 3
.L9:
	movslq	%edx, %rsi
	movl	0(%r13,%rsi,4), %esi
	testl	%esi, %esi
	jne	.L8
	movl	%eax, %esi
	subl	%r8d, %esi
	cmpl	%esi, %edx
	jle	.L8
	addl	%r8d, %eax
	cmpl	%eax, %edx
	setl	%al
	movzbl	%al, %eax
	addl	%eax, %r10d
.L8:
	movl	4(%rcx), %eax
	movl	%edi, %edx
	addq	$4, %rcx
	subl	%eax, %edx
	cmpl	%edx, %eax
	jle	.L9
.L11:
	movl	4(%r9), %r8d
	addq	$4, %r9
	cmpl	%r8d, %r11d
	jg	.L13
	movl	%r10d, %esi
	movq	%r12, %rdi
	xorl	%eax, %eax
	call	printf@PLT
	jmp	.L7
.L12:
	xorl	%edi, %edi
	call	exit@PLT
.L15:
	xorl	%r10d, %r10d
	movq	%r12, %rdi
	xorl	%eax, %eax
	movl	%r10d, %esi
	call	printf@PLT
	jmp	.L7
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.globl	t
	.bss
	.align 32
	.type	t, @object
	.size	t, 120400
t:
	.zero	120400
	.globl	T
	.align 32
	.type	T, @object
	.size	T, 120400
T:
	.zero	120400
	.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:
```