; LLVM IR from giacomo-ascari/dichotomic-compression :: src/dc/dc-compressor/dc-compressor.ll (ZN13dc_compressor8compressEv)

; 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::chrono::time_point" = type { %"class.std::chrono::duration" }
%"class.std::chrono::duration" = type { i64 }
%struct._dc_corners = type { i64, i64, i64, i64 }
%"class.std::chrono::duration.6" = type { i64 }
%class.dc = type { i8, i64, i64, i64, %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", i64, %class.dc_pixel_matrix, %"class.std::map", %"class.std::vector" }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%class.dc_pixel_matrix = type { ptr, i64, i64 }
%"class.std::map" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<unsigned long, std::pair<const unsigned long, _dc_heavy_sector>, std::_Select1st<std::pair<const unsigned long, _dc_heavy_sector>>, std::less<unsigned long>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<unsigned long, std::pair<const unsigned long, _dc_heavy_sector>, std::_Select1st<std::pair<const unsigned long, _dc_heavy_sector>>, std::less<unsigned long>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<_dc_light_sector, std::allocator<_dc_light_sector>>::_Vector_impl" }
%"struct.std::_Vector_base<_dc_light_sector, std::allocator<_dc_light_sector>>::_Vector_impl" = type { %"struct.std::_Vector_base<_dc_light_sector, std::allocator<_dc_light_sector>>::_Vector_impl_data" }
%"struct.std::_Vector_base<_dc_light_sector, std::allocator<_dc_light_sector>>::_Vector_impl_data" = type { ptr, ptr, ptr }

@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str.2 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [25 x i8], align 1
@_ZSt4cerr = external global %"class.std::basic_ostream", align 8
@.str.12 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [3 x i8], align 1

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN13dc_compressor8compressEv(ptr noundef nonnull align 8 dereferenceable(204) %0) #1 align 2 {
  %2 = alloca ptr, align 8
  %3 = alloca %"class.std::chrono::time_point", align 8
  %4 = alloca %struct._dc_corners, align 8
  %5 = alloca %struct._dc_corners, align 8
  %6 = alloca %struct._dc_corners, align 8
  %7 = alloca %struct._dc_corners, align 8
  %8 = alloca i64, align 8
  %9 = alloca i64, align 8
  %10 = alloca i64, align 8
  %11 = alloca %"class.std::chrono::time_point", align 8
  %12 = alloca %"class.std::chrono::duration.6", align 8
  %13 = alloca %"class.std::chrono::duration", align 8
  store ptr %0, ptr %2, align 8, !tbaa !5
  %14 = load ptr, ptr %2, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #5
  %15 = call i64 @_ZNSt6chrono3_V212steady_clock3nowEv() #5
  %16 = getelementptr inbounds %"class.std::chrono::time_point", ptr %3, i32 0, i32 0
  %17 = getelementptr inbounds %"class.std::chrono::duration", ptr %16, i32 0, i32 0
  store i64 %15, ptr %17, align 8
  %18 = getelementptr inbounds %class.dc, ptr %14, i32 0, i32 0
  %19 = load i8, ptr %18, align 8, !tbaa !9, !range !28, !noundef !29
  %20 = trunc i8 %19 to i1
  br i1 %20, label %21, label %26

21:                                               ; preds = %1
  %22 = 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)
  %23 = getelementptr inbounds %class.dc, ptr %14, i32 0, i32 4
  %24 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(8) %22, ptr noundef nonnull align 8 dereferenceable(32) %23)
  %25 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %24, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  br label %26

26:                                               ; preds = %21, %1
  %27 = getelementptr inbounds %class.dc, ptr %14, i32 0, i32 0
  %28 = load i8, ptr %27, align 8, !tbaa !9, !range !28, !noundef !29
  %29 = trunc i8 %28 to i1
  br i1 %29, label %30, label %35

30:                                               ; preds = %26
  %31 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.3)
  %32 = getelementptr inbounds %class.dc, ptr %14, i32 0, i32 5
  %33 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(8) %31, ptr noundef nonnull align 8 dereferenceable(32) %32)
  %34 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %33, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  br label %35

35:                                               ; preds = %30, %26
  %36 = getelementptr inbounds %class.dc, ptr %14, i32 0, i32 0
  %37 = load i8, ptr %36, align 8, !tbaa !9, !range !28, !noundef !29
  %38 = trunc i8 %37 to i1
  br i1 %38, label %39, label %49

39:                                               ; preds = %35
  %40 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.4)
  %41 = getelementptr inbounds %class.dc, ptr %14, i32 0, i32 3
  %42 = load i64, ptr %41, align 8, !tbaa !30
  %43 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEm(ptr noundef nonnull align 8 dereferenceable(8) %40, i64 noundef %42)
  %44 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %43, ptr noundef @.str.5)
  %45 = getelementptr inbounds %class.dc, ptr %14, i32 0, i32 2
  %46 = load i64, ptr %45, align 8, !tbaa !31
  %47 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEm(ptr noundef nonnull align 8 dereferenceable(8) %44, i64 noundef %46)
  %48 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %47, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  br label %49

49:                                               ; preds = %39, %35
  %50 = getelementptr inbounds %class.dc, ptr %14, i32 0, i32 0
  %51 = load i8, ptr %50, align 8, !tbaa !9, !range !28, !noundef !29
  %52 = trunc i8 %51 to i1
  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.6)
  br label %55

55:                                               ; preds = %53, %49
  %56 = getelementptr inbounds %class.dc, ptr %14, i32 0, i32 2
  %57 = load i64, ptr %56, align 8, !tbaa !31
  switch i64 %57, label %60 [
    i64 1, label %58
    i64 2, label %59
  ]

58:                                               ; preds = %55
  call void @_ZN13dc_compressor7_unpackEb(ptr noundef nonnull align 8 dereferenceable(204) %14, i1 noundef zeroext false)
  br label %61

59:                                               ; preds = %55
  call void @_ZN13dc_compressor7_unpackEb(ptr noundef nonnull align 8 dereferenceable(204) %14, i1 noundef zeroext true)
  br label %61

60:                                               ; preds = %55
  br label %61

61:                                               ; preds = %60, %59, %58
  %62 = getelementptr inbounds %class.dc, ptr %14, i32 0, i32 0
  %63 = load i8, ptr %62, align 8, !tbaa !9, !range !28, !noundef !29
  %64 = trunc i8 %63 to i1
  br i1 %64, label %65, label %81

65:                                               ; preds = %61
  %66 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.7)
  %67 = getelementptr inbounds %class.dc, ptr %14, i32 0, i32 7
  %68 = call noundef i64 @_ZN15dc_pixel_matrix9get_widthEv(ptr noundef nonnull align 8 dereferenceable(24) %67)
  %69 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEm(ptr noundef nonnull align 8 dereferenceable(8) %66, i64 noundef %68)
  %70 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %69, ptr noundef @.str.8)
  %71 = getelementptr inbounds %class.dc, ptr %14, i32 0, i32 7
  %72 = call noundef i64 @_ZN15dc_pixel_matrix10get_heightEv(ptr noundef nonnull align 8 dereferenceable(24) %71)
  %73 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEm(ptr noundef nonnull align 8 dereferenceable(8) %70, i64 noundef %72)
  %74 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %73, ptr noundef @.str.9)
  %75 = getelementptr inbounds %class.dc, ptr %14, i32 0, i32 1
  %76 = load i64, ptr %75, align 8, !tbaa !32
  %77 = udiv i64 %76, 1000
  %78 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEm(ptr noundef nonnull align 8 dereferenceable(8) %74, i64 noundef %77)
  %79 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %78, ptr noundef @.str.10)
  %80 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %79, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  br label %81

81:                                               ; preds = %65, %61
  %82 = getelementptr inbounds %class.dc, ptr %14, i32 0, i32 0
  %83 = load i8, ptr %82, align 8, !tbaa !9, !range !28, !noundef !29
  %84 = trunc i8 %83 to i1
  br i1 %84, label %85, label %87

85:                                               ; preds = %81
  %86 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.11)
  br label %87

87:                                               ; preds = %85, %81
  %88 = getelementptr inbounds %class.dc, ptr %14, i32 0, i32 2
  %89 = load i64, ptr %88, align 8, !tbaa !31
  switch i64 %89, label %124 [
    i64 1, label %90
    i64 2, label %99
  ]

90:                                               ; preds = %87
  %91 = getelementptr inbounds %struct._dc_corners, ptr %4, i32 0, i32 0
  store i64 0, ptr %91, align 8, !tbaa !33
  %92 = getelementptr inbounds %struct._dc_corners, ptr %4, i32 0, i32 1
  store i64 0, ptr %92, align 8, !tbaa !35
  %93 = getelementptr inbounds %struct._dc_corners, ptr %4, i32 0, i32 2
  %94 = getelementptr inbounds %class.dc, ptr %14, i32 0, i32 7
  %95 = call noundef i64 @_ZN15dc_pixel_matrix9get_widthEv(ptr noundef nonnull align 8 dereferenceable(24) %94)
  store i64 %95, ptr %93, align 8, !tbaa !36
  %96 = getelementptr inbounds %struct._dc_corners, ptr %4, i32 0, i32 3
  %97 = getelementptr inbounds %class.dc, ptr %14, i32 0, i32 7
  %98 = call noundef i64 @_ZN15dc_pixel_matrix10get_heightEv(ptr noundef nonnull align 8 dereferenceable(24) %97)
  store i64 %98, ptr %96, align 8, !tbaa !37
  call void @_ZN13dc_compressor10_sectorizeE11_dc_cornersm11dc_channels(ptr noundef nonnull align 8 dereferenceable(204) %14, ptr noundef byval(%struct._dc_corners) align 8 %4, i64 noundef 0, i32 noundef 3)
  br label %127

99:                                               ; preds = %87
  %100 = getelementptr inbounds %struct._dc_corners, ptr %5, i32 0, i32 0
  store i64 0, ptr %100, align 8, !tbaa !33
  %101 = getelementptr inbounds %struct._dc_corners, ptr %5, i32 0, i32 1
  store i64 0, ptr %101, align 8, !tbaa !35
  %102 = getelementptr inbounds %struct._dc_corners, ptr %5, i32 0, i32 2
  %103 = getelementptr inbounds %class.dc, ptr %14, i32 0, i32 7
  %104 = call noundef i64 @_ZN15dc_pixel_matrix9get_widthEv(ptr noundef nonnull align 8 dereferenceable(24) %103)
  store i64 %104, ptr %102, align 8, !tbaa !36
  %105 = getelementptr inbounds %struct._dc_corners, ptr %5, i32 0, i32 3
  %106 = getelementptr inbounds %class.dc, ptr %14, i32 0, i32 7
  %107 = call noundef i64 @_ZN15dc_pixel_matrix10get_heightEv(ptr noundef nonnull align 8 dereferenceable(24) %106)
  store i64 %107, ptr %105, align 8, !tbaa !37
  call void @_ZN13dc_compressor10_sectorizeE11_dc_cornersm11dc_channels(ptr noundef nonnull align 8 dereferenceable(204) %14, ptr noundef byval(%struct._dc_corners) align 8 %5, i64 noundef 0, i32 noundef 0)
  %108 = getelementptr inbounds %struct._dc_corners, ptr %6, i32 0, i32 0
  store i64 0, ptr %108, align 8, !tbaa !33
  %109 = getelementptr inbounds %struct._dc_corners, ptr %6, i32 0, i32 1
  store i64 0, ptr %109, align 8, !tbaa !35
  %110 = getelementptr inbounds %struct._dc_corners, ptr %6, i32 0, i32 2
  %111 = getelementptr inbounds %class.dc, ptr %14, i32 0, i32 7
  %112 = call noundef i64 @_ZN15dc_pixel_matrix9get_widthEv(ptr noundef nonnull align 8 dereferenceable(24) %111)
  store i64 %112, ptr %110, align 8, !tbaa !36
  %113 = getelementptr inbounds %struct._dc_corners, ptr %6, i32 0, i32 3
  %114 = getelementptr inbounds %class.dc, ptr %14, i32 0, i32 7
  %115 = call noundef i64 @_ZN15dc_pixel_matrix10get_heightEv(ptr noundef nonnull align 8 dereferenceable(24) %114)
  store i64 %115, ptr %113, align 8, !tbaa !37
  call void @_ZN13dc_compressor10_sectorizeE11_dc_cornersm11dc_channels(ptr noundef nonnull align 8 dereferenceable(204) %14, ptr noundef byval(%struct._dc_corners) align 8 %6, i64 noundef 0, i32 noundef 1)
  %116 = getelementptr inbounds %struct._dc_corners, ptr %7, i32 0, i32 0
  store i64 0, ptr %116, align 8, !tbaa !33
  %117 = getelementptr inbounds %struct._dc_corners, ptr %7, i32 0, i32 1
  store i64 0, ptr %117, align 8, !tbaa !35
  %118 = getelementptr inbounds %struct._dc_corners, ptr %7, i32 0, i32 2
  %119 = getelementptr inbounds %class.dc, ptr %14, i32 0, i32 7
  %120 = call noundef i64 @_ZN15dc_pixel_matrix9get_widthEv(ptr noundef nonnull align 8 dereferenceable(24) %119)
  store i64 %120, ptr %118, align 8, !tbaa !36
  %121 = getelementptr inbounds %struct._dc_corners, ptr %7, i32 0, i32 3
  %122 = getelementptr inbounds %class.dc, ptr %14, i32 0, i32 7
  %123 = call noundef i64 @_ZN15dc_pixel_matrix10get_heightEv(ptr noundef nonnull align 8 dereferenceable(24) %122)
  store i64 %123, ptr %121, align 8, !tbaa !37
  call void @_ZN13dc_compressor10_sectorizeE11_dc_cornersm11dc_channels(ptr noundef nonnull align 8 dereferenceable(204) %14, ptr noundef byval(%struct._dc_corners) align 8 %7, i64 noundef 0, i32 noundef 2)
  br label %127

124:                                              ; preds = %87
  %125 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cerr, ptr noundef @.str.12)
  %126 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %125, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  br label %127

127:                                              ; preds = %124, %99, %90
  %128 = getelementptr inbounds %class.dc, ptr %14, i32 0, i32 0
  %129 = load i8, ptr %128, align 8, !tbaa !9, !range !28, !noundef !29
  %130 = trunc i8 %129 to i1
  br i1 %130, label %131, label %138

131:                                              ; preds = %127
  %132 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.7)
  %133 = getelementptr inbounds %class.dc, ptr %14, i32 0, i32 6
  %134 = load i64, ptr %133, align 8, !tbaa !38
  %135 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEm(ptr noundef nonnull align 8 dereferenceable(8) %132, i64 noundef %134)
  %136 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %135, ptr noundef @.str.13)
  %137 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %136, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  br label %138

138:                                              ; preds = %131, %127
  %139 = getelementptr inbounds %class.dc, ptr %14, i32 0, i32 0
  %140 = load i8, ptr %139, align 8, !tbaa !9, !range !28, !noundef !29
  %141 = trunc i8 %140 to i1
  br i1 %141, label %142, label %144

142:                                              ; preds = %138
  %143 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.14)
  br label %144

144:                                              ; preds = %142, %138
  %145 = getelementptr inbounds %class.dc, ptr %14, i32 0, i32 2
  %146 = load i64, ptr %145, align 8, !tbaa !31
  switch i64 %146, label %149 [
    i64 1, label %147
    i64 2, label %148
  ]

147:                                              ; preds = %144
  call void @_ZN13dc_compressor10_serializeEb(ptr noundef nonnull align 8 dereferenceable(204) %14, i1 noundef zeroext false)
  br label %150

148:                                              ; preds = %144
  call void @_ZN13dc_compressor10_serializeEb(ptr noundef nonnull align 8 dereferenceable(204) %14, i1 noundef zeroext true)
  br label %150

149:                                              ; preds = %144
  br label %150

150:                                              ; preds = %149, %148, %147
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #5
  %151 = getelementptr inbounds %class.dc, ptr %14, i32 0, i32 0
  %152 = load i8, ptr %151, align 8, !tbaa !9, !range !28, !noundef !29
  %153 = trunc i8 %152 to i1
  br i1 %153, label %154, label %168

154:                                              ; preds = %150
  %155 = getelementptr inbounds %class.dc, ptr %14, i32 0, i32 2
  %156 = load i64, ptr %155, align 8, !tbaa !31
  %157 = icmp eq i64 %156, 1
  br i1 %157, label %158, label %159

158:                                              ; preds = %154
  br label %165

159:                                              ; preds = %154
  %160 = getelementptr inbounds %class.dc, ptr %14, i32 0, i32 2
  %161 = load i64, ptr %160, align 8, !tbaa !31
  %162 = icmp eq i64 %161, 2
  %163 = zext i1 %162 to i64
  %164 = select i1 %162, i32 2, i32 0
  br label %165

165:                                              ; preds = %159, %158
  %166 = phi i32 [ 4, %158 ], [ %164, %159 ]
  %167 = sext i32 %166 to i64
  store i64 %167, ptr %9, align 8, !tbaa !39
  br label %168

168:                                              ; preds = %165, %150
  %169 = getelementptr inbounds %class.dc, ptr %14, i32 0, i32 0
  %170 = load i8, ptr %169, align 8, !tbaa !9, !range !28, !noundef !29
  %171 = trunc i8 %170 to i1
  br i1 %171, label %172, label %178

172:                                              ; preds = %168
  %173 = getelementptr inbounds %class.dc, ptr %14, i32 0, i32 6
  %174 = load i64, ptr %173, align 8, !tbaa !38
  %175 = load i64, ptr %9, align 8, !tbaa !39
  %176 = mul i64 %174, %175
  %177 = add i64 %176, 10
  store i64 %177, ptr %8, align 8, !tbaa !39
  br label %178

178:                                              ; preds = %172, %168
  %179 = getelementptr inbounds %class.dc, ptr %14, i32 0, i32 0
  %180 = load i8, ptr %179, align 8, !tbaa !9, !range !28, !noundef !29
  %181 = trunc i8 %180 to i1
  br i1 %181, label %182, label %189

182:                                              ; preds = %178
  %183 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.7)
  %184 = load i64, ptr %8, align 8, !tbaa !39
  %185 = udiv i64 %184, 1000
  %186 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEm(ptr noundef nonnull align 8 dereferenceable(8) %183, i64 noundef %185)
  %187 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %186, ptr noundef @.str.15)
  %188 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %187, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  br label %189

189:                                              ; preds = %182, %178
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #5
  %190 = getelementptr inbounds %class.dc, ptr %14, i32 0, i32 0
  %191 = load i8, ptr %190, align 8, !tbaa !9, !range !28, !noundef !29
  %192 = trunc i8 %191 to i1
  br i1 %192, label %193, label %199

193:                                              ; preds = %189
  %194 = load i64, ptr %8, align 8, !tbaa !39
  %195 = mul i64 %194, 100
  %196 = getelementptr inbounds %class.dc, ptr %14, i32 0, i32 1
  %197 = load i64, ptr %196, align 8, !tbaa !32
  %198 = udiv i64 %195, %197
  store i64 %198, ptr %10, align 8, !tbaa !39
  br label %199

199:                                              ; preds = %193, %189
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #5
  %200 = call i64 @_ZNSt6chrono3_V212steady_clock3nowEv() #5
  %201 = getelementptr inbounds %"class.std::chrono::time_point", ptr %11, i32 0, i32 0
  %202 = getelementptr inbounds %"class.std::chrono::duration", ptr %201, i32 0, i32 0
  store i64 %200, ptr %202, align 8
  %203 = getelementptr inbounds %class.dc, ptr %14, i32 0, i32 0
  %204 = load i8, ptr %203, align 8, !tbaa !9, !range !28, !noundef !29
  %205 = trunc i8 %204 to i1
  br i1 %205, label %206, label %218

206:                                              ; preds = %199
  %207 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.16)
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #5
  %208 = call i64 @_ZNSt6chronomiINS_3_V212steady_clockENS_8durationIlSt5ratioILl1ELl1000000000EEEES6_EENSt11common_typeIJT0_T1_EE4typeERKNS_10time_pointIT_S8_EERKNSC_ISD_S9_EE(ptr noundef nonnull align 8 dereferenceable(8) %11, ptr noundef nonnull align 8 dereferenceable(8) %3)
  %209 = getelementptr inbounds %"class.std::chrono::duration", ptr %13, i32 0, i32 0
  store i64 %208, ptr %209, align 8
  %210 = call i64 @_ZNSt6chrono13duration_castINS_8durationIlSt5ratioILl1ELl1000EEEElS2_ILl1ELl1000000000EEEENSt9enable_ifIXsr13__is_durationIT_EE5valueES7_E4typeERKNS1_IT0_T1_EE(ptr noundef nonnull align 8 dereferenceable(8) %13)
  %211 = getelementptr inbounds %"class.std::chrono::duration.6", ptr %12, i32 0, i32 0
  store i64 %210, ptr %211, align 8
  %212 = call noundef i64 @_ZNKSt6chrono8durationIlSt5ratioILl1ELl1000EEE5countEv(ptr noundef nonnull align 8 dereferenceable(8) %12)
  %213 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEl(ptr noundef nonnull align 8 dereferenceable(8) %207, i64 noundef %212)
  %214 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %213, ptr noundef @.str.17)
  %215 = load i64, ptr %10, align 8, !tbaa !39
  %216 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEm(ptr noundef nonnull align 8 dereferenceable(8) %214, i64 noundef %215)
  %217 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %216, ptr noundef @.str.18)
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #5
  br label %218

218:                                              ; preds = %206, %199
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #5
  ret void
}

; Function Attrs: nounwind
declare i64 @_ZNSt6chrono3_V212steady_clock3nowEv() #2

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(32)) #3

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_(ptr noundef nonnull align 8 dereferenceable(8)) #3

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN13dc_compressor7_unpackEb(ptr noundef nonnull align 8 dereferenceable(204), i1 noundef zeroext) #1 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN13dc_compressor10_sectorizeE11_dc_cornersm11dc_channels(ptr noundef nonnull align 8 dereferenceable(204), ptr noundef byval(%struct._dc_corners) align 8, i64 noundef, i32 noundef) #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN13dc_compressor10_serializeEb(ptr noundef nonnull align 8 dereferenceable(204), i1 noundef zeroext) #1 align 2

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

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

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

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"_ZTS2dc", !11, i64 0, !12, i64 8, !12, i64 16, !12, i64 24, !13, i64 32, !13, i64 64, !12, i64 96, !15, i64 104, !16, i64 128, !24, i64 176}
!11 = !{!"bool", !7, i64 0}
!12 = !{!"long", !7, i64 0}
!13 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !14, i64 0, !12, i64 8, !7, i64 16}
!14 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!15 = !{!"_ZTS15dc_pixel_matrix", !6, i64 0, !12, i64 8, !12, i64 16}
!16 = !{!"_ZTSSt3mapIm16_dc_heavy_sectorSt4lessImESaISt4pairIKmS0_EEE", !17, i64 0}
!17 = !{!"_ZTSSt8_Rb_treeImSt4pairIKm16_dc_heavy_sectorESt10_Select1stIS3_ESt4lessImESaIS3_EE", !18, i64 0}
!18 = !{!"_ZTSNSt8_Rb_treeImSt4pairIKm16_dc_heavy_sectorESt10_Select1stIS3_ESt4lessImESaIS3_EE13_Rb_tree_implIS7_Lb1EEE", !19, i64 0, !21, i64 8}
!19 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessImEE", !20, i64 0}
!20 = !{!"_ZTSSt4lessImE"}
!21 = !{!"_ZTSSt15_Rb_tree_header", !22, i64 0, !12, i64 32}
!22 = !{!"_ZTSSt18_Rb_tree_node_base", !23, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!23 = !{!"_ZTSSt14_Rb_tree_color", !7, i64 0}
!24 = !{!"_ZTSSt6vectorI16_dc_light_sectorSaIS0_EE", !25, i64 0}
!25 = !{!"_ZTSSt12_Vector_baseI16_dc_light_sectorSaIS0_EE", !26, i64 0}
!26 = !{!"_ZTSNSt12_Vector_baseI16_dc_light_sectorSaIS0_EE12_Vector_implE", !27, i64 0}
!27 = !{!"_ZTSNSt12_Vector_baseI16_dc_light_sectorSaIS0_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!28 = !{i8 0, i8 2}
!29 = !{}
!30 = !{!10, !12, i64 24}
!31 = !{!10, !12, i64 16}
!32 = !{!10, !12, i64 8}
!33 = !{!34, !12, i64 0}
!34 = !{!"_ZTS11_dc_corners", !12, i64 0, !12, i64 8, !12, i64 16, !12, i64 24}
!35 = !{!34, !12, i64 8}
!36 = !{!34, !12, i64 16}
!37 = !{!34, !12, i64 24}
!38 = !{!10, !12, i64 96}
!39 = !{!12, !12, i64 0}


; 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::chrono::time_point" = type { %"class.std::chrono::duration" }
%"class.std::chrono::duration" = type { i64 }
%struct._dc_corners = type { i64, i64, i64, i64 }
%"class.std::chrono::duration.6" = type { i64 }

@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str.2 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [25 x i8], align 1
@_ZSt4cerr = external global %"class.std::basic_ostream", align 8
@.str.12 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [3 x i8], align 1

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN13dc_compressor8compressEv(ptr noundef nonnull align 8 dereferenceable(204) %0) local_unnamed_addr #1 align 2 {
  %2 = alloca %"class.std::chrono::time_point", align 8
  %3 = alloca %struct._dc_corners, align 8
  %4 = alloca %struct._dc_corners, align 8
  %5 = alloca %struct._dc_corners, align 8
  %6 = alloca %struct._dc_corners, align 8
  %7 = alloca %"class.std::chrono::time_point", align 8
  %8 = alloca %"class.std::chrono::duration.6", align 8
  %9 = alloca %"class.std::chrono::duration", align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #6
  %10 = tail call i64 @_ZNSt6chrono3_V212steady_clock3nowEv() #6
  store i64 %10, ptr %2, align 8
  %11 = load i8, ptr %0, align 8, !tbaa !5, !range !27, !noundef !28
  %12 = trunc nuw i8 %11 to i1
  br i1 %12, label %13, label %18

13:                                               ; preds = %1
  %14 = 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.2)
  %15 = getelementptr inbounds i8, ptr %0, i64 32
  %16 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(8) %14, ptr noundef nonnull align 8 dereferenceable(32) %15)
  %17 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %16, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %.pre = load i8, ptr %0, align 8, !tbaa !5, !range !27
  br label %18

18:                                               ; preds = %13, %1
  %19 = phi i8 [ %.pre, %13 ], [ %11, %1 ]
  %20 = trunc nuw i8 %19 to i1
  br i1 %20, label %21, label %26

21:                                               ; preds = %18
  %22 = 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.3)
  %23 = getelementptr inbounds i8, ptr %0, i64 64
  %24 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(8) %22, ptr noundef nonnull align 8 dereferenceable(32) %23)
  %25 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %24, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %.pre11 = load i8, ptr %0, align 8, !tbaa !5, !range !27
  br label %26

26:                                               ; preds = %21, %18
  %27 = phi i8 [ %.pre11, %21 ], [ %19, %18 ]
  %28 = trunc nuw i8 %27 to i1
  br i1 %28, label %29, label %39

29:                                               ; preds = %26
  %30 = 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.4)
  %31 = getelementptr inbounds i8, ptr %0, i64 24
  %32 = load i64, ptr %31, align 8, !tbaa !29
  %33 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEm(ptr noundef nonnull align 8 dereferenceable(8) %30, i64 noundef %32)
  %34 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %33, ptr noundef nonnull @.str.5)
  %35 = getelementptr inbounds i8, ptr %0, i64 16
  %36 = load i64, ptr %35, align 8, !tbaa !30
  %37 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEm(ptr noundef nonnull align 8 dereferenceable(8) %34, i64 noundef %36)
  %38 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %37, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %.pre12 = load i8, ptr %0, align 8, !tbaa !5, !range !27
  br label %39

39:                                               ; preds = %29, %26
  %40 = phi i8 [ %.pre12, %29 ], [ %27, %26 ]
  %41 = trunc nuw i8 %40 to i1
  br i1 %41, label %42, label %44

42:                                               ; preds = %39
  %43 = 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.6)
  br label %44

44:                                               ; preds = %42, %39
  %45 = getelementptr inbounds i8, ptr %0, i64 16
  %46 = load i64, ptr %45, align 8, !tbaa !30
  switch i64 %46, label %48 [
    i64 1, label %.sink.split
    i64 2, label %47
  ]

47:                                               ; preds = %44
  br label %.sink.split

.sink.split:                                      ; preds = %44, %47
  %.sink = phi i1 [ true, %47 ], [ false, %44 ]
  tail call void @_ZN13dc_compressor7_unpackEb(ptr noundef nonnull align 8 dereferenceable(204) %0, i1 noundef zeroext %.sink)
  br label %48

48:                                               ; preds = %.sink.split, %44
  %49 = load i8, ptr %0, align 8, !tbaa !5, !range !27, !noundef !28
  %50 = trunc nuw i8 %49 to i1
  br i1 %50, label %51, label %66

51:                                               ; preds = %48
  %52 = 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.7)
  %53 = getelementptr inbounds i8, ptr %0, i64 104
  %54 = tail call noundef i64 @_ZN15dc_pixel_matrix9get_widthEv(ptr noundef nonnull align 8 dereferenceable(24) %53)
  %55 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEm(ptr noundef nonnull align 8 dereferenceable(8) %52, i64 noundef %54)
  %56 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %55, ptr noundef nonnull @.str.8)
  %57 = tail call noundef i64 @_ZN15dc_pixel_matrix10get_heightEv(ptr noundef nonnull align 8 dereferenceable(24) %53)
  %58 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEm(ptr noundef nonnull align 8 dereferenceable(8) %56, i64 noundef %57)
  %59 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %58, ptr noundef nonnull @.str.9)
  %60 = getelementptr inbounds i8, ptr %0, i64 8
  %61 = load i64, ptr %60, align 8, !tbaa !31
  %62 = udiv i64 %61, 1000
  %63 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEm(ptr noundef nonnull align 8 dereferenceable(8) %59, i64 noundef %62)
  %64 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %63, ptr noundef nonnull @.str.10)
  %65 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %64, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %.pre13 = load i8, ptr %0, align 8, !tbaa !5, !range !27
  br label %66

66:                                               ; preds = %51, %48
  %67 = phi i8 [ %.pre13, %51 ], [ %49, %48 ]
  %68 = trunc nuw i8 %67 to i1
  br i1 %68, label %69, label %71

69:                                               ; preds = %66
  %70 = 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.11)
  br label %71

71:                                               ; preds = %69, %66
  %72 = load i64, ptr %45, align 8, !tbaa !30
  switch i64 %72, label %93 [
    i64 1, label %73
    i64 2, label %79
  ]

73:                                               ; preds = %71
  %74 = getelementptr inbounds i8, ptr %3, i64 16
  %75 = getelementptr inbounds i8, ptr %0, i64 104
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %3, i8 0, i64 16, i1 false)
  %76 = tail call noundef i64 @_ZN15dc_pixel_matrix9get_widthEv(ptr noundef nonnull align 8 dereferenceable(24) %75)
  store i64 %76, ptr %74, align 8, !tbaa !32
  %77 = getelementptr inbounds i8, ptr %3, i64 24
  %78 = tail call noundef i64 @_ZN15dc_pixel_matrix10get_heightEv(ptr noundef nonnull align 8 dereferenceable(24) %75)
  store i64 %78, ptr %77, align 8, !tbaa !34
  tail call void @_ZN13dc_compressor10_sectorizeE11_dc_cornersm11dc_channels(ptr noundef nonnull align 8 dereferenceable(204) %0, ptr noundef nonnull byval(%struct._dc_corners) align 8 %3, i64 noundef 0, i32 noundef 3)
  br label %96

79:                                               ; preds = %71
  %80 = getelementptr inbounds i8, ptr %4, i64 16
  %81 = getelementptr inbounds i8, ptr %0, i64 104
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %4, i8 0, i64 16, i1 false)
  %82 = tail call noundef i64 @_ZN15dc_pixel_matrix9get_widthEv(ptr noundef nonnull align 8 dereferenceable(24) %81)
  store i64 %82, ptr %80, align 8, !tbaa !32
  %83 = getelementptr inbounds i8, ptr %4, i64 24
  %84 = tail call noundef i64 @_ZN15dc_pixel_matrix10get_heightEv(ptr noundef nonnull align 8 dereferenceable(24) %81)
  store i64 %84, ptr %83, align 8, !tbaa !34
  tail call void @_ZN13dc_compressor10_sectorizeE11_dc_cornersm11dc_channels(ptr noundef nonnull align 8 dereferenceable(204) %0, ptr noundef nonnull byval(%struct._dc_corners) align 8 %4, i64 noundef 0, i32 noundef 0)
  %85 = getelementptr inbounds i8, ptr %5, i64 16
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %5, i8 0, i64 16, i1 false)
  %86 = tail call noundef i64 @_ZN15dc_pixel_matrix9get_widthEv(ptr noundef nonnull align 8 dereferenceable(24) %81)
  store i64 %86, ptr %85, align 8, !tbaa !32
  %87 = getelementptr inbounds i8, ptr %5, i64 24
  %88 = tail call noundef i64 @_ZN15dc_pixel_matrix10get_heightEv(ptr noundef nonnull align 8 dereferenceable(24) %81)
  store i64 %88, ptr %87, align 8, !tbaa !34
  tail call void @_ZN13dc_compressor10_sectorizeE11_dc_cornersm11dc_channels(ptr noundef nonnull align 8 dereferenceable(204) %0, ptr noundef nonnull byval(%struct._dc_corners) align 8 %5, i64 noundef 0, i32 noundef 1)
  %89 = getelementptr inbounds i8, ptr %6, i64 16
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %6, i8 0, i64 16, i1 false)
  %90 = tail call noundef i64 @_ZN15dc_pixel_matrix9get_widthEv(ptr noundef nonnull align 8 dereferenceable(24) %81)
  store i64 %90, ptr %89, align 8, !tbaa !32
  %91 = getelementptr inbounds i8, ptr %6, i64 24
  %92 = tail call noundef i64 @_ZN15dc_pixel_matrix10get_heightEv(ptr noundef nonnull align 8 dereferenceable(24) %81)
  store i64 %92, ptr %91, align 8, !tbaa !34
  tail call void @_ZN13dc_compressor10_sectorizeE11_dc_cornersm11dc_channels(ptr noundef nonnull align 8 dereferenceable(204) %0, ptr noundef nonnull byval(%struct._dc_corners) align 8 %6, i64 noundef 0, i32 noundef 2)
  br label %96

93:                                               ; preds = %71
  %94 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cerr, ptr noundef nonnull @.str.12)
  %95 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %94, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  br label %96

96:                                               ; preds = %93, %79, %73
  %97 = load i8, ptr %0, align 8, !tbaa !5, !range !27, !noundef !28
  %98 = trunc nuw i8 %97 to i1
  br i1 %98, label %99, label %106

99:                                               ; preds = %96
  %100 = 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.7)
  %101 = getelementptr inbounds i8, ptr %0, i64 96
  %102 = load i64, ptr %101, align 8, !tbaa !35
  %103 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEm(ptr noundef nonnull align 8 dereferenceable(8) %100, i64 noundef %102)
  %104 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %103, ptr noundef nonnull @.str.13)
  %105 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %104, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %.pre14 = load i8, ptr %0, align 8, !tbaa !5, !range !27
  br label %106

106:                                              ; preds = %99, %96
  %107 = phi i8 [ %.pre14, %99 ], [ %97, %96 ]
  %108 = trunc nuw i8 %107 to i1
  br i1 %108, label %109, label %111

109:                                              ; preds = %106
  %110 = 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.14)
  br label %111

111:                                              ; preds = %109, %106
  %112 = load i64, ptr %45, align 8, !tbaa !30
  switch i64 %112, label %114 [
    i64 1, label %.sink.split16
    i64 2, label %113
  ]

113:                                              ; preds = %111
  br label %.sink.split16

.sink.split16:                                    ; preds = %111, %113
  %.sink17 = phi i1 [ true, %113 ], [ false, %111 ]
  tail call void @_ZN13dc_compressor10_serializeEb(ptr noundef nonnull align 8 dereferenceable(204) %0, i1 noundef zeroext %.sink17)
  br label %114

114:                                              ; preds = %.sink.split16, %111
  %115 = load i8, ptr %0, align 8, !tbaa !5, !range !27, !noundef !28
  %116 = trunc nuw i8 %115 to i1
  br i1 %116, label %117, label %133

117:                                              ; preds = %114
  %118 = load i64, ptr %45, align 8, !tbaa !30
  %119 = icmp eq i64 %118, 1
  %120 = icmp eq i64 %118, 2
  %121 = select i1 %120, i64 2, i64 0
  %122 = select i1 %119, i64 4, i64 %121
  %123 = getelementptr inbounds i8, ptr %0, i64 96
  %124 = load i64, ptr %123, align 8
  %125 = mul i64 %122, %124
  %126 = add i64 %125, 10
  %127 = 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.7)
  %128 = udiv i64 %126, 1000
  %129 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEm(ptr noundef nonnull align 8 dereferenceable(8) %127, i64 noundef %128)
  %130 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %129, ptr noundef nonnull @.str.15)
  %131 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %130, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %132 = mul i64 %126, 100
  %.pre15 = load i8, ptr %0, align 8, !tbaa !5, !range !27
  br label %133

133:                                              ; preds = %114, %117
  %134 = phi i8 [ %.pre15, %117 ], [ %115, %114 ]
  %.059 = phi i64 [ %132, %117 ], [ 0, %114 ]
  %135 = trunc nuw i8 %134 to i1
  br i1 %135, label %136, label %140

136:                                              ; preds = %133
  %137 = getelementptr inbounds i8, ptr %0, i64 8
  %138 = load i64, ptr %137, align 8, !tbaa !31
  %139 = udiv i64 %.059, %138
  br label %140

140:                                              ; preds = %136, %133
  %.0 = phi i64 [ %139, %136 ], [ undef, %133 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #6
  %141 = tail call i64 @_ZNSt6chrono3_V212steady_clock3nowEv() #6
  store i64 %141, ptr %7, align 8
  %142 = load i8, ptr %0, align 8, !tbaa !5, !range !27, !noundef !28
  %143 = trunc nuw i8 %142 to i1
  br i1 %143, label %144, label %153

144:                                              ; preds = %140
  %145 = 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.16)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #6
  %146 = call i64 @_ZNSt6chronomiINS_3_V212steady_clockENS_8durationIlSt5ratioILl1ELl1000000000EEEES6_EENSt11common_typeIJT0_T1_EE4typeERKNS_10time_pointIT_S8_EERKNSC_ISD_S9_EE(ptr noundef nonnull align 8 dereferenceable(8) %7, ptr noundef nonnull align 8 dereferenceable(8) %2)
  store i64 %146, ptr %9, align 8
  %147 = call i64 @_ZNSt6chrono13duration_castINS_8durationIlSt5ratioILl1ELl1000EEEElS2_ILl1ELl1000000000EEEENSt9enable_ifIXsr13__is_durationIT_EE5valueES7_E4typeERKNS1_IT0_T1_EE(ptr noundef nonnull align 8 dereferenceable(8) %9)
  store i64 %147, ptr %8, align 8
  %148 = call noundef i64 @_ZNKSt6chrono8durationIlSt5ratioILl1ELl1000EEE5countEv(ptr noundef nonnull align 8 dereferenceable(8) %8)
  %149 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEl(ptr noundef nonnull align 8 dereferenceable(8) %145, i64 noundef %148)
  %150 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %149, ptr noundef nonnull @.str.17)
  %151 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEm(ptr noundef nonnull align 8 dereferenceable(8) %150, i64 noundef %.0)
  %152 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %151, ptr noundef nonnull @.str.18)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #6
  br label %153

153:                                              ; preds = %144, %140
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #6
  ret void
}

; Function Attrs: nounwind
declare i64 @_ZNSt6chrono3_V212steady_clock3nowEv() local_unnamed_addr #2

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_(ptr noundef nonnull align 8 dereferenceable(8)) #3

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN13dc_compressor7_unpackEb(ptr noundef nonnull align 8 dereferenceable(204), i1 noundef zeroext) local_unnamed_addr #1 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN13dc_compressor10_sectorizeE11_dc_cornersm11dc_channels(ptr noundef nonnull align 8 dereferenceable(204), ptr noundef byval(%struct._dc_corners) align 8, i64 noundef, i32 noundef) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN13dc_compressor10_serializeEb(ptr noundef nonnull align 8 dereferenceable(204), i1 noundef zeroext) local_unnamed_addr #1 align 2

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNKSt6chrono8durationIlSt5ratioILl1ELl1000EEE5countEv(ptr noundef nonnull align 8 dereferenceable(8)) local_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) #5

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"_ZTS2dc", !7, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !11, i64 32, !11, i64 64, !10, i64 96, !14, i64 104, !15, i64 128, !23, i64 176}
!7 = !{!"bool", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"long", !8, i64 0}
!11 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !12, i64 0, !10, i64 8, !8, i64 16}
!12 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !13, i64 0}
!13 = !{!"any pointer", !8, i64 0}
!14 = !{!"_ZTS15dc_pixel_matrix", !13, i64 0, !10, i64 8, !10, i64 16}
!15 = !{!"_ZTSSt3mapIm16_dc_heavy_sectorSt4lessImESaISt4pairIKmS0_EEE", !16, i64 0}
!16 = !{!"_ZTSSt8_Rb_treeImSt4pairIKm16_dc_heavy_sectorESt10_Select1stIS3_ESt4lessImESaIS3_EE", !17, i64 0}
!17 = !{!"_ZTSNSt8_Rb_treeImSt4pairIKm16_dc_heavy_sectorESt10_Select1stIS3_ESt4lessImESaIS3_EE13_Rb_tree_implIS7_Lb1EEE", !18, i64 0, !20, i64 8}
!18 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessImEE", !19, i64 0}
!19 = !{!"_ZTSSt4lessImE"}
!20 = !{!"_ZTSSt15_Rb_tree_header", !21, i64 0, !10, i64 32}
!21 = !{!"_ZTSSt18_Rb_tree_node_base", !22, i64 0, !13, i64 8, !13, i64 16, !13, i64 24}
!22 = !{!"_ZTSSt14_Rb_tree_color", !8, i64 0}
!23 = !{!"_ZTSSt6vectorI16_dc_light_sectorSaIS0_EE", !24, i64 0}
!24 = !{!"_ZTSSt12_Vector_baseI16_dc_light_sectorSaIS0_EE", !25, i64 0}
!25 = !{!"_ZTSNSt12_Vector_baseI16_dc_light_sectorSaIS0_EE12_Vector_implE", !26, i64 0}
!26 = !{!"_ZTSNSt12_Vector_baseI16_dc_light_sectorSaIS0_EE17_Vector_impl_dataE", !13, i64 0, !13, i64 8, !13, i64 16}
!27 = !{i8 0, i8 2}
!28 = !{}
!29 = !{!6, !10, i64 24}
!30 = !{!6, !10, i64 16}
!31 = !{!6, !10, i64 8}
!32 = !{!33, !10, i64 16}
!33 = !{!"_ZTS11_dc_corners", !10, i64 0, !10, i64 8, !10, i64 16, !10, i64 24}
!34 = !{!33, !10, i64 24}
!35 = !{!6, !10, i64 96}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,MemCpyOptPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass