#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*/ Lcd4_Cmd(int);
int /*<<< orphan*/ Lcd4_Port(int);
int /*<<< orphan*/ Lcd_Delay(int);
void Lcd4_Init() {
  Lcd4_Port(0x00);
  Lcd_Delay(200);
  Lcd4_Cmd(0x03);
  Lcd_Delay(50);
  Lcd4_Cmd(0x03);
  Lcd_Delay(110);
  Lcd4_Cmd(0x03);
  Lcd4_Cmd(0x02);
  Lcd4_Cmd(0x02);
  Lcd4_Cmd(0x08);
  Lcd4_Cmd(0x00);
  Lcd4_Cmd(0x0C);
  Lcd4_Cmd(0x00);
  Lcd4_Cmd(0x06);
}


x86 assembly (clang, -O0):
<Lcd4_Init>:
push   %rbp
mov    %rsp,%rbp
xor    %edi,%edi
call   1030 <Lcd4_Port@plt>
mov    $0xc8,%edi
call   1050 <Lcd_Delay@plt>
mov    $0x3,%edi
call   1040 <Lcd4_Cmd@plt>
mov    $0x32,%edi
call   1050 <Lcd_Delay@plt>
mov    $0x3,%edi
call   1040 <Lcd4_Cmd@plt>
mov    $0x6e,%edi
call   1050 <Lcd_Delay@plt>
mov    $0x3,%edi
call   1040 <Lcd4_Cmd@plt>
mov    $0x2,%edi
call   1040 <Lcd4_Cmd@plt>
mov    $0x2,%edi
call   1040 <Lcd4_Cmd@plt>
mov    $0x8,%edi
call   1040 <Lcd4_Cmd@plt>
xor    %edi,%edi
call   1040 <Lcd4_Cmd@plt>
mov    $0xc,%edi
call   1040 <Lcd4_Cmd@plt>
xor    %edi,%edi
call   1040 <Lcd4_Cmd@plt>
mov    $0x6,%edi
call   1040 <Lcd4_Cmd@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<Lcd4_Init>:
push   %rax
xor    %edi,%edi
call   1030 <Lcd4_Port@plt>
mov    $0xc8,%edi
call   1050 <Lcd_Delay@plt>
mov    $0x3,%edi
call   1040 <Lcd4_Cmd@plt>
mov    $0x32,%edi
call   1050 <Lcd_Delay@plt>
mov    $0x3,%edi
call   1040 <Lcd4_Cmd@plt>
mov    $0x6e,%edi
call   1050 <Lcd_Delay@plt>
mov    $0x3,%edi
call   1040 <Lcd4_Cmd@plt>
mov    $0x2,%edi
call   1040 <Lcd4_Cmd@plt>
mov    $0x2,%edi
call   1040 <Lcd4_Cmd@plt>
mov    $0x8,%edi
call   1040 <Lcd4_Cmd@plt>
xor    %edi,%edi
call   1040 <Lcd4_Cmd@plt>
mov    $0xc,%edi
call   1040 <Lcd4_Cmd@plt>
xor    %edi,%edi
call   1040 <Lcd4_Cmd@plt>
mov    $0x6,%edi
pop    %rax
jmp    1040 <Lcd4_Cmd@plt>

LLVM IR (-O0):
define void @Lcd4_Init() {
%1 = call i32 @Lcd4_Port(i32 0)
%2 = call i32 @Lcd_Delay(i32 200)
%3 = call i32 @Lcd4_Cmd(i32 3)
%4 = call i32 @Lcd_Delay(i32 50)
%5 = call i32 @Lcd4_Cmd(i32 3)
%6 = call i32 @Lcd_Delay(i32 110)
%7 = call i32 @Lcd4_Cmd(i32 3)
%8 = call i32 @Lcd4_Cmd(i32 2)
%9 = call i32 @Lcd4_Cmd(i32 2)
%10 = call i32 @Lcd4_Cmd(i32 8)
%11 = call i32 @Lcd4_Cmd(i32 0)
%12 = call i32 @Lcd4_Cmd(i32 12)
%13 = call i32 @Lcd4_Cmd(i32 0)
%14 = call i32 @Lcd4_Cmd(i32 6)
ret void
}

LLVM IR (-O2):
define void @Lcd4_Init() {
%1 = tail call i32 @Lcd4_Port(i32 0)
%2 = tail call i32 @Lcd_Delay(i32 200)
%3 = tail call i32 @Lcd4_Cmd(i32 3)
%4 = tail call i32 @Lcd_Delay(i32 50)
%5 = tail call i32 @Lcd4_Cmd(i32 3)
%6 = tail call i32 @Lcd_Delay(i32 110)
%7 = tail call i32 @Lcd4_Cmd(i32 3)
%8 = tail call i32 @Lcd4_Cmd(i32 2)
%9 = tail call i32 @Lcd4_Cmd(i32 2)
%10 = tail call i32 @Lcd4_Cmd(i32 8)
%11 = tail call i32 @Lcd4_Cmd(i32 0)
%12 = tail call i32 @Lcd4_Cmd(i32 12)
%13 = tail call i32 @Lcd4_Cmd(i32 0)
%14 = tail call i32 @Lcd4_Cmd(i32 6)
ret void
}