#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 */

/* Variables and functions */
int /*<<< orphan*/ readimFromIndex(char *);
read_PV() {
  readimFromIndex("pvgif/pv.99020112.gif");
  readimFromIndex("pvgif/pv.99020212.gif");
  readimFromIndex("pvgif/pv.99020312.gif");
  readimFromIndex("pvgif/pv.99020412.gif");
  readimFromIndex("pvgif/pv.99020512.gif");
  readimFromIndex("pvgif/pv.99020612.gif");
  readimFromIndex("pvgif/pv.99020712.gif");
  readimFromIndex("pvgif/pv.99020812.gif");
  readimFromIndex("pvgif/pv.99020912.gif");
  readimFromIndex("pvgif/pv.99021012.gif");
}


x86 assembly (clang, -O0):
<read_PV>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
lea    0xee1(%rip),%rdi
call   1030 <readimFromIndex@plt>
lea    0xeeb(%rip),%rdi
call   1030 <readimFromIndex@plt>
lea    0xef5(%rip),%rdi
call   1030 <readimFromIndex@plt>
lea    0xeff(%rip),%rdi
call   1030 <readimFromIndex@plt>
lea    0xf09(%rip),%rdi
call   1030 <readimFromIndex@plt>
lea    0xf13(%rip),%rdi
call   1030 <readimFromIndex@plt>
lea    0xf1d(%rip),%rdi
call   1030 <readimFromIndex@plt>
lea    0xf27(%rip),%rdi
call   1030 <readimFromIndex@plt>
lea    0xf31(%rip),%rdi
call   1030 <readimFromIndex@plt>
lea    0xf3b(%rip),%rdi
call   1030 <readimFromIndex@plt>
mov    -0x4(%rbp),%eax
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<read_PV>:
push   %rax
lea    0xee8(%rip),%rdi
call   1030 <readimFromIndex@plt>
lea    0xef2(%rip),%rdi
call   1030 <readimFromIndex@plt>
lea    0xefc(%rip),%rdi
call   1030 <readimFromIndex@plt>
lea    0xf06(%rip),%rdi
call   1030 <readimFromIndex@plt>
lea    0xf10(%rip),%rdi
call   1030 <readimFromIndex@plt>
lea    0xf1a(%rip),%rdi
call   1030 <readimFromIndex@plt>
lea    0xf24(%rip),%rdi
call   1030 <readimFromIndex@plt>
lea    0xf2e(%rip),%rdi
call   1030 <readimFromIndex@plt>
lea    0xf38(%rip),%rdi
call   1030 <readimFromIndex@plt>
lea    0xf42(%rip),%rdi
pop    %rax
jmp    1030 <readimFromIndex@plt>

LLVM IR (-O0):
@.str = [22 x i8] c"pvgif/pv.99020112.gif\00"
@.str.1 = [22 x i8] c"pvgif/pv.99020212.gif\00"
@.str.2 = [22 x i8] c"pvgif/pv.99020312.gif\00"
@.str.3 = [22 x i8] c"pvgif/pv.99020412.gif\00"
@.str.4 = [22 x i8] c"pvgif/pv.99020512.gif\00"
@.str.5 = [22 x i8] c"pvgif/pv.99020612.gif\00"
@.str.6 = [22 x i8] c"pvgif/pv.99020712.gif\00"
@.str.7 = [22 x i8] c"pvgif/pv.99020812.gif\00"
@.str.8 = [22 x i8] c"pvgif/pv.99020912.gif\00"
@.str.9 = [22 x i8] c"pvgif/pv.99021012.gif\00"
define i32 @read_PV() {
%1 = alloca i32
%2 = call i32 @readimFromIndex(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str, i64 0, i64 0))
%3 = call i32 @readimFromIndex(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.1, i64 0, i64 0))
%4 = call i32 @readimFromIndex(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.2, i64 0, i64 0))
%5 = call i32 @readimFromIndex(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.3, i64 0, i64 0))
%6 = call i32 @readimFromIndex(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.4, i64 0, i64 0))
%7 = call i32 @readimFromIndex(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.5, i64 0, i64 0))
%8 = call i32 @readimFromIndex(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.6, i64 0, i64 0))
%9 = call i32 @readimFromIndex(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.7, i64 0, i64 0))
%10 = call i32 @readimFromIndex(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.8, i64 0, i64 0))
%11 = call i32 @readimFromIndex(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.9, i64 0, i64 0))
%12 = load i32, i32* %1
ret i32 %12
}

LLVM IR (-O2):
@.str = [22 x i8] c"pvgif/pv.99020112.gif\00"
@.str.1 = [22 x i8] c"pvgif/pv.99020212.gif\00"
@.str.2 = [22 x i8] c"pvgif/pv.99020312.gif\00"
@.str.3 = [22 x i8] c"pvgif/pv.99020412.gif\00"
@.str.4 = [22 x i8] c"pvgif/pv.99020512.gif\00"
@.str.5 = [22 x i8] c"pvgif/pv.99020612.gif\00"
@.str.6 = [22 x i8] c"pvgif/pv.99020712.gif\00"
@.str.7 = [22 x i8] c"pvgif/pv.99020812.gif\00"
@.str.8 = [22 x i8] c"pvgif/pv.99020912.gif\00"
@.str.9 = [22 x i8] c"pvgif/pv.99021012.gif\00"
define i32 @read_PV() {
%1 = tail call i32 @readimFromIndex(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str, i64 0, i64 0))
%2 = tail call i32 @readimFromIndex(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.1, i64 0, i64 0))
%3 = tail call i32 @readimFromIndex(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.2, i64 0, i64 0))
%4 = tail call i32 @readimFromIndex(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.3, i64 0, i64 0))
%5 = tail call i32 @readimFromIndex(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.4, i64 0, i64 0))
%6 = tail call i32 @readimFromIndex(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.5, i64 0, i64 0))
%7 = tail call i32 @readimFromIndex(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.6, i64 0, i64 0))
%8 = tail call i32 @readimFromIndex(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.7, i64 0, i64 0))
%9 = tail call i32 @readimFromIndex(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.8, i64 0, i64 0))
%10 = tail call i32 @readimFromIndex(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.9, i64 0, i64 0))
ret i32 undef
}