#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*/ wchar_t;
typedef int /*<<< orphan*/ va_list;
typedef int /*<<< orphan*/ FILE;

/* Variables and functions */
int /*<<< orphan*/ vfwprintf(int /*<<< orphan*/ *, int /*<<< orphan*/ *,
                             int /*<<< orphan*/);
void uninitvar_vfwprintf(FILE *Stream, wchar_t *Format, va_list Arg) {
  FILE *stream;
  wchar_t *format1, *format2;
  va_list arg;
  (void)vfwprintf(stream, format1, arg);
  (void)vfwprintf(stream, Format, Arg);
  (void)vfwprintf(Stream, format2, Arg);
  (void)vfwprintf(Stream, Format, Arg);
  (void)vfwprintf(Stream, Format, arg);
}


x86 assembly (clang, -O0):
<uninitvar_vfwprintf>:
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 <vfwprintf@plt>
mov    -0x20(%rbp),%rdi
mov    -0x10(%rbp),%rsi
mov    -0x14(%rbp),%edx
call   1030 <vfwprintf@plt>
mov    -0x8(%rbp),%rdi
mov    -0x30(%rbp),%rsi
mov    -0x14(%rbp),%edx
call   1030 <vfwprintf@plt>
mov    -0x8(%rbp),%rdi
mov    -0x10(%rbp),%rsi
mov    -0x14(%rbp),%edx
call   1030 <vfwprintf@plt>
mov    -0x8(%rbp),%rdi
mov    -0x10(%rbp),%rsi
mov    -0x34(%rbp),%edx
call   1030 <vfwprintf@plt>
add    $0x40,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<uninitvar_vfwprintf>:
push   %r15
push   %r14
push   %rbx
mov    %edx,%ebx
mov    %rsi,%r14
mov    %rdi,%r15
call   1030 <vfwprintf@plt>
mov    %r14,%rsi
mov    %ebx,%edx
call   1030 <vfwprintf@plt>
mov    %r15,%rdi
mov    %ebx,%edx
call   1030 <vfwprintf@plt>
mov    %r15,%rdi
mov    %r14,%rsi
mov    %ebx,%edx
call   1030 <vfwprintf@plt>
mov    %r15,%rdi
mov    %r14,%rsi
pop    %rbx
pop    %r14
pop    %r15
jmp    1030 <vfwprintf@plt>

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

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