; LLVM IR from stivalaa/EstimNetDirected :: Test/TestChangeStatsAttrBipartite (testBipartiteAlphaBetaChangeStatsMain)

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

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

34:                                               ; preds = %2
  %35 = load ptr, ptr @stderr, align 8, !tbaa !9
  %36 = load ptr, ptr %5, align 8, !tbaa !9
  %37 = getelementptr inbounds ptr, ptr %36, i64 0
  %38 = load ptr, ptr %37, align 8, !tbaa !9
  %39 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %35, ptr noundef @.str, ptr noundef %38) #7
  call void @exit(i32 noundef 1) #8
  unreachable

40:                                               ; preds = %2
  %41 = load ptr, ptr %5, align 8, !tbaa !9
  %42 = getelementptr inbounds ptr, ptr %41, i64 1
  %43 = load ptr, ptr %42, align 8, !tbaa !9
  store ptr %43, ptr %7, align 8, !tbaa !9
  %44 = load ptr, ptr %5, align 8, !tbaa !9
  %45 = getelementptr inbounds ptr, ptr %44, i64 2
  %46 = load ptr, ptr %45, align 8, !tbaa !9
  store ptr %46, ptr %12, align 8, !tbaa !9
  %47 = load ptr, ptr %5, align 8, !tbaa !9
  %48 = getelementptr inbounds ptr, ptr %47, i64 3
  %49 = load ptr, ptr %48, align 8, !tbaa !9
  store ptr %49, ptr %13, align 8, !tbaa !9
  %50 = load ptr, ptr %5, align 8, !tbaa !9
  %51 = getelementptr inbounds ptr, ptr %50, i64 4
  %52 = load ptr, ptr %51, align 8, !tbaa !9
  %53 = call double @strtod(ptr noundef %52, ptr noundef %16) #7
  store double %53, ptr %15, align 8, !tbaa !11
  %54 = load double, ptr %15, align 8, !tbaa !11
  %55 = fcmp olt double %54, 0.000000e+00
  br i1 %55, label %59, label %56

56:                                               ; preds = %40
  %57 = load double, ptr %15, align 8, !tbaa !11
  %58 = fcmp ogt double %57, 1.000000e+00
  br i1 %58, label %59, label %63

59:                                               ; preds = %56, %40
  %60 = load ptr, ptr @stderr, align 8, !tbaa !9
  %61 = load double, ptr %15, align 8, !tbaa !11
  %62 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %60, ptr noundef @.str.1, double noundef %61) #7
  store i32 -1, ptr %3, align 4
  store i32 1, ptr %17, align 4
  br label %286

63:                                               ; preds = %56
  %64 = load ptr, ptr %7, align 8, !tbaa !9
  %65 = call noalias ptr @fopen(ptr noundef %64, ptr noundef @.str.2)
  store ptr %65, ptr %8, align 8, !tbaa !9
  %66 = icmp ne ptr %65, null
  br i1 %66, label %74, label %67

67:                                               ; preds = %63
  %68 = load ptr, ptr @stderr, align 8, !tbaa !9
  %69 = load ptr, ptr %7, align 8, !tbaa !9
  %70 = call ptr @__errno_location() #9
  %71 = load i32, ptr %70, align 4, !tbaa !5
  %72 = call ptr @strerror(i32 noundef %71) #7
  %73 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %68, ptr noundef @.str.3, ptr noundef %69, ptr noundef %72) #7
  store i32 -1, ptr %3, align 4
  store i32 1, ptr %17, align 4
  br label %286

74:                                               ; preds = %63
  %75 = load ptr, ptr %8, align 8, !tbaa !9
  call void @get_num_vertices_from_bipartite_pajek_file(ptr noundef %75, ptr noundef %9, ptr noundef %10)
  %76 = load i32, ptr %9, align 4, !tbaa !5
  %77 = load i32, ptr %10, align 4, !tbaa !5
  %78 = call ptr @allocate_graph(i32 noundef %76, i32 noundef 0, i32 noundef 1, i32 noundef %77)
  store ptr %78, ptr %11, align 8, !tbaa !9
  %79 = load ptr, ptr %11, align 8, !tbaa !9
  %80 = load ptr, ptr %13, align 8, !tbaa !9
  %81 = load ptr, ptr %12, align 8, !tbaa !9
  %82 = call i32 @load_attributes(ptr noundef %79, ptr noundef null, ptr noundef %80, ptr noundef %81, ptr noundef null)
  %83 = icmp ne i32 %82, 0
  br i1 %83, label %84, label %87

84:                                               ; preds = %74
  %85 = load ptr, ptr @stderr, align 8, !tbaa !9
  %86 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %85, ptr noundef @.str.4) #7
  call void @exit(i32 noundef 1) #8
  unreachable

87:                                               ; preds = %74
  %88 = load ptr, ptr %7, align 8, !tbaa !9
  %89 = call noalias ptr @fopen(ptr noundef %88, ptr noundef @.str.2)
  store ptr %89, ptr %8, align 8, !tbaa !9
  %90 = icmp ne ptr %89, null
  br i1 %90, label %98, label %91

91:                                               ; preds = %87
  %92 = load ptr, ptr @stderr, align 8, !tbaa !9
  %93 = load ptr, ptr %7, align 8, !tbaa !9
  %94 = call ptr @__errno_location() #9
  %95 = load i32, ptr %94, align 4, !tbaa !5
  %96 = call ptr @strerror(i32 noundef %95) #7
  %97 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %92, ptr noundef @.str.3, ptr noundef %93, ptr noundef %96) #7
  store i32 -1, ptr %3, align 4
  store i32 1, ptr %17, align 4
  br label %286

98:                                               ; preds = %87
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #7
  store i32 0, ptr %18, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #7
  store i32 1, ptr %19, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #7
  store i32 2, ptr %20, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #7
  store i32 0, ptr %21, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #7
  store i32 1, ptr %22, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #7
  store i32 2, ptr %23, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #7
  store i32 8, ptr %24, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #7
  store i32 8, ptr %25, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %26) #7
  call void @llvm.lifetime.start.p0(i64 64, ptr %27) #7
  call void @llvm.lifetime.start.p0(i64 64, ptr %28) #7
  call void @llvm.lifetime.start.p0(i64 64, ptr %29) #7
  %99 = getelementptr inbounds [8 x ptr], ptr %29, i64 0, i64 0
  store ptr @changeBipartiteNodematchAlphaA, ptr %99, align 16, !tbaa !9
  %100 = getelementptr inbounds [8 x i32], ptr %26, i64 0, i64 0
  store i32 0, ptr %100, align 16, !tbaa !5
  %101 = load double, ptr %15, align 8, !tbaa !11
  %102 = getelementptr inbounds [8 x double], ptr %27, i64 0, i64 0
  store double %101, ptr %102, align 16, !tbaa !11
  %103 = getelementptr inbounds [8 x ptr], ptr %29, i64 0, i64 1
  store ptr @changeBipartiteNodematchBetaA, ptr %103, align 8, !tbaa !9
  %104 = getelementptr inbounds [8 x i32], ptr %26, i64 0, i64 1
  store i32 0, ptr %104, align 4, !tbaa !5
  %105 = load double, ptr %15, align 8, !tbaa !11
  %106 = getelementptr inbounds [8 x double], ptr %27, i64 0, i64 1
  store double %105, ptr %106, align 8, !tbaa !11
  %107 = getelementptr inbounds [8 x ptr], ptr %29, i64 0, i64 2
  store ptr @changeBipartiteNodematchAlphaB, ptr %107, align 16, !tbaa !9
  %108 = getelementptr inbounds [8 x i32], ptr %26, i64 0, i64 2
  store i32 1, ptr %108, align 8, !tbaa !5
  %109 = load double, ptr %15, align 8, !tbaa !11
  %110 = getelementptr inbounds [8 x double], ptr %27, i64 0, i64 2
  store double %109, ptr %110, align 16, !tbaa !11
  %111 = getelementptr inbounds [8 x ptr], ptr %29, i64 0, i64 3
  store ptr @changeBipartiteNodematchBetaB, ptr %111, align 8, !tbaa !9
  %112 = getelementptr inbounds [8 x i32], ptr %26, i64 0, i64 3
  store i32 1, ptr %112, align 4, !tbaa !5
  %113 = load double, ptr %15, align 8, !tbaa !11
  %114 = getelementptr inbounds [8 x double], ptr %27, i64 0, i64 3
  store double %113, ptr %114, align 8, !tbaa !11
  %115 = getelementptr inbounds [8 x ptr], ptr %29, i64 0, i64 4
  store ptr @changeBipartiteNodematchAlphaA, ptr %115, align 16, !tbaa !9
  %116 = getelementptr inbounds [8 x i32], ptr %26, i64 0, i64 4
  store i32 2, ptr %116, align 16, !tbaa !5
  %117 = load double, ptr %15, align 8, !tbaa !11
  %118 = getelementptr inbounds [8 x double], ptr %27, i64 0, i64 4
  store double %117, ptr %118, align 16, !tbaa !11
  %119 = getelementptr inbounds [8 x ptr], ptr %29, i64 0, i64 5
  store ptr @changeBipartiteNodematchBetaA, ptr %119, align 8, !tbaa !9
  %120 = getelementptr inbounds [8 x i32], ptr %26, i64 0, i64 5
  store i32 2, ptr %120, align 4, !tbaa !5
  %121 = load double, ptr %15, align 8, !tbaa !11
  %122 = getelementptr inbounds [8 x double], ptr %27, i64 0, i64 5
  store double %121, ptr %122, align 8, !tbaa !11
  %123 = getelementptr inbounds [8 x ptr], ptr %29, i64 0, i64 6
  store ptr @changeBipartiteNodematchAlphaB, ptr %123, align 16, !tbaa !9
  %124 = getelementptr inbounds [8 x i32], ptr %26, i64 0, i64 6
  store i32 2, ptr %124, align 8, !tbaa !5
  %125 = load double, ptr %15, align 8, !tbaa !11
  %126 = getelementptr inbounds [8 x double], ptr %27, i64 0, i64 6
  store double %125, ptr %126, align 16, !tbaa !11
  %127 = getelementptr inbounds [8 x ptr], ptr %29, i64 0, i64 7
  store ptr @changeBipartiteNodematchBetaB, ptr %127, align 8, !tbaa !9
  %128 = getelementptr inbounds [8 x i32], ptr %26, i64 0, i64 7
  store i32 2, ptr %128, align 4, !tbaa !5
  %129 = load double, ptr %15, align 8, !tbaa !11
  %130 = getelementptr inbounds [8 x double], ptr %27, i64 0, i64 7
  store double %129, ptr %130, align 8, !tbaa !11
  store i32 0, ptr %6, align 4, !tbaa !5
  br label %131

131:                                              ; preds = %138, %98
  %132 = load i32, ptr %6, align 4, !tbaa !5
  %133 = icmp ult i32 %132, 8
  br i1 %133, label %134, label %141

134:                                              ; preds = %131
  %135 = load i32, ptr %6, align 4, !tbaa !5
  %136 = zext i32 %135 to i64
  %137 = getelementptr inbounds [8 x double], ptr %28, i64 0, i64 %136
  store double 0.000000e+00, ptr %137, align 8, !tbaa !11
  br label %138

138:                                              ; preds = %134
  %139 = load i32, ptr %6, align 4, !tbaa !5
  %140 = add i32 %139, 1
  store i32 %140, ptr %6, align 4, !tbaa !5
  br label %131, !llvm.loop !13

141:                                              ; preds = %131
  %142 = load ptr, ptr %8, align 8, !tbaa !9
  %143 = load ptr, ptr %11, align 8, !tbaa !9
  %144 = load i32, ptr %24, align 4, !tbaa !5
  %145 = load i32, ptr %25, align 4, !tbaa !5
  %146 = getelementptr inbounds [8 x ptr], ptr %29, i64 0, i64 0
  %147 = getelementptr inbounds [8 x i32], ptr %26, i64 0, i64 0
  %148 = getelementptr inbounds [8 x double], ptr %27, i64 0, i64 0
  %149 = getelementptr inbounds [8 x double], ptr %28, i64 0, i64 0
  %150 = call ptr @load_graph_from_arclist_file(ptr noundef %142, ptr noundef %143, i32 noundef 1, i32 noundef %144, i32 noundef %145, i32 noundef 0, i32 noundef 0, ptr noundef null, ptr noundef @main.lambda_values, ptr noundef %146, ptr noundef null, ptr noundef null, ptr noundef %147, ptr noundef %148, ptr noundef null, ptr noundef %149, ptr noundef @main.theta)
  store ptr %150, ptr %11, align 8, !tbaa !9
  store i32 0, ptr %6, align 4, !tbaa !5
  br label %151

151:                                              ; preds = %160, %141
  %152 = load i32, ptr %6, align 4, !tbaa !5
  %153 = icmp ult i32 %152, 8
  br i1 %153, label %154, label %163

154:                                              ; preds = %151
  %155 = load i32, ptr %6, align 4, !tbaa !5
  %156 = zext i32 %155 to i64
  %157 = getelementptr inbounds [8 x double], ptr %28, i64 0, i64 %156
  %158 = load double, ptr %157, align 8, !tbaa !11
  %159 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, double noundef %158)
  br label %160

160:                                              ; preds = %154
  %161 = load i32, ptr %6, align 4, !tbaa !5
  %162 = add i32 %161, 1
  store i32 %162, ptr %6, align 4, !tbaa !5
  br label %151, !llvm.loop !15

163:                                              ; preds = %151
  %164 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
  %165 = load ptr, ptr %11, align 8, !tbaa !9
  %166 = getelementptr inbounds [8 x i32], ptr %26, i64 0, i64 0
  %167 = load i32, ptr %166, align 16, !tbaa !5
  %168 = getelementptr inbounds [8 x double], ptr %27, i64 0, i64 0
  %169 = load double, ptr %168, align 16, !tbaa !11
  %170 = call double @BipartiteNodematchAlphaA(ptr noundef %165, i32 noundef %167, double noundef %169)
  store double %170, ptr %14, align 8, !tbaa !11
  %171 = load double, ptr %14, align 8, !tbaa !11
  %172 = getelementptr inbounds [8 x double], ptr %28, i64 0, i64 0
  %173 = load double, ptr %172, align 16, !tbaa !11
  %174 = fsub double %171, %173
  %175 = call double @llvm.fabs.f64(double %174)
  %176 = fcmp ole double %175, 0x3CB0000000000000
  br i1 %176, label %177, label %178

177:                                              ; preds = %163
  br label %179

178:                                              ; preds = %163
  call void @__assert_fail(ptr noundef @.str.7, ptr noundef @.str.8, i32 noundef 511, ptr noundef @__PRETTY_FUNCTION__.main) #8
  unreachable

179:                                              ; preds = %177
  %180 = load ptr, ptr %11, align 8, !tbaa !9
  %181 = getelementptr inbounds [8 x i32], ptr %26, i64 0, i64 1
  %182 = load i32, ptr %181, align 4, !tbaa !5
  %183 = getelementptr inbounds [8 x double], ptr %27, i64 0, i64 1
  %184 = load double, ptr %183, align 8, !tbaa !11
  %185 = call double @BipartiteNodematchBetaA(ptr noundef %180, i32 noundef %182, double noundef %184)
  store double %185, ptr %14, align 8, !tbaa !11
  %186 = load double, ptr %14, align 8, !tbaa !11
  %187 = getelementptr inbounds [8 x double], ptr %28, i64 0, i64 1
  %188 = load double, ptr %187, align 8, !tbaa !11
  %189 = fsub double %186, %188
  %190 = call double @llvm.fabs.f64(double %189)
  %191 = fcmp ole double %190, 1.000000e-08
  br i1 %191, label %192, label %193

192:                                              ; preds = %179
  br label %194

193:                                              ; preds = %179
  call void @__assert_fail(ptr noundef @.str.9, ptr noundef @.str.8, i32 noundef 514, ptr noundef @__PRETTY_FUNCTION__.main) #8
  unreachable

194:                                              ; preds = %192
  %195 = load ptr, ptr %11, align 8, !tbaa !9
  %196 = getelementptr inbounds [8 x i32], ptr %26, i64 0, i64 2
  %197 = load i32, ptr %196, align 8, !tbaa !5
  %198 = getelementptr inbounds [8 x double], ptr %27, i64 0, i64 2
  %199 = load double, ptr %198, align 16, !tbaa !11
  %200 = call double @BipartiteNodematchAlphaB(ptr noundef %195, i32 noundef %197, double noundef %199)
  store double %200, ptr %14, align 8, !tbaa !11
  %201 = load double, ptr %14, align 8, !tbaa !11
  %202 = getelementptr inbounds [8 x double], ptr %28, i64 0, i64 2
  %203 = load double, ptr %202, align 16, !tbaa !11
  %204 = fsub double %201, %203
  %205 = call double @llvm.fabs.f64(double %204)
  %206 = fcmp ole double %205, 0x3CB0000000000000
  br i1 %206, label %207, label %208

207:                                              ; preds = %194
  br label %209

208:                                              ; preds = %194
  call void @__assert_fail(ptr noundef @.str.10, ptr noundef @.str.8, i32 noundef 517, ptr noundef @__PRETTY_FUNCTION__.main) #8
  unreachable

209:                                              ; preds = %207
  %210 = load ptr, ptr %11, align 8, !tbaa !9
  %211 = getelementptr inbounds [8 x i32], ptr %26, i64 0, i64 3
  %212 = load i32, ptr %211, align 4, !tbaa !5
  %213 = getelementptr inbounds [8 x double], ptr %27, i64 0, i64 3
  %214 = load double, ptr %213, align 8, !tbaa !11
  %215 = call double @BipartiteNodematchBetaB(ptr noundef %210, i32 noundef %212, double noundef %214)
  store double %215, ptr %14, align 8, !tbaa !11
  %216 = load double, ptr %14, align 8, !tbaa !11
  %217 = getelementptr inbounds [8 x double], ptr %28, i64 0, i64 3
  %218 = load double, ptr %217, align 8, !tbaa !11
  %219 = fsub double %216, %218
  %220 = call double @llvm.fabs.f64(double %219)
  %221 = fcmp ole double %220, 1.000000e-08
  br i1 %221, label %222, label %223

222:                                              ; preds = %209
  br label %224

223:                                              ; preds = %209
  call void @__assert_fail(ptr noundef @.str.11, ptr noundef @.str.8, i32 noundef 520, ptr noundef @__PRETTY_FUNCTION__.main) #8
  unreachable

224:                                              ; preds = %222
  %225 = load ptr, ptr %11, align 8, !tbaa !9
  %226 = getelementptr inbounds [8 x i32], ptr %26, i64 0, i64 4
  %227 = load i32, ptr %226, align 16, !tbaa !5
  %228 = getelementptr inbounds [8 x double], ptr %27, i64 0, i64 4
  %229 = load double, ptr %228, align 16, !tbaa !11
  %230 = call double @BipartiteNodematchAlphaA(ptr noundef %225, i32 noundef %227, double noundef %229)
  store double %230, ptr %14, align 8, !tbaa !11
  %231 = load double, ptr %14, align 8, !tbaa !11
  %232 = getelementptr inbounds [8 x double], ptr %28, i64 0, i64 4
  %233 = load double, ptr %232, align 16, !tbaa !11
  %234 = fsub double %231, %233
  %235 = call double @llvm.fabs.f64(double %234)
  %236 = fcmp ole double %235, 1.000000e-08
  br i1 %236, label %237, label %238

237:                                              ; preds = %224
  br label %239

238:                                              ; preds = %224
  call void @__assert_fail(ptr noundef @.str.12, ptr noundef @.str.8, i32 noundef 523, ptr noundef @__PRETTY_FUNCTION__.main) #8
  unreachable

239:                                              ; preds = %237
  %240 = load ptr, ptr %11, align 8, !tbaa !9
  %241 = getelementptr inbounds [8 x i32], ptr %26, i64 0, i64 5
  %242 = load i32, ptr %241, align 4, !tbaa !5
  %243 = getelementptr inbounds [8 x double], ptr %27, i64 0, i64 5
  %244 = load double, ptr %243, align 8, !tbaa !11
  %245 = call double @BipartiteNodematchBetaA(ptr noundef %240, i32 noundef %242, double noundef %244)
  store double %245, ptr %14, align 8, !tbaa !11
  %246 = load double, ptr %14, align 8, !tbaa !11
  %247 = getelementptr inbounds [8 x double], ptr %28, i64 0, i64 5
  %248 = load double, ptr %247, align 8, !tbaa !11
  %249 = fsub double %246, %248
  %250 = call double @llvm.fabs.f64(double %249)
  %251 = fcmp ole double %250, 1.000000e-08
  br i1 %251, label %252, label %253

252:                                              ; preds = %239
  br label %254

253:                                              ; preds = %239
  call void @__assert_fail(ptr noundef @.str.13, ptr noundef @.str.8, i32 noundef 526, ptr noundef @__PRETTY_FUNCTION__.main) #8
  unreachable

254:                                              ; preds = %252
  %255 = load ptr, ptr %11, align 8, !tbaa !9
  %256 = getelementptr inbounds [8 x i32], ptr %26, i64 0, i64 6
  %257 = load i32, ptr %256, align 8, !tbaa !5
  %258 = getelementptr inbounds [8 x double], ptr %27, i64 0, i64 6
  %259 = load double, ptr %258, align 16, !tbaa !11
  %260 = call double @BipartiteNodematchAlphaB(ptr noundef %255, i32 noundef %257, double noundef %259)
  store double %260, ptr %14, align 8, !tbaa !11
  %261 = load double, ptr %14, align 8, !tbaa !11
  %262 = getelementptr inbounds [8 x double], ptr %28, i64 0, i64 6
  %263 = load double, ptr %262, align 16, !tbaa !11
  %264 = fsub double %261, %263
  %265 = call double @llvm.fabs.f64(double %264)
  %266 = fcmp ole double %265, 1.000000e-08
  br i1 %266, label %267, label %268

267:                                              ; preds = %254
  br label %269

268:                                              ; preds = %254
  call void @__assert_fail(ptr noundef @.str.14, ptr noundef @.str.8, i32 noundef 529, ptr noundef @__PRETTY_FUNCTION__.main) #8
  unreachable

269:                                              ; preds = %267
  %270 = load ptr, ptr %11, align 8, !tbaa !9
  %271 = getelementptr inbounds [8 x i32], ptr %26, i64 0, i64 7
  %272 = load i32, ptr %271, align 4, !tbaa !5
  %273 = getelementptr inbounds [8 x double], ptr %27, i64 0, i64 7
  %274 = load double, ptr %273, align 8, !tbaa !11
  %275 = call double @BipartiteNodematchBetaB(ptr noundef %270, i32 noundef %272, double noundef %274)
  store double %275, ptr %14, align 8, !tbaa !11
  %276 = load double, ptr %14, align 8, !tbaa !11
  %277 = getelementptr inbounds [8 x double], ptr %28, i64 0, i64 7
  %278 = load double, ptr %277, align 8, !tbaa !11
  %279 = fsub double %276, %278
  %280 = call double @llvm.fabs.f64(double %279)
  %281 = fcmp ole double %280, 1.000000e-08
  br i1 %281, label %282, label %283

282:                                              ; preds = %269
  br label %284

283:                                              ; preds = %269
  call void @__assert_fail(ptr noundef @.str.15, ptr noundef @.str.8, i32 noundef 532, ptr noundef @__PRETTY_FUNCTION__.main) #8
  unreachable

284:                                              ; preds = %282
  %285 = load ptr, ptr %11, align 8, !tbaa !9
  call void @free_graph(ptr noundef %285)
  call void @exit(i32 noundef 0) #8
  unreachable

286:                                              ; preds = %91, %67, %59
  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 8, ptr %11) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #7
  %287 = load i32, ptr %3, align 4
  ret i32 %287
}

; 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 @fprintf(ptr noundef, ptr noundef, ...) #2

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

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

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

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

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

declare void @get_num_vertices_from_bipartite_pajek_file(ptr noundef, ptr noundef, ptr noundef) #4

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

declare i32 @load_attributes(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #4

declare double @changeBipartiteNodematchAlphaA(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, double noundef) #4

declare double @changeBipartiteNodematchBetaA(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, double noundef) #4

declare double @changeBipartiteNodematchAlphaB(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, double noundef) #4

declare double @changeBipartiteNodematchBetaB(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, double noundef) #4

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) #4

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

; Function Attrs: nounwind uwtable
declare hidden double @BipartiteNodematchAlphaA(ptr noundef, i32 noundef, double noundef) #0

; 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) #3

; Function Attrs: nounwind uwtable
declare hidden double @BipartiteNodematchBetaA(ptr noundef, i32 noundef, double noundef) #0

; Function Attrs: nounwind uwtable
declare hidden double @BipartiteNodematchAlphaB(ptr noundef, i32 noundef, double noundef) #0

; Function Attrs: nounwind uwtable
declare hidden double @BipartiteNodematchBetaB(ptr noundef, i32 noundef, double noundef) #0

declare void @free_graph(ptr noundef) #4

; 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 = { 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 #4 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nounwind 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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #7 = { nounwind }
attributes #8 = { noreturn nounwind }
attributes #9 = { nounwind willreturn memory(none) }

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

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


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

@stderr = external local_unnamed_addr global ptr, align 8
@.str = external hidden unnamed_addr constant [70 x i8], align 1
@.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
@.str.4 = external hidden unnamed_addr constant [37 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.5 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [43 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [133 x i8], align 1
@__PRETTY_FUNCTION__.main = external hidden unnamed_addr constant [23 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [43 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [48 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local noundef i32 @main(i32 noundef %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 {
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca [8 x i32], align 16
  %7 = alloca [8 x double], align 16
  %8 = alloca [8 x double], align 16
  %9 = 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
  %10 = tail call i64 @time(ptr noundef null) #10
  %11 = trunc i64 %10 to i32
  tail call void @srand(i32 noundef %11) #10
  %.not = icmp eq i32 %0, 5
  br i1 %.not, label %16, label %12

12:                                               ; preds = %2
  %13 = load ptr, ptr @stderr, align 8, !tbaa !9
  %14 = load ptr, ptr %1, align 8, !tbaa !9
  %15 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %13, ptr noundef nonnull @.str, ptr noundef %14) #11
  tail call void @exit(i32 noundef 1) #12
  unreachable

16:                                               ; preds = %2
  %17 = getelementptr inbounds i8, ptr %1, i64 8
  %18 = load ptr, ptr %17, align 8, !tbaa !9
  %19 = getelementptr inbounds i8, ptr %1, i64 16
  %20 = load ptr, ptr %19, align 8, !tbaa !9
  %21 = getelementptr inbounds i8, ptr %1, i64 24
  %22 = load ptr, ptr %21, align 8, !tbaa !9
  %23 = getelementptr inbounds i8, ptr %1, i64 32
  %24 = load ptr, ptr %23, align 8, !tbaa !9
  %25 = call double @strtod(ptr noundef %24, ptr noundef nonnull %5) #10
  %26 = fcmp olt double %25, 0.000000e+00
  %27 = fcmp ogt double %25, 1.000000e+00
  %or.cond = or i1 %26, %27
  br i1 %or.cond, label %28, label %31

28:                                               ; preds = %16
  %29 = load ptr, ptr @stderr, align 8, !tbaa !9
  %30 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %29, ptr noundef nonnull @.str.1, double noundef %25) #11
  br label %176

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

33:                                               ; preds = %31
  %34 = load ptr, ptr @stderr, align 8, !tbaa !9
  %35 = tail call ptr @__errno_location() #13
  %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 %18, ptr noundef %37) #11
  br label %176

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 i32 @load_attributes(ptr noundef %42, ptr noundef null, ptr noundef %22, ptr noundef %20, ptr noundef null) #10
  %.not57 = icmp eq i32 %43, 0
  br i1 %.not57, label %47, label %44

44:                                               ; preds = %39
  %45 = load ptr, ptr @stderr, align 8, !tbaa !9
  %46 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %45, ptr noundef nonnull @.str.4) #11
  call void @exit(i32 noundef 1) #12
  unreachable

47:                                               ; preds = %39
  %48 = call noalias ptr @fopen(ptr noundef %18, ptr noundef nonnull @.str.2)
  %.not58 = icmp eq ptr %48, null
  br i1 %.not58, label %49, label %55

49:                                               ; preds = %47
  %50 = load ptr, ptr @stderr, align 8, !tbaa !9
  %51 = tail call ptr @__errno_location() #13
  %52 = load i32, ptr %51, align 4, !tbaa !5
  %53 = call ptr @strerror(i32 noundef %52) #10
  %54 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %50, ptr noundef nonnull @.str.3, ptr noundef %18, ptr noundef %53) #11
  br label %176

55:                                               ; preds = %47
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %6) #10
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %7) #10
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %8) #10
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %9) #10
  store ptr @changeBipartiteNodematchAlphaA, ptr %9, align 16, !tbaa !9
  %56 = getelementptr inbounds i8, ptr %9, i64 8
  store ptr @changeBipartiteNodematchBetaA, ptr %56, align 8, !tbaa !9
  %57 = getelementptr inbounds i8, ptr %9, i64 16
  store ptr @changeBipartiteNodematchAlphaB, ptr %57, align 16, !tbaa !9
  %58 = getelementptr inbounds i8, ptr %6, i64 8
  %59 = getelementptr inbounds i8, ptr %7, i64 16
  %60 = getelementptr inbounds i8, ptr %9, i64 24
  store ptr @changeBipartiteNodematchBetaB, ptr %60, align 8, !tbaa !9
  %61 = getelementptr inbounds i8, ptr %6, i64 12
  store <4 x i32> <i32 0, i32 0, i32 1, i32 1>, ptr %6, align 16, !tbaa !5
  %62 = getelementptr inbounds i8, ptr %7, i64 24
  %63 = insertelement <4 x double> poison, double %25, i64 0
  %64 = shufflevector <4 x double> %63, <4 x double> poison, <4 x i32> zeroinitializer
  store <4 x double> %64, ptr %7, align 16, !tbaa !11
  %65 = getelementptr inbounds i8, ptr %9, i64 32
  store ptr @changeBipartiteNodematchAlphaA, ptr %65, align 16, !tbaa !9
  %66 = getelementptr inbounds i8, ptr %6, i64 16
  %67 = getelementptr inbounds i8, ptr %7, i64 32
  %68 = getelementptr inbounds i8, ptr %9, i64 40
  store ptr @changeBipartiteNodematchBetaA, ptr %68, align 8, !tbaa !9
  %69 = getelementptr inbounds i8, ptr %6, i64 20
  %70 = getelementptr inbounds i8, ptr %7, i64 40
  %71 = getelementptr inbounds i8, ptr %9, i64 48
  store ptr @changeBipartiteNodematchAlphaB, ptr %71, align 16, !tbaa !9
  %72 = getelementptr inbounds i8, ptr %6, i64 24
  %73 = getelementptr inbounds i8, ptr %7, i64 48
  %74 = getelementptr inbounds i8, ptr %9, i64 56
  store ptr @changeBipartiteNodematchBetaB, ptr %74, align 8, !tbaa !9
  %75 = getelementptr inbounds i8, ptr %6, i64 28
  store <4 x i32> <i32 2, i32 2, i32 2, i32 2>, ptr %66, align 16, !tbaa !5
  %76 = getelementptr inbounds i8, ptr %7, i64 56
  store <4 x double> %64, ptr %67, align 16, !tbaa !11
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(64) %8, i8 0, i64 64, i1 false), !tbaa !11
  %77 = call ptr @load_graph_from_arclist_file(ptr noundef nonnull %48, ptr noundef %42, i32 noundef 1, i32 noundef 8, i32 noundef 8, i32 noundef 0, i32 noundef 0, ptr noundef null, ptr noundef nonnull @main.lambda_values, ptr noundef nonnull %9, ptr noundef null, ptr noundef null, ptr noundef nonnull %6, ptr noundef nonnull %7, ptr noundef null, ptr noundef nonnull %8, ptr noundef nonnull @main.theta) #10
  %78 = load double, ptr %8, align 16, !tbaa !11
  %79 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.5, double noundef %78)
  %80 = getelementptr inbounds i8, ptr %8, i64 8
  %81 = load double, ptr %80, align 8, !tbaa !11
  %82 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.5, double noundef %81)
  %83 = getelementptr inbounds i8, ptr %8, i64 16
  %84 = load double, ptr %83, align 16, !tbaa !11
  %85 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.5, double noundef %84)
  %86 = getelementptr inbounds i8, ptr %8, i64 24
  %87 = load double, ptr %86, align 8, !tbaa !11
  %88 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.5, double noundef %87)
  %89 = getelementptr inbounds i8, ptr %8, i64 32
  %90 = load double, ptr %89, align 16, !tbaa !11
  %91 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.5, double noundef %90)
  %92 = getelementptr inbounds i8, ptr %8, i64 40
  %93 = load double, ptr %92, align 8, !tbaa !11
  %94 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.5, double noundef %93)
  %95 = getelementptr inbounds i8, ptr %8, i64 48
  %96 = load double, ptr %95, align 16, !tbaa !11
  %97 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.5, double noundef %96)
  %98 = getelementptr inbounds i8, ptr %8, i64 56
  %99 = load double, ptr %98, align 8, !tbaa !11
  %100 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.5, double noundef %99)
  %101 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.6)
  %102 = load i32, ptr %6, align 16, !tbaa !5
  %103 = load double, ptr %7, align 16, !tbaa !11
  %104 = call double @BipartiteNodematchAlphaA(ptr noundef %77, i32 noundef %102, double noundef %103)
  %105 = load double, ptr %8, align 16, !tbaa !11
  %106 = fsub double %104, %105
  %107 = call double @llvm.fabs.f64(double %106)
  %108 = fcmp ugt double %107, 0x3CB0000000000000
  br i1 %108, label %109, label %110

109:                                              ; preds = %55
  call void @__assert_fail(ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.8, i32 noundef 511, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #12
  unreachable

110:                                              ; preds = %55
  %111 = getelementptr inbounds i8, ptr %7, i64 8
  %112 = getelementptr inbounds i8, ptr %6, i64 4
  %113 = load i32, ptr %112, align 4, !tbaa !5
  %114 = load double, ptr %111, align 8, !tbaa !11
  %115 = call double @BipartiteNodematchBetaA(ptr noundef %77, i32 noundef %113, double noundef %114)
  %116 = load double, ptr %80, align 8, !tbaa !11
  %117 = fsub double %115, %116
  %118 = call double @llvm.fabs.f64(double %117)
  %119 = fcmp ugt double %118, 1.000000e-08
  br i1 %119, label %120, label %121

120:                                              ; preds = %110
  call void @__assert_fail(ptr noundef nonnull @.str.9, ptr noundef nonnull @.str.8, i32 noundef 514, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #12
  unreachable

121:                                              ; preds = %110
  %122 = load i32, ptr %58, align 8, !tbaa !5
  %123 = load double, ptr %59, align 16, !tbaa !11
  %124 = call double @BipartiteNodematchAlphaB(ptr noundef %77, i32 noundef %122, double noundef %123)
  %125 = load double, ptr %83, align 16, !tbaa !11
  %126 = fsub double %124, %125
  %127 = call double @llvm.fabs.f64(double %126)
  %128 = fcmp ugt double %127, 0x3CB0000000000000
  br i1 %128, label %129, label %130

129:                                              ; preds = %121
  call void @__assert_fail(ptr noundef nonnull @.str.10, ptr noundef nonnull @.str.8, i32 noundef 517, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #12
  unreachable

130:                                              ; preds = %121
  %131 = load i32, ptr %61, align 4, !tbaa !5
  %132 = load double, ptr %62, align 8, !tbaa !11
  %133 = call double @BipartiteNodematchBetaB(ptr noundef %77, i32 noundef %131, double noundef %132)
  %134 = load double, ptr %86, align 8, !tbaa !11
  %135 = fsub double %133, %134
  %136 = call double @llvm.fabs.f64(double %135)
  %137 = fcmp ugt double %136, 1.000000e-08
  br i1 %137, label %138, label %139

138:                                              ; preds = %130
  call void @__assert_fail(ptr noundef nonnull @.str.11, ptr noundef nonnull @.str.8, i32 noundef 520, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #12
  unreachable

139:                                              ; preds = %130
  %140 = load i32, ptr %66, align 16, !tbaa !5
  %141 = load double, ptr %67, align 16, !tbaa !11
  %142 = call double @BipartiteNodematchAlphaA(ptr noundef %77, i32 noundef %140, double noundef %141)
  %143 = load double, ptr %89, align 16, !tbaa !11
  %144 = fsub double %142, %143
  %145 = call double @llvm.fabs.f64(double %144)
  %146 = fcmp ugt double %145, 1.000000e-08
  br i1 %146, label %147, label %148

147:                                              ; preds = %139
  call void @__assert_fail(ptr noundef nonnull @.str.12, ptr noundef nonnull @.str.8, i32 noundef 523, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #12
  unreachable

148:                                              ; preds = %139
  %149 = load i32, ptr %69, align 4, !tbaa !5
  %150 = load double, ptr %70, align 8, !tbaa !11
  %151 = call double @BipartiteNodematchBetaA(ptr noundef %77, i32 noundef %149, double noundef %150)
  %152 = load double, ptr %92, align 8, !tbaa !11
  %153 = fsub double %151, %152
  %154 = call double @llvm.fabs.f64(double %153)
  %155 = fcmp ugt double %154, 1.000000e-08
  br i1 %155, label %156, label %157

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

157:                                              ; preds = %148
  %158 = load i32, ptr %72, align 8, !tbaa !5
  %159 = load double, ptr %73, align 16, !tbaa !11
  %160 = call double @BipartiteNodematchAlphaB(ptr noundef %77, i32 noundef %158, double noundef %159)
  %161 = load double, ptr %95, align 16, !tbaa !11
  %162 = fsub double %160, %161
  %163 = call double @llvm.fabs.f64(double %162)
  %164 = fcmp ugt double %163, 1.000000e-08
  br i1 %164, label %165, label %166

165:                                              ; preds = %157
  call void @__assert_fail(ptr noundef nonnull @.str.14, ptr noundef nonnull @.str.8, i32 noundef 529, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #12
  unreachable

166:                                              ; preds = %157
  %167 = load i32, ptr %75, align 4, !tbaa !5
  %168 = load double, ptr %76, align 8, !tbaa !11
  %169 = call double @BipartiteNodematchBetaB(ptr noundef %77, i32 noundef %167, double noundef %168)
  %170 = load double, ptr %98, align 8, !tbaa !11
  %171 = fsub double %169, %170
  %172 = call double @llvm.fabs.f64(double %171)
  %173 = fcmp ugt double %172, 1.000000e-08
  br i1 %173, label %174, label %175

174:                                              ; preds = %166
  call void @__assert_fail(ptr noundef nonnull @.str.15, ptr noundef nonnull @.str.8, i32 noundef 532, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #12
  unreachable

175:                                              ; preds = %166
  call void @free_graph(ptr noundef %77) #10
  call void @exit(i32 noundef 0) #12
  unreachable

176:                                              ; preds = %49, %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: nofree nounwind
declare noundef i32 @fprintf(ptr nocapture noundef, ptr nocapture noundef readonly, ...) local_unnamed_addr #3

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

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

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

; 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 #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 i32 @load_attributes(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #7

declare double @changeBipartiteNodematchAlphaA(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, double noundef) #7

declare double @changeBipartiteNodematchBetaA(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, double noundef) #7

declare double @changeBipartiteNodematchAlphaB(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, double noundef) #7

declare double @changeBipartiteNodematchBetaB(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, double noundef) #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 @printf(ptr nocapture noundef readonly, ...) local_unnamed_addr #3

; Function Attrs: nounwind uwtable
declare hidden double @BipartiteNodematchAlphaA(ptr noundef, i32 noundef, double noundef) local_unnamed_addr #0

; 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 #4

; Function Attrs: nounwind uwtable
declare hidden double @BipartiteNodematchBetaA(ptr noundef, i32 noundef, double noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare hidden double @BipartiteNodematchAlphaB(ptr noundef, i32 noundef, double noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare hidden double @BipartiteNodematchBetaB(ptr noundef, i32 noundef, double noundef) local_unnamed_addr #0

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

; 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 = { 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 #4 = { 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 #5 = { 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 #6 = { 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 #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 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #10 = { nounwind }
attributes #11 = { cold nounwind }
attributes #12 = { noreturn nounwind }
attributes #13 = { nounwind willreturn memory(none) }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"double", !7, i64 0}


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