#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*/ sdram_assert_command();
int /*<<< orphan*/ sdram_set_command_cbr();
int /*<<< orphan*/ sdram_set_command_none();
int /*<<< orphan*/ sdram_set_command_noop();
int /*<<< orphan*/ sdram_set_command_precharge();
int /*<<< orphan*/ sdram_set_mode_register();
int /*<<< orphan*/ udelay(int);
void sdram_enable(void) {
  sdram_set_command_noop();
  udelay(200);
  sdram_assert_command();
  sdram_set_command_precharge();
  sdram_assert_command();
  sdram_set_command_cbr();
  sdram_assert_command();
  sdram_assert_command();
  sdram_assert_command();
  sdram_assert_command();
  sdram_assert_command();
  sdram_assert_command();
  sdram_assert_command();
  sdram_assert_command();
  sdram_set_mode_register();
  sdram_set_command_none();
}


x86 assembly (clang, -O0):
<sdram_enable>:
push   %rbp
mov    %rsp,%rbp
mov    $0x0,%al
call   1060 <sdram_set_command_noop@plt>
mov    $0xc8,%edi
call   1070 <udelay@plt>
mov    $0x0,%al
call   1040 <sdram_assert_command@plt>
mov    $0x0,%al
call   1080 <sdram_set_command_precharge@plt>
mov    $0x0,%al
call   1040 <sdram_assert_command@plt>
mov    $0x0,%al
call   1050 <sdram_set_command_cbr@plt>
mov    $0x0,%al
call   1040 <sdram_assert_command@plt>
mov    $0x0,%al
call   1040 <sdram_assert_command@plt>
mov    $0x0,%al
call   1040 <sdram_assert_command@plt>
mov    $0x0,%al
call   1040 <sdram_assert_command@plt>
mov    $0x0,%al
call   1040 <sdram_assert_command@plt>
mov    $0x0,%al
call   1040 <sdram_assert_command@plt>
mov    $0x0,%al
call   1040 <sdram_assert_command@plt>
mov    $0x0,%al
call   1040 <sdram_assert_command@plt>
mov    $0x0,%al
call   1090 <sdram_set_mode_register@plt>
mov    $0x0,%al
call   1030 <sdram_set_command_none@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<sdram_enable>:
push   %rax
xor    %eax,%eax
call   1060 <sdram_set_command_noop@plt>
mov    $0xc8,%edi
call   1070 <udelay@plt>
xor    %eax,%eax
call   1040 <sdram_assert_command@plt>
xor    %eax,%eax
call   1080 <sdram_set_command_precharge@plt>
xor    %eax,%eax
call   1040 <sdram_assert_command@plt>
xor    %eax,%eax
call   1050 <sdram_set_command_cbr@plt>
xor    %eax,%eax
call   1040 <sdram_assert_command@plt>
xor    %eax,%eax
call   1040 <sdram_assert_command@plt>
xor    %eax,%eax
call   1040 <sdram_assert_command@plt>
xor    %eax,%eax
call   1040 <sdram_assert_command@plt>
xor    %eax,%eax
call   1040 <sdram_assert_command@plt>
xor    %eax,%eax
call   1040 <sdram_assert_command@plt>
xor    %eax,%eax
call   1040 <sdram_assert_command@plt>
xor    %eax,%eax
call   1040 <sdram_assert_command@plt>
xor    %eax,%eax
call   1090 <sdram_set_mode_register@plt>
xor    %eax,%eax
pop    %rcx
jmp    1030 <sdram_set_command_none@plt>

LLVM IR (-O0):
define void @sdram_enable() {
%1 = call i32 (...) @sdram_set_command_noop()
%2 = call i32 @udelay(i32 200)
%3 = call i32 (...) @sdram_assert_command()
%4 = call i32 (...) @sdram_set_command_precharge()
%5 = call i32 (...) @sdram_assert_command()
%6 = call i32 (...) @sdram_set_command_cbr()
%7 = call i32 (...) @sdram_assert_command()
%8 = call i32 (...) @sdram_assert_command()
%9 = call i32 (...) @sdram_assert_command()
%10 = call i32 (...) @sdram_assert_command()
%11 = call i32 (...) @sdram_assert_command()
%12 = call i32 (...) @sdram_assert_command()
%13 = call i32 (...) @sdram_assert_command()
%14 = call i32 (...) @sdram_assert_command()
%15 = call i32 (...) @sdram_set_mode_register()
%16 = call i32 (...) @sdram_set_command_none()
ret void
}

LLVM IR (-O2):
define void @sdram_enable() {
%1 = tail call i32 (...) @sdram_set_command_noop()
%2 = tail call i32 @udelay(i32 200)
%3 = tail call i32 (...) @sdram_assert_command()
%4 = tail call i32 (...) @sdram_set_command_precharge()
%5 = tail call i32 (...) @sdram_assert_command()
%6 = tail call i32 (...) @sdram_set_command_cbr()
%7 = tail call i32 (...) @sdram_assert_command()
%8 = tail call i32 (...) @sdram_assert_command()
%9 = tail call i32 (...) @sdram_assert_command()
%10 = tail call i32 (...) @sdram_assert_command()
%11 = tail call i32 (...) @sdram_assert_command()
%12 = tail call i32 (...) @sdram_assert_command()
%13 = tail call i32 (...) @sdram_assert_command()
%14 = tail call i32 (...) @sdram_assert_command()
%15 = tail call i32 (...) @sdram_set_mode_register()
%16 = tail call i32 (...) @sdram_set_command_none()
ret void
}