; LLVM IR from lfarcaro/ARINC653_ARMV7A_Z7000 :: ARINC653_ARMV7A_Z7000.sw/ARINC653_ARMV7A_Z7000/src/ARINC653 (PARTITION)

; 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"

%struct._MODULE_INFORMATION_TYPE = type { ptr, %struct._heapRECORD, i32, i32, i32, %struct._CONTEXT_TYPE, i32, ptr, ptr, %struct._HEALTHMONITORINGCALLBACK_INFORMATION_TYPE, i64, i64, i64, %struct._priorityqueueRECORD }
%struct._heapRECORD = type { ptr, i32, i32, i32 }
%struct._CONTEXT_TYPE = type { i32, ptr, ptr, ptr, i32, i8, ptr, ptr, i32, i32, i32, i32 }
%struct._HEALTHMONITORINGCALLBACK_INFORMATION_TYPE = type { i8, ptr, i32, %struct._CONTEXT_TYPE, i8, i8, i8, i8, i32, i32 }
%struct._priorityqueueRECORD = type { ptr, i32, i8, i8 }
%struct._MODULE_CONFIGURATION_TYPE = type { i32, ptr, i32, ptr, i32, ptr, i32, ptr, i32, ptr, i32, i64, ptr, ptr, i32, ptr, ptr }
%struct._PARTITION_ATTRIBUTE_TYPE = type { ptr, ptr, i32, i8 }
%struct._PARTITION_INFORMATION_TYPE = type { i8, ptr, ptr, i32, i32, i32, i32, i8, %struct._heapRECORD, %struct._CONTEXT_TYPE, i32, ptr, ptr, %struct._ERRORHANDLER_INFORMATION_TYPE, %struct._HEALTHMONITORINGCALLBACK_INFORMATION_TYPE, i32, %struct._priorityqueueENTRY, %struct._priorityqueueRECORD, %struct._priorityqueueRECORD, %struct._priorityqueueRECORD, i32, i32, ptr, i32, ptr, i32, ptr, i32, ptr, i32, ptr, i32, ptr, i32, ptr }
%struct._ERRORHANDLER_INFORMATION_TYPE = type { i8, ptr, i32, %struct._CONTEXT_TYPE, i8, i8, i8, i8, i32 }
%struct._priorityqueueENTRY = type { i64, i64, ptr, ptr, ptr }
%struct._PARTITION_CONFIGURATION_TYPE = type { i32, ptr, i32, i32, i32, i32, i32, i32, i32, i32, ptr, i32, ptr, i32, ptr, i32, ptr, i32, ptr, i32, ptr, i32, ptr, i32, ptr, ptr, i32, ptr, ptr }
%struct._PARTITION_CONFIGURATION_SCHEDULE_TYPE = type { i64, i64, i32, ptr }
%struct._PARTITION_CONFIGURATION_SCHEDULE_WINDOW_TYPE = type { i64, i64, i8 }
%struct._SAMPLINGPORT_INFORMATION_TYPE = type { i32, ptr, i32, i32, i64, i64, i64, i32, i32, ptr, i32 }
%struct._QUEUINGPORT_INFORMATION_TYPE = type { i32, ptr, i32, i32, i32, i32, i32, i32, i8, ptr, ptr, %struct._priorityqueueRECORD }
%struct._BUFFER_INFORMATION_TYPE = type { i32, ptr, i32, i32, i32, i32, i32, ptr, ptr, %struct._priorityqueueRECORD }
%struct._BLACKBOARD_INFORMATION_TYPE = type { i32, ptr, i32, i32, ptr, i32, %struct._priorityqueueRECORD }
%struct._SEMAPHORE_INFORMATION_TYPE = type { i32, ptr, i32, i32, i32, %struct._priorityqueueRECORD }
%struct._EVENT_INFORMATION_TYPE = type { i32, ptr, i32, %struct._priorityqueueRECORD }
%struct._PARTITION_CONFIGURATION_HEALTHMONITORING_TYPE = type { ptr, i32, i32, ptr }

@CORE_MODULE_INFORMATION = external global [2 x %struct._MODULE_INFORMATION_TYPE], align 16

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

declare void @ENTER_CORE() #1

declare i32 @PORT_GETCORE() #1

declare void @EXIT_CORE() #1

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

; Function Attrs: nounwind uwtable
declare dso_local void @GET_PARTITION_ID(ptr noundef, ptr noundef, ptr noundef) #2

; Function Attrs: nounwind uwtable
define dso_local void @CREATE_PARTITION(ptr noundef %0, ptr noundef %1, ptr noundef %2) #2 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i64, align 8
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca i32, align 4
  %14 = alloca ptr, align 8
  %15 = alloca ptr, align 8
  %16 = alloca ptr, align 8
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  %21 = alloca i32, align 4
  %22 = alloca i32, align 4
  %23 = alloca i32, align 4
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  store ptr %2, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #3
  call void @ENTER_CORE()
  %24 = call i32 @PORT_GETCORE()
  %25 = zext i32 %24 to i64
  %26 = getelementptr inbounds [2 x %struct._MODULE_INFORMATION_TYPE], ptr @CORE_MODULE_INFORMATION, i64 0, i64 %25
  store ptr %26, ptr %7, align 8, !tbaa !5
  %27 = load ptr, ptr %7, align 8, !tbaa !5
  %28 = getelementptr inbounds %struct._MODULE_INFORMATION_TYPE, ptr %27, i32 0, i32 4
  %29 = load i32, ptr %28, align 8, !tbaa !9
  %30 = icmp eq i32 %29, 4
  br i1 %30, label %31, label %33

31:                                               ; preds = %3
  %32 = load ptr, ptr %6, align 8, !tbaa !5
  store i32 6, ptr %32, align 4, !tbaa !17
  call void @EXIT_CORE()
  store i32 1, ptr %23, align 4
  br label %1282

33:                                               ; preds = %3
  %34 = load ptr, ptr %7, align 8, !tbaa !5
  %35 = getelementptr inbounds %struct._MODULE_INFORMATION_TYPE, ptr %34, i32 0, i32 6
  %36 = load i32, ptr %35, align 8, !tbaa !18
  store i32 %36, ptr %8, align 4, !tbaa !17
  %37 = load i32, ptr %8, align 4, !tbaa !17
  %38 = load ptr, ptr %7, align 8, !tbaa !5
  %39 = getelementptr inbounds %struct._MODULE_INFORMATION_TYPE, ptr %38, i32 0, i32 0
  %40 = load ptr, ptr %39, align 8, !tbaa !19
  %41 = getelementptr inbounds %struct._MODULE_CONFIGURATION_TYPE, ptr %40, i32 0, i32 0
  %42 = load i32, ptr %41, align 8, !tbaa !20
  %43 = icmp uge i32 %37, %42
  br i1 %43, label %44, label %46

44:                                               ; preds = %33
  %45 = load ptr, ptr %6, align 8, !tbaa !5
  store i32 5, ptr %45, align 4, !tbaa !17
  call void @EXIT_CORE()
  store i32 1, ptr %23, align 4
  br label %1282

46:                                               ; preds = %33
  %47 = load ptr, ptr %4, align 8, !tbaa !5
  %48 = getelementptr inbounds %struct._PARTITION_ATTRIBUTE_TYPE, ptr %47, i32 0, i32 0
  %49 = load ptr, ptr %48, align 8, !tbaa !22
  %50 = load ptr, ptr %6, align 8, !tbaa !5
  call void @GET_PARTITION_ID(ptr noundef %49, ptr noundef %8, ptr noundef %50)
  %51 = load ptr, ptr %6, align 8, !tbaa !5
  %52 = load i32, ptr %51, align 4, !tbaa !17
  %53 = icmp eq i32 %52, 1
  br i1 %53, label %54, label %56

54:                                               ; preds = %46
  %55 = load ptr, ptr %6, align 8, !tbaa !5
  store i32 2, ptr %55, align 4, !tbaa !17
  call void @EXIT_CORE()
  store i32 1, ptr %23, align 4
  br label %1282

56:                                               ; preds = %46
  %57 = load ptr, ptr %7, align 8, !tbaa !5
  %58 = getelementptr inbounds %struct._MODULE_INFORMATION_TYPE, ptr %57, i32 0, i32 7
  %59 = load ptr, ptr %58, align 8, !tbaa !24
  %60 = load i32, ptr %8, align 4, !tbaa !17
  %61 = zext i32 %60 to i64
  %62 = getelementptr inbounds %struct._PARTITION_INFORMATION_TYPE, ptr %59, i64 %61
  store ptr %62, ptr %11, align 8, !tbaa !5
  %63 = load ptr, ptr %4, align 8, !tbaa !5
  %64 = getelementptr inbounds %struct._PARTITION_ATTRIBUTE_TYPE, ptr %63, i32 0, i32 0
  %65 = load ptr, ptr %64, align 8, !tbaa !22
  %66 = call ptr @CONFIGURATION_GETPARTITIONCONFIGURATION(ptr noundef %65)
  store ptr %66, ptr %12, align 8, !tbaa !5
  %67 = load ptr, ptr %12, align 8, !tbaa !5
  %68 = icmp eq ptr %67, null
  br i1 %68, label %69, label %71

69:                                               ; preds = %56
  %70 = load ptr, ptr %6, align 8, !tbaa !5
  store i32 5, ptr %70, align 4, !tbaa !17
  call void @EXIT_CORE()
  store i32 1, ptr %23, align 4
  br label %1282

71:                                               ; preds = %56
  %72 = load ptr, ptr %12, align 8, !tbaa !5
  %73 = getelementptr inbounds %struct._PARTITION_CONFIGURATION_TYPE, ptr %72, i32 0, i32 24
  %74 = load ptr, ptr %73, align 8, !tbaa !25
  %75 = getelementptr inbounds %struct._PARTITION_CONFIGURATION_SCHEDULE_TYPE, ptr %74, i32 0, i32 0
  %76 = load i64, ptr %75, align 8, !tbaa !27
  %77 = load ptr, ptr %7, align 8, !tbaa !5
  %78 = getelementptr inbounds %struct._MODULE_INFORMATION_TYPE, ptr %77, i32 0, i32 0
  %79 = load ptr, ptr %78, align 8, !tbaa !19
  %80 = getelementptr inbounds %struct._MODULE_CONFIGURATION_TYPE, ptr %79, i32 0, i32 11
  %81 = load i64, ptr %80, align 8, !tbaa !29
  %82 = icmp sgt i64 %76, %81
  br i1 %82, label %83, label %85

83:                                               ; preds = %71
  %84 = load ptr, ptr %6, align 8, !tbaa !5
  store i32 5, ptr %84, align 4, !tbaa !17
  call void @EXIT_CORE()
  store i32 1, ptr %23, align 4
  br label %1282

85:                                               ; preds = %71
  %86 = load ptr, ptr %12, align 8, !tbaa !5
  %87 = getelementptr inbounds %struct._PARTITION_CONFIGURATION_TYPE, ptr %86, i32 0, i32 24
  %88 = load ptr, ptr %87, align 8, !tbaa !25
  %89 = getelementptr inbounds %struct._PARTITION_CONFIGURATION_SCHEDULE_TYPE, ptr %88, i32 0, i32 0
  %90 = load i64, ptr %89, align 8, !tbaa !27
  %91 = srem i64 %90, 1000000
  %92 = icmp ne i64 %91, 0
  br i1 %92, label %93, label %95

93:                                               ; preds = %85
  %94 = load ptr, ptr %6, align 8, !tbaa !5
  store i32 5, ptr %94, align 4, !tbaa !17
  call void @EXIT_CORE()
  store i32 1, ptr %23, align 4
  br label %1282

95:                                               ; preds = %85
  %96 = load ptr, ptr %12, align 8, !tbaa !5
  %97 = getelementptr inbounds %struct._PARTITION_CONFIGURATION_TYPE, ptr %96, i32 0, i32 24
  %98 = load ptr, ptr %97, align 8, !tbaa !25
  %99 = getelementptr inbounds %struct._PARTITION_CONFIGURATION_SCHEDULE_TYPE, ptr %98, i32 0, i32 1
  %100 = load i64, ptr %99, align 8, !tbaa !30
  %101 = load ptr, ptr %7, align 8, !tbaa !5
  %102 = getelementptr inbounds %struct._MODULE_INFORMATION_TYPE, ptr %101, i32 0, i32 0
  %103 = load ptr, ptr %102, align 8, !tbaa !19
  %104 = getelementptr inbounds %struct._MODULE_CONFIGURATION_TYPE, ptr %103, i32 0, i32 11
  %105 = load i64, ptr %104, align 8, !tbaa !29
  %106 = icmp sgt i64 %100, %105
  br i1 %106, label %107, label %109

107:                                              ; preds = %95
  %108 = load ptr, ptr %6, align 8, !tbaa !5
  store i32 5, ptr %108, align 4, !tbaa !17
  call void @EXIT_CORE()
  store i32 1, ptr %23, align 4
  br label %1282

109:                                              ; preds = %95
  %110 = load ptr, ptr %12, align 8, !tbaa !5
  %111 = getelementptr inbounds %struct._PARTITION_CONFIGURATION_TYPE, ptr %110, i32 0, i32 24
  %112 = load ptr, ptr %111, align 8, !tbaa !25
  %113 = getelementptr inbounds %struct._PARTITION_CONFIGURATION_SCHEDULE_TYPE, ptr %112, i32 0, i32 1
  %114 = load i64, ptr %113, align 8, !tbaa !30
  %115 = srem i64 %114, 1000000
  %116 = icmp ne i64 %115, 0
  br i1 %116, label %117, label %119

117:                                              ; preds = %109
  %118 = load ptr, ptr %6, align 8, !tbaa !5
  store i32 5, ptr %118, align 4, !tbaa !17
  call void @EXIT_CORE()
  store i32 1, ptr %23, align 4
  br label %1282

119:                                              ; preds = %109
  %120 = load ptr, ptr %12, align 8, !tbaa !5
  %121 = getelementptr inbounds %struct._PARTITION_CONFIGURATION_TYPE, ptr %120, i32 0, i32 24
  %122 = load ptr, ptr %121, align 8, !tbaa !25
  %123 = getelementptr inbounds %struct._PARTITION_CONFIGURATION_SCHEDULE_TYPE, ptr %122, i32 0, i32 2
  %124 = load i32, ptr %123, align 8, !tbaa !31
  %125 = icmp ule i32 %124, 0
  br i1 %125, label %126, label %128

126:                                              ; preds = %119
  %127 = load ptr, ptr %6, align 8, !tbaa !5
  store i32 5, ptr %127, align 4, !tbaa !17
  call void @EXIT_CORE()
  store i32 1, ptr %23, align 4
  br label %1282

128:                                              ; preds = %119
  %129 = load ptr, ptr %12, align 8, !tbaa !5
  %130 = getelementptr inbounds %struct._PARTITION_CONFIGURATION_TYPE, ptr %129, i32 0, i32 24
  %131 = load ptr, ptr %130, align 8, !tbaa !25
  %132 = getelementptr inbounds %struct._PARTITION_CONFIGURATION_SCHEDULE_TYPE, ptr %131, i32 0, i32 3
  %133 = load ptr, ptr %132, align 8, !tbaa !32
  %134 = getelementptr inbounds %struct._PARTITION_CONFIGURATION_SCHEDULE_WINDOW_TYPE, ptr %133, i64 0
  %135 = getelementptr inbounds %struct._PARTITION_CONFIGURATION_SCHEDULE_WINDOW_TYPE, ptr %134, i32 0, i32 0
  %136 = load i64, ptr %135, align 8, !tbaa !33
  store i64 %136, ptr %10, align 8, !tbaa !35
  store i32 0, ptr %9, align 4, !tbaa !17
  br label %137

137:                                              ; preds = %231, %128
  %138 = load i32, ptr %9, align 4, !tbaa !17
  %139 = load ptr, ptr %12, align 8, !tbaa !5
  %140 = getelementptr inbounds %struct._PARTITION_CONFIGURATION_TYPE, ptr %139, i32 0, i32 24
  %141 = load ptr, ptr %140, align 8, !tbaa !25
  %142 = getelementptr inbounds %struct._PARTITION_CONFIGURATION_SCHEDULE_TYPE, ptr %141, i32 0, i32 2
  %143 = load i32, ptr %142, align 8, !tbaa !31
  %144 = icmp ult i32 %138, %143
  br i1 %144, label %145, label %234

145:                                              ; preds = %137
  %146 = load ptr, ptr %12, align 8, !tbaa !5
  %147 = getelementptr inbounds %struct._PARTITION_CONFIGURATION_TYPE, ptr %146, i32 0, i32 24
  %148 = load ptr, ptr %147, align 8, !tbaa !25
  %149 = getelementptr inbounds %struct._PARTITION_CONFIGURATION_SCHEDULE_TYPE, ptr %148, i32 0, i32 3
  %150 = load ptr, ptr %149, align 8, !tbaa !32
  %151 = load i32, ptr %9, align 4, !tbaa !17
  %152 = zext i32 %151 to i64
  %153 = getelementptr inbounds %struct._PARTITION_CONFIGURATION_SCHEDULE_WINDOW_TYPE, ptr %150, i64 %152
  %154 = getelementptr inbounds %struct._PARTITION_CONFIGURATION_SCHEDULE_WINDOW_TYPE, ptr %153, i32 0, i32 0
  %155 = load i64, ptr %154, align 8, !tbaa !33
  %156 = srem i64 %155, 1000000
  %157 = icmp ne i64 %156, 0
  br i1 %157, label %158, label %160

158:                                              ; preds = %145
  %159 = load ptr, ptr %6, align 8, !tbaa !5
  store i32 5, ptr %159, align 4, !tbaa !17
  call void @EXIT_CORE()
  store i32 1, ptr %23, align 4
  br label %1282

160:                                              ; preds = %145
  %161 = load ptr, ptr %12, align 8, !tbaa !5
  %162 = getelementptr inbounds %struct._PARTITION_CONFIGURATION_TYPE, ptr %161, i32 0, i32 24
  %163 = load ptr, ptr %162, align 8, !tbaa !25
  %164 = getelementptr inbounds %struct._PARTITION_CONFIGURATION_SCHEDULE_TYPE, ptr %163, i32 0, i32 3
  %165 = load ptr, ptr %164, align 8, !tbaa !32
  %166 = load i32, ptr %9, align 4, !tbaa !17
  %167 = zext i32 %166 to i64
  %168 = getelementptr inbounds %struct._PARTITION_CONFIGURATION_SCHEDULE_WINDOW_TYPE, ptr %165, i64 %167
  %169 = getelementptr inbounds %struct._PARTITION_CONFIGURATION_SCHEDULE_WINDOW_TYPE, ptr %168, i32 0, i32 1
  %170 = load i64, ptr %169, align 8, !tbaa !36
  %171 = srem i64 %170, 1000000
  %172 = icmp ne i64 %171, 0
  br i1 %172, label %173, label %175

173:                                              ; preds = %160
  %174 = load ptr, ptr %6, align 8, !tbaa !5
  store i32 5, ptr %174, align 4, !tbaa !17
  call void @EXIT_CORE()
  store i32 1, ptr %23, align 4
  br label %1282

175:                                              ; preds = %160
  %176 = load ptr, ptr %12, align 8, !tbaa !5
  %177 = getelementptr inbounds %struct._PARTITION_CONFIGURATION_TYPE, ptr %176, i32 0, i32 24
  %178 = load ptr, ptr %177, align 8, !tbaa !25
  %179 = getelementptr inbounds %struct._PARTITION_CONFIGURATION_SCHEDULE_TYPE, ptr %178, i32 0, i32 3
  %180 = load ptr, ptr %179, align 8, !tbaa !32
  %181 = load i32, ptr %9, align 4, !tbaa !17
  %182 = zext i32 %181 to i64
  %183 = getelementptr inbounds %struct._PARTITION_CONFIGURATION_SCHEDULE_WINDOW_TYPE, ptr %180, i64 %182
  %184 = getelementptr inbounds %struct._PARTITION_CONFIGURATION_SCHEDULE_WINDOW_TYPE, ptr %183, i32 0, i32 0
  %185 = load i64, ptr %184, align 8, !tbaa !33
  %186 = load i64, ptr %10, align 8, !tbaa !35
  %187 = icmp slt i64 %185, %186
  br i1 %187, label %188, label %190

188:                                              ; preds = %175
  %189 = load ptr, ptr %6, align 8, !tbaa !5
  store i32 5, ptr %189, align 4, !tbaa !17
  call void @EXIT_CORE()
  store i32 1, ptr %23, align 4
  br label %1282

190:                                              ; preds = %175
  %191 = load ptr, ptr %12, align 8, !tbaa !5
  %192 = getelementptr inbounds %struct._PARTITION_CONFIGURATION_TYPE, ptr %191, i32 0, i32 24
  %193 = load ptr, ptr %192, align 8, !tbaa !25
  %194 = getelementptr inbounds %struct._PARTITION_CONFIGURATION_SCHEDULE_TYPE, ptr %193, i32 0, i32 3
  %195 = load ptr, ptr %194, align 8, !tbaa !32
  %196 = load i32, ptr %9, align 4, !tbaa !17
  %197 = zext i32 %196 to i64
  %198 = getelementptr inbounds %struct._PARTITION_CONFIGURATION_SCHEDULE_WINDOW_TYPE, ptr %195, i64 %197
  %199 = getelementptr inbounds %struct._PARTITION_CONFIGURATION_SCHEDULE_WINDOW_TYPE, ptr %198, i32 0, i32 0
  %200 = load i64, ptr %199, align 8, !tbaa !33
  store i64 %200, ptr %10, align 8, !tbaa !35
  %201 = load ptr, ptr %12, align 8, !tbaa !5
  %202 = getelementptr inbounds %struct._PARTITION_CONFIGURATION_TYPE, ptr %201, i32 0, i32 24
  %203 = load ptr, ptr %202, align 8, !tbaa !25
  %204 = getelementptr inbounds %struct._PARTITION_CONFIGURATION_SCHEDULE_TYPE, ptr %203, i32 0, i32 3
  %205 = load ptr, ptr %204, align 8, !tbaa !32
  %206 = load i32, ptr %9, align 4, !tbaa !17
  %207 = zext i32 %206 to i64
  %208 = getelementptr inbounds %struct._PARTITION_CONFIGURATION_SCHEDULE_WINDOW_TYPE, ptr %205, i64 %207
  %209 = getelementptr inbounds %struct._PARTITION_CONFIGURATION_SCHEDULE_WINDOW_TYPE, ptr %208, i32 0, i32 0
  %210 = load i64, ptr %209, align 8, !tbaa !33
  %211 = load ptr, ptr %12, align 8, !tbaa !5
  %212 = getelementptr inbounds %struct._PARTITION_CONFIGURATION_TYPE, ptr %211, i32 0, i32 24
  %213 = load ptr, ptr %212, align 8, !tbaa !25
  %214 = getelementptr inbounds %struct._PARTITION_CONFIGURATION_SCHEDULE_TYPE, ptr %213, i32 0, i32 3
  %215 = load ptr, ptr %214, align 8, !tbaa !32
  %216 = load i32, ptr %9, align 4, !tbaa !17
  %217 = zext i32 %216 to i64
  %218 = getelementptr inbounds %struct._PARTITION_CONFIGURATION_SCHEDULE_WINDOW_TYPE, ptr %215, i64 %217
  %219 = getelementptr inbounds %struct._PARTITION_CONFIGURATION_SCHEDULE_WINDOW_TYPE, ptr %218, i32 0, i32 1
  %220 = load i64, ptr %219, align 8, !tbaa !36
  %221 = add nsw i64 %210, %220
  %222 = load ptr, ptr %7, align 8, !tbaa !5
  %223 = getelementptr inbounds %struct._MODULE_INFORMATION_TYPE, ptr %222, i32 0, i32 0
  %224 = load ptr, ptr %223, align 8, !tbaa !19
  %225 = getelementptr inbounds %struct._MODULE_CONFIGURATION_TYPE, ptr %224, i32 0, i32 11
  %226 = load i64, ptr %225, align 8, !tbaa !29
  %227 = icmp sgt i64 %221, %226
  br i1 %227, label %228, label %230

228:                                              ; preds = %190
  %229 = load ptr, ptr %6, align 8, !tbaa !5
  store i32 5, ptr %229, align 4, !tbaa !17
  call void @EXIT_CORE()
  store i32 1, ptr %23, align 4
  br label %1282

230:                                              ; preds = %190
  br label %231

231:                                              ; preds = %230
  %232 = load i32, ptr %9, align 4, !tbaa !17
  %233 = add i32 %232, 1
  store i32 %233, ptr %9, align 4, !tbaa !17
  br label %137, !llvm.loop !37

234:                                              ; preds = %137
  %235 = load ptr, ptr %12, align 8, !tbaa !5
  %236 = load ptr, ptr %11, align 8, !tbaa !5
  %237 = getelementptr inbounds %struct._PARTITION_INFORMATION_TYPE, ptr %236, i32 0, i32 2
  store ptr %235, ptr %237, align 8, !tbaa !39
  %238 = load ptr, ptr %12, align 8, !tbaa !5
  %239 = getelementptr inbounds %struct._PARTITION_CONFIGURATION_TYPE, ptr %238, i32 0, i32 15
  %240 = load i32, ptr %239, align 8, !tbaa !43
  %241 = load ptr, ptr %12, align 8, !tbaa !5
  %242 = getelementptr inbounds %struct._PARTITION_CONFIGURATION_TYPE, ptr %241, i32 0, i32 13
  %243 = load i32, ptr %242, align 8, !tbaa !44
  %244 = icmp ne i32 %240, %243
  br i1 %244, label %245, label %247

245:                                              ; preds = %234
  %246 = load ptr, ptr %6, align 8, !tbaa !5
  store i32 5, ptr %246, align 4, !tbaa !17
  call void @EXIT_CORE()
  store i32 1, ptr %23, align 4
  br label %1282

247:                                              ; preds = %234
  %248 = load ptr, ptr %11, align 8, !tbaa !5
  %249 = call zeroext i8 @PORT_HOOK_BEFORE_CREATE_PARTITION(ptr noundef %248)
  %250 = icmp ne i8 %249, 0
  br i1 %250, label %253, label %251

251:                                              ; preds = %247
  %252 = load ptr, ptr %6, align 8, !tbaa !5
  store i32 5, ptr %252, align 4, !tbaa !17
  call void @EXIT_CORE()
  store i32 1, ptr %23, align 4
  br label %1282

253:                                              ; preds = %247
  %254 = load ptr, ptr %7, align 8, !tbaa !5
  %255 = getelementptr inbounds %struct._MODULE_INFORMATION_TYPE, ptr %254, i32 0, i32 1
  %256 = load ptr, ptr %11, align 8, !tbaa !5
  %257 = getelementptr inbounds %struct._PARTITION_INFORMATION_TYPE, ptr %256, i32 0, i32 9
  %258 = getelementptr inbounds %struct._CONTEXT_TYPE, ptr %257, i32 0, i32 3
  call void @HEAP_ALLOCATE(ptr noundef %255, ptr noundef %258, i32 noundef 352, i8 noundef zeroext 0)
  %259 = load ptr, ptr %11, align 8, !tbaa !5
  %260 = getelementptr inbounds %struct._PARTITION_INFORMATION_TYPE, ptr %259, i32 0, i32 9
  %261 = getelementptr inbounds %struct._CONTEXT_TYPE, ptr %260, i32 0, i32 3
  %262 = load ptr, ptr %261, align 8, !tbaa !45
  %263 = icmp eq ptr %262, null
  br i1 %263, label %264, label %266

264:                                              ; preds = %253
  %265 = load ptr, ptr %6, align 8, !tbaa !5
  store i32 5, ptr %265, align 4, !tbaa !17
  call void @EXIT_CORE()
  store i32 1, ptr %23, align 4
  br label %1282

266:                                              ; preds = %253
  %267 = load ptr, ptr %11, align 8, !tbaa !5
  %268 = getelementptr inbounds %struct._PARTITION_INFORMATION_TYPE, ptr %267, i32 0, i32 0
  %269 = load i8, ptr %268, align 8, !tbaa !46
  %270 = icmp ne i8 %269, 0
  br i1 %270, label %277, label %271

271:                                              ; preds = %266
  %272 = load ptr, ptr %11, align 8, !tbaa !5
  %273 = getelementptr inbounds %struct._PARTITION_INFORMATION_TYPE, ptr %272, i32 0, i32 9
  call void @PORT_INITIALIZECONTEXT(ptr noundef %273)
  %274 = load ptr, ptr %11, align 8, !tbaa !5
  %275 = getelementptr inbounds %struct._PARTITION_INFORMATION_TYPE, ptr %274, i32 0, i32 9
  %276 = getelementptr inbounds %struct._CONTEXT_TYPE, ptr %275, i32 0, i32 10
  store i32 6, ptr %276, align 8, !tbaa !47
  br label %277

277:                                              ; preds = %271, %266
  %278 = load ptr, ptr %7, align 8, !tbaa !5
  %279 = getelementptr inbounds %struct._MODULE_INFORMATION_TYPE, ptr %278, i32 0, i32 1
  %280 = load ptr, ptr %11, align 8, !tbaa !5
  %281 = getelementptr inbounds %struct._PARTITION_INFORMATION_TYPE, ptr %280, i32 0, i32 13
  %282 = getelementptr inbounds %struct._ERRORHANDLER_INFORMATION_TYPE, ptr %281, i32 0, i32 3
  %283 = getelementptr inbounds %struct._CONTEXT_TYPE, ptr %282, i32 0, i32 3
  call void @HEAP_ALLOCATE(ptr noundef %279, ptr noundef %283, i32 noundef 352, i8 noundef zeroext 0)
  %284 = load ptr, ptr %11, align 8, !tbaa !5
  %285 = getelementptr inbounds %struct._PARTITION_INFORMATION_TYPE, ptr %284, i32 0, i32 13
  %286 = getelementptr inbounds %struct._ERRORHANDLER_INFORMATION_TYPE, ptr %285, i32 0, i32 3
  %287 = getelementptr inbounds %struct._CONTEXT_TYPE, ptr %286, i32 0, i32 3
  %288 = load ptr, ptr %287, align 8, !tbaa !48
  %289 = icmp eq ptr %288, null
  br i1 %289, label %290, label %292

290:                                              ; preds = %277
  %291 = load ptr, ptr %6, align 8, !tbaa !5
  store i32 5, ptr %291, align 4, !tbaa !17
  call void @EXIT_CORE()
  store i32 1, ptr %23, align 4
  br label %1282

292:                                              ; preds = %277
  %293 = load ptr, ptr %11, align 8, !tbaa !5
  %294 = getelementptr inbounds %struct._PARTITION_INFORMATION_TYPE, ptr %293, i32 0, i32 0
  %295 = load i8, ptr %294, align 8, !tbaa !46
  %296 = icmp ne i8 %295, 0
  br i1 %296, label %305, label %297

297:                                              ; preds = %292
  %298 = load ptr, ptr %11, align 8, !tbaa !5
  %299 = getelementptr inbounds %struct._PARTITION_INFORMATION_TYPE, ptr %298, i32 0, i32 13
  %300 = getelementptr inbounds %struct._ERRORHANDLER_INFORMATION_TYPE, ptr %299, i32 0, i32 3
  call void @PORT_INITIALIZECONTEXT(ptr noundef %300)
  %301 = load ptr, ptr %11, align 8, !tbaa !5
  %302 = getelementptr inbounds %struct._PARTITION_INFORMATION_TYPE, ptr %301, i32 0, i32 13
  %303 = getelementptr inbounds %struct._ERRORHANDLER_INFORMATION_TYPE, ptr %302, i32 0, i32 3
  %304 = getelementptr inbounds %struct._CONTEXT_TYPE, ptr %303, i32 0, i32 10
  store i32 5, ptr %304, align 8, !tbaa !49
  br label %305

305:                                              ; preds = %297, %292
  %306 = load ptr, ptr %7, align 8, !tbaa !5
  %307 = getelementptr inbounds %struct._MODULE_INFORMATION_TYPE, ptr %306, i32 0, i32 1
  %308 = load ptr, ptr %11, align 8, !tbaa !5
  %309 = getelementptr inbounds %struct._PARTITION_INFORMATION_TYPE, ptr %308, i32 0, i32 14
  %310 = getelementptr inbounds %struct._HEALTHMONITORINGCALLBACK_INFORMATION_TYPE, ptr %309, i32 0, i32 3
  %311 = getelementptr inbounds %struct._CONTEXT_TYPE, ptr %310, i32 0, i32 3
  call void @HEAP_ALLOCATE(ptr noundef %307, ptr noundef %311, i32 noundef 352, i8 noundef zeroext 0)
  %312 = load ptr, ptr %11, align 8, !tbaa !5
  %313 = getelementptr inbounds %struct._PARTITION_INFORMATION_TYPE, ptr %312, i32 0, i32 14
  %314 = getelementptr inbounds %struct._HEALTHMONITORINGCALLBACK_INFORMATION_TYPE, ptr %313, i32 0, i32 3
  %315 = getelementptr inbounds %struct._CONTEXT_TYPE, ptr %314, i32 0, i32 3
  %316 = load ptr, ptr %315, align 8, !tbaa !50
  %317 = icmp eq ptr %316, null
  br i1 %317, label %318, label %320

318:                                              ; preds = %305
  %319 = load ptr, ptr %6, align 8, !tbaa !5
  store i32 5, ptr %319, align 4, !tbaa !17
  call void @EXIT_CORE()
  store i32 1, ptr %23, align 4
  br label %1282

320:                                              ; preds = %305
  %321 = load ptr, ptr %11, align 8, !tbaa !5
  %322 = getelementptr inbounds %struct._PARTITION_INFORMATION_TYPE, ptr %321, i32 0, i32 0
  %323 = load i8, ptr %322, align 8, !tbaa !46
  %324 = icmp ne i8 %323, 0
  br i1 %324, label %333, label %325

325:                                              ; preds = %320
  %326 = load ptr, ptr %11, align 8, !tbaa !5
  %327 = getelementptr inbounds %struct._PARTITION_INFORMATION_TYPE, ptr %326, i32 0, i32 14
  %328 = getelementptr inbounds %struct._HEALTHMONITORINGCALLBACK_INFORMATION_TYPE, ptr %327, i32 0, i32 3
  call void @PORT_INITIALIZECONTEXT(ptr noundef %328)
  %329 = load ptr, ptr %11, align 8, !tbaa !5
  %330 = getelementptr inbounds %struct._PARTITION_INFORMATION_TYPE, ptr %329, i32 0, i32 14
  %331 = getelementptr inbounds %struct._HEALTHMONITORINGCALLBACK_INFORMATION_TYPE, ptr %330, i32 0, i32 3
  %332 = getelementptr inbounds %struct._CONTEXT_TYPE, ptr %331, i32 0, i32 10
  store i32 4, ptr %332, align 8, !tbaa !51
  br label %333

333:                                              ; preds = %325, %320
  %334 = load ptr, ptr %11, align 8, !tbaa !5
  %335 = getelementptr inbounds %struct._PARTITION_INFORMATION_TYPE, ptr %334, i32 0, i32 8
  %336 = load ptr, ptr %12, align 8, !tbaa !5
  %337 = getelementptr inbounds %struct._PARTITION_CONFIGURATION_TYPE, ptr %336, i32 0, i32 16
  %338 = load ptr, ptr %337, align 8, !tbaa !52
  %339 = load ptr, ptr %12, align 8, !tbaa !5
  %340 = getelementptr inbounds %struct._PARTITION_CONFIGURATION_TYPE, ptr %339, i32 0, i32 17
  %341 = load i32, ptr %340, align 8, !tbaa !53
  call void @HEAP_STARTUP(ptr noundef %335, ptr noundef %338, i32 noundef %341, i32 noundef 4)
  %342 = load ptr, ptr %7, align 8, !tbaa !5
  %343 = getelementptr inbounds %struct._MODULE_INFORMATION_TYPE, ptr %342, i32 0, i32 1
  %344 = load ptr, ptr %11, align 8, !tbaa !5
  %345 = getelementptr inbounds %struct._PARTITION_INFORMATION_TYPE, ptr %344, i32 0, i32 11
  %346 = load ptr, ptr %12, align 8, !tbaa !5
  %347 = getelementptr inbounds %struct._PARTITION_CONFIGURATION_TYPE, ptr %346, i32 0, i32 2
  %348 = load i32, ptr %347, align 8, !tbaa !54
  %349 = zext i32 %348 to i64
  %350 = mul i64 344, %349
  %351 = trunc i64 %350 to i32
  call void @HEAP_ALLOCATE(ptr noundef %343, ptr noundef %345, i32 noundef %351, i8 noundef zeroext 0)
  %352 = load ptr, ptr %11, align 8, !tbaa !5
  %353 = getelementptr inbounds %struct._PARTITION_INFORMATION_TYPE, ptr %352, i32 0, i32 11
  %354 = load ptr, ptr %353, align 8, !tbaa !55
  %355 = icmp eq ptr %354, null
  br i1 %355, label %356, label %363

356:                                              ; preds = %333
  %357 = load ptr, ptr %12, align 8, !tbaa !5
  %358 = getelementptr inbounds %struct._PARTITION_CONFIGURATION_TYPE, ptr %357, i32 0, i32 2
  %359 = load i32, ptr %358, align 8, !tbaa !54
  %360 = icmp ugt i32 %359, 0
  br i1 %360, label %361, label %363

361:                                              ; preds = %356
  %362 = load ptr, ptr %6, align 8, !tbaa !5
  store i32 5, ptr %362, align 4, !tbaa !17
  call void @EXIT_CORE()
  store i32 1, ptr %23, align 4
  br label %1282

363:                                              ; preds = %356, %333
  store i32 0, ptr %13, align 4, !tbaa !17
  br label %364

364:                                              ; preds = %373, %363
  %365 = load i32, ptr %13, align 4, !tbaa !17
  %366 = load ptr, ptr %12, align 8, !tbaa !5
  %367 = getelementptr inbounds %struct._PARTITION_CONFIGURATION_TYPE, ptr %366, i32 0, i32 2
  %368 = load i32, ptr %367, align 8, !tbaa !54
  %369 = icmp ult i32 %365, %368
  br i1 %369, label %370, label %376

370:                                              ; preds = %364
  %371 = load i32, ptr %8, align 4, !tbaa !17
  %372 = load i32, ptr %13, align 4, !tbaa !17
  call void @INITIALIZE_PROCESS_INFORMATION(i32 noundef %371, i32 noundef %372)
  br label %373

373:                                              ; preds = %370
  %374 = load i32, ptr %13, align 4, !tbaa !17
  %375 = add i32 %374, 1
  store i32 %375, ptr %13, align 4, !tbaa !17
  br label %364, !llvm.loop !56

376:                                              ; preds = %364
  %377 = load ptr, ptr %7, align 8, !tbaa !5
  %378 = getelementptr inbounds %struct._MODULE_INFORMATION_TYPE, ptr %377, i32 0, i32 1
  %379 = load ptr, ptr %11, align 8, !tbaa !5
  %380 = getelementptr inbounds %struct._PARTITION_INFORMATION_TYPE, ptr %379, i32 0, i32 22
  %381 = load ptr, ptr %12, align 8, !tbaa !5
  %382 = getelementptr inbounds %struct._PARTITION_CONFIGURATION_TYPE, ptr %381, i32 0, i32 3
  %383 = load i32, ptr %382, align 4, !tbaa !57
  %384 = zext i32 %383 to i64
  %385 = mul i64 88, %384
  %386 = trunc i64 %385 to i32
  call void @HEAP_ALLOCATE(ptr noundef %378, ptr noundef %380, i32 noundef %386, i8 noundef zeroext 0)
  %387 = load ptr, ptr %11, align 8, !tbaa !5
  %388 = getelementptr inbounds %struct._PARTITION_INFORMATION_TYPE, ptr %387, i32 0, i32 22
  %389 = load ptr, ptr %388, align 8, !tbaa !58
  %390 = icmp eq ptr %389, null
  br i1 %390, label %391, label %398

391:                                              ; preds = %376
  %392 = load ptr, ptr %12, align 8, !tbaa !5
  %393 = getelementptr inbounds %struct._PARTITION_CONFIGURATION_TYPE, ptr %392, i32 0, i32 3
  %394 = load i32, ptr %393, align 4, !tbaa !57
  %395 = icmp ugt i32 %394, 0
  br i1 %395, label %396, label %398

396:                                              ; preds = %391
  %397 = load ptr, ptr %6, align 8, !tbaa !5
  store i32 5, ptr %397, align 4, !tbaa !17
  call void @EXIT_CORE()
  store i32 1, ptr %23, align 4
  br label %1282

398:                                              ; preds = %391, %376
  %399 = load ptr, ptr %7, align 8, !tbaa !5
  %400 = getelementptr inbounds %struct._MODULE_INFORMATION_TYPE, ptr %399, i32 0, i32 1
  %401 = load ptr, ptr %11, align 8, !tbaa !5
  %402 = getelementptr inbounds %struct._PARTITION_INFORMATION_TYPE, ptr %401, i32 0, i32 24
  %403 = load ptr, ptr %12, align 8, !tbaa !5
  %404 = getelementptr inbounds %struct._PARTITION_CONFIGURATION_TYPE, ptr %403, i32 0, i32 4
  %405 = load i32, ptr %404, align 8, !tbaa !59
  %406 = zext i32 %405 to i64
  %407 = mul i64 72, %406
  %408 = trunc i64 %407 to i32
  call void @HEAP_ALLOCATE(ptr noundef %400, ptr noundef %402, i32 noundef %408, i8 noundef zeroext 0)
  %409 = load ptr, ptr %11, align 8, !tbaa !5
  %410 = getelementptr inbounds %struct._PARTITION_INFORMATION_TYPE, ptr %409, i32 0, i32 24
  %411 = load ptr, ptr %410, align 8, !tbaa !60
  %412 = icmp eq ptr %411, null
  br i1 %412, label %413, label %420

413:                                              ; preds = %398
  %414 = load ptr, ptr %12, align 8, !tbaa !5
  %415 = getelementptr inbounds %struct._PARTITION_CONFIGURATION_TYPE, ptr %414, i32 0, i32 4
  %416 = load i32, ptr %415, align 8, !tbaa !59
  %417 = icmp ugt i32 %416, 0
  br i1 %417, label %418, label %420

418:                                              ; preds = %413
  %419 = load ptr, ptr %6, align 8, !tbaa !5
  store i32 5, ptr %419, align 4, !tbaa !17
  call void @EXIT_CORE()
  store i32 1, ptr %23, align 4
  br label %1282

420:                                              ; preds = %413, %398
  store i32 0, ptr %17, align 4, !tbaa !17
  br label %421

421:                                              ; preds = %498, %420
  %422 = load i32, ptr %17, align 4, !tbaa !17
  %423 = load ptr, ptr %12, align 8, !tbaa !5
  %424 = getelementptr inbounds %struct._PARTITION_CONFIGURATION_TYPE, ptr %423, i32 0, i32 4
  %425 = load i32, ptr %424, align 8, !tbaa !59
  %426 = icmp ult i32 %422, %425
  br i1 %426, label %427, label %501

427:                                              ; preds = %421
  %428 = load ptr, ptr %11, align 8, !tbaa !5
  %429 = getelementptr inbounds %struct._PARTITION_INFORMATION_TYPE, ptr %428, i32 0, i32 24
  %430 = load ptr, ptr %429, align 8, !tbaa !60
  %431 = load i32, ptr %17, align 4, !tbaa !17
  %432 = zext i32 %431 to i64
  %433 = getelementptr inbounds %struct._SAMPLINGPORT_INFORMATION_TYPE, ptr %430, i64 %432
  %434 = getelementptr inbounds %struct._SAMPLINGPORT_INFORMATION_TYPE, ptr %433, i32 0, i32 0
  store i32 0, ptr %434, align 8, !tbaa !61
  %435 = load ptr, ptr %11, align 8, !tbaa !5
  %436 = getelementptr inbounds %struct._PARTITION_INFORMATION_TYPE, ptr %435, i32 0, i32 24
  %437 = load ptr, ptr %436, align 8, !tbaa !60
  %438 = load i32, ptr %17, align 4, !tbaa !17
  %439 = zext i32 %438 to i64
  %440 = getelementptr inbounds %struct._SAMPLINGPORT_INFORMATION_TYPE, ptr %437, i64 %439
  %441 = getelementptr inbounds %struct._SAMPLINGPORT_INFORMATION_TYPE, ptr %440, i32 0, i32 1
  store ptr null, ptr %441, align 8, !tbaa !63
  %442 = load ptr, ptr %11, align 8, !tbaa !5
  %443 = getelementptr inbounds %struct._PARTITION_INFORMATION_TYPE, ptr %442, i32 0, i32 24
  %444 = load ptr, ptr %443, align 8, !tbaa !60
  %445 = load i32, ptr %17, align 4, !tbaa !17
  %446 = zext i32 %445 to i64
  %447 = getelementptr inbounds %struct._SAMPLINGPORT_INFORMATION_TYPE, ptr %444, i64 %446
  %448 = getelementptr inbounds %struct._SAMPLINGPORT_INFORMATION_TYPE, ptr %447, i32 0, i32 2
  store i32 0, ptr %448, align 8, !tbaa !64
  %449 = load ptr, ptr %11, align 8, !tbaa !5
  %450 = getelementptr inbounds %struct._PARTITION_INFORMATION_TYPE, ptr %449, i32 0, i32 24
  %451 = load ptr, ptr %450, align 8, !tbaa !60
  %452 = load i32, ptr %17, align 4, !tbaa !17
  %453 = zext i32 %452 to i64
  %454 = getelementptr inbounds %struct._SAMPLINGPORT_INFORMATION_TYPE, ptr %451, i64 %453
  %455 = getelementptr inbounds %struct._SAMPLINGPORT_INFORMATION_TYPE, ptr %454, i32 0, i32 3
  store i32 1, ptr %455, align 4, !tbaa !65
  %456 = load ptr, ptr %11, align 8, !tbaa !5
  %457 = getelementptr inbounds %struct._PARTITION_INFORMATION_TYPE, ptr %456, i32 0, i32 24
  %458 = load ptr, ptr %457, align 8, !tbaa !60
  %459 = load i32, ptr %17, align 4, !tbaa !17
  %460 = zext i32 %459 to i64
  %461 = getelementptr inbounds %struct._SAMPLINGPORT_INFORMATION_TYPE, ptr %458, i64 %460
  %462 = getelementptr inbounds %struct._SAMPLINGPORT_INFORMATION_TYPE, ptr %461, i32 0, i32 4
  store i64 -1, ptr %462, align 8, !tbaa !66
  %463 = load ptr, ptr %11, align 8, !tbaa !5
  %464 = getelementptr inbounds %struct._PARTITION_INFORMATION_TYPE, ptr %463, i32 0, i32 24
  %465 = load ptr, ptr %464, align 8, !tbaa !60
  %466 = load i32, ptr %17, align 4, !tbaa !17
  %467 = zext i32 %466 to i64
  %468 = getelementptr inbounds %struct._SAMPLINGPORT_INFORMATION_TYPE, ptr %465, i64 %467
  %469 = getelementptr inbounds %struct._SAMPLINGPORT_INFORMATION_TYPE, ptr %468, i32 0, i32 5
  store i64 -1, ptr %469, align 8, !tbaa !67
  %470 = load ptr, ptr %11, align 8, !tbaa !5
  %471 = getelementptr inbounds %struct._PARTITION_INFORMATION_TYPE, ptr %470, i32 0, i32 24
  %472 = load ptr, ptr %471, align 8, !tbaa !60
  %473 = load i32, ptr %17, align 4, !tbaa !17
  %474 = zext i32 %473 to i64
  %475 = getelementptr inbounds %struct._SAMPLINGPORT_INFORMATION_TYPE, ptr %472, i64 %474
  %476 = getelementptr inbounds %struct._SAMPLINGPORT_INFORMATION_TYPE, ptr %475, i32 0, i32 6
  store i64 -1, ptr %476, align 8, !tbaa !68
  %477 = load ptr, ptr %11, align 8, !tbaa !5
  %478 = getelementptr inbounds %struct._PARTITION_INFORMATION_TYPE, ptr %477, i32 0, i32 24
  %479 = load ptr, ptr %478, align 8, !tbaa !60
  %480 = load i32, ptr %17, align 4, !tbaa !17
  %481 = zext i32 %480 to i64
  %482 = getelementptr inbounds %struct._SAMPLINGPORT_INFORMATION_TYPE, ptr %479, i64 %481
  %483 = getelementptr inbounds %struct._SAMPLINGPORT_INFORMATION_TYPE, ptr %482, i32 0, i32 7
  store i32 1, ptr %483, align 8, !tbaa !69
  %484 = load ptr, ptr %11, align 8, !tbaa !5
  %485 = getelementptr inbounds %struct._PARTITION_INFORMATION_TYPE, ptr %484, i32 0, i32 24
  %486 = load ptr, ptr %485, align 8, !tbaa !60
  %487 = load i32, ptr %17, align 4, !tbaa !17
  %488 = zext i32 %487 to i64
  %489 = getelementptr inbounds %struct._SAMPLINGPORT_INFORMATION_TYPE, ptr %486, i64 %488
  %490 = getelementptr inbounds %struct._SAMPLINGPORT_INFORMATION_TYPE, ptr %489, i32 0, i32 8
  store i32 1, ptr %490, align 4, !tbaa !70
  %491 = load ptr, ptr %11, align 8, !tbaa !5
  %492 = getelementptr inbounds %struct._PARTITION_INFORMATION_TYPE, ptr %491, i32 0, i32 24
  %493 = load ptr, ptr %492, align 8, !tbaa !60
  %494 = load i32, ptr %17, align 4, !tbaa !17
  %495 = zext i32 %494 to i64
  %496 = getelementptr inbounds %struct._SAMPLINGPORT_INFORMATION_TYPE, ptr %493, i64 %495
  %497 = getelementptr inbounds %struct._SAMPLINGPORT_INFORMATION_TYPE, ptr %496, i32 0, i32 10
  store i32 0, ptr %497, align 8, !tbaa !71
  br label %498

498:                                              ; preds = %427
  %499 = load i32, ptr %17, align 4, !tbaa !17
  %500 = add i32 %499, 1
  store i32 %500, ptr %17, align 4, !tbaa !17
  br label %421, !llvm.loop !72

501:                                              ; preds = %421
  %502 = load ptr, ptr %7, align 8, !tbaa !5
  %503 = getelementptr inbounds %struct._MODULE_INFORMATION_TYPE, ptr %502, i32 0, i32 1
  %504 = load ptr, ptr %11, align 8, !tbaa !5
  %505 = getelementptr inbounds %struct._PARTITION_INFORMATION_TYPE, ptr %504, i32 0, i32 26
  %506 = load ptr, ptr %12, align 8, !tbaa !5
  %507 = getelementptr inbounds %struct._PARTITION_CONFIGURATION_TYPE, ptr %506, i32 0, i32 5
  %508 = load i32, ptr %507, align 4, !tbaa !73
  %509 = zext i32 %508 to i64
  %510 = mul i64 80, %509
  %511 = trunc i64 %510 to i32
  call void @HEAP_ALLOCATE(ptr noundef %503, ptr noundef %505, i32 noundef %511, i8 noundef zeroext 0)
  %512 = load ptr, ptr %11, align 8, !tbaa !5
  %513 = getelementptr inbounds %struct._PARTITION_INFORMATION_TYPE, ptr %512, i32 0, i32 26
  %514 = load ptr, ptr %513, align 8, !tbaa !74
  %515 = icmp eq ptr %514, null
  br i1 %515, label %516, label %523

516:                                              ; preds = %501
  %517 = load ptr, ptr %12, align 8, !tbaa !5
  %518 = getelementptr inbounds %struct._PARTITION_CONFIGURATION_TYPE, ptr %517, i32 0, i32 5
  %519 = load i32, ptr %518, align 4, !tbaa !73
  %520 = icmp ugt i32 %519, 0
  br i1 %520, label %521, label %523

521:                                              ; preds = %516
  %522 = load ptr, ptr %6, align 8, !tbaa !5
  store i32 5, ptr %522, align 4, !tbaa !17
  call void @EXIT_CORE()
  store i32 1, ptr %23, align 4
  br label %1282

523:                                              ; preds = %516, %501
  store i32 0, ptr %18, align 4, !tbaa !17
  br label %524

524:                                              ; preds = %629, %523
  %525 = load i32, ptr %18, align 4, !tbaa !17
  %526 = load ptr, ptr %12, align 8, !tbaa !5
  %527 = getelementptr inbounds %struct._PARTITION_CONFIGURATION_TYPE, ptr %526, i32 0, i32 5
  %528 = load i32, ptr %527, align 4, !tbaa !73
  %529 = icmp ult i32 %525, %528
  br i1 %529, label %530, label %632

530:                                              ; preds = %524
  %531 = load ptr, ptr %11, align 8, !tbaa !5
  %532 = getelementptr inbounds %struct._PARTITION_INFORMATION_TYPE, ptr %531, i32 0, i32 26
  %533 = load ptr, ptr %532, align 8, !tbaa !74
  %534 = load i32, ptr %18, align 4, !tbaa !17
  %535 = zext i32 %534 to i64
  %536 = getelementptr inbounds %struct._QUEUINGPORT_INFORMATION_TYPE, ptr %533, i64 %535
  %537 = getelementptr inbounds %struct._QUEUINGPORT_INFORMATION_TYPE, ptr %536, i32 0, i32 0
  store i32 0, ptr %537, align 8, !tbaa !75
  %538 = load ptr, ptr %11, align 8, !tbaa !5
  %539 = getelementptr inbounds %struct._PARTITION_INFORMATION_TYPE, ptr %538, i32 0, i32 26
  %540 = load ptr, ptr %539, align 8, !tbaa !74
  %541 = load i32, ptr %18, align 4, !tbaa !17
  %542 = zext i32 %541 to i64
  %543 = getelementptr inbounds %struct._QUEUINGPORT_INFORMATION_TYPE, ptr %540, i64 %542
  %544 = getelementptr inbounds %struct._QUEUINGPORT_INFORMATION_TYPE, ptr %543, i32 0, i32 1
  store ptr null, ptr %544, align 8, !tbaa !77
  %545 = load ptr, ptr %11, align 8, !tbaa !5
  %546 = getelementptr inbounds %struct._PARTITION_INFORMATION_TYPE, ptr %545, i32 0, i32 26
  %547 = load ptr, ptr %546, align 8, !tbaa !74
  %548 = load i32, ptr %18, align 4, !tbaa !17
  %549 = zext i32 %548 to i64
  %550 = getelementptr inbounds %struct._QUEUINGPORT_INFORMATION_TYPE, ptr %547, i64 %549
  %551 = getelementptr inbounds %struct._QUEUINGPORT_INFORMATION_TYPE, ptr %550, i32 0, i32 2
  store i32 0, ptr %551, align 8, !tbaa !78
  %552 = load ptr, ptr %11, align 8, !tbaa !5
  %553 = getelementptr inbounds %struct._PARTITION_INFORMATION_TYPE, ptr %552, i32 0, i32 26
  %554 = load ptr, ptr %553, align 8, !tbaa !74
  %555 = load i32, ptr %18, align 4, !tbaa !17
  %556 = zext i32 %555 to i64
  %557 = getelementptr inbounds %struct._QUEUINGPORT_INFORMATION_TYPE, ptr %554, i64 %556
  %558 = getelementptr inbounds %struct._QUEUINGPORT_INFORMATION_TYPE, ptr %557, i32 0, i32 3
  store i32 0, ptr %558, align 4, !tbaa !79
  %559 = load ptr, ptr %11, align 8, !tbaa !5
  %560 = getelementptr inbounds %struct._PARTITION_INFORMATION_TYPE, ptr %559, i32 0, i32 26
  %561 = load ptr, ptr %560, align 8, !tbaa !74
  %562 = load i32, ptr %18, align 4, !tbaa !17
  %563 = zext i32 %562 to i64
  %564 = getelementptr inbounds %struct._QUEUINGPORT_INFORMATION_TYPE, ptr %561, i64 %563
  %565 = getelementptr inbounds %struct._QUEUINGPORT_INFORMATION_TYPE, ptr %564, i32 0, i32 4
  store i32 1, ptr %565, align 8, !tbaa !80
  %566 = load ptr, ptr %11, align 8, !tbaa !5
  %567 = getelementptr inbounds %struct._PARTITION_INFORMATION_TYPE, ptr %566, i32 0, i32 26
  %568 = load ptr, ptr %567, align 8, !tbaa !74
  %569 = load i32, ptr %18, align 4, !tbaa !17
  %570 = zext i32 %569 to i64
  %571 = getelementptr inbounds %struct._QUEUINGPORT_INFORMATION_TYPE, ptr %568, i64 %570
  %572 = getelementptr inbounds %struct._QUEUINGPORT_INFORMATION_TYPE, ptr %571, i32 0, i32 5
  store i32 1, ptr %572, align 4, !tbaa !81
  %573 = load ptr, ptr %11, align 8, !tbaa !5
  %574 = getelementptr inbounds %struct._PARTITION_INFORMATION_TYPE, ptr %573, i32 0, i32 26
  %575 = load ptr, ptr %574, align 8, !tbaa !74
  %576 = load i32, ptr %18, align 4, !tbaa !17
  %577 = zext i32 %576 to i64
  %578 = getelementptr inbounds %struct._QUEUINGPORT_INFORMATION_TYPE, ptr %575, i64 %577
  %579 = getelementptr inbounds %struct._QUEUINGPORT_INFORMATION_TYPE, ptr %578, i32 0, i32 6
  store i32 0, ptr %579, align 8, !tbaa !82
  %580 = load ptr, ptr %11, align 8, !tbaa !5
  %581 = getelementptr inbounds %struct._PARTITION_INFORMATION_TYPE, ptr %580, i32 0, i32 26
  %582 = load ptr, ptr %581, align 8, !tbaa !74
  %583 = load i32, ptr %18, align 4, !tbaa !17
  %584 = zext i32 %583 to i64
  %585 = getelementptr inbounds %struct._QUEUINGPORT_INFORMATION_TYPE, ptr %582, i64 %584
  %586 = getelementptr inbounds %struct._QUEUINGPORT_INFORMATION_TYPE, ptr %585, i32 0, i32 7
  store i32 0, ptr %586, align 4, !tbaa !83
  %587 = load ptr, ptr %11, align 8, !tbaa !5
  %588 = getelementptr inbounds %struct._PARTITION_INFORMATION_TYPE, ptr %587, i32 0, i32 26
  %589 = load ptr, ptr %588, align 8, !tbaa !74
  %590 = load i32, ptr %18, align 4, !tbaa !17
  %591 = zext i32 %590 to i64
  %592 = getelementptr inbounds %struct._QUEUINGPORT_INFORMATION_TYPE, ptr %589, i64 %591
  %593 = getelementptr inbounds %struct._QUEUINGPORT_INFORMATION_TYPE, ptr %592, i32 0, i32 8
  store i8 0, ptr %593, align 8, !tbaa !84
  %594 = load ptr, ptr %11, align 8, !tbaa !5
  %595 = getelementptr inbounds %struct._PARTITION_INFORMATION_TYPE, ptr %594, i32 0, i32 0
  %596 = load i8, ptr %595, align 8, !tbaa !46
  %597 = icmp ne i8 %596, 0
  br i1 %597, label %620, label %598

598:                                              ; preds = %530
  %599 = load ptr, ptr %11, align 8, !tbaa !5
  %600 = getelementptr inbounds %struct._PARTITION_INFORMATION_TYPE, ptr %599, i32 0, i32 26
  %601 = load ptr, ptr %600, align 8, !tbaa !74
  %602 = load i32, ptr %18, align 4, !tbaa !17
  %603 = zext i32 %602 to i64
  %604 = getelementptr inbounds %struct._QUEUINGPORT_INFORMATION_TYPE, ptr %601, i64 %603
  %605 = getelementptr inbounds %struct._QUEUINGPORT_INFORMATION_TYPE, ptr %604, i32 0, i32 9
  store ptr null, ptr %605, align 8, !tbaa !85
  %606 = load ptr, ptr %11, align 8, !tbaa !5
  %607 = getelementptr inbounds %struct._PARTITION_INFORMATION_TYPE, ptr %606, i32 0, i32 26
  %608 = load ptr, ptr %607, align 8, !tbaa !74
  %609 = load i32, ptr %18, align 4, !tbaa !17
  %610 = zext i32 %609 to i64
  %611 = getelementptr inbounds %struct._QUEUINGPORT_INFORMATION_TYPE, ptr %608, i64 %610
  %612 = getelementptr inbounds %struct._QUEUINGPORT_INFORMATION_TYPE, ptr %611, i32 0, i32 10
  store ptr null, ptr %612, align 8, !tbaa !86
  %613 = load ptr, ptr %11, align 8, !tbaa !5
  %614 = getelementptr inbounds %struct._PARTITION_INFORMATION_TYPE, ptr %613, i32 0, i32 26
  %615 = load ptr, ptr %614, align 8, !tbaa !74
  %616 = load i32, ptr %18, align 4, !tbaa !17
  %617 = zext i32 %616 to i64
  %618 = getelementptr inbounds %struct._QUEUINGPORT_INFORMATION_TYPE, ptr %615, i64 %617
  %619 = getelementptr inbounds %struct._QUEUINGPORT_INFORMATION_TYPE, ptr %618, i32 0, i32 11
  call void @PRIORITYQUEUE_STARTUP(ptr noundef %619, i8 noundef zeroext 1, i8 noundef zeroext 0)
  br label %628

620:                                              ; preds = %530
  %621 = load ptr, ptr %11, align 8, !tbaa !5
  %622 = getelementptr inbounds %struct._PARTITION_INFORMATION_TYPE, ptr %621, i32 0, i32 26
  %623 = load ptr, ptr %622, align 8, !tbaa !74
  %624 = load i32, ptr %18, align 4, !tbaa !17
  %625 = zext i32 %624 to i64
  %626 = getelementptr inbounds %struct._QUEUINGPORT_INFORMATION_TYPE, ptr %623, i64 %625
  %627 = getelementptr inbounds %struct._QUEUINGPORT_INFORMATION_TYPE, ptr %626, i32 0, i32 11
  call void @PRIORITYQUEUE_CLEAR(ptr noundef %627, i8 noundef zeroext 1, i8 noundef zeroext 0)
  br label %628

628:                                              ; preds = %620, %598
  br label %629

629:                                              ; preds = %628
  %630 = load i32, ptr %18, align 4, !tbaa !17
  %631 = add i32 %630, 1
  store i32 %631, ptr %18, align 4, !tbaa !17
  br label %524, !llvm.loop !87

632:                                              ; preds = %524
  %633 = load ptr, ptr %7, align 8, !tbaa !5
  %634 = getelementptr inbounds %struct._MODULE_INFORMATION_TYPE, ptr %633, i32 0, i32 1
  %635 = load ptr, ptr %11, align 8, !tbaa !5
  %636 = getelementptr inbounds %struct._PARTITION_INFORMATION_TYPE, ptr %635, i32 0, i32 28
  %637 = load ptr, ptr %12, align 8, !tbaa !5
  %638 = getelementptr inbounds %struct._PARTITION_CONFIGURATION_TYPE, ptr %637, i32 0, i32 6
  %639 = load i32, ptr %638, align 8, !tbaa !88
  %640 = zext i32 %639 to i64
  %641 = mul i64 72, %640
  %642 = trunc i64 %641 to i32
  call void @HEAP_ALLOCATE(ptr noundef %634, ptr noundef %636, i32 noundef %642, i8 noundef zeroext 0)
  %643 = load ptr, ptr %11, align 8, !tbaa !5
  %644 = getelementptr inbounds %struct._PARTITION_INFORMATION_TYPE, ptr %643, i32 0, i32 28
  %645 = load ptr, ptr %644, align 8, !tbaa !89
  %646 = icmp eq ptr %645, null
  br i1 %646, label %647, label %654

647:                                              ; preds = %632
  %648 = load ptr, ptr %12, align 8, !tbaa !5
  %649 = getelementptr inbounds %struct._PARTITION_CONFIGURATION_TYPE, ptr %648, i32 0, i32 6
  %650 = load i32, ptr %649, align 8, !tbaa !88
  %651 = icmp ugt i32 %650, 0
  br i1 %651, label %652, label %654

652:                                              ; preds = %647
  %653 = load ptr, ptr %6, align 8, !tbaa !5
  store i32 5, ptr %653, align 4, !tbaa !17
  call void @EXIT_CORE()
  store i32 1, ptr %23, align 4
  br label %1282

654:                                              ; preds = %647, %632
  store i32 0, ptr %19, align 4, !tbaa !17
  br label %655

655:                                              ; preds = %746, %654
  %656 = load i32, ptr %19, align 4, !tbaa !17
  %657 = load ptr, ptr %12, align 8, !tbaa !5
  %658 = getelementptr inbounds %struct._PARTITION_CONFIGURATION_TYPE, ptr %657, i32 0, i32 6
  %659 = load i32, ptr %658, align 8, !tbaa !88
  %660 = icmp ult i32 %656, %659
  br i1 %660, label %661, label %749

661:                                              ; preds = %655
  %662 = load ptr, ptr %11, align 8, !tbaa !5
  %663 = getelementptr inbounds %struct._PARTITION_INFORMATION_TYPE, ptr %662, i32 0, i32 28
  %664 = load ptr, ptr %663, align 8, !tbaa !89
  %665 = load i32, ptr %19, align 4, !tbaa !17
  %666 = zext i32 %665 to i64
  %667 = getelementptr inbounds %struct._BUFFER_INFORMATION_TYPE, ptr %664, i64 %666
  %668 = getelementptr inbounds %struct._BUFFER_INFORMATION_TYPE, ptr %667, i32 0, i32 0
  store i32 0, ptr %668, align 8, !tbaa !90
  %669 = load ptr, ptr %11, align 8, !tbaa !5
  %670 = getelementptr inbounds %struct._PARTITION_INFORMATION_TYPE, ptr %669, i32 0, i32 28
  %671 = load ptr, ptr %670, align 8, !tbaa !89
  %672 = load i32, ptr %19, align 4, !tbaa !17
  %673 = zext i32 %672 to i64
  %674 = getelementptr inbounds %struct._BUFFER_INFORMATION_TYPE, ptr %671, i64 %673
  %675 = getelementptr inbounds %struct._BUFFER_INFORMATION_TYPE, ptr %674, i32 0, i32 1
  store ptr null, ptr %675, align 8, !tbaa !92
  %676 = load ptr, ptr %11, align 8, !tbaa !5
  %677 = getelementptr inbounds %struct._PARTITION_INFORMATION_TYPE, ptr %676, i32 0, i32 28
  %678 = load ptr, ptr %677, align 8, !tbaa !89
  %679 = load i32, ptr %19, align 4, !tbaa !17
  %680 = zext i32 %679 to i64
  %681 = getelementptr inbounds %struct._BUFFER_INFORMATION_TYPE, ptr %678, i64 %680
  %682 = getelementptr inbounds %struct._BUFFER_INFORMATION_TYPE, ptr %681, i32 0, i32 2
  store i32 0, ptr %682, align 8, !tbaa !93
  %683 = load ptr, ptr %11, align 8, !tbaa !5
  %684 = getelementptr inbounds %struct._PARTITION_INFORMATION_TYPE, ptr %683, i32 0, i32 28
  %685 = load ptr, ptr %684, align 8, !tbaa !89
  %686 = load i32, ptr %19, align 4, !tbaa !17
  %687 = zext i32 %686 to i64
  %688 = getelementptr inbounds %struct._BUFFER_INFORMATION_TYPE, ptr %685, i64 %687
  %689 = getelementptr inbounds %struct._BUFFER_INFORMATION_TYPE, ptr %688, i32 0, i32 3
  store i32 0, ptr %689, align 4, !tbaa !94
  %690 = load ptr, ptr %11, align 8, !tbaa !5
  %691 = getelementptr inbounds %struct._PARTITION_INFORMATION_TYPE, ptr %690, i32 0, i32 28
  %692 = load ptr, ptr %691, align 8, !tbaa !89
  %693 = load i32, ptr %19, align 4, !tbaa !17
  %694 = zext i32 %693 to i64
  %695 = getelementptr inbounds %struct._BUFFER_INFORMATION_TYPE, ptr %692, i64 %694
  %696 = getelementptr inbounds %struct._BUFFER_INFORMATION_TYPE, ptr %695, i32 0, i32 4
  store i32 1, ptr %696, align 8, !tbaa !95
  %697 = load ptr, ptr %11, align 8, !tbaa !5
  %698 = getelementptr inbounds %struct._PARTITION_INFORMATION_TYPE, ptr %697, i32 0, i32 28
  %699 = load ptr, ptr %698, align 8, !tbaa !89
  %700 = load i32, ptr %19, align 4, !tbaa !17
  %701 = zext i32 %700 to i64
  %702 = getelementptr inbounds %struct._BUFFER_INFORMATION_TYPE, ptr %699, i64 %701
  %703 = getelementptr inbounds %struct._BUFFER_INFORMATION_TYPE, ptr %702, i32 0, i32 5
  store i32 0, ptr %703, align 4, !tbaa !96
  %704 = load ptr, ptr %11, align 8, !tbaa !5
  %705 = getelementptr inbounds %struct._PARTITION_INFORMATION_TYPE, ptr %704, i32 0, i32 28
  %706 = load ptr, ptr %705, align 8, !tbaa !89
  %707 = load i32, ptr %19, align 4, !tbaa !17
  %708 = zext i32 %707 to i64
  %709 = getelementptr inbounds %struct._BUFFER_INFORMATION_TYPE, ptr %706, i64 %708
  %710 = getelementptr inbounds %struct._BUFFER_INFORMATION_TYPE, ptr %709, i32 0, i32 6
  store i32 0, ptr %710, align 8, !tbaa !97
  %711 = load ptr, ptr %11, align 8, !tbaa !5
  %712 = getelementptr inbounds %struct._PARTITION_INFORMATION_TYPE, ptr %711, i32 0, i32 0
  %713 = load i8, ptr %712, align 8, !tbaa !46
  %714 = icmp ne i8 %713, 0
  br i1 %714, label %737, label %715

715:                                              ; preds = %661
  %716 = load ptr, ptr %11, align 8, !tbaa !5
  %717 = getelementptr inbounds %struct._PARTITION_INFORMATION_TYPE, ptr %716, i32 0, i32 28
  %718 = load ptr, ptr %717, align 8, !tbaa !89
  %719 = load i32, ptr %19, align 4, !tbaa !17
  %720 = zext i32 %719 to i64
  %721 = getelementptr inbounds %struct._BUFFER_INFORMATION_TYPE, ptr %718, i64 %720
  %722 = getelementptr inbounds %struct._BUFFER_INFORMATION_TYPE, ptr %721, i32 0, i32 7
  store ptr null, ptr %722, align 8, !tbaa !98
  %723 = load ptr, ptr %11, align 8, !tbaa !5
  %724 = getelementptr inbounds %struct._PARTITION_INFORMATION_TYPE, ptr %723, i32 0, i32 28
  %725 = load ptr, ptr %724, align 8, !tbaa !89
  %726 = load i32, ptr %19, align 4, !tbaa !17
  %727 = zext i32 %726 to i64
  %728 = getelementptr inbounds %struct._BUFFER_INFORMATION_TYPE, ptr %725, i64 %727
  %729 = getelementptr inbounds %struct._BUFFER_INFORMATION_TYPE, ptr %728, i32 0, i32 8
  store ptr null, ptr %729, align 8, !tbaa !99
  %730 = load ptr, ptr %11, align 8, !tbaa !5
  %731 = getelementptr inbounds %struct._PARTITION_INFORMATION_TYPE, ptr %730, i32 0, i32 28
  %732 = load ptr, ptr %731, align 8, !tbaa !89
  %733 = load i32, ptr %19, align 4, !tbaa !17
  %734 = zext i32 %733 to i64
  %735 = getelementptr inbounds %struct._BUFFER_INFORMATION_TYPE, ptr %732, i64 %734
  %736 = getelementptr inbounds %struct._BUFFER_INFORMATION_TYPE, ptr %735, i32 0, i32 9
  call void @PRIORITYQUEUE_STARTUP(ptr noundef %736, i8 noundef zeroext 1, i8 noundef zeroext 0)
  br label %745

737:                                              ; preds = %661
  %738 = load ptr, ptr %11, align 8, !tbaa !5
  %739 = getelementptr inbounds %struct._PARTITION_INFORMATION_TYPE, ptr %738, i32 0, i32 28
  %740 = load ptr, ptr %739, align 8, !tbaa !89
  %741 = load i32, ptr %19, align 4, !tbaa !17
  %742 = zext i32 %741 to i64
  %743 = getelementptr inbounds %struct._BUFFER_INFORMATION_TYPE, ptr %740, i64 %742
  %744 = getelementptr inbounds %struct._BUFFER_INFORMATION_TYPE, ptr %743, i32 0, i32 9
  call void @PRIORITYQUEUE_CLEAR(ptr noundef %744, i8 noundef zeroext 1, i8 noundef zeroext 0)
  br label %745

745:                                              ; preds = %737, %715
  br label %746

746:                                              ; preds = %745
  %747 = load i32, ptr %19, align 4, !tbaa !17
  %748 = add i32 %747, 1
  store i32 %748, ptr %19, align 4, !tbaa !17
  br label %655, !llvm.loop !100

749:                                              ; preds = %655
  %750 = load ptr, ptr %7, align 8, !tbaa !5
  %751 = getelementptr inbounds %struct._MODULE_INFORMATION_TYPE, ptr %750, i32 0, i32 1
  %752 = load ptr, ptr %11, align 8, !tbaa !5
  %753 = getelementptr inbounds %struct._PARTITION_INFORMATION_TYPE, ptr %752, i32 0, i32 30
  %754 = load ptr, ptr %12, align 8, !tbaa !5
  %755 = getelementptr inbounds %struct._PARTITION_CONFIGURATION_TYPE, ptr %754, i32 0, i32 7
  %756 = load i32, ptr %755, align 4, !tbaa !101
  %757 = zext i32 %756 to i64
  %758 = mul i64 56, %757
  %759 = trunc i64 %758 to i32
  call void @HEAP_ALLOCATE(ptr noundef %751, ptr noundef %753, i32 noundef %759, i8 noundef zeroext 0)
  %760 = load ptr, ptr %11, align 8, !tbaa !5
  %761 = getelementptr inbounds %struct._PARTITION_INFORMATION_TYPE, ptr %760, i32 0, i32 30
  %762 = load ptr, ptr %761, align 8, !tbaa !102
  %763 = icmp eq ptr %762, null
  br i1 %763, label %764, label %771

764:                                              ; preds = %749
  %765 = load ptr, ptr %12, align 8, !tbaa !5
  %766 = getelementptr inbounds %struct._PARTITION_CONFIGURATION_TYPE, ptr %765, i32 0, i32 7
  %767 = load i32, ptr %766, align 4, !tbaa !101
  %768 = icmp ugt i32 %767, 0
  br i1 %768, label %769, label %771

769:                                              ; preds = %764
  %770 = load ptr, ptr %6, align 8, !tbaa !5
  store i32 5, ptr %770, align 4, !tbaa !17
  call void @EXIT_CORE()
  store i32 1, ptr %23, align 4
  br label %1282

771:                                              ; preds = %764, %749
  store i32 0, ptr %20, align 4, !tbaa !17
  br label %772

772:                                              ; preds = %835, %771
  %773 = load i32, ptr %20, align 4, !tbaa !17
  %774 = load ptr, ptr %12, align 8, !tbaa !5
  %775 = getelementptr inbounds %struct._PARTITION_CONFIGURATION_TYPE, ptr %774, i32 0, i32 7
  %776 = load i32, ptr %775, align 4, !tbaa !101
  %777 = icmp ult i32 %773, %776
  br i1 %777, label %778, label %838

778:                                              ; preds = %772
  %779 = load ptr, ptr %11, align 8, !tbaa !5
  %780 = getelementptr inbounds %struct._PARTITION_INFORMATION_TYPE, ptr %779, i32 0, i32 30
  %781 = load ptr, ptr %780, align 8, !tbaa !102
  %782 = load i32, ptr %20, align 4, !tbaa !17
  %783 = zext i32 %782 to i64
  %784 = getelementptr inbounds %struct._BLACKBOARD_INFORMATION_TYPE, ptr %781, i64 %783
  %785 = getelementptr inbounds %struct._BLACKBOARD_INFORMATION_TYPE, ptr %784, i32 0, i32 0
  store i32 0, ptr %785, align 8, !tbaa !103
  %786 = load ptr, ptr %11, align 8, !tbaa !5
  %787 = getelementptr inbounds %struct._PARTITION_INFORMATION_TYPE, ptr %786, i32 0, i32 30
  %788 = load ptr, ptr %787, align 8, !tbaa !102
  %789 = load i32, ptr %20, align 4, !tbaa !17
  %790 = zext i32 %789 to i64
  %791 = getelementptr inbounds %struct._BLACKBOARD_INFORMATION_TYPE, ptr %788, i64 %790
  %792 = getelementptr inbounds %struct._BLACKBOARD_INFORMATION_TYPE, ptr %791, i32 0, i32 1
  store ptr null, ptr %792, align 8, !tbaa !105
  %793 = load ptr, ptr %11, align 8, !tbaa !5
  %794 = getelementptr inbounds %struct._PARTITION_INFORMATION_TYPE, ptr %793, i32 0, i32 30
  %795 = load ptr, ptr %794, align 8, !tbaa !102
  %796 = load i32, ptr %20, align 4, !tbaa !17
  %797 = zext i32 %796 to i64
  %798 = getelementptr inbounds %struct._BLACKBOARD_INFORMATION_TYPE, ptr %795, i64 %797
  %799 = getelementptr inbounds %struct._BLACKBOARD_INFORMATION_TYPE, ptr %798, i32 0, i32 2
  store i32 1, ptr %799, align 8, !tbaa !106
  %800 = load ptr, ptr %11, align 8, !tbaa !5
  %801 = getelementptr inbounds %struct._PARTITION_INFORMATION_TYPE, ptr %800, i32 0, i32 30
  %802 = load ptr, ptr %801, align 8, !tbaa !102
  %803 = load i32, ptr %20, align 4, !tbaa !17
  %804 = zext i32 %803 to i64
  %805 = getelementptr inbounds %struct._BLACKBOARD_INFORMATION_TYPE, ptr %802, i64 %804
  %806 = getelementptr inbounds %struct._BLACKBOARD_INFORMATION_TYPE, ptr %805, i32 0, i32 3
  store i32 0, ptr %806, align 4, !tbaa !107
  %807 = load ptr, ptr %11, align 8, !tbaa !5
  %808 = getelementptr inbounds %struct._PARTITION_INFORMATION_TYPE, ptr %807, i32 0, i32 30
  %809 = load ptr, ptr %808, align 8, !tbaa !102
  %810 = load i32, ptr %20, align 4, !tbaa !17
  %811 = zext i32 %810 to i64
  %812 = getelementptr inbounds %struct._BLACKBOARD_INFORMATION_TYPE, ptr %809, i64 %811
  %813 = getelementptr inbounds %struct._BLACKBOARD_INFORMATION_TYPE, ptr %812, i32 0, i32 5
  store i32 0, ptr %813, align 8, !tbaa !108
  %814 = load ptr, ptr %11, align 8, !tbaa !5
  %815 = getelementptr inbounds %struct._PARTITION_INFORMATION_TYPE, ptr %814, i32 0, i32 0
  %816 = load i8, ptr %815, align 8, !tbaa !46
  %817 = icmp ne i8 %816, 0
  br i1 %817, label %826, label %818

818:                                              ; preds = %778
  %819 = load ptr, ptr %11, align 8, !tbaa !5
  %820 = getelementptr inbounds %struct._PARTITION_INFORMATION_TYPE, ptr %819, i32 0, i32 30
  %821 = load ptr, ptr %820, align 8, !tbaa !102
  %822 = load i32, ptr %20, align 4, !tbaa !17
  %823 = zext i32 %822 to i64
  %824 = getelementptr inbounds %struct._BLACKBOARD_INFORMATION_TYPE, ptr %821, i64 %823
  %825 = getelementptr inbounds %struct._BLACKBOARD_INFORMATION_TYPE, ptr %824, i32 0, i32 6
  call void @PRIORITYQUEUE_STARTUP(ptr noundef %825, i8 noundef zeroext 1, i8 noundef zeroext 0)
  br label %834

826:                                              ; preds = %778
  %827 = load ptr, ptr %11, align 8, !tbaa !5
  %828 = getelementptr inbounds %struct._PARTITION_INFORMATION_TYPE, ptr %827, i32 0, i32 30
  %829 = load ptr, ptr %828, align 8, !tbaa !102
  %830 = load i32, ptr %20, align 4, !tbaa !17
  %831 = zext i32 %830 to i64
  %832 = getelementptr inbounds %struct._BLACKBOARD_INFORMATION_TYPE, ptr %829, i64 %831
  %833 = getelementptr inbounds %struct._BLACKBOARD_INFORMATION_TYPE, ptr %832, i32 0, i32 6
  call void @PRIORITYQUEUE_CLEAR(ptr noundef %833, i8 noundef zeroext 1, i8 noundef zeroext 0)
  br label %834

834:                                              ; preds = %826, %818
  br label %835

835:                                              ; preds = %834
  %836 = load i32, ptr %20, align 4, !tbaa !17
  %837 = add i32 %836, 1
  store i32 %837, ptr %20, align 4, !tbaa !17
  br label %772, !llvm.loop !109

838:                                              ; preds = %772
  %839 = load ptr, ptr %7, align 8, !tbaa !5
  %840 = getelementptr inbounds %struct._MODULE_INFORMATION_TYPE, ptr %839, i32 0, i32 1
  %841 = load ptr, ptr %11, align 8, !tbaa !5
  %842 = getelementptr inbounds %struct._PARTITION_INFORMATION_TYPE, ptr %841, i32 0, i32 32
  %843 = load ptr, ptr %12, align 8, !tbaa !5
  %844 = getelementptr inbounds %struct._PARTITION_CONFIGURATION_TYPE, ptr %843, i32 0, i32 8
  %845 = load i32, ptr %844, align 8, !tbaa !110
  %846 = zext i32 %845 to i64
  %847 = mul i64 48, %846
  %848 = trunc i64 %847 to i32
  call void @HEAP_ALLOCATE(ptr noundef %840, ptr noundef %842, i32 noundef %848, i8 noundef zeroext 0)
  %849 = load ptr, ptr %11, align 8, !tbaa !5
  %850 = getelementptr inbounds %struct._PARTITION_INFORMATION_TYPE, ptr %849, i32 0, i32 32
  %851 = load ptr, ptr %850, align 8, !tbaa !111
  %852 = icmp eq ptr %851, null
  br i1 %852, label %853, label %860

853:                                              ; preds = %838
  %854 = load ptr, ptr %12, align 8, !tbaa !5
  %855 = getelementptr inbounds %struct._PARTITION_CONFIGURATION_TYPE, ptr %854, i32 0, i32 8
  %856 = load i32, ptr %855, align 8, !tbaa !110
  %857 = icmp ugt i32 %856, 0
  br i1 %857, label %858, label %860

858:                                              ; preds = %853
  %859 = load ptr, ptr %6, align 8, !tbaa !5
  store i32 5, ptr %859, align 4, !tbaa !17
  call void @EXIT_CORE()
  store i32 1, ptr %23, align 4
  br label %1282

860:                                              ; preds = %853, %838
  store i32 0, ptr %21, align 4, !tbaa !17
  br label %861

861:                                              ; preds = %924, %860
  %862 = load i32, ptr %21, align 4, !tbaa !17
  %863 = load ptr, ptr %12, align 8, !tbaa !5
  %864 = getelementptr inbounds %struct._PARTITION_CONFIGURATION_TYPE, ptr %863, i32 0, i32 8
  %865 = load i32, ptr %864, align 8, !tbaa !110
  %866 = icmp ult i32 %862, %865
  br i1 %866, label %867, label %927

867:                                              ; preds = %861
  %868 = load ptr, ptr %11, align 8, !tbaa !5
  %869 = getelementptr inbounds %struct._PARTITION_INFORMATION_TYPE, ptr %868, i32 0, i32 32
  %870 = load ptr, ptr %869, align 8, !tbaa !111
  %871 = load i32, ptr %21, align 4, !tbaa !17
  %872 = zext i32 %871 to i64
  %873 = getelementptr inbounds %struct._SEMAPHORE_INFORMATION_TYPE, ptr %870, i64 %872
  %874 = getelementptr inbounds %struct._SEMAPHORE_INFORMATION_TYPE, ptr %873, i32 0, i32 0
  store i32 0, ptr %874, align 8, !tbaa !112
  %875 = load ptr, ptr %11, align 8, !tbaa !5
  %876 = getelementptr inbounds %struct._PARTITION_INFORMATION_TYPE, ptr %875, i32 0, i32 32
  %877 = load ptr, ptr %876, align 8, !tbaa !111
  %878 = load i32, ptr %21, align 4, !tbaa !17
  %879 = zext i32 %878 to i64
  %880 = getelementptr inbounds %struct._SEMAPHORE_INFORMATION_TYPE, ptr %877, i64 %879
  %881 = getelementptr inbounds %struct._SEMAPHORE_INFORMATION_TYPE, ptr %880, i32 0, i32 1
  store ptr null, ptr %881, align 8, !tbaa !114
  %882 = load ptr, ptr %11, align 8, !tbaa !5
  %883 = getelementptr inbounds %struct._PARTITION_INFORMATION_TYPE, ptr %882, i32 0, i32 32
  %884 = load ptr, ptr %883, align 8, !tbaa !111
  %885 = load i32, ptr %21, align 4, !tbaa !17
  %886 = zext i32 %885 to i64
  %887 = getelementptr inbounds %struct._SEMAPHORE_INFORMATION_TYPE, ptr %884, i64 %886
  %888 = getelementptr inbounds %struct._SEMAPHORE_INFORMATION_TYPE, ptr %887, i32 0, i32 2
  store i32 0, ptr %888, align 8, !tbaa !115
  %889 = load ptr, ptr %11, align 8, !tbaa !5
  %890 = getelementptr inbounds %struct._PARTITION_INFORMATION_TYPE, ptr %889, i32 0, i32 32
  %891 = load ptr, ptr %890, align 8, !tbaa !111
  %892 = load i32, ptr %21, align 4, !tbaa !17
  %893 = zext i32 %892 to i64
  %894 = getelementptr inbounds %struct._SEMAPHORE_INFORMATION_TYPE, ptr %891, i64 %893
  %895 = getelementptr inbounds %struct._SEMAPHORE_INFORMATION_TYPE, ptr %894, i32 0, i32 3
  store i32 0, ptr %895, align 4, !tbaa !116
  %896 = load ptr, ptr %11, align 8, !tbaa !5
  %897 = getelementptr inbounds %struct._PARTITION_INFORMATION_TYPE, ptr %896, i32 0, i32 32
  %898 = load ptr, ptr %897, align 8, !tbaa !111
  %899 = load i32, ptr %21, align 4, !tbaa !17
  %900 = zext i32 %899 to i64
  %901 = getelementptr inbounds %struct._SEMAPHORE_INFORMATION_TYPE, ptr %898, i64 %900
  %902 = getelementptr inbounds %struct._SEMAPHORE_INFORMATION_TYPE, ptr %901, i32 0, i32 4
  store i32 1, ptr %902, align 8, !tbaa !117
  %903 = load ptr, ptr %11, align 8, !tbaa !5
  %904 = getelementptr inbounds %struct._PARTITION_INFORMATION_TYPE, ptr %903, i32 0, i32 0
  %905 = load i8, ptr %904, align 8, !tbaa !46
  %906 = icmp ne i8 %905, 0
  br i1 %906, label %915, label %907

907:                                              ; preds = %867
  %908 = load ptr, ptr %11, align 8, !tbaa !5
  %909 = getelementptr inbounds %struct._PARTITION_INFORMATION_TYPE, ptr %908, i32 0, i32 32
  %910 = load ptr, ptr %909, align 8, !tbaa !111
  %911 = load i32, ptr %21, align 4, !tbaa !17
  %912 = zext i32 %911 to i64
  %913 = getelementptr inbounds %struct._SEMAPHORE_INFORMATION_TYPE, ptr %910, i64 %912
  %914 = getelementptr inbounds %struct._SEMAPHORE_INFORMATION_TYPE, ptr %913, i32 0, i32 5
  call void @PRIORITYQUEUE_STARTUP(ptr noundef %914, i8 noundef zeroext 1, i8 noundef zeroext 0)
  br label %923

915:                                              ; preds = %867
  %916 = load ptr, ptr %11, align 8, !tbaa !5
  %917 = getelementptr inbounds %struct._PARTITION_INFORMATION_TYPE, ptr %916, i32 0, i32 32
  %918 = load ptr, ptr %917, align 8, !tbaa !111
  %919 = load i32, ptr %21, align 4, !tbaa !17
  %920 = zext i32 %919 to i64
  %921 = getelementptr inbounds %struct._SEMAPHORE_INFORMATION_TYPE, ptr %918, i64 %920
  %922 = getelementptr inbounds %struct._SEMAPHORE_INFORMATION_TYPE, ptr %921, i32 0, i32 5
  call void @PRIORITYQUEUE_CLEAR(ptr noundef %922, i8 noundef zeroext 1, i8 noundef zeroext 0)
  br label %923

923:                                              ; preds = %915, %907
  br label %924

924:                                              ; preds = %923
  %925 = load i32, ptr %21, align 4, !tbaa !17
  %926 = add i32 %925, 1
  store i32 %926, ptr %21, align 4, !tbaa !17
  br label %861, !llvm.loop !118

927:                                              ; preds = %861
  %928 = load ptr, ptr %7, align 8, !tbaa !5
  %929 = getelementptr inbounds %struct._MODULE_INFORMATION_TYPE, ptr %928, i32 0, i32 1
  %930 = load ptr, ptr %11, align 8, !tbaa !5
  %931 = getelementptr inbounds %struct._PARTITION_INFORMATION_TYPE, ptr %930, i32 0, i32 34
  %932 = load ptr, ptr %12, align 8, !tbaa !5
  %933 = getelementptr inbounds %struct._PARTITION_CONFIGURATION_TYPE, ptr %932, i32 0, i32 9
  %934 = load i32, ptr %933, align 4, !tbaa !119
  %935 = zext i32 %934 to i64
  %936 = mul i64 40, %935
  %937 = trunc i64 %936 to i32
  call void @HEAP_ALLOCATE(ptr noundef %929, ptr noundef %931, i32 noundef %937, i8 noundef zeroext 0)
  %938 = load ptr, ptr %11, align 8, !tbaa !5
  %939 = getelementptr inbounds %struct._PARTITION_INFORMATION_TYPE, ptr %938, i32 0, i32 34
  %940 = load ptr, ptr %939, align 8, !tbaa !120
  %941 = icmp eq ptr %940, null
  br i1 %941, label %942, label %949

942:                                              ; preds = %927
  %943 = load ptr, ptr %12, align 8, !tbaa !5
  %944 = getelementptr inbounds %struct._PARTITION_CONFIGURATION_TYPE, ptr %943, i32 0, i32 9
  %945 = load i32, ptr %944, align 4, !tbaa !119
  %946 = icmp ugt i32 %945, 0
  br i1 %946, label %947, label %949

947:                                              ; preds = %942
  %948 = load ptr, ptr %6, align 8, !tbaa !5
  store i32 5, ptr %948, align 4, !tbaa !17
  call void @EXIT_CORE()
  store i32 1, ptr %23, align 4
  br label %1282

949:                                              ; preds = %942, %927
  store i32 0, ptr %22, align 4, !tbaa !17
  br label %950

950:                                              ; preds = %999, %949
  %951 = load i32, ptr %22, align 4, !tbaa !17
  %952 = load ptr, ptr %12, align 8, !tbaa !5
  %953 = getelementptr inbounds %struct._PARTITION_CONFIGURATION_TYPE, ptr %952, i32 0, i32 9
  %954 = load i32, ptr %953, align 4, !tbaa !119
  %955 = icmp ult i32 %951, %954
  br i1 %955, label %956, label %1002

956:                                              ; preds = %950
  %957 = load ptr, ptr %11, align 8, !tbaa !5
  %958 = getelementptr inbounds %struct._PARTITION_INFORMATION_TYPE, ptr %957, i32 0, i32 34
  %959 = load ptr, ptr %958, align 8, !tbaa !120
  %960 = load i32, ptr %22, align 4, !tbaa !17
  %961 = zext i32 %960 to i64
  %962 = getelementptr inbounds %struct._EVENT_INFORMATION_TYPE, ptr %959, i64 %961
  %963 = getelementptr inbounds %struct._EVENT_INFORMATION_TYPE, ptr %962, i32 0, i32 0
  store i32 0, ptr %963, align 8, !tbaa !121
  %964 = load ptr, ptr %11, align 8, !tbaa !5
  %965 = getelementptr inbounds %struct._PARTITION_INFORMATION_TYPE, ptr %964, i32 0, i32 34
  %966 = load ptr, ptr %965, align 8, !tbaa !120
  %967 = load i32, ptr %22, align 4, !tbaa !17
  %968 = zext i32 %967 to i64
  %969 = getelementptr inbounds %struct._EVENT_INFORMATION_TYPE, ptr %966, i64 %968
  %970 = getelementptr inbounds %struct._EVENT_INFORMATION_TYPE, ptr %969, i32 0, i32 1
  store ptr null, ptr %970, align 8, !tbaa !123
  %971 = load ptr, ptr %11, align 8, !tbaa !5
  %972 = getelementptr inbounds %struct._PARTITION_INFORMATION_TYPE, ptr %971, i32 0, i32 34
  %973 = load ptr, ptr %972, align 8, !tbaa !120
  %974 = load i32, ptr %22, align 4, !tbaa !17
  %975 = zext i32 %974 to i64
  %976 = getelementptr inbounds %struct._EVENT_INFORMATION_TYPE, ptr %973, i64 %975
  %977 = getelementptr inbounds %struct._EVENT_INFORMATION_TYPE, ptr %976, i32 0, i32 2
  store i32 1, ptr %977, align 8, !tbaa !124
  %978 = load ptr, ptr %11, align 8, !tbaa !5
  %979 = getelementptr inbounds %struct._PARTITION_INFORMATION_TYPE, ptr %978, i32 0, i32 0
  %980 = load i8, ptr %979, align 8, !tbaa !46
  %981 = icmp ne i8 %980, 0
  br i1 %981, label %990, label %982

982:                                              ; preds = %956
  %983 = load ptr, ptr %11, align 8, !tbaa !5
  %984 = getelementptr inbounds %struct._PARTITION_INFORMATION_TYPE, ptr %983, i32 0, i32 34
  %985 = load ptr, ptr %984, align 8, !tbaa !120
  %986 = load i32, ptr %22, align 4, !tbaa !17
  %987 = zext i32 %986 to i64
  %988 = getelementptr inbounds %struct._EVENT_INFORMATION_TYPE, ptr %985, i64 %987
  %989 = getelementptr inbounds %struct._EVENT_INFORMATION_TYPE, ptr %988, i32 0, i32 3
  call void @PRIORITYQUEUE_STARTUP(ptr noundef %989, i8 noundef zeroext 1, i8 noundef zeroext 0)
  br label %998

990:                                              ; preds = %956
  %991 = load ptr, ptr %11, align 8, !tbaa !5
  %992 = getelementptr inbounds %struct._PARTITION_INFORMATION_TYPE, ptr %991, i32 0, i32 34
  %993 = load ptr, ptr %992, align 8, !tbaa !120
  %994 = load i32, ptr %22, align 4, !tbaa !17
  %995 = zext i32 %994 to i64
  %996 = getelementptr inbounds %struct._EVENT_INFORMATION_TYPE, ptr %993, i64 %995
  %997 = getelementptr inbounds %struct._EVENT_INFORMATION_TYPE, ptr %996, i32 0, i32 3
  call void @PRIORITYQUEUE_CLEAR(ptr noundef %997, i8 noundef zeroext 1, i8 noundef zeroext 0)
  br label %998

998:                                              ; preds = %990, %982
  br label %999

999:                                              ; preds = %998
  %1000 = load i32, ptr %22, align 4, !tbaa !17
  %1001 = add i32 %1000, 1
  store i32 %1001, ptr %22, align 4, !tbaa !17
  br label %950, !llvm.loop !125

1002:                                             ; preds = %950
  %1003 = load ptr, ptr %12, align 8, !tbaa !5
  %1004 = getelementptr inbounds %struct._PARTITION_CONFIGURATION_TYPE, ptr %1003, i32 0, i32 25
  %1005 = load ptr, ptr %1004, align 8, !tbaa !126
  store ptr %1005, ptr %14, align 8, !tbaa !5
  %1006 = load ptr, ptr %14, align 8, !tbaa !5
  %1007 = icmp ne ptr %1006, null
  br i1 %1007, label %1008, label %1116

1008:                                             ; preds = %1002
  %1009 = load ptr, ptr %14, align 8, !tbaa !5
  %1010 = getelementptr inbounds %struct._PARTITION_CONFIGURATION_HEALTHMONITORING_TYPE, ptr %1009, i32 0, i32 0
  %1011 = load ptr, ptr %1010, align 8, !tbaa !127
  %1012 = icmp ne ptr %1011, null
  br i1 %1012, label %1013, label %1115

1013:                                             ; preds = %1008
  %1014 = load ptr, ptr %12, align 8, !tbaa !5
  %1015 = getelementptr inbounds %struct._PARTITION_CONFIGURATION_TYPE, ptr %1014, i32 0, i32 22
  %1016 = load ptr, ptr %1015, align 8, !tbaa !129
  %1017 = icmp eq ptr %1016, null
  br i1 %1017, label %1023, label %1018

1018:                                             ; preds = %1013
  %1019 = load ptr, ptr %12, align 8, !tbaa !5
  %1020 = getelementptr inbounds %struct._PARTITION_CONFIGURATION_TYPE, ptr %1019, i32 0, i32 23
  %1021 = load i32, ptr %1020, align 8, !tbaa !130
  %1022 = icmp eq i32 %1021, 0
  br i1 %1022, label %1023, label %1025

1023:                                             ; preds = %1018, %1013
  %1024 = load ptr, ptr %6, align 8, !tbaa !5
  store i32 5, ptr %1024, align 4, !tbaa !17
  call void @EXIT_CORE()
  store i32 1, ptr %23, align 4
  br label %1282

1025:                                             ; preds = %1018
  %1026 = load ptr, ptr %11, align 8, !tbaa !5
  %1027 = getelementptr inbounds %struct._PARTITION_INFORMATION_TYPE, ptr %1026, i32 0, i32 14
  %1028 = getelementptr inbounds %struct._HEALTHMONITORINGCALLBACK_INFORMATION_TYPE, ptr %1027, i32 0, i32 0
  store i8 1, ptr %1028, align 8, !tbaa !131
  %1029 = load ptr, ptr %14, align 8, !tbaa !5
  %1030 = getelementptr inbounds %struct._PARTITION_CONFIGURATION_HEALTHMONITORING_TYPE, ptr %1029, i32 0, i32 0
  %1031 = load ptr, ptr %1030, align 8, !tbaa !127
  %1032 = load ptr, ptr %11, align 8, !tbaa !5
  %1033 = getelementptr inbounds %struct._PARTITION_INFORMATION_TYPE, ptr %1032, i32 0, i32 14
  %1034 = getelementptr inbounds %struct._HEALTHMONITORINGCALLBACK_INFORMATION_TYPE, ptr %1033, i32 0, i32 1
  store ptr %1031, ptr %1034, align 8, !tbaa !132
  %1035 = load ptr, ptr %14, align 8, !tbaa !5
  %1036 = getelementptr inbounds %struct._PARTITION_CONFIGURATION_HEALTHMONITORING_TYPE, ptr %1035, i32 0, i32 1
  %1037 = load i32, ptr %1036, align 8, !tbaa !133
  %1038 = load ptr, ptr %11, align 8, !tbaa !5
  %1039 = getelementptr inbounds %struct._PARTITION_INFORMATION_TYPE, ptr %1038, i32 0, i32 14
  %1040 = getelementptr inbounds %struct._HEALTHMONITORINGCALLBACK_INFORMATION_TYPE, ptr %1039, i32 0, i32 2
  store i32 %1037, ptr %1040, align 8, !tbaa !134
  %1041 = load ptr, ptr %11, align 8, !tbaa !5
  %1042 = getelementptr inbounds %struct._PARTITION_INFORMATION_TYPE, ptr %1041, i32 0, i32 14
  %1043 = getelementptr inbounds %struct._HEALTHMONITORINGCALLBACK_INFORMATION_TYPE, ptr %1042, i32 0, i32 3
  %1044 = getelementptr inbounds %struct._CONTEXT_TYPE, ptr %1043, i32 0, i32 0
  %1045 = load i32, ptr %1044, align 8, !tbaa !135
  %1046 = icmp eq i32 %1045, 0
  br i1 %1046, label %1047, label %1056

1047:                                             ; preds = %1025
  %1048 = load ptr, ptr %7, align 8, !tbaa !5
  %1049 = getelementptr inbounds %struct._MODULE_INFORMATION_TYPE, ptr %1048, i32 0, i32 2
  %1050 = load i32, ptr %1049, align 8, !tbaa !136
  %1051 = add i32 %1050, 1
  store i32 %1051, ptr %1049, align 8, !tbaa !136
  %1052 = load ptr, ptr %11, align 8, !tbaa !5
  %1053 = getelementptr inbounds %struct._PARTITION_INFORMATION_TYPE, ptr %1052, i32 0, i32 14
  %1054 = getelementptr inbounds %struct._HEALTHMONITORINGCALLBACK_INFORMATION_TYPE, ptr %1053, i32 0, i32 3
  %1055 = getelementptr inbounds %struct._CONTEXT_TYPE, ptr %1054, i32 0, i32 0
  store i32 %1050, ptr %1055, align 8, !tbaa !135
  br label %1056

1056:                                             ; preds = %1047, %1025
  %1057 = load ptr, ptr %12, align 8, !tbaa !5
  %1058 = getelementptr inbounds %struct._PARTITION_CONFIGURATION_TYPE, ptr %1057, i32 0, i32 22
  %1059 = load ptr, ptr %1058, align 8, !tbaa !129
  %1060 = load ptr, ptr %11, align 8, !tbaa !5
  %1061 = getelementptr inbounds %struct._PARTITION_INFORMATION_TYPE, ptr %1060, i32 0, i32 14
  %1062 = getelementptr inbounds %struct._HEALTHMONITORINGCALLBACK_INFORMATION_TYPE, ptr %1061, i32 0, i32 3
  %1063 = getelementptr inbounds %struct._CONTEXT_TYPE, ptr %1062, i32 0, i32 1
  store ptr %1059, ptr %1063, align 8, !tbaa !137
  %1064 = load ptr, ptr %11, align 8, !tbaa !5
  %1065 = getelementptr inbounds %struct._PARTITION_INFORMATION_TYPE, ptr %1064, i32 0, i32 14
  %1066 = getelementptr inbounds %struct._HEALTHMONITORINGCALLBACK_INFORMATION_TYPE, ptr %1065, i32 0, i32 3
  %1067 = getelementptr inbounds %struct._CONTEXT_TYPE, ptr %1066, i32 0, i32 1
  %1068 = load ptr, ptr %1067, align 8, !tbaa !137
  %1069 = ptrtoint ptr %1068 to i32
  %1070 = load ptr, ptr %12, align 8, !tbaa !5
  %1071 = getelementptr inbounds %struct._PARTITION_CONFIGURATION_TYPE, ptr %1070, i32 0, i32 23
  %1072 = load i32, ptr %1071, align 8, !tbaa !130
  %1073 = add i32 %1069, %1072
  %1074 = zext i32 %1073 to i64
  %1075 = inttoptr i64 %1074 to ptr
  %1076 = load ptr, ptr %11, align 8, !tbaa !5
  %1077 = getelementptr inbounds %struct._PARTITION_INFORMATION_TYPE, ptr %1076, i32 0, i32 14
  %1078 = getelementptr inbounds %struct._HEALTHMONITORINGCALLBACK_INFORMATION_TYPE, ptr %1077, i32 0, i32 3
  %1079 = getelementptr inbounds %struct._CONTEXT_TYPE, ptr %1078, i32 0, i32 2
  store ptr %1075, ptr %1079, align 8, !tbaa !138
  %1080 = load ptr, ptr %11, align 8, !tbaa !5
  %1081 = getelementptr inbounds %struct._PARTITION_INFORMATION_TYPE, ptr %1080, i32 0, i32 14
  %1082 = getelementptr inbounds %struct._HEALTHMONITORINGCALLBACK_INFORMATION_TYPE, ptr %1081, i32 0, i32 3
  %1083 = getelementptr inbounds %struct._CONTEXT_TYPE, ptr %1082, i32 0, i32 4
  store i32 0, ptr %1083, align 8, !tbaa !139
  %1084 = load ptr, ptr %14, align 8, !tbaa !5
  %1085 = getelementptr inbounds %struct._PARTITION_CONFIGURATION_HEALTHMONITORING_TYPE, ptr %1084, i32 0, i32 0
  %1086 = load ptr, ptr %1085, align 8, !tbaa !127
  %1087 = load ptr, ptr %11, align 8, !tbaa !5
  %1088 = getelementptr inbounds %struct._PARTITION_INFORMATION_TYPE, ptr %1087, i32 0, i32 14
  %1089 = getelementptr inbounds %struct._HEALTHMONITORINGCALLBACK_INFORMATION_TYPE, ptr %1088, i32 0, i32 3
  %1090 = getelementptr inbounds %struct._CONTEXT_TYPE, ptr %1089, i32 0, i32 6
  store ptr %1086, ptr %1090, align 8, !tbaa !140
  %1091 = load ptr, ptr %11, align 8, !tbaa !5
  %1092 = getelementptr inbounds %struct._PARTITION_INFORMATION_TYPE, ptr %1091, i32 0, i32 14
  %1093 = getelementptr inbounds %struct._HEALTHMONITORINGCALLBACK_INFORMATION_TYPE, ptr %1092, i32 0, i32 3
  %1094 = getelementptr inbounds %struct._CONTEXT_TYPE, ptr %1093, i32 0, i32 7
  store ptr @RETURNPOINT_PARTITION_HEALTHMONITORINGCALLBACK, ptr %1094, align 8, !tbaa !141
  %1095 = load ptr, ptr %11, align 8, !tbaa !5
  %1096 = getelementptr inbounds %struct._PARTITION_INFORMATION_TYPE, ptr %1095, i32 0, i32 14
  %1097 = getelementptr inbounds %struct._HEALTHMONITORINGCALLBACK_INFORMATION_TYPE, ptr %1096, i32 0, i32 3
  %1098 = getelementptr inbounds %struct._CONTEXT_TYPE, ptr %1097, i32 0, i32 8
  store i32 0, ptr %1098, align 8, !tbaa !142
  %1099 = load ptr, ptr %11, align 8, !tbaa !5
  %1100 = getelementptr inbounds %struct._PARTITION_INFORMATION_TYPE, ptr %1099, i32 0, i32 14
  %1101 = getelementptr inbounds %struct._HEALTHMONITORINGCALLBACK_INFORMATION_TYPE, ptr %1100, i32 0, i32 3
  %1102 = getelementptr inbounds %struct._CONTEXT_TYPE, ptr %1101, i32 0, i32 9
  store i32 0, ptr %1102, align 4, !tbaa !143
  %1103 = load ptr, ptr %11, align 8, !tbaa !5
  %1104 = getelementptr inbounds %struct._PARTITION_INFORMATION_TYPE, ptr %1103, i32 0, i32 14
  %1105 = getelementptr inbounds %struct._HEALTHMONITORINGCALLBACK_INFORMATION_TYPE, ptr %1104, i32 0, i32 3
  %1106 = getelementptr inbounds %struct._CONTEXT_TYPE, ptr %1105, i32 0, i32 0
  %1107 = load i32, ptr %1106, align 8, !tbaa !135
  %1108 = load ptr, ptr %7, align 8, !tbaa !5
  %1109 = getelementptr inbounds %struct._MODULE_INFORMATION_TYPE, ptr %1108, i32 0, i32 3
  %1110 = load i32, ptr %1109, align 4, !tbaa !144
  %1111 = icmp ugt i32 %1107, %1110
  br i1 %1111, label %1112, label %1114

1112:                                             ; preds = %1056
  %1113 = load ptr, ptr %6, align 8, !tbaa !5
  store i32 5, ptr %1113, align 4, !tbaa !17
  call void @EXIT_CORE()
  store i32 1, ptr %23, align 4
  br label %1282

1114:                                             ; preds = %1056
  br label %1115

1115:                                             ; preds = %1114, %1008
  br label %1116

1116:                                             ; preds = %1115, %1002
  %1117 = load ptr, ptr %12, align 8, !tbaa !5
  %1118 = getelementptr inbounds %struct._PARTITION_CONFIGURATION_TYPE, ptr %1117, i32 0, i32 18
  %1119 = load ptr, ptr %1118, align 8, !tbaa !145
  %1120 = icmp eq ptr %1119, null
  br i1 %1120, label %1126, label %1121

1121:                                             ; preds = %1116
  %1122 = load ptr, ptr %12, align 8, !tbaa !5
  %1123 = getelementptr inbounds %struct._PARTITION_CONFIGURATION_TYPE, ptr %1122, i32 0, i32 19
  %1124 = load i32, ptr %1123, align 8, !tbaa !146
  %1125 = icmp eq i32 %1124, 0
  br i1 %1125, label %1126, label %1128

1126:                                             ; preds = %1121, %1116
  %1127 = load ptr, ptr %6, align 8, !tbaa !5
  store i32 5, ptr %1127, align 4, !tbaa !17
  call void @EXIT_CORE()
  store i32 1, ptr %23, align 4
  br label %1282

1128:                                             ; preds = %1121
  %1129 = load ptr, ptr %11, align 8, !tbaa !5
  %1130 = getelementptr inbounds %struct._PARTITION_INFORMATION_TYPE, ptr %1129, i32 0, i32 0
  %1131 = load i8, ptr %1130, align 8, !tbaa !46
  %1132 = icmp ne i8 %1131, 0
  br i1 %1132, label %1161, label %1133

1133:                                             ; preds = %1128
  %1134 = load ptr, ptr %12, align 8, !tbaa !5
  %1135 = getelementptr inbounds %struct._PARTITION_CONFIGURATION_TYPE, ptr %1134, i32 0, i32 12
  %1136 = load ptr, ptr %1135, align 8, !tbaa !147
  store ptr %1136, ptr %15, align 8, !tbaa !5
  %1137 = load ptr, ptr %12, align 8, !tbaa !5
  %1138 = getelementptr inbounds %struct._PARTITION_CONFIGURATION_TYPE, ptr %1137, i32 0, i32 14
  %1139 = load ptr, ptr %1138, align 8, !tbaa !148
  store ptr %1139, ptr %16, align 8, !tbaa !5
  br label %1140

1140:                                             ; preds = %1152, %1133
  %1141 = load ptr, ptr %15, align 8, !tbaa !5
  %1142 = ptrtoint ptr %1141 to i32
  %1143 = load ptr, ptr %12, align 8, !tbaa !5
  %1144 = getelementptr inbounds %struct._PARTITION_CONFIGURATION_TYPE, ptr %1143, i32 0, i32 12
  %1145 = load ptr, ptr %1144, align 8, !tbaa !147
  %1146 = ptrtoint ptr %1145 to i32
  %1147 = load ptr, ptr %12, align 8, !tbaa !5
  %1148 = getelementptr inbounds %struct._PARTITION_CONFIGURATION_TYPE, ptr %1147, i32 0, i32 13
  %1149 = load i32, ptr %1148, align 8, !tbaa !44
  %1150 = add i32 %1146, %1149
  %1151 = icmp ult i32 %1142, %1150
  br i1 %1151, label %1152, label %1160

1152:                                             ; preds = %1140
  %1153 = load ptr, ptr %15, align 8, !tbaa !5
  %1154 = load i32, ptr %1153, align 4, !tbaa !17
  %1155 = load ptr, ptr %16, align 8, !tbaa !5
  store i32 %1154, ptr %1155, align 4, !tbaa !17
  %1156 = load ptr, ptr %15, align 8, !tbaa !5
  %1157 = getelementptr inbounds i32, ptr %1156, i32 1
  store ptr %1157, ptr %15, align 8, !tbaa !5
  %1158 = load ptr, ptr %16, align 8, !tbaa !5
  %1159 = getelementptr inbounds i32, ptr %1158, i32 1
  store ptr %1159, ptr %16, align 8, !tbaa !5
  br label %1140, !llvm.loop !149

1160:                                             ; preds = %1140
  br label %1189

1161:                                             ; preds = %1128
  %1162 = load ptr, ptr %12, align 8, !tbaa !5
  %1163 = getelementptr inbounds %struct._PARTITION_CONFIGURATION_TYPE, ptr %1162, i32 0, i32 14
  %1164 = load ptr, ptr %1163, align 8, !tbaa !148
  store ptr %1164, ptr %15, align 8, !tbaa !5
  %1165 = load ptr, ptr %12, align 8, !tbaa !5
  %1166 = getelementptr inbounds %struct._PARTITION_CONFIGURATION_TYPE, ptr %1165, i32 0, i32 12
  %1167 = load ptr, ptr %1166, align 8, !tbaa !147
  store ptr %1167, ptr %16, align 8, !tbaa !5
  br label %1168

1168:                                             ; preds = %1180, %1161
  %1169 = load ptr, ptr %16, align 8, !tbaa !5
  %1170 = ptrtoint ptr %1169 to i32
  %1171 = load ptr, ptr %12, align 8, !tbaa !5
  %1172 = getelementptr inbounds %struct._PARTITION_CONFIGURATION_TYPE, ptr %1171, i32 0, i32 12
  %1173 = load ptr, ptr %1172, align 8, !tbaa !147
  %1174 = ptrtoint ptr %1173 to i32
  %1175 = load ptr, ptr %12, align 8, !tbaa !5
  %1176 = getelementptr inbounds %struct._PARTITION_CONFIGURATION_TYPE, ptr %1175, i32 0, i32 13
  %1177 = load i32, ptr %1176, align 8, !tbaa !44
  %1178 = add i32 %1174, %1177
  %1179 = icmp ult i32 %1170, %1178
  br i1 %1179, label %1180, label %1188

1180:                                             ; preds = %1168
  %1181 = load ptr, ptr %15, align 8, !tbaa !5
  %1182 = load i32, ptr %1181, align 4, !tbaa !17
  %1183 = load ptr, ptr %16, align 8, !tbaa !5
  store i32 %1182, ptr %1183, align 4, !tbaa !17
  %1184 = load ptr, ptr %15, align 8, !tbaa !5
  %1185 = getelementptr inbounds i32, ptr %1184, i32 1
  store ptr %1185, ptr %15, align 8, !tbaa !5
  %1186 = load ptr, ptr %16, align 8, !tbaa !5
  %1187 = getelementptr inbounds i32, ptr %1186, i32 1
  store ptr %1187, ptr %16, align 8, !tbaa !5
  br label %1168, !llvm.loop !150

1188:                                             ; preds = %1168
  br label %1189

1189:                                             ; preds = %1188, %1160
  %1190 = load ptr, ptr %4, align 8, !tbaa !5
  %1191 = load ptr, ptr %11, align 8, !tbaa !5
  %1192 = getelementptr inbounds %struct._PARTITION_INFORMATION_TYPE, ptr %1191, i32 0, i32 1
  store ptr %1190, ptr %1192, align 8, !tbaa !151
  %1193 = load ptr, ptr %7, align 8, !tbaa !5
  %1194 = getelementptr inbounds %struct._MODULE_INFORMATION_TYPE, ptr %1193, i32 0, i32 6
  %1195 = load i32, ptr %1194, align 8, !tbaa !18
  %1196 = load ptr, ptr %11, align 8, !tbaa !5
  %1197 = getelementptr inbounds %struct._PARTITION_INFORMATION_TYPE, ptr %1196, i32 0, i32 3
  store i32 %1195, ptr %1197, align 8, !tbaa !152
  %1198 = load ptr, ptr %11, align 8, !tbaa !5
  %1199 = getelementptr inbounds %struct._PARTITION_INFORMATION_TYPE, ptr %1198, i32 0, i32 5
  store i32 1, ptr %1199, align 8, !tbaa !153
  %1200 = load ptr, ptr %11, align 8, !tbaa !5
  %1201 = getelementptr inbounds %struct._PARTITION_INFORMATION_TYPE, ptr %1200, i32 0, i32 9
  %1202 = getelementptr inbounds %struct._CONTEXT_TYPE, ptr %1201, i32 0, i32 0
  %1203 = load i32, ptr %1202, align 8, !tbaa !154
  %1204 = icmp eq i32 %1203, 0
  br i1 %1204, label %1205, label %1213

1205:                                             ; preds = %1189
  %1206 = load ptr, ptr %7, align 8, !tbaa !5
  %1207 = getelementptr inbounds %struct._MODULE_INFORMATION_TYPE, ptr %1206, i32 0, i32 2
  %1208 = load i32, ptr %1207, align 8, !tbaa !136
  %1209 = add i32 %1208, 1
  store i32 %1209, ptr %1207, align 8, !tbaa !136
  %1210 = load ptr, ptr %11, align 8, !tbaa !5
  %1211 = getelementptr inbounds %struct._PARTITION_INFORMATION_TYPE, ptr %1210, i32 0, i32 9
  %1212 = getelementptr inbounds %struct._CONTEXT_TYPE, ptr %1211, i32 0, i32 0
  store i32 %1208, ptr %1212, align 8, !tbaa !154
  br label %1213

1213:                                             ; preds = %1205, %1189
  %1214 = load ptr, ptr %12, align 8, !tbaa !5
  %1215 = getelementptr inbounds %struct._PARTITION_CONFIGURATION_TYPE, ptr %1214, i32 0, i32 18
  %1216 = load ptr, ptr %1215, align 8, !tbaa !145
  %1217 = load ptr, ptr %11, align 8, !tbaa !5
  %1218 = getelementptr inbounds %struct._PARTITION_INFORMATION_TYPE, ptr %1217, i32 0, i32 9
  %1219 = getelementptr inbounds %struct._CONTEXT_TYPE, ptr %1218, i32 0, i32 1
  store ptr %1216, ptr %1219, align 8, !tbaa !155
  %1220 = load ptr, ptr %11, align 8, !tbaa !5
  %1221 = getelementptr inbounds %struct._PARTITION_INFORMATION_TYPE, ptr %1220, i32 0, i32 9
  %1222 = getelementptr inbounds %struct._CONTEXT_TYPE, ptr %1221, i32 0, i32 1
  %1223 = load ptr, ptr %1222, align 8, !tbaa !155
  %1224 = ptrtoint ptr %1223 to i32
  %1225 = load ptr, ptr %12, align 8, !tbaa !5
  %1226 = getelementptr inbounds %struct._PARTITION_CONFIGURATION_TYPE, ptr %1225, i32 0, i32 19
  %1227 = load i32, ptr %1226, align 8, !tbaa !146
  %1228 = add i32 %1224, %1227
  %1229 = zext i32 %1228 to i64
  %1230 = inttoptr i64 %1229 to ptr
  %1231 = load ptr, ptr %11, align 8, !tbaa !5
  %1232 = getelementptr inbounds %struct._PARTITION_INFORMATION_TYPE, ptr %1231, i32 0, i32 9
  %1233 = getelementptr inbounds %struct._CONTEXT_TYPE, ptr %1232, i32 0, i32 2
  store ptr %1230, ptr %1233, align 8, !tbaa !156
  %1234 = load ptr, ptr %11, align 8, !tbaa !5
  %1235 = getelementptr inbounds %struct._PARTITION_INFORMATION_TYPE, ptr %1234, i32 0, i32 9
  %1236 = getelementptr inbounds %struct._CONTEXT_TYPE, ptr %1235, i32 0, i32 4
  store i32 0, ptr %1236, align 8, !tbaa !157
  %1237 = load ptr, ptr %4, align 8, !tbaa !5
  %1238 = getelementptr inbounds %struct._PARTITION_ATTRIBUTE_TYPE, ptr %1237, i32 0, i32 3
  %1239 = load i8, ptr %1238, align 4, !tbaa !158
  %1240 = load ptr, ptr %11, align 8, !tbaa !5
  %1241 = getelementptr inbounds %struct._PARTITION_INFORMATION_TYPE, ptr %1240, i32 0, i32 9
  %1242 = getelementptr inbounds %struct._CONTEXT_TYPE, ptr %1241, i32 0, i32 5
  store i8 %1239, ptr %1242, align 4, !tbaa !159
  %1243 = load ptr, ptr %4, align 8, !tbaa !5
  %1244 = getelementptr inbounds %struct._PARTITION_ATTRIBUTE_TYPE, ptr %1243, i32 0, i32 1
  %1245 = load ptr, ptr %1244, align 8, !tbaa !160
  %1246 = load ptr, ptr %11, align 8, !tbaa !5
  %1247 = getelementptr inbounds %struct._PARTITION_INFORMATION_TYPE, ptr %1246, i32 0, i32 9
  %1248 = getelementptr inbounds %struct._CONTEXT_TYPE, ptr %1247, i32 0, i32 6
  store ptr %1245, ptr %1248, align 8, !tbaa !161
  %1249 = load ptr, ptr %11, align 8, !tbaa !5
  %1250 = getelementptr inbounds %struct._PARTITION_INFORMATION_TYPE, ptr %1249, i32 0, i32 9
  %1251 = getelementptr inbounds %struct._CONTEXT_TYPE, ptr %1250, i32 0, i32 7
  store ptr @RETURNPOINT_PARTITIONDEFAULTPROCESS, ptr %1251, align 8, !tbaa !162
  %1252 = load ptr, ptr %11, align 8, !tbaa !5
  %1253 = getelementptr inbounds %struct._PARTITION_INFORMATION_TYPE, ptr %1252, i32 0, i32 9
  %1254 = getelementptr inbounds %struct._CONTEXT_TYPE, ptr %1253, i32 0, i32 8
  store i32 0, ptr %1254, align 8, !tbaa !163
  %1255 = load ptr, ptr %11, align 8, !tbaa !5
  %1256 = getelementptr inbounds %struct._PARTITION_INFORMATION_TYPE, ptr %1255, i32 0, i32 9
  %1257 = getelementptr inbounds %struct._CONTEXT_TYPE, ptr %1256, i32 0, i32 9
  store i32 0, ptr %1257, align 4, !tbaa !164
  %1258 = load ptr, ptr %11, align 8, !tbaa !5
  %1259 = getelementptr inbounds %struct._PARTITION_INFORMATION_TYPE, ptr %1258, i32 0, i32 9
  %1260 = getelementptr inbounds %struct._CONTEXT_TYPE, ptr %1259, i32 0, i32 0
  %1261 = load i32, ptr %1260, align 8, !tbaa !154
  %1262 = load ptr, ptr %7, align 8, !tbaa !5
  %1263 = getelementptr inbounds %struct._MODULE_INFORMATION_TYPE, ptr %1262, i32 0, i32 3
  %1264 = load i32, ptr %1263, align 4, !tbaa !144
  %1265 = icmp ugt i32 %1261, %1264
  br i1 %1265, label %1266, label %1268

1266:                                             ; preds = %1213
  %1267 = load ptr, ptr %6, align 8, !tbaa !5
  store i32 5, ptr %1267, align 4, !tbaa !17
  call void @EXIT_CORE()
  store i32 1, ptr %23, align 4
  br label %1282

1268:                                             ; preds = %1213
  %1269 = load ptr, ptr %7, align 8, !tbaa !5
  %1270 = getelementptr inbounds %struct._MODULE_INFORMATION_TYPE, ptr %1269, i32 0, i32 6
  %1271 = load i32, ptr %1270, align 8, !tbaa !18
  %1272 = add i32 %1271, 1
  store i32 %1272, ptr %1270, align 8, !tbaa !18
  %1273 = load ptr, ptr %11, align 8, !tbaa !5
  %1274 = call zeroext i8 @PORT_HOOK_AFTER_CREATE_PARTITION(ptr noundef %1273)
  %1275 = icmp ne i8 %1274, 0
  br i1 %1275, label %1278, label %1276

1276:                                             ; preds = %1268
  %1277 = load ptr, ptr %6, align 8, !tbaa !5
  store i32 5, ptr %1277, align 4, !tbaa !17
  call void @EXIT_CORE()
  store i32 1, ptr %23, align 4
  br label %1282

1278:                                             ; preds = %1268
  %1279 = load i32, ptr %8, align 4, !tbaa !17
  %1280 = load ptr, ptr %5, align 8, !tbaa !5
  store i32 %1279, ptr %1280, align 4, !tbaa !17
  %1281 = load ptr, ptr %6, align 8, !tbaa !5
  store i32 1, ptr %1281, align 4, !tbaa !17
  call void @EXIT_CORE()
  store i32 0, ptr %23, align 4
  br label %1282

1282:                                             ; preds = %1278, %1276, %1266, %1126, %1112, %1023, %947, %858, %769, %652, %521, %418, %396, %361, %318, %290, %264, %251, %245, %228, %188, %173, %158, %126, %117, %107, %93, %83, %69, %54, %44, %31
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #3
  %1283 = load i32, ptr %23, align 4
  switch i32 %1283, label %1285 [
    i32 0, label %1284
    i32 1, label %1284
  ]

1284:                                             ; preds = %1282, %1282
  ret void

1285:                                             ; preds = %1282
  unreachable
}

declare ptr @CONFIGURATION_GETPARTITIONCONFIGURATION(ptr noundef) #1

declare zeroext i8 @PORT_HOOK_BEFORE_CREATE_PARTITION(ptr noundef) #1

declare void @HEAP_ALLOCATE(ptr noundef, ptr noundef, i32 noundef, i8 noundef zeroext) #1

declare void @PORT_INITIALIZECONTEXT(ptr noundef) #1

declare void @HEAP_STARTUP(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1

declare void @INITIALIZE_PROCESS_INFORMATION(i32 noundef, i32 noundef) #1

declare void @PRIORITYQUEUE_STARTUP(ptr noundef, i8 noundef zeroext, i8 noundef zeroext) #1

declare void @PRIORITYQUEUE_CLEAR(ptr noundef, i8 noundef zeroext, i8 noundef zeroext) #1

declare void @RETURNPOINT_PARTITION_HEALTHMONITORINGCALLBACK() #1

declare void @RETURNPOINT_PARTITIONDEFAULTPROCESS() #1

declare zeroext i8 @PORT_HOOK_AFTER_CREATE_PARTITION(ptr noundef) #1

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { 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 #3 = { 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/C++ TBAA"}
!9 = !{!10, !12, i64 40}
!10 = !{!"_MODULE_INFORMATION_TYPE", !6, i64 0, !11, i64 8, !12, i64 32, !12, i64 36, !12, i64 40, !13, i64 48, !12, i64 120, !6, i64 128, !6, i64 136, !14, i64 144, !15, i64 256, !15, i64 264, !15, i64 272, !16, i64 280}
!11 = !{!"_heapRECORD", !6, i64 0, !12, i64 8, !12, i64 12, !12, i64 16}
!12 = !{!"int", !7, i64 0}
!13 = !{!"_CONTEXT_TYPE", !12, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !12, i64 32, !7, i64 36, !6, i64 40, !6, i64 48, !12, i64 56, !12, i64 60, !12, i64 64, !12, i64 68}
!14 = !{!"_HEALTHMONITORINGCALLBACK_INFORMATION_TYPE", !7, i64 0, !6, i64 8, !12, i64 16, !13, i64 24, !7, i64 96, !7, i64 97, !7, i64 98, !7, i64 99, !12, i64 100, !12, i64 104}
!15 = !{!"long long", !7, i64 0}
!16 = !{!"_priorityqueueRECORD", !6, i64 0, !12, i64 8, !7, i64 12, !7, i64 13}
!17 = !{!12, !12, i64 0}
!18 = !{!10, !12, i64 120}
!19 = !{!10, !6, i64 0}
!20 = !{!21, !12, i64 0}
!21 = !{!"_MODULE_CONFIGURATION_TYPE", !12, i64 0, !6, i64 8, !12, i64 16, !6, i64 24, !12, i64 32, !6, i64 40, !12, i64 48, !6, i64 56, !12, i64 64, !6, i64 72, !12, i64 80, !15, i64 88, !6, i64 96, !6, i64 104, !12, i64 112, !6, i64 120, !6, i64 128}
!22 = !{!23, !6, i64 0}
!23 = !{!"_PARTITION_ATTRIBUTE_TYPE", !6, i64 0, !6, i64 8, !12, i64 16, !7, i64 20}
!24 = !{!10, !6, i64 128}
!25 = !{!26, !6, i64 160}
!26 = !{!"_PARTITION_CONFIGURATION_TYPE", !12, i64 0, !6, i64 8, !12, i64 16, !12, i64 20, !12, i64 24, !12, i64 28, !12, i64 32, !12, i64 36, !12, i64 40, !12, i64 44, !6, i64 48, !12, i64 56, !6, i64 64, !12, i64 72, !6, i64 80, !12, i64 88, !6, i64 96, !12, i64 104, !6, i64 112, !12, i64 120, !6, i64 128, !12, i64 136, !6, i64 144, !12, i64 152, !6, i64 160, !6, i64 168, !12, i64 176, !6, i64 184, !6, i64 192}
!27 = !{!28, !15, i64 0}
!28 = !{!"_PARTITION_CONFIGURATION_SCHEDULE_TYPE", !15, i64 0, !15, i64 8, !12, i64 16, !6, i64 24}
!29 = !{!21, !15, i64 88}
!30 = !{!28, !15, i64 8}
!31 = !{!28, !12, i64 16}
!32 = !{!28, !6, i64 24}
!33 = !{!34, !15, i64 0}
!34 = !{!"_PARTITION_CONFIGURATION_SCHEDULE_WINDOW_TYPE", !15, i64 0, !15, i64 8, !7, i64 16}
!35 = !{!15, !15, i64 0}
!36 = !{!34, !15, i64 8}
!37 = distinct !{!37, !38}
!38 = !{!"llvm.loop.mustprogress"}
!39 = !{!40, !6, i64 16}
!40 = !{!"_PARTITION_INFORMATION_TYPE", !7, i64 0, !6, i64 8, !6, i64 16, !12, i64 24, !12, i64 28, !12, i64 32, !12, i64 36, !7, i64 40, !11, i64 48, !13, i64 72, !12, i64 144, !6, i64 152, !6, i64 160, !41, i64 168, !14, i64 272, !12, i64 384, !42, i64 392, !16, i64 432, !16, i64 448, !16, i64 464, !12, i64 480, !12, i64 484, !6, i64 488, !12, i64 496, !6, i64 504, !12, i64 512, !6, i64 520, !12, i64 528, !6, i64 536, !12, i64 544, !6, i64 552, !12, i64 560, !6, i64 568, !12, i64 576, !6, i64 584}
!41 = !{!"_ERRORHANDLER_INFORMATION_TYPE", !7, i64 0, !6, i64 8, !12, i64 16, !13, i64 24, !7, i64 96, !7, i64 97, !7, i64 98, !7, i64 99, !12, i64 100}
!42 = !{!"_priorityqueueENTRY", !15, i64 0, !15, i64 8, !6, i64 16, !6, i64 24, !6, i64 32}
!43 = !{!26, !12, i64 88}
!44 = !{!26, !12, i64 72}
!45 = !{!40, !6, i64 96}
!46 = !{!40, !7, i64 0}
!47 = !{!40, !12, i64 136}
!48 = !{!40, !6, i64 216}
!49 = !{!40, !12, i64 256}
!50 = !{!40, !6, i64 320}
!51 = !{!40, !12, i64 360}
!52 = !{!26, !6, i64 96}
!53 = !{!26, !12, i64 104}
!54 = !{!26, !12, i64 16}
!55 = !{!40, !6, i64 152}
!56 = distinct !{!56, !38}
!57 = !{!26, !12, i64 20}
!58 = !{!40, !6, i64 488}
!59 = !{!26, !12, i64 24}
!60 = !{!40, !6, i64 504}
!61 = !{!62, !12, i64 0}
!62 = !{!"_SAMPLINGPORT_INFORMATION_TYPE", !12, i64 0, !6, i64 8, !12, i64 16, !12, i64 20, !15, i64 24, !15, i64 32, !15, i64 40, !12, i64 48, !12, i64 52, !6, i64 56, !12, i64 64}
!63 = !{!62, !6, i64 8}
!64 = !{!62, !12, i64 16}
!65 = !{!62, !12, i64 20}
!66 = !{!62, !15, i64 24}
!67 = !{!62, !15, i64 32}
!68 = !{!62, !15, i64 40}
!69 = !{!62, !12, i64 48}
!70 = !{!62, !12, i64 52}
!71 = !{!62, !12, i64 64}
!72 = distinct !{!72, !38}
!73 = !{!26, !12, i64 28}
!74 = !{!40, !6, i64 520}
!75 = !{!76, !12, i64 0}
!76 = !{!"_QUEUINGPORT_INFORMATION_TYPE", !12, i64 0, !6, i64 8, !12, i64 16, !12, i64 20, !12, i64 24, !12, i64 28, !12, i64 32, !12, i64 36, !7, i64 40, !6, i64 48, !6, i64 56, !16, i64 64}
!77 = !{!76, !6, i64 8}
!78 = !{!76, !12, i64 16}
!79 = !{!76, !12, i64 20}
!80 = !{!76, !12, i64 24}
!81 = !{!76, !12, i64 28}
!82 = !{!76, !12, i64 32}
!83 = !{!76, !12, i64 36}
!84 = !{!76, !7, i64 40}
!85 = !{!76, !6, i64 48}
!86 = !{!76, !6, i64 56}
!87 = distinct !{!87, !38}
!88 = !{!26, !12, i64 32}
!89 = !{!40, !6, i64 536}
!90 = !{!91, !12, i64 0}
!91 = !{!"_BUFFER_INFORMATION_TYPE", !12, i64 0, !6, i64 8, !12, i64 16, !12, i64 20, !12, i64 24, !12, i64 28, !12, i64 32, !6, i64 40, !6, i64 48, !16, i64 56}
!92 = !{!91, !6, i64 8}
!93 = !{!91, !12, i64 16}
!94 = !{!91, !12, i64 20}
!95 = !{!91, !12, i64 24}
!96 = !{!91, !12, i64 28}
!97 = !{!91, !12, i64 32}
!98 = !{!91, !6, i64 40}
!99 = !{!91, !6, i64 48}
!100 = distinct !{!100, !38}
!101 = !{!26, !12, i64 36}
!102 = !{!40, !6, i64 552}
!103 = !{!104, !12, i64 0}
!104 = !{!"_BLACKBOARD_INFORMATION_TYPE", !12, i64 0, !6, i64 8, !12, i64 16, !12, i64 20, !6, i64 24, !12, i64 32, !16, i64 40}
!105 = !{!104, !6, i64 8}
!106 = !{!104, !12, i64 16}
!107 = !{!104, !12, i64 20}
!108 = !{!104, !12, i64 32}
!109 = distinct !{!109, !38}
!110 = !{!26, !12, i64 40}
!111 = !{!40, !6, i64 568}
!112 = !{!113, !12, i64 0}
!113 = !{!"_SEMAPHORE_INFORMATION_TYPE", !12, i64 0, !6, i64 8, !12, i64 16, !12, i64 20, !12, i64 24, !16, i64 32}
!114 = !{!113, !6, i64 8}
!115 = !{!113, !12, i64 16}
!116 = !{!113, !12, i64 20}
!117 = !{!113, !12, i64 24}
!118 = distinct !{!118, !38}
!119 = !{!26, !12, i64 44}
!120 = !{!40, !6, i64 584}
!121 = !{!122, !12, i64 0}
!122 = !{!"_EVENT_INFORMATION_TYPE", !12, i64 0, !6, i64 8, !12, i64 16, !16, i64 24}
!123 = !{!122, !6, i64 8}
!124 = !{!122, !12, i64 16}
!125 = distinct !{!125, !38}
!126 = !{!26, !6, i64 168}
!127 = !{!128, !6, i64 0}
!128 = !{!"_PARTITION_CONFIGURATION_HEALTHMONITORING_TYPE", !6, i64 0, !12, i64 8, !12, i64 12, !6, i64 16}
!129 = !{!26, !6, i64 144}
!130 = !{!26, !12, i64 152}
!131 = !{!40, !7, i64 272}
!132 = !{!40, !6, i64 280}
!133 = !{!128, !12, i64 8}
!134 = !{!40, !12, i64 288}
!135 = !{!40, !12, i64 296}
!136 = !{!10, !12, i64 32}
!137 = !{!40, !6, i64 304}
!138 = !{!40, !6, i64 312}
!139 = !{!40, !12, i64 328}
!140 = !{!40, !6, i64 336}
!141 = !{!40, !6, i64 344}
!142 = !{!40, !12, i64 352}
!143 = !{!40, !12, i64 356}
!144 = !{!10, !12, i64 36}
!145 = !{!26, !6, i64 112}
!146 = !{!26, !12, i64 120}
!147 = !{!26, !6, i64 64}
!148 = !{!26, !6, i64 80}
!149 = distinct !{!149, !38}
!150 = distinct !{!150, !38}
!151 = !{!40, !6, i64 8}
!152 = !{!40, !12, i64 24}
!153 = !{!40, !12, i64 32}
!154 = !{!40, !12, i64 72}
!155 = !{!40, !6, i64 80}
!156 = !{!40, !6, i64 88}
!157 = !{!40, !12, i64 104}
!158 = !{!23, !7, i64 20}
!159 = !{!40, !7, i64 108}
!160 = !{!23, !6, i64 8}
!161 = !{!40, !6, i64 112}
!162 = !{!40, !6, i64 120}
!163 = !{!40, !12, i64 128}
!164 = !{!40, !12, i64 132}


; 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"

%struct._MODULE_INFORMATION_TYPE = type { ptr, %struct._heapRECORD, i32, i32, i32, %struct._CONTEXT_TYPE, i32, ptr, ptr, %struct._HEALTHMONITORINGCALLBACK_INFORMATION_TYPE, i64, i64, i64, %struct._priorityqueueRECORD }
%struct._heapRECORD = type { ptr, i32, i32, i32 }
%struct._CONTEXT_TYPE = type { i32, ptr, ptr, ptr, i32, i8, ptr, ptr, i32, i32, i32, i32 }
%struct._HEALTHMONITORINGCALLBACK_INFORMATION_TYPE = type { i8, ptr, i32, %struct._CONTEXT_TYPE, i8, i8, i8, i8, i32, i32 }
%struct._priorityqueueRECORD = type { ptr, i32, i8, i8 }
%struct._PARTITION_INFORMATION_TYPE = type { i8, ptr, ptr, i32, i32, i32, i32, i8, %struct._heapRECORD, %struct._CONTEXT_TYPE, i32, ptr, ptr, %struct._ERRORHANDLER_INFORMATION_TYPE, %struct._HEALTHMONITORINGCALLBACK_INFORMATION_TYPE, i32, %struct._priorityqueueENTRY, %struct._priorityqueueRECORD, %struct._priorityqueueRECORD, %struct._priorityqueueRECORD, i32, i32, ptr, i32, ptr, i32, ptr, i32, ptr, i32, ptr, i32, ptr, i32, ptr }
%struct._ERRORHANDLER_INFORMATION_TYPE = type { i8, ptr, i32, %struct._CONTEXT_TYPE, i8, i8, i8, i8, i32 }
%struct._priorityqueueENTRY = type { i64, i64, ptr, ptr, ptr }
%struct._PARTITION_CONFIGURATION_SCHEDULE_WINDOW_TYPE = type { i64, i64, i8 }
%struct._SAMPLINGPORT_INFORMATION_TYPE = type { i32, ptr, i32, i32, i64, i64, i64, i32, i32, ptr, i32 }
%struct._QUEUINGPORT_INFORMATION_TYPE = type { i32, ptr, i32, i32, i32, i32, i32, i32, i8, ptr, ptr, %struct._priorityqueueRECORD }
%struct._BUFFER_INFORMATION_TYPE = type { i32, ptr, i32, i32, i32, i32, i32, ptr, ptr, %struct._priorityqueueRECORD }
%struct._BLACKBOARD_INFORMATION_TYPE = type { i32, ptr, i32, i32, ptr, i32, %struct._priorityqueueRECORD }
%struct._SEMAPHORE_INFORMATION_TYPE = type { i32, ptr, i32, i32, i32, %struct._priorityqueueRECORD }
%struct._EVENT_INFORMATION_TYPE = type { i32, ptr, i32, %struct._priorityqueueRECORD }

@CORE_MODULE_INFORMATION = external global [2 x %struct._MODULE_INFORMATION_TYPE], align 16

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

declare void @ENTER_CORE() local_unnamed_addr #1

declare i32 @PORT_GETCORE() local_unnamed_addr #1

declare void @EXIT_CORE() local_unnamed_addr #1

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

; Function Attrs: nounwind uwtable
declare dso_local void @GET_PARTITION_ID(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2

; Function Attrs: nounwind uwtable
define dso_local void @CREATE_PARTITION(ptr noundef %0, ptr nocapture noundef writeonly %1, ptr noundef %2) local_unnamed_addr #2 {
  %4 = alloca i32, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #4
  tail call void @ENTER_CORE() #4
  %5 = tail call i32 @PORT_GETCORE() #4
  %6 = zext i32 %5 to i64
  %7 = getelementptr inbounds [2 x %struct._MODULE_INFORMATION_TYPE], ptr @CORE_MODULE_INFORMATION, i64 0, i64 %6
  %8 = getelementptr inbounds i8, ptr %7, i64 40
  %9 = load i32, ptr %8, align 8, !tbaa !5
  %10 = icmp eq i32 %9, 4
  br i1 %10, label %11, label %12

11:                                               ; preds = %3
  store i32 6, ptr %2, align 4, !tbaa !16
  tail call void @EXIT_CORE() #4
  br label %405

12:                                               ; preds = %3
  %13 = getelementptr inbounds i8, ptr %7, i64 120
  %14 = load i32, ptr %13, align 8, !tbaa !17
  store i32 %14, ptr %4, align 4, !tbaa !16
  %15 = load ptr, ptr %7, align 8, !tbaa !18
  %16 = load i32, ptr %15, align 8, !tbaa !19
  %.not = icmp ult i32 %14, %16
  br i1 %.not, label %18, label %17

17:                                               ; preds = %12
  store i32 5, ptr %2, align 4, !tbaa !16
  tail call void @EXIT_CORE() #4
  br label %405

18:                                               ; preds = %12
  %19 = load ptr, ptr %0, align 8, !tbaa !21
  call void @GET_PARTITION_ID(ptr noundef %19, ptr noundef nonnull %4, ptr noundef %2)
  %20 = load i32, ptr %2, align 4, !tbaa !16
  %21 = icmp eq i32 %20, 1
  br i1 %21, label %22, label %23

22:                                               ; preds = %18
  store i32 2, ptr %2, align 4, !tbaa !16
  call void @EXIT_CORE() #4
  br label %405

23:                                               ; preds = %18
  %24 = getelementptr inbounds i8, ptr %7, i64 128
  %25 = load ptr, ptr %24, align 8, !tbaa !23
  %26 = load i32, ptr %4, align 4, !tbaa !16
  %27 = zext i32 %26 to i64
  %28 = getelementptr inbounds %struct._PARTITION_INFORMATION_TYPE, ptr %25, i64 %27
  %29 = load ptr, ptr %0, align 8, !tbaa !21
  %30 = call ptr @CONFIGURATION_GETPARTITIONCONFIGURATION(ptr noundef %29) #4
  %31 = icmp eq ptr %30, null
  br i1 %31, label %32, label %33

32:                                               ; preds = %23
  store i32 5, ptr %2, align 4, !tbaa !16
  call void @EXIT_CORE() #4
  br label %405

33:                                               ; preds = %23
  %34 = getelementptr inbounds i8, ptr %30, i64 160
  %35 = load ptr, ptr %34, align 8, !tbaa !24
  %36 = load i64, ptr %35, align 8, !tbaa !26
  %37 = load ptr, ptr %7, align 8, !tbaa !18
  %38 = getelementptr inbounds i8, ptr %37, i64 88
  %39 = load i64, ptr %38, align 8, !tbaa !28
  %40 = icmp sgt i64 %36, %39
  br i1 %40, label %41, label %42

41:                                               ; preds = %33
  store i32 5, ptr %2, align 4, !tbaa !16
  call void @EXIT_CORE() #4
  br label %405

42:                                               ; preds = %33
  %43 = srem i64 %36, 1000000
  %.not354 = icmp eq i64 %43, 0
  br i1 %.not354, label %45, label %44

44:                                               ; preds = %42
  store i32 5, ptr %2, align 4, !tbaa !16
  call void @EXIT_CORE() #4
  br label %405

45:                                               ; preds = %42
  %46 = getelementptr inbounds i8, ptr %35, i64 8
  %47 = load i64, ptr %46, align 8, !tbaa !29
  %48 = icmp sgt i64 %47, %39
  br i1 %48, label %49, label %50

49:                                               ; preds = %45
  store i32 5, ptr %2, align 4, !tbaa !16
  call void @EXIT_CORE() #4
  br label %405

50:                                               ; preds = %45
  %51 = srem i64 %47, 1000000
  %.not355 = icmp eq i64 %51, 0
  br i1 %.not355, label %53, label %52

52:                                               ; preds = %50
  store i32 5, ptr %2, align 4, !tbaa !16
  call void @EXIT_CORE() #4
  br label %405

53:                                               ; preds = %50
  %54 = getelementptr inbounds i8, ptr %35, i64 16
  %55 = load i32, ptr %54, align 8, !tbaa !30
  %56 = icmp eq i32 %55, 0
  br i1 %56, label %57, label %58

57:                                               ; preds = %53
  store i32 5, ptr %2, align 4, !tbaa !16
  call void @EXIT_CORE() #4
  br label %405

58:                                               ; preds = %53
  %59 = getelementptr inbounds i8, ptr %35, i64 24
  %60 = load ptr, ptr %59, align 8, !tbaa !31
  %61 = load i64, ptr %60, align 8, !tbaa !32
  %wide.trip.count = zext i32 %55 to i64
  br label %63

62:                                               ; preds = %76
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %wide.trip.count
  br i1 %exitcond.not, label %80, label %63, !llvm.loop !34

63:                                               ; preds = %58, %62
  %indvars.iv = phi i64 [ 0, %58 ], [ %indvars.iv.next, %62 ]
  %.0347381 = phi i64 [ %61, %58 ], [ %65, %62 ]
  %64 = getelementptr inbounds %struct._PARTITION_CONFIGURATION_SCHEDULE_WINDOW_TYPE, ptr %60, i64 %indvars.iv
  %65 = load i64, ptr %64, align 8, !tbaa !32
  %66 = srem i64 %65, 1000000
  %.not378 = icmp eq i64 %66, 0
  br i1 %.not378, label %68, label %67

67:                                               ; preds = %63
  store i32 5, ptr %2, align 4, !tbaa !16
  call void @EXIT_CORE() #4
  br label %405

68:                                               ; preds = %63
  %69 = getelementptr inbounds i8, ptr %64, i64 8
  %70 = load i64, ptr %69, align 8, !tbaa !36
  %71 = srem i64 %70, 1000000
  %.not379 = icmp eq i64 %71, 0
  br i1 %.not379, label %73, label %72

72:                                               ; preds = %68
  store i32 5, ptr %2, align 4, !tbaa !16
  call void @EXIT_CORE() #4
  br label %405

73:                                               ; preds = %68
  %74 = icmp slt i64 %65, %.0347381
  br i1 %74, label %75, label %76

75:                                               ; preds = %73
  store i32 5, ptr %2, align 4, !tbaa !16
  call void @EXIT_CORE() #4
  br label %405

76:                                               ; preds = %73
  %77 = add nsw i64 %70, %65
  %78 = icmp sgt i64 %77, %39
  br i1 %78, label %79, label %62

79:                                               ; preds = %76
  store i32 5, ptr %2, align 4, !tbaa !16
  call void @EXIT_CORE() #4
  br label %405

80:                                               ; preds = %62
  %81 = getelementptr inbounds i8, ptr %28, i64 16
  store ptr %30, ptr %81, align 8, !tbaa !37
  %82 = getelementptr inbounds i8, ptr %30, i64 88
  %83 = load i32, ptr %82, align 8, !tbaa !41
  %84 = getelementptr inbounds i8, ptr %30, i64 72
  %85 = load i32, ptr %84, align 8, !tbaa !42
  %.not356 = icmp eq i32 %83, %85
  br i1 %.not356, label %87, label %86

86:                                               ; preds = %80
  store i32 5, ptr %2, align 4, !tbaa !16
  call void @EXIT_CORE() #4
  br label %405

87:                                               ; preds = %80
  %88 = call zeroext i8 @PORT_HOOK_BEFORE_CREATE_PARTITION(ptr noundef nonnull %28) #4
  %.not357 = icmp eq i8 %88, 0
  br i1 %.not357, label %89, label %90

89:                                               ; preds = %87
  store i32 5, ptr %2, align 4, !tbaa !16
  call void @EXIT_CORE() #4
  br label %405

90:                                               ; preds = %87
  %91 = getelementptr inbounds i8, ptr %7, i64 8
  %92 = getelementptr inbounds i8, ptr %28, i64 72
  %93 = getelementptr inbounds i8, ptr %28, i64 96
  call void @HEAP_ALLOCATE(ptr noundef nonnull %91, ptr noundef nonnull %93, i32 noundef 352, i8 noundef zeroext 0) #4
  %94 = load ptr, ptr %93, align 8, !tbaa !43
  %95 = icmp eq ptr %94, null
  br i1 %95, label %96, label %97

96:                                               ; preds = %90
  store i32 5, ptr %2, align 4, !tbaa !16
  call void @EXIT_CORE() #4
  br label %405

97:                                               ; preds = %90
  %98 = load i8, ptr %28, align 8, !tbaa !44
  %.not358 = icmp eq i8 %98, 0
  br i1 %.not358, label %99, label %101

99:                                               ; preds = %97
  call void @PORT_INITIALIZECONTEXT(ptr noundef nonnull %92) #4
  %100 = getelementptr inbounds i8, ptr %28, i64 136
  store i32 6, ptr %100, align 8, !tbaa !45
  br label %101

101:                                              ; preds = %99, %97
  %102 = getelementptr inbounds i8, ptr %28, i64 192
  %103 = getelementptr inbounds i8, ptr %28, i64 216
  call void @HEAP_ALLOCATE(ptr noundef nonnull %91, ptr noundef nonnull %103, i32 noundef 352, i8 noundef zeroext 0) #4
  %104 = load ptr, ptr %103, align 8, !tbaa !46
  %105 = icmp eq ptr %104, null
  br i1 %105, label %106, label %107

106:                                              ; preds = %101
  store i32 5, ptr %2, align 4, !tbaa !16
  call void @EXIT_CORE() #4
  br label %405

107:                                              ; preds = %101
  %108 = load i8, ptr %28, align 8, !tbaa !44
  %.not359 = icmp eq i8 %108, 0
  br i1 %.not359, label %109, label %111

109:                                              ; preds = %107
  call void @PORT_INITIALIZECONTEXT(ptr noundef nonnull %102) #4
  %110 = getelementptr inbounds i8, ptr %28, i64 256
  store i32 5, ptr %110, align 8, !tbaa !47
  br label %111

111:                                              ; preds = %109, %107
  %112 = getelementptr inbounds i8, ptr %28, i64 272
  %113 = getelementptr inbounds i8, ptr %28, i64 296
  %114 = getelementptr inbounds i8, ptr %28, i64 320
  call void @HEAP_ALLOCATE(ptr noundef nonnull %91, ptr noundef nonnull %114, i32 noundef 352, i8 noundef zeroext 0) #4
  %115 = load ptr, ptr %114, align 8, !tbaa !48
  %116 = icmp eq ptr %115, null
  br i1 %116, label %117, label %118

117:                                              ; preds = %111
  store i32 5, ptr %2, align 4, !tbaa !16
  call void @EXIT_CORE() #4
  br label %405

118:                                              ; preds = %111
  %119 = load i8, ptr %28, align 8, !tbaa !44
  %.not360 = icmp eq i8 %119, 0
  br i1 %.not360, label %120, label %122

120:                                              ; preds = %118
  call void @PORT_INITIALIZECONTEXT(ptr noundef nonnull %113) #4
  %121 = getelementptr inbounds i8, ptr %28, i64 360
  store i32 4, ptr %121, align 8, !tbaa !49
  br label %122

122:                                              ; preds = %120, %118
  %123 = getelementptr inbounds i8, ptr %28, i64 48
  %124 = getelementptr inbounds i8, ptr %30, i64 96
  %125 = load ptr, ptr %124, align 8, !tbaa !50
  %126 = getelementptr inbounds i8, ptr %30, i64 104
  %127 = load i32, ptr %126, align 8, !tbaa !51
  call void @HEAP_STARTUP(ptr noundef nonnull %123, ptr noundef %125, i32 noundef %127, i32 noundef 4) #4
  %128 = getelementptr inbounds i8, ptr %28, i64 152
  %129 = getelementptr inbounds i8, ptr %30, i64 16
  %130 = load i32, ptr %129, align 8, !tbaa !52
  %131 = mul i32 %130, 344
  call void @HEAP_ALLOCATE(ptr noundef nonnull %91, ptr noundef nonnull %128, i32 noundef %131, i8 noundef zeroext 0) #4
  %132 = load ptr, ptr %128, align 8, !tbaa !53
  %133 = icmp eq ptr %132, null
  %.pre = load i32, ptr %129, align 8, !tbaa !52
  %.not361 = icmp eq i32 %.pre, 0
  br i1 %133, label %134, label %136

134:                                              ; preds = %122
  br i1 %.not361, label %._crit_edge, label %135

135:                                              ; preds = %134
  store i32 5, ptr %2, align 4, !tbaa !16
  call void @EXIT_CORE() #4
  br label %405

136:                                              ; preds = %122
  br i1 %.not361, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %136, %.lr.ph
  %.0346383 = phi i32 [ %138, %.lr.ph ], [ 0, %136 ]
  %137 = load i32, ptr %4, align 4, !tbaa !16
  call void @INITIALIZE_PROCESS_INFORMATION(i32 noundef %137, i32 noundef %.0346383) #4
  %138 = add nuw i32 %.0346383, 1
  %139 = load i32, ptr %129, align 8, !tbaa !52
  %140 = icmp ult i32 %138, %139
  br i1 %140, label %.lr.ph, label %._crit_edge, !llvm.loop !54

._crit_edge:                                      ; preds = %.lr.ph, %134, %136
  %141 = getelementptr inbounds i8, ptr %28, i64 488
  %142 = getelementptr inbounds i8, ptr %30, i64 20
  %143 = load i32, ptr %142, align 4, !tbaa !55
  %144 = mul i32 %143, 88
  call void @HEAP_ALLOCATE(ptr noundef nonnull %91, ptr noundef nonnull %141, i32 noundef %144, i8 noundef zeroext 0) #4
  %145 = load ptr, ptr %141, align 8, !tbaa !56
  %146 = icmp eq ptr %145, null
  br i1 %146, label %147, label %150

147:                                              ; preds = %._crit_edge
  %148 = load i32, ptr %142, align 4, !tbaa !55
  %.not362 = icmp eq i32 %148, 0
  br i1 %.not362, label %150, label %149

149:                                              ; preds = %147
  store i32 5, ptr %2, align 4, !tbaa !16
  call void @EXIT_CORE() #4
  br label %405

150:                                              ; preds = %147, %._crit_edge
  %151 = getelementptr inbounds i8, ptr %28, i64 504
  %152 = getelementptr inbounds i8, ptr %30, i64 24
  %153 = load i32, ptr %152, align 8, !tbaa !57
  %154 = mul i32 %153, 72
  call void @HEAP_ALLOCATE(ptr noundef nonnull %91, ptr noundef nonnull %151, i32 noundef %154, i8 noundef zeroext 0) #4
  %155 = load ptr, ptr %151, align 8, !tbaa !58
  %156 = icmp eq ptr %155, null
  %.pre445 = load i32, ptr %152, align 8, !tbaa !57
  %.not363 = icmp eq i32 %.pre445, 0
  br i1 %156, label %157, label %159

157:                                              ; preds = %150
  br i1 %.not363, label %._crit_edge387, label %158

158:                                              ; preds = %157
  store i32 5, ptr %2, align 4, !tbaa !16
  call void @EXIT_CORE() #4
  br label %405

159:                                              ; preds = %150
  br i1 %.not363, label %._crit_edge387, label %.lr.ph386.preheader

.lr.ph386.preheader:                              ; preds = %159
  %wide.trip.count428 = zext i32 %.pre445 to i64
  br label %.lr.ph386

.lr.ph386:                                        ; preds = %.lr.ph386.preheader, %.lr.ph386
  %indvars.iv425 = phi i64 [ 0, %.lr.ph386.preheader ], [ %indvars.iv.next426, %.lr.ph386 ]
  %160 = getelementptr inbounds %struct._SAMPLINGPORT_INFORMATION_TYPE, ptr %155, i64 %indvars.iv425
  store i32 0, ptr %160, align 8, !tbaa !59
  %161 = getelementptr inbounds %struct._SAMPLINGPORT_INFORMATION_TYPE, ptr %155, i64 %indvars.iv425, i32 1
  store ptr null, ptr %161, align 8, !tbaa !61
  %162 = getelementptr inbounds %struct._SAMPLINGPORT_INFORMATION_TYPE, ptr %155, i64 %indvars.iv425, i32 2
  store i32 0, ptr %162, align 8, !tbaa !62
  %163 = getelementptr inbounds %struct._SAMPLINGPORT_INFORMATION_TYPE, ptr %155, i64 %indvars.iv425, i32 3
  store i32 1, ptr %163, align 4, !tbaa !63
  %164 = getelementptr inbounds %struct._SAMPLINGPORT_INFORMATION_TYPE, ptr %155, i64 %indvars.iv425, i32 4
  %165 = getelementptr inbounds %struct._SAMPLINGPORT_INFORMATION_TYPE, ptr %155, i64 %indvars.iv425, i32 7
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %164, i8 -1, i64 24, i1 false)
  store i32 1, ptr %165, align 8, !tbaa !64
  %166 = getelementptr inbounds %struct._SAMPLINGPORT_INFORMATION_TYPE, ptr %155, i64 %indvars.iv425, i32 8
  store i32 1, ptr %166, align 4, !tbaa !65
  %167 = getelementptr inbounds %struct._SAMPLINGPORT_INFORMATION_TYPE, ptr %155, i64 %indvars.iv425, i32 10
  store i32 0, ptr %167, align 8, !tbaa !66
  %indvars.iv.next426 = add nuw nsw i64 %indvars.iv425, 1
  %exitcond429.not = icmp eq i64 %indvars.iv.next426, %wide.trip.count428
  br i1 %exitcond429.not, label %._crit_edge387, label %.lr.ph386, !llvm.loop !67

._crit_edge387:                                   ; preds = %.lr.ph386, %157, %159
  %168 = getelementptr inbounds i8, ptr %28, i64 520
  %169 = getelementptr inbounds i8, ptr %30, i64 28
  %170 = load i32, ptr %169, align 4, !tbaa !68
  %171 = mul i32 %170, 80
  call void @HEAP_ALLOCATE(ptr noundef nonnull %91, ptr noundef nonnull %168, i32 noundef %171, i8 noundef zeroext 0) #4
  %172 = load ptr, ptr %168, align 8, !tbaa !69
  %173 = icmp eq ptr %172, null
  %.pre446 = load i32, ptr %169, align 4, !tbaa !68
  %.not364 = icmp eq i32 %.pre446, 0
  br i1 %173, label %174, label %176

174:                                              ; preds = %._crit_edge387
  br i1 %.not364, label %._crit_edge391, label %175

175:                                              ; preds = %174
  store i32 5, ptr %2, align 4, !tbaa !16
  call void @EXIT_CORE() #4
  br label %405

176:                                              ; preds = %._crit_edge387
  br i1 %.not364, label %._crit_edge391, label %.lr.ph390

.lr.ph390:                                        ; preds = %176, %189
  %indvars.iv430 = phi i64 [ %indvars.iv.next431, %189 ], [ 0, %176 ]
  %177 = load ptr, ptr %168, align 8, !tbaa !69
  %178 = getelementptr inbounds %struct._QUEUINGPORT_INFORMATION_TYPE, ptr %177, i64 %indvars.iv430
  store i32 0, ptr %178, align 8, !tbaa !70
  %179 = getelementptr inbounds %struct._QUEUINGPORT_INFORMATION_TYPE, ptr %177, i64 %indvars.iv430, i32 1
  %180 = getelementptr inbounds %struct._QUEUINGPORT_INFORMATION_TYPE, ptr %177, i64 %indvars.iv430, i32 4
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %179, i8 0, i64 16, i1 false)
  store i32 1, ptr %180, align 8, !tbaa !72
  %181 = getelementptr inbounds %struct._QUEUINGPORT_INFORMATION_TYPE, ptr %177, i64 %indvars.iv430, i32 5
  store i32 1, ptr %181, align 4, !tbaa !73
  %182 = getelementptr inbounds %struct._QUEUINGPORT_INFORMATION_TYPE, ptr %177, i64 %indvars.iv430, i32 6
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(9) %182, i8 0, i64 9, i1 false)
  %183 = load i8, ptr %28, align 8, !tbaa !44
  %.not377 = icmp eq i8 %183, 0
  br i1 %.not377, label %184, label %187

184:                                              ; preds = %.lr.ph390
  %185 = getelementptr inbounds %struct._QUEUINGPORT_INFORMATION_TYPE, ptr %177, i64 %indvars.iv430, i32 9
  %186 = getelementptr inbounds %struct._QUEUINGPORT_INFORMATION_TYPE, ptr %177, i64 %indvars.iv430, i32 11
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %185, i8 0, i64 16, i1 false)
  call void @PRIORITYQUEUE_STARTUP(ptr noundef nonnull %186, i8 noundef zeroext 1, i8 noundef zeroext 0) #4
  br label %189

187:                                              ; preds = %.lr.ph390
  %188 = getelementptr inbounds %struct._QUEUINGPORT_INFORMATION_TYPE, ptr %177, i64 %indvars.iv430, i32 11
  call void @PRIORITYQUEUE_CLEAR(ptr noundef nonnull %188, i8 noundef zeroext 1, i8 noundef zeroext 0) #4
  br label %189

189:                                              ; preds = %184, %187
  %indvars.iv.next431 = add nuw nsw i64 %indvars.iv430, 1
  %190 = load i32, ptr %169, align 4, !tbaa !68
  %191 = zext i32 %190 to i64
  %192 = icmp ult i64 %indvars.iv.next431, %191
  br i1 %192, label %.lr.ph390, label %._crit_edge391, !llvm.loop !74

._crit_edge391:                                   ; preds = %189, %174, %176
  %193 = getelementptr inbounds i8, ptr %28, i64 536
  %194 = getelementptr inbounds i8, ptr %30, i64 32
  %195 = load i32, ptr %194, align 8, !tbaa !75
  %196 = mul i32 %195, 72
  call void @HEAP_ALLOCATE(ptr noundef nonnull %91, ptr noundef nonnull %193, i32 noundef %196, i8 noundef zeroext 0) #4
  %197 = load ptr, ptr %193, align 8, !tbaa !76
  %198 = icmp eq ptr %197, null
  %.pre447 = load i32, ptr %194, align 8, !tbaa !75
  %.not365 = icmp eq i32 %.pre447, 0
  br i1 %198, label %199, label %201

199:                                              ; preds = %._crit_edge391
  br i1 %.not365, label %._crit_edge395, label %200

200:                                              ; preds = %199
  store i32 5, ptr %2, align 4, !tbaa !16
  call void @EXIT_CORE() #4
  br label %405

201:                                              ; preds = %._crit_edge391
  br i1 %.not365, label %._crit_edge395, label %.lr.ph394

.lr.ph394:                                        ; preds = %201, %214
  %indvars.iv433 = phi i64 [ %indvars.iv.next434, %214 ], [ 0, %201 ]
  %202 = load ptr, ptr %193, align 8, !tbaa !76
  %203 = getelementptr inbounds %struct._BUFFER_INFORMATION_TYPE, ptr %202, i64 %indvars.iv433
  store i32 0, ptr %203, align 8, !tbaa !77
  %204 = getelementptr inbounds %struct._BUFFER_INFORMATION_TYPE, ptr %202, i64 %indvars.iv433, i32 1
  %205 = getelementptr inbounds %struct._BUFFER_INFORMATION_TYPE, ptr %202, i64 %indvars.iv433, i32 4
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %204, i8 0, i64 16, i1 false)
  store i32 1, ptr %205, align 8, !tbaa !79
  %206 = getelementptr inbounds %struct._BUFFER_INFORMATION_TYPE, ptr %202, i64 %indvars.iv433, i32 5
  store i32 0, ptr %206, align 4, !tbaa !80
  %207 = getelementptr inbounds %struct._BUFFER_INFORMATION_TYPE, ptr %202, i64 %indvars.iv433, i32 6
  store i32 0, ptr %207, align 8, !tbaa !81
  %208 = load i8, ptr %28, align 8, !tbaa !44
  %.not376 = icmp eq i8 %208, 0
  br i1 %.not376, label %209, label %212

209:                                              ; preds = %.lr.ph394
  %210 = getelementptr inbounds %struct._BUFFER_INFORMATION_TYPE, ptr %202, i64 %indvars.iv433, i32 7
  %211 = getelementptr inbounds %struct._BUFFER_INFORMATION_TYPE, ptr %202, i64 %indvars.iv433, i32 9
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %210, i8 0, i64 16, i1 false)
  call void @PRIORITYQUEUE_STARTUP(ptr noundef nonnull %211, i8 noundef zeroext 1, i8 noundef zeroext 0) #4
  br label %214

212:                                              ; preds = %.lr.ph394
  %213 = getelementptr inbounds %struct._BUFFER_INFORMATION_TYPE, ptr %202, i64 %indvars.iv433, i32 9
  call void @PRIORITYQUEUE_CLEAR(ptr noundef nonnull %213, i8 noundef zeroext 1, i8 noundef zeroext 0) #4
  br label %214

214:                                              ; preds = %209, %212
  %indvars.iv.next434 = add nuw nsw i64 %indvars.iv433, 1
  %215 = load i32, ptr %194, align 8, !tbaa !75
  %216 = zext i32 %215 to i64
  %217 = icmp ult i64 %indvars.iv.next434, %216
  br i1 %217, label %.lr.ph394, label %._crit_edge395, !llvm.loop !82

._crit_edge395:                                   ; preds = %214, %199, %201
  %218 = getelementptr inbounds i8, ptr %28, i64 552
  %219 = getelementptr inbounds i8, ptr %30, i64 36
  %220 = load i32, ptr %219, align 4, !tbaa !83
  %221 = mul i32 %220, 56
  call void @HEAP_ALLOCATE(ptr noundef nonnull %91, ptr noundef nonnull %218, i32 noundef %221, i8 noundef zeroext 0) #4
  %222 = load ptr, ptr %218, align 8, !tbaa !84
  %223 = icmp eq ptr %222, null
  %.pre448 = load i32, ptr %219, align 4, !tbaa !83
  %.not366 = icmp eq i32 %.pre448, 0
  br i1 %223, label %224, label %226

224:                                              ; preds = %._crit_edge395
  br i1 %.not366, label %._crit_edge399, label %225

225:                                              ; preds = %224
  store i32 5, ptr %2, align 4, !tbaa !16
  call void @EXIT_CORE() #4
  br label %405

226:                                              ; preds = %._crit_edge395
  br i1 %.not366, label %._crit_edge399, label %.lr.ph398

.lr.ph398:                                        ; preds = %226, %237
  %indvars.iv436 = phi i64 [ %indvars.iv.next437, %237 ], [ 0, %226 ]
  %227 = load ptr, ptr %218, align 8, !tbaa !84
  %228 = getelementptr inbounds %struct._BLACKBOARD_INFORMATION_TYPE, ptr %227, i64 %indvars.iv436
  store i32 0, ptr %228, align 8, !tbaa !85
  %229 = getelementptr inbounds %struct._BLACKBOARD_INFORMATION_TYPE, ptr %227, i64 %indvars.iv436, i32 1
  store ptr null, ptr %229, align 8, !tbaa !87
  %230 = getelementptr inbounds %struct._BLACKBOARD_INFORMATION_TYPE, ptr %227, i64 %indvars.iv436, i32 2
  store i32 1, ptr %230, align 8, !tbaa !88
  %231 = getelementptr inbounds %struct._BLACKBOARD_INFORMATION_TYPE, ptr %227, i64 %indvars.iv436, i32 3
  store i32 0, ptr %231, align 4, !tbaa !89
  %232 = getelementptr inbounds %struct._BLACKBOARD_INFORMATION_TYPE, ptr %227, i64 %indvars.iv436, i32 5
  store i32 0, ptr %232, align 8, !tbaa !90
  %233 = load i8, ptr %28, align 8, !tbaa !44
  %.not375 = icmp eq i8 %233, 0
  %234 = getelementptr inbounds %struct._BLACKBOARD_INFORMATION_TYPE, ptr %227, i64 %indvars.iv436, i32 6
  br i1 %.not375, label %235, label %236

235:                                              ; preds = %.lr.ph398
  call void @PRIORITYQUEUE_STARTUP(ptr noundef nonnull %234, i8 noundef zeroext 1, i8 noundef zeroext 0) #4
  br label %237

236:                                              ; preds = %.lr.ph398
  call void @PRIORITYQUEUE_CLEAR(ptr noundef nonnull %234, i8 noundef zeroext 1, i8 noundef zeroext 0) #4
  br label %237

237:                                              ; preds = %235, %236
  %indvars.iv.next437 = add nuw nsw i64 %indvars.iv436, 1
  %238 = load i32, ptr %219, align 4, !tbaa !83
  %239 = zext i32 %238 to i64
  %240 = icmp ult i64 %indvars.iv.next437, %239
  br i1 %240, label %.lr.ph398, label %._crit_edge399, !llvm.loop !91

._crit_edge399:                                   ; preds = %237, %224, %226
  %241 = getelementptr inbounds i8, ptr %28, i64 568
  %242 = getelementptr inbounds i8, ptr %30, i64 40
  %243 = load i32, ptr %242, align 8, !tbaa !92
  %244 = mul i32 %243, 48
  call void @HEAP_ALLOCATE(ptr noundef nonnull %91, ptr noundef nonnull %241, i32 noundef %244, i8 noundef zeroext 0) #4
  %245 = load ptr, ptr %241, align 8, !tbaa !93
  %246 = icmp eq ptr %245, null
  %.pre449 = load i32, ptr %242, align 8, !tbaa !92
  %.not367 = icmp eq i32 %.pre449, 0
  br i1 %246, label %247, label %249

247:                                              ; preds = %._crit_edge399
  br i1 %.not367, label %._crit_edge403, label %248

248:                                              ; preds = %247
  store i32 5, ptr %2, align 4, !tbaa !16
  call void @EXIT_CORE() #4
  br label %405

249:                                              ; preds = %._crit_edge399
  br i1 %.not367, label %._crit_edge403, label %.lr.ph402

.lr.ph402:                                        ; preds = %249, %258
  %indvars.iv439 = phi i64 [ %indvars.iv.next440, %258 ], [ 0, %249 ]
  %250 = load ptr, ptr %241, align 8, !tbaa !93
  %251 = getelementptr inbounds %struct._SEMAPHORE_INFORMATION_TYPE, ptr %250, i64 %indvars.iv439
  store i32 0, ptr %251, align 8, !tbaa !94
  %252 = getelementptr inbounds %struct._SEMAPHORE_INFORMATION_TYPE, ptr %250, i64 %indvars.iv439, i32 1
  %253 = getelementptr inbounds %struct._SEMAPHORE_INFORMATION_TYPE, ptr %250, i64 %indvars.iv439, i32 4
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %252, i8 0, i64 16, i1 false)
  store i32 1, ptr %253, align 8, !tbaa !96
  %254 = load i8, ptr %28, align 8, !tbaa !44
  %.not374 = icmp eq i8 %254, 0
  %255 = getelementptr inbounds %struct._SEMAPHORE_INFORMATION_TYPE, ptr %250, i64 %indvars.iv439, i32 5
  br i1 %.not374, label %256, label %257

256:                                              ; preds = %.lr.ph402
  call void @PRIORITYQUEUE_STARTUP(ptr noundef nonnull %255, i8 noundef zeroext 1, i8 noundef zeroext 0) #4
  br label %258

257:                                              ; preds = %.lr.ph402
  call void @PRIORITYQUEUE_CLEAR(ptr noundef nonnull %255, i8 noundef zeroext 1, i8 noundef zeroext 0) #4
  br label %258

258:                                              ; preds = %256, %257
  %indvars.iv.next440 = add nuw nsw i64 %indvars.iv439, 1
  %259 = load i32, ptr %242, align 8, !tbaa !92
  %260 = zext i32 %259 to i64
  %261 = icmp ult i64 %indvars.iv.next440, %260
  br i1 %261, label %.lr.ph402, label %._crit_edge403, !llvm.loop !97

._crit_edge403:                                   ; preds = %258, %247, %249
  %262 = getelementptr inbounds i8, ptr %28, i64 584
  %263 = getelementptr inbounds i8, ptr %30, i64 44
  %264 = load i32, ptr %263, align 4, !tbaa !98
  %265 = mul i32 %264, 40
  call void @HEAP_ALLOCATE(ptr noundef nonnull %91, ptr noundef nonnull %262, i32 noundef %265, i8 noundef zeroext 0) #4
  %266 = load ptr, ptr %262, align 8, !tbaa !99
  %267 = icmp eq ptr %266, null
  %.pre450 = load i32, ptr %263, align 4, !tbaa !98
  %.not368 = icmp eq i32 %.pre450, 0
  br i1 %267, label %268, label %270

268:                                              ; preds = %._crit_edge403
  br i1 %.not368, label %._crit_edge407, label %269

269:                                              ; preds = %268
  store i32 5, ptr %2, align 4, !tbaa !16
  call void @EXIT_CORE() #4
  br label %405

270:                                              ; preds = %._crit_edge403
  br i1 %.not368, label %._crit_edge407, label %.lr.ph406

.lr.ph406:                                        ; preds = %270, %279
  %indvars.iv442 = phi i64 [ %indvars.iv.next443, %279 ], [ 0, %270 ]
  %271 = load ptr, ptr %262, align 8, !tbaa !99
  %272 = getelementptr inbounds %struct._EVENT_INFORMATION_TYPE, ptr %271, i64 %indvars.iv442
  store i32 0, ptr %272, align 8, !tbaa !100
  %273 = getelementptr inbounds %struct._EVENT_INFORMATION_TYPE, ptr %271, i64 %indvars.iv442, i32 1
  store ptr null, ptr %273, align 8, !tbaa !102
  %274 = getelementptr inbounds %struct._EVENT_INFORMATION_TYPE, ptr %271, i64 %indvars.iv442, i32 2
  store i32 1, ptr %274, align 8, !tbaa !103
  %275 = load i8, ptr %28, align 8, !tbaa !44
  %.not373 = icmp eq i8 %275, 0
  %276 = getelementptr inbounds %struct._EVENT_INFORMATION_TYPE, ptr %271, i64 %indvars.iv442, i32 3
  br i1 %.not373, label %277, label %278

277:                                              ; preds = %.lr.ph406
  call void @PRIORITYQUEUE_STARTUP(ptr noundef nonnull %276, i8 noundef zeroext 1, i8 noundef zeroext 0) #4
  br label %279

278:                                              ; preds = %.lr.ph406
  call void @PRIORITYQUEUE_CLEAR(ptr noundef nonnull %276, i8 noundef zeroext 1, i8 noundef zeroext 0) #4
  br label %279

279:                                              ; preds = %277, %278
  %indvars.iv.next443 = add nuw nsw i64 %indvars.iv442, 1
  %280 = load i32, ptr %263, align 4, !tbaa !98
  %281 = zext i32 %280 to i64
  %282 = icmp ult i64 %indvars.iv.next443, %281
  br i1 %282, label %.lr.ph406, label %._crit_edge407, !llvm.loop !104

._crit_edge407:                                   ; preds = %279, %268, %270
  %283 = getelementptr inbounds i8, ptr %30, i64 168
  %284 = load ptr, ptr %283, align 8, !tbaa !105
  %.not369 = icmp eq ptr %284, null
  br i1 %.not369, label %325, label %285

285:                                              ; preds = %._crit_edge407
  %286 = load ptr, ptr %284, align 8, !tbaa !106
  %.not370 = icmp eq ptr %286, null
  br i1 %.not370, label %325, label %287

287:                                              ; preds = %285
  %288 = getelementptr inbounds i8, ptr %30, i64 144
  %289 = load ptr, ptr %288, align 8, !tbaa !108
  %290 = icmp eq ptr %289, null
  br i1 %290, label %295, label %291

291:                                              ; preds = %287
  %292 = getelementptr inbounds i8, ptr %30, i64 152
  %293 = load i32, ptr %292, align 8, !tbaa !109
  %294 = icmp eq i32 %293, 0
  br i1 %294, label %295, label %296

295:                                              ; preds = %291, %287
  store i32 5, ptr %2, align 4, !tbaa !16
  call void @EXIT_CORE() #4
  br label %405

296:                                              ; preds = %291
  store i8 1, ptr %112, align 8, !tbaa !110
  %297 = getelementptr inbounds i8, ptr %28, i64 280
  store ptr %286, ptr %297, align 8, !tbaa !111
  %298 = getelementptr inbounds i8, ptr %284, i64 8
  %299 = load i32, ptr %298, align 8, !tbaa !112
  %300 = getelementptr inbounds i8, ptr %28, i64 288
  store i32 %299, ptr %300, align 8, !tbaa !113
  %301 = load i32, ptr %113, align 8, !tbaa !114
  %302 = icmp eq i32 %301, 0
  br i1 %302, label %303, label %307

303:                                              ; preds = %296
  %304 = getelementptr inbounds i8, ptr %7, i64 32
  %305 = load i32, ptr %304, align 8, !tbaa !115
  %306 = add i32 %305, 1
  store i32 %306, ptr %304, align 8, !tbaa !115
  store i32 %305, ptr %113, align 8, !tbaa !114
  br label %307

307:                                              ; preds = %303, %296
  %308 = phi i32 [ %305, %303 ], [ %301, %296 ]
  %309 = getelementptr inbounds i8, ptr %28, i64 304
  store ptr %289, ptr %309, align 8, !tbaa !116
  %310 = ptrtoint ptr %289 to i64
  %311 = trunc i64 %310 to i32
  %312 = add i32 %293, %311
  %313 = zext i32 %312 to i64
  %314 = inttoptr i64 %313 to ptr
  %315 = getelementptr inbounds i8, ptr %28, i64 312
  store ptr %314, ptr %315, align 8, !tbaa !117
  %316 = getelementptr inbounds i8, ptr %28, i64 328
  store i32 0, ptr %316, align 8, !tbaa !118
  %317 = getelementptr inbounds i8, ptr %28, i64 336
  store ptr %286, ptr %317, align 8, !tbaa !119
  %318 = getelementptr inbounds i8, ptr %28, i64 344
  store ptr @RETURNPOINT_PARTITION_HEALTHMONITORINGCALLBACK, ptr %318, align 8, !tbaa !120
  %319 = getelementptr inbounds i8, ptr %28, i64 352
  store i32 0, ptr %319, align 8, !tbaa !121
  %320 = getelementptr inbounds i8, ptr %28, i64 356
  store i32 0, ptr %320, align 4, !tbaa !122
  %321 = getelementptr inbounds i8, ptr %7, i64 36
  %322 = load i32, ptr %321, align 4, !tbaa !123
  %323 = icmp ugt i32 %308, %322
  br i1 %323, label %324, label %325

324:                                              ; preds = %307
  store i32 5, ptr %2, align 4, !tbaa !16
  call void @EXIT_CORE() #4
  br label %405

325:                                              ; preds = %285, %307, %._crit_edge407
  %326 = getelementptr inbounds i8, ptr %30, i64 112
  %327 = load ptr, ptr %326, align 8, !tbaa !124
  %328 = icmp eq ptr %327, null
  br i1 %328, label %333, label %329

329:                                              ; preds = %325
  %330 = getelementptr inbounds i8, ptr %30, i64 120
  %331 = load i32, ptr %330, align 8, !tbaa !125
  %332 = icmp eq i32 %331, 0
  br i1 %332, label %333, label %334

333:                                              ; preds = %329, %325
  store i32 5, ptr %2, align 4, !tbaa !16
  call void @EXIT_CORE() #4
  br label %405

334:                                              ; preds = %329
  %335 = load i8, ptr %28, align 8, !tbaa !44
  %.not371 = icmp eq i8 %335, 0
  %336 = getelementptr inbounds i8, ptr %30, i64 64
  %337 = load ptr, ptr %336, align 8, !tbaa !126
  %338 = ptrtoint ptr %337 to i64
  %339 = trunc i64 %338 to i32
  %340 = load i32, ptr %84, align 8, !tbaa !42
  %341 = add i32 %340, %339
  %342 = icmp ugt i32 %341, %339
  br i1 %.not371, label %343, label %354

343:                                              ; preds = %334
  br i1 %342, label %.lr.ph415.preheader, label %.loopexit

.lr.ph415.preheader:                              ; preds = %343
  %344 = getelementptr inbounds i8, ptr %30, i64 80
  %345 = load ptr, ptr %344, align 8, !tbaa !127
  br label %.lr.ph415

.lr.ph415:                                        ; preds = %.lr.ph415.preheader, %.lr.ph415
  %.0342413 = phi ptr [ %348, %.lr.ph415 ], [ %345, %.lr.ph415.preheader ]
  %.0343412 = phi ptr [ %347, %.lr.ph415 ], [ %337, %.lr.ph415.preheader ]
  %346 = load i32, ptr %.0343412, align 4, !tbaa !16
  store i32 %346, ptr %.0342413, align 4, !tbaa !16
  %347 = getelementptr inbounds i8, ptr %.0343412, i64 4
  %348 = getelementptr inbounds i8, ptr %.0342413, i64 4
  %349 = ptrtoint ptr %347 to i64
  %350 = trunc i64 %349 to i32
  %351 = load i32, ptr %84, align 8, !tbaa !42
  %352 = add i32 %351, %339
  %353 = icmp ugt i32 %352, %350
  br i1 %353, label %.lr.ph415, label %.loopexit, !llvm.loop !128

354:                                              ; preds = %334
  br i1 %342, label %.lr.ph411.preheader, label %.loopexit

.lr.ph411.preheader:                              ; preds = %354
  %355 = getelementptr inbounds i8, ptr %30, i64 80
  %356 = load ptr, ptr %355, align 8, !tbaa !127
  br label %.lr.ph411

.lr.ph411:                                        ; preds = %.lr.ph411.preheader, %.lr.ph411
  %.1409 = phi ptr [ %359, %.lr.ph411 ], [ %337, %.lr.ph411.preheader ]
  %.1344408 = phi ptr [ %358, %.lr.ph411 ], [ %356, %.lr.ph411.preheader ]
  %357 = load i32, ptr %.1344408, align 4, !tbaa !16
  store i32 %357, ptr %.1409, align 4, !tbaa !16
  %358 = getelementptr inbounds i8, ptr %.1344408, i64 4
  %359 = getelementptr inbounds i8, ptr %.1409, i64 4
  %360 = ptrtoint ptr %359 to i64
  %361 = trunc i64 %360 to i32
  %362 = load i32, ptr %84, align 8, !tbaa !42
  %363 = add i32 %362, %339
  %364 = icmp ugt i32 %363, %361
  br i1 %364, label %.lr.ph411, label %.loopexit, !llvm.loop !129

.loopexit:                                        ; preds = %.lr.ph411, %.lr.ph415, %354, %343
  %365 = getelementptr inbounds i8, ptr %28, i64 8
  store ptr %0, ptr %365, align 8, !tbaa !130
  %366 = load i32, ptr %13, align 8, !tbaa !17
  %367 = getelementptr inbounds i8, ptr %28, i64 24
  store i32 %366, ptr %367, align 8, !tbaa !131
  %368 = getelementptr inbounds i8, ptr %28, i64 32
  store i32 1, ptr %368, align 8, !tbaa !132
  %369 = load i32, ptr %92, align 8, !tbaa !133
  %370 = icmp eq i32 %369, 0
  br i1 %370, label %371, label %375

371:                                              ; preds = %.loopexit
  %372 = getelementptr inbounds i8, ptr %7, i64 32
  %373 = load i32, ptr %372, align 8, !tbaa !115
  %374 = add i32 %373, 1
  store i32 %374, ptr %372, align 8, !tbaa !115
  store i32 %373, ptr %92, align 8, !tbaa !133
  br label %375

375:                                              ; preds = %371, %.loopexit
  %376 = phi i32 [ %373, %371 ], [ %369, %.loopexit ]
  %377 = getelementptr inbounds i8, ptr %28, i64 80
  store ptr %327, ptr %377, align 8, !tbaa !134
  %378 = ptrtoint ptr %327 to i64
  %379 = trunc i64 %378 to i32
  %380 = load i32, ptr %330, align 8, !tbaa !125
  %381 = add i32 %380, %379
  %382 = zext i32 %381 to i64
  %383 = inttoptr i64 %382 to ptr
  %384 = getelementptr inbounds i8, ptr %28, i64 88
  store ptr %383, ptr %384, align 8, !tbaa !135
  %385 = getelementptr inbounds i8, ptr %28, i64 104
  store i32 0, ptr %385, align 8, !tbaa !136
  %386 = getelementptr inbounds i8, ptr %0, i64 20
  %387 = load i8, ptr %386, align 4, !tbaa !137
  %388 = getelementptr inbounds i8, ptr %28, i64 108
  store i8 %387, ptr %388, align 4, !tbaa !138
  %389 = getelementptr inbounds i8, ptr %0, i64 8
  %390 = load ptr, ptr %389, align 8, !tbaa !139
  %391 = getelementptr inbounds i8, ptr %28, i64 112
  store ptr %390, ptr %391, align 8, !tbaa !140
  %392 = getelementptr inbounds i8, ptr %28, i64 120
  store ptr @RETURNPOINT_PARTITIONDEFAULTPROCESS, ptr %392, align 8, !tbaa !141
  %393 = getelementptr inbounds i8, ptr %28, i64 128
  store i32 0, ptr %393, align 8, !tbaa !142
  %394 = getelementptr inbounds i8, ptr %28, i64 132
  store i32 0, ptr %394, align 4, !tbaa !143
  %395 = getelementptr inbounds i8, ptr %7, i64 36
  %396 = load i32, ptr %395, align 4, !tbaa !123
  %397 = icmp ugt i32 %376, %396
  br i1 %397, label %398, label %399

398:                                              ; preds = %375
  store i32 5, ptr %2, align 4, !tbaa !16
  call void @EXIT_CORE() #4
  br label %405

399:                                              ; preds = %375
  %400 = add i32 %366, 1
  store i32 %400, ptr %13, align 8, !tbaa !17
  %401 = call zeroext i8 @PORT_HOOK_AFTER_CREATE_PARTITION(ptr noundef nonnull %28) #4
  %.not372 = icmp eq i8 %401, 0
  br i1 %.not372, label %402, label %403

402:                                              ; preds = %399
  store i32 5, ptr %2, align 4, !tbaa !16
  call void @EXIT_CORE() #4
  br label %405

403:                                              ; preds = %399
  %404 = load i32, ptr %4, align 4, !tbaa !16
  store i32 %404, ptr %1, align 4, !tbaa !16
  store i32 1, ptr %2, align 4, !tbaa !16
  call void @EXIT_CORE() #4
  br label %405

405:                                              ; preds = %403, %402, %398, %333, %324, %295, %269, %248, %225, %200, %175, %158, %149, %135, %117, %106, %96, %89, %86, %79, %75, %72, %67, %57, %52, %49, %44, %41, %32, %22, %17, %11
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #4
  ret void
}

declare ptr @CONFIGURATION_GETPARTITIONCONFIGURATION(ptr noundef) local_unnamed_addr #1

declare zeroext i8 @PORT_HOOK_BEFORE_CREATE_PARTITION(ptr noundef) local_unnamed_addr #1

declare void @HEAP_ALLOCATE(ptr noundef, ptr noundef, i32 noundef, i8 noundef zeroext) local_unnamed_addr #1

declare void @PORT_INITIALIZECONTEXT(ptr noundef) local_unnamed_addr #1

declare void @HEAP_STARTUP(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1

declare void @INITIALIZE_PROCESS_INFORMATION(i32 noundef, i32 noundef) local_unnamed_addr #1

declare void @PRIORITYQUEUE_STARTUP(ptr noundef, i8 noundef zeroext, i8 noundef zeroext) local_unnamed_addr #1

declare void @PRIORITYQUEUE_CLEAR(ptr noundef, i8 noundef zeroext, i8 noundef zeroext) local_unnamed_addr #1

declare void @RETURNPOINT_PARTITION_HEALTHMONITORINGCALLBACK() #1

declare void @RETURNPOINT_PARTITIONDEFAULTPROCESS() #1

declare zeroext i8 @PORT_HOOK_AFTER_CREATE_PARTITION(ptr noundef) local_unnamed_addr #1

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #3

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { 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 #3 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #4 = { 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 40}
!6 = !{!"_MODULE_INFORMATION_TYPE", !7, i64 0, !10, i64 8, !11, i64 32, !11, i64 36, !11, i64 40, !12, i64 48, !11, i64 120, !7, i64 128, !7, i64 136, !13, i64 144, !14, i64 256, !14, i64 264, !14, i64 272, !15, i64 280}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"_heapRECORD", !7, i64 0, !11, i64 8, !11, i64 12, !11, i64 16}
!11 = !{!"int", !8, i64 0}
!12 = !{!"_CONTEXT_TYPE", !11, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !11, i64 32, !8, i64 36, !7, i64 40, !7, i64 48, !11, i64 56, !11, i64 60, !11, i64 64, !11, i64 68}
!13 = !{!"_HEALTHMONITORINGCALLBACK_INFORMATION_TYPE", !8, i64 0, !7, i64 8, !11, i64 16, !12, i64 24, !8, i64 96, !8, i64 97, !8, i64 98, !8, i64 99, !11, i64 100, !11, i64 104}
!14 = !{!"long long", !8, i64 0}
!15 = !{!"_priorityqueueRECORD", !7, i64 0, !11, i64 8, !8, i64 12, !8, i64 13}
!16 = !{!11, !11, i64 0}
!17 = !{!6, !11, i64 120}
!18 = !{!6, !7, i64 0}
!19 = !{!20, !11, i64 0}
!20 = !{!"_MODULE_CONFIGURATION_TYPE", !11, i64 0, !7, i64 8, !11, i64 16, !7, i64 24, !11, i64 32, !7, i64 40, !11, i64 48, !7, i64 56, !11, i64 64, !7, i64 72, !11, i64 80, !14, i64 88, !7, i64 96, !7, i64 104, !11, i64 112, !7, i64 120, !7, i64 128}
!21 = !{!22, !7, i64 0}
!22 = !{!"_PARTITION_ATTRIBUTE_TYPE", !7, i64 0, !7, i64 8, !11, i64 16, !8, i64 20}
!23 = !{!6, !7, i64 128}
!24 = !{!25, !7, i64 160}
!25 = !{!"_PARTITION_CONFIGURATION_TYPE", !11, i64 0, !7, i64 8, !11, i64 16, !11, i64 20, !11, i64 24, !11, i64 28, !11, i64 32, !11, i64 36, !11, i64 40, !11, i64 44, !7, i64 48, !11, i64 56, !7, i64 64, !11, i64 72, !7, i64 80, !11, i64 88, !7, i64 96, !11, i64 104, !7, i64 112, !11, i64 120, !7, i64 128, !11, i64 136, !7, i64 144, !11, i64 152, !7, i64 160, !7, i64 168, !11, i64 176, !7, i64 184, !7, i64 192}
!26 = !{!27, !14, i64 0}
!27 = !{!"_PARTITION_CONFIGURATION_SCHEDULE_TYPE", !14, i64 0, !14, i64 8, !11, i64 16, !7, i64 24}
!28 = !{!20, !14, i64 88}
!29 = !{!27, !14, i64 8}
!30 = !{!27, !11, i64 16}
!31 = !{!27, !7, i64 24}
!32 = !{!33, !14, i64 0}
!33 = !{!"_PARTITION_CONFIGURATION_SCHEDULE_WINDOW_TYPE", !14, i64 0, !14, i64 8, !8, i64 16}
!34 = distinct !{!34, !35}
!35 = !{!"llvm.loop.mustprogress"}
!36 = !{!33, !14, i64 8}
!37 = !{!38, !7, i64 16}
!38 = !{!"_PARTITION_INFORMATION_TYPE", !8, i64 0, !7, i64 8, !7, i64 16, !11, i64 24, !11, i64 28, !11, i64 32, !11, i64 36, !8, i64 40, !10, i64 48, !12, i64 72, !11, i64 144, !7, i64 152, !7, i64 160, !39, i64 168, !13, i64 272, !11, i64 384, !40, i64 392, !15, i64 432, !15, i64 448, !15, i64 464, !11, i64 480, !11, i64 484, !7, i64 488, !11, i64 496, !7, i64 504, !11, i64 512, !7, i64 520, !11, i64 528, !7, i64 536, !11, i64 544, !7, i64 552, !11, i64 560, !7, i64 568, !11, i64 576, !7, i64 584}
!39 = !{!"_ERRORHANDLER_INFORMATION_TYPE", !8, i64 0, !7, i64 8, !11, i64 16, !12, i64 24, !8, i64 96, !8, i64 97, !8, i64 98, !8, i64 99, !11, i64 100}
!40 = !{!"_priorityqueueENTRY", !14, i64 0, !14, i64 8, !7, i64 16, !7, i64 24, !7, i64 32}
!41 = !{!25, !11, i64 88}
!42 = !{!25, !11, i64 72}
!43 = !{!38, !7, i64 96}
!44 = !{!38, !8, i64 0}
!45 = !{!38, !11, i64 136}
!46 = !{!38, !7, i64 216}
!47 = !{!38, !11, i64 256}
!48 = !{!38, !7, i64 320}
!49 = !{!38, !11, i64 360}
!50 = !{!25, !7, i64 96}
!51 = !{!25, !11, i64 104}
!52 = !{!25, !11, i64 16}
!53 = !{!38, !7, i64 152}
!54 = distinct !{!54, !35}
!55 = !{!25, !11, i64 20}
!56 = !{!38, !7, i64 488}
!57 = !{!25, !11, i64 24}
!58 = !{!38, !7, i64 504}
!59 = !{!60, !11, i64 0}
!60 = !{!"_SAMPLINGPORT_INFORMATION_TYPE", !11, i64 0, !7, i64 8, !11, i64 16, !11, i64 20, !14, i64 24, !14, i64 32, !14, i64 40, !11, i64 48, !11, i64 52, !7, i64 56, !11, i64 64}
!61 = !{!60, !7, i64 8}
!62 = !{!60, !11, i64 16}
!63 = !{!60, !11, i64 20}
!64 = !{!60, !11, i64 48}
!65 = !{!60, !11, i64 52}
!66 = !{!60, !11, i64 64}
!67 = distinct !{!67, !35}
!68 = !{!25, !11, i64 28}
!69 = !{!38, !7, i64 520}
!70 = !{!71, !11, i64 0}
!71 = !{!"_QUEUINGPORT_INFORMATION_TYPE", !11, i64 0, !7, i64 8, !11, i64 16, !11, i64 20, !11, i64 24, !11, i64 28, !11, i64 32, !11, i64 36, !8, i64 40, !7, i64 48, !7, i64 56, !15, i64 64}
!72 = !{!71, !11, i64 24}
!73 = !{!71, !11, i64 28}
!74 = distinct !{!74, !35}
!75 = !{!25, !11, i64 32}
!76 = !{!38, !7, i64 536}
!77 = !{!78, !11, i64 0}
!78 = !{!"_BUFFER_INFORMATION_TYPE", !11, i64 0, !7, i64 8, !11, i64 16, !11, i64 20, !11, i64 24, !11, i64 28, !11, i64 32, !7, i64 40, !7, i64 48, !15, i64 56}
!79 = !{!78, !11, i64 24}
!80 = !{!78, !11, i64 28}
!81 = !{!78, !11, i64 32}
!82 = distinct !{!82, !35}
!83 = !{!25, !11, i64 36}
!84 = !{!38, !7, i64 552}
!85 = !{!86, !11, i64 0}
!86 = !{!"_BLACKBOARD_INFORMATION_TYPE", !11, i64 0, !7, i64 8, !11, i64 16, !11, i64 20, !7, i64 24, !11, i64 32, !15, i64 40}
!87 = !{!86, !7, i64 8}
!88 = !{!86, !11, i64 16}
!89 = !{!86, !11, i64 20}
!90 = !{!86, !11, i64 32}
!91 = distinct !{!91, !35}
!92 = !{!25, !11, i64 40}
!93 = !{!38, !7, i64 568}
!94 = !{!95, !11, i64 0}
!95 = !{!"_SEMAPHORE_INFORMATION_TYPE", !11, i64 0, !7, i64 8, !11, i64 16, !11, i64 20, !11, i64 24, !15, i64 32}
!96 = !{!95, !11, i64 24}
!97 = distinct !{!97, !35}
!98 = !{!25, !11, i64 44}
!99 = !{!38, !7, i64 584}
!100 = !{!101, !11, i64 0}
!101 = !{!"_EVENT_INFORMATION_TYPE", !11, i64 0, !7, i64 8, !11, i64 16, !15, i64 24}
!102 = !{!101, !7, i64 8}
!103 = !{!101, !11, i64 16}
!104 = distinct !{!104, !35}
!105 = !{!25, !7, i64 168}
!106 = !{!107, !7, i64 0}
!107 = !{!"_PARTITION_CONFIGURATION_HEALTHMONITORING_TYPE", !7, i64 0, !11, i64 8, !11, i64 12, !7, i64 16}
!108 = !{!25, !7, i64 144}
!109 = !{!25, !11, i64 152}
!110 = !{!38, !8, i64 272}
!111 = !{!38, !7, i64 280}
!112 = !{!107, !11, i64 8}
!113 = !{!38, !11, i64 288}
!114 = !{!38, !11, i64 296}
!115 = !{!6, !11, i64 32}
!116 = !{!38, !7, i64 304}
!117 = !{!38, !7, i64 312}
!118 = !{!38, !11, i64 328}
!119 = !{!38, !7, i64 336}
!120 = !{!38, !7, i64 344}
!121 = !{!38, !11, i64 352}
!122 = !{!38, !11, i64 356}
!123 = !{!6, !11, i64 36}
!124 = !{!25, !7, i64 112}
!125 = !{!25, !11, i64 120}
!126 = !{!25, !7, i64 64}
!127 = !{!25, !7, i64 80}
!128 = distinct !{!128, !35}
!129 = distinct !{!129, !35}
!130 = !{!38, !7, i64 8}
!131 = !{!38, !11, i64 24}
!132 = !{!38, !11, i64 32}
!133 = !{!38, !11, i64 72}
!134 = !{!38, !7, i64 80}
!135 = !{!38, !7, i64 88}
!136 = !{!38, !11, i64 104}
!137 = !{!22, !8, i64 20}
!138 = !{!38, !8, i64 108}
!139 = !{!22, !7, i64 8}
!140 = !{!38, !7, i64 112}
!141 = !{!38, !7, i64 120}
!142 = !{!38, !11, i64 128}
!143 = !{!38, !11, i64 132}


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