#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 *, int);
void uninitvar_fprintf(FILE *Stream, char *Format, int Argument) {
  FILE *stream;
  char *format1, *format2;
  int argument1, argument2;
  (void)fprintf(stream, format1, argument1);
  (void)fprintf(stream, Format, Argument);
  (void)fprintf(Stream, format2, Argument);
  (void)fprintf(Stream, Format, argument2);
  (void)fprintf(Stream, Format, Argument);
}


x86 assembly (clang, -O0):
<uninitvar_fprintf>:
push   %rbp
mov    %rsp,%rbp
sub    $0x40,%rsp
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    %edx,-0x14(%rbp)
mov    -0x20(%rbp),%rdi
mov    -0x28(%rbp),%rsi
mov    -0x34(%rbp),%edx
call   1030 <fprintf@plt>
mov    -0x20(%rbp),%rdi
mov    -0x10(%rbp),%rsi
mov    -0x14(%rbp),%edx
call   1030 <fprintf@plt>
mov    -0x8(%rbp),%rdi
mov    -0x30(%rbp),%rsi
mov    -0x14(%rbp),%edx
call   1030 <fprintf@plt>
mov    -0x8(%rbp),%rdi
mov    -0x10(%rbp),%rsi
mov    -0x38(%rbp),%edx
call   1030 <fprintf@plt>
mov    -0x8(%rbp),%rdi
mov    -0x10(%rbp),%rsi
mov    -0x14(%rbp),%edx
call   1030 <fprintf@plt>
add    $0x40,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<uninitvar_fprintf>:
push   %rbp
push   %r14
push   %rbx
mov    %edx,%r14d
mov    %rsi,%rbx
mov    %rdi,%rbp
call   1030 <fprintf@plt>
mov    %rbx,%rsi
mov    %r14d,%edx
call   1030 <fprintf@plt>
mov    %rbp,%rdi
mov    %r14d,%edx
call   1030 <fprintf@plt>
mov    %rbp,%rdi
mov    %rbx,%rsi
call   1030 <fprintf@plt>
mov    %rbp,%rdi
mov    %rbx,%rsi
mov    %r14d,%edx
pop    %rbx
pop    %r14
pop    %rbp
jmp    1030 <fprintf@plt>

LLVM IR (-O0):
define void @uninitvar_fprintf(i32* %0, i8* %1, i32 %2) {
%4 = alloca i32*
%5 = alloca i8*
%6 = alloca i32
%7 = alloca i32*
%8 = alloca i8*
%9 = alloca i8*
%10 = alloca i32
%11 = alloca i32
store i32* %0, i32** %4
store i8* %1, i8** %5
store i32 %2, i32* %6
%12 = load i32*, i32** %7
%13 = load i8*, i8** %8
%14 = load i32, i32* %10
%15 = call i32 @fprintf(i32* %12, i8* %13, i32 %14)
%16 = load i32*, i32** %7
%17 = load i8*, i8** %5
%18 = load i32, i32* %6
%19 = call i32 @fprintf(i32* %16, i8* %17, i32 %18)
%20 = load i32*, i32** %4
%21 = load i8*, i8** %9
%22 = load i32, i32* %6
%23 = call i32 @fprintf(i32* %20, i8* %21, i32 %22)
%24 = load i32*, i32** %4
%25 = load i8*, i8** %5
%26 = load i32, i32* %11
%27 = call i32 @fprintf(i32* %24, i8* %25, i32 %26)
%28 = load i32*, i32** %4
%29 = load i8*, i8** %5
%30 = load i32, i32* %6
%31 = call i32 @fprintf(i32* %28, i8* %29, i32 %30)
ret void
}

LLVM IR (-O2):
define void @uninitvar_fprintf(i32* nocapture %0, i8* nocapture %1, i32 %2) {
%4 = tail call i32 @fprintf(i32* undef, i8* undef, i32 undef)
%5 = tail call i32 @fprintf(i32* undef, i8* %1, i32 %2)
%6 = tail call i32 @fprintf(i32* %0, i8* undef, i32 %2)
%7 = tail call i32 @fprintf(i32* %0, i8* %1, i32 undef)
%8 = tail call i32 @fprintf(i32* %0, i8* %1, i32 %2)
ret void
}