; LLVM IR from stivalaa/EstimNetDirected :: Test/TestChangeStatsUndirected (testDiffStatsChangeStatsUndirectedMain)

; 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.graph_s = type { i32, i32, i32, i32, ptr, ptr, ptr, ptr, ptr, i32, ptr, ptr, ptr, i32, i32, i32, ptr, ptr, i32, ptr, ptr, i32, ptr, ptr, i32, ptr, ptr, ptr, i32, i32, i32, i32, i32, ptr, i32, i32, ptr, ptr, i32, ptr, i32, ptr, ptr, i32, i32, ptr, i32, ptr }

@.str = external hidden unnamed_addr constant [2 x i8], align 1
@optind = external global i32, align 4
@stderr = external global ptr, align 8
@.str.1 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [99 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [131 x i8], align 1
@__PRETTY_FUNCTION__.main = external hidden unnamed_addr constant [23 x i8], align 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 [1024 x i8], align 16
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca ptr, align 8
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca ptr, align 8
  %17 = alloca ptr, align 8
  %18 = alloca double, align 8
  %19 = alloca ptr, align 8
  %20 = alloca i32, align 4
  %21 = alloca i32, align 4
  %22 = alloca i32, align 4
  %23 = alloca double, align 8
  %24 = alloca double, align 8
  %25 = 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 1024, ptr %6) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #7
  store ptr null, ptr %9, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #7
  store ptr null, ptr %10, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #7
  store i32 0, ptr %11, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #7
  store i32 0, ptr %12, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #7
  store ptr null, ptr %13, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #7
  store i32 0, ptr %14, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #7
  store i32 0, ptr %15, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #7
  store ptr null, ptr %16, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #7
  store ptr null, ptr %17, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #7
  store i32 0, ptr %20, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #7
  store i32 0, ptr %22, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #7
  %26 = call i64 @time(ptr noundef null) #7
  %27 = trunc i64 %26 to i32
  call void @srand(i32 noundef %27) #7
  br label %28

28:                                               ; preds = %40, %2
  %29 = load i32, ptr %4, align 4, !tbaa !5
  %30 = load ptr, ptr %5, align 8, !tbaa !9
  %31 = call i32 @getopt(i32 noundef %29, ptr noundef %30, ptr noundef @.str) #7
  store i32 %31, ptr %21, align 4, !tbaa !5
  %32 = icmp ne i32 %31, -1
  br i1 %32, label %33, label %41

33:                                               ; preds = %28
  %34 = load i32, ptr %21, align 4, !tbaa !5
  switch i32 %34, label %36 [
    i32 115, label %35
  ]

35:                                               ; preds = %33
  store i32 1, ptr %20, align 4, !tbaa !5
  br label %40

36:                                               ; preds = %33
  %37 = load ptr, ptr %5, align 8, !tbaa !9
  %38 = getelementptr inbounds ptr, ptr %37, i64 0
  %39 = load ptr, ptr %38, align 8, !tbaa !9
  call void @usage(ptr noundef %39)
  br label %40

40:                                               ; preds = %36, %35
  br label %28, !llvm.loop !11

41:                                               ; preds = %28
  %42 = load i32, ptr %20, align 4, !tbaa !5
  %43 = load i32, ptr %4, align 4, !tbaa !5
  %44 = load i32, ptr @optind, align 4, !tbaa !5
  %45 = sub nsw i32 %43, %44
  %46 = icmp slt i32 %45, 2
  br i1 %46, label %52, label %47

47:                                               ; preds = %41
  %48 = load i32, ptr %4, align 4, !tbaa !5
  %49 = load i32, ptr @optind, align 4, !tbaa !5
  %50 = sub nsw i32 %48, %49
  %51 = icmp sgt i32 %50, 3
  br i1 %51, label %52, label %56

52:                                               ; preds = %47, %41
  %53 = load ptr, ptr %5, align 8, !tbaa !9
  %54 = getelementptr inbounds ptr, ptr %53, i64 0
  %55 = load ptr, ptr %54, align 8, !tbaa !9
  call void @usage(ptr noundef %55)
  br label %56

56:                                               ; preds = %52, %47
  %57 = load ptr, ptr %5, align 8, !tbaa !9
  %58 = load i32, ptr @optind, align 4, !tbaa !5
  %59 = sext i32 %58 to i64
  %60 = getelementptr inbounds ptr, ptr %57, i64 %59
  %61 = load ptr, ptr %60, align 8, !tbaa !9
  store ptr %61, ptr %9, align 8, !tbaa !9
  %62 = load ptr, ptr %5, align 8, !tbaa !9
  %63 = load i32, ptr @optind, align 4, !tbaa !5
  %64 = add nsw i32 %63, 1
  %65 = sext i32 %64 to i64
  %66 = getelementptr inbounds ptr, ptr %62, i64 %65
  %67 = load ptr, ptr %66, align 8, !tbaa !9
  %68 = call double @strtod(ptr noundef %67, ptr noundef %19) #7
  store double %68, ptr %18, align 8, !tbaa !13
  %69 = load double, ptr %18, align 8, !tbaa !13
  %70 = fcmp ole double %69, 1.000000e+00
  br i1 %70, label %71, label %75

71:                                               ; preds = %56
  %72 = load ptr, ptr @stderr, align 8, !tbaa !9
  %73 = load double, ptr %18, align 8, !tbaa !13
  %74 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %72, ptr noundef @.str.1, double noundef %73) #7
  store i32 -1, ptr %3, align 4
  store i32 1, ptr %25, align 4
  br label %250

75:                                               ; preds = %56
  %76 = load i32, ptr %4, align 4, !tbaa !5
  %77 = load i32, ptr @optind, align 4, !tbaa !5
  %78 = sub nsw i32 %76, %77
  %79 = icmp eq i32 %78, 3
  br i1 %79, label %80, label %98

80:                                               ; preds = %75
  store i32 1, ptr %15, align 4, !tbaa !5
  %81 = load ptr, ptr %5, align 8, !tbaa !9
  %82 = load i32, ptr @optind, align 4, !tbaa !5
  %83 = add nsw i32 %82, 2
  %84 = sext i32 %83 to i64
  %85 = getelementptr inbounds ptr, ptr %81, i64 %84
  %86 = load ptr, ptr %85, align 8, !tbaa !9
  store ptr %86, ptr %16, align 8, !tbaa !9
  %87 = load ptr, ptr %16, align 8, !tbaa !9
  %88 = call noalias ptr @fopen(ptr noundef %87, ptr noundef @.str.2)
  store ptr %88, ptr %17, align 8, !tbaa !9
  %89 = icmp ne ptr %88, null
  br i1 %89, label %97, label %90

90:                                               ; preds = %80
  %91 = load ptr, ptr @stderr, align 8, !tbaa !9
  %92 = load ptr, ptr %16, align 8, !tbaa !9
  %93 = call ptr @__errno_location() #8
  %94 = load i32, ptr %93, align 4, !tbaa !5
  %95 = call ptr @strerror(i32 noundef %94) #7
  %96 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %91, ptr noundef @.str.3, ptr noundef %92, ptr noundef %95) #7
  call void @exit(i32 noundef 1) #9
  unreachable

97:                                               ; preds = %80
  br label %99

98:                                               ; preds = %75
  store i32 0, ptr %15, align 4, !tbaa !5
  br label %99

99:                                               ; preds = %98, %97
  %100 = load ptr, ptr %9, align 8, !tbaa !9
  %101 = call noalias ptr @fopen(ptr noundef %100, ptr noundef @.str.2)
  store ptr %101, ptr %10, align 8, !tbaa !9
  %102 = icmp ne ptr %101, null
  br i1 %102, label %110, label %103

103:                                              ; preds = %99
  %104 = load ptr, ptr @stderr, align 8, !tbaa !9
  %105 = load ptr, ptr %9, align 8, !tbaa !9
  %106 = call ptr @__errno_location() #8
  %107 = load i32, ptr %106, align 4, !tbaa !5
  %108 = call ptr @strerror(i32 noundef %107) #7
  %109 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %104, ptr noundef @.str.4, ptr noundef %105, ptr noundef %108) #7
  store i32 -1, ptr %3, align 4
  store i32 1, ptr %25, align 4
  br label %250

110:                                              ; preds = %99
  %111 = load ptr, ptr %10, align 8, !tbaa !9
  %112 = call i32 @get_num_vertices_from_arclist_file(ptr noundef %111)
  store i32 %112, ptr %11, align 4, !tbaa !5
  %113 = load i32, ptr %11, align 4, !tbaa !5
  %114 = load i32, ptr %12, align 4, !tbaa !5
  %115 = call ptr @allocate_graph(i32 noundef %113, i32 noundef 0, i32 noundef 0, i32 noundef %114)
  store ptr %115, ptr %13, align 8, !tbaa !9
  %116 = load ptr, ptr %9, align 8, !tbaa !9
  %117 = call noalias ptr @fopen(ptr noundef %116, ptr noundef @.str.2)
  store ptr %117, ptr %10, align 8, !tbaa !9
  %118 = icmp ne ptr %117, null
  br i1 %118, label %126, label %119

119:                                              ; preds = %110
  %120 = load ptr, ptr @stderr, align 8, !tbaa !9
  %121 = load ptr, ptr %9, align 8, !tbaa !9
  %122 = call ptr @__errno_location() #8
  %123 = load i32, ptr %122, align 4, !tbaa !5
  %124 = call ptr @strerror(i32 noundef %123) #7
  %125 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %120, ptr noundef @.str.4, ptr noundef %121, ptr noundef %124) #7
  store i32 -1, ptr %3, align 4
  store i32 1, ptr %25, align 4
  br label %250

126:                                              ; preds = %110
  %127 = load ptr, ptr %10, align 8, !tbaa !9
  %128 = load ptr, ptr %13, align 8, !tbaa !9
  %129 = call ptr @load_graph_from_arclist_file(ptr noundef %127, ptr noundef %128, i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 0, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null)
  store ptr %129, ptr %13, align 8, !tbaa !9
  store i32 0, ptr %14, align 4, !tbaa !5
  br label %130

130:                                              ; preds = %241, %188, %126
  br label %131

131:                                              ; preds = %130
  %132 = load i32, ptr %15, align 4, !tbaa !5
  %133 = icmp ne i32 %132, 0
  br i1 %133, label %134, label %173

134:                                              ; preds = %131
  %135 = load ptr, ptr %17, align 8, !tbaa !9
  %136 = call i32 @feof(ptr noundef %135) #7
  %137 = icmp ne i32 %136, 0
  br i1 %137, label %138, label %139

138:                                              ; preds = %134
  br label %242

139:                                              ; preds = %134
  %140 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 0
  %141 = load ptr, ptr %17, align 8, !tbaa !9
  %142 = call ptr @fgets(ptr noundef %140, i32 noundef 1023, ptr noundef %141)
  %143 = icmp ne ptr %142, null
  br i1 %143, label %145, label %144

144:                                              ; preds = %139
  br label %242

145:                                              ; preds = %139
  %146 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 0
  %147 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef %146, ptr noundef @.str.5, ptr noundef %7, ptr noundef %8) #7
  %148 = icmp ne i32 %147, 2
  br i1 %148, label %149, label %152

149:                                              ; preds = %145
  %150 = load ptr, ptr @stderr, align 8, !tbaa !9
  %151 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %150, ptr noundef @.str.6) #7
  call void @exit(i32 noundef 1) #9
  unreachable

152:                                              ; preds = %145
  %153 = load i32, ptr %7, align 4, !tbaa !5
  %154 = load ptr, ptr %13, align 8, !tbaa !9
  %155 = getelementptr inbounds %struct.graph_s, ptr %154, i32 0, i32 0
  %156 = load i32, ptr %155, align 8, !tbaa !15
  %157 = icmp uge i32 %153, %156
  br i1 %157, label %158, label %162

158:                                              ; preds = %152
  %159 = load ptr, ptr @stderr, align 8, !tbaa !9
  %160 = load i32, ptr %7, align 4, !tbaa !5
  %161 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %159, ptr noundef @.str.7, i32 noundef %160) #7
  call void @exit(i32 noundef 1) #9
  unreachable

162:                                              ; preds = %152
  %163 = load i32, ptr %8, align 4, !tbaa !5
  %164 = load ptr, ptr %13, align 8, !tbaa !9
  %165 = getelementptr inbounds %struct.graph_s, ptr %164, i32 0, i32 0
  %166 = load i32, ptr %165, align 8, !tbaa !15
  %167 = icmp uge i32 %163, %166
  br i1 %167, label %168, label %172

168:                                              ; preds = %162
  %169 = load ptr, ptr @stderr, align 8, !tbaa !9
  %170 = load i32, ptr %8, align 4, !tbaa !5
  %171 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %169, ptr noundef @.str.8, i32 noundef %170) #7
  call void @exit(i32 noundef 1) #9
  unreachable

172:                                              ; preds = %162
  br label %184

173:                                              ; preds = %131
  %174 = call i32 @rand() #7
  %175 = load ptr, ptr %13, align 8, !tbaa !9
  %176 = getelementptr inbounds %struct.graph_s, ptr %175, i32 0, i32 0
  %177 = load i32, ptr %176, align 8, !tbaa !15
  %178 = urem i32 %174, %177
  store i32 %178, ptr %7, align 4, !tbaa !5
  %179 = call i32 @rand() #7
  %180 = load ptr, ptr %13, align 8, !tbaa !9
  %181 = getelementptr inbounds %struct.graph_s, ptr %180, i32 0, i32 0
  %182 = load i32, ptr %181, align 8, !tbaa !15
  %183 = urem i32 %179, %182
  store i32 %183, ptr %8, align 4, !tbaa !5
  br label %184

184:                                              ; preds = %173, %172
  %185 = load i32, ptr %7, align 4, !tbaa !5
  %186 = load i32, ptr %8, align 4, !tbaa !5
  %187 = icmp eq i32 %185, %186
  br i1 %187, label %188, label %189

188:                                              ; preds = %184
  br label %130

189:                                              ; preds = %184
  %190 = load ptr, ptr %13, align 8, !tbaa !9
  %191 = load i32, ptr %7, align 4, !tbaa !5
  %192 = load i32, ptr %8, align 4, !tbaa !5
  %193 = call i32 @isEdge(ptr noundef %190, i32 noundef %191, i32 noundef %192)
  %194 = icmp ne i32 %193, 0
  br i1 %194, label %195, label %199

195:                                              ; preds = %189
  %196 = load ptr, ptr %13, align 8, !tbaa !9
  %197 = load i32, ptr %7, align 4, !tbaa !5
  %198 = load i32, ptr %8, align 4, !tbaa !5
  call void @removeEdge(ptr noundef %196, i32 noundef %197, i32 noundef %198)
  store i32 1, ptr %22, align 4, !tbaa !5
  br label %199

199:                                              ; preds = %195, %189
  %200 = load ptr, ptr %13, align 8, !tbaa !9
  %201 = load i32, ptr %7, align 4, !tbaa !5
  %202 = load i32, ptr %8, align 4, !tbaa !5
  %203 = load double, ptr %18, align 8, !tbaa !13
  %204 = call double @changePowerFourCycles(ptr noundef %200, i32 noundef %201, i32 noundef %202, double noundef %203)
  store double %204, ptr %23, align 8, !tbaa !13
  %205 = load ptr, ptr %13, align 8, !tbaa !9
  %206 = load double, ptr %18, align 8, !tbaa !13
  %207 = call double @PowerFourCycles(ptr noundef %205, double noundef %206)
  store double %207, ptr %24, align 8, !tbaa !13
  %208 = load ptr, ptr %13, align 8, !tbaa !9
  %209 = load i32, ptr %7, align 4, !tbaa !5
  %210 = load i32, ptr %8, align 4, !tbaa !5
  call void @insertEdge(ptr noundef %208, i32 noundef %209, i32 noundef %210)
  %211 = load double, ptr %23, align 8, !tbaa !13
  %212 = load ptr, ptr %13, align 8, !tbaa !9
  %213 = load double, ptr %18, align 8, !tbaa !13
  %214 = call double @PowerFourCycles(ptr noundef %212, double noundef %213)
  %215 = load double, ptr %24, align 8, !tbaa !13
  %216 = fsub double %214, %215
  %217 = fsub double %211, %216
  %218 = call double @llvm.fabs.f64(double %217)
  %219 = fcmp ole double %218, 0x3EB0C6F7A0B5ED8D
  br i1 %219, label %220, label %221

220:                                              ; preds = %199
  br label %222

221:                                              ; preds = %199
  call void @__assert_fail(ptr noundef @.str.9, ptr noundef @.str.10, i32 noundef 179, ptr noundef @__PRETTY_FUNCTION__.main) #9
  unreachable

222:                                              ; preds = %220
  %223 = load ptr, ptr %13, align 8, !tbaa !9
  %224 = load i32, ptr %7, align 4, !tbaa !5
  %225 = load i32, ptr %8, align 4, !tbaa !5
  call void @removeEdge(ptr noundef %223, i32 noundef %224, i32 noundef %225)
  %226 = load i32, ptr %14, align 4, !tbaa !5
  %227 = add nsw i32 %226, 1
  store i32 %227, ptr %14, align 4, !tbaa !5
  %228 = load i32, ptr %22, align 4, !tbaa !5
  %229 = icmp ne i32 %228, 0
  br i1 %229, label %230, label %234

230:                                              ; preds = %222
  %231 = load ptr, ptr %13, align 8, !tbaa !9
  %232 = load i32, ptr %7, align 4, !tbaa !5
  %233 = load i32, ptr %8, align 4, !tbaa !5
  call void @insertEdge(ptr noundef %231, i32 noundef %232, i32 noundef %233)
  br label %234

234:                                              ; preds = %230, %222
  %235 = load i32, ptr %15, align 4, !tbaa !5
  %236 = icmp ne i32 %235, 0
  br i1 %236, label %241, label %237

237:                                              ; preds = %234
  %238 = load i32, ptr %14, align 4, !tbaa !5
  %239 = icmp sge i32 %238, 100
  br i1 %239, label %240, label %241

240:                                              ; preds = %237
  br label %242

241:                                              ; preds = %237, %234
  br label %130

242:                                              ; preds = %240, %144, %138
  %243 = load i32, ptr %15, align 4, !tbaa !5
  %244 = icmp ne i32 %243, 0
  br i1 %244, label %245, label %248

245:                                              ; preds = %242
  %246 = load ptr, ptr %17, align 8, !tbaa !9
  %247 = call i32 @fclose(ptr noundef %246)
  br label %248

248:                                              ; preds = %245, %242
  %249 = load ptr, ptr %13, align 8, !tbaa !9
  call void @free_graph(ptr noundef %249)
  call void @exit(i32 noundef 0) #9
  unreachable

250:                                              ; preds = %119, %103, %71
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #7
  call void @llvm.lifetime.end.p0(i64 1024, ptr %6) #7
  %251 = load i32, ptr %3, align 4
  ret i32 %251
}

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

; Function Attrs: nounwind
declare void @srand(i32 noundef) #2

; Function Attrs: nounwind
declare i64 @time(ptr noundef) #2

; Function Attrs: nounwind
declare i32 @getopt(i32 noundef, ptr noundef, ptr noundef) #2

; Function Attrs: nounwind uwtable
declare hidden void @usage(ptr noundef) #0

; Function Attrs: nounwind
declare double @strtod(ptr noundef, ptr noundef) #2

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

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

; Function Attrs: nounwind
declare ptr @strerror(i32 noundef) #2

; Function Attrs: nounwind willreturn memory(none)
declare ptr @__errno_location() #4

; Function Attrs: noreturn nounwind
declare void @exit(i32 noundef) #5

declare i32 @get_num_vertices_from_arclist_file(ptr noundef) #3

declare ptr @allocate_graph(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #3

declare ptr @load_graph_from_arclist_file(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #3

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

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

; Function Attrs: nounwind
declare i32 @__isoc99_sscanf(ptr noundef, ptr noundef, ...) #2

; Function Attrs: nounwind
declare i32 @rand() #2

declare i32 @isEdge(ptr noundef, i32 noundef, i32 noundef) #3

declare void @removeEdge(ptr noundef, i32 noundef, i32 noundef) #3

declare double @changePowerFourCycles(ptr noundef, i32 noundef, i32 noundef, double noundef) #3

declare double @PowerFourCycles(ptr noundef, double noundef) #3

declare void @insertEdge(ptr noundef, i32 noundef, i32 noundef) #3

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fabs.f64(double) #6

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #5

declare i32 @fclose(ptr noundef) #3

declare void @free_graph(ptr noundef) #3

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

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 = { 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 = { "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(none) "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 = { noreturn 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 #6 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #7 = { nounwind }
attributes #8 = { nounwind willreturn memory(none) }
attributes #9 = { noreturn 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 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = !{!14, !14, i64 0}
!14 = !{!"double", !7, i64 0}
!15 = !{!16, !6, i64 0}
!16 = !{!"graph_s", !6, i64 0, !6, i64 4, !6, i64 8, !6, i64 12, !10, i64 16, !10, i64 24, !10, i64 32, !10, i64 40, !10, i64 48, !6, i64 56, !10, i64 64, !10, i64 72, !10, i64 80, !6, i64 88, !6, i64 92, !6, i64 96, !10, i64 104, !10, i64 112, !6, i64 120, !10, i64 128, !10, i64 136, !6, i64 144, !10, i64 152, !10, i64 160, !6, i64 168, !10, i64 176, !10, i64 184, !10, i64 192, !6, i64 200, !6, i64 204, !6, i64 208, !6, i64 212, !6, i64 216, !10, i64 224, !6, i64 232, !6, i64 236, !10, i64 240, !10, i64 248, !6, i64 256, !10, i64 264, !6, i64 272, !10, i64 280, !10, i64 288, !6, i64 296, !6, i64 300, !10, i64 304, !6, i64 312, !10, i64 320}


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

@.str = external hidden unnamed_addr constant [2 x i8], align 1
@optind = external local_unnamed_addr global i32, align 4
@stderr = external local_unnamed_addr global ptr, align 8
@.str.1 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [99 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [131 x i8], align 1
@__PRETTY_FUNCTION__.main = external hidden unnamed_addr constant [23 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local noundef i32 @main(i32 noundef %0, ptr noundef %1) local_unnamed_addr #0 {
  %3 = alloca [1024 x i8], align 16
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca ptr, align 8
  call void @llvm.lifetime.start.p0(i64 1024, ptr nonnull %3) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #9
  %7 = tail call i64 @time(ptr noundef null) #9
  %8 = trunc i64 %7 to i32
  tail call void @srand(i32 noundef %8) #9
  br label %9

9:                                                ; preds = %.backedge, %2
  %10 = tail call i32 @getopt(i32 noundef %0, ptr noundef %1, ptr noundef nonnull @.str) #9
  switch i32 %10, label %11 [
    i32 -1, label %13
    i32 115, label %.backedge
  ]

.backedge:                                        ; preds = %9, %11
  br label %9, !llvm.loop !5

11:                                               ; preds = %9
  %12 = load ptr, ptr %1, align 8, !tbaa !7
  tail call void @usage(ptr noundef %12)
  br label %.backedge

13:                                               ; preds = %9
  %14 = load i32, ptr @optind, align 4, !tbaa !11
  %15 = add i32 %0, -4
  %16 = sub i32 %15, %14
  %or.cond82 = icmp ult i32 %16, -2
  br i1 %or.cond82, label %17, label %19

17:                                               ; preds = %13
  %18 = load ptr, ptr %1, align 8, !tbaa !7
  tail call void @usage(ptr noundef %18)
  %.pre = load i32, ptr @optind, align 4, !tbaa !11
  br label %19

19:                                               ; preds = %13, %17
  %20 = phi i32 [ %14, %13 ], [ %.pre, %17 ]
  %21 = sext i32 %20 to i64
  %22 = getelementptr inbounds ptr, ptr %1, i64 %21
  %23 = load ptr, ptr %22, align 8, !tbaa !7
  %24 = getelementptr i8, ptr %22, i64 8
  %25 = load ptr, ptr %24, align 8, !tbaa !7
  %26 = call double @strtod(ptr noundef %25, ptr noundef nonnull %6) #9
  %27 = fcmp ugt double %26, 1.000000e+00
  br i1 %27, label %31, label %28

28:                                               ; preds = %19
  %29 = load ptr, ptr @stderr, align 8, !tbaa !7
  %30 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %29, ptr noundef nonnull @.str.1, double noundef %26) #10
  br label %123

31:                                               ; preds = %19
  %32 = load i32, ptr @optind, align 4, !tbaa !11
  %33 = sub nsw i32 %0, %32
  %.not74 = icmp ne i32 %33, 3
  br i1 %.not74, label %46, label %34

34:                                               ; preds = %31
  %35 = sext i32 %32 to i64
  %36 = getelementptr ptr, ptr %1, i64 %35
  %37 = getelementptr i8, ptr %36, i64 16
  %38 = load ptr, ptr %37, align 8, !tbaa !7
  %39 = tail call noalias ptr @fopen(ptr noundef %38, ptr noundef nonnull @.str.2)
  %.not70 = icmp eq ptr %39, null
  br i1 %.not70, label %40, label %46

40:                                               ; preds = %34
  %41 = load ptr, ptr @stderr, align 8, !tbaa !7
  %42 = tail call ptr @__errno_location() #11
  %43 = load i32, ptr %42, align 4, !tbaa !11
  %44 = tail call ptr @strerror(i32 noundef %43) #9
  %45 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %41, ptr noundef nonnull @.str.3, ptr noundef %38, ptr noundef %44) #10
  tail call void @exit(i32 noundef 1) #12
  unreachable

46:                                               ; preds = %31, %34
  %.056 = phi ptr [ %39, %34 ], [ null, %31 ]
  %47 = tail call noalias ptr @fopen(ptr noundef %23, ptr noundef nonnull @.str.2)
  %.not71 = icmp eq ptr %47, null
  br i1 %.not71, label %48, label %54

48:                                               ; preds = %46
  %49 = load ptr, ptr @stderr, align 8, !tbaa !7
  %50 = tail call ptr @__errno_location() #11
  %51 = load i32, ptr %50, align 4, !tbaa !11
  %52 = tail call ptr @strerror(i32 noundef %51) #9
  %53 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %49, ptr noundef nonnull @.str.4, ptr noundef %23, ptr noundef %52) #10
  br label %123

54:                                               ; preds = %46
  %55 = tail call i32 @get_num_vertices_from_arclist_file(ptr noundef nonnull %47) #9
  %56 = tail call ptr @allocate_graph(i32 noundef %55, i32 noundef 0, i32 noundef 0, i32 noundef 0) #9
  %57 = tail call noalias ptr @fopen(ptr noundef %23, ptr noundef nonnull @.str.2)
  %.not72 = icmp eq ptr %57, null
  br i1 %.not72, label %58, label %64

58:                                               ; preds = %54
  %59 = load ptr, ptr @stderr, align 8, !tbaa !7
  %60 = tail call ptr @__errno_location() #11
  %61 = load i32, ptr %60, align 4, !tbaa !11
  %62 = tail call ptr @strerror(i32 noundef %61) #9
  %63 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %59, ptr noundef nonnull @.str.4, ptr noundef %23, ptr noundef %62) #10
  br label %123

64:                                               ; preds = %54
  %65 = tail call ptr @load_graph_from_arclist_file(ptr noundef nonnull %57, ptr noundef %56, i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 0, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null) #9
  br label %.outer

.outer:                                           ; preds = %119, %64
  %.058.ph = phi i32 [ %115, %119 ], [ 0, %64 ]
  %.053.ph = phi i32 [ %.1, %119 ], [ 0, %64 ]
  br i1 %.not74, label %.outer.split.us, label %.outer.split

.outer.split.us:                                  ; preds = %.outer, %.outer.split.us
  %66 = call i32 @rand() #9
  %67 = load i32, ptr %65, align 8, !tbaa !13
  %68 = urem i32 %66, %67
  store i32 %68, ptr %4, align 4, !tbaa !11
  %69 = call i32 @rand() #9
  %70 = load i32, ptr %65, align 8, !tbaa !13
  %71 = urem i32 %69, %70
  store i32 %71, ptr %5, align 4, !tbaa !11
  %72 = load i32, ptr %4, align 4, !tbaa !11
  %73 = icmp eq i32 %72, %71
  br i1 %73, label %.outer.split.us, label %.split.us

.outer.split:                                     ; preds = %.outer, %93
  %74 = call i32 @feof(ptr noundef %.056) #9
  %.not75 = icmp eq i32 %74, 0
  br i1 %.not75, label %75, label %121

75:                                               ; preds = %.outer.split
  %76 = call ptr @fgets(ptr noundef nonnull %3, i32 noundef 1023, ptr noundef %.056)
  %.not76 = icmp eq ptr %76, null
  br i1 %.not76, label %121, label %77

77:                                               ; preds = %75
  %78 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef nonnull %3, ptr noundef nonnull @.str.5, ptr noundef nonnull %4, ptr noundef nonnull %5) #9
  %.not77 = icmp eq i32 %78, 2
  br i1 %.not77, label %82, label %79

79:                                               ; preds = %77
  %80 = load ptr, ptr @stderr, align 8, !tbaa !7
  %81 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %80, ptr noundef nonnull @.str.6) #10
  call void @exit(i32 noundef 1) #12
  unreachable

82:                                               ; preds = %77
  %83 = load i32, ptr %4, align 4, !tbaa !11
  %84 = load i32, ptr %65, align 8, !tbaa !13
  %.not78 = icmp ult i32 %83, %84
  br i1 %.not78, label %88, label %85

85:                                               ; preds = %82
  %86 = load ptr, ptr @stderr, align 8, !tbaa !7
  %87 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %86, ptr noundef nonnull @.str.7, i32 noundef %83) #10
  call void @exit(i32 noundef 1) #12
  unreachable

88:                                               ; preds = %82
  %89 = load i32, ptr %5, align 4, !tbaa !11
  %.not79 = icmp ult i32 %89, %84
  br i1 %.not79, label %93, label %90

90:                                               ; preds = %88
  %91 = load ptr, ptr @stderr, align 8, !tbaa !7
  %92 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %91, ptr noundef nonnull @.str.8, i32 noundef %89) #10
  call void @exit(i32 noundef 1) #12
  unreachable

93:                                               ; preds = %88
  %94 = icmp eq i32 %83, %89
  br i1 %94, label %.outer.split, label %.split.us

.split.us:                                        ; preds = %93, %.outer.split.us
  %.us-phi = phi i32 [ %72, %.outer.split.us ], [ %83, %93 ]
  %.us-phi87 = phi i32 [ %71, %.outer.split.us ], [ %89, %93 ]
  %95 = call i32 @isEdge(ptr noundef nonnull %65, i32 noundef %.us-phi, i32 noundef %.us-phi87) #9
  %.not80 = icmp eq i32 %95, 0
  br i1 %.not80, label %99, label %96

96:                                               ; preds = %.split.us
  %97 = load i32, ptr %4, align 4, !tbaa !11
  %98 = load i32, ptr %5, align 4, !tbaa !11
  call void @removeEdge(ptr noundef nonnull %65, i32 noundef %97, i32 noundef %98) #9
  br label %99

99:                                               ; preds = %96, %.split.us
  %.1 = phi i32 [ 1, %96 ], [ %.053.ph, %.split.us ]
  %100 = load i32, ptr %4, align 4, !tbaa !11
  %101 = load i32, ptr %5, align 4, !tbaa !11
  %102 = call double @changePowerFourCycles(ptr noundef nonnull %65, i32 noundef %100, i32 noundef %101, double noundef %26) #9
  %103 = call double @PowerFourCycles(ptr noundef nonnull %65, double noundef %26) #9
  %104 = load i32, ptr %4, align 4, !tbaa !11
  %105 = load i32, ptr %5, align 4, !tbaa !11
  call void @insertEdge(ptr noundef nonnull %65, i32 noundef %104, i32 noundef %105) #9
  %106 = call double @PowerFourCycles(ptr noundef nonnull %65, double noundef %26) #9
  %107 = fsub double %106, %103
  %108 = fsub double %102, %107
  %109 = call double @llvm.fabs.f64(double %108)
  %110 = fcmp ugt double %109, 0x3EB0C6F7A0B5ED8D
  br i1 %110, label %111, label %112

111:                                              ; preds = %99
  call void @__assert_fail(ptr noundef nonnull @.str.9, ptr noundef nonnull @.str.10, i32 noundef 179, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #12
  unreachable

112:                                              ; preds = %99
  %113 = load i32, ptr %4, align 4, !tbaa !11
  %114 = load i32, ptr %5, align 4, !tbaa !11
  call void @removeEdge(ptr noundef %65, i32 noundef %113, i32 noundef %114) #9
  %115 = add nuw nsw i32 %.058.ph, 1
  %.not81 = icmp eq i32 %.1, 0
  br i1 %.not81, label %119, label %116

116:                                              ; preds = %112
  %117 = load i32, ptr %4, align 4, !tbaa !11
  %118 = load i32, ptr %5, align 4, !tbaa !11
  call void @insertEdge(ptr noundef %65, i32 noundef %117, i32 noundef %118) #9
  br label %119

119:                                              ; preds = %116, %112
  %120 = icmp ugt i32 %.058.ph, 98
  %or.cond = select i1 %.not74, i1 %120, i1 false
  br i1 %or.cond, label %.loopexit, label %.outer

121:                                              ; preds = %75, %.outer.split
  %122 = call i32 @fclose(ptr noundef %.056)
  br label %.loopexit

.loopexit:                                        ; preds = %119, %121
  call void @free_graph(ptr noundef %65) #9
  call void @exit(i32 noundef 0) #12
  unreachable

123:                                              ; preds = %58, %48, %28
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #9
  call void @llvm.lifetime.end.p0(i64 1024, ptr nonnull %3) #9
  ret i32 -1
}

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

; Function Attrs: nounwind
declare void @srand(i32 noundef) local_unnamed_addr #2

; Function Attrs: nounwind
declare i64 @time(ptr noundef) local_unnamed_addr #2

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

; Function Attrs: nounwind uwtable
declare hidden void @usage(ptr noundef) local_unnamed_addr #0

; Function Attrs: mustprogress nofree nounwind willreturn
declare double @strtod(ptr noundef readonly, ptr nocapture noundef) local_unnamed_addr #3

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

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

; Function Attrs: nounwind
declare ptr @strerror(i32 noundef) local_unnamed_addr #2

; Function Attrs: mustprogress nofree nosync nounwind willreturn memory(none)
declare ptr @__errno_location() local_unnamed_addr #5

; Function Attrs: noreturn nounwind
declare void @exit(i32 noundef) local_unnamed_addr #6

declare i32 @get_num_vertices_from_arclist_file(ptr noundef) local_unnamed_addr #7

declare ptr @allocate_graph(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #7

declare ptr @load_graph_from_arclist_file(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #7

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

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

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

; Function Attrs: nounwind
declare i32 @rand() local_unnamed_addr #2

declare i32 @isEdge(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #7

declare void @removeEdge(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #7

declare double @changePowerFourCycles(ptr noundef, i32 noundef, i32 noundef, double noundef) local_unnamed_addr #7

declare double @PowerFourCycles(ptr noundef, double noundef) local_unnamed_addr #7

declare void @insertEdge(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #7

; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fabs.f64(double) #8

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #6

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

declare void @free_graph(ptr noundef) local_unnamed_addr #7

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

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 = { 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 = { mustprogress nofree nounwind willreturn "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 "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 = { mustprogress nofree nosync nounwind willreturn memory(none) "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 = { noreturn 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 #7 = { "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 nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #9 = { nounwind }
attributes #10 = { cold nounwind }
attributes #11 = { nounwind willreturn memory(none) }
attributes #12 = { noreturn 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 = distinct !{!5, !6}
!6 = !{!"llvm.loop.mustprogress"}
!7 = !{!8, !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !9, i64 0}
!13 = !{!14, !12, i64 0}
!14 = !{!"graph_s", !12, i64 0, !12, i64 4, !12, i64 8, !12, i64 12, !8, i64 16, !8, i64 24, !8, i64 32, !8, i64 40, !8, i64 48, !12, i64 56, !8, i64 64, !8, i64 72, !8, i64 80, !12, i64 88, !12, i64 92, !12, i64 96, !8, i64 104, !8, i64 112, !12, i64 120, !8, i64 128, !8, i64 136, !12, i64 144, !8, i64 152, !8, i64 160, !12, i64 168, !8, i64 176, !8, i64 184, !8, i64 192, !12, i64 200, !12, i64 204, !12, i64 208, !12, i64 212, !12, i64 216, !8, i64 224, !12, i64 232, !12, i64 236, !8, i64 240, !8, i64 248, !12, i64 256, !8, i64 264, !12, i64 272, !8, i64 280, !8, i64 288, !12, i64 296, !12, i64 300, !8, i64 304, !12, i64 312, !8, i64 320}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LoopSimplifyCFGPass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass