	.file	"16884.c"
	.intel_syntax noprefix
	.text
	.globl	binomial
	.bss
	.align 32
	.type	binomial, @object
	.size	binomial, 4080400
binomial:
	.zero	4080400
	.globl	nPk
	.align 32
	.type	nPk, @object
	.size	nPk, 8160800
nPk:
	.zero	8160800
	.text
	.globl	Generate
	.type	Generate, @function
Generate:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	edx, 4080400
	mov	esi, 0
	lea	rdi, binomial[rip]
	call	memset@PLT
	mov	DWORD PTR -8[rbp], 0
	jmp	.L2
.L8:
	mov	DWORD PTR -4[rbp], 0
	jmp	.L3
.L7:
	mov	eax, DWORD PTR -8[rbp]
	cmp	eax, DWORD PTR -4[rbp]
	je	.L4
	cmp	DWORD PTR -4[rbp], 0
	jne	.L5
.L4:
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	imul	rax, rax, 1010
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	lea	rax, binomial[rip]
	mov	DWORD PTR [rdx+rax], 1
	jmp	.L6
.L5:
	mov	eax, DWORD PTR -8[rbp]
	lea	edx, -1[rax]
	mov	eax, DWORD PTR -4[rbp]
	movsx	rcx, eax
	movsx	rax, edx
	imul	rax, rax, 1010
	add	rax, rcx
	lea	rdx, 0[0+rax*4]
	lea	rax, binomial[rip]
	mov	ecx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -8[rbp]
	lea	edx, -1[rax]
	mov	eax, DWORD PTR -4[rbp]
	sub	eax, 1
	movsx	rsi, eax
	movsx	rax, edx
	imul	rax, rax, 1010
	add	rax, rsi
	lea	rdx, 0[0+rax*4]
	lea	rax, binomial[rip]
	mov	eax, DWORD PTR [rdx+rax]
	add	ecx, eax
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	imul	rax, rax, 1010
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	lea	rax, binomial[rip]
	mov	DWORD PTR [rdx+rax], ecx
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	imul	rax, rax, 1010
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	lea	rax, binomial[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cmp	eax, 1000000006
	jle	.L6
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	imul	rax, rax, 1010
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	lea	rax, binomial[rip]
	mov	eax, DWORD PTR [rdx+rax]
	lea	ecx, -1000000007[rax]
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	imul	rax, rax, 1010
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	lea	rax, binomial[rip]
	mov	DWORD PTR [rdx+rax], ecx
.L6:
	add	DWORD PTR -4[rbp], 1
.L3:
	mov	eax, DWORD PTR -4[rbp]
	cmp	eax, DWORD PTR -8[rbp]
	jle	.L7
	add	DWORD PTR -8[rbp], 1
.L2:
	cmp	DWORD PTR -8[rbp], 1009
	jle	.L8
	mov	edx, 8160800
	mov	esi, 0
	lea	rdi, nPk[rip]
	call	memset@PLT
	mov	DWORD PTR -8[rbp], 0
	jmp	.L9
.L14:
	mov	DWORD PTR -4[rbp], 0
	jmp	.L10
.L13:
	cmp	DWORD PTR -4[rbp], 0
	jne	.L11
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	imul	rax, rax, 1010
	add	rax, rdx
	lea	rdx, 0[0+rax*8]
	lea	rax, nPk[rip]
	mov	QWORD PTR [rdx+rax], 1
	jmp	.L12
.L11:
	mov	eax, DWORD PTR -4[rbp]
	sub	eax, 1
	movsx	rdx, eax
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	imul	rax, rax, 1010
	add	rax, rdx
	lea	rdx, 0[0+rax*8]
	lea	rax, nPk[rip]
	mov	rdx, QWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -8[rbp]
	sub	eax, DWORD PTR -4[rbp]
	add	eax, 1
	cdqe
	mov	rcx, rdx
	imul	rcx, rax
	movabs	rdx, -8543223828751151131
	mov	rax, rcx
	imul	rdx
	lea	rax, [rdx+rcx]
	sar	rax, 29
	mov	rdx, rcx
	sar	rdx, 63
	sub	rax, rdx
	imul	rdx, rax, 1000000007
	mov	rax, rcx
	sub	rax, rdx
	mov	edx, DWORD PTR -4[rbp]
	movsx	rcx, edx
	mov	edx, DWORD PTR -8[rbp]
	movsx	rdx, edx
	imul	rdx, rdx, 1010
	add	rdx, rcx
	lea	rcx, 0[0+rdx*8]
	lea	rdx, nPk[rip]
	mov	QWORD PTR [rcx+rdx], rax
.L12:
	add	DWORD PTR -4[rbp], 1
.L10:
	mov	eax, DWORD PTR -4[rbp]
	cmp	eax, DWORD PTR -8[rbp]
	jle	.L13
	add	DWORD PTR -8[rbp], 1
.L9:
	cmp	DWORD PTR -8[rbp], 1009
	jle	.L14
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	Generate, .-Generate
	.globl	main
	.type	main, @function
main:
.LFB1:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	eax, 0
	call	Generate
	mov	eax, 0
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.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:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"16884.c"
	.text
	.comm	binomial,4080400,4
	.comm	nPk,8160800,8
	.global	__aeabi_ldivmod
	.align	2
	.global	Generate
	.syntax unified
	.arm
	.fpu softvfp
	.type	Generate, %function
Generate:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #8
	ldr	r2, .L15+8
	mov	r1, #0
	ldr	r0, .L15+12
	bl	memset
	mov	r3, #0
	str	r3, [fp, #-20]
	b	.L2
.L8:
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L3
.L7:
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-16]
	cmp	r2, r3
	beq	.L4
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L5
.L4:
	ldr	r1, .L15+12
	ldr	r2, [fp, #-20]
	mov	r3, r2
	lsl	r3, r3, #6
	sub	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #1
	ldr	r2, [fp, #-16]
	add	r3, r3, r2
	mov	r2, #1
	str	r2, [r1, r3, lsl #2]
	b	.L6
.L5:
	ldr	r3, [fp, #-20]
	sub	r2, r3, #1
	ldr	r1, .L15+12
	mov	r3, r2
	lsl	r3, r3, #6
	sub	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #1
	ldr	r2, [fp, #-16]
	add	r3, r3, r2
	ldr	r1, [r1, r3, lsl #2]
	ldr	r3, [fp, #-20]
	sub	r2, r3, #1
	ldr	r3, [fp, #-16]
	sub	r0, r3, #1
	ldr	ip, .L15+12
	mov	r3, r2
	lsl	r3, r3, #6
	sub	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r0
	ldr	r3, [ip, r3, lsl #2]
	add	r1, r1, r3
	ldr	r0, .L15+12
	ldr	r2, [fp, #-20]
	mov	r3, r2
	lsl	r3, r3, #6
	sub	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #1
	ldr	r2, [fp, #-16]
	add	r3, r3, r2
	str	r1, [r0, r3, lsl #2]
	ldr	r1, .L15+12
	ldr	r2, [fp, #-20]
	mov	r3, r2
	lsl	r3, r3, #6
	sub	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #1
	ldr	r2, [fp, #-16]
	add	r3, r3, r2
	ldr	r3, [r1, r3, lsl #2]
	ldr	r2, .L15+16
	cmp	r3, r2
	ble	.L6
	ldr	r1, .L15+12
	ldr	r2, [fp, #-20]
	mov	r3, r2
	lsl	r3, r3, #6
	sub	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #1
	ldr	r2, [fp, #-16]
	add	r3, r3, r2
	ldr	r3, [r1, r3, lsl #2]
	ldr	r2, .L15+20
	add	r2, r3, r2
	ldr	r0, .L15+12
	ldr	r1, [fp, #-20]
	mov	r3, r1
	lsl	r3, r3, #6
	sub	r3, r3, r1
	lsl	r3, r3, #3
	add	r3, r3, r1
	lsl	r3, r3, #1
	ldr	r1, [fp, #-16]
	add	r3, r3, r1
	str	r2, [r0, r3, lsl #2]
.L6:
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L3:
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	ble	.L7
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L2:
	ldr	r3, [fp, #-20]
	ldr	r2, .L15+24
	cmp	r3, r2
	ble	.L8
	ldr	r2, .L15+28
	mov	r1, #0
	ldr	r0, .L15+32
	bl	memset
	mov	r3, #0
	str	r3, [fp, #-20]
	b	.L9
.L14:
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L10
.L13:
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L11
	ldr	r1, .L15+32
	ldr	r2, [fp, #-20]
	mov	r3, r2
	lsl	r3, r3, #6
	sub	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #1
	ldr	r2, [fp, #-16]
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r1, r1, r3
	mov	r2, #1
	mov	r3, #0
	stm	r1, {r2-r3}
	b	.L12
.L11:
	ldr	r3, [fp, #-16]
	sub	r1, r3, #1
	ldr	r0, .L15+32
	ldr	r2, [fp, #-20]
	mov	r3, r2
	lsl	r3, r3, #6
	sub	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r1
	lsl	r3, r3, #3
	add	r3, r0, r3
	ldmia	r3, {r0-r1}
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-16]
	sub	r3, r2, r3
	add	r3, r3, #1
	mov	r2, r3
	asr	r3, r2, #31
	mul	lr, r2, r1
	mul	ip, r0, r3
	add	ip, lr, ip
	umull	r4, r5, r0, r2
	add	r3, ip, r5
	mov	r5, r3
	adr	r3, .L15
	ldmia	r3, {r2-r3}
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_ldivmod
	mov	r0, r2
	mov	r1, r3
	ldr	ip, .L15+32
	ldr	r2, [fp, #-20]
	mov	r3, r2
	lsl	r3, r3, #6
	sub	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #1
	ldr	r2, [fp, #-16]
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, ip, r3
	stm	r3, {r0-r1}
.L12:
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L10:
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	ble	.L13
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L9:
	ldr	r3, [fp, #-20]
	ldr	r2, .L15+24
	cmp	r3, r2
	ble	.L14
	nop
	nop
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L16:
	.align	3
.L15:
	.word	1000000007
	.word	0
	.word	4080400
	.word	binomial
	.word	1000000006
	.word	-1000000007
	.word	1009
	.word	8160800
	.word	nPk
	.size	Generate, .-Generate
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	bl	Generate
	mov	r3, #0
	mov	r0, r3
	pop	{fp, pc}
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
