#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 */
typedef int uint8_t;

/* Variables and functions */
int /*<<< orphan*/ O_RDONLY;
int creat(char *, int);
int /*<<< orphan*/ exit(int);
int /*<<< orphan*/ fprintf(int /*<<< orphan*/, char *, char *);
int getopt(int, char **, char *);
int open(char *, int /*<<< orphan*/);
int optind;
int /*<<< orphan*/ perror(char *);
int /*<<< orphan*/ printf(char *, int, int);
int process_sym_fl(float);
int read(int, float *, int);
int /*<<< orphan*/ stderr;
int /*<<< orphan*/ sym_int2bits(int, int *);
int write(int, int *, int);
int main(int argc, char **argv) {
  int fd, fd_out, opt;
  int opt_verbose = 0;
  while ((opt = getopt(argc, argv, "v")) != -1) {
    switch (opt) {
    case 'v':
      opt_verbose = 1;
      break;
    default:
      exit(2);
    }
  }
  if (argc <= optind + 1) {
    fprintf(stderr, "Usage: %s [-v] <infile> <outfile>\n", argv[0]);
    exit(2);
  }
  fd = open(argv[optind], O_RDONLY);
  if (fd < 0) {
    perror("open infile");
    exit(1);
  }
  fd_out = creat(argv[optind + 1], 0660);
  if (fd_out < 0) {
    perror("open outfile");
    exit(1);
  }
  while (1) {
    int rc;
    float fl[1024];
    uint8_t bits[2 * 1024];
    rc = read(fd, fl, sizeof(*fl) * 1024);
    if (rc < 0) {
      perror("read");
      exit(1);
    } else if (rc == 0) {
      break;
    }
    rc /= sizeof(*fl);
    int i;
    for (i = 0; i < rc; ++i) {
      int sym = process_sym_fl(fl[i]);
      sym_int2bits(sym, bits + i * 2);
      if (opt_verbose) {
        printf("%1u%1u", bits[2 * i + 0], bits[2 * i + 1]);
      }
    }
    rc = write(fd_out, bits, rc * 2);
    if (rc < 0) {
      perror("write");
      exit(1);
    } else if (rc == 0)
      break;
  }
  exit(0);
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x3040,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
movl   $0x0,-0x20(%rbp)
mov    -0x8(%rbp),%edi
mov    -0x10(%rbp),%rsi
lea    0xe22(%rip),%rdx
call   10a0 <getopt@plt>
mov    %eax,-0x1c(%rbp)
cmp    $0xffffffff,%eax
je     121b <main+0x6b>
mov    -0x1c(%rbp),%eax
sub    $0x76,%eax
jne    120c <main+0x5c>
jmp    1200 <main+0x50>
movl   $0x1,-0x20(%rbp)
jmp    1216 <main+0x66>
mov    $0x2,%edi
call   10c0 <exit@plt>
jmp    11d0 <main+0x20>
mov    -0x8(%rbp),%eax
mov    0x2dbb(%rip),%rcx
mov    (%rcx),%ecx
add    $0x1,%ecx
cmp    %ecx,%eax
jg     1258 <main+0xa8>
mov    0x2d97(%rip),%rax
mov    (%rax),%edi
mov    -0x10(%rbp),%rax
mov    (%rax),%rdx
lea    0xdb9(%rip),%rsi
call   1070 <fprintf@plt>
mov    $0x2,%edi
call   10c0 <exit@plt>
mov    -0x10(%rbp),%rax
mov    0x2d7d(%rip),%rcx
movslq (%rcx),%rcx
mov    (%rax,%rcx,8),%rdi
mov    0x2d77(%rip),%rax
mov    (%rax),%esi
call   1080 <open@plt>
mov    %eax,-0x14(%rbp)
cmpl   $0x0,-0x14(%rbp)
jge    129b <main+0xeb>
lea    0xd99(%rip),%rdi
call   1090 <perror@plt>
mov    $0x1,%edi
call   10c0 <exit@plt>
mov    -0x10(%rbp),%rax
mov    0x2d3a(%rip),%rcx
mov    (%rcx),%ecx
add    $0x1,%ecx
movslq %ecx,%rcx
mov    (%rax,%rcx,8),%rdi
mov    $0x1b0,%esi
call   10b0 <creat@plt>
mov    %eax,-0x18(%rbp)
cmpl   $0x0,-0x18(%rbp)
jge    12df <main+0x12f>
lea    0xd61(%rip),%rdi
call   1090 <perror@plt>
mov    $0x1,%edi
call   10c0 <exit@plt>
jmp    12e4 <main+0x134>
mov    -0x14(%rbp),%edi
lea    -0x1030(%rbp),%rsi
mov    $0x1000,%edx
call   1060 <read@plt>
mov    %eax,-0x24(%rbp)
cmpl   $0x0,-0x24(%rbp)
jge    131b <main+0x16b>
lea    0xd32(%rip),%rdi
call   1090 <perror@plt>
mov    $0x1,%edi
call   10c0 <exit@plt>
cmpl   $0x0,-0x24(%rbp)
jne    132a <main+0x17a>
jmp    143c <main+0x28c>
jmp    132f <main+0x17f>
movslq -0x24(%rbp),%rax
shr    $0x2,%rax
mov    %eax,-0x24(%rbp)
movl   $0x0,-0x3034(%rbp)
mov    -0x3034(%rbp),%eax
cmp    -0x24(%rbp),%eax
jge    13eb <main+0x23b>
movslq -0x3034(%rbp),%rax
movss  -0x1030(%rbp,%rax,4),%xmm0
ff ff
call   1030 <process_sym_fl@plt>
mov    %eax,-0x3038(%rbp)
mov    -0x3038(%rbp),%edi
lea    -0x3030(%rbp),%rsi
mov    -0x3034(%rbp),%eax
shl    $0x1,%eax
cltq
shl    $0x2,%rax
add    %rax,%rsi
call   10d0 <sym_int2bits@plt>
cmpl   $0x0,-0x20(%rbp)
je     13d2 <main+0x222>
mov    -0x3034(%rbp),%eax
shl    $0x1,%eax
add    $0x0,%eax
cltq
mov    -0x3030(%rbp,%rax,4),%esi
mov    -0x3034(%rbp),%eax
shl    $0x1,%eax
add    $0x1,%eax
cltq
mov    -0x3030(%rbp,%rax,4),%edx
lea    0xc76(%rip),%rdi
call   1050 <printf@plt>
jmp    13d7 <main+0x227>
mov    -0x3034(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x3034(%rbp)
jmp    1344 <main+0x194>
mov    -0x18(%rbp),%edi
lea    -0x3030(%rbp),%rsi
mov    -0x24(%rbp),%edx
shl    $0x1,%edx
call   1040 <write@plt>
mov    %eax,-0x24(%rbp)
cmpl   $0x0,-0x24(%rbp)
jge    1423 <main+0x273>
lea    0xc36(%rip),%rdi
call   1090 <perror@plt>
mov    $0x1,%edi
call   10c0 <exit@plt>
cmpl   $0x0,-0x24(%rbp)
jne    1432 <main+0x282>
jmp    143c <main+0x28c>
jmp    1437 <main+0x287>
jmp    12e4 <main+0x134>
xor    %edi,%edi
call   10c0 <exit@plt>

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x3018,%rsp
mov    %rsi,%rbx
mov    %edi,%ebp
mov    $0x1,%cl
lea    0xe31(%rip),%r14
nop
mov    %ecx,%r15d
mov    %ebp,%edi
mov    %rbx,%rsi
mov    %r14,%rdx
call   10a0 <getopt@plt>
xor    %ecx,%ecx
cmp    $0x76,%eax
je     11d0 <main+0x20>
cmp    $0xffffffff,%eax
jne    121c <main+0x6c>
mov    0x2ded(%rip),%r14
movslq (%r14),%rax
lea    0x1(%rax),%ecx
cmp    %ebp,%ecx
jge    1226 <main+0x76>
mov    (%rbx,%rax,8),%rdi
mov    0x2de0(%rip),%rax
mov    (%rax),%esi
call   1080 <open@plt>
test   %eax,%eax
jns    1248 <main+0x98>
lea    0xe0b(%rip),%rdi
jmp    1287 <main+0xd7>
mov    $0x2,%edi
call   10c0 <exit@plt>
mov    0x2da3(%rip),%rax
mov    (%rax),%edi
mov    (%rbx),%rdx
lea    0xdc9(%rip),%rsi
call   1070 <fprintf@plt>
mov    $0x2,%edi
call   10c0 <exit@plt>
mov    %eax,%ebp
movslq (%r14),%rax
mov    0x8(%rbx,%rax,8),%rdi
mov    $0x1b0,%esi
call   10b0 <creat@plt>
test   %eax,%eax
jns    1269 <main+0xb9>
lea    0xdca(%rip),%rdi
jmp    1287 <main+0xd7>
mov    %eax,%ebx
lea    0x10(%rsp),%rsi
mov    %ebp,%edi
mov    $0x1000,%edx
call   1060 <read@plt>
test   %eax,%eax
jns    1296 <main+0xe6>
lea    0xdb7(%rip),%rdi
call   1090 <perror@plt>
mov    $0x1,%edi
call   10c0 <exit@plt>
mov    %ebp,0xc(%rsp)
nopw   0x0(%rax,%rax,1)
test   %eax,%eax
je     135c <main+0x1ac>
mov    %eax,%ebp
shr    $0x2,%ebp
cmp    $0x4,%eax
jae    12f0 <main+0x140>
add    %ebp,%ebp
mov    %ebx,%edi
lea    0x1010(%rsp),%rsi
mov    %ebp,%edx
call   1040 <write@plt>
test   %eax,%eax
js     1363 <main+0x1b3>
mov    0xc(%rsp),%ebp
je     135c <main+0x1ac>
mov    %ebp,%edi
lea    0x10(%rsp),%rsi
mov    $0x1000,%edx
call   1060 <read@plt>
test   %eax,%eax
jns    12a0 <main+0xf0>
jmp    1280 <main+0xd0>
xchg   %ax,%ax
cmp    $0x2,%ebp
mov    $0x1,%r12d
cmovae %ebp,%r12d
lea    0x1010(%rsp),%r14
xor    %r13d,%r13d
jmp    131d <main+0x16d>
nopw   0x0(%rax,%rax,1)
add    $0x1,%r13
add    $0x8,%r14
cmp    %r13,%r12
je     12b2 <main+0x102>
movss  0x10(%rsp,%r13,4),%xmm0
call   1030 <process_sym_fl@plt>
mov    %eax,%edi
mov    %r14,%rsi
call   10d0 <sym_int2bits@plt>
test   $0x1,%r15b
jne    1310 <main+0x160>
mov    %r13,%rax
add    %r13,%rax
mov    0x1010(%rsp,%rax,4),%esi
mov    0x1014(%rsp,%r13,8),%edx
lea    0xcee(%rip),%rdi
call   1050 <printf@plt>
jmp    1310 <main+0x160>
xor    %edi,%edi
call   10c0 <exit@plt>
lea    0xce0(%rip),%rdi
jmp    1287 <main+0xd7>

LLVM IR (-O0):
@.str = [2 x i8] c"v\00"
@optind = global i32 0
@stderr = global i32 0
@.str.1 = [35 x i8] c"Usage: %s [-v] <infile> <outfile>\0A\00"
@O_RDONLY = global i32 0
@.str.2 = [12 x i8] c"open infile\00"
@.str.3 = [13 x i8] c"open outfile\00"
@.str.4 = [5 x i8] c"read\00"
@.str.5 = [7 x i8] c"%1u%1u\00"
@.str.6 = [6 x i8] c"write\00"
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
%6 = alloca i32
%7 = alloca i32
%8 = alloca i32
%9 = alloca i32
%10 = alloca i32
%11 = alloca [1024 x float]
%12 = alloca [2048 x i32]
%13 = alloca i32
%14 = alloca i32
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
store i32 0, i32* %9
br label %15
15: ; preds = %25, %2
%16 = load i32, i32* %4
%17 = load i8**, i8*** %5
%18 = call i32 @getopt(i32 %16, i8** %17, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0))
store i32 %18, i32* %8
%19 = icmp ne i32 %18, -1
br i1 %19, label %20, label %26
20: ; preds = %15
%21 = load i32, i32* %8
switch i32 %21, label %23 [
i32 118, label %22
]
22: ; preds = %20
store i32 1, i32* %9
br label %25
23: ; preds = %20
%24 = call i32 @exit(i32 2)
unreachable
25: ; preds = %22
br label %15
26: ; preds = %15
%27 = load i32, i32* %4
%28 = load i32, i32* @optind
%29 = add nsw i32 %28, 1
%30 = icmp sle i32 %27, %29
br i1 %30, label %31, label %38
31: ; preds = %26
%32 = load i32, i32* @stderr
%33 = load i8**, i8*** %5
%34 = getelementptr inbounds i8*, i8** %33, i64 0
%35 = load i8*, i8** %34
%36 = call i32 @fprintf(i32 %32, i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.1, i64 0, i64 0), i8* %35)
%37 = call i32 @exit(i32 2)
unreachable
38: ; preds = %26
%39 = load i8**, i8*** %5
%40 = load i32, i32* @optind
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds i8*, i8** %39, i64 %41
%43 = load i8*, i8** %42
%44 = load i32, i32* @O_RDONLY
%45 = call i32 @open(i8* %43, i32 %44)
store i32 %45, i32* %6
%46 = load i32, i32* %6
%47 = icmp slt i32 %46, 0
br i1 %47, label %48, label %51
48: ; preds = %38
%49 = call i32 @perror(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.2, i64 0, i64 0))
%50 = call i32 @exit(i32 1)
unreachable
51: ; preds = %38
%52 = load i8**, i8*** %5
%53 = load i32, i32* @optind
%54 = add nsw i32 %53, 1
%55 = sext i32 %54 to i64
%56 = getelementptr inbounds i8*, i8** %52, i64 %55
%57 = load i8*, i8** %56
%58 = call i32 @creat(i8* %57, i32 432)
store i32 %58, i32* %7
%59 = load i32, i32* %7
%60 = icmp slt i32 %59, 0
br i1 %60, label %61, label %64
61: ; preds = %51
%62 = call i32 @perror(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.3, i64 0, i64 0))
%63 = call i32 @exit(i32 1)
unreachable
64: ; preds = %51
br label %65
65: ; preds = %64, %137
%66 = load i32, i32* %6
%67 = getelementptr inbounds [1024 x float], [1024 x float]* %11, i64 0, i64 0
%68 = call i32 @read(i32 %66, float* %67, i32 4096)
store i32 %68, i32* %10
%69 = load i32, i32* %10
%70 = icmp slt i32 %69, 0
br i1 %70, label %71, label %74
71: ; preds = %65
%72 = call i32 @perror(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0))
%73 = call i32 @exit(i32 1)
unreachable
74: ; preds = %65
%75 = load i32, i32* %10
%76 = icmp eq i32 %75, 0
br i1 %76, label %77, label %78
77: ; preds = %74
br label %138
78: ; preds = %74
br label %79
79: ; preds = %78
%80 = load i32, i32* %10
%81 = sext i32 %80 to i64
%82 = udiv i64 %81, 4
%83 = trunc i64 %82 to i32
store i32 %83, i32* %10
store i32 0, i32* %13
br label %84
84: ; preds = %118, %79
%85 = load i32, i32* %13
%86 = load i32, i32* %10
%87 = icmp slt i32 %85, %86
br i1 %87, label %88, label %121
88: ; preds = %84
%89 = load i32, i32* %13
%90 = sext i32 %89 to i64
%91 = getelementptr inbounds [1024 x float], [1024 x float]* %11, i64 0, i64 %90
%92 = load float, float* %91
%93 = call i32 @process_sym_fl(float %92)
store i32 %93, i32* %14
%94 = load i32, i32* %14
%95 = getelementptr inbounds [2048 x i32], [2048 x i32]* %12, i64 0, i64 0
%96 = load i32, i32* %13
%97 = mul nsw i32 %96, 2
%98 = sext i32 %97 to i64
%99 = getelementptr inbounds i32, i32* %95, i64 %98
%100 = call i32 @sym_int2bits(i32 %94, i32* %99)
%101 = load i32, i32* %9
%102 = icmp ne i32 %101, 0
br i1 %102, label %103, label %117
103: ; preds = %88
%104 = load i32, i32* %13
%105 = mul nsw i32 2, %104
%106 = add nsw i32 %105, 0
%107 = sext i32 %106 to i64
%108 = getelementptr inbounds [2048 x i32], [2048 x i32]* %12, i64 0, i64 %107
%109 = load i32, i32* %108
%110 = load i32, i32* %13
%111 = mul nsw i32 2, %110
%112 = add nsw i32 %111, 1
%113 = sext i32 %112 to i64
%114 = getelementptr inbounds [2048 x i32], [2048 x i32]* %12, i64 0, i64 %113
%115 = load i32, i32* %114
%116 = call i32 @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.5, i64 0, i64 0), i32 %109, i32 %115)
br label %117
117: ; preds = %103, %88
br label %118
118: ; preds = %117
%119 = load i32, i32* %13
%120 = add nsw i32 %119, 1
store i32 %120, i32* %13
br label %84
121: ; preds = %84
%122 = load i32, i32* %7
%123 = getelementptr inbounds [2048 x i32], [2048 x i32]* %12, i64 0, i64 0
%124 = load i32, i32* %10
%125 = mul nsw i32 %124, 2
%126 = call i32 @write(i32 %122, i32* %123, i32 %125)
store i32 %126, i32* %10
%127 = load i32, i32* %10
%128 = icmp slt i32 %127, 0
br i1 %128, label %129, label %132
129: ; preds = %121
%130 = call i32 @perror(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.6, i64 0, i64 0))
%131 = call i32 @exit(i32 1)
unreachable
132: ; preds = %121
%133 = load i32, i32* %10
%134 = icmp eq i32 %133, 0
br i1 %134, label %135, label %136
135: ; preds = %132
br label %138
136: ; preds = %132
br label %137
137: ; preds = %136
br label %65
138: ; preds = %135, %77
%139 = call i32 @exit(i32 0)
unreachable
}

LLVM IR (-O2):
@.str = [2 x i8] c"v\00"
@optind = global i32 0
@stderr = global i32 0
@.str.1 = [35 x i8] c"Usage: %s [-v] <infile> <outfile>\0A\00"
@O_RDONLY = global i32 0
@.str.2 = [12 x i8] c"open infile\00"
@.str.3 = [13 x i8] c"open outfile\00"
@.str.4 = [5 x i8] c"read\00"
@.str.5 = [7 x i8] c"%1u%1u\00"
@.str.6 = [6 x i8] c"write\00"
define i32 @main(i32 %0, i8** %1) {
%3 = alloca [1024 x float]
%4 = alloca [2048 x i32]
br label %5
5: ; preds = %5, %2
%6 = phi i1 [ true, %2 ], [ false, %5 ]
%7 = tail call i32 @getopt(i32 %0, i8** %1, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0))
switch i32 %7, label %8 [
i32 -1, label %10
i32 118, label %5
]
8: ; preds = %5
%9 = tail call i32 @exit(i32 2)
unreachable
10: ; preds = %5
%11 = load i32, i32* @optind
%12 = add nsw i32 %11, 1
%13 = icmp slt i32 %12, %0
br i1 %13, label %19, label %14
14: ; preds = %10
%15 = load i32, i32* @stderr
%16 = load i8*, i8** %1
%17 = tail call i32 @fprintf(i32 %15, i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.1, i64 0, i64 0), i8* %16)
%18 = tail call i32 @exit(i32 2)
unreachable
19: ; preds = %10
%20 = sext i32 %11 to i64
%21 = getelementptr inbounds i8*, i8** %1, i64 %20
%22 = load i8*, i8** %21
%23 = load i32, i32* @O_RDONLY
%24 = tail call i32 @open(i8* %22, i32 %23)
%25 = icmp slt i32 %24, 0
br i1 %25, label %26, label %29
26: ; preds = %19
%27 = tail call i32 @perror(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.2, i64 0, i64 0))
%28 = tail call i32 @exit(i32 1)
unreachable
29: ; preds = %19
%30 = load i32, i32* @optind
%31 = add nsw i32 %30, 1
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds i8*, i8** %1, i64 %32
%34 = load i8*, i8** %33
%35 = tail call i32 @creat(i8* %34, i32 432)
%36 = icmp slt i32 %35, 0
br i1 %36, label %45, label %37
37: ; preds = %29
%38 = bitcast [1024 x float]* %3 to i8*
%39 = bitcast [2048 x i32]* %4 to i8*
%40 = getelementptr inbounds [1024 x float], [1024 x float]* %3, i64 0, i64 0
%41 = call i32 @read(i32 %24, float* %40, i32 4096)
%42 = icmp slt i32 %41, 0
br i1 %42, label %48, label %43
43: ; preds = %37
%44 = getelementptr inbounds [2048 x i32], [2048 x i32]* %4, i64 0, i64 0
br label %51
45: ; preds = %29
%46 = tail call i32 @perror(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.3, i64 0, i64 0))
%47 = tail call i32 @exit(i32 1)
unreachable
48: ; preds = %86, %37
%49 = call i32 @perror(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0))
%50 = call i32 @exit(i32 1)
unreachable
51: ; preds = %43, %86
%52 = phi i32 [ %41, %43 ], [ %87, %86 ]
%53 = icmp eq i32 %52, 0
br i1 %53, label %89, label %54
54: ; preds = %51
%55 = lshr i32 %52, 2
%56 = icmp ult i32 %52, 4
br i1 %56, label %77, label %57
57: ; preds = %54
%58 = call i32 @llvm.umax.i32(i32 %55, i32 1)
%59 = zext i32 %58 to i64
br label %60
60: ; preds = %57, %74
%61 = phi i64 [ 0, %57 ], [ %75, %74 ]
%62 = getelementptr inbounds [1024 x float], [1024 x float]* %3, i64 0, i64 %61
%63 = load float, float* %62
%64 = call i32 @process_sym_fl(float %63)
%65 = shl nuw nsw i64 %61, 1
%66 = getelementptr inbounds [2048 x i32], [2048 x i32]* %4, i64 0, i64 %65
%67 = call i32 @sym_int2bits(i32 %64, i32* %66)
br i1 %6, label %74, label %68
68: ; preds = %60
%69 = load i32, i32* %66
%70 = or i64 %65, 1
%71 = getelementptr inbounds [2048 x i32], [2048 x i32]* %4, i64 0, i64 %70
%72 = load i32, i32* %71
%73 = call i32 @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.5, i64 0, i64 0), i32 %69, i32 %72)
br label %74
74: ; preds = %68, %60
%75 = add nuw nsw i64 %61, 1
%76 = icmp eq i64 %75, %59
br i1 %76, label %77, label %60
77: ; preds = %74, %54
%78 = shl nuw nsw i32 %55, 1
%79 = call i32 @write(i32 %35, i32* %44, i32 %78)
%80 = icmp slt i32 %79, 0
br i1 %80, label %81, label %84
81: ; preds = %77
%82 = call i32 @perror(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.6, i64 0, i64 0))
%83 = call i32 @exit(i32 1)
unreachable
84: ; preds = %77
%85 = icmp eq i32 %79, 0
br i1 %85, label %89, label %86
86: ; preds = %84
%87 = call i32 @read(i32 %24, float* %40, i32 4096)
%88 = icmp slt i32 %87, 0
br i1 %88, label %48, label %51
89: ; preds = %84, %51
%90 = call i32 @exit(i32 0)
unreachable
}