; LLVM IR from jorgemf/c-evolutionary-library :: src/ArtificialInmuneSystem.ll (ZN22ArtificialInmuneSystem3runEv)

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

%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::allocator" = type { i8 }
%class.ArtificialInmuneSystem = type { %class.Algorithm, ptr, ptr, ptr, ptr, ptr, i32, i32, i64 }
%class.Algorithm = type { ptr }

@.str = external hidden unnamed_addr constant [11 x i8], align 1

; Function Attrs: nobuiltin nounwind
declare void @_ZdlPvm(ptr noundef, i64 noundef) #0

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN22ArtificialInmuneSystem16initializeParamsEv(ptr noundef nonnull align 8 dereferenceable(64)) #1 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #3 align 2

declare noundef ptr @_ZN13PropertiesMap8instanceEv() #4

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN22ArtificialInmuneSystem3runEv(ptr noundef nonnull align 8 dereferenceable(64) %0) unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca ptr, align 8
  %3 = alloca %"class.std::__cxx11::basic_string", align 8
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca double, align 8
  %8 = alloca %"class.std::__cxx11::basic_string", align 8
  %9 = alloca %"class.std::__cxx11::basic_string", align 8
  %10 = alloca %"class.std::allocator", align 1
  %11 = alloca ptr, align 8
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca double, align 8
  %15 = alloca double, align 8
  %16 = alloca i32, align 4
  %17 = alloca ptr, align 8
  %18 = alloca ptr, align 8
  %19 = alloca double, align 8
  %20 = alloca i32, align 4
  %21 = alloca i32, align 4
  store ptr %0, ptr %2, align 8, !tbaa !5
  %22 = load ptr, ptr %2, align 8
  call void @llvm.lifetime.start.p0(i64 32, ptr %3) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %3) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #9
  %23 = invoke noundef ptr @_ZN13PropertiesMap8instanceEv()
          to label %24 unwind label %40

24:                                               ; preds = %1
  store ptr %23, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #9
  %25 = getelementptr inbounds %class.ArtificialInmuneSystem, ptr %22, i32 0, i32 6
  store i32 0, ptr %25, align 8, !tbaa !9
  %26 = getelementptr inbounds %class.ArtificialInmuneSystem, ptr %22, i32 0, i32 7
  store i32 0, ptr %26, align 4, !tbaa !14
  %27 = getelementptr inbounds %class.ArtificialInmuneSystem, ptr %22, i32 0, i32 8
  store i64 0, ptr %27, align 8, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 32, ptr %8) #9
  %28 = load ptr, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %10) #9
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %10) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %9, ptr noundef @.str, ptr noundef nonnull align 1 dereferenceable(1) %10)
          to label %29 unwind label %44

29:                                               ; preds = %24
  invoke void @_ZN13PropertiesMap3getENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %8, ptr noundef nonnull align 8 dereferenceable(56) %28, ptr noundef %9)
          to label %30 unwind label %48

30:                                               ; preds = %29
  %31 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %3, ptr noundef nonnull align 8 dereferenceable(32) %8)
          to label %32 unwind label %52

32:                                               ; preds = %30
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #9
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %10) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %10) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %8) #9
  %33 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6lengthEv(ptr noundef nonnull align 8 dereferenceable(32) %3) #9
  %34 = icmp ugt i64 %33, 0
  br i1 %34, label %35, label %58

35:                                               ; preds = %32
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #9
  store ptr null, ptr %11, align 8, !tbaa !5
  %36 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %3) #9
  %37 = call i64 @strtol(ptr noundef %36, ptr noundef %11, i32 noundef 10) #9
  %38 = trunc i64 %37 to i32
  %39 = getelementptr inbounds %class.ArtificialInmuneSystem, ptr %22, i32 0, i32 6
  store i32 %38, ptr %39, align 8, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #9
  br label %58

40:                                               ; preds = %1
  %41 = landingpad { ptr, i32 }
          cleanup
  %42 = extractvalue { ptr, i32 } %41, 0
  store ptr %42, ptr %5, align 8
  %43 = extractvalue { ptr, i32 } %41, 1
  store i32 %43, ptr %6, align 4
  br label %409

44:                                               ; preds = %24
  %45 = landingpad { ptr, i32 }
          cleanup
  %46 = extractvalue { ptr, i32 } %45, 0
  store ptr %46, ptr %5, align 8
  %47 = extractvalue { ptr, i32 } %45, 1
  store i32 %47, ptr %6, align 4
  br label %57

48:                                               ; preds = %29
  %49 = landingpad { ptr, i32 }
          cleanup
  %50 = extractvalue { ptr, i32 } %49, 0
  store ptr %50, ptr %5, align 8
  %51 = extractvalue { ptr, i32 } %49, 1
  store i32 %51, ptr %6, align 4
  br label %56

52:                                               ; preds = %30
  %53 = landingpad { ptr, i32 }
          cleanup
  %54 = extractvalue { ptr, i32 } %53, 0
  store ptr %54, ptr %5, align 8
  %55 = extractvalue { ptr, i32 } %53, 1
  store i32 %55, ptr %6, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #9
  br label %56

56:                                               ; preds = %52, %48
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #9
  br label %57

57:                                               ; preds = %56, %44
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %10) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %10) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %8) #9
  br label %408

58:                                               ; preds = %35, %32
  %59 = getelementptr inbounds %class.ArtificialInmuneSystem, ptr %22, i32 0, i32 6
  %60 = load i32, ptr %59, align 8, !tbaa !9
  %61 = icmp sgt i32 %60, 0
  br i1 %61, label %62, label %370

62:                                               ; preds = %58
  %63 = getelementptr inbounds %class.ArtificialInmuneSystem, ptr %22, i32 0, i32 6
  %64 = load i32, ptr %63, align 8, !tbaa !9
  %65 = sext i32 %64 to i64
  %66 = call { i64, i1 } @llvm.umul.with.overflow.i64(i64 %65, i64 8)
  %67 = extractvalue { i64, i1 } %66, 1
  %68 = extractvalue { i64, i1 } %66, 0
  %69 = select i1 %67, i64 -1, i64 %68
  %70 = invoke noalias noundef nonnull ptr @_Znam(i64 noundef %69) #10
          to label %71 unwind label %79

71:                                               ; preds = %62
  %72 = getelementptr inbounds %class.ArtificialInmuneSystem, ptr %22, i32 0, i32 5
  store ptr %70, ptr %72, align 8, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #9
  store i32 0, ptr %12, align 4, !tbaa !17
  br label %73

73:                                               ; preds = %94, %71
  %74 = load i32, ptr %12, align 4, !tbaa !17
  %75 = getelementptr inbounds %class.ArtificialInmuneSystem, ptr %22, i32 0, i32 6
  %76 = load i32, ptr %75, align 8, !tbaa !9
  %77 = icmp slt i32 %74, %76
  br i1 %77, label %83, label %78

78:                                               ; preds = %73
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #9
  br label %101

79:                                               ; preds = %370, %106, %105, %101, %62
  %80 = landingpad { ptr, i32 }
          cleanup
  %81 = extractvalue { ptr, i32 } %80, 0
  store ptr %81, ptr %5, align 8
  %82 = extractvalue { ptr, i32 } %80, 1
  store i32 %82, ptr %6, align 4
  br label %408

83:                                               ; preds = %73
  %84 = load ptr, ptr %22, align 8, !tbaa !18
  %85 = getelementptr inbounds ptr, ptr %84, i64 7
  %86 = load ptr, ptr %85, align 8
  %87 = invoke noundef ptr %86(ptr noundef nonnull align 8 dereferenceable(8) %22, i32 noundef 0)
          to label %88 unwind label %97

88:                                               ; preds = %83
  %89 = getelementptr inbounds %class.ArtificialInmuneSystem, ptr %22, i32 0, i32 5
  %90 = load ptr, ptr %89, align 8, !tbaa !16
  %91 = load i32, ptr %12, align 4, !tbaa !17
  %92 = sext i32 %91 to i64
  %93 = getelementptr inbounds ptr, ptr %90, i64 %92
  store ptr %87, ptr %93, align 8, !tbaa !5
  br label %94

94:                                               ; preds = %88
  %95 = load i32, ptr %12, align 4, !tbaa !17
  %96 = add nsw i32 %95, 1
  store i32 %96, ptr %12, align 4, !tbaa !17
  br label %73, !llvm.loop !20

97:                                               ; preds = %83
  %98 = landingpad { ptr, i32 }
          cleanup
  %99 = extractvalue { ptr, i32 } %98, 0
  store ptr %99, ptr %5, align 8
  %100 = extractvalue { ptr, i32 } %98, 1
  store i32 %100, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #9
  br label %408

101:                                              ; preds = %78
  %102 = load ptr, ptr %22, align 8, !tbaa !18
  %103 = getelementptr inbounds ptr, ptr %102, i64 4
  %104 = load ptr, ptr %103, align 8
  invoke void %104(ptr noundef nonnull align 8 dereferenceable(8) %22)
          to label %105 unwind label %79

105:                                              ; preds = %101
  invoke void @_ZN22ArtificialInmuneSystem16initializeParamsEv(ptr noundef nonnull align 8 dereferenceable(64) %22)
          to label %106 unwind label %79

106:                                              ; preds = %105
  %107 = load ptr, ptr %22, align 8, !tbaa !18
  %108 = getelementptr inbounds ptr, ptr %107, i64 3
  %109 = load ptr, ptr %108, align 8
  invoke void %109(ptr noundef nonnull align 8 dereferenceable(8) %22)
          to label %110 unwind label %79

110:                                              ; preds = %106
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #9
  store i32 0, ptr %13, align 4, !tbaa !17
  br label %111

111:                                              ; preds = %156, %110
  %112 = load i32, ptr %13, align 4, !tbaa !17
  %113 = getelementptr inbounds %class.ArtificialInmuneSystem, ptr %22, i32 0, i32 6
  %114 = load i32, ptr %113, align 8, !tbaa !9
  %115 = icmp slt i32 %112, %114
  br i1 %115, label %117, label %116

116:                                              ; preds = %111
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #9
  br label %159

117:                                              ; preds = %111
  %118 = getelementptr inbounds %class.ArtificialInmuneSystem, ptr %22, i32 0, i32 5
  %119 = load ptr, ptr %118, align 8, !tbaa !16
  %120 = load i32, ptr %13, align 4, !tbaa !17
  %121 = sext i32 %120 to i64
  %122 = getelementptr inbounds ptr, ptr %119, i64 %121
  %123 = load ptr, ptr %122, align 8, !tbaa !5
  %124 = invoke noundef zeroext i1 @_ZN10Individual12isSetFitnessEv(ptr noundef nonnull align 8 dereferenceable(52) %123)
          to label %125 unwind label %151

125:                                              ; preds = %117
  br i1 %124, label %155, label %126

126:                                              ; preds = %125
  %127 = getelementptr inbounds %class.ArtificialInmuneSystem, ptr %22, i32 0, i32 1
  %128 = load ptr, ptr %127, align 8, !tbaa !22
  %129 = getelementptr inbounds %class.ArtificialInmuneSystem, ptr %22, i32 0, i32 5
  %130 = load ptr, ptr %129, align 8, !tbaa !16
  %131 = load i32, ptr %13, align 4, !tbaa !17
  %132 = sext i32 %131 to i64
  %133 = getelementptr inbounds ptr, ptr %130, i64 %132
  %134 = load ptr, ptr %133, align 8, !tbaa !5
  %135 = load ptr, ptr %128, align 8, !tbaa !18
  %136 = getelementptr inbounds ptr, ptr %135, i64 2
  %137 = load ptr, ptr %136, align 8
  %138 = invoke noundef double %137(ptr noundef nonnull align 8 dereferenceable(8) %128, ptr noundef %134)
          to label %139 unwind label %151

139:                                              ; preds = %126
  store double %138, ptr %7, align 8, !tbaa !23
  %140 = getelementptr inbounds %class.ArtificialInmuneSystem, ptr %22, i32 0, i32 5
  %141 = load ptr, ptr %140, align 8, !tbaa !16
  %142 = load i32, ptr %13, align 4, !tbaa !17
  %143 = sext i32 %142 to i64
  %144 = getelementptr inbounds ptr, ptr %141, i64 %143
  %145 = load ptr, ptr %144, align 8, !tbaa !5
  %146 = load double, ptr %7, align 8, !tbaa !23
  invoke void @_ZN10Individual10setFitnessEd(ptr noundef nonnull align 8 dereferenceable(52) %145, double noundef %146)
          to label %147 unwind label %151

147:                                              ; preds = %139
  %148 = getelementptr inbounds %class.ArtificialInmuneSystem, ptr %22, i32 0, i32 8
  %149 = load i64, ptr %148, align 8, !tbaa !15
  %150 = add nsw i64 %149, 1
  store i64 %150, ptr %148, align 8, !tbaa !15
  br label %155

151:                                              ; preds = %139, %126, %117
  %152 = landingpad { ptr, i32 }
          cleanup
  %153 = extractvalue { ptr, i32 } %152, 0
  store ptr %153, ptr %5, align 8
  %154 = extractvalue { ptr, i32 } %152, 1
  store i32 %154, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #9
  br label %408

155:                                              ; preds = %147, %125
  br label %156

156:                                              ; preds = %155
  %157 = load i32, ptr %13, align 4, !tbaa !17
  %158 = add nsw i32 %157, 1
  store i32 %158, ptr %13, align 4, !tbaa !17
  br label %111, !llvm.loop !25

159:                                              ; preds = %116
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #9
  %160 = getelementptr inbounds %class.ArtificialInmuneSystem, ptr %22, i32 0, i32 5
  %161 = load ptr, ptr %160, align 8, !tbaa !16
  %162 = getelementptr inbounds ptr, ptr %161, i64 0
  %163 = load ptr, ptr %162, align 8, !tbaa !5
  %164 = invoke noundef double @_ZN10Individual10getFitnessEv(ptr noundef nonnull align 8 dereferenceable(52) %163)
          to label %165 unwind label %178

165:                                              ; preds = %159
  store double %164, ptr %14, align 8, !tbaa !23
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #9
  %166 = getelementptr inbounds %class.ArtificialInmuneSystem, ptr %22, i32 0, i32 5
  %167 = load ptr, ptr %166, align 8, !tbaa !16
  %168 = getelementptr inbounds ptr, ptr %167, i64 0
  %169 = load ptr, ptr %168, align 8, !tbaa !5
  %170 = invoke noundef double @_ZN10Individual10getFitnessEv(ptr noundef nonnull align 8 dereferenceable(52) %169)
          to label %171 unwind label %182

171:                                              ; preds = %165
  store double %170, ptr %15, align 8, !tbaa !23
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #9
  store i32 0, ptr %16, align 4, !tbaa !17
  br label %172

172:                                              ; preds = %212, %171
  %173 = load i32, ptr %16, align 4, !tbaa !17
  %174 = getelementptr inbounds %class.ArtificialInmuneSystem, ptr %22, i32 0, i32 6
  %175 = load i32, ptr %174, align 8, !tbaa !9
  %176 = icmp slt i32 %173, %175
  br i1 %176, label %186, label %177

177:                                              ; preds = %172
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #9
  br label %215

178:                                              ; preds = %159
  %179 = landingpad { ptr, i32 }
          cleanup
  %180 = extractvalue { ptr, i32 } %179, 0
  store ptr %180, ptr %5, align 8
  %181 = extractvalue { ptr, i32 } %179, 1
  store i32 %181, ptr %6, align 4
  br label %369

182:                                              ; preds = %216, %165
  %183 = landingpad { ptr, i32 }
          cleanup
  %184 = extractvalue { ptr, i32 } %183, 0
  store ptr %184, ptr %5, align 8
  %185 = extractvalue { ptr, i32 } %183, 1
  store i32 %185, ptr %6, align 4
  br label %368

186:                                              ; preds = %172
  %187 = getelementptr inbounds %class.ArtificialInmuneSystem, ptr %22, i32 0, i32 5
  %188 = load ptr, ptr %187, align 8, !tbaa !16
  %189 = load i32, ptr %16, align 4, !tbaa !17
  %190 = sext i32 %189 to i64
  %191 = getelementptr inbounds ptr, ptr %188, i64 %190
  %192 = load ptr, ptr %191, align 8, !tbaa !5
  %193 = invoke noundef double @_ZN10Individual10getFitnessEv(ptr noundef nonnull align 8 dereferenceable(52) %192)
          to label %194 unwind label %200

194:                                              ; preds = %186
  store double %193, ptr %7, align 8, !tbaa !23
  %195 = load double, ptr %14, align 8, !tbaa !23
  %196 = load double, ptr %7, align 8, !tbaa !23
  %197 = fcmp olt double %195, %196
  br i1 %197, label %198, label %204

198:                                              ; preds = %194
  %199 = load double, ptr %7, align 8, !tbaa !23
  store double %199, ptr %14, align 8, !tbaa !23
  br label %211

200:                                              ; preds = %186
  %201 = landingpad { ptr, i32 }
          cleanup
  %202 = extractvalue { ptr, i32 } %201, 0
  store ptr %202, ptr %5, align 8
  %203 = extractvalue { ptr, i32 } %201, 1
  store i32 %203, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #9
  br label %368

204:                                              ; preds = %194
  %205 = load double, ptr %15, align 8, !tbaa !23
  %206 = load double, ptr %7, align 8, !tbaa !23
  %207 = fcmp ogt double %205, %206
  br i1 %207, label %208, label %210

208:                                              ; preds = %204
  %209 = load double, ptr %7, align 8, !tbaa !23
  store double %209, ptr %15, align 8, !tbaa !23
  br label %210

210:                                              ; preds = %208, %204
  br label %211

211:                                              ; preds = %210, %198
  br label %212

212:                                              ; preds = %211
  %213 = load i32, ptr %16, align 4, !tbaa !17
  %214 = add nsw i32 %213, 1
  store i32 %214, ptr %16, align 4, !tbaa !17
  br label %172, !llvm.loop !26

215:                                              ; preds = %177
  br label %216

216:                                              ; preds = %364, %215
  %217 = getelementptr inbounds %class.ArtificialInmuneSystem, ptr %22, i32 0, i32 4
  %218 = load ptr, ptr %217, align 8, !tbaa !27
  %219 = getelementptr inbounds %class.ArtificialInmuneSystem, ptr %22, i32 0, i32 7
  %220 = load i32, ptr %219, align 4, !tbaa !14
  %221 = getelementptr inbounds %class.ArtificialInmuneSystem, ptr %22, i32 0, i32 5
  %222 = load ptr, ptr %221, align 8, !tbaa !16
  %223 = getelementptr inbounds %class.ArtificialInmuneSystem, ptr %22, i32 0, i32 6
  %224 = load i32, ptr %223, align 8, !tbaa !9
  %225 = getelementptr inbounds %class.ArtificialInmuneSystem, ptr %22, i32 0, i32 8
  %226 = load i64, ptr %225, align 8, !tbaa !15
  %227 = load ptr, ptr %218, align 8, !tbaa !18
  %228 = getelementptr inbounds ptr, ptr %227, i64 2
  %229 = load ptr, ptr %228, align 8
  %230 = invoke noundef zeroext i1 %229(ptr noundef nonnull align 8 dereferenceable(8) %218, i32 noundef %220, ptr noundef %222, i32 noundef %224, i64 noundef %226)
          to label %231 unwind label %182

231:                                              ; preds = %216
  br i1 %230, label %232, label %367

232:                                              ; preds = %231
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #9
  %233 = getelementptr inbounds %class.ArtificialInmuneSystem, ptr %22, i32 0, i32 3
  %234 = load ptr, ptr %233, align 8, !tbaa !28
  %235 = getelementptr inbounds %class.ArtificialInmuneSystem, ptr %22, i32 0, i32 5
  %236 = load ptr, ptr %235, align 8, !tbaa !16
  %237 = getelementptr inbounds %class.ArtificialInmuneSystem, ptr %22, i32 0, i32 6
  %238 = load i32, ptr %237, align 8, !tbaa !9
  %239 = load ptr, ptr %234, align 8, !tbaa !18
  %240 = getelementptr inbounds ptr, ptr %239, i64 2
  %241 = load ptr, ptr %240, align 8
  %242 = invoke noundef ptr %241(ptr noundef nonnull align 8 dereferenceable(8) %234, ptr noundef %236, i32 noundef %238)
          to label %243 unwind label %265

243:                                              ; preds = %232
  store ptr %242, ptr %17, align 8, !tbaa !5
  %244 = getelementptr inbounds %class.ArtificialInmuneSystem, ptr %22, i32 0, i32 3
  %245 = load ptr, ptr %244, align 8, !tbaa !28
  %246 = getelementptr inbounds %class.ArtificialInmuneSystem, ptr %22, i32 0, i32 5
  %247 = load ptr, ptr %246, align 8, !tbaa !16
  %248 = getelementptr inbounds %class.ArtificialInmuneSystem, ptr %22, i32 0, i32 6
  %249 = load i32, ptr %248, align 8, !tbaa !9
  %250 = load ptr, ptr %245, align 8, !tbaa !18
  %251 = getelementptr inbounds ptr, ptr %250, i64 3
  %252 = load ptr, ptr %251, align 8
  %253 = invoke noundef ptr %252(ptr noundef nonnull align 8 dereferenceable(8) %245, ptr noundef %247, i32 noundef %249)
          to label %254 unwind label %265

254:                                              ; preds = %243
  store ptr %253, ptr %18, align 8, !tbaa !5
  %255 = load ptr, ptr %17, align 8, !tbaa !5
  %256 = load ptr, ptr %18, align 8, !tbaa !5
  %257 = icmp ne ptr %255, %256
  br i1 %257, label %258, label %269

258:                                              ; preds = %254
  %259 = load ptr, ptr %17, align 8, !tbaa !5
  %260 = load ptr, ptr %18, align 8, !tbaa !5
  %261 = load ptr, ptr %259, align 8, !tbaa !18
  %262 = getelementptr inbounds ptr, ptr %261, i64 2
  %263 = load ptr, ptr %262, align 8
  invoke void %263(ptr noundef nonnull align 8 dereferenceable(52) %259, ptr noundef %260)
          to label %264 unwind label %265

264:                                              ; preds = %258
  br label %269

265:                                              ; preds = %269, %258, %243, %232
  %266 = landingpad { ptr, i32 }
          cleanup
  %267 = extractvalue { ptr, i32 } %266, 0
  store ptr %267, ptr %5, align 8
  %268 = extractvalue { ptr, i32 } %266, 1
  store i32 %268, ptr %6, align 4
  br label %366

269:                                              ; preds = %264, %254
  %270 = load ptr, ptr %17, align 8, !tbaa !5
  %271 = invoke noundef double @_ZN10Individual10getFitnessEv(ptr noundef nonnull align 8 dereferenceable(52) %270)
          to label %272 unwind label %265

272:                                              ; preds = %269
  store double %271, ptr %7, align 8, !tbaa !23
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #9
  %273 = load double, ptr %7, align 8, !tbaa !23
  %274 = load double, ptr %15, align 8, !tbaa !23
  %275 = fsub double %273, %274
  %276 = load double, ptr %14, align 8, !tbaa !23
  %277 = load double, ptr %15, align 8, !tbaa !23
  %278 = fsub double %276, %277
  %279 = fdiv double %275, %278
  store double %279, ptr %19, align 8, !tbaa !23
  %280 = getelementptr inbounds %class.ArtificialInmuneSystem, ptr %22, i32 0, i32 2
  %281 = load ptr, ptr %280, align 8, !tbaa !29
  %282 = load ptr, ptr %18, align 8, !tbaa !5
  %283 = load double, ptr %19, align 8, !tbaa !23
  %284 = load ptr, ptr %281, align 8, !tbaa !18
  %285 = getelementptr inbounds ptr, ptr %284, i64 3
  %286 = load ptr, ptr %285, align 8
  invoke void %286(ptr noundef nonnull align 8 dereferenceable(8) %281, ptr noundef %282, double noundef %283)
          to label %287 unwind label %307

287:                                              ; preds = %272
  %288 = getelementptr inbounds %class.ArtificialInmuneSystem, ptr %22, i32 0, i32 1
  %289 = load ptr, ptr %288, align 8, !tbaa !22
  %290 = load ptr, ptr %18, align 8, !tbaa !5
  %291 = load ptr, ptr %289, align 8, !tbaa !18
  %292 = getelementptr inbounds ptr, ptr %291, i64 2
  %293 = load ptr, ptr %292, align 8
  %294 = invoke noundef double %293(ptr noundef nonnull align 8 dereferenceable(8) %289, ptr noundef %290)
          to label %295 unwind label %307

295:                                              ; preds = %287
  store double %294, ptr %7, align 8, !tbaa !23
  %296 = load ptr, ptr %18, align 8, !tbaa !5
  %297 = load double, ptr %7, align 8, !tbaa !23
  invoke void @_ZN10Individual10setFitnessEd(ptr noundef nonnull align 8 dereferenceable(52) %296, double noundef %297)
          to label %298 unwind label %307

298:                                              ; preds = %295
  %299 = getelementptr inbounds %class.ArtificialInmuneSystem, ptr %22, i32 0, i32 8
  %300 = load i64, ptr %299, align 8, !tbaa !15
  %301 = add nsw i64 %300, 1
  store i64 %301, ptr %299, align 8, !tbaa !15
  %302 = load double, ptr %14, align 8, !tbaa !23
  %303 = load double, ptr %7, align 8, !tbaa !23
  %304 = fcmp olt double %302, %303
  br i1 %304, label %305, label %311

305:                                              ; preds = %298
  %306 = load double, ptr %7, align 8, !tbaa !23
  store double %306, ptr %14, align 8, !tbaa !23
  br label %357

307:                                              ; preds = %357, %295, %287, %272
  %308 = landingpad { ptr, i32 }
          cleanup
  %309 = extractvalue { ptr, i32 } %308, 0
  store ptr %309, ptr %5, align 8
  %310 = extractvalue { ptr, i32 } %308, 1
  store i32 %310, ptr %6, align 4
  br label %365

311:                                              ; preds = %298
  %312 = load double, ptr %15, align 8, !tbaa !23
  %313 = load double, ptr %7, align 8, !tbaa !23
  %314 = fcmp ogt double %312, %313
  br i1 %314, label %315, label %317

315:                                              ; preds = %311
  %316 = load double, ptr %7, align 8, !tbaa !23
  store double %316, ptr %15, align 8, !tbaa !23
  br label %356

317:                                              ; preds = %311
  %318 = load double, ptr %7, align 8, !tbaa !23
  store double %318, ptr %14, align 8, !tbaa !23
  %319 = load double, ptr %7, align 8, !tbaa !23
  store double %319, ptr %7, align 8, !tbaa !23
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #9
  store i32 0, ptr %20, align 4, !tbaa !17
  br label %320

320:                                              ; preds = %352, %317
  %321 = load i32, ptr %20, align 4, !tbaa !17
  %322 = getelementptr inbounds %class.ArtificialInmuneSystem, ptr %22, i32 0, i32 6
  %323 = load i32, ptr %322, align 8, !tbaa !9
  %324 = icmp slt i32 %321, %323
  br i1 %324, label %326, label %325

325:                                              ; preds = %320
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #9
  br label %355

326:                                              ; preds = %320
  %327 = getelementptr inbounds %class.ArtificialInmuneSystem, ptr %22, i32 0, i32 5
  %328 = load ptr, ptr %327, align 8, !tbaa !16
  %329 = load i32, ptr %20, align 4, !tbaa !17
  %330 = sext i32 %329 to i64
  %331 = getelementptr inbounds ptr, ptr %328, i64 %330
  %332 = load ptr, ptr %331, align 8, !tbaa !5
  %333 = invoke noundef double @_ZN10Individual10getFitnessEv(ptr noundef nonnull align 8 dereferenceable(52) %332)
          to label %334 unwind label %340

334:                                              ; preds = %326
  store double %333, ptr %7, align 8, !tbaa !23
  %335 = load double, ptr %14, align 8, !tbaa !23
  %336 = load double, ptr %7, align 8, !tbaa !23
  %337 = fcmp olt double %335, %336
  br i1 %337, label %338, label %344

338:                                              ; preds = %334
  %339 = load double, ptr %7, align 8, !tbaa !23
  store double %339, ptr %14, align 8, !tbaa !23
  br label %351

340:                                              ; preds = %326
  %341 = landingpad { ptr, i32 }
          cleanup
  %342 = extractvalue { ptr, i32 } %341, 0
  store ptr %342, ptr %5, align 8
  %343 = extractvalue { ptr, i32 } %341, 1
  store i32 %343, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #9
  br label %365

344:                                              ; preds = %334
  %345 = load double, ptr %15, align 8, !tbaa !23
  %346 = load double, ptr %7, align 8, !tbaa !23
  %347 = fcmp ogt double %345, %346
  br i1 %347, label %348, label %350

348:                                              ; preds = %344
  %349 = load double, ptr %7, align 8, !tbaa !23
  store double %349, ptr %15, align 8, !tbaa !23
  br label %350

350:                                              ; preds = %348, %344
  br label %351

351:                                              ; preds = %350, %338
  br label %352

352:                                              ; preds = %351
  %353 = load i32, ptr %20, align 4, !tbaa !17
  %354 = add nsw i32 %353, 1
  store i32 %354, ptr %20, align 4, !tbaa !17
  br label %320, !llvm.loop !30

355:                                              ; preds = %325
  br label %356

356:                                              ; preds = %355, %315
  br label %357

357:                                              ; preds = %356, %305
  %358 = getelementptr inbounds %class.ArtificialInmuneSystem, ptr %22, i32 0, i32 7
  %359 = load i32, ptr %358, align 4, !tbaa !14
  %360 = add nsw i32 %359, 1
  store i32 %360, ptr %358, align 4, !tbaa !14
  %361 = load ptr, ptr %22, align 8, !tbaa !18
  %362 = getelementptr inbounds ptr, ptr %361, i64 5
  %363 = load ptr, ptr %362, align 8
  invoke void %363(ptr noundef nonnull align 8 dereferenceable(8) %22)
          to label %364 unwind label %307

364:                                              ; preds = %357
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #9
  br label %216, !llvm.loop !31

365:                                              ; preds = %340, %307
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #9
  br label %366

366:                                              ; preds = %365, %265
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #9
  br label %368

367:                                              ; preds = %231
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #9
  br label %370

368:                                              ; preds = %366, %200, %182
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #9
  br label %369

369:                                              ; preds = %368, %178
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #9
  br label %408

370:                                              ; preds = %367, %58
  %371 = load ptr, ptr %22, align 8, !tbaa !18
  %372 = getelementptr inbounds ptr, ptr %371, i64 6
  %373 = load ptr, ptr %372, align 8
  invoke void %373(ptr noundef nonnull align 8 dereferenceable(8) %22)
          to label %374 unwind label %79

374:                                              ; preds = %370
  %375 = getelementptr inbounds %class.ArtificialInmuneSystem, ptr %22, i32 0, i32 6
  %376 = load i32, ptr %375, align 8, !tbaa !9
  %377 = icmp sgt i32 %376, 0
  br i1 %377, label %378, label %407

378:                                              ; preds = %374
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #9
  store i32 0, ptr %21, align 4, !tbaa !17
  br label %379

379:                                              ; preds = %398, %378
  %380 = load i32, ptr %21, align 4, !tbaa !17
  %381 = getelementptr inbounds %class.ArtificialInmuneSystem, ptr %22, i32 0, i32 6
  %382 = load i32, ptr %381, align 8, !tbaa !9
  %383 = icmp slt i32 %380, %382
  br i1 %383, label %385, label %384

384:                                              ; preds = %379
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #9
  br label %401

385:                                              ; preds = %379
  %386 = getelementptr inbounds %class.ArtificialInmuneSystem, ptr %22, i32 0, i32 5
  %387 = load ptr, ptr %386, align 8, !tbaa !16
  %388 = load i32, ptr %21, align 4, !tbaa !17
  %389 = sext i32 %388 to i64
  %390 = getelementptr inbounds ptr, ptr %387, i64 %389
  %391 = load ptr, ptr %390, align 8, !tbaa !5
  %392 = icmp eq ptr %391, null
  br i1 %392, label %397, label %393

393:                                              ; preds = %385
  %394 = load ptr, ptr %391, align 8, !tbaa !18
  %395 = getelementptr inbounds ptr, ptr %394, i64 1
  %396 = load ptr, ptr %395, align 8
  call void %396(ptr noundef nonnull align 8 dereferenceable(52) %391) #9
  br label %397

397:                                              ; preds = %393, %385
  br label %398

398:                                              ; preds = %397
  %399 = load i32, ptr %21, align 4, !tbaa !17
  %400 = add nsw i32 %399, 1
  store i32 %400, ptr %21, align 4, !tbaa !17
  br label %379, !llvm.loop !32

401:                                              ; preds = %384
  %402 = getelementptr inbounds %class.ArtificialInmuneSystem, ptr %22, i32 0, i32 5
  %403 = load ptr, ptr %402, align 8, !tbaa !16
  %404 = icmp eq ptr %403, null
  br i1 %404, label %406, label %405

405:                                              ; preds = %401
  call void @_ZdlPvm(ptr noundef %403, i64 noundef 8) #11
  br label %406

406:                                              ; preds = %405, %401
  br label %407

407:                                              ; preds = %406, %374
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %3) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %3) #9
  ret void

408:                                              ; preds = %369, %151, %97, %79, %57
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #9
  br label %409

409:                                              ; preds = %408, %40
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %3) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %3) #9
  br label %410

410:                                              ; preds = %409
  %411 = load ptr, ptr %5, align 8
  %412 = load i32, ptr %6, align 4
  %413 = insertvalue { ptr, i32 } poison, ptr %411, 0
  %414 = insertvalue { ptr, i32 } %413, i32 %412, 1
  resume { ptr, i32 } %414
}

declare void @_ZN13PropertiesMap3getENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 8 dereferenceable(56), ptr noundef) #4

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef, ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSERKS4_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32)) #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6lengthEv(ptr noundef nonnull align 8 dereferenceable(32)) #3 align 2

; Function Attrs: nounwind
declare i64 @strtol(ptr noundef, ptr noundef, i32 noundef) #5

; Function Attrs: mustprogress nounwind uwtable
declare noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32)) #3 align 2

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare { i64, i1 } @llvm.umul.with.overflow.i64(i64, i64) #6

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znam(i64 noundef) #7

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN10Individual12isSetFitnessEv(ptr noundef nonnull align 8 dereferenceable(52)) #8 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN10Individual10setFitnessEd(ptr noundef nonnull align 8 dereferenceable(52), double noundef) #8 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef double @_ZN10Individual10getFitnessEv(ptr noundef nonnull align 8 dereferenceable(52)) #8 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #3 align 2

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !12, i64 48}
!10 = !{!"_ZTS22ArtificialInmuneSystem", !11, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !12, i64 48, !12, i64 52, !13, i64 56}
!11 = !{!"_ZTS9Algorithm"}
!12 = !{!"int", !7, i64 0}
!13 = !{!"long", !7, i64 0}
!14 = !{!10, !12, i64 52}
!15 = !{!10, !13, i64 56}
!16 = !{!10, !6, i64 40}
!17 = !{!12, !12, i64 0}
!18 = !{!19, !19, i64 0}
!19 = !{!"vtable pointer", !8, i64 0}
!20 = distinct !{!20, !21}
!21 = !{!"llvm.loop.mustprogress"}
!22 = !{!10, !6, i64 8}
!23 = !{!24, !24, i64 0}
!24 = !{!"double", !7, i64 0}
!25 = distinct !{!25, !21}
!26 = distinct !{!26, !21}
!27 = !{!10, !6, i64 32}
!28 = !{!10, !6, i64 24}
!29 = !{!10, !6, i64 16}
!30 = distinct !{!30, !21}
!31 = distinct !{!31, !21}
!32 = distinct !{!32, !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"

%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::allocator" = type { i8 }

@.str = external hidden unnamed_addr constant [11 x i8], align 1

; Function Attrs: nobuiltin nounwind
declare void @_ZdlPvm(ptr noundef, i64 noundef) local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN22ArtificialInmuneSystem16initializeParamsEv(ptr noundef nonnull align 8 dereferenceable(64)) local_unnamed_addr #1 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #3 align 2

declare noundef ptr @_ZN13PropertiesMap8instanceEv() local_unnamed_addr #4

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN22ArtificialInmuneSystem3runEv(ptr noundef nonnull align 8 dereferenceable(64) %0) unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca %"class.std::__cxx11::basic_string", align 8
  %3 = alloca %"class.std::__cxx11::basic_string", align 8
  %4 = alloca %"class.std::__cxx11::basic_string", align 8
  %5 = alloca %"class.std::allocator", align 1
  %6 = alloca ptr, align 8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %2) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %2) #9
  %7 = invoke noundef ptr @_ZN13PropertiesMap8instanceEv()
          to label %8 unwind label %21

8:                                                ; preds = %1
  %9 = getelementptr inbounds i8, ptr %0, i64 48
  %10 = getelementptr inbounds i8, ptr %0, i64 52
  %11 = getelementptr inbounds i8, ptr %0, i64 56
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %9, i8 0, i64 16, i1 false)
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %3) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %5) #9
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %5) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %4, ptr noundef nonnull @.str, ptr noundef nonnull align 1 dereferenceable(1) %5)
          to label %12 unwind label %23

12:                                               ; preds = %8
  invoke void @_ZN13PropertiesMap3getENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %3, ptr noundef nonnull align 8 dereferenceable(56) %7, ptr noundef nonnull %4)
          to label %13 unwind label %25

13:                                               ; preds = %12
  %14 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %2, ptr noundef nonnull align 8 dereferenceable(32) %3)
          to label %15 unwind label %27

15:                                               ; preds = %13
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %3) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %4) #9
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %5) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %5) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %3) #9
  %16 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6lengthEv(ptr noundef nonnull align 8 dereferenceable(32) %2) #9
  %.not = icmp eq i64 %16, 0
  br i1 %.not, label %thread-pre-split, label %17

17:                                               ; preds = %15
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #9
  store ptr null, ptr %6, align 8, !tbaa !5
  %18 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %2) #9
  %19 = call i64 @strtol(ptr noundef %18, ptr noundef nonnull %6, i32 noundef 10) #9
  %20 = trunc i64 %19 to i32
  store i32 %20, ptr %9, align 8, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #9
  br label %31

21:                                               ; preds = %1
  %22 = landingpad { ptr, i32 }
          cleanup
  br label %218

23:                                               ; preds = %8
  %24 = landingpad { ptr, i32 }
          cleanup
  br label %30

25:                                               ; preds = %12
  %26 = landingpad { ptr, i32 }
          cleanup
  br label %29

27:                                               ; preds = %13
  %28 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %3) #9
  br label %29

29:                                               ; preds = %27, %25
  %.pn = phi { ptr, i32 } [ %28, %27 ], [ %26, %25 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %4) #9
  br label %30

30:                                               ; preds = %29, %23
  %.pn.pn = phi { ptr, i32 } [ %.pn, %29 ], [ %24, %23 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %5) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %5) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %3) #9
  br label %218

thread-pre-split:                                 ; preds = %15
  %.pr = load i32, ptr %9, align 8, !tbaa !9
  br label %31

31:                                               ; preds = %thread-pre-split, %17
  %32 = phi i32 [ %.pr, %thread-pre-split ], [ %20, %17 ]
  %33 = icmp sgt i32 %32, 0
  br i1 %33, label %34, label %.loopexit100

34:                                               ; preds = %31
  %35 = zext nneg i32 %32 to i64
  %36 = shl nuw nsw i64 %35, 3
  %37 = invoke noalias noundef nonnull ptr @_Znam(i64 noundef %36) #10
          to label %.lr.ph.preheader unwind label %42

.lr.ph.preheader:                                 ; preds = %34
  %38 = getelementptr inbounds i8, ptr %0, i64 40
  store ptr %37, ptr %38, align 8, !tbaa !14
  br label %.lr.ph

._crit_edge:                                      ; preds = %48
  %39 = load ptr, ptr %0, align 8, !tbaa !15
  %40 = getelementptr inbounds i8, ptr %39, i64 32
  %41 = load ptr, ptr %40, align 8
  invoke void %41(ptr noundef nonnull align 8 dereferenceable(8) %0)
          to label %56 unwind label %42

42:                                               ; preds = %.loopexit100, %57, %56, %._crit_edge, %34
  %43 = landingpad { ptr, i32 }
          cleanup
  br label %218

.lr.ph:                                           ; preds = %.lr.ph.preheader, %48
  %indvars.iv = phi i64 [ 0, %.lr.ph.preheader ], [ %indvars.iv.next, %48 ]
  %44 = load ptr, ptr %0, align 8, !tbaa !15
  %45 = getelementptr inbounds i8, ptr %44, i64 56
  %46 = load ptr, ptr %45, align 8
  %47 = invoke noundef ptr %46(ptr noundef nonnull align 8 dereferenceable(8) %0, i32 noundef 0)
          to label %48 unwind label %54

48:                                               ; preds = %.lr.ph
  %49 = load ptr, ptr %38, align 8, !tbaa !14
  %50 = getelementptr inbounds ptr, ptr %49, i64 %indvars.iv
  store ptr %47, ptr %50, align 8, !tbaa !5
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %51 = load i32, ptr %9, align 8, !tbaa !9
  %52 = sext i32 %51 to i64
  %53 = icmp slt i64 %indvars.iv.next, %52
  br i1 %53, label %.lr.ph, label %._crit_edge, !llvm.loop !17

54:                                               ; preds = %.lr.ph
  %55 = landingpad { ptr, i32 }
          cleanup
  br label %218

56:                                               ; preds = %._crit_edge
  invoke void @_ZN22ArtificialInmuneSystem16initializeParamsEv(ptr noundef nonnull align 8 dereferenceable(64) %0)
          to label %57 unwind label %42

57:                                               ; preds = %56
  %58 = load ptr, ptr %0, align 8, !tbaa !15
  %59 = getelementptr inbounds i8, ptr %58, i64 24
  %60 = load ptr, ptr %59, align 8
  invoke void %60(ptr noundef nonnull align 8 dereferenceable(8) %0)
          to label %.preheader101 unwind label %42

.preheader101:                                    ; preds = %57
  %61 = load i32, ptr %9, align 8, !tbaa !9
  %62 = icmp sgt i32 %61, 0
  br i1 %62, label %.lr.ph104, label %._crit_edge105

.lr.ph104:                                        ; preds = %.preheader101
  %63 = getelementptr inbounds i8, ptr %0, i64 8
  br label %72

._crit_edge105:                                   ; preds = %94, %.preheader101
  %64 = load ptr, ptr %38, align 8, !tbaa !14
  %65 = load ptr, ptr %64, align 8, !tbaa !5
  %66 = call noundef double @_ZN10Individual10getFitnessEv(ptr noundef nonnull align 8 dereferenceable(52) %65)
  %67 = load ptr, ptr %38, align 8, !tbaa !14
  %68 = load ptr, ptr %67, align 8, !tbaa !5
  %69 = call noundef double @_ZN10Individual10getFitnessEv(ptr noundef nonnull align 8 dereferenceable(52) %68)
  %70 = load i32, ptr %9, align 8, !tbaa !9
  %71 = icmp sgt i32 %70, 0
  br i1 %71, label %.lr.ph110, label %.preheader99

72:                                               ; preds = %.lr.ph104, %94
  %indvars.iv122 = phi i64 [ 0, %.lr.ph104 ], [ %indvars.iv.next123, %94 ]
  %73 = load ptr, ptr %38, align 8, !tbaa !14
  %74 = getelementptr inbounds ptr, ptr %73, i64 %indvars.iv122
  %75 = load ptr, ptr %74, align 8, !tbaa !5
  %76 = call noundef zeroext i1 @_ZN10Individual12isSetFitnessEv(ptr noundef nonnull align 8 dereferenceable(52) %75)
  br i1 %76, label %94, label %77

77:                                               ; preds = %72
  %78 = load ptr, ptr %63, align 8, !tbaa !19
  %79 = load ptr, ptr %38, align 8, !tbaa !14
  %80 = getelementptr inbounds ptr, ptr %79, i64 %indvars.iv122
  %81 = load ptr, ptr %80, align 8, !tbaa !5
  %82 = load ptr, ptr %78, align 8, !tbaa !15
  %83 = getelementptr inbounds i8, ptr %82, i64 16
  %84 = load ptr, ptr %83, align 8
  %85 = invoke noundef double %84(ptr noundef nonnull align 8 dereferenceable(8) %78, ptr noundef %81)
          to label %86 unwind label %92

86:                                               ; preds = %77
  %87 = load ptr, ptr %38, align 8, !tbaa !14
  %88 = getelementptr inbounds ptr, ptr %87, i64 %indvars.iv122
  %89 = load ptr, ptr %88, align 8, !tbaa !5
  call void @_ZN10Individual10setFitnessEd(ptr noundef nonnull align 8 dereferenceable(52) %89, double noundef %85)
  %90 = load i64, ptr %11, align 8, !tbaa !20
  %91 = add nsw i64 %90, 1
  store i64 %91, ptr %11, align 8, !tbaa !20
  br label %94

92:                                               ; preds = %77
  %93 = landingpad { ptr, i32 }
          cleanup
  br label %218

94:                                               ; preds = %72, %86
  %indvars.iv.next123 = add nuw nsw i64 %indvars.iv122, 1
  %95 = load i32, ptr %9, align 8, !tbaa !9
  %96 = sext i32 %95 to i64
  %97 = icmp slt i64 %indvars.iv.next123, %96
  br i1 %97, label %72, label %._crit_edge105, !llvm.loop !21

.preheader99:                                     ; preds = %112, %._crit_edge105
  %.070.lcssa = phi double [ %66, %._crit_edge105 ], [ %.171, %112 ]
  %.064.lcssa = phi double [ %69, %._crit_edge105 ], [ %.165, %112 ]
  %98 = getelementptr inbounds i8, ptr %0, i64 32
  %99 = getelementptr inbounds i8, ptr %0, i64 24
  %100 = getelementptr inbounds i8, ptr %0, i64 16
  %101 = getelementptr inbounds i8, ptr %0, i64 8
  br label %116

102:                                              ; preds = %116
  %103 = landingpad { ptr, i32 }
          cleanup
  br label %218

.lr.ph110:                                        ; preds = %._crit_edge105, %112
  %indvars.iv125 = phi i64 [ %indvars.iv.next126, %112 ], [ 0, %._crit_edge105 ]
  %.064107 = phi double [ %.165, %112 ], [ %69, %._crit_edge105 ]
  %.070106 = phi double [ %.171, %112 ], [ %66, %._crit_edge105 ]
  %104 = load ptr, ptr %38, align 8, !tbaa !14
  %105 = getelementptr inbounds ptr, ptr %104, i64 %indvars.iv125
  %106 = load ptr, ptr %105, align 8, !tbaa !5
  %107 = call noundef double @_ZN10Individual10getFitnessEv(ptr noundef nonnull align 8 dereferenceable(52) %106)
  %108 = fcmp olt double %.070106, %107
  br i1 %108, label %112, label %109

109:                                              ; preds = %.lr.ph110
  %110 = fcmp ogt double %.064107, %107
  br i1 %110, label %111, label %112

111:                                              ; preds = %109
  br label %112

112:                                              ; preds = %.lr.ph110, %111, %109
  %.171 = phi double [ %.070106, %111 ], [ %.070106, %109 ], [ %107, %.lr.ph110 ]
  %.165 = phi double [ %107, %111 ], [ %.064107, %109 ], [ %.064107, %.lr.ph110 ]
  %indvars.iv.next126 = add nuw nsw i64 %indvars.iv125, 1
  %113 = load i32, ptr %9, align 8, !tbaa !9
  %114 = sext i32 %113 to i64
  %115 = icmp slt i64 %indvars.iv.next126, %114
  br i1 %115, label %.lr.ph110, label %.preheader99, !llvm.loop !22

116:                                              ; preds = %.preheader99, %.loopexit
  %.272 = phi double [ %.575, %.loopexit ], [ %.070.lcssa, %.preheader99 ]
  %.266 = phi double [ %.569, %.loopexit ], [ %.064.lcssa, %.preheader99 ]
  %117 = load ptr, ptr %98, align 8, !tbaa !23
  %118 = load i32, ptr %10, align 4, !tbaa !24
  %119 = load ptr, ptr %38, align 8, !tbaa !14
  %120 = load i32, ptr %9, align 8, !tbaa !9
  %121 = load i64, ptr %11, align 8, !tbaa !20
  %122 = load ptr, ptr %117, align 8, !tbaa !15
  %123 = getelementptr inbounds i8, ptr %122, i64 16
  %124 = load ptr, ptr %123, align 8
  %125 = invoke noundef zeroext i1 %124(ptr noundef nonnull align 8 dereferenceable(8) %117, i32 noundef %118, ptr noundef %119, i32 noundef %120, i64 noundef %121)
          to label %126 unwind label %102

126:                                              ; preds = %116
  br i1 %125, label %127, label %.loopexit100

127:                                              ; preds = %126
  %128 = load ptr, ptr %99, align 8, !tbaa !25
  %129 = load ptr, ptr %38, align 8, !tbaa !14
  %130 = load i32, ptr %9, align 8, !tbaa !9
  %131 = load ptr, ptr %128, align 8, !tbaa !15
  %132 = getelementptr inbounds i8, ptr %131, i64 16
  %133 = load ptr, ptr %132, align 8
  %134 = invoke noundef ptr %133(ptr noundef nonnull align 8 dereferenceable(8) %128, ptr noundef %129, i32 noundef %130)
          to label %135 unwind label %148

135:                                              ; preds = %127
  %136 = load ptr, ptr %99, align 8, !tbaa !25
  %137 = load ptr, ptr %38, align 8, !tbaa !14
  %138 = load i32, ptr %9, align 8, !tbaa !9
  %139 = load ptr, ptr %136, align 8, !tbaa !15
  %140 = getelementptr inbounds i8, ptr %139, i64 24
  %141 = load ptr, ptr %140, align 8
  %142 = invoke noundef ptr %141(ptr noundef nonnull align 8 dereferenceable(8) %136, ptr noundef %137, i32 noundef %138)
          to label %143 unwind label %148

143:                                              ; preds = %135
  %.not91 = icmp eq ptr %134, %142
  br i1 %.not91, label %150, label %144

144:                                              ; preds = %143
  %145 = load ptr, ptr %134, align 8, !tbaa !15
  %146 = getelementptr inbounds i8, ptr %145, i64 16
  %147 = load ptr, ptr %146, align 8
  invoke void %147(ptr noundef nonnull align 8 dereferenceable(52) %134, ptr noundef %142)
          to label %150 unwind label %148

148:                                              ; preds = %144, %135, %127
  %149 = landingpad { ptr, i32 }
          cleanup
  br label %218

150:                                              ; preds = %144, %143
  %151 = call noundef double @_ZN10Individual10getFitnessEv(ptr noundef nonnull align 8 dereferenceable(52) %134)
  %152 = fsub double %151, %.266
  %153 = fsub double %.272, %.266
  %154 = fdiv double %152, %153
  %155 = load ptr, ptr %100, align 8, !tbaa !26
  %156 = load ptr, ptr %155, align 8, !tbaa !15
  %157 = getelementptr inbounds i8, ptr %156, i64 24
  %158 = load ptr, ptr %157, align 8
  invoke void %158(ptr noundef nonnull align 8 dereferenceable(8) %155, ptr noundef %142, double noundef %154)
          to label %159 unwind label %169

159:                                              ; preds = %150
  %160 = load ptr, ptr %101, align 8, !tbaa !19
  %161 = load ptr, ptr %160, align 8, !tbaa !15
  %162 = getelementptr inbounds i8, ptr %161, i64 16
  %163 = load ptr, ptr %162, align 8
  %164 = invoke noundef double %163(ptr noundef nonnull align 8 dereferenceable(8) %160, ptr noundef %142)
          to label %165 unwind label %169

165:                                              ; preds = %159
  call void @_ZN10Individual10setFitnessEd(ptr noundef nonnull align 8 dereferenceable(52) %142, double noundef %164)
  %166 = load i64, ptr %11, align 8, !tbaa !20
  %167 = add nsw i64 %166, 1
  store i64 %167, ptr %11, align 8, !tbaa !20
  %168 = fcmp olt double %.272, %164
  br i1 %168, label %.loopexit, label %171

169:                                              ; preds = %.loopexit, %159, %150
  %170 = landingpad { ptr, i32 }
          cleanup
  br label %218

171:                                              ; preds = %165
  %172 = fcmp ogt double %.266, %164
  br i1 %172, label %.loopexit, label %.preheader98

.preheader98:                                     ; preds = %171
  %173 = load i32, ptr %9, align 8, !tbaa !9
  %174 = icmp sgt i32 %173, 0
  br i1 %174, label %.lr.ph115, label %.loopexit

.lr.ph115:                                        ; preds = %.preheader98, %183
  %indvars.iv128 = phi i64 [ %indvars.iv.next129, %183 ], [ 0, %.preheader98 ]
  %.367113 = phi double [ %.468, %183 ], [ %.266, %.preheader98 ]
  %.373112 = phi double [ %.474, %183 ], [ %164, %.preheader98 ]
  %175 = load ptr, ptr %38, align 8, !tbaa !14
  %176 = getelementptr inbounds ptr, ptr %175, i64 %indvars.iv128
  %177 = load ptr, ptr %176, align 8, !tbaa !5
  %178 = call noundef double @_ZN10Individual10getFitnessEv(ptr noundef nonnull align 8 dereferenceable(52) %177)
  %179 = fcmp olt double %.373112, %178
  br i1 %179, label %183, label %180

180:                                              ; preds = %.lr.ph115
  %181 = fcmp ogt double %.367113, %178
  br i1 %181, label %182, label %183

182:                                              ; preds = %180
  br label %183

183:                                              ; preds = %.lr.ph115, %182, %180
  %.474 = phi double [ %.373112, %182 ], [ %.373112, %180 ], [ %178, %.lr.ph115 ]
  %.468 = phi double [ %178, %182 ], [ %.367113, %180 ], [ %.367113, %.lr.ph115 ]
  %indvars.iv.next129 = add nuw nsw i64 %indvars.iv128, 1
  %184 = load i32, ptr %9, align 8, !tbaa !9
  %185 = sext i32 %184 to i64
  %186 = icmp slt i64 %indvars.iv.next129, %185
  br i1 %186, label %.lr.ph115, label %.loopexit, !llvm.loop !27

.loopexit:                                        ; preds = %183, %.preheader98, %171, %165
  %.575 = phi double [ %164, %165 ], [ %.272, %171 ], [ %164, %.preheader98 ], [ %.474, %183 ]
  %.569 = phi double [ %.266, %165 ], [ %164, %171 ], [ %.266, %.preheader98 ], [ %.468, %183 ]
  %187 = load i32, ptr %10, align 4, !tbaa !24
  %188 = add nsw i32 %187, 1
  store i32 %188, ptr %10, align 4, !tbaa !24
  %189 = load ptr, ptr %0, align 8, !tbaa !15
  %190 = getelementptr inbounds i8, ptr %189, i64 40
  %191 = load ptr, ptr %190, align 8
  invoke void %191(ptr noundef nonnull align 8 dereferenceable(8) %0)
          to label %116 unwind label %169, !llvm.loop !28

.loopexit100:                                     ; preds = %126, %31
  %192 = load ptr, ptr %0, align 8, !tbaa !15
  %193 = getelementptr inbounds i8, ptr %192, i64 48
  %194 = load ptr, ptr %193, align 8
  invoke void %194(ptr noundef nonnull align 8 dereferenceable(8) %0)
          to label %195 unwind label %42

195:                                              ; preds = %.loopexit100
  %196 = load i32, ptr %9, align 8, !tbaa !9
  %197 = icmp sgt i32 %196, 0
  br i1 %197, label %.lr.ph119, label %217

.lr.ph119:                                        ; preds = %195
  %198 = getelementptr inbounds i8, ptr %0, i64 40
  br label %202

._crit_edge120:                                   ; preds = %212
  %199 = getelementptr inbounds i8, ptr %0, i64 40
  %200 = load ptr, ptr %199, align 8, !tbaa !14
  %201 = icmp eq ptr %200, null
  br i1 %201, label %217, label %216

202:                                              ; preds = %.lr.ph119, %212
  %203 = phi i32 [ %196, %.lr.ph119 ], [ %213, %212 ]
  %indvars.iv131 = phi i64 [ 0, %.lr.ph119 ], [ %indvars.iv.next132, %212 ]
  %204 = load ptr, ptr %198, align 8, !tbaa !14
  %205 = getelementptr inbounds ptr, ptr %204, i64 %indvars.iv131
  %206 = load ptr, ptr %205, align 8, !tbaa !5
  %207 = icmp eq ptr %206, null
  br i1 %207, label %212, label %208

208:                                              ; preds = %202
  %209 = load ptr, ptr %206, align 8, !tbaa !15
  %210 = getelementptr inbounds i8, ptr %209, i64 8
  %211 = load ptr, ptr %210, align 8
  call void %211(ptr noundef nonnull align 8 dereferenceable(52) %206) #9
  %.pre = load i32, ptr %9, align 8, !tbaa !9
  br label %212

212:                                              ; preds = %202, %208
  %213 = phi i32 [ %203, %202 ], [ %.pre, %208 ]
  %indvars.iv.next132 = add nuw nsw i64 %indvars.iv131, 1
  %214 = sext i32 %213 to i64
  %215 = icmp slt i64 %indvars.iv.next132, %214
  br i1 %215, label %202, label %._crit_edge120, !llvm.loop !29

216:                                              ; preds = %._crit_edge120
  call void @_ZdlPvm(ptr noundef nonnull %200, i64 noundef 8) #11
  br label %217

217:                                              ; preds = %._crit_edge120, %216, %195
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %2) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %2) #9
  ret void

218:                                              ; preds = %30, %42, %54, %92, %148, %169, %102, %21
  %.pn95.pn = phi { ptr, i32 } [ %22, %21 ], [ %55, %54 ], [ %93, %92 ], [ %43, %42 ], [ %.pn.pn, %30 ], [ %103, %102 ], [ %170, %169 ], [ %149, %148 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %2) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %2) #9
  resume { ptr, i32 } %.pn95.pn
}

declare void @_ZN13PropertiesMap3getENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 8 dereferenceable(56), ptr noundef) local_unnamed_addr #4

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef, ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSERKS4_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6lengthEv(ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress nofree nounwind willreturn
declare i64 @strtol(ptr noundef readonly, ptr nocapture noundef, i32 noundef) local_unnamed_addr #5

; Function Attrs: mustprogress nounwind uwtable
declare noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #3 align 2

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znam(i64 noundef) local_unnamed_addr #6

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN10Individual12isSetFitnessEv(ptr noundef nonnull align 8 dereferenceable(52)) local_unnamed_addr #7 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN10Individual10setFitnessEd(ptr noundef nonnull align 8 dereferenceable(52), double noundef) local_unnamed_addr #7 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef double @_ZN10Individual10getFitnessEv(ptr noundef nonnull align 8 dereferenceable(52)) local_unnamed_addr #7 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #3 align 2

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

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

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

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


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