#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*/ VIM_SIF_I2cWriteByte(int, int);
void SensorSetContrast_NOON30PC11(unsigned char val) {
  switch (val) {
  case 1:
    VIM_SIF_I2cWriteByte(0x33, 0x08);
    VIM_SIF_I2cWriteByte(0x34, 0x11);
    VIM_SIF_I2cWriteByte(0x35, 0x20);
    VIM_SIF_I2cWriteByte(0x36, 0x31);
    VIM_SIF_I2cWriteByte(0x37, 0x43);
    VIM_SIF_I2cWriteByte(0x38, 0x55);
    VIM_SIF_I2cWriteByte(0x39, 0x6d);
    VIM_SIF_I2cWriteByte(0x3a, 0x81);
    VIM_SIF_I2cWriteByte(0x3b, 0x92);
    VIM_SIF_I2cWriteByte(0x3c, 0xaf);
    VIM_SIF_I2cWriteByte(0x3d, 0xc6);
    VIM_SIF_I2cWriteByte(0x3e, 0xe9);
    VIM_SIF_I2cWriteByte(0x3f, 0xff);
    break;
  case 2:
    VIM_SIF_I2cWriteByte(0x33, 0x04);
    VIM_SIF_I2cWriteByte(0x34, 0x0a);
    VIM_SIF_I2cWriteByte(0x35, 0x18);
    VIM_SIF_I2cWriteByte(0x36, 0x26);
    VIM_SIF_I2cWriteByte(0x37, 0x34);
    VIM_SIF_I2cWriteByte(0x38, 0x46);
    VIM_SIF_I2cWriteByte(0x39, 0x5d);
    VIM_SIF_I2cWriteByte(0x3a, 0x74);
    VIM_SIF_I2cWriteByte(0x3b, 0x87);
    VIM_SIF_I2cWriteByte(0x3c, 0xa5);
    VIM_SIF_I2cWriteByte(0x3d, 0xbe);
    VIM_SIF_I2cWriteByte(0x3e, 0xe3);
    VIM_SIF_I2cWriteByte(0x3f, 0xff);
    break;
  case 3:
    VIM_SIF_I2cWriteByte(0x33, 0x01);
    VIM_SIF_I2cWriteByte(0x34, 0x07);
    VIM_SIF_I2cWriteByte(0x35, 0x0c);
    VIM_SIF_I2cWriteByte(0x36, 0x14);
    VIM_SIF_I2cWriteByte(0x37, 0x20);
    VIM_SIF_I2cWriteByte(0x38, 0x33);
    VIM_SIF_I2cWriteByte(0x39, 0x51);
    VIM_SIF_I2cWriteByte(0x3a, 0x65);
    VIM_SIF_I2cWriteByte(0x3b, 0x77);
    VIM_SIF_I2cWriteByte(0x3c, 0x95);
    VIM_SIF_I2cWriteByte(0x3d, 0xae);
    VIM_SIF_I2cWriteByte(0x3e, 0xda);
    VIM_SIF_I2cWriteByte(0x3f, 0xfb);
    break;
  case 4:
    VIM_SIF_I2cWriteByte(0x33, 0x00);
    VIM_SIF_I2cWriteByte(0x34, 0x03);
    VIM_SIF_I2cWriteByte(0x35, 0x06);
    VIM_SIF_I2cWriteByte(0x36, 0x0a);
    VIM_SIF_I2cWriteByte(0x37, 0x10);
    VIM_SIF_I2cWriteByte(0x38, 0x1e);
    VIM_SIF_I2cWriteByte(0x39, 0x35);
    VIM_SIF_I2cWriteByte(0x3a, 0x4a);
    VIM_SIF_I2cWriteByte(0x3b, 0x5e);
    VIM_SIF_I2cWriteByte(0x3c, 0x81);
    VIM_SIF_I2cWriteByte(0x3d, 0x9f);
    VIM_SIF_I2cWriteByte(0x3e, 0xd0);
    VIM_SIF_I2cWriteByte(0x3f, 0xff);
    break;
  case 5:
    VIM_SIF_I2cWriteByte(0x33, 0x00);
    VIM_SIF_I2cWriteByte(0x34, 0x00);
    VIM_SIF_I2cWriteByte(0x35, 0x01);
    VIM_SIF_I2cWriteByte(0x36, 0x02);
    VIM_SIF_I2cWriteByte(0x37, 0x07);
    VIM_SIF_I2cWriteByte(0x38, 0x11);
    VIM_SIF_I2cWriteByte(0x39, 0x25);
    VIM_SIF_I2cWriteByte(0x3a, 0x38);
    VIM_SIF_I2cWriteByte(0x3b, 0x4c);
    VIM_SIF_I2cWriteByte(0x3c, 0x6e);
    VIM_SIF_I2cWriteByte(0x3d, 0x8c);
    VIM_SIF_I2cWriteByte(0x3e, 0xc1);
    VIM_SIF_I2cWriteByte(0x3f, 0xff);
    break;
  default:
    break;
  }
}


x86 assembly (clang, -O0):
<SensorSetContrast_NOON30PC11>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
mov    %dil,%al
mov    %al,-0x1(%rbp)
movzbl -0x1(%rbp),%eax
add    $0xffffffff,%eax
mov    %eax,%ecx
mov    %rcx,-0x10(%rbp)
sub    $0x4,%eax
ja     1527 <SensorSetContrast_NOON30PC11+0x417>
mov    -0x10(%rbp),%rax
lea    0xec1(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
jmp    *%rax
mov    $0x33,%edi
mov    $0x8,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x34,%edi
mov    $0x11,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x35,%edi
mov    $0x20,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x36,%edi
mov    $0x31,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x37,%edi
mov    $0x43,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x38,%edi
mov    $0x55,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x39,%edi
mov    $0x6d,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x3a,%edi
mov    $0x81,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x3b,%edi
mov    $0x92,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x3c,%edi
mov    $0xaf,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x3d,%edi
mov    $0xc6,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x3e,%edi
mov    $0xe9,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x3f,%edi
mov    $0xff,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
jmp    152c <SensorSetContrast_NOON30PC11+0x41c>
mov    $0x33,%edi
mov    $0x4,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x34,%edi
mov    $0xa,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x35,%edi
mov    $0x18,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x36,%edi
mov    $0x26,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x37,%edi
mov    $0x34,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x38,%edi
mov    $0x46,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x39,%edi
mov    $0x5d,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x3a,%edi
mov    $0x74,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x3b,%edi
mov    $0x87,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x3c,%edi
mov    $0xa5,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x3d,%edi
mov    $0xbe,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x3e,%edi
mov    $0xe3,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x3f,%edi
mov    $0xff,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
jmp    152c <SensorSetContrast_NOON30PC11+0x41c>
mov    $0x33,%edi
mov    $0x1,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x34,%edi
mov    $0x7,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x35,%edi
mov    $0xc,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x36,%edi
mov    $0x14,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x37,%edi
mov    $0x20,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x38,%edi
mov    $0x33,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x39,%edi
mov    $0x51,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x3a,%edi
mov    $0x65,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x3b,%edi
mov    $0x77,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x3c,%edi
mov    $0x95,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x3d,%edi
mov    $0xae,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x3e,%edi
mov    $0xda,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x3f,%edi
mov    $0xfb,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
jmp    152c <SensorSetContrast_NOON30PC11+0x41c>
mov    $0x33,%edi
xor    %esi,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x34,%edi
mov    $0x3,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x35,%edi
mov    $0x6,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x36,%edi
mov    $0xa,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x37,%edi
mov    $0x10,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x38,%edi
mov    $0x1e,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x39,%edi
mov    $0x35,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x3a,%edi
mov    $0x4a,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x3b,%edi
mov    $0x5e,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x3c,%edi
mov    $0x81,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x3d,%edi
mov    $0x9f,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x3e,%edi
mov    $0xd0,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x3f,%edi
mov    $0xff,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
jmp    152c <SensorSetContrast_NOON30PC11+0x41c>
mov    $0x33,%edi
xor    %esi,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x34,%edi
xor    %esi,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x35,%edi
mov    $0x1,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x36,%edi
mov    $0x2,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x37,%edi
mov    $0x7,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x38,%edi
mov    $0x11,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x39,%edi
mov    $0x25,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x3a,%edi
mov    $0x38,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x3b,%edi
mov    $0x4c,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x3c,%edi
mov    $0x6e,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x3d,%edi
mov    $0x8c,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x3e,%edi
mov    $0xc1,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x3f,%edi
mov    $0xff,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
jmp    152c <SensorSetContrast_NOON30PC11+0x41c>
jmp    152c <SensorSetContrast_NOON30PC11+0x41c>
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<SensorSetContrast_NOON30PC11>:
add    $0xff,%dil
cmp    $0x4,%dil
ja     1284 <SensorSetContrast_NOON30PC11+0x174>
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x18,%rsp
movsbq %dil,%rax
lea    0xec9(%rip),%rcx
mov    (%rcx,%rax,4),%esi
lea    0xfaf(%rip),%rcx
mov    (%rcx,%rax,4),%ebp
lea    0xec9(%rip),%rcx
mov    (%rcx,%rax,4),%ebx
lea    0xed3(%rip),%rcx
mov    (%rcx,%rax,4),%r13d
lea    0xedc(%rip),%rcx
mov    (%rcx,%rax,4),%r12d
lea    0xee5(%rip),%rcx
mov    (%rcx,%rax,4),%r15d
lea    0xeee(%rip),%rcx
mov    (%rcx,%rax,4),%r14d
lea    0xef7(%rip),%rcx
mov    (%rcx,%rax,4),%ecx
mov    %ecx,(%rsp)
lea    0xefe(%rip),%rcx
mov    (%rcx,%rax,4),%ecx
mov    %ecx,0x4(%rsp)
lea    0xf04(%rip),%rcx
mov    (%rcx,%rax,4),%ecx
mov    %ecx,0x8(%rsp)
lea    0xf0a(%rip),%rcx
mov    (%rcx,%rax,4),%ecx
mov    %ecx,0xc(%rsp)
lea    0xf10(%rip),%rcx
mov    (%rcx,%rax,4),%ecx
mov    %ecx,0x10(%rsp)
lea    0xf16(%rip),%rcx
mov    (%rcx,%rax,4),%eax
mov    %eax,0x14(%rsp)
mov    $0x33,%edi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x34,%edi
mov    %ebp,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x35,%edi
mov    %ebx,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x36,%edi
mov    %r13d,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x37,%edi
mov    %r12d,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x38,%edi
mov    %r15d,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x39,%edi
mov    %r14d,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x3a,%edi
mov    (%rsp),%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x3b,%edi
mov    0x4(%rsp),%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x3c,%edi
mov    0x8(%rsp),%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x3d,%edi
mov    0xc(%rsp),%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x3e,%edi
mov    0x10(%rsp),%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x3f,%edi
mov    0x14(%rsp),%esi
add    $0x18,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
jmp    1030 <VIM_SIF_I2cWriteByte@plt>
ret

LLVM IR (-O0):
define void @SensorSetContrast_NOON30PC11(i8 zeroext %0) {
%2 = alloca i8
store i8 %0, i8* %2
%3 = load i8, i8* %2
%4 = zext i8 %3 to i32
switch i32 %4, label %75 [
i32 1, label %5
i32 2, label %19
i32 3, label %33
i32 4, label %47
i32 5, label %61
]
5: ; preds = %1
%6 = call i32 @VIM_SIF_I2cWriteByte(i32 51, i32 8)
%7 = call i32 @VIM_SIF_I2cWriteByte(i32 52, i32 17)
%8 = call i32 @VIM_SIF_I2cWriteByte(i32 53, i32 32)
%9 = call i32 @VIM_SIF_I2cWriteByte(i32 54, i32 49)
%10 = call i32 @VIM_SIF_I2cWriteByte(i32 55, i32 67)
%11 = call i32 @VIM_SIF_I2cWriteByte(i32 56, i32 85)
%12 = call i32 @VIM_SIF_I2cWriteByte(i32 57, i32 109)
%13 = call i32 @VIM_SIF_I2cWriteByte(i32 58, i32 129)
%14 = call i32 @VIM_SIF_I2cWriteByte(i32 59, i32 146)
%15 = call i32 @VIM_SIF_I2cWriteByte(i32 60, i32 175)
%16 = call i32 @VIM_SIF_I2cWriteByte(i32 61, i32 198)
%17 = call i32 @VIM_SIF_I2cWriteByte(i32 62, i32 233)
%18 = call i32 @VIM_SIF_I2cWriteByte(i32 63, i32 255)
br label %76
19: ; preds = %1
%20 = call i32 @VIM_SIF_I2cWriteByte(i32 51, i32 4)
%21 = call i32 @VIM_SIF_I2cWriteByte(i32 52, i32 10)
%22 = call i32 @VIM_SIF_I2cWriteByte(i32 53, i32 24)
%23 = call i32 @VIM_SIF_I2cWriteByte(i32 54, i32 38)
%24 = call i32 @VIM_SIF_I2cWriteByte(i32 55, i32 52)
%25 = call i32 @VIM_SIF_I2cWriteByte(i32 56, i32 70)
%26 = call i32 @VIM_SIF_I2cWriteByte(i32 57, i32 93)
%27 = call i32 @VIM_SIF_I2cWriteByte(i32 58, i32 116)
%28 = call i32 @VIM_SIF_I2cWriteByte(i32 59, i32 135)
%29 = call i32 @VIM_SIF_I2cWriteByte(i32 60, i32 165)
%30 = call i32 @VIM_SIF_I2cWriteByte(i32 61, i32 190)
%31 = call i32 @VIM_SIF_I2cWriteByte(i32 62, i32 227)
%32 = call i32 @VIM_SIF_I2cWriteByte(i32 63, i32 255)
br label %76
33: ; preds = %1
%34 = call i32 @VIM_SIF_I2cWriteByte(i32 51, i32 1)
%35 = call i32 @VIM_SIF_I2cWriteByte(i32 52, i32 7)
%36 = call i32 @VIM_SIF_I2cWriteByte(i32 53, i32 12)
%37 = call i32 @VIM_SIF_I2cWriteByte(i32 54, i32 20)
%38 = call i32 @VIM_SIF_I2cWriteByte(i32 55, i32 32)
%39 = call i32 @VIM_SIF_I2cWriteByte(i32 56, i32 51)
%40 = call i32 @VIM_SIF_I2cWriteByte(i32 57, i32 81)
%41 = call i32 @VIM_SIF_I2cWriteByte(i32 58, i32 101)
%42 = call i32 @VIM_SIF_I2cWriteByte(i32 59, i32 119)
%43 = call i32 @VIM_SIF_I2cWriteByte(i32 60, i32 149)
%44 = call i32 @VIM_SIF_I2cWriteByte(i32 61, i32 174)
%45 = call i32 @VIM_SIF_I2cWriteByte(i32 62, i32 218)
%46 = call i32 @VIM_SIF_I2cWriteByte(i32 63, i32 251)
br label %76
47: ; preds = %1
%48 = call i32 @VIM_SIF_I2cWriteByte(i32 51, i32 0)
%49 = call i32 @VIM_SIF_I2cWriteByte(i32 52, i32 3)
%50 = call i32 @VIM_SIF_I2cWriteByte(i32 53, i32 6)
%51 = call i32 @VIM_SIF_I2cWriteByte(i32 54, i32 10)
%52 = call i32 @VIM_SIF_I2cWriteByte(i32 55, i32 16)
%53 = call i32 @VIM_SIF_I2cWriteByte(i32 56, i32 30)
%54 = call i32 @VIM_SIF_I2cWriteByte(i32 57, i32 53)
%55 = call i32 @VIM_SIF_I2cWriteByte(i32 58, i32 74)
%56 = call i32 @VIM_SIF_I2cWriteByte(i32 59, i32 94)
%57 = call i32 @VIM_SIF_I2cWriteByte(i32 60, i32 129)
%58 = call i32 @VIM_SIF_I2cWriteByte(i32 61, i32 159)
%59 = call i32 @VIM_SIF_I2cWriteByte(i32 62, i32 208)
%60 = call i32 @VIM_SIF_I2cWriteByte(i32 63, i32 255)
br label %76
61: ; preds = %1
%62 = call i32 @VIM_SIF_I2cWriteByte(i32 51, i32 0)
%63 = call i32 @VIM_SIF_I2cWriteByte(i32 52, i32 0)
%64 = call i32 @VIM_SIF_I2cWriteByte(i32 53, i32 1)
%65 = call i32 @VIM_SIF_I2cWriteByte(i32 54, i32 2)
%66 = call i32 @VIM_SIF_I2cWriteByte(i32 55, i32 7)
%67 = call i32 @VIM_SIF_I2cWriteByte(i32 56, i32 17)
%68 = call i32 @VIM_SIF_I2cWriteByte(i32 57, i32 37)
%69 = call i32 @VIM_SIF_I2cWriteByte(i32 58, i32 56)
%70 = call i32 @VIM_SIF_I2cWriteByte(i32 59, i32 76)
%71 = call i32 @VIM_SIF_I2cWriteByte(i32 60, i32 110)
%72 = call i32 @VIM_SIF_I2cWriteByte(i32 61, i32 140)
%73 = call i32 @VIM_SIF_I2cWriteByte(i32 62, i32 193)
%74 = call i32 @VIM_SIF_I2cWriteByte(i32 63, i32 255)
br label %76
75: ; preds = %1
br label %76
76: ; preds = %75, %61, %47, %33, %19, %5
ret void
}

LLVM IR (-O2):
@switch.table.SensorSetContrast_NOON30PC11 = [5 x i32] [i32 8, i32 4, i32 1, i32 0, i32 0]
@switch.table.SensorSetContrast_NOON30PC11.1 = [5 x i32] [i32 17, i32 10, i32 7, i32 3, i32 0]
@switch.table.SensorSetContrast_NOON30PC11.2 = [5 x i32] [i32 32, i32 24, i32 12, i32 6, i32 1]
@switch.table.SensorSetContrast_NOON30PC11.3 = [5 x i32] [i32 49, i32 38, i32 20, i32 10, i32 2]
@switch.table.SensorSetContrast_NOON30PC11.4 = [5 x i32] [i32 67, i32 52, i32 32, i32 16, i32 7]
@switch.table.SensorSetContrast_NOON30PC11.5 = [5 x i32] [i32 85, i32 70, i32 51, i32 30, i32 17]
@switch.table.SensorSetContrast_NOON30PC11.6 = [5 x i32] [i32 109, i32 93, i32 81, i32 53, i32 37]
@switch.table.SensorSetContrast_NOON30PC11.7 = [5 x i32] [i32 129, i32 116, i32 101, i32 74, i32 56]
@switch.table.SensorSetContrast_NOON30PC11.8 = [5 x i32] [i32 146, i32 135, i32 119, i32 94, i32 76]
@switch.table.SensorSetContrast_NOON30PC11.9 = [5 x i32] [i32 175, i32 165, i32 149, i32 129, i32 110]
@switch.table.SensorSetContrast_NOON30PC11.10 = [5 x i32] [i32 198, i32 190, i32 174, i32 159, i32 140]
@switch.table.SensorSetContrast_NOON30PC11.11 = [5 x i32] [i32 233, i32 227, i32 218, i32 208, i32 193]
@switch.table.SensorSetContrast_NOON30PC11.12 = [5 x i32] [i32 255, i32 255, i32 251, i32 255, i32 255]
define void @SensorSetContrast_NOON30PC11(i8 zeroext %0) {
%2 = add i8 %0, -1
%3 = icmp ult i8 %2, 5
br i1 %3, label %4, label %57
4: ; preds = %1
%5 = sext i8 %2 to i64
%6 = getelementptr inbounds [5 x i32], [5 x i32]* @switch.table.SensorSetContrast_NOON30PC11, i64 0, i64 %5
%7 = load i32, i32* %6
%8 = sext i8 %2 to i64
%9 = getelementptr inbounds [5 x i32], [5 x i32]* @switch.table.SensorSetContrast_NOON30PC11.1, i64 0, i64 %8
%10 = load i32, i32* %9
%11 = sext i8 %2 to i64
%12 = getelementptr inbounds [5 x i32], [5 x i32]* @switch.table.SensorSetContrast_NOON30PC11.2, i64 0, i64 %11
%13 = load i32, i32* %12
%14 = sext i8 %2 to i64
%15 = getelementptr inbounds [5 x i32], [5 x i32]* @switch.table.SensorSetContrast_NOON30PC11.3, i64 0, i64 %14
%16 = load i32, i32* %15
%17 = sext i8 %2 to i64
%18 = getelementptr inbounds [5 x i32], [5 x i32]* @switch.table.SensorSetContrast_NOON30PC11.4, i64 0, i64 %17
%19 = load i32, i32* %18
%20 = sext i8 %2 to i64
%21 = getelementptr inbounds [5 x i32], [5 x i32]* @switch.table.SensorSetContrast_NOON30PC11.5, i64 0, i64 %20
%22 = load i32, i32* %21
%23 = sext i8 %2 to i64
%24 = getelementptr inbounds [5 x i32], [5 x i32]* @switch.table.SensorSetContrast_NOON30PC11.6, i64 0, i64 %23
%25 = load i32, i32* %24
%26 = sext i8 %2 to i64
%27 = getelementptr inbounds [5 x i32], [5 x i32]* @switch.table.SensorSetContrast_NOON30PC11.7, i64 0, i64 %26
%28 = load i32, i32* %27
%29 = sext i8 %2 to i64
%30 = getelementptr inbounds [5 x i32], [5 x i32]* @switch.table.SensorSetContrast_NOON30PC11.8, i64 0, i64 %29
%31 = load i32, i32* %30
%32 = sext i8 %2 to i64
%33 = getelementptr inbounds [5 x i32], [5 x i32]* @switch.table.SensorSetContrast_NOON30PC11.9, i64 0, i64 %32
%34 = load i32, i32* %33
%35 = sext i8 %2 to i64
%36 = getelementptr inbounds [5 x i32], [5 x i32]* @switch.table.SensorSetContrast_NOON30PC11.10, i64 0, i64 %35
%37 = load i32, i32* %36
%38 = sext i8 %2 to i64
%39 = getelementptr inbounds [5 x i32], [5 x i32]* @switch.table.SensorSetContrast_NOON30PC11.11, i64 0, i64 %38
%40 = load i32, i32* %39
%41 = sext i8 %2 to i64
%42 = getelementptr inbounds [5 x i32], [5 x i32]* @switch.table.SensorSetContrast_NOON30PC11.12, i64 0, i64 %41
%43 = load i32, i32* %42
%44 = tail call i32 @VIM_SIF_I2cWriteByte(i32 51, i32 %7)
%45 = tail call i32 @VIM_SIF_I2cWriteByte(i32 52, i32 %10)
%46 = tail call i32 @VIM_SIF_I2cWriteByte(i32 53, i32 %13)
%47 = tail call i32 @VIM_SIF_I2cWriteByte(i32 54, i32 %16)
%48 = tail call i32 @VIM_SIF_I2cWriteByte(i32 55, i32 %19)
%49 = tail call i32 @VIM_SIF_I2cWriteByte(i32 56, i32 %22)
%50 = tail call i32 @VIM_SIF_I2cWriteByte(i32 57, i32 %25)
%51 = tail call i32 @VIM_SIF_I2cWriteByte(i32 58, i32 %28)
%52 = tail call i32 @VIM_SIF_I2cWriteByte(i32 59, i32 %31)
%53 = tail call i32 @VIM_SIF_I2cWriteByte(i32 60, i32 %34)
%54 = tail call i32 @VIM_SIF_I2cWriteByte(i32 61, i32 %37)
%55 = tail call i32 @VIM_SIF_I2cWriteByte(i32 62, i32 %40)
%56 = tail call i32 @VIM_SIF_I2cWriteByte(i32 63, i32 %43)
br label %57
57: ; preds = %1, %4
ret void
}