; LLVM IR from intel/qpl :: tools/utils/common (source_provider)

; 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::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 }
%"class.std::vector.6" = type { %"struct.std::_Vector_base.7" }
%"struct.std::_Vector_base.7" = 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.std::allocator.8" = type { i8 }
%"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.std::vector.11" = type { %"struct.std::_Vector_base.12" }
%"struct.std::_Vector_base.12" = 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.std::allocator.13" = type { i8 }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }
%"class.__gnu_cxx::__normal_iterator.18" = type { ptr }
%class.anon.19 = type { ptr }
%"class.__gnu_cxx::__normal_iterator.17" = type { ptr }
%"class.qpl::test::source_provider" = type { i32, i32, i32, i32, i32, i32 }

@_ZTISt9exception = external constant ptr
@_ZSt4cerr = external global %"class.std::basic_ostream", align 8

; 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 @_ZNSt6vectorIhSaIhEED2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3qpl4test15source_provider17store_prle_headerERN9__gnu_cxx17__normal_iteratorIPhSt6vectorIhSaIhEEEEjNS1_15prle_encoding_tE(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef, i8 noundef zeroext) #1 align 2

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3qpl4test6randomC2Eddj(ptr noundef nonnull align 8 dereferenceable(72), double noundef, double noundef, i32 noundef) unnamed_addr #2 align 2

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

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

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

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

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

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

; Function Attrs: nounwind memory(none)
declare i32 @llvm.eh.typeid.for.p0(ptr) #4

declare ptr @__cxa_begin_catch(ptr)

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8), i8 noundef signext) #5

; 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) #5

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

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

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

declare void @__cxa_end_catch()

; Function Attrs: noinline noreturn nounwind uwtable
declare hidden void @__clang_call_terminate(ptr noundef) #6

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

; 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
define dso_local void @_ZN3qpl4test15source_provider31generate_expand_rle_prle_streamEv(ptr dead_on_unwind noalias writable sret(%"class.std::vector.6") align 8 %0, ptr noundef nonnull align 4 dereferenceable(24) %1) #2 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  %6 = alloca i1, align 1
  %7 = alloca %"class.std::allocator.8", align 1
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  %10 = alloca i64, align 8
  %11 = alloca %"class.qpl::test::random", align 8
  %12 = alloca %"class.qpl::test::random", align 8
  %13 = alloca %"class.std::vector.11", align 8
  %14 = alloca i32, align 4
  %15 = alloca %"class.std::allocator.13", align 1
  %16 = alloca i8, align 1
  %17 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %18 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  %21 = alloca i8, align 1
  %22 = alloca i32, align 4
  %23 = alloca i32, align 4
  %24 = alloca i32, align 4
  %25 = alloca %"class.__gnu_cxx::__normal_iterator.18", align 8
  %26 = alloca %"class.__gnu_cxx::__normal_iterator.18", align 8
  %27 = alloca %"class.__gnu_cxx::__normal_iterator.18", align 8
  %28 = alloca %"class.__gnu_cxx::__normal_iterator.18", align 8
  %29 = alloca %"class.__gnu_cxx::__normal_iterator.18", align 8
  %30 = alloca %class.anon.19, align 8
  %31 = alloca ptr, align 8
  %32 = alloca %"class.__gnu_cxx::__normal_iterator.18", align 8
  %33 = alloca %"class.__gnu_cxx::__normal_iterator.18", align 8
  %34 = alloca i32, align 4
  %35 = alloca i32, align 4
  %36 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %37 = alloca ptr, align 8
  %38 = alloca %"class.__gnu_cxx::__normal_iterator.17", align 8
  %39 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %40 = alloca i8, align 1
  %41 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %42 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %43 = alloca i32, align 4
  %44 = alloca %"class.__gnu_cxx::__normal_iterator.17", align 8
  %45 = alloca %"class.__gnu_cxx::__normal_iterator.17", align 8
  %46 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %47 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  store ptr %0, ptr %3, align 8
  store ptr %1, ptr %4, align 8, !tbaa !5
  %48 = load ptr, ptr %4, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #8
  %49 = getelementptr inbounds %"class.qpl::test::source_provider", ptr %48, i32 0, i32 1
  %50 = load i32, ptr %49, align 4, !tbaa !9
  %51 = getelementptr inbounds %"class.qpl::test::source_provider", ptr %48, i32 0, i32 3
  %52 = load i32, ptr %51, align 4, !tbaa !13
  %53 = udiv i32 %52, 8
  %54 = add i32 %53, 2
  %55 = mul i32 %50, %54
  store i32 %55, ptr %5, align 4, !tbaa !14
  store i1 false, ptr %6, align 1
  %56 = load i32, ptr %5, align 4, !tbaa !14
  %57 = zext i32 %56 to i64
  call void @llvm.lifetime.start.p0(i64 1, ptr %7) #8
  call void @_ZNSaIhEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #8
  invoke void @_ZNSt6vectorIhSaIhEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef %57, ptr noundef nonnull align 1 dereferenceable(1) %7)
          to label %58 unwind label %93

58:                                               ; preds = %2
  call void @_ZNSt15__new_allocatorIhED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %7) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #8
  store i64 4, ptr %10, align 8, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 72, ptr %11) #8
  %59 = getelementptr inbounds %"class.qpl::test::source_provider", ptr %48, i32 0, i32 0
  %60 = load i32, ptr %59, align 4, !tbaa !17
  invoke void @_ZN3qpl4test6randomC2Eddj(ptr noundef nonnull align 8 dereferenceable(72) %11, double noundef 1.000000e+00, double noundef 4.000000e+00, i32 noundef %60)
          to label %61 unwind label %97

61:                                               ; preds = %58
  call void @llvm.lifetime.start.p0(i64 72, ptr %12) #8
  %62 = getelementptr inbounds %"class.qpl::test::source_provider", ptr %48, i32 0, i32 1
  %63 = load i32, ptr %62, align 4, !tbaa !9
  %64 = uitofp i32 %63 to double
  %65 = getelementptr inbounds %"class.qpl::test::source_provider", ptr %48, i32 0, i32 0
  %66 = load i32, ptr %65, align 4, !tbaa !17
  invoke void @_ZN3qpl4test6randomC2Eddj(ptr noundef nonnull align 8 dereferenceable(72) %12, double noundef 1.000000e+00, double noundef %64, i32 noundef %66)
          to label %67 unwind label %101

67:                                               ; preds = %61
  call void @llvm.lifetime.start.p0(i64 24, ptr %13) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #8
  store i32 0, ptr %14, align 4, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 1, ptr %15) #8
  call void @_ZNSaIjEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %15) #8
  invoke void @_ZNSt6vectorIjSaIjEEC2EmRKjRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %13, i64 noundef 8, ptr noundef nonnull align 4 dereferenceable(4) %14, ptr noundef nonnull align 1 dereferenceable(1) %15)
          to label %68 unwind label %105

68:                                               ; preds = %67
  call void @_ZNSt15__new_allocatorIjED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %15) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %15) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr %16) #8
  %69 = getelementptr inbounds %"class.qpl::test::source_provider", ptr %48, i32 0, i32 3
  %70 = load i32, ptr %69, align 4, !tbaa !13
  %71 = trunc i32 %70 to i8
  store i8 %71, ptr %16, align 1, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #8
  %72 = call ptr @_ZNSt6vectorIhSaIhEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %0) #8
  %73 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %17, i32 0, i32 0
  store ptr %72, ptr %73, align 8
  %74 = load i8, ptr %16, align 1, !tbaa !18
  %75 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPhSt6vectorIhSaIhEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %17) #8
  store i8 %74, ptr %75, align 1, !tbaa !18
  %76 = call ptr @_ZN9__gnu_cxx17__normal_iteratorIPhSt6vectorIhSaIhEEEppEi(ptr noundef nonnull align 8 dereferenceable(8) %17, i32 noundef 0) #8
  %77 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %18, i32 0, i32 0
  store ptr %76, ptr %77, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #8
  %78 = getelementptr inbounds %"class.qpl::test::source_provider", ptr %48, i32 0, i32 1
  %79 = load i32, ptr %78, align 4, !tbaa !9
  store i32 %79, ptr %19, align 4, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #8
  store i32 0, ptr %20, align 4, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 1, ptr %21) #8
  %80 = getelementptr inbounds %"class.qpl::test::source_provider", ptr %48, i32 0, i32 3
  %81 = load i32, ptr %80, align 4, !tbaa !13
  %82 = icmp eq i32 %81, 32
  %83 = zext i1 %82 to i8
  store i8 %83, ptr %21, align 1, !tbaa !19
  %84 = getelementptr inbounds %"class.qpl::test::source_provider", ptr %48, i32 0, i32 2
  store i32 0, ptr %84, align 4, !tbaa !21
  %85 = load i8, ptr %21, align 1, !tbaa !19, !range !22, !noundef !23
  %86 = trunc i8 %85 to i1
  br i1 %86, label %87, label %109

87:                                               ; preds = %68
  store i32 1, ptr %20, align 4, !tbaa !14
  %88 = load i32, ptr %20, align 4, !tbaa !14
  call void @_ZN3qpl4test15source_provider17store_prle_headerERN9__gnu_cxx17__normal_iteratorIPhSt6vectorIhSaIhEEEEjNS1_15prle_encoding_tE(ptr noundef nonnull align 8 dereferenceable(8) %17, i32 noundef %88, i8 noundef zeroext 1)
  %89 = load i32, ptr %20, align 4, !tbaa !14
  call void @_ZNK3qpl4test15source_provider9store_rleERN9__gnu_cxx17__normal_iteratorIPhSt6vectorIhSaIhEEEEjj(ptr noundef nonnull align 4 dereferenceable(24) %48, ptr noundef nonnull align 8 dereferenceable(8) %17, i32 noundef %89, i32 noundef 0)
  %90 = load i32, ptr %20, align 4, !tbaa !14
  %91 = load i32, ptr %19, align 4, !tbaa !14
  %92 = sub i32 %91, %90
  store i32 %92, ptr %19, align 4, !tbaa !14
  br label %109

93:                                               ; preds = %2
  %94 = landingpad { ptr, i32 }
          cleanup
  %95 = extractvalue { ptr, i32 } %94, 0
  store ptr %95, ptr %8, align 8
  %96 = extractvalue { ptr, i32 } %94, 1
  store i32 %96, ptr %9, align 4
  call void @_ZNSt15__new_allocatorIhED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %7) #8
  br label %369

97:                                               ; preds = %58
  %98 = landingpad { ptr, i32 }
          cleanup
  %99 = extractvalue { ptr, i32 } %98, 0
  store ptr %99, ptr %8, align 8
  %100 = extractvalue { ptr, i32 } %98, 1
  store i32 %100, ptr %9, align 4
  br label %366

101:                                              ; preds = %61
  %102 = landingpad { ptr, i32 }
          cleanup
  %103 = extractvalue { ptr, i32 } %102, 0
  store ptr %103, ptr %8, align 8
  %104 = extractvalue { ptr, i32 } %102, 1
  store i32 %104, ptr %9, align 4
  br label %365

105:                                              ; preds = %67
  %106 = landingpad { ptr, i32 }
          cleanup
  %107 = extractvalue { ptr, i32 } %106, 0
  store ptr %107, ptr %8, align 8
  %108 = extractvalue { ptr, i32 } %106, 1
  store i32 %108, ptr %9, align 4
  call void @_ZNSt15__new_allocatorIjED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %15) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %15) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #8
  br label %364

109:                                              ; preds = %87, %68
  store i32 0, ptr %20, align 4, !tbaa !14
  br label %110

110:                                              ; preds = %347, %109
  %111 = load i32, ptr %19, align 4, !tbaa !14
  %112 = icmp ugt i32 %111, 0
  br i1 %112, label %113, label %348

113:                                              ; preds = %110
  %114 = load i32, ptr %19, align 4, !tbaa !14
  %115 = icmp uge i32 %114, 8
  br i1 %115, label %116, label %121

116:                                              ; preds = %113
  %117 = invoke noundef i32 @_ZN3qpl4test11random_basecvjEv(ptr noundef nonnull align 8 dereferenceable(72) %11)
          to label %118 unwind label %147

118:                                              ; preds = %116
  %119 = urem i32 %117, 2
  %120 = icmp eq i32 %119, 0
  br i1 %120, label %127, label %121

121:                                              ; preds = %118, %113
  %122 = load i8, ptr %21, align 1, !tbaa !19, !range !22, !noundef !23
  %123 = trunc i8 %122 to i1
  br i1 %123, label %124, label %311

124:                                              ; preds = %121
  %125 = load i32, ptr %19, align 4, !tbaa !14
  %126 = icmp uge i32 %125, 8
  br i1 %126, label %127, label %311

127:                                              ; preds = %124, %118
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #8
  %128 = load i32, ptr %19, align 4, !tbaa !14
  %129 = udiv i32 %128, 8
  store i32 %129, ptr %22, align 4, !tbaa !14
  %130 = load i32, ptr %19, align 4, !tbaa !14
  %131 = urem i32 %130, 8
  %132 = icmp eq i32 0, %131
  %133 = zext i1 %132 to i64
  %134 = select i1 %132, i32 0, i32 1
  %135 = load i32, ptr %22, align 4, !tbaa !14
  %136 = add i32 %135, %134
  store i32 %136, ptr %22, align 4, !tbaa !14
  %137 = invoke noundef i32 @_ZN3qpl4test11random_basecvjEv(ptr noundef nonnull align 8 dereferenceable(72) %12)
          to label %138 unwind label %151

138:                                              ; preds = %127
  %139 = load i32, ptr %22, align 4, !tbaa !14
  %140 = urem i32 %137, %139
  store i32 %140, ptr %20, align 4, !tbaa !14
  %141 = load i32, ptr %20, align 4, !tbaa !14
  %142 = udiv i32 %141, 2
  %143 = add i32 %142, 1
  store i32 %143, ptr %20, align 4, !tbaa !14
  %144 = load i8, ptr %21, align 1, !tbaa !19, !range !22, !noundef !23
  %145 = trunc i8 %144 to i1
  br i1 %145, label %146, label %155

146:                                              ; preds = %138
  store i32 1, ptr %20, align 4, !tbaa !14
  br label %155

147:                                              ; preds = %116
  %148 = landingpad { ptr, i32 }
          cleanup
  %149 = extractvalue { ptr, i32 } %148, 0
  store ptr %149, ptr %8, align 8
  %150 = extractvalue { ptr, i32 } %148, 1
  store i32 %150, ptr %9, align 4
  br label %363

151:                                              ; preds = %127
  %152 = landingpad { ptr, i32 }
          cleanup
  %153 = extractvalue { ptr, i32 } %152, 0
  store ptr %153, ptr %8, align 8
  %154 = extractvalue { ptr, i32 } %152, 1
  store i32 %154, ptr %9, align 4
  br label %310

155:                                              ; preds = %146, %138
  %156 = load i32, ptr %20, align 4, !tbaa !14
  call void @_ZN3qpl4test15source_provider17store_prle_headerERN9__gnu_cxx17__normal_iteratorIPhSt6vectorIhSaIhEEEEjNS1_15prle_encoding_tE(ptr noundef nonnull align 8 dereferenceable(8) %17, i32 noundef %156, i8 noundef zeroext 0)
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #8
  store i32 0, ptr %23, align 4, !tbaa !14
  br label %157

157:                                              ; preds = %292, %155
  %158 = load i32, ptr %23, align 4, !tbaa !14
  %159 = load i32, ptr %20, align 4, !tbaa !14
  %160 = icmp ult i32 %158, %159
  br i1 %160, label %162, label %161

161:                                              ; preds = %157
  store i32 4, ptr %24, align 4
  br label %307

162:                                              ; preds = %157
  %163 = load i8, ptr %21, align 1, !tbaa !19, !range !22, !noundef !23
  %164 = trunc i8 %163 to i1
  br i1 %164, label %165, label %198

165:                                              ; preds = %162
  %166 = getelementptr inbounds %"class.qpl::test::source_provider", ptr %48, i32 0, i32 2
  %167 = load i32, ptr %166, align 4, !tbaa !21
  %168 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %13, i64 noundef 0) #8
  store i32 %167, ptr %168, align 4, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #8
  %169 = call ptr @_ZNSt6vectorIjSaIjEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %13) #8
  %170 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.18", ptr %26, i32 0, i32 0
  store ptr %169, ptr %170, align 8
  %171 = call ptr @_ZNK9__gnu_cxx17__normal_iteratorIPjSt6vectorIjSaIjEEEplEl(ptr noundef nonnull align 8 dereferenceable(8) %26, i64 noundef 1) #8
  %172 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.18", ptr %25, i32 0, i32 0
  store ptr %171, ptr %172, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #8
  br label %173

173:                                              ; preds = %187, %165
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #8
  %174 = call ptr @_ZNSt6vectorIjSaIjEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %13) #8
  %175 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.18", ptr %27, i32 0, i32 0
  store ptr %174, ptr %175, align 8
  %176 = call noundef zeroext i1 @_ZN9__gnu_cxxltIPjSt6vectorIjSaIjEEEEbRKNS_17__normal_iteratorIT_T0_EESA_(ptr noundef nonnull align 8 dereferenceable(8) %25, ptr noundef nonnull align 8 dereferenceable(8) %27) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #8
  br i1 %176, label %178, label %177

177:                                              ; preds = %173
  store i32 7, ptr %24, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #8
  br label %194

178:                                              ; preds = %173
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #8
  %179 = call ptr @_ZNK9__gnu_cxx17__normal_iteratorIPjSt6vectorIjSaIjEEEmiEl(ptr noundef nonnull align 8 dereferenceable(8) %25, i64 noundef 1) #8
  %180 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.18", ptr %28, i32 0, i32 0
  store ptr %179, ptr %180, align 8
  %181 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPjSt6vectorIjSaIjEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %28) #8
  %182 = load i32, ptr %181, align 4, !tbaa !14
  %183 = invoke noundef i32 @_ZN3qpl4test11random_basecvjEv(ptr noundef nonnull align 8 dereferenceable(72) %11)
          to label %184 unwind label %190

184:                                              ; preds = %178
  %185 = add i32 %182, %183
  %186 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPjSt6vectorIjSaIjEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %25) #8
  store i32 %185, ptr %186, align 4, !tbaa !14
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #8
  br label %187

187:                                              ; preds = %184
  %188 = call ptr @_ZN9__gnu_cxx17__normal_iteratorIPjSt6vectorIjSaIjEEEppEi(ptr noundef nonnull align 8 dereferenceable(8) %25, i32 noundef 0) #8
  %189 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.18", ptr %29, i32 0, i32 0
  store ptr %188, ptr %189, align 8
  br label %173, !llvm.loop !24

190:                                              ; preds = %178
  %191 = landingpad { ptr, i32 }
          cleanup
  %192 = extractvalue { ptr, i32 } %191, 0
  store ptr %192, ptr %8, align 8
  %193 = extractvalue { ptr, i32 } %191, 1
  store i32 %193, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #8
  br label %308

194:                                              ; preds = %177
  %195 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEE4backEv(ptr noundef nonnull align 8 dereferenceable(24) %13) #8
  %196 = load i32, ptr %195, align 4, !tbaa !14
  %197 = getelementptr inbounds %"class.qpl::test::source_provider", ptr %48, i32 0, i32 2
  store i32 %196, ptr %197, align 4, !tbaa !21
  br label %231

198:                                              ; preds = %162
  %199 = call noundef ptr @_ZNSt6vectorIjSaIjEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %13) #8
  %200 = call noundef ptr @_ZNSt6vectorIjSaIjEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %13) #8
  %201 = getelementptr inbounds i32, ptr %200, i64 8
  %202 = getelementptr inbounds %class.anon.19, ptr %30, i32 0, i32 0
  store ptr %11, ptr %202, align 8, !tbaa !5
  %203 = getelementptr inbounds %class.anon.19, ptr %30, i32 0, i32 0
  %204 = load ptr, ptr %203, align 8
  invoke void @"_ZSt8generateIPjZN3qpl4test15source_provider31generate_expand_rle_prle_streamEvE3$_0EvT_S5_T0_"(ptr noundef %199, ptr noundef %201, ptr %204)
          to label %205 unwind label %215

205:                                              ; preds = %198
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #8
  store ptr %13, ptr %31, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #8
  %206 = load ptr, ptr %31, align 8, !tbaa !5
  %207 = call ptr @_ZNSt6vectorIjSaIjEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %206) #8
  %208 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.18", ptr %32, i32 0, i32 0
  store ptr %207, ptr %208, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #8
  %209 = load ptr, ptr %31, align 8, !tbaa !5
  %210 = call ptr @_ZNSt6vectorIjSaIjEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %209) #8
  %211 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.18", ptr %33, i32 0, i32 0
  store ptr %210, ptr %211, align 8
  br label %212

212:                                              ; preds = %228, %205
  %213 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPjSt6vectorIjSaIjEEEEbRKNS_17__normal_iteratorIT_T0_EESA_(ptr noundef nonnull align 8 dereferenceable(8) %32, ptr noundef nonnull align 8 dereferenceable(8) %33) #8
  br i1 %213, label %219, label %214

214:                                              ; preds = %212
  store i32 10, ptr %24, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #8
  br label %230

215:                                              ; preds = %198
  %216 = landingpad { ptr, i32 }
          cleanup
  %217 = extractvalue { ptr, i32 } %216, 0
  store ptr %217, ptr %8, align 8
  %218 = extractvalue { ptr, i32 } %216, 1
  store i32 %218, ptr %9, align 4
  br label %308

219:                                              ; preds = %212
  call void @llvm.lifetime.start.p0(i64 4, ptr %34) #8
  %220 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPjSt6vectorIjSaIjEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %32) #8
  %221 = load i32, ptr %220, align 4, !tbaa !14
  store i32 %221, ptr %34, align 4, !tbaa !14
  %222 = load i32, ptr %34, align 4, !tbaa !14
  %223 = load i32, ptr %20, align 4, !tbaa !14
  %224 = mul i32 %222, %223
  %225 = getelementptr inbounds %"class.qpl::test::source_provider", ptr %48, i32 0, i32 2
  %226 = load i32, ptr %225, align 4, !tbaa !21
  %227 = add i32 %226, %224
  store i32 %227, ptr %225, align 4, !tbaa !21
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #8
  br label %228

228:                                              ; preds = %219
  %229 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPjSt6vectorIjSaIjEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %32) #8
  br label %212

230:                                              ; preds = %214
  br label %231

231:                                              ; preds = %230, %194
  call void @llvm.lifetime.start.p0(i64 4, ptr %35) #8
  store i32 0, ptr %35, align 4, !tbaa !14
  %232 = load i32, ptr %35, align 4, !tbaa !14
  %233 = add i32 %232, 1
  store i32 %233, ptr %35, align 4, !tbaa !14
  %234 = call ptr @_ZNSt6vectorIhSaIhEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %0) #8
  %235 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %36, i32 0, i32 0
  store ptr %234, ptr %235, align 8
  %236 = load i32, ptr %20, align 4, !tbaa !14
  %237 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %36, i32 0, i32 0
  %238 = load ptr, ptr %237, align 8
  invoke void @_ZNK3qpl4test15source_provider19store_parquet_groupERN9__gnu_cxx17__normal_iteratorIPhSt6vectorIhSaIhEEEES8_jRKS5_IjSaIjEE(ptr noundef nonnull align 4 dereferenceable(24) %48, ptr noundef nonnull align 8 dereferenceable(8) %17, ptr %238, i32 noundef %236, ptr noundef nonnull align 8 dereferenceable(24) %13)
          to label %239 unwind label %240

239:                                              ; preds = %231
  br label %286

240:                                              ; preds = %231
  %241 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt9exception
  %242 = extractvalue { ptr, i32 } %241, 0
  store ptr %242, ptr %8, align 8
  %243 = extractvalue { ptr, i32 } %241, 1
  store i32 %243, ptr %9, align 4
  br label %244

244:                                              ; preds = %240
  %245 = load i32, ptr %9, align 4
  %246 = call i32 @llvm.eh.typeid.for.p0(ptr @_ZTISt9exception) #8
  %247 = icmp eq i32 %245, %246
  br i1 %247, label %248, label %306

248:                                              ; preds = %244
  call void @llvm.lifetime.start.p0(i64 8, ptr %37) #8
  %249 = load ptr, ptr %8, align 8
  %250 = call ptr @__cxa_begin_catch(ptr %249) #8
  store ptr %250, ptr %37, align 8
  %251 = load i32, ptr %35, align 4, !tbaa !14
  %252 = icmp ugt i32 %251, 3
  br i1 %252, label %253, label %267

253:                                              ; preds = %248
  %254 = load ptr, ptr %37, align 8, !tbaa !5
  %255 = load ptr, ptr %254, align 8, !tbaa !26
  %256 = getelementptr inbounds ptr, ptr %255, i64 2
  %257 = load ptr, ptr %256, align 8
  %258 = call noundef ptr %257(ptr noundef nonnull align 8 dereferenceable(8) %254) #8
  %259 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cerr, ptr noundef %258)
          to label %260 unwind label %263

260:                                              ; preds = %253
  %261 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %259, i8 noundef signext 10)
          to label %262 unwind label %263

262:                                              ; preds = %260
  store i32 4, ptr %24, align 4
  br label %282

263:                                              ; preds = %274, %260, %253
  %264 = landingpad { ptr, i32 }
          cleanup
  %265 = extractvalue { ptr, i32 } %264, 0
  store ptr %265, ptr %8, align 8
  %266 = extractvalue { ptr, i32 } %264, 1
  store i32 %266, ptr %9, align 4
  br label %303

267:                                              ; preds = %248
  call void @llvm.lifetime.start.p0(i64 8, ptr %39) #8
  %268 = call ptr @_ZNSt6vectorIhSaIhEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %0) #8
  %269 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %39, i32 0, i32 0
  store ptr %268, ptr %269, align 8
  call void @_ZN9__gnu_cxx17__normal_iteratorIPKhSt6vectorIhSaIhEEEC2IPhvEERKNS0_IT_S5_EE(ptr noundef nonnull align 8 dereferenceable(8) %38, ptr noundef nonnull align 8 dereferenceable(8) %39) #8
  %270 = call noundef i64 @_ZNKSt6vectorIhSaIhEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %0) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr %40) #8
  store i8 0, ptr %40, align 1, !tbaa !18
  %271 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.17", ptr %38, i32 0, i32 0
  %272 = load ptr, ptr %271, align 8
  %273 = invoke ptr @_ZNSt6vectorIhSaIhEE6insertEN9__gnu_cxx17__normal_iteratorIPKhS1_EEmRS4_(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr %272, i64 noundef %270, ptr noundef nonnull align 1 dereferenceable(1) %40)
          to label %274 unwind label %295

274:                                              ; preds = %267
  %275 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %41, i32 0, i32 0
  store ptr %273, ptr %275, align 8
  call void @llvm.lifetime.end.p0(i64 1, ptr %40) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %39) #8
  %276 = call ptr @_ZNSt6vectorIhSaIhEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %0) #8
  %277 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %42, i32 0, i32 0
  store ptr %276, ptr %277, align 8
  %278 = load i32, ptr %20, align 4, !tbaa !14
  %279 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %42, i32 0, i32 0
  %280 = load ptr, ptr %279, align 8
  invoke void @_ZNK3qpl4test15source_provider19store_parquet_groupERN9__gnu_cxx17__normal_iteratorIPhSt6vectorIhSaIhEEEES8_jRKS5_IjSaIjEE(ptr noundef nonnull align 4 dereferenceable(24) %48, ptr noundef nonnull align 8 dereferenceable(8) %17, ptr %280, i32 noundef %278, ptr noundef nonnull align 8 dereferenceable(24) %13)
          to label %281 unwind label %263

281:                                              ; preds = %274
  store i32 0, ptr %24, align 4
  br label %282

282:                                              ; preds = %281, %262
  invoke void @__cxa_end_catch()
          to label %283 unwind label %299

283:                                              ; preds = %282
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #8
  %284 = load i32, ptr %24, align 4
  switch i32 %284, label %289 [
    i32 0, label %285
  ]

285:                                              ; preds = %283
  br label %286

286:                                              ; preds = %285, %239
  %287 = load i32, ptr %19, align 4, !tbaa !14
  %288 = sub i32 %287, 8
  store i32 %288, ptr %19, align 4, !tbaa !14
  store i32 0, ptr %24, align 4
  br label %289

289:                                              ; preds = %286, %283
  call void @llvm.lifetime.end.p0(i64 4, ptr %35) #8
  %290 = load i32, ptr %24, align 4
  switch i32 %290, label %307 [
    i32 0, label %291
  ]

291:                                              ; preds = %289
  br label %292

292:                                              ; preds = %291
  %293 = load i32, ptr %23, align 4, !tbaa !14
  %294 = add i32 %293, 1
  store i32 %294, ptr %23, align 4, !tbaa !14
  br label %157, !llvm.loop !28

295:                                              ; preds = %267
  %296 = landingpad { ptr, i32 }
          cleanup
  %297 = extractvalue { ptr, i32 } %296, 0
  store ptr %297, ptr %8, align 8
  %298 = extractvalue { ptr, i32 } %296, 1
  store i32 %298, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %40) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %39) #8
  br label %303

299:                                              ; preds = %282
  %300 = landingpad { ptr, i32 }
          cleanup
  %301 = extractvalue { ptr, i32 } %300, 0
  store ptr %301, ptr %8, align 8
  %302 = extractvalue { ptr, i32 } %300, 1
  store i32 %302, ptr %9, align 4
  br label %305

303:                                              ; preds = %295, %263
  invoke void @__cxa_end_catch()
          to label %304 unwind label %375

304:                                              ; preds = %303
  br label %305

305:                                              ; preds = %304, %299
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #8
  br label %306

306:                                              ; preds = %305, %244
  call void @llvm.lifetime.end.p0(i64 4, ptr %35) #8
  br label %308

307:                                              ; preds = %289, %161
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #8
  br label %309

308:                                              ; preds = %306, %215, %190
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #8
  br label %310

309:                                              ; preds = %307
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #8
  br label %347

310:                                              ; preds = %308, %151
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #8
  br label %363

311:                                              ; preds = %124, %121
  call void @llvm.lifetime.start.p0(i64 4, ptr %43) #8
  store i32 0, ptr %43, align 4, !tbaa !14
  %312 = load i8, ptr %21, align 1, !tbaa !19, !range !22, !noundef !23
  %313 = trunc i8 %312 to i1
  br i1 %313, label %314, label %326

314:                                              ; preds = %311
  store i32 1, ptr %20, align 4, !tbaa !14
  %315 = getelementptr inbounds %"class.qpl::test::source_provider", ptr %48, i32 0, i32 2
  %316 = load i32, ptr %315, align 4, !tbaa !21
  %317 = invoke noundef i32 @_ZN3qpl4test11random_basecvjEv(ptr noundef nonnull align 8 dereferenceable(72) %11)
          to label %318 unwind label %322

318:                                              ; preds = %314
  %319 = add i32 %316, %317
  store i32 %319, ptr %43, align 4, !tbaa !14
  %320 = load i32, ptr %43, align 4, !tbaa !14
  %321 = getelementptr inbounds %"class.qpl::test::source_provider", ptr %48, i32 0, i32 2
  store i32 %320, ptr %321, align 4, !tbaa !21
  br label %340

322:                                              ; preds = %328, %326, %314
  %323 = landingpad { ptr, i32 }
          cleanup
  %324 = extractvalue { ptr, i32 } %323, 0
  store ptr %324, ptr %8, align 8
  %325 = extractvalue { ptr, i32 } %323, 1
  store i32 %325, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %43) #8
  br label %363

326:                                              ; preds = %311
  %327 = invoke noundef i32 @_ZN3qpl4test11random_basecvjEv(ptr noundef nonnull align 8 dereferenceable(72) %12)
          to label %328 unwind label %322

328:                                              ; preds = %326
  %329 = load i32, ptr %19, align 4, !tbaa !14
  %330 = urem i32 %327, %329
  %331 = add i32 %330, 1
  store i32 %331, ptr %20, align 4, !tbaa !14
  %332 = invoke noundef i32 @_ZN3qpl4test11random_basecvjEv(ptr noundef nonnull align 8 dereferenceable(72) %11)
          to label %333 unwind label %322

333:                                              ; preds = %328
  store i32 %332, ptr %43, align 4, !tbaa !14
  %334 = load i32, ptr %43, align 4, !tbaa !14
  %335 = load i32, ptr %20, align 4, !tbaa !14
  %336 = mul i32 %334, %335
  %337 = getelementptr inbounds %"class.qpl::test::source_provider", ptr %48, i32 0, i32 2
  %338 = load i32, ptr %337, align 4, !tbaa !21
  %339 = add i32 %338, %336
  store i32 %339, ptr %337, align 4, !tbaa !21
  br label %340

340:                                              ; preds = %333, %318
  %341 = load i32, ptr %20, align 4, !tbaa !14
  call void @_ZN3qpl4test15source_provider17store_prle_headerERN9__gnu_cxx17__normal_iteratorIPhSt6vectorIhSaIhEEEEjNS1_15prle_encoding_tE(ptr noundef nonnull align 8 dereferenceable(8) %17, i32 noundef %341, i8 noundef zeroext 1)
  %342 = load i32, ptr %20, align 4, !tbaa !14
  %343 = load i32, ptr %43, align 4, !tbaa !14
  call void @_ZNK3qpl4test15source_provider9store_rleERN9__gnu_cxx17__normal_iteratorIPhSt6vectorIhSaIhEEEEjj(ptr noundef nonnull align 4 dereferenceable(24) %48, ptr noundef nonnull align 8 dereferenceable(8) %17, i32 noundef %342, i32 noundef %343)
  %344 = load i32, ptr %20, align 4, !tbaa !14
  %345 = load i32, ptr %19, align 4, !tbaa !14
  %346 = sub i32 %345, %344
  store i32 %346, ptr %19, align 4, !tbaa !14
  call void @llvm.lifetime.end.p0(i64 4, ptr %43) #8
  br label %347

347:                                              ; preds = %340, %309
  br label %110, !llvm.loop !29

348:                                              ; preds = %110
  call void @_ZN9__gnu_cxx17__normal_iteratorIPKhSt6vectorIhSaIhEEEC2IPhvEERKNS0_IT_S5_EE(ptr noundef nonnull align 8 dereferenceable(8) %44, ptr noundef nonnull align 8 dereferenceable(8) %17) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %46) #8
  %349 = call ptr @_ZNSt6vectorIhSaIhEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %0) #8
  %350 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %46, i32 0, i32 0
  store ptr %349, ptr %350, align 8
  call void @_ZN9__gnu_cxx17__normal_iteratorIPKhSt6vectorIhSaIhEEEC2IPhvEERKNS0_IT_S5_EE(ptr noundef nonnull align 8 dereferenceable(8) %45, ptr noundef nonnull align 8 dereferenceable(8) %46) #8
  %351 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.17", ptr %44, i32 0, i32 0
  %352 = load ptr, ptr %351, align 8
  %353 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.17", ptr %45, i32 0, i32 0
  %354 = load ptr, ptr %353, align 8
  %355 = invoke ptr @_ZNSt6vectorIhSaIhEE5eraseEN9__gnu_cxx17__normal_iteratorIPKhS1_EES6_(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr %352, ptr %354)
          to label %356 unwind label %359

356:                                              ; preds = %348
  %357 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %47, i32 0, i32 0
  store ptr %355, ptr %357, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr %46) #8
  store i1 true, ptr %6, align 1
  store i32 1, ptr %24, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %21) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %16) #8
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %13) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %13) #8
  call void @llvm.lifetime.end.p0(i64 72, ptr %12) #8
  call void @llvm.lifetime.end.p0(i64 72, ptr %11) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #8
  %358 = load i1, ptr %6, align 1
  br i1 %358, label %368, label %367

359:                                              ; preds = %348
  %360 = landingpad { ptr, i32 }
          cleanup
  %361 = extractvalue { ptr, i32 } %360, 0
  store ptr %361, ptr %8, align 8
  %362 = extractvalue { ptr, i32 } %360, 1
  store i32 %362, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %46) #8
  br label %363

363:                                              ; preds = %359, %322, %310, %147
  call void @llvm.lifetime.end.p0(i64 1, ptr %21) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %16) #8
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %13) #8
  br label %364

364:                                              ; preds = %363, %105
  call void @llvm.lifetime.end.p0(i64 24, ptr %13) #8
  br label %365

365:                                              ; preds = %364, %101
  call void @llvm.lifetime.end.p0(i64 72, ptr %12) #8
  br label %366

366:                                              ; preds = %365, %97
  call void @llvm.lifetime.end.p0(i64 72, ptr %11) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #8
  call void @_ZNSt6vectorIhSaIhEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %0) #8
  br label %369

367:                                              ; preds = %356
  call void @_ZNSt6vectorIhSaIhEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %0) #8
  br label %368

368:                                              ; preds = %367, %356
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #8
  ret void

369:                                              ; preds = %366, %93
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #8
  br label %370

370:                                              ; preds = %369
  %371 = load ptr, ptr %8, align 8
  %372 = load i32, ptr %9, align 4
  %373 = insertvalue { ptr, i32 } poison, ptr %371, 0
  %374 = insertvalue { ptr, i32 } %373, i32 %372, 1
  resume { ptr, i32 } %374

375:                                              ; preds = %303
  %376 = landingpad { ptr, i32 }
          catch ptr null
  %377 = extractvalue { ptr, i32 } %376, 0
  call void @__clang_call_terminate(ptr %377) #9
  unreachable
}

; 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 ptr @_ZNSt6vectorIjSaIjEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24)) #1 align 2

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN9__gnu_cxxltIPjSt6vectorIjSaIjEEEEbRKNS_17__normal_iteratorIT_T0_EESA_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #7

; 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 ptr @_ZNK9__gnu_cxx17__normal_iteratorIPjSt6vectorIjSaIjEEEmiEl(ptr noundef nonnull align 8 dereferenceable(8), i64 noundef) #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

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

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

; Function Attrs: mustprogress uwtable
declare hidden void @"_ZSt8generateIPjZN3qpl4test15source_provider31generate_expand_rle_prle_streamEvE3$_0EvT_S5_T0_"(ptr noundef, ptr noundef, ptr) #2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN9__gnu_cxxneIPjSt6vectorIjSaIjEEEEbRKNS_17__normal_iteratorIT_T0_EESA_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #7

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt15__new_allocatorIhED2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #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 = { nounwind memory(none) }
attributes #5 = { 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 #6 = { noinline noreturn nounwind uwtable "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #8 = { nounwind }
attributes #9 = { noreturn 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, !11, i64 4}
!10 = !{!"_ZTSN3qpl4test15source_providerE", !11, i64 0, !11, i64 4, !11, i64 8, !11, i64 12, !11, i64 16, !12, i64 20}
!11 = !{!"int", !7, i64 0}
!12 = !{!"_ZTS10qpl_parser", !7, i64 0}
!13 = !{!10, !11, i64 12}
!14 = !{!11, !11, i64 0}
!15 = !{!16, !16, i64 0}
!16 = !{!"long", !7, i64 0}
!17 = !{!10, !11, i64 0}
!18 = !{!7, !7, i64 0}
!19 = !{!20, !20, i64 0}
!20 = !{!"bool", !7, i64 0}
!21 = !{!10, !11, i64 8}
!22 = !{i8 0, i8 2}
!23 = !{}
!24 = distinct !{!24, !25}
!25 = !{!"llvm.loop.mustprogress"}
!26 = !{!27, !27, i64 0}
!27 = !{!"vtable pointer", !8, i64 0}
!28 = distinct !{!28, !25}
!29 = distinct !{!29, !25}


; 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.6" = type { %"struct.std::_Vector_base.7" }
%"struct.std::_Vector_base.7" = 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.std::allocator.8" = type { i8 }
%"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.std::vector.11" = type { %"struct.std::_Vector_base.12" }
%"struct.std::_Vector_base.12" = 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.std::allocator.13" = type { i8 }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }
%"class.__gnu_cxx::__normal_iterator.18" = type { ptr }
%"class.__gnu_cxx::__normal_iterator.17" = type { ptr }

@_ZTISt9exception = external constant 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 @_ZNSt6vectorIhSaIhEED2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #1 align 2

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3qpl4test6randomC2Eddj(ptr noundef nonnull align 8 dereferenceable(72), double noundef, double noundef, i32 noundef) unnamed_addr #2 align 2

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZNSt6vectorIhSaIhEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #1 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 noundef ptr @_ZNSt6vectorIjSaIjEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #1 align 2

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

; Function Attrs: nofree nosync nounwind memory(none)
declare i32 @llvm.eh.typeid.for.p0(ptr) #4

declare ptr @__cxa_begin_catch(ptr) local_unnamed_addr

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

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

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

declare void @__cxa_end_catch() local_unnamed_addr

; Function Attrs: noinline noreturn nounwind uwtable
declare hidden void @__clang_call_terminate(ptr noundef) local_unnamed_addr #5

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

; 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
define dso_local void @_ZN3qpl4test15source_provider31generate_expand_rle_prle_streamEv(ptr dead_on_unwind noalias writable sret(%"class.std::vector.6") align 8 %0, ptr noundef nonnull align 4 dereferenceable(24) %1) local_unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca %"class.std::allocator.8", align 1
  %4 = alloca %"class.qpl::test::random", align 8
  %5 = alloca %"class.qpl::test::random", align 8
  %6 = alloca %"class.std::vector.11", align 8
  %7 = alloca i32, align 4
  %8 = alloca %"class.std::allocator.13", align 1
  %9 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %10 = alloca %"class.__gnu_cxx::__normal_iterator.18", align 8
  %11 = alloca %"class.__gnu_cxx::__normal_iterator.18", align 8
  %12 = alloca %"class.__gnu_cxx::__normal_iterator.18", align 8
  %13 = alloca %"class.__gnu_cxx::__normal_iterator.18", align 8
  %14 = alloca %"class.__gnu_cxx::__normal_iterator.18", align 8
  %15 = alloca %"class.__gnu_cxx::__normal_iterator.18", align 8
  %16 = alloca %"class.__gnu_cxx::__normal_iterator.17", align 8
  %17 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %18 = alloca i8, align 1
  %19 = alloca %"class.__gnu_cxx::__normal_iterator.17", align 8
  %20 = alloca %"class.__gnu_cxx::__normal_iterator.17", align 8
  %21 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %22 = getelementptr inbounds i8, ptr %1, i64 4
  %23 = load i32, ptr %22, align 4, !tbaa !5
  %24 = getelementptr inbounds i8, ptr %1, i64 12
  %25 = load i32, ptr %24, align 4, !tbaa !11
  %26 = lshr i32 %25, 3
  %27 = add nuw nsw i32 %26, 2
  %28 = mul i32 %27, %23
  %29 = zext i32 %28 to i64
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %3) #7
  call void @_ZNSaIhEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %3) #7
  invoke void @_ZNSt6vectorIhSaIhEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef %29, ptr noundef nonnull align 1 dereferenceable(1) %3)
          to label %30 unwind label %49

30:                                               ; preds = %2
  call void @_ZNSt15__new_allocatorIhED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %3) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %3) #7
  call void @llvm.lifetime.start.p0(i64 72, ptr nonnull %4) #7
  %31 = load i32, ptr %1, align 4, !tbaa !12
  invoke void @_ZN3qpl4test6randomC2Eddj(ptr noundef nonnull align 8 dereferenceable(72) %4, double noundef 1.000000e+00, double noundef 4.000000e+00, i32 noundef %31)
          to label %32 unwind label %53

32:                                               ; preds = %30
  call void @llvm.lifetime.start.p0(i64 72, ptr nonnull %5) #7
  %33 = load i32, ptr %22, align 4, !tbaa !5
  %34 = uitofp i32 %33 to double
  %35 = load i32, ptr %1, align 4, !tbaa !12
  invoke void @_ZN3qpl4test6randomC2Eddj(ptr noundef nonnull align 8 dereferenceable(72) %5, double noundef 1.000000e+00, double noundef %34, i32 noundef %35)
          to label %36 unwind label %57

36:                                               ; preds = %32
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %6) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #7
  store i32 0, ptr %7, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %8) #7
  call void @_ZNSaIjEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %8) #7
  invoke void @_ZNSt6vectorIjSaIjEEC2EmRKjRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef 8, ptr noundef nonnull align 4 dereferenceable(4) %7, ptr noundef nonnull align 1 dereferenceable(1) %8)
          to label %37 unwind label %61

37:                                               ; preds = %36
  call void @_ZNSt15__new_allocatorIjED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %8) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %8) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #7
  %38 = load i32, ptr %24, align 4, !tbaa !11
  %39 = trunc i32 %38 to i8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #7
  %40 = call ptr @_ZNSt6vectorIhSaIhEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %0) #7
  store ptr %40, ptr %9, align 8
  %41 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPhSt6vectorIhSaIhEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %9) #7
  store i8 %39, ptr %41, align 1, !tbaa !14
  %42 = call ptr @_ZN9__gnu_cxx17__normal_iteratorIPhSt6vectorIhSaIhEEEppEi(ptr noundef nonnull align 8 dereferenceable(8) %9, i32 noundef 0) #7
  %43 = load i32, ptr %22, align 4, !tbaa !5
  %44 = load i32, ptr %24, align 4, !tbaa !11
  %45 = icmp eq i32 %44, 32
  %46 = getelementptr inbounds i8, ptr %1, i64 8
  store i32 0, ptr %46, align 4, !tbaa !15
  br i1 %45, label %47, label %65

47:                                               ; preds = %37
  call void @_ZN3qpl4test15source_provider17store_prle_headerERN9__gnu_cxx17__normal_iteratorIPhSt6vectorIhSaIhEEEEjNS1_15prle_encoding_tE(ptr noundef nonnull align 8 dereferenceable(8) %9, i32 noundef 1, i8 noundef zeroext 1)
  call void @_ZNK3qpl4test15source_provider9store_rleERN9__gnu_cxx17__normal_iteratorIPhSt6vectorIhSaIhEEEEjj(ptr noundef nonnull align 4 dereferenceable(24) %1, ptr noundef nonnull align 8 dereferenceable(8) %9, i32 noundef 1, i32 noundef 0)
  %48 = add i32 %43, -1
  br label %65

49:                                               ; preds = %2
  %50 = landingpad { ptr, i32 }
          cleanup
  %51 = extractvalue { ptr, i32 } %50, 0
  %52 = extractvalue { ptr, i32 } %50, 1
  call void @_ZNSt15__new_allocatorIhED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %3) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %3) #7
  br label %208

53:                                               ; preds = %30
  %54 = landingpad { ptr, i32 }
          cleanup
  %55 = extractvalue { ptr, i32 } %54, 0
  %56 = extractvalue { ptr, i32 } %54, 1
  br label %207

57:                                               ; preds = %32
  %58 = landingpad { ptr, i32 }
          cleanup
  %59 = extractvalue { ptr, i32 } %58, 0
  %60 = extractvalue { ptr, i32 } %58, 1
  br label %206

61:                                               ; preds = %36
  %62 = landingpad { ptr, i32 }
          cleanup
  %63 = extractvalue { ptr, i32 } %62, 0
  %64 = extractvalue { ptr, i32 } %62, 1
  call void @_ZNSt15__new_allocatorIjED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %8) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %8) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #7
  br label %205

65:                                               ; preds = %47, %37
  %.068 = phi i32 [ %48, %47 ], [ %43, %37 ]
  %.not116 = icmp eq i32 %.068, 0
  br i1 %.not116, label %._crit_edge121, label %.lr.ph120

.lr.ph120:                                        ; preds = %65, %.loopexit
  %.169117 = phi i32 [ %.573, %.loopexit ], [ %.068, %65 ]
  %66 = icmp ugt i32 %.169117, 7
  br i1 %66, label %67, label %176

67:                                               ; preds = %.lr.ph120
  %68 = invoke noundef i32 @_ZN3qpl4test11random_basecvjEv(ptr noundef nonnull align 8 dereferenceable(72) %4)
          to label %69 unwind label %126

69:                                               ; preds = %67
  %70 = and i32 %68, 1
  %71 = icmp eq i32 %70, 0
  %or.cond82 = or i1 %45, %71
  br i1 %or.cond82, label %72, label %.thread

72:                                               ; preds = %69
  %73 = invoke noundef i32 @_ZN3qpl4test11random_basecvjEv(ptr noundef nonnull align 8 dereferenceable(72) %5)
          to label %74 unwind label %130

74:                                               ; preds = %72
  %75 = lshr i32 %.169117, 3
  %76 = and i32 %.169117, 7
  %77 = icmp ne i32 %76, 0
  %78 = zext i1 %77 to i32
  %79 = add nuw nsw i32 %75, %78
  %80 = urem i32 %73, %79
  %81 = lshr i32 %80, 1
  %82 = add nuw nsw i32 %81, 1
  %spec.store.select = select i1 %45, i32 1, i32 %82
  call void @_ZN3qpl4test15source_provider17store_prle_headerERN9__gnu_cxx17__normal_iteratorIPhSt6vectorIhSaIhEEEEjNS1_15prle_encoding_tE(ptr noundef nonnull align 8 dereferenceable(8) %9, i32 noundef %spec.store.select, i8 noundef zeroext 0)
  br i1 %45, label %.split.us, label %.split.preheader

.split.preheader:                                 ; preds = %74
  %83 = shl nuw i32 %82, 3
  br label %.split

.split.us:                                        ; preds = %74, %108
  %.075100.us = phi i32 [ %109, %108 ], [ 0, %74 ]
  %84 = load i32, ptr %46, align 4, !tbaa !15
  %85 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef 0) #7
  store i32 %84, ptr %85, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #7
  %86 = call ptr @_ZNSt6vectorIjSaIjEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %6) #7
  store ptr %86, ptr %11, align 8
  %87 = call ptr @_ZNK9__gnu_cxx17__normal_iteratorIPjSt6vectorIjSaIjEEEplEl(ptr noundef nonnull align 8 dereferenceable(8) %11, i64 noundef 1) #7
  store ptr %87, ptr %10, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #7
  %88 = call ptr @_ZNSt6vectorIjSaIjEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %6) #7
  store ptr %88, ptr %12, align 8
  %89 = call noundef zeroext i1 @_ZN9__gnu_cxxltIPjSt6vectorIjSaIjEEEEbRKNS_17__normal_iteratorIT_T0_EESA_(ptr noundef nonnull align 8 dereferenceable(8) %10, ptr noundef nonnull align 8 dereferenceable(8) %12) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #7
  br i1 %89, label %.lr.ph98.us, label %._crit_edge99.us

._crit_edge99.us:                                 ; preds = %114, %.split.us
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #7
  %90 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEE4backEv(ptr noundef nonnull align 8 dereferenceable(24) %6) #7
  %91 = load i32, ptr %90, align 4, !tbaa !13
  store i32 %91, ptr %46, align 4, !tbaa !15
  %92 = call ptr @_ZNSt6vectorIhSaIhEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %0) #7
  invoke void @_ZNK3qpl4test15source_provider19store_parquet_groupERN9__gnu_cxx17__normal_iteratorIPhSt6vectorIhSaIhEEEES8_jRKS5_IjSaIjEE(ptr noundef nonnull align 4 dereferenceable(24) %1, ptr noundef nonnull align 8 dereferenceable(8) %9, ptr %92, i32 noundef %spec.store.select, ptr noundef nonnull align 8 dereferenceable(24) %6)
          to label %108 unwind label %93

93:                                               ; preds = %._crit_edge99.us
  %94 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt9exception
  %95 = extractvalue { ptr, i32 } %94, 0
  %96 = extractvalue { ptr, i32 } %94, 1
  %97 = call i32 @llvm.eh.typeid.for.p0(ptr nonnull @_ZTISt9exception) #7
  %98 = icmp eq i32 %96, %97
  br i1 %98, label %99, label %.loopexit83

99:                                               ; preds = %93
  %100 = call ptr @__cxa_begin_catch(ptr %95) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %17) #7
  %101 = call ptr @_ZNSt6vectorIhSaIhEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %0) #7
  store ptr %101, ptr %17, align 8
  call void @_ZN9__gnu_cxx17__normal_iteratorIPKhSt6vectorIhSaIhEEEC2IPhvEERKNS0_IT_S5_EE(ptr noundef nonnull align 8 dereferenceable(8) %16, ptr noundef nonnull align 8 dereferenceable(8) %17) #7
  %102 = call noundef i64 @_ZNKSt6vectorIhSaIhEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %0) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %18) #7
  store i8 0, ptr %18, align 1, !tbaa !14
  %103 = load ptr, ptr %16, align 8
  %104 = invoke ptr @_ZNSt6vectorIhSaIhEE6insertEN9__gnu_cxx17__normal_iteratorIPKhS1_EEmRS4_(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr %103, i64 noundef %102, ptr noundef nonnull align 1 dereferenceable(1) %18)
          to label %105 unwind label %.split104.us

105:                                              ; preds = %99
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %18) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #7
  %106 = call ptr @_ZNSt6vectorIhSaIhEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %0) #7
  invoke void @_ZNK3qpl4test15source_provider19store_parquet_groupERN9__gnu_cxx17__normal_iteratorIPhSt6vectorIhSaIhEEEES8_jRKS5_IjSaIjEE(ptr noundef nonnull align 4 dereferenceable(24) %1, ptr noundef nonnull align 8 dereferenceable(8) %9, ptr %106, i32 noundef %spec.store.select, ptr noundef nonnull align 8 dereferenceable(24) %6)
          to label %107 unwind label %.split107.us

107:                                              ; preds = %105
  invoke void @__cxa_end_catch()
          to label %108 unwind label %.split110.us

108:                                              ; preds = %107, %._crit_edge99.us
  %109 = add nuw nsw i32 %.075100.us, 1
  %exitcond142.not = icmp eq i32 %109, %spec.store.select
  br i1 %exitcond142.not, label %.loopexit, label %.split.us, !llvm.loop !16

.lr.ph98.us:                                      ; preds = %.split.us, %114
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #7
  %110 = call ptr @_ZNK9__gnu_cxx17__normal_iteratorIPjSt6vectorIjSaIjEEEmiEl(ptr noundef nonnull align 8 dereferenceable(8) %10, i64 noundef 1) #7
  store ptr %110, ptr %13, align 8
  %111 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPjSt6vectorIjSaIjEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %13) #7
  %112 = load i32, ptr %111, align 4, !tbaa !13
  %113 = invoke noundef i32 @_ZN3qpl4test11random_basecvjEv(ptr noundef nonnull align 8 dereferenceable(72) %4)
          to label %114 unwind label %.split114.us

114:                                              ; preds = %.lr.ph98.us
  %115 = add i32 %113, %112
  %116 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPjSt6vectorIjSaIjEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %10) #7
  store i32 %115, ptr %116, align 4, !tbaa !13
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #7
  %117 = call ptr @_ZN9__gnu_cxx17__normal_iteratorIPjSt6vectorIjSaIjEEEppEi(ptr noundef nonnull align 8 dereferenceable(8) %10, i32 noundef 0) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #7
  %118 = call ptr @_ZNSt6vectorIjSaIjEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %6) #7
  store ptr %118, ptr %12, align 8
  %119 = call noundef zeroext i1 @_ZN9__gnu_cxxltIPjSt6vectorIjSaIjEEEEbRKNS_17__normal_iteratorIT_T0_EESA_(ptr noundef nonnull align 8 dereferenceable(8) %10, ptr noundef nonnull align 8 dereferenceable(8) %12) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #7
  br i1 %119, label %.lr.ph98.us, label %._crit_edge99.us, !llvm.loop !18

.split104.us:                                     ; preds = %99
  %120 = landingpad { ptr, i32 }
          cleanup
  br label %172

.split107.us:                                     ; preds = %105
  %121 = landingpad { ptr, i32 }
          cleanup
  br label %174

.split110.us:                                     ; preds = %107
  %122 = landingpad { ptr, i32 }
          cleanup
  br label %175

.split114.us:                                     ; preds = %.lr.ph98.us
  %123 = landingpad { ptr, i32 }
          cleanup
  %124 = extractvalue { ptr, i32 } %123, 0
  %125 = extractvalue { ptr, i32 } %123, 1
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #7
  br label %.loopexit83

126:                                              ; preds = %67
  %127 = landingpad { ptr, i32 }
          cleanup
  %128 = extractvalue { ptr, i32 } %127, 0
  %129 = extractvalue { ptr, i32 } %127, 1
  br label %.loopexit83

130:                                              ; preds = %72
  %131 = landingpad { ptr, i32 }
          cleanup
  %132 = extractvalue { ptr, i32 } %131, 0
  %133 = extractvalue { ptr, i32 } %131, 1
  br label %.loopexit83

.split:                                           ; preds = %.split.preheader, %169
  %.075100 = phi i32 [ %170, %169 ], [ 0, %.split.preheader ]
  %134 = call noundef ptr @_ZNSt6vectorIjSaIjEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %6) #7
  %135 = call noundef ptr @_ZNSt6vectorIjSaIjEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %6) #7
  %136 = getelementptr inbounds i8, ptr %135, i64 32
  invoke void @"_ZSt8generateIPjZN3qpl4test15source_provider31generate_expand_rle_prle_streamEvE3$_0EvT_S5_T0_"(ptr noundef %134, ptr noundef nonnull %136, ptr nonnull %4)
          to label %137 unwind label %142

137:                                              ; preds = %.split
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #7
  %138 = call ptr @_ZNSt6vectorIjSaIjEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %6) #7
  store ptr %138, ptr %14, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %15) #7
  %139 = call ptr @_ZNSt6vectorIjSaIjEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %6) #7
  store ptr %139, ptr %15, align 8
  %140 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPjSt6vectorIjSaIjEEEEbRKNS_17__normal_iteratorIT_T0_EESA_(ptr noundef nonnull align 8 dereferenceable(8) %14, ptr noundef nonnull align 8 dereferenceable(8) %15) #7
  br i1 %140, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %.lr.ph, %137
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #7
  %141 = call ptr @_ZNSt6vectorIhSaIhEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %0) #7
  invoke void @_ZNK3qpl4test15source_provider19store_parquet_groupERN9__gnu_cxx17__normal_iteratorIPhSt6vectorIhSaIhEEEES8_jRKS5_IjSaIjEE(ptr noundef nonnull align 4 dereferenceable(24) %1, ptr noundef nonnull align 8 dereferenceable(8) %9, ptr %141, i32 noundef %spec.store.select, ptr noundef nonnull align 8 dereferenceable(24) %6)
          to label %169 unwind label %153

142:                                              ; preds = %.split
  %143 = landingpad { ptr, i32 }
          cleanup
  %144 = extractvalue { ptr, i32 } %143, 0
  %145 = extractvalue { ptr, i32 } %143, 1
  br label %.loopexit83

.lr.ph:                                           ; preds = %137, %.lr.ph
  %146 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPjSt6vectorIjSaIjEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %14) #7
  %147 = load i32, ptr %146, align 4, !tbaa !13
  %148 = mul i32 %147, %spec.store.select
  %149 = load i32, ptr %46, align 4, !tbaa !15
  %150 = add i32 %149, %148
  store i32 %150, ptr %46, align 4, !tbaa !15
  %151 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPjSt6vectorIjSaIjEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %14) #7
  %152 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPjSt6vectorIjSaIjEEEEbRKNS_17__normal_iteratorIT_T0_EESA_(ptr noundef nonnull align 8 dereferenceable(8) %14, ptr noundef nonnull align 8 dereferenceable(8) %15) #7
  br i1 %152, label %.lr.ph, label %._crit_edge

153:                                              ; preds = %._crit_edge
  %154 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt9exception
  %155 = extractvalue { ptr, i32 } %154, 0
  %156 = extractvalue { ptr, i32 } %154, 1
  %157 = call i32 @llvm.eh.typeid.for.p0(ptr nonnull @_ZTISt9exception) #7
  %158 = icmp eq i32 %156, %157
  br i1 %158, label %159, label %.loopexit83

159:                                              ; preds = %153
  %160 = call ptr @__cxa_begin_catch(ptr %155) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %17) #7
  %161 = call ptr @_ZNSt6vectorIhSaIhEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %0) #7
  store ptr %161, ptr %17, align 8
  call void @_ZN9__gnu_cxx17__normal_iteratorIPKhSt6vectorIhSaIhEEEC2IPhvEERKNS0_IT_S5_EE(ptr noundef nonnull align 8 dereferenceable(8) %16, ptr noundef nonnull align 8 dereferenceable(8) %17) #7
  %162 = call noundef i64 @_ZNKSt6vectorIhSaIhEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %0) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %18) #7
  store i8 0, ptr %18, align 1, !tbaa !14
  %163 = load ptr, ptr %16, align 8
  %164 = invoke ptr @_ZNSt6vectorIhSaIhEE6insertEN9__gnu_cxx17__normal_iteratorIPKhS1_EEmRS4_(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr %163, i64 noundef %162, ptr noundef nonnull align 1 dereferenceable(1) %18)
          to label %166 unwind label %.split104

.split107:                                        ; preds = %166
  %165 = landingpad { ptr, i32 }
          cleanup
  br label %174

166:                                              ; preds = %159
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %18) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #7
  %167 = call ptr @_ZNSt6vectorIhSaIhEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %0) #7
  invoke void @_ZNK3qpl4test15source_provider19store_parquet_groupERN9__gnu_cxx17__normal_iteratorIPhSt6vectorIhSaIhEEEES8_jRKS5_IjSaIjEE(ptr noundef nonnull align 4 dereferenceable(24) %1, ptr noundef nonnull align 8 dereferenceable(8) %9, ptr %167, i32 noundef %spec.store.select, ptr noundef nonnull align 8 dereferenceable(24) %6)
          to label %168 unwind label %.split107

168:                                              ; preds = %166
  invoke void @__cxa_end_catch()
          to label %169 unwind label %.split110

169:                                              ; preds = %168, %._crit_edge
  %170 = add nuw nsw i32 %.075100, 1
  %exitcond.not = icmp eq i32 %170, %spec.store.select
  br i1 %exitcond.not, label %.loopexit, label %.split, !llvm.loop !16

.split104:                                        ; preds = %159
  %171 = landingpad { ptr, i32 }
          cleanup
  br label %172

172:                                              ; preds = %.split104.us, %.split104
  %.us-phi105 = phi { ptr, i32 } [ %171, %.split104 ], [ %120, %.split104.us ]
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %18) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #7
  br label %174

.split110:                                        ; preds = %168
  %173 = landingpad { ptr, i32 }
          cleanup
  br label %175

174:                                              ; preds = %.split107, %.split107.us, %172
  %.pn = phi { ptr, i32 } [ %.us-phi105, %172 ], [ %165, %.split107 ], [ %121, %.split107.us ]
  invoke void @__cxa_end_catch()
          to label %175 unwind label %211

175:                                              ; preds = %.split110, %.split110.us, %174
  %.pn80 = phi { ptr, i32 } [ %.pn, %174 ], [ %173, %.split110 ], [ %122, %.split110.us ]
  %.1 = extractvalue { ptr, i32 } %.pn80, 0
  %.159 = extractvalue { ptr, i32 } %.pn80, 1
  br label %.loopexit83

176:                                              ; preds = %.lr.ph120
  br i1 %45, label %177, label %.thread

177:                                              ; preds = %176
  %178 = load i32, ptr %46, align 4, !tbaa !15
  %179 = invoke noundef i32 @_ZN3qpl4test11random_basecvjEv(ptr noundef nonnull align 8 dereferenceable(72) %4)
          to label %180 unwind label %182

180:                                              ; preds = %177
  %181 = add i32 %179, %178
  br label %195

182:                                              ; preds = %187, %.thread, %177
  %183 = landingpad { ptr, i32 }
          cleanup
  %184 = extractvalue { ptr, i32 } %183, 0
  %185 = extractvalue { ptr, i32 } %183, 1
  br label %.loopexit83

.thread:                                          ; preds = %69, %176
  %186 = invoke noundef i32 @_ZN3qpl4test11random_basecvjEv(ptr noundef nonnull align 8 dereferenceable(72) %5)
          to label %187 unwind label %182

187:                                              ; preds = %.thread
  %188 = invoke noundef i32 @_ZN3qpl4test11random_basecvjEv(ptr noundef nonnull align 8 dereferenceable(72) %4)
          to label %189 unwind label %182

189:                                              ; preds = %187
  %190 = urem i32 %186, %.169117
  %191 = add nuw i32 %190, 1
  %192 = mul i32 %191, %188
  %193 = load i32, ptr %46, align 4, !tbaa !15
  %194 = add i32 %192, %193
  br label %195

195:                                              ; preds = %189, %180
  %storemerge = phi i32 [ %194, %189 ], [ %181, %180 ]
  %.074 = phi i32 [ %191, %189 ], [ 1, %180 ]
  %.0 = phi i32 [ %188, %189 ], [ %181, %180 ]
  store i32 %storemerge, ptr %46, align 4, !tbaa !15
  call void @_ZN3qpl4test15source_provider17store_prle_headerERN9__gnu_cxx17__normal_iteratorIPhSt6vectorIhSaIhEEEEjNS1_15prle_encoding_tE(ptr noundef nonnull align 8 dereferenceable(8) %9, i32 noundef %.074, i8 noundef zeroext 1)
  call void @_ZNK3qpl4test15source_provider9store_rleERN9__gnu_cxx17__normal_iteratorIPhSt6vectorIhSaIhEEEEjj(ptr noundef nonnull align 4 dereferenceable(24) %1, ptr noundef nonnull align 8 dereferenceable(8) %9, i32 noundef %.074, i32 noundef %.0)
  br label %.loopexit

.loopexit:                                        ; preds = %169, %108, %195
  %.074.pn = phi i32 [ %.074, %195 ], [ 8, %108 ], [ %83, %169 ]
  %.573 = sub i32 %.169117, %.074.pn
  %.not = icmp eq i32 %.573, 0
  br i1 %.not, label %._crit_edge121, label %.lr.ph120, !llvm.loop !19

._crit_edge121:                                   ; preds = %.loopexit, %65
  call void @_ZN9__gnu_cxx17__normal_iteratorIPKhSt6vectorIhSaIhEEEC2IPhvEERKNS0_IT_S5_EE(ptr noundef nonnull align 8 dereferenceable(8) %19, ptr noundef nonnull align 8 dereferenceable(8) %9) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %21) #7
  %196 = call ptr @_ZNSt6vectorIhSaIhEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %0) #7
  store ptr %196, ptr %21, align 8
  call void @_ZN9__gnu_cxx17__normal_iteratorIPKhSt6vectorIhSaIhEEEC2IPhvEERKNS0_IT_S5_EE(ptr noundef nonnull align 8 dereferenceable(8) %20, ptr noundef nonnull align 8 dereferenceable(8) %21) #7
  %197 = load ptr, ptr %19, align 8
  %198 = load ptr, ptr %20, align 8
  %199 = invoke ptr @_ZNSt6vectorIhSaIhEE5eraseEN9__gnu_cxx17__normal_iteratorIPKhS1_EES6_(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr %197, ptr %198)
          to label %200 unwind label %201

200:                                              ; preds = %._crit_edge121
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %21) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #7
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #7
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %5) #7
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %4) #7
  ret void

201:                                              ; preds = %._crit_edge121
  %202 = landingpad { ptr, i32 }
          cleanup
  %203 = extractvalue { ptr, i32 } %202, 0
  %204 = extractvalue { ptr, i32 } %202, 1
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %21) #7
  br label %.loopexit83

.loopexit83:                                      ; preds = %153, %93, %130, %175, %142, %.split114.us, %201, %182, %126
  %.563 = phi i32 [ %185, %182 ], [ %129, %126 ], [ %204, %201 ], [ %133, %130 ], [ %125, %.split114.us ], [ %145, %142 ], [ %.159, %175 ], [ %96, %93 ], [ %156, %153 ]
  %.5 = phi ptr [ %184, %182 ], [ %128, %126 ], [ %203, %201 ], [ %132, %130 ], [ %124, %.split114.us ], [ %144, %142 ], [ %.1, %175 ], [ %95, %93 ], [ %155, %153 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #7
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #7
  br label %205

205:                                              ; preds = %.loopexit83, %61
  %.664 = phi i32 [ %.563, %.loopexit83 ], [ %64, %61 ]
  %.6 = phi ptr [ %.5, %.loopexit83 ], [ %63, %61 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #7
  br label %206

206:                                              ; preds = %205, %57
  %.765 = phi i32 [ %.664, %205 ], [ %60, %57 ]
  %.7 = phi ptr [ %.6, %205 ], [ %59, %57 ]
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %5) #7
  br label %207

207:                                              ; preds = %206, %53
  %.866 = phi i32 [ %.765, %206 ], [ %56, %53 ]
  %.8 = phi ptr [ %.7, %206 ], [ %55, %53 ]
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %4) #7
  call void @_ZNSt6vectorIhSaIhEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %0) #7
  br label %208

208:                                              ; preds = %207, %49
  %.967 = phi i32 [ %.866, %207 ], [ %52, %49 ]
  %.9 = phi ptr [ %.8, %207 ], [ %51, %49 ]
  %209 = insertvalue { ptr, i32 } poison, ptr %.9, 0
  %210 = insertvalue { ptr, i32 } %209, i32 %.967, 1
  resume { ptr, i32 } %210

211:                                              ; preds = %174
  %212 = landingpad { ptr, i32 }
          catch ptr null
  %213 = extractvalue { ptr, i32 } %212, 0
  call void @__clang_call_terminate(ptr %213) #8
  unreachable
}

; 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 ptr @_ZNSt6vectorIjSaIjEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #1 align 2

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN9__gnu_cxxltIPjSt6vectorIjSaIjEEEEbRKNS_17__normal_iteratorIT_T0_EESA_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #6

; 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 ptr @_ZNK9__gnu_cxx17__normal_iteratorIPjSt6vectorIjSaIjEEEmiEl(ptr noundef nonnull align 8 dereferenceable(8), i64 noundef) 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

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

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

; Function Attrs: mustprogress uwtable
declare hidden void @"_ZSt8generateIPjZN3qpl4test15source_provider31generate_expand_rle_prle_streamEvE3$_0EvT_S5_T0_"(ptr noundef, ptr noundef, ptr) local_unnamed_addr #2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN9__gnu_cxxneIPjSt6vectorIjSaIjEEEEbRKNS_17__normal_iteratorIT_T0_EESA_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #6

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt15__new_allocatorIhED2Ev(ptr noundef nonnull align 1 dereferenceable(1)) 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 = { nofree nosync nounwind memory(none) }
attributes #5 = { noinline noreturn nounwind uwtable "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { nounwind }
attributes #8 = { noreturn 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, !7, i64 4}
!6 = !{!"_ZTSN3qpl4test15source_providerE", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !10, i64 20}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"_ZTS10qpl_parser", !8, i64 0}
!11 = !{!6, !7, i64 12}
!12 = !{!6, !7, i64 0}
!13 = !{!7, !7, i64 0}
!14 = !{!8, !8, i64 0}
!15 = !{!6, !7, i64 8}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
!18 = distinct !{!18, !17}
!19 = distinct !{!19, !17}


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