	.file	"780075.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC0:
	.string	"\n\343\200\214\343\202\252\343\202\27110\345\214\271\343\200\201\343\203\241\343\202\27110\345\214\271\343\200\200\343\201\256\343\201\204\343\201\221\343\201\231\343\201\213\343\202\21110\345\214\271\343\202\222\351\235\236\345\276\251\345\205\203\346\212\275\345\207\272\343\201\227\343\201\246\343\200\201\343\203\241\343\202\271\343\201\256\346\225\260\343\202\222\346\225\260\343\201\210\343\202\213\343\200\215\350\251\246\350\241\214\343\202\2221000\345\233\236\347\271\260\343\202\212\350\277\224\343\201\227\343\201\237\343\201\250\343\201\215\343\200\201"
	.align 8
.LC2:
	.string	"\343\200\214\343\203\241\343\202\271\343\201\214%d\345\214\271\343\201\204\343\202\213\343\200\215\350\251\246\350\241\214\345\233\236\346\225\260\343\201\256\343\200\200\347\220\206\350\253\226\345\200\244\343\201\257%f\343\200\200\345\256\237\346\270\254\345\200\244\343\201\257%d\n"
.LC3:
	.string	"\n\343\201\250\343\201\252\343\202\212\343\201\276\343\201\227\343\201\237\343\200\202"
	.text
	.globl	main
	.type	main, @function
main:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 4096
	or	QWORD PTR [rsp], 0
	sub	rsp, 208
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdx, -4016[rbp]
	mov	eax, 0
	mov	ecx, 500
	mov	rdi, rdx
	rep stosq
	mov	rdx, rdi
	mov	DWORD PTR [rdx], eax
	add	rdx, 4
	lea	rdx, -4272[rbp]
	mov	eax, 0
	mov	ecx, 31
	mov	rdi, rdx
	rep stosq
	mov	edi, 0
	call	time@PLT
	mov	edi, eax
	call	srand@PLT
	mov	DWORD PTR -4300[rbp], 0
	jmp	.L2
.L7:
	mov	DWORD PTR -4288[rbp], 0
	mov	DWORD PTR -4284[rbp], 10
	mov	DWORD PTR -4280[rbp], 10
	mov	DWORD PTR -4296[rbp], 0
	jmp	.L3
.L6:
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, DWORD PTR -4280[rbp]
	mov	edx, DWORD PTR -4284[rbp]
	mov	eax, DWORD PTR -4280[rbp]
	add	eax, edx
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, eax
	divsd	xmm0, xmm1
	movq	rax, xmm0
	movq	xmm0, rax
	call	bernoulli_rv
	mov	DWORD PTR -4276[rbp], eax
	cmp	DWORD PTR -4276[rbp], 1
	jne	.L4
	sub	DWORD PTR -4280[rbp], 1
	add	DWORD PTR -4288[rbp], 1
	jmp	.L5
.L4:
	sub	DWORD PTR -4284[rbp], 1
.L5:
	add	DWORD PTR -4296[rbp], 1
.L3:
	cmp	DWORD PTR -4296[rbp], 9
	jle	.L6
	mov	eax, DWORD PTR -4288[rbp]
	cdqe
	mov	eax, DWORD PTR -4016[rbp+rax*4]
	lea	edx, 1[rax]
	mov	eax, DWORD PTR -4288[rbp]
	cdqe
	mov	DWORD PTR -4016[rbp+rax*4], edx
	add	DWORD PTR -4300[rbp], 1
.L2:
	cmp	DWORD PTR -4300[rbp], 999
	jle	.L7
	lea	rax, -4272[rbp]
	mov	rcx, rax
	mov	edx, 10
	mov	esi, 10
	mov	edi, 20
	call	hypergeometric_tv
	lea	rdi, .LC0[rip]
	call	puts@PLT
	mov	DWORD PTR -4292[rbp], 0
	jmp	.L8
.L9:
	mov	eax, DWORD PTR -4292[rbp]
	cdqe
	mov	edx, DWORD PTR -4016[rbp+rax*4]
	mov	eax, DWORD PTR -4292[rbp]
	cdqe
	movsd	xmm1, QWORD PTR -4272[rbp+rax*8]
	movsd	xmm0, QWORD PTR .LC1[rip]
	mulsd	xmm1, xmm0
	movq	rcx, xmm1
	mov	eax, DWORD PTR -4292[rbp]
	movq	xmm0, rcx
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 1
	call	printf@PLT
	add	DWORD PTR -4292[rbp], 1
.L8:
	cmp	DWORD PTR -4292[rbp], 10
	jle	.L9
	lea	rdi, .LC3[rip]
	call	puts@PLT
	mov	eax, 0
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L11
	call	__stack_chk_fail@PLT
.L11:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.section	.rodata
.LC11:
	.string	"nCk (n=%d, k=%d): %d\n"
	.text
	.globl	test
	.type	test, @function
test:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, -32[rbp]
	mov	edx, 2
	mov	esi, 10
	mov	rdi, rax
	call	mat_alloc
	test	eax, eax
	jns	.L13
	mov	eax, -1
	jmp	.L17
.L13:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	movsd	xmm0, QWORD PTR .LC4[rip]
	movsd	QWORD PTR [rax], xmm0
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	add	rax, 8
	pxor	xmm0, xmm0
	movsd	QWORD PTR [rax], xmm0
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	movsd	xmm0, QWORD PTR .LC4[rip]
	movsd	QWORD PTR [rax], xmm0
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	add	rax, 8
	movsd	xmm0, QWORD PTR .LC6[rip]
	movsd	QWORD PTR [rax], xmm0
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 16
	mov	rax, QWORD PTR [rax]
	movsd	xmm0, QWORD PTR .LC4[rip]
	movsd	QWORD PTR [rax], xmm0
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 16
	mov	rax, QWORD PTR [rax]
	add	rax, 8
	movsd	xmm0, QWORD PTR .LC7[rip]
	movsd	QWORD PTR [rax], xmm0
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 24
	mov	rax, QWORD PTR [rax]
	movsd	xmm0, QWORD PTR .LC4[rip]
	movsd	QWORD PTR [rax], xmm0
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 24
	mov	rax, QWORD PTR [rax]
	add	rax, 8
	movsd	xmm0, QWORD PTR .LC8[rip]
	movsd	QWORD PTR [rax], xmm0
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 32
	mov	rax, QWORD PTR [rax]
	movsd	xmm0, QWORD PTR .LC4[rip]
	movsd	QWORD PTR [rax], xmm0
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 32
	mov	rax, QWORD PTR [rax]
	add	rax, 8
	movsd	xmm0, QWORD PTR .LC4[rip]
	movsd	QWORD PTR [rax], xmm0
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 40
	mov	rax, QWORD PTR [rax]
	pxor	xmm0, xmm0
	movsd	QWORD PTR [rax], xmm0
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 40
	mov	rax, QWORD PTR [rax]
	add	rax, 8
	pxor	xmm0, xmm0
	movsd	QWORD PTR [rax], xmm0
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 48
	mov	rax, QWORD PTR [rax]
	pxor	xmm0, xmm0
	movsd	QWORD PTR [rax], xmm0
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 48
	mov	rax, QWORD PTR [rax]
	add	rax, 8
	movsd	xmm0, QWORD PTR .LC8[rip]
	movsd	QWORD PTR [rax], xmm0
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 56
	mov	rax, QWORD PTR [rax]
	movsd	xmm0, QWORD PTR .LC7[rip]
	movsd	QWORD PTR [rax], xmm0
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 56
	mov	rax, QWORD PTR [rax]
	add	rax, 8
	movsd	xmm0, QWORD PTR .LC8[rip]
	movsd	QWORD PTR [rax], xmm0
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 64
	mov	rax, QWORD PTR [rax]
	movsd	xmm0, QWORD PTR .LC9[rip]
	movsd	QWORD PTR [rax], xmm0
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 64
	mov	rax, QWORD PTR [rax]
	add	rax, 8
	movsd	xmm0, QWORD PTR .LC10[rip]
	movsd	QWORD PTR [rax], xmm0
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 72
	mov	rax, QWORD PTR [rax]
	movsd	xmm0, QWORD PTR .LC10[rip]
	movsd	QWORD PTR [rax], xmm0
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 72
	mov	rax, QWORD PTR [rax]
	add	rax, 8
	movsd	xmm0, QWORD PTR .LC9[rip]
	movsd	QWORD PTR [rax], xmm0
	mov	DWORD PTR -36[rbp], 0
	jmp	.L15
.L16:
	mov	rdx, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	add	rax, 8
	movsd	xmm0, QWORD PTR [rax]
	cvttsd2si	edx, xmm0
	mov	rcx, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	sal	rax, 3
	add	rax, rcx
	mov	rax, QWORD PTR [rax]
	movsd	xmm0, QWORD PTR [rax]
	cvttsd2si	eax, xmm0
	mov	esi, edx
	mov	edi, eax
	call	combination2
	mov	ecx, eax
	mov	rdx, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	add	rax, 8
	movsd	xmm0, QWORD PTR [rax]
	cvttsd2si	edx, xmm0
	mov	rsi, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	sal	rax, 3
	add	rax, rsi
	mov	rax, QWORD PTR [rax]
	movsd	xmm0, QWORD PTR [rax]
	cvttsd2si	eax, xmm0
	mov	esi, eax
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -36[rbp], 1
.L15:
	mov	eax, DWORD PTR -32[rbp]
	cmp	DWORD PTR -36[rbp], eax
	jl	.L16
	lea	rax, -32[rbp]
	mov	rdi, rax
	call	mat_free
	mov	eax, 0
.L17:
	mov	rdi, QWORD PTR -8[rbp]
	sub	rdi, QWORD PTR fs:40
	je	.L18
	call	__stack_chk_fail@PLT
.L18:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	test, .-test
	.section	.rodata
	.align 8
.LC12:
	.string	"\351\205\215\345\210\227\347\224\250\343\201\256\351\240\230\345\237\237\343\201\214\347\242\272\344\277\235\343\201\247\343\201\215\343\201\276\343\201\233\343\202\223\343\201\247\343\201\227\343\201\237"
	.text
	.globl	mat_alloc
	.type	mat_alloc, @function
mat_alloc:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	mov	DWORD PTR -32[rbp], edx
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, DWORD PTR -28[rbp]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, DWORD PTR -32[rbp]
	mov	DWORD PTR 4[rax], edx
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	mov	esi, 8
	mov	rdi, rax
	call	calloc@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR 8[rax], rdx
	mov	eax, DWORD PTR -32[rbp]
	imul	eax, DWORD PTR -28[rbp]
	cdqe
	mov	esi, 8
	mov	rdi, rax
	call	calloc@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR 16[rax], rdx
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 8[rax]
	test	rax, rax
	je	.L20
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 16[rax]
	test	rax, rax
	jne	.L21
.L20:
	lea	rdi, .LC12[rip]
	call	puts@PLT
	mov	eax, -1
	jmp	.L22
.L21:
	mov	DWORD PTR -4[rbp], 0
	jmp	.L23
.L24:
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR 16[rax]
	mov	eax, DWORD PTR -4[rbp]
	imul	eax, DWORD PTR -32[rbp]
	cdqe
	lea	rsi, 0[0+rax*8]
	mov	rax, QWORD PTR -24[rbp]
	mov	rcx, QWORD PTR 8[rax]
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	sal	rax, 3
	add	rax, rcx
	add	rdx, rsi
	mov	QWORD PTR [rax], rdx
	add	DWORD PTR -4[rbp], 1
.L23:
	mov	eax, DWORD PTR -4[rbp]
	cmp	eax, DWORD PTR -28[rbp]
	jl	.L24
	mov	eax, 0
.L22:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	mat_alloc, .-mat_alloc
	.globl	mat_free
	.type	mat_free, @function
mat_free:
.LFB9:
	.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	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	rdi, rax
	call	free@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	mat_free, .-mat_free
	.globl	s_uniform_rv
	.type	s_uniform_rv, @function
s_uniform_rv:
.LFB10:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	call	rand@PLT
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, eax
	movsd	xmm1, QWORD PTR .LC13[rip]
	divsd	xmm0, xmm1
	movq	rax, xmm0
	movq	xmm0, rax
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	s_uniform_rv, .-s_uniform_rv
	.globl	bernoulli_rv
	.type	bernoulli_rv, @function
bernoulli_rv:
.LFB11:
	.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
	movsd	QWORD PTR -8[rbp], xmm0
	call	s_uniform_rv
	movsd	xmm1, QWORD PTR -8[rbp]
	comisd	xmm1, xmm0
	seta	al
	movzx	eax, al
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	bernoulli_rv, .-bernoulli_rv
	.globl	binomial_rv
	.type	binomial_rv, @function
binomial_rv:
.LFB12:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	movsd	QWORD PTR -24[rbp], xmm0
	mov	DWORD PTR -28[rbp], edi
	mov	DWORD PTR -4[rbp], 0
	mov	DWORD PTR -8[rbp], 0
	jmp	.L31
.L32:
	mov	rax, QWORD PTR -24[rbp]
	movq	xmm0, rax
	call	bernoulli_rv
	add	DWORD PTR -4[rbp], eax
	add	DWORD PTR -8[rbp], 1
.L31:
	mov	eax, DWORD PTR -8[rbp]
	cmp	eax, DWORD PTR -28[rbp]
	jl	.L32
	mov	eax, DWORD PTR -4[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	binomial_rv, .-binomial_rv
	.globl	factorial
	.type	factorial, @function
factorial:
.LFB13:
	.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	DWORD PTR -4[rbp], edi
	cmp	DWORD PTR -4[rbp], 0
	jns	.L35
	mov	eax, -1
	jmp	.L36
.L35:
	cmp	DWORD PTR -4[rbp], 0
	jne	.L37
	mov	eax, 1
	jmp	.L36
.L37:
	mov	eax, DWORD PTR -4[rbp]
	sub	eax, 1
	mov	edi, eax
	call	factorial
	imul	eax, DWORD PTR -4[rbp]
.L36:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	factorial, .-factorial
	.globl	partial
	.type	partial, @function
partial:
.LFB14:
	.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	DWORD PTR -4[rbp], edi
	mov	DWORD PTR -8[rbp], esi
	cmp	DWORD PTR -4[rbp], 0
	js	.L39
	cmp	DWORD PTR -8[rbp], 0
	js	.L39
	mov	eax, DWORD PTR -4[rbp]
	cmp	eax, DWORD PTR -8[rbp]
	jge	.L40
.L39:
	mov	eax, -1
	jmp	.L41
.L40:
	cmp	DWORD PTR -8[rbp], 0
	jne	.L42
	mov	eax, 1
	jmp	.L41
.L42:
	mov	eax, DWORD PTR -8[rbp]
	lea	edx, -1[rax]
	mov	eax, DWORD PTR -4[rbp]
	sub	eax, 1
	mov	esi, edx
	mov	edi, eax
	call	partial
	imul	eax, DWORD PTR -4[rbp]
.L41:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE14:
	.size	partial, .-partial
	.globl	combination
	.type	combination, @function
combination:
.LFB15:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 24
	.cfi_offset 3, -24
	mov	DWORD PTR -20[rbp], edi
	mov	DWORD PTR -24[rbp], esi
	cmp	DWORD PTR -20[rbp], 0
	js	.L44
	cmp	DWORD PTR -24[rbp], 0
	js	.L44
	mov	eax, DWORD PTR -20[rbp]
	cmp	eax, DWORD PTR -24[rbp]
	jge	.L45
.L44:
	mov	eax, -1
	jmp	.L46
.L45:
	cmp	DWORD PTR -24[rbp], 0
	jne	.L47
	mov	eax, 1
	jmp	.L46
.L47:
	mov	edx, DWORD PTR -24[rbp]
	mov	eax, DWORD PTR -20[rbp]
	mov	esi, edx
	mov	edi, eax
	call	partial
	mov	ebx, eax
	mov	eax, DWORD PTR -24[rbp]
	mov	edi, eax
	call	factorial
	mov	ecx, eax
	mov	eax, ebx
	cdq
	idiv	ecx
.L46:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE15:
	.size	combination, .-combination
	.globl	combination2
	.type	combination2, @function
combination2:
.LFB16:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 24
	.cfi_offset 3, -24
	mov	DWORD PTR -20[rbp], edi
	mov	DWORD PTR -24[rbp], esi
	cmp	DWORD PTR -20[rbp], 0
	js	.L49
	cmp	DWORD PTR -24[rbp], 0
	js	.L49
	mov	eax, DWORD PTR -20[rbp]
	cmp	eax, DWORD PTR -24[rbp]
	jge	.L50
.L49:
	mov	eax, -1
	jmp	.L51
.L50:
	cmp	DWORD PTR -24[rbp], 0
	je	.L52
	mov	eax, DWORD PTR -24[rbp]
	cmp	eax, DWORD PTR -20[rbp]
	jne	.L53
.L52:
	mov	eax, 1
	jmp	.L51
.L53:
	mov	eax, DWORD PTR -20[rbp]
	lea	edx, -1[rax]
	mov	eax, DWORD PTR -24[rbp]
	mov	esi, eax
	mov	edi, edx
	call	combination2
	mov	ebx, eax
	mov	eax, DWORD PTR -24[rbp]
	lea	edx, -1[rax]
	mov	eax, DWORD PTR -20[rbp]
	sub	eax, 1
	mov	esi, edx
	mov	edi, eax
	call	combination2
	add	eax, ebx
.L51:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE16:
	.size	combination2, .-combination2
	.globl	binomial_tv
	.type	binomial_tv, @function
binomial_tv:
.LFB17:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	movsd	QWORD PTR -24[rbp], xmm0
	mov	DWORD PTR -28[rbp], edi
	mov	QWORD PTR -40[rbp], rsi
	mov	DWORD PTR -4[rbp], 0
	jmp	.L55
.L56:
	mov	edx, DWORD PTR -4[rbp]
	mov	eax, DWORD PTR -28[rbp]
	mov	esi, edx
	mov	edi, eax
	call	combination2
	pxor	xmm4, xmm4
	cvtsi2sd	xmm4, eax
	movsd	QWORD PTR -48[rbp], xmm4
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, DWORD PTR -4[rbp]
	mov	rax, QWORD PTR -24[rbp]
	movapd	xmm1, xmm0
	movq	xmm0, rax
	call	pow@PLT
	mulsd	xmm0, QWORD PTR -48[rbp]
	movsd	QWORD PTR -48[rbp], xmm0
	mov	eax, DWORD PTR -28[rbp]
	sub	eax, DWORD PTR -4[rbp]
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, eax
	movsd	xmm0, QWORD PTR .LC6[rip]
	movapd	xmm3, xmm0
	subsd	xmm3, QWORD PTR -24[rbp]
	movq	rax, xmm3
	movq	xmm0, rax
	call	pow@PLT
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	mulsd	xmm0, QWORD PTR -48[rbp]
	movsd	QWORD PTR [rax], xmm0
	add	DWORD PTR -4[rbp], 1
.L55:
	mov	eax, DWORD PTR -4[rbp]
	cmp	eax, DWORD PTR -28[rbp]
	jle	.L56
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE17:
	.size	binomial_tv, .-binomial_tv
	.globl	poison_tv
	.type	poison_tv, @function
poison_tv:
.LFB18:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 56
	.cfi_offset 3, -24
	movsd	QWORD PTR -40[rbp], xmm0
	mov	QWORD PTR -48[rbp], rdi
	mov	DWORD PTR -52[rbp], esi
	mov	DWORD PTR -20[rbp], 0
	jmp	.L59
.L64:
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, DWORD PTR -20[rbp]
	mov	rax, QWORD PTR -40[rbp]
	movapd	xmm1, xmm0
	movq	xmm0, rax
	call	pow@PLT
	movq	rbx, xmm0
	mov	eax, DWORD PTR -20[rbp]
	mov	edi, eax
	call	factorial
	pxor	xmm2, xmm2
	cvtsi2sd	xmm2, eax
	movsd	QWORD PTR -64[rbp], xmm2
	mov	rax, QWORD PTR -40[rbp]
	movq	xmm0, rax
	call	exp@PLT
	movsd	xmm1, QWORD PTR -64[rbp]
	mulsd	xmm1, xmm0
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	movq	xmm0, rbx
	divsd	xmm0, xmm1
	movsd	QWORD PTR [rax], xmm0
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, DWORD PTR -20[rbp]
	comisd	xmm0, QWORD PTR -40[rbp]
	jbe	.L60
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	pxor	xmm0, xmm0
	comisd	xmm0, xmm1
	ja	.L62
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	sal	rax, 3
	lea	rdx, -8[rax]
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	comisd	xmm0, xmm1
	jbe	.L60
.L62:
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	pxor	xmm0, xmm0
	movsd	QWORD PTR [rax], xmm0
.L60:
	add	DWORD PTR -20[rbp], 1
.L59:
	mov	eax, DWORD PTR -20[rbp]
	cmp	eax, DWORD PTR -52[rbp]
	jl	.L64
	mov	eax, 0
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE18:
	.size	poison_tv, .-poison_tv
	.globl	geometric_tv
	.type	geometric_tv, @function
geometric_tv:
.LFB19:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	movsd	QWORD PTR -24[rbp], xmm0
	mov	QWORD PTR -32[rbp], rdi
	mov	DWORD PTR -36[rbp], esi
	mov	rax, QWORD PTR -32[rbp]
	pxor	xmm0, xmm0
	movsd	QWORD PTR [rax], xmm0
	mov	DWORD PTR -4[rbp], 1
	jmp	.L68
.L69:
	mov	eax, DWORD PTR -4[rbp]
	sub	eax, 1
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, eax
	movsd	xmm0, QWORD PTR .LC6[rip]
	subsd	xmm0, QWORD PTR -24[rbp]
	movq	rax, xmm0
	movq	xmm0, rax
	call	pow@PLT
	movq	rax, xmm0
	mov	edx, DWORD PTR -4[rbp]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*8]
	mov	rdx, QWORD PTR -32[rbp]
	add	rdx, rcx
	movq	xmm0, rax
	mulsd	xmm0, QWORD PTR -24[rbp]
	movsd	QWORD PTR [rdx], xmm0
	add	DWORD PTR -4[rbp], 1
.L68:
	mov	eax, DWORD PTR -4[rbp]
	cmp	eax, DWORD PTR -36[rbp]
	jl	.L69
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE19:
	.size	geometric_tv, .-geometric_tv
	.globl	negative_binomial_tv
	.type	negative_binomial_tv, @function
negative_binomial_tv:
.LFB20:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 56
	.cfi_offset 3, -24
	movsd	QWORD PTR -40[rbp], xmm0
	mov	DWORD PTR -44[rbp], edi
	mov	QWORD PTR -56[rbp], rsi
	mov	DWORD PTR -48[rbp], edx
	mov	eax, DWORD PTR -44[rbp]
	mov	DWORD PTR -20[rbp], eax
	jmp	.L72
.L73:
	mov	eax, DWORD PTR -20[rbp]
	sub	eax, 1
	mov	edi, eax
	call	factorial
	pxor	xmm4, xmm4
	cvtsi2sd	xmm4, eax
	movsd	QWORD PTR -64[rbp], xmm4
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, DWORD PTR -44[rbp]
	mov	rax, QWORD PTR -40[rbp]
	movapd	xmm1, xmm0
	movq	xmm0, rax
	call	pow@PLT
	mulsd	xmm0, QWORD PTR -64[rbp]
	movsd	QWORD PTR -64[rbp], xmm0
	mov	eax, DWORD PTR -20[rbp]
	sub	eax, DWORD PTR -44[rbp]
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, eax
	movsd	xmm0, QWORD PTR .LC6[rip]
	movapd	xmm3, xmm0
	subsd	xmm3, QWORD PTR -40[rbp]
	movq	rax, xmm3
	movq	xmm0, rax
	call	pow@PLT
	mulsd	xmm0, QWORD PTR -64[rbp]
	movsd	QWORD PTR -64[rbp], xmm0
	mov	eax, DWORD PTR -44[rbp]
	sub	eax, 1
	mov	edi, eax
	call	factorial
	mov	ebx, eax
	mov	eax, DWORD PTR -20[rbp]
	sub	eax, DWORD PTR -44[rbp]
	mov	edi, eax
	call	factorial
	imul	eax, ebx
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, eax
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR -64[rbp]
	divsd	xmm0, xmm1
	movsd	QWORD PTR [rax], xmm0
	add	DWORD PTR -20[rbp], 1
.L72:
	mov	edx, DWORD PTR -44[rbp]
	mov	eax, DWORD PTR -48[rbp]
	add	eax, edx
	cmp	DWORD PTR -20[rbp], eax
	jl	.L73
	mov	eax, 0
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE20:
	.size	negative_binomial_tv, .-negative_binomial_tv
	.globl	hypergeometric_tv
	.type	hypergeometric_tv, @function
hypergeometric_tv:
.LFB21:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	DWORD PTR -20[rbp], edi
	mov	DWORD PTR -24[rbp], esi
	mov	DWORD PTR -28[rbp], edx
	mov	QWORD PTR -40[rbp], rcx
	mov	DWORD PTR -4[rbp], 0
	jmp	.L76
.L77:
	mov	edx, DWORD PTR -4[rbp]
	mov	eax, DWORD PTR -28[rbp]
	mov	esi, edx
	mov	edi, eax
	call	combination2
	pxor	xmm2, xmm2
	cvtsi2sd	xmm2, eax
	movsd	QWORD PTR -48[rbp], xmm2
	mov	eax, DWORD PTR -24[rbp]
	sub	eax, DWORD PTR -4[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -20[rbp]
	sub	eax, DWORD PTR -28[rbp]
	mov	esi, edx
	mov	edi, eax
	call	combination2
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, eax
	mulsd	xmm0, QWORD PTR -48[rbp]
	movsd	QWORD PTR -48[rbp], xmm0
	mov	edx, DWORD PTR -24[rbp]
	mov	eax, DWORD PTR -20[rbp]
	mov	esi, edx
	mov	edi, eax
	call	combination2
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, eax
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR -48[rbp]
	divsd	xmm0, xmm1
	movsd	QWORD PTR [rax], xmm0
	add	DWORD PTR -4[rbp], 1
.L76:
	mov	eax, DWORD PTR -4[rbp]
	cmp	eax, DWORD PTR -28[rbp]
	jle	.L77
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE21:
	.size	hypergeometric_tv, .-hypergeometric_tv
	.section	.rodata
	.align 8
.LC1:
	.long	0
	.long	1083129856
	.align 8
.LC4:
	.long	0
	.long	1074790400
	.align 8
.LC6:
	.long	0
	.long	1072693248
	.align 8
.LC7:
	.long	0
	.long	1073741824
	.align 8
.LC8:
	.long	0
	.long	1074266112
	.align 8
.LC9:
	.long	0
	.long	-1074790400
	.align 8
.LC10:
	.long	0
	.long	1075314688
	.align 8
.LC13:
	.long	-4194304
	.long	1105199103
	.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	"780075.c"
	.text
	.global	__aeabi_i2d
	.global	__aeabi_ddiv
	.section	.rodata
	.align	2
.LC0:
	.ascii	"\012\343\200\214\343\202\252\343\202\27110\345\214\271"
	.ascii	"\343\200\201\343\203\241\343\202\27110\345\214\271\343"
	.ascii	"\200\200\343\201\256\343\201\204\343\201\221\343\201"
	.ascii	"\231\343\201\213\343\202\21110\345\214\271\343\202\222"
	.ascii	"\351\235\236\345\276\251\345\205\203\346\212\275\345"
	.ascii	"\207\272\343\201\227\343\201\246\343\200\201\343\203"
	.ascii	"\241\343\202\271\343\201\256\346\225\260\343\202\222"
	.ascii	"\346\225\260\343\201\210\343\202\213\343\200\215\350"
	.ascii	"\251\246\350\241\214\343\202\2221000\345\233\236\347"
	.ascii	"\271\260\343\202\212\350\277\224\343\201\227\343\201"
	.ascii	"\237\343\201\250\343\201\215\343\200\201\000"
	.global	__aeabi_dmul
	.align	2
.LC1:
	.ascii	"\343\200\214\343\203\241\343\202\271\343\201\214%d\345"
	.ascii	"\214\271\343\201\204\343\202\213\343\200\215\350\251"
	.ascii	"\246\350\241\214\345\233\236\346\225\260\343\201\256"
	.ascii	"\343\200\200\347\220\206\350\253\226\345\200\244\343"
	.ascii	"\201\257%f\343\200\200\345\256\237\346\270\254\345\200"
	.ascii	"\244\343\201\257%d\012\000"
	.align	2
.LC2:
	.ascii	"\012\343\201\250\343\201\252\343\202\212\343\201\276"
	.ascii	"\343\201\227\343\201\237\343\200\202\000"
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 4288
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #4288
	sub	sp, sp, #8
	ldr	r3, .L12
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	sub	r3, fp, #4000
	sub	r3, r3, #12
	sub	r3, r3, #8
	ldr	r2, .L12+4
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #4096
	sub	r3, r3, #12
	sub	r3, r3, #160
	mov	r2, #248
	mov	r1, #0
	mov	r0, r3
	bl	memset
	mov	r0, #0
	bl	time
	mov	r3, r0
	mov	r0, r3
	bl	srand
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-188]
	b	.L2
.L7:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-176]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #10
	str	r3, [r2, #-172]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #10
	str	r3, [r2, #-168]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-184]
	b	.L3
.L6:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r0, [r3, #-168]
	bl	__aeabi_i2d
	mov	r4, r0
	mov	r5, r1
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r2, [r2, #-172]
	ldr	r3, [r3, #-168]
	add	r3, r2, r3
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #4096
	sub	r1, r1, #12
	mov	r4, r1
	mov	r0, r2
	mov	r1, r3
	bl	bernoulli_rv
	str	r0, [r4, #-164]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-164]
	cmp	r3, #1
	bne	.L4
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-168]
	sub	r3, r3, #1
	str	r3, [r2, #-168]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-176]
	add	r3, r3, #1
	str	r3, [r2, #-176]
	b	.L5
.L4:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-172]
	sub	r3, r3, #1
	str	r3, [r2, #-172]
.L5:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-184]
	add	r3, r3, #1
	str	r3, [r2, #-184]
.L3:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-184]
	cmp	r3, #9
	ble	.L6
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-176]
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r3, [r3, #-4008]
	add	r2, r3, #1
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-176]
	lsl	r3, r3, #2
	sub	r1, fp, #12
	add	r3, r1, r3
	str	r2, [r3, #-4008]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-188]
	add	r3, r3, #1
	str	r3, [r2, #-188]
.L2:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-188]
	cmp	r3, #1000
	blt	.L7
	sub	r3, fp, #4224
	sub	r3, r3, #12
	sub	r3, r3, #32
	mov	r2, #10
	mov	r1, #10
	mov	r0, #20
	bl	hypergeometric_tv
	ldr	r0, .L12+8
	bl	puts
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-180]
	b	.L8
.L9:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-180]
	lsl	r3, r3, #3
	add	r3, r2, r3
	sub	r3, r3, #160
	ldmia	r3, {r0-r1}
	mov	r2, #0
	ldr	r3, .L12+12
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-180]
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r3, [r3, #-4008]
	sub	r2, fp, #4096
	sub	r2, r2, #12
	mov	ip, r2
	str	r3, [sp]
	mov	r2, r0
	mov	r3, r1
	ldr	r1, [ip, #-180]
	ldr	r0, .L12+16
	bl	printf
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-180]
	add	r3, r3, #1
	str	r3, [r2, #-180]
.L8:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-180]
	cmp	r3, #10
	ble	.L9
	ldr	r0, .L12+20
	bl	puts
	mov	r3, #0
	ldr	r2, .L12
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L11
	bl	__stack_chk_fail
.L11:
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L13:
	.align	2
.L12:
	.word	.LC3
	.word	4004
	.word	.LC0
	.word	1083129856
	.word	.LC1
	.word	.LC2
	.size	main, .-main
	.global	__aeabi_d2iz
	.section	.rodata
	.align	2
.LC4:
	.ascii	"nCk (n=%d, k=%d): %d\012\000"
	.align	2
.LC5:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	test
	.syntax unified
	.arm
	.fpu softvfp
	.type	test, %function
test:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, fp, lr}
	add	fp, sp, #16
	sub	sp, sp, #28
	ldr	r3, .L21
	ldr	r3, [r3]
	str	r3, [fp, #-24]
	mov	r3,#0
	sub	r3, fp, #40
	mov	r2, #2
	mov	r1, #10
	mov	r0, r3
	bl	mat_alloc
	mov	r3, r0
	cmp	r3, #0
	bge	.L15
	mvn	r3, #0
	b	.L19
.L15:
	ldr	r3, [fp, #-32]
	ldr	r1, [r3]
	mov	r2, #0
	ldr	r3, .L21+4
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-32]
	ldr	r3, [r3]
	add	r1, r3, #8
	mov	r2, #0
	mov	r3, #0
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-32]
	add	r3, r3, #4
	ldr	r1, [r3]
	mov	r2, #0
	ldr	r3, .L21+4
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-32]
	add	r3, r3, #4
	ldr	r3, [r3]
	add	r1, r3, #8
	mov	r2, #0
	ldr	r3, .L21+8
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-32]
	add	r3, r3, #8
	ldr	r1, [r3]
	mov	r2, #0
	ldr	r3, .L21+4
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-32]
	add	r3, r3, #8
	ldr	r3, [r3]
	add	r1, r3, #8
	mov	r2, #0
	mov	r3, #1073741824
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-32]
	add	r3, r3, #12
	ldr	r1, [r3]
	mov	r2, #0
	ldr	r3, .L21+4
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-32]
	add	r3, r3, #12
	ldr	r3, [r3]
	add	r1, r3, #8
	mov	r2, #0
	ldr	r3, .L21+12
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-32]
	add	r3, r3, #16
	ldr	r1, [r3]
	mov	r2, #0
	ldr	r3, .L21+4
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-32]
	add	r3, r3, #16
	ldr	r3, [r3]
	add	r1, r3, #8
	mov	r2, #0
	ldr	r3, .L21+4
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-32]
	add	r3, r3, #20
	ldr	r1, [r3]
	mov	r2, #0
	mov	r3, #0
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-32]
	add	r3, r3, #20
	ldr	r3, [r3]
	add	r1, r3, #8
	mov	r2, #0
	mov	r3, #0
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-32]
	add	r3, r3, #24
	ldr	r1, [r3]
	mov	r2, #0
	mov	r3, #0
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-32]
	add	r3, r3, #24
	ldr	r3, [r3]
	add	r1, r3, #8
	mov	r2, #0
	ldr	r3, .L21+12
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-32]
	add	r3, r3, #28
	ldr	r1, [r3]
	mov	r2, #0
	mov	r3, #1073741824
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-32]
	add	r3, r3, #28
	ldr	r3, [r3]
	add	r1, r3, #8
	mov	r2, #0
	ldr	r3, .L21+12
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-32]
	add	r3, r3, #32
	ldr	r1, [r3]
	mov	r2, #0
	ldr	r3, .L21+16
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-32]
	add	r3, r3, #32
	ldr	r3, [r3]
	add	r1, r3, #8
	mov	r2, #0
	ldr	r3, .L21+20
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-32]
	add	r3, r3, #36
	ldr	r1, [r3]
	mov	r2, #0
	ldr	r3, .L21+20
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-32]
	add	r3, r3, #36
	ldr	r3, [r3]
	add	r1, r3, #8
	mov	r2, #0
	ldr	r3, .L21+16
	stm	r1, {r2-r3}
	mov	r3, #0
	str	r3, [fp, #-44]
	b	.L17
.L18:
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-44]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	ldmia	r3, {r2-r3}
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2iz
	mov	r4, r0
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-44]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	add	r3, r3, #8
	ldmia	r3, {r2-r3}
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2iz
	mov	r5, r0
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-44]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	ldmia	r3, {r2-r3}
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2iz
	mov	r6, r0
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-44]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	add	r3, r3, #8
	ldmia	r3, {r2-r3}
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2iz
	mov	r3, r0
	mov	r1, r3
	mov	r0, r6
	bl	combination2
	mov	r3, r0
	mov	r2, r5
	mov	r1, r4
	ldr	r0, .L21+24
	bl	printf
	ldr	r3, [fp, #-44]
	add	r3, r3, #1
	str	r3, [fp, #-44]
.L17:
	ldr	r3, [fp, #-40]
	ldr	r2, [fp, #-44]
	cmp	r2, r3
	blt	.L18
	sub	r3, fp, #40
	mov	r0, r3
	bl	mat_free
	mov	r3, #0
.L19:
	ldr	r2, .L21
	ldr	r1, [r2]
	ldr	r2, [fp, #-24]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L20
	bl	__stack_chk_fail
.L20:
	mov	r0, r3
	sub	sp, fp, #16
	@ sp needed
	pop	{r4, r5, r6, fp, pc}
.L22:
	.align	2
.L21:
	.word	.LC5
	.word	1074790400
	.word	1072693248
	.word	1074266112
	.word	-1074790400
	.word	1075314688
	.word	.LC4
	.size	test, .-test
	.section	.rodata
	.align	2
.LC6:
	.ascii	"\351\205\215\345\210\227\347\224\250\343\201\256\351"
	.ascii	"\240\230\345\237\237\343\201\214\347\242\272\344\277"
	.ascii	"\235\343\201\247\343\201\215\343\201\276\343\201\233"
	.ascii	"\343\202\223\343\201\247\343\201\227\343\201\237\000"
	.text
	.align	2
	.global	mat_alloc
	.syntax unified
	.arm
	.fpu softvfp
	.type	mat_alloc, %function
mat_alloc:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-20]
	str	r2, [r3]
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-24]
	str	r2, [r3, #4]
	ldr	r3, [fp, #-20]
	mov	r1, #4
	mov	r0, r3
	bl	calloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-16]
	str	r2, [r3, #8]
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-20]
	mul	r3, r2, r3
	mov	r1, #8
	mov	r0, r3
	bl	calloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-16]
	str	r2, [r3, #12]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #8]
	cmp	r3, #0
	beq	.L24
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #12]
	cmp	r3, #0
	bne	.L25
.L24:
	ldr	r0, .L29
	bl	puts
	mvn	r3, #0
	b	.L26
.L25:
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L27
.L28:
	ldr	r3, [fp, #-16]
	ldr	r1, [r3, #12]
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-24]
	mul	r3, r2, r3
	lsl	r2, r3, #3
	ldr	r3, [fp, #-16]
	ldr	r0, [r3, #8]
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	add	r3, r0, r3
	add	r2, r1, r2
	str	r2, [r3]
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L27:
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	blt	.L28
	mov	r3, #0
.L26:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L30:
	.align	2
.L29:
	.word	.LC6
	.size	mat_alloc, .-mat_alloc
	.align	2
	.global	mat_free
	.syntax unified
	.arm
	.fpu softvfp
	.type	mat_free, %function
mat_free:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #12]
	mov	r0, r3
	bl	free
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #8]
	mov	r0, r3
	bl	free
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	mat_free, .-mat_free
	.align	2
	.global	s_uniform_rv
	.syntax unified
	.arm
	.fpu softvfp
	.type	s_uniform_rv, %function
s_uniform_rv:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	bl	rand
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_i2d
	ldr	r2, .L34
	ldr	r3, .L34+4
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	pop	{fp, pc}
.L35:
	.align	2
.L34:
	.word	-4194304
	.word	1105199103
	.size	s_uniform_rv, .-s_uniform_rv
	.global	__aeabi_dcmpgt
	.align	2
	.global	bernoulli_rv
	.syntax unified
	.arm
	.fpu softvfp
	.type	bernoulli_rv, %function
bernoulli_rv:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #12
	str	r0, [fp, #-20]
	str	r1, [fp, #-16]
	bl	s_uniform_rv
	mov	r2, r0
	mov	r3, r1
	mov	r1, #1
	mov	r4, r1
	sub	r1, fp, #20
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	bne	.L37
	mov	r3, #0
	mov	r4, r3
.L37:
	and	r3, r4, #255
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
	.size	bernoulli_rv, .-bernoulli_rv
	.align	2
	.global	binomial_rv
	.syntax unified
	.arm
	.fpu softvfp
	.type	binomial_rv, %function
binomial_rv:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-20]
	str	r1, [fp, #-16]
	str	r2, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-8]
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L40
.L41:
	sub	r1, fp, #20
	ldmia	r1, {r0-r1}
	bl	bernoulli_rv
	mov	r2, r0
	ldr	r3, [fp, #-8]
	add	r3, r3, r2
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L40:
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-24]
	cmp	r2, r3
	blt	.L41
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	binomial_rv, .-binomial_rv
	.align	2
	.global	factorial
	.syntax unified
	.arm
	.fpu softvfp
	.type	factorial, %function
factorial:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bge	.L44
	mvn	r3, #0
	b	.L45
.L44:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L46
	mov	r3, #1
	b	.L45
.L46:
	ldr	r3, [fp, #-8]
	sub	r3, r3, #1
	mov	r0, r3
	bl	factorial
	mov	r2, r0
	ldr	r3, [fp, #-8]
	mul	r3, r2, r3
.L45:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	factorial, .-factorial
	.align	2
	.global	partial
	.syntax unified
	.arm
	.fpu softvfp
	.type	partial, %function
partial:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	blt	.L48
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	blt	.L48
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-12]
	cmp	r2, r3
	bge	.L49
.L48:
	mvn	r3, #0
	b	.L50
.L49:
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L51
	mov	r3, #1
	b	.L50
.L51:
	ldr	r3, [fp, #-8]
	sub	r2, r3, #1
	ldr	r3, [fp, #-12]
	sub	r3, r3, #1
	mov	r1, r3
	mov	r0, r2
	bl	partial
	mov	r2, r0
	ldr	r3, [fp, #-8]
	mul	r3, r2, r3
.L50:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	partial, .-partial
	.global	__aeabi_idiv
	.align	2
	.global	combination
	.syntax unified
	.arm
	.fpu softvfp
	.type	combination, %function
combination:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #12
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	blt	.L53
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	blt	.L53
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	bge	.L54
.L53:
	mvn	r3, #0
	b	.L55
.L54:
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bne	.L56
	mov	r3, #1
	b	.L55
.L56:
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-16]
	bl	partial
	mov	r4, r0
	ldr	r0, [fp, #-20]
	bl	factorial
	mov	r3, r0
	mov	r1, r3
	mov	r0, r4
	bl	__aeabi_idiv
	mov	r3, r0
.L55:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
	.size	combination, .-combination
	.align	2
	.global	combination2
	.syntax unified
	.arm
	.fpu softvfp
	.type	combination2, %function
combination2:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #12
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	blt	.L58
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	blt	.L58
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	bge	.L59
.L58:
	mvn	r3, #0
	b	.L60
.L59:
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	beq	.L61
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-16]
	cmp	r2, r3
	bne	.L62
.L61:
	mov	r3, #1
	b	.L60
.L62:
	ldr	r3, [fp, #-16]
	sub	r3, r3, #1
	ldr	r1, [fp, #-20]
	mov	r0, r3
	bl	combination2
	mov	r4, r0
	ldr	r3, [fp, #-16]
	sub	r2, r3, #1
	ldr	r3, [fp, #-20]
	sub	r3, r3, #1
	mov	r1, r3
	mov	r0, r2
	bl	combination2
	mov	r3, r0
	add	r3, r4, r3
.L60:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
	.size	combination2, .-combination2
	.global	__aeabi_dsub
	.align	2
	.global	binomial_tv
	.syntax unified
	.arm
	.fpu softvfp
	.type	binomial_tv, %function
binomial_tv:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, fp, lr}
	add	fp, sp, #20
	sub	sp, sp, #24
	str	r0, [fp, #-36]
	str	r1, [fp, #-32]
	str	r2, [fp, #-40]
	str	r3, [fp, #-44]
	mov	r3, #0
	str	r3, [fp, #-24]
	b	.L64
.L65:
	ldr	r1, [fp, #-24]
	ldr	r0, [fp, #-40]
	bl	combination2
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r4, r0
	mov	r5, r1
	ldr	r0, [fp, #-24]
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #36
	ldmia	r1, {r0-r1}
	bl	pow
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r6, r2
	mov	r7, r3
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	mov	r0, #0
	ldr	r1, .L67
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldr	r2, [fp, #-40]
	ldr	r3, [fp, #-24]
	sub	r3, r2, r3
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	pow
	mov	r2, r0
	mov	r3, r1
	ldr	r1, [fp, #-24]
	lsl	r1, r1, #3
	ldr	r0, [fp, #-44]
	add	r4, r0, r1
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	stm	r4, {r2-r3}
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L64:
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-40]
	cmp	r2, r3
	ble	.L65
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, fp, pc}
.L68:
	.align	2
.L67:
	.word	1072693248
	.size	binomial_tv, .-binomial_tv
	.global	__aeabi_dcmplt
	.align	2
	.global	poison_tv
	.syntax unified
	.arm
	.fpu softvfp
	.type	poison_tv, %function
poison_tv:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, fp, lr}
	add	fp, sp, #20
	sub	sp, sp, #24
	str	r0, [fp, #-36]
	str	r1, [fp, #-32]
	str	r2, [fp, #-40]
	str	r3, [fp, #-44]
	mov	r3, #0
	str	r3, [fp, #-24]
	b	.L70
.L75:
	ldr	r0, [fp, #-24]
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #36
	ldmia	r1, {r0-r1}
	bl	pow
	mov	r4, r0
	mov	r5, r1
	ldr	r0, [fp, #-24]
	bl	factorial
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r6, r0
	mov	r7, r1
	sub	r1, fp, #36
	ldmia	r1, {r0-r1}
	bl	exp
	mov	r2, r0
	mov	r3, r1
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-40]
	add	r6, r2, r3
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	stm	r6, {r2-r3}
	ldr	r0, [fp, #-24]
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #36
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L71
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-40]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	mov	r2, #0
	mov	r3, #0
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	bne	.L73
	ldr	r3, [fp, #-24]
	sub	r3, r3, #-536870911
	lsl	r3, r3, #3
	ldr	r2, [fp, #-40]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-40]
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L71
.L73:
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-40]
	add	r1, r2, r3
	mov	r2, #0
	mov	r3, #0
	stm	r1, {r2-r3}
.L71:
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L70:
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-44]
	cmp	r2, r3
	blt	.L75
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, fp, pc}
	.size	poison_tv, .-poison_tv
	.align	2
	.global	geometric_tv
	.syntax unified
	.arm
	.fpu softvfp
	.type	geometric_tv, %function
geometric_tv:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #24
	str	r0, [fp, #-28]
	str	r1, [fp, #-24]
	str	r2, [fp, #-32]
	str	r3, [fp, #-36]
	ldr	r1, [fp, #-32]
	mov	r2, #0
	mov	r3, #0
	stm	r1, {r2-r3}
	mov	r3, #1
	str	r3, [fp, #-16]
	b	.L79
.L80:
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	mov	r0, #0
	ldr	r1, .L82
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldr	r3, [fp, #-16]
	sub	r3, r3, #1
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	pow
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-32]
	add	r4, r2, r3
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	stm	r4, {r2-r3}
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L79:
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-36]
	cmp	r2, r3
	blt	.L80
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L83:
	.align	2
.L82:
	.word	1072693248
	.size	geometric_tv, .-geometric_tv
	.align	2
	.global	negative_binomial_tv
	.syntax unified
	.arm
	.fpu softvfp
	.type	negative_binomial_tv, %function
negative_binomial_tv:
	@ args = 4, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, fp, lr}
	add	fp, sp, #20
	sub	sp, sp, #24
	str	r0, [fp, #-36]
	str	r1, [fp, #-32]
	str	r2, [fp, #-40]
	str	r3, [fp, #-44]
	ldr	r3, [fp, #-40]
	str	r3, [fp, #-24]
	b	.L85
.L86:
	ldr	r3, [fp, #-24]
	sub	r3, r3, #1
	mov	r0, r3
	bl	factorial
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r4, r0
	mov	r5, r1
	ldr	r0, [fp, #-40]
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #36
	ldmia	r1, {r0-r1}
	bl	pow
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	mov	r0, #0
	ldr	r1, .L88
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r6, r2
	mov	r7, r3
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-40]
	sub	r3, r2, r3
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r6
	mov	r1, r7
	bl	pow
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r6, r2
	mov	r7, r3
	ldr	r3, [fp, #-40]
	sub	r3, r3, #1
	mov	r0, r3
	bl	factorial
	mov	r4, r0
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-40]
	sub	r3, r2, r3
	mov	r0, r3
	bl	factorial
	mov	r3, r0
	mul	r3, r4, r3
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	ldr	r1, [fp, #-24]
	lsl	r1, r1, #3
	ldr	r0, [fp, #-44]
	add	r4, r0, r1
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	stm	r4, {r2-r3}
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L85:
	ldr	r2, [fp, #-40]
	ldr	r3, [fp, #4]
	add	r3, r2, r3
	ldr	r2, [fp, #-24]
	cmp	r2, r3
	blt	.L86
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, fp, pc}
.L89:
	.align	2
.L88:
	.word	1072693248
	.size	negative_binomial_tv, .-negative_binomial_tv
	.align	2
	.global	hypergeometric_tv
	.syntax unified
	.arm
	.fpu softvfp
	.type	hypergeometric_tv, %function
hypergeometric_tv:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, fp, lr}
	add	fp, sp, #20
	sub	sp, sp, #24
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	str	r2, [fp, #-40]
	str	r3, [fp, #-44]
	mov	r3, #0
	str	r3, [fp, #-24]
	b	.L91
.L92:
	ldr	r1, [fp, #-24]
	ldr	r0, [fp, #-40]
	bl	combination2
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r4, r0
	mov	r5, r1
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-40]
	sub	r0, r2, r3
	ldr	r2, [fp, #-36]
	ldr	r3, [fp, #-24]
	sub	r3, r2, r3
	mov	r1, r3
	bl	combination2
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r6, r2
	mov	r7, r3
	ldr	r1, [fp, #-36]
	ldr	r0, [fp, #-32]
	bl	combination2
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	ldr	r1, [fp, #-24]
	lsl	r1, r1, #3
	ldr	r0, [fp, #-44]
	add	r4, r0, r1
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	stm	r4, {r2-r3}
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L91:
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-40]
	cmp	r2, r3
	ble	.L92
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, fp, pc}
	.size	hypergeometric_tv, .-hypergeometric_tv
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
