; LLVM IR from stivalaa/EstimNetDirected :: src (loadGraph)

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%struct.graph_s = type { i32, i32, i32, i32, ptr, ptr, ptr, ptr, ptr, i32, ptr, ptr, ptr, i32, i32, i32, ptr, ptr, i32, ptr, ptr, i32, ptr, ptr, i32, ptr, ptr, ptr, i32, i32, i32, i32, i32, ptr, i32, i32, ptr, ptr, i32, ptr, i32, ptr, ptr, i32, i32, ptr, i32, ptr }

@.str = external hidden unnamed_addr constant [5 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [17 x i8], align 1
@stderr = external global ptr, align 8
@.str.4 = external hidden unnamed_addr constant [57 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [53 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [73 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [43 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [56 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [43 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [81 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [37 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local ptr @load_graph_from_arclist_file(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10, ptr noundef %11, ptr noundef %12, ptr noundef %13, ptr noundef %14, ptr noundef %15, ptr noundef %16) #0 {
  %18 = alloca ptr, align 8
  %19 = alloca ptr, align 8
  %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 ptr, align 8
  %26 = alloca ptr, align 8
  %27 = alloca ptr, align 8
  %28 = alloca ptr, align 8
  %29 = alloca ptr, align 8
  %30 = alloca ptr, align 8
  %31 = alloca ptr, align 8
  %32 = alloca ptr, align 8
  %33 = alloca ptr, align 8
  %34 = alloca ptr, align 8
  %35 = alloca i32, align 4
  %36 = alloca i32, align 4
  %37 = alloca ptr, align 8
  %38 = alloca ptr, align 8
  %39 = alloca ptr, align 8
  %40 = alloca ptr, align 8
  %41 = alloca i32, align 4
  %42 = alloca i32, align 4
  %43 = alloca i32, align 4
  %44 = alloca ptr, align 8
  %45 = alloca ptr, align 8
  %46 = alloca ptr, align 8
  %47 = alloca ptr, align 8
  %48 = alloca ptr, align 8
  %49 = alloca i32, align 4
  %50 = alloca i32, align 4
  %51 = alloca i32, align 4
  store ptr %0, ptr %18, align 8, !tbaa !5
  store ptr %1, ptr %19, align 8, !tbaa !5
  store i32 %2, ptr %20, align 4, !tbaa !9
  store i32 %3, ptr %21, align 4, !tbaa !9
  store i32 %4, ptr %22, align 4, !tbaa !9
  store i32 %5, ptr %23, align 4, !tbaa !9
  store i32 %6, ptr %24, align 4, !tbaa !9
  store ptr %7, ptr %25, align 8, !tbaa !5
  store ptr %8, ptr %26, align 8, !tbaa !5
  store ptr %9, ptr %27, align 8, !tbaa !5
  store ptr %10, ptr %28, align 8, !tbaa !5
  store ptr %11, ptr %29, align 8, !tbaa !5
  store ptr %12, ptr %30, align 8, !tbaa !5
  store ptr %13, ptr %31, align 8, !tbaa !5
  store ptr %14, ptr %32, align 8, !tbaa !5
  store ptr %15, ptr %33, align 8, !tbaa !5
  store ptr %16, ptr %34, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %35) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %36) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %37) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %38) #8
  store ptr null, ptr %38, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %39) #8
  store ptr null, ptr %39, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %40) #8
  store ptr @.str, ptr %40, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %41) #8
  store i32 0, ptr %41, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %42) #8
  store i32 0, ptr %42, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %43) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %44) #8
  store ptr null, ptr %44, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %45) #8
  store ptr @.str.1, ptr %45, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %46) #8
  store ptr @.str.2, ptr %46, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %47) #8
  %52 = load ptr, ptr %19, align 8, !tbaa !5
  %53 = getelementptr inbounds %struct.graph_s, ptr %52, i32 0, i32 1
  %54 = load i32, ptr %53, align 4, !tbaa !11
  %55 = icmp ne i32 %54, 0
  br i1 %55, label %56, label %58

56:                                               ; preds = %17
  %57 = load ptr, ptr %45, align 8, !tbaa !5
  br label %60

58:                                               ; preds = %17
  %59 = load ptr, ptr %46, align 8, !tbaa !5
  br label %60

60:                                               ; preds = %58, %56
  %61 = phi ptr [ %57, %56 ], [ %59, %58 ]
  store ptr %61, ptr %47, align 8, !tbaa !5
  %62 = call ptr @llvm.stacksave.p0()
  store ptr %62, ptr %48, align 8
  %63 = alloca i8, i64 16384, align 16
  %64 = load ptr, ptr %18, align 8, !tbaa !5
  %65 = call ptr @fgets(ptr noundef %63, i32 noundef 16383, ptr noundef %64)
  store ptr %63, ptr %37, align 8, !tbaa !5
  br label %66

66:                                               ; preds = %84, %60
  %67 = load ptr, ptr %37, align 8, !tbaa !5
  %68 = load i8, ptr %67, align 1, !tbaa !13
  %69 = sext i8 %68 to i32
  %70 = icmp ne i32 %69, 0
  br i1 %70, label %71, label %87

71:                                               ; preds = %66
  call void @llvm.lifetime.start.p0(i64 4, ptr %49) #8
  %72 = call ptr @__ctype_tolower_loc() #9
  %73 = load ptr, ptr %72, align 8, !tbaa !5
  %74 = load ptr, ptr %37, align 8, !tbaa !5
  %75 = load i8, ptr %74, align 1, !tbaa !13
  %76 = sext i8 %75 to i32
  %77 = sext i32 %76 to i64
  %78 = getelementptr inbounds i32, ptr %73, i64 %77
  %79 = load i32, ptr %78, align 4, !tbaa !9
  store i32 %79, ptr %49, align 4, !tbaa !9
  %80 = load i32, ptr %49, align 4, !tbaa !9
  store i32 %80, ptr %50, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 4, ptr %49) #8
  %81 = load i32, ptr %50, align 4, !tbaa !9
  %82 = trunc i32 %81 to i8
  %83 = load ptr, ptr %37, align 8, !tbaa !5
  store i8 %82, ptr %83, align 1, !tbaa !13
  br label %84

84:                                               ; preds = %71
  %85 = load ptr, ptr %37, align 8, !tbaa !5
  %86 = getelementptr inbounds i8, ptr %85, i32 1
  store ptr %86, ptr %37, align 8, !tbaa !5
  br label %66, !llvm.loop !14

87:                                               ; preds = %66
  %88 = load ptr, ptr %19, align 8, !tbaa !5
  %89 = getelementptr inbounds %struct.graph_s, ptr %88, i32 0, i32 2
  %90 = load i32, ptr %89, align 8, !tbaa !16
  %91 = icmp ne i32 %90, 0
  br i1 %91, label %92, label %99

92:                                               ; preds = %87
  %93 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef %63, ptr noundef @.str.3, ptr noundef %41, ptr noundef %42) #8
  %94 = icmp ne i32 %93, 2
  br i1 %94, label %95, label %98

95:                                               ; preds = %92
  %96 = load ptr, ptr @stderr, align 8, !tbaa !5
  %97 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %96, ptr noundef @.str.4) #8
  call void @exit(i32 noundef 1) #10
  unreachable

98:                                               ; preds = %92
  br label %106

99:                                               ; preds = %87
  %100 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef %63, ptr noundef @.str.5, ptr noundef %41) #8
  %101 = icmp ne i32 %100, 1
  br i1 %101, label %102, label %105

102:                                              ; preds = %99
  %103 = load ptr, ptr @stderr, align 8, !tbaa !5
  %104 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %103, ptr noundef @.str.6) #8
  call void @exit(i32 noundef 1) #10
  unreachable

105:                                              ; preds = %99
  br label %106

106:                                              ; preds = %105, %98
  %107 = load i32, ptr %41, align 4, !tbaa !9
  %108 = load ptr, ptr %19, align 8, !tbaa !5
  %109 = getelementptr inbounds %struct.graph_s, ptr %108, i32 0, i32 0
  %110 = load i32, ptr %109, align 8, !tbaa !17
  %111 = icmp ne i32 %107, %110
  br i1 %111, label %112, label %119

112:                                              ; preds = %106
  %113 = load ptr, ptr @stderr, align 8, !tbaa !5
  %114 = load ptr, ptr %19, align 8, !tbaa !5
  %115 = getelementptr inbounds %struct.graph_s, ptr %114, i32 0, i32 0
  %116 = load i32, ptr %115, align 8, !tbaa !17
  %117 = load i32, ptr %41, align 4, !tbaa !9
  %118 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %113, ptr noundef @.str.7, i32 noundef %116, i32 noundef %117) #8
  call void @exit(i32 noundef 1) #10
  unreachable

119:                                              ; preds = %106
  %120 = load ptr, ptr %19, align 8, !tbaa !5
  %121 = getelementptr inbounds %struct.graph_s, ptr %120, i32 0, i32 2
  %122 = load i32, ptr %121, align 8, !tbaa !16
  %123 = icmp ne i32 %122, 0
  br i1 %123, label %124, label %137

124:                                              ; preds = %119
  %125 = load i32, ptr %42, align 4, !tbaa !9
  %126 = load ptr, ptr %19, align 8, !tbaa !5
  %127 = getelementptr inbounds %struct.graph_s, ptr %126, i32 0, i32 13
  %128 = load i32, ptr %127, align 8, !tbaa !18
  %129 = icmp ne i32 %125, %128
  br i1 %129, label %130, label %137

130:                                              ; preds = %124
  %131 = load ptr, ptr @stderr, align 8, !tbaa !5
  %132 = load ptr, ptr %19, align 8, !tbaa !5
  %133 = getelementptr inbounds %struct.graph_s, ptr %132, i32 0, i32 13
  %134 = load i32, ptr %133, align 8, !tbaa !18
  %135 = load i32, ptr %42, align 4, !tbaa !9
  %136 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %131, ptr noundef @.str.8, i32 noundef %134, i32 noundef %135) #8
  call void @exit(i32 noundef 1) #10
  unreachable

137:                                              ; preds = %124, %119
  br label %138

138:                                              ; preds = %150, %137
  %139 = load ptr, ptr %18, align 8, !tbaa !5
  %140 = call ptr @fgets(ptr noundef %63, i32 noundef 16383, ptr noundef %139)
  %141 = call ptr @rstrip(ptr noundef %63)
  br label %142

142:                                              ; preds = %138
  %143 = load ptr, ptr %18, align 8, !tbaa !5
  %144 = call i32 @feof(ptr noundef %143) #8
  %145 = icmp ne i32 %144, 0
  br i1 %145, label %150, label %146

146:                                              ; preds = %142
  %147 = load ptr, ptr %47, align 8, !tbaa !5
  %148 = call i32 @strcasecmp(ptr noundef %63, ptr noundef %147) #11
  %149 = icmp ne i32 %148, 0
  br label %150

150:                                              ; preds = %146, %142
  %151 = phi i1 [ false, %142 ], [ %149, %146 ]
  br i1 %151, label %138, label %152, !llvm.loop !19

152:                                              ; preds = %150
  %153 = load ptr, ptr %18, align 8, !tbaa !5
  %154 = call i32 @feof(ptr noundef %153) #8
  %155 = icmp ne i32 %154, 0
  br i1 %155, label %156, label %160

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

160:                                              ; preds = %152
  %161 = load ptr, ptr %18, align 8, !tbaa !5
  %162 = call ptr @fgets(ptr noundef %63, i32 noundef 16383, ptr noundef %161)
  %163 = icmp ne ptr %162, null
  br i1 %163, label %172, label %164

164:                                              ; preds = %160
  %165 = load ptr, ptr @stderr, align 8, !tbaa !5
  %166 = call ptr @__errno_location() #9
  %167 = load i32, ptr %166, align 4, !tbaa !9
  %168 = call ptr @strerror(i32 noundef %167) #8
  %169 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %165, ptr noundef @.str.10, ptr noundef %168) #8
  %170 = load ptr, ptr %18, align 8, !tbaa !5
  %171 = call i32 @fclose(ptr noundef %170)
  call void @exit(i32 noundef 1) #10
  unreachable

172:                                              ; preds = %160
  %173 = load i32, ptr %20, align 4, !tbaa !9
  %174 = icmp ne i32 %173, 0
  br i1 %174, label %175, label %180

175:                                              ; preds = %172
  %176 = load i32, ptr %21, align 4, !tbaa !9
  %177 = zext i32 %176 to i64
  %178 = mul i64 %177, 8
  %179 = call ptr @safe_malloc(i64 noundef %178)
  store ptr %179, ptr %44, align 8, !tbaa !5
  br label %180

180:                                              ; preds = %175, %172
  br label %181

181:                                              ; preds = %377, %180
  %182 = load ptr, ptr %18, align 8, !tbaa !5
  %183 = call i32 @feof(ptr noundef %182) #8
  %184 = icmp ne i32 %183, 0
  %185 = xor i1 %184, true
  br i1 %185, label %186, label %378

186:                                              ; preds = %181
  store i32 0, ptr %36, align 4, !tbaa !9
  store i32 0, ptr %35, align 4, !tbaa !9
  %187 = load ptr, ptr %40, align 8, !tbaa !5
  %188 = call ptr @strtok_r(ptr noundef %63, ptr noundef %187, ptr noundef %38) #8
  store ptr %188, ptr %39, align 8, !tbaa !5
  %189 = load ptr, ptr %39, align 8, !tbaa !5
  %190 = icmp ne ptr %189, null
  br i1 %190, label %192, label %191

191:                                              ; preds = %186
  br label %378

192:                                              ; preds = %186
  %193 = load ptr, ptr %39, align 8, !tbaa !5
  %194 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef %193, ptr noundef @.str.11, ptr noundef %35) #8
  %195 = icmp ne i32 %194, 1
  br i1 %195, label %196, label %206

196:                                              ; preds = %192
  %197 = load ptr, ptr @stderr, align 8, !tbaa !5
  %198 = load ptr, ptr %39, align 8, !tbaa !5
  %199 = icmp ne ptr %198, null
  br i1 %199, label %200, label %202

200:                                              ; preds = %196
  %201 = load ptr, ptr %39, align 8, !tbaa !5
  br label %203

202:                                              ; preds = %196
  br label %203

203:                                              ; preds = %202, %200
  %204 = phi ptr [ %201, %200 ], [ @.str.13, %202 ]
  %205 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %197, ptr noundef @.str.12, ptr noundef %204) #8
  call void @exit(i32 noundef 1) #10
  unreachable

206:                                              ; preds = %192
  %207 = load ptr, ptr %40, align 8, !tbaa !5
  %208 = call ptr @strtok_r(ptr noundef null, ptr noundef %207, ptr noundef %38) #8
  store ptr %208, ptr %39, align 8, !tbaa !5
  %209 = load ptr, ptr %39, align 8, !tbaa !5
  %210 = icmp ne ptr %209, null
  br i1 %210, label %211, label %215

211:                                              ; preds = %206
  %212 = load ptr, ptr %39, align 8, !tbaa !5
  %213 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef %212, ptr noundef @.str.11, ptr noundef %36) #8
  %214 = icmp ne i32 %213, 1
  br i1 %214, label %215, label %225

215:                                              ; preds = %211, %206
  %216 = load ptr, ptr @stderr, align 8, !tbaa !5
  %217 = load ptr, ptr %39, align 8, !tbaa !5
  %218 = icmp ne ptr %217, null
  br i1 %218, label %219, label %221

219:                                              ; preds = %215
  %220 = load ptr, ptr %39, align 8, !tbaa !5
  br label %222

221:                                              ; preds = %215
  br label %222

222:                                              ; preds = %221, %219
  %223 = phi ptr [ %220, %219 ], [ @.str.13, %221 ]
  %224 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %216, ptr noundef @.str.14, ptr noundef %223) #8
  call void @exit(i32 noundef 1) #10
  unreachable

225:                                              ; preds = %211
  %226 = load ptr, ptr %40, align 8, !tbaa !5
  %227 = call ptr @strtok_r(ptr noundef null, ptr noundef %226, ptr noundef %38) #8
  store ptr %227, ptr %39, align 8, !tbaa !5
  %228 = load ptr, ptr %39, align 8, !tbaa !5
  %229 = icmp ne ptr %228, null
  br i1 %229, label %230, label %235

230:                                              ; preds = %225
  %231 = load ptr, ptr %39, align 8, !tbaa !5
  %232 = load i32, ptr %35, align 4, !tbaa !9
  %233 = load i32, ptr %36, align 4, !tbaa !9
  %234 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, ptr noundef %231, i32 noundef %232, i32 noundef %233)
  br label %235

235:                                              ; preds = %230, %225
  %236 = load i32, ptr %35, align 4, !tbaa !9
  %237 = icmp slt i32 %236, 1
  br i1 %237, label %241, label %238

238:                                              ; preds = %235
  %239 = load i32, ptr %36, align 4, !tbaa !9
  %240 = icmp slt i32 %239, 1
  br i1 %240, label %241, label %246

241:                                              ; preds = %238, %235
  %242 = load ptr, ptr @stderr, align 8, !tbaa !5
  %243 = load i32, ptr %35, align 4, !tbaa !9
  %244 = load i32, ptr %36, align 4, !tbaa !9
  %245 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %242, ptr noundef @.str.16, i32 noundef %243, i32 noundef %244) #8
  call void @exit(i32 noundef 1) #10
  unreachable

246:                                              ; preds = %238
  %247 = load i32, ptr %35, align 4, !tbaa !9
  %248 = load i32, ptr %41, align 4, !tbaa !9
  %249 = icmp sgt i32 %247, %248
  br i1 %249, label %254, label %250

250:                                              ; preds = %246
  %251 = load i32, ptr %36, align 4, !tbaa !9
  %252 = load i32, ptr %41, align 4, !tbaa !9
  %253 = icmp sgt i32 %251, %252
  br i1 %253, label %254, label %260

254:                                              ; preds = %250, %246
  %255 = load ptr, ptr @stderr, align 8, !tbaa !5
  %256 = load i32, ptr %41, align 4, !tbaa !9
  %257 = load i32, ptr %35, align 4, !tbaa !9
  %258 = load i32, ptr %36, align 4, !tbaa !9
  %259 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %255, ptr noundef @.str.17, i32 noundef %256, i32 noundef %257, i32 noundef %258) #8
  call void @exit(i32 noundef 1) #10
  unreachable

260:                                              ; preds = %250
  %261 = load i32, ptr %35, align 4, !tbaa !9
  %262 = add nsw i32 %261, -1
  store i32 %262, ptr %35, align 4, !tbaa !9
  %263 = load i32, ptr %36, align 4, !tbaa !9
  %264 = add nsw i32 %263, -1
  store i32 %264, ptr %36, align 4, !tbaa !9
  %265 = load ptr, ptr %19, align 8, !tbaa !5
  %266 = getelementptr inbounds %struct.graph_s, ptr %265, i32 0, i32 2
  %267 = load i32, ptr %266, align 8, !tbaa !16
  %268 = icmp ne i32 %267, 0
  br i1 %268, label %269, label %291

269:                                              ; preds = %260
  %270 = load ptr, ptr %19, align 8, !tbaa !5
  %271 = load i32, ptr %35, align 4, !tbaa !9
  %272 = call i32 @bipartite_node_mode(ptr noundef %270, i32 noundef %271)
  %273 = load ptr, ptr %19, align 8, !tbaa !5
  %274 = load i32, ptr %36, align 4, !tbaa !9
  %275 = call i32 @bipartite_node_mode(ptr noundef %273, i32 noundef %274)
  %276 = icmp eq i32 %272, %275
  br i1 %276, label %277, label %282

277:                                              ; preds = %269
  %278 = load ptr, ptr @stderr, align 8, !tbaa !5
  %279 = load i32, ptr %35, align 4, !tbaa !9
  %280 = load i32, ptr %36, align 4, !tbaa !9
  %281 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %278, ptr noundef @.str.18, i32 noundef %279, i32 noundef %280) #8
  br label %282

282:                                              ; preds = %277, %269
  %283 = load i32, ptr %35, align 4, !tbaa !9
  %284 = load i32, ptr %36, align 4, !tbaa !9
  %285 = icmp sgt i32 %283, %284
  br i1 %285, label %286, label %290

286:                                              ; preds = %282
  call void @llvm.lifetime.start.p0(i64 4, ptr %51) #8
  %287 = load i32, ptr %35, align 4, !tbaa !9
  store i32 %287, ptr %51, align 4, !tbaa !9
  %288 = load i32, ptr %36, align 4, !tbaa !9
  store i32 %288, ptr %35, align 4, !tbaa !9
  %289 = load i32, ptr %51, align 4, !tbaa !9
  store i32 %289, ptr %36, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 4, ptr %51) #8
  br label %290

290:                                              ; preds = %286, %282
  br label %291

291:                                              ; preds = %290, %260
  %292 = load i32, ptr %20, align 4, !tbaa !9
  %293 = icmp ne i32 %292, 0
  br i1 %293, label %294, label %333

294:                                              ; preds = %291
  %295 = load ptr, ptr %19, align 8, !tbaa !5
  %296 = load i32, ptr %35, align 4, !tbaa !9
  %297 = load i32, ptr %36, align 4, !tbaa !9
  %298 = load i32, ptr %21, align 4, !tbaa !9
  %299 = load i32, ptr %22, align 4, !tbaa !9
  %300 = load i32, ptr %23, align 4, !tbaa !9
  %301 = load i32, ptr %24, align 4, !tbaa !9
  %302 = load ptr, ptr %25, align 8, !tbaa !5
  %303 = load ptr, ptr %26, align 8, !tbaa !5
  %304 = load ptr, ptr %27, align 8, !tbaa !5
  %305 = load ptr, ptr %28, align 8, !tbaa !5
  %306 = load ptr, ptr %29, align 8, !tbaa !5
  %307 = load ptr, ptr %30, align 8, !tbaa !5
  %308 = load ptr, ptr %31, align 8, !tbaa !5
  %309 = load ptr, ptr %32, align 8, !tbaa !5
  %310 = load ptr, ptr %34, align 8, !tbaa !5
  %311 = load ptr, ptr %44, align 8, !tbaa !5
  %312 = call double @calcChangeStats(ptr noundef %295, i32 noundef %296, i32 noundef %297, i32 noundef %298, i32 noundef %299, i32 noundef %300, i32 noundef %301, ptr noundef %302, ptr noundef %303, ptr noundef %304, ptr noundef %305, ptr noundef %306, ptr noundef %307, ptr noundef %308, ptr noundef %309, ptr noundef %310, i32 noundef 0, ptr noundef %311)
  store i32 0, ptr %43, align 4, !tbaa !9
  br label %313

313:                                              ; preds = %329, %294
  %314 = load i32, ptr %43, align 4, !tbaa !9
  %315 = load i32, ptr %21, align 4, !tbaa !9
  %316 = icmp ult i32 %314, %315
  br i1 %316, label %317, label %332

317:                                              ; preds = %313
  %318 = load ptr, ptr %44, align 8, !tbaa !5
  %319 = load i32, ptr %43, align 4, !tbaa !9
  %320 = zext i32 %319 to i64
  %321 = getelementptr inbounds double, ptr %318, i64 %320
  %322 = load double, ptr %321, align 8, !tbaa !20
  %323 = load ptr, ptr %33, align 8, !tbaa !5
  %324 = load i32, ptr %43, align 4, !tbaa !9
  %325 = zext i32 %324 to i64
  %326 = getelementptr inbounds double, ptr %323, i64 %325
  %327 = load double, ptr %326, align 8, !tbaa !20
  %328 = fadd double %327, %322
  store double %328, ptr %326, align 8, !tbaa !20
  br label %329

329:                                              ; preds = %317
  %330 = load i32, ptr %43, align 4, !tbaa !9
  %331 = add i32 %330, 1
  store i32 %331, ptr %43, align 4, !tbaa !9
  br label %313, !llvm.loop !22

332:                                              ; preds = %313
  br label %333

333:                                              ; preds = %332, %291
  %334 = load ptr, ptr %19, align 8, !tbaa !5
  %335 = getelementptr inbounds %struct.graph_s, ptr %334, i32 0, i32 1
  %336 = load i32, ptr %335, align 4, !tbaa !11
  %337 = icmp ne i32 %336, 0
  br i1 %337, label %338, label %349

338:                                              ; preds = %333
  %339 = load ptr, ptr %19, align 8, !tbaa !5
  %340 = load i32, ptr %35, align 4, !tbaa !9
  %341 = load i32, ptr %36, align 4, !tbaa !9
  %342 = call i32 @isArc(ptr noundef %339, i32 noundef %340, i32 noundef %341)
  %343 = icmp ne i32 %342, 0
  br i1 %343, label %348, label %344

344:                                              ; preds = %338
  %345 = load ptr, ptr %19, align 8, !tbaa !5
  %346 = load i32, ptr %35, align 4, !tbaa !9
  %347 = load i32, ptr %36, align 4, !tbaa !9
  call void @insertArc_allarcs(ptr noundef %345, i32 noundef %346, i32 noundef %347)
  br label %348

348:                                              ; preds = %344, %338
  br label %360

349:                                              ; preds = %333
  %350 = load ptr, ptr %19, align 8, !tbaa !5
  %351 = load i32, ptr %35, align 4, !tbaa !9
  %352 = load i32, ptr %36, align 4, !tbaa !9
  %353 = call i32 @isEdge(ptr noundef %350, i32 noundef %351, i32 noundef %352)
  %354 = icmp ne i32 %353, 0
  br i1 %354, label %359, label %355

355:                                              ; preds = %349
  %356 = load ptr, ptr %19, align 8, !tbaa !5
  %357 = load i32, ptr %35, align 4, !tbaa !9
  %358 = load i32, ptr %36, align 4, !tbaa !9
  call void @insertEdge_alledges(ptr noundef %356, i32 noundef %357, i32 noundef %358)
  br label %359

359:                                              ; preds = %355, %349
  br label %360

360:                                              ; preds = %359, %348
  store ptr null, ptr %38, align 8, !tbaa !5
  %361 = load ptr, ptr %18, align 8, !tbaa !5
  %362 = call ptr @fgets(ptr noundef %63, i32 noundef 16383, ptr noundef %361)
  %363 = icmp ne ptr %362, null
  br i1 %363, label %377, label %364

364:                                              ; preds = %360
  %365 = load ptr, ptr %18, align 8, !tbaa !5
  %366 = call i32 @feof(ptr noundef %365) #8
  %367 = icmp ne i32 %366, 0
  br i1 %367, label %376, label %368

368:                                              ; preds = %364
  %369 = load ptr, ptr @stderr, align 8, !tbaa !5
  %370 = call ptr @__errno_location() #9
  %371 = load i32, ptr %370, align 4, !tbaa !9
  %372 = call ptr @strerror(i32 noundef %371) #8
  %373 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %369, ptr noundef @.str.19, ptr noundef %372) #8
  %374 = load ptr, ptr %18, align 8, !tbaa !5
  %375 = call i32 @fclose(ptr noundef %374)
  call void @exit(i32 noundef 1) #10
  unreachable

376:                                              ; preds = %364
  br label %377

377:                                              ; preds = %376, %360
  br label %181, !llvm.loop !23

378:                                              ; preds = %191, %181
  %379 = load ptr, ptr %18, align 8, !tbaa !5
  %380 = call i32 @fclose(ptr noundef %379)
  %381 = load ptr, ptr %44, align 8, !tbaa !5
  call void @free(ptr noundef %381) #8
  %382 = load ptr, ptr %19, align 8, !tbaa !5
  %383 = load ptr, ptr %48, align 8
  call void @llvm.stackrestore.p0(ptr %383)
  call void @llvm.lifetime.end.p0(i64 8, ptr %47) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %46) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %45) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %44) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %43) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %42) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %41) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %40) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %39) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %36) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %35) #8
  ret ptr %382
}

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

; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave.p0() #2

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

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

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

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

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

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

declare ptr @rstrip(ptr noundef) #3

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

; Function Attrs: nounwind willreturn memory(read)
declare i32 @strcasecmp(ptr noundef, ptr noundef) #7

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

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

declare i32 @fclose(ptr noundef) #3

declare ptr @safe_malloc(i64 noundef) #3

; Function Attrs: nounwind
declare ptr @strtok_r(ptr noundef, ptr noundef, ptr noundef) #5

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

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

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

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

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

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

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

; Function Attrs: nounwind
declare void @free(ptr noundef) #5

; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore.p0(ptr) #2

attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nocallback nofree nosync nounwind willreturn }
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 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { 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 willreturn memory(read) "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 = { nounwind }
attributes #9 = { nounwind willreturn memory(none) }
attributes #10 = { noreturn nounwind }
attributes #11 = { nounwind willreturn memory(read) }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !10, i64 4}
!12 = !{!"graph_s", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !10, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !10, i64 88, !10, i64 92, !10, i64 96, !6, i64 104, !6, i64 112, !10, i64 120, !6, i64 128, !6, i64 136, !10, i64 144, !6, i64 152, !6, i64 160, !10, i64 168, !6, i64 176, !6, i64 184, !6, i64 192, !10, i64 200, !10, i64 204, !10, i64 208, !10, i64 212, !10, i64 216, !6, i64 224, !10, i64 232, !10, i64 236, !6, i64 240, !6, i64 248, !10, i64 256, !6, i64 264, !10, i64 272, !6, i64 280, !6, i64 288, !10, i64 296, !10, i64 300, !6, i64 304, !10, i64 312, !6, i64 320}
!13 = !{!7, !7, i64 0}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
!16 = !{!12, !10, i64 8}
!17 = !{!12, !10, i64 0}
!18 = !{!12, !10, i64 88}
!19 = distinct !{!19, !15}
!20 = !{!21, !21, i64 0}
!21 = !{!"double", !7, i64 0}
!22 = distinct !{!22, !15}
!23 = distinct !{!23, !15}


; 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 [5 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [17 x i8], align 1
@stderr = external local_unnamed_addr global ptr, align 8
@.str.4 = external hidden unnamed_addr constant [57 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [53 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [73 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [43 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [56 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [43 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [81 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [37 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local noundef ptr @load_graph_from_arclist_file(ptr nocapture noundef %0, ptr noundef returned %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10, ptr noundef %11, ptr noundef %12, ptr noundef %13, ptr noundef %14, ptr nocapture noundef %15, ptr noundef %16) local_unnamed_addr #0 {
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca ptr, align 8
  %21 = alloca i32, align 4
  %22 = alloca i32, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %18) #11
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %19) #11
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %20) #11
  store ptr null, ptr %20, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %21) #11
  store i32 0, ptr %21, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %22) #11
  store i32 0, ptr %22, align 4, !tbaa !9
  %23 = getelementptr inbounds i8, ptr %1, i64 4
  %24 = load i32, ptr %23, align 4, !tbaa !11
  %.not = icmp eq i32 %24, 0
  %25 = select i1 %.not, ptr @.str.2, ptr @.str.1
  %26 = tail call ptr @llvm.stacksave.p0()
  %27 = alloca [16384 x i8], align 16
  %28 = call ptr @fgets(ptr noundef nonnull %27, i32 noundef 16383, ptr noundef %0)
  %29 = load i8, ptr %27, align 16, !tbaa !13
  %.not93130 = icmp eq i8 %29, 0
  br i1 %.not93130, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %17
  %30 = tail call ptr @__ctype_tolower_loc() #12
  br label %31

31:                                               ; preds = %.lr.ph, %31
  %32 = phi i8 [ %29, %.lr.ph ], [ %39, %31 ]
  %.0131 = phi ptr [ %27, %.lr.ph ], [ %38, %31 ]
  %33 = load ptr, ptr %30, align 8, !tbaa !5
  %34 = sext i8 %32 to i64
  %35 = getelementptr inbounds i32, ptr %33, i64 %34
  %36 = load i32, ptr %35, align 4, !tbaa !9
  %37 = trunc i32 %36 to i8
  store i8 %37, ptr %.0131, align 1, !tbaa !13
  %38 = getelementptr inbounds i8, ptr %.0131, i64 1
  %39 = load i8, ptr %38, align 1, !tbaa !13
  %.not93 = icmp eq i8 %39, 0
  br i1 %.not93, label %._crit_edge, label %31, !llvm.loop !14

._crit_edge:                                      ; preds = %31, %17
  %40 = getelementptr inbounds i8, ptr %1, i64 8
  %41 = load i32, ptr %40, align 8, !tbaa !16
  %.not94 = icmp eq i32 %41, 0
  br i1 %.not94, label %47, label %42

42:                                               ; preds = %._crit_edge
  %43 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef nonnull %27, ptr noundef nonnull @.str.3, ptr noundef nonnull %21, ptr noundef nonnull %22) #11
  %.not96 = icmp eq i32 %43, 2
  br i1 %.not96, label %52, label %44

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

47:                                               ; preds = %._crit_edge
  %48 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef nonnull %27, ptr noundef nonnull @.str.5, ptr noundef nonnull %21) #11
  %.not95 = icmp eq i32 %48, 1
  br i1 %.not95, label %52, label %49

49:                                               ; preds = %47
  %50 = load ptr, ptr @stderr, align 8, !tbaa !5
  %51 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %50, ptr noundef nonnull @.str.6) #13
  call void @exit(i32 noundef 1) #14
  unreachable

52:                                               ; preds = %47, %42
  %53 = load i32, ptr %21, align 4, !tbaa !9
  %54 = load i32, ptr %1, align 8, !tbaa !17
  %.not97 = icmp eq i32 %53, %54
  br i1 %.not97, label %58, label %55

55:                                               ; preds = %52
  %56 = load ptr, ptr @stderr, align 8, !tbaa !5
  %57 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %56, ptr noundef nonnull @.str.7, i32 noundef %54, i32 noundef %53) #13
  call void @exit(i32 noundef 1) #14
  unreachable

58:                                               ; preds = %52
  %59 = load i32, ptr %40, align 8, !tbaa !16
  %.not98 = icmp eq i32 %59, 0
  br i1 %.not98, label %.preheader, label %60

.preheader:                                       ; preds = %60, %58
  br label %67

60:                                               ; preds = %58
  %61 = load i32, ptr %22, align 4, !tbaa !9
  %62 = getelementptr inbounds i8, ptr %1, i64 88
  %63 = load i32, ptr %62, align 8, !tbaa !18
  %.not99 = icmp eq i32 %61, %63
  br i1 %.not99, label %.preheader, label %64

64:                                               ; preds = %60
  %65 = load ptr, ptr @stderr, align 8, !tbaa !5
  %66 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %65, ptr noundef nonnull @.str.8, i32 noundef %63, i32 noundef %61) #13
  call void @exit(i32 noundef 1) #14
  unreachable

67:                                               ; preds = %.preheader, %71
  %68 = call ptr @fgets(ptr noundef nonnull %27, i32 noundef 16383, ptr noundef %0)
  %69 = call ptr @rstrip(ptr noundef nonnull %27) #11
  %70 = call i32 @feof(ptr noundef %0) #11
  %.not100 = icmp eq i32 %70, 0
  br i1 %.not100, label %71, label %.critedge

71:                                               ; preds = %67
  %72 = call i32 @strcasecmp(ptr noundef nonnull %27, ptr noundef nonnull %25) #15
  %.not101 = icmp eq i32 %72, 0
  br i1 %.not101, label %.critedge, label %67, !llvm.loop !19

.critedge:                                        ; preds = %67, %71
  %73 = call i32 @feof(ptr noundef %0) #11
  %.not102 = icmp eq i32 %73, 0
  br i1 %.not102, label %77, label %74

74:                                               ; preds = %.critedge
  %75 = load ptr, ptr @stderr, align 8, !tbaa !5
  %76 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %75, ptr noundef nonnull @.str.9, ptr noundef nonnull %25) #13
  call void @exit(i32 noundef 1) #14
  unreachable

77:                                               ; preds = %.critedge
  %78 = call ptr @fgets(ptr noundef nonnull %27, i32 noundef 16383, ptr noundef %0)
  %.not103 = icmp eq ptr %78, null
  br i1 %.not103, label %79, label %86

79:                                               ; preds = %77
  %80 = load ptr, ptr @stderr, align 8, !tbaa !5
  %81 = tail call ptr @__errno_location() #12
  %82 = load i32, ptr %81, align 4, !tbaa !9
  %83 = call ptr @strerror(i32 noundef %82) #11
  %84 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %80, ptr noundef nonnull @.str.10, ptr noundef %83) #13
  %85 = call i32 @fclose(ptr noundef %0)
  call void @exit(i32 noundef 1) #14
  unreachable

86:                                               ; preds = %77
  %.not104 = icmp eq i32 %2, 0
  br i1 %.not104, label %91, label %87

87:                                               ; preds = %86
  %88 = zext i32 %3 to i64
  %89 = shl nuw nsw i64 %88, 3
  %90 = call ptr @safe_malloc(i64 noundef %89) #11
  br label %91

91:                                               ; preds = %87, %86
  %.079 = phi ptr [ %90, %87 ], [ null, %86 ]
  %92 = call i32 @feof(ptr noundef %0) #11
  %.not105135 = icmp eq i32 %92, 0
  br i1 %.not105135, label %.lr.ph137, label %._crit_edge138

.lr.ph137:                                        ; preds = %91
  %.not140 = icmp eq i32 %3, 0
  %wide.trip.count = zext i32 %3 to i64
  %93 = shl nuw nsw i64 %wide.trip.count, 3
  %scevgep = getelementptr i8, ptr %15, i64 %93
  %scevgep181 = getelementptr i8, ptr %.079, i64 %93
  %min.iters.check = icmp ult i32 %3, 4
  %bound0 = icmp ugt ptr %scevgep181, %15
  %bound1 = icmp ult ptr %.079, %scevgep
  %found.conflict = and i1 %bound0, %bound1
  %n.vec = and i64 %wide.trip.count, 4294967292
  %cmp.n = icmp eq i64 %n.vec, %wide.trip.count
  %xtraiter = and i64 %wide.trip.count, 3
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br label %94

94:                                               ; preds = %.lr.ph137, %212
  store i32 0, ptr %19, align 4, !tbaa !9
  store i32 0, ptr %18, align 4, !tbaa !9
  %95 = call ptr @strtok_r(ptr noundef nonnull %27, ptr noundef nonnull @.str, ptr noundef nonnull %20) #11
  %.not106 = icmp eq ptr %95, null
  br i1 %.not106, label %._crit_edge138, label %96

96:                                               ; preds = %94
  %97 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef nonnull %95, ptr noundef nonnull @.str.11, ptr noundef nonnull %18) #11
  %.not107 = icmp eq i32 %97, 1
  br i1 %.not107, label %101, label %98

98:                                               ; preds = %96
  %99 = load ptr, ptr @stderr, align 8, !tbaa !5
  %100 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %99, ptr noundef nonnull @.str.12, ptr noundef nonnull %95) #13
  call void @exit(i32 noundef 1) #14
  unreachable

101:                                              ; preds = %96
  %102 = call ptr @strtok_r(ptr noundef null, ptr noundef nonnull @.str, ptr noundef nonnull %20) #11
  %.not108 = icmp eq ptr %102, null
  br i1 %.not108, label %105, label %103

103:                                              ; preds = %101
  %104 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef nonnull %102, ptr noundef nonnull @.str.11, ptr noundef nonnull %19) #11
  %.not109 = icmp eq i32 %104, 1
  br i1 %.not109, label %109, label %105

105:                                              ; preds = %103, %101
  %106 = phi ptr [ %102, %103 ], [ @.str.13, %101 ]
  %107 = load ptr, ptr @stderr, align 8, !tbaa !5
  %108 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %107, ptr noundef nonnull @.str.14, ptr noundef nonnull %106) #13
  call void @exit(i32 noundef 1) #14
  unreachable

109:                                              ; preds = %103
  %110 = call ptr @strtok_r(ptr noundef null, ptr noundef nonnull @.str, ptr noundef nonnull %20) #11
  %.not110 = icmp eq ptr %110, null
  br i1 %.not110, label %115, label %111

111:                                              ; preds = %109
  %112 = load i32, ptr %18, align 4, !tbaa !9
  %113 = load i32, ptr %19, align 4, !tbaa !9
  %114 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15, ptr noundef nonnull %110, i32 noundef %112, i32 noundef %113)
  br label %115

115:                                              ; preds = %111, %109
  %116 = load i32, ptr %18, align 4, !tbaa !9
  %117 = icmp slt i32 %116, 1
  %118 = load i32, ptr %19, align 4
  %119 = icmp slt i32 %118, 1
  %or.cond = select i1 %117, i1 true, i1 %119
  br i1 %or.cond, label %120, label %123

120:                                              ; preds = %115
  %121 = load ptr, ptr @stderr, align 8, !tbaa !5
  %122 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %121, ptr noundef nonnull @.str.16, i32 noundef %116, i32 noundef %118) #13
  call void @exit(i32 noundef 1) #14
  unreachable

123:                                              ; preds = %115
  %124 = load i32, ptr %21, align 4, !tbaa !9
  %125 = icmp sgt i32 %116, %124
  %126 = icmp sgt i32 %118, %124
  %or.cond117 = select i1 %125, i1 true, i1 %126
  br i1 %or.cond117, label %127, label %130

127:                                              ; preds = %123
  %128 = load ptr, ptr @stderr, align 8, !tbaa !5
  %129 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %128, ptr noundef nonnull @.str.17, i32 noundef %124, i32 noundef %116, i32 noundef %118) #13
  call void @exit(i32 noundef 1) #14
  unreachable

130:                                              ; preds = %123
  %131 = add nsw i32 %116, -1
  store i32 %131, ptr %18, align 4, !tbaa !9
  %132 = add nsw i32 %118, -1
  store i32 %132, ptr %19, align 4, !tbaa !9
  %133 = load i32, ptr %40, align 8, !tbaa !16
  %.not111 = icmp eq i32 %133, 0
  br i1 %.not111, label %149, label %134

134:                                              ; preds = %130
  %135 = call i32 @bipartite_node_mode(ptr noundef nonnull %1, i32 noundef %131) #11
  %136 = load i32, ptr %19, align 4, !tbaa !9
  %137 = call i32 @bipartite_node_mode(ptr noundef nonnull %1, i32 noundef %136) #11
  %138 = icmp eq i32 %135, %137
  br i1 %138, label %139, label %144

139:                                              ; preds = %134
  %140 = load ptr, ptr @stderr, align 8, !tbaa !5
  %141 = load i32, ptr %18, align 4, !tbaa !9
  %142 = load i32, ptr %19, align 4, !tbaa !9
  %143 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %140, ptr noundef nonnull @.str.18, i32 noundef %141, i32 noundef %142) #13
  br label %144

144:                                              ; preds = %139, %134
  %145 = load i32, ptr %18, align 4, !tbaa !9
  %146 = load i32, ptr %19, align 4, !tbaa !9
  %147 = icmp sgt i32 %145, %146
  br i1 %147, label %148, label %149

148:                                              ; preds = %144
  store i32 %146, ptr %18, align 4, !tbaa !9
  store i32 %145, ptr %19, align 4, !tbaa !9
  br label %149

149:                                              ; preds = %144, %148, %130
  %150 = phi i32 [ %146, %144 ], [ %145, %148 ], [ %132, %130 ]
  %151 = phi i32 [ %145, %144 ], [ %146, %148 ], [ %131, %130 ]
  br i1 %.not104, label %.loopexit, label %152

152:                                              ; preds = %149
  %153 = call double @calcChangeStats(ptr noundef nonnull %1, i32 noundef %151, i32 noundef %150, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10, ptr noundef %11, ptr noundef %12, ptr noundef %13, ptr noundef %14, ptr noundef %16, i32 noundef 0, ptr noundef %.079) #11
  br i1 %.not140, label %.loopexit, label %.lr.ph134.preheader

.lr.ph134.preheader:                              ; preds = %152
  %brmerge = select i1 %min.iters.check, i1 true, i1 %found.conflict
  br i1 %brmerge, label %.lr.ph134.preheader185, label %vector.body

vector.body:                                      ; preds = %.lr.ph134.preheader, %vector.body
  %index = phi i64 [ %index.next, %vector.body ], [ 0, %.lr.ph134.preheader ]
  %154 = getelementptr inbounds double, ptr %.079, i64 %index
  %155 = getelementptr inbounds i8, ptr %154, i64 16
  %wide.load = load <2 x double>, ptr %154, align 8, !tbaa !20, !alias.scope !22
  %wide.load182 = load <2 x double>, ptr %155, align 8, !tbaa !20, !alias.scope !22
  %156 = getelementptr inbounds double, ptr %15, i64 %index
  %157 = getelementptr inbounds i8, ptr %156, i64 16
  %wide.load183 = load <2 x double>, ptr %156, align 8, !tbaa !20, !alias.scope !25, !noalias !22
  %wide.load184 = load <2 x double>, ptr %157, align 8, !tbaa !20, !alias.scope !25, !noalias !22
  %158 = fadd <2 x double> %wide.load, %wide.load183
  %159 = fadd <2 x double> %wide.load182, %wide.load184
  store <2 x double> %158, ptr %156, align 8, !tbaa !20, !alias.scope !25, !noalias !22
  store <2 x double> %159, ptr %157, align 8, !tbaa !20, !alias.scope !25, !noalias !22
  %index.next = add nuw i64 %index, 4
  %160 = icmp eq i64 %index.next, %n.vec
  br i1 %160, label %middle.block, label %vector.body, !llvm.loop !27

middle.block:                                     ; preds = %vector.body
  br i1 %cmp.n, label %.loopexit, label %.lr.ph134.preheader185

.lr.ph134.preheader185:                           ; preds = %.lr.ph134.preheader, %middle.block
  %indvars.iv.ph = phi i64 [ 0, %.lr.ph134.preheader ], [ %n.vec, %middle.block ]
  br i1 %lcmp.mod.not, label %.lr.ph134.prol.loopexit, label %.lr.ph134.prol

.lr.ph134.prol:                                   ; preds = %.lr.ph134.preheader185, %.lr.ph134.prol
  %indvars.iv.prol = phi i64 [ %indvars.iv.next.prol, %.lr.ph134.prol ], [ %indvars.iv.ph, %.lr.ph134.preheader185 ]
  %prol.iter = phi i64 [ %prol.iter.next, %.lr.ph134.prol ], [ 0, %.lr.ph134.preheader185 ]
  %161 = getelementptr inbounds double, ptr %.079, i64 %indvars.iv.prol
  %162 = load double, ptr %161, align 8, !tbaa !20
  %163 = getelementptr inbounds double, ptr %15, i64 %indvars.iv.prol
  %164 = load double, ptr %163, align 8, !tbaa !20
  %165 = fadd double %162, %164
  store double %165, ptr %163, align 8, !tbaa !20
  %indvars.iv.next.prol = add nuw nsw i64 %indvars.iv.prol, 1
  %prol.iter.next = add i64 %prol.iter, 1
  %prol.iter.cmp.not = icmp eq i64 %prol.iter.next, %xtraiter
  br i1 %prol.iter.cmp.not, label %.lr.ph134.prol.loopexit, label %.lr.ph134.prol, !llvm.loop !30

.lr.ph134.prol.loopexit:                          ; preds = %.lr.ph134.prol, %.lr.ph134.preheader185
  %indvars.iv.unr = phi i64 [ %indvars.iv.ph, %.lr.ph134.preheader185 ], [ %indvars.iv.next.prol, %.lr.ph134.prol ]
  %166 = sub nsw i64 %indvars.iv.ph, %wide.trip.count
  %167 = icmp ugt i64 %166, -4
  br i1 %167, label %.loopexit, label %.lr.ph134

.lr.ph134:                                        ; preds = %.lr.ph134.prol.loopexit, %.lr.ph134
  %indvars.iv = phi i64 [ %indvars.iv.next.3, %.lr.ph134 ], [ %indvars.iv.unr, %.lr.ph134.prol.loopexit ]
  %168 = getelementptr inbounds double, ptr %.079, i64 %indvars.iv
  %169 = load double, ptr %168, align 8, !tbaa !20
  %170 = getelementptr inbounds double, ptr %15, i64 %indvars.iv
  %171 = load double, ptr %170, align 8, !tbaa !20
  %172 = fadd double %169, %171
  store double %172, ptr %170, align 8, !tbaa !20
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %173 = getelementptr inbounds double, ptr %.079, i64 %indvars.iv.next
  %174 = load double, ptr %173, align 8, !tbaa !20
  %175 = getelementptr inbounds double, ptr %15, i64 %indvars.iv.next
  %176 = load double, ptr %175, align 8, !tbaa !20
  %177 = fadd double %174, %176
  store double %177, ptr %175, align 8, !tbaa !20
  %indvars.iv.next.1 = add nuw nsw i64 %indvars.iv, 2
  %178 = getelementptr inbounds double, ptr %.079, i64 %indvars.iv.next.1
  %179 = load double, ptr %178, align 8, !tbaa !20
  %180 = getelementptr inbounds double, ptr %15, i64 %indvars.iv.next.1
  %181 = load double, ptr %180, align 8, !tbaa !20
  %182 = fadd double %179, %181
  store double %182, ptr %180, align 8, !tbaa !20
  %indvars.iv.next.2 = add nuw nsw i64 %indvars.iv, 3
  %183 = getelementptr inbounds double, ptr %.079, i64 %indvars.iv.next.2
  %184 = load double, ptr %183, align 8, !tbaa !20
  %185 = getelementptr inbounds double, ptr %15, i64 %indvars.iv.next.2
  %186 = load double, ptr %185, align 8, !tbaa !20
  %187 = fadd double %184, %186
  store double %187, ptr %185, align 8, !tbaa !20
  %indvars.iv.next.3 = add nuw nsw i64 %indvars.iv, 4
  %exitcond.not.3 = icmp eq i64 %indvars.iv.next.3, %wide.trip.count
  br i1 %exitcond.not.3, label %.loopexit, label %.lr.ph134, !llvm.loop !32

.loopexit:                                        ; preds = %.lr.ph134.prol.loopexit, %.lr.ph134, %middle.block, %152, %149
  %188 = load i32, ptr %23, align 4, !tbaa !11
  %.not112 = icmp eq i32 %188, 0
  %189 = load i32, ptr %18, align 4, !tbaa !9
  %190 = load i32, ptr %19, align 4, !tbaa !9
  br i1 %.not112, label %196, label %191

191:                                              ; preds = %.loopexit
  %192 = call i32 @isArc(ptr noundef nonnull %1, i32 noundef %189, i32 noundef %190) #11
  %.not114 = icmp eq i32 %192, 0
  br i1 %.not114, label %193, label %201

193:                                              ; preds = %191
  %194 = load i32, ptr %18, align 4, !tbaa !9
  %195 = load i32, ptr %19, align 4, !tbaa !9
  call void @insertArc_allarcs(ptr noundef nonnull %1, i32 noundef %194, i32 noundef %195) #11
  br label %201

196:                                              ; preds = %.loopexit
  %197 = call i32 @isEdge(ptr noundef nonnull %1, i32 noundef %189, i32 noundef %190) #11
  %.not113 = icmp eq i32 %197, 0
  br i1 %.not113, label %198, label %201

198:                                              ; preds = %196
  %199 = load i32, ptr %18, align 4, !tbaa !9
  %200 = load i32, ptr %19, align 4, !tbaa !9
  call void @insertEdge_alledges(ptr noundef nonnull %1, i32 noundef %199, i32 noundef %200) #11
  br label %201

201:                                              ; preds = %196, %198, %191, %193
  store ptr null, ptr %20, align 8, !tbaa !5
  %202 = call ptr @fgets(ptr noundef nonnull %27, i32 noundef 16383, ptr noundef %0)
  %.not115 = icmp eq ptr %202, null
  br i1 %.not115, label %203, label %212

203:                                              ; preds = %201
  %204 = call i32 @feof(ptr noundef %0) #11
  %.not116 = icmp eq i32 %204, 0
  br i1 %.not116, label %205, label %212

205:                                              ; preds = %203
  %206 = load ptr, ptr @stderr, align 8, !tbaa !5
  %207 = tail call ptr @__errno_location() #12
  %208 = load i32, ptr %207, align 4, !tbaa !9
  %209 = call ptr @strerror(i32 noundef %208) #11
  %210 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %206, ptr noundef nonnull @.str.19, ptr noundef %209) #13
  %211 = call i32 @fclose(ptr noundef %0)
  call void @exit(i32 noundef 1) #14
  unreachable

212:                                              ; preds = %203, %201
  %213 = call i32 @feof(ptr noundef %0) #11
  %.not105 = icmp eq i32 %213, 0
  br i1 %.not105, label %94, label %._crit_edge138, !llvm.loop !33

._crit_edge138:                                   ; preds = %212, %94, %91
  %214 = call i32 @fclose(ptr noundef %0)
  call void @free(ptr noundef %.079) #11
  call void @llvm.stackrestore.p0(ptr %26)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %22) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %21) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %20) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %19) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %18) #11
  ret ptr %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: mustprogress nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave.p0() #2

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

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

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

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

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

declare ptr @rstrip(ptr noundef) local_unnamed_addr #6

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

; Function Attrs: mustprogress nofree nounwind willreturn memory(read)
declare i32 @strcasecmp(ptr nocapture noundef, ptr nocapture noundef) local_unnamed_addr #7

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

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

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

declare ptr @safe_malloc(i64 noundef) local_unnamed_addr #6

; Function Attrs: mustprogress nofree nounwind willreturn
declare ptr @strtok_r(ptr noundef, ptr nocapture noundef readonly, ptr noundef) local_unnamed_addr #9

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

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

declare double @calcChangeStats(ptr noundef, i32 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, i32 noundef, ptr noundef) local_unnamed_addr #6

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

declare void @insertArc_allarcs(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #6

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

declare void @insertEdge_alledges(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #6

; Function Attrs: mustprogress nounwind willreturn allockind("free") memory(argmem: readwrite, inaccessiblemem: readwrite)
declare void @free(ptr allocptr nocapture noundef) local_unnamed_addr #10

; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore.p0(ptr) #2

attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress nocallback nofree nosync nounwind willreturn }
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 = { 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 #5 = { noreturn nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { "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 nofree nounwind willreturn memory(read) "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 = { 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 = { 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 #10 = { mustprogress nounwind willreturn allockind("free") memory(argmem: readwrite, inaccessiblemem: readwrite) "alloc-family"="malloc" "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 #11 = { nounwind }
attributes #12 = { nounwind willreturn memory(none) }
attributes #13 = { cold nounwind }
attributes #14 = { noreturn nounwind }
attributes #15 = { nounwind willreturn memory(read) }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !10, i64 4}
!12 = !{!"graph_s", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !10, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !10, i64 88, !10, i64 92, !10, i64 96, !6, i64 104, !6, i64 112, !10, i64 120, !6, i64 128, !6, i64 136, !10, i64 144, !6, i64 152, !6, i64 160, !10, i64 168, !6, i64 176, !6, i64 184, !6, i64 192, !10, i64 200, !10, i64 204, !10, i64 208, !10, i64 212, !10, i64 216, !6, i64 224, !10, i64 232, !10, i64 236, !6, i64 240, !6, i64 248, !10, i64 256, !6, i64 264, !10, i64 272, !6, i64 280, !6, i64 288, !10, i64 296, !10, i64 300, !6, i64 304, !10, i64 312, !6, i64 320}
!13 = !{!7, !7, i64 0}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
!16 = !{!12, !10, i64 8}
!17 = !{!12, !10, i64 0}
!18 = !{!12, !10, i64 88}
!19 = distinct !{!19, !15}
!20 = !{!21, !21, i64 0}
!21 = !{!"double", !7, i64 0}
!22 = !{!23}
!23 = distinct !{!23, !24}
!24 = distinct !{!24, !"LVerDomain"}
!25 = !{!26}
!26 = distinct !{!26, !24}
!27 = distinct !{!27, !15, !28, !29}
!28 = !{!"llvm.loop.isvectorized", i32 1}
!29 = !{!"llvm.loop.unroll.runtime.disable"}
!30 = distinct !{!30, !31}
!31 = !{!"llvm.loop.unroll.disable"}
!32 = distinct !{!32, !15, !28}
!33 = distinct !{!33, !15}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopLoadEliminationPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,LoopVectorizePass,PostOrderFunctionAttrsPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass