#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 /*<<< orphan*/ FILE;

/* Variables and functions */
int /*<<< orphan*/ exit(int /*<<< orphan*/);
int /*<<< orphan*/ *fgets(char *, int, int /*<<< orphan*/ *);
int /*<<< orphan*/ *fopen(char *, char *);
int /*<<< orphan*/ memset(char *, int /*<<< orphan*/, int);
int /*<<< orphan*/ printf(char *, ...);
int main(int argc, char *argv[]) {
  int ret = 0;
  char line[256] = {0};
  int nr_rows = 0;
  int page = 0;
  FILE *f = NULL;
  printf("\nThis program prints the files given at command line at stdout, \n "
         "starting each new one on a new page, with a page and a running count "
         "\n for each file.");
  if (argc == 1) {
    printf("\nerror: Correct usage\n\t./exec_file f1 f2 ... fn");
    exit(0);
  }
  while (argc-- > 1) {
    if ((f = fopen(argv[argc], "r")) == NULL) {
      printf("\nerror: Couldn't open file: %s", argv[argc]);
      continue;
    }
    if (nr_rows)
      while ((++nr_rows % 28))
        printf("\n");
    if (page)
      printf("\n\n%d\n\n\n", ++page);
    printf("\n\t\t\t\t\tTitle: %s\n\n", argv[argc]);
    page = 0;
    memset(line, 0, 256);
    while (fgets(line, 256, f) != NULL) {
      printf("\n\t%s", line);
      memset(line, 0, 256);
      if (!(++nr_rows % 28))
        printf("\n\n%d\n\n\n", ++page);
    }
  }
  if (nr_rows)
    while ((++nr_rows % 28))
      printf("\n");
  if (page)
    printf("\n\n%d\n\n\n", ++page);
  return ret;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x130,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
movl   $0x0,-0x14(%rbp)
lea    -0x120(%rbp),%rdi
xor    %esi,%esi
mov    $0x100,%edx
call   1040 <memset@plt>
movl   $0x0,-0x124(%rbp)
movl   $0x0,-0x128(%rbp)
movq   $0x0,-0x130(%rbp)
lea    0xe57(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
cmpl   $0x1,-0x8(%rbp)
jne    11cf <main+0x7f>
lea    0xed7(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
xor    %edi,%edi
call   1070 <exit@plt>
jmp    11d4 <main+0x84>
mov    -0x8(%rbp),%eax
mov    %eax,%ecx
add    $0xffffffff,%ecx
mov    %ecx,-0x8(%rbp)
cmp    $0x1,%eax
jle    136c <main+0x21c>
mov    -0x10(%rbp),%rax
movslq -0x8(%rbp),%rcx
mov    (%rax,%rcx,8),%rdi
lea    0xecd(%rip),%rsi
call   1060 <fopen@plt>
mov    %rax,-0x130(%rbp)
cmp    $0x0,%rax
jne    1230 <main+0xe0>
mov    -0x10(%rbp),%rax
movslq -0x8(%rbp),%rcx
mov    (%rax,%rcx,8),%rsi
lea    0xea6(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    11d4 <main+0x84>
cmpl   $0x0,-0x124(%rbp)
je     127a <main+0x12a>
jmp    1242 <main+0xf2>
mov    -0x124(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x124(%rbp)
mov    $0x1c,%ecx
cltd
idiv   %ecx
cmp    $0x0,%edx
je     1275 <main+0x125>
lea    0xe86(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    1242 <main+0xf2>
jmp    127a <main+0x12a>
cmpl   $0x0,-0x128(%rbp)
je     12a4 <main+0x154>
mov    -0x128(%rbp),%esi
add    $0x1,%esi
mov    %esi,-0x128(%rbp)
lea    0xe4c(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x10(%rbp),%rax
movslq -0x8(%rbp),%rcx
mov    (%rax,%rcx,8),%rsi
lea    0xe3a(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x128(%rbp)
lea    -0x120(%rbp),%rdi
xor    %esi,%esi
mov    $0x100,%edx
call   1040 <memset@plt>
lea    -0x120(%rbp),%rdi
mov    -0x130(%rbp),%rdx
mov    $0x100,%esi
call   1050 <fgets@plt>
cmp    $0x0,%rax
je     1367 <main+0x217>
lea    -0x120(%rbp),%rsi
lea    0xdf8(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    -0x120(%rbp),%rdi
xor    %esi,%esi
mov    $0x100,%edx
call   1040 <memset@plt>
mov    -0x124(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x124(%rbp)
mov    $0x1c,%ecx
cltd
idiv   %ecx
cmp    $0x0,%edx
jne    1362 <main+0x212>
mov    -0x128(%rbp),%esi
add    $0x1,%esi
mov    %esi,-0x128(%rbp)
lea    0xd8e(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    12db <main+0x18b>
jmp    11d4 <main+0x84>
cmpl   $0x0,-0x124(%rbp)
je     13b6 <main+0x266>
jmp    137e <main+0x22e>
mov    -0x124(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x124(%rbp)
mov    $0x1c,%ecx
cltd
idiv   %ecx
cmp    $0x0,%edx
je     13b1 <main+0x261>
lea    0xd4a(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    137e <main+0x22e>
jmp    13b6 <main+0x266>
cmpl   $0x0,-0x128(%rbp)
je     13e0 <main+0x290>
mov    -0x128(%rbp),%esi
add    $0x1,%esi
mov    %esi,-0x128(%rbp)
lea    0xd10(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x14(%rbp),%eax
add    $0x130,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x118,%rsp
mov    %rsi,%r13
mov    %edi,%r14d
xorps  %xmm0,%xmm0
movaps %xmm0,0x100(%rsp)
movaps %xmm0,0xf0(%rsp)
movaps %xmm0,0xe0(%rsp)
movaps %xmm0,0xd0(%rsp)
movaps %xmm0,0xc0(%rsp)
movaps %xmm0,0xb0(%rsp)
movaps %xmm0,0xa0(%rsp)
movaps %xmm0,0x90(%rsp)
movaps %xmm0,0x80(%rsp)
movaps %xmm0,0x70(%rsp)
movaps %xmm0,0x60(%rsp)
movaps %xmm0,0x50(%rsp)
movaps %xmm0,0x40(%rsp)
movaps %xmm0,0x30(%rsp)
movaps %xmm0,0x20(%rsp)
movaps %xmm0,0x10(%rsp)
lea    0xe14(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
cmp    $0x1,%r14d
je     1422 <main+0x2c2>
jle    140e <main+0x2ae>
lea    0x10(%rsp),%rbx
xor    %r12d,%r12d
xor    %r15d,%r15d
mov    %r13,0x8(%rsp)
lea    -0x1(%r14),%eax
lea    0x0(%r13,%rax,8),%r13
mov    %r14d,%ebp
nop
mov    0x0(%r13),%rdi
lea    0xe9d(%rip),%rsi
call   1070 <fopen@plt>
test   %rax,%rax
jne    1260 <main+0x100>
mov    0x0(%r13),%rsi
lea    0xe8a(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
lea    -0x1(%rbp),%eax
add    $0xfffffffffffffff8,%r13
cmp    $0x2,%ebp
mov    %eax,%ebp
jg     1220 <main+0xc0>
jmp    13a9 <main+0x249>
nopw   0x0(%rax,%rax,1)
mov    %rax,%r14
test   %r15d,%r15d
je     1386 <main+0x226>
add    $0x1,%r15d
imul   $0xb6db6db7,%r15d,%eax
add    $0x12492490,%eax
ror    $0x2,%eax
cmp    $0x9249249,%eax
jb     12b4 <main+0x154>
cs nopw 0x0(%rax,%rax,1)
mov    $0xa,%edi
call   1030 <putchar@plt>
add    $0x1,%r15d
imul   $0xb6db6db7,%r15d,%eax
add    $0x12492490,%eax
ror    $0x2,%eax
cmp    $0x9249248,%eax
ja     1290 <main+0x130>
test   %r12d,%r12d
je     12ce <main+0x16e>
add    $0x1,%r12d
lea    0xe25(%rip),%rdi
mov    %r12d,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x0(%r13),%rsi
xor    %r12d,%r12d
lea    0xe15(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %rbx,%rdi
xor    %esi,%esi
mov    $0x100,%edx
call   1050 <memset@plt>
mov    %rbx,%rdi
mov    $0x100,%esi
mov    %r14,%rdx
call   1060 <fgets@plt>
test   %rax,%rax
je     1397 <main+0x237>
xor    %r12d,%r12d
mov    0x8(%rsp),%r13
jmp    1335 <main+0x1d5>
cs nopw 0x0(%rax,%rax,1)
nop
mov    %rbx,%rdi
mov    $0x100,%esi
mov    %r14,%rdx
call   1060 <fgets@plt>
test   %rax,%rax
je     139c <main+0x23c>
lea    0xdc7(%rip),%rdi
mov    %rbx,%rsi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %rbx,%rdi
xor    %esi,%esi
mov    $0x100,%edx
call   1050 <memset@plt>
add    $0x1,%r15d
imul   $0xb6db6db7,%r15d,%eax
add    $0x12492490,%eax
ror    $0x2,%eax
cmp    $0x9249248,%eax
ja     1320 <main+0x1c0>
add    $0x1,%r12d
lea    0xd6f(%rip),%rdi
mov    %r12d,%esi
xor    %eax,%eax
call   1040 <printf@plt>
jmp    1320 <main+0x1c0>
xor    %r15d,%r15d
test   %r12d,%r12d
jne    12b9 <main+0x159>
jmp    12ce <main+0x16e>
mov    0x8(%rsp),%r13
lea    -0x1(%rbp),%r14d
cmp    $0x3,%ebp
jge    1213 <main+0xb3>
test   %r15d,%r15d
je     13f4 <main+0x294>
imul   $0xb6db6db7,%r15d,%eax
add    $0xc9249247,%eax
ror    $0x2,%eax
cmp    $0x9249249,%eax
jb     13f4 <main+0x294>
add    $0x2,%r15d
nopl   0x0(%rax,%rax,1)
mov    $0xa,%edi
call   1030 <putchar@plt>
imul   $0xb6db6db7,%r15d,%eax
add    $0x12492490,%eax
ror    $0x2,%eax
add    $0x1,%r15d
cmp    $0x9249248,%eax
ja     13d0 <main+0x270>
test   %r12d,%r12d
je     140e <main+0x2ae>
add    $0x1,%r12d
lea    0xce5(%rip),%rdi
mov    %r12d,%esi
xor    %eax,%eax
call   1040 <printf@plt>
xor    %eax,%eax
add    $0x118,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret
lea    0xc6f(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
xor    %edi,%edi
call   1080 <exit@plt>

LLVM IR (-O0):
@.str = [152 x i8] c"\0AThis program prints the files given at command line at stdout, \0A starting each new one on a new page, with a page and a running count \0A for each file.\00"
@.str.1 = [48 x i8] c"\0Aerror: Correct usage\0A\09./exec_file f1 f2 ... fn\00"
@.str.2 = [2 x i8] c"r\00"
@.str.3 = [31 x i8] c"\0Aerror: Couldn't open file: %s\00"
@.str.4 = [2 x i8] c"\0A\00"
@.str.5 = [8 x i8] c"\0A\0A%d\0A\0A\0A\00"
@.str.6 = [18 x i8] c"\0A\09\09\09\09\09Title: %s\0A\0A\00"
@.str.7 = [5 x i8] c"\0A\09%s\00"
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
%6 = alloca i32
%7 = alloca [256 x i8]
%8 = alloca i32
%9 = alloca i32
%10 = alloca i32*
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
store i32 0, i32* %6
%11 = bitcast [256 x i8]* %7 to i8*
store i32 0, i32* %8
store i32 0, i32* %9
store i32* null, i32** %10
%12 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([152 x i8], [152 x i8]* @.str, i64 0, i64 0))
%13 = load i32, i32* %4
%14 = icmp eq i32 %13, 1
br i1 %14, label %15, label %18
15: ; preds = %2
%16 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([48 x i8], [48 x i8]* @.str.1, i64 0, i64 0))
%17 = call i32 @exit(i32 0)
unreachable
18: ; preds = %2
br label %19
19: ; preds = %85, %31, %18
%20 = load i32, i32* %4
%21 = add nsw i32 %20, -1
store i32 %21, i32* %4
%22 = icmp sgt i32 %20, 1
br i1 %22, label %23, label %86
23: ; preds = %19
%24 = load i8**, i8*** %5
%25 = load i32, i32* %4
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds i8*, i8** %24, i64 %26
%28 = load i8*, i8** %27
%29 = call i32* @fopen(i8* %28, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0))
store i32* %29, i32** %10
%30 = icmp eq i32* %29, null
br i1 %30, label %31, label %38
31: ; preds = %23
%32 = load i8**, i8*** %5
%33 = load i32, i32* %4
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds i8*, i8** %32, i64 %34
%36 = load i8*, i8** %35
%37 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.3, i64 0, i64 0), i8* %36)
br label %19
38: ; preds = %23
%39 = load i32, i32* %8
%40 = icmp ne i32 %39, 0
br i1 %40, label %41, label %50
41: ; preds = %38
br label %42
42: ; preds = %47, %41
%43 = load i32, i32* %8
%44 = add nsw i32 %43, 1
store i32 %44, i32* %8
%45 = srem i32 %44, 28
%46 = icmp ne i32 %45, 0
br i1 %46, label %47, label %49
47: ; preds = %42
%48 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.4, i64 0, i64 0))
br label %42
49: ; preds = %42
br label %50
50: ; preds = %49, %38
%51 = load i32, i32* %9
%52 = icmp ne i32 %51, 0
br i1 %52, label %53, label %57
53: ; preds = %50
%54 = load i32, i32* %9
%55 = add nsw i32 %54, 1
store i32 %55, i32* %9
%56 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.5, i64 0, i64 0), i32 %55)
br label %57
57: ; preds = %53, %50
%58 = load i8**, i8*** %5
%59 = load i32, i32* %4
%60 = sext i32 %59 to i64
%61 = getelementptr inbounds i8*, i8** %58, i64 %60
%62 = load i8*, i8** %61
%63 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.6, i64 0, i64 0), i8* %62)
store i32 0, i32* %9
%64 = getelementptr inbounds [256 x i8], [256 x i8]* %7, i64 0, i64 0
%65 = call i32 @memset(i8* %64, i32 0, i32 256)
br label %66
66: ; preds = %84, %57
%67 = getelementptr inbounds [256 x i8], [256 x i8]* %7, i64 0, i64 0
%68 = load i32*, i32** %10
%69 = call i32* @fgets(i8* %67, i32 256, i32* %68)
%70 = icmp ne i32* %69, null
br i1 %70, label %71, label %85
71: ; preds = %66
%72 = getelementptr inbounds [256 x i8], [256 x i8]* %7, i64 0, i64 0
%73 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.7, i64 0, i64 0), i8* %72)
%74 = getelementptr inbounds [256 x i8], [256 x i8]* %7, i64 0, i64 0
%75 = call i32 @memset(i8* %74, i32 0, i32 256)
%76 = load i32, i32* %8
%77 = add nsw i32 %76, 1
store i32 %77, i32* %8
%78 = srem i32 %77, 28
%79 = icmp ne i32 %78, 0
br i1 %79, label %84, label %80
80: ; preds = %71
%81 = load i32, i32* %9
%82 = add nsw i32 %81, 1
store i32 %82, i32* %9
%83 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.5, i64 0, i64 0), i32 %82)
br label %84
84: ; preds = %80, %71
br label %66
85: ; preds = %66
br label %19
86: ; preds = %19
%87 = load i32, i32* %8
%88 = icmp ne i32 %87, 0
br i1 %88, label %89, label %98
89: ; preds = %86
br label %90
90: ; preds = %95, %89
%91 = load i32, i32* %8
%92 = add nsw i32 %91, 1
store i32 %92, i32* %8
%93 = srem i32 %92, 28
%94 = icmp ne i32 %93, 0
br i1 %94, label %95, label %97
95: ; preds = %90
%96 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.4, i64 0, i64 0))
br label %90
97: ; preds = %90
br label %98
98: ; preds = %97, %86
%99 = load i32, i32* %9
%100 = icmp ne i32 %99, 0
br i1 %100, label %101, label %105
101: ; preds = %98
%102 = load i32, i32* %9
%103 = add nsw i32 %102, 1
store i32 %103, i32* %9
%104 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.5, i64 0, i64 0), i32 %103)
br label %105
105: ; preds = %101, %98
%106 = load i32, i32* %6
ret i32 %106
}

LLVM IR (-O2):
@.str = [152 x i8] c"\0AThis program prints the files given at command line at stdout, \0A starting each new one on a new page, with a page and a running count \0A for each file.\00"
@.str.1 = [48 x i8] c"\0Aerror: Correct usage\0A\09./exec_file f1 f2 ... fn\00"
@.str.2 = [2 x i8] c"r\00"
@.str.3 = [31 x i8] c"\0Aerror: Couldn't open file: %s\00"
@.str.5 = [8 x i8] c"\0A\0A%d\0A\0A\0A\00"
@.str.6 = [18 x i8] c"\0A\09\09\09\09\09Title: %s\0A\0A\00"
@.str.7 = [5 x i8] c"\0A\09%s\00"
define i32 @main(i32 %0, i8** nocapture %1) {
%3 = alloca [256 x i8]
%4 = getelementptr inbounds [256 x i8], [256 x i8]* %3, i64 0, i64 0
%5 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([152 x i8], [152 x i8]* @.str, i64 0, i64 0))
%6 = icmp eq i32 %0, 1
br i1 %6, label %9, label %7
7: ; preds = %2
%8 = icmp sgt i32 %0, 1
br i1 %8, label %16, label %94
9: ; preds = %2
%10 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([48 x i8], [48 x i8]* @.str.1, i64 0, i64 0))
%11 = tail call i32 @exit(i32 0)
unreachable
12: ; preds = %71, %54
%13 = phi i32 [ %49, %54 ], [ %65, %71 ]
%14 = phi i32 [ 0, %54 ], [ %72, %71 ]
%15 = icmp sgt i32 %36, 2
br i1 %15, label %16, label %75
16: ; preds = %7, %12
%17 = phi i32 [ %35, %12 ], [ %0, %7 ]
%18 = phi i32 [ %14, %12 ], [ 0, %7 ]
%19 = phi i32 [ %13, %12 ], [ 0, %7 ]
%20 = zext i32 %17 to i64
br label %21
21: ; preds = %16, %29
%22 = phi i64 [ %20, %16 ], [ %23, %29 ]
%23 = add nsw i64 %22, -1
%24 = and i64 %23, 4294967295
%25 = getelementptr inbounds i8*, i8** %1, i64 %24
%26 = load i8*, i8** %25
%27 = call i32* @fopen(i8* %26, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0))
%28 = icmp eq i32* %27, null
br i1 %28, label %29, label %34
29: ; preds = %21
%30 = load i8*, i8** %25
%31 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([31 x i8], [31 x i8]* @.str.3, i64 0, i64 0), i8* %30)
%32 = trunc i64 %22 to i32
%33 = icmp sgt i32 %32, 2
br i1 %33, label %21, label %75
34: ; preds = %21
%35 = trunc i64 %23 to i32
%36 = trunc i64 %22 to i32
%37 = icmp eq i32 %19, 0
br i1 %37, label %48, label %38
38: ; preds = %34
%39 = add nsw i32 %19, 1
%40 = srem i32 %39, 28
%41 = icmp eq i32 %40, 0
br i1 %41, label %48, label %42
42: ; preds = %38, %42
%43 = phi i32 [ %45, %42 ], [ %39, %38 ]
%44 = call i32 @putchar(i32 10)
%45 = add nsw i32 %43, 1
%46 = srem i32 %45, 28
%47 = icmp eq i32 %46, 0
br i1 %47, label %48, label %42
48: ; preds = %42, %38, %34
%49 = phi i32 [ 0, %34 ], [ %39, %38 ], [ %45, %42 ]
%50 = icmp eq i32 %18, 0
br i1 %50, label %54, label %51
51: ; preds = %48
%52 = add nsw i32 %18, 1
%53 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str.5, i64 0, i64 0), i32 %52)
br label %54
54: ; preds = %51, %48
%55 = load i8*, i8** %25
%56 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([18 x i8], [18 x i8]* @.str.6, i64 0, i64 0), i8* %55)
%57 = call i32 @memset(i8* %4, i32 0, i32 256)
%58 = call i32* @fgets(i8* %4, i32 256, i32* %27)
%59 = icmp eq i32* %58, null
br i1 %59, label %12, label %60
60: ; preds = %54, %71
%61 = phi i32 [ %72, %71 ], [ 0, %54 ]
%62 = phi i32 [ %65, %71 ], [ %49, %54 ]
%63 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.7, i64 0, i64 0), i8* %4)
%64 = call i32 @memset(i8* %4, i32 0, i32 256)
%65 = add nsw i32 %62, 1
%66 = srem i32 %65, 28
%67 = icmp eq i32 %66, 0
br i1 %67, label %68, label %71
68: ; preds = %60
%69 = add nsw i32 %61, 1
%70 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str.5, i64 0, i64 0), i32 %69)
br label %71
71: ; preds = %68, %60
%72 = phi i32 [ %61, %60 ], [ %69, %68 ]
%73 = call i32* @fgets(i8* %4, i32 256, i32* %27)
%74 = icmp eq i32* %73, null
br i1 %74, label %12, label %60
75: ; preds = %12, %29
%76 = phi i32 [ %19, %29 ], [ %13, %12 ]
%77 = phi i32 [ %18, %29 ], [ %14, %12 ]
%78 = icmp eq i32 %76, 0
br i1 %78, label %89, label %79
79: ; preds = %75
%80 = add nsw i32 %76, 1
%81 = srem i32 %80, 28
%82 = icmp eq i32 %81, 0
br i1 %82, label %89, label %83
83: ; preds = %79, %83
%84 = phi i32 [ %86, %83 ], [ %80, %79 ]
%85 = call i32 @putchar(i32 10)
%86 = add nsw i32 %84, 1
%87 = srem i32 %86, 28
%88 = icmp eq i32 %87, 0
br i1 %88, label %89, label %83
89: ; preds = %83, %79, %75
%90 = icmp eq i32 %77, 0
br i1 %90, label %94, label %91
91: ; preds = %89
%92 = add nsw i32 %77, 1
%93 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str.5, i64 0, i64 0), i32 %92)
br label %94
94: ; preds = %7, %91, %89
ret i32 0
}