#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*/ fclose(int /*<<< orphan*/ *);
int /*<<< orphan*/ *fgets(char *, int, int /*<<< orphan*/ *);
int /*<<< orphan*/ *fopen(char *, char *);
int /*<<< orphan*/ printf(char *, char *, ...);
char *strchr(char *, char);
char *strstr(char *, char *);
void process(char *name, int width) {
  FILE *ff = fopen(name, "r");
  char buffer[256];
  int count = 0;
  if (ff == NULL) {
    printf("File=%s does not exist\n", name);
    return;
  }
  while (1) {
    char *p;
    if (fgets(buffer, 255, ff) == NULL)
      break;
    count++;
    p = strchr(buffer, '\n');
    if (p == NULL || (p - buffer) > width) {
      printf("File=%s Line=%d long\n%s\n", name, count, buffer);
    }
    p = strchr(buffer, '\t');
    if (p != NULL)
      printf("File=%s Line=%d tab at %d\n%s\n", name, count, p - buffer,
             buffer);
    p = strstr(buffer, " \n");
    if (p != NULL)
      printf("File=%s Line=%d extra space at %d\n%s\n", name, count, p - buffer,
             buffer);
    p = strstr(buffer, "if(");
    if (p != NULL)
      printf("File=%s Line=%d if( at %d\n%s\n", name, count, p - buffer,
             buffer);
    p = strstr(buffer, "while(");
    if (p != NULL)
      printf("File=%s Line=%d while( at %d\n%s\n", name, count, p - buffer,
             buffer);
    p = strstr(buffer, "for(");
    if (p != NULL)
      printf("File=%s Line=%d for( at %d\n%s\n", name, count, p - buffer,
             buffer);
  }
  fclose(ff);
  return;
}


x86 assembly (clang, -O0):
<process>:
push   %rbp
mov    %rsp,%rbp
sub    $0x130,%rsp
mov    %rdi,-0x8(%rbp)
mov    %esi,-0xc(%rbp)
mov    -0x8(%rbp),%rdi
lea    0xe83(%rip),%rsi
call   1070 <fopen@plt>
mov    %rax,-0x18(%rbp)
movl   $0x0,-0x124(%rbp)
cmpq   $0x0,-0x18(%rbp)
jne    11b2 <process+0x52>
mov    -0x8(%rbp),%rsi
lea    0xe5c(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
jmp    1411 <process+0x2b1>
jmp    11b7 <process+0x57>
lea    -0x120(%rbp),%rdi
mov    -0x18(%rbp),%rdx
mov    $0xff,%esi
call   1060 <fgets@plt>
cmp    $0x0,%rax
jne    11db <process+0x7b>
jmp    1408 <process+0x2a8>
mov    -0x124(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x124(%rbp)
lea    -0x120(%rbp),%rdi
mov    $0xa,%esi
call   1040 <strchr@plt>
mov    %rax,-0x130(%rbp)
cmpq   $0x0,-0x130(%rbp)
je     122e <process+0xce>
mov    -0x130(%rbp),%rax
lea    -0x120(%rbp),%rcx
sub    %rcx,%rax
movslq -0xc(%rbp),%rcx
cmp    %rcx,%rax
jle    124d <process+0xed>
mov    -0x8(%rbp),%rsi
mov    -0x124(%rbp),%edx
lea    -0x120(%rbp),%rcx
lea    0xdd4(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
lea    -0x120(%rbp),%rdi
mov    $0x9,%esi
call   1040 <strchr@plt>
mov    %rax,-0x130(%rbp)
cmpq   $0x0,-0x130(%rbp)
je     12a3 <process+0x143>
mov    -0x8(%rbp),%rsi
mov    -0x124(%rbp),%edx
mov    -0x130(%rbp),%rcx
lea    -0x120(%rbp),%rax
sub    %rax,%rcx
lea    -0x120(%rbp),%r8
lea    0xd97(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
lea    -0x120(%rbp),%rdi
lea    0xda0(%rip),%rsi
call   1080 <strstr@plt>
mov    %rax,-0x130(%rbp)
cmpq   $0x0,-0x130(%rbp)
je     12fb <process+0x19b>
mov    -0x8(%rbp),%rsi
mov    -0x124(%rbp),%edx
mov    -0x130(%rbp),%rcx
lea    -0x120(%rbp),%rax
sub    %rax,%rcx
lea    -0x120(%rbp),%r8
lea    0xd60(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
lea    -0x120(%rbp),%rdi
lea    0xd71(%rip),%rsi
call   1080 <strstr@plt>
mov    %rax,-0x130(%rbp)
cmpq   $0x0,-0x130(%rbp)
je     1353 <process+0x1f3>
mov    -0x8(%rbp),%rsi
mov    -0x124(%rbp),%edx
mov    -0x130(%rbp),%rcx
lea    -0x120(%rbp),%rax
sub    %rax,%rcx
lea    -0x120(%rbp),%r8
lea    0xd32(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
lea    -0x120(%rbp),%rdi
lea    0xd3b(%rip),%rsi
call   1080 <strstr@plt>
mov    %rax,-0x130(%rbp)
cmpq   $0x0,-0x130(%rbp)
je     13ab <process+0x24b>
mov    -0x8(%rbp),%rsi
mov    -0x124(%rbp),%edx
mov    -0x130(%rbp),%rcx
lea    -0x120(%rbp),%rax
sub    %rax,%rcx
lea    -0x120(%rbp),%r8
lea    0xcff(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
lea    -0x120(%rbp),%rdi
lea    0xd0b(%rip),%rsi
call   1080 <strstr@plt>
mov    %rax,-0x130(%rbp)
cmpq   $0x0,-0x130(%rbp)
je     1403 <process+0x2a3>
mov    -0x8(%rbp),%rsi
mov    -0x124(%rbp),%edx
mov    -0x130(%rbp),%rcx
lea    -0x120(%rbp),%rax
sub    %rax,%rcx
lea    -0x120(%rbp),%r8
lea    0xccd(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
jmp    11b7 <process+0x57>
mov    -0x18(%rbp),%rdi
call   1030 <fclose@plt>
add    $0x130,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<process>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x108,%rsp
mov    %esi,%ebp
mov    %rdi,%r15
lea    0xe83(%rip),%rsi
call   1070 <fopen@plt>
test   %rax,%rax
je     1319 <process+0x1b9>
mov    %rax,%r14
mov    %rsp,%rbx
mov    %rbx,%rdi
mov    $0xff,%esi
mov    %rax,%rdx
call   1060 <fgets@plt>
test   %rax,%rax
je     12ff <process+0x19f>
movslq %ebp,%r13
mov    $0x1,%ebp
lea    0xf0b(%rip),%r12
jmp    11dc <process+0x7c>
nopl   0x0(%rax,%rax,1)
mov    %rbx,%rdi
mov    $0xff,%esi
mov    %r14,%rdx
call   1060 <fgets@plt>
add    $0x1,%ebp
test   %rax,%rax
je     12ff <process+0x19f>
mov    %rbx,%rdi
mov    $0xa,%esi
call   1040 <strchr@plt>
test   %rax,%rax
je     11f6 <process+0x96>
sub    %rbx,%rax
cmp    %r13,%rax
jle    120c <process+0xac>
lea    0xe1d(%rip),%rdi
mov    %r15,%rsi
mov    %ebp,%edx
mov    %rbx,%rcx
xor    %eax,%eax
call   1050 <printf@plt>
mov    %rbx,%rdi
mov    $0x9,%esi
call   1040 <strchr@plt>
test   %rax,%rax
je     123a <process+0xda>
sub    %rbx,%rax
lea    0xe0b(%rip),%rdi
mov    %r15,%rsi
mov    %ebp,%edx
mov    %rax,%rcx
mov    %rbx,%r8
xor    %eax,%eax
call   1050 <printf@plt>
mov    %rbx,%rdi
lea    0xe0d(%rip),%rsi
call   1080 <strstr@plt>
test   %rax,%rax
je     126a <process+0x10a>
sub    %rbx,%rax
lea    0xdfc(%rip),%rdi
mov    %r15,%rsi
mov    %ebp,%edx
mov    %rax,%rcx
mov    %rbx,%r8
xor    %eax,%eax
call   1050 <printf@plt>
mov    %rbx,%rdi
lea    0xe06(%rip),%rsi
call   1080 <strstr@plt>
test   %rax,%rax
je     129a <process+0x13a>
sub    %rbx,%rax
lea    0xdf6(%rip),%rdi
mov    %r15,%rsi
mov    %ebp,%edx
mov    %rax,%rcx
mov    %rbx,%r8
xor    %eax,%eax
call   1050 <printf@plt>
mov    %rbx,%rdi
lea    0xdf8(%rip),%rsi
call   1080 <strstr@plt>
test   %rax,%rax
je     12ca <process+0x16a>
sub    %rbx,%rax
lea    0xdeb(%rip),%rdi
mov    %r15,%rsi
mov    %ebp,%edx
mov    %rax,%rcx
mov    %rbx,%r8
xor    %eax,%eax
call   1050 <printf@plt>
mov    %rbx,%rdi
mov    %r12,%rsi
call   1080 <strstr@plt>
test   %rax,%rax
je     11c0 <process+0x60>
sub    %rbx,%rax
lea    0xde1(%rip),%rdi
mov    %r15,%rsi
mov    %ebp,%edx
mov    %rax,%rcx
mov    %rbx,%r8
xor    %eax,%eax
call   1050 <printf@plt>
jmp    11c0 <process+0x60>
mov    %r14,%rdi
call   1030 <fclose@plt>
add    $0x108,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret
lea    0xce2(%rip),%rdi
mov    %r15,%rsi
xor    %eax,%eax
add    $0x108,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
jmp    1050 <printf@plt>

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

LLVM IR (-O2):
@.str = [2 x i8] c"r\00"
@.str.1 = [24 x i8] c"File=%s does not exist\0A\00"
@.str.2 = [25 x i8] c"File=%s Line=%d long\0A%s\0A\00"
@.str.3 = [30 x i8] c"File=%s Line=%d tab at %d\0A%s\0A\00"
@.str.4 = [3 x i8] c" \0A\00"
@.str.5 = [38 x i8] c"File=%s Line=%d extra space at %d\0A%s\0A\00"
@.str.6 = [4 x i8] c"if(\00"
@.str.7 = [30 x i8] c"File=%s Line=%d if( at %d\0A%s\0A\00"
@.str.8 = [7 x i8] c"while(\00"
@.str.9 = [33 x i8] c"File=%s Line=%d while( at %d\0A%s\0A\00"
@.str.10 = [5 x i8] c"for(\00"
@.str.11 = [31 x i8] c"File=%s Line=%d for( at %d\0A%s\0A\00"
define void @process(i8* %0, i32 %1) {
%3 = alloca [256 x i8]
%4 = tail call i32* @fopen(i8* %0, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0))
%5 = getelementptr inbounds [256 x i8], [256 x i8]* %3, i64 0, i64 0
%6 = icmp eq i32* %4, null
br i1 %6, label %13, label %7
7: ; preds = %2
%8 = call i32* @fgets(i8* %5, i32 255, i32* %4)
%9 = icmp eq i32* %8, null
br i1 %9, label %64, label %10
10: ; preds = %7
%11 = ptrtoint [256 x i8]* %3 to i64
%12 = sext i32 %1 to i64
br label %15
13: ; preds = %2
%14 = tail call i32 (i8*, i8*, ...) @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.1, i64 0, i64 0), i8* %0)
br label %66
15: ; preds = %10, %61
%16 = phi i32 [ 0, %10 ], [ %17, %61 ]
%17 = add nuw nsw i32 %16, 1
%18 = call i8* @strchr(i8* %5, i8 signext 10)
%19 = icmp eq i8* %18, null
%20 = ptrtoint i8* %18 to i64
%21 = sub i64 %20, %11
%22 = icmp sgt i64 %21, %12
%23 = select i1 %19, i1 true, i1 %22
br i1 %23, label %24, label %26
24: ; preds = %15
%25 = call i32 (i8*, i8*, ...) @printf(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.2, i64 0, i64 0), i8* %0, i32 %17, i8* %5)
br label %26
26: ; preds = %15, %24
%27 = call i8* @strchr(i8* %5, i8 signext 9)
%28 = icmp eq i8* %27, null
br i1 %28, label %33, label %29
29: ; preds = %26
%30 = ptrtoint i8* %27 to i64
%31 = sub i64 %30, %11
%32 = call i32 (i8*, i8*, ...) @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.3, i64 0, i64 0), i8* %0, i32 %17, i64 %31, i8* %5)
br label %33
33: ; preds = %29, %26
%34 = call i8* @strstr(i8* %5, i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.4, i64 0, i64 0))
%35 = icmp eq i8* %34, null
br i1 %35, label %40, label %36
36: ; preds = %33
%37 = ptrtoint i8* %34 to i64
%38 = sub i64 %37, %11
%39 = call i32 (i8*, i8*, ...) @printf(i8* getelementptr inbounds ([38 x i8], [38 x i8]* @.str.5, i64 0, i64 0), i8* %0, i32 %17, i64 %38, i8* %5)
br label %40
40: ; preds = %36, %33
%41 = call i8* @strstr(i8* %5, i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.6, i64 0, i64 0))
%42 = icmp eq i8* %41, null
br i1 %42, label %47, label %43
43: ; preds = %40
%44 = ptrtoint i8* %41 to i64
%45 = sub i64 %44, %11
%46 = call i32 (i8*, i8*, ...) @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.7, i64 0, i64 0), i8* %0, i32 %17, i64 %45, i8* %5)
br label %47
47: ; preds = %43, %40
%48 = call i8* @strstr(i8* %5, i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @.str.8, i64 0, i64 0))
%49 = icmp eq i8* %48, null
br i1 %49, label %54, label %50
50: ; preds = %47
%51 = ptrtoint i8* %48 to i64
%52 = sub i64 %51, %11
%53 = call i32 (i8*, i8*, ...) @printf(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.9, i64 0, i64 0), i8* %0, i32 %17, i64 %52, i8* %5)
br label %54
54: ; preds = %50, %47
%55 = call i8* @strstr(i8* %5, i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.10, i64 0, i64 0))
%56 = icmp eq i8* %55, null
br i1 %56, label %61, label %57
57: ; preds = %54
%58 = ptrtoint i8* %55 to i64
%59 = sub i64 %58, %11
%60 = call i32 (i8*, i8*, ...) @printf(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.11, i64 0, i64 0), i8* %0, i32 %17, i64 %59, i8* %5)
br label %61
61: ; preds = %54, %57
%62 = call i32* @fgets(i8* %5, i32 255, i32* %4)
%63 = icmp eq i32* %62, null
br i1 %63, label %64, label %15
64: ; preds = %61, %7
%65 = call i32 @fclose(i32* %4)
br label %66
66: ; preds = %64, %13
ret void
}