#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*/ BsyWit_OFILM(int, int);
int /*<<< orphan*/ ClrGyr_OFILM(int, int);
int /*<<< orphan*/ RamWrite32A_Ofilm(int, int);
int /*<<< orphan*/ RegWriteA_Ofilm(int, int);
void LopMes_OFILM(void) {
  ClrGyr_OFILM(0x1000, 0x02);
  RamWrite32A_Ofilm(0x1041, 0x00000000);
  RamWrite32A_Ofilm(0x1141, 0x00000000);
  RegWriteA_Ofilm(0x0193, 0x04);
  RegWriteA_Ofilm(0x0192, 0x00);
  RamWrite32A_Ofilm(0x1230, 0x3A800000);
  RegWriteA_Ofilm(0x0198, 0x01);
  RegWriteA_Ofilm(0x0199, 0x00);
  BsyWit_OFILM(0x0190, 0x01);
}


x86 assembly (clang, -O0):
<LopMes_OFILM>:
push   %rbp
mov    %rsp,%rbp
mov    $0x1000,%edi
mov    $0x2,%esi
call   1030 <ClrGyr_OFILM@plt>
mov    $0x1041,%edi
xor    %esi,%esi
call   1060 <RamWrite32A_Ofilm@plt>
mov    $0x1141,%edi
xor    %esi,%esi
call   1060 <RamWrite32A_Ofilm@plt>
mov    $0x193,%edi
mov    $0x4,%esi
call   1050 <RegWriteA_Ofilm@plt>
mov    $0x192,%edi
xor    %esi,%esi
call   1050 <RegWriteA_Ofilm@plt>
mov    $0x1230,%edi
mov    $0x3a800000,%esi
call   1060 <RamWrite32A_Ofilm@plt>
mov    $0x198,%edi
mov    $0x1,%esi
call   1050 <RegWriteA_Ofilm@plt>
mov    $0x199,%edi
xor    %esi,%esi
call   1050 <RegWriteA_Ofilm@plt>
mov    $0x190,%edi
mov    $0x1,%esi
call   1040 <BsyWit_OFILM@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<LopMes_OFILM>:
push   %rax
mov    $0x1000,%edi
mov    $0x2,%esi
call   1030 <ClrGyr_OFILM@plt>
mov    $0x1041,%edi
xor    %esi,%esi
call   1060 <RamWrite32A_Ofilm@plt>
mov    $0x1141,%edi
xor    %esi,%esi
call   1060 <RamWrite32A_Ofilm@plt>
mov    $0x193,%edi
mov    $0x4,%esi
call   1050 <RegWriteA_Ofilm@plt>
mov    $0x192,%edi
xor    %esi,%esi
call   1050 <RegWriteA_Ofilm@plt>
mov    $0x1230,%edi
mov    $0x3a800000,%esi
call   1060 <RamWrite32A_Ofilm@plt>
mov    $0x198,%edi
mov    $0x1,%esi
call   1050 <RegWriteA_Ofilm@plt>
mov    $0x199,%edi
xor    %esi,%esi
call   1050 <RegWriteA_Ofilm@plt>
mov    $0x190,%edi
mov    $0x1,%esi
pop    %rax
jmp    1040 <BsyWit_OFILM@plt>

LLVM IR (-O0):
define void @LopMes_OFILM() {
%1 = call i32 @ClrGyr_OFILM(i32 4096, i32 2)
%2 = call i32 @RamWrite32A_Ofilm(i32 4161, i32 0)
%3 = call i32 @RamWrite32A_Ofilm(i32 4417, i32 0)
%4 = call i32 @RegWriteA_Ofilm(i32 403, i32 4)
%5 = call i32 @RegWriteA_Ofilm(i32 402, i32 0)
%6 = call i32 @RamWrite32A_Ofilm(i32 4656, i32 981467136)
%7 = call i32 @RegWriteA_Ofilm(i32 408, i32 1)
%8 = call i32 @RegWriteA_Ofilm(i32 409, i32 0)
%9 = call i32 @BsyWit_OFILM(i32 400, i32 1)
ret void
}

LLVM IR (-O2):
define void @LopMes_OFILM() {
%1 = tail call i32 @ClrGyr_OFILM(i32 4096, i32 2)
%2 = tail call i32 @RamWrite32A_Ofilm(i32 4161, i32 0)
%3 = tail call i32 @RamWrite32A_Ofilm(i32 4417, i32 0)
%4 = tail call i32 @RegWriteA_Ofilm(i32 403, i32 4)
%5 = tail call i32 @RegWriteA_Ofilm(i32 402, i32 0)
%6 = tail call i32 @RamWrite32A_Ofilm(i32 4656, i32 981467136)
%7 = tail call i32 @RegWriteA_Ofilm(i32 408, i32 1)
%8 = tail call i32 @RegWriteA_Ofilm(i32 409, i32 0)
%9 = tail call i32 @BsyWit_OFILM(i32 400, i32 1)
ret void
}