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

; 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::allocator.2" = type { i8 }
%"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 }
%"struct.ROHC::udphdr" = type { i16, i16, i16, i16 }

@_ZTVN4ROHC11CRTPProfileE = external dso_local unnamed_addr constant { [10 x ptr] }, align 8
@.str = external hidden unnamed_addr constant [20 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [71 x i8], align 1
@__PRETTY_FUNCTION__._ZN4ROHC11CRTPProfileC2EPNS_10CompressorEtPKNS_5iphdrE = external hidden unnamed_addr constant [70 x i8], align 1

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4ROHC11CRTPProfileC2EPNS_10CompressorEtPKNS_5iphdrE(ptr noundef nonnull align 8 dereferenceable(445) %0, ptr noundef %1, i16 noundef zeroext %2, ptr noundef %3) unnamed_addr #0 align 2 personality ptr @__gxx_personality_v0 {
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i16, align 2
  %8 = alloca ptr, align 8
  %9 = alloca %"class.std::allocator.2", align 1
  %10 = alloca ptr, align 8
  %11 = alloca i32, align 4
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  store i16 %2, ptr %7, align 2, !tbaa !9
  store ptr %3, ptr %8, align 8, !tbaa !5
  %14 = load ptr, ptr %5, align 8
  %15 = load ptr, ptr %6, align 8, !tbaa !5
  %16 = load i16, ptr %7, align 2, !tbaa !9
  %17 = load ptr, ptr %8, align 8, !tbaa !5
  call void @_ZN4ROHC8CProfileC2EPNS_10CompressorEtPKNS_5iphdrE(ptr noundef nonnull align 8 dereferenceable(328) %14, ptr noundef %15, i16 noundef zeroext %16, ptr noundef %17)
  store ptr getelementptr inbounds inrange(-16, 64) ({ [10 x ptr] }, ptr @_ZTVN4ROHC11CRTPProfileE, i32 0, i32 0, i32 2), ptr %14, align 8, !tbaa !11
  %18 = getelementptr inbounds %"class.ROHC::CRTPProfile", ptr %14, i32 0, i32 1
  call void @llvm.lifetime.start.p0(i64 1, ptr %9) #5
  call void @_ZNSaIN4ROHC11CRTPProfile8CSRCItemEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %9) #5
  invoke void @_ZNSt6vectorIN4ROHC11CRTPProfile8CSRCItemESaIS2_EEC2EmRKS3_(ptr noundef nonnull align 8 dereferenceable(24) %18, i64 noundef 16, ptr noundef nonnull align 1 dereferenceable(1) %9)
          to label %19 unwind label %47

19:                                               ; preds = %4
  call void @_ZNSt15__new_allocatorIN4ROHC11CRTPProfile8CSRCItemEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %9) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %9) #5
  %20 = getelementptr inbounds %"class.ROHC::CRTPProfile", ptr %14, i32 0, i32 4
  %21 = getelementptr inbounds %"class.ROHC::CRTPProfile", ptr %14, i32 0, i32 7
  store i32 0, ptr %21, align 8, !tbaa !13
  %22 = getelementptr inbounds %"class.ROHC::CRTPProfile", ptr %14, i32 0, i32 8
  store i32 0, ptr %22, align 4, !tbaa !38
  %23 = getelementptr inbounds %"class.ROHC::CRTPProfile", ptr %14, i32 0, i32 9
  invoke void @_ZN4ROHC4WLSBIjEC2Emji(ptr noundef nonnull align 8 dereferenceable(56) %23, i64 noundef 16, i32 noundef 16, i32 noundef 0)
          to label %24 unwind label %51

24:                                               ; preds = %19
  %25 = getelementptr inbounds %"class.ROHC::CRTPProfile", ptr %14, i32 0, i32 10
  store i32 160, ptr %25, align 8, !tbaa !39
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #5
  %26 = load ptr, ptr %8, align 8, !tbaa !5
  %27 = getelementptr inbounds %"struct.ROHC::iphdr", ptr %26, i64 1
  store ptr %27, ptr %12, align 8, !tbaa !5
  %28 = load ptr, ptr %12, align 8, !tbaa !5
  %29 = getelementptr inbounds %"struct.ROHC::udphdr", ptr %28, i32 0, i32 0
  %30 = load i16, ptr %29, align 2, !tbaa !40
  %31 = getelementptr inbounds %"class.ROHC::CRTPProfile", ptr %14, i32 0, i32 3
  store i16 %30, ptr %31, align 2, !tbaa !42
  %32 = load ptr, ptr %12, align 8, !tbaa !5
  %33 = getelementptr inbounds %"struct.ROHC::udphdr", ptr %32, i32 0, i32 1
  %34 = load i16, ptr %33, align 2, !tbaa !43
  %35 = getelementptr inbounds %"class.ROHC::CRTPProfile", ptr %14, i32 0, i32 2
  store i16 %34, ptr %35, align 8, !tbaa !44
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #5
  %36 = load ptr, ptr %12, align 8, !tbaa !5
  %37 = getelementptr inbounds %"struct.ROHC::udphdr", ptr %36, i64 1
  store ptr %37, ptr %13, align 8, !tbaa !5
  %38 = load ptr, ptr %13, align 8, !tbaa !5
  %39 = load i16, ptr %38, align 4
  %40 = lshr i16 %39, 6
  %41 = and i16 %40, 3
  %42 = trunc i16 %41 to i8
  %43 = zext i8 %42 to i32
  %44 = icmp eq i32 %43, 2
  br i1 %44, label %45, label %46

45:                                               ; preds = %24
  br label %56

46:                                               ; preds = %24
  call void @__assert_fail(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 24, ptr noundef @__PRETTY_FUNCTION__._ZN4ROHC11CRTPProfileC2EPNS_10CompressorEtPKNS_5iphdrE) #6
  unreachable

47:                                               ; preds = %4
  %48 = landingpad { ptr, i32 }
          cleanup
  %49 = extractvalue { ptr, i32 } %48, 0
  store ptr %49, ptr %10, align 8
  %50 = extractvalue { ptr, i32 } %48, 1
  store i32 %50, ptr %11, align 4
  call void @_ZNSt15__new_allocatorIN4ROHC11CRTPProfile8CSRCItemEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %9) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %9) #5
  br label %65

51:                                               ; preds = %19
  %52 = landingpad { ptr, i32 }
          cleanup
  %53 = extractvalue { ptr, i32 } %52, 0
  store ptr %53, ptr %10, align 8
  %54 = extractvalue { ptr, i32 } %52, 1
  store i32 %54, ptr %11, align 4
  call void @_ZNSt6vectorIN4ROHC11CRTPProfile8CSRCItemESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %18) #5
  br label %65

55:                                               ; No predecessors!
  br label %56

56:                                               ; preds = %55, %45
  %57 = load ptr, ptr %13, align 8, !tbaa !5
  %58 = getelementptr inbounds %"struct.ROHC::rtphdr", ptr %57, i32 0, i32 1
  %59 = load i16, ptr %58, align 2, !tbaa !45
  %60 = getelementptr inbounds %"class.ROHC::CProfile", ptr %14, i32 0, i32 12
  store i16 %59, ptr %60, align 8, !tbaa !46
  %61 = getelementptr inbounds %"class.ROHC::CRTPProfile", ptr %14, i32 0, i32 4
  %62 = getelementptr inbounds %"struct.ROHC::rtphdr", ptr %61, i32 0, i32 1
  store i16 0, ptr %62, align 2, !tbaa !47
  %63 = getelementptr inbounds %"class.ROHC::CRTPProfile", ptr %14, i32 0, i32 4
  %64 = getelementptr inbounds %"struct.ROHC::rtphdr", ptr %63, i32 0, i32 2
  store i32 0, ptr %64, align 4, !tbaa !48
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #5
  ret void

65:                                               ; preds = %51, %47
  call void @_ZN4ROHC8CProfileD2Ev(ptr noundef nonnull align 8 dereferenceable(328) %14) #5
  br label %66

66:                                               ; preds = %65
  %67 = load ptr, ptr %10, align 8
  %68 = load i32, ptr %11, align 4
  %69 = insertvalue { ptr, i32 } poison, ptr %67, 0
  %70 = insertvalue { ptr, i32 } %69, i32 %68, 1
  resume { ptr, i32 } %70
}

declare void @_ZN4ROHC8CProfileC2EPNS_10CompressorEtPKNS_5iphdrE(ptr noundef nonnull align 8 dereferenceable(328), ptr noundef, i16 noundef zeroext, ptr noundef) unnamed_addr #1

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

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

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

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4ROHC4WLSBIjEC2Emji(ptr noundef nonnull align 8 dereferenceable(56), i64 noundef, i32 noundef, i32 noundef) unnamed_addr #0 align 2

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #4

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

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

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

attributes #0 = { 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 #1 = { "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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { noreturn nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nounwind }
attributes #6 = { noreturn 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, !10, i64 0}
!10 = !{!"short", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"vtable pointer", !8, i64 0}
!13 = !{!14, !17, i64 376}
!14 = !{!"_ZTSN4ROHC11CRTPProfileE", !15, i64 0, !28, i64 328, !10, i64 352, !10, i64 354, !32, i64 356, !17, i64 368, !17, i64 372, !17, i64 376, !17, i64 380, !33, i64 384, !17, i64 440, !25, i64 444}
!15 = !{!"_ZTSN4ROHC8CProfileE", !6, i64 8, !10, i64 16, !16, i64 24, !17, i64 32, !17, i64 36, !17, i64 40, !17, i64 44, !16, i64 48, !16, i64 56, !17, i64 64, !17, i64 68, !10, i64 72, !18, i64 80, !23, i64 136, !24, i64 140, !25, i64 144, !26, i64 148, !17, i64 152, !17, i64 156, !27, i64 160, !10, i64 180, !10, i64 182, !18, i64 184, !7, i64 240}
!16 = !{!"long", !7, i64 0}
!17 = !{!"int", !7, i64 0}
!18 = !{!"_ZTSN4ROHC4WLSBIiEE", !19, i64 0, !16, i64 24, !16, i64 32, !16, i64 40, !17, i64 48, !17, i64 52}
!19 = !{!"_ZTSSt6vectorIN4ROHC4WLSBIiE3LSBESaIS3_EE", !20, i64 0}
!20 = !{!"_ZTSSt12_Vector_baseIN4ROHC4WLSBIiE3LSBESaIS3_EE", !21, i64 0}
!21 = !{!"_ZTSNSt12_Vector_baseIN4ROHC4WLSBIiE3LSBESaIS3_EE12_Vector_implE", !22, i64 0}
!22 = !{!"_ZTSNSt12_Vector_baseIN4ROHC4WLSBIiE3LSBESaIS3_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!23 = !{!"_ZTSN4ROHC12Reordering_tE", !7, i64 0}
!24 = !{!"_ZTSN4ROHC15IPIDBehaviour_tE", !7, i64 0}
!25 = !{!"bool", !7, i64 0}
!26 = !{!"_ZTSN4ROHC8CProfileUt_E", !7, i64 0}
!27 = !{!"_ZTSN4ROHC5iphdrE", !7, i64 0, !7, i64 0, !7, i64 1, !10, i64 2, !10, i64 4, !10, i64 6, !7, i64 8, !7, i64 9, !10, i64 10, !17, i64 12, !17, i64 16}
!28 = !{!"_ZTSSt6vectorIN4ROHC11CRTPProfile8CSRCItemESaIS2_EE", !29, i64 0}
!29 = !{!"_ZTSSt12_Vector_baseIN4ROHC11CRTPProfile8CSRCItemESaIS2_EE", !30, i64 0}
!30 = !{!"_ZTSNSt12_Vector_baseIN4ROHC11CRTPProfile8CSRCItemESaIS2_EE12_Vector_implE", !31, i64 0}
!31 = !{!"_ZTSNSt12_Vector_baseIN4ROHC11CRTPProfile8CSRCItemESaIS2_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!32 = !{!"_ZTSN4ROHC6rtphdrE", !7, i64 0, !7, i64 0, !7, i64 0, !7, i64 0, !7, i64 1, !7, i64 1, !10, i64 2, !17, i64 4, !17, i64 8}
!33 = !{!"_ZTSN4ROHC4WLSBIjEE", !34, i64 0, !16, i64 24, !16, i64 32, !16, i64 40, !17, i64 48, !17, i64 52}
!34 = !{!"_ZTSSt6vectorIN4ROHC4WLSBIjE3LSBESaIS3_EE", !35, i64 0}
!35 = !{!"_ZTSSt12_Vector_baseIN4ROHC4WLSBIjE3LSBESaIS3_EE", !36, i64 0}
!36 = !{!"_ZTSNSt12_Vector_baseIN4ROHC4WLSBIjE3LSBESaIS3_EE12_Vector_implE", !37, i64 0}
!37 = !{!"_ZTSNSt12_Vector_baseIN4ROHC4WLSBIjE3LSBESaIS3_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!38 = !{!14, !17, i64 380}
!39 = !{!14, !17, i64 440}
!40 = !{!41, !10, i64 0}
!41 = !{!"_ZTSN4ROHC6udphdrE", !10, i64 0, !10, i64 2, !10, i64 4, !10, i64 6}
!42 = !{!14, !10, i64 354}
!43 = !{!41, !10, i64 2}
!44 = !{!14, !10, i64 352}
!45 = !{!32, !10, i64 2}
!46 = !{!15, !10, i64 72}
!47 = !{!14, !10, i64 358}
!48 = !{!14, !17, i64 360}


; 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::allocator.2" = type { i8 }

@_ZTVN4ROHC11CRTPProfileE = external dso_local unnamed_addr constant { [10 x ptr] }, align 8
@.str = external hidden unnamed_addr constant [20 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [71 x i8], align 1
@__PRETTY_FUNCTION__._ZN4ROHC11CRTPProfileC2EPNS_10CompressorEtPKNS_5iphdrE = external hidden unnamed_addr constant [70 x i8], align 1

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4ROHC11CRTPProfileC2EPNS_10CompressorEtPKNS_5iphdrE(ptr noundef nonnull align 8 dereferenceable(445) %0, ptr noundef %1, i16 noundef zeroext %2, ptr noundef %3) unnamed_addr #0 align 2 personality ptr @__gxx_personality_v0 {
  %5 = alloca %"class.std::allocator.2", align 1
  tail call void @_ZN4ROHC8CProfileC2EPNS_10CompressorEtPKNS_5iphdrE(ptr noundef nonnull align 8 dereferenceable(328) %0, ptr noundef %1, i16 noundef zeroext %2, ptr noundef %3)
  store ptr getelementptr inbounds inrange(-16, 64) (i8, ptr @_ZTVN4ROHC11CRTPProfileE, i64 16), ptr %0, align 8, !tbaa !5
  %6 = getelementptr inbounds i8, ptr %0, i64 328
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %5) #5
  call void @_ZNSaIN4ROHC11CRTPProfile8CSRCItemEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %5) #5
  invoke void @_ZNSt6vectorIN4ROHC11CRTPProfile8CSRCItemESaIS2_EEC2EmRKS3_(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef 16, ptr noundef nonnull align 1 dereferenceable(1) %5)
          to label %7 unwind label %22

7:                                                ; preds = %4
  call void @_ZNSt15__new_allocatorIN4ROHC11CRTPProfile8CSRCItemEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %5) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %5) #5
  %8 = getelementptr inbounds i8, ptr %0, i64 376
  store i32 0, ptr %8, align 8, !tbaa !8
  %9 = getelementptr inbounds i8, ptr %0, i64 380
  store i32 0, ptr %9, align 4, !tbaa !36
  %10 = getelementptr inbounds i8, ptr %0, i64 384
  invoke void @_ZN4ROHC4WLSBIjEC2Emji(ptr noundef nonnull align 8 dereferenceable(56) %10, i64 noundef 16, i32 noundef 16, i32 noundef 0)
          to label %11 unwind label %24

11:                                               ; preds = %7
  %12 = getelementptr inbounds i8, ptr %0, i64 440
  store i32 160, ptr %12, align 8, !tbaa !37
  %13 = getelementptr inbounds i8, ptr %3, i64 20
  %14 = getelementptr inbounds i8, ptr %0, i64 352
  %15 = load <2 x i16>, ptr %13, align 2, !tbaa !38
  %16 = shufflevector <2 x i16> %15, <2 x i16> poison, <2 x i32> <i32 1, i32 0>
  store <2 x i16> %16, ptr %14, align 8, !tbaa !38
  %17 = getelementptr inbounds i8, ptr %3, i64 28
  %18 = load i16, ptr %17, align 4
  %19 = and i16 %18, 192
  %20 = icmp eq i16 %19, 128
  br i1 %20, label %26, label %21

21:                                               ; preds = %11
  call void @__assert_fail(ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, i32 noundef 24, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN4ROHC11CRTPProfileC2EPNS_10CompressorEtPKNS_5iphdrE) #6
  unreachable

22:                                               ; preds = %4
  %23 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIN4ROHC11CRTPProfile8CSRCItemEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %5) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %5) #5
  br label %32

24:                                               ; preds = %7
  %25 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt6vectorIN4ROHC11CRTPProfile8CSRCItemESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #5
  br label %32

26:                                               ; preds = %11
  %27 = getelementptr inbounds i8, ptr %3, i64 30
  %28 = load i16, ptr %27, align 2, !tbaa !39
  %29 = getelementptr inbounds i8, ptr %0, i64 72
  store i16 %28, ptr %29, align 8, !tbaa !40
  %30 = getelementptr inbounds i8, ptr %0, i64 358
  store i16 0, ptr %30, align 2, !tbaa !41
  %31 = getelementptr inbounds i8, ptr %0, i64 360
  store i32 0, ptr %31, align 8, !tbaa !42
  ret void

32:                                               ; preds = %24, %22
  %.pn = phi { ptr, i32 } [ %25, %24 ], [ %23, %22 ]
  call void @_ZN4ROHC8CProfileD2Ev(ptr noundef nonnull align 8 dereferenceable(328) %0) #5
  resume { ptr, i32 } %.pn
}

declare void @_ZN4ROHC8CProfileC2EPNS_10CompressorEtPKNS_5iphdrE(ptr noundef nonnull align 8 dereferenceable(328), ptr noundef, i16 noundef zeroext, ptr noundef) unnamed_addr #1

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

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

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

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4ROHC4WLSBIjEC2Emji(ptr noundef nonnull align 8 dereferenceable(56), i64 noundef, i32 noundef, i32 noundef) unnamed_addr #0 align 2

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #4

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

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

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

attributes #0 = { 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 #1 = { "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 nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { noreturn nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nounwind }
attributes #6 = { noreturn 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 = !{!"vtable pointer", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}
!8 = !{!9, !15, i64 376}
!9 = !{!"_ZTSN4ROHC11CRTPProfileE", !10, i64 0, !26, i64 328, !13, i64 352, !13, i64 354, !30, i64 356, !15, i64 368, !15, i64 372, !15, i64 376, !15, i64 380, !31, i64 384, !15, i64 440, !23, i64 444}
!10 = !{!"_ZTSN4ROHC8CProfileE", !11, i64 8, !13, i64 16, !14, i64 24, !15, i64 32, !15, i64 36, !15, i64 40, !15, i64 44, !14, i64 48, !14, i64 56, !15, i64 64, !15, i64 68, !13, i64 72, !16, i64 80, !21, i64 136, !22, i64 140, !23, i64 144, !24, i64 148, !15, i64 152, !15, i64 156, !25, i64 160, !13, i64 180, !13, i64 182, !16, i64 184, !12, i64 240}
!11 = !{!"any pointer", !12, i64 0}
!12 = !{!"omnipotent char", !7, i64 0}
!13 = !{!"short", !12, i64 0}
!14 = !{!"long", !12, i64 0}
!15 = !{!"int", !12, i64 0}
!16 = !{!"_ZTSN4ROHC4WLSBIiEE", !17, i64 0, !14, i64 24, !14, i64 32, !14, i64 40, !15, i64 48, !15, i64 52}
!17 = !{!"_ZTSSt6vectorIN4ROHC4WLSBIiE3LSBESaIS3_EE", !18, i64 0}
!18 = !{!"_ZTSSt12_Vector_baseIN4ROHC4WLSBIiE3LSBESaIS3_EE", !19, i64 0}
!19 = !{!"_ZTSNSt12_Vector_baseIN4ROHC4WLSBIiE3LSBESaIS3_EE12_Vector_implE", !20, i64 0}
!20 = !{!"_ZTSNSt12_Vector_baseIN4ROHC4WLSBIiE3LSBESaIS3_EE17_Vector_impl_dataE", !11, i64 0, !11, i64 8, !11, i64 16}
!21 = !{!"_ZTSN4ROHC12Reordering_tE", !12, i64 0}
!22 = !{!"_ZTSN4ROHC15IPIDBehaviour_tE", !12, i64 0}
!23 = !{!"bool", !12, i64 0}
!24 = !{!"_ZTSN4ROHC8CProfileUt_E", !12, i64 0}
!25 = !{!"_ZTSN4ROHC5iphdrE", !12, i64 0, !12, i64 0, !12, i64 1, !13, i64 2, !13, i64 4, !13, i64 6, !12, i64 8, !12, i64 9, !13, i64 10, !15, i64 12, !15, i64 16}
!26 = !{!"_ZTSSt6vectorIN4ROHC11CRTPProfile8CSRCItemESaIS2_EE", !27, i64 0}
!27 = !{!"_ZTSSt12_Vector_baseIN4ROHC11CRTPProfile8CSRCItemESaIS2_EE", !28, i64 0}
!28 = !{!"_ZTSNSt12_Vector_baseIN4ROHC11CRTPProfile8CSRCItemESaIS2_EE12_Vector_implE", !29, i64 0}
!29 = !{!"_ZTSNSt12_Vector_baseIN4ROHC11CRTPProfile8CSRCItemESaIS2_EE17_Vector_impl_dataE", !11, i64 0, !11, i64 8, !11, i64 16}
!30 = !{!"_ZTSN4ROHC6rtphdrE", !12, i64 0, !12, i64 0, !12, i64 0, !12, i64 0, !12, i64 1, !12, i64 1, !13, i64 2, !15, i64 4, !15, i64 8}
!31 = !{!"_ZTSN4ROHC4WLSBIjEE", !32, i64 0, !14, i64 24, !14, i64 32, !14, i64 40, !15, i64 48, !15, i64 52}
!32 = !{!"_ZTSSt6vectorIN4ROHC4WLSBIjE3LSBESaIS3_EE", !33, i64 0}
!33 = !{!"_ZTSSt12_Vector_baseIN4ROHC4WLSBIjE3LSBESaIS3_EE", !34, i64 0}
!34 = !{!"_ZTSNSt12_Vector_baseIN4ROHC4WLSBIjE3LSBESaIS3_EE12_Vector_implE", !35, i64 0}
!35 = !{!"_ZTSNSt12_Vector_baseIN4ROHC4WLSBIjE3LSBESaIS3_EE17_Vector_impl_dataE", !11, i64 0, !11, i64 8, !11, i64 16}
!36 = !{!9, !15, i64 380}
!37 = !{!9, !15, i64 440}
!38 = !{!13, !13, i64 0}
!39 = !{!30, !13, i64 2}
!40 = !{!10, !13, i64 72}
!41 = !{!9, !13, i64 358}
!42 = !{!9, !15, i64 360}


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