#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*/ displaySetPins(int /*<<< orphan*/, int, int /*<<< orphan*/,
                                  int /*<<< orphan*/, int /*<<< orphan*/,
                                  int /*<<< orphan*/, int, char, char, char);
int /*<<< orphan*/ displayWriteData();
void displayClearBit(char DB2, char DB1, char DB0) {
  displaySetPins(0, 1, 0, 0, 0, 0, 1, 1, 1, 0);
  displaySetPins(0, 0, 0, 0, 0, 0, 0, DB2, DB1, DB0);
  displayWriteData();
}


x86 assembly (clang, -O0):
<displayClearBit>:
push   %rbp
mov    %rsp,%rbp
sub    $0x30,%rsp
mov    %dl,%al
mov    %sil,%cl
mov    %dil,%dl
mov    %dl,-0x1(%rbp)
mov    %cl,-0x2(%rbp)
mov    %al,-0x3(%rbp)
xor    %r9d,%r9d
mov    $0x1,%esi
mov    %r9d,%edi
mov    %r9d,%edx
mov    %r9d,%ecx
mov    %r9d,%r8d
movl   $0x1,(%rsp)
movl   $0x1,0x8(%rsp)
movl   $0x1,0x10(%rsp)
movl   $0x0,0x18(%rsp)
call   1030 <displaySetPins@plt>
mov    -0x1(%rbp),%r10b
mov    -0x2(%rbp),%al
xor    %r9d,%r9d
mov    %r9d,%edi
mov    %r9d,%esi
mov    %r9d,%edx
mov    %r9d,%ecx
mov    %r9d,%r8d
movl   $0x0,(%rsp)
movsbl %r10b,%r10d
mov    %r10d,0x8(%rsp)
movsbl %al,%eax
mov    %eax,0x10(%rsp)
movsbl -0x3(%rbp),%eax
mov    %eax,0x18(%rsp)
call   1030 <displaySetPins@plt>
mov    $0x0,%al
call   1040 <displayWriteData@plt>
add    $0x30,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<displayClearBit>:
push   %r15
push   %r14
push   %rbx
mov    %edx,%ebx
mov    %esi,%r15d
mov    %edi,%r14d
xor    %edi,%edi
mov    $0x1,%esi
xor    %edx,%edx
xor    %ecx,%ecx
xor    %r8d,%r8d
xor    %r9d,%r9d
push   $0x0
push   $0x1
push   $0x1
push   $0x1
call   1030 <displaySetPins@plt>
add    $0x20,%rsp
xor    %edi,%edi
xor    %esi,%esi
xor    %edx,%edx
xor    %ecx,%ecx
xor    %r8d,%r8d
xor    %r9d,%r9d
push   %rbx
push   %r15
push   %r14
push   $0x0
call   1030 <displaySetPins@plt>
add    $0x20,%rsp
xor    %eax,%eax
pop    %rbx
pop    %r14
pop    %r15
jmp    1040 <displayWriteData@plt>

LLVM IR (-O0):
define void @displayClearBit(i8 signext %0, i8 signext %1, i8 signext %2) {
%4 = alloca i8
%5 = alloca i8
%6 = alloca i8
store i8 %0, i8* %4
store i8 %1, i8* %5
store i8 %2, i8* %6
%7 = call i32 @displaySetPins(i32 0, i32 1, i32 0, i32 0, i32 0, i32 0, i32 1, i8 signext 1, i8 signext 1, i8 signext 0)
%8 = load i8, i8* %4
%9 = load i8, i8* %5
%10 = load i8, i8* %6
%11 = call i32 @displaySetPins(i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i8 signext %8, i8 signext %9, i8 signext %10)
%12 = call i32 (...) @displayWriteData()
ret void
}

LLVM IR (-O2):
define void @displayClearBit(i8 signext %0, i8 signext %1, i8 signext %2) {
%4 = tail call i32 @displaySetPins(i32 0, i32 1, i32 0, i32 0, i32 0, i32 0, i32 1, i8 signext 1, i8 signext 1, i8 signext 0)
%5 = tail call i32 @displaySetPins(i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i8 signext %0, i8 signext %1, i8 signext %2)
%6 = tail call i32 (...) @displayWriteData()
ret void
}