#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 file_data {
  int dummy;
};

/* Variables and functions */
int /*<<< orphan*/ free(char *);
int /*<<< orphan*/ printf(char *, ...);
int read_data_sequential(struct file_data *, char **, char **, char **,
                         char **);
int strlen(char *);
int print_file(struct file_data *filed, int only_fasta, int only_qual,
               int only_extras) {
  char *sname = NULL;
  char *fasta = NULL;
  char *qual = NULL;
  char *extras = NULL;
  int len = 0;
  int i = 0;
  int res = 0;
  while ((res = read_data_sequential(filed, &sname, &fasta, &qual, &extras)) ==
         0) {
    if (only_fasta) {
      printf(">%s %s\n", sname, extras);
      len = strlen(fasta);
      i = 0;
      for (i = 0; i < len; i += 70) {
        printf("%.70s\n", fasta + i);
      }
    } else if (only_qual) {
      printf(">%s %s\n", sname, extras);
      if (qual != NULL) {
        len = strlen(qual);
        i = 0;
        for (i = 0; i < len; i++) {
          printf("%02d ", qual[i] - 33);
          if (((i + 1) % 30 == 0) || (i == len - 1))
            printf("\n");
        }
      }
    } else if (only_extras) {
      printf(">%s %s\n", sname, extras);
      if (extras != NULL)
        printf("%s\n", extras);
    } else {
      printf("@%s %s\n%s\n", sname, extras, fasta);
      printf("+\n%s\n", qual);
    }
    if (fasta != NULL) {
      free(fasta);
      fasta = NULL;
    }
    if (qual != NULL) {
      free(qual);
      qual = NULL;
    }
    if (extras != NULL) {
      free(extras);
      extras = NULL;
    }
  }
  return res;
}


x86 assembly (clang, -O0):
<print_file>:
push   %rbp
mov    %rsp,%rbp
sub    $0x50,%rsp
mov    %rdi,-0x8(%rbp)
mov    %esi,-0xc(%rbp)
mov    %edx,-0x10(%rbp)
mov    %ecx,-0x14(%rbp)
movq   $0x0,-0x20(%rbp)
movq   $0x0,-0x28(%rbp)
movq   $0x0,-0x30(%rbp)
movq   $0x0,-0x38(%rbp)
movl   $0x0,-0x3c(%rbp)
movl   $0x0,-0x40(%rbp)
movl   $0x0,-0x44(%rbp)
mov    -0x8(%rbp),%rdi
lea    -0x20(%rbp),%rsi
lea    -0x28(%rbp),%rdx
lea    -0x30(%rbp),%rcx
lea    -0x38(%rbp),%r8
call   1060 <read_data_sequential@plt>
mov    %eax,-0x44(%rbp)
cmp    $0x0,%eax
jne    13b3 <print_file+0x273>
cmpl   $0x0,-0xc(%rbp)
je     1221 <print_file+0xe1>
mov    -0x20(%rbp),%rsi
mov    -0x38(%rbp),%rdx
lea    0xe38(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    -0x28(%rbp),%rdi
call   1040 <strlen@plt>
mov    %eax,-0x3c(%rbp)
movl   $0x0,-0x40(%rbp)
movl   $0x0,-0x40(%rbp)
mov    -0x40(%rbp),%eax
cmp    -0x3c(%rbp),%eax
jge    121c <print_file+0xdc>
mov    -0x28(%rbp),%rsi
movslq -0x40(%rbp),%rax
add    %rax,%rsi
lea    0xe01(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    -0x40(%rbp),%eax
add    $0x46,%eax
mov    %eax,-0x40(%rbp)
jmp    11e9 <print_file+0xa9>
jmp    135a <print_file+0x21a>
cmpl   $0x0,-0x10(%rbp)
je     12e2 <print_file+0x1a2>
mov    -0x20(%rbp),%rsi
mov    -0x38(%rbp),%rdx
lea    0xdc6(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
cmpq   $0x0,-0x30(%rbp)
je     12dd <print_file+0x19d>
mov    -0x30(%rbp),%rdi
call   1040 <strlen@plt>
mov    %eax,-0x3c(%rbp)
movl   $0x0,-0x40(%rbp)
movl   $0x0,-0x40(%rbp)
mov    -0x40(%rbp),%eax
cmp    -0x3c(%rbp),%eax
jge    12d8 <print_file+0x198>
mov    -0x30(%rbp),%rax
movslq -0x40(%rbp),%rcx
movsbl (%rax,%rcx,1),%esi
sub    $0x21,%esi
lea    0xd87(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    -0x40(%rbp),%eax
add    $0x1,%eax
mov    $0x1e,%ecx
cltd
idiv   %ecx
cmp    $0x0,%edx
je     12b7 <print_file+0x177>
mov    -0x40(%rbp),%eax
mov    -0x3c(%rbp),%ecx
sub    $0x1,%ecx
cmp    %ecx,%eax
jne    12c5 <print_file+0x185>
lea    0xd66(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
jmp    12ca <print_file+0x18a>
mov    -0x40(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x40(%rbp)
jmp    1266 <print_file+0x126>
jmp    12dd <print_file+0x19d>
jmp    1355 <print_file+0x215>
cmpl   $0x0,-0x14(%rbp)
je     1324 <print_file+0x1e4>
mov    -0x20(%rbp),%rsi
mov    -0x38(%rbp),%rdx
lea    0xd05(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
cmpq   $0x0,-0x38(%rbp)
je     131f <print_file+0x1df>
mov    -0x38(%rbp),%rsi
lea    0xd0a(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
jmp    1350 <print_file+0x210>
mov    -0x20(%rbp),%rsi
mov    -0x38(%rbp),%rdx
mov    -0x28(%rbp),%rcx
lea    0xcde(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    -0x30(%rbp),%rsi
lea    0xcd7(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
jmp    1355 <print_file+0x215>
jmp    135a <print_file+0x21a>
cmpq   $0x0,-0x28(%rbp)
je     1376 <print_file+0x236>
mov    -0x28(%rbp),%rdi
call   1030 <free@plt>
movq   $0x0,-0x28(%rbp)
cmpq   $0x0,-0x30(%rbp)
je     1392 <print_file+0x252>
mov    -0x30(%rbp),%rdi
call   1030 <free@plt>
movq   $0x0,-0x30(%rbp)
cmpq   $0x0,-0x38(%rbp)
je     13ae <print_file+0x26e>
mov    -0x38(%rbp),%rdi
call   1030 <free@plt>
movq   $0x0,-0x38(%rbp)
jmp    118a <print_file+0x4a>
mov    -0x44(%rbp),%eax
add    $0x50,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<print_file>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x48,%rsp
mov    %ecx,%r12d
mov    %edx,%r14d
mov    %esi,%r13d
mov    %rdi,%r15
movq   $0x0,0x20(%rsp)
movq   $0x0,0x10(%rsp)
movq   $0x0,0x8(%rsp)
movq   $0x0,0x18(%rsp)
lea    0x20(%rsp),%rsi
lea    0x10(%rsp),%rdx
lea    0x8(%rsp),%rcx
lea    0x18(%rsp),%r8
call   1080 <read_data_sequential@plt>
test   %eax,%eax
je     11ca <print_file+0x6a>
add    $0x48,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret
mov    %r14d,0x2c(%rsp)
lea    0xe32(%rip),%rbp
mov    %r12d,0x34(%rsp)
mov    %r13d,0x30(%rsp)
mov    %r15,0x38(%rsp)
jmp    1210 <print_file+0xb0>
nopw   0x0(%rax,%rax,1)
mov    %rbx,%rdi
lea    0x20(%rsp),%rsi
lea    0x10(%rsp),%rdx
lea    0x8(%rsp),%rcx
lea    0x18(%rsp),%r8
call   1080 <read_data_sequential@plt>
test   %eax,%eax
jne    11bb <print_file+0x5b>
mov    0x20(%rsp),%rsi
mov    0x18(%rsp),%rdx
test   %r13d,%r13d
je     12d0 <print_file+0x170>
lea    0xdd6(%rip),%rdi
xor    %eax,%eax
call   1070 <printf@plt>
mov    0x10(%rsp),%rdi
call   1060 <strlen@plt>
test   %eax,%eax
jle    126b <print_file+0x10b>
mov    %eax,%r12d
xor    %ebx,%ebx
cs nopw 0x0(%rax,%rax,1)
xchg   %ax,%ax
mov    0x10(%rsp),%rsi
add    %rbx,%rsi
mov    %rbp,%rdi
xor    %eax,%eax
call   1070 <printf@plt>
add    $0x46,%rbx
cmp    %ebx,%r12d
jg     1250 <print_file+0xf0>
mov    0x10(%rsp),%rdi
test   %rdi,%rdi
je     1283 <print_file+0x123>
call   1030 <free@plt>
movq   $0x0,0x10(%rsp)
mov    0x8(%rsp),%rdi
test   %rdi,%rdi
mov    0x38(%rsp),%rbx
je     12a0 <print_file+0x140>
call   1030 <free@plt>
movq   $0x0,0x8(%rsp)
mov    0x18(%rsp),%rdi
test   %rdi,%rdi
mov    0x34(%rsp),%r12d
mov    0x30(%rsp),%r13d
je     11f0 <print_file+0x90>
call   1030 <free@plt>
movq   $0x0,0x18(%rsp)
jmp    11f0 <print_file+0x90>
nopl   0x0(%rax,%rax,1)
cmpl   $0x0,0x2c(%rsp)
je     1385 <print_file+0x225>
lea    0xd1e(%rip),%rdi
xor    %eax,%eax
call   1070 <printf@plt>
mov    0x8(%rsp),%rdi
test   %rdi,%rdi
je     126b <print_file+0x10b>
call   1060 <strlen@plt>
test   %eax,%eax
jle    126b <print_file+0x10b>
lea    -0x1(%rax),%ecx
mov    %rcx,0x40(%rsp)
mov    %eax,%r12d
mov    $0x1,%ebx
xor    %r14d,%r14d
jmp    1339 <print_file+0x1d9>
nopl   0x0(%rax)
mov    $0xa,%edi
call   1040 <putchar@plt>
add    $0x1,%ebx
mov    %r13,%r14
cmp    %r13,%r12
je     126b <print_file+0x10b>
mov    %ebx,%r15d
mov    $0x88888889,%eax
imul   %rax,%r15
shr    $0x24,%r15
mov    %r15d,%eax
shl    $0x5,%eax
sub    %r15d,%eax
not    %r15d
add    %eax,%r15d
mov    0x8(%rsp),%rax
movsbl (%rax,%r14,1),%esi
add    $0xffffffdf,%esi
lea    0xca3(%rip),%rdi
xor    %eax,%eax
call   1070 <printf@plt>
lea    0x1(%r14),%r13
cmp    %r14d,%r15d
je     1320 <print_file+0x1c0>
cmp    %r14,0x40(%rsp)
jne    132a <print_file+0x1ca>
jmp    1320 <print_file+0x1c0>
test   %r12d,%r12d
je     13b0 <print_file+0x250>
lea    0xc6f(%rip),%rdi
xor    %eax,%eax
call   1070 <printf@plt>
mov    0x18(%rsp),%rdi
test   %rdi,%rdi
je     126b <print_file+0x10b>
call   1050 <puts@plt>
jmp    126b <print_file+0x10b>
mov    0x10(%rsp),%rcx
lea    0xc59(%rip),%rdi
xor    %eax,%eax
call   1070 <printf@plt>
mov    0x8(%rsp),%rsi
lea    0xc51(%rip),%rdi
xor    %eax,%eax
call   1070 <printf@plt>
jmp    126b <print_file+0x10b>

LLVM IR (-O0):
%struct.file_data = type { i32 }
@.str = [8 x i8] c">%s %s\0A\00"
@.str.1 = [7 x i8] c"%.70s\0A\00"
@.str.2 = [6 x i8] c"%02d \00"
@.str.3 = [2 x i8] c"\0A\00"
@.str.4 = [4 x i8] c"%s\0A\00"
@.str.5 = [11 x i8] c"@%s %s\0A%s\0A\00"
@.str.6 = [6 x i8] c"+\0A%s\0A\00"
define i32 @print_file(%struct.file_data* %0, i32 %1, i32 %2, i32 %3) {
%5 = alloca %struct.file_data*
%6 = alloca i32
%7 = alloca i32
%8 = alloca i32
%9 = alloca i8*
%10 = alloca i8*
%11 = alloca i8*
%12 = alloca i8*
%13 = alloca i32
%14 = alloca i32
%15 = alloca i32
store %struct.file_data* %0, %struct.file_data** %5
store i32 %1, i32* %6
store i32 %2, i32* %7
store i32 %3, i32* %8
store i8* null, i8** %9
store i8* null, i8** %10
store i8* null, i8** %11
store i8* null, i8** %12
store i32 0, i32* %13
store i32 0, i32* %14
store i32 0, i32* %15
br label %16
16: ; preds = %125, %4
%17 = load %struct.file_data*, %struct.file_data** %5
%18 = call i32 @read_data_sequential(%struct.file_data* %17, i8** %9, i8** %10, i8** %11, i8** %12)
store i32 %18, i32* %15
%19 = icmp eq i32 %18, 0
br i1 %19, label %20, label %126
20: ; preds = %16
%21 = load i32, i32* %6
%22 = icmp ne i32 %21, 0
br i1 %22, label %23, label %43
23: ; preds = %20
%24 = load i8*, i8** %9
%25 = load i8*, i8** %12
%26 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0), i8* %24, i8* %25)
%27 = load i8*, i8** %10
%28 = call i32 @strlen(i8* %27)
store i32 %28, i32* %13
store i32 0, i32* %14
store i32 0, i32* %14
br label %29
29: ; preds = %39, %23
%30 = load i32, i32* %14
%31 = load i32, i32* %13
%32 = icmp slt i32 %30, %31
br i1 %32, label %33, label %42
33: ; preds = %29
%34 = load i8*, i8** %10
%35 = load i32, i32* %14
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds i8, i8* %34, i64 %36
%38 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.1, i64 0, i64 0), i8* %37)
br label %39
39: ; preds = %33
%40 = load i32, i32* %14
%41 = add nsw i32 %40, 70
store i32 %41, i32* %14
br label %29
42: ; preds = %29
br label %107
43: ; preds = %20
%44 = load i32, i32* %7
%45 = icmp ne i32 %44, 0
br i1 %45, label %46, label %85
46: ; preds = %43
%47 = load i8*, i8** %9
%48 = load i8*, i8** %12
%49 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0), i8* %47, i8* %48)
%50 = load i8*, i8** %11
%51 = icmp ne i8* %50, null
br i1 %51, label %52, label %84
52: ; preds = %46
%53 = load i8*, i8** %11
%54 = call i32 @strlen(i8* %53)
store i32 %54, i32* %13
store i32 0, i32* %14
store i32 0, i32* %14
br label %55
55: ; preds = %80, %52
%56 = load i32, i32* %14
%57 = load i32, i32* %13
%58 = icmp slt i32 %56, %57
br i1 %58, label %59, label %83
59: ; preds = %55
%60 = load i8*, i8** %11
%61 = load i32, i32* %14
%62 = sext i32 %61 to i64
%63 = getelementptr inbounds i8, i8* %60, i64 %62
%64 = load i8, i8* %63
%65 = sext i8 %64 to i32
%66 = sub nsw i32 %65, 33
%67 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.2, i64 0, i64 0), i32 %66)
%68 = load i32, i32* %14
%69 = add nsw i32 %68, 1
%70 = srem i32 %69, 30
%71 = icmp eq i32 %70, 0
br i1 %71, label %77, label %72
72: ; preds = %59
%73 = load i32, i32* %14
%74 = load i32, i32* %13
%75 = sub nsw i32 %74, 1
%76 = icmp eq i32 %73, %75
br i1 %76, label %77, label %79
77: ; preds = %72, %59
%78 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0))
br label %79
79: ; preds = %77, %72
br label %80
80: ; preds = %79
%81 = load i32, i32* %14
%82 = add nsw i32 %81, 1
store i32 %82, i32* %14
br label %55
83: ; preds = %55
br label %84
84: ; preds = %83, %46
br label %106
85: ; preds = %43
%86 = load i32, i32* %8
%87 = icmp ne i32 %86, 0
br i1 %87, label %88, label %98
88: ; preds = %85
%89 = load i8*, i8** %9
%90 = load i8*, i8** %12
%91 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0), i8* %89, i8* %90)
%92 = load i8*, i8** %12
%93 = icmp ne i8* %92, null
br i1 %93, label %94, label %97
94: ; preds = %88
%95 = load i8*, i8** %12
%96 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.4, i64 0, i64 0), i8* %95)
br label %97
97: ; preds = %94, %88
br label %105
98: ; preds = %85
%99 = load i8*, i8** %9
%100 = load i8*, i8** %12
%101 = load i8*, i8** %10
%102 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.5, i64 0, i64 0), i8* %99, i8* %100, i8* %101)
%103 = load i8*, i8** %11
%104 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.6, i64 0, i64 0), i8* %103)
br label %105
105: ; preds = %98, %97
br label %106
106: ; preds = %105, %84
br label %107
107: ; preds = %106, %42
%108 = load i8*, i8** %10
%109 = icmp ne i8* %108, null
br i1 %109, label %110, label %113
110: ; preds = %107
%111 = load i8*, i8** %10
%112 = call i32 @free(i8* %111)
store i8* null, i8** %10
br label %113
113: ; preds = %110, %107
%114 = load i8*, i8** %11
%115 = icmp ne i8* %114, null
br i1 %115, label %116, label %119
116: ; preds = %113
%117 = load i8*, i8** %11
%118 = call i32 @free(i8* %117)
store i8* null, i8** %11
br label %119
119: ; preds = %116, %113
%120 = load i8*, i8** %12
%121 = icmp ne i8* %120, null
br i1 %121, label %122, label %125
122: ; preds = %119
%123 = load i8*, i8** %12
%124 = call i32 @free(i8* %123)
store i8* null, i8** %12
br label %125
125: ; preds = %122, %119
br label %16
126: ; preds = %16
%127 = load i32, i32* %15
ret i32 %127
}

LLVM IR (-O2):
%struct.file_data = type { i32 }
@.str = [8 x i8] c">%s %s\0A\00"
@.str.1 = [7 x i8] c"%.70s\0A\00"
@.str.2 = [6 x i8] c"%02d \00"
@.str.5 = [11 x i8] c"@%s %s\0A%s\0A\00"
@.str.6 = [6 x i8] c"+\0A%s\0A\00"
define i32 @print_file(%struct.file_data* %0, i32 %1, i32 %2, i32 %3) {
%5 = alloca i8*
%6 = alloca i8*
%7 = alloca i8*
%8 = alloca i8*
%9 = bitcast i8** %5 to i8*
store i8* null, i8** %5
%10 = bitcast i8** %6 to i8*
store i8* null, i8** %6
%11 = bitcast i8** %7 to i8*
store i8* null, i8** %7
%12 = bitcast i8** %8 to i8*
store i8* null, i8** %8
%13 = call i32 @read_data_sequential(%struct.file_data* %0, i8** %5, i8** %6, i8** %7, i8** %8)
%14 = icmp eq i32 %13, 0
br i1 %14, label %15, label %95
15: ; preds = %4
%16 = icmp eq i32 %1, 0
%17 = icmp eq i32 %2, 0
%18 = icmp eq i32 %3, 0
br label %19
19: ; preds = %15, %92
%20 = load i8*, i8** %5
%21 = load i8*, i8** %8
br i1 %16, label %35, label %22
22: ; preds = %19
%23 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0), i8* %20, i8* %21)
%24 = load i8*, i8** %6
%25 = call i32 @strlen(i8* %24)
%26 = icmp sgt i32 %25, 0
br i1 %26, label %27, label %77
27: ; preds = %22, %27
%28 = phi i64 [ %32, %27 ], [ 0, %22 ]
%29 = load i8*, i8** %6
%30 = getelementptr inbounds i8, i8* %29, i64 %28
%31 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @.str.1, i64 0, i64 0), i8* %30)
%32 = add nuw i64 %28, 70
%33 = trunc i64 %32 to i32
%34 = icmp sgt i32 %25, %33
br i1 %34, label %27, label %77
35: ; preds = %19
br i1 %17, label %65, label %36
36: ; preds = %35
%37 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0), i8* %20, i8* %21)
%38 = load i8*, i8** %7
%39 = icmp eq i8* %38, null
br i1 %39, label %77, label %40
40: ; preds = %36
%41 = call i32 @strlen(i8* %38)
%42 = icmp sgt i32 %41, 0
br i1 %42, label %43, label %77
43: ; preds = %40
%44 = add nsw i32 %41, -1
%45 = zext i32 %44 to i64
%46 = zext i32 %41 to i64
br label %47
47: ; preds = %43, %63
%48 = phi i64 [ 0, %43 ], [ %55, %63 ]
%49 = load i8*, i8** %7
%50 = getelementptr inbounds i8, i8* %49, i64 %48
%51 = load i8, i8* %50
%52 = sext i8 %51 to i32
%53 = add nsw i32 %52, -33
%54 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.2, i64 0, i64 0), i32 %53)
%55 = add nuw nsw i64 %48, 1
%56 = trunc i64 %55 to i32
%57 = urem i32 %56, 30
%58 = icmp eq i32 %57, 0
%59 = icmp eq i64 %48, %45
%60 = select i1 %58, i1 true, i1 %59
br i1 %60, label %61, label %63
61: ; preds = %47
%62 = call i32 @putchar(i32 10)
br label %63
63: ; preds = %47, %61
%64 = icmp eq i64 %55, %46
br i1 %64, label %77, label %47
65: ; preds = %35
br i1 %18, label %72, label %66
66: ; preds = %65
%67 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0), i8* %20, i8* %21)
%68 = load i8*, i8** %8
%69 = icmp eq i8* %68, null
br i1 %69, label %77, label %70
70: ; preds = %66
%71 = call i32 @puts(i8* %68)
br label %77
72: ; preds = %65
%73 = load i8*, i8** %6
%74 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @.str.5, i64 0, i64 0), i8* %20, i8* %21, i8* %73)
%75 = load i8*, i8** %7
%76 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.6, i64 0, i64 0), i8* %75)
br label %77
77: ; preds = %27, %63, %22, %40, %36, %66, %70, %72
%78 = load i8*, i8** %6
%79 = icmp eq i8* %78, null
br i1 %79, label %82, label %80
80: ; preds = %77
%81 = call i32 @free(i8* %78)
store i8* null, i8** %6
br label %82
82: ; preds = %80, %77
%83 = load i8*, i8** %7
%84 = icmp eq i8* %83, null
br i1 %84, label %87, label %85
85: ; preds = %82
%86 = call i32 @free(i8* %83)
store i8* null, i8** %7
br label %87
87: ; preds = %85, %82
%88 = load i8*, i8** %8
%89 = icmp eq i8* %88, null
br i1 %89, label %92, label %90
90: ; preds = %87
%91 = call i32 @free(i8* %88)
store i8* null, i8** %8
br label %92
92: ; preds = %90, %87
%93 = call i32 @read_data_sequential(%struct.file_data* %0, i8** %5, i8** %6, i8** %7, i8** %8)
%94 = icmp eq i32 %93, 0
br i1 %94, label %19, label %95
95: ; preds = %92, %4
%96 = phi i32 [ %13, %4 ], [ %93, %92 ]
ret i32 %96
}