#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*/ parlcd_delay(int);
int /*<<< orphan*/ parlcd_write_cmd(unsigned char *, int);
int /*<<< orphan*/ parlcd_write_data(unsigned char *, int);
void parlcd_hx8357_init(unsigned char *parlcd_mem_base) {
  parlcd_write_cmd(parlcd_mem_base, 0x1);
  parlcd_delay(30);
  parlcd_write_cmd(parlcd_mem_base, 0xB9);
  parlcd_write_data(parlcd_mem_base, 0xFF);
  parlcd_write_data(parlcd_mem_base, 0x83);
  parlcd_write_data(parlcd_mem_base, 0x57);
  parlcd_delay(50);
  parlcd_write_cmd(parlcd_mem_base, 0xB6);
  parlcd_write_data(parlcd_mem_base, 0x52);
  parlcd_write_cmd(parlcd_mem_base, 0x11);
  parlcd_delay(200);
  parlcd_write_cmd(parlcd_mem_base, 0x35);
  parlcd_write_data(parlcd_mem_base, 0x00);
  parlcd_write_cmd(parlcd_mem_base, 0x3A);
  parlcd_write_data(parlcd_mem_base, 0x55);
  parlcd_write_cmd(parlcd_mem_base, 0xB1);
  parlcd_write_data(parlcd_mem_base, 0x00);
  parlcd_write_data(parlcd_mem_base, 0x15);
  parlcd_write_data(parlcd_mem_base, 0x0D);
  parlcd_write_data(parlcd_mem_base, 0x0D);
  parlcd_write_data(parlcd_mem_base, 0x83);
  parlcd_write_data(parlcd_mem_base, 0x48);
  parlcd_write_cmd(parlcd_mem_base, 0xC0);
  parlcd_write_data(parlcd_mem_base, 0x24);
  parlcd_write_data(parlcd_mem_base, 0x24);
  parlcd_write_data(parlcd_mem_base, 0x01);
  parlcd_write_data(parlcd_mem_base, 0x3C);
  parlcd_write_data(parlcd_mem_base, 0xC8);
  parlcd_write_data(parlcd_mem_base, 0x08);
  parlcd_write_cmd(parlcd_mem_base, 0xB4);
  parlcd_write_data(parlcd_mem_base, 0x02);
  parlcd_write_data(parlcd_mem_base, 0x40);
  parlcd_write_data(parlcd_mem_base, 0x00);
  parlcd_write_data(parlcd_mem_base, 0x2A);
  parlcd_write_data(parlcd_mem_base, 0x2A);
  parlcd_write_data(parlcd_mem_base, 0x0D);
  parlcd_write_data(parlcd_mem_base, 0x4F);
  parlcd_write_cmd(parlcd_mem_base, 0xE0);
  parlcd_write_data(parlcd_mem_base, 0x00);
  parlcd_write_data(parlcd_mem_base, 0x15);
  parlcd_write_data(parlcd_mem_base, 0x1D);
  parlcd_write_data(parlcd_mem_base, 0x2A);
  parlcd_write_data(parlcd_mem_base, 0x31);
  parlcd_write_data(parlcd_mem_base, 0x42);
  parlcd_write_data(parlcd_mem_base, 0x4C);
  parlcd_write_data(parlcd_mem_base, 0x53);
  parlcd_write_data(parlcd_mem_base, 0x45);
  parlcd_write_data(parlcd_mem_base, 0x40);
  parlcd_write_data(parlcd_mem_base, 0x3B);
  parlcd_write_data(parlcd_mem_base, 0x32);
  parlcd_write_data(parlcd_mem_base, 0x2E);
  parlcd_write_data(parlcd_mem_base, 0x28);
  parlcd_write_data(parlcd_mem_base, 0x24);
  parlcd_write_data(parlcd_mem_base, 0x03);
  parlcd_write_data(parlcd_mem_base, 0x00);
  parlcd_write_data(parlcd_mem_base, 0x15);
  parlcd_write_data(parlcd_mem_base, 0x1D);
  parlcd_write_data(parlcd_mem_base, 0x2A);
  parlcd_write_data(parlcd_mem_base, 0x31);
  parlcd_write_data(parlcd_mem_base, 0x42);
  parlcd_write_data(parlcd_mem_base, 0x4C);
  parlcd_write_data(parlcd_mem_base, 0x53);
  parlcd_write_data(parlcd_mem_base, 0x45);
  parlcd_write_data(parlcd_mem_base, 0x40);
  parlcd_write_data(parlcd_mem_base, 0x3B);
  parlcd_write_data(parlcd_mem_base, 0x32);
  parlcd_write_data(parlcd_mem_base, 0x2E);
  parlcd_write_data(parlcd_mem_base, 0x28);
  parlcd_write_data(parlcd_mem_base, 0x24);
  parlcd_write_data(parlcd_mem_base, 0x03);
  parlcd_write_data(parlcd_mem_base, 0x00);
  parlcd_write_data(parlcd_mem_base, 0x01);
  parlcd_write_cmd(parlcd_mem_base, 0x36);
  parlcd_write_data(parlcd_mem_base, 0xE8);
  parlcd_delay(20);
  parlcd_write_cmd(parlcd_mem_base, 0x21);
  parlcd_delay(20);
  parlcd_write_cmd(parlcd_mem_base, 0x29);
  parlcd_delay(120);
}


x86 assembly (clang, -O0):
<parlcd_hx8357_init>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
mov    %rdi,-0x8(%rbp)
mov    -0x8(%rbp),%rdi
mov    $0x1,%esi
call   1050 <parlcd_write_cmd@plt>
mov    $0x1e,%edi
call   1040 <parlcd_delay@plt>
mov    -0x8(%rbp),%rdi
mov    $0xb9,%esi
call   1050 <parlcd_write_cmd@plt>
mov    -0x8(%rbp),%rdi
mov    $0xff,%esi
call   1030 <parlcd_write_data@plt>
mov    -0x8(%rbp),%rdi
mov    $0x83,%esi
call   1030 <parlcd_write_data@plt>
mov    -0x8(%rbp),%rdi
mov    $0x57,%esi
call   1030 <parlcd_write_data@plt>
mov    $0x32,%edi
call   1040 <parlcd_delay@plt>
mov    -0x8(%rbp),%rdi
mov    $0xb6,%esi
call   1050 <parlcd_write_cmd@plt>
mov    -0x8(%rbp),%rdi
mov    $0x52,%esi
call   1030 <parlcd_write_data@plt>
mov    -0x8(%rbp),%rdi
mov    $0x11,%esi
call   1050 <parlcd_write_cmd@plt>
mov    $0xc8,%edi
call   1040 <parlcd_delay@plt>
mov    -0x8(%rbp),%rdi
mov    $0x35,%esi
call   1050 <parlcd_write_cmd@plt>
mov    -0x8(%rbp),%rdi
xor    %esi,%esi
call   1030 <parlcd_write_data@plt>
mov    -0x8(%rbp),%rdi
mov    $0x3a,%esi
call   1050 <parlcd_write_cmd@plt>
mov    -0x8(%rbp),%rdi
mov    $0x55,%esi
call   1030 <parlcd_write_data@plt>
mov    -0x8(%rbp),%rdi
mov    $0xb1,%esi
call   1050 <parlcd_write_cmd@plt>
mov    -0x8(%rbp),%rdi
xor    %esi,%esi
call   1030 <parlcd_write_data@plt>
mov    -0x8(%rbp),%rdi
mov    $0x15,%esi
call   1030 <parlcd_write_data@plt>
mov    -0x8(%rbp),%rdi
mov    $0xd,%esi
call   1030 <parlcd_write_data@plt>
mov    -0x8(%rbp),%rdi
mov    $0xd,%esi
call   1030 <parlcd_write_data@plt>
mov    -0x8(%rbp),%rdi
mov    $0x83,%esi
call   1030 <parlcd_write_data@plt>
mov    -0x8(%rbp),%rdi
mov    $0x48,%esi
call   1030 <parlcd_write_data@plt>
mov    -0x8(%rbp),%rdi
mov    $0xc0,%esi
call   1050 <parlcd_write_cmd@plt>
mov    -0x8(%rbp),%rdi
mov    $0x24,%esi
call   1030 <parlcd_write_data@plt>
mov    -0x8(%rbp),%rdi
mov    $0x24,%esi
call   1030 <parlcd_write_data@plt>
mov    -0x8(%rbp),%rdi
mov    $0x1,%esi
call   1030 <parlcd_write_data@plt>
mov    -0x8(%rbp),%rdi
mov    $0x3c,%esi
call   1030 <parlcd_write_data@plt>
mov    -0x8(%rbp),%rdi
mov    $0xc8,%esi
call   1030 <parlcd_write_data@plt>
mov    -0x8(%rbp),%rdi
mov    $0x8,%esi
call   1030 <parlcd_write_data@plt>
mov    -0x8(%rbp),%rdi
mov    $0xb4,%esi
call   1050 <parlcd_write_cmd@plt>
mov    -0x8(%rbp),%rdi
mov    $0x2,%esi
call   1030 <parlcd_write_data@plt>
mov    -0x8(%rbp),%rdi
mov    $0x40,%esi
call   1030 <parlcd_write_data@plt>
mov    -0x8(%rbp),%rdi
xor    %esi,%esi
call   1030 <parlcd_write_data@plt>
mov    -0x8(%rbp),%rdi
mov    $0x2a,%esi
call   1030 <parlcd_write_data@plt>
mov    -0x8(%rbp),%rdi
mov    $0x2a,%esi
call   1030 <parlcd_write_data@plt>
mov    -0x8(%rbp),%rdi
mov    $0xd,%esi
call   1030 <parlcd_write_data@plt>
mov    -0x8(%rbp),%rdi
mov    $0x4f,%esi
call   1030 <parlcd_write_data@plt>
mov    -0x8(%rbp),%rdi
mov    $0xe0,%esi
call   1050 <parlcd_write_cmd@plt>
mov    -0x8(%rbp),%rdi
xor    %esi,%esi
call   1030 <parlcd_write_data@plt>
mov    -0x8(%rbp),%rdi
mov    $0x15,%esi
call   1030 <parlcd_write_data@plt>
mov    -0x8(%rbp),%rdi
mov    $0x1d,%esi
call   1030 <parlcd_write_data@plt>
mov    -0x8(%rbp),%rdi
mov    $0x2a,%esi
call   1030 <parlcd_write_data@plt>
mov    -0x8(%rbp),%rdi
mov    $0x31,%esi
call   1030 <parlcd_write_data@plt>
mov    -0x8(%rbp),%rdi
mov    $0x42,%esi
call   1030 <parlcd_write_data@plt>
mov    -0x8(%rbp),%rdi
mov    $0x4c,%esi
call   1030 <parlcd_write_data@plt>
mov    -0x8(%rbp),%rdi
mov    $0x53,%esi
call   1030 <parlcd_write_data@plt>
mov    -0x8(%rbp),%rdi
mov    $0x45,%esi
call   1030 <parlcd_write_data@plt>
mov    -0x8(%rbp),%rdi
mov    $0x40,%esi
call   1030 <parlcd_write_data@plt>
mov    -0x8(%rbp),%rdi
mov    $0x3b,%esi
call   1030 <parlcd_write_data@plt>
mov    -0x8(%rbp),%rdi
mov    $0x32,%esi
call   1030 <parlcd_write_data@plt>
mov    -0x8(%rbp),%rdi
mov    $0x2e,%esi
call   1030 <parlcd_write_data@plt>
mov    -0x8(%rbp),%rdi
mov    $0x28,%esi
call   1030 <parlcd_write_data@plt>
mov    -0x8(%rbp),%rdi
mov    $0x24,%esi
call   1030 <parlcd_write_data@plt>
mov    -0x8(%rbp),%rdi
mov    $0x3,%esi
call   1030 <parlcd_write_data@plt>
mov    -0x8(%rbp),%rdi
xor    %esi,%esi
call   1030 <parlcd_write_data@plt>
mov    -0x8(%rbp),%rdi
mov    $0x15,%esi
call   1030 <parlcd_write_data@plt>
mov    -0x8(%rbp),%rdi
mov    $0x1d,%esi
call   1030 <parlcd_write_data@plt>
mov    -0x8(%rbp),%rdi
mov    $0x2a,%esi
call   1030 <parlcd_write_data@plt>
mov    -0x8(%rbp),%rdi
mov    $0x31,%esi
call   1030 <parlcd_write_data@plt>
mov    -0x8(%rbp),%rdi
mov    $0x42,%esi
call   1030 <parlcd_write_data@plt>
mov    -0x8(%rbp),%rdi
mov    $0x4c,%esi
call   1030 <parlcd_write_data@plt>
mov    -0x8(%rbp),%rdi
mov    $0x53,%esi
call   1030 <parlcd_write_data@plt>
mov    -0x8(%rbp),%rdi
mov    $0x45,%esi
call   1030 <parlcd_write_data@plt>
mov    -0x8(%rbp),%rdi
mov    $0x40,%esi
call   1030 <parlcd_write_data@plt>
mov    -0x8(%rbp),%rdi
mov    $0x3b,%esi
call   1030 <parlcd_write_data@plt>
mov    -0x8(%rbp),%rdi
mov    $0x32,%esi
call   1030 <parlcd_write_data@plt>
mov    -0x8(%rbp),%rdi
mov    $0x2e,%esi
call   1030 <parlcd_write_data@plt>
mov    -0x8(%rbp),%rdi
mov    $0x28,%esi
call   1030 <parlcd_write_data@plt>
mov    -0x8(%rbp),%rdi
mov    $0x24,%esi
call   1030 <parlcd_write_data@plt>
mov    -0x8(%rbp),%rdi
mov    $0x3,%esi
call   1030 <parlcd_write_data@plt>
mov    -0x8(%rbp),%rdi
xor    %esi,%esi
call   1030 <parlcd_write_data@plt>
mov    -0x8(%rbp),%rdi
mov    $0x1,%esi
call   1030 <parlcd_write_data@plt>
mov    -0x8(%rbp),%rdi
mov    $0x36,%esi
call   1050 <parlcd_write_cmd@plt>
mov    -0x8(%rbp),%rdi
mov    $0xe8,%esi
call   1030 <parlcd_write_data@plt>
mov    $0x14,%edi
call   1040 <parlcd_delay@plt>
mov    -0x8(%rbp),%rdi
mov    $0x21,%esi
call   1050 <parlcd_write_cmd@plt>
mov    $0x14,%edi
call   1040 <parlcd_delay@plt>
mov    -0x8(%rbp),%rdi
mov    $0x29,%esi
call   1050 <parlcd_write_cmd@plt>
mov    $0x78,%edi
call   1040 <parlcd_delay@plt>
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<parlcd_hx8357_init>:
push   %rbx
mov    %rdi,%rbx
mov    $0x1,%esi
call   1050 <parlcd_write_cmd@plt>
mov    $0x1e,%edi
call   1040 <parlcd_delay@plt>
mov    %rbx,%rdi
mov    $0xb9,%esi
call   1050 <parlcd_write_cmd@plt>
mov    %rbx,%rdi
mov    $0xff,%esi
call   1030 <parlcd_write_data@plt>
mov    %rbx,%rdi
mov    $0x83,%esi
call   1030 <parlcd_write_data@plt>
mov    %rbx,%rdi
mov    $0x57,%esi
call   1030 <parlcd_write_data@plt>
mov    $0x32,%edi
call   1040 <parlcd_delay@plt>
mov    %rbx,%rdi
mov    $0xb6,%esi
call   1050 <parlcd_write_cmd@plt>
mov    %rbx,%rdi
mov    $0x52,%esi
call   1030 <parlcd_write_data@plt>
mov    %rbx,%rdi
mov    $0x11,%esi
call   1050 <parlcd_write_cmd@plt>
mov    $0xc8,%edi
call   1040 <parlcd_delay@plt>
mov    %rbx,%rdi
mov    $0x35,%esi
call   1050 <parlcd_write_cmd@plt>
mov    %rbx,%rdi
xor    %esi,%esi
call   1030 <parlcd_write_data@plt>
mov    %rbx,%rdi
mov    $0x3a,%esi
call   1050 <parlcd_write_cmd@plt>
mov    %rbx,%rdi
mov    $0x55,%esi
call   1030 <parlcd_write_data@plt>
mov    %rbx,%rdi
mov    $0xb1,%esi
call   1050 <parlcd_write_cmd@plt>
mov    %rbx,%rdi
xor    %esi,%esi
call   1030 <parlcd_write_data@plt>
mov    %rbx,%rdi
mov    $0x15,%esi
call   1030 <parlcd_write_data@plt>
mov    %rbx,%rdi
mov    $0xd,%esi
call   1030 <parlcd_write_data@plt>
mov    %rbx,%rdi
mov    $0xd,%esi
call   1030 <parlcd_write_data@plt>
mov    %rbx,%rdi
mov    $0x83,%esi
call   1030 <parlcd_write_data@plt>
mov    %rbx,%rdi
mov    $0x48,%esi
call   1030 <parlcd_write_data@plt>
mov    %rbx,%rdi
mov    $0xc0,%esi
call   1050 <parlcd_write_cmd@plt>
mov    %rbx,%rdi
mov    $0x24,%esi
call   1030 <parlcd_write_data@plt>
mov    %rbx,%rdi
mov    $0x24,%esi
call   1030 <parlcd_write_data@plt>
mov    %rbx,%rdi
mov    $0x1,%esi
call   1030 <parlcd_write_data@plt>
mov    %rbx,%rdi
mov    $0x3c,%esi
call   1030 <parlcd_write_data@plt>
mov    %rbx,%rdi
mov    $0xc8,%esi
call   1030 <parlcd_write_data@plt>
mov    %rbx,%rdi
mov    $0x8,%esi
call   1030 <parlcd_write_data@plt>
mov    %rbx,%rdi
mov    $0xb4,%esi
call   1050 <parlcd_write_cmd@plt>
mov    %rbx,%rdi
mov    $0x2,%esi
call   1030 <parlcd_write_data@plt>
mov    %rbx,%rdi
mov    $0x40,%esi
call   1030 <parlcd_write_data@plt>
mov    %rbx,%rdi
xor    %esi,%esi
call   1030 <parlcd_write_data@plt>
mov    %rbx,%rdi
mov    $0x2a,%esi
call   1030 <parlcd_write_data@plt>
mov    %rbx,%rdi
mov    $0x2a,%esi
call   1030 <parlcd_write_data@plt>
mov    %rbx,%rdi
mov    $0xd,%esi
call   1030 <parlcd_write_data@plt>
mov    %rbx,%rdi
mov    $0x4f,%esi
call   1030 <parlcd_write_data@plt>
mov    %rbx,%rdi
mov    $0xe0,%esi
call   1050 <parlcd_write_cmd@plt>
mov    %rbx,%rdi
xor    %esi,%esi
call   1030 <parlcd_write_data@plt>
mov    %rbx,%rdi
mov    $0x15,%esi
call   1030 <parlcd_write_data@plt>
mov    %rbx,%rdi
mov    $0x1d,%esi
call   1030 <parlcd_write_data@plt>
mov    %rbx,%rdi
mov    $0x2a,%esi
call   1030 <parlcd_write_data@plt>
mov    %rbx,%rdi
mov    $0x31,%esi
call   1030 <parlcd_write_data@plt>
mov    %rbx,%rdi
mov    $0x42,%esi
call   1030 <parlcd_write_data@plt>
mov    %rbx,%rdi
mov    $0x4c,%esi
call   1030 <parlcd_write_data@plt>
mov    %rbx,%rdi
mov    $0x53,%esi
call   1030 <parlcd_write_data@plt>
mov    %rbx,%rdi
mov    $0x45,%esi
call   1030 <parlcd_write_data@plt>
mov    %rbx,%rdi
mov    $0x40,%esi
call   1030 <parlcd_write_data@plt>
mov    %rbx,%rdi
mov    $0x3b,%esi
call   1030 <parlcd_write_data@plt>
mov    %rbx,%rdi
mov    $0x32,%esi
call   1030 <parlcd_write_data@plt>
mov    %rbx,%rdi
mov    $0x2e,%esi
call   1030 <parlcd_write_data@plt>
mov    %rbx,%rdi
mov    $0x28,%esi
call   1030 <parlcd_write_data@plt>
mov    %rbx,%rdi
mov    $0x24,%esi
call   1030 <parlcd_write_data@plt>
mov    %rbx,%rdi
mov    $0x3,%esi
call   1030 <parlcd_write_data@plt>
mov    %rbx,%rdi
xor    %esi,%esi
call   1030 <parlcd_write_data@plt>
mov    %rbx,%rdi
mov    $0x15,%esi
call   1030 <parlcd_write_data@plt>
mov    %rbx,%rdi
mov    $0x1d,%esi
call   1030 <parlcd_write_data@plt>
mov    %rbx,%rdi
mov    $0x2a,%esi
call   1030 <parlcd_write_data@plt>
mov    %rbx,%rdi
mov    $0x31,%esi
call   1030 <parlcd_write_data@plt>
mov    %rbx,%rdi
mov    $0x42,%esi
call   1030 <parlcd_write_data@plt>
mov    %rbx,%rdi
mov    $0x4c,%esi
call   1030 <parlcd_write_data@plt>
mov    %rbx,%rdi
mov    $0x53,%esi
call   1030 <parlcd_write_data@plt>
mov    %rbx,%rdi
mov    $0x45,%esi
call   1030 <parlcd_write_data@plt>
mov    %rbx,%rdi
mov    $0x40,%esi
call   1030 <parlcd_write_data@plt>
mov    %rbx,%rdi
mov    $0x3b,%esi
call   1030 <parlcd_write_data@plt>
mov    %rbx,%rdi
mov    $0x32,%esi
call   1030 <parlcd_write_data@plt>
mov    %rbx,%rdi
mov    $0x2e,%esi
call   1030 <parlcd_write_data@plt>
mov    %rbx,%rdi
mov    $0x28,%esi
call   1030 <parlcd_write_data@plt>
mov    %rbx,%rdi
mov    $0x24,%esi
call   1030 <parlcd_write_data@plt>
mov    %rbx,%rdi
mov    $0x3,%esi
call   1030 <parlcd_write_data@plt>
mov    %rbx,%rdi
xor    %esi,%esi
call   1030 <parlcd_write_data@plt>
mov    %rbx,%rdi
mov    $0x1,%esi
call   1030 <parlcd_write_data@plt>
mov    %rbx,%rdi
mov    $0x36,%esi
call   1050 <parlcd_write_cmd@plt>
mov    %rbx,%rdi
mov    $0xe8,%esi
call   1030 <parlcd_write_data@plt>
mov    $0x14,%edi
call   1040 <parlcd_delay@plt>
mov    %rbx,%rdi
mov    $0x21,%esi
call   1050 <parlcd_write_cmd@plt>
mov    $0x14,%edi
call   1040 <parlcd_delay@plt>
mov    %rbx,%rdi
mov    $0x29,%esi
call   1050 <parlcd_write_cmd@plt>
mov    $0x78,%edi
pop    %rbx
jmp    1040 <parlcd_delay@plt>

LLVM IR (-O0):
define void @parlcd_hx8357_init(i8* %0) {
%2 = alloca i8*
store i8* %0, i8** %2
%3 = load i8*, i8** %2
%4 = call i32 @parlcd_write_cmd(i8* %3, i32 1)
%5 = call i32 @parlcd_delay(i32 30)
%6 = load i8*, i8** %2
%7 = call i32 @parlcd_write_cmd(i8* %6, i32 185)
%8 = load i8*, i8** %2
%9 = call i32 @parlcd_write_data(i8* %8, i32 255)
%10 = load i8*, i8** %2
%11 = call i32 @parlcd_write_data(i8* %10, i32 131)
%12 = load i8*, i8** %2
%13 = call i32 @parlcd_write_data(i8* %12, i32 87)
%14 = call i32 @parlcd_delay(i32 50)
%15 = load i8*, i8** %2
%16 = call i32 @parlcd_write_cmd(i8* %15, i32 182)
%17 = load i8*, i8** %2
%18 = call i32 @parlcd_write_data(i8* %17, i32 82)
%19 = load i8*, i8** %2
%20 = call i32 @parlcd_write_cmd(i8* %19, i32 17)
%21 = call i32 @parlcd_delay(i32 200)
%22 = load i8*, i8** %2
%23 = call i32 @parlcd_write_cmd(i8* %22, i32 53)
%24 = load i8*, i8** %2
%25 = call i32 @parlcd_write_data(i8* %24, i32 0)
%26 = load i8*, i8** %2
%27 = call i32 @parlcd_write_cmd(i8* %26, i32 58)
%28 = load i8*, i8** %2
%29 = call i32 @parlcd_write_data(i8* %28, i32 85)
%30 = load i8*, i8** %2
%31 = call i32 @parlcd_write_cmd(i8* %30, i32 177)
%32 = load i8*, i8** %2
%33 = call i32 @parlcd_write_data(i8* %32, i32 0)
%34 = load i8*, i8** %2
%35 = call i32 @parlcd_write_data(i8* %34, i32 21)
%36 = load i8*, i8** %2
%37 = call i32 @parlcd_write_data(i8* %36, i32 13)
%38 = load i8*, i8** %2
%39 = call i32 @parlcd_write_data(i8* %38, i32 13)
%40 = load i8*, i8** %2
%41 = call i32 @parlcd_write_data(i8* %40, i32 131)
%42 = load i8*, i8** %2
%43 = call i32 @parlcd_write_data(i8* %42, i32 72)
%44 = load i8*, i8** %2
%45 = call i32 @parlcd_write_cmd(i8* %44, i32 192)
%46 = load i8*, i8** %2
%47 = call i32 @parlcd_write_data(i8* %46, i32 36)
%48 = load i8*, i8** %2
%49 = call i32 @parlcd_write_data(i8* %48, i32 36)
%50 = load i8*, i8** %2
%51 = call i32 @parlcd_write_data(i8* %50, i32 1)
%52 = load i8*, i8** %2
%53 = call i32 @parlcd_write_data(i8* %52, i32 60)
%54 = load i8*, i8** %2
%55 = call i32 @parlcd_write_data(i8* %54, i32 200)
%56 = load i8*, i8** %2
%57 = call i32 @parlcd_write_data(i8* %56, i32 8)
%58 = load i8*, i8** %2
%59 = call i32 @parlcd_write_cmd(i8* %58, i32 180)
%60 = load i8*, i8** %2
%61 = call i32 @parlcd_write_data(i8* %60, i32 2)
%62 = load i8*, i8** %2
%63 = call i32 @parlcd_write_data(i8* %62, i32 64)
%64 = load i8*, i8** %2
%65 = call i32 @parlcd_write_data(i8* %64, i32 0)
%66 = load i8*, i8** %2
%67 = call i32 @parlcd_write_data(i8* %66, i32 42)
%68 = load i8*, i8** %2
%69 = call i32 @parlcd_write_data(i8* %68, i32 42)
%70 = load i8*, i8** %2
%71 = call i32 @parlcd_write_data(i8* %70, i32 13)
%72 = load i8*, i8** %2
%73 = call i32 @parlcd_write_data(i8* %72, i32 79)
%74 = load i8*, i8** %2
%75 = call i32 @parlcd_write_cmd(i8* %74, i32 224)
%76 = load i8*, i8** %2
%77 = call i32 @parlcd_write_data(i8* %76, i32 0)
%78 = load i8*, i8** %2
%79 = call i32 @parlcd_write_data(i8* %78, i32 21)
%80 = load i8*, i8** %2
%81 = call i32 @parlcd_write_data(i8* %80, i32 29)
%82 = load i8*, i8** %2
%83 = call i32 @parlcd_write_data(i8* %82, i32 42)
%84 = load i8*, i8** %2
%85 = call i32 @parlcd_write_data(i8* %84, i32 49)
%86 = load i8*, i8** %2
%87 = call i32 @parlcd_write_data(i8* %86, i32 66)
%88 = load i8*, i8** %2
%89 = call i32 @parlcd_write_data(i8* %88, i32 76)
%90 = load i8*, i8** %2
%91 = call i32 @parlcd_write_data(i8* %90, i32 83)
%92 = load i8*, i8** %2
%93 = call i32 @parlcd_write_data(i8* %92, i32 69)
%94 = load i8*, i8** %2
%95 = call i32 @parlcd_write_data(i8* %94, i32 64)
%96 = load i8*, i8** %2
%97 = call i32 @parlcd_write_data(i8* %96, i32 59)
%98 = load i8*, i8** %2
%99 = call i32 @parlcd_write_data(i8* %98, i32 50)
%100 = load i8*, i8** %2
%101 = call i32 @parlcd_write_data(i8* %100, i32 46)
%102 = load i8*, i8** %2
%103 = call i32 @parlcd_write_data(i8* %102, i32 40)
%104 = load i8*, i8** %2
%105 = call i32 @parlcd_write_data(i8* %104, i32 36)
%106 = load i8*, i8** %2
%107 = call i32 @parlcd_write_data(i8* %106, i32 3)
%108 = load i8*, i8** %2
%109 = call i32 @parlcd_write_data(i8* %108, i32 0)
%110 = load i8*, i8** %2
%111 = call i32 @parlcd_write_data(i8* %110, i32 21)
%112 = load i8*, i8** %2
%113 = call i32 @parlcd_write_data(i8* %112, i32 29)
%114 = load i8*, i8** %2
%115 = call i32 @parlcd_write_data(i8* %114, i32 42)
%116 = load i8*, i8** %2
%117 = call i32 @parlcd_write_data(i8* %116, i32 49)
%118 = load i8*, i8** %2
%119 = call i32 @parlcd_write_data(i8* %118, i32 66)
%120 = load i8*, i8** %2
%121 = call i32 @parlcd_write_data(i8* %120, i32 76)
%122 = load i8*, i8** %2
%123 = call i32 @parlcd_write_data(i8* %122, i32 83)
%124 = load i8*, i8** %2
%125 = call i32 @parlcd_write_data(i8* %124, i32 69)
%126 = load i8*, i8** %2
%127 = call i32 @parlcd_write_data(i8* %126, i32 64)
%128 = load i8*, i8** %2
%129 = call i32 @parlcd_write_data(i8* %128, i32 59)
%130 = load i8*, i8** %2
%131 = call i32 @parlcd_write_data(i8* %130, i32 50)
%132 = load i8*, i8** %2
%133 = call i32 @parlcd_write_data(i8* %132, i32 46)
%134 = load i8*, i8** %2
%135 = call i32 @parlcd_write_data(i8* %134, i32 40)
%136 = load i8*, i8** %2
%137 = call i32 @parlcd_write_data(i8* %136, i32 36)
%138 = load i8*, i8** %2
%139 = call i32 @parlcd_write_data(i8* %138, i32 3)
%140 = load i8*, i8** %2
%141 = call i32 @parlcd_write_data(i8* %140, i32 0)
%142 = load i8*, i8** %2
%143 = call i32 @parlcd_write_data(i8* %142, i32 1)
%144 = load i8*, i8** %2
%145 = call i32 @parlcd_write_cmd(i8* %144, i32 54)
%146 = load i8*, i8** %2
%147 = call i32 @parlcd_write_data(i8* %146, i32 232)
%148 = call i32 @parlcd_delay(i32 20)
%149 = load i8*, i8** %2
%150 = call i32 @parlcd_write_cmd(i8* %149, i32 33)
%151 = call i32 @parlcd_delay(i32 20)
%152 = load i8*, i8** %2
%153 = call i32 @parlcd_write_cmd(i8* %152, i32 41)
%154 = call i32 @parlcd_delay(i32 120)
ret void
}

LLVM IR (-O2):
define void @parlcd_hx8357_init(i8* %0) {
%2 = tail call i32 @parlcd_write_cmd(i8* %0, i32 1)
%3 = tail call i32 @parlcd_delay(i32 30)
%4 = tail call i32 @parlcd_write_cmd(i8* %0, i32 185)
%5 = tail call i32 @parlcd_write_data(i8* %0, i32 255)
%6 = tail call i32 @parlcd_write_data(i8* %0, i32 131)
%7 = tail call i32 @parlcd_write_data(i8* %0, i32 87)
%8 = tail call i32 @parlcd_delay(i32 50)
%9 = tail call i32 @parlcd_write_cmd(i8* %0, i32 182)
%10 = tail call i32 @parlcd_write_data(i8* %0, i32 82)
%11 = tail call i32 @parlcd_write_cmd(i8* %0, i32 17)
%12 = tail call i32 @parlcd_delay(i32 200)
%13 = tail call i32 @parlcd_write_cmd(i8* %0, i32 53)
%14 = tail call i32 @parlcd_write_data(i8* %0, i32 0)
%15 = tail call i32 @parlcd_write_cmd(i8* %0, i32 58)
%16 = tail call i32 @parlcd_write_data(i8* %0, i32 85)
%17 = tail call i32 @parlcd_write_cmd(i8* %0, i32 177)
%18 = tail call i32 @parlcd_write_data(i8* %0, i32 0)
%19 = tail call i32 @parlcd_write_data(i8* %0, i32 21)
%20 = tail call i32 @parlcd_write_data(i8* %0, i32 13)
%21 = tail call i32 @parlcd_write_data(i8* %0, i32 13)
%22 = tail call i32 @parlcd_write_data(i8* %0, i32 131)
%23 = tail call i32 @parlcd_write_data(i8* %0, i32 72)
%24 = tail call i32 @parlcd_write_cmd(i8* %0, i32 192)
%25 = tail call i32 @parlcd_write_data(i8* %0, i32 36)
%26 = tail call i32 @parlcd_write_data(i8* %0, i32 36)
%27 = tail call i32 @parlcd_write_data(i8* %0, i32 1)
%28 = tail call i32 @parlcd_write_data(i8* %0, i32 60)
%29 = tail call i32 @parlcd_write_data(i8* %0, i32 200)
%30 = tail call i32 @parlcd_write_data(i8* %0, i32 8)
%31 = tail call i32 @parlcd_write_cmd(i8* %0, i32 180)
%32 = tail call i32 @parlcd_write_data(i8* %0, i32 2)
%33 = tail call i32 @parlcd_write_data(i8* %0, i32 64)
%34 = tail call i32 @parlcd_write_data(i8* %0, i32 0)
%35 = tail call i32 @parlcd_write_data(i8* %0, i32 42)
%36 = tail call i32 @parlcd_write_data(i8* %0, i32 42)
%37 = tail call i32 @parlcd_write_data(i8* %0, i32 13)
%38 = tail call i32 @parlcd_write_data(i8* %0, i32 79)
%39 = tail call i32 @parlcd_write_cmd(i8* %0, i32 224)
%40 = tail call i32 @parlcd_write_data(i8* %0, i32 0)
%41 = tail call i32 @parlcd_write_data(i8* %0, i32 21)
%42 = tail call i32 @parlcd_write_data(i8* %0, i32 29)
%43 = tail call i32 @parlcd_write_data(i8* %0, i32 42)
%44 = tail call i32 @parlcd_write_data(i8* %0, i32 49)
%45 = tail call i32 @parlcd_write_data(i8* %0, i32 66)
%46 = tail call i32 @parlcd_write_data(i8* %0, i32 76)
%47 = tail call i32 @parlcd_write_data(i8* %0, i32 83)
%48 = tail call i32 @parlcd_write_data(i8* %0, i32 69)
%49 = tail call i32 @parlcd_write_data(i8* %0, i32 64)
%50 = tail call i32 @parlcd_write_data(i8* %0, i32 59)
%51 = tail call i32 @parlcd_write_data(i8* %0, i32 50)
%52 = tail call i32 @parlcd_write_data(i8* %0, i32 46)
%53 = tail call i32 @parlcd_write_data(i8* %0, i32 40)
%54 = tail call i32 @parlcd_write_data(i8* %0, i32 36)
%55 = tail call i32 @parlcd_write_data(i8* %0, i32 3)
%56 = tail call i32 @parlcd_write_data(i8* %0, i32 0)
%57 = tail call i32 @parlcd_write_data(i8* %0, i32 21)
%58 = tail call i32 @parlcd_write_data(i8* %0, i32 29)
%59 = tail call i32 @parlcd_write_data(i8* %0, i32 42)
%60 = tail call i32 @parlcd_write_data(i8* %0, i32 49)
%61 = tail call i32 @parlcd_write_data(i8* %0, i32 66)
%62 = tail call i32 @parlcd_write_data(i8* %0, i32 76)
%63 = tail call i32 @parlcd_write_data(i8* %0, i32 83)
%64 = tail call i32 @parlcd_write_data(i8* %0, i32 69)
%65 = tail call i32 @parlcd_write_data(i8* %0, i32 64)
%66 = tail call i32 @parlcd_write_data(i8* %0, i32 59)
%67 = tail call i32 @parlcd_write_data(i8* %0, i32 50)
%68 = tail call i32 @parlcd_write_data(i8* %0, i32 46)
%69 = tail call i32 @parlcd_write_data(i8* %0, i32 40)
%70 = tail call i32 @parlcd_write_data(i8* %0, i32 36)
%71 = tail call i32 @parlcd_write_data(i8* %0, i32 3)
%72 = tail call i32 @parlcd_write_data(i8* %0, i32 0)
%73 = tail call i32 @parlcd_write_data(i8* %0, i32 1)
%74 = tail call i32 @parlcd_write_cmd(i8* %0, i32 54)
%75 = tail call i32 @parlcd_write_data(i8* %0, i32 232)
%76 = tail call i32 @parlcd_delay(i32 20)
%77 = tail call i32 @parlcd_write_cmd(i8* %0, i32 33)
%78 = tail call i32 @parlcd_delay(i32 20)
%79 = tail call i32 @parlcd_write_cmd(i8* %0, i32 41)
%80 = tail call i32 @parlcd_delay(i32 120)
ret void
}