; LLVM IR from zhenrong-wang/co2 :: co2-prop-main (main)

; 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.co2_prop = type { double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double }

@.str.11 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [87 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [91 x i8], align 1
@stdin = external global ptr, align 8
@.str.15 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [91 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [44 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [66 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [89 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [63 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [92 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [90 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [91 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [184 x i8], align 1

; Function Attrs: nounwind uwtable
declare dso_local i32 @welcome() #0

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

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

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

; Function Attrs: nounwind uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca %struct.co2_prop, align 8
  %7 = alloca %struct.co2_prop, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i8, align 1
  %15 = alloca i8, align 1
  %16 = alloca i8, align 1
  %17 = alloca double, align 8
  %18 = alloca double, align 8
  %19 = alloca i32, align 4
  store i32 0, ptr %3, align 4
  store i32 %0, ptr %4, align 4, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 128, ptr %6) #5
  call void @llvm.lifetime.start.p0(i64 128, ptr %7) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #5
  store i32 0, ptr %13, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %14) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr %15) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr %16) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #5
  %20 = call i32 @welcome()
  %21 = call noalias ptr @fopen(ptr noundef @.str.11, ptr noundef @.str.12)
  store ptr %21, ptr %8, align 8, !tbaa !9
  %22 = load ptr, ptr %8, align 8, !tbaa !9
  %23 = icmp eq ptr %22, null
  br i1 %23, label %24, label %30

24:                                               ; preds = %2
  %25 = call i32 (ptr, ...) @printf(ptr noundef @.str.13)
  %26 = call i32 (ptr, ...) @printf(ptr noundef @.str.14)
  %27 = load ptr, ptr @stdin, align 8, !tbaa !9
  %28 = call i32 @fflush(ptr noundef %27)
  %29 = call i32 @getchar()
  store i32 -1, ptr %3, align 4
  store i32 1, ptr %19, align 4
  br label %257

30:                                               ; preds = %2
  %31 = call noalias ptr @fopen(ptr noundef @.str.15, ptr noundef @.str.16)
  store ptr %31, ptr %9, align 8, !tbaa !9
  %32 = load ptr, ptr %9, align 8, !tbaa !9
  %33 = icmp eq ptr %32, null
  br i1 %33, label %34, label %42

34:                                               ; preds = %30
  %35 = call i32 (ptr, ...) @printf(ptr noundef @.str.17)
  %36 = call i32 (ptr, ...) @printf(ptr noundef @.str.14)
  %37 = load ptr, ptr %8, align 8, !tbaa !9
  %38 = call i32 @fclose(ptr noundef %37)
  %39 = load ptr, ptr @stdin, align 8, !tbaa !9
  %40 = call i32 @fflush(ptr noundef %39)
  %41 = call i32 @getchar()
  store i32 -1, ptr %3, align 4
  store i32 1, ptr %19, align 4
  br label %257

42:                                               ; preds = %30
  %43 = call i32 (ptr, ...) @printf(ptr noundef @.str.18)
  %44 = load ptr, ptr @stdin, align 8, !tbaa !9
  %45 = call i32 @fflush(ptr noundef %44)
  %46 = call i32 @getchar()
  %47 = load ptr, ptr %9, align 8, !tbaa !9
  %48 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %47, ptr noundef @.str.19) #5
  %49 = load ptr, ptr %9, align 8, !tbaa !9
  %50 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %49, ptr noundef @.str.20) #5
  br label %51

51:                                               ; preds = %247, %137, %126, %42
  %52 = load ptr, ptr %8, align 8, !tbaa !9
  %53 = call i32 @feof(ptr noundef %52) #5
  %54 = icmp ne i32 %53, 0
  %55 = xor i1 %54, true
  br i1 %55, label %56, label %248

56:                                               ; preds = %51
  %57 = load i32, ptr %13, align 4, !tbaa !5
  %58 = add nsw i32 %57, 1
  store i32 %58, ptr %13, align 4, !tbaa !5
  %59 = load ptr, ptr %8, align 8, !tbaa !9
  %60 = call i32 (ptr, ptr, ...) @__isoc99_fscanf(ptr noundef %59, ptr noundef @.str.21, ptr noundef %10, ptr noundef %14, ptr noundef %17, ptr noundef %15, ptr noundef %18, ptr noundef %16)
  %61 = load i32, ptr %10, align 4, !tbaa !5
  %62 = icmp sgt i32 %61, 0
  br i1 %62, label %63, label %71

63:                                               ; preds = %56
  %64 = load i32, ptr %10, align 4, !tbaa !5
  %65 = icmp slt i32 %64, 9
  br i1 %65, label %66, label %71

66:                                               ; preds = %63
  %67 = load i32, ptr %10, align 4, !tbaa !5
  %68 = load double, ptr %17, align 8, !tbaa !11
  %69 = load double, ptr %18, align 8, !tbaa !11
  %70 = call i32 (ptr, ...) @printf(ptr noundef @.str.22, i32 noundef %67, double noundef %68, double noundef %69)
  br label %71

71:                                               ; preds = %66, %63, %56
  %72 = load i32, ptr %10, align 4, !tbaa !5
  %73 = icmp eq i32 %72, 1
  br i1 %73, label %74, label %78

74:                                               ; preds = %71
  %75 = load double, ptr %17, align 8, !tbaa !11
  %76 = load double, ptr %18, align 8, !tbaa !11
  %77 = call i32 @co2_prop_calc_pt(ptr noundef %6, ptr noundef %7, double noundef %75, double noundef %76)
  store i32 %77, ptr %11, align 4, !tbaa !5
  br label %134

78:                                               ; preds = %71
  %79 = load i32, ptr %10, align 4, !tbaa !5
  %80 = icmp eq i32 %79, 2
  br i1 %80, label %81, label %85

81:                                               ; preds = %78
  %82 = load double, ptr %17, align 8, !tbaa !11
  %83 = load double, ptr %18, align 8, !tbaa !11
  %84 = call i32 @co2_prop_calc_ph(ptr noundef %6, double noundef %82, double noundef %83)
  store i32 %84, ptr %11, align 4, !tbaa !5
  br label %133

85:                                               ; preds = %78
  %86 = load i32, ptr %10, align 4, !tbaa !5
  %87 = icmp eq i32 %86, 3
  br i1 %87, label %88, label %92

88:                                               ; preds = %85
  %89 = load double, ptr %17, align 8, !tbaa !11
  %90 = load double, ptr %18, align 8, !tbaa !11
  %91 = call i32 @co2_prop_calc_ps(ptr noundef %6, double noundef %89, double noundef %90)
  store i32 %91, ptr %11, align 4, !tbaa !5
  br label %132

92:                                               ; preds = %85
  %93 = load i32, ptr %10, align 4, !tbaa !5
  %94 = icmp eq i32 %93, 4
  br i1 %94, label %95, label %99

95:                                               ; preds = %92
  %96 = load double, ptr %17, align 8, !tbaa !11
  %97 = load double, ptr %18, align 8, !tbaa !11
  %98 = call i32 @co2_prop_calc_hs(ptr noundef %6, double noundef %96, double noundef %97)
  store i32 %98, ptr %11, align 4, !tbaa !5
  br label %131

99:                                               ; preds = %92
  %100 = load i32, ptr %10, align 4, !tbaa !5
  %101 = icmp eq i32 %100, 5
  br i1 %101, label %102, label %105

102:                                              ; preds = %99
  store i32 0, ptr %11, align 4, !tbaa !5
  %103 = load double, ptr %17, align 8, !tbaa !11
  %104 = load double, ptr %18, align 8, !tbaa !11
  call void @co2_prop_calc_tr(ptr noundef %6, double noundef %103, double noundef %104)
  br label %130

105:                                              ; preds = %99
  %106 = load i32, ptr %10, align 4, !tbaa !5
  %107 = icmp eq i32 %106, 6
  br i1 %107, label %108, label %112

108:                                              ; preds = %105
  %109 = load double, ptr %17, align 8, !tbaa !11
  %110 = load double, ptr %18, align 8, !tbaa !11
  %111 = call i32 @co2_prop_calc_pr(ptr noundef %6, double noundef %109, double noundef %110)
  store i32 %111, ptr %11, align 4, !tbaa !5
  br label %129

112:                                              ; preds = %105
  %113 = load i32, ptr %10, align 4, !tbaa !5
  %114 = icmp eq i32 %113, 7
  br i1 %114, label %115, label %119

115:                                              ; preds = %112
  %116 = load double, ptr %17, align 8, !tbaa !11
  %117 = load double, ptr %18, align 8, !tbaa !11
  %118 = call i32 @co2_prop_calc_th(ptr noundef %6, double noundef %116, double noundef %117)
  store i32 %118, ptr %11, align 4, !tbaa !5
  br label %128

119:                                              ; preds = %112
  %120 = load i32, ptr %10, align 4, !tbaa !5
  %121 = icmp eq i32 %120, 8
  br i1 %121, label %122, label %126

122:                                              ; preds = %119
  %123 = load double, ptr %17, align 8, !tbaa !11
  %124 = load double, ptr %18, align 8, !tbaa !11
  %125 = call i32 @co2_prop_calc_ts(ptr noundef %6, double noundef %123, double noundef %124)
  store i32 %125, ptr %11, align 4, !tbaa !5
  br label %127

126:                                              ; preds = %119
  br label %51, !llvm.loop !13

127:                                              ; preds = %122
  br label %128

128:                                              ; preds = %127, %115
  br label %129

129:                                              ; preds = %128, %108
  br label %130

130:                                              ; preds = %129, %102
  br label %131

131:                                              ; preds = %130, %95
  br label %132

132:                                              ; preds = %131, %88
  br label %133

133:                                              ; preds = %132, %81
  br label %134

134:                                              ; preds = %133, %74
  %135 = load i32, ptr %11, align 4, !tbaa !5
  %136 = icmp eq i32 %135, -1
  br i1 %136, label %137, label %143

137:                                              ; preds = %134
  %138 = load i32, ptr %13, align 4, !tbaa !5
  %139 = call i32 (ptr, ...) @printf(ptr noundef @.str.23, i32 noundef %138)
  %140 = load ptr, ptr %9, align 8, !tbaa !9
  %141 = load i32, ptr %13, align 4, !tbaa !5
  %142 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %140, ptr noundef @.str.24, i32 noundef %141) #5
  store i32 -1, ptr %10, align 4, !tbaa !5
  br label %51, !llvm.loop !13

143:                                              ; preds = %134
  %144 = load i32, ptr %11, align 4, !tbaa !5
  %145 = icmp eq i32 %144, 1
  br i1 %145, label %146, label %212

146:                                              ; preds = %143
  call void @calc_trans_prop(ptr noundef %6)
  call void @calc_trans_prop(ptr noundef %7)
  %147 = load ptr, ptr %9, align 8, !tbaa !9
  %148 = load i32, ptr %13, align 4, !tbaa !5
  %149 = getelementptr inbounds %struct.co2_prop, ptr %6, i32 0, i32 0
  %150 = load double, ptr %149, align 8, !tbaa !15
  %151 = fdiv double %150, 1.000000e+06
  %152 = getelementptr inbounds %struct.co2_prop, ptr %6, i32 0, i32 1
  %153 = load double, ptr %152, align 8, !tbaa !17
  %154 = getelementptr inbounds %struct.co2_prop, ptr %6, i32 0, i32 3
  %155 = load double, ptr %154, align 8, !tbaa !18
  %156 = getelementptr inbounds %struct.co2_prop, ptr %6, i32 0, i32 5
  %157 = load double, ptr %156, align 8, !tbaa !19
  %158 = fdiv double %157, 1.000000e+03
  %159 = getelementptr inbounds %struct.co2_prop, ptr %6, i32 0, i32 7
  %160 = load double, ptr %159, align 8, !tbaa !20
  %161 = fdiv double %160, 1.000000e+03
  %162 = getelementptr inbounds %struct.co2_prop, ptr %6, i32 0, i32 4
  %163 = load double, ptr %162, align 8, !tbaa !21
  %164 = fdiv double %163, 1.000000e+03
  %165 = getelementptr inbounds %struct.co2_prop, ptr %6, i32 0, i32 6
  %166 = load double, ptr %165, align 8, !tbaa !22
  %167 = fdiv double %166, 1.000000e+03
  %168 = getelementptr inbounds %struct.co2_prop, ptr %6, i32 0, i32 8
  %169 = load double, ptr %168, align 8, !tbaa !23
  %170 = fdiv double %169, 1.000000e+03
  %171 = getelementptr inbounds %struct.co2_prop, ptr %6, i32 0, i32 10
  %172 = load double, ptr %171, align 8, !tbaa !24
  %173 = getelementptr inbounds %struct.co2_prop, ptr %6, i32 0, i32 13
  %174 = load double, ptr %173, align 8, !tbaa !25
  %175 = getelementptr inbounds %struct.co2_prop, ptr %6, i32 0, i32 14
  %176 = load double, ptr %175, align 8, !tbaa !26
  %177 = getelementptr inbounds %struct.co2_prop, ptr %6, i32 0, i32 15
  %178 = load double, ptr %177, align 8, !tbaa !27
  %179 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %147, ptr noundef @.str.25, i32 noundef %148, double noundef %151, double noundef %153, double noundef %155, double noundef %158, double noundef %161, double noundef %164, double noundef %167, double noundef %170, double noundef %172, double noundef %174, double noundef %176, double noundef %178) #5
  %180 = load ptr, ptr %9, align 8, !tbaa !9
  %181 = getelementptr inbounds %struct.co2_prop, ptr %7, i32 0, i32 0
  %182 = load double, ptr %181, align 8, !tbaa !15
  %183 = fdiv double %182, 1.000000e+06
  %184 = getelementptr inbounds %struct.co2_prop, ptr %7, i32 0, i32 1
  %185 = load double, ptr %184, align 8, !tbaa !17
  %186 = getelementptr inbounds %struct.co2_prop, ptr %7, i32 0, i32 3
  %187 = load double, ptr %186, align 8, !tbaa !18
  %188 = getelementptr inbounds %struct.co2_prop, ptr %7, i32 0, i32 5
  %189 = load double, ptr %188, align 8, !tbaa !19
  %190 = fdiv double %189, 1.000000e+03
  %191 = getelementptr inbounds %struct.co2_prop, ptr %7, i32 0, i32 7
  %192 = load double, ptr %191, align 8, !tbaa !20
  %193 = fdiv double %192, 1.000000e+03
  %194 = getelementptr inbounds %struct.co2_prop, ptr %7, i32 0, i32 4
  %195 = load double, ptr %194, align 8, !tbaa !21
  %196 = fdiv double %195, 1.000000e+03
  %197 = getelementptr inbounds %struct.co2_prop, ptr %7, i32 0, i32 6
  %198 = load double, ptr %197, align 8, !tbaa !22
  %199 = fdiv double %198, 1.000000e+03
  %200 = getelementptr inbounds %struct.co2_prop, ptr %7, i32 0, i32 8
  %201 = load double, ptr %200, align 8, !tbaa !23
  %202 = fdiv double %201, 1.000000e+03
  %203 = getelementptr inbounds %struct.co2_prop, ptr %7, i32 0, i32 10
  %204 = load double, ptr %203, align 8, !tbaa !24
  %205 = getelementptr inbounds %struct.co2_prop, ptr %7, i32 0, i32 13
  %206 = load double, ptr %205, align 8, !tbaa !25
  %207 = getelementptr inbounds %struct.co2_prop, ptr %7, i32 0, i32 14
  %208 = load double, ptr %207, align 8, !tbaa !26
  %209 = getelementptr inbounds %struct.co2_prop, ptr %7, i32 0, i32 15
  %210 = load double, ptr %209, align 8, !tbaa !27
  %211 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %180, ptr noundef @.str.26, double noundef %183, double noundef %185, double noundef %187, double noundef %190, double noundef %193, double noundef %196, double noundef %199, double noundef %202, double noundef %204, double noundef %206, double noundef %208, double noundef %210) #5
  store i32 -1, ptr %10, align 4, !tbaa !5
  br label %246

212:                                              ; preds = %143
  call void @calc_trans_prop(ptr noundef %6)
  %213 = load ptr, ptr %9, align 8, !tbaa !9
  %214 = load i32, ptr %13, align 4, !tbaa !5
  %215 = getelementptr inbounds %struct.co2_prop, ptr %6, i32 0, i32 0
  %216 = load double, ptr %215, align 8, !tbaa !15
  %217 = fdiv double %216, 1.000000e+06
  %218 = getelementptr inbounds %struct.co2_prop, ptr %6, i32 0, i32 1
  %219 = load double, ptr %218, align 8, !tbaa !17
  %220 = getelementptr inbounds %struct.co2_prop, ptr %6, i32 0, i32 3
  %221 = load double, ptr %220, align 8, !tbaa !18
  %222 = getelementptr inbounds %struct.co2_prop, ptr %6, i32 0, i32 5
  %223 = load double, ptr %222, align 8, !tbaa !19
  %224 = fdiv double %223, 1.000000e+03
  %225 = getelementptr inbounds %struct.co2_prop, ptr %6, i32 0, i32 7
  %226 = load double, ptr %225, align 8, !tbaa !20
  %227 = fdiv double %226, 1.000000e+03
  %228 = getelementptr inbounds %struct.co2_prop, ptr %6, i32 0, i32 4
  %229 = load double, ptr %228, align 8, !tbaa !21
  %230 = fdiv double %229, 1.000000e+03
  %231 = getelementptr inbounds %struct.co2_prop, ptr %6, i32 0, i32 6
  %232 = load double, ptr %231, align 8, !tbaa !22
  %233 = fdiv double %232, 1.000000e+03
  %234 = getelementptr inbounds %struct.co2_prop, ptr %6, i32 0, i32 8
  %235 = load double, ptr %234, align 8, !tbaa !23
  %236 = fdiv double %235, 1.000000e+03
  %237 = getelementptr inbounds %struct.co2_prop, ptr %6, i32 0, i32 10
  %238 = load double, ptr %237, align 8, !tbaa !24
  %239 = getelementptr inbounds %struct.co2_prop, ptr %6, i32 0, i32 13
  %240 = load double, ptr %239, align 8, !tbaa !25
  %241 = getelementptr inbounds %struct.co2_prop, ptr %6, i32 0, i32 14
  %242 = load double, ptr %241, align 8, !tbaa !26
  %243 = getelementptr inbounds %struct.co2_prop, ptr %6, i32 0, i32 15
  %244 = load double, ptr %243, align 8, !tbaa !27
  %245 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %213, ptr noundef @.str.27, i32 noundef %214, double noundef %217, double noundef %219, double noundef %221, double noundef %224, double noundef %227, double noundef %230, double noundef %233, double noundef %236, double noundef %238, double noundef %240, double noundef %242, double noundef %244) #5
  store i32 -1, ptr %10, align 4, !tbaa !5
  br label %246

246:                                              ; preds = %212, %146
  br label %247

247:                                              ; preds = %246
  br label %51, !llvm.loop !13

248:                                              ; preds = %51
  %249 = call i32 (ptr, ...) @printf(ptr noundef @.str.28)
  %250 = load ptr, ptr %8, align 8, !tbaa !9
  %251 = call i32 @fclose(ptr noundef %250)
  %252 = load ptr, ptr %9, align 8, !tbaa !9
  %253 = call i32 @fclose(ptr noundef %252)
  %254 = load ptr, ptr @stdin, align 8, !tbaa !9
  %255 = call i32 @fflush(ptr noundef %254)
  %256 = call i32 @getchar()
  store i32 0, ptr %3, align 4
  store i32 1, ptr %19, align 4
  br label %257

257:                                              ; preds = %248, %34, %24
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %16) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %15) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 128, ptr %7) #5
  call void @llvm.lifetime.end.p0(i64 128, ptr %6) #5
  %258 = load i32, ptr %3, align 4
  ret i32 %258
}

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

declare i32 @fflush(ptr noundef) #2

; Function Attrs: inlinehint nounwind uwtable
declare i32 @getchar() #3

declare i32 @fclose(ptr noundef) #2

; Function Attrs: nounwind
declare i32 @fprintf(ptr noundef, ptr noundef, ...) #4

; Function Attrs: nounwind
declare i32 @feof(ptr noundef) #4

declare i32 @__isoc99_fscanf(ptr noundef, ptr noundef, ...) #2

declare i32 @co2_prop_calc_pt(ptr noundef, ptr noundef, double noundef, double noundef) #2

declare i32 @co2_prop_calc_ph(ptr noundef, double noundef, double noundef) #2

declare i32 @co2_prop_calc_ps(ptr noundef, double noundef, double noundef) #2

declare i32 @co2_prop_calc_hs(ptr noundef, double noundef, double noundef) #2

declare void @co2_prop_calc_tr(ptr noundef, double noundef, double noundef) #2

declare i32 @co2_prop_calc_pr(ptr noundef, double noundef, double noundef) #2

declare i32 @co2_prop_calc_th(ptr noundef, double noundef, double noundef) #2

declare i32 @co2_prop_calc_ts(ptr noundef, double noundef, double noundef) #2

declare void @calc_trans_prop(ptr noundef) #2

attributes #0 = { 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 #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "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 = { inlinehint 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 #4 = { 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 #5 = { nounwind }

!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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"double", !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = !{!16, !12, i64 0}
!16 = !{!"", !12, i64 0, !12, i64 8, !12, i64 16, !12, i64 24, !12, i64 32, !12, i64 40, !12, i64 48, !12, i64 56, !12, i64 64, !12, i64 72, !12, i64 80, !12, i64 88, !12, i64 96, !12, i64 104, !12, i64 112, !12, i64 120}
!17 = !{!16, !12, i64 8}
!18 = !{!16, !12, i64 24}
!19 = !{!16, !12, i64 40}
!20 = !{!16, !12, i64 56}
!21 = !{!16, !12, i64 32}
!22 = !{!16, !12, i64 48}
!23 = !{!16, !12, i64 64}
!24 = !{!16, !12, i64 80}
!25 = !{!16, !12, i64 104}
!26 = !{!16, !12, i64 112}
!27 = !{!16, !12, i64 120}


; 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"

%struct.co2_prop = type { double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double }

@.str.11 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [87 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [91 x i8], align 1
@stdin = external local_unnamed_addr global ptr, align 8
@.str.15 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [91 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [44 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [66 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [89 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [63 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [92 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [90 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [91 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [184 x i8], align 1

; Function Attrs: nounwind uwtable
declare dso_local i32 @welcome() local_unnamed_addr #0

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

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

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

; Function Attrs: nounwind uwtable
define dso_local range(i32 -1, 1) i32 @main(i32 noundef %0, ptr nocapture noundef readnone %1) local_unnamed_addr #0 {
  %3 = alloca %struct.co2_prop, align 8
  %4 = alloca %struct.co2_prop, align 8
  %5 = alloca i32, align 4
  %6 = alloca i8, align 1
  %7 = alloca i8, align 1
  %8 = alloca i8, align 1
  %9 = alloca double, align 8
  %10 = alloca double, align 8
  call void @llvm.lifetime.start.p0(i64 128, ptr nonnull %3) #5
  call void @llvm.lifetime.start.p0(i64 128, ptr nonnull %4) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %6) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %7) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %8) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #5
  %11 = tail call i32 @welcome()
  %12 = tail call noalias ptr @fopen(ptr noundef nonnull @.str.11, ptr noundef nonnull @.str.12)
  %13 = icmp eq ptr %12, null
  br i1 %13, label %14, label %20

14:                                               ; preds = %2
  %15 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.13)
  %16 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.14)
  %17 = load ptr, ptr @stdin, align 8, !tbaa !5
  %18 = tail call i32 @fflush(ptr noundef %17)
  %19 = tail call i32 @getchar()
  br label %172

20:                                               ; preds = %2
  %21 = tail call noalias ptr @fopen(ptr noundef nonnull @.str.15, ptr noundef nonnull @.str.16)
  %22 = icmp eq ptr %21, null
  br i1 %22, label %23, label %30

23:                                               ; preds = %20
  %24 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.17)
  %25 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.14)
  %26 = tail call i32 @fclose(ptr noundef nonnull %12)
  %27 = load ptr, ptr @stdin, align 8, !tbaa !5
  %28 = tail call i32 @fflush(ptr noundef %27)
  %29 = tail call i32 @getchar()
  br label %172

30:                                               ; preds = %20
  %31 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.18)
  %32 = load ptr, ptr @stdin, align 8, !tbaa !5
  %33 = tail call i32 @fflush(ptr noundef %32)
  %34 = tail call i32 @getchar()
  %35 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef nonnull %21, ptr noundef nonnull @.str.19) #5
  %36 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef nonnull %21, ptr noundef nonnull @.str.20) #5
  %37 = tail call i32 @feof(ptr noundef nonnull %12) #5
  %.not28 = icmp eq i32 %37, 0
  br i1 %.not28, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %30
  %38 = getelementptr inbounds i8, ptr %3, i64 8
  %39 = getelementptr inbounds i8, ptr %3, i64 24
  %40 = getelementptr inbounds i8, ptr %3, i64 40
  %41 = getelementptr inbounds i8, ptr %3, i64 56
  %42 = getelementptr inbounds i8, ptr %3, i64 32
  %43 = getelementptr inbounds i8, ptr %3, i64 48
  %44 = getelementptr inbounds i8, ptr %3, i64 64
  %45 = getelementptr inbounds i8, ptr %3, i64 80
  %46 = getelementptr inbounds i8, ptr %3, i64 104
  %47 = getelementptr inbounds i8, ptr %3, i64 112
  %48 = getelementptr inbounds i8, ptr %3, i64 120
  %49 = getelementptr inbounds i8, ptr %4, i64 8
  %50 = getelementptr inbounds i8, ptr %4, i64 24
  %51 = getelementptr inbounds i8, ptr %4, i64 40
  %52 = getelementptr inbounds i8, ptr %4, i64 56
  %53 = getelementptr inbounds i8, ptr %4, i64 32
  %54 = getelementptr inbounds i8, ptr %4, i64 48
  %55 = getelementptr inbounds i8, ptr %4, i64 64
  %56 = getelementptr inbounds i8, ptr %4, i64 80
  %57 = getelementptr inbounds i8, ptr %4, i64 104
  %58 = getelementptr inbounds i8, ptr %4, i64 112
  %59 = getelementptr inbounds i8, ptr %4, i64 120
  br label %60

60:                                               ; preds = %.lr.ph, %.backedge
  %.029 = phi i32 [ 0, %.lr.ph ], [ %61, %.backedge ]
  %61 = add nuw nsw i32 %.029, 1
  %62 = call i32 (ptr, ptr, ...) @__isoc99_fscanf(ptr noundef nonnull %12, ptr noundef nonnull @.str.21, ptr noundef nonnull %5, ptr noundef nonnull %6, ptr noundef nonnull %9, ptr noundef nonnull %7, ptr noundef nonnull %10, ptr noundef nonnull %8) #5
  %63 = load i32, ptr %5, align 4
  %64 = add i32 %63, -1
  %or.cond = icmp ult i32 %64, 8
  br i1 %or.cond, label %65, label %69

65:                                               ; preds = %60
  %66 = load double, ptr %9, align 8, !tbaa !9
  %67 = load double, ptr %10, align 8, !tbaa !9
  %68 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.22, i32 noundef %63, double noundef %66, double noundef %67)
  %.pr = load i32, ptr %5, align 4, !tbaa !11
  br label %69

69:                                               ; preds = %65, %60
  %70 = phi i32 [ %.pr, %65 ], [ %63, %60 ]
  switch i32 %70, label %.backedge [
    i32 1, label %71
    i32 2, label %75
    i32 3, label %79
    i32 4, label %83
    i32 5, label %.thread
    i32 6, label %89
    i32 7, label %93
    i32 8, label %97
  ]

71:                                               ; preds = %69
  %72 = load double, ptr %9, align 8, !tbaa !9
  %73 = load double, ptr %10, align 8, !tbaa !9
  %74 = call i32 @co2_prop_calc_pt(ptr noundef nonnull %3, ptr noundef nonnull %4, double noundef %72, double noundef %73) #5
  br label %101

75:                                               ; preds = %69
  %76 = load double, ptr %9, align 8, !tbaa !9
  %77 = load double, ptr %10, align 8, !tbaa !9
  %78 = call i32 @co2_prop_calc_ph(ptr noundef nonnull %3, double noundef %76, double noundef %77) #5
  br label %101

79:                                               ; preds = %69
  %80 = load double, ptr %9, align 8, !tbaa !9
  %81 = load double, ptr %10, align 8, !tbaa !9
  %82 = call i32 @co2_prop_calc_ps(ptr noundef nonnull %3, double noundef %80, double noundef %81) #5
  br label %101

83:                                               ; preds = %69
  %84 = load double, ptr %9, align 8, !tbaa !9
  %85 = load double, ptr %10, align 8, !tbaa !9
  %86 = call i32 @co2_prop_calc_hs(ptr noundef nonnull %3, double noundef %84, double noundef %85) #5
  br label %101

.thread:                                          ; preds = %69
  %87 = load double, ptr %9, align 8, !tbaa !9
  %88 = load double, ptr %10, align 8, !tbaa !9
  call void @co2_prop_calc_tr(ptr noundef nonnull %3, double noundef %87, double noundef %88) #5
  br label %145

89:                                               ; preds = %69
  %90 = load double, ptr %9, align 8, !tbaa !9
  %91 = load double, ptr %10, align 8, !tbaa !9
  %92 = call i32 @co2_prop_calc_pr(ptr noundef nonnull %3, double noundef %90, double noundef %91) #5
  br label %101

93:                                               ; preds = %69
  %94 = load double, ptr %9, align 8, !tbaa !9
  %95 = load double, ptr %10, align 8, !tbaa !9
  %96 = call i32 @co2_prop_calc_th(ptr noundef nonnull %3, double noundef %94, double noundef %95) #5
  br label %101

97:                                               ; preds = %69
  %98 = load double, ptr %9, align 8, !tbaa !9
  %99 = load double, ptr %10, align 8, !tbaa !9
  %100 = call i32 @co2_prop_calc_ts(ptr noundef nonnull %3, double noundef %98, double noundef %99) #5
  br label %101

101:                                              ; preds = %75, %83, %89, %97, %93, %79, %71
  %.022 = phi i32 [ %74, %71 ], [ %78, %75 ], [ %82, %79 ], [ %86, %83 ], [ %92, %89 ], [ %96, %93 ], [ %100, %97 ]
  switch i32 %.022, label %145 [
    i32 -1, label %102
    i32 1, label %106
  ]

102:                                              ; preds = %101
  %103 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.23, i32 noundef %61)
  %104 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef nonnull %21, ptr noundef nonnull @.str.24, i32 noundef %61) #5
  store i32 -1, ptr %5, align 4, !tbaa !11
  br label %.backedge

.backedge:                                        ; preds = %102, %165, %69
  %105 = call i32 @feof(ptr noundef nonnull %12) #5
  %.not = icmp eq i32 %105, 0
  br i1 %.not, label %60, label %._crit_edge, !llvm.loop !13

106:                                              ; preds = %101
  call void @calc_trans_prop(ptr noundef nonnull %3) #5
  call void @calc_trans_prop(ptr noundef nonnull %4) #5
  %107 = load double, ptr %3, align 8, !tbaa !15
  %108 = fdiv double %107, 1.000000e+06
  %109 = load double, ptr %38, align 8, !tbaa !17
  %110 = load double, ptr %39, align 8, !tbaa !18
  %111 = load double, ptr %40, align 8, !tbaa !19
  %112 = fdiv double %111, 1.000000e+03
  %113 = load double, ptr %41, align 8, !tbaa !20
  %114 = fdiv double %113, 1.000000e+03
  %115 = load double, ptr %42, align 8, !tbaa !21
  %116 = fdiv double %115, 1.000000e+03
  %117 = load double, ptr %43, align 8, !tbaa !22
  %118 = fdiv double %117, 1.000000e+03
  %119 = load double, ptr %44, align 8, !tbaa !23
  %120 = fdiv double %119, 1.000000e+03
  %121 = load double, ptr %45, align 8, !tbaa !24
  %122 = load double, ptr %46, align 8, !tbaa !25
  %123 = load double, ptr %47, align 8, !tbaa !26
  %124 = load double, ptr %48, align 8, !tbaa !27
  %125 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef nonnull %21, ptr noundef nonnull @.str.25, i32 noundef %61, double noundef %108, double noundef %109, double noundef %110, double noundef %112, double noundef %114, double noundef %116, double noundef %118, double noundef %120, double noundef %121, double noundef %122, double noundef %123, double noundef %124) #5
  %126 = load double, ptr %4, align 8, !tbaa !15
  %127 = fdiv double %126, 1.000000e+06
  %128 = load double, ptr %49, align 8, !tbaa !17
  %129 = load double, ptr %50, align 8, !tbaa !18
  %130 = load double, ptr %51, align 8, !tbaa !19
  %131 = fdiv double %130, 1.000000e+03
  %132 = load double, ptr %52, align 8, !tbaa !20
  %133 = fdiv double %132, 1.000000e+03
  %134 = load double, ptr %53, align 8, !tbaa !21
  %135 = fdiv double %134, 1.000000e+03
  %136 = load double, ptr %54, align 8, !tbaa !22
  %137 = fdiv double %136, 1.000000e+03
  %138 = load double, ptr %55, align 8, !tbaa !23
  %139 = fdiv double %138, 1.000000e+03
  %140 = load double, ptr %56, align 8, !tbaa !24
  %141 = load double, ptr %57, align 8, !tbaa !25
  %142 = load double, ptr %58, align 8, !tbaa !26
  %143 = load double, ptr %59, align 8, !tbaa !27
  %144 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef nonnull %21, ptr noundef nonnull @.str.26, double noundef %127, double noundef %128, double noundef %129, double noundef %131, double noundef %133, double noundef %135, double noundef %137, double noundef %139, double noundef %140, double noundef %141, double noundef %142, double noundef %143) #5
  br label %165

145:                                              ; preds = %.thread, %101
  call void @calc_trans_prop(ptr noundef nonnull %3) #5
  %146 = load double, ptr %3, align 8, !tbaa !15
  %147 = fdiv double %146, 1.000000e+06
  %148 = load double, ptr %38, align 8, !tbaa !17
  %149 = load double, ptr %39, align 8, !tbaa !18
  %150 = load double, ptr %40, align 8, !tbaa !19
  %151 = fdiv double %150, 1.000000e+03
  %152 = load double, ptr %41, align 8, !tbaa !20
  %153 = fdiv double %152, 1.000000e+03
  %154 = load double, ptr %42, align 8, !tbaa !21
  %155 = fdiv double %154, 1.000000e+03
  %156 = load double, ptr %43, align 8, !tbaa !22
  %157 = fdiv double %156, 1.000000e+03
  %158 = load double, ptr %44, align 8, !tbaa !23
  %159 = fdiv double %158, 1.000000e+03
  %160 = load double, ptr %45, align 8, !tbaa !24
  %161 = load double, ptr %46, align 8, !tbaa !25
  %162 = load double, ptr %47, align 8, !tbaa !26
  %163 = load double, ptr %48, align 8, !tbaa !27
  %164 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef nonnull %21, ptr noundef nonnull @.str.27, i32 noundef %61, double noundef %147, double noundef %148, double noundef %149, double noundef %151, double noundef %153, double noundef %155, double noundef %157, double noundef %159, double noundef %160, double noundef %161, double noundef %162, double noundef %163) #5
  br label %165

165:                                              ; preds = %106, %145
  store i32 -1, ptr %5, align 4, !tbaa !11
  br label %.backedge

._crit_edge:                                      ; preds = %.backedge, %30
  %166 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.28)
  %167 = call i32 @fclose(ptr noundef nonnull %12)
  %168 = call i32 @fclose(ptr noundef nonnull %21)
  %169 = load ptr, ptr @stdin, align 8, !tbaa !5
  %170 = call i32 @fflush(ptr noundef %169)
  %171 = call i32 @getchar()
  br label %172

172:                                              ; preds = %._crit_edge, %23, %14
  %.021 = phi i32 [ -1, %14 ], [ -1, %23 ], [ 0, %._crit_edge ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %8) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %7) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %6) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #5
  call void @llvm.lifetime.end.p0(i64 128, ptr nonnull %4) #5
  call void @llvm.lifetime.end.p0(i64 128, ptr nonnull %3) #5
  ret i32 %.021
}

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

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

; Function Attrs: inlinehint nofree nounwind uwtable
declare noundef i32 @getchar() local_unnamed_addr #3

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

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

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

declare i32 @__isoc99_fscanf(ptr noundef, ptr noundef, ...) local_unnamed_addr #4

declare i32 @co2_prop_calc_pt(ptr noundef, ptr noundef, double noundef, double noundef) local_unnamed_addr #4

declare i32 @co2_prop_calc_ph(ptr noundef, double noundef, double noundef) local_unnamed_addr #4

declare i32 @co2_prop_calc_ps(ptr noundef, double noundef, double noundef) local_unnamed_addr #4

declare i32 @co2_prop_calc_hs(ptr noundef, double noundef, double noundef) local_unnamed_addr #4

declare void @co2_prop_calc_tr(ptr noundef, double noundef, double noundef) local_unnamed_addr #4

declare i32 @co2_prop_calc_pr(ptr noundef, double noundef, double noundef) local_unnamed_addr #4

declare i32 @co2_prop_calc_th(ptr noundef, double noundef, double noundef) local_unnamed_addr #4

declare i32 @co2_prop_calc_ts(ptr noundef, double noundef, double noundef) local_unnamed_addr #4

declare void @calc_trans_prop(ptr noundef) local_unnamed_addr #4

attributes #0 = { 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 #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 #3 = { inlinehint nofree 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 #4 = { "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 }

!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 = !{!"double", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = !{!16, !10, i64 0}
!16 = !{!"", !10, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !10, i64 32, !10, i64 40, !10, i64 48, !10, i64 56, !10, i64 64, !10, i64 72, !10, i64 80, !10, i64 88, !10, i64 96, !10, i64 104, !10, i64 112, !10, i64 120}
!17 = !{!16, !10, i64 8}
!18 = !{!16, !10, i64 24}
!19 = !{!16, !10, i64 40}
!20 = !{!16, !10, i64 56}
!21 = !{!16, !10, i64 32}
!22 = !{!16, !10, i64 48}
!23 = !{!16, !10, i64 64}
!24 = !{!16, !10, i64 80}
!25 = !{!16, !10, i64 104}
!26 = !{!16, !10, i64 112}
!27 = !{!16, !10, i64 120}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass