#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 */
unsigned int rand();
void main() {
  unsigned char TextureMap[4][128];
  unsigned ColorLookupTable[4][4];
  unsigned dwUVal;
  unsigned dwVVal;
  unsigned lpRGBOut[4];
  unsigned dwUDelta;
  unsigned dwVDelta;
  unsigned dwUInt;
  unsigned dwVInt;
  unsigned *RGB1;
  unsigned *RGB2;
  unsigned *RGB3;
  unsigned *RGB4;
  unsigned lpRGBOutR1;
  unsigned lpRGBOutR2;
  unsigned lpRGBOutR3;
  unsigned lpRGBOutR4;
  unsigned lpRGBOutG1;
  unsigned lpRGBOutG2;
  unsigned lpRGBOutG3;
  unsigned lpRGBOutG4;
  unsigned lpRGBOutB1;
  unsigned lpRGBOutB2;
  unsigned lpRGBOutB3;
  unsigned lpRGBOutB4;
  unsigned w1, w2, w3, w4;
  unsigned dwTemp1, dwTemp2, dwTemp3, dwTemp4;
  unsigned tmp;
  dwUVal = rand();
  dwVVal = rand();
  tmp = (dwUVal & 0x003fffffL);
  dwUDelta = tmp >> 6;
  dwVDelta = (dwVVal & 0x003fffffL) >> 6;
  dwUInt = dwUVal >> 22;
  dwVInt = dwVVal >> 22;
  RGB1 = ColorLookupTable[TextureMap[dwVInt][dwUInt]];
  RGB2 = ColorLookupTable[TextureMap[dwVInt][dwUInt + 1]];
  RGB3 = ColorLookupTable[TextureMap[dwVInt + 1][dwUInt]];
  RGB4 = ColorLookupTable[TextureMap[dwVInt + 1][dwUInt + 1]];
  dwTemp1 = (0x10000L - dwUDelta) * (0x10000L - dwVDelta);
  dwTemp2 = dwUDelta * (0x10000L - dwVDelta);
  dwTemp3 = (0x10000L - dwUDelta) * dwVDelta;
  dwTemp4 = dwUDelta * dwVDelta;
  dwTemp1 = dwTemp1 >> 16;
  dwTemp2 = dwTemp2 >> 16;
  dwTemp3 = dwTemp3 >> 16;
  dwTemp4 = dwTemp4 >> 16;
  w1 = (RGB1[2] >> 7) & 0xff;
  w2 = (RGB2[2] >> 7) & 0xff;
  w3 = (RGB3[2] >> 7) & 0xff;
  w4 = (RGB4[2] >> 7) & 0xff;
  lpRGBOutB1 = ((w1 * dwTemp1) >> 16);
  lpRGBOutB2 = ((w2 * dwTemp2) >> 16);
  lpRGBOutB3 = ((w3 * dwTemp3) >> 16);
  lpRGBOutB4 = ((w4 * dwTemp4) >> 16);
  lpRGBOut[2] = lpRGBOutB1 + lpRGBOutB2 + lpRGBOutB3 + lpRGBOutB4;
  w1 = (RGB1[1] >> 7) & 0xff;
  w2 = (RGB2[1] >> 7) & 0xff;
  w3 = (RGB3[1] >> 7) & 0xff;
  w4 = (RGB4[1] >> 7) & 0xff;
  lpRGBOutG1 = ((w1 * dwTemp1) >> 16);
  lpRGBOutG2 = ((w2 * dwTemp2) >> 16);
  lpRGBOutG3 = ((w3 * dwTemp3) >> 16);
  lpRGBOutG4 = ((w4 * dwTemp4) >> 16);
  lpRGBOut[1] = lpRGBOutG1 + lpRGBOutG2 + lpRGBOutG3 + lpRGBOutG4;
  w1 = (RGB1[0] >> 7) & 0xff;
  w2 = (RGB2[0] >> 7) & 0xff;
  w3 = (RGB3[0] >> 7) & 0xff;
  w4 = (RGB4[0] >> 7) & 0xff;
  lpRGBOutR1 = ((w1 * dwTemp1) >> 16);
  lpRGBOutR2 = ((w2 * dwTemp2) >> 16);
  lpRGBOutR3 = ((w2 * dwTemp3) >> 16);
  lpRGBOutR4 = ((w2 * dwTemp4) >> 16);
  lpRGBOut[0] = lpRGBOutG1 + lpRGBOutG2 + lpRGBOutG3 + lpRGBOutG4;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x2f0,%rsp
mov    $0x0,%al
call   1030 <rand@plt>
mov    %eax,-0x244(%rbp)
mov    $0x0,%al
call   1030 <rand@plt>
mov    %eax,-0x248(%rbp)
mov    -0x244(%rbp),%eax
and    $0x3fffff,%rax
mov    %eax,-0x2e4(%rbp)
mov    -0x2e4(%rbp),%eax
shr    $0x6,%eax
mov    %eax,-0x264(%rbp)
mov    -0x248(%rbp),%eax
and    $0x3fffff,%rax
sar    $0x6,%rax
mov    %eax,-0x268(%rbp)
mov    -0x244(%rbp),%eax
shr    $0x16,%eax
mov    %eax,-0x26c(%rbp)
mov    -0x248(%rbp),%eax
shr    $0x16,%eax
mov    %eax,-0x270(%rbp)
mov    -0x270(%rbp),%eax
mov    %eax,%ecx
lea    -0x200(%rbp),%rax
shl    $0x7,%rcx
add    %rcx,%rax
mov    -0x26c(%rbp),%ecx
movzbl (%rax,%rcx,1),%eax
mov    %eax,%ecx
lea    -0x240(%rbp),%rax
shl    $0x4,%rcx
add    %rcx,%rax
mov    %rax,-0x278(%rbp)
mov    -0x270(%rbp),%eax
mov    %eax,%ecx
lea    -0x200(%rbp),%rax
shl    $0x7,%rcx
add    %rcx,%rax
mov    -0x26c(%rbp),%ecx
add    $0x1,%ecx
mov    %ecx,%ecx
movzbl (%rax,%rcx,1),%eax
mov    %eax,%ecx
lea    -0x240(%rbp),%rax
shl    $0x4,%rcx
add    %rcx,%rax
mov    %rax,-0x280(%rbp)
mov    -0x270(%rbp),%eax
add    $0x1,%eax
mov    %eax,%eax
mov    %eax,%ecx
lea    -0x200(%rbp),%rax
shl    $0x7,%rcx
add    %rcx,%rax
mov    -0x26c(%rbp),%ecx
movzbl (%rax,%rcx,1),%eax
mov    %eax,%ecx
lea    -0x240(%rbp),%rax
shl    $0x4,%rcx
add    %rcx,%rax
mov    %rax,-0x288(%rbp)
mov    -0x270(%rbp),%eax
add    $0x1,%eax
mov    %eax,%eax
mov    %eax,%ecx
lea    -0x200(%rbp),%rax
shl    $0x7,%rcx
add    %rcx,%rax
mov    -0x26c(%rbp),%ecx
add    $0x1,%ecx
mov    %ecx,%ecx
movzbl (%rax,%rcx,1),%eax
mov    %eax,%ecx
lea    -0x240(%rbp),%rax
shl    $0x4,%rcx
add    %rcx,%rax
mov    %rax,-0x290(%rbp)
mov    -0x264(%rbp),%eax
mov    %eax,%ecx
mov    $0x10000,%eax
sub    %rcx,%rax
mov    -0x268(%rbp),%ecx
mov    %ecx,%edx
mov    $0x10000,%ecx
sub    %rdx,%rcx
imul   %rcx,%rax
mov    %eax,-0x2d4(%rbp)
mov    -0x264(%rbp),%eax
mov    -0x268(%rbp),%ecx
mov    %ecx,%edx
mov    $0x10000,%ecx
sub    %rdx,%rcx
imul   %rcx,%rax
mov    %eax,-0x2d8(%rbp)
mov    -0x264(%rbp),%eax
mov    %eax,%ecx
mov    $0x10000,%eax
sub    %rcx,%rax
mov    -0x268(%rbp),%ecx
imul   %rcx,%rax
mov    %eax,-0x2dc(%rbp)
mov    -0x264(%rbp),%eax
imul   -0x268(%rbp),%eax
mov    %eax,-0x2e0(%rbp)
mov    -0x2d4(%rbp),%eax
shr    $0x10,%eax
mov    %eax,-0x2d4(%rbp)
mov    -0x2d8(%rbp),%eax
shr    $0x10,%eax
mov    %eax,-0x2d8(%rbp)
mov    -0x2dc(%rbp),%eax
shr    $0x10,%eax
mov    %eax,-0x2dc(%rbp)
mov    -0x2e0(%rbp),%eax
shr    $0x10,%eax
mov    %eax,-0x2e0(%rbp)
mov    -0x278(%rbp),%rax
mov    0x8(%rax),%eax
shr    $0x7,%eax
and    $0xff,%eax
mov    %eax,-0x2c4(%rbp)
mov    -0x280(%rbp),%rax
mov    0x8(%rax),%eax
shr    $0x7,%eax
and    $0xff,%eax
mov    %eax,-0x2c8(%rbp)
mov    -0x288(%rbp),%rax
mov    0x8(%rax),%eax
shr    $0x7,%eax
and    $0xff,%eax
mov    %eax,-0x2cc(%rbp)
mov    -0x290(%rbp),%rax
mov    0x8(%rax),%eax
shr    $0x7,%eax
and    $0xff,%eax
mov    %eax,-0x2d0(%rbp)
mov    -0x2c4(%rbp),%eax
imul   -0x2d4(%rbp),%eax
shr    $0x10,%eax
mov    %eax,-0x2b4(%rbp)
mov    -0x2c8(%rbp),%eax
imul   -0x2d8(%rbp),%eax
shr    $0x10,%eax
mov    %eax,-0x2b8(%rbp)
mov    -0x2cc(%rbp),%eax
imul   -0x2dc(%rbp),%eax
shr    $0x10,%eax
mov    %eax,-0x2bc(%rbp)
mov    -0x2d0(%rbp),%eax
imul   -0x2e0(%rbp),%eax
shr    $0x10,%eax
mov    %eax,-0x2c0(%rbp)
mov    -0x2b4(%rbp),%eax
add    -0x2b8(%rbp),%eax
add    -0x2bc(%rbp),%eax
add    -0x2c0(%rbp),%eax
mov    %eax,-0x258(%rbp)
mov    -0x278(%rbp),%rax
mov    0x4(%rax),%eax
shr    $0x7,%eax
and    $0xff,%eax
mov    %eax,-0x2c4(%rbp)
mov    -0x280(%rbp),%rax
mov    0x4(%rax),%eax
shr    $0x7,%eax
and    $0xff,%eax
mov    %eax,-0x2c8(%rbp)
mov    -0x288(%rbp),%rax
mov    0x4(%rax),%eax
shr    $0x7,%eax
and    $0xff,%eax
mov    %eax,-0x2cc(%rbp)
mov    -0x290(%rbp),%rax
mov    0x4(%rax),%eax
shr    $0x7,%eax
and    $0xff,%eax
mov    %eax,-0x2d0(%rbp)
mov    -0x2c4(%rbp),%eax
imul   -0x2d4(%rbp),%eax
shr    $0x10,%eax
mov    %eax,-0x2a4(%rbp)
mov    -0x2c8(%rbp),%eax
imul   -0x2d8(%rbp),%eax
shr    $0x10,%eax
mov    %eax,-0x2a8(%rbp)
mov    -0x2cc(%rbp),%eax
imul   -0x2dc(%rbp),%eax
shr    $0x10,%eax
mov    %eax,-0x2ac(%rbp)
mov    -0x2d0(%rbp),%eax
imul   -0x2e0(%rbp),%eax
shr    $0x10,%eax
mov    %eax,-0x2b0(%rbp)
mov    -0x2a4(%rbp),%eax
add    -0x2a8(%rbp),%eax
add    -0x2ac(%rbp),%eax
add    -0x2b0(%rbp),%eax
mov    %eax,-0x25c(%rbp)
mov    -0x278(%rbp),%rax
mov    (%rax),%eax
shr    $0x7,%eax
and    $0xff,%eax
mov    %eax,-0x2c4(%rbp)
mov    -0x280(%rbp),%rax
mov    (%rax),%eax
shr    $0x7,%eax
and    $0xff,%eax
mov    %eax,-0x2c8(%rbp)
mov    -0x288(%rbp),%rax
mov    (%rax),%eax
shr    $0x7,%eax
and    $0xff,%eax
mov    %eax,-0x2cc(%rbp)
mov    -0x290(%rbp),%rax
mov    (%rax),%eax
shr    $0x7,%eax
and    $0xff,%eax
mov    %eax,-0x2d0(%rbp)
mov    -0x2c4(%rbp),%eax
imul   -0x2d4(%rbp),%eax
shr    $0x10,%eax
mov    %eax,-0x294(%rbp)
mov    -0x2c8(%rbp),%eax
imul   -0x2d8(%rbp),%eax
shr    $0x10,%eax
mov    %eax,-0x298(%rbp)
mov    -0x2c8(%rbp),%eax
imul   -0x2dc(%rbp),%eax
shr    $0x10,%eax
mov    %eax,-0x29c(%rbp)
mov    -0x2c8(%rbp),%eax
imul   -0x2e0(%rbp),%eax
shr    $0x10,%eax
mov    %eax,-0x2a0(%rbp)
mov    -0x2a4(%rbp),%eax
add    -0x2a8(%rbp),%eax
add    -0x2ac(%rbp),%eax
add    -0x2b0(%rbp),%eax
mov    %eax,-0x260(%rbp)
add    $0x2f0,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rax
xor    %eax,%eax
call   1030 <rand@plt>
xor    %eax,%eax
pop    %rcx
jmp    1030 <rand@plt>

LLVM IR (-O0):
define void @main() {
%1 = alloca [4 x [128 x i8]]
%2 = alloca [4 x [4 x i32]]
%3 = alloca i32
%4 = alloca i32
%5 = alloca [4 x i32]
%6 = alloca i32
%7 = alloca i32
%8 = alloca i32
%9 = alloca i32
%10 = alloca i32*
%11 = alloca i32*
%12 = alloca i32*
%13 = alloca i32*
%14 = alloca i32
%15 = alloca i32
%16 = alloca i32
%17 = alloca i32
%18 = alloca i32
%19 = alloca i32
%20 = alloca i32
%21 = alloca i32
%22 = alloca i32
%23 = alloca i32
%24 = alloca i32
%25 = alloca i32
%26 = alloca i32
%27 = alloca i32
%28 = alloca i32
%29 = alloca i32
%30 = alloca i32
%31 = alloca i32
%32 = alloca i32
%33 = alloca i32
%34 = alloca i32
%35 = call i32 (...) @rand()
store i32 %35, i32* %3
%36 = call i32 (...) @rand()
store i32 %36, i32* %4
%37 = load i32, i32* %3
%38 = zext i32 %37 to i64
%39 = and i64 %38, 4194303
%40 = trunc i64 %39 to i32
store i32 %40, i32* %34
%41 = load i32, i32* %34
%42 = lshr i32 %41, 6
store i32 %42, i32* %6
%43 = load i32, i32* %4
%44 = zext i32 %43 to i64
%45 = and i64 %44, 4194303
%46 = ashr i64 %45, 6
%47 = trunc i64 %46 to i32
store i32 %47, i32* %7
%48 = load i32, i32* %3
%49 = lshr i32 %48, 22
store i32 %49, i32* %8
%50 = load i32, i32* %4
%51 = lshr i32 %50, 22
store i32 %51, i32* %9
%52 = load i32, i32* %9
%53 = zext i32 %52 to i64
%54 = getelementptr inbounds [4 x [128 x i8]], [4 x [128 x i8]]* %1, i64 0, i64 %53
%55 = load i32, i32* %8
%56 = zext i32 %55 to i64
%57 = getelementptr inbounds [128 x i8], [128 x i8]* %54, i64 0, i64 %56
%58 = load i8, i8* %57
%59 = zext i8 %58 to i64
%60 = getelementptr inbounds [4 x [4 x i32]], [4 x [4 x i32]]* %2, i64 0, i64 %59
%61 = getelementptr inbounds [4 x i32], [4 x i32]* %60, i64 0, i64 0
store i32* %61, i32** %10
%62 = load i32, i32* %9
%63 = zext i32 %62 to i64
%64 = getelementptr inbounds [4 x [128 x i8]], [4 x [128 x i8]]* %1, i64 0, i64 %63
%65 = load i32, i32* %8
%66 = add i32 %65, 1
%67 = zext i32 %66 to i64
%68 = getelementptr inbounds [128 x i8], [128 x i8]* %64, i64 0, i64 %67
%69 = load i8, i8* %68
%70 = zext i8 %69 to i64
%71 = getelementptr inbounds [4 x [4 x i32]], [4 x [4 x i32]]* %2, i64 0, i64 %70
%72 = getelementptr inbounds [4 x i32], [4 x i32]* %71, i64 0, i64 0
store i32* %72, i32** %11
%73 = load i32, i32* %9
%74 = add i32 %73, 1
%75 = zext i32 %74 to i64
%76 = getelementptr inbounds [4 x [128 x i8]], [4 x [128 x i8]]* %1, i64 0, i64 %75
%77 = load i32, i32* %8
%78 = zext i32 %77 to i64
%79 = getelementptr inbounds [128 x i8], [128 x i8]* %76, i64 0, i64 %78
%80 = load i8, i8* %79
%81 = zext i8 %80 to i64
%82 = getelementptr inbounds [4 x [4 x i32]], [4 x [4 x i32]]* %2, i64 0, i64 %81
%83 = getelementptr inbounds [4 x i32], [4 x i32]* %82, i64 0, i64 0
store i32* %83, i32** %12
%84 = load i32, i32* %9
%85 = add i32 %84, 1
%86 = zext i32 %85 to i64
%87 = getelementptr inbounds [4 x [128 x i8]], [4 x [128 x i8]]* %1, i64 0, i64 %86
%88 = load i32, i32* %8
%89 = add i32 %88, 1
%90 = zext i32 %89 to i64
%91 = getelementptr inbounds [128 x i8], [128 x i8]* %87, i64 0, i64 %90
%92 = load i8, i8* %91
%93 = zext i8 %92 to i64
%94 = getelementptr inbounds [4 x [4 x i32]], [4 x [4 x i32]]* %2, i64 0, i64 %93
%95 = getelementptr inbounds [4 x i32], [4 x i32]* %94, i64 0, i64 0
store i32* %95, i32** %13
%96 = load i32, i32* %6
%97 = zext i32 %96 to i64
%98 = sub nsw i64 65536, %97
%99 = load i32, i32* %7
%100 = zext i32 %99 to i64
%101 = sub nsw i64 65536, %100
%102 = mul nsw i64 %98, %101
%103 = trunc i64 %102 to i32
store i32 %103, i32* %30
%104 = load i32, i32* %6
%105 = zext i32 %104 to i64
%106 = load i32, i32* %7
%107 = zext i32 %106 to i64
%108 = sub nsw i64 65536, %107
%109 = mul nsw i64 %105, %108
%110 = trunc i64 %109 to i32
store i32 %110, i32* %31
%111 = load i32, i32* %6
%112 = zext i32 %111 to i64
%113 = sub nsw i64 65536, %112
%114 = load i32, i32* %7
%115 = zext i32 %114 to i64
%116 = mul nsw i64 %113, %115
%117 = trunc i64 %116 to i32
store i32 %117, i32* %32
%118 = load i32, i32* %6
%119 = load i32, i32* %7
%120 = mul i32 %118, %119
store i32 %120, i32* %33
%121 = load i32, i32* %30
%122 = lshr i32 %121, 16
store i32 %122, i32* %30
%123 = load i32, i32* %31
%124 = lshr i32 %123, 16
store i32 %124, i32* %31
%125 = load i32, i32* %32
%126 = lshr i32 %125, 16
store i32 %126, i32* %32
%127 = load i32, i32* %33
%128 = lshr i32 %127, 16
store i32 %128, i32* %33
%129 = load i32*, i32** %10
%130 = getelementptr inbounds i32, i32* %129, i64 2
%131 = load i32, i32* %130
%132 = lshr i32 %131, 7
%133 = and i32 %132, 255
store i32 %133, i32* %26
%134 = load i32*, i32** %11
%135 = getelementptr inbounds i32, i32* %134, i64 2
%136 = load i32, i32* %135
%137 = lshr i32 %136, 7
%138 = and i32 %137, 255
store i32 %138, i32* %27
%139 = load i32*, i32** %12
%140 = getelementptr inbounds i32, i32* %139, i64 2
%141 = load i32, i32* %140
%142 = lshr i32 %141, 7
%143 = and i32 %142, 255
store i32 %143, i32* %28
%144 = load i32*, i32** %13
%145 = getelementptr inbounds i32, i32* %144, i64 2
%146 = load i32, i32* %145
%147 = lshr i32 %146, 7
%148 = and i32 %147, 255
store i32 %148, i32* %29
%149 = load i32, i32* %26
%150 = load i32, i32* %30
%151 = mul i32 %149, %150
%152 = lshr i32 %151, 16
store i32 %152, i32* %22
%153 = load i32, i32* %27
%154 = load i32, i32* %31
%155 = mul i32 %153, %154
%156 = lshr i32 %155, 16
store i32 %156, i32* %23
%157 = load i32, i32* %28
%158 = load i32, i32* %32
%159 = mul i32 %157, %158
%160 = lshr i32 %159, 16
store i32 %160, i32* %24
%161 = load i32, i32* %29
%162 = load i32, i32* %33
%163 = mul i32 %161, %162
%164 = lshr i32 %163, 16
store i32 %164, i32* %25
%165 = load i32, i32* %22
%166 = load i32, i32* %23
%167 = add i32 %165, %166
%168 = load i32, i32* %24
%169 = add i32 %167, %168
%170 = load i32, i32* %25
%171 = add i32 %169, %170
%172 = getelementptr inbounds [4 x i32], [4 x i32]* %5, i64 0, i64 2
store i32 %171, i32* %172
%173 = load i32*, i32** %10
%174 = getelementptr inbounds i32, i32* %173, i64 1
%175 = load i32, i32* %174
%176 = lshr i32 %175, 7
%177 = and i32 %176, 255
store i32 %177, i32* %26
%178 = load i32*, i32** %11
%179 = getelementptr inbounds i32, i32* %178, i64 1
%180 = load i32, i32* %179
%181 = lshr i32 %180, 7
%182 = and i32 %181, 255
store i32 %182, i32* %27
%183 = load i32*, i32** %12
%184 = getelementptr inbounds i32, i32* %183, i64 1
%185 = load i32, i32* %184
%186 = lshr i32 %185, 7
%187 = and i32 %186, 255
store i32 %187, i32* %28
%188 = load i32*, i32** %13
%189 = getelementptr inbounds i32, i32* %188, i64 1
%190 = load i32, i32* %189
%191 = lshr i32 %190, 7
%192 = and i32 %191, 255
store i32 %192, i32* %29
%193 = load i32, i32* %26
%194 = load i32, i32* %30
%195 = mul i32 %193, %194
%196 = lshr i32 %195, 16
store i32 %196, i32* %18
%197 = load i32, i32* %27
%198 = load i32, i32* %31
%199 = mul i32 %197, %198
%200 = lshr i32 %199, 16
store i32 %200, i32* %19
%201 = load i32, i32* %28
%202 = load i32, i32* %32
%203 = mul i32 %201, %202
%204 = lshr i32 %203, 16
store i32 %204, i32* %20
%205 = load i32, i32* %29
%206 = load i32, i32* %33
%207 = mul i32 %205, %206
%208 = lshr i32 %207, 16
store i32 %208, i32* %21
%209 = load i32, i32* %18
%210 = load i32, i32* %19
%211 = add i32 %209, %210
%212 = load i32, i32* %20
%213 = add i32 %211, %212
%214 = load i32, i32* %21
%215 = add i32 %213, %214
%216 = getelementptr inbounds [4 x i32], [4 x i32]* %5, i64 0, i64 1
store i32 %215, i32* %216
%217 = load i32*, i32** %10
%218 = getelementptr inbounds i32, i32* %217, i64 0
%219 = load i32, i32* %218
%220 = lshr i32 %219, 7
%221 = and i32 %220, 255
store i32 %221, i32* %26
%222 = load i32*, i32** %11
%223 = getelementptr inbounds i32, i32* %222, i64 0
%224 = load i32, i32* %223
%225 = lshr i32 %224, 7
%226 = and i32 %225, 255
store i32 %226, i32* %27
%227 = load i32*, i32** %12
%228 = getelementptr inbounds i32, i32* %227, i64 0
%229 = load i32, i32* %228
%230 = lshr i32 %229, 7
%231 = and i32 %230, 255
store i32 %231, i32* %28
%232 = load i32*, i32** %13
%233 = getelementptr inbounds i32, i32* %232, i64 0
%234 = load i32, i32* %233
%235 = lshr i32 %234, 7
%236 = and i32 %235, 255
store i32 %236, i32* %29
%237 = load i32, i32* %26
%238 = load i32, i32* %30
%239 = mul i32 %237, %238
%240 = lshr i32 %239, 16
store i32 %240, i32* %14
%241 = load i32, i32* %27
%242 = load i32, i32* %31
%243 = mul i32 %241, %242
%244 = lshr i32 %243, 16
store i32 %244, i32* %15
%245 = load i32, i32* %27
%246 = load i32, i32* %32
%247 = mul i32 %245, %246
%248 = lshr i32 %247, 16
store i32 %248, i32* %16
%249 = load i32, i32* %27
%250 = load i32, i32* %33
%251 = mul i32 %249, %250
%252 = lshr i32 %251, 16
store i32 %252, i32* %17
%253 = load i32, i32* %18
%254 = load i32, i32* %19
%255 = add i32 %253, %254
%256 = load i32, i32* %20
%257 = add i32 %255, %256
%258 = load i32, i32* %21
%259 = add i32 %257, %258
%260 = getelementptr inbounds [4 x i32], [4 x i32]* %5, i64 0, i64 0
store i32 %259, i32* %260
ret void
}

LLVM IR (-O2):
define void @main() {
%1 = tail call i32 (...) @rand()
%2 = tail call i32 (...) @rand()
ret void
}