#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*/ mbus_remote_register_write(int, int, int);
void FLASH_fastmode() {
  mbus_remote_register_write(0x5, 0x19, 0x1 << 11 | 0xf << 7 | 0x0 << 3 | 0x6);
  mbus_remote_register_write(0x5, 0x0F, 0x10 << 8 | 0x01);
  mbus_remote_register_write(0x5, 0x00,
                             0x1 << 19 | 0x05 << 13 | 0x08 << 7 | 0x10);
  mbus_remote_register_write(0x5, 0x01, 0x0001 << 8 | 0x11);
  mbus_remote_register_write(0x5, 0x02, 0x1400 * 4);
  mbus_remote_register_write(0x5, 0x03, 0x1800 << 10 | 0x180);
  mbus_remote_register_write(0x5, 0x04, 0xfff << 12 | 0xfff);
  mbus_remote_register_write(0x5, 0x05, 0x02000);
  mbus_remote_register_write(0x5, 0x06, 0x08000);
  mbus_remote_register_write(0x5, 0x18, 0x0 << 2 | 0x1);
}


x86 assembly (clang, -O0):
<FLASH_fastmode>:
push   %rbp
mov    %rsp,%rbp
mov    $0x5,%edi
mov    $0x19,%esi
mov    $0xf86,%edx
call   1030 <mbus_remote_register_write@plt>
mov    $0x5,%edi
mov    $0xf,%esi
mov    $0x1001,%edx
call   1030 <mbus_remote_register_write@plt>
mov    $0x5,%edi
xor    %esi,%esi
mov    $0x8a410,%edx
call   1030 <mbus_remote_register_write@plt>
mov    $0x5,%edi
mov    $0x1,%esi
mov    $0x111,%edx
call   1030 <mbus_remote_register_write@plt>
mov    $0x5,%edi
mov    $0x2,%esi
mov    $0x5000,%edx
call   1030 <mbus_remote_register_write@plt>
mov    $0x5,%edi
mov    $0x3,%esi
mov    $0x600180,%edx
call   1030 <mbus_remote_register_write@plt>
mov    $0x5,%edi
mov    $0x4,%esi
mov    $0xffffff,%edx
call   1030 <mbus_remote_register_write@plt>
mov    $0x5,%esi
mov    $0x2000,%edx
mov    %esi,%edi
call   1030 <mbus_remote_register_write@plt>
mov    $0x5,%edi
mov    $0x6,%esi
mov    $0x8000,%edx
call   1030 <mbus_remote_register_write@plt>
mov    $0x5,%edi
mov    $0x18,%esi
mov    $0x1,%edx
call   1030 <mbus_remote_register_write@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<FLASH_fastmode>:
push   %rax
mov    $0x5,%edi
mov    $0x19,%esi
mov    $0xf86,%edx
call   1030 <mbus_remote_register_write@plt>
mov    $0x5,%edi
mov    $0xf,%esi
mov    $0x1001,%edx
call   1030 <mbus_remote_register_write@plt>
mov    $0x5,%edi
xor    %esi,%esi
mov    $0x8a410,%edx
call   1030 <mbus_remote_register_write@plt>
mov    $0x5,%edi
mov    $0x1,%esi
mov    $0x111,%edx
call   1030 <mbus_remote_register_write@plt>
mov    $0x5,%edi
mov    $0x2,%esi
mov    $0x5000,%edx
call   1030 <mbus_remote_register_write@plt>
mov    $0x5,%edi
mov    $0x3,%esi
mov    $0x600180,%edx
call   1030 <mbus_remote_register_write@plt>
mov    $0x5,%edi
mov    $0x4,%esi
mov    $0xffffff,%edx
call   1030 <mbus_remote_register_write@plt>
mov    $0x5,%edi
mov    $0x5,%esi
mov    $0x2000,%edx
call   1030 <mbus_remote_register_write@plt>
mov    $0x5,%edi
mov    $0x6,%esi
mov    $0x8000,%edx
call   1030 <mbus_remote_register_write@plt>
mov    $0x5,%edi
mov    $0x18,%esi
mov    $0x1,%edx
pop    %rax
jmp    1030 <mbus_remote_register_write@plt>

LLVM IR (-O0):
define void @FLASH_fastmode() {
%1 = call i32 @mbus_remote_register_write(i32 5, i32 25, i32 3974)
%2 = call i32 @mbus_remote_register_write(i32 5, i32 15, i32 4097)
%3 = call i32 @mbus_remote_register_write(i32 5, i32 0, i32 566288)
%4 = call i32 @mbus_remote_register_write(i32 5, i32 1, i32 273)
%5 = call i32 @mbus_remote_register_write(i32 5, i32 2, i32 20480)
%6 = call i32 @mbus_remote_register_write(i32 5, i32 3, i32 6291840)
%7 = call i32 @mbus_remote_register_write(i32 5, i32 4, i32 16777215)
%8 = call i32 @mbus_remote_register_write(i32 5, i32 5, i32 8192)
%9 = call i32 @mbus_remote_register_write(i32 5, i32 6, i32 32768)
%10 = call i32 @mbus_remote_register_write(i32 5, i32 24, i32 1)
ret void
}

LLVM IR (-O2):
define void @FLASH_fastmode() {
%1 = tail call i32 @mbus_remote_register_write(i32 5, i32 25, i32 3974)
%2 = tail call i32 @mbus_remote_register_write(i32 5, i32 15, i32 4097)
%3 = tail call i32 @mbus_remote_register_write(i32 5, i32 0, i32 566288)
%4 = tail call i32 @mbus_remote_register_write(i32 5, i32 1, i32 273)
%5 = tail call i32 @mbus_remote_register_write(i32 5, i32 2, i32 20480)
%6 = tail call i32 @mbus_remote_register_write(i32 5, i32 3, i32 6291840)
%7 = tail call i32 @mbus_remote_register_write(i32 5, i32 4, i32 16777215)
%8 = tail call i32 @mbus_remote_register_write(i32 5, i32 5, i32 8192)
%9 = tail call i32 @mbus_remote_register_write(i32 5, i32 6, i32 32768)
%10 = tail call i32 @mbus_remote_register_write(i32 5, i32 24, i32 1)
ret void
}