#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 */
scalar_t__ fisdigit(char const);
int /*<<< orphan*/ print_hex(char const **);
int /*<<< orphan*/ print_oct(char const **);
int /*<<< orphan*/ printf(char *, char const);
int /*<<< orphan*/ putchar(char const);
int builtin_echo_ext(const char *msg) {
  int backed = 0;
  for (; *msg; ++msg)
    if (*msg == '\\' && !backed && (backed = 1))
      continue;
    else if (backed && *msg == 'a' && !(backed = 0))
      putchar('\a');
    else if (backed && *msg == 'b' && !(backed = 0))
      putchar('\b');
    else if (backed && *msg == 'c')
      return 0;
    else if (backed && *msg == 'e' && !(backed = 0))
      putchar(0x1b);
    else if (backed && *msg == 'f' && !(backed = 0))
      putchar('\f');
    else if (backed && *msg == 'n' && !(backed = 0))
      putchar('\n');
    else if (backed && *msg == 'r' && !(backed = 0))
      putchar('\r');
    else if (backed && *msg == 't' && !(backed = 0))
      putchar('\t');
    else if (backed && *msg == '\\' && !(backed = 0))
      putchar('\\');
    else if (backed && *msg == 'v' && !(backed = 0))
      putchar('\v');
    else if (backed && fisdigit(*msg) && !(backed = 0))
      print_oct(&msg);
    else if (backed && *msg == 'x' && !(backed = 0) && (++msg))
      print_hex(&msg);
    else if (backed && !(backed = 0))
      printf("\\%c", *msg);
    else
      putchar(*msg);
  return 1;
}


x86 assembly (clang, -O0):
<builtin_echo_ext>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
mov    %rdi,-0x10(%rbp)
movl   $0x0,-0x14(%rbp)
mov    -0x10(%rbp),%rax
cmpb   $0x0,(%rax)
je     14f9 <builtin_echo_ext+0x3a9>
mov    -0x10(%rbp),%rax
movsbl (%rax),%eax
cmp    $0x5c,%eax
jne    11a5 <builtin_echo_ext+0x55>
cmpl   $0x0,-0x14(%rbp)
jne    11a5 <builtin_echo_ext+0x55>
movl   $0x1,-0x14(%rbp)
mov    $0x1,%al
test   $0x1,%al
jne    11a0 <builtin_echo_ext+0x50>
jmp    11a5 <builtin_echo_ext+0x55>
jmp    14e8 <builtin_echo_ext+0x398>
cmpl   $0x0,-0x14(%rbp)
je     11df <builtin_echo_ext+0x8f>
mov    -0x10(%rbp),%rax
movsbl (%rax),%eax
cmp    $0x61,%eax
jne    11df <builtin_echo_ext+0x8f>
movl   $0x0,-0x14(%rbp)
xor    %eax,%eax
test   $0x1,%al
jne    11df <builtin_echo_ext+0x8f>
mov    $0x7,%edi
call   1030 <putchar@plt>
jmp    14de <builtin_echo_ext+0x38e>
cmpl   $0x0,-0x14(%rbp)
je     1219 <builtin_echo_ext+0xc9>
mov    -0x10(%rbp),%rax
movsbl (%rax),%eax
cmp    $0x62,%eax
jne    1219 <builtin_echo_ext+0xc9>
movl   $0x0,-0x14(%rbp)
xor    %eax,%eax
test   $0x1,%al
jne    1219 <builtin_echo_ext+0xc9>
mov    $0x8,%edi
call   1030 <putchar@plt>
jmp    14d9 <builtin_echo_ext+0x389>
cmpl   $0x0,-0x14(%rbp)
je     123f <builtin_echo_ext+0xef>
mov    -0x10(%rbp),%rax
movsbl (%rax),%eax
cmp    $0x63,%eax
jne    123f <builtin_echo_ext+0xef>
movl   $0x0,-0x4(%rbp)
jmp    1500 <builtin_echo_ext+0x3b0>
cmpl   $0x0,-0x14(%rbp)
je     1279 <builtin_echo_ext+0x129>
mov    -0x10(%rbp),%rax
movsbl (%rax),%eax
cmp    $0x65,%eax
jne    1279 <builtin_echo_ext+0x129>
movl   $0x0,-0x14(%rbp)
xor    %eax,%eax
test   $0x1,%al
jne    1279 <builtin_echo_ext+0x129>
mov    $0x1b,%edi
call   1030 <putchar@plt>
jmp    14cf <builtin_echo_ext+0x37f>
cmpl   $0x0,-0x14(%rbp)
je     12b3 <builtin_echo_ext+0x163>
mov    -0x10(%rbp),%rax
movsbl (%rax),%eax
cmp    $0x66,%eax
jne    12b3 <builtin_echo_ext+0x163>
movl   $0x0,-0x14(%rbp)
xor    %eax,%eax
test   $0x1,%al
jne    12b3 <builtin_echo_ext+0x163>
mov    $0xc,%edi
call   1030 <putchar@plt>
jmp    14ca <builtin_echo_ext+0x37a>
cmpl   $0x0,-0x14(%rbp)
je     12ed <builtin_echo_ext+0x19d>
mov    -0x10(%rbp),%rax
movsbl (%rax),%eax
cmp    $0x6e,%eax
jne    12ed <builtin_echo_ext+0x19d>
movl   $0x0,-0x14(%rbp)
xor    %eax,%eax
test   $0x1,%al
jne    12ed <builtin_echo_ext+0x19d>
mov    $0xa,%edi
call   1030 <putchar@plt>
jmp    14c5 <builtin_echo_ext+0x375>
cmpl   $0x0,-0x14(%rbp)
je     1327 <builtin_echo_ext+0x1d7>
mov    -0x10(%rbp),%rax
movsbl (%rax),%eax
cmp    $0x72,%eax
jne    1327 <builtin_echo_ext+0x1d7>
movl   $0x0,-0x14(%rbp)
xor    %eax,%eax
test   $0x1,%al
jne    1327 <builtin_echo_ext+0x1d7>
mov    $0xd,%edi
call   1030 <putchar@plt>
jmp    14c0 <builtin_echo_ext+0x370>
cmpl   $0x0,-0x14(%rbp)
je     1361 <builtin_echo_ext+0x211>
mov    -0x10(%rbp),%rax
movsbl (%rax),%eax
cmp    $0x74,%eax
jne    1361 <builtin_echo_ext+0x211>
movl   $0x0,-0x14(%rbp)
xor    %eax,%eax
test   $0x1,%al
jne    1361 <builtin_echo_ext+0x211>
mov    $0x9,%edi
call   1030 <putchar@plt>
jmp    14bb <builtin_echo_ext+0x36b>
cmpl   $0x0,-0x14(%rbp)
je     139b <builtin_echo_ext+0x24b>
mov    -0x10(%rbp),%rax
movsbl (%rax),%eax
cmp    $0x5c,%eax
jne    139b <builtin_echo_ext+0x24b>
movl   $0x0,-0x14(%rbp)
xor    %eax,%eax
test   $0x1,%al
jne    139b <builtin_echo_ext+0x24b>
mov    $0x5c,%edi
call   1030 <putchar@plt>
jmp    14b6 <builtin_echo_ext+0x366>
cmpl   $0x0,-0x14(%rbp)
je     13d5 <builtin_echo_ext+0x285>
mov    -0x10(%rbp),%rax
movsbl (%rax),%eax
cmp    $0x76,%eax
jne    13d5 <builtin_echo_ext+0x285>
movl   $0x0,-0x14(%rbp)
xor    %eax,%eax
test   $0x1,%al
jne    13d5 <builtin_echo_ext+0x285>
mov    $0xb,%edi
call   1030 <putchar@plt>
jmp    14b1 <builtin_echo_ext+0x361>
cmpl   $0x0,-0x14(%rbp)
je     1414 <builtin_echo_ext+0x2c4>
mov    -0x10(%rbp),%rax
movsbl (%rax),%edi
call   1050 <fisdigit@plt>
cmp    $0x0,%rax
je     1414 <builtin_echo_ext+0x2c4>
movl   $0x0,-0x14(%rbp)
xor    %eax,%eax
test   $0x1,%al
jne    1414 <builtin_echo_ext+0x2c4>
lea    -0x10(%rbp),%rdi
call   1060 <print_oct@plt>
jmp    14ac <builtin_echo_ext+0x35c>
cmpl   $0x0,-0x14(%rbp)
je     1463 <builtin_echo_ext+0x313>
mov    -0x10(%rbp),%rax
movsbl (%rax),%eax
cmp    $0x78,%eax
jne    1463 <builtin_echo_ext+0x313>
movl   $0x0,-0x14(%rbp)
xor    %eax,%eax
test   $0x1,%al
jne    1463 <builtin_echo_ext+0x313>
mov    -0x10(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x10(%rbp)
cmp    $0x0,%rax
je     1463 <builtin_echo_ext+0x313>
lea    -0x10(%rbp),%rdi
call   1070 <print_hex@plt>
jmp    14a7 <builtin_echo_ext+0x357>
cmpl   $0x0,-0x14(%rbp)
je     1496 <builtin_echo_ext+0x346>
movl   $0x0,-0x14(%rbp)
xor    %eax,%eax
test   $0x1,%al
jne    1496 <builtin_echo_ext+0x346>
mov    -0x10(%rbp),%rax
lea    0xb77(%rip),%rdi
movsbl (%rax),%esi
call   1040 <printf@plt>
jmp    14a2 <builtin_echo_ext+0x352>
mov    -0x10(%rbp),%rax
movsbl (%rax),%edi
call   1030 <putchar@plt>
jmp    14a7 <builtin_echo_ext+0x357>
jmp    14ac <builtin_echo_ext+0x35c>
jmp    14b1 <builtin_echo_ext+0x361>
jmp    14b6 <builtin_echo_ext+0x366>
jmp    14bb <builtin_echo_ext+0x36b>
jmp    14c0 <builtin_echo_ext+0x370>
jmp    14c5 <builtin_echo_ext+0x375>
jmp    14ca <builtin_echo_ext+0x37a>
jmp    14cf <builtin_echo_ext+0x37f>
jmp    14d4 <builtin_echo_ext+0x384>
jmp    14d9 <builtin_echo_ext+0x389>
jmp    14de <builtin_echo_ext+0x38e>
jmp    14e3 <builtin_echo_ext+0x393>
jmp    14e8 <builtin_echo_ext+0x398>
mov    -0x10(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x10(%rbp)
jmp    1163 <builtin_echo_ext+0x13>
movl   $0x1,-0x4(%rbp)
mov    -0x4(%rbp),%eax
add    $0x20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<builtin_echo_ext>:
push   %r15
push   %r14
push   %rbx
sub    $0x10,%rsp
mov    %rdi,0x8(%rsp)
mov    (%rdi),%cl
test   %cl,%cl
je     1272 <builtin_echo_ext+0x122>
xor    %edx,%edx
lea    0x8(%rsp),%r15
lea    0xef6(%rip),%r14
lea    0xe83(%rip),%rbx
jmp    11a8 <builtin_echo_ext+0x58>
nop
mov    $0x7,%edi
call   1030 <putchar@plt>
xor    %eax,%eax
mov    0x8(%rsp),%rcx
lea    0x1(%rcx),%rdx
mov    %rdx,0x8(%rsp)
movzbl 0x1(%rcx),%ecx
mov    %eax,%edx
test   %cl,%cl
je     1272 <builtin_echo_ext+0x122>
test   %edx,%edx
jne    11b6 <builtin_echo_ext+0x66>
mov    $0x1,%eax
cmp    $0x5c,%cl
je     118c <builtin_echo_ext+0x3c>
test   %edx,%edx
je     11bf <builtin_echo_ext+0x6f>
cmp    $0x61,%cl
je     1180 <builtin_echo_ext+0x30>
test   %edx,%edx
je     11e0 <builtin_echo_ext+0x90>
lea    -0x5c(%rcx),%edx
cmp    $0x1a,%dl
ja     11e5 <builtin_echo_ext+0x95>
xor    %eax,%eax
movzbl %dl,%edx
movslq (%rbx,%rdx,4),%rdx
add    %rbx,%rdx
jmp    *%rdx
mov    $0x5c,%edi
jmp    1185 <builtin_echo_ext+0x35>
movsbl %cl,%edi
jmp    1185 <builtin_echo_ext+0x35>
movsbl %cl,%edi
call   1050 <fisdigit@plt>
test   %rax,%rax
je     123f <builtin_echo_ext+0xef>
mov    %r15,%rdi
call   1060 <print_oct@plt>
jmp    118a <builtin_echo_ext+0x3a>
mov    $0x8,%edi
jmp    1185 <builtin_echo_ext+0x35>
mov    $0x1b,%edi
jmp    1185 <builtin_echo_ext+0x35>
mov    $0xc,%edi
jmp    1185 <builtin_echo_ext+0x35>
mov    $0xa,%edi
jmp    1185 <builtin_echo_ext+0x35>
mov    $0xd,%edi
jmp    1185 <builtin_echo_ext+0x35>
mov    $0x9,%edi
jmp    1185 <builtin_echo_ext+0x35>
mov    $0xb,%edi
jmp    1185 <builtin_echo_ext+0x35>
mov    0x8(%rsp),%rax
movzbl (%rax),%ecx
cmp    $0x78,%cl
jne    1262 <builtin_echo_ext+0x112>
add    $0x1,%rax
mov    %rax,0x8(%rsp)
mov    %r15,%rdi
call   1070 <print_hex@plt>
jmp    118a <builtin_echo_ext+0x3a>
movsbl %cl,%esi
mov    %r14,%rdi
call   1040 <printf@plt>
jmp    118a <builtin_echo_ext+0x3a>
mov    $0x1,%eax
add    $0x10,%rsp
pop    %rbx
pop    %r14
pop    %r15
ret

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

LLVM IR (-O2):
@.str = [4 x i8] c"\\%c\00"
define i32 @builtin_echo_ext(i8* %0) {
%2 = alloca i8*
store i8* %0, i8** %2
%3 = load i8, i8* %0
%4 = icmp eq i8 %3, 0
br i1 %4, label %56, label %5
5: ; preds = %1, %50
%6 = phi i8 [ %54, %50 ], [ %3, %1 ]
%7 = phi i32 [ %51, %50 ], [ 0, %1 ]
%8 = icmp ne i8 %6, 92
%9 = icmp ne i32 %7, 0
%10 = or i1 %9, %8
br i1 %10, label %11, label %50
11: ; preds = %5
%12 = icmp eq i8 %6, 97
%13 = select i1 %9, i1 %12, i1 false
br i1 %13, label %14, label %16
14: ; preds = %11
%15 = call i32 @putchar(i8 signext 7)
br label %50
16: ; preds = %11
br i1 %9, label %17, label %48
17: ; preds = %16
switch i8 %6, label %34 [
i8 98, label %18
i8 99, label %56
i8 101, label %20
i8 102, label %22
i8 110, label %24
i8 114, label %26
i8 116, label %28
i8 92, label %30
i8 118, label %32
]
18: ; preds = %17
%19 = call i32 @putchar(i8 signext 8)
br label %50
20: ; preds = %17
%21 = call i32 @putchar(i8 signext 27)
br label %50
22: ; preds = %17
%23 = call i32 @putchar(i8 signext 12)
br label %50
24: ; preds = %17
%25 = call i32 @putchar(i8 signext 10)
br label %50
26: ; preds = %17
%27 = call i32 @putchar(i8 signext 13)
br label %50
28: ; preds = %17
%29 = call i32 @putchar(i8 signext 9)
br label %50
30: ; preds = %17
%31 = call i32 @putchar(i8 signext 92)
br label %50
32: ; preds = %17
%33 = call i32 @putchar(i8 signext 11)
br label %50
34: ; preds = %17
%35 = call i64 @fisdigit(i8 signext %6)
%36 = icmp eq i64 %35, 0
br i1 %36, label %39, label %37
37: ; preds = %34
%38 = call i32 @print_oct(i8** %2)
br label %50
39: ; preds = %34
%40 = load i8*, i8** %2
%41 = load i8, i8* %40
%42 = icmp eq i8 %41, 120
br i1 %42, label %43, label %46
43: ; preds = %39
%44 = getelementptr inbounds i8, i8* %40, i64 1
store i8* %44, i8** %2
%45 = call i32 @print_hex(i8** %2)
br label %50
46: ; preds = %39
%47 = call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i8 signext %41)
br label %50
48: ; preds = %16
%49 = call i32 @putchar(i8 signext %6)
br label %50
50: ; preds = %5, %18, %20, %24, %28, %32, %43, %48, %46, %37, %30, %26, %22, %14
%51 = phi i32 [ 0, %14 ], [ 0, %18 ], [ 0, %20 ], [ 0, %22 ], [ 0, %24 ], [ 0, %26 ], [ 0, %28 ], [ 0, %30 ], [ 0, %32 ], [ 0, %37 ], [ 0, %43 ], [ 0, %46 ], [ 0, %48 ], [ 1, %5 ]
%52 = load i8*, i8** %2
%53 = getelementptr inbounds i8, i8* %52, i64 1
store i8* %53, i8** %2
%54 = load i8, i8* %53
%55 = icmp eq i8 %54, 0
br i1 %55, label %56, label %5
56: ; preds = %50, %17, %1
%57 = phi i32 [ 1, %1 ], [ 0, %17 ], [ 1, %50 ]
ret i32 %57
}