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

@.str.4 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [34 x i8], align 1

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #0

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

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

declare void @_ZN4ROHC8DProfile13SendFeedback1Ev(ptr noundef nonnull align 8 dereferenceable(92)) #2

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4ROHC11DUDPProfile7ParseCOEhRSt6vectorIhSaIhEEN9__gnu_cxx17__normal_iteratorIPhS3_EES4_(ptr noundef nonnull align 8 dereferenceable(102) %0, i8 noundef zeroext %1, ptr noundef nonnull align 8 dereferenceable(24) %2, ptr %3, ptr noundef nonnull align 8 dereferenceable(24) %4) unnamed_addr #1 align 2 {
  %6 = alloca %"class.__gnu_cxx::__normal_iterator.0", align 8
  %7 = alloca ptr, align 8
  %8 = alloca i8, align 1
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca %"class.__gnu_cxx::__normal_iterator.0", align 8
  %12 = alloca i8, align 1
  %13 = alloca %"class.__gnu_cxx::__normal_iterator.0", align 8
  %14 = alloca i32, align 4
  %15 = alloca %"class.__gnu_cxx::__normal_iterator.0", align 8
  %16 = alloca %"class.__gnu_cxx::__normal_iterator.0", align 8
  %17 = alloca %"class.__gnu_cxx::__normal_iterator.0", align 8
  %18 = alloca %"class.__gnu_cxx::__normal_iterator.0", align 8
  %19 = alloca %"class.__gnu_cxx::__normal_iterator.0", align 8
  %20 = alloca %"class.__gnu_cxx::__normal_iterator.0", align 8
  %21 = alloca %"class.__gnu_cxx::__normal_iterator.0", align 8
  %22 = alloca i64, align 8
  %23 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %24 = alloca %"class.__gnu_cxx::__normal_iterator.0", align 8
  %25 = alloca %"class.__gnu_cxx::__normal_iterator.0", align 8
  %26 = alloca %"class.__gnu_cxx::__normal_iterator.0", align 8
  %27 = alloca %"class.__gnu_cxx::__normal_iterator.0", align 8
  %28 = alloca ptr, align 8
  %29 = alloca ptr, align 8
  %30 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.0", ptr %6, i32 0, i32 0
  store ptr %3, ptr %30, align 8
  store ptr %0, ptr %7, align 8, !tbaa !5
  store i8 %1, ptr %8, align 1, !tbaa !9
  store ptr %2, ptr %9, align 8, !tbaa !5
  store ptr %4, ptr %10, align 8, !tbaa !5
  %31 = load ptr, ptr %7, align 8
  %32 = getelementptr inbounds %"class.ROHC::DProfile", ptr %31, i32 0, i32 4
  %33 = load i32, ptr %32, align 4, !tbaa !10
  %34 = icmp ne i32 2, %33
  br i1 %34, label %35, label %43

35:                                               ; preds = %5
  %36 = getelementptr inbounds %"class.ROHC::DProfile", ptr %31, i32 0, i32 1
  %37 = load ptr, ptr %36, align 8, !tbaa !20
  %38 = getelementptr inbounds %"class.ROHC::DProfile", ptr %31, i32 0, i32 2
  %39 = load i16, ptr %38, align 8, !tbaa !21
  %40 = zext i16 %39 to i32
  %41 = getelementptr inbounds %"class.ROHC::DProfile", ptr %31, i32 0, i32 5
  %42 = load i16, ptr %41, align 8, !tbaa !22
  call void @_ZN4ROHC12Decompressor14SendStaticNACKEjt(ptr noundef nonnull align 8 dereferenceable(88) %37, i32 noundef %40, i16 noundef zeroext %42)
  br label %43

43:                                               ; preds = %35, %5
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #6
  %44 = call ptr @_ZNK9__gnu_cxx17__normal_iteratorIPhSt6vectorIhSaIhEEEmiEl(ptr noundef nonnull align 8 dereferenceable(8) %6, i64 noundef 1) #6
  %45 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.0", ptr %11, i32 0, i32 0
  store ptr %44, ptr %45, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %6, ptr align 8 %11, i64 8, i1 false), !tbaa.struct !23
  call void @llvm.lifetime.start.p0(i64 1, ptr %12) #6
  store i8 0, ptr %12, align 1, !tbaa !9
  %46 = getelementptr inbounds %"class.ROHC::DProfile", ptr %31, i32 0, i32 12
  %47 = load i8, ptr %46, align 8, !tbaa !24, !range !25, !noundef !26
  %48 = trunc i8 %47 to i1
  br i1 %48, label %49, label %54

49:                                               ; preds = %43
  %50 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPhSt6vectorIhSaIhEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %11) #6
  %51 = load i8, ptr %50, align 1, !tbaa !9
  store i8 %51, ptr %12, align 1, !tbaa !9
  %52 = load i8, ptr %8, align 1, !tbaa !9
  %53 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPhSt6vectorIhSaIhEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %11) #6
  store i8 %52, ptr %53, align 1, !tbaa !9
  br label %54

54:                                               ; preds = %49, %43
  %55 = load i8, ptr %8, align 1, !tbaa !9
  %56 = zext i8 %55 to i32
  %57 = icmp eq i32 250, %56
  br i1 %57, label %58, label %66

58:                                               ; preds = %54
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #6
  %59 = load ptr, ptr %9, align 8, !tbaa !5
  %60 = call ptr @_ZNSt6vectorIhSaIhEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %59) #6
  %61 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.0", ptr %13, i32 0, i32 0
  store ptr %60, ptr %61, align 8
  %62 = call noundef zeroext i1 @_ZN4ROHC11DUDPProfile15parse_co_commonERN9__gnu_cxx17__normal_iteratorIPhSt6vectorIhSaIhEEEERKS7_(ptr noundef nonnull align 8 dereferenceable(102) %31, ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull align 8 dereferenceable(8) %13)
  %63 = xor i1 %62, true
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #6
  br i1 %63, label %64, label %65

64:                                               ; preds = %58
  store i32 1, ptr %14, align 4
  br label %201

65:                                               ; preds = %58
  br label %125

66:                                               ; preds = %54
  %67 = load i8, ptr %8, align 1, !tbaa !9
  %68 = zext i8 %67 to i32
  %69 = and i32 %68, 224
  %70 = icmp eq i32 128, %69
  br i1 %70, label %71, label %79

71:                                               ; preds = %66
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #6
  %72 = load ptr, ptr %9, align 8, !tbaa !5
  %73 = call ptr @_ZNSt6vectorIhSaIhEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %72) #6
  %74 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.0", ptr %15, i32 0, i32 0
  store ptr %73, ptr %74, align 8
  %75 = call noundef zeroext i1 @_ZN4ROHC11DUDPProfile15parse_pt_0_crc7ERN9__gnu_cxx17__normal_iteratorIPhSt6vectorIhSaIhEEEERKS7_(ptr noundef nonnull align 8 dereferenceable(102) %31, ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull align 8 dereferenceable(8) %15)
  %76 = xor i1 %75, true
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #6
  br i1 %76, label %77, label %78

77:                                               ; preds = %71
  store i32 1, ptr %14, align 4
  br label %201

78:                                               ; preds = %71
  br label %124

79:                                               ; preds = %66
  %80 = load i8, ptr %8, align 1, !tbaa !9
  %81 = zext i8 %80 to i32
  %82 = and i32 %81, 128
  %83 = icmp eq i32 0, %82
  br i1 %83, label %84, label %92

84:                                               ; preds = %79
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #6
  %85 = load ptr, ptr %9, align 8, !tbaa !5
  %86 = call ptr @_ZNSt6vectorIhSaIhEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %85) #6
  %87 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.0", ptr %16, i32 0, i32 0
  store ptr %86, ptr %87, align 8
  %88 = call noundef zeroext i1 @_ZN4ROHC11DUDPProfile15parse_pt_0_crc3ERN9__gnu_cxx17__normal_iteratorIPhSt6vectorIhSaIhEEEERKS7_(ptr noundef nonnull align 8 dereferenceable(102) %31, ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull align 8 dereferenceable(8) %16)
  %89 = xor i1 %88, true
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #6
  br i1 %89, label %90, label %91

90:                                               ; preds = %84
  store i32 1, ptr %14, align 4
  br label %201

91:                                               ; preds = %84
  br label %123

92:                                               ; preds = %79
  %93 = load i8, ptr %8, align 1, !tbaa !9
  %94 = zext i8 %93 to i32
  %95 = and i32 %94, 224
  %96 = icmp eq i32 160, %95
  br i1 %96, label %97, label %105

97:                                               ; preds = %92
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #6
  %98 = load ptr, ptr %9, align 8, !tbaa !5
  %99 = call ptr @_ZNSt6vectorIhSaIhEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %98) #6
  %100 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.0", ptr %17, i32 0, i32 0
  store ptr %99, ptr %100, align 8
  %101 = call noundef zeroext i1 @_ZN4ROHC11DUDPProfile17parse_pt_1_seq_idERN9__gnu_cxx17__normal_iteratorIPhSt6vectorIhSaIhEEEERKS7_(ptr noundef nonnull align 8 dereferenceable(102) %31, ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull align 8 dereferenceable(8) %17)
  %102 = xor i1 %101, true
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #6
  br i1 %102, label %103, label %104

103:                                              ; preds = %97
  store i32 1, ptr %14, align 4
  br label %201

104:                                              ; preds = %97
  br label %122

105:                                              ; preds = %92
  %106 = load i8, ptr %8, align 1, !tbaa !9
  %107 = zext i8 %106 to i32
  %108 = and i32 %107, 224
  %109 = icmp eq i32 192, %108
  br i1 %109, label %110, label %118

110:                                              ; preds = %105
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #6
  %111 = load ptr, ptr %9, align 8, !tbaa !5
  %112 = call ptr @_ZNSt6vectorIhSaIhEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %111) #6
  %113 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.0", ptr %18, i32 0, i32 0
  store ptr %112, ptr %113, align 8
  %114 = call noundef zeroext i1 @_ZN4ROHC11DUDPProfile17parse_pt_2_seq_idERN9__gnu_cxx17__normal_iteratorIPhSt6vectorIhSaIhEEEERKS7_(ptr noundef nonnull align 8 dereferenceable(102) %31, ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull align 8 dereferenceable(8) %18)
  %115 = xor i1 %114, true
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #6
  br i1 %115, label %116, label %117

116:                                              ; preds = %110
  store i32 1, ptr %14, align 4
  br label %201

117:                                              ; preds = %110
  br label %121

118:                                              ; preds = %105
  %119 = load i8, ptr %8, align 1, !tbaa !9
  %120 = zext i8 %119 to i32
  call void (ptr, ...) @_ZN4ROHC5errorEPKcz(ptr noundef @.str.4, i32 noundef %120)
  store i32 1, ptr %14, align 4
  br label %201

121:                                              ; preds = %117
  br label %122

122:                                              ; preds = %121, %104
  br label %123

123:                                              ; preds = %122, %91
  br label %124

124:                                              ; preds = %123, %78
  br label %125

125:                                              ; preds = %124, %65
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #6
  %126 = load ptr, ptr %9, align 8, !tbaa !5
  %127 = call ptr @_ZNSt6vectorIhSaIhEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %126) #6
  %128 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.0", ptr %19, i32 0, i32 0
  store ptr %127, ptr %128, align 8
  %129 = call noundef zeroext i1 @_ZN9__gnu_cxxeqIPhSt6vectorIhSaIhEEEEbRKNS_17__normal_iteratorIT_T0_EESA_(ptr noundef nonnull align 8 dereferenceable(8) %19, ptr noundef nonnull align 8 dereferenceable(8) %6) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #6
  br i1 %129, label %130, label %131

130:                                              ; preds = %125
  store i32 1, ptr %14, align 4
  br label %201

131:                                              ; preds = %125
  %132 = getelementptr inbounds %"class.ROHC::DProfile", ptr %31, i32 0, i32 12
  %133 = load i8, ptr %132, align 8, !tbaa !24, !range !25, !noundef !26
  %134 = trunc i8 %133 to i1
  br i1 %134, label %135, label %138

135:                                              ; preds = %131
  %136 = load i8, ptr %12, align 1, !tbaa !9
  %137 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPhSt6vectorIhSaIhEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %11) #6
  store i8 %136, ptr %137, align 1, !tbaa !9
  br label %138

138:                                              ; preds = %135, %131
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #6
  %139 = load ptr, ptr %9, align 8, !tbaa !5
  %140 = call ptr @_ZNSt6vectorIhSaIhEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %139) #6
  %141 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.0", ptr %20, i32 0, i32 0
  store ptr %140, ptr %141, align 8
  %142 = call noundef zeroext i1 @_ZN4ROHC8DProfile30parse_ipv4_innermost_irregularERN9__gnu_cxx17__normal_iteratorIPhSt6vectorIhSaIhEEEERKS7_(ptr noundef nonnull align 8 dereferenceable(92) %31, ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull align 8 dereferenceable(8) %20)
  %143 = xor i1 %142, true
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #6
  br i1 %143, label %144, label %145

144:                                              ; preds = %138
  store i32 1, ptr %14, align 4
  br label %201

145:                                              ; preds = %138
  %146 = getelementptr inbounds %"class.ROHC::DUDPProfile", ptr %31, i32 0, i32 1
  %147 = load i8, ptr %146, align 4, !tbaa !27, !range !25, !noundef !26
  %148 = trunc i8 %147 to i1
  br i1 %148, label %149, label %160

149:                                              ; preds = %145
  %150 = load ptr, ptr %9, align 8, !tbaa !5
  %151 = call ptr @_ZNSt6vectorIhSaIhEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %150) #6
  %152 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.0", ptr %21, i32 0, i32 0
  store ptr %151, ptr %152, align 8
  %153 = getelementptr inbounds %"class.ROHC::DUDPProfile", ptr %31, i32 0, i32 2
  %154 = getelementptr inbounds %"struct.ROHC::udphdr", ptr %153, i32 0, i32 3
  %155 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.0", ptr %21, i32 0, i32 0
  %156 = load ptr, ptr %155, align 8
  %157 = call noundef zeroext i1 @_ZN4ROHC8GetValueItN9__gnu_cxx17__normal_iteratorIPhSt6vectorIhSaIhEEEEEEbRT0_S8_RT_(ptr noundef nonnull align 8 dereferenceable(8) %6, ptr %156, ptr noundef nonnull align 2 dereferenceable(2) %154)
  br i1 %157, label %159, label %158

158:                                              ; preds = %149
  call void (ptr, ...) @_ZN4ROHC5errorEPKcz(ptr noundef @.str.5)
  store i32 1, ptr %14, align 4
  br label %201

159:                                              ; preds = %149
  br label %160

160:                                              ; preds = %159, %145
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #6
  %161 = load ptr, ptr %10, align 8, !tbaa !5
  %162 = call noundef i64 @_ZNKSt6vectorIhSaIhEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %161) #6
  store i64 %162, ptr %22, align 8, !tbaa !30
  %163 = load ptr, ptr %10, align 8, !tbaa !5
  %164 = getelementptr inbounds %"class.ROHC::DProfile", ptr %31, i32 0, i32 14
  call void @_ZN4ROHC10AppendDataINS_5iphdrEEEvRSt6vectorIhSaIhEERKT_(ptr noundef nonnull align 8 dereferenceable(24) %163, ptr noundef nonnull align 4 dereferenceable(20) %164)
  %165 = load ptr, ptr %10, align 8, !tbaa !5
  %166 = getelementptr inbounds %"class.ROHC::DUDPProfile", ptr %31, i32 0, i32 2
  call void @_ZN4ROHC10AppendDataINS_6udphdrEEEvRSt6vectorIhSaIhEERKT_(ptr noundef nonnull align 8 dereferenceable(24) %165, ptr noundef nonnull align 2 dereferenceable(8) %166)
  %167 = load ptr, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #6
  %168 = load ptr, ptr %10, align 8, !tbaa !5
  %169 = call ptr @_ZNSt6vectorIhSaIhEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %168) #6
  %170 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.0", ptr %24, i32 0, i32 0
  store ptr %169, ptr %170, align 8
  call void @_ZN9__gnu_cxx17__normal_iteratorIPKhSt6vectorIhSaIhEEEC2IPhvEERKNS0_IT_S5_EE(ptr noundef nonnull align 8 dereferenceable(8) %23, ptr noundef nonnull align 8 dereferenceable(8) %24) #6
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %25, ptr align 8 %6, i64 8, i1 false), !tbaa.struct !23
  %171 = load ptr, ptr %9, align 8, !tbaa !5
  %172 = call ptr @_ZNSt6vectorIhSaIhEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %171) #6
  %173 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.0", ptr %26, i32 0, i32 0
  store ptr %172, ptr %173, align 8
  %174 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %23, i32 0, i32 0
  %175 = load ptr, ptr %174, align 8
  %176 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.0", ptr %25, i32 0, i32 0
  %177 = load ptr, ptr %176, align 8
  %178 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.0", ptr %26, i32 0, i32 0
  %179 = load ptr, ptr %178, align 8
  %180 = call ptr @_ZNSt6vectorIhSaIhEE6insertIN9__gnu_cxx17__normal_iteratorIPhS1_EEvEES6_NS4_IPKhS1_EET_SA_(ptr noundef nonnull align 8 dereferenceable(24) %167, ptr %175, ptr %177, ptr %179)
  %181 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.0", ptr %27, i32 0, i32 0
  store ptr %180, ptr %181, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #6
  %182 = load ptr, ptr %10, align 8, !tbaa !5
  %183 = load i64, ptr %22, align 8, !tbaa !30
  %184 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt6vectorIhSaIhEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %182, i64 noundef %183) #6
  store ptr %184, ptr %28, align 8, !tbaa !5
  %185 = load ptr, ptr %10, align 8, !tbaa !5
  %186 = call noundef i64 @_ZNKSt6vectorIhSaIhEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %185) #6
  %187 = trunc i64 %186 to i16
  %188 = call noundef zeroext i16 @_ZN4ROHC10rohc_htonsEt(i16 noundef zeroext %187)
  %189 = load ptr, ptr %28, align 8, !tbaa !5
  %190 = getelementptr inbounds %"struct.ROHC::iphdr", ptr %189, i32 0, i32 2
  store i16 %188, ptr %190, align 2, !tbaa !31
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #6
  %191 = load ptr, ptr %28, align 8, !tbaa !5
  %192 = getelementptr inbounds %"struct.ROHC::iphdr", ptr %191, i64 1
  store ptr %192, ptr %29, align 8, !tbaa !5
  %193 = load ptr, ptr %10, align 8, !tbaa !5
  %194 = call noundef i64 @_ZNKSt6vectorIhSaIhEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %193) #6
  %195 = sub i64 %194, 20
  %196 = trunc i64 %195 to i16
  %197 = call noundef zeroext i16 @_ZN4ROHC10rohc_htonsEt(i16 noundef zeroext %196)
  %198 = load ptr, ptr %29, align 8, !tbaa !5
  %199 = getelementptr inbounds %"struct.ROHC::udphdr", ptr %198, i32 0, i32 2
  store i16 %197, ptr %199, align 2, !tbaa !32
  %200 = load ptr, ptr %28, align 8, !tbaa !5
  call void @_ZN4ROHC25calculateIpHeaderCheckSumEPNS_5iphdrE(ptr noundef %200)
  call void @_ZN4ROHC8DProfile13SendFeedback1Ev(ptr noundef nonnull align 8 dereferenceable(92) %31)
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #6
  store i32 0, ptr %14, align 4
  br label %201

201:                                              ; preds = %160, %158, %144, %130, %118, %116, %103, %90, %77, %64
  call void @llvm.lifetime.end.p0(i64 1, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #6
  %202 = load i32, ptr %14, align 4
  switch i32 %202, label %204 [
    i32 0, label %203
    i32 1, label %203
  ]

203:                                              ; preds = %201, %201
  ret void

204:                                              ; preds = %201
  unreachable
}

declare void @_ZN4ROHC12Decompressor14SendStaticNACKEjt(ptr noundef nonnull align 8 dereferenceable(88), i32 noundef, i16 noundef zeroext) #2

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

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

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

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

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

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

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

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

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

declare noundef zeroext i1 @_ZN4ROHC8DProfile30parse_ipv4_innermost_irregularERN9__gnu_cxx17__normal_iteratorIPhSt6vectorIhSaIhEEEERKS7_(ptr noundef nonnull align 8 dereferenceable(92), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local ptr @_ZNSt6vectorIhSaIhEE6insertIN9__gnu_cxx17__normal_iteratorIPhS1_EEvEES6_NS4_IPKhS1_EET_SA_(ptr noundef nonnull align 8 dereferenceable(24), ptr, ptr, ptr) #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 #4 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) #4 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i16 @_ZN4ROHC10rohc_htonsEt(i16 noundef zeroext) #5

declare void @_ZN4ROHC25calculateIpHeaderCheckSumEPNS_5iphdrE(ptr noundef) #2

attributes #0 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { 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, !13, i64 20}
!11 = !{!"_ZTSN4ROHC8DProfileE", !6, i64 8, !12, i64 16, !13, i64 20, !12, i64 24, !12, i64 26, !14, i64 28, !15, i64 32, !15, i64 36, !16, i64 40, !16, i64 48, !17, i64 56, !18, i64 60, !16, i64 80, !19, i64 88}
!12 = !{!"short", !7, i64 0}
!13 = !{!"_ZTSN4ROHC8DProfileUt_E", !7, i64 0}
!14 = !{!"_ZTSN4ROHC15IPIDBehaviour_tE", !7, i64 0}
!15 = !{!"int", !7, i64 0}
!16 = !{!"long", !7, i64 0}
!17 = !{!"bool", !7, i64 0}
!18 = !{!"_ZTSN4ROHC5iphdrE", !7, i64 0, !7, i64 0, !7, i64 1, !12, i64 2, !12, i64 4, !12, i64 6, !7, i64 8, !7, i64 9, !12, i64 10, !15, i64 12, !15, i64 16}
!19 = !{!"_ZTSN4ROHC12Reordering_tE", !7, i64 0}
!20 = !{!11, !6, i64 8}
!21 = !{!11, !12, i64 16}
!22 = !{!11, !12, i64 24}
!23 = !{i64 0, i64 8, !5}
!24 = !{!11, !17, i64 56}
!25 = !{i8 0, i8 2}
!26 = !{}
!27 = !{!28, !17, i64 92}
!28 = !{!"_ZTSN4ROHC11DUDPProfileE", !11, i64 0, !17, i64 92, !29, i64 94}
!29 = !{!"_ZTSN4ROHC6udphdrE", !12, i64 0, !12, i64 2, !12, i64 4, !12, i64 6}
!30 = !{!16, !16, i64 0}
!31 = !{!18, !12, i64 2}
!32 = !{!29, !12, i64 4}


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

@.str.4 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [34 x i8], align 1

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4ROHC10AppendDataINS_5iphdrEEEvRSt6vectorIhSaIhEERKT_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 4 dereferenceable(20)) local_unnamed_addr #0

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

declare void @_ZN4ROHC8DProfile13SendFeedback1Ev(ptr noundef nonnull align 8 dereferenceable(92)) local_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 nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #2

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4ROHC11DUDPProfile7ParseCOEhRSt6vectorIhSaIhEEN9__gnu_cxx17__normal_iteratorIPhS3_EES4_(ptr noundef nonnull align 8 dereferenceable(102) %0, i8 noundef zeroext %1, ptr noundef nonnull align 8 dereferenceable(24) %2, ptr %3, ptr noundef nonnull align 8 dereferenceable(24) %4) unnamed_addr #0 align 2 {
  %6 = alloca %"class.__gnu_cxx::__normal_iterator.0", align 8
  %7 = alloca %"class.__gnu_cxx::__normal_iterator.0", align 8
  %8 = alloca %"class.__gnu_cxx::__normal_iterator.0", align 8
  %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 %"class.__gnu_cxx::__normal_iterator.0", align 8
  %13 = alloca %"class.__gnu_cxx::__normal_iterator.0", align 8
  %14 = alloca %"class.__gnu_cxx::__normal_iterator.0", align 8
  %15 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %16 = alloca %"class.__gnu_cxx::__normal_iterator.0", align 8
  store ptr %3, ptr %6, align 8
  %17 = getelementptr inbounds i8, ptr %0, i64 20
  %18 = load i32, ptr %17, align 4, !tbaa !5
  %.not = icmp eq i32 %18, 2
  br i1 %.not, label %27, label %19

19:                                               ; preds = %5
  %20 = getelementptr inbounds i8, ptr %0, i64 8
  %21 = load ptr, ptr %20, align 8, !tbaa !18
  %22 = getelementptr inbounds i8, ptr %0, i64 16
  %23 = load i16, ptr %22, align 8, !tbaa !19
  %24 = zext i16 %23 to i32
  %25 = getelementptr inbounds i8, ptr %0, i64 24
  %26 = load i16, ptr %25, align 8, !tbaa !20
  tail call void @_ZN4ROHC12Decompressor14SendStaticNACKEjt(ptr noundef nonnull align 8 dereferenceable(88) %21, i32 noundef %24, i16 noundef zeroext %26)
  br label %27

27:                                               ; preds = %19, %5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #5
  %28 = call ptr @_ZNK9__gnu_cxx17__normal_iteratorIPhSt6vectorIhSaIhEEEmiEl(ptr noundef nonnull align 8 dereferenceable(8) %6, i64 noundef 1) #5
  store ptr %28, ptr %7, align 8
  %.cast = ptrtoint ptr %28 to i64
  store i64 %.cast, ptr %6, align 8, !tbaa !21
  %29 = getelementptr inbounds i8, ptr %0, i64 56
  %30 = load i8, ptr %29, align 8, !tbaa !22, !range !23, !noundef !24
  %31 = trunc nuw i8 %30 to i1
  br i1 %31, label %32, label %36

32:                                               ; preds = %27
  %33 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPhSt6vectorIhSaIhEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %7) #5
  %34 = load i8, ptr %33, align 1, !tbaa !25
  %35 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPhSt6vectorIhSaIhEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %7) #5
  store i8 %1, ptr %35, align 1, !tbaa !25
  br label %36

36:                                               ; preds = %32, %27
  %.0 = phi i8 [ %34, %32 ], [ 0, %27 ]
  %37 = zext i8 %1 to i32
  %38 = icmp eq i8 %1, -6
  br i1 %38, label %39, label %42

39:                                               ; preds = %36
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #5
  %40 = call ptr @_ZNSt6vectorIhSaIhEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #5
  store ptr %40, ptr %8, align 8
  %41 = call noundef zeroext i1 @_ZN4ROHC11DUDPProfile15parse_co_commonERN9__gnu_cxx17__normal_iteratorIPhSt6vectorIhSaIhEEEERKS7_(ptr noundef nonnull align 8 dereferenceable(102) %0, ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull align 8 dereferenceable(8) %8)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #5
  br i1 %41, label %61, label %99

42:                                               ; preds = %36
  %43 = and i32 %37, 224
  %44 = icmp eq i32 %43, 128
  br i1 %44, label %45, label %48

45:                                               ; preds = %42
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #5
  %46 = call ptr @_ZNSt6vectorIhSaIhEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #5
  store ptr %46, ptr %9, align 8
  %47 = call noundef zeroext i1 @_ZN4ROHC11DUDPProfile15parse_pt_0_crc7ERN9__gnu_cxx17__normal_iteratorIPhSt6vectorIhSaIhEEEERKS7_(ptr noundef nonnull align 8 dereferenceable(102) %0, ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull align 8 dereferenceable(8) %9)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #5
  br i1 %47, label %61, label %99

48:                                               ; preds = %42
  %49 = icmp sgt i8 %1, -1
  br i1 %49, label %50, label %53

50:                                               ; preds = %48
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #5
  %51 = call ptr @_ZNSt6vectorIhSaIhEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #5
  store ptr %51, ptr %10, align 8
  %52 = call noundef zeroext i1 @_ZN4ROHC11DUDPProfile15parse_pt_0_crc3ERN9__gnu_cxx17__normal_iteratorIPhSt6vectorIhSaIhEEEERKS7_(ptr noundef nonnull align 8 dereferenceable(102) %0, ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull align 8 dereferenceable(8) %10)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #5
  br i1 %52, label %61, label %99

53:                                               ; preds = %48
  %trunc = trunc nuw i32 %43 to i8
  switch i8 %trunc, label %60 [
    i8 -96, label %54
    i8 -64, label %57
  ]

54:                                               ; preds = %53
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #5
  %55 = call ptr @_ZNSt6vectorIhSaIhEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #5
  store ptr %55, ptr %11, align 8
  %56 = call noundef zeroext i1 @_ZN4ROHC11DUDPProfile17parse_pt_1_seq_idERN9__gnu_cxx17__normal_iteratorIPhSt6vectorIhSaIhEEEERKS7_(ptr noundef nonnull align 8 dereferenceable(102) %0, ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull align 8 dereferenceable(8) %11)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #5
  br i1 %56, label %61, label %99

57:                                               ; preds = %53
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #5
  %58 = call ptr @_ZNSt6vectorIhSaIhEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #5
  store ptr %58, ptr %12, align 8
  %59 = call noundef zeroext i1 @_ZN4ROHC11DUDPProfile17parse_pt_2_seq_idERN9__gnu_cxx17__normal_iteratorIPhSt6vectorIhSaIhEEEERKS7_(ptr noundef nonnull align 8 dereferenceable(102) %0, ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull align 8 dereferenceable(8) %12)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #5
  br i1 %59, label %61, label %99

60:                                               ; preds = %53
  call void (ptr, ...) @_ZN4ROHC5errorEPKcz(ptr noundef nonnull @.str.4, i32 noundef %37)
  br label %99

61:                                               ; preds = %45, %54, %57, %50, %39
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #5
  %62 = call ptr @_ZNSt6vectorIhSaIhEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #5
  store ptr %62, ptr %13, align 8
  %63 = call noundef zeroext i1 @_ZN9__gnu_cxxeqIPhSt6vectorIhSaIhEEEEbRKNS_17__normal_iteratorIT_T0_EESA_(ptr noundef nonnull align 8 dereferenceable(8) %13, ptr noundef nonnull align 8 dereferenceable(8) %6) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #5
  br i1 %63, label %99, label %64

64:                                               ; preds = %61
  %65 = load i8, ptr %29, align 8, !tbaa !22, !range !23, !noundef !24
  %66 = trunc nuw i8 %65 to i1
  br i1 %66, label %67, label %69

67:                                               ; preds = %64
  %68 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPhSt6vectorIhSaIhEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %7) #5
  store i8 %.0, ptr %68, align 1, !tbaa !25
  br label %69

69:                                               ; preds = %67, %64
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #5
  %70 = call ptr @_ZNSt6vectorIhSaIhEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #5
  store ptr %70, ptr %14, align 8
  %71 = call noundef zeroext i1 @_ZN4ROHC8DProfile30parse_ipv4_innermost_irregularERN9__gnu_cxx17__normal_iteratorIPhSt6vectorIhSaIhEEEERKS7_(ptr noundef nonnull align 8 dereferenceable(92) %0, ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull align 8 dereferenceable(8) %14)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #5
  br i1 %71, label %72, label %99

72:                                               ; preds = %69
  %73 = getelementptr inbounds i8, ptr %0, i64 92
  %74 = load i8, ptr %73, align 4, !tbaa !26, !range !23, !noundef !24
  %75 = trunc nuw i8 %74 to i1
  br i1 %75, label %76, label %81

76:                                               ; preds = %72
  %77 = call ptr @_ZNSt6vectorIhSaIhEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #5
  %78 = getelementptr inbounds i8, ptr %0, i64 100
  %79 = call noundef zeroext i1 @_ZN4ROHC8GetValueItN9__gnu_cxx17__normal_iteratorIPhSt6vectorIhSaIhEEEEEEbRT0_S8_RT_(ptr noundef nonnull align 8 dereferenceable(8) %6, ptr %77, ptr noundef nonnull align 2 dereferenceable(2) %78)
  br i1 %79, label %81, label %80

80:                                               ; preds = %76
  call void (ptr, ...) @_ZN4ROHC5errorEPKcz(ptr noundef nonnull @.str.5)
  br label %99

81:                                               ; preds = %76, %72
  %82 = call noundef i64 @_ZNKSt6vectorIhSaIhEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %4) #5
  %83 = getelementptr inbounds i8, ptr %0, i64 60
  call void @_ZN4ROHC10AppendDataINS_5iphdrEEEvRSt6vectorIhSaIhEERKT_(ptr noundef nonnull align 8 dereferenceable(24) %4, ptr noundef nonnull align 4 dereferenceable(20) %83)
  %84 = getelementptr inbounds i8, ptr %0, i64 94
  call void @_ZN4ROHC10AppendDataINS_6udphdrEEEvRSt6vectorIhSaIhEERKT_(ptr noundef nonnull align 8 dereferenceable(24) %4, ptr noundef nonnull align 2 dereferenceable(8) %84)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %16) #5
  %85 = call ptr @_ZNSt6vectorIhSaIhEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %4) #5
  store ptr %85, ptr %16, align 8
  call void @_ZN9__gnu_cxx17__normal_iteratorIPKhSt6vectorIhSaIhEEEC2IPhvEERKNS0_IT_S5_EE(ptr noundef nonnull align 8 dereferenceable(8) %15, ptr noundef nonnull align 8 dereferenceable(8) %16) #5
  %.sroa.05.0.copyload = load ptr, ptr %6, align 8, !tbaa !21
  %86 = call ptr @_ZNSt6vectorIhSaIhEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #5
  %87 = load ptr, ptr %15, align 8
  %88 = call ptr @_ZNSt6vectorIhSaIhEE6insertIN9__gnu_cxx17__normal_iteratorIPhS1_EEvEES6_NS4_IPKhS1_EET_SA_(ptr noundef nonnull align 8 dereferenceable(24) %4, ptr %87, ptr %.sroa.05.0.copyload, ptr %86)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #5
  %89 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt6vectorIhSaIhEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %82) #5
  %90 = call noundef i64 @_ZNKSt6vectorIhSaIhEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %4) #5
  %91 = trunc i64 %90 to i16
  %92 = call noundef zeroext i16 @_ZN4ROHC10rohc_htonsEt(i16 noundef zeroext %91)
  %93 = getelementptr inbounds i8, ptr %89, i64 2
  store i16 %92, ptr %93, align 2, !tbaa !29
  %94 = call noundef i64 @_ZNKSt6vectorIhSaIhEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %4) #5
  %95 = trunc i64 %94 to i16
  %96 = add i16 %95, -20
  %97 = call noundef zeroext i16 @_ZN4ROHC10rohc_htonsEt(i16 noundef zeroext %96)
  %98 = getelementptr inbounds i8, ptr %89, i64 24
  store i16 %97, ptr %98, align 2, !tbaa !30
  call void @_ZN4ROHC25calculateIpHeaderCheckSumEPNS_5iphdrE(ptr noundef nonnull %89)
  call void @_ZN4ROHC8DProfile13SendFeedback1Ev(ptr noundef nonnull align 8 dereferenceable(92) %0)
  br label %99

99:                                               ; preds = %69, %61, %57, %54, %50, %45, %39, %81, %80, %60
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #5
  ret void
}

declare void @_ZN4ROHC12Decompressor14SendStaticNACKEjt(ptr noundef nonnull align 8 dereferenceable(88), i32 noundef, i16 noundef zeroext) local_unnamed_addr #1

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN4ROHC11DUDPProfile15parse_co_commonERN9__gnu_cxx17__normal_iteratorIPhSt6vectorIhSaIhEEEERKS7_(ptr noundef nonnull align 8 dereferenceable(102), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #0 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN4ROHC11DUDPProfile15parse_pt_0_crc7ERN9__gnu_cxx17__normal_iteratorIPhSt6vectorIhSaIhEEEERKS7_(ptr noundef nonnull align 8 dereferenceable(102), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN4ROHC11DUDPProfile15parse_pt_0_crc3ERN9__gnu_cxx17__normal_iteratorIPhSt6vectorIhSaIhEEEERKS7_(ptr noundef nonnull align 8 dereferenceable(102), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN4ROHC11DUDPProfile17parse_pt_1_seq_idERN9__gnu_cxx17__normal_iteratorIPhSt6vectorIhSaIhEEEERKS7_(ptr noundef nonnull align 8 dereferenceable(102), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN4ROHC11DUDPProfile17parse_pt_2_seq_idERN9__gnu_cxx17__normal_iteratorIPhSt6vectorIhSaIhEEEERKS7_(ptr noundef nonnull align 8 dereferenceable(102), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #0 align 2

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

declare noundef zeroext i1 @_ZN4ROHC8DProfile30parse_ipv4_innermost_irregularERN9__gnu_cxx17__normal_iteratorIPhSt6vectorIhSaIhEEEERKS7_(ptr noundef nonnull align 8 dereferenceable(92), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #1

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

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

; Function Attrs: mustprogress uwtable
declare dso_local ptr @_ZNSt6vectorIhSaIhEE6insertIN9__gnu_cxx17__normal_iteratorIPhS1_EEvEES6_NS4_IPKhS1_EET_SA_(ptr noundef nonnull align 8 dereferenceable(24), ptr, ptr, ptr) local_unnamed_addr #0 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 #3 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 #3 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i16 @_ZN4ROHC10rohc_htonsEt(i16 noundef zeroext) local_unnamed_addr #4

declare void @_ZN4ROHC25calculateIpHeaderCheckSumEPNS_5iphdrE(ptr noundef) local_unnamed_addr #1

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 = { 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, !11, i64 20}
!6 = !{!"_ZTSN4ROHC8DProfileE", !7, i64 8, !10, i64 16, !11, i64 20, !10, i64 24, !10, i64 26, !12, i64 28, !13, i64 32, !13, i64 36, !14, i64 40, !14, i64 48, !15, i64 56, !16, i64 60, !14, i64 80, !17, i64 88}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"short", !8, i64 0}
!11 = !{!"_ZTSN4ROHC8DProfileUt_E", !8, i64 0}
!12 = !{!"_ZTSN4ROHC15IPIDBehaviour_tE", !8, i64 0}
!13 = !{!"int", !8, i64 0}
!14 = !{!"long", !8, i64 0}
!15 = !{!"bool", !8, i64 0}
!16 = !{!"_ZTSN4ROHC5iphdrE", !8, i64 0, !8, i64 0, !8, i64 1, !10, i64 2, !10, i64 4, !10, i64 6, !8, i64 8, !8, i64 9, !10, i64 10, !13, i64 12, !13, i64 16}
!17 = !{!"_ZTSN4ROHC12Reordering_tE", !8, i64 0}
!18 = !{!6, !7, i64 8}
!19 = !{!6, !10, i64 16}
!20 = !{!6, !10, i64 24}
!21 = !{!7, !7, i64 0}
!22 = !{!6, !15, i64 56}
!23 = !{i8 0, i8 2}
!24 = !{}
!25 = !{!8, !8, i64 0}
!26 = !{!27, !15, i64 92}
!27 = !{!"_ZTSN4ROHC11DUDPProfileE", !6, i64 0, !15, i64 92, !28, i64 94}
!28 = !{!"_ZTSN4ROHC6udphdrE", !10, i64 0, !10, i64 2, !10, i64 4, !10, i64 6}
!29 = !{!16, !10, i64 2}
!30 = !{!28, !10, i64 4}


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