#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 *);
void dd_WriteProgramDescription(FILE *f) {
  fprintf(f, "* cddlib: a double description library:%s\n",
          "Version 0.94g (March 23, 2012)");
  fprintf(f, "* compiled for %s arithmetic.\n", "C double");
  fprintf(f, "* %s\n",
          "Copyright (C) 1996, Komei Fukuda, fukuda@ifor.math.ethz.ch");
}


x86 assembly (clang, -O0):
<dd_WriteProgramDescription>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
mov    %rdi,-0x8(%rbp)
mov    -0x8(%rbp),%rdi
lea    0xed9(%rip),%rsi
lea    0xefd(%rip),%rdx
call   1030 <fprintf@plt>
mov    -0x8(%rbp),%rdi
lea    0xf0c(%rip),%rsi
lea    0xf24(%rip),%rdx
call   1030 <fprintf@plt>
mov    -0x8(%rbp),%rdi
lea    0xf1d(%rip),%rsi
lea    0xf1c(%rip),%rdx
call   1030 <fprintf@plt>
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<dd_WriteProgramDescription>:
push   %rbx
mov    %rdi,%rbx
lea    0xee5(%rip),%rsi
lea    0xf09(%rip),%rdx
call   1030 <fprintf@plt>
lea    0xf1c(%rip),%rsi
lea    0xf34(%rip),%rdx
mov    %rbx,%rdi
call   1030 <fprintf@plt>
lea    0xf2e(%rip),%rsi
lea    0xf2d(%rip),%rdx
mov    %rbx,%rdi
pop    %rbx
jmp    1030 <fprintf@plt>

LLVM IR (-O0):
@.str = [43 x i8] c"* cddlib: a double description library:%s\0A\00"
@.str.1 = [31 x i8] c"Version 0.94g (March 23, 2012)\00"
@.str.2 = [31 x i8] c"* compiled for %s arithmetic.\0A\00"
@.str.3 = [9 x i8] c"C double\00"
@.str.4 = [6 x i8] c"* %s\0A\00"
@.str.5 = [59 x i8] c"Copyright (C) 1996, Komei Fukuda, fukuda@ifor.math.ethz.ch\00"
define void @dd_WriteProgramDescription(i32* %0) {
%2 = alloca i32*
store i32* %0, i32** %2
%3 = load i32*, i32** %2
%4 = call i32 @fprintf(i32* %3, i8* getelementptr inbounds ([43 x i8], [43 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.1, i64 0, i64 0))
%5 = load i32*, i32** %2
%6 = call i32 @fprintf(i32* %5, i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.3, i64 0, i64 0))
%7 = load i32*, i32** %2
%8 = call i32 @fprintf(i32* %7, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([59 x i8], [59 x i8]* @.str.5, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@.str = [43 x i8] c"* cddlib: a double description library:%s\0A\00"
@.str.1 = [31 x i8] c"Version 0.94g (March 23, 2012)\00"
@.str.2 = [31 x i8] c"* compiled for %s arithmetic.\0A\00"
@.str.3 = [9 x i8] c"C double\00"
@.str.4 = [6 x i8] c"* %s\0A\00"
@.str.5 = [59 x i8] c"Copyright (C) 1996, Komei Fukuda, fukuda@ifor.math.ethz.ch\00"
define void @dd_WriteProgramDescription(i32* nocapture %0) {
%2 = tail call i32 @fprintf(i32* %0, i8* getelementptr inbounds ([43 x i8], [43 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.1, i64 0, i64 0))
%3 = tail call i32 @fprintf(i32* %0, i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.3, i64 0, i64 0))
%4 = tail call i32 @fprintf(i32* %0, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([59 x i8], [59 x i8]* @.str.5, i64 0, i64 0))
ret void
}