#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*/ McDevIf_AddPacket(int, int);
int /*<<< orphan*/ McDevIf_ExecutePacket();
void InitializeRegister(void) {
  signed long i;
  McDevIf_AddPacket(((0x20000000UL) | (0x00004000UL) | (unsigned long)(110)),
                    (0x01));
  McDevIf_AddPacket(((0x20000000UL) | (0x00000000UL) | (unsigned long)(28)),
                    0x00);
  McDevIf_AddPacket(((0x20000000UL) | (0x00000000UL) | (unsigned long)(27)),
                    ((0x80) | (0x10) | (0x08) | (0x02) | (0x01)));
  McDevIf_AddPacket(((0x20000000UL) | (0x00004000UL) | (unsigned long)(15)),
                    0x00);
  McDevIf_AddPacket(((0x20000000UL) | (0x00004000UL) | (unsigned long)(14)),
                    0x00);
  McDevIf_AddPacket(((0x20000000UL) | (0x00004000UL) | (unsigned long)(0)),
                    0x00);
  McDevIf_AddPacket(((0x20000000UL) | (0x00004000UL) | (unsigned long)(114)),
                    0x00);
  McDevIf_AddPacket(((0x20000000UL) | (0x00004000UL) | (unsigned long)(115)),
                    0x00);
  McDevIf_AddPacket(((0x20000000UL) | (0x00004000UL) | (unsigned long)(52)),
                    0x00);
  McDevIf_AddPacket(((0x20000000UL) | (0x00004000UL) | (unsigned long)(86)),
                    0x00);
  McDevIf_AddPacket(((0x20000000UL) | (0x00004000UL) | (unsigned long)(16)),
                    0x00);
  for (i = 0; i < (signed long)((12) + (4)); i++) {
    McDevIf_AddPacket(((0x20000000UL) | (0x00004000UL) |
                       ((unsigned long)(19) + (unsigned long)i)),
                      0x00);
  }
  for (i = 0; i < (signed long)((12) + (4)); i++) {
    McDevIf_AddPacket(((0x20000000UL) | (0x00004000UL) |
                       ((unsigned long)(53) + (unsigned long)i)),
                      0x00);
  }
  McDevIf_ExecutePacket();
}


x86 assembly (clang, -O0):
<InitializeRegister>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
mov    $0x2000406e,%edi
mov    $0x1,%esi
call   1040 <McDevIf_AddPacket@plt>
mov    $0x2000001c,%edi
xor    %esi,%esi
call   1040 <McDevIf_AddPacket@plt>
mov    $0x2000001b,%edi
mov    $0x9b,%esi
call   1040 <McDevIf_AddPacket@plt>
mov    $0x2000400f,%edi
xor    %esi,%esi
call   1040 <McDevIf_AddPacket@plt>
mov    $0x2000400e,%edi
xor    %esi,%esi
call   1040 <McDevIf_AddPacket@plt>
mov    $0x20004000,%edi
xor    %esi,%esi
call   1040 <McDevIf_AddPacket@plt>
mov    $0x20004072,%edi
xor    %esi,%esi
call   1040 <McDevIf_AddPacket@plt>
mov    $0x20004073,%edi
xor    %esi,%esi
call   1040 <McDevIf_AddPacket@plt>
mov    $0x20004034,%edi
xor    %esi,%esi
call   1040 <McDevIf_AddPacket@plt>
mov    $0x20004056,%edi
xor    %esi,%esi
call   1040 <McDevIf_AddPacket@plt>
mov    $0x20004010,%edi
xor    %esi,%esi
call   1040 <McDevIf_AddPacket@plt>
movq   $0x0,-0x8(%rbp)
cmpq   $0x10,-0x8(%rbp)
jge    11ed <InitializeRegister+0xcd>
mov    -0x8(%rbp),%rax
add    $0x13,%rax
or     $0x20004000,%rax
mov    %eax,%edi
xor    %esi,%esi
call   1040 <McDevIf_AddPacket@plt>
mov    -0x8(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x8(%rbp)
jmp    11ba <InitializeRegister+0x9a>
movq   $0x0,-0x8(%rbp)
cmpq   $0x10,-0x8(%rbp)
jge    1228 <InitializeRegister+0x108>
mov    -0x8(%rbp),%rax
add    $0x35,%rax
or     $0x20004000,%rax
mov    %eax,%edi
xor    %esi,%esi
call   1040 <McDevIf_AddPacket@plt>
mov    -0x8(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x8(%rbp)
jmp    11f5 <InitializeRegister+0xd5>
mov    $0x0,%al
call   1030 <McDevIf_ExecutePacket@plt>
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<InitializeRegister>:
push   %rax
mov    $0x2000406e,%edi
mov    $0x1,%esi
call   1040 <McDevIf_AddPacket@plt>
mov    $0x2000001c,%edi
xor    %esi,%esi
call   1040 <McDevIf_AddPacket@plt>
mov    $0x2000001b,%edi
mov    $0x9b,%esi
call   1040 <McDevIf_AddPacket@plt>
mov    $0x2000400f,%edi
xor    %esi,%esi
call   1040 <McDevIf_AddPacket@plt>
mov    $0x2000400e,%edi
xor    %esi,%esi
call   1040 <McDevIf_AddPacket@plt>
mov    $0x20004000,%edi
xor    %esi,%esi
call   1040 <McDevIf_AddPacket@plt>
mov    $0x20004072,%edi
xor    %esi,%esi
call   1040 <McDevIf_AddPacket@plt>
mov    $0x20004073,%edi
xor    %esi,%esi
call   1040 <McDevIf_AddPacket@plt>
mov    $0x20004034,%edi
xor    %esi,%esi
call   1040 <McDevIf_AddPacket@plt>
mov    $0x20004056,%edi
xor    %esi,%esi
call   1040 <McDevIf_AddPacket@plt>
mov    $0x20004010,%edi
xor    %esi,%esi
call   1040 <McDevIf_AddPacket@plt>
mov    $0x20004013,%edi
xor    %esi,%esi
call   1040 <McDevIf_AddPacket@plt>
mov    $0x20004014,%edi
xor    %esi,%esi
call   1040 <McDevIf_AddPacket@plt>
mov    $0x20004015,%edi
xor    %esi,%esi
call   1040 <McDevIf_AddPacket@plt>
mov    $0x20004016,%edi
xor    %esi,%esi
call   1040 <McDevIf_AddPacket@plt>
mov    $0x20004017,%edi
xor    %esi,%esi
call   1040 <McDevIf_AddPacket@plt>
mov    $0x20004018,%edi
xor    %esi,%esi
call   1040 <McDevIf_AddPacket@plt>
mov    $0x20004019,%edi
xor    %esi,%esi
call   1040 <McDevIf_AddPacket@plt>
mov    $0x2000401a,%edi
xor    %esi,%esi
call   1040 <McDevIf_AddPacket@plt>
mov    $0x2000401b,%edi
xor    %esi,%esi
call   1040 <McDevIf_AddPacket@plt>
mov    $0x2000401c,%edi
xor    %esi,%esi
call   1040 <McDevIf_AddPacket@plt>
mov    $0x2000401d,%edi
xor    %esi,%esi
call   1040 <McDevIf_AddPacket@plt>
mov    $0x2000401e,%edi
xor    %esi,%esi
call   1040 <McDevIf_AddPacket@plt>
mov    $0x2000401f,%edi
xor    %esi,%esi
call   1040 <McDevIf_AddPacket@plt>
mov    $0x20004020,%edi
xor    %esi,%esi
call   1040 <McDevIf_AddPacket@plt>
mov    $0x20004021,%edi
xor    %esi,%esi
call   1040 <McDevIf_AddPacket@plt>
mov    $0x20004022,%edi
xor    %esi,%esi
call   1040 <McDevIf_AddPacket@plt>
mov    $0x20004035,%edi
xor    %esi,%esi
call   1040 <McDevIf_AddPacket@plt>
mov    $0x20004036,%edi
xor    %esi,%esi
call   1040 <McDevIf_AddPacket@plt>
mov    $0x20004037,%edi
xor    %esi,%esi
call   1040 <McDevIf_AddPacket@plt>
mov    $0x20004038,%edi
xor    %esi,%esi
call   1040 <McDevIf_AddPacket@plt>
mov    $0x20004039,%edi
xor    %esi,%esi
call   1040 <McDevIf_AddPacket@plt>
mov    $0x2000403a,%edi
xor    %esi,%esi
call   1040 <McDevIf_AddPacket@plt>
mov    $0x2000403b,%edi
xor    %esi,%esi
call   1040 <McDevIf_AddPacket@plt>
mov    $0x2000403c,%edi
xor    %esi,%esi
call   1040 <McDevIf_AddPacket@plt>
mov    $0x2000403d,%edi
xor    %esi,%esi
call   1040 <McDevIf_AddPacket@plt>
mov    $0x2000403e,%edi
xor    %esi,%esi
call   1040 <McDevIf_AddPacket@plt>
mov    $0x2000403f,%edi
xor    %esi,%esi
call   1040 <McDevIf_AddPacket@plt>
mov    $0x20004040,%edi
xor    %esi,%esi
call   1040 <McDevIf_AddPacket@plt>
mov    $0x20004041,%edi
xor    %esi,%esi
call   1040 <McDevIf_AddPacket@plt>
mov    $0x20004042,%edi
xor    %esi,%esi
call   1040 <McDevIf_AddPacket@plt>
mov    $0x20004043,%edi
xor    %esi,%esi
call   1040 <McDevIf_AddPacket@plt>
mov    $0x20004044,%edi
xor    %esi,%esi
call   1040 <McDevIf_AddPacket@plt>
xor    %eax,%eax
pop    %rcx
jmp    1030 <McDevIf_ExecutePacket@plt>

LLVM IR (-O0):
define void @InitializeRegister() {
%1 = alloca i64
%2 = call i32 @McDevIf_AddPacket(i32 536887406, i32 1)
%3 = call i32 @McDevIf_AddPacket(i32 536870940, i32 0)
%4 = call i32 @McDevIf_AddPacket(i32 536870939, i32 155)
%5 = call i32 @McDevIf_AddPacket(i32 536887311, i32 0)
%6 = call i32 @McDevIf_AddPacket(i32 536887310, i32 0)
%7 = call i32 @McDevIf_AddPacket(i32 536887296, i32 0)
%8 = call i32 @McDevIf_AddPacket(i32 536887410, i32 0)
%9 = call i32 @McDevIf_AddPacket(i32 536887411, i32 0)
%10 = call i32 @McDevIf_AddPacket(i32 536887348, i32 0)
%11 = call i32 @McDevIf_AddPacket(i32 536887382, i32 0)
%12 = call i32 @McDevIf_AddPacket(i32 536887312, i32 0)
store i64 0, i64* %1
br label %13
13: ; preds = %22, %0
%14 = load i64, i64* %1
%15 = icmp slt i64 %14, 16
br i1 %15, label %16, label %25
16: ; preds = %13
%17 = load i64, i64* %1
%18 = add i64 19, %17
%19 = or i64 536887296, %18
%20 = trunc i64 %19 to i32
%21 = call i32 @McDevIf_AddPacket(i32 %20, i32 0)
br label %22
22: ; preds = %16
%23 = load i64, i64* %1
%24 = add nsw i64 %23, 1
store i64 %24, i64* %1
br label %13
25: ; preds = %13
store i64 0, i64* %1
br label %26
26: ; preds = %35, %25
%27 = load i64, i64* %1
%28 = icmp slt i64 %27, 16
br i1 %28, label %29, label %38
29: ; preds = %26
%30 = load i64, i64* %1
%31 = add i64 53, %30
%32 = or i64 536887296, %31
%33 = trunc i64 %32 to i32
%34 = call i32 @McDevIf_AddPacket(i32 %33, i32 0)
br label %35
35: ; preds = %29
%36 = load i64, i64* %1
%37 = add nsw i64 %36, 1
store i64 %37, i64* %1
br label %26
38: ; preds = %26
%39 = call i32 (...) @McDevIf_ExecutePacket()
ret void
}

LLVM IR (-O2):
define void @InitializeRegister() {
%1 = tail call i32 @McDevIf_AddPacket(i32 536887406, i32 1)
%2 = tail call i32 @McDevIf_AddPacket(i32 536870940, i32 0)
%3 = tail call i32 @McDevIf_AddPacket(i32 536870939, i32 155)
%4 = tail call i32 @McDevIf_AddPacket(i32 536887311, i32 0)
%5 = tail call i32 @McDevIf_AddPacket(i32 536887310, i32 0)
%6 = tail call i32 @McDevIf_AddPacket(i32 536887296, i32 0)
%7 = tail call i32 @McDevIf_AddPacket(i32 536887410, i32 0)
%8 = tail call i32 @McDevIf_AddPacket(i32 536887411, i32 0)
%9 = tail call i32 @McDevIf_AddPacket(i32 536887348, i32 0)
%10 = tail call i32 @McDevIf_AddPacket(i32 536887382, i32 0)
%11 = tail call i32 @McDevIf_AddPacket(i32 536887312, i32 0)
%12 = tail call i32 @McDevIf_AddPacket(i32 536887315, i32 0)
%13 = tail call i32 @McDevIf_AddPacket(i32 536887316, i32 0)
%14 = tail call i32 @McDevIf_AddPacket(i32 536887317, i32 0)
%15 = tail call i32 @McDevIf_AddPacket(i32 536887318, i32 0)
%16 = tail call i32 @McDevIf_AddPacket(i32 536887319, i32 0)
%17 = tail call i32 @McDevIf_AddPacket(i32 536887320, i32 0)
%18 = tail call i32 @McDevIf_AddPacket(i32 536887321, i32 0)
%19 = tail call i32 @McDevIf_AddPacket(i32 536887322, i32 0)
%20 = tail call i32 @McDevIf_AddPacket(i32 536887323, i32 0)
%21 = tail call i32 @McDevIf_AddPacket(i32 536887324, i32 0)
%22 = tail call i32 @McDevIf_AddPacket(i32 536887325, i32 0)
%23 = tail call i32 @McDevIf_AddPacket(i32 536887326, i32 0)
%24 = tail call i32 @McDevIf_AddPacket(i32 536887327, i32 0)
%25 = tail call i32 @McDevIf_AddPacket(i32 536887328, i32 0)
%26 = tail call i32 @McDevIf_AddPacket(i32 536887329, i32 0)
%27 = tail call i32 @McDevIf_AddPacket(i32 536887330, i32 0)
%28 = tail call i32 @McDevIf_AddPacket(i32 536887349, i32 0)
%29 = tail call i32 @McDevIf_AddPacket(i32 536887350, i32 0)
%30 = tail call i32 @McDevIf_AddPacket(i32 536887351, i32 0)
%31 = tail call i32 @McDevIf_AddPacket(i32 536887352, i32 0)
%32 = tail call i32 @McDevIf_AddPacket(i32 536887353, i32 0)
%33 = tail call i32 @McDevIf_AddPacket(i32 536887354, i32 0)
%34 = tail call i32 @McDevIf_AddPacket(i32 536887355, i32 0)
%35 = tail call i32 @McDevIf_AddPacket(i32 536887356, i32 0)
%36 = tail call i32 @McDevIf_AddPacket(i32 536887357, i32 0)
%37 = tail call i32 @McDevIf_AddPacket(i32 536887358, i32 0)
%38 = tail call i32 @McDevIf_AddPacket(i32 536887359, i32 0)
%39 = tail call i32 @McDevIf_AddPacket(i32 536887360, i32 0)
%40 = tail call i32 @McDevIf_AddPacket(i32 536887361, i32 0)
%41 = tail call i32 @McDevIf_AddPacket(i32 536887362, i32 0)
%42 = tail call i32 @McDevIf_AddPacket(i32 536887363, i32 0)
%43 = tail call i32 @McDevIf_AddPacket(i32 536887364, i32 0)
%44 = tail call i32 (...) @McDevIf_ExecutePacket()
ret void
}