; LLVM IR from intel/qpl :: examples/low-level-api (canned_mode_with_dictionary_example)

; 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" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = 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" = type { i8 }
%"class.std::unique_ptr" = type { %"struct.std::__uniq_ptr_data" }
%"struct.std::__uniq_ptr_data" = type { %"class.std::__uniq_ptr_impl" }
%"class.std::__uniq_ptr_impl" = type { %"class.std::tuple" }
%"class.std::tuple" = type { %"struct.std::_Tuple_impl" }
%"struct.std::_Tuple_impl" = type { %"struct.std::_Head_base.1" }
%"struct.std::_Head_base.1" = type { ptr }
%struct.qpl_histogram = type { [286 x i32], [2 x i32], [30 x i32], [2 x i32] }
%struct.allocator_t = type { ptr, ptr }
%struct.qpl_job = type { ptr, i32, i32, ptr, i32, i32, i32, i32, i32, i32, i32, i32, i32, ptr, ptr, i32, ptr, i32, i32, i8, i8, i8, i64, i64, ptr, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, %struct.qpl_aux_data }
%struct.qpl_aux_data = type { ptr, ptr, ptr, ptr, ptr, i32 }

@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str = external hidden unnamed_addr constant [46 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [70 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [58 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [153 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [77 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [44 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [58 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [55 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [22 x i8], align 1

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main(i32 noundef %0, ptr noundef %1) #0 personality ptr @__gxx_personality_v0 {
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca %"class.std::vector", align 8
  %11 = alloca i8, align 1
  %12 = alloca %"class.std::allocator", align 1
  %13 = alloca ptr, align 8
  %14 = alloca i32, align 4
  %15 = alloca %"class.std::vector", align 8
  %16 = alloca i8, align 1
  %17 = alloca %"class.std::allocator", align 1
  %18 = alloca %"class.std::vector", align 8
  %19 = alloca i8, align 1
  %20 = alloca %"class.std::allocator", align 1
  %21 = alloca %"class.std::unique_ptr", align 8
  %22 = alloca i32, align 4
  %23 = alloca %struct.qpl_histogram, align 4
  %24 = alloca i32, align 4
  %25 = alloca %"class.std::unique_ptr", align 8
  %26 = alloca ptr, align 8
  %27 = alloca %"class.std::unique_ptr", align 8
  %28 = alloca ptr, align 8
  %29 = alloca i64, align 8
  %30 = alloca i32, align 4
  %31 = alloca i32, align 4
  %32 = alloca i64, align 8
  %33 = alloca ptr, align 8
  %34 = alloca %struct.allocator_t, align 8
  %35 = alloca ptr, align 8
  %36 = alloca %"class.std::unique_ptr", align 8
  %37 = alloca i32, align 4
  %38 = alloca i64, align 8
  store i32 0, ptr %3, align 4
  store i32 %0, ptr %4, align 4, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !9
  %39 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str)
  %40 = call ptr @qpl_get_library_version()
  %41 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %39, ptr noundef %40)
  %42 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %41, ptr noundef @.str.1)
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #9
  store i32 2, ptr %6, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #9
  %43 = load i32, ptr %4, align 4, !tbaa !5
  %44 = load ptr, ptr %5, align 8, !tbaa !9
  %45 = call noundef i32 @_ZL20parse_execution_pathiPPcP10qpl_path_ti(i32 noundef %43, ptr noundef %44, ptr noundef %6, i32 noundef 0)
  store i32 %45, ptr %7, align 4, !tbaa !5
  %46 = load i32, ptr %7, align 4, !tbaa !5
  %47 = icmp ne i32 %46, 0
  br i1 %47, label %48, label %49

48:                                               ; preds = %2
  store i32 1, ptr %3, align 4
  store i32 1, ptr %8, align 4
  br label %429

49:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #9
  %50 = call i32 @qpl_get_safe_deflate_compression_buffer_size(i32 noundef 2048)
  store i32 %50, ptr %9, align 4, !tbaa !5
  %51 = load i32, ptr %9, align 4, !tbaa !5
  %52 = icmp eq i32 %51, 0
  br i1 %52, label %53, label %55

53:                                               ; preds = %49
  %54 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.2)
  store i32 1, ptr %3, align 4
  store i32 1, ptr %8, align 4
  br label %428

55:                                               ; preds = %49
  call void @llvm.lifetime.start.p0(i64 24, ptr %10) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr %11) #9
  store i8 5, ptr %11, align 1, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 1, ptr %12) #9
  call void @_ZNSaIhEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %12) #9
  invoke void @_ZNSt6vectorIhSaIhEEC2EmRKhRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %10, i64 noundef 2048, ptr noundef nonnull align 1 dereferenceable(1) %11, ptr noundef nonnull align 1 dereferenceable(1) %12)
          to label %56 unwind label %74

56:                                               ; preds = %55
  call void @_ZNSt15__new_allocatorIhED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %12) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %12) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %11) #9
  call void @llvm.lifetime.start.p0(i64 24, ptr %15) #9
  %57 = load i32, ptr %9, align 4, !tbaa !5
  %58 = zext i32 %57 to i64
  call void @llvm.lifetime.start.p0(i64 1, ptr %16) #9
  store i8 4, ptr %16, align 1, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 1, ptr %17) #9
  call void @_ZNSaIhEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %17) #9
  invoke void @_ZNSt6vectorIhSaIhEEC2EmRKhRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %15, i64 noundef %58, ptr noundef nonnull align 1 dereferenceable(1) %16, ptr noundef nonnull align 1 dereferenceable(1) %17)
          to label %59 unwind label %78

59:                                               ; preds = %56
  call void @_ZNSt15__new_allocatorIhED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %17) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %17) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %16) #9
  call void @llvm.lifetime.start.p0(i64 24, ptr %18) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr %19) #9
  store i8 7, ptr %19, align 1, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 1, ptr %20) #9
  call void @_ZNSaIhEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %20) #9
  invoke void @_ZNSt6vectorIhSaIhEEC2EmRKhRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %18, i64 noundef 2048, ptr noundef nonnull align 1 dereferenceable(1) %19, ptr noundef nonnull align 1 dereferenceable(1) %20)
          to label %60 unwind label %82

60:                                               ; preds = %59
  call void @_ZNSt15__new_allocatorIhED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %20) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %20) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %19) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #9
  call void @_ZNSt10unique_ptrIA_hSt14default_deleteIS0_EEC2IS2_vEEv(ptr noundef nonnull align 8 dereferenceable(8) %21) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #9
  store i32 0, ptr %22, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1280, ptr %23) #9
  call void @llvm.memset.p0.i64(ptr align 4 %23, i8 0, i64 1280, i1 false)
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #9
  %61 = load i32, ptr %6, align 4, !tbaa !11
  %62 = invoke i32 @qpl_get_job_size(i32 noundef %61, ptr noundef %22)
          to label %63 unwind label %86

63:                                               ; preds = %60
  store i32 %62, ptr %24, align 4, !tbaa !14
  %64 = load i32, ptr %24, align 4, !tbaa !14
  %65 = icmp ne i32 %64, 0
  br i1 %65, label %66, label %90

66:                                               ; preds = %63
  %67 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.3)
          to label %68 unwind label %86

68:                                               ; preds = %66
  %69 = load i32, ptr %24, align 4, !tbaa !14
  %70 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %67, i32 noundef %69)
          to label %71 unwind label %86

71:                                               ; preds = %68
  %72 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %70, ptr noundef @.str.4)
          to label %73 unwind label %86

73:                                               ; preds = %71
  store i32 1, ptr %3, align 4
  store i32 1, ptr %8, align 4
  br label %423

74:                                               ; preds = %55
  %75 = landingpad { ptr, i32 }
          cleanup
  %76 = extractvalue { ptr, i32 } %75, 0
  store ptr %76, ptr %13, align 8
  %77 = extractvalue { ptr, i32 } %75, 1
  store i32 %77, ptr %14, align 4
  call void @_ZNSt15__new_allocatorIhED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %12) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %12) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %11) #9
  br label %427

78:                                               ; preds = %56
  %79 = landingpad { ptr, i32 }
          cleanup
  %80 = extractvalue { ptr, i32 } %79, 0
  store ptr %80, ptr %13, align 8
  %81 = extractvalue { ptr, i32 } %79, 1
  store i32 %81, ptr %14, align 4
  call void @_ZNSt15__new_allocatorIhED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %17) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %17) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %16) #9
  br label %426

82:                                               ; preds = %59
  %83 = landingpad { ptr, i32 }
          cleanup
  %84 = extractvalue { ptr, i32 } %83, 0
  store ptr %84, ptr %13, align 8
  %85 = extractvalue { ptr, i32 } %83, 1
  store i32 %85, ptr %14, align 4
  call void @_ZNSt15__new_allocatorIhED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %20) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %20) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %19) #9
  br label %425

86:                                               ; preds = %71, %68, %66, %60
  %87 = landingpad { ptr, i32 }
          cleanup
  %88 = extractvalue { ptr, i32 } %87, 0
  store ptr %88, ptr %13, align 8
  %89 = extractvalue { ptr, i32 } %87, 1
  store i32 %89, ptr %14, align 4
  br label %424

90:                                               ; preds = %63
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #9
  %91 = load i32, ptr %22, align 4, !tbaa !5
  %92 = zext i32 %91 to i64
  invoke void @_ZSt11make_uniqueIA_hENSt8__detail9_MakeUniqIT_E7__arrayEm(ptr dead_on_unwind writable sret(%"class.std::unique_ptr") align 8 %25, i64 noundef %92)
          to label %93 unwind label %110

93:                                               ; preds = %90
  %94 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt10unique_ptrIA_hSt14default_deleteIS0_EEaSEOS3_(ptr noundef nonnull align 8 dereferenceable(8) %21, ptr noundef nonnull align 8 dereferenceable(8) %25) #9
  call void @_ZNSt10unique_ptrIA_hSt14default_deleteIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %25) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #9
  %95 = call noundef ptr @_ZNKSt10unique_ptrIA_hSt14default_deleteIS0_EE3getEv(ptr noundef nonnull align 8 dereferenceable(8) %21) #9
  store ptr %95, ptr %26, align 8, !tbaa !9
  %96 = load i32, ptr %6, align 4, !tbaa !11
  %97 = load ptr, ptr %26, align 8, !tbaa !9
  %98 = invoke i32 @qpl_init_job(i32 noundef %96, ptr noundef %97)
          to label %99 unwind label %114

99:                                               ; preds = %93
  store i32 %98, ptr %24, align 4, !tbaa !14
  %100 = load i32, ptr %24, align 4, !tbaa !14
  %101 = icmp ne i32 %100, 0
  br i1 %101, label %102, label %118

102:                                              ; preds = %99
  %103 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.3)
          to label %104 unwind label %114

104:                                              ; preds = %102
  %105 = load i32, ptr %24, align 4, !tbaa !14
  %106 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %103, i32 noundef %105)
          to label %107 unwind label %114

107:                                              ; preds = %104
  %108 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %106, ptr noundef @.str.5)
          to label %109 unwind label %114

109:                                              ; preds = %107
  store i32 1, ptr %3, align 4
  store i32 1, ptr %8, align 4
  br label %421

110:                                              ; preds = %90
  %111 = landingpad { ptr, i32 }
          cleanup
  %112 = extractvalue { ptr, i32 } %111, 0
  store ptr %112, ptr %13, align 8
  %113 = extractvalue { ptr, i32 } %111, 1
  store i32 %113, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #9
  br label %424

114:                                              ; preds = %107, %104, %102, %93
  %115 = landingpad { ptr, i32 }
          cleanup
  %116 = extractvalue { ptr, i32 } %115, 0
  store ptr %116, ptr %13, align 8
  %117 = extractvalue { ptr, i32 } %115, 1
  store i32 %117, ptr %14, align 4
  br label %422

118:                                              ; preds = %99
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #9
  call void @_ZNSt10unique_ptrIA_hSt14default_deleteIS0_EEC2IS2_vEEv(ptr noundef nonnull align 8 dereferenceable(8) %27) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #9
  store ptr null, ptr %28, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #9
  store i64 0, ptr %29, align 8, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 4, ptr %30) #9
  store i32 -1, ptr %30, align 4, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 4, ptr %31) #9
  store i32 -1, ptr %31, align 4, !tbaa !20
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #9
  store i64 0, ptr %32, align 8, !tbaa !16
  %119 = load i32, ptr %6, align 4, !tbaa !11
  %120 = icmp eq i32 %119, 2
  br i1 %120, label %121, label %122

121:                                              ; preds = %118
  store i32 1, ptr %30, align 4, !tbaa !18
  br label %123

122:                                              ; preds = %118
  store i32 2, ptr %31, align 4, !tbaa !20
  br label %123

123:                                              ; preds = %122, %121
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #9
  store ptr null, ptr %33, align 8, !tbaa !9
  %124 = load i32, ptr %6, align 4, !tbaa !11
  %125 = getelementptr inbounds %struct.allocator_t, ptr %34, i32 0, i32 0
  store ptr @malloc, ptr %125, align 8, !tbaa !22
  %126 = getelementptr inbounds %struct.allocator_t, ptr %34, i32 0, i32 1
  store ptr @free, ptr %126, align 8, !tbaa !24
  %127 = getelementptr inbounds { ptr, ptr }, ptr %34, i32 0, i32 0
  %128 = load ptr, ptr %127, align 8
  %129 = getelementptr inbounds { ptr, ptr }, ptr %34, i32 0, i32 1
  %130 = load ptr, ptr %129, align 8
  %131 = invoke i32 @qpl_deflate_huffman_table_create(i32 noundef 0, i32 noundef %124, ptr %128, ptr %130, ptr noundef %33)
          to label %132 unwind label %143

132:                                              ; preds = %123
  store i32 %131, ptr %24, align 4, !tbaa !14
  %133 = load i32, ptr %24, align 4, !tbaa !14
  %134 = icmp ne i32 %133, 0
  br i1 %134, label %135, label %147

135:                                              ; preds = %132
  %136 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.3)
          to label %137 unwind label %143

137:                                              ; preds = %135
  %138 = load i32, ptr %24, align 4, !tbaa !14
  %139 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %136, i32 noundef %138)
          to label %140 unwind label %143

140:                                              ; preds = %137
  %141 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %139, ptr noundef @.str.6)
          to label %142 unwind label %143

142:                                              ; preds = %140
  store i32 1, ptr %3, align 4
  store i32 1, ptr %8, align 4
  br label %419

143:                                              ; preds = %178, %176, %173, %171, %165, %161, %159, %156, %154, %147, %140, %137, %135, %123
  %144 = landingpad { ptr, i32 }
          cleanup
  %145 = extractvalue { ptr, i32 } %144, 0
  store ptr %145, ptr %13, align 8
  %146 = extractvalue { ptr, i32 } %144, 1
  store i32 %146, ptr %14, align 4
  br label %420

147:                                              ; preds = %132
  %148 = call noundef ptr @_ZNSt6vectorIhSaIhEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %10) #9
  %149 = load i32, ptr %6, align 4, !tbaa !11
  %150 = invoke i32 @qpl_gather_deflate_statistics(ptr noundef %148, i32 noundef 2048, ptr noundef %23, i32 noundef 1, i32 noundef %149)
          to label %151 unwind label %143

151:                                              ; preds = %147
  store i32 %150, ptr %24, align 4, !tbaa !14
  %152 = load i32, ptr %24, align 4, !tbaa !14
  %153 = icmp ne i32 %152, 0
  br i1 %153, label %154, label %165

154:                                              ; preds = %151
  %155 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.3)
          to label %156 unwind label %143

156:                                              ; preds = %154
  %157 = load i32, ptr %24, align 4, !tbaa !14
  %158 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %155, i32 noundef %157)
          to label %159 unwind label %143

159:                                              ; preds = %156
  %160 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %158, ptr noundef @.str.7)
          to label %161 unwind label %143

161:                                              ; preds = %159
  %162 = load ptr, ptr %33, align 8, !tbaa !9
  %163 = invoke i32 @qpl_huffman_table_destroy(ptr noundef %162)
          to label %164 unwind label %143

164:                                              ; preds = %161
  store i32 1, ptr %3, align 4
  store i32 1, ptr %8, align 4
  br label %419

165:                                              ; preds = %151
  %166 = load ptr, ptr %33, align 8, !tbaa !9
  %167 = invoke i32 @qpl_huffman_table_init_with_histogram(ptr noundef %166, ptr noundef %23)
          to label %168 unwind label %143

168:                                              ; preds = %165
  store i32 %167, ptr %24, align 4, !tbaa !14
  %169 = load i32, ptr %24, align 4, !tbaa !14
  %170 = icmp ne i32 %169, 0
  br i1 %170, label %171, label %182

171:                                              ; preds = %168
  %172 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.3)
          to label %173 unwind label %143

173:                                              ; preds = %171
  %174 = load i32, ptr %24, align 4, !tbaa !14
  %175 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %172, i32 noundef %174)
          to label %176 unwind label %143

176:                                              ; preds = %173
  %177 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %175, ptr noundef @.str.8)
          to label %178 unwind label %143

178:                                              ; preds = %176
  %179 = load ptr, ptr %33, align 8, !tbaa !9
  %180 = invoke i32 @qpl_huffman_table_destroy(ptr noundef %179)
          to label %181 unwind label %143

181:                                              ; preds = %178
  store i32 1, ptr %3, align 4
  store i32 1, ptr %8, align 4
  br label %419

182:                                              ; preds = %168
  %183 = call noundef i64 @_ZNKSt6vectorIhSaIhEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %10) #9
  store i64 %183, ptr %32, align 8, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 8, ptr %35) #9
  %184 = call noundef ptr @_ZNSt6vectorIhSaIhEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %10) #9
  store ptr %184, ptr %35, align 8, !tbaa !9
  %185 = load i32, ptr %30, align 4, !tbaa !18
  %186 = load i32, ptr %31, align 4, !tbaa !20
  %187 = load i64, ptr %32, align 8, !tbaa !16
  %188 = invoke i64 @qpl_get_dictionary_size(i32 noundef %185, i32 noundef %186, i64 noundef %187)
          to label %189 unwind label %214

189:                                              ; preds = %182
  store i64 %188, ptr %29, align 8, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 8, ptr %36) #9
  %190 = load i64, ptr %29, align 8, !tbaa !16
  invoke void @_ZSt11make_uniqueIA_hENSt8__detail9_MakeUniqIT_E7__arrayEm(ptr dead_on_unwind writable sret(%"class.std::unique_ptr") align 8 %36, i64 noundef %190)
          to label %191 unwind label %218

191:                                              ; preds = %189
  %192 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt10unique_ptrIA_hSt14default_deleteIS0_EEaSEOS3_(ptr noundef nonnull align 8 dereferenceable(8) %27, ptr noundef nonnull align 8 dereferenceable(8) %36) #9
  call void @_ZNSt10unique_ptrIA_hSt14default_deleteIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %36) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #9
  %193 = call noundef ptr @_ZNKSt10unique_ptrIA_hSt14default_deleteIS0_EE3getEv(ptr noundef nonnull align 8 dereferenceable(8) %27) #9
  store ptr %193, ptr %28, align 8, !tbaa !9
  %194 = load ptr, ptr %28, align 8, !tbaa !9
  %195 = load i32, ptr %30, align 4, !tbaa !18
  %196 = load i32, ptr %31, align 4, !tbaa !20
  %197 = load ptr, ptr %35, align 8, !tbaa !9
  %198 = load i64, ptr %32, align 8, !tbaa !16
  %199 = invoke i32 @qpl_build_dictionary(ptr noundef %194, i32 noundef %195, i32 noundef %196, ptr noundef %197, i64 noundef %198)
          to label %200 unwind label %214

200:                                              ; preds = %191
  store i32 %199, ptr %24, align 4, !tbaa !14
  %201 = load i32, ptr %24, align 4, !tbaa !14
  %202 = icmp ne i32 %201, 0
  br i1 %202, label %203, label %222

203:                                              ; preds = %200
  %204 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.3)
          to label %205 unwind label %214

205:                                              ; preds = %203
  %206 = load i32, ptr %24, align 4, !tbaa !14
  %207 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %204, i32 noundef %206)
          to label %208 unwind label %214

208:                                              ; preds = %205
  %209 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %207, ptr noundef @.str.9)
          to label %210 unwind label %214

210:                                              ; preds = %208
  %211 = load ptr, ptr %33, align 8, !tbaa !9
  %212 = invoke i32 @qpl_huffman_table_destroy(ptr noundef %211)
          to label %213 unwind label %214

213:                                              ; preds = %210
  store i32 1, ptr %3, align 4
  store i32 1, ptr %8, align 4
  br label %417

214:                                              ; preds = %271, %269, %266, %264, %257, %255, %222, %210, %208, %205, %203, %191, %182
  %215 = landingpad { ptr, i32 }
          cleanup
  %216 = extractvalue { ptr, i32 } %215, 0
  store ptr %216, ptr %13, align 8
  %217 = extractvalue { ptr, i32 } %215, 1
  store i32 %217, ptr %14, align 4
  br label %418

218:                                              ; preds = %189
  %219 = landingpad { ptr, i32 }
          cleanup
  %220 = extractvalue { ptr, i32 } %219, 0
  store ptr %220, ptr %13, align 8
  %221 = extractvalue { ptr, i32 } %219, 1
  store i32 %221, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #9
  br label %418

222:                                              ; preds = %200
  %223 = load ptr, ptr %26, align 8, !tbaa !9
  %224 = getelementptr inbounds %struct.qpl_job, ptr %223, i32 0, i32 6
  store i32 1, ptr %224, align 8, !tbaa !25
  %225 = load ptr, ptr %26, align 8, !tbaa !9
  %226 = getelementptr inbounds %struct.qpl_job, ptr %225, i32 0, i32 11
  store i32 1, ptr %226, align 4, !tbaa !34
  %227 = call noundef ptr @_ZNSt6vectorIhSaIhEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %10) #9
  %228 = load ptr, ptr %26, align 8, !tbaa !9
  %229 = getelementptr inbounds %struct.qpl_job, ptr %228, i32 0, i32 0
  store ptr %227, ptr %229, align 8, !tbaa !35
  %230 = call noundef ptr @_ZNSt6vectorIhSaIhEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %15) #9
  %231 = load ptr, ptr %26, align 8, !tbaa !9
  %232 = getelementptr inbounds %struct.qpl_job, ptr %231, i32 0, i32 3
  store ptr %230, ptr %232, align 8, !tbaa !36
  %233 = load ptr, ptr %26, align 8, !tbaa !9
  %234 = getelementptr inbounds %struct.qpl_job, ptr %233, i32 0, i32 1
  store i32 2048, ptr %234, align 8, !tbaa !37
  %235 = call noundef i64 @_ZNKSt6vectorIhSaIhEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %15) #9
  %236 = trunc i64 %235 to i32
  %237 = load ptr, ptr %26, align 8, !tbaa !9
  %238 = getelementptr inbounds %struct.qpl_job, ptr %237, i32 0, i32 4
  store i32 %236, ptr %238, align 8, !tbaa !38
  %239 = load ptr, ptr %26, align 8, !tbaa !9
  %240 = getelementptr inbounds %struct.qpl_job, ptr %239, i32 0, i32 7
  store i32 4210691, ptr %240, align 4, !tbaa !39
  %241 = load ptr, ptr %28, align 8, !tbaa !9
  %242 = load ptr, ptr %26, align 8, !tbaa !9
  %243 = getelementptr inbounds %struct.qpl_job, ptr %242, i32 0, i32 14
  store ptr %241, ptr %243, align 8, !tbaa !40
  %244 = load ptr, ptr %33, align 8, !tbaa !9
  %245 = load ptr, ptr %26, align 8, !tbaa !9
  %246 = getelementptr inbounds %struct.qpl_job, ptr %245, i32 0, i32 13
  store ptr %244, ptr %246, align 8, !tbaa !41
  %247 = load ptr, ptr %26, align 8, !tbaa !9
  %248 = invoke i32 @qpl_execute_job(ptr noundef %247)
          to label %249 unwind label %214

249:                                              ; preds = %222
  store i32 %248, ptr %24, align 4, !tbaa !14
  %250 = load i32, ptr %6, align 4, !tbaa !11
  %251 = icmp eq i32 %250, 1
  br i1 %251, label %252, label %261

252:                                              ; preds = %249
  %253 = load i32, ptr %24, align 4, !tbaa !14
  %254 = icmp eq i32 %253, 52
  br i1 %254, label %255, label %261

255:                                              ; preds = %252
  %256 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.10)
          to label %257 unwind label %214

257:                                              ; preds = %255
  %258 = load ptr, ptr %33, align 8, !tbaa !9
  %259 = invoke i32 @qpl_huffman_table_destroy(ptr noundef %258)
          to label %260 unwind label %214

260:                                              ; preds = %257
  store i32 0, ptr %3, align 4
  store i32 1, ptr %8, align 4
  br label %417

261:                                              ; preds = %252, %249
  %262 = load i32, ptr %24, align 4, !tbaa !14
  %263 = icmp ne i32 %262, 0
  br i1 %263, label %264, label %275

264:                                              ; preds = %261
  %265 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.3)
          to label %266 unwind label %214

266:                                              ; preds = %264
  %267 = load i32, ptr %24, align 4, !tbaa !14
  %268 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %265, i32 noundef %267)
          to label %269 unwind label %214

269:                                              ; preds = %266
  %270 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %268, ptr noundef @.str.11)
          to label %271 unwind label %214

271:                                              ; preds = %269
  %272 = load ptr, ptr %33, align 8, !tbaa !9
  %273 = invoke i32 @qpl_huffman_table_destroy(ptr noundef %272)
          to label %274 unwind label %214

274:                                              ; preds = %271
  store i32 1, ptr %3, align 4
  store i32 1, ptr %8, align 4
  br label %417

275:                                              ; preds = %261
  call void @llvm.lifetime.start.p0(i64 4, ptr %37) #9
  %276 = load ptr, ptr %26, align 8, !tbaa !9
  %277 = getelementptr inbounds %struct.qpl_job, ptr %276, i32 0, i32 5
  %278 = load i32, ptr %277, align 4, !tbaa !42
  store i32 %278, ptr %37, align 4, !tbaa !5
  %279 = load ptr, ptr %26, align 8, !tbaa !9
  %280 = getelementptr inbounds %struct.qpl_job, ptr %279, i32 0, i32 6
  store i32 0, ptr %280, align 8, !tbaa !25
  %281 = call noundef ptr @_ZNSt6vectorIhSaIhEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %15) #9
  %282 = load ptr, ptr %26, align 8, !tbaa !9
  %283 = getelementptr inbounds %struct.qpl_job, ptr %282, i32 0, i32 0
  store ptr %281, ptr %283, align 8, !tbaa !35
  %284 = call noundef ptr @_ZNSt6vectorIhSaIhEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %18) #9
  %285 = load ptr, ptr %26, align 8, !tbaa !9
  %286 = getelementptr inbounds %struct.qpl_job, ptr %285, i32 0, i32 3
  store ptr %284, ptr %286, align 8, !tbaa !36
  %287 = load i32, ptr %37, align 4, !tbaa !5
  %288 = load ptr, ptr %26, align 8, !tbaa !9
  %289 = getelementptr inbounds %struct.qpl_job, ptr %288, i32 0, i32 1
  store i32 %287, ptr %289, align 8, !tbaa !37
  %290 = call noundef i64 @_ZNKSt6vectorIhSaIhEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %18) #9
  %291 = trunc i64 %290 to i32
  %292 = load ptr, ptr %26, align 8, !tbaa !9
  %293 = getelementptr inbounds %struct.qpl_job, ptr %292, i32 0, i32 4
  store i32 %291, ptr %293, align 8, !tbaa !38
  %294 = load ptr, ptr %26, align 8, !tbaa !9
  %295 = getelementptr inbounds %struct.qpl_job, ptr %294, i32 0, i32 7
  store i32 4194307, ptr %295, align 4, !tbaa !39
  %296 = load ptr, ptr %28, align 8, !tbaa !9
  %297 = load ptr, ptr %26, align 8, !tbaa !9
  %298 = getelementptr inbounds %struct.qpl_job, ptr %297, i32 0, i32 14
  store ptr %296, ptr %298, align 8, !tbaa !40
  %299 = load ptr, ptr %33, align 8, !tbaa !9
  %300 = load ptr, ptr %26, align 8, !tbaa !9
  %301 = getelementptr inbounds %struct.qpl_job, ptr %300, i32 0, i32 13
  store ptr %299, ptr %301, align 8, !tbaa !41
  %302 = load ptr, ptr %26, align 8, !tbaa !9
  %303 = invoke i32 @qpl_execute_job(ptr noundef %302)
          to label %304 unwind label %316

304:                                              ; preds = %275
  store i32 %303, ptr %24, align 4, !tbaa !14
  %305 = load i32, ptr %6, align 4, !tbaa !11
  %306 = icmp eq i32 %305, 1
  br i1 %306, label %307, label %320

307:                                              ; preds = %304
  %308 = load i32, ptr %24, align 4, !tbaa !14
  %309 = icmp eq i32 %308, 52
  br i1 %309, label %310, label %320

310:                                              ; preds = %307
  %311 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.12)
          to label %312 unwind label %316

312:                                              ; preds = %310
  %313 = load ptr, ptr %33, align 8, !tbaa !9
  %314 = invoke i32 @qpl_huffman_table_destroy(ptr noundef %313)
          to label %315 unwind label %316

315:                                              ; preds = %312
  store i32 0, ptr %3, align 4
  store i32 1, ptr %8, align 4
  br label %415

316:                                              ; preds = %412, %405, %403, %400, %398, %395, %393, %391, %359, %356, %354, %348, %345, %342, %340, %334, %330, %328, %325, %323, %312, %310, %275
  %317 = landingpad { ptr, i32 }
          cleanup
  %318 = extractvalue { ptr, i32 } %317, 0
  store ptr %318, ptr %13, align 8
  %319 = extractvalue { ptr, i32 } %317, 1
  store i32 %319, ptr %14, align 4
  br label %416

320:                                              ; preds = %307, %304
  %321 = load i32, ptr %24, align 4, !tbaa !14
  %322 = icmp ne i32 %321, 0
  br i1 %322, label %323, label %334

323:                                              ; preds = %320
  %324 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.3)
          to label %325 unwind label %316

325:                                              ; preds = %323
  %326 = load i32, ptr %24, align 4, !tbaa !14
  %327 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %324, i32 noundef %326)
          to label %328 unwind label %316

328:                                              ; preds = %325
  %329 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %327, ptr noundef @.str.13)
          to label %330 unwind label %316

330:                                              ; preds = %328
  %331 = load ptr, ptr %33, align 8, !tbaa !9
  %332 = invoke i32 @qpl_huffman_table_destroy(ptr noundef %331)
          to label %333 unwind label %316

333:                                              ; preds = %330
  store i32 1, ptr %3, align 4
  store i32 1, ptr %8, align 4
  br label %415

334:                                              ; preds = %320
  %335 = load ptr, ptr %33, align 8, !tbaa !9
  %336 = invoke i32 @qpl_huffman_table_destroy(ptr noundef %335)
          to label %337 unwind label %316

337:                                              ; preds = %334
  store i32 %336, ptr %24, align 4, !tbaa !14
  %338 = load i32, ptr %24, align 4, !tbaa !14
  %339 = icmp ne i32 %338, 0
  br i1 %339, label %340, label %348

340:                                              ; preds = %337
  %341 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.3)
          to label %342 unwind label %316

342:                                              ; preds = %340
  %343 = load i32, ptr %24, align 4, !tbaa !14
  %344 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %341, i32 noundef %343)
          to label %345 unwind label %316

345:                                              ; preds = %342
  %346 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %344, ptr noundef @.str.14)
          to label %347 unwind label %316

347:                                              ; preds = %345
  store i32 1, ptr %3, align 4
  store i32 1, ptr %8, align 4
  br label %415

348:                                              ; preds = %337
  %349 = load ptr, ptr %26, align 8, !tbaa !9
  %350 = invoke i32 @qpl_fini_job(ptr noundef %349)
          to label %351 unwind label %316

351:                                              ; preds = %348
  store i32 %350, ptr %24, align 4, !tbaa !14
  %352 = load i32, ptr %24, align 4, !tbaa !14
  %353 = icmp ne i32 %352, 0
  br i1 %353, label %354, label %362

354:                                              ; preds = %351
  %355 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.3)
          to label %356 unwind label %316

356:                                              ; preds = %354
  %357 = load i32, ptr %24, align 4, !tbaa !14
  %358 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %355, i32 noundef %357)
          to label %359 unwind label %316

359:                                              ; preds = %356
  %360 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %358, ptr noundef @.str.15)
          to label %361 unwind label %316

361:                                              ; preds = %359
  store i32 1, ptr %3, align 4
  store i32 1, ptr %8, align 4
  br label %415

362:                                              ; preds = %351
  call void @llvm.lifetime.start.p0(i64 8, ptr %38) #9
  store i64 0, ptr %38, align 8, !tbaa !16
  br label %363

363:                                              ; preds = %386, %362
  %364 = load i64, ptr %38, align 8, !tbaa !16
  %365 = call noundef i64 @_ZNKSt6vectorIhSaIhEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %10) #9
  %366 = icmp ult i64 %364, %365
  br i1 %366, label %368, label %367

367:                                              ; preds = %363
  store i32 2, ptr %8, align 4
  br label %389

368:                                              ; preds = %363
  %369 = load i64, ptr %38, align 8, !tbaa !16
  %370 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt6vectorIhSaIhEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %10, i64 noundef %369) #9
  %371 = load i8, ptr %370, align 1, !tbaa !13
  %372 = zext i8 %371 to i32
  %373 = load i64, ptr %38, align 8, !tbaa !16
  %374 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt6vectorIhSaIhEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %18, i64 noundef %373) #9
  %375 = load i8, ptr %374, align 1, !tbaa !13
  %376 = zext i8 %375 to i32
  %377 = icmp ne i32 %372, %376
  br i1 %377, label %378, label %385

378:                                              ; preds = %368
  %379 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.16)
          to label %380 unwind label %381

380:                                              ; preds = %378
  store i32 1, ptr %3, align 4
  store i32 1, ptr %8, align 4
  br label %389

381:                                              ; preds = %378
  %382 = landingpad { ptr, i32 }
          cleanup
  %383 = extractvalue { ptr, i32 } %382, 0
  store ptr %383, ptr %13, align 8
  %384 = extractvalue { ptr, i32 } %382, 1
  store i32 %384, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #9
  br label %416

385:                                              ; preds = %368
  br label %386

386:                                              ; preds = %385
  %387 = load i64, ptr %38, align 8, !tbaa !16
  %388 = add i64 %387, 1
  store i64 %388, ptr %38, align 8, !tbaa !16
  br label %363, !llvm.loop !43

389:                                              ; preds = %380, %367
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #9
  %390 = load i32, ptr %8, align 4
  switch i32 %390, label %415 [
    i32 2, label %391
  ]

391:                                              ; preds = %389
  %392 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.17)
          to label %393 unwind label %316

393:                                              ; preds = %391
  %394 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.18)
          to label %395 unwind label %316

395:                                              ; preds = %393
  %396 = call noundef i64 @_ZNKSt6vectorIhSaIhEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %10) #9
  %397 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEm(ptr noundef nonnull align 8 dereferenceable(8) %394, i64 noundef %396)
          to label %398 unwind label %316

398:                                              ; preds = %395
  %399 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %397, ptr noundef @.str.19)
          to label %400 unwind label %316

400:                                              ; preds = %398
  %401 = load i32, ptr %37, align 4, !tbaa !5
  %402 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEj(ptr noundef nonnull align 8 dereferenceable(8) %399, i32 noundef %401)
          to label %403 unwind label %316

403:                                              ; preds = %400
  %404 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %402, ptr noundef @.str.20)
          to label %405 unwind label %316

405:                                              ; preds = %403
  %406 = call noundef i64 @_ZNKSt6vectorIhSaIhEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %10) #9
  %407 = uitofp i64 %406 to float
  %408 = load i32, ptr %37, align 4, !tbaa !5
  %409 = uitofp i32 %408 to float
  %410 = fdiv float %407, %409
  %411 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEf(ptr noundef nonnull align 8 dereferenceable(8) %404, float noundef %410)
          to label %412 unwind label %316

412:                                              ; preds = %405
  %413 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %411, ptr noundef @.str.1)
          to label %414 unwind label %316

414:                                              ; preds = %412
  store i32 0, ptr %3, align 4
  store i32 1, ptr %8, align 4
  br label %415

415:                                              ; preds = %414, %389, %361, %347, %333, %315
  call void @llvm.lifetime.end.p0(i64 4, ptr %37) #9
  br label %417

416:                                              ; preds = %381, %316
  call void @llvm.lifetime.end.p0(i64 4, ptr %37) #9
  br label %418

417:                                              ; preds = %415, %274, %260, %213
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #9
  br label %419

418:                                              ; preds = %416, %218, %214
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #9
  br label %420

419:                                              ; preds = %417, %181, %164, %142
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #9
  call void @_ZNSt10unique_ptrIA_hSt14default_deleteIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %27) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #9
  br label %421

420:                                              ; preds = %418, %143
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #9
  call void @_ZNSt10unique_ptrIA_hSt14default_deleteIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %27) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #9
  br label %422

421:                                              ; preds = %419, %109
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #9
  br label %423

422:                                              ; preds = %420, %114
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #9
  br label %424

423:                                              ; preds = %421, %73
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #9
  call void @llvm.lifetime.end.p0(i64 1280, ptr %23) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #9
  call void @_ZNSt10unique_ptrIA_hSt14default_deleteIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %21) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #9
  call void @_ZNSt6vectorIhSaIhEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %18) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %18) #9
  call void @_ZNSt6vectorIhSaIhEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %15) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %15) #9
  call void @_ZNSt6vectorIhSaIhEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %10) #9
  br label %428

424:                                              ; preds = %422, %110, %86
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #9
  call void @llvm.lifetime.end.p0(i64 1280, ptr %23) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #9
  call void @_ZNSt10unique_ptrIA_hSt14default_deleteIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %21) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #9
  call void @_ZNSt6vectorIhSaIhEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %18) #9
  br label %425

425:                                              ; preds = %424, %82
  call void @llvm.lifetime.end.p0(i64 24, ptr %18) #9
  call void @_ZNSt6vectorIhSaIhEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %15) #9
  br label %426

426:                                              ; preds = %425, %78
  call void @llvm.lifetime.end.p0(i64 24, ptr %15) #9
  call void @_ZNSt6vectorIhSaIhEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #9
  br label %427

427:                                              ; preds = %426, %74
  call void @llvm.lifetime.end.p0(i64 24, ptr %10) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #9
  br label %431

428:                                              ; preds = %423, %53
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #9
  br label %429

429:                                              ; preds = %428, %48
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #9
  %430 = load i32, ptr %3, align 4
  ret i32 %430

431:                                              ; preds = %427
  %432 = load ptr, ptr %13, align 8
  %433 = load i32, ptr %14, align 4
  %434 = insertvalue { ptr, i32 } poison, ptr %432, 0
  %435 = insertvalue { ptr, i32 } %434, i32 %433, 1
  resume { ptr, i32 } %435
}

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

declare ptr @qpl_get_library_version() #2

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

; Function Attrs: inlinehint mustprogress uwtable
declare hidden noundef i32 @_ZL20parse_execution_pathiPPcP10qpl_path_ti(i32 noundef, ptr noundef, ptr noundef, i32 noundef) #1

declare i32 @qpl_get_safe_deflate_compression_buffer_size(i32 noundef) #2

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

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

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) #3

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

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #6

declare i32 @qpl_get_job_size(i32 noundef, ptr noundef) #2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt11make_uniqueIA_hENSt8__detail9_MakeUniqIT_E7__arrayEm(ptr dead_on_unwind noalias writable sret(%"class.std::unique_ptr") align 8, i64 noundef) #1

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

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

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

declare i32 @qpl_init_job(i32 noundef, ptr noundef) #2

declare i32 @qpl_deflate_huffman_table_create(i32 noundef, i32 noundef, ptr, ptr, ptr noundef) #2

; Function Attrs: nounwind allocsize(0)
declare noalias ptr @malloc(i64 noundef) #7

; Function Attrs: nounwind
declare void @free(ptr noundef) #8

declare i32 @qpl_gather_deflate_statistics(ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) #2

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

declare i32 @qpl_huffman_table_destroy(ptr noundef) #2

declare i32 @qpl_huffman_table_init_with_histogram(ptr noundef, ptr noundef) #2

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

declare i64 @qpl_get_dictionary_size(i32 noundef, i32 noundef, i64 noundef) #2

declare i32 @qpl_build_dictionary(ptr noundef, i32 noundef, i32 noundef, ptr noundef, i64 noundef) #2

declare i32 @qpl_execute_job(ptr noundef) #2

declare i32 @qpl_fini_job(ptr noundef) #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) #4 align 2

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

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

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

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

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"_ZTS10qpl_path_t", !7, i64 0}
!13 = !{!7, !7, i64 0}
!14 = !{!15, !15, i64 0}
!15 = !{!"_ZTS10qpl_status", !7, i64 0}
!16 = !{!17, !17, i64 0}
!17 = !{!"long", !7, i64 0}
!18 = !{!19, !19, i64 0}
!19 = !{!"_ZTS20sw_compression_level", !7, i64 0}
!20 = !{!21, !21, i64 0}
!21 = !{!"_ZTS20hw_compression_level", !7, i64 0}
!22 = !{!23, !10, i64 0}
!23 = !{!"_ZTS11allocator_t", !10, i64 0, !10, i64 8}
!24 = !{!23, !10, i64 8}
!25 = !{!26, !27, i64 32}
!26 = !{!"_ZTS7qpl_job", !10, i64 0, !6, i64 8, !6, i64 12, !10, i64 16, !6, i64 24, !6, i64 28, !27, i64 32, !6, i64 36, !6, i64 40, !6, i64 44, !6, i64 48, !28, i64 52, !29, i64 56, !10, i64 64, !10, i64 72, !30, i64 80, !10, i64 88, !6, i64 96, !6, i64 100, !7, i64 104, !7, i64 105, !7, i64 106, !17, i64 112, !17, i64 120, !10, i64 128, !6, i64 136, !6, i64 140, !6, i64 144, !6, i64 148, !31, i64 152, !6, i64 156, !6, i64 160, !6, i64 164, !6, i64 168, !32, i64 172, !6, i64 176, !6, i64 180, !6, i64 184, !6, i64 188, !33, i64 192}
!27 = !{!"_ZTS13qpl_operation", !7, i64 0}
!28 = !{!"_ZTS22qpl_compression_levels", !7, i64 0}
!29 = !{!"_ZTS19qpl_statistics_mode", !7, i64 0}
!30 = !{!"_ZTS19qpl_mini_block_size", !7, i64 0}
!31 = !{!"_ZTS14qpl_out_format", !7, i64 0}
!32 = !{!"_ZTS10qpl_parser", !7, i64 0}
!33 = !{!"_ZTS12qpl_aux_data", !10, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !10, i64 32, !12, i64 40}
!34 = !{!26, !28, i64 52}
!35 = !{!26, !10, i64 0}
!36 = !{!26, !10, i64 16}
!37 = !{!26, !6, i64 8}
!38 = !{!26, !6, i64 24}
!39 = !{!26, !6, i64 36}
!40 = !{!26, !10, i64 72}
!41 = !{!26, !10, i64 64}
!42 = !{!26, !6, i64 28}
!43 = distinct !{!43, !44}
!44 = !{!"llvm.loop.mustprogress"}


; 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::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" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = 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" = type { i8 }
%"class.std::unique_ptr" = type { %"struct.std::__uniq_ptr_data" }
%"struct.std::__uniq_ptr_data" = type { %"class.std::__uniq_ptr_impl" }
%"class.std::__uniq_ptr_impl" = type { %"class.std::tuple" }
%"class.std::tuple" = type { %"struct.std::_Tuple_impl" }
%"struct.std::_Tuple_impl" = type { %"struct.std::_Head_base.1" }
%"struct.std::_Head_base.1" = type { ptr }
%struct.qpl_histogram = type { [286 x i32], [2 x i32], [30 x i32], [2 x i32] }

@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str = external hidden unnamed_addr constant [46 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [70 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [58 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [153 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [77 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [44 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [58 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [55 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [22 x i8], align 1

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef range(i32 0, 2) i32 @main(i32 noundef %0, ptr noundef %1) local_unnamed_addr #0 personality ptr @__gxx_personality_v0 {
  %3 = alloca i32, align 4
  %4 = alloca %"class.std::vector", align 8
  %5 = alloca i8, align 1
  %6 = alloca %"class.std::allocator", align 1
  %7 = alloca %"class.std::vector", align 8
  %8 = alloca i8, align 1
  %9 = alloca %"class.std::allocator", align 1
  %10 = alloca %"class.std::vector", align 8
  %11 = alloca i8, align 1
  %12 = alloca %"class.std::allocator", align 1
  %13 = alloca %"class.std::unique_ptr", align 8
  %14 = alloca i32, align 4
  %15 = alloca %struct.qpl_histogram, align 4
  %16 = alloca %"class.std::unique_ptr", align 8
  %17 = alloca %"class.std::unique_ptr", align 8
  %18 = alloca ptr, align 8
  %19 = alloca %"class.std::unique_ptr", align 8
  %20 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str)
  %21 = tail call ptr @qpl_get_library_version()
  %22 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %20, ptr noundef %21)
  %23 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %22, ptr noundef nonnull @.str.1)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #9
  store i32 2, ptr %3, align 4, !tbaa !5
  %24 = call noundef i32 @_ZL20parse_execution_pathiPPcP10qpl_path_ti(i32 noundef %0, ptr noundef %1, ptr noundef nonnull %3, i32 noundef 0)
  %.not = icmp eq i32 %24, 0
  br i1 %.not, label %25, label %244

25:                                               ; preds = %2
  %26 = call i32 @qpl_get_safe_deflate_compression_buffer_size(i32 noundef 2048)
  %27 = icmp eq i32 %26, 0
  br i1 %27, label %28, label %30

28:                                               ; preds = %25
  %29 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.2)
  br label %244

30:                                               ; preds = %25
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %4) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %5) #9
  store i8 5, ptr %5, align 1, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %6) #9
  call void @_ZNSaIhEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %6) #9
  invoke void @_ZNSt6vectorIhSaIhEEC2EmRKhRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef 2048, ptr noundef nonnull align 1 dereferenceable(1) %5, ptr noundef nonnull align 1 dereferenceable(1) %6)
          to label %31 unwind label %44

31:                                               ; preds = %30
  call void @_ZNSt15__new_allocatorIhED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %6) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %6) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %5) #9
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %7) #9
  %32 = zext i32 %26 to i64
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %8) #9
  store i8 4, ptr %8, align 1, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %9) #9
  call void @_ZNSaIhEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %9) #9
  invoke void @_ZNSt6vectorIhSaIhEEC2EmRKhRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %32, ptr noundef nonnull align 1 dereferenceable(1) %8, ptr noundef nonnull align 1 dereferenceable(1) %9)
          to label %33 unwind label %46

33:                                               ; preds = %31
  call void @_ZNSt15__new_allocatorIhED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %9) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %9) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %8) #9
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %10) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %11) #9
  store i8 7, ptr %11, align 1, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %12) #9
  call void @_ZNSaIhEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %12) #9
  invoke void @_ZNSt6vectorIhSaIhEEC2EmRKhRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %10, i64 noundef 2048, ptr noundef nonnull align 1 dereferenceable(1) %11, ptr noundef nonnull align 1 dereferenceable(1) %12)
          to label %34 unwind label %48

34:                                               ; preds = %33
  call void @_ZNSt15__new_allocatorIhED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %12) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %12) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %11) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #9
  call void @_ZNSt10unique_ptrIA_hSt14default_deleteIS0_EEC2IS2_vEEv(ptr noundef nonnull align 8 dereferenceable(8) %13) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %14) #9
  store i32 0, ptr %14, align 4, !tbaa !10
  call void @llvm.lifetime.start.p0(i64 1280, ptr nonnull %15) #9
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 4 dereferenceable(1280) %15, i8 0, i64 1280, i1 false)
  %35 = load i32, ptr %3, align 4, !tbaa !5
  %36 = invoke i32 @qpl_get_job_size(i32 noundef %35, ptr noundef nonnull %14)
          to label %37 unwind label %50

37:                                               ; preds = %34
  %.not104 = icmp eq i32 %36, 0
  br i1 %.not104, label %52, label %38

38:                                               ; preds = %37
  %39 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.3)
          to label %40 unwind label %50

40:                                               ; preds = %38
  %41 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %39, i32 noundef %36)
          to label %42 unwind label %50

42:                                               ; preds = %40
  %43 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %41, ptr noundef nonnull @.str.4)
          to label %239 unwind label %50

44:                                               ; preds = %30
  %45 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIhED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %6) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %6) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %5) #9
  br label %243

46:                                               ; preds = %31
  %47 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIhED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %9) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %9) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %8) #9
  br label %242

48:                                               ; preds = %33
  %49 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIhED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %12) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %12) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %11) #9
  br label %241

50:                                               ; preds = %42, %40, %38, %34
  %51 = landingpad { ptr, i32 }
          cleanup
  br label %240

52:                                               ; preds = %37
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %16) #9
  %53 = load i32, ptr %14, align 4, !tbaa !10
  %54 = zext i32 %53 to i64
  invoke void @_ZSt11make_uniqueIA_hENSt8__detail9_MakeUniqIT_E7__arrayEm(ptr dead_on_unwind nonnull writable sret(%"class.std::unique_ptr") align 8 %16, i64 noundef %54)
          to label %55 unwind label %67

55:                                               ; preds = %52
  %56 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt10unique_ptrIA_hSt14default_deleteIS0_EEaSEOS3_(ptr noundef nonnull align 8 dereferenceable(8) %13, ptr noundef nonnull align 8 dereferenceable(8) %16) #9
  call void @_ZNSt10unique_ptrIA_hSt14default_deleteIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %16) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #9
  %57 = call noundef ptr @_ZNKSt10unique_ptrIA_hSt14default_deleteIS0_EE3getEv(ptr noundef nonnull align 8 dereferenceable(8) %13) #9
  %58 = load i32, ptr %3, align 4, !tbaa !5
  %59 = invoke i32 @qpl_init_job(i32 noundef %58, ptr noundef %57)
          to label %60 unwind label %69

60:                                               ; preds = %55
  %.not105 = icmp eq i32 %59, 0
  br i1 %.not105, label %71, label %61

61:                                               ; preds = %60
  %62 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.3)
          to label %63 unwind label %69

63:                                               ; preds = %61
  %64 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %62, i32 noundef %59)
          to label %65 unwind label %69

65:                                               ; preds = %63
  %66 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %64, ptr noundef nonnull @.str.5)
          to label %239 unwind label %69

67:                                               ; preds = %52
  %68 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #9
  br label %240

69:                                               ; preds = %65, %63, %61, %55
  %70 = landingpad { ptr, i32 }
          cleanup
  br label %240

71:                                               ; preds = %60
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %17) #9
  call void @_ZNSt10unique_ptrIA_hSt14default_deleteIS0_EEC2IS2_vEEv(ptr noundef nonnull align 8 dereferenceable(8) %17) #9
  %72 = load i32, ptr %3, align 4, !tbaa !5
  %73 = icmp eq i32 %72, 2
  %. = select i1 %73, i32 1, i32 -1
  %.128 = select i1 %73, i32 -1, i32 2
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %18) #9
  store ptr null, ptr %18, align 8, !tbaa !12
  %74 = invoke i32 @qpl_deflate_huffman_table_create(i32 noundef 0, i32 noundef %72, ptr nonnull @malloc, ptr nonnull @free, ptr noundef nonnull %18)
          to label %75 unwind label %82

75:                                               ; preds = %71
  %.not106 = icmp eq i32 %74, 0
  br i1 %.not106, label %84, label %76

76:                                               ; preds = %75
  %77 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.3)
          to label %78 unwind label %82

78:                                               ; preds = %76
  %79 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %77, i32 noundef %74)
          to label %80 unwind label %82

80:                                               ; preds = %78
  %81 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %79, ptr noundef nonnull @.str.6)
          to label %.thread unwind label %82

82:                                               ; preds = %.invoke134, %.invoke, %99, %97, %93, %91, %89, %84, %80, %78, %76, %71
  %83 = landingpad { ptr, i32 }
          cleanup
  br label %238

84:                                               ; preds = %75
  %85 = call noundef ptr @_ZNSt6vectorIhSaIhEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %4) #9
  %86 = load i32, ptr %3, align 4, !tbaa !5
  %87 = invoke i32 @qpl_gather_deflate_statistics(ptr noundef %85, i32 noundef 2048, ptr noundef nonnull %15, i32 noundef 1, i32 noundef %86)
          to label %88 unwind label %82

88:                                               ; preds = %84
  %.not107 = icmp eq i32 %87, 0
  br i1 %.not107, label %93, label %89

89:                                               ; preds = %88
  %90 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.3)
          to label %91 unwind label %82

91:                                               ; preds = %89
  %92 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %90, i32 noundef %87)
          to label %.invoke134 unwind label %82

93:                                               ; preds = %88
  %94 = load ptr, ptr %18, align 8, !tbaa !12
  %95 = invoke i32 @qpl_huffman_table_init_with_histogram(ptr noundef %94, ptr noundef nonnull %15)
          to label %96 unwind label %82

96:                                               ; preds = %93
  %.not108 = icmp eq i32 %95, 0
  br i1 %.not108, label %106, label %97

97:                                               ; preds = %96
  %98 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.3)
          to label %99 unwind label %82

99:                                               ; preds = %97
  %100 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %98, i32 noundef %95)
          to label %.invoke134 unwind label %82

.invoke134:                                       ; preds = %99, %91
  %101 = phi ptr [ %92, %91 ], [ %100, %99 ]
  %102 = phi ptr [ @.str.7, %91 ], [ @.str.8, %99 ]
  %103 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %101, ptr noundef nonnull %102)
          to label %.invoke unwind label %82

.invoke:                                          ; preds = %.invoke134
  %104 = load ptr, ptr %18, align 8, !tbaa !12
  %105 = invoke i32 @qpl_huffman_table_destroy(ptr noundef %104)
          to label %.thread unwind label %82

106:                                              ; preds = %96
  %107 = call noundef i64 @_ZNKSt6vectorIhSaIhEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %4) #9
  %108 = call noundef ptr @_ZNSt6vectorIhSaIhEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %4) #9
  %109 = invoke i64 @qpl_get_dictionary_size(i32 noundef %., i32 noundef %.128, i64 noundef %107)
          to label %110 unwind label %120

110:                                              ; preds = %106
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %19) #9
  invoke void @_ZSt11make_uniqueIA_hENSt8__detail9_MakeUniqIT_E7__arrayEm(ptr dead_on_unwind nonnull writable sret(%"class.std::unique_ptr") align 8 %19, i64 noundef %109)
          to label %111 unwind label %122

111:                                              ; preds = %110
  %112 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt10unique_ptrIA_hSt14default_deleteIS0_EEaSEOS3_(ptr noundef nonnull align 8 dereferenceable(8) %17, ptr noundef nonnull align 8 dereferenceable(8) %19) #9
  call void @_ZNSt10unique_ptrIA_hSt14default_deleteIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %19) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #9
  %113 = call noundef ptr @_ZNKSt10unique_ptrIA_hSt14default_deleteIS0_EE3getEv(ptr noundef nonnull align 8 dereferenceable(8) %17) #9
  %114 = invoke i32 @qpl_build_dictionary(ptr noundef %113, i32 noundef %., i32 noundef %.128, ptr noundef %108, i64 noundef %107)
          to label %115 unwind label %120

115:                                              ; preds = %111
  %.not109 = icmp eq i32 %114, 0
  br i1 %.not109, label %124, label %116

116:                                              ; preds = %115
  %117 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.3)
          to label %118 unwind label %120

118:                                              ; preds = %116
  %119 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %117, i32 noundef %114)
          to label %.invoke135 unwind label %120

120:                                              ; preds = %.invoke135, %.invoke132, %151, %149, %145, %143, %124, %118, %116, %111, %106
  %121 = landingpad { ptr, i32 }
          cleanup
  br label %238

122:                                              ; preds = %110
  %123 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #9
  br label %238

124:                                              ; preds = %115
  %125 = getelementptr inbounds i8, ptr %57, i64 32
  store i32 1, ptr %125, align 8, !tbaa !14
  %126 = getelementptr inbounds i8, ptr %57, i64 52
  store i32 1, ptr %126, align 4, !tbaa !24
  %127 = call noundef ptr @_ZNSt6vectorIhSaIhEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %4) #9
  store ptr %127, ptr %57, align 8, !tbaa !25
  %128 = call noundef ptr @_ZNSt6vectorIhSaIhEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %7) #9
  %129 = getelementptr inbounds i8, ptr %57, i64 16
  store ptr %128, ptr %129, align 8, !tbaa !26
  %130 = getelementptr inbounds i8, ptr %57, i64 8
  store i32 2048, ptr %130, align 8, !tbaa !27
  %131 = call noundef i64 @_ZNKSt6vectorIhSaIhEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %7) #9
  %132 = trunc i64 %131 to i32
  %133 = getelementptr inbounds i8, ptr %57, i64 24
  store i32 %132, ptr %133, align 8, !tbaa !28
  %134 = getelementptr inbounds i8, ptr %57, i64 36
  store i32 4210691, ptr %134, align 4, !tbaa !29
  %135 = getelementptr inbounds i8, ptr %57, i64 72
  store ptr %113, ptr %135, align 8, !tbaa !30
  %136 = load ptr, ptr %18, align 8, !tbaa !12
  %137 = getelementptr inbounds i8, ptr %57, i64 64
  store ptr %136, ptr %137, align 8, !tbaa !31
  %138 = invoke i32 @qpl_execute_job(ptr noundef nonnull %57)
          to label %139 unwind label %120

139:                                              ; preds = %124
  %140 = load i32, ptr %3, align 4, !tbaa !5
  %141 = icmp eq i32 %140, 1
  %142 = icmp eq i32 %138, 52
  %or.cond = select i1 %141, i1 %142, i1 false
  br i1 %or.cond, label %143, label %148

143:                                              ; preds = %139
  %144 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.10)
          to label %145 unwind label %120

145:                                              ; preds = %143
  %146 = load ptr, ptr %18, align 8, !tbaa !12
  %147 = invoke i32 @qpl_huffman_table_destroy(ptr noundef %146)
          to label %.thread unwind label %120

148:                                              ; preds = %139
  %.not110 = icmp eq i32 %138, 0
  br i1 %.not110, label %158, label %149

149:                                              ; preds = %148
  %150 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.3)
          to label %151 unwind label %120

151:                                              ; preds = %149
  %152 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %150, i32 noundef %138)
          to label %.invoke135 unwind label %120

.invoke135:                                       ; preds = %118, %151
  %153 = phi ptr [ %152, %151 ], [ %119, %118 ]
  %154 = phi ptr [ @.str.11, %151 ], [ @.str.9, %118 ]
  %155 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %153, ptr noundef nonnull %154)
          to label %.invoke132 unwind label %120

.invoke132:                                       ; preds = %.invoke135
  %156 = load ptr, ptr %18, align 8, !tbaa !12
  %157 = invoke i32 @qpl_huffman_table_destroy(ptr noundef %156)
          to label %.thread unwind label %120

158:                                              ; preds = %148
  %159 = getelementptr inbounds i8, ptr %57, i64 28
  %160 = load i32, ptr %159, align 4, !tbaa !32
  store i32 0, ptr %125, align 8, !tbaa !14
  %161 = call noundef ptr @_ZNSt6vectorIhSaIhEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %7) #9
  store ptr %161, ptr %57, align 8, !tbaa !25
  %162 = call noundef ptr @_ZNSt6vectorIhSaIhEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %10) #9
  store ptr %162, ptr %129, align 8, !tbaa !26
  store i32 %160, ptr %130, align 8, !tbaa !27
  %163 = call noundef i64 @_ZNKSt6vectorIhSaIhEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %10) #9
  %164 = trunc i64 %163 to i32
  store i32 %164, ptr %133, align 8, !tbaa !28
  store i32 4194307, ptr %134, align 4, !tbaa !29
  store ptr %113, ptr %135, align 8, !tbaa !30
  %165 = load ptr, ptr %18, align 8, !tbaa !12
  store ptr %165, ptr %137, align 8, !tbaa !31
  %166 = invoke i32 @qpl_execute_job(ptr noundef nonnull %57)
          to label %167 unwind label %176

167:                                              ; preds = %158
  %168 = load i32, ptr %3, align 4, !tbaa !5
  %169 = icmp eq i32 %168, 1
  %170 = icmp eq i32 %166, 52
  %or.cond3 = select i1 %169, i1 %170, i1 false
  br i1 %or.cond3, label %171, label %178

171:                                              ; preds = %167
  %172 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.12)
          to label %173 unwind label %176

173:                                              ; preds = %171
  %174 = load ptr, ptr %18, align 8, !tbaa !12
  %175 = invoke i32 @qpl_huffman_table_destroy(ptr noundef %174)
          to label %.thread unwind label %176

176:                                              ; preds = %.invoke133, %236, %230, %228, %226, %224, %221, %219, %._crit_edge, %202, %200, %196, %194, %192, %188, %185, %183, %181, %179, %173, %171, %158
  %177 = landingpad { ptr, i32 }
          cleanup
  br label %238

178:                                              ; preds = %167
  %.not111 = icmp eq i32 %166, 0
  br i1 %.not111, label %188, label %179

179:                                              ; preds = %178
  %180 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.3)
          to label %181 unwind label %176

181:                                              ; preds = %179
  %182 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %180, i32 noundef %166)
          to label %183 unwind label %176

183:                                              ; preds = %181
  %184 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %182, ptr noundef nonnull @.str.13)
          to label %185 unwind label %176

185:                                              ; preds = %183
  %186 = load ptr, ptr %18, align 8, !tbaa !12
  %187 = invoke i32 @qpl_huffman_table_destroy(ptr noundef %186)
          to label %.thread unwind label %176

188:                                              ; preds = %178
  %189 = load ptr, ptr %18, align 8, !tbaa !12
  %190 = invoke i32 @qpl_huffman_table_destroy(ptr noundef %189)
          to label %191 unwind label %176

191:                                              ; preds = %188
  %.not112 = icmp eq i32 %190, 0
  br i1 %.not112, label %196, label %192

192:                                              ; preds = %191
  %193 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.3)
          to label %194 unwind label %176

194:                                              ; preds = %192
  %195 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %193, i32 noundef %190)
          to label %.invoke133 unwind label %176

196:                                              ; preds = %191
  %197 = invoke i32 @qpl_fini_job(ptr noundef nonnull %57)
          to label %198 unwind label %176

198:                                              ; preds = %196
  %.not113 = icmp eq i32 %197, 0
  br i1 %.not113, label %.preheader, label %200

.preheader:                                       ; preds = %198
  %199 = call noundef i64 @_ZNKSt6vectorIhSaIhEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %4) #9
  %.not115130.not = icmp eq i64 %199, 0
  br i1 %.not115130.not, label %._crit_edge, label %.lr.ph

200:                                              ; preds = %198
  %201 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.3)
          to label %202 unwind label %176

202:                                              ; preds = %200
  %203 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %201, i32 noundef %197)
          to label %.invoke133 unwind label %176

.invoke133:                                       ; preds = %202, %194
  %204 = phi ptr [ %195, %194 ], [ %203, %202 ]
  %205 = phi ptr [ @.str.14, %194 ], [ @.str.15, %202 ]
  %206 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %204, ptr noundef nonnull %205)
          to label %.thread unwind label %176

207:                                              ; preds = %.lr.ph
  %208 = add nuw i64 %.0131, 1
  %209 = call noundef i64 @_ZNKSt6vectorIhSaIhEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %4) #9
  %.not115 = icmp ult i64 %208, %209
  br i1 %.not115, label %.lr.ph, label %._crit_edge, !llvm.loop !33

.lr.ph:                                           ; preds = %.preheader, %207
  %.0131 = phi i64 [ %208, %207 ], [ 0, %.preheader ]
  %210 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt6vectorIhSaIhEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %.0131) #9
  %211 = load i8, ptr %210, align 1, !tbaa !9
  %212 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt6vectorIhSaIhEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %10, i64 noundef %.0131) #9
  %213 = load i8, ptr %212, align 1, !tbaa !9
  %.not114 = icmp eq i8 %211, %213
  br i1 %.not114, label %207, label %214

214:                                              ; preds = %.lr.ph
  %215 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.16)
          to label %.thread unwind label %216

216:                                              ; preds = %214
  %217 = landingpad { ptr, i32 }
          cleanup
  br label %238

._crit_edge:                                      ; preds = %207, %.preheader
  %218 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.17)
          to label %219 unwind label %176

219:                                              ; preds = %._crit_edge
  %220 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.18)
          to label %221 unwind label %176

221:                                              ; preds = %219
  %222 = call noundef i64 @_ZNKSt6vectorIhSaIhEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %4) #9
  %223 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEm(ptr noundef nonnull align 8 dereferenceable(8) %220, i64 noundef %222)
          to label %224 unwind label %176

224:                                              ; preds = %221
  %225 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %223, ptr noundef nonnull @.str.19)
          to label %226 unwind label %176

226:                                              ; preds = %224
  %227 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEj(ptr noundef nonnull align 8 dereferenceable(8) %225, i32 noundef %160)
          to label %228 unwind label %176

228:                                              ; preds = %226
  %229 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %227, ptr noundef nonnull @.str.20)
          to label %230 unwind label %176

230:                                              ; preds = %228
  %231 = call noundef i64 @_ZNKSt6vectorIhSaIhEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %4) #9
  %232 = uitofp i64 %231 to float
  %233 = uitofp i32 %160 to float
  %234 = fdiv float %232, %233
  %235 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEf(ptr noundef nonnull align 8 dereferenceable(8) %229, float noundef %234)
          to label %236 unwind label %176

236:                                              ; preds = %230
  %237 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %235, ptr noundef nonnull @.str.1)
          to label %.thread unwind label %176

.thread:                                          ; preds = %.invoke133, %.invoke132, %.invoke, %214, %145, %236, %185, %173, %80
  %.3 = phi i32 [ 1, %80 ], [ 0, %145 ], [ 0, %173 ], [ 1, %185 ], [ 0, %236 ], [ 1, %214 ], [ 1, %.invoke ], [ 1, %.invoke132 ], [ 1, %.invoke133 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #9
  call void @_ZNSt10unique_ptrIA_hSt14default_deleteIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %17) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #9
  br label %239

238:                                              ; preds = %120, %122, %216, %176, %82
  %.pn119 = phi { ptr, i32 } [ %83, %82 ], [ %121, %120 ], [ %123, %122 ], [ %177, %176 ], [ %217, %216 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #9
  call void @_ZNSt10unique_ptrIA_hSt14default_deleteIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %17) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #9
  br label %240

239:                                              ; preds = %.thread, %65, %42
  %.5 = phi i32 [ 1, %42 ], [ %.3, %.thread ], [ 1, %65 ]
  call void @llvm.lifetime.end.p0(i64 1280, ptr nonnull %15) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %14) #9
  call void @_ZNSt10unique_ptrIA_hSt14default_deleteIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %13) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #9
  call void @_ZNSt6vectorIhSaIhEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %10) #9
  call void @_ZNSt6vectorIhSaIhEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #9
  call void @_ZNSt6vectorIhSaIhEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #9
  br label %244

240:                                              ; preds = %69, %238, %67, %50
  %.pn123 = phi { ptr, i32 } [ %51, %50 ], [ %68, %67 ], [ %70, %69 ], [ %.pn119, %238 ]
  call void @llvm.lifetime.end.p0(i64 1280, ptr nonnull %15) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %14) #9
  call void @_ZNSt10unique_ptrIA_hSt14default_deleteIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %13) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #9
  call void @_ZNSt6vectorIhSaIhEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #9
  br label %241

241:                                              ; preds = %240, %48
  %.pn123.pn = phi { ptr, i32 } [ %.pn123, %240 ], [ %49, %48 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %10) #9
  call void @_ZNSt6vectorIhSaIhEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #9
  br label %242

242:                                              ; preds = %241, %46
  %.pn123.pn.pn = phi { ptr, i32 } [ %.pn123.pn, %241 ], [ %47, %46 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #9
  call void @_ZNSt6vectorIhSaIhEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #9
  br label %243

243:                                              ; preds = %242, %44
  %.pn123.pn.pn.pn = phi { ptr, i32 } [ %.pn123.pn.pn, %242 ], [ %45, %44 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #9
  resume { ptr, i32 } %.pn123.pn.pn.pn

244:                                              ; preds = %28, %239, %2
  %.7 = phi i32 [ 1, %2 ], [ 1, %28 ], [ %.5, %239 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #9
  ret i32 %.7
}

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

declare ptr @qpl_get_library_version() local_unnamed_addr #2

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

; Function Attrs: inlinehint mustprogress uwtable
declare hidden noundef i32 @_ZL20parse_execution_pathiPPcP10qpl_path_ti(i32 noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1

declare i32 @qpl_get_safe_deflate_compression_buffer_size(i32 noundef) local_unnamed_addr #2

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

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

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) #3

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

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #6

declare i32 @qpl_get_job_size(i32 noundef, ptr noundef) local_unnamed_addr #2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt11make_uniqueIA_hENSt8__detail9_MakeUniqIT_E7__arrayEm(ptr dead_on_unwind noalias writable sret(%"class.std::unique_ptr") align 8, i64 noundef) local_unnamed_addr #1

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

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

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

declare i32 @qpl_init_job(i32 noundef, ptr noundef) local_unnamed_addr #2

declare i32 @qpl_deflate_huffman_table_create(i32 noundef, i32 noundef, ptr, ptr, ptr noundef) local_unnamed_addr #2

; Function Attrs: mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite)
declare noalias noundef ptr @malloc(i64 noundef) #7

; Function Attrs: mustprogress nounwind willreturn allockind("free") memory(argmem: readwrite, inaccessiblemem: readwrite)
declare void @free(ptr allocptr nocapture noundef) #8

declare i32 @qpl_gather_deflate_statistics(ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2

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

declare i32 @qpl_huffman_table_destroy(ptr noundef) local_unnamed_addr #2

declare i32 @qpl_huffman_table_init_with_histogram(ptr noundef, ptr noundef) local_unnamed_addr #2

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

declare i64 @qpl_get_dictionary_size(i32 noundef, i32 noundef, i64 noundef) local_unnamed_addr #2

declare i32 @qpl_build_dictionary(ptr noundef, i32 noundef, i32 noundef, ptr noundef, i64 noundef) local_unnamed_addr #2

declare i32 @qpl_execute_job(ptr noundef) local_unnamed_addr #2

declare i32 @qpl_fini_job(ptr noundef) local_unnamed_addr #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 #4 align 2

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

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

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

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

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

attributes #0 = { mustprogress norecurse uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { 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 = { 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 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #7 = { mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite) "alloc-family"="malloc" "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 = { mustprogress nounwind willreturn allockind("free") memory(argmem: readwrite, inaccessiblemem: readwrite) "alloc-family"="malloc" "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 #9 = { 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 = !{!"_ZTS10qpl_path_t", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!7, !7, i64 0}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !7, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"any pointer", !7, i64 0}
!14 = !{!15, !16, i64 32}
!15 = !{!"_ZTS7qpl_job", !13, i64 0, !11, i64 8, !11, i64 12, !13, i64 16, !11, i64 24, !11, i64 28, !16, i64 32, !11, i64 36, !11, i64 40, !11, i64 44, !11, i64 48, !17, i64 52, !18, i64 56, !13, i64 64, !13, i64 72, !19, i64 80, !13, i64 88, !11, i64 96, !11, i64 100, !7, i64 104, !7, i64 105, !7, i64 106, !20, i64 112, !20, i64 120, !13, i64 128, !11, i64 136, !11, i64 140, !11, i64 144, !11, i64 148, !21, i64 152, !11, i64 156, !11, i64 160, !11, i64 164, !11, i64 168, !22, i64 172, !11, i64 176, !11, i64 180, !11, i64 184, !11, i64 188, !23, i64 192}
!16 = !{!"_ZTS13qpl_operation", !7, i64 0}
!17 = !{!"_ZTS22qpl_compression_levels", !7, i64 0}
!18 = !{!"_ZTS19qpl_statistics_mode", !7, i64 0}
!19 = !{!"_ZTS19qpl_mini_block_size", !7, i64 0}
!20 = !{!"long", !7, i64 0}
!21 = !{!"_ZTS14qpl_out_format", !7, i64 0}
!22 = !{!"_ZTS10qpl_parser", !7, i64 0}
!23 = !{!"_ZTS12qpl_aux_data", !13, i64 0, !13, i64 8, !13, i64 16, !13, i64 24, !13, i64 32, !6, i64 40}
!24 = !{!15, !17, i64 52}
!25 = !{!15, !13, i64 0}
!26 = !{!15, !13, i64 16}
!27 = !{!15, !11, i64 8}
!28 = !{!15, !11, i64 24}
!29 = !{!15, !11, i64 36}
!30 = !{!15, !13, i64 72}
!31 = !{!15, !13, i64 64}
!32 = !{!15, !11, i64 28}
!33 = distinct !{!33, !34}
!34 = !{!"llvm.loop.mustprogress"}


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