#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_OV7660(unsigned char val) {
  switch (val) {
  case 1:
    VIM_SIF_I2cWriteByte(0x13, 0xe2);
    VIM_SIF_I2cWriteByte(0x6c, 0x20);
    VIM_SIF_I2cWriteByte(0x6d, 0x50);
    VIM_SIF_I2cWriteByte(0x6e, 0x80);
    VIM_SIF_I2cWriteByte(0x6f, 0xc0);
    VIM_SIF_I2cWriteByte(0x70, 0xc0);
    VIM_SIF_I2cWriteByte(0x71, 0xa0);
    VIM_SIF_I2cWriteByte(0x72, 0x90);
    VIM_SIF_I2cWriteByte(0x73, 0x78);
    VIM_SIF_I2cWriteByte(0x74, 0x78);
    VIM_SIF_I2cWriteByte(0x75, 0x78);
    VIM_SIF_I2cWriteByte(0x76, 0x40);
    VIM_SIF_I2cWriteByte(0x77, 0x20);
    VIM_SIF_I2cWriteByte(0x78, 0x20);
    VIM_SIF_I2cWriteByte(0x79, 0x20);
    VIM_SIF_I2cWriteByte(0x7a, 0x1e);
    VIM_SIF_I2cWriteByte(0x7b, 0x09);
    VIM_SIF_I2cWriteByte(0x7c, 0x02);
    VIM_SIF_I2cWriteByte(0x7d, 0x07);
    VIM_SIF_I2cWriteByte(0x7e, 0x17);
    VIM_SIF_I2cWriteByte(0x7f, 0x47);
    VIM_SIF_I2cWriteByte(0x80, 0x5f);
    VIM_SIF_I2cWriteByte(0x81, 0x73);
    VIM_SIF_I2cWriteByte(0x82, 0x85);
    VIM_SIF_I2cWriteByte(0x83, 0x94);
    VIM_SIF_I2cWriteByte(0x84, 0xa3);
    VIM_SIF_I2cWriteByte(0x85, 0xb2);
    VIM_SIF_I2cWriteByte(0x86, 0xc2);
    VIM_SIF_I2cWriteByte(0x87, 0xca);
    VIM_SIF_I2cWriteByte(0x88, 0xda);
    VIM_SIF_I2cWriteByte(0x89, 0xea);
    VIM_SIF_I2cWriteByte(0x8a, 0xf9);
    break;
  case 2:
    VIM_SIF_I2cWriteByte(0x13, 0xe2);
    VIM_SIF_I2cWriteByte(0x6c, 0x20);
    VIM_SIF_I2cWriteByte(0x6d, 0x40);
    VIM_SIF_I2cWriteByte(0x6e, 0x80);
    VIM_SIF_I2cWriteByte(0x6f, 0x90);
    VIM_SIF_I2cWriteByte(0x70, 0x90);
    VIM_SIF_I2cWriteByte(0x71, 0x80);
    VIM_SIF_I2cWriteByte(0x72, 0x70);
    VIM_SIF_I2cWriteByte(0x73, 0x70);
    VIM_SIF_I2cWriteByte(0x74, 0x60);
    VIM_SIF_I2cWriteByte(0x75, 0x50);
    VIM_SIF_I2cWriteByte(0x76, 0x40);
    VIM_SIF_I2cWriteByte(0x77, 0x40);
    VIM_SIF_I2cWriteByte(0x78, 0x30);
    VIM_SIF_I2cWriteByte(0x79, 0x28);
    VIM_SIF_I2cWriteByte(0x7a, 0x20);
    VIM_SIF_I2cWriteByte(0x7b, 0x1d);
    VIM_SIF_I2cWriteByte(0x7c, 0x02);
    VIM_SIF_I2cWriteByte(0x7d, 0x06);
    VIM_SIF_I2cWriteByte(0x7e, 0x16);
    VIM_SIF_I2cWriteByte(0x7f, 0x3a);
    VIM_SIF_I2cWriteByte(0x80, 0x4c);
    VIM_SIF_I2cWriteByte(0x81, 0x5c);
    VIM_SIF_I2cWriteByte(0x82, 0x6a);
    VIM_SIF_I2cWriteByte(0x83, 0x78);
    VIM_SIF_I2cWriteByte(0x84, 0x84);
    VIM_SIF_I2cWriteByte(0x85, 0x8e);
    VIM_SIF_I2cWriteByte(0x86, 0x9e);
    VIM_SIF_I2cWriteByte(0x87, 0xae);
    VIM_SIF_I2cWriteByte(0x88, 0xc2);
    VIM_SIF_I2cWriteByte(0x89, 0xda);
    VIM_SIF_I2cWriteByte(0x8a, 0xea);
    break;
  case 3:
    VIM_SIF_I2cWriteByte(0x13, 0xe2);
    VIM_SIF_I2cWriteByte(0x6c, 0x40);
    VIM_SIF_I2cWriteByte(0x6d, 0x30);
    VIM_SIF_I2cWriteByte(0x6e, 0x4b);
    VIM_SIF_I2cWriteByte(0x6f, 0x60);
    VIM_SIF_I2cWriteByte(0x70, 0x70);
    VIM_SIF_I2cWriteByte(0x71, 0x70);
    VIM_SIF_I2cWriteByte(0x72, 0x70);
    VIM_SIF_I2cWriteByte(0x73, 0x70);
    VIM_SIF_I2cWriteByte(0x74, 0x60);
    VIM_SIF_I2cWriteByte(0x75, 0x60);
    VIM_SIF_I2cWriteByte(0x76, 0x50);
    VIM_SIF_I2cWriteByte(0x77, 0x48);
    VIM_SIF_I2cWriteByte(0x78, 0x3a);
    VIM_SIF_I2cWriteByte(0x79, 0x2e);
    VIM_SIF_I2cWriteByte(0x7a, 0x28);
    VIM_SIF_I2cWriteByte(0x7b, 0x22);
    VIM_SIF_I2cWriteByte(0x7c, 0x04);
    VIM_SIF_I2cWriteByte(0x7d, 0x07);
    VIM_SIF_I2cWriteByte(0x7e, 0x10);
    VIM_SIF_I2cWriteByte(0x7f, 0x28);
    VIM_SIF_I2cWriteByte(0x80, 0x36);
    VIM_SIF_I2cWriteByte(0x81, 0x44);
    VIM_SIF_I2cWriteByte(0x82, 0x52);
    VIM_SIF_I2cWriteByte(0x83, 0x60);
    VIM_SIF_I2cWriteByte(0x84, 0x6c);
    VIM_SIF_I2cWriteByte(0x85, 0x78);
    VIM_SIF_I2cWriteByte(0x86, 0x8c);
    VIM_SIF_I2cWriteByte(0x87, 0x9e);
    VIM_SIF_I2cWriteByte(0x88, 0xbb);
    VIM_SIF_I2cWriteByte(0x89, 0xd2);
    VIM_SIF_I2cWriteByte(0x8a, 0xe6);
    break;
  case 4:
    VIM_SIF_I2cWriteByte(0x13, 0xe2);
    VIM_SIF_I2cWriteByte(0x6c, 0x40);
    VIM_SIF_I2cWriteByte(0x6d, 0x50);
    VIM_SIF_I2cWriteByte(0x6e, 0x50);
    VIM_SIF_I2cWriteByte(0x6f, 0x58);
    VIM_SIF_I2cWriteByte(0x70, 0x60);
    VIM_SIF_I2cWriteByte(0x71, 0x60);
    VIM_SIF_I2cWriteByte(0x72, 0x60);
    VIM_SIF_I2cWriteByte(0x73, 0x60);
    VIM_SIF_I2cWriteByte(0x74, 0x58);
    VIM_SIF_I2cWriteByte(0x75, 0x58);
    VIM_SIF_I2cWriteByte(0x76, 0x58);
    VIM_SIF_I2cWriteByte(0x77, 0x48);
    VIM_SIF_I2cWriteByte(0x78, 0x40);
    VIM_SIF_I2cWriteByte(0x79, 0x30);
    VIM_SIF_I2cWriteByte(0x7a, 0x28);
    VIM_SIF_I2cWriteByte(0x7b, 0x26);
    VIM_SIF_I2cWriteByte(0x7c, 0x04);
    VIM_SIF_I2cWriteByte(0x7d, 0x09);
    VIM_SIF_I2cWriteByte(0x7e, 0x13);
    VIM_SIF_I2cWriteByte(0x7f, 0x29);
    VIM_SIF_I2cWriteByte(0x80, 0x35);
    VIM_SIF_I2cWriteByte(0x81, 0x41);
    VIM_SIF_I2cWriteByte(0x82, 0x4d);
    VIM_SIF_I2cWriteByte(0x83, 0x59);
    VIM_SIF_I2cWriteByte(0x84, 0x64);
    VIM_SIF_I2cWriteByte(0x85, 0x6f);
    VIM_SIF_I2cWriteByte(0x86, 0x85);
    VIM_SIF_I2cWriteByte(0x87, 0x97);
    VIM_SIF_I2cWriteByte(0x88, 0xb7);
    VIM_SIF_I2cWriteByte(0x89, 0xcf);
    VIM_SIF_I2cWriteByte(0x8a, 0xe3);
    break;
  case 5:
    VIM_SIF_I2cWriteByte(0x13, 0xe2);
    VIM_SIF_I2cWriteByte(0x6c, 0x40);
    VIM_SIF_I2cWriteByte(0x6d, 0x50);
    VIM_SIF_I2cWriteByte(0x6e, 0x58);
    VIM_SIF_I2cWriteByte(0x6f, 0x50);
    VIM_SIF_I2cWriteByte(0x70, 0x50);
    VIM_SIF_I2cWriteByte(0x71, 0x50);
    VIM_SIF_I2cWriteByte(0x72, 0x50);
    VIM_SIF_I2cWriteByte(0x73, 0x50);
    VIM_SIF_I2cWriteByte(0x74, 0x48);
    VIM_SIF_I2cWriteByte(0x75, 0x48);
    VIM_SIF_I2cWriteByte(0x76, 0x48);
    VIM_SIF_I2cWriteByte(0x77, 0x48);
    VIM_SIF_I2cWriteByte(0x78, 0x40);
    VIM_SIF_I2cWriteByte(0x79, 0x40);
    VIM_SIF_I2cWriteByte(0x7a, 0x30);
    VIM_SIF_I2cWriteByte(0x7b, 0x2e);
    VIM_SIF_I2cWriteByte(0x7c, 0x04);
    VIM_SIF_I2cWriteByte(0x7d, 0x09);
    VIM_SIF_I2cWriteByte(0x7e, 0x14);
    VIM_SIF_I2cWriteByte(0x7f, 0x28);
    VIM_SIF_I2cWriteByte(0x80, 0x32);
    VIM_SIF_I2cWriteByte(0x81, 0x3c);
    VIM_SIF_I2cWriteByte(0x82, 0x46);
    VIM_SIF_I2cWriteByte(0x83, 0x4f);
    VIM_SIF_I2cWriteByte(0x84, 0x58);
    VIM_SIF_I2cWriteByte(0x85, 0x61);
    VIM_SIF_I2cWriteByte(0x86, 0x73);
    VIM_SIF_I2cWriteByte(0x87, 0x85);
    VIM_SIF_I2cWriteByte(0x88, 0xa5);
    VIM_SIF_I2cWriteByte(0x89, 0xc5);
    VIM_SIF_I2cWriteByte(0x8a, 0xdd);
    break;
  default:
    break;
  }
}


x86 assembly (clang, -O0):
<SensorSetContrast_OV7660>:
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     1abb <SensorSetContrast_OV7660+0x9ab>
mov    -0x10(%rbp),%rax
lea    0xec1(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
jmp    *%rax
mov    $0x13,%edi
mov    $0xe2,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x6c,%edi
mov    $0x20,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x6d,%edi
mov    $0x50,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x6e,%edi
mov    $0x80,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x6f,%edi
mov    $0xc0,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x70,%edi
mov    $0xc0,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x71,%edi
mov    $0xa0,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x72,%edi
mov    $0x90,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x73,%edi
mov    $0x78,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x74,%edi
mov    $0x78,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x75,%edi
mov    $0x78,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x76,%edi
mov    $0x40,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x77,%edi
mov    $0x20,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x78,%edi
mov    $0x20,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x79,%edi
mov    $0x20,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x7a,%edi
mov    $0x1e,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x7b,%edi
mov    $0x9,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x7c,%edi
mov    $0x2,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x7d,%edi
mov    $0x7,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x7e,%edi
mov    $0x17,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x7f,%edi
mov    $0x47,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x80,%edi
mov    $0x5f,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x81,%edi
mov    $0x73,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x82,%edi
mov    $0x85,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x83,%edi
mov    $0x94,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x84,%edi
mov    $0xa3,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x85,%edi
mov    $0xb2,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x86,%edi
mov    $0xc2,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x87,%edi
mov    $0xca,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x88,%edi
mov    $0xda,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x89,%edi
mov    $0xea,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x8a,%edi
mov    $0xf9,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
jmp    1ac0 <SensorSetContrast_OV7660+0x9b0>
mov    $0x13,%edi
mov    $0xe2,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x6c,%edi
mov    $0x20,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x6d,%edi
mov    $0x40,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x6e,%edi
mov    $0x80,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x6f,%edi
mov    $0x90,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x70,%edi
mov    $0x90,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x71,%edi
mov    $0x80,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x72,%edi
mov    $0x70,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x73,%edi
mov    $0x70,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x74,%edi
mov    $0x60,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x75,%edi
mov    $0x50,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x76,%edi
mov    $0x40,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x77,%edi
mov    $0x40,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x78,%edi
mov    $0x30,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x79,%edi
mov    $0x28,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x7a,%edi
mov    $0x20,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x7b,%edi
mov    $0x1d,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x7c,%edi
mov    $0x2,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x7d,%edi
mov    $0x6,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x7e,%edi
mov    $0x16,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x7f,%edi
mov    $0x3a,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x80,%edi
mov    $0x4c,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x81,%edi
mov    $0x5c,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x82,%edi
mov    $0x6a,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x83,%edi
mov    $0x78,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x84,%esi
mov    %esi,%edi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x85,%edi
mov    $0x8e,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x86,%edi
mov    $0x9e,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x87,%edi
mov    $0xae,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x88,%edi
mov    $0xc2,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x89,%edi
mov    $0xda,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x8a,%edi
mov    $0xea,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
jmp    1ac0 <SensorSetContrast_OV7660+0x9b0>
mov    $0x13,%edi
mov    $0xe2,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x6c,%edi
mov    $0x40,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x6d,%edi
mov    $0x30,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x6e,%edi
mov    $0x4b,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x6f,%edi
mov    $0x60,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x70,%esi
mov    %esi,%edi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x71,%edi
mov    $0x70,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x72,%edi
mov    $0x70,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x73,%edi
mov    $0x70,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x74,%edi
mov    $0x60,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x75,%edi
mov    $0x60,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x76,%edi
mov    $0x50,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x77,%edi
mov    $0x48,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x78,%edi
mov    $0x3a,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x79,%edi
mov    $0x2e,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x7a,%edi
mov    $0x28,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x7b,%edi
mov    $0x22,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x7c,%edi
mov    $0x4,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x7d,%edi
mov    $0x7,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x7e,%edi
mov    $0x10,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x7f,%edi
mov    $0x28,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x80,%edi
mov    $0x36,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x81,%edi
mov    $0x44,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x82,%edi
mov    $0x52,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x83,%edi
mov    $0x60,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x84,%edi
mov    $0x6c,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x85,%edi
mov    $0x78,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x86,%edi
mov    $0x8c,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x87,%edi
mov    $0x9e,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x88,%edi
mov    $0xbb,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x89,%edi
mov    $0xd2,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x8a,%edi
mov    $0xe6,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
jmp    1ac0 <SensorSetContrast_OV7660+0x9b0>
mov    $0x13,%edi
mov    $0xe2,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x6c,%edi
mov    $0x40,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x6d,%edi
mov    $0x50,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x6e,%edi
mov    $0x50,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x6f,%edi
mov    $0x58,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x70,%edi
mov    $0x60,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x71,%edi
mov    $0x60,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x72,%edi
mov    $0x60,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x73,%edi
mov    $0x60,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x74,%edi
mov    $0x58,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x75,%edi
mov    $0x58,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x76,%edi
mov    $0x58,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x77,%edi
mov    $0x48,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x78,%edi
mov    $0x40,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x79,%edi
mov    $0x30,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x7a,%edi
mov    $0x28,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x7b,%edi
mov    $0x26,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x7c,%edi
mov    $0x4,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x7d,%edi
mov    $0x9,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x7e,%edi
mov    $0x13,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x7f,%edi
mov    $0x29,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x80,%edi
mov    $0x35,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x81,%edi
mov    $0x41,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x82,%edi
mov    $0x4d,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x83,%edi
mov    $0x59,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x84,%edi
mov    $0x64,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x85,%edi
mov    $0x6f,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x86,%edi
mov    $0x85,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x87,%edi
mov    $0x97,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x88,%edi
mov    $0xb7,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x89,%edi
mov    $0xcf,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x8a,%edi
mov    $0xe3,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
jmp    1ac0 <SensorSetContrast_OV7660+0x9b0>
mov    $0x13,%edi
mov    $0xe2,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x6c,%edi
mov    $0x40,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x6d,%edi
mov    $0x50,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x6e,%edi
mov    $0x58,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x6f,%edi
mov    $0x50,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x70,%edi
mov    $0x50,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x71,%edi
mov    $0x50,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x72,%edi
mov    $0x50,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x73,%edi
mov    $0x50,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x74,%edi
mov    $0x48,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x75,%edi
mov    $0x48,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x76,%edi
mov    $0x48,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x77,%edi
mov    $0x48,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x78,%edi
mov    $0x40,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x79,%edi
mov    $0x40,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x7a,%edi
mov    $0x30,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x7b,%edi
mov    $0x2e,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x7c,%edi
mov    $0x4,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x7d,%edi
mov    $0x9,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x7e,%edi
mov    $0x14,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x7f,%edi
mov    $0x28,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x80,%edi
mov    $0x32,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x81,%edi
mov    $0x3c,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x82,%edi
mov    $0x46,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x83,%edi
mov    $0x4f,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x84,%edi
mov    $0x58,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x85,%edi
mov    $0x61,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x86,%edi
mov    $0x73,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x87,%edi
mov    $0x85,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x88,%edi
mov    $0xa5,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x89,%edi
mov    $0xc5,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x8a,%edi
mov    $0xdd,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
jmp    1ac0 <SensorSetContrast_OV7660+0x9b0>
jmp    1ac0 <SensorSetContrast_OV7660+0x9b0>
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<SensorSetContrast_OV7660>:
add    $0xff,%dil
cmp    $0x4,%dil
ja     1495 <SensorSetContrast_OV7660+0x385>
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x68,%rsp
movsbq %dil,%rax
lea    0xec9(%rip),%rcx
mov    (%rcx,%rax,4),%r14d
lea    0xed2(%rip),%rcx
mov    (%rcx,%rax,4),%ebp
lea    0xedc(%rip),%rcx
mov    (%rcx,%rax,4),%ebx
lea    0xee6(%rip),%rcx
mov    (%rcx,%rax,4),%r13d
lea    0xeef(%rip),%rcx
mov    (%rcx,%rax,4),%r12d
lea    0xef8(%rip),%rcx
mov    (%rcx,%rax,4),%r15d
lea    0xf01(%rip),%rcx
mov    (%rcx,%rax,4),%ecx
mov    %ecx,0x4(%rsp)
lea    0xf07(%rip),%rcx
mov    (%rcx,%rax,4),%ecx
mov    %ecx,0x8(%rsp)
lea    0xf0d(%rip),%rcx
mov    (%rcx,%rax,4),%ecx
mov    %ecx,0xc(%rsp)
lea    0xf13(%rip),%rcx
mov    (%rcx,%rax,4),%ecx
mov    %ecx,0x10(%rsp)
lea    0xf19(%rip),%rcx
mov    (%rcx,%rax,4),%ecx
mov    %ecx,0x14(%rsp)
lea    0xf1f(%rip),%rcx
mov    (%rcx,%rax,4),%ecx
mov    %ecx,0x18(%rsp)
lea    0xf25(%rip),%rcx
mov    (%rcx,%rax,4),%ecx
mov    %ecx,0x1c(%rsp)
lea    0xf2b(%rip),%rcx
mov    (%rcx,%rax,4),%ecx
mov    %ecx,0x20(%rsp)
lea    0xf31(%rip),%rcx
mov    (%rcx,%rax,4),%ecx
mov    %ecx,0x24(%rsp)
lea    0xf37(%rip),%rcx
mov    (%rcx,%rax,4),%ecx
mov    %ecx,0x28(%rsp)
lea    0xf3d(%rip),%rcx
mov    (%rcx,%rax,4),%ecx
mov    %ecx,0x2c(%rsp)
lea    0xf43(%rip),%rcx
mov    (%rcx,%rax,4),%ecx
mov    %ecx,0x30(%rsp)
lea    0xf49(%rip),%rcx
mov    (%rcx,%rax,4),%ecx
mov    %ecx,0x34(%rsp)
lea    0xf4f(%rip),%rcx
mov    (%rcx,%rax,4),%ecx
mov    %ecx,0x38(%rsp)
lea    0xf55(%rip),%rcx
mov    (%rcx,%rax,4),%ecx
mov    %ecx,0x3c(%rsp)
lea    0xf5b(%rip),%rcx
mov    (%rcx,%rax,4),%ecx
mov    %ecx,0x40(%rsp)
lea    0xf61(%rip),%rcx
mov    (%rcx,%rax,4),%ecx
mov    %ecx,0x44(%rsp)
lea    0xf67(%rip),%rcx
mov    (%rcx,%rax,4),%ecx
mov    %ecx,0x48(%rsp)
lea    0xf6d(%rip),%rcx
mov    (%rcx,%rax,4),%ecx
mov    %ecx,0x4c(%rsp)
lea    0xf73(%rip),%rcx
mov    (%rcx,%rax,4),%ecx
mov    %ecx,0x50(%rsp)
lea    0xf79(%rip),%rcx
mov    (%rcx,%rax,4),%ecx
mov    %ecx,0x54(%rsp)
lea    0xf7f(%rip),%rcx
mov    (%rcx,%rax,4),%ecx
mov    %ecx,0x58(%rsp)
lea    0xf85(%rip),%rcx
mov    (%rcx,%rax,4),%ecx
mov    %ecx,0x5c(%rsp)
lea    0xf8b(%rip),%rcx
mov    (%rcx,%rax,4),%ecx
mov    %ecx,0x60(%rsp)
lea    0xf91(%rip),%rcx
mov    (%rcx,%rax,4),%eax
mov    %eax,0x64(%rsp)
mov    $0x13,%edi
mov    $0xe2,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x6c,%edi
mov    %r14d,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x6d,%edi
mov    %ebp,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x6e,%edi
mov    %ebx,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x6f,%edi
mov    %r13d,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x70,%edi
mov    %r12d,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x71,%edi
mov    %r15d,%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x72,%edi
mov    0x4(%rsp),%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x73,%edi
mov    0x8(%rsp),%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x74,%edi
mov    0xc(%rsp),%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x75,%edi
mov    0x10(%rsp),%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x76,%edi
mov    0x14(%rsp),%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x77,%edi
mov    0x18(%rsp),%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x78,%edi
mov    0x1c(%rsp),%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x79,%edi
mov    0x20(%rsp),%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x7a,%edi
mov    0x24(%rsp),%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x7b,%edi
mov    0x28(%rsp),%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x7c,%edi
mov    0x2c(%rsp),%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x7d,%edi
mov    0x30(%rsp),%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x7e,%edi
mov    0x34(%rsp),%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x7f,%edi
mov    0x38(%rsp),%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x80,%edi
mov    0x3c(%rsp),%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x81,%edi
mov    0x40(%rsp),%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x82,%edi
mov    0x44(%rsp),%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x83,%edi
mov    0x48(%rsp),%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x84,%edi
mov    0x4c(%rsp),%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x85,%edi
mov    0x50(%rsp),%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x86,%edi
mov    0x54(%rsp),%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x87,%edi
mov    0x58(%rsp),%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x88,%edi
mov    0x5c(%rsp),%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x89,%edi
mov    0x60(%rsp),%esi
call   1030 <VIM_SIF_I2cWriteByte@plt>
mov    $0x8a,%edi
mov    0x64(%rsp),%esi
add    $0x68,%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_OV7660(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 %170 [
i32 1, label %5
i32 2, label %38
i32 3, label %71
i32 4, label %104
i32 5, label %137
]
5: ; preds = %1
%6 = call i32 @VIM_SIF_I2cWriteByte(i32 19, i32 226)
%7 = call i32 @VIM_SIF_I2cWriteByte(i32 108, i32 32)
%8 = call i32 @VIM_SIF_I2cWriteByte(i32 109, i32 80)
%9 = call i32 @VIM_SIF_I2cWriteByte(i32 110, i32 128)
%10 = call i32 @VIM_SIF_I2cWriteByte(i32 111, i32 192)
%11 = call i32 @VIM_SIF_I2cWriteByte(i32 112, i32 192)
%12 = call i32 @VIM_SIF_I2cWriteByte(i32 113, i32 160)
%13 = call i32 @VIM_SIF_I2cWriteByte(i32 114, i32 144)
%14 = call i32 @VIM_SIF_I2cWriteByte(i32 115, i32 120)
%15 = call i32 @VIM_SIF_I2cWriteByte(i32 116, i32 120)
%16 = call i32 @VIM_SIF_I2cWriteByte(i32 117, i32 120)
%17 = call i32 @VIM_SIF_I2cWriteByte(i32 118, i32 64)
%18 = call i32 @VIM_SIF_I2cWriteByte(i32 119, i32 32)
%19 = call i32 @VIM_SIF_I2cWriteByte(i32 120, i32 32)
%20 = call i32 @VIM_SIF_I2cWriteByte(i32 121, i32 32)
%21 = call i32 @VIM_SIF_I2cWriteByte(i32 122, i32 30)
%22 = call i32 @VIM_SIF_I2cWriteByte(i32 123, i32 9)
%23 = call i32 @VIM_SIF_I2cWriteByte(i32 124, i32 2)
%24 = call i32 @VIM_SIF_I2cWriteByte(i32 125, i32 7)
%25 = call i32 @VIM_SIF_I2cWriteByte(i32 126, i32 23)
%26 = call i32 @VIM_SIF_I2cWriteByte(i32 127, i32 71)
%27 = call i32 @VIM_SIF_I2cWriteByte(i32 128, i32 95)
%28 = call i32 @VIM_SIF_I2cWriteByte(i32 129, i32 115)
%29 = call i32 @VIM_SIF_I2cWriteByte(i32 130, i32 133)
%30 = call i32 @VIM_SIF_I2cWriteByte(i32 131, i32 148)
%31 = call i32 @VIM_SIF_I2cWriteByte(i32 132, i32 163)
%32 = call i32 @VIM_SIF_I2cWriteByte(i32 133, i32 178)
%33 = call i32 @VIM_SIF_I2cWriteByte(i32 134, i32 194)
%34 = call i32 @VIM_SIF_I2cWriteByte(i32 135, i32 202)
%35 = call i32 @VIM_SIF_I2cWriteByte(i32 136, i32 218)
%36 = call i32 @VIM_SIF_I2cWriteByte(i32 137, i32 234)
%37 = call i32 @VIM_SIF_I2cWriteByte(i32 138, i32 249)
br label %171
38: ; preds = %1
%39 = call i32 @VIM_SIF_I2cWriteByte(i32 19, i32 226)
%40 = call i32 @VIM_SIF_I2cWriteByte(i32 108, i32 32)
%41 = call i32 @VIM_SIF_I2cWriteByte(i32 109, i32 64)
%42 = call i32 @VIM_SIF_I2cWriteByte(i32 110, i32 128)
%43 = call i32 @VIM_SIF_I2cWriteByte(i32 111, i32 144)
%44 = call i32 @VIM_SIF_I2cWriteByte(i32 112, i32 144)
%45 = call i32 @VIM_SIF_I2cWriteByte(i32 113, i32 128)
%46 = call i32 @VIM_SIF_I2cWriteByte(i32 114, i32 112)
%47 = call i32 @VIM_SIF_I2cWriteByte(i32 115, i32 112)
%48 = call i32 @VIM_SIF_I2cWriteByte(i32 116, i32 96)
%49 = call i32 @VIM_SIF_I2cWriteByte(i32 117, i32 80)
%50 = call i32 @VIM_SIF_I2cWriteByte(i32 118, i32 64)
%51 = call i32 @VIM_SIF_I2cWriteByte(i32 119, i32 64)
%52 = call i32 @VIM_SIF_I2cWriteByte(i32 120, i32 48)
%53 = call i32 @VIM_SIF_I2cWriteByte(i32 121, i32 40)
%54 = call i32 @VIM_SIF_I2cWriteByte(i32 122, i32 32)
%55 = call i32 @VIM_SIF_I2cWriteByte(i32 123, i32 29)
%56 = call i32 @VIM_SIF_I2cWriteByte(i32 124, i32 2)
%57 = call i32 @VIM_SIF_I2cWriteByte(i32 125, i32 6)
%58 = call i32 @VIM_SIF_I2cWriteByte(i32 126, i32 22)
%59 = call i32 @VIM_SIF_I2cWriteByte(i32 127, i32 58)
%60 = call i32 @VIM_SIF_I2cWriteByte(i32 128, i32 76)
%61 = call i32 @VIM_SIF_I2cWriteByte(i32 129, i32 92)
%62 = call i32 @VIM_SIF_I2cWriteByte(i32 130, i32 106)
%63 = call i32 @VIM_SIF_I2cWriteByte(i32 131, i32 120)
%64 = call i32 @VIM_SIF_I2cWriteByte(i32 132, i32 132)
%65 = call i32 @VIM_SIF_I2cWriteByte(i32 133, i32 142)
%66 = call i32 @VIM_SIF_I2cWriteByte(i32 134, i32 158)
%67 = call i32 @VIM_SIF_I2cWriteByte(i32 135, i32 174)
%68 = call i32 @VIM_SIF_I2cWriteByte(i32 136, i32 194)
%69 = call i32 @VIM_SIF_I2cWriteByte(i32 137, i32 218)
%70 = call i32 @VIM_SIF_I2cWriteByte(i32 138, i32 234)
br label %171
71: ; preds = %1
%72 = call i32 @VIM_SIF_I2cWriteByte(i32 19, i32 226)
%73 = call i32 @VIM_SIF_I2cWriteByte(i32 108, i32 64)
%74 = call i32 @VIM_SIF_I2cWriteByte(i32 109, i32 48)
%75 = call i32 @VIM_SIF_I2cWriteByte(i32 110, i32 75)
%76 = call i32 @VIM_SIF_I2cWriteByte(i32 111, i32 96)
%77 = call i32 @VIM_SIF_I2cWriteByte(i32 112, i32 112)
%78 = call i32 @VIM_SIF_I2cWriteByte(i32 113, i32 112)
%79 = call i32 @VIM_SIF_I2cWriteByte(i32 114, i32 112)
%80 = call i32 @VIM_SIF_I2cWriteByte(i32 115, i32 112)
%81 = call i32 @VIM_SIF_I2cWriteByte(i32 116, i32 96)
%82 = call i32 @VIM_SIF_I2cWriteByte(i32 117, i32 96)
%83 = call i32 @VIM_SIF_I2cWriteByte(i32 118, i32 80)
%84 = call i32 @VIM_SIF_I2cWriteByte(i32 119, i32 72)
%85 = call i32 @VIM_SIF_I2cWriteByte(i32 120, i32 58)
%86 = call i32 @VIM_SIF_I2cWriteByte(i32 121, i32 46)
%87 = call i32 @VIM_SIF_I2cWriteByte(i32 122, i32 40)
%88 = call i32 @VIM_SIF_I2cWriteByte(i32 123, i32 34)
%89 = call i32 @VIM_SIF_I2cWriteByte(i32 124, i32 4)
%90 = call i32 @VIM_SIF_I2cWriteByte(i32 125, i32 7)
%91 = call i32 @VIM_SIF_I2cWriteByte(i32 126, i32 16)
%92 = call i32 @VIM_SIF_I2cWriteByte(i32 127, i32 40)
%93 = call i32 @VIM_SIF_I2cWriteByte(i32 128, i32 54)
%94 = call i32 @VIM_SIF_I2cWriteByte(i32 129, i32 68)
%95 = call i32 @VIM_SIF_I2cWriteByte(i32 130, i32 82)
%96 = call i32 @VIM_SIF_I2cWriteByte(i32 131, i32 96)
%97 = call i32 @VIM_SIF_I2cWriteByte(i32 132, i32 108)
%98 = call i32 @VIM_SIF_I2cWriteByte(i32 133, i32 120)
%99 = call i32 @VIM_SIF_I2cWriteByte(i32 134, i32 140)
%100 = call i32 @VIM_SIF_I2cWriteByte(i32 135, i32 158)
%101 = call i32 @VIM_SIF_I2cWriteByte(i32 136, i32 187)
%102 = call i32 @VIM_SIF_I2cWriteByte(i32 137, i32 210)
%103 = call i32 @VIM_SIF_I2cWriteByte(i32 138, i32 230)
br label %171
104: ; preds = %1
%105 = call i32 @VIM_SIF_I2cWriteByte(i32 19, i32 226)
%106 = call i32 @VIM_SIF_I2cWriteByte(i32 108, i32 64)
%107 = call i32 @VIM_SIF_I2cWriteByte(i32 109, i32 80)
%108 = call i32 @VIM_SIF_I2cWriteByte(i32 110, i32 80)
%109 = call i32 @VIM_SIF_I2cWriteByte(i32 111, i32 88)
%110 = call i32 @VIM_SIF_I2cWriteByte(i32 112, i32 96)
%111 = call i32 @VIM_SIF_I2cWriteByte(i32 113, i32 96)
%112 = call i32 @VIM_SIF_I2cWriteByte(i32 114, i32 96)
%113 = call i32 @VIM_SIF_I2cWriteByte(i32 115, i32 96)
%114 = call i32 @VIM_SIF_I2cWriteByte(i32 116, i32 88)
%115 = call i32 @VIM_SIF_I2cWriteByte(i32 117, i32 88)
%116 = call i32 @VIM_SIF_I2cWriteByte(i32 118, i32 88)
%117 = call i32 @VIM_SIF_I2cWriteByte(i32 119, i32 72)
%118 = call i32 @VIM_SIF_I2cWriteByte(i32 120, i32 64)
%119 = call i32 @VIM_SIF_I2cWriteByte(i32 121, i32 48)
%120 = call i32 @VIM_SIF_I2cWriteByte(i32 122, i32 40)
%121 = call i32 @VIM_SIF_I2cWriteByte(i32 123, i32 38)
%122 = call i32 @VIM_SIF_I2cWriteByte(i32 124, i32 4)
%123 = call i32 @VIM_SIF_I2cWriteByte(i32 125, i32 9)
%124 = call i32 @VIM_SIF_I2cWriteByte(i32 126, i32 19)
%125 = call i32 @VIM_SIF_I2cWriteByte(i32 127, i32 41)
%126 = call i32 @VIM_SIF_I2cWriteByte(i32 128, i32 53)
%127 = call i32 @VIM_SIF_I2cWriteByte(i32 129, i32 65)
%128 = call i32 @VIM_SIF_I2cWriteByte(i32 130, i32 77)
%129 = call i32 @VIM_SIF_I2cWriteByte(i32 131, i32 89)
%130 = call i32 @VIM_SIF_I2cWriteByte(i32 132, i32 100)
%131 = call i32 @VIM_SIF_I2cWriteByte(i32 133, i32 111)
%132 = call i32 @VIM_SIF_I2cWriteByte(i32 134, i32 133)
%133 = call i32 @VIM_SIF_I2cWriteByte(i32 135, i32 151)
%134 = call i32 @VIM_SIF_I2cWriteByte(i32 136, i32 183)
%135 = call i32 @VIM_SIF_I2cWriteByte(i32 137, i32 207)
%136 = call i32 @VIM_SIF_I2cWriteByte(i32 138, i32 227)
br label %171
137: ; preds = %1
%138 = call i32 @VIM_SIF_I2cWriteByte(i32 19, i32 226)
%139 = call i32 @VIM_SIF_I2cWriteByte(i32 108, i32 64)
%140 = call i32 @VIM_SIF_I2cWriteByte(i32 109, i32 80)
%141 = call i32 @VIM_SIF_I2cWriteByte(i32 110, i32 88)
%142 = call i32 @VIM_SIF_I2cWriteByte(i32 111, i32 80)
%143 = call i32 @VIM_SIF_I2cWriteByte(i32 112, i32 80)
%144 = call i32 @VIM_SIF_I2cWriteByte(i32 113, i32 80)
%145 = call i32 @VIM_SIF_I2cWriteByte(i32 114, i32 80)
%146 = call i32 @VIM_SIF_I2cWriteByte(i32 115, i32 80)
%147 = call i32 @VIM_SIF_I2cWriteByte(i32 116, i32 72)
%148 = call i32 @VIM_SIF_I2cWriteByte(i32 117, i32 72)
%149 = call i32 @VIM_SIF_I2cWriteByte(i32 118, i32 72)
%150 = call i32 @VIM_SIF_I2cWriteByte(i32 119, i32 72)
%151 = call i32 @VIM_SIF_I2cWriteByte(i32 120, i32 64)
%152 = call i32 @VIM_SIF_I2cWriteByte(i32 121, i32 64)
%153 = call i32 @VIM_SIF_I2cWriteByte(i32 122, i32 48)
%154 = call i32 @VIM_SIF_I2cWriteByte(i32 123, i32 46)
%155 = call i32 @VIM_SIF_I2cWriteByte(i32 124, i32 4)
%156 = call i32 @VIM_SIF_I2cWriteByte(i32 125, i32 9)
%157 = call i32 @VIM_SIF_I2cWriteByte(i32 126, i32 20)
%158 = call i32 @VIM_SIF_I2cWriteByte(i32 127, i32 40)
%159 = call i32 @VIM_SIF_I2cWriteByte(i32 128, i32 50)
%160 = call i32 @VIM_SIF_I2cWriteByte(i32 129, i32 60)
%161 = call i32 @VIM_SIF_I2cWriteByte(i32 130, i32 70)
%162 = call i32 @VIM_SIF_I2cWriteByte(i32 131, i32 79)
%163 = call i32 @VIM_SIF_I2cWriteByte(i32 132, i32 88)
%164 = call i32 @VIM_SIF_I2cWriteByte(i32 133, i32 97)
%165 = call i32 @VIM_SIF_I2cWriteByte(i32 134, i32 115)
%166 = call i32 @VIM_SIF_I2cWriteByte(i32 135, i32 133)
%167 = call i32 @VIM_SIF_I2cWriteByte(i32 136, i32 165)
%168 = call i32 @VIM_SIF_I2cWriteByte(i32 137, i32 197)
%169 = call i32 @VIM_SIF_I2cWriteByte(i32 138, i32 221)
br label %171
170: ; preds = %1
br label %171
171: ; preds = %170, %137, %104, %71, %38, %5
ret void
}

LLVM IR (-O2):
@switch.table.SensorSetContrast_OV7660 = [5 x i32] [i32 32, i32 32, i32 64, i32 64, i32 64]
@switch.table.SensorSetContrast_OV7660.1 = [5 x i32] [i32 80, i32 64, i32 48, i32 80, i32 80]
@switch.table.SensorSetContrast_OV7660.2 = [5 x i32] [i32 128, i32 128, i32 75, i32 80, i32 88]
@switch.table.SensorSetContrast_OV7660.3 = [5 x i32] [i32 192, i32 144, i32 96, i32 88, i32 80]
@switch.table.SensorSetContrast_OV7660.4 = [5 x i32] [i32 192, i32 144, i32 112, i32 96, i32 80]
@switch.table.SensorSetContrast_OV7660.5 = [5 x i32] [i32 160, i32 128, i32 112, i32 96, i32 80]
@switch.table.SensorSetContrast_OV7660.6 = [5 x i32] [i32 144, i32 112, i32 112, i32 96, i32 80]
@switch.table.SensorSetContrast_OV7660.7 = [5 x i32] [i32 120, i32 112, i32 112, i32 96, i32 80]
@switch.table.SensorSetContrast_OV7660.8 = [5 x i32] [i32 120, i32 96, i32 96, i32 88, i32 72]
@switch.table.SensorSetContrast_OV7660.9 = [5 x i32] [i32 120, i32 80, i32 96, i32 88, i32 72]
@switch.table.SensorSetContrast_OV7660.10 = [5 x i32] [i32 64, i32 64, i32 80, i32 88, i32 72]
@switch.table.SensorSetContrast_OV7660.11 = [5 x i32] [i32 32, i32 64, i32 72, i32 72, i32 72]
@switch.table.SensorSetContrast_OV7660.12 = [5 x i32] [i32 32, i32 48, i32 58, i32 64, i32 64]
@switch.table.SensorSetContrast_OV7660.13 = [5 x i32] [i32 32, i32 40, i32 46, i32 48, i32 64]
@switch.table.SensorSetContrast_OV7660.14 = [5 x i32] [i32 30, i32 32, i32 40, i32 40, i32 48]
@switch.table.SensorSetContrast_OV7660.15 = [5 x i32] [i32 9, i32 29, i32 34, i32 38, i32 46]
@switch.table.SensorSetContrast_OV7660.16 = [5 x i32] [i32 2, i32 2, i32 4, i32 4, i32 4]
@switch.table.SensorSetContrast_OV7660.17 = [5 x i32] [i32 7, i32 6, i32 7, i32 9, i32 9]
@switch.table.SensorSetContrast_OV7660.18 = [5 x i32] [i32 23, i32 22, i32 16, i32 19, i32 20]
@switch.table.SensorSetContrast_OV7660.19 = [5 x i32] [i32 71, i32 58, i32 40, i32 41, i32 40]
@switch.table.SensorSetContrast_OV7660.20 = [5 x i32] [i32 95, i32 76, i32 54, i32 53, i32 50]
@switch.table.SensorSetContrast_OV7660.21 = [5 x i32] [i32 115, i32 92, i32 68, i32 65, i32 60]
@switch.table.SensorSetContrast_OV7660.22 = [5 x i32] [i32 133, i32 106, i32 82, i32 77, i32 70]
@switch.table.SensorSetContrast_OV7660.23 = [5 x i32] [i32 148, i32 120, i32 96, i32 89, i32 79]
@switch.table.SensorSetContrast_OV7660.24 = [5 x i32] [i32 163, i32 132, i32 108, i32 100, i32 88]
@switch.table.SensorSetContrast_OV7660.25 = [5 x i32] [i32 178, i32 142, i32 120, i32 111, i32 97]
@switch.table.SensorSetContrast_OV7660.26 = [5 x i32] [i32 194, i32 158, i32 140, i32 133, i32 115]
@switch.table.SensorSetContrast_OV7660.27 = [5 x i32] [i32 202, i32 174, i32 158, i32 151, i32 133]
@switch.table.SensorSetContrast_OV7660.28 = [5 x i32] [i32 218, i32 194, i32 187, i32 183, i32 165]
@switch.table.SensorSetContrast_OV7660.29 = [5 x i32] [i32 234, i32 218, i32 210, i32 207, i32 197]
@switch.table.SensorSetContrast_OV7660.30 = [5 x i32] [i32 249, i32 234, i32 230, i32 227, i32 221]
define void @SensorSetContrast_OV7660(i8 zeroext %0) {
%2 = add i8 %0, -1
%3 = icmp ult i8 %2, 5
br i1 %3, label %4, label %130
4: ; preds = %1
%5 = sext i8 %2 to i64
%6 = getelementptr inbounds [5 x i32], [5 x i32]* @switch.table.SensorSetContrast_OV7660, 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_OV7660.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_OV7660.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_OV7660.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_OV7660.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_OV7660.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_OV7660.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_OV7660.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_OV7660.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_OV7660.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_OV7660.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_OV7660.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_OV7660.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_OV7660.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_OV7660.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_OV7660.15, i64 0, i64 %50
%52 = load i32, i32* %51
%53 = sext i8 %2 to i64
%54 = getelementptr inbounds [5 x i32], [5 x i32]* @switch.table.SensorSetContrast_OV7660.16, i64 0, i64 %53
%55 = load i32, i32* %54
%56 = sext i8 %2 to i64
%57 = getelementptr inbounds [5 x i32], [5 x i32]* @switch.table.SensorSetContrast_OV7660.17, i64 0, i64 %56
%58 = load i32, i32* %57
%59 = sext i8 %2 to i64
%60 = getelementptr inbounds [5 x i32], [5 x i32]* @switch.table.SensorSetContrast_OV7660.18, i64 0, i64 %59
%61 = load i32, i32* %60
%62 = sext i8 %2 to i64
%63 = getelementptr inbounds [5 x i32], [5 x i32]* @switch.table.SensorSetContrast_OV7660.19, i64 0, i64 %62
%64 = load i32, i32* %63
%65 = sext i8 %2 to i64
%66 = getelementptr inbounds [5 x i32], [5 x i32]* @switch.table.SensorSetContrast_OV7660.20, i64 0, i64 %65
%67 = load i32, i32* %66
%68 = sext i8 %2 to i64
%69 = getelementptr inbounds [5 x i32], [5 x i32]* @switch.table.SensorSetContrast_OV7660.21, i64 0, i64 %68
%70 = load i32, i32* %69
%71 = sext i8 %2 to i64
%72 = getelementptr inbounds [5 x i32], [5 x i32]* @switch.table.SensorSetContrast_OV7660.22, i64 0, i64 %71
%73 = load i32, i32* %72
%74 = sext i8 %2 to i64
%75 = getelementptr inbounds [5 x i32], [5 x i32]* @switch.table.SensorSetContrast_OV7660.23, i64 0, i64 %74
%76 = load i32, i32* %75
%77 = sext i8 %2 to i64
%78 = getelementptr inbounds [5 x i32], [5 x i32]* @switch.table.SensorSetContrast_OV7660.24, i64 0, i64 %77
%79 = load i32, i32* %78
%80 = sext i8 %2 to i64
%81 = getelementptr inbounds [5 x i32], [5 x i32]* @switch.table.SensorSetContrast_OV7660.25, i64 0, i64 %80
%82 = load i32, i32* %81
%83 = sext i8 %2 to i64
%84 = getelementptr inbounds [5 x i32], [5 x i32]* @switch.table.SensorSetContrast_OV7660.26, i64 0, i64 %83
%85 = load i32, i32* %84
%86 = sext i8 %2 to i64
%87 = getelementptr inbounds [5 x i32], [5 x i32]* @switch.table.SensorSetContrast_OV7660.27, i64 0, i64 %86
%88 = load i32, i32* %87
%89 = sext i8 %2 to i64
%90 = getelementptr inbounds [5 x i32], [5 x i32]* @switch.table.SensorSetContrast_OV7660.28, i64 0, i64 %89
%91 = load i32, i32* %90
%92 = sext i8 %2 to i64
%93 = getelementptr inbounds [5 x i32], [5 x i32]* @switch.table.SensorSetContrast_OV7660.29, i64 0, i64 %92
%94 = load i32, i32* %93
%95 = sext i8 %2 to i64
%96 = getelementptr inbounds [5 x i32], [5 x i32]* @switch.table.SensorSetContrast_OV7660.30, i64 0, i64 %95
%97 = load i32, i32* %96
%98 = tail call i32 @VIM_SIF_I2cWriteByte(i32 19, i32 226)
%99 = tail call i32 @VIM_SIF_I2cWriteByte(i32 108, i32 %7)
%100 = tail call i32 @VIM_SIF_I2cWriteByte(i32 109, i32 %10)
%101 = tail call i32 @VIM_SIF_I2cWriteByte(i32 110, i32 %13)
%102 = tail call i32 @VIM_SIF_I2cWriteByte(i32 111, i32 %16)
%103 = tail call i32 @VIM_SIF_I2cWriteByte(i32 112, i32 %19)
%104 = tail call i32 @VIM_SIF_I2cWriteByte(i32 113, i32 %22)
%105 = tail call i32 @VIM_SIF_I2cWriteByte(i32 114, i32 %25)
%106 = tail call i32 @VIM_SIF_I2cWriteByte(i32 115, i32 %28)
%107 = tail call i32 @VIM_SIF_I2cWriteByte(i32 116, i32 %31)
%108 = tail call i32 @VIM_SIF_I2cWriteByte(i32 117, i32 %34)
%109 = tail call i32 @VIM_SIF_I2cWriteByte(i32 118, i32 %37)
%110 = tail call i32 @VIM_SIF_I2cWriteByte(i32 119, i32 %40)
%111 = tail call i32 @VIM_SIF_I2cWriteByte(i32 120, i32 %43)
%112 = tail call i32 @VIM_SIF_I2cWriteByte(i32 121, i32 %46)
%113 = tail call i32 @VIM_SIF_I2cWriteByte(i32 122, i32 %49)
%114 = tail call i32 @VIM_SIF_I2cWriteByte(i32 123, i32 %52)
%115 = tail call i32 @VIM_SIF_I2cWriteByte(i32 124, i32 %55)
%116 = tail call i32 @VIM_SIF_I2cWriteByte(i32 125, i32 %58)
%117 = tail call i32 @VIM_SIF_I2cWriteByte(i32 126, i32 %61)
%118 = tail call i32 @VIM_SIF_I2cWriteByte(i32 127, i32 %64)
%119 = tail call i32 @VIM_SIF_I2cWriteByte(i32 128, i32 %67)
%120 = tail call i32 @VIM_SIF_I2cWriteByte(i32 129, i32 %70)
%121 = tail call i32 @VIM_SIF_I2cWriteByte(i32 130, i32 %73)
%122 = tail call i32 @VIM_SIF_I2cWriteByte(i32 131, i32 %76)
%123 = tail call i32 @VIM_SIF_I2cWriteByte(i32 132, i32 %79)
%124 = tail call i32 @VIM_SIF_I2cWriteByte(i32 133, i32 %82)
%125 = tail call i32 @VIM_SIF_I2cWriteByte(i32 134, i32 %85)
%126 = tail call i32 @VIM_SIF_I2cWriteByte(i32 135, i32 %88)
%127 = tail call i32 @VIM_SIF_I2cWriteByte(i32 136, i32 %91)
%128 = tail call i32 @VIM_SIF_I2cWriteByte(i32 137, i32 %94)
%129 = tail call i32 @VIM_SIF_I2cWriteByte(i32 138, i32 %97)
br label %130
130: ; preds = %1, %4
ret void
}