#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);
int /*<<< orphan*/ fclose(int /*<<< orphan*/ *);
int /*<<< orphan*/ feof(int /*<<< orphan*/ *);
scalar_t__ fgets(char *, int, int /*<<< orphan*/ *);
int /*<<< orphan*/ *fopen(char *, char *);
int /*<<< orphan*/ fprintf(int /*<<< orphan*/ *, char *);
scalar_t__ malloc(int);
int /*<<< orphan*/ printf(char *, char *, char *);
int /*<<< orphan*/ sscanf(char *, char *, ...);
scalar_t__ strcmp(char *, char *);
int /*<<< orphan*/ strcpy(char *, char *);
int strlen(char *);
int /*<<< orphan*/ strncpy(char *, char *, int);
char *strstr(char *, char *);
int parse_time_file(char *inputFileName, char *outputFileName,
                    float atNumbers[], char *atStrings[]) {
  char matchString[] = "(at";
  char matchStringPrefix[] = "(";
  char matchStringPostfix[] = "))\0";
  int matchStringSize = strlen(matchString);
  int matchStringPrefixSize = strlen(matchStringPrefix);
  int matchStringPostfixSize = strlen(matchStringPostfix);
  char lineStringBuffer[1024];
  char *pStr;
  char endChar = '\0';
  char targetString[1024];
  int targetStringSize;
  int targetNumber;
  int atCount = 0;
  FILE *inFile;
  FILE *outFile;
  if ((inFile = fopen(inputFileName, "r")) == NULL ||
      (outFile = fopen(outputFileName, "w")) == NULL) {
    printf("Can not open %s or can not create %s !\n", inputFileName,
           outputFileName);
    exit(1);
  }
  while (!feof(inFile) && fgets(lineStringBuffer, 1024, inFile)) {
    sscanf(lineStringBuffer, "%s", targetString);
    if (strcmp(targetString, matchString) == 0) {
      pStr = strstr(lineStringBuffer, targetString);
      pStr += matchStringSize;
      strcpy(targetString, pStr);
      sscanf(targetString, "%d", &targetNumber);
      atNumbers[atCount] = targetNumber;
      pStr = strstr(targetString, matchStringPrefix);
      pStr += matchStringPrefixSize;
      targetStringSize = strlen(pStr) - matchStringPostfixSize;
      atStrings[atCount] = (char *)malloc(sizeof(char) * (targetStringSize));
      strncpy(atStrings[atCount], pStr, targetStringSize);
      atStrings[atCount++][targetStringSize - 1] = endChar;
    } else {
      fprintf(outFile, lineStringBuffer);
    }
  }
  fclose(inFile);
  fclose(outFile);
  return atCount;
}


x86 assembly (clang, -O0):
<parse_time_file>:
push   %rbp
mov    %rsp,%rbp
sub    $0x880,%rsp
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    %rdx,-0x18(%rbp)
mov    %rcx,-0x20(%rbp)
mov    0xdff(%rip),%eax
mov    %eax,-0x24(%rbp)
mov    0xdf9(%rip),%ax
mov    %ax,-0x26(%rbp)
mov    0xe23(%rip),%eax
mov    %eax,-0x2a(%rbp)
lea    -0x24(%rbp),%rdi
call   1060 <strlen@plt>
mov    %eax,-0x30(%rbp)
lea    -0x26(%rbp),%rdi
call   1060 <strlen@plt>
mov    %eax,-0x34(%rbp)
lea    -0x2a(%rbp),%rdi
call   1060 <strlen@plt>
mov    %eax,-0x38(%rbp)
movb   $0x0,-0x449(%rbp)
movl   $0x0,-0x85c(%rbp)
mov    -0x8(%rbp),%rdi
lea    0xdae(%rip),%rsi
call   10e0 <fopen@plt>
mov    %rax,-0x868(%rbp)
cmp    $0x0,%rax
je     128f <parse_time_file+0xaf>
mov    -0x10(%rbp),%rdi
lea    0xd8f(%rip),%rsi
call   10e0 <fopen@plt>
mov    %rax,-0x870(%rbp)
cmp    $0x0,%rax
jne    12ad <parse_time_file+0xcd>
mov    -0x8(%rbp),%rsi
mov    -0x10(%rbp),%rdx
lea    0xd6c(%rip),%rdi
call   1070 <printf@plt>
mov    $0x1,%edi
call   10f0 <exit@plt>
jmp    12b2 <parse_time_file+0xd2>
mov    -0x868(%rbp),%rdi
call   10b0 <feof@plt>
mov    %eax,%ecx
xor    %eax,%eax
cmp    $0x0,%ecx
mov    %al,-0x871(%rbp)
jne    12f6 <parse_time_file+0x116>
lea    -0x440(%rbp),%rdi
mov    -0x868(%rbp),%rdx
mov    $0x400,%esi
call   1080 <fgets@plt>
cmp    $0x0,%rax
setne  %al
mov    %al,-0x871(%rbp)
mov    -0x871(%rbp),%al
test   $0x1,%al
jne    1309 <parse_time_file+0x129>
jmp    148d <parse_time_file+0x2ad>
lea    -0x440(%rbp),%rdi
lea    -0x850(%rbp),%rdx
lea    0xd14(%rip),%rsi
mov    $0x0,%al
call   10d0 <sscanf@plt>
lea    -0x850(%rbp),%rdi
lea    -0x24(%rbp),%rsi
call   1090 <strcmp@plt>
cmp    $0x0,%rax
jne    1475 <parse_time_file+0x295>
lea    -0x440(%rbp),%rdi
lea    -0x850(%rbp),%rsi
call   1100 <strstr@plt>
mov    %rax,-0x448(%rbp)
mov    -0x30(%rbp),%ecx
mov    -0x448(%rbp),%rax
movslq %ecx,%rcx
add    %rcx,%rax
mov    %rax,-0x448(%rbp)
lea    -0x850(%rbp),%rdi
mov    -0x448(%rbp),%rsi
call   1040 <strcpy@plt>
lea    -0x850(%rbp),%rdi
lea    0xca4(%rip),%rsi
lea    -0x858(%rbp),%rdx
mov    $0x0,%al
call   10d0 <sscanf@plt>
cvtsi2ssl -0x858(%rbp),%xmm0
ff
mov    -0x18(%rbp),%rax
movslq -0x85c(%rbp),%rcx
movss  %xmm0,(%rax,%rcx,4)
lea    -0x850(%rbp),%rdi
lea    -0x26(%rbp),%rsi
call   1100 <strstr@plt>
mov    %rax,-0x448(%rbp)
mov    -0x34(%rbp),%ecx
mov    -0x448(%rbp),%rax
movslq %ecx,%rcx
add    %rcx,%rax
mov    %rax,-0x448(%rbp)
mov    -0x448(%rbp),%rdi
call   1060 <strlen@plt>
sub    -0x38(%rbp),%eax
mov    %eax,-0x854(%rbp)
movslq -0x854(%rbp),%rax
shl    $0x0,%rax
mov    %eax,%edi
call   10c0 <malloc@plt>
mov    %rax,%rdx
mov    -0x20(%rbp),%rax
movslq -0x85c(%rbp),%rcx
mov    %rdx,(%rax,%rcx,8)
mov    -0x20(%rbp),%rax
movslq -0x85c(%rbp),%rcx
mov    (%rax,%rcx,8),%rdi
mov    -0x448(%rbp),%rsi
mov    -0x854(%rbp),%edx
call   1030 <strncpy@plt>
mov    -0x449(%rbp),%dl
mov    -0x20(%rbp),%rax
mov    -0x85c(%rbp),%ecx
mov    %ecx,%esi
add    $0x1,%esi
mov    %esi,-0x85c(%rbp)
movslq %ecx,%rcx
mov    (%rax,%rcx,8),%rax
mov    -0x854(%rbp),%ecx
sub    $0x1,%ecx
movslq %ecx,%rcx
mov    %dl,(%rax,%rcx,1)
jmp    1488 <parse_time_file+0x2a8>
mov    -0x870(%rbp),%rdi
lea    -0x440(%rbp),%rsi
call   10a0 <fprintf@plt>
jmp    12b2 <parse_time_file+0xd2>
mov    -0x868(%rbp),%rdi
call   1050 <fclose@plt>
mov    -0x870(%rbp),%rdi
call   1050 <fclose@plt>
mov    -0x85c(%rbp),%eax
add    $0x880,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<parse_time_file>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x848,%rsp
mov    %rcx,0x38(%rsp)
mov    %rdx,0x30(%rsp)
mov    %rsi,%r14
mov    %rdi,%rbx
movl   $0x746128,0x8(%rsp)
movw   $0x28,0x2(%rsp)
movl   $0x2929,0x14(%rsp)
lea    0x8(%rsp),%rdi
call   1060 <strlen@plt>
mov    %eax,%ebp
lea    0x2(%rsp),%rdi
call   1060 <strlen@plt>
mov    %eax,%r15d
lea    0x14(%rsp),%rdi
call   1060 <strlen@plt>
mov    %eax,0xc(%rsp)
lea    0xdba(%rip),%rsi
mov    %rbx,%rdi
call   10e0 <fopen@plt>
test   %rax,%rax
je     1408 <parse_time_file+0x228>
mov    %rax,%r13
lea    0xda1(%rip),%rsi
mov    %r14,%rdi
call   10e0 <fopen@plt>
test   %rax,%rax
je     1408 <parse_time_file+0x228>
mov    %rax,%r12
mov    %r13,%rdi
call   10b0 <feof@plt>
movl   $0x0,0x4(%rsp)
test   %eax,%eax
je     12af <parse_time_file+0xcf>
mov    %r13,%rdi
call   1050 <fclose@plt>
mov    %r12,%rdi
call   1050 <fclose@plt>
mov    0x4(%rsp),%eax
add    $0x848,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret
movslq %ebp,%rax
mov    %rax,0x28(%rsp)
movslq %r15d,%rax
mov    %rax,0x20(%rsp)
lea    0x40(%rsp),%rbx
lea    0xd61(%rip),%r14
lea    0x440(%rsp),%r15
lea    0x8(%rsp),%rbp
movl   $0x0,0x4(%rsp)
mov    %r13,0x18(%rsp)
jmp    1307 <parse_time_file+0x127>
nopw   0x0(%rax,%rax,1)
mov    %r12,%rdi
mov    %rbx,%rsi
call   10a0 <fprintf@plt>
mov    %r13,%rdi
call   10b0 <feof@plt>
test   %eax,%eax
jne    1289 <parse_time_file+0xa9>
mov    %rbx,%rdi
mov    $0x400,%esi
mov    %r13,%rdx
call   1080 <fgets@plt>
test   %rax,%rax
je     1289 <parse_time_file+0xa9>
mov    %rbx,%rdi
mov    %r14,%rsi
mov    %r15,%rdx
xor    %eax,%eax
call   10d0 <sscanf@plt>
mov    %r15,%rdi
mov    %rbp,%rsi
call   1090 <strcmp@plt>
test   %rax,%rax
jne    12f0 <parse_time_file+0x110>
mov    %rbx,%rdi
mov    %r15,%rsi
call   1100 <strstr@plt>
mov    0x28(%rsp),%rcx
lea    (%rax,%rcx,1),%rsi
mov    %r15,%rdi
call   1040 <strcpy@plt>
mov    %r15,%rdi
lea    0xcc9(%rip),%rsi
lea    0x10(%rsp),%rdx
xor    %eax,%eax
call   10d0 <sscanf@plt>
cvtsi2ssl 0x10(%rsp),%xmm0
movslq 0x4(%rsp),%r14
mov    0x30(%rsp),%rax
movss  %xmm0,(%rax,%r14,4)
mov    %r15,%rdi
lea    0x2(%rsp),%rsi
call   1100 <strstr@plt>
mov    0x20(%rsp),%rcx
lea    (%rax,%rcx,1),%rbx
mov    %rbx,%rdi
call   1060 <strlen@plt>
mov    %eax,%r13d
sub    0xc(%rsp),%r13d
mov    %r13d,%edi
call   10c0 <malloc@plt>
mov    %r15,%rbp
mov    %r12,%r15
mov    0x38(%rsp),%r12
mov    %rax,(%r12,%r14,8)
mov    %rax,%rdi
mov    %rbx,%rsi
mov    %r13d,%edx
call   1030 <strncpy@plt>
lea    0x1(%r14),%eax
mov    %eax,0x4(%rsp)
mov    (%r12,%r14,8),%rax
lea    0xc46(%rip),%r14
lea    0x40(%rsp),%rbx
mov    %r15,%r12
mov    %rbp,%r15
lea    0x8(%rsp),%rbp
movslq %r13d,%rcx
mov    0x18(%rsp),%r13
movb   $0x0,-0x1(%rcx,%rax,1)
jmp    12fb <parse_time_file+0x11b>
lea    0xbf5(%rip),%rdi
mov    %rbx,%rsi
mov    %r14,%rdx
call   1070 <printf@plt>
mov    $0x1,%edi
call   10f0 <exit@plt>

LLVM IR (-O0):
@__const.parse_time_file.matchString = [4 x i8] c"(at\00"
@__const.parse_time_file.matchStringPrefix = [2 x i8] c"(\00"
@__const.parse_time_file.matchStringPostfix = [4 x i8] c"))\00\00"
@.str = [2 x i8] c"r\00"
@.str.1 = [2 x i8] c"w\00"
@.str.2 = [40 x i8] c"Can not open %s or can not create %s !\0A\00"
@.str.3 = [3 x i8] c"%s\00"
@.str.4 = [3 x i8] c"%d\00"
define i32 @parse_time_file(i8* %0, i8* %1, float* %2, i8** %3) {
%5 = alloca i8*
%6 = alloca i8*
%7 = alloca float*
%8 = alloca i8**
%9 = alloca [4 x i8]
%10 = alloca [2 x i8]
%11 = alloca [4 x i8]
%12 = alloca i32
%13 = alloca i32
%14 = alloca i32
%15 = alloca [1024 x i8]
%16 = alloca i8*
%17 = alloca i8
%18 = alloca [1024 x i8]
%19 = alloca i32
%20 = alloca i32
%21 = alloca i32
%22 = alloca i32*
%23 = alloca i32*
store i8* %0, i8** %5
store i8* %1, i8** %6
store float* %2, float** %7
store i8** %3, i8*** %8
%24 = bitcast [4 x i8]* %9 to i8*
%25 = bitcast [2 x i8]* %10 to i8*
%26 = bitcast [4 x i8]* %11 to i8*
%27 = getelementptr inbounds [4 x i8], [4 x i8]* %9, i64 0, i64 0
%28 = call i32 @strlen(i8* %27)
store i32 %28, i32* %12
%29 = getelementptr inbounds [2 x i8], [2 x i8]* %10, i64 0, i64 0
%30 = call i32 @strlen(i8* %29)
store i32 %30, i32* %13
%31 = getelementptr inbounds [4 x i8], [4 x i8]* %11, i64 0, i64 0
%32 = call i32 @strlen(i8* %31)
store i32 %32, i32* %14
store i8 0, i8* %17
store i32 0, i32* %21
%33 = load i8*, i8** %5
%34 = call i32* @fopen(i8* %33, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0))
store i32* %34, i32** %22
%35 = icmp eq i32* %34, null
br i1 %35, label %40, label %36
36: ; preds = %4
%37 = load i8*, i8** %6
%38 = call i32* @fopen(i8* %37, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
store i32* %38, i32** %23
%39 = icmp eq i32* %38, null
br i1 %39, label %40, label %45
40: ; preds = %36, %4
%41 = load i8*, i8** %5
%42 = load i8*, i8** %6
%43 = call i32 @printf(i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str.2, i64 0, i64 0), i8* %41, i8* %42)
%44 = call i32 @exit(i32 1)
unreachable
45: ; preds = %36
br label %46
46: ; preds = %128, %45
%47 = load i32*, i32** %22
%48 = call i32 @feof(i32* %47)
%49 = icmp ne i32 %48, 0
br i1 %49, label %55, label %50
50: ; preds = %46
%51 = getelementptr inbounds [1024 x i8], [1024 x i8]* %15, i64 0, i64 0
%52 = load i32*, i32** %22
%53 = call i64 @fgets(i8* %51, i32 1024, i32* %52)
%54 = icmp ne i64 %53, 0
br label %55
55: ; preds = %50, %46
%56 = phi i1 [ false, %46 ], [ %54, %50 ]
br i1 %56, label %57, label %129
57: ; preds = %55
%58 = getelementptr inbounds [1024 x i8], [1024 x i8]* %15, i64 0, i64 0
%59 = getelementptr inbounds [1024 x i8], [1024 x i8]* %18, i64 0, i64 0
%60 = call i32 (i8*, i8*, ...) @sscanf(i8* %58, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), i8* %59)
%61 = getelementptr inbounds [1024 x i8], [1024 x i8]* %18, i64 0, i64 0
%62 = getelementptr inbounds [4 x i8], [4 x i8]* %9, i64 0, i64 0
%63 = call i64 @strcmp(i8* %61, i8* %62)
%64 = icmp eq i64 %63, 0
br i1 %64, label %65, label %124
65: ; preds = %57
%66 = getelementptr inbounds [1024 x i8], [1024 x i8]* %15, i64 0, i64 0
%67 = getelementptr inbounds [1024 x i8], [1024 x i8]* %18, i64 0, i64 0
%68 = call i8* @strstr(i8* %66, i8* %67)
store i8* %68, i8** %16
%69 = load i32, i32* %12
%70 = load i8*, i8** %16
%71 = sext i32 %69 to i64
%72 = getelementptr inbounds i8, i8* %70, i64 %71
store i8* %72, i8** %16
%73 = getelementptr inbounds [1024 x i8], [1024 x i8]* %18, i64 0, i64 0
%74 = load i8*, i8** %16
%75 = call i32 @strcpy(i8* %73, i8* %74)
%76 = getelementptr inbounds [1024 x i8], [1024 x i8]* %18, i64 0, i64 0
%77 = call i32 (i8*, i8*, ...) @sscanf(i8* %76, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.4, i64 0, i64 0), i32* %20)
%78 = load i32, i32* %20
%79 = sitofp i32 %78 to float
%80 = load float*, float** %7
%81 = load i32, i32* %21
%82 = sext i32 %81 to i64
%83 = getelementptr inbounds float, float* %80, i64 %82
store float %79, float* %83
%84 = getelementptr inbounds [1024 x i8], [1024 x i8]* %18, i64 0, i64 0
%85 = getelementptr inbounds [2 x i8], [2 x i8]* %10, i64 0, i64 0
%86 = call i8* @strstr(i8* %84, i8* %85)
store i8* %86, i8** %16
%87 = load i32, i32* %13
%88 = load i8*, i8** %16
%89 = sext i32 %87 to i64
%90 = getelementptr inbounds i8, i8* %88, i64 %89
store i8* %90, i8** %16
%91 = load i8*, i8** %16
%92 = call i32 @strlen(i8* %91)
%93 = load i32, i32* %14
%94 = sub nsw i32 %92, %93
store i32 %94, i32* %19
%95 = load i32, i32* %19
%96 = sext i32 %95 to i64
%97 = mul i64 1, %96
%98 = trunc i64 %97 to i32
%99 = call i64 @malloc(i32 %98)
%100 = inttoptr i64 %99 to i8*
%101 = load i8**, i8*** %8
%102 = load i32, i32* %21
%103 = sext i32 %102 to i64
%104 = getelementptr inbounds i8*, i8** %101, i64 %103
store i8* %100, i8** %104
%105 = load i8**, i8*** %8
%106 = load i32, i32* %21
%107 = sext i32 %106 to i64
%108 = getelementptr inbounds i8*, i8** %105, i64 %107
%109 = load i8*, i8** %108
%110 = load i8*, i8** %16
%111 = load i32, i32* %19
%112 = call i32 @strncpy(i8* %109, i8* %110, i32 %111)
%113 = load i8, i8* %17
%114 = load i8**, i8*** %8
%115 = load i32, i32* %21
%116 = add nsw i32 %115, 1
store i32 %116, i32* %21
%117 = sext i32 %115 to i64
%118 = getelementptr inbounds i8*, i8** %114, i64 %117
%119 = load i8*, i8** %118
%120 = load i32, i32* %19
%121 = sub nsw i32 %120, 1
%122 = sext i32 %121 to i64
%123 = getelementptr inbounds i8, i8* %119, i64 %122
store i8 %113, i8* %123
br label %128
124: ; preds = %57
%125 = load i32*, i32** %23
%126 = getelementptr inbounds [1024 x i8], [1024 x i8]* %15, i64 0, i64 0
%127 = call i32 @fprintf(i32* %125, i8* %126)
br label %128
128: ; preds = %124, %65
br label %46
129: ; preds = %55
%130 = load i32*, i32** %22
%131 = call i32 @fclose(i32* %130)
%132 = load i32*, i32** %23
%133 = call i32 @fclose(i32* %132)
%134 = load i32, i32* %21
ret i32 %134
}

LLVM IR (-O2):
@.str = [2 x i8] c"r\00"
@.str.1 = [2 x i8] c"w\00"
@.str.2 = [40 x i8] c"Can not open %s or can not create %s !\0A\00"
@.str.3 = [3 x i8] c"%s\00"
@.str.4 = [3 x i8] c"%d\00"
define i32 @parse_time_file(i8* %0, i8* %1, float* nocapture writeonly %2, i8** nocapture %3) {
%5 = alloca i32
%6 = alloca i16
%7 = alloca i32
%8 = alloca [1024 x i8]
%9 = alloca [1024 x i8]
%10 = alloca i32
%11 = bitcast i32* %5 to i8*
store i32 7627048, i32* %5
%12 = bitcast i16* %6 to i8*
store i16 40, i16* %6
%13 = bitcast i32* %7 to i8*
store i32 10537, i32* %7
%14 = call i32 @strlen(i8* %11)
%15 = call i32 @strlen(i8* %12)
%16 = call i32 @strlen(i8* %13)
%17 = getelementptr inbounds [1024 x i8], [1024 x i8]* %8, i64 0, i64 0
%18 = getelementptr inbounds [1024 x i8], [1024 x i8]* %9, i64 0, i64 0
%19 = bitcast i32* %10 to i8*
%20 = call i32* @fopen(i8* %0, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0))
%21 = icmp eq i32* %20, null
br i1 %21, label %31, label %22
22: ; preds = %4
%23 = call i32* @fopen(i8* %1, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
%24 = icmp eq i32* %23, null
br i1 %24, label %31, label %25
25: ; preds = %22
%26 = call i32 @feof(i32* %20)
%27 = icmp eq i32 %26, 0
br i1 %27, label %28, label %70
28: ; preds = %25
%29 = sext i32 %14 to i64
%30 = sext i32 %15 to i64
br label %34
31: ; preds = %22, %4
%32 = call i32 @printf(i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str.2, i64 0, i64 0), i8* %0, i8* %1)
%33 = call i32 @exit(i32 1)
unreachable
34: ; preds = %28, %66
%35 = phi i32 [ 0, %28 ], [ %67, %66 ]
%36 = call i64 @fgets(i8* %17, i32 1024, i32* %20)
%37 = icmp eq i64 %36, 0
br i1 %37, label %70, label %38
38: ; preds = %34
%39 = call i32 (i8*, i8*, ...) @sscanf(i8* %17, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), i8* %18)
%40 = call i64 @strcmp(i8* %18, i8* %11)
%41 = icmp eq i64 %40, 0
br i1 %41, label %42, label %64
42: ; preds = %38
%43 = call i8* @strstr(i8* %17, i8* %18)
%44 = getelementptr inbounds i8, i8* %43, i64 %29
%45 = call i32 @strcpy(i8* %18, i8* %44)
%46 = call i32 (i8*, i8*, ...) @sscanf(i8* %18, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.4, i64 0, i64 0), i32* %10)
%47 = load i32, i32* %10
%48 = sitofp i32 %47 to float
%49 = sext i32 %35 to i64
%50 = getelementptr inbounds float, float* %2, i64 %49
store float %48, float* %50
%51 = call i8* @strstr(i8* %18, i8* %12)
%52 = getelementptr inbounds i8, i8* %51, i64 %30
%53 = call i32 @strlen(i8* %52)
%54 = sub nsw i32 %53, %16
%55 = call i64 @malloc(i32 %54)
%56 = inttoptr i64 %55 to i8*
%57 = getelementptr inbounds i8*, i8** %3, i64 %49
store i8* %56, i8** %57
%58 = call i32 @strncpy(i8* %56, i8* %52, i32 %54)
%59 = add nsw i32 %35, 1
%60 = load i8*, i8** %57
%61 = add nsw i32 %54, -1
%62 = sext i32 %61 to i64
%63 = getelementptr inbounds i8, i8* %60, i64 %62
store i8 0, i8* %63
br label %66
64: ; preds = %38
%65 = call i32 @fprintf(i32* %23, i8* %17)
br label %66
66: ; preds = %64, %42
%67 = phi i32 [ %59, %42 ], [ %35, %64 ]
%68 = call i32 @feof(i32* %20)
%69 = icmp eq i32 %68, 0
br i1 %69, label %34, label %70
70: ; preds = %34, %66, %25
%71 = phi i32 [ 0, %25 ], [ %67, %66 ], [ %35, %34 ]
%72 = call i32 @fclose(i32* %20)
%73 = call i32 @fclose(i32* %23)
ret i32 %71
}