#define NULL ((void *)0)
typedef unsigned long size_t; // Customize by platform.
typedef long intptr_t;
typedef unsigned long uintptr_t;
typedef long scalar_t__; // Either arithmetic or pointer type.
/* By default, we understand bool (as a convenience). */
typedef int bool;
#define false 0
#define true 1

/* Forward declarations */

/* Type definitions */

/* Variables and functions */
int /*<<< orphan*/ ffpmsg(char *);
int /*<<< orphan*/ snprintf(char *, int, char *, int, int);
int strlen(char *);
int /*<<< orphan*/ strncat(char *, char *, int);
int /*<<< orphan*/ strncpy(char *, char *, int);
int fftrec(char *card, int *status) {
  size_t ii, maxchr;
  char msg[81];
  if (*status > 0)
    return (*status);
  maxchr = strlen(card);
  for (ii = 8; ii < maxchr; ii++) {
    if (card[ii] < 32 || card[ii] > 126) {
      snprintf(msg, 81,
               "Character %d in this keyword is illegal. Hex Value = %X",
               (int)(ii + 1), (int)card[ii]);
      if (card[ii] == 0)
        strncat(msg, " (NULL char.)", 81 - strlen(msg) - 1);
      else if (card[ii] == 9)
        strncat(msg, " (TAB char.)", 81 - strlen(msg) - 1);
      else if (card[ii] == 10)
        strncat(msg, " (Line Feed char.)", 81 - strlen(msg) - 1);
      else if (card[ii] == 11)
        strncat(msg, " (Vertical Tab)", 81 - strlen(msg) - 1);
      else if (card[ii] == 12)
        strncat(msg, " (Form Feed char.)", 81 - strlen(msg) - 1);
      else if (card[ii] == 13)
        strncat(msg, " (Carriage Return)", 81 - strlen(msg) - 1);
      else if (card[ii] == 27)
        strncat(msg, " (Escape char.)", 81 - strlen(msg) - 1);
      else if (card[ii] == 127)
        strncat(msg, " (Delete char.)", 81 - strlen(msg) - 1);
      ffpmsg(msg);
      strncpy(msg, card, 80);
      msg[80] = '\0';
      ffpmsg(msg);
      return (*status = 207);
    }
  }
  return (*status);
}


x86 assembly (clang, -O0):
<fftrec>:
push   %rbp
mov    %rsp,%rbp
sub    $0xc0,%rsp
mov    %rdi,-0x10(%rbp)
mov    %rsi,-0x18(%rbp)
mov    -0x18(%rbp),%rax
cmpl   $0x0,(%rax)
jle    117e <fftrec+0x2e>
mov    -0x18(%rbp),%rax
mov    (%rax),%eax
mov    %eax,-0x4(%rbp)
jmp    14cc <fftrec+0x37c>
mov    -0x10(%rbp),%rdi
call   1040 <strlen@plt>
cltq
mov    %rax,-0x28(%rbp)
movq   $0x8,-0x20(%rbp)
mov    -0x20(%rbp),%rax
cmp    -0x28(%rbp),%rax
jae    14c3 <fftrec+0x373>
mov    -0x10(%rbp),%rax
mov    -0x20(%rbp),%rcx
movsbl (%rax,%rcx,1),%eax
cmp    $0x20,%eax
jl     11cd <fftrec+0x7d>
mov    -0x10(%rbp),%rax
mov    -0x20(%rbp),%rcx
movsbl (%rax,%rcx,1),%eax
cmp    $0x7e,%eax
jle    14ad <fftrec+0x35d>
lea    -0x80(%rbp),%rdi
mov    -0x20(%rbp),%rax
add    $0x1,%rax
mov    %eax,%ecx
mov    -0x10(%rbp),%rax
mov    -0x20(%rbp),%rdx
movsbl (%rax,%rdx,1),%r8d
mov    $0x51,%esi
lea    0xe0c(%rip),%rdx
call   1060 <snprintf@plt>
mov    -0x10(%rbp),%rax
mov    -0x20(%rbp),%rcx
movsbl (%rax,%rcx,1),%eax
cmp    $0x0,%eax
jne    1244 <fftrec+0xf4>
lea    -0x80(%rbp),%rax
mov    %rax,-0x88(%rbp)
lea    -0x80(%rbp),%rdi
call   1040 <strlen@plt>
mov    -0x88(%rbp),%rdi
mov    $0x51,%edx
sub    %eax,%edx
sub    $0x1,%edx
lea    0xdfe(%rip),%rsi
call   1070 <strncat@plt>
jmp    146f <fftrec+0x31f>
mov    -0x10(%rbp),%rax
mov    -0x20(%rbp),%rcx
movsbl (%rax,%rcx,1),%eax
cmp    $0x9,%eax
jne    128f <fftrec+0x13f>
lea    -0x80(%rbp),%rax
mov    %rax,-0x90(%rbp)
lea    -0x80(%rbp),%rdi
call   1040 <strlen@plt>
mov    -0x90(%rbp),%rdi
mov    $0x51,%edx
sub    %eax,%edx
sub    $0x1,%edx
lea    0xdc1(%rip),%rsi
call   1070 <strncat@plt>
jmp    146a <fftrec+0x31a>
mov    -0x10(%rbp),%rax
mov    -0x20(%rbp),%rcx
movsbl (%rax,%rcx,1),%eax
cmp    $0xa,%eax
jne    12da <fftrec+0x18a>
lea    -0x80(%rbp),%rax
mov    %rax,-0x98(%rbp)
lea    -0x80(%rbp),%rdi
call   1040 <strlen@plt>
mov    -0x98(%rbp),%rdi
mov    $0x51,%edx
sub    %eax,%edx
sub    $0x1,%edx
lea    0xd83(%rip),%rsi
call   1070 <strncat@plt>
jmp    1465 <fftrec+0x315>
mov    -0x10(%rbp),%rax
mov    -0x20(%rbp),%rcx
movsbl (%rax,%rcx,1),%eax
cmp    $0xb,%eax
jne    1325 <fftrec+0x1d5>
lea    -0x80(%rbp),%rax
mov    %rax,-0xa0(%rbp)
lea    -0x80(%rbp),%rdi
call   1040 <strlen@plt>
mov    -0xa0(%rbp),%rdi
mov    $0x51,%edx
sub    %eax,%edx
sub    $0x1,%edx
lea    0xd4b(%rip),%rsi
call   1070 <strncat@plt>
jmp    1460 <fftrec+0x310>
mov    -0x10(%rbp),%rax
mov    -0x20(%rbp),%rcx
movsbl (%rax,%rcx,1),%eax
cmp    $0xc,%eax
jne    1370 <fftrec+0x220>
lea    -0x80(%rbp),%rax
mov    %rax,-0xa8(%rbp)
lea    -0x80(%rbp),%rdi
call   1040 <strlen@plt>
mov    -0xa8(%rbp),%rdi
mov    $0x51,%edx
sub    %eax,%edx
sub    $0x1,%edx
lea    0xd10(%rip),%rsi
call   1070 <strncat@plt>
jmp    145b <fftrec+0x30b>
mov    -0x10(%rbp),%rax
mov    -0x20(%rbp),%rcx
movsbl (%rax,%rcx,1),%eax
cmp    $0xd,%eax
jne    13bb <fftrec+0x26b>
lea    -0x80(%rbp),%rax
mov    %rax,-0xb0(%rbp)
lea    -0x80(%rbp),%rdi
call   1040 <strlen@plt>
mov    -0xb0(%rbp),%rdi
mov    $0x51,%edx
sub    %eax,%edx
sub    $0x1,%edx
lea    0xcd8(%rip),%rsi
call   1070 <strncat@plt>
jmp    1456 <fftrec+0x306>
mov    -0x10(%rbp),%rax
mov    -0x20(%rbp),%rcx
movsbl (%rax,%rcx,1),%eax
cmp    $0x1b,%eax
jne    1406 <fftrec+0x2b6>
lea    -0x80(%rbp),%rax
mov    %rax,-0xb8(%rbp)
lea    -0x80(%rbp),%rdi
call   1040 <strlen@plt>
mov    -0xb8(%rbp),%rdi
mov    $0x51,%edx
sub    %eax,%edx
sub    $0x1,%edx
lea    0xca0(%rip),%rsi
call   1070 <strncat@plt>
jmp    1451 <fftrec+0x301>
mov    -0x10(%rbp),%rax
mov    -0x20(%rbp),%rcx
movsbl (%rax,%rcx,1),%eax
cmp    $0x7f,%eax
jne    144c <fftrec+0x2fc>
lea    -0x80(%rbp),%rax
mov    %rax,-0xc0(%rbp)
lea    -0x80(%rbp),%rdi
call   1040 <strlen@plt>
mov    -0xc0(%rbp),%rdi
mov    $0x51,%edx
sub    %eax,%edx
sub    $0x1,%edx
lea    0xc65(%rip),%rsi
call   1070 <strncat@plt>
jmp    1451 <fftrec+0x301>
jmp    1456 <fftrec+0x306>
jmp    145b <fftrec+0x30b>
jmp    1460 <fftrec+0x310>
jmp    1465 <fftrec+0x315>
jmp    146a <fftrec+0x31a>
jmp    146f <fftrec+0x31f>
lea    -0x80(%rbp),%rdi
call   1050 <ffpmsg@plt>
lea    -0x80(%rbp),%rdi
mov    -0x10(%rbp),%rsi
mov    $0x50,%edx
call   1030 <strncpy@plt>
movb   $0x0,-0x30(%rbp)
lea    -0x80(%rbp),%rdi
call   1050 <ffpmsg@plt>
mov    -0x18(%rbp),%rax
movl   $0xcf,(%rax)
movl   $0xcf,-0x4(%rbp)
jmp    14cc <fftrec+0x37c>
jmp    14b2 <fftrec+0x362>
mov    -0x20(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x20(%rbp)
jmp    1195 <fftrec+0x45>
mov    -0x18(%rbp),%rax
mov    (%rax),%eax
mov    %eax,-0x4(%rbp)
mov    -0x4(%rbp),%eax
add    $0xc0,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<fftrec>:
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x60,%rsp
mov    (%rsi),%eax
test   %eax,%eax
jg     126c <fftrec+0x11c>
mov    %rsi,%r14
mov    %rdi,%r13
call   1040 <strlen@plt>
cmp    $0x9,%eax
jb     1198 <fftrec+0x48>
cltq
mov    $0x8,%ebx
xchg   %ax,%ax
movsbl 0x0(%r13,%rbx,1),%r8d
lea    -0x7f(%r8),%ecx
cmp    $0xa0,%cl
jbe    11a0 <fftrec+0x50>
add    $0x1,%rbx
cmp    %rbx,%rax
jne    1180 <fftrec+0x30>
mov    (%r14),%eax
jmp    126c <fftrec+0x11c>
lea    0x1(%rbx),%ecx
lea    0xec6(%rip),%rdx
mov    %rsp,%rdi
mov    $0x51,%esi
call   1060 <snprintf@plt>
movzbl 0x0(%r13,%rbx,1),%eax
cmp    $0x1b,%rax
ja     11e3 <fftrec+0x93>
lea    0xede(%rip),%r15
lea    0xe2f(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
jmp    *%rax
lea    0xed5(%rip),%r15
jmp    121b <fftrec+0xcb>
cmp    $0x7f,%al
jne    1238 <fftrec+0xe8>
lea    0xf2e(%rip),%r15
jmp    121b <fftrec+0xcb>
lea    0xecc(%rip),%r15
jmp    121b <fftrec+0xcb>
lea    0xed6(%rip),%r15
jmp    121b <fftrec+0xcb>
lea    0xedd(%rip),%r15
jmp    121b <fftrec+0xcb>
lea    0xee7(%rip),%r15
jmp    121b <fftrec+0xcb>
lea    0xef1(%rip),%r15
mov    %rsp,%r12
mov    %r12,%rdi
call   1040 <strlen@plt>
mov    $0x50,%edx
sub    %eax,%edx
mov    %r12,%rdi
mov    %r15,%rsi
call   1070 <strncat@plt>
mov    %rsp,%r15
mov    %r15,%rdi
call   1050 <ffpmsg@plt>
mov    %r15,%rdi
mov    %r13,%rsi
mov    $0x50,%edx
call   1030 <strncpy@plt>
movb   $0x0,0x50(%rsp)
mov    %r15,%rdi
call   1050 <ffpmsg@plt>
movl   $0xcf,(%r14)
mov    $0xcf,%eax
add    $0x60,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
ret

LLVM IR (-O0):
@.str = [56 x i8] c"Character %d in this keyword is illegal. Hex Value = %X\00"
@.str.1 = [14 x i8] c" (NULL char.)\00"
@.str.2 = [13 x i8] c" (TAB char.)\00"
@.str.3 = [19 x i8] c" (Line Feed char.)\00"
@.str.4 = [16 x i8] c" (Vertical Tab)\00"
@.str.5 = [19 x i8] c" (Form Feed char.)\00"
@.str.6 = [19 x i8] c" (Carriage Return)\00"
@.str.7 = [16 x i8] c" (Escape char.)\00"
@.str.8 = [16 x i8] c" (Delete char.)\00"
define i32 @fftrec(i8* %0, i32* %1) {
%3 = alloca i32
%4 = alloca i8*
%5 = alloca i32*
%6 = alloca i64
%7 = alloca i64
%8 = alloca [81 x i8]
store i8* %0, i8** %4
store i32* %1, i32** %5
%9 = load i32*, i32** %5
%10 = load i32, i32* %9
%11 = icmp sgt i32 %10, 0
br i1 %11, label %12, label %15
12: ; preds = %2
%13 = load i32*, i32** %5
%14 = load i32, i32* %13
store i32 %14, i32* %3
br label %183
15: ; preds = %2
%16 = load i8*, i8** %4
%17 = call i32 @strlen(i8* %16)
%18 = sext i32 %17 to i64
store i64 %18, i64* %7
store i64 8, i64* %6
br label %19
19: ; preds = %177, %15
%20 = load i64, i64* %6
%21 = load i64, i64* %7
%22 = icmp ult i64 %20, %21
br i1 %22, label %23, label %180
23: ; preds = %19
%24 = load i8*, i8** %4
%25 = load i64, i64* %6
%26 = getelementptr inbounds i8, i8* %24, i64 %25
%27 = load i8, i8* %26
%28 = sext i8 %27 to i32
%29 = icmp slt i32 %28, 32
br i1 %29, label %37, label %30
30: ; preds = %23
%31 = load i8*, i8** %4
%32 = load i64, i64* %6
%33 = getelementptr inbounds i8, i8* %31, i64 %32
%34 = load i8, i8* %33
%35 = sext i8 %34 to i32
%36 = icmp sgt i32 %35, 126
br i1 %36, label %37, label %176
37: ; preds = %30, %23
%38 = getelementptr inbounds [81 x i8], [81 x i8]* %8, i64 0, i64 0
%39 = load i64, i64* %6
%40 = add i64 %39, 1
%41 = trunc i64 %40 to i32
%42 = load i8*, i8** %4
%43 = load i64, i64* %6
%44 = getelementptr inbounds i8, i8* %42, i64 %43
%45 = load i8, i8* %44
%46 = sext i8 %45 to i32
%47 = call i32 @snprintf(i8* %38, i32 81, i8* getelementptr inbounds ([56 x i8], [56 x i8]* @.str, i64 0, i64 0), i32 %41, i32 %46)
%48 = load i8*, i8** %4
%49 = load i64, i64* %6
%50 = getelementptr inbounds i8, i8* %48, i64 %49
%51 = load i8, i8* %50
%52 = sext i8 %51 to i32
%53 = icmp eq i32 %52, 0
br i1 %53, label %54, label %61
54: ; preds = %37
%55 = getelementptr inbounds [81 x i8], [81 x i8]* %8, i64 0, i64 0
%56 = getelementptr inbounds [81 x i8], [81 x i8]* %8, i64 0, i64 0
%57 = call i32 @strlen(i8* %56)
%58 = sub nsw i32 81, %57
%59 = sub nsw i32 %58, 1
%60 = call i32 @strncat(i8* %55, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.1, i64 0, i64 0), i32 %59)
br label %166
61: ; preds = %37
%62 = load i8*, i8** %4
%63 = load i64, i64* %6
%64 = getelementptr inbounds i8, i8* %62, i64 %63
%65 = load i8, i8* %64
%66 = sext i8 %65 to i32
%67 = icmp eq i32 %66, 9
br i1 %67, label %68, label %75
68: ; preds = %61
%69 = getelementptr inbounds [81 x i8], [81 x i8]* %8, i64 0, i64 0
%70 = getelementptr inbounds [81 x i8], [81 x i8]* %8, i64 0, i64 0
%71 = call i32 @strlen(i8* %70)
%72 = sub nsw i32 81, %71
%73 = sub nsw i32 %72, 1
%74 = call i32 @strncat(i8* %69, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.2, i64 0, i64 0), i32 %73)
br label %165
75: ; preds = %61
%76 = load i8*, i8** %4
%77 = load i64, i64* %6
%78 = getelementptr inbounds i8, i8* %76, i64 %77
%79 = load i8, i8* %78
%80 = sext i8 %79 to i32
%81 = icmp eq i32 %80, 10
br i1 %81, label %82, label %89
82: ; preds = %75
%83 = getelementptr inbounds [81 x i8], [81 x i8]* %8, i64 0, i64 0
%84 = getelementptr inbounds [81 x i8], [81 x i8]* %8, i64 0, i64 0
%85 = call i32 @strlen(i8* %84)
%86 = sub nsw i32 81, %85
%87 = sub nsw i32 %86, 1
%88 = call i32 @strncat(i8* %83, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.3, i64 0, i64 0), i32 %87)
br label %164
89: ; preds = %75
%90 = load i8*, i8** %4
%91 = load i64, i64* %6
%92 = getelementptr inbounds i8, i8* %90, i64 %91
%93 = load i8, i8* %92
%94 = sext i8 %93 to i32
%95 = icmp eq i32 %94, 11
br i1 %95, label %96, label %103
96: ; preds = %89
%97 = getelementptr inbounds [81 x i8], [81 x i8]* %8, i64 0, i64 0
%98 = getelementptr inbounds [81 x i8], [81 x i8]* %8, i64 0, i64 0
%99 = call i32 @strlen(i8* %98)
%100 = sub nsw i32 81, %99
%101 = sub nsw i32 %100, 1
%102 = call i32 @strncat(i8* %97, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.4, i64 0, i64 0), i32 %101)
br label %163
103: ; preds = %89
%104 = load i8*, i8** %4
%105 = load i64, i64* %6
%106 = getelementptr inbounds i8, i8* %104, i64 %105
%107 = load i8, i8* %106
%108 = sext i8 %107 to i32
%109 = icmp eq i32 %108, 12
br i1 %109, label %110, label %117
110: ; preds = %103
%111 = getelementptr inbounds [81 x i8], [81 x i8]* %8, i64 0, i64 0
%112 = getelementptr inbounds [81 x i8], [81 x i8]* %8, i64 0, i64 0
%113 = call i32 @strlen(i8* %112)
%114 = sub nsw i32 81, %113
%115 = sub nsw i32 %114, 1
%116 = call i32 @strncat(i8* %111, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.5, i64 0, i64 0), i32 %115)
br label %162
117: ; preds = %103
%118 = load i8*, i8** %4
%119 = load i64, i64* %6
%120 = getelementptr inbounds i8, i8* %118, i64 %119
%121 = load i8, i8* %120
%122 = sext i8 %121 to i32
%123 = icmp eq i32 %122, 13
br i1 %123, label %124, label %131
124: ; preds = %117
%125 = getelementptr inbounds [81 x i8], [81 x i8]* %8, i64 0, i64 0
%126 = getelementptr inbounds [81 x i8], [81 x i8]* %8, i64 0, i64 0
%127 = call i32 @strlen(i8* %126)
%128 = sub nsw i32 81, %127
%129 = sub nsw i32 %128, 1
%130 = call i32 @strncat(i8* %125, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.6, i64 0, i64 0), i32 %129)
br label %161
131: ; preds = %117
%132 = load i8*, i8** %4
%133 = load i64, i64* %6
%134 = getelementptr inbounds i8, i8* %132, i64 %133
%135 = load i8, i8* %134
%136 = sext i8 %135 to i32
%137 = icmp eq i32 %136, 27
br i1 %137, label %138, label %145
138: ; preds = %131
%139 = getelementptr inbounds [81 x i8], [81 x i8]* %8, i64 0, i64 0
%140 = getelementptr inbounds [81 x i8], [81 x i8]* %8, i64 0, i64 0
%141 = call i32 @strlen(i8* %140)
%142 = sub nsw i32 81, %141
%143 = sub nsw i32 %142, 1
%144 = call i32 @strncat(i8* %139, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.7, i64 0, i64 0), i32 %143)
br label %160
145: ; preds = %131
%146 = load i8*, i8** %4
%147 = load i64, i64* %6
%148 = getelementptr inbounds i8, i8* %146, i64 %147
%149 = load i8, i8* %148
%150 = sext i8 %149 to i32
%151 = icmp eq i32 %150, 127
br i1 %151, label %152, label %159
152: ; preds = %145
%153 = getelementptr inbounds [81 x i8], [81 x i8]* %8, i64 0, i64 0
%154 = getelementptr inbounds [81 x i8], [81 x i8]* %8, i64 0, i64 0
%155 = call i32 @strlen(i8* %154)
%156 = sub nsw i32 81, %155
%157 = sub nsw i32 %156, 1
%158 = call i32 @strncat(i8* %153, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.8, i64 0, i64 0), i32 %157)
br label %159
159: ; preds = %152, %145
br label %160
160: ; preds = %159, %138
br label %161
161: ; preds = %160, %124
br label %162
162: ; preds = %161, %110
br label %163
163: ; preds = %162, %96
br label %164
164: ; preds = %163, %82
br label %165
165: ; preds = %164, %68
br label %166
166: ; preds = %165, %54
%167 = getelementptr inbounds [81 x i8], [81 x i8]* %8, i64 0, i64 0
%168 = call i32 @ffpmsg(i8* %167)
%169 = getelementptr inbounds [81 x i8], [81 x i8]* %8, i64 0, i64 0
%170 = load i8*, i8** %4
%171 = call i32 @strncpy(i8* %169, i8* %170, i32 80)
%172 = getelementptr inbounds [81 x i8], [81 x i8]* %8, i64 0, i64 80
store i8 0, i8* %172
%173 = getelementptr inbounds [81 x i8], [81 x i8]* %8, i64 0, i64 0
%174 = call i32 @ffpmsg(i8* %173)
%175 = load i32*, i32** %5
store i32 207, i32* %175
store i32 207, i32* %3
br label %183
176: ; preds = %30
br label %177
177: ; preds = %176
%178 = load i64, i64* %6
%179 = add i64 %178, 1
store i64 %179, i64* %6
br label %19
180: ; preds = %19
%181 = load i32*, i32** %5
%182 = load i32, i32* %181
store i32 %182, i32* %3
br label %183
183: ; preds = %180, %166, %12
%184 = load i32, i32* %3
ret i32 %184
}

LLVM IR (-O2):
@.str = [56 x i8] c"Character %d in this keyword is illegal. Hex Value = %X\00"
@.str.1 = [14 x i8] c" (NULL char.)\00"
@.str.2 = [13 x i8] c" (TAB char.)\00"
@.str.3 = [19 x i8] c" (Line Feed char.)\00"
@.str.4 = [16 x i8] c" (Vertical Tab)\00"
@.str.5 = [19 x i8] c" (Form Feed char.)\00"
@.str.6 = [19 x i8] c" (Carriage Return)\00"
@.str.7 = [16 x i8] c" (Escape char.)\00"
@.str.8 = [16 x i8] c" (Delete char.)\00"
define i32 @fftrec(i8* %0, i32* nocapture %1) {
%3 = alloca [81 x i8]
%4 = getelementptr inbounds [81 x i8], [81 x i8]* %3, i64 0, i64 0
%5 = load i32, i32* %1
%6 = icmp sgt i32 %5, 0
br i1 %6, label %46, label %7
7: ; preds = %2
%8 = tail call i32 @strlen(i8* %0)
%9 = sext i32 %8 to i64
%10 = icmp ugt i32 %8, 8
br i1 %10, label %11, label %44
11: ; preds = %7, %41
%12 = phi i64 [ %42, %41 ], [ 8, %7 ]
%13 = getelementptr inbounds i8, i8* %0, i64 %12
%14 = load i8, i8* %13
%15 = add i8 %14, -127
%16 = icmp ult i8 %15, -95
br i1 %16, label %17, label %41
17: ; preds = %11
%18 = getelementptr inbounds i8, i8* %0, i64 %12
%19 = trunc i64 %12 to i32
%20 = add i32 %19, 1
%21 = sext i8 %14 to i32
%22 = call i32 @snprintf(i8* %4, i32 81, i8* getelementptr inbounds ([56 x i8], [56 x i8]* @.str, i64 0, i64 0), i32 %20, i32 %21)
%23 = load i8, i8* %18
switch i8 %23, label %36 [
i8 0, label %31
i8 9, label %24
i8 10, label %25
i8 11, label %26
i8 12, label %27
i8 13, label %28
i8 27, label %29
i8 127, label %30
]
24: ; preds = %17
br label %31
25: ; preds = %17
br label %31
26: ; preds = %17
br label %31
27: ; preds = %17
br label %31
28: ; preds = %17
br label %31
29: ; preds = %17
br label %31
30: ; preds = %17
br label %31
31: ; preds = %17, %25, %27, %29, %30, %28, %26, %24
%32 = phi i8* [ getelementptr inbounds ([13 x i8], [13 x i8]* @.str.2, i64 0, i64 0), %24 ], [ getelementptr inbounds ([16 x i8], [16 x i8]* @.str.4, i64 0, i64 0), %26 ], [ getelementptr inbounds ([19 x i8], [19 x i8]* @.str.6, i64 0, i64 0), %28 ], [ getelementptr inbounds ([16 x i8], [16 x i8]* @.str.8, i64 0, i64 0), %30 ], [ getelementptr inbounds ([16 x i8], [16 x i8]* @.str.7, i64 0, i64 0), %29 ], [ getelementptr inbounds ([19 x i8], [19 x i8]* @.str.5, i64 0, i64 0), %27 ], [ getelementptr inbounds ([19 x i8], [19 x i8]* @.str.3, i64 0, i64 0), %25 ], [ getelementptr inbounds ([14 x i8], [14 x i8]* @.str.1, i64 0, i64 0), %17 ]
%33 = call i32 @strlen(i8* %4)
%34 = sub i32 80, %33
%35 = call i32 @strncat(i8* %4, i8* %32, i32 %34)
br label %36
36: ; preds = %31, %17
%37 = call i32 @ffpmsg(i8* %4)
%38 = call i32 @strncpy(i8* %4, i8* %0, i32 80)
%39 = getelementptr inbounds [81 x i8], [81 x i8]* %3, i64 0, i64 80
store i8 0, i8* %39
%40 = call i32 @ffpmsg(i8* %4)
store i32 207, i32* %1
br label %46
41: ; preds = %11
%42 = add nuw i64 %12, 1
%43 = icmp eq i64 %42, %9
br i1 %43, label %44, label %11
44: ; preds = %41, %7
%45 = load i32, i32* %1
br label %46
46: ; preds = %2, %44, %36
%47 = phi i32 [ 207, %36 ], [ %45, %44 ], [ %5, %2 ]
ret i32 %47
}