; LLVM IR from hoodoer/ENNEoS :: enneosEncoder/main.ll (Z30doubleShellcodeFitnessFunctionR13BrainTestData)

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%"class.std::vector.3" = type { %"struct.std::_Vector_base.4" }
%"struct.std::_Vector_base.4" = type { %"struct.std::_Vector_base<ShellcodePieceData, std::allocator<ShellcodePieceData>>::_Vector_impl" }
%"struct.std::_Vector_base<ShellcodePieceData, std::allocator<ShellcodePieceData>>::_Vector_impl" = type { %"struct.std::_Vector_base<ShellcodePieceData, std::allocator<ShellcodePieceData>>::_Vector_impl_data" }
%"struct.std::_Vector_base<ShellcodePieceData, std::allocator<ShellcodePieceData>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::basic_ostream" = type { ptr, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }
%"struct.std::_Bit_reference" = type { ptr, i64 }
%struct.BrainTestData = type { %"class.std::vector.28", %"class.std::vector.32", %"class.std::vector.37" }
%"class.std::vector.28" = type { %"struct.std::_Bvector_base" }
%"struct.std::_Bvector_base" = type { %"struct.std::_Bvector_base<std::allocator<bool>>::_Bvector_impl" }
%"struct.std::_Bvector_base<std::allocator<bool>>::_Bvector_impl" = type { %"struct.std::_Bvector_base<std::allocator<bool>>::_Bvector_impl_data" }
%"struct.std::_Bvector_base<std::allocator<bool>>::_Bvector_impl_data" = type { %"struct.std::_Bit_iterator", %"struct.std::_Bit_iterator", ptr }
%"struct.std::_Bit_iterator" = type { %"struct.std::_Bit_iterator_base.base", [4 x i8] }
%"struct.std::_Bit_iterator_base.base" = type <{ ptr, i32 }>
%"class.std::vector.32" = type { %"struct.std::_Vector_base.33" }
%"struct.std::_Vector_base.33" = type { %"struct.std::_Vector_base<std::vector<unsigned char>, std::allocator<std::vector<unsigned char>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::vector<unsigned char>, std::allocator<std::vector<unsigned char>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::vector<unsigned char>, std::allocator<std::vector<unsigned char>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::vector<unsigned char>, std::allocator<std::vector<unsigned char>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.37" = type { %"struct.std::_Vector_base.38" }
%"struct.std::_Vector_base.38" = type { %"struct.std::_Vector_base<std::vector<double>, std::allocator<std::vector<double>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::vector<double>, std::allocator<std::vector<double>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::vector<double>, std::allocator<std::vector<double>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::vector<double>, std::allocator<std::vector<double>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%struct.ShellcodePieceData = type { i32, %"class.std::vector.8", %"class.std::vector.13", %class.CGenome }
%"class.std::vector.8" = type { %"struct.std::_Vector_base.9" }
%"struct.std::_Vector_base.9" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.13" = type { %"struct.std::_Vector_base.14" }
%"struct.std::_Vector_base.14" = type { %"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl" }
%"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl" = type { %"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl_data" }
%"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%class.CGenome = type <{ i32, [4 x i8], %"class.std::vector.18", %"class.std::vector.23", ptr, i32, [4 x i8], double, double, double, i32, i32, i32, [4 x i8] }>
%"class.std::vector.18" = type { %"struct.std::_Vector_base.19" }
%"struct.std::_Vector_base.19" = type { %"struct.std::_Vector_base<SNeuronGene, std::allocator<SNeuronGene>>::_Vector_impl" }
%"struct.std::_Vector_base<SNeuronGene, std::allocator<SNeuronGene>>::_Vector_impl" = type { %"struct.std::_Vector_base<SNeuronGene, std::allocator<SNeuronGene>>::_Vector_impl_data" }
%"struct.std::_Vector_base<SNeuronGene, std::allocator<SNeuronGene>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.23" = type { %"struct.std::_Vector_base.24" }
%"struct.std::_Vector_base.24" = type { %"struct.std::_Vector_base<SLinkGene, std::allocator<SLinkGene>>::_Vector_impl" }
%"struct.std::_Vector_base<SLinkGene, std::allocator<SLinkGene>>::_Vector_impl" = type { %"struct.std::_Vector_base<SLinkGene, std::allocator<SLinkGene>>::_Vector_impl_data" }
%"struct.std::_Vector_base<SLinkGene, std::allocator<SLinkGene>>::_Vector_impl_data" = type { ptr, ptr, ptr }

@chunkCounter = external dso_local global i32, align 4
@numOutputs = external dso_local global i32, align 4
@shellcodePieces = external dso_local global %"class.std::vector.3", align 8
@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@lowestDiff = external dso_local global double, align 8
@lowestCharDiff = external dso_local global i32, align 4
@.str.9 = external hidden unnamed_addr constant [46 x i8], align 1
@_ZZ30doubleShellcodeFitnessFunctionR13BrainTestDataE11bonusAmount = external hidden global i32, align 4
@_ZZ30doubleShellcodeFitnessFunctionR13BrainTestDataE8nopValue = external hidden global double, align 8
@_ZZ30doubleShellcodeFitnessFunctionR13BrainTestDataE11nopRawValue = external hidden global double, align 8
@_ZGVZ30doubleShellcodeFitnessFunctionR13BrainTestDataE11nopRawValue = external hidden global i64, align 8
@.str.12 = external hidden unnamed_addr constant [60 x i8], align 1

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

; Function Attrs: 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) #1

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

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_(ptr noundef nonnull align 8 dereferenceable(8)) #1

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(168) ptr @_ZNSt6vectorI18ShellcodePieceDataSaIS0_EE2atEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEE2atEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IdSaIdEESaIS1_EE2atEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #2 align 2

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fabs.f64(double) #4

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt6vectorIhSaIhEE2atEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IhSaIhEESaIS1_EE2atEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #2 align 2

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.abs.i32(i32, i1 immarg) #4

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEd(ptr noundef nonnull align 8 dereferenceable(8), double noundef) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local { ptr, i64 } @_ZNSt6vectorIbSaIbEE2atEm(ptr noundef nonnull align 8 dereferenceable(40), i64 noundef) #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNKSt14_Bit_referencecvbEv(ptr noundef nonnull align 8 dereferenceable(16)) #3 align 2

; Function Attrs: mustprogress uwtable
define dso_local noundef double @_Z30doubleShellcodeFitnessFunctionR13BrainTestData(ptr noundef nonnull align 8 dereferenceable(88) %0) #2 {
  %2 = alloca double, align 8
  %3 = alloca ptr, align 8
  %4 = alloca double, align 8
  %5 = alloca double, align 8
  %6 = alloca double, align 8
  %7 = alloca double, align 8
  %8 = alloca double, align 8
  %9 = alloca i32, align 4
  %10 = alloca i8, align 1
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca %"struct.std::_Bit_reference", align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #5
  store double 0.000000e+00, ptr %4, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #5
  store double 0.000000e+00, ptr %7, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #5
  %15 = load atomic i8, ptr @_ZGVZ30doubleShellcodeFitnessFunctionR13BrainTestDataE11nopRawValue acquire, align 8
  %16 = icmp eq i8 %15, 0
  br i1 %16, label %17, label %23, !prof !11

17:                                               ; preds = %1
  %18 = call i32 @__cxa_guard_acquire(ptr @_ZGVZ30doubleShellcodeFitnessFunctionR13BrainTestDataE11nopRawValue) #5
  %19 = icmp ne i32 %18, 0
  br i1 %19, label %20, label %23

20:                                               ; preds = %17
  %21 = load double, ptr @_ZZ30doubleShellcodeFitnessFunctionR13BrainTestDataE8nopValue, align 8, !tbaa !9
  %22 = fdiv double %21, 2.550000e+02
  store double %22, ptr @_ZZ30doubleShellcodeFitnessFunctionR13BrainTestDataE11nopRawValue, align 8, !tbaa !9
  call void @__cxa_guard_release(ptr @_ZGVZ30doubleShellcodeFitnessFunctionR13BrainTestDataE11nopRawValue) #5
  br label %23

23:                                               ; preds = %20, %17, %1
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #5
  store i32 0, ptr %9, align 4, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 1, ptr %10) #5
  store i8 1, ptr %10, align 1, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #5
  store i32 0, ptr %11, align 4, !tbaa !12
  br label %24

24:                                               ; preds = %129, %23
  %25 = load i32, ptr %11, align 4, !tbaa !12
  %26 = zext i32 %25 to i64
  %27 = load ptr, ptr %3, align 8, !tbaa !5
  %28 = getelementptr inbounds %struct.BrainTestData, ptr %27, i32 0, i32 0
  %29 = call noundef i64 @_ZNKSt6vectorIbSaIbEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(40) %28) #5
  %30 = icmp ult i64 %26, %29
  br i1 %30, label %32, label %31

31:                                               ; preds = %24
  store i32 2, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #5
  br label %132

32:                                               ; preds = %24
  store double 0.000000e+00, ptr %5, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #5
  store i32 0, ptr %13, align 4, !tbaa !12
  br label %33

33:                                               ; preds = %101, %32
  %34 = load i32, ptr %13, align 4, !tbaa !12
  %35 = load i32, ptr @numOutputs, align 4, !tbaa !12
  %36 = icmp ult i32 %34, %35
  br i1 %36, label %38, label %37

37:                                               ; preds = %33
  store i32 5, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #5
  br label %104

38:                                               ; preds = %33
  call void @llvm.lifetime.start.p0(i64 16, ptr %14) #5
  %39 = load ptr, ptr %3, align 8, !tbaa !5
  %40 = getelementptr inbounds %struct.BrainTestData, ptr %39, i32 0, i32 0
  %41 = load i32, ptr %11, align 4, !tbaa !12
  %42 = zext i32 %41 to i64
  %43 = call { ptr, i64 } @_ZNSt6vectorIbSaIbEE2atEm(ptr noundef nonnull align 8 dereferenceable(40) %40, i64 noundef %42)
  %44 = getelementptr inbounds { ptr, i64 }, ptr %14, i32 0, i32 0
  %45 = extractvalue { ptr, i64 } %43, 0
  store ptr %45, ptr %44, align 8
  %46 = getelementptr inbounds { ptr, i64 }, ptr %14, i32 0, i32 1
  %47 = extractvalue { ptr, i64 } %43, 1
  store i64 %47, ptr %46, align 8
  %48 = call noundef zeroext i1 @_ZNKSt14_Bit_referencecvbEv(ptr noundef nonnull align 8 dereferenceable(16) %14) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %14) #5
  br i1 %48, label %49, label %58

49:                                               ; preds = %38
  %50 = load i32, ptr @chunkCounter, align 4, !tbaa !12
  %51 = zext i32 %50 to i64
  %52 = call noundef nonnull align 8 dereferenceable(168) ptr @_ZNSt6vectorI18ShellcodePieceDataSaIS0_EE2atEm(ptr noundef nonnull align 8 dereferenceable(24) @shellcodePieces, i64 noundef %51)
  %53 = getelementptr inbounds %struct.ShellcodePieceData, ptr %52, i32 0, i32 1
  %54 = load i32, ptr %13, align 4, !tbaa !12
  %55 = zext i32 %54 to i64
  %56 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEE2atEm(ptr noundef nonnull align 8 dereferenceable(24) %53, i64 noundef %55)
  %57 = load double, ptr %56, align 8, !tbaa !9
  store double %57, ptr %8, align 8, !tbaa !9
  br label %60

58:                                               ; preds = %38
  %59 = load double, ptr @_ZZ30doubleShellcodeFitnessFunctionR13BrainTestDataE11nopRawValue, align 8, !tbaa !9
  store double %59, ptr %8, align 8, !tbaa !9
  br label %60

60:                                               ; preds = %58, %49
  %61 = load double, ptr %8, align 8, !tbaa !9
  %62 = load ptr, ptr %3, align 8, !tbaa !5
  %63 = getelementptr inbounds %struct.BrainTestData, ptr %62, i32 0, i32 2
  %64 = load i32, ptr %11, align 4, !tbaa !12
  %65 = zext i32 %64 to i64
  %66 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IdSaIdEESaIS1_EE2atEm(ptr noundef nonnull align 8 dereferenceable(24) %63, i64 noundef %65)
  %67 = load i32, ptr %13, align 4, !tbaa !12
  %68 = zext i32 %67 to i64
  %69 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEE2atEm(ptr noundef nonnull align 8 dereferenceable(24) %66, i64 noundef %68)
  %70 = load double, ptr %69, align 8, !tbaa !9
  %71 = fsub double %61, %70
  %72 = call double @llvm.fabs.f64(double %71)
  store double %72, ptr %6, align 8, !tbaa !9
  %73 = load double, ptr %6, align 8, !tbaa !9
  %74 = load double, ptr %5, align 8, !tbaa !9
  %75 = fadd double %74, %73
  store double %75, ptr %5, align 8, !tbaa !9
  %76 = load double, ptr %6, align 8, !tbaa !9
  %77 = fcmp olt double %76, 3.000000e-03
  br i1 %77, label %78, label %83

78:                                               ; preds = %60
  %79 = load i32, ptr @_ZZ30doubleShellcodeFitnessFunctionR13BrainTestDataE11bonusAmount, align 4, !tbaa !12
  %80 = sitofp i32 %79 to double
  %81 = load double, ptr %7, align 8, !tbaa !9
  %82 = fadd double %81, %80
  store double %82, ptr %7, align 8, !tbaa !9
  br label %83

83:                                               ; preds = %78, %60
  %84 = load double, ptr %8, align 8, !tbaa !9
  %85 = fmul double %84, 2.550000e+02
  %86 = fptosi double %85 to i32
  %87 = load ptr, ptr %3, align 8, !tbaa !5
  %88 = getelementptr inbounds %struct.BrainTestData, ptr %87, i32 0, i32 1
  %89 = load i32, ptr %11, align 4, !tbaa !12
  %90 = zext i32 %89 to i64
  %91 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IhSaIhEESaIS1_EE2atEm(ptr noundef nonnull align 8 dereferenceable(24) %88, i64 noundef %90)
  %92 = load i32, ptr %13, align 4, !tbaa !12
  %93 = zext i32 %92 to i64
  %94 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt6vectorIhSaIhEE2atEm(ptr noundef nonnull align 8 dereferenceable(24) %91, i64 noundef %93)
  %95 = load i8, ptr %94, align 1, !tbaa !16
  %96 = zext i8 %95 to i32
  %97 = sub nsw i32 %86, %96
  %98 = call i32 @llvm.abs.i32(i32 %97, i1 true)
  %99 = load i32, ptr %9, align 4, !tbaa !12
  %100 = add nsw i32 %99, %98
  store i32 %100, ptr %9, align 4, !tbaa !12
  br label %101

101:                                              ; preds = %83
  %102 = load i32, ptr %13, align 4, !tbaa !12
  %103 = add i32 %102, 1
  store i32 %103, ptr %13, align 4, !tbaa !12
  br label %33, !llvm.loop !17

104:                                              ; preds = %37
  %105 = load double, ptr %5, align 8, !tbaa !9
  %106 = load i32, ptr @numOutputs, align 4, !tbaa !12
  %107 = uitofp i32 %106 to double
  %108 = fdiv double %105, %107
  store double %108, ptr %5, align 8, !tbaa !9
  %109 = load double, ptr %5, align 8, !tbaa !9
  %110 = fsub double 1.000000e+00, %109
  %111 = call double @llvm.fabs.f64(double %110)
  %112 = load double, ptr %4, align 8, !tbaa !9
  %113 = fadd double %112, %111
  store double %113, ptr %4, align 8, !tbaa !9
  %114 = load double, ptr %5, align 8, !tbaa !9
  %115 = load double, ptr @lowestDiff, align 8, !tbaa !9
  %116 = fcmp olt double %114, %115
  br i1 %116, label %117, label %124

117:                                              ; preds = %104
  %118 = load double, ptr %5, align 8, !tbaa !9
  store double %118, ptr @lowestDiff, align 8, !tbaa !9
  %119 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @_ZSt5fixedRSt8ios_base)
  %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.9)
  %121 = load double, ptr @lowestDiff, align 8, !tbaa !9
  %122 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEd(ptr noundef nonnull align 8 dereferenceable(8) %120, double noundef %121)
  %123 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %122, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  br label %124

124:                                              ; preds = %117, %104
  %125 = load i32, ptr %9, align 4, !tbaa !12
  %126 = icmp ne i32 %125, 0
  br i1 %126, label %127, label %128

127:                                              ; preds = %124
  store i8 0, ptr %10, align 1, !tbaa !14
  br label %128

128:                                              ; preds = %127, %124
  br label %129

129:                                              ; preds = %128
  %130 = load i32, ptr %11, align 4, !tbaa !12
  %131 = add i32 %130, 1
  store i32 %131, ptr %11, align 4, !tbaa !12
  br label %24, !llvm.loop !19

132:                                              ; preds = %31
  %133 = load i32, ptr %9, align 4, !tbaa !12
  %134 = load i32, ptr @lowestCharDiff, align 4, !tbaa !12
  %135 = icmp slt i32 %133, %134
  br i1 %135, label %136, label %138

136:                                              ; preds = %132
  %137 = load i32, ptr %9, align 4, !tbaa !12
  store i32 %137, ptr @lowestCharDiff, align 4, !tbaa !12
  br label %138

138:                                              ; preds = %136, %132
  %139 = load i8, ptr %10, align 1, !tbaa !14, !range !20, !noundef !21
  %140 = trunc i8 %139 to i1
  br i1 %140, label %141, label %144

141:                                              ; preds = %138
  %142 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.12)
  %143 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %142, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  store double -1.000000e+00, ptr %2, align 8
  store i32 1, ptr %12, align 4
  br label %154

144:                                              ; preds = %138
  %145 = load double, ptr %7, align 8, !tbaa !9
  %146 = load double, ptr %4, align 8, !tbaa !9
  %147 = fadd double %146, %145
  store double %147, ptr %4, align 8, !tbaa !9
  %148 = load double, ptr %4, align 8, !tbaa !9
  %149 = fadd double %148, 2.000000e+00
  store double %149, ptr %4, align 8, !tbaa !9
  %150 = load double, ptr %4, align 8, !tbaa !9
  %151 = load double, ptr %4, align 8, !tbaa !9
  %152 = fmul double %150, %151
  store double %152, ptr %4, align 8, !tbaa !9
  %153 = load double, ptr %4, align 8, !tbaa !9
  store double %153, ptr %2, align 8
  store i32 1, ptr %12, align 4
  br label %154

154:                                              ; preds = %144, %141
  call void @llvm.lifetime.end.p0(i64 1, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #5
  %155 = load double, ptr %2, align 8
  ret double %155
}

; Function Attrs: nounwind
declare i32 @__cxa_guard_acquire(ptr) #5

; Function Attrs: nounwind
declare void @__cxa_guard_release(ptr) #5

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(216) ptr @_ZSt5fixedRSt8ios_base(ptr noundef nonnull align 8 dereferenceable(216)) #1

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { 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 #3 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
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 = !{!"double", !7, i64 0}
!11 = !{!"branch_weights", i32 1, i32 1048575}
!12 = !{!13, !13, i64 0}
!13 = !{!"int", !7, i64 0}
!14 = !{!15, !15, i64 0}
!15 = !{!"bool", !7, i64 0}
!16 = !{!7, !7, i64 0}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
!19 = distinct !{!19, !18}
!20 = !{i8 0, i8 2}
!21 = !{}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%"class.std::vector.3" = type { %"struct.std::_Vector_base.4" }
%"struct.std::_Vector_base.4" = type { %"struct.std::_Vector_base<ShellcodePieceData, std::allocator<ShellcodePieceData>>::_Vector_impl" }
%"struct.std::_Vector_base<ShellcodePieceData, std::allocator<ShellcodePieceData>>::_Vector_impl" = type { %"struct.std::_Vector_base<ShellcodePieceData, std::allocator<ShellcodePieceData>>::_Vector_impl_data" }
%"struct.std::_Vector_base<ShellcodePieceData, std::allocator<ShellcodePieceData>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::basic_ostream" = type { ptr, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }
%"struct.std::_Bit_reference" = type { ptr, i64 }

@chunkCounter = external dso_local local_unnamed_addr global i32, align 4
@numOutputs = external dso_local local_unnamed_addr global i32, align 4
@shellcodePieces = external dso_local global %"class.std::vector.3", align 8
@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@lowestDiff = external dso_local local_unnamed_addr global double, align 8
@lowestCharDiff = external dso_local local_unnamed_addr global i32, align 4
@.str.9 = external hidden unnamed_addr constant [46 x i8], align 1
@_ZZ30doubleShellcodeFitnessFunctionR13BrainTestDataE11bonusAmount = external hidden local_unnamed_addr global i32, align 4
@_ZZ30doubleShellcodeFitnessFunctionR13BrainTestDataE8nopValue = external hidden local_unnamed_addr global double, align 8
@_ZZ30doubleShellcodeFitnessFunctionR13BrainTestDataE11nopRawValue = external hidden local_unnamed_addr global double, align 8
@_ZGVZ30doubleShellcodeFitnessFunctionR13BrainTestDataE11nopRawValue = external hidden global i64, align 8
@.str.12 = external hidden unnamed_addr constant [60 x i8], align 1

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

; Function Attrs: 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 #1

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

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_(ptr noundef nonnull align 8 dereferenceable(8)) #1

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(168) ptr @_ZNSt6vectorI18ShellcodePieceDataSaIS0_EE2atEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEE2atEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IdSaIdEESaIS1_EE2atEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fabs.f64(double) #4

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt6vectorIhSaIhEE2atEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IhSaIhEESaIS1_EE2atEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.abs.i32(i32, i1 immarg) #4

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

; Function Attrs: mustprogress uwtable
declare dso_local { ptr, i64 } @_ZNSt6vectorIbSaIbEE2atEm(ptr noundef nonnull align 8 dereferenceable(40), i64 noundef) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNKSt14_Bit_referencecvbEv(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
define dso_local noundef double @_Z30doubleShellcodeFitnessFunctionR13BrainTestData(ptr noundef nonnull align 8 dereferenceable(88) %0) local_unnamed_addr #2 {
  %2 = alloca %"struct.std::_Bit_reference", align 8
  %3 = load atomic i8, ptr @_ZGVZ30doubleShellcodeFitnessFunctionR13BrainTestDataE11nopRawValue acquire, align 8
  %4 = icmp eq i8 %3, 0
  br i1 %4, label %5, label %10, !prof !5

5:                                                ; preds = %1
  %6 = tail call i32 @__cxa_guard_acquire(ptr nonnull @_ZGVZ30doubleShellcodeFitnessFunctionR13BrainTestDataE11nopRawValue) #6
  %.not = icmp eq i32 %6, 0
  br i1 %.not, label %10, label %7

7:                                                ; preds = %5
  %8 = load double, ptr @_ZZ30doubleShellcodeFitnessFunctionR13BrainTestDataE8nopValue, align 8, !tbaa !6
  %9 = fdiv double %8, 2.550000e+02
  store double %9, ptr @_ZZ30doubleShellcodeFitnessFunctionR13BrainTestDataE11nopRawValue, align 8, !tbaa !6
  tail call void @__cxa_guard_release(ptr nonnull @_ZGVZ30doubleShellcodeFitnessFunctionR13BrainTestDataE11nopRawValue) #6
  br label %10

10:                                               ; preds = %7, %5, %1
  %11 = tail call noundef i64 @_ZNKSt6vectorIbSaIbEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(40) %0) #6
  %.not67 = icmp eq i64 %11, 0
  br i1 %.not67, label %._crit_edge62, label %.preheader.lr.ph

.preheader.lr.ph:                                 ; preds = %10
  %12 = getelementptr inbounds i8, ptr %2, i64 8
  %13 = getelementptr inbounds i8, ptr %0, i64 64
  %14 = getelementptr inbounds i8, ptr %0, i64 40
  br label %.preheader

.preheader:                                       ; preds = %.preheader.lr.ph, %65
  %15 = phi i64 [ 0, %.preheader.lr.ph ], [ %67, %65 ]
  %.03661 = phi i32 [ 0, %.preheader.lr.ph ], [ %66, %65 ]
  %.03760 = phi i1 [ true, %.preheader.lr.ph ], [ %spec.select, %65 ]
  %.03859 = phi i32 [ 0, %.preheader.lr.ph ], [ %.139.lcssa, %65 ]
  %.04158 = phi double [ 0.000000e+00, %.preheader.lr.ph ], [ %.142.lcssa, %65 ]
  %.04557 = phi double [ 0.000000e+00, %.preheader.lr.ph ], [ %23, %65 ]
  %16 = load i32, ptr @numOutputs, align 4, !tbaa !10
  %.not68 = icmp eq i32 %16, 0
  br i1 %.not68, label %._crit_edge, label %.lr.ph

._crit_edge62:                                    ; preds = %65, %10
  %.045.lcssa = phi double [ 0.000000e+00, %10 ], [ %23, %65 ]
  %.041.lcssa = phi double [ 0.000000e+00, %10 ], [ %.142.lcssa, %65 ]
  %.038.lcssa = phi i32 [ 0, %10 ], [ %.139.lcssa, %65 ]
  %.037.lcssa = phi i1 [ true, %10 ], [ %spec.select, %65 ]
  %17 = load i32, ptr @lowestCharDiff, align 4, !tbaa !10
  %18 = icmp slt i32 %.038.lcssa, %17
  br i1 %18, label %70, label %71

._crit_edge:                                      ; preds = %36, %.preheader
  %.044.lcssa = phi double [ 0.000000e+00, %.preheader ], [ %42, %36 ]
  %.142.lcssa = phi double [ %.04158, %.preheader ], [ %.2, %36 ]
  %.139.lcssa = phi i32 [ %.03859, %.preheader ], [ %55, %36 ]
  %.lcssa = phi i32 [ 0, %.preheader ], [ %56, %36 ]
  %19 = uitofp i32 %.lcssa to double
  %20 = fdiv double %.044.lcssa, %19
  %21 = fsub double 1.000000e+00, %20
  %22 = call double @llvm.fabs.f64(double %21)
  %23 = fadd double %.04557, %22
  %24 = load double, ptr @lowestDiff, align 8, !tbaa !6
  %25 = fcmp olt double %20, %24
  br i1 %25, label %59, label %65

.lr.ph:                                           ; preds = %.preheader, %36
  %indvars.iv = phi i64 [ %indvars.iv.next, %36 ], [ 0, %.preheader ]
  %.13952 = phi i32 [ %55, %36 ], [ %.03859, %.preheader ]
  %.14251 = phi double [ %.2, %36 ], [ %.04158, %.preheader ]
  %.04450 = phi double [ %42, %36 ], [ 0.000000e+00, %.preheader ]
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %2) #6
  %26 = call { ptr, i64 } @_ZNSt6vectorIbSaIbEE2atEm(ptr noundef nonnull align 8 dereferenceable(40) %0, i64 noundef %15)
  %27 = extractvalue { ptr, i64 } %26, 0
  store ptr %27, ptr %2, align 8
  %28 = extractvalue { ptr, i64 } %26, 1
  store i64 %28, ptr %12, align 8
  %29 = call noundef zeroext i1 @_ZNKSt14_Bit_referencecvbEv(ptr noundef nonnull align 8 dereferenceable(16) %2) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %2) #6
  br i1 %29, label %30, label %36

30:                                               ; preds = %.lr.ph
  %31 = load i32, ptr @chunkCounter, align 4, !tbaa !10
  %32 = zext i32 %31 to i64
  %33 = call noundef nonnull align 8 dereferenceable(168) ptr @_ZNSt6vectorI18ShellcodePieceDataSaIS0_EE2atEm(ptr noundef nonnull align 8 dereferenceable(24) @shellcodePieces, i64 noundef %32)
  %34 = getelementptr inbounds i8, ptr %33, i64 8
  %35 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEE2atEm(ptr noundef nonnull align 8 dereferenceable(24) %34, i64 noundef %indvars.iv)
  br label %36

36:                                               ; preds = %.lr.ph, %30
  %.040.in = phi ptr [ %35, %30 ], [ @_ZZ30doubleShellcodeFitnessFunctionR13BrainTestDataE11nopRawValue, %.lr.ph ]
  %.040 = load double, ptr %.040.in, align 8, !tbaa !6
  %37 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IdSaIdEESaIS1_EE2atEm(ptr noundef nonnull align 8 dereferenceable(24) %13, i64 noundef %15)
  %38 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEE2atEm(ptr noundef nonnull align 8 dereferenceable(24) %37, i64 noundef %indvars.iv)
  %39 = load double, ptr %38, align 8, !tbaa !6
  %40 = fsub double %.040, %39
  %41 = call double @llvm.fabs.f64(double %40)
  %42 = fadd double %.04450, %41
  %43 = fcmp olt double %41, 3.000000e-03
  %44 = load i32, ptr @_ZZ30doubleShellcodeFitnessFunctionR13BrainTestDataE11bonusAmount, align 4
  %45 = sitofp i32 %44 to double
  %46 = fadd double %.14251, %45
  %.2 = select i1 %43, double %46, double %.14251
  %47 = fmul double %.040, 2.550000e+02
  %48 = fptosi double %47 to i32
  %49 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IhSaIhEESaIS1_EE2atEm(ptr noundef nonnull align 8 dereferenceable(24) %14, i64 noundef %15)
  %50 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt6vectorIhSaIhEE2atEm(ptr noundef nonnull align 8 dereferenceable(24) %49, i64 noundef %indvars.iv)
  %51 = load i8, ptr %50, align 1, !tbaa !12
  %52 = zext i8 %51 to i32
  %53 = sub nsw i32 %48, %52
  %54 = call i32 @llvm.abs.i32(i32 %53, i1 true)
  %55 = add nuw nsw i32 %54, %.13952
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %56 = load i32, ptr @numOutputs, align 4, !tbaa !10
  %57 = zext i32 %56 to i64
  %58 = icmp ult i64 %indvars.iv.next, %57
  br i1 %58, label %.lr.ph, label %._crit_edge, !llvm.loop !13

59:                                               ; preds = %._crit_edge
  store double %20, ptr @lowestDiff, align 8, !tbaa !6
  %60 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @_ZSt5fixedRSt8ios_base)
  %61 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %60, ptr noundef nonnull @.str.9)
  %62 = load double, ptr @lowestDiff, align 8, !tbaa !6
  %63 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEd(ptr noundef nonnull align 8 dereferenceable(8) %61, double noundef %62)
  %64 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %63, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  br label %65

65:                                               ; preds = %59, %._crit_edge
  %.not49 = icmp eq i32 %.139.lcssa, 0
  %spec.select = select i1 %.not49, i1 %.03760, i1 false
  %66 = add i32 %.03661, 1
  %67 = zext i32 %66 to i64
  %68 = call noundef i64 @_ZNKSt6vectorIbSaIbEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(40) %0) #6
  %69 = icmp ugt i64 %68, %67
  br i1 %69, label %.preheader, label %._crit_edge62, !llvm.loop !15

70:                                               ; preds = %._crit_edge62
  store i32 %.038.lcssa, ptr @lowestCharDiff, align 4, !tbaa !10
  br label %71

71:                                               ; preds = %70, %._crit_edge62
  br i1 %.037.lcssa, label %72, label %75

72:                                               ; preds = %71
  %73 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.12)
  %74 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %73, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  br label %79

75:                                               ; preds = %71
  %76 = fadd double %.045.lcssa, %.041.lcssa
  %77 = fadd double %76, 2.000000e+00
  %78 = fmul double %77, %77
  br label %79

79:                                               ; preds = %75, %72
  %.043 = phi double [ -1.000000e+00, %72 ], [ %78, %75 ]
  ret double %.043
}

; Function Attrs: nofree nounwind
declare i32 @__cxa_guard_acquire(ptr) local_unnamed_addr #5

; Function Attrs: nofree nounwind
declare void @__cxa_guard_release(ptr) local_unnamed_addr #5

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(216) ptr @_ZSt5fixedRSt8ios_base(ptr noundef nonnull align 8 dereferenceable(216)) #1

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


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