#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_defaultmode() {
  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,
                             0x1f << 19 | 0x2 << 13 | 0x4 << 7 | 0x09);
  mbus_remote_register_write(0x5, 0x01, 0x0008 << 8 | 0x09);
  mbus_remote_register_write(0x5, 0x02, 0x1400);
  mbus_remote_register_write(0x5, 0x03, 0x03e8 << 10 | 0x031);
  mbus_remote_register_write(0x5, 0x04, 0x3e8 << 12 | 0x3e8);
  mbus_remote_register_write(0x5, 0x05, 0x007cf);
  mbus_remote_register_write(0x5, 0x06, 0x01f3f);
  mbus_remote_register_write(0x5, 0x18, 0xC << 2 | 0x1);
}


x86 assembly (clang, -O0):
<FLASH_defaultmode>:
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    $0xf84209,%edx
call   1030 <mbus_remote_register_write@plt>
mov    $0x5,%edi
mov    $0x1,%esi
mov    $0x809,%edx
call   1030 <mbus_remote_register_write@plt>
mov    $0x5,%edi
mov    $0x2,%esi
mov    $0x1400,%edx
call   1030 <mbus_remote_register_write@plt>
mov    $0x5,%edi
mov    $0x3,%esi
mov    $0xfa031,%edx
call   1030 <mbus_remote_register_write@plt>
mov    $0x5,%edi
mov    $0x4,%esi
mov    $0x3e83e8,%edx
call   1030 <mbus_remote_register_write@plt>
mov    $0x5,%esi
mov    $0x7cf,%edx
mov    %esi,%edi
call   1030 <mbus_remote_register_write@plt>
mov    $0x5,%edi
mov    $0x6,%esi
mov    $0x1f3f,%edx
call   1030 <mbus_remote_register_write@plt>
mov    $0x5,%edi
mov    $0x18,%esi
mov    $0x31,%edx
call   1030 <mbus_remote_register_write@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<FLASH_defaultmode>:
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    $0xf84209,%edx
call   1030 <mbus_remote_register_write@plt>
mov    $0x5,%edi
mov    $0x1,%esi
mov    $0x809,%edx
call   1030 <mbus_remote_register_write@plt>
mov    $0x5,%edi
mov    $0x2,%esi
mov    $0x1400,%edx
call   1030 <mbus_remote_register_write@plt>
mov    $0x5,%edi
mov    $0x3,%esi
mov    $0xfa031,%edx
call   1030 <mbus_remote_register_write@plt>
mov    $0x5,%edi
mov    $0x4,%esi
mov    $0x3e83e8,%edx
call   1030 <mbus_remote_register_write@plt>
mov    $0x5,%edi
mov    $0x5,%esi
mov    $0x7cf,%edx
call   1030 <mbus_remote_register_write@plt>
mov    $0x5,%edi
mov    $0x6,%esi
mov    $0x1f3f,%edx
call   1030 <mbus_remote_register_write@plt>
mov    $0x5,%edi
mov    $0x18,%esi
mov    $0x31,%edx
pop    %rax
jmp    1030 <mbus_remote_register_write@plt>

LLVM IR (-O0):
define void @FLASH_defaultmode() {
%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 16269833)
%4 = call i32 @mbus_remote_register_write(i32 5, i32 1, i32 2057)
%5 = call i32 @mbus_remote_register_write(i32 5, i32 2, i32 5120)
%6 = call i32 @mbus_remote_register_write(i32 5, i32 3, i32 1024049)
%7 = call i32 @mbus_remote_register_write(i32 5, i32 4, i32 4097000)
%8 = call i32 @mbus_remote_register_write(i32 5, i32 5, i32 1999)
%9 = call i32 @mbus_remote_register_write(i32 5, i32 6, i32 7999)
%10 = call i32 @mbus_remote_register_write(i32 5, i32 24, i32 49)
ret void
}

LLVM IR (-O2):
define void @FLASH_defaultmode() {
%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 16269833)
%4 = tail call i32 @mbus_remote_register_write(i32 5, i32 1, i32 2057)
%5 = tail call i32 @mbus_remote_register_write(i32 5, i32 2, i32 5120)
%6 = tail call i32 @mbus_remote_register_write(i32 5, i32 3, i32 1024049)
%7 = tail call i32 @mbus_remote_register_write(i32 5, i32 4, i32 4097000)
%8 = tail call i32 @mbus_remote_register_write(i32 5, i32 5, i32 1999)
%9 = tail call i32 @mbus_remote_register_write(i32 5, i32 6, i32 7999)
%10 = tail call i32 @mbus_remote_register_write(i32 5, i32 24, i32 49)
ret void
}