; LLVM IR from Columbitech/rohc :: src (drtp_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.__gnu_cxx::__normal_iterator.0" = type { ptr }
%"class.ROHC::DProfile" = type <{ ptr, ptr, i16, [2 x i8], i32, i16, i16, i32, i32, i32, i64, i64, i8, [3 x i8], %"struct.ROHC::iphdr", i64, i32, [4 x i8] }>
%"struct.ROHC::iphdr" = type { i8, i8, i16, i16, i16, i8, i8, i16, i32, i32 }

@.str.29 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [29 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 nounwind uwtable
declare dso_local noundef nonnull align 1 dereferenceable(1) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPhSt6vectorIhSaIhEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8)) #1 align 2

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN4ROHC11DRTPProfile17parse_pt_2_seq_idERN9__gnu_cxx17__normal_iteratorIPhSt6vectorIhSaIhEEEERKS7_(ptr noundef nonnull align 8 dereferenceable(132) %0, ptr noundef nonnull align 8 dereferenceable(8) %1, ptr noundef nonnull align 8 dereferenceable(8) %2) #2 align 2 {
  %4 = alloca i1, align 1
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca [3 x i8], align 1
  %9 = alloca %"class.__gnu_cxx::__normal_iterator.0", align 8
  %10 = alloca %"class.__gnu_cxx::__normal_iterator.0", align 8
  %11 = alloca %"class.__gnu_cxx::__normal_iterator.0", align 8
  %12 = alloca i8, align 1
  %13 = alloca i8, align 1
  %14 = alloca i32, align 4
  %15 = alloca i8, align 1
  %16 = alloca i8, align 1
  %17 = alloca i16, align 2
  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
  %18 = load ptr, ptr %5, align 8
  %19 = load ptr, ptr %7, align 8, !tbaa !5
  %20 = load ptr, ptr %6, align 8, !tbaa !5
  %21 = call noundef i64 @_ZN9__gnu_cxxmiIPhSt6vectorIhSaIhEEEENS_17__normal_iteratorIT_T0_E15difference_typeERKS8_SB_(ptr noundef nonnull align 8 dereferenceable(8) %19, ptr noundef nonnull align 8 dereferenceable(8) %20) #5
  %22 = icmp slt i64 %21, 3
  br i1 %22, label %23, label %24

23:                                               ; preds = %3
  call void (ptr, ...) @_ZN4ROHC5errorEPKcz(ptr noundef @.str.29)
  store i1 false, ptr %4, align 1
  br label %98

24:                                               ; preds = %3
  call void @llvm.lifetime.start.p0(i64 3, ptr %8) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #5
  %25 = load ptr, ptr %6, align 8, !tbaa !5
  %26 = call ptr @_ZN9__gnu_cxx17__normal_iteratorIPhSt6vectorIhSaIhEEEppEi(ptr noundef nonnull align 8 dereferenceable(8) %25, i32 noundef 0) #5
  %27 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.0", ptr %9, i32 0, i32 0
  store ptr %26, ptr %27, align 8
  %28 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPhSt6vectorIhSaIhEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %9) #5
  %29 = load i8, ptr %28, align 1, !tbaa !9
  %30 = getelementptr inbounds [3 x i8], ptr %8, i64 0, i64 0
  store i8 %29, ptr %30, align 1, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #5
  %31 = load ptr, ptr %6, align 8, !tbaa !5
  %32 = call ptr @_ZN9__gnu_cxx17__normal_iteratorIPhSt6vectorIhSaIhEEEppEi(ptr noundef nonnull align 8 dereferenceable(8) %31, i32 noundef 0) #5
  %33 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.0", ptr %10, i32 0, i32 0
  store ptr %32, ptr %33, align 8
  %34 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPhSt6vectorIhSaIhEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %10) #5
  %35 = load i8, ptr %34, align 1, !tbaa !9
  %36 = getelementptr inbounds [3 x i8], ptr %8, i64 0, i64 1
  store i8 %35, ptr %36, align 1, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #5
  %37 = load ptr, ptr %6, align 8, !tbaa !5
  %38 = call ptr @_ZN9__gnu_cxx17__normal_iteratorIPhSt6vectorIhSaIhEEEppEi(ptr noundef nonnull align 8 dereferenceable(8) %37, i32 noundef 0) #5
  %39 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.0", ptr %11, i32 0, i32 0
  store ptr %38, ptr %39, align 8
  %40 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPhSt6vectorIhSaIhEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %11) #5
  %41 = load i8, ptr %40, align 1, !tbaa !9
  %42 = getelementptr inbounds [3 x i8], ptr %8, i64 0, i64 2
  store i8 %41, ptr %42, align 1, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr %12) #5
  %43 = getelementptr inbounds [3 x i8], ptr %8, i64 0, i64 2
  %44 = load i8, ptr %43, align 1, !tbaa !9
  store i8 %44, ptr %12, align 1, !tbaa !9
  %45 = getelementptr inbounds [3 x i8], ptr %8, i64 0, i64 2
  %46 = load i8, ptr %45, align 1, !tbaa !9
  %47 = zext i8 %46 to i32
  %48 = and i32 %47, 128
  %49 = trunc i32 %48 to i8
  store i8 %49, ptr %45, align 1, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr %13) #5
  %50 = getelementptr inbounds [3 x i8], ptr %8, i64 0, i64 0
  %51 = getelementptr inbounds [3 x i8], ptr %8, i64 0, i64 0
  %52 = getelementptr inbounds i8, ptr %51, i64 3
  %53 = call noundef zeroext i8 @_ZN4ROHC4CRC7EPKhS1_(ptr noundef %50, ptr noundef %52)
  store i8 %53, ptr %13, align 1, !tbaa !9
  %54 = load i8, ptr %13, align 1, !tbaa !9
  %55 = zext i8 %54 to i32
  %56 = load i8, ptr %12, align 1, !tbaa !9
  %57 = zext i8 %56 to i32
  %58 = and i32 %57, 127
  %59 = icmp ne i32 %55, %58
  br i1 %59, label %60, label %61

60:                                               ; preds = %24
  call void (ptr, ...) @_ZN4ROHC5errorEPKcz(ptr noundef @.str.30)
  call void @_ZN4ROHC8DProfile8SendNackEv(ptr noundef nonnull align 8 dereferenceable(92) %18)
  store i1 false, ptr %4, align 1
  store i32 1, ptr %14, align 4
  br label %97

61:                                               ; preds = %24
  call void @llvm.lifetime.start.p0(i64 1, ptr %15) #5
  %62 = getelementptr inbounds [3 x i8], ptr %8, i64 0, i64 0
  %63 = load i8, ptr %62, align 1, !tbaa !9
  %64 = zext i8 %63 to i32
  %65 = and i32 %64, 7
  %66 = shl i32 %65, 4
  %67 = trunc i32 %66 to i8
  store i8 %67, ptr %15, align 1, !tbaa !9
  %68 = getelementptr inbounds [3 x i8], ptr %8, i64 0, i64 1
  %69 = load i8, ptr %68, align 1, !tbaa !9
  %70 = zext i8 %69 to i32
  %71 = ashr i32 %70, 4
  %72 = load i8, ptr %15, align 1, !tbaa !9
  %73 = zext i8 %72 to i32
  %74 = or i32 %73, %71
  %75 = trunc i32 %74 to i8
  store i8 %75, ptr %15, align 1, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr %16) #5
  %76 = getelementptr inbounds [3 x i8], ptr %8, i64 0, i64 1
  %77 = load i8, ptr %76, align 1, !tbaa !9
  %78 = zext i8 %77 to i32
  %79 = and i32 %78, 15
  %80 = shl i32 %79, 1
  %81 = trunc i32 %80 to i8
  store i8 %81, ptr %16, align 1, !tbaa !9
  %82 = load i8, ptr %12, align 1, !tbaa !9
  %83 = zext i8 %82 to i32
  %84 = ashr i32 %83, 7
  %85 = load i8, ptr %16, align 1, !tbaa !9
  %86 = zext i8 %85 to i32
  %87 = or i32 %86, %84
  %88 = trunc i32 %87 to i8
  store i8 %88, ptr %16, align 1, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 2, ptr %17) #5
  %89 = load i8, ptr %15, align 1, !tbaa !9
  %90 = zext i8 %89 to i16
  %91 = getelementptr inbounds %"class.ROHC::DProfile", ptr %18, i32 0, i32 5
  %92 = call noundef zeroext i16 @_ZNK4ROHC8DProfile9UpdateMSNEtjRt(ptr noundef nonnull align 8 dereferenceable(92) %18, i16 noundef zeroext %90, i32 noundef 7, ptr noundef nonnull align 2 dereferenceable(2) %91)
  store i16 %92, ptr %17, align 2, !tbaa !10
  %93 = load i8, ptr %16, align 1, !tbaa !9
  %94 = getelementptr inbounds %"class.ROHC::DProfile", ptr %18, i32 0, i32 6
  call void @_ZNK4ROHC8DProfile16UpdateIPIDOffsetEhjRt(ptr noundef nonnull align 8 dereferenceable(92) %18, i8 noundef zeroext %93, i32 noundef 5, ptr noundef nonnull align 2 dereferenceable(2) %94)
  call void @_ZN4ROHC8DProfile20UpdateIPIDFromOffsetEv(ptr noundef nonnull align 8 dereferenceable(92) %18)
  %95 = load i16, ptr %17, align 2, !tbaa !10
  %96 = call noundef zeroext i1 @_ZN4ROHC11DRTPProfile24parse_inferred_scaled_tsEt(ptr noundef nonnull align 8 dereferenceable(132) %18, i16 noundef zeroext %95)
  store i1 %96, ptr %4, align 1
  store i32 1, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 2, ptr %17) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %16) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %15) #5
  br label %97

97:                                               ; preds = %61, %60
  call void @llvm.lifetime.end.p0(i64 1, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 3, ptr %8) #5
  br label %98

98:                                               ; preds = %97, %23
  %99 = load i1, ptr %4, align 1
  ret i1 %99
}

declare void @_ZN4ROHC5errorEPKcz(ptr noundef, ...) #3

declare void @_ZN4ROHC8DProfile8SendNackEv(ptr noundef nonnull align 8 dereferenceable(92)) #3

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

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

declare void @_ZN4ROHC8DProfile20UpdateIPIDFromOffsetEv(ptr noundef nonnull align 8 dereferenceable(92)) #3

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN4ROHC11DRTPProfile24parse_inferred_scaled_tsEt(ptr noundef nonnull align 8 dereferenceable(132), i16 noundef zeroext) #2 align 2

declare noundef zeroext i16 @_ZNK4ROHC8DProfile9UpdateMSNEtjRt(ptr noundef nonnull align 8 dereferenceable(92), i16 noundef zeroext, i32 noundef, ptr noundef nonnull align 2 dereferenceable(2)) #3

declare noundef zeroext i8 @_ZN4ROHC4CRC7EPKhS1_(ptr noundef, ptr noundef) #3

declare void @_ZNK4ROHC8DProfile16UpdateIPIDOffsetEhjRt(ptr noundef nonnull align 8 dereferenceable(92), i8 noundef zeroext, i32 noundef, ptr noundef nonnull align 2 dereferenceable(2)) #3

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 = { "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 = { 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 #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 = !{!7, !7, i64 0}
!10 = !{!11, !11, i64 0}
!11 = !{!"short", !7, 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.__gnu_cxx::__normal_iterator.0" = type { ptr }

@.str.29 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [29 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 nounwind uwtable
declare dso_local noundef nonnull align 1 dereferenceable(1) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPhSt6vectorIhSaIhEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN4ROHC11DRTPProfile17parse_pt_2_seq_idERN9__gnu_cxx17__normal_iteratorIPhSt6vectorIhSaIhEEEERKS7_(ptr noundef nonnull align 8 dereferenceable(132) %0, ptr noundef nonnull align 8 dereferenceable(8) %1, ptr noundef nonnull align 8 dereferenceable(8) %2) local_unnamed_addr #2 align 2 {
  %4 = alloca [3 x i8], align 1
  %5 = alloca %"class.__gnu_cxx::__normal_iterator.0", align 8
  %6 = alloca %"class.__gnu_cxx::__normal_iterator.0", align 8
  %7 = alloca %"class.__gnu_cxx::__normal_iterator.0", align 8
  %8 = tail call noundef i64 @_ZN9__gnu_cxxmiIPhSt6vectorIhSaIhEEEENS_17__normal_iteratorIT_T0_E15difference_typeERKS8_SB_(ptr noundef nonnull align 8 dereferenceable(8) %2, ptr noundef nonnull align 8 dereferenceable(8) %1) #5
  %9 = icmp slt i64 %8, 3
  br i1 %9, label %10, label %11

10:                                               ; preds = %3
  tail call void (ptr, ...) @_ZN4ROHC5errorEPKcz(ptr noundef nonnull @.str.29)
  br label %45

11:                                               ; preds = %3
  call void @llvm.lifetime.start.p0(i64 3, ptr nonnull %4) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #5
  %12 = tail call ptr @_ZN9__gnu_cxx17__normal_iteratorIPhSt6vectorIhSaIhEEEppEi(ptr noundef nonnull align 8 dereferenceable(8) %1, i32 noundef 0) #5
  store ptr %12, ptr %5, align 8
  %13 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPhSt6vectorIhSaIhEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %5) #5
  %14 = load i8, ptr %13, align 1, !tbaa !5
  store i8 %14, ptr %4, align 1, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #5
  %15 = call ptr @_ZN9__gnu_cxx17__normal_iteratorIPhSt6vectorIhSaIhEEEppEi(ptr noundef nonnull align 8 dereferenceable(8) %1, i32 noundef 0) #5
  store ptr %15, ptr %6, align 8
  %16 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPhSt6vectorIhSaIhEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %6) #5
  %17 = load i8, ptr %16, align 1, !tbaa !5
  %18 = getelementptr inbounds i8, ptr %4, i64 1
  store i8 %17, ptr %18, align 1, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #5
  %19 = call ptr @_ZN9__gnu_cxx17__normal_iteratorIPhSt6vectorIhSaIhEEEppEi(ptr noundef nonnull align 8 dereferenceable(8) %1, i32 noundef 0) #5
  store ptr %19, ptr %7, align 8
  %20 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPhSt6vectorIhSaIhEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %7) #5
  %21 = load i8, ptr %20, align 1, !tbaa !5
  %22 = getelementptr inbounds i8, ptr %4, i64 2
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #5
  %23 = and i8 %21, -128
  store i8 %23, ptr %22, align 1, !tbaa !5
  %24 = getelementptr inbounds i8, ptr %4, i64 3
  %25 = call noundef zeroext i8 @_ZN4ROHC4CRC7EPKhS1_(ptr noundef nonnull %4, ptr noundef nonnull %24)
  %26 = and i8 %21, 127
  %.not = icmp eq i8 %26, %25
  br i1 %.not, label %28, label %27

27:                                               ; preds = %11
  call void (ptr, ...) @_ZN4ROHC5errorEPKcz(ptr noundef nonnull @.str.30)
  call void @_ZN4ROHC8DProfile8SendNackEv(ptr noundef nonnull align 8 dereferenceable(92) %0)
  br label %44

28:                                               ; preds = %11
  %29 = load i8, ptr %4, align 1, !tbaa !5
  %30 = shl i8 %29, 4
  %31 = and i8 %30, 112
  %32 = load i8, ptr %18, align 1, !tbaa !5
  %33 = lshr i8 %32, 4
  %34 = or disjoint i8 %33, %31
  %35 = shl i8 %32, 1
  %36 = and i8 %35, 30
  %37 = lshr i8 %21, 7
  %38 = or disjoint i8 %36, %37
  %39 = zext nneg i8 %34 to i16
  %40 = getelementptr inbounds i8, ptr %0, i64 24
  %41 = call noundef zeroext i16 @_ZNK4ROHC8DProfile9UpdateMSNEtjRt(ptr noundef nonnull align 8 dereferenceable(92) %0, i16 noundef zeroext %39, i32 noundef 7, ptr noundef nonnull align 2 dereferenceable(2) %40)
  %42 = getelementptr inbounds i8, ptr %0, i64 26
  call void @_ZNK4ROHC8DProfile16UpdateIPIDOffsetEhjRt(ptr noundef nonnull align 8 dereferenceable(92) %0, i8 noundef zeroext %38, i32 noundef 5, ptr noundef nonnull align 2 dereferenceable(2) %42)
  call void @_ZN4ROHC8DProfile20UpdateIPIDFromOffsetEv(ptr noundef nonnull align 8 dereferenceable(92) %0)
  %43 = call noundef zeroext i1 @_ZN4ROHC11DRTPProfile24parse_inferred_scaled_tsEt(ptr noundef nonnull align 8 dereferenceable(132) %0, i16 noundef zeroext %41)
  br label %44

44:                                               ; preds = %28, %27
  %.0 = phi i1 [ false, %27 ], [ %43, %28 ]
  call void @llvm.lifetime.end.p0(i64 3, ptr nonnull %4) #5
  br label %45

45:                                               ; preds = %44, %10
  %.1 = phi i1 [ false, %10 ], [ %.0, %44 ]
  ret i1 %.1
}

declare void @_ZN4ROHC5errorEPKcz(ptr noundef, ...) local_unnamed_addr #3

declare void @_ZN4ROHC8DProfile8SendNackEv(ptr noundef nonnull align 8 dereferenceable(92)) local_unnamed_addr #3

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

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

declare void @_ZN4ROHC8DProfile20UpdateIPIDFromOffsetEv(ptr noundef nonnull align 8 dereferenceable(92)) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN4ROHC11DRTPProfile24parse_inferred_scaled_tsEt(ptr noundef nonnull align 8 dereferenceable(132), i16 noundef zeroext) local_unnamed_addr #2 align 2

declare noundef zeroext i16 @_ZNK4ROHC8DProfile9UpdateMSNEtjRt(ptr noundef nonnull align 8 dereferenceable(92), i16 noundef zeroext, i32 noundef, ptr noundef nonnull align 2 dereferenceable(2)) local_unnamed_addr #3

declare noundef zeroext i8 @_ZN4ROHC4CRC7EPKhS1_(ptr noundef, ptr noundef) local_unnamed_addr #3

declare void @_ZNK4ROHC8DProfile16UpdateIPIDOffsetEhjRt(ptr noundef nonnull align 8 dereferenceable(92), i8 noundef zeroext, i32 noundef, ptr noundef nonnull align 2 dereferenceable(2)) local_unnamed_addr #3

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 = { "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 = { 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 #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 = !{!"omnipotent char", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}


; Effective O3 passes: DSEPass,EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,ReassociatePass,SROAPass,TailCallElimPass