#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*/ fd_ssd1315_write_command(int);
int /*<<< orphan*/ fd_ssd1315_write_command_arg1(int, int);
int /*<<< orphan*/ fd_ssd1315_write_command_arg2(int, int /*<<< orphan*/, int);
void fd_ssd1315_send_init_sequence(void) {
  fd_ssd1315_write_command(0xae);
  fd_ssd1315_write_command(0x40);
  fd_ssd1315_write_command_arg1(0x20, 0x00);
  fd_ssd1315_write_command_arg2(0x21, 0, 127);
  fd_ssd1315_write_command_arg2(0x22, 0, 7);
  fd_ssd1315_write_command_arg1(0x81, 0x45);
  fd_ssd1315_write_command_arg1(0xa8, 0x3f);
  fd_ssd1315_write_command(0xa1);
  fd_ssd1315_write_command(0xc8);
  fd_ssd1315_write_command_arg1(0xd3, 0x00);
  fd_ssd1315_write_command_arg1(0xd5, 0x80);
  fd_ssd1315_write_command_arg1(0xd9, 0x22);
  fd_ssd1315_write_command_arg1(0xda, 0x12);
  fd_ssd1315_write_command_arg1(0xdb, 0x20);
  fd_ssd1315_write_command_arg1(0x8d, 0x15);
  fd_ssd1315_write_command(0x2e);
  fd_ssd1315_write_command(0xa4);
  fd_ssd1315_write_command(0xa6);
}


x86 assembly (clang, -O0):
<fd_ssd1315_send_init_sequence>:
push   %rbp
mov    %rsp,%rbp
mov    $0xae,%edi
call   1030 <fd_ssd1315_write_command@plt>
mov    $0x40,%edi
call   1030 <fd_ssd1315_write_command@plt>
mov    $0x20,%edi
xor    %esi,%esi
call   1050 <fd_ssd1315_write_command_arg1@plt>
mov    $0x21,%edi
xor    %esi,%esi
mov    $0x7f,%edx
call   1040 <fd_ssd1315_write_command_arg2@plt>
mov    $0x22,%edi
xor    %esi,%esi
mov    $0x7,%edx
call   1040 <fd_ssd1315_write_command_arg2@plt>
mov    $0x81,%edi
mov    $0x45,%esi
call   1050 <fd_ssd1315_write_command_arg1@plt>
mov    $0xa8,%edi
mov    $0x3f,%esi
call   1050 <fd_ssd1315_write_command_arg1@plt>
mov    $0xa1,%edi
call   1030 <fd_ssd1315_write_command@plt>
mov    $0xc8,%edi
call   1030 <fd_ssd1315_write_command@plt>
mov    $0xd3,%edi
xor    %esi,%esi
call   1050 <fd_ssd1315_write_command_arg1@plt>
mov    $0xd5,%edi
mov    $0x80,%esi
call   1050 <fd_ssd1315_write_command_arg1@plt>
mov    $0xd9,%edi
mov    $0x22,%esi
call   1050 <fd_ssd1315_write_command_arg1@plt>
mov    $0xda,%edi
mov    $0x12,%esi
call   1050 <fd_ssd1315_write_command_arg1@plt>
mov    $0xdb,%edi
mov    $0x20,%esi
call   1050 <fd_ssd1315_write_command_arg1@plt>
mov    $0x8d,%edi
mov    $0x15,%esi
call   1050 <fd_ssd1315_write_command_arg1@plt>
mov    $0x2e,%edi
call   1030 <fd_ssd1315_write_command@plt>
mov    $0xa4,%edi
call   1030 <fd_ssd1315_write_command@plt>
mov    $0xa6,%edi
call   1030 <fd_ssd1315_write_command@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<fd_ssd1315_send_init_sequence>:
push   %rax
mov    $0xae,%edi
call   1030 <fd_ssd1315_write_command@plt>
mov    $0x40,%edi
call   1030 <fd_ssd1315_write_command@plt>
mov    $0x20,%edi
xor    %esi,%esi
call   1050 <fd_ssd1315_write_command_arg1@plt>
mov    $0x21,%edi
xor    %esi,%esi
mov    $0x7f,%edx
call   1040 <fd_ssd1315_write_command_arg2@plt>
mov    $0x22,%edi
xor    %esi,%esi
mov    $0x7,%edx
call   1040 <fd_ssd1315_write_command_arg2@plt>
mov    $0x81,%edi
mov    $0x45,%esi
call   1050 <fd_ssd1315_write_command_arg1@plt>
mov    $0xa8,%edi
mov    $0x3f,%esi
call   1050 <fd_ssd1315_write_command_arg1@plt>
mov    $0xa1,%edi
call   1030 <fd_ssd1315_write_command@plt>
mov    $0xc8,%edi
call   1030 <fd_ssd1315_write_command@plt>
mov    $0xd3,%edi
xor    %esi,%esi
call   1050 <fd_ssd1315_write_command_arg1@plt>
mov    $0xd5,%edi
mov    $0x80,%esi
call   1050 <fd_ssd1315_write_command_arg1@plt>
mov    $0xd9,%edi
mov    $0x22,%esi
call   1050 <fd_ssd1315_write_command_arg1@plt>
mov    $0xda,%edi
mov    $0x12,%esi
call   1050 <fd_ssd1315_write_command_arg1@plt>
mov    $0xdb,%edi
mov    $0x20,%esi
call   1050 <fd_ssd1315_write_command_arg1@plt>
mov    $0x8d,%edi
mov    $0x15,%esi
call   1050 <fd_ssd1315_write_command_arg1@plt>
mov    $0x2e,%edi
call   1030 <fd_ssd1315_write_command@plt>
mov    $0xa4,%edi
call   1030 <fd_ssd1315_write_command@plt>
mov    $0xa6,%edi
pop    %rax
jmp    1030 <fd_ssd1315_write_command@plt>

LLVM IR (-O0):
define void @fd_ssd1315_send_init_sequence() {
%1 = call i32 @fd_ssd1315_write_command(i32 174)
%2 = call i32 @fd_ssd1315_write_command(i32 64)
%3 = call i32 @fd_ssd1315_write_command_arg1(i32 32, i32 0)
%4 = call i32 @fd_ssd1315_write_command_arg2(i32 33, i32 0, i32 127)
%5 = call i32 @fd_ssd1315_write_command_arg2(i32 34, i32 0, i32 7)
%6 = call i32 @fd_ssd1315_write_command_arg1(i32 129, i32 69)
%7 = call i32 @fd_ssd1315_write_command_arg1(i32 168, i32 63)
%8 = call i32 @fd_ssd1315_write_command(i32 161)
%9 = call i32 @fd_ssd1315_write_command(i32 200)
%10 = call i32 @fd_ssd1315_write_command_arg1(i32 211, i32 0)
%11 = call i32 @fd_ssd1315_write_command_arg1(i32 213, i32 128)
%12 = call i32 @fd_ssd1315_write_command_arg1(i32 217, i32 34)
%13 = call i32 @fd_ssd1315_write_command_arg1(i32 218, i32 18)
%14 = call i32 @fd_ssd1315_write_command_arg1(i32 219, i32 32)
%15 = call i32 @fd_ssd1315_write_command_arg1(i32 141, i32 21)
%16 = call i32 @fd_ssd1315_write_command(i32 46)
%17 = call i32 @fd_ssd1315_write_command(i32 164)
%18 = call i32 @fd_ssd1315_write_command(i32 166)
ret void
}

LLVM IR (-O2):
define void @fd_ssd1315_send_init_sequence() {
%1 = tail call i32 @fd_ssd1315_write_command(i32 174)
%2 = tail call i32 @fd_ssd1315_write_command(i32 64)
%3 = tail call i32 @fd_ssd1315_write_command_arg1(i32 32, i32 0)
%4 = tail call i32 @fd_ssd1315_write_command_arg2(i32 33, i32 0, i32 127)
%5 = tail call i32 @fd_ssd1315_write_command_arg2(i32 34, i32 0, i32 7)
%6 = tail call i32 @fd_ssd1315_write_command_arg1(i32 129, i32 69)
%7 = tail call i32 @fd_ssd1315_write_command_arg1(i32 168, i32 63)
%8 = tail call i32 @fd_ssd1315_write_command(i32 161)
%9 = tail call i32 @fd_ssd1315_write_command(i32 200)
%10 = tail call i32 @fd_ssd1315_write_command_arg1(i32 211, i32 0)
%11 = tail call i32 @fd_ssd1315_write_command_arg1(i32 213, i32 128)
%12 = tail call i32 @fd_ssd1315_write_command_arg1(i32 217, i32 34)
%13 = tail call i32 @fd_ssd1315_write_command_arg1(i32 218, i32 18)
%14 = tail call i32 @fd_ssd1315_write_command_arg1(i32 219, i32 32)
%15 = tail call i32 @fd_ssd1315_write_command_arg1(i32 141, i32 21)
%16 = tail call i32 @fd_ssd1315_write_command(i32 46)
%17 = tail call i32 @fd_ssd1315_write_command(i32 164)
%18 = tail call i32 @fd_ssd1315_write_command(i32 166)
ret void
}