; 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.32 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [78 x i8], align 1
@__PRETTY_FUNCTION__.build_dyadic_indices_from_names = external hidden unnamed_addr constant [71 x i8], align 1
@.str.34 = external hidden unnamed_addr constant [59 x i8], align 1
@.str.35 = external hidden unnamed_addr constant [52 x i8], align 1
@.str.36 = external hidden unnamed_addr constant [127 x i8], align 1
@.str.37 = external hidden unnamed_addr constant [118 x i8], align 1
@.str.38 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.39 = external hidden unnamed_addr constant [40 x i8], align 1
@.str.40 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.41 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.42 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.43 = external hidden unnamed_addr constant [37 x i8], align 1
@.str.44 = external hidden unnamed_addr constant [93 x i8], align 1
@.str.45 = external hidden unnamed_addr constant [105 x i8], align 1
@.str.46 = external hidden unnamed_addr constant [44 x i8], align 1
@.str.47 = external hidden unnamed_addr constant [44 x i8], align 1
@.str.48 = external hidden unnamed_addr constant [165 x i8], align 1
@.str.49 = external hidden unnamed_addr constant [44 x i8], align 1
@.str.50 = external hidden unnamed_addr constant [267 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 willreturn memory(read)
declare i32 @strcasecmp(ptr noundef, ptr noundef) #2

; Function Attrs: nounwind uwtable
declare dso_local i32 @get_dyadic_param_type(ptr noundef) #3

declare ptr @safe_malloc(i64 noundef) #4

; Function Attrs: nounwind uwtable
define dso_local i32 @build_dyadic_indices_from_names(ptr noundef %0, ptr noundef %1, i32 noundef %2) #3 {
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca ptr, align 8
  %20 = alloca ptr, align 8
  %21 = alloca ptr, align 8
  %22 = alloca ptr, align 8
  %23 = alloca ptr, align 8
  %24 = alloca ptr, align 8
  %25 = alloca double, align 8
  %26 = alloca double, align 8
  %27 = alloca i32, align 4
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  store i32 %2, ptr %7, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #6
  store i32 0, ptr %12, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #6
  store i32 0, ptr %13, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #6
  store i32 0, ptr %15, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #6
  store i32 0, ptr %16, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #6
  store i32 -1, ptr %17, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #6
  store i32 -1, ptr %18, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #6
  store double 0.000000e+00, ptr %25, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #6
  store double 0.000000e+00, ptr %26, align 8, !tbaa !11
  %28 = load ptr, ptr %5, align 8, !tbaa !5
  %29 = getelementptr inbounds %struct.param_config_s, ptr %28, i32 0, i32 12
  %30 = load i32, ptr %29, align 8, !tbaa !13
  %31 = zext i32 %30 to i64
  %32 = mul i64 %31, 4
  %33 = call ptr @safe_malloc(i64 noundef %32)
  %34 = load ptr, ptr %5, align 8, !tbaa !5
  %35 = getelementptr inbounds %struct.param_config_s, ptr %34, i32 0, i32 15
  store ptr %33, ptr %35, align 8, !tbaa !15
  %36 = load ptr, ptr %5, align 8, !tbaa !5
  %37 = getelementptr inbounds %struct.param_config_s, ptr %36, i32 0, i32 12
  %38 = load i32, ptr %37, align 8, !tbaa !13
  %39 = zext i32 %38 to i64
  %40 = mul i64 %39, 4
  %41 = call ptr @safe_malloc(i64 noundef %40)
  %42 = load ptr, ptr %5, align 8, !tbaa !5
  %43 = getelementptr inbounds %struct.param_config_s, ptr %42, i32 0, i32 16
  store ptr %41, ptr %43, align 8, !tbaa !16
  store i32 0, ptr %8, align 4, !tbaa !9
  br label %44

44:                                               ; preds = %143, %3
  %45 = load i32, ptr %8, align 4, !tbaa !9
  %46 = load ptr, ptr %5, align 8, !tbaa !5
  %47 = getelementptr inbounds %struct.param_config_s, ptr %46, i32 0, i32 12
  %48 = load i32, ptr %47, align 8, !tbaa !13
  %49 = icmp ult i32 %45, %48
  br i1 %49, label %50, label %146

50:                                               ; preds = %44
  store i32 0, ptr %10, align 4, !tbaa !9
  %51 = load ptr, ptr %5, align 8, !tbaa !5
  %52 = getelementptr inbounds %struct.param_config_s, ptr %51, i32 0, i32 17
  %53 = load ptr, ptr %52, align 8, !tbaa !17
  %54 = load i32, ptr %8, align 4, !tbaa !9
  %55 = zext i32 %54 to i64
  %56 = getelementptr inbounds ptr, ptr %53, i64 %55
  %57 = load ptr, ptr %56, align 8, !tbaa !5
  %58 = call i32 @get_dyadic_param_type(ptr noundef %57)
  store i32 %58, ptr %11, align 4, !tbaa !9
  %59 = load i32, ptr %11, align 4, !tbaa !9
  switch i32 %59, label %131 [
    i32 1, label %60
    i32 2, label %60
  ]

60:                                               ; preds = %50, %50
  store i32 0, ptr %9, align 4, !tbaa !9
  br label %61

61:                                               ; preds = %114, %60
  %62 = load i32, ptr %9, align 4, !tbaa !9
  %63 = load ptr, ptr %6, align 8, !tbaa !5
  %64 = getelementptr inbounds %struct.graph_s, ptr %63, i32 0, i32 21
  %65 = load i32, ptr %64, align 8, !tbaa !18
  %66 = icmp ult i32 %62, %65
  br i1 %66, label %67, label %117

67:                                               ; preds = %61
  %68 = load ptr, ptr %5, align 8, !tbaa !5
  %69 = getelementptr inbounds %struct.param_config_s, ptr %68, i32 0, i32 14
  %70 = load ptr, ptr %69, align 8, !tbaa !20
  %71 = load i32, ptr %8, 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 ptr, ptr %6, align 8, !tbaa !5
  %76 = getelementptr inbounds %struct.graph_s, ptr %75, i32 0, i32 22
  %77 = load ptr, ptr %76, align 8, !tbaa !21
  %78 = load i32, ptr %9, align 4, !tbaa !9
  %79 = zext i32 %78 to i64
  %80 = getelementptr inbounds ptr, ptr %77, i64 %79
  %81 = load ptr, ptr %80, align 8, !tbaa !5
  %82 = call i32 @strcasecmp(ptr noundef %74, ptr noundef %81) #7
  %83 = icmp eq i32 %82, 0
  br i1 %83, label %84, label %113

84:                                               ; preds = %67
  store i32 1, ptr %10, align 4, !tbaa !9
  %85 = load i32, ptr %9, align 4, !tbaa !9
  %86 = load ptr, ptr %5, align 8, !tbaa !5
  %87 = getelementptr inbounds %struct.param_config_s, ptr %86, i32 0, i32 15
  %88 = load ptr, ptr %87, align 8, !tbaa !15
  %89 = load i32, ptr %8, align 4, !tbaa !9
  %90 = zext i32 %89 to i64
  %91 = getelementptr inbounds i32, ptr %88, i64 %90
  store i32 %85, ptr %91, align 4, !tbaa !9
  %92 = load i32, ptr %11, align 4, !tbaa !9
  %93 = load ptr, ptr %5, align 8, !tbaa !5
  %94 = getelementptr inbounds %struct.param_config_s, ptr %93, i32 0, i32 16
  %95 = load ptr, ptr %94, align 8, !tbaa !16
  %96 = load i32, ptr %8, align 4, !tbaa !9
  %97 = zext i32 %96 to i64
  %98 = getelementptr inbounds i32, ptr %95, i64 %97
  store i32 %92, ptr %98, align 4, !tbaa !9
  %99 = load i32, ptr %11, align 4, !tbaa !9
  %100 = icmp eq i32 %99, 1
  br i1 %100, label %101, label %104

101:                                              ; preds = %84
  %102 = load i32, ptr %12, align 4, !tbaa !9
  %103 = add i32 %102, 1
  store i32 %103, ptr %12, align 4, !tbaa !9
  br label %112

104:                                              ; preds = %84
  %105 = load i32, ptr %11, align 4, !tbaa !9
  %106 = icmp eq i32 %105, 2
  br i1 %106, label %107, label %110

107:                                              ; preds = %104
  %108 = load i32, ptr %13, align 4, !tbaa !9
  %109 = add i32 %108, 1
  store i32 %109, ptr %13, align 4, !tbaa !9
  br label %111

110:                                              ; preds = %104
  call void @__assert_fail(ptr noundef @.str.32, ptr noundef @.str.33, i32 noundef 1447, ptr noundef @__PRETTY_FUNCTION__.build_dyadic_indices_from_names) #8
  unreachable

111:                                              ; preds = %107
  br label %112

112:                                              ; preds = %111, %101
  br label %113

113:                                              ; preds = %112, %67
  br label %114

114:                                              ; preds = %113
  %115 = load i32, ptr %9, align 4, !tbaa !9
  %116 = add i32 %115, 1
  store i32 %116, ptr %9, align 4, !tbaa !9
  br label %61, !llvm.loop !22

117:                                              ; preds = %61
  %118 = load i32, ptr %10, align 4, !tbaa !9
  %119 = icmp ne i32 %118, 0
  br i1 %119, label %130, label %120

120:                                              ; preds = %117
  %121 = load ptr, ptr @stderr, align 8, !tbaa !5
  %122 = load ptr, ptr %5, align 8, !tbaa !5
  %123 = getelementptr inbounds %struct.param_config_s, ptr %122, i32 0, i32 14
  %124 = load ptr, ptr %123, align 8, !tbaa !20
  %125 = load i32, ptr %8, align 4, !tbaa !9
  %126 = zext i32 %125 to i64
  %127 = getelementptr inbounds ptr, ptr %124, i64 %126
  %128 = load ptr, ptr %127, align 8, !tbaa !5
  %129 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %121, ptr noundef @.str.34, ptr noundef %128) #6
  store i32 1, ptr %4, align 4
  store i32 1, ptr %27, align 4
  br label %560

130:                                              ; preds = %117
  br label %142

131:                                              ; preds = %50
  %132 = load ptr, ptr @stderr, align 8, !tbaa !5
  %133 = load ptr, ptr %5, align 8, !tbaa !5
  %134 = getelementptr inbounds %struct.param_config_s, ptr %133, i32 0, i32 17
  %135 = load ptr, ptr %134, align 8, !tbaa !17
  %136 = load i32, ptr %8, align 4, !tbaa !9
  %137 = zext i32 %136 to i64
  %138 = getelementptr inbounds ptr, ptr %135, i64 %137
  %139 = load ptr, ptr %138, align 8, !tbaa !5
  %140 = call i32 @get_dyadic_param_type(ptr noundef %139)
  %141 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %132, ptr noundef @.str.35, i32 noundef %140) #6
  store i32 1, ptr %4, align 4
  store i32 1, ptr %27, align 4
  br label %560

142:                                              ; preds = %130
  br label %143

143:                                              ; preds = %142
  %144 = load i32, ptr %8, align 4, !tbaa !9
  %145 = add i32 %144, 1
  store i32 %145, ptr %8, align 4, !tbaa !9
  br label %44, !llvm.loop !24

146:                                              ; preds = %44
  %147 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %147, ptr %14, align 4, !tbaa !9
  %148 = load i32, ptr %14, align 4, !tbaa !9
  %149 = icmp ugt i32 %148, 0
  br i1 %149, label %150, label %559

150:                                              ; preds = %146
  %151 = load i32, ptr %12, align 4, !tbaa !9
  %152 = icmp ugt i32 %151, 0
  br i1 %152, label %153, label %159

153:                                              ; preds = %150
  %154 = load i32, ptr %12, align 4, !tbaa !9
  %155 = icmp ne i32 %154, 2
  br i1 %155, label %156, label %159

156:                                              ; preds = %153
  %157 = load ptr, ptr @stderr, align 8, !tbaa !5
  %158 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %157, ptr noundef @.str.36) #6
  store i32 1, ptr %4, align 4
  store i32 1, ptr %27, align 4
  br label %560

159:                                              ; preds = %153, %150
  %160 = load i32, ptr %13, align 4, !tbaa !9
  %161 = icmp ugt i32 %160, 0
  br i1 %161, label %162, label %168

162:                                              ; preds = %159
  %163 = load i32, ptr %13, align 4, !tbaa !9
  %164 = icmp ne i32 %163, 3
  br i1 %164, label %165, label %168

165:                                              ; preds = %162
  %166 = load ptr, ptr @stderr, align 8, !tbaa !5
  %167 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %166, ptr noundef @.str.37) #6
  store i32 1, ptr %4, align 4
  store i32 1, ptr %27, align 4
  br label %560

168:                                              ; preds = %162, %159
  store i32 0, ptr %9, align 4, !tbaa !9
  br label %169

169:                                              ; preds = %270, %168
  %170 = load i32, ptr %9, align 4, !tbaa !9
  %171 = load i32, ptr %14, align 4, !tbaa !9
  %172 = icmp ult i32 %170, %171
  br i1 %172, label %173, label %273

173:                                              ; preds = %169
  %174 = load ptr, ptr %5, align 8, !tbaa !5
  %175 = getelementptr inbounds %struct.param_config_s, ptr %174, i32 0, i32 16
  %176 = load ptr, ptr %175, align 8, !tbaa !16
  %177 = load i32, ptr %9, align 4, !tbaa !9
  %178 = zext i32 %177 to i64
  %179 = getelementptr inbounds i32, ptr %176, i64 %178
  %180 = load i32, ptr %179, align 4, !tbaa !9
  switch i32 %180, label %259 [
    i32 1, label %181
    i32 2, label %215
  ]

181:                                              ; preds = %173
  %182 = load i32, ptr %15, align 4, !tbaa !9
  switch i32 %182, label %203 [
    i32 0, label %183
    i32 1, label %193
  ]

183:                                              ; preds = %181
  %184 = load ptr, ptr %5, align 8, !tbaa !5
  %185 = getelementptr inbounds %struct.param_config_s, ptr %184, i32 0, i32 15
  %186 = load ptr, ptr %185, align 8, !tbaa !15
  %187 = load i32, ptr %9, align 4, !tbaa !9
  %188 = zext i32 %187 to i64
  %189 = getelementptr inbounds i32, ptr %186, i64 %188
  %190 = load i32, ptr %189, align 4, !tbaa !9
  %191 = load ptr, ptr %6, align 8, !tbaa !5
  %192 = getelementptr inbounds %struct.graph_s, ptr %191, i32 0, i32 28
  store i32 %190, ptr %192, align 8, !tbaa !25
  br label %207

193:                                              ; preds = %181
  %194 = load ptr, ptr %5, align 8, !tbaa !5
  %195 = getelementptr inbounds %struct.param_config_s, ptr %194, i32 0, i32 15
  %196 = load ptr, ptr %195, align 8, !tbaa !15
  %197 = load i32, ptr %9, align 4, !tbaa !9
  %198 = zext i32 %197 to i64
  %199 = getelementptr inbounds i32, ptr %196, i64 %198
  %200 = load i32, ptr %199, align 4, !tbaa !9
  %201 = load ptr, ptr %6, align 8, !tbaa !5
  %202 = getelementptr inbounds %struct.graph_s, ptr %201, i32 0, i32 29
  store i32 %200, ptr %202, align 4, !tbaa !26
  br label %207

203:                                              ; preds = %181
  %204 = load ptr, ptr @stderr, align 8, !tbaa !5
  %205 = load i32, ptr %15, align 4, !tbaa !9
  %206 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %204, ptr noundef @.str.38, i32 noundef %205) #6
  store i32 1, ptr %4, align 4
  store i32 1, ptr %27, align 4
  br label %560

207:                                              ; preds = %193, %183
  %208 = load i32, ptr %17, align 4, !tbaa !9
  %209 = icmp slt i32 %208, 0
  br i1 %209, label %210, label %212

210:                                              ; preds = %207
  %211 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %211, ptr %17, align 4, !tbaa !9
  br label %212

212:                                              ; preds = %210, %207
  %213 = load i32, ptr %15, align 4, !tbaa !9
  %214 = add i32 %213, 1
  store i32 %214, ptr %15, align 4, !tbaa !9
  br label %269

215:                                              ; preds = %173
  %216 = load i32, ptr %16, align 4, !tbaa !9
  switch i32 %216, label %247 [
    i32 0, label %217
    i32 1, label %227
    i32 2, label %237
  ]

217:                                              ; preds = %215
  %218 = load ptr, ptr %5, align 8, !tbaa !5
  %219 = getelementptr inbounds %struct.param_config_s, ptr %218, i32 0, i32 15
  %220 = load ptr, ptr %219, align 8, !tbaa !15
  %221 = load i32, ptr %9, align 4, !tbaa !9
  %222 = zext i32 %221 to i64
  %223 = getelementptr inbounds i32, ptr %220, i64 %222
  %224 = load i32, ptr %223, align 4, !tbaa !9
  %225 = load ptr, ptr %6, align 8, !tbaa !5
  %226 = getelementptr inbounds %struct.graph_s, ptr %225, i32 0, i32 30
  store i32 %224, ptr %226, align 8, !tbaa !27
  br label %251

227:                                              ; preds = %215
  %228 = load ptr, ptr %5, align 8, !tbaa !5
  %229 = getelementptr inbounds %struct.param_config_s, ptr %228, i32 0, i32 15
  %230 = load ptr, ptr %229, align 8, !tbaa !15
  %231 = load i32, ptr %9, align 4, !tbaa !9
  %232 = zext i32 %231 to i64
  %233 = getelementptr inbounds i32, ptr %230, i64 %232
  %234 = load i32, ptr %233, align 4, !tbaa !9
  %235 = load ptr, ptr %6, align 8, !tbaa !5
  %236 = getelementptr inbounds %struct.graph_s, ptr %235, i32 0, i32 31
  store i32 %234, ptr %236, align 4, !tbaa !28
  br label %251

237:                                              ; preds = %215
  %238 = load ptr, ptr %5, align 8, !tbaa !5
  %239 = getelementptr inbounds %struct.param_config_s, ptr %238, i32 0, i32 15
  %240 = load ptr, ptr %239, align 8, !tbaa !15
  %241 = load i32, ptr %9, align 4, !tbaa !9
  %242 = zext i32 %241 to i64
  %243 = getelementptr inbounds i32, ptr %240, i64 %242
  %244 = load i32, ptr %243, align 4, !tbaa !9
  %245 = load ptr, ptr %6, align 8, !tbaa !5
  %246 = getelementptr inbounds %struct.graph_s, ptr %245, i32 0, i32 32
  store i32 %244, ptr %246, align 8, !tbaa !29
  br label %251

247:                                              ; preds = %215
  %248 = load ptr, ptr @stderr, align 8, !tbaa !5
  %249 = load i32, ptr %16, align 4, !tbaa !9
  %250 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %248, ptr noundef @.str.39, i32 noundef %249) #6
  store i32 1, ptr %4, align 4
  store i32 1, ptr %27, align 4
  br label %560

251:                                              ; preds = %237, %227, %217
  %252 = load i32, ptr %18, align 4, !tbaa !9
  %253 = icmp slt i32 %252, 0
  br i1 %253, label %254, label %256

254:                                              ; preds = %251
  %255 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %255, ptr %18, align 4, !tbaa !9
  br label %256

256:                                              ; preds = %254, %251
  %257 = load i32, ptr %16, align 4, !tbaa !9
  %258 = add i32 %257, 1
  store i32 %258, ptr %16, align 4, !tbaa !9
  br label %269

259:                                              ; preds = %173
  %260 = load ptr, ptr @stderr, align 8, !tbaa !5
  %261 = load ptr, ptr %5, align 8, !tbaa !5
  %262 = getelementptr inbounds %struct.param_config_s, ptr %261, i32 0, i32 16
  %263 = load ptr, ptr %262, align 8, !tbaa !16
  %264 = load i32, ptr %9, align 4, !tbaa !9
  %265 = zext i32 %264 to i64
  %266 = getelementptr inbounds i32, ptr %263, i64 %265
  %267 = load i32, ptr %266, align 4, !tbaa !9
  %268 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %260, ptr noundef @.str.40, i32 noundef %267) #6
  store i32 1, ptr %4, align 4
  store i32 1, ptr %27, align 4
  br label %560

269:                                              ; preds = %256, %212
  br label %270

270:                                              ; preds = %269
  %271 = load i32, ptr %9, align 4, !tbaa !9
  %272 = add i32 %271, 1
  store i32 %272, ptr %9, align 4, !tbaa !9
  br label %169, !llvm.loop !30

273:                                              ; preds = %169
  %274 = load i32, ptr %12, align 4, !tbaa !9
  %275 = icmp ugt i32 %274, 0
  br i1 %275, label %276, label %460

276:                                              ; preds = %273
  %277 = load i32, ptr %13, align 4, !tbaa !9
  %278 = icmp ugt i32 %277, 0
  br i1 %278, label %279, label %460

279:                                              ; preds = %276
  %280 = load i32, ptr %17, align 4, !tbaa !9
  %281 = icmp sge i32 %280, 0
  br i1 %281, label %282, label %283

282:                                              ; preds = %279
  br label %284

283:                                              ; preds = %279
  call void @__assert_fail(ptr noundef @.str.41, ptr noundef @.str.33, i32 noundef 1551, ptr noundef @__PRETTY_FUNCTION__.build_dyadic_indices_from_names) #8
  unreachable

284:                                              ; preds = %282
  %285 = load i32, ptr %18, align 4, !tbaa !9
  %286 = icmp sge i32 %285, 0
  br i1 %286, label %287, label %288

287:                                              ; preds = %284
  br label %289

288:                                              ; preds = %284
  call void @__assert_fail(ptr noundef @.str.42, ptr noundef @.str.33, i32 noundef 1552, ptr noundef @__PRETTY_FUNCTION__.build_dyadic_indices_from_names) #8
  unreachable

289:                                              ; preds = %287
  %290 = load i32, ptr %17, align 4, !tbaa !9
  %291 = load i32, ptr %18, align 4, !tbaa !9
  %292 = icmp ne i32 %290, %291
  br i1 %292, label %293, label %294

293:                                              ; preds = %289
  br label %295

294:                                              ; preds = %289
  call void @__assert_fail(ptr noundef @.str.43, ptr noundef @.str.33, i32 noundef 1553, ptr noundef @__PRETTY_FUNCTION__.build_dyadic_indices_from_names) #8
  unreachable

295:                                              ; preds = %293
  %296 = load ptr, ptr %5, align 8, !tbaa !5
  %297 = getelementptr inbounds %struct.param_config_s, ptr %296, i32 0, i32 17
  %298 = load ptr, ptr %297, align 8, !tbaa !17
  %299 = load i32, ptr %17, align 4, !tbaa !9
  %300 = sext i32 %299 to i64
  %301 = getelementptr inbounds ptr, ptr %298, i64 %300
  %302 = load ptr, ptr %301, align 8, !tbaa !5
  %303 = call i32 @get_dyadic_param_type(ptr noundef %302)
  %304 = icmp eq i32 %303, 1
  br i1 %304, label %305, label %306

305:                                              ; preds = %295
  br label %307

306:                                              ; preds = %295
  call void @__assert_fail(ptr noundef @.str.44, ptr noundef @.str.33, i32 noundef 1554, ptr noundef @__PRETTY_FUNCTION__.build_dyadic_indices_from_names) #8
  unreachable

307:                                              ; preds = %305
  %308 = load ptr, ptr %5, align 8, !tbaa !5
  %309 = getelementptr inbounds %struct.param_config_s, ptr %308, i32 0, i32 17
  %310 = load ptr, ptr %309, align 8, !tbaa !17
  %311 = load i32, ptr %18, align 4, !tbaa !9
  %312 = sext i32 %311 to i64
  %313 = getelementptr inbounds ptr, ptr %310, i64 %312
  %314 = load ptr, ptr %313, align 8, !tbaa !5
  %315 = call i32 @get_dyadic_param_type(ptr noundef %314)
  %316 = icmp eq i32 %315, 2
  br i1 %316, label %317, label %318

317:                                              ; preds = %307
  br label %319

318:                                              ; preds = %307
  call void @__assert_fail(ptr noundef @.str.45, ptr noundef @.str.33, i32 noundef 1555, ptr noundef @__PRETTY_FUNCTION__.build_dyadic_indices_from_names) #8
  unreachable

319:                                              ; preds = %317
  %320 = load ptr, ptr %5, align 8, !tbaa !5
  %321 = getelementptr inbounds %struct.param_config_s, ptr %320, i32 0, i32 12
  %322 = load i32, ptr %321, align 8, !tbaa !13
  %323 = icmp eq i32 %322, 5
  br i1 %323, label %324, label %325

324:                                              ; preds = %319
  br label %326

325:                                              ; preds = %319
  call void @__assert_fail(ptr noundef @.str.46, ptr noundef @.str.33, i32 noundef 1556, ptr noundef @__PRETTY_FUNCTION__.build_dyadic_indices_from_names) #8
  unreachable

326:                                              ; preds = %324
  %327 = load ptr, ptr %5, align 8, !tbaa !5
  %328 = getelementptr inbounds %struct.param_config_s, ptr %327, i32 0, i32 14
  %329 = load ptr, ptr %328, align 8, !tbaa !20
  %330 = load i32, ptr %17, align 4, !tbaa !9
  %331 = sext i32 %330 to i64
  %332 = getelementptr inbounds ptr, ptr %329, i64 %331
  %333 = load ptr, ptr %332, align 8, !tbaa !5
  %334 = call ptr @safe_strdup(ptr noundef %333)
  store ptr %334, ptr %19, align 8, !tbaa !5
  %335 = load ptr, ptr %5, align 8, !tbaa !5
  %336 = getelementptr inbounds %struct.param_config_s, ptr %335, i32 0, i32 17
  %337 = load ptr, ptr %336, align 8, !tbaa !17
  %338 = load i32, ptr %17, align 4, !tbaa !9
  %339 = sext i32 %338 to i64
  %340 = getelementptr inbounds ptr, ptr %337, i64 %339
  %341 = load ptr, ptr %340, align 8, !tbaa !5
  %342 = call ptr @safe_strdup(ptr noundef %341)
  store ptr %342, ptr %21, align 8, !tbaa !5
  %343 = load ptr, ptr %5, align 8, !tbaa !5
  %344 = getelementptr inbounds %struct.param_config_s, ptr %343, i32 0, i32 13
  %345 = load ptr, ptr %344, align 8, !tbaa !31
  %346 = load i32, ptr %17, align 4, !tbaa !9
  %347 = sext i32 %346 to i64
  %348 = getelementptr inbounds ptr, ptr %345, i64 %347
  %349 = load ptr, ptr %348, align 8, !tbaa !5
  store ptr %349, ptr %23, align 8, !tbaa !5
  %350 = load ptr, ptr %5, align 8, !tbaa !5
  %351 = getelementptr inbounds %struct.param_config_s, ptr %350, i32 0, i32 14
  %352 = load ptr, ptr %351, align 8, !tbaa !20
  %353 = load i32, ptr %18, align 4, !tbaa !9
  %354 = sext i32 %353 to i64
  %355 = getelementptr inbounds ptr, ptr %352, i64 %354
  %356 = load ptr, ptr %355, align 8, !tbaa !5
  %357 = call ptr @safe_strdup(ptr noundef %356)
  store ptr %357, ptr %20, align 8, !tbaa !5
  %358 = load ptr, ptr %5, align 8, !tbaa !5
  %359 = getelementptr inbounds %struct.param_config_s, ptr %358, i32 0, i32 17
  %360 = load ptr, ptr %359, align 8, !tbaa !17
  %361 = load i32, ptr %18, align 4, !tbaa !9
  %362 = sext i32 %361 to i64
  %363 = getelementptr inbounds ptr, ptr %360, i64 %362
  %364 = load ptr, ptr %363, align 8, !tbaa !5
  %365 = call ptr @safe_strdup(ptr noundef %364)
  store ptr %365, ptr %22, align 8, !tbaa !5
  %366 = load ptr, ptr %5, align 8, !tbaa !5
  %367 = getelementptr inbounds %struct.param_config_s, ptr %366, i32 0, i32 13
  %368 = load ptr, ptr %367, align 8, !tbaa !31
  %369 = load i32, ptr %18, align 4, !tbaa !9
  %370 = sext i32 %369 to i64
  %371 = getelementptr inbounds ptr, ptr %368, i64 %370
  %372 = load ptr, ptr %371, align 8, !tbaa !5
  store ptr %372, ptr %24, align 8, !tbaa !5
  %373 = load i32, ptr %7, align 4, !tbaa !9
  %374 = icmp ne i32 %373, 0
  br i1 %374, label %375, label %390

375:                                              ; preds = %326
  %376 = load ptr, ptr %5, align 8, !tbaa !5
  %377 = getelementptr inbounds %struct.param_config_s, ptr %376, i32 0, i32 18
  %378 = load ptr, ptr %377, align 8, !tbaa !32
  %379 = load i32, ptr %17, align 4, !tbaa !9
  %380 = sext i32 %379 to i64
  %381 = getelementptr inbounds double, ptr %378, i64 %380
  %382 = load double, ptr %381, align 8, !tbaa !11
  store double %382, ptr %25, align 8, !tbaa !11
  %383 = load ptr, ptr %5, align 8, !tbaa !5
  %384 = getelementptr inbounds %struct.param_config_s, ptr %383, i32 0, i32 18
  %385 = load ptr, ptr %384, align 8, !tbaa !32
  %386 = load i32, ptr %18, align 4, !tbaa !9
  %387 = sext i32 %386 to i64
  %388 = getelementptr inbounds double, ptr %385, i64 %387
  %389 = load double, ptr %388, align 8, !tbaa !11
  store double %389, ptr %26, align 8, !tbaa !11
  br label %390

390:                                              ; preds = %375, %326
  %391 = load ptr, ptr %19, align 8, !tbaa !5
  %392 = load ptr, ptr %5, align 8, !tbaa !5
  %393 = getelementptr inbounds %struct.param_config_s, ptr %392, i32 0, i32 14
  %394 = load ptr, ptr %393, align 8, !tbaa !20
  %395 = getelementptr inbounds ptr, ptr %394, i64 0
  store ptr %391, ptr %395, align 8, !tbaa !5
  %396 = load ptr, ptr %21, align 8, !tbaa !5
  %397 = load ptr, ptr %5, align 8, !tbaa !5
  %398 = getelementptr inbounds %struct.param_config_s, ptr %397, i32 0, i32 17
  %399 = load ptr, ptr %398, align 8, !tbaa !17
  %400 = getelementptr inbounds ptr, ptr %399, i64 0
  store ptr %396, ptr %400, align 8, !tbaa !5
  %401 = load ptr, ptr %23, align 8, !tbaa !5
  %402 = load ptr, ptr %5, align 8, !tbaa !5
  %403 = getelementptr inbounds %struct.param_config_s, ptr %402, i32 0, i32 13
  %404 = load ptr, ptr %403, align 8, !tbaa !31
  %405 = getelementptr inbounds ptr, ptr %404, i64 0
  store ptr %401, ptr %405, align 8, !tbaa !5
  %406 = load ptr, ptr %5, align 8, !tbaa !5
  %407 = getelementptr inbounds %struct.param_config_s, ptr %406, i32 0, i32 16
  %408 = load ptr, ptr %407, align 8, !tbaa !16
  %409 = getelementptr inbounds i32, ptr %408, i64 0
  store i32 1, ptr %409, align 4, !tbaa !9
  %410 = load ptr, ptr %20, align 8, !tbaa !5
  %411 = load ptr, ptr %5, align 8, !tbaa !5
  %412 = getelementptr inbounds %struct.param_config_s, ptr %411, i32 0, i32 14
  %413 = load ptr, ptr %412, align 8, !tbaa !20
  %414 = getelementptr inbounds ptr, ptr %413, i64 1
  store ptr %410, ptr %414, align 8, !tbaa !5
  %415 = load ptr, ptr %22, align 8, !tbaa !5
  %416 = load ptr, ptr %5, align 8, !tbaa !5
  %417 = getelementptr inbounds %struct.param_config_s, ptr %416, i32 0, i32 17
  %418 = load ptr, ptr %417, align 8, !tbaa !17
  %419 = getelementptr inbounds ptr, ptr %418, i64 1
  store ptr %415, ptr %419, align 8, !tbaa !5
  %420 = load ptr, ptr %24, align 8, !tbaa !5
  %421 = load ptr, ptr %5, align 8, !tbaa !5
  %422 = getelementptr inbounds %struct.param_config_s, ptr %421, i32 0, i32 13
  %423 = load ptr, ptr %422, align 8, !tbaa !31
  %424 = getelementptr inbounds ptr, ptr %423, i64 1
  store ptr %420, ptr %424, align 8, !tbaa !5
  %425 = load ptr, ptr %5, align 8, !tbaa !5
  %426 = getelementptr inbounds %struct.param_config_s, ptr %425, i32 0, i32 16
  %427 = load ptr, ptr %426, align 8, !tbaa !16
  %428 = getelementptr inbounds i32, ptr %427, i64 1
  store i32 2, ptr %428, align 4, !tbaa !9
  %429 = load ptr, ptr %5, align 8, !tbaa !5
  %430 = getelementptr inbounds %struct.param_config_s, ptr %429, i32 0, i32 12
  store i32 2, ptr %430, align 8, !tbaa !13
  %431 = load ptr, ptr %5, align 8, !tbaa !5
  %432 = getelementptr inbounds %struct.param_config_s, ptr %431, i32 0, i32 14
  %433 = load ptr, ptr %432, align 8, !tbaa !20
  %434 = getelementptr inbounds ptr, ptr %433, i64 2
  %435 = load ptr, ptr %434, align 8, !tbaa !5
  call void @free(ptr noundef %435) #6
  %436 = load ptr, ptr %5, align 8, !tbaa !5
  %437 = getelementptr inbounds %struct.param_config_s, ptr %436, i32 0, i32 14
  %438 = load ptr, ptr %437, align 8, !tbaa !20
  %439 = getelementptr inbounds ptr, ptr %438, i64 3
  %440 = load ptr, ptr %439, align 8, !tbaa !5
  call void @free(ptr noundef %440) #6
  %441 = load ptr, ptr %5, align 8, !tbaa !5
  %442 = getelementptr inbounds %struct.param_config_s, ptr %441, i32 0, i32 14
  %443 = load ptr, ptr %442, align 8, !tbaa !20
  %444 = getelementptr inbounds ptr, ptr %443, i64 4
  %445 = load ptr, ptr %444, align 8, !tbaa !5
  call void @free(ptr noundef %445) #6
  %446 = load i32, ptr %7, align 4, !tbaa !9
  %447 = icmp ne i32 %446, 0
  br i1 %447, label %448, label %459

448:                                              ; preds = %390
  %449 = load double, ptr %25, align 8, !tbaa !11
  %450 = load ptr, ptr %5, align 8, !tbaa !5
  %451 = getelementptr inbounds %struct.param_config_s, ptr %450, i32 0, i32 18
  %452 = load ptr, ptr %451, align 8, !tbaa !32
  %453 = getelementptr inbounds double, ptr %452, i64 0
  store double %449, ptr %453, align 8, !tbaa !11
  %454 = load double, ptr %26, align 8, !tbaa !11
  %455 = load ptr, ptr %5, align 8, !tbaa !5
  %456 = getelementptr inbounds %struct.param_config_s, ptr %455, i32 0, i32 18
  %457 = load ptr, ptr %456, align 8, !tbaa !32
  %458 = getelementptr inbounds double, ptr %457, i64 1
  store double %454, ptr %458, align 8, !tbaa !11
  br label %459

459:                                              ; preds = %448, %390
  br label %558

460:                                              ; preds = %276, %273
  %461 = load i32, ptr %12, align 4, !tbaa !9
  %462 = icmp ugt i32 %461, 0
  br i1 %462, label %463, label %501

463:                                              ; preds = %460
  %464 = load i32, ptr %17, align 4, !tbaa !9
  %465 = icmp sge i32 %464, 0
  br i1 %465, label %466, label %467

466:                                              ; preds = %463
  br label %468

467:                                              ; preds = %463
  call void @__assert_fail(ptr noundef @.str.41, ptr noundef @.str.33, i32 noundef 1585, ptr noundef @__PRETTY_FUNCTION__.build_dyadic_indices_from_names) #8
  unreachable

468:                                              ; preds = %466
  %469 = load ptr, ptr %5, align 8, !tbaa !5
  %470 = getelementptr inbounds %struct.param_config_s, ptr %469, i32 0, i32 12
  %471 = load i32, ptr %470, align 8, !tbaa !13
  %472 = icmp eq i32 %471, 2
  br i1 %472, label %473, label %474

473:                                              ; preds = %468
  br label %475

474:                                              ; preds = %468
  call void @__assert_fail(ptr noundef @.str.47, ptr noundef @.str.33, i32 noundef 1586, ptr noundef @__PRETTY_FUNCTION__.build_dyadic_indices_from_names) #8
  unreachable

475:                                              ; preds = %473
  %476 = load ptr, ptr %5, align 8, !tbaa !5
  %477 = getelementptr inbounds %struct.param_config_s, ptr %476, i32 0, i32 17
  %478 = load ptr, ptr %477, align 8, !tbaa !17
  %479 = getelementptr inbounds ptr, ptr %478, i64 0
  %480 = load ptr, ptr %479, align 8, !tbaa !5
  %481 = call i32 @get_dyadic_param_type(ptr noundef %480)
  %482 = icmp eq i32 %481, 1
  br i1 %482, label %483, label %492

483:                                              ; preds = %475
  %484 = load ptr, ptr %5, align 8, !tbaa !5
  %485 = getelementptr inbounds %struct.param_config_s, ptr %484, i32 0, i32 17
  %486 = load ptr, ptr %485, align 8, !tbaa !17
  %487 = getelementptr inbounds ptr, ptr %486, i64 1
  %488 = load ptr, ptr %487, align 8, !tbaa !5
  %489 = call i32 @get_dyadic_param_type(ptr noundef %488)
  %490 = icmp eq i32 %489, 1
  br i1 %490, label %491, label %492

491:                                              ; preds = %483
  br label %493

492:                                              ; preds = %483, %475
  call void @__assert_fail(ptr noundef @.str.48, ptr noundef @.str.33, i32 noundef 1590, ptr noundef @__PRETTY_FUNCTION__.build_dyadic_indices_from_names) #8
  unreachable

493:                                              ; preds = %491
  %494 = load ptr, ptr %5, align 8, !tbaa !5
  %495 = getelementptr inbounds %struct.param_config_s, ptr %494, i32 0, i32 12
  store i32 1, ptr %495, align 8, !tbaa !13
  %496 = load ptr, ptr %5, align 8, !tbaa !5
  %497 = getelementptr inbounds %struct.param_config_s, ptr %496, i32 0, i32 14
  %498 = load ptr, ptr %497, align 8, !tbaa !20
  %499 = getelementptr inbounds ptr, ptr %498, i64 1
  %500 = load ptr, ptr %499, align 8, !tbaa !5
  call void @free(ptr noundef %500) #6
  br label %557

501:                                              ; preds = %460
  %502 = load i32, ptr %13, align 4, !tbaa !9
  %503 = icmp ugt i32 %502, 0
  br i1 %503, label %504, label %555

504:                                              ; preds = %501
  %505 = load i32, ptr %18, align 4, !tbaa !9
  %506 = icmp sge i32 %505, 0
  br i1 %506, label %507, label %508

507:                                              ; preds = %504
  br label %509

508:                                              ; preds = %504
  call void @__assert_fail(ptr noundef @.str.42, ptr noundef @.str.33, i32 noundef 1595, ptr noundef @__PRETTY_FUNCTION__.build_dyadic_indices_from_names) #8
  unreachable

509:                                              ; preds = %507
  %510 = load ptr, ptr %5, align 8, !tbaa !5
  %511 = getelementptr inbounds %struct.param_config_s, ptr %510, i32 0, i32 12
  %512 = load i32, ptr %511, align 8, !tbaa !13
  %513 = icmp eq i32 %512, 3
  br i1 %513, label %514, label %515

514:                                              ; preds = %509
  br label %516

515:                                              ; preds = %509
  call void @__assert_fail(ptr noundef @.str.49, ptr noundef @.str.33, i32 noundef 1596, ptr noundef @__PRETTY_FUNCTION__.build_dyadic_indices_from_names) #8
  unreachable

516:                                              ; preds = %514
  %517 = load ptr, ptr %5, align 8, !tbaa !5
  %518 = getelementptr inbounds %struct.param_config_s, ptr %517, i32 0, i32 17
  %519 = load ptr, ptr %518, align 8, !tbaa !17
  %520 = getelementptr inbounds ptr, ptr %519, i64 0
  %521 = load ptr, ptr %520, align 8, !tbaa !5
  %522 = call i32 @get_dyadic_param_type(ptr noundef %521)
  %523 = icmp eq i32 %522, 2
  br i1 %523, label %524, label %541

524:                                              ; preds = %516
  %525 = load ptr, ptr %5, align 8, !tbaa !5
  %526 = getelementptr inbounds %struct.param_config_s, ptr %525, i32 0, i32 17
  %527 = load ptr, ptr %526, align 8, !tbaa !17
  %528 = getelementptr inbounds ptr, ptr %527, i64 1
  %529 = load ptr, ptr %528, align 8, !tbaa !5
  %530 = call i32 @get_dyadic_param_type(ptr noundef %529)
  %531 = icmp eq i32 %530, 2
  br i1 %531, label %532, label %541

532:                                              ; preds = %524
  %533 = load ptr, ptr %5, align 8, !tbaa !5
  %534 = getelementptr inbounds %struct.param_config_s, ptr %533, i32 0, i32 17
  %535 = load ptr, ptr %534, align 8, !tbaa !17
  %536 = getelementptr inbounds ptr, ptr %535, i64 2
  %537 = load ptr, ptr %536, align 8, !tbaa !5
  %538 = call i32 @get_dyadic_param_type(ptr noundef %537)
  %539 = icmp eq i32 %538, 2
  br i1 %539, label %540, label %541

540:                                              ; preds = %532
  br label %542

541:                                              ; preds = %532, %524, %516
  call void @__assert_fail(ptr noundef @.str.50, ptr noundef @.str.33, i32 noundef 1602, ptr noundef @__PRETTY_FUNCTION__.build_dyadic_indices_from_names) #8
  unreachable

542:                                              ; preds = %540
  %543 = load ptr, ptr %5, align 8, !tbaa !5
  %544 = getelementptr inbounds %struct.param_config_s, ptr %543, i32 0, i32 12
  store i32 1, ptr %544, align 8, !tbaa !13
  %545 = load ptr, ptr %5, align 8, !tbaa !5
  %546 = getelementptr inbounds %struct.param_config_s, ptr %545, i32 0, i32 14
  %547 = load ptr, ptr %546, align 8, !tbaa !20
  %548 = getelementptr inbounds ptr, ptr %547, i64 1
  %549 = load ptr, ptr %548, align 8, !tbaa !5
  call void @free(ptr noundef %549) #6
  %550 = load ptr, ptr %5, align 8, !tbaa !5
  %551 = getelementptr inbounds %struct.param_config_s, ptr %550, i32 0, i32 14
  %552 = load ptr, ptr %551, align 8, !tbaa !20
  %553 = getelementptr inbounds ptr, ptr %552, i64 2
  %554 = load ptr, ptr %553, align 8, !tbaa !5
  call void @free(ptr noundef %554) #6
  br label %556

555:                                              ; preds = %501
  call void @__assert_fail(ptr noundef @.str.32, ptr noundef @.str.33, i32 noundef 1607, ptr noundef @__PRETTY_FUNCTION__.build_dyadic_indices_from_names) #8
  unreachable

556:                                              ; preds = %542
  br label %557

557:                                              ; preds = %556, %493
  br label %558

558:                                              ; preds = %557, %459
  br label %559

559:                                              ; preds = %558, %146
  store i32 0, ptr %4, align 4
  store i32 1, ptr %27, align 4
  br label %560

560:                                              ; preds = %559, %259, %247, %203, %165, %156, %131, %120
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #6
  %561 = load i32, ptr %4, align 4
  ret i32 %561
}

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

declare ptr @safe_strdup(ptr noundef) #4

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"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, !12, i64 0}
!12 = !{!"double", !7, i64 0}
!13 = !{!14, !10, i64 96}
!14 = !{!"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}
!15 = !{!14, !6, i64 120}
!16 = !{!14, !6, i64 128}
!17 = !{!14, !6, i64 136}
!18 = !{!19, !10, i64 144}
!19 = !{!"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}
!20 = !{!14, !6, i64 112}
!21 = !{!19, !6, i64 152}
!22 = distinct !{!22, !23}
!23 = !{!"llvm.loop.mustprogress"}
!24 = distinct !{!24, !23}
!25 = !{!19, !10, i64 200}
!26 = !{!19, !10, i64 204}
!27 = !{!19, !10, i64 208}
!28 = !{!19, !10, i64 212}
!29 = !{!19, !10, i64 216}
!30 = distinct !{!30, !23}
!31 = !{!14, !6, i64 104}
!32 = !{!14, !6, i64 144}


; 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.32 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [78 x i8], align 1
@__PRETTY_FUNCTION__.build_dyadic_indices_from_names = external hidden unnamed_addr constant [71 x i8], align 1
@.str.34 = external hidden unnamed_addr constant [59 x i8], align 1
@.str.35 = external hidden unnamed_addr constant [52 x i8], align 1
@.str.36 = external hidden unnamed_addr constant [127 x i8], align 1
@.str.37 = external hidden unnamed_addr constant [118 x i8], align 1
@.str.38 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.39 = external hidden unnamed_addr constant [40 x i8], align 1
@.str.40 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.41 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.42 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.43 = external hidden unnamed_addr constant [37 x i8], align 1
@.str.44 = external hidden unnamed_addr constant [93 x i8], align 1
@.str.45 = external hidden unnamed_addr constant [105 x i8], align 1
@.str.46 = external hidden unnamed_addr constant [44 x i8], align 1
@.str.47 = external hidden unnamed_addr constant [44 x i8], align 1
@.str.48 = external hidden unnamed_addr constant [165 x i8], align 1
@.str.49 = external hidden unnamed_addr constant [44 x i8], align 1
@.str.50 = external hidden unnamed_addr constant [267 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: mustprogress nofree nounwind willreturn memory(read)
declare i32 @strcasecmp(ptr nocapture noundef, ptr nocapture noundef) local_unnamed_addr #1

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

declare ptr @safe_malloc(i64 noundef) local_unnamed_addr #3

; Function Attrs: nounwind uwtable
define dso_local range(i32 0, 2) i32 @build_dyadic_indices_from_names(ptr nocapture noundef %0, ptr nocapture noundef %1, i32 noundef %2) local_unnamed_addr #2 {
  %4 = getelementptr inbounds i8, ptr %0, i64 96
  %5 = load i32, ptr %4, align 8, !tbaa !5
  %6 = zext i32 %5 to i64
  %7 = shl nuw nsw i64 %6, 2
  %8 = tail call ptr @safe_malloc(i64 noundef %7) #6
  %9 = getelementptr inbounds i8, ptr %0, i64 120
  store ptr %8, ptr %9, align 8, !tbaa !11
  %10 = load i32, ptr %4, align 8, !tbaa !5
  %11 = zext i32 %10 to i64
  %12 = shl nuw nsw i64 %11, 2
  %13 = tail call ptr @safe_malloc(i64 noundef %12) #6
  %14 = getelementptr inbounds i8, ptr %0, i64 128
  store ptr %13, ptr %14, align 8, !tbaa !12
  %15 = load i32, ptr %4, align 8, !tbaa !5
  %.not247 = icmp eq i32 %15, 0
  br i1 %.not247, label %._crit_edge238.thread, label %.lr.ph237

.lr.ph237:                                        ; preds = %3
  %16 = getelementptr inbounds i8, ptr %0, i64 136
  %17 = getelementptr inbounds i8, ptr %1, i64 144
  %18 = getelementptr inbounds i8, ptr %0, i64 112
  %19 = getelementptr inbounds i8, ptr %1, i64 152
  br label %20

20:                                               ; preds = %.lr.ph237, %74
  %indvars.iv284 = phi i64 [ 0, %.lr.ph237 ], [ %indvars.iv.next285, %74 ]
  %.0148234 = phi i32 [ 0, %.lr.ph237 ], [ %.1149.lcssa, %74 ]
  %.0150233 = phi i32 [ 0, %.lr.ph237 ], [ %.1151.lcssa, %74 ]
  %21 = load ptr, ptr %16, align 8, !tbaa !13
  %22 = getelementptr inbounds ptr, ptr %21, i64 %indvars.iv284
  %23 = load ptr, ptr %22, align 8, !tbaa !14
  %24 = tail call i32 @get_dyadic_param_type(ptr noundef %23)
  %.fr = freeze i32 %24
  %.off = add i32 %.fr, -1
  %switch = icmp ult i32 %.off, 2
  br i1 %switch, label %.preheader, label %67

.preheader:                                       ; preds = %20
  %25 = load i32, ptr %17, align 8, !tbaa !15
  %.not248 = icmp eq i32 %25, 0
  br i1 %.not248, label %._crit_edge.thread, label %.lr.ph

.lr.ph:                                           ; preds = %.preheader
  %26 = load ptr, ptr %18, align 8, !tbaa !17
  %27 = getelementptr inbounds ptr, ptr %26, i64 %indvars.iv284
  %28 = load ptr, ptr %27, align 8, !tbaa !14
  %29 = load ptr, ptr %19, align 8, !tbaa !18
  %switch316 = icmp eq i32 %.fr, 1
  br i1 %switch316, label %.lr.ph.split.us, label %.lr.ph.split.us212

.lr.ph.split.us:                                  ; preds = %.lr.ph, %42
  %30 = phi i32 [ %43, %42 ], [ %25, %.lr.ph ]
  %indvars.iv273 = phi i64 [ %indvars.iv.next274, %42 ], [ 0, %.lr.ph ]
  %.0146206.us = phi i32 [ %.1147.us, %42 ], [ 0, %.lr.ph ]
  %.1149205.us = phi i32 [ %.2.us, %42 ], [ %.0148234, %.lr.ph ]
  %31 = getelementptr inbounds ptr, ptr %29, i64 %indvars.iv273
  %32 = load ptr, ptr %31, align 8, !tbaa !14
  %33 = tail call i32 @strcasecmp(ptr noundef %28, ptr noundef %32) #7
  %34 = icmp eq i32 %33, 0
  br i1 %34, label %35, label %42

35:                                               ; preds = %.lr.ph.split.us
  %36 = load ptr, ptr %9, align 8, !tbaa !11
  %37 = getelementptr inbounds i32, ptr %36, i64 %indvars.iv284
  %38 = trunc nuw i64 %indvars.iv273 to i32
  store i32 %38, ptr %37, align 4, !tbaa !19
  %39 = load ptr, ptr %14, align 8, !tbaa !12
  %40 = getelementptr inbounds i32, ptr %39, i64 %indvars.iv284
  store i32 1, ptr %40, align 4, !tbaa !19
  %41 = add i32 %.1149205.us, 1
  %.pre290 = load i32, ptr %17, align 8, !tbaa !15
  br label %42

42:                                               ; preds = %35, %.lr.ph.split.us
  %43 = phi i32 [ %.pre290, %35 ], [ %30, %.lr.ph.split.us ]
  %.2.us = phi i32 [ %41, %35 ], [ %.1149205.us, %.lr.ph.split.us ]
  %.1147.us = phi i32 [ 1, %35 ], [ %.0146206.us, %.lr.ph.split.us ]
  %indvars.iv.next274 = add nuw nsw i64 %indvars.iv273, 1
  %44 = zext i32 %43 to i64
  %45 = icmp ult i64 %indvars.iv.next274, %44
  br i1 %45, label %.lr.ph.split.us, label %._crit_edge, !llvm.loop !20

.lr.ph.split.us212:                               ; preds = %.lr.ph, %58
  %46 = phi i32 [ %59, %58 ], [ %25, %.lr.ph ]
  %indvars.iv = phi i64 [ %indvars.iv.next, %58 ], [ 0, %.lr.ph ]
  %.0146206.us214 = phi i32 [ %.1147.us219, %58 ], [ 0, %.lr.ph ]
  %.1151204.us216 = phi i32 [ %.2152.us217, %58 ], [ %.0150233, %.lr.ph ]
  %47 = getelementptr inbounds ptr, ptr %29, i64 %indvars.iv
  %48 = load ptr, ptr %47, align 8, !tbaa !14
  %49 = tail call i32 @strcasecmp(ptr noundef %28, ptr noundef %48) #7
  %50 = icmp eq i32 %49, 0
  br i1 %50, label %51, label %58

51:                                               ; preds = %.lr.ph.split.us212
  %52 = load ptr, ptr %9, align 8, !tbaa !11
  %53 = getelementptr inbounds i32, ptr %52, i64 %indvars.iv284
  %54 = trunc nuw i64 %indvars.iv to i32
  store i32 %54, ptr %53, align 4, !tbaa !19
  %55 = load ptr, ptr %14, align 8, !tbaa !12
  %56 = getelementptr inbounds i32, ptr %55, i64 %indvars.iv284
  store i32 2, ptr %56, align 4, !tbaa !19
  %57 = add i32 %.1151204.us216, 1
  %.pre = load i32, ptr %17, align 8, !tbaa !15
  br label %58

58:                                               ; preds = %51, %.lr.ph.split.us212
  %59 = phi i32 [ %.pre, %51 ], [ %46, %.lr.ph.split.us212 ]
  %.2152.us217 = phi i32 [ %57, %51 ], [ %.1151204.us216, %.lr.ph.split.us212 ]
  %.1147.us219 = phi i32 [ 1, %51 ], [ %.0146206.us214, %.lr.ph.split.us212 ]
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %60 = zext i32 %59 to i64
  %61 = icmp ult i64 %indvars.iv.next, %60
  br i1 %61, label %.lr.ph.split.us212, label %._crit_edge, !llvm.loop !20

._crit_edge:                                      ; preds = %58, %42
  %.1151.lcssa = phi i32 [ %.0150233, %42 ], [ %.2152.us217, %58 ]
  %.1149.lcssa = phi i32 [ %.2.us, %42 ], [ %.0148234, %58 ]
  %.0146.lcssa = phi i32 [ %.1147.us, %42 ], [ %.1147.us219, %58 ]
  %.not166 = icmp eq i32 %.0146.lcssa, 0
  br i1 %.not166, label %._crit_edge.thread, label %74

._crit_edge.thread:                               ; preds = %.preheader, %._crit_edge
  %62 = load ptr, ptr @stderr, align 8, !tbaa !14
  %63 = load ptr, ptr %18, align 8, !tbaa !17
  %64 = getelementptr inbounds ptr, ptr %63, i64 %indvars.iv284
  %65 = load ptr, ptr %64, align 8, !tbaa !14
  %66 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %62, ptr noundef nonnull @.str.34, ptr noundef %65) #8
  br label %._crit_edge238.thread

67:                                               ; preds = %20
  %68 = load ptr, ptr @stderr, align 8, !tbaa !14
  %69 = load ptr, ptr %16, align 8, !tbaa !13
  %70 = getelementptr inbounds ptr, ptr %69, i64 %indvars.iv284
  %71 = load ptr, ptr %70, align 8, !tbaa !14
  %72 = tail call i32 @get_dyadic_param_type(ptr noundef %71)
  %73 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %68, ptr noundef nonnull @.str.35, i32 noundef %72) #8
  br label %._crit_edge238.thread

74:                                               ; preds = %._crit_edge
  %indvars.iv.next285 = add nuw nsw i64 %indvars.iv284, 1
  %75 = load i32, ptr %4, align 8, !tbaa !5
  %76 = zext i32 %75 to i64
  %77 = icmp ult i64 %indvars.iv.next285, %76
  br i1 %77, label %20, label %._crit_edge238, !llvm.loop !22

._crit_edge238:                                   ; preds = %74
  %78 = icmp ne i32 %.1149.lcssa, 0
  switch i32 %.1149.lcssa, label %79 [
    i32 2, label %82
    i32 0, label %82
  ]

79:                                               ; preds = %._crit_edge238
  %80 = load ptr, ptr @stderr, align 8, !tbaa !14
  %81 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %80, ptr noundef nonnull @.str.36) #8
  br label %._crit_edge238.thread

82:                                               ; preds = %._crit_edge238, %._crit_edge238
  %83 = icmp ne i32 %.1151.lcssa, 0
  switch i32 %.1151.lcssa, label %84 [
    i32 3, label %87
    i32 0, label %87
  ]

84:                                               ; preds = %82
  %85 = load ptr, ptr @stderr, align 8, !tbaa !14
  %86 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %85, ptr noundef nonnull @.str.37) #8
  br label %._crit_edge238.thread

87:                                               ; preds = %82, %82
  %88 = load ptr, ptr %14, align 8, !tbaa !12
  %89 = getelementptr inbounds i8, ptr %1, i64 216
  %90 = getelementptr inbounds i8, ptr %1, i64 212
  %91 = getelementptr inbounds i8, ptr %1, i64 208
  %92 = getelementptr inbounds i8, ptr %1, i64 204
  %93 = getelementptr inbounds i8, ptr %1, i64 200
  %wide.trip.count = and i64 %indvars.iv.next285, 4294967295
  br label %94

94:                                               ; preds = %87, %136
  %indvars.iv287 = phi i64 [ 0, %87 ], [ %indvars.iv.next288, %136 ]
  %.0153245 = phi i32 [ -1, %87 ], [ %.2155, %136 ]
  %.0156244 = phi i32 [ -1, %87 ], [ %.2158, %136 ]
  %.0159243 = phi i32 [ 0, %87 ], [ %.1160, %136 ]
  %.0161242 = phi i32 [ 0, %87 ], [ %.1162, %136 ]
  %95 = getelementptr inbounds i32, ptr %88, i64 %indvars.iv287
  %96 = load i32, ptr %95, align 4, !tbaa !19
  switch i32 %96, label %133 [
    i32 1, label %97
    i32 2, label %113
  ]

97:                                               ; preds = %94
  switch i32 %.0161242, label %106 [
    i32 0, label %98
    i32 1, label %102
  ]

98:                                               ; preds = %97
  %99 = load ptr, ptr %9, align 8, !tbaa !11
  %100 = getelementptr inbounds i32, ptr %99, i64 %indvars.iv287
  %101 = load i32, ptr %100, align 4, !tbaa !19
  store i32 %101, ptr %93, align 8, !tbaa !23
  br label %109

102:                                              ; preds = %97
  %103 = load ptr, ptr %9, align 8, !tbaa !11
  %104 = getelementptr inbounds i32, ptr %103, i64 %indvars.iv287
  %105 = load i32, ptr %104, align 4, !tbaa !19
  store i32 %105, ptr %92, align 4, !tbaa !24
  br label %109

106:                                              ; preds = %97
  %107 = load ptr, ptr @stderr, align 8, !tbaa !14
  %108 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %107, ptr noundef nonnull @.str.38, i32 noundef %.0161242) #8
  br label %._crit_edge238.thread

109:                                              ; preds = %102, %98
  %110 = icmp slt i32 %.0156244, 0
  %111 = trunc nuw i64 %indvars.iv287 to i32
  %spec.select = select i1 %110, i32 %111, i32 %.0156244
  %112 = add nuw nsw i32 %.0161242, 1
  br label %136

113:                                              ; preds = %94
  switch i32 %.0159243, label %126 [
    i32 0, label %114
    i32 1, label %118
    i32 2, label %122
  ]

114:                                              ; preds = %113
  %115 = load ptr, ptr %9, align 8, !tbaa !11
  %116 = getelementptr inbounds i32, ptr %115, i64 %indvars.iv287
  %117 = load i32, ptr %116, align 4, !tbaa !19
  store i32 %117, ptr %91, align 8, !tbaa !25
  br label %129

118:                                              ; preds = %113
  %119 = load ptr, ptr %9, align 8, !tbaa !11
  %120 = getelementptr inbounds i32, ptr %119, i64 %indvars.iv287
  %121 = load i32, ptr %120, align 4, !tbaa !19
  store i32 %121, ptr %90, align 4, !tbaa !26
  br label %129

122:                                              ; preds = %113
  %123 = load ptr, ptr %9, align 8, !tbaa !11
  %124 = getelementptr inbounds i32, ptr %123, i64 %indvars.iv287
  %125 = load i32, ptr %124, align 4, !tbaa !19
  store i32 %125, ptr %89, align 8, !tbaa !27
  br label %129

126:                                              ; preds = %113
  %127 = load ptr, ptr @stderr, align 8, !tbaa !14
  %128 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %127, ptr noundef nonnull @.str.39, i32 noundef %.0159243) #8
  br label %._crit_edge238.thread

129:                                              ; preds = %122, %118, %114
  %130 = icmp slt i32 %.0153245, 0
  %131 = trunc nuw i64 %indvars.iv287 to i32
  %spec.select167 = select i1 %130, i32 %131, i32 %.0153245
  %132 = add nuw nsw i32 %.0159243, 1
  br label %136

133:                                              ; preds = %94
  %134 = load ptr, ptr @stderr, align 8, !tbaa !14
  %135 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %134, ptr noundef nonnull @.str.40, i32 noundef %96) #8
  br label %._crit_edge238.thread

136:                                              ; preds = %109, %129
  %.1162 = phi i32 [ %.0161242, %129 ], [ %112, %109 ]
  %.1160 = phi i32 [ %132, %129 ], [ %.0159243, %109 ]
  %.2158 = phi i32 [ %.0156244, %129 ], [ %spec.select, %109 ]
  %.2155 = phi i32 [ %spec.select167, %129 ], [ %.0153245, %109 ]
  %indvars.iv.next288 = add nuw nsw i64 %indvars.iv287, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next288, %wide.trip.count
  br i1 %exitcond.not, label %137, label %94, !llvm.loop !28

137:                                              ; preds = %136
  %or.cond5 = and i1 %83, %78
  br i1 %or.cond5, label %138, label %225

138:                                              ; preds = %137
  %139 = icmp sgt i32 %.2158, -1
  br i1 %139, label %141, label %140

140:                                              ; preds = %138
  tail call void @__assert_fail(ptr noundef nonnull @.str.41, ptr noundef nonnull @.str.33, i32 noundef 1551, ptr noundef nonnull @__PRETTY_FUNCTION__.build_dyadic_indices_from_names) #9
  unreachable

141:                                              ; preds = %138
  %142 = icmp sgt i32 %.2155, -1
  br i1 %142, label %144, label %143

143:                                              ; preds = %141
  tail call void @__assert_fail(ptr noundef nonnull @.str.42, ptr noundef nonnull @.str.33, i32 noundef 1552, ptr noundef nonnull @__PRETTY_FUNCTION__.build_dyadic_indices_from_names) #9
  unreachable

144:                                              ; preds = %141
  %.not164 = icmp eq i32 %.2158, %.2155
  br i1 %.not164, label %145, label %146

145:                                              ; preds = %144
  tail call void @__assert_fail(ptr noundef nonnull @.str.43, ptr noundef nonnull @.str.33, i32 noundef 1553, ptr noundef nonnull @__PRETTY_FUNCTION__.build_dyadic_indices_from_names) #9
  unreachable

146:                                              ; preds = %144
  %147 = getelementptr inbounds i8, ptr %0, i64 136
  %148 = load ptr, ptr %147, align 8, !tbaa !13
  %149 = zext nneg i32 %.2158 to i64
  %150 = getelementptr inbounds ptr, ptr %148, i64 %149
  %151 = load ptr, ptr %150, align 8, !tbaa !14
  %152 = tail call i32 @get_dyadic_param_type(ptr noundef %151)
  %153 = icmp eq i32 %152, 1
  br i1 %153, label %155, label %154

154:                                              ; preds = %146
  tail call void @__assert_fail(ptr noundef nonnull @.str.44, ptr noundef nonnull @.str.33, i32 noundef 1554, ptr noundef nonnull @__PRETTY_FUNCTION__.build_dyadic_indices_from_names) #9
  unreachable

155:                                              ; preds = %146
  %156 = load ptr, ptr %147, align 8, !tbaa !13
  %157 = zext nneg i32 %.2155 to i64
  %158 = getelementptr inbounds ptr, ptr %156, i64 %157
  %159 = load ptr, ptr %158, align 8, !tbaa !14
  %160 = tail call i32 @get_dyadic_param_type(ptr noundef %159)
  %161 = icmp eq i32 %160, 2
  br i1 %161, label %163, label %162

162:                                              ; preds = %155
  tail call void @__assert_fail(ptr noundef nonnull @.str.45, ptr noundef nonnull @.str.33, i32 noundef 1555, ptr noundef nonnull @__PRETTY_FUNCTION__.build_dyadic_indices_from_names) #9
  unreachable

163:                                              ; preds = %155
  %164 = load i32, ptr %4, align 8, !tbaa !5
  %165 = icmp eq i32 %164, 5
  br i1 %165, label %167, label %166

166:                                              ; preds = %163
  tail call void @__assert_fail(ptr noundef nonnull @.str.46, ptr noundef nonnull @.str.33, i32 noundef 1556, ptr noundef nonnull @__PRETTY_FUNCTION__.build_dyadic_indices_from_names) #9
  unreachable

167:                                              ; preds = %163
  %168 = getelementptr inbounds i8, ptr %0, i64 112
  %169 = load ptr, ptr %168, align 8, !tbaa !17
  %170 = getelementptr inbounds ptr, ptr %169, i64 %149
  %171 = load ptr, ptr %170, align 8, !tbaa !14
  %172 = tail call ptr @safe_strdup(ptr noundef %171) #6
  %173 = load ptr, ptr %147, align 8, !tbaa !13
  %174 = getelementptr inbounds ptr, ptr %173, i64 %149
  %175 = load ptr, ptr %174, align 8, !tbaa !14
  %176 = tail call ptr @safe_strdup(ptr noundef %175) #6
  %177 = getelementptr inbounds i8, ptr %0, i64 104
  %178 = load ptr, ptr %177, align 8, !tbaa !29
  %179 = getelementptr inbounds ptr, ptr %178, i64 %149
  %180 = load ptr, ptr %179, align 8, !tbaa !14
  %181 = load ptr, ptr %168, align 8, !tbaa !17
  %182 = getelementptr inbounds ptr, ptr %181, i64 %157
  %183 = load ptr, ptr %182, align 8, !tbaa !14
  %184 = tail call ptr @safe_strdup(ptr noundef %183) #6
  %185 = load ptr, ptr %147, align 8, !tbaa !13
  %186 = getelementptr inbounds ptr, ptr %185, i64 %157
  %187 = load ptr, ptr %186, align 8, !tbaa !14
  %188 = tail call ptr @safe_strdup(ptr noundef %187) #6
  %189 = load ptr, ptr %177, align 8, !tbaa !29
  %190 = getelementptr inbounds ptr, ptr %189, i64 %157
  %191 = load ptr, ptr %190, align 8, !tbaa !14
  %.not165 = icmp eq i32 %2, 0
  br i1 %.not165, label %199, label %192

192:                                              ; preds = %167
  %193 = getelementptr inbounds i8, ptr %0, i64 144
  %194 = load ptr, ptr %193, align 8, !tbaa !30
  %195 = getelementptr inbounds double, ptr %194, i64 %149
  %196 = load double, ptr %195, align 8, !tbaa !31
  %197 = getelementptr inbounds double, ptr %194, i64 %157
  %198 = load double, ptr %197, align 8, !tbaa !31
  br label %199

199:                                              ; preds = %192, %167
  %.0142 = phi double [ %196, %192 ], [ 0.000000e+00, %167 ]
  %.0 = phi double [ %198, %192 ], [ 0.000000e+00, %167 ]
  %200 = load ptr, ptr %168, align 8, !tbaa !17
  store ptr %172, ptr %200, align 8, !tbaa !14
  %201 = load ptr, ptr %147, align 8, !tbaa !13
  store ptr %176, ptr %201, align 8, !tbaa !14
  %202 = load ptr, ptr %177, align 8, !tbaa !29
  store ptr %180, ptr %202, align 8, !tbaa !14
  %203 = load ptr, ptr %14, align 8, !tbaa !12
  store i32 1, ptr %203, align 4, !tbaa !19
  %204 = load ptr, ptr %168, align 8, !tbaa !17
  %205 = getelementptr inbounds i8, ptr %204, i64 8
  store ptr %184, ptr %205, align 8, !tbaa !14
  %206 = load ptr, ptr %147, align 8, !tbaa !13
  %207 = getelementptr inbounds i8, ptr %206, i64 8
  store ptr %188, ptr %207, align 8, !tbaa !14
  %208 = load ptr, ptr %177, align 8, !tbaa !29
  %209 = getelementptr inbounds i8, ptr %208, i64 8
  store ptr %191, ptr %209, align 8, !tbaa !14
  %210 = load ptr, ptr %14, align 8, !tbaa !12
  %211 = getelementptr inbounds i8, ptr %210, i64 4
  store i32 2, ptr %211, align 4, !tbaa !19
  store i32 2, ptr %4, align 8, !tbaa !5
  %212 = load ptr, ptr %168, align 8, !tbaa !17
  %213 = getelementptr inbounds i8, ptr %212, i64 16
  %214 = load ptr, ptr %213, align 8, !tbaa !14
  tail call void @free(ptr noundef %214) #6
  %215 = load ptr, ptr %168, align 8, !tbaa !17
  %216 = getelementptr inbounds i8, ptr %215, i64 24
  %217 = load ptr, ptr %216, align 8, !tbaa !14
  tail call void @free(ptr noundef %217) #6
  %218 = load ptr, ptr %168, align 8, !tbaa !17
  %219 = getelementptr inbounds i8, ptr %218, i64 32
  %220 = load ptr, ptr %219, align 8, !tbaa !14
  tail call void @free(ptr noundef %220) #6
  br i1 %.not165, label %._crit_edge238.thread, label %221

221:                                              ; preds = %199
  %222 = getelementptr inbounds i8, ptr %0, i64 144
  %223 = load ptr, ptr %222, align 8, !tbaa !30
  store double %.0142, ptr %223, align 8, !tbaa !31
  %224 = getelementptr inbounds i8, ptr %223, i64 8
  store double %.0, ptr %224, align 8, !tbaa !31
  br label %._crit_edge238.thread

225:                                              ; preds = %137
  br i1 %78, label %226, label %250

226:                                              ; preds = %225
  %227 = icmp sgt i32 %.2158, -1
  br i1 %227, label %229, label %228

228:                                              ; preds = %226
  tail call void @__assert_fail(ptr noundef nonnull @.str.41, ptr noundef nonnull @.str.33, i32 noundef 1585, ptr noundef nonnull @__PRETTY_FUNCTION__.build_dyadic_indices_from_names) #9
  unreachable

229:                                              ; preds = %226
  %230 = icmp eq i32 %75, 2
  br i1 %230, label %232, label %231

231:                                              ; preds = %229
  tail call void @__assert_fail(ptr noundef nonnull @.str.47, ptr noundef nonnull @.str.33, i32 noundef 1586, ptr noundef nonnull @__PRETTY_FUNCTION__.build_dyadic_indices_from_names) #9
  unreachable

232:                                              ; preds = %229
  %233 = getelementptr inbounds i8, ptr %0, i64 136
  %234 = load ptr, ptr %233, align 8, !tbaa !13
  %235 = load ptr, ptr %234, align 8, !tbaa !14
  %236 = tail call i32 @get_dyadic_param_type(ptr noundef %235)
  %237 = icmp eq i32 %236, 1
  br i1 %237, label %238, label %244

238:                                              ; preds = %232
  %239 = load ptr, ptr %233, align 8, !tbaa !13
  %240 = getelementptr inbounds i8, ptr %239, i64 8
  %241 = load ptr, ptr %240, align 8, !tbaa !14
  %242 = tail call i32 @get_dyadic_param_type(ptr noundef %241)
  %243 = icmp eq i32 %242, 1
  br i1 %243, label %245, label %244

244:                                              ; preds = %238, %232
  tail call void @__assert_fail(ptr noundef nonnull @.str.48, ptr noundef nonnull @.str.33, i32 noundef 1590, ptr noundef nonnull @__PRETTY_FUNCTION__.build_dyadic_indices_from_names) #9
  unreachable

245:                                              ; preds = %238
  store i32 1, ptr %4, align 8, !tbaa !5
  %246 = getelementptr inbounds i8, ptr %0, i64 112
  %247 = load ptr, ptr %246, align 8, !tbaa !17
  %248 = getelementptr inbounds i8, ptr %247, i64 8
  %249 = load ptr, ptr %248, align 8, !tbaa !14
  tail call void @free(ptr noundef %249) #6
  br label %._crit_edge238.thread

250:                                              ; preds = %225
  br i1 %83, label %251, label %284

251:                                              ; preds = %250
  %252 = icmp sgt i32 %.2155, -1
  br i1 %252, label %254, label %253

253:                                              ; preds = %251
  tail call void @__assert_fail(ptr noundef nonnull @.str.42, ptr noundef nonnull @.str.33, i32 noundef 1595, ptr noundef nonnull @__PRETTY_FUNCTION__.build_dyadic_indices_from_names) #9
  unreachable

254:                                              ; preds = %251
  %255 = icmp eq i32 %75, 3
  br i1 %255, label %257, label %256

256:                                              ; preds = %254
  tail call void @__assert_fail(ptr noundef nonnull @.str.49, ptr noundef nonnull @.str.33, i32 noundef 1596, ptr noundef nonnull @__PRETTY_FUNCTION__.build_dyadic_indices_from_names) #9
  unreachable

257:                                              ; preds = %254
  %258 = getelementptr inbounds i8, ptr %0, i64 136
  %259 = load ptr, ptr %258, align 8, !tbaa !13
  %260 = load ptr, ptr %259, align 8, !tbaa !14
  %261 = tail call i32 @get_dyadic_param_type(ptr noundef %260)
  %262 = icmp eq i32 %261, 2
  br i1 %262, label %263, label %275

263:                                              ; preds = %257
  %264 = load ptr, ptr %258, align 8, !tbaa !13
  %265 = getelementptr inbounds i8, ptr %264, i64 8
  %266 = load ptr, ptr %265, align 8, !tbaa !14
  %267 = tail call i32 @get_dyadic_param_type(ptr noundef %266)
  %268 = icmp eq i32 %267, 2
  br i1 %268, label %269, label %275

269:                                              ; preds = %263
  %270 = load ptr, ptr %258, align 8, !tbaa !13
  %271 = getelementptr inbounds i8, ptr %270, i64 16
  %272 = load ptr, ptr %271, align 8, !tbaa !14
  %273 = tail call i32 @get_dyadic_param_type(ptr noundef %272)
  %274 = icmp eq i32 %273, 2
  br i1 %274, label %276, label %275

275:                                              ; preds = %269, %263, %257
  tail call void @__assert_fail(ptr noundef nonnull @.str.50, ptr noundef nonnull @.str.33, i32 noundef 1602, ptr noundef nonnull @__PRETTY_FUNCTION__.build_dyadic_indices_from_names) #9
  unreachable

276:                                              ; preds = %269
  store i32 1, ptr %4, align 8, !tbaa !5
  %277 = getelementptr inbounds i8, ptr %0, i64 112
  %278 = load ptr, ptr %277, align 8, !tbaa !17
  %279 = getelementptr inbounds i8, ptr %278, i64 8
  %280 = load ptr, ptr %279, align 8, !tbaa !14
  tail call void @free(ptr noundef %280) #6
  %281 = load ptr, ptr %277, align 8, !tbaa !17
  %282 = getelementptr inbounds i8, ptr %281, i64 16
  %283 = load ptr, ptr %282, align 8, !tbaa !14
  tail call void @free(ptr noundef %283) #6
  br label %._crit_edge238.thread

284:                                              ; preds = %250
  tail call void @__assert_fail(ptr noundef nonnull @.str.32, ptr noundef nonnull @.str.33, i32 noundef 1607, ptr noundef nonnull @__PRETTY_FUNCTION__.build_dyadic_indices_from_names) #9
  unreachable

._crit_edge238.thread:                            ; preds = %3, %245, %276, %199, %221, %133, %126, %106, %84, %79, %67, %._crit_edge.thread
  %.0143 = phi i32 [ 1, %67 ], [ 1, %._crit_edge.thread ], [ 1, %79 ], [ 1, %84 ], [ 1, %133 ], [ 1, %126 ], [ 1, %106 ], [ 0, %221 ], [ 0, %199 ], [ 0, %276 ], [ 0, %245 ], [ 0, %3 ]
  ret i32 %.0143
}

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

declare ptr @safe_strdup(ptr noundef) local_unnamed_addr #3

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !7, i64 96}
!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 = !{!6, !10, i64 120}
!12 = !{!6, !10, i64 128}
!13 = !{!6, !10, i64 136}
!14 = !{!10, !10, i64 0}
!15 = !{!16, !7, i64 144}
!16 = !{!"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}
!17 = !{!6, !10, i64 112}
!18 = !{!16, !10, i64 152}
!19 = !{!7, !7, i64 0}
!20 = distinct !{!20, !21}
!21 = !{!"llvm.loop.mustprogress"}
!22 = distinct !{!22, !21}
!23 = !{!16, !7, i64 200}
!24 = !{!16, !7, i64 204}
!25 = !{!16, !7, i64 208}
!26 = !{!16, !7, i64 212}
!27 = !{!16, !7, i64 216}
!28 = distinct !{!28, !21}
!29 = !{!6, !10, i64 104}
!30 = !{!6, !10, i64 144}
!31 = !{!32, !32, i64 0}
!32 = !{!"double", !8, i64 0}


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