#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 EXIT_SUCCESS;
int /*<<< orphan*/ fclose(int /*<<< orphan*/ *);
int /*<<< orphan*/ *fopen(char *, char *);
int /*<<< orphan*/ fprintf(int /*<<< orphan*/ *, char *, char *, char *, int);
int /*<<< orphan*/ fscanf(int /*<<< orphan*/ *, char *, ...);
int /*<<< orphan*/ printf(char *);
scalar_t__ strcmp(char *, char *);
int main(int num, char *command[]) {
  char current[100];
  char date[11];
  char time[9];
  char type[4];
  int listeners;
  char n[3] = "now";
  FILE *input;
  FILE *output;
  int i;
  double j = 0;
  input = fopen(command[1], "r");
  output = fopen(command[2], "w");
  time[8] = '\0';
  date[10] = '\0';
  while (j < 100000000) {
    fscanf(input, "%s", current);
    j++;
    if (current[1] == '\0') {
      if (current[0] == '\0') {
        break;
      }
    }
    if (current[0] == '[') {
      for (i = 0; i < 10; i++) {
        date[i] = current[i + 1];
      }
    }
    if (current[8] == ']') {
      for (i = 0; i < 8; i++) {
        time[i] = current[i];
      }
    }
    if (current[2] >= 'A') {
      if (current[2] <= 'Z') {
        for (i = 0; i < 4; i++)
          type[i] = current[i];
      }
    }
    if (strcmp(current, "listener") == 0) {
      fscanf(input, "%s", current);
      while (current[0] != n[0]) {
        fscanf(input, "%s", current);
      }
      fscanf(input, "%i", &listeners);
      fprintf(output, "%s\t %s\t %d\n", date, time, listeners);
    }
    current[2] = '\0';
    current[8] = '\0';
    current[1] = '\0';
    current[0] = '\0';
  }
  fclose(input);
  fclose(output);
  printf("Done!\n");
  return EXIT_SUCCESS;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0xc0,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    0xe90(%rip),%ax
mov    %ax,-0x9f(%rbp)
mov    0xe85(%rip),%al
mov    %al,-0x9d(%rbp)
xorps  %xmm0,%xmm0
movsd  %xmm0,-0xc0(%rbp)
ff
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rdi
lea    0xe72(%rip),%rsi
call   1080 <fopen@plt>
mov    %rax,-0xa8(%rbp)
mov    -0x10(%rbp),%rax
mov    0x10(%rax),%rdi
lea    0xe4b(%rip),%rsi
call   1080 <fopen@plt>
mov    %rax,-0xb0(%rbp)
movb   $0x0,-0x8c(%rbp)
movb   $0x0,-0x81(%rbp)
movsd  0xe16(%rip),%xmm0
ucomisd -0xc0(%rbp),%xmm0
ff
jbe    1422 <main+0x2c2>
mov    -0xa8(%rbp),%rdi
lea    -0x80(%rbp),%rdx
lea    0xe0b(%rip),%rsi
mov    $0x0,%al
call   1050 <fscanf@plt>
movsd  0xdef(%rip),%xmm0
addsd  -0xc0(%rbp),%xmm0
ff
movsd  %xmm0,-0xc0(%rbp)
ff
movsbl -0x7f(%rbp),%eax
cmp    $0x0,%eax
jne    124d <main+0xed>
movsbl -0x80(%rbp),%eax
cmp    $0x0,%eax
jne    1248 <main+0xe8>
jmp    1422 <main+0x2c2>
jmp    124d <main+0xed>
movsbl -0x80(%rbp),%eax
cmp    $0x5b,%eax
jne    12a7 <main+0x147>
movl   $0x0,-0xb4(%rbp)
cmpl   $0xa,-0xb4(%rbp)
jge    12a2 <main+0x142>
mov    -0xb4(%rbp),%eax
add    $0x1,%eax
cltq
mov    -0x80(%rbp,%rax,1),%cl
movslq -0xb4(%rbp),%rax
mov    %cl,-0x8b(%rbp,%rax,1)
mov    -0xb4(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xb4(%rbp)
jmp    1264 <main+0x104>
jmp    12a7 <main+0x147>
movsbl -0x78(%rbp),%eax
cmp    $0x5d,%eax
jne    12fd <main+0x19d>
movl   $0x0,-0xb4(%rbp)
cmpl   $0x8,-0xb4(%rbp)
jge    12f8 <main+0x198>
movslq -0xb4(%rbp),%rax
mov    -0x80(%rbp,%rax,1),%cl
movslq -0xb4(%rbp),%rax
mov    %cl,-0x94(%rbp,%rax,1)
mov    -0xb4(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xb4(%rbp)
jmp    12be <main+0x15e>
jmp    12fd <main+0x19d>
movsbl -0x7e(%rbp),%eax
cmp    $0x41,%eax
jl     1365 <main+0x205>
movsbl -0x7e(%rbp),%eax
cmp    $0x5a,%eax
jg     1360 <main+0x200>
movl   $0x0,-0xb4(%rbp)
cmpl   $0x4,-0xb4(%rbp)
jge    135b <main+0x1fb>
movslq -0xb4(%rbp),%rax
mov    -0x80(%rbp,%rax,1),%cl
movslq -0xb4(%rbp),%rax
mov    %cl,-0x98(%rbp,%rax,1)
mov    -0xb4(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xb4(%rbp)
jmp    1321 <main+0x1c1>
jmp    1360 <main+0x200>
jmp    1365 <main+0x205>
lea    -0x80(%rbp),%rdi
lea    0xca8(%rip),%rsi
call   1060 <strcmp@plt>
cmp    $0x0,%rax
jne    140d <main+0x2ad>
mov    -0xa8(%rbp),%rdi
lea    -0x80(%rbp),%rdx
lea    0xc84(%rip),%rsi
mov    $0x0,%al
call   1050 <fscanf@plt>
movsbl -0x80(%rbp),%eax
movsbl -0x9f(%rbp),%ecx
cmp    %ecx,%eax
je     13c9 <main+0x269>
mov    -0xa8(%rbp),%rdi
lea    -0x80(%rbp),%rdx
lea    0xc58(%rip),%rsi
mov    $0x0,%al
call   1050 <fscanf@plt>
jmp    1398 <main+0x238>
mov    -0xa8(%rbp),%rdi
lea    0xc4a(%rip),%rsi
lea    -0x9c(%rbp),%rdx
mov    $0x0,%al
call   1050 <fscanf@plt>
mov    -0xb0(%rbp),%rdi
lea    -0x8b(%rbp),%rdx
lea    -0x94(%rbp),%rcx
mov    -0x9c(%rbp),%r8d
lea    0xc1c(%rip),%rsi
call   1070 <fprintf@plt>
movb   $0x0,-0x7e(%rbp)
movb   $0x0,-0x78(%rbp)
movb   $0x0,-0x7f(%rbp)
movb   $0x0,-0x80(%rbp)
jmp    11e2 <main+0x82>
mov    -0xa8(%rbp),%rdi
call   1030 <fclose@plt>
mov    -0xb0(%rbp),%rdi
call   1030 <fclose@plt>
lea    0xbef(%rip),%rdi
call   1040 <printf@plt>
mov    0x2b93(%rip),%rax
mov    (%rax),%eax
add    $0xc0,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x98,%rsp
mov    %rsi,%rbp
mov    0x8(%rsi),%rdi
lea    0xe8d(%rip),%rsi
call   1080 <fopen@plt>
mov    %rax,%rbx
mov    0x10(%rbp),%rdi
lea    0xe6e(%rip),%rsi
call   1080 <fopen@plt>
mov    %rax,0x8(%rsp)
movb   $0x0,0x28(%rsp)
movb   $0x0,0x1a(%rsp)
lea    0x31(%rsp),%rbp
lea    0xe50(%rip),%r15
lea    0x30(%rsp),%r12
lea    0xe47(%rip),%r13
xor    %r14d,%r14d
jmp    1202 <main+0xa2>
cs nopw 0x0(%rax,%rax,1)
nopl   (%rax)
add    $0x1,%r14d
mov    %r12,%rdi
mov    %r13,%rsi
call   1060 <strcmp@plt>
test   %rax,%rax
je     1250 <main+0xf0>
movb   $0x0,0x32(%rsp)
movb   $0x0,0x38(%rsp)
movw   $0x0,0x30(%rsp)
cmp    $0x5f5e100,%r14d
je     12a2 <main+0x142>
mov    %rbx,%rdi
mov    %r15,%rsi
mov    %r12,%rdx
xor    %eax,%eax
call   1050 <fscanf@plt>
mov    0x30(%rsp),%al
mov    0x31(%rsp),%cl
or     %al,%cl
je     12a2 <main+0x142>
cmp    $0x5b,%al
jne    1238 <main+0xd8>
movzwl 0x8(%rbp),%eax
mov    %ax,0x18(%rsp)
mov    0x0(%rbp),%rax
mov    %rax,0x10(%rsp)
cmpb   $0x5d,0x38(%rsp)
jne    11d0 <main+0x70>
mov    0x30(%rsp),%rax
mov    %rax,0x20(%rsp)
jmp    11d0 <main+0x70>
nopl   0x0(%rax,%rax,1)
mov    %rbx,%rdi
mov    %r15,%rsi
mov    %r12,%rdx
xor    %eax,%eax
call   1050 <fscanf@plt>
cmpb   $0x6e,0x30(%rsp)
jne    1250 <main+0xf0>
mov    %rbx,%rdi
lea    0xd9d(%rip),%rsi
lea    0x4(%rsp),%rdx
xor    %eax,%eax
call   1050 <fscanf@plt>
mov    0x4(%rsp),%r8d
mov    0x8(%rsp),%rdi
lea    0xd83(%rip),%rsi
lea    0x10(%rsp),%rdx
lea    0x20(%rsp),%rcx
call   1070 <fprintf@plt>
jmp    11e4 <main+0x84>
mov    %rbx,%rdi
call   1040 <fclose@plt>
mov    0x8(%rsp),%rdi
call   1040 <fclose@plt>
lea    0xd62(%rip),%rdi
call   1030 <puts@plt>
mov    0x2d19(%rip),%rax
mov    (%rax),%eax
add    $0x98,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@__const.main.n = [3 x i8] c"now"
@.str = [2 x i8] c"r\00"
@.str.1 = [2 x i8] c"w\00"
@.str.2 = [3 x i8] c"%s\00"
@.str.3 = [9 x i8] c"listener\00"
@.str.4 = [3 x i8] c"%i\00"
@.str.5 = [12 x i8] c"%s\09 %s\09 %d\0A\00"
@.str.6 = [7 x i8] c"Done!\0A\00"
@EXIT_SUCCESS = global i32 0
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
%6 = alloca [100 x i8]
%7 = alloca [11 x i8]
%8 = alloca [9 x i8]
%9 = alloca [4 x i8]
%10 = alloca i32
%11 = alloca [3 x i8]
%12 = alloca i32*
%13 = alloca i32*
%14 = alloca i32
%15 = alloca double
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
%16 = bitcast [3 x i8]* %11 to i8*
store double 0.000000e+00, double* %15
%17 = load i8**, i8*** %5
%18 = getelementptr inbounds i8*, i8** %17, i64 1
%19 = load i8*, i8** %18
%20 = call i32* @fopen(i8* %19, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0))
store i32* %20, i32** %12
%21 = load i8**, i8*** %5
%22 = getelementptr inbounds i8*, i8** %21, i64 2
%23 = load i8*, i8** %22
%24 = call i32* @fopen(i8* %23, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
store i32* %24, i32** %13
%25 = getelementptr inbounds [9 x i8], [9 x i8]* %8, i64 0, i64 8
store i8 0, i8* %25
%26 = getelementptr inbounds [11 x i8], [11 x i8]* %7, i64 0, i64 10
store i8 0, i8* %26
br label %27
27: ; preds = %145, %2
%28 = load double, double* %15
%29 = fcmp olt double %28, 1.000000e+08
br i1 %29, label %30, label %150
30: ; preds = %27
%31 = load i32*, i32** %12
%32 = getelementptr inbounds [100 x i8], [100 x i8]* %6, i64 0, i64 0
%33 = call i32 (i32*, i8*, ...) @fscanf(i32* %31, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), i8* %32)
%34 = load double, double* %15
%35 = fadd double %34, 1.000000e+00
store double %35, double* %15
%36 = getelementptr inbounds [100 x i8], [100 x i8]* %6, i64 0, i64 1
%37 = load i8, i8* %36
%38 = sext i8 %37 to i32
%39 = icmp eq i32 %38, 0
br i1 %39, label %40, label %47
40: ; preds = %30
%41 = getelementptr inbounds [100 x i8], [100 x i8]* %6, i64 0, i64 0
%42 = load i8, i8* %41
%43 = sext i8 %42 to i32
%44 = icmp eq i32 %43, 0
br i1 %44, label %45, label %46
45: ; preds = %40
br label %150
46: ; preds = %40
br label %47
47: ; preds = %46, %30
%48 = getelementptr inbounds [100 x i8], [100 x i8]* %6, i64 0, i64 0
%49 = load i8, i8* %48
%50 = sext i8 %49 to i32
%51 = icmp eq i32 %50, 91
br i1 %51, label %52, label %69
52: ; preds = %47
store i32 0, i32* %14
br label %53
53: ; preds = %65, %52
%54 = load i32, i32* %14
%55 = icmp slt i32 %54, 10
br i1 %55, label %56, label %68
56: ; preds = %53
%57 = load i32, i32* %14
%58 = add nsw i32 %57, 1
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds [100 x i8], [100 x i8]* %6, i64 0, i64 %59
%61 = load i8, i8* %60
%62 = load i32, i32* %14
%63 = sext i32 %62 to i64
%64 = getelementptr inbounds [11 x i8], [11 x i8]* %7, i64 0, i64 %63
store i8 %61, i8* %64
br label %65
65: ; preds = %56
%66 = load i32, i32* %14
%67 = add nsw i32 %66, 1
store i32 %67, i32* %14
br label %53
68: ; preds = %53
br label %69
69: ; preds = %68, %47
%70 = getelementptr inbounds [100 x i8], [100 x i8]* %6, i64 0, i64 8
%71 = load i8, i8* %70
%72 = sext i8 %71 to i32
%73 = icmp eq i32 %72, 93
br i1 %73, label %74, label %90
74: ; preds = %69
store i32 0, i32* %14
br label %75
75: ; preds = %86, %74
%76 = load i32, i32* %14
%77 = icmp slt i32 %76, 8
br i1 %77, label %78, label %89
78: ; preds = %75
%79 = load i32, i32* %14
%80 = sext i32 %79 to i64
%81 = getelementptr inbounds [100 x i8], [100 x i8]* %6, i64 0, i64 %80
%82 = load i8, i8* %81
%83 = load i32, i32* %14
%84 = sext i32 %83 to i64
%85 = getelementptr inbounds [9 x i8], [9 x i8]* %8, i64 0, i64 %84
store i8 %82, i8* %85
br label %86
86: ; preds = %78
%87 = load i32, i32* %14
%88 = add nsw i32 %87, 1
store i32 %88, i32* %14
br label %75
89: ; preds = %75
br label %90
90: ; preds = %89, %69
%91 = getelementptr inbounds [100 x i8], [100 x i8]* %6, i64 0, i64 2
%92 = load i8, i8* %91
%93 = sext i8 %92 to i32
%94 = icmp sge i32 %93, 65
br i1 %94, label %95, label %117
95: ; preds = %90
%96 = getelementptr inbounds [100 x i8], [100 x i8]* %6, i64 0, i64 2
%97 = load i8, i8* %96
%98 = sext i8 %97 to i32
%99 = icmp sle i32 %98, 90
br i1 %99, label %100, label %116
100: ; preds = %95
store i32 0, i32* %14
br label %101
101: ; preds = %112, %100
%102 = load i32, i32* %14
%103 = icmp slt i32 %102, 4
br i1 %103, label %104, label %115
104: ; preds = %101
%105 = load i32, i32* %14
%106 = sext i32 %105 to i64
%107 = getelementptr inbounds [100 x i8], [100 x i8]* %6, i64 0, i64 %106
%108 = load i8, i8* %107
%109 = load i32, i32* %14
%110 = sext i32 %109 to i64
%111 = getelementptr inbounds [4 x i8], [4 x i8]* %9, i64 0, i64 %110
store i8 %108, i8* %111
br label %112
112: ; preds = %104
%113 = load i32, i32* %14
%114 = add nsw i32 %113, 1
store i32 %114, i32* %14
br label %101
115: ; preds = %101
br label %116
116: ; preds = %115, %95
br label %117
117: ; preds = %116, %90
%118 = getelementptr inbounds [100 x i8], [100 x i8]* %6, i64 0, i64 0
%119 = call i64 @strcmp(i8* %118, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.3, i64 0, i64 0))
%120 = icmp eq i64 %119, 0
br i1 %120, label %121, label %145
121: ; preds = %117
%122 = load i32*, i32** %12
%123 = getelementptr inbounds [100 x i8], [100 x i8]* %6, i64 0, i64 0
%124 = call i32 (i32*, i8*, ...) @fscanf(i32* %122, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), i8* %123)
br label %125
125: ; preds = %133, %121
%126 = getelementptr inbounds [100 x i8], [100 x i8]* %6, i64 0, i64 0
%127 = load i8, i8* %126
%128 = sext i8 %127 to i32
%129 = getelementptr inbounds [3 x i8], [3 x i8]* %11, i64 0, i64 0
%130 = load i8, i8* %129
%131 = sext i8 %130 to i32
%132 = icmp ne i32 %128, %131
br i1 %132, label %133, label %137
133: ; preds = %125
%134 = load i32*, i32** %12
%135 = getelementptr inbounds [100 x i8], [100 x i8]* %6, i64 0, i64 0
%136 = call i32 (i32*, i8*, ...) @fscanf(i32* %134, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), i8* %135)
br label %125
137: ; preds = %125
%138 = load i32*, i32** %12
%139 = call i32 (i32*, i8*, ...) @fscanf(i32* %138, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.4, i64 0, i64 0), i32* %10)
%140 = load i32*, i32** %13
%141 = getelementptr inbounds [11 x i8], [11 x i8]* %7, i64 0, i64 0
%142 = getelementptr inbounds [9 x i8], [9 x i8]* %8, i64 0, i64 0
%143 = load i32, i32* %10
%144 = call i32 @fprintf(i32* %140, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.5, i64 0, i64 0), i8* %141, i8* %142, i32 %143)
br label %145
145: ; preds = %137, %117
%146 = getelementptr inbounds [100 x i8], [100 x i8]* %6, i64 0, i64 2
store i8 0, i8* %146
%147 = getelementptr inbounds [100 x i8], [100 x i8]* %6, i64 0, i64 8
store i8 0, i8* %147
%148 = getelementptr inbounds [100 x i8], [100 x i8]* %6, i64 0, i64 1
store i8 0, i8* %148
%149 = getelementptr inbounds [100 x i8], [100 x i8]* %6, i64 0, i64 0
store i8 0, i8* %149
br label %27
150: ; preds = %45, %27
%151 = load i32*, i32** %12
%152 = call i32 @fclose(i32* %151)
%153 = load i32*, i32** %13
%154 = call i32 @fclose(i32* %153)
%155 = call i32 @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.6, i64 0, i64 0))
%156 = load i32, i32* @EXIT_SUCCESS
ret i32 %156
}

LLVM IR (-O2):
@.str = [2 x i8] c"r\00"
@.str.1 = [2 x i8] c"w\00"
@.str.2 = [3 x i8] c"%s\00"
@.str.3 = [9 x i8] c"listener\00"
@.str.4 = [3 x i8] c"%i\00"
@.str.5 = [12 x i8] c"%s\09 %s\09 %d\0A\00"
@EXIT_SUCCESS = global i32 0
@str = [6 x i8] c"Done!\00"
define i32 @main(i32 %0, i8** nocapture %1) {
%3 = alloca [100 x i8]
%4 = alloca [11 x i8]
%5 = getelementptr inbounds [11 x i8], [11 x i8]* %4, i64 0, i64 0
%6 = alloca [9 x i8]
%7 = alloca i32
%8 = getelementptr inbounds [100 x i8], [100 x i8]* %3, i64 0, i64 0
%9 = getelementptr inbounds [11 x i8], [11 x i8]* %4, i64 0, i64 0
%10 = getelementptr inbounds [9 x i8], [9 x i8]* %6, i64 0, i64 0
%11 = bitcast i32* %7 to i8*
%12 = getelementptr inbounds i8*, i8** %1, i64 1
%13 = load i8*, i8** %12
%14 = tail call i32* @fopen(i8* %13, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0))
%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.1, i64 0, i64 0))
%18 = getelementptr inbounds [9 x i8], [9 x i8]* %6, i64 0, i64 8
store i8 0, i8* %18
%19 = getelementptr inbounds [11 x i8], [11 x i8]* %4, i64 0, i64 10
store i8 0, i8* %19
%20 = getelementptr inbounds [100 x i8], [100 x i8]* %3, i64 0, i64 1
%21 = getelementptr inbounds [100 x i8], [100 x i8]* %3, i64 0, i64 8
%22 = getelementptr inbounds [100 x i8], [100 x i8]* %3, i64 0, i64 2
%23 = bitcast [100 x i8]* %3 to i64*
%24 = bitcast [9 x i8]* %6 to i64*
br label %25
25: ; preds = %2, %57
%26 = phi i32 [ 0, %2 ], [ %28, %57 ]
%27 = call i32 (i32*, i8*, ...) @fscanf(i32* %14, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), i8* %8)
%28 = add nuw nsw i32 %26, 1
%29 = load i8, i8* %20
%30 = icmp eq i8 %29, 0
%31 = load i8, i8* %8
%32 = icmp eq i8 %31, 0
%33 = select i1 %30, i1 %32, i1 false
br i1 %33, label %59, label %34
34: ; preds = %25
%35 = icmp eq i8 %31, 91
br i1 %35, label %36, label %37
36: ; preds = %34
br label %37
37: ; preds = %36, %34
%38 = load i8, i8* %21
%39 = icmp eq i8 %38, 93
br i1 %39, label %40, label %42
40: ; preds = %37
%41 = load i64, i64* %23
store i64 %41, i64* %24
br label %42
42: ; preds = %37, %40
%43 = call i64 @strcmp(i8* %8, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.3, i64 0, i64 0))
%44 = icmp eq i64 %43, 0
br i1 %44, label %45, label %57
45: ; preds = %42
%46 = call i32 (i32*, i8*, ...) @fscanf(i32* %14, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), i8* %8)
%47 = load i8, i8* %8
%48 = icmp eq i8 %47, 110
br i1 %48, label %53, label %49
49: ; preds = %45, %49
%50 = call i32 (i32*, i8*, ...) @fscanf(i32* %14, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), i8* %8)
%51 = load i8, i8* %8
%52 = icmp eq i8 %51, 110
br i1 %52, label %53, label %49
53: ; preds = %49, %45
%54 = call i32 (i32*, i8*, ...) @fscanf(i32* %14, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.4, i64 0, i64 0), i32* %7)
%55 = load i32, i32* %7
%56 = call i32 @fprintf(i32* %17, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.5, i64 0, i64 0), i8* %9, i8* %10, i32 %55)
br label %57
57: ; preds = %53, %42
store i8 0, i8* %22
store i8 0, i8* %21
store i8 0, i8* %20
store i8 0, i8* %8
%58 = icmp eq i32 %28, 100000000
br i1 %58, label %59, label %25
59: ; preds = %25, %57
%60 = call i32 @fclose(i32* %14)
%61 = call i32 @fclose(i32* %17)
%62 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @str, i64 0, i64 0))
%63 = load i32, i32* @EXIT_SUCCESS
ret i32 %63
}