#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*/ RegWriteA_LC898122AF(int, int);
void IniMon(void) {
  RegWriteA_LC898122AF(0x0030, 0x00);
  RegWriteA_LC898122AF(0x0270, 0x5C);
  RegWriteA_LC898122AF(0x0271, 0x5D);
  RegWriteA_LC898122AF(0x0272, 0x00);
  RegWriteA_LC898122AF(0x0273, 0x00);
  RegWriteA_LC898122AF(0x01C0, 0x00);
  RegWriteA_LC898122AF(0x01C1, 0x00);
  RegWriteA_LC898122AF(0x01C2, 0x00);
  RegWriteA_LC898122AF(0x01C3, 0x00);
  RegWriteA_LC898122AF(0x01C5, 0x04);
  RegWriteA_LC898122AF(0x01C4, 0x40);
  RegWriteA_LC898122AF(0x01C7, 0x04);
  RegWriteA_LC898122AF(0x01C6, 0xC0);
  RegWriteA_LC898122AF(0x01C9, 0x00);
  RegWriteA_LC898122AF(0x01C8, 0x00);
  RegWriteA_LC898122AF(0x01CB, 0x00);
  RegWriteA_LC898122AF(0x01CA, 0x00);
  RegWriteA_LC898122AF(0x0030, 0x80);
}


x86 assembly (clang, -O0):
<IniMon>:
push   %rbp
mov    %rsp,%rbp
mov    $0x30,%edi
xor    %esi,%esi
call   1030 <RegWriteA_LC898122AF@plt>
mov    $0x270,%edi
mov    $0x5c,%esi
call   1030 <RegWriteA_LC898122AF@plt>
mov    $0x271,%edi
mov    $0x5d,%esi
call   1030 <RegWriteA_LC898122AF@plt>
mov    $0x272,%edi
xor    %esi,%esi
call   1030 <RegWriteA_LC898122AF@plt>
mov    $0x273,%edi
xor    %esi,%esi
call   1030 <RegWriteA_LC898122AF@plt>
mov    $0x1c0,%edi
xor    %esi,%esi
call   1030 <RegWriteA_LC898122AF@plt>
mov    $0x1c1,%edi
xor    %esi,%esi
call   1030 <RegWriteA_LC898122AF@plt>
mov    $0x1c2,%edi
xor    %esi,%esi
call   1030 <RegWriteA_LC898122AF@plt>
mov    $0x1c3,%edi
xor    %esi,%esi
call   1030 <RegWriteA_LC898122AF@plt>
mov    $0x1c5,%edi
mov    $0x4,%esi
call   1030 <RegWriteA_LC898122AF@plt>
mov    $0x1c4,%edi
mov    $0x40,%esi
call   1030 <RegWriteA_LC898122AF@plt>
mov    $0x1c7,%edi
mov    $0x4,%esi
call   1030 <RegWriteA_LC898122AF@plt>
mov    $0x1c6,%edi
mov    $0xc0,%esi
call   1030 <RegWriteA_LC898122AF@plt>
mov    $0x1c9,%edi
xor    %esi,%esi
call   1030 <RegWriteA_LC898122AF@plt>
mov    $0x1c8,%edi
xor    %esi,%esi
call   1030 <RegWriteA_LC898122AF@plt>
mov    $0x1cb,%edi
xor    %esi,%esi
call   1030 <RegWriteA_LC898122AF@plt>
mov    $0x1ca,%edi
xor    %esi,%esi
call   1030 <RegWriteA_LC898122AF@plt>
mov    $0x30,%edi
mov    $0x80,%esi
call   1030 <RegWriteA_LC898122AF@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<IniMon>:
push   %rax
mov    $0x30,%edi
xor    %esi,%esi
call   1030 <RegWriteA_LC898122AF@plt>
mov    $0x270,%edi
mov    $0x5c,%esi
call   1030 <RegWriteA_LC898122AF@plt>
mov    $0x271,%edi
mov    $0x5d,%esi
call   1030 <RegWriteA_LC898122AF@plt>
mov    $0x272,%edi
xor    %esi,%esi
call   1030 <RegWriteA_LC898122AF@plt>
mov    $0x273,%edi
xor    %esi,%esi
call   1030 <RegWriteA_LC898122AF@plt>
mov    $0x1c0,%edi
xor    %esi,%esi
call   1030 <RegWriteA_LC898122AF@plt>
mov    $0x1c1,%edi
xor    %esi,%esi
call   1030 <RegWriteA_LC898122AF@plt>
mov    $0x1c2,%edi
xor    %esi,%esi
call   1030 <RegWriteA_LC898122AF@plt>
mov    $0x1c3,%edi
xor    %esi,%esi
call   1030 <RegWriteA_LC898122AF@plt>
mov    $0x1c5,%edi
mov    $0x4,%esi
call   1030 <RegWriteA_LC898122AF@plt>
mov    $0x1c4,%edi
mov    $0x40,%esi
call   1030 <RegWriteA_LC898122AF@plt>
mov    $0x1c7,%edi
mov    $0x4,%esi
call   1030 <RegWriteA_LC898122AF@plt>
mov    $0x1c6,%edi
mov    $0xc0,%esi
call   1030 <RegWriteA_LC898122AF@plt>
mov    $0x1c9,%edi
xor    %esi,%esi
call   1030 <RegWriteA_LC898122AF@plt>
mov    $0x1c8,%edi
xor    %esi,%esi
call   1030 <RegWriteA_LC898122AF@plt>
mov    $0x1cb,%edi
xor    %esi,%esi
call   1030 <RegWriteA_LC898122AF@plt>
mov    $0x1ca,%edi
xor    %esi,%esi
call   1030 <RegWriteA_LC898122AF@plt>
mov    $0x30,%edi
mov    $0x80,%esi
pop    %rax
jmp    1030 <RegWriteA_LC898122AF@plt>

LLVM IR (-O0):
define void @IniMon() {
%1 = call i32 @RegWriteA_LC898122AF(i32 48, i32 0)
%2 = call i32 @RegWriteA_LC898122AF(i32 624, i32 92)
%3 = call i32 @RegWriteA_LC898122AF(i32 625, i32 93)
%4 = call i32 @RegWriteA_LC898122AF(i32 626, i32 0)
%5 = call i32 @RegWriteA_LC898122AF(i32 627, i32 0)
%6 = call i32 @RegWriteA_LC898122AF(i32 448, i32 0)
%7 = call i32 @RegWriteA_LC898122AF(i32 449, i32 0)
%8 = call i32 @RegWriteA_LC898122AF(i32 450, i32 0)
%9 = call i32 @RegWriteA_LC898122AF(i32 451, i32 0)
%10 = call i32 @RegWriteA_LC898122AF(i32 453, i32 4)
%11 = call i32 @RegWriteA_LC898122AF(i32 452, i32 64)
%12 = call i32 @RegWriteA_LC898122AF(i32 455, i32 4)
%13 = call i32 @RegWriteA_LC898122AF(i32 454, i32 192)
%14 = call i32 @RegWriteA_LC898122AF(i32 457, i32 0)
%15 = call i32 @RegWriteA_LC898122AF(i32 456, i32 0)
%16 = call i32 @RegWriteA_LC898122AF(i32 459, i32 0)
%17 = call i32 @RegWriteA_LC898122AF(i32 458, i32 0)
%18 = call i32 @RegWriteA_LC898122AF(i32 48, i32 128)
ret void
}

LLVM IR (-O2):
define void @IniMon() {
%1 = tail call i32 @RegWriteA_LC898122AF(i32 48, i32 0)
%2 = tail call i32 @RegWriteA_LC898122AF(i32 624, i32 92)
%3 = tail call i32 @RegWriteA_LC898122AF(i32 625, i32 93)
%4 = tail call i32 @RegWriteA_LC898122AF(i32 626, i32 0)
%5 = tail call i32 @RegWriteA_LC898122AF(i32 627, i32 0)
%6 = tail call i32 @RegWriteA_LC898122AF(i32 448, i32 0)
%7 = tail call i32 @RegWriteA_LC898122AF(i32 449, i32 0)
%8 = tail call i32 @RegWriteA_LC898122AF(i32 450, i32 0)
%9 = tail call i32 @RegWriteA_LC898122AF(i32 451, i32 0)
%10 = tail call i32 @RegWriteA_LC898122AF(i32 453, i32 4)
%11 = tail call i32 @RegWriteA_LC898122AF(i32 452, i32 64)
%12 = tail call i32 @RegWriteA_LC898122AF(i32 455, i32 4)
%13 = tail call i32 @RegWriteA_LC898122AF(i32 454, i32 192)
%14 = tail call i32 @RegWriteA_LC898122AF(i32 457, i32 0)
%15 = tail call i32 @RegWriteA_LC898122AF(i32 456, i32 0)
%16 = tail call i32 @RegWriteA_LC898122AF(i32 459, i32 0)
%17 = tail call i32 @RegWriteA_LC898122AF(i32 458, i32 0)
%18 = tail call i32 @RegWriteA_LC898122AF(i32 48, i32 128)
ret void
}