#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*/ set_dramc();
int /*<<< orphan*/ set_drb();
int /*<<< orphan*/ set_drtc();
int /*<<< orphan*/ set_dwtc();
int /*<<< orphan*/ set_esramc();
int /*<<< orphan*/ set_fdhc();
int /*<<< orphan*/ set_mbfs();
int /*<<< orphan*/ set_mdir();
int /*<<< orphan*/ set_nbxcfg();
int /*<<< orphan*/ set_pam();
int /*<<< orphan*/ set_pgpol();
int /*<<< orphan*/ set_pmcr();
int /*<<< orphan*/ set_rps();
int /*<<< orphan*/ set_sdramc();
int /*<<< orphan*/ set_smram();
void sdram_set_registers(void) {
  set_nbxcfg();
  set_dramc();
  set_pam();
  set_drb();
  set_fdhc();
  set_mdir();
  set_smram();
  set_esramc();
  set_rps();
  set_sdramc();
  set_pgpol();
  set_mbfs();
  set_dwtc();
  set_drtc();
  set_pmcr();
}


x86 assembly (clang, -O0):
<sdram_set_registers>:
push   %rbp
mov    %rsp,%rbp
mov    $0x0,%al
call   10d0 <set_nbxcfg@plt>
mov    $0x0,%al
call   1070 <set_dramc@plt>
mov    $0x0,%al
call   1090 <set_pam@plt>
mov    $0x0,%al
call   10c0 <set_drb@plt>
mov    $0x0,%al
call   1050 <set_fdhc@plt>
mov    $0x0,%al
call   1100 <set_mdir@plt>
mov    $0x0,%al
call   1060 <set_smram@plt>
mov    $0x0,%al
call   10b0 <set_esramc@plt>
mov    $0x0,%al
call   10a0 <set_rps@plt>
mov    $0x0,%al
call   10e0 <set_sdramc@plt>
mov    $0x0,%al
call   10f0 <set_pgpol@plt>
mov    $0x0,%al
call   1110 <set_mbfs@plt>
mov    $0x0,%al
call   1030 <set_dwtc@plt>
mov    $0x0,%al
call   1040 <set_drtc@plt>
mov    $0x0,%al
call   1080 <set_pmcr@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<sdram_set_registers>:
push   %rax
xor    %eax,%eax
call   10d0 <set_nbxcfg@plt>
xor    %eax,%eax
call   1070 <set_dramc@plt>
xor    %eax,%eax
call   1090 <set_pam@plt>
xor    %eax,%eax
call   10c0 <set_drb@plt>
xor    %eax,%eax
call   1050 <set_fdhc@plt>
xor    %eax,%eax
call   1100 <set_mdir@plt>
xor    %eax,%eax
call   1060 <set_smram@plt>
xor    %eax,%eax
call   10b0 <set_esramc@plt>
xor    %eax,%eax
call   10a0 <set_rps@plt>
xor    %eax,%eax
call   10e0 <set_sdramc@plt>
xor    %eax,%eax
call   10f0 <set_pgpol@plt>
xor    %eax,%eax
call   1110 <set_mbfs@plt>
xor    %eax,%eax
call   1030 <set_dwtc@plt>
xor    %eax,%eax
call   1040 <set_drtc@plt>
xor    %eax,%eax
pop    %rcx
jmp    1080 <set_pmcr@plt>

LLVM IR (-O0):
define void @sdram_set_registers() {
%1 = call i32 (...) @set_nbxcfg()
%2 = call i32 (...) @set_dramc()
%3 = call i32 (...) @set_pam()
%4 = call i32 (...) @set_drb()
%5 = call i32 (...) @set_fdhc()
%6 = call i32 (...) @set_mdir()
%7 = call i32 (...) @set_smram()
%8 = call i32 (...) @set_esramc()
%9 = call i32 (...) @set_rps()
%10 = call i32 (...) @set_sdramc()
%11 = call i32 (...) @set_pgpol()
%12 = call i32 (...) @set_mbfs()
%13 = call i32 (...) @set_dwtc()
%14 = call i32 (...) @set_drtc()
%15 = call i32 (...) @set_pmcr()
ret void
}

LLVM IR (-O2):
define void @sdram_set_registers() {
%1 = tail call i32 (...) @set_nbxcfg()
%2 = tail call i32 (...) @set_dramc()
%3 = tail call i32 (...) @set_pam()
%4 = tail call i32 (...) @set_drb()
%5 = tail call i32 (...) @set_fdhc()
%6 = tail call i32 (...) @set_mdir()
%7 = tail call i32 (...) @set_smram()
%8 = tail call i32 (...) @set_esramc()
%9 = tail call i32 (...) @set_rps()
%10 = tail call i32 (...) @set_sdramc()
%11 = tail call i32 (...) @set_pgpol()
%12 = tail call i32 (...) @set_mbfs()
%13 = tail call i32 (...) @set_dwtc()
%14 = tail call i32 (...) @set_drtc()
%15 = tail call i32 (...) @set_pmcr()
ret void
}