#define NULL ((void *)0)
typedef unsigned long size_t; // Customize by platform.
typedef long intptr_t;
typedef unsigned long uintptr_t;
typedef long scalar_t__; // Either arithmetic or pointer type.
/* By default, we understand bool (as a convenience). */
typedef int bool;
#define false 0
#define true 1

/* Forward declarations */

/* Type definitions */
typedef int /*<<< orphan*/ FILE;

/* Variables and functions */
int /*<<< orphan*/ fclose(int /*<<< orphan*/ *);
int /*<<< orphan*/ *fopen(char *, char *);
int /*<<< orphan*/ fprintf(int /*<<< orphan*/ *, char *, ...);
int getTotalAlternativeCX();
int getTotalAlternativeCXQuality20();
int getTotalDinucleotides();
int getTotalHomozygous();
int getTotalHomozygousQuality20();
int getTotalIntermediateMethylated();
int getTotalIntermediateMethylatedAlternativeCX();
int getTotalIntermediateMethylatedAlternativeCXQuality20();
int getTotalIntermediateMethylatedHomozygous();
int getTotalIntermediateMethylatedHomozygousQuality20();
int getTotalIntermediateMethylatedQuality20();
int getTotalMethylated();
int getTotalMethylatedAlternativeCX();
int getTotalMethylatedAlternativeCXQuality20();
int getTotalMethylatedHomozygous();
int getTotalMethylatedHomozygousQuality20();
int getTotalMethylatedQuality20();
int getTotalNonReferenceCpgs();
int getTotalNonReferenceCpgsIntermediateMethylated();
int getTotalNonReferenceCpgsIntermediateMethylatedQuality20();
int getTotalNonReferenceCpgsMethylated();
int getTotalNonReferenceCpgsMethylatedQuality20();
int getTotalNonReferenceCpgsQuality20();
int getTotalNonReferenceCpgsUnMethylated();
int getTotalNonReferenceCpgsUnMethylatedQuality20();
int getTotalQuality20();
int getTotalSnpsReferenceCpGs();
int getTotalSnpsReferenceCpGsIntermediateMethylated();
int getTotalSnpsReferenceCpGsIntermediateMethylatedQuality20();
int getTotalSnpsReferenceCpGsMethylated();
int getTotalSnpsReferenceCpGsMethylatedQuality20();
int getTotalSnpsReferenceCpGsQuality20();
int getTotalSnpsReferenceCpGsUnMethylated();
int getTotalSnpsReferenceCpGsUnMethylatedQuality20();
int getTotalUnMethylated();
int getTotalUnMethylatedAlternativeCX();
int getTotalUnMethylatedAlternativeCXQuality20();
int getTotalUnMethylatedHomozygous();
int getTotalUnMethylatedHomozygousQuality20();
int getTotalUnMethylatedQuality20();
void saveCounts(char *fileName) {
  FILE *fp;
  fp = fopen(fileName, "w");
  fprintf(fp, "{\n");
  fprintf(fp, "  \"TotalDinucleotides\":%i,\n", getTotalDinucleotides());
  fprintf(fp, "  \"TotalQuality20\":%i,\n", getTotalQuality20());
  fprintf(fp, "  \"TotalHomozygous\":%i,\n", getTotalHomozygous());
  fprintf(fp, "  \"TotalHomozygousQuality20\":%i,\n",
          getTotalHomozygousQuality20());
  fprintf(fp, "  \"TotalAlternativeCX\":%i,\n", getTotalAlternativeCX());
  fprintf(fp, "  \"TotalAlternativeCXQuality20\":%i,\n",
          getTotalAlternativeCXQuality20());
  fprintf(fp, "  \"TotalMethylated\":%i,\n", getTotalMethylated());
  fprintf(fp, "  \"TotalMethylatedQuality20\":%i,\n",
          getTotalMethylatedQuality20());
  fprintf(fp, "  \"TotalIntermediateMethylated\":%i,\n",
          getTotalIntermediateMethylated());
  fprintf(fp, "  \"TotalIntermediateMethylatedQuality20\":%i,\n",
          getTotalIntermediateMethylatedQuality20());
  fprintf(fp, "  \"TotalUnMethylated\":%i,\n", getTotalUnMethylated());
  fprintf(fp, "  \"TotalUnmethylatedQuality20\":%i,\n",
          getTotalUnMethylatedQuality20());
  fprintf(fp, "  \"TotalHomozygousMethylated\":%i,\n",
          getTotalMethylatedHomozygous());
  fprintf(fp, "  \"TotalHomozygousMethylatedQuality20\":%i,\n",
          getTotalMethylatedHomozygousQuality20());
  fprintf(fp, "  \"TotalAlternativeCXMethylated\":%i,\n",
          getTotalMethylatedAlternativeCX());
  fprintf(fp, "  \"TotalAlternativeCXMethylatedQuality20\":%i,\n",
          getTotalMethylatedAlternativeCXQuality20());
  fprintf(fp, "  \"TotalHomozygousIntermediateMethylated\":%i,\n",
          getTotalIntermediateMethylatedHomozygous());
  fprintf(fp, "  \"TotalHomozygousIntermediateMethylatedQuality20\":%i,\n",
          getTotalIntermediateMethylatedHomozygousQuality20());
  fprintf(fp, "  \"TotalAlternativeCXIntermediateMethylated\":%i,\n",
          getTotalIntermediateMethylatedAlternativeCX());
  fprintf(fp, "  \"TotalAlternativeCXIntermediateMethylatedQuality20\":%i,\n",
          getTotalIntermediateMethylatedAlternativeCXQuality20());
  fprintf(fp, "  \"TotalHomozygousUnMethylated\":%i,\n",
          getTotalUnMethylatedHomozygous());
  fprintf(fp, "  \"TotalHomozygousUnMethylatedQuality20\":%i,\n",
          getTotalUnMethylatedHomozygousQuality20());
  fprintf(fp, "  \"TotalAlternativeCXUnMethylated\":%i,\n",
          getTotalUnMethylatedAlternativeCX());
  fprintf(fp, "  \"TotalAlternativeCXUnMethylatedQuality20\":%i,\n",
          getTotalUnMethylatedAlternativeCXQuality20());
  fprintf(fp, "  \"TotalNonReferenceCpGs\":%i,\n", getTotalNonReferenceCpgs());
  fprintf(fp, "  \"TotalNonReferenceCpGsQuality20\":%i,\n",
          getTotalNonReferenceCpgsQuality20());
  fprintf(fp, "  \"TotalNonReferenceCpGsMethylated\":%i,\n",
          getTotalNonReferenceCpgsMethylated());
  fprintf(fp, "  \"TotalNonReferenceCpGsMethylatedQuality20\":%i,\n",
          getTotalNonReferenceCpgsMethylatedQuality20());
  fprintf(fp, "  \"TotalNonReferenceCpGsIntermediateMethylated\":%i,\n",
          getTotalNonReferenceCpgsIntermediateMethylated());
  fprintf(fp,
          "  \"TotalNonReferenceCpGsIntermediateMethylatedQuality20\":%i,\n",
          getTotalNonReferenceCpgsIntermediateMethylatedQuality20());
  fprintf(fp, "  \"TotalNonReferenceCpGsUnMethylated\":%i,\n",
          getTotalNonReferenceCpgsUnMethylated());
  fprintf(fp, "  \"TotalNonReferenceCpGsUnMethylatedQuality20\":%i,\n",
          getTotalNonReferenceCpgsUnMethylatedQuality20());
  fprintf(fp, "  \"TotalSnpsReferenceCpGsCalled\":%i,\n",
          getTotalSnpsReferenceCpGs());
  fprintf(fp, "  \"TotalSnpsReferenceCpGsCalledQuality20\":%i,\n",
          getTotalSnpsReferenceCpGsQuality20());
  fprintf(fp, "  \"TotalSnpsReferenceCpGsCalledMethylated\":%i,\n",
          getTotalSnpsReferenceCpGsMethylated());
  fprintf(fp, "  \"TotalSnpsReferenceCpGsCalledMethylatedQuality20\":%i,\n",
          getTotalSnpsReferenceCpGsMethylatedQuality20());
  fprintf(fp, "  \"TotalSnpsReferenceCpGsCalledIntermediateMethylated\":%i,\n",
          getTotalSnpsReferenceCpGsIntermediateMethylated());
  fprintf(
      fp,
      "  \"TotalSnpsReferenceCpGsCalledIntermediateMethylatedQuality20\":%i,\n",
      getTotalSnpsReferenceCpGsIntermediateMethylatedQuality20());
  fprintf(fp, "  \"TotalSnpsReferenceCpGsCalledUnMethylated\":%i,\n",
          getTotalSnpsReferenceCpGsUnMethylated());
  fprintf(fp, "  \"TotalSnpsReferenceCpGsCalledUnMethylatedQuality20\":%i\n",
          getTotalSnpsReferenceCpGsUnMethylatedQuality20());
  fprintf(fp, "}\n");
  fclose(fp);
}


x86 assembly (clang, -O0):
<saveCounts>:
push   %rbp
mov    %rsp,%rbp
sub    $0x150,%rsp
mov    %rdi,-0x8(%rbp)
mov    -0x8(%rbp),%rdi
lea    0xc36(%rip),%rsi
call   2200 <fopen@plt>
mov    %rax,-0x10(%rbp)
mov    -0x10(%rbp),%rdi
lea    0xc24(%rip),%rsi
mov    $0x0,%al
call   20f0 <fprintf@plt>
mov    -0x10(%rbp),%rax
mov    %rax,-0x150(%rbp)
mov    $0x0,%al
call   21a0 <getTotalDinucleotides@plt>
mov    -0x150(%rbp),%rdi
mov    %eax,%edx
lea    0xbfe(%rip),%rsi
mov    $0x0,%al
call   20f0 <fprintf@plt>
mov    -0x10(%rbp),%rax
mov    %rax,-0x148(%rbp)
mov    $0x0,%al
call   2280 <getTotalQuality20@plt>
mov    -0x148(%rbp),%rdi
mov    %eax,%edx
lea    0xbf1(%rip),%rsi
mov    $0x0,%al
call   20f0 <fprintf@plt>
mov    -0x10(%rbp),%rax
mov    %rax,-0x140(%rbp)
mov    $0x0,%al
call   2130 <getTotalHomozygous@plt>
mov    -0x140(%rbp),%rdi
mov    %eax,%edx
lea    0xbe0(%rip),%rsi
mov    $0x0,%al
call   20f0 <fprintf@plt>
mov    -0x10(%rbp),%rax
mov    %rax,-0x138(%rbp)
mov    $0x0,%al
call   2150 <getTotalHomozygousQuality20@plt>
mov    -0x138(%rbp),%rdi
mov    %eax,%edx
lea    0xbd0(%rip),%rsi
mov    $0x0,%al
call   20f0 <fprintf@plt>
mov    -0x10(%rbp),%rax
mov    %rax,-0x130(%rbp)
mov    $0x0,%al
call   22d0 <getTotalAlternativeCX@plt>
mov    -0x130(%rbp),%rdi
mov    %eax,%edx
lea    0xbc9(%rip),%rsi
mov    $0x0,%al
call   20f0 <fprintf@plt>
mov    -0x10(%rbp),%rax
mov    %rax,-0x128(%rbp)
mov    $0x0,%al
call   2170 <getTotalAlternativeCXQuality20@plt>
mov    -0x128(%rbp),%rdi
mov    %eax,%edx
lea    0xbbc(%rip),%rsi
mov    $0x0,%al
call   20f0 <fprintf@plt>
mov    -0x10(%rbp),%rax
mov    %rax,-0x120(%rbp)
mov    $0x0,%al
call   22c0 <getTotalMethylated@plt>
mov    -0x120(%rbp),%rdi
mov    %eax,%edx
lea    0xbb8(%rip),%rsi
mov    $0x0,%al
call   20f0 <fprintf@plt>
mov    -0x10(%rbp),%rax
mov    %rax,-0x118(%rbp)
mov    $0x0,%al
call   21c0 <getTotalMethylatedQuality20@plt>
mov    -0x118(%rbp),%rdi
mov    %eax,%edx
lea    0xba8(%rip),%rsi
mov    $0x0,%al
call   20f0 <fprintf@plt>
mov    -0x10(%rbp),%rax
mov    %rax,-0x110(%rbp)
mov    $0x0,%al
call   20c0 <getTotalIntermediateMethylated@plt>
mov    -0x110(%rbp),%rdi
mov    %eax,%edx
lea    0xba1(%rip),%rsi
mov    $0x0,%al
call   20f0 <fprintf@plt>
mov    -0x10(%rbp),%rax
mov    %rax,-0x108(%rbp)
mov    $0x0,%al
call   20e0 <getTotalIntermediateMethylatedQuality20@plt>
mov    -0x108(%rbp),%rdi
mov    %eax,%edx
lea    0xb9d(%rip),%rsi
mov    $0x0,%al
call   20f0 <fprintf@plt>
mov    -0x10(%rbp),%rax
mov    %rax,-0x100(%rbp)
mov    $0x0,%al
call   2290 <getTotalUnMethylated@plt>
mov    -0x100(%rbp),%rdi
mov    %eax,%edx
lea    0xba2(%rip),%rsi
mov    $0x0,%al
call   20f0 <fprintf@plt>
mov    -0x10(%rbp),%rax
mov    %rax,-0xf8(%rbp)
mov    $0x0,%al
call   21e0 <getTotalUnMethylatedQuality20@plt>
mov    -0xf8(%rbp),%rdi
mov    %eax,%edx
lea    0xb94(%rip),%rsi
mov    $0x0,%al
call   20f0 <fprintf@plt>
mov    -0x10(%rbp),%rax
mov    %rax,-0xf0(%rbp)
mov    $0x0,%al
call   2040 <getTotalMethylatedHomozygous@plt>
mov    -0xf0(%rbp),%rdi
mov    %eax,%edx
lea    0xb8f(%rip),%rsi
mov    $0x0,%al
call   20f0 <fprintf@plt>
mov    -0x10(%rbp),%rax
mov    %rax,-0xe8(%rbp)
mov    $0x0,%al
call   2250 <getTotalMethylatedHomozygousQuality20@plt>
mov    -0xe8(%rbp),%rdi
mov    %eax,%edx
lea    0xb89(%rip),%rsi
mov    $0x0,%al
call   20f0 <fprintf@plt>
mov    -0x10(%rbp),%rax
mov    %rax,-0xe0(%rbp)
mov    $0x0,%al
call   2030 <getTotalMethylatedAlternativeCX@plt>
mov    -0xe0(%rbp),%rdi
mov    %eax,%edx
lea    0xb8c(%rip),%rsi
mov    $0x0,%al
call   20f0 <fprintf@plt>
mov    -0x10(%rbp),%rax
mov    %rax,-0xd8(%rbp)
mov    $0x0,%al
call   21d0 <getTotalMethylatedAlternativeCXQuality20@plt>
mov    -0xd8(%rbp),%rdi
mov    %eax,%edx
lea    0xb89(%rip),%rsi
mov    $0x0,%al
call   20f0 <fprintf@plt>
mov    -0x10(%rbp),%rax
mov    %rax,-0xd0(%rbp)
mov    $0x0,%al
call   2240 <getTotalIntermediateMethylatedHomozygous@plt>
mov    -0xd0(%rbp),%rdi
mov    %eax,%edx
lea    0xb8f(%rip),%rsi
mov    $0x0,%al
call   20f0 <fprintf@plt>
mov    -0x10(%rbp),%rax
mov    %rax,-0xc8(%rbp)
mov    $0x0,%al
call   2260 <getTotalIntermediateMethylatedHomozygousQuality20@plt>
mov    -0xc8(%rbp),%rdi
mov    %eax,%edx
lea    0xb95(%rip),%rsi
mov    $0x0,%al
call   20f0 <fprintf@plt>
mov    -0x10(%rbp),%rax
mov    %rax,-0xc0(%rbp)
mov    $0x0,%al
call   20a0 <getTotalIntermediateMethylatedAlternativeCX@plt>
mov    -0xc0(%rbp),%rdi
mov    %eax,%edx
lea    0xba4(%rip),%rsi
mov    $0x0,%al
call   20f0 <fprintf@plt>
mov    -0x10(%rbp),%rax
mov    %rax,-0xb8(%rbp)
mov    $0x0,%al
call   21b0 <getTotalIntermediateMethylatedAlternativeCXQuality20@plt>
mov    -0xb8(%rbp),%rdi
mov    %eax,%edx
lea    0xbad(%rip),%rsi
mov    $0x0,%al
call   20f0 <fprintf@plt>
mov    -0x10(%rbp),%rax
mov    %rax,-0xb0(%rbp)
mov    $0x0,%al
call   2080 <getTotalUnMethylatedHomozygous@plt>
mov    -0xb0(%rbp),%rdi
mov    %eax,%edx
lea    0xbbf(%rip),%rsi
mov    $0x0,%al
call   20f0 <fprintf@plt>
mov    -0x10(%rbp),%rax
mov    %rax,-0xa8(%rbp)
mov    $0x0,%al
call   2190 <getTotalUnMethylatedHomozygousQuality20@plt>
mov    -0xa8(%rbp),%rdi
mov    %eax,%edx
lea    0xbbb(%rip),%rsi
mov    $0x0,%al
call   20f0 <fprintf@plt>
mov    -0x10(%rbp),%rax
mov    %rax,-0xa0(%rbp)
mov    $0x0,%al
call   2060 <getTotalUnMethylatedAlternativeCX@plt>
mov    -0xa0(%rbp),%rdi
mov    %eax,%edx
lea    0xbc0(%rip),%rsi
mov    $0x0,%al
call   20f0 <fprintf@plt>
mov    -0x10(%rbp),%rax
mov    %rax,-0x98(%rbp)
mov    $0x0,%al
call   2180 <getTotalUnMethylatedAlternativeCXQuality20@plt>
mov    -0x98(%rbp),%rdi
mov    %eax,%edx
lea    0xbbf(%rip),%rsi
mov    $0x0,%al
call   20f0 <fprintf@plt>
mov    -0x10(%rbp),%rax
mov    %rax,-0x90(%rbp)
mov    $0x0,%al
call   2210 <getTotalNonReferenceCpgs@plt>
mov    -0x90(%rbp),%rdi
mov    %eax,%edx
lea    0xbc7(%rip),%rsi
mov    $0x0,%al
call   20f0 <fprintf@plt>
mov    -0x10(%rbp),%rax
mov    %rax,-0x88(%rbp)
mov    $0x0,%al
call   2220 <getTotalNonReferenceCpgsQuality20@plt>
mov    -0x88(%rbp),%rdi
mov    %eax,%edx
lea    0xbbd(%rip),%rsi
mov    $0x0,%al
call   20f0 <fprintf@plt>
mov    -0x10(%rbp),%rax
mov    %rax,-0x80(%rbp)
mov    $0x0,%al
call   20d0 <getTotalNonReferenceCpgsMethylated@plt>
mov    -0x80(%rbp),%rdi
mov    %eax,%edx
lea    0xbc2(%rip),%rsi
mov    $0x0,%al
call   20f0 <fprintf@plt>
mov    -0x10(%rbp),%rax
mov    %rax,-0x78(%rbp)
mov    $0x0,%al
call   21f0 <getTotalNonReferenceCpgsMethylatedQuality20@plt>
mov    -0x78(%rbp),%rdi
mov    %eax,%edx
lea    0xbc8(%rip),%rsi
mov    $0x0,%al
call   20f0 <fprintf@plt>
mov    -0x10(%rbp),%rax
mov    %rax,-0x70(%rbp)
mov    $0x0,%al
call   2160 <getTotalNonReferenceCpgsIntermediateMethylated@plt>
mov    -0x70(%rbp),%rdi
mov    %eax,%edx
lea    0xbd7(%rip),%rsi
mov    $0x0,%al
call   20f0 <fprintf@plt>
mov    -0x10(%rbp),%rax
mov    %rax,-0x68(%rbp)
mov    $0x0,%al
call   2050 <getTotalNonReferenceCpgsIntermediateMethylatedQuality20@plt>
mov    -0x68(%rbp),%rdi
mov    %eax,%edx
lea    0xbe9(%rip),%rsi
mov    $0x0,%al
call   20f0 <fprintf@plt>
mov    -0x10(%rbp),%rax
mov    %rax,-0x60(%rbp)
mov    $0x0,%al
call   2110 <getTotalNonReferenceCpgsUnMethylated@plt>
mov    -0x60(%rbp),%rdi
mov    %eax,%edx
lea    0xc04(%rip),%rsi
mov    $0x0,%al
call   20f0 <fprintf@plt>
mov    -0x10(%rbp),%rax
mov    %rax,-0x58(%rbp)
mov    $0x0,%al
call   2230 <getTotalNonReferenceCpgsUnMethylatedQuality20@plt>
mov    -0x58(%rbp),%rdi
mov    %eax,%edx
lea    0xc0c(%rip),%rsi
mov    $0x0,%al
call   20f0 <fprintf@plt>
mov    -0x10(%rbp),%rax
mov    %rax,-0x50(%rbp)
mov    $0x0,%al
call   2070 <getTotalSnpsReferenceCpGs@plt>
mov    -0x50(%rbp),%rdi
mov    %eax,%edx
lea    0xc1d(%rip),%rsi
mov    $0x0,%al
call   20f0 <fprintf@plt>
mov    -0x10(%rbp),%rax
mov    %rax,-0x48(%rbp)
mov    $0x0,%al
call   22b0 <getTotalSnpsReferenceCpGsQuality20@plt>
mov    -0x48(%rbp),%rdi
mov    %eax,%edx
lea    0xc20(%rip),%rsi
mov    $0x0,%al
call   20f0 <fprintf@plt>
mov    -0x10(%rbp),%rax
mov    %rax,-0x40(%rbp)
mov    $0x0,%al
call   2140 <getTotalSnpsReferenceCpGsMethylated@plt>
mov    -0x40(%rbp),%rdi
mov    %eax,%edx
lea    0xc2c(%rip),%rsi
mov    $0x0,%al
call   20f0 <fprintf@plt>
mov    -0x10(%rbp),%rax
mov    %rax,-0x38(%rbp)
mov    $0x0,%al
call   2120 <getTotalSnpsReferenceCpGsMethylatedQuality20@plt>
mov    -0x38(%rbp),%rdi
mov    %eax,%edx
lea    0xc39(%rip),%rsi
mov    $0x0,%al
call   20f0 <fprintf@plt>
mov    -0x10(%rbp),%rax
mov    %rax,-0x30(%rbp)
mov    $0x0,%al
call   2270 <getTotalSnpsReferenceCpGsIntermediateMethylated@plt>
mov    -0x30(%rbp),%rdi
mov    %eax,%edx
lea    0xc4f(%rip),%rsi
mov    $0x0,%al
call   20f0 <fprintf@plt>
mov    -0x10(%rbp),%rax
mov    %rax,-0x28(%rbp)
mov    $0x0,%al
call   2100 <getTotalSnpsReferenceCpGsIntermediateMethylatedQuality20@plt>
mov    -0x28(%rbp),%rdi
mov    %eax,%edx
lea    0xc68(%rip),%rsi
mov    $0x0,%al
call   20f0 <fprintf@plt>
mov    -0x10(%rbp),%rax
mov    %rax,-0x20(%rbp)
mov    $0x0,%al
call   20b0 <getTotalSnpsReferenceCpGsUnMethylated@plt>
mov    -0x20(%rbp),%rdi
mov    %eax,%edx
lea    0xc8a(%rip),%rsi
mov    $0x0,%al
call   20f0 <fprintf@plt>
mov    -0x10(%rbp),%rax
mov    %rax,-0x18(%rbp)
mov    $0x0,%al
call   22a0 <getTotalSnpsReferenceCpGsUnMethylatedQuality20@plt>
mov    -0x18(%rbp),%rdi
mov    %eax,%edx
lea    0xc99(%rip),%rsi
mov    $0x0,%al
call   20f0 <fprintf@plt>
mov    -0x10(%rbp),%rdi
lea    0xcc1(%rip),%rsi
mov    $0x0,%al
call   20f0 <fprintf@plt>
mov    -0x10(%rbp),%rdi
call   2090 <fclose@plt>
add    $0x150,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<saveCounts>:
push   %rbx
lea    0xc38(%rip),%rsi
call   2200 <fopen@plt>
mov    %rax,%rbx
lea    0xc2b(%rip),%rdi
mov    $0x2,%esi
mov    $0x1,%edx
mov    %rax,%rcx
call   2250 <fwrite@plt>
xor    %eax,%eax
call   21a0 <getTotalDinucleotides@plt>
lea    0xc0e(%rip),%rsi
mov    %rbx,%rdi
mov    %eax,%edx
xor    %eax,%eax
call   20f0 <fprintf@plt>
xor    %eax,%eax
call   2290 <getTotalQuality20@plt>
lea    0xc10(%rip),%rsi
mov    %rbx,%rdi
mov    %eax,%edx
xor    %eax,%eax
call   20f0 <fprintf@plt>
xor    %eax,%eax
call   2130 <getTotalHomozygous@plt>
lea    0xc0e(%rip),%rsi
mov    %rbx,%rdi
mov    %eax,%edx
xor    %eax,%eax
call   20f0 <fprintf@plt>
xor    %eax,%eax
call   2150 <getTotalHomozygousQuality20@plt>
lea    0xc0d(%rip),%rsi
mov    %rbx,%rdi
mov    %eax,%edx
xor    %eax,%eax
call   20f0 <fprintf@plt>
xor    %eax,%eax
call   22e0 <getTotalAlternativeCX@plt>
lea    0xc15(%rip),%rsi
mov    %rbx,%rdi
mov    %eax,%edx
xor    %eax,%eax
call   20f0 <fprintf@plt>
xor    %eax,%eax
call   2170 <getTotalAlternativeCXQuality20@plt>
lea    0xc17(%rip),%rsi
mov    %rbx,%rdi
mov    %eax,%edx
xor    %eax,%eax
call   20f0 <fprintf@plt>
xor    %eax,%eax
call   22d0 <getTotalMethylated@plt>
lea    0xc22(%rip),%rsi
mov    %rbx,%rdi
mov    %eax,%edx
xor    %eax,%eax
call   20f0 <fprintf@plt>
xor    %eax,%eax
call   21c0 <getTotalMethylatedQuality20@plt>
lea    0xc21(%rip),%rsi
mov    %rbx,%rdi
mov    %eax,%edx
xor    %eax,%eax
call   20f0 <fprintf@plt>
xor    %eax,%eax
call   20c0 <getTotalIntermediateMethylated@plt>
lea    0xc29(%rip),%rsi
mov    %rbx,%rdi
mov    %eax,%edx
xor    %eax,%eax
call   20f0 <fprintf@plt>
xor    %eax,%eax
call   20e0 <getTotalIntermediateMethylatedQuality20@plt>
lea    0xc34(%rip),%rsi
mov    %rbx,%rdi
mov    %eax,%edx
xor    %eax,%eax
call   20f0 <fprintf@plt>
xor    %eax,%eax
call   22a0 <getTotalUnMethylated@plt>
lea    0xc48(%rip),%rsi
mov    %rbx,%rdi
mov    %eax,%edx
xor    %eax,%eax
call   20f0 <fprintf@plt>
xor    %eax,%eax
call   21e0 <getTotalUnMethylatedQuality20@plt>
lea    0xc49(%rip),%rsi
mov    %rbx,%rdi
mov    %eax,%edx
xor    %eax,%eax
call   20f0 <fprintf@plt>
xor    %eax,%eax
call   2040 <getTotalMethylatedHomozygous@plt>
lea    0xc53(%rip),%rsi
mov    %rbx,%rdi
mov    %eax,%edx
xor    %eax,%eax
call   20f0 <fprintf@plt>
xor    %eax,%eax
call   2260 <getTotalMethylatedHomozygousQuality20@plt>
lea    0xc5c(%rip),%rsi
mov    %rbx,%rdi
mov    %eax,%edx
xor    %eax,%eax
call   20f0 <fprintf@plt>
xor    %eax,%eax
call   2030 <getTotalMethylatedAlternativeCX@plt>
lea    0xc6e(%rip),%rsi
mov    %rbx,%rdi
mov    %eax,%edx
xor    %eax,%eax
call   20f0 <fprintf@plt>
xor    %eax,%eax
call   21d0 <getTotalMethylatedAlternativeCXQuality20@plt>
lea    0xc7a(%rip),%rsi
mov    %rbx,%rdi
mov    %eax,%edx
xor    %eax,%eax
call   20f0 <fprintf@plt>
xor    %eax,%eax
call   2240 <getTotalIntermediateMethylatedHomozygous@plt>
lea    0xc8f(%rip),%rsi
mov    %rbx,%rdi
mov    %eax,%edx
xor    %eax,%eax
call   20f0 <fprintf@plt>
xor    %eax,%eax
call   2270 <getTotalIntermediateMethylatedHomozygousQuality20@plt>
lea    0xca4(%rip),%rsi
mov    %rbx,%rdi
mov    %eax,%edx
xor    %eax,%eax
call   20f0 <fprintf@plt>
xor    %eax,%eax
call   20a0 <getTotalIntermediateMethylatedAlternativeCX@plt>
lea    0xcc2(%rip),%rsi
mov    %rbx,%rdi
mov    %eax,%edx
xor    %eax,%eax
call   20f0 <fprintf@plt>
xor    %eax,%eax
call   21b0 <getTotalIntermediateMethylatedAlternativeCXQuality20@plt>
lea    0xcda(%rip),%rsi
mov    %rbx,%rdi
mov    %eax,%edx
xor    %eax,%eax
call   20f0 <fprintf@plt>
xor    %eax,%eax
call   2080 <getTotalUnMethylatedHomozygous@plt>
lea    0xcfb(%rip),%rsi
mov    %rbx,%rdi
mov    %eax,%edx
xor    %eax,%eax
call   20f0 <fprintf@plt>
xor    %eax,%eax
call   2190 <getTotalUnMethylatedHomozygousQuality20@plt>
lea    0xd06(%rip),%rsi
mov    %rbx,%rdi
mov    %eax,%edx
xor    %eax,%eax
call   20f0 <fprintf@plt>
xor    %eax,%eax
call   2060 <getTotalUnMethylatedAlternativeCX@plt>
lea    0xd1a(%rip),%rsi
mov    %rbx,%rdi
mov    %eax,%edx
xor    %eax,%eax
call   20f0 <fprintf@plt>
xor    %eax,%eax
call   2180 <getTotalUnMethylatedAlternativeCXQuality20@plt>
lea    0xd28(%rip),%rsi
mov    %rbx,%rdi
mov    %eax,%edx
xor    %eax,%eax
call   20f0 <fprintf@plt>
xor    %eax,%eax
call   2210 <getTotalNonReferenceCpgs@plt>
lea    0xd3f(%rip),%rsi
mov    %rbx,%rdi
mov    %eax,%edx
xor    %eax,%eax
call   20f0 <fprintf@plt>
xor    %eax,%eax
call   2220 <getTotalNonReferenceCpgsQuality20@plt>
lea    0xd44(%rip),%rsi
mov    %rbx,%rdi
mov    %eax,%edx
xor    %eax,%eax
call   20f0 <fprintf@plt>
xor    %eax,%eax
call   20d0 <getTotalNonReferenceCpgsMethylated@plt>
lea    0xd52(%rip),%rsi
mov    %rbx,%rdi
mov    %eax,%edx
xor    %eax,%eax
call   20f0 <fprintf@plt>
xor    %eax,%eax
call   21f0 <getTotalNonReferenceCpgsMethylatedQuality20@plt>
lea    0xd61(%rip),%rsi
mov    %rbx,%rdi
mov    %eax,%edx
xor    %eax,%eax
call   20f0 <fprintf@plt>
xor    %eax,%eax
call   2160 <getTotalNonReferenceCpgsIntermediateMethylated@plt>
lea    0xd79(%rip),%rsi
mov    %rbx,%rdi
mov    %eax,%edx
xor    %eax,%eax
call   20f0 <fprintf@plt>
xor    %eax,%eax
call   2050 <getTotalNonReferenceCpgsIntermediateMethylatedQuality20@plt>
lea    0xd94(%rip),%rsi
mov    %rbx,%rdi
mov    %eax,%edx
xor    %eax,%eax
call   20f0 <fprintf@plt>
xor    %eax,%eax
call   2110 <getTotalNonReferenceCpgsUnMethylated@plt>
lea    0xdb8(%rip),%rsi
mov    %rbx,%rdi
mov    %eax,%edx
xor    %eax,%eax
call   20f0 <fprintf@plt>
xor    %eax,%eax
call   2230 <getTotalNonReferenceCpgsUnMethylatedQuality20@plt>
lea    0xdc9(%rip),%rsi
mov    %rbx,%rdi
mov    %eax,%edx
xor    %eax,%eax
call   20f0 <fprintf@plt>
xor    %eax,%eax
call   2070 <getTotalSnpsReferenceCpGs@plt>
lea    0xde3(%rip),%rsi
mov    %rbx,%rdi
mov    %eax,%edx
xor    %eax,%eax
call   20f0 <fprintf@plt>
xor    %eax,%eax
call   22c0 <getTotalSnpsReferenceCpGsQuality20@plt>
lea    0xdef(%rip),%rsi
mov    %rbx,%rdi
mov    %eax,%edx
xor    %eax,%eax
call   20f0 <fprintf@plt>
xor    %eax,%eax
call   2140 <getTotalSnpsReferenceCpGsMethylated@plt>
lea    0xe04(%rip),%rsi
mov    %rbx,%rdi
mov    %eax,%edx
xor    %eax,%eax
call   20f0 <fprintf@plt>
xor    %eax,%eax
call   2120 <getTotalSnpsReferenceCpGsMethylatedQuality20@plt>
lea    0xe1a(%rip),%rsi
mov    %rbx,%rdi
mov    %eax,%edx
xor    %eax,%eax
call   20f0 <fprintf@plt>
xor    %eax,%eax
call   2280 <getTotalSnpsReferenceCpGsIntermediateMethylated@plt>
lea    0xe39(%rip),%rsi
mov    %rbx,%rdi
mov    %eax,%edx
xor    %eax,%eax
call   20f0 <fprintf@plt>
xor    %eax,%eax
call   2100 <getTotalSnpsReferenceCpGsIntermediateMethylatedQuality20@plt>
lea    0xe5b(%rip),%rsi
mov    %rbx,%rdi
mov    %eax,%edx
xor    %eax,%eax
call   20f0 <fprintf@plt>
xor    %eax,%eax
call   20b0 <getTotalSnpsReferenceCpGsUnMethylated@plt>
lea    0xe86(%rip),%rsi
mov    %rbx,%rdi
mov    %eax,%edx
xor    %eax,%eax
call   20f0 <fprintf@plt>
xor    %eax,%eax
call   22b0 <getTotalSnpsReferenceCpGsUnMethylatedQuality20@plt>
lea    0xe9e(%rip),%rsi
mov    %rbx,%rdi
mov    %eax,%edx
xor    %eax,%eax
call   20f0 <fprintf@plt>
lea    0xec5(%rip),%rdi
mov    $0x2,%esi
mov    $0x1,%edx
mov    %rbx,%rcx
call   2250 <fwrite@plt>
mov    %rbx,%rdi
pop    %rbx
jmp    2090 <fclose@plt>

LLVM IR (-O0):
@.str = [2 x i8] c"w\00"
@.str.1 = [3 x i8] c"{\0A\00"
@.str.2 = [28 x i8] c" \22TotalDinucleotides\22:%i,\0A\00"
@.str.3 = [24 x i8] c" \22TotalQuality20\22:%i,\0A\00"
@.str.4 = [25 x i8] c" \22TotalHomozygous\22:%i,\0A\00"
@.str.5 = [34 x i8] c" \22TotalHomozygousQuality20\22:%i,\0A\00"
@.str.6 = [28 x i8] c" \22TotalAlternativeCX\22:%i,\0A\00"
@.str.7 = [37 x i8] c" \22TotalAlternativeCXQuality20\22:%i,\0A\00"
@.str.8 = [25 x i8] c" \22TotalMethylated\22:%i,\0A\00"
@.str.9 = [34 x i8] c" \22TotalMethylatedQuality20\22:%i,\0A\00"
@.str.10 = [37 x i8] c" \22TotalIntermediateMethylated\22:%i,\0A\00"
@.str.11 = [46 x i8] c" \22TotalIntermediateMethylatedQuality20\22:%i,\0A\00"
@.str.12 = [27 x i8] c" \22TotalUnMethylated\22:%i,\0A\00"
@.str.13 = [36 x i8] c" \22TotalUnmethylatedQuality20\22:%i,\0A\00"
@.str.14 = [35 x i8] c" \22TotalHomozygousMethylated\22:%i,\0A\00"
@.str.15 = [44 x i8] c" \22TotalHomozygousMethylatedQuality20\22:%i,\0A\00"
@.str.16 = [38 x i8] c" \22TotalAlternativeCXMethylated\22:%i,\0A\00"
@.str.17 = [47 x i8] c" \22TotalAlternativeCXMethylatedQuality20\22:%i,\0A\00"
@.str.18 = [47 x i8] c" \22TotalHomozygousIntermediateMethylated\22:%i,\0A\00"
@.str.19 = [56 x i8] c" \22TotalHomozygousIntermediateMethylatedQuality20\22:%i,\0A\00"
@.str.20 = [50 x i8] c" \22TotalAlternativeCXIntermediateMethylated\22:%i,\0A\00"
@.str.21 = [59 x i8] c" \22TotalAlternativeCXIntermediateMethylatedQuality20\22:%i,\0A\00"
@.str.22 = [37 x i8] c" \22TotalHomozygousUnMethylated\22:%i,\0A\00"
@.str.23 = [46 x i8] c" \22TotalHomozygousUnMethylatedQuality20\22:%i,\0A\00"
@.str.24 = [40 x i8] c" \22TotalAlternativeCXUnMethylated\22:%i,\0A\00"
@.str.25 = [49 x i8] c" \22TotalAlternativeCXUnMethylatedQuality20\22:%i,\0A\00"
@.str.26 = [31 x i8] c" \22TotalNonReferenceCpGs\22:%i,\0A\00"
@.str.27 = [40 x i8] c" \22TotalNonReferenceCpGsQuality20\22:%i,\0A\00"
@.str.28 = [41 x i8] c" \22TotalNonReferenceCpGsMethylated\22:%i,\0A\00"
@.str.29 = [50 x i8] c" \22TotalNonReferenceCpGsMethylatedQuality20\22:%i,\0A\00"
@.str.30 = [53 x i8] c" \22TotalNonReferenceCpGsIntermediateMethylated\22:%i,\0A\00"
@.str.31 = [62 x i8] c" \22TotalNonReferenceCpGsIntermediateMethylatedQuality20\22:%i,\0A\00"
@.str.32 = [43 x i8] c" \22TotalNonReferenceCpGsUnMethylated\22:%i,\0A\00"
@.str.33 = [52 x i8] c" \22TotalNonReferenceCpGsUnMethylatedQuality20\22:%i,\0A\00"
@.str.34 = [38 x i8] c" \22TotalSnpsReferenceCpGsCalled\22:%i,\0A\00"
@.str.35 = [47 x i8] c" \22TotalSnpsReferenceCpGsCalledQuality20\22:%i,\0A\00"
@.str.36 = [48 x i8] c" \22TotalSnpsReferenceCpGsCalledMethylated\22:%i,\0A\00"
@.str.37 = [57 x i8] c" \22TotalSnpsReferenceCpGsCalledMethylatedQuality20\22:%i,\0A\00"
@.str.38 = [60 x i8] c" \22TotalSnpsReferenceCpGsCalledIntermediateMethylated\22:%i,\0A\00"
@.str.39 = [69 x i8] c" \22TotalSnpsReferenceCpGsCalledIntermediateMethylatedQuality20\22:%i,\0A\00"
@.str.40 = [50 x i8] c" \22TotalSnpsReferenceCpGsCalledUnMethylated\22:%i,\0A\00"
@.str.41 = [58 x i8] c" \22TotalSnpsReferenceCpGsCalledUnMethylatedQuality20\22:%i\0A\00"
@.str.42 = [3 x i8] c"}\0A\00"
define void @saveCounts(i8* %0) {
%2 = alloca i8*
%3 = alloca i32*
store i8* %0, i8** %2
%4 = load i8*, i8** %2
%5 = call i32* @fopen(i8* %4, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0))
store i32* %5, i32** %3
%6 = load i32*, i32** %3
%7 = call i32 (i32*, i8*, ...) @fprintf(i32* %6, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0))
%8 = load i32*, i32** %3
%9 = call i32 (...) @getTotalDinucleotides()
%10 = call i32 (i32*, i8*, ...) @fprintf(i32* %8, i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.2, i64 0, i64 0), i32 %9)
%11 = load i32*, i32** %3
%12 = call i32 (...) @getTotalQuality20()
%13 = call i32 (i32*, i8*, ...) @fprintf(i32* %11, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.3, i64 0, i64 0), i32 %12)
%14 = load i32*, i32** %3
%15 = call i32 (...) @getTotalHomozygous()
%16 = call i32 (i32*, i8*, ...) @fprintf(i32* %14, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.4, i64 0, i64 0), i32 %15)
%17 = load i32*, i32** %3
%18 = call i32 (...) @getTotalHomozygousQuality20()
%19 = call i32 (i32*, i8*, ...) @fprintf(i32* %17, i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.5, i64 0, i64 0), i32 %18)
%20 = load i32*, i32** %3
%21 = call i32 (...) @getTotalAlternativeCX()
%22 = call i32 (i32*, i8*, ...) @fprintf(i32* %20, i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.6, i64 0, i64 0), i32 %21)
%23 = load i32*, i32** %3
%24 = call i32 (...) @getTotalAlternativeCXQuality20()
%25 = call i32 (i32*, i8*, ...) @fprintf(i32* %23, i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.7, i64 0, i64 0), i32 %24)
%26 = load i32*, i32** %3
%27 = call i32 (...) @getTotalMethylated()
%28 = call i32 (i32*, i8*, ...) @fprintf(i32* %26, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.8, i64 0, i64 0), i32 %27)
%29 = load i32*, i32** %3
%30 = call i32 (...) @getTotalMethylatedQuality20()
%31 = call i32 (i32*, i8*, ...) @fprintf(i32* %29, i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.9, i64 0, i64 0), i32 %30)
%32 = load i32*, i32** %3
%33 = call i32 (...) @getTotalIntermediateMethylated()
%34 = call i32 (i32*, i8*, ...) @fprintf(i32* %32, i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.10, i64 0, i64 0), i32 %33)
%35 = load i32*, i32** %3
%36 = call i32 (...) @getTotalIntermediateMethylatedQuality20()
%37 = call i32 (i32*, i8*, ...) @fprintf(i32* %35, i8* getelementptr inbounds ([46 x i8], [46 x i8]* @.str.11, i64 0, i64 0), i32 %36)
%38 = load i32*, i32** %3
%39 = call i32 (...) @getTotalUnMethylated()
%40 = call i32 (i32*, i8*, ...) @fprintf(i32* %38, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.12, i64 0, i64 0), i32 %39)
%41 = load i32*, i32** %3
%42 = call i32 (...) @getTotalUnMethylatedQuality20()
%43 = call i32 (i32*, i8*, ...) @fprintf(i32* %41, i8* getelementptr inbounds ([36 x i8], [36 x i8]* @.str.13, i64 0, i64 0), i32 %42)
%44 = load i32*, i32** %3
%45 = call i32 (...) @getTotalMethylatedHomozygous()
%46 = call i32 (i32*, i8*, ...) @fprintf(i32* %44, i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.14, i64 0, i64 0), i32 %45)
%47 = load i32*, i32** %3
%48 = call i32 (...) @getTotalMethylatedHomozygousQuality20()
%49 = call i32 (i32*, i8*, ...) @fprintf(i32* %47, i8* getelementptr inbounds ([44 x i8], [44 x i8]* @.str.15, i64 0, i64 0), i32 %48)
%50 = load i32*, i32** %3
%51 = call i32 (...) @getTotalMethylatedAlternativeCX()
%52 = call i32 (i32*, i8*, ...) @fprintf(i32* %50, i8* getelementptr inbounds ([38 x i8], [38 x i8]* @.str.16, i64 0, i64 0), i32 %51)
%53 = load i32*, i32** %3
%54 = call i32 (...) @getTotalMethylatedAlternativeCXQuality20()
%55 = call i32 (i32*, i8*, ...) @fprintf(i32* %53, i8* getelementptr inbounds ([47 x i8], [47 x i8]* @.str.17, i64 0, i64 0), i32 %54)
%56 = load i32*, i32** %3
%57 = call i32 (...) @getTotalIntermediateMethylatedHomozygous()
%58 = call i32 (i32*, i8*, ...) @fprintf(i32* %56, i8* getelementptr inbounds ([47 x i8], [47 x i8]* @.str.18, i64 0, i64 0), i32 %57)
%59 = load i32*, i32** %3
%60 = call i32 (...) @getTotalIntermediateMethylatedHomozygousQuality20()
%61 = call i32 (i32*, i8*, ...) @fprintf(i32* %59, i8* getelementptr inbounds ([56 x i8], [56 x i8]* @.str.19, i64 0, i64 0), i32 %60)
%62 = load i32*, i32** %3
%63 = call i32 (...) @getTotalIntermediateMethylatedAlternativeCX()
%64 = call i32 (i32*, i8*, ...) @fprintf(i32* %62, i8* getelementptr inbounds ([50 x i8], [50 x i8]* @.str.20, i64 0, i64 0), i32 %63)
%65 = load i32*, i32** %3
%66 = call i32 (...) @getTotalIntermediateMethylatedAlternativeCXQuality20()
%67 = call i32 (i32*, i8*, ...) @fprintf(i32* %65, i8* getelementptr inbounds ([59 x i8], [59 x i8]* @.str.21, i64 0, i64 0), i32 %66)
%68 = load i32*, i32** %3
%69 = call i32 (...) @getTotalUnMethylatedHomozygous()
%70 = call i32 (i32*, i8*, ...) @fprintf(i32* %68, i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.22, i64 0, i64 0), i32 %69)
%71 = load i32*, i32** %3
%72 = call i32 (...) @getTotalUnMethylatedHomozygousQuality20()
%73 = call i32 (i32*, i8*, ...) @fprintf(i32* %71, i8* getelementptr inbounds ([46 x i8], [46 x i8]* @.str.23, i64 0, i64 0), i32 %72)
%74 = load i32*, i32** %3
%75 = call i32 (...) @getTotalUnMethylatedAlternativeCX()
%76 = call i32 (i32*, i8*, ...) @fprintf(i32* %74, i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str.24, i64 0, i64 0), i32 %75)
%77 = load i32*, i32** %3
%78 = call i32 (...) @getTotalUnMethylatedAlternativeCXQuality20()
%79 = call i32 (i32*, i8*, ...) @fprintf(i32* %77, i8* getelementptr inbounds ([49 x i8], [49 x i8]* @.str.25, i64 0, i64 0), i32 %78)
%80 = load i32*, i32** %3
%81 = call i32 (...) @getTotalNonReferenceCpgs()
%82 = call i32 (i32*, i8*, ...) @fprintf(i32* %80, i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.26, i64 0, i64 0), i32 %81)
%83 = load i32*, i32** %3
%84 = call i32 (...) @getTotalNonReferenceCpgsQuality20()
%85 = call i32 (i32*, i8*, ...) @fprintf(i32* %83, i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str.27, i64 0, i64 0), i32 %84)
%86 = load i32*, i32** %3
%87 = call i32 (...) @getTotalNonReferenceCpgsMethylated()
%88 = call i32 (i32*, i8*, ...) @fprintf(i32* %86, i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.28, i64 0, i64 0), i32 %87)
%89 = load i32*, i32** %3
%90 = call i32 (...) @getTotalNonReferenceCpgsMethylatedQuality20()
%91 = call i32 (i32*, i8*, ...) @fprintf(i32* %89, i8* getelementptr inbounds ([50 x i8], [50 x i8]* @.str.29, i64 0, i64 0), i32 %90)
%92 = load i32*, i32** %3
%93 = call i32 (...) @getTotalNonReferenceCpgsIntermediateMethylated()
%94 = call i32 (i32*, i8*, ...) @fprintf(i32* %92, i8* getelementptr inbounds ([53 x i8], [53 x i8]* @.str.30, i64 0, i64 0), i32 %93)
%95 = load i32*, i32** %3
%96 = call i32 (...) @getTotalNonReferenceCpgsIntermediateMethylatedQuality20()
%97 = call i32 (i32*, i8*, ...) @fprintf(i32* %95, i8* getelementptr inbounds ([62 x i8], [62 x i8]* @.str.31, i64 0, i64 0), i32 %96)
%98 = load i32*, i32** %3
%99 = call i32 (...) @getTotalNonReferenceCpgsUnMethylated()
%100 = call i32 (i32*, i8*, ...) @fprintf(i32* %98, i8* getelementptr inbounds ([43 x i8], [43 x i8]* @.str.32, i64 0, i64 0), i32 %99)
%101 = load i32*, i32** %3
%102 = call i32 (...) @getTotalNonReferenceCpgsUnMethylatedQuality20()
%103 = call i32 (i32*, i8*, ...) @fprintf(i32* %101, i8* getelementptr inbounds ([52 x i8], [52 x i8]* @.str.33, i64 0, i64 0), i32 %102)
%104 = load i32*, i32** %3
%105 = call i32 (...) @getTotalSnpsReferenceCpGs()
%106 = call i32 (i32*, i8*, ...) @fprintf(i32* %104, i8* getelementptr inbounds ([38 x i8], [38 x i8]* @.str.34, i64 0, i64 0), i32 %105)
%107 = load i32*, i32** %3
%108 = call i32 (...) @getTotalSnpsReferenceCpGsQuality20()
%109 = call i32 (i32*, i8*, ...) @fprintf(i32* %107, i8* getelementptr inbounds ([47 x i8], [47 x i8]* @.str.35, i64 0, i64 0), i32 %108)
%110 = load i32*, i32** %3
%111 = call i32 (...) @getTotalSnpsReferenceCpGsMethylated()
%112 = call i32 (i32*, i8*, ...) @fprintf(i32* %110, i8* getelementptr inbounds ([48 x i8], [48 x i8]* @.str.36, i64 0, i64 0), i32 %111)
%113 = load i32*, i32** %3
%114 = call i32 (...) @getTotalSnpsReferenceCpGsMethylatedQuality20()
%115 = call i32 (i32*, i8*, ...) @fprintf(i32* %113, i8* getelementptr inbounds ([57 x i8], [57 x i8]* @.str.37, i64 0, i64 0), i32 %114)
%116 = load i32*, i32** %3
%117 = call i32 (...) @getTotalSnpsReferenceCpGsIntermediateMethylated()
%118 = call i32 (i32*, i8*, ...) @fprintf(i32* %116, i8* getelementptr inbounds ([60 x i8], [60 x i8]* @.str.38, i64 0, i64 0), i32 %117)
%119 = load i32*, i32** %3
%120 = call i32 (...) @getTotalSnpsReferenceCpGsIntermediateMethylatedQuality20()
%121 = call i32 (i32*, i8*, ...) @fprintf(i32* %119, i8* getelementptr inbounds ([69 x i8], [69 x i8]* @.str.39, i64 0, i64 0), i32 %120)
%122 = load i32*, i32** %3
%123 = call i32 (...) @getTotalSnpsReferenceCpGsUnMethylated()
%124 = call i32 (i32*, i8*, ...) @fprintf(i32* %122, i8* getelementptr inbounds ([50 x i8], [50 x i8]* @.str.40, i64 0, i64 0), i32 %123)
%125 = load i32*, i32** %3
%126 = call i32 (...) @getTotalSnpsReferenceCpGsUnMethylatedQuality20()
%127 = call i32 (i32*, i8*, ...) @fprintf(i32* %125, i8* getelementptr inbounds ([58 x i8], [58 x i8]* @.str.41, i64 0, i64 0), i32 %126)
%128 = load i32*, i32** %3
%129 = call i32 (i32*, i8*, ...) @fprintf(i32* %128, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.42, i64 0, i64 0))
%130 = load i32*, i32** %3
%131 = call i32 @fclose(i32* %130)
ret void
}

LLVM IR (-O2):
@.str = [2 x i8] c"w\00"
@.str.1 = [3 x i8] c"{\0A\00"
@.str.2 = [28 x i8] c" \22TotalDinucleotides\22:%i,\0A\00"
@.str.3 = [24 x i8] c" \22TotalQuality20\22:%i,\0A\00"
@.str.4 = [25 x i8] c" \22TotalHomozygous\22:%i,\0A\00"
@.str.5 = [34 x i8] c" \22TotalHomozygousQuality20\22:%i,\0A\00"
@.str.6 = [28 x i8] c" \22TotalAlternativeCX\22:%i,\0A\00"
@.str.7 = [37 x i8] c" \22TotalAlternativeCXQuality20\22:%i,\0A\00"
@.str.8 = [25 x i8] c" \22TotalMethylated\22:%i,\0A\00"
@.str.9 = [34 x i8] c" \22TotalMethylatedQuality20\22:%i,\0A\00"
@.str.10 = [37 x i8] c" \22TotalIntermediateMethylated\22:%i,\0A\00"
@.str.11 = [46 x i8] c" \22TotalIntermediateMethylatedQuality20\22:%i,\0A\00"
@.str.12 = [27 x i8] c" \22TotalUnMethylated\22:%i,\0A\00"
@.str.13 = [36 x i8] c" \22TotalUnmethylatedQuality20\22:%i,\0A\00"
@.str.14 = [35 x i8] c" \22TotalHomozygousMethylated\22:%i,\0A\00"
@.str.15 = [44 x i8] c" \22TotalHomozygousMethylatedQuality20\22:%i,\0A\00"
@.str.16 = [38 x i8] c" \22TotalAlternativeCXMethylated\22:%i,\0A\00"
@.str.17 = [47 x i8] c" \22TotalAlternativeCXMethylatedQuality20\22:%i,\0A\00"
@.str.18 = [47 x i8] c" \22TotalHomozygousIntermediateMethylated\22:%i,\0A\00"
@.str.19 = [56 x i8] c" \22TotalHomozygousIntermediateMethylatedQuality20\22:%i,\0A\00"
@.str.20 = [50 x i8] c" \22TotalAlternativeCXIntermediateMethylated\22:%i,\0A\00"
@.str.21 = [59 x i8] c" \22TotalAlternativeCXIntermediateMethylatedQuality20\22:%i,\0A\00"
@.str.22 = [37 x i8] c" \22TotalHomozygousUnMethylated\22:%i,\0A\00"
@.str.23 = [46 x i8] c" \22TotalHomozygousUnMethylatedQuality20\22:%i,\0A\00"
@.str.24 = [40 x i8] c" \22TotalAlternativeCXUnMethylated\22:%i,\0A\00"
@.str.25 = [49 x i8] c" \22TotalAlternativeCXUnMethylatedQuality20\22:%i,\0A\00"
@.str.26 = [31 x i8] c" \22TotalNonReferenceCpGs\22:%i,\0A\00"
@.str.27 = [40 x i8] c" \22TotalNonReferenceCpGsQuality20\22:%i,\0A\00"
@.str.28 = [41 x i8] c" \22TotalNonReferenceCpGsMethylated\22:%i,\0A\00"
@.str.29 = [50 x i8] c" \22TotalNonReferenceCpGsMethylatedQuality20\22:%i,\0A\00"
@.str.30 = [53 x i8] c" \22TotalNonReferenceCpGsIntermediateMethylated\22:%i,\0A\00"
@.str.31 = [62 x i8] c" \22TotalNonReferenceCpGsIntermediateMethylatedQuality20\22:%i,\0A\00"
@.str.32 = [43 x i8] c" \22TotalNonReferenceCpGsUnMethylated\22:%i,\0A\00"
@.str.33 = [52 x i8] c" \22TotalNonReferenceCpGsUnMethylatedQuality20\22:%i,\0A\00"
@.str.34 = [38 x i8] c" \22TotalSnpsReferenceCpGsCalled\22:%i,\0A\00"
@.str.35 = [47 x i8] c" \22TotalSnpsReferenceCpGsCalledQuality20\22:%i,\0A\00"
@.str.36 = [48 x i8] c" \22TotalSnpsReferenceCpGsCalledMethylated\22:%i,\0A\00"
@.str.37 = [57 x i8] c" \22TotalSnpsReferenceCpGsCalledMethylatedQuality20\22:%i,\0A\00"
@.str.38 = [60 x i8] c" \22TotalSnpsReferenceCpGsCalledIntermediateMethylated\22:%i,\0A\00"
@.str.39 = [69 x i8] c" \22TotalSnpsReferenceCpGsCalledIntermediateMethylatedQuality20\22:%i,\0A\00"
@.str.40 = [50 x i8] c" \22TotalSnpsReferenceCpGsCalledUnMethylated\22:%i,\0A\00"
@.str.41 = [58 x i8] c" \22TotalSnpsReferenceCpGsCalledUnMethylatedQuality20\22:%i\0A\00"
@.str.42 = [3 x i8] c"}\0A\00"
define void @saveCounts(i8* nocapture %0) {
%2 = tail call i32* @fopen(i8* %0, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0))
%3 = tail call i64 @fwrite(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i64 2, i64 1, i32* %2)
%4 = tail call i32 (...) @getTotalDinucleotides()
%5 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %2, i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.2, i64 0, i64 0), i32 %4)
%6 = tail call i32 (...) @getTotalQuality20()
%7 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %2, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.3, i64 0, i64 0), i32 %6)
%8 = tail call i32 (...) @getTotalHomozygous()
%9 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %2, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.4, i64 0, i64 0), i32 %8)
%10 = tail call i32 (...) @getTotalHomozygousQuality20()
%11 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %2, i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.5, i64 0, i64 0), i32 %10)
%12 = tail call i32 (...) @getTotalAlternativeCX()
%13 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %2, i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.6, i64 0, i64 0), i32 %12)
%14 = tail call i32 (...) @getTotalAlternativeCXQuality20()
%15 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %2, i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.7, i64 0, i64 0), i32 %14)
%16 = tail call i32 (...) @getTotalMethylated()
%17 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %2, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.8, i64 0, i64 0), i32 %16)
%18 = tail call i32 (...) @getTotalMethylatedQuality20()
%19 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %2, i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.9, i64 0, i64 0), i32 %18)
%20 = tail call i32 (...) @getTotalIntermediateMethylated()
%21 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %2, i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.10, i64 0, i64 0), i32 %20)
%22 = tail call i32 (...) @getTotalIntermediateMethylatedQuality20()
%23 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %2, i8* getelementptr inbounds ([46 x i8], [46 x i8]* @.str.11, i64 0, i64 0), i32 %22)
%24 = tail call i32 (...) @getTotalUnMethylated()
%25 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %2, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.12, i64 0, i64 0), i32 %24)
%26 = tail call i32 (...) @getTotalUnMethylatedQuality20()
%27 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %2, i8* getelementptr inbounds ([36 x i8], [36 x i8]* @.str.13, i64 0, i64 0), i32 %26)
%28 = tail call i32 (...) @getTotalMethylatedHomozygous()
%29 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %2, i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.14, i64 0, i64 0), i32 %28)
%30 = tail call i32 (...) @getTotalMethylatedHomozygousQuality20()
%31 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %2, i8* getelementptr inbounds ([44 x i8], [44 x i8]* @.str.15, i64 0, i64 0), i32 %30)
%32 = tail call i32 (...) @getTotalMethylatedAlternativeCX()
%33 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %2, i8* getelementptr inbounds ([38 x i8], [38 x i8]* @.str.16, i64 0, i64 0), i32 %32)
%34 = tail call i32 (...) @getTotalMethylatedAlternativeCXQuality20()
%35 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %2, i8* getelementptr inbounds ([47 x i8], [47 x i8]* @.str.17, i64 0, i64 0), i32 %34)
%36 = tail call i32 (...) @getTotalIntermediateMethylatedHomozygous()
%37 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %2, i8* getelementptr inbounds ([47 x i8], [47 x i8]* @.str.18, i64 0, i64 0), i32 %36)
%38 = tail call i32 (...) @getTotalIntermediateMethylatedHomozygousQuality20()
%39 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %2, i8* getelementptr inbounds ([56 x i8], [56 x i8]* @.str.19, i64 0, i64 0), i32 %38)
%40 = tail call i32 (...) @getTotalIntermediateMethylatedAlternativeCX()
%41 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %2, i8* getelementptr inbounds ([50 x i8], [50 x i8]* @.str.20, i64 0, i64 0), i32 %40)
%42 = tail call i32 (...) @getTotalIntermediateMethylatedAlternativeCXQuality20()
%43 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %2, i8* getelementptr inbounds ([59 x i8], [59 x i8]* @.str.21, i64 0, i64 0), i32 %42)
%44 = tail call i32 (...) @getTotalUnMethylatedHomozygous()
%45 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %2, i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.22, i64 0, i64 0), i32 %44)
%46 = tail call i32 (...) @getTotalUnMethylatedHomozygousQuality20()
%47 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %2, i8* getelementptr inbounds ([46 x i8], [46 x i8]* @.str.23, i64 0, i64 0), i32 %46)
%48 = tail call i32 (...) @getTotalUnMethylatedAlternativeCX()
%49 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %2, i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str.24, i64 0, i64 0), i32 %48)
%50 = tail call i32 (...) @getTotalUnMethylatedAlternativeCXQuality20()
%51 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %2, i8* getelementptr inbounds ([49 x i8], [49 x i8]* @.str.25, i64 0, i64 0), i32 %50)
%52 = tail call i32 (...) @getTotalNonReferenceCpgs()
%53 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %2, i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.26, i64 0, i64 0), i32 %52)
%54 = tail call i32 (...) @getTotalNonReferenceCpgsQuality20()
%55 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %2, i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str.27, i64 0, i64 0), i32 %54)
%56 = tail call i32 (...) @getTotalNonReferenceCpgsMethylated()
%57 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %2, i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.28, i64 0, i64 0), i32 %56)
%58 = tail call i32 (...) @getTotalNonReferenceCpgsMethylatedQuality20()
%59 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %2, i8* getelementptr inbounds ([50 x i8], [50 x i8]* @.str.29, i64 0, i64 0), i32 %58)
%60 = tail call i32 (...) @getTotalNonReferenceCpgsIntermediateMethylated()
%61 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %2, i8* getelementptr inbounds ([53 x i8], [53 x i8]* @.str.30, i64 0, i64 0), i32 %60)
%62 = tail call i32 (...) @getTotalNonReferenceCpgsIntermediateMethylatedQuality20()
%63 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %2, i8* getelementptr inbounds ([62 x i8], [62 x i8]* @.str.31, i64 0, i64 0), i32 %62)
%64 = tail call i32 (...) @getTotalNonReferenceCpgsUnMethylated()
%65 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %2, i8* getelementptr inbounds ([43 x i8], [43 x i8]* @.str.32, i64 0, i64 0), i32 %64)
%66 = tail call i32 (...) @getTotalNonReferenceCpgsUnMethylatedQuality20()
%67 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %2, i8* getelementptr inbounds ([52 x i8], [52 x i8]* @.str.33, i64 0, i64 0), i32 %66)
%68 = tail call i32 (...) @getTotalSnpsReferenceCpGs()
%69 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %2, i8* getelementptr inbounds ([38 x i8], [38 x i8]* @.str.34, i64 0, i64 0), i32 %68)
%70 = tail call i32 (...) @getTotalSnpsReferenceCpGsQuality20()
%71 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %2, i8* getelementptr inbounds ([47 x i8], [47 x i8]* @.str.35, i64 0, i64 0), i32 %70)
%72 = tail call i32 (...) @getTotalSnpsReferenceCpGsMethylated()
%73 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %2, i8* getelementptr inbounds ([48 x i8], [48 x i8]* @.str.36, i64 0, i64 0), i32 %72)
%74 = tail call i32 (...) @getTotalSnpsReferenceCpGsMethylatedQuality20()
%75 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %2, i8* getelementptr inbounds ([57 x i8], [57 x i8]* @.str.37, i64 0, i64 0), i32 %74)
%76 = tail call i32 (...) @getTotalSnpsReferenceCpGsIntermediateMethylated()
%77 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %2, i8* getelementptr inbounds ([60 x i8], [60 x i8]* @.str.38, i64 0, i64 0), i32 %76)
%78 = tail call i32 (...) @getTotalSnpsReferenceCpGsIntermediateMethylatedQuality20()
%79 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %2, i8* getelementptr inbounds ([69 x i8], [69 x i8]* @.str.39, i64 0, i64 0), i32 %78)
%80 = tail call i32 (...) @getTotalSnpsReferenceCpGsUnMethylated()
%81 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %2, i8* getelementptr inbounds ([50 x i8], [50 x i8]* @.str.40, i64 0, i64 0), i32 %80)
%82 = tail call i32 (...) @getTotalSnpsReferenceCpGsUnMethylatedQuality20()
%83 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %2, i8* getelementptr inbounds ([58 x i8], [58 x i8]* @.str.41, i64 0, i64 0), i32 %82)
%84 = tail call i64 @fwrite(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.42, i64 0, i64 0), i64 2, i64 1, i32* %2)
%85 = tail call i32 @fclose(i32* %2)
ret void
}