#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*/ Xil_Out32(int, int);
void stage_cu() {
  Xil_Out32(0x50001004, 0);
  Xil_Out32(0x50001000, 0xBF820004);
  Xil_Out32(0x50001004, 4);
  Xil_Out32(0x50001000, 0xBE810309);
  Xil_Out32(0x50001004, 8);
  Xil_Out32(0x50001000, 0xBE820307);
  Xil_Out32(0x50001004, 12);
  Xil_Out32(0x50001000, 0xBE810309);
  Xil_Out32(0x50001004, 16);
  Xil_Out32(0x50001000, 0xBE850301);
  Xil_Out32(0x50001004, 20);
  Xil_Out32(0x50001000, 0xBE810303);
  Xil_Out32(0x50001004, 24);
  Xil_Out32(0x50001000, 0xBF810000);
  Xil_Out32(0x50001004, 28);
  Xil_Out32(0x50001000, 0xBE830301);
  Xil_Out32(0x50001004, 32);
  Xil_Out32(0x50001000, 0xBE870304);
  Xil_Out32(0x50001004, 36);
  Xil_Out32(0x50001000, 0xBE850304);
  Xil_Out32(0x50001004, 40);
  Xil_Out32(0x50001000, 0xBE800308);
  Xil_Out32(0x50001004, 44);
  Xil_Out32(0x50001000, 0xBE870306);
  Xil_Out32(0x50002004, 0);
  Xil_Out32(0x50002008, 0x0);
  Xil_Out32(0x5000200C, 0x3);
  Xil_Out32(0x50002010, 0x25);
  Xil_Out32(0x50002014, 0x27);
  Xil_Out32(0x50002000, 1);
  Xil_Out32(0x50002004, 16);
  Xil_Out32(0x50002008, 0x2D);
  Xil_Out32(0x5000200C, 0x2F);
  Xil_Out32(0x50002010, 0x31);
  Xil_Out32(0x50002014, 0x20);
  Xil_Out32(0x50002000, 1);
  Xil_Out32(0x50002004, 32);
  Xil_Out32(0x50002008, 0x5);
  Xil_Out32(0x5000200C, 0x24);
  Xil_Out32(0x50002010, 0x0);
  Xil_Out32(0x50002014, 0x0);
  Xil_Out32(0x50002000, 1);
}


x86 assembly (clang, -O0):
<stage_cu>:
push   %rbp
mov    %rsp,%rbp
mov    $0x50001004,%edi
xor    %esi,%esi
call   1030 <Xil_Out32@plt>
mov    $0x50001000,%edi
mov    $0xbf820004,%esi
call   1030 <Xil_Out32@plt>
mov    $0x50001004,%edi
mov    $0x4,%esi
call   1030 <Xil_Out32@plt>
mov    $0x50001000,%edi
mov    $0xbe810309,%esi
call   1030 <Xil_Out32@plt>
mov    $0x50001004,%edi
mov    $0x8,%esi
call   1030 <Xil_Out32@plt>
mov    $0x50001000,%edi
mov    $0xbe820307,%esi
call   1030 <Xil_Out32@plt>
mov    $0x50001004,%edi
mov    $0xc,%esi
call   1030 <Xil_Out32@plt>
mov    $0x50001000,%edi
mov    $0xbe810309,%esi
call   1030 <Xil_Out32@plt>
mov    $0x50001004,%edi
mov    $0x10,%esi
call   1030 <Xil_Out32@plt>
mov    $0x50001000,%edi
mov    $0xbe850301,%esi
call   1030 <Xil_Out32@plt>
mov    $0x50001004,%edi
mov    $0x14,%esi
call   1030 <Xil_Out32@plt>
mov    $0x50001000,%edi
mov    $0xbe810303,%esi
call   1030 <Xil_Out32@plt>
mov    $0x50001004,%edi
mov    $0x18,%esi
call   1030 <Xil_Out32@plt>
mov    $0x50001000,%edi
mov    $0xbf810000,%esi
call   1030 <Xil_Out32@plt>
mov    $0x50001004,%edi
mov    $0x1c,%esi
call   1030 <Xil_Out32@plt>
mov    $0x50001000,%edi
mov    $0xbe830301,%esi
call   1030 <Xil_Out32@plt>
mov    $0x50001004,%edi
mov    $0x20,%esi
call   1030 <Xil_Out32@plt>
mov    $0x50001000,%edi
mov    $0xbe870304,%esi
call   1030 <Xil_Out32@plt>
mov    $0x50001004,%edi
mov    $0x24,%esi
call   1030 <Xil_Out32@plt>
mov    $0x50001000,%edi
mov    $0xbe850304,%esi
call   1030 <Xil_Out32@plt>
mov    $0x50001004,%edi
mov    $0x28,%esi
call   1030 <Xil_Out32@plt>
mov    $0x50001000,%edi
mov    $0xbe800308,%esi
call   1030 <Xil_Out32@plt>
mov    $0x50001004,%edi
mov    $0x2c,%esi
call   1030 <Xil_Out32@plt>
mov    $0x50001000,%edi
mov    $0xbe870306,%esi
call   1030 <Xil_Out32@plt>
mov    $0x50002004,%edi
xor    %esi,%esi
call   1030 <Xil_Out32@plt>
mov    $0x50002008,%edi
xor    %esi,%esi
call   1030 <Xil_Out32@plt>
mov    $0x5000200c,%edi
mov    $0x3,%esi
call   1030 <Xil_Out32@plt>
mov    $0x50002010,%edi
mov    $0x25,%esi
call   1030 <Xil_Out32@plt>
mov    $0x50002014,%edi
mov    $0x27,%esi
call   1030 <Xil_Out32@plt>
mov    $0x50002000,%edi
mov    $0x1,%esi
call   1030 <Xil_Out32@plt>
mov    $0x50002004,%edi
mov    $0x10,%esi
call   1030 <Xil_Out32@plt>
mov    $0x50002008,%edi
mov    $0x2d,%esi
call   1030 <Xil_Out32@plt>
mov    $0x5000200c,%edi
mov    $0x2f,%esi
call   1030 <Xil_Out32@plt>
mov    $0x50002010,%edi
mov    $0x31,%esi
call   1030 <Xil_Out32@plt>
mov    $0x50002014,%edi
mov    $0x20,%esi
call   1030 <Xil_Out32@plt>
mov    $0x50002000,%edi
mov    $0x1,%esi
call   1030 <Xil_Out32@plt>
mov    $0x50002004,%edi
mov    $0x20,%esi
call   1030 <Xil_Out32@plt>
mov    $0x50002008,%edi
mov    $0x5,%esi
call   1030 <Xil_Out32@plt>
mov    $0x5000200c,%edi
mov    $0x24,%esi
call   1030 <Xil_Out32@plt>
mov    $0x50002010,%edi
xor    %esi,%esi
call   1030 <Xil_Out32@plt>
mov    $0x50002014,%edi
xor    %esi,%esi
call   1030 <Xil_Out32@plt>
mov    $0x50002000,%edi
mov    $0x1,%esi
call   1030 <Xil_Out32@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<stage_cu>:
push   %rax
mov    $0x50001004,%edi
xor    %esi,%esi
call   1030 <Xil_Out32@plt>
mov    $0x50001000,%edi
mov    $0xbf820004,%esi
call   1030 <Xil_Out32@plt>
mov    $0x50001004,%edi
mov    $0x4,%esi
call   1030 <Xil_Out32@plt>
mov    $0x50001000,%edi
mov    $0xbe810309,%esi
call   1030 <Xil_Out32@plt>
mov    $0x50001004,%edi
mov    $0x8,%esi
call   1030 <Xil_Out32@plt>
mov    $0x50001000,%edi
mov    $0xbe820307,%esi
call   1030 <Xil_Out32@plt>
mov    $0x50001004,%edi
mov    $0xc,%esi
call   1030 <Xil_Out32@plt>
mov    $0x50001000,%edi
mov    $0xbe810309,%esi
call   1030 <Xil_Out32@plt>
mov    $0x50001004,%edi
mov    $0x10,%esi
call   1030 <Xil_Out32@plt>
mov    $0x50001000,%edi
mov    $0xbe850301,%esi
call   1030 <Xil_Out32@plt>
mov    $0x50001004,%edi
mov    $0x14,%esi
call   1030 <Xil_Out32@plt>
mov    $0x50001000,%edi
mov    $0xbe810303,%esi
call   1030 <Xil_Out32@plt>
mov    $0x50001004,%edi
mov    $0x18,%esi
call   1030 <Xil_Out32@plt>
mov    $0x50001000,%edi
mov    $0xbf810000,%esi
call   1030 <Xil_Out32@plt>
mov    $0x50001004,%edi
mov    $0x1c,%esi
call   1030 <Xil_Out32@plt>
mov    $0x50001000,%edi
mov    $0xbe830301,%esi
call   1030 <Xil_Out32@plt>
mov    $0x50001004,%edi
mov    $0x20,%esi
call   1030 <Xil_Out32@plt>
mov    $0x50001000,%edi
mov    $0xbe870304,%esi
call   1030 <Xil_Out32@plt>
mov    $0x50001004,%edi
mov    $0x24,%esi
call   1030 <Xil_Out32@plt>
mov    $0x50001000,%edi
mov    $0xbe850304,%esi
call   1030 <Xil_Out32@plt>
mov    $0x50001004,%edi
mov    $0x28,%esi
call   1030 <Xil_Out32@plt>
mov    $0x50001000,%edi
mov    $0xbe800308,%esi
call   1030 <Xil_Out32@plt>
mov    $0x50001004,%edi
mov    $0x2c,%esi
call   1030 <Xil_Out32@plt>
mov    $0x50001000,%edi
mov    $0xbe870306,%esi
call   1030 <Xil_Out32@plt>
mov    $0x50002004,%edi
xor    %esi,%esi
call   1030 <Xil_Out32@plt>
mov    $0x50002008,%edi
xor    %esi,%esi
call   1030 <Xil_Out32@plt>
mov    $0x5000200c,%edi
mov    $0x3,%esi
call   1030 <Xil_Out32@plt>
mov    $0x50002010,%edi
mov    $0x25,%esi
call   1030 <Xil_Out32@plt>
mov    $0x50002014,%edi
mov    $0x27,%esi
call   1030 <Xil_Out32@plt>
mov    $0x50002000,%edi
mov    $0x1,%esi
call   1030 <Xil_Out32@plt>
mov    $0x50002004,%edi
mov    $0x10,%esi
call   1030 <Xil_Out32@plt>
mov    $0x50002008,%edi
mov    $0x2d,%esi
call   1030 <Xil_Out32@plt>
mov    $0x5000200c,%edi
mov    $0x2f,%esi
call   1030 <Xil_Out32@plt>
mov    $0x50002010,%edi
mov    $0x31,%esi
call   1030 <Xil_Out32@plt>
mov    $0x50002014,%edi
mov    $0x20,%esi
call   1030 <Xil_Out32@plt>
mov    $0x50002000,%edi
mov    $0x1,%esi
call   1030 <Xil_Out32@plt>
mov    $0x50002004,%edi
mov    $0x20,%esi
call   1030 <Xil_Out32@plt>
mov    $0x50002008,%edi
mov    $0x5,%esi
call   1030 <Xil_Out32@plt>
mov    $0x5000200c,%edi
mov    $0x24,%esi
call   1030 <Xil_Out32@plt>
mov    $0x50002010,%edi
xor    %esi,%esi
call   1030 <Xil_Out32@plt>
mov    $0x50002014,%edi
xor    %esi,%esi
call   1030 <Xil_Out32@plt>
mov    $0x50002000,%edi
mov    $0x1,%esi
pop    %rax
jmp    1030 <Xil_Out32@plt>

LLVM IR (-O0):
define void @stage_cu() {
%1 = call i32 @Xil_Out32(i32 1342181380, i32 0)
%2 = call i32 @Xil_Out32(i32 1342181376, i32 -1081999356)
%3 = call i32 @Xil_Out32(i32 1342181380, i32 4)
%4 = call i32 @Xil_Out32(i32 1342181376, i32 -1098841335)
%5 = call i32 @Xil_Out32(i32 1342181380, i32 8)
%6 = call i32 @Xil_Out32(i32 1342181376, i32 -1098775801)
%7 = call i32 @Xil_Out32(i32 1342181380, i32 12)
%8 = call i32 @Xil_Out32(i32 1342181376, i32 -1098841335)
%9 = call i32 @Xil_Out32(i32 1342181380, i32 16)
%10 = call i32 @Xil_Out32(i32 1342181376, i32 -1098579199)
%11 = call i32 @Xil_Out32(i32 1342181380, i32 20)
%12 = call i32 @Xil_Out32(i32 1342181376, i32 -1098841341)
%13 = call i32 @Xil_Out32(i32 1342181380, i32 24)
%14 = call i32 @Xil_Out32(i32 1342181376, i32 -1082064896)
%15 = call i32 @Xil_Out32(i32 1342181380, i32 28)
%16 = call i32 @Xil_Out32(i32 1342181376, i32 -1098710271)
%17 = call i32 @Xil_Out32(i32 1342181380, i32 32)
%18 = call i32 @Xil_Out32(i32 1342181376, i32 -1098448124)
%19 = call i32 @Xil_Out32(i32 1342181380, i32 36)
%20 = call i32 @Xil_Out32(i32 1342181376, i32 -1098579196)
%21 = call i32 @Xil_Out32(i32 1342181380, i32 40)
%22 = call i32 @Xil_Out32(i32 1342181376, i32 -1098906872)
%23 = call i32 @Xil_Out32(i32 1342181380, i32 44)
%24 = call i32 @Xil_Out32(i32 1342181376, i32 -1098448122)
%25 = call i32 @Xil_Out32(i32 1342185476, i32 0)
%26 = call i32 @Xil_Out32(i32 1342185480, i32 0)
%27 = call i32 @Xil_Out32(i32 1342185484, i32 3)
%28 = call i32 @Xil_Out32(i32 1342185488, i32 37)
%29 = call i32 @Xil_Out32(i32 1342185492, i32 39)
%30 = call i32 @Xil_Out32(i32 1342185472, i32 1)
%31 = call i32 @Xil_Out32(i32 1342185476, i32 16)
%32 = call i32 @Xil_Out32(i32 1342185480, i32 45)
%33 = call i32 @Xil_Out32(i32 1342185484, i32 47)
%34 = call i32 @Xil_Out32(i32 1342185488, i32 49)
%35 = call i32 @Xil_Out32(i32 1342185492, i32 32)
%36 = call i32 @Xil_Out32(i32 1342185472, i32 1)
%37 = call i32 @Xil_Out32(i32 1342185476, i32 32)
%38 = call i32 @Xil_Out32(i32 1342185480, i32 5)
%39 = call i32 @Xil_Out32(i32 1342185484, i32 36)
%40 = call i32 @Xil_Out32(i32 1342185488, i32 0)
%41 = call i32 @Xil_Out32(i32 1342185492, i32 0)
%42 = call i32 @Xil_Out32(i32 1342185472, i32 1)
ret void
}

LLVM IR (-O2):
define void @stage_cu() {
%1 = tail call i32 @Xil_Out32(i32 1342181380, i32 0)
%2 = tail call i32 @Xil_Out32(i32 1342181376, i32 -1081999356)
%3 = tail call i32 @Xil_Out32(i32 1342181380, i32 4)
%4 = tail call i32 @Xil_Out32(i32 1342181376, i32 -1098841335)
%5 = tail call i32 @Xil_Out32(i32 1342181380, i32 8)
%6 = tail call i32 @Xil_Out32(i32 1342181376, i32 -1098775801)
%7 = tail call i32 @Xil_Out32(i32 1342181380, i32 12)
%8 = tail call i32 @Xil_Out32(i32 1342181376, i32 -1098841335)
%9 = tail call i32 @Xil_Out32(i32 1342181380, i32 16)
%10 = tail call i32 @Xil_Out32(i32 1342181376, i32 -1098579199)
%11 = tail call i32 @Xil_Out32(i32 1342181380, i32 20)
%12 = tail call i32 @Xil_Out32(i32 1342181376, i32 -1098841341)
%13 = tail call i32 @Xil_Out32(i32 1342181380, i32 24)
%14 = tail call i32 @Xil_Out32(i32 1342181376, i32 -1082064896)
%15 = tail call i32 @Xil_Out32(i32 1342181380, i32 28)
%16 = tail call i32 @Xil_Out32(i32 1342181376, i32 -1098710271)
%17 = tail call i32 @Xil_Out32(i32 1342181380, i32 32)
%18 = tail call i32 @Xil_Out32(i32 1342181376, i32 -1098448124)
%19 = tail call i32 @Xil_Out32(i32 1342181380, i32 36)
%20 = tail call i32 @Xil_Out32(i32 1342181376, i32 -1098579196)
%21 = tail call i32 @Xil_Out32(i32 1342181380, i32 40)
%22 = tail call i32 @Xil_Out32(i32 1342181376, i32 -1098906872)
%23 = tail call i32 @Xil_Out32(i32 1342181380, i32 44)
%24 = tail call i32 @Xil_Out32(i32 1342181376, i32 -1098448122)
%25 = tail call i32 @Xil_Out32(i32 1342185476, i32 0)
%26 = tail call i32 @Xil_Out32(i32 1342185480, i32 0)
%27 = tail call i32 @Xil_Out32(i32 1342185484, i32 3)
%28 = tail call i32 @Xil_Out32(i32 1342185488, i32 37)
%29 = tail call i32 @Xil_Out32(i32 1342185492, i32 39)
%30 = tail call i32 @Xil_Out32(i32 1342185472, i32 1)
%31 = tail call i32 @Xil_Out32(i32 1342185476, i32 16)
%32 = tail call i32 @Xil_Out32(i32 1342185480, i32 45)
%33 = tail call i32 @Xil_Out32(i32 1342185484, i32 47)
%34 = tail call i32 @Xil_Out32(i32 1342185488, i32 49)
%35 = tail call i32 @Xil_Out32(i32 1342185492, i32 32)
%36 = tail call i32 @Xil_Out32(i32 1342185472, i32 1)
%37 = tail call i32 @Xil_Out32(i32 1342185476, i32 32)
%38 = tail call i32 @Xil_Out32(i32 1342185480, i32 5)
%39 = tail call i32 @Xil_Out32(i32 1342185484, i32 36)
%40 = tail call i32 @Xil_Out32(i32 1342185488, i32 0)
%41 = tail call i32 @Xil_Out32(i32 1342185492, i32 0)
%42 = tail call i32 @Xil_Out32(i32 1342185472, i32 1)
ret void
}