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

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

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

25:                                               ; preds = %37, %2
  %26 = load i32, ptr %4, align 4, !tbaa !5
  %27 = load ptr, ptr %5, align 8, !tbaa !9
  %28 = call i32 @getopt(i32 noundef %26, ptr noundef %27, ptr noundef @.str) #7
  store i32 %28, ptr %6, align 4, !tbaa !5
  %29 = icmp ne i32 %28, -1
  br i1 %29, label %30, label %38

30:                                               ; preds = %25
  %31 = load i32, ptr %6, align 4, !tbaa !5
  switch i32 %31, label %33 [
    i32 115, label %32
  ]

32:                                               ; preds = %30
  store i32 1, ptr %18, align 4, !tbaa !5
  br label %37

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

37:                                               ; preds = %33, %32
  br label %25, !llvm.loop !11

38:                                               ; preds = %25
  %39 = load i32, ptr %4, align 4, !tbaa !5
  %40 = load i32, ptr @optind, align 4, !tbaa !5
  %41 = sub nsw i32 %39, %40
  %42 = icmp ne i32 %41, 2
  br i1 %42, label %43, label %47

43:                                               ; preds = %38
  %44 = load ptr, ptr %5, align 8, !tbaa !9
  %45 = getelementptr inbounds ptr, ptr %44, i64 0
  %46 = load ptr, ptr %45, align 8, !tbaa !9
  call void @usage(ptr noundef %46)
  br label %47

47:                                               ; preds = %43, %38
  %48 = load ptr, ptr %5, align 8, !tbaa !9
  %49 = load i32, ptr @optind, align 4, !tbaa !5
  %50 = sext i32 %49 to i64
  %51 = getelementptr inbounds ptr, ptr %48, i64 %50
  %52 = load ptr, ptr %51, align 8, !tbaa !9
  store ptr %52, ptr %8, align 8, !tbaa !9
  %53 = load ptr, ptr %5, align 8, !tbaa !9
  %54 = load i32, ptr @optind, align 4, !tbaa !5
  %55 = add nsw i32 %54, 1
  %56 = sext i32 %55 to i64
  %57 = getelementptr inbounds ptr, ptr %53, i64 %56
  %58 = load ptr, ptr %57, align 8, !tbaa !9
  %59 = call double @strtod(ptr noundef %58, ptr noundef %17) #7
  store double %59, ptr %16, align 8, !tbaa !13
  %60 = load double, ptr %16, align 8, !tbaa !13
  %61 = fcmp ole double %60, 1.000000e+00
  br i1 %61, label %62, label %66

62:                                               ; preds = %47
  %63 = load ptr, ptr @stderr, align 8, !tbaa !9
  %64 = load double, ptr %16, align 8, !tbaa !13
  %65 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %63, ptr noundef @.str.1, double noundef %64) #7
  store i32 -1, ptr %3, align 4
  store i32 1, ptr %19, align 4
  br label %412

66:                                               ; preds = %47
  %67 = load ptr, ptr %8, align 8, !tbaa !9
  %68 = call noalias ptr @fopen(ptr noundef %67, ptr noundef @.str.2)
  store ptr %68, ptr %9, align 8, !tbaa !9
  %69 = icmp ne ptr %68, null
  br i1 %69, label %77, label %70

70:                                               ; preds = %66
  %71 = load ptr, ptr @stderr, align 8, !tbaa !9
  %72 = load ptr, ptr %8, align 8, !tbaa !9
  %73 = call ptr @__errno_location() #8
  %74 = load i32, ptr %73, align 4, !tbaa !5
  %75 = call ptr @strerror(i32 noundef %74) #7
  %76 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %71, ptr noundef @.str.3, ptr noundef %72, ptr noundef %75) #7
  store i32 -1, ptr %3, align 4
  store i32 1, ptr %19, align 4
  br label %412

77:                                               ; preds = %66
  %78 = load ptr, ptr %9, align 8, !tbaa !9
  call void @get_num_vertices_from_bipartite_pajek_file(ptr noundef %78, ptr noundef %10, ptr noundef %11)
  %79 = load i32, ptr %10, align 4, !tbaa !5
  %80 = load i32, ptr %11, align 4, !tbaa !5
  %81 = call ptr @allocate_graph(i32 noundef %79, i32 noundef 0, i32 noundef 1, i32 noundef %80)
  store ptr %81, ptr %12, align 8, !tbaa !9
  %82 = load ptr, ptr %8, align 8, !tbaa !9
  %83 = call noalias ptr @fopen(ptr noundef %82, ptr noundef @.str.2)
  store ptr %83, ptr %9, align 8, !tbaa !9
  %84 = icmp ne ptr %83, null
  br i1 %84, label %92, label %85

85:                                               ; preds = %77
  %86 = load ptr, ptr @stderr, align 8, !tbaa !9
  %87 = load ptr, ptr %8, align 8, !tbaa !9
  %88 = call ptr @__errno_location() #8
  %89 = load i32, ptr %88, align 4, !tbaa !5
  %90 = call ptr @strerror(i32 noundef %89) #7
  %91 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %86, ptr noundef @.str.3, ptr noundef %87, ptr noundef %90) #7
  store i32 -1, ptr %3, align 4
  store i32 1, ptr %19, align 4
  br label %412

92:                                               ; preds = %77
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #7
  store i32 8, ptr %20, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 64, ptr %21) #7
  call void @llvm.lifetime.start.p0(i64 64, ptr %22) #7
  %93 = getelementptr inbounds [8 x ptr], ptr %22, i64 0, i64 0
  store ptr @changeBipartiteAltKCyclesA, ptr %93, align 16, !tbaa !9
  %94 = load double, ptr %16, align 8, !tbaa !13
  store double %94, ptr @main.lambda_values, align 16, !tbaa !13
  %95 = getelementptr inbounds [8 x ptr], ptr %22, i64 0, i64 1
  store ptr @changeBipartiteAltKCyclesB, ptr %95, align 8, !tbaa !9
  %96 = load double, ptr %16, align 8, !tbaa !13
  store double %96, ptr getelementptr inbounds ([8 x double], ptr @main.lambda_values, i64 0, i64 1), align 8, !tbaa !13
  %97 = getelementptr inbounds [8 x ptr], ptr %22, i64 0, i64 2
  store ptr @changeFourCycles, ptr %97, align 16, !tbaa !9
  store double 0.000000e+00, ptr getelementptr inbounds ([8 x double], ptr @main.lambda_values, i64 0, i64 2), align 16, !tbaa !13
  %98 = getelementptr inbounds [8 x ptr], ptr %22, i64 0, i64 3
  store ptr @changePowerFourCycles, ptr %98, align 8, !tbaa !9
  %99 = load double, ptr %16, align 8, !tbaa !13
  store double %99, ptr getelementptr inbounds ([8 x double], ptr @main.lambda_values, i64 0, i64 3), align 8, !tbaa !13
  %100 = getelementptr inbounds [8 x ptr], ptr %22, i64 0, i64 4
  store ptr @changeBipartitePowerFourCyclesA, ptr %100, align 16, !tbaa !9
  %101 = load double, ptr %16, align 8, !tbaa !13
  store double %101, ptr getelementptr inbounds ([8 x double], ptr @main.lambda_values, i64 0, i64 4), align 16, !tbaa !13
  %102 = getelementptr inbounds [8 x ptr], ptr %22, i64 0, i64 5
  store ptr @changeBipartitePowerFourCyclesB, ptr %102, align 8, !tbaa !9
  %103 = load double, ptr %16, align 8, !tbaa !13
  store double %103, ptr getelementptr inbounds ([8 x double], ptr @main.lambda_values, i64 0, i64 5), align 8, !tbaa !13
  %104 = getelementptr inbounds [8 x ptr], ptr %22, i64 0, i64 6
  store ptr @changeBipartiteAltK4CyclesA, ptr %104, align 16, !tbaa !9
  %105 = load double, ptr %16, align 8, !tbaa !13
  store double %105, ptr getelementptr inbounds ([8 x double], ptr @main.lambda_values, i64 0, i64 6), align 16, !tbaa !13
  %106 = getelementptr inbounds [8 x ptr], ptr %22, i64 0, i64 7
  store ptr @changeBipartiteAltK4CyclesB, ptr %106, align 8, !tbaa !9
  %107 = load double, ptr %16, align 8, !tbaa !13
  store double %107, ptr getelementptr inbounds ([8 x double], ptr @main.lambda_values, i64 0, i64 7), align 8, !tbaa !13
  store i32 0, ptr %7, align 4, !tbaa !5
  br label %108

108:                                              ; preds = %115, %92
  %109 = load i32, ptr %7, align 4, !tbaa !5
  %110 = icmp ult i32 %109, 8
  br i1 %110, label %111, label %118

111:                                              ; preds = %108
  %112 = load i32, ptr %7, align 4, !tbaa !5
  %113 = zext i32 %112 to i64
  %114 = getelementptr inbounds [8 x double], ptr %21, i64 0, i64 %113
  store double 0.000000e+00, ptr %114, align 8, !tbaa !13
  br label %115

115:                                              ; preds = %111
  %116 = load i32, ptr %7, align 4, !tbaa !5
  %117 = add i32 %116, 1
  store i32 %117, ptr %7, align 4, !tbaa !5
  br label %108, !llvm.loop !15

118:                                              ; preds = %108
  %119 = load ptr, ptr %9, align 8, !tbaa !9
  %120 = load ptr, ptr %12, align 8, !tbaa !9
  %121 = load i32, ptr %20, align 4, !tbaa !5
  %122 = getelementptr inbounds [8 x ptr], ptr %22, i64 0, i64 0
  %123 = getelementptr inbounds [8 x double], ptr %21, i64 0, i64 0
  %124 = call ptr @load_graph_from_arclist_file(ptr noundef %119, ptr noundef %120, i32 noundef 1, i32 noundef %121, i32 noundef 0, i32 noundef 0, i32 noundef 0, ptr noundef %122, ptr noundef @main.lambda_values, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef %123, ptr noundef @main.theta)
  store ptr %124, ptr %12, align 8, !tbaa !9
  store i32 0, ptr %7, align 4, !tbaa !5
  br label %125

125:                                              ; preds = %134, %118
  %126 = load i32, ptr %7, align 4, !tbaa !5
  %127 = icmp ult i32 %126, 8
  br i1 %127, label %128, label %137

128:                                              ; preds = %125
  %129 = load i32, ptr %7, align 4, !tbaa !5
  %130 = zext i32 %129 to i64
  %131 = getelementptr inbounds [8 x double], ptr %21, i64 0, i64 %130
  %132 = load double, ptr %131, align 8, !tbaa !13
  %133 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, double noundef %132)
  br label %134

134:                                              ; preds = %128
  %135 = load i32, ptr %7, align 4, !tbaa !5
  %136 = add i32 %135, 1
  store i32 %136, ptr %7, align 4, !tbaa !5
  br label %125, !llvm.loop !16

137:                                              ; preds = %125
  %138 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
  %139 = load ptr, ptr %12, align 8, !tbaa !9
  %140 = load double, ptr @main.lambda_values, align 16, !tbaa !13
  %141 = call double @BipartiteAltKCyclesA(ptr noundef %139, double noundef %140)
  store double %141, ptr %13, align 8, !tbaa !13
  %142 = load double, ptr %13, align 8, !tbaa !13
  %143 = getelementptr inbounds [8 x double], ptr %21, i64 0, i64 0
  %144 = load double, ptr %143, align 16, !tbaa !13
  %145 = fsub double %142, %144
  %146 = call double @llvm.fabs.f64(double %145)
  %147 = fcmp ole double %146, 0x3EB0C6F7A0B5ED8D
  br i1 %147, label %148, label %149

148:                                              ; preds = %137
  br label %150

149:                                              ; preds = %137
  call void @__assert_fail(ptr noundef @.str.6, ptr noundef @.str.7, i32 noundef 166, ptr noundef @__PRETTY_FUNCTION__.main) #9
  unreachable

150:                                              ; preds = %148
  %151 = load i32, ptr %18, align 4, !tbaa !5
  %152 = icmp ne i32 %151, 0
  br i1 %152, label %153, label %166

153:                                              ; preds = %150
  %154 = load ptr, ptr %12, align 8, !tbaa !9
  %155 = load double, ptr @main.lambda_values, align 16, !tbaa !13
  %156 = call double @BipartiteAltKCyclesA_SLOW(ptr noundef %154, double noundef %155)
  store double %156, ptr %13, align 8, !tbaa !13
  %157 = load double, ptr %13, align 8, !tbaa !13
  %158 = getelementptr inbounds [8 x double], ptr %21, i64 0, i64 0
  %159 = load double, ptr %158, align 16, !tbaa !13
  %160 = fsub double %157, %159
  %161 = call double @llvm.fabs.f64(double %160)
  %162 = fcmp ole double %161, 0x3EB0C6F7A0B5ED8D
  br i1 %162, label %163, label %164

163:                                              ; preds = %153
  br label %165

164:                                              ; preds = %153
  call void @__assert_fail(ptr noundef @.str.6, ptr noundef @.str.7, i32 noundef 171, ptr noundef @__PRETTY_FUNCTION__.main) #9
  unreachable

165:                                              ; preds = %163
  br label %166

166:                                              ; preds = %165, %150
  %167 = load ptr, ptr %12, align 8, !tbaa !9
  %168 = load double, ptr getelementptr inbounds ([8 x double], ptr @main.lambda_values, i64 0, i64 1), align 8, !tbaa !13
  %169 = call double @BipartiteAltKCyclesB(ptr noundef %167, double noundef %168)
  store double %169, ptr %13, align 8, !tbaa !13
  %170 = load double, ptr %13, align 8, !tbaa !13
  %171 = getelementptr inbounds [8 x double], ptr %21, i64 0, i64 1
  %172 = load double, ptr %171, align 8, !tbaa !13
  %173 = fsub double %170, %172
  %174 = call double @llvm.fabs.f64(double %173)
  %175 = fcmp ole double %174, 0x3EB0C6F7A0B5ED8D
  br i1 %175, label %176, label %177

176:                                              ; preds = %166
  br label %178

177:                                              ; preds = %166
  call void @__assert_fail(ptr noundef @.str.8, ptr noundef @.str.7, i32 noundef 176, ptr noundef @__PRETTY_FUNCTION__.main) #9
  unreachable

178:                                              ; preds = %176
  %179 = load i32, ptr %18, align 4, !tbaa !5
  %180 = icmp ne i32 %179, 0
  br i1 %180, label %181, label %194

181:                                              ; preds = %178
  %182 = load ptr, ptr %12, align 8, !tbaa !9
  %183 = load double, ptr getelementptr inbounds ([8 x double], ptr @main.lambda_values, i64 0, i64 1), align 8, !tbaa !13
  %184 = call double @BipartiteAltKCyclesB_SLOW(ptr noundef %182, double noundef %183)
  store double %184, ptr %13, align 8, !tbaa !13
  %185 = load double, ptr %13, align 8, !tbaa !13
  %186 = getelementptr inbounds [8 x double], ptr %21, i64 0, i64 1
  %187 = load double, ptr %186, align 8, !tbaa !13
  %188 = fsub double %185, %187
  %189 = call double @llvm.fabs.f64(double %188)
  %190 = fcmp ole double %189, 0x3EB0C6F7A0B5ED8D
  br i1 %190, label %191, label %192

191:                                              ; preds = %181
  br label %193

192:                                              ; preds = %181
  call void @__assert_fail(ptr noundef @.str.8, ptr noundef @.str.7, i32 noundef 181, ptr noundef @__PRETTY_FUNCTION__.main) #9
  unreachable

193:                                              ; preds = %191
  br label %194

194:                                              ; preds = %193, %178
  %195 = load ptr, ptr %12, align 8, !tbaa !9
  %196 = call i64 @FourCyclesA(ptr noundef %195)
  store i64 %196, ptr %14, align 8, !tbaa !17
  %197 = load ptr, ptr %12, align 8, !tbaa !9
  %198 = call i64 @FourCyclesA_sum_by_node(ptr noundef %197)
  store i64 %198, ptr %15, align 8, !tbaa !17
  %199 = load i64, ptr %14, align 8, !tbaa !17
  %200 = load i64, ptr %15, align 8, !tbaa !17
  %201 = icmp eq i64 %199, %200
  br i1 %201, label %202, label %203

202:                                              ; preds = %194
  br label %204

203:                                              ; preds = %194
  call void @__assert_fail(ptr noundef @.str.9, ptr noundef @.str.7, i32 noundef 186, ptr noundef @__PRETTY_FUNCTION__.main) #9
  unreachable

204:                                              ; preds = %202
  %205 = load i64, ptr %14, align 8, !tbaa !17
  %206 = uitofp i64 %205 to double
  %207 = getelementptr inbounds [8 x double], ptr %21, i64 0, i64 2
  %208 = load double, ptr %207, align 16, !tbaa !13
  %209 = fsub double %206, %208
  %210 = call double @llvm.fabs.f64(double %209)
  %211 = fcmp ole double %210, 0x3EB0C6F7A0B5ED8D
  br i1 %211, label %212, label %213

212:                                              ; preds = %204
  br label %214

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

214:                                              ; preds = %212
  %215 = load ptr, ptr %12, align 8, !tbaa !9
  %216 = call i64 @FourCyclesB(ptr noundef %215)
  store i64 %216, ptr %14, align 8, !tbaa !17
  %217 = load ptr, ptr %12, align 8, !tbaa !9
  %218 = call i64 @FourCyclesB_sum_by_node(ptr noundef %217)
  store i64 %218, ptr %15, align 8, !tbaa !17
  %219 = load i64, ptr %14, align 8, !tbaa !17
  %220 = load i64, ptr %15, align 8, !tbaa !17
  %221 = icmp eq i64 %219, %220
  br i1 %221, label %222, label %223

222:                                              ; preds = %214
  br label %224

223:                                              ; preds = %214
  call void @__assert_fail(ptr noundef @.str.9, ptr noundef @.str.7, i32 noundef 190, ptr noundef @__PRETTY_FUNCTION__.main) #9
  unreachable

224:                                              ; preds = %222
  %225 = load i64, ptr %14, align 8, !tbaa !17
  %226 = uitofp i64 %225 to double
  %227 = getelementptr inbounds [8 x double], ptr %21, i64 0, i64 2
  %228 = load double, ptr %227, align 16, !tbaa !13
  %229 = fsub double %226, %228
  %230 = call double @llvm.fabs.f64(double %229)
  %231 = fcmp ole double %230, 0x3EB0C6F7A0B5ED8D
  br i1 %231, label %232, label %233

232:                                              ; preds = %224
  br label %234

233:                                              ; preds = %224
  call void @__assert_fail(ptr noundef @.str.10, ptr noundef @.str.7, i32 noundef 191, ptr noundef @__PRETTY_FUNCTION__.main) #9
  unreachable

234:                                              ; preds = %232
  %235 = load ptr, ptr %12, align 8, !tbaa !9
  %236 = load double, ptr getelementptr inbounds ([8 x double], ptr @main.lambda_values, i64 0, i64 3), align 8, !tbaa !13
  %237 = call double @PowerFourCycles(ptr noundef %235, double noundef %236)
  store double %237, ptr %13, align 8, !tbaa !13
  %238 = load ptr, ptr @stderr, align 8, !tbaa !9
  %239 = load double, ptr %13, align 8, !tbaa !13
  %240 = getelementptr inbounds [8 x double], ptr %21, i64 0, i64 3
  %241 = load double, ptr %240, align 8, !tbaa !13
  %242 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %238, ptr noundef @.str.11, double noundef %239, double noundef %241) #7
  %243 = load ptr, ptr @stderr, align 8, !tbaa !9
  %244 = load double, ptr %13, align 8, !tbaa !13
  %245 = getelementptr inbounds [8 x double], ptr %21, i64 0, i64 3
  %246 = load double, ptr %245, align 8, !tbaa !13
  %247 = fsub double %244, %246
  %248 = call double @llvm.fabs.f64(double %247)
  %249 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %243, ptr noundef @.str.12, double noundef %248) #7
  %250 = load double, ptr %13, align 8, !tbaa !13
  %251 = getelementptr inbounds [8 x double], ptr %21, i64 0, i64 3
  %252 = load double, ptr %251, align 8, !tbaa !13
  %253 = fsub double %250, %252
  %254 = call double @llvm.fabs.f64(double %253)
  %255 = fcmp ole double %254, 0x3EB0C6F7A0B5ED8D
  br i1 %255, label %256, label %257

256:                                              ; preds = %234
  br label %258

257:                                              ; preds = %234
  call void @__assert_fail(ptr noundef @.str.13, ptr noundef @.str.7, i32 noundef 197, ptr noundef @__PRETTY_FUNCTION__.main) #9
  unreachable

258:                                              ; preds = %256
  %259 = load ptr, ptr %12, align 8, !tbaa !9
  %260 = load double, ptr getelementptr inbounds ([8 x double], ptr @main.lambda_values, i64 0, i64 4), align 16, !tbaa !13
  %261 = call double @PowerFourCyclesA(ptr noundef %259, double noundef %260)
  store double %261, ptr %13, align 8, !tbaa !13
  %262 = load ptr, ptr @stderr, align 8, !tbaa !9
  %263 = load double, ptr %13, align 8, !tbaa !13
  %264 = getelementptr inbounds [8 x double], ptr %21, i64 0, i64 4
  %265 = load double, ptr %264, align 16, !tbaa !13
  %266 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %262, ptr noundef @.str.14, double noundef %263, double noundef %265) #7
  %267 = load ptr, ptr @stderr, align 8, !tbaa !9
  %268 = load double, ptr %13, align 8, !tbaa !13
  %269 = getelementptr inbounds [8 x double], ptr %21, i64 0, i64 4
  %270 = load double, ptr %269, align 16, !tbaa !13
  %271 = fsub double %268, %270
  %272 = call double @llvm.fabs.f64(double %271)
  %273 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %267, ptr noundef @.str.12, double noundef %272) #7
  %274 = load double, ptr %13, align 8, !tbaa !13
  %275 = getelementptr inbounds [8 x double], ptr %21, i64 0, i64 4
  %276 = load double, ptr %275, align 16, !tbaa !13
  %277 = fsub double %274, %276
  %278 = call double @llvm.fabs.f64(double %277)
  %279 = fcmp ole double %278, 0x3EB0C6F7A0B5ED8D
  br i1 %279, label %280, label %281

280:                                              ; preds = %258
  br label %282

281:                                              ; preds = %258
  call void @__assert_fail(ptr noundef @.str.15, ptr noundef @.str.7, i32 noundef 202, ptr noundef @__PRETTY_FUNCTION__.main) #9
  unreachable

282:                                              ; preds = %280
  %283 = load ptr, ptr %12, align 8, !tbaa !9
  %284 = load double, ptr getelementptr inbounds ([8 x double], ptr @main.lambda_values, i64 0, i64 5), align 8, !tbaa !13
  %285 = call double @PowerFourCyclesB(ptr noundef %283, double noundef %284)
  store double %285, ptr %13, align 8, !tbaa !13
  %286 = load ptr, ptr @stderr, align 8, !tbaa !9
  %287 = load double, ptr %13, align 8, !tbaa !13
  %288 = getelementptr inbounds [8 x double], ptr %21, i64 0, i64 5
  %289 = load double, ptr %288, align 8, !tbaa !13
  %290 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %286, ptr noundef @.str.16, double noundef %287, double noundef %289) #7
  %291 = load ptr, ptr @stderr, align 8, !tbaa !9
  %292 = load double, ptr %13, align 8, !tbaa !13
  %293 = getelementptr inbounds [8 x double], ptr %21, i64 0, i64 5
  %294 = load double, ptr %293, align 8, !tbaa !13
  %295 = fsub double %292, %294
  %296 = call double @llvm.fabs.f64(double %295)
  %297 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %291, ptr noundef @.str.12, double noundef %296) #7
  %298 = load double, ptr %13, align 8, !tbaa !13
  %299 = getelementptr inbounds [8 x double], ptr %21, i64 0, i64 5
  %300 = load double, ptr %299, align 8, !tbaa !13
  %301 = fsub double %298, %300
  %302 = call double @llvm.fabs.f64(double %301)
  %303 = fcmp ole double %302, 0x3EB0C6F7A0B5ED8D
  br i1 %303, label %304, label %305

304:                                              ; preds = %282
  br label %306

305:                                              ; preds = %282
  call void @__assert_fail(ptr noundef @.str.17, ptr noundef @.str.7, i32 noundef 207, ptr noundef @__PRETTY_FUNCTION__.main) #9
  unreachable

306:                                              ; preds = %304
  %307 = load ptr, ptr %12, align 8, !tbaa !9
  %308 = load double, ptr getelementptr inbounds ([8 x double], ptr @main.lambda_values, i64 0, i64 6), align 16, !tbaa !13
  %309 = call double @BipartiteAltK4CyclesA(ptr noundef %307, double noundef %308)
  store double %309, ptr %13, align 8, !tbaa !13
  %310 = load ptr, ptr @stderr, align 8, !tbaa !9
  %311 = load double, ptr %13, align 8, !tbaa !13
  %312 = getelementptr inbounds [8 x double], ptr %21, i64 0, i64 6
  %313 = load double, ptr %312, align 16, !tbaa !13
  %314 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %310, ptr noundef @.str.18, double noundef %311, double noundef %313) #7
  %315 = load ptr, ptr @stderr, align 8, !tbaa !9
  %316 = load double, ptr %13, align 8, !tbaa !13
  %317 = getelementptr inbounds [8 x double], ptr %21, i64 0, i64 6
  %318 = load double, ptr %317, align 16, !tbaa !13
  %319 = fsub double %316, %318
  %320 = call double @llvm.fabs.f64(double %319)
  %321 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %315, ptr noundef @.str.12, double noundef %320) #7
  %322 = load double, ptr %13, align 8, !tbaa !13
  %323 = getelementptr inbounds [8 x double], ptr %21, i64 0, i64 6
  %324 = load double, ptr %323, align 16, !tbaa !13
  %325 = fsub double %322, %324
  %326 = call double @llvm.fabs.f64(double %325)
  %327 = fcmp ole double %326, 0x3EB0C6F7A0B5ED8D
  br i1 %327, label %328, label %329

328:                                              ; preds = %306
  br label %330

329:                                              ; preds = %306
  call void @__assert_fail(ptr noundef @.str.19, ptr noundef @.str.7, i32 noundef 213, ptr noundef @__PRETTY_FUNCTION__.main) #9
  unreachable

330:                                              ; preds = %328
  %331 = load i32, ptr %18, align 4, !tbaa !5
  %332 = icmp ne i32 %331, 0
  br i1 %332, label %333, label %358

333:                                              ; preds = %330
  %334 = load ptr, ptr %12, align 8, !tbaa !9
  %335 = load double, ptr getelementptr inbounds ([8 x double], ptr @main.lambda_values, i64 0, i64 6), align 16, !tbaa !13
  %336 = call double @BipartiteAltK4CyclesA_SLOW(ptr noundef %334, double noundef %335)
  store double %336, ptr %13, align 8, !tbaa !13
  %337 = load ptr, ptr @stderr, align 8, !tbaa !9
  %338 = load double, ptr %13, align 8, !tbaa !13
  %339 = getelementptr inbounds [8 x double], ptr %21, i64 0, i64 6
  %340 = load double, ptr %339, align 16, !tbaa !13
  %341 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %337, ptr noundef @.str.18, double noundef %338, double noundef %340) #7
  %342 = load ptr, ptr @stderr, align 8, !tbaa !9
  %343 = load double, ptr %13, align 8, !tbaa !13
  %344 = getelementptr inbounds [8 x double], ptr %21, i64 0, i64 6
  %345 = load double, ptr %344, align 16, !tbaa !13
  %346 = fsub double %343, %345
  %347 = call double @llvm.fabs.f64(double %346)
  %348 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %342, ptr noundef @.str.12, double noundef %347) #7
  %349 = load double, ptr %13, align 8, !tbaa !13
  %350 = getelementptr inbounds [8 x double], ptr %21, i64 0, i64 6
  %351 = load double, ptr %350, align 16, !tbaa !13
  %352 = fsub double %349, %351
  %353 = call double @llvm.fabs.f64(double %352)
  %354 = fcmp ole double %353, 0x3EB0C6F7A0B5ED8D
  br i1 %354, label %355, label %356

355:                                              ; preds = %333
  br label %357

356:                                              ; preds = %333
  call void @__assert_fail(ptr noundef @.str.19, ptr noundef @.str.7, i32 noundef 218, ptr noundef @__PRETTY_FUNCTION__.main) #9
  unreachable

357:                                              ; preds = %355
  br label %358

358:                                              ; preds = %357, %330
  %359 = load ptr, ptr %12, align 8, !tbaa !9
  %360 = load double, ptr getelementptr inbounds ([8 x double], ptr @main.lambda_values, i64 0, i64 7), align 8, !tbaa !13
  %361 = call double @BipartiteAltK4CyclesB(ptr noundef %359, double noundef %360)
  store double %361, ptr %13, align 8, !tbaa !13
  %362 = load ptr, ptr @stderr, align 8, !tbaa !9
  %363 = load double, ptr %13, align 8, !tbaa !13
  %364 = getelementptr inbounds [8 x double], ptr %21, i64 0, i64 7
  %365 = load double, ptr %364, align 8, !tbaa !13
  %366 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %362, ptr noundef @.str.20, double noundef %363, double noundef %365) #7
  %367 = load ptr, ptr @stderr, align 8, !tbaa !9
  %368 = load double, ptr %13, align 8, !tbaa !13
  %369 = getelementptr inbounds [8 x double], ptr %21, i64 0, i64 7
  %370 = load double, ptr %369, align 8, !tbaa !13
  %371 = fsub double %368, %370
  %372 = call double @llvm.fabs.f64(double %371)
  %373 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %367, ptr noundef @.str.12, double noundef %372) #7
  %374 = load double, ptr %13, align 8, !tbaa !13
  %375 = getelementptr inbounds [8 x double], ptr %21, i64 0, i64 7
  %376 = load double, ptr %375, align 8, !tbaa !13
  %377 = fsub double %374, %376
  %378 = call double @llvm.fabs.f64(double %377)
  %379 = fcmp ole double %378, 0x3EB0C6F7A0B5ED8D
  br i1 %379, label %380, label %381

380:                                              ; preds = %358
  br label %382

381:                                              ; preds = %358
  call void @__assert_fail(ptr noundef @.str.21, ptr noundef @.str.7, i32 noundef 224, ptr noundef @__PRETTY_FUNCTION__.main) #9
  unreachable

382:                                              ; preds = %380
  %383 = load i32, ptr %18, align 4, !tbaa !5
  %384 = icmp ne i32 %383, 0
  br i1 %384, label %385, label %410

385:                                              ; preds = %382
  %386 = load ptr, ptr %12, align 8, !tbaa !9
  %387 = load double, ptr getelementptr inbounds ([8 x double], ptr @main.lambda_values, i64 0, i64 7), align 8, !tbaa !13
  %388 = call double @BipartiteAltK4CyclesB_SLOW(ptr noundef %386, double noundef %387)
  store double %388, ptr %13, align 8, !tbaa !13
  %389 = load ptr, ptr @stderr, align 8, !tbaa !9
  %390 = load double, ptr %13, align 8, !tbaa !13
  %391 = getelementptr inbounds [8 x double], ptr %21, i64 0, i64 7
  %392 = load double, ptr %391, align 8, !tbaa !13
  %393 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %389, ptr noundef @.str.20, double noundef %390, double noundef %392) #7
  %394 = load ptr, ptr @stderr, align 8, !tbaa !9
  %395 = load double, ptr %13, align 8, !tbaa !13
  %396 = getelementptr inbounds [8 x double], ptr %21, i64 0, i64 7
  %397 = load double, ptr %396, align 8, !tbaa !13
  %398 = fsub double %395, %397
  %399 = call double @llvm.fabs.f64(double %398)
  %400 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %394, ptr noundef @.str.12, double noundef %399) #7
  %401 = load double, ptr %13, align 8, !tbaa !13
  %402 = getelementptr inbounds [8 x double], ptr %21, i64 0, i64 7
  %403 = load double, ptr %402, align 8, !tbaa !13
  %404 = fsub double %401, %403
  %405 = call double @llvm.fabs.f64(double %404)
  %406 = fcmp ole double %405, 0x3EB0C6F7A0B5ED8D
  br i1 %406, label %407, label %408

407:                                              ; preds = %385
  br label %409

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

409:                                              ; preds = %407
  br label %410

410:                                              ; preds = %409, %382
  %411 = load ptr, ptr %12, align 8, !tbaa !9
  call void @free_graph(ptr noundef %411)
  call void @exit(i32 noundef 0) #9
  unreachable

412:                                              ; preds = %85, %70, %62
  call void @llvm.lifetime.end.p0(i64 4, 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 8, ptr %15) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #7
  %413 = load i32, ptr %3, align 4
  ret i32 %413
}

; 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

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

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

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

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

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

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

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

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

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

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

declare i64 @FourCyclesA(ptr noundef) #3

declare i64 @FourCyclesA_sum_by_node(ptr noundef) #3

declare i64 @FourCyclesB(ptr noundef) #3

declare i64 @FourCyclesB_sum_by_node(ptr noundef) #3

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

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

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

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

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

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

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

declare void @free_graph(ptr noundef) #3

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

; 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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
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 = { 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 = distinct !{!15, !12}
!16 = distinct !{!16, !12}
!17 = !{!18, !18, i64 0}
!18 = !{!"long long", !7, i64 0}


; 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 [28 x i8], align 1
@main.lambda_values = external hidden global [8 x double], align 16
@main.theta = external hidden global [8 x double], align 16
@.str.4 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [128 x i8], align 1
@__PRETTY_FUNCTION__.main = external hidden unnamed_addr constant [23 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [37 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [60 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [43 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [43 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [43 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [43 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [43 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [48 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 i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca [8 x double], align 16
  %7 = alloca [8 x ptr], align 16
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #10
  store i32 0, ptr %3, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #10
  store i32 0, ptr %4, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #10
  %8 = tail call i64 @time(ptr noundef null) #10
  %9 = trunc i64 %8 to i32
  tail call void @srand(i32 noundef %9) #10
  br label %.outer

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

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

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

14:                                               ; preds = %10
  %15 = load i32, ptr @optind, align 4, !tbaa !5
  %16 = sub nsw i32 %0, %15
  %.not91 = icmp eq i32 %16, 2
  br i1 %.not91, label %19, label %17

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

19:                                               ; preds = %17, %14
  %20 = phi i32 [ %.pre, %17 ], [ %15, %14 ]
  %21 = sext i32 %20 to i64
  %22 = getelementptr inbounds ptr, ptr %1, i64 %21
  %23 = load ptr, ptr %22, align 8, !tbaa !11
  %24 = getelementptr i8, ptr %22, i64 8
  %25 = load ptr, ptr %24, align 8, !tbaa !11
  %26 = call double @strtod(ptr noundef %25, ptr noundef nonnull %5) #10
  %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 !11
  %30 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %29, ptr noundef nonnull @.str.1, double noundef %26) #11
  br label %255

31:                                               ; preds = %19
  %32 = tail call noalias ptr @fopen(ptr noundef %23, ptr noundef nonnull @.str.2)
  %.not92 = icmp eq ptr %32, null
  br i1 %.not92, label %33, label %39

33:                                               ; preds = %31
  %34 = load ptr, ptr @stderr, align 8, !tbaa !11
  %35 = tail call ptr @__errno_location() #12
  %36 = load i32, ptr %35, align 4, !tbaa !5
  %37 = tail call ptr @strerror(i32 noundef %36) #10
  %38 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %34, ptr noundef nonnull @.str.3, ptr noundef %23, ptr noundef %37) #11
  br label %255

39:                                               ; preds = %31
  call void @get_num_vertices_from_bipartite_pajek_file(ptr noundef nonnull %32, ptr noundef nonnull %3, ptr noundef nonnull %4) #10
  %40 = load i32, ptr %3, align 4, !tbaa !5
  %41 = load i32, ptr %4, align 4, !tbaa !5
  %42 = call ptr @allocate_graph(i32 noundef %40, i32 noundef 0, i32 noundef 1, i32 noundef %41) #10
  %43 = call noalias ptr @fopen(ptr noundef %23, ptr noundef nonnull @.str.2)
  %.not93 = icmp eq ptr %43, null
  br i1 %.not93, label %44, label %50

44:                                               ; preds = %39
  %45 = load ptr, ptr @stderr, align 8, !tbaa !11
  %46 = tail call ptr @__errno_location() #12
  %47 = load i32, ptr %46, align 4, !tbaa !5
  %48 = call ptr @strerror(i32 noundef %47) #10
  %49 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %45, ptr noundef nonnull @.str.3, ptr noundef %23, ptr noundef %48) #11
  br label %255

50:                                               ; preds = %39
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %6) #10
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %7) #10
  store ptr @changeBipartiteAltKCyclesA, ptr %7, align 16, !tbaa !11
  store double %26, ptr @main.lambda_values, align 16, !tbaa !13
  %51 = getelementptr inbounds i8, ptr %7, i64 8
  store ptr @changeBipartiteAltKCyclesB, ptr %51, align 8, !tbaa !11
  store double %26, ptr getelementptr inbounds (i8, ptr @main.lambda_values, i64 8), align 8, !tbaa !13
  %52 = getelementptr inbounds i8, ptr %7, i64 16
  store ptr @changeFourCycles, ptr %52, align 16, !tbaa !11
  store double 0.000000e+00, ptr getelementptr inbounds (i8, ptr @main.lambda_values, i64 16), align 16, !tbaa !13
  %53 = getelementptr inbounds i8, ptr %7, i64 24
  store ptr @changePowerFourCycles, ptr %53, align 8, !tbaa !11
  store double %26, ptr getelementptr inbounds (i8, ptr @main.lambda_values, i64 24), align 8, !tbaa !13
  %54 = getelementptr inbounds i8, ptr %7, i64 32
  store ptr @changeBipartitePowerFourCyclesA, ptr %54, align 16, !tbaa !11
  store double %26, ptr getelementptr inbounds (i8, ptr @main.lambda_values, i64 32), align 16, !tbaa !13
  %55 = getelementptr inbounds i8, ptr %7, i64 40
  store ptr @changeBipartitePowerFourCyclesB, ptr %55, align 8, !tbaa !11
  store double %26, ptr getelementptr inbounds (i8, ptr @main.lambda_values, i64 40), align 8, !tbaa !13
  %56 = getelementptr inbounds i8, ptr %7, i64 48
  store ptr @changeBipartiteAltK4CyclesA, ptr %56, align 16, !tbaa !11
  store double %26, ptr getelementptr inbounds (i8, ptr @main.lambda_values, i64 48), align 16, !tbaa !13
  %57 = getelementptr inbounds i8, ptr %7, i64 56
  store ptr @changeBipartiteAltK4CyclesB, ptr %57, align 8, !tbaa !11
  store double %26, ptr getelementptr inbounds (i8, ptr @main.lambda_values, i64 56), align 8, !tbaa !13
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(64) %6, i8 0, i64 64, i1 false), !tbaa !13
  %58 = call ptr @load_graph_from_arclist_file(ptr noundef nonnull %43, ptr noundef %42, i32 noundef 1, i32 noundef 8, i32 noundef 0, i32 noundef 0, i32 noundef 0, ptr noundef nonnull %7, ptr noundef nonnull @main.lambda_values, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef nonnull %6, ptr noundef nonnull @main.theta) #10
  %59 = load double, ptr %6, align 16, !tbaa !13
  %60 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4, double noundef %59)
  %61 = getelementptr inbounds i8, ptr %6, i64 8
  %62 = load double, ptr %61, align 8, !tbaa !13
  %63 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4, double noundef %62)
  %64 = getelementptr inbounds i8, ptr %6, i64 16
  %65 = load double, ptr %64, align 16, !tbaa !13
  %66 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4, double noundef %65)
  %67 = getelementptr inbounds i8, ptr %6, i64 24
  %68 = load double, ptr %67, align 8, !tbaa !13
  %69 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4, double noundef %68)
  %70 = getelementptr inbounds i8, ptr %6, i64 32
  %71 = load double, ptr %70, align 16, !tbaa !13
  %72 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4, double noundef %71)
  %73 = getelementptr inbounds i8, ptr %6, i64 40
  %74 = load double, ptr %73, align 8, !tbaa !13
  %75 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4, double noundef %74)
  %76 = getelementptr inbounds i8, ptr %6, i64 48
  %77 = load double, ptr %76, align 16, !tbaa !13
  %78 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4, double noundef %77)
  %79 = getelementptr inbounds i8, ptr %6, i64 56
  %80 = load double, ptr %79, align 8, !tbaa !13
  %81 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4, double noundef %80)
  %82 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.5)
  %83 = load double, ptr @main.lambda_values, align 16, !tbaa !13
  %84 = call double @BipartiteAltKCyclesA(ptr noundef %58, double noundef %83) #10
  %85 = load double, ptr %6, align 16, !tbaa !13
  %86 = fsub double %84, %85
  %87 = call double @llvm.fabs.f64(double %86)
  %88 = fcmp ugt double %87, 0x3EB0C6F7A0B5ED8D
  br i1 %88, label %89, label %90

89:                                               ; preds = %50
  call void @__assert_fail(ptr noundef nonnull @.str.6, ptr noundef nonnull @.str.7, i32 noundef 166, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #13
  unreachable

90:                                               ; preds = %50
  br i1 %.not94, label %99, label %91

91:                                               ; preds = %90
  %92 = load double, ptr @main.lambda_values, align 16, !tbaa !13
  %93 = call double @BipartiteAltKCyclesA_SLOW(ptr noundef %58, double noundef %92) #10
  %94 = load double, ptr %6, align 16, !tbaa !13
  %95 = fsub double %93, %94
  %96 = call double @llvm.fabs.f64(double %95)
  %97 = fcmp ugt double %96, 0x3EB0C6F7A0B5ED8D
  br i1 %97, label %98, label %99

98:                                               ; preds = %91
  call void @__assert_fail(ptr noundef nonnull @.str.6, ptr noundef nonnull @.str.7, i32 noundef 171, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #13
  unreachable

99:                                               ; preds = %91, %90
  %100 = load double, ptr getelementptr inbounds (i8, ptr @main.lambda_values, i64 8), align 8, !tbaa !13
  %101 = call double @BipartiteAltKCyclesB(ptr noundef %58, double noundef %100) #10
  %102 = load double, ptr %61, align 8, !tbaa !13
  %103 = fsub double %101, %102
  %104 = call double @llvm.fabs.f64(double %103)
  %105 = fcmp ugt double %104, 0x3EB0C6F7A0B5ED8D
  br i1 %105, label %106, label %107

106:                                              ; preds = %99
  call void @__assert_fail(ptr noundef nonnull @.str.8, ptr noundef nonnull @.str.7, i32 noundef 176, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #13
  unreachable

107:                                              ; preds = %99
  br i1 %.not94, label %116, label %108

108:                                              ; preds = %107
  %109 = load double, ptr getelementptr inbounds (i8, ptr @main.lambda_values, i64 8), align 8, !tbaa !13
  %110 = call double @BipartiteAltKCyclesB_SLOW(ptr noundef %58, double noundef %109) #10
  %111 = load double, ptr %61, align 8, !tbaa !13
  %112 = fsub double %110, %111
  %113 = call double @llvm.fabs.f64(double %112)
  %114 = fcmp ugt double %113, 0x3EB0C6F7A0B5ED8D
  br i1 %114, label %115, label %116

115:                                              ; preds = %108
  call void @__assert_fail(ptr noundef nonnull @.str.8, ptr noundef nonnull @.str.7, i32 noundef 181, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #13
  unreachable

116:                                              ; preds = %108, %107
  %117 = call i64 @FourCyclesA(ptr noundef %58) #10
  %118 = call i64 @FourCyclesA_sum_by_node(ptr noundef %58) #10
  %119 = icmp eq i64 %117, %118
  br i1 %119, label %121, label %120

120:                                              ; preds = %116
  call void @__assert_fail(ptr noundef nonnull @.str.9, ptr noundef nonnull @.str.7, i32 noundef 186, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #13
  unreachable

121:                                              ; preds = %116
  %122 = uitofp i64 %117 to double
  %123 = load double, ptr %64, align 16, !tbaa !13
  %124 = fsub double %122, %123
  %125 = call double @llvm.fabs.f64(double %124)
  %126 = fcmp ugt double %125, 0x3EB0C6F7A0B5ED8D
  br i1 %126, label %127, label %128

127:                                              ; preds = %121
  call void @__assert_fail(ptr noundef nonnull @.str.10, ptr noundef nonnull @.str.7, i32 noundef 187, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #13
  unreachable

128:                                              ; preds = %121
  %129 = call i64 @FourCyclesB(ptr noundef %58) #10
  %130 = call i64 @FourCyclesB_sum_by_node(ptr noundef %58) #10
  %131 = icmp eq i64 %129, %130
  br i1 %131, label %133, label %132

132:                                              ; preds = %128
  call void @__assert_fail(ptr noundef nonnull @.str.9, ptr noundef nonnull @.str.7, i32 noundef 190, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #13
  unreachable

133:                                              ; preds = %128
  %134 = uitofp i64 %129 to double
  %135 = load double, ptr %64, align 16, !tbaa !13
  %136 = fsub double %134, %135
  %137 = call double @llvm.fabs.f64(double %136)
  %138 = fcmp ugt double %137, 0x3EB0C6F7A0B5ED8D
  br i1 %138, label %139, label %140

139:                                              ; preds = %133
  call void @__assert_fail(ptr noundef nonnull @.str.10, ptr noundef nonnull @.str.7, i32 noundef 191, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #13
  unreachable

140:                                              ; preds = %133
  %141 = load double, ptr getelementptr inbounds (i8, ptr @main.lambda_values, i64 24), align 8, !tbaa !13
  %142 = call double @PowerFourCycles(ptr noundef %58, double noundef %141) #10
  %143 = load ptr, ptr @stderr, align 8, !tbaa !11
  %144 = load double, ptr %67, align 8, !tbaa !13
  %145 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %143, ptr noundef nonnull @.str.11, double noundef %142, double noundef %144) #11
  %146 = load ptr, ptr @stderr, align 8, !tbaa !11
  %147 = load double, ptr %67, align 8, !tbaa !13
  %148 = fsub double %142, %147
  %149 = call double @llvm.fabs.f64(double %148)
  %150 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %146, ptr noundef nonnull @.str.12, double noundef %149) #11
  %151 = load double, ptr %67, align 8, !tbaa !13
  %152 = fsub double %142, %151
  %153 = call double @llvm.fabs.f64(double %152)
  %154 = fcmp ugt double %153, 0x3EB0C6F7A0B5ED8D
  br i1 %154, label %155, label %156

155:                                              ; preds = %140
  call void @__assert_fail(ptr noundef nonnull @.str.13, ptr noundef nonnull @.str.7, i32 noundef 197, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #13
  unreachable

156:                                              ; preds = %140
  %157 = load double, ptr getelementptr inbounds (i8, ptr @main.lambda_values, i64 32), align 16, !tbaa !13
  %158 = call double @PowerFourCyclesA(ptr noundef %58, double noundef %157) #10
  %159 = load ptr, ptr @stderr, align 8, !tbaa !11
  %160 = load double, ptr %70, align 16, !tbaa !13
  %161 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %159, ptr noundef nonnull @.str.14, double noundef %158, double noundef %160) #11
  %162 = load ptr, ptr @stderr, align 8, !tbaa !11
  %163 = load double, ptr %70, align 16, !tbaa !13
  %164 = fsub double %158, %163
  %165 = call double @llvm.fabs.f64(double %164)
  %166 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %162, ptr noundef nonnull @.str.12, double noundef %165) #11
  %167 = load double, ptr %70, align 16, !tbaa !13
  %168 = fsub double %158, %167
  %169 = call double @llvm.fabs.f64(double %168)
  %170 = fcmp ugt double %169, 0x3EB0C6F7A0B5ED8D
  br i1 %170, label %171, label %172

171:                                              ; preds = %156
  call void @__assert_fail(ptr noundef nonnull @.str.15, ptr noundef nonnull @.str.7, i32 noundef 202, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #13
  unreachable

172:                                              ; preds = %156
  %173 = load double, ptr getelementptr inbounds (i8, ptr @main.lambda_values, i64 40), align 8, !tbaa !13
  %174 = call double @PowerFourCyclesB(ptr noundef %58, double noundef %173) #10
  %175 = load ptr, ptr @stderr, align 8, !tbaa !11
  %176 = load double, ptr %73, align 8, !tbaa !13
  %177 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %175, ptr noundef nonnull @.str.16, double noundef %174, double noundef %176) #11
  %178 = load ptr, ptr @stderr, align 8, !tbaa !11
  %179 = load double, ptr %73, align 8, !tbaa !13
  %180 = fsub double %174, %179
  %181 = call double @llvm.fabs.f64(double %180)
  %182 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %178, ptr noundef nonnull @.str.12, double noundef %181) #11
  %183 = load double, ptr %73, align 8, !tbaa !13
  %184 = fsub double %174, %183
  %185 = call double @llvm.fabs.f64(double %184)
  %186 = fcmp ugt double %185, 0x3EB0C6F7A0B5ED8D
  br i1 %186, label %187, label %188

187:                                              ; preds = %172
  call void @__assert_fail(ptr noundef nonnull @.str.17, ptr noundef nonnull @.str.7, i32 noundef 207, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #13
  unreachable

188:                                              ; preds = %172
  %189 = load double, ptr getelementptr inbounds (i8, ptr @main.lambda_values, i64 48), align 16, !tbaa !13
  %190 = call double @BipartiteAltK4CyclesA(ptr noundef %58, double noundef %189) #10
  %191 = load ptr, ptr @stderr, align 8, !tbaa !11
  %192 = load double, ptr %76, align 16, !tbaa !13
  %193 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %191, ptr noundef nonnull @.str.18, double noundef %190, double noundef %192) #11
  %194 = load ptr, ptr @stderr, align 8, !tbaa !11
  %195 = load double, ptr %76, align 16, !tbaa !13
  %196 = fsub double %190, %195
  %197 = call double @llvm.fabs.f64(double %196)
  %198 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %194, ptr noundef nonnull @.str.12, double noundef %197) #11
  %199 = load double, ptr %76, align 16, !tbaa !13
  %200 = fsub double %190, %199
  %201 = call double @llvm.fabs.f64(double %200)
  %202 = fcmp ugt double %201, 0x3EB0C6F7A0B5ED8D
  br i1 %202, label %203, label %204

203:                                              ; preds = %188
  call void @__assert_fail(ptr noundef nonnull @.str.19, ptr noundef nonnull @.str.7, i32 noundef 213, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #13
  unreachable

204:                                              ; preds = %188
  br i1 %.not94, label %221, label %205

205:                                              ; preds = %204
  %206 = load double, ptr getelementptr inbounds (i8, ptr @main.lambda_values, i64 48), align 16, !tbaa !13
  %207 = call double @BipartiteAltK4CyclesA_SLOW(ptr noundef %58, double noundef %206) #10
  %208 = load ptr, ptr @stderr, align 8, !tbaa !11
  %209 = load double, ptr %76, align 16, !tbaa !13
  %210 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %208, ptr noundef nonnull @.str.18, double noundef %207, double noundef %209) #11
  %211 = load ptr, ptr @stderr, align 8, !tbaa !11
  %212 = load double, ptr %76, align 16, !tbaa !13
  %213 = fsub double %207, %212
  %214 = call double @llvm.fabs.f64(double %213)
  %215 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %211, ptr noundef nonnull @.str.12, double noundef %214) #11
  %216 = load double, ptr %76, align 16, !tbaa !13
  %217 = fsub double %207, %216
  %218 = call double @llvm.fabs.f64(double %217)
  %219 = fcmp ugt double %218, 0x3EB0C6F7A0B5ED8D
  br i1 %219, label %220, label %221

220:                                              ; preds = %205
  call void @__assert_fail(ptr noundef nonnull @.str.19, ptr noundef nonnull @.str.7, i32 noundef 218, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #13
  unreachable

221:                                              ; preds = %205, %204
  %222 = load double, ptr getelementptr inbounds (i8, ptr @main.lambda_values, i64 56), align 8, !tbaa !13
  %223 = call double @BipartiteAltK4CyclesB(ptr noundef %58, double noundef %222) #10
  %224 = load ptr, ptr @stderr, align 8, !tbaa !11
  %225 = load double, ptr %79, align 8, !tbaa !13
  %226 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %224, ptr noundef nonnull @.str.20, double noundef %223, double noundef %225) #11
  %227 = load ptr, ptr @stderr, align 8, !tbaa !11
  %228 = load double, ptr %79, align 8, !tbaa !13
  %229 = fsub double %223, %228
  %230 = call double @llvm.fabs.f64(double %229)
  %231 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %227, ptr noundef nonnull @.str.12, double noundef %230) #11
  %232 = load double, ptr %79, align 8, !tbaa !13
  %233 = fsub double %223, %232
  %234 = call double @llvm.fabs.f64(double %233)
  %235 = fcmp ugt double %234, 0x3EB0C6F7A0B5ED8D
  br i1 %235, label %236, label %237

236:                                              ; preds = %221
  call void @__assert_fail(ptr noundef nonnull @.str.21, ptr noundef nonnull @.str.7, i32 noundef 224, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #13
  unreachable

237:                                              ; preds = %221
  br i1 %.not94, label %254, label %238

238:                                              ; preds = %237
  %239 = load double, ptr getelementptr inbounds (i8, ptr @main.lambda_values, i64 56), align 8, !tbaa !13
  %240 = call double @BipartiteAltK4CyclesB_SLOW(ptr noundef %58, double noundef %239) #10
  %241 = load ptr, ptr @stderr, align 8, !tbaa !11
  %242 = load double, ptr %79, align 8, !tbaa !13
  %243 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %241, ptr noundef nonnull @.str.20, double noundef %240, double noundef %242) #11
  %244 = load ptr, ptr @stderr, align 8, !tbaa !11
  %245 = load double, ptr %79, align 8, !tbaa !13
  %246 = fsub double %240, %245
  %247 = call double @llvm.fabs.f64(double %246)
  %248 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %244, ptr noundef nonnull @.str.12, double noundef %247) #11
  %249 = load double, ptr %79, align 8, !tbaa !13
  %250 = fsub double %240, %249
  %251 = call double @llvm.fabs.f64(double %250)
  %252 = fcmp ugt double %251, 0x3EB0C6F7A0B5ED8D
  br i1 %252, label %253, label %254

253:                                              ; preds = %238
  call void @__assert_fail(ptr noundef nonnull @.str.21, ptr noundef nonnull @.str.7, i32 noundef 229, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #13
  unreachable

254:                                              ; preds = %238, %237
  call void @free_graph(ptr noundef %58) #10
  call void @exit(i32 noundef 0) #13
  unreachable

255:                                              ; preds = %44, %33, %28
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #10
  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

declare void @get_num_vertices_from_bipartite_pajek_file(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #6

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

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

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

declare double @changeFourCycles(ptr noundef, i32 noundef, i32 noundef, double noundef) #6

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

declare double @changeBipartitePowerFourCyclesA(ptr noundef, i32 noundef, i32 noundef, double noundef) #6

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

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

declare double @changeBipartiteAltK4CyclesB(ptr noundef, i32 noundef, i32 noundef, double noundef) #6

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 #6

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

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

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

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

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

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

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

declare i64 @FourCyclesA(ptr noundef) local_unnamed_addr #6

declare i64 @FourCyclesA_sum_by_node(ptr noundef) local_unnamed_addr #6

declare i64 @FourCyclesB(ptr noundef) local_unnamed_addr #6

declare i64 @FourCyclesB_sum_by_node(ptr noundef) local_unnamed_addr #6

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

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

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

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

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

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

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

declare void @free_graph(ptr noundef) local_unnamed_addr #6

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

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

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #9

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 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #8 = { 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 #9 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #10 = { nounwind }
attributes #11 = { cold nounwind }
attributes #12 = { nounwind willreturn memory(none) }
attributes #13 = { 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, !14, i64 0}
!14 = !{!"double", !7, i64 0}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,LCSSAPass,LoopIdiomRecognizePass,LoopRotatePass,LoopUnrollPass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass