#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_Ofilm(int, int);
void IniIop_OFILM(void) {
  RegWriteA_Ofilm(0x0220, 0x00);
  RegWriteA_Ofilm(0x0221, 0x00);
  RegWriteA_Ofilm(0x0222, 0x0F);
  RegWriteA_Ofilm(0x0223, 0x0F);
  RegWriteA_Ofilm(0x0231, 0x00);
  RegWriteA_Ofilm(0x0230, 0x02);
  RegWriteA_Ofilm(0x0232, 0x02);
  RegWriteA_Ofilm(0x0233, 0x00);
  RegWriteA_Ofilm(0x0234, 0x00);
  RegWriteA_Ofilm(0x0235, 0x00);
  RegWriteA_Ofilm(0x0236, 0x00);
  RegWriteA_Ofilm(0x0248, 0x00);
  RegWriteA_Ofilm(0x0249, 0x00);
}


x86 assembly (clang, -O0):
<IniIop_OFILM>:
push   %rbp
mov    %rsp,%rbp
mov    $0x220,%edi
xor    %esi,%esi
call   1030 <RegWriteA_Ofilm@plt>
mov    $0x221,%edi
xor    %esi,%esi
call   1030 <RegWriteA_Ofilm@plt>
mov    $0x222,%edi
mov    $0xf,%esi
call   1030 <RegWriteA_Ofilm@plt>
mov    $0x223,%edi
mov    $0xf,%esi
call   1030 <RegWriteA_Ofilm@plt>
mov    $0x231,%edi
xor    %esi,%esi
call   1030 <RegWriteA_Ofilm@plt>
mov    $0x230,%edi
mov    $0x2,%esi
call   1030 <RegWriteA_Ofilm@plt>
mov    $0x232,%edi
mov    $0x2,%esi
call   1030 <RegWriteA_Ofilm@plt>
mov    $0x233,%edi
xor    %esi,%esi
call   1030 <RegWriteA_Ofilm@plt>
mov    $0x234,%edi
xor    %esi,%esi
call   1030 <RegWriteA_Ofilm@plt>
mov    $0x235,%edi
xor    %esi,%esi
call   1030 <RegWriteA_Ofilm@plt>
mov    $0x236,%edi
xor    %esi,%esi
call   1030 <RegWriteA_Ofilm@plt>
mov    $0x248,%edi
xor    %esi,%esi
call   1030 <RegWriteA_Ofilm@plt>
mov    $0x249,%edi
xor    %esi,%esi
call   1030 <RegWriteA_Ofilm@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<IniIop_OFILM>:
push   %rax
mov    $0x220,%edi
xor    %esi,%esi
call   1030 <RegWriteA_Ofilm@plt>
mov    $0x221,%edi
xor    %esi,%esi
call   1030 <RegWriteA_Ofilm@plt>
mov    $0x222,%edi
mov    $0xf,%esi
call   1030 <RegWriteA_Ofilm@plt>
mov    $0x223,%edi
mov    $0xf,%esi
call   1030 <RegWriteA_Ofilm@plt>
mov    $0x231,%edi
xor    %esi,%esi
call   1030 <RegWriteA_Ofilm@plt>
mov    $0x230,%edi
mov    $0x2,%esi
call   1030 <RegWriteA_Ofilm@plt>
mov    $0x232,%edi
mov    $0x2,%esi
call   1030 <RegWriteA_Ofilm@plt>
mov    $0x233,%edi
xor    %esi,%esi
call   1030 <RegWriteA_Ofilm@plt>
mov    $0x234,%edi
xor    %esi,%esi
call   1030 <RegWriteA_Ofilm@plt>
mov    $0x235,%edi
xor    %esi,%esi
call   1030 <RegWriteA_Ofilm@plt>
mov    $0x236,%edi
xor    %esi,%esi
call   1030 <RegWriteA_Ofilm@plt>
mov    $0x248,%edi
xor    %esi,%esi
call   1030 <RegWriteA_Ofilm@plt>
mov    $0x249,%edi
xor    %esi,%esi
pop    %rax
jmp    1030 <RegWriteA_Ofilm@plt>

LLVM IR (-O0):
define void @IniIop_OFILM() {
%1 = call i32 @RegWriteA_Ofilm(i32 544, i32 0)
%2 = call i32 @RegWriteA_Ofilm(i32 545, i32 0)
%3 = call i32 @RegWriteA_Ofilm(i32 546, i32 15)
%4 = call i32 @RegWriteA_Ofilm(i32 547, i32 15)
%5 = call i32 @RegWriteA_Ofilm(i32 561, i32 0)
%6 = call i32 @RegWriteA_Ofilm(i32 560, i32 2)
%7 = call i32 @RegWriteA_Ofilm(i32 562, i32 2)
%8 = call i32 @RegWriteA_Ofilm(i32 563, i32 0)
%9 = call i32 @RegWriteA_Ofilm(i32 564, i32 0)
%10 = call i32 @RegWriteA_Ofilm(i32 565, i32 0)
%11 = call i32 @RegWriteA_Ofilm(i32 566, i32 0)
%12 = call i32 @RegWriteA_Ofilm(i32 584, i32 0)
%13 = call i32 @RegWriteA_Ofilm(i32 585, i32 0)
ret void
}

LLVM IR (-O2):
define void @IniIop_OFILM() {
%1 = tail call i32 @RegWriteA_Ofilm(i32 544, i32 0)
%2 = tail call i32 @RegWriteA_Ofilm(i32 545, i32 0)
%3 = tail call i32 @RegWriteA_Ofilm(i32 546, i32 15)
%4 = tail call i32 @RegWriteA_Ofilm(i32 547, i32 15)
%5 = tail call i32 @RegWriteA_Ofilm(i32 561, i32 0)
%6 = tail call i32 @RegWriteA_Ofilm(i32 560, i32 2)
%7 = tail call i32 @RegWriteA_Ofilm(i32 562, i32 2)
%8 = tail call i32 @RegWriteA_Ofilm(i32 563, i32 0)
%9 = tail call i32 @RegWriteA_Ofilm(i32 564, i32 0)
%10 = tail call i32 @RegWriteA_Ofilm(i32 565, i32 0)
%11 = tail call i32 @RegWriteA_Ofilm(i32 566, i32 0)
%12 = tail call i32 @RegWriteA_Ofilm(i32 584, i32 0)
%13 = tail call i32 @RegWriteA_Ofilm(i32 585, i32 0)
ret void
}