; LLVM IR from kala13x/libxutils :: tools (xtop)

; 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.XCPUStats = type { [3 x i32], i16, %struct.XProcInfo, %struct.XCPUInfo, %struct.XArray_ }
%struct.XProcInfo = type { i32, i32, i64, i64, i64, i64, i64 }
%struct.XCPUInfo = type { i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i64 }
%struct.XArray_ = type { ptr, ptr, i32, ptr, i8, i8, i8, i64, i64 }
%struct.xcli_bar_ = type { %struct.xcli_size_, i64, i64, i32, i32, i8, i8, i8, i8, double, i32, i8, i8, i8, i8, i8, i8, [256 x i8], [256 x i8], [256 x i8] }
%struct.xcli_size_ = type { i64, i64 }

@.str.10 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.62 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.63 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.64 = external hidden unnamed_addr constant [5 x i8], align 1

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

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

declare void @xstrnul(ptr noundef) #1

; Function Attrs: nounwind uwtable
declare dso_local i32 @XTOPApp_FillCPUBar(ptr noundef, ptr noundef, ptr noundef, i64 noundef) #2

declare float @XU32ToFloat(i32 noundef) #1

declare i64 @xstrnfill(ptr noundef, i64 noundef, i64 noundef, i8 noundef signext) #1

; Function Attrs: nounwind uwtable
define dso_local i32 @XTOPApp_AddCPULoadBar(ptr noundef %0, ptr noundef %1, ptr noundef %2) #2 {
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca [2048 x i8], align 16
  %9 = alloca [2048 x i8], align 16
  %10 = alloca [2048 x i8], align 16
  %11 = alloca i16, align 2
  %12 = alloca i16, align 2
  %13 = alloca i16, align 2
  %14 = alloca i16, align 2
  %15 = alloca ptr, align 8
  %16 = alloca i32, align 4
  %17 = alloca [256 x i8], align 16
  %18 = alloca i8, align 1
  %19 = alloca ptr, align 8
  %20 = alloca i8, align 1
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  store ptr %2, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 2048, ptr %8) #3
  call void @llvm.lifetime.start.p0(i64 2048, ptr %9) #3
  call void @llvm.lifetime.start.p0(i64 2048, ptr %10) #3
  call void @llvm.lifetime.start.p0(i64 2, ptr %11) #3
  call void @llvm.lifetime.start.p0(i64 2, ptr %12) #3
  %21 = load ptr, ptr %7, align 8, !tbaa !5
  %22 = getelementptr inbounds %struct.XCPUStats, ptr %21, i32 0, i32 1
  %23 = load i16, ptr %22, align 4, !tbaa !9
  store i16 %23, ptr %12, align 2, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 2, ptr %13) #3
  store i16 0, ptr %13, align 2, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 2, ptr %14) #3
  store i16 0, ptr %14, align 2, !tbaa !17
  %24 = load ptr, ptr %6, align 8, !tbaa !5
  %25 = getelementptr inbounds %struct.xcli_bar_, ptr %24, i32 0, i32 19
  %26 = getelementptr inbounds [256 x i8], ptr %25, i64 0, i64 0
  call void @xstrnul(ptr noundef %26)
  %27 = getelementptr inbounds [2048 x i8], ptr %9, i64 0, i64 0
  call void @xstrnul(ptr noundef %27)
  %28 = getelementptr inbounds [2048 x i8], ptr %8, i64 0, i64 0
  call void @xstrnul(ptr noundef %28)
  %29 = load ptr, ptr %6, align 8, !tbaa !5
  %30 = call i32 @XProgBar_UpdateWindowSize(ptr noundef %29)
  %31 = load ptr, ptr %6, align 8, !tbaa !5
  %32 = getelementptr inbounds %struct.xcli_bar_, ptr %31, i32 0, i32 0
  %33 = getelementptr inbounds %struct.xcli_size_, ptr %32, i32 0, i32 0
  %34 = load i64, ptr %33, align 8, !tbaa !18
  %35 = udiv i64 %34, 2
  store i64 %35, ptr %33, align 8, !tbaa !18
  store i16 0, ptr %11, align 2, !tbaa !17
  br label %36

36:                                               ; preds = %279, %3
  %37 = load i16, ptr %11, align 2, !tbaa !17
  %38 = zext i16 %37 to i32
  %39 = load ptr, ptr %7, align 8, !tbaa !5
  %40 = getelementptr inbounds %struct.XCPUStats, ptr %39, i32 0, i32 1
  %41 = load i16, ptr %40, align 4, !tbaa !9
  %42 = zext i16 %41 to i32
  %43 = icmp slt i32 %38, %42
  br i1 %43, label %44, label %282

44:                                               ; preds = %36
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #3
  %45 = load ptr, ptr %7, align 8, !tbaa !5
  %46 = getelementptr inbounds %struct.XCPUStats, ptr %45, i32 0, i32 4
  %47 = load i16, ptr %11, align 2, !tbaa !17
  %48 = zext i16 %47 to i64
  %49 = call ptr @XArray_GetData(ptr noundef %46, i64 noundef %48)
  store ptr %49, ptr %15, align 8, !tbaa !5
  %50 = load ptr, ptr %15, align 8, !tbaa !5
  %51 = icmp ne ptr %50, null
  br i1 %51, label %52, label %275

52:                                               ; preds = %44
  %53 = load i16, ptr %14, align 2, !tbaa !17
  %54 = zext i16 %53 to i32
  %55 = load ptr, ptr %7, align 8, !tbaa !5
  %56 = getelementptr inbounds %struct.XCPUStats, ptr %55, i32 0, i32 1
  %57 = load i16, ptr %56, align 4, !tbaa !9
  %58 = zext i16 %57 to i32
  %59 = icmp sge i32 %54, %58
  br i1 %59, label %60, label %61

60:                                               ; preds = %52
  store i32 2, ptr %16, align 4
  br label %276

61:                                               ; preds = %52
  %62 = load i16, ptr %13, align 2, !tbaa !17
  %63 = zext i16 %62 to i32
  %64 = icmp ne i32 %63, 0
  br i1 %64, label %65, label %72

65:                                               ; preds = %61
  %66 = load i16, ptr %11, align 2, !tbaa !17
  %67 = zext i16 %66 to i32
  %68 = load i16, ptr %13, align 2, !tbaa !17
  %69 = zext i16 %68 to i32
  %70 = icmp eq i32 %67, %69
  br i1 %70, label %71, label %72

71:                                               ; preds = %65
  store i32 4, ptr %16, align 4
  br label %276

72:                                               ; preds = %65, %61
  br label %73

73:                                               ; preds = %72
  %74 = load i16, ptr %11, align 2, !tbaa !17
  %75 = zext i16 %74 to i32
  %76 = load ptr, ptr %7, align 8, !tbaa !5
  %77 = getelementptr inbounds %struct.XCPUStats, ptr %76, i32 0, i32 1
  %78 = load i16, ptr %77, align 4, !tbaa !9
  %79 = zext i16 %78 to i32
  %80 = sdiv i32 %79, 2
  %81 = add nsw i32 %75, %80
  %82 = trunc i32 %81 to i16
  store i16 %82, ptr %12, align 2, !tbaa !17
  %83 = load i16, ptr %13, align 2, !tbaa !17
  %84 = icmp ne i16 %83, 0
  br i1 %84, label %87, label %85

85:                                               ; preds = %73
  %86 = load i16, ptr %12, align 2, !tbaa !17
  store i16 %86, ptr %13, align 2, !tbaa !17
  br label %87

87:                                               ; preds = %85, %73
  %88 = load i16, ptr %14, align 2, !tbaa !17
  %89 = add i16 %88, 1
  store i16 %89, ptr %14, align 2, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 256, ptr %17) #3
  %90 = getelementptr inbounds [256 x i8], ptr %17, i64 0, i64 0
  %91 = load ptr, ptr %15, align 8, !tbaa !5
  %92 = getelementptr inbounds %struct.XCPUInfo, ptr %91, i32 0, i32 0
  %93 = load i32, ptr %92, align 8, !tbaa !22
  %94 = call i64 (ptr, i64, i64, i8, ptr, ...) @xstrnlcpyf(ptr noundef %90, i64 noundef 256, i64 noundef 5, i8 noundef signext 32, ptr noundef @.str.62, i32 noundef %93)
  %95 = load ptr, ptr %6, align 8, !tbaa !5
  %96 = getelementptr inbounds %struct.xcli_bar_, ptr %95, i32 0, i32 18
  %97 = getelementptr inbounds [256 x i8], ptr %96, i64 0, i64 0
  %98 = getelementptr inbounds [256 x i8], ptr %17, i64 0, i64 0
  %99 = call i64 (ptr, i64, ptr, ptr, ...) @xstrnclr(ptr noundef %97, i64 noundef 256, ptr noundef @.str.10, ptr noundef @.str.63, ptr noundef %98)
  %100 = load ptr, ptr %15, align 8, !tbaa !5
  %101 = getelementptr inbounds %struct.XCPUInfo, ptr %100, i32 0, i32 5
  %102 = load i32, ptr %101, align 4, !tbaa !23
  %103 = call float @XU32ToFloat(i32 noundef %102)
  %104 = load ptr, ptr %15, align 8, !tbaa !5
  %105 = getelementptr inbounds %struct.XCPUInfo, ptr %104, i32 0, i32 3
  %106 = load i32, ptr %105, align 4, !tbaa !24
  %107 = call float @XU32ToFloat(i32 noundef %106)
  %108 = fadd float %103, %107
  %109 = fpext float %108 to double
  %110 = load ptr, ptr %6, align 8, !tbaa !5
  %111 = getelementptr inbounds %struct.xcli_bar_, ptr %110, i32 0, i32 9
  store double %109, ptr %111, align 8, !tbaa !25
  %112 = load ptr, ptr %15, align 8, !tbaa !5
  %113 = getelementptr inbounds %struct.XCPUInfo, ptr %112, i32 0, i32 4
  %114 = load i32, ptr %113, align 8, !tbaa !26
  %115 = call float @XU32ToFloat(i32 noundef %114)
  %116 = load ptr, ptr %15, align 8, !tbaa !5
  %117 = getelementptr inbounds %struct.XCPUInfo, ptr %116, i32 0, i32 1
  %118 = load i32, ptr %117, align 4, !tbaa !27
  %119 = call float @XU32ToFloat(i32 noundef %118)
  %120 = fadd float %115, %119
  %121 = fpext float %120 to double
  %122 = load ptr, ptr %6, align 8, !tbaa !5
  %123 = getelementptr inbounds %struct.xcli_bar_, ptr %122, i32 0, i32 9
  %124 = load double, ptr %123, align 8, !tbaa !25
  %125 = fadd double %124, %121
  store double %125, ptr %123, align 8, !tbaa !25
  %126 = load ptr, ptr %15, align 8, !tbaa !5
  %127 = getelementptr inbounds %struct.XCPUInfo, ptr %126, i32 0, i32 2
  %128 = load i32, ptr %127, align 8, !tbaa !28
  %129 = call float @XU32ToFloat(i32 noundef %128)
  %130 = load ptr, ptr %15, align 8, !tbaa !5
  %131 = getelementptr inbounds %struct.XCPUInfo, ptr %130, i32 0, i32 7
  %132 = load i32, ptr %131, align 4, !tbaa !29
  %133 = call float @XU32ToFloat(i32 noundef %132)
  %134 = fadd float %129, %133
  %135 = fpext float %134 to double
  %136 = load ptr, ptr %6, align 8, !tbaa !5
  %137 = getelementptr inbounds %struct.xcli_bar_, ptr %136, i32 0, i32 9
  %138 = load double, ptr %137, align 8, !tbaa !25
  %139 = fadd double %138, %135
  store double %139, ptr %137, align 8, !tbaa !25
  %140 = load ptr, ptr %15, align 8, !tbaa !5
  %141 = getelementptr inbounds %struct.XCPUInfo, ptr %140, i32 0, i32 8
  %142 = load i32, ptr %141, align 8, !tbaa !30
  %143 = call float @XU32ToFloat(i32 noundef %142)
  %144 = fpext float %143 to double
  %145 = load ptr, ptr %6, align 8, !tbaa !5
  %146 = getelementptr inbounds %struct.xcli_bar_, ptr %145, i32 0, i32 9
  %147 = load double, ptr %146, align 8, !tbaa !25
  %148 = fadd double %147, %144
  store double %148, ptr %146, align 8, !tbaa !25
  %149 = getelementptr inbounds [2048 x i8], ptr %10, i64 0, i64 0
  call void @xstrnul(ptr noundef %149)
  call void @llvm.lifetime.start.p0(i64 1, ptr %18) #3
  %150 = load ptr, ptr %6, align 8, !tbaa !5
  %151 = call zeroext i8 @XProgBar_CalculateBounds(ptr noundef %150)
  store i8 %151, ptr %18, align 1, !tbaa !31
  %152 = load ptr, ptr %6, align 8, !tbaa !5
  %153 = load ptr, ptr %15, align 8, !tbaa !5
  %154 = getelementptr inbounds [2048 x i8], ptr %10, i64 0, i64 0
  %155 = call i32 @XTOPApp_FillCPUBar(ptr noundef %152, ptr noundef %153, ptr noundef %154, i64 noundef 2048)
  %156 = load ptr, ptr %6, align 8, !tbaa !5
  %157 = getelementptr inbounds [2048 x i8], ptr %8, i64 0, i64 0
  %158 = getelementptr inbounds [2048 x i8], ptr %10, i64 0, i64 0
  %159 = load i8, ptr %18, align 1, !tbaa !31
  %160 = call i64 @XProgBar_GetOutputAdv(ptr noundef %156, ptr noundef %157, i64 noundef 2048, ptr noundef %158, i8 noundef zeroext %159)
  %161 = load i16, ptr %11, align 2, !tbaa !17
  %162 = zext i16 %161 to i32
  %163 = load i16, ptr %12, align 2, !tbaa !17
  %164 = zext i16 %163 to i32
  %165 = icmp eq i32 %162, %164
  br i1 %165, label %174, label %166

166:                                              ; preds = %87
  %167 = load i16, ptr %12, align 2, !tbaa !17
  %168 = zext i16 %167 to i32
  %169 = load ptr, ptr %7, align 8, !tbaa !5
  %170 = getelementptr inbounds %struct.XCPUStats, ptr %169, i32 0, i32 1
  %171 = load i16, ptr %170, align 4, !tbaa !9
  %172 = zext i16 %171 to i32
  %173 = icmp sge i32 %168, %172
  br i1 %173, label %174, label %185

174:                                              ; preds = %166, %87
  %175 = getelementptr inbounds [2048 x i8], ptr %9, i64 0, i64 0
  %176 = load ptr, ptr %6, align 8, !tbaa !5
  %177 = getelementptr inbounds %struct.xcli_bar_, ptr %176, i32 0, i32 0
  %178 = getelementptr inbounds %struct.xcli_size_, ptr %177, i32 0, i32 0
  %179 = load i64, ptr %178, align 8, !tbaa !18
  %180 = call i64 @xstrnfill(ptr noundef %175, i64 noundef 2048, i64 noundef %179, i8 noundef signext 32)
  %181 = load ptr, ptr %5, align 8, !tbaa !5
  %182 = getelementptr inbounds [2048 x i8], ptr %8, i64 0, i64 0
  %183 = getelementptr inbounds [2048 x i8], ptr %9, i64 0, i64 0
  %184 = call i32 (ptr, ptr, ...) @XWindow_AddLineFmt(ptr noundef %181, ptr noundef @.str.64, ptr noundef %182, ptr noundef %183)
  store i32 %184, ptr %4, align 4
  store i32 1, ptr %16, align 4
  br label %272

185:                                              ; preds = %166
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #3
  %186 = load ptr, ptr %7, align 8, !tbaa !5
  %187 = getelementptr inbounds %struct.XCPUStats, ptr %186, i32 0, i32 4
  %188 = load i16, ptr %12, align 2, !tbaa !17
  %189 = zext i16 %188 to i64
  %190 = call ptr @XArray_GetData(ptr noundef %187, i64 noundef %189)
  store ptr %190, ptr %19, align 8, !tbaa !5
  %191 = load ptr, ptr %19, align 8, !tbaa !5
  %192 = icmp ne ptr %191, null
  br i1 %192, label %193, label %271

193:                                              ; preds = %185
  %194 = getelementptr inbounds [256 x i8], ptr %17, i64 0, i64 0
  %195 = load ptr, ptr %19, align 8, !tbaa !5
  %196 = getelementptr inbounds %struct.XCPUInfo, ptr %195, i32 0, i32 0
  %197 = load i32, ptr %196, align 8, !tbaa !22
  %198 = call i64 (ptr, i64, i64, i8, ptr, ...) @xstrnlcpyf(ptr noundef %194, i64 noundef 256, i64 noundef 5, i8 noundef signext 32, ptr noundef @.str.62, i32 noundef %197)
  %199 = load ptr, ptr %6, align 8, !tbaa !5
  %200 = getelementptr inbounds %struct.xcli_bar_, ptr %199, i32 0, i32 18
  %201 = getelementptr inbounds [256 x i8], ptr %200, i64 0, i64 0
  %202 = getelementptr inbounds [256 x i8], ptr %17, i64 0, i64 0
  %203 = call i64 (ptr, i64, ptr, ptr, ...) @xstrnclr(ptr noundef %201, i64 noundef 256, ptr noundef @.str.10, ptr noundef @.str.63, ptr noundef %202)
  %204 = load ptr, ptr %19, align 8, !tbaa !5
  %205 = getelementptr inbounds %struct.XCPUInfo, ptr %204, i32 0, i32 5
  %206 = load i32, ptr %205, align 4, !tbaa !23
  %207 = call float @XU32ToFloat(i32 noundef %206)
  %208 = load ptr, ptr %19, align 8, !tbaa !5
  %209 = getelementptr inbounds %struct.XCPUInfo, ptr %208, i32 0, i32 3
  %210 = load i32, ptr %209, align 4, !tbaa !24
  %211 = call float @XU32ToFloat(i32 noundef %210)
  %212 = fadd float %207, %211
  %213 = fpext float %212 to double
  %214 = load ptr, ptr %6, align 8, !tbaa !5
  %215 = getelementptr inbounds %struct.xcli_bar_, ptr %214, i32 0, i32 9
  store double %213, ptr %215, align 8, !tbaa !25
  %216 = load ptr, ptr %19, align 8, !tbaa !5
  %217 = getelementptr inbounds %struct.XCPUInfo, ptr %216, i32 0, i32 4
  %218 = load i32, ptr %217, align 8, !tbaa !26
  %219 = call float @XU32ToFloat(i32 noundef %218)
  %220 = load ptr, ptr %19, align 8, !tbaa !5
  %221 = getelementptr inbounds %struct.XCPUInfo, ptr %220, i32 0, i32 1
  %222 = load i32, ptr %221, align 4, !tbaa !27
  %223 = call float @XU32ToFloat(i32 noundef %222)
  %224 = fadd float %219, %223
  %225 = fpext float %224 to double
  %226 = load ptr, ptr %6, align 8, !tbaa !5
  %227 = getelementptr inbounds %struct.xcli_bar_, ptr %226, i32 0, i32 9
  %228 = load double, ptr %227, align 8, !tbaa !25
  %229 = fadd double %228, %225
  store double %229, ptr %227, align 8, !tbaa !25
  %230 = load ptr, ptr %19, align 8, !tbaa !5
  %231 = getelementptr inbounds %struct.XCPUInfo, ptr %230, i32 0, i32 2
  %232 = load i32, ptr %231, align 8, !tbaa !28
  %233 = call float @XU32ToFloat(i32 noundef %232)
  %234 = load ptr, ptr %19, align 8, !tbaa !5
  %235 = getelementptr inbounds %struct.XCPUInfo, ptr %234, i32 0, i32 7
  %236 = load i32, ptr %235, align 4, !tbaa !29
  %237 = call float @XU32ToFloat(i32 noundef %236)
  %238 = fadd float %233, %237
  %239 = fpext float %238 to double
  %240 = load ptr, ptr %6, align 8, !tbaa !5
  %241 = getelementptr inbounds %struct.xcli_bar_, ptr %240, i32 0, i32 9
  %242 = load double, ptr %241, align 8, !tbaa !25
  %243 = fadd double %242, %239
  store double %243, ptr %241, align 8, !tbaa !25
  %244 = load ptr, ptr %19, align 8, !tbaa !5
  %245 = getelementptr inbounds %struct.XCPUInfo, ptr %244, i32 0, i32 8
  %246 = load i32, ptr %245, align 8, !tbaa !30
  %247 = call float @XU32ToFloat(i32 noundef %246)
  %248 = fpext float %247 to double
  %249 = load ptr, ptr %6, align 8, !tbaa !5
  %250 = getelementptr inbounds %struct.xcli_bar_, ptr %249, i32 0, i32 9
  %251 = load double, ptr %250, align 8, !tbaa !25
  %252 = fadd double %251, %248
  store double %252, ptr %250, align 8, !tbaa !25
  %253 = getelementptr inbounds [2048 x i8], ptr %10, i64 0, i64 0
  call void @xstrnul(ptr noundef %253)
  call void @llvm.lifetime.start.p0(i64 1, ptr %20) #3
  %254 = load ptr, ptr %6, align 8, !tbaa !5
  %255 = call zeroext i8 @XProgBar_CalculateBounds(ptr noundef %254)
  store i8 %255, ptr %20, align 1, !tbaa !31
  %256 = load ptr, ptr %6, align 8, !tbaa !5
  %257 = load ptr, ptr %19, align 8, !tbaa !5
  %258 = getelementptr inbounds [2048 x i8], ptr %10, i64 0, i64 0
  %259 = call i32 @XTOPApp_FillCPUBar(ptr noundef %256, ptr noundef %257, ptr noundef %258, i64 noundef 2048)
  %260 = load ptr, ptr %6, align 8, !tbaa !5
  %261 = getelementptr inbounds [2048 x i8], ptr %9, i64 0, i64 0
  %262 = getelementptr inbounds [2048 x i8], ptr %10, i64 0, i64 0
  %263 = load i8, ptr %20, align 1, !tbaa !31
  %264 = call i64 @XProgBar_GetOutputAdv(ptr noundef %260, ptr noundef %261, i64 noundef 2048, ptr noundef %262, i8 noundef zeroext %263)
  %265 = load ptr, ptr %5, align 8, !tbaa !5
  %266 = getelementptr inbounds [2048 x i8], ptr %8, i64 0, i64 0
  %267 = getelementptr inbounds [2048 x i8], ptr %9, i64 0, i64 0
  %268 = call i32 (ptr, ptr, ...) @XWindow_AddLineFmt(ptr noundef %265, ptr noundef @.str.64, ptr noundef %266, ptr noundef %267)
  %269 = load i16, ptr %14, align 2, !tbaa !17
  %270 = add i16 %269, 1
  store i16 %270, ptr %14, align 2, !tbaa !17
  call void @llvm.lifetime.end.p0(i64 1, ptr %20) #3
  br label %271

271:                                              ; preds = %193, %185
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #3
  store i32 0, ptr %16, align 4
  br label %272

272:                                              ; preds = %271, %174
  call void @llvm.lifetime.end.p0(i64 1, ptr %18) #3
  call void @llvm.lifetime.end.p0(i64 256, ptr %17) #3
  %273 = load i32, ptr %16, align 4
  switch i32 %273, label %276 [
    i32 0, label %274
  ]

274:                                              ; preds = %272
  br label %275

275:                                              ; preds = %274, %44
  store i32 0, ptr %16, align 4
  br label %276

276:                                              ; preds = %275, %272, %71, %60
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #3
  %277 = load i32, ptr %16, align 4
  switch i32 %277, label %283 [
    i32 0, label %278
    i32 2, label %282
    i32 4, label %279
  ]

278:                                              ; preds = %276
  br label %279

279:                                              ; preds = %278, %276
  %280 = load i16, ptr %11, align 2, !tbaa !17
  %281 = add i16 %280, 1
  store i16 %281, ptr %11, align 2, !tbaa !17
  br label %36, !llvm.loop !32

282:                                              ; preds = %276, %36
  store i32 1, ptr %4, align 4
  store i32 1, ptr %16, align 4
  br label %283

283:                                              ; preds = %282, %276
  call void @llvm.lifetime.end.p0(i64 2, ptr %14) #3
  call void @llvm.lifetime.end.p0(i64 2, ptr %13) #3
  call void @llvm.lifetime.end.p0(i64 2, ptr %12) #3
  call void @llvm.lifetime.end.p0(i64 2, ptr %11) #3
  call void @llvm.lifetime.end.p0(i64 2048, ptr %10) #3
  call void @llvm.lifetime.end.p0(i64 2048, ptr %9) #3
  call void @llvm.lifetime.end.p0(i64 2048, ptr %8) #3
  %284 = load i32, ptr %4, align 4
  ret i32 %284
}

declare i32 @XProgBar_UpdateWindowSize(ptr noundef) #1

declare ptr @XArray_GetData(ptr noundef, i64 noundef) #1

declare i64 @xstrnlcpyf(ptr noundef, i64 noundef, i64 noundef, i8 noundef signext, ptr noundef, ...) #1

declare i64 @xstrnclr(ptr noundef, i64 noundef, ptr noundef, ptr noundef, ...) #1

declare zeroext i8 @XProgBar_CalculateBounds(ptr noundef) #1

declare i64 @XProgBar_GetOutputAdv(ptr noundef, ptr noundef, i64 noundef, ptr noundef, i8 noundef zeroext) #1

declare i32 @XWindow_AddLineFmt(ptr 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 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 12}
!10 = !{!"XCPUStats", !7, i64 0, !11, i64 12, !12, i64 16, !15, i64 64, !16, i64 160}
!11 = !{!"short", !7, i64 0}
!12 = !{!"XProcInfo", !13, i64 0, !13, i64 4, !14, i64 8, !14, i64 16, !14, i64 24, !14, i64 32, !14, i64 40}
!13 = !{!"int", !7, i64 0}
!14 = !{!"long", !7, i64 0}
!15 = !{!"XCPUInfo", !13, i64 0, !13, i64 4, !13, i64 8, !13, i64 12, !13, i64 16, !13, i64 20, !13, i64 24, !13, i64 28, !13, i64 32, !13, i64 36, !13, i64 40, !13, i64 44, !13, i64 48, !13, i64 52, !13, i64 56, !13, i64 60, !13, i64 64, !13, i64 68, !13, i64 72, !13, i64 76, !13, i64 80, !14, i64 88}
!16 = !{!"XArray_", !6, i64 0, !6, i64 8, !13, i64 16, !6, i64 24, !7, i64 32, !7, i64 33, !7, i64 34, !14, i64 40, !14, i64 48}
!17 = !{!11, !11, i64 0}
!18 = !{!19, !14, i64 0}
!19 = !{!"xcli_bar_", !20, i64 0, !14, i64 16, !14, i64 24, !13, i64 32, !13, i64 36, !7, i64 40, !7, i64 41, !7, i64 42, !7, i64 43, !21, i64 48, !13, i64 56, !7, i64 60, !7, i64 61, !7, i64 62, !7, i64 63, !7, i64 64, !7, i64 65, !7, i64 66, !7, i64 322, !7, i64 578}
!20 = !{!"xcli_size_", !14, i64 0, !14, i64 8}
!21 = !{!"double", !7, i64 0}
!22 = !{!15, !13, i64 0}
!23 = !{!15, !13, i64 20}
!24 = !{!15, !13, i64 12}
!25 = !{!19, !21, i64 48}
!26 = !{!15, !13, i64 16}
!27 = !{!15, !13, i64 4}
!28 = !{!15, !13, i64 8}
!29 = !{!15, !13, i64 28}
!30 = !{!15, !13, i64 32}
!31 = !{!7, !7, i64 0}
!32 = distinct !{!32, !33}
!33 = !{!"llvm.loop.mustprogress"}


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

@.str.10 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.62 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.63 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.64 = external hidden unnamed_addr constant [5 x i8], align 1

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

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

declare void @xstrnul(ptr noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare dso_local i32 @XTOPApp_FillCPUBar(ptr noundef, ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #2

declare float @XU32ToFloat(i32 noundef) local_unnamed_addr #1

declare i64 @xstrnfill(ptr noundef, i64 noundef, i64 noundef, i8 noundef signext) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
define dso_local i32 @XTOPApp_AddCPULoadBar(ptr noundef %0, ptr noundef %1, ptr noundef %2) local_unnamed_addr #2 {
  %4 = alloca [2048 x i8], align 16
  %5 = alloca [2048 x i8], align 16
  %6 = alloca [2048 x i8], align 16
  %7 = alloca [256 x i8], align 16
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %4) #3
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %5) #3
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %6) #3
  %8 = getelementptr inbounds i8, ptr %2, i64 12
  %9 = getelementptr inbounds i8, ptr %1, i64 578
  tail call void @xstrnul(ptr noundef nonnull %9) #3
  call void @xstrnul(ptr noundef nonnull %5) #3
  call void @xstrnul(ptr noundef nonnull %4) #3
  %10 = call i32 @XProgBar_UpdateWindowSize(ptr noundef %1) #3
  %11 = load i64, ptr %1, align 8, !tbaa !5
  %12 = lshr i64 %11, 1
  store i64 %12, ptr %1, align 8, !tbaa !5
  %13 = load i16, ptr %8, align 4, !tbaa !13
  %.not117 = icmp eq i16 %13, 0
  br i1 %.not117, label %.loopexit, label %.lr.ph

.lr.ph:                                           ; preds = %3
  %14 = getelementptr inbounds i8, ptr %2, i64 160
  %15 = getelementptr inbounds i8, ptr %1, i64 322
  %16 = getelementptr inbounds i8, ptr %1, i64 48
  br label %17

17:                                               ; preds = %.lr.ph, %121
  %indvars.iv = phi i64 [ 0, %.lr.ph ], [ %indvars.iv.next, %121 ]
  %.072114 = phi i16 [ 0, %.lr.ph ], [ %.375.ph, %121 ]
  %.076113 = phi i16 [ 0, %.lr.ph ], [ %.480.ph, %121 ]
  %18 = call ptr @XArray_GetData(ptr noundef nonnull %14, i64 noundef %indvars.iv) #3
  %.not = icmp eq ptr %18, null
  %.pre119 = load i16, ptr %8, align 4, !tbaa !13
  br i1 %.not, label %121, label %19

19:                                               ; preds = %17
  %.not86 = icmp ult i16 %.076113, %.pre119
  br i1 %.not86, label %20, label %.loopexit

20:                                               ; preds = %19
  %.not87 = icmp ne i16 %.072114, 0
  %21 = zext i16 %.072114 to i64
  %22 = icmp eq i64 %indvars.iv, %21
  %or.cond = and i1 %.not87, %22
  br i1 %or.cond, label %121, label %23

23:                                               ; preds = %20
  %24 = lshr i16 %.pre119, 1
  %25 = trunc nuw i64 %indvars.iv to i16
  %26 = add i16 %24, %25
  %.not88 = icmp eq i16 %.072114, 0
  %spec.select = select i1 %.not88, i16 %26, i16 %.072114
  %27 = add nuw i16 %.076113, 1
  call void @llvm.lifetime.start.p0(i64 256, ptr nonnull %7) #3
  %28 = load i32, ptr %18, align 8, !tbaa !20
  %29 = call i64 (ptr, i64, i64, i8, ptr, ...) @xstrnlcpyf(ptr noundef nonnull %7, i64 noundef 256, i64 noundef 5, i8 noundef signext 32, ptr noundef nonnull @.str.62, i32 noundef %28) #3
  %30 = call i64 (ptr, i64, ptr, ptr, ...) @xstrnclr(ptr noundef nonnull %15, i64 noundef 256, ptr noundef nonnull @.str.10, ptr noundef nonnull @.str.63, ptr noundef nonnull %7) #3
  %31 = getelementptr inbounds i8, ptr %18, i64 20
  %32 = load i32, ptr %31, align 4, !tbaa !21
  %33 = call float @XU32ToFloat(i32 noundef %32) #3
  %34 = getelementptr inbounds i8, ptr %18, i64 12
  %35 = load i32, ptr %34, align 4, !tbaa !22
  %36 = call float @XU32ToFloat(i32 noundef %35) #3
  %37 = fadd float %33, %36
  %38 = fpext float %37 to double
  store double %38, ptr %16, align 8, !tbaa !23
  %39 = getelementptr inbounds i8, ptr %18, i64 16
  %40 = load i32, ptr %39, align 8, !tbaa !24
  %41 = call float @XU32ToFloat(i32 noundef %40) #3
  %42 = getelementptr inbounds i8, ptr %18, i64 4
  %43 = load i32, ptr %42, align 4, !tbaa !25
  %44 = call float @XU32ToFloat(i32 noundef %43) #3
  %45 = fadd float %41, %44
  %46 = fpext float %45 to double
  %47 = load double, ptr %16, align 8, !tbaa !23
  %48 = fadd double %47, %46
  store double %48, ptr %16, align 8, !tbaa !23
  %49 = getelementptr inbounds i8, ptr %18, i64 8
  %50 = load i32, ptr %49, align 8, !tbaa !26
  %51 = call float @XU32ToFloat(i32 noundef %50) #3
  %52 = getelementptr inbounds i8, ptr %18, i64 28
  %53 = load i32, ptr %52, align 4, !tbaa !27
  %54 = call float @XU32ToFloat(i32 noundef %53) #3
  %55 = fadd float %51, %54
  %56 = fpext float %55 to double
  %57 = load double, ptr %16, align 8, !tbaa !23
  %58 = fadd double %57, %56
  store double %58, ptr %16, align 8, !tbaa !23
  %59 = getelementptr inbounds i8, ptr %18, i64 32
  %60 = load i32, ptr %59, align 8, !tbaa !28
  %61 = call float @XU32ToFloat(i32 noundef %60) #3
  %62 = fpext float %61 to double
  %63 = load double, ptr %16, align 8, !tbaa !23
  %64 = fadd double %63, %62
  store double %64, ptr %16, align 8, !tbaa !23
  call void @xstrnul(ptr noundef nonnull %6) #3
  %65 = call zeroext i8 @XProgBar_CalculateBounds(ptr noundef nonnull %1) #3
  %66 = call i32 @XTOPApp_FillCPUBar(ptr noundef nonnull %1, ptr noundef nonnull %18, ptr noundef nonnull %6, i64 noundef 2048)
  %67 = call i64 @XProgBar_GetOutputAdv(ptr noundef nonnull %1, ptr noundef nonnull %4, i64 noundef 2048, ptr noundef nonnull %6, i8 noundef zeroext %65) #3
  %68 = icmp ult i16 %.pre119, 2
  br i1 %68, label %.thread108, label %69

69:                                               ; preds = %23
  %70 = load i16, ptr %8, align 4, !tbaa !13
  %.not89 = icmp ult i16 %26, %70
  br i1 %.not89, label %71, label %.thread108

71:                                               ; preds = %69
  %72 = zext i16 %26 to i64
  %73 = call ptr @XArray_GetData(ptr noundef nonnull %14, i64 noundef %72) #3
  %.not90 = icmp eq ptr %73, null
  br i1 %.not90, label %120, label %74

74:                                               ; preds = %71
  %75 = load i32, ptr %73, align 8, !tbaa !20
  %76 = call i64 (ptr, i64, i64, i8, ptr, ...) @xstrnlcpyf(ptr noundef nonnull %7, i64 noundef 256, i64 noundef 5, i8 noundef signext 32, ptr noundef nonnull @.str.62, i32 noundef %75) #3
  %77 = call i64 (ptr, i64, ptr, ptr, ...) @xstrnclr(ptr noundef nonnull %15, i64 noundef 256, ptr noundef nonnull @.str.10, ptr noundef nonnull @.str.63, ptr noundef nonnull %7) #3
  %78 = getelementptr inbounds i8, ptr %73, i64 20
  %79 = load i32, ptr %78, align 4, !tbaa !21
  %80 = call float @XU32ToFloat(i32 noundef %79) #3
  %81 = getelementptr inbounds i8, ptr %73, i64 12
  %82 = load i32, ptr %81, align 4, !tbaa !22
  %83 = call float @XU32ToFloat(i32 noundef %82) #3
  %84 = fadd float %80, %83
  %85 = fpext float %84 to double
  store double %85, ptr %16, align 8, !tbaa !23
  %86 = getelementptr inbounds i8, ptr %73, i64 16
  %87 = load i32, ptr %86, align 8, !tbaa !24
  %88 = call float @XU32ToFloat(i32 noundef %87) #3
  %89 = getelementptr inbounds i8, ptr %73, i64 4
  %90 = load i32, ptr %89, align 4, !tbaa !25
  %91 = call float @XU32ToFloat(i32 noundef %90) #3
  %92 = fadd float %88, %91
  %93 = fpext float %92 to double
  %94 = load double, ptr %16, align 8, !tbaa !23
  %95 = fadd double %94, %93
  store double %95, ptr %16, align 8, !tbaa !23
  %96 = getelementptr inbounds i8, ptr %73, i64 8
  %97 = load i32, ptr %96, align 8, !tbaa !26
  %98 = call float @XU32ToFloat(i32 noundef %97) #3
  %99 = getelementptr inbounds i8, ptr %73, i64 28
  %100 = load i32, ptr %99, align 4, !tbaa !27
  %101 = call float @XU32ToFloat(i32 noundef %100) #3
  %102 = fadd float %98, %101
  %103 = fpext float %102 to double
  %104 = load double, ptr %16, align 8, !tbaa !23
  %105 = fadd double %104, %103
  store double %105, ptr %16, align 8, !tbaa !23
  %106 = getelementptr inbounds i8, ptr %73, i64 32
  %107 = load i32, ptr %106, align 8, !tbaa !28
  %108 = call float @XU32ToFloat(i32 noundef %107) #3
  %109 = fpext float %108 to double
  %110 = load double, ptr %16, align 8, !tbaa !23
  %111 = fadd double %110, %109
  store double %111, ptr %16, align 8, !tbaa !23
  call void @xstrnul(ptr noundef nonnull %6) #3
  %112 = call zeroext i8 @XProgBar_CalculateBounds(ptr noundef nonnull %1) #3
  %113 = call i32 @XTOPApp_FillCPUBar(ptr noundef nonnull %1, ptr noundef nonnull %73, ptr noundef nonnull %6, i64 noundef 2048)
  %114 = call i64 @XProgBar_GetOutputAdv(ptr noundef nonnull %1, ptr noundef nonnull %5, i64 noundef 2048, ptr noundef nonnull %6, i8 noundef zeroext %112) #3
  %115 = call i32 (ptr, ptr, ...) @XWindow_AddLineFmt(ptr noundef %0, ptr noundef nonnull @.str.64, ptr noundef nonnull %4, ptr noundef nonnull %5) #3
  %116 = add i16 %.076113, 2
  br label %120

.thread108:                                       ; preds = %69, %23
  %117 = load i64, ptr %1, align 8, !tbaa !5
  %118 = call i64 @xstrnfill(ptr noundef nonnull %5, i64 noundef 2048, i64 noundef %117, i8 noundef signext 32) #3
  %119 = call i32 (ptr, ptr, ...) @XWindow_AddLineFmt(ptr noundef %0, ptr noundef nonnull @.str.64, ptr noundef nonnull %4, ptr noundef nonnull %5) #3
  call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %7) #3
  br label %.loopexit

120:                                              ; preds = %74, %71
  %.278.ph = phi i16 [ %27, %71 ], [ %116, %74 ]
  call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %7) #3
  %.pre = load i16, ptr %8, align 4, !tbaa !13
  br label %121

121:                                              ; preds = %20, %17, %120
  %122 = phi i16 [ %.pre, %120 ], [ %.pre119, %17 ], [ %.pre119, %20 ]
  %.480.ph = phi i16 [ %.278.ph, %120 ], [ %.076113, %17 ], [ %.076113, %20 ]
  %.375.ph = phi i16 [ %spec.select, %120 ], [ %.072114, %17 ], [ %.072114, %20 ]
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %123 = zext i16 %122 to i64
  %124 = icmp ult i64 %indvars.iv.next, %123
  br i1 %124, label %17, label %.loopexit, !llvm.loop !29

.loopexit:                                        ; preds = %19, %121, %3, %.thread108
  %.4 = phi i32 [ %119, %.thread108 ], [ 1, %3 ], [ 1, %121 ], [ 1, %19 ]
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %6) #3
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %5) #3
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %4) #3
  ret i32 %.4
}

declare i32 @XProgBar_UpdateWindowSize(ptr noundef) local_unnamed_addr #1

declare ptr @XArray_GetData(ptr noundef, i64 noundef) local_unnamed_addr #1

declare i64 @xstrnlcpyf(ptr noundef, i64 noundef, i64 noundef, i8 noundef signext, ptr noundef, ...) local_unnamed_addr #1

declare i64 @xstrnclr(ptr noundef, i64 noundef, ptr noundef, ptr noundef, ...) local_unnamed_addr #1

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

declare i64 @XProgBar_GetOutputAdv(ptr noundef, ptr noundef, i64 noundef, ptr noundef, i8 noundef zeroext) local_unnamed_addr #1

declare i32 @XWindow_AddLineFmt(ptr noundef, ptr noundef, ...) local_unnamed_addr #1

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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, !8, i64 0}
!6 = !{!"xcli_bar_", !7, i64 0, !8, i64 16, !8, i64 24, !11, i64 32, !11, i64 36, !9, i64 40, !9, i64 41, !9, i64 42, !9, i64 43, !12, i64 48, !11, i64 56, !9, i64 60, !9, i64 61, !9, i64 62, !9, i64 63, !9, i64 64, !9, i64 65, !9, i64 66, !9, i64 322, !9, i64 578}
!7 = !{!"xcli_size_", !8, i64 0, !8, i64 8}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!"double", !9, i64 0}
!13 = !{!14, !15, i64 12}
!14 = !{!"XCPUStats", !9, i64 0, !15, i64 12, !16, i64 16, !17, i64 64, !18, i64 160}
!15 = !{!"short", !9, i64 0}
!16 = !{!"XProcInfo", !11, i64 0, !11, i64 4, !8, i64 8, !8, i64 16, !8, i64 24, !8, i64 32, !8, i64 40}
!17 = !{!"XCPUInfo", !11, i64 0, !11, i64 4, !11, i64 8, !11, i64 12, !11, i64 16, !11, i64 20, !11, i64 24, !11, i64 28, !11, i64 32, !11, i64 36, !11, i64 40, !11, i64 44, !11, i64 48, !11, i64 52, !11, i64 56, !11, i64 60, !11, i64 64, !11, i64 68, !11, i64 72, !11, i64 76, !11, i64 80, !8, i64 88}
!18 = !{!"XArray_", !19, i64 0, !19, i64 8, !11, i64 16, !19, i64 24, !9, i64 32, !9, i64 33, !9, i64 34, !8, i64 40, !8, i64 48}
!19 = !{!"any pointer", !9, i64 0}
!20 = !{!17, !11, i64 0}
!21 = !{!17, !11, i64 20}
!22 = !{!17, !11, i64 12}
!23 = !{!6, !12, i64 48}
!24 = !{!17, !11, i64 16}
!25 = !{!17, !11, i64 4}
!26 = !{!17, !11, i64 8}
!27 = !{!17, !11, i64 28}
!28 = !{!17, !11, i64 32}
!29 = distinct !{!29, !30}
!30 = !{!"llvm.loop.mustprogress"}


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