#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 ");
  } 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    0xeef(%rip),%rsi
call   1030 <strcpy@plt>
cmpl   $0x5,-0x14(%rbp)
jne    1283 <decode+0x143>
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>
jmp    1c74 <decode+0xb34>
cmpl   $0xa5,-0x14(%rbp)
jne    1441 <decode+0x301>
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    0xd7f(%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    0xd52(%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    0xd25(%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    0xcf8(%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    0xccb(%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    0xc9e(%rip),%rsi
call   1060 <sprintf@plt>
mov    -0x10(%rbp),%rdi
lea    0xc91(%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    0xc75(%rip),%rsi
call   1050 <strcat@plt>
mov    -0x10(%rbp),%rdi
lea    -0x22(%rbp),%rsi
call   1050 <strcat@plt>
mov    -0x10(%rbp),%rdi
lea    0xc58(%rip),%rsi
call   1050 <strcat@plt>
mov    -0x10(%rbp),%rdi
lea    -0x24(%rbp),%rsi
call   1050 <strcat@plt>
mov    -0x10(%rbp),%rdi
lea    0xc64(%rip),%rsi
call   1050 <strcat@plt>
mov    -0x10(%rbp),%rdi
lea    -0x26(%rbp),%rsi
call   1050 <strcat@plt>
mov    -0x10(%rbp),%rdi
lea    0xc20(%rip),%rsi
call   1050 <strcat@plt>
mov    -0x10(%rbp),%rdi
lea    -0x28(%rbp),%rsi
call   1050 <strcat@plt>
jmp    1c6f <decode+0xb2f>
cmpl   $0x27,-0x14(%rbp)
jne    1570 <decode+0x430>
mov    -0x10(%rbp),%rdi
lea    0xbf6(%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     1490 <decode+0x350>
mov    -0x10(%rbp),%rdi
lea    0xbe9(%rip),%rsi
call   1050 <strcat@plt>
mov    -0x18(%rbp),%eax
and    $0x2,%eax
cmp    $0x0,%eax
je     14af <decode+0x36f>
mov    -0x10(%rbp),%rdi
lea    0xbce(%rip),%rsi
call   1050 <strcat@plt>
mov    -0x18(%rbp),%eax
and    $0x4,%eax
cmp    $0x0,%eax
je     14ce <decode+0x38e>
mov    -0x10(%rbp),%rdi
lea    0xbb3(%rip),%rsi
call   1050 <strcat@plt>
mov    -0x18(%rbp),%eax
and    $0x8,%eax
cmp    $0x0,%eax
je     14ed <decode+0x3ad>
mov    -0x10(%rbp),%rdi
lea    0xb98(%rip),%rsi
call   1050 <strcat@plt>
mov    -0x18(%rbp),%eax
and    $0x10,%eax
cmp    $0x0,%eax
je     150c <decode+0x3cc>
mov    -0x10(%rbp),%rdi
lea    0xb7d(%rip),%rsi
call   1050 <strcat@plt>
mov    -0x18(%rbp),%eax
and    $0x20,%eax
cmp    $0x0,%eax
je     152b <decode+0x3eb>
mov    -0x10(%rbp),%rdi
lea    0xb62(%rip),%rsi
call   1050 <strcat@plt>
mov    -0x18(%rbp),%eax
and    $0x40,%eax
cmp    $0x0,%eax
je     154a <decode+0x40a>
mov    -0x10(%rbp),%rdi
lea    0xb14(%rip),%rsi
call   1050 <strcat@plt>
mov    -0x18(%rbp),%eax
and    $0x80,%eax
cmp    $0x0,%eax
je     156b <decode+0x42b>
mov    -0x10(%rbp),%rdi
lea    0xaf6(%rip),%rsi
call   1050 <strcat@plt>
jmp    1c6a <decode+0xb2a>
cmpl   $0x2d,-0x14(%rbp)
jne    169f <decode+0x55f>
mov    -0x10(%rbp),%rdi
lea    0xada(%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     15bf <decode+0x47f>
mov    -0x10(%rbp),%rdi
lea    0xab2(%rip),%rsi
call   1050 <strcat@plt>
mov    -0x18(%rbp),%eax
and    $0x2,%eax
cmp    $0x0,%eax
je     15de <decode+0x49e>
mov    -0x10(%rbp),%rdi
lea    0xa96(%rip),%rsi
call   1050 <strcat@plt>
mov    -0x18(%rbp),%eax
and    $0x4,%eax
cmp    $0x0,%eax
je     15fd <decode+0x4bd>
mov    -0x10(%rbp),%rdi
lea    0xa7b(%rip),%rsi
call   1050 <strcat@plt>
mov    -0x18(%rbp),%eax
and    $0x8,%eax
cmp    $0x0,%eax
je     161c <decode+0x4dc>
mov    -0x10(%rbp),%rdi
lea    0xa60(%rip),%rsi
call   1050 <strcat@plt>
mov    -0x18(%rbp),%eax
and    $0x10,%eax
cmp    $0x0,%eax
je     163b <decode+0x4fb>
mov    -0x10(%rbp),%rdi
lea    0xa45(%rip),%rsi
call   1050 <strcat@plt>
mov    -0x18(%rbp),%eax
and    $0x20,%eax
cmp    $0x0,%eax
je     165a <decode+0x51a>
mov    -0x10(%rbp),%rdi
lea    0xa2a(%rip),%rsi
call   1050 <strcat@plt>
mov    -0x18(%rbp),%eax
and    $0x40,%eax
cmp    $0x0,%eax
je     1679 <decode+0x539>
mov    -0x10(%rbp),%rdi
lea    0xa0f(%rip),%rsi
call   1050 <strcat@plt>
mov    -0x18(%rbp),%eax
and    $0x80,%eax
cmp    $0x0,%eax
je     169a <decode+0x55a>
mov    -0x10(%rbp),%rdi
lea    0x9f2(%rip),%rsi
call   1050 <strcat@plt>
jmp    1c65 <decode+0xb25>
cmpl   $0x34,-0x14(%rbp)
jne    17ce <decode+0x68e>
mov    -0x10(%rbp),%rdi
lea    0x9d7(%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     16ee <decode+0x5ae>
mov    -0x10(%rbp),%rdi
lea    0x983(%rip),%rsi
call   1050 <strcat@plt>
mov    -0x18(%rbp),%eax
and    $0x2,%eax
cmp    $0x0,%eax
je     170d <decode+0x5cd>
mov    -0x10(%rbp),%rdi
lea    0x967(%rip),%rsi
call   1050 <strcat@plt>
mov    -0x18(%rbp),%eax
and    $0x4,%eax
cmp    $0x0,%eax
je     172c <decode+0x5ec>
mov    -0x10(%rbp),%rdi
lea    0x94c(%rip),%rsi
call   1050 <strcat@plt>
mov    -0x18(%rbp),%eax
and    $0x8,%eax
cmp    $0x0,%eax
je     174b <decode+0x60b>
mov    -0x10(%rbp),%rdi
lea    0x931(%rip),%rsi
call   1050 <strcat@plt>
mov    -0x18(%rbp),%eax
and    $0x10,%eax
cmp    $0x0,%eax
je     176a <decode+0x62a>
mov    -0x10(%rbp),%rdi
lea    0x916(%rip),%rsi
call   1050 <strcat@plt>
mov    -0x18(%rbp),%eax
and    $0x20,%eax
cmp    $0x0,%eax
je     1789 <decode+0x649>
mov    -0x10(%rbp),%rdi
lea    0x8fb(%rip),%rsi
call   1050 <strcat@plt>
mov    -0x18(%rbp),%eax
and    $0x40,%eax
cmp    $0x0,%eax
je     17a8 <decode+0x668>
mov    -0x10(%rbp),%rdi
lea    0x8e0(%rip),%rsi
call   1050 <strcat@plt>
mov    -0x18(%rbp),%eax
and    $0x80,%eax
cmp    $0x0,%eax
je     17c9 <decode+0x689>
mov    -0x10(%rbp),%rdi
lea    0x8c3(%rip),%rsi
call   1050 <strcat@plt>
jmp    1c60 <decode+0xb20>
cmpl   $0x3e,-0x14(%rbp)
jne    18fd <decode+0x7bd>
mov    -0x10(%rbp),%rdi
lea    0x8b5(%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     181d <decode+0x6dd>
mov    -0x10(%rbp),%rdi
lea    0x854(%rip),%rsi
call   1050 <strcat@plt>
mov    -0x18(%rbp),%eax
and    $0x2,%eax
cmp    $0x0,%eax
je     183c <decode+0x6fc>
mov    -0x10(%rbp),%rdi
lea    0x838(%rip),%rsi
call   1050 <strcat@plt>
mov    -0x18(%rbp),%eax
and    $0x4,%eax
cmp    $0x0,%eax
je     185b <decode+0x71b>
mov    -0x10(%rbp),%rdi
lea    0x81d(%rip),%rsi
call   1050 <strcat@plt>
mov    -0x18(%rbp),%eax
and    $0x8,%eax
cmp    $0x0,%eax
je     187a <decode+0x73a>
mov    -0x10(%rbp),%rdi
lea    0x802(%rip),%rsi
call   1050 <strcat@plt>
mov    -0x18(%rbp),%eax
and    $0x10,%eax
cmp    $0x0,%eax
je     1899 <decode+0x759>
mov    -0x10(%rbp),%rdi
lea    0x7e7(%rip),%rsi
call   1050 <strcat@plt>
mov    -0x18(%rbp),%eax
and    $0x20,%eax
cmp    $0x0,%eax
je     18b8 <decode+0x778>
mov    -0x10(%rbp),%rdi
lea    0x7cc(%rip),%rsi
call   1050 <strcat@plt>
mov    -0x18(%rbp),%eax
and    $0x40,%eax
cmp    $0x0,%eax
je     18d7 <decode+0x797>
mov    -0x10(%rbp),%rdi
lea    0x7b1(%rip),%rsi
call   1050 <strcat@plt>
mov    -0x18(%rbp),%eax
and    $0x80,%eax
cmp    $0x0,%eax
je     18f8 <decode+0x7b8>
mov    -0x10(%rbp),%rdi
lea    0x794(%rip),%rsi
call   1050 <strcat@plt>
jmp    1c5b <decode+0xb1b>
cmpl   $0xa,-0x14(%rbp)
jne    191c <decode+0x7dc>
mov    -0x10(%rbp),%rdi
lea    0x793(%rip),%rsi
call   1030 <strcpy@plt>
jmp    1c56 <decode+0xb16>
cmpl   $0x63,-0x14(%rbp)
jne    193b <decode+0x7fb>
mov    -0x10(%rbp),%rdi
lea    0x78f(%rip),%rsi
call   1030 <strcpy@plt>
jmp    1c51 <decode+0xb11>
cmpl   $0x64,-0x14(%rbp)
jne    195a <decode+0x81a>
mov    -0x10(%rbp),%rdi
lea    0x770(%rip),%rsi
call   1030 <strcpy@plt>
jmp    1c4c <decode+0xb0c>
cmpl   $0x69,-0x14(%rbp)
jne    1979 <decode+0x839>
mov    -0x10(%rbp),%rdi
lea    0x751(%rip),%rsi
call   1030 <strcpy@plt>
jmp    1c47 <decode+0xb07>
cmpl   $0x5d,-0x14(%rbp)
jne    1998 <decode+0x858>
mov    -0x10(%rbp),%rdi
lea    0x732(%rip),%rsi
call   1030 <strcpy@plt>
jmp    1c42 <decode+0xb02>
cmpl   $0x39,-0x14(%rbp)
jne    19b7 <decode+0x877>
mov    -0x10(%rbp),%rdi
lea    0x713(%rip),%rsi
call   1030 <strcpy@plt>
jmp    1c3d <decode+0xafd>
cmpl   $0x11,-0x14(%rbp)
jne    19d6 <decode+0x896>
mov    -0x10(%rbp),%rdi
lea    0x70b(%rip),%rsi
call   1030 <strcpy@plt>
jmp    1c38 <decode+0xaf8>
cmpl   $0xff,-0x14(%rbp)
jne    1c23 <decode+0xae3>
mov    -0x10(%rbp),%rdi
lea    0x6fb(%rip),%rsi
call   1030 <strcpy@plt>
mov    -0x8(%rbp),%rdi
mov    $0x8,%esi
mov    $0x20,%edx
call   1040 <getBinaryData@plt>
cmp    $0xffffffff,%eax
jne    1a24 <decode+0x8e4>
mov    -0x10(%rbp),%rdi
lea    0x6d5(%rip),%rsi
call   1050 <strcat@plt>
jmp    1c1e <decode+0xade>
mov    -0x8(%rbp),%rdi
mov    $0x8,%esi
mov    $0x14,%edx
call   1040 <getBinaryData@plt>
mov    %eax,-0x1c(%rbp)
cmpl   $0x947ff,-0x1c(%rbp)
jne    1a5c <decode+0x91c>
mov    -0x10(%rbp),%rdi
lea    0x6a2(%rip),%rsi
call   1050 <strcat@plt>
jmp    1c19 <decode+0xad9>
cmpl   $0x96fff,-0x1c(%rbp)
jne    1a7e <decode+0x93e>
mov    -0x10(%rbp),%rdi
lea    0x691(%rip),%rsi
call   1050 <strcat@plt>
jmp    1c14 <decode+0xad4>
cmpl   $0x807ff,-0x1c(%rbp)
jne    1aa0 <decode+0x960>
mov    -0x10(%rbp),%rdi
lea    0x680(%rip),%rsi
call   1050 <strcat@plt>
jmp    1c0f <decode+0xacf>
cmpl   $0x82fff,-0x1c(%rbp)
jne    1ac2 <decode+0x982>
mov    -0x10(%rbp),%rdi
lea    0x66f(%rip),%rsi
call   1050 <strcat@plt>
jmp    1c0a <decode+0xaca>
cmpl   $0x857ff,-0x1c(%rbp)
jne    1ae4 <decode+0x9a4>
mov    -0x10(%rbp),%rdi
lea    0x65e(%rip),%rsi
call   1050 <strcat@plt>
jmp    1c05 <decode+0xac5>
cmpl   $0x87fff,-0x1c(%rbp)
jne    1b06 <decode+0x9c6>
mov    -0x10(%rbp),%rdi
lea    0x64d(%rip),%rsi
call   1050 <strcat@plt>
jmp    1c00 <decode+0xac0>
cmpl   $0x88fff,-0x1c(%rbp)
jne    1b28 <decode+0x9e8>
mov    -0x10(%rbp),%rdi
lea    0x63c(%rip),%rsi
call   1050 <strcat@plt>
jmp    1bfb <decode+0xabb>
cmpl   $0x8b7ff,-0x1c(%rbp)
jne    1b4a <decode+0xa0a>
mov    -0x10(%rbp),%rdi
lea    0x62b(%rip),%rsi
call   1050 <strcat@plt>
jmp    1bf6 <decode+0xab6>
cmpl   $0x8dfff,-0x1c(%rbp)
jne    1b6c <decode+0xa2c>
mov    -0x10(%rbp),%rdi
lea    0x61a(%rip),%rsi
call   1050 <strcat@plt>
jmp    1bf1 <decode+0xab1>
cmpl   $0x8e7ff,-0x1c(%rbp)
jne    1b8e <decode+0xa4e>
mov    -0x10(%rbp),%rdi
lea    0x609(%rip),%rsi
call   1050 <strcat@plt>
jmp    1bec <decode+0xaac>
cmpl   $0x917ff,-0x1c(%rbp)
jne    1bb0 <decode+0xa70>
mov    -0x10(%rbp),%rdi
lea    0x5f8(%rip),%rsi
call   1050 <strcat@plt>
jmp    1be7 <decode+0xaa7>
cmpl   $0x93fff,-0x1c(%rbp)
jne    1bd2 <decode+0xa92>
mov    -0x10(%rbp),%rdi
lea    0x5e7(%rip),%rsi
call   1050 <strcat@plt>
jmp    1be2 <decode+0xaa2>
mov    -0x10(%rbp),%rdi
lea    0x5e3(%rip),%rsi
call   1050 <strcat@plt>
jmp    1be7 <decode+0xaa7>
jmp    1bec <decode+0xaac>
jmp    1bf1 <decode+0xab1>
jmp    1bf6 <decode+0xab6>
jmp    1bfb <decode+0xabb>
jmp    1c00 <decode+0xac0>
jmp    1c05 <decode+0xac5>
jmp    1c0a <decode+0xaca>
jmp    1c0f <decode+0xacf>
jmp    1c14 <decode+0xad4>
jmp    1c19 <decode+0xad9>
jmp    1c1e <decode+0xade>
jmp    1c33 <decode+0xaf3>
mov    -0x10(%rbp),%rdi
lea    0x5a5(%rip),%rsi
call   1030 <strcpy@plt>
jmp    1c38 <decode+0xaf8>
jmp    1c3d <decode+0xafd>
jmp    1c42 <decode+0xb02>
jmp    1c47 <decode+0xb07>
jmp    1c4c <decode+0xb0c>
jmp    1c51 <decode+0xb11>
jmp    1c56 <decode+0xb16>
jmp    1c5b <decode+0xb1b>
jmp    1c60 <decode+0xb20>
jmp    1c65 <decode+0xb25>
jmp    1c6a <decode+0xb2a>
jmp    1c6f <decode+0xb2f>
jmp    1c74 <decode+0xb34>
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    0x109c(%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    0x10c2(%rip),%rsi
jmp    1311 <decode+0x1d1>
cmp    $0xa5,%r14d
je     1498 <decode+0x358>
cmp    $0xff,%r14d
jne    122c <decode+0xec>
lea    0x10c9(%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     16ad <decode+0x56d>
mov    %rbx,%rdi
mov    $0x8,%esi
mov    $0x14,%edx
call   1040 <getBinaryData@plt>
cmp    $0x8dffe,%eax
jg     16ce <decode+0x58e>
cmp    $0x87ffe,%eax
jg     16f7 <decode+0x5b7>
cmp    $0x807ff,%eax
je     173a <decode+0x5fa>
cmp    $0x82fff,%eax
je     1746 <decode+0x606>
cmp    $0x857ff,%eax
jne    179a <decode+0x65a>
lea    0x10a5(%rip),%rsi
jmp    16b4 <decode+0x574>
lea    0x1134(%rip),%rsi
jmp    1311 <decode+0x1d1>
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     16bc <decode+0x57c>
lea    0xec8(%rip),%rsi
jmp    16b4 <decode+0x574>
lea    0xf31(%rip),%rsi
jmp    1311 <decode+0x1d1>
lea    0xf5a(%rip),%rsi
mov    %r15,%rdi
call   1030 <strcpy@plt>
jmp    16bc <decode+0x57c>
lea    0xebb(%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    1600 <decode+0x4c0>
test   $0x2,%bl
jne    1618 <decode+0x4d8>
test   $0x4,%bl
jne    1630 <decode+0x4f0>
test   $0x8,%bl
jne    1648 <decode+0x508>
test   $0x10,%bl
jne    1660 <decode+0x520>
test   $0x20,%bl
jne    1678 <decode+0x538>
test   $0x40,%bl
jne    1690 <decode+0x550>
test   $0x80,%bl
jne    16a4 <decode+0x564>
jmp    16bc <decode+0x57c>
lea    0xe5e(%rip),%rsi
jmp    13a7 <decode+0x267>
lea    0xe81(%rip),%rsi
jmp    13a7 <decode+0x267>
lea    0xe85(%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    13f8 <decode+0x2b8>
test   $0x2,%bl
jne    140c <decode+0x2cc>
test   $0x4,%bl
jne    1420 <decode+0x2e0>
test   $0x8,%bl
jne    1434 <decode+0x2f4>
test   $0x10,%bl
jne    1448 <decode+0x308>
test   $0x20,%bl
jne    145c <decode+0x31c>
test   $0x40,%bl
jne    1474 <decode+0x334>
test   $0x80,%bl
jne    148c <decode+0x34c>
jmp    16bc <decode+0x57c>
lea    0xe01(%rip),%rsi
mov    %r15,%rdi
call   1050 <strcat@plt>
test   $0x2,%bl
je     13cd <decode+0x28d>
lea    0xdf0(%rip),%rsi
mov    %r15,%rdi
call   1050 <strcat@plt>
test   $0x4,%bl
je     13d2 <decode+0x292>
lea    0xde0(%rip),%rsi
mov    %r15,%rdi
call   1050 <strcat@plt>
test   $0x8,%bl
je     13d7 <decode+0x297>
lea    0xdd0(%rip),%rsi
mov    %r15,%rdi
call   1050 <strcat@plt>
test   $0x10,%bl
je     13dc <decode+0x29c>
lea    0xdc0(%rip),%rsi
mov    %r15,%rdi
call   1050 <strcat@plt>
test   $0x20,%bl
je     13e1 <decode+0x2a1>
lea    0xdb0(%rip),%rsi
mov    %r15,%rdi
call   1050 <strcat@plt>
test   $0x40,%bl
je     13ea <decode+0x2aa>
lea    0xd9c(%rip),%rsi
mov    %r15,%rdi
call   1050 <strcat@plt>
test   $0x80,%bl
je     16bc <decode+0x57c>
lea    0xd88(%rip),%rsi
jmp    16b4 <decode+0x574>
mov    %rbx,%rdi
mov    $0x9,%esi
mov    $0x4,%edx
call   1040 <getBinaryData@plt>
lea    0xd1a(%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    0xc59(%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    0xc3e(%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    0xc32(%rip),%rsi
mov    %r15,%rdi
call   1050 <strcat@plt>
mov    %r15,%rdi
mov    %r12,%rsi
call   1050 <strcat@plt>
lea    0xbf1(%rip),%rsi
mov    %r15,%rdi
call   1050 <strcat@plt>
mov    %r15,%rdi
mov    %rbx,%rsi
jmp    16b7 <decode+0x577>
lea    0xc01(%rip),%rsi
mov    %r15,%rdi
call   1050 <strcat@plt>
test   $0x2,%bl
je     1353 <decode+0x213>
lea    0xbed(%rip),%rsi
mov    %r15,%rdi
call   1050 <strcat@plt>
test   $0x4,%bl
je     135c <decode+0x21c>
lea    0xbd9(%rip),%rsi
mov    %r15,%rdi
call   1050 <strcat@plt>
test   $0x8,%bl
je     1365 <decode+0x225>
lea    0xbc5(%rip),%rsi
mov    %r15,%rdi
call   1050 <strcat@plt>
test   $0x10,%bl
je     136e <decode+0x22e>
lea    0xbb1(%rip),%rsi
mov    %r15,%rdi
call   1050 <strcat@plt>
test   $0x20,%bl
je     1377 <decode+0x237>
lea    0xb9d(%rip),%rsi
mov    %r15,%rdi
call   1050 <strcat@plt>
test   $0x40,%bl
je     1380 <decode+0x240>
lea    0xb56(%rip),%rsi
mov    %r15,%rdi
call   1050 <strcat@plt>
test   $0x80,%bl
je     16bc <decode+0x57c>
lea    0xb45(%rip),%rsi
jmp    16b4 <decode+0x574>
lea    0xbcf(%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     1719 <decode+0x5d9>
cmp    $0x8dfff,%eax
je     1752 <decode+0x612>
cmp    $0x8e7ff,%eax
je     175e <decode+0x61e>
cmp    $0x917ff,%eax
jne    179a <decode+0x65a>
lea    0xc3d(%rip),%rsi
jmp    16b4 <decode+0x574>
cmp    $0x87fff,%eax
je     176a <decode+0x62a>
cmp    $0x88fff,%eax
je     1776 <decode+0x636>
cmp    $0x8b7ff,%eax
jne    179a <decode+0x65a>
lea    0xbe8(%rip),%rsi
jmp    16b4 <decode+0x574>
cmp    $0x93fff,%eax
je     1782 <decode+0x642>
cmp    $0x96fff,%eax
je     178e <decode+0x64e>
cmp    $0x947ff,%eax
jne    179a <decode+0x65a>
lea    0xb53(%rip),%rsi
jmp    16b4 <decode+0x574>
lea    0xb69(%rip),%rsi
jmp    16b4 <decode+0x574>
lea    0xb6e(%rip),%rsi
jmp    16b4 <decode+0x574>
lea    0xbb7(%rip),%rsi
jmp    16b4 <decode+0x574>
lea    0xbbc(%rip),%rsi
jmp    16b4 <decode+0x574>
lea    0xb6c(%rip),%rsi
jmp    16b4 <decode+0x574>
lea    0xb71(%rip),%rsi
jmp    16b4 <decode+0x574>
lea    0xbba(%rip),%rsi
jmp    16b4 <decode+0x574>
lea    0xb04(%rip),%rsi
jmp    16b4 <decode+0x574>
lea    0xbb3(%rip),%rsi
jmp    16b4 <decode+0x574>

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 = [3 x i8] c"%d\00"
@.str.8 = [14 x i8] c"p->k Date: 20\00"
@.str.9 = [2 x i8] c"-\00"
@.str.10 = [2 x i8] c" \00"
@.str.11 = [2 x i8] c":\00"
@.str.12 = [13 x i8] c"p->k Zone1: \00"
@.str.13 = [3 x i8] c"1 \00"
@.str.14 = [3 x i8] c"2 \00"
@.str.15 = [3 x i8] c"3 \00"
@.str.16 = [3 x i8] c"4 \00"
@.str.17 = [3 x i8] c"5 \00"
@.str.18 = [3 x i8] c"6 \00"
@.str.19 = [3 x i8] c"7 \00"
@.str.20 = [3 x i8] c"8 \00"
@.str.21 = [13 x i8] c"p->k Zone2: \00"
@.str.22 = [3 x i8] c"9 \00"
@.str.23 = [4 x i8] c"10 \00"
@.str.24 = [4 x i8] c"11 \00"
@.str.25 = [4 x i8] c"12 \00"
@.str.26 = [4 x i8] c"13 \00"
@.str.27 = [4 x i8] c"14 \00"
@.str.28 = [4 x i8] c"15 \00"
@.str.29 = [4 x i8] c"16 \00"
@.str.30 = [13 x i8] c"p->k Zone3: \00"
@.str.31 = [13 x i8] c"p->k Zone4: \00"
@.str.32 = [27 x i8] c"p->k panel in program mode\00"
@.str.33 = [23 x i8] c"p->k undefined command\00"
@.str.34 = [18 x i8] c"p->k Keypad query\00"
@.str.35 = [6 x i8] c"k->p \00"
@.str.36 = [5 x i8] c"idle\00"
@.str.37 = [17 x i8] c"button * pressed\00"
@.str.38 = [17 x i8] c"button # pressed\00"
@.str.39 = [17 x i8] c"button 0 pressed\00"
@.str.40 = [17 x i8] c"button 1 pressed\00"
@.str.41 = [17 x i8] c"button 2 pressed\00"
@.str.42 = [17 x i8] c"button 3 pressed\00"
@.str.43 = [17 x i8] c"button 4 pressed\00"
@.str.44 = [17 x i8] c"button 5 pressed\00"
@.str.45 = [17 x i8] c"button 6 pressed\00"
@.str.46 = [17 x i8] c"button 7 pressed\00"
@.str.47 = [17 x i8] c"button 8 pressed\00"
@.str.48 = [17 x i8] c"button 9 pressed\00"
@.str.49 = [19 x i8] c"unknown keypad msg\00"
@.str.50 = [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 %58
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
br label %530
58: ; preds = %2
%59 = load i32, i32* %5
%60 = icmp eq i32 %59, 165
br i1 %60, label %61, label %114
61: ; preds = %58
%62 = getelementptr inbounds [2 x i8], [2 x i8]* %8, i64 0, i64 0
%63 = load i8*, i8** %3
%64 = call i32 @getBinaryData(i8* %63, i32 9, i32 4)
%65 = call i32 @sprintf(i8* %62, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.7, i64 0, i64 0), i32 %64)
%66 = getelementptr inbounds [2 x i8], [2 x i8]* %9, i64 0, i64 0
%67 = load i8*, i8** %3
%68 = call i32 @getBinaryData(i8* %67, i32 13, i32 4)
%69 = call i32 @sprintf(i8* %66, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.7, i64 0, i64 0), i32 %68)
%70 = getelementptr inbounds [2 x i8], [2 x i8]* %10, i64 0, i64 0
%71 = load i8*, i8** %3
%72 = call i32 @getBinaryData(i8* %71, i32 19, i32 4)
%73 = call i32 @sprintf(i8* %70, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.7, i64 0, i64 0), i32 %72)
%74 = getelementptr inbounds [2 x i8], [2 x i8]* %11, i64 0, i64 0
%75 = load i8*, i8** %3
%76 = call i32 @getBinaryData(i8* %75, i32 23, i32 5)
%77 = call i32 @sprintf(i8* %74, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.7, i64 0, i64 0), i32 %76)
%78 = getelementptr inbounds [2 x i8], [2 x i8]* %12, i64 0, i64 0
%79 = load i8*, i8** %3
%80 = call i32 @getBinaryData(i8* %79, i32 28, i32 5)
%81 = call i32 @sprintf(i8* %78, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.7, i64 0, i64 0), i32 %80)
%82 = getelementptr inbounds [2 x i8], [2 x i8]* %13, i64 0, i64 0
%83 = load i8*, i8** %3
%84 = call i32 @getBinaryData(i8* %83, i32 33, i32 6)
%85 = call i32 @sprintf(i8* %82, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.7, i64 0, i64 0), i32 %84)
%86 = load i8*, i8** %4
%87 = call i32 @strcpy(i8* %86, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.8, i64 0, i64 0))
%88 = load i8*, i8** %4
%89 = getelementptr inbounds [2 x i8], [2 x i8]* %8, i64 0, i64 0
%90 = call i32 @strcat(i8* %88, i8* %89)
%91 = load i8*, i8** %4
%92 = getelementptr inbounds [2 x i8], [2 x i8]* %9, i64 0, i64 0
%93 = call i32 @strcat(i8* %91, i8* %92)
%94 = load i8*, i8** %4
%95 = call i32 @strcat(i8* %94, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.9, i64 0, i64 0))
%96 = load i8*, i8** %4
%97 = getelementptr inbounds [2 x i8], [2 x i8]* %10, i64 0, i64 0
%98 = call i32 @strcat(i8* %96, i8* %97)
%99 = load i8*, i8** %4
%100 = call i32 @strcat(i8* %99, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.9, i64 0, i64 0))
%101 = load i8*, i8** %4
%102 = getelementptr inbounds [2 x i8], [2 x i8]* %11, i64 0, i64 0
%103 = call i32 @strcat(i8* %101, i8* %102)
%104 = load i8*, i8** %4
%105 = call i32 @strcat(i8* %104, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.10, i64 0, i64 0))
%106 = load i8*, i8** %4
%107 = getelementptr inbounds [2 x i8], [2 x i8]* %12, i64 0, i64 0
%108 = call i32 @strcat(i8* %106, i8* %107)
%109 = load i8*, i8** %4
%110 = call i32 @strcat(i8* %109, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.11, i64 0, i64 0))
%111 = load i8*, i8** %4
%112 = getelementptr inbounds [2 x i8], [2 x i8]* %13, i64 0, i64 0
%113 = call i32 @strcat(i8* %111, i8* %112)
br label %529
114: ; preds = %58
%115 = load i32, i32* %5
%116 = icmp eq i32 %115, 39
br i1 %116, label %117, label %178
117: ; preds = %114
%118 = load i8*, i8** %4
%119 = call i32 @strcpy(i8* %118, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.12, i64 0, i64 0))
%120 = load i8*, i8** %3
%121 = call i32 @getBinaryData(i8* %120, i32 41, i32 8)
store i32 %121, i32* %6
%122 = load i32, i32* %6
%123 = and i32 %122, 1
%124 = icmp ne i32 %123, 0
br i1 %124, label %125, label %128
125: ; preds = %117
%126 = load i8*, i8** %4
%127 = call i32 @strcat(i8* %126, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.13, i64 0, i64 0))
br label %128
128: ; preds = %125, %117
%129 = load i32, i32* %6
%130 = and i32 %129, 2
%131 = icmp ne i32 %130, 0
br i1 %131, label %132, label %135
132: ; preds = %128
%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, %128
%136 = load i32, i32* %6
%137 = and i32 %136, 4
%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, 8
%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, 16
%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, 32
%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, 64
%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, 128
%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
br label %528
178: ; preds = %114
%179 = load i32, i32* %5
%180 = icmp eq i32 %179, 45
br i1 %180, label %181, label %242
181: ; preds = %178
%182 = load i8*, i8** %4
%183 = call i32 @strcpy(i8* %182, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.21, i64 0, i64 0))
%184 = load i8*, i8** %3
%185 = call i32 @getBinaryData(i8* %184, i32 41, i32 8)
store i32 %185, i32* %6
%186 = load i32, i32* %6
%187 = and i32 %186, 1
%188 = icmp ne i32 %187, 0
br i1 %188, label %189, label %192
189: ; preds = %181
%190 = load i8*, i8** %4
%191 = call i32 @strcat(i8* %190, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.22, i64 0, i64 0))
br label %192
192: ; preds = %189, %181
%193 = load i32, i32* %6
%194 = and i32 %193, 2
%195 = icmp ne i32 %194, 0
br i1 %195, label %196, label %199
196: ; preds = %192
%197 = load i8*, i8** %4
%198 = call i32 @strcat(i8* %197, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.23, i64 0, i64 0))
br label %199
199: ; preds = %196, %192
%200 = load i32, i32* %6
%201 = and i32 %200, 4
%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, 8
%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, 16
%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, 32
%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, 64
%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, 128
%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
br label %527
242: ; preds = %178
%243 = load i32, i32* %5
%244 = icmp eq i32 %243, 52
br i1 %244, label %245, label %306
245: ; preds = %242
%246 = load i8*, i8** %4
%247 = call i32 @strcpy(i8* %246, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.30, i64 0, i64 0))
%248 = load i8*, i8** %3
%249 = call i32 @getBinaryData(i8* %248, i32 41, i32 8)
store i32 %249, i32* %6
%250 = load i32, i32* %6
%251 = and i32 %250, 1
%252 = icmp ne i32 %251, 0
br i1 %252, label %253, label %256
253: ; preds = %245
%254 = load i8*, i8** %4
%255 = call i32 @strcat(i8* %254, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.22, i64 0, i64 0))
br label %256
256: ; preds = %253, %245
%257 = load i32, i32* %6
%258 = and i32 %257, 2
%259 = icmp ne i32 %258, 0
br i1 %259, label %260, label %263
260: ; preds = %256
%261 = load i8*, i8** %4
%262 = call i32 @strcat(i8* %261, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.23, i64 0, i64 0))
br label %263
263: ; preds = %260, %256
%264 = load i32, i32* %6
%265 = and i32 %264, 4
%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, 8
%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, 16
%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, 32
%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, 64
%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, 128
%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
br label %526
306: ; preds = %242
%307 = load i32, i32* %5
%308 = icmp eq i32 %307, 62
br i1 %308, label %309, label %370
309: ; preds = %306
%310 = load i8*, i8** %4
%311 = call i32 @strcpy(i8* %310, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.31, i64 0, i64 0))
%312 = load i8*, i8** %3
%313 = call i32 @getBinaryData(i8* %312, i32 41, i32 8)
store i32 %313, i32* %6
%314 = load i32, i32* %6
%315 = and i32 %314, 1
%316 = icmp ne i32 %315, 0
br i1 %316, label %317, label %320
317: ; preds = %309
%318 = load i8*, i8** %4
%319 = call i32 @strcat(i8* %318, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.22, i64 0, i64 0))
br label %320
320: ; preds = %317, %309
%321 = load i32, i32* %6
%322 = and i32 %321, 2
%323 = icmp ne i32 %322, 0
br i1 %323, label %324, label %327
324: ; preds = %320
%325 = load i8*, i8** %4
%326 = call i32 @strcat(i8* %325, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.23, i64 0, i64 0))
br label %327
327: ; preds = %324, %320
%328 = load i32, i32* %6
%329 = and i32 %328, 4
%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, 8
%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, 16
%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, 32
%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, 64
%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, 128
%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
br label %525
370: ; preds = %306
%371 = load i32, i32* %5
%372 = icmp eq i32 %371, 10
br i1 %372, label %373, label %376
373: ; preds = %370
%374 = load i8*, i8** %4
%375 = call i32 @strcpy(i8* %374, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.32, i64 0, i64 0))
br label %524
376: ; preds = %370
%377 = load i32, i32* %5
%378 = icmp eq i32 %377, 99
br i1 %378, label %379, label %382
379: ; preds = %376
%380 = load i8*, i8** %4
%381 = call i32 @strcpy(i8* %380, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.33, i64 0, i64 0))
br label %523
382: ; preds = %376
%383 = load i32, i32* %5
%384 = icmp eq i32 %383, 100
br i1 %384, label %385, label %388
385: ; preds = %382
%386 = load i8*, i8** %4
%387 = call i32 @strcpy(i8* %386, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.33, i64 0, i64 0))
br label %522
388: ; preds = %382
%389 = load i32, i32* %5
%390 = icmp eq i32 %389, 105
br i1 %390, label %391, label %394
391: ; preds = %388
%392 = load i8*, i8** %4
%393 = call i32 @strcpy(i8* %392, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.33, i64 0, i64 0))
br label %521
394: ; preds = %388
%395 = load i32, i32* %5
%396 = icmp eq i32 %395, 93
br i1 %396, label %397, label %400
397: ; preds = %394
%398 = load i8*, i8** %4
%399 = call i32 @strcpy(i8* %398, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.33, i64 0, i64 0))
br label %520
400: ; preds = %394
%401 = load i32, i32* %5
%402 = icmp eq i32 %401, 57
br i1 %402, label %403, label %406
403: ; preds = %400
%404 = load i8*, i8** %4
%405 = call i32 @strcpy(i8* %404, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.33, i64 0, i64 0))
br label %519
406: ; preds = %400
%407 = load i32, i32* %5
%408 = icmp eq i32 %407, 17
br i1 %408, label %409, label %412
409: ; preds = %406
%410 = load i8*, i8** %4
%411 = call i32 @strcpy(i8* %410, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.34, i64 0, i64 0))
br label %518
412: ; preds = %406
%413 = load i32, i32* %5
%414 = icmp eq i32 %413, 255
br i1 %414, label %415, label %514
415: ; preds = %412
%416 = load i8*, i8** %4
%417 = call i32 @strcpy(i8* %416, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.35, i64 0, i64 0))
%418 = load i8*, i8** %3
%419 = call i32 @getBinaryData(i8* %418, i32 8, i32 32)
%420 = icmp eq i32 %419, -1
br i1 %420, label %421, label %424
421: ; preds = %415
%422 = load i8*, i8** %4
%423 = call i32 @strcat(i8* %422, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.36, i64 0, i64 0))
br label %513
424: ; preds = %415
%425 = load i8*, i8** %3
%426 = call i32 @getBinaryData(i8* %425, i32 8, i32 20)
store i32 %426, i32* %7
%427 = load i32, i32* %7
%428 = icmp eq i32 %427, 608255
br i1 %428, label %429, label %432
429: ; preds = %424
%430 = load i8*, i8** %4
%431 = call i32 @strcat(i8* %430, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.37, i64 0, i64 0))
br label %512
432: ; preds = %424
%433 = load i32, i32* %7
%434 = icmp eq i32 %433, 618495
br i1 %434, label %435, label %438
435: ; preds = %432
%436 = load i8*, i8** %4
%437 = call i32 @strcat(i8* %436, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.38, i64 0, i64 0))
br label %511
438: ; preds = %432
%439 = load i32, i32* %7
%440 = icmp eq i32 %439, 526335
br i1 %440, label %441, label %444
441: ; preds = %438
%442 = load i8*, i8** %4
%443 = call i32 @strcat(i8* %442, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.39, i64 0, i64 0))
br label %510
444: ; preds = %438
%445 = load i32, i32* %7
%446 = icmp eq i32 %445, 536575
br i1 %446, label %447, label %450
447: ; preds = %444
%448 = load i8*, i8** %4
%449 = call i32 @strcat(i8* %448, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.40, i64 0, i64 0))
br label %509
450: ; preds = %444
%451 = load i32, i32* %7
%452 = icmp eq i32 %451, 546815
br i1 %452, label %453, label %456
453: ; preds = %450
%454 = load i8*, i8** %4
%455 = call i32 @strcat(i8* %454, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.41, i64 0, i64 0))
br label %508
456: ; preds = %450
%457 = load i32, i32* %7
%458 = icmp eq i32 %457, 557055
br i1 %458, label %459, label %462
459: ; preds = %456
%460 = load i8*, i8** %4
%461 = call i32 @strcat(i8* %460, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.42, i64 0, i64 0))
br label %507
462: ; preds = %456
%463 = load i32, i32* %7
%464 = icmp eq i32 %463, 561151
br i1 %464, label %465, label %468
465: ; preds = %462
%466 = load i8*, i8** %4
%467 = call i32 @strcat(i8* %466, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.43, i64 0, i64 0))
br label %506
468: ; preds = %462
%469 = load i32, i32* %7
%470 = icmp eq i32 %469, 571391
br i1 %470, label %471, label %474
471: ; preds = %468
%472 = load i8*, i8** %4
%473 = call i32 @strcat(i8* %472, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.44, i64 0, i64 0))
br label %505
474: ; preds = %468
%475 = load i32, i32* %7
%476 = icmp eq i32 %475, 581631
br i1 %476, label %477, label %480
477: ; preds = %474
%478 = load i8*, i8** %4
%479 = call i32 @strcat(i8* %478, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.45, i64 0, i64 0))
br label %504
480: ; preds = %474
%481 = load i32, i32* %7
%482 = icmp eq i32 %481, 583679
br i1 %482, label %483, label %486
483: ; preds = %480
%484 = load i8*, i8** %4
%485 = call i32 @strcat(i8* %484, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.46, i64 0, i64 0))
br label %503
486: ; preds = %480
%487 = load i32, i32* %7
%488 = icmp eq i32 %487, 595967
br i1 %488, label %489, label %492
489: ; preds = %486
%490 = load i8*, i8** %4
%491 = call i32 @strcat(i8* %490, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.47, i64 0, i64 0))
br label %502
492: ; preds = %486
%493 = load i32, i32* %7
%494 = icmp eq i32 %493, 606207
br i1 %494, label %495, label %498
495: ; preds = %492
%496 = load i8*, i8** %4
%497 = call i32 @strcat(i8* %496, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.48, i64 0, i64 0))
br label %501
498: ; preds = %492
%499 = load i8*, i8** %4
%500 = call i32 @strcat(i8* %499, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.49, i64 0, i64 0))
br label %501
501: ; preds = %498, %495
br label %502
502: ; preds = %501, %489
br label %503
503: ; preds = %502, %483
br label %504
504: ; preds = %503, %477
br label %505
505: ; preds = %504, %471
br label %506
506: ; preds = %505, %465
br label %507
507: ; preds = %506, %459
br label %508
508: ; preds = %507, %453
br label %509
509: ; preds = %508, %447
br label %510
510: ; preds = %509, %441
br label %511
511: ; preds = %510, %435
br label %512
512: ; preds = %511, %429
br label %513
513: ; preds = %512, %421
br label %517
514: ; preds = %412
%515 = load i8*, i8** %4
%516 = call i32 @strcpy(i8* %515, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.50, i64 0, i64 0))
br label %517
517: ; preds = %514, %513
br label %518
518: ; preds = %517, %409
br label %519
519: ; preds = %518, %403
br label %520
520: ; preds = %519, %397
br label %521
521: ; preds = %520, %391
br label %522
522: ; preds = %521, %385
br label %523
523: ; preds = %522, %379
br label %524
524: ; preds = %523, %373
br label %525
525: ; preds = %524, %369
br label %526
526: ; preds = %525, %305
br label %527
527: ; preds = %526, %241
br label %528
528: ; preds = %527, %177
br label %529
529: ; preds = %528, %61
br label %530
530: ; preds = %529, %57
%531 = load i32, i32* %5
ret i32 %531
}

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 = [3 x i8] c"%d\00"
@.str.8 = [14 x i8] c"p->k Date: 20\00"
@.str.9 = [2 x i8] c"-\00"
@.str.10 = [2 x i8] c" \00"
@.str.11 = [2 x i8] c":\00"
@.str.12 = [13 x i8] c"p->k Zone1: \00"
@.str.13 = [3 x i8] c"1 \00"
@.str.14 = [3 x i8] c"2 \00"
@.str.15 = [3 x i8] c"3 \00"
@.str.16 = [3 x i8] c"4 \00"
@.str.17 = [3 x i8] c"5 \00"
@.str.18 = [3 x i8] c"6 \00"
@.str.19 = [3 x i8] c"7 \00"
@.str.20 = [3 x i8] c"8 \00"
@.str.21 = [13 x i8] c"p->k Zone2: \00"
@.str.22 = [3 x i8] c"9 \00"
@.str.23 = [4 x i8] c"10 \00"
@.str.24 = [4 x i8] c"11 \00"
@.str.25 = [4 x i8] c"12 \00"
@.str.26 = [4 x i8] c"13 \00"
@.str.27 = [4 x i8] c"14 \00"
@.str.28 = [4 x i8] c"15 \00"
@.str.29 = [4 x i8] c"16 \00"
@.str.30 = [13 x i8] c"p->k Zone3: \00"
@.str.31 = [13 x i8] c"p->k Zone4: \00"
@.str.32 = [27 x i8] c"p->k panel in program mode\00"
@.str.33 = [23 x i8] c"p->k undefined command\00"
@.str.34 = [18 x i8] c"p->k Keypad query\00"
@.str.35 = [6 x i8] c"k->p \00"
@.str.36 = [5 x i8] c"idle\00"
@.str.37 = [17 x i8] c"button * pressed\00"
@.str.38 = [17 x i8] c"button # pressed\00"
@.str.39 = [17 x i8] c"button 0 pressed\00"
@.str.40 = [17 x i8] c"button 1 pressed\00"
@.str.41 = [17 x i8] c"button 2 pressed\00"
@.str.42 = [17 x i8] c"button 3 pressed\00"
@.str.43 = [17 x i8] c"button 4 pressed\00"
@.str.44 = [17 x i8] c"button 5 pressed\00"
@.str.45 = [17 x i8] c"button 6 pressed\00"
@.str.46 = [17 x i8] c"button 7 pressed\00"
@.str.47 = [17 x i8] c"button 8 pressed\00"
@.str.48 = [17 x i8] c"button 9 pressed\00"
@.str.49 = [19 x i8] c"unknown keypad msg\00"
@.str.50 = [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 %283 [
i32 5, label %17
i32 165, label %43
i32 39, label %67
i32 45, label %109
i32 52, label %151
i32 62, label %193
i32 10, label %235
i32 99, label %237
i32 100, label %239
i32 105, label %241
i32 93, label %243
i32 57, label %245
i32 17, label %247
i32 255, label %249
]
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 %285, 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 %285
43: ; preds = %2
%44 = tail call i32 @getBinaryData(i8* %0, i32 9, i32 4)
%45 = call i32 @sprintf(i8* %9, i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.7, i64 0, i64 0), i32 %44)
%46 = tail call i32 @getBinaryData(i8* %0, i32 13, i32 4)
%47 = call i32 @sprintf(i8* %10, i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.7, i64 0, i64 0), i32 %46)
%48 = tail call i32 @getBinaryData(i8* %0, i32 19, i32 4)
%49 = call i32 @sprintf(i8* %11, i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.7, i64 0, i64 0), i32 %48)
%50 = tail call i32 @getBinaryData(i8* %0, i32 23, i32 5)
%51 = call i32 @sprintf(i8* %12, i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.7, i64 0, i64 0), i32 %50)
%52 = tail call i32 @getBinaryData(i8* %0, i32 28, i32 5)
%53 = call i32 @sprintf(i8* %13, i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.7, i64 0, i64 0), i32 %52)
%54 = tail call i32 @getBinaryData(i8* %0, i32 33, i32 6)
%55 = call i32 @sprintf(i8* %14, i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.7, i64 0, i64 0), i32 %54)
%56 = tail call i32 @strcpy(i8* %1, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.8, i64 0, i64 0))
%57 = call i32 @strcat(i8* %1, i8* %9)
%58 = call i32 @strcat(i8* %1, i8* %10)
%59 = call i32 @strcat(i8* %1, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.9, i64 0, i64 0))
%60 = call i32 @strcat(i8* %1, i8* %11)
%61 = call i32 @strcat(i8* %1, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.9, i64 0, i64 0))
%62 = call i32 @strcat(i8* %1, i8* %12)
%63 = call i32 @strcat(i8* %1, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.10, i64 0, i64 0))
%64 = call i32 @strcat(i8* %1, i8* %13)
%65 = call i32 @strcat(i8* %1, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.11, i64 0, i64 0))
%66 = call i32 @strcat(i8* %1, i8* %14)
br label %285
67: ; preds = %2
%68 = tail call i32 @strcpy(i8* %1, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.12, i64 0, i64 0))
%69 = tail call i32 @getBinaryData(i8* %0, i32 41, i32 8)
%70 = and i32 %69, 1
%71 = icmp eq i32 %70, 0
br i1 %71, label %74, label %72
72: ; preds = %67
%73 = tail call i32 @strcat(i8* %1, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.13, i64 0, i64 0))
br label %74
74: ; preds = %72, %67
%75 = and i32 %69, 2
%76 = icmp eq i32 %75, 0
br i1 %76, label %79, label %77
77: ; preds = %74
%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, %74
%80 = and i32 %69, 4
%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 %69, 8
%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 %69, 16
%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 %69, 32
%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 %69, 64
%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 %69, 128
%106 = icmp eq i32 %105, 0
br i1 %106, label %285, 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 %285
109: ; preds = %2
%110 = tail call i32 @strcpy(i8* %1, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.21, i64 0, i64 0))
%111 = tail call i32 @getBinaryData(i8* %0, i32 41, i32 8)
%112 = and i32 %111, 1
%113 = icmp eq i32 %112, 0
br i1 %113, label %116, label %114
114: ; preds = %109
%115 = tail call i32 @strcat(i8* %1, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.22, i64 0, i64 0))
br label %116
116: ; preds = %114, %109
%117 = and i32 %111, 2
%118 = icmp eq i32 %117, 0
br i1 %118, label %121, label %119
119: ; preds = %116
%120 = tail call i32 @strcat(i8* %1, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.23, i64 0, i64 0))
br label %121
121: ; preds = %119, %116
%122 = and i32 %111, 4
%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 %111, 8
%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 %111, 16
%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 %111, 32
%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 %111, 64
%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 %111, 128
%148 = icmp eq i32 %147, 0
br i1 %148, label %285, 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 %285
151: ; preds = %2
%152 = tail call i32 @strcpy(i8* %1, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.30, i64 0, i64 0))
%153 = tail call i32 @getBinaryData(i8* %0, i32 41, i32 8)
%154 = and i32 %153, 1
%155 = icmp eq i32 %154, 0
br i1 %155, label %158, label %156
156: ; preds = %151
%157 = tail call i32 @strcat(i8* %1, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.22, i64 0, i64 0))
br label %158
158: ; preds = %156, %151
%159 = and i32 %153, 2
%160 = icmp eq i32 %159, 0
br i1 %160, label %163, label %161
161: ; preds = %158
%162 = tail call i32 @strcat(i8* %1, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.23, i64 0, i64 0))
br label %163
163: ; preds = %161, %158
%164 = and i32 %153, 4
%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 %153, 8
%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 %153, 16
%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 %153, 32
%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 %153, 64
%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 %153, 128
%190 = icmp eq i32 %189, 0
br i1 %190, label %285, 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 %285
193: ; preds = %2
%194 = tail call i32 @strcpy(i8* %1, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.31, i64 0, i64 0))
%195 = tail call i32 @getBinaryData(i8* %0, i32 41, i32 8)
%196 = and i32 %195, 1
%197 = icmp eq i32 %196, 0
br i1 %197, label %200, label %198
198: ; preds = %193
%199 = tail call i32 @strcat(i8* %1, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.22, i64 0, i64 0))
br label %200
200: ; preds = %198, %193
%201 = and i32 %195, 2
%202 = icmp eq i32 %201, 0
br i1 %202, label %205, label %203
203: ; preds = %200
%204 = tail call i32 @strcat(i8* %1, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.23, i64 0, i64 0))
br label %205
205: ; preds = %203, %200
%206 = and i32 %195, 4
%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 %195, 8
%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 %195, 16
%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 %195, 32
%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 %195, 64
%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 %195, 128
%232 = icmp eq i32 %231, 0
br i1 %232, label %285, 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 %285
235: ; preds = %2
%236 = tail call i32 @strcpy(i8* %1, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.32, i64 0, i64 0))
br label %285
237: ; preds = %2
%238 = tail call i32 @strcpy(i8* %1, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.33, i64 0, i64 0))
br label %285
239: ; preds = %2
%240 = tail call i32 @strcpy(i8* %1, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.33, i64 0, i64 0))
br label %285
241: ; preds = %2
%242 = tail call i32 @strcpy(i8* %1, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.33, i64 0, i64 0))
br label %285
243: ; preds = %2
%244 = tail call i32 @strcpy(i8* %1, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.33, i64 0, i64 0))
br label %285
245: ; preds = %2
%246 = tail call i32 @strcpy(i8* %1, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.33, i64 0, i64 0))
br label %285
247: ; preds = %2
%248 = tail call i32 @strcpy(i8* %1, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.34, i64 0, i64 0))
br label %285
249: ; preds = %2
%250 = tail call i32 @strcpy(i8* %1, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.35, i64 0, i64 0))
%251 = tail call i32 @getBinaryData(i8* %0, i32 8, i32 32)
%252 = icmp eq i32 %251, -1
br i1 %252, label %253, label %255
253: ; preds = %249
%254 = tail call i32 @strcat(i8* %1, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.36, i64 0, i64 0))
br label %285
255: ; preds = %249
%256 = tail call i32 @getBinaryData(i8* %0, i32 8, i32 20)
switch i32 %256, label %281 [
i32 608255, label %257
i32 618495, label %259
i32 526335, label %261
i32 536575, label %263
i32 546815, label %265
i32 557055, label %267
i32 561151, label %269
i32 571391, label %271
i32 581631, label %273
i32 583679, label %275
i32 595967, label %277
i32 606207, label %279
]
257: ; preds = %255
%258 = tail call i32 @strcat(i8* %1, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.37, i64 0, i64 0))
br label %285
259: ; preds = %255
%260 = tail call i32 @strcat(i8* %1, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.38, i64 0, i64 0))
br label %285
261: ; preds = %255
%262 = tail call i32 @strcat(i8* %1, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.39, i64 0, i64 0))
br label %285
263: ; preds = %255
%264 = tail call i32 @strcat(i8* %1, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.40, i64 0, i64 0))
br label %285
265: ; preds = %255
%266 = tail call i32 @strcat(i8* %1, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.41, i64 0, i64 0))
br label %285
267: ; preds = %255
%268 = tail call i32 @strcat(i8* %1, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.42, i64 0, i64 0))
br label %285
269: ; preds = %255
%270 = tail call i32 @strcat(i8* %1, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.43, i64 0, i64 0))
br label %285
271: ; preds = %255
%272 = tail call i32 @strcat(i8* %1, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.44, i64 0, i64 0))
br label %285
273: ; preds = %255
%274 = tail call i32 @strcat(i8* %1, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.45, i64 0, i64 0))
br label %285
275: ; preds = %255
%276 = tail call i32 @strcat(i8* %1, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.46, i64 0, i64 0))
br label %285
277: ; preds = %255
%278 = tail call i32 @strcat(i8* %1, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.47, i64 0, i64 0))
br label %285
279: ; preds = %255
%280 = tail call i32 @strcat(i8* %1, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.48, i64 0, i64 0))
br label %285
281: ; preds = %255
%282 = tail call i32 @strcat(i8* %1, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.49, i64 0, i64 0))
br label %285
283: ; preds = %2
%284 = tail call i32 @strcpy(i8* %1, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.50, i64 0, i64 0))
br label %285
285: ; preds = %43, %149, %146, %233, %230, %237, %241, %245, %283, %257, %261, %265, %269, %273, %277, %281, %279, %275, %271, %267, %263, %259, %253, %247, %243, %239, %235, %188, %191, %104, %107, %38, %41
ret i32 %15
}