#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, 0xD2D20008);
  Xil_Out32(0x50001004, 4);
  Xil_Out32(0x50001000, 0x04260A04);
  Xil_Out32(0x50001004, 8);
  Xil_Out32(0x50001000, 0xBF810000);
  Xil_Out32(0x50002004, 0);
  Xil_Out32(0x50002008, 0x15);
  Xil_Out32(0x5000200C, 0x17);
  Xil_Out32(0x50002010, 0x16);
  Xil_Out32(0x50002014, 0x29);
  Xil_Out32(0x50002000, 1);
  Xil_Out32(0x50002004, 16);
  Xil_Out32(0x50002008, 0x14);
  Xil_Out32(0x5000200C, 0x11);
  Xil_Out32(0x50002010, 0x1C);
  Xil_Out32(0x50002014, 0x5);
  Xil_Out32(0x50002000, 1);
  Xil_Out32(0x50002004, 32);
  Xil_Out32(0x50002008, 0x1);
  Xil_Out32(0x5000200C, 0x21);
  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    $0xd2d20008,%esi
call   1030 <Xil_Out32@plt>
mov    $0x50001004,%edi
mov    $0x4,%esi
call   1030 <Xil_Out32@plt>
mov    $0x50001000,%edi
mov    $0x4260a04,%esi
call   1030 <Xil_Out32@plt>
mov    $0x50001004,%edi
mov    $0x8,%esi
call   1030 <Xil_Out32@plt>
mov    $0x50001000,%edi
mov    $0xbf810000,%esi
call   1030 <Xil_Out32@plt>
mov    $0x50002004,%edi
xor    %esi,%esi
call   1030 <Xil_Out32@plt>
mov    $0x50002008,%edi
mov    $0x15,%esi
call   1030 <Xil_Out32@plt>
mov    $0x5000200c,%edi
mov    $0x17,%esi
call   1030 <Xil_Out32@plt>
mov    $0x50002010,%edi
mov    $0x16,%esi
call   1030 <Xil_Out32@plt>
mov    $0x50002014,%edi
mov    $0x29,%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    $0x14,%esi
call   1030 <Xil_Out32@plt>
mov    $0x5000200c,%edi
mov    $0x11,%esi
call   1030 <Xil_Out32@plt>
mov    $0x50002010,%edi
mov    $0x1c,%esi
call   1030 <Xil_Out32@plt>
mov    $0x50002014,%edi
mov    $0x5,%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    $0x1,%esi
call   1030 <Xil_Out32@plt>
mov    $0x5000200c,%edi
mov    $0x21,%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    $0xd2d20008,%esi
call   1030 <Xil_Out32@plt>
mov    $0x50001004,%edi
mov    $0x4,%esi
call   1030 <Xil_Out32@plt>
mov    $0x50001000,%edi
mov    $0x4260a04,%esi
call   1030 <Xil_Out32@plt>
mov    $0x50001004,%edi
mov    $0x8,%esi
call   1030 <Xil_Out32@plt>
mov    $0x50001000,%edi
mov    $0xbf810000,%esi
call   1030 <Xil_Out32@plt>
mov    $0x50002004,%edi
xor    %esi,%esi
call   1030 <Xil_Out32@plt>
mov    $0x50002008,%edi
mov    $0x15,%esi
call   1030 <Xil_Out32@plt>
mov    $0x5000200c,%edi
mov    $0x17,%esi
call   1030 <Xil_Out32@plt>
mov    $0x50002010,%edi
mov    $0x16,%esi
call   1030 <Xil_Out32@plt>
mov    $0x50002014,%edi
mov    $0x29,%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    $0x14,%esi
call   1030 <Xil_Out32@plt>
mov    $0x5000200c,%edi
mov    $0x11,%esi
call   1030 <Xil_Out32@plt>
mov    $0x50002010,%edi
mov    $0x1c,%esi
call   1030 <Xil_Out32@plt>
mov    $0x50002014,%edi
mov    $0x5,%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    $0x1,%esi
call   1030 <Xil_Out32@plt>
mov    $0x5000200c,%edi
mov    $0x21,%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 -757989368)
%3 = call i32 @Xil_Out32(i32 1342181380, i32 4)
%4 = call i32 @Xil_Out32(i32 1342181376, i32 69601796)
%5 = call i32 @Xil_Out32(i32 1342181380, i32 8)
%6 = call i32 @Xil_Out32(i32 1342181376, i32 -1082064896)
%7 = call i32 @Xil_Out32(i32 1342185476, i32 0)
%8 = call i32 @Xil_Out32(i32 1342185480, i32 21)
%9 = call i32 @Xil_Out32(i32 1342185484, i32 23)
%10 = call i32 @Xil_Out32(i32 1342185488, i32 22)
%11 = call i32 @Xil_Out32(i32 1342185492, i32 41)
%12 = call i32 @Xil_Out32(i32 1342185472, i32 1)
%13 = call i32 @Xil_Out32(i32 1342185476, i32 16)
%14 = call i32 @Xil_Out32(i32 1342185480, i32 20)
%15 = call i32 @Xil_Out32(i32 1342185484, i32 17)
%16 = call i32 @Xil_Out32(i32 1342185488, i32 28)
%17 = call i32 @Xil_Out32(i32 1342185492, i32 5)
%18 = call i32 @Xil_Out32(i32 1342185472, i32 1)
%19 = call i32 @Xil_Out32(i32 1342185476, i32 32)
%20 = call i32 @Xil_Out32(i32 1342185480, i32 1)
%21 = call i32 @Xil_Out32(i32 1342185484, i32 33)
%22 = call i32 @Xil_Out32(i32 1342185488, i32 0)
%23 = call i32 @Xil_Out32(i32 1342185492, i32 0)
%24 = 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 -757989368)
%3 = tail call i32 @Xil_Out32(i32 1342181380, i32 4)
%4 = tail call i32 @Xil_Out32(i32 1342181376, i32 69601796)
%5 = tail call i32 @Xil_Out32(i32 1342181380, i32 8)
%6 = tail call i32 @Xil_Out32(i32 1342181376, i32 -1082064896)
%7 = tail call i32 @Xil_Out32(i32 1342185476, i32 0)
%8 = tail call i32 @Xil_Out32(i32 1342185480, i32 21)
%9 = tail call i32 @Xil_Out32(i32 1342185484, i32 23)
%10 = tail call i32 @Xil_Out32(i32 1342185488, i32 22)
%11 = tail call i32 @Xil_Out32(i32 1342185492, i32 41)
%12 = tail call i32 @Xil_Out32(i32 1342185472, i32 1)
%13 = tail call i32 @Xil_Out32(i32 1342185476, i32 16)
%14 = tail call i32 @Xil_Out32(i32 1342185480, i32 20)
%15 = tail call i32 @Xil_Out32(i32 1342185484, i32 17)
%16 = tail call i32 @Xil_Out32(i32 1342185488, i32 28)
%17 = tail call i32 @Xil_Out32(i32 1342185492, i32 5)
%18 = tail call i32 @Xil_Out32(i32 1342185472, i32 1)
%19 = tail call i32 @Xil_Out32(i32 1342185476, i32 32)
%20 = tail call i32 @Xil_Out32(i32 1342185480, i32 1)
%21 = tail call i32 @Xil_Out32(i32 1342185484, i32 33)
%22 = tail call i32 @Xil_Out32(i32 1342185488, i32 0)
%23 = tail call i32 @Xil_Out32(i32 1342185492, i32 0)
%24 = tail call i32 @Xil_Out32(i32 1342185472, i32 1)
ret void
}