; 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.AAStr = type { [5 x i8], i32, i32, i32, i32, double }
%struct.AtomStr = type { ptr, ptr }
%struct.PropertyStr = type { [8 x i8], [2 x [16 x i8]], [8 x i8], i32, i32, i32, double, double, [3 x double], %struct.AtomSeqStr, ptr, ptr }
%struct.AtomSeqStr = type { i32, i32, i32 }
%struct.PepStr = type { i32, i32, i32, i32, double }

@.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
@.str.78 = external hidden unnamed_addr constant [4 x i8], align 1
@neworcontinue = external global [20 x i8], align 16
@.str.94 = external hidden unnamed_addr constant [2 x i8], align 1
@atom = external global ptr, align 8
@protein = external global ptr, align 8
@aminoacid = external global ptr, align 8
@connectionMap = external global ptr, align 8
@warningsum = external global i64, align 8
@Methodtype = external global [20 x i8], align 16
@.str.129 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.134 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.136 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.137 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.138 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.151 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.152 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.153 = external hidden unnamed_addr constant [68 x i8], align 1
@.str.154 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.155 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.156 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.157 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.158 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.159 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.160 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.161 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.162 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.163 = external hidden unnamed_addr constant [131 x i8], align 1
@.str.164 = external hidden unnamed_addr constant [133 x i8], align 1
@.str.165 = external hidden unnamed_addr constant [105 x i8], align 1
@.str.166 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.167 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.168 = external hidden unnamed_addr constant [101 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 willreturn memory(read)
declare i32 @strcmp(ptr noundef, ptr noundef) #1

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

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

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

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

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

declare i32 @fclose(ptr noundef) #2

; 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, ...) #2

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

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #5

; Function Attrs: nounwind uwtable
define dso_local void @ScanAA(i32 noundef %0, i32 noundef %1) #6 {
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca [5 x i8], align 1
  %9 = alloca [16 x i8], align 16
  %10 = alloca [1024 x i8], align 16
  %11 = alloca [1024 x i8], align 16
  %12 = alloca double, align 8
  %13 = alloca double, align 8
  %14 = alloca ptr, align 8
  %15 = alloca double, align 8
  %16 = alloca double, align 8
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  store i32 %0, ptr %3, align 4, !tbaa !5
  store i32 %1, ptr %4, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #7
  call void @llvm.lifetime.start.p0(i64 5, ptr %8) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr %9) #7
  call void @llvm.memset.p0.i64(ptr align 16 %9, i8 0, i64 16, i1 false)
  call void @llvm.lifetime.start.p0(i64 1024, ptr %10) #7
  call void @llvm.lifetime.start.p0(i64 1024, ptr %11) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #7
  %19 = load i32, ptr %4, align 4, !tbaa !5
  %20 = icmp eq i32 %19, 2
  br i1 %20, label %21, label %24

21:                                               ; preds = %2
  %22 = getelementptr inbounds [16 x i8], ptr %9, i64 0, i64 0
  %23 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %22, ptr noundef @.str.3, ptr noundef @.str.152) #7
  br label %40

24:                                               ; preds = %2
  %25 = load i32, ptr %4, align 4, !tbaa !5
  %26 = icmp eq i32 %25, 1
  br i1 %26, label %27, label %30

27:                                               ; preds = %24
  %28 = getelementptr inbounds [16 x i8], ptr %9, i64 0, i64 0
  %29 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %28, ptr noundef @.str.3, ptr noundef @.str.138) #7
  br label %39

30:                                               ; preds = %24
  %31 = getelementptr inbounds [16 x i8], ptr %9, i64 0, i64 0
  %32 = load ptr, ptr @aminoacid, align 8, !tbaa !9
  %33 = load i32, ptr %3, align 4, !tbaa !5
  %34 = sext i32 %33 to i64
  %35 = getelementptr inbounds %struct.AAStr, ptr %32, i64 %34
  %36 = getelementptr inbounds %struct.AAStr, ptr %35, i32 0, i32 0
  %37 = getelementptr inbounds [5 x i8], ptr %36, i64 0, i64 0
  %38 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %31, ptr noundef @.str.3, ptr noundef %37) #7
  br label %39

39:                                               ; preds = %30, %27
  br label %40

40:                                               ; preds = %39, %21
  %41 = getelementptr inbounds [1024 x i8], ptr %10, i64 0, i64 0
  %42 = getelementptr inbounds [16 x i8], ptr %9, i64 0, i64 0
  %43 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %41, ptr noundef @.str.137, ptr noundef @datadir, ptr noundef @Methodtype, ptr noundef %42) #7
  %44 = getelementptr inbounds [1024 x i8], ptr %10, i64 0, i64 0
  %45 = call noalias ptr @fopen(ptr noundef %44, ptr noundef @.str.94)
  store ptr %45, ptr %14, align 8, !tbaa !9
  %46 = load ptr, ptr %14, align 8, !tbaa !9
  %47 = icmp ne ptr %46, null
  br i1 %47, label %53, label %48

48:                                               ; preds = %40
  %49 = getelementptr inbounds [16 x i8], ptr %9, i64 0, i64 0
  %50 = getelementptr inbounds [1024 x i8], ptr %10, i64 0, i64 0
  %51 = call i32 (ptr, ...) @printf(ptr noundef @.str.153, ptr noundef %49, ptr noundef %50)
  %52 = call i32 (ptr, ...) @printf(ptr noundef @.str.129, ptr noundef @.str.2, i32 noundef 1119)
  call void @exit(i32 noundef 1) #8
  unreachable

53:                                               ; preds = %40
  %54 = getelementptr inbounds [1024 x i8], ptr %11, i64 0, i64 0
  %55 = load ptr, ptr %14, align 8, !tbaa !9
  %56 = call ptr @fgets(ptr noundef %54, i32 noundef 1024, ptr noundef %55)
  br label %57

57:                                               ; preds = %467, %462, %322, %294, %222, %195, %53
  %58 = load ptr, ptr %14, align 8, !tbaa !9
  %59 = getelementptr inbounds [1024 x i8], ptr %11, i64 0, i64 0
  %60 = call i32 (ptr, ptr, ...) @__isoc99_fscanf(ptr noundef %58, ptr noundef @.str.3, ptr noundef %59)
  %61 = icmp ne i32 %60, -1
  br i1 %61, label %62, label %468

62:                                               ; preds = %57
  %63 = getelementptr inbounds [1024 x i8], ptr %11, i64 0, i64 0
  %64 = call i32 @strcmp(ptr noundef %63, ptr noundef @.str.134) #9
  %65 = icmp eq i32 %64, 0
  br i1 %65, label %66, label %121

66:                                               ; preds = %62
  %67 = call i32 @strcmp(ptr noundef @neworcontinue, ptr noundef @.str.78) #9
  %68 = icmp eq i32 %67, 0
  br i1 %68, label %69, label %116

69:                                               ; preds = %66
  %70 = load i32, ptr %4, align 4, !tbaa !5
  %71 = icmp eq i32 %70, 0
  br i1 %71, label %72, label %116

72:                                               ; preds = %69
  %73 = load ptr, ptr %14, align 8, !tbaa !9
  %74 = getelementptr inbounds [5 x i8], ptr %8, i64 0, i64 0
  %75 = call i32 (ptr, ptr, ...) @__isoc99_fscanf(ptr noundef %73, ptr noundef @.str.3, ptr noundef %74)
  %76 = load i32, ptr %3, align 4, !tbaa !5
  %77 = getelementptr inbounds [5 x i8], ptr %8, i64 0, i64 0
  %78 = call i32 @FindTargetAtom(i32 noundef %76, ptr noundef %77)
  store i32 %78, ptr %5, align 4, !tbaa !5
  %79 = load ptr, ptr %14, align 8, !tbaa !9
  %80 = getelementptr inbounds [5 x i8], ptr %8, i64 0, i64 0
  %81 = load ptr, ptr @atom, align 8, !tbaa !9
  %82 = load i32, ptr %5, align 4, !tbaa !5
  %83 = sext i32 %82 to i64
  %84 = getelementptr inbounds %struct.AtomStr, ptr %81, i64 %83
  %85 = getelementptr inbounds %struct.AtomStr, ptr %84, i32 0, i32 0
  %86 = load ptr, ptr %85, align 8, !tbaa !11
  %87 = getelementptr inbounds %struct.PropertyStr, ptr %86, i32 0, i32 7
  %88 = load ptr, ptr @atom, align 8, !tbaa !9
  %89 = load i32, ptr %5, align 4, !tbaa !5
  %90 = sext i32 %89 to i64
  %91 = getelementptr inbounds %struct.AtomStr, ptr %88, i64 %90
  %92 = getelementptr inbounds %struct.AtomStr, ptr %91, i32 0, i32 0
  %93 = load ptr, ptr %92, align 8, !tbaa !11
  %94 = getelementptr inbounds %struct.PropertyStr, ptr %93, i32 0, i32 1
  %95 = getelementptr inbounds [2 x [16 x i8]], ptr %94, i64 0, i64 0
  %96 = getelementptr inbounds [16 x i8], ptr %95, i64 0, i64 0
  %97 = load ptr, ptr @atom, align 8, !tbaa !9
  %98 = load i32, ptr %5, align 4, !tbaa !5
  %99 = sext i32 %98 to i64
  %100 = getelementptr inbounds %struct.AtomStr, ptr %97, i64 %99
  %101 = getelementptr inbounds %struct.AtomStr, ptr %100, i32 0, i32 0
  %102 = load ptr, ptr %101, align 8, !tbaa !11
  %103 = getelementptr inbounds %struct.PropertyStr, ptr %102, i32 0, i32 1
  %104 = getelementptr inbounds [2 x [16 x i8]], ptr %103, i64 0, i64 1
  %105 = getelementptr inbounds [16 x i8], ptr %104, i64 0, i64 0
  %106 = call i32 (ptr, ptr, ...) @__isoc99_fscanf(ptr noundef %79, ptr noundef @.str.154, ptr noundef %80, ptr noundef %87, ptr noundef %96, ptr noundef %105)
  %107 = getelementptr inbounds [5 x i8], ptr %8, i64 0, i64 0
  %108 = call i32 @AtomModel(ptr noundef %107)
  %109 = load ptr, ptr @atom, align 8, !tbaa !9
  %110 = load i32, ptr %5, align 4, !tbaa !5
  %111 = sext i32 %110 to i64
  %112 = getelementptr inbounds %struct.AtomStr, ptr %109, i64 %111
  %113 = getelementptr inbounds %struct.AtomStr, ptr %112, i32 0, i32 0
  %114 = load ptr, ptr %113, align 8, !tbaa !11
  %115 = getelementptr inbounds %struct.PropertyStr, ptr %114, i32 0, i32 4
  store i32 %108, ptr %115, align 4, !tbaa !13
  br label %120

116:                                              ; preds = %69, %66
  %117 = getelementptr inbounds [1024 x i8], ptr %11, i64 0, i64 0
  %118 = load ptr, ptr %14, align 8, !tbaa !9
  %119 = call ptr @fgets(ptr noundef %117, i32 noundef 1024, ptr noundef %118)
  br label %120

120:                                              ; preds = %116, %72
  br label %467

121:                                              ; preds = %62
  %122 = getelementptr inbounds [1024 x i8], ptr %11, i64 0, i64 0
  %123 = call i32 @strcmp(ptr noundef %122, ptr noundef @.str.155) #9
  %124 = icmp eq i32 %123, 0
  br i1 %124, label %133, label %125

125:                                              ; preds = %121
  %126 = getelementptr inbounds [1024 x i8], ptr %11, i64 0, i64 0
  %127 = call i32 @strcmp(ptr noundef %126, ptr noundef @.str.156) #9
  %128 = icmp eq i32 %127, 0
  br i1 %128, label %133, label %129

129:                                              ; preds = %125
  %130 = getelementptr inbounds [1024 x i8], ptr %11, i64 0, i64 0
  %131 = call i32 @strcmp(ptr noundef %130, ptr noundef @.str.157) #9
  %132 = icmp eq i32 %131, 0
  br i1 %132, label %133, label %343

133:                                              ; preds = %129, %125, %121
  %134 = load ptr, ptr %14, align 8, !tbaa !9
  %135 = getelementptr inbounds [5 x i8], ptr %8, i64 0, i64 0
  %136 = call i32 (ptr, ptr, ...) @__isoc99_fscanf(ptr noundef %134, ptr noundef @.str.3, ptr noundef %135)
  %137 = load i32, ptr %3, align 4, !tbaa !5
  %138 = getelementptr inbounds [5 x i8], ptr %8, i64 0, i64 0
  %139 = call i32 @FindTargetAtom(i32 noundef %137, ptr noundef %138)
  store i32 %139, ptr %5, align 4, !tbaa !5
  %140 = icmp sgt i32 %139, 0
  br i1 %140, label %141, label %287

141:                                              ; preds = %133
  %142 = load ptr, ptr %14, align 8, !tbaa !9
  %143 = getelementptr inbounds [5 x i8], ptr %8, i64 0, i64 0
  %144 = call i32 (ptr, ptr, ...) @__isoc99_fscanf(ptr noundef %142, ptr noundef @.str.158, ptr noundef %143, ptr noundef %12, ptr noundef %13)
  %145 = load i32, ptr %3, align 4, !tbaa !5
  %146 = getelementptr inbounds [5 x i8], ptr %8, i64 0, i64 0
  %147 = call i32 @FindTargetAtom(i32 noundef %145, ptr noundef %146)
  store i32 %147, ptr %6, align 4, !tbaa !5
  %148 = load i32, ptr %6, align 4, !tbaa !5
  %149 = icmp eq i32 %148, 0
  br i1 %149, label %150, label %219

150:                                              ; preds = %141
  %151 = getelementptr inbounds [5 x i8], ptr %8, i64 0, i64 0
  %152 = call i32 @strncmp(ptr noundef %151, ptr noundef @.str.159, i64 noundef 1) #9
  %153 = icmp eq i32 %152, 0
  br i1 %153, label %195, label %154

154:                                              ; preds = %150
  %155 = load ptr, ptr @aminoacid, align 8, !tbaa !9
  %156 = load i32, ptr %3, align 4, !tbaa !5
  %157 = add nsw i32 %156, 1
  %158 = sext i32 %157 to i64
  %159 = getelementptr inbounds %struct.AAStr, ptr %155, i64 %158
  %160 = getelementptr inbounds %struct.AAStr, ptr %159, i32 0, i32 0
  %161 = getelementptr inbounds [5 x i8], ptr %160, i64 0, i64 0
  %162 = call i32 @strcmp(ptr noundef %161, ptr noundef @.str.136) #9
  %163 = icmp eq i32 %162, 0
  br i1 %163, label %164, label %168

164:                                              ; preds = %154
  %165 = getelementptr inbounds [5 x i8], ptr %8, i64 0, i64 0
  %166 = call i32 @strcmp(ptr noundef %165, ptr noundef @.str.160) #9
  %167 = icmp eq i32 %166, 0
  br i1 %167, label %195, label %168

168:                                              ; preds = %164, %154
  %169 = load ptr, ptr @aminoacid, align 8, !tbaa !9
  %170 = load i32, ptr %3, align 4, !tbaa !5
  %171 = sext i32 %170 to i64
  %172 = getelementptr inbounds %struct.AAStr, ptr %169, i64 %171
  %173 = getelementptr inbounds %struct.AAStr, ptr %172, i32 0, i32 0
  %174 = getelementptr inbounds [5 x i8], ptr %173, i64 0, i64 0
  %175 = call i32 @strcmp(ptr noundef %174, ptr noundef @.str.136) #9
  %176 = icmp eq i32 %175, 0
  br i1 %176, label %177, label %181

177:                                              ; preds = %168
  %178 = getelementptr inbounds [5 x i8], ptr %8, i64 0, i64 0
  %179 = call i32 @strcmp(ptr noundef %178, ptr noundef @.str.161) #9
  %180 = icmp eq i32 %179, 0
  br i1 %180, label %195, label %181

181:                                              ; preds = %177, %168
  %182 = load ptr, ptr @aminoacid, align 8, !tbaa !9
  %183 = load i32, ptr %3, align 4, !tbaa !5
  %184 = add nsw i32 %183, 1
  %185 = sext i32 %184 to i64
  %186 = getelementptr inbounds %struct.AAStr, ptr %182, i64 %185
  %187 = getelementptr inbounds %struct.AAStr, ptr %186, i32 0, i32 0
  %188 = getelementptr inbounds [5 x i8], ptr %187, i64 0, i64 0
  %189 = call i32 @strcmp(ptr noundef %188, ptr noundef @.str.151) #9
  %190 = icmp eq i32 %189, 0
  br i1 %190, label %191, label %196

191:                                              ; preds = %181
  %192 = getelementptr inbounds [5 x i8], ptr %8, i64 0, i64 0
  %193 = call i32 @strcmp(ptr noundef %192, ptr noundef @.str.162) #9
  %194 = icmp eq i32 %193, 0
  br i1 %194, label %195, label %196

195:                                              ; preds = %191, %177, %164, %150
  br label %57, !llvm.loop !17

196:                                              ; preds = %191, %181
  %197 = load ptr, ptr @aminoacid, align 8, !tbaa !9
  %198 = load i32, ptr %3, align 4, !tbaa !5
  %199 = sext i32 %198 to i64
  %200 = getelementptr inbounds %struct.AAStr, ptr %197, i64 %199
  %201 = getelementptr inbounds %struct.AAStr, ptr %200, i32 0, i32 4
  %202 = load i32, ptr %201, align 4, !tbaa !19
  %203 = load i32, ptr %3, align 4, !tbaa !5
  %204 = load ptr, ptr @protein, align 8, !tbaa !9
  %205 = load ptr, ptr @aminoacid, align 8, !tbaa !9
  %206 = load i32, ptr %3, align 4, !tbaa !5
  %207 = sext i32 %206 to i64
  %208 = getelementptr inbounds %struct.AAStr, ptr %205, i64 %207
  %209 = getelementptr inbounds %struct.AAStr, ptr %208, i32 0, i32 4
  %210 = load i32, ptr %209, align 4, !tbaa !19
  %211 = sub nsw i32 %210, 1
  %212 = sext i32 %211 to i64
  %213 = getelementptr inbounds %struct.PepStr, ptr %204, i64 %212
  %214 = getelementptr inbounds %struct.PepStr, ptr %213, i32 0, i32 3
  %215 = load i32, ptr %214, align 4, !tbaa !21
  %216 = sub nsw i32 %203, %215
  %217 = getelementptr inbounds [5 x i8], ptr %8, i64 0, i64 0
  %218 = call i32 (ptr, ...) @printf(ptr noundef @.str.163, i32 noundef %202, i32 noundef %216, ptr noundef %217, ptr noundef @.str.2, i32 noundef 1164)
  call void @exit(i32 noundef 1) #8
  unreachable

219:                                              ; preds = %141
  %220 = load i32, ptr %6, align 4, !tbaa !5
  %221 = icmp eq i32 %220, -1
  br i1 %221, label %222, label %223

222:                                              ; preds = %219
  br label %57, !llvm.loop !17

223:                                              ; preds = %219
  br label %224

224:                                              ; preds = %223
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #7
  %225 = load double, ptr %12, align 8, !tbaa !23
  %226 = load double, ptr %13, align 8, !tbaa !23
  %227 = fsub double 1.000000e+00, %226
  %228 = fmul double %225, %227
  store double %228, ptr %16, align 8, !tbaa !23
  %229 = load double, ptr %16, align 8, !tbaa !23
  %230 = load double, ptr %16, align 8, !tbaa !23
  %231 = fmul double %230, %229
  store double %231, ptr %16, align 8, !tbaa !23
  %232 = load double, ptr %12, align 8, !tbaa !23
  %233 = load double, ptr %13, align 8, !tbaa !23
  %234 = fadd double 1.000000e+00, %233
  %235 = fmul double %232, %234
  store double %235, ptr %15, align 8, !tbaa !23
  %236 = load double, ptr %15, align 8, !tbaa !23
  %237 = load double, ptr %15, align 8, !tbaa !23
  %238 = fmul double %237, %236
  store double %238, ptr %15, align 8, !tbaa !23
  %239 = load i32, ptr %6, align 4, !tbaa !5
  %240 = load ptr, ptr @atom, align 8, !tbaa !9
  %241 = load i32, ptr %5, align 4, !tbaa !5
  %242 = sext i32 %241 to i64
  %243 = getelementptr inbounds %struct.AtomStr, ptr %240, i64 %242
  %244 = getelementptr inbounds %struct.AtomStr, ptr %243, i32 0, i32 0
  %245 = load ptr, ptr %244, align 8, !tbaa !11
  %246 = load double, ptr %16, align 8, !tbaa !23
  %247 = load double, ptr %15, align 8, !tbaa !23
  %248 = load i32, ptr %4, align 4, !tbaa !5
  %249 = call i32 @FindNextBondList(i32 noundef %239, ptr noundef %245, double noundef %246, double noundef %247, i32 noundef %248)
  store i32 %249, ptr %7, align 4, !tbaa !5
  %250 = load i32, ptr %7, align 4, !tbaa !5
  %251 = icmp eq i32 %250, 1
  br i1 %251, label %252, label %286

252:                                              ; preds = %224
  %253 = load ptr, ptr @connectionMap, align 8, !tbaa !9
  %254 = load i32, ptr %5, align 4, !tbaa !5
  %255 = sext i32 %254 to i64
  %256 = getelementptr inbounds ptr, ptr %253, i64 %255
  %257 = load ptr, ptr %256, align 8, !tbaa !9
  %258 = load i32, ptr %6, align 4, !tbaa !5
  %259 = sext i32 %258 to i64
  %260 = getelementptr inbounds i32, ptr %257, i64 %259
  %261 = load i32, ptr %260, align 4, !tbaa !5
  %262 = and i32 %261, 2
  %263 = icmp ne i32 %262, 0
  br i1 %263, label %264, label %275

264:                                              ; preds = %252
  %265 = load ptr, ptr @connectionMap, align 8, !tbaa !9
  %266 = load i32, ptr %5, align 4, !tbaa !5
  %267 = sext i32 %266 to i64
  %268 = getelementptr inbounds ptr, ptr %265, i64 %267
  %269 = load ptr, ptr %268, align 8, !tbaa !9
  %270 = load i32, ptr %6, align 4, !tbaa !5
  %271 = sext i32 %270 to i64
  %272 = getelementptr inbounds i32, ptr %269, i64 %271
  %273 = load i32, ptr %272, align 4, !tbaa !5
  %274 = xor i32 %273, 2
  store i32 %274, ptr %272, align 4, !tbaa !5
  br label %275

275:                                              ; preds = %264, %252
  %276 = load ptr, ptr @connectionMap, align 8, !tbaa !9
  %277 = load i32, ptr %5, align 4, !tbaa !5
  %278 = sext i32 %277 to i64
  %279 = getelementptr inbounds ptr, ptr %276, i64 %278
  %280 = load ptr, ptr %279, align 8, !tbaa !9
  %281 = load i32, ptr %6, align 4, !tbaa !5
  %282 = sext i32 %281 to i64
  %283 = getelementptr inbounds i32, ptr %280, i64 %282
  %284 = load i32, ptr %283, align 4, !tbaa !5
  %285 = or i32 %284, 1
  store i32 %285, ptr %283, align 4, !tbaa !5
  br label %286

286:                                              ; preds = %275, %224
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #7
  br label %342

287:                                              ; preds = %133
  %288 = load i32, ptr %5, align 4, !tbaa !5
  %289 = icmp eq i32 %288, 0
  br i1 %289, label %290, label %341

290:                                              ; preds = %287
  %291 = getelementptr inbounds [5 x i8], ptr %8, i64 0, i64 0
  %292 = call i32 @strncmp(ptr noundef %291, ptr noundef @.str.159, i64 noundef 1) #9
  %293 = icmp eq i32 %292, 0
  br i1 %293, label %294, label %309

294:                                              ; preds = %290
  %295 = getelementptr inbounds [5 x i8], ptr %8, i64 0, i64 0
  %296 = load ptr, ptr @aminoacid, align 8, !tbaa !9
  %297 = load i32, ptr %3, align 4, !tbaa !5
  %298 = sext i32 %297 to i64
  %299 = getelementptr inbounds %struct.AAStr, ptr %296, i64 %298
  %300 = getelementptr inbounds %struct.AAStr, ptr %299, i32 0, i32 4
  %301 = load i32, ptr %300, align 4, !tbaa !19
  %302 = load i32, ptr %3, align 4, !tbaa !5
  %303 = call i32 (ptr, ...) @printf(ptr noundef @.str.164, ptr noundef %295, i32 noundef %301, i32 noundef %302)
  %304 = getelementptr inbounds [1024 x i8], ptr %11, i64 0, i64 0
  %305 = load ptr, ptr %14, align 8, !tbaa !9
  %306 = call ptr @fgets(ptr noundef %304, i32 noundef 1024, ptr noundef %305)
  %307 = load i64, ptr @warningsum, align 8, !tbaa !24
  %308 = add nsw i64 %307, 1
  store i64 %308, ptr @warningsum, align 8, !tbaa !24
  br label %57, !llvm.loop !17

309:                                              ; preds = %290
  %310 = getelementptr inbounds [5 x i8], ptr %8, i64 0, i64 0
  %311 = call i32 @strcmp(ptr noundef %310, ptr noundef @.str.161) #9
  %312 = icmp eq i32 %311, 0
  br i1 %312, label %313, label %326

313:                                              ; preds = %309
  %314 = load ptr, ptr @aminoacid, align 8, !tbaa !9
  %315 = load i32, ptr %3, align 4, !tbaa !5
  %316 = sext i32 %315 to i64
  %317 = getelementptr inbounds %struct.AAStr, ptr %314, i64 %316
  %318 = getelementptr inbounds %struct.AAStr, ptr %317, i32 0, i32 0
  %319 = getelementptr inbounds [5 x i8], ptr %318, i64 0, i64 0
  %320 = call i32 @strcmp(ptr noundef %319, ptr noundef @.str.136) #9
  %321 = icmp eq i32 %320, 0
  br i1 %321, label %322, label %326

322:                                              ; preds = %313
  %323 = getelementptr inbounds [1024 x i8], ptr %11, i64 0, i64 0
  %324 = load ptr, ptr %14, align 8, !tbaa !9
  %325 = call ptr @fgets(ptr noundef %323, i32 noundef 1024, ptr noundef %324)
  br label %57, !llvm.loop !17

326:                                              ; preds = %313, %309
  %327 = getelementptr inbounds [5 x i8], ptr %8, i64 0, i64 0
  %328 = load ptr, ptr @aminoacid, align 8, !tbaa !9
  %329 = load i32, ptr %3, align 4, !tbaa !5
  %330 = sext i32 %329 to i64
  %331 = getelementptr inbounds %struct.AAStr, ptr %328, i64 %330
  %332 = getelementptr inbounds %struct.AAStr, ptr %331, i32 0, i32 2
  %333 = load i32, ptr %332, align 4, !tbaa !26
  %334 = load ptr, ptr @aminoacid, align 8, !tbaa !9
  %335 = load i32, ptr %3, align 4, !tbaa !5
  %336 = sext i32 %335 to i64
  %337 = getelementptr inbounds %struct.AAStr, ptr %334, i64 %336
  %338 = getelementptr inbounds %struct.AAStr, ptr %337, i32 0, i32 3
  %339 = load i32, ptr %338, align 8, !tbaa !27
  %340 = call i32 (ptr, ...) @printf(ptr noundef @.str.165, ptr noundef %327, i32 noundef %333, i32 noundef %339, ptr noundef @.str.2, i32 noundef 1193)
  call void @exit(i32 noundef 1) #8
  unreachable

341:                                              ; preds = %287
  br label %342

342:                                              ; preds = %341, %286
  br label %466

343:                                              ; preds = %129
  %344 = getelementptr inbounds [1024 x i8], ptr %11, i64 0, i64 0
  %345 = call i32 @strncmp(ptr noundef %344, ptr noundef @.str.166, i64 noundef 6) #9
  %346 = icmp eq i32 %345, 0
  br i1 %346, label %347, label %465

347:                                              ; preds = %343
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #7
  %348 = getelementptr inbounds [1024 x i8], ptr %11, i64 0, i64 6
  %349 = load i8, ptr %348, align 2, !tbaa !28
  %350 = sext i8 %349 to i32
  %351 = sub nsw i32 %350, 48
  store i32 %351, ptr %17, align 4, !tbaa !5
  %352 = load ptr, ptr %14, align 8, !tbaa !9
  %353 = getelementptr inbounds [5 x i8], ptr %8, i64 0, i64 0
  %354 = getelementptr inbounds [1024 x i8], ptr %11, i64 0, i64 0
  %355 = call i32 (ptr, ptr, ...) @__isoc99_fscanf(ptr noundef %352, ptr noundef @.str.167, ptr noundef %353, ptr noundef %354)
  %356 = load i32, ptr %3, align 4, !tbaa !5
  %357 = getelementptr inbounds [5 x i8], ptr %8, i64 0, i64 0
  %358 = call i32 @FindTargetAtom(i32 noundef %356, ptr noundef %357)
  store i32 %358, ptr %5, align 4, !tbaa !5
  %359 = load i32, ptr %5, align 4, !tbaa !5
  %360 = icmp sle i32 %359, 0
  br i1 %360, label %361, label %390

361:                                              ; preds = %347
  %362 = load ptr, ptr @aminoacid, align 8, !tbaa !9
  %363 = load i32, ptr %3, align 4, !tbaa !5
  %364 = sext i32 %363 to i64
  %365 = getelementptr inbounds %struct.AAStr, ptr %362, i64 %364
  %366 = getelementptr inbounds %struct.AAStr, ptr %365, i32 0, i32 0
  %367 = getelementptr inbounds [5 x i8], ptr %366, i64 0, i64 0
  %368 = call i32 @strcmp(ptr noundef %367, ptr noundef @.str.136) #9
  %369 = icmp eq i32 %368, 0
  br i1 %369, label %370, label %374

370:                                              ; preds = %361
  %371 = getelementptr inbounds [5 x i8], ptr %8, i64 0, i64 0
  %372 = call i32 @strcmp(ptr noundef %371, ptr noundef @.str.161) #9
  %373 = icmp eq i32 %372, 0
  br i1 %373, label %389, label %374

374:                                              ; preds = %370, %361
  %375 = getelementptr inbounds [5 x i8], ptr %8, i64 0, i64 0
  %376 = load ptr, ptr @aminoacid, align 8, !tbaa !9
  %377 = load i32, ptr %3, align 4, !tbaa !5
  %378 = sext i32 %377 to i64
  %379 = getelementptr inbounds %struct.AAStr, ptr %376, i64 %378
  %380 = getelementptr inbounds %struct.AAStr, ptr %379, i32 0, i32 2
  %381 = load i32, ptr %380, align 4, !tbaa !26
  %382 = load ptr, ptr @aminoacid, align 8, !tbaa !9
  %383 = load i32, ptr %3, align 4, !tbaa !5
  %384 = sext i32 %383 to i64
  %385 = getelementptr inbounds %struct.AAStr, ptr %382, i64 %384
  %386 = getelementptr inbounds %struct.AAStr, ptr %385, i32 0, i32 3
  %387 = load i32, ptr %386, align 8, !tbaa !27
  %388 = call i32 (ptr, ...) @printf(ptr noundef @.str.165, ptr noundef %375, i32 noundef %381, i32 noundef %387, ptr noundef @.str.2, i32 noundef 1202)
  call void @exit(i32 noundef 1) #8
  unreachable

389:                                              ; preds = %370
  br label %390

390:                                              ; preds = %389, %347
  %391 = load i32, ptr %3, align 4, !tbaa !5
  %392 = getelementptr inbounds [1024 x i8], ptr %11, i64 0, i64 0
  %393 = call i32 @FindTargetAtom(i32 noundef %391, ptr noundef %392)
  store i32 %393, ptr %6, align 4, !tbaa !5
  %394 = load i32, ptr %6, align 4, !tbaa !5
  %395 = icmp sgt i32 %394, 0
  br i1 %395, label %396, label %448

396:                                              ; preds = %390
  %397 = load i32, ptr %5, align 4, !tbaa !5
  %398 = icmp sgt i32 %397, 0
  br i1 %398, label %399, label %448

399:                                              ; preds = %396
  %400 = load i32, ptr %6, align 4, !tbaa !5
  %401 = load i32, ptr %17, align 4, !tbaa !5
  %402 = load ptr, ptr @atom, align 8, !tbaa !9
  %403 = load i32, ptr %5, align 4, !tbaa !5
  %404 = sext i32 %403 to i64
  %405 = getelementptr inbounds %struct.AtomStr, ptr %402, i64 %404
  %406 = getelementptr inbounds %struct.AtomStr, ptr %405, i32 0, i32 0
  %407 = load ptr, ptr %406, align 8, !tbaa !11
  %408 = load ptr, ptr %14, align 8, !tbaa !9
  %409 = load i32, ptr %4, align 4, !tbaa !5
  %410 = call i32 @ConstrList(i32 noundef %400, i32 noundef %401, ptr noundef %407, ptr noundef %408, i32 noundef %409)
  store i32 %410, ptr %7, align 4, !tbaa !5
  %411 = load i32, ptr %7, align 4, !tbaa !5
  %412 = icmp eq i32 %411, 1
  br i1 %412, label %413, label %447

413:                                              ; preds = %399
  %414 = load ptr, ptr @connectionMap, align 8, !tbaa !9
  %415 = load i32, ptr %5, align 4, !tbaa !5
  %416 = sext i32 %415 to i64
  %417 = getelementptr inbounds ptr, ptr %414, i64 %416
  %418 = load ptr, ptr %417, align 8, !tbaa !9
  %419 = load i32, ptr %6, align 4, !tbaa !5
  %420 = sext i32 %419 to i64
  %421 = getelementptr inbounds i32, ptr %418, i64 %420
  %422 = load i32, ptr %421, align 4, !tbaa !5
  %423 = and i32 %422, 1
  %424 = icmp ne i32 %423, 0
  br i1 %424, label %425, label %436

425:                                              ; preds = %413
  %426 = load ptr, ptr @connectionMap, align 8, !tbaa !9
  %427 = load i32, ptr %5, align 4, !tbaa !5
  %428 = sext i32 %427 to i64
  %429 = getelementptr inbounds ptr, ptr %426, i64 %428
  %430 = load ptr, ptr %429, align 8, !tbaa !9
  %431 = load i32, ptr %6, align 4, !tbaa !5
  %432 = sext i32 %431 to i64
  %433 = getelementptr inbounds i32, ptr %430, i64 %432
  %434 = load i32, ptr %433, align 4, !tbaa !5
  %435 = xor i32 %434, 1
  store i32 %435, ptr %433, align 4, !tbaa !5
  br label %436

436:                                              ; preds = %425, %413
  %437 = load ptr, ptr @connectionMap, align 8, !tbaa !9
  %438 = load i32, ptr %5, align 4, !tbaa !5
  %439 = sext i32 %438 to i64
  %440 = getelementptr inbounds ptr, ptr %437, i64 %439
  %441 = load ptr, ptr %440, align 8, !tbaa !9
  %442 = load i32, ptr %6, align 4, !tbaa !5
  %443 = sext i32 %442 to i64
  %444 = getelementptr inbounds i32, ptr %441, i64 %443
  %445 = load i32, ptr %444, align 4, !tbaa !5
  %446 = or i32 %445, 2
  store i32 %446, ptr %444, align 4, !tbaa !5
  br label %447

447:                                              ; preds = %436, %399
  br label %461

448:                                              ; preds = %396, %390
  %449 = load i32, ptr %6, align 4, !tbaa !5
  %450 = icmp eq i32 %449, 0
  br i1 %450, label %451, label %460

451:                                              ; preds = %448
  %452 = getelementptr inbounds [1024 x i8], ptr %11, i64 0, i64 0
  %453 = call i32 @strncmp(ptr noundef %452, ptr noundef @.str.159, i64 noundef 1) #9
  %454 = icmp eq i32 %453, 0
  br i1 %454, label %455, label %456

455:                                              ; preds = %451
  store i32 2, ptr %18, align 4
  br label %462, !llvm.loop !17

456:                                              ; preds = %451
  %457 = getelementptr inbounds [1024 x i8], ptr %11, i64 0, i64 0
  %458 = load i32, ptr %5, align 4, !tbaa !5
  %459 = call i32 (ptr, ...) @printf(ptr noundef @.str.168, ptr noundef %457, i32 noundef %458, ptr noundef @.str.2, i32 noundef 1220)
  call void @exit(i32 noundef 1) #8
  unreachable

460:                                              ; preds = %448
  br label %461

461:                                              ; preds = %460, %447
  store i32 0, ptr %18, align 4
  br label %462

462:                                              ; preds = %461, %455
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #7
  %463 = load i32, ptr %18, align 4
  switch i32 %463, label %473 [
    i32 0, label %464
    i32 2, label %57
  ]

464:                                              ; preds = %462
  br label %465

465:                                              ; preds = %464, %343
  br label %466

466:                                              ; preds = %465, %342
  br label %467

467:                                              ; preds = %466, %120
  br label %57, !llvm.loop !17

468:                                              ; preds = %57
  %469 = load i32, ptr %3, align 4, !tbaa !5
  call void @BondDuplicate(i32 noundef %469)
  %470 = load i32, ptr %3, align 4, !tbaa !5
  call void @ConstrDuplicate(i32 noundef %470)
  %471 = load ptr, ptr %14, align 8, !tbaa !9
  %472 = call i32 @fclose(ptr noundef %471)
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #7
  call void @llvm.lifetime.end.p0(i64 1024, ptr %11) #7
  call void @llvm.lifetime.end.p0(i64 1024, ptr %10) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %9) #7
  call void @llvm.lifetime.end.p0(i64 5, ptr %8) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #7
  ret void

473:                                              ; preds = %462
  unreachable
}

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

declare i32 @AtomModel(ptr noundef) #2

; Function Attrs: nounwind uwtable
declare dso_local i32 @FindNextBondList(i32 noundef, ptr noundef, double noundef, double noundef, i32 noundef) #6

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

; Function Attrs: nounwind uwtable
declare dso_local void @BondDuplicate(i32 noundef) #6

; Function Attrs: nounwind uwtable
declare dso_local void @ConstrDuplicate(i32 noundef) #6

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"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, !10, i64 0}
!12 = !{!"AtomStr", !10, i64 0, !10, i64 8}
!13 = !{!14, !6, i64 52}
!14 = !{!"PropertyStr", !7, i64 0, !7, i64 8, !7, i64 40, !6, i64 48, !6, i64 52, !6, i64 56, !15, i64 64, !15, i64 72, !7, i64 80, !16, i64 104, !10, i64 120, !10, i64 128}
!15 = !{!"double", !7, i64 0}
!16 = !{!"AtomSeqStr", !6, i64 0, !6, i64 4, !6, i64 8}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
!19 = !{!20, !6, i64 20}
!20 = !{!"AAStr", !7, i64 0, !6, i64 8, !6, i64 12, !6, i64 16, !6, i64 20, !15, i64 24}
!21 = !{!22, !6, i64 12}
!22 = !{!"PepStr", !6, i64 0, !6, i64 4, !6, i64 8, !6, i64 12, !15, i64 16}
!23 = !{!15, !15, i64 0}
!24 = !{!25, !25, i64 0}
!25 = !{!"long", !7, i64 0}
!26 = !{!20, !6, i64 12}
!27 = !{!20, !6, i64 16}
!28 = !{!7, !7, i64 0}


; 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.AAStr = type { [5 x i8], i32, i32, i32, i32, double }
%struct.AtomStr = type { ptr, ptr }
%struct.PepStr = type { i32, i32, i32, i32, double }

@.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
@.str.78 = external hidden unnamed_addr constant [4 x i8], align 1
@neworcontinue = external global [20 x i8], align 16
@.str.94 = external hidden unnamed_addr constant [2 x i8], align 1
@atom = external local_unnamed_addr global ptr, align 8
@protein = external local_unnamed_addr global ptr, align 8
@aminoacid = external local_unnamed_addr global ptr, align 8
@connectionMap = external local_unnamed_addr global ptr, align 8
@warningsum = external local_unnamed_addr global i64, align 8
@Methodtype = external global [20 x i8], align 16
@.str.129 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.134 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.136 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.137 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.138 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.151 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.152 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.153 = external hidden unnamed_addr constant [68 x i8], align 1
@.str.154 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.155 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.156 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.157 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.158 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.159 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.160 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.161 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.162 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.163 = external hidden unnamed_addr constant [131 x i8], align 1
@.str.164 = external hidden unnamed_addr constant [133 x i8], align 1
@.str.165 = external hidden unnamed_addr constant [105 x i8], align 1
@.str.166 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.167 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.168 = external hidden unnamed_addr constant [101 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 memory(argmem: read)
declare i32 @strcmp(ptr nocapture noundef, ptr nocapture noundef) local_unnamed_addr #1

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #5

; Function Attrs: nounwind uwtable
define dso_local void @ScanAA(i32 noundef %0, i32 noundef %1) local_unnamed_addr #6 {
  %3 = alloca [5 x i8], align 1
  %4 = alloca [16 x i8], align 16
  %5 = alloca [1024 x i8], align 16
  %6 = alloca [1024 x i8], align 16
  %7 = alloca double, align 8
  %8 = alloca double, align 8
  call void @llvm.lifetime.start.p0(i64 5, ptr nonnull %3) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #7
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(16) %4, i8 0, i64 16, i1 false)
  call void @llvm.lifetime.start.p0(i64 1024, ptr nonnull %5) #7
  call void @llvm.lifetime.start.p0(i64 1024, ptr nonnull %6) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #7
  switch i32 %1, label %13 [
    i32 2, label %9
    i32 1, label %11
  ]

9:                                                ; preds = %2
  %10 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %4, ptr noundef nonnull dereferenceable(1) @.str.3, ptr noundef nonnull @.str.152) #7
  br label %18

11:                                               ; preds = %2
  %12 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %4, ptr noundef nonnull dereferenceable(1) @.str.3, ptr noundef nonnull @.str.138) #7
  br label %18

13:                                               ; preds = %2
  %14 = load ptr, ptr @aminoacid, align 8, !tbaa !5
  %15 = sext i32 %0 to i64
  %16 = getelementptr inbounds %struct.AAStr, ptr %14, i64 %15
  %17 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %4, ptr noundef nonnull dereferenceable(1) @.str.3, ptr noundef %16) #7
  br label %18

18:                                               ; preds = %11, %13, %9
  %19 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %5, ptr noundef nonnull dereferenceable(1) @.str.137, ptr noundef nonnull @datadir, ptr noundef nonnull @Methodtype, ptr noundef nonnull %4) #7
  %20 = call noalias ptr @fopen(ptr noundef nonnull %5, ptr noundef nonnull @.str.94)
  %.not = icmp eq ptr %20, null
  br i1 %.not, label %21, label %24

21:                                               ; preds = %18
  %22 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.153, ptr noundef nonnull %4, ptr noundef nonnull %5)
  %23 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.129, ptr noundef nonnull @.str.2, i32 noundef 1119)
  call void @exit(i32 noundef 1) #8
  unreachable

24:                                               ; preds = %18
  %25 = call ptr @fgets(ptr noundef nonnull %6, i32 noundef 1024, ptr noundef nonnull %20)
  %26 = call i32 (ptr, ptr, ...) @__isoc99_fscanf(ptr noundef nonnull %20, ptr noundef nonnull @.str.3, ptr noundef nonnull %6) #7
  %.not8699 = icmp eq i32 %26, -1
  br i1 %.not8699, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %24
  %27 = getelementptr inbounds i8, ptr %6, i64 6
  %28 = sext i32 %0 to i64
  %rhsc = load i8, ptr @.str.159, align 1
  br label %29

29:                                               ; preds = %.lr.ph, %.backedge
  %30 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %6, ptr noundef nonnull dereferenceable(1) @.str.134) #9
  %31 = icmp eq i32 %30, 0
  br i1 %31, label %32, label %53

32:                                               ; preds = %29
  %33 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) @neworcontinue, ptr noundef nonnull dereferenceable(1) @.str.78) #9
  %34 = or i32 %33, %1
  %or.cond = icmp eq i32 %34, 0
  br i1 %or.cond, label %35, label %51

35:                                               ; preds = %32
  %36 = call i32 (ptr, ptr, ...) @__isoc99_fscanf(ptr noundef nonnull %20, ptr noundef nonnull @.str.3, ptr noundef nonnull %3) #7
  %37 = call i32 @FindTargetAtom(i32 noundef %0, ptr noundef nonnull %3)
  %38 = load ptr, ptr @atom, align 8, !tbaa !5
  %39 = sext i32 %37 to i64
  %40 = getelementptr inbounds %struct.AtomStr, ptr %38, i64 %39
  %41 = load ptr, ptr %40, align 8, !tbaa !9
  %42 = getelementptr inbounds i8, ptr %41, i64 72
  %43 = getelementptr inbounds i8, ptr %41, i64 8
  %44 = getelementptr inbounds i8, ptr %41, i64 24
  %45 = call i32 (ptr, ptr, ...) @__isoc99_fscanf(ptr noundef nonnull %20, ptr noundef nonnull @.str.154, ptr noundef nonnull %3, ptr noundef nonnull %42, ptr noundef nonnull %43, ptr noundef nonnull %44) #7
  %46 = call i32 @AtomModel(ptr noundef nonnull %3) #7
  %47 = load ptr, ptr @atom, align 8, !tbaa !5
  %48 = getelementptr inbounds %struct.AtomStr, ptr %47, i64 %39
  %49 = load ptr, ptr %48, align 8, !tbaa !9
  %50 = getelementptr inbounds i8, ptr %49, i64 52
  store i32 %46, ptr %50, align 4, !tbaa !11
  br label %.backedge

51:                                               ; preds = %32
  %52 = call ptr @fgets(ptr noundef nonnull %6, i32 noundef 1024, ptr noundef nonnull %20)
  br label %.backedge

53:                                               ; preds = %29
  %54 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %6, ptr noundef nonnull dereferenceable(1) @.str.155) #9
  %55 = icmp eq i32 %54, 0
  br i1 %55, label %62, label %56

56:                                               ; preds = %53
  %57 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %6, ptr noundef nonnull dereferenceable(1) @.str.156) #9
  %58 = icmp eq i32 %57, 0
  br i1 %58, label %62, label %59

59:                                               ; preds = %56
  %60 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %6, ptr noundef nonnull dereferenceable(1) @.str.157) #9
  %61 = icmp eq i32 %60, 0
  br i1 %61, label %62, label %155

62:                                               ; preds = %59, %56, %53
  %63 = call i32 (ptr, ptr, ...) @__isoc99_fscanf(ptr noundef nonnull %20, ptr noundef nonnull @.str.3, ptr noundef nonnull %3) #7
  %64 = call i32 @FindTargetAtom(i32 noundef %0, ptr noundef nonnull %3)
  %65 = icmp sgt i32 %64, 0
  br i1 %65, label %66, label %127

66:                                               ; preds = %62
  %67 = call i32 (ptr, ptr, ...) @__isoc99_fscanf(ptr noundef nonnull %20, ptr noundef nonnull @.str.158, ptr noundef nonnull %3, ptr noundef nonnull %7, ptr noundef nonnull %8) #7
  %68 = call i32 @FindTargetAtom(i32 noundef %0, ptr noundef nonnull %3)
  switch i32 %68, label %103 [
    i32 0, label %69
    i32 -1, label %.backedge
  ]

69:                                               ; preds = %66
  %lhsc91 = load i8, ptr %3, align 1
  %70 = icmp eq i8 %lhsc91, %rhsc
  br i1 %70, label %.backedge, label %71

71:                                               ; preds = %69
  %72 = load ptr, ptr @aminoacid, align 8, !tbaa !5
  %73 = getelementptr %struct.AAStr, ptr %72, i64 %28
  %74 = getelementptr i8, ptr %73, i64 32
  %75 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %74, ptr noundef nonnull dereferenceable(1) @.str.136) #9
  %76 = icmp eq i32 %75, 0
  br i1 %76, label %77, label %80

77:                                               ; preds = %71
  %78 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %3, ptr noundef nonnull dereferenceable(1) @.str.160) #9
  %79 = icmp eq i32 %78, 0
  br i1 %79, label %.backedge, label %80

80:                                               ; preds = %77, %71
  %81 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %73, ptr noundef nonnull dereferenceable(1) @.str.136) #9
  %82 = icmp eq i32 %81, 0
  br i1 %82, label %83, label %86

83:                                               ; preds = %80
  %84 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %3, ptr noundef nonnull dereferenceable(1) @.str.161) #9
  %85 = icmp eq i32 %84, 0
  br i1 %85, label %.backedge, label %86

86:                                               ; preds = %83, %80
  %87 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %74, ptr noundef nonnull dereferenceable(1) @.str.151) #9
  %88 = icmp eq i32 %87, 0
  br i1 %88, label %89, label %93

89:                                               ; preds = %86
  %90 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %3, ptr noundef nonnull dereferenceable(1) @.str.162) #9
  %91 = icmp eq i32 %90, 0
  br i1 %91, label %.backedge, label %93

.backedge:                                        ; preds = %51, %35, %155, %127, %118, %103, %199, %183, %190, %69, %77, %83, %89, %131, %146, %66
  %92 = call i32 (ptr, ptr, ...) @__isoc99_fscanf(ptr noundef nonnull %20, ptr noundef nonnull @.str.3, ptr noundef nonnull %6) #7
  %.not86 = icmp eq i32 %92, -1
  br i1 %.not86, label %._crit_edge, label %29, !llvm.loop !16

93:                                               ; preds = %89, %86
  %94 = getelementptr inbounds %struct.AAStr, ptr %72, i64 %28, i32 4
  %95 = load i32, ptr %94, align 4, !tbaa !18
  %96 = load ptr, ptr @protein, align 8, !tbaa !5
  %97 = sext i32 %95 to i64
  %98 = getelementptr %struct.PepStr, ptr %96, i64 %97
  %99 = getelementptr i8, ptr %98, i64 -12
  %100 = load i32, ptr %99, align 4, !tbaa !20
  %101 = sub nsw i32 %0, %100
  %102 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.163, i32 noundef %95, i32 noundef %101, ptr noundef nonnull %3, ptr noundef nonnull @.str.2, i32 noundef 1164)
  call void @exit(i32 noundef 1) #8
  unreachable

103:                                              ; preds = %66
  %104 = load double, ptr %7, align 8, !tbaa !22
  %105 = load double, ptr %8, align 8, !tbaa !22
  %106 = fsub double 1.000000e+00, %105
  %107 = fmul double %104, %106
  %108 = fmul double %107, %107
  %109 = fadd double %105, 1.000000e+00
  %110 = fmul double %104, %109
  %111 = fmul double %110, %110
  %112 = load ptr, ptr @atom, align 8, !tbaa !5
  %113 = zext nneg i32 %64 to i64
  %114 = getelementptr inbounds %struct.AtomStr, ptr %112, i64 %113
  %115 = load ptr, ptr %114, align 8, !tbaa !9
  %116 = call i32 @FindNextBondList(i32 noundef %68, ptr noundef %115, double noundef %108, double noundef %111, i32 noundef %1)
  %117 = icmp eq i32 %116, 1
  br i1 %117, label %118, label %.backedge

118:                                              ; preds = %103
  %119 = load ptr, ptr @connectionMap, align 8, !tbaa !5
  %120 = getelementptr inbounds ptr, ptr %119, i64 %113
  %121 = load ptr, ptr %120, align 8, !tbaa !5
  %122 = sext i32 %68 to i64
  %123 = getelementptr inbounds i32, ptr %121, i64 %122
  %124 = load i32, ptr %123, align 4, !tbaa !23
  %125 = and i32 %124, -4
  %126 = or disjoint i32 %125, 1
  store i32 %126, ptr %123, align 4, !tbaa !23
  br label %.backedge

127:                                              ; preds = %62
  %128 = icmp eq i32 %64, 0
  br i1 %128, label %129, label %.backedge

129:                                              ; preds = %127
  %lhsc88 = load i8, ptr %3, align 1
  %130 = icmp eq i8 %lhsc88, %rhsc
  br i1 %130, label %131, label %139

131:                                              ; preds = %129
  %132 = load ptr, ptr @aminoacid, align 8, !tbaa !5
  %133 = getelementptr inbounds %struct.AAStr, ptr %132, i64 %28, i32 4
  %134 = load i32, ptr %133, align 4, !tbaa !18
  %135 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.164, ptr noundef nonnull %3, i32 noundef %134, i32 noundef %0)
  %136 = call ptr @fgets(ptr noundef nonnull %6, i32 noundef 1024, ptr noundef nonnull %20)
  %137 = load i64, ptr @warningsum, align 8, !tbaa !24
  %138 = add nsw i64 %137, 1
  store i64 %138, ptr @warningsum, align 8, !tbaa !24
  br label %.backedge

139:                                              ; preds = %129
  %140 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %3, ptr noundef nonnull dereferenceable(1) @.str.161) #9
  %141 = icmp eq i32 %140, 0
  %.pre = load ptr, ptr @aminoacid, align 8, !tbaa !5
  br i1 %141, label %142, label %148

142:                                              ; preds = %139
  %143 = getelementptr inbounds %struct.AAStr, ptr %.pre, i64 %28
  %144 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %143, ptr noundef nonnull dereferenceable(1) @.str.136) #9
  %145 = icmp eq i32 %144, 0
  br i1 %145, label %146, label %148

146:                                              ; preds = %142
  %147 = call ptr @fgets(ptr noundef nonnull %6, i32 noundef 1024, ptr noundef nonnull %20)
  br label %.backedge

148:                                              ; preds = %142, %139
  %149 = getelementptr inbounds %struct.AAStr, ptr %.pre, i64 %28
  %150 = getelementptr inbounds i8, ptr %149, i64 12
  %151 = load i32, ptr %150, align 4, !tbaa !26
  %152 = getelementptr inbounds i8, ptr %149, i64 16
  %153 = load i32, ptr %152, align 8, !tbaa !27
  %154 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.165, ptr noundef nonnull %3, i32 noundef %151, i32 noundef %153, ptr noundef nonnull @.str.2, i32 noundef 1193)
  call void @exit(i32 noundef 1) #8
  unreachable

155:                                              ; preds = %59
  %156 = call i32 @strncmp(ptr noundef nonnull dereferenceable(1) %6, ptr noundef nonnull dereferenceable(1) @.str.166, i64 noundef 6) #9
  %157 = icmp eq i32 %156, 0
  br i1 %157, label %158, label %.backedge

158:                                              ; preds = %155
  %159 = load i8, ptr %27, align 2, !tbaa !28
  %160 = sext i8 %159 to i32
  %161 = add nsw i32 %160, -48
  %162 = call i32 (ptr, ptr, ...) @__isoc99_fscanf(ptr noundef nonnull %20, ptr noundef nonnull @.str.167, ptr noundef nonnull %3, ptr noundef nonnull %6) #7
  %163 = call i32 @FindTargetAtom(i32 noundef %0, ptr noundef nonnull %3)
  %164 = icmp slt i32 %163, 1
  br i1 %164, label %165, label %179

165:                                              ; preds = %158
  %166 = load ptr, ptr @aminoacid, align 8, !tbaa !5
  %167 = getelementptr inbounds %struct.AAStr, ptr %166, i64 %28
  %168 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %167, ptr noundef nonnull dereferenceable(1) @.str.136) #9
  %169 = icmp eq i32 %168, 0
  br i1 %169, label %170, label %173

170:                                              ; preds = %165
  %171 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %3, ptr noundef nonnull dereferenceable(1) @.str.161) #9
  %172 = icmp eq i32 %171, 0
  br i1 %172, label %179, label %173

173:                                              ; preds = %170, %165
  %174 = getelementptr inbounds i8, ptr %167, i64 12
  %175 = load i32, ptr %174, align 4, !tbaa !26
  %176 = getelementptr inbounds i8, ptr %167, i64 16
  %177 = load i32, ptr %176, align 8, !tbaa !27
  %178 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.165, ptr noundef nonnull %3, i32 noundef %175, i32 noundef %177, ptr noundef nonnull @.str.2, i32 noundef 1202)
  call void @exit(i32 noundef 1) #8
  unreachable

179:                                              ; preds = %170, %158
  %180 = call i32 @FindTargetAtom(i32 noundef %0, ptr noundef nonnull %6)
  %181 = icmp sgt i32 %180, 0
  %182 = icmp sgt i32 %163, 0
  %or.cond3 = and i1 %182, %181
  br i1 %or.cond3, label %183, label %199

183:                                              ; preds = %179
  %184 = load ptr, ptr @atom, align 8, !tbaa !5
  %185 = zext nneg i32 %163 to i64
  %186 = getelementptr inbounds %struct.AtomStr, ptr %184, i64 %185
  %187 = load ptr, ptr %186, align 8, !tbaa !9
  %188 = call i32 @ConstrList(i32 noundef %180, i32 noundef %161, ptr noundef %187, ptr noundef nonnull %20, i32 noundef %1)
  %189 = icmp eq i32 %188, 1
  br i1 %189, label %190, label %.backedge

190:                                              ; preds = %183
  %191 = load ptr, ptr @connectionMap, align 8, !tbaa !5
  %192 = getelementptr inbounds ptr, ptr %191, i64 %185
  %193 = load ptr, ptr %192, align 8, !tbaa !5
  %194 = zext nneg i32 %180 to i64
  %195 = getelementptr inbounds i32, ptr %193, i64 %194
  %196 = load i32, ptr %195, align 4, !tbaa !23
  %197 = and i32 %196, -4
  %198 = or disjoint i32 %197, 2
  store i32 %198, ptr %195, align 4, !tbaa !23
  br label %.backedge

199:                                              ; preds = %179
  %200 = icmp ne i32 %180, 0
  %lhsc = load i8, ptr %6, align 16
  %201 = icmp eq i8 %lhsc, %rhsc
  %or.cond100 = select i1 %200, i1 true, i1 %201
  br i1 %or.cond100, label %.backedge, label %202

202:                                              ; preds = %199
  %203 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.168, ptr noundef nonnull %6, i32 noundef %163, ptr noundef nonnull @.str.2, i32 noundef 1220)
  call void @exit(i32 noundef 1) #8
  unreachable

._crit_edge:                                      ; preds = %.backedge, %24
  call void @BondDuplicate(i32 noundef %0)
  call void @ConstrDuplicate(i32 noundef %0)
  %204 = call i32 @fclose(ptr noundef nonnull %20)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #7
  call void @llvm.lifetime.end.p0(i64 1024, ptr nonnull %6) #7
  call void @llvm.lifetime.end.p0(i64 1024, ptr nonnull %5) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #7
  call void @llvm.lifetime.end.p0(i64 5, ptr nonnull %3) #7
  ret void
}

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

declare i32 @AtomModel(ptr noundef) local_unnamed_addr #4

; Function Attrs: nounwind uwtable
declare dso_local i32 @FindNextBondList(i32 noundef, ptr noundef, double noundef, double noundef, i32 noundef) local_unnamed_addr #6

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

; Function Attrs: nounwind uwtable
declare dso_local void @BondDuplicate(i32 noundef) local_unnamed_addr #6

; Function Attrs: nounwind uwtable
declare dso_local void @ConstrDuplicate(i32 noundef) local_unnamed_addr #6

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"AtomStr", !6, i64 0, !6, i64 8}
!11 = !{!12, !13, i64 52}
!12 = !{!"PropertyStr", !7, i64 0, !7, i64 8, !7, i64 40, !13, i64 48, !13, i64 52, !13, i64 56, !14, i64 64, !14, i64 72, !7, i64 80, !15, i64 104, !6, i64 120, !6, i64 128}
!13 = !{!"int", !7, i64 0}
!14 = !{!"double", !7, i64 0}
!15 = !{!"AtomSeqStr", !13, i64 0, !13, i64 4, !13, i64 8}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
!18 = !{!19, !13, i64 20}
!19 = !{!"AAStr", !7, i64 0, !13, i64 8, !13, i64 12, !13, i64 16, !13, i64 20, !14, i64 24}
!20 = !{!21, !13, i64 12}
!21 = !{!"PepStr", !13, i64 0, !13, i64 4, !13, i64 8, !13, i64 12, !14, i64 16}
!22 = !{!14, !14, i64 0}
!23 = !{!13, !13, i64 0}
!24 = !{!25, !25, i64 0}
!25 = !{!"long", !7, i64 0}
!26 = !{!19, !13, i64 12}
!27 = !{!19, !13, i64 16}
!28 = !{!7, !7, i64 0}


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