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


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

x86 assembly (clang, -O2):
<displaySetTimeDivision>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x18,%rsp
mov    %r9,0x8(%rsp)
mov    %r8,0x10(%rsp)
mov    %ecx,%r12d
mov    %edx,%r13d
mov    %esi,%ebp
mov    %edi,%ebx
movsbl 0x50(%rsp),%r14d
movsbl 0x58(%rsp),%r15d
xor    %edi,%edi
mov    $0x1,%esi
xor    %edx,%edx
xor    %ecx,%ecx
xor    %r8d,%r8d
xor    %r9d,%r9d
push   $0x1
push   $0x1
push   $0x0
push   $0x0
call   1030 <displaySetPins@plt>
add    $0x20,%rsp
xor    %edi,%edi
xor    %esi,%esi
mov    %ebx,%edx
mov    %ebp,%ecx
mov    %r13d,%r8d
mov    %r12d,%r9d
push   %r15
push   %r14
push   0x18(%rsp)
push   0x28(%rsp)
call   1030 <displaySetPins@plt>
add    $0x20,%rsp
xor    %eax,%eax
add    $0x18,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
jmp    1040 <displayWriteData@plt>

LLVM IR (-O0):
define void @displaySetTimeDivision(i8 signext %0, i8 signext %1, i8 signext %2, i8 signext %3, i8 signext %4, i8 signext %5, i8 signext %6, i8 signext %7) {
%9 = alloca i8
%10 = alloca i8
%11 = alloca i8
%12 = alloca i8
%13 = alloca i8
%14 = alloca i8
%15 = alloca i8
%16 = alloca i8
store i8 %0, i8* %9
store i8 %1, i8* %10
store i8 %2, i8* %11
store i8 %3, i8* %12
store i8 %4, i8* %13
store i8 %5, i8* %14
store i8 %6, i8* %15
store i8 %7, i8* %16
%17 = call i32 @displaySetPins(i32 0, i32 1, i8 signext 0, i8 signext 0, i8 signext 0, i8 signext 0, i8 signext 0, i8 signext 0, i8 signext 1, i8 signext 1)
%18 = load i8, i8* %9
%19 = load i8, i8* %10
%20 = load i8, i8* %11
%21 = load i8, i8* %12
%22 = load i8, i8* %13
%23 = load i8, i8* %14
%24 = load i8, i8* %15
%25 = load i8, i8* %16
%26 = call i32 @displaySetPins(i32 0, i32 0, i8 signext %18, i8 signext %19, i8 signext %20, i8 signext %21, i8 signext %22, i8 signext %23, i8 signext %24, i8 signext %25)
%27 = call i32 (...) @displayWriteData()
ret void
}

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