#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_OV6680(unsigned char val) {
  switch (val) {
  case 1:
    VIM_SIF_I2cWriteByte(0x81, 0x1c);
    VIM_SIF_I2cWriteByte(0x82, 0x30);
    VIM_SIF_I2cWriteByte(0x83, 0x3F);
    VIM_SIF_I2cWriteByte(0x84, 0x54);
    VIM_SIF_I2cWriteByte(0x85, 0x6F);
    VIM_SIF_I2cWriteByte(0x86, 0x79);
    VIM_SIF_I2cWriteByte(0x87, 0x82);
    VIM_SIF_I2cWriteByte(0x88, 0x8B);
    VIM_SIF_I2cWriteByte(0x89, 0x92);
    VIM_SIF_I2cWriteByte(0x8a, 0x99);
    VIM_SIF_I2cWriteByte(0x8b, 0xA0);
    VIM_SIF_I2cWriteByte(0x8c, 0xAC);
    VIM_SIF_I2cWriteByte(0x8d, 0xB7);
    VIM_SIF_I2cWriteByte(0x8e, 0xCA);
    VIM_SIF_I2cWriteByte(0x8f, 0xDB);
    VIM_SIF_I2cWriteByte(0x90, 0xEB);
    break;
  case 2:
    VIM_SIF_I2cWriteByte(0x81, 0x20);
    VIM_SIF_I2cWriteByte(0x82, 0x20);
    VIM_SIF_I2cWriteByte(0x83, 0x2d);
    VIM_SIF_I2cWriteByte(0x84, 0x42);
    VIM_SIF_I2cWriteByte(0x85, 0x60);
    VIM_SIF_I2cWriteByte(0x86, 0x6b);
    VIM_SIF_I2cWriteByte(0x87, 0x76);
    VIM_SIF_I2cWriteByte(0x88, 0x80);
    VIM_SIF_I2cWriteByte(0x89, 0x8a);
    VIM_SIF_I2cWriteByte(0x8a, 0x92);
    VIM_SIF_I2cWriteByte(0x8b, 0x99);
    VIM_SIF_I2cWriteByte(0x8c, 0xa6);
    VIM_SIF_I2cWriteByte(0x8d, 0xaf);
    VIM_SIF_I2cWriteByte(0x8e, 0xc4);
    VIM_SIF_I2cWriteByte(0x8f, 0xd7);
    VIM_SIF_I2cWriteByte(0x90, 0xe8);
    break;
  case 3:
    VIM_SIF_I2cWriteByte(0x81, 0x19);
    VIM_SIF_I2cWriteByte(0x82, 0x0c);
    VIM_SIF_I2cWriteByte(0x83, 0x18);
    VIM_SIF_I2cWriteByte(0x84, 0x2f);
    VIM_SIF_I2cWriteByte(0x85, 0x54);
    VIM_SIF_I2cWriteByte(0x86, 0x64);
    VIM_SIF_I2cWriteByte(0x87, 0x71);
    VIM_SIF_I2cWriteByte(0x88, 0x7d);
    VIM_SIF_I2cWriteByte(0x89, 0x88);
    VIM_SIF_I2cWriteByte(0x8a, 0x91);
    VIM_SIF_I2cWriteByte(0x8b, 0x98);
    VIM_SIF_I2cWriteByte(0x8c, 0xa7);
    VIM_SIF_I2cWriteByte(0x8d, 0xb4);
    VIM_SIF_I2cWriteByte(0x8e, 0xcb);
    VIM_SIF_I2cWriteByte(0x8f, 0xde);
    VIM_SIF_I2cWriteByte(0x90, 0xed);
    break;
  case 4:
    VIM_SIF_I2cWriteByte(0x81, 0x19);
    VIM_SIF_I2cWriteByte(0x82, 0x09);
    VIM_SIF_I2cWriteByte(0x83, 0x13);
    VIM_SIF_I2cWriteByte(0x84, 0x29);
    VIM_SIF_I2cWriteByte(0x85, 0x4f);
    VIM_SIF_I2cWriteByte(0x86, 0x5f);
    VIM_SIF_I2cWriteByte(0x87, 0x6e);
    VIM_SIF_I2cWriteByte(0x88, 0x7b);
    VIM_SIF_I2cWriteByte(0x89, 0x87);
    VIM_SIF_I2cWriteByte(0x8a, 0x91);
    VIM_SIF_I2cWriteByte(0x8b, 0x9a);
    VIM_SIF_I2cWriteByte(0x8c, 0xab);
    VIM_SIF_I2cWriteByte(0x8d, 0xb6);
    VIM_SIF_I2cWriteByte(0x8e, 0xcd);
    VIM_SIF_I2cWriteByte(0x8f, 0xdf);
    VIM_SIF_I2cWriteByte(0x90, 0xed);
    break;
  case 5:
    VIM_SIF_I2cWriteByte(0x81, 0x2C);
    VIM_SIF_I2cWriteByte(0x82, 0x11);
    VIM_SIF_I2cWriteByte(0x83, 0x1a);
    VIM_SIF_I2cWriteByte(0x84, 0x2a);
    VIM_SIF_I2cWriteByte(0x85, 0x42);
    VIM_SIF_I2cWriteByte(0x86, 0x4c);
    VIM_SIF_I2cWriteByte(0x87, 0x56);
    VIM_SIF_I2cWriteByte(0x88, 0x5f);
    VIM_SIF_I2cWriteByte(0x89, 0x67);
    VIM_SIF_I2cWriteByte(0x8a, 0x70);
    VIM_SIF_I2cWriteByte(0x8b, 0x78);
    VIM_SIF_I2cWriteByte(0x8c, 0x87);
    VIM_SIF_I2cWriteByte(0x8d, 0x95);
    VIM_SIF_I2cWriteByte(0x8e, 0xaf);
    VIM_SIF_I2cWriteByte(0x8f, 0xc8);
    VIM_SIF_I2cWriteByte(0x90, 0xdf);
    break;
  default:
    break;
  }
}


x86 assembly (clang, -O0):
<SensorSetContrast_OV6680>:
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     1611 <SensorSetContrast_OV6680+0x501>
mov    -0x10(%rbp),%rax
lea    0xec1(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
jmp    *%rax
mov    $0x81,%edi
mov    $0x1c,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x82,%edi
mov    $0x30,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x83,%edi
mov    $0x3f,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x84,%edi
mov    $0x54,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x85,%edi
mov    $0x6f,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x86,%edi
mov    $0x79,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x87,%edi
mov    $0x82,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x88,%edi
mov    $0x8b,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x89,%edi
mov    $0x92,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x8a,%edi
mov    $0x99,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x8b,%edi
mov    $0xa0,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x8c,%edi
mov    $0xac,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x8d,%edi
mov    $0xb7,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x8e,%edi
mov    $0xca,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x8f,%edi
mov    $0xdb,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x90,%edi
mov    $0xeb,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
jmp    1616 <SensorSetContrast_OV6680+0x506>
mov    $0x81,%edi
mov    $0x20,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x82,%edi
mov    $0x20,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x83,%edi
mov    $0x2d,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x84,%edi
mov    $0x42,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x85,%edi
mov    $0x60,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x86,%edi
mov    $0x6b,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x87,%edi
mov    $0x76,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x88,%edi
mov    $0x80,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x89,%edi
mov    $0x8a,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x8a,%edi
mov    $0x92,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x8b,%edi
mov    $0x99,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x8c,%edi
mov    $0xa6,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x8d,%edi
mov    $0xaf,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x8e,%edi
mov    $0xc4,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x8f,%edi
mov    $0xd7,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x90,%edi
mov    $0xe8,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
jmp    1616 <SensorSetContrast_OV6680+0x506>
mov    $0x81,%edi
mov    $0x19,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x82,%edi
mov    $0xc,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x83,%edi
mov    $0x18,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x84,%edi
mov    $0x2f,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x85,%edi
mov    $0x54,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x86,%edi
mov    $0x64,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x87,%edi
mov    $0x71,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x88,%edi
mov    $0x7d,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x89,%edi
mov    $0x88,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x8a,%edi
mov    $0x91,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x8b,%edi
mov    $0x98,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x8c,%edi
mov    $0xa7,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x8d,%edi
mov    $0xb4,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x8e,%edi
mov    $0xcb,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x8f,%edi
mov    $0xde,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x90,%edi
mov    $0xed,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
jmp    1616 <SensorSetContrast_OV6680+0x506>
mov    $0x81,%edi
mov    $0x19,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x82,%edi
mov    $0x9,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x83,%edi
mov    $0x13,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x84,%edi
mov    $0x29,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x85,%edi
mov    $0x4f,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x86,%edi
mov    $0x5f,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x87,%edi
mov    $0x6e,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x88,%edi
mov    $0x7b,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x89,%edi
mov    $0x87,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x8a,%edi
mov    $0x91,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x8b,%edi
mov    $0x9a,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x8c,%edi
mov    $0xab,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x8d,%edi
mov    $0xb6,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x8e,%edi
mov    $0xcd,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x8f,%edi
mov    $0xdf,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x90,%edi
mov    $0xed,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
jmp    1616 <SensorSetContrast_OV6680+0x506>
mov    $0x81,%edi
mov    $0x2c,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x82,%edi
mov    $0x11,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x83,%edi
mov    $0x1a,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x84,%edi
mov    $0x2a,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x85,%edi
mov    $0x42,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x86,%edi
mov    $0x4c,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x87,%edi
mov    $0x56,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x88,%edi
mov    $0x5f,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x89,%edi
mov    $0x67,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x8a,%edi
mov    $0x70,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x8b,%edi
mov    $0x78,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x8c,%edi
mov    $0x87,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x8d,%edi
mov    $0x95,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x8e,%edi
mov    $0xaf,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x8f,%edi
mov    $0xc8,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x90,%edi
mov    $0xdf,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
jmp    1616 <SensorSetContrast_OV6680+0x506>
jmp    1616 <SensorSetContrast_OV6680+0x506>
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<SensorSetContrast_OV6680>:
add    $0xff,%dil
cmp    $0x4,%dil
ja     12da <SensorSetContrast_OV6680+0x1ca>
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x28,%rsp
movsbq %dil,%rax
lea    0xec9(%rip),%rcx
mov    (%rcx,%rax,4),%esi
lea    0xed3(%rip),%rcx
mov    (%rcx,%rax,4),%r12d
lea    0xedc(%rip),%rcx
mov    (%rcx,%rax,4),%r15d
lea    0xee5(%rip),%rcx
mov    (%rcx,%rax,4),%r14d
lea    0xeee(%rip),%rcx
mov    (%rcx,%rax,4),%ebp
lea    0xef8(%rip),%rcx
mov    (%rcx,%rax,4),%ebx
lea    0xf02(%rip),%rcx
mov    (%rcx,%rax,4),%r13d
lea    0xf0b(%rip),%rcx
mov    (%rcx,%rax,4),%ecx
mov    %ecx,0x4(%rsp)
lea    0xf11(%rip),%rcx
mov    (%rcx,%rax,4),%ecx
mov    %ecx,0x8(%rsp)
lea    0xf17(%rip),%rcx
mov    (%rcx,%rax,4),%ecx
mov    %ecx,0xc(%rsp)
lea    0xf1d(%rip),%rcx
mov    (%rcx,%rax,4),%ecx
mov    %ecx,0x10(%rsp)
lea    0xf23(%rip),%rcx
mov    (%rcx,%rax,4),%ecx
mov    %ecx,0x14(%rsp)
lea    0xf29(%rip),%rcx
mov    (%rcx,%rax,4),%ecx
mov    %ecx,0x18(%rsp)
lea    0xf2f(%rip),%rcx
mov    (%rcx,%rax,4),%ecx
mov    %ecx,0x1c(%rsp)
lea    0xf35(%rip),%rcx
mov    (%rcx,%rax,4),%ecx
mov    %ecx,0x20(%rsp)
lea    0xf3b(%rip),%rcx
mov    (%rcx,%rax,4),%eax
mov    %eax,0x24(%rsp)
mov    $0x81,%edi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x82,%edi
mov    %r12d,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x83,%edi
mov    %r15d,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x84,%edi
mov    %r14d,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x85,%edi
mov    %ebp,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x86,%edi
mov    %ebx,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x87,%edi
mov    %r13d,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x88,%edi
mov    0x4(%rsp),%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x89,%edi
mov    0x8(%rsp),%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x8a,%edi
mov    0xc(%rsp),%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x8b,%edi
mov    0x10(%rsp),%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x8c,%edi
mov    0x14(%rsp),%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x8d,%edi
mov    0x18(%rsp),%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x8e,%edi
mov    0x1c(%rsp),%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x8f,%edi
mov    0x20(%rsp),%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x90,%edi
mov    0x24(%rsp),%esi
add    $0x28,%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_OV6680(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 %90 [
i32 1, label %5
i32 2, label %22
i32 3, label %39
i32 4, label %56
i32 5, label %73
]
5: ; preds = %1
%6 = call i32 @VIM_SIF_I2cWriteByte(i32 129, i32 28)
%7 = call i32 @VIM_SIF_I2cWriteByte(i32 130, i32 48)
%8 = call i32 @VIM_SIF_I2cWriteByte(i32 131, i32 63)
%9 = call i32 @VIM_SIF_I2cWriteByte(i32 132, i32 84)
%10 = call i32 @VIM_SIF_I2cWriteByte(i32 133, i32 111)
%11 = call i32 @VIM_SIF_I2cWriteByte(i32 134, i32 121)
%12 = call i32 @VIM_SIF_I2cWriteByte(i32 135, i32 130)
%13 = call i32 @VIM_SIF_I2cWriteByte(i32 136, i32 139)
%14 = call i32 @VIM_SIF_I2cWriteByte(i32 137, i32 146)
%15 = call i32 @VIM_SIF_I2cWriteByte(i32 138, i32 153)
%16 = call i32 @VIM_SIF_I2cWriteByte(i32 139, i32 160)
%17 = call i32 @VIM_SIF_I2cWriteByte(i32 140, i32 172)
%18 = call i32 @VIM_SIF_I2cWriteByte(i32 141, i32 183)
%19 = call i32 @VIM_SIF_I2cWriteByte(i32 142, i32 202)
%20 = call i32 @VIM_SIF_I2cWriteByte(i32 143, i32 219)
%21 = call i32 @VIM_SIF_I2cWriteByte(i32 144, i32 235)
br label %91
22: ; preds = %1
%23 = call i32 @VIM_SIF_I2cWriteByte(i32 129, i32 32)
%24 = call i32 @VIM_SIF_I2cWriteByte(i32 130, i32 32)
%25 = call i32 @VIM_SIF_I2cWriteByte(i32 131, i32 45)
%26 = call i32 @VIM_SIF_I2cWriteByte(i32 132, i32 66)
%27 = call i32 @VIM_SIF_I2cWriteByte(i32 133, i32 96)
%28 = call i32 @VIM_SIF_I2cWriteByte(i32 134, i32 107)
%29 = call i32 @VIM_SIF_I2cWriteByte(i32 135, i32 118)
%30 = call i32 @VIM_SIF_I2cWriteByte(i32 136, i32 128)
%31 = call i32 @VIM_SIF_I2cWriteByte(i32 137, i32 138)
%32 = call i32 @VIM_SIF_I2cWriteByte(i32 138, i32 146)
%33 = call i32 @VIM_SIF_I2cWriteByte(i32 139, i32 153)
%34 = call i32 @VIM_SIF_I2cWriteByte(i32 140, i32 166)
%35 = call i32 @VIM_SIF_I2cWriteByte(i32 141, i32 175)
%36 = call i32 @VIM_SIF_I2cWriteByte(i32 142, i32 196)
%37 = call i32 @VIM_SIF_I2cWriteByte(i32 143, i32 215)
%38 = call i32 @VIM_SIF_I2cWriteByte(i32 144, i32 232)
br label %91
39: ; preds = %1
%40 = call i32 @VIM_SIF_I2cWriteByte(i32 129, i32 25)
%41 = call i32 @VIM_SIF_I2cWriteByte(i32 130, i32 12)
%42 = call i32 @VIM_SIF_I2cWriteByte(i32 131, i32 24)
%43 = call i32 @VIM_SIF_I2cWriteByte(i32 132, i32 47)
%44 = call i32 @VIM_SIF_I2cWriteByte(i32 133, i32 84)
%45 = call i32 @VIM_SIF_I2cWriteByte(i32 134, i32 100)
%46 = call i32 @VIM_SIF_I2cWriteByte(i32 135, i32 113)
%47 = call i32 @VIM_SIF_I2cWriteByte(i32 136, i32 125)
%48 = call i32 @VIM_SIF_I2cWriteByte(i32 137, i32 136)
%49 = call i32 @VIM_SIF_I2cWriteByte(i32 138, i32 145)
%50 = call i32 @VIM_SIF_I2cWriteByte(i32 139, i32 152)
%51 = call i32 @VIM_SIF_I2cWriteByte(i32 140, i32 167)
%52 = call i32 @VIM_SIF_I2cWriteByte(i32 141, i32 180)
%53 = call i32 @VIM_SIF_I2cWriteByte(i32 142, i32 203)
%54 = call i32 @VIM_SIF_I2cWriteByte(i32 143, i32 222)
%55 = call i32 @VIM_SIF_I2cWriteByte(i32 144, i32 237)
br label %91
56: ; preds = %1
%57 = call i32 @VIM_SIF_I2cWriteByte(i32 129, i32 25)
%58 = call i32 @VIM_SIF_I2cWriteByte(i32 130, i32 9)
%59 = call i32 @VIM_SIF_I2cWriteByte(i32 131, i32 19)
%60 = call i32 @VIM_SIF_I2cWriteByte(i32 132, i32 41)
%61 = call i32 @VIM_SIF_I2cWriteByte(i32 133, i32 79)
%62 = call i32 @VIM_SIF_I2cWriteByte(i32 134, i32 95)
%63 = call i32 @VIM_SIF_I2cWriteByte(i32 135, i32 110)
%64 = call i32 @VIM_SIF_I2cWriteByte(i32 136, i32 123)
%65 = call i32 @VIM_SIF_I2cWriteByte(i32 137, i32 135)
%66 = call i32 @VIM_SIF_I2cWriteByte(i32 138, i32 145)
%67 = call i32 @VIM_SIF_I2cWriteByte(i32 139, i32 154)
%68 = call i32 @VIM_SIF_I2cWriteByte(i32 140, i32 171)
%69 = call i32 @VIM_SIF_I2cWriteByte(i32 141, i32 182)
%70 = call i32 @VIM_SIF_I2cWriteByte(i32 142, i32 205)
%71 = call i32 @VIM_SIF_I2cWriteByte(i32 143, i32 223)
%72 = call i32 @VIM_SIF_I2cWriteByte(i32 144, i32 237)
br label %91
73: ; preds = %1
%74 = call i32 @VIM_SIF_I2cWriteByte(i32 129, i32 44)
%75 = call i32 @VIM_SIF_I2cWriteByte(i32 130, i32 17)
%76 = call i32 @VIM_SIF_I2cWriteByte(i32 131, i32 26)
%77 = call i32 @VIM_SIF_I2cWriteByte(i32 132, i32 42)
%78 = call i32 @VIM_SIF_I2cWriteByte(i32 133, i32 66)
%79 = call i32 @VIM_SIF_I2cWriteByte(i32 134, i32 76)
%80 = call i32 @VIM_SIF_I2cWriteByte(i32 135, i32 86)
%81 = call i32 @VIM_SIF_I2cWriteByte(i32 136, i32 95)
%82 = call i32 @VIM_SIF_I2cWriteByte(i32 137, i32 103)
%83 = call i32 @VIM_SIF_I2cWriteByte(i32 138, i32 112)
%84 = call i32 @VIM_SIF_I2cWriteByte(i32 139, i32 120)
%85 = call i32 @VIM_SIF_I2cWriteByte(i32 140, i32 135)
%86 = call i32 @VIM_SIF_I2cWriteByte(i32 141, i32 149)
%87 = call i32 @VIM_SIF_I2cWriteByte(i32 142, i32 175)
%88 = call i32 @VIM_SIF_I2cWriteByte(i32 143, i32 200)
%89 = call i32 @VIM_SIF_I2cWriteByte(i32 144, i32 223)
br label %91
90: ; preds = %1
br label %91
91: ; preds = %90, %73, %56, %39, %22, %5
ret void
}

LLVM IR (-O2):
@switch.table.SensorSetContrast_OV6680 = [5 x i32] [i32 28, i32 32, i32 25, i32 25, i32 44]
@switch.table.SensorSetContrast_OV6680.1 = [5 x i32] [i32 48, i32 32, i32 12, i32 9, i32 17]
@switch.table.SensorSetContrast_OV6680.2 = [5 x i32] [i32 63, i32 45, i32 24, i32 19, i32 26]
@switch.table.SensorSetContrast_OV6680.3 = [5 x i32] [i32 84, i32 66, i32 47, i32 41, i32 42]
@switch.table.SensorSetContrast_OV6680.4 = [5 x i32] [i32 111, i32 96, i32 84, i32 79, i32 66]
@switch.table.SensorSetContrast_OV6680.5 = [5 x i32] [i32 121, i32 107, i32 100, i32 95, i32 76]
@switch.table.SensorSetContrast_OV6680.6 = [5 x i32] [i32 130, i32 118, i32 113, i32 110, i32 86]
@switch.table.SensorSetContrast_OV6680.7 = [5 x i32] [i32 139, i32 128, i32 125, i32 123, i32 95]
@switch.table.SensorSetContrast_OV6680.8 = [5 x i32] [i32 146, i32 138, i32 136, i32 135, i32 103]
@switch.table.SensorSetContrast_OV6680.9 = [5 x i32] [i32 153, i32 146, i32 145, i32 145, i32 112]
@switch.table.SensorSetContrast_OV6680.10 = [5 x i32] [i32 160, i32 153, i32 152, i32 154, i32 120]
@switch.table.SensorSetContrast_OV6680.11 = [5 x i32] [i32 172, i32 166, i32 167, i32 171, i32 135]
@switch.table.SensorSetContrast_OV6680.12 = [5 x i32] [i32 183, i32 175, i32 180, i32 182, i32 149]
@switch.table.SensorSetContrast_OV6680.13 = [5 x i32] [i32 202, i32 196, i32 203, i32 205, i32 175]
@switch.table.SensorSetContrast_OV6680.14 = [5 x i32] [i32 219, i32 215, i32 222, i32 223, i32 200]
@switch.table.SensorSetContrast_OV6680.15 = [5 x i32] [i32 235, i32 232, i32 237, i32 237, i32 223]
define void @SensorSetContrast_OV6680(i8 zeroext %0) {
%2 = add i8 %0, -1
%3 = icmp ult i8 %2, 5
br i1 %3, label %4, label %69
4: ; preds = %1
%5 = sext i8 %2 to i64
%6 = getelementptr inbounds [5 x i32], [5 x i32]* @switch.table.SensorSetContrast_OV6680, 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_OV6680.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_OV6680.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_OV6680.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_OV6680.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_OV6680.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_OV6680.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_OV6680.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_OV6680.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_OV6680.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_OV6680.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_OV6680.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_OV6680.12, i64 0, i64 %41
%43 = load i32, i32* %42
%44 = sext i8 %2 to i64
%45 = getelementptr inbounds [5 x i32], [5 x i32]* @switch.table.SensorSetContrast_OV6680.13, i64 0, i64 %44
%46 = load i32, i32* %45
%47 = sext i8 %2 to i64
%48 = getelementptr inbounds [5 x i32], [5 x i32]* @switch.table.SensorSetContrast_OV6680.14, i64 0, i64 %47
%49 = load i32, i32* %48
%50 = sext i8 %2 to i64
%51 = getelementptr inbounds [5 x i32], [5 x i32]* @switch.table.SensorSetContrast_OV6680.15, i64 0, i64 %50
%52 = load i32, i32* %51
%53 = tail call i32 @VIM_SIF_I2cWriteByte(i32 129, i32 %7)
%54 = tail call i32 @VIM_SIF_I2cWriteByte(i32 130, i32 %10)
%55 = tail call i32 @VIM_SIF_I2cWriteByte(i32 131, i32 %13)
%56 = tail call i32 @VIM_SIF_I2cWriteByte(i32 132, i32 %16)
%57 = tail call i32 @VIM_SIF_I2cWriteByte(i32 133, i32 %19)
%58 = tail call i32 @VIM_SIF_I2cWriteByte(i32 134, i32 %22)
%59 = tail call i32 @VIM_SIF_I2cWriteByte(i32 135, i32 %25)
%60 = tail call i32 @VIM_SIF_I2cWriteByte(i32 136, i32 %28)
%61 = tail call i32 @VIM_SIF_I2cWriteByte(i32 137, i32 %31)
%62 = tail call i32 @VIM_SIF_I2cWriteByte(i32 138, i32 %34)
%63 = tail call i32 @VIM_SIF_I2cWriteByte(i32 139, i32 %37)
%64 = tail call i32 @VIM_SIF_I2cWriteByte(i32 140, i32 %40)
%65 = tail call i32 @VIM_SIF_I2cWriteByte(i32 141, i32 %43)
%66 = tail call i32 @VIM_SIF_I2cWriteByte(i32 142, i32 %46)
%67 = tail call i32 @VIM_SIF_I2cWriteByte(i32 143, i32 %49)
%68 = tail call i32 @VIM_SIF_I2cWriteByte(i32 144, i32 %52)
br label %69
69: ; preds = %1, %4
ret void
}