#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 getBinaryData(char *, int, int);
int /*<<< orphan*/ sprintf(char *, char *, int);
int /*<<< orphan*/ strcat(char *, char *);
int /*<<< orphan*/ strcpy(char *, char *);
int decode(char *word, char *msg) {
  int cmd = 0, zones = 0, button = 0;
  char year3[2], year4[2], month[2], day[2], hour[2], minute[2];
  cmd = getBinaryData(word, 0, 8);
  strcpy(msg, "");
  if (cmd == 0x05) {
    strcpy(msg, "p->k LED Status: ");
    if (getBinaryData(word, 12, 1))
      strcat(msg, "Error ");
    if (getBinaryData(word, 13, 1))
      strcat(msg, "Bypass ");
    if (getBinaryData(word, 14, 1))
      strcat(msg, "Memory ");
    if (getBinaryData(word, 15, 1))
      strcat(msg, "Armed ");
    if (getBinaryData(word, 16, 1))
      strcat(msg, "Ready ");
    if (getBinaryData(word, 17, 1))
      strcat(msg, "Program ");
  } else if (cmd == 0xa5) {
    sprintf(year3, "%d", getBinaryData(word, 9, 4));
    sprintf(year4, "%d", getBinaryData(word, 13, 4));
    sprintf(month, "%d", getBinaryData(word, 19, 4));
    sprintf(day, "%d", getBinaryData(word, 23, 5));
    sprintf(hour, "%d", getBinaryData(word, 28, 5));
    sprintf(minute, "%d", getBinaryData(word, 33, 6));
    strcpy(msg, "p->k Date: 20");
    strcat(msg, year3);
    strcat(msg, year4);
    strcat(msg, "-");
    strcat(msg, month);
    strcat(msg, "-");
    strcat(msg, day);
    strcat(msg, " ");
    strcat(msg, hour);
    strcat(msg, ":");
    strcat(msg, minute);
  } else if (cmd == 0x27) {
    strcpy(msg, "p->k Zone1: ");
    zones = getBinaryData(word, 41, 8);
    if (zones & 1)
      strcat(msg, "1 ");
    if (zones & 2)
      strcat(msg, "2 ");
    if (zones & 4)
      strcat(msg, "3 ");
    if (zones & 8)
      strcat(msg, "4 ");
    if (zones & 16)
      strcat(msg, "5 ");
    if (zones & 32)
      strcat(msg, "6 ");
    if (zones & 64)
      strcat(msg, "7 ");
    if (zones & 128)
      strcat(msg, "8 ");
  } else if (cmd == 0x2d) {
    strcpy(msg, "p->k Zone2: ");
    zones = getBinaryData(word, 41, 8);
    if (zones & 1)
      strcat(msg, "9 ");
    if (zones & 2)
      strcat(msg, "10 ");
    if (zones & 4)
      strcat(msg, "11 ");
    if (zones & 8)
      strcat(msg, "12 ");
    if (zones & 16)
      strcat(msg, "13 ");
    if (zones & 32)
      strcat(msg, "14 ");
    if (zones & 64)
      strcat(msg, "15 ");
    if (zones & 128)
      strcat(msg, "16 ");
  } else if (cmd == 0x34) {
    strcpy(msg, "p->k Zone3: ");
    zones = getBinaryData(word, 41, 8);
    if (zones & 1)
      strcat(msg, "9 ");
    if (zones & 2)
      strcat(msg, "10 ");
    if (zones & 4)
      strcat(msg, "11 ");
    if (zones & 8)
      strcat(msg, "12 ");
    if (zones & 16)
      strcat(msg, "13 ");
    if (zones & 32)
      strcat(msg, "14 ");
    if (zones & 64)
      strcat(msg, "15 ");
    if (zones & 128)
      strcat(msg, "16 ");
  } else if (cmd == 0x3e) {
    strcpy(msg, "p->k Zone4: ");
    zones = getBinaryData(word, 41, 8);
    if (zones & 1)
      strcat(msg, "9 ");
    if (zones & 2)
      strcat(msg, "10 ");
    if (zones & 4)
      strcat(msg, "11 ");
    if (zones & 8)
      strcat(msg, "12 ");
    if (zones & 16)
      strcat(msg, "13 ");
    if (zones & 32)
      strcat(msg, "14 ");
    if (zones & 64)
      strcat(msg, "15 ");
    if (zones & 128)
      strcat(msg, "16 ");
  } else if (cmd == 0x0a)
    strcpy(msg, "p->k panel in program mode");
  else if (cmd == 0x63)
    strcpy(msg, "p->k undefined command");
  else if (cmd == 0x64)
    strcpy(msg, "p->k undefined command");
  else if (cmd == 0x69)
    strcpy(msg, "p->k undefined command");
  else if (cmd == 0x5d)
    strcpy(msg, "p->k undefined command");
  else if (cmd == 0x39)
    strcpy(msg, "p->k undefined command");
  else if (cmd == 0x11)
    strcpy(msg, "p->k Keypad query");
  else if (cmd == 0xff) {
    strcpy(msg, "k->p ");
    if (getBinaryData(word, 8, 32) == 0xffffffff)
      strcat(msg, "idle");
    else {
      button = getBinaryData(word, 8, 20);
      if (button == 0x947ff)
        strcat(msg, "button * pressed");
      else if (button == 0x96fff)
        strcat(msg, "button # pressed");
      else if (button == 0x807ff)
        strcat(msg, "button 0 pressed");
      else if (button == 0x82fff)
        strcat(msg, "button 1 pressed");
      else if (button == 0x857ff)
        strcat(msg, "button 2 pressed");
      else if (button == 0x87fff)
        strcat(msg, "button 3 pressed");
      else if (button == 0x88fff)
        strcat(msg, "button 4 pressed");
      else if (button == 0x8b7ff)
        strcat(msg, "button 5 pressed");
      else if (button == 0x8dfff)
        strcat(msg, "button 6 pressed");
      else if (button == 0x8e7ff)
        strcat(msg, "button 7 pressed");
      else if (button == 0x917ff)
        strcat(msg, "button 8 pressed");
      else if (button == 0x93fff)
        strcat(msg, "button 9 pressed");
      else
        strcat(msg, "unknown keypad msg");
    }
  } else
    strcpy(msg, "p->k unknown command.");
  return cmd;
}


x86 assembly (clang, -O0):
<decode>:
push   %rbp
mov    %rsp,%rbp
sub    $0x60,%rsp
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
movl   $0x0,-0x14(%rbp)
movl   $0x0,-0x18(%rbp)
movl   $0x0,-0x1c(%rbp)
mov    -0x8(%rbp),%rdi
xor    %esi,%esi
mov    $0x8,%edx
call   1040 <getBinaryData@plt>
mov    %eax,-0x14(%rbp)
mov    -0x10(%rbp),%rdi
lea    0xef8(%rip),%rsi
call   1030 <strcpy@plt>
cmpl   $0x5,-0x14(%rbp)
jne    12af <decode+0x16f>
mov    -0x10(%rbp),%rdi
lea    0xe63(%rip),%rsi
call   1030 <strcpy@plt>
mov    -0x8(%rbp),%rdi
mov    $0xc,%esi
mov    $0x1,%edx
call   1040 <getBinaryData@plt>
cmp    $0x0,%eax
je     11ce <decode+0x8e>
mov    -0x10(%rbp),%rdi
lea    0xe49(%rip),%rsi
call   1050 <strcat@plt>
mov    -0x8(%rbp),%rdi
mov    $0xd,%esi
mov    $0x1,%edx
call   1040 <getBinaryData@plt>
cmp    $0x0,%eax
je     11fa <decode+0xba>
mov    -0x10(%rbp),%rdi
lea    0xe24(%rip),%rsi
call   1050 <strcat@plt>
mov    -0x8(%rbp),%rdi
mov    $0xe,%esi
mov    $0x1,%edx
call   1040 <getBinaryData@plt>
cmp    $0x0,%eax
je     1226 <decode+0xe6>
mov    -0x10(%rbp),%rdi
lea    0xe00(%rip),%rsi
call   1050 <strcat@plt>
mov    -0x8(%rbp),%rdi
mov    $0xf,%esi
mov    $0x1,%edx
call   1040 <getBinaryData@plt>
cmp    $0x0,%eax
je     1252 <decode+0x112>
mov    -0x10(%rbp),%rdi
lea    0xddc(%rip),%rsi
call   1050 <strcat@plt>
mov    -0x8(%rbp),%rdi
mov    $0x10,%esi
mov    $0x1,%edx
call   1040 <getBinaryData@plt>
cmp    $0x0,%eax
je     127e <decode+0x13e>
mov    -0x10(%rbp),%rdi
lea    0xdb7(%rip),%rsi
call   1050 <strcat@plt>
mov    -0x8(%rbp),%rdi
mov    $0x11,%esi
mov    $0x1,%edx
call   1040 <getBinaryData@plt>
cmp    $0x0,%eax
je     12aa <decode+0x16a>
mov    -0x10(%rbp),%rdi
lea    0xd92(%rip),%rsi
call   1050 <strcat@plt>
jmp    1ca0 <decode+0xb60>
cmpl   $0xa5,-0x14(%rbp)
jne    146d <decode+0x32d>
lea    -0x1e(%rbp),%rax
mov    %rax,-0x58(%rbp)
mov    -0x8(%rbp),%rdi
mov    $0x9,%esi
mov    $0x4,%edx
call   1040 <getBinaryData@plt>
mov    -0x58(%rbp),%rdi
mov    %eax,%edx
lea    0xd5c(%rip),%rsi
call   1060 <sprintf@plt>
lea    -0x20(%rbp),%rax
mov    %rax,-0x50(%rbp)
mov    -0x8(%rbp),%rdi
mov    $0xd,%esi
mov    $0x4,%edx
call   1040 <getBinaryData@plt>
mov    -0x50(%rbp),%rdi
mov    %eax,%edx
lea    0xd2f(%rip),%rsi
call   1060 <sprintf@plt>
lea    -0x22(%rbp),%rax
mov    %rax,-0x48(%rbp)
mov    -0x8(%rbp),%rdi
mov    $0x13,%esi
mov    $0x4,%edx
call   1040 <getBinaryData@plt>
mov    -0x48(%rbp),%rdi
mov    %eax,%edx
lea    0xd02(%rip),%rsi
call   1060 <sprintf@plt>
lea    -0x24(%rbp),%rax
mov    %rax,-0x40(%rbp)
mov    -0x8(%rbp),%rdi
mov    $0x17,%esi
mov    $0x5,%edx
call   1040 <getBinaryData@plt>
mov    -0x40(%rbp),%rdi
mov    %eax,%edx
lea    0xcd5(%rip),%rsi
call   1060 <sprintf@plt>
lea    -0x26(%rbp),%rax
mov    %rax,-0x38(%rbp)
mov    -0x8(%rbp),%rdi
mov    $0x1c,%esi
mov    $0x5,%edx
call   1040 <getBinaryData@plt>
mov    -0x38(%rbp),%rdi
mov    %eax,%edx
lea    0xca8(%rip),%rsi
call   1060 <sprintf@plt>
lea    -0x28(%rbp),%rax
mov    %rax,-0x30(%rbp)
mov    -0x8(%rbp),%rdi
mov    $0x21,%esi
mov    $0x6,%edx
call   1040 <getBinaryData@plt>
mov    -0x30(%rbp),%rdi
mov    %eax,%edx
lea    0xc7b(%rip),%rsi
call   1060 <sprintf@plt>
mov    -0x10(%rbp),%rdi
lea    0xc6e(%rip),%rsi
call   1030 <strcpy@plt>
mov    -0x10(%rbp),%rdi
lea    -0x1e(%rbp),%rsi
call   1050 <strcat@plt>
mov    -0x10(%rbp),%rdi
lea    -0x20(%rbp),%rsi
call   1050 <strcat@plt>
mov    -0x10(%rbp),%rdi
lea    0xc52(%rip),%rsi
call   1050 <strcat@plt>
mov    -0x10(%rbp),%rdi
lea    -0x22(%rbp),%rsi
call   1050 <strcat@plt>
mov    -0x10(%rbp),%rdi
lea    0xc35(%rip),%rsi
call   1050 <strcat@plt>
mov    -0x10(%rbp),%rdi
lea    -0x24(%rbp),%rsi
call   1050 <strcat@plt>
mov    -0x10(%rbp),%rdi
lea    0xc41(%rip),%rsi
call   1050 <strcat@plt>
mov    -0x10(%rbp),%rdi
lea    -0x26(%rbp),%rsi
call   1050 <strcat@plt>
mov    -0x10(%rbp),%rdi
lea    0xbfd(%rip),%rsi
call   1050 <strcat@plt>
mov    -0x10(%rbp),%rdi
lea    -0x28(%rbp),%rsi
call   1050 <strcat@plt>
jmp    1c9b <decode+0xb5b>
cmpl   $0x27,-0x14(%rbp)
jne    159c <decode+0x45c>
mov    -0x10(%rbp),%rdi
lea    0xbd3(%rip),%rsi
call   1030 <strcpy@plt>
mov    -0x8(%rbp),%rdi
mov    $0x29,%esi
mov    $0x8,%edx
call   1040 <getBinaryData@plt>
mov    %eax,-0x18(%rbp)
mov    -0x18(%rbp),%eax
and    $0x1,%eax
cmp    $0x0,%eax
je     14bc <decode+0x37c>
mov    -0x10(%rbp),%rdi
lea    0xbc6(%rip),%rsi
call   1050 <strcat@plt>
mov    -0x18(%rbp),%eax
and    $0x2,%eax
cmp    $0x0,%eax
je     14db <decode+0x39b>
mov    -0x10(%rbp),%rdi
lea    0xbab(%rip),%rsi
call   1050 <strcat@plt>
mov    -0x18(%rbp),%eax
and    $0x4,%eax
cmp    $0x0,%eax
je     14fa <decode+0x3ba>
mov    -0x10(%rbp),%rdi
lea    0xb90(%rip),%rsi
call   1050 <strcat@plt>
mov    -0x18(%rbp),%eax
and    $0x8,%eax
cmp    $0x0,%eax
je     1519 <decode+0x3d9>
mov    -0x10(%rbp),%rdi
lea    0xb75(%rip),%rsi
call   1050 <strcat@plt>
mov    -0x18(%rbp),%eax
and    $0x10,%eax
cmp    $0x0,%eax
je     1538 <decode+0x3f8>
mov    -0x10(%rbp),%rdi
lea    0xb5a(%rip),%rsi
call   1050 <strcat@plt>
mov    -0x18(%rbp),%eax
and    $0x20,%eax
cmp    $0x0,%eax
je     1557 <decode+0x417>
mov    -0x10(%rbp),%rdi
lea    0xb3f(%rip),%rsi
call   1050 <strcat@plt>
mov    -0x18(%rbp),%eax
and    $0x40,%eax
cmp    $0x0,%eax
je     1576 <decode+0x436>
mov    -0x10(%rbp),%rdi
lea    0xaf1(%rip),%rsi
call   1050 <strcat@plt>
mov    -0x18(%rbp),%eax
and    $0x80,%eax
cmp    $0x0,%eax
je     1597 <decode+0x457>
mov    -0x10(%rbp),%rdi
lea    0xad3(%rip),%rsi
call   1050 <strcat@plt>
jmp    1c96 <decode+0xb56>
cmpl   $0x2d,-0x14(%rbp)
jne    16cb <decode+0x58b>
mov    -0x10(%rbp),%rdi
lea    0xab7(%rip),%rsi
call   1030 <strcpy@plt>
mov    -0x8(%rbp),%rdi
mov    $0x29,%esi
mov    $0x8,%edx
call   1040 <getBinaryData@plt>
mov    %eax,-0x18(%rbp)
mov    -0x18(%rbp),%eax
and    $0x1,%eax
cmp    $0x0,%eax
je     15eb <decode+0x4ab>
mov    -0x10(%rbp),%rdi
lea    0xa8f(%rip),%rsi
call   1050 <strcat@plt>
mov    -0x18(%rbp),%eax
and    $0x2,%eax
cmp    $0x0,%eax
je     160a <decode+0x4ca>
mov    -0x10(%rbp),%rdi
lea    0xa73(%rip),%rsi
call   1050 <strcat@plt>
mov    -0x18(%rbp),%eax
and    $0x4,%eax
cmp    $0x0,%eax
je     1629 <decode+0x4e9>
mov    -0x10(%rbp),%rdi
lea    0xa58(%rip),%rsi
call   1050 <strcat@plt>
mov    -0x18(%rbp),%eax
and    $0x8,%eax
cmp    $0x0,%eax
je     1648 <decode+0x508>
mov    -0x10(%rbp),%rdi
lea    0xa3d(%rip),%rsi
call   1050 <strcat@plt>
mov    -0x18(%rbp),%eax
and    $0x10,%eax
cmp    $0x0,%eax
je     1667 <decode+0x527>
mov    -0x10(%rbp),%rdi
lea    0xa22(%rip),%rsi
call   1050 <strcat@plt>
mov    -0x18(%rbp),%eax
and    $0x20,%eax
cmp    $0x0,%eax
je     1686 <decode+0x546>
mov    -0x10(%rbp),%rdi
lea    0xa07(%rip),%rsi
call   1050 <strcat@plt>
mov    -0x18(%rbp),%eax
and    $0x40,%eax
cmp    $0x0,%eax
je     16a5 <decode+0x565>
mov    -0x10(%rbp),%rdi
lea    0x9ec(%rip),%rsi
call   1050 <strcat@plt>
mov    -0x18(%rbp),%eax
and    $0x80,%eax
cmp    $0x0,%eax
je     16c6 <decode+0x586>
mov    -0x10(%rbp),%rdi
lea    0x9cf(%rip),%rsi
call   1050 <strcat@plt>
jmp    1c91 <decode+0xb51>
cmpl   $0x34,-0x14(%rbp)
jne    17fa <decode+0x6ba>
mov    -0x10(%rbp),%rdi
lea    0x9b4(%rip),%rsi
call   1030 <strcpy@plt>
mov    -0x8(%rbp),%rdi
mov    $0x29,%esi
mov    $0x8,%edx
call   1040 <getBinaryData@plt>
mov    %eax,-0x18(%rbp)
mov    -0x18(%rbp),%eax
and    $0x1,%eax
cmp    $0x0,%eax
je     171a <decode+0x5da>
mov    -0x10(%rbp),%rdi
lea    0x960(%rip),%rsi
call   1050 <strcat@plt>
mov    -0x18(%rbp),%eax
and    $0x2,%eax
cmp    $0x0,%eax
je     1739 <decode+0x5f9>
mov    -0x10(%rbp),%rdi
lea    0x944(%rip),%rsi
call   1050 <strcat@plt>
mov    -0x18(%rbp),%eax
and    $0x4,%eax
cmp    $0x0,%eax
je     1758 <decode+0x618>
mov    -0x10(%rbp),%rdi
lea    0x929(%rip),%rsi
call   1050 <strcat@plt>
mov    -0x18(%rbp),%eax
and    $0x8,%eax
cmp    $0x0,%eax
je     1777 <decode+0x637>
mov    -0x10(%rbp),%rdi
lea    0x90e(%rip),%rsi
call   1050 <strcat@plt>
mov    -0x18(%rbp),%eax
and    $0x10,%eax
cmp    $0x0,%eax
je     1796 <decode+0x656>
mov    -0x10(%rbp),%rdi
lea    0x8f3(%rip),%rsi
call   1050 <strcat@plt>
mov    -0x18(%rbp),%eax
and    $0x20,%eax
cmp    $0x0,%eax
je     17b5 <decode+0x675>
mov    -0x10(%rbp),%rdi
lea    0x8d8(%rip),%rsi
call   1050 <strcat@plt>
mov    -0x18(%rbp),%eax
and    $0x40,%eax
cmp    $0x0,%eax
je     17d4 <decode+0x694>
mov    -0x10(%rbp),%rdi
lea    0x8bd(%rip),%rsi
call   1050 <strcat@plt>
mov    -0x18(%rbp),%eax
and    $0x80,%eax
cmp    $0x0,%eax
je     17f5 <decode+0x6b5>
mov    -0x10(%rbp),%rdi
lea    0x8a0(%rip),%rsi
call   1050 <strcat@plt>
jmp    1c8c <decode+0xb4c>
cmpl   $0x3e,-0x14(%rbp)
jne    1929 <decode+0x7e9>
mov    -0x10(%rbp),%rdi
lea    0x892(%rip),%rsi
call   1030 <strcpy@plt>
mov    -0x8(%rbp),%rdi
mov    $0x29,%esi
mov    $0x8,%edx
call   1040 <getBinaryData@plt>
mov    %eax,-0x18(%rbp)
mov    -0x18(%rbp),%eax
and    $0x1,%eax
cmp    $0x0,%eax
je     1849 <decode+0x709>
mov    -0x10(%rbp),%rdi
lea    0x831(%rip),%rsi
call   1050 <strcat@plt>
mov    -0x18(%rbp),%eax
and    $0x2,%eax
cmp    $0x0,%eax
je     1868 <decode+0x728>
mov    -0x10(%rbp),%rdi
lea    0x815(%rip),%rsi
call   1050 <strcat@plt>
mov    -0x18(%rbp),%eax
and    $0x4,%eax
cmp    $0x0,%eax
je     1887 <decode+0x747>
mov    -0x10(%rbp),%rdi
lea    0x7fa(%rip),%rsi
call   1050 <strcat@plt>
mov    -0x18(%rbp),%eax
and    $0x8,%eax
cmp    $0x0,%eax
je     18a6 <decode+0x766>
mov    -0x10(%rbp),%rdi
lea    0x7df(%rip),%rsi
call   1050 <strcat@plt>
mov    -0x18(%rbp),%eax
and    $0x10,%eax
cmp    $0x0,%eax
je     18c5 <decode+0x785>
mov    -0x10(%rbp),%rdi
lea    0x7c4(%rip),%rsi
call   1050 <strcat@plt>
mov    -0x18(%rbp),%eax
and    $0x20,%eax
cmp    $0x0,%eax
je     18e4 <decode+0x7a4>
mov    -0x10(%rbp),%rdi
lea    0x7a9(%rip),%rsi
call   1050 <strcat@plt>
mov    -0x18(%rbp),%eax
and    $0x40,%eax
cmp    $0x0,%eax
je     1903 <decode+0x7c3>
mov    -0x10(%rbp),%rdi
lea    0x78e(%rip),%rsi
call   1050 <strcat@plt>
mov    -0x18(%rbp),%eax
and    $0x80,%eax
cmp    $0x0,%eax
je     1924 <decode+0x7e4>
mov    -0x10(%rbp),%rdi
lea    0x771(%rip),%rsi
call   1050 <strcat@plt>
jmp    1c87 <decode+0xb47>
cmpl   $0xa,-0x14(%rbp)
jne    1948 <decode+0x808>
mov    -0x10(%rbp),%rdi
lea    0x770(%rip),%rsi
call   1030 <strcpy@plt>
jmp    1c82 <decode+0xb42>
cmpl   $0x63,-0x14(%rbp)
jne    1967 <decode+0x827>
mov    -0x10(%rbp),%rdi
lea    0x76c(%rip),%rsi
call   1030 <strcpy@plt>
jmp    1c7d <decode+0xb3d>
cmpl   $0x64,-0x14(%rbp)
jne    1986 <decode+0x846>
mov    -0x10(%rbp),%rdi
lea    0x74d(%rip),%rsi
call   1030 <strcpy@plt>
jmp    1c78 <decode+0xb38>
cmpl   $0x69,-0x14(%rbp)
jne    19a5 <decode+0x865>
mov    -0x10(%rbp),%rdi
lea    0x72e(%rip),%rsi
call   1030 <strcpy@plt>
jmp    1c73 <decode+0xb33>
cmpl   $0x5d,-0x14(%rbp)
jne    19c4 <decode+0x884>
mov    -0x10(%rbp),%rdi
lea    0x70f(%rip),%rsi
call   1030 <strcpy@plt>
jmp    1c6e <decode+0xb2e>
cmpl   $0x39,-0x14(%rbp)
jne    19e3 <decode+0x8a3>
mov    -0x10(%rbp),%rdi
lea    0x6f0(%rip),%rsi
call   1030 <strcpy@plt>
jmp    1c69 <decode+0xb29>
cmpl   $0x11,-0x14(%rbp)
jne    1a02 <decode+0x8c2>
mov    -0x10(%rbp),%rdi
lea    0x6e8(%rip),%rsi
call   1030 <strcpy@plt>
jmp    1c64 <decode+0xb24>
cmpl   $0xff,-0x14(%rbp)
jne    1c4f <decode+0xb0f>
mov    -0x10(%rbp),%rdi
lea    0x6d8(%rip),%rsi
call   1030 <strcpy@plt>
mov    -0x8(%rbp),%rdi
mov    $0x8,%esi
mov    $0x20,%edx
call   1040 <getBinaryData@plt>
cmp    $0xffffffff,%eax
jne    1a50 <decode+0x910>
mov    -0x10(%rbp),%rdi
lea    0x6b2(%rip),%rsi
call   1050 <strcat@plt>
jmp    1c4a <decode+0xb0a>
mov    -0x8(%rbp),%rdi
mov    $0x8,%esi
mov    $0x14,%edx
call   1040 <getBinaryData@plt>
mov    %eax,-0x1c(%rbp)
cmpl   $0x947ff,-0x1c(%rbp)
jne    1a88 <decode+0x948>
mov    -0x10(%rbp),%rdi
lea    0x67f(%rip),%rsi
call   1050 <strcat@plt>
jmp    1c45 <decode+0xb05>
cmpl   $0x96fff,-0x1c(%rbp)
jne    1aaa <decode+0x96a>
mov    -0x10(%rbp),%rdi
lea    0x66e(%rip),%rsi
call   1050 <strcat@plt>
jmp    1c40 <decode+0xb00>
cmpl   $0x807ff,-0x1c(%rbp)
jne    1acc <decode+0x98c>
mov    -0x10(%rbp),%rdi
lea    0x65d(%rip),%rsi
call   1050 <strcat@plt>
jmp    1c3b <decode+0xafb>
cmpl   $0x82fff,-0x1c(%rbp)
jne    1aee <decode+0x9ae>
mov    -0x10(%rbp),%rdi
lea    0x64c(%rip),%rsi
call   1050 <strcat@plt>
jmp    1c36 <decode+0xaf6>
cmpl   $0x857ff,-0x1c(%rbp)
jne    1b10 <decode+0x9d0>
mov    -0x10(%rbp),%rdi
lea    0x63b(%rip),%rsi
call   1050 <strcat@plt>
jmp    1c31 <decode+0xaf1>
cmpl   $0x87fff,-0x1c(%rbp)
jne    1b32 <decode+0x9f2>
mov    -0x10(%rbp),%rdi
lea    0x62a(%rip),%rsi
call   1050 <strcat@plt>
jmp    1c2c <decode+0xaec>
cmpl   $0x88fff,-0x1c(%rbp)
jne    1b54 <decode+0xa14>
mov    -0x10(%rbp),%rdi
lea    0x619(%rip),%rsi
call   1050 <strcat@plt>
jmp    1c27 <decode+0xae7>
cmpl   $0x8b7ff,-0x1c(%rbp)
jne    1b76 <decode+0xa36>
mov    -0x10(%rbp),%rdi
lea    0x608(%rip),%rsi
call   1050 <strcat@plt>
jmp    1c22 <decode+0xae2>
cmpl   $0x8dfff,-0x1c(%rbp)
jne    1b98 <decode+0xa58>
mov    -0x10(%rbp),%rdi
lea    0x5f7(%rip),%rsi
call   1050 <strcat@plt>
jmp    1c1d <decode+0xadd>
cmpl   $0x8e7ff,-0x1c(%rbp)
jne    1bba <decode+0xa7a>
mov    -0x10(%rbp),%rdi
lea    0x5e6(%rip),%rsi
call   1050 <strcat@plt>
jmp    1c18 <decode+0xad8>
cmpl   $0x917ff,-0x1c(%rbp)
jne    1bdc <decode+0xa9c>
mov    -0x10(%rbp),%rdi
lea    0x5d5(%rip),%rsi
call   1050 <strcat@plt>
jmp    1c13 <decode+0xad3>
cmpl   $0x93fff,-0x1c(%rbp)
jne    1bfe <decode+0xabe>
mov    -0x10(%rbp),%rdi
lea    0x5c4(%rip),%rsi
call   1050 <strcat@plt>
jmp    1c0e <decode+0xace>
mov    -0x10(%rbp),%rdi
lea    0x5c0(%rip),%rsi
call   1050 <strcat@plt>
jmp    1c13 <decode+0xad3>
jmp    1c18 <decode+0xad8>
jmp    1c1d <decode+0xadd>
jmp    1c22 <decode+0xae2>
jmp    1c27 <decode+0xae7>
jmp    1c2c <decode+0xaec>
jmp    1c31 <decode+0xaf1>
jmp    1c36 <decode+0xaf6>
jmp    1c3b <decode+0xafb>
jmp    1c40 <decode+0xb00>
jmp    1c45 <decode+0xb05>
jmp    1c4a <decode+0xb0a>
jmp    1c5f <decode+0xb1f>
mov    -0x10(%rbp),%rdi
lea    0x582(%rip),%rsi
call   1030 <strcpy@plt>
jmp    1c64 <decode+0xb24>
jmp    1c69 <decode+0xb29>
jmp    1c6e <decode+0xb2e>
jmp    1c73 <decode+0xb33>
jmp    1c78 <decode+0xb38>
jmp    1c7d <decode+0xb3d>
jmp    1c82 <decode+0xb42>
jmp    1c87 <decode+0xb47>
jmp    1c8c <decode+0xb4c>
jmp    1c91 <decode+0xb51>
jmp    1c96 <decode+0xb56>
jmp    1c9b <decode+0xb5b>
jmp    1ca0 <decode+0xb60>
mov    -0x14(%rbp),%eax
add    $0x60,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<decode>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x18,%rsp
mov    %rsi,%r15
mov    %rdi,%rbx
xor    %esi,%esi
mov    $0x8,%edx
call   1040 <getBinaryData@plt>
mov    %eax,%r14d
lea    0x10a5(%rip),%rsi
mov    %r15,%rdi
call   1030 <strcpy@plt>
lea    -0x5(%r14),%eax
cmp    $0x64,%eax
ja     1197 <decode+0x57>
lea    0xe7e(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
jmp    *%rax
lea    0x10cb(%rip),%rsi
jmp    1336 <decode+0x1f6>
cmp    $0xa5,%r14d
je     14bd <decode+0x37d>
cmp    $0xff,%r14d
jne    122c <decode+0xec>
lea    0x10d2(%rip),%rsi
mov    %r15,%rdi
call   1030 <strcpy@plt>
mov    %rbx,%rdi
mov    $0x8,%esi
mov    $0x20,%edx
call   1040 <getBinaryData@plt>
cmp    $0xffffffff,%eax
je     16d2 <decode+0x592>
mov    %rbx,%rdi
mov    $0x8,%esi
mov    $0x14,%edx
call   1040 <getBinaryData@plt>
cmp    $0x8dffe,%eax
jg     16f3 <decode+0x5b3>
cmp    $0x87ffe,%eax
jg     171c <decode+0x5dc>
cmp    $0x807ff,%eax
je     175f <decode+0x61f>
cmp    $0x82fff,%eax
je     176b <decode+0x62b>
cmp    $0x857ff,%eax
jne    17bf <decode+0x67f>
lea    0x10ae(%rip),%rsi
jmp    16d9 <decode+0x599>
lea    0x113d(%rip),%rsi
jmp    1336 <decode+0x1f6>
lea    0xf55(%rip),%rsi
mov    %r15,%rdi
call   1030 <strcpy@plt>
mov    %rbx,%rdi
mov    $0xc,%esi
mov    $0x1,%edx
call   1040 <getBinaryData@plt>
test   %eax,%eax
je     126c <decode+0x12c>
lea    0xf42(%rip),%rsi
mov    %r15,%rdi
call   1050 <strcat@plt>
mov    %rbx,%rdi
mov    $0xd,%esi
mov    $0x1,%edx
call   1040 <getBinaryData@plt>
test   %eax,%eax
je     1291 <decode+0x151>
lea    0xf24(%rip),%rsi
mov    %r15,%rdi
call   1050 <strcat@plt>
mov    %rbx,%rdi
mov    $0xe,%esi
mov    $0x1,%edx
call   1040 <getBinaryData@plt>
test   %eax,%eax
je     12b6 <decode+0x176>
lea    0xf07(%rip),%rsi
mov    %r15,%rdi
call   1050 <strcat@plt>
mov    %rbx,%rdi
mov    $0xf,%esi
mov    $0x1,%edx
call   1040 <getBinaryData@plt>
test   %eax,%eax
je     12db <decode+0x19b>
lea    0xeea(%rip),%rsi
mov    %r15,%rdi
call   1050 <strcat@plt>
mov    %rbx,%rdi
mov    $0x10,%esi
mov    $0x1,%edx
call   1040 <getBinaryData@plt>
test   %eax,%eax
je     1300 <decode+0x1c0>
lea    0xecc(%rip),%rsi
mov    %r15,%rdi
call   1050 <strcat@plt>
mov    %rbx,%rdi
mov    $0x11,%esi
mov    $0x1,%edx
call   1040 <getBinaryData@plt>
test   %eax,%eax
je     16e1 <decode+0x5a1>
lea    0xeaa(%rip),%rsi
jmp    16d9 <decode+0x599>
lea    0xf15(%rip),%rsi
jmp    1336 <decode+0x1f6>
lea    0xf3e(%rip),%rsi
mov    %r15,%rdi
call   1030 <strcpy@plt>
jmp    16e1 <decode+0x5a1>
lea    0xe9f(%rip),%rsi
mov    %r15,%rdi
call   1030 <strcpy@plt>
mov    %rbx,%rdi
mov    $0x29,%esi
mov    $0x8,%edx
call   1040 <getBinaryData@plt>
mov    %eax,%ebx
test   $0x1,%bl
jne    1625 <decode+0x4e5>
test   $0x2,%bl
jne    163d <decode+0x4fd>
test   $0x4,%bl
jne    1655 <decode+0x515>
test   $0x8,%bl
jne    166d <decode+0x52d>
test   $0x10,%bl
jne    1685 <decode+0x545>
test   $0x20,%bl
jne    169d <decode+0x55d>
test   $0x40,%bl
jne    16b5 <decode+0x575>
test   $0x80,%bl
jne    16c9 <decode+0x589>
jmp    16e1 <decode+0x5a1>
lea    0xe42(%rip),%rsi
jmp    13cc <decode+0x28c>
lea    0xe65(%rip),%rsi
jmp    13cc <decode+0x28c>
lea    0xe69(%rip),%rsi
mov    %r15,%rdi
call   1030 <strcpy@plt>
mov    %rbx,%rdi
mov    $0x29,%esi
mov    $0x8,%edx
call   1040 <getBinaryData@plt>
mov    %eax,%ebx
test   $0x1,%bl
jne    141d <decode+0x2dd>
test   $0x2,%bl
jne    1431 <decode+0x2f1>
test   $0x4,%bl
jne    1445 <decode+0x305>
test   $0x8,%bl
jne    1459 <decode+0x319>
test   $0x10,%bl
jne    146d <decode+0x32d>
test   $0x20,%bl
jne    1481 <decode+0x341>
test   $0x40,%bl
jne    1499 <decode+0x359>
test   $0x80,%bl
jne    14b1 <decode+0x371>
jmp    16e1 <decode+0x5a1>
lea    0xde5(%rip),%rsi
mov    %r15,%rdi
call   1050 <strcat@plt>
test   $0x2,%bl
je     13f2 <decode+0x2b2>
lea    0xdd4(%rip),%rsi
mov    %r15,%rdi
call   1050 <strcat@plt>
test   $0x4,%bl
je     13f7 <decode+0x2b7>
lea    0xdc4(%rip),%rsi
mov    %r15,%rdi
call   1050 <strcat@plt>
test   $0x8,%bl
je     13fc <decode+0x2bc>
lea    0xdb4(%rip),%rsi
mov    %r15,%rdi
call   1050 <strcat@plt>
test   $0x10,%bl
je     1401 <decode+0x2c1>
lea    0xda4(%rip),%rsi
mov    %r15,%rdi
call   1050 <strcat@plt>
test   $0x20,%bl
je     1406 <decode+0x2c6>
lea    0xd94(%rip),%rsi
mov    %r15,%rdi
call   1050 <strcat@plt>
test   $0x40,%bl
je     140f <decode+0x2cf>
lea    0xd80(%rip),%rsi
mov    %r15,%rdi
call   1050 <strcat@plt>
test   $0x80,%bl
je     16e1 <decode+0x5a1>
lea    0xd6c(%rip),%rsi
jmp    16d9 <decode+0x599>
mov    %rbx,%rdi
mov    $0x9,%esi
mov    $0x4,%edx
call   1040 <getBinaryData@plt>
lea    0xcfe(%rip),%rbp
lea    0x10(%rsp),%rdi
mov    %rbp,%rsi
mov    %eax,%edx
call   1060 <sprintf@plt>
mov    %rbx,%rdi
mov    $0xd,%esi
mov    $0x4,%edx
call   1040 <getBinaryData@plt>
lea    0xe(%rsp),%rdi
mov    %rbp,%rsi
mov    %eax,%edx
call   1060 <sprintf@plt>
mov    %rbx,%rdi
mov    $0x13,%esi
mov    $0x4,%edx
call   1040 <getBinaryData@plt>
lea    0xc(%rsp),%rdi
mov    %rbp,%rsi
mov    %eax,%edx
call   1060 <sprintf@plt>
mov    %rbx,%rdi
mov    $0x17,%esi
mov    $0x5,%edx
call   1040 <getBinaryData@plt>
lea    0x16(%rsp),%r13
mov    %r13,%rdi
mov    %rbp,%rsi
mov    %eax,%edx
call   1060 <sprintf@plt>
mov    %rbx,%rdi
mov    $0x1c,%esi
mov    $0x5,%edx
call   1040 <getBinaryData@plt>
lea    0x14(%rsp),%r12
mov    %r12,%rdi
mov    %rbp,%rsi
mov    %eax,%edx
call   1060 <sprintf@plt>
mov    %rbx,%rdi
mov    $0x21,%esi
mov    $0x6,%edx
call   1040 <getBinaryData@plt>
lea    0x12(%rsp),%rbx
mov    %rbx,%rdi
mov    %rbp,%rsi
mov    %eax,%edx
call   1060 <sprintf@plt>
lea    0xc3d(%rip),%rsi
mov    %r15,%rdi
call   1030 <strcpy@plt>
mov    %r15,%rdi
lea    0x10(%rsp),%rsi
call   1050 <strcat@plt>
mov    %r15,%rdi
lea    0xe(%rsp),%rsi
call   1050 <strcat@plt>
lea    0xc22(%rip),%rbp
mov    %r15,%rdi
mov    %rbp,%rsi
call   1050 <strcat@plt>
mov    %r15,%rdi
lea    0xc(%rsp),%rsi
call   1050 <strcat@plt>
mov    %r15,%rdi
mov    %rbp,%rsi
call   1050 <strcat@plt>
mov    %r15,%rdi
mov    %r13,%rsi
call   1050 <strcat@plt>
lea    0xc16(%rip),%rsi
mov    %r15,%rdi
call   1050 <strcat@plt>
mov    %r15,%rdi
mov    %r12,%rsi
call   1050 <strcat@plt>
lea    0xbd5(%rip),%rsi
mov    %r15,%rdi
call   1050 <strcat@plt>
mov    %r15,%rdi
mov    %rbx,%rsi
jmp    16dc <decode+0x59c>
lea    0xbe5(%rip),%rsi
mov    %r15,%rdi
call   1050 <strcat@plt>
test   $0x2,%bl
je     1378 <decode+0x238>
lea    0xbd1(%rip),%rsi
mov    %r15,%rdi
call   1050 <strcat@plt>
test   $0x4,%bl
je     1381 <decode+0x241>
lea    0xbbd(%rip),%rsi
mov    %r15,%rdi
call   1050 <strcat@plt>
test   $0x8,%bl
je     138a <decode+0x24a>
lea    0xba9(%rip),%rsi
mov    %r15,%rdi
call   1050 <strcat@plt>
test   $0x10,%bl
je     1393 <decode+0x253>
lea    0xb95(%rip),%rsi
mov    %r15,%rdi
call   1050 <strcat@plt>
test   $0x20,%bl
je     139c <decode+0x25c>
lea    0xb81(%rip),%rsi
mov    %r15,%rdi
call   1050 <strcat@plt>
test   $0x40,%bl
je     13a5 <decode+0x265>
lea    0xb3a(%rip),%rsi
mov    %r15,%rdi
call   1050 <strcat@plt>
test   $0x80,%bl
je     16e1 <decode+0x5a1>
lea    0xb29(%rip),%rsi
jmp    16d9 <decode+0x599>
lea    0xbb3(%rip),%rsi
mov    %r15,%rdi
call   1050 <strcat@plt>
mov    %r14d,%eax
add    $0x18,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret
cmp    $0x93ffe,%eax
jg     173e <decode+0x5fe>
cmp    $0x8dfff,%eax
je     1777 <decode+0x637>
cmp    $0x8e7ff,%eax
je     1783 <decode+0x643>
cmp    $0x917ff,%eax
jne    17bf <decode+0x67f>
lea    0xc21(%rip),%rsi
jmp    16d9 <decode+0x599>
cmp    $0x87fff,%eax
je     178f <decode+0x64f>
cmp    $0x88fff,%eax
je     179b <decode+0x65b>
cmp    $0x8b7ff,%eax
jne    17bf <decode+0x67f>
lea    0xbcc(%rip),%rsi
jmp    16d9 <decode+0x599>
cmp    $0x93fff,%eax
je     17a7 <decode+0x667>
cmp    $0x96fff,%eax
je     17b3 <decode+0x673>
cmp    $0x947ff,%eax
jne    17bf <decode+0x67f>
lea    0xb37(%rip),%rsi
jmp    16d9 <decode+0x599>
lea    0xb4d(%rip),%rsi
jmp    16d9 <decode+0x599>
lea    0xb52(%rip),%rsi
jmp    16d9 <decode+0x599>
lea    0xb9b(%rip),%rsi
jmp    16d9 <decode+0x599>
lea    0xba0(%rip),%rsi
jmp    16d9 <decode+0x599>
lea    0xb50(%rip),%rsi
jmp    16d9 <decode+0x599>
lea    0xb55(%rip),%rsi
jmp    16d9 <decode+0x599>
lea    0xb9e(%rip),%rsi
jmp    16d9 <decode+0x599>
lea    0xae8(%rip),%rsi
jmp    16d9 <decode+0x599>
lea    0xb97(%rip),%rsi
jmp    16d9 <decode+0x599>

LLVM IR (-O0):
@.str = [1 x i8] zeroinitializer
@.str.1 = [18 x i8] c"p->k LED Status: \00"
@.str.2 = [7 x i8] c"Error \00"
@.str.3 = [8 x i8] c"Bypass \00"
@.str.4 = [8 x i8] c"Memory \00"
@.str.5 = [7 x i8] c"Armed \00"
@.str.6 = [7 x i8] c"Ready \00"
@.str.7 = [9 x i8] c"Program \00"
@.str.8 = [3 x i8] c"%d\00"
@.str.9 = [14 x i8] c"p->k Date: 20\00"
@.str.10 = [2 x i8] c"-\00"
@.str.11 = [2 x i8] c" \00"
@.str.12 = [2 x i8] c":\00"
@.str.13 = [13 x i8] c"p->k Zone1: \00"
@.str.14 = [3 x i8] c"1 \00"
@.str.15 = [3 x i8] c"2 \00"
@.str.16 = [3 x i8] c"3 \00"
@.str.17 = [3 x i8] c"4 \00"
@.str.18 = [3 x i8] c"5 \00"
@.str.19 = [3 x i8] c"6 \00"
@.str.20 = [3 x i8] c"7 \00"
@.str.21 = [3 x i8] c"8 \00"
@.str.22 = [13 x i8] c"p->k Zone2: \00"
@.str.23 = [3 x i8] c"9 \00"
@.str.24 = [4 x i8] c"10 \00"
@.str.25 = [4 x i8] c"11 \00"
@.str.26 = [4 x i8] c"12 \00"
@.str.27 = [4 x i8] c"13 \00"
@.str.28 = [4 x i8] c"14 \00"
@.str.29 = [4 x i8] c"15 \00"
@.str.30 = [4 x i8] c"16 \00"
@.str.31 = [13 x i8] c"p->k Zone3: \00"
@.str.32 = [13 x i8] c"p->k Zone4: \00"
@.str.33 = [27 x i8] c"p->k panel in program mode\00"
@.str.34 = [23 x i8] c"p->k undefined command\00"
@.str.35 = [18 x i8] c"p->k Keypad query\00"
@.str.36 = [6 x i8] c"k->p \00"
@.str.37 = [5 x i8] c"idle\00"
@.str.38 = [17 x i8] c"button * pressed\00"
@.str.39 = [17 x i8] c"button # pressed\00"
@.str.40 = [17 x i8] c"button 0 pressed\00"
@.str.41 = [17 x i8] c"button 1 pressed\00"
@.str.42 = [17 x i8] c"button 2 pressed\00"
@.str.43 = [17 x i8] c"button 3 pressed\00"
@.str.44 = [17 x i8] c"button 4 pressed\00"
@.str.45 = [17 x i8] c"button 5 pressed\00"
@.str.46 = [17 x i8] c"button 6 pressed\00"
@.str.47 = [17 x i8] c"button 7 pressed\00"
@.str.48 = [17 x i8] c"button 8 pressed\00"
@.str.49 = [17 x i8] c"button 9 pressed\00"
@.str.50 = [19 x i8] c"unknown keypad msg\00"
@.str.51 = [22 x i8] c"p->k unknown command.\00"
define i32 @decode(i8* %0, i8* %1) {
%3 = alloca i8*
%4 = alloca i8*
%5 = alloca i32
%6 = alloca i32
%7 = alloca i32
%8 = alloca [2 x i8]
%9 = alloca [2 x i8]
%10 = alloca [2 x i8]
%11 = alloca [2 x i8]
%12 = alloca [2 x i8]
%13 = alloca [2 x i8]
store i8* %0, i8** %3
store i8* %1, i8** %4
store i32 0, i32* %5
store i32 0, i32* %6
store i32 0, i32* %7
%14 = load i8*, i8** %3
%15 = call i32 @getBinaryData(i8* %14, i32 0, i32 8)
store i32 %15, i32* %5
%16 = load i8*, i8** %4
%17 = call i32 @strcpy(i8* %16, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i64 0, i64 0))
%18 = load i32, i32* %5
%19 = icmp eq i32 %18, 5
br i1 %19, label %20, label %65
20: ; preds = %2
%21 = load i8*, i8** %4
%22 = call i32 @strcpy(i8* %21, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.1, i64 0, i64 0))
%23 = load i8*, i8** %3
%24 = call i32 @getBinaryData(i8* %23, i32 12, i32 1)
%25 = icmp ne i32 %24, 0
br i1 %25, label %26, label %29
26: ; preds = %20
%27 = load i8*, i8** %4
%28 = call i32 @strcat(i8* %27, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.2, i64 0, i64 0))
br label %29
29: ; preds = %26, %20
%30 = load i8*, i8** %3
%31 = call i32 @getBinaryData(i8* %30, i32 13, i32 1)
%32 = icmp ne i32 %31, 0
br i1 %32, label %33, label %36
33: ; preds = %29
%34 = load i8*, i8** %4
%35 = call i32 @strcat(i8* %34, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.3, i64 0, i64 0))
br label %36
36: ; preds = %33, %29
%37 = load i8*, i8** %3
%38 = call i32 @getBinaryData(i8* %37, i32 14, i32 1)
%39 = icmp ne i32 %38, 0
br i1 %39, label %40, label %43
40: ; preds = %36
%41 = load i8*, i8** %4
%42 = call i32 @strcat(i8* %41, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.4, i64 0, i64 0))
br label %43
43: ; preds = %40, %36
%44 = load i8*, i8** %3
%45 = call i32 @getBinaryData(i8* %44, i32 15, i32 1)
%46 = icmp ne i32 %45, 0
br i1 %46, label %47, label %50
47: ; preds = %43
%48 = load i8*, i8** %4
%49 = call i32 @strcat(i8* %48, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.5, i64 0, i64 0))
br label %50
50: ; preds = %47, %43
%51 = load i8*, i8** %3
%52 = call i32 @getBinaryData(i8* %51, i32 16, i32 1)
%53 = icmp ne i32 %52, 0
br i1 %53, label %54, label %57
54: ; preds = %50
%55 = load i8*, i8** %4
%56 = call i32 @strcat(i8* %55, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.6, i64 0, i64 0))
br label %57
57: ; preds = %54, %50
%58 = load i8*, i8** %3
%59 = call i32 @getBinaryData(i8* %58, i32 17, i32 1)
%60 = icmp ne i32 %59, 0
br i1 %60, label %61, label %64
61: ; preds = %57
%62 = load i8*, i8** %4
%63 = call i32 @strcat(i8* %62, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.7, i64 0, i64 0))
br label %64
64: ; preds = %61, %57
br label %537
65: ; preds = %2
%66 = load i32, i32* %5
%67 = icmp eq i32 %66, 165
br i1 %67, label %68, label %121
68: ; preds = %65
%69 = getelementptr inbounds [2 x i8], [2 x i8]* %8, i64 0, i64 0
%70 = load i8*, i8** %3
%71 = call i32 @getBinaryData(i8* %70, i32 9, i32 4)
%72 = call i32 @sprintf(i8* %69, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.8, i64 0, i64 0), i32 %71)
%73 = getelementptr inbounds [2 x i8], [2 x i8]* %9, i64 0, i64 0
%74 = load i8*, i8** %3
%75 = call i32 @getBinaryData(i8* %74, i32 13, i32 4)
%76 = call i32 @sprintf(i8* %73, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.8, i64 0, i64 0), i32 %75)
%77 = getelementptr inbounds [2 x i8], [2 x i8]* %10, i64 0, i64 0
%78 = load i8*, i8** %3
%79 = call i32 @getBinaryData(i8* %78, i32 19, i32 4)
%80 = call i32 @sprintf(i8* %77, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.8, i64 0, i64 0), i32 %79)
%81 = getelementptr inbounds [2 x i8], [2 x i8]* %11, i64 0, i64 0
%82 = load i8*, i8** %3
%83 = call i32 @getBinaryData(i8* %82, i32 23, i32 5)
%84 = call i32 @sprintf(i8* %81, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.8, i64 0, i64 0), i32 %83)
%85 = getelementptr inbounds [2 x i8], [2 x i8]* %12, i64 0, i64 0
%86 = load i8*, i8** %3
%87 = call i32 @getBinaryData(i8* %86, i32 28, i32 5)
%88 = call i32 @sprintf(i8* %85, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.8, i64 0, i64 0), i32 %87)
%89 = getelementptr inbounds [2 x i8], [2 x i8]* %13, i64 0, i64 0
%90 = load i8*, i8** %3
%91 = call i32 @getBinaryData(i8* %90, i32 33, i32 6)
%92 = call i32 @sprintf(i8* %89, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.8, i64 0, i64 0), i32 %91)
%93 = load i8*, i8** %4
%94 = call i32 @strcpy(i8* %93, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.9, i64 0, i64 0))
%95 = load i8*, i8** %4
%96 = getelementptr inbounds [2 x i8], [2 x i8]* %8, i64 0, i64 0
%97 = call i32 @strcat(i8* %95, i8* %96)
%98 = load i8*, i8** %4
%99 = getelementptr inbounds [2 x i8], [2 x i8]* %9, i64 0, i64 0
%100 = call i32 @strcat(i8* %98, i8* %99)
%101 = load i8*, i8** %4
%102 = call i32 @strcat(i8* %101, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.10, i64 0, i64 0))
%103 = load i8*, i8** %4
%104 = getelementptr inbounds [2 x i8], [2 x i8]* %10, i64 0, i64 0
%105 = call i32 @strcat(i8* %103, i8* %104)
%106 = load i8*, i8** %4
%107 = call i32 @strcat(i8* %106, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.10, i64 0, i64 0))
%108 = load i8*, i8** %4
%109 = getelementptr inbounds [2 x i8], [2 x i8]* %11, i64 0, i64 0
%110 = call i32 @strcat(i8* %108, i8* %109)
%111 = load i8*, i8** %4
%112 = call i32 @strcat(i8* %111, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.11, i64 0, i64 0))
%113 = load i8*, i8** %4
%114 = getelementptr inbounds [2 x i8], [2 x i8]* %12, i64 0, i64 0
%115 = call i32 @strcat(i8* %113, i8* %114)
%116 = load i8*, i8** %4
%117 = call i32 @strcat(i8* %116, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.12, i64 0, i64 0))
%118 = load i8*, i8** %4
%119 = getelementptr inbounds [2 x i8], [2 x i8]* %13, i64 0, i64 0
%120 = call i32 @strcat(i8* %118, i8* %119)
br label %536
121: ; preds = %65
%122 = load i32, i32* %5
%123 = icmp eq i32 %122, 39
br i1 %123, label %124, label %185
124: ; preds = %121
%125 = load i8*, i8** %4
%126 = call i32 @strcpy(i8* %125, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.13, i64 0, i64 0))
%127 = load i8*, i8** %3
%128 = call i32 @getBinaryData(i8* %127, i32 41, i32 8)
store i32 %128, i32* %6
%129 = load i32, i32* %6
%130 = and i32 %129, 1
%131 = icmp ne i32 %130, 0
br i1 %131, label %132, label %135
132: ; preds = %124
%133 = load i8*, i8** %4
%134 = call i32 @strcat(i8* %133, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.14, i64 0, i64 0))
br label %135
135: ; preds = %132, %124
%136 = load i32, i32* %6
%137 = and i32 %136, 2
%138 = icmp ne i32 %137, 0
br i1 %138, label %139, label %142
139: ; preds = %135
%140 = load i8*, i8** %4
%141 = call i32 @strcat(i8* %140, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.15, i64 0, i64 0))
br label %142
142: ; preds = %139, %135
%143 = load i32, i32* %6
%144 = and i32 %143, 4
%145 = icmp ne i32 %144, 0
br i1 %145, label %146, label %149
146: ; preds = %142
%147 = load i8*, i8** %4
%148 = call i32 @strcat(i8* %147, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.16, i64 0, i64 0))
br label %149
149: ; preds = %146, %142
%150 = load i32, i32* %6
%151 = and i32 %150, 8
%152 = icmp ne i32 %151, 0
br i1 %152, label %153, label %156
153: ; preds = %149
%154 = load i8*, i8** %4
%155 = call i32 @strcat(i8* %154, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.17, i64 0, i64 0))
br label %156
156: ; preds = %153, %149
%157 = load i32, i32* %6
%158 = and i32 %157, 16
%159 = icmp ne i32 %158, 0
br i1 %159, label %160, label %163
160: ; preds = %156
%161 = load i8*, i8** %4
%162 = call i32 @strcat(i8* %161, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.18, i64 0, i64 0))
br label %163
163: ; preds = %160, %156
%164 = load i32, i32* %6
%165 = and i32 %164, 32
%166 = icmp ne i32 %165, 0
br i1 %166, label %167, label %170
167: ; preds = %163
%168 = load i8*, i8** %4
%169 = call i32 @strcat(i8* %168, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.19, i64 0, i64 0))
br label %170
170: ; preds = %167, %163
%171 = load i32, i32* %6
%172 = and i32 %171, 64
%173 = icmp ne i32 %172, 0
br i1 %173, label %174, label %177
174: ; preds = %170
%175 = load i8*, i8** %4
%176 = call i32 @strcat(i8* %175, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.20, i64 0, i64 0))
br label %177
177: ; preds = %174, %170
%178 = load i32, i32* %6
%179 = and i32 %178, 128
%180 = icmp ne i32 %179, 0
br i1 %180, label %181, label %184
181: ; preds = %177
%182 = load i8*, i8** %4
%183 = call i32 @strcat(i8* %182, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.21, i64 0, i64 0))
br label %184
184: ; preds = %181, %177
br label %535
185: ; preds = %121
%186 = load i32, i32* %5
%187 = icmp eq i32 %186, 45
br i1 %187, label %188, label %249
188: ; preds = %185
%189 = load i8*, i8** %4
%190 = call i32 @strcpy(i8* %189, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.22, i64 0, i64 0))
%191 = load i8*, i8** %3
%192 = call i32 @getBinaryData(i8* %191, i32 41, i32 8)
store i32 %192, i32* %6
%193 = load i32, i32* %6
%194 = and i32 %193, 1
%195 = icmp ne i32 %194, 0
br i1 %195, label %196, label %199
196: ; preds = %188
%197 = load i8*, i8** %4
%198 = call i32 @strcat(i8* %197, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.23, i64 0, i64 0))
br label %199
199: ; preds = %196, %188
%200 = load i32, i32* %6
%201 = and i32 %200, 2
%202 = icmp ne i32 %201, 0
br i1 %202, label %203, label %206
203: ; preds = %199
%204 = load i8*, i8** %4
%205 = call i32 @strcat(i8* %204, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.24, i64 0, i64 0))
br label %206
206: ; preds = %203, %199
%207 = load i32, i32* %6
%208 = and i32 %207, 4
%209 = icmp ne i32 %208, 0
br i1 %209, label %210, label %213
210: ; preds = %206
%211 = load i8*, i8** %4
%212 = call i32 @strcat(i8* %211, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.25, i64 0, i64 0))
br label %213
213: ; preds = %210, %206
%214 = load i32, i32* %6
%215 = and i32 %214, 8
%216 = icmp ne i32 %215, 0
br i1 %216, label %217, label %220
217: ; preds = %213
%218 = load i8*, i8** %4
%219 = call i32 @strcat(i8* %218, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.26, i64 0, i64 0))
br label %220
220: ; preds = %217, %213
%221 = load i32, i32* %6
%222 = and i32 %221, 16
%223 = icmp ne i32 %222, 0
br i1 %223, label %224, label %227
224: ; preds = %220
%225 = load i8*, i8** %4
%226 = call i32 @strcat(i8* %225, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.27, i64 0, i64 0))
br label %227
227: ; preds = %224, %220
%228 = load i32, i32* %6
%229 = and i32 %228, 32
%230 = icmp ne i32 %229, 0
br i1 %230, label %231, label %234
231: ; preds = %227
%232 = load i8*, i8** %4
%233 = call i32 @strcat(i8* %232, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.28, i64 0, i64 0))
br label %234
234: ; preds = %231, %227
%235 = load i32, i32* %6
%236 = and i32 %235, 64
%237 = icmp ne i32 %236, 0
br i1 %237, label %238, label %241
238: ; preds = %234
%239 = load i8*, i8** %4
%240 = call i32 @strcat(i8* %239, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.29, i64 0, i64 0))
br label %241
241: ; preds = %238, %234
%242 = load i32, i32* %6
%243 = and i32 %242, 128
%244 = icmp ne i32 %243, 0
br i1 %244, label %245, label %248
245: ; preds = %241
%246 = load i8*, i8** %4
%247 = call i32 @strcat(i8* %246, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.30, i64 0, i64 0))
br label %248
248: ; preds = %245, %241
br label %534
249: ; preds = %185
%250 = load i32, i32* %5
%251 = icmp eq i32 %250, 52
br i1 %251, label %252, label %313
252: ; preds = %249
%253 = load i8*, i8** %4
%254 = call i32 @strcpy(i8* %253, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.31, i64 0, i64 0))
%255 = load i8*, i8** %3
%256 = call i32 @getBinaryData(i8* %255, i32 41, i32 8)
store i32 %256, i32* %6
%257 = load i32, i32* %6
%258 = and i32 %257, 1
%259 = icmp ne i32 %258, 0
br i1 %259, label %260, label %263
260: ; preds = %252
%261 = load i8*, i8** %4
%262 = call i32 @strcat(i8* %261, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.23, i64 0, i64 0))
br label %263
263: ; preds = %260, %252
%264 = load i32, i32* %6
%265 = and i32 %264, 2
%266 = icmp ne i32 %265, 0
br i1 %266, label %267, label %270
267: ; preds = %263
%268 = load i8*, i8** %4
%269 = call i32 @strcat(i8* %268, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.24, i64 0, i64 0))
br label %270
270: ; preds = %267, %263
%271 = load i32, i32* %6
%272 = and i32 %271, 4
%273 = icmp ne i32 %272, 0
br i1 %273, label %274, label %277
274: ; preds = %270
%275 = load i8*, i8** %4
%276 = call i32 @strcat(i8* %275, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.25, i64 0, i64 0))
br label %277
277: ; preds = %274, %270
%278 = load i32, i32* %6
%279 = and i32 %278, 8
%280 = icmp ne i32 %279, 0
br i1 %280, label %281, label %284
281: ; preds = %277
%282 = load i8*, i8** %4
%283 = call i32 @strcat(i8* %282, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.26, i64 0, i64 0))
br label %284
284: ; preds = %281, %277
%285 = load i32, i32* %6
%286 = and i32 %285, 16
%287 = icmp ne i32 %286, 0
br i1 %287, label %288, label %291
288: ; preds = %284
%289 = load i8*, i8** %4
%290 = call i32 @strcat(i8* %289, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.27, i64 0, i64 0))
br label %291
291: ; preds = %288, %284
%292 = load i32, i32* %6
%293 = and i32 %292, 32
%294 = icmp ne i32 %293, 0
br i1 %294, label %295, label %298
295: ; preds = %291
%296 = load i8*, i8** %4
%297 = call i32 @strcat(i8* %296, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.28, i64 0, i64 0))
br label %298
298: ; preds = %295, %291
%299 = load i32, i32* %6
%300 = and i32 %299, 64
%301 = icmp ne i32 %300, 0
br i1 %301, label %302, label %305
302: ; preds = %298
%303 = load i8*, i8** %4
%304 = call i32 @strcat(i8* %303, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.29, i64 0, i64 0))
br label %305
305: ; preds = %302, %298
%306 = load i32, i32* %6
%307 = and i32 %306, 128
%308 = icmp ne i32 %307, 0
br i1 %308, label %309, label %312
309: ; preds = %305
%310 = load i8*, i8** %4
%311 = call i32 @strcat(i8* %310, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.30, i64 0, i64 0))
br label %312
312: ; preds = %309, %305
br label %533
313: ; preds = %249
%314 = load i32, i32* %5
%315 = icmp eq i32 %314, 62
br i1 %315, label %316, label %377
316: ; preds = %313
%317 = load i8*, i8** %4
%318 = call i32 @strcpy(i8* %317, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.32, i64 0, i64 0))
%319 = load i8*, i8** %3
%320 = call i32 @getBinaryData(i8* %319, i32 41, i32 8)
store i32 %320, i32* %6
%321 = load i32, i32* %6
%322 = and i32 %321, 1
%323 = icmp ne i32 %322, 0
br i1 %323, label %324, label %327
324: ; preds = %316
%325 = load i8*, i8** %4
%326 = call i32 @strcat(i8* %325, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.23, i64 0, i64 0))
br label %327
327: ; preds = %324, %316
%328 = load i32, i32* %6
%329 = and i32 %328, 2
%330 = icmp ne i32 %329, 0
br i1 %330, label %331, label %334
331: ; preds = %327
%332 = load i8*, i8** %4
%333 = call i32 @strcat(i8* %332, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.24, i64 0, i64 0))
br label %334
334: ; preds = %331, %327
%335 = load i32, i32* %6
%336 = and i32 %335, 4
%337 = icmp ne i32 %336, 0
br i1 %337, label %338, label %341
338: ; preds = %334
%339 = load i8*, i8** %4
%340 = call i32 @strcat(i8* %339, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.25, i64 0, i64 0))
br label %341
341: ; preds = %338, %334
%342 = load i32, i32* %6
%343 = and i32 %342, 8
%344 = icmp ne i32 %343, 0
br i1 %344, label %345, label %348
345: ; preds = %341
%346 = load i8*, i8** %4
%347 = call i32 @strcat(i8* %346, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.26, i64 0, i64 0))
br label %348
348: ; preds = %345, %341
%349 = load i32, i32* %6
%350 = and i32 %349, 16
%351 = icmp ne i32 %350, 0
br i1 %351, label %352, label %355
352: ; preds = %348
%353 = load i8*, i8** %4
%354 = call i32 @strcat(i8* %353, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.27, i64 0, i64 0))
br label %355
355: ; preds = %352, %348
%356 = load i32, i32* %6
%357 = and i32 %356, 32
%358 = icmp ne i32 %357, 0
br i1 %358, label %359, label %362
359: ; preds = %355
%360 = load i8*, i8** %4
%361 = call i32 @strcat(i8* %360, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.28, i64 0, i64 0))
br label %362
362: ; preds = %359, %355
%363 = load i32, i32* %6
%364 = and i32 %363, 64
%365 = icmp ne i32 %364, 0
br i1 %365, label %366, label %369
366: ; preds = %362
%367 = load i8*, i8** %4
%368 = call i32 @strcat(i8* %367, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.29, i64 0, i64 0))
br label %369
369: ; preds = %366, %362
%370 = load i32, i32* %6
%371 = and i32 %370, 128
%372 = icmp ne i32 %371, 0
br i1 %372, label %373, label %376
373: ; preds = %369
%374 = load i8*, i8** %4
%375 = call i32 @strcat(i8* %374, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.30, i64 0, i64 0))
br label %376
376: ; preds = %373, %369
br label %532
377: ; preds = %313
%378 = load i32, i32* %5
%379 = icmp eq i32 %378, 10
br i1 %379, label %380, label %383
380: ; preds = %377
%381 = load i8*, i8** %4
%382 = call i32 @strcpy(i8* %381, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.33, i64 0, i64 0))
br label %531
383: ; preds = %377
%384 = load i32, i32* %5
%385 = icmp eq i32 %384, 99
br i1 %385, label %386, label %389
386: ; preds = %383
%387 = load i8*, i8** %4
%388 = call i32 @strcpy(i8* %387, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.34, i64 0, i64 0))
br label %530
389: ; preds = %383
%390 = load i32, i32* %5
%391 = icmp eq i32 %390, 100
br i1 %391, label %392, label %395
392: ; preds = %389
%393 = load i8*, i8** %4
%394 = call i32 @strcpy(i8* %393, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.34, i64 0, i64 0))
br label %529
395: ; preds = %389
%396 = load i32, i32* %5
%397 = icmp eq i32 %396, 105
br i1 %397, label %398, label %401
398: ; preds = %395
%399 = load i8*, i8** %4
%400 = call i32 @strcpy(i8* %399, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.34, i64 0, i64 0))
br label %528
401: ; preds = %395
%402 = load i32, i32* %5
%403 = icmp eq i32 %402, 93
br i1 %403, label %404, label %407
404: ; preds = %401
%405 = load i8*, i8** %4
%406 = call i32 @strcpy(i8* %405, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.34, i64 0, i64 0))
br label %527
407: ; preds = %401
%408 = load i32, i32* %5
%409 = icmp eq i32 %408, 57
br i1 %409, label %410, label %413
410: ; preds = %407
%411 = load i8*, i8** %4
%412 = call i32 @strcpy(i8* %411, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.34, i64 0, i64 0))
br label %526
413: ; preds = %407
%414 = load i32, i32* %5
%415 = icmp eq i32 %414, 17
br i1 %415, label %416, label %419
416: ; preds = %413
%417 = load i8*, i8** %4
%418 = call i32 @strcpy(i8* %417, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.35, i64 0, i64 0))
br label %525
419: ; preds = %413
%420 = load i32, i32* %5
%421 = icmp eq i32 %420, 255
br i1 %421, label %422, label %521
422: ; preds = %419
%423 = load i8*, i8** %4
%424 = call i32 @strcpy(i8* %423, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.36, i64 0, i64 0))
%425 = load i8*, i8** %3
%426 = call i32 @getBinaryData(i8* %425, i32 8, i32 32)
%427 = icmp eq i32 %426, -1
br i1 %427, label %428, label %431
428: ; preds = %422
%429 = load i8*, i8** %4
%430 = call i32 @strcat(i8* %429, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.37, i64 0, i64 0))
br label %520
431: ; preds = %422
%432 = load i8*, i8** %3
%433 = call i32 @getBinaryData(i8* %432, i32 8, i32 20)
store i32 %433, i32* %7
%434 = load i32, i32* %7
%435 = icmp eq i32 %434, 608255
br i1 %435, label %436, label %439
436: ; preds = %431
%437 = load i8*, i8** %4
%438 = call i32 @strcat(i8* %437, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.38, i64 0, i64 0))
br label %519
439: ; preds = %431
%440 = load i32, i32* %7
%441 = icmp eq i32 %440, 618495
br i1 %441, label %442, label %445
442: ; preds = %439
%443 = load i8*, i8** %4
%444 = call i32 @strcat(i8* %443, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.39, i64 0, i64 0))
br label %518
445: ; preds = %439
%446 = load i32, i32* %7
%447 = icmp eq i32 %446, 526335
br i1 %447, label %448, label %451
448: ; preds = %445
%449 = load i8*, i8** %4
%450 = call i32 @strcat(i8* %449, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.40, i64 0, i64 0))
br label %517
451: ; preds = %445
%452 = load i32, i32* %7
%453 = icmp eq i32 %452, 536575
br i1 %453, label %454, label %457
454: ; preds = %451
%455 = load i8*, i8** %4
%456 = call i32 @strcat(i8* %455, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.41, i64 0, i64 0))
br label %516
457: ; preds = %451
%458 = load i32, i32* %7
%459 = icmp eq i32 %458, 546815
br i1 %459, label %460, label %463
460: ; preds = %457
%461 = load i8*, i8** %4
%462 = call i32 @strcat(i8* %461, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.42, i64 0, i64 0))
br label %515
463: ; preds = %457
%464 = load i32, i32* %7
%465 = icmp eq i32 %464, 557055
br i1 %465, label %466, label %469
466: ; preds = %463
%467 = load i8*, i8** %4
%468 = call i32 @strcat(i8* %467, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.43, i64 0, i64 0))
br label %514
469: ; preds = %463
%470 = load i32, i32* %7
%471 = icmp eq i32 %470, 561151
br i1 %471, label %472, label %475
472: ; preds = %469
%473 = load i8*, i8** %4
%474 = call i32 @strcat(i8* %473, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.44, i64 0, i64 0))
br label %513
475: ; preds = %469
%476 = load i32, i32* %7
%477 = icmp eq i32 %476, 571391
br i1 %477, label %478, label %481
478: ; preds = %475
%479 = load i8*, i8** %4
%480 = call i32 @strcat(i8* %479, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.45, i64 0, i64 0))
br label %512
481: ; preds = %475
%482 = load i32, i32* %7
%483 = icmp eq i32 %482, 581631
br i1 %483, label %484, label %487
484: ; preds = %481
%485 = load i8*, i8** %4
%486 = call i32 @strcat(i8* %485, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.46, i64 0, i64 0))
br label %511
487: ; preds = %481
%488 = load i32, i32* %7
%489 = icmp eq i32 %488, 583679
br i1 %489, label %490, label %493
490: ; preds = %487
%491 = load i8*, i8** %4
%492 = call i32 @strcat(i8* %491, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.47, i64 0, i64 0))
br label %510
493: ; preds = %487
%494 = load i32, i32* %7
%495 = icmp eq i32 %494, 595967
br i1 %495, label %496, label %499
496: ; preds = %493
%497 = load i8*, i8** %4
%498 = call i32 @strcat(i8* %497, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.48, i64 0, i64 0))
br label %509
499: ; preds = %493
%500 = load i32, i32* %7
%501 = icmp eq i32 %500, 606207
br i1 %501, label %502, label %505
502: ; preds = %499
%503 = load i8*, i8** %4
%504 = call i32 @strcat(i8* %503, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.49, i64 0, i64 0))
br label %508
505: ; preds = %499
%506 = load i8*, i8** %4
%507 = call i32 @strcat(i8* %506, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.50, i64 0, i64 0))
br label %508
508: ; preds = %505, %502
br label %509
509: ; preds = %508, %496
br label %510
510: ; preds = %509, %490
br label %511
511: ; preds = %510, %484
br label %512
512: ; preds = %511, %478
br label %513
513: ; preds = %512, %472
br label %514
514: ; preds = %513, %466
br label %515
515: ; preds = %514, %460
br label %516
516: ; preds = %515, %454
br label %517
517: ; preds = %516, %448
br label %518
518: ; preds = %517, %442
br label %519
519: ; preds = %518, %436
br label %520
520: ; preds = %519, %428
br label %524
521: ; preds = %419
%522 = load i8*, i8** %4
%523 = call i32 @strcpy(i8* %522, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.51, i64 0, i64 0))
br label %524
524: ; preds = %521, %520
br label %525
525: ; preds = %524, %416
br label %526
526: ; preds = %525, %410
br label %527
527: ; preds = %526, %404
br label %528
528: ; preds = %527, %398
br label %529
529: ; preds = %528, %392
br label %530
530: ; preds = %529, %386
br label %531
531: ; preds = %530, %380
br label %532
532: ; preds = %531, %376
br label %533
533: ; preds = %532, %312
br label %534
534: ; preds = %533, %248
br label %535
535: ; preds = %534, %184
br label %536
536: ; preds = %535, %68
br label %537
537: ; preds = %536, %64
%538 = load i32, i32* %5
ret i32 %538
}

LLVM IR (-O2):
@.str = [1 x i8] zeroinitializer
@.str.1 = [18 x i8] c"p->k LED Status: \00"
@.str.2 = [7 x i8] c"Error \00"
@.str.3 = [8 x i8] c"Bypass \00"
@.str.4 = [8 x i8] c"Memory \00"
@.str.5 = [7 x i8] c"Armed \00"
@.str.6 = [7 x i8] c"Ready \00"
@.str.7 = [9 x i8] c"Program \00"
@.str.8 = [3 x i8] c"%d\00"
@.str.9 = [14 x i8] c"p->k Date: 20\00"
@.str.10 = [2 x i8] c"-\00"
@.str.11 = [2 x i8] c" \00"
@.str.12 = [2 x i8] c":\00"
@.str.13 = [13 x i8] c"p->k Zone1: \00"
@.str.14 = [3 x i8] c"1 \00"
@.str.15 = [3 x i8] c"2 \00"
@.str.16 = [3 x i8] c"3 \00"
@.str.17 = [3 x i8] c"4 \00"
@.str.18 = [3 x i8] c"5 \00"
@.str.19 = [3 x i8] c"6 \00"
@.str.20 = [3 x i8] c"7 \00"
@.str.21 = [3 x i8] c"8 \00"
@.str.22 = [13 x i8] c"p->k Zone2: \00"
@.str.23 = [3 x i8] c"9 \00"
@.str.24 = [4 x i8] c"10 \00"
@.str.25 = [4 x i8] c"11 \00"
@.str.26 = [4 x i8] c"12 \00"
@.str.27 = [4 x i8] c"13 \00"
@.str.28 = [4 x i8] c"14 \00"
@.str.29 = [4 x i8] c"15 \00"
@.str.30 = [4 x i8] c"16 \00"
@.str.31 = [13 x i8] c"p->k Zone3: \00"
@.str.32 = [13 x i8] c"p->k Zone4: \00"
@.str.33 = [27 x i8] c"p->k panel in program mode\00"
@.str.34 = [23 x i8] c"p->k undefined command\00"
@.str.35 = [18 x i8] c"p->k Keypad query\00"
@.str.36 = [6 x i8] c"k->p \00"
@.str.37 = [5 x i8] c"idle\00"
@.str.38 = [17 x i8] c"button * pressed\00"
@.str.39 = [17 x i8] c"button # pressed\00"
@.str.40 = [17 x i8] c"button 0 pressed\00"
@.str.41 = [17 x i8] c"button 1 pressed\00"
@.str.42 = [17 x i8] c"button 2 pressed\00"
@.str.43 = [17 x i8] c"button 3 pressed\00"
@.str.44 = [17 x i8] c"button 4 pressed\00"
@.str.45 = [17 x i8] c"button 5 pressed\00"
@.str.46 = [17 x i8] c"button 6 pressed\00"
@.str.47 = [17 x i8] c"button 7 pressed\00"
@.str.48 = [17 x i8] c"button 8 pressed\00"
@.str.49 = [17 x i8] c"button 9 pressed\00"
@.str.50 = [19 x i8] c"unknown keypad msg\00"
@.str.51 = [22 x i8] c"p->k unknown command.\00"
define i32 @decode(i8* %0, i8* %1) {
%3 = alloca [2 x i8]
%4 = alloca [2 x i8]
%5 = alloca [2 x i8]
%6 = alloca [2 x i8]
%7 = alloca [2 x i8]
%8 = alloca [2 x i8]
%9 = getelementptr inbounds [2 x i8], [2 x i8]* %3, i64 0, i64 0
%10 = getelementptr inbounds [2 x i8], [2 x i8]* %4, i64 0, i64 0
%11 = getelementptr inbounds [2 x i8], [2 x i8]* %5, i64 0, i64 0
%12 = getelementptr inbounds [2 x i8], [2 x i8]* %6, i64 0, i64 0
%13 = getelementptr inbounds [2 x i8], [2 x i8]* %7, i64 0, i64 0
%14 = getelementptr inbounds [2 x i8], [2 x i8]* %8, i64 0, i64 0
%15 = tail call i32 @getBinaryData(i8* %0, i32 0, i32 8)
%16 = tail call i32 @strcpy(i8* %1, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i64 0, i64 0))
switch i32 %15, label %288 [
i32 5, label %17
i32 165, label %48
i32 39, label %72
i32 45, label %114
i32 52, label %156
i32 62, label %198
i32 10, label %240
i32 99, label %242
i32 100, label %244
i32 105, label %246
i32 93, label %248
i32 57, label %250
i32 17, label %252
i32 255, label %254
]
17: ; preds = %2
%18 = tail call i32 @strcpy(i8* %1, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.1, i64 0, i64 0))
%19 = tail call i32 @getBinaryData(i8* %0, i32 12, i32 1)
%20 = icmp eq i32 %19, 0
br i1 %20, label %23, label %21
21: ; preds = %17
%22 = tail call i32 @strcat(i8* %1, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.2, i64 0, i64 0))
br label %23
23: ; preds = %21, %17
%24 = tail call i32 @getBinaryData(i8* %0, i32 13, i32 1)
%25 = icmp eq i32 %24, 0
br i1 %25, label %28, label %26
26: ; preds = %23
%27 = tail call i32 @strcat(i8* %1, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.3, i64 0, i64 0))
br label %28
28: ; preds = %26, %23
%29 = tail call i32 @getBinaryData(i8* %0, i32 14, i32 1)
%30 = icmp eq i32 %29, 0
br i1 %30, label %33, label %31
31: ; preds = %28
%32 = tail call i32 @strcat(i8* %1, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.4, i64 0, i64 0))
br label %33
33: ; preds = %31, %28
%34 = tail call i32 @getBinaryData(i8* %0, i32 15, i32 1)
%35 = icmp eq i32 %34, 0
br i1 %35, label %38, label %36
36: ; preds = %33
%37 = tail call i32 @strcat(i8* %1, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.5, i64 0, i64 0))
br label %38
38: ; preds = %36, %33
%39 = tail call i32 @getBinaryData(i8* %0, i32 16, i32 1)
%40 = icmp eq i32 %39, 0
br i1 %40, label %43, label %41
41: ; preds = %38
%42 = tail call i32 @strcat(i8* %1, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.6, i64 0, i64 0))
br label %43
43: ; preds = %41, %38
%44 = tail call i32 @getBinaryData(i8* %0, i32 17, i32 1)
%45 = icmp eq i32 %44, 0
br i1 %45, label %290, label %46
46: ; preds = %43
%47 = tail call i32 @strcat(i8* %1, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.7, i64 0, i64 0))
br label %290
48: ; preds = %2
%49 = tail call i32 @getBinaryData(i8* %0, i32 9, i32 4)
%50 = call i32 @sprintf(i8* %9, i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.8, i64 0, i64 0), i32 %49)
%51 = tail call i32 @getBinaryData(i8* %0, i32 13, i32 4)
%52 = call i32 @sprintf(i8* %10, i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.8, i64 0, i64 0), i32 %51)
%53 = tail call i32 @getBinaryData(i8* %0, i32 19, i32 4)
%54 = call i32 @sprintf(i8* %11, i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.8, i64 0, i64 0), i32 %53)
%55 = tail call i32 @getBinaryData(i8* %0, i32 23, i32 5)
%56 = call i32 @sprintf(i8* %12, i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.8, i64 0, i64 0), i32 %55)
%57 = tail call i32 @getBinaryData(i8* %0, i32 28, i32 5)
%58 = call i32 @sprintf(i8* %13, i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.8, i64 0, i64 0), i32 %57)
%59 = tail call i32 @getBinaryData(i8* %0, i32 33, i32 6)
%60 = call i32 @sprintf(i8* %14, i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.8, i64 0, i64 0), i32 %59)
%61 = tail call i32 @strcpy(i8* %1, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.9, i64 0, i64 0))
%62 = call i32 @strcat(i8* %1, i8* %9)
%63 = call i32 @strcat(i8* %1, i8* %10)
%64 = call i32 @strcat(i8* %1, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.10, i64 0, i64 0))
%65 = call i32 @strcat(i8* %1, i8* %11)
%66 = call i32 @strcat(i8* %1, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.10, i64 0, i64 0))
%67 = call i32 @strcat(i8* %1, i8* %12)
%68 = call i32 @strcat(i8* %1, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.11, i64 0, i64 0))
%69 = call i32 @strcat(i8* %1, i8* %13)
%70 = call i32 @strcat(i8* %1, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.12, i64 0, i64 0))
%71 = call i32 @strcat(i8* %1, i8* %14)
br label %290
72: ; preds = %2
%73 = tail call i32 @strcpy(i8* %1, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.13, i64 0, i64 0))
%74 = tail call i32 @getBinaryData(i8* %0, i32 41, i32 8)
%75 = and i32 %74, 1
%76 = icmp eq i32 %75, 0
br i1 %76, label %79, label %77
77: ; preds = %72
%78 = tail call i32 @strcat(i8* %1, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.14, i64 0, i64 0))
br label %79
79: ; preds = %77, %72
%80 = and i32 %74, 2
%81 = icmp eq i32 %80, 0
br i1 %81, label %84, label %82
82: ; preds = %79
%83 = tail call i32 @strcat(i8* %1, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.15, i64 0, i64 0))
br label %84
84: ; preds = %82, %79
%85 = and i32 %74, 4
%86 = icmp eq i32 %85, 0
br i1 %86, label %89, label %87
87: ; preds = %84
%88 = tail call i32 @strcat(i8* %1, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.16, i64 0, i64 0))
br label %89
89: ; preds = %87, %84
%90 = and i32 %74, 8
%91 = icmp eq i32 %90, 0
br i1 %91, label %94, label %92
92: ; preds = %89
%93 = tail call i32 @strcat(i8* %1, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.17, i64 0, i64 0))
br label %94
94: ; preds = %92, %89
%95 = and i32 %74, 16
%96 = icmp eq i32 %95, 0
br i1 %96, label %99, label %97
97: ; preds = %94
%98 = tail call i32 @strcat(i8* %1, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.18, i64 0, i64 0))
br label %99
99: ; preds = %97, %94
%100 = and i32 %74, 32
%101 = icmp eq i32 %100, 0
br i1 %101, label %104, label %102
102: ; preds = %99
%103 = tail call i32 @strcat(i8* %1, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.19, i64 0, i64 0))
br label %104
104: ; preds = %102, %99
%105 = and i32 %74, 64
%106 = icmp eq i32 %105, 0
br i1 %106, label %109, label %107
107: ; preds = %104
%108 = tail call i32 @strcat(i8* %1, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.20, i64 0, i64 0))
br label %109
109: ; preds = %107, %104
%110 = and i32 %74, 128
%111 = icmp eq i32 %110, 0
br i1 %111, label %290, label %112
112: ; preds = %109
%113 = tail call i32 @strcat(i8* %1, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.21, i64 0, i64 0))
br label %290
114: ; preds = %2
%115 = tail call i32 @strcpy(i8* %1, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.22, i64 0, i64 0))
%116 = tail call i32 @getBinaryData(i8* %0, i32 41, i32 8)
%117 = and i32 %116, 1
%118 = icmp eq i32 %117, 0
br i1 %118, label %121, label %119
119: ; preds = %114
%120 = tail call i32 @strcat(i8* %1, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.23, i64 0, i64 0))
br label %121
121: ; preds = %119, %114
%122 = and i32 %116, 2
%123 = icmp eq i32 %122, 0
br i1 %123, label %126, label %124
124: ; preds = %121
%125 = tail call i32 @strcat(i8* %1, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.24, i64 0, i64 0))
br label %126
126: ; preds = %124, %121
%127 = and i32 %116, 4
%128 = icmp eq i32 %127, 0
br i1 %128, label %131, label %129
129: ; preds = %126
%130 = tail call i32 @strcat(i8* %1, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.25, i64 0, i64 0))
br label %131
131: ; preds = %129, %126
%132 = and i32 %116, 8
%133 = icmp eq i32 %132, 0
br i1 %133, label %136, label %134
134: ; preds = %131
%135 = tail call i32 @strcat(i8* %1, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.26, i64 0, i64 0))
br label %136
136: ; preds = %134, %131
%137 = and i32 %116, 16
%138 = icmp eq i32 %137, 0
br i1 %138, label %141, label %139
139: ; preds = %136
%140 = tail call i32 @strcat(i8* %1, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.27, i64 0, i64 0))
br label %141
141: ; preds = %139, %136
%142 = and i32 %116, 32
%143 = icmp eq i32 %142, 0
br i1 %143, label %146, label %144
144: ; preds = %141
%145 = tail call i32 @strcat(i8* %1, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.28, i64 0, i64 0))
br label %146
146: ; preds = %144, %141
%147 = and i32 %116, 64
%148 = icmp eq i32 %147, 0
br i1 %148, label %151, label %149
149: ; preds = %146
%150 = tail call i32 @strcat(i8* %1, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.29, i64 0, i64 0))
br label %151
151: ; preds = %149, %146
%152 = and i32 %116, 128
%153 = icmp eq i32 %152, 0
br i1 %153, label %290, label %154
154: ; preds = %151
%155 = tail call i32 @strcat(i8* %1, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.30, i64 0, i64 0))
br label %290
156: ; preds = %2
%157 = tail call i32 @strcpy(i8* %1, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.31, i64 0, i64 0))
%158 = tail call i32 @getBinaryData(i8* %0, i32 41, i32 8)
%159 = and i32 %158, 1
%160 = icmp eq i32 %159, 0
br i1 %160, label %163, label %161
161: ; preds = %156
%162 = tail call i32 @strcat(i8* %1, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.23, i64 0, i64 0))
br label %163
163: ; preds = %161, %156
%164 = and i32 %158, 2
%165 = icmp eq i32 %164, 0
br i1 %165, label %168, label %166
166: ; preds = %163
%167 = tail call i32 @strcat(i8* %1, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.24, i64 0, i64 0))
br label %168
168: ; preds = %166, %163
%169 = and i32 %158, 4
%170 = icmp eq i32 %169, 0
br i1 %170, label %173, label %171
171: ; preds = %168
%172 = tail call i32 @strcat(i8* %1, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.25, i64 0, i64 0))
br label %173
173: ; preds = %171, %168
%174 = and i32 %158, 8
%175 = icmp eq i32 %174, 0
br i1 %175, label %178, label %176
176: ; preds = %173
%177 = tail call i32 @strcat(i8* %1, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.26, i64 0, i64 0))
br label %178
178: ; preds = %176, %173
%179 = and i32 %158, 16
%180 = icmp eq i32 %179, 0
br i1 %180, label %183, label %181
181: ; preds = %178
%182 = tail call i32 @strcat(i8* %1, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.27, i64 0, i64 0))
br label %183
183: ; preds = %181, %178
%184 = and i32 %158, 32
%185 = icmp eq i32 %184, 0
br i1 %185, label %188, label %186
186: ; preds = %183
%187 = tail call i32 @strcat(i8* %1, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.28, i64 0, i64 0))
br label %188
188: ; preds = %186, %183
%189 = and i32 %158, 64
%190 = icmp eq i32 %189, 0
br i1 %190, label %193, label %191
191: ; preds = %188
%192 = tail call i32 @strcat(i8* %1, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.29, i64 0, i64 0))
br label %193
193: ; preds = %191, %188
%194 = and i32 %158, 128
%195 = icmp eq i32 %194, 0
br i1 %195, label %290, label %196
196: ; preds = %193
%197 = tail call i32 @strcat(i8* %1, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.30, i64 0, i64 0))
br label %290
198: ; preds = %2
%199 = tail call i32 @strcpy(i8* %1, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.32, i64 0, i64 0))
%200 = tail call i32 @getBinaryData(i8* %0, i32 41, i32 8)
%201 = and i32 %200, 1
%202 = icmp eq i32 %201, 0
br i1 %202, label %205, label %203
203: ; preds = %198
%204 = tail call i32 @strcat(i8* %1, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.23, i64 0, i64 0))
br label %205
205: ; preds = %203, %198
%206 = and i32 %200, 2
%207 = icmp eq i32 %206, 0
br i1 %207, label %210, label %208
208: ; preds = %205
%209 = tail call i32 @strcat(i8* %1, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.24, i64 0, i64 0))
br label %210
210: ; preds = %208, %205
%211 = and i32 %200, 4
%212 = icmp eq i32 %211, 0
br i1 %212, label %215, label %213
213: ; preds = %210
%214 = tail call i32 @strcat(i8* %1, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.25, i64 0, i64 0))
br label %215
215: ; preds = %213, %210
%216 = and i32 %200, 8
%217 = icmp eq i32 %216, 0
br i1 %217, label %220, label %218
218: ; preds = %215
%219 = tail call i32 @strcat(i8* %1, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.26, i64 0, i64 0))
br label %220
220: ; preds = %218, %215
%221 = and i32 %200, 16
%222 = icmp eq i32 %221, 0
br i1 %222, label %225, label %223
223: ; preds = %220
%224 = tail call i32 @strcat(i8* %1, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.27, i64 0, i64 0))
br label %225
225: ; preds = %223, %220
%226 = and i32 %200, 32
%227 = icmp eq i32 %226, 0
br i1 %227, label %230, label %228
228: ; preds = %225
%229 = tail call i32 @strcat(i8* %1, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.28, i64 0, i64 0))
br label %230
230: ; preds = %228, %225
%231 = and i32 %200, 64
%232 = icmp eq i32 %231, 0
br i1 %232, label %235, label %233
233: ; preds = %230
%234 = tail call i32 @strcat(i8* %1, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.29, i64 0, i64 0))
br label %235
235: ; preds = %233, %230
%236 = and i32 %200, 128
%237 = icmp eq i32 %236, 0
br i1 %237, label %290, label %238
238: ; preds = %235
%239 = tail call i32 @strcat(i8* %1, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.30, i64 0, i64 0))
br label %290
240: ; preds = %2
%241 = tail call i32 @strcpy(i8* %1, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.33, i64 0, i64 0))
br label %290
242: ; preds = %2
%243 = tail call i32 @strcpy(i8* %1, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.34, i64 0, i64 0))
br label %290
244: ; preds = %2
%245 = tail call i32 @strcpy(i8* %1, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.34, i64 0, i64 0))
br label %290
246: ; preds = %2
%247 = tail call i32 @strcpy(i8* %1, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.34, i64 0, i64 0))
br label %290
248: ; preds = %2
%249 = tail call i32 @strcpy(i8* %1, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.34, i64 0, i64 0))
br label %290
250: ; preds = %2
%251 = tail call i32 @strcpy(i8* %1, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.34, i64 0, i64 0))
br label %290
252: ; preds = %2
%253 = tail call i32 @strcpy(i8* %1, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.35, i64 0, i64 0))
br label %290
254: ; preds = %2
%255 = tail call i32 @strcpy(i8* %1, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.36, i64 0, i64 0))
%256 = tail call i32 @getBinaryData(i8* %0, i32 8, i32 32)
%257 = icmp eq i32 %256, -1
br i1 %257, label %258, label %260
258: ; preds = %254
%259 = tail call i32 @strcat(i8* %1, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.37, i64 0, i64 0))
br label %290
260: ; preds = %254
%261 = tail call i32 @getBinaryData(i8* %0, i32 8, i32 20)
switch i32 %261, label %286 [
i32 608255, label %262
i32 618495, label %264
i32 526335, label %266
i32 536575, label %268
i32 546815, label %270
i32 557055, label %272
i32 561151, label %274
i32 571391, label %276
i32 581631, label %278
i32 583679, label %280
i32 595967, label %282
i32 606207, label %284
]
262: ; preds = %260
%263 = tail call i32 @strcat(i8* %1, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.38, i64 0, i64 0))
br label %290
264: ; preds = %260
%265 = tail call i32 @strcat(i8* %1, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.39, i64 0, i64 0))
br label %290
266: ; preds = %260
%267 = tail call i32 @strcat(i8* %1, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.40, i64 0, i64 0))
br label %290
268: ; preds = %260
%269 = tail call i32 @strcat(i8* %1, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.41, i64 0, i64 0))
br label %290
270: ; preds = %260
%271 = tail call i32 @strcat(i8* %1, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.42, i64 0, i64 0))
br label %290
272: ; preds = %260
%273 = tail call i32 @strcat(i8* %1, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.43, i64 0, i64 0))
br label %290
274: ; preds = %260
%275 = tail call i32 @strcat(i8* %1, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.44, i64 0, i64 0))
br label %290
276: ; preds = %260
%277 = tail call i32 @strcat(i8* %1, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.45, i64 0, i64 0))
br label %290
278: ; preds = %260
%279 = tail call i32 @strcat(i8* %1, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.46, i64 0, i64 0))
br label %290
280: ; preds = %260
%281 = tail call i32 @strcat(i8* %1, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.47, i64 0, i64 0))
br label %290
282: ; preds = %260
%283 = tail call i32 @strcat(i8* %1, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.48, i64 0, i64 0))
br label %290
284: ; preds = %260
%285 = tail call i32 @strcat(i8* %1, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.49, i64 0, i64 0))
br label %290
286: ; preds = %260
%287 = tail call i32 @strcat(i8* %1, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.50, i64 0, i64 0))
br label %290
288: ; preds = %2
%289 = tail call i32 @strcpy(i8* %1, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.51, i64 0, i64 0))
br label %290
290: ; preds = %48, %154, %151, %238, %235, %242, %246, %250, %288, %262, %266, %270, %274, %278, %282, %286, %284, %280, %276, %272, %268, %264, %258, %252, %248, %244, %240, %193, %196, %109, %112, %43, %46
ret i32 %15
}