#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*/ fprintf(int /*<<< orphan*/ *, char *);
void mut_print_header_post(FILE *fpout_vcf) {
  fprintf(
      fpout_vcf,
      "##INFO=<ID=AF,Number=A,Type=Float,Description=\"Allele Frequency\">\n");
  fprintf(fpout_vcf,
          "##INFO=<ID=pl,Number=1,Type=Integer,Description=\"Phasing: 1 - HET "
          "contig 1, #2 - HET contig #2, 3 - HOM both contigs\">\n");
  fprintf(fpout_vcf, "##INFO=<ID=mt,Number=1,Type=String,Description=\"Variant "
                     "Type: SUBSTITUTE/INSERT/DELETE\">\n");
  fprintf(fpout_vcf, "#CHROM\tPOS\tID\tREF\tALT\tQUAL\tFILTER\tINFO\n");
}


x86 assembly (clang, -O0):
<mut_print_header_post>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
mov    %rdi,-0x8(%rbp)
mov    -0x8(%rbp),%rdi
lea    0xed9(%rip),%rsi
call   1030 <fprintf@plt>
mov    -0x8(%rbp),%rdi
lea    0xf0c(%rip),%rsi
call   1030 <fprintf@plt>
mov    -0x8(%rbp),%rdi
lea    0xf74(%rip),%rsi
call   1030 <fprintf@plt>
mov    -0x8(%rbp),%rdi
lea    0xfbe(%rip),%rsi
call   1030 <fprintf@plt>
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<mut_print_header_post>:
push   %rbx
mov    %rdi,%rbx
lea    0xee5(%rip),%rdi
mov    $0x42,%esi
mov    $0x1,%edx
mov    %rbx,%rcx
call   1030 <fwrite@plt>
lea    0xf0f(%rip),%rdi
mov    $0x77,%esi
mov    $0x1,%edx
mov    %rbx,%rcx
call   1030 <fwrite@plt>
lea    0xf6e(%rip),%rdi
mov    $0x59,%esi
mov    $0x1,%edx
mov    %rbx,%rcx
call   1030 <fwrite@plt>
lea    0xfaf(%rip),%rdi
mov    $0x27,%esi
mov    $0x1,%edx
mov    %rbx,%rcx
pop    %rbx
jmp    1030 <fwrite@plt>

LLVM IR (-O0):
@.str = [67 x i8] c"##INFO=<ID=AF,Number=A,Type=Float,Description=\22Allele Frequency\22>\0A\00"
@.str.1 = [120 x i8] c"##INFO=<ID=pl,Number=1,Type=Integer,Description=\22Phasing: 1 - HET contig 1, - HET contig, 3 - HOM both contigs\22>\0A\00"
@.str.2 = [90 x i8] c"##INFO=<ID=mt,Number=1,Type=String,Description=\22Variant Type: SUBSTITUTE/INSERT/DELETE\22>\0A\00"
@.str.3 = [40 x i8] c"#CHROM\09POS\09ID\09REF\09ALT\09QUAL\09FILTER\09INFO\0A\00"
define void @mut_print_header_post(i32* %0) {
%2 = alloca i32*
store i32* %0, i32** %2
%3 = load i32*, i32** %2
%4 = call i32 @fprintf(i32* %3, i8* getelementptr inbounds ([67 x i8], [67 x i8]* @.str, i64 0, i64 0))
%5 = load i32*, i32** %2
%6 = call i32 @fprintf(i32* %5, i8* getelementptr inbounds ([120 x i8], [120 x i8]* @.str.1, i64 0, i64 0))
%7 = load i32*, i32** %2
%8 = call i32 @fprintf(i32* %7, i8* getelementptr inbounds ([90 x i8], [90 x i8]* @.str.2, i64 0, i64 0))
%9 = load i32*, i32** %2
%10 = call i32 @fprintf(i32* %9, i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str.3, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@.str = [67 x i8] c"##INFO=<ID=AF,Number=A,Type=Float,Description=\22Allele Frequency\22>\0A\00"
@.str.1 = [120 x i8] c"##INFO=<ID=pl,Number=1,Type=Integer,Description=\22Phasing: 1 - HET contig 1, - HET contig, 3 - HOM both contigs\22>\0A\00"
@.str.2 = [90 x i8] c"##INFO=<ID=mt,Number=1,Type=String,Description=\22Variant Type: SUBSTITUTE/INSERT/DELETE\22>\0A\00"
@.str.3 = [40 x i8] c"#CHROM\09POS\09ID\09REF\09ALT\09QUAL\09FILTER\09INFO\0A\00"
define void @mut_print_header_post(i32* nocapture %0) {
%2 = tail call i64 @fwrite(i8* getelementptr inbounds ([67 x i8], [67 x i8]* @.str, i64 0, i64 0), i64 66, i64 1, i32* %0)
%3 = tail call i64 @fwrite(i8* getelementptr inbounds ([120 x i8], [120 x i8]* @.str.1, i64 0, i64 0), i64 119, i64 1, i32* %0)
%4 = tail call i64 @fwrite(i8* getelementptr inbounds ([90 x i8], [90 x i8]* @.str.2, i64 0, i64 0), i64 89, i64 1, i32* %0)
%5 = tail call i64 @fwrite(i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str.3, i64 0, i64 0), i64 39, i64 1, i32* %0)
ret void
}