// File: /workspace/github_c_makefile_star2_O0/dapogon[P]cellcoal/src/cellcoal.c
// Function: PrintCATG
void PrintCATG (FILE *fp)
	{
	int	i, j, snv;

	fprintf (fp,"%d %d\n",numCells+1, numSNVs);
	for (i=0; i<numCells; i++)
		fprintf (fp,"%s%04d ", inCellName,i+1);

	fprintf (fp,"%s ", outCellName);

		
	for (snv=0; snv<numSNVs; snv++)
		{
		j = SNVsites[snv];
		fprintf (fp,"\n");
		for (i=0; i<numCells+1; i++)
			fprintf (fp,"%c",WhichIUPAC(cell[i].site[j].MLmatAllele, cell[i].site[j].MLpatAllele));
		
		if (cell[i].hasDoublet == NO)
			{
			for (i=0; i<numCells+1; i++)
				fprintf (fp,"\t%d,%d,%d,%d", cell[i].site[j].readCount[C], cell[i].site[j].readCount[A], cell[i].site[j].readCount[T], cell[i].site[j].readCount[G]);
			}
		else
			{
			for (i=0; i<numCells+1; i++)
				fprintf (fp,"\t%d,%d,%d,%d", cell[i].site[j].readCountDoublet[C], cell[i].site[j].readCountDoublet[A], cell[i].site[j].readCountDoublet[T], cell[i].site[j].readCountDoublet[G]);
			}
		}

	fprintf (fp,"\n");
	}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rdi
movl 0x3737e(%rip), %edx     # 0x4e1d4
addl $0x1, %edx
movl 0x389b1(%rip), %ecx     # 0x4f810
leaq 0x2b352(%rip), %rsi     # 0x421b8
movb $0x0, %al
callq 0x21b0
movl $0x0, -0xc(%rbp)
movl -0xc(%rbp), %eax
cmpl 0x37357(%rip), %eax     # 0x4e1d4
jge 0x16ea9
movq -0x8(%rbp), %rdi
movl -0xc(%rbp), %ecx
addl $0x1, %ecx
leaq 0x2b32f(%rip), %rsi     # 0x421bf
leaq 0x37899(%rip), %rdx     # 0x4e730
movb $0x0, %al
callq 0x21b0
movl -0xc(%rbp), %eax
addl $0x1, %eax
movl %eax, -0xc(%rbp)
jmp 0x16e74
movq -0x8(%rbp), %rdi
leaq 0x2bf06(%rip), %rsi     # 0x42dba
leaq 0x378f5(%rip), %rdx     # 0x4e7b0
movb $0x0, %al
callq 0x21b0
movl $0x0, -0x14(%rbp)
movl -0x14(%rbp), %eax
cmpl 0x3893e(%rip), %eax     # 0x4f810
jge 0x1716b
movq 0x388d1(%rip), %rax     # 0x4f7b0
movslq -0x14(%rbp), %rcx
movl (%rax,%rcx,4), %eax
movl %eax, -0x10(%rbp)
movq -0x8(%rbp), %rdi
leaq 0x30141(%rip), %rsi     # 0x47035
movb $0x0, %al
callq 0x21b0
movl $0x0, -0xc(%rbp)
movl -0xc(%rbp), %eax
movl 0x372c9(%rip), %ecx     # 0x4e1d4
addl $0x1, %ecx
cmpl %ecx, %eax
jge 0x16f88
movq -0x8(%rbp), %rax
movq %rax, -0x20(%rbp)
movq 0x388f7(%rip), %rax     # 0x4f818
movslq -0xc(%rbp), %rcx
shlq $0x4, %rcx
addq %rcx, %rax
movq (%rax), %rax
movslq -0x10(%rbp), %rcx
shlq $0x7, %rcx
addq %rcx, %rax
movl 0x48(%rax), %edi
movq 0x388d4(%rip), %rax     # 0x4f818
movslq -0xc(%rbp), %rcx
shlq $0x4, %rcx
addq %rcx, %rax
movq (%rax), %rax
movslq -0x10(%rbp), %rcx
shlq $0x7, %rcx
addq %rcx, %rax
movl 0x4c(%rax), %esi
callq 0x21630
movq -0x20(%rbp), %rdi
movsbl %al, %edx
leaq 0x2b266(%rip), %rsi     # 0x421d9
movb $0x0, %al
callq 0x21b0
movl -0xc(%rbp), %eax
addl $0x1, %eax
movl %eax, -0xc(%rbp)
jmp 0x16f02
movq 0x38889(%rip), %rax     # 0x4f818
movslq -0xc(%rbp), %rcx
shlq $0x4, %rcx
addq %rcx, %rax
cmpl $0x0, 0x8(%rax)
jne 0x17081
movl $0x0, -0xc(%rbp)
movl -0xc(%rbp), %eax
movl 0x37220(%rip), %ecx     # 0x4e1d4
addl $0x1, %ecx
cmpl %ecx, %eax
jge 0x1707c
movq -0x8(%rbp), %rdi
movq 0x3884e(%rip), %rax     # 0x4f818
movslq -0xc(%rbp), %rcx
shlq $0x4, %rcx
addq %rcx, %rax
movq (%rax), %rax
movslq -0x10(%rbp), %rcx
shlq $0x7, %rcx
addq %rcx, %rax
movq 0x8(%rax), %rax
movl 0x4(%rax), %edx
movq 0x38827(%rip), %rax     # 0x4f818
movslq -0xc(%rbp), %rcx
shlq $0x4, %rcx
addq %rcx, %rax
movq (%rax), %rax
movslq -0x10(%rbp), %rcx
shlq $0x7, %rcx
addq %rcx, %rax
movq 0x8(%rax), %rax
movl (%rax), %ecx
movq 0x38801(%rip), %rax     # 0x4f818
movslq -0xc(%rbp), %rsi
shlq $0x4, %rsi
addq %rsi, %rax
movq (%rax), %rax
movslq -0x10(%rbp), %rsi
shlq $0x7, %rsi
addq %rsi, %rax
movq 0x8(%rax), %rax
movl 0xc(%rax), %r8d
movq 0x387d9(%rip), %rax     # 0x4f818
movslq -0xc(%rbp), %rsi
shlq $0x4, %rsi
addq %rsi, %rax
movq (%rax), %rax
movslq -0x10(%rbp), %rsi
shlq $0x7, %rsi
addq %rsi, %rax
movq 0x8(%rax), %rax
movl 0x8(%rax), %r9d
leaq 0x2b160(%rip), %rsi     # 0x421c7
movb $0x0, %al
callq 0x21b0
movl -0xc(%rbp), %eax
addl $0x1, %eax
movl %eax, -0xc(%rbp)
jmp 0x16fab
jmp 0x1715b
movl $0x0, -0xc(%rbp)
movl -0xc(%rbp), %eax
movl 0x37143(%rip), %ecx     # 0x4e1d4
addl $0x1, %ecx
cmpl %ecx, %eax
jge 0x17159
movq -0x8(%rbp), %rdi
movq 0x38771(%rip), %rax     # 0x4f818
movslq -0xc(%rbp), %rcx
shlq $0x4, %rcx
addq %rcx, %rax
movq (%rax), %rax
movslq -0x10(%rbp), %rcx
shlq $0x7, %rcx
addq %rcx, %rax
movq 0x58(%rax), %rax
movl 0x4(%rax), %edx
movq 0x3874a(%rip), %rax     # 0x4f818
movslq -0xc(%rbp), %rcx
shlq $0x4, %rcx
addq %rcx, %rax
movq (%rax), %rax
movslq -0x10(%rbp), %rcx
shlq $0x7, %rcx
addq %rcx, %rax
movq 0x58(%rax), %rax
movl (%rax), %ecx
movq 0x38724(%rip), %rax     # 0x4f818
movslq -0xc(%rbp), %rsi
shlq $0x4, %rsi
addq %rsi, %rax
movq (%rax), %rax
movslq -0x10(%rbp), %rsi
shlq $0x7, %rsi
addq %rsi, %rax
movq 0x58(%rax), %rax
movl 0xc(%rax), %r8d
movq 0x386fc(%rip), %rax     # 0x4f818
movslq -0xc(%rbp), %rsi
shlq $0x4, %rsi
addq %rsi, %rax
movq (%rax), %rax
movslq -0x10(%rbp), %rsi
shlq $0x7, %rsi
addq %rsi, %rax
movq 0x58(%rax), %rax
movl 0x8(%rax), %r9d
leaq 0x2b083(%rip), %rsi     # 0x421c7
movb $0x0, %al
callq 0x21b0
movl -0xc(%rbp), %eax
addl $0x1, %eax
movl %eax, -0xc(%rbp)
jmp 0x17088
jmp 0x1715b
jmp 0x1715d
movl -0x14(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x14(%rbp)
jmp 0x16ec9
movq -0x8(%rbp), %rdi
leaq 0x2febf(%rip), %rsi     # 0x47035
movb $0x0, %al
callq 0x21b0
addq $0x20, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)