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

; 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.DynamicWallStr = type { [16 x i8], i32, i32, double, double, double, double, [4 x double] }
%struct.FlowStr = type { i32, %struct.ConstVStr, %struct.ForceStr, %struct.ChargeStr }
%struct.ConstVStr = type { [4 x double] }
%struct.ForceStr = type { [4 x double], ptr, ptr }
%struct.ChargeStr = type { i32, i32, ptr, ptr, ptr, ptr }
%struct.ObstructionStr = type { i32, i32, ptr, ptr, ptr }
%struct.CGGovStr = type { [2 x [16 x i8]], i32, i32, ptr, ptr }
%struct.TunnelStr = type { i32, i32, ptr, ptr, %struct.AtomStr }
%struct.AtomStr = type { ptr, ptr }
%struct.SphObstStr = type { i32, i32, ptr, ptr }

@.str.2 = external hidden unnamed_addr constant [71 x i8], align 1
@datadir = external global [1024 x i8], align 16
@.str.3 = external hidden unnamed_addr constant [3 x i8], align 1
@wallDyn = external global %struct.DynamicWallStr, align 8
@flow = external global %struct.FlowStr, align 8
@targetTemperature = external global double, align 8
@neworcontinue = external global [20 x i8], align 16
@.str.86 = external hidden unnamed_addr constant [7 x i8], align 1
@stdout = external global ptr, align 8
@wallExist = external global [20 x i8], align 16
@.str.88 = external hidden unnamed_addr constant [3 x i8], align 1
@obstObj = external global %struct.ObstructionStr, align 8
@CG = external global %struct.CGGovStr, align 8
@.str.94 = external hidden unnamed_addr constant [2 x i8], align 1
@cutoffr = external global double, align 8
@temperatureType = external global [20 x i8], align 16
@outputrate = external global double, align 8
@Methodtype = external global [20 x i8], align 16
@timestep = external global double, align 8
@.str.104 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.105 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.106 = external hidden unnamed_addr constant [57 x i8], align 1
@.str.107 = external hidden unnamed_addr constant [41 x i8], align 1
@.str.108 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.109 = external hidden unnamed_addr constant [7 x i8], align 1
@thermostatType = external global [20 x i8], align 16
@thermoF = external global double, align 8
@.str.110 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.111 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.112 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.113 = external hidden unnamed_addr constant [39 x i8], align 1
@wallType = external global [20 x i8], align 16
@.str.114 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.115 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.116 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.117 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.118 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.119 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.120 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.121 = external hidden unnamed_addr constant [40 x i8], align 1
@.str.122 = external hidden unnamed_addr constant [52 x i8], align 1
@.str.123 = external hidden unnamed_addr constant [6 x i8], align 1
@tunlObj = external global %struct.TunnelStr, align 8
@SphObstObj = external global %struct.SphObstStr, align 8
@.str.124 = external hidden unnamed_addr constant [15 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: nounwind allocsize(0,1)
declare noalias ptr @calloc(i64 noundef, i64 noundef) #1

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

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

; Function Attrs: nounwind
declare i32 @sprintf(ptr noundef, ptr noundef, ...) #4

; Function Attrs: inlinehint nounwind willreturn memory(read) uwtable
declare double @atof(ptr noundef nonnull) #5

; Function Attrs: inlinehint nounwind willreturn memory(read) uwtable
declare i32 @atoi(ptr noundef nonnull) #5

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

; Function Attrs: nounwind uwtable
define dso_local void @ReadParameter() #7 {
  %1 = alloca i32, align 4
  %2 = alloca i32, align 4
  %3 = alloca [1024 x i8], align 16
  %4 = alloca [1024 x i8], align 16
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %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
  call void @llvm.lifetime.start.p0(i64 4, ptr %1) #8
  store i32 0, ptr %1, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #8
  store i32 0, ptr %2, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1024, ptr %3) #8
  call void @llvm.lifetime.start.p0(i64 1024, ptr %4) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #8
  %19 = call i32 (ptr, ...) @printf(ptr noundef @.str.104)
  %20 = load ptr, ptr @stdout, align 8, !tbaa !9
  %21 = call i32 @fflush(ptr noundef %20)
  %22 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
  %23 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %22, ptr noundef @.str.105, ptr noundef @datadir) #8
  %24 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
  %25 = call noalias ptr @fopen(ptr noundef %24, ptr noundef @.str.94)
  store ptr %25, ptr %5, align 8, !tbaa !9
  %26 = load ptr, ptr %5, align 8, !tbaa !9
  %27 = icmp eq ptr %26, null
  br i1 %27, label %28, label %31

28:                                               ; preds = %0
  %29 = call i32 (ptr, ...) @printf(ptr noundef @.str.106, ptr noundef @datadir, ptr noundef @.str.2, i32 noundef 522)
  %30 = call i32 (ptr, ...) @printf(ptr noundef @.str.107)
  call void @exit(i32 noundef 1) #9
  unreachable

31:                                               ; preds = %0
  %32 = load ptr, ptr %5, align 8, !tbaa !9
  %33 = getelementptr inbounds [1024 x i8], ptr %4, i64 0, i64 0
  %34 = call i32 (ptr, ptr, ...) @__isoc99_fscanf(ptr noundef %32, ptr noundef @.str.108, ptr noundef %33, ptr noundef @neworcontinue)
  %35 = load ptr, ptr %5, align 8, !tbaa !9
  %36 = getelementptr inbounds [1024 x i8], ptr %4, i64 0, i64 0
  %37 = call i32 (ptr, ptr, ...) @__isoc99_fscanf(ptr noundef %35, ptr noundef @.str.109, ptr noundef %36, ptr noundef @timestep)
  %38 = load ptr, ptr %5, align 8, !tbaa !9
  %39 = getelementptr inbounds [1024 x i8], ptr %4, i64 0, i64 0
  %40 = call i32 (ptr, ptr, ...) @__isoc99_fscanf(ptr noundef %38, ptr noundef @.str.108, ptr noundef %39, ptr noundef @temperatureType)
  %41 = call i32 @strcmp(ptr noundef @temperatureType, ptr noundef @.str.88) #10
  %42 = icmp ne i32 %41, 0
  br i1 %42, label %43, label %45

43:                                               ; preds = %31
  %44 = call double @atof(ptr noundef @temperatureType) #10
  store double %44, ptr @targetTemperature, align 8, !tbaa !11
  br label %45

45:                                               ; preds = %43, %31
  %46 = load ptr, ptr %5, align 8, !tbaa !9
  %47 = getelementptr inbounds [1024 x i8], ptr %4, i64 0, i64 0
  %48 = call i32 (ptr, ptr, ...) @__isoc99_fscanf(ptr noundef %46, ptr noundef @.str.109, ptr noundef %47, ptr noundef @outputrate)
  %49 = load ptr, ptr %5, align 8, !tbaa !9
  %50 = getelementptr inbounds [1024 x i8], ptr %4, i64 0, i64 0
  %51 = call i32 (ptr, ptr, ...) @__isoc99_fscanf(ptr noundef %49, ptr noundef @.str.109, ptr noundef %50, ptr noundef @cutoffr)
  %52 = load ptr, ptr %5, align 8, !tbaa !9
  %53 = getelementptr inbounds [1024 x i8], ptr %4, i64 0, i64 0
  %54 = call i32 (ptr, ptr, ...) @__isoc99_fscanf(ptr noundef %52, ptr noundef @.str.108, ptr noundef %53, ptr noundef @Methodtype)
  %55 = load ptr, ptr %5, align 8, !tbaa !9
  %56 = getelementptr inbounds [1024 x i8], ptr %4, i64 0, i64 0
  %57 = call i32 (ptr, ptr, ...) @__isoc99_fscanf(ptr noundef %55, ptr noundef @.str.108, ptr noundef %56, ptr noundef @thermostatType)
  %58 = load ptr, ptr %5, align 8, !tbaa !9
  %59 = getelementptr inbounds [1024 x i8], ptr %4, i64 0, i64 0
  %60 = call i32 (ptr, ptr, ...) @__isoc99_fscanf(ptr noundef %58, ptr noundef @.str.109, ptr noundef %59, ptr noundef @thermoF)
  %61 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
  %62 = load ptr, ptr %5, align 8, !tbaa !9
  %63 = call ptr @fgets(ptr noundef %61, i32 noundef 1024, ptr noundef %62)
  %64 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
  %65 = getelementptr inbounds [1024 x i8], ptr %4, i64 0, i64 0
  %66 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef %64, ptr noundef @.str.110, ptr noundef %65, ptr noundef @CG, ptr noundef %1) #8
  %67 = call i32 @strcmp(ptr noundef @CG, ptr noundef @.str.88) #10
  %68 = icmp eq i32 %67, 0
  br i1 %68, label %69, label %71

69:                                               ; preds = %45
  store i32 0, ptr getelementptr inbounds (%struct.CGGovStr, ptr @CG, i32 0, i32 1), align 8, !tbaa !13
  %70 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef getelementptr inbounds ([2 x [16 x i8]], ptr @CG, i64 0, i64 1), ptr noundef @.str.88) #8
  br label %93

71:                                               ; preds = %45
  %72 = call i32 @strcmp(ptr noundef @CG, ptr noundef @.str.111) #10
  %73 = icmp eq i32 %72, 0
  br i1 %73, label %74, label %80

74:                                               ; preds = %71
  store i32 1, ptr getelementptr inbounds (%struct.CGGovStr, ptr @CG, i32 0, i32 1), align 8, !tbaa !13
  %75 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
  %76 = load i32, ptr %1, align 4, !tbaa !5
  %77 = sext i32 %76 to i64
  %78 = getelementptr inbounds i8, ptr %75, i64 %77
  %79 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef %78, ptr noundef @.str.3, ptr noundef getelementptr inbounds ([2 x [16 x i8]], ptr @CG, i64 0, i64 1)) #8
  br label %92

80:                                               ; preds = %71
  %81 = call i32 @strcmp(ptr noundef @CG, ptr noundef @.str.112) #10
  %82 = icmp eq i32 %81, 0
  br i1 %82, label %83, label %89

83:                                               ; preds = %80
  store i32 2, ptr getelementptr inbounds (%struct.CGGovStr, ptr @CG, i32 0, i32 1), align 8, !tbaa !13
  %84 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
  %85 = load i32, ptr %1, align 4, !tbaa !5
  %86 = sext i32 %85 to i64
  %87 = getelementptr inbounds i8, ptr %84, i64 %86
  %88 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef %87, ptr noundef @.str.3, ptr noundef getelementptr inbounds ([2 x [16 x i8]], ptr @CG, i64 0, i64 1)) #8
  br label %91

89:                                               ; preds = %80
  %90 = call i32 (ptr, ...) @printf(ptr noundef @.str.113, ptr noundef @.str.2, i32 noundef 554)
  call void @exit(i32 noundef 1) #9
  unreachable

91:                                               ; preds = %83
  br label %92

92:                                               ; preds = %91, %74
  br label %93

93:                                               ; preds = %92, %69
  %94 = load ptr, ptr %5, align 8, !tbaa !9
  %95 = getelementptr inbounds [1024 x i8], ptr %4, i64 0, i64 0
  %96 = call i32 (ptr, ptr, ...) @__isoc99_fscanf(ptr noundef %94, ptr noundef @.str.108, ptr noundef %95, ptr noundef @wallExist)
  %97 = load ptr, ptr %5, align 8, !tbaa !9
  %98 = getelementptr inbounds [1024 x i8], ptr %4, i64 0, i64 0
  %99 = call i32 (ptr, ptr, ...) @__isoc99_fscanf(ptr noundef %97, ptr noundef @.str.108, ptr noundef %98, ptr noundef @wallType)
  %100 = load ptr, ptr %5, align 8, !tbaa !9
  %101 = getelementptr inbounds [1024 x i8], ptr %4, i64 0, i64 0
  %102 = call i32 (ptr, ptr, ...) @__isoc99_fscanf(ptr noundef %100, ptr noundef @.str.108, ptr noundef %101, ptr noundef @wallDyn)
  %103 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
  %104 = load ptr, ptr %5, align 8, !tbaa !9
  %105 = call ptr @fgets(ptr noundef %103, i32 noundef 1024, ptr noundef %104)
  %106 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
  %107 = getelementptr inbounds [1024 x i8], ptr %4, i64 0, i64 0
  %108 = getelementptr inbounds [1024 x i8], ptr %4, i64 0, i64 0
  %109 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef %106, ptr noundef @.str.110, ptr noundef %107, ptr noundef %108, ptr noundef %1) #8
  %110 = getelementptr inbounds [1024 x i8], ptr %4, i64 0, i64 0
  %111 = call i32 @strcmp(ptr noundef %110, ptr noundef @.str.88) #10
  %112 = icmp ne i32 %111, 0
  br i1 %112, label %113, label %296

113:                                              ; preds = %93
  %114 = getelementptr inbounds [1024 x i8], ptr %4, i64 0, i64 0
  %115 = call i32 @strcmp(ptr noundef %114, ptr noundef @.str.114) #10
  %116 = icmp eq i32 %115, 0
  br i1 %116, label %117, label %123

117:                                              ; preds = %113
  store i32 1, ptr @flow, align 8, !tbaa !15
  %118 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
  %119 = load i32, ptr %1, align 4, !tbaa !5
  %120 = sext i32 %119 to i64
  %121 = getelementptr inbounds i8, ptr %118, i64 %120
  %122 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef %121, ptr noundef @.str.115, ptr noundef getelementptr inbounds ([4 x double], ptr getelementptr inbounds (%struct.FlowStr, ptr @flow, i32 0, i32 1), i64 0, i64 1), ptr noundef getelementptr inbounds ([4 x double], ptr getelementptr inbounds (%struct.FlowStr, ptr @flow, i32 0, i32 1), i64 0, i64 2), ptr noundef getelementptr inbounds ([4 x double], ptr getelementptr inbounds (%struct.FlowStr, ptr @flow, i32 0, i32 1), i64 0, i64 3)) #8
  br label %295

123:                                              ; preds = %113
  %124 = getelementptr inbounds [1024 x i8], ptr %4, i64 0, i64 0
  %125 = call i32 @strcmp(ptr noundef %124, ptr noundef @.str.116) #10
  %126 = icmp eq i32 %125, 0
  br i1 %126, label %127, label %147

127:                                              ; preds = %123
  store i32 2, ptr @flow, align 8, !tbaa !15
  %128 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
  %129 = load i32, ptr %1, align 4, !tbaa !5
  %130 = sext i32 %129 to i64
  %131 = getelementptr inbounds i8, ptr %128, i64 %130
  %132 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef %131, ptr noundef @.str.115, ptr noundef getelementptr inbounds ([4 x double], ptr getelementptr inbounds (%struct.FlowStr, ptr @flow, i32 0, i32 2), i64 0, i64 1), ptr noundef getelementptr inbounds ([4 x double], ptr getelementptr inbounds (%struct.FlowStr, ptr @flow, i32 0, i32 2), i64 0, i64 2), ptr noundef getelementptr inbounds ([4 x double], ptr getelementptr inbounds (%struct.FlowStr, ptr @flow, i32 0, i32 2), i64 0, i64 3)) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #8
  store i32 1, ptr %6, align 4, !tbaa !5
  br label %133

133:                                              ; preds = %143, %127
  %134 = load i32, ptr %6, align 4, !tbaa !5
  %135 = icmp sle i32 %134, 3
  br i1 %135, label %137, label %136

136:                                              ; preds = %133
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #8
  br label %146

137:                                              ; preds = %133
  %138 = load i32, ptr %6, align 4, !tbaa !5
  %139 = sext i32 %138 to i64
  %140 = getelementptr inbounds [4 x double], ptr getelementptr inbounds (%struct.FlowStr, ptr @flow, i32 0, i32 2), i64 0, i64 %139
  %141 = load double, ptr %140, align 8, !tbaa !11
  %142 = fmul double %141, 1.439300e-02
  store double %142, ptr %140, align 8, !tbaa !11
  br label %143

143:                                              ; preds = %137
  %144 = load i32, ptr %6, align 4, !tbaa !5
  %145 = add nsw i32 %144, 1
  store i32 %145, ptr %6, align 4, !tbaa !5
  br label %133, !llvm.loop !20

146:                                              ; preds = %136
  br label %294

147:                                              ; preds = %123
  %148 = getelementptr inbounds [1024 x i8], ptr %4, i64 0, i64 0
  %149 = call i32 @strcmp(ptr noundef %148, ptr noundef @.str.117) #10
  %150 = icmp eq i32 %149, 0
  br i1 %150, label %151, label %291

151:                                              ; preds = %147
  store i32 3, ptr @flow, align 8, !tbaa !15
  %152 = load i32, ptr %1, align 4, !tbaa !5
  store i32 %152, ptr %2, align 4, !tbaa !5
  %153 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
  %154 = load i32, ptr %2, align 4, !tbaa !5
  %155 = sext i32 %154 to i64
  %156 = getelementptr inbounds i8, ptr %153, i64 %155
  %157 = getelementptr inbounds [1024 x i8], ptr %4, i64 0, i64 0
  %158 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef %156, ptr noundef @.str.118, ptr noundef getelementptr inbounds (%struct.FlowStr, ptr @flow, i32 0, i32 3), ptr noundef %157, ptr noundef %1) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #8
  %159 = load i32, ptr getelementptr inbounds (%struct.FlowStr, ptr @flow, i32 0, i32 3), align 8, !tbaa !22
  store i32 %159, ptr %7, align 4, !tbaa !5
  %160 = load i32, ptr getelementptr inbounds (%struct.ChargeStr, ptr getelementptr inbounds (%struct.FlowStr, ptr @flow, i32 0, i32 3), i32 0, i32 1), align 4, !tbaa !23
  %161 = icmp ne i32 %160, 0
  br i1 %161, label %162, label %165

162:                                              ; preds = %151
  %163 = load i32, ptr getelementptr inbounds (%struct.FlowStr, ptr @flow, i32 0, i32 3), align 8, !tbaa !22
  %164 = mul nsw i32 %163, 2
  store i32 %164, ptr getelementptr inbounds (%struct.FlowStr, ptr @flow, i32 0, i32 3), align 8, !tbaa !22
  br label %165

165:                                              ; preds = %162, %151
  %166 = load i32, ptr getelementptr inbounds (%struct.FlowStr, ptr @flow, i32 0, i32 3), align 8, !tbaa !22
  %167 = sext i32 %166 to i64
  %168 = call noalias ptr @calloc(i64 noundef %167, i64 noundef 8) #11
  store ptr %168, ptr getelementptr inbounds (%struct.ChargeStr, ptr getelementptr inbounds (%struct.FlowStr, ptr @flow, i32 0, i32 3), i32 0, i32 2), align 8, !tbaa !24
  %169 = load i32, ptr getelementptr inbounds (%struct.FlowStr, ptr @flow, i32 0, i32 3), align 8, !tbaa !22
  %170 = mul nsw i32 %169, 4
  %171 = sext i32 %170 to i64
  %172 = call noalias ptr @calloc(i64 noundef %171, i64 noundef 8) #11
  %173 = load ptr, ptr getelementptr inbounds (%struct.ChargeStr, ptr getelementptr inbounds (%struct.FlowStr, ptr @flow, i32 0, i32 3), i32 0, i32 2), align 8, !tbaa !24
  %174 = getelementptr inbounds ptr, ptr %173, i64 0
  store ptr %172, ptr %174, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #8
  store i32 1, ptr %8, align 4, !tbaa !5
  br label %175

175:                                              ; preds = %192, %165
  %176 = load i32, ptr %8, align 4, !tbaa !5
  %177 = load i32, ptr getelementptr inbounds (%struct.FlowStr, ptr @flow, i32 0, i32 3), align 8, !tbaa !22
  %178 = icmp slt i32 %176, %177
  br i1 %178, label %180, label %179

179:                                              ; preds = %175
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #8
  br label %195

180:                                              ; preds = %175
  %181 = load ptr, ptr getelementptr inbounds (%struct.ChargeStr, ptr getelementptr inbounds (%struct.FlowStr, ptr @flow, i32 0, i32 3), i32 0, i32 2), align 8, !tbaa !24
  %182 = getelementptr inbounds ptr, ptr %181, i64 0
  %183 = load ptr, ptr %182, align 8, !tbaa !9
  %184 = load i32, ptr %8, align 4, !tbaa !5
  %185 = mul nsw i32 %184, 4
  %186 = sext i32 %185 to i64
  %187 = getelementptr inbounds double, ptr %183, i64 %186
  %188 = load ptr, ptr getelementptr inbounds (%struct.ChargeStr, ptr getelementptr inbounds (%struct.FlowStr, ptr @flow, i32 0, i32 3), i32 0, i32 2), align 8, !tbaa !24
  %189 = load i32, ptr %8, align 4, !tbaa !5
  %190 = sext i32 %189 to i64
  %191 = getelementptr inbounds ptr, ptr %188, i64 %190
  store ptr %187, ptr %191, align 8, !tbaa !9
  br label %192

192:                                              ; preds = %180
  %193 = load i32, ptr %8, align 4, !tbaa !5
  %194 = add nsw i32 %193, 1
  store i32 %194, ptr %8, align 4, !tbaa !5
  br label %175, !llvm.loop !25

195:                                              ; preds = %179
  %196 = load i32, ptr getelementptr inbounds (%struct.FlowStr, ptr @flow, i32 0, i32 3), align 8, !tbaa !22
  %197 = sext i32 %196 to i64
  %198 = call noalias ptr @calloc(i64 noundef %197, i64 noundef 8) #11
  store ptr %198, ptr getelementptr inbounds (%struct.ChargeStr, ptr getelementptr inbounds (%struct.FlowStr, ptr @flow, i32 0, i32 3), i32 0, i32 3), align 8, !tbaa !26
  %199 = load i32, ptr getelementptr inbounds (%struct.FlowStr, ptr @flow, i32 0, i32 3), align 8, !tbaa !22
  %200 = mul nsw i32 %199, 4
  %201 = sext i32 %200 to i64
  %202 = call noalias ptr @calloc(i64 noundef %201, i64 noundef 8) #11
  %203 = load ptr, ptr getelementptr inbounds (%struct.ChargeStr, ptr getelementptr inbounds (%struct.FlowStr, ptr @flow, i32 0, i32 3), i32 0, i32 3), align 8, !tbaa !26
  %204 = getelementptr inbounds ptr, ptr %203, i64 0
  store ptr %202, ptr %204, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #8
  store i32 1, ptr %9, align 4, !tbaa !5
  br label %205

205:                                              ; preds = %222, %195
  %206 = load i32, ptr %9, align 4, !tbaa !5
  %207 = load i32, ptr getelementptr inbounds (%struct.FlowStr, ptr @flow, i32 0, i32 3), align 8, !tbaa !22
  %208 = icmp slt i32 %206, %207
  br i1 %208, label %210, label %209

209:                                              ; preds = %205
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #8
  br label %225

210:                                              ; preds = %205
  %211 = load ptr, ptr getelementptr inbounds (%struct.ChargeStr, ptr getelementptr inbounds (%struct.FlowStr, ptr @flow, i32 0, i32 3), i32 0, i32 3), align 8, !tbaa !26
  %212 = getelementptr inbounds ptr, ptr %211, i64 0
  %213 = load ptr, ptr %212, align 8, !tbaa !9
  %214 = load i32, ptr %9, align 4, !tbaa !5
  %215 = mul nsw i32 %214, 4
  %216 = sext i32 %215 to i64
  %217 = getelementptr inbounds double, ptr %213, i64 %216
  %218 = load ptr, ptr getelementptr inbounds (%struct.ChargeStr, ptr getelementptr inbounds (%struct.FlowStr, ptr @flow, i32 0, i32 3), i32 0, i32 3), align 8, !tbaa !26
  %219 = load i32, ptr %9, align 4, !tbaa !5
  %220 = sext i32 %219 to i64
  %221 = getelementptr inbounds ptr, ptr %218, i64 %220
  store ptr %217, ptr %221, align 8, !tbaa !9
  br label %222

222:                                              ; preds = %210
  %223 = load i32, ptr %9, align 4, !tbaa !5
  %224 = add nsw i32 %223, 1
  store i32 %224, ptr %9, align 4, !tbaa !5
  br label %205, !llvm.loop !27

225:                                              ; preds = %209
  %226 = load i32, ptr getelementptr inbounds (%struct.FlowStr, ptr @flow, i32 0, i32 3), align 8, !tbaa !22
  %227 = sext i32 %226 to i64
  %228 = call noalias ptr @calloc(i64 noundef %227, i64 noundef 8) #11
  store ptr %228, ptr getelementptr inbounds (%struct.ChargeStr, ptr getelementptr inbounds (%struct.FlowStr, ptr @flow, i32 0, i32 3), i32 0, i32 4), align 8, !tbaa !28
  %229 = load i32, ptr getelementptr inbounds (%struct.FlowStr, ptr @flow, i32 0, i32 3), align 8, !tbaa !22
  %230 = sext i32 %229 to i64
  %231 = call noalias ptr @calloc(i64 noundef %230, i64 noundef 8) #11
  store ptr %231, ptr getelementptr inbounds (%struct.ChargeStr, ptr getelementptr inbounds (%struct.FlowStr, ptr @flow, i32 0, i32 3), i32 0, i32 5), align 8, !tbaa !29
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #8
  store i32 0, ptr %10, align 4, !tbaa !5
  br label %232

232:                                              ; preds = %287, %225
  %233 = load i32, ptr %10, align 4, !tbaa !5
  %234 = load i32, ptr %7, align 4, !tbaa !5
  %235 = icmp slt i32 %233, %234
  br i1 %235, label %237, label %236

236:                                              ; preds = %232
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #8
  br label %290

237:                                              ; preds = %232
  %238 = load i32, ptr %1, align 4, !tbaa !5
  %239 = load i32, ptr %2, align 4, !tbaa !5
  %240 = add nsw i32 %239, %238
  store i32 %240, ptr %2, align 4, !tbaa !5
  %241 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
  %242 = load i32, ptr %2, align 4, !tbaa !5
  %243 = sext i32 %242 to i64
  %244 = getelementptr inbounds i8, ptr %241, i64 %243
  %245 = load ptr, ptr getelementptr inbounds (%struct.ChargeStr, ptr getelementptr inbounds (%struct.FlowStr, ptr @flow, i32 0, i32 3), i32 0, i32 2), align 8, !tbaa !24
  %246 = load i32, ptr %10, align 4, !tbaa !5
  %247 = sext i32 %246 to i64
  %248 = getelementptr inbounds ptr, ptr %245, i64 %247
  %249 = load ptr, ptr %248, align 8, !tbaa !9
  %250 = getelementptr inbounds double, ptr %249, i64 1
  %251 = load ptr, ptr getelementptr inbounds (%struct.ChargeStr, ptr getelementptr inbounds (%struct.FlowStr, ptr @flow, i32 0, i32 3), i32 0, i32 2), align 8, !tbaa !24
  %252 = load i32, ptr %10, align 4, !tbaa !5
  %253 = sext i32 %252 to i64
  %254 = getelementptr inbounds ptr, ptr %251, i64 %253
  %255 = load ptr, ptr %254, align 8, !tbaa !9
  %256 = getelementptr inbounds double, ptr %255, i64 2
  %257 = load ptr, ptr getelementptr inbounds (%struct.ChargeStr, ptr getelementptr inbounds (%struct.FlowStr, ptr @flow, i32 0, i32 3), i32 0, i32 2), align 8, !tbaa !24
  %258 = load i32, ptr %10, align 4, !tbaa !5
  %259 = sext i32 %258 to i64
  %260 = getelementptr inbounds ptr, ptr %257, i64 %259
  %261 = load ptr, ptr %260, align 8, !tbaa !9
  %262 = getelementptr inbounds double, ptr %261, i64 3
  %263 = load ptr, ptr getelementptr inbounds (%struct.ChargeStr, ptr getelementptr inbounds (%struct.FlowStr, ptr @flow, i32 0, i32 3), i32 0, i32 4), align 8, !tbaa !28
  %264 = load i32, ptr %10, align 4, !tbaa !5
  %265 = sext i32 %264 to i64
  %266 = getelementptr inbounds double, ptr %263, i64 %265
  %267 = load ptr, ptr getelementptr inbounds (%struct.ChargeStr, ptr getelementptr inbounds (%struct.FlowStr, ptr @flow, i32 0, i32 3), i32 0, i32 5), align 8, !tbaa !29
  %268 = load i32, ptr %10, align 4, !tbaa !5
  %269 = sext i32 %268 to i64
  %270 = getelementptr inbounds double, ptr %267, i64 %269
  %271 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef %244, ptr noundef @.str.119, ptr noundef %250, ptr noundef %256, ptr noundef %262, ptr noundef %266, ptr noundef %270, ptr noundef %1) #8
  %272 = load i32, ptr %1, align 4, !tbaa !5
  %273 = load i32, ptr %2, align 4, !tbaa !5
  %274 = add nsw i32 %273, %272
  store i32 %274, ptr %2, align 4, !tbaa !5
  %275 = load i32, ptr %10, align 4, !tbaa !5
  %276 = load i32, ptr %7, align 4, !tbaa !5
  %277 = sub nsw i32 %276, 1
  %278 = icmp ne i32 %275, %277
  br i1 %278, label %279, label %286

279:                                              ; preds = %237
  %280 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
  %281 = load i32, ptr %2, align 4, !tbaa !5
  %282 = sext i32 %281 to i64
  %283 = getelementptr inbounds i8, ptr %280, i64 %282
  %284 = getelementptr inbounds [1024 x i8], ptr %4, i64 0, i64 0
  %285 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef %283, ptr noundef @.str.120, ptr noundef %284, ptr noundef %1) #8
  br label %286

286:                                              ; preds = %279, %237
  br label %287

287:                                              ; preds = %286
  %288 = load i32, ptr %10, align 4, !tbaa !5
  %289 = add nsw i32 %288, 1
  store i32 %289, ptr %10, align 4, !tbaa !5
  br label %232, !llvm.loop !30

290:                                              ; preds = %236
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #8
  br label %293

291:                                              ; preds = %147
  %292 = call i32 (ptr, ...) @printf(ptr noundef @.str.121, ptr noundef @.str.2, i32 noundef 629)
  call void @exit(i32 noundef 1) #9
  unreachable

293:                                              ; preds = %290
  br label %294

294:                                              ; preds = %293, %146
  br label %295

295:                                              ; preds = %294, %117
  br label %296

296:                                              ; preds = %295, %93
  %297 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
  %298 = load ptr, ptr %5, align 8, !tbaa !9
  %299 = call ptr @fgets(ptr noundef %297, i32 noundef 1024, ptr noundef %298)
  %300 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
  %301 = getelementptr inbounds [1024 x i8], ptr %4, i64 0, i64 0
  %302 = getelementptr inbounds [1024 x i8], ptr %4, i64 0, i64 0
  %303 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef %300, ptr noundef @.str.110, ptr noundef %301, ptr noundef %302, ptr noundef %1) #8
  %304 = getelementptr inbounds [1024 x i8], ptr %4, i64 0, i64 0
  %305 = call i32 @strcmp(ptr noundef %304, ptr noundef @.str.88) #10
  %306 = icmp ne i32 %305, 0
  br i1 %306, label %307, label %440

307:                                              ; preds = %296
  store i32 1, ptr @obstObj, align 8, !tbaa !31
  %308 = getelementptr inbounds [1024 x i8], ptr %4, i64 0, i64 0
  %309 = call i32 @atoi(ptr noundef %308) #10
  store i32 %309, ptr getelementptr inbounds (%struct.ObstructionStr, ptr @obstObj, i32 0, i32 1), align 4, !tbaa !33
  %310 = load i32, ptr getelementptr inbounds (%struct.ObstructionStr, ptr @obstObj, i32 0, i32 1), align 4, !tbaa !33
  %311 = sext i32 %310 to i64
  %312 = call noalias ptr @calloc(i64 noundef %311, i64 noundef 8) #11
  store ptr %312, ptr getelementptr inbounds (%struct.ObstructionStr, ptr @obstObj, i32 0, i32 3), align 8, !tbaa !34
  %313 = load i32, ptr getelementptr inbounds (%struct.ObstructionStr, ptr @obstObj, i32 0, i32 1), align 4, !tbaa !33
  %314 = mul nsw i32 %313, 4
  %315 = sext i32 %314 to i64
  %316 = call noalias ptr @calloc(i64 noundef %315, i64 noundef 8) #11
  %317 = load ptr, ptr getelementptr inbounds (%struct.ObstructionStr, ptr @obstObj, i32 0, i32 3), align 8, !tbaa !34
  %318 = getelementptr inbounds ptr, ptr %317, i64 0
  store ptr %316, ptr %318, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #8
  store i32 1, ptr %11, align 4, !tbaa !5
  br label %319

319:                                              ; preds = %336, %307
  %320 = load i32, ptr %11, align 4, !tbaa !5
  %321 = load i32, ptr getelementptr inbounds (%struct.ObstructionStr, ptr @obstObj, i32 0, i32 1), align 4, !tbaa !33
  %322 = icmp slt i32 %320, %321
  br i1 %322, label %324, label %323

323:                                              ; preds = %319
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #8
  br label %339

324:                                              ; preds = %319
  %325 = load ptr, ptr getelementptr inbounds (%struct.ObstructionStr, ptr @obstObj, i32 0, i32 3), align 8, !tbaa !34
  %326 = getelementptr inbounds ptr, ptr %325, i64 0
  %327 = load ptr, ptr %326, align 8, !tbaa !9
  %328 = load i32, ptr %11, align 4, !tbaa !5
  %329 = mul nsw i32 %328, 4
  %330 = sext i32 %329 to i64
  %331 = getelementptr inbounds double, ptr %327, i64 %330
  %332 = load ptr, ptr getelementptr inbounds (%struct.ObstructionStr, ptr @obstObj, i32 0, i32 3), align 8, !tbaa !34
  %333 = load i32, ptr %11, align 4, !tbaa !5
  %334 = sext i32 %333 to i64
  %335 = getelementptr inbounds ptr, ptr %332, i64 %334
  store ptr %331, ptr %335, align 8, !tbaa !9
  br label %336

336:                                              ; preds = %324
  %337 = load i32, ptr %11, align 4, !tbaa !5
  %338 = add nsw i32 %337, 1
  store i32 %338, ptr %11, align 4, !tbaa !5
  br label %319, !llvm.loop !35

339:                                              ; preds = %323
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #8
  store i32 0, ptr %12, align 4, !tbaa !5
  br label %340

340:                                              ; preds = %364, %339
  %341 = load i32, ptr %12, align 4, !tbaa !5
  %342 = load i32, ptr getelementptr inbounds (%struct.ObstructionStr, ptr @obstObj, i32 0, i32 1), align 4, !tbaa !33
  %343 = icmp slt i32 %341, %342
  br i1 %343, label %345, label %344

344:                                              ; preds = %340
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #8
  br label %367

345:                                              ; preds = %340
  %346 = load ptr, ptr getelementptr inbounds (%struct.ObstructionStr, ptr @obstObj, i32 0, i32 3), align 8, !tbaa !34
  %347 = load i32, ptr %12, align 4, !tbaa !5
  %348 = sext i32 %347 to i64
  %349 = getelementptr inbounds ptr, ptr %346, i64 %348
  %350 = load ptr, ptr %349, align 8, !tbaa !9
  %351 = getelementptr inbounds double, ptr %350, i64 1
  store double -1.000000e+00, ptr %351, align 8, !tbaa !11
  %352 = load ptr, ptr getelementptr inbounds (%struct.ObstructionStr, ptr @obstObj, i32 0, i32 3), align 8, !tbaa !34
  %353 = load i32, ptr %12, align 4, !tbaa !5
  %354 = sext i32 %353 to i64
  %355 = getelementptr inbounds ptr, ptr %352, i64 %354
  %356 = load ptr, ptr %355, align 8, !tbaa !9
  %357 = getelementptr inbounds double, ptr %356, i64 2
  store double -1.000000e+00, ptr %357, align 8, !tbaa !11
  %358 = load ptr, ptr getelementptr inbounds (%struct.ObstructionStr, ptr @obstObj, i32 0, i32 3), align 8, !tbaa !34
  %359 = load i32, ptr %12, align 4, !tbaa !5
  %360 = sext i32 %359 to i64
  %361 = getelementptr inbounds ptr, ptr %358, i64 %360
  %362 = load ptr, ptr %361, align 8, !tbaa !9
  %363 = getelementptr inbounds double, ptr %362, i64 3
  store double -1.000000e+00, ptr %363, align 8, !tbaa !11
  br label %364

364:                                              ; preds = %345
  %365 = load i32, ptr %12, align 4, !tbaa !5
  %366 = add nsw i32 %365, 1
  store i32 %366, ptr %12, align 4, !tbaa !5
  br label %340, !llvm.loop !36

367:                                              ; preds = %344
  store i32 0, ptr %2, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #8
  store i32 0, ptr %14, align 4, !tbaa !5
  br label %368

368:                                              ; preds = %436, %367
  %369 = load i32, ptr %14, align 4, !tbaa !5
  %370 = load i32, ptr getelementptr inbounds (%struct.ObstructionStr, ptr @obstObj, i32 0, i32 1), align 4, !tbaa !33
  %371 = icmp slt i32 %369, %370
  br i1 %371, label %373, label %372

372:                                              ; preds = %368
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #8
  br label %439

373:                                              ; preds = %368
  %374 = load i32, ptr %1, align 4, !tbaa !5
  %375 = load i32, ptr %2, align 4, !tbaa !5
  %376 = add nsw i32 %375, %374
  store i32 %376, ptr %2, align 4, !tbaa !5
  %377 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
  %378 = load i32, ptr %2, align 4, !tbaa !5
  %379 = sext i32 %378 to i64
  %380 = getelementptr inbounds i8, ptr %377, i64 %379
  %381 = getelementptr inbounds [1024 x i8], ptr %4, i64 0, i64 0
  %382 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef %380, ptr noundef @.str.120, ptr noundef %381, ptr noundef %1) #8
  %383 = getelementptr inbounds [1024 x i8], ptr %4, i64 0, i64 0
  %384 = load i8, ptr %383, align 16, !tbaa !37
  %385 = sext i8 %384 to i32
  %386 = icmp eq i32 %385, 120
  br i1 %386, label %387, label %388

387:                                              ; preds = %373
  store i32 1, ptr %13, align 4, !tbaa !5
  br label %404

388:                                              ; preds = %373
  %389 = getelementptr inbounds [1024 x i8], ptr %4, i64 0, i64 0
  %390 = load i8, ptr %389, align 16, !tbaa !37
  %391 = sext i8 %390 to i32
  %392 = icmp eq i32 %391, 121
  br i1 %392, label %393, label %394

393:                                              ; preds = %388
  store i32 2, ptr %13, align 4, !tbaa !5
  br label %403

394:                                              ; preds = %388
  %395 = getelementptr inbounds [1024 x i8], ptr %4, i64 0, i64 0
  %396 = load i8, ptr %395, align 16, !tbaa !37
  %397 = sext i8 %396 to i32
  %398 = icmp eq i32 %397, 122
  br i1 %398, label %399, label %400

399:                                              ; preds = %394
  store i32 3, ptr %13, align 4, !tbaa !5
  br label %402

400:                                              ; preds = %394
  %401 = call i32 (ptr, ...) @printf(ptr noundef @.str.122, ptr noundef @.str.2, i32 noundef 661)
  call void @exit(i32 noundef 1) #9
  unreachable

402:                                              ; preds = %399
  br label %403

403:                                              ; preds = %402, %393
  br label %404

404:                                              ; preds = %403, %387
  %405 = load i32, ptr %1, align 4, !tbaa !5
  %406 = load i32, ptr %2, align 4, !tbaa !5
  %407 = add nsw i32 %406, %405
  store i32 %407, ptr %2, align 4, !tbaa !5
  %408 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
  %409 = load i32, ptr %2, align 4, !tbaa !5
  %410 = sext i32 %409 to i64
  %411 = getelementptr inbounds i8, ptr %408, i64 %410
  %412 = load ptr, ptr getelementptr inbounds (%struct.ObstructionStr, ptr @obstObj, i32 0, i32 3), align 8, !tbaa !34
  %413 = load i32, ptr %14, align 4, !tbaa !5
  %414 = sext i32 %413 to i64
  %415 = getelementptr inbounds ptr, ptr %412, i64 %414
  %416 = load ptr, ptr %415, align 8, !tbaa !9
  %417 = load i32, ptr %13, align 4, !tbaa !5
  %418 = sext i32 %417 to i64
  %419 = getelementptr inbounds double, ptr %416, i64 %418
  %420 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef %411, ptr noundef @.str.123, ptr noundef %419, ptr noundef %1) #8
  %421 = load i32, ptr %1, align 4, !tbaa !5
  %422 = load i32, ptr %2, align 4, !tbaa !5
  %423 = add nsw i32 %422, %421
  store i32 %423, ptr %2, align 4, !tbaa !5
  %424 = load i32, ptr %14, align 4, !tbaa !5
  %425 = load i32, ptr getelementptr inbounds (%struct.ObstructionStr, ptr @obstObj, i32 0, i32 1), align 4, !tbaa !33
  %426 = sub nsw i32 %425, 1
  %427 = icmp ne i32 %424, %426
  br i1 %427, label %428, label %435

428:                                              ; preds = %404
  %429 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
  %430 = load i32, ptr %2, align 4, !tbaa !5
  %431 = sext i32 %430 to i64
  %432 = getelementptr inbounds i8, ptr %429, i64 %431
  %433 = getelementptr inbounds [1024 x i8], ptr %4, i64 0, i64 0
  %434 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef %432, ptr noundef @.str.120, ptr noundef %433, ptr noundef %1) #8
  br label %435

435:                                              ; preds = %428, %404
  br label %436

436:                                              ; preds = %435
  %437 = load i32, ptr %14, align 4, !tbaa !5
  %438 = add nsw i32 %437, 1
  store i32 %438, ptr %14, align 4, !tbaa !5
  br label %368, !llvm.loop !38

439:                                              ; preds = %372
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #8
  br label %440

440:                                              ; preds = %439, %296
  %441 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
  %442 = load ptr, ptr %5, align 8, !tbaa !9
  %443 = call ptr @fgets(ptr noundef %441, i32 noundef 1024, ptr noundef %442)
  %444 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
  %445 = getelementptr inbounds [1024 x i8], ptr %4, i64 0, i64 0
  %446 = getelementptr inbounds [1024 x i8], ptr %4, i64 0, i64 0
  %447 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef %444, ptr noundef @.str.110, ptr noundef %445, ptr noundef %446, ptr noundef %1) #8
  %448 = getelementptr inbounds [1024 x i8], ptr %4, i64 0, i64 0
  %449 = call i32 @strcmp(ptr noundef %448, ptr noundef @.str.88) #10
  %450 = icmp ne i32 %449, 0
  br i1 %450, label %451, label %548

451:                                              ; preds = %440
  store i32 1, ptr @tunlObj, align 8, !tbaa !39
  %452 = getelementptr inbounds [1024 x i8], ptr %4, i64 0, i64 0
  %453 = call i32 @atoi(ptr noundef %452) #10
  store i32 %453, ptr getelementptr inbounds (%struct.TunnelStr, ptr @tunlObj, i32 0, i32 1), align 4, !tbaa !42
  %454 = load i32, ptr getelementptr inbounds (%struct.TunnelStr, ptr @tunlObj, i32 0, i32 1), align 4, !tbaa !42
  %455 = sext i32 %454 to i64
  %456 = call noalias ptr @calloc(i64 noundef %455, i64 noundef 8) #11
  store ptr %456, ptr getelementptr inbounds (%struct.TunnelStr, ptr @tunlObj, i32 0, i32 2), align 8, !tbaa !43
  %457 = load i32, ptr getelementptr inbounds (%struct.TunnelStr, ptr @tunlObj, i32 0, i32 1), align 4, !tbaa !42
  %458 = mul nsw i32 %457, 4
  %459 = sext i32 %458 to i64
  %460 = call noalias ptr @calloc(i64 noundef %459, i64 noundef 8) #11
  %461 = load ptr, ptr getelementptr inbounds (%struct.TunnelStr, ptr @tunlObj, i32 0, i32 2), align 8, !tbaa !43
  %462 = getelementptr inbounds ptr, ptr %461, i64 0
  store ptr %460, ptr %462, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #8
  store i32 1, ptr %15, align 4, !tbaa !5
  br label %463

463:                                              ; preds = %480, %451
  %464 = load i32, ptr %15, align 4, !tbaa !5
  %465 = load i32, ptr getelementptr inbounds (%struct.TunnelStr, ptr @tunlObj, i32 0, i32 1), align 4, !tbaa !42
  %466 = icmp slt i32 %464, %465
  br i1 %466, label %468, label %467

467:                                              ; preds = %463
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #8
  br label %483

468:                                              ; preds = %463
  %469 = load ptr, ptr getelementptr inbounds (%struct.TunnelStr, ptr @tunlObj, i32 0, i32 2), align 8, !tbaa !43
  %470 = getelementptr inbounds ptr, ptr %469, i64 0
  %471 = load ptr, ptr %470, align 8, !tbaa !9
  %472 = load i32, ptr %15, align 4, !tbaa !5
  %473 = mul nsw i32 %472, 4
  %474 = sext i32 %473 to i64
  %475 = getelementptr inbounds double, ptr %471, i64 %474
  %476 = load ptr, ptr getelementptr inbounds (%struct.TunnelStr, ptr @tunlObj, i32 0, i32 2), align 8, !tbaa !43
  %477 = load i32, ptr %15, align 4, !tbaa !5
  %478 = sext i32 %477 to i64
  %479 = getelementptr inbounds ptr, ptr %476, i64 %478
  store ptr %475, ptr %479, align 8, !tbaa !9
  br label %480

480:                                              ; preds = %468
  %481 = load i32, ptr %15, align 4, !tbaa !5
  %482 = add nsw i32 %481, 1
  store i32 %482, ptr %15, align 4, !tbaa !5
  br label %463, !llvm.loop !44

483:                                              ; preds = %467
  %484 = load i32, ptr getelementptr inbounds (%struct.TunnelStr, ptr @tunlObj, i32 0, i32 1), align 4, !tbaa !42
  %485 = sext i32 %484 to i64
  %486 = call noalias ptr @calloc(i64 noundef %485, i64 noundef 8) #11
  store ptr %486, ptr getelementptr inbounds (%struct.TunnelStr, ptr @tunlObj, i32 0, i32 3), align 8, !tbaa !45
  store i32 0, ptr %2, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #8
  store i32 0, ptr %16, align 4, !tbaa !5
  br label %487

487:                                              ; preds = %544, %483
  %488 = load i32, ptr %16, align 4, !tbaa !5
  %489 = load i32, ptr getelementptr inbounds (%struct.TunnelStr, ptr @tunlObj, i32 0, i32 1), align 4, !tbaa !42
  %490 = icmp slt i32 %488, %489
  br i1 %490, label %492, label %491

491:                                              ; preds = %487
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #8
  br label %547

492:                                              ; preds = %487
  %493 = load i32, ptr %1, align 4, !tbaa !5
  %494 = load i32, ptr %2, align 4, !tbaa !5
  %495 = add nsw i32 %494, %493
  store i32 %495, ptr %2, align 4, !tbaa !5
  %496 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
  %497 = load i32, ptr %2, align 4, !tbaa !5
  %498 = sext i32 %497 to i64
  %499 = getelementptr inbounds i8, ptr %496, i64 %498
  %500 = load ptr, ptr getelementptr inbounds (%struct.TunnelStr, ptr @tunlObj, i32 0, i32 2), align 8, !tbaa !43
  %501 = load i32, ptr %16, align 4, !tbaa !5
  %502 = sext i32 %501 to i64
  %503 = getelementptr inbounds ptr, ptr %500, i64 %502
  %504 = load ptr, ptr %503, align 8, !tbaa !9
  %505 = getelementptr inbounds double, ptr %504, i64 0
  %506 = load ptr, ptr getelementptr inbounds (%struct.TunnelStr, ptr @tunlObj, i32 0, i32 2), align 8, !tbaa !43
  %507 = load i32, ptr %16, align 4, !tbaa !5
  %508 = sext i32 %507 to i64
  %509 = getelementptr inbounds ptr, ptr %506, i64 %508
  %510 = load ptr, ptr %509, align 8, !tbaa !9
  %511 = getelementptr inbounds double, ptr %510, i64 1
  %512 = load ptr, ptr getelementptr inbounds (%struct.TunnelStr, ptr @tunlObj, i32 0, i32 2), align 8, !tbaa !43
  %513 = load i32, ptr %16, align 4, !tbaa !5
  %514 = sext i32 %513 to i64
  %515 = getelementptr inbounds ptr, ptr %512, i64 %514
  %516 = load ptr, ptr %515, align 8, !tbaa !9
  %517 = getelementptr inbounds double, ptr %516, i64 2
  %518 = load ptr, ptr getelementptr inbounds (%struct.TunnelStr, ptr @tunlObj, i32 0, i32 2), align 8, !tbaa !43
  %519 = load i32, ptr %16, align 4, !tbaa !5
  %520 = sext i32 %519 to i64
  %521 = getelementptr inbounds ptr, ptr %518, i64 %520
  %522 = load ptr, ptr %521, align 8, !tbaa !9
  %523 = getelementptr inbounds double, ptr %522, i64 3
  %524 = load ptr, ptr getelementptr inbounds (%struct.TunnelStr, ptr @tunlObj, i32 0, i32 3), align 8, !tbaa !45
  %525 = load i32, ptr %16, align 4, !tbaa !5
  %526 = sext i32 %525 to i64
  %527 = getelementptr inbounds double, ptr %524, i64 %526
  %528 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef %499, ptr noundef @.str.119, ptr noundef %505, ptr noundef %511, ptr noundef %517, ptr noundef %523, ptr noundef %527, ptr noundef %1) #8
  %529 = load i32, ptr %1, align 4, !tbaa !5
  %530 = load i32, ptr %2, align 4, !tbaa !5
  %531 = add nsw i32 %530, %529
  store i32 %531, ptr %2, align 4, !tbaa !5
  %532 = load i32, ptr %16, align 4, !tbaa !5
  %533 = load i32, ptr getelementptr inbounds (%struct.TunnelStr, ptr @tunlObj, i32 0, i32 1), align 4, !tbaa !42
  %534 = sub nsw i32 %533, 1
  %535 = icmp ne i32 %532, %534
  br i1 %535, label %536, label %543

536:                                              ; preds = %492
  %537 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
  %538 = load i32, ptr %2, align 4, !tbaa !5
  %539 = sext i32 %538 to i64
  %540 = getelementptr inbounds i8, ptr %537, i64 %539
  %541 = getelementptr inbounds [1024 x i8], ptr %4, i64 0, i64 0
  %542 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef %540, ptr noundef @.str.120, ptr noundef %541, ptr noundef %1) #8
  br label %543

543:                                              ; preds = %536, %492
  br label %544

544:                                              ; preds = %543
  %545 = load i32, ptr %16, align 4, !tbaa !5
  %546 = add nsw i32 %545, 1
  store i32 %546, ptr %16, align 4, !tbaa !5
  br label %487, !llvm.loop !46

547:                                              ; preds = %491
  br label %548

548:                                              ; preds = %547, %440
  %549 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
  %550 = load ptr, ptr %5, align 8, !tbaa !9
  %551 = call ptr @fgets(ptr noundef %549, i32 noundef 1024, ptr noundef %550)
  %552 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
  %553 = getelementptr inbounds [1024 x i8], ptr %4, i64 0, i64 0
  %554 = getelementptr inbounds [1024 x i8], ptr %4, i64 0, i64 0
  %555 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef %552, ptr noundef @.str.110, ptr noundef %553, ptr noundef %554, ptr noundef %1) #8
  %556 = getelementptr inbounds [1024 x i8], ptr %4, i64 0, i64 0
  %557 = call i32 @strcmp(ptr noundef %556, ptr noundef @.str.88) #10
  %558 = icmp ne i32 %557, 0
  br i1 %558, label %559, label %656

559:                                              ; preds = %548
  store i32 1, ptr @SphObstObj, align 8, !tbaa !47
  %560 = getelementptr inbounds [1024 x i8], ptr %4, i64 0, i64 0
  %561 = call i32 @atoi(ptr noundef %560) #10
  store i32 %561, ptr getelementptr inbounds (%struct.SphObstStr, ptr @SphObstObj, i32 0, i32 1), align 4, !tbaa !49
  %562 = load i32, ptr getelementptr inbounds (%struct.SphObstStr, ptr @SphObstObj, i32 0, i32 1), align 4, !tbaa !49
  %563 = sext i32 %562 to i64
  %564 = call noalias ptr @calloc(i64 noundef %563, i64 noundef 8) #11
  store ptr %564, ptr getelementptr inbounds (%struct.SphObstStr, ptr @SphObstObj, i32 0, i32 3), align 8, !tbaa !50
  %565 = load i32, ptr getelementptr inbounds (%struct.SphObstStr, ptr @SphObstObj, i32 0, i32 1), align 4, !tbaa !49
  %566 = mul nsw i32 %565, 4
  %567 = sext i32 %566 to i64
  %568 = call noalias ptr @calloc(i64 noundef %567, i64 noundef 8) #11
  %569 = load ptr, ptr getelementptr inbounds (%struct.SphObstStr, ptr @SphObstObj, i32 0, i32 3), align 8, !tbaa !50
  %570 = getelementptr inbounds ptr, ptr %569, i64 0
  store ptr %568, ptr %570, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #8
  store i32 1, ptr %17, align 4, !tbaa !5
  br label %571

571:                                              ; preds = %588, %559
  %572 = load i32, ptr %17, align 4, !tbaa !5
  %573 = load i32, ptr getelementptr inbounds (%struct.SphObstStr, ptr @SphObstObj, i32 0, i32 1), align 4, !tbaa !49
  %574 = icmp slt i32 %572, %573
  br i1 %574, label %576, label %575

575:                                              ; preds = %571
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #8
  br label %591

576:                                              ; preds = %571
  %577 = load ptr, ptr getelementptr inbounds (%struct.SphObstStr, ptr @SphObstObj, i32 0, i32 3), align 8, !tbaa !50
  %578 = getelementptr inbounds ptr, ptr %577, i64 0
  %579 = load ptr, ptr %578, align 8, !tbaa !9
  %580 = load i32, ptr %17, align 4, !tbaa !5
  %581 = mul nsw i32 %580, 4
  %582 = sext i32 %581 to i64
  %583 = getelementptr inbounds double, ptr %579, i64 %582
  %584 = load ptr, ptr getelementptr inbounds (%struct.SphObstStr, ptr @SphObstObj, i32 0, i32 3), align 8, !tbaa !50
  %585 = load i32, ptr %17, align 4, !tbaa !5
  %586 = sext i32 %585 to i64
  %587 = getelementptr inbounds ptr, ptr %584, i64 %586
  store ptr %583, ptr %587, align 8, !tbaa !9
  br label %588

588:                                              ; preds = %576
  %589 = load i32, ptr %17, align 4, !tbaa !5
  %590 = add nsw i32 %589, 1
  store i32 %590, ptr %17, align 4, !tbaa !5
  br label %571, !llvm.loop !51

591:                                              ; preds = %575
  %592 = load i32, ptr getelementptr inbounds (%struct.SphObstStr, ptr @SphObstObj, i32 0, i32 1), align 4, !tbaa !49
  %593 = sext i32 %592 to i64
  %594 = call noalias ptr @calloc(i64 noundef %593, i64 noundef 8) #11
  store ptr %594, ptr getelementptr inbounds (%struct.SphObstStr, ptr @SphObstObj, i32 0, i32 2), align 8, !tbaa !52
  store i32 0, ptr %2, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #8
  store i32 0, ptr %18, align 4, !tbaa !5
  br label %595

595:                                              ; preds = %652, %591
  %596 = load i32, ptr %18, align 4, !tbaa !5
  %597 = load i32, ptr getelementptr inbounds (%struct.SphObstStr, ptr @SphObstObj, i32 0, i32 1), align 4, !tbaa !49
  %598 = icmp slt i32 %596, %597
  br i1 %598, label %600, label %599

599:                                              ; preds = %595
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #8
  br label %655

600:                                              ; preds = %595
  %601 = load i32, ptr %1, align 4, !tbaa !5
  %602 = load i32, ptr %2, align 4, !tbaa !5
  %603 = add nsw i32 %602, %601
  store i32 %603, ptr %2, align 4, !tbaa !5
  %604 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
  %605 = load i32, ptr %2, align 4, !tbaa !5
  %606 = sext i32 %605 to i64
  %607 = getelementptr inbounds i8, ptr %604, i64 %606
  %608 = load ptr, ptr getelementptr inbounds (%struct.SphObstStr, ptr @SphObstObj, i32 0, i32 3), align 8, !tbaa !50
  %609 = load i32, ptr %18, align 4, !tbaa !5
  %610 = sext i32 %609 to i64
  %611 = getelementptr inbounds ptr, ptr %608, i64 %610
  %612 = load ptr, ptr %611, align 8, !tbaa !9
  %613 = getelementptr inbounds double, ptr %612, i64 1
  %614 = load ptr, ptr getelementptr inbounds (%struct.SphObstStr, ptr @SphObstObj, i32 0, i32 3), align 8, !tbaa !50
  %615 = load i32, ptr %18, align 4, !tbaa !5
  %616 = sext i32 %615 to i64
  %617 = getelementptr inbounds ptr, ptr %614, i64 %616
  %618 = load ptr, ptr %617, align 8, !tbaa !9
  %619 = getelementptr inbounds double, ptr %618, i64 2
  %620 = load ptr, ptr getelementptr inbounds (%struct.SphObstStr, ptr @SphObstObj, i32 0, i32 3), align 8, !tbaa !50
  %621 = load i32, ptr %18, align 4, !tbaa !5
  %622 = sext i32 %621 to i64
  %623 = getelementptr inbounds ptr, ptr %620, i64 %622
  %624 = load ptr, ptr %623, align 8, !tbaa !9
  %625 = getelementptr inbounds double, ptr %624, i64 3
  %626 = load ptr, ptr getelementptr inbounds (%struct.SphObstStr, ptr @SphObstObj, i32 0, i32 2), align 8, !tbaa !52
  %627 = load i32, ptr %18, align 4, !tbaa !5
  %628 = sext i32 %627 to i64
  %629 = getelementptr inbounds double, ptr %626, i64 %628
  %630 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef %607, ptr noundef @.str.124, ptr noundef %613, ptr noundef %619, ptr noundef %625, ptr noundef %629, ptr noundef %1) #8
  %631 = load ptr, ptr getelementptr inbounds (%struct.SphObstStr, ptr @SphObstObj, i32 0, i32 2), align 8, !tbaa !52
  %632 = load i32, ptr %18, align 4, !tbaa !5
  %633 = sext i32 %632 to i64
  %634 = getelementptr inbounds double, ptr %631, i64 %633
  %635 = load double, ptr %634, align 8, !tbaa !11
  %636 = fdiv double %635, 2.000000e+00
  store double %636, ptr %634, align 8, !tbaa !11
  %637 = load i32, ptr %1, align 4, !tbaa !5
  %638 = load i32, ptr %2, align 4, !tbaa !5
  %639 = add nsw i32 %638, %637
  store i32 %639, ptr %2, align 4, !tbaa !5
  %640 = load i32, ptr %18, align 4, !tbaa !5
  %641 = load i32, ptr getelementptr inbounds (%struct.SphObstStr, ptr @SphObstObj, i32 0, i32 1), align 4, !tbaa !49
  %642 = sub nsw i32 %641, 1
  %643 = icmp ne i32 %640, %642
  br i1 %643, label %644, label %651

644:                                              ; preds = %600
  %645 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
  %646 = load i32, ptr %2, align 4, !tbaa !5
  %647 = sext i32 %646 to i64
  %648 = getelementptr inbounds i8, ptr %645, i64 %647
  %649 = getelementptr inbounds [1024 x i8], ptr %4, i64 0, i64 0
  %650 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef %648, ptr noundef @.str.120, ptr noundef %649, ptr noundef %1) #8
  br label %651

651:                                              ; preds = %644, %600
  br label %652

652:                                              ; preds = %651
  %653 = load i32, ptr %18, align 4, !tbaa !5
  %654 = add nsw i32 %653, 1
  store i32 %654, ptr %18, align 4, !tbaa !5
  br label %595, !llvm.loop !53

655:                                              ; preds = %599
  br label %656

656:                                              ; preds = %655, %548
  %657 = load ptr, ptr %5, align 8, !tbaa !9
  %658 = call i32 @fclose(ptr noundef %657)
  %659 = call i32 (ptr, ...) @printf(ptr noundef @.str.86)
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #8
  call void @llvm.lifetime.end.p0(i64 1024, ptr %4) #8
  call void @llvm.lifetime.end.p0(i64 1024, ptr %3) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %1) #8
  ret void
}

declare i32 @fflush(ptr noundef) #3

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

declare i32 @fclose(ptr noundef) #3

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

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

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

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"double", !7, i64 0}
!13 = !{!14, !6, i64 32}
!14 = !{!"CGGovStr", !7, i64 0, !6, i64 32, !6, i64 36, !10, i64 40, !10, i64 48}
!15 = !{!16, !6, i64 0}
!16 = !{!"FlowStr", !6, i64 0, !17, i64 8, !18, i64 40, !19, i64 88}
!17 = !{!"ConstVStr", !7, i64 0}
!18 = !{!"ForceStr", !7, i64 0, !10, i64 32, !10, i64 40}
!19 = !{!"ChargeStr", !6, i64 0, !6, i64 4, !10, i64 8, !10, i64 16, !10, i64 24, !10, i64 32}
!20 = distinct !{!20, !21}
!21 = !{!"llvm.loop.mustprogress"}
!22 = !{!16, !6, i64 88}
!23 = !{!16, !6, i64 92}
!24 = !{!16, !10, i64 96}
!25 = distinct !{!25, !21}
!26 = !{!16, !10, i64 104}
!27 = distinct !{!27, !21}
!28 = !{!16, !10, i64 112}
!29 = !{!16, !10, i64 120}
!30 = distinct !{!30, !21}
!31 = !{!32, !6, i64 0}
!32 = !{!"ObstructionStr", !6, i64 0, !6, i64 4, !10, i64 8, !10, i64 16, !10, i64 24}
!33 = !{!32, !6, i64 4}
!34 = !{!32, !10, i64 16}
!35 = distinct !{!35, !21}
!36 = distinct !{!36, !21}
!37 = !{!7, !7, i64 0}
!38 = distinct !{!38, !21}
!39 = !{!40, !6, i64 0}
!40 = !{!"TunnelStr", !6, i64 0, !6, i64 4, !10, i64 8, !10, i64 16, !41, i64 24}
!41 = !{!"AtomStr", !10, i64 0, !10, i64 8}
!42 = !{!40, !6, i64 4}
!43 = !{!40, !10, i64 8}
!44 = distinct !{!44, !21}
!45 = !{!40, !10, i64 16}
!46 = distinct !{!46, !21}
!47 = !{!48, !6, i64 0}
!48 = !{!"SphObstStr", !6, i64 0, !6, i64 4, !10, i64 8, !10, i64 16}
!49 = !{!48, !6, i64 4}
!50 = !{!48, !10, i64 16}
!51 = distinct !{!51, !21}
!52 = !{!48, !10, i64 8}
!53 = distinct !{!53, !21}


; 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.DynamicWallStr = type { [16 x i8], i32, i32, double, double, double, double, [4 x double] }
%struct.FlowStr = type { i32, %struct.ConstVStr, %struct.ForceStr, %struct.ChargeStr }
%struct.ConstVStr = type { [4 x double] }
%struct.ForceStr = type { [4 x double], ptr, ptr }
%struct.ChargeStr = type { i32, i32, ptr, ptr, ptr, ptr }
%struct.ObstructionStr = type { i32, i32, ptr, ptr, ptr }
%struct.CGGovStr = type { [2 x [16 x i8]], i32, i32, ptr, ptr }
%struct.TunnelStr = type { i32, i32, ptr, ptr, %struct.AtomStr }
%struct.AtomStr = type { ptr, ptr }
%struct.SphObstStr = type { i32, i32, ptr, ptr }

@.str.2 = external hidden unnamed_addr constant [71 x i8], align 1
@datadir = external global [1024 x i8], align 16
@.str.3 = external hidden unnamed_addr constant [3 x i8], align 1
@wallDyn = external global %struct.DynamicWallStr, align 8
@flow = external global %struct.FlowStr, align 8
@targetTemperature = external local_unnamed_addr global double, align 8
@neworcontinue = external global [20 x i8], align 16
@.str.86 = external hidden unnamed_addr constant [7 x i8], align 1
@stdout = external local_unnamed_addr global ptr, align 8
@wallExist = external global [20 x i8], align 16
@.str.88 = external hidden unnamed_addr constant [3 x i8], align 1
@obstObj = external local_unnamed_addr global %struct.ObstructionStr, align 8
@CG = external global %struct.CGGovStr, align 8
@.str.94 = external hidden unnamed_addr constant [2 x i8], align 1
@cutoffr = external global double, align 8
@temperatureType = external global [20 x i8], align 16
@outputrate = external global double, align 8
@Methodtype = external global [20 x i8], align 16
@timestep = external global double, align 8
@.str.104 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.105 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.106 = external hidden unnamed_addr constant [57 x i8], align 1
@.str.107 = external hidden unnamed_addr constant [41 x i8], align 1
@.str.108 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.109 = external hidden unnamed_addr constant [7 x i8], align 1
@thermostatType = external global [20 x i8], align 16
@thermoF = external global double, align 8
@.str.110 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.111 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.112 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.113 = external hidden unnamed_addr constant [39 x i8], align 1
@wallType = external global [20 x i8], align 16
@.str.114 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.115 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.116 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.117 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.118 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.119 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.120 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.121 = external hidden unnamed_addr constant [40 x i8], align 1
@.str.122 = external hidden unnamed_addr constant [52 x i8], align 1
@.str.123 = external hidden unnamed_addr constant [6 x i8], align 1
@tunlObj = external local_unnamed_addr global %struct.TunnelStr, align 8
@SphObstObj = external local_unnamed_addr global %struct.SphObstStr, align 8
@.str.124 = external hidden unnamed_addr constant [15 x i8], align 1

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

; Function Attrs: mustprogress nofree nounwind willreturn allockind("alloc,zeroed") allocsize(0,1) memory(inaccessiblemem: readwrite)
declare noalias noundef ptr @calloc(i64 noundef, i64 noundef) local_unnamed_addr #1

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

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

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

; Function Attrs: inlinehint mustprogress nofree nounwind willreturn memory(read) uwtable
declare double @atof(ptr nocapture noundef nonnull) local_unnamed_addr #4

; Function Attrs: inlinehint mustprogress nofree nounwind willreturn memory(read) uwtable
declare i32 @atoi(ptr nocapture noundef nonnull) local_unnamed_addr #4

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

; Function Attrs: nounwind uwtable
define dso_local void @ReadParameter() local_unnamed_addr #6 {
  %1 = alloca i32, align 4
  %2 = alloca [1024 x i8], align 16
  %3 = alloca [1024 x i8], align 16
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %1) #8
  store i32 0, ptr %1, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1024, ptr nonnull %2) #8
  call void @llvm.lifetime.start.p0(i64 1024, ptr nonnull %3) #8
  %4 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.104)
  %5 = load ptr, ptr @stdout, align 8, !tbaa !9
  %6 = tail call i32 @fflush(ptr noundef %5)
  %7 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %2, ptr noundef nonnull dereferenceable(1) @.str.105, ptr noundef nonnull @datadir) #8
  %8 = call noalias ptr @fopen(ptr noundef nonnull %2, ptr noundef nonnull @.str.94)
  %9 = icmp eq ptr %8, null
  br i1 %9, label %10, label %13

10:                                               ; preds = %0
  %11 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.106, ptr noundef nonnull @datadir, ptr noundef nonnull @.str.2, i32 noundef 522)
  %12 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.107)
  tail call void @exit(i32 noundef 1) #9
  unreachable

13:                                               ; preds = %0
  %14 = call i32 (ptr, ptr, ...) @__isoc99_fscanf(ptr noundef nonnull %8, ptr noundef nonnull @.str.108, ptr noundef nonnull %3, ptr noundef nonnull @neworcontinue) #8
  %15 = call i32 (ptr, ptr, ...) @__isoc99_fscanf(ptr noundef nonnull %8, ptr noundef nonnull @.str.109, ptr noundef nonnull %3, ptr noundef nonnull @timestep) #8
  %16 = call i32 (ptr, ptr, ...) @__isoc99_fscanf(ptr noundef nonnull %8, ptr noundef nonnull @.str.108, ptr noundef nonnull %3, ptr noundef nonnull @temperatureType) #8
  %17 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) @temperatureType, ptr noundef nonnull dereferenceable(1) @.str.88) #10
  %.not = icmp eq i32 %17, 0
  br i1 %.not, label %20, label %18

18:                                               ; preds = %13
  %19 = call double @atof(ptr noundef @temperatureType) #10
  store double %19, ptr @targetTemperature, align 8, !tbaa !11
  br label %20

20:                                               ; preds = %18, %13
  %21 = call i32 (ptr, ptr, ...) @__isoc99_fscanf(ptr noundef nonnull %8, ptr noundef nonnull @.str.109, ptr noundef nonnull %3, ptr noundef nonnull @outputrate) #8
  %22 = call i32 (ptr, ptr, ...) @__isoc99_fscanf(ptr noundef nonnull %8, ptr noundef nonnull @.str.109, ptr noundef nonnull %3, ptr noundef nonnull @cutoffr) #8
  %23 = call i32 (ptr, ptr, ...) @__isoc99_fscanf(ptr noundef nonnull %8, ptr noundef nonnull @.str.108, ptr noundef nonnull %3, ptr noundef nonnull @Methodtype) #8
  %24 = call i32 (ptr, ptr, ...) @__isoc99_fscanf(ptr noundef nonnull %8, ptr noundef nonnull @.str.108, ptr noundef nonnull %3, ptr noundef nonnull @thermostatType) #8
  %25 = call i32 (ptr, ptr, ...) @__isoc99_fscanf(ptr noundef nonnull %8, ptr noundef nonnull @.str.109, ptr noundef nonnull %3, ptr noundef nonnull @thermoF) #8
  %26 = call ptr @fgets(ptr noundef nonnull %2, i32 noundef 1024, ptr noundef nonnull %8)
  %27 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef nonnull %2, ptr noundef nonnull @.str.110, ptr noundef nonnull %3, ptr noundef nonnull @CG, ptr noundef nonnull %1) #8
  %28 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) @CG, ptr noundef nonnull dereferenceable(1) @.str.88) #10
  %29 = icmp eq i32 %28, 0
  br i1 %29, label %30, label %32

30:                                               ; preds = %20
  store i32 0, ptr getelementptr inbounds (i8, ptr @CG, i64 32), align 8, !tbaa !13
  %31 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) getelementptr inbounds (i8, ptr @CG, i64 16), ptr noundef nonnull dereferenceable(1) @.str.88) #8
  br label %50

32:                                               ; preds = %20
  %33 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) @CG, ptr noundef nonnull dereferenceable(1) @.str.111) #10
  %34 = icmp eq i32 %33, 0
  br i1 %34, label %35, label %40

35:                                               ; preds = %32
  store i32 1, ptr getelementptr inbounds (i8, ptr @CG, i64 32), align 8, !tbaa !13
  %36 = load i32, ptr %1, align 4, !tbaa !5
  %37 = sext i32 %36 to i64
  %38 = getelementptr inbounds i8, ptr %2, i64 %37
  %39 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef nonnull %38, ptr noundef nonnull @.str.3, ptr noundef nonnull getelementptr inbounds (i8, ptr @CG, i64 16)) #8
  br label %50

40:                                               ; preds = %32
  %41 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) @CG, ptr noundef nonnull dereferenceable(1) @.str.112) #10
  %42 = icmp eq i32 %41, 0
  br i1 %42, label %43, label %48

43:                                               ; preds = %40
  store i32 2, ptr getelementptr inbounds (i8, ptr @CG, i64 32), align 8, !tbaa !13
  %44 = load i32, ptr %1, align 4, !tbaa !5
  %45 = sext i32 %44 to i64
  %46 = getelementptr inbounds i8, ptr %2, i64 %45
  %47 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef nonnull %46, ptr noundef nonnull @.str.3, ptr noundef nonnull getelementptr inbounds (i8, ptr @CG, i64 16)) #8
  br label %50

48:                                               ; preds = %40
  %49 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.113, ptr noundef nonnull @.str.2, i32 noundef 554)
  call void @exit(i32 noundef 1) #9
  unreachable

50:                                               ; preds = %35, %43, %30
  %51 = call i32 (ptr, ptr, ...) @__isoc99_fscanf(ptr noundef nonnull %8, ptr noundef nonnull @.str.108, ptr noundef nonnull %3, ptr noundef nonnull @wallExist) #8
  %52 = call i32 (ptr, ptr, ...) @__isoc99_fscanf(ptr noundef nonnull %8, ptr noundef nonnull @.str.108, ptr noundef nonnull %3, ptr noundef nonnull @wallType) #8
  %53 = call i32 (ptr, ptr, ...) @__isoc99_fscanf(ptr noundef nonnull %8, ptr noundef nonnull @.str.108, ptr noundef nonnull %3, ptr noundef nonnull @wallDyn) #8
  %54 = call ptr @fgets(ptr noundef nonnull %2, i32 noundef 1024, ptr noundef nonnull %8)
  %55 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef nonnull %2, ptr noundef nonnull @.str.110, ptr noundef nonnull %3, ptr noundef nonnull %3, ptr noundef nonnull %1) #8
  %56 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %3, ptr noundef nonnull dereferenceable(1) @.str.88) #10
  %.not114 = icmp eq i32 %56, 0
  br i1 %.not114, label %.loopexit126, label %57

57:                                               ; preds = %50
  %58 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %3, ptr noundef nonnull dereferenceable(1) @.str.114) #10
  %59 = icmp eq i32 %58, 0
  br i1 %59, label %60, label %65

60:                                               ; preds = %57
  store i32 1, ptr @flow, align 8, !tbaa !15
  %61 = load i32, ptr %1, align 4, !tbaa !5
  %62 = sext i32 %61 to i64
  %63 = getelementptr inbounds i8, ptr %2, i64 %62
  %64 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef nonnull %63, ptr noundef nonnull @.str.115, ptr noundef nonnull getelementptr inbounds (i8, ptr @flow, i64 16), ptr noundef nonnull getelementptr inbounds (i8, ptr @flow, i64 24), ptr noundef nonnull getelementptr inbounds (i8, ptr @flow, i64 32)) #8
  br label %.loopexit126

65:                                               ; preds = %57
  %66 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %3, ptr noundef nonnull dereferenceable(1) @.str.116) #10
  %67 = icmp eq i32 %66, 0
  br i1 %67, label %.loopexit126.loopexit, label %76

.loopexit126.loopexit:                            ; preds = %65
  store i32 2, ptr @flow, align 8, !tbaa !15
  %68 = load i32, ptr %1, align 4, !tbaa !5
  %69 = sext i32 %68 to i64
  %70 = getelementptr inbounds i8, ptr %2, i64 %69
  %71 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef nonnull %70, ptr noundef nonnull @.str.115, ptr noundef nonnull getelementptr inbounds (i8, ptr @flow, i64 48), ptr noundef nonnull getelementptr inbounds (i8, ptr @flow, i64 56), ptr noundef nonnull getelementptr inbounds (i8, ptr @flow, i64 64)) #8
  %72 = load <2 x double>, ptr getelementptr inbounds (i8, ptr @flow, i64 48), align 8, !tbaa !11
  %73 = fmul <2 x double> %72, <double 1.439300e-02, double 1.439300e-02>
  store <2 x double> %73, ptr getelementptr inbounds (i8, ptr @flow, i64 48), align 8, !tbaa !11
  %74 = load double, ptr getelementptr inbounds (i8, ptr @flow, i64 64), align 8, !tbaa !11
  %75 = fmul double %74, 1.439300e-02
  store double %75, ptr getelementptr inbounds (i8, ptr @flow, i64 64), align 8, !tbaa !11
  br label %.loopexit126

76:                                               ; preds = %65
  %77 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %3, ptr noundef nonnull dereferenceable(1) @.str.117) #10
  %78 = icmp eq i32 %77, 0
  br i1 %78, label %79, label %172

79:                                               ; preds = %76
  store i32 3, ptr @flow, align 8, !tbaa !15
  %80 = load i32, ptr %1, align 4, !tbaa !5
  %81 = sext i32 %80 to i64
  %82 = getelementptr inbounds i8, ptr %2, i64 %81
  %83 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef nonnull %82, ptr noundef nonnull @.str.118, ptr noundef nonnull getelementptr inbounds (i8, ptr @flow, i64 88), ptr noundef nonnull %3, ptr noundef nonnull %1) #8
  %84 = load i32, ptr getelementptr inbounds (i8, ptr @flow, i64 88), align 8, !tbaa !20
  %85 = load i32, ptr getelementptr inbounds (i8, ptr @flow, i64 92), align 4, !tbaa !21
  %.not115 = icmp eq i32 %85, 0
  br i1 %.not115, label %88, label %86

86:                                               ; preds = %79
  %87 = shl nsw i32 %84, 1
  store i32 %87, ptr getelementptr inbounds (i8, ptr @flow, i64 88), align 8, !tbaa !20
  br label %88

88:                                               ; preds = %86, %79
  %89 = phi i32 [ %87, %86 ], [ %84, %79 ]
  %90 = sext i32 %89 to i64
  %91 = call noalias ptr @calloc(i64 noundef %90, i64 noundef 8) #11
  store ptr %91, ptr getelementptr inbounds (i8, ptr @flow, i64 96), align 8, !tbaa !22
  %92 = shl nsw i32 %89, 2
  %93 = sext i32 %92 to i64
  %94 = call noalias ptr @calloc(i64 noundef %93, i64 noundef 8) #11
  store ptr %94, ptr %91, align 8, !tbaa !9
  %95 = icmp sgt i32 %89, 1
  br i1 %95, label %.lr.ph.preheader, label %._crit_edge132.critedge

.lr.ph.preheader:                                 ; preds = %88
  %wide.trip.count = zext nneg i32 %89 to i64
  %96 = add nsw i64 %wide.trip.count, -1
  %97 = add nsw i64 %wide.trip.count, -2
  %xtraiter = and i64 %96, 3
  %98 = icmp ult i64 %97, 3
  br i1 %98, label %._crit_edge.unr-lcssa, label %.lr.ph.preheader.new

.lr.ph.preheader.new:                             ; preds = %.lr.ph.preheader
  %unroll_iter = and i64 %96, -4
  br label %.lr.ph

._crit_edge.unr-lcssa:                            ; preds = %.lr.ph, %.lr.ph.preheader
  %indvars.iv.unr = phi i64 [ 1, %.lr.ph.preheader ], [ %indvars.iv.next.3, %.lr.ph ]
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %._crit_edge, label %.lr.ph.epil

.lr.ph.epil:                                      ; preds = %._crit_edge.unr-lcssa, %.lr.ph.epil
  %indvars.iv.epil = phi i64 [ %indvars.iv.next.epil, %.lr.ph.epil ], [ %indvars.iv.unr, %._crit_edge.unr-lcssa ]
  %epil.iter = phi i64 [ %epil.iter.next, %.lr.ph.epil ], [ 0, %._crit_edge.unr-lcssa ]
  %99 = load ptr, ptr getelementptr inbounds (i8, ptr @flow, i64 96), align 8, !tbaa !22
  %100 = load ptr, ptr %99, align 8, !tbaa !9
  %.idx.epil = shl nsw i64 %indvars.iv.epil, 5
  %101 = getelementptr inbounds i8, ptr %100, i64 %.idx.epil
  %102 = getelementptr inbounds ptr, ptr %99, i64 %indvars.iv.epil
  store ptr %101, ptr %102, align 8, !tbaa !9
  %indvars.iv.next.epil = add nuw nsw i64 %indvars.iv.epil, 1
  %epil.iter.next = add i64 %epil.iter, 1
  %epil.iter.cmp.not = icmp eq i64 %epil.iter.next, %xtraiter
  br i1 %epil.iter.cmp.not, label %._crit_edge, label %.lr.ph.epil, !llvm.loop !23

._crit_edge:                                      ; preds = %.lr.ph.epil, %._crit_edge.unr-lcssa
  %103 = call noalias ptr @calloc(i64 noundef %90, i64 noundef 8) #11
  store ptr %103, ptr getelementptr inbounds (i8, ptr @flow, i64 104), align 8, !tbaa !25
  %104 = call noalias ptr @calloc(i64 noundef %93, i64 noundef 8) #11
  store ptr %104, ptr %103, align 8, !tbaa !9
  br i1 %95, label %.lr.ph131.preheader, label %._crit_edge132

.lr.ph131.preheader:                              ; preds = %._crit_edge
  %xtraiter218 = and i64 %96, 3
  %105 = icmp ult i64 %97, 3
  br i1 %105, label %._crit_edge132.loopexit.unr-lcssa, label %.lr.ph131.preheader.new

.lr.ph131.preheader.new:                          ; preds = %.lr.ph131.preheader
  %unroll_iter221 = and i64 %96, -4
  br label %.lr.ph131

.lr.ph:                                           ; preds = %.lr.ph, %.lr.ph.preheader.new
  %indvars.iv = phi i64 [ 1, %.lr.ph.preheader.new ], [ %indvars.iv.next.3, %.lr.ph ]
  %niter = phi i64 [ 0, %.lr.ph.preheader.new ], [ %niter.next.3, %.lr.ph ]
  %106 = load ptr, ptr getelementptr inbounds (i8, ptr @flow, i64 96), align 8, !tbaa !22
  %107 = load ptr, ptr %106, align 8, !tbaa !9
  %.idx = shl nsw i64 %indvars.iv, 5
  %108 = getelementptr inbounds i8, ptr %107, i64 %.idx
  %109 = getelementptr inbounds ptr, ptr %106, i64 %indvars.iv
  store ptr %108, ptr %109, align 8, !tbaa !9
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %110 = load ptr, ptr getelementptr inbounds (i8, ptr @flow, i64 96), align 8, !tbaa !22
  %111 = load ptr, ptr %110, align 8, !tbaa !9
  %.idx.1 = shl nsw i64 %indvars.iv.next, 5
  %112 = getelementptr inbounds i8, ptr %111, i64 %.idx.1
  %113 = getelementptr inbounds ptr, ptr %110, i64 %indvars.iv.next
  store ptr %112, ptr %113, align 8, !tbaa !9
  %indvars.iv.next.1 = add nuw nsw i64 %indvars.iv, 2
  %114 = load ptr, ptr getelementptr inbounds (i8, ptr @flow, i64 96), align 8, !tbaa !22
  %115 = load ptr, ptr %114, align 8, !tbaa !9
  %.idx.2 = shl nsw i64 %indvars.iv.next.1, 5
  %116 = getelementptr inbounds i8, ptr %115, i64 %.idx.2
  %117 = getelementptr inbounds ptr, ptr %114, i64 %indvars.iv.next.1
  store ptr %116, ptr %117, align 8, !tbaa !9
  %indvars.iv.next.2 = add nuw nsw i64 %indvars.iv, 3
  %118 = load ptr, ptr getelementptr inbounds (i8, ptr @flow, i64 96), align 8, !tbaa !22
  %119 = load ptr, ptr %118, align 8, !tbaa !9
  %.idx.3 = shl nsw i64 %indvars.iv.next.2, 5
  %120 = getelementptr inbounds i8, ptr %119, i64 %.idx.3
  %121 = getelementptr inbounds ptr, ptr %118, i64 %indvars.iv.next.2
  store ptr %120, ptr %121, align 8, !tbaa !9
  %indvars.iv.next.3 = add nuw nsw i64 %indvars.iv, 4
  %niter.next.3 = add i64 %niter, 4
  %niter.ncmp.3 = icmp eq i64 %niter.next.3, %unroll_iter
  br i1 %niter.ncmp.3, label %._crit_edge.unr-lcssa, label %.lr.ph, !llvm.loop !26

._crit_edge132.critedge:                          ; preds = %88
  %122 = call noalias ptr @calloc(i64 noundef %90, i64 noundef 8) #11
  store ptr %122, ptr getelementptr inbounds (i8, ptr @flow, i64 104), align 8, !tbaa !25
  %123 = call noalias ptr @calloc(i64 noundef %93, i64 noundef 8) #11
  store ptr %123, ptr %122, align 8, !tbaa !9
  br label %._crit_edge132

._crit_edge132.loopexit.unr-lcssa:                ; preds = %.lr.ph131, %.lr.ph131.preheader
  %indvars.iv164.unr = phi i64 [ 1, %.lr.ph131.preheader ], [ %indvars.iv.next165.3, %.lr.ph131 ]
  %lcmp.mod220.not = icmp eq i64 %xtraiter218, 0
  br i1 %lcmp.mod220.not, label %._crit_edge132, label %.lr.ph131.epil

.lr.ph131.epil:                                   ; preds = %._crit_edge132.loopexit.unr-lcssa, %.lr.ph131.epil
  %indvars.iv164.epil = phi i64 [ %indvars.iv.next165.epil, %.lr.ph131.epil ], [ %indvars.iv164.unr, %._crit_edge132.loopexit.unr-lcssa ]
  %epil.iter219 = phi i64 [ %epil.iter219.next, %.lr.ph131.epil ], [ 0, %._crit_edge132.loopexit.unr-lcssa ]
  %124 = load ptr, ptr getelementptr inbounds (i8, ptr @flow, i64 104), align 8, !tbaa !25
  %125 = load ptr, ptr %124, align 8, !tbaa !9
  %.idx211.epil = shl nsw i64 %indvars.iv164.epil, 5
  %126 = getelementptr inbounds i8, ptr %125, i64 %.idx211.epil
  %127 = getelementptr inbounds ptr, ptr %124, i64 %indvars.iv164.epil
  store ptr %126, ptr %127, align 8, !tbaa !9
  %indvars.iv.next165.epil = add nuw nsw i64 %indvars.iv164.epil, 1
  %epil.iter219.next = add i64 %epil.iter219, 1
  %epil.iter219.cmp.not = icmp eq i64 %epil.iter219.next, %xtraiter218
  br i1 %epil.iter219.cmp.not, label %._crit_edge132, label %.lr.ph131.epil, !llvm.loop !28

._crit_edge132:                                   ; preds = %._crit_edge132.loopexit.unr-lcssa, %.lr.ph131.epil, %._crit_edge132.critedge, %._crit_edge
  %128 = call noalias ptr @calloc(i64 noundef %90, i64 noundef 8) #11
  store ptr %128, ptr getelementptr inbounds (i8, ptr @flow, i64 112), align 8, !tbaa !29
  %129 = call noalias ptr @calloc(i64 noundef %90, i64 noundef 8) #11
  store ptr %129, ptr getelementptr inbounds (i8, ptr @flow, i64 120), align 8, !tbaa !30
  %130 = icmp sgt i32 %84, 0
  br i1 %130, label %.lr.ph136, label %.loopexit126

.lr.ph136:                                        ; preds = %._crit_edge132
  %131 = add nsw i32 %84, -1
  %132 = zext nneg i32 %131 to i64
  %wide.trip.count172 = zext nneg i32 %84 to i64
  br label %149

.lr.ph131:                                        ; preds = %.lr.ph131, %.lr.ph131.preheader.new
  %indvars.iv164 = phi i64 [ 1, %.lr.ph131.preheader.new ], [ %indvars.iv.next165.3, %.lr.ph131 ]
  %niter222 = phi i64 [ 0, %.lr.ph131.preheader.new ], [ %niter222.next.3, %.lr.ph131 ]
  %133 = load ptr, ptr getelementptr inbounds (i8, ptr @flow, i64 104), align 8, !tbaa !25
  %134 = load ptr, ptr %133, align 8, !tbaa !9
  %.idx211 = shl nsw i64 %indvars.iv164, 5
  %135 = getelementptr inbounds i8, ptr %134, i64 %.idx211
  %136 = getelementptr inbounds ptr, ptr %133, i64 %indvars.iv164
  store ptr %135, ptr %136, align 8, !tbaa !9
  %indvars.iv.next165 = add nuw nsw i64 %indvars.iv164, 1
  %137 = load ptr, ptr getelementptr inbounds (i8, ptr @flow, i64 104), align 8, !tbaa !25
  %138 = load ptr, ptr %137, align 8, !tbaa !9
  %.idx211.1 = shl nsw i64 %indvars.iv.next165, 5
  %139 = getelementptr inbounds i8, ptr %138, i64 %.idx211.1
  %140 = getelementptr inbounds ptr, ptr %137, i64 %indvars.iv.next165
  store ptr %139, ptr %140, align 8, !tbaa !9
  %indvars.iv.next165.1 = add nuw nsw i64 %indvars.iv164, 2
  %141 = load ptr, ptr getelementptr inbounds (i8, ptr @flow, i64 104), align 8, !tbaa !25
  %142 = load ptr, ptr %141, align 8, !tbaa !9
  %.idx211.2 = shl nsw i64 %indvars.iv.next165.1, 5
  %143 = getelementptr inbounds i8, ptr %142, i64 %.idx211.2
  %144 = getelementptr inbounds ptr, ptr %141, i64 %indvars.iv.next165.1
  store ptr %143, ptr %144, align 8, !tbaa !9
  %indvars.iv.next165.2 = add nuw nsw i64 %indvars.iv164, 3
  %145 = load ptr, ptr getelementptr inbounds (i8, ptr @flow, i64 104), align 8, !tbaa !25
  %146 = load ptr, ptr %145, align 8, !tbaa !9
  %.idx211.3 = shl nsw i64 %indvars.iv.next165.2, 5
  %147 = getelementptr inbounds i8, ptr %146, i64 %.idx211.3
  %148 = getelementptr inbounds ptr, ptr %145, i64 %indvars.iv.next165.2
  store ptr %147, ptr %148, align 8, !tbaa !9
  %indvars.iv.next165.3 = add nuw nsw i64 %indvars.iv164, 4
  %niter222.next.3 = add i64 %niter222, 4
  %niter222.ncmp.3 = icmp eq i64 %niter222.next.3, %unroll_iter221
  br i1 %niter222.ncmp.3, label %._crit_edge132.loopexit.unr-lcssa, label %.lr.ph131, !llvm.loop !31

149:                                              ; preds = %.lr.ph136, %171
  %indvars.iv169 = phi i64 [ 0, %.lr.ph136 ], [ %indvars.iv.next170, %171 ]
  %.0105133 = phi i32 [ %80, %.lr.ph136 ], [ %166, %171 ]
  %150 = load i32, ptr %1, align 4, !tbaa !5
  %151 = add nsw i32 %150, %.0105133
  %152 = sext i32 %151 to i64
  %153 = getelementptr inbounds i8, ptr %2, i64 %152
  %154 = load ptr, ptr getelementptr inbounds (i8, ptr @flow, i64 96), align 8, !tbaa !22
  %155 = getelementptr inbounds ptr, ptr %154, i64 %indvars.iv169
  %156 = load ptr, ptr %155, align 8, !tbaa !9
  %157 = getelementptr inbounds i8, ptr %156, i64 8
  %158 = getelementptr inbounds i8, ptr %156, i64 16
  %159 = getelementptr inbounds i8, ptr %156, i64 24
  %160 = load ptr, ptr getelementptr inbounds (i8, ptr @flow, i64 112), align 8, !tbaa !29
  %161 = getelementptr inbounds double, ptr %160, i64 %indvars.iv169
  %162 = load ptr, ptr getelementptr inbounds (i8, ptr @flow, i64 120), align 8, !tbaa !30
  %163 = getelementptr inbounds double, ptr %162, i64 %indvars.iv169
  %164 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef nonnull %153, ptr noundef nonnull @.str.119, ptr noundef nonnull %157, ptr noundef nonnull %158, ptr noundef nonnull %159, ptr noundef %161, ptr noundef %163, ptr noundef nonnull %1) #8
  %165 = load i32, ptr %1, align 4, !tbaa !5
  %166 = add nsw i32 %165, %151
  %.not116 = icmp eq i64 %indvars.iv169, %132
  br i1 %.not116, label %171, label %167

167:                                              ; preds = %149
  %168 = sext i32 %166 to i64
  %169 = getelementptr inbounds i8, ptr %2, i64 %168
  %170 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef nonnull %169, ptr noundef nonnull @.str.120, ptr noundef nonnull %3, ptr noundef nonnull %1) #8
  br label %171

171:                                              ; preds = %149, %167
  %indvars.iv.next170 = add nuw nsw i64 %indvars.iv169, 1
  %exitcond173.not = icmp eq i64 %indvars.iv.next170, %wide.trip.count172
  br i1 %exitcond173.not, label %.loopexit126, label %149, !llvm.loop !32

172:                                              ; preds = %76
  %173 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.121, ptr noundef nonnull @.str.2, i32 noundef 629)
  call void @exit(i32 noundef 1) #9
  unreachable

.loopexit126:                                     ; preds = %171, %.loopexit126.loopexit, %._crit_edge132, %60, %50
  %174 = call ptr @fgets(ptr noundef nonnull %2, i32 noundef 1024, ptr noundef nonnull %8)
  %175 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef nonnull %2, ptr noundef nonnull @.str.110, ptr noundef nonnull %3, ptr noundef nonnull %3, ptr noundef nonnull %1) #8
  %176 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %3, ptr noundef nonnull dereferenceable(1) @.str.88) #10
  %.not117 = icmp eq i32 %176, 0
  br i1 %.not117, label %.loopexit124, label %177

177:                                              ; preds = %.loopexit126
  store i32 1, ptr @obstObj, align 8, !tbaa !33
  %178 = call i32 @atoi(ptr nocapture noundef %3) #10
  store i32 %178, ptr getelementptr inbounds (i8, ptr @obstObj, i64 4), align 4, !tbaa !35
  %179 = sext i32 %178 to i64
  %180 = call noalias ptr @calloc(i64 noundef %179, i64 noundef 8) #11
  store ptr %180, ptr getelementptr inbounds (i8, ptr @obstObj, i64 16), align 8, !tbaa !36
  %181 = shl nsw i32 %178, 2
  %182 = sext i32 %181 to i64
  %183 = call noalias ptr @calloc(i64 noundef %182, i64 noundef 8) #11
  store ptr %183, ptr %180, align 8, !tbaa !9
  %184 = icmp sgt i32 %178, 1
  br i1 %184, label %.lr.ph140.preheader, label %.preheader125

.lr.ph140.preheader:                              ; preds = %177
  %wide.trip.count181 = zext nneg i32 %178 to i64
  %185 = add nsw i64 %wide.trip.count181, -1
  %186 = add nsw i64 %wide.trip.count181, -2
  %xtraiter223 = and i64 %185, 3
  %187 = icmp ult i64 %186, 3
  br i1 %187, label %.preheader125.loopexit.unr-lcssa, label %.lr.ph140.preheader.new

.lr.ph140.preheader.new:                          ; preds = %.lr.ph140.preheader
  %unroll_iter226 = and i64 %185, -4
  br label %.lr.ph140

.preheader125.loopexit.unr-lcssa:                 ; preds = %.lr.ph140, %.lr.ph140.preheader
  %indvars.iv178.unr = phi i64 [ 1, %.lr.ph140.preheader ], [ %indvars.iv.next179.3, %.lr.ph140 ]
  %lcmp.mod225.not = icmp eq i64 %xtraiter223, 0
  br i1 %lcmp.mod225.not, label %.preheader125, label %.lr.ph140.epil

.lr.ph140.epil:                                   ; preds = %.preheader125.loopexit.unr-lcssa, %.lr.ph140.epil
  %indvars.iv178.epil = phi i64 [ %indvars.iv.next179.epil, %.lr.ph140.epil ], [ %indvars.iv178.unr, %.preheader125.loopexit.unr-lcssa ]
  %epil.iter224 = phi i64 [ %epil.iter224.next, %.lr.ph140.epil ], [ 0, %.preheader125.loopexit.unr-lcssa ]
  %188 = load ptr, ptr getelementptr inbounds (i8, ptr @obstObj, i64 16), align 8, !tbaa !36
  %189 = load ptr, ptr %188, align 8, !tbaa !9
  %.idx212.epil = shl nsw i64 %indvars.iv178.epil, 5
  %190 = getelementptr inbounds i8, ptr %189, i64 %.idx212.epil
  %191 = getelementptr inbounds ptr, ptr %188, i64 %indvars.iv178.epil
  store ptr %190, ptr %191, align 8, !tbaa !9
  %indvars.iv.next179.epil = add nuw nsw i64 %indvars.iv178.epil, 1
  %epil.iter224.next = add i64 %epil.iter224, 1
  %epil.iter224.cmp.not = icmp eq i64 %epil.iter224.next, %xtraiter223
  br i1 %epil.iter224.cmp.not, label %.preheader125, label %.lr.ph140.epil, !llvm.loop !37

.preheader125:                                    ; preds = %.preheader125.loopexit.unr-lcssa, %.lr.ph140.epil, %177
  %192 = icmp sgt i32 %178, 0
  br i1 %192, label %.lr.ph142, label %.loopexit124

.lr.ph142:                                        ; preds = %.preheader125
  %193 = load ptr, ptr getelementptr inbounds (i8, ptr @obstObj, i64 16), align 8, !tbaa !36
  %wide.trip.count186 = zext nneg i32 %178 to i64
  %xtraiter228 = and i64 %wide.trip.count186, 3
  %194 = icmp ult i32 %178, 4
  br i1 %194, label %.preheader.unr-lcssa, label %.lr.ph142.new

.lr.ph142.new:                                    ; preds = %.lr.ph142
  %unroll_iter231 = and i64 %wide.trip.count186, 2147483644
  br label %215

.lr.ph140:                                        ; preds = %.lr.ph140, %.lr.ph140.preheader.new
  %indvars.iv178 = phi i64 [ 1, %.lr.ph140.preheader.new ], [ %indvars.iv.next179.3, %.lr.ph140 ]
  %niter227 = phi i64 [ 0, %.lr.ph140.preheader.new ], [ %niter227.next.3, %.lr.ph140 ]
  %195 = load ptr, ptr getelementptr inbounds (i8, ptr @obstObj, i64 16), align 8, !tbaa !36
  %196 = load ptr, ptr %195, align 8, !tbaa !9
  %.idx212 = shl nsw i64 %indvars.iv178, 5
  %197 = getelementptr inbounds i8, ptr %196, i64 %.idx212
  %198 = getelementptr inbounds ptr, ptr %195, i64 %indvars.iv178
  store ptr %197, ptr %198, align 8, !tbaa !9
  %indvars.iv.next179 = add nuw nsw i64 %indvars.iv178, 1
  %199 = load ptr, ptr getelementptr inbounds (i8, ptr @obstObj, i64 16), align 8, !tbaa !36
  %200 = load ptr, ptr %199, align 8, !tbaa !9
  %.idx212.1 = shl nsw i64 %indvars.iv.next179, 5
  %201 = getelementptr inbounds i8, ptr %200, i64 %.idx212.1
  %202 = getelementptr inbounds ptr, ptr %199, i64 %indvars.iv.next179
  store ptr %201, ptr %202, align 8, !tbaa !9
  %indvars.iv.next179.1 = add nuw nsw i64 %indvars.iv178, 2
  %203 = load ptr, ptr getelementptr inbounds (i8, ptr @obstObj, i64 16), align 8, !tbaa !36
  %204 = load ptr, ptr %203, align 8, !tbaa !9
  %.idx212.2 = shl nsw i64 %indvars.iv.next179.1, 5
  %205 = getelementptr inbounds i8, ptr %204, i64 %.idx212.2
  %206 = getelementptr inbounds ptr, ptr %203, i64 %indvars.iv.next179.1
  store ptr %205, ptr %206, align 8, !tbaa !9
  %indvars.iv.next179.2 = add nuw nsw i64 %indvars.iv178, 3
  %207 = load ptr, ptr getelementptr inbounds (i8, ptr @obstObj, i64 16), align 8, !tbaa !36
  %208 = load ptr, ptr %207, align 8, !tbaa !9
  %.idx212.3 = shl nsw i64 %indvars.iv.next179.2, 5
  %209 = getelementptr inbounds i8, ptr %208, i64 %.idx212.3
  %210 = getelementptr inbounds ptr, ptr %207, i64 %indvars.iv.next179.2
  store ptr %209, ptr %210, align 8, !tbaa !9
  %indvars.iv.next179.3 = add nuw nsw i64 %indvars.iv178, 4
  %niter227.next.3 = add i64 %niter227, 4
  %niter227.ncmp.3 = icmp eq i64 %niter227.next.3, %unroll_iter226
  br i1 %niter227.ncmp.3, label %.preheader125.loopexit.unr-lcssa, label %.lr.ph140, !llvm.loop !38

.preheader.unr-lcssa:                             ; preds = %215, %.lr.ph142
  %indvars.iv183.unr = phi i64 [ 0, %.lr.ph142 ], [ %indvars.iv.next184.3, %215 ]
  %lcmp.mod230.not = icmp eq i64 %xtraiter228, 0
  br i1 %lcmp.mod230.not, label %.preheader, label %.epil.preheader

.epil.preheader:                                  ; preds = %.preheader.unr-lcssa, %.epil.preheader
  %indvars.iv183.epil = phi i64 [ %indvars.iv.next184.epil, %.epil.preheader ], [ %indvars.iv183.unr, %.preheader.unr-lcssa ]
  %epil.iter229 = phi i64 [ %epil.iter229.next, %.epil.preheader ], [ 0, %.preheader.unr-lcssa ]
  %211 = getelementptr inbounds ptr, ptr %193, i64 %indvars.iv183.epil
  %212 = load ptr, ptr %211, align 8, !tbaa !9
  %213 = getelementptr inbounds i8, ptr %212, i64 8
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %213, align 8, !tbaa !11
  %214 = getelementptr inbounds i8, ptr %212, i64 24
  store double -1.000000e+00, ptr %214, align 8, !tbaa !11
  %indvars.iv.next184.epil = add nuw nsw i64 %indvars.iv183.epil, 1
  %epil.iter229.next = add i64 %epil.iter229, 1
  %epil.iter229.cmp.not = icmp eq i64 %epil.iter229.next, %xtraiter228
  br i1 %epil.iter229.cmp.not, label %.preheader, label %.epil.preheader, !llvm.loop !39

.preheader:                                       ; preds = %.epil.preheader, %.preheader.unr-lcssa
  br i1 %192, label %.lr.ph145, label %.loopexit124

215:                                              ; preds = %215, %.lr.ph142.new
  %indvars.iv183 = phi i64 [ 0, %.lr.ph142.new ], [ %indvars.iv.next184.3, %215 ]
  %niter232 = phi i64 [ 0, %.lr.ph142.new ], [ %niter232.next.3, %215 ]
  %216 = getelementptr inbounds ptr, ptr %193, i64 %indvars.iv183
  %217 = load ptr, ptr %216, align 8, !tbaa !9
  %218 = getelementptr inbounds i8, ptr %217, i64 8
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %218, align 8, !tbaa !11
  %219 = getelementptr inbounds i8, ptr %217, i64 24
  store double -1.000000e+00, ptr %219, align 8, !tbaa !11
  %indvars.iv.next184 = or disjoint i64 %indvars.iv183, 1
  %220 = getelementptr inbounds ptr, ptr %193, i64 %indvars.iv.next184
  %221 = load ptr, ptr %220, align 8, !tbaa !9
  %222 = getelementptr inbounds i8, ptr %221, i64 8
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %222, align 8, !tbaa !11
  %223 = getelementptr inbounds i8, ptr %221, i64 24
  store double -1.000000e+00, ptr %223, align 8, !tbaa !11
  %indvars.iv.next184.1 = or disjoint i64 %indvars.iv183, 2
  %224 = getelementptr inbounds ptr, ptr %193, i64 %indvars.iv.next184.1
  %225 = load ptr, ptr %224, align 8, !tbaa !9
  %226 = getelementptr inbounds i8, ptr %225, i64 8
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %226, align 8, !tbaa !11
  %227 = getelementptr inbounds i8, ptr %225, i64 24
  store double -1.000000e+00, ptr %227, align 8, !tbaa !11
  %indvars.iv.next184.2 = or disjoint i64 %indvars.iv183, 3
  %228 = getelementptr inbounds ptr, ptr %193, i64 %indvars.iv.next184.2
  %229 = load ptr, ptr %228, align 8, !tbaa !9
  %230 = getelementptr inbounds i8, ptr %229, i64 8
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %230, align 8, !tbaa !11
  %231 = getelementptr inbounds i8, ptr %229, i64 24
  store double -1.000000e+00, ptr %231, align 8, !tbaa !11
  %indvars.iv.next184.3 = add nuw nsw i64 %indvars.iv183, 4
  %niter232.next.3 = add i64 %niter232, 4
  %niter232.ncmp.3 = icmp eq i64 %niter232.next.3, %unroll_iter231
  br i1 %niter232.ncmp.3, label %.preheader.unr-lcssa, label %215, !llvm.loop !40

.lr.ph145:                                        ; preds = %.preheader, %261
  %indvars.iv188 = phi i64 [ %indvars.iv.next189, %261 ], [ 0, %.preheader ]
  %.1143 = phi i32 [ %253, %261 ], [ 0, %.preheader ]
  %232 = load i32, ptr %1, align 4, !tbaa !5
  %233 = add nsw i32 %232, %.1143
  %234 = sext i32 %233 to i64
  %235 = getelementptr inbounds i8, ptr %2, i64 %234
  %236 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef nonnull %235, ptr noundef nonnull @.str.120, ptr noundef nonnull %3, ptr noundef nonnull %1) #8
  %237 = load i8, ptr %3, align 16, !tbaa !41
  %switch.tableidx = add i8 %237, -120
  %238 = icmp ult i8 %switch.tableidx, 3
  br i1 %238, label %switch.lookup, label %239

239:                                              ; preds = %.lr.ph145
  %240 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.122, ptr noundef nonnull @.str.2, i32 noundef 661)
  call void @exit(i32 noundef 1) #9
  unreachable

switch.lookup:                                    ; preds = %.lr.ph145
  %241 = load i32, ptr %1, align 4, !tbaa !5
  %242 = add nsw i32 %241, %233
  %243 = sext i32 %242 to i64
  %244 = getelementptr inbounds i8, ptr %2, i64 %243
  %245 = load ptr, ptr getelementptr inbounds (i8, ptr @obstObj, i64 16), align 8, !tbaa !36
  %246 = getelementptr inbounds ptr, ptr %245, i64 %indvars.iv188
  %247 = load ptr, ptr %246, align 8, !tbaa !9
  %248 = zext nneg i8 %237 to i64
  %249 = getelementptr double, ptr %247, i64 %248
  %250 = getelementptr i8, ptr %249, i64 -952
  %251 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef nonnull %244, ptr noundef nonnull @.str.123, ptr noundef nonnull %250, ptr noundef nonnull %1) #8
  %252 = load i32, ptr %1, align 4, !tbaa !5
  %253 = add nsw i32 %252, %242
  %254 = load i32, ptr getelementptr inbounds (i8, ptr @obstObj, i64 4), align 4, !tbaa !35
  %255 = add nsw i32 %254, -1
  %256 = zext i32 %255 to i64
  %.not122 = icmp eq i64 %indvars.iv188, %256
  br i1 %.not122, label %261, label %257

257:                                              ; preds = %switch.lookup
  %258 = sext i32 %253 to i64
  %259 = getelementptr inbounds i8, ptr %2, i64 %258
  %260 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef nonnull %259, ptr noundef nonnull @.str.120, ptr noundef nonnull %3, ptr noundef nonnull %1) #8
  %.pre = load i32, ptr getelementptr inbounds (i8, ptr @obstObj, i64 4), align 4, !tbaa !35
  br label %261

261:                                              ; preds = %switch.lookup, %257
  %262 = phi i32 [ %254, %switch.lookup ], [ %.pre, %257 ]
  %indvars.iv.next189 = add nuw nsw i64 %indvars.iv188, 1
  %263 = sext i32 %262 to i64
  %264 = icmp slt i64 %indvars.iv.next189, %263
  br i1 %264, label %.lr.ph145, label %.loopexit124, !llvm.loop !42

.loopexit124:                                     ; preds = %261, %.preheader125, %.preheader, %.loopexit126
  %265 = call ptr @fgets(ptr noundef nonnull %2, i32 noundef 1024, ptr noundef nonnull %8)
  %266 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef nonnull %2, ptr noundef nonnull @.str.110, ptr noundef nonnull %3, ptr noundef nonnull %3, ptr noundef nonnull %1) #8
  %267 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %3, ptr noundef nonnull dereferenceable(1) @.str.88) #10
  %.not118 = icmp eq i32 %267, 0
  br i1 %.not118, label %.loopexit123, label %268

268:                                              ; preds = %.loopexit124
  store i32 1, ptr @tunlObj, align 8, !tbaa !43
  %269 = call i32 @atoi(ptr nocapture noundef %3) #10
  store i32 %269, ptr getelementptr inbounds (i8, ptr @tunlObj, i64 4), align 4, !tbaa !46
  %270 = sext i32 %269 to i64
  %271 = call noalias ptr @calloc(i64 noundef %270, i64 noundef 8) #11
  store ptr %271, ptr getelementptr inbounds (i8, ptr @tunlObj, i64 8), align 8, !tbaa !47
  %272 = shl nsw i32 %269, 2
  %273 = sext i32 %272 to i64
  %274 = call noalias ptr @calloc(i64 noundef %273, i64 noundef 8) #11
  store ptr %274, ptr %271, align 8, !tbaa !9
  %275 = icmp sgt i32 %269, 1
  br i1 %275, label %.lr.ph148.preheader, label %._crit_edge149

.lr.ph148.preheader:                              ; preds = %268
  %wide.trip.count194 = zext nneg i32 %269 to i64
  %276 = add nsw i64 %wide.trip.count194, -1
  %277 = add nsw i64 %wide.trip.count194, -2
  %xtraiter233 = and i64 %276, 3
  %278 = icmp ult i64 %277, 3
  br i1 %278, label %._crit_edge149.loopexit.unr-lcssa, label %.lr.ph148.preheader.new

.lr.ph148.preheader.new:                          ; preds = %.lr.ph148.preheader
  %unroll_iter236 = and i64 %276, -4
  br label %.lr.ph148

._crit_edge149.loopexit.unr-lcssa:                ; preds = %.lr.ph148, %.lr.ph148.preheader
  %indvars.iv191.unr = phi i64 [ 1, %.lr.ph148.preheader ], [ %indvars.iv.next192.3, %.lr.ph148 ]
  %lcmp.mod235.not = icmp eq i64 %xtraiter233, 0
  br i1 %lcmp.mod235.not, label %._crit_edge149, label %.lr.ph148.epil

.lr.ph148.epil:                                   ; preds = %._crit_edge149.loopexit.unr-lcssa, %.lr.ph148.epil
  %indvars.iv191.epil = phi i64 [ %indvars.iv.next192.epil, %.lr.ph148.epil ], [ %indvars.iv191.unr, %._crit_edge149.loopexit.unr-lcssa ]
  %epil.iter234 = phi i64 [ %epil.iter234.next, %.lr.ph148.epil ], [ 0, %._crit_edge149.loopexit.unr-lcssa ]
  %279 = load ptr, ptr getelementptr inbounds (i8, ptr @tunlObj, i64 8), align 8, !tbaa !47
  %280 = load ptr, ptr %279, align 8, !tbaa !9
  %.idx213.epil = shl nsw i64 %indvars.iv191.epil, 5
  %281 = getelementptr inbounds i8, ptr %280, i64 %.idx213.epil
  %282 = getelementptr inbounds ptr, ptr %279, i64 %indvars.iv191.epil
  store ptr %281, ptr %282, align 8, !tbaa !9
  %indvars.iv.next192.epil = add nuw nsw i64 %indvars.iv191.epil, 1
  %epil.iter234.next = add i64 %epil.iter234, 1
  %epil.iter234.cmp.not = icmp eq i64 %epil.iter234.next, %xtraiter233
  br i1 %epil.iter234.cmp.not, label %._crit_edge149, label %.lr.ph148.epil, !llvm.loop !48

._crit_edge149:                                   ; preds = %._crit_edge149.loopexit.unr-lcssa, %.lr.ph148.epil, %268
  %283 = call noalias ptr @calloc(i64 noundef %270, i64 noundef 8) #11
  store ptr %283, ptr getelementptr inbounds (i8, ptr @tunlObj, i64 16), align 8, !tbaa !49
  %284 = icmp sgt i32 %269, 0
  br i1 %284, label %.lr.ph153, label %.loopexit123

.lr.ph148:                                        ; preds = %.lr.ph148, %.lr.ph148.preheader.new
  %indvars.iv191 = phi i64 [ 1, %.lr.ph148.preheader.new ], [ %indvars.iv.next192.3, %.lr.ph148 ]
  %niter237 = phi i64 [ 0, %.lr.ph148.preheader.new ], [ %niter237.next.3, %.lr.ph148 ]
  %285 = load ptr, ptr getelementptr inbounds (i8, ptr @tunlObj, i64 8), align 8, !tbaa !47
  %286 = load ptr, ptr %285, align 8, !tbaa !9
  %.idx213 = shl nsw i64 %indvars.iv191, 5
  %287 = getelementptr inbounds i8, ptr %286, i64 %.idx213
  %288 = getelementptr inbounds ptr, ptr %285, i64 %indvars.iv191
  store ptr %287, ptr %288, align 8, !tbaa !9
  %indvars.iv.next192 = add nuw nsw i64 %indvars.iv191, 1
  %289 = load ptr, ptr getelementptr inbounds (i8, ptr @tunlObj, i64 8), align 8, !tbaa !47
  %290 = load ptr, ptr %289, align 8, !tbaa !9
  %.idx213.1 = shl nsw i64 %indvars.iv.next192, 5
  %291 = getelementptr inbounds i8, ptr %290, i64 %.idx213.1
  %292 = getelementptr inbounds ptr, ptr %289, i64 %indvars.iv.next192
  store ptr %291, ptr %292, align 8, !tbaa !9
  %indvars.iv.next192.1 = add nuw nsw i64 %indvars.iv191, 2
  %293 = load ptr, ptr getelementptr inbounds (i8, ptr @tunlObj, i64 8), align 8, !tbaa !47
  %294 = load ptr, ptr %293, align 8, !tbaa !9
  %.idx213.2 = shl nsw i64 %indvars.iv.next192.1, 5
  %295 = getelementptr inbounds i8, ptr %294, i64 %.idx213.2
  %296 = getelementptr inbounds ptr, ptr %293, i64 %indvars.iv.next192.1
  store ptr %295, ptr %296, align 8, !tbaa !9
  %indvars.iv.next192.2 = add nuw nsw i64 %indvars.iv191, 3
  %297 = load ptr, ptr getelementptr inbounds (i8, ptr @tunlObj, i64 8), align 8, !tbaa !47
  %298 = load ptr, ptr %297, align 8, !tbaa !9
  %.idx213.3 = shl nsw i64 %indvars.iv.next192.2, 5
  %299 = getelementptr inbounds i8, ptr %298, i64 %.idx213.3
  %300 = getelementptr inbounds ptr, ptr %297, i64 %indvars.iv.next192.2
  store ptr %299, ptr %300, align 8, !tbaa !9
  %indvars.iv.next192.3 = add nuw nsw i64 %indvars.iv191, 4
  %niter237.next.3 = add i64 %niter237, 4
  %niter237.ncmp.3 = icmp eq i64 %niter237.next.3, %unroll_iter236
  br i1 %niter237.ncmp.3, label %._crit_edge149.loopexit.unr-lcssa, label %.lr.ph148, !llvm.loop !50

.lr.ph153:                                        ; preds = %._crit_edge149, %323
  %indvars.iv196 = phi i64 [ %indvars.iv.next197, %323 ], [ 0, %._crit_edge149 ]
  %.2150 = phi i32 [ %315, %323 ], [ 0, %._crit_edge149 ]
  %301 = load i32, ptr %1, align 4, !tbaa !5
  %302 = add nsw i32 %301, %.2150
  %303 = sext i32 %302 to i64
  %304 = getelementptr inbounds i8, ptr %2, i64 %303
  %305 = load ptr, ptr getelementptr inbounds (i8, ptr @tunlObj, i64 8), align 8, !tbaa !47
  %306 = getelementptr inbounds ptr, ptr %305, i64 %indvars.iv196
  %307 = load ptr, ptr %306, align 8, !tbaa !9
  %308 = getelementptr inbounds i8, ptr %307, i64 8
  %309 = getelementptr inbounds i8, ptr %307, i64 16
  %310 = getelementptr inbounds i8, ptr %307, i64 24
  %311 = load ptr, ptr getelementptr inbounds (i8, ptr @tunlObj, i64 16), align 8, !tbaa !49
  %312 = getelementptr inbounds double, ptr %311, i64 %indvars.iv196
  %313 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef nonnull %304, ptr noundef nonnull @.str.119, ptr noundef %307, ptr noundef nonnull %308, ptr noundef nonnull %309, ptr noundef nonnull %310, ptr noundef %312, ptr noundef nonnull %1) #8
  %314 = load i32, ptr %1, align 4, !tbaa !5
  %315 = add nsw i32 %314, %302
  %316 = load i32, ptr getelementptr inbounds (i8, ptr @tunlObj, i64 4), align 4, !tbaa !46
  %317 = add nsw i32 %316, -1
  %318 = zext i32 %317 to i64
  %.not121 = icmp eq i64 %indvars.iv196, %318
  br i1 %.not121, label %323, label %319

319:                                              ; preds = %.lr.ph153
  %320 = sext i32 %315 to i64
  %321 = getelementptr inbounds i8, ptr %2, i64 %320
  %322 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef nonnull %321, ptr noundef nonnull @.str.120, ptr noundef nonnull %3, ptr noundef nonnull %1) #8
  %.pre207 = load i32, ptr getelementptr inbounds (i8, ptr @tunlObj, i64 4), align 4, !tbaa !46
  br label %323

323:                                              ; preds = %.lr.ph153, %319
  %324 = phi i32 [ %316, %.lr.ph153 ], [ %.pre207, %319 ]
  %indvars.iv.next197 = add nuw nsw i64 %indvars.iv196, 1
  %325 = sext i32 %324 to i64
  %326 = icmp slt i64 %indvars.iv.next197, %325
  br i1 %326, label %.lr.ph153, label %.loopexit123, !llvm.loop !51

.loopexit123:                                     ; preds = %323, %._crit_edge149, %.loopexit124
  %327 = call ptr @fgets(ptr noundef nonnull %2, i32 noundef 1024, ptr noundef nonnull %8)
  %328 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef nonnull %2, ptr noundef nonnull @.str.110, ptr noundef nonnull %3, ptr noundef nonnull %3, ptr noundef nonnull %1) #8
  %329 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %3, ptr noundef nonnull dereferenceable(1) @.str.88) #10
  %.not119 = icmp eq i32 %329, 0
  br i1 %.not119, label %.loopexit, label %330

330:                                              ; preds = %.loopexit123
  store i32 1, ptr @SphObstObj, align 8, !tbaa !52
  %331 = call i32 @atoi(ptr nocapture noundef %3) #10
  store i32 %331, ptr getelementptr inbounds (i8, ptr @SphObstObj, i64 4), align 4, !tbaa !54
  %332 = sext i32 %331 to i64
  %333 = call noalias ptr @calloc(i64 noundef %332, i64 noundef 8) #11
  store ptr %333, ptr getelementptr inbounds (i8, ptr @SphObstObj, i64 16), align 8, !tbaa !55
  %334 = shl nsw i32 %331, 2
  %335 = sext i32 %334 to i64
  %336 = call noalias ptr @calloc(i64 noundef %335, i64 noundef 8) #11
  store ptr %336, ptr %333, align 8, !tbaa !9
  %337 = icmp sgt i32 %331, 1
  br i1 %337, label %.lr.ph156.preheader, label %._crit_edge157

.lr.ph156.preheader:                              ; preds = %330
  %wide.trip.count202 = zext nneg i32 %331 to i64
  %338 = add nsw i64 %wide.trip.count202, -1
  %339 = add nsw i64 %wide.trip.count202, -2
  %xtraiter238 = and i64 %338, 3
  %340 = icmp ult i64 %339, 3
  br i1 %340, label %._crit_edge157.loopexit.unr-lcssa, label %.lr.ph156.preheader.new

.lr.ph156.preheader.new:                          ; preds = %.lr.ph156.preheader
  %unroll_iter241 = and i64 %338, -4
  br label %.lr.ph156

._crit_edge157.loopexit.unr-lcssa:                ; preds = %.lr.ph156, %.lr.ph156.preheader
  %indvars.iv199.unr = phi i64 [ 1, %.lr.ph156.preheader ], [ %indvars.iv.next200.3, %.lr.ph156 ]
  %lcmp.mod240.not = icmp eq i64 %xtraiter238, 0
  br i1 %lcmp.mod240.not, label %._crit_edge157, label %.lr.ph156.epil

.lr.ph156.epil:                                   ; preds = %._crit_edge157.loopexit.unr-lcssa, %.lr.ph156.epil
  %indvars.iv199.epil = phi i64 [ %indvars.iv.next200.epil, %.lr.ph156.epil ], [ %indvars.iv199.unr, %._crit_edge157.loopexit.unr-lcssa ]
  %epil.iter239 = phi i64 [ %epil.iter239.next, %.lr.ph156.epil ], [ 0, %._crit_edge157.loopexit.unr-lcssa ]
  %341 = load ptr, ptr getelementptr inbounds (i8, ptr @SphObstObj, i64 16), align 8, !tbaa !55
  %342 = load ptr, ptr %341, align 8, !tbaa !9
  %.idx214.epil = shl nsw i64 %indvars.iv199.epil, 5
  %343 = getelementptr inbounds i8, ptr %342, i64 %.idx214.epil
  %344 = getelementptr inbounds ptr, ptr %341, i64 %indvars.iv199.epil
  store ptr %343, ptr %344, align 8, !tbaa !9
  %indvars.iv.next200.epil = add nuw nsw i64 %indvars.iv199.epil, 1
  %epil.iter239.next = add i64 %epil.iter239, 1
  %epil.iter239.cmp.not = icmp eq i64 %epil.iter239.next, %xtraiter238
  br i1 %epil.iter239.cmp.not, label %._crit_edge157, label %.lr.ph156.epil, !llvm.loop !56

._crit_edge157:                                   ; preds = %._crit_edge157.loopexit.unr-lcssa, %.lr.ph156.epil, %330
  %345 = call noalias ptr @calloc(i64 noundef %332, i64 noundef 8) #11
  store ptr %345, ptr getelementptr inbounds (i8, ptr @SphObstObj, i64 8), align 8, !tbaa !57
  %346 = icmp sgt i32 %331, 0
  br i1 %346, label %.lr.ph161, label %.loopexit

.lr.ph156:                                        ; preds = %.lr.ph156, %.lr.ph156.preheader.new
  %indvars.iv199 = phi i64 [ 1, %.lr.ph156.preheader.new ], [ %indvars.iv.next200.3, %.lr.ph156 ]
  %niter242 = phi i64 [ 0, %.lr.ph156.preheader.new ], [ %niter242.next.3, %.lr.ph156 ]
  %347 = load ptr, ptr getelementptr inbounds (i8, ptr @SphObstObj, i64 16), align 8, !tbaa !55
  %348 = load ptr, ptr %347, align 8, !tbaa !9
  %.idx214 = shl nsw i64 %indvars.iv199, 5
  %349 = getelementptr inbounds i8, ptr %348, i64 %.idx214
  %350 = getelementptr inbounds ptr, ptr %347, i64 %indvars.iv199
  store ptr %349, ptr %350, align 8, !tbaa !9
  %indvars.iv.next200 = add nuw nsw i64 %indvars.iv199, 1
  %351 = load ptr, ptr getelementptr inbounds (i8, ptr @SphObstObj, i64 16), align 8, !tbaa !55
  %352 = load ptr, ptr %351, align 8, !tbaa !9
  %.idx214.1 = shl nsw i64 %indvars.iv.next200, 5
  %353 = getelementptr inbounds i8, ptr %352, i64 %.idx214.1
  %354 = getelementptr inbounds ptr, ptr %351, i64 %indvars.iv.next200
  store ptr %353, ptr %354, align 8, !tbaa !9
  %indvars.iv.next200.1 = add nuw nsw i64 %indvars.iv199, 2
  %355 = load ptr, ptr getelementptr inbounds (i8, ptr @SphObstObj, i64 16), align 8, !tbaa !55
  %356 = load ptr, ptr %355, align 8, !tbaa !9
  %.idx214.2 = shl nsw i64 %indvars.iv.next200.1, 5
  %357 = getelementptr inbounds i8, ptr %356, i64 %.idx214.2
  %358 = getelementptr inbounds ptr, ptr %355, i64 %indvars.iv.next200.1
  store ptr %357, ptr %358, align 8, !tbaa !9
  %indvars.iv.next200.2 = add nuw nsw i64 %indvars.iv199, 3
  %359 = load ptr, ptr getelementptr inbounds (i8, ptr @SphObstObj, i64 16), align 8, !tbaa !55
  %360 = load ptr, ptr %359, align 8, !tbaa !9
  %.idx214.3 = shl nsw i64 %indvars.iv.next200.2, 5
  %361 = getelementptr inbounds i8, ptr %360, i64 %.idx214.3
  %362 = getelementptr inbounds ptr, ptr %359, i64 %indvars.iv.next200.2
  store ptr %361, ptr %362, align 8, !tbaa !9
  %indvars.iv.next200.3 = add nuw nsw i64 %indvars.iv199, 4
  %niter242.next.3 = add i64 %niter242, 4
  %niter242.ncmp.3 = icmp eq i64 %niter242.next.3, %unroll_iter241
  br i1 %niter242.ncmp.3, label %._crit_edge157.loopexit.unr-lcssa, label %.lr.ph156, !llvm.loop !58

.lr.ph161:                                        ; preds = %._crit_edge157, %389
  %363 = phi ptr [ %391, %389 ], [ %345, %._crit_edge157 ]
  %indvars.iv204 = phi i64 [ %indvars.iv.next205, %389 ], [ 0, %._crit_edge157 ]
  %.3158 = phi i32 [ %381, %389 ], [ 0, %._crit_edge157 ]
  %364 = load i32, ptr %1, align 4, !tbaa !5
  %365 = add nsw i32 %364, %.3158
  %366 = sext i32 %365 to i64
  %367 = getelementptr inbounds i8, ptr %2, i64 %366
  %368 = load ptr, ptr getelementptr inbounds (i8, ptr @SphObstObj, i64 16), align 8, !tbaa !55
  %369 = getelementptr inbounds ptr, ptr %368, i64 %indvars.iv204
  %370 = load ptr, ptr %369, align 8, !tbaa !9
  %371 = getelementptr inbounds i8, ptr %370, i64 8
  %372 = getelementptr inbounds i8, ptr %370, i64 16
  %373 = getelementptr inbounds i8, ptr %370, i64 24
  %374 = getelementptr inbounds double, ptr %363, i64 %indvars.iv204
  %375 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef nonnull %367, ptr noundef nonnull @.str.124, ptr noundef nonnull %371, ptr noundef nonnull %372, ptr noundef nonnull %373, ptr noundef %374, ptr noundef nonnull %1) #8
  %376 = load ptr, ptr getelementptr inbounds (i8, ptr @SphObstObj, i64 8), align 8, !tbaa !57
  %377 = getelementptr inbounds double, ptr %376, i64 %indvars.iv204
  %378 = load double, ptr %377, align 8, !tbaa !11
  %379 = fmul double %378, 5.000000e-01
  store double %379, ptr %377, align 8, !tbaa !11
  %380 = load i32, ptr %1, align 4, !tbaa !5
  %381 = add nsw i32 %380, %365
  %382 = load i32, ptr getelementptr inbounds (i8, ptr @SphObstObj, i64 4), align 4, !tbaa !54
  %383 = add nsw i32 %382, -1
  %384 = zext i32 %383 to i64
  %.not120 = icmp eq i64 %indvars.iv204, %384
  br i1 %.not120, label %389, label %385

385:                                              ; preds = %.lr.ph161
  %386 = sext i32 %381 to i64
  %387 = getelementptr inbounds i8, ptr %2, i64 %386
  %388 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef nonnull %387, ptr noundef nonnull @.str.120, ptr noundef nonnull %3, ptr noundef nonnull %1) #8
  %.pre208 = load ptr, ptr getelementptr inbounds (i8, ptr @SphObstObj, i64 8), align 8, !tbaa !57
  %.pre210 = load i32, ptr getelementptr inbounds (i8, ptr @SphObstObj, i64 4), align 4, !tbaa !54
  br label %389

389:                                              ; preds = %.lr.ph161, %385
  %390 = phi i32 [ %382, %.lr.ph161 ], [ %.pre210, %385 ]
  %391 = phi ptr [ %376, %.lr.ph161 ], [ %.pre208, %385 ]
  %indvars.iv.next205 = add nuw nsw i64 %indvars.iv204, 1
  %392 = sext i32 %390 to i64
  %393 = icmp slt i64 %indvars.iv.next205, %392
  br i1 %393, label %.lr.ph161, label %.loopexit, !llvm.loop !59

.loopexit:                                        ; preds = %389, %._crit_edge157, %.loopexit123
  %394 = call i32 @fclose(ptr noundef nonnull %8)
  %395 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.86)
  call void @llvm.lifetime.end.p0(i64 1024, ptr nonnull %3) #8
  call void @llvm.lifetime.end.p0(i64 1024, ptr nonnull %2) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #8
  ret void
}

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

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

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

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

declare i32 @__isoc99_fscanf(ptr noundef, ptr noundef, ...) local_unnamed_addr #7

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

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nofree nounwind willreturn allockind("alloc,zeroed") allocsize(0,1) memory(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 #2 = { 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 #3 = { nofree nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { inlinehint mustprogress nofree nounwind willreturn memory(read) 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 #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 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 #7 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #8 = { nounwind }
attributes #9 = { noreturn nounwind }
attributes #10 = { nounwind willreturn memory(read) }
attributes #11 = { nounwind allocsize(0,1) }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"double", !7, i64 0}
!13 = !{!14, !6, i64 32}
!14 = !{!"CGGovStr", !7, i64 0, !6, i64 32, !6, i64 36, !10, i64 40, !10, i64 48}
!15 = !{!16, !6, i64 0}
!16 = !{!"FlowStr", !6, i64 0, !17, i64 8, !18, i64 40, !19, i64 88}
!17 = !{!"ConstVStr", !7, i64 0}
!18 = !{!"ForceStr", !7, i64 0, !10, i64 32, !10, i64 40}
!19 = !{!"ChargeStr", !6, i64 0, !6, i64 4, !10, i64 8, !10, i64 16, !10, i64 24, !10, i64 32}
!20 = !{!16, !6, i64 88}
!21 = !{!16, !6, i64 92}
!22 = !{!16, !10, i64 96}
!23 = distinct !{!23, !24}
!24 = !{!"llvm.loop.unroll.disable"}
!25 = !{!16, !10, i64 104}
!26 = distinct !{!26, !27}
!27 = !{!"llvm.loop.mustprogress"}
!28 = distinct !{!28, !24}
!29 = !{!16, !10, i64 112}
!30 = !{!16, !10, i64 120}
!31 = distinct !{!31, !27}
!32 = distinct !{!32, !27}
!33 = !{!34, !6, i64 0}
!34 = !{!"ObstructionStr", !6, i64 0, !6, i64 4, !10, i64 8, !10, i64 16, !10, i64 24}
!35 = !{!34, !6, i64 4}
!36 = !{!34, !10, i64 16}
!37 = distinct !{!37, !24}
!38 = distinct !{!38, !27}
!39 = distinct !{!39, !24}
!40 = distinct !{!40, !27}
!41 = !{!7, !7, i64 0}
!42 = distinct !{!42, !27}
!43 = !{!44, !6, i64 0}
!44 = !{!"TunnelStr", !6, i64 0, !6, i64 4, !10, i64 8, !10, i64 16, !45, i64 24}
!45 = !{!"AtomStr", !10, i64 0, !10, i64 8}
!46 = !{!44, !6, i64 4}
!47 = !{!44, !10, i64 8}
!48 = distinct !{!48, !24}
!49 = !{!44, !10, i64 16}
!50 = distinct !{!50, !27}
!51 = distinct !{!51, !27}
!52 = !{!53, !6, i64 0}
!53 = !{!"SphObstStr", !6, i64 0, !6, i64 4, !10, i64 8, !10, i64 16}
!54 = !{!53, !6, i64 4}
!55 = !{!53, !10, i64 16}
!56 = distinct !{!56, !24}
!57 = !{!53, !10, i64 8}
!58 = distinct !{!58, !27}
!59 = distinct !{!59, !27}


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