; LLVM IR from alexzheng42/sDMD :: src (ToolFunctions)

; 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.ConstraintStr = type { i32, double, ptr, double, ptr }
%struct.DynamicWallStr = type { [16 x i8], i32, i32, double, double, double, double, [4 x double] }
%struct.TunnelStr = type { i32, i32, ptr, ptr, %struct.AtomStr }
%struct.AtomStr = type { ptr, ptr }
%struct.PropertyStr = type { [8 x i8], [2 x [16 x i8]], [8 x i8], i32, i32, i32, double, double, [3 x double], %struct.AtomSeqStr, ptr, ptr }
%struct.AtomSeqStr = type { i32, i32, i32 }
%struct.DynamicStr = type { [4 x i32], [4 x double], [4 x double], %struct.HBStr, %struct.HBNeighborStr, %struct.InteractionEventStr }
%struct.HBStr = type { i32, i32, i8, i32 }
%struct.HBNeighborStr = type { [5 x i32], i32, i32 }
%struct.InteractionEventStr = type { i32, i64, i64, double, double, i32, i32 }
%struct.StepPotenStr = type { double, double, double, ptr }

@.str = external hidden unnamed_addr constant [10 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [47 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [70 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [87 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [3 x i8], align 1
@potentialPairHB = external global [12 x [33 x [33 x %struct.ConstraintStr]]], align 16
@.str.6 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [3 x i8], align 1
@potentialPairCG = external global [33 x [33 x %struct.ConstraintStr]], align 16
@.str.8 = external hidden unnamed_addr constant [53 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [72 x i8], align 1
@wallDyn = external global %struct.DynamicWallStr, align 8
@.str.10 = external hidden unnamed_addr constant [3 x i8], align 1
@tunlObj = external global %struct.TunnelStr, align 8
@.str.11 = external hidden unnamed_addr constant [80 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [82 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [18 x i8], align 1
@warningsum = external global i64, align 8
@.str.14 = external hidden unnamed_addr constant [59 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [57 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [80 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 uwtable
define dso_local i32 @FindPair(ptr noundef %0, ptr noundef %1, ptr noundef %2, double noundef %3, double noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10, i32 noundef %11) #1 {
  %13 = alloca i32, align 4
  %14 = alloca ptr, align 8
  %15 = alloca ptr, align 8
  %16 = alloca ptr, align 8
  %17 = alloca double, align 8
  %18 = alloca double, align 8
  %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 i32, align 4
  %26 = alloca i32, align 4
  %27 = alloca i32, align 4
  %28 = alloca i32, align 4
  %29 = alloca double, align 8
  %30 = alloca ptr, align 8
  %31 = alloca i32, align 4
  %32 = alloca i32, align 4
  %33 = alloca ptr, align 8
  %34 = alloca i32, align 4
  store ptr %0, ptr %14, align 8, !tbaa !5
  store ptr %1, ptr %15, align 8, !tbaa !5
  store ptr %2, ptr %16, align 8, !tbaa !5
  store double %3, ptr %17, align 8, !tbaa !9
  store double %4, ptr %18, align 8, !tbaa !9
  store ptr %5, ptr %19, align 8, !tbaa !5
  store ptr %6, ptr %20, align 8, !tbaa !5
  store ptr %7, ptr %21, align 8, !tbaa !5
  store ptr %8, ptr %22, align 8, !tbaa !5
  store ptr %9, ptr %23, align 8, !tbaa !5
  store ptr %10, ptr %24, align 8, !tbaa !5
  store i32 %11, ptr %25, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #7
  store i32 0, ptr %26, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #7
  store i32 0, ptr %27, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %28) #7
  store i32 -1, ptr %28, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #7
  store ptr null, ptr %30, align 8, !tbaa !5
  %35 = load double, ptr %17, align 8, !tbaa !9
  %36 = fcmp olt double %35, 0.000000e+00
  br i1 %36, label %37, label %38

37:                                               ; preds = %12
  store double 1.000000e+00, ptr %17, align 8, !tbaa !9
  br label %39

38:                                               ; preds = %12
  store double -1.000000e+00, ptr %17, align 8, !tbaa !9
  br label %39

39:                                               ; preds = %38, %37
  %40 = load double, ptr %17, align 8, !tbaa !9
  %41 = fmul double %40, 1.000000e-08
  store double %41, ptr %29, align 8, !tbaa !9
  %42 = load ptr, ptr %16, align 8, !tbaa !5
  %43 = call i32 @strncmp(ptr noundef %42, ptr noundef @.str, i64 noundef 3) #8
  %44 = icmp eq i32 %43, 0
  br i1 %44, label %45, label %87

45:                                               ; preds = %39
  %46 = load i32, ptr %25, align 4, !tbaa !11
  %47 = icmp eq i32 %46, 0
  br i1 %47, label %48, label %54

48:                                               ; preds = %45
  %49 = load ptr, ptr %14, align 8, !tbaa !5
  %50 = getelementptr inbounds %struct.AtomStr, ptr %49, i32 0, i32 0
  %51 = load ptr, ptr %50, align 8, !tbaa !13
  %52 = getelementptr inbounds %struct.PropertyStr, ptr %51, i32 0, i32 4
  %53 = load i32, ptr %52, align 4, !tbaa !15
  store i32 %53, ptr %26, align 4, !tbaa !11
  br label %78

54:                                               ; preds = %45
  %55 = load i32, ptr %25, align 4, !tbaa !11
  %56 = icmp eq i32 %55, 1
  br i1 %56, label %57, label %64

57:                                               ; preds = %54
  %58 = load ptr, ptr %14, align 8, !tbaa !5
  %59 = getelementptr inbounds %struct.AtomStr, ptr %58, i32 0, i32 0
  %60 = load ptr, ptr %59, align 8, !tbaa !13
  %61 = getelementptr inbounds %struct.PropertyStr, ptr %60, i32 0, i32 4
  %62 = load i32, ptr %61, align 4, !tbaa !15
  %63 = call i32 @AtomTypeChange(i32 noundef %62, i32 noundef 1)
  store i32 %63, ptr %26, align 4, !tbaa !11
  br label %77

64:                                               ; preds = %54
  %65 = load i32, ptr %25, align 4, !tbaa !11
  %66 = icmp eq i32 %65, -1
  br i1 %66, label %67, label %74

67:                                               ; preds = %64
  %68 = load ptr, ptr %14, align 8, !tbaa !5
  %69 = getelementptr inbounds %struct.AtomStr, ptr %68, i32 0, i32 0
  %70 = load ptr, ptr %69, align 8, !tbaa !13
  %71 = getelementptr inbounds %struct.PropertyStr, ptr %70, i32 0, i32 4
  %72 = load i32, ptr %71, align 4, !tbaa !15
  %73 = call i32 @AtomTypeChange(i32 noundef %72, i32 noundef 0)
  store i32 %73, ptr %26, align 4, !tbaa !11
  br label %76

74:                                               ; preds = %64
  %75 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.2, i32 noundef 62)
  call void @exit(i32 noundef 1) #9
  unreachable

76:                                               ; preds = %67
  br label %77

77:                                               ; preds = %76, %57
  br label %78

78:                                               ; preds = %77, %48
  %79 = load ptr, ptr %15, align 8, !tbaa !5
  %80 = getelementptr inbounds %struct.AtomStr, ptr %79, i32 0, i32 0
  %81 = load ptr, ptr %80, align 8, !tbaa !13
  %82 = getelementptr inbounds %struct.PropertyStr, ptr %81, i32 0, i32 4
  %83 = load i32, ptr %82, align 4, !tbaa !15
  store i32 %83, ptr %27, align 4, !tbaa !11
  %84 = load i32, ptr %26, align 4, !tbaa !11
  %85 = load i32, ptr %27, align 4, !tbaa !11
  %86 = call ptr @RightPair(i32 noundef %84, i32 noundef %85, i32 noundef 0)
  store ptr %86, ptr %30, align 8, !tbaa !5
  br label %204

87:                                               ; preds = %39
  %88 = load ptr, ptr %16, align 8, !tbaa !5
  %89 = call i32 @strncmp(ptr noundef %88, ptr noundef @.str.3, i64 noundef 3) #8
  %90 = icmp eq i32 %89, 0
  br i1 %90, label %91, label %133

91:                                               ; preds = %87
  %92 = load ptr, ptr %14, align 8, !tbaa !5
  %93 = getelementptr inbounds %struct.AtomStr, ptr %92, i32 0, i32 0
  %94 = load ptr, ptr %93, align 8, !tbaa !13
  %95 = getelementptr inbounds %struct.PropertyStr, ptr %94, i32 0, i32 11
  %96 = load ptr, ptr %95, align 8, !tbaa !18
  store ptr %96, ptr %30, align 8, !tbaa !5
  br label %97

97:                                               ; preds = %131, %91
  %98 = load ptr, ptr %30, align 8, !tbaa !5
  %99 = getelementptr inbounds %struct.ConstraintStr, ptr %98, i32 0, i32 0
  %100 = load i32, ptr %99, align 8, !tbaa !19
  %101 = load ptr, ptr %15, align 8, !tbaa !5
  %102 = getelementptr inbounds %struct.AtomStr, ptr %101, i32 0, i32 0
  %103 = load ptr, ptr %102, align 8, !tbaa !13
  %104 = getelementptr inbounds %struct.PropertyStr, ptr %103, i32 0, i32 3
  %105 = load i32, ptr %104, align 8, !tbaa !21
  %106 = icmp ne i32 %100, %105
  br i1 %106, label %107, label %132

107:                                              ; preds = %97
  %108 = load ptr, ptr %30, align 8, !tbaa !5
  %109 = getelementptr inbounds %struct.ConstraintStr, ptr %108, i32 0, i32 4
  %110 = load ptr, ptr %109, align 8, !tbaa !22
  store ptr %110, ptr %30, align 8, !tbaa !5
  %111 = load ptr, ptr %30, align 8, !tbaa !5
  %112 = icmp eq ptr %111, null
  %113 = xor i1 %112, true
  %114 = xor i1 %113, true
  %115 = zext i1 %114 to i32
  %116 = sext i32 %115 to i64
  %117 = call i64 @llvm.expect.i64(i64 %116, i64 0)
  %118 = icmp ne i64 %117, 0
  br i1 %118, label %119, label %131

119:                                              ; preds = %107
  %120 = load ptr, ptr %14, align 8, !tbaa !5
  %121 = getelementptr inbounds %struct.AtomStr, ptr %120, i32 0, i32 0
  %122 = load ptr, ptr %121, align 8, !tbaa !13
  %123 = getelementptr inbounds %struct.PropertyStr, ptr %122, i32 0, i32 3
  %124 = load i32, ptr %123, align 8, !tbaa !21
  %125 = load ptr, ptr %15, align 8, !tbaa !5
  %126 = getelementptr inbounds %struct.AtomStr, ptr %125, i32 0, i32 0
  %127 = load ptr, ptr %126, align 8, !tbaa !13
  %128 = getelementptr inbounds %struct.PropertyStr, ptr %127, i32 0, i32 3
  %129 = load i32, ptr %128, align 8, !tbaa !21
  %130 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %124, i32 noundef %129, ptr noundef @.str.2, i32 noundef 75)
  br label %131

131:                                              ; preds = %119, %107
  br label %97, !llvm.loop !23

132:                                              ; preds = %97
  br label %203

133:                                              ; preds = %87
  %134 = load ptr, ptr %16, align 8, !tbaa !5
  %135 = call i32 @strncmp(ptr noundef %134, ptr noundef @.str.5, i64 noundef 1) #8
  %136 = icmp eq i32 %135, 0
  br i1 %136, label %137, label %146

137:                                              ; preds = %133
  %138 = load ptr, ptr %14, align 8, !tbaa !5
  %139 = load ptr, ptr %15, align 8, !tbaa !5
  %140 = call i32 @HBModel(ptr noundef %138, ptr noundef %139)
  store i32 %140, ptr %26, align 4, !tbaa !11
  %141 = load i32, ptr %26, align 4, !tbaa !11
  %142 = sext i32 %141 to i64
  %143 = getelementptr inbounds [12 x [33 x [33 x %struct.ConstraintStr]]], ptr @potentialPairHB, i64 0, i64 %142
  %144 = getelementptr inbounds [33 x [33 x %struct.ConstraintStr]], ptr %143, i64 0, i64 0
  %145 = getelementptr inbounds [33 x %struct.ConstraintStr], ptr %144, i64 0, i64 0
  store ptr %145, ptr %30, align 8, !tbaa !5
  br label %202

146:                                              ; preds = %133
  %147 = load ptr, ptr %16, align 8, !tbaa !5
  %148 = call i32 @strncmp(ptr noundef %147, ptr noundef @.str.6, i64 noundef 1) #8
  %149 = icmp eq i32 %148, 0
  br i1 %149, label %150, label %175

150:                                              ; preds = %146
  call void @llvm.lifetime.start.p0(i64 4, ptr %31) #7
  %151 = load ptr, ptr %15, align 8, !tbaa !5
  %152 = load ptr, ptr %24, align 8, !tbaa !5
  %153 = call i32 @HBModel(ptr noundef %151, ptr noundef %152)
  store i32 %153, ptr %31, align 4, !tbaa !11
  %154 = load ptr, ptr %14, align 8, !tbaa !5
  %155 = getelementptr inbounds %struct.AtomStr, ptr %154, i32 0, i32 0
  %156 = load ptr, ptr %155, align 8, !tbaa !13
  %157 = getelementptr inbounds %struct.PropertyStr, ptr %156, i32 0, i32 4
  %158 = load i32, ptr %157, align 4, !tbaa !15
  %159 = call i32 @AtomTypeChange(i32 noundef %158, i32 noundef 0)
  store i32 %159, ptr %26, align 4, !tbaa !11
  %160 = load ptr, ptr %15, align 8, !tbaa !5
  %161 = getelementptr inbounds %struct.AtomStr, ptr %160, i32 0, i32 0
  %162 = load ptr, ptr %161, align 8, !tbaa !13
  %163 = getelementptr inbounds %struct.PropertyStr, ptr %162, i32 0, i32 4
  %164 = load i32, ptr %163, align 4, !tbaa !15
  %165 = call i32 @AtomTypeChange(i32 noundef %164, i32 noundef 0)
  store i32 %165, ptr %27, align 4, !tbaa !11
  %166 = load i32, ptr %31, align 4, !tbaa !11
  %167 = sext i32 %166 to i64
  %168 = getelementptr inbounds [12 x [33 x [33 x %struct.ConstraintStr]]], ptr @potentialPairHB, i64 0, i64 %167
  %169 = load i32, ptr %26, align 4, !tbaa !11
  %170 = sext i32 %169 to i64
  %171 = getelementptr inbounds [33 x [33 x %struct.ConstraintStr]], ptr %168, i64 0, i64 %170
  %172 = load i32, ptr %27, align 4, !tbaa !11
  %173 = sext i32 %172 to i64
  %174 = getelementptr inbounds [33 x %struct.ConstraintStr], ptr %171, i64 0, i64 %173
  store ptr %174, ptr %30, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #7
  br label %201

175:                                              ; preds = %146
  %176 = load ptr, ptr %16, align 8, !tbaa !5
  %177 = call i32 @strncmp(ptr noundef %176, ptr noundef @.str.7, i64 noundef 2) #8
  %178 = icmp eq i32 %177, 0
  br i1 %178, label %179, label %198

179:                                              ; preds = %175
  %180 = load ptr, ptr %14, align 8, !tbaa !5
  %181 = getelementptr inbounds %struct.AtomStr, ptr %180, i32 0, i32 0
  %182 = load ptr, ptr %181, align 8, !tbaa !13
  %183 = getelementptr inbounds %struct.PropertyStr, ptr %182, i32 0, i32 2
  %184 = getelementptr inbounds [8 x i8], ptr %183, i64 0, i64 0
  %185 = call i32 @AAModel(ptr noundef %184)
  store i32 %185, ptr %26, align 4, !tbaa !11
  %186 = load ptr, ptr %15, align 8, !tbaa !5
  %187 = getelementptr inbounds %struct.AtomStr, ptr %186, i32 0, i32 0
  %188 = load ptr, ptr %187, align 8, !tbaa !13
  %189 = getelementptr inbounds %struct.PropertyStr, ptr %188, i32 0, i32 2
  %190 = getelementptr inbounds [8 x i8], ptr %189, i64 0, i64 0
  %191 = call i32 @AAModel(ptr noundef %190)
  store i32 %191, ptr %27, align 4, !tbaa !11
  %192 = load i32, ptr %26, align 4, !tbaa !11
  %193 = sext i32 %192 to i64
  %194 = getelementptr inbounds [33 x [33 x %struct.ConstraintStr]], ptr @potentialPairCG, i64 0, i64 %193
  %195 = load i32, ptr %27, align 4, !tbaa !11
  %196 = sext i32 %195 to i64
  %197 = getelementptr inbounds [33 x %struct.ConstraintStr], ptr %194, i64 0, i64 %196
  store ptr %197, ptr %30, align 8, !tbaa !5
  br label %200

198:                                              ; preds = %175
  %199 = call i32 (ptr, ...) @printf(ptr noundef @.str.8)
  call void @exit(i32 noundef 1) #9
  unreachable

200:                                              ; preds = %179
  br label %201

201:                                              ; preds = %200, %150
  br label %202

202:                                              ; preds = %201, %137
  br label %203

203:                                              ; preds = %202, %132
  br label %204

204:                                              ; preds = %203, %78
  call void @llvm.lifetime.start.p0(i64 4, ptr %32) #7
  %205 = load ptr, ptr %30, align 8, !tbaa !5
  %206 = getelementptr inbounds %struct.ConstraintStr, ptr %205, i32 0, i32 2
  %207 = load ptr, ptr %206, align 8, !tbaa !25
  %208 = icmp eq ptr %207, null
  %209 = zext i1 %208 to i32
  store i32 %209, ptr %32, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #7
  %210 = load ptr, ptr %30, align 8, !tbaa !5
  %211 = getelementptr inbounds %struct.ConstraintStr, ptr %210, i32 0, i32 2
  %212 = load ptr, ptr %211, align 8, !tbaa !25
  store ptr %212, ptr %33, align 8, !tbaa !5
  %213 = load ptr, ptr %30, align 8, !tbaa !5
  %214 = getelementptr inbounds %struct.ConstraintStr, ptr %213, i32 0, i32 1
  %215 = load double, ptr %214, align 8, !tbaa !26
  %216 = fcmp oeq double %215, 0.000000e+00
  %217 = xor i1 %216, true
  %218 = xor i1 %217, true
  %219 = zext i1 %218 to i32
  %220 = sext i32 %219 to i64
  %221 = call i64 @llvm.expect.i64(i64 %220, i64 0)
  %222 = icmp ne i64 %221, 0
  br i1 %222, label %223, label %235

223:                                              ; preds = %204
  %224 = load ptr, ptr %14, align 8, !tbaa !5
  %225 = getelementptr inbounds %struct.AtomStr, ptr %224, i32 0, i32 0
  %226 = load ptr, ptr %225, align 8, !tbaa !13
  %227 = getelementptr inbounds %struct.PropertyStr, ptr %226, i32 0, i32 3
  %228 = load i32, ptr %227, align 8, !tbaa !21
  %229 = load ptr, ptr %15, align 8, !tbaa !5
  %230 = getelementptr inbounds %struct.AtomStr, ptr %229, i32 0, i32 0
  %231 = load ptr, ptr %230, align 8, !tbaa !13
  %232 = getelementptr inbounds %struct.PropertyStr, ptr %231, i32 0, i32 3
  %233 = load i32, ptr %232, align 8, !tbaa !21
  %234 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, i32 noundef %228, i32 noundef %233, ptr noundef @.str.2, i32 noundef 115)
  call void @exit(i32 noundef 1) #9
  unreachable

235:                                              ; preds = %204
  %236 = load double, ptr %18, align 8, !tbaa !9
  %237 = load ptr, ptr %30, align 8, !tbaa !5
  %238 = getelementptr inbounds %struct.ConstraintStr, ptr %237, i32 0, i32 1
  %239 = load double, ptr %238, align 8, !tbaa !26
  %240 = fsub double %239, 1.000000e-08
  %241 = fcmp olt double %236, %240
  br i1 %241, label %242, label %333

242:                                              ; preds = %235
  %243 = load ptr, ptr %19, align 8, !tbaa !5
  store double 1.000000e+08, ptr %243, align 8, !tbaa !9
  %244 = load ptr, ptr %20, align 8, !tbaa !5
  store double 1.000000e+08, ptr %244, align 8, !tbaa !9
  %245 = load ptr, ptr %23, align 8, !tbaa !5
  store double 1.000000e+08, ptr %245, align 8, !tbaa !9
  %246 = load ptr, ptr %21, align 8, !tbaa !5
  store double 0.000000e+00, ptr %246, align 8, !tbaa !9
  %247 = load ptr, ptr %22, align 8, !tbaa !5
  store double 0.000000e+00, ptr %247, align 8, !tbaa !9
  %248 = load ptr, ptr %16, align 8, !tbaa !5
  %249 = call i32 @strcmp(ptr noundef %248, ptr noundef @.str.6) #8
  %250 = icmp eq i32 %249, 0
  br i1 %250, label %251, label %259

251:                                              ; preds = %242
  %252 = load ptr, ptr %15, align 8, !tbaa !5
  %253 = getelementptr inbounds %struct.AtomStr, ptr %252, i32 0, i32 1
  %254 = load ptr, ptr %253, align 8, !tbaa !27
  %255 = getelementptr inbounds %struct.DynamicStr, ptr %254, i32 0, i32 3
  %256 = getelementptr inbounds %struct.HBStr, ptr %255, i32 0, i32 0
  %257 = load i32, ptr %256, align 8, !tbaa !28
  %258 = icmp eq i32 %257, 0
  br i1 %258, label %278, label %259

259:                                              ; preds = %251, %242
  %260 = load ptr, ptr %16, align 8, !tbaa !5
  %261 = call i32 @strcmp(ptr noundef %260, ptr noundef @.str.5) #8
  %262 = icmp eq i32 %261, 0
  br i1 %262, label %263, label %271

263:                                              ; preds = %259
  %264 = load ptr, ptr %14, align 8, !tbaa !5
  %265 = getelementptr inbounds %struct.AtomStr, ptr %264, i32 0, i32 1
  %266 = load ptr, ptr %265, align 8, !tbaa !27
  %267 = getelementptr inbounds %struct.DynamicStr, ptr %266, i32 0, i32 3
  %268 = getelementptr inbounds %struct.HBStr, ptr %267, i32 0, i32 0
  %269 = load i32, ptr %268, align 8, !tbaa !28
  %270 = icmp eq i32 %269, 0
  br i1 %270, label %278, label %271

271:                                              ; preds = %263, %259
  %272 = call i32 @strcmp(ptr noundef @wallDyn, ptr noundef @.str.10) #8
  %273 = icmp ne i32 %272, 0
  br i1 %273, label %278, label %274

274:                                              ; preds = %271
  %275 = load i32, ptr @tunlObj, align 8, !tbaa !34
  %276 = icmp ne i32 %275, 0
  %277 = xor i1 %276, true
  br label %278

278:                                              ; preds = %274, %271, %263, %251
  %279 = phi i1 [ false, %271 ], [ false, %263 ], [ false, %251 ], [ %277, %274 ]
  %280 = xor i1 %279, true
  %281 = xor i1 %280, true
  %282 = zext i1 %281 to i32
  %283 = sext i32 %282 to i64
  %284 = call i64 @llvm.expect.i64(i64 %283, i64 0)
  %285 = icmp ne i64 %284, 0
  br i1 %285, label %286, label %331

286:                                              ; preds = %278
  %287 = load ptr, ptr %14, align 8, !tbaa !5
  %288 = getelementptr inbounds %struct.AtomStr, ptr %287, i32 0, i32 0
  %289 = load ptr, ptr %288, align 8, !tbaa !13
  %290 = getelementptr inbounds %struct.PropertyStr, ptr %289, i32 0, i32 3
  %291 = load i32, ptr %290, align 8, !tbaa !21
  %292 = load ptr, ptr %14, align 8, !tbaa !5
  %293 = getelementptr inbounds %struct.AtomStr, ptr %292, i32 0, i32 0
  %294 = load ptr, ptr %293, align 8, !tbaa !13
  %295 = getelementptr inbounds %struct.PropertyStr, ptr %294, i32 0, i32 9
  %296 = getelementptr inbounds %struct.AtomSeqStr, ptr %295, i32 0, i32 2
  %297 = load i32, ptr %296, align 8, !tbaa !36
  %298 = load ptr, ptr %14, align 8, !tbaa !5
  %299 = getelementptr inbounds %struct.AtomStr, ptr %298, i32 0, i32 0
  %300 = load ptr, ptr %299, align 8, !tbaa !13
  %301 = getelementptr inbounds %struct.PropertyStr, ptr %300, i32 0, i32 0
  %302 = getelementptr inbounds [8 x i8], ptr %301, i64 0, i64 0
  %303 = load ptr, ptr %15, align 8, !tbaa !5
  %304 = getelementptr inbounds %struct.AtomStr, ptr %303, i32 0, i32 0
  %305 = load ptr, ptr %304, align 8, !tbaa !13
  %306 = getelementptr inbounds %struct.PropertyStr, ptr %305, i32 0, i32 3
  %307 = load i32, ptr %306, align 8, !tbaa !21
  %308 = load ptr, ptr %15, align 8, !tbaa !5
  %309 = getelementptr inbounds %struct.AtomStr, ptr %308, i32 0, i32 0
  %310 = load ptr, ptr %309, align 8, !tbaa !13
  %311 = getelementptr inbounds %struct.PropertyStr, ptr %310, i32 0, i32 9
  %312 = getelementptr inbounds %struct.AtomSeqStr, ptr %311, i32 0, i32 2
  %313 = load i32, ptr %312, align 8, !tbaa !36
  %314 = load ptr, ptr %15, align 8, !tbaa !5
  %315 = getelementptr inbounds %struct.AtomStr, ptr %314, i32 0, i32 0
  %316 = load ptr, ptr %315, align 8, !tbaa !13
  %317 = getelementptr inbounds %struct.PropertyStr, ptr %316, i32 0, i32 0
  %318 = getelementptr inbounds [8 x i8], ptr %317, i64 0, i64 0
  %319 = call i32 (ptr, ...) @printf(ptr noundef @.str.11, i32 noundef %291, i32 noundef %297, ptr noundef %302, i32 noundef %307, i32 noundef %313, ptr noundef %318)
  %320 = load ptr, ptr %16, align 8, !tbaa !5
  %321 = load double, ptr %18, align 8, !tbaa !9
  %322 = call double @sqrt(double noundef %321) #7
  %323 = load ptr, ptr %30, align 8, !tbaa !5
  %324 = getelementptr inbounds %struct.ConstraintStr, ptr %323, i32 0, i32 1
  %325 = load double, ptr %324, align 8, !tbaa !26
  %326 = call double @sqrt(double noundef %325) #7
  %327 = call i32 (ptr, ...) @printf(ptr noundef @.str.12, ptr noundef %320, double noundef %322, double noundef %326)
  %328 = call i32 (ptr, ...) @printf(ptr noundef @.str.13, ptr noundef @.str.2, i32 noundef 135)
  %329 = load i64, ptr @warningsum, align 8, !tbaa !37
  %330 = add nsw i64 %329, 1
  store i64 %330, ptr @warningsum, align 8, !tbaa !37
  br label %331

331:                                              ; preds = %286, %278
  %332 = load i32, ptr %28, align 4, !tbaa !11
  store i32 %332, ptr %13, align 4
  store i32 1, ptr %34, align 4
  br label %597

333:                                              ; preds = %235
  %334 = load ptr, ptr %30, align 8, !tbaa !5
  %335 = getelementptr inbounds %struct.ConstraintStr, ptr %334, i32 0, i32 1
  %336 = load double, ptr %335, align 8, !tbaa !26
  %337 = load ptr, ptr %19, align 8, !tbaa !5
  store double %336, ptr %337, align 8, !tbaa !9
  %338 = load ptr, ptr %21, align 8, !tbaa !5
  store double 0.000000e+00, ptr %338, align 8, !tbaa !9
  br label %339

339:                                              ; preds = %421, %333
  %340 = load ptr, ptr %33, align 8, !tbaa !5
  %341 = icmp ne ptr %340, null
  br i1 %341, label %342, label %347

342:                                              ; preds = %339
  %343 = load ptr, ptr %33, align 8, !tbaa !5
  %344 = getelementptr inbounds %struct.StepPotenStr, ptr %343, i32 0, i32 0
  %345 = load double, ptr %344, align 8, !tbaa !38
  %346 = fcmp une double %345, 0.000000e+00
  br label %347

347:                                              ; preds = %342, %339
  %348 = phi i1 [ false, %339 ], [ %346, %342 ]
  br i1 %348, label %349, label %433

349:                                              ; preds = %347
  %350 = load double, ptr %18, align 8, !tbaa !9
  %351 = load ptr, ptr %33, align 8, !tbaa !5
  %352 = getelementptr inbounds %struct.StepPotenStr, ptr %351, i32 0, i32 0
  %353 = load double, ptr %352, align 8, !tbaa !38
  %354 = load double, ptr %29, align 8, !tbaa !9
  %355 = fadd double %353, %354
  %356 = fcmp olt double %350, %355
  br i1 %356, label %357, label %421

357:                                              ; preds = %349
  %358 = load ptr, ptr %33, align 8, !tbaa !5
  %359 = getelementptr inbounds %struct.StepPotenStr, ptr %358, i32 0, i32 0
  %360 = load double, ptr %359, align 8, !tbaa !38
  %361 = load ptr, ptr %20, align 8, !tbaa !5
  store double %360, ptr %361, align 8, !tbaa !9
  %362 = load ptr, ptr %33, align 8, !tbaa !5
  %363 = getelementptr inbounds %struct.StepPotenStr, ptr %362, i32 0, i32 1
  %364 = load double, ptr %363, align 8, !tbaa !40
  %365 = fmul double -1.000000e+00, %364
  %366 = load ptr, ptr %22, align 8, !tbaa !5
  store double %365, ptr %366, align 8, !tbaa !9
  %367 = load ptr, ptr %33, align 8, !tbaa !5
  %368 = getelementptr inbounds %struct.StepPotenStr, ptr %367, i32 0, i32 2
  %369 = load double, ptr %368, align 8, !tbaa !41
  %370 = load ptr, ptr %23, align 8, !tbaa !5
  store double %369, ptr %370, align 8, !tbaa !9
  %371 = load ptr, ptr %33, align 8, !tbaa !5
  %372 = load ptr, ptr %30, align 8, !tbaa !5
  %373 = getelementptr inbounds %struct.ConstraintStr, ptr %372, i32 0, i32 2
  %374 = load ptr, ptr %373, align 8, !tbaa !25
  %375 = icmp eq ptr %371, %374
  br i1 %375, label %376, label %378

376:                                              ; preds = %357
  store i32 0, ptr %28, align 4, !tbaa !11
  %377 = load i32, ptr %28, align 4, !tbaa !11
  store i32 %377, ptr %13, align 4
  store i32 1, ptr %34, align 4
  br label %597

378:                                              ; preds = %357
  %379 = load ptr, ptr %16, align 8, !tbaa !5
  %380 = call i32 @strcmp(ptr noundef %379, ptr noundef @.str.5) #8
  %381 = icmp eq i32 %380, 0
  br i1 %381, label %382, label %397

382:                                              ; preds = %378
  %383 = load ptr, ptr %33, align 8, !tbaa !5
  %384 = getelementptr inbounds %struct.StepPotenStr, ptr %383, i32 0, i32 3
  %385 = load ptr, ptr %384, align 8, !tbaa !42
  %386 = icmp eq ptr %385, null
  br i1 %386, label %387, label %397

387:                                              ; preds = %382
  %388 = load ptr, ptr %14, align 8, !tbaa !5
  %389 = getelementptr inbounds %struct.AtomStr, ptr %388, i32 0, i32 1
  %390 = load ptr, ptr %389, align 8, !tbaa !27
  %391 = getelementptr inbounds %struct.DynamicStr, ptr %390, i32 0, i32 3
  %392 = getelementptr inbounds %struct.HBStr, ptr %391, i32 0, i32 0
  %393 = load i32, ptr %392, align 8, !tbaa !28
  %394 = icmp sgt i32 %393, 0
  br i1 %394, label %395, label %397

395:                                              ; preds = %387
  store i32 1, ptr %28, align 4, !tbaa !11
  %396 = load i32, ptr %28, align 4, !tbaa !11
  store i32 %396, ptr %13, align 4
  store i32 1, ptr %34, align 4
  br label %597

397:                                              ; preds = %387, %382, %378
  %398 = load ptr, ptr %16, align 8, !tbaa !5
  %399 = call i32 @strcmp(ptr noundef %398, ptr noundef @.str.6) #8
  %400 = icmp eq i32 %399, 0
  br i1 %400, label %401, label %417

401:                                              ; preds = %397
  %402 = load ptr, ptr %33, align 8, !tbaa !5
  %403 = getelementptr inbounds %struct.StepPotenStr, ptr %402, i32 0, i32 3
  %404 = load ptr, ptr %403, align 8, !tbaa !42
  %405 = icmp eq ptr %404, null
  br i1 %405, label %406, label %417

406:                                              ; preds = %401
  %407 = load ptr, ptr %15, align 8, !tbaa !5
  %408 = getelementptr inbounds %struct.AtomStr, ptr %407, i32 0, i32 1
  %409 = load ptr, ptr %408, align 8, !tbaa !27
  %410 = getelementptr inbounds %struct.DynamicStr, ptr %409, i32 0, i32 3
  %411 = getelementptr inbounds %struct.HBStr, ptr %410, i32 0, i32 0
  %412 = load i32, ptr %411, align 8, !tbaa !28
  %413 = icmp sgt i32 %412, 0
  br i1 %413, label %414, label %417

414:                                              ; preds = %406
  %415 = load ptr, ptr %22, align 8, !tbaa !5
  store double 0.000000e+00, ptr %415, align 8, !tbaa !9
  store i32 1, ptr %28, align 4, !tbaa !11
  %416 = load i32, ptr %28, align 4, !tbaa !11
  store i32 %416, ptr %13, align 4
  store i32 1, ptr %34, align 4
  br label %597

417:                                              ; preds = %406, %401, %397
  br label %418

418:                                              ; preds = %417
  br label %419

419:                                              ; preds = %418
  %420 = load i32, ptr %28, align 4, !tbaa !11
  store i32 %420, ptr %13, align 4
  store i32 1, ptr %34, align 4
  br label %597

421:                                              ; preds = %349
  %422 = load ptr, ptr %33, align 8, !tbaa !5
  %423 = getelementptr inbounds %struct.StepPotenStr, ptr %422, i32 0, i32 0
  %424 = load double, ptr %423, align 8, !tbaa !38
  %425 = load ptr, ptr %19, align 8, !tbaa !5
  store double %424, ptr %425, align 8, !tbaa !9
  %426 = load ptr, ptr %33, align 8, !tbaa !5
  %427 = getelementptr inbounds %struct.StepPotenStr, ptr %426, i32 0, i32 1
  %428 = load double, ptr %427, align 8, !tbaa !40
  %429 = load ptr, ptr %21, align 8, !tbaa !5
  store double %428, ptr %429, align 8, !tbaa !9
  %430 = load ptr, ptr %33, align 8, !tbaa !5
  %431 = getelementptr inbounds %struct.StepPotenStr, ptr %430, i32 0, i32 3
  %432 = load ptr, ptr %431, align 8, !tbaa !42
  store ptr %432, ptr %33, align 8, !tbaa !5
  br label %339, !llvm.loop !43

433:                                              ; preds = %347
  %434 = load ptr, ptr %16, align 8, !tbaa !5
  %435 = call i32 @strcmp(ptr noundef %434, ptr noundef @.str.5) #8
  %436 = icmp eq i32 %435, 0
  br i1 %436, label %437, label %445

437:                                              ; preds = %433
  %438 = load ptr, ptr %14, align 8, !tbaa !5
  %439 = getelementptr inbounds %struct.AtomStr, ptr %438, i32 0, i32 1
  %440 = load ptr, ptr %439, align 8, !tbaa !27
  %441 = getelementptr inbounds %struct.DynamicStr, ptr %440, i32 0, i32 3
  %442 = getelementptr inbounds %struct.HBStr, ptr %441, i32 0, i32 0
  %443 = load i32, ptr %442, align 8, !tbaa !28
  %444 = icmp sgt i32 %443, 0
  br label %445

445:                                              ; preds = %437, %433
  %446 = phi i1 [ false, %433 ], [ %444, %437 ]
  %447 = xor i1 %446, true
  %448 = xor i1 %447, true
  %449 = zext i1 %448 to i32
  %450 = sext i32 %449 to i64
  %451 = call i64 @llvm.expect.i64(i64 %450, i64 0)
  %452 = icmp ne i64 %451, 0
  br i1 %452, label %453, label %476

453:                                              ; preds = %445
  %454 = load ptr, ptr %14, align 8, !tbaa !5
  %455 = getelementptr inbounds %struct.AtomStr, ptr %454, i32 0, i32 0
  %456 = load ptr, ptr %455, align 8, !tbaa !13
  %457 = getelementptr inbounds %struct.PropertyStr, ptr %456, i32 0, i32 9
  %458 = getelementptr inbounds %struct.AtomSeqStr, ptr %457, i32 0, i32 0
  %459 = load i32, ptr %458, align 8, !tbaa !44
  %460 = load ptr, ptr %15, align 8, !tbaa !5
  %461 = getelementptr inbounds %struct.AtomStr, ptr %460, i32 0, i32 0
  %462 = load ptr, ptr %461, align 8, !tbaa !13
  %463 = getelementptr inbounds %struct.PropertyStr, ptr %462, i32 0, i32 9
  %464 = getelementptr inbounds %struct.AtomSeqStr, ptr %463, i32 0, i32 0
  %465 = load i32, ptr %464, align 8, !tbaa !44
  %466 = call i32 (ptr, ...) @printf(ptr noundef @.str.14, i32 noundef %459, i32 noundef %465)
  %467 = load double, ptr %18, align 8, !tbaa !9
  %468 = call double @sqrt(double noundef %467) #7
  %469 = load ptr, ptr %20, align 8, !tbaa !5
  %470 = load double, ptr %469, align 8, !tbaa !9
  %471 = call double @sqrt(double noundef %470) #7
  %472 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, double noundef %468, double noundef %471)
  %473 = call i32 (ptr, ...) @printf(ptr noundef @.str.13, ptr noundef @.str.2, i32 noundef 176)
  %474 = load i64, ptr @warningsum, align 8, !tbaa !37
  %475 = add nsw i64 %474, 1
  store i64 %475, ptr @warningsum, align 8, !tbaa !37
  br label %476

476:                                              ; preds = %453, %445
  %477 = load ptr, ptr %30, align 8, !tbaa !5
  %478 = getelementptr inbounds %struct.ConstraintStr, ptr %477, i32 0, i32 3
  %479 = load double, ptr %478, align 8, !tbaa !45
  %480 = fcmp ogt double %479, 0.000000e+00
  br i1 %480, label %481, label %590

481:                                              ; preds = %476
  %482 = load double, ptr %18, align 8, !tbaa !9
  %483 = load ptr, ptr %30, align 8, !tbaa !5
  %484 = getelementptr inbounds %struct.ConstraintStr, ptr %483, i32 0, i32 3
  %485 = load double, ptr %484, align 8, !tbaa !45
  %486 = fadd double %485, 1.000000e-08
  %487 = fcmp olt double %482, %486
  br i1 %487, label %488, label %503

488:                                              ; preds = %481
  %489 = load ptr, ptr %30, align 8, !tbaa !5
  %490 = getelementptr inbounds %struct.ConstraintStr, ptr %489, i32 0, i32 3
  %491 = load double, ptr %490, align 8, !tbaa !45
  %492 = load ptr, ptr %20, align 8, !tbaa !5
  store double %491, ptr %492, align 8, !tbaa !9
  %493 = load ptr, ptr %22, align 8, !tbaa !5
  store double 0.000000e+00, ptr %493, align 8, !tbaa !9
  %494 = load ptr, ptr %23, align 8, !tbaa !5
  store double 0.000000e+00, ptr %494, align 8, !tbaa !9
  store i32 1, ptr %28, align 4, !tbaa !11
  %495 = load i32, ptr %32, align 4, !tbaa !11
  %496 = icmp eq i32 %495, 1
  br i1 %496, label %497, label %501

497:                                              ; preds = %488
  %498 = load double, ptr %17, align 8, !tbaa !9
  %499 = fcmp oeq double %498, 1.000000e+00
  br i1 %499, label %500, label %501

500:                                              ; preds = %497
  store i32 0, ptr %28, align 4, !tbaa !11
  br label %501

501:                                              ; preds = %500, %497, %488
  %502 = load i32, ptr %28, align 4, !tbaa !11
  store i32 %502, ptr %13, align 4
  store i32 1, ptr %34, align 4
  br label %597

503:                                              ; preds = %481
  %504 = load ptr, ptr %19, align 8, !tbaa !5
  store double 1.000000e+08, ptr %504, align 8, !tbaa !9
  %505 = load ptr, ptr %20, align 8, !tbaa !5
  store double 1.000000e+08, ptr %505, align 8, !tbaa !9
  %506 = load ptr, ptr %23, align 8, !tbaa !5
  store double 1.000000e+08, ptr %506, align 8, !tbaa !9
  %507 = load ptr, ptr %21, align 8, !tbaa !5
  store double 0.000000e+00, ptr %507, align 8, !tbaa !9
  %508 = load ptr, ptr %22, align 8, !tbaa !5
  store double 0.000000e+00, ptr %508, align 8, !tbaa !9
  %509 = load ptr, ptr %16, align 8, !tbaa !5
  %510 = call i32 @strcmp(ptr noundef %509, ptr noundef @.str.6) #8
  %511 = icmp eq i32 %510, 0
  br i1 %511, label %512, label %520

512:                                              ; preds = %503
  %513 = load ptr, ptr %15, align 8, !tbaa !5
  %514 = getelementptr inbounds %struct.AtomStr, ptr %513, i32 0, i32 1
  %515 = load ptr, ptr %514, align 8, !tbaa !27
  %516 = getelementptr inbounds %struct.DynamicStr, ptr %515, i32 0, i32 3
  %517 = getelementptr inbounds %struct.HBStr, ptr %516, i32 0, i32 0
  %518 = load i32, ptr %517, align 8, !tbaa !28
  %519 = icmp eq i32 %518, 0
  br i1 %519, label %535, label %520

520:                                              ; preds = %512, %503
  %521 = load ptr, ptr %16, align 8, !tbaa !5
  %522 = call i32 @strcmp(ptr noundef %521, ptr noundef @.str.5) #8
  %523 = icmp eq i32 %522, 0
  br i1 %523, label %524, label %532

524:                                              ; preds = %520
  %525 = load ptr, ptr %14, align 8, !tbaa !5
  %526 = getelementptr inbounds %struct.AtomStr, ptr %525, i32 0, i32 1
  %527 = load ptr, ptr %526, align 8, !tbaa !27
  %528 = getelementptr inbounds %struct.DynamicStr, ptr %527, i32 0, i32 3
  %529 = getelementptr inbounds %struct.HBStr, ptr %528, i32 0, i32 0
  %530 = load i32, ptr %529, align 8, !tbaa !28
  %531 = icmp eq i32 %530, 0
  br label %532

532:                                              ; preds = %524, %520
  %533 = phi i1 [ false, %520 ], [ %531, %524 ]
  %534 = xor i1 %533, true
  br label %535

535:                                              ; preds = %532, %512
  %536 = phi i1 [ false, %512 ], [ %534, %532 ]
  %537 = xor i1 %536, true
  %538 = xor i1 %537, true
  %539 = zext i1 %538 to i32
  %540 = sext i32 %539 to i64
  %541 = call i64 @llvm.expect.i64(i64 %540, i64 0)
  %542 = icmp ne i64 %541, 0
  br i1 %542, label %543, label %588

543:                                              ; preds = %535
  %544 = load ptr, ptr %14, align 8, !tbaa !5
  %545 = getelementptr inbounds %struct.AtomStr, ptr %544, i32 0, i32 0
  %546 = load ptr, ptr %545, align 8, !tbaa !13
  %547 = getelementptr inbounds %struct.PropertyStr, ptr %546, i32 0, i32 3
  %548 = load i32, ptr %547, align 8, !tbaa !21
  %549 = load ptr, ptr %14, align 8, !tbaa !5
  %550 = getelementptr inbounds %struct.AtomStr, ptr %549, i32 0, i32 0
  %551 = load ptr, ptr %550, align 8, !tbaa !13
  %552 = getelementptr inbounds %struct.PropertyStr, ptr %551, i32 0, i32 9
  %553 = getelementptr inbounds %struct.AtomSeqStr, ptr %552, i32 0, i32 2
  %554 = load i32, ptr %553, align 8, !tbaa !36
  %555 = load ptr, ptr %14, align 8, !tbaa !5
  %556 = getelementptr inbounds %struct.AtomStr, ptr %555, i32 0, i32 0
  %557 = load ptr, ptr %556, align 8, !tbaa !13
  %558 = getelementptr inbounds %struct.PropertyStr, ptr %557, i32 0, i32 0
  %559 = getelementptr inbounds [8 x i8], ptr %558, i64 0, i64 0
  %560 = load ptr, ptr %15, align 8, !tbaa !5
  %561 = getelementptr inbounds %struct.AtomStr, ptr %560, i32 0, i32 0
  %562 = load ptr, ptr %561, align 8, !tbaa !13
  %563 = getelementptr inbounds %struct.PropertyStr, ptr %562, i32 0, i32 3
  %564 = load i32, ptr %563, align 8, !tbaa !21
  %565 = load ptr, ptr %15, align 8, !tbaa !5
  %566 = getelementptr inbounds %struct.AtomStr, ptr %565, i32 0, i32 0
  %567 = load ptr, ptr %566, align 8, !tbaa !13
  %568 = getelementptr inbounds %struct.PropertyStr, ptr %567, i32 0, i32 9
  %569 = getelementptr inbounds %struct.AtomSeqStr, ptr %568, i32 0, i32 2
  %570 = load i32, ptr %569, align 8, !tbaa !36
  %571 = load ptr, ptr %15, align 8, !tbaa !5
  %572 = getelementptr inbounds %struct.AtomStr, ptr %571, i32 0, i32 0
  %573 = load ptr, ptr %572, align 8, !tbaa !13
  %574 = getelementptr inbounds %struct.PropertyStr, ptr %573, i32 0, i32 0
  %575 = getelementptr inbounds [8 x i8], ptr %574, i64 0, i64 0
  %576 = call i32 (ptr, ...) @printf(ptr noundef @.str.16, i32 noundef %548, i32 noundef %554, ptr noundef %559, i32 noundef %564, i32 noundef %570, ptr noundef %575)
  %577 = load ptr, ptr %16, align 8, !tbaa !5
  %578 = load double, ptr %18, align 8, !tbaa !9
  %579 = call double @sqrt(double noundef %578) #7
  %580 = load ptr, ptr %30, align 8, !tbaa !5
  %581 = getelementptr inbounds %struct.ConstraintStr, ptr %580, i32 0, i32 3
  %582 = load double, ptr %581, align 8, !tbaa !45
  %583 = call double @sqrt(double noundef %582) #7
  %584 = call i32 (ptr, ...) @printf(ptr noundef @.str.12, ptr noundef %577, double noundef %579, double noundef %583)
  %585 = call i32 (ptr, ...) @printf(ptr noundef @.str.13, ptr noundef @.str.2, i32 noundef 208)
  %586 = load i64, ptr @warningsum, align 8, !tbaa !37
  %587 = add nsw i64 %586, 1
  store i64 %587, ptr @warningsum, align 8, !tbaa !37
  br label %588

588:                                              ; preds = %543, %535
  br label %589

589:                                              ; preds = %588
  br label %595

590:                                              ; preds = %476
  %591 = load ptr, ptr %20, align 8, !tbaa !5
  store double 1.000000e+08, ptr %591, align 8, !tbaa !9
  %592 = load ptr, ptr %22, align 8, !tbaa !5
  store double 1.000000e+08, ptr %592, align 8, !tbaa !9
  %593 = load ptr, ptr %23, align 8, !tbaa !5
  store double 1.000000e+08, ptr %593, align 8, !tbaa !9
  store i32 1, ptr %28, align 4, !tbaa !11
  %594 = load i32, ptr %28, align 4, !tbaa !11
  store i32 %594, ptr %13, align 4
  store i32 1, ptr %34, align 4
  br label %597

595:                                              ; preds = %589
  %596 = load i32, ptr %28, align 4, !tbaa !11
  store i32 %596, ptr %13, align 4
  store i32 1, ptr %34, align 4
  br label %597

597:                                              ; preds = %595, %590, %501, %419, %414, %395, %376, %331
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #7
  %598 = load i32, ptr %13, align 4
  ret i32 %598
}

; Function Attrs: nounwind willreturn memory(read)
declare i32 @strncmp(ptr noundef, ptr noundef, i64 noundef) #2

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

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

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

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

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(none)
declare i64 @llvm.expect.i64(i64, i64) #5

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

declare i32 @AAModel(ptr noundef) #3

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

; Function Attrs: nounwind
declare double @sqrt(double noundef) #6

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"double", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!14, !6, i64 0}
!14 = !{!"AtomStr", !6, i64 0, !6, i64 8}
!15 = !{!16, !12, i64 52}
!16 = !{!"PropertyStr", !7, i64 0, !7, i64 8, !7, i64 40, !12, i64 48, !12, i64 52, !12, i64 56, !10, i64 64, !10, i64 72, !7, i64 80, !17, i64 104, !6, i64 120, !6, i64 128}
!17 = !{!"AtomSeqStr", !12, i64 0, !12, i64 4, !12, i64 8}
!18 = !{!16, !6, i64 128}
!19 = !{!20, !12, i64 0}
!20 = !{!"ConstraintStr", !12, i64 0, !10, i64 8, !6, i64 16, !10, i64 24, !6, i64 32}
!21 = !{!16, !12, i64 48}
!22 = !{!20, !6, i64 32}
!23 = distinct !{!23, !24}
!24 = !{!"llvm.loop.mustprogress"}
!25 = !{!20, !6, i64 16}
!26 = !{!20, !10, i64 8}
!27 = !{!14, !6, i64 8}
!28 = !{!29, !12, i64 80}
!29 = !{!"DynamicStr", !7, i64 0, !7, i64 16, !7, i64 48, !30, i64 80, !31, i64 96, !32, i64 128}
!30 = !{!"HBStr", !12, i64 0, !12, i64 4, !7, i64 8, !12, i64 12}
!31 = !{!"HBNeighborStr", !7, i64 0, !12, i64 20, !12, i64 24}
!32 = !{!"InteractionEventStr", !12, i64 0, !33, i64 8, !33, i64 16, !10, i64 24, !10, i64 32, !12, i64 40, !12, i64 44}
!33 = !{!"long", !7, i64 0}
!34 = !{!35, !12, i64 0}
!35 = !{!"TunnelStr", !12, i64 0, !12, i64 4, !6, i64 8, !6, i64 16, !14, i64 24}
!36 = !{!16, !12, i64 112}
!37 = !{!33, !33, i64 0}
!38 = !{!39, !10, i64 0}
!39 = !{!"StepPotenStr", !10, i64 0, !10, i64 8, !10, i64 16, !6, i64 24}
!40 = !{!39, !10, i64 8}
!41 = !{!39, !10, i64 16}
!42 = !{!39, !6, i64 24}
!43 = distinct !{!43, !24}
!44 = !{!16, !12, i64 104}
!45 = !{!20, !10, i64 24}


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

%struct.ConstraintStr = type { i32, double, ptr, double, ptr }
%struct.DynamicWallStr = type { [16 x i8], i32, i32, double, double, double, double, [4 x double] }
%struct.TunnelStr = type { i32, i32, ptr, ptr, %struct.AtomStr }
%struct.AtomStr = type { ptr, ptr }

@.str = external hidden unnamed_addr constant [10 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [47 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [70 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [87 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [3 x i8], align 1
@potentialPairHB = external local_unnamed_addr global [12 x [33 x [33 x %struct.ConstraintStr]]], align 16
@.str.6 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [3 x i8], align 1
@potentialPairCG = external local_unnamed_addr global [33 x [33 x %struct.ConstraintStr]], align 16
@.str.8 = external hidden unnamed_addr constant [53 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [72 x i8], align 1
@wallDyn = external global %struct.DynamicWallStr, align 8
@.str.10 = external hidden unnamed_addr constant [3 x i8], align 1
@tunlObj = external local_unnamed_addr global %struct.TunnelStr, align 8
@.str.11 = external hidden unnamed_addr constant [80 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [82 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [18 x i8], align 1
@warningsum = external local_unnamed_addr global i64, align 8
@.str.14 = external hidden unnamed_addr constant [59 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [57 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [80 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local range(i32 -1, 2) i32 @FindPair(ptr noundef %0, ptr noundef %1, ptr noundef %2, double noundef %3, double noundef %4, ptr nocapture noundef writeonly %5, ptr nocapture noundef %6, ptr nocapture noundef writeonly %7, ptr nocapture noundef writeonly %8, ptr nocapture noundef writeonly %9, ptr noundef %10, i32 noundef %11) local_unnamed_addr #0 {
  %13 = fcmp olt double %3, 0.000000e+00
  %. = select i1 %13, double 1.000000e+00, double -1.000000e+00
  %14 = fmul double %., 1.000000e-08
  %15 = tail call i32 @strncmp(ptr noundef nonnull dereferenceable(1) %2, ptr noundef nonnull dereferenceable(1) @.str, i64 noundef 3) #6
  %16 = icmp eq i32 %15, 0
  br i1 %16, label %17, label %39

17:                                               ; preds = %12
  switch i32 %11, label %32 [
    i32 0, label %18
    i32 1, label %22
    i32 -1, label %27
  ]

18:                                               ; preds = %17
  %19 = load ptr, ptr %0, align 8, !tbaa !5
  %20 = getelementptr inbounds i8, ptr %19, i64 52
  %21 = load i32, ptr %20, align 4, !tbaa !10
  br label %34

22:                                               ; preds = %17
  %23 = load ptr, ptr %0, align 8, !tbaa !5
  %24 = getelementptr inbounds i8, ptr %23, i64 52
  %25 = load i32, ptr %24, align 4, !tbaa !10
  %26 = tail call i32 @AtomTypeChange(i32 noundef %25, i32 noundef 1)
  br label %34

27:                                               ; preds = %17
  %28 = load ptr, ptr %0, align 8, !tbaa !5
  %29 = getelementptr inbounds i8, ptr %28, i64 52
  %30 = load i32, ptr %29, align 4, !tbaa !10
  %31 = tail call i32 @AtomTypeChange(i32 noundef %30, i32 noundef 0)
  br label %34

32:                                               ; preds = %17
  %33 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, ptr noundef nonnull @.str.2, i32 noundef 62)
  tail call void @exit(i32 noundef 1) #7
  unreachable

34:                                               ; preds = %22, %27, %18
  %.0138 = phi i32 [ %21, %18 ], [ %26, %22 ], [ %31, %27 ]
  %35 = load ptr, ptr %1, align 8, !tbaa !5
  %36 = getelementptr inbounds i8, ptr %35, i64 52
  %37 = load i32, ptr %36, align 4, !tbaa !10
  %38 = tail call ptr @RightPair(i32 noundef %.0138, i32 noundef %37, i32 noundef 0)
  br label %.loopexit

39:                                               ; preds = %12
  %40 = tail call i32 @strncmp(ptr noundef nonnull dereferenceable(1) %2, ptr noundef nonnull dereferenceable(1) @.str.3, i64 noundef 3) #6
  %41 = icmp eq i32 %40, 0
  br i1 %41, label %42, label %65

42:                                               ; preds = %39
  %43 = load ptr, ptr %0, align 8, !tbaa !5
  %44 = getelementptr inbounds i8, ptr %43, i64 128
  %45 = load ptr, ptr %44, align 8, !tbaa !15
  %46 = load i32, ptr %45, align 8, !tbaa !16
  %47 = load ptr, ptr %1, align 8, !tbaa !5
  %48 = getelementptr inbounds i8, ptr %47, i64 48
  %49 = load i32, ptr %48, align 8, !tbaa !18
  %.not163 = icmp eq i32 %46, %49
  br i1 %.not163, label %.loopexit, label %.lr.ph

.lr.ph:                                           ; preds = %42, %60
  %50 = phi ptr [ %61, %60 ], [ %47, %42 ]
  %51 = phi i32 [ %64, %60 ], [ %49, %42 ]
  %.0137164 = phi ptr [ %53, %60 ], [ %45, %42 ]
  %52 = getelementptr inbounds i8, ptr %.0137164, i64 32
  %53 = load ptr, ptr %52, align 8, !tbaa !19
  %54 = icmp eq ptr %53, null
  br i1 %54, label %55, label %60, !prof !20

55:                                               ; preds = %.lr.ph
  %56 = load ptr, ptr %0, align 8, !tbaa !5
  %57 = getelementptr inbounds i8, ptr %56, i64 48
  %58 = load i32, ptr %57, align 8, !tbaa !18
  %59 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4, i32 noundef %58, i32 noundef %51, ptr noundef nonnull @.str.2, i32 noundef 75)
  %.pre = load ptr, ptr %1, align 8, !tbaa !5
  br label %60

60:                                               ; preds = %55, %.lr.ph
  %61 = phi ptr [ %.pre, %55 ], [ %50, %.lr.ph ]
  %62 = load i32, ptr %53, align 8, !tbaa !16
  %63 = getelementptr inbounds i8, ptr %61, i64 48
  %64 = load i32, ptr %63, align 8, !tbaa !18
  %.not = icmp eq i32 %62, %64
  br i1 %.not, label %.loopexit, label %.lr.ph, !llvm.loop !21

65:                                               ; preds = %39
  %lhsc = load i8, ptr %2, align 1
  %rhsc = load i8, ptr @.str.5, align 1
  %66 = icmp eq i8 %lhsc, %rhsc
  br i1 %66, label %67, label %71

67:                                               ; preds = %65
  %68 = tail call i32 @HBModel(ptr noundef %0, ptr noundef %1) #8
  %69 = sext i32 %68 to i64
  %70 = getelementptr inbounds [12 x [33 x [33 x %struct.ConstraintStr]]], ptr @potentialPairHB, i64 0, i64 %69
  br label %.loopexit

71:                                               ; preds = %65
  %rhsc147 = load i8, ptr @.str.6, align 1
  %72 = icmp eq i8 %lhsc, %rhsc147
  br i1 %72, label %73, label %87

73:                                               ; preds = %71
  %74 = tail call i32 @HBModel(ptr noundef %1, ptr noundef %10) #8
  %75 = load ptr, ptr %0, align 8, !tbaa !5
  %76 = getelementptr inbounds i8, ptr %75, i64 52
  %77 = load i32, ptr %76, align 4, !tbaa !10
  %78 = tail call i32 @AtomTypeChange(i32 noundef %77, i32 noundef 0)
  %79 = load ptr, ptr %1, align 8, !tbaa !5
  %80 = getelementptr inbounds i8, ptr %79, i64 52
  %81 = load i32, ptr %80, align 4, !tbaa !10
  %82 = tail call i32 @AtomTypeChange(i32 noundef %81, i32 noundef 0)
  %83 = sext i32 %74 to i64
  %84 = sext i32 %78 to i64
  %85 = sext i32 %82 to i64
  %86 = getelementptr inbounds [12 x [33 x [33 x %struct.ConstraintStr]]], ptr @potentialPairHB, i64 0, i64 %83, i64 %84, i64 %85
  br label %.loopexit

87:                                               ; preds = %71
  %88 = tail call i32 @strncmp(ptr noundef nonnull dereferenceable(1) %2, ptr noundef nonnull dereferenceable(1) @.str.7, i64 noundef 2) #6
  %89 = icmp eq i32 %88, 0
  br i1 %89, label %90, label %100

90:                                               ; preds = %87
  %91 = load ptr, ptr %0, align 8, !tbaa !5
  %92 = getelementptr inbounds i8, ptr %91, i64 40
  %93 = tail call i32 @AAModel(ptr noundef nonnull %92) #8
  %94 = load ptr, ptr %1, align 8, !tbaa !5
  %95 = getelementptr inbounds i8, ptr %94, i64 40
  %96 = tail call i32 @AAModel(ptr noundef nonnull %95) #8
  %97 = sext i32 %93 to i64
  %98 = sext i32 %96 to i64
  %99 = getelementptr inbounds [33 x [33 x %struct.ConstraintStr]], ptr @potentialPairCG, i64 0, i64 %97, i64 %98
  br label %.loopexit

100:                                              ; preds = %87
  %101 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.8)
  tail call void @exit(i32 noundef 1) #7
  unreachable

.loopexit:                                        ; preds = %60, %42, %73, %90, %67, %34
  %.1 = phi ptr [ %38, %34 ], [ %70, %67 ], [ %86, %73 ], [ %99, %90 ], [ %45, %42 ], [ %53, %60 ]
  %102 = getelementptr inbounds i8, ptr %.1, i64 16
  %103 = load ptr, ptr %102, align 8, !tbaa !23
  %104 = icmp ne ptr %103, null
  %105 = getelementptr inbounds i8, ptr %.1, i64 8
  %106 = load double, ptr %105, align 8, !tbaa !24
  %107 = fcmp oeq double %106, 0.000000e+00
  br i1 %107, label %108, label %116, !prof !20

108:                                              ; preds = %.loopexit
  %109 = load ptr, ptr %0, align 8, !tbaa !5
  %110 = getelementptr inbounds i8, ptr %109, i64 48
  %111 = load i32, ptr %110, align 8, !tbaa !18
  %112 = load ptr, ptr %1, align 8, !tbaa !5
  %113 = getelementptr inbounds i8, ptr %112, i64 48
  %114 = load i32, ptr %113, align 8, !tbaa !18
  %115 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.9, i32 noundef %111, i32 noundef %114, ptr noundef nonnull @.str.2, i32 noundef 115)
  tail call void @exit(i32 noundef 1) #7
  unreachable

116:                                              ; preds = %.loopexit
  %117 = fadd double %106, -1.000000e-08
  %118 = fcmp ogt double %117, %4
  br i1 %118, label %119, label %159

119:                                              ; preds = %116
  store double 1.000000e+08, ptr %5, align 8, !tbaa !25
  store double 1.000000e+08, ptr %6, align 8, !tbaa !25
  store double 1.000000e+08, ptr %9, align 8, !tbaa !25
  store double 0.000000e+00, ptr %7, align 8, !tbaa !25
  store double 0.000000e+00, ptr %8, align 8, !tbaa !25
  %120 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %2, ptr noundef nonnull dereferenceable(1) @.str.6) #6
  %121 = icmp eq i32 %120, 0
  br i1 %121, label %122, label %128

122:                                              ; preds = %119
  %123 = getelementptr inbounds i8, ptr %1, i64 8
  %124 = load ptr, ptr %123, align 8, !tbaa !26
  %125 = getelementptr inbounds i8, ptr %124, i64 80
  %126 = load i32, ptr %125, align 8, !tbaa !27
  %127 = icmp eq i32 %126, 0
  br i1 %127, label %.critedge154, label %128

128:                                              ; preds = %122, %119
  %129 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %2, ptr noundef nonnull dereferenceable(1) @.str.5) #6
  %130 = icmp eq i32 %129, 0
  br i1 %130, label %131, label %137

131:                                              ; preds = %128
  %132 = getelementptr inbounds i8, ptr %0, i64 8
  %133 = load ptr, ptr %132, align 8, !tbaa !26
  %134 = getelementptr inbounds i8, ptr %133, i64 80
  %135 = load i32, ptr %134, align 8, !tbaa !27
  %136 = icmp eq i32 %135, 0
  br i1 %136, label %.critedge154, label %137

137:                                              ; preds = %131, %128
  %138 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) @wallDyn, ptr noundef nonnull dereferenceable(1) @.str.10) #6
  %.not151 = icmp eq i32 %138, 0
  %139 = load i32, ptr @tunlObj, align 8
  %.not152 = icmp eq i32 %139, 0
  %or.cond = select i1 %.not151, i1 %.not152, i1 false
  br i1 %or.cond, label %140, label %.critedge154, !prof !33

140:                                              ; preds = %137
  %141 = load ptr, ptr %0, align 8, !tbaa !5
  %142 = getelementptr inbounds i8, ptr %141, i64 48
  %143 = load i32, ptr %142, align 8, !tbaa !18
  %144 = getelementptr inbounds i8, ptr %141, i64 112
  %145 = load i32, ptr %144, align 8, !tbaa !34
  %146 = load ptr, ptr %1, align 8, !tbaa !5
  %147 = getelementptr inbounds i8, ptr %146, i64 48
  %148 = load i32, ptr %147, align 8, !tbaa !18
  %149 = getelementptr inbounds i8, ptr %146, i64 112
  %150 = load i32, ptr %149, align 8, !tbaa !34
  %151 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.11, i32 noundef %143, i32 noundef %145, ptr noundef %141, i32 noundef %148, i32 noundef %150, ptr noundef %146)
  %152 = tail call double @sqrt(double noundef %4) #8
  %153 = load double, ptr %105, align 8, !tbaa !24
  %154 = tail call double @sqrt(double noundef %153) #8
  %155 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.12, ptr noundef %2, double noundef %152, double noundef %154)
  %156 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.13, ptr noundef nonnull @.str.2, i32 noundef 135)
  %157 = load i64, ptr @warningsum, align 8, !tbaa !35
  %158 = add nsw i64 %157, 1
  store i64 %158, ptr @warningsum, align 8, !tbaa !35
  br label %.critedge154

159:                                              ; preds = %116
  store double %106, ptr %5, align 8, !tbaa !25
  store double 0.000000e+00, ptr %7, align 8, !tbaa !25
  %.not148165 = icmp eq ptr %103, null
  br i1 %.not148165, label %.critedge, label %.lr.ph167

.lr.ph167:                                        ; preds = %159, %199
  %.0166 = phi ptr [ %202, %199 ], [ %103, %159 ]
  %160 = load double, ptr %.0166, align 8, !tbaa !36
  %161 = fcmp une double %160, 0.000000e+00
  br i1 %161, label %162, label %.critedge

162:                                              ; preds = %.lr.ph167
  %163 = fadd double %14, %160
  %164 = fcmp ogt double %163, %4
  %165 = getelementptr inbounds i8, ptr %.0166, i64 8
  br i1 %164, label %166, label %199

166:                                              ; preds = %162
  store double %160, ptr %6, align 8, !tbaa !25
  %167 = load double, ptr %165, align 8, !tbaa !38
  %168 = fneg double %167
  store double %168, ptr %8, align 8, !tbaa !25
  %169 = getelementptr inbounds i8, ptr %.0166, i64 16
  %170 = load double, ptr %169, align 8, !tbaa !39
  store double %170, ptr %9, align 8, !tbaa !25
  %171 = icmp eq ptr %.0166, %103
  br i1 %171, label %.critedge154, label %172

172:                                              ; preds = %166
  %173 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %2, ptr noundef nonnull dereferenceable(1) @.str.5) #6
  %174 = icmp eq i32 %173, 0
  br i1 %174, label %175, label %185

175:                                              ; preds = %172
  %176 = getelementptr inbounds i8, ptr %.0166, i64 24
  %177 = load ptr, ptr %176, align 8, !tbaa !40
  %178 = icmp eq ptr %177, null
  br i1 %178, label %179, label %185

179:                                              ; preds = %175
  %180 = getelementptr inbounds i8, ptr %0, i64 8
  %181 = load ptr, ptr %180, align 8, !tbaa !26
  %182 = getelementptr inbounds i8, ptr %181, i64 80
  %183 = load i32, ptr %182, align 8, !tbaa !27
  %184 = icmp sgt i32 %183, 0
  br i1 %184, label %.critedge154, label %185

185:                                              ; preds = %179, %175, %172
  %186 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %2, ptr noundef nonnull dereferenceable(1) @.str.6) #6
  %187 = icmp eq i32 %186, 0
  br i1 %187, label %188, label %.critedge154

188:                                              ; preds = %185
  %189 = getelementptr inbounds i8, ptr %.0166, i64 24
  %190 = load ptr, ptr %189, align 8, !tbaa !40
  %191 = icmp eq ptr %190, null
  br i1 %191, label %192, label %.critedge154

192:                                              ; preds = %188
  %193 = getelementptr inbounds i8, ptr %1, i64 8
  %194 = load ptr, ptr %193, align 8, !tbaa !26
  %195 = getelementptr inbounds i8, ptr %194, i64 80
  %196 = load i32, ptr %195, align 8, !tbaa !27
  %197 = icmp sgt i32 %196, 0
  br i1 %197, label %198, label %.critedge154

198:                                              ; preds = %192
  store double 0.000000e+00, ptr %8, align 8, !tbaa !25
  br label %.critedge154

199:                                              ; preds = %162
  store double %160, ptr %5, align 8, !tbaa !25
  %200 = load double, ptr %165, align 8, !tbaa !38
  store double %200, ptr %7, align 8, !tbaa !25
  %201 = getelementptr inbounds i8, ptr %.0166, i64 24
  %202 = load ptr, ptr %201, align 8, !tbaa !40
  %.not148 = icmp eq ptr %202, null
  br i1 %.not148, label %.critedge, label %.lr.ph167, !llvm.loop !41

.critedge:                                        ; preds = %.lr.ph167, %199, %159
  %203 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %2, ptr noundef nonnull dereferenceable(1) @.str.5) #6
  %204 = icmp eq i32 %203, 0
  br i1 %204, label %205, label %.critedge156

205:                                              ; preds = %.critedge
  %206 = getelementptr inbounds i8, ptr %0, i64 8
  %207 = load ptr, ptr %206, align 8, !tbaa !26
  %208 = getelementptr inbounds i8, ptr %207, i64 80
  %209 = load i32, ptr %208, align 8, !tbaa !27
  %210 = icmp sgt i32 %209, 0
  br i1 %210, label %211, label %.critedge156, !prof !20

211:                                              ; preds = %205
  %212 = load ptr, ptr %0, align 8, !tbaa !5
  %213 = getelementptr inbounds i8, ptr %212, i64 104
  %214 = load i32, ptr %213, align 8, !tbaa !42
  %215 = load ptr, ptr %1, align 8, !tbaa !5
  %216 = getelementptr inbounds i8, ptr %215, i64 104
  %217 = load i32, ptr %216, align 8, !tbaa !42
  %218 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.14, i32 noundef %214, i32 noundef %217)
  %219 = tail call double @sqrt(double noundef %4) #8
  %220 = load double, ptr %6, align 8, !tbaa !25
  %221 = tail call double @sqrt(double noundef %220) #8
  %222 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15, double noundef %219, double noundef %221)
  %223 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.13, ptr noundef nonnull @.str.2, i32 noundef 176)
  %224 = load i64, ptr @warningsum, align 8, !tbaa !35
  %225 = add nsw i64 %224, 1
  store i64 %225, ptr @warningsum, align 8, !tbaa !35
  br label %.critedge156

.critedge156:                                     ; preds = %.critedge, %211, %205
  %226 = getelementptr inbounds i8, ptr %.1, i64 24
  %227 = load double, ptr %226, align 8, !tbaa !43
  %228 = fcmp ogt double %227, 0.000000e+00
  br i1 %228, label %229, label %269

229:                                              ; preds = %.critedge156
  %230 = fadd double %227, 1.000000e-08
  %231 = fcmp ogt double %230, %4
  br i1 %231, label %232, label %234

232:                                              ; preds = %229
  store double %227, ptr %6, align 8, !tbaa !25
  store double 0.000000e+00, ptr %8, align 8, !tbaa !25
  store double 0.000000e+00, ptr %9, align 8, !tbaa !25
  %233 = fcmp une double %., 1.000000e+00
  %or.cond.not = or i1 %233, %104
  %spec.store.select = zext i1 %or.cond.not to i32
  br label %.critedge154

234:                                              ; preds = %229
  store double 1.000000e+08, ptr %5, align 8, !tbaa !25
  store double 1.000000e+08, ptr %6, align 8, !tbaa !25
  store double 1.000000e+08, ptr %9, align 8, !tbaa !25
  store double 0.000000e+00, ptr %7, align 8, !tbaa !25
  store double 0.000000e+00, ptr %8, align 8, !tbaa !25
  %235 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %2, ptr noundef nonnull dereferenceable(1) @.str.6) #6
  %236 = icmp eq i32 %235, 0
  br i1 %236, label %237, label %243

237:                                              ; preds = %234
  %238 = getelementptr inbounds i8, ptr %1, i64 8
  %239 = load ptr, ptr %238, align 8, !tbaa !26
  %240 = getelementptr inbounds i8, ptr %239, i64 80
  %241 = load i32, ptr %240, align 8, !tbaa !27
  %242 = icmp eq i32 %241, 0
  br i1 %242, label %.critedge154, label %243

243:                                              ; preds = %237, %234
  %244 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %2, ptr noundef nonnull dereferenceable(1) @.str.5) #6
  %245 = icmp eq i32 %244, 0
  br i1 %245, label %246, label %.critedge160

246:                                              ; preds = %243
  %247 = getelementptr inbounds i8, ptr %0, i64 8
  %248 = load ptr, ptr %247, align 8, !tbaa !26
  %249 = getelementptr inbounds i8, ptr %248, i64 80
  %250 = load i32, ptr %249, align 8, !tbaa !27
  %.not161 = icmp eq i32 %250, 0
  br i1 %.not161, label %.critedge154, label %.critedge160, !prof !44

.critedge160:                                     ; preds = %243, %246
  %251 = load ptr, ptr %0, align 8, !tbaa !5
  %252 = getelementptr inbounds i8, ptr %251, i64 48
  %253 = load i32, ptr %252, align 8, !tbaa !18
  %254 = getelementptr inbounds i8, ptr %251, i64 112
  %255 = load i32, ptr %254, align 8, !tbaa !34
  %256 = load ptr, ptr %1, align 8, !tbaa !5
  %257 = getelementptr inbounds i8, ptr %256, i64 48
  %258 = load i32, ptr %257, align 8, !tbaa !18
  %259 = getelementptr inbounds i8, ptr %256, i64 112
  %260 = load i32, ptr %259, align 8, !tbaa !34
  %261 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.16, i32 noundef %253, i32 noundef %255, ptr noundef %251, i32 noundef %258, i32 noundef %260, ptr noundef %256)
  %262 = tail call double @sqrt(double noundef %4) #8
  %263 = load double, ptr %226, align 8, !tbaa !43
  %264 = tail call double @sqrt(double noundef %263) #8
  %265 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.12, ptr noundef %2, double noundef %262, double noundef %264)
  %266 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.13, ptr noundef nonnull @.str.2, i32 noundef 208)
  %267 = load i64, ptr @warningsum, align 8, !tbaa !35
  %268 = add nsw i64 %267, 1
  store i64 %268, ptr @warningsum, align 8, !tbaa !35
  br label %.critedge154

269:                                              ; preds = %.critedge156
  store double 1.000000e+08, ptr %6, align 8, !tbaa !25
  store double 1.000000e+08, ptr %8, align 8, !tbaa !25
  store double 1.000000e+08, ptr %9, align 8, !tbaa !25
  br label %.critedge154

.critedge154:                                     ; preds = %246, %.critedge160, %237, %185, %188, %192, %179, %166, %140, %122, %131, %137, %269, %232, %198
  %.0135 = phi i32 [ 1, %198 ], [ %spec.store.select, %232 ], [ 1, %269 ], [ -1, %137 ], [ -1, %131 ], [ -1, %122 ], [ -1, %140 ], [ 0, %166 ], [ 1, %179 ], [ -1, %192 ], [ -1, %188 ], [ -1, %185 ], [ -1, %237 ], [ -1, %.critedge160 ], [ -1, %246 ]
  ret i32 %.0135
}

; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read)
declare i32 @strncmp(ptr nocapture noundef, ptr nocapture noundef, i64 noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare dso_local i32 @AtomTypeChange(i32 noundef, i32 noundef) local_unnamed_addr #0

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

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

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

declare i32 @HBModel(ptr noundef, ptr noundef) local_unnamed_addr #4

declare i32 @AAModel(ptr noundef) local_unnamed_addr #4

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

; Function Attrs: mustprogress nofree nounwind willreturn memory(write)
declare double @sqrt(double noundef) local_unnamed_addr #5

attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nofree nounwind willreturn memory(argmem: 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 = { 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 #3 = { noreturn nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { mustprogress nofree nounwind willreturn memory(write) "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 willreturn memory(read) }
attributes #7 = { noreturn nounwind }
attributes #8 = { 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 = !{!"AtomStr", !7, i64 0, !7, i64 8}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 52}
!11 = !{!"PropertyStr", !8, i64 0, !8, i64 8, !8, i64 40, !12, i64 48, !12, i64 52, !12, i64 56, !13, i64 64, !13, i64 72, !8, i64 80, !14, i64 104, !7, i64 120, !7, i64 128}
!12 = !{!"int", !8, i64 0}
!13 = !{!"double", !8, i64 0}
!14 = !{!"AtomSeqStr", !12, i64 0, !12, i64 4, !12, i64 8}
!15 = !{!11, !7, i64 128}
!16 = !{!17, !12, i64 0}
!17 = !{!"ConstraintStr", !12, i64 0, !13, i64 8, !7, i64 16, !13, i64 24, !7, i64 32}
!18 = !{!11, !12, i64 48}
!19 = !{!17, !7, i64 32}
!20 = !{!"branch_weights", !"expected", i32 1, i32 2000}
!21 = distinct !{!21, !22}
!22 = !{!"llvm.loop.mustprogress"}
!23 = !{!17, !7, i64 16}
!24 = !{!17, !13, i64 8}
!25 = !{!13, !13, i64 0}
!26 = !{!6, !7, i64 8}
!27 = !{!28, !12, i64 80}
!28 = !{!"DynamicStr", !8, i64 0, !8, i64 16, !8, i64 48, !29, i64 80, !30, i64 96, !31, i64 128}
!29 = !{!"HBStr", !12, i64 0, !12, i64 4, !8, i64 8, !12, i64 12}
!30 = !{!"HBNeighborStr", !8, i64 0, !12, i64 20, !12, i64 24}
!31 = !{!"InteractionEventStr", !12, i64 0, !32, i64 8, !32, i64 16, !13, i64 24, !13, i64 32, !12, i64 40, !12, i64 44}
!32 = !{!"long", !8, i64 0}
!33 = !{!"branch_weights", i32 1, i32 4001}
!34 = !{!11, !12, i64 112}
!35 = !{!32, !32, i64 0}
!36 = !{!37, !13, i64 0}
!37 = !{!"StepPotenStr", !13, i64 0, !13, i64 8, !13, i64 16, !7, i64 24}
!38 = !{!37, !13, i64 8}
!39 = !{!37, !13, i64 16}
!40 = !{!37, !7, i64 24}
!41 = distinct !{!41, !22}
!42 = !{!11, !12, i64 104}
!43 = !{!17, !13, i64 24}
!44 = !{!"branch_weights", !"expected", i32 2000, i32 1}


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