#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*/ LCD_CLR_SCL();
int /*<<< orphan*/ LCD_CLR_SDA_IN();
int /*<<< orphan*/ LCD_SET_SCL();
int /*<<< orphan*/ LCD_SET_SDA_IN();
void _Send1(unsigned char Data) {
  if (Data & (1 << 7)) {
    LCD_SET_SDA_IN();
  } else {
    LCD_CLR_SDA_IN();
  };
  LCD_SET_SCL();
  ;
  LCD_CLR_SCL();
  ;
  if (Data & (1 << 6)) {
    LCD_SET_SDA_IN();
  } else {
    LCD_CLR_SDA_IN();
  };
  LCD_SET_SCL();
  ;
  LCD_CLR_SCL();
  ;
  if (Data & (1 << 5)) {
    LCD_SET_SDA_IN();
  } else {
    LCD_CLR_SDA_IN();
  };
  LCD_SET_SCL();
  ;
  LCD_CLR_SCL();
  ;
  if (Data & (1 << 4)) {
    LCD_SET_SDA_IN();
  } else {
    LCD_CLR_SDA_IN();
  };
  LCD_SET_SCL();
  ;
  LCD_CLR_SCL();
  ;
  if (Data & (1 << 3)) {
    LCD_SET_SDA_IN();
  } else {
    LCD_CLR_SDA_IN();
  };
  LCD_SET_SCL();
  ;
  LCD_CLR_SCL();
  ;
  if (Data & (1 << 2)) {
    LCD_SET_SDA_IN();
  } else {
    LCD_CLR_SDA_IN();
  };
  LCD_SET_SCL();
  ;
  LCD_CLR_SCL();
  ;
  if (Data & (1 << 1)) {
    LCD_SET_SDA_IN();
  } else {
    LCD_CLR_SDA_IN();
  };
  LCD_SET_SCL();
  ;
  LCD_CLR_SCL();
  ;
  if (Data & (1 << 0)) {
    LCD_SET_SDA_IN();
  } else {
    LCD_CLR_SDA_IN();
  };
  LCD_SET_SCL();
  ;
  LCD_CLR_SCL();
  ;
  LCD_SET_SCL();
  ;
  LCD_CLR_SCL();
}


x86 assembly (clang, -O0):
<_Send1>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
mov    %dil,%al
mov    %al,-0x1(%rbp)
movzbl -0x1(%rbp),%eax
and    $0x80,%eax
cmp    $0x0,%eax
je     116c <_Send1+0x2c>
mov    $0x0,%al
call   1040 <LCD_SET_SDA_IN@plt>
jmp    1173 <_Send1+0x33>
mov    $0x0,%al
call   1050 <LCD_CLR_SDA_IN@plt>
mov    $0x0,%al
call   1030 <LCD_SET_SCL@plt>
mov    $0x0,%al
call   1060 <LCD_CLR_SCL@plt>
movzbl -0x1(%rbp),%eax
and    $0x40,%eax
cmp    $0x0,%eax
je     119d <_Send1+0x5d>
mov    $0x0,%al
call   1040 <LCD_SET_SDA_IN@plt>
jmp    11a4 <_Send1+0x64>
mov    $0x0,%al
call   1050 <LCD_CLR_SDA_IN@plt>
mov    $0x0,%al
call   1030 <LCD_SET_SCL@plt>
mov    $0x0,%al
call   1060 <LCD_CLR_SCL@plt>
movzbl -0x1(%rbp),%eax
and    $0x20,%eax
cmp    $0x0,%eax
je     11ce <_Send1+0x8e>
mov    $0x0,%al
call   1040 <LCD_SET_SDA_IN@plt>
jmp    11d5 <_Send1+0x95>
mov    $0x0,%al
call   1050 <LCD_CLR_SDA_IN@plt>
mov    $0x0,%al
call   1030 <LCD_SET_SCL@plt>
mov    $0x0,%al
call   1060 <LCD_CLR_SCL@plt>
movzbl -0x1(%rbp),%eax
and    $0x10,%eax
cmp    $0x0,%eax
je     11ff <_Send1+0xbf>
mov    $0x0,%al
call   1040 <LCD_SET_SDA_IN@plt>
jmp    1206 <_Send1+0xc6>
mov    $0x0,%al
call   1050 <LCD_CLR_SDA_IN@plt>
mov    $0x0,%al
call   1030 <LCD_SET_SCL@plt>
mov    $0x0,%al
call   1060 <LCD_CLR_SCL@plt>
movzbl -0x1(%rbp),%eax
and    $0x8,%eax
cmp    $0x0,%eax
je     1230 <_Send1+0xf0>
mov    $0x0,%al
call   1040 <LCD_SET_SDA_IN@plt>
jmp    1237 <_Send1+0xf7>
mov    $0x0,%al
call   1050 <LCD_CLR_SDA_IN@plt>
mov    $0x0,%al
call   1030 <LCD_SET_SCL@plt>
mov    $0x0,%al
call   1060 <LCD_CLR_SCL@plt>
movzbl -0x1(%rbp),%eax
and    $0x4,%eax
cmp    $0x0,%eax
je     1261 <_Send1+0x121>
mov    $0x0,%al
call   1040 <LCD_SET_SDA_IN@plt>
jmp    1268 <_Send1+0x128>
mov    $0x0,%al
call   1050 <LCD_CLR_SDA_IN@plt>
mov    $0x0,%al
call   1030 <LCD_SET_SCL@plt>
mov    $0x0,%al
call   1060 <LCD_CLR_SCL@plt>
movzbl -0x1(%rbp),%eax
and    $0x2,%eax
cmp    $0x0,%eax
je     1292 <_Send1+0x152>
mov    $0x0,%al
call   1040 <LCD_SET_SDA_IN@plt>
jmp    1299 <_Send1+0x159>
mov    $0x0,%al
call   1050 <LCD_CLR_SDA_IN@plt>
mov    $0x0,%al
call   1030 <LCD_SET_SCL@plt>
mov    $0x0,%al
call   1060 <LCD_CLR_SCL@plt>
movzbl -0x1(%rbp),%eax
and    $0x1,%eax
cmp    $0x0,%eax
je     12c3 <_Send1+0x183>
mov    $0x0,%al
call   1040 <LCD_SET_SDA_IN@plt>
jmp    12ca <_Send1+0x18a>
mov    $0x0,%al
call   1050 <LCD_CLR_SDA_IN@plt>
mov    $0x0,%al
call   1030 <LCD_SET_SCL@plt>
mov    $0x0,%al
call   1060 <LCD_CLR_SCL@plt>
mov    $0x0,%al
call   1030 <LCD_SET_SCL@plt>
mov    $0x0,%al
call   1060 <LCD_CLR_SCL@plt>
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<_Send1>:
push   %rbx
mov    %edi,%ebx
xor    %eax,%eax
test   $0x80,%bl
jne    1151 <_Send1+0x11>
call   1050 <LCD_CLR_SDA_IN@plt>
jmp    1156 <_Send1+0x16>
call   1040 <LCD_SET_SDA_IN@plt>
xor    %eax,%eax
call   1030 <LCD_SET_SCL@plt>
xor    %eax,%eax
call   1060 <LCD_CLR_SCL@plt>
xor    %eax,%eax
test   $0x40,%bl
jne    1172 <_Send1+0x32>
call   1050 <LCD_CLR_SDA_IN@plt>
jmp    1177 <_Send1+0x37>
call   1040 <LCD_SET_SDA_IN@plt>
xor    %eax,%eax
call   1030 <LCD_SET_SCL@plt>
xor    %eax,%eax
call   1060 <LCD_CLR_SCL@plt>
xor    %eax,%eax
test   $0x20,%bl
jne    1193 <_Send1+0x53>
call   1050 <LCD_CLR_SDA_IN@plt>
jmp    1198 <_Send1+0x58>
call   1040 <LCD_SET_SDA_IN@plt>
xor    %eax,%eax
call   1030 <LCD_SET_SCL@plt>
xor    %eax,%eax
call   1060 <LCD_CLR_SCL@plt>
xor    %eax,%eax
test   $0x10,%bl
jne    11b4 <_Send1+0x74>
call   1050 <LCD_CLR_SDA_IN@plt>
jmp    11b9 <_Send1+0x79>
call   1040 <LCD_SET_SDA_IN@plt>
xor    %eax,%eax
call   1030 <LCD_SET_SCL@plt>
xor    %eax,%eax
call   1060 <LCD_CLR_SCL@plt>
xor    %eax,%eax
test   $0x8,%bl
jne    11d5 <_Send1+0x95>
call   1050 <LCD_CLR_SDA_IN@plt>
jmp    11da <_Send1+0x9a>
call   1040 <LCD_SET_SDA_IN@plt>
xor    %eax,%eax
call   1030 <LCD_SET_SCL@plt>
xor    %eax,%eax
call   1060 <LCD_CLR_SCL@plt>
xor    %eax,%eax
test   $0x4,%bl
jne    11f6 <_Send1+0xb6>
call   1050 <LCD_CLR_SDA_IN@plt>
jmp    11fb <_Send1+0xbb>
call   1040 <LCD_SET_SDA_IN@plt>
xor    %eax,%eax
call   1030 <LCD_SET_SCL@plt>
xor    %eax,%eax
call   1060 <LCD_CLR_SCL@plt>
xor    %eax,%eax
test   $0x2,%bl
jne    1217 <_Send1+0xd7>
call   1050 <LCD_CLR_SDA_IN@plt>
jmp    121c <_Send1+0xdc>
call   1040 <LCD_SET_SDA_IN@plt>
xor    %eax,%eax
call   1030 <LCD_SET_SCL@plt>
xor    %eax,%eax
call   1060 <LCD_CLR_SCL@plt>
xor    %eax,%eax
test   $0x1,%bl
jne    1238 <_Send1+0xf8>
call   1050 <LCD_CLR_SDA_IN@plt>
jmp    123d <_Send1+0xfd>
call   1040 <LCD_SET_SDA_IN@plt>
xor    %eax,%eax
call   1030 <LCD_SET_SCL@plt>
xor    %eax,%eax
call   1060 <LCD_CLR_SCL@plt>
xor    %eax,%eax
call   1030 <LCD_SET_SCL@plt>
xor    %eax,%eax
pop    %rbx
jmp    1060 <LCD_CLR_SCL@plt>

LLVM IR (-O0):
define void @_Send1(i8 zeroext %0) {
%2 = alloca i8
store i8 %0, i8* %2
%3 = load i8, i8* %2
%4 = zext i8 %3 to i32
%5 = and i32 %4, 128
%6 = icmp ne i32 %5, 0
br i1 %6, label %7, label %9
7: ; preds = %1
%8 = call i32 (...) @LCD_SET_SDA_IN()
br label %11
9: ; preds = %1
%10 = call i32 (...) @LCD_CLR_SDA_IN()
br label %11
11: ; preds = %9, %7
%12 = call i32 (...) @LCD_SET_SCL()
%13 = call i32 (...) @LCD_CLR_SCL()
%14 = load i8, i8* %2
%15 = zext i8 %14 to i32
%16 = and i32 %15, 64
%17 = icmp ne i32 %16, 0
br i1 %17, label %18, label %20
18: ; preds = %11
%19 = call i32 (...) @LCD_SET_SDA_IN()
br label %22
20: ; preds = %11
%21 = call i32 (...) @LCD_CLR_SDA_IN()
br label %22
22: ; preds = %20, %18
%23 = call i32 (...) @LCD_SET_SCL()
%24 = call i32 (...) @LCD_CLR_SCL()
%25 = load i8, i8* %2
%26 = zext i8 %25 to i32
%27 = and i32 %26, 32
%28 = icmp ne i32 %27, 0
br i1 %28, label %29, label %31
29: ; preds = %22
%30 = call i32 (...) @LCD_SET_SDA_IN()
br label %33
31: ; preds = %22
%32 = call i32 (...) @LCD_CLR_SDA_IN()
br label %33
33: ; preds = %31, %29
%34 = call i32 (...) @LCD_SET_SCL()
%35 = call i32 (...) @LCD_CLR_SCL()
%36 = load i8, i8* %2
%37 = zext i8 %36 to i32
%38 = and i32 %37, 16
%39 = icmp ne i32 %38, 0
br i1 %39, label %40, label %42
40: ; preds = %33
%41 = call i32 (...) @LCD_SET_SDA_IN()
br label %44
42: ; preds = %33
%43 = call i32 (...) @LCD_CLR_SDA_IN()
br label %44
44: ; preds = %42, %40
%45 = call i32 (...) @LCD_SET_SCL()
%46 = call i32 (...) @LCD_CLR_SCL()
%47 = load i8, i8* %2
%48 = zext i8 %47 to i32
%49 = and i32 %48, 8
%50 = icmp ne i32 %49, 0
br i1 %50, label %51, label %53
51: ; preds = %44
%52 = call i32 (...) @LCD_SET_SDA_IN()
br label %55
53: ; preds = %44
%54 = call i32 (...) @LCD_CLR_SDA_IN()
br label %55
55: ; preds = %53, %51
%56 = call i32 (...) @LCD_SET_SCL()
%57 = call i32 (...) @LCD_CLR_SCL()
%58 = load i8, i8* %2
%59 = zext i8 %58 to i32
%60 = and i32 %59, 4
%61 = icmp ne i32 %60, 0
br i1 %61, label %62, label %64
62: ; preds = %55
%63 = call i32 (...) @LCD_SET_SDA_IN()
br label %66
64: ; preds = %55
%65 = call i32 (...) @LCD_CLR_SDA_IN()
br label %66
66: ; preds = %64, %62
%67 = call i32 (...) @LCD_SET_SCL()
%68 = call i32 (...) @LCD_CLR_SCL()
%69 = load i8, i8* %2
%70 = zext i8 %69 to i32
%71 = and i32 %70, 2
%72 = icmp ne i32 %71, 0
br i1 %72, label %73, label %75
73: ; preds = %66
%74 = call i32 (...) @LCD_SET_SDA_IN()
br label %77
75: ; preds = %66
%76 = call i32 (...) @LCD_CLR_SDA_IN()
br label %77
77: ; preds = %75, %73
%78 = call i32 (...) @LCD_SET_SCL()
%79 = call i32 (...) @LCD_CLR_SCL()
%80 = load i8, i8* %2
%81 = zext i8 %80 to i32
%82 = and i32 %81, 1
%83 = icmp ne i32 %82, 0
br i1 %83, label %84, label %86
84: ; preds = %77
%85 = call i32 (...) @LCD_SET_SDA_IN()
br label %88
86: ; preds = %77
%87 = call i32 (...) @LCD_CLR_SDA_IN()
br label %88
88: ; preds = %86, %84
%89 = call i32 (...) @LCD_SET_SCL()
%90 = call i32 (...) @LCD_CLR_SCL()
%91 = call i32 (...) @LCD_SET_SCL()
%92 = call i32 (...) @LCD_CLR_SCL()
ret void
}

LLVM IR (-O2):
define void @_Send1(i8 zeroext %0) {
%2 = zext i8 %0 to i32
%3 = and i32 %2, 128
%4 = icmp eq i32 %3, 0
br i1 %4, label %7, label %5
5: ; preds = %1
%6 = tail call i32 (...) @LCD_SET_SDA_IN()
br label %9
7: ; preds = %1
%8 = tail call i32 (...) @LCD_CLR_SDA_IN()
br label %9
9: ; preds = %7, %5
%10 = tail call i32 (...) @LCD_SET_SCL()
%11 = tail call i32 (...) @LCD_CLR_SCL()
%12 = and i32 %2, 64
%13 = icmp eq i32 %12, 0
br i1 %13, label %16, label %14
14: ; preds = %9
%15 = tail call i32 (...) @LCD_SET_SDA_IN()
br label %18
16: ; preds = %9
%17 = tail call i32 (...) @LCD_CLR_SDA_IN()
br label %18
18: ; preds = %16, %14
%19 = tail call i32 (...) @LCD_SET_SCL()
%20 = tail call i32 (...) @LCD_CLR_SCL()
%21 = and i32 %2, 32
%22 = icmp eq i32 %21, 0
br i1 %22, label %25, label %23
23: ; preds = %18
%24 = tail call i32 (...) @LCD_SET_SDA_IN()
br label %27
25: ; preds = %18
%26 = tail call i32 (...) @LCD_CLR_SDA_IN()
br label %27
27: ; preds = %25, %23
%28 = tail call i32 (...) @LCD_SET_SCL()
%29 = tail call i32 (...) @LCD_CLR_SCL()
%30 = and i32 %2, 16
%31 = icmp eq i32 %30, 0
br i1 %31, label %34, label %32
32: ; preds = %27
%33 = tail call i32 (...) @LCD_SET_SDA_IN()
br label %36
34: ; preds = %27
%35 = tail call i32 (...) @LCD_CLR_SDA_IN()
br label %36
36: ; preds = %34, %32
%37 = tail call i32 (...) @LCD_SET_SCL()
%38 = tail call i32 (...) @LCD_CLR_SCL()
%39 = and i32 %2, 8
%40 = icmp eq i32 %39, 0
br i1 %40, label %43, label %41
41: ; preds = %36
%42 = tail call i32 (...) @LCD_SET_SDA_IN()
br label %45
43: ; preds = %36
%44 = tail call i32 (...) @LCD_CLR_SDA_IN()
br label %45
45: ; preds = %43, %41
%46 = tail call i32 (...) @LCD_SET_SCL()
%47 = tail call i32 (...) @LCD_CLR_SCL()
%48 = and i32 %2, 4
%49 = icmp eq i32 %48, 0
br i1 %49, label %52, label %50
50: ; preds = %45
%51 = tail call i32 (...) @LCD_SET_SDA_IN()
br label %54
52: ; preds = %45
%53 = tail call i32 (...) @LCD_CLR_SDA_IN()
br label %54
54: ; preds = %52, %50
%55 = tail call i32 (...) @LCD_SET_SCL()
%56 = tail call i32 (...) @LCD_CLR_SCL()
%57 = and i32 %2, 2
%58 = icmp eq i32 %57, 0
br i1 %58, label %61, label %59
59: ; preds = %54
%60 = tail call i32 (...) @LCD_SET_SDA_IN()
br label %63
61: ; preds = %54
%62 = tail call i32 (...) @LCD_CLR_SDA_IN()
br label %63
63: ; preds = %61, %59
%64 = tail call i32 (...) @LCD_SET_SCL()
%65 = tail call i32 (...) @LCD_CLR_SCL()
%66 = and i32 %2, 1
%67 = icmp eq i32 %66, 0
br i1 %67, label %70, label %68
68: ; preds = %63
%69 = tail call i32 (...) @LCD_SET_SDA_IN()
br label %72
70: ; preds = %63
%71 = tail call i32 (...) @LCD_CLR_SDA_IN()
br label %72
72: ; preds = %70, %68
%73 = tail call i32 (...) @LCD_SET_SCL()
%74 = tail call i32 (...) @LCD_CLR_SCL()
%75 = tail call i32 (...) @LCD_SET_SCL()
%76 = tail call i32 (...) @LCD_CLR_SCL()
ret void
}