; LLVM IR from stivalaa/EstimNetDirected :: Test/TestChangeStatsBipartite (testDiffStatsChangeStatsBipartiteMain)

; 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 [112 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [129 x i8], align 1
@__PRETTY_FUNCTION__.main = external hidden unnamed_addr constant [23 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [90 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [92 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [90 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [92 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [120 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [120 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [114 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [114 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [117 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [117 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [99 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 double, align 8
  %26 = alloca double, align 8
  %27 = alloca double, align 8
  %28 = alloca double, align 8
  %29 = alloca double, align 8
  %30 = alloca double, align 8
  %31 = alloca double, align 8
  %32 = alloca double, align 8
  %33 = alloca double, align 8
  %34 = alloca double, align 8
  %35 = alloca double, align 8
  %36 = alloca double, align 8
  %37 = 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
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %35) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %36) #7
  %38 = call i64 @time(ptr noundef null) #7
  %39 = trunc i64 %38 to i32
  call void @srand(i32 noundef %39) #7
  br label %40

40:                                               ; preds = %52, %2
  %41 = load i32, ptr %4, align 4, !tbaa !5
  %42 = load ptr, ptr %5, align 8, !tbaa !9
  %43 = call i32 @getopt(i32 noundef %41, ptr noundef %42, ptr noundef @.str) #7
  store i32 %43, ptr %21, align 4, !tbaa !5
  %44 = icmp ne i32 %43, -1
  br i1 %44, label %45, label %53

45:                                               ; preds = %40
  %46 = load i32, ptr %21, align 4, !tbaa !5
  switch i32 %46, label %48 [
    i32 115, label %47
  ]

47:                                               ; preds = %45
  store i32 1, ptr %20, align 4, !tbaa !5
  br label %52

48:                                               ; preds = %45
  %49 = load ptr, ptr %5, align 8, !tbaa !9
  %50 = getelementptr inbounds ptr, ptr %49, i64 0
  %51 = load ptr, ptr %50, align 8, !tbaa !9
  call void @usage(ptr noundef %51)
  br label %52

52:                                               ; preds = %48, %47
  br label %40, !llvm.loop !11

53:                                               ; preds = %40
  %54 = load i32, ptr %4, align 4, !tbaa !5
  %55 = load i32, ptr @optind, align 4, !tbaa !5
  %56 = sub nsw i32 %54, %55
  %57 = icmp slt i32 %56, 2
  br i1 %57, label %63, label %58

58:                                               ; preds = %53
  %59 = load i32, ptr %4, align 4, !tbaa !5
  %60 = load i32, ptr @optind, align 4, !tbaa !5
  %61 = sub nsw i32 %59, %60
  %62 = icmp sgt i32 %61, 3
  br i1 %62, label %63, label %67

63:                                               ; preds = %58, %53
  %64 = load ptr, ptr %5, align 8, !tbaa !9
  %65 = getelementptr inbounds ptr, ptr %64, i64 0
  %66 = load ptr, ptr %65, align 8, !tbaa !9
  call void @usage(ptr noundef %66)
  br label %67

67:                                               ; preds = %63, %58
  %68 = load ptr, ptr %5, align 8, !tbaa !9
  %69 = load i32, ptr @optind, align 4, !tbaa !5
  %70 = sext i32 %69 to i64
  %71 = getelementptr inbounds ptr, ptr %68, i64 %70
  %72 = load ptr, ptr %71, align 8, !tbaa !9
  store ptr %72, ptr %9, align 8, !tbaa !9
  %73 = load ptr, ptr %5, align 8, !tbaa !9
  %74 = load i32, ptr @optind, align 4, !tbaa !5
  %75 = add nsw i32 %74, 1
  %76 = sext i32 %75 to i64
  %77 = getelementptr inbounds ptr, ptr %73, i64 %76
  %78 = load ptr, ptr %77, align 8, !tbaa !9
  %79 = call double @strtod(ptr noundef %78, ptr noundef %19) #7
  store double %79, ptr %18, align 8, !tbaa !13
  %80 = load double, ptr %18, align 8, !tbaa !13
  %81 = fcmp ole double %80, 1.000000e+00
  br i1 %81, label %82, label %86

82:                                               ; preds = %67
  %83 = load ptr, ptr @stderr, align 8, !tbaa !9
  %84 = load double, ptr %18, align 8, !tbaa !13
  %85 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %83, ptr noundef @.str.1, double noundef %84) #7
  store i32 -1, ptr %3, align 4
  store i32 1, ptr %37, align 4
  br label %438

86:                                               ; preds = %67
  %87 = load i32, ptr %4, align 4, !tbaa !5
  %88 = load i32, ptr @optind, align 4, !tbaa !5
  %89 = sub nsw i32 %87, %88
  %90 = icmp eq i32 %89, 3
  br i1 %90, label %91, label %109

91:                                               ; preds = %86
  store i32 1, ptr %15, align 4, !tbaa !5
  %92 = load ptr, ptr %5, align 8, !tbaa !9
  %93 = load i32, ptr @optind, align 4, !tbaa !5
  %94 = add nsw i32 %93, 2
  %95 = sext i32 %94 to i64
  %96 = getelementptr inbounds ptr, ptr %92, i64 %95
  %97 = load ptr, ptr %96, align 8, !tbaa !9
  store ptr %97, ptr %16, align 8, !tbaa !9
  %98 = load ptr, ptr %16, align 8, !tbaa !9
  %99 = call noalias ptr @fopen(ptr noundef %98, ptr noundef @.str.2)
  store ptr %99, ptr %17, align 8, !tbaa !9
  %100 = icmp ne ptr %99, null
  br i1 %100, label %108, label %101

101:                                              ; preds = %91
  %102 = load ptr, ptr @stderr, align 8, !tbaa !9
  %103 = load ptr, ptr %16, align 8, !tbaa !9
  %104 = call ptr @__errno_location() #8
  %105 = load i32, ptr %104, align 4, !tbaa !5
  %106 = call ptr @strerror(i32 noundef %105) #7
  %107 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %102, ptr noundef @.str.3, ptr noundef %103, ptr noundef %106) #7
  call void @exit(i32 noundef 1) #9
  unreachable

108:                                              ; preds = %91
  br label %110

109:                                              ; preds = %86
  store i32 0, ptr %15, align 4, !tbaa !5
  br label %110

110:                                              ; preds = %109, %108
  %111 = load ptr, ptr %9, align 8, !tbaa !9
  %112 = call noalias ptr @fopen(ptr noundef %111, ptr noundef @.str.2)
  store ptr %112, ptr %10, align 8, !tbaa !9
  %113 = icmp ne ptr %112, null
  br i1 %113, label %121, label %114

114:                                              ; preds = %110
  %115 = load ptr, ptr @stderr, align 8, !tbaa !9
  %116 = load ptr, ptr %9, align 8, !tbaa !9
  %117 = call ptr @__errno_location() #8
  %118 = load i32, ptr %117, align 4, !tbaa !5
  %119 = call ptr @strerror(i32 noundef %118) #7
  %120 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %115, ptr noundef @.str.4, ptr noundef %116, ptr noundef %119) #7
  store i32 -1, ptr %3, align 4
  store i32 1, ptr %37, align 4
  br label %438

121:                                              ; preds = %110
  %122 = load ptr, ptr %10, align 8, !tbaa !9
  call void @get_num_vertices_from_bipartite_pajek_file(ptr noundef %122, ptr noundef %11, ptr noundef %12)
  %123 = load i32, ptr %11, align 4, !tbaa !5
  %124 = load i32, ptr %12, align 4, !tbaa !5
  %125 = call ptr @allocate_graph(i32 noundef %123, i32 noundef 0, i32 noundef 1, i32 noundef %124)
  store ptr %125, ptr %13, align 8, !tbaa !9
  %126 = load ptr, ptr %9, align 8, !tbaa !9
  %127 = call noalias ptr @fopen(ptr noundef %126, ptr noundef @.str.2)
  store ptr %127, ptr %10, align 8, !tbaa !9
  %128 = icmp ne ptr %127, null
  br i1 %128, label %136, label %129

129:                                              ; preds = %121
  %130 = load ptr, ptr @stderr, align 8, !tbaa !9
  %131 = load ptr, ptr %9, align 8, !tbaa !9
  %132 = call ptr @__errno_location() #8
  %133 = load i32, ptr %132, align 4, !tbaa !5
  %134 = call ptr @strerror(i32 noundef %133) #7
  %135 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %130, ptr noundef @.str.4, ptr noundef %131, ptr noundef %134) #7
  store i32 -1, ptr %3, align 4
  store i32 1, ptr %37, align 4
  br label %438

136:                                              ; preds = %121
  %137 = load ptr, ptr %10, align 8, !tbaa !9
  %138 = load ptr, ptr %13, align 8, !tbaa !9
  %139 = call ptr @load_graph_from_arclist_file(ptr noundef %137, ptr noundef %138, 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 %139, ptr %13, align 8, !tbaa !9
  store i32 0, ptr %14, align 4, !tbaa !5
  br label %140

140:                                              ; preds = %429, %136
  br label %141

141:                                              ; preds = %140
  %142 = load i32, ptr %15, align 4, !tbaa !5
  %143 = icmp ne i32 %142, 0
  br i1 %143, label %144, label %188

144:                                              ; preds = %141
  %145 = load ptr, ptr %17, align 8, !tbaa !9
  %146 = call i32 @feof(ptr noundef %145) #7
  %147 = icmp ne i32 %146, 0
  br i1 %147, label %148, label %149

148:                                              ; preds = %144
  br label %430

149:                                              ; preds = %144
  %150 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 0
  %151 = load ptr, ptr %17, align 8, !tbaa !9
  %152 = call ptr @fgets(ptr noundef %150, i32 noundef 1023, ptr noundef %151)
  %153 = icmp ne ptr %152, null
  br i1 %153, label %155, label %154

154:                                              ; preds = %149
  br label %430

155:                                              ; preds = %149
  %156 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 0
  %157 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef %156, ptr noundef @.str.5, ptr noundef %7, ptr noundef %8) #7
  %158 = icmp ne i32 %157, 2
  br i1 %158, label %159, label %162

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

162:                                              ; preds = %155
  %163 = load i32, ptr %7, align 4, !tbaa !5
  %164 = load ptr, ptr %13, align 8, !tbaa !9
  %165 = getelementptr inbounds %struct.graph_s, ptr %164, i32 0, i32 13
  %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 %7, align 4, !tbaa !5
  %171 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %169, ptr noundef @.str.7, i32 noundef %170) #7
  call void @exit(i32 noundef 1) #9
  unreachable

172:                                              ; preds = %162
  %173 = load i32, ptr %8, align 4, !tbaa !5
  %174 = load ptr, ptr %13, align 8, !tbaa !9
  %175 = getelementptr inbounds %struct.graph_s, ptr %174, i32 0, i32 14
  %176 = load i32, ptr %175, align 4, !tbaa !17
  %177 = icmp uge i32 %173, %176
  br i1 %177, label %178, label %182

178:                                              ; preds = %172
  %179 = load ptr, ptr @stderr, align 8, !tbaa !9
  %180 = load i32, ptr %8, align 4, !tbaa !5
  %181 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %179, ptr noundef @.str.8, i32 noundef %180) #7
  call void @exit(i32 noundef 1) #9
  unreachable

182:                                              ; preds = %172
  %183 = load ptr, ptr %13, align 8, !tbaa !9
  %184 = getelementptr inbounds %struct.graph_s, ptr %183, i32 0, i32 13
  %185 = load i32, ptr %184, align 8, !tbaa !15
  %186 = load i32, ptr %8, align 4, !tbaa !5
  %187 = add i32 %186, %185
  store i32 %187, ptr %8, align 4, !tbaa !5
  br label %203

188:                                              ; preds = %141
  %189 = call i32 @rand() #7
  %190 = load ptr, ptr %13, align 8, !tbaa !9
  %191 = getelementptr inbounds %struct.graph_s, ptr %190, i32 0, i32 13
  %192 = load i32, ptr %191, align 8, !tbaa !15
  %193 = urem i32 %189, %192
  store i32 %193, ptr %7, align 4, !tbaa !5
  %194 = load ptr, ptr %13, align 8, !tbaa !9
  %195 = getelementptr inbounds %struct.graph_s, ptr %194, i32 0, i32 13
  %196 = load i32, ptr %195, align 8, !tbaa !15
  %197 = call i32 @rand() #7
  %198 = load ptr, ptr %13, align 8, !tbaa !9
  %199 = getelementptr inbounds %struct.graph_s, ptr %198, i32 0, i32 14
  %200 = load i32, ptr %199, align 4, !tbaa !17
  %201 = urem i32 %197, %200
  %202 = add i32 %196, %201
  store i32 %202, ptr %8, align 4, !tbaa !5
  br label %203

203:                                              ; preds = %188, %182
  %204 = load ptr, ptr %13, align 8, !tbaa !9
  %205 = load i32, ptr %7, align 4, !tbaa !5
  %206 = load i32, ptr %8, align 4, !tbaa !5
  %207 = call i32 @isEdge(ptr noundef %204, i32 noundef %205, i32 noundef %206)
  %208 = icmp ne i32 %207, 0
  br i1 %208, label %209, label %213

209:                                              ; preds = %203
  %210 = load ptr, ptr %13, align 8, !tbaa !9
  %211 = load i32, ptr %7, align 4, !tbaa !5
  %212 = load i32, ptr %8, align 4, !tbaa !5
  call void @removeEdge(ptr noundef %210, i32 noundef %211, i32 noundef %212)
  store i32 1, ptr %22, align 4, !tbaa !5
  br label %213

213:                                              ; preds = %209, %203
  %214 = load ptr, ptr %13, align 8, !tbaa !9
  %215 = load i32, ptr %7, align 4, !tbaa !5
  %216 = load i32, ptr %8, align 4, !tbaa !5
  %217 = load double, ptr %18, align 8, !tbaa !13
  %218 = call double @changeBipartitePowerFourCyclesA(ptr noundef %214, i32 noundef %215, i32 noundef %216, double noundef %217)
  store double %218, ptr %23, align 8, !tbaa !13
  %219 = load ptr, ptr %13, align 8, !tbaa !9
  %220 = load i32, ptr %7, align 4, !tbaa !5
  %221 = load i32, ptr %8, align 4, !tbaa !5
  %222 = load double, ptr %18, align 8, !tbaa !13
  %223 = call double @changeBipartitePowerFourCyclesB(ptr noundef %219, i32 noundef %220, i32 noundef %221, double noundef %222)
  store double %223, ptr %24, align 8, !tbaa !13
  %224 = load ptr, ptr %13, align 8, !tbaa !9
  %225 = load i32, ptr %7, align 4, !tbaa !5
  %226 = load i32, ptr %8, align 4, !tbaa !5
  %227 = load double, ptr %18, align 8, !tbaa !13
  %228 = call double @changePowerFourCycles(ptr noundef %224, i32 noundef %225, i32 noundef %226, double noundef %227)
  store double %228, ptr %25, align 8, !tbaa !13
  %229 = load ptr, ptr %13, align 8, !tbaa !9
  %230 = load i32, ptr %7, align 4, !tbaa !5
  %231 = load i32, ptr %8, align 4, !tbaa !5
  %232 = load double, ptr %18, align 8, !tbaa !13
  %233 = call double @changeBipartiteAltKCyclesA(ptr noundef %229, i32 noundef %230, i32 noundef %231, double noundef %232)
  store double %233, ptr %26, align 8, !tbaa !13
  %234 = load ptr, ptr %13, align 8, !tbaa !9
  %235 = load i32, ptr %7, align 4, !tbaa !5
  %236 = load i32, ptr %8, align 4, !tbaa !5
  %237 = load double, ptr %18, align 8, !tbaa !13
  %238 = call double @changeBipartiteAltKCyclesB(ptr noundef %234, i32 noundef %235, i32 noundef %236, double noundef %237)
  store double %238, ptr %27, align 8, !tbaa !13
  %239 = load ptr, ptr %13, align 8, !tbaa !9
  %240 = load i32, ptr %7, align 4, !tbaa !5
  %241 = load i32, ptr %8, align 4, !tbaa !5
  %242 = load double, ptr %18, align 8, !tbaa !13
  %243 = call double @changeBipartiteAltK4CyclesA(ptr noundef %239, i32 noundef %240, i32 noundef %241, double noundef %242)
  store double %243, ptr %28, align 8, !tbaa !13
  %244 = load ptr, ptr %13, align 8, !tbaa !9
  %245 = load i32, ptr %7, align 4, !tbaa !5
  %246 = load i32, ptr %8, align 4, !tbaa !5
  %247 = load double, ptr %18, align 8, !tbaa !13
  %248 = call double @changeBipartiteAltK4CyclesB(ptr noundef %244, i32 noundef %245, i32 noundef %246, double noundef %247)
  store double %248, ptr %29, align 8, !tbaa !13
  %249 = load double, ptr %23, align 8, !tbaa !13
  %250 = load double, ptr %24, align 8, !tbaa !13
  %251 = fadd double %249, %250
  %252 = load double, ptr %25, align 8, !tbaa !13
  %253 = fsub double %251, %252
  %254 = call double @llvm.fabs.f64(double %253)
  %255 = fcmp ole double %254, 0x3EB0C6F7A0B5ED8D
  br i1 %255, label %256, label %257

256:                                              ; preds = %213
  br label %258

257:                                              ; preds = %213
  call void @__assert_fail(ptr noundef @.str.9, ptr noundef @.str.10, i32 noundef 193, ptr noundef @__PRETTY_FUNCTION__.main) #9
  unreachable

258:                                              ; preds = %256
  %259 = load ptr, ptr %13, align 8, !tbaa !9
  %260 = load double, ptr %18, align 8, !tbaa !13
  %261 = call double @PowerFourCyclesA(ptr noundef %259, double noundef %260)
  store double %261, ptr %30, align 8, !tbaa !13
  %262 = load ptr, ptr %13, align 8, !tbaa !9
  %263 = load double, ptr %18, align 8, !tbaa !13
  %264 = call double @PowerFourCyclesB(ptr noundef %262, double noundef %263)
  store double %264, ptr %31, align 8, !tbaa !13
  %265 = load ptr, ptr %13, align 8, !tbaa !9
  %266 = load double, ptr %18, align 8, !tbaa !13
  %267 = call double @BipartiteAltKCyclesA(ptr noundef %265, double noundef %266)
  store double %267, ptr %33, align 8, !tbaa !13
  %268 = load ptr, ptr %13, align 8, !tbaa !9
  %269 = load double, ptr %18, align 8, !tbaa !13
  %270 = call double @BipartiteAltKCyclesB(ptr noundef %268, double noundef %269)
  store double %270, ptr %34, align 8, !tbaa !13
  %271 = load ptr, ptr %13, align 8, !tbaa !9
  %272 = load double, ptr %18, align 8, !tbaa !13
  %273 = call double @BipartiteAltK4CyclesA(ptr noundef %271, double noundef %272)
  store double %273, ptr %35, align 8, !tbaa !13
  %274 = load ptr, ptr %13, align 8, !tbaa !9
  %275 = load double, ptr %18, align 8, !tbaa !13
  %276 = call double @BipartiteAltK4CyclesB(ptr noundef %274, double noundef %275)
  store double %276, ptr %36, align 8, !tbaa !13
  %277 = load ptr, ptr %13, align 8, !tbaa !9
  %278 = load double, ptr %18, align 8, !tbaa !13
  %279 = call double @PowerFourCycles(ptr noundef %277, double noundef %278)
  store double %279, ptr %32, align 8, !tbaa !13
  %280 = load i32, ptr %20, align 4, !tbaa !5
  %281 = icmp ne i32 %280, 0
  br i1 %281, label %282, label %323

282:                                              ; preds = %258
  %283 = load ptr, ptr %13, align 8, !tbaa !9
  %284 = load double, ptr %18, align 8, !tbaa !13
  %285 = call double @BipartiteAltKCyclesA_SLOW(ptr noundef %283, double noundef %284)
  %286 = load double, ptr %33, align 8, !tbaa !13
  %287 = fsub double %285, %286
  %288 = call double @llvm.fabs.f64(double %287)
  %289 = fcmp ole double %288, 0x3EB0C6F7A0B5ED8D
  br i1 %289, label %290, label %291

290:                                              ; preds = %282
  br label %292

291:                                              ; preds = %282
  call void @__assert_fail(ptr noundef @.str.11, ptr noundef @.str.10, i32 noundef 206, ptr noundef @__PRETTY_FUNCTION__.main) #9
  unreachable

292:                                              ; preds = %290
  %293 = load ptr, ptr %13, align 8, !tbaa !9
  %294 = load double, ptr %18, align 8, !tbaa !13
  %295 = call double @BipartiteAltK4CyclesA_SLOW(ptr noundef %293, double noundef %294)
  %296 = load double, ptr %35, align 8, !tbaa !13
  %297 = fsub double %295, %296
  %298 = call double @llvm.fabs.f64(double %297)
  %299 = fcmp ole double %298, 0x3EB0C6F7A0B5ED8D
  br i1 %299, label %300, label %301

300:                                              ; preds = %292
  br label %302

301:                                              ; preds = %292
  call void @__assert_fail(ptr noundef @.str.12, ptr noundef @.str.10, i32 noundef 208, ptr noundef @__PRETTY_FUNCTION__.main) #9
  unreachable

302:                                              ; preds = %300
  %303 = load ptr, ptr %13, align 8, !tbaa !9
  %304 = load double, ptr %18, align 8, !tbaa !13
  %305 = call double @BipartiteAltKCyclesB_SLOW(ptr noundef %303, double noundef %304)
  %306 = load double, ptr %34, align 8, !tbaa !13
  %307 = fsub double %305, %306
  %308 = call double @llvm.fabs.f64(double %307)
  %309 = fcmp ole double %308, 0x3EB0C6F7A0B5ED8D
  br i1 %309, label %310, label %311

310:                                              ; preds = %302
  br label %312

311:                                              ; preds = %302
  call void @__assert_fail(ptr noundef @.str.13, ptr noundef @.str.10, i32 noundef 210, ptr noundef @__PRETTY_FUNCTION__.main) #9
  unreachable

312:                                              ; preds = %310
  %313 = load ptr, ptr %13, align 8, !tbaa !9
  %314 = load double, ptr %18, align 8, !tbaa !13
  %315 = call double @BipartiteAltK4CyclesB_SLOW(ptr noundef %313, double noundef %314)
  %316 = load double, ptr %36, align 8, !tbaa !13
  %317 = fsub double %315, %316
  %318 = call double @llvm.fabs.f64(double %317)
  %319 = fcmp ole double %318, 0x3EB0C6F7A0B5ED8D
  br i1 %319, label %320, label %321

320:                                              ; preds = %312
  br label %322

321:                                              ; preds = %312
  call void @__assert_fail(ptr noundef @.str.14, ptr noundef @.str.10, i32 noundef 212, ptr noundef @__PRETTY_FUNCTION__.main) #9
  unreachable

322:                                              ; preds = %320
  br label %323

323:                                              ; preds = %322, %258
  %324 = load ptr, ptr %13, align 8, !tbaa !9
  %325 = load i32, ptr %7, align 4, !tbaa !5
  %326 = load i32, ptr %8, align 4, !tbaa !5
  call void @insertEdge(ptr noundef %324, i32 noundef %325, i32 noundef %326)
  %327 = load double, ptr %23, align 8, !tbaa !13
  %328 = load ptr, ptr %13, align 8, !tbaa !9
  %329 = load double, ptr %18, align 8, !tbaa !13
  %330 = call double @PowerFourCyclesA(ptr noundef %328, double noundef %329)
  %331 = load double, ptr %30, align 8, !tbaa !13
  %332 = fsub double %330, %331
  %333 = fsub double %327, %332
  %334 = call double @llvm.fabs.f64(double %333)
  %335 = fcmp ole double %334, 0x3EB0C6F7A0B5ED8D
  br i1 %335, label %336, label %337

336:                                              ; preds = %323
  br label %338

337:                                              ; preds = %323
  call void @__assert_fail(ptr noundef @.str.15, ptr noundef @.str.10, i32 noundef 217, ptr noundef @__PRETTY_FUNCTION__.main) #9
  unreachable

338:                                              ; preds = %336
  %339 = load double, ptr %24, align 8, !tbaa !13
  %340 = load ptr, ptr %13, align 8, !tbaa !9
  %341 = load double, ptr %18, align 8, !tbaa !13
  %342 = call double @PowerFourCyclesB(ptr noundef %340, double noundef %341)
  %343 = load double, ptr %31, align 8, !tbaa !13
  %344 = fsub double %342, %343
  %345 = fsub double %339, %344
  %346 = call double @llvm.fabs.f64(double %345)
  %347 = fcmp ole double %346, 0x3EB0C6F7A0B5ED8D
  br i1 %347, label %348, label %349

348:                                              ; preds = %338
  br label %350

349:                                              ; preds = %338
  call void @__assert_fail(ptr noundef @.str.16, ptr noundef @.str.10, i32 noundef 220, ptr noundef @__PRETTY_FUNCTION__.main) #9
  unreachable

350:                                              ; preds = %348
  %351 = load double, ptr %26, align 8, !tbaa !13
  %352 = load ptr, ptr %13, align 8, !tbaa !9
  %353 = load double, ptr %18, align 8, !tbaa !13
  %354 = call double @BipartiteAltKCyclesA(ptr noundef %352, double noundef %353)
  %355 = load double, ptr %33, align 8, !tbaa !13
  %356 = fsub double %354, %355
  %357 = fsub double %351, %356
  %358 = call double @llvm.fabs.f64(double %357)
  %359 = fcmp ole double %358, 0x3EB0C6F7A0B5ED8D
  br i1 %359, label %360, label %361

360:                                              ; preds = %350
  br label %362

361:                                              ; preds = %350
  call void @__assert_fail(ptr noundef @.str.17, ptr noundef @.str.10, i32 noundef 223, ptr noundef @__PRETTY_FUNCTION__.main) #9
  unreachable

362:                                              ; preds = %360
  %363 = load double, ptr %27, align 8, !tbaa !13
  %364 = load ptr, ptr %13, align 8, !tbaa !9
  %365 = load double, ptr %18, align 8, !tbaa !13
  %366 = call double @BipartiteAltKCyclesB(ptr noundef %364, double noundef %365)
  %367 = load double, ptr %34, align 8, !tbaa !13
  %368 = fsub double %366, %367
  %369 = fsub double %363, %368
  %370 = call double @llvm.fabs.f64(double %369)
  %371 = fcmp ole double %370, 0x3EB0C6F7A0B5ED8D
  br i1 %371, label %372, label %373

372:                                              ; preds = %362
  br label %374

373:                                              ; preds = %362
  call void @__assert_fail(ptr noundef @.str.18, ptr noundef @.str.10, i32 noundef 226, ptr noundef @__PRETTY_FUNCTION__.main) #9
  unreachable

374:                                              ; preds = %372
  %375 = load double, ptr %28, align 8, !tbaa !13
  %376 = load ptr, ptr %13, align 8, !tbaa !9
  %377 = load double, ptr %18, align 8, !tbaa !13
  %378 = call double @BipartiteAltK4CyclesA(ptr noundef %376, double noundef %377)
  %379 = load double, ptr %35, align 8, !tbaa !13
  %380 = fsub double %378, %379
  %381 = fsub double %375, %380
  %382 = call double @llvm.fabs.f64(double %381)
  %383 = fcmp ole double %382, 0x3EB0C6F7A0B5ED8D
  br i1 %383, label %384, label %385

384:                                              ; preds = %374
  br label %386

385:                                              ; preds = %374
  call void @__assert_fail(ptr noundef @.str.19, ptr noundef @.str.10, i32 noundef 229, ptr noundef @__PRETTY_FUNCTION__.main) #9
  unreachable

386:                                              ; preds = %384
  %387 = load double, ptr %29, align 8, !tbaa !13
  %388 = load ptr, ptr %13, align 8, !tbaa !9
  %389 = load double, ptr %18, align 8, !tbaa !13
  %390 = call double @BipartiteAltK4CyclesB(ptr noundef %388, double noundef %389)
  %391 = load double, ptr %36, align 8, !tbaa !13
  %392 = fsub double %390, %391
  %393 = fsub double %387, %392
  %394 = call double @llvm.fabs.f64(double %393)
  %395 = fcmp ole double %394, 0x3EB0C6F7A0B5ED8D
  br i1 %395, label %396, label %397

396:                                              ; preds = %386
  br label %398

397:                                              ; preds = %386
  call void @__assert_fail(ptr noundef @.str.20, ptr noundef @.str.10, i32 noundef 232, ptr noundef @__PRETTY_FUNCTION__.main) #9
  unreachable

398:                                              ; preds = %396
  %399 = load double, ptr %25, align 8, !tbaa !13
  %400 = load ptr, ptr %13, align 8, !tbaa !9
  %401 = load double, ptr %18, align 8, !tbaa !13
  %402 = call double @PowerFourCycles(ptr noundef %400, double noundef %401)
  %403 = load double, ptr %32, align 8, !tbaa !13
  %404 = fsub double %402, %403
  %405 = fsub double %399, %404
  %406 = call double @llvm.fabs.f64(double %405)
  %407 = fcmp ole double %406, 0x3EB0C6F7A0B5ED8D
  br i1 %407, label %408, label %409

408:                                              ; preds = %398
  br label %410

409:                                              ; preds = %398
  call void @__assert_fail(ptr noundef @.str.21, ptr noundef @.str.10, i32 noundef 235, ptr noundef @__PRETTY_FUNCTION__.main) #9
  unreachable

410:                                              ; preds = %408
  %411 = load ptr, ptr %13, align 8, !tbaa !9
  %412 = load i32, ptr %7, align 4, !tbaa !5
  %413 = load i32, ptr %8, align 4, !tbaa !5
  call void @removeEdge(ptr noundef %411, i32 noundef %412, i32 noundef %413)
  %414 = load i32, ptr %14, align 4, !tbaa !5
  %415 = add nsw i32 %414, 1
  store i32 %415, ptr %14, align 4, !tbaa !5
  %416 = load i32, ptr %22, align 4, !tbaa !5
  %417 = icmp ne i32 %416, 0
  br i1 %417, label %418, label %422

418:                                              ; preds = %410
  %419 = load ptr, ptr %13, align 8, !tbaa !9
  %420 = load i32, ptr %7, align 4, !tbaa !5
  %421 = load i32, ptr %8, align 4, !tbaa !5
  call void @insertEdge(ptr noundef %419, i32 noundef %420, i32 noundef %421)
  br label %422

422:                                              ; preds = %418, %410
  %423 = load i32, ptr %15, align 4, !tbaa !5
  %424 = icmp ne i32 %423, 0
  br i1 %424, label %429, label %425

425:                                              ; preds = %422
  %426 = load i32, ptr %14, align 4, !tbaa !5
  %427 = icmp sge i32 %426, 100
  br i1 %427, label %428, label %429

428:                                              ; preds = %425
  br label %430

429:                                              ; preds = %425, %422
  br label %140

430:                                              ; preds = %428, %154, %148
  %431 = load i32, ptr %15, align 4, !tbaa !5
  %432 = icmp ne i32 %431, 0
  br i1 %432, label %433, label %436

433:                                              ; preds = %430
  %434 = load ptr, ptr %17, align 8, !tbaa !9
  %435 = call i32 @fclose(ptr noundef %434)
  br label %436

436:                                              ; preds = %433, %430
  %437 = load ptr, ptr %13, align 8, !tbaa !9
  call void @free_graph(ptr noundef %437)
  call void @exit(i32 noundef 0) #9
  unreachable

438:                                              ; preds = %129, %114, %82
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #7
  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
  %439 = load i32, ptr %3, align 4
  ret i32 %439
}

; 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 void @get_num_vertices_from_bipartite_pajek_file(ptr noundef, ptr noundef, 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 @changeBipartitePowerFourCyclesA(ptr noundef, i32 noundef, i32 noundef, double noundef) #3

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

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

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

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

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

declare double @changeBipartiteAltK4CyclesB(ptr noundef, i32 noundef, i32 noundef, double 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 double @PowerFourCyclesA(ptr noundef, double noundef) #3

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

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

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

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

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

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

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

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

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

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

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

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 88}
!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}
!17 = !{!16, !6, i64 92}


; 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 [112 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [129 x i8], align 1
@__PRETTY_FUNCTION__.main = external hidden unnamed_addr constant [23 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [90 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [92 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [90 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [92 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [120 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [120 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [114 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [114 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [117 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [117 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [99 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 i32, align 4
  %7 = alloca i32, align 4
  %8 = 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 4, ptr nonnull %6) #9
  store i32 0, ptr %6, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #9
  store i32 0, ptr %7, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #9
  %9 = tail call i64 @time(ptr noundef null) #9
  %10 = trunc i64 %9 to i32
  tail call void @srand(i32 noundef %10) #9
  br label %.outer

.outer:                                           ; preds = %11, %2
  %.not143 = phi i1 [ true, %2 ], [ false, %11 ]
  br label %11

11:                                               ; preds = %.outer, %13
  %12 = tail call i32 @getopt(i32 noundef %0, ptr noundef %1, ptr noundef nonnull @.str) #9
  switch i32 %12, label %13 [
    i32 -1, label %15
    i32 115, label %.outer
  ], !llvm.loop !9

13:                                               ; preds = %11
  %14 = load ptr, ptr %1, align 8, !tbaa !11
  tail call void @usage(ptr noundef %14)
  br label %11, !llvm.loop !9

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

19:                                               ; preds = %15
  %20 = load ptr, ptr %1, align 8, !tbaa !11
  tail call void @usage(ptr noundef %20)
  %.pre = load i32, ptr @optind, align 4, !tbaa !5
  br label %21

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

30:                                               ; preds = %21
  %31 = load ptr, ptr @stderr, align 8, !tbaa !11
  %32 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %31, ptr noundef nonnull @.str.1, double noundef %28) #10
  br label %230

33:                                               ; preds = %21
  %34 = load i32, ptr @optind, align 4, !tbaa !5
  %35 = sub nsw i32 %0, %34
  %.not136 = icmp ne i32 %35, 3
  br i1 %.not136, label %48, label %36

36:                                               ; preds = %33
  %37 = sext i32 %34 to i64
  %38 = getelementptr ptr, ptr %1, i64 %37
  %39 = getelementptr i8, ptr %38, i64 16
  %40 = load ptr, ptr %39, align 8, !tbaa !11
  %41 = tail call noalias ptr @fopen(ptr noundef %40, ptr noundef nonnull @.str.2)
  %.not132 = icmp eq ptr %41, null
  br i1 %.not132, label %42, label %48

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

48:                                               ; preds = %33, %36
  %.0118 = phi ptr [ %41, %36 ], [ null, %33 ]
  %49 = tail call noalias ptr @fopen(ptr noundef %25, ptr noundef nonnull @.str.2)
  %.not133 = icmp eq ptr %49, null
  br i1 %.not133, label %50, label %56

50:                                               ; preds = %48
  %51 = load ptr, ptr @stderr, align 8, !tbaa !11
  %52 = tail call ptr @__errno_location() #11
  %53 = load i32, ptr %52, align 4, !tbaa !5
  %54 = tail call ptr @strerror(i32 noundef %53) #9
  %55 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %51, ptr noundef nonnull @.str.4, ptr noundef %25, ptr noundef %54) #10
  br label %230

56:                                               ; preds = %48
  call void @get_num_vertices_from_bipartite_pajek_file(ptr noundef nonnull %49, ptr noundef nonnull %6, ptr noundef nonnull %7) #9
  %57 = load i32, ptr %6, align 4, !tbaa !5
  %58 = load i32, ptr %7, align 4, !tbaa !5
  %59 = call ptr @allocate_graph(i32 noundef %57, i32 noundef 0, i32 noundef 1, i32 noundef %58) #9
  %60 = call noalias ptr @fopen(ptr noundef %25, ptr noundef nonnull @.str.2)
  %.not134 = icmp eq ptr %60, null
  br i1 %.not134, label %61, label %67

61:                                               ; preds = %56
  %62 = load ptr, ptr @stderr, align 8, !tbaa !11
  %63 = tail call ptr @__errno_location() #11
  %64 = load i32, ptr %63, align 4, !tbaa !5
  %65 = call ptr @strerror(i32 noundef %64) #9
  %66 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %62, ptr noundef nonnull @.str.4, ptr noundef %25, ptr noundef %65) #10
  br label %230

67:                                               ; preds = %56
  %68 = call ptr @load_graph_from_arclist_file(ptr noundef nonnull %60, ptr noundef %59, 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
  %69 = getelementptr inbounds i8, ptr %68, i64 88
  %70 = getelementptr inbounds i8, ptr %68, i64 92
  br label %71

71:                                               ; preds = %226, %67
  %.0120 = phi i32 [ 0, %67 ], [ %.1121, %226 ]
  %.0116 = phi i32 [ 0, %67 ], [ %222, %226 ]
  br i1 %.not136, label %95, label %72

72:                                               ; preds = %71
  %73 = call i32 @feof(ptr noundef %.0118) #9
  %.not137 = icmp eq i32 %73, 0
  br i1 %.not137, label %74, label %228

74:                                               ; preds = %72
  %75 = call ptr @fgets(ptr noundef nonnull %3, i32 noundef 1023, ptr noundef %.0118)
  %.not138 = icmp eq ptr %75, null
  br i1 %.not138, label %228, label %76

76:                                               ; preds = %74
  %77 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef nonnull %3, ptr noundef nonnull @.str.5, ptr noundef nonnull %4, ptr noundef nonnull %5) #9
  %.not139 = icmp eq i32 %77, 2
  br i1 %.not139, label %81, label %78

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

81:                                               ; preds = %76
  %82 = load i32, ptr %4, align 4, !tbaa !5
  %83 = load i32, ptr %69, align 8, !tbaa !13
  %.not140 = icmp ult i32 %82, %83
  br i1 %.not140, label %87, label %84

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

87:                                               ; preds = %81
  %88 = load i32, ptr %5, align 4, !tbaa !5
  %89 = load i32, ptr %70, align 4, !tbaa !15
  %.not141 = icmp ult i32 %88, %89
  br i1 %.not141, label %93, label %90

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

93:                                               ; preds = %87
  %94 = add i32 %88, %83
  br label %103

95:                                               ; preds = %71
  %96 = call i32 @rand() #9
  %97 = load i32, ptr %69, align 8, !tbaa !13
  %98 = urem i32 %96, %97
  store i32 %98, ptr %4, align 4, !tbaa !5
  %99 = call i32 @rand() #9
  %100 = load i32, ptr %70, align 4, !tbaa !15
  %101 = urem i32 %99, %100
  %102 = add i32 %101, %97
  %.pre150 = load i32, ptr %4, align 4, !tbaa !5
  br label %103

103:                                              ; preds = %95, %93
  %104 = phi i32 [ %.pre150, %95 ], [ %82, %93 ]
  %storemerge = phi i32 [ %102, %95 ], [ %94, %93 ]
  store i32 %storemerge, ptr %5, align 4, !tbaa !5
  %105 = call i32 @isEdge(ptr noundef nonnull %68, i32 noundef %104, i32 noundef %storemerge) #9
  %.not142 = icmp eq i32 %105, 0
  br i1 %.not142, label %109, label %106

106:                                              ; preds = %103
  %107 = load i32, ptr %4, align 4, !tbaa !5
  %108 = load i32, ptr %5, align 4, !tbaa !5
  call void @removeEdge(ptr noundef nonnull %68, i32 noundef %107, i32 noundef %108) #9
  br label %109

109:                                              ; preds = %106, %103
  %.1121 = phi i32 [ 1, %106 ], [ %.0120, %103 ]
  %110 = load i32, ptr %4, align 4, !tbaa !5
  %111 = load i32, ptr %5, align 4, !tbaa !5
  %112 = call double @changeBipartitePowerFourCyclesA(ptr noundef nonnull %68, i32 noundef %110, i32 noundef %111, double noundef %28) #9
  %113 = load i32, ptr %4, align 4, !tbaa !5
  %114 = load i32, ptr %5, align 4, !tbaa !5
  %115 = call double @changeBipartitePowerFourCyclesB(ptr noundef nonnull %68, i32 noundef %113, i32 noundef %114, double noundef %28) #9
  %116 = load i32, ptr %4, align 4, !tbaa !5
  %117 = load i32, ptr %5, align 4, !tbaa !5
  %118 = call double @changePowerFourCycles(ptr noundef nonnull %68, i32 noundef %116, i32 noundef %117, double noundef %28) #9
  %119 = load i32, ptr %4, align 4, !tbaa !5
  %120 = load i32, ptr %5, align 4, !tbaa !5
  %121 = call double @changeBipartiteAltKCyclesA(ptr noundef nonnull %68, i32 noundef %119, i32 noundef %120, double noundef %28) #9
  %122 = load i32, ptr %4, align 4, !tbaa !5
  %123 = load i32, ptr %5, align 4, !tbaa !5
  %124 = call double @changeBipartiteAltKCyclesB(ptr noundef nonnull %68, i32 noundef %122, i32 noundef %123, double noundef %28) #9
  %125 = load i32, ptr %4, align 4, !tbaa !5
  %126 = load i32, ptr %5, align 4, !tbaa !5
  %127 = call double @changeBipartiteAltK4CyclesA(ptr noundef nonnull %68, i32 noundef %125, i32 noundef %126, double noundef %28) #9
  %128 = load i32, ptr %4, align 4, !tbaa !5
  %129 = load i32, ptr %5, align 4, !tbaa !5
  %130 = call double @changeBipartiteAltK4CyclesB(ptr noundef nonnull %68, i32 noundef %128, i32 noundef %129, double noundef %28) #9
  %131 = fadd double %112, %115
  %132 = fsub double %131, %118
  %133 = call double @llvm.fabs.f64(double %132)
  %134 = fcmp ugt double %133, 0x3EB0C6F7A0B5ED8D
  br i1 %134, label %135, label %136

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

136:                                              ; preds = %109
  %137 = call double @PowerFourCyclesA(ptr noundef %68, double noundef %28) #9
  %138 = call double @PowerFourCyclesB(ptr noundef %68, double noundef %28) #9
  %139 = call double @BipartiteAltKCyclesA(ptr noundef %68, double noundef %28) #9
  %140 = call double @BipartiteAltKCyclesB(ptr noundef %68, double noundef %28) #9
  %141 = call double @BipartiteAltK4CyclesA(ptr noundef %68, double noundef %28) #9
  %142 = call double @BipartiteAltK4CyclesB(ptr noundef %68, double noundef %28) #9
  %143 = call double @PowerFourCycles(ptr noundef %68, double noundef %28) #9
  br i1 %.not143, label %168, label %144

144:                                              ; preds = %136
  %145 = call double @BipartiteAltKCyclesA_SLOW(ptr noundef %68, double noundef %28) #9
  %146 = fsub double %145, %139
  %147 = call double @llvm.fabs.f64(double %146)
  %148 = fcmp ugt double %147, 0x3EB0C6F7A0B5ED8D
  br i1 %148, label %149, label %150

149:                                              ; preds = %144
  call void @__assert_fail(ptr noundef nonnull @.str.11, ptr noundef nonnull @.str.10, i32 noundef 206, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #12
  unreachable

150:                                              ; preds = %144
  %151 = call double @BipartiteAltK4CyclesA_SLOW(ptr noundef %68, double noundef %28) #9
  %152 = fsub double %151, %141
  %153 = call double @llvm.fabs.f64(double %152)
  %154 = fcmp ugt double %153, 0x3EB0C6F7A0B5ED8D
  br i1 %154, label %155, label %156

155:                                              ; preds = %150
  call void @__assert_fail(ptr noundef nonnull @.str.12, ptr noundef nonnull @.str.10, i32 noundef 208, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #12
  unreachable

156:                                              ; preds = %150
  %157 = call double @BipartiteAltKCyclesB_SLOW(ptr noundef %68, double noundef %28) #9
  %158 = fsub double %157, %140
  %159 = call double @llvm.fabs.f64(double %158)
  %160 = fcmp ugt double %159, 0x3EB0C6F7A0B5ED8D
  br i1 %160, label %161, label %162

161:                                              ; preds = %156
  call void @__assert_fail(ptr noundef nonnull @.str.13, ptr noundef nonnull @.str.10, i32 noundef 210, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #12
  unreachable

162:                                              ; preds = %156
  %163 = call double @BipartiteAltK4CyclesB_SLOW(ptr noundef %68, double noundef %28) #9
  %164 = fsub double %163, %142
  %165 = call double @llvm.fabs.f64(double %164)
  %166 = fcmp ugt double %165, 0x3EB0C6F7A0B5ED8D
  br i1 %166, label %167, label %168

167:                                              ; preds = %162
  call void @__assert_fail(ptr noundef nonnull @.str.14, ptr noundef nonnull @.str.10, i32 noundef 212, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #12
  unreachable

168:                                              ; preds = %162, %136
  %169 = load i32, ptr %4, align 4, !tbaa !5
  %170 = load i32, ptr %5, align 4, !tbaa !5
  call void @insertEdge(ptr noundef %68, i32 noundef %169, i32 noundef %170) #9
  %171 = call double @PowerFourCyclesA(ptr noundef %68, double noundef %28) #9
  %172 = fsub double %171, %137
  %173 = fsub double %112, %172
  %174 = call double @llvm.fabs.f64(double %173)
  %175 = fcmp ugt double %174, 0x3EB0C6F7A0B5ED8D
  br i1 %175, label %176, label %177

176:                                              ; preds = %168
  call void @__assert_fail(ptr noundef nonnull @.str.15, ptr noundef nonnull @.str.10, i32 noundef 217, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #12
  unreachable

177:                                              ; preds = %168
  %178 = call double @PowerFourCyclesB(ptr noundef %68, double noundef %28) #9
  %179 = fsub double %178, %138
  %180 = fsub double %115, %179
  %181 = call double @llvm.fabs.f64(double %180)
  %182 = fcmp ugt double %181, 0x3EB0C6F7A0B5ED8D
  br i1 %182, label %183, label %184

183:                                              ; preds = %177
  call void @__assert_fail(ptr noundef nonnull @.str.16, ptr noundef nonnull @.str.10, i32 noundef 220, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #12
  unreachable

184:                                              ; preds = %177
  %185 = call double @BipartiteAltKCyclesA(ptr noundef %68, double noundef %28) #9
  %186 = fsub double %185, %139
  %187 = fsub double %121, %186
  %188 = call double @llvm.fabs.f64(double %187)
  %189 = fcmp ugt double %188, 0x3EB0C6F7A0B5ED8D
  br i1 %189, label %190, label %191

190:                                              ; preds = %184
  call void @__assert_fail(ptr noundef nonnull @.str.17, ptr noundef nonnull @.str.10, i32 noundef 223, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #12
  unreachable

191:                                              ; preds = %184
  %192 = call double @BipartiteAltKCyclesB(ptr noundef %68, double noundef %28) #9
  %193 = fsub double %192, %140
  %194 = fsub double %124, %193
  %195 = call double @llvm.fabs.f64(double %194)
  %196 = fcmp ugt double %195, 0x3EB0C6F7A0B5ED8D
  br i1 %196, label %197, label %198

197:                                              ; preds = %191
  call void @__assert_fail(ptr noundef nonnull @.str.18, ptr noundef nonnull @.str.10, i32 noundef 226, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #12
  unreachable

198:                                              ; preds = %191
  %199 = call double @BipartiteAltK4CyclesA(ptr noundef %68, double noundef %28) #9
  %200 = fsub double %199, %141
  %201 = fsub double %127, %200
  %202 = call double @llvm.fabs.f64(double %201)
  %203 = fcmp ugt double %202, 0x3EB0C6F7A0B5ED8D
  br i1 %203, label %204, label %205

204:                                              ; preds = %198
  call void @__assert_fail(ptr noundef nonnull @.str.19, ptr noundef nonnull @.str.10, i32 noundef 229, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #12
  unreachable

205:                                              ; preds = %198
  %206 = call double @BipartiteAltK4CyclesB(ptr noundef %68, double noundef %28) #9
  %207 = fsub double %206, %142
  %208 = fsub double %130, %207
  %209 = call double @llvm.fabs.f64(double %208)
  %210 = fcmp ugt double %209, 0x3EB0C6F7A0B5ED8D
  br i1 %210, label %211, label %212

211:                                              ; preds = %205
  call void @__assert_fail(ptr noundef nonnull @.str.20, ptr noundef nonnull @.str.10, i32 noundef 232, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #12
  unreachable

212:                                              ; preds = %205
  %213 = call double @PowerFourCycles(ptr noundef %68, double noundef %28) #9
  %214 = fsub double %213, %143
  %215 = fsub double %118, %214
  %216 = call double @llvm.fabs.f64(double %215)
  %217 = fcmp ugt double %216, 0x3EB0C6F7A0B5ED8D
  br i1 %217, label %218, label %219

218:                                              ; preds = %212
  call void @__assert_fail(ptr noundef nonnull @.str.21, ptr noundef nonnull @.str.10, i32 noundef 235, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #12
  unreachable

219:                                              ; preds = %212
  %220 = load i32, ptr %4, align 4, !tbaa !5
  %221 = load i32, ptr %5, align 4, !tbaa !5
  call void @removeEdge(ptr noundef %68, i32 noundef %220, i32 noundef %221) #9
  %222 = add nuw nsw i32 %.0116, 1
  %.not144 = icmp eq i32 %.1121, 0
  br i1 %.not144, label %226, label %223

223:                                              ; preds = %219
  %224 = load i32, ptr %4, align 4, !tbaa !5
  %225 = load i32, ptr %5, align 4, !tbaa !5
  call void @insertEdge(ptr noundef %68, i32 noundef %224, i32 noundef %225) #9
  br label %226

226:                                              ; preds = %223, %219
  %227 = icmp ugt i32 %.0116, 98
  %or.cond = select i1 %.not136, i1 %227, i1 false
  br i1 %or.cond, label %.loopexit, label %71

228:                                              ; preds = %74, %72
  %229 = call i32 @fclose(ptr noundef %.0118)
  br label %.loopexit

.loopexit:                                        ; preds = %226, %228
  call void @free_graph(ptr noundef %68) #9
  call void @exit(i32 noundef 0) #12
  unreachable

230:                                              ; preds = %61, %50, %30
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #9
  call void @llvm.lifetime.end.p0(i64 4, 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 void @get_num_vertices_from_bipartite_pajek_file(ptr noundef, ptr noundef, 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 @changeBipartitePowerFourCyclesA(ptr noundef, i32 noundef, i32 noundef, double noundef) local_unnamed_addr #7

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

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

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

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

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

declare double @changeBipartiteAltK4CyclesB(ptr noundef, i32 noundef, i32 noundef, double 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

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

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

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

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

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

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

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

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

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

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

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

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

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


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