#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);
scalar_t__ feof(int /*<<< orphan*/ *);
char fgetc(int /*<<< orphan*/ *);
int /*<<< orphan*/ *fopen(char *, char *);
int /*<<< orphan*/ printf(char *, ...);
scalar_t__ strcmp(char *, char *);
int strlen(char *);
int main(int argc, char *argv[]) {
  FILE *fd;
  char str[100];
  char c;
  int i, j, k, m, flag;
  char temp[30];
  if (argc != 3) {
    printf("Number of Arguements provided != 3 \n");
    printf("Arguements Required: \n");
    printf("Search Text \n");
    printf("Filename \n");
    exit(-1);
  }
  fd = fopen(argv[2], "r");
  if (!fd) {
    printf("%s does not exist. \n", argv[2]);
    exit(-1);
  }
  while (!feof(fd)) {
    i = 0;
    while (1) {
      c = fgetc(fd);
      if (feof(fd)) {
        str[i++] = '\0';
        break;
      }
      if (c == '\n') {
        str[i++] = '\0';
        break;
      }
      str[i++] = c;
    }
    if (strlen(str) >= strlen(argv[1])) {
      for (k = 0; k <= strlen(str) - strlen(argv[1]); k++) {
        for (m = 0; m < strlen(argv[1]); m++) {
          temp[m] = str[k + m];
        }
        temp[m] = '\0';
        if (strcmp(temp, argv[1]) == 0) {
          printf("%s\n", str);
          break;
        }
      }
    }
  }
  printf("\n");
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0xd0,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
cmpl   $0x3,-0x8(%rbp)
je     11d5 <main+0x65>
lea    0xe66(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0xe7d(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0xe86(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0xe86(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    $0xffffffff,%edi
call   1090 <exit@plt>
mov    -0x10(%rbp),%rax
mov    0x10(%rax),%rdi
lea    0xe71(%rip),%rsi
call   1080 <fopen@plt>
mov    %rax,-0x18(%rbp)
cmpq   $0x0,-0x18(%rbp)
jne    1218 <main+0xa8>
mov    -0x10(%rbp),%rax
mov    0x10(%rax),%rsi
lea    0xe50(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    $0xffffffff,%edi
call   1090 <exit@plt>
jmp    121d <main+0xad>
mov    -0x18(%rbp),%rdi
call   1070 <feof@plt>
cmp    $0x0,%rax
setne  %al
xor    $0xff,%al
test   $0x1,%al
jne    123c <main+0xcc>
jmp    1418 <main+0x2a8>
movl   $0x0,-0x88(%rbp)
mov    -0x18(%rbp),%rdi
call   1050 <fgetc@plt>
mov    %al,-0x81(%rbp)
mov    -0x18(%rbp),%rdi
call   1070 <feof@plt>
cmp    $0x0,%rax
je     1285 <main+0x115>
mov    -0x88(%rbp),%eax
mov    %eax,%ecx
add    $0x1,%ecx
mov    %ecx,-0x88(%rbp)
cltq
movb   $0x0,-0x80(%rbp,%rax,1)
jmp    12d4 <main+0x164>
movsbl -0x81(%rbp),%eax
cmp    $0xa,%eax
jne    12b2 <main+0x142>
mov    -0x88(%rbp),%eax
mov    %eax,%ecx
add    $0x1,%ecx
mov    %ecx,-0x88(%rbp)
cltq
movb   $0x0,-0x80(%rbp,%rax,1)
jmp    12d4 <main+0x164>
mov    -0x81(%rbp),%cl
mov    -0x88(%rbp),%eax
mov    %eax,%edx
add    $0x1,%edx
mov    %edx,-0x88(%rbp)
cltq
mov    %cl,-0x80(%rbp,%rax,1)
jmp    1246 <main+0xd6>
lea    -0x80(%rbp),%rdi
call   1030 <strlen@plt>
mov    %eax,-0xc4(%rbp)
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rdi
call   1030 <strlen@plt>
mov    %eax,%ecx
mov    -0xc4(%rbp),%eax
cmp    %ecx,%eax
jl     1413 <main+0x2a3>
movl   $0x0,-0x90(%rbp)
mov    -0x90(%rbp),%eax
mov    %eax,-0xc8(%rbp)
lea    -0x80(%rbp),%rdi
call   1030 <strlen@plt>
mov    %eax,-0xcc(%rbp)
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rdi
call   1030 <strlen@plt>
mov    -0xcc(%rbp),%ecx
mov    %eax,%edx
mov    -0xc8(%rbp),%eax
sub    %edx,%ecx
cmp    %ecx,%eax
jg     140e <main+0x29e>
movl   $0x0,-0x94(%rbp)
mov    -0x94(%rbp),%eax
mov    %eax,-0xd0(%rbp)
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rdi
call   1030 <strlen@plt>
mov    %eax,%ecx
mov    -0xd0(%rbp),%eax
cmp    %ecx,%eax
jge    13b1 <main+0x241>
mov    -0x90(%rbp),%eax
add    -0x94(%rbp),%eax
cltq
mov    -0x80(%rbp,%rax,1),%cl
movslq -0x94(%rbp),%rax
mov    %cl,-0xc0(%rbp,%rax,1)
mov    -0x94(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x94(%rbp)
jmp    1354 <main+0x1e4>
movslq -0x94(%rbp),%rax
movb   $0x0,-0xc0(%rbp,%rax,1)
lea    -0xc0(%rbp),%rdi
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rsi
call   1060 <strcmp@plt>
cmp    $0x0,%rax
jne    13f5 <main+0x285>
lea    -0x80(%rbp),%rsi
lea    0xc83(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
jmp    140e <main+0x29e>
jmp    13fa <main+0x28a>
mov    -0x90(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x90(%rbp)
jmp    130a <main+0x19a>
jmp    1413 <main+0x2a3>
jmp    121d <main+0xad>
lea    0xc4b(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
xor    %eax,%eax
add    $0xd0,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x88,%rsp
cmp    $0x3,%edi
jne    1315 <main+0x185>
mov    %rsi,%r13
mov    0x10(%rsi),%rdi
lea    0xe48(%rip),%rsi
call   10a0 <fopen@plt>
test   %rax,%rax
je     134f <main+0x1bf>
mov    %rax,%r14
jmp    11e0 <main+0x50>
lea    0x20(%rsp),%rdi
call   1040 <puts@plt>
cs nopw 0x0(%rax,%rax,1)
nop
mov    %r14,%rdi
call   1090 <feof@plt>
test   %rax,%rax
jne    12f7 <main+0x167>
mov    %r14,%rdi
call   1070 <fgetc@plt>
mov    %eax,%ebx
mov    %r14,%rdi
call   1090 <feof@plt>
xor    %ebp,%ebp
test   %rax,%rax
jne    1234 <main+0xa4>
nopw   0x0(%rax,%rax,1)
cmp    $0xa,%bl
je     1234 <main+0xa4>
mov    %bl,0x20(%rsp,%rbp,1)
add    $0x1,%rbp
mov    %r14,%rdi
call   1070 <fgetc@plt>
mov    %eax,%ebx
mov    %r14,%rdi
call   1090 <feof@plt>
test   %rax,%rax
je     1210 <main+0x80>
mov    %ebp,%eax
movb   $0x0,0x20(%rsp,%rax,1)
lea    0x20(%rsp),%rdi
call   1050 <strlen@plt>
mov    %eax,%ebx
mov    0x8(%r13),%rdi
call   1050 <strlen@plt>
cmp    %eax,%ebx
jl     11e0 <main+0x50>
lea    0x20(%rsp),%rdi
call   1050 <strlen@plt>
mov    %eax,%ebx
mov    0x8(%r13),%rdi
call   1050 <strlen@plt>
cmp    %eax,%ebx
jl     11e0 <main+0x50>
lea    0x20(%rsp),%rbp
xor    %r12d,%r12d
nopl   0x0(%rax)
mov    0x8(%r13),%rdi
call   1050 <strlen@plt>
xor    %ebx,%ebx
test   %eax,%eax
jle    12ac <main+0x11c>
nop
movzbl 0x0(%rbp,%rbx,1),%eax
mov    %al,(%rsp,%rbx,1)
add    $0x1,%rbx
mov    0x8(%r13),%rdi
call   1050 <strlen@plt>
cltq
cmp    %rax,%rbx
jl     1290 <main+0x100>
mov    %ebx,%eax
movb   $0x0,(%rsp,%rax,1)
mov    0x8(%r13),%rsi
mov    %rsp,%rdi
call   1080 <strcmp@plt>
test   %rax,%rax
je     11cb <main+0x3b>
lea    0x1(%r12),%r15
lea    0x20(%rsp),%rdi
call   1050 <strlen@plt>
mov    %eax,%ebx
mov    0x8(%r13),%rdi
call   1050 <strlen@plt>
sub    %eax,%ebx
movslq %ebx,%rax
add    $0x1,%rbp
cmp    %rax,%r12
mov    %r15,%r12
jl     1280 <main+0xf0>
jmp    11e0 <main+0x50>
mov    $0xa,%edi
call   1030 <putchar@plt>
xor    %eax,%eax
add    $0x88,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret
lea    0xcfb(%rip),%rdi
call   1040 <puts@plt>
lea    0xd13(%rip),%rdi
call   1040 <puts@plt>
lea    0xd1d(%rip),%rdi
call   1040 <puts@plt>
lea    0xd1e(%rip),%rdi
call   1040 <puts@plt>
mov    $0xffffffff,%edi
call   10b0 <exit@plt>
mov    0x10(%r13),%rsi
lea    0xca8(%rip),%rdi
xor    %eax,%eax
call   1060 <printf@plt>
mov    $0xffffffff,%edi
call   10b0 <exit@plt>

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

LLVM IR (-O2):
@.str.4 = [2 x i8] c"r\00"
@.str.5 = [21 x i8] c"%s does not exist. \0A\00"
@str = [36 x i8] c"Number of Arguements provided != 3 \00"
@str.8 = [22 x i8] c"Arguements Required: \00"
@str.9 = [13 x i8] c"Search Text \00"
@str.10 = [10 x i8] c"Filename \00"
define i32 @main(i32 %0, i8** nocapture %1) {
%3 = alloca [100 x i8]
%4 = alloca [30 x i8]
%5 = getelementptr inbounds [100 x i8], [100 x i8]* %3, i64 0, i64 0
%6 = getelementptr inbounds [30 x i8], [30 x i8]* %4, i64 0, i64 0
%7 = icmp eq i32 %0, 3
br i1 %7, label %14, label %8
8: ; preds = %2
%9 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([36 x i8], [36 x i8]* @str, i64 0, i64 0))
%10 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([22 x i8], [22 x i8]* @str.8, i64 0, i64 0))
%11 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([13 x i8], [13 x i8]* @str.9, i64 0, i64 0))
%12 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @str.10, i64 0, i64 0))
%13 = tail call i32 @exit(i32 -1)
unreachable
14: ; preds = %2
%15 = getelementptr inbounds i8*, i8** %1, i64 2
%16 = load i8*, i8** %15
%17 = tail call i32* @fopen(i8* %16, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.4, i64 0, i64 0))
%18 = icmp eq i32* %17, null
br i1 %18, label %24, label %19
19: ; preds = %14
%20 = call i64 @feof(i32* %17)
%21 = icmp eq i64 %20, 0
br i1 %21, label %22, label %91
22: ; preds = %19
%23 = getelementptr inbounds i8*, i8** %1, i64 1
br label %28
24: ; preds = %14
%25 = load i8*, i8** %15
%26 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([21 x i8], [21 x i8]* @.str.5, i64 0, i64 0), i8* %25)
%27 = tail call i32 @exit(i32 -1)
unreachable
28: ; preds = %22, %88
%29 = call signext i8 @fgetc(i32* %17)
%30 = call i64 @feof(i32* %17)
%31 = icmp eq i64 %30, 0
br i1 %31, label %32, label %42
32: ; preds = %28, %36
%33 = phi i64 [ %37, %36 ], [ 0, %28 ]
%34 = phi i8 [ %39, %36 ], [ %29, %28 ]
%35 = icmp eq i8 %34, 10
br i1 %35, label %42, label %36
36: ; preds = %32
%37 = add nuw i64 %33, 1
%38 = getelementptr inbounds [100 x i8], [100 x i8]* %3, i64 0, i64 %33
store i8 %34, i8* %38
%39 = call signext i8 @fgetc(i32* %17)
%40 = call i64 @feof(i32* %17)
%41 = icmp eq i64 %40, 0
br i1 %41, label %32, label %42
42: ; preds = %32, %36, %28
%43 = phi i64 [ 0, %28 ], [ %37, %36 ], [ %33, %32 ]
%44 = and i64 %43, 4294967295
%45 = getelementptr inbounds [100 x i8], [100 x i8]* %3, i64 0, i64 %44
store i8 0, i8* %45
%46 = call i32 @strlen(i8* %5)
%47 = load i8*, i8** %23
%48 = call i32 @strlen(i8* %47)
%49 = icmp slt i32 %46, %48
br i1 %49, label %88, label %50
50: ; preds = %42
%51 = call i32 @strlen(i8* %5)
%52 = load i8*, i8** %23
%53 = call i32 @strlen(i8* %52)
%54 = icmp slt i32 %51, %53
br i1 %54, label %88, label %63
55: ; preds = %79
%56 = add nuw nsw i64 %64, 1
%57 = call i32 @strlen(i8* %5)
%58 = load i8*, i8** %23
%59 = call i32 @strlen(i8* %58)
%60 = sub nsw i32 %57, %59
%61 = sext i32 %60 to i64
%62 = icmp slt i64 %64, %61
br i1 %62, label %63, label %88
63: ; preds = %50, %55
%64 = phi i64 [ %56, %55 ], [ 0, %50 ]
%65 = load i8*, i8** %23
%66 = call i32 @strlen(i8* %65)
%67 = icmp sgt i32 %66, 0
br i1 %67, label %68, label %79
68: ; preds = %63, %68
%69 = phi i64 [ %74, %68 ], [ 0, %63 ]
%70 = add nuw nsw i64 %69, %64
%71 = getelementptr inbounds [100 x i8], [100 x i8]* %3, i64 0, i64 %70
%72 = load i8, i8* %71
%73 = getelementptr inbounds [30 x i8], [30 x i8]* %4, i64 0, i64 %69
store i8 %72, i8* %73
%74 = add nuw nsw i64 %69, 1
%75 = load i8*, i8** %23
%76 = call i32 @strlen(i8* %75)
%77 = sext i32 %76 to i64
%78 = icmp slt i64 %74, %77
br i1 %78, label %68, label %79
79: ; preds = %68, %63
%80 = phi i64 [ 0, %63 ], [ %74, %68 ]
%81 = and i64 %80, 4294967295
%82 = getelementptr inbounds [30 x i8], [30 x i8]* %4, i64 0, i64 %81
store i8 0, i8* %82
%83 = load i8*, i8** %23
%84 = call i64 @strcmp(i8* %6, i8* %83)
%85 = icmp eq i64 %84, 0
br i1 %85, label %86, label %55
86: ; preds = %79
%87 = call i32 @puts(i8* %5)
br label %88
88: ; preds = %55, %50, %86, %42
%89 = call i64 @feof(i32* %17)
%90 = icmp eq i64 %89, 0
br i1 %90, label %28, label %91
91: ; preds = %88, %19
%92 = call i32 @putchar(i32 10)
ret i32 0
}