; LLVM IR from AlgoGenesis/C :: Optimization Algorithms/Bee Algorithm (beeAlgorithm)

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

@.str = external hidden unnamed_addr constant [33 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [19 x i8], align 1

; Function Attrs: nounwind uwtable
declare dso_local double @objective_function(ptr noundef) #0

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

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

; Function Attrs: nounwind uwtable
declare dso_local void @initialize_solution(ptr noundef) #0

; Function Attrs: nounwind uwtable
declare dso_local void @generate_neighbor(ptr noundef, ptr noundef) #0

; Function Attrs: nounwind uwtable
define dso_local void @bee_algorithm() #0 {
  %1 = alloca [50 x [2 x double]], align 16
  %2 = alloca [2 x double], align 16
  %3 = alloca double, align 8
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca double, align 8
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca [2 x double], align 16
  %13 = alloca double, align 8
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca [2 x double], align 16
  %18 = alloca double, align 8
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  %21 = alloca i32, align 4
  call void @llvm.lifetime.start.p0(i64 800, ptr %1) #3
  call void @llvm.lifetime.start.p0(i64 16, ptr %2) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #3
  store double 0x7FF0000000000000, ptr %3, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #3
  store i32 0, ptr %4, align 4, !tbaa !9
  br label %22

22:                                               ; preds = %31, %0
  %23 = load i32, ptr %4, align 4, !tbaa !9
  %24 = icmp slt i32 %23, 50
  br i1 %24, label %26, label %25

25:                                               ; preds = %22
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #3
  br label %34

26:                                               ; preds = %22
  %27 = load i32, ptr %4, align 4, !tbaa !9
  %28 = sext i32 %27 to i64
  %29 = getelementptr inbounds [50 x [2 x double]], ptr %1, i64 0, i64 %28
  %30 = getelementptr inbounds [2 x double], ptr %29, i64 0, i64 0
  call void @initialize_solution(ptr noundef %30)
  br label %31

31:                                               ; preds = %26
  %32 = load i32, ptr %4, align 4, !tbaa !9
  %33 = add nsw i32 %32, 1
  store i32 %33, ptr %4, align 4, !tbaa !9
  br label %22, !llvm.loop !11

34:                                               ; preds = %25
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #3
  store i32 0, ptr %5, align 4, !tbaa !9
  br label %35

35:                                               ; preds = %202, %34
  %36 = load i32, ptr %5, align 4, !tbaa !9
  %37 = icmp slt i32 %36, 1000
  br i1 %37, label %39, label %38

38:                                               ; preds = %35
  store i32 5, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #3
  br label %205

39:                                               ; preds = %35
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #3
  store i32 0, ptr %7, align 4, !tbaa !9
  br label %40

40:                                               ; preds = %75, %39
  %41 = load i32, ptr %7, align 4, !tbaa !9
  %42 = icmp slt i32 %41, 50
  br i1 %42, label %44, label %43

43:                                               ; preds = %40
  store i32 8, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #3
  br label %78

44:                                               ; preds = %40
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #3
  %45 = load i32, ptr %7, align 4, !tbaa !9
  %46 = sext i32 %45 to i64
  %47 = getelementptr inbounds [50 x [2 x double]], ptr %1, i64 0, i64 %46
  %48 = getelementptr inbounds [2 x double], ptr %47, i64 0, i64 0
  %49 = call double @objective_function(ptr noundef %48)
  store double %49, ptr %8, align 8, !tbaa !5
  %50 = load double, ptr %8, align 8, !tbaa !5
  %51 = load double, ptr %3, align 8, !tbaa !5
  %52 = fcmp olt double %50, %51
  br i1 %52, label %53, label %74

53:                                               ; preds = %44
  %54 = load double, ptr %8, align 8, !tbaa !5
  store double %54, ptr %3, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #3
  store i32 0, ptr %9, align 4, !tbaa !9
  br label %55

55:                                               ; preds = %70, %53
  %56 = load i32, ptr %9, align 4, !tbaa !9
  %57 = icmp slt i32 %56, 2
  br i1 %57, label %59, label %58

58:                                               ; preds = %55
  store i32 11, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #3
  br label %73

59:                                               ; preds = %55
  %60 = load i32, ptr %7, align 4, !tbaa !9
  %61 = sext i32 %60 to i64
  %62 = getelementptr inbounds [50 x [2 x double]], ptr %1, i64 0, i64 %61
  %63 = load i32, ptr %9, align 4, !tbaa !9
  %64 = sext i32 %63 to i64
  %65 = getelementptr inbounds [2 x double], ptr %62, i64 0, i64 %64
  %66 = load double, ptr %65, align 8, !tbaa !5
  %67 = load i32, ptr %9, align 4, !tbaa !9
  %68 = sext i32 %67 to i64
  %69 = getelementptr inbounds [2 x double], ptr %2, i64 0, i64 %68
  store double %66, ptr %69, align 8, !tbaa !5
  br label %70

70:                                               ; preds = %59
  %71 = load i32, ptr %9, align 4, !tbaa !9
  %72 = add nsw i32 %71, 1
  store i32 %72, ptr %9, align 4, !tbaa !9
  br label %55, !llvm.loop !13

73:                                               ; preds = %58
  br label %74

74:                                               ; preds = %73, %44
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #3
  br label %75

75:                                               ; preds = %74
  %76 = load i32, ptr %7, align 4, !tbaa !9
  %77 = add nsw i32 %76, 1
  store i32 %77, ptr %7, align 4, !tbaa !9
  br label %40, !llvm.loop !14

78:                                               ; preds = %43
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #3
  store i32 0, ptr %10, align 4, !tbaa !9
  br label %79

79:                                               ; preds = %128, %78
  %80 = load i32, ptr %10, align 4, !tbaa !9
  %81 = icmp slt i32 %80, 2
  br i1 %81, label %83, label %82

82:                                               ; preds = %79
  store i32 14, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #3
  br label %131

83:                                               ; preds = %79
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #3
  store i32 0, ptr %11, align 4, !tbaa !9
  br label %84

84:                                               ; preds = %124, %83
  %85 = load i32, ptr %11, align 4, !tbaa !9
  %86 = icmp slt i32 %85, 5
  br i1 %86, label %88, label %87

87:                                               ; preds = %84
  store i32 17, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #3
  br label %127

88:                                               ; preds = %84
  call void @llvm.lifetime.start.p0(i64 16, ptr %12) #3
  %89 = load i32, ptr %10, align 4, !tbaa !9
  %90 = sext i32 %89 to i64
  %91 = getelementptr inbounds [50 x [2 x double]], ptr %1, i64 0, i64 %90
  %92 = getelementptr inbounds [2 x double], ptr %91, i64 0, i64 0
  %93 = getelementptr inbounds [2 x double], ptr %12, i64 0, i64 0
  call void @generate_neighbor(ptr noundef %92, ptr noundef %93)
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #3
  %94 = getelementptr inbounds [2 x double], ptr %12, i64 0, i64 0
  %95 = call double @objective_function(ptr noundef %94)
  store double %95, ptr %13, align 8, !tbaa !5
  %96 = load double, ptr %13, align 8, !tbaa !5
  %97 = load i32, ptr %10, align 4, !tbaa !9
  %98 = sext i32 %97 to i64
  %99 = getelementptr inbounds [50 x [2 x double]], ptr %1, i64 0, i64 %98
  %100 = getelementptr inbounds [2 x double], ptr %99, i64 0, i64 0
  %101 = call double @objective_function(ptr noundef %100)
  %102 = fcmp olt double %96, %101
  br i1 %102, label %103, label %123

103:                                              ; preds = %88
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #3
  store i32 0, ptr %14, align 4, !tbaa !9
  br label %104

104:                                              ; preds = %119, %103
  %105 = load i32, ptr %14, align 4, !tbaa !9
  %106 = icmp slt i32 %105, 2
  br i1 %106, label %108, label %107

107:                                              ; preds = %104
  store i32 20, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #3
  br label %122

108:                                              ; preds = %104
  %109 = load i32, ptr %14, align 4, !tbaa !9
  %110 = sext i32 %109 to i64
  %111 = getelementptr inbounds [2 x double], ptr %12, i64 0, i64 %110
  %112 = load double, ptr %111, align 8, !tbaa !5
  %113 = load i32, ptr %10, align 4, !tbaa !9
  %114 = sext i32 %113 to i64
  %115 = getelementptr inbounds [50 x [2 x double]], ptr %1, i64 0, i64 %114
  %116 = load i32, ptr %14, align 4, !tbaa !9
  %117 = sext i32 %116 to i64
  %118 = getelementptr inbounds [2 x double], ptr %115, i64 0, i64 %117
  store double %112, ptr %118, align 8, !tbaa !5
  br label %119

119:                                              ; preds = %108
  %120 = load i32, ptr %14, align 4, !tbaa !9
  %121 = add nsw i32 %120, 1
  store i32 %121, ptr %14, align 4, !tbaa !9
  br label %104, !llvm.loop !15

122:                                              ; preds = %107
  br label %123

123:                                              ; preds = %122, %88
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #3
  call void @llvm.lifetime.end.p0(i64 16, ptr %12) #3
  br label %124

124:                                              ; preds = %123
  %125 = load i32, ptr %11, align 4, !tbaa !9
  %126 = add nsw i32 %125, 1
  store i32 %126, ptr %11, align 4, !tbaa !9
  br label %84, !llvm.loop !16

127:                                              ; preds = %87
  br label %128

128:                                              ; preds = %127
  %129 = load i32, ptr %10, align 4, !tbaa !9
  %130 = add nsw i32 %129, 1
  store i32 %130, ptr %10, align 4, !tbaa !9
  br label %79, !llvm.loop !17

131:                                              ; preds = %82
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #3
  store i32 2, ptr %15, align 4, !tbaa !9
  br label %132

132:                                              ; preds = %181, %131
  %133 = load i32, ptr %15, align 4, !tbaa !9
  %134 = icmp slt i32 %133, 5
  br i1 %134, label %136, label %135

135:                                              ; preds = %132
  store i32 23, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #3
  br label %184

136:                                              ; preds = %132
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #3
  store i32 0, ptr %16, align 4, !tbaa !9
  br label %137

137:                                              ; preds = %177, %136
  %138 = load i32, ptr %16, align 4, !tbaa !9
  %139 = icmp slt i32 %138, 5
  br i1 %139, label %141, label %140

140:                                              ; preds = %137
  store i32 26, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #3
  br label %180

141:                                              ; preds = %137
  call void @llvm.lifetime.start.p0(i64 16, ptr %17) #3
  %142 = load i32, ptr %15, align 4, !tbaa !9
  %143 = sext i32 %142 to i64
  %144 = getelementptr inbounds [50 x [2 x double]], ptr %1, i64 0, i64 %143
  %145 = getelementptr inbounds [2 x double], ptr %144, i64 0, i64 0
  %146 = getelementptr inbounds [2 x double], ptr %17, i64 0, i64 0
  call void @generate_neighbor(ptr noundef %145, ptr noundef %146)
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #3
  %147 = getelementptr inbounds [2 x double], ptr %17, i64 0, i64 0
  %148 = call double @objective_function(ptr noundef %147)
  store double %148, ptr %18, align 8, !tbaa !5
  %149 = load double, ptr %18, align 8, !tbaa !5
  %150 = load i32, ptr %15, align 4, !tbaa !9
  %151 = sext i32 %150 to i64
  %152 = getelementptr inbounds [50 x [2 x double]], ptr %1, i64 0, i64 %151
  %153 = getelementptr inbounds [2 x double], ptr %152, i64 0, i64 0
  %154 = call double @objective_function(ptr noundef %153)
  %155 = fcmp olt double %149, %154
  br i1 %155, label %156, label %176

156:                                              ; preds = %141
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #3
  store i32 0, ptr %19, align 4, !tbaa !9
  br label %157

157:                                              ; preds = %172, %156
  %158 = load i32, ptr %19, align 4, !tbaa !9
  %159 = icmp slt i32 %158, 2
  br i1 %159, label %161, label %160

160:                                              ; preds = %157
  store i32 29, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #3
  br label %175

161:                                              ; preds = %157
  %162 = load i32, ptr %19, align 4, !tbaa !9
  %163 = sext i32 %162 to i64
  %164 = getelementptr inbounds [2 x double], ptr %17, i64 0, i64 %163
  %165 = load double, ptr %164, align 8, !tbaa !5
  %166 = load i32, ptr %15, align 4, !tbaa !9
  %167 = sext i32 %166 to i64
  %168 = getelementptr inbounds [50 x [2 x double]], ptr %1, i64 0, i64 %167
  %169 = load i32, ptr %19, align 4, !tbaa !9
  %170 = sext i32 %169 to i64
  %171 = getelementptr inbounds [2 x double], ptr %168, i64 0, i64 %170
  store double %165, ptr %171, align 8, !tbaa !5
  br label %172

172:                                              ; preds = %161
  %173 = load i32, ptr %19, align 4, !tbaa !9
  %174 = add nsw i32 %173, 1
  store i32 %174, ptr %19, align 4, !tbaa !9
  br label %157, !llvm.loop !18

175:                                              ; preds = %160
  br label %176

176:                                              ; preds = %175, %141
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #3
  call void @llvm.lifetime.end.p0(i64 16, ptr %17) #3
  br label %177

177:                                              ; preds = %176
  %178 = load i32, ptr %16, align 4, !tbaa !9
  %179 = add nsw i32 %178, 1
  store i32 %179, ptr %16, align 4, !tbaa !9
  br label %137, !llvm.loop !19

180:                                              ; preds = %140
  br label %181

181:                                              ; preds = %180
  %182 = load i32, ptr %15, align 4, !tbaa !9
  %183 = add nsw i32 %182, 1
  store i32 %183, ptr %15, align 4, !tbaa !9
  br label %132, !llvm.loop !20

184:                                              ; preds = %135
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #3
  store i32 5, ptr %20, align 4, !tbaa !9
  br label %185

185:                                              ; preds = %194, %184
  %186 = load i32, ptr %20, align 4, !tbaa !9
  %187 = icmp slt i32 %186, 50
  br i1 %187, label %189, label %188

188:                                              ; preds = %185
  store i32 32, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #3
  br label %197

189:                                              ; preds = %185
  %190 = load i32, ptr %20, align 4, !tbaa !9
  %191 = sext i32 %190 to i64
  %192 = getelementptr inbounds [50 x [2 x double]], ptr %1, i64 0, i64 %191
  %193 = getelementptr inbounds [2 x double], ptr %192, i64 0, i64 0
  call void @initialize_solution(ptr noundef %193)
  br label %194

194:                                              ; preds = %189
  %195 = load i32, ptr %20, align 4, !tbaa !9
  %196 = add nsw i32 %195, 1
  store i32 %196, ptr %20, align 4, !tbaa !9
  br label %185, !llvm.loop !21

197:                                              ; preds = %188
  %198 = load i32, ptr %5, align 4, !tbaa !9
  %199 = add nsw i32 %198, 1
  %200 = load double, ptr %3, align 8, !tbaa !5
  %201 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %199, double noundef %200)
  br label %202

202:                                              ; preds = %197
  %203 = load i32, ptr %5, align 4, !tbaa !9
  %204 = add nsw i32 %203, 1
  store i32 %204, ptr %5, align 4, !tbaa !9
  br label %35, !llvm.loop !22

205:                                              ; preds = %38
  %206 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #3
  store i32 0, ptr %21, align 4, !tbaa !9
  br label %207

207:                                              ; preds = %218, %205
  %208 = load i32, ptr %21, align 4, !tbaa !9
  %209 = icmp slt i32 %208, 2
  br i1 %209, label %211, label %210

210:                                              ; preds = %207
  store i32 35, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #3
  br label %221

211:                                              ; preds = %207
  %212 = load i32, ptr %21, align 4, !tbaa !9
  %213 = load i32, ptr %21, align 4, !tbaa !9
  %214 = sext i32 %213 to i64
  %215 = getelementptr inbounds [2 x double], ptr %2, i64 0, i64 %214
  %216 = load double, ptr %215, align 8, !tbaa !5
  %217 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %212, double noundef %216)
  br label %218

218:                                              ; preds = %211
  %219 = load i32, ptr %21, align 4, !tbaa !9
  %220 = add nsw i32 %219, 1
  store i32 %220, ptr %21, align 4, !tbaa !9
  br label %207, !llvm.loop !23

221:                                              ; preds = %210
  %222 = load double, ptr %3, align 8, !tbaa !5
  %223 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, double noundef %222)
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #3
  call void @llvm.lifetime.end.p0(i64 16, ptr %2) #3
  call void @llvm.lifetime.end.p0(i64 800, ptr %1) #3
  ret void
}

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

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

!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 = !{!"double", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = distinct !{!13, !12}
!14 = distinct !{!14, !12}
!15 = distinct !{!15, !12}
!16 = distinct !{!16, !12}
!17 = distinct !{!17, !12}
!18 = distinct !{!18, !12}
!19 = distinct !{!19, !12}
!20 = distinct !{!20, !12}
!21 = distinct !{!21, !12}
!22 = distinct !{!22, !12}
!23 = distinct !{!23, !12}


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

@.str = external hidden unnamed_addr constant [33 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [19 x i8], align 1

; Function Attrs: nounwind uwtable
declare dso_local double @objective_function(ptr noundef) local_unnamed_addr #0

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

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

; Function Attrs: nounwind uwtable
declare dso_local void @initialize_solution(ptr noundef) local_unnamed_addr #0

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

; Function Attrs: nounwind uwtable
define dso_local void @bee_algorithm() local_unnamed_addr #0 {
.preheader71.preheader:
  %0 = alloca [50 x [2 x double]], align 16
  %1 = alloca [2 x double], align 16
  %2 = alloca [2 x double], align 16
  call void @llvm.lifetime.start.p0(i64 800, ptr nonnull %0) #4
  call void @initialize_solution(ptr noundef nonnull %0)
  %3 = getelementptr inbounds i8, ptr %0, i64 16
  call void @initialize_solution(ptr noundef nonnull %3)
  %4 = getelementptr inbounds i8, ptr %0, i64 32
  call void @initialize_solution(ptr noundef nonnull %4)
  %5 = getelementptr inbounds i8, ptr %0, i64 48
  call void @initialize_solution(ptr noundef nonnull %5)
  %6 = getelementptr inbounds i8, ptr %0, i64 64
  call void @initialize_solution(ptr noundef nonnull %6)
  %7 = getelementptr inbounds i8, ptr %0, i64 80
  call void @initialize_solution(ptr noundef nonnull %7)
  %8 = getelementptr inbounds i8, ptr %0, i64 96
  call void @initialize_solution(ptr noundef nonnull %8)
  %9 = getelementptr inbounds i8, ptr %0, i64 112
  call void @initialize_solution(ptr noundef nonnull %9)
  %10 = getelementptr inbounds i8, ptr %0, i64 128
  call void @initialize_solution(ptr noundef nonnull %10)
  %11 = getelementptr inbounds i8, ptr %0, i64 144
  call void @initialize_solution(ptr noundef nonnull %11)
  %12 = getelementptr inbounds i8, ptr %0, i64 160
  call void @initialize_solution(ptr noundef nonnull %12)
  %13 = getelementptr inbounds i8, ptr %0, i64 176
  call void @initialize_solution(ptr noundef nonnull %13)
  %14 = getelementptr inbounds i8, ptr %0, i64 192
  call void @initialize_solution(ptr noundef nonnull %14)
  %15 = getelementptr inbounds i8, ptr %0, i64 208
  call void @initialize_solution(ptr noundef nonnull %15)
  %16 = getelementptr inbounds i8, ptr %0, i64 224
  call void @initialize_solution(ptr noundef nonnull %16)
  %17 = getelementptr inbounds i8, ptr %0, i64 240
  call void @initialize_solution(ptr noundef nonnull %17)
  %18 = getelementptr inbounds i8, ptr %0, i64 256
  call void @initialize_solution(ptr noundef nonnull %18)
  %19 = getelementptr inbounds i8, ptr %0, i64 272
  call void @initialize_solution(ptr noundef nonnull %19)
  %20 = getelementptr inbounds i8, ptr %0, i64 288
  call void @initialize_solution(ptr noundef nonnull %20)
  %21 = getelementptr inbounds i8, ptr %0, i64 304
  call void @initialize_solution(ptr noundef nonnull %21)
  %22 = getelementptr inbounds i8, ptr %0, i64 320
  call void @initialize_solution(ptr noundef nonnull %22)
  %23 = getelementptr inbounds i8, ptr %0, i64 336
  call void @initialize_solution(ptr noundef nonnull %23)
  %24 = getelementptr inbounds i8, ptr %0, i64 352
  call void @initialize_solution(ptr noundef nonnull %24)
  %25 = getelementptr inbounds i8, ptr %0, i64 368
  call void @initialize_solution(ptr noundef nonnull %25)
  %26 = getelementptr inbounds i8, ptr %0, i64 384
  call void @initialize_solution(ptr noundef nonnull %26)
  %27 = getelementptr inbounds i8, ptr %0, i64 400
  call void @initialize_solution(ptr noundef nonnull %27)
  %28 = getelementptr inbounds i8, ptr %0, i64 416
  call void @initialize_solution(ptr noundef nonnull %28)
  %29 = getelementptr inbounds i8, ptr %0, i64 432
  call void @initialize_solution(ptr noundef nonnull %29)
  %30 = getelementptr inbounds i8, ptr %0, i64 448
  call void @initialize_solution(ptr noundef nonnull %30)
  %31 = getelementptr inbounds i8, ptr %0, i64 464
  call void @initialize_solution(ptr noundef nonnull %31)
  %32 = getelementptr inbounds i8, ptr %0, i64 480
  call void @initialize_solution(ptr noundef nonnull %32)
  %33 = getelementptr inbounds i8, ptr %0, i64 496
  call void @initialize_solution(ptr noundef nonnull %33)
  %34 = getelementptr inbounds i8, ptr %0, i64 512
  call void @initialize_solution(ptr noundef nonnull %34)
  %35 = getelementptr inbounds i8, ptr %0, i64 528
  call void @initialize_solution(ptr noundef nonnull %35)
  %36 = getelementptr inbounds i8, ptr %0, i64 544
  call void @initialize_solution(ptr noundef nonnull %36)
  %37 = getelementptr inbounds i8, ptr %0, i64 560
  call void @initialize_solution(ptr noundef nonnull %37)
  %38 = getelementptr inbounds i8, ptr %0, i64 576
  call void @initialize_solution(ptr noundef nonnull %38)
  %39 = getelementptr inbounds i8, ptr %0, i64 592
  call void @initialize_solution(ptr noundef nonnull %39)
  %40 = getelementptr inbounds i8, ptr %0, i64 608
  call void @initialize_solution(ptr noundef nonnull %40)
  %41 = getelementptr inbounds i8, ptr %0, i64 624
  call void @initialize_solution(ptr noundef nonnull %41)
  %42 = getelementptr inbounds i8, ptr %0, i64 640
  call void @initialize_solution(ptr noundef nonnull %42)
  %43 = getelementptr inbounds i8, ptr %0, i64 656
  call void @initialize_solution(ptr noundef nonnull %43)
  %44 = getelementptr inbounds i8, ptr %0, i64 672
  call void @initialize_solution(ptr noundef nonnull %44)
  %45 = getelementptr inbounds i8, ptr %0, i64 688
  call void @initialize_solution(ptr noundef nonnull %45)
  %46 = getelementptr inbounds i8, ptr %0, i64 704
  call void @initialize_solution(ptr noundef nonnull %46)
  %47 = getelementptr inbounds i8, ptr %0, i64 720
  call void @initialize_solution(ptr noundef nonnull %47)
  %48 = getelementptr inbounds i8, ptr %0, i64 736
  call void @initialize_solution(ptr noundef nonnull %48)
  %49 = getelementptr inbounds i8, ptr %0, i64 752
  call void @initialize_solution(ptr noundef nonnull %49)
  %50 = getelementptr inbounds i8, ptr %0, i64 768
  call void @initialize_solution(ptr noundef nonnull %50)
  %51 = getelementptr inbounds i8, ptr %0, i64 784
  call void @initialize_solution(ptr noundef nonnull %51)
  br label %.preheader71

.preheader71:                                     ; preds = %.preheader71.preheader, %.loopexit.4.2
  %.sroa.4.0 = phi double [ undef, %.preheader71.preheader ], [ %.sroa.4.2, %.loopexit.4.2 ]
  %.sroa.0.0 = phi double [ undef, %.preheader71.preheader ], [ %.sroa.0.2, %.loopexit.4.2 ]
  %.05185 = phi double [ 0x7FF0000000000000, %.preheader71.preheader ], [ %.2, %.loopexit.4.2 ]
  %.05984 = phi i32 [ 0, %.preheader71.preheader ], [ %137, %.loopexit.4.2 ]
  br label %60

52:                                               ; preds = %.loopexit.4.2
  %53 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1)
  %54 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i32 noundef 0, double noundef %.sroa.0.2)
  %55 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i32 noundef 1, double noundef %.sroa.4.2)
  %56 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3, double noundef %.2)
  call void @llvm.lifetime.end.p0(i64 800, ptr nonnull %0) #4
  ret void

.preheader70:                                     ; preds = %.loopexit67
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %1) #4
  call void @generate_neighbor(ptr noundef nonnull %0, ptr noundef nonnull %1)
  %57 = call double @objective_function(ptr noundef nonnull %1)
  %58 = call double @objective_function(ptr noundef nonnull %0)
  %59 = fcmp olt double %57, %58
  br i1 %59, label %.preheader62.preheader, label %.loopexit63

60:                                               ; preds = %.preheader71, %.loopexit67
  %.sroa.4.1 = phi double [ %.sroa.4.0, %.preheader71 ], [ %.sroa.4.2, %.loopexit67 ]
  %.sroa.0.1 = phi double [ %.sroa.0.0, %.preheader71 ], [ %.sroa.0.2, %.loopexit67 ]
  %indvar = phi i64 [ 0, %.preheader71 ], [ %indvar.next, %.loopexit67 ]
  %.176 = phi double [ %.05185, %.preheader71 ], [ %.2, %.loopexit67 ]
  %61 = getelementptr inbounds [50 x [2 x double]], ptr %0, i64 0, i64 %indvar
  %62 = call double @objective_function(ptr noundef nonnull %61)
  %63 = fcmp olt double %62, %.176
  br i1 %63, label %.preheader66.preheader, label %.loopexit67

.preheader66.preheader:                           ; preds = %60
  %64 = shl nuw nsw i64 %indvar, 4
  %scevgep = getelementptr i8, ptr %0, i64 %64
  %.sroa.0.0.copyload = load double, ptr %scevgep, align 16, !tbaa !5
  %.sroa.4.0.scevgep.sroa_idx = getelementptr inbounds i8, ptr %scevgep, i64 8
  %.sroa.4.0.copyload = load double, ptr %.sroa.4.0.scevgep.sroa_idx, align 8, !tbaa !5
  br label %.loopexit67

.loopexit67:                                      ; preds = %.preheader66.preheader, %60
  %.sroa.4.2 = phi double [ %.sroa.4.0.copyload, %.preheader66.preheader ], [ %.sroa.4.1, %60 ]
  %.sroa.0.2 = phi double [ %.sroa.0.0.copyload, %.preheader66.preheader ], [ %.sroa.0.1, %60 ]
  %.2 = phi double [ %62, %.preheader66.preheader ], [ %.176, %60 ]
  %indvar.next = add nuw nsw i64 %indvar, 1
  %exitcond.not = icmp eq i64 %indvar.next, 50
  br i1 %exitcond.not, label %.preheader70, label %60, !llvm.loop !9

.preheader62.preheader:                           ; preds = %.preheader70
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(16) %0, ptr noundef nonnull align 16 dereferenceable(16) %1, i64 16, i1 false), !tbaa !5
  br label %.loopexit63

.loopexit63:                                      ; preds = %.preheader62.preheader, %.preheader70
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %1) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %1) #4
  call void @generate_neighbor(ptr noundef nonnull %0, ptr noundef nonnull %1)
  %65 = call double @objective_function(ptr noundef nonnull %1)
  %66 = call double @objective_function(ptr noundef nonnull %0)
  %67 = fcmp olt double %65, %66
  br i1 %67, label %.preheader62.preheader.1, label %.loopexit63.1

.preheader62.preheader.1:                         ; preds = %.loopexit63
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(16) %0, ptr noundef nonnull align 16 dereferenceable(16) %1, i64 16, i1 false), !tbaa !5
  br label %.loopexit63.1

.loopexit63.1:                                    ; preds = %.preheader62.preheader.1, %.loopexit63
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %1) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %1) #4
  call void @generate_neighbor(ptr noundef nonnull %0, ptr noundef nonnull %1)
  %68 = call double @objective_function(ptr noundef nonnull %1)
  %69 = call double @objective_function(ptr noundef nonnull %0)
  %70 = fcmp olt double %68, %69
  br i1 %70, label %.preheader62.preheader.2, label %.loopexit63.2

.preheader62.preheader.2:                         ; preds = %.loopexit63.1
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(16) %0, ptr noundef nonnull align 16 dereferenceable(16) %1, i64 16, i1 false), !tbaa !5
  br label %.loopexit63.2

.loopexit63.2:                                    ; preds = %.preheader62.preheader.2, %.loopexit63.1
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %1) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %1) #4
  call void @generate_neighbor(ptr noundef nonnull %0, ptr noundef nonnull %1)
  %71 = call double @objective_function(ptr noundef nonnull %1)
  %72 = call double @objective_function(ptr noundef nonnull %0)
  %73 = fcmp olt double %71, %72
  br i1 %73, label %.preheader62.preheader.3, label %.loopexit63.3

.preheader62.preheader.3:                         ; preds = %.loopexit63.2
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(16) %0, ptr noundef nonnull align 16 dereferenceable(16) %1, i64 16, i1 false), !tbaa !5
  br label %.loopexit63.3

.loopexit63.3:                                    ; preds = %.preheader62.preheader.3, %.loopexit63.2
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %1) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %1) #4
  call void @generate_neighbor(ptr noundef nonnull %0, ptr noundef nonnull %1)
  %74 = call double @objective_function(ptr noundef nonnull %1)
  %75 = call double @objective_function(ptr noundef nonnull %0)
  %76 = fcmp olt double %74, %75
  br i1 %76, label %.preheader62.preheader.4, label %.loopexit63.4

.preheader62.preheader.4:                         ; preds = %.loopexit63.3
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(16) %0, ptr noundef nonnull align 16 dereferenceable(16) %1, i64 16, i1 false), !tbaa !5
  br label %.loopexit63.4

.loopexit63.4:                                    ; preds = %.preheader62.preheader.4, %.loopexit63.3
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %1) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %1) #4
  call void @generate_neighbor(ptr noundef nonnull %3, ptr noundef nonnull %1)
  %77 = call double @objective_function(ptr noundef nonnull %1)
  %78 = call double @objective_function(ptr noundef nonnull %3)
  %79 = fcmp olt double %77, %78
  br i1 %79, label %.preheader62.preheader.196, label %.loopexit63.198

.preheader62.preheader.196:                       ; preds = %.loopexit63.4
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(16) %3, ptr noundef nonnull align 16 dereferenceable(16) %1, i64 16, i1 false), !tbaa !5
  br label %.loopexit63.198

.loopexit63.198:                                  ; preds = %.preheader62.preheader.196, %.loopexit63.4
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %1) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %1) #4
  call void @generate_neighbor(ptr noundef nonnull %3, ptr noundef nonnull %1)
  %80 = call double @objective_function(ptr noundef nonnull %1)
  %81 = call double @objective_function(ptr noundef nonnull %3)
  %82 = fcmp olt double %80, %81
  br i1 %82, label %.preheader62.preheader.1.1, label %.loopexit63.1.1

.preheader62.preheader.1.1:                       ; preds = %.loopexit63.198
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(16) %3, ptr noundef nonnull align 16 dereferenceable(16) %1, i64 16, i1 false), !tbaa !5
  br label %.loopexit63.1.1

.loopexit63.1.1:                                  ; preds = %.preheader62.preheader.1.1, %.loopexit63.198
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %1) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %1) #4
  call void @generate_neighbor(ptr noundef nonnull %3, ptr noundef nonnull %1)
  %83 = call double @objective_function(ptr noundef nonnull %1)
  %84 = call double @objective_function(ptr noundef nonnull %3)
  %85 = fcmp olt double %83, %84
  br i1 %85, label %.preheader62.preheader.2.1, label %.loopexit63.2.1

.preheader62.preheader.2.1:                       ; preds = %.loopexit63.1.1
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(16) %3, ptr noundef nonnull align 16 dereferenceable(16) %1, i64 16, i1 false), !tbaa !5
  br label %.loopexit63.2.1

.loopexit63.2.1:                                  ; preds = %.preheader62.preheader.2.1, %.loopexit63.1.1
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %1) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %1) #4
  call void @generate_neighbor(ptr noundef nonnull %3, ptr noundef nonnull %1)
  %86 = call double @objective_function(ptr noundef nonnull %1)
  %87 = call double @objective_function(ptr noundef nonnull %3)
  %88 = fcmp olt double %86, %87
  br i1 %88, label %.preheader62.preheader.3.1, label %.loopexit63.3.1

.preheader62.preheader.3.1:                       ; preds = %.loopexit63.2.1
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(16) %3, ptr noundef nonnull align 16 dereferenceable(16) %1, i64 16, i1 false), !tbaa !5
  br label %.loopexit63.3.1

.loopexit63.3.1:                                  ; preds = %.preheader62.preheader.3.1, %.loopexit63.2.1
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %1) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %1) #4
  call void @generate_neighbor(ptr noundef nonnull %3, ptr noundef nonnull %1)
  %89 = call double @objective_function(ptr noundef nonnull %1)
  %90 = call double @objective_function(ptr noundef nonnull %3)
  %91 = fcmp olt double %89, %90
  br i1 %91, label %.preheader62.preheader.4.1, label %.loopexit63.4.1

.preheader62.preheader.4.1:                       ; preds = %.loopexit63.3.1
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(16) %3, ptr noundef nonnull align 16 dereferenceable(16) %1, i64 16, i1 false), !tbaa !5
  br label %.loopexit63.4.1

.loopexit63.4.1:                                  ; preds = %.preheader62.preheader.4.1, %.loopexit63.3.1
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %1) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %2) #4
  call void @generate_neighbor(ptr noundef nonnull %4, ptr noundef nonnull %2)
  %92 = call double @objective_function(ptr noundef nonnull %2)
  %93 = call double @objective_function(ptr noundef nonnull %4)
  %94 = fcmp olt double %92, %93
  br i1 %94, label %.preheader.preheader, label %.loopexit

.preheader.preheader:                             ; preds = %.loopexit63.4.1
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(16) %4, ptr noundef nonnull align 16 dereferenceable(16) %2, i64 16, i1 false), !tbaa !5
  br label %.loopexit

.loopexit:                                        ; preds = %.preheader.preheader, %.loopexit63.4.1
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %2) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %2) #4
  call void @generate_neighbor(ptr noundef nonnull %4, ptr noundef nonnull %2)
  %95 = call double @objective_function(ptr noundef nonnull %2)
  %96 = call double @objective_function(ptr noundef nonnull %4)
  %97 = fcmp olt double %95, %96
  br i1 %97, label %.preheader.preheader.1, label %.loopexit.1

.preheader.preheader.1:                           ; preds = %.loopexit
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(16) %4, ptr noundef nonnull align 16 dereferenceable(16) %2, i64 16, i1 false), !tbaa !5
  br label %.loopexit.1

.loopexit.1:                                      ; preds = %.preheader.preheader.1, %.loopexit
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %2) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %2) #4
  call void @generate_neighbor(ptr noundef nonnull %4, ptr noundef nonnull %2)
  %98 = call double @objective_function(ptr noundef nonnull %2)
  %99 = call double @objective_function(ptr noundef nonnull %4)
  %100 = fcmp olt double %98, %99
  br i1 %100, label %.preheader.preheader.2, label %.loopexit.2

.preheader.preheader.2:                           ; preds = %.loopexit.1
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(16) %4, ptr noundef nonnull align 16 dereferenceable(16) %2, i64 16, i1 false), !tbaa !5
  br label %.loopexit.2

.loopexit.2:                                      ; preds = %.preheader.preheader.2, %.loopexit.1
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %2) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %2) #4
  call void @generate_neighbor(ptr noundef nonnull %4, ptr noundef nonnull %2)
  %101 = call double @objective_function(ptr noundef nonnull %2)
  %102 = call double @objective_function(ptr noundef nonnull %4)
  %103 = fcmp olt double %101, %102
  br i1 %103, label %.preheader.preheader.3, label %.loopexit.3

.preheader.preheader.3:                           ; preds = %.loopexit.2
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(16) %4, ptr noundef nonnull align 16 dereferenceable(16) %2, i64 16, i1 false), !tbaa !5
  br label %.loopexit.3

.loopexit.3:                                      ; preds = %.preheader.preheader.3, %.loopexit.2
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %2) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %2) #4
  call void @generate_neighbor(ptr noundef nonnull %4, ptr noundef nonnull %2)
  %104 = call double @objective_function(ptr noundef nonnull %2)
  %105 = call double @objective_function(ptr noundef nonnull %4)
  %106 = fcmp olt double %104, %105
  br i1 %106, label %.preheader.preheader.4, label %.loopexit.4

.preheader.preheader.4:                           ; preds = %.loopexit.3
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(16) %4, ptr noundef nonnull align 16 dereferenceable(16) %2, i64 16, i1 false), !tbaa !5
  br label %.loopexit.4

.loopexit.4:                                      ; preds = %.preheader.preheader.4, %.loopexit.3
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %2) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %2) #4
  call void @generate_neighbor(ptr noundef nonnull %5, ptr noundef nonnull %2)
  %107 = call double @objective_function(ptr noundef nonnull %2)
  %108 = call double @objective_function(ptr noundef nonnull %5)
  %109 = fcmp olt double %107, %108
  br i1 %109, label %.preheader.preheader.1106, label %.loopexit.1108

.preheader.preheader.1106:                        ; preds = %.loopexit.4
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(16) %5, ptr noundef nonnull align 16 dereferenceable(16) %2, i64 16, i1 false), !tbaa !5
  br label %.loopexit.1108

.loopexit.1108:                                   ; preds = %.preheader.preheader.1106, %.loopexit.4
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %2) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %2) #4
  call void @generate_neighbor(ptr noundef nonnull %5, ptr noundef nonnull %2)
  %110 = call double @objective_function(ptr noundef nonnull %2)
  %111 = call double @objective_function(ptr noundef nonnull %5)
  %112 = fcmp olt double %110, %111
  br i1 %112, label %.preheader.preheader.1.1, label %.loopexit.1.1

.preheader.preheader.1.1:                         ; preds = %.loopexit.1108
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(16) %5, ptr noundef nonnull align 16 dereferenceable(16) %2, i64 16, i1 false), !tbaa !5
  br label %.loopexit.1.1

.loopexit.1.1:                                    ; preds = %.preheader.preheader.1.1, %.loopexit.1108
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %2) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %2) #4
  call void @generate_neighbor(ptr noundef nonnull %5, ptr noundef nonnull %2)
  %113 = call double @objective_function(ptr noundef nonnull %2)
  %114 = call double @objective_function(ptr noundef nonnull %5)
  %115 = fcmp olt double %113, %114
  br i1 %115, label %.preheader.preheader.2.1, label %.loopexit.2.1

.preheader.preheader.2.1:                         ; preds = %.loopexit.1.1
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(16) %5, ptr noundef nonnull align 16 dereferenceable(16) %2, i64 16, i1 false), !tbaa !5
  br label %.loopexit.2.1

.loopexit.2.1:                                    ; preds = %.preheader.preheader.2.1, %.loopexit.1.1
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %2) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %2) #4
  call void @generate_neighbor(ptr noundef nonnull %5, ptr noundef nonnull %2)
  %116 = call double @objective_function(ptr noundef nonnull %2)
  %117 = call double @objective_function(ptr noundef nonnull %5)
  %118 = fcmp olt double %116, %117
  br i1 %118, label %.preheader.preheader.3.1, label %.loopexit.3.1

.preheader.preheader.3.1:                         ; preds = %.loopexit.2.1
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(16) %5, ptr noundef nonnull align 16 dereferenceable(16) %2, i64 16, i1 false), !tbaa !5
  br label %.loopexit.3.1

.loopexit.3.1:                                    ; preds = %.preheader.preheader.3.1, %.loopexit.2.1
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %2) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %2) #4
  call void @generate_neighbor(ptr noundef nonnull %5, ptr noundef nonnull %2)
  %119 = call double @objective_function(ptr noundef nonnull %2)
  %120 = call double @objective_function(ptr noundef nonnull %5)
  %121 = fcmp olt double %119, %120
  br i1 %121, label %.preheader.preheader.4.1, label %.loopexit.4.1

.preheader.preheader.4.1:                         ; preds = %.loopexit.3.1
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(16) %5, ptr noundef nonnull align 16 dereferenceable(16) %2, i64 16, i1 false), !tbaa !5
  br label %.loopexit.4.1

.loopexit.4.1:                                    ; preds = %.preheader.preheader.4.1, %.loopexit.3.1
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %2) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %2) #4
  call void @generate_neighbor(ptr noundef nonnull %6, ptr noundef nonnull %2)
  %122 = call double @objective_function(ptr noundef nonnull %2)
  %123 = call double @objective_function(ptr noundef nonnull %6)
  %124 = fcmp olt double %122, %123
  br i1 %124, label %.preheader.preheader.2109, label %.loopexit.2111

.preheader.preheader.2109:                        ; preds = %.loopexit.4.1
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(16) %6, ptr noundef nonnull align 16 dereferenceable(16) %2, i64 16, i1 false), !tbaa !5
  br label %.loopexit.2111

.loopexit.2111:                                   ; preds = %.preheader.preheader.2109, %.loopexit.4.1
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %2) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %2) #4
  call void @generate_neighbor(ptr noundef nonnull %6, ptr noundef nonnull %2)
  %125 = call double @objective_function(ptr noundef nonnull %2)
  %126 = call double @objective_function(ptr noundef nonnull %6)
  %127 = fcmp olt double %125, %126
  br i1 %127, label %.preheader.preheader.1.2, label %.loopexit.1.2

.preheader.preheader.1.2:                         ; preds = %.loopexit.2111
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(16) %6, ptr noundef nonnull align 16 dereferenceable(16) %2, i64 16, i1 false), !tbaa !5
  br label %.loopexit.1.2

.loopexit.1.2:                                    ; preds = %.preheader.preheader.1.2, %.loopexit.2111
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %2) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %2) #4
  call void @generate_neighbor(ptr noundef nonnull %6, ptr noundef nonnull %2)
  %128 = call double @objective_function(ptr noundef nonnull %2)
  %129 = call double @objective_function(ptr noundef nonnull %6)
  %130 = fcmp olt double %128, %129
  br i1 %130, label %.preheader.preheader.2.2, label %.loopexit.2.2

.preheader.preheader.2.2:                         ; preds = %.loopexit.1.2
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(16) %6, ptr noundef nonnull align 16 dereferenceable(16) %2, i64 16, i1 false), !tbaa !5
  br label %.loopexit.2.2

.loopexit.2.2:                                    ; preds = %.preheader.preheader.2.2, %.loopexit.1.2
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %2) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %2) #4
  call void @generate_neighbor(ptr noundef nonnull %6, ptr noundef nonnull %2)
  %131 = call double @objective_function(ptr noundef nonnull %2)
  %132 = call double @objective_function(ptr noundef nonnull %6)
  %133 = fcmp olt double %131, %132
  br i1 %133, label %.preheader.preheader.3.2, label %.loopexit.3.2

.preheader.preheader.3.2:                         ; preds = %.loopexit.2.2
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(16) %6, ptr noundef nonnull align 16 dereferenceable(16) %2, i64 16, i1 false), !tbaa !5
  br label %.loopexit.3.2

.loopexit.3.2:                                    ; preds = %.preheader.preheader.3.2, %.loopexit.2.2
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %2) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %2) #4
  call void @generate_neighbor(ptr noundef nonnull %6, ptr noundef nonnull %2)
  %134 = call double @objective_function(ptr noundef nonnull %2)
  %135 = call double @objective_function(ptr noundef nonnull %6)
  %136 = fcmp olt double %134, %135
  br i1 %136, label %.preheader.preheader.4.2, label %.loopexit.4.2

.preheader.preheader.4.2:                         ; preds = %.loopexit.3.2
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(16) %6, ptr noundef nonnull align 16 dereferenceable(16) %2, i64 16, i1 false), !tbaa !5
  br label %.loopexit.4.2

.loopexit.4.2:                                    ; preds = %.preheader.preheader.4.2, %.loopexit.3.2
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %2) #4
  call void @initialize_solution(ptr noundef nonnull %7)
  call void @initialize_solution(ptr noundef nonnull %8)
  call void @initialize_solution(ptr noundef nonnull %9)
  call void @initialize_solution(ptr noundef nonnull %10)
  call void @initialize_solution(ptr noundef nonnull %11)
  call void @initialize_solution(ptr noundef nonnull %12)
  call void @initialize_solution(ptr noundef nonnull %13)
  call void @initialize_solution(ptr noundef nonnull %14)
  call void @initialize_solution(ptr noundef nonnull %15)
  call void @initialize_solution(ptr noundef nonnull %16)
  call void @initialize_solution(ptr noundef nonnull %17)
  call void @initialize_solution(ptr noundef nonnull %18)
  call void @initialize_solution(ptr noundef nonnull %19)
  call void @initialize_solution(ptr noundef nonnull %20)
  call void @initialize_solution(ptr noundef nonnull %21)
  call void @initialize_solution(ptr noundef nonnull %22)
  call void @initialize_solution(ptr noundef nonnull %23)
  call void @initialize_solution(ptr noundef nonnull %24)
  call void @initialize_solution(ptr noundef nonnull %25)
  call void @initialize_solution(ptr noundef nonnull %26)
  call void @initialize_solution(ptr noundef nonnull %27)
  call void @initialize_solution(ptr noundef nonnull %28)
  call void @initialize_solution(ptr noundef nonnull %29)
  call void @initialize_solution(ptr noundef nonnull %30)
  call void @initialize_solution(ptr noundef nonnull %31)
  call void @initialize_solution(ptr noundef nonnull %32)
  call void @initialize_solution(ptr noundef nonnull %33)
  call void @initialize_solution(ptr noundef nonnull %34)
  call void @initialize_solution(ptr noundef nonnull %35)
  call void @initialize_solution(ptr noundef nonnull %36)
  call void @initialize_solution(ptr noundef nonnull %37)
  call void @initialize_solution(ptr noundef nonnull %38)
  call void @initialize_solution(ptr noundef nonnull %39)
  call void @initialize_solution(ptr noundef nonnull %40)
  call void @initialize_solution(ptr noundef nonnull %41)
  call void @initialize_solution(ptr noundef nonnull %42)
  call void @initialize_solution(ptr noundef nonnull %43)
  call void @initialize_solution(ptr noundef nonnull %44)
  call void @initialize_solution(ptr noundef nonnull %45)
  call void @initialize_solution(ptr noundef nonnull %46)
  call void @initialize_solution(ptr noundef nonnull %47)
  call void @initialize_solution(ptr noundef nonnull %48)
  call void @initialize_solution(ptr noundef nonnull %49)
  call void @initialize_solution(ptr noundef nonnull %50)
  call void @initialize_solution(ptr noundef nonnull %51)
  %137 = add nuw nsw i32 %.05984, 1
  %138 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, i32 noundef %137, double noundef %.2)
  %exitcond114.not = icmp eq i32 %137, 1000
  br i1 %exitcond114.not, label %52, label %.preheader71, !llvm.loop !11
}

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

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #3

attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { 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 = !{!"double", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = distinct !{!11, !10}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,LCSSAPass,LICMPass,LoopIdiomRecognizePass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass