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

; 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._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._PROCESS_INFORMATION_TYPE = type { ptr, ptr, i32, i32, i32, i64, i64, i64, i64, i64, %struct._CONTEXT_TYPE, %struct._priorityqueueENTRY, %struct._priorityqueueENTRY, %struct._priorityqueueENTRY, %struct._priorityqueueENTRY, i8, i8, ptr, i32, ptr, ptr }
%struct._PROCESS_ATTRIBUTE_TYPE = type { ptr, ptr, i32, i32, i64, i64, i32 }
%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 }

@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

declare void @PRIORITYQUEUE_REMOVE(ptr noundef) #1

declare void @PRIORITYQUEUE_ENQUEUE(ptr noundef, ptr noundef) #1

declare void @PORT_YIELD() #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
define dso_local void @DELAYED_START(i32 noundef %0, i64 noundef %1, ptr noundef %2) #2 {
  %4 = alloca i32, align 4
  %5 = alloca i64, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  store i32 %0, ptr %4, align 4, !tbaa !5
  store i64 %1, ptr %5, align 8, !tbaa !9
  store ptr %2, ptr %6, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #3
  call void @ENTER_CORE()
  %11 = call i32 @PORT_GETCORE()
  %12 = zext i32 %11 to i64
  %13 = getelementptr inbounds [2 x %struct._MODULE_INFORMATION_TYPE], ptr @CORE_MODULE_INFORMATION, i64 0, i64 %12
  store ptr %13, ptr %7, align 8, !tbaa !11
  %14 = load ptr, ptr %7, align 8, !tbaa !11
  %15 = getelementptr inbounds %struct._MODULE_INFORMATION_TYPE, ptr %14, i32 0, i32 8
  %16 = load ptr, ptr %15, align 8, !tbaa !13
  %17 = icmp eq ptr %16, null
  br i1 %17, label %18, label %20

18:                                               ; preds = %3
  %19 = load ptr, ptr %6, align 8, !tbaa !11
  store i32 6, ptr %19, align 4, !tbaa !5
  call void @EXIT_CORE()
  store i32 1, ptr %10, align 4
  br label %451

20:                                               ; preds = %3
  %21 = load i32, ptr %4, align 4, !tbaa !5
  %22 = load ptr, ptr %7, align 8, !tbaa !11
  %23 = getelementptr inbounds %struct._MODULE_INFORMATION_TYPE, ptr %22, i32 0, i32 8
  %24 = load ptr, ptr %23, align 8, !tbaa !13
  %25 = getelementptr inbounds %struct._PARTITION_INFORMATION_TYPE, ptr %24, i32 0, i32 10
  %26 = load i32, ptr %25, align 8, !tbaa !19
  %27 = icmp uge i32 %21, %26
  br i1 %27, label %28, label %30

28:                                               ; preds = %20
  %29 = load ptr, ptr %6, align 8, !tbaa !11
  store i32 4, ptr %29, align 4, !tbaa !5
  call void @EXIT_CORE()
  store i32 1, ptr %10, align 4
  br label %451

30:                                               ; preds = %20
  %31 = load ptr, ptr %7, align 8, !tbaa !11
  %32 = getelementptr inbounds %struct._MODULE_INFORMATION_TYPE, ptr %31, i32 0, i32 8
  %33 = load ptr, ptr %32, align 8, !tbaa !13
  %34 = getelementptr inbounds %struct._PARTITION_INFORMATION_TYPE, ptr %33, i32 0, i32 11
  %35 = load ptr, ptr %34, align 8, !tbaa !23
  %36 = load i32, ptr %4, align 4, !tbaa !5
  %37 = zext i32 %36 to i64
  %38 = getelementptr inbounds %struct._PROCESS_INFORMATION_TYPE, ptr %35, i64 %37
  store ptr %38, ptr %8, align 8, !tbaa !11
  %39 = load ptr, ptr %8, align 8, !tbaa !11
  %40 = getelementptr inbounds %struct._PROCESS_INFORMATION_TYPE, ptr %39, i32 0, i32 4
  %41 = load i32, ptr %40, align 8, !tbaa !24
  %42 = icmp ne i32 %41, 1
  br i1 %42, label %43, label %45

43:                                               ; preds = %30
  %44 = load ptr, ptr %6, align 8, !tbaa !11
  store i32 2, ptr %44, align 4, !tbaa !5
  call void @EXIT_CORE()
  store i32 1, ptr %10, align 4
  br label %451

45:                                               ; preds = %30
  %46 = load ptr, ptr %8, align 8, !tbaa !11
  %47 = getelementptr inbounds %struct._PROCESS_INFORMATION_TYPE, ptr %46, i32 0, i32 0
  %48 = load ptr, ptr %47, align 8, !tbaa !26
  %49 = getelementptr inbounds %struct._PROCESS_ATTRIBUTE_TYPE, ptr %48, i32 0, i32 4
  %50 = load i64, ptr %49, align 8, !tbaa !27
  %51 = icmp ne i64 %50, 0
  br i1 %51, label %52, label %62

52:                                               ; preds = %45
  %53 = load i64, ptr %5, align 8, !tbaa !9
  %54 = load ptr, ptr %8, align 8, !tbaa !11
  %55 = getelementptr inbounds %struct._PROCESS_INFORMATION_TYPE, ptr %54, i32 0, i32 0
  %56 = load ptr, ptr %55, align 8, !tbaa !26
  %57 = getelementptr inbounds %struct._PROCESS_ATTRIBUTE_TYPE, ptr %56, i32 0, i32 4
  %58 = load i64, ptr %57, align 8, !tbaa !27
  %59 = icmp sge i64 %53, %58
  br i1 %59, label %60, label %62

60:                                               ; preds = %52
  %61 = load ptr, ptr %6, align 8, !tbaa !11
  store i32 4, ptr %61, align 4, !tbaa !5
  call void @EXIT_CORE()
  store i32 1, ptr %10, align 4
  br label %451

62:                                               ; preds = %52, %45
  %63 = load ptr, ptr %8, align 8, !tbaa !11
  %64 = getelementptr inbounds %struct._PROCESS_INFORMATION_TYPE, ptr %63, i32 0, i32 11
  call void @PRIORITYQUEUE_REMOVE(ptr noundef %64)
  %65 = load ptr, ptr %8, align 8, !tbaa !11
  %66 = getelementptr inbounds %struct._PROCESS_INFORMATION_TYPE, ptr %65, i32 0, i32 12
  call void @PRIORITYQUEUE_REMOVE(ptr noundef %66)
  %67 = load ptr, ptr %8, align 8, !tbaa !11
  %68 = getelementptr inbounds %struct._PROCESS_INFORMATION_TYPE, ptr %67, i32 0, i32 13
  call void @PRIORITYQUEUE_REMOVE(ptr noundef %68)
  %69 = load ptr, ptr %8, align 8, !tbaa !11
  %70 = getelementptr inbounds %struct._PROCESS_INFORMATION_TYPE, ptr %69, i32 0, i32 14
  call void @PRIORITYQUEUE_REMOVE(ptr noundef %70)
  %71 = load ptr, ptr %8, align 8, !tbaa !11
  %72 = getelementptr inbounds %struct._PROCESS_INFORMATION_TYPE, ptr %71, i32 0, i32 15
  store i8 0, ptr %72, align 8, !tbaa !29
  %73 = load ptr, ptr %8, align 8, !tbaa !11
  %74 = getelementptr inbounds %struct._PROCESS_INFORMATION_TYPE, ptr %73, i32 0, i32 16
  store i8 0, ptr %74, align 1, !tbaa !30
  %75 = load ptr, ptr %8, align 8, !tbaa !11
  %76 = getelementptr inbounds %struct._PROCESS_INFORMATION_TYPE, ptr %75, i32 0, i32 0
  %77 = load ptr, ptr %76, align 8, !tbaa !26
  %78 = getelementptr inbounds %struct._PROCESS_ATTRIBUTE_TYPE, ptr %77, i32 0, i32 3
  %79 = load i32, ptr %78, align 4, !tbaa !31
  %80 = load ptr, ptr %8, align 8, !tbaa !11
  %81 = getelementptr inbounds %struct._PROCESS_INFORMATION_TYPE, ptr %80, i32 0, i32 3
  store i32 %79, ptr %81, align 4, !tbaa !32
  %82 = load i64, ptr %5, align 8, !tbaa !9
  %83 = load ptr, ptr %8, align 8, !tbaa !11
  %84 = getelementptr inbounds %struct._PROCESS_INFORMATION_TYPE, ptr %83, i32 0, i32 5
  store i64 %82, ptr %84, align 8, !tbaa !33
  %85 = load ptr, ptr %8, align 8, !tbaa !11
  %86 = getelementptr inbounds %struct._PROCESS_INFORMATION_TYPE, ptr %85, i32 0, i32 10
  call void @PORT_PREPARECONTEXT(ptr noundef %86)
  %87 = load ptr, ptr %8, align 8, !tbaa !11
  %88 = getelementptr inbounds %struct._PROCESS_INFORMATION_TYPE, ptr %87, i32 0, i32 10
  %89 = getelementptr inbounds %struct._CONTEXT_TYPE, ptr %88, i32 0, i32 10
  %90 = load i32, ptr %89, align 8, !tbaa !34
  %91 = load ptr, ptr %8, align 8, !tbaa !11
  %92 = getelementptr inbounds %struct._PROCESS_INFORMATION_TYPE, ptr %91, i32 0, i32 10
  %93 = getelementptr inbounds %struct._CONTEXT_TYPE, ptr %92, i32 0, i32 11
  store i32 %90, ptr %93, align 4, !tbaa !35
  %94 = load ptr, ptr %8, align 8, !tbaa !11
  %95 = getelementptr inbounds %struct._PROCESS_INFORMATION_TYPE, ptr %94, i32 0, i32 0
  %96 = load ptr, ptr %95, align 8, !tbaa !26
  %97 = getelementptr inbounds %struct._PROCESS_ATTRIBUTE_TYPE, ptr %96, i32 0, i32 4
  %98 = load i64, ptr %97, align 8, !tbaa !27
  %99 = icmp ne i64 %98, 0
  br i1 %99, label %100, label %277

100:                                              ; preds = %62
  %101 = load ptr, ptr %7, align 8, !tbaa !11
  %102 = getelementptr inbounds %struct._MODULE_INFORMATION_TYPE, ptr %101, i32 0, i32 8
  %103 = load ptr, ptr %102, align 8, !tbaa !13
  %104 = getelementptr inbounds %struct._PARTITION_INFORMATION_TYPE, ptr %103, i32 0, i32 4
  %105 = load i32, ptr %104, align 4, !tbaa !36
  %106 = icmp eq i32 %105, 4
  br i1 %106, label %107, label %273

107:                                              ; preds = %100
  %108 = load ptr, ptr %7, align 8, !tbaa !11
  %109 = getelementptr inbounds %struct._MODULE_INFORMATION_TYPE, ptr %108, i32 0, i32 8
  %110 = load ptr, ptr %109, align 8, !tbaa !13
  %111 = getelementptr inbounds %struct._PARTITION_INFORMATION_TYPE, ptr %110, i32 0, i32 15
  %112 = load i32, ptr %111, align 8, !tbaa !37
  %113 = add i32 %112, 1
  store i32 %113, ptr %9, align 4, !tbaa !5
  %114 = load i32, ptr %9, align 4, !tbaa !5
  %115 = load ptr, ptr %7, align 8, !tbaa !11
  %116 = getelementptr inbounds %struct._MODULE_INFORMATION_TYPE, ptr %115, i32 0, i32 8
  %117 = load ptr, ptr %116, align 8, !tbaa !13
  %118 = getelementptr inbounds %struct._PARTITION_INFORMATION_TYPE, ptr %117, i32 0, i32 2
  %119 = load ptr, ptr %118, align 8, !tbaa !38
  %120 = getelementptr inbounds %struct._PARTITION_CONFIGURATION_TYPE, ptr %119, i32 0, i32 24
  %121 = load ptr, ptr %120, align 8, !tbaa !39
  %122 = getelementptr inbounds %struct._PARTITION_CONFIGURATION_SCHEDULE_TYPE, ptr %121, i32 0, i32 2
  %123 = load i32, ptr %122, align 8, !tbaa !41
  %124 = icmp uge i32 %114, %123
  br i1 %124, label %125, label %126

125:                                              ; preds = %107
  store i32 0, ptr %9, align 4, !tbaa !5
  br label %126

126:                                              ; preds = %125, %107
  br label %127

127:                                              ; preds = %159, %126
  %128 = load ptr, ptr %7, align 8, !tbaa !11
  %129 = getelementptr inbounds %struct._MODULE_INFORMATION_TYPE, ptr %128, i32 0, i32 8
  %130 = load ptr, ptr %129, align 8, !tbaa !13
  %131 = getelementptr inbounds %struct._PARTITION_INFORMATION_TYPE, ptr %130, i32 0, i32 2
  %132 = load ptr, ptr %131, align 8, !tbaa !38
  %133 = getelementptr inbounds %struct._PARTITION_CONFIGURATION_TYPE, ptr %132, i32 0, i32 24
  %134 = load ptr, ptr %133, align 8, !tbaa !39
  %135 = getelementptr inbounds %struct._PARTITION_CONFIGURATION_SCHEDULE_TYPE, ptr %134, i32 0, i32 3
  %136 = load ptr, ptr %135, align 8, !tbaa !43
  %137 = load i32, ptr %9, align 4, !tbaa !5
  %138 = zext i32 %137 to i64
  %139 = getelementptr inbounds %struct._PARTITION_CONFIGURATION_SCHEDULE_WINDOW_TYPE, ptr %136, i64 %138
  %140 = getelementptr inbounds %struct._PARTITION_CONFIGURATION_SCHEDULE_WINDOW_TYPE, ptr %139, i32 0, i32 2
  %141 = load i8, ptr %140, align 8, !tbaa !44
  %142 = zext i8 %141 to i32
  %143 = icmp eq i32 %142, 0
  br i1 %143, label %144, label %160

144:                                              ; preds = %127
  %145 = load i32, ptr %9, align 4, !tbaa !5
  %146 = add i32 %145, 1
  store i32 %146, ptr %9, align 4, !tbaa !5
  %147 = load i32, ptr %9, align 4, !tbaa !5
  %148 = load ptr, ptr %7, align 8, !tbaa !11
  %149 = getelementptr inbounds %struct._MODULE_INFORMATION_TYPE, ptr %148, i32 0, i32 8
  %150 = load ptr, ptr %149, align 8, !tbaa !13
  %151 = getelementptr inbounds %struct._PARTITION_INFORMATION_TYPE, ptr %150, i32 0, i32 2
  %152 = load ptr, ptr %151, align 8, !tbaa !38
  %153 = getelementptr inbounds %struct._PARTITION_CONFIGURATION_TYPE, ptr %152, i32 0, i32 24
  %154 = load ptr, ptr %153, align 8, !tbaa !39
  %155 = getelementptr inbounds %struct._PARTITION_CONFIGURATION_SCHEDULE_TYPE, ptr %154, i32 0, i32 2
  %156 = load i32, ptr %155, align 8, !tbaa !41
  %157 = icmp uge i32 %147, %156
  br i1 %157, label %158, label %159

158:                                              ; preds = %144
  store i32 0, ptr %9, align 4, !tbaa !5
  br label %159

159:                                              ; preds = %158, %144
  br label %127, !llvm.loop !46

160:                                              ; preds = %127
  %161 = load i32, ptr %9, align 4, !tbaa !5
  %162 = load ptr, ptr %7, align 8, !tbaa !11
  %163 = getelementptr inbounds %struct._MODULE_INFORMATION_TYPE, ptr %162, i32 0, i32 8
  %164 = load ptr, ptr %163, align 8, !tbaa !13
  %165 = getelementptr inbounds %struct._PARTITION_INFORMATION_TYPE, ptr %164, i32 0, i32 15
  %166 = load i32, ptr %165, align 8, !tbaa !37
  %167 = icmp ule i32 %161, %166
  br i1 %167, label %168, label %193

168:                                              ; preds = %160
  %169 = load ptr, ptr %7, align 8, !tbaa !11
  %170 = getelementptr inbounds %struct._MODULE_INFORMATION_TYPE, ptr %169, i32 0, i32 12
  %171 = load i64, ptr %170, align 8, !tbaa !48
  %172 = load ptr, ptr %7, align 8, !tbaa !11
  %173 = getelementptr inbounds %struct._MODULE_INFORMATION_TYPE, ptr %172, i32 0, i32 8
  %174 = load ptr, ptr %173, align 8, !tbaa !13
  %175 = getelementptr inbounds %struct._PARTITION_INFORMATION_TYPE, ptr %174, i32 0, i32 2
  %176 = load ptr, ptr %175, align 8, !tbaa !38
  %177 = getelementptr inbounds %struct._PARTITION_CONFIGURATION_TYPE, ptr %176, i32 0, i32 24
  %178 = load ptr, ptr %177, align 8, !tbaa !39
  %179 = getelementptr inbounds %struct._PARTITION_CONFIGURATION_SCHEDULE_TYPE, ptr %178, i32 0, i32 3
  %180 = load ptr, ptr %179, align 8, !tbaa !43
  %181 = load i32, ptr %9, align 4, !tbaa !5
  %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 !49
  %186 = add nsw i64 %171, %185
  %187 = load ptr, ptr %8, align 8, !tbaa !11
  %188 = getelementptr inbounds %struct._PROCESS_INFORMATION_TYPE, ptr %187, i32 0, i32 5
  %189 = load i64, ptr %188, align 8, !tbaa !33
  %190 = add nsw i64 %186, %189
  %191 = load ptr, ptr %8, align 8, !tbaa !11
  %192 = getelementptr inbounds %struct._PROCESS_INFORMATION_TYPE, ptr %191, i32 0, i32 6
  store i64 %190, ptr %192, align 8, !tbaa !50
  br label %218

193:                                              ; preds = %160
  %194 = load ptr, ptr %7, align 8, !tbaa !11
  %195 = getelementptr inbounds %struct._MODULE_INFORMATION_TYPE, ptr %194, i32 0, i32 10
  %196 = load i64, ptr %195, align 8, !tbaa !51
  %197 = load ptr, ptr %7, align 8, !tbaa !11
  %198 = getelementptr inbounds %struct._MODULE_INFORMATION_TYPE, ptr %197, i32 0, i32 8
  %199 = load ptr, ptr %198, align 8, !tbaa !13
  %200 = getelementptr inbounds %struct._PARTITION_INFORMATION_TYPE, ptr %199, i32 0, i32 2
  %201 = load ptr, ptr %200, align 8, !tbaa !38
  %202 = getelementptr inbounds %struct._PARTITION_CONFIGURATION_TYPE, ptr %201, i32 0, i32 24
  %203 = load ptr, ptr %202, align 8, !tbaa !39
  %204 = getelementptr inbounds %struct._PARTITION_CONFIGURATION_SCHEDULE_TYPE, ptr %203, i32 0, i32 3
  %205 = load ptr, ptr %204, align 8, !tbaa !43
  %206 = load i32, ptr %9, align 4, !tbaa !5
  %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 !49
  %211 = add nsw i64 %196, %210
  %212 = load ptr, ptr %8, align 8, !tbaa !11
  %213 = getelementptr inbounds %struct._PROCESS_INFORMATION_TYPE, ptr %212, i32 0, i32 5
  %214 = load i64, ptr %213, align 8, !tbaa !33
  %215 = add nsw i64 %211, %214
  %216 = load ptr, ptr %8, align 8, !tbaa !11
  %217 = getelementptr inbounds %struct._PROCESS_INFORMATION_TYPE, ptr %216, i32 0, i32 6
  store i64 %215, ptr %217, align 8, !tbaa !50
  br label %218

218:                                              ; preds = %193, %168
  %219 = load ptr, ptr %8, align 8, !tbaa !11
  %220 = getelementptr inbounds %struct._PROCESS_INFORMATION_TYPE, ptr %219, i32 0, i32 0
  %221 = load ptr, ptr %220, align 8, !tbaa !26
  %222 = getelementptr inbounds %struct._PROCESS_ATTRIBUTE_TYPE, ptr %221, i32 0, i32 5
  %223 = load i64, ptr %222, align 8, !tbaa !52
  %224 = icmp ne i64 %223, -1
  br i1 %224, label %225, label %237

225:                                              ; preds = %218
  %226 = load ptr, ptr %8, align 8, !tbaa !11
  %227 = getelementptr inbounds %struct._PROCESS_INFORMATION_TYPE, ptr %226, i32 0, i32 6
  %228 = load i64, ptr %227, align 8, !tbaa !50
  %229 = load ptr, ptr %8, align 8, !tbaa !11
  %230 = getelementptr inbounds %struct._PROCESS_INFORMATION_TYPE, ptr %229, i32 0, i32 0
  %231 = load ptr, ptr %230, align 8, !tbaa !26
  %232 = getelementptr inbounds %struct._PROCESS_ATTRIBUTE_TYPE, ptr %231, i32 0, i32 5
  %233 = load i64, ptr %232, align 8, !tbaa !52
  %234 = add nsw i64 %228, %233
  %235 = load ptr, ptr %8, align 8, !tbaa !11
  %236 = getelementptr inbounds %struct._PROCESS_INFORMATION_TYPE, ptr %235, i32 0, i32 7
  store i64 %234, ptr %236, align 8, !tbaa !53
  br label %240

237:                                              ; preds = %218
  %238 = load ptr, ptr %8, align 8, !tbaa !11
  %239 = getelementptr inbounds %struct._PROCESS_INFORMATION_TYPE, ptr %238, i32 0, i32 7
  store i64 -1, ptr %239, align 8, !tbaa !53
  br label %240

240:                                              ; preds = %237, %225
  %241 = load ptr, ptr %8, align 8, !tbaa !11
  %242 = getelementptr inbounds %struct._PROCESS_INFORMATION_TYPE, ptr %241, i32 0, i32 4
  store i32 4, ptr %242, align 8, !tbaa !24
  %243 = load ptr, ptr %7, align 8, !tbaa !11
  %244 = getelementptr inbounds %struct._MODULE_INFORMATION_TYPE, ptr %243, i32 0, i32 10
  %245 = load i64, ptr %244, align 8, !tbaa !51
  %246 = load ptr, ptr %7, align 8, !tbaa !11
  %247 = getelementptr inbounds %struct._MODULE_INFORMATION_TYPE, ptr %246, i32 0, i32 11
  %248 = load i64, ptr %247, align 8, !tbaa !54
  %249 = add nsw i64 %245, %248
  %250 = load ptr, ptr %8, align 8, !tbaa !11
  %251 = getelementptr inbounds %struct._PROCESS_INFORMATION_TYPE, ptr %250, i32 0, i32 8
  store i64 %249, ptr %251, align 8, !tbaa !55
  %252 = load ptr, ptr %8, align 8, !tbaa !11
  %253 = getelementptr inbounds %struct._PROCESS_INFORMATION_TYPE, ptr %252, i32 0, i32 9
  store i64 -1, ptr %253, align 8, !tbaa !56
  %254 = load ptr, ptr %8, align 8, !tbaa !11
  %255 = getelementptr inbounds %struct._PROCESS_INFORMATION_TYPE, ptr %254, i32 0, i32 6
  %256 = load i64, ptr %255, align 8, !tbaa !50
  %257 = load ptr, ptr %8, align 8, !tbaa !11
  %258 = getelementptr inbounds %struct._PROCESS_INFORMATION_TYPE, ptr %257, i32 0, i32 13
  %259 = getelementptr inbounds %struct._priorityqueueENTRY, ptr %258, i32 0, i32 0
  store i64 %256, ptr %259, align 8, !tbaa !57
  %260 = load ptr, ptr %8, align 8, !tbaa !11
  %261 = getelementptr inbounds %struct._PROCESS_INFORMATION_TYPE, ptr %260, i32 0, i32 2
  %262 = load i32, ptr %261, align 8, !tbaa !58
  %263 = zext i32 %262 to i64
  %264 = load ptr, ptr %8, align 8, !tbaa !11
  %265 = getelementptr inbounds %struct._PROCESS_INFORMATION_TYPE, ptr %264, i32 0, i32 13
  %266 = getelementptr inbounds %struct._priorityqueueENTRY, ptr %265, i32 0, i32 1
  store i64 %263, ptr %266, align 8, !tbaa !59
  %267 = load ptr, ptr %7, align 8, !tbaa !11
  %268 = getelementptr inbounds %struct._MODULE_INFORMATION_TYPE, ptr %267, i32 0, i32 8
  %269 = load ptr, ptr %268, align 8, !tbaa !13
  %270 = getelementptr inbounds %struct._PARTITION_INFORMATION_TYPE, ptr %269, i32 0, i32 19
  %271 = load ptr, ptr %8, align 8, !tbaa !11
  %272 = getelementptr inbounds %struct._PROCESS_INFORMATION_TYPE, ptr %271, i32 0, i32 13
  call void @PRIORITYQUEUE_ENQUEUE(ptr noundef %270, ptr noundef %272)
  br label %276

273:                                              ; preds = %100
  %274 = load ptr, ptr %8, align 8, !tbaa !11
  %275 = getelementptr inbounds %struct._PROCESS_INFORMATION_TYPE, ptr %274, i32 0, i32 4
  store i32 4, ptr %275, align 8, !tbaa !24
  br label %276

276:                                              ; preds = %273, %240
  br label %441

277:                                              ; preds = %62
  %278 = load ptr, ptr %7, align 8, !tbaa !11
  %279 = getelementptr inbounds %struct._MODULE_INFORMATION_TYPE, ptr %278, i32 0, i32 8
  %280 = load ptr, ptr %279, align 8, !tbaa !13
  %281 = getelementptr inbounds %struct._PARTITION_INFORMATION_TYPE, ptr %280, i32 0, i32 4
  %282 = load i32, ptr %281, align 4, !tbaa !36
  %283 = icmp eq i32 %282, 4
  br i1 %283, label %284, label %437

284:                                              ; preds = %277
  %285 = load ptr, ptr %8, align 8, !tbaa !11
  %286 = getelementptr inbounds %struct._PROCESS_INFORMATION_TYPE, ptr %285, i32 0, i32 5
  %287 = load i64, ptr %286, align 8, !tbaa !33
  %288 = icmp eq i64 %287, 0
  br i1 %288, label %289, label %368

289:                                              ; preds = %284
  %290 = load ptr, ptr %7, align 8, !tbaa !11
  %291 = getelementptr inbounds %struct._MODULE_INFORMATION_TYPE, ptr %290, i32 0, i32 10
  %292 = load i64, ptr %291, align 8, !tbaa !51
  %293 = load ptr, ptr %7, align 8, !tbaa !11
  %294 = getelementptr inbounds %struct._MODULE_INFORMATION_TYPE, ptr %293, i32 0, i32 11
  %295 = load i64, ptr %294, align 8, !tbaa !54
  %296 = add nsw i64 %292, %295
  %297 = load ptr, ptr %8, align 8, !tbaa !11
  %298 = getelementptr inbounds %struct._PROCESS_INFORMATION_TYPE, ptr %297, i32 0, i32 6
  store i64 %296, ptr %298, align 8, !tbaa !50
  %299 = load ptr, ptr %8, align 8, !tbaa !11
  %300 = getelementptr inbounds %struct._PROCESS_INFORMATION_TYPE, ptr %299, i32 0, i32 0
  %301 = load ptr, ptr %300, align 8, !tbaa !26
  %302 = getelementptr inbounds %struct._PROCESS_ATTRIBUTE_TYPE, ptr %301, i32 0, i32 5
  %303 = load i64, ptr %302, align 8, !tbaa !52
  %304 = icmp ne i64 %303, -1
  br i1 %304, label %305, label %317

305:                                              ; preds = %289
  %306 = load ptr, ptr %8, align 8, !tbaa !11
  %307 = getelementptr inbounds %struct._PROCESS_INFORMATION_TYPE, ptr %306, i32 0, i32 6
  %308 = load i64, ptr %307, align 8, !tbaa !50
  %309 = load ptr, ptr %8, align 8, !tbaa !11
  %310 = getelementptr inbounds %struct._PROCESS_INFORMATION_TYPE, ptr %309, i32 0, i32 0
  %311 = load ptr, ptr %310, align 8, !tbaa !26
  %312 = getelementptr inbounds %struct._PROCESS_ATTRIBUTE_TYPE, ptr %311, i32 0, i32 5
  %313 = load i64, ptr %312, align 8, !tbaa !52
  %314 = add nsw i64 %308, %313
  %315 = load ptr, ptr %8, align 8, !tbaa !11
  %316 = getelementptr inbounds %struct._PROCESS_INFORMATION_TYPE, ptr %315, i32 0, i32 7
  store i64 %314, ptr %316, align 8, !tbaa !53
  br label %320

317:                                              ; preds = %289
  %318 = load ptr, ptr %8, align 8, !tbaa !11
  %319 = getelementptr inbounds %struct._PROCESS_INFORMATION_TYPE, ptr %318, i32 0, i32 7
  store i64 -1, ptr %319, align 8, !tbaa !53
  br label %320

320:                                              ; preds = %317, %305
  %321 = load ptr, ptr %8, align 8, !tbaa !11
  %322 = getelementptr inbounds %struct._PROCESS_INFORMATION_TYPE, ptr %321, i32 0, i32 4
  store i32 2, ptr %322, align 8, !tbaa !24
  %323 = load ptr, ptr %8, align 8, !tbaa !11
  %324 = getelementptr inbounds %struct._PROCESS_INFORMATION_TYPE, ptr %323, i32 0, i32 3
  %325 = load i32, ptr %324, align 4, !tbaa !32
  %326 = zext i32 %325 to i64
  %327 = load ptr, ptr %8, align 8, !tbaa !11
  %328 = getelementptr inbounds %struct._PROCESS_INFORMATION_TYPE, ptr %327, i32 0, i32 11
  %329 = getelementptr inbounds %struct._priorityqueueENTRY, ptr %328, i32 0, i32 0
  store i64 %326, ptr %329, align 8, !tbaa !60
  %330 = load ptr, ptr %8, align 8, !tbaa !11
  %331 = getelementptr inbounds %struct._PROCESS_INFORMATION_TYPE, ptr %330, i32 0, i32 2
  %332 = load i32, ptr %331, align 8, !tbaa !58
  %333 = zext i32 %332 to i64
  %334 = load ptr, ptr %8, align 8, !tbaa !11
  %335 = getelementptr inbounds %struct._PROCESS_INFORMATION_TYPE, ptr %334, i32 0, i32 11
  %336 = getelementptr inbounds %struct._priorityqueueENTRY, ptr %335, i32 0, i32 1
  store i64 %333, ptr %336, align 8, !tbaa !61
  %337 = load ptr, ptr %7, align 8, !tbaa !11
  %338 = getelementptr inbounds %struct._MODULE_INFORMATION_TYPE, ptr %337, i32 0, i32 8
  %339 = load ptr, ptr %338, align 8, !tbaa !13
  %340 = getelementptr inbounds %struct._PARTITION_INFORMATION_TYPE, ptr %339, i32 0, i32 17
  %341 = load ptr, ptr %8, align 8, !tbaa !11
  %342 = getelementptr inbounds %struct._PROCESS_INFORMATION_TYPE, ptr %341, i32 0, i32 11
  call void @PRIORITYQUEUE_ENQUEUE(ptr noundef %340, ptr noundef %342)
  %343 = load ptr, ptr %8, align 8, !tbaa !11
  %344 = getelementptr inbounds %struct._PROCESS_INFORMATION_TYPE, ptr %343, i32 0, i32 7
  %345 = load i64, ptr %344, align 8, !tbaa !53
  %346 = icmp ne i64 %345, -1
  br i1 %346, label %347, label %367

347:                                              ; preds = %320
  %348 = load ptr, ptr %8, align 8, !tbaa !11
  %349 = getelementptr inbounds %struct._PROCESS_INFORMATION_TYPE, ptr %348, i32 0, i32 7
  %350 = load i64, ptr %349, align 8, !tbaa !53
  %351 = load ptr, ptr %8, align 8, !tbaa !11
  %352 = getelementptr inbounds %struct._PROCESS_INFORMATION_TYPE, ptr %351, i32 0, i32 12
  %353 = getelementptr inbounds %struct._priorityqueueENTRY, ptr %352, i32 0, i32 0
  store i64 %350, ptr %353, align 8, !tbaa !62
  %354 = load ptr, ptr %8, align 8, !tbaa !11
  %355 = getelementptr inbounds %struct._PROCESS_INFORMATION_TYPE, ptr %354, i32 0, i32 2
  %356 = load i32, ptr %355, align 8, !tbaa !58
  %357 = zext i32 %356 to i64
  %358 = load ptr, ptr %8, align 8, !tbaa !11
  %359 = getelementptr inbounds %struct._PROCESS_INFORMATION_TYPE, ptr %358, i32 0, i32 12
  %360 = getelementptr inbounds %struct._priorityqueueENTRY, ptr %359, i32 0, i32 1
  store i64 %357, ptr %360, align 8, !tbaa !63
  %361 = load ptr, ptr %7, align 8, !tbaa !11
  %362 = getelementptr inbounds %struct._MODULE_INFORMATION_TYPE, ptr %361, i32 0, i32 8
  %363 = load ptr, ptr %362, align 8, !tbaa !13
  %364 = getelementptr inbounds %struct._PARTITION_INFORMATION_TYPE, ptr %363, i32 0, i32 18
  %365 = load ptr, ptr %8, align 8, !tbaa !11
  %366 = getelementptr inbounds %struct._PROCESS_INFORMATION_TYPE, ptr %365, i32 0, i32 12
  call void @PRIORITYQUEUE_ENQUEUE(ptr noundef %364, ptr noundef %366)
  br label %367

367:                                              ; preds = %347, %320
  br label %436

368:                                              ; preds = %284
  %369 = load ptr, ptr %7, align 8, !tbaa !11
  %370 = getelementptr inbounds %struct._MODULE_INFORMATION_TYPE, ptr %369, i32 0, i32 10
  %371 = load i64, ptr %370, align 8, !tbaa !51
  %372 = load ptr, ptr %7, align 8, !tbaa !11
  %373 = getelementptr inbounds %struct._MODULE_INFORMATION_TYPE, ptr %372, i32 0, i32 11
  %374 = load i64, ptr %373, align 8, !tbaa !54
  %375 = add nsw i64 %371, %374
  %376 = load ptr, ptr %8, align 8, !tbaa !11
  %377 = getelementptr inbounds %struct._PROCESS_INFORMATION_TYPE, ptr %376, i32 0, i32 5
  %378 = load i64, ptr %377, align 8, !tbaa !33
  %379 = add nsw i64 %375, %378
  %380 = load ptr, ptr %8, align 8, !tbaa !11
  %381 = getelementptr inbounds %struct._PROCESS_INFORMATION_TYPE, ptr %380, i32 0, i32 6
  store i64 %379, ptr %381, align 8, !tbaa !50
  %382 = load ptr, ptr %8, align 8, !tbaa !11
  %383 = getelementptr inbounds %struct._PROCESS_INFORMATION_TYPE, ptr %382, i32 0, i32 0
  %384 = load ptr, ptr %383, align 8, !tbaa !26
  %385 = getelementptr inbounds %struct._PROCESS_ATTRIBUTE_TYPE, ptr %384, i32 0, i32 5
  %386 = load i64, ptr %385, align 8, !tbaa !52
  %387 = icmp ne i64 %386, -1
  br i1 %387, label %388, label %400

388:                                              ; preds = %368
  %389 = load ptr, ptr %8, align 8, !tbaa !11
  %390 = getelementptr inbounds %struct._PROCESS_INFORMATION_TYPE, ptr %389, i32 0, i32 6
  %391 = load i64, ptr %390, align 8, !tbaa !50
  %392 = load ptr, ptr %8, align 8, !tbaa !11
  %393 = getelementptr inbounds %struct._PROCESS_INFORMATION_TYPE, ptr %392, i32 0, i32 0
  %394 = load ptr, ptr %393, align 8, !tbaa !26
  %395 = getelementptr inbounds %struct._PROCESS_ATTRIBUTE_TYPE, ptr %394, i32 0, i32 5
  %396 = load i64, ptr %395, align 8, !tbaa !52
  %397 = add nsw i64 %391, %396
  %398 = load ptr, ptr %8, align 8, !tbaa !11
  %399 = getelementptr inbounds %struct._PROCESS_INFORMATION_TYPE, ptr %398, i32 0, i32 7
  store i64 %397, ptr %399, align 8, !tbaa !53
  br label %403

400:                                              ; preds = %368
  %401 = load ptr, ptr %8, align 8, !tbaa !11
  %402 = getelementptr inbounds %struct._PROCESS_INFORMATION_TYPE, ptr %401, i32 0, i32 7
  store i64 -1, ptr %402, align 8, !tbaa !53
  br label %403

403:                                              ; preds = %400, %388
  %404 = load ptr, ptr %8, align 8, !tbaa !11
  %405 = getelementptr inbounds %struct._PROCESS_INFORMATION_TYPE, ptr %404, i32 0, i32 4
  store i32 4, ptr %405, align 8, !tbaa !24
  %406 = load ptr, ptr %7, align 8, !tbaa !11
  %407 = getelementptr inbounds %struct._MODULE_INFORMATION_TYPE, ptr %406, i32 0, i32 10
  %408 = load i64, ptr %407, align 8, !tbaa !51
  %409 = load ptr, ptr %7, align 8, !tbaa !11
  %410 = getelementptr inbounds %struct._MODULE_INFORMATION_TYPE, ptr %409, i32 0, i32 11
  %411 = load i64, ptr %410, align 8, !tbaa !54
  %412 = add nsw i64 %408, %411
  %413 = load ptr, ptr %8, align 8, !tbaa !11
  %414 = getelementptr inbounds %struct._PROCESS_INFORMATION_TYPE, ptr %413, i32 0, i32 8
  store i64 %412, ptr %414, align 8, !tbaa !55
  %415 = load ptr, ptr %8, align 8, !tbaa !11
  %416 = getelementptr inbounds %struct._PROCESS_INFORMATION_TYPE, ptr %415, i32 0, i32 9
  store i64 -1, ptr %416, align 8, !tbaa !56
  %417 = load ptr, ptr %8, align 8, !tbaa !11
  %418 = getelementptr inbounds %struct._PROCESS_INFORMATION_TYPE, ptr %417, i32 0, i32 6
  %419 = load i64, ptr %418, align 8, !tbaa !50
  %420 = load ptr, ptr %8, align 8, !tbaa !11
  %421 = getelementptr inbounds %struct._PROCESS_INFORMATION_TYPE, ptr %420, i32 0, i32 13
  %422 = getelementptr inbounds %struct._priorityqueueENTRY, ptr %421, i32 0, i32 0
  store i64 %419, ptr %422, align 8, !tbaa !57
  %423 = load ptr, ptr %8, align 8, !tbaa !11
  %424 = getelementptr inbounds %struct._PROCESS_INFORMATION_TYPE, ptr %423, i32 0, i32 2
  %425 = load i32, ptr %424, align 8, !tbaa !58
  %426 = zext i32 %425 to i64
  %427 = load ptr, ptr %8, align 8, !tbaa !11
  %428 = getelementptr inbounds %struct._PROCESS_INFORMATION_TYPE, ptr %427, i32 0, i32 13
  %429 = getelementptr inbounds %struct._priorityqueueENTRY, ptr %428, i32 0, i32 1
  store i64 %426, ptr %429, align 8, !tbaa !59
  %430 = load ptr, ptr %7, align 8, !tbaa !11
  %431 = getelementptr inbounds %struct._MODULE_INFORMATION_TYPE, ptr %430, i32 0, i32 8
  %432 = load ptr, ptr %431, align 8, !tbaa !13
  %433 = getelementptr inbounds %struct._PARTITION_INFORMATION_TYPE, ptr %432, i32 0, i32 19
  %434 = load ptr, ptr %8, align 8, !tbaa !11
  %435 = getelementptr inbounds %struct._PROCESS_INFORMATION_TYPE, ptr %434, i32 0, i32 13
  call void @PRIORITYQUEUE_ENQUEUE(ptr noundef %433, ptr noundef %435)
  br label %436

436:                                              ; preds = %403, %367
  br label %440

437:                                              ; preds = %277
  %438 = load ptr, ptr %8, align 8, !tbaa !11
  %439 = getelementptr inbounds %struct._PROCESS_INFORMATION_TYPE, ptr %438, i32 0, i32 4
  store i32 4, ptr %439, align 8, !tbaa !24
  br label %440

440:                                              ; preds = %437, %436
  br label %441

441:                                              ; preds = %440, %276
  %442 = load ptr, ptr %7, align 8, !tbaa !11
  %443 = getelementptr inbounds %struct._MODULE_INFORMATION_TYPE, ptr %442, i32 0, i32 8
  %444 = load ptr, ptr %443, align 8, !tbaa !13
  %445 = getelementptr inbounds %struct._PARTITION_INFORMATION_TYPE, ptr %444, i32 0, i32 6
  %446 = load i32, ptr %445, align 4, !tbaa !64
  %447 = icmp eq i32 %446, 0
  br i1 %447, label %448, label %449

448:                                              ; preds = %441
  call void @PORT_YIELD()
  br label %449

449:                                              ; preds = %448, %441
  %450 = load ptr, ptr %6, align 8, !tbaa !11
  store i32 1, ptr %450, align 4, !tbaa !5
  call void @EXIT_CORE()
  store i32 0, ptr %10, align 4
  br label %451

451:                                              ; preds = %449, %60, %43, %28, %18
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #3
  %452 = load i32, ptr %10, align 4
  switch i32 %452, label %454 [
    i32 0, label %453
    i32 1, label %453
  ]

453:                                              ; preds = %451, %451
  ret void

454:                                              ; preds = %451
  unreachable
}

declare void @PORT_PREPARECONTEXT(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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"long long", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"any pointer", !7, i64 0}
!13 = !{!14, !12, i64 136}
!14 = !{!"_MODULE_INFORMATION_TYPE", !12, i64 0, !15, i64 8, !6, i64 32, !6, i64 36, !6, i64 40, !16, i64 48, !6, i64 120, !12, i64 128, !12, i64 136, !17, i64 144, !10, i64 256, !10, i64 264, !10, i64 272, !18, i64 280}
!15 = !{!"_heapRECORD", !12, i64 0, !6, i64 8, !6, i64 12, !6, i64 16}
!16 = !{!"_CONTEXT_TYPE", !6, i64 0, !12, i64 8, !12, i64 16, !12, i64 24, !6, i64 32, !7, i64 36, !12, i64 40, !12, i64 48, !6, i64 56, !6, i64 60, !6, i64 64, !6, i64 68}
!17 = !{!"_HEALTHMONITORINGCALLBACK_INFORMATION_TYPE", !7, i64 0, !12, i64 8, !6, i64 16, !16, i64 24, !7, i64 96, !7, i64 97, !7, i64 98, !7, i64 99, !6, i64 100, !6, i64 104}
!18 = !{!"_priorityqueueRECORD", !12, i64 0, !6, i64 8, !7, i64 12, !7, i64 13}
!19 = !{!20, !6, i64 144}
!20 = !{!"_PARTITION_INFORMATION_TYPE", !7, i64 0, !12, i64 8, !12, i64 16, !6, i64 24, !6, i64 28, !6, i64 32, !6, i64 36, !7, i64 40, !15, i64 48, !16, i64 72, !6, i64 144, !12, i64 152, !12, i64 160, !21, i64 168, !17, i64 272, !6, i64 384, !22, i64 392, !18, i64 432, !18, i64 448, !18, i64 464, !6, i64 480, !6, i64 484, !12, i64 488, !6, i64 496, !12, i64 504, !6, i64 512, !12, i64 520, !6, i64 528, !12, i64 536, !6, i64 544, !12, i64 552, !6, i64 560, !12, i64 568, !6, i64 576, !12, i64 584}
!21 = !{!"_ERRORHANDLER_INFORMATION_TYPE", !7, i64 0, !12, i64 8, !6, i64 16, !16, i64 24, !7, i64 96, !7, i64 97, !7, i64 98, !7, i64 99, !6, i64 100}
!22 = !{!"_priorityqueueENTRY", !10, i64 0, !10, i64 8, !12, i64 16, !12, i64 24, !12, i64 32}
!23 = !{!20, !12, i64 152}
!24 = !{!25, !6, i64 24}
!25 = !{!"_PROCESS_INFORMATION_TYPE", !12, i64 0, !12, i64 8, !6, i64 16, !6, i64 20, !6, i64 24, !10, i64 32, !10, i64 40, !10, i64 48, !10, i64 56, !10, i64 64, !16, i64 72, !22, i64 144, !22, i64 184, !22, i64 224, !22, i64 264, !7, i64 304, !7, i64 305, !12, i64 312, !6, i64 320, !12, i64 328, !12, i64 336}
!26 = !{!25, !12, i64 0}
!27 = !{!28, !10, i64 24}
!28 = !{!"_PROCESS_ATTRIBUTE_TYPE", !12, i64 0, !12, i64 8, !6, i64 16, !6, i64 20, !10, i64 24, !10, i64 32, !6, i64 40}
!29 = !{!25, !7, i64 304}
!30 = !{!25, !7, i64 305}
!31 = !{!28, !6, i64 20}
!32 = !{!25, !6, i64 20}
!33 = !{!25, !10, i64 32}
!34 = !{!25, !6, i64 136}
!35 = !{!25, !6, i64 140}
!36 = !{!20, !6, i64 28}
!37 = !{!20, !6, i64 384}
!38 = !{!20, !12, i64 16}
!39 = !{!40, !12, i64 160}
!40 = !{!"_PARTITION_CONFIGURATION_TYPE", !6, i64 0, !12, i64 8, !6, i64 16, !6, i64 20, !6, i64 24, !6, i64 28, !6, i64 32, !6, i64 36, !6, i64 40, !6, i64 44, !12, i64 48, !6, i64 56, !12, i64 64, !6, i64 72, !12, i64 80, !6, i64 88, !12, i64 96, !6, i64 104, !12, i64 112, !6, i64 120, !12, i64 128, !6, i64 136, !12, i64 144, !6, i64 152, !12, i64 160, !12, i64 168, !6, i64 176, !12, i64 184, !12, i64 192}
!41 = !{!42, !6, i64 16}
!42 = !{!"_PARTITION_CONFIGURATION_SCHEDULE_TYPE", !10, i64 0, !10, i64 8, !6, i64 16, !12, i64 24}
!43 = !{!42, !12, i64 24}
!44 = !{!45, !7, i64 16}
!45 = !{!"_PARTITION_CONFIGURATION_SCHEDULE_WINDOW_TYPE", !10, i64 0, !10, i64 8, !7, i64 16}
!46 = distinct !{!46, !47}
!47 = !{!"llvm.loop.mustprogress"}
!48 = !{!14, !10, i64 272}
!49 = !{!45, !10, i64 0}
!50 = !{!25, !10, i64 40}
!51 = !{!14, !10, i64 256}
!52 = !{!28, !10, i64 32}
!53 = !{!25, !10, i64 48}
!54 = !{!14, !10, i64 264}
!55 = !{!25, !10, i64 56}
!56 = !{!25, !10, i64 64}
!57 = !{!25, !10, i64 224}
!58 = !{!25, !6, i64 16}
!59 = !{!25, !10, i64 232}
!60 = !{!25, !10, i64 144}
!61 = !{!25, !10, i64 152}
!62 = !{!25, !10, i64 184}
!63 = !{!25, !10, i64 192}
!64 = !{!20, !6, i64 36}


; 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._PROCESS_INFORMATION_TYPE = type { ptr, ptr, i32, i32, i32, i64, i64, i64, i64, i64, %struct._CONTEXT_TYPE, %struct._priorityqueueENTRY, %struct._priorityqueueENTRY, %struct._priorityqueueENTRY, %struct._priorityqueueENTRY, i8, i8, ptr, i32, ptr, ptr }
%struct._priorityqueueENTRY = type { i64, i64, ptr, ptr, ptr }
%struct._PARTITION_CONFIGURATION_SCHEDULE_WINDOW_TYPE = type { i64, i64, i8 }

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

declare void @ENTER_CORE() local_unnamed_addr #0

declare i32 @PORT_GETCORE() local_unnamed_addr #0

declare void @EXIT_CORE() local_unnamed_addr #0

declare void @PRIORITYQUEUE_REMOVE(ptr noundef) local_unnamed_addr #0

declare void @PRIORITYQUEUE_ENQUEUE(ptr noundef, ptr noundef) local_unnamed_addr #0

declare void @PORT_YIELD() local_unnamed_addr #0

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

10:                                               ; preds = %3
  %11 = getelementptr inbounds i8, ptr %8, i64 144
  %12 = load i32, ptr %11, align 8, !tbaa !16
  %.not = icmp ugt i32 %12, %0
  br i1 %.not, label %13, label %145

13:                                               ; preds = %10
  %14 = getelementptr inbounds i8, ptr %8, i64 152
  %15 = load ptr, ptr %14, align 8, !tbaa !20
  %16 = zext i32 %0 to i64
  %17 = getelementptr inbounds %struct._PROCESS_INFORMATION_TYPE, ptr %15, i64 %16
  %18 = getelementptr inbounds i8, ptr %17, i64 24
  %19 = load i32, ptr %18, align 8, !tbaa !21
  %.not121 = icmp eq i32 %19, 1
  br i1 %.not121, label %20, label %145

20:                                               ; preds = %13
  %21 = load ptr, ptr %17, align 8, !tbaa !23
  %22 = getelementptr inbounds i8, ptr %21, i64 24
  %23 = load i64, ptr %22, align 8, !tbaa !24
  %.not122 = icmp eq i64 %23, 0
  %.not123 = icmp sgt i64 %23, %1
  %or.cond = or i1 %.not122, %.not123
  br i1 %or.cond, label %24, label %145

24:                                               ; preds = %20
  %25 = getelementptr inbounds i8, ptr %17, i64 144
  tail call void @PRIORITYQUEUE_REMOVE(ptr noundef nonnull %25) #2
  %26 = getelementptr inbounds i8, ptr %17, i64 184
  tail call void @PRIORITYQUEUE_REMOVE(ptr noundef nonnull %26) #2
  %27 = getelementptr inbounds i8, ptr %17, i64 224
  tail call void @PRIORITYQUEUE_REMOVE(ptr noundef nonnull %27) #2
  %28 = getelementptr inbounds i8, ptr %17, i64 264
  tail call void @PRIORITYQUEUE_REMOVE(ptr noundef nonnull %28) #2
  %29 = getelementptr inbounds i8, ptr %17, i64 304
  store i8 0, ptr %29, align 8, !tbaa !26
  %30 = getelementptr inbounds i8, ptr %17, i64 305
  store i8 0, ptr %30, align 1, !tbaa !27
  %31 = load ptr, ptr %17, align 8, !tbaa !23
  %32 = getelementptr inbounds i8, ptr %31, i64 20
  %33 = load i32, ptr %32, align 4, !tbaa !28
  %34 = getelementptr inbounds i8, ptr %17, i64 20
  store i32 %33, ptr %34, align 4, !tbaa !29
  %35 = getelementptr inbounds i8, ptr %17, i64 32
  store i64 %1, ptr %35, align 8, !tbaa !30
  %36 = getelementptr inbounds i8, ptr %17, i64 72
  tail call void @PORT_PREPARECONTEXT(ptr noundef nonnull %36) #2
  %37 = getelementptr inbounds i8, ptr %17, i64 136
  %38 = load i32, ptr %37, align 8, !tbaa !31
  %39 = getelementptr inbounds i8, ptr %17, i64 140
  store i32 %38, ptr %39, align 4, !tbaa !32
  %40 = load ptr, ptr %17, align 8, !tbaa !23
  %41 = getelementptr inbounds i8, ptr %40, i64 24
  %42 = load i64, ptr %41, align 8, !tbaa !24
  %.not124 = icmp eq i64 %42, 0
  %43 = load ptr, ptr %7, align 8, !tbaa !5
  %44 = getelementptr inbounds i8, ptr %43, i64 28
  %45 = load i32, ptr %44, align 4, !tbaa !33
  %46 = icmp eq i32 %45, 4
  br i1 %.not124, label %95, label %47

47:                                               ; preds = %24
  br i1 %46, label %48, label %94

48:                                               ; preds = %47
  %49 = getelementptr inbounds i8, ptr %43, i64 384
  %50 = load i32, ptr %49, align 8, !tbaa !34
  %51 = add i32 %50, 1
  %52 = getelementptr inbounds i8, ptr %43, i64 16
  %53 = load ptr, ptr %52, align 8, !tbaa !35
  %54 = getelementptr inbounds i8, ptr %53, i64 160
  %55 = load ptr, ptr %54, align 8, !tbaa !36
  %56 = getelementptr inbounds i8, ptr %55, i64 16
  %57 = load i32, ptr %56, align 8, !tbaa !38
  %.not128 = icmp ult i32 %51, %57
  %spec.select = select i1 %.not128, i32 %51, i32 0
  %58 = getelementptr inbounds i8, ptr %55, i64 24
  %59 = load ptr, ptr %58, align 8, !tbaa !40
  %60 = zext i32 %spec.select to i64
  %61 = getelementptr inbounds %struct._PARTITION_CONFIGURATION_SCHEDULE_WINDOW_TYPE, ptr %59, i64 %60
  %62 = getelementptr inbounds i8, ptr %61, i64 16
  %63 = load i8, ptr %62, align 8, !tbaa !41
  %64 = icmp eq i8 %63, 0
  br i1 %64, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %48, %.lr.ph
  %.1133 = phi i32 [ %spec.select132, %.lr.ph ], [ %spec.select, %48 ]
  %65 = add i32 %.1133, 1
  %.not131 = icmp ult i32 %65, %57
  %spec.select132 = select i1 %.not131, i32 %65, i32 0
  %66 = zext i32 %spec.select132 to i64
  %67 = getelementptr inbounds %struct._PARTITION_CONFIGURATION_SCHEDULE_WINDOW_TYPE, ptr %59, i64 %66
  %68 = getelementptr inbounds i8, ptr %67, i64 16
  %69 = load i8, ptr %68, align 8, !tbaa !41
  %70 = icmp eq i8 %69, 0
  br i1 %70, label %.lr.ph, label %._crit_edge, !llvm.loop !43

._crit_edge:                                      ; preds = %.lr.ph, %48
  %.1.lcssa = phi i32 [ %spec.select, %48 ], [ %spec.select132, %.lr.ph ]
  %.lcssa = phi ptr [ %61, %48 ], [ %67, %.lr.ph ]
  %.not129 = icmp ugt i32 %.1.lcssa, %50
  %71 = load i64, ptr %.lcssa, align 8, !tbaa !45
  %72 = load i64, ptr %35, align 8, !tbaa !30
  %. = select i1 %.not129, i64 256, i64 272
  %73 = getelementptr inbounds i8, ptr %6, i64 %.
  %74 = load i64, ptr %73, align 8, !tbaa !46
  %75 = add nsw i64 %71, %74
  %76 = add nsw i64 %75, %72
  %77 = getelementptr inbounds i8, ptr %17, i64 40
  store i64 %76, ptr %77, align 8
  %78 = getelementptr inbounds i8, ptr %40, i64 32
  %79 = load i64, ptr %78, align 8, !tbaa !47
  %.not130 = icmp eq i64 %79, -1
  %80 = add nsw i64 %76, %79
  %.sink136 = select i1 %.not130, i64 -1, i64 %80
  %81 = getelementptr inbounds i8, ptr %17, i64 48
  store i64 %.sink136, ptr %81, align 8
  store i32 4, ptr %18, align 8, !tbaa !21
  %82 = getelementptr inbounds i8, ptr %6, i64 256
  %83 = load i64, ptr %82, align 8, !tbaa !48
  %84 = getelementptr inbounds i8, ptr %6, i64 264
  %85 = load i64, ptr %84, align 8, !tbaa !49
  %86 = add nsw i64 %85, %83
  %87 = getelementptr inbounds i8, ptr %17, i64 56
  store i64 %86, ptr %87, align 8, !tbaa !50
  %88 = getelementptr inbounds i8, ptr %17, i64 64
  store i64 -1, ptr %88, align 8, !tbaa !51
  store i64 %76, ptr %27, align 8, !tbaa !52
  %89 = getelementptr inbounds i8, ptr %17, i64 16
  %90 = load i32, ptr %89, align 8, !tbaa !53
  %91 = zext i32 %90 to i64
  %92 = getelementptr inbounds i8, ptr %17, i64 232
  store i64 %91, ptr %92, align 8, !tbaa !54
  %93 = getelementptr inbounds i8, ptr %43, i64 464
  tail call void @PRIORITYQUEUE_ENQUEUE(ptr noundef nonnull %93, ptr noundef nonnull %27) #2
  br label %139

94:                                               ; preds = %47
  store i32 4, ptr %18, align 8, !tbaa !21
  br label %139

95:                                               ; preds = %24
  br i1 %46, label %96, label %138

96:                                               ; preds = %95
  %97 = load i64, ptr %35, align 8, !tbaa !30
  %98 = icmp eq i64 %97, 0
  %99 = getelementptr inbounds i8, ptr %6, i64 256
  %100 = load i64, ptr %99, align 8, !tbaa !48
  %101 = getelementptr inbounds i8, ptr %6, i64 264
  %102 = load i64, ptr %101, align 8, !tbaa !49
  %103 = add nsw i64 %102, %100
  br i1 %98, label %104, label %124

104:                                              ; preds = %96
  %105 = getelementptr inbounds i8, ptr %17, i64 40
  store i64 %103, ptr %105, align 8, !tbaa !55
  %106 = getelementptr inbounds i8, ptr %40, i64 32
  %107 = load i64, ptr %106, align 8, !tbaa !47
  %.not126 = icmp eq i64 %107, -1
  %108 = add nsw i64 %107, %103
  %spec.select142 = select i1 %.not126, i64 -1, i64 %108
  %109 = getelementptr inbounds i8, ptr %17, i64 48
  store i64 %spec.select142, ptr %109, align 8
  store i32 2, ptr %18, align 8, !tbaa !21
  %110 = load i32, ptr %34, align 4, !tbaa !29
  %111 = zext i32 %110 to i64
  store i64 %111, ptr %25, align 8, !tbaa !56
  %112 = getelementptr inbounds i8, ptr %17, i64 16
  %113 = load i32, ptr %112, align 8, !tbaa !53
  %114 = zext i32 %113 to i64
  %115 = getelementptr inbounds i8, ptr %17, i64 152
  store i64 %114, ptr %115, align 8, !tbaa !57
  %116 = getelementptr inbounds i8, ptr %43, i64 432
  tail call void @PRIORITYQUEUE_ENQUEUE(ptr noundef nonnull %116, ptr noundef nonnull %25) #2
  %117 = load i64, ptr %109, align 8, !tbaa !58
  %.not127 = icmp eq i64 %117, -1
  br i1 %.not127, label %139, label %118

118:                                              ; preds = %104
  store i64 %117, ptr %26, align 8, !tbaa !59
  %119 = load i32, ptr %112, align 8, !tbaa !53
  %120 = zext i32 %119 to i64
  %121 = getelementptr inbounds i8, ptr %17, i64 192
  store i64 %120, ptr %121, align 8, !tbaa !60
  %122 = load ptr, ptr %7, align 8, !tbaa !5
  %123 = getelementptr inbounds i8, ptr %122, i64 448
  tail call void @PRIORITYQUEUE_ENQUEUE(ptr noundef nonnull %123, ptr noundef nonnull %26) #2
  br label %139

124:                                              ; preds = %96
  %125 = add nsw i64 %103, %97
  %126 = getelementptr inbounds i8, ptr %17, i64 40
  store i64 %125, ptr %126, align 8, !tbaa !55
  %127 = getelementptr inbounds i8, ptr %40, i64 32
  %128 = load i64, ptr %127, align 8, !tbaa !47
  %.not125 = icmp eq i64 %128, -1
  %129 = add nsw i64 %125, %128
  %spec.select143 = select i1 %.not125, i64 -1, i64 %129
  %130 = getelementptr inbounds i8, ptr %17, i64 48
  store i64 %spec.select143, ptr %130, align 8
  store i32 4, ptr %18, align 8, !tbaa !21
  %131 = getelementptr inbounds i8, ptr %17, i64 56
  store i64 %103, ptr %131, align 8, !tbaa !50
  %132 = getelementptr inbounds i8, ptr %17, i64 64
  store i64 -1, ptr %132, align 8, !tbaa !51
  store i64 %125, ptr %27, align 8, !tbaa !52
  %133 = getelementptr inbounds i8, ptr %17, i64 16
  %134 = load i32, ptr %133, align 8, !tbaa !53
  %135 = zext i32 %134 to i64
  %136 = getelementptr inbounds i8, ptr %17, i64 232
  store i64 %135, ptr %136, align 8, !tbaa !54
  %137 = getelementptr inbounds i8, ptr %43, i64 464
  tail call void @PRIORITYQUEUE_ENQUEUE(ptr noundef nonnull %137, ptr noundef nonnull %27) #2
  br label %139

138:                                              ; preds = %95
  store i32 4, ptr %18, align 8, !tbaa !21
  br label %139

139:                                              ; preds = %138, %104, %118, %124, %._crit_edge, %94
  %140 = load ptr, ptr %7, align 8, !tbaa !5
  %141 = getelementptr inbounds i8, ptr %140, i64 36
  %142 = load i32, ptr %141, align 4, !tbaa !61
  %143 = icmp eq i32 %142, 0
  br i1 %143, label %144, label %145

144:                                              ; preds = %139
  tail call void @PORT_YIELD() #2
  br label %145

145:                                              ; preds = %139, %144, %20, %13, %10, %3
  %.sink = phi i32 [ 6, %3 ], [ 4, %10 ], [ 2, %13 ], [ 4, %20 ], [ 1, %144 ], [ 1, %139 ]
  store i32 %.sink, ptr %2, align 4, !tbaa !62
  tail call void @EXIT_CORE() #2
  ret void
}

declare void @PORT_PREPARECONTEXT(ptr noundef) local_unnamed_addr #0

attributes #0 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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, !7, i64 136}
!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 = !{!17, !11, i64 144}
!17 = !{!"_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, !18, i64 168, !13, i64 272, !11, i64 384, !19, 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}
!18 = !{!"_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}
!19 = !{!"_priorityqueueENTRY", !14, i64 0, !14, i64 8, !7, i64 16, !7, i64 24, !7, i64 32}
!20 = !{!17, !7, i64 152}
!21 = !{!22, !11, i64 24}
!22 = !{!"_PROCESS_INFORMATION_TYPE", !7, i64 0, !7, i64 8, !11, i64 16, !11, i64 20, !11, i64 24, !14, i64 32, !14, i64 40, !14, i64 48, !14, i64 56, !14, i64 64, !12, i64 72, !19, i64 144, !19, i64 184, !19, i64 224, !19, i64 264, !8, i64 304, !8, i64 305, !7, i64 312, !11, i64 320, !7, i64 328, !7, i64 336}
!23 = !{!22, !7, i64 0}
!24 = !{!25, !14, i64 24}
!25 = !{!"_PROCESS_ATTRIBUTE_TYPE", !7, i64 0, !7, i64 8, !11, i64 16, !11, i64 20, !14, i64 24, !14, i64 32, !11, i64 40}
!26 = !{!22, !8, i64 304}
!27 = !{!22, !8, i64 305}
!28 = !{!25, !11, i64 20}
!29 = !{!22, !11, i64 20}
!30 = !{!22, !14, i64 32}
!31 = !{!22, !11, i64 136}
!32 = !{!22, !11, i64 140}
!33 = !{!17, !11, i64 28}
!34 = !{!17, !11, i64 384}
!35 = !{!17, !7, i64 16}
!36 = !{!37, !7, i64 160}
!37 = !{!"_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}
!38 = !{!39, !11, i64 16}
!39 = !{!"_PARTITION_CONFIGURATION_SCHEDULE_TYPE", !14, i64 0, !14, i64 8, !11, i64 16, !7, i64 24}
!40 = !{!39, !7, i64 24}
!41 = !{!42, !8, i64 16}
!42 = !{!"_PARTITION_CONFIGURATION_SCHEDULE_WINDOW_TYPE", !14, i64 0, !14, i64 8, !8, i64 16}
!43 = distinct !{!43, !44}
!44 = !{!"llvm.loop.mustprogress"}
!45 = !{!42, !14, i64 0}
!46 = !{!14, !14, i64 0}
!47 = !{!25, !14, i64 32}
!48 = !{!6, !14, i64 256}
!49 = !{!6, !14, i64 264}
!50 = !{!22, !14, i64 56}
!51 = !{!22, !14, i64 64}
!52 = !{!22, !14, i64 224}
!53 = !{!22, !11, i64 16}
!54 = !{!22, !14, i64 232}
!55 = !{!22, !14, i64 40}
!56 = !{!22, !14, i64 144}
!57 = !{!22, !14, i64 152}
!58 = !{!22, !14, i64 48}
!59 = !{!22, !14, i64 184}
!60 = !{!22, !14, i64 192}
!61 = !{!17, !11, i64 36}
!62 = !{!11, !11, i64 0}


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