#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 */
struct stat {
  int st_mode;
};
typedef int ssize_t;
typedef int /*<<< orphan*/ buf;
typedef int /*<<< orphan*/ FILE;

/* Variables and functions */
int /*<<< orphan*/ eprintf(char *, char const *);
scalar_t__ ferror(int /*<<< orphan*/ *);
int /*<<< orphan*/ fileno(int /*<<< orphan*/ *);
int fread(unsigned char *, int, int, int /*<<< orphan*/ *);
scalar_t__ fstat(int /*<<< orphan*/, struct stat *);
int /*<<< orphan*/ printf(char *, char, ...);
int /*<<< orphan*/ putchar(char);
void uuencode(FILE *fp, const char *name, const char *s) {
  struct stat st;
  unsigned char buf[45], *p;
  ssize_t n;
  int ch;
  if (fstat(fileno(fp), &st) < 0)
    eprintf("fstat %s:", s);
  printf("begin %o %s\n", st.st_mode & 0777, name);
  while ((n = fread(buf, 1, sizeof(buf), fp))) {
    ch = ' ' + (n & 0x3f);
    putchar(ch == ' ' ? '`' : ch);
    for (p = buf; n > 0; n -= 3, p += 3) {
      if (n < 3) {
        p[2] = '\0';
        if (n < 2)
          p[1] = '\0';
      }
      ch = ' ' + ((p[0] >> 2) & 0x3f);
      putchar(ch == ' ' ? '`' : ch);
      ch = ' ' + (((p[0] << 4) | ((p[1] >> 4) & 0xf)) & 0x3f);
      putchar(ch == ' ' ? '`' : ch);
      ch = ' ' + (((p[1] << 2) | ((p[2] >> 6) & 0x3)) & 0x3f);
      putchar(ch == ' ' ? '`' : ch);
      ch = ' ' + (p[2] & 0x3f);
      putchar(ch == ' ' ? '`' : ch);
    }
    putchar('\n');
  }
  if (ferror(fp))
    eprintf("'%s' read error:", s);
  printf("%c\nend\n", '`');
}


x86 assembly (clang, -O0):
<uuencode>:
push   %rbp
mov    %rsp,%rbp
sub    $0x80,%rsp
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    %rdx,-0x18(%rbp)
mov    -0x8(%rbp),%rdi
call   1070 <fileno@plt>
mov    %eax,%edi
lea    -0x20(%rbp),%rsi
call   1090 <fstat@plt>
cmp    $0x0,%rax
jge    11b5 <uuencode+0x45>
mov    -0x18(%rbp),%rsi
lea    0xe50(%rip),%rdi
call   1080 <eprintf@plt>
mov    -0x20(%rbp),%eax
and    $0x1ff,%eax
mov    -0x10(%rbp),%rdx
lea    0xe42(%rip),%rdi
movsbl %al,%esi
mov    $0x0,%al
call   1060 <printf@plt>
lea    -0x50(%rbp),%rdi
mov    -0x8(%rbp),%rcx
mov    $0x1,%esi
mov    $0x2d,%edx
call   1050 <fread@plt>
mov    %eax,-0x5c(%rbp)
cmp    $0x0,%eax
je     1398 <uuencode+0x228>
mov    -0x5c(%rbp),%eax
and    $0x3f,%eax
add    $0x20,%eax
mov    %eax,-0x60(%rbp)
cmpl   $0x20,-0x60(%rbp)
jne    1218 <uuencode+0xa8>
mov    $0x60,%eax
mov    %eax,-0x64(%rbp)
jmp    121e <uuencode+0xae>
mov    -0x60(%rbp),%eax
mov    %eax,-0x64(%rbp)
mov    -0x64(%rbp),%eax
movsbl %al,%edi
call   1030 <putchar@plt>
lea    -0x50(%rbp),%rax
mov    %rax,-0x58(%rbp)
cmpl   $0x0,-0x5c(%rbp)
jle    1389 <uuencode+0x219>
cmpl   $0x3,-0x5c(%rbp)
jge    1264 <uuencode+0xf4>
mov    -0x58(%rbp),%rax
movb   $0x0,0x2(%rax)
cmpl   $0x2,-0x5c(%rbp)
jge    125f <uuencode+0xef>
mov    -0x58(%rbp),%rax
movb   $0x0,0x1(%rax)
jmp    1264 <uuencode+0xf4>
mov    -0x58(%rbp),%rax
movzbl (%rax),%eax
sar    $0x2,%eax
and    $0x3f,%eax
add    $0x20,%eax
mov    %eax,-0x60(%rbp)
cmpl   $0x20,-0x60(%rbp)
jne    128e <uuencode+0x11e>
mov    $0x60,%eax
mov    %eax,-0x68(%rbp)
jmp    1294 <uuencode+0x124>
mov    -0x60(%rbp),%eax
mov    %eax,-0x68(%rbp)
mov    -0x68(%rbp),%eax
movsbl %al,%edi
call   1030 <putchar@plt>
mov    -0x58(%rbp),%rax
movzbl (%rax),%eax
shl    $0x4,%eax
mov    -0x58(%rbp),%rcx
movzbl 0x1(%rcx),%ecx
sar    $0x4,%ecx
and    $0xf,%ecx
or     %ecx,%eax
and    $0x3f,%eax
add    $0x20,%eax
mov    %eax,-0x60(%rbp)
cmpl   $0x20,-0x60(%rbp)
jne    12d9 <uuencode+0x169>
mov    $0x60,%eax
mov    %eax,-0x6c(%rbp)
jmp    12df <uuencode+0x16f>
mov    -0x60(%rbp),%eax
mov    %eax,-0x6c(%rbp)
mov    -0x6c(%rbp),%eax
movsbl %al,%edi
call   1030 <putchar@plt>
mov    -0x58(%rbp),%rax
movzbl 0x1(%rax),%eax
shl    $0x2,%eax
mov    -0x58(%rbp),%rcx
movzbl 0x2(%rcx),%ecx
sar    $0x6,%ecx
and    $0x3,%ecx
or     %ecx,%eax
and    $0x3f,%eax
add    $0x20,%eax
mov    %eax,-0x60(%rbp)
cmpl   $0x20,-0x60(%rbp)
jne    1325 <uuencode+0x1b5>
mov    $0x60,%eax
mov    %eax,-0x70(%rbp)
jmp    132b <uuencode+0x1bb>
mov    -0x60(%rbp),%eax
mov    %eax,-0x70(%rbp)
mov    -0x70(%rbp),%eax
movsbl %al,%edi
call   1030 <putchar@plt>
mov    -0x58(%rbp),%rax
movzbl 0x2(%rax),%eax
and    $0x3f,%eax
add    $0x20,%eax
mov    %eax,-0x60(%rbp)
cmpl   $0x20,-0x60(%rbp)
jne    135e <uuencode+0x1ee>
mov    $0x60,%eax
mov    %eax,-0x74(%rbp)
jmp    1364 <uuencode+0x1f4>
mov    -0x60(%rbp),%eax
mov    %eax,-0x74(%rbp)
mov    -0x74(%rbp),%eax
movsbl %al,%edi
call   1030 <putchar@plt>
mov    -0x5c(%rbp),%eax
sub    $0x3,%eax
mov    %eax,-0x5c(%rbp)
mov    -0x58(%rbp),%rax
add    $0x3,%rax
mov    %rax,-0x58(%rbp)
jmp    1231 <uuencode+0xc1>
mov    $0xa,%edi
call   1030 <putchar@plt>
jmp    11d2 <uuencode+0x62>
mov    -0x8(%rbp),%rdi
call   1040 <ferror@plt>
cmp    $0x0,%rax
je     13bb <uuencode+0x24b>
mov    -0x18(%rbp),%rsi
lea    0xc61(%rip),%rdi
call   1080 <eprintf@plt>
lea    0xc66(%rip),%rdi
mov    $0x60,%esi
mov    $0x0,%al
call   1060 <printf@plt>
add    $0x80,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<uuencode>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x48,%rsp
mov    %rdx,%rbp
mov    %rsi,%rbx
mov    %rdi,%r12
call   1070 <fileno@plt>
mov    %rsp,%rsi
mov    %eax,%edi
call   1090 <fstat@plt>
test   %rax,%rax
jns    11aa <uuencode+0x3a>
lea    0xe5e(%rip),%rdi
mov    %rbp,%rsi
call   1080 <eprintf@plt>
mov    %rbp,0x8(%rsp)
movsbl (%rsp),%esi
lea    0xe50(%rip),%rdi
mov    %rbx,%rdx
xor    %eax,%eax
call   1060 <printf@plt>
lea    0x10(%rsp),%rdi
mov    $0x1,%esi
mov    $0x2d,%edx
mov    %r12,%rcx
call   1050 <fread@plt>
test   %eax,%eax
je     1308 <uuencode+0x198>
mov    %eax,%ebx
lea    0x12(%rsp),%r14
mov    $0x60,%ebp
lea    0x10(%rsp),%r15
jmp    1229 <uuencode+0xb9>
cs nopw 0x0(%rax,%rax,1)
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    %r15,%rdi
mov    $0x1,%esi
mov    $0x2d,%edx
mov    %r12,%rcx
call   1050 <fread@plt>
mov    %eax,%ebx
test   %eax,%eax
je     1308 <uuencode+0x198>
mov    %ebx,%eax
and    $0x3f,%eax
lea    0x20(%rax),%ecx
test   %eax,%eax
movzbl %cl,%eax
cmove  %ebp,%eax
movzbl %al,%edi
call   1030 <putchar@plt>
test   %ebx,%ebx
jle    1200 <uuencode+0x90>
mov    %r14,%r13
jmp    12e5 <uuencode+0x175>
nopl   (%rax)
movzbl -0x2(%r13),%eax
mov    %eax,%ecx
shr    $0x2,%cl
add    $0x20,%cl
cmp    $0x4,%al
movzbl %cl,%eax
cmovb  %ebp,%eax
movzbl %al,%edi
call   1030 <putchar@plt>
movzbl -0x2(%r13),%eax
shl    $0x4,%eax
movzbl -0x1(%r13),%ecx
shr    $0x4,%ecx
and    $0x30,%eax
or     %ecx,%eax
lea    0x20(%rax),%ecx
test   %eax,%eax
movzbl %cl,%eax
cmove  %ebp,%eax
movzbl %al,%edi
call   1030 <putchar@plt>
movzbl -0x1(%r13),%eax
movzbl 0x0(%r13),%ecx
shr    $0x6,%ecx
and    $0xf,%eax
lea    (%rcx,%rax,4),%eax
lea    0x20(%rax),%ecx
test   %eax,%eax
movzbl %cl,%eax
cmove  %ebp,%eax
movzbl %al,%edi
call   1030 <putchar@plt>
movzbl 0x0(%r13),%eax
and    $0x3f,%al
lea    0x20(%rax),%ecx
test   %al,%al
movzbl %cl,%eax
cmove  %ebp,%eax
movzbl %al,%edi
call   1030 <putchar@plt>
lea    0x3(%rbx),%eax
add    $0x3,%r13
cmp    $0x3,%eax
jbe    1200 <uuencode+0x90>
mov    %ebx,%eax
sub    $0x3,%ebx
jae    1250 <uuencode+0xe0>
movb   $0x0,0x0(%r13)
cmp    $0x2,%eax
je     1250 <uuencode+0xe0>
movb   $0x0,-0x1(%r13)
jmp    1250 <uuencode+0xe0>
mov    %r12,%rdi
call   1040 <ferror@plt>
test   %rax,%rax
je     1326 <uuencode+0x1b6>
lea    0xcfb(%rip),%rdi
mov    0x8(%rsp),%rsi
call   1080 <eprintf@plt>
lea    0xcfb(%rip),%rdi
mov    $0x60,%esi
xor    %eax,%eax
add    $0x48,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
jmp    1060 <printf@plt>

LLVM IR (-O0):
%struct.stat = type { i32 }
@.str = [10 x i8] c"fstat %s:\00"
@.str.1 = [13 x i8] c"begin %o %s\0A\00"
@.str.2 = [17 x i8] c"'%s' read error:\00"
@.str.3 = [8 x i8] c"%c\0Aend\0A\00"
define void @uuencode(i32* %0, i8* %1, i8* %2) {
%4 = alloca i32*
%5 = alloca i8*
%6 = alloca i8*
%7 = alloca %struct.stat
%8 = alloca [45 x i8]
%9 = alloca i8*
%10 = alloca i32
%11 = alloca i32
store i32* %0, i32** %4
store i8* %1, i8** %5
store i8* %2, i8** %6
%12 = load i32*, i32** %4
%13 = call i32 @fileno(i32* %12)
%14 = call i64 @fstat(i32 %13, %struct.stat* %7)
%15 = icmp slt i64 %14, 0
br i1 %15, label %16, label %19
16: ; preds = %3
%17 = load i8*, i8** %6
%18 = call i32 @eprintf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str, i64 0, i64 0), i8* %17)
br label %19
19: ; preds = %16, %3
%20 = getelementptr inbounds %struct.stat, %struct.stat* %7, i32 0, i32 0
%21 = load i32, i32* %20
%22 = and i32 %21, 511
%23 = trunc i32 %22 to i8
%24 = load i8*, i8** %5
%25 = call i32 (i8*, i8, ...) @printf(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.1, i64 0, i64 0), i8 signext %23, i8* %24)
br label %26
26: ; preds = %143, %19
%27 = getelementptr inbounds [45 x i8], [45 x i8]* %8, i64 0, i64 0
%28 = load i32*, i32** %4
%29 = call i32 @fread(i8* %27, i32 1, i32 45, i32* %28)
store i32 %29, i32* %10
%30 = icmp ne i32 %29, 0
br i1 %30, label %31, label %145
31: ; preds = %26
%32 = load i32, i32* %10
%33 = and i32 %32, 63
%34 = add nsw i32 32, %33
store i32 %34, i32* %11
%35 = load i32, i32* %11
%36 = icmp eq i32 %35, 32
br i1 %36, label %37, label %38
37: ; preds = %31
br label %40
38: ; preds = %31
%39 = load i32, i32* %11
br label %40
40: ; preds = %38, %37
%41 = phi i32 [ 96, %37 ], [ %39, %38 ]
%42 = trunc i32 %41 to i8
%43 = call i32 @putchar(i8 signext %42)
%44 = getelementptr inbounds [45 x i8], [45 x i8]* %8, i64 0, i64 0
store i8* %44, i8** %9
br label %45
45: ; preds = %138, %40
%46 = load i32, i32* %10
%47 = icmp sgt i32 %46, 0
br i1 %47, label %48, label %143
48: ; preds = %45
%49 = load i32, i32* %10
%50 = icmp slt i32 %49, 3
br i1 %50, label %51, label %60
51: ; preds = %48
%52 = load i8*, i8** %9
%53 = getelementptr inbounds i8, i8* %52, i64 2
store i8 0, i8* %53
%54 = load i32, i32* %10
%55 = icmp slt i32 %54, 2
br i1 %55, label %56, label %59
56: ; preds = %51
%57 = load i8*, i8** %9
%58 = getelementptr inbounds i8, i8* %57, i64 1
store i8 0, i8* %58
br label %59
59: ; preds = %56, %51
br label %60
60: ; preds = %59, %48
%61 = load i8*, i8** %9
%62 = getelementptr inbounds i8, i8* %61, i64 0
%63 = load i8, i8* %62
%64 = zext i8 %63 to i32
%65 = ashr i32 %64, 2
%66 = and i32 %65, 63
%67 = add nsw i32 32, %66
store i32 %67, i32* %11
%68 = load i32, i32* %11
%69 = icmp eq i32 %68, 32
br i1 %69, label %70, label %71
70: ; preds = %60
br label %73
71: ; preds = %60
%72 = load i32, i32* %11
br label %73
73: ; preds = %71, %70
%74 = phi i32 [ 96, %70 ], [ %72, %71 ]
%75 = trunc i32 %74 to i8
%76 = call i32 @putchar(i8 signext %75)
%77 = load i8*, i8** %9
%78 = getelementptr inbounds i8, i8* %77, i64 0
%79 = load i8, i8* %78
%80 = zext i8 %79 to i32
%81 = shl i32 %80, 4
%82 = load i8*, i8** %9
%83 = getelementptr inbounds i8, i8* %82, i64 1
%84 = load i8, i8* %83
%85 = zext i8 %84 to i32
%86 = ashr i32 %85, 4
%87 = and i32 %86, 15
%88 = or i32 %81, %87
%89 = and i32 %88, 63
%90 = add nsw i32 32, %89
store i32 %90, i32* %11
%91 = load i32, i32* %11
%92 = icmp eq i32 %91, 32
br i1 %92, label %93, label %94
93: ; preds = %73
br label %96
94: ; preds = %73
%95 = load i32, i32* %11
br label %96
96: ; preds = %94, %93
%97 = phi i32 [ 96, %93 ], [ %95, %94 ]
%98 = trunc i32 %97 to i8
%99 = call i32 @putchar(i8 signext %98)
%100 = load i8*, i8** %9
%101 = getelementptr inbounds i8, i8* %100, i64 1
%102 = load i8, i8* %101
%103 = zext i8 %102 to i32
%104 = shl i32 %103, 2
%105 = load i8*, i8** %9
%106 = getelementptr inbounds i8, i8* %105, i64 2
%107 = load i8, i8* %106
%108 = zext i8 %107 to i32
%109 = ashr i32 %108, 6
%110 = and i32 %109, 3
%111 = or i32 %104, %110
%112 = and i32 %111, 63
%113 = add nsw i32 32, %112
store i32 %113, i32* %11
%114 = load i32, i32* %11
%115 = icmp eq i32 %114, 32
br i1 %115, label %116, label %117
116: ; preds = %96
br label %119
117: ; preds = %96
%118 = load i32, i32* %11
br label %119
119: ; preds = %117, %116
%120 = phi i32 [ 96, %116 ], [ %118, %117 ]
%121 = trunc i32 %120 to i8
%122 = call i32 @putchar(i8 signext %121)
%123 = load i8*, i8** %9
%124 = getelementptr inbounds i8, i8* %123, i64 2
%125 = load i8, i8* %124
%126 = zext i8 %125 to i32
%127 = and i32 %126, 63
%128 = add nsw i32 32, %127
store i32 %128, i32* %11
%129 = load i32, i32* %11
%130 = icmp eq i32 %129, 32
br i1 %130, label %131, label %132
131: ; preds = %119
br label %134
132: ; preds = %119
%133 = load i32, i32* %11
br label %134
134: ; preds = %132, %131
%135 = phi i32 [ 96, %131 ], [ %133, %132 ]
%136 = trunc i32 %135 to i8
%137 = call i32 @putchar(i8 signext %136)
br label %138
138: ; preds = %134
%139 = load i32, i32* %10
%140 = sub nsw i32 %139, 3
store i32 %140, i32* %10
%141 = load i8*, i8** %9
%142 = getelementptr inbounds i8, i8* %141, i64 3
store i8* %142, i8** %9
br label %45
143: ; preds = %45
%144 = call i32 @putchar(i8 signext 10)
br label %26
145: ; preds = %26
%146 = load i32*, i32** %4
%147 = call i64 @ferror(i32* %146)
%148 = icmp ne i64 %147, 0
br i1 %148, label %149, label %152
149: ; preds = %145
%150 = load i8*, i8** %6
%151 = call i32 @eprintf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.2, i64 0, i64 0), i8* %150)
br label %152
152: ; preds = %149, %145
%153 = call i32 (i8*, i8, ...) @printf(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.3, i64 0, i64 0), i8 signext 96)
ret void
}

LLVM IR (-O2):
%struct.stat = type { i32 }
@.str = [10 x i8] c"fstat %s:\00"
@.str.1 = [13 x i8] c"begin %o %s\0A\00"
@.str.2 = [17 x i8] c"'%s' read error:\00"
@.str.3 = [8 x i8] c"%c\0Aend\0A\00"
define void @uuencode(i32* nocapture %0, i8* %1, i8* %2) {
%4 = alloca %struct.stat
%5 = alloca [45 x i8]
%6 = bitcast %struct.stat* %4 to i8*
%7 = getelementptr inbounds [45 x i8], [45 x i8]* %5, i64 0, i64 0
%8 = tail call i32 @fileno(i32* %0)
%9 = call i64 @fstat(i32 %8, %struct.stat* %4)
%10 = icmp slt i64 %9, 0
br i1 %10, label %11, label %13
11: ; preds = %3
%12 = tail call i32 @eprintf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str, i64 0, i64 0), i8* %2)
br label %13
13: ; preds = %11, %3
%14 = getelementptr inbounds %struct.stat, %struct.stat* %4, i64 0, i32 0
%15 = load i32, i32* %14
%16 = trunc i32 %15 to i8
%17 = tail call i32 (i8*, i8, ...) @printf(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.1, i64 0, i64 0), i8 signext %16, i8* %1)
%18 = call i32 @fread(i8* %7, i32 1, i32 45, i32* %0)
%19 = icmp eq i32 %18, 0
br i1 %19, label %86, label %20
20: ; preds = %13, %82
%21 = phi i32 [ %84, %82 ], [ %18, %13 ]
%22 = and i32 %21, 63
%23 = icmp eq i32 %22, 0
%24 = trunc i32 %22 to i8
%25 = add nuw nsw i8 %24, 32
%26 = select i1 %23, i8 96, i8 %25
%27 = tail call i32 @putchar(i8 signext %26)
%28 = icmp sgt i32 %21, 0
br i1 %28, label %29, label %82
29: ; preds = %20, %38
%30 = phi i32 [ %79, %38 ], [ %21, %20 ]
%31 = phi i8* [ %80, %38 ], [ %7, %20 ]
%32 = icmp ult i32 %30, 3
br i1 %32, label %33, label %38
33: ; preds = %29
%34 = getelementptr inbounds i8, i8* %31, i64 2
store i8 0, i8* %34
%35 = icmp eq i32 %30, 2
br i1 %35, label %38, label %36
36: ; preds = %33
%37 = getelementptr inbounds i8, i8* %31, i64 1
store i8 0, i8* %37
br label %38
38: ; preds = %33, %36, %29
%39 = load i8, i8* %31
%40 = lshr i8 %39, 2
%41 = add nuw nsw i8 %40, 32
%42 = icmp ult i8 %39, 4
%43 = select i1 %42, i8 96, i8 %41
%44 = tail call i32 @putchar(i8 signext %43)
%45 = load i8, i8* %31
%46 = zext i8 %45 to i32
%47 = shl nuw nsw i32 %46, 4
%48 = getelementptr inbounds i8, i8* %31, i64 1
%49 = load i8, i8* %48
%50 = lshr i8 %49, 4
%51 = zext i8 %50 to i32
%52 = and i32 %47, 48
%53 = or i32 %52, %51
%54 = icmp eq i32 %53, 0
%55 = trunc i32 %53 to i8
%56 = add nuw nsw i8 %55, 32
%57 = select i1 %54, i8 96, i8 %56
%58 = tail call i32 @putchar(i8 signext %57)
%59 = load i8, i8* %48
%60 = zext i8 %59 to i32
%61 = shl nuw nsw i32 %60, 2
%62 = getelementptr inbounds i8, i8* %31, i64 2
%63 = load i8, i8* %62
%64 = lshr i8 %63, 6
%65 = zext i8 %64 to i32
%66 = and i32 %61, 60
%67 = or i32 %66, %65
%68 = icmp eq i32 %67, 0
%69 = trunc i32 %67 to i8
%70 = add nuw nsw i8 %69, 32
%71 = select i1 %68, i8 96, i8 %70
%72 = tail call i32 @putchar(i8 signext %71)
%73 = load i8, i8* %62
%74 = and i8 %73, 63
%75 = add nuw nsw i8 %74, 32
%76 = icmp eq i8 %74, 0
%77 = select i1 %76, i8 96, i8 %75
%78 = tail call i32 @putchar(i8 signext %77)
%79 = add nsw i32 %30, -3
%80 = getelementptr inbounds i8, i8* %31, i64 3
%81 = icmp ugt i32 %30, 3
br i1 %81, label %29, label %82
82: ; preds = %38, %20
%83 = tail call i32 @putchar(i8 signext 10)
%84 = call i32 @fread(i8* %7, i32 1, i32 45, i32* %0)
%85 = icmp eq i32 %84, 0
br i1 %85, label %86, label %20
86: ; preds = %82, %13
%87 = tail call i64 @ferror(i32* %0)
%88 = icmp eq i64 %87, 0
br i1 %88, label %91, label %89
89: ; preds = %86
%90 = tail call i32 @eprintf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.2, i64 0, i64 0), i8* %2)
br label %91
91: ; preds = %89, %86
%92 = tail call i32 (i8*, i8, ...) @printf(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.3, i64 0, i64 0), i8 signext 96)
ret void
}