; LLVM IR from MQCPack/mqcPack :: examples/tools (CheckGauInput)

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%struct.InputLine = type { ptr, ptr, i32, i32, i32, ptr, ptr }

@GAU_File = external dso_local global ptr, align 8
@CheckGAU_File = external dso_local global ptr, align 8
@Last_Keyword = external dso_local global ptr, align 8
@Last_NonBlank = external dso_local global ptr, align 8
@.str.8 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [65 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [64 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [78 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [93 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [57 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.34 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.35 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.36 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.37 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.38 = external hidden unnamed_addr constant [67 x i8], align 1
@.str.39 = external hidden unnamed_addr constant [118 x i8], align 1
@.str.40 = external hidden unnamed_addr constant [40 x i8], align 1
@.str.41 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.42 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.43 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.44 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.45 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.46 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.47 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.48 = external hidden unnamed_addr constant [66 x i8], align 1
@.str.49 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.50 = external hidden unnamed_addr constant [39 x i8], align 1

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #0

declare i32 @printf(ptr noundef, ...) #1

; Function Attrs: nounwind uwtable
declare dso_local void @mqc_error(ptr noundef) #2

; Function Attrs: nounwind uwtable
define dso_local ptr @mqc_GetMatrixFile(ptr noundef %0, ptr noundef %1) #2 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca [1024 x i8], align 16
  %8 = alloca [1024 x i8], align 16
  %9 = alloca [1024 x i8], align 16
  %10 = alloca [1024 x i8], align 16
  %11 = alloca [1024 x i8], align 16
  %12 = alloca [1024 x i8], align 16
  %13 = alloca [1024 x i8], align 16
  %14 = alloca [1024 x i8], align 16
  %15 = alloca ptr, align 8
  %16 = alloca ptr, align 8
  %17 = alloca ptr, align 8
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  %21 = alloca i32, align 4
  %22 = alloca i32, align 4
  %23 = alloca i32, align 4
  %24 = alloca i32, align 4
  %25 = alloca i32, align 4
  %26 = alloca i32, align 4
  %27 = alloca i32, align 4
  %28 = alloca i32, align 4
  %29 = alloca i32, align 4
  %30 = alloca i32, align 4
  %31 = alloca i32, align 4
  %32 = alloca i32, align 4
  %33 = alloca i32, align 4
  %34 = alloca i32, align 4
  %35 = alloca i32, align 4
  %36 = alloca ptr, align 8
  %37 = alloca ptr, align 8
  %38 = alloca ptr, align 8
  %39 = alloca ptr, align 8
  %40 = alloca i32, align 4
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #5
  call void @llvm.lifetime.start.p0(i64 1024, ptr %7) #5
  call void @llvm.lifetime.start.p0(i64 1024, ptr %8) #5
  call void @llvm.lifetime.start.p0(i64 1024, ptr %9) #5
  call void @llvm.lifetime.start.p0(i64 1024, ptr %10) #5
  call void @llvm.lifetime.start.p0(i64 1024, ptr %11) #5
  call void @llvm.lifetime.start.p0(i64 1024, ptr %12) #5
  call void @llvm.lifetime.start.p0(i64 1024, ptr %13) #5
  call void @llvm.lifetime.start.p0(i64 1024, ptr %14) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %28) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %29) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %30) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %31) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %32) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %33) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %34) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %35) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %36) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %37) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %38) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %39) #5
  store ptr null, ptr %17, align 8, !tbaa !5
  store i32 0, ptr %20, align 4, !tbaa !9
  store i32 0, ptr %21, align 4, !tbaa !9
  store i32 -1, ptr %25, align 4, !tbaa !9
  store i32 0, ptr %26, align 4, !tbaa !9
  %41 = call i32 @getpid() #5
  store i32 %41, ptr %19, align 4, !tbaa !9
  %42 = call ptr @getenv(ptr noundef @.str.8) #5
  store ptr %42, ptr %16, align 8, !tbaa !5
  %43 = load ptr, ptr %16, align 8, !tbaa !5
  %44 = icmp eq ptr %43, null
  br i1 %44, label %45, label %49

45:                                               ; preds = %2
  %46 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 0
  %47 = load i32, ptr %19, align 4, !tbaa !9
  %48 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %46, ptr noundef @.str.9, i32 noundef %47) #5
  br label %54

49:                                               ; preds = %2
  %50 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 0
  %51 = load ptr, ptr %16, align 8, !tbaa !5
  %52 = load i32, ptr %19, align 4, !tbaa !9
  %53 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %50, ptr noundef @.str.10, ptr noundef %51, i32 noundef %52) #5
  br label %54

54:                                               ; preds = %49, %45
  %55 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 0
  %56 = call noalias ptr @fopen(ptr noundef %55, ptr noundef @.str.11)
  store ptr %56, ptr @CheckGAU_File, align 8, !tbaa !5
  %57 = load ptr, ptr @CheckGAU_File, align 8, !tbaa !5
  %58 = icmp eq ptr %57, null
  br i1 %58, label %59, label %64

59:                                               ; preds = %54
  %60 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0
  %61 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 0
  %62 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %60, ptr noundef @.str.12, ptr noundef %61) #5
  %63 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0
  call void @mqc_error(ptr noundef %63)
  br label %64

64:                                               ; preds = %59, %54
  %65 = load ptr, ptr @CheckGAU_File, align 8, !tbaa !5
  %66 = call i32 @fclose(ptr noundef %65)
  store i32 %66, ptr %18, align 4, !tbaa !9
  store ptr null, ptr @CheckGAU_File, align 8, !tbaa !5
  %67 = load i32, ptr %18, align 4, !tbaa !9
  %68 = icmp ne i32 %67, 0
  br i1 %68, label %69, label %74

69:                                               ; preds = %64
  %70 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0
  %71 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 0
  %72 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %70, ptr noundef @.str.13, ptr noundef %71) #5
  %73 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0
  call void @mqc_error(ptr noundef %73)
  br label %74

74:                                               ; preds = %69, %64
  %75 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 0
  %76 = call i32 @unlink(ptr noundef %75) #5
  store ptr null, ptr @CheckGAU_File, align 8, !tbaa !5
  %77 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0
  %78 = load ptr, ptr %4, align 8, !tbaa !5
  %79 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 0
  %80 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %77, ptr noundef @.str.14, ptr noundef %78, ptr noundef %79) #5
  %81 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0
  %82 = call i32 @system(ptr noundef %81)
  store i32 %82, ptr %28, align 4, !tbaa !9
  %83 = load i32, ptr %28, align 4, !tbaa !9
  %84 = icmp eq i32 %83, -1
  br i1 %84, label %85, label %104

85:                                               ; preds = %74
  %86 = load ptr, ptr %4, align 8, !tbaa !5
  %87 = call noalias ptr @fopen(ptr noundef %86, ptr noundef @.str.15)
  store ptr %87, ptr @GAU_File, align 8, !tbaa !5
  %88 = load ptr, ptr @GAU_File, align 8, !tbaa !5
  %89 = icmp eq ptr %88, null
  br i1 %89, label %90, label %94

90:                                               ; preds = %85
  %91 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0
  %92 = load ptr, ptr %4, align 8, !tbaa !5
  %93 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %91, ptr noundef @.str.16, ptr noundef %92) #5
  br label %98

94:                                               ; preds = %85
  %95 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0
  %96 = load ptr, ptr %4, align 8, !tbaa !5
  %97 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %95, ptr noundef @.str.17, ptr noundef %96) #5
  br label %98

98:                                               ; preds = %94, %90
  %99 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 0
  %100 = call noalias ptr @fopen(ptr noundef %99, ptr noundef @.str.11)
  store ptr %100, ptr @CheckGAU_File, align 8, !tbaa !5
  %101 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 0
  %102 = call i32 @unlink(ptr noundef %101) #5
  %103 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0
  call void @mqc_error(ptr noundef %103)
  br label %104

104:                                              ; preds = %98, %74
  %105 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 0
  %106 = call noalias ptr @fopen(ptr noundef %105, ptr noundef @.str.15)
  store ptr %106, ptr @CheckGAU_File, align 8, !tbaa !5
  %107 = load ptr, ptr @CheckGAU_File, align 8, !tbaa !5
  %108 = icmp eq ptr %107, null
  br i1 %108, label %109, label %114

109:                                              ; preds = %104
  %110 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0
  %111 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 0
  %112 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %110, ptr noundef @.str.18, ptr noundef %111) #5
  %113 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0
  call void @mqc_error(ptr noundef %113)
  br label %114

114:                                              ; preds = %109, %104
  %115 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0
  %116 = load ptr, ptr @CheckGAU_File, align 8, !tbaa !5
  %117 = call ptr @fgets(ptr noundef %115, i32 noundef 1024, ptr noundef %116)
  store ptr %117, ptr %17, align 8, !tbaa !5
  %118 = load ptr, ptr @CheckGAU_File, align 8, !tbaa !5
  %119 = call i32 @fclose(ptr noundef %118)
  store i32 %119, ptr %18, align 4, !tbaa !9
  store ptr null, ptr @CheckGAU_File, align 8, !tbaa !5
  %120 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0
  %121 = call i32 @mqc_FINDstrINline(ptr noundef @.str.19, ptr noundef %120)
  %122 = icmp eq i32 -1, %121
  br i1 %122, label %123, label %129

123:                                              ; preds = %114
  %124 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 0
  %125 = call i32 @unlink(ptr noundef %124) #5
  %126 = load ptr, ptr %4, align 8, !tbaa !5
  %127 = call ptr @mqc_DupString(ptr noundef %126, ptr noundef null)
  store ptr %127, ptr %6, align 8, !tbaa !5
  %128 = load ptr, ptr %6, align 8, !tbaa !5
  store ptr %128, ptr %3, align 8
  store i32 1, ptr %40, align 4
  br label %529

129:                                              ; preds = %114
  %130 = getelementptr inbounds [1024 x i8], ptr %10, i64 0, i64 0
  %131 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 0
  %132 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %130, ptr noundef @.str.20, ptr noundef %131) #5
  %133 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0
  %134 = load ptr, ptr %5, align 8, !tbaa !5
  %135 = getelementptr inbounds [1024 x i8], ptr %10, i64 0, i64 0
  %136 = getelementptr inbounds [1024 x i8], ptr %10, i64 0, i64 0
  %137 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %133, ptr noundef @.str.21, ptr noundef %134, ptr noundef %135, ptr noundef %136) #5
  %138 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 0
  %139 = call noalias ptr @fopen(ptr noundef %138, ptr noundef @.str.11)
  store ptr %139, ptr @CheckGAU_File, align 8, !tbaa !5
  %140 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0
  %141 = load ptr, ptr @CheckGAU_File, align 8, !tbaa !5
  %142 = call i32 @fputs(ptr noundef %140, ptr noundef %141)
  store i32 %142, ptr %23, align 4, !tbaa !9
  %143 = load ptr, ptr @CheckGAU_File, align 8, !tbaa !5
  %144 = call i32 @fclose(ptr noundef %143)
  store i32 %144, ptr %18, align 4, !tbaa !9
  store ptr null, ptr @CheckGAU_File, align 8, !tbaa !5
  %145 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0
  %146 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 0
  %147 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 0
  %148 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %145, ptr noundef @.str.22, ptr noundef %146, ptr noundef %147) #5
  %149 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0
  %150 = call i32 @system(ptr noundef %149)
  store i32 %150, ptr %28, align 4, !tbaa !9
  %151 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 0
  %152 = call i32 @unlink(ptr noundef %151) #5
  %153 = load i32, ptr %28, align 4, !tbaa !9
  %154 = icmp eq i32 %153, -1
  br i1 %154, label %155, label %162

155:                                              ; preds = %129
  %156 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0
  %157 = load ptr, ptr %5, align 8, !tbaa !5
  %158 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %156, ptr noundef @.str.23, ptr noundef %157) #5
  %159 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 0
  %160 = call i32 @unlink(ptr noundef %159) #5
  %161 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0
  call void @mqc_error(ptr noundef %161)
  br label %162

162:                                              ; preds = %155, %129
  %163 = getelementptr inbounds [1024 x i8], ptr %10, i64 0, i64 0
  %164 = call noalias ptr @fopen(ptr noundef %163, ptr noundef @.str.15)
  store ptr %164, ptr @CheckGAU_File, align 8, !tbaa !5
  %165 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0
  %166 = load ptr, ptr @CheckGAU_File, align 8, !tbaa !5
  %167 = call ptr @fgets(ptr noundef %165, i32 noundef 1024, ptr noundef %166)
  store ptr %167, ptr %17, align 8, !tbaa !5
  %168 = load ptr, ptr @CheckGAU_File, align 8, !tbaa !5
  %169 = call i32 @fclose(ptr noundef %168)
  store i32 %169, ptr %18, align 4, !tbaa !9
  store ptr null, ptr @CheckGAU_File, align 8, !tbaa !5
  %170 = getelementptr inbounds [1024 x i8], ptr %10, i64 0, i64 0
  %171 = call i32 @unlink(ptr noundef %170) #5
  %172 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0
  %173 = call i32 @strncmp(ptr noundef %172, ptr noundef @.str.24, i64 noundef 1) #6
  %174 = icmp ne i32 %173, 0
  br i1 %174, label %175, label %180

175:                                              ; preds = %162
  %176 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0
  %177 = load ptr, ptr %5, align 8, !tbaa !5
  %178 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %176, ptr noundef @.str.25, ptr noundef %177) #5
  %179 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0
  call void @mqc_error(ptr noundef %179)
  br label %180

180:                                              ; preds = %175, %162
  %181 = load ptr, ptr %4, align 8, !tbaa !5
  %182 = call noalias ptr @fopen(ptr noundef %181, ptr noundef @.str.15)
  store ptr %182, ptr @GAU_File, align 8, !tbaa !5
  %183 = load ptr, ptr @GAU_File, align 8, !tbaa !5
  %184 = icmp eq ptr %183, null
  br i1 %184, label %185, label %190

185:                                              ; preds = %180
  %186 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0
  %187 = load ptr, ptr %4, align 8, !tbaa !5
  %188 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %186, ptr noundef @.str.26, ptr noundef %187) #5
  %189 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0
  call void @mqc_error(ptr noundef %189)
  br label %190

190:                                              ; preds = %185, %180
  store i32 -1, ptr %25, align 4, !tbaa !9
  %191 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0
  %192 = load ptr, ptr @GAU_File, align 8, !tbaa !5
  %193 = call ptr @fgets(ptr noundef %191, i32 noundef 1024, ptr noundef %192)
  store ptr %193, ptr %17, align 8, !tbaa !5
  %194 = load ptr, ptr %17, align 8, !tbaa !5
  %195 = icmp ne ptr %194, null
  br i1 %195, label %196, label %200

196:                                              ; preds = %190
  %197 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0
  %198 = call ptr @mqc_Alloc_InputLine(ptr noundef %197, ptr noundef null)
  store ptr %198, ptr %37, align 8, !tbaa !5
  %199 = load ptr, ptr %37, align 8, !tbaa !5
  store ptr %199, ptr %36, align 8, !tbaa !5
  br label %200

200:                                              ; preds = %196, %190
  br label %201

201:                                              ; preds = %363, %200
  %202 = load ptr, ptr %17, align 8, !tbaa !5
  %203 = icmp ne ptr %202, null
  br i1 %203, label %204, label %364

204:                                              ; preds = %201
  %205 = load ptr, ptr %37, align 8, !tbaa !5
  %206 = getelementptr inbounds %struct.InputLine, ptr %205, i32 0, i32 3
  %207 = load i32, ptr %206, align 4, !tbaa !11
  %208 = icmp eq i32 %207, 1
  br i1 %208, label %209, label %348

209:                                              ; preds = %204
  store i32 0, ptr %24, align 4, !tbaa !9
  %210 = load i32, ptr %26, align 4, !tbaa !9
  %211 = add nsw i32 %210, 1
  store i32 %211, ptr %26, align 4, !tbaa !9
  store i32 0, ptr %27, align 4, !tbaa !9
  %212 = load i32, ptr %20, align 4, !tbaa !9
  %213 = add nsw i32 %212, 1
  store i32 %213, ptr %20, align 4, !tbaa !9
  br label %214

214:                                              ; preds = %316, %209
  %215 = load ptr, ptr %37, align 8, !tbaa !5
  %216 = getelementptr inbounds %struct.InputLine, ptr %215, i32 0, i32 2
  %217 = load i32, ptr %216, align 8, !tbaa !13
  %218 = icmp eq i32 %217, 0
  br i1 %218, label %219, label %222

219:                                              ; preds = %214
  %220 = load ptr, ptr %17, align 8, !tbaa !5
  %221 = icmp ne ptr %220, null
  br label %222

222:                                              ; preds = %219, %214
  %223 = phi i1 [ false, %214 ], [ %221, %219 ]
  br i1 %223, label %224, label %317

224:                                              ; preds = %222
  %225 = load ptr, ptr %37, align 8, !tbaa !5
  %226 = getelementptr inbounds %struct.InputLine, ptr %225, i32 0, i32 6
  %227 = load ptr, ptr %226, align 8, !tbaa !14
  %228 = call i32 @mqc_FINDstrINline(ptr noundef @.str.27, ptr noundef %227)
  %229 = icmp ne i32 %228, -1
  br i1 %229, label %230, label %231

230:                                              ; preds = %224
  store i32 1, ptr %24, align 4, !tbaa !9
  br label %231

231:                                              ; preds = %230, %224
  store i32 0, ptr %33, align 4, !tbaa !9
  %232 = load ptr, ptr %37, align 8, !tbaa !5
  %233 = getelementptr inbounds %struct.InputLine, ptr %232, i32 0, i32 6
  %234 = load ptr, ptr %233, align 8, !tbaa !14
  %235 = call i32 @mqc_FINDstrINline(ptr noundef @.str.28, ptr noundef %234)
  store i32 %235, ptr %29, align 4, !tbaa !9
  %236 = load i32, ptr %29, align 4, !tbaa !9
  %237 = icmp ne i32 %236, -1
  br i1 %237, label %238, label %274

238:                                              ; preds = %231
  %239 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 0
  %240 = load ptr, ptr %37, align 8, !tbaa !5
  %241 = getelementptr inbounds %struct.InputLine, ptr %240, i32 0, i32 6
  %242 = load ptr, ptr %241, align 8, !tbaa !14
  %243 = call ptr @strcpy(ptr noundef %239, ptr noundef %242) #5
  %244 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0
  %245 = load i32, ptr %29, align 4, !tbaa !9
  %246 = sext i32 %245 to i64
  %247 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 %246
  %248 = call ptr @strcpy(ptr noundef %244, ptr noundef %247) #5
  %249 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0
  %250 = call i32 @mqc_FINDstrINline(ptr noundef @.str.29, ptr noundef %249)
  store i32 %250, ptr %29, align 4, !tbaa !9
  %251 = load i32, ptr %29, align 4, !tbaa !9
  %252 = icmp ne i32 %251, -1
  br i1 %252, label %253, label %258

253:                                              ; preds = %238
  %254 = load i32, ptr %29, align 4, !tbaa !9
  %255 = sext i32 %254 to i64
  %256 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 %255
  %257 = call ptr @strcpy(ptr noundef %256, ptr noundef @.str.30) #5
  br label %258

258:                                              ; preds = %253, %238
  %259 = load ptr, ptr %37, align 8, !tbaa !5
  %260 = getelementptr inbounds %struct.InputLine, ptr %259, i32 0, i32 3
  store i32 1, ptr %260, align 4, !tbaa !11
  %261 = load ptr, ptr %37, align 8, !tbaa !5
  %262 = getelementptr inbounds %struct.InputLine, ptr %261, i32 0, i32 6
  %263 = load ptr, ptr %262, align 8, !tbaa !14
  %264 = call i32 @mqc_FINDstrINline(ptr noundef @.str.31, ptr noundef %263)
  %265 = icmp ne i32 %264, -1
  br i1 %265, label %272, label %266

266:                                              ; preds = %258
  %267 = load ptr, ptr %37, align 8, !tbaa !5
  %268 = getelementptr inbounds %struct.InputLine, ptr %267, i32 0, i32 6
  %269 = load ptr, ptr %268, align 8, !tbaa !14
  %270 = call i32 @mqc_FINDstrINline(ptr noundef @.str.32, ptr noundef %269)
  %271 = icmp ne i32 %270, -1
  br i1 %271, label %272, label %273

272:                                              ; preds = %266, %258
  store i32 1, ptr %33, align 4, !tbaa !9
  br label %273

273:                                              ; preds = %272, %266
  br label %274

274:                                              ; preds = %273, %231
  %275 = load ptr, ptr %37, align 8, !tbaa !5
  %276 = getelementptr inbounds %struct.InputLine, ptr %275, i32 0, i32 6
  %277 = load ptr, ptr %276, align 8, !tbaa !14
  %278 = call ptr @mqc_DupString(ptr noundef %277, ptr noundef null)
  store ptr %278, ptr %15, align 8, !tbaa !5
  %279 = load ptr, ptr %15, align 8, !tbaa !5
  %280 = call ptr @mqc_Replace_String(ptr noundef @.str.33, ptr noundef @.str.34, ptr noundef %279)
  store ptr %280, ptr %15, align 8, !tbaa !5
  %281 = load ptr, ptr %15, align 8, !tbaa !5
  %282 = call ptr @mqc_Replace_String(ptr noundef @.str.35, ptr noundef @.str.36, ptr noundef %281)
  store ptr %282, ptr %15, align 8, !tbaa !5
  %283 = load ptr, ptr %15, align 8, !tbaa !5
  %284 = call i32 @mqc_FINDstrINline(ptr noundef @.str.37, ptr noundef %283)
  %285 = icmp ne i32 %284, -1
  br i1 %285, label %286, label %287

286:                                              ; preds = %274
  store i32 1, ptr %35, align 4, !tbaa !9
  br label %288

287:                                              ; preds = %274
  store i32 0, ptr %35, align 4, !tbaa !9
  br label %288

288:                                              ; preds = %287, %286
  %289 = load ptr, ptr %15, align 8, !tbaa !5
  call void @free(ptr noundef %289) #5
  %290 = load i32, ptr %33, align 4, !tbaa !9
  %291 = icmp eq i32 %290, 1
  br i1 %291, label %295, label %292

292:                                              ; preds = %288
  %293 = load i32, ptr %35, align 4, !tbaa !9
  %294 = icmp eq i32 %293, 1
  br i1 %294, label %295, label %305

295:                                              ; preds = %292, %288
  %296 = load i32, ptr %27, align 4, !tbaa !9
  %297 = icmp eq i32 %296, 0
  br i1 %297, label %298, label %301

298:                                              ; preds = %295
  %299 = load i32, ptr %21, align 4, !tbaa !9
  %300 = add nsw i32 %299, 1
  store i32 %300, ptr %21, align 4, !tbaa !9
  br label %304

301:                                              ; preds = %295
  %302 = load i32, ptr %26, align 4, !tbaa !9
  %303 = call i32 (ptr, ...) @printf(ptr noundef @.str.38, i32 noundef %302)
  br label %304

304:                                              ; preds = %301, %298
  store i32 1, ptr %27, align 4, !tbaa !9
  br label %305

305:                                              ; preds = %304, %292
  %306 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0
  %307 = load ptr, ptr @GAU_File, align 8, !tbaa !5
  %308 = call ptr @fgets(ptr noundef %306, i32 noundef 1024, ptr noundef %307)
  store ptr %308, ptr %17, align 8, !tbaa !5
  %309 = load ptr, ptr %17, align 8, !tbaa !5
  %310 = icmp ne ptr %309, null
  br i1 %310, label %311, label %316

311:                                              ; preds = %305
  %312 = load ptr, ptr %37, align 8, !tbaa !5
  store ptr %312, ptr %38, align 8, !tbaa !5
  %313 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0
  %314 = load ptr, ptr %38, align 8, !tbaa !5
  %315 = call ptr @mqc_Alloc_InputLine(ptr noundef %313, ptr noundef %314)
  store ptr %315, ptr %37, align 8, !tbaa !5
  br label %316

316:                                              ; preds = %311, %305
  br label %214, !llvm.loop !15

317:                                              ; preds = %222
  %318 = load i32, ptr %27, align 4, !tbaa !9
  %319 = icmp eq i32 %318, 0
  br i1 %319, label %320, label %338

320:                                              ; preds = %317
  %321 = load i32, ptr %24, align 4, !tbaa !9
  %322 = icmp eq i32 %321, 1
  br i1 %322, label %323, label %338

323:                                              ; preds = %320
  %324 = load i32, ptr %25, align 4, !tbaa !9
  %325 = icmp eq i32 %324, -1
  br i1 %325, label %326, label %329

326:                                              ; preds = %323
  %327 = load i32, ptr %26, align 4, !tbaa !9
  %328 = call i32 (ptr, ...) @printf(ptr noundef @.str.39, i32 noundef %327)
  br label %337

329:                                              ; preds = %323
  %330 = load i32, ptr %25, align 4, !tbaa !9
  %331 = icmp ne i32 %330, 0
  br i1 %331, label %332, label %335

332:                                              ; preds = %329
  %333 = load i32, ptr %21, align 4, !tbaa !9
  %334 = add nsw i32 %333, 1
  store i32 %334, ptr %21, align 4, !tbaa !9
  br label %335

335:                                              ; preds = %332, %329
  %336 = load i32, ptr %25, align 4, !tbaa !9
  store i32 %336, ptr %27, align 4, !tbaa !9
  br label %337

337:                                              ; preds = %335, %326
  br label %347

338:                                              ; preds = %320, %317
  %339 = load i32, ptr %25, align 4, !tbaa !9
  %340 = icmp ne i32 %339, -1
  br i1 %340, label %344, label %341

341:                                              ; preds = %338
  %342 = load i32, ptr %27, align 4, !tbaa !9
  %343 = icmp ne i32 %342, 0
  br i1 %343, label %344, label %346

344:                                              ; preds = %341, %338
  %345 = load i32, ptr %27, align 4, !tbaa !9
  store i32 %345, ptr %25, align 4, !tbaa !9
  br label %346

346:                                              ; preds = %344, %341
  br label %347

347:                                              ; preds = %346, %337
  br label %348

348:                                              ; preds = %347, %204
  %349 = load ptr, ptr %17, align 8, !tbaa !5
  %350 = icmp ne ptr %349, null
  br i1 %350, label %351, label %363

351:                                              ; preds = %348
  %352 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0
  %353 = load ptr, ptr @GAU_File, align 8, !tbaa !5
  %354 = call ptr @fgets(ptr noundef %352, i32 noundef 1024, ptr noundef %353)
  store ptr %354, ptr %17, align 8, !tbaa !5
  %355 = load ptr, ptr %17, align 8, !tbaa !5
  %356 = icmp ne ptr %355, null
  br i1 %356, label %357, label %362

357:                                              ; preds = %351
  %358 = load ptr, ptr %37, align 8, !tbaa !5
  store ptr %358, ptr %38, align 8, !tbaa !5
  %359 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0
  %360 = load ptr, ptr %38, align 8, !tbaa !5
  %361 = call ptr @mqc_Alloc_InputLine(ptr noundef %359, ptr noundef %360)
  store ptr %361, ptr %37, align 8, !tbaa !5
  br label %362

362:                                              ; preds = %357, %351
  br label %363

363:                                              ; preds = %362, %348
  br label %201, !llvm.loop !17

364:                                              ; preds = %201
  %365 = load ptr, ptr @GAU_File, align 8, !tbaa !5
  %366 = call i32 @fclose(ptr noundef %365)
  store i32 %366, ptr %18, align 4, !tbaa !9
  store ptr null, ptr @GAU_File, align 8, !tbaa !5
  %367 = load i32, ptr %18, align 4, !tbaa !9
  %368 = icmp ne i32 %367, 0
  br i1 %368, label %369, label %374

369:                                              ; preds = %364
  %370 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0
  %371 = load ptr, ptr %4, align 8, !tbaa !5
  %372 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %370, ptr noundef @.str.40, ptr noundef %371) #5
  %373 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0
  call void @mqc_error(ptr noundef %373)
  br label %374

374:                                              ; preds = %369, %364
  store i32 1, ptr %34, align 4, !tbaa !9
  %375 = load i32, ptr %27, align 4, !tbaa !9
  %376 = icmp eq i32 %375, 0
  br i1 %376, label %377, label %385

377:                                              ; preds = %374
  %378 = load i32, ptr %25, align 4, !tbaa !9
  %379 = icmp eq i32 %378, -1
  br i1 %379, label %380, label %385

380:                                              ; preds = %377
  %381 = load i32, ptr %24, align 4, !tbaa !9
  %382 = icmp ne i32 %381, 1
  br i1 %382, label %383, label %384

383:                                              ; preds = %380
  store i32 0, ptr %34, align 4, !tbaa !9
  br label %384

384:                                              ; preds = %383, %380
  br label %390

385:                                              ; preds = %377, %374
  %386 = load i32, ptr %25, align 4, !tbaa !9
  %387 = icmp eq i32 %386, 0
  br i1 %387, label %388, label %389

388:                                              ; preds = %385
  store i32 0, ptr %34, align 4, !tbaa !9
  br label %389

389:                                              ; preds = %388, %385
  br label %390

390:                                              ; preds = %389, %384
  %391 = load i32, ptr %34, align 4, !tbaa !9
  %392 = icmp eq i32 %391, 0
  br i1 %392, label %393, label %409

393:                                              ; preds = %390
  %394 = load ptr, ptr @Last_Keyword, align 8, !tbaa !5
  %395 = getelementptr inbounds %struct.InputLine, ptr %394, i32 0, i32 5
  %396 = load ptr, ptr %395, align 8, !tbaa !18
  call void @mqc_Remove_Return(ptr noundef %396)
  %397 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0
  %398 = load ptr, ptr @Last_Keyword, align 8, !tbaa !5
  %399 = getelementptr inbounds %struct.InputLine, ptr %398, i32 0, i32 5
  %400 = load ptr, ptr %399, align 8, !tbaa !18
  %401 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %397, ptr noundef @.str.41, ptr noundef %400) #5
  %402 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0
  %403 = load ptr, ptr @Last_Keyword, align 8, !tbaa !5
  %404 = getelementptr inbounds %struct.InputLine, ptr %403, i32 0, i32 5
  %405 = load ptr, ptr %404, align 8, !tbaa !18
  %406 = call ptr @mqc_DupString(ptr noundef %402, ptr noundef %405)
  %407 = load ptr, ptr @Last_Keyword, align 8, !tbaa !5
  %408 = getelementptr inbounds %struct.InputLine, ptr %407, i32 0, i32 5
  store ptr %406, ptr %408, align 8, !tbaa !18
  br label %409

409:                                              ; preds = %393, %390
  %410 = getelementptr inbounds [1024 x i8], ptr %13, i64 0, i64 0
  %411 = load ptr, ptr %4, align 8, !tbaa !5
  %412 = call ptr @strcpy(ptr noundef %410, ptr noundef %411) #5
  %413 = getelementptr inbounds [1024 x i8], ptr %13, i64 0, i64 0
  %414 = call i64 @strlen(ptr noundef %413) #6
  %415 = trunc i64 %414 to i32
  store i32 %415, ptr %31, align 4, !tbaa !9
  %416 = load i32, ptr %31, align 4, !tbaa !9
  %417 = sub nsw i32 %416, 4
  %418 = sext i32 %417 to i64
  %419 = getelementptr inbounds [1024 x i8], ptr %13, i64 0, i64 %418
  %420 = call i32 @strncmp(ptr noundef %419, ptr noundef @.str.42, i64 noundef 4) #6
  %421 = icmp eq i32 %420, 0
  br i1 %421, label %422, label %428

422:                                              ; preds = %409
  %423 = load i32, ptr %31, align 4, !tbaa !9
  %424 = sub nsw i32 %423, 4
  %425 = sext i32 %424 to i64
  %426 = getelementptr inbounds [1024 x i8], ptr %13, i64 0, i64 %425
  %427 = call ptr @strcpy(ptr noundef %426, ptr noundef @.str.30) #5
  br label %428

428:                                              ; preds = %422, %409
  %429 = load ptr, ptr @Last_NonBlank, align 8, !tbaa !5
  %430 = getelementptr inbounds %struct.InputLine, ptr %429, i32 0, i32 1
  %431 = load ptr, ptr %430, align 8, !tbaa !19
  store ptr %431, ptr %38, align 8, !tbaa !5
  %432 = load ptr, ptr %38, align 8, !tbaa !5
  %433 = getelementptr inbounds %struct.InputLine, ptr %432, i32 0, i32 2
  %434 = load i32, ptr %433, align 8, !tbaa !13
  %435 = icmp eq i32 %434, 0
  br i1 %435, label %442, label %436

436:                                              ; preds = %428
  %437 = load ptr, ptr %38, align 8, !tbaa !5
  %438 = getelementptr inbounds %struct.InputLine, ptr %437, i32 0, i32 5
  %439 = load ptr, ptr %438, align 8, !tbaa !18
  %440 = call i32 @mqc_FINDstrINline(ptr noundef @.str.29, ptr noundef %439)
  %441 = icmp ne i32 %440, -1
  br i1 %441, label %442, label %443

442:                                              ; preds = %436, %428
  store i32 0, ptr %34, align 4, !tbaa !9
  br label %443

443:                                              ; preds = %442, %436
  %444 = load i32, ptr %34, align 4, !tbaa !9
  %445 = icmp eq i32 %444, 0
  br i1 %445, label %446, label %463

446:                                              ; preds = %443
  %447 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0
  %448 = getelementptr inbounds [1024 x i8], ptr %13, i64 0, i64 0
  %449 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %447, ptr noundef @.str.43, ptr noundef %448) #5
  %450 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0
  %451 = load ptr, ptr @Last_NonBlank, align 8, !tbaa !5
  %452 = call ptr @mqc_Alloc_InputLine(ptr noundef %450, ptr noundef %451)
  store ptr %452, ptr %37, align 8, !tbaa !5
  %453 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0
  %454 = getelementptr inbounds [1024 x i8], ptr %13, i64 0, i64 0
  %455 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %453, ptr noundef @.str.44, ptr noundef %454) #5
  %456 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0
  %457 = call ptr @mqc_DupString(ptr noundef %456, ptr noundef null)
  store ptr %457, ptr %6, align 8, !tbaa !5
  %458 = getelementptr inbounds [1024 x i8], ptr %14, i64 0, i64 0
  %459 = getelementptr inbounds [1024 x i8], ptr %13, i64 0, i64 0
  %460 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %458, ptr noundef @.str.45, ptr noundef %459) #5
  %461 = getelementptr inbounds [1024 x i8], ptr %14, i64 0, i64 0
  %462 = load ptr, ptr %36, align 8, !tbaa !5
  call void @mqc_Write_InputLines(ptr noundef %461, ptr noundef %462)
  br label %471

463:                                              ; preds = %443
  %464 = getelementptr inbounds [1024 x i8], ptr %14, i64 0, i64 0
  %465 = load ptr, ptr %4, align 8, !tbaa !5
  %466 = call ptr @strcpy(ptr noundef %464, ptr noundef %465) #5
  %467 = load ptr, ptr @Last_NonBlank, align 8, !tbaa !5
  %468 = getelementptr inbounds %struct.InputLine, ptr %467, i32 0, i32 5
  %469 = load ptr, ptr %468, align 8, !tbaa !18
  %470 = call ptr @mqc_DupString(ptr noundef %469, ptr noundef null)
  store ptr %470, ptr %6, align 8, !tbaa !5
  br label %471

471:                                              ; preds = %463, %446
  %472 = load ptr, ptr %36, align 8, !tbaa !5
  call void @mqc_Free_InputLines(ptr noundef %472)
  %473 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0
  %474 = load ptr, ptr %5, align 8, !tbaa !5
  %475 = getelementptr inbounds [1024 x i8], ptr %14, i64 0, i64 0
  %476 = getelementptr inbounds [1024 x i8], ptr %13, i64 0, i64 0
  %477 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %473, ptr noundef @.str.46, ptr noundef %474, ptr noundef %475, ptr noundef %476) #5
  %478 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0
  %479 = call i32 @system(ptr noundef %478)
  store i32 %479, ptr %28, align 4, !tbaa !9
  %480 = load i32, ptr %28, align 4, !tbaa !9
  %481 = icmp eq i32 %480, -1
  br i1 %481, label %482, label %485

482:                                              ; preds = %471
  %483 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0
  %484 = call i32 (ptr, ...) @printf(ptr noundef @.str.47, ptr noundef %483)
  br label %485

485:                                              ; preds = %482, %471
  %486 = load ptr, ptr %6, align 8, !tbaa !5
  call void @mqc_Remove_Return(ptr noundef %486)
  %487 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0
  %488 = load ptr, ptr %6, align 8, !tbaa !5
  %489 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 0
  %490 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %487, ptr noundef @.str.14, ptr noundef %488, ptr noundef %489) #5
  %491 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0
  %492 = call i32 @system(ptr noundef %491)
  store i32 %492, ptr %28, align 4, !tbaa !9
  %493 = load i32, ptr %28, align 4, !tbaa !9
  %494 = icmp eq i32 %493, -1
  br i1 %494, label %495, label %501

495:                                              ; preds = %485
  %496 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0
  %497 = load ptr, ptr %6, align 8, !tbaa !5
  %498 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 0
  %499 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %496, ptr noundef @.str.48, ptr noundef %497, ptr noundef %498) #5
  %500 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0
  call void @mqc_error(ptr noundef %500)
  br label %501

501:                                              ; preds = %495, %485
  %502 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 0
  %503 = call noalias ptr @fopen(ptr noundef %502, ptr noundef @.str.15)
  store ptr %503, ptr @CheckGAU_File, align 8, !tbaa !5
  %504 = load ptr, ptr @CheckGAU_File, align 8, !tbaa !5
  %505 = icmp eq ptr %504, null
  br i1 %505, label %506, label %511

506:                                              ; preds = %501
  %507 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0
  %508 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 0
  %509 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %507, ptr noundef @.str.18, ptr noundef %508) #5
  %510 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0
  call void @mqc_error(ptr noundef %510)
  br label %511

511:                                              ; preds = %506, %501
  %512 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0
  %513 = load ptr, ptr @CheckGAU_File, align 8, !tbaa !5
  %514 = call ptr @fgets(ptr noundef %512, i32 noundef 1024, ptr noundef %513)
  store ptr %514, ptr %17, align 8, !tbaa !5
  %515 = load ptr, ptr @CheckGAU_File, align 8, !tbaa !5
  %516 = call i32 @fclose(ptr noundef %515)
  store i32 %516, ptr %18, align 4, !tbaa !9
  %517 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 0
  %518 = call i32 @unlink(ptr noundef %517) #5
  store ptr null, ptr @CheckGAU_File, align 8, !tbaa !5
  %519 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0
  %520 = call i32 @mqc_FINDstrINline(ptr noundef @.str.49, ptr noundef %519)
  %521 = icmp eq i32 -1, %520
  br i1 %521, label %522, label %527

522:                                              ; preds = %511
  %523 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0
  %524 = load ptr, ptr %6, align 8, !tbaa !5
  %525 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %523, ptr noundef @.str.50, ptr noundef %524) #5
  %526 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0
  call void @mqc_error(ptr noundef %526)
  br label %527

527:                                              ; preds = %522, %511
  %528 = load ptr, ptr %6, align 8, !tbaa !5
  store ptr %528, ptr %3, align 8
  store i32 1, ptr %40, align 4
  br label %529

529:                                              ; preds = %527, %123
  call void @llvm.lifetime.end.p0(i64 8, ptr %39) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %35) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %33) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #5
  call void @llvm.lifetime.end.p0(i64 1024, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 1024, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 1024, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 1024, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 1024, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 1024, ptr %9) #5
  call void @llvm.lifetime.end.p0(i64 1024, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 1024, ptr %7) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #5
  %530 = load ptr, ptr %3, align 8
  ret ptr %530
}

; Function Attrs: nounwind
declare i32 @sprintf(ptr noundef, ptr noundef, ...) #3

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

; Function Attrs: nounwind
declare i32 @getpid() #3

; Function Attrs: nounwind
declare ptr @getenv(ptr noundef) #3

declare noalias ptr @fopen(ptr noundef, ptr noundef) #1

declare i32 @fclose(ptr noundef) #1

; Function Attrs: nounwind
declare i32 @unlink(ptr noundef) #3

declare i32 @system(ptr noundef) #1

declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #1

; Function Attrs: nounwind uwtable
declare dso_local i32 @mqc_FINDstrINline(ptr noundef, ptr noundef) #2

; Function Attrs: nounwind uwtable
declare dso_local ptr @mqc_DupString(ptr noundef, ptr noundef) #2

declare i32 @fputs(ptr noundef, ptr noundef) #1

; Function Attrs: nounwind willreturn memory(read)
declare i32 @strncmp(ptr noundef, ptr noundef, i64 noundef) #4

; Function Attrs: nounwind uwtable
declare dso_local ptr @mqc_Alloc_InputLine(ptr noundef, ptr noundef) #2

; Function Attrs: nounwind
declare ptr @strcpy(ptr noundef, ptr noundef) #3

; Function Attrs: nounwind uwtable
declare dso_local ptr @mqc_Replace_String(ptr noundef, ptr noundef, ptr noundef) #2

; Function Attrs: nounwind
declare void @free(ptr noundef) #3

; Function Attrs: nounwind uwtable
declare dso_local void @mqc_Remove_Return(ptr noundef) #2

; Function Attrs: nounwind willreturn memory(read)
declare i64 @strlen(ptr noundef) #4

; Function Attrs: nounwind uwtable
declare dso_local void @mqc_Write_InputLines(ptr noundef, ptr noundef) #2

; Function Attrs: nounwind uwtable
declare dso_local void @mqc_Free_InputLines(ptr noundef) #2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind willreturn memory(read) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nounwind }
attributes #6 = { nounwind willreturn memory(read) }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !10, i64 20}
!12 = !{!"InputLine", !6, i64 0, !6, i64 8, !10, i64 16, !10, i64 20, !10, i64 24, !6, i64 32, !6, i64 40}
!13 = !{!12, !10, i64 16}
!14 = !{!12, !6, i64 40}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
!17 = distinct !{!17, !16}
!18 = !{!12, !6, i64 32}
!19 = !{!12, !6, i64 8}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

@GAU_File = external dso_local local_unnamed_addr global ptr, align 8
@CheckGAU_File = external dso_local local_unnamed_addr global ptr, align 8
@Last_Keyword = external dso_local local_unnamed_addr global ptr, align 8
@Last_NonBlank = external dso_local local_unnamed_addr global ptr, align 8
@.str.8 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [65 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [64 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [78 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [93 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [57 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.34 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.35 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.36 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.37 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.38 = external hidden unnamed_addr constant [67 x i8], align 1
@.str.39 = external hidden unnamed_addr constant [118 x i8], align 1
@.str.40 = external hidden unnamed_addr constant [40 x i8], align 1
@.str.41 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.42 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.43 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.44 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.45 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.46 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.47 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.48 = external hidden unnamed_addr constant [66 x i8], align 1
@.str.49 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.50 = external hidden unnamed_addr constant [39 x i8], align 1

; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #0

; Function Attrs: nofree nounwind
declare noundef i32 @printf(ptr nocapture noundef readonly, ...) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare dso_local void @mqc_error(ptr noundef) local_unnamed_addr #2

; Function Attrs: nounwind uwtable
define dso_local ptr @mqc_GetMatrixFile(ptr noundef %0, ptr noundef %1) local_unnamed_addr #2 {
  %3 = alloca [1024 x i8], align 16
  %4 = alloca [1024 x i8], align 16
  %5 = alloca [1024 x i8], align 16
  %6 = alloca [1024 x i8], align 16
  %7 = alloca [1024 x i8], align 16
  %8 = alloca [1024 x i8], align 16
  call void @llvm.lifetime.start.p0(i64 1024, ptr nonnull %3) #9
  call void @llvm.lifetime.start.p0(i64 1024, ptr nonnull %4) #9
  call void @llvm.lifetime.start.p0(i64 1024, ptr nonnull %5) #9
  call void @llvm.lifetime.start.p0(i64 1024, ptr nonnull %6) #9
  call void @llvm.lifetime.start.p0(i64 1024, ptr nonnull %7) #9
  call void @llvm.lifetime.start.p0(i64 1024, ptr nonnull %8) #9
  %9 = tail call i32 @getpid() #9
  %10 = tail call ptr @getenv(ptr noundef nonnull @.str.8) #9
  %11 = icmp eq ptr %10, null
  br i1 %11, label %12, label %14

12:                                               ; preds = %2
  %13 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %5, ptr noundef nonnull dereferenceable(1) @.str.9, i32 noundef %9) #9
  br label %16

14:                                               ; preds = %2
  %15 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %5, ptr noundef nonnull dereferenceable(1) @.str.10, ptr noundef nonnull %10, i32 noundef %9) #9
  br label %16

16:                                               ; preds = %14, %12
  %17 = call noalias ptr @fopen(ptr noundef nonnull %5, ptr noundef nonnull @.str.11)
  store ptr %17, ptr @CheckGAU_File, align 8, !tbaa !5
  %18 = icmp eq ptr %17, null
  br i1 %18, label %19, label %21

19:                                               ; preds = %16
  %20 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %3, ptr noundef nonnull dereferenceable(1) @.str.12, ptr noundef nonnull %5) #9
  call void @mqc_error(ptr noundef nonnull %3)
  %.pre = load ptr, ptr @CheckGAU_File, align 8, !tbaa !5
  br label %21

21:                                               ; preds = %19, %16
  %22 = phi ptr [ %.pre, %19 ], [ %17, %16 ]
  %23 = call i32 @fclose(ptr noundef %22)
  store ptr null, ptr @CheckGAU_File, align 8, !tbaa !5
  %.not = icmp eq i32 %23, 0
  br i1 %.not, label %26, label %24

24:                                               ; preds = %21
  %25 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %3, ptr noundef nonnull dereferenceable(1) @.str.13, ptr noundef nonnull %5) #9
  call void @mqc_error(ptr noundef nonnull %3)
  br label %26

26:                                               ; preds = %24, %21
  %27 = call i32 @unlink(ptr noundef nonnull %5) #9
  store ptr null, ptr @CheckGAU_File, align 8, !tbaa !5
  %28 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %3, ptr noundef nonnull dereferenceable(1) @.str.14, ptr noundef %0, ptr noundef nonnull %5) #9
  %29 = call i32 @system(ptr noundef nonnull %3) #9
  %30 = icmp eq i32 %29, -1
  br i1 %30, label %31, label %37

31:                                               ; preds = %26
  %32 = call noalias ptr @fopen(ptr noundef %0, ptr noundef nonnull @.str.15)
  store ptr %32, ptr @GAU_File, align 8, !tbaa !5
  %33 = icmp eq ptr %32, null
  %.str.16..str.17 = select i1 %33, ptr @.str.16, ptr @.str.17
  %34 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %3, ptr noundef nonnull dereferenceable(1) %.str.16..str.17, ptr noundef %0) #9
  %35 = call noalias ptr @fopen(ptr noundef nonnull %5, ptr noundef nonnull @.str.11)
  store ptr %35, ptr @CheckGAU_File, align 8, !tbaa !5
  %36 = call i32 @unlink(ptr noundef nonnull %5) #9
  call void @mqc_error(ptr noundef nonnull %3)
  br label %37

37:                                               ; preds = %31, %26
  %38 = call noalias ptr @fopen(ptr noundef nonnull %5, ptr noundef nonnull @.str.15)
  store ptr %38, ptr @CheckGAU_File, align 8, !tbaa !5
  %39 = icmp eq ptr %38, null
  br i1 %39, label %40, label %42

40:                                               ; preds = %37
  %41 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %3, ptr noundef nonnull dereferenceable(1) @.str.18, ptr noundef nonnull %5) #9
  call void @mqc_error(ptr noundef nonnull %3)
  %.pre202 = load ptr, ptr @CheckGAU_File, align 8, !tbaa !5
  br label %42

42:                                               ; preds = %40, %37
  %43 = phi ptr [ %.pre202, %40 ], [ %38, %37 ]
  %44 = call ptr @fgets(ptr noundef nonnull %3, i32 noundef 1024, ptr noundef %43)
  %45 = load ptr, ptr @CheckGAU_File, align 8, !tbaa !5
  %46 = call i32 @fclose(ptr noundef %45)
  store ptr null, ptr @CheckGAU_File, align 8, !tbaa !5
  %47 = call i32 @mqc_FINDstrINline(ptr noundef nonnull @.str.19, ptr noundef nonnull %3)
  %48 = icmp eq i32 %47, -1
  br i1 %48, label %49, label %52

49:                                               ; preds = %42
  %50 = call i32 @unlink(ptr noundef nonnull %5) #9
  %51 = call ptr @mqc_DupString(ptr noundef %0, ptr noundef null)
  br label %232

52:                                               ; preds = %42
  %53 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %6, ptr noundef nonnull dereferenceable(1) @.str.20, ptr noundef nonnull %5) #9
  %54 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %3, ptr noundef nonnull dereferenceable(1) @.str.21, ptr noundef %1, ptr noundef nonnull %6, ptr noundef nonnull %6) #9
  %55 = call noalias ptr @fopen(ptr noundef nonnull %5, ptr noundef nonnull @.str.11)
  store ptr %55, ptr @CheckGAU_File, align 8, !tbaa !5
  %56 = call i32 @fputs(ptr noundef nonnull %3, ptr noundef %55)
  %57 = load ptr, ptr @CheckGAU_File, align 8, !tbaa !5
  %58 = call i32 @fclose(ptr noundef %57)
  store ptr null, ptr @CheckGAU_File, align 8, !tbaa !5
  %59 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %3, ptr noundef nonnull dereferenceable(1) @.str.22, ptr noundef nonnull %5, ptr noundef nonnull %5) #9
  %60 = call i32 @system(ptr noundef nonnull %3) #9
  %61 = call i32 @unlink(ptr noundef nonnull %5) #9
  %62 = icmp eq i32 %60, -1
  br i1 %62, label %63, label %66

63:                                               ; preds = %52
  %64 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %3, ptr noundef nonnull dereferenceable(1) @.str.23, ptr noundef %1) #9
  %65 = call i32 @unlink(ptr noundef nonnull %5) #9
  call void @mqc_error(ptr noundef nonnull %3)
  br label %66

66:                                               ; preds = %63, %52
  %67 = call noalias ptr @fopen(ptr noundef nonnull %6, ptr noundef nonnull @.str.15)
  store ptr %67, ptr @CheckGAU_File, align 8, !tbaa !5
  %68 = call ptr @fgets(ptr noundef nonnull %3, i32 noundef 1024, ptr noundef %67)
  %69 = load ptr, ptr @CheckGAU_File, align 8, !tbaa !5
  %70 = call i32 @fclose(ptr noundef %69)
  store ptr null, ptr @CheckGAU_File, align 8, !tbaa !5
  %71 = call i32 @unlink(ptr noundef nonnull %6) #9
  %lhsc = load i8, ptr %3, align 16
  %rhsc = load i8, ptr @.str.24, align 1
  %.not130 = icmp eq i8 %lhsc, %rhsc
  br i1 %.not130, label %74, label %72

72:                                               ; preds = %66
  %73 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %3, ptr noundef nonnull dereferenceable(1) @.str.25, ptr noundef %1) #9
  call void @mqc_error(ptr noundef nonnull %3)
  br label %74

74:                                               ; preds = %72, %66
  %75 = call noalias ptr @fopen(ptr noundef %0, ptr noundef nonnull @.str.15)
  store ptr %75, ptr @GAU_File, align 8, !tbaa !5
  %76 = icmp eq ptr %75, null
  br i1 %76, label %77, label %79

77:                                               ; preds = %74
  %78 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %3, ptr noundef nonnull dereferenceable(1) @.str.26, ptr noundef %0) #9
  call void @mqc_error(ptr noundef nonnull %3)
  %.pre203 = load ptr, ptr @GAU_File, align 8, !tbaa !5
  br label %79

79:                                               ; preds = %77, %74
  %80 = phi ptr [ %.pre203, %77 ], [ %75, %74 ]
  %81 = call ptr @fgets(ptr noundef nonnull %3, i32 noundef 1024, ptr noundef %80)
  %.not131 = icmp eq ptr %81, null
  br i1 %.not131, label %._crit_edge198, label %.lr.ph197.preheader

.lr.ph197.preheader:                              ; preds = %79
  %82 = call ptr @mqc_Alloc_InputLine(ptr noundef nonnull %3, ptr noundef null)
  br label %.lr.ph197

.lr.ph197:                                        ; preds = %144, %.lr.ph197.preheader
  %.1195 = phi ptr [ %145, %144 ], [ %82, %.lr.ph197.preheader ]
  %.0101194 = phi ptr [ %143, %144 ], [ %81, %.lr.ph197.preheader ]
  %.0105193 = phi i32 [ %.3108171, %144 ], [ undef, %.lr.ph197.preheader ]
  %.0109192 = phi i32 [ %.1110169, %144 ], [ 0, %.lr.ph197.preheader ]
  %.0111191 = phi i32 [ %.1112167, %144 ], [ -1, %.lr.ph197.preheader ]
  %.0113190 = phi i32 [ %.3116165, %144 ], [ undef, %.lr.ph197.preheader ]
  %83 = getelementptr inbounds i8, ptr %.1195, i64 20
  %84 = load i32, ptr %83, align 4, !tbaa !9
  %85 = icmp eq i32 %84, 1
  br i1 %85, label %86, label %.thread

86:                                               ; preds = %.lr.ph197
  %87 = add nsw i32 %.0109192, 1
  %88 = getelementptr inbounds i8, ptr %.1195, i64 16
  %89 = load i32, ptr %88, align 8, !tbaa !12
  %90 = icmp eq i32 %89, 0
  br i1 %90, label %.lr.ph, label %._crit_edge.thread

.lr.ph:                                           ; preds = %86, %129
  %.2182 = phi ptr [ %130, %129 ], [ %.1195, %86 ]
  %.1106181 = phi i32 [ %.2107, %129 ], [ 0, %86 ]
  %.1114180 = phi i32 [ %spec.select, %129 ], [ 0, %86 ]
  %91 = getelementptr inbounds i8, ptr %.2182, i64 40
  %92 = load ptr, ptr %91, align 8, !tbaa !13
  %93 = call i32 @mqc_FINDstrINline(ptr noundef nonnull @.str.27, ptr noundef %92)
  %.not139 = icmp eq i32 %93, -1
  %spec.select = select i1 %.not139, i32 %.1114180, i32 1
  %94 = load ptr, ptr %91, align 8, !tbaa !13
  %95 = call i32 @mqc_FINDstrINline(ptr noundef nonnull @.str.28, ptr noundef %94)
  %.not140 = icmp eq i32 %95, -1
  br i1 %.not140, label %115, label %96

96:                                               ; preds = %.lr.ph
  %97 = load ptr, ptr %91, align 8, !tbaa !13
  %98 = call ptr @strcpy(ptr noundef nonnull dereferenceable(1) %4, ptr noundef nonnull dereferenceable(1) %97) #9
  %99 = sext i32 %95 to i64
  %100 = getelementptr inbounds [1024 x i8], ptr %4, i64 0, i64 %99
  %101 = call ptr @strcpy(ptr noundef nonnull dereferenceable(1) %3, ptr noundef nonnull dereferenceable(1) %100) #9
  %102 = call i32 @mqc_FINDstrINline(ptr noundef nonnull @.str.29, ptr noundef nonnull %3)
  %.not141 = icmp eq i32 %102, -1
  br i1 %.not141, label %107, label %103

103:                                              ; preds = %96
  %104 = sext i32 %102 to i64
  %105 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 %104
  %106 = call ptr @strcpy(ptr noundef nonnull dereferenceable(1) %105, ptr noundef nonnull dereferenceable(1) @.str.30) #9
  br label %107

107:                                              ; preds = %103, %96
  %108 = getelementptr inbounds i8, ptr %.2182, i64 20
  store i32 1, ptr %108, align 4, !tbaa !9
  %109 = load ptr, ptr %91, align 8, !tbaa !13
  %110 = call i32 @mqc_FINDstrINline(ptr noundef nonnull @.str.31, ptr noundef %109)
  %.not142 = icmp eq i32 %110, -1
  br i1 %.not142, label %111, label %114

111:                                              ; preds = %107
  %112 = load ptr, ptr %91, align 8, !tbaa !13
  %113 = call i32 @mqc_FINDstrINline(ptr noundef nonnull @.str.32, ptr noundef %112)
  %.not143 = icmp eq i32 %113, -1
  br i1 %.not143, label %115, label %114

114:                                              ; preds = %111, %107
  br label %115

115:                                              ; preds = %111, %114, %.lr.ph
  %116 = phi i1 [ true, %114 ], [ false, %111 ], [ false, %.lr.ph ]
  %117 = load ptr, ptr %91, align 8, !tbaa !13
  %118 = call ptr @mqc_DupString(ptr noundef %117, ptr noundef null)
  %119 = call ptr @mqc_Replace_String(ptr noundef nonnull @.str.33, ptr noundef nonnull @.str.34, ptr noundef %118)
  %120 = call ptr @mqc_Replace_String(ptr noundef nonnull @.str.35, ptr noundef nonnull @.str.36, ptr noundef %119)
  %121 = call i32 @mqc_FINDstrINline(ptr noundef nonnull @.str.37, ptr noundef %120)
  %.not144 = icmp ne i32 %121, -1
  call void @free(ptr noundef %120) #9
  %or.cond = or i1 %116, %.not144
  br i1 %or.cond, label %122, label %126

122:                                              ; preds = %115
  %123 = icmp eq i32 %.1106181, 0
  br i1 %123, label %126, label %124

124:                                              ; preds = %122
  %125 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.38, i32 noundef %87)
  br label %126

126:                                              ; preds = %122, %124, %115
  %.2107 = phi i32 [ %.1106181, %115 ], [ 1, %124 ], [ 1, %122 ]
  %127 = load ptr, ptr @GAU_File, align 8, !tbaa !5
  %128 = call ptr @fgets(ptr noundef nonnull %3, i32 noundef 1024, ptr noundef %127)
  %.not145 = icmp eq ptr %128, null
  br i1 %.not145, label %._crit_edge, label %129

129:                                              ; preds = %126
  %130 = call ptr @mqc_Alloc_InputLine(ptr noundef nonnull %3, ptr noundef nonnull %.2182)
  %131 = getelementptr inbounds i8, ptr %130, i64 16
  %132 = load i32, ptr %131, align 8, !tbaa !12
  %133 = icmp eq i32 %132, 0
  br i1 %133, label %.lr.ph, label %._crit_edge, !llvm.loop !14

._crit_edge:                                      ; preds = %126, %129
  %.1102.lcssa = phi ptr [ %128, %129 ], [ null, %126 ]
  %.2.lcssa = phi ptr [ %130, %129 ], [ %.2182, %126 ]
  %134 = icmp eq i32 %.2107, 0
  %135 = icmp eq i32 %spec.select, 1
  %or.cond3 = select i1 %134, i1 %135, i1 false
  br i1 %or.cond3, label %136, label %._crit_edge.thread

136:                                              ; preds = %._crit_edge
  %cond = icmp eq i32 %.0111191, -1
  br i1 %cond, label %137, label %141

137:                                              ; preds = %136
  %138 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.39, i32 noundef %87)
  br label %141

._crit_edge.thread:                               ; preds = %86, %._crit_edge
  %.2.lcssa221 = phi ptr [ %.2.lcssa, %._crit_edge ], [ %.1195, %86 ]
  %.1102.lcssa219 = phi ptr [ %.1102.lcssa, %._crit_edge ], [ %.0101194, %86 ]
  %.1106.lcssa217 = phi i32 [ %.2107, %._crit_edge ], [ 0, %86 ]
  %.1114.lcssa216 = phi i32 [ %spec.select, %._crit_edge ], [ 0, %86 ]
  %139 = icmp ne i32 %.0111191, -1
  %140 = icmp ne i32 %.1106.lcssa217, 0
  %or.cond5 = or i1 %139, %140
  %spec.select146 = select i1 %or.cond5, i32 %.1106.lcssa217, i32 -1
  br label %141

141:                                              ; preds = %136, %._crit_edge.thread, %137
  %.2.lcssa220 = phi ptr [ %.2.lcssa, %137 ], [ %.2.lcssa221, %._crit_edge.thread ], [ %.2.lcssa, %136 ]
  %.1102.lcssa218 = phi ptr [ %.1102.lcssa, %137 ], [ %.1102.lcssa219, %._crit_edge.thread ], [ %.1102.lcssa, %136 ]
  %.3116 = phi i32 [ 1, %137 ], [ %.1114.lcssa216, %._crit_edge.thread ], [ 1, %136 ]
  %.1112 = phi i32 [ -1, %137 ], [ %spec.select146, %._crit_edge.thread ], [ %.0111191, %136 ]
  %.3108 = phi i32 [ 0, %137 ], [ %.1106.lcssa217, %._crit_edge.thread ], [ %.0111191, %136 ]
  %.not137 = icmp eq ptr %.1102.lcssa218, null
  br i1 %.not137, label %._crit_edge198.loopexit, label %.thread

.thread:                                          ; preds = %.lr.ph197, %141
  %.4173 = phi ptr [ %.2.lcssa220, %141 ], [ %.1195, %.lr.ph197 ]
  %.3108171 = phi i32 [ %.3108, %141 ], [ %.0105193, %.lr.ph197 ]
  %.1110169 = phi i32 [ %87, %141 ], [ %.0109192, %.lr.ph197 ]
  %.1112167 = phi i32 [ %.1112, %141 ], [ %.0111191, %.lr.ph197 ]
  %.3116165 = phi i32 [ %.3116, %141 ], [ %.0113190, %.lr.ph197 ]
  %142 = load ptr, ptr @GAU_File, align 8, !tbaa !5
  %143 = call ptr @fgets(ptr noundef nonnull %3, i32 noundef 1024, ptr noundef %142)
  %.not138 = icmp eq ptr %143, null
  br i1 %.not138, label %._crit_edge198.loopexit, label %144

144:                                              ; preds = %.thread
  %145 = call ptr @mqc_Alloc_InputLine(ptr noundef nonnull %3, ptr noundef nonnull %.4173)
  br label %.lr.ph197, !llvm.loop !16

._crit_edge198.loopexit:                          ; preds = %.thread, %141
  %.3108172.ph = phi i32 [ %.3108, %141 ], [ %.3108171, %.thread ]
  %.1112168.ph = phi i32 [ %.1112, %141 ], [ %.1112167, %.thread ]
  %.3116166.ph = phi i32 [ %.3116, %141 ], [ %.3116165, %.thread ]
  %146 = icmp eq i32 %.3108172.ph, 0
  %147 = icmp eq i32 %.3116166.ph, 1
  br label %._crit_edge198

._crit_edge198:                                   ; preds = %79, %._crit_edge198.loopexit
  %.094207 = phi ptr [ %82, %._crit_edge198.loopexit ], [ undef, %79 ]
  %.0113.lcssa = phi i1 [ %147, %._crit_edge198.loopexit ], [ undef, %79 ]
  %.0111.lcssa = phi i32 [ %.1112168.ph, %._crit_edge198.loopexit ], [ -1, %79 ]
  %.0105.lcssa = phi i1 [ %146, %._crit_edge198.loopexit ], [ undef, %79 ]
  %148 = load ptr, ptr @GAU_File, align 8, !tbaa !5
  %149 = call i32 @fclose(ptr noundef %148)
  store ptr null, ptr @GAU_File, align 8, !tbaa !5
  %.not133 = icmp eq i32 %149, 0
  br i1 %.not133, label %152, label %150

150:                                              ; preds = %._crit_edge198
  %151 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %3, ptr noundef nonnull dereferenceable(1) @.str.40, ptr noundef %0) #9
  call void @mqc_error(ptr noundef nonnull %3)
  br label %152

152:                                              ; preds = %150, %._crit_edge198
  %153 = icmp eq i32 %.0111.lcssa, -1
  %or.cond7 = select i1 %.0105.lcssa, i1 %153, i1 false
  br i1 %or.cond7, label %154, label %155

154:                                              ; preds = %152
  br i1 %.0113.lcssa, label %171, label %157

155:                                              ; preds = %152
  %156 = icmp eq i32 %.0111.lcssa, 0
  br i1 %156, label %157, label %171

157:                                              ; preds = %154, %155
  %158 = load ptr, ptr @Last_Keyword, align 8, !tbaa !5
  %159 = getelementptr inbounds i8, ptr %158, i64 32
  %160 = load ptr, ptr %159, align 8, !tbaa !17
  call void @mqc_Remove_Return(ptr noundef %160)
  %161 = load ptr, ptr @Last_Keyword, align 8, !tbaa !5
  %162 = getelementptr inbounds i8, ptr %161, i64 32
  %163 = load ptr, ptr %162, align 8, !tbaa !17
  %164 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %3, ptr noundef nonnull dereferenceable(1) @.str.41, ptr noundef %163) #9
  %165 = load ptr, ptr @Last_Keyword, align 8, !tbaa !5
  %166 = getelementptr inbounds i8, ptr %165, i64 32
  %167 = load ptr, ptr %166, align 8, !tbaa !17
  %168 = call ptr @mqc_DupString(ptr noundef nonnull %3, ptr noundef %167)
  %169 = load ptr, ptr @Last_Keyword, align 8, !tbaa !5
  %170 = getelementptr inbounds i8, ptr %169, i64 32
  store ptr %168, ptr %170, align 8, !tbaa !17
  br label %171

171:                                              ; preds = %154, %157, %155
  %172 = phi i1 [ false, %154 ], [ true, %157 ], [ false, %155 ]
  %173 = call ptr @strcpy(ptr noundef nonnull dereferenceable(1) %7, ptr noundef nonnull dereferenceable(1) %0) #9
  %174 = call i64 @strlen(ptr noundef nonnull dereferenceable(1) %7) #10
  %175 = shl i64 %174, 32
  %sext = add i64 %175, -17179869184
  %176 = ashr exact i64 %sext, 32
  %177 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 %176
  %178 = call i32 @strncmp(ptr noundef nonnull dereferenceable(1) %177, ptr noundef nonnull dereferenceable(1) @.str.42, i64 noundef 4) #10
  %179 = icmp eq i32 %178, 0
  br i1 %179, label %180, label %182

180:                                              ; preds = %171
  %181 = call ptr @strcpy(ptr noundef nonnull dereferenceable(1) %177, ptr noundef nonnull dereferenceable(1) @.str.30) #9
  br label %182

182:                                              ; preds = %180, %171
  %183 = load ptr, ptr @Last_NonBlank, align 8, !tbaa !5
  %184 = getelementptr inbounds i8, ptr %183, i64 8
  %185 = load ptr, ptr %184, align 8, !tbaa !18
  %186 = getelementptr inbounds i8, ptr %185, i64 16
  %187 = load i32, ptr %186, align 8, !tbaa !12
  %188 = icmp eq i32 %187, 0
  br i1 %188, label %.thread176, label %189

189:                                              ; preds = %182
  %190 = getelementptr inbounds i8, ptr %185, i64 32
  %191 = load ptr, ptr %190, align 8, !tbaa !17
  %192 = call i32 @mqc_FINDstrINline(ptr noundef nonnull @.str.29, ptr noundef %191)
  %.not135 = icmp ne i32 %192, -1
  %or.cond178 = or i1 %172, %.not135
  br i1 %or.cond178, label %.thread176, label %199

.thread176:                                       ; preds = %189, %182
  %193 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %3, ptr noundef nonnull dereferenceable(1) @.str.43, ptr noundef nonnull %7) #9
  %194 = load ptr, ptr @Last_NonBlank, align 8, !tbaa !5
  %195 = call ptr @mqc_Alloc_InputLine(ptr noundef nonnull %3, ptr noundef %194)
  %196 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %3, ptr noundef nonnull dereferenceable(1) @.str.44, ptr noundef nonnull %7) #9
  %197 = call ptr @mqc_DupString(ptr noundef nonnull %3, ptr noundef null)
  %198 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %8, ptr noundef nonnull dereferenceable(1) @.str.45, ptr noundef nonnull %7) #9
  call void @mqc_Write_InputLines(ptr noundef nonnull %8, ptr noundef %.094207)
  br label %205

199:                                              ; preds = %189
  %200 = call ptr @strcpy(ptr noundef nonnull dereferenceable(1) %8, ptr noundef nonnull dereferenceable(1) %0) #9
  %201 = load ptr, ptr @Last_NonBlank, align 8, !tbaa !5
  %202 = getelementptr inbounds i8, ptr %201, i64 32
  %203 = load ptr, ptr %202, align 8, !tbaa !17
  %204 = call ptr @mqc_DupString(ptr noundef %203, ptr noundef null)
  br label %205

205:                                              ; preds = %199, %.thread176
  %.0100 = phi ptr [ %197, %.thread176 ], [ %204, %199 ]
  call void @mqc_Free_InputLines(ptr noundef %.094207)
  %206 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %3, ptr noundef nonnull dereferenceable(1) @.str.46, ptr noundef %1, ptr noundef nonnull %8, ptr noundef nonnull %7) #9
  %207 = call i32 @system(ptr noundef nonnull %3) #9
  %208 = icmp eq i32 %207, -1
  br i1 %208, label %209, label %211

209:                                              ; preds = %205
  %210 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.47, ptr noundef nonnull %3)
  br label %211

211:                                              ; preds = %209, %205
  call void @mqc_Remove_Return(ptr noundef %.0100)
  %212 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %3, ptr noundef nonnull dereferenceable(1) @.str.14, ptr noundef %.0100, ptr noundef nonnull %5) #9
  %213 = call i32 @system(ptr noundef nonnull %3) #9
  %214 = icmp eq i32 %213, -1
  br i1 %214, label %215, label %217

215:                                              ; preds = %211
  %216 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %3, ptr noundef nonnull dereferenceable(1) @.str.48, ptr noundef %.0100, ptr noundef nonnull %5) #9
  call void @mqc_error(ptr noundef nonnull %3)
  br label %217

217:                                              ; preds = %215, %211
  %218 = call noalias ptr @fopen(ptr noundef nonnull %5, ptr noundef nonnull @.str.15)
  store ptr %218, ptr @CheckGAU_File, align 8, !tbaa !5
  %219 = icmp eq ptr %218, null
  br i1 %219, label %220, label %222

220:                                              ; preds = %217
  %221 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %3, ptr noundef nonnull dereferenceable(1) @.str.18, ptr noundef nonnull %5) #9
  call void @mqc_error(ptr noundef nonnull %3)
  %.pre204 = load ptr, ptr @CheckGAU_File, align 8, !tbaa !5
  br label %222

222:                                              ; preds = %220, %217
  %223 = phi ptr [ %.pre204, %220 ], [ %218, %217 ]
  %224 = call ptr @fgets(ptr noundef nonnull %3, i32 noundef 1024, ptr noundef %223)
  %225 = load ptr, ptr @CheckGAU_File, align 8, !tbaa !5
  %226 = call i32 @fclose(ptr noundef %225)
  %227 = call i32 @unlink(ptr noundef nonnull %5) #9
  store ptr null, ptr @CheckGAU_File, align 8, !tbaa !5
  %228 = call i32 @mqc_FINDstrINline(ptr noundef nonnull @.str.49, ptr noundef nonnull %3)
  %229 = icmp eq i32 %228, -1
  br i1 %229, label %230, label %232

230:                                              ; preds = %222
  %231 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %3, ptr noundef nonnull dereferenceable(1) @.str.50, ptr noundef %.0100) #9
  call void @mqc_error(ptr noundef nonnull %3)
  br label %232

232:                                              ; preds = %222, %230, %49
  %.0 = phi ptr [ %51, %49 ], [ %.0100, %230 ], [ %.0100, %222 ]
  call void @llvm.lifetime.end.p0(i64 1024, ptr nonnull %8) #9
  call void @llvm.lifetime.end.p0(i64 1024, ptr nonnull %7) #9
  call void @llvm.lifetime.end.p0(i64 1024, ptr nonnull %6) #9
  call void @llvm.lifetime.end.p0(i64 1024, ptr nonnull %5) #9
  call void @llvm.lifetime.end.p0(i64 1024, ptr nonnull %4) #9
  call void @llvm.lifetime.end.p0(i64 1024, ptr nonnull %3) #9
  ret ptr %.0
}

; Function Attrs: nofree nounwind
declare noundef i32 @sprintf(ptr noalias nocapture noundef writeonly, ptr nocapture noundef readonly, ...) local_unnamed_addr #1

; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

; Function Attrs: nounwind
declare i32 @getpid() local_unnamed_addr #3

; Function Attrs: nofree nounwind memory(read)
declare noundef ptr @getenv(ptr nocapture noundef) local_unnamed_addr #4

; Function Attrs: nofree nounwind
declare noalias noundef ptr @fopen(ptr nocapture noundef readonly, ptr nocapture noundef readonly) local_unnamed_addr #1

; Function Attrs: nofree nounwind
declare noundef i32 @fclose(ptr nocapture noundef) local_unnamed_addr #1

; Function Attrs: nofree nounwind
declare noundef i32 @unlink(ptr nocapture noundef readonly) local_unnamed_addr #1

; Function Attrs: nofree
declare noundef i32 @system(ptr nocapture noundef readonly) local_unnamed_addr #5

; Function Attrs: nofree nounwind
declare noundef ptr @fgets(ptr noundef, i32 noundef, ptr nocapture noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare dso_local i32 @mqc_FINDstrINline(ptr noundef, ptr noundef) local_unnamed_addr #2

; Function Attrs: nounwind uwtable
declare dso_local ptr @mqc_DupString(ptr noundef, ptr noundef) local_unnamed_addr #2

; Function Attrs: nofree nounwind
declare noundef i32 @fputs(ptr nocapture noundef readonly, ptr nocapture noundef) local_unnamed_addr #1

; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read)
declare i32 @strncmp(ptr nocapture noundef, ptr nocapture noundef, i64 noundef) local_unnamed_addr #6

; Function Attrs: nounwind uwtable
declare dso_local ptr @mqc_Alloc_InputLine(ptr noundef, ptr noundef) local_unnamed_addr #2

; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: readwrite)
declare ptr @strcpy(ptr noalias noundef returned writeonly, ptr noalias nocapture noundef readonly) local_unnamed_addr #7

; Function Attrs: nounwind uwtable
declare dso_local ptr @mqc_Replace_String(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2

; Function Attrs: mustprogress nounwind willreturn allockind("free") memory(argmem: readwrite, inaccessiblemem: readwrite)
declare void @free(ptr allocptr nocapture noundef) local_unnamed_addr #8

; Function Attrs: nounwind uwtable
declare dso_local void @mqc_Remove_Return(ptr noundef) local_unnamed_addr #2

; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read)
declare i64 @strlen(ptr nocapture noundef) local_unnamed_addr #6

; Function Attrs: nounwind uwtable
declare dso_local void @mqc_Write_InputLines(ptr noundef, ptr noundef) local_unnamed_addr #2

; Function Attrs: nounwind uwtable
declare dso_local void @mqc_Free_InputLines(ptr noundef) local_unnamed_addr #2

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nofree nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nofree nounwind memory(read) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nofree "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { mustprogress nofree nounwind willreturn memory(argmem: read) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { mustprogress nofree nounwind willreturn memory(argmem: readwrite) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #8 = { mustprogress nounwind willreturn allockind("free") memory(argmem: readwrite, inaccessiblemem: readwrite) "alloc-family"="malloc" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #9 = { nounwind }
attributes #10 = { nounwind willreturn memory(read) }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 20}
!10 = !{!"InputLine", !6, i64 0, !6, i64 8, !11, i64 16, !11, i64 20, !11, i64 24, !6, i64 32, !6, i64 40}
!11 = !{!"int", !7, i64 0}
!12 = !{!10, !11, i64 16}
!13 = !{!10, !6, i64 40}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
!16 = distinct !{!16, !15}
!17 = !{!10, !6, i64 32}
!18 = !{!10, !6, i64 8}


; Effective O3 passes: ADCEPass,BDCEPass,CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass