; LLVM IR from stonne-simulator/omega :: omega-code/stonne/src/OSMeshSDMemory.ll (ZN14OSMeshSDMemory5cycleEv)

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%"class.std::basic_ostream" = type { ptr, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }
%"class.std::vector.21" = type { %"struct.std::_Vector_base.22" }
%"struct.std::_Vector_base.22" = type { %"struct.std::_Vector_base<DataPackage *, std::allocator<DataPackage *>>::_Vector_impl" }
%"struct.std::_Vector_base<DataPackage *, std::allocator<DataPackage *>>::_Vector_impl" = type { %"struct.std::_Vector_base<DataPackage *, std::allocator<DataPackage *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<DataPackage *, std::allocator<DataPackage *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%class.OSMeshSDMemory = type { %class.MemoryController, ptr, ptr, ptr, i32, i32, i32, i32, i32, ptr, i32, %"class.std::vector", %"class.std::vector.3", %"class.std::vector.8", i32, i32, i32, i32, i32, i32, i32, i32, i32, ptr, %"class.std::vector.13", %"class.std::vector.13", ptr, ptr, ptr, i32, i32, i32, i32, i32, i32, i32, i32, i32, i8, i8, i8, i8, i8, i32, i32, i32, i32, i32, %"class.std::vector.8", i32, %class.SDMemoryStats }
%class.MemoryController = type { %class.Unit }
%class.Unit = type { ptr, i32, %"class.std::__cxx11::basic_string" }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<SparseVN, std::allocator<SparseVN>>::_Vector_impl" }
%"struct.std::_Vector_base<SparseVN, std::allocator<SparseVN>>::_Vector_impl" = type { %"struct.std::_Vector_base<SparseVN, std::allocator<SparseVN>>::_Vector_impl_data" }
%"struct.std::_Vector_base<SparseVN, std::allocator<SparseVN>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.3" = type { %"struct.std::_Vector_base.4" }
%"struct.std::_Vector_base.4" = type { %"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl" }
%"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl" = type { %"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.13" = type { %"struct.std::_Vector_base.14" }
%"struct.std::_Vector_base.14" = type { %"struct.std::_Vector_base<Fifo *, std::allocator<Fifo *>>::_Vector_impl" }
%"struct.std::_Vector_base<Fifo *, std::allocator<Fifo *>>::_Vector_impl" = type { %"struct.std::_Vector_base<Fifo *, std::allocator<Fifo *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Fifo *, std::allocator<Fifo *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.8" = type { %"struct.std::_Vector_base.9" }
%"struct.std::_Vector_base.9" = type { %"struct.std::_Vector_base<Connection *, std::allocator<Connection *>>::_Vector_impl" }
%"struct.std::_Vector_base<Connection *, std::allocator<Connection *>>::_Vector_impl" = type { %"struct.std::_Vector_base<Connection *, std::allocator<Connection *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Connection *, std::allocator<Connection *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%class.SDMemoryStats = type { %class.Stats, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, %"class.std::vector.3", %"class.std::vector.3", %"class.std::vector.3", %"class.std::vector.3" }
%class.Stats = type { ptr }

@.str.1 = external hidden unnamed_addr constant [97 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [19 x i8], align 1
@__PRETTY_FUNCTION__._ZN14OSMeshSDMemory5cycleEv = external hidden unnamed_addr constant [37 x i8], align 1
@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str.3 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [2 x i8], align 1

declare i32 @__gxx_personality_v0(...)

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znwm(i64 noundef) #0

; Function Attrs: nobuiltin nounwind
declare void @_ZdlPvm(ptr noundef, i64 noundef) #1

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN14OSMeshSDMemory5cycleEv(ptr noundef nonnull align 8 dereferenceable(552) %0) unnamed_addr #4 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca ptr, align 8
  %3 = alloca %"class.std::vector.21", align 8
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca float, align 4
  %12 = alloca i32, align 4
  %13 = alloca ptr, align 8
  %14 = alloca i32, align 4
  %15 = alloca float, align 4
  %16 = alloca i32, align 4
  %17 = alloca ptr, align 8
  %18 = alloca i32, align 4
  %19 = alloca ptr, align 8
  %20 = alloca i32, align 4
  %21 = alloca float, align 4
  %22 = alloca i32, align 4
  %23 = alloca i32, align 4
  %24 = alloca i32, align 4
  %25 = alloca i32, align 4
  %26 = alloca i32, align 4
  store ptr %0, ptr %2, align 8, !tbaa !5
  %27 = load ptr, ptr %2, align 8
  %28 = getelementptr inbounds %class.OSMeshSDMemory, ptr %27, i32 0, i32 42
  %29 = load i8, ptr %28, align 8, !tbaa !9, !range !38, !noundef !39
  %30 = trunc i8 %29 to i1
  br i1 %30, label %31, label %32

31:                                               ; preds = %1
  br label %34

32:                                               ; preds = %1
  call void @__assert_fail(ptr noundef @.str.2, ptr noundef @.str.1, i32 noundef 114, ptr noundef @__PRETTY_FUNCTION__._ZN14OSMeshSDMemory5cycleEv) #9
  unreachable

33:                                               ; No predecessors!
  br label %34

34:                                               ; preds = %33, %31
  call void @llvm.lifetime.start.p0(i64 24, ptr %3) #10
  call void @_ZNSt6vectorIP11DataPackageSaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #10
  %35 = getelementptr inbounds %class.OSMeshSDMemory, ptr %27, i32 0, i32 49
  %36 = load i32, ptr %35, align 8, !tbaa !40
  %37 = add i32 %36, 1
  store i32 %37, ptr %35, align 8, !tbaa !40
  %38 = getelementptr inbounds %class.OSMeshSDMemory, ptr %27, i32 0, i32 50
  %39 = getelementptr inbounds %class.SDMemoryStats, ptr %38, i32 0, i32 1
  %40 = load i32, ptr %39, align 8, !tbaa !41
  %41 = add i32 %40, 1
  store i32 %41, ptr %39, align 8, !tbaa !41
  %42 = getelementptr inbounds %class.OSMeshSDMemory, ptr %27, i32 0, i32 10
  %43 = load i32, ptr %42, align 8, !tbaa !42
  %44 = icmp eq i32 %43, 0
  br i1 %44, label %45, label %148

45:                                               ; preds = %34
  %46 = getelementptr inbounds %class.OSMeshSDMemory, ptr %27, i32 0, i32 50
  %47 = getelementptr inbounds %class.SDMemoryStats, ptr %46, i32 0, i32 10
  %48 = load i32, ptr %47, align 4, !tbaa !43
  %49 = add i32 %48, 1
  store i32 %49, ptr %47, align 4, !tbaa !43
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #10
  %50 = getelementptr inbounds %class.OSMeshSDMemory, ptr %27, i32 0, i32 4
  %51 = load i32, ptr %50, align 8, !tbaa !44
  %52 = getelementptr inbounds %class.OSMeshSDMemory, ptr %27, i32 0, i32 35
  %53 = load i32, ptr %52, align 8, !tbaa !45
  %54 = getelementptr inbounds %class.OSMeshSDMemory, ptr %27, i32 0, i32 31
  %55 = load i32, ptr %54, align 8, !tbaa !46
  %56 = mul i32 %53, %55
  %57 = sub i32 %51, %56
  store i32 %57, ptr %4, align 4, !tbaa !47
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #10
  %58 = getelementptr inbounds %class.OSMeshSDMemory, ptr %27, i32 0, i32 5
  %59 = load i32, ptr %58, align 4, !tbaa !48
  %60 = getelementptr inbounds %class.OSMeshSDMemory, ptr %27, i32 0, i32 36
  %61 = load i32, ptr %60, align 4, !tbaa !49
  %62 = getelementptr inbounds %class.OSMeshSDMemory, ptr %27, i32 0, i32 29
  %63 = load i32, ptr %62, align 8, !tbaa !50
  %64 = mul i32 %61, %63
  %65 = sub i32 %59, %64
  store i32 %65, ptr %5, align 4, !tbaa !47
  %66 = load i32, ptr %5, align 4, !tbaa !47
  %67 = getelementptr inbounds %class.OSMeshSDMemory, ptr %27, i32 0, i32 29
  %68 = load i32, ptr %67, align 8, !tbaa !50
  %69 = icmp ult i32 %66, %68
  br i1 %69, label %70, label %72

70:                                               ; preds = %45
  %71 = load i32, ptr %5, align 4, !tbaa !47
  br label %75

72:                                               ; preds = %45
  %73 = getelementptr inbounds %class.OSMeshSDMemory, ptr %27, i32 0, i32 29
  %74 = load i32, ptr %73, align 8, !tbaa !50
  br label %75

75:                                               ; preds = %72, %70
  %76 = phi i32 [ %71, %70 ], [ %74, %72 ]
  %77 = getelementptr inbounds %class.OSMeshSDMemory, ptr %27, i32 0, i32 21
  store i32 %76, ptr %77, align 4, !tbaa !51
  %78 = load i32, ptr %4, align 4, !tbaa !47
  %79 = getelementptr inbounds %class.OSMeshSDMemory, ptr %27, i32 0, i32 31
  %80 = load i32, ptr %79, align 8, !tbaa !46
  %81 = icmp ult i32 %78, %80
  br i1 %81, label %82, label %84

82:                                               ; preds = %75
  %83 = load i32, ptr %4, align 4, !tbaa !47
  br label %87

84:                                               ; preds = %75
  %85 = getelementptr inbounds %class.OSMeshSDMemory, ptr %27, i32 0, i32 31
  %86 = load i32, ptr %85, align 8, !tbaa !46
  br label %87

87:                                               ; preds = %84, %82
  %88 = phi i32 [ %83, %82 ], [ %86, %84 ]
  %89 = getelementptr inbounds %class.OSMeshSDMemory, ptr %27, i32 0, i32 20
  store i32 %88, ptr %89, align 8, !tbaa !52
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #10
  %90 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 44) #11
          to label %91 unwind label %139

91:                                               ; preds = %87
  %92 = getelementptr inbounds %class.OSMeshSDMemory, ptr %27, i32 0, i32 21
  %93 = load i32, ptr %92, align 4, !tbaa !51
  %94 = getelementptr inbounds %class.OSMeshSDMemory, ptr %27, i32 0, i32 20
  %95 = load i32, ptr %94, align 8, !tbaa !52
  invoke void @_ZN4TileC1Ejjjjjjjjb(ptr noundef nonnull align 4 dereferenceable(41) %90, i32 noundef 1, i32 noundef 1, i32 noundef 1, i32 noundef %93, i32 noundef 1, i32 noundef 1, i32 noundef %95, i32 noundef 1, i1 noundef zeroext false)
          to label %96 unwind label %143

96:                                               ; preds = %91
  store ptr %90, ptr %6, align 8, !tbaa !5
  %97 = getelementptr inbounds %class.OSMeshSDMemory, ptr %27, i32 0, i32 3
  %98 = load ptr, ptr %97, align 8, !tbaa !53
  %99 = load ptr, ptr %98, align 8, !tbaa !54
  %100 = getelementptr inbounds ptr, ptr %99, i64 8
  %101 = load ptr, ptr %100, align 8
  invoke void %101(ptr noundef nonnull align 8 dereferenceable(48) %98)
          to label %102 unwind label %139

102:                                              ; preds = %96
  %103 = getelementptr inbounds %class.OSMeshSDMemory, ptr %27, i32 0, i32 2
  %104 = load ptr, ptr %103, align 8, !tbaa !56
  %105 = load ptr, ptr %104, align 8, !tbaa !54
  %106 = getelementptr inbounds ptr, ptr %105, i64 9
  %107 = load ptr, ptr %106, align 8
  invoke void %107(ptr noundef nonnull align 8 dereferenceable(48) %104)
          to label %108 unwind label %139

108:                                              ; preds = %102
  %109 = getelementptr inbounds %class.OSMeshSDMemory, ptr %27, i32 0, i32 3
  %110 = load ptr, ptr %109, align 8, !tbaa !53
  %111 = load ptr, ptr %6, align 8, !tbaa !5
  %112 = getelementptr inbounds %class.OSMeshSDMemory, ptr %27, i32 0, i32 1
  %113 = load ptr, ptr %112, align 8, !tbaa !57
  %114 = getelementptr inbounds %class.OSMeshSDMemory, ptr %27, i32 0, i32 14
  %115 = load i32, ptr %114, align 8, !tbaa !58
  %116 = getelementptr inbounds %class.OSMeshSDMemory, ptr %27, i32 0, i32 15
  %117 = load i32, ptr %116, align 4, !tbaa !59
  %118 = load ptr, ptr %110, align 8, !tbaa !54
  %119 = getelementptr inbounds ptr, ptr %118, i64 6
  %120 = load ptr, ptr %119, align 8
  invoke void %120(ptr noundef nonnull align 8 dereferenceable(48) %110, ptr noundef %111, ptr noundef %113, i32 noundef %115, i32 noundef %117)
          to label %121 unwind label %139

121:                                              ; preds = %108
  %122 = getelementptr inbounds %class.OSMeshSDMemory, ptr %27, i32 0, i32 2
  %123 = load ptr, ptr %122, align 8, !tbaa !56
  %124 = load ptr, ptr %6, align 8, !tbaa !5
  %125 = getelementptr inbounds %class.OSMeshSDMemory, ptr %27, i32 0, i32 1
  %126 = load ptr, ptr %125, align 8, !tbaa !57
  %127 = getelementptr inbounds %class.OSMeshSDMemory, ptr %27, i32 0, i32 14
  %128 = load i32, ptr %127, align 8, !tbaa !58
  %129 = getelementptr inbounds %class.OSMeshSDMemory, ptr %27, i32 0, i32 15
  %130 = load i32, ptr %129, align 4, !tbaa !59
  %131 = mul i32 %128, %130
  %132 = getelementptr inbounds %class.OSMeshSDMemory, ptr %27, i32 0, i32 33
  %133 = load i32, ptr %132, align 8, !tbaa !60
  %134 = load ptr, ptr %123, align 8, !tbaa !54
  %135 = getelementptr inbounds ptr, ptr %134, i64 7
  %136 = load ptr, ptr %135, align 8
  invoke void %136(ptr noundef nonnull align 8 dereferenceable(48) %123, ptr noundef %124, ptr noundef %126, i32 noundef %131, i32 noundef %133)
          to label %137 unwind label %139

137:                                              ; preds = %121
  %138 = getelementptr inbounds %class.OSMeshSDMemory, ptr %27, i32 0, i32 40
  store i8 0, ptr %138, align 2, !tbaa !61
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #10
  br label %148

139:                                              ; preds = %121, %108, %102, %96, %87
  %140 = landingpad { ptr, i32 }
          cleanup
  %141 = extractvalue { ptr, i32 } %140, 0
  store ptr %141, ptr %7, align 8
  %142 = extractvalue { ptr, i32 } %140, 1
  store i32 %142, ptr %8, align 4
  br label %147

143:                                              ; preds = %91
  %144 = landingpad { ptr, i32 }
          cleanup
  %145 = extractvalue { ptr, i32 } %144, 0
  store ptr %145, ptr %7, align 8
  %146 = extractvalue { ptr, i32 } %144, 1
  store i32 %146, ptr %8, align 4
  call void @_ZdlPvm(ptr noundef %90, i64 noundef 44) #12
  br label %147

147:                                              ; preds = %143, %139
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #10
  br label %500

148:                                              ; preds = %137, %34
  %149 = getelementptr inbounds %class.OSMeshSDMemory, ptr %27, i32 0, i32 10
  %150 = load i32, ptr %149, align 8, !tbaa !42
  %151 = icmp eq i32 %150, 1
  br i1 %151, label %152, label %284

152:                                              ; preds = %148
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #10
  store i32 0, ptr %9, align 4, !tbaa !47
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #10
  store i32 0, ptr %10, align 4, !tbaa !47
  br label %153

153:                                              ; preds = %190, %152
  %154 = load i32, ptr %10, align 4, !tbaa !47
  %155 = getelementptr inbounds %class.OSMeshSDMemory, ptr %27, i32 0, i32 21
  %156 = load i32, ptr %155, align 4, !tbaa !51
  %157 = icmp ult i32 %154, %156
  br i1 %157, label %159, label %158

158:                                              ; preds = %153
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #10
  br label %202

159:                                              ; preds = %153
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #10
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #10
  %160 = getelementptr inbounds %class.OSMeshSDMemory, ptr %27, i32 0, i32 36
  %161 = load i32, ptr %160, align 4, !tbaa !49
  %162 = getelementptr inbounds %class.OSMeshSDMemory, ptr %27, i32 0, i32 29
  %163 = load i32, ptr %162, align 8, !tbaa !50
  %164 = mul i32 %161, %163
  store i32 %164, ptr %12, align 4, !tbaa !47
  %165 = getelementptr inbounds %class.OSMeshSDMemory, ptr %27, i32 0, i32 27
  %166 = load ptr, ptr %165, align 8, !tbaa !62
  %167 = load i32, ptr %12, align 4, !tbaa !47
  %168 = load i32, ptr %10, align 4, !tbaa !47
  %169 = add nsw i32 %167, %168
  %170 = getelementptr inbounds %class.OSMeshSDMemory, ptr %27, i32 0, i32 6
  %171 = load i32, ptr %170, align 8, !tbaa !63
  %172 = mul i32 %169, %171
  %173 = getelementptr inbounds %class.OSMeshSDMemory, ptr %27, i32 0, i32 37
  %174 = load i32, ptr %173, align 8, !tbaa !64
  %175 = add i32 %172, %174
  %176 = zext i32 %175 to i64
  %177 = getelementptr inbounds float, ptr %166, i64 %176
  %178 = load float, ptr %177, align 4, !tbaa !65
  store float %178, ptr %11, align 4, !tbaa !65
  %179 = getelementptr inbounds %class.OSMeshSDMemory, ptr %27, i32 0, i32 50
  %180 = getelementptr inbounds %class.SDMemoryStats, ptr %179, i32 0, i32 2
  %181 = load i32, ptr %180, align 4, !tbaa !67
  %182 = add i32 %181, 1
  store i32 %182, ptr %180, align 4, !tbaa !67
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #10
  %183 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 64) #11
          to label %184 unwind label %193

184:                                              ; preds = %159
  %185 = load float, ptr %11, align 4, !tbaa !65
  %186 = load i32, ptr %10, align 4, !tbaa !47
  invoke void @_ZN11DataPackageC1Emf9operand_tj9traffic_tj(ptr noundef nonnull align 8 dereferenceable(64) %183, i64 noundef 4, float noundef %185, i32 noundef 0, i32 noundef 0, i32 noundef 2, i32 noundef %186)
          to label %187 unwind label %197

187:                                              ; preds = %184
  store ptr %183, ptr %13, align 8, !tbaa !5
  %188 = load ptr, ptr %13, align 8, !tbaa !5
  invoke void @_ZN14OSMeshSDMemory23sendPackageToInputFifosEP11DataPackage(ptr noundef nonnull align 8 dereferenceable(552) %27, ptr noundef %188)
          to label %189 unwind label %193

189:                                              ; preds = %187
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #10
  br label %190

190:                                              ; preds = %189
  %191 = load i32, ptr %10, align 4, !tbaa !47
  %192 = add nsw i32 %191, 1
  store i32 %192, ptr %10, align 4, !tbaa !47
  br label %153, !llvm.loop !68

193:                                              ; preds = %187, %159
  %194 = landingpad { ptr, i32 }
          cleanup
  %195 = extractvalue { ptr, i32 } %194, 0
  store ptr %195, ptr %7, align 8
  %196 = extractvalue { ptr, i32 } %194, 1
  store i32 %196, ptr %8, align 4
  br label %201

197:                                              ; preds = %184
  %198 = landingpad { ptr, i32 }
          cleanup
  %199 = extractvalue { ptr, i32 } %198, 0
  store ptr %199, ptr %7, align 8
  %200 = extractvalue { ptr, i32 } %198, 1
  store i32 %200, ptr %8, align 4
  call void @_ZdlPvm(ptr noundef %183, i64 noundef 64) #12
  br label %201

201:                                              ; preds = %197, %193
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #10
  br label %283

202:                                              ; preds = %158
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #10
  store i32 0, ptr %14, align 4, !tbaa !47
  br label %203

203:                                              ; preds = %243, %202
  %204 = load i32, ptr %14, align 4, !tbaa !47
  %205 = getelementptr inbounds %class.OSMeshSDMemory, ptr %27, i32 0, i32 20
  %206 = load i32, ptr %205, align 8, !tbaa !52
  %207 = icmp ult i32 %204, %206
  br i1 %207, label %209, label %208

208:                                              ; preds = %203
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #10
  br label %255

209:                                              ; preds = %203
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #10
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #10
  %210 = getelementptr inbounds %class.OSMeshSDMemory, ptr %27, i32 0, i32 35
  %211 = load i32, ptr %210, align 8, !tbaa !45
  %212 = getelementptr inbounds %class.OSMeshSDMemory, ptr %27, i32 0, i32 31
  %213 = load i32, ptr %212, align 8, !tbaa !46
  %214 = mul i32 %211, %213
  store i32 %214, ptr %16, align 4, !tbaa !47
  %215 = getelementptr inbounds %class.OSMeshSDMemory, ptr %27, i32 0, i32 26
  %216 = load ptr, ptr %215, align 8, !tbaa !70
  %217 = load i32, ptr %16, align 4, !tbaa !47
  %218 = load i32, ptr %14, align 4, !tbaa !47
  %219 = add nsw i32 %217, %218
  %220 = getelementptr inbounds %class.OSMeshSDMemory, ptr %27, i32 0, i32 6
  %221 = load i32, ptr %220, align 8, !tbaa !63
  %222 = mul i32 %219, %221
  %223 = getelementptr inbounds %class.OSMeshSDMemory, ptr %27, i32 0, i32 37
  %224 = load i32, ptr %223, align 8, !tbaa !64
  %225 = add i32 %222, %224
  %226 = zext i32 %225 to i64
  %227 = getelementptr inbounds float, ptr %216, i64 %226
  %228 = load float, ptr %227, align 4, !tbaa !65
  store float %228, ptr %15, align 4, !tbaa !65
  %229 = getelementptr inbounds %class.OSMeshSDMemory, ptr %27, i32 0, i32 50
  %230 = getelementptr inbounds %class.SDMemoryStats, ptr %229, i32 0, i32 3
  %231 = load i32, ptr %230, align 8, !tbaa !71
  %232 = add i32 %231, 1
  store i32 %232, ptr %230, align 8, !tbaa !71
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #10
  %233 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 64) #11
          to label %234 unwind label %246

234:                                              ; preds = %209
  %235 = load float, ptr %15, align 4, !tbaa !65
  %236 = load i32, ptr %14, align 4, !tbaa !47
  %237 = getelementptr inbounds %class.OSMeshSDMemory, ptr %27, i32 0, i32 15
  %238 = load i32, ptr %237, align 4, !tbaa !59
  %239 = add i32 %236, %238
  invoke void @_ZN11DataPackageC1Emf9operand_tj9traffic_tj(ptr noundef nonnull align 8 dereferenceable(64) %233, i64 noundef 4, float noundef %235, i32 noundef 1, i32 noundef 0, i32 noundef 2, i32 noundef %239)
          to label %240 unwind label %250

240:                                              ; preds = %234
  store ptr %233, ptr %17, align 8, !tbaa !5
  %241 = load ptr, ptr %17, align 8, !tbaa !5
  invoke void @_ZN14OSMeshSDMemory23sendPackageToInputFifosEP11DataPackage(ptr noundef nonnull align 8 dereferenceable(552) %27, ptr noundef %241)
          to label %242 unwind label %246

242:                                              ; preds = %240
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #10
  br label %243

243:                                              ; preds = %242
  %244 = load i32, ptr %14, align 4, !tbaa !47
  %245 = add nsw i32 %244, 1
  store i32 %245, ptr %14, align 4, !tbaa !47
  br label %203, !llvm.loop !72

246:                                              ; preds = %240, %209
  %247 = landingpad { ptr, i32 }
          cleanup
  %248 = extractvalue { ptr, i32 } %247, 0
  store ptr %248, ptr %7, align 8
  %249 = extractvalue { ptr, i32 } %247, 1
  store i32 %249, ptr %8, align 4
  br label %254

250:                                              ; preds = %234
  %251 = landingpad { ptr, i32 }
          cleanup
  %252 = extractvalue { ptr, i32 } %251, 0
  store ptr %252, ptr %7, align 8
  %253 = extractvalue { ptr, i32 } %251, 1
  store i32 %253, ptr %8, align 4
  call void @_ZdlPvm(ptr noundef %233, i64 noundef 64) #12
  br label %254

254:                                              ; preds = %250, %246
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #10
  br label %283

255:                                              ; preds = %208
  %256 = getelementptr inbounds %class.OSMeshSDMemory, ptr %27, i32 0, i32 37
  %257 = load i32, ptr %256, align 8, !tbaa !64
  %258 = add i32 %257, 1
  store i32 %258, ptr %256, align 8, !tbaa !64
  %259 = getelementptr inbounds %class.OSMeshSDMemory, ptr %27, i32 0, i32 37
  %260 = load i32, ptr %259, align 8, !tbaa !64
  %261 = getelementptr inbounds %class.OSMeshSDMemory, ptr %27, i32 0, i32 33
  %262 = load i32, ptr %261, align 8, !tbaa !60
  %263 = icmp eq i32 %260, %262
  br i1 %263, label %264, label %282

264:                                              ; preds = %255
  %265 = getelementptr inbounds %class.OSMeshSDMemory, ptr %27, i32 0, i32 37
  store i32 0, ptr %265, align 8, !tbaa !64
  %266 = getelementptr inbounds %class.OSMeshSDMemory, ptr %27, i32 0, i32 36
  %267 = load i32, ptr %266, align 4, !tbaa !49
  %268 = add i32 %267, 1
  store i32 %268, ptr %266, align 4, !tbaa !49
  %269 = getelementptr inbounds %class.OSMeshSDMemory, ptr %27, i32 0, i32 40
  store i8 1, ptr %269, align 2, !tbaa !61
  %270 = getelementptr inbounds %class.OSMeshSDMemory, ptr %27, i32 0, i32 36
  %271 = load i32, ptr %270, align 4, !tbaa !49
  %272 = getelementptr inbounds %class.OSMeshSDMemory, ptr %27, i32 0, i32 32
  %273 = load i32, ptr %272, align 4, !tbaa !73
  %274 = icmp eq i32 %271, %273
  br i1 %274, label %275, label %281

275:                                              ; preds = %264
  %276 = getelementptr inbounds %class.OSMeshSDMemory, ptr %27, i32 0, i32 36
  store i32 0, ptr %276, align 4, !tbaa !49
  %277 = getelementptr inbounds %class.OSMeshSDMemory, ptr %27, i32 0, i32 35
  %278 = load i32, ptr %277, align 8, !tbaa !45
  %279 = add i32 %278, 1
  store i32 %279, ptr %277, align 8, !tbaa !45
  %280 = getelementptr inbounds %class.OSMeshSDMemory, ptr %27, i32 0, i32 40
  store i8 1, ptr %280, align 2, !tbaa !61
  br label %281

281:                                              ; preds = %275, %264
  br label %282

282:                                              ; preds = %281, %255
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #10
  br label %284

283:                                              ; preds = %254, %201
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #10
  br label %500

284:                                              ; preds = %282, %148
  invoke void @_ZN14OSMeshSDMemory7receiveEv(ptr noundef nonnull align 8 dereferenceable(552) %27)
          to label %285 unwind label %299

285:                                              ; preds = %284
  %286 = getelementptr inbounds %class.OSMeshSDMemory, ptr %27, i32 0, i32 23
  %287 = load ptr, ptr %286, align 8, !tbaa !74
  %288 = invoke noundef zeroext i1 @_ZN4Fifo7isEmptyEv(ptr noundef nonnull align 8 dereferenceable(120) %287)
          to label %289 unwind label %299

289:                                              ; preds = %285
  br i1 %288, label %458, label %290

290:                                              ; preds = %289
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #10
  store i32 0, ptr %18, align 4, !tbaa !47
  br label %291

291:                                              ; preds = %450, %290
  %292 = load i32, ptr %18, align 4, !tbaa !47
  %293 = getelementptr inbounds %class.OSMeshSDMemory, ptr %27, i32 0, i32 23
  %294 = load ptr, ptr %293, align 8, !tbaa !74
  %295 = invoke noundef i32 @_ZN4Fifo4sizeEv(ptr noundef nonnull align 8 dereferenceable(120) %294)
          to label %296 unwind label %303

296:                                              ; preds = %291
  %297 = icmp ult i32 %292, %295
  br i1 %297, label %307, label %298

298:                                              ; preds = %296
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #10
  br label %457

299:                                              ; preds = %498, %285, %284
  %300 = landingpad { ptr, i32 }
          cleanup
  %301 = extractvalue { ptr, i32 } %300, 0
  store ptr %301, ptr %7, align 8
  %302 = extractvalue { ptr, i32 } %300, 1
  store i32 %302, ptr %8, align 4
  br label %500

303:                                              ; preds = %291
  %304 = landingpad { ptr, i32 }
          cleanup
  %305 = extractvalue { ptr, i32 } %304, 0
  store ptr %305, ptr %7, align 8
  %306 = extractvalue { ptr, i32 } %304, 1
  store i32 %306, ptr %8, align 4
  br label %456

307:                                              ; preds = %296
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #10
  %308 = getelementptr inbounds %class.OSMeshSDMemory, ptr %27, i32 0, i32 23
  %309 = load ptr, ptr %308, align 8, !tbaa !74
  %310 = invoke noundef ptr @_ZN4Fifo3popEv(ptr noundef nonnull align 8 dereferenceable(120) %309)
          to label %311 unwind label %395

311:                                              ; preds = %307
  store ptr %310, ptr %19, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #10
  %312 = load ptr, ptr %19, align 8, !tbaa !5
  %313 = invoke noundef i32 @_ZNK11DataPackage6get_vnEv(ptr noundef nonnull align 8 dereferenceable(64) %312)
          to label %314 unwind label %399

314:                                              ; preds = %311
  store i32 %313, ptr %20, align 4, !tbaa !47
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #10
  %315 = load ptr, ptr %19, align 8, !tbaa !5
  %316 = invoke noundef float @_ZNK11DataPackage8get_dataEv(ptr noundef nonnull align 8 dereferenceable(64) %315)
          to label %317 unwind label %403

317:                                              ; preds = %314
  store float %316, ptr %21, align 4, !tbaa !65
  %318 = getelementptr inbounds %class.OSMeshSDMemory, ptr %27, i32 0, i32 50
  %319 = getelementptr inbounds %class.SDMemoryStats, ptr %318, i32 0, i32 5
  %320 = load i32, ptr %319, align 8, !tbaa !75
  %321 = add i32 %320, 1
  store i32 %321, ptr %319, align 8, !tbaa !75
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #10
  %322 = getelementptr inbounds %class.OSMeshSDMemory, ptr %27, i32 0, i32 46
  %323 = load i32, ptr %322, align 8, !tbaa !76
  %324 = getelementptr inbounds %class.OSMeshSDMemory, ptr %27, i32 0, i32 32
  %325 = load i32, ptr %324, align 4, !tbaa !73
  %326 = udiv i32 %323, %325
  %327 = getelementptr inbounds %class.OSMeshSDMemory, ptr %27, i32 0, i32 31
  %328 = load i32, ptr %327, align 8, !tbaa !46
  %329 = mul i32 %326, %328
  store i32 %329, ptr %22, align 4, !tbaa !47
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #10
  %330 = getelementptr inbounds %class.OSMeshSDMemory, ptr %27, i32 0, i32 46
  %331 = load i32, ptr %330, align 8, !tbaa !76
  %332 = getelementptr inbounds %class.OSMeshSDMemory, ptr %27, i32 0, i32 32
  %333 = load i32, ptr %332, align 4, !tbaa !73
  %334 = urem i32 %331, %333
  %335 = getelementptr inbounds %class.OSMeshSDMemory, ptr %27, i32 0, i32 29
  %336 = load i32, ptr %335, align 8, !tbaa !50
  %337 = mul i32 %334, %336
  store i32 %337, ptr %23, align 4, !tbaa !47
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #10
  %338 = load i32, ptr %20, align 4, !tbaa !47
  %339 = getelementptr inbounds %class.OSMeshSDMemory, ptr %27, i32 0, i32 21
  %340 = load i32, ptr %339, align 4, !tbaa !51
  %341 = udiv i32 %338, %340
  store i32 %341, ptr %24, align 4, !tbaa !47
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #10
  %342 = load i32, ptr %20, align 4, !tbaa !47
  %343 = getelementptr inbounds %class.OSMeshSDMemory, ptr %27, i32 0, i32 21
  %344 = load i32, ptr %343, align 4, !tbaa !51
  %345 = urem i32 %342, %344
  store i32 %345, ptr %25, align 4, !tbaa !47
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #10
  %346 = load i32, ptr %22, align 4, !tbaa !47
  %347 = load i32, ptr %24, align 4, !tbaa !47
  %348 = add i32 %346, %347
  %349 = getelementptr inbounds %class.OSMeshSDMemory, ptr %27, i32 0, i32 5
  %350 = load i32, ptr %349, align 4, !tbaa !48
  %351 = mul i32 %348, %350
  %352 = load i32, ptr %23, align 4, !tbaa !47
  %353 = add i32 %351, %352
  %354 = load i32, ptr %25, align 4, !tbaa !47
  %355 = add i32 %353, %354
  store i32 %355, ptr %26, align 4, !tbaa !47
  %356 = getelementptr inbounds %class.OSMeshSDMemory, ptr %27, i32 0, i32 12
  %357 = load i32, ptr %20, align 4, !tbaa !47
  %358 = zext i32 %357 to i64
  %359 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %356, i64 noundef %358) #10
  %360 = load i32, ptr %359, align 4, !tbaa !47
  %361 = add i32 %360, 1
  store i32 %361, ptr %359, align 4, !tbaa !47
  %362 = load float, ptr %21, align 4, !tbaa !65
  %363 = getelementptr inbounds %class.OSMeshSDMemory, ptr %27, i32 0, i32 28
  %364 = load ptr, ptr %363, align 8, !tbaa !77
  %365 = load i32, ptr %26, align 4, !tbaa !47
  %366 = zext i32 %365 to i64
  %367 = getelementptr inbounds float, ptr %364, i64 %366
  store float %362, ptr %367, align 4, !tbaa !65
  %368 = getelementptr inbounds %class.OSMeshSDMemory, ptr %27, i32 0, i32 43
  %369 = load i32, ptr %368, align 4, !tbaa !78
  %370 = add i32 %369, 1
  store i32 %370, ptr %368, align 4, !tbaa !78
  %371 = getelementptr inbounds %class.OSMeshSDMemory, ptr %27, i32 0, i32 43
  %372 = load i32, ptr %371, align 4, !tbaa !78
  %373 = urem i32 %372, 10000
  %374 = icmp eq i32 %373, 0
  br i1 %374, label %375, label %411

375:                                              ; preds = %317
  %376 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.3)
          to label %377 unwind label %407

377:                                              ; preds = %375
  %378 = getelementptr inbounds %class.OSMeshSDMemory, ptr %27, i32 0, i32 43
  %379 = load i32, ptr %378, align 4, !tbaa !78
  %380 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEj(ptr noundef nonnull align 8 dereferenceable(8) %376, i32 noundef %379)
          to label %381 unwind label %407

381:                                              ; preds = %377
  %382 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %380, ptr noundef @.str.4)
          to label %383 unwind label %407

383:                                              ; preds = %381
  %384 = getelementptr inbounds %class.OSMeshSDMemory, ptr %27, i32 0, i32 4
  %385 = load i32, ptr %384, align 8, !tbaa !44
  %386 = getelementptr inbounds %class.OSMeshSDMemory, ptr %27, i32 0, i32 5
  %387 = load i32, ptr %386, align 4, !tbaa !48
  %388 = mul i32 %385, %387
  %389 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEj(ptr noundef nonnull align 8 dereferenceable(8) %382, i32 noundef %388)
          to label %390 unwind label %407

390:                                              ; preds = %383
  %391 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %389, ptr noundef @.str.5)
          to label %392 unwind label %407

392:                                              ; preds = %390
  %393 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %391, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %394 unwind label %407

394:                                              ; preds = %392
  br label %411

395:                                              ; preds = %307
  %396 = landingpad { ptr, i32 }
          cleanup
  %397 = extractvalue { ptr, i32 } %396, 0
  store ptr %397, ptr %7, align 8
  %398 = extractvalue { ptr, i32 } %396, 1
  store i32 %398, ptr %8, align 4
  br label %455

399:                                              ; preds = %311
  %400 = landingpad { ptr, i32 }
          cleanup
  %401 = extractvalue { ptr, i32 } %400, 0
  store ptr %401, ptr %7, align 8
  %402 = extractvalue { ptr, i32 } %400, 1
  store i32 %402, ptr %8, align 4
  br label %454

403:                                              ; preds = %314
  %404 = landingpad { ptr, i32 }
          cleanup
  %405 = extractvalue { ptr, i32 } %404, 0
  store ptr %405, ptr %7, align 8
  %406 = extractvalue { ptr, i32 } %404, 1
  store i32 %406, ptr %8, align 4
  br label %453

407:                                              ; preds = %392, %390, %383, %381, %377, %375
  %408 = landingpad { ptr, i32 }
          cleanup
  %409 = extractvalue { ptr, i32 } %408, 0
  store ptr %409, ptr %7, align 8
  %410 = extractvalue { ptr, i32 } %408, 1
  store i32 %410, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #10
  br label %453

411:                                              ; preds = %394, %317
  %412 = getelementptr inbounds %class.OSMeshSDMemory, ptr %27, i32 0, i32 43
  %413 = load i32, ptr %412, align 4, !tbaa !78
  %414 = getelementptr inbounds %class.OSMeshSDMemory, ptr %27, i32 0, i32 4
  %415 = load i32, ptr %414, align 8, !tbaa !44
  %416 = getelementptr inbounds %class.OSMeshSDMemory, ptr %27, i32 0, i32 5
  %417 = load i32, ptr %416, align 4, !tbaa !48
  %418 = mul i32 %415, %417
  %419 = icmp eq i32 %413, %418
  br i1 %419, label %420, label %422

420:                                              ; preds = %411
  %421 = getelementptr inbounds %class.OSMeshSDMemory, ptr %27, i32 0, i32 39
  store i8 1, ptr %421, align 1, !tbaa !79
  br label %422

422:                                              ; preds = %420, %411
  %423 = getelementptr inbounds %class.OSMeshSDMemory, ptr %27, i32 0, i32 45
  %424 = load i32, ptr %423, align 4, !tbaa !80
  %425 = add i32 %424, 1
  store i32 %425, ptr %423, align 4, !tbaa !80
  %426 = getelementptr inbounds %class.OSMeshSDMemory, ptr %27, i32 0, i32 45
  %427 = load i32, ptr %426, align 4, !tbaa !80
  %428 = getelementptr inbounds %class.OSMeshSDMemory, ptr %27, i32 0, i32 20
  %429 = load i32, ptr %428, align 8, !tbaa !52
  %430 = getelementptr inbounds %class.OSMeshSDMemory, ptr %27, i32 0, i32 21
  %431 = load i32, ptr %430, align 4, !tbaa !51
  %432 = mul i32 %429, %431
  %433 = icmp eq i32 %427, %432
  br i1 %433, label %434, label %445

434:                                              ; preds = %422
  %435 = getelementptr inbounds %class.OSMeshSDMemory, ptr %27, i32 0, i32 45
  store i32 0, ptr %435, align 4, !tbaa !80
  %436 = getelementptr inbounds %class.OSMeshSDMemory, ptr %27, i32 0, i32 46
  %437 = load i32, ptr %436, align 8, !tbaa !76
  %438 = add i32 %437, 1
  store i32 %438, ptr %436, align 8, !tbaa !76
  %439 = getelementptr inbounds %class.OSMeshSDMemory, ptr %27, i32 0, i32 10
  %440 = load i32, ptr %439, align 8, !tbaa !42
  %441 = icmp eq i32 %440, 2
  br i1 %441, label %442, label %444

442:                                              ; preds = %434
  %443 = getelementptr inbounds %class.OSMeshSDMemory, ptr %27, i32 0, i32 40
  store i8 1, ptr %443, align 2, !tbaa !61
  br label %444

444:                                              ; preds = %442, %434
  br label %445

445:                                              ; preds = %444, %422
  %446 = load ptr, ptr %19, align 8, !tbaa !5
  %447 = icmp eq ptr %446, null
  br i1 %447, label %449, label %448

448:                                              ; preds = %445
  call void @_ZN11DataPackageD1Ev(ptr noundef nonnull align 8 dereferenceable(64) %446) #10
  call void @_ZdlPvm(ptr noundef %446, i64 noundef 64) #12
  br label %449

449:                                              ; preds = %448, %445
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #10
  br label %450

450:                                              ; preds = %449
  %451 = load i32, ptr %18, align 4, !tbaa !47
  %452 = add nsw i32 %451, 1
  store i32 %452, ptr %18, align 4, !tbaa !47
  br label %291, !llvm.loop !81

453:                                              ; preds = %407, %403
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #10
  br label %454

454:                                              ; preds = %453, %399
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #10
  br label %455

455:                                              ; preds = %454, %395
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #10
  br label %456

456:                                              ; preds = %455, %303
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #10
  br label %500

457:                                              ; preds = %298
  br label %458

458:                                              ; preds = %457, %289
  %459 = getelementptr inbounds %class.OSMeshSDMemory, ptr %27, i32 0, i32 10
  %460 = load i32, ptr %459, align 8, !tbaa !42
  %461 = icmp eq i32 %460, 0
  br i1 %461, label %462, label %464

462:                                              ; preds = %458
  %463 = getelementptr inbounds %class.OSMeshSDMemory, ptr %27, i32 0, i32 10
  store i32 1, ptr %463, align 8, !tbaa !42
  br label %498

464:                                              ; preds = %458
  %465 = getelementptr inbounds %class.OSMeshSDMemory, ptr %27, i32 0, i32 10
  %466 = load i32, ptr %465, align 8, !tbaa !42
  %467 = icmp eq i32 %466, 1
  br i1 %467, label %468, label %485

468:                                              ; preds = %464
  %469 = getelementptr inbounds %class.OSMeshSDMemory, ptr %27, i32 0, i32 40
  %470 = load i8, ptr %469, align 2, !tbaa !61, !range !38, !noundef !39
  %471 = trunc i8 %470 to i1
  br i1 %471, label %472, label %484

472:                                              ; preds = %468
  %473 = getelementptr inbounds %class.OSMeshSDMemory, ptr %27, i32 0, i32 35
  %474 = load i32, ptr %473, align 8, !tbaa !45
  %475 = getelementptr inbounds %class.OSMeshSDMemory, ptr %27, i32 0, i32 34
  %476 = load i32, ptr %475, align 4, !tbaa !82
  %477 = icmp uge i32 %474, %476
  br i1 %477, label %478, label %480

478:                                              ; preds = %472
  %479 = getelementptr inbounds %class.OSMeshSDMemory, ptr %27, i32 0, i32 10
  store i32 3, ptr %479, align 8, !tbaa !42
  br label %483

480:                                              ; preds = %472
  %481 = getelementptr inbounds %class.OSMeshSDMemory, ptr %27, i32 0, i32 10
  store i32 2, ptr %481, align 8, !tbaa !42
  %482 = getelementptr inbounds %class.OSMeshSDMemory, ptr %27, i32 0, i32 40
  store i8 0, ptr %482, align 2, !tbaa !61
  br label %483

483:                                              ; preds = %480, %478
  br label %484

484:                                              ; preds = %483, %468
  br label %497

485:                                              ; preds = %464
  %486 = getelementptr inbounds %class.OSMeshSDMemory, ptr %27, i32 0, i32 10
  %487 = load i32, ptr %486, align 8, !tbaa !42
  %488 = icmp eq i32 %487, 2
  br i1 %488, label %489, label %496

489:                                              ; preds = %485
  %490 = getelementptr inbounds %class.OSMeshSDMemory, ptr %27, i32 0, i32 40
  %491 = load i8, ptr %490, align 2, !tbaa !61, !range !38, !noundef !39
  %492 = trunc i8 %491 to i1
  br i1 %492, label %493, label %495

493:                                              ; preds = %489
  %494 = getelementptr inbounds %class.OSMeshSDMemory, ptr %27, i32 0, i32 10
  store i32 0, ptr %494, align 8, !tbaa !42
  br label %495

495:                                              ; preds = %493, %489
  br label %496

496:                                              ; preds = %495, %485
  br label %497

497:                                              ; preds = %496, %484
  br label %498

498:                                              ; preds = %497, %462
  invoke void @_ZN14OSMeshSDMemory4sendEv(ptr noundef nonnull align 8 dereferenceable(552) %27)
          to label %499 unwind label %299

499:                                              ; preds = %498
  call void @_ZNSt6vectorIP11DataPackageSaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr %3) #10
  ret void

500:                                              ; preds = %456, %299, %283, %147
  call void @_ZNSt6vectorIP11DataPackageSaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr %3) #10
  br label %501

501:                                              ; preds = %500
  %502 = load ptr, ptr %7, align 8
  %503 = load i32, ptr %8, align 4
  %504 = insertvalue { ptr, i32 } poison, ptr %502, 0
  %505 = insertvalue { ptr, i32 } %504, i32 %503, 1
  resume { ptr, i32 } %505
}

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

declare void @_ZN4TileC1Ejjjjjjjjb(ptr noundef nonnull align 4 dereferenceable(41), i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i1 noundef zeroext) unnamed_addr #6

declare void @_ZN11DataPackageC1Emf9operand_tj9traffic_tj(ptr noundef nonnull align 8 dereferenceable(64), i64 noundef, float noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) unnamed_addr #6

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN14OSMeshSDMemory23sendPackageToInputFifosEP11DataPackage(ptr noundef nonnull align 8 dereferenceable(552), ptr noundef) #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN14OSMeshSDMemory7receiveEv(ptr noundef nonnull align 8 dereferenceable(552)) #4 align 2

declare noundef zeroext i1 @_ZN4Fifo7isEmptyEv(ptr noundef nonnull align 8 dereferenceable(120)) #6

declare noundef i32 @_ZN4Fifo4sizeEv(ptr noundef nonnull align 8 dereferenceable(120)) #6

declare noundef ptr @_ZN4Fifo3popEv(ptr noundef nonnull align 8 dereferenceable(120)) #6

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK11DataPackage6get_vnEv(ptr noundef nonnull align 8 dereferenceable(64)) #5 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef float @_ZNK11DataPackage8get_dataEv(ptr noundef nonnull align 8 dereferenceable(64)) #5 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #7

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEj(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef) #4 align 2

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

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

; Function Attrs: nounwind
declare void @_ZN11DataPackageD1Ev(ptr noundef nonnull align 8 dereferenceable(64)) unnamed_addr #8

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN14OSMeshSDMemory4sendEv(ptr noundef nonnull align 8 dereferenceable(552)) #4 align 2

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

attributes #0 = { nobuiltin allocsize(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 = { nobuiltin 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 #2 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { 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 #4 = { 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 #5 = { 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 = { "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 #7 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #8 = { 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 #9 = { noreturn nounwind }
attributes #10 = { nounwind }
attributes #11 = { builtin allocsize(0) }
attributes #12 = { builtin 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, !34, i64 344}
!10 = !{!"_ZTS14OSMeshSDMemory", !11, i64 0, !6, i64 48, !6, i64 56, !6, i64 64, !13, i64 72, !13, i64 76, !13, i64 80, !13, i64 84, !13, i64 88, !6, i64 96, !17, i64 104, !18, i64 112, !22, i64 136, !26, i64 160, !13, i64 184, !13, i64 188, !13, i64 192, !13, i64 196, !13, i64 200, !13, i64 204, !13, i64 208, !13, i64 212, !13, i64 216, !6, i64 224, !30, i64 232, !30, i64 256, !6, i64 280, !6, i64 288, !6, i64 296, !13, i64 304, !13, i64 308, !13, i64 312, !13, i64 316, !13, i64 320, !13, i64 324, !13, i64 328, !13, i64 332, !13, i64 336, !34, i64 340, !34, i64 341, !34, i64 342, !34, i64 343, !34, i64 344, !13, i64 348, !13, i64 352, !13, i64 356, !13, i64 360, !13, i64 364, !26, i64 368, !13, i64 392, !35, i64 400}
!11 = !{!"_ZTS16MemoryController", !12, i64 0}
!12 = !{!"_ZTS4Unit", !13, i64 8, !14, i64 16}
!13 = !{!"int", !7, i64 0}
!14 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !15, i64 0, !16, i64 8, !7, i64 16}
!15 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!16 = !{!"long", !7, i64 0}
!17 = !{!"_ZTS21OSMeshControllerState", !7, i64 0}
!18 = !{!"_ZTSSt6vectorI8SparseVNSaIS0_EE", !19, i64 0}
!19 = !{!"_ZTSSt12_Vector_baseI8SparseVNSaIS0_EE", !20, i64 0}
!20 = !{!"_ZTSNSt12_Vector_baseI8SparseVNSaIS0_EE12_Vector_implE", !21, i64 0}
!21 = !{!"_ZTSNSt12_Vector_baseI8SparseVNSaIS0_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!22 = !{!"_ZTSSt6vectorIjSaIjEE", !23, i64 0}
!23 = !{!"_ZTSSt12_Vector_baseIjSaIjEE", !24, i64 0}
!24 = !{!"_ZTSNSt12_Vector_baseIjSaIjEE12_Vector_implE", !25, i64 0}
!25 = !{!"_ZTSNSt12_Vector_baseIjSaIjEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!26 = !{!"_ZTSSt6vectorIP10ConnectionSaIS1_EE", !27, i64 0}
!27 = !{!"_ZTSSt12_Vector_baseIP10ConnectionSaIS1_EE", !28, i64 0}
!28 = !{!"_ZTSNSt12_Vector_baseIP10ConnectionSaIS1_EE12_Vector_implE", !29, i64 0}
!29 = !{!"_ZTSNSt12_Vector_baseIP10ConnectionSaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!30 = !{!"_ZTSSt6vectorIP4FifoSaIS1_EE", !31, i64 0}
!31 = !{!"_ZTSSt12_Vector_baseIP4FifoSaIS1_EE", !32, i64 0}
!32 = !{!"_ZTSNSt12_Vector_baseIP4FifoSaIS1_EE12_Vector_implE", !33, i64 0}
!33 = !{!"_ZTSNSt12_Vector_baseIP4FifoSaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!34 = !{!"bool", !7, i64 0}
!35 = !{!"_ZTS13SDMemoryStats", !36, i64 0, !13, i64 8, !13, i64 12, !13, i64 16, !13, i64 20, !13, i64 24, !13, i64 28, !13, i64 32, !13, i64 36, !13, i64 40, !13, i64 44, !37, i64 48, !22, i64 56, !22, i64 80, !22, i64 104, !22, i64 128}
!36 = !{!"_ZTS5Stats"}
!37 = !{!"_ZTS8Dataflow", !7, i64 0}
!38 = !{i8 0, i8 2}
!39 = !{}
!40 = !{!10, !13, i64 392}
!41 = !{!10, !13, i64 408}
!42 = !{!10, !17, i64 104}
!43 = !{!10, !13, i64 444}
!44 = !{!10, !13, i64 72}
!45 = !{!10, !13, i64 328}
!46 = !{!10, !13, i64 312}
!47 = !{!13, !13, i64 0}
!48 = !{!10, !13, i64 76}
!49 = !{!10, !13, i64 332}
!50 = !{!10, !13, i64 304}
!51 = !{!10, !13, i64 212}
!52 = !{!10, !13, i64 208}
!53 = !{!10, !6, i64 64}
!54 = !{!55, !55, i64 0}
!55 = !{!"vtable pointer", !8, i64 0}
!56 = !{!10, !6, i64 56}
!57 = !{!10, !6, i64 48}
!58 = !{!10, !13, i64 184}
!59 = !{!10, !13, i64 188}
!60 = !{!10, !13, i64 320}
!61 = !{!10, !34, i64 342}
!62 = !{!10, !6, i64 288}
!63 = !{!10, !13, i64 80}
!64 = !{!10, !13, i64 336}
!65 = !{!66, !66, i64 0}
!66 = !{!"float", !7, i64 0}
!67 = !{!10, !13, i64 412}
!68 = distinct !{!68, !69}
!69 = !{!"llvm.loop.mustprogress"}
!70 = !{!10, !6, i64 280}
!71 = !{!10, !13, i64 416}
!72 = distinct !{!72, !69}
!73 = !{!10, !13, i64 316}
!74 = !{!10, !6, i64 224}
!75 = !{!10, !13, i64 424}
!76 = !{!10, !13, i64 360}
!77 = !{!10, !6, i64 296}
!78 = !{!10, !13, i64 348}
!79 = !{!10, !34, i64 341}
!80 = !{!10, !13, i64 356}
!81 = distinct !{!81, !69}
!82 = !{!10, !13, i64 324}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%"class.std::basic_ostream" = type { ptr, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }
%"class.std::vector.21" = type { %"struct.std::_Vector_base.22" }
%"struct.std::_Vector_base.22" = type { %"struct.std::_Vector_base<DataPackage *, std::allocator<DataPackage *>>::_Vector_impl" }
%"struct.std::_Vector_base<DataPackage *, std::allocator<DataPackage *>>::_Vector_impl" = type { %"struct.std::_Vector_base<DataPackage *, std::allocator<DataPackage *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<DataPackage *, std::allocator<DataPackage *>>::_Vector_impl_data" = type { ptr, ptr, ptr }

@.str.1 = external hidden unnamed_addr constant [97 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [19 x i8], align 1
@__PRETTY_FUNCTION__._ZN14OSMeshSDMemory5cycleEv = external hidden unnamed_addr constant [37 x i8], align 1
@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str.3 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [2 x i8], align 1

declare i32 @__gxx_personality_v0(...)

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znwm(i64 noundef) local_unnamed_addr #0

; Function Attrs: nobuiltin nounwind
declare void @_ZdlPvm(ptr noundef, i64 noundef) 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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN14OSMeshSDMemory5cycleEv(ptr noundef nonnull align 8 dereferenceable(552) %0) unnamed_addr #4 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca %"class.std::vector.21", align 8
  %3 = getelementptr inbounds i8, ptr %0, i64 344
  %4 = load i8, ptr %3, align 8, !tbaa !5, !range !37, !noundef !38
  %5 = trunc nuw i8 %4 to i1
  br i1 %5, label %7, label %6

6:                                                ; preds = %1
  tail call void @__assert_fail(ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.1, i32 noundef 114, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN14OSMeshSDMemory5cycleEv) #10
  unreachable

7:                                                ; preds = %1
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %2) #11
  call void @_ZNSt6vectorIP11DataPackageSaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %2) #11
  %8 = getelementptr inbounds i8, ptr %0, i64 392
  %9 = load i32, ptr %8, align 8, !tbaa !39
  %10 = add i32 %9, 1
  store i32 %10, ptr %8, align 8, !tbaa !39
  %11 = getelementptr inbounds i8, ptr %0, i64 408
  %12 = load i32, ptr %11, align 8, !tbaa !40
  %13 = add i32 %12, 1
  store i32 %13, ptr %11, align 8, !tbaa !40
  %14 = getelementptr inbounds i8, ptr %0, i64 104
  %15 = load i32, ptr %14, align 8, !tbaa !41
  %16 = icmp eq i32 %15, 0
  br i1 %16, label %17, label %82

17:                                               ; preds = %7
  %18 = getelementptr inbounds i8, ptr %0, i64 444
  %19 = load i32, ptr %18, align 4, !tbaa !42
  %20 = add i32 %19, 1
  store i32 %20, ptr %18, align 4, !tbaa !42
  %21 = getelementptr inbounds i8, ptr %0, i64 72
  %22 = load i32, ptr %21, align 8, !tbaa !43
  %23 = getelementptr inbounds i8, ptr %0, i64 328
  %24 = load i32, ptr %23, align 8, !tbaa !44
  %25 = getelementptr inbounds i8, ptr %0, i64 312
  %26 = load i32, ptr %25, align 8, !tbaa !45
  %27 = mul i32 %26, %24
  %28 = sub i32 %22, %27
  %29 = getelementptr inbounds i8, ptr %0, i64 76
  %30 = load i32, ptr %29, align 4, !tbaa !46
  %31 = getelementptr inbounds i8, ptr %0, i64 332
  %32 = load i32, ptr %31, align 4, !tbaa !47
  %33 = getelementptr inbounds i8, ptr %0, i64 304
  %34 = load i32, ptr %33, align 8, !tbaa !48
  %35 = mul i32 %34, %32
  %36 = sub i32 %30, %35
  %. = call i32 @llvm.umin.i32(i32 %36, i32 %34)
  %37 = getelementptr inbounds i8, ptr %0, i64 212
  store i32 %., ptr %37, align 4, !tbaa !49
  %38 = call i32 @llvm.umin.i32(i32 %28, i32 %26)
  %39 = getelementptr inbounds i8, ptr %0, i64 208
  store i32 %38, ptr %39, align 8, !tbaa !50
  %40 = invoke noalias noundef nonnull dereferenceable(44) ptr @_Znwm(i64 noundef 44) #12
          to label %41 unwind label %78

41:                                               ; preds = %17
  invoke void @_ZN4TileC1Ejjjjjjjjb(ptr noundef nonnull align 4 dereferenceable(41) %40, i32 noundef 1, i32 noundef 1, i32 noundef 1, i32 noundef %., i32 noundef 1, i32 noundef 1, i32 noundef %38, i32 noundef 1, i1 noundef zeroext false)
          to label %42 unwind label %80

42:                                               ; preds = %41
  %43 = getelementptr inbounds i8, ptr %0, i64 64
  %44 = load ptr, ptr %43, align 8, !tbaa !51
  %45 = load ptr, ptr %44, align 8, !tbaa !52
  %46 = getelementptr inbounds i8, ptr %45, i64 64
  %47 = load ptr, ptr %46, align 8
  invoke void %47(ptr noundef nonnull align 8 dereferenceable(48) %44)
          to label %48 unwind label %78

48:                                               ; preds = %42
  %49 = getelementptr inbounds i8, ptr %0, i64 56
  %50 = load ptr, ptr %49, align 8, !tbaa !54
  %51 = load ptr, ptr %50, align 8, !tbaa !52
  %52 = getelementptr inbounds i8, ptr %51, i64 72
  %53 = load ptr, ptr %52, align 8
  invoke void %53(ptr noundef nonnull align 8 dereferenceable(48) %50)
          to label %54 unwind label %78

54:                                               ; preds = %48
  %55 = load ptr, ptr %43, align 8, !tbaa !51
  %56 = getelementptr inbounds i8, ptr %0, i64 48
  %57 = load ptr, ptr %56, align 8, !tbaa !55
  %58 = getelementptr inbounds i8, ptr %0, i64 184
  %59 = load i32, ptr %58, align 8, !tbaa !56
  %60 = getelementptr inbounds i8, ptr %0, i64 188
  %61 = load i32, ptr %60, align 4, !tbaa !57
  %62 = load ptr, ptr %55, align 8, !tbaa !52
  %63 = getelementptr inbounds i8, ptr %62, i64 48
  %64 = load ptr, ptr %63, align 8
  invoke void %64(ptr noundef nonnull align 8 dereferenceable(48) %55, ptr noundef nonnull %40, ptr noundef %57, i32 noundef %59, i32 noundef %61)
          to label %65 unwind label %78

65:                                               ; preds = %54
  %66 = load ptr, ptr %49, align 8, !tbaa !54
  %67 = load ptr, ptr %56, align 8, !tbaa !55
  %68 = load i32, ptr %58, align 8, !tbaa !56
  %69 = load i32, ptr %60, align 4, !tbaa !57
  %70 = mul i32 %69, %68
  %71 = getelementptr inbounds i8, ptr %0, i64 320
  %72 = load i32, ptr %71, align 8, !tbaa !58
  %73 = load ptr, ptr %66, align 8, !tbaa !52
  %74 = getelementptr inbounds i8, ptr %73, i64 56
  %75 = load ptr, ptr %74, align 8
  invoke void %75(ptr noundef nonnull align 8 dereferenceable(48) %66, ptr noundef nonnull %40, ptr noundef %67, i32 noundef %70, i32 noundef %72)
          to label %76 unwind label %78

76:                                               ; preds = %65
  %77 = getelementptr inbounds i8, ptr %0, i64 342
  store i8 0, ptr %77, align 2, !tbaa !59
  %.pr = load i32, ptr %14, align 8, !tbaa !41
  br label %82

78:                                               ; preds = %65, %54, %48, %42, %17
  %79 = landingpad { ptr, i32 }
          cleanup
  br label %301

80:                                               ; preds = %41
  %81 = landingpad { ptr, i32 }
          cleanup
  call void @_ZdlPvm(ptr noundef nonnull %40, i64 noundef 44) #13
  br label %301

82:                                               ; preds = %76, %7
  %83 = phi i32 [ %.pr, %76 ], [ %15, %7 ]
  %84 = icmp eq i32 %83, 1
  br i1 %84, label %.preheader62, label %174

.preheader62:                                     ; preds = %82
  %85 = getelementptr inbounds i8, ptr %0, i64 212
  %86 = load i32, ptr %85, align 4, !tbaa !49
  %.not67 = icmp eq i32 %86, 0
  br i1 %.not67, label %.preheader61, label %.lr.ph

.lr.ph:                                           ; preds = %.preheader62
  %87 = getelementptr inbounds i8, ptr %0, i64 332
  %88 = getelementptr inbounds i8, ptr %0, i64 304
  %89 = getelementptr inbounds i8, ptr %0, i64 288
  %90 = getelementptr inbounds i8, ptr %0, i64 80
  %91 = getelementptr inbounds i8, ptr %0, i64 336
  %92 = getelementptr inbounds i8, ptr %0, i64 412
  br label %102

.preheader61:                                     ; preds = %120, %.preheader62
  %93 = getelementptr inbounds i8, ptr %0, i64 208
  %94 = load i32, ptr %93, align 8, !tbaa !50
  %.not68 = icmp eq i32 %94, 0
  br i1 %.not68, label %._crit_edge, label %.lr.ph66

.lr.ph66:                                         ; preds = %.preheader61
  %95 = getelementptr inbounds i8, ptr %0, i64 328
  %96 = getelementptr inbounds i8, ptr %0, i64 312
  %97 = getelementptr inbounds i8, ptr %0, i64 280
  %98 = getelementptr inbounds i8, ptr %0, i64 80
  %99 = getelementptr inbounds i8, ptr %0, i64 336
  %100 = getelementptr inbounds i8, ptr %0, i64 416
  %101 = getelementptr inbounds i8, ptr %0, i64 188
  br label %134

102:                                              ; preds = %.lr.ph, %120
  %.04364 = phi i32 [ 0, %.lr.ph ], [ %121, %120 ]
  %103 = load i32, ptr %87, align 4, !tbaa !47
  %104 = load i32, ptr %88, align 8, !tbaa !48
  %105 = mul i32 %104, %103
  %106 = load ptr, ptr %89, align 8, !tbaa !60
  %107 = add nsw i32 %105, %.04364
  %108 = load i32, ptr %90, align 8, !tbaa !61
  %109 = mul i32 %107, %108
  %110 = load i32, ptr %91, align 8, !tbaa !62
  %111 = add i32 %109, %110
  %112 = zext i32 %111 to i64
  %113 = getelementptr inbounds float, ptr %106, i64 %112
  %114 = load float, ptr %113, align 4, !tbaa !63
  %115 = load i32, ptr %92, align 4, !tbaa !65
  %116 = add i32 %115, 1
  store i32 %116, ptr %92, align 4, !tbaa !65
  %117 = invoke noalias noundef nonnull dereferenceable(64) ptr @_Znwm(i64 noundef 64) #12
          to label %118 unwind label %124

118:                                              ; preds = %102
  invoke void @_ZN11DataPackageC1Emf9operand_tj9traffic_tj(ptr noundef nonnull align 8 dereferenceable(64) %117, i64 noundef 4, float noundef %114, i32 noundef 0, i32 noundef 0, i32 noundef 2, i32 noundef %.04364)
          to label %119 unwind label %126

119:                                              ; preds = %118
  invoke void @_ZN14OSMeshSDMemory23sendPackageToInputFifosEP11DataPackage(ptr noundef nonnull align 8 dereferenceable(552) %0, ptr noundef nonnull %117)
          to label %120 unwind label %124

120:                                              ; preds = %119
  %121 = add nuw nsw i32 %.04364, 1
  %122 = load i32, ptr %85, align 4, !tbaa !49
  %123 = icmp ult i32 %121, %122
  br i1 %123, label %102, label %.preheader61, !llvm.loop !66

124:                                              ; preds = %119, %102
  %125 = landingpad { ptr, i32 }
          cleanup
  br label %301

126:                                              ; preds = %118
  %127 = landingpad { ptr, i32 }
          cleanup
  call void @_ZdlPvm(ptr noundef nonnull %117, i64 noundef 64) #13
  br label %301

._crit_edge:                                      ; preds = %154, %.preheader61
  %128 = getelementptr inbounds i8, ptr %0, i64 336
  %129 = load i32, ptr %128, align 8, !tbaa !62
  %130 = add i32 %129, 1
  store i32 %130, ptr %128, align 8, !tbaa !62
  %131 = getelementptr inbounds i8, ptr %0, i64 320
  %132 = load i32, ptr %131, align 8, !tbaa !58
  %133 = icmp eq i32 %130, %132
  br i1 %133, label %162, label %174

134:                                              ; preds = %.lr.ph66, %154
  %.04465 = phi i32 [ 0, %.lr.ph66 ], [ %155, %154 ]
  %135 = load i32, ptr %95, align 8, !tbaa !44
  %136 = load i32, ptr %96, align 8, !tbaa !45
  %137 = mul i32 %136, %135
  %138 = load ptr, ptr %97, align 8, !tbaa !68
  %139 = add nsw i32 %137, %.04465
  %140 = load i32, ptr %98, align 8, !tbaa !61
  %141 = mul i32 %139, %140
  %142 = load i32, ptr %99, align 8, !tbaa !62
  %143 = add i32 %141, %142
  %144 = zext i32 %143 to i64
  %145 = getelementptr inbounds float, ptr %138, i64 %144
  %146 = load float, ptr %145, align 4, !tbaa !63
  %147 = load i32, ptr %100, align 8, !tbaa !69
  %148 = add i32 %147, 1
  store i32 %148, ptr %100, align 8, !tbaa !69
  %149 = invoke noalias noundef nonnull dereferenceable(64) ptr @_Znwm(i64 noundef 64) #12
          to label %150 unwind label %158

150:                                              ; preds = %134
  %151 = load i32, ptr %101, align 4, !tbaa !57
  %152 = add i32 %151, %.04465
  invoke void @_ZN11DataPackageC1Emf9operand_tj9traffic_tj(ptr noundef nonnull align 8 dereferenceable(64) %149, i64 noundef 4, float noundef %146, i32 noundef 1, i32 noundef 0, i32 noundef 2, i32 noundef %152)
          to label %153 unwind label %160

153:                                              ; preds = %150
  invoke void @_ZN14OSMeshSDMemory23sendPackageToInputFifosEP11DataPackage(ptr noundef nonnull align 8 dereferenceable(552) %0, ptr noundef nonnull %149)
          to label %154 unwind label %158

154:                                              ; preds = %153
  %155 = add nuw nsw i32 %.04465, 1
  %156 = load i32, ptr %93, align 8, !tbaa !50
  %157 = icmp ult i32 %155, %156
  br i1 %157, label %134, label %._crit_edge, !llvm.loop !70

158:                                              ; preds = %153, %134
  %159 = landingpad { ptr, i32 }
          cleanup
  br label %301

160:                                              ; preds = %150
  %161 = landingpad { ptr, i32 }
          cleanup
  call void @_ZdlPvm(ptr noundef nonnull %149, i64 noundef 64) #13
  br label %301

162:                                              ; preds = %._crit_edge
  store i32 0, ptr %128, align 8, !tbaa !62
  %163 = getelementptr inbounds i8, ptr %0, i64 332
  %164 = load i32, ptr %163, align 4, !tbaa !47
  %165 = add i32 %164, 1
  store i32 %165, ptr %163, align 4, !tbaa !47
  %166 = getelementptr inbounds i8, ptr %0, i64 342
  store i8 1, ptr %166, align 2, !tbaa !59
  %167 = getelementptr inbounds i8, ptr %0, i64 316
  %168 = load i32, ptr %167, align 4, !tbaa !71
  %169 = icmp eq i32 %165, %168
  br i1 %169, label %170, label %174

170:                                              ; preds = %162
  store i32 0, ptr %163, align 4, !tbaa !47
  %171 = getelementptr inbounds i8, ptr %0, i64 328
  %172 = load i32, ptr %171, align 8, !tbaa !44
  %173 = add i32 %172, 1
  store i32 %173, ptr %171, align 8, !tbaa !44
  store i8 1, ptr %166, align 2, !tbaa !59
  br label %174

174:                                              ; preds = %._crit_edge, %170, %162, %82
  invoke void @_ZN14OSMeshSDMemory7receiveEv(ptr noundef nonnull align 8 dereferenceable(552) %0)
          to label %175 unwind label %200

175:                                              ; preds = %174
  %176 = getelementptr inbounds i8, ptr %0, i64 224
  %177 = load ptr, ptr %176, align 8, !tbaa !72
  %178 = invoke noundef zeroext i1 @_ZN4Fifo7isEmptyEv(ptr noundef nonnull align 8 dereferenceable(120) %177)
          to label %179 unwind label %200

179:                                              ; preds = %175
  br i1 %178, label %.loopexit, label %.preheader

.preheader:                                       ; preds = %179
  %180 = getelementptr inbounds i8, ptr %0, i64 424
  %181 = getelementptr inbounds i8, ptr %0, i64 360
  %182 = getelementptr inbounds i8, ptr %0, i64 316
  %183 = getelementptr inbounds i8, ptr %0, i64 312
  %184 = getelementptr inbounds i8, ptr %0, i64 304
  %185 = getelementptr inbounds i8, ptr %0, i64 212
  %186 = getelementptr inbounds i8, ptr %0, i64 76
  %187 = getelementptr inbounds i8, ptr %0, i64 136
  %188 = getelementptr inbounds i8, ptr %0, i64 296
  %189 = getelementptr inbounds i8, ptr %0, i64 348
  %190 = getelementptr inbounds i8, ptr %0, i64 72
  %191 = getelementptr inbounds i8, ptr %0, i64 341
  %192 = getelementptr inbounds i8, ptr %0, i64 356
  %193 = getelementptr inbounds i8, ptr %0, i64 208
  %194 = getelementptr inbounds i8, ptr %0, i64 342
  br label %195

195:                                              ; preds = %.preheader, %279
  %.045 = phi i32 [ %280, %279 ], [ 0, %.preheader ]
  %196 = load ptr, ptr %176, align 8, !tbaa !72
  %197 = invoke noundef i32 @_ZN4Fifo4sizeEv(ptr noundef nonnull align 8 dereferenceable(120) %196)
          to label %198 unwind label %202

198:                                              ; preds = %195
  %199 = icmp ult i32 %.045, %197
  br i1 %199, label %204, label %.loopexit

200:                                              ; preds = %299, %175, %174
  %201 = landingpad { ptr, i32 }
          cleanup
  br label %301

202:                                              ; preds = %195
  %203 = landingpad { ptr, i32 }
          cleanup
  br label %301

204:                                              ; preds = %198
  %205 = load ptr, ptr %176, align 8, !tbaa !72
  %206 = invoke noundef ptr @_ZN4Fifo3popEv(ptr noundef nonnull align 8 dereferenceable(120) %205)
          to label %207 unwind label %255

207:                                              ; preds = %204
  %208 = call noundef i32 @_ZNK11DataPackage6get_vnEv(ptr noundef nonnull align 8 dereferenceable(64) %206)
  %209 = call noundef float @_ZNK11DataPackage8get_dataEv(ptr noundef nonnull align 8 dereferenceable(64) %206)
  %210 = load i32, ptr %180, align 8, !tbaa !73
  %211 = add i32 %210, 1
  store i32 %211, ptr %180, align 8, !tbaa !73
  %212 = load i32, ptr %181, align 8, !tbaa !74
  %213 = load i32, ptr %182, align 4, !tbaa !71
  %214 = udiv i32 %212, %213
  %215 = load i32, ptr %183, align 8, !tbaa !45
  %216 = mul i32 %215, %214
  %217 = urem i32 %212, %213
  %218 = load i32, ptr %184, align 8, !tbaa !48
  %219 = mul i32 %218, %217
  %220 = load i32, ptr %185, align 4, !tbaa !49
  %221 = udiv i32 %208, %220
  %222 = urem i32 %208, %220
  %223 = add i32 %221, %216
  %224 = load i32, ptr %186, align 4, !tbaa !46
  %225 = mul i32 %224, %223
  %226 = add i32 %222, %219
  %227 = add i32 %226, %225
  %228 = zext i32 %208 to i64
  %229 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %187, i64 noundef %228) #11
  %230 = load i32, ptr %229, align 4, !tbaa !75
  %231 = add i32 %230, 1
  store i32 %231, ptr %229, align 4, !tbaa !75
  %232 = load ptr, ptr %188, align 8, !tbaa !76
  %233 = zext i32 %227 to i64
  %234 = getelementptr inbounds float, ptr %232, i64 %233
  store float %209, ptr %234, align 4, !tbaa !63
  %235 = load i32, ptr %189, align 4, !tbaa !77
  %236 = add i32 %235, 1
  store i32 %236, ptr %189, align 4, !tbaa !77
  %237 = urem i32 %236, 10000
  %238 = icmp eq i32 %237, 0
  br i1 %238, label %239, label %259

239:                                              ; preds = %207
  %240 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.3)
          to label %241 unwind label %257

241:                                              ; preds = %239
  %242 = load i32, ptr %189, align 4, !tbaa !77
  %243 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEj(ptr noundef nonnull align 8 dereferenceable(8) %240, i32 noundef %242)
          to label %244 unwind label %257

244:                                              ; preds = %241
  %245 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %243, ptr noundef nonnull @.str.4)
          to label %246 unwind label %257

246:                                              ; preds = %244
  %247 = load i32, ptr %190, align 8, !tbaa !43
  %248 = load i32, ptr %186, align 4, !tbaa !46
  %249 = mul i32 %248, %247
  %250 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEj(ptr noundef nonnull align 8 dereferenceable(8) %245, i32 noundef %249)
          to label %251 unwind label %257

251:                                              ; preds = %246
  %252 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %250, ptr noundef nonnull @.str.5)
          to label %253 unwind label %257

253:                                              ; preds = %251
  %254 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %252, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %._crit_edge72 unwind label %257

._crit_edge72:                                    ; preds = %253
  %.pre = load i32, ptr %189, align 4, !tbaa !77
  br label %259

255:                                              ; preds = %204
  %256 = landingpad { ptr, i32 }
          cleanup
  br label %301

257:                                              ; preds = %253, %251, %246, %244, %241, %239
  %258 = landingpad { ptr, i32 }
          cleanup
  br label %301

259:                                              ; preds = %._crit_edge72, %207
  %260 = phi i32 [ %.pre, %._crit_edge72 ], [ %236, %207 ]
  %261 = load i32, ptr %190, align 8, !tbaa !43
  %262 = load i32, ptr %186, align 4, !tbaa !46
  %263 = mul i32 %262, %261
  %264 = icmp eq i32 %260, %263
  br i1 %264, label %265, label %266

265:                                              ; preds = %259
  store i8 1, ptr %191, align 1, !tbaa !78
  br label %266

266:                                              ; preds = %265, %259
  %267 = load i32, ptr %192, align 4, !tbaa !79
  %268 = add i32 %267, 1
  store i32 %268, ptr %192, align 4, !tbaa !79
  %269 = load i32, ptr %193, align 8, !tbaa !50
  %270 = load i32, ptr %185, align 4, !tbaa !49
  %271 = mul i32 %270, %269
  %272 = icmp eq i32 %268, %271
  br i1 %272, label %273, label %279

273:                                              ; preds = %266
  store i32 0, ptr %192, align 4, !tbaa !79
  %274 = load i32, ptr %181, align 8, !tbaa !74
  %275 = add i32 %274, 1
  store i32 %275, ptr %181, align 8, !tbaa !74
  %276 = load i32, ptr %14, align 8, !tbaa !41
  %277 = icmp eq i32 %276, 2
  br i1 %277, label %278, label %279

278:                                              ; preds = %273
  store i8 1, ptr %194, align 2, !tbaa !59
  br label %279

279:                                              ; preds = %266, %278, %273
  call void @_ZN11DataPackageD1Ev(ptr noundef nonnull align 8 dereferenceable(64) %206) #11
  call void @_ZdlPvm(ptr noundef %206, i64 noundef 64) #13
  %280 = add nuw nsw i32 %.045, 1
  br label %195, !llvm.loop !80

.loopexit:                                        ; preds = %198, %179
  %281 = load i32, ptr %14, align 8, !tbaa !41
  switch i32 %281, label %299 [
    i32 0, label %282
    i32 1, label %283
    i32 2, label %294
  ]

282:                                              ; preds = %.loopexit
  store i32 1, ptr %14, align 8, !tbaa !41
  br label %299

283:                                              ; preds = %.loopexit
  %284 = getelementptr inbounds i8, ptr %0, i64 342
  %285 = load i8, ptr %284, align 2, !tbaa !59, !range !37, !noundef !38
  %286 = trunc nuw i8 %285 to i1
  br i1 %286, label %287, label %299

287:                                              ; preds = %283
  %288 = getelementptr inbounds i8, ptr %0, i64 328
  %289 = load i32, ptr %288, align 8, !tbaa !44
  %290 = getelementptr inbounds i8, ptr %0, i64 324
  %291 = load i32, ptr %290, align 4, !tbaa !81
  %.not = icmp ult i32 %289, %291
  br i1 %.not, label %293, label %292

292:                                              ; preds = %287
  store i32 3, ptr %14, align 8, !tbaa !41
  br label %299

293:                                              ; preds = %287
  store i32 2, ptr %14, align 8, !tbaa !41
  store i8 0, ptr %284, align 2, !tbaa !59
  br label %299

294:                                              ; preds = %.loopexit
  %295 = getelementptr inbounds i8, ptr %0, i64 342
  %296 = load i8, ptr %295, align 2, !tbaa !59, !range !37, !noundef !38
  %297 = trunc nuw i8 %296 to i1
  br i1 %297, label %298, label %299

298:                                              ; preds = %294
  store i32 0, ptr %14, align 8, !tbaa !41
  br label %299

299:                                              ; preds = %.loopexit, %292, %293, %283, %294, %298, %282
  invoke void @_ZN14OSMeshSDMemory4sendEv(ptr noundef nonnull align 8 dereferenceable(552) %0)
          to label %300 unwind label %200

300:                                              ; preds = %299
  call void @_ZNSt6vectorIP11DataPackageSaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %2) #11
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %2) #11
  ret void

301:                                              ; preds = %202, %257, %255, %126, %124, %160, %158, %78, %80, %200
  %.pn57.pn.pn = phi { ptr, i32 } [ %201, %200 ], [ %79, %78 ], [ %81, %80 ], [ %125, %124 ], [ %127, %126 ], [ %159, %158 ], [ %161, %160 ], [ %203, %202 ], [ %258, %257 ], [ %256, %255 ]
  call void @_ZNSt6vectorIP11DataPackageSaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %2) #11
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %2) #11
  resume { ptr, i32 } %.pn57.pn.pn
}

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

declare void @_ZN4TileC1Ejjjjjjjjb(ptr noundef nonnull align 4 dereferenceable(41), i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i1 noundef zeroext) unnamed_addr #6

declare void @_ZN11DataPackageC1Emf9operand_tj9traffic_tj(ptr noundef nonnull align 8 dereferenceable(64), i64 noundef, float noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) unnamed_addr #6

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN14OSMeshSDMemory23sendPackageToInputFifosEP11DataPackage(ptr noundef nonnull align 8 dereferenceable(552), ptr noundef) local_unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN14OSMeshSDMemory7receiveEv(ptr noundef nonnull align 8 dereferenceable(552)) local_unnamed_addr #4 align 2

declare noundef zeroext i1 @_ZN4Fifo7isEmptyEv(ptr noundef nonnull align 8 dereferenceable(120)) local_unnamed_addr #6

declare noundef i32 @_ZN4Fifo4sizeEv(ptr noundef nonnull align 8 dereferenceable(120)) local_unnamed_addr #6

declare noundef ptr @_ZN4Fifo3popEv(ptr noundef nonnull align 8 dereferenceable(120)) local_unnamed_addr #6

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK11DataPackage6get_vnEv(ptr noundef nonnull align 8 dereferenceable(64)) local_unnamed_addr #5 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef float @_ZNK11DataPackage8get_dataEv(ptr noundef nonnull align 8 dereferenceable(64)) local_unnamed_addr #5 align 2

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

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

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

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

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

; Function Attrs: nounwind
declare void @_ZN11DataPackageD1Ev(ptr noundef nonnull align 8 dereferenceable(64)) unnamed_addr #8

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN14OSMeshSDMemory4sendEv(ptr noundef nonnull align 8 dereferenceable(552)) local_unnamed_addr #4 align 2

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

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.umin.i32(i32, i32) #9

attributes #0 = { nobuiltin allocsize(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 = { nobuiltin 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 #2 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { 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 #4 = { 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 #5 = { 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 = { "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 #7 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #8 = { 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 #9 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #10 = { noreturn nounwind }
attributes #11 = { nounwind }
attributes #12 = { builtin allocsize(0) }
attributes #13 = { builtin 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, !33, i64 344}
!6 = !{!"_ZTS14OSMeshSDMemory", !7, i64 0, !14, i64 48, !14, i64 56, !14, i64 64, !9, i64 72, !9, i64 76, !9, i64 80, !9, i64 84, !9, i64 88, !14, i64 96, !16, i64 104, !17, i64 112, !21, i64 136, !25, i64 160, !9, i64 184, !9, i64 188, !9, i64 192, !9, i64 196, !9, i64 200, !9, i64 204, !9, i64 208, !9, i64 212, !9, i64 216, !14, i64 224, !29, i64 232, !29, i64 256, !14, i64 280, !14, i64 288, !14, i64 296, !9, i64 304, !9, i64 308, !9, i64 312, !9, i64 316, !9, i64 320, !9, i64 324, !9, i64 328, !9, i64 332, !9, i64 336, !33, i64 340, !33, i64 341, !33, i64 342, !33, i64 343, !33, i64 344, !9, i64 348, !9, i64 352, !9, i64 356, !9, i64 360, !9, i64 364, !25, i64 368, !9, i64 392, !34, i64 400}
!7 = !{!"_ZTS16MemoryController", !8, i64 0}
!8 = !{!"_ZTS4Unit", !9, i64 8, !12, i64 16}
!9 = !{!"int", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C++ TBAA"}
!12 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !13, i64 0, !15, i64 8, !10, i64 16}
!13 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !14, i64 0}
!14 = !{!"any pointer", !10, i64 0}
!15 = !{!"long", !10, i64 0}
!16 = !{!"_ZTS21OSMeshControllerState", !10, i64 0}
!17 = !{!"_ZTSSt6vectorI8SparseVNSaIS0_EE", !18, i64 0}
!18 = !{!"_ZTSSt12_Vector_baseI8SparseVNSaIS0_EE", !19, i64 0}
!19 = !{!"_ZTSNSt12_Vector_baseI8SparseVNSaIS0_EE12_Vector_implE", !20, i64 0}
!20 = !{!"_ZTSNSt12_Vector_baseI8SparseVNSaIS0_EE17_Vector_impl_dataE", !14, i64 0, !14, i64 8, !14, i64 16}
!21 = !{!"_ZTSSt6vectorIjSaIjEE", !22, i64 0}
!22 = !{!"_ZTSSt12_Vector_baseIjSaIjEE", !23, i64 0}
!23 = !{!"_ZTSNSt12_Vector_baseIjSaIjEE12_Vector_implE", !24, i64 0}
!24 = !{!"_ZTSNSt12_Vector_baseIjSaIjEE17_Vector_impl_dataE", !14, i64 0, !14, i64 8, !14, i64 16}
!25 = !{!"_ZTSSt6vectorIP10ConnectionSaIS1_EE", !26, i64 0}
!26 = !{!"_ZTSSt12_Vector_baseIP10ConnectionSaIS1_EE", !27, i64 0}
!27 = !{!"_ZTSNSt12_Vector_baseIP10ConnectionSaIS1_EE12_Vector_implE", !28, i64 0}
!28 = !{!"_ZTSNSt12_Vector_baseIP10ConnectionSaIS1_EE17_Vector_impl_dataE", !14, i64 0, !14, i64 8, !14, i64 16}
!29 = !{!"_ZTSSt6vectorIP4FifoSaIS1_EE", !30, i64 0}
!30 = !{!"_ZTSSt12_Vector_baseIP4FifoSaIS1_EE", !31, i64 0}
!31 = !{!"_ZTSNSt12_Vector_baseIP4FifoSaIS1_EE12_Vector_implE", !32, i64 0}
!32 = !{!"_ZTSNSt12_Vector_baseIP4FifoSaIS1_EE17_Vector_impl_dataE", !14, i64 0, !14, i64 8, !14, i64 16}
!33 = !{!"bool", !10, i64 0}
!34 = !{!"_ZTS13SDMemoryStats", !35, i64 0, !9, i64 8, !9, i64 12, !9, i64 16, !9, i64 20, !9, i64 24, !9, i64 28, !9, i64 32, !9, i64 36, !9, i64 40, !9, i64 44, !36, i64 48, !21, i64 56, !21, i64 80, !21, i64 104, !21, i64 128}
!35 = !{!"_ZTS5Stats"}
!36 = !{!"_ZTS8Dataflow", !10, i64 0}
!37 = !{i8 0, i8 2}
!38 = !{}
!39 = !{!6, !9, i64 392}
!40 = !{!6, !9, i64 408}
!41 = !{!6, !16, i64 104}
!42 = !{!6, !9, i64 444}
!43 = !{!6, !9, i64 72}
!44 = !{!6, !9, i64 328}
!45 = !{!6, !9, i64 312}
!46 = !{!6, !9, i64 76}
!47 = !{!6, !9, i64 332}
!48 = !{!6, !9, i64 304}
!49 = !{!6, !9, i64 212}
!50 = !{!6, !9, i64 208}
!51 = !{!6, !14, i64 64}
!52 = !{!53, !53, i64 0}
!53 = !{!"vtable pointer", !11, i64 0}
!54 = !{!6, !14, i64 56}
!55 = !{!6, !14, i64 48}
!56 = !{!6, !9, i64 184}
!57 = !{!6, !9, i64 188}
!58 = !{!6, !9, i64 320}
!59 = !{!6, !33, i64 342}
!60 = !{!6, !14, i64 288}
!61 = !{!6, !9, i64 80}
!62 = !{!6, !9, i64 336}
!63 = !{!64, !64, i64 0}
!64 = !{!"float", !10, i64 0}
!65 = !{!6, !9, i64 412}
!66 = distinct !{!66, !67}
!67 = !{!"llvm.loop.mustprogress"}
!68 = !{!6, !14, i64 280}
!69 = !{!6, !9, i64 416}
!70 = distinct !{!70, !67}
!71 = !{!6, !9, i64 316}
!72 = !{!6, !14, i64 224}
!73 = !{!6, !9, i64 424}
!74 = !{!6, !9, i64 360}
!75 = !{!9, !9, i64 0}
!76 = !{!6, !14, i64 296}
!77 = !{!6, !9, i64 348}
!78 = !{!6, !33, i64 341}
!79 = !{!6, !9, i64 356}
!80 = distinct !{!80, !67}
!81 = !{!6, !9, i64 324}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass