#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*/ PRINTF(void *, char *);
int /*<<< orphan*/ fc8150_read(void *, int, unsigned char *);
int /*<<< orphan*/ fc8150_set_filter(void *);
int /*<<< orphan*/ fc8150_write(void *, int, int);
int fc8150_tuner_init(void *hDevice, unsigned int band) {
  int i;
  int n_RFAGC_PD1_AVG, n_RFAGC_PD2_AVG;
  unsigned char RFPD_REF;
  unsigned char RFAGC_PD2[6], RFAGC_PD2_AVG, RFAGC_PD2_MAX, RFAGC_PD2_MIN;
  unsigned char RFAGC_PD1[6], RFAGC_PD1_AVG, RFAGC_PD1_MAX, RFAGC_PD1_MIN;
  PRINTF(hDevice, "fc8150_init\n");
  fc8150_write(hDevice, 0x00, 0x00);
  fc8150_write(hDevice, 0x02, 0x81);
  fc8150_write(hDevice, 0x15, 0x02);
  fc8150_write(hDevice, 0x20, 0x33);
  fc8150_write(hDevice, 0x28, 0x62);
  fc8150_write(hDevice, 0x35, 0xAA);
  fc8150_write(hDevice, 0x38, 0x28);
  fc8150_write(hDevice, 0x3B, 0x01);
  fc8150_set_filter(hDevice);
  fc8150_write(hDevice, 0x3B, 0x00);
  fc8150_write(hDevice, 0x56, 0x01);
  fc8150_write(hDevice, 0x57, 0x86);
  fc8150_write(hDevice, 0x58, 0xA7);
  fc8150_write(hDevice, 0x59, 0x4D);
  fc8150_write(hDevice, 0x80, 0x17);
  fc8150_write(hDevice, 0xAB, 0x48);
  fc8150_write(hDevice, 0xA0, 0xC0);
  fc8150_write(hDevice, 0xD0, 0x00);
  RFAGC_PD1[0] = 0;
  RFAGC_PD1[1] = 0;
  RFAGC_PD1[2] = 0;
  RFAGC_PD1[3] = 0;
  RFAGC_PD1[4] = 0;
  RFAGC_PD1[5] = 0;
  RFAGC_PD1_MAX = 0;
  RFAGC_PD1_MIN = 255;
  for (i = 0; i < 6; i++) {
    fc8150_read(hDevice, 0xD8, &RFAGC_PD1[i]);
    if (RFAGC_PD1[i] >= RFAGC_PD1_MAX)
      RFAGC_PD1_MAX = RFAGC_PD1[i];
    if (RFAGC_PD1[i] <= RFAGC_PD1_MIN)
      RFAGC_PD1_MIN = RFAGC_PD1[i];
  }
  n_RFAGC_PD1_AVG =
      (RFAGC_PD1[0] + RFAGC_PD1[1] + RFAGC_PD1[2] + RFAGC_PD1[3] +
       RFAGC_PD1[4] + RFAGC_PD1[5] - RFAGC_PD1_MAX - RFAGC_PD1_MIN) /
      4;
  RFAGC_PD1_AVG = (unsigned char)n_RFAGC_PD1_AVG;
  fc8150_write(hDevice, 0x7F, RFAGC_PD1_AVG);
  RFAGC_PD2[0] = 0;
  RFAGC_PD2[1] = 0;
  RFAGC_PD2[2] = 0;
  RFAGC_PD2[3] = 0;
  RFAGC_PD2[4] = 0;
  RFAGC_PD2[5] = 0;
  RFAGC_PD2_MAX = 0;
  RFAGC_PD2_MIN = 255;
  for (i = 0; i < 6; i++) {
    fc8150_read(hDevice, 0xD6, &RFAGC_PD2[i]);
    if (RFAGC_PD2[i] >= RFAGC_PD2_MAX)
      RFAGC_PD2_MAX = RFAGC_PD2[i];
    if (RFAGC_PD2[i] <= RFAGC_PD2_MIN)
      RFAGC_PD2_MIN = RFAGC_PD2[i];
  }
  n_RFAGC_PD2_AVG =
      (RFAGC_PD2[0] + RFAGC_PD2[1] + RFAGC_PD2[2] + RFAGC_PD2[3] +
       RFAGC_PD2[4] + RFAGC_PD2[5] - RFAGC_PD2_MAX - RFAGC_PD2_MIN) /
      4;
  RFAGC_PD2_AVG = (unsigned char)n_RFAGC_PD2_AVG;
  fc8150_write(hDevice, 0x7E, RFAGC_PD2_AVG);
  fc8150_read(hDevice, 0xD6, &RFPD_REF);
  if (0x80 <= RFPD_REF)
    fc8150_write(hDevice, 0x7B, 0x8F);
  else if (RFPD_REF < 0x80)
    fc8150_write(hDevice, 0x7B, 0x88);
  fc8150_write(hDevice, 0x79, 0x32);
  fc8150_write(hDevice, 0x7A, 0x2C);
  fc8150_write(hDevice, 0x7C, 0x12);
  fc8150_write(hDevice, 0x7D, 0x0C);
  fc8150_write(hDevice, 0x81, 0x0A);
  fc8150_write(hDevice, 0x84, 0x00);
  fc8150_write(hDevice, 0x92, 0x00);
  fc8150_write(hDevice, 0x93, 0x0C);
  fc8150_write(hDevice, 0xA5, 0x69);
  fc8150_write(hDevice, 0xA6, 0x25);
  fc8150_write(hDevice, 0x02, 0x81);
  return 0;
}


x86 assembly (clang, -O0):
<fc8150_tuner_init>:
push   %rbp
mov    %rsp,%rbp
sub    $0x30,%rsp
mov    %rdi,-0x8(%rbp)
mov    %esi,-0xc(%rbp)
mov    -0x8(%rbp),%rdi
lea    0xea6(%rip),%rsi
call   1060 <PRINTF@plt>
mov    -0x8(%rbp),%rdi
xor    %edx,%edx
mov    %edx,%esi
call   1040 <fc8150_write@plt>
mov    -0x8(%rbp),%rdi
mov    $0x2,%esi
mov    $0x81,%edx
call   1040 <fc8150_write@plt>
mov    -0x8(%rbp),%rdi
mov    $0x15,%esi
mov    $0x2,%edx
call   1040 <fc8150_write@plt>
mov    -0x8(%rbp),%rdi
mov    $0x20,%esi
mov    $0x33,%edx
call   1040 <fc8150_write@plt>
mov    -0x8(%rbp),%rdi
mov    $0x28,%esi
mov    $0x62,%edx
call   1040 <fc8150_write@plt>
mov    -0x8(%rbp),%rdi
mov    $0x35,%esi
mov    $0xaa,%edx
call   1040 <fc8150_write@plt>
mov    -0x8(%rbp),%rdi
mov    $0x38,%esi
mov    $0x28,%edx
call   1040 <fc8150_write@plt>
mov    -0x8(%rbp),%rdi
mov    $0x3b,%esi
mov    $0x1,%edx
call   1040 <fc8150_write@plt>
mov    -0x8(%rbp),%rdi
call   1050 <fc8150_set_filter@plt>
mov    -0x8(%rbp),%rdi
mov    $0x3b,%esi
xor    %edx,%edx
call   1040 <fc8150_write@plt>
mov    -0x8(%rbp),%rdi
mov    $0x56,%esi
mov    $0x1,%edx
call   1040 <fc8150_write@plt>
mov    -0x8(%rbp),%rdi
mov    $0x57,%esi
mov    $0x86,%edx
call   1040 <fc8150_write@plt>
mov    -0x8(%rbp),%rdi
mov    $0x58,%esi
mov    $0xa7,%edx
call   1040 <fc8150_write@plt>
mov    -0x8(%rbp),%rdi
mov    $0x59,%esi
mov    $0x4d,%edx
call   1040 <fc8150_write@plt>
mov    -0x8(%rbp),%rdi
mov    $0x80,%esi
mov    $0x17,%edx
call   1040 <fc8150_write@plt>
mov    -0x8(%rbp),%rdi
mov    $0xab,%esi
mov    $0x48,%edx
call   1040 <fc8150_write@plt>
mov    -0x8(%rbp),%rdi
mov    $0xa0,%esi
mov    $0xc0,%edx
call   1040 <fc8150_write@plt>
mov    -0x8(%rbp),%rdi
mov    $0xd0,%esi
xor    %edx,%edx
call   1040 <fc8150_write@plt>
movb   $0x0,-0x28(%rbp)
movb   $0x0,-0x27(%rbp)
movb   $0x0,-0x26(%rbp)
movb   $0x0,-0x25(%rbp)
movb   $0x0,-0x24(%rbp)
movb   $0x0,-0x23(%rbp)
movb   $0x0,-0x2a(%rbp)
movb   $0xff,-0x2b(%rbp)
movl   $0x0,-0x10(%rbp)
cmpl   $0x6,-0x10(%rbp)
jge    133c <fc8150_tuner_init+0x1fc>
mov    -0x8(%rbp),%rdi
movslq -0x10(%rbp),%rax
lea    -0x28(%rbp),%rdx
add    %rax,%rdx
mov    $0xd8,%esi
call   1030 <fc8150_read@plt>
movslq -0x10(%rbp),%rax
movzbl -0x28(%rbp,%rax,1),%eax
movzbl -0x2a(%rbp),%ecx
cmp    %ecx,%eax
jl     1309 <fc8150_tuner_init+0x1c9>
movslq -0x10(%rbp),%rax
mov    -0x28(%rbp,%rax,1),%al
mov    %al,-0x2a(%rbp)
movslq -0x10(%rbp),%rax
movzbl -0x28(%rbp,%rax,1),%eax
movzbl -0x2b(%rbp),%ecx
cmp    %ecx,%eax
jg     1329 <fc8150_tuner_init+0x1e9>
movslq -0x10(%rbp),%rax
mov    -0x28(%rbp,%rax,1),%al
mov    %al,-0x2b(%rbp)
jmp    132e <fc8150_tuner_init+0x1ee>
mov    -0x10(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x10(%rbp)
jmp    12c6 <fc8150_tuner_init+0x186>
movzbl -0x28(%rbp),%eax
movzbl -0x27(%rbp),%ecx
add    %ecx,%eax
movzbl -0x26(%rbp),%ecx
add    %ecx,%eax
movzbl -0x25(%rbp),%ecx
add    %ecx,%eax
movzbl -0x24(%rbp),%ecx
add    %ecx,%eax
movzbl -0x23(%rbp),%ecx
add    %ecx,%eax
movzbl -0x2a(%rbp),%ecx
sub    %ecx,%eax
movzbl -0x2b(%rbp),%ecx
sub    %ecx,%eax
mov    $0x4,%ecx
cltd
idiv   %ecx
mov    %eax,-0x14(%rbp)
mov    -0x14(%rbp),%eax
mov    %al,-0x29(%rbp)
mov    -0x8(%rbp),%rdi
movzbl -0x29(%rbp),%edx
mov    $0x7f,%esi
call   1040 <fc8150_write@plt>
movb   $0x0,-0x1f(%rbp)
movb   $0x0,-0x1e(%rbp)
movb   $0x0,-0x1d(%rbp)
movb   $0x0,-0x1c(%rbp)
movb   $0x0,-0x1b(%rbp)
movb   $0x0,-0x1a(%rbp)
movb   $0x0,-0x21(%rbp)
movb   $0xff,-0x22(%rbp)
movl   $0x0,-0x10(%rbp)
cmpl   $0x6,-0x10(%rbp)
jge    142a <fc8150_tuner_init+0x2ea>
mov    -0x8(%rbp),%rdi
movslq -0x10(%rbp),%rax
lea    -0x1f(%rbp),%rdx
add    %rax,%rdx
mov    $0xd6,%esi
call   1030 <fc8150_read@plt>
movslq -0x10(%rbp),%rax
movzbl -0x1f(%rbp,%rax,1),%eax
movzbl -0x21(%rbp),%ecx
cmp    %ecx,%eax
jl     13f7 <fc8150_tuner_init+0x2b7>
movslq -0x10(%rbp),%rax
mov    -0x1f(%rbp,%rax,1),%al
mov    %al,-0x21(%rbp)
movslq -0x10(%rbp),%rax
movzbl -0x1f(%rbp,%rax,1),%eax
movzbl -0x22(%rbp),%ecx
cmp    %ecx,%eax
jg     1417 <fc8150_tuner_init+0x2d7>
movslq -0x10(%rbp),%rax
mov    -0x1f(%rbp,%rax,1),%al
mov    %al,-0x22(%rbp)
jmp    141c <fc8150_tuner_init+0x2dc>
mov    -0x10(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x10(%rbp)
jmp    13b4 <fc8150_tuner_init+0x274>
movzbl -0x1f(%rbp),%eax
movzbl -0x1e(%rbp),%ecx
add    %ecx,%eax
movzbl -0x1d(%rbp),%ecx
add    %ecx,%eax
movzbl -0x1c(%rbp),%ecx
add    %ecx,%eax
movzbl -0x1b(%rbp),%ecx
add    %ecx,%eax
movzbl -0x1a(%rbp),%ecx
add    %ecx,%eax
movzbl -0x21(%rbp),%ecx
sub    %ecx,%eax
movzbl -0x22(%rbp),%ecx
sub    %ecx,%eax
mov    $0x4,%ecx
cltd
idiv   %ecx
mov    %eax,-0x18(%rbp)
mov    -0x18(%rbp),%eax
mov    %al,-0x20(%rbp)
mov    -0x8(%rbp),%rdi
movzbl -0x20(%rbp),%edx
mov    $0x7e,%esi
call   1040 <fc8150_write@plt>
mov    -0x8(%rbp),%rdi
mov    $0xd6,%esi
lea    -0x19(%rbp),%rdx
call   1030 <fc8150_read@plt>
movzbl -0x19(%rbp),%ecx
mov    $0x80,%eax
cmp    %ecx,%eax
jg     14b6 <fc8150_tuner_init+0x376>
mov    -0x8(%rbp),%rdi
mov    $0x7b,%esi
mov    $0x8f,%edx
call   1040 <fc8150_write@plt>
jmp    14dd <fc8150_tuner_init+0x39d>
movzbl -0x19(%rbp),%eax
cmp    $0x80,%eax
jge    14d8 <fc8150_tuner_init+0x398>
mov    -0x8(%rbp),%rdi
mov    $0x7b,%esi
mov    $0x88,%edx
call   1040 <fc8150_write@plt>
jmp    14dd <fc8150_tuner_init+0x39d>
mov    -0x8(%rbp),%rdi
mov    $0x79,%esi
mov    $0x32,%edx
call   1040 <fc8150_write@plt>
mov    -0x8(%rbp),%rdi
mov    $0x7a,%esi
mov    $0x2c,%edx
call   1040 <fc8150_write@plt>
mov    -0x8(%rbp),%rdi
mov    $0x7c,%esi
mov    $0x12,%edx
call   1040 <fc8150_write@plt>
mov    -0x8(%rbp),%rdi
mov    $0x7d,%esi
mov    $0xc,%edx
call   1040 <fc8150_write@plt>
mov    -0x8(%rbp),%rdi
mov    $0x81,%esi
mov    $0xa,%edx
call   1040 <fc8150_write@plt>
mov    -0x8(%rbp),%rdi
mov    $0x84,%esi
xor    %edx,%edx
call   1040 <fc8150_write@plt>
mov    -0x8(%rbp),%rdi
mov    $0x92,%esi
xor    %edx,%edx
call   1040 <fc8150_write@plt>
mov    -0x8(%rbp),%rdi
mov    $0x93,%esi
mov    $0xc,%edx
call   1040 <fc8150_write@plt>
mov    -0x8(%rbp),%rdi
mov    $0xa5,%esi
mov    $0x69,%edx
call   1040 <fc8150_write@plt>
mov    -0x8(%rbp),%rdi
mov    $0xa6,%esi
mov    $0x25,%edx
call   1040 <fc8150_write@plt>
mov    -0x8(%rbp),%rdi
mov    $0x2,%esi
mov    $0x81,%edx
call   1040 <fc8150_write@plt>
xor    %eax,%eax
add    $0x30,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<fc8150_tuner_init>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x18,%rsp
mov    %rdi,%rbx
lea    0xea8(%rip),%rsi
call   1060 <PRINTF@plt>
mov    %rbx,%rdi
xor    %esi,%esi
xor    %edx,%edx
call   1040 <fc8150_write@plt>
mov    %rbx,%rdi
mov    $0x2,%esi
mov    $0x81,%edx
call   1040 <fc8150_write@plt>
mov    %rbx,%rdi
mov    $0x15,%esi
mov    $0x2,%edx
call   1040 <fc8150_write@plt>
mov    %rbx,%rdi
mov    $0x20,%esi
mov    $0x33,%edx
call   1040 <fc8150_write@plt>
mov    %rbx,%rdi
mov    $0x28,%esi
mov    $0x62,%edx
call   1040 <fc8150_write@plt>
mov    %rbx,%rdi
mov    $0x35,%esi
mov    $0xaa,%edx
call   1040 <fc8150_write@plt>
mov    %rbx,%rdi
mov    $0x38,%esi
mov    $0x28,%edx
call   1040 <fc8150_write@plt>
mov    %rbx,%rdi
mov    $0x3b,%esi
mov    $0x1,%edx
call   1040 <fc8150_write@plt>
mov    %rbx,%rdi
call   1050 <fc8150_set_filter@plt>
mov    %rbx,%rdi
mov    $0x3b,%esi
xor    %edx,%edx
call   1040 <fc8150_write@plt>
mov    %rbx,%rdi
mov    $0x56,%esi
mov    $0x1,%edx
call   1040 <fc8150_write@plt>
mov    %rbx,%rdi
mov    $0x57,%esi
mov    $0x86,%edx
call   1040 <fc8150_write@plt>
mov    %rbx,%rdi
mov    $0x58,%esi
mov    $0xa7,%edx
call   1040 <fc8150_write@plt>
mov    %rbx,%rdi
mov    $0x59,%esi
mov    $0x4d,%edx
call   1040 <fc8150_write@plt>
mov    %rbx,%rdi
mov    $0x80,%esi
mov    $0x17,%edx
call   1040 <fc8150_write@plt>
mov    %rbx,%rdi
mov    $0xab,%esi
mov    $0x48,%edx
call   1040 <fc8150_write@plt>
mov    %rbx,%rdi
mov    $0xa0,%esi
mov    $0xc0,%edx
call   1040 <fc8150_write@plt>
mov    %rbx,%rdi
mov    $0xd0,%esi
xor    %edx,%edx
call   1040 <fc8150_write@plt>
lea    0x9(%rsp),%rbp
lea    0xa(%rsp),%r13
lea    0xb(%rsp),%r12
movl   $0x0,0x8(%rsp)
movw   $0x0,0xc(%rsp)
lea    0x8(%rsp),%rdx
mov    %rbx,%rdi
mov    $0xd8,%esi
call   1030 <fc8150_read@plt>
mov    0x8(%rsp),%r15d
mov    %rbx,%rdi
mov    $0xd8,%esi
mov    %rbp,%rdx
call   1030 <fc8150_read@plt>
movzbl 0x9(%rsp),%ebp
cmp    %r15b,%bpl
mov    %ebp,%r14d
cmovb  %r15d,%r14d
cmova  %r15d,%ebp
mov    %rbx,%rdi
mov    $0xd8,%esi
mov    %r13,%rdx
call   1030 <fc8150_read@plt>
movzbl 0xa(%rsp),%eax
cmp    %r14b,%al
cmovae %eax,%r14d
cmp    %bpl,%al
cmovbe %eax,%ebp
mov    %rbx,%rdi
mov    $0xd8,%esi
mov    %r12,%rdx
call   1030 <fc8150_read@plt>
movzbl 0xb(%rsp),%eax
cmp    %r14b,%al
cmovae %eax,%r14d
cmp    %bpl,%al
cmovbe %eax,%ebp
mov    %rbx,%rdi
mov    $0xd8,%esi
lea    0xc(%rsp),%rdx
call   1030 <fc8150_read@plt>
mov    0xc(%rsp),%eax
cmp    %r14b,%al
cmovae %eax,%r14d
cmp    %bpl,%al
cmovbe %eax,%ebp
mov    %rbx,%rdi
mov    $0xd8,%esi
lea    0xd(%rsp),%rdx
call   1030 <fc8150_read@plt>
movzbl 0xd(%rsp),%eax
cmp    %r14b,%al
cmovae %eax,%r14d
cmp    %bpl,%al
cmovbe %eax,%ebp
movzbl 0x8(%rsp),%ecx
movzbl 0x9(%rsp),%edx
movzbl 0xa(%rsp),%esi
movzbl 0xb(%rsp),%r9d
movzbl 0xc(%rsp),%r8d
movzbl %r14b,%edi
movzbl %bpl,%ebp
add    %edi,%ebp
sub    %ebp,%ecx
add    %edx,%ecx
add    %esi,%ecx
add    %r9d,%ecx
add    %r8d,%ecx
lea    (%rax,%rcx,1),%edx
add    $0x3,%edx
add    %eax,%ecx
test   %cx,%cx
cmovns %ecx,%edx
shr    $0x2,%edx
movzbl %dl,%edx
mov    %rbx,%rdi
mov    $0x7f,%esi
call   1040 <fc8150_write@plt>
lea    0x11(%rsp),%rbp
lea    0x12(%rsp),%r13
lea    0x13(%rsp),%r12
movl   $0x0,0x10(%rsp)
movw   $0x0,0x14(%rsp)
lea    0x10(%rsp),%rdx
mov    %rbx,%rdi
mov    $0xd6,%esi
call   1030 <fc8150_read@plt>
mov    0x10(%rsp),%r15d
mov    %rbx,%rdi
mov    $0xd6,%esi
mov    %rbp,%rdx
call   1030 <fc8150_read@plt>
movzbl 0x11(%rsp),%ebp
cmp    %r15b,%bpl
mov    %ebp,%r14d
cmovb  %r15d,%r14d
cmova  %r15d,%ebp
mov    %rbx,%rdi
mov    $0xd6,%esi
mov    %r13,%rdx
call   1030 <fc8150_read@plt>
movzbl 0x12(%rsp),%eax
cmp    %r14b,%al
cmovae %eax,%r14d
cmp    %bpl,%al
cmovbe %eax,%ebp
mov    %rbx,%rdi
mov    $0xd6,%esi
mov    %r12,%rdx
call   1030 <fc8150_read@plt>
movzbl 0x13(%rsp),%eax
cmp    %r14b,%al
cmovae %eax,%r14d
cmp    %bpl,%al
cmovbe %eax,%ebp
mov    %rbx,%rdi
mov    $0xd6,%esi
lea    0x14(%rsp),%rdx
call   1030 <fc8150_read@plt>
mov    0x14(%rsp),%eax
cmp    %r14b,%al
cmovae %eax,%r14d
cmp    %bpl,%al
cmovbe %eax,%ebp
mov    %rbx,%rdi
mov    $0xd6,%esi
lea    0x15(%rsp),%rdx
call   1030 <fc8150_read@plt>
movzbl 0x15(%rsp),%eax
cmp    %r14b,%al
cmovae %eax,%r14d
cmp    %bpl,%al
cmovbe %eax,%ebp
movzbl 0x10(%rsp),%ecx
movzbl 0x11(%rsp),%edx
movzbl 0x12(%rsp),%esi
movzbl 0x13(%rsp),%r9d
movzbl 0x14(%rsp),%r8d
movzbl %r14b,%edi
movzbl %bpl,%ebp
add    %edi,%ebp
sub    %ebp,%ecx
add    %edx,%ecx
add    %esi,%ecx
add    %r9d,%ecx
add    %r8d,%ecx
lea    (%rax,%rcx,1),%edx
add    $0x3,%edx
add    %eax,%ecx
test   %cx,%cx
cmovns %ecx,%edx
shr    $0x2,%edx
movzbl %dl,%edx
mov    %rbx,%rdi
mov    $0x7e,%esi
call   1040 <fc8150_write@plt>
lea    0x17(%rsp),%rdx
mov    %rbx,%rdi
mov    $0xd6,%esi
call   1030 <fc8150_read@plt>
cmpb   $0x0,0x17(%rsp)
mov    $0x8f,%eax
mov    $0x88,%edx
cmovs  %eax,%edx
mov    %rbx,%rdi
mov    $0x7b,%esi
call   1040 <fc8150_write@plt>
mov    %rbx,%rdi
mov    $0x79,%esi
mov    $0x32,%edx
call   1040 <fc8150_write@plt>
mov    %rbx,%rdi
mov    $0x7a,%esi
mov    $0x2c,%edx
call   1040 <fc8150_write@plt>
mov    %rbx,%rdi
mov    $0x7c,%esi
mov    $0x12,%edx
call   1040 <fc8150_write@plt>
mov    %rbx,%rdi
mov    $0x7d,%esi
mov    $0xc,%edx
call   1040 <fc8150_write@plt>
mov    %rbx,%rdi
mov    $0x81,%esi
mov    $0xa,%edx
call   1040 <fc8150_write@plt>
mov    %rbx,%rdi
mov    $0x84,%esi
xor    %edx,%edx
call   1040 <fc8150_write@plt>
mov    %rbx,%rdi
mov    $0x92,%esi
xor    %edx,%edx
call   1040 <fc8150_write@plt>
mov    %rbx,%rdi
mov    $0x93,%esi
mov    $0xc,%edx
call   1040 <fc8150_write@plt>
mov    %rbx,%rdi
mov    $0xa5,%esi
mov    $0x69,%edx
call   1040 <fc8150_write@plt>
mov    %rbx,%rdi
mov    $0xa6,%esi
mov    $0x25,%edx
call   1040 <fc8150_write@plt>
mov    %rbx,%rdi
mov    $0x2,%esi
mov    $0x81,%edx
call   1040 <fc8150_write@plt>
xor    %eax,%eax
add    $0x18,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@.str = [13 x i8] c"fc8150_init\0A\00"
define i32 @fc8150_tuner_init(i8* %0, i32 %1) {
%3 = alloca i8*
%4 = alloca i32
%5 = alloca i32
%6 = alloca i32
%7 = alloca i32
%8 = alloca i8
%9 = alloca [6 x i8]
%10 = alloca i8
%11 = alloca i8
%12 = alloca i8
%13 = alloca [6 x i8]
%14 = alloca i8
%15 = alloca i8
%16 = alloca i8
store i8* %0, i8** %3
store i32 %1, i32* %4
%17 = load i8*, i8** %3
%18 = call i32 @PRINTF(i8* %17, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str, i64 0, i64 0))
%19 = load i8*, i8** %3
%20 = call i32 @fc8150_write(i8* %19, i32 0, i32 0)
%21 = load i8*, i8** %3
%22 = call i32 @fc8150_write(i8* %21, i32 2, i32 129)
%23 = load i8*, i8** %3
%24 = call i32 @fc8150_write(i8* %23, i32 21, i32 2)
%25 = load i8*, i8** %3
%26 = call i32 @fc8150_write(i8* %25, i32 32, i32 51)
%27 = load i8*, i8** %3
%28 = call i32 @fc8150_write(i8* %27, i32 40, i32 98)
%29 = load i8*, i8** %3
%30 = call i32 @fc8150_write(i8* %29, i32 53, i32 170)
%31 = load i8*, i8** %3
%32 = call i32 @fc8150_write(i8* %31, i32 56, i32 40)
%33 = load i8*, i8** %3
%34 = call i32 @fc8150_write(i8* %33, i32 59, i32 1)
%35 = load i8*, i8** %3
%36 = call i32 @fc8150_set_filter(i8* %35)
%37 = load i8*, i8** %3
%38 = call i32 @fc8150_write(i8* %37, i32 59, i32 0)
%39 = load i8*, i8** %3
%40 = call i32 @fc8150_write(i8* %39, i32 86, i32 1)
%41 = load i8*, i8** %3
%42 = call i32 @fc8150_write(i8* %41, i32 87, i32 134)
%43 = load i8*, i8** %3
%44 = call i32 @fc8150_write(i8* %43, i32 88, i32 167)
%45 = load i8*, i8** %3
%46 = call i32 @fc8150_write(i8* %45, i32 89, i32 77)
%47 = load i8*, i8** %3
%48 = call i32 @fc8150_write(i8* %47, i32 128, i32 23)
%49 = load i8*, i8** %3
%50 = call i32 @fc8150_write(i8* %49, i32 171, i32 72)
%51 = load i8*, i8** %3
%52 = call i32 @fc8150_write(i8* %51, i32 160, i32 192)
%53 = load i8*, i8** %3
%54 = call i32 @fc8150_write(i8* %53, i32 208, i32 0)
%55 = getelementptr inbounds [6 x i8], [6 x i8]* %13, i64 0, i64 0
store i8 0, i8* %55
%56 = getelementptr inbounds [6 x i8], [6 x i8]* %13, i64 0, i64 1
store i8 0, i8* %56
%57 = getelementptr inbounds [6 x i8], [6 x i8]* %13, i64 0, i64 2
store i8 0, i8* %57
%58 = getelementptr inbounds [6 x i8], [6 x i8]* %13, i64 0, i64 3
store i8 0, i8* %58
%59 = getelementptr inbounds [6 x i8], [6 x i8]* %13, i64 0, i64 4
store i8 0, i8* %59
%60 = getelementptr inbounds [6 x i8], [6 x i8]* %13, i64 0, i64 5
store i8 0, i8* %60
store i8 0, i8* %15
store i8 -1, i8* %16
store i32 0, i32* %5
br label %61
61: ; preds = %98, %2
%62 = load i32, i32* %5
%63 = icmp slt i32 %62, 6
br i1 %63, label %64, label %101
64: ; preds = %61
%65 = load i8*, i8** %3
%66 = load i32, i32* %5
%67 = sext i32 %66 to i64
%68 = getelementptr inbounds [6 x i8], [6 x i8]* %13, i64 0, i64 %67
%69 = call i32 @fc8150_read(i8* %65, i32 216, i8* %68)
%70 = load i32, i32* %5
%71 = sext i32 %70 to i64
%72 = getelementptr inbounds [6 x i8], [6 x i8]* %13, i64 0, i64 %71
%73 = load i8, i8* %72
%74 = zext i8 %73 to i32
%75 = load i8, i8* %15
%76 = zext i8 %75 to i32
%77 = icmp sge i32 %74, %76
br i1 %77, label %78, label %83
78: ; preds = %64
%79 = load i32, i32* %5
%80 = sext i32 %79 to i64
%81 = getelementptr inbounds [6 x i8], [6 x i8]* %13, i64 0, i64 %80
%82 = load i8, i8* %81
store i8 %82, i8* %15
br label %83
83: ; preds = %78, %64
%84 = load i32, i32* %5
%85 = sext i32 %84 to i64
%86 = getelementptr inbounds [6 x i8], [6 x i8]* %13, i64 0, i64 %85
%87 = load i8, i8* %86
%88 = zext i8 %87 to i32
%89 = load i8, i8* %16
%90 = zext i8 %89 to i32
%91 = icmp sle i32 %88, %90
br i1 %91, label %92, label %97
92: ; preds = %83
%93 = load i32, i32* %5
%94 = sext i32 %93 to i64
%95 = getelementptr inbounds [6 x i8], [6 x i8]* %13, i64 0, i64 %94
%96 = load i8, i8* %95
store i8 %96, i8* %16
br label %97
97: ; preds = %92, %83
br label %98
98: ; preds = %97
%99 = load i32, i32* %5
%100 = add nsw i32 %99, 1
store i32 %100, i32* %5
br label %61
101: ; preds = %61
%102 = getelementptr inbounds [6 x i8], [6 x i8]* %13, i64 0, i64 0
%103 = load i8, i8* %102
%104 = zext i8 %103 to i32
%105 = getelementptr inbounds [6 x i8], [6 x i8]* %13, i64 0, i64 1
%106 = load i8, i8* %105
%107 = zext i8 %106 to i32
%108 = add nsw i32 %104, %107
%109 = getelementptr inbounds [6 x i8], [6 x i8]* %13, i64 0, i64 2
%110 = load i8, i8* %109
%111 = zext i8 %110 to i32
%112 = add nsw i32 %108, %111
%113 = getelementptr inbounds [6 x i8], [6 x i8]* %13, i64 0, i64 3
%114 = load i8, i8* %113
%115 = zext i8 %114 to i32
%116 = add nsw i32 %112, %115
%117 = getelementptr inbounds [6 x i8], [6 x i8]* %13, i64 0, i64 4
%118 = load i8, i8* %117
%119 = zext i8 %118 to i32
%120 = add nsw i32 %116, %119
%121 = getelementptr inbounds [6 x i8], [6 x i8]* %13, i64 0, i64 5
%122 = load i8, i8* %121
%123 = zext i8 %122 to i32
%124 = add nsw i32 %120, %123
%125 = load i8, i8* %15
%126 = zext i8 %125 to i32
%127 = sub nsw i32 %124, %126
%128 = load i8, i8* %16
%129 = zext i8 %128 to i32
%130 = sub nsw i32 %127, %129
%131 = sdiv i32 %130, 4
store i32 %131, i32* %6
%132 = load i32, i32* %6
%133 = trunc i32 %132 to i8
store i8 %133, i8* %14
%134 = load i8*, i8** %3
%135 = load i8, i8* %14
%136 = zext i8 %135 to i32
%137 = call i32 @fc8150_write(i8* %134, i32 127, i32 %136)
%138 = getelementptr inbounds [6 x i8], [6 x i8]* %9, i64 0, i64 0
store i8 0, i8* %138
%139 = getelementptr inbounds [6 x i8], [6 x i8]* %9, i64 0, i64 1
store i8 0, i8* %139
%140 = getelementptr inbounds [6 x i8], [6 x i8]* %9, i64 0, i64 2
store i8 0, i8* %140
%141 = getelementptr inbounds [6 x i8], [6 x i8]* %9, i64 0, i64 3
store i8 0, i8* %141
%142 = getelementptr inbounds [6 x i8], [6 x i8]* %9, i64 0, i64 4
store i8 0, i8* %142
%143 = getelementptr inbounds [6 x i8], [6 x i8]* %9, i64 0, i64 5
store i8 0, i8* %143
store i8 0, i8* %11
store i8 -1, i8* %12
store i32 0, i32* %5
br label %144
144: ; preds = %181, %101
%145 = load i32, i32* %5
%146 = icmp slt i32 %145, 6
br i1 %146, label %147, label %184
147: ; preds = %144
%148 = load i8*, i8** %3
%149 = load i32, i32* %5
%150 = sext i32 %149 to i64
%151 = getelementptr inbounds [6 x i8], [6 x i8]* %9, i64 0, i64 %150
%152 = call i32 @fc8150_read(i8* %148, i32 214, i8* %151)
%153 = load i32, i32* %5
%154 = sext i32 %153 to i64
%155 = getelementptr inbounds [6 x i8], [6 x i8]* %9, i64 0, i64 %154
%156 = load i8, i8* %155
%157 = zext i8 %156 to i32
%158 = load i8, i8* %11
%159 = zext i8 %158 to i32
%160 = icmp sge i32 %157, %159
br i1 %160, label %161, label %166
161: ; preds = %147
%162 = load i32, i32* %5
%163 = sext i32 %162 to i64
%164 = getelementptr inbounds [6 x i8], [6 x i8]* %9, i64 0, i64 %163
%165 = load i8, i8* %164
store i8 %165, i8* %11
br label %166
166: ; preds = %161, %147
%167 = load i32, i32* %5
%168 = sext i32 %167 to i64
%169 = getelementptr inbounds [6 x i8], [6 x i8]* %9, i64 0, i64 %168
%170 = load i8, i8* %169
%171 = zext i8 %170 to i32
%172 = load i8, i8* %12
%173 = zext i8 %172 to i32
%174 = icmp sle i32 %171, %173
br i1 %174, label %175, label %180
175: ; preds = %166
%176 = load i32, i32* %5
%177 = sext i32 %176 to i64
%178 = getelementptr inbounds [6 x i8], [6 x i8]* %9, i64 0, i64 %177
%179 = load i8, i8* %178
store i8 %179, i8* %12
br label %180
180: ; preds = %175, %166
br label %181
181: ; preds = %180
%182 = load i32, i32* %5
%183 = add nsw i32 %182, 1
store i32 %183, i32* %5
br label %144
184: ; preds = %144
%185 = getelementptr inbounds [6 x i8], [6 x i8]* %9, i64 0, i64 0
%186 = load i8, i8* %185
%187 = zext i8 %186 to i32
%188 = getelementptr inbounds [6 x i8], [6 x i8]* %9, i64 0, i64 1
%189 = load i8, i8* %188
%190 = zext i8 %189 to i32
%191 = add nsw i32 %187, %190
%192 = getelementptr inbounds [6 x i8], [6 x i8]* %9, i64 0, i64 2
%193 = load i8, i8* %192
%194 = zext i8 %193 to i32
%195 = add nsw i32 %191, %194
%196 = getelementptr inbounds [6 x i8], [6 x i8]* %9, i64 0, i64 3
%197 = load i8, i8* %196
%198 = zext i8 %197 to i32
%199 = add nsw i32 %195, %198
%200 = getelementptr inbounds [6 x i8], [6 x i8]* %9, i64 0, i64 4
%201 = load i8, i8* %200
%202 = zext i8 %201 to i32
%203 = add nsw i32 %199, %202
%204 = getelementptr inbounds [6 x i8], [6 x i8]* %9, i64 0, i64 5
%205 = load i8, i8* %204
%206 = zext i8 %205 to i32
%207 = add nsw i32 %203, %206
%208 = load i8, i8* %11
%209 = zext i8 %208 to i32
%210 = sub nsw i32 %207, %209
%211 = load i8, i8* %12
%212 = zext i8 %211 to i32
%213 = sub nsw i32 %210, %212
%214 = sdiv i32 %213, 4
store i32 %214, i32* %7
%215 = load i32, i32* %7
%216 = trunc i32 %215 to i8
store i8 %216, i8* %10
%217 = load i8*, i8** %3
%218 = load i8, i8* %10
%219 = zext i8 %218 to i32
%220 = call i32 @fc8150_write(i8* %217, i32 126, i32 %219)
%221 = load i8*, i8** %3
%222 = call i32 @fc8150_read(i8* %221, i32 214, i8* %8)
%223 = load i8, i8* %8
%224 = zext i8 %223 to i32
%225 = icmp sle i32 128, %224
br i1 %225, label %226, label %229
226: ; preds = %184
%227 = load i8*, i8** %3
%228 = call i32 @fc8150_write(i8* %227, i32 123, i32 143)
br label %237
229: ; preds = %184
%230 = load i8, i8* %8
%231 = zext i8 %230 to i32
%232 = icmp slt i32 %231, 128
br i1 %232, label %233, label %236
233: ; preds = %229
%234 = load i8*, i8** %3
%235 = call i32 @fc8150_write(i8* %234, i32 123, i32 136)
br label %236
236: ; preds = %233, %229
br label %237
237: ; preds = %236, %226
%238 = load i8*, i8** %3
%239 = call i32 @fc8150_write(i8* %238, i32 121, i32 50)
%240 = load i8*, i8** %3
%241 = call i32 @fc8150_write(i8* %240, i32 122, i32 44)
%242 = load i8*, i8** %3
%243 = call i32 @fc8150_write(i8* %242, i32 124, i32 18)
%244 = load i8*, i8** %3
%245 = call i32 @fc8150_write(i8* %244, i32 125, i32 12)
%246 = load i8*, i8** %3
%247 = call i32 @fc8150_write(i8* %246, i32 129, i32 10)
%248 = load i8*, i8** %3
%249 = call i32 @fc8150_write(i8* %248, i32 132, i32 0)
%250 = load i8*, i8** %3
%251 = call i32 @fc8150_write(i8* %250, i32 146, i32 0)
%252 = load i8*, i8** %3
%253 = call i32 @fc8150_write(i8* %252, i32 147, i32 12)
%254 = load i8*, i8** %3
%255 = call i32 @fc8150_write(i8* %254, i32 165, i32 105)
%256 = load i8*, i8** %3
%257 = call i32 @fc8150_write(i8* %256, i32 166, i32 37)
%258 = load i8*, i8** %3
%259 = call i32 @fc8150_write(i8* %258, i32 2, i32 129)
ret i32 0
}

LLVM IR (-O2):
@.str = [13 x i8] c"fc8150_init\0A\00"
define i32 @fc8150_tuner_init(i8* %0, i32 %1) {
%3 = alloca i8
%4 = alloca [6 x i8]
%5 = alloca [6 x i8]
%6 = getelementptr inbounds [6 x i8], [6 x i8]* %4, i64 0, i64 0
%7 = getelementptr inbounds [6 x i8], [6 x i8]* %5, i64 0, i64 0
%8 = tail call i32 @PRINTF(i8* %0, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str, i64 0, i64 0))
%9 = tail call i32 @fc8150_write(i8* %0, i32 0, i32 0)
%10 = tail call i32 @fc8150_write(i8* %0, i32 2, i32 129)
%11 = tail call i32 @fc8150_write(i8* %0, i32 21, i32 2)
%12 = tail call i32 @fc8150_write(i8* %0, i32 32, i32 51)
%13 = tail call i32 @fc8150_write(i8* %0, i32 40, i32 98)
%14 = tail call i32 @fc8150_write(i8* %0, i32 53, i32 170)
%15 = tail call i32 @fc8150_write(i8* %0, i32 56, i32 40)
%16 = tail call i32 @fc8150_write(i8* %0, i32 59, i32 1)
%17 = tail call i32 @fc8150_set_filter(i8* %0)
%18 = tail call i32 @fc8150_write(i8* %0, i32 59, i32 0)
%19 = tail call i32 @fc8150_write(i8* %0, i32 86, i32 1)
%20 = tail call i32 @fc8150_write(i8* %0, i32 87, i32 134)
%21 = tail call i32 @fc8150_write(i8* %0, i32 88, i32 167)
%22 = tail call i32 @fc8150_write(i8* %0, i32 89, i32 77)
%23 = tail call i32 @fc8150_write(i8* %0, i32 128, i32 23)
%24 = tail call i32 @fc8150_write(i8* %0, i32 171, i32 72)
%25 = tail call i32 @fc8150_write(i8* %0, i32 160, i32 192)
%26 = tail call i32 @fc8150_write(i8* %0, i32 208, i32 0)
%27 = getelementptr inbounds [6 x i8], [6 x i8]* %5, i64 0, i64 1
%28 = getelementptr inbounds [6 x i8], [6 x i8]* %5, i64 0, i64 2
%29 = getelementptr inbounds [6 x i8], [6 x i8]* %5, i64 0, i64 3
%30 = getelementptr inbounds [6 x i8], [6 x i8]* %5, i64 0, i64 4
%31 = getelementptr inbounds [6 x i8], [6 x i8]* %5, i64 0, i64 5
%32 = call i32 @fc8150_read(i8* %0, i32 216, i8* %7)
%33 = load i8, i8* %7
%34 = call i32 @fc8150_read(i8* %0, i32 216, i8* %27)
%35 = load i8, i8* %27
%36 = icmp ult i8 %35, %33
%37 = select i1 %36, i8 %33, i8 %35
%38 = icmp ugt i8 %35, %33
%39 = select i1 %38, i8 %33, i8 %35
%40 = call i32 @fc8150_read(i8* %0, i32 216, i8* %28)
%41 = load i8, i8* %28
%42 = icmp ult i8 %41, %37
%43 = select i1 %42, i8 %37, i8 %41
%44 = icmp ugt i8 %41, %39
%45 = select i1 %44, i8 %39, i8 %41
%46 = call i32 @fc8150_read(i8* %0, i32 216, i8* %29)
%47 = load i8, i8* %29
%48 = icmp ult i8 %47, %43
%49 = select i1 %48, i8 %43, i8 %47
%50 = icmp ugt i8 %47, %45
%51 = select i1 %50, i8 %45, i8 %47
%52 = call i32 @fc8150_read(i8* %0, i32 216, i8* %30)
%53 = load i8, i8* %30
%54 = icmp ult i8 %53, %49
%55 = select i1 %54, i8 %49, i8 %53
%56 = icmp ugt i8 %53, %51
%57 = select i1 %56, i8 %51, i8 %53
%58 = call i32 @fc8150_read(i8* %0, i32 216, i8* %31)
%59 = load i8, i8* %31
%60 = icmp ult i8 %59, %55
%61 = select i1 %60, i8 %55, i8 %59
%62 = icmp ugt i8 %59, %57
%63 = select i1 %62, i8 %57, i8 %59
%64 = load i8, i8* %7
%65 = zext i8 %64 to i16
%66 = load i8, i8* %27
%67 = zext i8 %66 to i16
%68 = load i8, i8* %28
%69 = zext i8 %68 to i16
%70 = load i8, i8* %29
%71 = zext i8 %70 to i16
%72 = load i8, i8* %30
%73 = zext i8 %72 to i16
%74 = zext i8 %59 to i16
%75 = zext i8 %61 to i16
%76 = zext i8 %63 to i16
%77 = add nuw nsw i16 %76, %75
%78 = sub nsw i16 %65, %77
%79 = add nsw i16 %78, %67
%80 = add nsw i16 %79, %69
%81 = add nsw i16 %80, %71
%82 = add nsw i16 %81, %73
%83 = add nsw i16 %82, %74
%84 = sdiv i16 %83, 4
%85 = and i16 %84, 255
%86 = zext i16 %85 to i32
%87 = call i32 @fc8150_write(i8* %0, i32 127, i32 %86)
%88 = getelementptr inbounds [6 x i8], [6 x i8]* %4, i64 0, i64 1
%89 = getelementptr inbounds [6 x i8], [6 x i8]* %4, i64 0, i64 2
%90 = getelementptr inbounds [6 x i8], [6 x i8]* %4, i64 0, i64 3
%91 = getelementptr inbounds [6 x i8], [6 x i8]* %4, i64 0, i64 4
%92 = getelementptr inbounds [6 x i8], [6 x i8]* %4, i64 0, i64 5
%93 = call i32 @fc8150_read(i8* %0, i32 214, i8* %6)
%94 = load i8, i8* %6
%95 = call i32 @fc8150_read(i8* %0, i32 214, i8* %88)
%96 = load i8, i8* %88
%97 = icmp ult i8 %96, %94
%98 = select i1 %97, i8 %94, i8 %96
%99 = icmp ugt i8 %96, %94
%100 = select i1 %99, i8 %94, i8 %96
%101 = call i32 @fc8150_read(i8* %0, i32 214, i8* %89)
%102 = load i8, i8* %89
%103 = icmp ult i8 %102, %98
%104 = select i1 %103, i8 %98, i8 %102
%105 = icmp ugt i8 %102, %100
%106 = select i1 %105, i8 %100, i8 %102
%107 = call i32 @fc8150_read(i8* %0, i32 214, i8* %90)
%108 = load i8, i8* %90
%109 = icmp ult i8 %108, %104
%110 = select i1 %109, i8 %104, i8 %108
%111 = icmp ugt i8 %108, %106
%112 = select i1 %111, i8 %106, i8 %108
%113 = call i32 @fc8150_read(i8* %0, i32 214, i8* %91)
%114 = load i8, i8* %91
%115 = icmp ult i8 %114, %110
%116 = select i1 %115, i8 %110, i8 %114
%117 = icmp ugt i8 %114, %112
%118 = select i1 %117, i8 %112, i8 %114
%119 = call i32 @fc8150_read(i8* %0, i32 214, i8* %92)
%120 = load i8, i8* %92
%121 = icmp ult i8 %120, %116
%122 = select i1 %121, i8 %116, i8 %120
%123 = icmp ugt i8 %120, %118
%124 = select i1 %123, i8 %118, i8 %120
%125 = load i8, i8* %6
%126 = zext i8 %125 to i16
%127 = load i8, i8* %88
%128 = zext i8 %127 to i16
%129 = load i8, i8* %89
%130 = zext i8 %129 to i16
%131 = load i8, i8* %90
%132 = zext i8 %131 to i16
%133 = load i8, i8* %91
%134 = zext i8 %133 to i16
%135 = zext i8 %120 to i16
%136 = zext i8 %122 to i16
%137 = zext i8 %124 to i16
%138 = add nuw nsw i16 %137, %136
%139 = sub nsw i16 %126, %138
%140 = add nsw i16 %139, %128
%141 = add nsw i16 %140, %130
%142 = add nsw i16 %141, %132
%143 = add nsw i16 %142, %134
%144 = add nsw i16 %143, %135
%145 = sdiv i16 %144, 4
%146 = and i16 %145, 255
%147 = zext i16 %146 to i32
%148 = call i32 @fc8150_write(i8* %0, i32 126, i32 %147)
%149 = call i32 @fc8150_read(i8* %0, i32 214, i8* %3)
%150 = load i8, i8* %3
%151 = icmp slt i8 %150, 0
%152 = select i1 %151, i32 143, i32 136
%153 = call i32 @fc8150_write(i8* %0, i32 123, i32 %152)
%154 = call i32 @fc8150_write(i8* %0, i32 121, i32 50)
%155 = call i32 @fc8150_write(i8* %0, i32 122, i32 44)
%156 = call i32 @fc8150_write(i8* %0, i32 124, i32 18)
%157 = call i32 @fc8150_write(i8* %0, i32 125, i32 12)
%158 = call i32 @fc8150_write(i8* %0, i32 129, i32 10)
%159 = call i32 @fc8150_write(i8* %0, i32 132, i32 0)
%160 = call i32 @fc8150_write(i8* %0, i32 146, i32 0)
%161 = call i32 @fc8150_write(i8* %0, i32 147, i32 12)
%162 = call i32 @fc8150_write(i8* %0, i32 165, i32 105)
%163 = call i32 @fc8150_write(i8* %0, i32 166, i32 37)
%164 = call i32 @fc8150_write(i8* %0, i32 2, i32 129)
ret i32 0
}