; LLVM IR from intel/qpl :: tools/utils/generators/configurators/rfc1951_stream/correct_stream_generators/h_0693230a (generator30HuffmanOnlyNoErrorConfigurator24generateLiteralSequencesERSt6vectorIjSaIjEE)

; 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" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl" }
%"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl" = type { %"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.qpl::test::random" = type { %"class.qpl::test::random_base" }
%"class.qpl::test::random_base" = type { i32, i32, i32, i32, i32, i32, i32, i32, i32, double, double, double, double }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }

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

declare i32 @__gxx_personality_v0(...)

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN12gz_generator30HuffmanOnlyNoErrorConfigurator24generateLiteralSequencesERSt6vectorIjSaIjEE(ptr dead_on_unwind noalias writable sret(%"class.std::vector") align 8 %0, ptr noundef nonnull align 8 dereferenceable(393) %1, ptr noundef nonnull align 8 dereferenceable(24) %2) #2 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca i1, align 1
  %9 = alloca %"class.qpl::test::random", align 8
  %10 = alloca ptr, align 8
  %11 = alloca i32, align 4
  %12 = alloca %"class.qpl::test::random", align 8
  %13 = alloca i32, align 4
  %14 = alloca %"class.qpl::test::random", align 8
  %15 = alloca i32, align 4
  %16 = alloca %"class.qpl::test::random", align 8
  %17 = alloca i32, align 4
  %18 = alloca %"class.qpl::test::random", align 8
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  %21 = alloca i32, align 4
  %22 = alloca i32, align 4
  %23 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %24 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %25 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %26 = alloca %"class.qpl::test::random", align 8
  store ptr %0, ptr %4, align 8
  store ptr %1, ptr %5, align 8, !tbaa !5
  store ptr %2, ptr %6, align 8, !tbaa !5
  %27 = load ptr, ptr %5, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #5
  store i32 0, ptr %7, align 4, !tbaa !9
  store i1 false, ptr %8, align 1
  call void @_ZNSt6vectorIjSaIjEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %0) #5
  call void @llvm.lifetime.start.p0(i64 72, ptr %9) #5
  invoke void @_ZN12gz_generator16TestConfigurator31update_range_m_randomTokenCountEdd(ptr dead_on_unwind writable sret(%"class.qpl::test::random") align 8 %9, ptr noundef nonnull align 8 dereferenceable(384) %27, double noundef 1.280000e+02, double noundef 5.120000e+02)
          to label %28 unwind label %51

28:                                               ; preds = %3
  %29 = invoke noundef i32 @_ZN3qpl4test11random_basecvjEv(ptr noundef nonnull align 8 dereferenceable(72) %9)
          to label %30 unwind label %51

30:                                               ; preds = %28
  store i32 %29, ptr %7, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 72, ptr %9) #5
  br label %31

31:                                               ; preds = %110, %30
  %32 = call noundef i64 @_ZNKSt6vectorIjSaIjEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %0) #5
  %33 = load i32, ptr %7, align 4, !tbaa !9
  %34 = zext i32 %33 to i64
  %35 = icmp ult i64 %32, %34
  br i1 %35, label %36, label %111

36:                                               ; preds = %31
  %37 = call noundef i64 @_ZNKSt6vectorIjSaIjEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %0) #5
  %38 = icmp ult i64 %37, 4
  call void @llvm.lifetime.start.p0(i64 72, ptr %12) #5
  br i1 %38, label %44, label %39

39:                                               ; preds = %36
  invoke void @_ZNK12gz_generator16TestConfigurator12get_m_randomEv(ptr dead_on_unwind writable sret(%"class.qpl::test::random") align 8 %12, ptr noundef nonnull align 8 dereferenceable(384) %27)
          to label %40 unwind label %55

40:                                               ; preds = %39
  %41 = invoke noundef float @_ZN3qpl4test11random_basecvfEv(ptr noundef nonnull align 8 dereferenceable(72) %12)
          to label %42 unwind label %55

42:                                               ; preds = %40
  %43 = fcmp ogt float 0x3FE99999A0000000, %41
  br label %44

44:                                               ; preds = %42, %36
  %45 = phi i1 [ true, %36 ], [ %43, %42 ]
  call void @llvm.lifetime.end.p0(i64 72, ptr %12) #5
  br i1 %45, label %46, label %63

46:                                               ; preds = %44
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #5
  call void @llvm.lifetime.start.p0(i64 72, ptr %14) #5
  invoke void @_ZNK12gz_generator16TestConfigurator23get_m_randomLiteralCodeEv(ptr dead_on_unwind writable sret(%"class.qpl::test::random") align 8 %14, ptr noundef nonnull align 8 dereferenceable(384) %27)
          to label %47 unwind label %59

47:                                               ; preds = %46
  %48 = invoke noundef i32 @_ZN3qpl4test11random_basecvjEv(ptr noundef nonnull align 8 dereferenceable(72) %14)
          to label %49 unwind label %59

49:                                               ; preds = %47
  store i32 %48, ptr %13, align 4, !tbaa !9
  invoke void @_ZNSt6vectorIjSaIjEE9push_backEOj(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 4 dereferenceable(4) %13)
          to label %50 unwind label %59

50:                                               ; preds = %49
  call void @llvm.lifetime.end.p0(i64 72, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #5
  br label %110

51:                                               ; preds = %28, %3
  %52 = landingpad { ptr, i32 }
          cleanup
  %53 = extractvalue { ptr, i32 } %52, 0
  store ptr %53, ptr %10, align 8
  %54 = extractvalue { ptr, i32 } %52, 1
  store i32 %54, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 72, ptr %9) #5
  br label %175

55:                                               ; preds = %40, %39
  %56 = landingpad { ptr, i32 }
          cleanup
  %57 = extractvalue { ptr, i32 } %56, 0
  store ptr %57, ptr %10, align 8
  %58 = extractvalue { ptr, i32 } %56, 1
  store i32 %58, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 72, ptr %12) #5
  br label %175

59:                                               ; preds = %49, %47, %46
  %60 = landingpad { ptr, i32 }
          cleanup
  %61 = extractvalue { ptr, i32 } %60, 0
  store ptr %61, ptr %10, align 8
  %62 = extractvalue { ptr, i32 } %60, 1
  store i32 %62, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 72, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #5
  br label %175

63:                                               ; preds = %44
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #5
  call void @llvm.lifetime.start.p0(i64 72, ptr %16) #5
  %64 = call noundef i64 @_ZNKSt6vectorIjSaIjEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %0) #5
  %65 = trunc i64 %64 to i32
  %66 = icmp ult i32 4096, %65
  br i1 %66, label %67, label %68

67:                                               ; preds = %63
  br label %71

68:                                               ; preds = %63
  %69 = call noundef i64 @_ZNKSt6vectorIjSaIjEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %0) #5
  %70 = trunc i64 %69 to i32
  br label %71

71:                                               ; preds = %68, %67
  %72 = phi i32 [ 4096, %67 ], [ %70, %68 ]
  %73 = uitofp i32 %72 to double
  invoke void @_ZN12gz_generator16TestConfigurator27update_range_m_randomOffsetEdd(ptr dead_on_unwind writable sret(%"class.qpl::test::random") align 8 %16, ptr noundef nonnull align 8 dereferenceable(384) %27, double noundef 1.000000e+00, double noundef %73)
          to label %74 unwind label %85

74:                                               ; preds = %71
  %75 = invoke noundef i32 @_ZN3qpl4test11random_basecvjEv(ptr noundef nonnull align 8 dereferenceable(72) %16)
          to label %76 unwind label %85

76:                                               ; preds = %74
  call void @llvm.lifetime.end.p0(i64 72, ptr %16) #5
  store i32 %75, ptr %15, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #5
  call void @llvm.lifetime.start.p0(i64 72, ptr %18) #5
  invoke void @_ZN12gz_generator16TestConfigurator26update_range_m_randomMatchEdd(ptr dead_on_unwind writable sret(%"class.qpl::test::random") align 8 %18, ptr noundef nonnull align 8 dereferenceable(384) %27, double noundef 4.000000e+00, double noundef 7.000000e+00)
          to label %77 unwind label %89

77:                                               ; preds = %76
  %78 = invoke noundef i32 @_ZN3qpl4test11random_basecvjEv(ptr noundef nonnull align 8 dereferenceable(72) %18)
          to label %79 unwind label %89

79:                                               ; preds = %77
  call void @llvm.lifetime.end.p0(i64 72, ptr %18) #5
  store i32 %78, ptr %17, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #5
  store i32 0, ptr %19, align 4, !tbaa !9
  br label %80

80:                                               ; preds = %100, %79
  %81 = load i32, ptr %19, align 4, !tbaa !9
  %82 = load i32, ptr %17, align 4, !tbaa !9
  %83 = icmp ult i32 %81, %82
  br i1 %83, label %93, label %84

84:                                               ; preds = %80
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #5
  br label %107

85:                                               ; preds = %74, %71
  %86 = landingpad { ptr, i32 }
          cleanup
  %87 = extractvalue { ptr, i32 } %86, 0
  store ptr %87, ptr %10, align 8
  %88 = extractvalue { ptr, i32 } %86, 1
  store i32 %88, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 72, ptr %16) #5
  br label %109

89:                                               ; preds = %77, %76
  %90 = landingpad { ptr, i32 }
          cleanup
  %91 = extractvalue { ptr, i32 } %90, 0
  store ptr %91, ptr %10, align 8
  %92 = extractvalue { ptr, i32 } %90, 1
  store i32 %92, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 72, ptr %18) #5
  br label %108

93:                                               ; preds = %80
  %94 = call noundef i64 @_ZNKSt6vectorIjSaIjEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %0) #5
  %95 = load i32, ptr %15, align 4, !tbaa !9
  %96 = zext i32 %95 to i64
  %97 = sub i64 %94, %96
  %98 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef %97) #5
  invoke void @_ZNSt6vectorIjSaIjEE9push_backERKj(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 4 dereferenceable(4) %98)
          to label %99 unwind label %103

99:                                               ; preds = %93
  br label %100

100:                                              ; preds = %99
  %101 = load i32, ptr %19, align 4, !tbaa !9
  %102 = add i32 %101, 1
  store i32 %102, ptr %19, align 4, !tbaa !9
  br label %80, !llvm.loop !11

103:                                              ; preds = %93
  %104 = landingpad { ptr, i32 }
          cleanup
  %105 = extractvalue { ptr, i32 } %104, 0
  store ptr %105, ptr %10, align 8
  %106 = extractvalue { ptr, i32 } %104, 1
  store i32 %106, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #5
  br label %108

107:                                              ; preds = %84
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #5
  br label %110

108:                                              ; preds = %103, %89
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #5
  br label %109

109:                                              ; preds = %108, %85
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #5
  br label %175

110:                                              ; preds = %107, %50
  br label %31, !llvm.loop !13

111:                                              ; preds = %31
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #5
  store i32 0, ptr %20, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #5
  store i32 0, ptr %21, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #5
  store i32 0, ptr %22, align 4, !tbaa !9
  %112 = load ptr, ptr %6, align 8, !tbaa !5
  %113 = invoke noundef i32 @_ZN12gz_generator30HuffmanOnlyNoErrorConfigurator24calculateStreamBitLengthERSt6vectorIjSaIjEES4_(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 8 dereferenceable(24) %112)
          to label %114 unwind label %156

114:                                              ; preds = %111
  store i32 %113, ptr %20, align 4, !tbaa !9
  %115 = load i32, ptr %20, align 4, !tbaa !9
  %116 = and i32 %115, 255
  store i32 %116, ptr %20, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #5
  %117 = load ptr, ptr %6, align 8, !tbaa !5
  %118 = call ptr @_ZNSt6vectorIjSaIjEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %117) #5
  %119 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %24, i32 0, i32 0
  store ptr %118, ptr %119, align 8
  %120 = load ptr, ptr %6, align 8, !tbaa !5
  %121 = call ptr @_ZNSt6vectorIjSaIjEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %120) #5
  %122 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %25, i32 0, i32 0
  store ptr %121, ptr %122, align 8
  %123 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %24, i32 0, i32 0
  %124 = load ptr, ptr %123, align 8
  %125 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %25, i32 0, i32 0
  %126 = load ptr, ptr %125, align 8
  %127 = invoke ptr @_ZSt11min_elementIN9__gnu_cxx17__normal_iteratorIPjSt6vectorIjSaIjEEEEET_S7_S7_(ptr %124, ptr %126)
          to label %128 unwind label %160

128:                                              ; preds = %114
  %129 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %23, i32 0, i32 0
  store ptr %127, ptr %129, align 8
  %130 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPjSt6vectorIjSaIjEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %23) #5
  %131 = load i32, ptr %130, align 4, !tbaa !9
  store i32 %131, ptr %21, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #5
  %132 = load i32, ptr %20, align 4, !tbaa !9
  %133 = icmp ne i32 0, %132
  br i1 %133, label %134, label %170

134:                                              ; preds = %128
  br label %135

135:                                              ; preds = %168, %134
  %136 = load i32, ptr %20, align 4, !tbaa !9
  %137 = load i32, ptr %21, align 4, !tbaa !9
  %138 = add i32 %136, %137
  %139 = icmp uge i32 16, %138
  br i1 %139, label %140, label %169

140:                                              ; preds = %135
  call void @llvm.lifetime.start.p0(i64 72, ptr %26) #5
  invoke void @_ZNK12gz_generator16TestConfigurator23get_m_randomLiteralCodeEv(ptr dead_on_unwind writable sret(%"class.qpl::test::random") align 8 %26, ptr noundef nonnull align 8 dereferenceable(384) %27)
          to label %141 unwind label %164

141:                                              ; preds = %140
  %142 = invoke noundef i32 @_ZN3qpl4test11random_basecvjEv(ptr noundef nonnull align 8 dereferenceable(72) %26)
          to label %143 unwind label %164

143:                                              ; preds = %141
  store i32 %142, ptr %22, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 72, ptr %26) #5
  invoke void @_ZNSt6vectorIjSaIjEE9push_backERKj(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 4 dereferenceable(4) %22)
          to label %144 unwind label %156

144:                                              ; preds = %143
  %145 = load i32, ptr %20, align 4, !tbaa !9
  %146 = load ptr, ptr %6, align 8, !tbaa !5
  %147 = load i32, ptr %22, align 4, !tbaa !9
  %148 = zext i32 %147 to i64
  %149 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %146, i64 noundef %148) #5
  %150 = load i32, ptr %149, align 4, !tbaa !9
  %151 = add i32 %145, %150
  %152 = and i32 %151, 255
  store i32 %152, ptr %20, align 4, !tbaa !9
  %153 = load i32, ptr %20, align 4, !tbaa !9
  %154 = icmp eq i32 0, %153
  br i1 %154, label %155, label %168

155:                                              ; preds = %144
  br label %169

156:                                              ; preds = %143, %111
  %157 = landingpad { ptr, i32 }
          cleanup
  %158 = extractvalue { ptr, i32 } %157, 0
  store ptr %158, ptr %10, align 8
  %159 = extractvalue { ptr, i32 } %157, 1
  store i32 %159, ptr %11, align 4
  br label %172

160:                                              ; preds = %114
  %161 = landingpad { ptr, i32 }
          cleanup
  %162 = extractvalue { ptr, i32 } %161, 0
  store ptr %162, ptr %10, align 8
  %163 = extractvalue { ptr, i32 } %161, 1
  store i32 %163, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #5
  br label %172

164:                                              ; preds = %141, %140
  %165 = landingpad { ptr, i32 }
          cleanup
  %166 = extractvalue { ptr, i32 } %165, 0
  store ptr %166, ptr %10, align 8
  %167 = extractvalue { ptr, i32 } %165, 1
  store i32 %167, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 72, ptr %26) #5
  br label %172

168:                                              ; preds = %144
  br label %135, !llvm.loop !14

169:                                              ; preds = %155, %135
  br label %170

170:                                              ; preds = %169, %128
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #5
  store i1 true, ptr %8, align 1
  %171 = load i1, ptr %8, align 1
  br i1 %171, label %174, label %173

172:                                              ; preds = %164, %160, %156
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #5
  br label %175

173:                                              ; preds = %170
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %0) #5
  br label %174

174:                                              ; preds = %173, %170
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #5
  ret void

175:                                              ; preds = %172, %109, %59, %55, %51
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %0) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #5
  br label %176

176:                                              ; preds = %175
  %177 = load ptr, ptr %10, align 8
  %178 = load i32, ptr %11, align 4
  %179 = insertvalue { ptr, i32 } poison, ptr %177, 0
  %180 = insertvalue { ptr, i32 } %179, i32 %178, 1
  resume { ptr, i32 } %180
}

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN12gz_generator16TestConfigurator31update_range_m_randomTokenCountEdd(ptr dead_on_unwind noalias writable sret(%"class.qpl::test::random") align 8, ptr noundef nonnull align 8 dereferenceable(384), double noundef, double noundef) #2 align 2

declare noundef i32 @_ZN3qpl4test11random_basecvjEv(ptr noundef nonnull align 8 dereferenceable(72)) #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNK12gz_generator16TestConfigurator12get_m_randomEv(ptr dead_on_unwind noalias writable sret(%"class.qpl::test::random") align 8, ptr noundef nonnull align 8 dereferenceable(384)) #1 align 2

declare noundef float @_ZN3qpl4test11random_basecvfEv(ptr noundef nonnull align 8 dereferenceable(72)) #3

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNK12gz_generator16TestConfigurator23get_m_randomLiteralCodeEv(ptr dead_on_unwind noalias writable sret(%"class.qpl::test::random") align 8, ptr noundef nonnull align 8 dereferenceable(384)) #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN12gz_generator16TestConfigurator27update_range_m_randomOffsetEdd(ptr dead_on_unwind noalias writable sret(%"class.qpl::test::random") align 8, ptr noundef nonnull align 8 dereferenceable(384), double noundef, double noundef) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN12gz_generator16TestConfigurator26update_range_m_randomMatchEdd(ptr dead_on_unwind noalias writable sret(%"class.qpl::test::random") align 8, ptr noundef nonnull align 8 dereferenceable(384), double noundef, double noundef) #2 align 2

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local ptr @_ZSt11min_elementIN9__gnu_cxx17__normal_iteratorIPjSt6vectorIjSaIjEEEEET_S7_S7_(ptr, ptr) #4

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPjSt6vectorIjSaIjEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8)) #1 align 2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #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 = { "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 = { 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 #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 = !{!"int", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = distinct !{!13, !12}
!14 = distinct !{!14, !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"

%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl" }
%"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl" = type { %"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.qpl::test::random" = type { %"class.qpl::test::random_base" }
%"class.qpl::test::random_base" = type { i32, i32, i32, i32, i32, i32, i32, i32, i32, double, double, double, double }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }

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

declare i32 @__gxx_personality_v0(...)

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN12gz_generator30HuffmanOnlyNoErrorConfigurator24generateLiteralSequencesERSt6vectorIjSaIjEE(ptr dead_on_unwind noalias nonnull writable sret(%"class.std::vector") align 8 %0, ptr noundef nonnull align 8 dereferenceable(393) %1, ptr noundef nonnull align 8 dereferenceable(24) %2) local_unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca %"class.qpl::test::random", align 8
  %5 = alloca %"class.qpl::test::random", align 8
  %6 = alloca i32, align 4
  %7 = alloca %"class.qpl::test::random", align 8
  %8 = alloca %"class.qpl::test::random", align 8
  %9 = alloca %"class.qpl::test::random", align 8
  %10 = alloca i32, align 4
  %11 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %12 = alloca %"class.qpl::test::random", align 8
  tail call void @_ZNSt6vectorIjSaIjEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %0) #5
  call void @llvm.lifetime.start.p0(i64 72, ptr nonnull %4) #5
  invoke void @_ZN12gz_generator16TestConfigurator31update_range_m_randomTokenCountEdd(ptr dead_on_unwind nonnull writable sret(%"class.qpl::test::random") align 8 %4, ptr noundef nonnull align 8 dereferenceable(384) %1, double noundef 1.280000e+02, double noundef 5.120000e+02)
          to label %13 unwind label %29

13:                                               ; preds = %3
  %14 = invoke noundef i32 @_ZN3qpl4test11random_basecvjEv(ptr noundef nonnull align 8 dereferenceable(72) %4)
          to label %15 unwind label %29

15:                                               ; preds = %13
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %4) #5
  %16 = call noundef i64 @_ZNKSt6vectorIjSaIjEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %0) #5
  %17 = zext i32 %14 to i64
  %18 = icmp ult i64 %16, %17
  br i1 %18, label %.lr.ph35, label %._crit_edge

.lr.ph35:                                         ; preds = %15, %.loopexit33
  %19 = call noundef i64 @_ZNKSt6vectorIjSaIjEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %0) #5
  %20 = icmp ult i64 %19, 4
  call void @llvm.lifetime.start.p0(i64 72, ptr nonnull %5) #5
  br i1 %20, label %.critedge, label %21

21:                                               ; preds = %.lr.ph35
  call void @_ZNK12gz_generator16TestConfigurator12get_m_randomEv(ptr dead_on_unwind nonnull writable sret(%"class.qpl::test::random") align 8 %5, ptr noundef nonnull align 8 dereferenceable(384) %1)
  %22 = invoke noundef float @_ZN3qpl4test11random_basecvfEv(ptr noundef nonnull align 8 dereferenceable(72) %5)
          to label %23 unwind label %31

23:                                               ; preds = %21
  %24 = fcmp olt float %22, 0x3FE99999A0000000
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %5) #5
  br i1 %24, label %25, label %35

.critedge:                                        ; preds = %.lr.ph35
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %5) #5
  br label %25

25:                                               ; preds = %.critedge, %23
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #5
  call void @llvm.lifetime.start.p0(i64 72, ptr nonnull %7) #5
  call void @_ZNK12gz_generator16TestConfigurator23get_m_randomLiteralCodeEv(ptr dead_on_unwind nonnull writable sret(%"class.qpl::test::random") align 8 %7, ptr noundef nonnull align 8 dereferenceable(384) %1)
  %26 = invoke noundef i32 @_ZN3qpl4test11random_basecvjEv(ptr noundef nonnull align 8 dereferenceable(72) %7)
          to label %27 unwind label %33

27:                                               ; preds = %25
  store i32 %26, ptr %6, align 4, !tbaa !5
  invoke void @_ZNSt6vectorIjSaIjEE9push_backEOj(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 4 dereferenceable(4) %6)
          to label %28 unwind label %33

28:                                               ; preds = %27
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %7) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #5
  br label %.loopexit33

29:                                               ; preds = %13, %3
  %30 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %4) #5
  br label %94

31:                                               ; preds = %21
  %32 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %5) #5
  br label %94

33:                                               ; preds = %27, %25
  %34 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %7) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #5
  br label %94

35:                                               ; preds = %23
  call void @llvm.lifetime.start.p0(i64 72, ptr nonnull %8) #5
  %36 = call noundef i64 @_ZNKSt6vectorIjSaIjEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %0) #5
  %37 = trunc i64 %36 to i32
  %38 = icmp ugt i32 %37, 4096
  br i1 %38, label %42, label %39

39:                                               ; preds = %35
  %40 = call noundef i64 @_ZNKSt6vectorIjSaIjEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %0) #5
  %41 = trunc i64 %40 to i32
  br label %42

42:                                               ; preds = %35, %39
  %43 = phi i32 [ %41, %39 ], [ 4096, %35 ]
  %44 = uitofp i32 %43 to double
  invoke void @_ZN12gz_generator16TestConfigurator27update_range_m_randomOffsetEdd(ptr dead_on_unwind nonnull writable sret(%"class.qpl::test::random") align 8 %8, ptr noundef nonnull align 8 dereferenceable(384) %1, double noundef 1.000000e+00, double noundef %44)
          to label %45 unwind label %52

45:                                               ; preds = %42
  %46 = invoke noundef i32 @_ZN3qpl4test11random_basecvjEv(ptr noundef nonnull align 8 dereferenceable(72) %8)
          to label %47 unwind label %52

47:                                               ; preds = %45
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %8) #5
  call void @llvm.lifetime.start.p0(i64 72, ptr nonnull %9) #5
  invoke void @_ZN12gz_generator16TestConfigurator26update_range_m_randomMatchEdd(ptr dead_on_unwind nonnull writable sret(%"class.qpl::test::random") align 8 %9, ptr noundef nonnull align 8 dereferenceable(384) %1, double noundef 4.000000e+00, double noundef 7.000000e+00)
          to label %48 unwind label %54

48:                                               ; preds = %47
  %49 = invoke noundef i32 @_ZN3qpl4test11random_basecvjEv(ptr noundef nonnull align 8 dereferenceable(72) %9)
          to label %50 unwind label %54

50:                                               ; preds = %48
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %9) #5
  %.not36 = icmp eq i32 %49, 0
  br i1 %.not36, label %.loopexit33, label %.lr.ph

.lr.ph:                                           ; preds = %50
  %51 = zext i32 %46 to i64
  br label %56

52:                                               ; preds = %45, %42
  %53 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %8) #5
  br label %94

54:                                               ; preds = %48, %47
  %55 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %9) #5
  br label %94

56:                                               ; preds = %.lr.ph, %60
  %.01934 = phi i32 [ 0, %.lr.ph ], [ %61, %60 ]
  %57 = call noundef i64 @_ZNKSt6vectorIjSaIjEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %0) #5
  %58 = sub i64 %57, %51
  %59 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef %58) #5
  invoke void @_ZNSt6vectorIjSaIjEE9push_backERKj(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 4 dereferenceable(4) %59)
          to label %60 unwind label %62

60:                                               ; preds = %56
  %61 = add nuw i32 %.01934, 1
  %exitcond.not = icmp eq i32 %61, %49
  br i1 %exitcond.not, label %.loopexit33, label %56, !llvm.loop !9

62:                                               ; preds = %56
  %63 = landingpad { ptr, i32 }
          cleanup
  br label %94

.loopexit33:                                      ; preds = %60, %50, %28
  %64 = call noundef i64 @_ZNKSt6vectorIjSaIjEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %0) #5
  %65 = icmp ult i64 %64, %17
  br i1 %65, label %.lr.ph35, label %._crit_edge, !llvm.loop !11

._crit_edge:                                      ; preds = %.loopexit33, %15
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %10) #5
  store i32 0, ptr %10, align 4, !tbaa !5
  %66 = call noundef i32 @_ZN12gz_generator30HuffmanOnlyNoErrorConfigurator24calculateStreamBitLengthERSt6vectorIjSaIjEES4_(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 8 dereferenceable(24) %2)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #5
  %67 = call ptr @_ZNSt6vectorIjSaIjEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #5
  %68 = call ptr @_ZNSt6vectorIjSaIjEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #5
  %69 = invoke ptr @_ZSt11min_elementIN9__gnu_cxx17__normal_iteratorIPjSt6vectorIjSaIjEEEEET_S7_S7_(ptr %67, ptr %68)
          to label %70 unwind label %89

70:                                               ; preds = %._crit_edge
  %71 = and i32 %66, 255
  store ptr %69, ptr %11, align 8
  %72 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPjSt6vectorIjSaIjEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %11) #5
  %73 = load i32, ptr %72, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #5
  %.not = icmp eq i32 %71, 0
  br i1 %.not, label %.loopexit, label %.preheader

.preheader:                                       ; preds = %70, %79
  %.0 = phi i32 [ %85, %79 ], [ %71, %70 ]
  %74 = add i32 %.0, %73
  %75 = icmp ult i32 %74, 17
  br i1 %75, label %76, label %.loopexit

76:                                               ; preds = %.preheader
  call void @llvm.lifetime.start.p0(i64 72, ptr nonnull %12) #5
  call void @_ZNK12gz_generator16TestConfigurator23get_m_randomLiteralCodeEv(ptr dead_on_unwind nonnull writable sret(%"class.qpl::test::random") align 8 %12, ptr noundef nonnull align 8 dereferenceable(384) %1)
  %77 = invoke noundef i32 @_ZN3qpl4test11random_basecvjEv(ptr noundef nonnull align 8 dereferenceable(72) %12)
          to label %78 unwind label %91

78:                                               ; preds = %76
  store i32 %77, ptr %10, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %12) #5
  invoke void @_ZNSt6vectorIjSaIjEE9push_backERKj(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 4 dereferenceable(4) %10)
          to label %79 unwind label %87

79:                                               ; preds = %78
  %80 = load i32, ptr %10, align 4, !tbaa !5
  %81 = zext i32 %80 to i64
  %82 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %81) #5
  %83 = load i32, ptr %82, align 4, !tbaa !5
  %84 = add i32 %83, %.0
  %85 = and i32 %84, 255
  %86 = icmp eq i32 %85, 0
  br i1 %86, label %.loopexit, label %.preheader, !llvm.loop !12

87:                                               ; preds = %78
  %88 = landingpad { ptr, i32 }
          cleanup
  br label %93

89:                                               ; preds = %._crit_edge
  %90 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #5
  br label %93

91:                                               ; preds = %76
  %92 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %12) #5
  br label %93

.loopexit:                                        ; preds = %.preheader, %79, %70
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #5
  ret void

93:                                               ; preds = %91, %89, %87
  %.pn = phi { ptr, i32 } [ %88, %87 ], [ %92, %91 ], [ %90, %89 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #5
  br label %94

94:                                               ; preds = %52, %62, %54, %93, %33, %31, %29
  %.pn31 = phi { ptr, i32 } [ %34, %33 ], [ %32, %31 ], [ %.pn, %93 ], [ %30, %29 ], [ %53, %52 ], [ %63, %62 ], [ %55, %54 ]
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %0) #5
  resume { ptr, i32 } %.pn31
}

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN12gz_generator16TestConfigurator31update_range_m_randomTokenCountEdd(ptr dead_on_unwind noalias writable sret(%"class.qpl::test::random") align 8, ptr noundef nonnull align 8 dereferenceable(384), double noundef, double noundef) local_unnamed_addr #2 align 2

declare noundef i32 @_ZN3qpl4test11random_basecvjEv(ptr noundef nonnull align 8 dereferenceable(72)) local_unnamed_addr #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNK12gz_generator16TestConfigurator12get_m_randomEv(ptr dead_on_unwind noalias writable sret(%"class.qpl::test::random") align 8, ptr noundef nonnull align 8 dereferenceable(384)) local_unnamed_addr #1 align 2

declare noundef float @_ZN3qpl4test11random_basecvfEv(ptr noundef nonnull align 8 dereferenceable(72)) local_unnamed_addr #3

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNK12gz_generator16TestConfigurator23get_m_randomLiteralCodeEv(ptr dead_on_unwind noalias writable sret(%"class.qpl::test::random") align 8, ptr noundef nonnull align 8 dereferenceable(384)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN12gz_generator16TestConfigurator27update_range_m_randomOffsetEdd(ptr dead_on_unwind noalias writable sret(%"class.qpl::test::random") align 8, ptr noundef nonnull align 8 dereferenceable(384), double noundef, double noundef) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN12gz_generator16TestConfigurator26update_range_m_randomMatchEdd(ptr dead_on_unwind noalias writable sret(%"class.qpl::test::random") align 8, ptr noundef nonnull align 8 dereferenceable(384), double noundef, double noundef) local_unnamed_addr #2 align 2

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local ptr @_ZSt11min_elementIN9__gnu_cxx17__normal_iteratorIPjSt6vectorIjSaIjEEEEET_S7_S7_(ptr, ptr) local_unnamed_addr #4

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPjSt6vectorIjSaIjEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #1 align 2

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #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 = { "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 = { 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 #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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = distinct !{!11, !10}
!12 = distinct !{!12, !10}


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