; LLVM IR from intel/qpl :: examples/low-level-api (serialization_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 }
%struct.allocator_t = type { ptr, ptr }
%struct.qpl_histogram = type { [286 x i32], [2 x i32], [30 x i32], [2 x i32] }
%struct.serialization_options_t = type { i32, i64 }
%"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 }

@_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 [10 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [58 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [60 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [47 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [44 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [61 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [18 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 %"class.std::vector", align 8
  %10 = alloca i8, align 1
  %11 = alloca %"class.std::allocator", align 1
  %12 = alloca ptr, align 8
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca ptr, align 8
  %16 = alloca %struct.allocator_t, align 8
  %17 = alloca %struct.qpl_histogram, align 4
  %18 = alloca i64, align 8
  %19 = alloca %struct.serialization_options_t, align 8
  %20 = alloca %"class.std::unique_ptr", align 8
  %21 = alloca ptr, align 8
  %22 = alloca %struct.serialization_options_t, align 8
  %23 = alloca ptr, align 8
  %24 = alloca %struct.allocator_t, 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
  %25 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str)
  %26 = call ptr @qpl_get_library_version()
  %27 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %25, ptr noundef %26)
  %28 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %27, 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
  %29 = load i32, ptr %4, align 4, !tbaa !5
  %30 = load ptr, ptr %5, align 8, !tbaa !9
  %31 = call noundef i32 @_ZL20parse_execution_pathiPPcP10qpl_path_ti(i32 noundef %29, ptr noundef %30, ptr noundef %6, i32 noundef 0)
  store i32 %31, ptr %7, align 4, !tbaa !5
  %32 = load i32, ptr %7, align 4, !tbaa !5
  %33 = icmp ne i32 %32, 0
  br i1 %33, label %34, label %35

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

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

36:                                               ; preds = %35
  call void @_ZNSt15__new_allocatorIhED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %11) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %11) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %10) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #9
  store i32 0, ptr %14, align 4, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #9
  store ptr null, ptr %15, align 8, !tbaa !9
  %37 = load i32, ptr %6, align 4, !tbaa !11
  %38 = getelementptr inbounds %struct.allocator_t, ptr %16, i32 0, i32 0
  store ptr @malloc, ptr %38, align 8, !tbaa !16
  %39 = getelementptr inbounds %struct.allocator_t, ptr %16, i32 0, i32 1
  store ptr @free, ptr %39, align 8, !tbaa !18
  %40 = getelementptr inbounds { ptr, ptr }, ptr %16, i32 0, i32 0
  %41 = load ptr, ptr %40, align 8
  %42 = getelementptr inbounds { ptr, ptr }, ptr %16, i32 0, i32 1
  %43 = load ptr, ptr %42, align 8
  %44 = invoke i32 @qpl_deflate_huffman_table_create(i32 noundef 0, i32 noundef %37, ptr %41, ptr %43, ptr noundef %15)
          to label %45 unwind label %60

45:                                               ; preds = %36
  store i32 %44, ptr %14, align 4, !tbaa !14
  %46 = load i32, ptr %14, align 4, !tbaa !14
  %47 = icmp ne i32 %46, 0
  br i1 %47, label %48, label %64

48:                                               ; preds = %45
  %49 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.2)
          to label %50 unwind label %60

50:                                               ; preds = %48
  %51 = load i32, ptr %14, align 4, !tbaa !14
  %52 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %49, i32 noundef %51)
          to label %53 unwind label %60

53:                                               ; preds = %50
  %54 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %52, ptr noundef @.str.3)
          to label %55 unwind label %60

55:                                               ; preds = %53
  store i32 1, ptr %3, align 4
  store i32 1, ptr %8, align 4
  br label %240

56:                                               ; preds = %35
  %57 = landingpad { ptr, i32 }
          cleanup
  %58 = extractvalue { ptr, i32 } %57, 0
  store ptr %58, ptr %12, align 8
  %59 = extractvalue { ptr, i32 } %57, 1
  store i32 %59, ptr %13, align 4
  call void @_ZNSt15__new_allocatorIhED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %11) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %11) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %10) #9
  br label %242

60:                                               ; preds = %53, %50, %48, %36
  %61 = landingpad { ptr, i32 }
          cleanup
  %62 = extractvalue { ptr, i32 } %61, 0
  store ptr %62, ptr %12, align 8
  %63 = extractvalue { ptr, i32 } %61, 1
  store i32 %63, ptr %13, align 4
  br label %241

64:                                               ; preds = %45
  call void @llvm.lifetime.start.p0(i64 1280, ptr %17) #9
  call void @llvm.memset.p0.i64(ptr align 4 %17, i8 0, i64 1280, i1 false)
  %65 = call noundef ptr @_ZNSt6vectorIhSaIhEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %9) #9
  %66 = load i32, ptr %6, align 4, !tbaa !11
  %67 = invoke i32 @qpl_gather_deflate_statistics(ptr noundef %65, i32 noundef 1000, ptr noundef %17, i32 noundef 1, i32 noundef %66)
          to label %68 unwind label %82

68:                                               ; preds = %64
  store i32 %67, ptr %14, align 4, !tbaa !14
  %69 = load i32, ptr %14, align 4, !tbaa !14
  %70 = icmp ne i32 %69, 0
  br i1 %70, label %71, 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) @_ZSt4cout, ptr noundef @.str.2)
          to label %73 unwind label %82

73:                                               ; preds = %71
  %74 = load i32, ptr %14, align 4, !tbaa !14
  %75 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %72, i32 noundef %74)
          to label %76 unwind label %82

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

78:                                               ; preds = %76
  %79 = load ptr, ptr %15, align 8, !tbaa !9
  %80 = invoke i32 @qpl_huffman_table_destroy(ptr noundef %79)
          to label %81 unwind label %82

81:                                               ; preds = %78
  store i32 1, ptr %3, align 4
  store i32 1, ptr %8, align 4
  br label %238

82:                                               ; preds = %99, %97, %94, %92, %86, %78, %76, %73, %71, %64
  %83 = landingpad { ptr, i32 }
          cleanup
  %84 = extractvalue { ptr, i32 } %83, 0
  store ptr %84, ptr %12, align 8
  %85 = extractvalue { ptr, i32 } %83, 1
  store i32 %85, ptr %13, align 4
  br label %239

86:                                               ; preds = %68
  %87 = load ptr, ptr %15, align 8, !tbaa !9
  %88 = invoke i32 @qpl_huffman_table_init_with_histogram(ptr noundef %87, ptr noundef %17)
          to label %89 unwind label %82

89:                                               ; preds = %86
  store i32 %88, ptr %14, align 4, !tbaa !14
  %90 = load i32, ptr %14, align 4, !tbaa !14
  %91 = icmp ne i32 %90, 0
  br i1 %91, label %92, label %103

92:                                               ; preds = %89
  %93 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.2)
          to label %94 unwind label %82

94:                                               ; preds = %92
  %95 = load i32, ptr %14, align 4, !tbaa !14
  %96 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %93, i32 noundef %95)
          to label %97 unwind label %82

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

99:                                               ; preds = %97
  %100 = load ptr, ptr %15, align 8, !tbaa !9
  %101 = invoke i32 @qpl_huffman_table_destroy(ptr noundef %100)
          to label %102 unwind label %82

102:                                              ; preds = %99
  store i32 1, ptr %3, align 4
  store i32 1, ptr %8, align 4
  br label %238

103:                                              ; preds = %89
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #9
  store i64 0, ptr %18, align 8, !tbaa !19
  %104 = load ptr, ptr %15, align 8, !tbaa !9
  %105 = getelementptr inbounds %struct.serialization_options_t, ptr %19, i32 0, i32 0
  store i32 1, ptr %105, align 8, !tbaa !21
  %106 = getelementptr inbounds %struct.serialization_options_t, ptr %19, i32 0, i32 1
  store i64 0, ptr %106, align 8, !tbaa !24
  %107 = getelementptr inbounds { i32, i64 }, ptr %19, i32 0, i32 0
  %108 = load i32, ptr %107, align 8
  %109 = getelementptr inbounds { i32, i64 }, ptr %19, i32 0, i32 1
  %110 = load i64, ptr %109, align 8
  %111 = invoke i32 @qpl_huffman_table_get_serialized_size(ptr noundef %104, i32 %108, i64 %110, ptr noundef %18)
          to label %112 unwind label %126

112:                                              ; preds = %103
  store i32 %111, ptr %14, align 4, !tbaa !14
  %113 = load i32, ptr %14, align 4, !tbaa !14
  %114 = icmp ne i32 %113, 0
  br i1 %114, label %115, label %130

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

117:                                              ; preds = %115
  %118 = load i32, ptr %14, align 4, !tbaa !14
  %119 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %116, i32 noundef %118)
          to label %120 unwind label %126

120:                                              ; preds = %117
  %121 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %119, ptr noundef @.str.6)
          to label %122 unwind label %126

122:                                              ; preds = %120
  %123 = load ptr, ptr %15, align 8, !tbaa !9
  %124 = invoke i32 @qpl_huffman_table_destroy(ptr noundef %123)
          to label %125 unwind label %126

125:                                              ; preds = %122
  store i32 1, ptr %3, align 4
  store i32 1, ptr %8, align 4
  br label %236

126:                                              ; preds = %122, %120, %117, %115, %103
  %127 = landingpad { ptr, i32 }
          cleanup
  %128 = extractvalue { ptr, i32 } %127, 0
  store ptr %128, ptr %12, align 8
  %129 = extractvalue { ptr, i32 } %127, 1
  store i32 %129, ptr %13, align 4
  br label %237

130:                                              ; preds = %112
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #9
  %131 = load i64, ptr %18, align 8, !tbaa !19
  invoke void @_ZSt11make_uniqueIA_hENSt8__detail9_MakeUniqIT_E7__arrayEm(ptr dead_on_unwind writable sret(%"class.std::unique_ptr") align 8 %20, i64 noundef %131)
          to label %132 unwind label %158

132:                                              ; preds = %130
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #9
  %133 = call noundef ptr @_ZNKSt10unique_ptrIA_hSt14default_deleteIS0_EE3getEv(ptr noundef nonnull align 8 dereferenceable(8) %20) #9
  store ptr %133, ptr %21, align 8, !tbaa !9
  %134 = load ptr, ptr %15, align 8, !tbaa !9
  %135 = load ptr, ptr %21, align 8, !tbaa !9
  %136 = load i64, ptr %18, align 8, !tbaa !19
  %137 = getelementptr inbounds %struct.serialization_options_t, ptr %22, i32 0, i32 0
  store i32 1, ptr %137, align 8, !tbaa !21
  %138 = getelementptr inbounds %struct.serialization_options_t, ptr %22, i32 0, i32 1
  store i64 0, ptr %138, align 8, !tbaa !24
  %139 = getelementptr inbounds { i32, i64 }, ptr %22, i32 0, i32 0
  %140 = load i32, ptr %139, align 8
  %141 = getelementptr inbounds { i32, i64 }, ptr %22, i32 0, i32 1
  %142 = load i64, ptr %141, align 8
  %143 = invoke i32 @qpl_huffman_table_serialize(ptr noundef %134, ptr noundef %135, i64 noundef %136, i32 %140, i64 %142)
          to label %144 unwind label %162

144:                                              ; preds = %132
  store i32 %143, ptr %14, align 4, !tbaa !14
  %145 = load i32, ptr %14, align 4, !tbaa !14
  %146 = icmp ne i32 %145, 0
  br i1 %146, label %147, label %166

147:                                              ; preds = %144
  %148 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.2)
          to label %149 unwind label %162

149:                                              ; preds = %147
  %150 = load i32, ptr %14, align 4, !tbaa !14
  %151 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %148, i32 noundef %150)
          to label %152 unwind label %162

152:                                              ; preds = %149
  %153 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %151, ptr noundef @.str.7)
          to label %154 unwind label %162

154:                                              ; preds = %152
  %155 = load ptr, ptr %15, align 8, !tbaa !9
  %156 = invoke i32 @qpl_huffman_table_destroy(ptr noundef %155)
          to label %157 unwind label %162

157:                                              ; preds = %154
  store i32 1, ptr %3, align 4
  store i32 1, ptr %8, align 4
  br label %233

158:                                              ; preds = %130
  %159 = landingpad { ptr, i32 }
          cleanup
  %160 = extractvalue { ptr, i32 } %159, 0
  store ptr %160, ptr %12, align 8
  %161 = extractvalue { ptr, i32 } %159, 1
  store i32 %161, ptr %13, align 4
  br label %235

162:                                              ; preds = %154, %152, %149, %147, %132
  %163 = landingpad { ptr, i32 }
          cleanup
  %164 = extractvalue { ptr, i32 } %163, 0
  store ptr %164, ptr %12, align 8
  %165 = extractvalue { ptr, i32 } %163, 1
  store i32 %165, ptr %13, align 4
  br label %234

166:                                              ; preds = %144
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #9
  store ptr null, ptr %23, align 8, !tbaa !9
  %167 = load ptr, ptr %21, align 8, !tbaa !9
  %168 = load i64, ptr %18, align 8, !tbaa !19
  %169 = getelementptr inbounds %struct.allocator_t, ptr %24, i32 0, i32 0
  store ptr @malloc, ptr %169, align 8, !tbaa !16
  %170 = getelementptr inbounds %struct.allocator_t, ptr %24, i32 0, i32 1
  store ptr @free, ptr %170, align 8, !tbaa !18
  %171 = getelementptr inbounds { ptr, ptr }, ptr %24, i32 0, i32 0
  %172 = load ptr, ptr %171, align 8
  %173 = getelementptr inbounds { ptr, ptr }, ptr %24, i32 0, i32 1
  %174 = load ptr, ptr %173, align 8
  %175 = invoke i32 @qpl_huffman_table_deserialize(ptr noundef %167, i64 noundef %168, ptr %172, ptr %174, ptr noundef %23)
          to label %176 unwind label %190

176:                                              ; preds = %166
  store i32 %175, ptr %14, align 4, !tbaa !14
  %177 = load i32, ptr %14, align 4, !tbaa !14
  %178 = icmp ne i32 %177, 0
  br i1 %178, label %179, label %194

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

181:                                              ; preds = %179
  %182 = load i32, ptr %14, align 4, !tbaa !14
  %183 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %180, i32 noundef %182)
          to label %184 unwind label %190

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

186:                                              ; preds = %184
  %187 = load ptr, ptr %15, align 8, !tbaa !9
  %188 = invoke i32 @qpl_huffman_table_destroy(ptr noundef %187)
          to label %189 unwind label %190

189:                                              ; preds = %186
  store i32 1, ptr %3, align 4
  store i32 1, ptr %8, align 4
  br label %232

190:                                              ; preds = %229, %226, %224, %222, %219, %216, %214, %208, %205, %202, %200, %194, %186, %184, %181, %179, %166
  %191 = landingpad { ptr, i32 }
          cleanup
  %192 = extractvalue { ptr, i32 } %191, 0
  store ptr %192, ptr %12, align 8
  %193 = extractvalue { ptr, i32 } %191, 1
  store i32 %193, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #9
  br label %234

194:                                              ; preds = %176
  %195 = load ptr, ptr %15, align 8, !tbaa !9
  %196 = invoke i32 @qpl_huffman_table_destroy(ptr noundef %195)
          to label %197 unwind label %190

197:                                              ; preds = %194
  store i32 %196, ptr %14, align 4, !tbaa !14
  %198 = load i32, ptr %14, align 4, !tbaa !14
  %199 = icmp ne i32 %198, 0
  br i1 %199, label %200, label %208

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

202:                                              ; preds = %200
  %203 = load i32, ptr %14, align 4, !tbaa !14
  %204 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %201, i32 noundef %203)
          to label %205 unwind label %190

205:                                              ; preds = %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 @.str.9)
          to label %207 unwind label %190

207:                                              ; preds = %205
  store i32 1, ptr %3, align 4
  store i32 1, ptr %8, align 4
  br label %232

208:                                              ; preds = %197
  %209 = load ptr, ptr %23, align 8, !tbaa !9
  %210 = invoke i32 @qpl_huffman_table_destroy(ptr noundef %209)
          to label %211 unwind label %190

211:                                              ; preds = %208
  store i32 %210, ptr %14, align 4, !tbaa !14
  %212 = load i32, ptr %14, align 4, !tbaa !14
  %213 = icmp ne i32 %212, 0
  br i1 %213, label %214, label %222

214:                                              ; preds = %211
  %215 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.2)
          to label %216 unwind label %190

216:                                              ; preds = %214
  %217 = load i32, ptr %14, align 4, !tbaa !14
  %218 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %215, i32 noundef %217)
          to label %219 unwind label %190

219:                                              ; preds = %216
  %220 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %218, ptr noundef @.str.9)
          to label %221 unwind label %190

221:                                              ; preds = %219
  store i32 1, ptr %3, align 4
  store i32 1, ptr %8, align 4
  br label %232

222:                                              ; preds = %211
  %223 = 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 %224 unwind label %190

224:                                              ; preds = %222
  %225 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.11)
          to label %226 unwind label %190

226:                                              ; preds = %224
  %227 = load i64, ptr %18, align 8, !tbaa !19
  %228 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEm(ptr noundef nonnull align 8 dereferenceable(8) %225, i64 noundef %227)
          to label %229 unwind label %190

229:                                              ; preds = %226
  %230 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %228, i8 noundef signext 10)
          to label %231 unwind label %190

231:                                              ; preds = %229
  store i32 0, ptr %3, align 4
  store i32 1, ptr %8, align 4
  br label %232

232:                                              ; preds = %231, %221, %207, %189
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #9
  br label %233

233:                                              ; preds = %232, %157
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #9
  call void @_ZNSt10unique_ptrIA_hSt14default_deleteIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %20) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #9
  br label %236

234:                                              ; preds = %190, %162
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #9
  call void @_ZNSt10unique_ptrIA_hSt14default_deleteIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %20) #9
  br label %235

235:                                              ; preds = %234, %158
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #9
  br label %237

236:                                              ; preds = %233, %125
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #9
  br label %238

237:                                              ; preds = %235, %126
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #9
  br label %239

238:                                              ; preds = %236, %102, %81
  call void @llvm.lifetime.end.p0(i64 1280, ptr %17) #9
  br label %240

239:                                              ; preds = %237, %82
  call void @llvm.lifetime.end.p0(i64 1280, ptr %17) #9
  br label %241

240:                                              ; preds = %238, %55
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #9
  call void @_ZNSt6vectorIhSaIhEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %9) #9
  br label %243

241:                                              ; preds = %239, %60
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #9
  call void @_ZNSt6vectorIhSaIhEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #9
  br label %242

242:                                              ; preds = %241, %56
  call void @llvm.lifetime.end.p0(i64 24, 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 %245

243:                                              ; preds = %240, %34
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #9
  %244 = load i32, ptr %3, align 4
  ret i32 %244

245:                                              ; preds = %242
  %246 = load ptr, ptr %12, align 8
  %247 = load i32, ptr %13, align 4
  %248 = insertvalue { ptr, i32 } poison, ptr %246, 0
  %249 = insertvalue { ptr, i32 } %248, i32 %247, 1
  resume { ptr, i32 } %249
}

; 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

; 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

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

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

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

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #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

declare i32 @qpl_huffman_table_get_serialized_size(ptr noundef, i32, i64, ptr 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 ptr @_ZNKSt10unique_ptrIA_hSt14default_deleteIS0_EE3getEv(ptr noundef nonnull align 8 dereferenceable(8)) #4 align 2

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

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

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

; 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 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 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 = { 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 #7 = { 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 #8 = { nocallback nofree nounwind willreturn memory(argmem: write) }
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, !10, i64 0}
!17 = !{!"_ZTS11allocator_t", !10, i64 0, !10, i64 8}
!18 = !{!17, !10, i64 8}
!19 = !{!20, !20, i64 0}
!20 = !{!"long", !7, i64 0}
!21 = !{!22, !23, i64 0}
!22 = !{!"_ZTS23serialization_options_t", !23, i64 0, !20, i64 8}
!23 = !{!"_ZTS26qpl_serialization_format_e", !7, i64 0}
!24 = !{!22, !20, i64 8}


; 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 }
%struct.qpl_histogram = type { [286 x i32], [2 x i32], [30 x i32], [2 x i32] }
%"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 }

@_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 [10 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [58 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [60 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [47 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [44 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [61 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [18 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 ptr, align 8
  %8 = alloca %struct.qpl_histogram, align 4
  %9 = alloca i64, align 8
  %10 = alloca %"class.std::unique_ptr", align 8
  %11 = alloca ptr, align 8
  %12 = 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)
  %13 = tail call ptr @qpl_get_library_version()
  %14 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %12, ptr noundef %13)
  %15 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %14, 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
  %16 = 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 %16, 0
  br i1 %.not, label %17, label %143

17:                                               ; preds = %2
  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 1000, ptr noundef nonnull align 1 dereferenceable(1) %5, ptr noundef nonnull align 1 dereferenceable(1) %6)
          to label %18 unwind label %28

18:                                               ; preds = %17
  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 8, ptr nonnull %7) #9
  store ptr null, ptr %7, align 8, !tbaa !10
  %19 = load i32, ptr %3, align 4, !tbaa !5
  %20 = invoke i32 @qpl_deflate_huffman_table_create(i32 noundef 0, i32 noundef %19, ptr nonnull @malloc, ptr nonnull @free, ptr noundef nonnull %7)
          to label %21 unwind label %30

21:                                               ; preds = %18
  %.not49 = icmp eq i32 %20, 0
  br i1 %.not49, label %32, label %22

22:                                               ; preds = %21
  %23 = 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.2)
          to label %24 unwind label %30

24:                                               ; preds = %22
  %25 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %23, i32 noundef %20)
          to label %26 unwind label %30

26:                                               ; preds = %24
  %27 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %25, ptr noundef nonnull @.str.3)
          to label %140 unwind label %30

28:                                               ; preds = %17
  %29 = 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 %142

30:                                               ; preds = %26, %24, %22, %18
  %31 = landingpad { ptr, i32 }
          cleanup
  br label %141

32:                                               ; preds = %21
  call void @llvm.lifetime.start.p0(i64 1280, ptr nonnull %8) #9
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 4 dereferenceable(1280) %8, i8 0, i64 1280, i1 false)
  %33 = call noundef ptr @_ZNSt6vectorIhSaIhEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %4) #9
  %34 = load i32, ptr %3, align 4, !tbaa !5
  %35 = invoke i32 @qpl_gather_deflate_statistics(ptr noundef %33, i32 noundef 1000, ptr noundef nonnull %8, i32 noundef 1, i32 noundef %34)
          to label %36 unwind label %41

36:                                               ; preds = %32
  %.not50 = icmp eq i32 %35, 0
  br i1 %.not50, label %43, label %37

37:                                               ; preds = %36
  %38 = 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.2)
          to label %39 unwind label %41

39:                                               ; preds = %37
  %40 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %38, i32 noundef %35)
          to label %.invoke68 unwind label %41

41:                                               ; preds = %.invoke68, %.invoke, %49, %47, %43, %39, %37, %32
  %42 = landingpad { ptr, i32 }
          cleanup
  br label %139

43:                                               ; preds = %36
  %44 = load ptr, ptr %7, align 8, !tbaa !10
  %45 = invoke i32 @qpl_huffman_table_init_with_histogram(ptr noundef %44, ptr noundef nonnull %8)
          to label %46 unwind label %41

46:                                               ; preds = %43
  %.not51 = icmp eq i32 %45, 0
  br i1 %.not51, label %56, label %47

47:                                               ; preds = %46
  %48 = 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.2)
          to label %49 unwind label %41

49:                                               ; preds = %47
  %50 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %48, i32 noundef %45)
          to label %.invoke68 unwind label %41

.invoke68:                                        ; preds = %39, %49
  %51 = phi ptr [ %50, %49 ], [ %40, %39 ]
  %52 = phi ptr [ @.str.5, %49 ], [ @.str.4, %39 ]
  %53 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %51, ptr noundef nonnull %52)
          to label %.invoke unwind label %41

.invoke:                                          ; preds = %.invoke68
  %54 = load ptr, ptr %7, align 8, !tbaa !10
  %55 = invoke i32 @qpl_huffman_table_destroy(ptr noundef %54)
          to label %138 unwind label %41

56:                                               ; preds = %46
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #9
  store i64 0, ptr %9, align 8, !tbaa !12
  %57 = load ptr, ptr %7, align 8, !tbaa !10
  %58 = invoke i32 @qpl_huffman_table_get_serialized_size(ptr noundef %57, i32 1, i64 0, ptr noundef nonnull %9)
          to label %59 unwind label %69

59:                                               ; preds = %56
  %.not52 = icmp eq i32 %58, 0
  br i1 %.not52, label %71, label %60

60:                                               ; preds = %59
  %61 = 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.2)
          to label %62 unwind label %69

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

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

66:                                               ; preds = %64
  %67 = load ptr, ptr %7, align 8, !tbaa !10
  %68 = invoke i32 @qpl_huffman_table_destroy(ptr noundef %67)
          to label %136 unwind label %69

69:                                               ; preds = %66, %64, %62, %60, %56
  %70 = landingpad { ptr, i32 }
          cleanup
  br label %137

71:                                               ; preds = %59
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #9
  %72 = load i64, ptr %9, align 8, !tbaa !12
  invoke void @_ZSt11make_uniqueIA_hENSt8__detail9_MakeUniqIT_E7__arrayEm(ptr dead_on_unwind nonnull writable sret(%"class.std::unique_ptr") align 8 %10, i64 noundef %72)
          to label %73 unwind label %88

73:                                               ; preds = %71
  %74 = call noundef ptr @_ZNKSt10unique_ptrIA_hSt14default_deleteIS0_EE3getEv(ptr noundef nonnull align 8 dereferenceable(8) %10) #9
  %75 = load ptr, ptr %7, align 8, !tbaa !10
  %76 = load i64, ptr %9, align 8, !tbaa !12
  %77 = invoke i32 @qpl_huffman_table_serialize(ptr noundef %75, ptr noundef %74, i64 noundef %76, i32 1, i64 0)
          to label %78 unwind label %90

78:                                               ; preds = %73
  %.not53 = icmp eq i32 %77, 0
  br i1 %.not53, label %92, label %79

79:                                               ; preds = %78
  %80 = 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.2)
          to label %81 unwind label %90

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

83:                                               ; preds = %81
  %84 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %82, ptr noundef nonnull @.str.7)
          to label %85 unwind label %90

85:                                               ; preds = %83
  %86 = load ptr, ptr %7, align 8, !tbaa !10
  %87 = invoke i32 @qpl_huffman_table_destroy(ptr noundef %86)
          to label %133 unwind label %90

88:                                               ; preds = %71
  %89 = landingpad { ptr, i32 }
          cleanup
  br label %135

90:                                               ; preds = %85, %83, %81, %79, %73
  %91 = landingpad { ptr, i32 }
          cleanup
  br label %134

92:                                               ; preds = %78
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #9
  store ptr null, ptr %11, align 8, !tbaa !10
  %93 = load i64, ptr %9, align 8, !tbaa !12
  %94 = invoke i32 @qpl_huffman_table_deserialize(ptr noundef %74, i64 noundef %93, ptr nonnull @malloc, ptr nonnull @free, ptr noundef nonnull %11)
          to label %95 unwind label %105

95:                                               ; preds = %92
  %.not54 = icmp eq i32 %94, 0
  br i1 %.not54, label %107, label %96

96:                                               ; preds = %95
  %97 = 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.2)
          to label %98 unwind label %105

98:                                               ; preds = %96
  %99 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %97, i32 noundef %94)
          to label %100 unwind label %105

100:                                              ; preds = %98
  %101 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %99, ptr noundef nonnull @.str.8)
          to label %102 unwind label %105

102:                                              ; preds = %100
  %103 = load ptr, ptr %7, align 8, !tbaa !10
  %104 = invoke i32 @qpl_huffman_table_destroy(ptr noundef %103)
          to label %132 unwind label %105

105:                                              ; preds = %.invoke67, %.invoke66, %130, %127, %125, %123, %117, %113, %111, %107, %102, %100, %98, %96, %92
  %106 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #9
  br label %134

107:                                              ; preds = %95
  %108 = load ptr, ptr %7, align 8, !tbaa !10
  %109 = invoke i32 @qpl_huffman_table_destroy(ptr noundef %108)
          to label %110 unwind label %105

110:                                              ; preds = %107
  %.not55 = icmp eq i32 %109, 0
  br i1 %.not55, label %113, label %111

111:                                              ; preds = %110
  %112 = 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.2)
          to label %.invoke67 unwind label %105

113:                                              ; preds = %110
  %114 = load ptr, ptr %11, align 8, !tbaa !10
  %115 = invoke i32 @qpl_huffman_table_destroy(ptr noundef %114)
          to label %116 unwind label %105

116:                                              ; preds = %113
  %.not56 = icmp eq i32 %115, 0
  br i1 %.not56, label %123, label %117

117:                                              ; preds = %116
  %118 = 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.2)
          to label %.invoke67 unwind label %105

.invoke67:                                        ; preds = %117, %111
  %119 = phi ptr [ %112, %111 ], [ %118, %117 ]
  %120 = phi i32 [ %109, %111 ], [ %115, %117 ]
  %121 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %119, i32 noundef %120)
          to label %.invoke66 unwind label %105

.invoke66:                                        ; preds = %.invoke67
  %122 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %121, ptr noundef nonnull @.str.9)
          to label %132 unwind label %105

123:                                              ; preds = %116
  %124 = 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 %125 unwind label %105

125:                                              ; preds = %123
  %126 = 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.11)
          to label %127 unwind label %105

127:                                              ; preds = %125
  %128 = load i64, ptr %9, align 8, !tbaa !12
  %129 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEm(ptr noundef nonnull align 8 dereferenceable(8) %126, i64 noundef %128)
          to label %130 unwind label %105

130:                                              ; preds = %127
  %131 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %129, i8 noundef signext 10)
          to label %132 unwind label %105

132:                                              ; preds = %.invoke66, %130, %102
  %.0 = phi i32 [ 1, %102 ], [ 0, %130 ], [ 1, %.invoke66 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #9
  br label %133

133:                                              ; preds = %85, %132
  %.1 = phi i32 [ %.0, %132 ], [ 1, %85 ]
  call void @_ZNSt10unique_ptrIA_hSt14default_deleteIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %10) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #9
  br label %136

134:                                              ; preds = %105, %90
  %.pn = phi { ptr, i32 } [ %91, %90 ], [ %106, %105 ]
  call void @_ZNSt10unique_ptrIA_hSt14default_deleteIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %10) #9
  br label %135

135:                                              ; preds = %134, %88
  %.pn.pn = phi { ptr, i32 } [ %.pn, %134 ], [ %89, %88 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #9
  br label %137

136:                                              ; preds = %66, %133
  %.2 = phi i32 [ %.1, %133 ], [ 1, %66 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #9
  br label %138

137:                                              ; preds = %135, %69
  %.pn59 = phi { ptr, i32 } [ %70, %69 ], [ %.pn.pn, %135 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #9
  br label %139

138:                                              ; preds = %.invoke, %136
  %.3 = phi i32 [ %.2, %136 ], [ 1, %.invoke ]
  call void @llvm.lifetime.end.p0(i64 1280, ptr nonnull %8) #9
  br label %140

139:                                              ; preds = %137, %41
  %.pn61 = phi { ptr, i32 } [ %42, %41 ], [ %.pn59, %137 ]
  call void @llvm.lifetime.end.p0(i64 1280, ptr nonnull %8) #9
  br label %141

140:                                              ; preds = %26, %138
  %.4 = phi i32 [ %.3, %138 ], [ 1, %26 ]
  call void @llvm.lifetime.end.p0(i64 8, 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 %143

141:                                              ; preds = %139, %30
  %.pn63 = phi { ptr, i32 } [ %31, %30 ], [ %.pn61, %139 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #9
  call void @_ZNSt6vectorIhSaIhEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #9
  br label %142

142:                                              ; preds = %141, %28
  %.pn63.pn = phi { ptr, i32 } [ %.pn63, %141 ], [ %29, %28 ]
  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 } %.pn63.pn

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

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) 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

; 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

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

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

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

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #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

declare i32 @qpl_huffman_table_get_serialized_size(ptr noundef, i32, i64, ptr 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 ptr @_ZNKSt10unique_ptrIA_hSt14default_deleteIS0_EE3getEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #4 align 2

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

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

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

; 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 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 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 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 #7 = { 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 #8 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
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 = !{!"any pointer", !7, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"long", !7, i64 0}


; Effective O3 passes: GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,SROAPass,SimplifyCFGPass,TailCallElimPass