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

; 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._BUFFER_INFORMATION_TYPE = type { i32, ptr, i32, i32, i32, i32, i32, ptr, ptr, %struct._priorityqueueRECORD }
%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 }

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

26:                                               ; preds = %5
  %27 = load ptr, ptr %10, align 8, !tbaa !9
  store i32 6, ptr %27, align 4, !tbaa !5
  call void @EXIT_CORE()
  store i32 1, ptr %18, align 4
  br label %224

28:                                               ; preds = %5
  %29 = load ptr, ptr %11, align 8, !tbaa !9
  %30 = getelementptr inbounds %struct._MODULE_INFORMATION_TYPE, ptr %29, i32 0, i32 8
  %31 = load ptr, ptr %30, align 8, !tbaa !13
  %32 = getelementptr inbounds %struct._PARTITION_INFORMATION_TYPE, ptr %31, i32 0, i32 12
  %33 = load ptr, ptr %32, align 8, !tbaa !19
  %34 = icmp eq ptr %33, null
  br i1 %34, label %35, label %37

35:                                               ; preds = %28
  %36 = load ptr, ptr %10, align 8, !tbaa !9
  store i32 6, ptr %36, align 4, !tbaa !5
  call void @EXIT_CORE()
  store i32 1, ptr %18, align 4
  br label %224

37:                                               ; preds = %28
  %38 = load i32, ptr %6, align 4, !tbaa !5
  %39 = load ptr, ptr %11, align 8, !tbaa !9
  %40 = getelementptr inbounds %struct._MODULE_INFORMATION_TYPE, ptr %39, i32 0, i32 8
  %41 = load ptr, ptr %40, align 8, !tbaa !13
  %42 = getelementptr inbounds %struct._PARTITION_INFORMATION_TYPE, ptr %41, i32 0, i32 27
  %43 = load i32, ptr %42, align 8, !tbaa !23
  %44 = icmp uge i32 %38, %43
  br i1 %44, label %45, label %47

45:                                               ; preds = %37
  %46 = load ptr, ptr %10, align 8, !tbaa !9
  store i32 4, ptr %46, align 4, !tbaa !5
  call void @EXIT_CORE()
  store i32 1, ptr %18, align 4
  br label %224

47:                                               ; preds = %37
  %48 = load ptr, ptr %11, align 8, !tbaa !9
  %49 = getelementptr inbounds %struct._MODULE_INFORMATION_TYPE, ptr %48, i32 0, i32 8
  %50 = load ptr, ptr %49, align 8, !tbaa !13
  %51 = getelementptr inbounds %struct._PARTITION_INFORMATION_TYPE, ptr %50, i32 0, i32 28
  %52 = load ptr, ptr %51, align 8, !tbaa !24
  %53 = load i32, ptr %6, align 4, !tbaa !5
  %54 = zext i32 %53 to i64
  %55 = getelementptr inbounds %struct._BUFFER_INFORMATION_TYPE, ptr %52, i64 %54
  store ptr %55, ptr %12, align 8, !tbaa !9
  %56 = load i32, ptr %8, align 4, !tbaa !5
  %57 = load ptr, ptr %12, align 8, !tbaa !9
  %58 = getelementptr inbounds %struct._BUFFER_INFORMATION_TYPE, ptr %57, i32 0, i32 2
  %59 = load i32, ptr %58, align 8, !tbaa !25
  %60 = icmp ugt i32 %56, %59
  br i1 %60, label %61, label %63

61:                                               ; preds = %47
  %62 = load ptr, ptr %10, align 8, !tbaa !9
  store i32 4, ptr %62, align 4, !tbaa !5
  call void @EXIT_CORE()
  store i32 1, ptr %18, align 4
  br label %224

63:                                               ; preds = %47
  %64 = load i64, ptr %9, align 8, !tbaa !11
  %65 = icmp slt i64 %64, 0
  br i1 %65, label %66, label %71

66:                                               ; preds = %63
  %67 = load i64, ptr %9, align 8, !tbaa !11
  %68 = icmp ne i64 %67, -1
  br i1 %68, label %69, label %71

69:                                               ; preds = %66
  %70 = load ptr, ptr %10, align 8, !tbaa !9
  store i32 4, ptr %70, align 4, !tbaa !5
  call void @EXIT_CORE()
  store i32 1, ptr %18, align 4
  br label %224

71:                                               ; preds = %66, %63
  %72 = load ptr, ptr %12, align 8, !tbaa !9
  %73 = getelementptr inbounds %struct._BUFFER_INFORMATION_TYPE, ptr %72, i32 0, i32 5
  %74 = load i32, ptr %73, align 4, !tbaa !27
  %75 = load ptr, ptr %12, align 8, !tbaa !9
  %76 = getelementptr inbounds %struct._BUFFER_INFORMATION_TYPE, ptr %75, i32 0, i32 3
  %77 = load i32, ptr %76, align 4, !tbaa !28
  %78 = icmp ult i32 %74, %77
  br i1 %78, label %79, label %193

79:                                               ; preds = %71
  %80 = load ptr, ptr %12, align 8, !tbaa !9
  %81 = getelementptr inbounds %struct._BUFFER_INFORMATION_TYPE, ptr %80, i32 0, i32 9
  %82 = getelementptr inbounds %struct._priorityqueueRECORD, ptr %81, i32 0, i32 1
  %83 = load i32, ptr %82, align 8, !tbaa !29
  %84 = icmp eq i32 %83, 0
  br i1 %84, label %85, label %142

85:                                               ; preds = %79
  %86 = load ptr, ptr %12, align 8, !tbaa !9
  %87 = getelementptr inbounds %struct._BUFFER_INFORMATION_TYPE, ptr %86, i32 0, i32 6
  %88 = load i32, ptr %87, align 8, !tbaa !30
  %89 = load ptr, ptr %12, align 8, !tbaa !9
  %90 = getelementptr inbounds %struct._BUFFER_INFORMATION_TYPE, ptr %89, i32 0, i32 5
  %91 = load i32, ptr %90, align 4, !tbaa !27
  %92 = add i32 %88, %91
  store i32 %92, ptr %13, align 4, !tbaa !5
  %93 = load i32, ptr %13, align 4, !tbaa !5
  %94 = load ptr, ptr %12, align 8, !tbaa !9
  %95 = getelementptr inbounds %struct._BUFFER_INFORMATION_TYPE, ptr %94, i32 0, i32 3
  %96 = load i32, ptr %95, align 4, !tbaa !28
  %97 = icmp uge i32 %93, %96
  br i1 %97, label %98, label %104

98:                                               ; preds = %85
  %99 = load ptr, ptr %12, align 8, !tbaa !9
  %100 = getelementptr inbounds %struct._BUFFER_INFORMATION_TYPE, ptr %99, i32 0, i32 3
  %101 = load i32, ptr %100, align 4, !tbaa !28
  %102 = load i32, ptr %13, align 4, !tbaa !5
  %103 = sub i32 %102, %101
  store i32 %103, ptr %13, align 4, !tbaa !5
  br label %104

104:                                              ; preds = %98, %85
  store i32 0, ptr %14, align 4, !tbaa !5
  br label %105

105:                                              ; preds = %127, %104
  %106 = load i32, ptr %14, align 4, !tbaa !5
  %107 = load i32, ptr %8, align 4, !tbaa !5
  %108 = icmp ult i32 %106, %107
  br i1 %108, label %109, label %130

109:                                              ; preds = %105
  %110 = load ptr, ptr %7, align 8, !tbaa !9
  %111 = load i32, ptr %14, align 4, !tbaa !5
  %112 = zext i32 %111 to i64
  %113 = getelementptr inbounds i8, ptr %110, i64 %112
  %114 = load i8, ptr %113, align 1, !tbaa !31
  %115 = load ptr, ptr %12, align 8, !tbaa !9
  %116 = getelementptr inbounds %struct._BUFFER_INFORMATION_TYPE, ptr %115, i32 0, i32 7
  %117 = load ptr, ptr %116, align 8, !tbaa !32
  %118 = load i32, ptr %13, align 4, !tbaa !5
  %119 = load ptr, ptr %12, align 8, !tbaa !9
  %120 = getelementptr inbounds %struct._BUFFER_INFORMATION_TYPE, ptr %119, i32 0, i32 2
  %121 = load i32, ptr %120, align 8, !tbaa !25
  %122 = mul i32 %118, %121
  %123 = load i32, ptr %14, align 4, !tbaa !5
  %124 = add i32 %122, %123
  %125 = zext i32 %124 to i64
  %126 = getelementptr inbounds i8, ptr %117, i64 %125
  store i8 %114, ptr %126, align 1, !tbaa !31
  br label %127

127:                                              ; preds = %109
  %128 = load i32, ptr %14, align 4, !tbaa !5
  %129 = add i32 %128, 1
  store i32 %129, ptr %14, align 4, !tbaa !5
  br label %105, !llvm.loop !33

130:                                              ; preds = %105
  %131 = load i32, ptr %8, align 4, !tbaa !5
  %132 = load ptr, ptr %12, align 8, !tbaa !9
  %133 = getelementptr inbounds %struct._BUFFER_INFORMATION_TYPE, ptr %132, i32 0, i32 8
  %134 = load ptr, ptr %133, align 8, !tbaa !35
  %135 = load i32, ptr %13, align 4, !tbaa !5
  %136 = zext i32 %135 to i64
  %137 = getelementptr inbounds i32, ptr %134, i64 %136
  store i32 %131, ptr %137, align 4, !tbaa !5
  %138 = load ptr, ptr %12, align 8, !tbaa !9
  %139 = getelementptr inbounds %struct._BUFFER_INFORMATION_TYPE, ptr %138, i32 0, i32 5
  %140 = load i32, ptr %139, align 4, !tbaa !27
  %141 = add i32 %140, 1
  store i32 %141, ptr %139, align 4, !tbaa !27
  br label %191

142:                                              ; preds = %79
  %143 = load ptr, ptr %12, align 8, !tbaa !9
  %144 = getelementptr inbounds %struct._BUFFER_INFORMATION_TYPE, ptr %143, i32 0, i32 9
  %145 = getelementptr inbounds %struct._priorityqueueRECORD, ptr %144, i32 0, i32 0
  %146 = load ptr, ptr %145, align 8, !tbaa !36
  store ptr %146, ptr %15, align 8, !tbaa !9
  %147 = load ptr, ptr %15, align 8, !tbaa !9
  %148 = getelementptr inbounds %struct._priorityqueueENTRY, ptr %147, i32 0, i32 1
  %149 = load i64, ptr %148, align 8, !tbaa !37
  %150 = trunc i64 %149 to i32
  store i32 %150, ptr %16, align 4, !tbaa !5
  %151 = load ptr, ptr %11, align 8, !tbaa !9
  %152 = getelementptr inbounds %struct._MODULE_INFORMATION_TYPE, ptr %151, i32 0, i32 8
  %153 = load ptr, ptr %152, align 8, !tbaa !13
  %154 = getelementptr inbounds %struct._PARTITION_INFORMATION_TYPE, ptr %153, i32 0, i32 11
  %155 = load ptr, ptr %154, align 8, !tbaa !38
  %156 = load i32, ptr %16, align 4, !tbaa !5
  %157 = zext i32 %156 to i64
  %158 = getelementptr inbounds %struct._PROCESS_INFORMATION_TYPE, ptr %155, i64 %157
  store ptr %158, ptr %17, align 8, !tbaa !9
  store i32 0, ptr %14, align 4, !tbaa !5
  br label %159

159:                                              ; preds = %175, %142
  %160 = load i32, ptr %14, align 4, !tbaa !5
  %161 = load i32, ptr %8, align 4, !tbaa !5
  %162 = icmp ult i32 %160, %161
  br i1 %162, label %163, label %178

163:                                              ; preds = %159
  %164 = load ptr, ptr %7, align 8, !tbaa !9
  %165 = load i32, ptr %14, align 4, !tbaa !5
  %166 = zext i32 %165 to i64
  %167 = getelementptr inbounds i8, ptr %164, i64 %166
  %168 = load i8, ptr %167, align 1, !tbaa !31
  %169 = load ptr, ptr %17, align 8, !tbaa !9
  %170 = getelementptr inbounds %struct._PROCESS_INFORMATION_TYPE, ptr %169, i32 0, i32 19
  %171 = load ptr, ptr %170, align 8, !tbaa !39
  %172 = load i32, ptr %14, align 4, !tbaa !5
  %173 = zext i32 %172 to i64
  %174 = getelementptr inbounds i8, ptr %171, i64 %173
  store i8 %168, ptr %174, align 1, !tbaa !31
  br label %175

175:                                              ; preds = %163
  %176 = load i32, ptr %14, align 4, !tbaa !5
  %177 = add i32 %176, 1
  store i32 %177, ptr %14, align 4, !tbaa !5
  br label %159, !llvm.loop !41

178:                                              ; preds = %159
  %179 = load i32, ptr %8, align 4, !tbaa !5
  %180 = load ptr, ptr %17, align 8, !tbaa !9
  %181 = getelementptr inbounds %struct._PROCESS_INFORMATION_TYPE, ptr %180, i32 0, i32 20
  %182 = load ptr, ptr %181, align 8, !tbaa !42
  store i32 %179, ptr %182, align 4, !tbaa !5
  %183 = load ptr, ptr %11, align 8, !tbaa !9
  %184 = getelementptr inbounds %struct._MODULE_INFORMATION_TYPE, ptr %183, i32 0, i32 8
  %185 = load ptr, ptr %184, align 8, !tbaa !13
  %186 = getelementptr inbounds %struct._PARTITION_INFORMATION_TYPE, ptr %185, i32 0, i32 3
  %187 = load i32, ptr %186, align 8, !tbaa !43
  %188 = load ptr, ptr %12, align 8, !tbaa !9
  %189 = getelementptr inbounds %struct._BUFFER_INFORMATION_TYPE, ptr %188, i32 0, i32 9
  %190 = load ptr, ptr %10, align 8, !tbaa !9
  call void @SIGNAL_RESOURCE(i32 noundef %187, ptr noundef %189, i8 noundef zeroext 1, ptr noundef %190)
  br label %191

191:                                              ; preds = %178, %130
  %192 = load ptr, ptr %10, align 8, !tbaa !9
  store i32 1, ptr %192, align 4, !tbaa !5
  call void @EXIT_CORE()
  store i32 1, ptr %18, align 4
  br label %224

193:                                              ; preds = %71
  %194 = load ptr, ptr %7, align 8, !tbaa !9
  %195 = load ptr, ptr %11, align 8, !tbaa !9
  %196 = getelementptr inbounds %struct._MODULE_INFORMATION_TYPE, ptr %195, i32 0, i32 8
  %197 = load ptr, ptr %196, align 8, !tbaa !13
  %198 = getelementptr inbounds %struct._PARTITION_INFORMATION_TYPE, ptr %197, i32 0, i32 12
  %199 = load ptr, ptr %198, align 8, !tbaa !19
  %200 = getelementptr inbounds %struct._PROCESS_INFORMATION_TYPE, ptr %199, i32 0, i32 17
  store ptr %194, ptr %200, align 8, !tbaa !44
  %201 = load i32, ptr %8, align 4, !tbaa !5
  %202 = load ptr, ptr %11, align 8, !tbaa !9
  %203 = getelementptr inbounds %struct._MODULE_INFORMATION_TYPE, ptr %202, i32 0, i32 8
  %204 = load ptr, ptr %203, align 8, !tbaa !13
  %205 = getelementptr inbounds %struct._PARTITION_INFORMATION_TYPE, ptr %204, i32 0, i32 12
  %206 = load ptr, ptr %205, align 8, !tbaa !19
  %207 = getelementptr inbounds %struct._PROCESS_INFORMATION_TYPE, ptr %206, i32 0, i32 18
  store i32 %201, ptr %207, align 8, !tbaa !45
  %208 = load ptr, ptr %11, align 8, !tbaa !9
  %209 = getelementptr inbounds %struct._MODULE_INFORMATION_TYPE, ptr %208, i32 0, i32 8
  %210 = load ptr, ptr %209, align 8, !tbaa !13
  %211 = getelementptr inbounds %struct._PARTITION_INFORMATION_TYPE, ptr %210, i32 0, i32 3
  %212 = load i32, ptr %211, align 8, !tbaa !43
  %213 = load ptr, ptr %11, align 8, !tbaa !9
  %214 = getelementptr inbounds %struct._MODULE_INFORMATION_TYPE, ptr %213, i32 0, i32 8
  %215 = load ptr, ptr %214, align 8, !tbaa !13
  %216 = getelementptr inbounds %struct._PARTITION_INFORMATION_TYPE, ptr %215, i32 0, i32 12
  %217 = load ptr, ptr %216, align 8, !tbaa !19
  %218 = getelementptr inbounds %struct._PROCESS_INFORMATION_TYPE, ptr %217, i32 0, i32 2
  %219 = load i32, ptr %218, align 8, !tbaa !46
  %220 = load ptr, ptr %12, align 8, !tbaa !9
  %221 = getelementptr inbounds %struct._BUFFER_INFORMATION_TYPE, ptr %220, i32 0, i32 9
  %222 = load i64, ptr %9, align 8, !tbaa !11
  %223 = load ptr, ptr %10, align 8, !tbaa !9
  call void @WAIT_RESOURCE(i32 noundef %212, i32 noundef %219, ptr noundef %221, i64 noundef %222, ptr noundef %223)
  call void @EXIT_CORE()
  store i32 0, ptr %18, align 4
  br label %224

224:                                              ; preds = %193, %191, %69, %61, %45, %35, %26
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #3
  call void @llvm.lifetime.end.p0(i64 4, 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
  %225 = load i32, ptr %18, align 4
  switch i32 %225, label %227 [
    i32 0, label %226
    i32 1, label %226
  ]

226:                                              ; preds = %224, %224
  ret void

227:                                              ; preds = %224
  unreachable
}

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

declare void @WAIT_RESOURCE(i32 noundef, i32 noundef, ptr noundef, i64 noundef, 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 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"long long", !7, i64 0}
!13 = !{!14, !10, i64 136}
!14 = !{!"_MODULE_INFORMATION_TYPE", !10, i64 0, !15, i64 8, !6, i64 32, !6, i64 36, !6, i64 40, !16, i64 48, !6, i64 120, !10, i64 128, !10, i64 136, !17, i64 144, !12, i64 256, !12, i64 264, !12, i64 272, !18, i64 280}
!15 = !{!"_heapRECORD", !10, i64 0, !6, i64 8, !6, i64 12, !6, i64 16}
!16 = !{!"_CONTEXT_TYPE", !6, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !6, i64 32, !7, i64 36, !10, i64 40, !10, i64 48, !6, i64 56, !6, i64 60, !6, i64 64, !6, i64 68}
!17 = !{!"_HEALTHMONITORINGCALLBACK_INFORMATION_TYPE", !7, i64 0, !10, 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", !10, i64 0, !6, i64 8, !7, i64 12, !7, i64 13}
!19 = !{!20, !10, i64 160}
!20 = !{!"_PARTITION_INFORMATION_TYPE", !7, i64 0, !10, i64 8, !10, 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, !10, i64 152, !10, 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, !10, i64 488, !6, i64 496, !10, i64 504, !6, i64 512, !10, i64 520, !6, i64 528, !10, i64 536, !6, i64 544, !10, i64 552, !6, i64 560, !10, i64 568, !6, i64 576, !10, i64 584}
!21 = !{!"_ERRORHANDLER_INFORMATION_TYPE", !7, i64 0, !10, 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", !12, i64 0, !12, i64 8, !10, i64 16, !10, i64 24, !10, i64 32}
!23 = !{!20, !6, i64 528}
!24 = !{!20, !10, i64 536}
!25 = !{!26, !6, i64 16}
!26 = !{!"_BUFFER_INFORMATION_TYPE", !6, i64 0, !10, i64 8, !6, i64 16, !6, i64 20, !6, i64 24, !6, i64 28, !6, i64 32, !10, i64 40, !10, i64 48, !18, i64 56}
!27 = !{!26, !6, i64 28}
!28 = !{!26, !6, i64 20}
!29 = !{!26, !6, i64 64}
!30 = !{!26, !6, i64 32}
!31 = !{!7, !7, i64 0}
!32 = !{!26, !10, i64 40}
!33 = distinct !{!33, !34}
!34 = !{!"llvm.loop.mustprogress"}
!35 = !{!26, !10, i64 48}
!36 = !{!26, !10, i64 56}
!37 = !{!22, !12, i64 8}
!38 = !{!20, !10, i64 152}
!39 = !{!40, !10, i64 328}
!40 = !{!"_PROCESS_INFORMATION_TYPE", !10, i64 0, !10, i64 8, !6, i64 16, !6, i64 20, !6, i64 24, !12, i64 32, !12, i64 40, !12, i64 48, !12, i64 56, !12, i64 64, !16, i64 72, !22, i64 144, !22, i64 184, !22, i64 224, !22, i64 264, !7, i64 304, !7, i64 305, !10, i64 312, !6, i64 320, !10, i64 328, !10, i64 336}
!41 = distinct !{!41, !34}
!42 = !{!40, !10, i64 336}
!43 = !{!20, !6, i64 24}
!44 = !{!40, !10, i64 312}
!45 = !{!40, !6, i64 320}
!46 = !{!40, !6, i64 16}


; 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._BUFFER_INFORMATION_TYPE = type { i32, ptr, i32, i32, i32, i32, i32, ptr, ptr, %struct._priorityqueueRECORD }
%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 }

@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

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

11:                                               ; preds = %5
  store i32 6, ptr %4, align 4, !tbaa !16
  br label %129

12:                                               ; preds = %5
  %13 = getelementptr inbounds i8, ptr %9, i64 160
  %14 = load ptr, ptr %13, align 8, !tbaa !17
  %15 = icmp eq ptr %14, null
  br i1 %15, label %16, label %17

16:                                               ; preds = %12
  store i32 6, ptr %4, align 4, !tbaa !16
  br label %129

17:                                               ; preds = %12
  %18 = getelementptr inbounds i8, ptr %9, i64 528
  %19 = load i32, ptr %18, align 8, !tbaa !21
  %.not = icmp ugt i32 %19, %0
  br i1 %.not, label %21, label %20

20:                                               ; preds = %17
  store i32 4, ptr %4, align 4, !tbaa !16
  br label %129

21:                                               ; preds = %17
  %22 = getelementptr inbounds i8, ptr %9, i64 536
  %23 = load ptr, ptr %22, align 8, !tbaa !22
  %24 = zext i32 %0 to i64
  %25 = getelementptr inbounds %struct._BUFFER_INFORMATION_TYPE, ptr %23, i64 %24
  %26 = getelementptr inbounds i8, ptr %25, i64 16
  %27 = load i32, ptr %26, align 8, !tbaa !23
  %28 = icmp ult i32 %27, %2
  br i1 %28, label %29, label %30

29:                                               ; preds = %21
  store i32 4, ptr %4, align 4, !tbaa !16
  br label %129

30:                                               ; preds = %21
  %or.cond = icmp slt i64 %3, -1
  br i1 %or.cond, label %31, label %32

31:                                               ; preds = %30
  store i32 4, ptr %4, align 4, !tbaa !16
  br label %129

32:                                               ; preds = %30
  %33 = getelementptr inbounds i8, ptr %25, i64 28
  %34 = load i32, ptr %33, align 4, !tbaa !25
  %35 = getelementptr inbounds i8, ptr %25, i64 20
  %36 = load i32, ptr %35, align 4, !tbaa !26
  %37 = icmp ult i32 %34, %36
  br i1 %37, label %38, label %121

38:                                               ; preds = %32
  %39 = getelementptr inbounds i8, ptr %25, i64 56
  %40 = getelementptr inbounds i8, ptr %25, i64 64
  %41 = load i32, ptr %40, align 8, !tbaa !27
  %42 = icmp eq i32 %41, 0
  br i1 %42, label %43, label %84

43:                                               ; preds = %38
  %44 = getelementptr inbounds i8, ptr %25, i64 32
  %45 = load i32, ptr %44, align 8, !tbaa !28
  %46 = add i32 %45, %34
  %.not72 = icmp ult i32 %46, %36
  %47 = select i1 %.not72, i32 0, i32 %36
  %spec.select = sub i32 %46, %47
  %.not79 = icmp eq i32 %2, 0
  br i1 %.not79, label %._crit_edge77, label %.lr.ph76

.lr.ph76:                                         ; preds = %43
  %48 = getelementptr inbounds i8, ptr %25, i64 40
  %wide.trip.count84 = zext i32 %2 to i64
  %xtraiter87 = and i64 %wide.trip.count84, 1
  %49 = icmp eq i32 %2, 1
  br i1 %49, label %._crit_edge77.loopexit.unr-lcssa, label %.lr.ph76.new

.lr.ph76.new:                                     ; preds = %.lr.ph76
  %unroll_iter90 = and i64 %wide.trip.count84, 4294967294
  br label %50

50:                                               ; preds = %50, %.lr.ph76.new
  %indvars.iv81 = phi i64 [ 0, %.lr.ph76.new ], [ %indvars.iv.next82.1, %50 ]
  %niter91 = phi i64 [ 0, %.lr.ph76.new ], [ %niter91.next.1, %50 ]
  %51 = getelementptr inbounds i8, ptr %1, i64 %indvars.iv81
  %52 = load i8, ptr %51, align 1, !tbaa !29
  %53 = load ptr, ptr %48, align 8, !tbaa !30
  %54 = load i32, ptr %26, align 8, !tbaa !23
  %55 = mul i32 %54, %spec.select
  %56 = trunc nuw i64 %indvars.iv81 to i32
  %57 = add i32 %55, %56
  %58 = zext i32 %57 to i64
  %59 = getelementptr inbounds i8, ptr %53, i64 %58
  store i8 %52, ptr %59, align 1, !tbaa !29
  %indvars.iv.next82 = or disjoint i64 %indvars.iv81, 1
  %60 = getelementptr inbounds i8, ptr %1, i64 %indvars.iv.next82
  %61 = load i8, ptr %60, align 1, !tbaa !29
  %62 = load ptr, ptr %48, align 8, !tbaa !30
  %63 = load i32, ptr %26, align 8, !tbaa !23
  %64 = mul i32 %63, %spec.select
  %65 = trunc nuw i64 %indvars.iv.next82 to i32
  %66 = add i32 %64, %65
  %67 = zext i32 %66 to i64
  %68 = getelementptr inbounds i8, ptr %62, i64 %67
  store i8 %61, ptr %68, align 1, !tbaa !29
  %indvars.iv.next82.1 = add nuw nsw i64 %indvars.iv81, 2
  %niter91.next.1 = add i64 %niter91, 2
  %niter91.ncmp.1 = icmp eq i64 %niter91.next.1, %unroll_iter90
  br i1 %niter91.ncmp.1, label %._crit_edge77.loopexit.unr-lcssa, label %50, !llvm.loop !31

._crit_edge77.loopexit.unr-lcssa:                 ; preds = %50, %.lr.ph76
  %indvars.iv81.unr = phi i64 [ 0, %.lr.ph76 ], [ %indvars.iv.next82.1, %50 ]
  %lcmp.mod89.not = icmp eq i64 %xtraiter87, 0
  br i1 %lcmp.mod89.not, label %._crit_edge77, label %._crit_edge77.loopexit.epilog-lcssa

._crit_edge77.loopexit.epilog-lcssa:              ; preds = %._crit_edge77.loopexit.unr-lcssa
  %69 = getelementptr inbounds i8, ptr %1, i64 %indvars.iv81.unr
  %70 = load i8, ptr %69, align 1, !tbaa !29
  %71 = load ptr, ptr %48, align 8, !tbaa !30
  %72 = load i32, ptr %26, align 8, !tbaa !23
  %73 = mul i32 %72, %spec.select
  %74 = trunc nuw i64 %indvars.iv81.unr to i32
  %75 = add i32 %73, %74
  %76 = zext i32 %75 to i64
  %77 = getelementptr inbounds i8, ptr %71, i64 %76
  store i8 %70, ptr %77, align 1, !tbaa !29
  br label %._crit_edge77

._crit_edge77:                                    ; preds = %._crit_edge77.loopexit.epilog-lcssa, %._crit_edge77.loopexit.unr-lcssa, %43
  %78 = getelementptr inbounds i8, ptr %25, i64 48
  %79 = load ptr, ptr %78, align 8, !tbaa !33
  %80 = zext i32 %spec.select to i64
  %81 = getelementptr inbounds i32, ptr %79, i64 %80
  store i32 %2, ptr %81, align 4, !tbaa !16
  %82 = load i32, ptr %33, align 4, !tbaa !25
  %83 = add i32 %82, 1
  store i32 %83, ptr %33, align 4, !tbaa !25
  br label %120

84:                                               ; preds = %38
  %85 = load ptr, ptr %39, align 8, !tbaa !34
  %86 = getelementptr inbounds i8, ptr %85, i64 8
  %87 = load i64, ptr %86, align 8, !tbaa !35
  %88 = getelementptr inbounds i8, ptr %9, i64 152
  %89 = load ptr, ptr %88, align 8, !tbaa !36
  %90 = and i64 %87, 4294967295
  %91 = getelementptr inbounds %struct._PROCESS_INFORMATION_TYPE, ptr %89, i64 %90
  %.not78 = icmp eq i32 %2, 0
  br i1 %.not78, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %84
  %92 = getelementptr inbounds i8, ptr %91, i64 328
  %wide.trip.count = zext i32 %2 to i64
  %xtraiter = and i64 %wide.trip.count, 3
  %93 = icmp ult i32 %2, 4
  br i1 %93, label %._crit_edge.loopexit.unr-lcssa, label %.lr.ph.new

.lr.ph.new:                                       ; preds = %.lr.ph
  %unroll_iter = and i64 %wide.trip.count, 4294967292
  br label %94

94:                                               ; preds = %94, %.lr.ph.new
  %indvars.iv = phi i64 [ 0, %.lr.ph.new ], [ %indvars.iv.next.3, %94 ]
  %niter = phi i64 [ 0, %.lr.ph.new ], [ %niter.next.3, %94 ]
  %95 = getelementptr inbounds i8, ptr %1, i64 %indvars.iv
  %96 = load i8, ptr %95, align 1, !tbaa !29
  %97 = load ptr, ptr %92, align 8, !tbaa !37
  %98 = getelementptr inbounds i8, ptr %97, i64 %indvars.iv
  store i8 %96, ptr %98, align 1, !tbaa !29
  %indvars.iv.next = or disjoint i64 %indvars.iv, 1
  %99 = getelementptr inbounds i8, ptr %1, i64 %indvars.iv.next
  %100 = load i8, ptr %99, align 1, !tbaa !29
  %101 = load ptr, ptr %92, align 8, !tbaa !37
  %102 = getelementptr inbounds i8, ptr %101, i64 %indvars.iv.next
  store i8 %100, ptr %102, align 1, !tbaa !29
  %indvars.iv.next.1 = or disjoint i64 %indvars.iv, 2
  %103 = getelementptr inbounds i8, ptr %1, i64 %indvars.iv.next.1
  %104 = load i8, ptr %103, align 1, !tbaa !29
  %105 = load ptr, ptr %92, align 8, !tbaa !37
  %106 = getelementptr inbounds i8, ptr %105, i64 %indvars.iv.next.1
  store i8 %104, ptr %106, align 1, !tbaa !29
  %indvars.iv.next.2 = or disjoint i64 %indvars.iv, 3
  %107 = getelementptr inbounds i8, ptr %1, i64 %indvars.iv.next.2
  %108 = load i8, ptr %107, align 1, !tbaa !29
  %109 = load ptr, ptr %92, align 8, !tbaa !37
  %110 = getelementptr inbounds i8, ptr %109, i64 %indvars.iv.next.2
  store i8 %108, ptr %110, align 1, !tbaa !29
  %indvars.iv.next.3 = add nuw nsw i64 %indvars.iv, 4
  %niter.next.3 = add i64 %niter, 4
  %niter.ncmp.3 = icmp eq i64 %niter.next.3, %unroll_iter
  br i1 %niter.ncmp.3, label %._crit_edge.loopexit.unr-lcssa, label %94, !llvm.loop !39

._crit_edge.loopexit.unr-lcssa:                   ; preds = %94, %.lr.ph
  %indvars.iv.unr = phi i64 [ 0, %.lr.ph ], [ %indvars.iv.next.3, %94 ]
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %._crit_edge.loopexit, label %.epil.preheader

.epil.preheader:                                  ; preds = %._crit_edge.loopexit.unr-lcssa, %.epil.preheader
  %indvars.iv.epil = phi i64 [ %indvars.iv.next.epil, %.epil.preheader ], [ %indvars.iv.unr, %._crit_edge.loopexit.unr-lcssa ]
  %epil.iter = phi i64 [ %epil.iter.next, %.epil.preheader ], [ 0, %._crit_edge.loopexit.unr-lcssa ]
  %111 = getelementptr inbounds i8, ptr %1, i64 %indvars.iv.epil
  %112 = load i8, ptr %111, align 1, !tbaa !29
  %113 = load ptr, ptr %92, align 8, !tbaa !37
  %114 = getelementptr inbounds i8, ptr %113, i64 %indvars.iv.epil
  store i8 %112, ptr %114, align 1, !tbaa !29
  %indvars.iv.next.epil = add nuw nsw i64 %indvars.iv.epil, 1
  %epil.iter.next = add i64 %epil.iter, 1
  %epil.iter.cmp.not = icmp eq i64 %epil.iter.next, %xtraiter
  br i1 %epil.iter.cmp.not, label %._crit_edge.loopexit, label %.epil.preheader, !llvm.loop !40

._crit_edge.loopexit:                             ; preds = %.epil.preheader, %._crit_edge.loopexit.unr-lcssa
  %.pre = load ptr, ptr %8, align 8, !tbaa !5
  br label %._crit_edge

._crit_edge:                                      ; preds = %._crit_edge.loopexit, %84
  %115 = phi ptr [ %.pre, %._crit_edge.loopexit ], [ %9, %84 ]
  %116 = getelementptr inbounds i8, ptr %91, i64 336
  %117 = load ptr, ptr %116, align 8, !tbaa !42
  store i32 %2, ptr %117, align 4, !tbaa !16
  %118 = getelementptr inbounds i8, ptr %115, i64 24
  %119 = load i32, ptr %118, align 8, !tbaa !43
  tail call void @SIGNAL_RESOURCE(i32 noundef %119, ptr noundef nonnull %39, i8 noundef zeroext 1, ptr noundef %4) #2
  br label %120

120:                                              ; preds = %._crit_edge, %._crit_edge77
  store i32 1, ptr %4, align 4, !tbaa !16
  br label %129

121:                                              ; preds = %32
  %122 = getelementptr inbounds i8, ptr %14, i64 312
  store ptr %1, ptr %122, align 8, !tbaa !44
  %123 = getelementptr inbounds i8, ptr %14, i64 320
  store i32 %2, ptr %123, align 8, !tbaa !45
  %124 = getelementptr inbounds i8, ptr %9, i64 24
  %125 = load i32, ptr %124, align 8, !tbaa !43
  %126 = getelementptr inbounds i8, ptr %14, i64 16
  %127 = load i32, ptr %126, align 8, !tbaa !46
  %128 = getelementptr inbounds i8, ptr %25, i64 56
  tail call void @WAIT_RESOURCE(i32 noundef %125, i32 noundef %127, ptr noundef nonnull %128, i64 noundef %3, ptr noundef %4) #2
  br label %129

129:                                              ; preds = %121, %120, %31, %29, %20, %16, %11
  tail call void @EXIT_CORE() #2
  ret void
}

declare void @SIGNAL_RESOURCE(i32 noundef, ptr noundef, i8 noundef zeroext, ptr noundef) local_unnamed_addr #0

declare void @WAIT_RESOURCE(i32 noundef, i32 noundef, ptr noundef, i64 noundef, 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 = !{!11, !11, i64 0}
!17 = !{!18, !7, i64 160}
!18 = !{!"_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, !19, i64 168, !13, i64 272, !11, i64 384, !20, 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}
!19 = !{!"_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}
!20 = !{!"_priorityqueueENTRY", !14, i64 0, !14, i64 8, !7, i64 16, !7, i64 24, !7, i64 32}
!21 = !{!18, !11, i64 528}
!22 = !{!18, !7, i64 536}
!23 = !{!24, !11, i64 16}
!24 = !{!"_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}
!25 = !{!24, !11, i64 28}
!26 = !{!24, !11, i64 20}
!27 = !{!24, !11, i64 64}
!28 = !{!24, !11, i64 32}
!29 = !{!8, !8, i64 0}
!30 = !{!24, !7, i64 40}
!31 = distinct !{!31, !32}
!32 = !{!"llvm.loop.mustprogress"}
!33 = !{!24, !7, i64 48}
!34 = !{!24, !7, i64 56}
!35 = !{!20, !14, i64 8}
!36 = !{!18, !7, i64 152}
!37 = !{!38, !7, i64 328}
!38 = !{!"_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, !20, i64 144, !20, i64 184, !20, i64 224, !20, i64 264, !8, i64 304, !8, i64 305, !7, i64 312, !11, i64 320, !7, i64 328, !7, i64 336}
!39 = distinct !{!39, !32}
!40 = distinct !{!40, !41}
!41 = !{!"llvm.loop.unroll.disable"}
!42 = !{!38, !7, i64 336}
!43 = !{!18, !11, i64 24}
!44 = !{!38, !7, i64 312}
!45 = !{!38, !11, i64 320}
!46 = !{!38, !11, i64 16}


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