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

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

@stderr = external global ptr, align 8
@.str.6 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.74 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.75 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.77 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.78 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.81 = external hidden unnamed_addr constant [38 x i8], align 1
@.str.82 = external hidden unnamed_addr constant [38 x i8], align 1

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

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

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

; Function Attrs: nounwind uwtable
declare dso_local ptr @network_type_str(i32 noundef) #2

; Function Attrs: nounwind uwtable
declare dso_local ptr @network_mode_str(i32 noundef) #2

; Function Attrs: nounwind uwtable
declare dso_local i32 @get_struct_param_network_type(ptr noundef) #2

; Function Attrs: nounwind uwtable
declare dso_local i32 @get_attr_param_network_type(ptr noundef) #2

; Function Attrs: nounwind uwtable
declare dso_local i32 @get_dyadic_param_network_type(ptr noundef) #2

; Function Attrs: nounwind uwtable
declare dso_local i32 @get_attr_interaction_param_network_type(ptr noundef) #2

; Function Attrs: nounwind uwtable
declare dso_local i32 @get_struct_param_network_mode(ptr noundef) #2

; Function Attrs: nounwind uwtable
declare dso_local i32 @get_attr_param_network_mode(ptr noundef) #2

; Function Attrs: nounwind uwtable
declare dso_local i32 @get_dyadic_param_network_mode(ptr noundef) #2

; Function Attrs: nounwind uwtable
declare dso_local i32 @get_attr_interaction_param_network_mode(ptr noundef) #2

; Function Attrs: nounwind uwtable
declare dso_local i32 @is_allowed_network_type(i32 noundef, ptr noundef) #2

; Function Attrs: nounwind uwtable
declare dso_local i32 @is_allowed_network_mode(i32 noundef, ptr noundef) #2

; Function Attrs: nounwind uwtable
define dso_local i32 @check_param_network_type(ptr noundef %0, ptr noundef %1) #2 {
  %3 = alloca i32, align 4
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #3
  store i32 0, ptr %6, align 4, !tbaa !9
  br label %10

10:                                               ; preds = %79, %2
  %11 = load i32, ptr %6, align 4, !tbaa !9
  %12 = load ptr, ptr %4, align 8, !tbaa !5
  %13 = getelementptr inbounds %struct.param_config_s, ptr %12, i32 0, i32 0
  %14 = load i32, ptr %13, align 8, !tbaa !11
  %15 = icmp ult i32 %11, %14
  br i1 %15, label %16, label %82

16:                                               ; preds = %10
  %17 = load ptr, ptr %4, align 8, !tbaa !5
  %18 = getelementptr inbounds %struct.param_config_s, ptr %17, i32 0, i32 2
  %19 = load ptr, ptr %18, align 8, !tbaa !13
  %20 = load i32, ptr %6, align 4, !tbaa !9
  %21 = zext i32 %20 to i64
  %22 = getelementptr inbounds ptr, ptr %19, i64 %21
  %23 = load ptr, ptr %22, align 8, !tbaa !5
  %24 = call i32 @get_struct_param_network_type(ptr noundef %23)
  store i32 %24, ptr %7, align 4, !tbaa !9
  %25 = load i32, ptr %7, align 4, !tbaa !9
  %26 = load ptr, ptr %5, align 8, !tbaa !5
  %27 = call i32 @is_allowed_network_type(i32 noundef %25, ptr noundef %26)
  %28 = icmp ne i32 %27, 0
  br i1 %28, label %47, label %29

29:                                               ; preds = %16
  %30 = load ptr, ptr @stderr, align 8, !tbaa !5
  %31 = load ptr, ptr %5, align 8, !tbaa !5
  %32 = getelementptr inbounds %struct.graph_s, ptr %31, i32 0, i32 1
  %33 = load i32, ptr %32, align 4, !tbaa !14
  %34 = icmp ne i32 %33, 0
  %35 = zext i1 %34 to i64
  %36 = select i1 %34, ptr @.str.74, ptr @.str.75
  %37 = load ptr, ptr %4, align 8, !tbaa !5
  %38 = getelementptr inbounds %struct.param_config_s, ptr %37, i32 0, i32 2
  %39 = load ptr, ptr %38, align 8, !tbaa !13
  %40 = load i32, ptr %6, align 4, !tbaa !9
  %41 = zext i32 %40 to i64
  %42 = getelementptr inbounds ptr, ptr %39, i64 %41
  %43 = load ptr, ptr %42, align 8, !tbaa !5
  %44 = load i32, ptr %7, align 4, !tbaa !9
  %45 = call ptr @network_type_str(i32 noundef %44)
  %46 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %30, ptr noundef @.str.81, ptr noundef %36, ptr noundef @.str.6, ptr noundef %43, ptr noundef %45) #3
  store i32 1, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %302

47:                                               ; preds = %16
  %48 = load ptr, ptr %4, align 8, !tbaa !5
  %49 = getelementptr inbounds %struct.param_config_s, ptr %48, i32 0, i32 2
  %50 = load ptr, ptr %49, align 8, !tbaa !13
  %51 = load i32, ptr %6, align 4, !tbaa !9
  %52 = zext i32 %51 to i64
  %53 = getelementptr inbounds ptr, ptr %50, i64 %52
  %54 = load ptr, ptr %53, align 8, !tbaa !5
  %55 = call i32 @get_struct_param_network_mode(ptr noundef %54)
  store i32 %55, ptr %8, align 4, !tbaa !9
  %56 = load i32, ptr %8, align 4, !tbaa !9
  %57 = load ptr, ptr %5, align 8, !tbaa !5
  %58 = call i32 @is_allowed_network_mode(i32 noundef %56, ptr noundef %57)
  %59 = icmp ne i32 %58, 0
  br i1 %59, label %78, label %60

60:                                               ; preds = %47
  %61 = load ptr, ptr @stderr, align 8, !tbaa !5
  %62 = load ptr, ptr %5, align 8, !tbaa !5
  %63 = getelementptr inbounds %struct.graph_s, ptr %62, i32 0, i32 2
  %64 = load i32, ptr %63, align 8, !tbaa !16
  %65 = icmp ne i32 %64, 0
  %66 = zext i1 %65 to i64
  %67 = select i1 %65, ptr @.str.78, ptr @.str.77
  %68 = load ptr, ptr %4, align 8, !tbaa !5
  %69 = getelementptr inbounds %struct.param_config_s, ptr %68, i32 0, i32 2
  %70 = load ptr, ptr %69, align 8, !tbaa !13
  %71 = load i32, ptr %6, align 4, !tbaa !9
  %72 = zext i32 %71 to i64
  %73 = getelementptr inbounds ptr, ptr %70, i64 %72
  %74 = load ptr, ptr %73, align 8, !tbaa !5
  %75 = load i32, ptr %8, align 4, !tbaa !9
  %76 = call ptr @network_mode_str(i32 noundef %75)
  %77 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %61, ptr noundef @.str.82, ptr noundef %67, ptr noundef @.str.6, ptr noundef %74, ptr noundef %76) #3
  store i32 1, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %302

78:                                               ; preds = %47
  br label %79

79:                                               ; preds = %78
  %80 = load i32, ptr %6, align 4, !tbaa !9
  %81 = add i32 %80, 1
  store i32 %81, ptr %6, align 4, !tbaa !9
  br label %10, !llvm.loop !17

82:                                               ; preds = %10
  store i32 0, ptr %6, align 4, !tbaa !9
  br label %83

83:                                               ; preds = %152, %82
  %84 = load i32, ptr %6, align 4, !tbaa !9
  %85 = load ptr, ptr %4, align 8, !tbaa !5
  %86 = getelementptr inbounds %struct.param_config_s, ptr %85, i32 0, i32 5
  %87 = load i32, ptr %86, align 8, !tbaa !19
  %88 = icmp ult i32 %84, %87
  br i1 %88, label %89, label %155

89:                                               ; preds = %83
  %90 = load ptr, ptr %4, align 8, !tbaa !5
  %91 = getelementptr inbounds %struct.param_config_s, ptr %90, i32 0, i32 9
  %92 = load ptr, ptr %91, align 8, !tbaa !20
  %93 = load i32, ptr %6, align 4, !tbaa !9
  %94 = zext i32 %93 to i64
  %95 = getelementptr inbounds ptr, ptr %92, i64 %94
  %96 = load ptr, ptr %95, align 8, !tbaa !5
  %97 = call i32 @get_attr_param_network_type(ptr noundef %96)
  store i32 %97, ptr %7, align 4, !tbaa !9
  %98 = load i32, ptr %7, align 4, !tbaa !9
  %99 = load ptr, ptr %5, align 8, !tbaa !5
  %100 = call i32 @is_allowed_network_type(i32 noundef %98, ptr noundef %99)
  %101 = icmp ne i32 %100, 0
  br i1 %101, label %120, label %102

102:                                              ; preds = %89
  %103 = load ptr, ptr @stderr, align 8, !tbaa !5
  %104 = load ptr, ptr %5, align 8, !tbaa !5
  %105 = getelementptr inbounds %struct.graph_s, ptr %104, i32 0, i32 1
  %106 = load i32, ptr %105, align 4, !tbaa !14
  %107 = icmp ne i32 %106, 0
  %108 = zext i1 %107 to i64
  %109 = select i1 %107, ptr @.str.74, ptr @.str.75
  %110 = load ptr, ptr %4, align 8, !tbaa !5
  %111 = getelementptr inbounds %struct.param_config_s, ptr %110, i32 0, i32 9
  %112 = load ptr, ptr %111, align 8, !tbaa !20
  %113 = load i32, ptr %6, align 4, !tbaa !9
  %114 = zext i32 %113 to i64
  %115 = getelementptr inbounds ptr, ptr %112, i64 %114
  %116 = load ptr, ptr %115, align 8, !tbaa !5
  %117 = load i32, ptr %7, align 4, !tbaa !9
  %118 = call ptr @network_type_str(i32 noundef %117)
  %119 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %103, ptr noundef @.str.81, ptr noundef %109, ptr noundef @.str.10, ptr noundef %116, ptr noundef %118) #3
  store i32 1, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %302

120:                                              ; preds = %89
  %121 = load ptr, ptr %4, align 8, !tbaa !5
  %122 = getelementptr inbounds %struct.param_config_s, ptr %121, i32 0, i32 9
  %123 = load ptr, ptr %122, align 8, !tbaa !20
  %124 = load i32, ptr %6, align 4, !tbaa !9
  %125 = zext i32 %124 to i64
  %126 = getelementptr inbounds ptr, ptr %123, i64 %125
  %127 = load ptr, ptr %126, align 8, !tbaa !5
  %128 = call i32 @get_attr_param_network_mode(ptr noundef %127)
  store i32 %128, ptr %8, align 4, !tbaa !9
  %129 = load i32, ptr %8, align 4, !tbaa !9
  %130 = load ptr, ptr %5, align 8, !tbaa !5
  %131 = call i32 @is_allowed_network_mode(i32 noundef %129, ptr noundef %130)
  %132 = icmp ne i32 %131, 0
  br i1 %132, label %151, label %133

133:                                              ; preds = %120
  %134 = load ptr, ptr @stderr, align 8, !tbaa !5
  %135 = load ptr, ptr %5, align 8, !tbaa !5
  %136 = getelementptr inbounds %struct.graph_s, ptr %135, i32 0, i32 2
  %137 = load i32, ptr %136, align 8, !tbaa !16
  %138 = icmp ne i32 %137, 0
  %139 = zext i1 %138 to i64
  %140 = select i1 %138, ptr @.str.78, ptr @.str.77
  %141 = load ptr, ptr %4, align 8, !tbaa !5
  %142 = getelementptr inbounds %struct.param_config_s, ptr %141, i32 0, i32 9
  %143 = load ptr, ptr %142, align 8, !tbaa !20
  %144 = load i32, ptr %6, align 4, !tbaa !9
  %145 = zext i32 %144 to i64
  %146 = getelementptr inbounds ptr, ptr %143, i64 %145
  %147 = load ptr, ptr %146, align 8, !tbaa !5
  %148 = load i32, ptr %8, align 4, !tbaa !9
  %149 = call ptr @network_mode_str(i32 noundef %148)
  %150 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %134, ptr noundef @.str.82, ptr noundef %140, ptr noundef @.str.10, ptr noundef %147, ptr noundef %149) #3
  store i32 1, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %302

151:                                              ; preds = %120
  br label %152

152:                                              ; preds = %151
  %153 = load i32, ptr %6, align 4, !tbaa !9
  %154 = add i32 %153, 1
  store i32 %154, ptr %6, align 4, !tbaa !9
  br label %83, !llvm.loop !21

155:                                              ; preds = %83
  store i32 0, ptr %6, align 4, !tbaa !9
  br label %156

156:                                              ; preds = %225, %155
  %157 = load i32, ptr %6, align 4, !tbaa !9
  %158 = load ptr, ptr %4, align 8, !tbaa !5
  %159 = getelementptr inbounds %struct.param_config_s, ptr %158, i32 0, i32 12
  %160 = load i32, ptr %159, align 8, !tbaa !22
  %161 = icmp ult i32 %157, %160
  br i1 %161, label %162, label %228

162:                                              ; preds = %156
  %163 = load ptr, ptr %4, align 8, !tbaa !5
  %164 = getelementptr inbounds %struct.param_config_s, ptr %163, i32 0, i32 17
  %165 = load ptr, ptr %164, align 8, !tbaa !23
  %166 = load i32, ptr %6, align 4, !tbaa !9
  %167 = zext i32 %166 to i64
  %168 = getelementptr inbounds ptr, ptr %165, i64 %167
  %169 = load ptr, ptr %168, align 8, !tbaa !5
  %170 = call i32 @get_dyadic_param_network_type(ptr noundef %169)
  store i32 %170, ptr %7, align 4, !tbaa !9
  %171 = load i32, ptr %7, align 4, !tbaa !9
  %172 = load ptr, ptr %5, align 8, !tbaa !5
  %173 = call i32 @is_allowed_network_type(i32 noundef %171, ptr noundef %172)
  %174 = icmp ne i32 %173, 0
  br i1 %174, label %193, label %175

175:                                              ; preds = %162
  %176 = load ptr, ptr @stderr, align 8, !tbaa !5
  %177 = load ptr, ptr %5, align 8, !tbaa !5
  %178 = getelementptr inbounds %struct.graph_s, ptr %177, i32 0, i32 1
  %179 = load i32, ptr %178, align 4, !tbaa !14
  %180 = icmp ne i32 %179, 0
  %181 = zext i1 %180 to i64
  %182 = select i1 %180, ptr @.str.74, ptr @.str.75
  %183 = load ptr, ptr %4, align 8, !tbaa !5
  %184 = getelementptr inbounds %struct.param_config_s, ptr %183, i32 0, i32 17
  %185 = load ptr, ptr %184, align 8, !tbaa !23
  %186 = load i32, ptr %6, align 4, !tbaa !9
  %187 = zext i32 %186 to i64
  %188 = getelementptr inbounds ptr, ptr %185, i64 %187
  %189 = load ptr, ptr %188, align 8, !tbaa !5
  %190 = load i32, ptr %7, align 4, !tbaa !9
  %191 = call ptr @network_type_str(i32 noundef %190)
  %192 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %176, ptr noundef @.str.81, ptr noundef %182, ptr noundef @.str.19, ptr noundef %189, ptr noundef %191) #3
  store i32 1, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %302

193:                                              ; preds = %162
  %194 = load ptr, ptr %4, align 8, !tbaa !5
  %195 = getelementptr inbounds %struct.param_config_s, ptr %194, i32 0, i32 17
  %196 = load ptr, ptr %195, align 8, !tbaa !23
  %197 = load i32, ptr %6, align 4, !tbaa !9
  %198 = zext i32 %197 to i64
  %199 = getelementptr inbounds ptr, ptr %196, i64 %198
  %200 = load ptr, ptr %199, align 8, !tbaa !5
  %201 = call i32 @get_dyadic_param_network_mode(ptr noundef %200)
  store i32 %201, ptr %8, align 4, !tbaa !9
  %202 = load i32, ptr %8, align 4, !tbaa !9
  %203 = load ptr, ptr %5, align 8, !tbaa !5
  %204 = call i32 @is_allowed_network_mode(i32 noundef %202, ptr noundef %203)
  %205 = icmp ne i32 %204, 0
  br i1 %205, label %224, label %206

206:                                              ; preds = %193
  %207 = load ptr, ptr @stderr, align 8, !tbaa !5
  %208 = load ptr, ptr %5, align 8, !tbaa !5
  %209 = getelementptr inbounds %struct.graph_s, ptr %208, i32 0, i32 2
  %210 = load i32, ptr %209, align 8, !tbaa !16
  %211 = icmp ne i32 %210, 0
  %212 = zext i1 %211 to i64
  %213 = select i1 %211, ptr @.str.78, ptr @.str.77
  %214 = load ptr, ptr %4, align 8, !tbaa !5
  %215 = getelementptr inbounds %struct.param_config_s, ptr %214, i32 0, i32 17
  %216 = load ptr, ptr %215, align 8, !tbaa !23
  %217 = load i32, ptr %6, align 4, !tbaa !9
  %218 = zext i32 %217 to i64
  %219 = getelementptr inbounds ptr, ptr %216, i64 %218
  %220 = load ptr, ptr %219, align 8, !tbaa !5
  %221 = load i32, ptr %8, align 4, !tbaa !9
  %222 = call ptr @network_mode_str(i32 noundef %221)
  %223 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %207, ptr noundef @.str.82, ptr noundef %213, ptr noundef @.str.19, ptr noundef %220, ptr noundef %222) #3
  store i32 1, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %302

224:                                              ; preds = %193
  br label %225

225:                                              ; preds = %224
  %226 = load i32, ptr %6, align 4, !tbaa !9
  %227 = add i32 %226, 1
  store i32 %227, ptr %6, align 4, !tbaa !9
  br label %156, !llvm.loop !24

228:                                              ; preds = %156
  store i32 0, ptr %6, align 4, !tbaa !9
  br label %229

229:                                              ; preds = %298, %228
  %230 = load i32, ptr %6, align 4, !tbaa !9
  %231 = load ptr, ptr %4, align 8, !tbaa !5
  %232 = getelementptr inbounds %struct.param_config_s, ptr %231, i32 0, i32 19
  %233 = load i32, ptr %232, align 8, !tbaa !25
  %234 = icmp ult i32 %230, %233
  br i1 %234, label %235, label %301

235:                                              ; preds = %229
  %236 = load ptr, ptr %4, align 8, !tbaa !5
  %237 = getelementptr inbounds %struct.param_config_s, ptr %236, i32 0, i32 23
  %238 = load ptr, ptr %237, align 8, !tbaa !26
  %239 = load i32, ptr %6, align 4, !tbaa !9
  %240 = zext i32 %239 to i64
  %241 = getelementptr inbounds ptr, ptr %238, i64 %240
  %242 = load ptr, ptr %241, align 8, !tbaa !5
  %243 = call i32 @get_attr_interaction_param_network_type(ptr noundef %242)
  store i32 %243, ptr %7, align 4, !tbaa !9
  %244 = load i32, ptr %7, align 4, !tbaa !9
  %245 = load ptr, ptr %5, align 8, !tbaa !5
  %246 = call i32 @is_allowed_network_type(i32 noundef %244, ptr noundef %245)
  %247 = icmp ne i32 %246, 0
  br i1 %247, label %266, label %248

248:                                              ; preds = %235
  %249 = load ptr, ptr @stderr, align 8, !tbaa !5
  %250 = load ptr, ptr %5, align 8, !tbaa !5
  %251 = getelementptr inbounds %struct.graph_s, ptr %250, i32 0, i32 1
  %252 = load i32, ptr %251, align 4, !tbaa !14
  %253 = icmp ne i32 %252, 0
  %254 = zext i1 %253 to i64
  %255 = select i1 %253, ptr @.str.74, ptr @.str.75
  %256 = load ptr, ptr %4, align 8, !tbaa !5
  %257 = getelementptr inbounds %struct.param_config_s, ptr %256, i32 0, i32 23
  %258 = load ptr, ptr %257, align 8, !tbaa !26
  %259 = load i32, ptr %6, align 4, !tbaa !9
  %260 = zext i32 %259 to i64
  %261 = getelementptr inbounds ptr, ptr %258, i64 %260
  %262 = load ptr, ptr %261, align 8, !tbaa !5
  %263 = load i32, ptr %7, align 4, !tbaa !9
  %264 = call ptr @network_type_str(i32 noundef %263)
  %265 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %249, ptr noundef @.str.81, ptr noundef %255, ptr noundef @.str.24, ptr noundef %262, ptr noundef %264) #3
  store i32 1, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %302

266:                                              ; preds = %235
  %267 = load ptr, ptr %4, align 8, !tbaa !5
  %268 = getelementptr inbounds %struct.param_config_s, ptr %267, i32 0, i32 23
  %269 = load ptr, ptr %268, align 8, !tbaa !26
  %270 = load i32, ptr %6, align 4, !tbaa !9
  %271 = zext i32 %270 to i64
  %272 = getelementptr inbounds ptr, ptr %269, i64 %271
  %273 = load ptr, ptr %272, align 8, !tbaa !5
  %274 = call i32 @get_attr_interaction_param_network_mode(ptr noundef %273)
  store i32 %274, ptr %8, align 4, !tbaa !9
  %275 = load i32, ptr %8, align 4, !tbaa !9
  %276 = load ptr, ptr %5, align 8, !tbaa !5
  %277 = call i32 @is_allowed_network_mode(i32 noundef %275, ptr noundef %276)
  %278 = icmp ne i32 %277, 0
  br i1 %278, label %297, label %279

279:                                              ; preds = %266
  %280 = load ptr, ptr @stderr, align 8, !tbaa !5
  %281 = load ptr, ptr %5, align 8, !tbaa !5
  %282 = getelementptr inbounds %struct.graph_s, ptr %281, i32 0, i32 2
  %283 = load i32, ptr %282, align 8, !tbaa !16
  %284 = icmp ne i32 %283, 0
  %285 = zext i1 %284 to i64
  %286 = select i1 %284, ptr @.str.78, ptr @.str.77
  %287 = load ptr, ptr %4, align 8, !tbaa !5
  %288 = getelementptr inbounds %struct.param_config_s, ptr %287, i32 0, i32 23
  %289 = load ptr, ptr %288, align 8, !tbaa !26
  %290 = load i32, ptr %6, align 4, !tbaa !9
  %291 = zext i32 %290 to i64
  %292 = getelementptr inbounds ptr, ptr %289, i64 %291
  %293 = load ptr, ptr %292, align 8, !tbaa !5
  %294 = load i32, ptr %8, align 4, !tbaa !9
  %295 = call ptr @network_mode_str(i32 noundef %294)
  %296 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %280, ptr noundef @.str.82, ptr noundef %286, ptr noundef @.str.24, ptr noundef %293, ptr noundef %295) #3
  store i32 1, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %302

297:                                              ; preds = %266
  br label %298

298:                                              ; preds = %297
  %299 = load i32, ptr %6, align 4, !tbaa !9
  %300 = add i32 %299, 1
  store i32 %300, ptr %6, align 4, !tbaa !9
  br label %229, !llvm.loop !27

301:                                              ; preds = %229
  store i32 0, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %302

302:                                              ; preds = %301, %279, %248, %206, %175, %133, %102, %60, %29
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #3
  %303 = load i32, ptr %3, align 4
  ret i32 %303
}

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { 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 #3 = { nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"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 0}
!12 = !{!"param_config_s", !10, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !10, i64 40, !6, i64 48, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !6, i64 88, !10, i64 96, !6, i64 104, !6, i64 112, !6, i64 120, !6, i64 128, !6, i64 136, !6, i64 144, !10, i64 152, !6, i64 160, !6, i64 168, !6, i64 176, !6, i64 184, !6, i64 192}
!13 = !{!12, !6, i64 16}
!14 = !{!15, !10, i64 4}
!15 = !{!"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}
!16 = !{!15, !10, i64 8}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
!19 = !{!12, !10, i64 40}
!20 = !{!12, !6, i64 72}
!21 = distinct !{!21, !18}
!22 = !{!12, !10, i64 96}
!23 = !{!12, !6, i64 136}
!24 = distinct !{!24, !18}
!25 = !{!12, !10, i64 152}
!26 = !{!12, !6, i64 184}
!27 = distinct !{!27, !18}


; 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.6 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.74 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.75 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.77 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.78 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.81 = external hidden unnamed_addr constant [38 x i8], align 1
@.str.82 = external hidden unnamed_addr constant [38 x i8], align 1

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

; Function Attrs: nounwind uwtable
declare dso_local ptr @network_type_str(i32 noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare dso_local ptr @network_mode_str(i32 noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare dso_local i32 @get_struct_param_network_type(ptr noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare dso_local i32 @get_attr_param_network_type(ptr noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare dso_local i32 @get_dyadic_param_network_type(ptr noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare dso_local i32 @get_attr_interaction_param_network_type(ptr noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare dso_local i32 @get_struct_param_network_mode(ptr noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare dso_local i32 @get_attr_param_network_mode(ptr noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare dso_local i32 @get_dyadic_param_network_mode(ptr noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare dso_local i32 @get_attr_interaction_param_network_mode(ptr noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare dso_local i32 @is_allowed_network_type(i32 noundef, ptr noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare dso_local i32 @is_allowed_network_mode(i32 noundef, ptr noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
define dso_local range(i32 0, 2) i32 @check_param_network_type(ptr nocapture noundef readonly %0, ptr noundef %1) local_unnamed_addr #1 {
  %3 = load i32, ptr %0, align 8, !tbaa !5
  %.not128 = icmp eq i32 %3, 0
  br i1 %.not128, label %.preheader93, label %.lr.ph

.lr.ph:                                           ; preds = %2
  %4 = getelementptr inbounds i8, ptr %0, i64 16
  br label %12

5:                                                ; preds = %28
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %6 = load i32, ptr %0, align 8, !tbaa !5
  %7 = zext i32 %6 to i64
  %8 = icmp ult i64 %indvars.iv.next, %7
  br i1 %8, label %12, label %.preheader93, !llvm.loop !11

.preheader93:                                     ; preds = %5, %2
  %9 = getelementptr inbounds i8, ptr %0, i64 40
  %10 = load i32, ptr %9, align 8, !tbaa !13
  %.not129 = icmp eq i32 %10, 0
  br i1 %.not129, label %.preheader92, label %.lr.ph123

.lr.ph123:                                        ; preds = %.preheader93
  %11 = getelementptr inbounds i8, ptr %0, i64 72
  br label %51

12:                                               ; preds = %.lr.ph, %5
  %indvars.iv = phi i64 [ 0, %.lr.ph ], [ %indvars.iv.next, %5 ]
  %13 = load ptr, ptr %4, align 8, !tbaa !14
  %14 = getelementptr inbounds ptr, ptr %13, i64 %indvars.iv
  %15 = load ptr, ptr %14, align 8, !tbaa !15
  %16 = tail call i32 @get_struct_param_network_type(ptr noundef %15)
  %17 = tail call i32 @is_allowed_network_type(i32 noundef %16, ptr noundef %1)
  %.not88 = icmp eq i32 %17, 0
  br i1 %.not88, label %18, label %28

18:                                               ; preds = %12
  %19 = load ptr, ptr @stderr, align 8, !tbaa !15
  %20 = getelementptr inbounds i8, ptr %1, i64 4
  %21 = load i32, ptr %20, align 4, !tbaa !16
  %.not89 = icmp eq i32 %21, 0
  %22 = select i1 %.not89, ptr @.str.75, ptr @.str.74
  %23 = load ptr, ptr %4, align 8, !tbaa !14
  %24 = getelementptr inbounds ptr, ptr %23, i64 %indvars.iv
  %25 = load ptr, ptr %24, align 8, !tbaa !15
  %26 = tail call ptr @network_type_str(i32 noundef %16)
  %27 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %19, ptr noundef nonnull @.str.81, ptr noundef nonnull %22, ptr noundef nonnull @.str.6, ptr noundef %25, ptr noundef %26) #2
  br label %.loopexit

28:                                               ; preds = %12
  %29 = load ptr, ptr %4, align 8, !tbaa !14
  %30 = getelementptr inbounds ptr, ptr %29, i64 %indvars.iv
  %31 = load ptr, ptr %30, align 8, !tbaa !15
  %32 = tail call i32 @get_struct_param_network_mode(ptr noundef %31)
  %33 = tail call i32 @is_allowed_network_mode(i32 noundef %32, ptr noundef %1)
  %.not90 = icmp eq i32 %33, 0
  br i1 %.not90, label %34, label %5

34:                                               ; preds = %28
  %35 = load ptr, ptr @stderr, align 8, !tbaa !15
  %36 = getelementptr inbounds i8, ptr %1, i64 8
  %37 = load i32, ptr %36, align 8, !tbaa !18
  %.not91 = icmp eq i32 %37, 0
  %38 = select i1 %.not91, ptr @.str.77, ptr @.str.78
  %39 = load ptr, ptr %4, align 8, !tbaa !14
  %40 = getelementptr inbounds ptr, ptr %39, i64 %indvars.iv
  %41 = load ptr, ptr %40, align 8, !tbaa !15
  %42 = tail call ptr @network_mode_str(i32 noundef %32)
  %43 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %35, ptr noundef nonnull @.str.82, ptr noundef nonnull %38, ptr noundef nonnull @.str.6, ptr noundef %41, ptr noundef %42) #2
  br label %.loopexit

44:                                               ; preds = %67
  %indvars.iv.next165 = add nuw nsw i64 %indvars.iv164, 1
  %45 = load i32, ptr %9, align 8, !tbaa !13
  %46 = zext i32 %45 to i64
  %47 = icmp ult i64 %indvars.iv.next165, %46
  br i1 %47, label %51, label %.preheader92, !llvm.loop !19

.preheader92:                                     ; preds = %44, %.preheader93
  %48 = getelementptr inbounds i8, ptr %0, i64 96
  %49 = load i32, ptr %48, align 8, !tbaa !20
  %.not130 = icmp eq i32 %49, 0
  br i1 %.not130, label %.preheader, label %.lr.ph125

.lr.ph125:                                        ; preds = %.preheader92
  %50 = getelementptr inbounds i8, ptr %0, i64 136
  br label %90

51:                                               ; preds = %.lr.ph123, %44
  %indvars.iv164 = phi i64 [ 0, %.lr.ph123 ], [ %indvars.iv.next165, %44 ]
  %52 = load ptr, ptr %11, align 8, !tbaa !21
  %53 = getelementptr inbounds ptr, ptr %52, i64 %indvars.iv164
  %54 = load ptr, ptr %53, align 8, !tbaa !15
  %55 = tail call i32 @get_attr_param_network_type(ptr noundef %54)
  %56 = tail call i32 @is_allowed_network_type(i32 noundef %55, ptr noundef %1)
  %.not84 = icmp eq i32 %56, 0
  br i1 %.not84, label %57, label %67

57:                                               ; preds = %51
  %58 = load ptr, ptr @stderr, align 8, !tbaa !15
  %59 = getelementptr inbounds i8, ptr %1, i64 4
  %60 = load i32, ptr %59, align 4, !tbaa !16
  %.not85 = icmp eq i32 %60, 0
  %61 = select i1 %.not85, ptr @.str.75, ptr @.str.74
  %62 = load ptr, ptr %11, align 8, !tbaa !21
  %63 = getelementptr inbounds ptr, ptr %62, i64 %indvars.iv164
  %64 = load ptr, ptr %63, align 8, !tbaa !15
  %65 = tail call ptr @network_type_str(i32 noundef %55)
  %66 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %58, ptr noundef nonnull @.str.81, ptr noundef nonnull %61, ptr noundef nonnull @.str.10, ptr noundef %64, ptr noundef %65) #2
  br label %.loopexit

67:                                               ; preds = %51
  %68 = load ptr, ptr %11, align 8, !tbaa !21
  %69 = getelementptr inbounds ptr, ptr %68, i64 %indvars.iv164
  %70 = load ptr, ptr %69, align 8, !tbaa !15
  %71 = tail call i32 @get_attr_param_network_mode(ptr noundef %70)
  %72 = tail call i32 @is_allowed_network_mode(i32 noundef %71, ptr noundef %1)
  %.not86 = icmp eq i32 %72, 0
  br i1 %.not86, label %73, label %44

73:                                               ; preds = %67
  %74 = load ptr, ptr @stderr, align 8, !tbaa !15
  %75 = getelementptr inbounds i8, ptr %1, i64 8
  %76 = load i32, ptr %75, align 8, !tbaa !18
  %.not87 = icmp eq i32 %76, 0
  %77 = select i1 %.not87, ptr @.str.77, ptr @.str.78
  %78 = load ptr, ptr %11, align 8, !tbaa !21
  %79 = getelementptr inbounds ptr, ptr %78, i64 %indvars.iv164
  %80 = load ptr, ptr %79, align 8, !tbaa !15
  %81 = tail call ptr @network_mode_str(i32 noundef %71)
  %82 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %74, ptr noundef nonnull @.str.82, ptr noundef nonnull %77, ptr noundef nonnull @.str.10, ptr noundef %80, ptr noundef %81) #2
  br label %.loopexit

83:                                               ; preds = %106
  %indvars.iv.next168 = add nuw nsw i64 %indvars.iv167, 1
  %84 = load i32, ptr %48, align 8, !tbaa !20
  %85 = zext i32 %84 to i64
  %86 = icmp ult i64 %indvars.iv.next168, %85
  br i1 %86, label %90, label %.preheader, !llvm.loop !22

.preheader:                                       ; preds = %83, %.preheader92
  %87 = getelementptr inbounds i8, ptr %0, i64 152
  %88 = load i32, ptr %87, align 8, !tbaa !23
  %.not131 = icmp eq i32 %88, 0
  br i1 %.not131, label %.loopexit, label %.lr.ph127

.lr.ph127:                                        ; preds = %.preheader
  %89 = getelementptr inbounds i8, ptr %0, i64 184
  br label %126

90:                                               ; preds = %.lr.ph125, %83
  %indvars.iv167 = phi i64 [ 0, %.lr.ph125 ], [ %indvars.iv.next168, %83 ]
  %91 = load ptr, ptr %50, align 8, !tbaa !24
  %92 = getelementptr inbounds ptr, ptr %91, i64 %indvars.iv167
  %93 = load ptr, ptr %92, align 8, !tbaa !15
  %94 = tail call i32 @get_dyadic_param_network_type(ptr noundef %93)
  %95 = tail call i32 @is_allowed_network_type(i32 noundef %94, ptr noundef %1)
  %.not80 = icmp eq i32 %95, 0
  br i1 %.not80, label %96, label %106

96:                                               ; preds = %90
  %97 = load ptr, ptr @stderr, align 8, !tbaa !15
  %98 = getelementptr inbounds i8, ptr %1, i64 4
  %99 = load i32, ptr %98, align 4, !tbaa !16
  %.not81 = icmp eq i32 %99, 0
  %100 = select i1 %.not81, ptr @.str.75, ptr @.str.74
  %101 = load ptr, ptr %50, align 8, !tbaa !24
  %102 = getelementptr inbounds ptr, ptr %101, i64 %indvars.iv167
  %103 = load ptr, ptr %102, align 8, !tbaa !15
  %104 = tail call ptr @network_type_str(i32 noundef %94)
  %105 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %97, ptr noundef nonnull @.str.81, ptr noundef nonnull %100, ptr noundef nonnull @.str.19, ptr noundef %103, ptr noundef %104) #2
  br label %.loopexit

106:                                              ; preds = %90
  %107 = load ptr, ptr %50, align 8, !tbaa !24
  %108 = getelementptr inbounds ptr, ptr %107, i64 %indvars.iv167
  %109 = load ptr, ptr %108, align 8, !tbaa !15
  %110 = tail call i32 @get_dyadic_param_network_mode(ptr noundef %109)
  %111 = tail call i32 @is_allowed_network_mode(i32 noundef %110, ptr noundef %1)
  %.not82 = icmp eq i32 %111, 0
  br i1 %.not82, label %112, label %83

112:                                              ; preds = %106
  %113 = load ptr, ptr @stderr, align 8, !tbaa !15
  %114 = getelementptr inbounds i8, ptr %1, i64 8
  %115 = load i32, ptr %114, align 8, !tbaa !18
  %.not83 = icmp eq i32 %115, 0
  %116 = select i1 %.not83, ptr @.str.77, ptr @.str.78
  %117 = load ptr, ptr %50, align 8, !tbaa !24
  %118 = getelementptr inbounds ptr, ptr %117, i64 %indvars.iv167
  %119 = load ptr, ptr %118, align 8, !tbaa !15
  %120 = tail call ptr @network_mode_str(i32 noundef %110)
  %121 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %113, ptr noundef nonnull @.str.82, ptr noundef nonnull %116, ptr noundef nonnull @.str.19, ptr noundef %119, ptr noundef %120) #2
  br label %.loopexit

122:                                              ; preds = %142
  %indvars.iv.next171 = add nuw nsw i64 %indvars.iv170, 1
  %123 = load i32, ptr %87, align 8, !tbaa !23
  %124 = zext i32 %123 to i64
  %125 = icmp ult i64 %indvars.iv.next171, %124
  br i1 %125, label %126, label %.loopexit, !llvm.loop !25

126:                                              ; preds = %.lr.ph127, %122
  %indvars.iv170 = phi i64 [ 0, %.lr.ph127 ], [ %indvars.iv.next171, %122 ]
  %127 = load ptr, ptr %89, align 8, !tbaa !26
  %128 = getelementptr inbounds ptr, ptr %127, i64 %indvars.iv170
  %129 = load ptr, ptr %128, align 8, !tbaa !15
  %130 = tail call i32 @get_attr_interaction_param_network_type(ptr noundef %129)
  %131 = tail call i32 @is_allowed_network_type(i32 noundef %130, ptr noundef %1)
  %.not = icmp eq i32 %131, 0
  br i1 %.not, label %132, label %142

132:                                              ; preds = %126
  %133 = load ptr, ptr @stderr, align 8, !tbaa !15
  %134 = getelementptr inbounds i8, ptr %1, i64 4
  %135 = load i32, ptr %134, align 4, !tbaa !16
  %.not77 = icmp eq i32 %135, 0
  %136 = select i1 %.not77, ptr @.str.75, ptr @.str.74
  %137 = load ptr, ptr %89, align 8, !tbaa !26
  %138 = getelementptr inbounds ptr, ptr %137, i64 %indvars.iv170
  %139 = load ptr, ptr %138, align 8, !tbaa !15
  %140 = tail call ptr @network_type_str(i32 noundef %130)
  %141 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %133, ptr noundef nonnull @.str.81, ptr noundef nonnull %136, ptr noundef nonnull @.str.24, ptr noundef %139, ptr noundef %140) #2
  br label %.loopexit

142:                                              ; preds = %126
  %143 = load ptr, ptr %89, align 8, !tbaa !26
  %144 = getelementptr inbounds ptr, ptr %143, i64 %indvars.iv170
  %145 = load ptr, ptr %144, align 8, !tbaa !15
  %146 = tail call i32 @get_attr_interaction_param_network_mode(ptr noundef %145)
  %147 = tail call i32 @is_allowed_network_mode(i32 noundef %146, ptr noundef %1)
  %.not78 = icmp eq i32 %147, 0
  br i1 %.not78, label %148, label %122

148:                                              ; preds = %142
  %149 = load ptr, ptr @stderr, align 8, !tbaa !15
  %150 = getelementptr inbounds i8, ptr %1, i64 8
  %151 = load i32, ptr %150, align 8, !tbaa !18
  %.not79 = icmp eq i32 %151, 0
  %152 = select i1 %.not79, ptr @.str.77, ptr @.str.78
  %153 = load ptr, ptr %89, align 8, !tbaa !26
  %154 = getelementptr inbounds ptr, ptr %153, i64 %indvars.iv170
  %155 = load ptr, ptr %154, align 8, !tbaa !15
  %156 = tail call ptr @network_mode_str(i32 noundef %146)
  %157 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %149, ptr noundef nonnull @.str.82, ptr noundef nonnull %152, ptr noundef nonnull @.str.24, ptr noundef %155, ptr noundef %156) #2
  br label %.loopexit

.loopexit:                                        ; preds = %122, %.preheader, %148, %132, %112, %96, %73, %57, %34, %18
  %.076 = phi i32 [ 1, %34 ], [ 1, %18 ], [ 1, %73 ], [ 1, %57 ], [ 1, %112 ], [ 1, %96 ], [ 1, %148 ], [ 1, %132 ], [ 0, %.preheader ], [ 0, %122 ]
  ret i32 %.076
}

attributes #0 = { 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 #1 = { 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 #2 = { cold nounwind }

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

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


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