; LLVM IR from Columbitech/rohc :: src (crtp_profile)

; 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::back_insert_iterator" = type { ptr }
%"class.__gnu_cxx::__normal_iterator.16" = type { ptr }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }
%"class.ROHC::CRTPProfile" = type <{ %"class.ROHC::CProfile", %"class.std::vector.0", i16, i16, %"struct.ROHC::rtphdr", i32, i32, i32, i32, %"class.ROHC::WLSB.5", i32, i8, [3 x i8] }>
%"class.ROHC::CProfile" = type { ptr, ptr, i16, i64, i32, i32, i32, i32, i64, i64, i32, i32, i16, %"class.ROHC::WLSB", i32, i32, i8, i32, i32, i32, %"struct.ROHC::iphdr", i16, i16, %"class.ROHC::WLSB", [11 x i64] }
%"struct.ROHC::iphdr" = type { i8, i8, i16, i16, i16, i8, i8, i16, i32, i32 }
%"class.ROHC::WLSB" = type { %"class.std::vector", i64, i64, i64, i32, i32 }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<ROHC::WLSB<int>::LSB, std::allocator<ROHC::WLSB<int>::LSB>>::_Vector_impl" }
%"struct.std::_Vector_base<ROHC::WLSB<int>::LSB, std::allocator<ROHC::WLSB<int>::LSB>>::_Vector_impl" = type { %"struct.std::_Vector_base<ROHC::WLSB<int>::LSB, std::allocator<ROHC::WLSB<int>::LSB>>::_Vector_impl_data" }
%"struct.std::_Vector_base<ROHC::WLSB<int>::LSB, std::allocator<ROHC::WLSB<int>::LSB>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.0" = type { %"struct.std::_Vector_base.1" }
%"struct.std::_Vector_base.1" = type { %"struct.std::_Vector_base<ROHC::CRTPProfile::CSRCItem, std::allocator<ROHC::CRTPProfile::CSRCItem>>::_Vector_impl" }
%"struct.std::_Vector_base<ROHC::CRTPProfile::CSRCItem, std::allocator<ROHC::CRTPProfile::CSRCItem>>::_Vector_impl" = type { %"struct.std::_Vector_base<ROHC::CRTPProfile::CSRCItem, std::allocator<ROHC::CRTPProfile::CSRCItem>>::_Vector_impl_data" }
%"struct.std::_Vector_base<ROHC::CRTPProfile::CSRCItem, std::allocator<ROHC::CRTPProfile::CSRCItem>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.ROHC::rtphdr" = type { i16, i16, i32, i32 }
%"class.ROHC::WLSB.5" = type { %"class.std::vector.6", i64, i64, i64, i32, i32 }
%"class.std::vector.6" = type { %"struct.std::_Vector_base.7" }
%"struct.std::_Vector_base.7" = type { %"struct.std::_Vector_base<ROHC::WLSB<unsigned int>::LSB, std::allocator<ROHC::WLSB<unsigned int>::LSB>>::_Vector_impl" }
%"struct.std::_Vector_base<ROHC::WLSB<unsigned int>::LSB, std::allocator<ROHC::WLSB<unsigned int>::LSB>>::_Vector_impl" = type { %"struct.std::_Vector_base<ROHC::WLSB<unsigned int>::LSB, std::allocator<ROHC::WLSB<unsigned int>::LSB>>::_Vector_impl_data" }
%"struct.std::_Vector_base<ROHC::WLSB<unsigned int>::LSB, std::allocator<ROHC::WLSB<unsigned int>::LSB>>::_Vector_impl_data" = type { ptr, ptr, ptr }

; 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 nounwind uwtable
declare dso_local noundef i64 @_ZNKSt6vectorIhSaIhEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24)) #1 align 2

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

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local ptr @_ZN4ROHC10SDVLEncodeISt20back_insert_iteratorISt6vectorIhSaIhEEEEET_S6_j(ptr, i32 noundef) #3

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

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

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

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

declare void @_ZN4ROHC8CProfile19IncreasePacketCountENS_10PacketTypeE(ptr noundef nonnull align 8 dereferenceable(328), i32 noundef) #4

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK4ROHC8CProfile10TOSChangedEPKNS_5iphdrE(ptr noundef nonnull align 8 dereferenceable(328), ptr noundef) #5 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK4ROHC8CProfile10TTLChangedEPKNS_5iphdrE(ptr noundef nonnull align 8 dereferenceable(328), ptr noundef) #5 align 2

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4ROHC11CRTPProfile16create_co_commonEPKNS_5iphdrEPKNS_6rtphdrERSt6vectorIhSaIhEE(ptr noundef nonnull align 8 dereferenceable(445) %0, ptr noundef %1, ptr noundef %2, ptr noundef nonnull align 8 dereferenceable(24) %3) #2 align 2 {
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca i8, align 1
  %10 = alloca i64, align 8
  %11 = alloca i8, align 1
  %12 = alloca i8, align 1
  %13 = alloca i8, align 1
  %14 = alloca i8, align 1
  %15 = alloca i8, align 1
  %16 = alloca i8, align 1
  %17 = alloca i8, align 1
  %18 = alloca i8, align 1
  %19 = alloca i8, align 1
  %20 = alloca i8, align 1
  %21 = alloca %"class.std::back_insert_iterator", align 8
  %22 = alloca %"class.std::back_insert_iterator", align 8
  %23 = alloca i8, align 1
  %24 = alloca %"class.__gnu_cxx::__normal_iterator.16", align 8
  %25 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %26 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %27 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %28 = alloca %"class.__gnu_cxx::__normal_iterator.16", align 8
  %29 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  store ptr %2, ptr %7, align 8, !tbaa !5
  store ptr %3, ptr %8, align 8, !tbaa !5
  %30 = load ptr, ptr %5, align 8
  call void @_ZN4ROHC8CProfile19IncreasePacketCountENS_10PacketTypeE(ptr noundef nonnull align 8 dereferenceable(328) %30, i32 noundef 1)
  %31 = load ptr, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %9) #6
  store i8 -6, ptr %9, align 1, !tbaa !9
  call void @_ZNSt6vectorIhSaIhEE9push_backEOh(ptr noundef nonnull align 8 dereferenceable(24) %31, ptr noundef nonnull align 1 dereferenceable(1) %9)
  call void @llvm.lifetime.end.p0(i64 1, ptr %9) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #6
  %32 = load ptr, ptr %8, align 8, !tbaa !5
  %33 = call noundef i64 @_ZNKSt6vectorIhSaIhEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %32) #6
  store i64 %33, ptr %10, align 8, !tbaa !10
  %34 = load ptr, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %11) #6
  %35 = load ptr, ptr %7, align 8, !tbaa !5
  %36 = load i16, ptr %35, align 4
  %37 = lshr i16 %36, 15
  %38 = trunc i16 %37 to i8
  %39 = zext i8 %38 to i32
  %40 = shl i32 %39, 7
  %41 = trunc i32 %40 to i8
  store i8 %41, ptr %11, align 1, !tbaa !9
  call void @_ZNSt6vectorIhSaIhEE9push_backEOh(ptr noundef nonnull align 8 dereferenceable(24) %34, ptr noundef nonnull align 1 dereferenceable(1) %11)
  call void @llvm.lifetime.end.p0(i64 1, ptr %11) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr %12) #6
  store i8 0, ptr %12, align 1, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr %13) #6
  %42 = load ptr, ptr %6, align 8, !tbaa !5
  %43 = call noundef zeroext i1 @_ZNK4ROHC8CProfile9DFChangedEPKNS_5iphdrE(ptr noundef nonnull align 8 dereferenceable(328) %30, ptr noundef %42)
  br i1 %43, label %50, label %44

44:                                               ; preds = %4
  %45 = load ptr, ptr %6, align 8, !tbaa !5
  %46 = call noundef zeroext i1 @_ZNK4ROHC8CProfile10TTLChangedEPKNS_5iphdrE(ptr noundef nonnull align 8 dereferenceable(328) %30, ptr noundef %45)
  br i1 %46, label %50, label %47

47:                                               ; preds = %44
  %48 = load ptr, ptr %6, align 8, !tbaa !5
  %49 = call noundef zeroext i1 @_ZNK4ROHC8CProfile10TOSChangedEPKNS_5iphdrE(ptr noundef nonnull align 8 dereferenceable(328) %30, ptr noundef %48)
  br label %50

50:                                               ; preds = %47, %44, %4
  %51 = phi i1 [ true, %44 ], [ true, %4 ], [ %49, %47 ]
  %52 = zext i1 %51 to i8
  store i8 %52, ptr %13, align 1, !tbaa !12
  %53 = load i8, ptr %13, align 1, !tbaa !12, !range !14, !noundef !15
  %54 = trunc i8 %53 to i1
  br i1 %54, label %55, label %60

55:                                               ; preds = %50
  %56 = load i8, ptr %12, align 1, !tbaa !9
  %57 = zext i8 %56 to i32
  %58 = or i32 %57, 128
  %59 = trunc i32 %58 to i8
  store i8 %59, ptr %12, align 1, !tbaa !9
  br label %60

60:                                               ; preds = %55, %50
  call void @llvm.lifetime.start.p0(i64 1, ptr %14) #6
  store i8 0, ptr %14, align 1, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 1, ptr %15) #6
  store i8 0, ptr %15, align 1, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 1, ptr %16) #6
  %61 = load i8, ptr %14, align 1, !tbaa !12, !range !14, !noundef !15
  %62 = trunc i8 %61 to i1
  br i1 %62, label %75, label %63

63:                                               ; preds = %60
  %64 = load ptr, ptr %7, align 8, !tbaa !5
  %65 = call noundef zeroext i1 @_ZNK4ROHC11CRTPProfile9PTChangedEPKNS_6rtphdrE(ptr noundef nonnull align 8 dereferenceable(445) %30, ptr noundef %64)
  br i1 %65, label %75, label %66

66:                                               ; preds = %63
  %67 = load i8, ptr %15, align 1, !tbaa !12, !range !14, !noundef !15
  %68 = trunc i8 %67 to i1
  br i1 %68, label %75, label %69

69:                                               ; preds = %66
  %70 = load ptr, ptr %7, align 8, !tbaa !5
  %71 = call noundef zeroext i1 @_ZNK4ROHC11CRTPProfile10PadChangedEPKNS_6rtphdrE(ptr noundef nonnull align 8 dereferenceable(445) %30, ptr noundef %70)
  br i1 %71, label %75, label %72

72:                                               ; preds = %69
  %73 = load ptr, ptr %7, align 8, !tbaa !5
  %74 = call noundef zeroext i1 @_ZNK4ROHC11CRTPProfile16ExtensionChangedEPKNS_6rtphdrE(ptr noundef nonnull align 8 dereferenceable(445) %30, ptr noundef %73)
  br label %75

75:                                               ; preds = %72, %69, %66, %63, %60
  %76 = phi i1 [ true, %69 ], [ true, %66 ], [ true, %63 ], [ true, %60 ], [ %74, %72 ]
  %77 = zext i1 %76 to i8
  store i8 %77, ptr %16, align 1, !tbaa !12
  %78 = load i8, ptr %16, align 1, !tbaa !12, !range !14, !noundef !15
  %79 = trunc i8 %78 to i1
  br i1 %79, label %80, label %85

80:                                               ; preds = %75
  %81 = load i8, ptr %12, align 1, !tbaa !9
  %82 = zext i8 %81 to i32
  %83 = or i32 %82, 64
  %84 = trunc i32 %83 to i8
  store i8 %84, ptr %12, align 1, !tbaa !9
  br label %85

85:                                               ; preds = %80, %75
  call void @llvm.lifetime.start.p0(i64 1, ptr %17) #6
  store i8 0, ptr %17, align 1, !tbaa !12
  %86 = load i8, ptr %17, align 1, !tbaa !12, !range !14, !noundef !15
  %87 = trunc i8 %86 to i1
  br i1 %87, label %88, label %93

88:                                               ; preds = %85
  %89 = load i8, ptr %12, align 1, !tbaa !9
  %90 = zext i8 %89 to i32
  %91 = or i32 %90, 32
  %92 = trunc i32 %91 to i8
  store i8 %92, ptr %12, align 1, !tbaa !9
  br label %93

93:                                               ; preds = %88, %85
  call void @llvm.lifetime.start.p0(i64 1, ptr %18) #6
  %94 = getelementptr inbounds %"class.ROHC::CRTPProfile", ptr %30, i32 0, i32 7
  %95 = load i32, ptr %94, align 8, !tbaa !16
  %96 = icmp ugt i32 %95, 0
  %97 = zext i1 %96 to i8
  store i8 %97, ptr %18, align 1, !tbaa !12
  %98 = load i8, ptr %18, align 1, !tbaa !12, !range !14, !noundef !15
  %99 = trunc i8 %98 to i1
  br i1 %99, label %100, label %105

100:                                              ; preds = %93
  %101 = load i8, ptr %12, align 1, !tbaa !9
  %102 = zext i8 %101 to i32
  %103 = or i32 %102, 16
  %104 = trunc i32 %103 to i8
  store i8 %104, ptr %12, align 1, !tbaa !9
  br label %105

105:                                              ; preds = %100, %93
  call void @llvm.lifetime.start.p0(i64 1, ptr %19) #6
  %106 = getelementptr inbounds %"class.ROHC::CProfile", ptr %30, i32 0, i32 15
  %107 = load i32, ptr %106, align 4, !tbaa !40
  %108 = icmp sle i32 %107, 1
  br i1 %108, label %109, label %112

109:                                              ; preds = %105
  %110 = call noundef i32 @_ZNK4ROHC8CProfile15IpIdOffsetWidthEv(ptr noundef nonnull align 8 dereferenceable(328) %30)
  %111 = icmp ugt i32 %110, 8
  br label %112

112:                                              ; preds = %109, %105
  %113 = phi i1 [ false, %105 ], [ %111, %109 ]
  %114 = zext i1 %113 to i8
  store i8 %114, ptr %19, align 1, !tbaa !12
  %115 = load i8, ptr %19, align 1, !tbaa !12, !range !14, !noundef !15
  %116 = trunc i8 %115 to i1
  br i1 %116, label %117, label %122

117:                                              ; preds = %112
  %118 = load i8, ptr %12, align 1, !tbaa !9
  %119 = zext i8 %118 to i32
  %120 = or i32 %119, 8
  %121 = trunc i32 %120 to i8
  store i8 %121, ptr %12, align 1, !tbaa !9
  br label %122

122:                                              ; preds = %117, %112
  %123 = call noundef zeroext i8 @_ZNK4ROHC11CRTPProfile12control_crc3Ev(ptr noundef nonnull align 8 dereferenceable(445) %30)
  %124 = zext i8 %123 to i32
  %125 = load i8, ptr %12, align 1, !tbaa !9
  %126 = zext i8 %125 to i32
  %127 = or i32 %126, %124
  %128 = trunc i32 %127 to i8
  store i8 %128, ptr %12, align 1, !tbaa !9
  %129 = load ptr, ptr %8, align 8, !tbaa !5
  call void @_ZNSt6vectorIhSaIhEE9push_backERKh(ptr noundef nonnull align 8 dereferenceable(24) %129, ptr noundef nonnull align 1 dereferenceable(1) %12)
  %130 = load i8, ptr %13, align 1, !tbaa !12, !range !14, !noundef !15
  %131 = trunc i8 %130 to i1
  %132 = load ptr, ptr %6, align 8, !tbaa !5
  %133 = load ptr, ptr %8, align 8, !tbaa !5
  call void @_ZN4ROHC11CRTPProfile29create_profile_1_7_flags1_encEbPKNS_5iphdrERSt6vectorIhSaIhEE(ptr noundef nonnull align 8 dereferenceable(445) %30, i1 noundef zeroext %131, ptr noundef %132, ptr noundef nonnull align 8 dereferenceable(24) %133)
  %134 = load i8, ptr %16, align 1, !tbaa !12, !range !14, !noundef !15
  %135 = trunc i8 %134 to i1
  %136 = load ptr, ptr %7, align 8, !tbaa !5
  %137 = load ptr, ptr %8, align 8, !tbaa !5
  call void @_ZN4ROHC11CRTPProfile27create_profile_1_flags2_encEbPKNS_6rtphdrERSt6vectorIhSaIhEE(ptr noundef nonnull align 8 dereferenceable(445) %30, i1 noundef zeroext %135, ptr noundef %136, ptr noundef nonnull align 8 dereferenceable(24) %137)
  %138 = load ptr, ptr %6, align 8, !tbaa !5
  %139 = call noundef zeroext i1 @_ZNK4ROHC8CProfile10TOSChangedEPKNS_5iphdrE(ptr noundef nonnull align 8 dereferenceable(328) %30, ptr noundef %138)
  br i1 %139, label %140, label %144

140:                                              ; preds = %122
  %141 = load ptr, ptr %8, align 8, !tbaa !5
  %142 = load ptr, ptr %6, align 8, !tbaa !5
  %143 = getelementptr inbounds %"struct.ROHC::iphdr", ptr %142, i32 0, i32 1
  call void @_ZNSt6vectorIhSaIhEE9push_backERKh(ptr noundef nonnull align 8 dereferenceable(24) %141, ptr noundef nonnull align 1 dereferenceable(1) %143)
  br label %144

144:                                              ; preds = %140, %122
  %145 = load ptr, ptr %6, align 8, !tbaa !5
  %146 = call noundef zeroext i1 @_ZNK4ROHC8CProfile10TTLChangedEPKNS_5iphdrE(ptr noundef nonnull align 8 dereferenceable(328) %30, ptr noundef %145)
  br i1 %146, label %147, label %151

147:                                              ; preds = %144
  %148 = load ptr, ptr %8, align 8, !tbaa !5
  %149 = load ptr, ptr %6, align 8, !tbaa !5
  %150 = getelementptr inbounds %"struct.ROHC::iphdr", ptr %149, i32 0, i32 5
  call void @_ZNSt6vectorIhSaIhEE9push_backERKh(ptr noundef nonnull align 8 dereferenceable(24) %148, ptr noundef nonnull align 1 dereferenceable(1) %150)
  br label %151

151:                                              ; preds = %147, %144
  %152 = load ptr, ptr %7, align 8, !tbaa !5
  %153 = call noundef zeroext i1 @_ZNK4ROHC11CRTPProfile9PTChangedEPKNS_6rtphdrE(ptr noundef nonnull align 8 dereferenceable(445) %30, ptr noundef %152)
  br i1 %153, label %154, label %161

154:                                              ; preds = %151
  %155 = load ptr, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %20) #6
  %156 = load ptr, ptr %7, align 8, !tbaa !5
  %157 = load i16, ptr %156, align 4
  %158 = lshr i16 %157, 8
  %159 = and i16 %158, 127
  %160 = trunc i16 %159 to i8
  store i8 %160, ptr %20, align 1, !tbaa !9
  call void @_ZNSt6vectorIhSaIhEE9push_backEOh(ptr noundef nonnull align 8 dereferenceable(24) %155, ptr noundef nonnull align 1 dereferenceable(1) %20)
  call void @llvm.lifetime.end.p0(i64 1, ptr %20) #6
  br label %161

161:                                              ; preds = %154, %151
  %162 = load ptr, ptr %8, align 8, !tbaa !5
  call void @_ZNK4ROHC11CRTPProfile18create_sdvl_sn_lsbERSt6vectorIhSaIhEE(ptr noundef nonnull align 8 dereferenceable(445) %30, ptr noundef nonnull align 8 dereferenceable(24) %162)
  %163 = load i8, ptr %19, align 1, !tbaa !12, !range !14, !noundef !15
  %164 = trunc i8 %163 to i1
  %165 = load ptr, ptr %6, align 8, !tbaa !5
  %166 = load ptr, ptr %8, align 8, !tbaa !5
  call void @_ZN4ROHC8CProfile25ip_id_sequential_variableEbPKNS_5iphdrERSt6vectorIhSaIhEE(ptr noundef nonnull align 8 dereferenceable(328) %30, i1 noundef zeroext %164, ptr noundef %165, ptr noundef nonnull align 8 dereferenceable(24) %166)
  %167 = load i8, ptr %18, align 1, !tbaa !12, !range !14, !noundef !15
  %168 = trunc i8 %167 to i1
  %169 = load i8, ptr %17, align 1, !tbaa !12, !range !14, !noundef !15
  %170 = trunc i8 %169 to i1
  %171 = load ptr, ptr %7, align 8, !tbaa !5
  %172 = load ptr, ptr %8, align 8, !tbaa !5
  call void @_ZN4ROHC11CRTPProfile34create_variable_unscaled_timestampEbbPKNS_6rtphdrERSt6vectorIhSaIhEE(ptr noundef nonnull align 8 dereferenceable(445) %30, i1 noundef zeroext %168, i1 noundef zeroext %170, ptr noundef %171, ptr noundef nonnull align 8 dereferenceable(24) %172)
  %173 = load i8, ptr %18, align 1, !tbaa !12, !range !14, !noundef !15
  %174 = trunc i8 %173 to i1
  br i1 %174, label %175, label %185

175:                                              ; preds = %161
  %176 = load ptr, ptr %8, align 8, !tbaa !5
  %177 = call ptr @_ZSt13back_inserterISt6vectorIhSaIhEEESt20back_insert_iteratorIT_ERS4_(ptr noundef nonnull align 8 dereferenceable(24) %176)
  %178 = getelementptr inbounds %"class.std::back_insert_iterator", ptr %21, i32 0, i32 0
  store ptr %177, ptr %178, align 8
  %179 = getelementptr inbounds %"class.ROHC::CRTPProfile", ptr %30, i32 0, i32 10
  %180 = load i32, ptr %179, align 8, !tbaa !41
  %181 = getelementptr inbounds %"class.std::back_insert_iterator", ptr %21, i32 0, i32 0
  %182 = load ptr, ptr %181, align 8
  %183 = call ptr @_ZN4ROHC10SDVLEncodeISt20back_insert_iteratorISt6vectorIhSaIhEEEEET_S6_j(ptr %182, i32 noundef %180)
  %184 = getelementptr inbounds %"class.std::back_insert_iterator", ptr %22, i32 0, i32 0
  store ptr %183, ptr %184, align 8
  br label %185

185:                                              ; preds = %175, %161
  %186 = load i8, ptr %15, align 1, !tbaa !12, !range !14, !noundef !15
  %187 = trunc i8 %186 to i1
  br i1 %187, label %188, label %189

188:                                              ; preds = %185
  br label %189

189:                                              ; preds = %188, %185
  %190 = load i8, ptr %14, align 1, !tbaa !12, !range !14, !noundef !15
  %191 = trunc i8 %190 to i1
  br i1 %191, label %192, label %193

192:                                              ; preds = %189
  br label %193

193:                                              ; preds = %192, %189
  call void @llvm.lifetime.start.p0(i64 1, ptr %23) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #6
  %194 = load ptr, ptr %8, align 8, !tbaa !5
  %195 = call ptr @_ZNSt6vectorIhSaIhEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %194) #6
  %196 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %27, i32 0, i32 0
  store ptr %195, ptr %196, align 8
  %197 = load i64, ptr %10, align 8, !tbaa !10
  %198 = call ptr @_ZNK9__gnu_cxx17__normal_iteratorIPhSt6vectorIhSaIhEEEplEl(ptr noundef nonnull align 8 dereferenceable(8) %27, i64 noundef %197) #6
  %199 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %26, i32 0, i32 0
  store ptr %198, ptr %199, align 8
  %200 = call ptr @_ZNK9__gnu_cxx17__normal_iteratorIPhSt6vectorIhSaIhEEEmiEl(ptr noundef nonnull align 8 dereferenceable(8) %26, i64 noundef 1) #6
  %201 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %25, i32 0, i32 0
  store ptr %200, ptr %201, align 8
  call void @_ZN9__gnu_cxx17__normal_iteratorIPKhSt6vectorIhSaIhEEEC2IPhvEERKNS0_IT_S5_EE(ptr noundef nonnull align 8 dereferenceable(8) %24, ptr noundef nonnull align 8 dereferenceable(8) %25) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #6
  %202 = load ptr, ptr %8, align 8, !tbaa !5
  %203 = call ptr @_ZNSt6vectorIhSaIhEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %202) #6
  %204 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %29, i32 0, i32 0
  store ptr %203, ptr %204, align 8
  call void @_ZN9__gnu_cxx17__normal_iteratorIPKhSt6vectorIhSaIhEEEC2IPhvEERKNS0_IT_S5_EE(ptr noundef nonnull align 8 dereferenceable(8) %28, ptr noundef nonnull align 8 dereferenceable(8) %29) #6
  %205 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.16", ptr %24, i32 0, i32 0
  %206 = load ptr, ptr %205, align 8
  %207 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.16", ptr %28, i32 0, i32 0
  %208 = load ptr, ptr %207, align 8
  %209 = call noundef zeroext i8 @_ZN4ROHC4CRC7EN9__gnu_cxx17__normal_iteratorIPKhSt6vectorIhSaIhEEEES7_(ptr %206, ptr %208)
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #6
  store i8 %209, ptr %23, align 1, !tbaa !9
  %210 = load i8, ptr %23, align 1, !tbaa !9
  %211 = zext i8 %210 to i32
  %212 = and i32 %211, 127
  %213 = load ptr, ptr %8, align 8, !tbaa !5
  %214 = load i64, ptr %10, align 8, !tbaa !10
  %215 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt6vectorIhSaIhEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %213, i64 noundef %214) #6
  %216 = load i8, ptr %215, align 1, !tbaa !9
  %217 = zext i8 %216 to i32
  %218 = or i32 %217, %212
  %219 = trunc i32 %218 to i8
  store i8 %219, ptr %215, align 1, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 1, ptr %23) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %19) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %18) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %17) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %16) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %15) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %14) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %13) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #6
  ret void
}

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZNK4ROHC8CProfile15IpIdOffsetWidthEv(ptr noundef nonnull align 8 dereferenceable(328)) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i8 @_ZNK4ROHC11CRTPProfile12control_crc3Ev(ptr noundef nonnull align 8 dereferenceable(445)) #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK4ROHC8CProfile9DFChangedEPKNS_5iphdrE(ptr noundef nonnull align 8 dereferenceable(328), ptr noundef) #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4ROHC11CRTPProfile29create_profile_1_7_flags1_encEbPKNS_5iphdrERSt6vectorIhSaIhEE(ptr noundef nonnull align 8 dereferenceable(445), i1 noundef zeroext, ptr noundef, ptr noundef nonnull align 8 dereferenceable(24)) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4ROHC11CRTPProfile27create_profile_1_flags2_encEbPKNS_6rtphdrERSt6vectorIhSaIhEE(ptr noundef nonnull align 8 dereferenceable(445), i1 noundef zeroext, ptr noundef, ptr noundef nonnull align 8 dereferenceable(24)) #2 align 2

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

declare void @_ZN4ROHC8CProfile25ip_id_sequential_variableEbPKNS_5iphdrERSt6vectorIhSaIhEE(ptr noundef nonnull align 8 dereferenceable(328), i1 noundef zeroext, ptr noundef, ptr noundef nonnull align 8 dereferenceable(24)) #4

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4ROHC11CRTPProfile34create_variable_unscaled_timestampEbbPKNS_6rtphdrERSt6vectorIhSaIhEE(ptr noundef nonnull align 8 dereferenceable(445), i1 noundef zeroext, i1 noundef zeroext, ptr noundef, ptr noundef nonnull align 8 dereferenceable(24)) #2 align 2

declare noundef zeroext i8 @_ZN4ROHC4CRC7EN9__gnu_cxx17__normal_iteratorIPKhSt6vectorIhSaIhEEEES7_(ptr, ptr) #4

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!7, !7, i64 0}
!10 = !{!11, !11, i64 0}
!11 = !{!"long", !7, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"bool", !7, i64 0}
!14 = !{i8 0, i8 2}
!15 = !{}
!16 = !{!17, !20, i64 376}
!17 = !{!"_ZTSN4ROHC11CRTPProfileE", !18, i64 0, !30, i64 328, !19, i64 352, !19, i64 354, !34, i64 356, !20, i64 368, !20, i64 372, !20, i64 376, !20, i64 380, !35, i64 384, !20, i64 440, !13, i64 444}
!18 = !{!"_ZTSN4ROHC8CProfileE", !6, i64 8, !19, i64 16, !11, i64 24, !20, i64 32, !20, i64 36, !20, i64 40, !20, i64 44, !11, i64 48, !11, i64 56, !20, i64 64, !20, i64 68, !19, i64 72, !21, i64 80, !26, i64 136, !27, i64 140, !13, i64 144, !28, i64 148, !20, i64 152, !20, i64 156, !29, i64 160, !19, i64 180, !19, i64 182, !21, i64 184, !7, i64 240}
!19 = !{!"short", !7, i64 0}
!20 = !{!"int", !7, i64 0}
!21 = !{!"_ZTSN4ROHC4WLSBIiEE", !22, i64 0, !11, i64 24, !11, i64 32, !11, i64 40, !20, i64 48, !20, i64 52}
!22 = !{!"_ZTSSt6vectorIN4ROHC4WLSBIiE3LSBESaIS3_EE", !23, i64 0}
!23 = !{!"_ZTSSt12_Vector_baseIN4ROHC4WLSBIiE3LSBESaIS3_EE", !24, i64 0}
!24 = !{!"_ZTSNSt12_Vector_baseIN4ROHC4WLSBIiE3LSBESaIS3_EE12_Vector_implE", !25, i64 0}
!25 = !{!"_ZTSNSt12_Vector_baseIN4ROHC4WLSBIiE3LSBESaIS3_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!26 = !{!"_ZTSN4ROHC12Reordering_tE", !7, i64 0}
!27 = !{!"_ZTSN4ROHC15IPIDBehaviour_tE", !7, i64 0}
!28 = !{!"_ZTSN4ROHC8CProfileUt_E", !7, i64 0}
!29 = !{!"_ZTSN4ROHC5iphdrE", !7, i64 0, !7, i64 0, !7, i64 1, !19, i64 2, !19, i64 4, !19, i64 6, !7, i64 8, !7, i64 9, !19, i64 10, !20, i64 12, !20, i64 16}
!30 = !{!"_ZTSSt6vectorIN4ROHC11CRTPProfile8CSRCItemESaIS2_EE", !31, i64 0}
!31 = !{!"_ZTSSt12_Vector_baseIN4ROHC11CRTPProfile8CSRCItemESaIS2_EE", !32, i64 0}
!32 = !{!"_ZTSNSt12_Vector_baseIN4ROHC11CRTPProfile8CSRCItemESaIS2_EE12_Vector_implE", !33, i64 0}
!33 = !{!"_ZTSNSt12_Vector_baseIN4ROHC11CRTPProfile8CSRCItemESaIS2_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!34 = !{!"_ZTSN4ROHC6rtphdrE", !7, i64 0, !7, i64 0, !7, i64 0, !7, i64 0, !7, i64 1, !7, i64 1, !19, i64 2, !20, i64 4, !20, i64 8}
!35 = !{!"_ZTSN4ROHC4WLSBIjEE", !36, i64 0, !11, i64 24, !11, i64 32, !11, i64 40, !20, i64 48, !20, i64 52}
!36 = !{!"_ZTSSt6vectorIN4ROHC4WLSBIjE3LSBESaIS3_EE", !37, i64 0}
!37 = !{!"_ZTSSt12_Vector_baseIN4ROHC4WLSBIjE3LSBESaIS3_EE", !38, i64 0}
!38 = !{!"_ZTSNSt12_Vector_baseIN4ROHC4WLSBIjE3LSBESaIS3_EE12_Vector_implE", !39, i64 0}
!39 = !{!"_ZTSNSt12_Vector_baseIN4ROHC4WLSBIjE3LSBESaIS3_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!40 = !{!18, !27, i64 140}
!41 = !{!17, !20, i64 440}


; 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.__gnu_cxx::__normal_iterator.16" = type { ptr }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }

; 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 nounwind uwtable
declare dso_local noundef i64 @_ZNKSt6vectorIhSaIhEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #1 align 2

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

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local ptr @_ZN4ROHC10SDVLEncodeISt20back_insert_iteratorISt6vectorIhSaIhEEEEET_S6_j(ptr, i32 noundef) local_unnamed_addr #3

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local ptr @_ZSt13back_inserterISt6vectorIhSaIhEEESt20back_insert_iteratorIT_ERS4_(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #3

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

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

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

declare void @_ZN4ROHC8CProfile19IncreasePacketCountENS_10PacketTypeE(ptr noundef nonnull align 8 dereferenceable(328), i32 noundef) local_unnamed_addr #4

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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4ROHC11CRTPProfile16create_co_commonEPKNS_5iphdrEPKNS_6rtphdrERSt6vectorIhSaIhEE(ptr noundef nonnull align 8 dereferenceable(445) %0, ptr noundef %1, ptr noundef %2, ptr noundef nonnull align 8 dereferenceable(24) %3) local_unnamed_addr #2 align 2 {
  %5 = alloca i8, align 1
  %6 = alloca i8, align 1
  %7 = alloca i8, align 1
  %8 = alloca i8, align 1
  %9 = alloca %"class.__gnu_cxx::__normal_iterator.16", align 8
  %10 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %11 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %12 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %13 = alloca %"class.__gnu_cxx::__normal_iterator.16", align 8
  %14 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  tail call void @_ZN4ROHC8CProfile19IncreasePacketCountENS_10PacketTypeE(ptr noundef nonnull align 8 dereferenceable(328) %0, i32 noundef 1)
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %5) #6
  store i8 -6, ptr %5, align 1, !tbaa !5
  call void @_ZNSt6vectorIhSaIhEE9push_backEOh(ptr noundef nonnull align 8 dereferenceable(24) %3, ptr noundef nonnull align 1 dereferenceable(1) %5)
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %5) #6
  %15 = call noundef i64 @_ZNKSt6vectorIhSaIhEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %3) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %6) #6
  %16 = load i16, ptr %2, align 4
  %17 = lshr i16 %16, 8
  %18 = trunc nuw i16 %17 to i8
  %19 = and i8 %18, -128
  store i8 %19, ptr %6, align 1, !tbaa !5
  call void @_ZNSt6vectorIhSaIhEE9push_backEOh(ptr noundef nonnull align 8 dereferenceable(24) %3, ptr noundef nonnull align 1 dereferenceable(1) %6)
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %6) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %7) #6
  %20 = call noundef zeroext i1 @_ZNK4ROHC8CProfile9DFChangedEPKNS_5iphdrE(ptr noundef nonnull align 8 dereferenceable(328) %0, ptr noundef %1)
  br i1 %20, label %.thread, label %21

21:                                               ; preds = %4
  %22 = call noundef zeroext i1 @_ZNK4ROHC8CProfile10TTLChangedEPKNS_5iphdrE(ptr noundef nonnull align 8 dereferenceable(328) %0, ptr noundef %1)
  br i1 %22, label %.thread, label %23

23:                                               ; preds = %21
  %24 = call noundef zeroext i1 @_ZNK4ROHC8CProfile10TOSChangedEPKNS_5iphdrE(ptr noundef nonnull align 8 dereferenceable(328) %0, ptr noundef %1)
  br i1 %24, label %.thread, label %25

.thread:                                          ; preds = %4, %21, %23
  br label %25

25:                                               ; preds = %23, %.thread
  %26 = phi i8 [ 0, %23 ], [ -128, %.thread ]
  %27 = phi i1 [ false, %23 ], [ true, %.thread ]
  %28 = call noundef zeroext i1 @_ZNK4ROHC11CRTPProfile9PTChangedEPKNS_6rtphdrE(ptr noundef nonnull align 8 dereferenceable(445) %0, ptr noundef nonnull %2)
  br i1 %28, label %.thread53, label %29

29:                                               ; preds = %25
  %30 = call noundef zeroext i1 @_ZNK4ROHC11CRTPProfile10PadChangedEPKNS_6rtphdrE(ptr noundef nonnull align 8 dereferenceable(445) %0, ptr noundef nonnull %2)
  br i1 %30, label %.thread53, label %31

31:                                               ; preds = %29
  %32 = call noundef zeroext i1 @_ZNK4ROHC11CRTPProfile16ExtensionChangedEPKNS_6rtphdrE(ptr noundef nonnull align 8 dereferenceable(445) %0, ptr noundef nonnull %2)
  br i1 %32, label %.thread53, label %34

.thread53:                                        ; preds = %25, %29, %31
  %33 = or disjoint i8 %26, 64
  br label %34

34:                                               ; preds = %31, %.thread53
  %35 = phi i8 [ %26, %31 ], [ %33, %.thread53 ]
  %36 = phi i1 [ false, %31 ], [ true, %.thread53 ]
  %37 = getelementptr inbounds i8, ptr %0, i64 376
  %38 = load i32, ptr %37, align 8, !tbaa !8
  %39 = icmp ne i32 %38, 0
  %40 = or i8 %35, 16
  %spec.select = select i1 %39, i8 %40, i8 %35
  %41 = getelementptr inbounds i8, ptr %0, i64 140
  %42 = load i32, ptr %41, align 4, !tbaa !35
  %43 = icmp slt i32 %42, 2
  br i1 %43, label %44, label %.thread54

44:                                               ; preds = %34
  %45 = call noundef i32 @_ZNK4ROHC8CProfile15IpIdOffsetWidthEv(ptr noundef nonnull align 8 dereferenceable(328) %0)
  %46 = icmp ugt i32 %45, 8
  %47 = or i8 %spec.select, 8
  %spec.select55 = select i1 %46, i8 %47, i8 %spec.select
  br label %.thread54

.thread54:                                        ; preds = %44, %34
  %48 = phi i8 [ %spec.select, %34 ], [ %spec.select55, %44 ]
  %49 = phi i1 [ false, %34 ], [ %46, %44 ]
  %50 = call noundef zeroext i8 @_ZNK4ROHC11CRTPProfile12control_crc3Ev(ptr noundef nonnull align 8 dereferenceable(445) %0)
  %51 = or i8 %48, %50
  store i8 %51, ptr %7, align 1, !tbaa !5
  call void @_ZNSt6vectorIhSaIhEE9push_backERKh(ptr noundef nonnull align 8 dereferenceable(24) %3, ptr noundef nonnull align 1 dereferenceable(1) %7)
  call void @_ZN4ROHC11CRTPProfile29create_profile_1_7_flags1_encEbPKNS_5iphdrERSt6vectorIhSaIhEE(ptr noundef nonnull align 8 dereferenceable(445) %0, i1 noundef zeroext %27, ptr noundef %1, ptr noundef nonnull align 8 dereferenceable(24) %3)
  call void @_ZN4ROHC11CRTPProfile27create_profile_1_flags2_encEbPKNS_6rtphdrERSt6vectorIhSaIhEE(ptr noundef nonnull align 8 dereferenceable(445) %0, i1 noundef zeroext %36, ptr noundef nonnull %2, ptr noundef nonnull align 8 dereferenceable(24) %3)
  %52 = call noundef zeroext i1 @_ZNK4ROHC8CProfile10TOSChangedEPKNS_5iphdrE(ptr noundef nonnull align 8 dereferenceable(328) %0, ptr noundef %1)
  br i1 %52, label %53, label %55

53:                                               ; preds = %.thread54
  %54 = getelementptr inbounds i8, ptr %1, i64 1
  call void @_ZNSt6vectorIhSaIhEE9push_backERKh(ptr noundef nonnull align 8 dereferenceable(24) %3, ptr noundef nonnull align 1 dereferenceable(1) %54)
  br label %55

55:                                               ; preds = %53, %.thread54
  %56 = call noundef zeroext i1 @_ZNK4ROHC8CProfile10TTLChangedEPKNS_5iphdrE(ptr noundef nonnull align 8 dereferenceable(328) %0, ptr noundef %1)
  br i1 %56, label %57, label %59

57:                                               ; preds = %55
  %58 = getelementptr inbounds i8, ptr %1, i64 8
  call void @_ZNSt6vectorIhSaIhEE9push_backERKh(ptr noundef nonnull align 8 dereferenceable(24) %3, ptr noundef nonnull align 1 dereferenceable(1) %58)
  br label %59

59:                                               ; preds = %57, %55
  %60 = call noundef zeroext i1 @_ZNK4ROHC11CRTPProfile9PTChangedEPKNS_6rtphdrE(ptr noundef nonnull align 8 dereferenceable(445) %0, ptr noundef nonnull %2)
  br i1 %60, label %61, label %66

61:                                               ; preds = %59
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %8) #6
  %62 = load i16, ptr %2, align 4
  %63 = lshr i16 %62, 8
  %64 = trunc nuw i16 %63 to i8
  %65 = and i8 %64, 127
  store i8 %65, ptr %8, align 1, !tbaa !5
  call void @_ZNSt6vectorIhSaIhEE9push_backEOh(ptr noundef nonnull align 8 dereferenceable(24) %3, ptr noundef nonnull align 1 dereferenceable(1) %8)
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %8) #6
  br label %66

66:                                               ; preds = %61, %59
  call void @_ZNK4ROHC11CRTPProfile18create_sdvl_sn_lsbERSt6vectorIhSaIhEE(ptr noundef nonnull align 8 dereferenceable(445) %0, ptr noundef nonnull align 8 dereferenceable(24) %3)
  call void @_ZN4ROHC8CProfile25ip_id_sequential_variableEbPKNS_5iphdrERSt6vectorIhSaIhEE(ptr noundef nonnull align 8 dereferenceable(328) %0, i1 noundef zeroext %49, ptr noundef %1, ptr noundef nonnull align 8 dereferenceable(24) %3)
  call void @_ZN4ROHC11CRTPProfile34create_variable_unscaled_timestampEbbPKNS_6rtphdrERSt6vectorIhSaIhEE(ptr noundef nonnull align 8 dereferenceable(445) %0, i1 noundef zeroext %39, i1 noundef zeroext false, ptr noundef nonnull %2, ptr noundef nonnull align 8 dereferenceable(24) %3)
  br i1 %39, label %67, label %72

67:                                               ; preds = %66
  %68 = call ptr @_ZSt13back_inserterISt6vectorIhSaIhEEESt20back_insert_iteratorIT_ERS4_(ptr noundef nonnull align 8 dereferenceable(24) %3)
  %69 = getelementptr inbounds i8, ptr %0, i64 440
  %70 = load i32, ptr %69, align 8, !tbaa !36
  %71 = call ptr @_ZN4ROHC10SDVLEncodeISt20back_insert_iteratorISt6vectorIhSaIhEEEEET_S6_j(ptr %68, i32 noundef %70)
  br label %72

72:                                               ; preds = %67, %66
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #6
  %73 = call ptr @_ZNSt6vectorIhSaIhEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %3) #6
  store ptr %73, ptr %12, align 8
  %74 = call ptr @_ZNK9__gnu_cxx17__normal_iteratorIPhSt6vectorIhSaIhEEEplEl(ptr noundef nonnull align 8 dereferenceable(8) %12, i64 noundef %15) #6
  store ptr %74, ptr %11, align 8
  %75 = call ptr @_ZNK9__gnu_cxx17__normal_iteratorIPhSt6vectorIhSaIhEEEmiEl(ptr noundef nonnull align 8 dereferenceable(8) %11, i64 noundef 1) #6
  store ptr %75, ptr %10, align 8
  call void @_ZN9__gnu_cxx17__normal_iteratorIPKhSt6vectorIhSaIhEEEC2IPhvEERKNS0_IT_S5_EE(ptr noundef nonnull align 8 dereferenceable(8) %9, ptr noundef nonnull align 8 dereferenceable(8) %10) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #6
  %76 = call ptr @_ZNSt6vectorIhSaIhEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %3) #6
  store ptr %76, ptr %14, align 8
  call void @_ZN9__gnu_cxx17__normal_iteratorIPKhSt6vectorIhSaIhEEEC2IPhvEERKNS0_IT_S5_EE(ptr noundef nonnull align 8 dereferenceable(8) %13, ptr noundef nonnull align 8 dereferenceable(8) %14) #6
  %77 = load ptr, ptr %9, align 8
  %78 = load ptr, ptr %13, align 8
  %79 = call noundef zeroext i8 @_ZN4ROHC4CRC7EN9__gnu_cxx17__normal_iteratorIPKhSt6vectorIhSaIhEEEES7_(ptr %77, ptr %78)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #6
  %80 = and i8 %79, 127
  %81 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt6vectorIhSaIhEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %15) #6
  %82 = load i8, ptr %81, align 1, !tbaa !5
  %83 = or i8 %82, %80
  store i8 %83, ptr %81, align 1, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %7) #6
  ret void
}

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i8 @_ZNK4ROHC11CRTPProfile12control_crc3Ev(ptr noundef nonnull align 8 dereferenceable(445)) local_unnamed_addr #2 align 2

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

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

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

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

declare void @_ZN4ROHC8CProfile25ip_id_sequential_variableEbPKNS_5iphdrERSt6vectorIhSaIhEE(ptr noundef nonnull align 8 dereferenceable(328), i1 noundef zeroext, ptr noundef, ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #4

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

declare noundef zeroext i8 @_ZN4ROHC4CRC7EN9__gnu_cxx17__normal_iteratorIPKhSt6vectorIhSaIhEEEES7_(ptr, ptr) local_unnamed_addr #4

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"omnipotent char", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}
!8 = !{!9, !14, i64 376}
!9 = !{!"_ZTSN4ROHC11CRTPProfileE", !10, i64 0, !25, i64 328, !12, i64 352, !12, i64 354, !29, i64 356, !14, i64 368, !14, i64 372, !14, i64 376, !14, i64 380, !30, i64 384, !14, i64 440, !22, i64 444}
!10 = !{!"_ZTSN4ROHC8CProfileE", !11, i64 8, !12, i64 16, !13, i64 24, !14, i64 32, !14, i64 36, !14, i64 40, !14, i64 44, !13, i64 48, !13, i64 56, !14, i64 64, !14, i64 68, !12, i64 72, !15, i64 80, !20, i64 136, !21, i64 140, !22, i64 144, !23, i64 148, !14, i64 152, !14, i64 156, !24, i64 160, !12, i64 180, !12, i64 182, !15, i64 184, !6, i64 240}
!11 = !{!"any pointer", !6, i64 0}
!12 = !{!"short", !6, i64 0}
!13 = !{!"long", !6, i64 0}
!14 = !{!"int", !6, i64 0}
!15 = !{!"_ZTSN4ROHC4WLSBIiEE", !16, i64 0, !13, i64 24, !13, i64 32, !13, i64 40, !14, i64 48, !14, i64 52}
!16 = !{!"_ZTSSt6vectorIN4ROHC4WLSBIiE3LSBESaIS3_EE", !17, i64 0}
!17 = !{!"_ZTSSt12_Vector_baseIN4ROHC4WLSBIiE3LSBESaIS3_EE", !18, i64 0}
!18 = !{!"_ZTSNSt12_Vector_baseIN4ROHC4WLSBIiE3LSBESaIS3_EE12_Vector_implE", !19, i64 0}
!19 = !{!"_ZTSNSt12_Vector_baseIN4ROHC4WLSBIiE3LSBESaIS3_EE17_Vector_impl_dataE", !11, i64 0, !11, i64 8, !11, i64 16}
!20 = !{!"_ZTSN4ROHC12Reordering_tE", !6, i64 0}
!21 = !{!"_ZTSN4ROHC15IPIDBehaviour_tE", !6, i64 0}
!22 = !{!"bool", !6, i64 0}
!23 = !{!"_ZTSN4ROHC8CProfileUt_E", !6, i64 0}
!24 = !{!"_ZTSN4ROHC5iphdrE", !6, i64 0, !6, i64 0, !6, i64 1, !12, i64 2, !12, i64 4, !12, i64 6, !6, i64 8, !6, i64 9, !12, i64 10, !14, i64 12, !14, i64 16}
!25 = !{!"_ZTSSt6vectorIN4ROHC11CRTPProfile8CSRCItemESaIS2_EE", !26, i64 0}
!26 = !{!"_ZTSSt12_Vector_baseIN4ROHC11CRTPProfile8CSRCItemESaIS2_EE", !27, i64 0}
!27 = !{!"_ZTSNSt12_Vector_baseIN4ROHC11CRTPProfile8CSRCItemESaIS2_EE12_Vector_implE", !28, i64 0}
!28 = !{!"_ZTSNSt12_Vector_baseIN4ROHC11CRTPProfile8CSRCItemESaIS2_EE17_Vector_impl_dataE", !11, i64 0, !11, i64 8, !11, i64 16}
!29 = !{!"_ZTSN4ROHC6rtphdrE", !6, i64 0, !6, i64 0, !6, i64 0, !6, i64 0, !6, i64 1, !6, i64 1, !12, i64 2, !14, i64 4, !14, i64 8}
!30 = !{!"_ZTSN4ROHC4WLSBIjEE", !31, i64 0, !13, i64 24, !13, i64 32, !13, i64 40, !14, i64 48, !14, i64 52}
!31 = !{!"_ZTSSt6vectorIN4ROHC4WLSBIjE3LSBESaIS3_EE", !32, i64 0}
!32 = !{!"_ZTSSt12_Vector_baseIN4ROHC4WLSBIjE3LSBESaIS3_EE", !33, i64 0}
!33 = !{!"_ZTSNSt12_Vector_baseIN4ROHC4WLSBIjE3LSBESaIS3_EE12_Vector_implE", !34, i64 0}
!34 = !{!"_ZTSNSt12_Vector_baseIN4ROHC4WLSBIjE3LSBESaIS3_EE17_Vector_impl_dataE", !11, i64 0, !11, i64 8, !11, i64 16}
!35 = !{!10, !21, i64 140}
!36 = !{!9, !14, i64 440}


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