#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 *, char const *, char *);
void print_oligo_header(FILE *f, const char *s, const int print_lib_sim,
                        const int thermodynamic_oligo_alignment) {
  if (thermodynamic_oligo_alignment == 0)
    fprintf(f, "%-16s start  len      tm     gc%%   any    3' %sseq\n", s,
            print_lib_sim ? "  rep " : "");
  else
    fprintf(f,
            "%-16s start  len      tm     gc%%  any_th  3'_th hairpin %sseq\n",
            s, print_lib_sim ? "  rep " : "");
}


x86 assembly (clang, -O0):
<print_oligo_header>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    %edx,-0x14(%rbp)
mov    %ecx,-0x18(%rbp)
cmpl   $0x0,-0x18(%rbp)
jne    1161 <print_oligo_header+0x51>
mov    -0x8(%rbp),%rdi
mov    -0x10(%rbp),%rdx
mov    -0x14(%rbp),%esi
lea    0xef2(%rip),%rcx
lea    0xeec(%rip),%rax
cmp    $0x0,%esi
cmovne %rax,%rcx
lea    0xea9(%rip),%rsi
call   1030 <fprintf@plt>
jmp    118d <print_oligo_header+0x7d>
mov    -0x8(%rbp),%rdi
mov    -0x10(%rbp),%rdx
mov    -0x14(%rbp),%esi
lea    0xec1(%rip),%rcx
lea    0xebb(%rip),%rax
cmp    $0x0,%esi
cmovne %rax,%rcx
lea    0xeb4(%rip),%rsi
call   1030 <fprintf@plt>
add    $0x20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<print_oligo_header>:
mov    %rsi,%r8
test   %edx,%edx
lea    0xf18(%rip),%rdx
lea    0xf12(%rip),%rax
cmove  %rdx,%rax
test   %ecx,%ecx
lea    0xed0(%rip),%rcx
lea    0xf05(%rip),%rsi
cmove  %rcx,%rsi
mov    %r8,%rdx
mov    %rax,%rcx
jmp    1030 <fprintf@plt>

LLVM IR (-O0):
@.str = [53 x i8] c"%-16s start len tm gc%% any 3' %sseq\0A\00"
@.str.1 = [7 x i8] c" rep \00"
@.str.2 = [1 x i8] zeroinitializer
@.str.3 = [64 x i8] c"%-16s start len tm gc%% any_th 3'_th hairpin %sseq\0A\00"
define void @print_oligo_header(i32* %0, i8* %1, i32 %2, i32 %3) {
%5 = alloca i32*
%6 = alloca i8*
%7 = alloca i32
%8 = alloca i32
store i32* %0, i32** %5
store i8* %1, i8** %6
store i32 %2, i32* %7
store i32 %3, i32* %8
%9 = load i32, i32* %8
%10 = icmp eq i32 %9, 0
br i1 %10, label %11, label %19
11: ; preds = %4
%12 = load i32*, i32** %5
%13 = load i8*, i8** %6
%14 = load i32, i32* %7
%15 = icmp ne i32 %14, 0
%16 = zext i1 %15 to i64
%17 = select i1 %15, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.2, i64 0, i64 0)
%18 = call i32 @fprintf(i32* %12, i8* getelementptr inbounds ([53 x i8], [53 x i8]* @.str, i64 0, i64 0), i8* %13, i8* %17)
br label %27
19: ; preds = %4
%20 = load i32*, i32** %5
%21 = load i8*, i8** %6
%22 = load i32, i32* %7
%23 = icmp ne i32 %22, 0
%24 = zext i1 %23 to i64
%25 = select i1 %23, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.2, i64 0, i64 0)
%26 = call i32 @fprintf(i32* %20, i8* getelementptr inbounds ([64 x i8], [64 x i8]* @.str.3, i64 0, i64 0), i8* %21, i8* %25)
br label %27
27: ; preds = %19, %11
ret void
}

LLVM IR (-O2):
@.str = [53 x i8] c"%-16s start len tm gc%% any 3' %sseq\0A\00"
@.str.1 = [7 x i8] c" rep \00"
@.str.2 = [1 x i8] zeroinitializer
@.str.3 = [64 x i8] c"%-16s start len tm gc%% any_th 3'_th hairpin %sseq\0A\00"
define void @print_oligo_header(i32* nocapture %0, i8* %1, i32 %2, i32 %3) {
%5 = icmp eq i32 %3, 0
%6 = icmp eq i32 %2, 0
%7 = select i1 %6, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.1, i64 0, i64 0)
%8 = select i1 %5, i8* getelementptr inbounds ([53 x i8], [53 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([64 x i8], [64 x i8]* @.str.3, i64 0, i64 0)
%9 = tail call i32 @fprintf(i32* %0, i8* %8, i8* %1, i8* %7)
ret void
}