; LLVM IR from Nonoum/ECL :: tests/tests.ll (ZN34test_NanoLZ_insufficient_dst_compr11runInternalERSoi)

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

%"class.std::vector.1" = type { %"struct.std::_Vector_base.2" }
%"struct.std::_Vector_base.2" = 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::initializer_list.12" = type { ptr, i64 }
%struct.ECL_NanoLZ_FastParams = type { ptr, ptr, i32 }
%"class.__gnu_cxx::__normal_iterator.13" = type { ptr }
%"class.std::initializer_list" = type { ptr, i64 }

@__const._ZN34test_NanoLZ_insufficient_dst_compr11runInternalERSoi.search_limits = external hidden unnamed_addr constant [3 x i32], align 4

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

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

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZN13ntest_for_ecl8TestBase12BoundVMinMaxEiii(i32 noundef, i32 noundef, i32 noundef) #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN13ntest_for_ecl8TestBase7approveEb(ptr noundef nonnull align 8 dereferenceable(32), i1 noundef zeroext) #2 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local zeroext i1 @ECL_NanoLZ_FastParams_Alloc1(ptr noundef, i8 noundef zeroext) #1

; Function Attrs: mustprogress uwtable
declare dso_local void @ECL_NanoLZ_FastParams_Destroy(ptr noundef) #1

; Function Attrs: mustprogress uwtable
declare dso_local i32 @ECL_NanoLZ_Compress_fast1(i32 noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1

; Function Attrs: mustprogress uwtable
declare dso_local i32 @ECL_NanoLZ_Decompress(i32 noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN13ntest_for_ecl10ntest_noopEv() #4

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

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

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

; Function Attrs: nounwind willreturn memory(read)
declare i32 @memcmp(ptr noundef, ptr noundef, i64 noundef) #5

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

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

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

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

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

; Function Attrs: nounwind
declare i32 @rand() #6

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN34test_NanoLZ_insufficient_dst_compr11runInternalERSoi(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef nonnull align 8 dereferenceable(8) %1, i32 noundef %2) unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca %"class.std::vector.1", align 8
  %8 = alloca %"class.std::vector.1", align 8
  %9 = alloca %"class.std::vector.1", align 8
  %10 = alloca %"class.std::vector.1", align 8
  %11 = alloca i32, align 4
  %12 = alloca ptr, align 8
  %13 = alloca i32, align 4
  %14 = alloca %"class.std::initializer_list.12", align 8
  %15 = alloca [6 x i8], align 1
  %16 = alloca %"class.std::initializer_list.12", align 8
  %17 = alloca [5 x i8], align 1
  %18 = alloca %"class.std::initializer_list.12", align 8
  %19 = alloca [4 x i8], align 1
  %20 = alloca %"class.std::initializer_list.12", align 8
  %21 = alloca [3 x i8], align 1
  %22 = alloca %"class.std::initializer_list.12", align 8
  %23 = alloca [2 x i8], align 1
  %24 = alloca %"class.std::initializer_list.12", align 8
  %25 = alloca [1 x i8], align 1
  %26 = alloca [3 x i32], align 4
  %27 = alloca i32, align 4
  %28 = alloca i32, align 4
  %29 = alloca %struct.ECL_NanoLZ_FastParams, align 8
  %30 = alloca ptr, align 8
  %31 = alloca %"class.__gnu_cxx::__normal_iterator.13", align 8
  %32 = alloca %"class.__gnu_cxx::__normal_iterator.13", align 8
  %33 = alloca i32, align 4
  %34 = alloca i8, align 1
  %35 = alloca i32, align 4
  %36 = alloca i64, align 8
  %37 = alloca ptr, align 8
  %38 = alloca ptr, align 8
  %39 = alloca ptr, align 8
  %40 = alloca i32, align 4
  %41 = alloca ptr, align 8
  %42 = alloca %"class.std::initializer_list", align 8
  %43 = alloca [1 x i32], align 4
  %44 = alloca ptr, align 8
  %45 = alloca ptr, align 8
  %46 = alloca i32, align 4
  %47 = alloca i32, align 4
  %48 = alloca i32, align 4
  %49 = alloca i32, align 4
  %50 = alloca i32, align 4
  %51 = alloca i32, align 4
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  store i32 %2, ptr %6, align 4, !tbaa !9
  %52 = load ptr, ptr %4, align 8
  %53 = load ptr, ptr %5, align 8, !tbaa !5
  call void @_ZN13ntest_for_ecl10ntest_noopEv()
  call void @llvm.lifetime.start.p0(i64 24, ptr %7) #7
  call void @_ZNSt6vectorIhSaIhEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr %8) #7
  call void @_ZNSt6vectorIhSaIhEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr %9) #7
  call void @_ZNSt6vectorIhSaIhEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr %10) #7
  call void @_ZNSt6vectorIhSaIhEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #7
  %54 = load i32, ptr %6, align 4, !tbaa !9
  %55 = add nsw i32 %54, 10
  %56 = invoke noundef i32 @_ZN13ntest_for_ecl8TestBase12BoundVMinMaxEiii(i32 noundef %55, i32 noundef 0, i32 noundef 100)
          to label %57 unwind label %74

57:                                               ; preds = %3
  store i32 %56, ptr %11, align 4, !tbaa !9
  %58 = load i32, ptr %11, align 4, !tbaa !9
  %59 = icmp sgt i32 %58, 50
  br i1 %59, label %60, label %82

60:                                               ; preds = %57
  call void @llvm.lifetime.start.p0(i64 6, ptr %15) #7
  store i8 63, ptr %15, align 1, !tbaa !11
  %61 = getelementptr inbounds i8, ptr %15, i64 1
  store i8 31, ptr %61, align 1, !tbaa !11
  %62 = getelementptr inbounds i8, ptr %15, i64 2
  store i8 15, ptr %62, align 1, !tbaa !11
  %63 = getelementptr inbounds i8, ptr %15, i64 3
  store i8 7, ptr %63, align 1, !tbaa !11
  %64 = getelementptr inbounds i8, ptr %15, i64 4
  store i8 3, ptr %64, align 1, !tbaa !11
  %65 = getelementptr inbounds i8, ptr %15, i64 5
  store i8 1, ptr %65, align 1, !tbaa !11
  %66 = getelementptr inbounds %"class.std::initializer_list.12", ptr %14, i32 0, i32 0
  store ptr %15, ptr %66, align 8, !tbaa !12
  %67 = getelementptr inbounds %"class.std::initializer_list.12", ptr %14, i32 0, i32 1
  store i64 6, ptr %67, align 8, !tbaa !15
  %68 = getelementptr inbounds { ptr, i64 }, ptr %14, i32 0, i32 0
  %69 = load ptr, ptr %68, align 8
  %70 = getelementptr inbounds { ptr, i64 }, ptr %14, i32 0, i32 1
  %71 = load i64, ptr %70, align 8
  %72 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIhSaIhEEaSESt16initializer_listIhE(ptr noundef nonnull align 8 dereferenceable(24) %10, ptr %69, i64 %71)
          to label %73 unwind label %78

73:                                               ; preds = %60
  call void @llvm.lifetime.end.p0(i64 6, ptr %15) #7
  br label %173

74:                                               ; preds = %3
  %75 = landingpad { ptr, i32 }
          cleanup
  %76 = extractvalue { ptr, i32 } %75, 0
  store ptr %76, ptr %12, align 8
  %77 = extractvalue { ptr, i32 } %75, 1
  store i32 %77, ptr %13, align 4
  br label %355

78:                                               ; preds = %60
  %79 = landingpad { ptr, i32 }
          cleanup
  %80 = extractvalue { ptr, i32 } %79, 0
  store ptr %80, ptr %12, align 8
  %81 = extractvalue { ptr, i32 } %79, 1
  store i32 %81, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 6, ptr %15) #7
  br label %355

82:                                               ; preds = %57
  %83 = load i32, ptr %11, align 4, !tbaa !9
  %84 = icmp sgt i32 %83, 20
  br i1 %84, label %85, label %102

85:                                               ; preds = %82
  call void @llvm.lifetime.start.p0(i64 5, ptr %17) #7
  store i8 63, ptr %17, align 1, !tbaa !11
  %86 = getelementptr inbounds i8, ptr %17, i64 1
  store i8 15, ptr %86, align 1, !tbaa !11
  %87 = getelementptr inbounds i8, ptr %17, i64 2
  store i8 7, ptr %87, align 1, !tbaa !11
  %88 = getelementptr inbounds i8, ptr %17, i64 3
  store i8 3, ptr %88, align 1, !tbaa !11
  %89 = getelementptr inbounds i8, ptr %17, i64 4
  store i8 1, ptr %89, align 1, !tbaa !11
  %90 = getelementptr inbounds %"class.std::initializer_list.12", ptr %16, i32 0, i32 0
  store ptr %17, ptr %90, align 8, !tbaa !12
  %91 = getelementptr inbounds %"class.std::initializer_list.12", ptr %16, i32 0, i32 1
  store i64 5, ptr %91, align 8, !tbaa !15
  %92 = getelementptr inbounds { ptr, i64 }, ptr %16, i32 0, i32 0
  %93 = load ptr, ptr %92, align 8
  %94 = getelementptr inbounds { ptr, i64 }, ptr %16, i32 0, i32 1
  %95 = load i64, ptr %94, align 8
  %96 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIhSaIhEEaSESt16initializer_listIhE(ptr noundef nonnull align 8 dereferenceable(24) %10, ptr %93, i64 %95)
          to label %97 unwind label %98

97:                                               ; preds = %85
  call void @llvm.lifetime.end.p0(i64 5, ptr %17) #7
  br label %172

98:                                               ; preds = %85
  %99 = landingpad { ptr, i32 }
          cleanup
  %100 = extractvalue { ptr, i32 } %99, 0
  store ptr %100, ptr %12, align 8
  %101 = extractvalue { ptr, i32 } %99, 1
  store i32 %101, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 5, ptr %17) #7
  br label %355

102:                                              ; preds = %82
  %103 = load i32, ptr %11, align 4, !tbaa !9
  %104 = icmp sgt i32 %103, 5
  br i1 %104, label %105, label %121

105:                                              ; preds = %102
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #7
  store i8 63, ptr %19, align 1, !tbaa !11
  %106 = getelementptr inbounds i8, ptr %19, i64 1
  store i8 15, ptr %106, align 1, !tbaa !11
  %107 = getelementptr inbounds i8, ptr %19, i64 2
  store i8 3, ptr %107, align 1, !tbaa !11
  %108 = getelementptr inbounds i8, ptr %19, i64 3
  store i8 1, ptr %108, align 1, !tbaa !11
  %109 = getelementptr inbounds %"class.std::initializer_list.12", ptr %18, i32 0, i32 0
  store ptr %19, ptr %109, align 8, !tbaa !12
  %110 = getelementptr inbounds %"class.std::initializer_list.12", ptr %18, i32 0, i32 1
  store i64 4, ptr %110, align 8, !tbaa !15
  %111 = getelementptr inbounds { ptr, i64 }, ptr %18, i32 0, i32 0
  %112 = load ptr, ptr %111, align 8
  %113 = getelementptr inbounds { ptr, i64 }, ptr %18, i32 0, i32 1
  %114 = load i64, ptr %113, align 8
  %115 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIhSaIhEEaSESt16initializer_listIhE(ptr noundef nonnull align 8 dereferenceable(24) %10, ptr %112, i64 %114)
          to label %116 unwind label %117

116:                                              ; preds = %105
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #7
  br label %171

117:                                              ; preds = %105
  %118 = landingpad { ptr, i32 }
          cleanup
  %119 = extractvalue { ptr, i32 } %118, 0
  store ptr %119, ptr %12, align 8
  %120 = extractvalue { ptr, i32 } %118, 1
  store i32 %120, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #7
  br label %355

121:                                              ; preds = %102
  %122 = load i32, ptr %11, align 4, !tbaa !9
  %123 = icmp sgt i32 %122, 0
  br i1 %123, label %124, label %139

124:                                              ; preds = %121
  call void @llvm.lifetime.start.p0(i64 3, ptr %21) #7
  store i8 63, ptr %21, align 1, !tbaa !11
  %125 = getelementptr inbounds i8, ptr %21, i64 1
  store i8 3, ptr %125, align 1, !tbaa !11
  %126 = getelementptr inbounds i8, ptr %21, i64 2
  store i8 1, ptr %126, align 1, !tbaa !11
  %127 = getelementptr inbounds %"class.std::initializer_list.12", ptr %20, i32 0, i32 0
  store ptr %21, ptr %127, align 8, !tbaa !12
  %128 = getelementptr inbounds %"class.std::initializer_list.12", ptr %20, i32 0, i32 1
  store i64 3, ptr %128, align 8, !tbaa !15
  %129 = getelementptr inbounds { ptr, i64 }, ptr %20, i32 0, i32 0
  %130 = load ptr, ptr %129, align 8
  %131 = getelementptr inbounds { ptr, i64 }, ptr %20, i32 0, i32 1
  %132 = load i64, ptr %131, align 8
  %133 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIhSaIhEEaSESt16initializer_listIhE(ptr noundef nonnull align 8 dereferenceable(24) %10, ptr %130, i64 %132)
          to label %134 unwind label %135

134:                                              ; preds = %124
  call void @llvm.lifetime.end.p0(i64 3, ptr %21) #7
  br label %170

135:                                              ; preds = %124
  %136 = landingpad { ptr, i32 }
          cleanup
  %137 = extractvalue { ptr, i32 } %136, 0
  store ptr %137, ptr %12, align 8
  %138 = extractvalue { ptr, i32 } %136, 1
  store i32 %138, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 3, ptr %21) #7
  br label %355

139:                                              ; preds = %121
  %140 = load i32, ptr %11, align 4, !tbaa !9
  %141 = icmp sgt i32 %140, -5
  br i1 %141, label %142, label %156

142:                                              ; preds = %139
  call void @llvm.lifetime.start.p0(i64 2, ptr %23) #7
  store i8 63, ptr %23, align 1, !tbaa !11
  %143 = getelementptr inbounds i8, ptr %23, i64 1
  store i8 3, ptr %143, align 1, !tbaa !11
  %144 = getelementptr inbounds %"class.std::initializer_list.12", ptr %22, i32 0, i32 0
  store ptr %23, ptr %144, align 8, !tbaa !12
  %145 = getelementptr inbounds %"class.std::initializer_list.12", ptr %22, i32 0, i32 1
  store i64 2, ptr %145, align 8, !tbaa !15
  %146 = getelementptr inbounds { ptr, i64 }, ptr %22, i32 0, i32 0
  %147 = load ptr, ptr %146, align 8
  %148 = getelementptr inbounds { ptr, i64 }, ptr %22, i32 0, i32 1
  %149 = load i64, ptr %148, align 8
  %150 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIhSaIhEEaSESt16initializer_listIhE(ptr noundef nonnull align 8 dereferenceable(24) %10, ptr %147, i64 %149)
          to label %151 unwind label %152

151:                                              ; preds = %142
  call void @llvm.lifetime.end.p0(i64 2, ptr %23) #7
  br label %169

152:                                              ; preds = %142
  %153 = landingpad { ptr, i32 }
          cleanup
  %154 = extractvalue { ptr, i32 } %153, 0
  store ptr %154, ptr %12, align 8
  %155 = extractvalue { ptr, i32 } %153, 1
  store i32 %155, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 2, ptr %23) #7
  br label %355

156:                                              ; preds = %139
  call void @llvm.lifetime.start.p0(i64 1, ptr %25) #7
  store i8 63, ptr %25, align 1, !tbaa !11
  %157 = getelementptr inbounds %"class.std::initializer_list.12", ptr %24, i32 0, i32 0
  store ptr %25, ptr %157, align 8, !tbaa !12
  %158 = getelementptr inbounds %"class.std::initializer_list.12", ptr %24, i32 0, i32 1
  store i64 1, ptr %158, align 8, !tbaa !15
  %159 = getelementptr inbounds { ptr, i64 }, ptr %24, i32 0, i32 0
  %160 = load ptr, ptr %159, align 8
  %161 = getelementptr inbounds { ptr, i64 }, ptr %24, i32 0, i32 1
  %162 = load i64, ptr %161, align 8
  %163 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIhSaIhEEaSESt16initializer_listIhE(ptr noundef nonnull align 8 dereferenceable(24) %10, ptr %160, i64 %162)
          to label %164 unwind label %165

164:                                              ; preds = %156
  call void @llvm.lifetime.end.p0(i64 1, ptr %25) #7
  br label %169

165:                                              ; preds = %156
  %166 = landingpad { ptr, i32 }
          cleanup
  %167 = extractvalue { ptr, i32 } %166, 0
  store ptr %167, ptr %12, align 8
  %168 = extractvalue { ptr, i32 } %166, 1
  store i32 %168, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %25) #7
  br label %355

169:                                              ; preds = %164, %151
  br label %170

170:                                              ; preds = %169, %134
  br label %171

171:                                              ; preds = %170, %116
  br label %172

172:                                              ; preds = %171, %97
  br label %173

173:                                              ; preds = %172, %73
  call void @llvm.lifetime.start.p0(i64 12, ptr %26) #7
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %26, ptr align 4 @__const._ZN34test_NanoLZ_insufficient_dst_compr11runInternalERSoi.search_limits, i64 12, i1 false)
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #7
  store i32 2000, ptr %27, align 4, !tbaa !9
  invoke void @_ZNSt6vectorIhSaIhEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef 2000)
          to label %174 unwind label %179

174:                                              ; preds = %173
  call void @llvm.lifetime.start.p0(i64 4, ptr %28) #7
  store i32 0, ptr %28, align 4, !tbaa !9
  br label %175

175:                                              ; preds = %189, %174
  %176 = load i32, ptr %28, align 4, !tbaa !9
  %177 = icmp ult i32 %176, 2000
  br i1 %177, label %183, label %178

178:                                              ; preds = %175
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #7
  br label %192

179:                                              ; preds = %173
  %180 = landingpad { ptr, i32 }
          cleanup
  %181 = extractvalue { ptr, i32 } %180, 0
  store ptr %181, ptr %12, align 8
  %182 = extractvalue { ptr, i32 } %180, 1
  store i32 %182, ptr %13, align 4
  br label %354

183:                                              ; preds = %175
  %184 = call i32 @rand() #7
  %185 = trunc i32 %184 to i8
  %186 = load i32, ptr %28, align 4, !tbaa !9
  %187 = zext i32 %186 to i64
  %188 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt6vectorIhSaIhEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %187) #7
  store i8 %185, ptr %188, align 1, !tbaa !11
  br label %189

189:                                              ; preds = %183
  %190 = load i32, ptr %28, align 4, !tbaa !9
  %191 = add i32 %190, 1
  store i32 %191, ptr %28, align 4, !tbaa !9
  br label %175, !llvm.loop !16

192:                                              ; preds = %178
  call void @llvm.lifetime.start.p0(i64 24, ptr %29) #7
  %193 = invoke zeroext i1 @ECL_NanoLZ_FastParams_Alloc1(ptr noundef %29, i8 noundef zeroext 11)
          to label %194 unwind label %204

194:                                              ; preds = %192
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #7
  store ptr %10, ptr %30, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #7
  %195 = load ptr, ptr %30, align 8, !tbaa !5
  %196 = call ptr @_ZNSt6vectorIhSaIhEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %195) #7
  %197 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.13", ptr %31, i32 0, i32 0
  store ptr %196, ptr %197, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #7
  %198 = load ptr, ptr %30, align 8, !tbaa !5
  %199 = call ptr @_ZNSt6vectorIhSaIhEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %198) #7
  %200 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.13", ptr %32, i32 0, i32 0
  store ptr %199, ptr %200, align 8
  br label %201

201:                                              ; preds = %348, %194
  %202 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPhSt6vectorIhSaIhEEEEbRKNS_17__normal_iteratorIT_T0_EESA_(ptr noundef nonnull align 8 dereferenceable(8) %31, ptr noundef nonnull align 8 dereferenceable(8) %32) #7
  br i1 %202, label %208, label %203

203:                                              ; preds = %201
  store i32 5, ptr %33, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #7
  br label %351

204:                                              ; preds = %351, %192
  %205 = landingpad { ptr, i32 }
          cleanup
  %206 = extractvalue { ptr, i32 } %205, 0
  store ptr %206, ptr %12, align 8
  %207 = extractvalue { ptr, i32 } %205, 1
  store i32 %207, ptr %13, align 4
  br label %353

208:                                              ; preds = %201
  call void @llvm.lifetime.start.p0(i64 1, ptr %34) #7
  %209 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPhSt6vectorIhSaIhEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %31) #7
  %210 = load i8, ptr %209, align 1, !tbaa !11
  store i8 %210, ptr %34, align 1, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %35) #7
  store i32 0, ptr %35, align 4, !tbaa !9
  br label %211

211:                                              ; preds = %225, %208
  %212 = load i32, ptr %35, align 4, !tbaa !9
  %213 = icmp ult i32 %212, 2000
  br i1 %213, label %215, label %214

214:                                              ; preds = %211
  store i32 7, ptr %33, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %35) #7
  br label %228

215:                                              ; preds = %211
  %216 = load i8, ptr %34, align 1, !tbaa !11
  %217 = zext i8 %216 to i32
  %218 = load i32, ptr %35, align 4, !tbaa !9
  %219 = zext i32 %218 to i64
  %220 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt6vectorIhSaIhEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %219) #7
  %221 = load i8, ptr %220, align 1, !tbaa !11
  %222 = zext i8 %221 to i32
  %223 = and i32 %222, %217
  %224 = trunc i32 %223 to i8
  store i8 %224, ptr %220, align 1, !tbaa !11
  br label %225

225:                                              ; preds = %215
  %226 = load i32, ptr %35, align 4, !tbaa !9
  %227 = add i32 %226, 1
  store i32 %227, ptr %35, align 4, !tbaa !9
  br label %211, !llvm.loop !18

228:                                              ; preds = %214
  call void @llvm.lifetime.start.p0(i64 8, ptr %36) #7
  store i64 2007, ptr %36, align 8, !tbaa !19
  invoke void @_ZNSt6vectorIhSaIhEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef 2007)
          to label %229 unwind label %240

229:                                              ; preds = %228
  call void @llvm.lifetime.start.p0(i64 8, ptr %37) #7
  store ptr %26, ptr %37, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %38) #7
  %230 = load ptr, ptr %37, align 8, !tbaa !5
  %231 = getelementptr inbounds [3 x i32], ptr %230, i64 0, i64 0
  store ptr %231, ptr %38, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %39) #7
  %232 = load ptr, ptr %37, align 8, !tbaa !5
  %233 = getelementptr inbounds [3 x i32], ptr %232, i64 0, i64 0
  %234 = getelementptr inbounds i32, ptr %233, i64 3
  store ptr %234, ptr %39, align 8, !tbaa !5
  br label %235

235:                                              ; preds = %344, %229
  %236 = load ptr, ptr %38, align 8, !tbaa !5
  %237 = load ptr, ptr %39, align 8, !tbaa !5
  %238 = icmp ne ptr %236, %237
  br i1 %238, label %244, label %239

239:                                              ; preds = %235
  store i32 10, ptr %33, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %39) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #7
  br label %347

240:                                              ; preds = %228
  %241 = landingpad { ptr, i32 }
          cleanup
  %242 = extractvalue { ptr, i32 } %241, 0
  store ptr %242, ptr %12, align 8
  %243 = extractvalue { ptr, i32 } %241, 1
  store i32 %243, ptr %13, align 4
  br label %350

244:                                              ; preds = %235
  call void @llvm.lifetime.start.p0(i64 4, ptr %40) #7
  %245 = load ptr, ptr %38, align 8, !tbaa !5
  %246 = load i32, ptr %245, align 4, !tbaa !9
  store i32 %246, ptr %40, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %41) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr %42) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %43) #7
  store i32 0, ptr %43, align 4, !tbaa !20
  %247 = getelementptr inbounds %"class.std::initializer_list", ptr %42, i32 0, i32 0
  store ptr %43, ptr %247, align 8, !tbaa !22
  %248 = getelementptr inbounds %"class.std::initializer_list", ptr %42, i32 0, i32 1
  store i64 1, ptr %248, align 8, !tbaa !24
  store ptr %42, ptr %41, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %44) #7
  %249 = load ptr, ptr %41, align 8, !tbaa !5
  %250 = call noundef ptr @_ZNKSt16initializer_listI17ECL_NanoLZ_SchemeE5beginEv(ptr noundef nonnull align 8 dereferenceable(16) %249) #7
  store ptr %250, ptr %44, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %45) #7
  %251 = load ptr, ptr %41, align 8, !tbaa !5
  %252 = call noundef ptr @_ZNKSt16initializer_listI17ECL_NanoLZ_SchemeE3endEv(ptr noundef nonnull align 8 dereferenceable(16) %251) #7
  store ptr %252, ptr %45, align 8, !tbaa !5
  br label %253

253:                                              ; preds = %338, %244
  %254 = load ptr, ptr %44, align 8, !tbaa !5
  %255 = load ptr, ptr %45, align 8, !tbaa !5
  %256 = icmp ne ptr %254, %255
  br i1 %256, label %258, label %257

257:                                              ; preds = %253
  store i32 12, ptr %33, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %45) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %44) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %43) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %42) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %41) #7
  br label %343

258:                                              ; preds = %253
  call void @llvm.lifetime.start.p0(i64 4, ptr %46) #7
  %259 = load ptr, ptr %44, align 8, !tbaa !5
  %260 = load i32, ptr %259, align 4, !tbaa !20
  store i32 %260, ptr %46, align 4, !tbaa !20
  call void @llvm.lifetime.start.p0(i64 4, ptr %47) #7
  %261 = load i32, ptr %46, align 4, !tbaa !20
  %262 = call noundef ptr @_ZNSt6vectorIhSaIhEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %7) #7
  %263 = call noundef ptr @_ZNSt6vectorIhSaIhEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %8) #7
  %264 = load i32, ptr %40, align 4, !tbaa !9
  %265 = invoke i32 @ECL_NanoLZ_Compress_fast1(i32 noundef %261, ptr noundef %262, i32 noundef 2000, ptr noundef %263, i32 noundef 2007, i32 noundef %264, ptr noundef %29)
          to label %266 unwind label %287

266:                                              ; preds = %258
  store i32 %265, ptr %47, align 4, !tbaa !9
  invoke void @_ZNSt6vectorIhSaIhEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef 2000)
          to label %267 unwind label %287

267:                                              ; preds = %266
  call void @llvm.lifetime.start.p0(i64 4, ptr %48) #7
  %268 = load i32, ptr %46, align 4, !tbaa !20
  %269 = call noundef ptr @_ZNSt6vectorIhSaIhEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %8) #7
  %270 = load i32, ptr %47, align 4, !tbaa !9
  %271 = call noundef ptr @_ZNSt6vectorIhSaIhEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %9) #7
  %272 = invoke i32 @ECL_NanoLZ_Decompress(i32 noundef %268, ptr noundef %269, i32 noundef %270, ptr noundef %271, i32 noundef 2000)
          to label %273 unwind label %291

273:                                              ; preds = %267
  store i32 %272, ptr %48, align 4, !tbaa !9
  %274 = load i32, ptr %48, align 4, !tbaa !9
  %275 = icmp eq i32 %274, 2000
  %276 = call noundef zeroext i1 @_ZN13ntest_for_ecl8TestBase7approveEb(ptr noundef nonnull align 8 dereferenceable(32) %52, i1 noundef zeroext %275)
  %277 = call noundef ptr @_ZNSt6vectorIhSaIhEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %7) #7
  %278 = call noundef ptr @_ZNSt6vectorIhSaIhEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %9) #7
  %279 = call i32 @memcmp(ptr noundef %277, ptr noundef %278, i64 noundef 2000) #8
  %280 = icmp eq i32 0, %279
  %281 = call noundef zeroext i1 @_ZN13ntest_for_ecl8TestBase7approveEb(ptr noundef nonnull align 8 dereferenceable(32) %52, i1 noundef zeroext %280)
  call void @llvm.lifetime.start.p0(i64 4, ptr %49) #7
  store i32 1, ptr %49, align 4, !tbaa !9
  br label %282

282:                                              ; preds = %325, %273
  %283 = load i32, ptr %49, align 4, !tbaa !9
  %284 = load i32, ptr %47, align 4, !tbaa !9
  %285 = icmp ule i32 %283, %284
  br i1 %285, label %295, label %286

286:                                              ; preds = %282
  store i32 14, ptr %33, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %49) #7
  br label %337

287:                                              ; preds = %266, %258
  %288 = landingpad { ptr, i32 }
          cleanup
  %289 = extractvalue { ptr, i32 } %288, 0
  store ptr %289, ptr %12, align 8
  %290 = extractvalue { ptr, i32 } %288, 1
  store i32 %290, ptr %13, align 4
  br label %342

291:                                              ; preds = %267
  %292 = landingpad { ptr, i32 }
          cleanup
  %293 = extractvalue { ptr, i32 } %292, 0
  store ptr %293, ptr %12, align 8
  %294 = extractvalue { ptr, i32 } %292, 1
  store i32 %294, ptr %13, align 4
  br label %341

295:                                              ; preds = %282
  call void @llvm.lifetime.start.p0(i64 4, ptr %50) #7
  %296 = load i32, ptr %47, align 4, !tbaa !9
  %297 = load i32, ptr %49, align 4, !tbaa !9
  %298 = sub i32 %296, %297
  store i32 %298, ptr %50, align 4, !tbaa !9
  %299 = load i32, ptr %50, align 4, !tbaa !9
  %300 = add i32 %299, 1
  %301 = zext i32 %300 to i64
  invoke void @_ZNSt6vectorIhSaIhEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef %301)
          to label %302 unwind label %328

302:                                              ; preds = %295
  %303 = load i32, ptr %50, align 4, !tbaa !9
  %304 = zext i32 %303 to i64
  %305 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt6vectorIhSaIhEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef %304) #7
  store i8 57, ptr %305, align 1, !tbaa !11
  invoke void @_ZN13ntest_for_ecl10ntest_noopEv()
          to label %306 unwind label %328

306:                                              ; preds = %302
  call void @llvm.lifetime.start.p0(i64 4, ptr %51) #7
  %307 = load i32, ptr %46, align 4, !tbaa !20
  %308 = call noundef ptr @_ZNSt6vectorIhSaIhEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %7) #7
  %309 = call noundef ptr @_ZNSt6vectorIhSaIhEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %8) #7
  %310 = load i32, ptr %50, align 4, !tbaa !9
  %311 = load i32, ptr %40, align 4, !tbaa !9
  %312 = invoke i32 @ECL_NanoLZ_Compress_fast1(i32 noundef %307, ptr noundef %308, i32 noundef 2000, ptr noundef %309, i32 noundef %310, i32 noundef %311, ptr noundef %29)
          to label %313 unwind label %332

313:                                              ; preds = %306
  store i32 %312, ptr %51, align 4, !tbaa !9
  %314 = load i32, ptr %51, align 4, !tbaa !9
  %315 = icmp ne i32 %314, 0
  %316 = xor i1 %315, true
  %317 = call noundef zeroext i1 @_ZN13ntest_for_ecl8TestBase7approveEb(ptr noundef nonnull align 8 dereferenceable(32) %52, i1 noundef zeroext %316)
  %318 = call noundef i64 @_ZNKSt6vectorIhSaIhEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %8) #7
  %319 = sub i64 %318, 1
  %320 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt6vectorIhSaIhEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef %319) #7
  %321 = load i8, ptr %320, align 1, !tbaa !11
  %322 = zext i8 %321 to i32
  %323 = icmp eq i32 %322, 57
  %324 = call noundef zeroext i1 @_ZN13ntest_for_ecl8TestBase7approveEb(ptr noundef nonnull align 8 dereferenceable(32) %52, i1 noundef zeroext %323)
  call void @llvm.lifetime.end.p0(i64 4, ptr %51) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %50) #7
  br label %325

325:                                              ; preds = %313
  %326 = load i32, ptr %49, align 4, !tbaa !9
  %327 = add i32 %326, 1
  store i32 %327, ptr %49, align 4, !tbaa !9
  br label %282, !llvm.loop !25

328:                                              ; preds = %302, %295
  %329 = landingpad { ptr, i32 }
          cleanup
  %330 = extractvalue { ptr, i32 } %329, 0
  store ptr %330, ptr %12, align 8
  %331 = extractvalue { ptr, i32 } %329, 1
  store i32 %331, ptr %13, align 4
  br label %336

332:                                              ; preds = %306
  %333 = landingpad { ptr, i32 }
          cleanup
  %334 = extractvalue { ptr, i32 } %333, 0
  store ptr %334, ptr %12, align 8
  %335 = extractvalue { ptr, i32 } %333, 1
  store i32 %335, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %51) #7
  br label %336

336:                                              ; preds = %332, %328
  call void @llvm.lifetime.end.p0(i64 4, ptr %50) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %49) #7
  br label %341

337:                                              ; preds = %286
  call void @llvm.lifetime.end.p0(i64 4, ptr %48) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %47) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %46) #7
  br label %338

338:                                              ; preds = %337
  %339 = load ptr, ptr %44, align 8, !tbaa !5
  %340 = getelementptr inbounds i32, ptr %339, i32 1
  store ptr %340, ptr %44, align 8, !tbaa !5
  br label %253

341:                                              ; preds = %336, %291
  call void @llvm.lifetime.end.p0(i64 4, ptr %48) #7
  br label %342

342:                                              ; preds = %341, %287
  call void @llvm.lifetime.end.p0(i64 4, ptr %47) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %46) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %45) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %44) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %43) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %42) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %41) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %40) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %39) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #7
  br label %350

343:                                              ; preds = %257
  call void @llvm.lifetime.end.p0(i64 4, ptr %40) #7
  br label %344

344:                                              ; preds = %343
  %345 = load ptr, ptr %38, align 8, !tbaa !5
  %346 = getelementptr inbounds i32, ptr %345, i32 1
  store ptr %346, ptr %38, align 8, !tbaa !5
  br label %235

347:                                              ; preds = %239
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %34) #7
  br label %348

348:                                              ; preds = %347
  %349 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPhSt6vectorIhSaIhEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %31) #7
  br label %201

350:                                              ; preds = %342, %240
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %34) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #7
  br label %353

351:                                              ; preds = %203
  invoke void @ECL_NanoLZ_FastParams_Destroy(ptr noundef %29)
          to label %352 unwind label %204

352:                                              ; preds = %351
  call void @llvm.lifetime.end.p0(i64 24, ptr %29) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr %26) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #7
  call void @_ZNSt6vectorIhSaIhEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %10) #7
  call void @_ZNSt6vectorIhSaIhEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %9) #7
  call void @_ZNSt6vectorIhSaIhEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %8) #7
  call void @_ZNSt6vectorIhSaIhEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %7) #7
  ret void

353:                                              ; preds = %350, %204
  call void @llvm.lifetime.end.p0(i64 24, ptr %29) #7
  br label %354

354:                                              ; preds = %353, %179
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr %26) #7
  br label %355

355:                                              ; preds = %354, %165, %152, %135, %117, %98, %78, %74
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #7
  call void @_ZNSt6vectorIhSaIhEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %10) #7
  call void @_ZNSt6vectorIhSaIhEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %9) #7
  call void @_ZNSt6vectorIhSaIhEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %8) #7
  call void @_ZNSt6vectorIhSaIhEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %7) #7
  br label %356

356:                                              ; preds = %355
  %357 = load ptr, ptr %12, align 8
  %358 = load i32, ptr %13, align 4
  %359 = insertvalue { ptr, i32 } poison, ptr %357, 0
  %360 = insertvalue { ptr, i32 } %359, i32 %358, 1
  resume { ptr, i32 } %360
}

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

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

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

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

; 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)) #2 align 2

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

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

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!7, !7, i64 0}
!12 = !{!13, !6, i64 0}
!13 = !{!"_ZTSSt16initializer_listIhE", !6, i64 0, !14, i64 8}
!14 = !{!"long", !7, i64 0}
!15 = !{!13, !14, i64 8}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
!18 = distinct !{!18, !17}
!19 = !{!14, !14, i64 0}
!20 = !{!21, !21, i64 0}
!21 = !{!"_ZTS17ECL_NanoLZ_Scheme", !7, i64 0}
!22 = !{!23, !6, i64 0}
!23 = !{!"_ZTSSt16initializer_listI17ECL_NanoLZ_SchemeE", !6, i64 0, !14, i64 8}
!24 = !{!23, !14, i64 8}
!25 = distinct !{!25, !17}


; 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.1" = type { %"struct.std::_Vector_base.2" }
%"struct.std::_Vector_base.2" = 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 }
%struct.ECL_NanoLZ_FastParams = type { ptr, ptr, i32 }
%"class.__gnu_cxx::__normal_iterator.13" = type { ptr }
%"class.std::initializer_list" = type { ptr, i64 }

@__const._ZN34test_NanoLZ_insufficient_dst_compr11runInternalERSoi.search_limits = external hidden unnamed_addr constant [3 x i32], align 4

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

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

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZN13ntest_for_ecl8TestBase12BoundVMinMaxEiii(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN13ntest_for_ecl8TestBase7approveEb(ptr noundef nonnull align 8 dereferenceable(32), i1 noundef zeroext) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local zeroext i1 @ECL_NanoLZ_FastParams_Alloc1(ptr noundef, i8 noundef zeroext) local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
declare dso_local void @ECL_NanoLZ_FastParams_Destroy(ptr noundef) local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
declare dso_local i32 @ECL_NanoLZ_Compress_fast1(i32 noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
declare dso_local i32 @ECL_NanoLZ_Decompress(i32 noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN13ntest_for_ecl10ntest_noopEv() local_unnamed_addr #3

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

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

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

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

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

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

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

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

; Function Attrs: nounwind
declare i32 @rand() local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN34test_NanoLZ_insufficient_dst_compr11runInternalERSoi(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr nocapture noundef nonnull readnone align 8 dereferenceable(8) %1, i32 noundef %2) unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca %"class.std::vector.1", align 8
  %5 = alloca %"class.std::vector.1", align 8
  %6 = alloca %"class.std::vector.1", align 8
  %7 = alloca %"class.std::vector.1", align 8
  %8 = alloca [6 x i8], align 4
  %9 = alloca [5 x i8], align 4
  %10 = alloca [4 x i8], align 4
  %11 = alloca [3 x i8], align 1
  %12 = alloca [2 x i8], align 1
  %13 = alloca [1 x i8], align 1
  %14 = alloca %struct.ECL_NanoLZ_FastParams, align 8
  %15 = alloca %"class.__gnu_cxx::__normal_iterator.13", align 8
  %16 = alloca %"class.__gnu_cxx::__normal_iterator.13", align 8
  %17 = alloca %"class.std::initializer_list", align 8
  %18 = alloca [1 x i32], align 4
  tail call void @_ZN13ntest_for_ecl10ntest_noopEv()
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %4) #6
  call void @_ZNSt6vectorIhSaIhEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %5) #6
  call void @_ZNSt6vectorIhSaIhEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %6) #6
  call void @_ZNSt6vectorIhSaIhEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %7) #6
  call void @_ZNSt6vectorIhSaIhEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #6
  %19 = add nsw i32 %2, 10
  %20 = invoke noundef i32 @_ZN13ntest_for_ecl8TestBase12BoundVMinMaxEiii(i32 noundef %19, i32 noundef 0, i32 noundef 100)
          to label %21 unwind label %28

21:                                               ; preds = %3
  %22 = icmp sgt i32 %20, 50
  br i1 %22, label %23, label %32

23:                                               ; preds = %21
  call void @llvm.lifetime.start.p0(i64 6, ptr nonnull %8) #6
  store <4 x i8> <i8 63, i8 31, i8 15, i8 7>, ptr %8, align 4, !tbaa !5
  %24 = getelementptr inbounds i8, ptr %8, i64 4
  store i8 3, ptr %24, align 4, !tbaa !5
  %25 = getelementptr inbounds i8, ptr %8, i64 5
  store i8 1, ptr %25, align 1, !tbaa !5
  %26 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIhSaIhEEaSESt16initializer_listIhE(ptr noundef nonnull align 8 dereferenceable(24) %7, ptr nonnull %8, i64 6)
          to label %27 unwind label %30

27:                                               ; preds = %23
  call void @llvm.lifetime.end.p0(i64 6, ptr nonnull %8) #6
  br label %69

28:                                               ; preds = %3
  %29 = landingpad { ptr, i32 }
          cleanup
  br label %147

30:                                               ; preds = %23
  %31 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 6, ptr nonnull %8) #6
  br label %147

32:                                               ; preds = %21
  %33 = icmp sgt i32 %20, 20
  br i1 %33, label %34, label %40

34:                                               ; preds = %32
  call void @llvm.lifetime.start.p0(i64 5, ptr nonnull %9) #6
  store <4 x i8> <i8 63, i8 15, i8 7, i8 3>, ptr %9, align 4, !tbaa !5
  %35 = getelementptr inbounds i8, ptr %9, i64 4
  store i8 1, ptr %35, align 4, !tbaa !5
  %36 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIhSaIhEEaSESt16initializer_listIhE(ptr noundef nonnull align 8 dereferenceable(24) %7, ptr nonnull %9, i64 5)
          to label %37 unwind label %38

37:                                               ; preds = %34
  call void @llvm.lifetime.end.p0(i64 5, ptr nonnull %9) #6
  br label %69

38:                                               ; preds = %34
  %39 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 5, ptr nonnull %9) #6
  br label %147

40:                                               ; preds = %32
  %41 = icmp sgt i32 %20, 5
  br i1 %41, label %42, label %47

42:                                               ; preds = %40
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %10) #6
  store <4 x i8> <i8 63, i8 15, i8 3, i8 1>, ptr %10, align 4, !tbaa !5
  %43 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIhSaIhEEaSESt16initializer_listIhE(ptr noundef nonnull align 8 dereferenceable(24) %7, ptr nonnull %10, i64 4)
          to label %44 unwind label %45

44:                                               ; preds = %42
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #6
  br label %69

45:                                               ; preds = %42
  %46 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #6
  br label %147

47:                                               ; preds = %40
  %48 = icmp sgt i32 %20, 0
  br i1 %48, label %49, label %56

49:                                               ; preds = %47
  call void @llvm.lifetime.start.p0(i64 3, ptr nonnull %11) #6
  store i8 63, ptr %11, align 1, !tbaa !5
  %50 = getelementptr inbounds i8, ptr %11, i64 1
  store i8 3, ptr %50, align 1, !tbaa !5
  %51 = getelementptr inbounds i8, ptr %11, i64 2
  store i8 1, ptr %51, align 1, !tbaa !5
  %52 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIhSaIhEEaSESt16initializer_listIhE(ptr noundef nonnull align 8 dereferenceable(24) %7, ptr nonnull %11, i64 3)
          to label %53 unwind label %54

53:                                               ; preds = %49
  call void @llvm.lifetime.end.p0(i64 3, ptr nonnull %11) #6
  br label %69

54:                                               ; preds = %49
  %55 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 3, ptr nonnull %11) #6
  br label %147

56:                                               ; preds = %47
  %57 = icmp sgt i32 %20, -5
  br i1 %57, label %58, label %64

58:                                               ; preds = %56
  call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %12) #6
  store i8 63, ptr %12, align 1, !tbaa !5
  %59 = getelementptr inbounds i8, ptr %12, i64 1
  store i8 3, ptr %59, align 1, !tbaa !5
  %60 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIhSaIhEEaSESt16initializer_listIhE(ptr noundef nonnull align 8 dereferenceable(24) %7, ptr nonnull %12, i64 2)
          to label %61 unwind label %62

61:                                               ; preds = %58
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %12) #6
  br label %69

62:                                               ; preds = %58
  %63 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %12) #6
  br label %147

64:                                               ; preds = %56
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %13) #6
  store i8 63, ptr %13, align 1, !tbaa !5
  %65 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIhSaIhEEaSESt16initializer_listIhE(ptr noundef nonnull align 8 dereferenceable(24) %7, ptr nonnull %13, i64 1)
          to label %66 unwind label %67

66:                                               ; preds = %64
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %13) #6
  br label %69

67:                                               ; preds = %64
  %68 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %13) #6
  br label %147

69:                                               ; preds = %37, %53, %66, %61, %44, %27
  invoke void @_ZNSt6vectorIhSaIhEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef 2000)
          to label %.preheader80 unwind label %72

70:                                               ; preds = %.preheader80
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %14) #6
  %71 = invoke zeroext i1 @ECL_NanoLZ_FastParams_Alloc1(ptr noundef nonnull %14, i8 noundef zeroext 11)
          to label %77 unwind label %82

72:                                               ; preds = %69
  %73 = landingpad { ptr, i32 }
          cleanup
  br label %147

.preheader80:                                     ; preds = %69, %.preheader80
  %indvars.iv = phi i64 [ %indvars.iv.next, %.preheader80 ], [ 0, %69 ]
  %74 = call i32 @rand() #6
  %75 = trunc i32 %74 to i8
  %76 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt6vectorIhSaIhEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %indvars.iv) #6
  store i8 %75, ptr %76, align 1, !tbaa !5
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, 2000
  br i1 %exitcond.not, label %70, label %.preheader80, !llvm.loop !8

77:                                               ; preds = %70
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %15) #6
  %78 = call ptr @_ZNSt6vectorIhSaIhEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %7) #6
  store ptr %78, ptr %15, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %16) #6
  %79 = call ptr @_ZNSt6vectorIhSaIhEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %7) #6
  store ptr %79, ptr %16, align 8
  %80 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPhSt6vectorIhSaIhEEEEbRKNS_17__normal_iteratorIT_T0_EESA_(ptr noundef nonnull align 8 dereferenceable(8) %15, ptr noundef nonnull align 8 dereferenceable(8) %16) #6
  br i1 %80, label %.lr.ph92, label %._crit_edge93

.lr.ph92:                                         ; preds = %77
  %81 = getelementptr inbounds i8, ptr %17, i64 8
  br label %84

._crit_edge93:                                    ; preds = %92, %77
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #6
  invoke void @ECL_NanoLZ_FastParams_Destroy(ptr noundef nonnull %14)
          to label %145 unwind label %82

82:                                               ; preds = %._crit_edge93, %70
  %83 = landingpad { ptr, i32 }
          cleanup
  br label %146

84:                                               ; preds = %.lr.ph92, %92
  %85 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPhSt6vectorIhSaIhEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %15) #6
  %86 = load i8, ptr %85, align 1, !tbaa !5
  br label %88

87:                                               ; preds = %88
  invoke void @_ZNSt6vectorIhSaIhEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef 2007)
          to label %.preheader unwind label %95

88:                                               ; preds = %84, %88
  %indvars.iv95 = phi i64 [ 0, %84 ], [ %indvars.iv.next96, %88 ]
  %89 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt6vectorIhSaIhEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %indvars.iv95) #6
  %90 = load i8, ptr %89, align 1, !tbaa !5
  %91 = and i8 %90, %86
  store i8 %91, ptr %89, align 1, !tbaa !5
  %indvars.iv.next96 = add nuw nsw i64 %indvars.iv95, 1
  %exitcond98.not = icmp eq i64 %indvars.iv.next96, 2000
  br i1 %exitcond98.not, label %87, label %88, !llvm.loop !10

92:                                               ; preds = %._crit_edge89
  %93 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPhSt6vectorIhSaIhEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %15) #6
  %94 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPhSt6vectorIhSaIhEEEEbRKNS_17__normal_iteratorIT_T0_EESA_(ptr noundef nonnull align 8 dereferenceable(8) %15, ptr noundef nonnull align 8 dereferenceable(8) %16) #6
  br i1 %94, label %84, label %._crit_edge93

95:                                               ; preds = %87
  %96 = landingpad { ptr, i32 }
          cleanup
  br label %144

.preheader:                                       ; preds = %87, %._crit_edge89
  %.066.idx90 = phi i64 [ %.066.add, %._crit_edge89 ], [ 0, %87 ]
  %.066.ptr = getelementptr inbounds i8, ptr @__const._ZN34test_NanoLZ_insufficient_dst_compr11runInternalERSoi.search_limits, i64 %.066.idx90
  %97 = load i32, ptr %.066.ptr, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %17) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %18) #6
  store i32 0, ptr %18, align 4, !tbaa !13
  store ptr %18, ptr %17, align 8, !tbaa !15
  store i64 1, ptr %81, align 8, !tbaa !19
  %98 = call noundef ptr @_ZNKSt16initializer_listI17ECL_NanoLZ_SchemeE5beginEv(ptr noundef nonnull align 8 dereferenceable(16) %17) #6
  %99 = call noundef ptr @_ZNKSt16initializer_listI17ECL_NanoLZ_SchemeE3endEv(ptr noundef nonnull align 8 dereferenceable(16) %17) #6
  %.not7085 = icmp eq ptr %98, %99
  br i1 %.not7085, label %._crit_edge89, label %.lr.ph88

._crit_edge89:                                    ; preds = %._crit_edge, %.preheader
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %18) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %17) #6
  %.066.add = add nuw nsw i64 %.066.idx90, 4
  %.not = icmp eq i64 %.066.add, 12
  br i1 %.not, label %92, label %.preheader

.lr.ph88:                                         ; preds = %.preheader, %._crit_edge
  %.06786 = phi ptr [ %116, %._crit_edge ], [ %98, %.preheader ]
  %100 = load i32, ptr %.06786, align 4, !tbaa !13
  %101 = call noundef ptr @_ZNSt6vectorIhSaIhEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %4) #6
  %102 = call noundef ptr @_ZNSt6vectorIhSaIhEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %5) #6
  %103 = invoke i32 @ECL_NanoLZ_Compress_fast1(i32 noundef %100, ptr noundef %101, i32 noundef 2000, ptr noundef %102, i32 noundef 2007, i32 noundef %97, ptr noundef nonnull %14)
          to label %104 unwind label %117

104:                                              ; preds = %.lr.ph88
  invoke void @_ZNSt6vectorIhSaIhEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef 2000)
          to label %105 unwind label %117

105:                                              ; preds = %104
  %106 = call noundef ptr @_ZNSt6vectorIhSaIhEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %5) #6
  %107 = call noundef ptr @_ZNSt6vectorIhSaIhEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %6) #6
  %108 = invoke i32 @ECL_NanoLZ_Decompress(i32 noundef %100, ptr noundef %106, i32 noundef %103, ptr noundef %107, i32 noundef 2000)
          to label %109 unwind label %119

109:                                              ; preds = %105
  %110 = icmp eq i32 %108, 2000
  %111 = call noundef zeroext i1 @_ZN13ntest_for_ecl8TestBase7approveEb(ptr noundef nonnull align 8 dereferenceable(32) %0, i1 noundef zeroext %110)
  %112 = call noundef ptr @_ZNSt6vectorIhSaIhEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %4) #6
  %113 = call noundef ptr @_ZNSt6vectorIhSaIhEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %6) #6
  %bcmp = call i32 @bcmp(ptr noundef nonnull dereferenceable(2000) %112, ptr noundef nonnull dereferenceable(2000) %113, i64 2000)
  %114 = icmp eq i32 %bcmp, 0
  %115 = call noundef zeroext i1 @_ZN13ntest_for_ecl8TestBase7approveEb(ptr noundef nonnull align 8 dereferenceable(32) %0, i1 noundef zeroext %114)
  %.not7183 = icmp eq i32 %103, 0
  br i1 %.not7183, label %._crit_edge, label %.lr.ph

._crit_edge:                                      ; preds = %130, %109
  %116 = getelementptr inbounds i8, ptr %.06786, i64 4
  %.not70 = icmp eq ptr %116, %99
  br i1 %.not70, label %._crit_edge89, label %.lr.ph88

117:                                              ; preds = %104, %.lr.ph88
  %118 = landingpad { ptr, i32 }
          cleanup
  br label %143

119:                                              ; preds = %105
  %120 = landingpad { ptr, i32 }
          cleanup
  br label %143

.lr.ph:                                           ; preds = %109, %130
  %.06384 = phi i32 [ %138, %130 ], [ 1, %109 ]
  %121 = sub i32 %103, %.06384
  %122 = add i32 %121, 1
  %123 = zext i32 %122 to i64
  invoke void @_ZNSt6vectorIhSaIhEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %123)
          to label %124 unwind label %139

124:                                              ; preds = %.lr.ph
  %125 = zext i32 %121 to i64
  %126 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt6vectorIhSaIhEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %125) #6
  store i8 57, ptr %126, align 1, !tbaa !5
  call void @_ZN13ntest_for_ecl10ntest_noopEv()
  %127 = call noundef ptr @_ZNSt6vectorIhSaIhEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %4) #6
  %128 = call noundef ptr @_ZNSt6vectorIhSaIhEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %5) #6
  %129 = invoke i32 @ECL_NanoLZ_Compress_fast1(i32 noundef %100, ptr noundef %127, i32 noundef 2000, ptr noundef %128, i32 noundef %121, i32 noundef %97, ptr noundef nonnull %14)
          to label %130 unwind label %141

130:                                              ; preds = %124
  %.not79 = icmp eq i32 %129, 0
  %131 = call noundef zeroext i1 @_ZN13ntest_for_ecl8TestBase7approveEb(ptr noundef nonnull align 8 dereferenceable(32) %0, i1 noundef zeroext %.not79)
  %132 = call noundef i64 @_ZNKSt6vectorIhSaIhEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %5) #6
  %133 = add i64 %132, -1
  %134 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt6vectorIhSaIhEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %133) #6
  %135 = load i8, ptr %134, align 1, !tbaa !5
  %136 = icmp eq i8 %135, 57
  %137 = call noundef zeroext i1 @_ZN13ntest_for_ecl8TestBase7approveEb(ptr noundef nonnull align 8 dereferenceable(32) %0, i1 noundef zeroext %136)
  %138 = add i32 %.06384, 1
  %.not71 = icmp ugt i32 %138, %103
  br i1 %.not71, label %._crit_edge, label %.lr.ph, !llvm.loop !20

139:                                              ; preds = %.lr.ph
  %140 = landingpad { ptr, i32 }
          cleanup
  br label %143

141:                                              ; preds = %124
  %142 = landingpad { ptr, i32 }
          cleanup
  br label %143

143:                                              ; preds = %119, %141, %139, %117
  %.pn.pn.pn = phi { ptr, i32 } [ %118, %117 ], [ %120, %119 ], [ %142, %141 ], [ %140, %139 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %18) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %17) #6
  br label %144

144:                                              ; preds = %143, %95
  %.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn, %143 ], [ %96, %95 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #6
  br label %146

145:                                              ; preds = %._crit_edge93
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %14) #6
  call void @_ZNSt6vectorIhSaIhEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #6
  call void @_ZNSt6vectorIhSaIhEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #6
  call void @_ZNSt6vectorIhSaIhEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #6
  call void @_ZNSt6vectorIhSaIhEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #6
  ret void

146:                                              ; preds = %144, %82
  %.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn, %144 ], [ %83, %82 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %14) #6
  br label %147

147:                                              ; preds = %72, %146, %67, %62, %54, %45, %38, %30, %28
  %.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %31, %30 ], [ %39, %38 ], [ %46, %45 ], [ %55, %54 ], [ %63, %62 ], [ %68, %67 ], [ %29, %28 ], [ %.pn.pn.pn.pn.pn, %146 ], [ %73, %72 ]
  call void @_ZNSt6vectorIhSaIhEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #6
  call void @_ZNSt6vectorIhSaIhEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #6
  call void @_ZNSt6vectorIhSaIhEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #6
  call void @_ZNSt6vectorIhSaIhEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #6
  resume { ptr, i32 } %.pn.pn.pn.pn.pn.pn.pn
}

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

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

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

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

; 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 #2 align 2

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

; Function Attrs: nofree nounwind willreturn memory(argmem: read)
declare i32 @bcmp(ptr nocapture, ptr nocapture, i64) local_unnamed_addr #5

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

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"omnipotent char", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}
!8 = distinct !{!8, !9}
!9 = !{!"llvm.loop.mustprogress"}
!10 = distinct !{!10, !9}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !6, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"_ZTS17ECL_NanoLZ_Scheme", !6, i64 0}
!15 = !{!16, !17, i64 0}
!16 = !{!"_ZTSSt16initializer_listI17ECL_NanoLZ_SchemeE", !17, i64 0, !18, i64 8}
!17 = !{!"any pointer", !6, i64 0}
!18 = !{!"long", !6, i64 0}
!19 = !{!16, !18, i64 8}
!20 = distinct !{!20, !9}


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