#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*/ AfDrvSw_OFILM(int);
int /*<<< orphan*/ DrvSw_OFILM(int);
int /*<<< orphan*/ GyOutSignalCont_OFILM();
int /*<<< orphan*/ RegReadA_Ofilm(int, unsigned char *);
int /*<<< orphan*/ RegWriteA_Ofilm(int, unsigned char);
int /*<<< orphan*/ SelectGySleep_OFILM(int);
void SetStandby_OFILM(unsigned char UcContMode_OFILM) {
  unsigned char UcStbb0_OFILM, UcClkon_OFILM;
  switch (UcContMode_OFILM) {
  case 0x00:;
    RegWriteA_Ofilm(0x0081, 0x00);
    RegWriteA_Ofilm(0x0250, 0x00);
    RegWriteA_Ofilm(0x0264, 0x00);
    RegWriteA_Ofilm(0x0010, 0x00);
    RegWriteA_Ofilm(0x0090, 0x00);
    RegWriteA_Ofilm(0x0020, 0x00);
    DrvSw_OFILM(0x00);
    AfDrvSw_OFILM(0x00);
    RegWriteA_Ofilm(0x0030, 0x00);
    SelectGySleep_OFILM(0x01);
    break;
  case 0x01:
    SelectGySleep_OFILM(0x00);
    RegWriteA_Ofilm(0x0030, 0x80);
    DrvSw_OFILM(0x01);
    AfDrvSw_OFILM(0x01);
    RegWriteA_Ofilm(0x0020, 0xC0);
    RegWriteA_Ofilm(0x0090, 0x00);
    RegWriteA_Ofilm(0x0010, 0xC0);
    RegWriteA_Ofilm(0x0264, 0x05);
    RegWriteA_Ofilm(0x0250, 0xDF);
    ;
    break;
  case 0x02:;
    RegWriteA_Ofilm(0x0081, 0x00);
    RegWriteA_Ofilm(0x0250, 0x00);
    RegWriteA_Ofilm(0x0264, 0x00);
    RegWriteA_Ofilm(0x0010, 0x00);
    RegWriteA_Ofilm(0x0090, 0x00);
    RegWriteA_Ofilm(0x0020, 0x00);
    DrvSw_OFILM(0x00);
    AfDrvSw_OFILM(0x00);
    RegWriteA_Ofilm(0x0030, 0x00);
    SelectGySleep_OFILM(0x01);
    RegWriteA_Ofilm(0x020B, 0x00);
    break;
  case 0x03:
    RegWriteA_Ofilm(0x020B, 0x1F);
    SelectGySleep_OFILM(0x00);
    RegWriteA_Ofilm(0x0030, 0x80);
    DrvSw_OFILM(0x01);
    AfDrvSw_OFILM(0x01);
    RegWriteA_Ofilm(0x0020, 0xC0);
    RegWriteA_Ofilm(0x0090, 0x00);
    RegWriteA_Ofilm(0x0010, 0xC0);
    RegWriteA_Ofilm(0x0264, 0x05);
    RegWriteA_Ofilm(0x0250, 0xDF);
    ;
    break;
  case 0x04:;
    RegWriteA_Ofilm(0x0081, 0x00);
    RegWriteA_Ofilm(0x0250, 0x00);
    RegWriteA_Ofilm(0x0264, 0x00);
    RegWriteA_Ofilm(0x0010, 0x00);
    RegWriteA_Ofilm(0x0090, 0x00);
    RegWriteA_Ofilm(0x0020, 0x00);
    DrvSw_OFILM(0x00);
    AfDrvSw_OFILM(0x00);
    RegWriteA_Ofilm(0x0030, 0x00);
    SelectGySleep_OFILM(0x01);
    RegWriteA_Ofilm(0x020B, 0x00);
    RegWriteA_Ofilm(0x0248, 0x01);
    RegWriteA_Ofilm(0x0256, 0x02);
    break;
  case 0x05:
    RegWriteA_Ofilm(0x0256, 0x00);
    RegWriteA_Ofilm(0x0248, 0x00);
    RegWriteA_Ofilm(0x020B, 0x1F);
    SelectGySleep_OFILM(0x00);
    RegWriteA_Ofilm(0x0030, 0x80);
    DrvSw_OFILM(0x01);
    AfDrvSw_OFILM(0x01);
    RegWriteA_Ofilm(0x0020, 0xC0);
    RegWriteA_Ofilm(0x0090, 0x00);
    RegWriteA_Ofilm(0x0010, 0xC0);
    RegWriteA_Ofilm(0x0264, 0x05);
    RegWriteA_Ofilm(0x0250, 0xDF);
    ;
    break;
  case 0x06:;
    RegWriteA_Ofilm(0x0081, 0x00);
    RegWriteA_Ofilm(0x0250, 0x00);
    RegWriteA_Ofilm(0x0264, 0x00);
    RegWriteA_Ofilm(0x0010, 0x00);
    RegWriteA_Ofilm(0x0090, 0x00);
    RegWriteA_Ofilm(0x0020, 0x00);
    DrvSw_OFILM(0x00);
    AfDrvSw_OFILM(0x00);
    RegWriteA_Ofilm(0x0030, 0x00);
    GyOutSignalCont_OFILM();
    RegWriteA_Ofilm(0x020B, 0x04);
    break;
  case 0x07:
    RegWriteA_Ofilm(0x020B, 0x1F);
    SelectGySleep_OFILM(0x00);
    RegWriteA_Ofilm(0x0030, 0x80);
    DrvSw_OFILM(0x01);
    AfDrvSw_OFILM(0x01);
    RegWriteA_Ofilm(0x0020, 0xC0);
    RegWriteA_Ofilm(0x0090, 0x00);
    RegWriteA_Ofilm(0x0010, 0xC0);
    RegWriteA_Ofilm(0x0264, 0x05);
    RegWriteA_Ofilm(0x0250, 0xDF);
    ;
    break;
  case 0x08:;
    RegReadA_Ofilm(0x0250, &UcStbb0_OFILM);
    UcStbb0_OFILM &= 0x80;
    RegWriteA_Ofilm(0x0250, UcStbb0_OFILM);
    RegWriteA_Ofilm(0x0010, 0x00);
    RegWriteA_Ofilm(0x0020, 0x00);
    DrvSw_OFILM(0x00);
    RegWriteA_Ofilm(0x0030, 0x00);
    SelectGySleep_OFILM(0x01);
    RegReadA_Ofilm(0x020B, &UcClkon_OFILM);
    UcClkon_OFILM &= 0x1A;
    RegWriteA_Ofilm(0x020B, UcClkon_OFILM);
    break;
  case 0x09:
    RegReadA_Ofilm(0x020B, &UcClkon_OFILM);
    UcClkon_OFILM |= 0x05;
    RegWriteA_Ofilm(0x020B, UcClkon_OFILM);
    SelectGySleep_OFILM(0x00);
    RegWriteA_Ofilm(0x0030, 0x80);
    DrvSw_OFILM(0x01);
    RegWriteA_Ofilm(0x0020, 0xC0);
    RegWriteA_Ofilm(0x0010, 0xC0);
    RegReadA_Ofilm(0x0250, &UcStbb0_OFILM);
    UcStbb0_OFILM |= 0x5F;
    RegWriteA_Ofilm(0x0250, UcStbb0_OFILM);
    ;
    break;
  case 0x0A:;
    RegWriteA_Ofilm(0x0081, 0x00);
    RegReadA_Ofilm(0x0250, &UcStbb0_OFILM);
    UcStbb0_OFILM &= 0x7F;
    RegWriteA_Ofilm(0x0250, UcStbb0_OFILM);
    RegWriteA_Ofilm(0x0264, 0x00);
    RegWriteA_Ofilm(0x0090, 0x00);
    AfDrvSw_OFILM(0x00);
    RegWriteA_Ofilm(0x0030, 0x00);
    RegReadA_Ofilm(0x020B, &UcClkon_OFILM);
    UcClkon_OFILM &= 0x07;
    RegWriteA_Ofilm(0x020B, UcClkon_OFILM);
    break;
  case 0x0B:
    RegReadA_Ofilm(0x020B, &UcClkon_OFILM);
    UcClkon_OFILM |= 0x18;
    RegWriteA_Ofilm(0x020B, UcClkon_OFILM);
    AfDrvSw_OFILM(0x01);
    RegWriteA_Ofilm(0x0090, 0x00);
    RegWriteA_Ofilm(0x0264, 0x05);
    RegReadA_Ofilm(0x0250, &UcStbb0_OFILM);
    UcStbb0_OFILM |= 0x80;
    RegWriteA_Ofilm(0x0250, UcStbb0_OFILM);
    ;
    break;
  }
}


x86 assembly (clang, -O0):
<SetStandby_OFILM>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
mov    %dil,%al
mov    %al,-0x1(%rbp)
movzbl -0x1(%rbp),%eax
mov    %rax,-0x10(%rbp)
sub    $0xb,%rax
ja     17cd <SetStandby_OFILM+0x66d>
mov    -0x10(%rbp),%rax
lea    0xe75(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
jmp    *%rax
mov    $0x81,%edi
xor    %esi,%esi
call   1060 <RegWriteA_Ofilm@plt>
mov    $0x250,%edi
xor    %esi,%esi
call   1060 <RegWriteA_Ofilm@plt>
mov    $0x264,%edi
xor    %esi,%esi
call   1060 <RegWriteA_Ofilm@plt>
mov    $0x10,%edi
xor    %esi,%esi
call   1060 <RegWriteA_Ofilm@plt>
mov    $0x90,%edi
xor    %esi,%esi
call   1060 <RegWriteA_Ofilm@plt>
mov    $0x20,%edi
xor    %esi,%esi
call   1060 <RegWriteA_Ofilm@plt>
xor    %edi,%edi
call   1070 <DrvSw_OFILM@plt>
xor    %edi,%edi
call   1050 <AfDrvSw_OFILM@plt>
mov    $0x30,%edi
xor    %esi,%esi
call   1060 <RegWriteA_Ofilm@plt>
mov    $0x1,%edi
call   1080 <SelectGySleep_OFILM@plt>
jmp    17cd <SetStandby_OFILM+0x66d>
xor    %edi,%edi
call   1080 <SelectGySleep_OFILM@plt>
mov    $0x30,%edi
mov    $0x80,%esi
call   1060 <RegWriteA_Ofilm@plt>
mov    $0x1,%edi
call   1070 <DrvSw_OFILM@plt>
mov    $0x1,%edi
call   1050 <AfDrvSw_OFILM@plt>
mov    $0x20,%edi
mov    $0xc0,%esi
call   1060 <RegWriteA_Ofilm@plt>
mov    $0x90,%edi
xor    %esi,%esi
call   1060 <RegWriteA_Ofilm@plt>
mov    $0x10,%edi
mov    $0xc0,%esi
call   1060 <RegWriteA_Ofilm@plt>
mov    $0x264,%edi
mov    $0x5,%esi
call   1060 <RegWriteA_Ofilm@plt>
mov    $0x250,%edi
mov    $0xdf,%esi
call   1060 <RegWriteA_Ofilm@plt>
jmp    17cd <SetStandby_OFILM+0x66d>
mov    $0x81,%edi
xor    %esi,%esi
call   1060 <RegWriteA_Ofilm@plt>
mov    $0x250,%edi
xor    %esi,%esi
call   1060 <RegWriteA_Ofilm@plt>
mov    $0x264,%edi
xor    %esi,%esi
call   1060 <RegWriteA_Ofilm@plt>
mov    $0x10,%edi
xor    %esi,%esi
call   1060 <RegWriteA_Ofilm@plt>
mov    $0x90,%edi
xor    %esi,%esi
call   1060 <RegWriteA_Ofilm@plt>
mov    $0x20,%edi
xor    %esi,%esi
call   1060 <RegWriteA_Ofilm@plt>
xor    %edi,%edi
call   1070 <DrvSw_OFILM@plt>
xor    %edi,%edi
call   1050 <AfDrvSw_OFILM@plt>
mov    $0x30,%edi
xor    %esi,%esi
call   1060 <RegWriteA_Ofilm@plt>
mov    $0x1,%edi
call   1080 <SelectGySleep_OFILM@plt>
mov    $0x20b,%edi
xor    %esi,%esi
call   1060 <RegWriteA_Ofilm@plt>
jmp    17cd <SetStandby_OFILM+0x66d>
mov    $0x20b,%edi
mov    $0x1f,%esi
call   1060 <RegWriteA_Ofilm@plt>
xor    %edi,%edi
call   1080 <SelectGySleep_OFILM@plt>
mov    $0x30,%edi
mov    $0x80,%esi
call   1060 <RegWriteA_Ofilm@plt>
mov    $0x1,%edi
call   1070 <DrvSw_OFILM@plt>
mov    $0x1,%edi
call   1050 <AfDrvSw_OFILM@plt>
mov    $0x20,%edi
mov    $0xc0,%esi
call   1060 <RegWriteA_Ofilm@plt>
mov    $0x90,%edi
xor    %esi,%esi
call   1060 <RegWriteA_Ofilm@plt>
mov    $0x10,%edi
mov    $0xc0,%esi
call   1060 <RegWriteA_Ofilm@plt>
mov    $0x264,%edi
mov    $0x5,%esi
call   1060 <RegWriteA_Ofilm@plt>
mov    $0x250,%edi
mov    $0xdf,%esi
call   1060 <RegWriteA_Ofilm@plt>
jmp    17cd <SetStandby_OFILM+0x66d>
mov    $0x81,%edi
xor    %esi,%esi
call   1060 <RegWriteA_Ofilm@plt>
mov    $0x250,%edi
xor    %esi,%esi
call   1060 <RegWriteA_Ofilm@plt>
mov    $0x264,%edi
xor    %esi,%esi
call   1060 <RegWriteA_Ofilm@plt>
mov    $0x10,%edi
xor    %esi,%esi
call   1060 <RegWriteA_Ofilm@plt>
mov    $0x90,%edi
xor    %esi,%esi
call   1060 <RegWriteA_Ofilm@plt>
mov    $0x20,%edi
xor    %esi,%esi
call   1060 <RegWriteA_Ofilm@plt>
xor    %edi,%edi
call   1070 <DrvSw_OFILM@plt>
xor    %edi,%edi
call   1050 <AfDrvSw_OFILM@plt>
mov    $0x30,%edi
xor    %esi,%esi
call   1060 <RegWriteA_Ofilm@plt>
mov    $0x1,%edi
call   1080 <SelectGySleep_OFILM@plt>
mov    $0x20b,%edi
xor    %esi,%esi
call   1060 <RegWriteA_Ofilm@plt>
mov    $0x248,%edi
mov    $0x1,%esi
call   1060 <RegWriteA_Ofilm@plt>
mov    $0x256,%edi
mov    $0x2,%esi
call   1060 <RegWriteA_Ofilm@plt>
jmp    17cd <SetStandby_OFILM+0x66d>
mov    $0x256,%edi
xor    %esi,%esi
call   1060 <RegWriteA_Ofilm@plt>
mov    $0x248,%edi
xor    %esi,%esi
call   1060 <RegWriteA_Ofilm@plt>
mov    $0x20b,%edi
mov    $0x1f,%esi
call   1060 <RegWriteA_Ofilm@plt>
xor    %edi,%edi
call   1080 <SelectGySleep_OFILM@plt>
mov    $0x30,%edi
mov    $0x80,%esi
call   1060 <RegWriteA_Ofilm@plt>
mov    $0x1,%edi
call   1070 <DrvSw_OFILM@plt>
mov    $0x1,%edi
call   1050 <AfDrvSw_OFILM@plt>
mov    $0x20,%edi
mov    $0xc0,%esi
call   1060 <RegWriteA_Ofilm@plt>
mov    $0x90,%edi
xor    %esi,%esi
call   1060 <RegWriteA_Ofilm@plt>
mov    $0x10,%edi
mov    $0xc0,%esi
call   1060 <RegWriteA_Ofilm@plt>
mov    $0x264,%edi
mov    $0x5,%esi
call   1060 <RegWriteA_Ofilm@plt>
mov    $0x250,%edi
mov    $0xdf,%esi
call   1060 <RegWriteA_Ofilm@plt>
jmp    17cd <SetStandby_OFILM+0x66d>
mov    $0x81,%edi
xor    %esi,%esi
call   1060 <RegWriteA_Ofilm@plt>
mov    $0x250,%edi
xor    %esi,%esi
call   1060 <RegWriteA_Ofilm@plt>
mov    $0x264,%edi
xor    %esi,%esi
call   1060 <RegWriteA_Ofilm@plt>
mov    $0x10,%edi
xor    %esi,%esi
call   1060 <RegWriteA_Ofilm@plt>
mov    $0x90,%edi
xor    %esi,%esi
call   1060 <RegWriteA_Ofilm@plt>
mov    $0x20,%edi
xor    %esi,%esi
call   1060 <RegWriteA_Ofilm@plt>
xor    %edi,%edi
call   1070 <DrvSw_OFILM@plt>
xor    %edi,%edi
call   1050 <AfDrvSw_OFILM@plt>
mov    $0x30,%edi
xor    %esi,%esi
call   1060 <RegWriteA_Ofilm@plt>
mov    $0x0,%al
call   1040 <GyOutSignalCont_OFILM@plt>
mov    $0x20b,%edi
mov    $0x4,%esi
call   1060 <RegWriteA_Ofilm@plt>
jmp    17cd <SetStandby_OFILM+0x66d>
mov    $0x20b,%edi
mov    $0x1f,%esi
call   1060 <RegWriteA_Ofilm@plt>
xor    %edi,%edi
call   1080 <SelectGySleep_OFILM@plt>
mov    $0x30,%edi
mov    $0x80,%esi
call   1060 <RegWriteA_Ofilm@plt>
mov    $0x1,%edi
call   1070 <DrvSw_OFILM@plt>
mov    $0x1,%edi
call   1050 <AfDrvSw_OFILM@plt>
mov    $0x20,%edi
mov    $0xc0,%esi
call   1060 <RegWriteA_Ofilm@plt>
mov    $0x90,%edi
xor    %esi,%esi
call   1060 <RegWriteA_Ofilm@plt>
mov    $0x10,%edi
mov    $0xc0,%esi
call   1060 <RegWriteA_Ofilm@plt>
mov    $0x264,%edi
mov    $0x5,%esi
call   1060 <RegWriteA_Ofilm@plt>
mov    $0x250,%edi
mov    $0xdf,%esi
call   1060 <RegWriteA_Ofilm@plt>
jmp    17cd <SetStandby_OFILM+0x66d>
mov    $0x250,%edi
lea    -0x2(%rbp),%rsi
call   1030 <RegReadA_Ofilm@plt>
movzbl -0x2(%rbp),%eax
and    $0x80,%eax
mov    %al,-0x2(%rbp)
mov    $0x250,%edi
movzbl -0x2(%rbp),%esi
call   1060 <RegWriteA_Ofilm@plt>
mov    $0x10,%edi
xor    %esi,%esi
call   1060 <RegWriteA_Ofilm@plt>
mov    $0x20,%edi
xor    %esi,%esi
call   1060 <RegWriteA_Ofilm@plt>
xor    %edi,%edi
call   1070 <DrvSw_OFILM@plt>
mov    $0x30,%edi
xor    %esi,%esi
call   1060 <RegWriteA_Ofilm@plt>
mov    $0x1,%edi
call   1080 <SelectGySleep_OFILM@plt>
mov    $0x20b,%edi
lea    -0x3(%rbp),%rsi
call   1030 <RegReadA_Ofilm@plt>
movzbl -0x3(%rbp),%eax
and    $0x1a,%eax
mov    %al,-0x3(%rbp)
mov    $0x20b,%edi
movzbl -0x3(%rbp),%esi
call   1060 <RegWriteA_Ofilm@plt>
jmp    17cd <SetStandby_OFILM+0x66d>
mov    $0x20b,%edi
lea    -0x3(%rbp),%rsi
call   1030 <RegReadA_Ofilm@plt>
movzbl -0x3(%rbp),%eax
or     $0x5,%eax
mov    %al,-0x3(%rbp)
mov    $0x20b,%edi
movzbl -0x3(%rbp),%esi
call   1060 <RegWriteA_Ofilm@plt>
xor    %edi,%edi
call   1080 <SelectGySleep_OFILM@plt>
mov    $0x30,%edi
mov    $0x80,%esi
call   1060 <RegWriteA_Ofilm@plt>
mov    $0x1,%edi
call   1070 <DrvSw_OFILM@plt>
mov    $0x20,%edi
mov    $0xc0,%esi
call   1060 <RegWriteA_Ofilm@plt>
mov    $0x10,%edi
mov    $0xc0,%esi
call   1060 <RegWriteA_Ofilm@plt>
mov    $0x250,%edi
lea    -0x2(%rbp),%rsi
call   1030 <RegReadA_Ofilm@plt>
movzbl -0x2(%rbp),%eax
or     $0x5f,%eax
mov    %al,-0x2(%rbp)
mov    $0x250,%edi
movzbl -0x2(%rbp),%esi
call   1060 <RegWriteA_Ofilm@plt>
jmp    17cd <SetStandby_OFILM+0x66d>
mov    $0x81,%edi
xor    %esi,%esi
call   1060 <RegWriteA_Ofilm@plt>
mov    $0x250,%edi
lea    -0x2(%rbp),%rsi
call   1030 <RegReadA_Ofilm@plt>
movzbl -0x2(%rbp),%eax
and    $0x7f,%eax
mov    %al,-0x2(%rbp)
mov    $0x250,%edi
movzbl -0x2(%rbp),%esi
call   1060 <RegWriteA_Ofilm@plt>
mov    $0x264,%edi
xor    %esi,%esi
call   1060 <RegWriteA_Ofilm@plt>
mov    $0x90,%edi
xor    %esi,%esi
call   1060 <RegWriteA_Ofilm@plt>
xor    %edi,%edi
call   1050 <AfDrvSw_OFILM@plt>
mov    $0x30,%edi
xor    %esi,%esi
call   1060 <RegWriteA_Ofilm@plt>
mov    $0x20b,%edi
lea    -0x3(%rbp),%rsi
call   1030 <RegReadA_Ofilm@plt>
movzbl -0x3(%rbp),%eax
and    $0x7,%eax
mov    %al,-0x3(%rbp)
mov    $0x20b,%edi
movzbl -0x3(%rbp),%esi
call   1060 <RegWriteA_Ofilm@plt>
jmp    17cd <SetStandby_OFILM+0x66d>
mov    $0x20b,%edi
lea    -0x3(%rbp),%rsi
call   1030 <RegReadA_Ofilm@plt>
movzbl -0x3(%rbp),%eax
or     $0x18,%eax
mov    %al,-0x3(%rbp)
mov    $0x20b,%edi
movzbl -0x3(%rbp),%esi
call   1060 <RegWriteA_Ofilm@plt>
mov    $0x1,%edi
call   1050 <AfDrvSw_OFILM@plt>
mov    $0x90,%edi
xor    %esi,%esi
call   1060 <RegWriteA_Ofilm@plt>
mov    $0x264,%edi
mov    $0x5,%esi
call   1060 <RegWriteA_Ofilm@plt>
mov    $0x250,%edi
lea    -0x2(%rbp),%rsi
call   1030 <RegReadA_Ofilm@plt>
movzbl -0x2(%rbp),%eax
or     $0x80,%eax
mov    %al,-0x2(%rbp)
mov    $0x250,%edi
movzbl -0x2(%rbp),%esi
call   1060 <RegWriteA_Ofilm@plt>
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<SetStandby_OFILM>:
push   %rax
cmp    $0xb,%dil
ja     15f8 <SetStandby_OFILM+0x498>
mov    %edi,%eax
lea    0xe8c(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
jmp    *%rax
mov    $0x81,%edi
xor    %esi,%esi
call   1060 <RegWriteA_Ofilm@plt>
mov    $0x250,%edi
xor    %esi,%esi
call   1060 <RegWriteA_Ofilm@plt>
mov    $0x264,%edi
xor    %esi,%esi
call   1060 <RegWriteA_Ofilm@plt>
mov    $0x10,%edi
xor    %esi,%esi
call   1060 <RegWriteA_Ofilm@plt>
mov    $0x90,%edi
xor    %esi,%esi
call   1060 <RegWriteA_Ofilm@plt>
mov    $0x20,%edi
xor    %esi,%esi
call   1060 <RegWriteA_Ofilm@plt>
xor    %edi,%edi
call   1070 <DrvSw_OFILM@plt>
xor    %edi,%edi
call   1050 <AfDrvSw_OFILM@plt>
mov    $0x30,%edi
xor    %esi,%esi
call   1060 <RegWriteA_Ofilm@plt>
mov    $0x1,%edi
pop    %rax
jmp    1080 <SelectGySleep_OFILM@plt>
mov    $0x81,%edi
xor    %esi,%esi
call   1060 <RegWriteA_Ofilm@plt>
mov    $0x250,%edi
xor    %esi,%esi
call   1060 <RegWriteA_Ofilm@plt>
mov    $0x264,%edi
xor    %esi,%esi
call   1060 <RegWriteA_Ofilm@plt>
mov    $0x10,%edi
xor    %esi,%esi
call   1060 <RegWriteA_Ofilm@plt>
mov    $0x90,%edi
xor    %esi,%esi
call   1060 <RegWriteA_Ofilm@plt>
mov    $0x20,%edi
xor    %esi,%esi
call   1060 <RegWriteA_Ofilm@plt>
xor    %edi,%edi
call   1070 <DrvSw_OFILM@plt>
xor    %edi,%edi
call   1050 <AfDrvSw_OFILM@plt>
mov    $0x30,%edi
xor    %esi,%esi
call   1060 <RegWriteA_Ofilm@plt>
mov    $0x1,%edi
call   1080 <SelectGySleep_OFILM@plt>
mov    $0x20b,%edi
xor    %esi,%esi
pop    %rax
jmp    1060 <RegWriteA_Ofilm@plt>
mov    $0x81,%edi
xor    %esi,%esi
call   1060 <RegWriteA_Ofilm@plt>
mov    $0x250,%edi
xor    %esi,%esi
call   1060 <RegWriteA_Ofilm@plt>
mov    $0x264,%edi
xor    %esi,%esi
call   1060 <RegWriteA_Ofilm@plt>
mov    $0x10,%edi
xor    %esi,%esi
call   1060 <RegWriteA_Ofilm@plt>
mov    $0x90,%edi
xor    %esi,%esi
call   1060 <RegWriteA_Ofilm@plt>
mov    $0x20,%edi
xor    %esi,%esi
call   1060 <RegWriteA_Ofilm@plt>
xor    %edi,%edi
call   1070 <DrvSw_OFILM@plt>
xor    %edi,%edi
call   1050 <AfDrvSw_OFILM@plt>
mov    $0x30,%edi
xor    %esi,%esi
call   1060 <RegWriteA_Ofilm@plt>
mov    $0x1,%edi
call   1080 <SelectGySleep_OFILM@plt>
mov    $0x20b,%edi
xor    %esi,%esi
call   1060 <RegWriteA_Ofilm@plt>
mov    $0x248,%edi
mov    $0x1,%esi
call   1060 <RegWriteA_Ofilm@plt>
mov    $0x256,%edi
mov    $0x2,%esi
pop    %rax
jmp    1060 <RegWriteA_Ofilm@plt>
mov    $0x256,%edi
xor    %esi,%esi
call   1060 <RegWriteA_Ofilm@plt>
mov    $0x248,%edi
xor    %esi,%esi
call   1060 <RegWriteA_Ofilm@plt>
mov    $0x20b,%edi
mov    $0x1f,%esi
call   1060 <RegWriteA_Ofilm@plt>
xor    %edi,%edi
call   1080 <SelectGySleep_OFILM@plt>
mov    $0x30,%edi
mov    $0x80,%esi
call   1060 <RegWriteA_Ofilm@plt>
mov    $0x1,%edi
call   1070 <DrvSw_OFILM@plt>
mov    $0x1,%edi
call   1050 <AfDrvSw_OFILM@plt>
mov    $0x20,%edi
mov    $0xc0,%esi
call   1060 <RegWriteA_Ofilm@plt>
mov    $0x90,%edi
xor    %esi,%esi
call   1060 <RegWriteA_Ofilm@plt>
mov    $0x10,%edi
mov    $0xc0,%esi
call   1060 <RegWriteA_Ofilm@plt>
mov    $0x264,%edi
mov    $0x5,%esi
call   1060 <RegWriteA_Ofilm@plt>
mov    $0x250,%edi
mov    $0xdf,%esi
pop    %rax
jmp    1060 <RegWriteA_Ofilm@plt>
mov    $0x81,%edi
xor    %esi,%esi
call   1060 <RegWriteA_Ofilm@plt>
mov    $0x250,%edi
xor    %esi,%esi
call   1060 <RegWriteA_Ofilm@plt>
mov    $0x264,%edi
xor    %esi,%esi
call   1060 <RegWriteA_Ofilm@plt>
mov    $0x10,%edi
xor    %esi,%esi
call   1060 <RegWriteA_Ofilm@plt>
mov    $0x90,%edi
xor    %esi,%esi
call   1060 <RegWriteA_Ofilm@plt>
mov    $0x20,%edi
xor    %esi,%esi
call   1060 <RegWriteA_Ofilm@plt>
xor    %edi,%edi
call   1070 <DrvSw_OFILM@plt>
xor    %edi,%edi
call   1050 <AfDrvSw_OFILM@plt>
mov    $0x30,%edi
xor    %esi,%esi
call   1060 <RegWriteA_Ofilm@plt>
xor    %eax,%eax
call   1040 <GyOutSignalCont_OFILM@plt>
mov    $0x20b,%edi
mov    $0x4,%esi
pop    %rax
jmp    1060 <RegWriteA_Ofilm@plt>
lea    0x7(%rsp),%rsi
mov    $0x250,%edi
call   1030 <RegReadA_Ofilm@plt>
movzbl 0x7(%rsp),%esi
and    $0xffffff80,%esi
mov    %sil,0x7(%rsp)
mov    $0x250,%edi
call   1060 <RegWriteA_Ofilm@plt>
mov    $0x10,%edi
xor    %esi,%esi
call   1060 <RegWriteA_Ofilm@plt>
mov    $0x20,%edi
xor    %esi,%esi
call   1060 <RegWriteA_Ofilm@plt>
xor    %edi,%edi
call   1070 <DrvSw_OFILM@plt>
mov    $0x30,%edi
xor    %esi,%esi
call   1060 <RegWriteA_Ofilm@plt>
mov    $0x1,%edi
call   1080 <SelectGySleep_OFILM@plt>
lea    0x6(%rsp),%rsi
mov    $0x20b,%edi
call   1030 <RegReadA_Ofilm@plt>
movzbl 0x6(%rsp),%esi
and    $0x1a,%esi
jmp    1578 <SetStandby_OFILM+0x418>
lea    0x6(%rsp),%rsi
mov    $0x20b,%edi
call   1030 <RegReadA_Ofilm@plt>
movzbl 0x6(%rsp),%esi
or     $0x5,%esi
mov    %sil,0x6(%rsp)
mov    $0x20b,%edi
call   1060 <RegWriteA_Ofilm@plt>
xor    %edi,%edi
call   1080 <SelectGySleep_OFILM@plt>
mov    $0x30,%edi
mov    $0x80,%esi
call   1060 <RegWriteA_Ofilm@plt>
mov    $0x1,%edi
call   1070 <DrvSw_OFILM@plt>
mov    $0x20,%edi
mov    $0xc0,%esi
call   1060 <RegWriteA_Ofilm@plt>
mov    $0x10,%edi
mov    $0xc0,%esi
call   1060 <RegWriteA_Ofilm@plt>
lea    0x7(%rsp),%rsi
mov    $0x250,%edi
call   1030 <RegReadA_Ofilm@plt>
movzbl 0x7(%rsp),%esi
or     $0x5f,%esi
jmp    15e9 <SetStandby_OFILM+0x489>
mov    $0x81,%edi
xor    %esi,%esi
call   1060 <RegWriteA_Ofilm@plt>
lea    0x7(%rsp),%rsi
mov    $0x250,%edi
call   1030 <RegReadA_Ofilm@plt>
movzbl 0x7(%rsp),%esi
and    $0x7f,%esi
mov    %sil,0x7(%rsp)
mov    $0x250,%edi
call   1060 <RegWriteA_Ofilm@plt>
mov    $0x264,%edi
xor    %esi,%esi
call   1060 <RegWriteA_Ofilm@plt>
mov    $0x90,%edi
xor    %esi,%esi
call   1060 <RegWriteA_Ofilm@plt>
xor    %edi,%edi
call   1050 <AfDrvSw_OFILM@plt>
mov    $0x30,%edi
xor    %esi,%esi
call   1060 <RegWriteA_Ofilm@plt>
lea    0x6(%rsp),%rsi
mov    $0x20b,%edi
call   1030 <RegReadA_Ofilm@plt>
movzbl 0x6(%rsp),%esi
and    $0x7,%esi
mov    %sil,0x6(%rsp)
mov    $0x20b,%edi
jmp    15f3 <SetStandby_OFILM+0x493>
lea    0x6(%rsp),%rsi
mov    $0x20b,%edi
call   1030 <RegReadA_Ofilm@plt>
movzbl 0x6(%rsp),%esi
or     $0x18,%esi
mov    %sil,0x6(%rsp)
mov    $0x20b,%edi
call   1060 <RegWriteA_Ofilm@plt>
mov    $0x1,%edi
call   1050 <AfDrvSw_OFILM@plt>
mov    $0x90,%edi
xor    %esi,%esi
call   1060 <RegWriteA_Ofilm@plt>
mov    $0x264,%edi
mov    $0x5,%esi
call   1060 <RegWriteA_Ofilm@plt>
lea    0x7(%rsp),%rsi
mov    $0x250,%edi
call   1030 <RegReadA_Ofilm@plt>
movzbl 0x7(%rsp),%esi
or     $0x80,%esi
mov    %sil,0x7(%rsp)
mov    $0x250,%edi
call   1060 <RegWriteA_Ofilm@plt>
pop    %rax
ret

LLVM IR (-O0):
define void @SetStandby_OFILM(i8 zeroext %0) {
%2 = alloca i8
%3 = alloca i8
%4 = alloca i8
store i8 %0, i8* %2
%5 = load i8, i8* %2
%6 = zext i8 %5 to i32
switch i32 %6, label %179 [
i32 0, label %7
i32 1, label %18
i32 2, label %28
i32 3, label %40
i32 4, label %51
i32 5, label %65
i32 6, label %78
i32 7, label %90
i32 8, label %101
i32 9, label %121
i32 10, label %141
i32 11, label %161
]
7: ; preds = %1
%8 = call i32 @RegWriteA_Ofilm(i32 129, i8 zeroext 0)
%9 = call i32 @RegWriteA_Ofilm(i32 592, i8 zeroext 0)
%10 = call i32 @RegWriteA_Ofilm(i32 612, i8 zeroext 0)
%11 = call i32 @RegWriteA_Ofilm(i32 16, i8 zeroext 0)
%12 = call i32 @RegWriteA_Ofilm(i32 144, i8 zeroext 0)
%13 = call i32 @RegWriteA_Ofilm(i32 32, i8 zeroext 0)
%14 = call i32 @DrvSw_OFILM(i32 0)
%15 = call i32 @AfDrvSw_OFILM(i32 0)
%16 = call i32 @RegWriteA_Ofilm(i32 48, i8 zeroext 0)
%17 = call i32 @SelectGySleep_OFILM(i32 1)
br label %179
18: ; preds = %1
%19 = call i32 @SelectGySleep_OFILM(i32 0)
%20 = call i32 @RegWriteA_Ofilm(i32 48, i8 zeroext -128)
%21 = call i32 @DrvSw_OFILM(i32 1)
%22 = call i32 @AfDrvSw_OFILM(i32 1)
%23 = call i32 @RegWriteA_Ofilm(i32 32, i8 zeroext -64)
%24 = call i32 @RegWriteA_Ofilm(i32 144, i8 zeroext 0)
%25 = call i32 @RegWriteA_Ofilm(i32 16, i8 zeroext -64)
%26 = call i32 @RegWriteA_Ofilm(i32 612, i8 zeroext 5)
%27 = call i32 @RegWriteA_Ofilm(i32 592, i8 zeroext -33)
br label %179
28: ; preds = %1
%29 = call i32 @RegWriteA_Ofilm(i32 129, i8 zeroext 0)
%30 = call i32 @RegWriteA_Ofilm(i32 592, i8 zeroext 0)
%31 = call i32 @RegWriteA_Ofilm(i32 612, i8 zeroext 0)
%32 = call i32 @RegWriteA_Ofilm(i32 16, i8 zeroext 0)
%33 = call i32 @RegWriteA_Ofilm(i32 144, i8 zeroext 0)
%34 = call i32 @RegWriteA_Ofilm(i32 32, i8 zeroext 0)
%35 = call i32 @DrvSw_OFILM(i32 0)
%36 = call i32 @AfDrvSw_OFILM(i32 0)
%37 = call i32 @RegWriteA_Ofilm(i32 48, i8 zeroext 0)
%38 = call i32 @SelectGySleep_OFILM(i32 1)
%39 = call i32 @RegWriteA_Ofilm(i32 523, i8 zeroext 0)
br label %179
40: ; preds = %1
%41 = call i32 @RegWriteA_Ofilm(i32 523, i8 zeroext 31)
%42 = call i32 @SelectGySleep_OFILM(i32 0)
%43 = call i32 @RegWriteA_Ofilm(i32 48, i8 zeroext -128)
%44 = call i32 @DrvSw_OFILM(i32 1)
%45 = call i32 @AfDrvSw_OFILM(i32 1)
%46 = call i32 @RegWriteA_Ofilm(i32 32, i8 zeroext -64)
%47 = call i32 @RegWriteA_Ofilm(i32 144, i8 zeroext 0)
%48 = call i32 @RegWriteA_Ofilm(i32 16, i8 zeroext -64)
%49 = call i32 @RegWriteA_Ofilm(i32 612, i8 zeroext 5)
%50 = call i32 @RegWriteA_Ofilm(i32 592, i8 zeroext -33)
br label %179
51: ; preds = %1
%52 = call i32 @RegWriteA_Ofilm(i32 129, i8 zeroext 0)
%53 = call i32 @RegWriteA_Ofilm(i32 592, i8 zeroext 0)
%54 = call i32 @RegWriteA_Ofilm(i32 612, i8 zeroext 0)
%55 = call i32 @RegWriteA_Ofilm(i32 16, i8 zeroext 0)
%56 = call i32 @RegWriteA_Ofilm(i32 144, i8 zeroext 0)
%57 = call i32 @RegWriteA_Ofilm(i32 32, i8 zeroext 0)
%58 = call i32 @DrvSw_OFILM(i32 0)
%59 = call i32 @AfDrvSw_OFILM(i32 0)
%60 = call i32 @RegWriteA_Ofilm(i32 48, i8 zeroext 0)
%61 = call i32 @SelectGySleep_OFILM(i32 1)
%62 = call i32 @RegWriteA_Ofilm(i32 523, i8 zeroext 0)
%63 = call i32 @RegWriteA_Ofilm(i32 584, i8 zeroext 1)
%64 = call i32 @RegWriteA_Ofilm(i32 598, i8 zeroext 2)
br label %179
65: ; preds = %1
%66 = call i32 @RegWriteA_Ofilm(i32 598, i8 zeroext 0)
%67 = call i32 @RegWriteA_Ofilm(i32 584, i8 zeroext 0)
%68 = call i32 @RegWriteA_Ofilm(i32 523, i8 zeroext 31)
%69 = call i32 @SelectGySleep_OFILM(i32 0)
%70 = call i32 @RegWriteA_Ofilm(i32 48, i8 zeroext -128)
%71 = call i32 @DrvSw_OFILM(i32 1)
%72 = call i32 @AfDrvSw_OFILM(i32 1)
%73 = call i32 @RegWriteA_Ofilm(i32 32, i8 zeroext -64)
%74 = call i32 @RegWriteA_Ofilm(i32 144, i8 zeroext 0)
%75 = call i32 @RegWriteA_Ofilm(i32 16, i8 zeroext -64)
%76 = call i32 @RegWriteA_Ofilm(i32 612, i8 zeroext 5)
%77 = call i32 @RegWriteA_Ofilm(i32 592, i8 zeroext -33)
br label %179
78: ; preds = %1
%79 = call i32 @RegWriteA_Ofilm(i32 129, i8 zeroext 0)
%80 = call i32 @RegWriteA_Ofilm(i32 592, i8 zeroext 0)
%81 = call i32 @RegWriteA_Ofilm(i32 612, i8 zeroext 0)
%82 = call i32 @RegWriteA_Ofilm(i32 16, i8 zeroext 0)
%83 = call i32 @RegWriteA_Ofilm(i32 144, i8 zeroext 0)
%84 = call i32 @RegWriteA_Ofilm(i32 32, i8 zeroext 0)
%85 = call i32 @DrvSw_OFILM(i32 0)
%86 = call i32 @AfDrvSw_OFILM(i32 0)
%87 = call i32 @RegWriteA_Ofilm(i32 48, i8 zeroext 0)
%88 = call i32 (...) @GyOutSignalCont_OFILM()
%89 = call i32 @RegWriteA_Ofilm(i32 523, i8 zeroext 4)
br label %179
90: ; preds = %1
%91 = call i32 @RegWriteA_Ofilm(i32 523, i8 zeroext 31)
%92 = call i32 @SelectGySleep_OFILM(i32 0)
%93 = call i32 @RegWriteA_Ofilm(i32 48, i8 zeroext -128)
%94 = call i32 @DrvSw_OFILM(i32 1)
%95 = call i32 @AfDrvSw_OFILM(i32 1)
%96 = call i32 @RegWriteA_Ofilm(i32 32, i8 zeroext -64)
%97 = call i32 @RegWriteA_Ofilm(i32 144, i8 zeroext 0)
%98 = call i32 @RegWriteA_Ofilm(i32 16, i8 zeroext -64)
%99 = call i32 @RegWriteA_Ofilm(i32 612, i8 zeroext 5)
%100 = call i32 @RegWriteA_Ofilm(i32 592, i8 zeroext -33)
br label %179
101: ; preds = %1
%102 = call i32 @RegReadA_Ofilm(i32 592, i8* %3)
%103 = load i8, i8* %3
%104 = zext i8 %103 to i32
%105 = and i32 %104, 128
%106 = trunc i32 %105 to i8
store i8 %106, i8* %3
%107 = load i8, i8* %3
%108 = call i32 @RegWriteA_Ofilm(i32 592, i8 zeroext %107)
%109 = call i32 @RegWriteA_Ofilm(i32 16, i8 zeroext 0)
%110 = call i32 @RegWriteA_Ofilm(i32 32, i8 zeroext 0)
%111 = call i32 @DrvSw_OFILM(i32 0)
%112 = call i32 @RegWriteA_Ofilm(i32 48, i8 zeroext 0)
%113 = call i32 @SelectGySleep_OFILM(i32 1)
%114 = call i32 @RegReadA_Ofilm(i32 523, i8* %4)
%115 = load i8, i8* %4
%116 = zext i8 %115 to i32
%117 = and i32 %116, 26
%118 = trunc i32 %117 to i8
store i8 %118, i8* %4
%119 = load i8, i8* %4
%120 = call i32 @RegWriteA_Ofilm(i32 523, i8 zeroext %119)
br label %179
121: ; preds = %1
%122 = call i32 @RegReadA_Ofilm(i32 523, i8* %4)
%123 = load i8, i8* %4
%124 = zext i8 %123 to i32
%125 = or i32 %124, 5
%126 = trunc i32 %125 to i8
store i8 %126, i8* %4
%127 = load i8, i8* %4
%128 = call i32 @RegWriteA_Ofilm(i32 523, i8 zeroext %127)
%129 = call i32 @SelectGySleep_OFILM(i32 0)
%130 = call i32 @RegWriteA_Ofilm(i32 48, i8 zeroext -128)
%131 = call i32 @DrvSw_OFILM(i32 1)
%132 = call i32 @RegWriteA_Ofilm(i32 32, i8 zeroext -64)
%133 = call i32 @RegWriteA_Ofilm(i32 16, i8 zeroext -64)
%134 = call i32 @RegReadA_Ofilm(i32 592, i8* %3)
%135 = load i8, i8* %3
%136 = zext i8 %135 to i32
%137 = or i32 %136, 95
%138 = trunc i32 %137 to i8
store i8 %138, i8* %3
%139 = load i8, i8* %3
%140 = call i32 @RegWriteA_Ofilm(i32 592, i8 zeroext %139)
br label %179
141: ; preds = %1
%142 = call i32 @RegWriteA_Ofilm(i32 129, i8 zeroext 0)
%143 = call i32 @RegReadA_Ofilm(i32 592, i8* %3)
%144 = load i8, i8* %3
%145 = zext i8 %144 to i32
%146 = and i32 %145, 127
%147 = trunc i32 %146 to i8
store i8 %147, i8* %3
%148 = load i8, i8* %3
%149 = call i32 @RegWriteA_Ofilm(i32 592, i8 zeroext %148)
%150 = call i32 @RegWriteA_Ofilm(i32 612, i8 zeroext 0)
%151 = call i32 @RegWriteA_Ofilm(i32 144, i8 zeroext 0)
%152 = call i32 @AfDrvSw_OFILM(i32 0)
%153 = call i32 @RegWriteA_Ofilm(i32 48, i8 zeroext 0)
%154 = call i32 @RegReadA_Ofilm(i32 523, i8* %4)
%155 = load i8, i8* %4
%156 = zext i8 %155 to i32
%157 = and i32 %156, 7
%158 = trunc i32 %157 to i8
store i8 %158, i8* %4
%159 = load i8, i8* %4
%160 = call i32 @RegWriteA_Ofilm(i32 523, i8 zeroext %159)
br label %179
161: ; preds = %1
%162 = call i32 @RegReadA_Ofilm(i32 523, i8* %4)
%163 = load i8, i8* %4
%164 = zext i8 %163 to i32
%165 = or i32 %164, 24
%166 = trunc i32 %165 to i8
store i8 %166, i8* %4
%167 = load i8, i8* %4
%168 = call i32 @RegWriteA_Ofilm(i32 523, i8 zeroext %167)
%169 = call i32 @AfDrvSw_OFILM(i32 1)
%170 = call i32 @RegWriteA_Ofilm(i32 144, i8 zeroext 0)
%171 = call i32 @RegWriteA_Ofilm(i32 612, i8 zeroext 5)
%172 = call i32 @RegReadA_Ofilm(i32 592, i8* %3)
%173 = load i8, i8* %3
%174 = zext i8 %173 to i32
%175 = or i32 %174, 128
%176 = trunc i32 %175 to i8
store i8 %176, i8* %3
%177 = load i8, i8* %3
%178 = call i32 @RegWriteA_Ofilm(i32 592, i8 zeroext %177)
br label %179
179: ; preds = %1, %161, %141, %121, %101, %90, %78, %65, %51, %40, %28, %18, %7
ret void
}

LLVM IR (-O2):
define void @SetStandby_OFILM(i8 zeroext %0) {
%2 = alloca i8
%3 = alloca i8
switch i8 %0, label %152 [
i8 0, label %4
i8 1, label %15
i8 2, label %25
i8 3, label %37
i8 4, label %48
i8 5, label %62
i8 6, label %75
i8 7, label %87
i8 8, label %98
i8 9, label %112
i8 10, label %126
i8 11, label %140
]
4: ; preds = %1
%5 = tail call i32 @RegWriteA_Ofilm(i32 129, i8 zeroext 0)
%6 = tail call i32 @RegWriteA_Ofilm(i32 592, i8 zeroext 0)
%7 = tail call i32 @RegWriteA_Ofilm(i32 612, i8 zeroext 0)
%8 = tail call i32 @RegWriteA_Ofilm(i32 16, i8 zeroext 0)
%9 = tail call i32 @RegWriteA_Ofilm(i32 144, i8 zeroext 0)
%10 = tail call i32 @RegWriteA_Ofilm(i32 32, i8 zeroext 0)
%11 = tail call i32 @DrvSw_OFILM(i32 0)
%12 = tail call i32 @AfDrvSw_OFILM(i32 0)
%13 = tail call i32 @RegWriteA_Ofilm(i32 48, i8 zeroext 0)
%14 = tail call i32 @SelectGySleep_OFILM(i32 1)
br label %152
15: ; preds = %1
%16 = tail call i32 @SelectGySleep_OFILM(i32 0)
%17 = tail call i32 @RegWriteA_Ofilm(i32 48, i8 zeroext -128)
%18 = tail call i32 @DrvSw_OFILM(i32 1)
%19 = tail call i32 @AfDrvSw_OFILM(i32 1)
%20 = tail call i32 @RegWriteA_Ofilm(i32 32, i8 zeroext -64)
%21 = tail call i32 @RegWriteA_Ofilm(i32 144, i8 zeroext 0)
%22 = tail call i32 @RegWriteA_Ofilm(i32 16, i8 zeroext -64)
%23 = tail call i32 @RegWriteA_Ofilm(i32 612, i8 zeroext 5)
%24 = tail call i32 @RegWriteA_Ofilm(i32 592, i8 zeroext -33)
br label %152
25: ; preds = %1
%26 = tail call i32 @RegWriteA_Ofilm(i32 129, i8 zeroext 0)
%27 = tail call i32 @RegWriteA_Ofilm(i32 592, i8 zeroext 0)
%28 = tail call i32 @RegWriteA_Ofilm(i32 612, i8 zeroext 0)
%29 = tail call i32 @RegWriteA_Ofilm(i32 16, i8 zeroext 0)
%30 = tail call i32 @RegWriteA_Ofilm(i32 144, i8 zeroext 0)
%31 = tail call i32 @RegWriteA_Ofilm(i32 32, i8 zeroext 0)
%32 = tail call i32 @DrvSw_OFILM(i32 0)
%33 = tail call i32 @AfDrvSw_OFILM(i32 0)
%34 = tail call i32 @RegWriteA_Ofilm(i32 48, i8 zeroext 0)
%35 = tail call i32 @SelectGySleep_OFILM(i32 1)
%36 = tail call i32 @RegWriteA_Ofilm(i32 523, i8 zeroext 0)
br label %152
37: ; preds = %1
%38 = tail call i32 @RegWriteA_Ofilm(i32 523, i8 zeroext 31)
%39 = tail call i32 @SelectGySleep_OFILM(i32 0)
%40 = tail call i32 @RegWriteA_Ofilm(i32 48, i8 zeroext -128)
%41 = tail call i32 @DrvSw_OFILM(i32 1)
%42 = tail call i32 @AfDrvSw_OFILM(i32 1)
%43 = tail call i32 @RegWriteA_Ofilm(i32 32, i8 zeroext -64)
%44 = tail call i32 @RegWriteA_Ofilm(i32 144, i8 zeroext 0)
%45 = tail call i32 @RegWriteA_Ofilm(i32 16, i8 zeroext -64)
%46 = tail call i32 @RegWriteA_Ofilm(i32 612, i8 zeroext 5)
%47 = tail call i32 @RegWriteA_Ofilm(i32 592, i8 zeroext -33)
br label %152
48: ; preds = %1
%49 = tail call i32 @RegWriteA_Ofilm(i32 129, i8 zeroext 0)
%50 = tail call i32 @RegWriteA_Ofilm(i32 592, i8 zeroext 0)
%51 = tail call i32 @RegWriteA_Ofilm(i32 612, i8 zeroext 0)
%52 = tail call i32 @RegWriteA_Ofilm(i32 16, i8 zeroext 0)
%53 = tail call i32 @RegWriteA_Ofilm(i32 144, i8 zeroext 0)
%54 = tail call i32 @RegWriteA_Ofilm(i32 32, i8 zeroext 0)
%55 = tail call i32 @DrvSw_OFILM(i32 0)
%56 = tail call i32 @AfDrvSw_OFILM(i32 0)
%57 = tail call i32 @RegWriteA_Ofilm(i32 48, i8 zeroext 0)
%58 = tail call i32 @SelectGySleep_OFILM(i32 1)
%59 = tail call i32 @RegWriteA_Ofilm(i32 523, i8 zeroext 0)
%60 = tail call i32 @RegWriteA_Ofilm(i32 584, i8 zeroext 1)
%61 = tail call i32 @RegWriteA_Ofilm(i32 598, i8 zeroext 2)
br label %152
62: ; preds = %1
%63 = tail call i32 @RegWriteA_Ofilm(i32 598, i8 zeroext 0)
%64 = tail call i32 @RegWriteA_Ofilm(i32 584, i8 zeroext 0)
%65 = tail call i32 @RegWriteA_Ofilm(i32 523, i8 zeroext 31)
%66 = tail call i32 @SelectGySleep_OFILM(i32 0)
%67 = tail call i32 @RegWriteA_Ofilm(i32 48, i8 zeroext -128)
%68 = tail call i32 @DrvSw_OFILM(i32 1)
%69 = tail call i32 @AfDrvSw_OFILM(i32 1)
%70 = tail call i32 @RegWriteA_Ofilm(i32 32, i8 zeroext -64)
%71 = tail call i32 @RegWriteA_Ofilm(i32 144, i8 zeroext 0)
%72 = tail call i32 @RegWriteA_Ofilm(i32 16, i8 zeroext -64)
%73 = tail call i32 @RegWriteA_Ofilm(i32 612, i8 zeroext 5)
%74 = tail call i32 @RegWriteA_Ofilm(i32 592, i8 zeroext -33)
br label %152
75: ; preds = %1
%76 = tail call i32 @RegWriteA_Ofilm(i32 129, i8 zeroext 0)
%77 = tail call i32 @RegWriteA_Ofilm(i32 592, i8 zeroext 0)
%78 = tail call i32 @RegWriteA_Ofilm(i32 612, i8 zeroext 0)
%79 = tail call i32 @RegWriteA_Ofilm(i32 16, i8 zeroext 0)
%80 = tail call i32 @RegWriteA_Ofilm(i32 144, i8 zeroext 0)
%81 = tail call i32 @RegWriteA_Ofilm(i32 32, i8 zeroext 0)
%82 = tail call i32 @DrvSw_OFILM(i32 0)
%83 = tail call i32 @AfDrvSw_OFILM(i32 0)
%84 = tail call i32 @RegWriteA_Ofilm(i32 48, i8 zeroext 0)
%85 = tail call i32 (...) @GyOutSignalCont_OFILM()
%86 = tail call i32 @RegWriteA_Ofilm(i32 523, i8 zeroext 4)
br label %152
87: ; preds = %1
%88 = tail call i32 @RegWriteA_Ofilm(i32 523, i8 zeroext 31)
%89 = tail call i32 @SelectGySleep_OFILM(i32 0)
%90 = tail call i32 @RegWriteA_Ofilm(i32 48, i8 zeroext -128)
%91 = tail call i32 @DrvSw_OFILM(i32 1)
%92 = tail call i32 @AfDrvSw_OFILM(i32 1)
%93 = tail call i32 @RegWriteA_Ofilm(i32 32, i8 zeroext -64)
%94 = tail call i32 @RegWriteA_Ofilm(i32 144, i8 zeroext 0)
%95 = tail call i32 @RegWriteA_Ofilm(i32 16, i8 zeroext -64)
%96 = tail call i32 @RegWriteA_Ofilm(i32 612, i8 zeroext 5)
%97 = tail call i32 @RegWriteA_Ofilm(i32 592, i8 zeroext -33)
br label %152
98: ; preds = %1
%99 = call i32 @RegReadA_Ofilm(i32 592, i8* %2)
%100 = load i8, i8* %2
%101 = and i8 %100, -128
store i8 %101, i8* %2
%102 = call i32 @RegWriteA_Ofilm(i32 592, i8 zeroext %101)
%103 = call i32 @RegWriteA_Ofilm(i32 16, i8 zeroext 0)
%104 = call i32 @RegWriteA_Ofilm(i32 32, i8 zeroext 0)
%105 = call i32 @DrvSw_OFILM(i32 0)
%106 = call i32 @RegWriteA_Ofilm(i32 48, i8 zeroext 0)
%107 = call i32 @SelectGySleep_OFILM(i32 1)
%108 = call i32 @RegReadA_Ofilm(i32 523, i8* %3)
%109 = load i8, i8* %3
%110 = and i8 %109, 26
store i8 %110, i8* %3
%111 = call i32 @RegWriteA_Ofilm(i32 523, i8 zeroext %110)
br label %152
112: ; preds = %1
%113 = call i32 @RegReadA_Ofilm(i32 523, i8* %3)
%114 = load i8, i8* %3
%115 = or i8 %114, 5
store i8 %115, i8* %3
%116 = call i32 @RegWriteA_Ofilm(i32 523, i8 zeroext %115)
%117 = call i32 @SelectGySleep_OFILM(i32 0)
%118 = call i32 @RegWriteA_Ofilm(i32 48, i8 zeroext -128)
%119 = call i32 @DrvSw_OFILM(i32 1)
%120 = call i32 @RegWriteA_Ofilm(i32 32, i8 zeroext -64)
%121 = call i32 @RegWriteA_Ofilm(i32 16, i8 zeroext -64)
%122 = call i32 @RegReadA_Ofilm(i32 592, i8* %2)
%123 = load i8, i8* %2
%124 = or i8 %123, 95
store i8 %124, i8* %2
%125 = call i32 @RegWriteA_Ofilm(i32 592, i8 zeroext %124)
br label %152
126: ; preds = %1
%127 = tail call i32 @RegWriteA_Ofilm(i32 129, i8 zeroext 0)
%128 = call i32 @RegReadA_Ofilm(i32 592, i8* %2)
%129 = load i8, i8* %2
%130 = and i8 %129, 127
store i8 %130, i8* %2
%131 = call i32 @RegWriteA_Ofilm(i32 592, i8 zeroext %130)
%132 = call i32 @RegWriteA_Ofilm(i32 612, i8 zeroext 0)
%133 = call i32 @RegWriteA_Ofilm(i32 144, i8 zeroext 0)
%134 = call i32 @AfDrvSw_OFILM(i32 0)
%135 = call i32 @RegWriteA_Ofilm(i32 48, i8 zeroext 0)
%136 = call i32 @RegReadA_Ofilm(i32 523, i8* %3)
%137 = load i8, i8* %3
%138 = and i8 %137, 7
store i8 %138, i8* %3
%139 = call i32 @RegWriteA_Ofilm(i32 523, i8 zeroext %138)
br label %152
140: ; preds = %1
%141 = call i32 @RegReadA_Ofilm(i32 523, i8* %3)
%142 = load i8, i8* %3
%143 = or i8 %142, 24
store i8 %143, i8* %3
%144 = call i32 @RegWriteA_Ofilm(i32 523, i8 zeroext %143)
%145 = call i32 @AfDrvSw_OFILM(i32 1)
%146 = call i32 @RegWriteA_Ofilm(i32 144, i8 zeroext 0)
%147 = call i32 @RegWriteA_Ofilm(i32 612, i8 zeroext 5)
%148 = call i32 @RegReadA_Ofilm(i32 592, i8* %2)
%149 = load i8, i8* %2
%150 = or i8 %149, -128
store i8 %150, i8* %2
%151 = call i32 @RegWriteA_Ofilm(i32 592, i8 zeroext %150)
br label %152
152: ; preds = %1, %140, %126, %112, %98, %87, %75, %62, %48, %37, %25, %15, %4
ret void
}