; LLVM IR from yuikns/panther :: ann/test/ann_test.ll (Z9treeStatsRSo7ANNbool)

; 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.ANNkdStats = type { i32, i32, i32, i32, i32, i32, i32, i32, float, float }

@the_tree = external dso_local global ptr, align 8
@.str.12 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.75 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.82 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.145 = external hidden unnamed_addr constant [61 x i8], align 1
@.str.146 = external hidden unnamed_addr constant [62 x i8], align 1
@.str.147 = external hidden unnamed_addr constant [62 x i8], align 1
@.str.148 = external hidden unnamed_addr constant [62 x i8], align 1
@.str.149 = external hidden unnamed_addr constant [59 x i8], align 1
@.str.150 = external hidden unnamed_addr constant [56 x i8], align 1
@.str.151 = external hidden unnamed_addr constant [60 x i8], align 1
@.str.152 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.153 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.154 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.155 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.156 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.157 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.158 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.159 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.160 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.161 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.162 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.163 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.164 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.165 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.166 = external hidden unnamed_addr constant [13 x i8], align 1

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8), 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

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef) #2

; Function Attrs: mustprogress uwtable
define dso_local void @_Z9treeStatsRSo7ANNbool(ptr noundef nonnull align 8 dereferenceable(8) %0, i32 noundef %1) #3 {
  %3 = alloca ptr, align 8
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca float, align 4
  %7 = alloca float, align 4
  %8 = alloca %class.ANNkdStats, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca float, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  store ptr %0, ptr %3, align 8, !tbaa !5
  store i32 %1, ptr %4, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #5
  store i32 20, ptr %5, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #5
  store float 5.000000e-01, ptr %6, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #5
  store float 2.000000e+01, ptr %7, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 40, ptr %8) #5
  call void @_ZN10ANNkdStatsC2Ev(ptr noundef nonnull align 4 dereferenceable(40) %8)
  %15 = load ptr, ptr @the_tree, align 8, !tbaa !5
  %16 = load ptr, ptr %15, align 8, !tbaa !15
  %17 = getelementptr inbounds ptr, ptr %16, i64 9
  %18 = load ptr, ptr %17, align 8
  call void %18(ptr noundef nonnull align 8 dereferenceable(64) %15, ptr noundef nonnull align 4 dereferenceable(40) %8)
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #5
  %19 = getelementptr inbounds %class.ANNkdStats, ptr %8, i32 0, i32 3
  %20 = load i32, ptr %19, align 4, !tbaa !17
  %21 = getelementptr inbounds %class.ANNkdStats, ptr %8, i32 0, i32 5
  %22 = load i32, ptr %21, align 4, !tbaa !19
  %23 = add nsw i32 %20, %22
  %24 = getelementptr inbounds %class.ANNkdStats, ptr %8, i32 0, i32 6
  %25 = load i32, ptr %24, align 4, !tbaa !20
  %26 = add nsw i32 %23, %25
  store i32 %26, ptr %9, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #5
  %27 = getelementptr inbounds %class.ANNkdStats, ptr %8, i32 0, i32 1
  %28 = load i32, ptr %27, align 4, !tbaa !21
  %29 = sitofp i32 %28 to float
  %30 = getelementptr inbounds %class.ANNkdStats, ptr %8, i32 0, i32 2
  %31 = load i32, ptr %30, align 4, !tbaa !22
  %32 = sitofp i32 %31 to float
  %33 = fdiv float %29, %32
  %34 = fmul float 2.000000e+00, %33
  %35 = fptosi float %34 to i32
  store i32 %35, ptr %10, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #5
  %36 = load i32, ptr %10, align 4, !tbaa !11
  %37 = mul nsw i32 10, %36
  store i32 %37, ptr %11, align 4, !tbaa !11
  %38 = getelementptr inbounds %class.ANNkdStats, ptr %8, i32 0, i32 1
  %39 = load i32, ptr %38, align 4, !tbaa !21
  %40 = icmp sge i32 %39, 20
  br i1 %40, label %41, label %54

41:                                               ; preds = %2
  %42 = load i32, ptr %9, align 4, !tbaa !11
  %43 = load i32, ptr %11, align 4, !tbaa !11
  %44 = icmp sgt i32 %42, %43
  br i1 %44, label %45, label %54

45:                                               ; preds = %41
  %46 = load ptr, ptr %3, align 8, !tbaa !5
  %47 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %46, ptr noundef @.str.145)
  %48 = load ptr, ptr %3, align 8, !tbaa !5
  %49 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %48, ptr noundef @.str.146)
  %50 = load ptr, ptr %3, align 8, !tbaa !5
  %51 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %50, ptr noundef @.str.147)
  %52 = load ptr, ptr %3, align 8, !tbaa !5
  %53 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %52, ptr noundef @.str.145)
  store i32 1, ptr %4, align 4, !tbaa !9
  br label %54

54:                                               ; preds = %45, %41, %2
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #5
  %55 = getelementptr inbounds %class.ANNkdStats, ptr %8, i32 0, i32 3
  %56 = load i32, ptr %55, align 4, !tbaa !17
  %57 = icmp eq i32 %56, 0
  br i1 %57, label %58, label %59

58:                                               ; preds = %54
  br label %67

59:                                               ; preds = %54
  %60 = getelementptr inbounds %class.ANNkdStats, ptr %8, i32 0, i32 4
  %61 = load i32, ptr %60, align 4, !tbaa !23
  %62 = sitofp i32 %61 to float
  %63 = getelementptr inbounds %class.ANNkdStats, ptr %8, i32 0, i32 3
  %64 = load i32, ptr %63, align 4, !tbaa !17
  %65 = sitofp i32 %64 to float
  %66 = fdiv float %62, %65
  br label %67

67:                                               ; preds = %59, %58
  %68 = phi float [ 0.000000e+00, %58 ], [ %66, %59 ]
  store float %68, ptr %12, align 4, !tbaa !13
  %69 = getelementptr inbounds %class.ANNkdStats, ptr %8, i32 0, i32 1
  %70 = load i32, ptr %69, align 4, !tbaa !21
  %71 = icmp sge i32 %70, 20
  br i1 %71, label %72, label %84

72:                                               ; preds = %67
  %73 = load float, ptr %12, align 4, !tbaa !13
  %74 = fcmp ogt float %73, 5.000000e-01
  br i1 %74, label %75, label %84

75:                                               ; preds = %72
  %76 = load ptr, ptr %3, align 8, !tbaa !5
  %77 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %76, ptr noundef @.str.145)
  %78 = load ptr, ptr %3, align 8, !tbaa !5
  %79 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %78, ptr noundef @.str.148)
  %80 = load ptr, ptr %3, align 8, !tbaa !5
  %81 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %80, ptr noundef @.str.147)
  %82 = load ptr, ptr %3, align 8, !tbaa !5
  %83 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %82, ptr noundef @.str.145)
  store i32 1, ptr %4, align 4, !tbaa !9
  br label %84

84:                                               ; preds = %75, %72, %67
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #5
  %85 = getelementptr inbounds %class.ANNkdStats, ptr %8, i32 0, i32 0
  %86 = load i32, ptr %85, align 4, !tbaa !24
  %87 = sitofp i32 %86 to double
  %88 = fmul double 2.000000e+00, %87
  %89 = getelementptr inbounds %class.ANNkdStats, ptr %8, i32 0, i32 1
  %90 = load i32, ptr %89, align 4, !tbaa !21
  %91 = sitofp i32 %90 to double
  %92 = call double @log(double noundef %91) #5
  %93 = call double @log(double noundef 2.000000e+00) #5
  %94 = fdiv double %92, %93
  %95 = fmul double %88, %94
  %96 = fptosi double %95 to i32
  store i32 %96, ptr %13, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #5
  %97 = getelementptr inbounds %class.ANNkdStats, ptr %8, i32 0, i32 1
  %98 = load i32, ptr %97, align 4, !tbaa !21
  %99 = sitofp i32 %98 to double
  %100 = getelementptr inbounds %class.ANNkdStats, ptr %8, i32 0, i32 2
  %101 = load i32, ptr %100, align 4, !tbaa !22
  %102 = sitofp i32 %101 to double
  %103 = fdiv double %99, %102
  %104 = call double @log(double noundef %103) #5
  %105 = call double @log(double noundef 2.000000e+00) #5
  %106 = fdiv double %104, %105
  %107 = fptosi double %106 to i32
  store i32 %107, ptr %14, align 4, !tbaa !11
  %108 = getelementptr inbounds %class.ANNkdStats, ptr %8, i32 0, i32 1
  %109 = load i32, ptr %108, align 4, !tbaa !21
  %110 = icmp sge i32 %109, 20
  br i1 %110, label %111, label %125

111:                                              ; preds = %84
  %112 = getelementptr inbounds %class.ANNkdStats, ptr %8, i32 0, i32 7
  %113 = load i32, ptr %112, align 4, !tbaa !25
  %114 = load i32, ptr %13, align 4, !tbaa !11
  %115 = icmp sgt i32 %113, %114
  br i1 %115, label %116, label %125

116:                                              ; preds = %111
  %117 = load ptr, ptr %3, align 8, !tbaa !5
  %118 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %117, ptr noundef @.str.145)
  %119 = load ptr, ptr %3, align 8, !tbaa !5
  %120 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %119, ptr noundef @.str.149)
  %121 = load ptr, ptr %3, align 8, !tbaa !5
  %122 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %121, ptr noundef @.str.147)
  %123 = load ptr, ptr %3, align 8, !tbaa !5
  %124 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %123, ptr noundef @.str.145)
  store i32 1, ptr %4, align 4, !tbaa !9
  br label %125

125:                                              ; preds = %116, %111, %84
  %126 = getelementptr inbounds %class.ANNkdStats, ptr %8, i32 0, i32 1
  %127 = load i32, ptr %126, align 4, !tbaa !21
  %128 = icmp sge i32 %127, 20
  br i1 %128, label %129, label %142

129:                                              ; preds = %125
  %130 = getelementptr inbounds %class.ANNkdStats, ptr %8, i32 0, i32 9
  %131 = load float, ptr %130, align 4, !tbaa !26
  %132 = fcmp ogt float %131, 2.000000e+01
  br i1 %132, label %133, label %142

133:                                              ; preds = %129
  %134 = load ptr, ptr %3, align 8, !tbaa !5
  %135 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %134, ptr noundef @.str.145)
  %136 = load ptr, ptr %3, align 8, !tbaa !5
  %137 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %136, ptr noundef @.str.150)
  %138 = load ptr, ptr %3, align 8, !tbaa !5
  %139 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %138, ptr noundef @.str.151)
  %140 = load ptr, ptr %3, align 8, !tbaa !5
  %141 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %140, ptr noundef @.str.145)
  store i32 1, ptr %4, align 4, !tbaa !9
  br label %142

142:                                              ; preds = %133, %129, %125
  %143 = load i32, ptr %4, align 4, !tbaa !9
  %144 = icmp ne i32 %143, 0
  br i1 %144, label %145, label %208

145:                                              ; preds = %142
  %146 = load ptr, ptr %3, align 8, !tbaa !5
  %147 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %146, ptr noundef @.str.152)
  %148 = load ptr, ptr %3, align 8, !tbaa !5
  %149 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %148, ptr noundef @.str.153)
  %150 = load i32, ptr %9, align 4, !tbaa !11
  %151 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %149, i32 noundef %150)
  %152 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %151, ptr noundef @.str.154)
  %153 = load i32, ptr %10, align 4, !tbaa !11
  %154 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %152, i32 noundef %153)
  %155 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %154, ptr noundef @.str.155)
  %156 = load i32, ptr %11, align 4, !tbaa !11
  %157 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %155, i32 noundef %156)
  %158 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %157, ptr noundef @.str.82)
  %159 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %158, ptr noundef @.str.156)
  %160 = getelementptr inbounds %class.ANNkdStats, ptr %8, i32 0, i32 3
  %161 = load i32, ptr %160, align 4, !tbaa !17
  %162 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %159, i32 noundef %161)
  %163 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %162, ptr noundef @.str.157)
  %164 = getelementptr inbounds %class.ANNkdStats, ptr %8, i32 0, i32 4
  %165 = load i32, ptr %164, align 4, !tbaa !23
  %166 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %163, i32 noundef %165)
  %167 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %166, ptr noundef @.str.158)
  %168 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %167, ptr noundef @.str.159)
  %169 = getelementptr inbounds %class.ANNkdStats, ptr %8, i32 0, i32 5
  %170 = load i32, ptr %169, align 4, !tbaa !19
  %171 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %168, i32 noundef %170)
  %172 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %171, ptr noundef @.str.12)
  %173 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %172, ptr noundef @.str.160)
  %174 = getelementptr inbounds %class.ANNkdStats, ptr %8, i32 0, i32 6
  %175 = load i32, ptr %174, align 4, !tbaa !20
  %176 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %173, i32 noundef %175)
  %177 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %176, ptr noundef @.str.12)
  %178 = load ptr, ptr %3, align 8, !tbaa !5
  %179 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %178, ptr noundef @.str.161)
  %180 = load float, ptr %12, align 4, !tbaa !13
  %181 = fmul float %180, 1.000000e+02
  %182 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEf(ptr noundef nonnull align 8 dereferenceable(8) %179, float noundef %181)
  %183 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %182, ptr noundef @.str.162)
  %184 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEf(ptr noundef nonnull align 8 dereferenceable(8) %183, float noundef 5.000000e+01)
  %185 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %184, ptr noundef @.str.163)
  %186 = load ptr, ptr %3, align 8, !tbaa !5
  %187 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %186, ptr noundef @.str.164)
  %188 = getelementptr inbounds %class.ANNkdStats, ptr %8, i32 0, i32 7
  %189 = load i32, ptr %188, align 4, !tbaa !25
  %190 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %187, i32 noundef %189)
  %191 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %190, ptr noundef @.str.154)
  %192 = load i32, ptr %14, align 4, !tbaa !11
  %193 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %191, i32 noundef %192)
  %194 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %193, ptr noundef @.str.155)
  %195 = load i32, ptr %13, align 4, !tbaa !11
  %196 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %194, i32 noundef %195)
  %197 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %196, ptr noundef @.str.82)
  %198 = load ptr, ptr %3, align 8, !tbaa !5
  %199 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %198, ptr noundef @.str.165)
  %200 = getelementptr inbounds %class.ANNkdStats, ptr %8, i32 0, i32 9
  %201 = load float, ptr %200, align 4, !tbaa !26
  %202 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEf(ptr noundef nonnull align 8 dereferenceable(8) %199, float noundef %201)
  %203 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %202, ptr noundef @.str.166)
  %204 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEf(ptr noundef nonnull align 8 dereferenceable(8) %203, float noundef 2.000000e+01)
  %205 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %204, ptr noundef @.str.82)
  %206 = load ptr, ptr %3, align 8, !tbaa !5
  %207 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %206, ptr noundef @.str.75)
  br label %208

208:                                              ; preds = %145, %142
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #5
  ret void
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN10ANNkdStatsC2Ev(ptr noundef nonnull align 4 dereferenceable(40)) unnamed_addr #3 align 2

; Function Attrs: nounwind
declare double @log(double noundef) #4

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEf(ptr noundef nonnull align 8 dereferenceable(8), float noundef) #3 align 2

attributes #0 = { inlinehint 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 #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 = { 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 #4 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { 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, !10, i64 0}
!10 = !{!"_ZTS7ANNbool", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"float", !7, i64 0}
!15 = !{!16, !16, i64 0}
!16 = !{!"vtable pointer", !8, i64 0}
!17 = !{!18, !12, i64 12}
!18 = !{!"_ZTS10ANNkdStats", !12, i64 0, !12, i64 4, !12, i64 8, !12, i64 12, !12, i64 16, !12, i64 20, !12, i64 24, !12, i64 28, !14, i64 32, !14, i64 36}
!19 = !{!18, !12, i64 20}
!20 = !{!18, !12, i64 24}
!21 = !{!18, !12, i64 4}
!22 = !{!18, !12, i64 8}
!23 = !{!18, !12, i64 16}
!24 = !{!18, !12, i64 0}
!25 = !{!18, !12, i64 28}
!26 = !{!18, !14, i64 36}


; 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.ANNkdStats = type { i32, i32, i32, i32, i32, i32, i32, i32, float, float }

@the_tree = external dso_local local_unnamed_addr global ptr, align 8
@.str.12 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.75 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.82 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.145 = external hidden unnamed_addr constant [61 x i8], align 1
@.str.146 = external hidden unnamed_addr constant [62 x i8], align 1
@.str.147 = external hidden unnamed_addr constant [62 x i8], align 1
@.str.148 = external hidden unnamed_addr constant [62 x i8], align 1
@.str.149 = external hidden unnamed_addr constant [59 x i8], align 1
@.str.150 = external hidden unnamed_addr constant [56 x i8], align 1
@.str.151 = external hidden unnamed_addr constant [60 x i8], align 1
@.str.152 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.153 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.154 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.155 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.156 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.157 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.158 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.159 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.160 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.161 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.162 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.163 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.164 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.165 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.166 = external hidden unnamed_addr constant [13 x i8], align 1

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8), 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

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
define dso_local void @_Z9treeStatsRSo7ANNbool(ptr noundef nonnull align 8 dereferenceable(8) %0, i32 noundef %1) local_unnamed_addr #3 {
  %3 = alloca %class.ANNkdStats, align 4
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %3) #5
  call void @_ZN10ANNkdStatsC2Ev(ptr noundef nonnull align 4 dereferenceable(40) %3)
  %4 = load ptr, ptr @the_tree, align 8, !tbaa !5
  %5 = load ptr, ptr %4, align 8, !tbaa !9
  %6 = getelementptr inbounds i8, ptr %5, i64 72
  %7 = load ptr, ptr %6, align 8
  call void %7(ptr noundef nonnull align 8 dereferenceable(64) %4, ptr noundef nonnull align 4 dereferenceable(40) %3)
  %8 = getelementptr inbounds i8, ptr %3, i64 12
  %9 = load i32, ptr %8, align 4, !tbaa !11
  %10 = getelementptr inbounds i8, ptr %3, i64 20
  %11 = load i32, ptr %10, align 4, !tbaa !15
  %12 = add nsw i32 %11, %9
  %13 = getelementptr inbounds i8, ptr %3, i64 24
  %14 = load i32, ptr %13, align 4, !tbaa !16
  %15 = add nsw i32 %12, %14
  %16 = getelementptr inbounds i8, ptr %3, i64 4
  %17 = getelementptr inbounds i8, ptr %3, i64 8
  %18 = load <2 x i32>, ptr %16, align 4, !tbaa !17
  %19 = sitofp <2 x i32> %18 to <2 x float>
  %20 = extractelement <2 x float> %19, i64 0
  %21 = extractelement <2 x float> %19, i64 1
  %22 = fdiv float %20, %21
  %23 = fmul float %22, 2.000000e+00
  %24 = fptosi float %23 to i32
  %25 = mul nsw i32 %24, 10
  %26 = extractelement <2 x i32> %18, i64 0
  %27 = icmp sgt i32 %26, 19
  %28 = icmp sgt i32 %15, %25
  %or.cond38 = select i1 %27, i1 %28, i1 false
  br i1 %or.cond38, label %29, label %34

29:                                               ; preds = %2
  %30 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %0, ptr noundef nonnull @.str.145)
  %31 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %0, ptr noundef nonnull @.str.146)
  %32 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %0, ptr noundef nonnull @.str.147)
  %33 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %0, ptr noundef nonnull @.str.145)
  %.pre = load i32, ptr %8, align 4, !tbaa !11
  %.pre44 = load i32, ptr %16, align 4, !tbaa !18
  br label %34

34:                                               ; preds = %29, %2
  %35 = phi i32 [ %.pre44, %29 ], [ %26, %2 ]
  %36 = phi i32 [ %.pre, %29 ], [ %9, %2 ]
  %.0 = phi i32 [ 1, %29 ], [ %1, %2 ]
  %37 = icmp eq i32 %36, 0
  %38 = getelementptr inbounds i8, ptr %3, i64 16
  %39 = load i32, ptr %38, align 4
  %40 = sitofp i32 %39 to float
  %41 = sitofp i32 %36 to float
  %42 = fdiv float %40, %41
  %43 = select i1 %37, float 0.000000e+00, float %42
  %44 = icmp sgt i32 %35, 19
  %45 = fcmp ogt float %43, 5.000000e-01
  %or.cond = select i1 %44, i1 %45, i1 false
  br i1 %or.cond, label %46, label %51

46:                                               ; preds = %34
  %47 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %0, ptr noundef nonnull @.str.145)
  %48 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %0, ptr noundef nonnull @.str.148)
  %49 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %0, ptr noundef nonnull @.str.147)
  %50 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %0, ptr noundef nonnull @.str.145)
  %.pre45 = load i32, ptr %16, align 4, !tbaa !18
  br label %51

51:                                               ; preds = %46, %34
  %52 = phi i32 [ %.pre45, %46 ], [ %35, %34 ]
  %.1 = phi i32 [ 1, %46 ], [ %.0, %34 ]
  %53 = load i32, ptr %3, align 4, !tbaa !19
  %54 = sitofp i32 %53 to double
  %55 = fmul double %54, 2.000000e+00
  %56 = sitofp i32 %52 to double
  %57 = call double @log(double noundef %56) #5
  %58 = fdiv double %57, 0x3FE62E42FEFA39EF
  %59 = fmul double %55, %58
  %60 = fptosi double %59 to i32
  %61 = load i32, ptr %16, align 4, !tbaa !18
  %62 = sitofp i32 %61 to double
  %63 = load i32, ptr %17, align 4, !tbaa !20
  %64 = sitofp i32 %63 to double
  %65 = fdiv double %62, %64
  %66 = call double @log(double noundef %65) #5
  %67 = fdiv double %66, 0x3FE62E42FEFA39EF
  %68 = fptosi double %67 to i32
  %69 = load i32, ptr %16, align 4, !tbaa !18
  %70 = icmp sgt i32 %69, 19
  %71 = getelementptr inbounds i8, ptr %3, i64 28
  %72 = load i32, ptr %71, align 4
  %73 = icmp sgt i32 %72, %60
  %or.cond41 = select i1 %70, i1 %73, i1 false
  br i1 %or.cond41, label %.thread47, label %74

74:                                               ; preds = %51
  %75 = icmp sgt i32 %69, 19
  %76 = getelementptr inbounds i8, ptr %3, i64 36
  %77 = load float, ptr %76, align 4
  %78 = fcmp ogt float %77, 2.000000e+01
  %or.cond4 = select i1 %75, i1 %78, i1 false
  br i1 %or.cond4, label %.thread, label %92

.thread47:                                        ; preds = %51
  %79 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %0, ptr noundef nonnull @.str.145)
  %80 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %0, ptr noundef nonnull @.str.149)
  %81 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %0, ptr noundef nonnull @.str.147)
  %82 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %0, ptr noundef nonnull @.str.145)
  %.pre46 = load i32, ptr %16, align 4, !tbaa !18
  %83 = icmp sgt i32 %.pre46, 19
  %84 = getelementptr inbounds i8, ptr %3, i64 36
  %85 = load float, ptr %84, align 4
  %86 = fcmp ogt float %85, 2.000000e+01
  %or.cond449 = select i1 %83, i1 %86, i1 false
  br i1 %or.cond449, label %.thread, label %.thread51

.thread:                                          ; preds = %.thread47, %74
  %87 = phi ptr [ %84, %.thread47 ], [ %76, %74 ]
  %88 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %0, ptr noundef nonnull @.str.145)
  %89 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %0, ptr noundef nonnull @.str.150)
  %90 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %0, ptr noundef nonnull @.str.151)
  %91 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %0, ptr noundef nonnull @.str.145)
  br label %.thread51

92:                                               ; preds = %74
  %.not = icmp eq i32 %.1, 0
  br i1 %.not, label %138, label %.thread51

.thread51:                                        ; preds = %.thread47, %.thread, %92
  %93 = phi ptr [ %87, %.thread ], [ %76, %92 ], [ %84, %.thread47 ]
  %94 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %0, ptr noundef nonnull @.str.152)
  %95 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %0, ptr noundef nonnull @.str.153)
  %96 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %95, i32 noundef %15)
  %97 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %96, ptr noundef nonnull @.str.154)
  %98 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %97, i32 noundef %24)
  %99 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %98, ptr noundef nonnull @.str.155)
  %100 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %99, i32 noundef %25)
  %101 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %100, ptr noundef nonnull @.str.82)
  %102 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %101, ptr noundef nonnull @.str.156)
  %103 = load i32, ptr %8, align 4, !tbaa !11
  %104 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %102, i32 noundef %103)
  %105 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %104, ptr noundef nonnull @.str.157)
  %106 = load i32, ptr %38, align 4, !tbaa !21
  %107 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %105, i32 noundef %106)
  %108 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %107, ptr noundef nonnull @.str.158)
  %109 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %108, ptr noundef nonnull @.str.159)
  %110 = load i32, ptr %10, align 4, !tbaa !15
  %111 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %109, i32 noundef %110)
  %112 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %111, ptr noundef nonnull @.str.12)
  %113 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %112, ptr noundef nonnull @.str.160)
  %114 = load i32, ptr %13, align 4, !tbaa !16
  %115 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %113, i32 noundef %114)
  %116 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %115, ptr noundef nonnull @.str.12)
  %117 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %0, ptr noundef nonnull @.str.161)
  %118 = fmul float %43, 1.000000e+02
  %119 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEf(ptr noundef nonnull align 8 dereferenceable(8) %117, float noundef %118)
  %120 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %119, ptr noundef nonnull @.str.162)
  %121 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEf(ptr noundef nonnull align 8 dereferenceable(8) %120, float noundef 5.000000e+01)
  %122 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %121, ptr noundef nonnull @.str.163)
  %123 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %0, ptr noundef nonnull @.str.164)
  %124 = load i32, ptr %71, align 4, !tbaa !22
  %125 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %123, i32 noundef %124)
  %126 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %125, ptr noundef nonnull @.str.154)
  %127 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %126, i32 noundef %68)
  %128 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %127, ptr noundef nonnull @.str.155)
  %129 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %128, i32 noundef %60)
  %130 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %129, ptr noundef nonnull @.str.82)
  %131 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %0, ptr noundef nonnull @.str.165)
  %132 = load float, ptr %93, align 4, !tbaa !23
  %133 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEf(ptr noundef nonnull align 8 dereferenceable(8) %131, float noundef %132)
  %134 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %133, ptr noundef nonnull @.str.166)
  %135 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEf(ptr noundef nonnull align 8 dereferenceable(8) %134, float noundef 2.000000e+01)
  %136 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %135, ptr noundef nonnull @.str.82)
  %137 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %0, ptr noundef nonnull @.str.75)
  br label %138

138:                                              ; preds = %.thread51, %92
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %3) #5
  ret void
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN10ANNkdStatsC2Ev(ptr noundef nonnull align 4 dereferenceable(40)) unnamed_addr #3 align 2

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

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEf(ptr noundef nonnull align 8 dereferenceable(8), float noundef) local_unnamed_addr #3 align 2

attributes #0 = { inlinehint 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 #1 = { mustprogress 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 = { 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 #4 = { mustprogress nofree nounwind willreturn memory(write) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { 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, !10, i64 0}
!10 = !{!"vtable pointer", !8, i64 0}
!11 = !{!12, !13, i64 12}
!12 = !{!"_ZTS10ANNkdStats", !13, i64 0, !13, i64 4, !13, i64 8, !13, i64 12, !13, i64 16, !13, i64 20, !13, i64 24, !13, i64 28, !14, i64 32, !14, i64 36}
!13 = !{!"int", !7, i64 0}
!14 = !{!"float", !7, i64 0}
!15 = !{!12, !13, i64 20}
!16 = !{!12, !13, i64 24}
!17 = !{!13, !13, i64 0}
!18 = !{!12, !13, i64 4}
!19 = !{!12, !13, i64 0}
!20 = !{!12, !13, i64 8}
!21 = !{!12, !13, i64 16}
!22 = !{!12, !13, i64 28}
!23 = !{!12, !14, i64 36}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,ReassociatePass,SLPVectorizerPass,SROAPass,SimplifyCFGPass