; LLVM IR from AllAlgorithms/c :: algorithms (bankers)

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

@allocation = external dso_local global [5 x i32], align 16
@safe = external dso_local global i32, align 4
@counter = external dso_local global i32, align 4
@.str = external hidden unnamed_addr constant [29 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [3 x i8], align 1
@processes = external dso_local global i32, align 4
@i = external dso_local global i32, align 4
@running = external dso_local global [5 x i32], align 16
@.str.2 = external hidden unnamed_addr constant [29 x i8], align 1
@resources = external dso_local global i32, align 4
@.str.3 = external hidden unnamed_addr constant [21 x i8], align 1
@maxres = external dso_local global [5 x i32], align 16
@.str.4 = external hidden unnamed_addr constant [34 x i8], align 1
@j = external dso_local global i32, align 4
@current = external dso_local global [5 x [5 x i32]], align 16
@.str.5 = external hidden unnamed_addr constant [29 x i8], align 1
@maximum_claim = external dso_local global [5 x [5 x i32]], align 16
@.str.6 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [22 x i8], align 1
@available = external dso_local global [5 x i32], align 16
@.str.12 = external hidden unnamed_addr constant [22 x i8], align 1
@exec = external dso_local global i32, align 4
@.str.13 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [37 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [19 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local i32 @main() #0 {
  %1 = alloca i32, align 4
  store i32 0, ptr %1, align 4
  %2 = call i32 (ptr, ...) @printf(ptr noundef @.str)
  %3 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str.1, ptr noundef @processes)
  store i32 0, ptr @i, align 4, !tbaa !5
  br label %4

4:                                                ; preds = %14, %0
  %5 = load i32, ptr @i, align 4, !tbaa !5
  %6 = load i32, ptr @processes, align 4, !tbaa !5
  %7 = icmp slt i32 %5, %6
  br i1 %7, label %8, label %17

8:                                                ; preds = %4
  %9 = load i32, ptr @i, align 4, !tbaa !5
  %10 = sext i32 %9 to i64
  %11 = getelementptr inbounds [5 x i32], ptr @running, i64 0, i64 %10
  store i32 1, ptr %11, align 4, !tbaa !5
  %12 = load i32, ptr @counter, align 4, !tbaa !5
  %13 = add nsw i32 %12, 1
  store i32 %13, ptr @counter, align 4, !tbaa !5
  br label %14

14:                                               ; preds = %8
  %15 = load i32, ptr @i, align 4, !tbaa !5
  %16 = add nsw i32 %15, 1
  store i32 %16, ptr @i, align 4, !tbaa !5
  br label %4, !llvm.loop !9

17:                                               ; preds = %4
  %18 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
  %19 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str.1, ptr noundef @resources)
  %20 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
  store i32 0, ptr @i, align 4, !tbaa !5
  br label %21

21:                                               ; preds = %30, %17
  %22 = load i32, ptr @i, align 4, !tbaa !5
  %23 = load i32, ptr @resources, align 4, !tbaa !5
  %24 = icmp slt i32 %22, %23
  br i1 %24, label %25, label %33

25:                                               ; preds = %21
  %26 = load i32, ptr @i, align 4, !tbaa !5
  %27 = sext i32 %26 to i64
  %28 = getelementptr inbounds [5 x i32], ptr @maxres, i64 0, i64 %27
  %29 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str.1, ptr noundef %28)
  br label %30

30:                                               ; preds = %25
  %31 = load i32, ptr @i, align 4, !tbaa !5
  %32 = add nsw i32 %31, 1
  store i32 %32, ptr @i, align 4, !tbaa !5
  br label %21, !llvm.loop !11

33:                                               ; preds = %21
  %34 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
  store i32 0, ptr @i, align 4, !tbaa !5
  br label %35

35:                                               ; preds = %56, %33
  %36 = load i32, ptr @i, align 4, !tbaa !5
  %37 = load i32, ptr @processes, align 4, !tbaa !5
  %38 = icmp slt i32 %36, %37
  br i1 %38, label %39, label %59

39:                                               ; preds = %35
  store i32 0, ptr @j, align 4, !tbaa !5
  br label %40

40:                                               ; preds = %52, %39
  %41 = load i32, ptr @j, align 4, !tbaa !5
  %42 = load i32, ptr @resources, align 4, !tbaa !5
  %43 = icmp slt i32 %41, %42
  br i1 %43, label %44, label %55

44:                                               ; preds = %40
  %45 = load i32, ptr @i, align 4, !tbaa !5
  %46 = sext i32 %45 to i64
  %47 = getelementptr inbounds [5 x [5 x i32]], ptr @current, i64 0, i64 %46
  %48 = load i32, ptr @j, align 4, !tbaa !5
  %49 = sext i32 %48 to i64
  %50 = getelementptr inbounds [5 x i32], ptr %47, i64 0, i64 %49
  %51 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str.1, ptr noundef %50)
  br label %52

52:                                               ; preds = %44
  %53 = load i32, ptr @j, align 4, !tbaa !5
  %54 = add nsw i32 %53, 1
  store i32 %54, ptr @j, align 4, !tbaa !5
  br label %40, !llvm.loop !12

55:                                               ; preds = %40
  br label %56

56:                                               ; preds = %55
  %57 = load i32, ptr @i, align 4, !tbaa !5
  %58 = add nsw i32 %57, 1
  store i32 %58, ptr @i, align 4, !tbaa !5
  br label %35, !llvm.loop !13

59:                                               ; preds = %35
  %60 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
  store i32 0, ptr @i, align 4, !tbaa !5
  br label %61

61:                                               ; preds = %82, %59
  %62 = load i32, ptr @i, align 4, !tbaa !5
  %63 = load i32, ptr @processes, align 4, !tbaa !5
  %64 = icmp slt i32 %62, %63
  br i1 %64, label %65, label %85

65:                                               ; preds = %61
  store i32 0, ptr @j, align 4, !tbaa !5
  br label %66

66:                                               ; preds = %78, %65
  %67 = load i32, ptr @j, align 4, !tbaa !5
  %68 = load i32, ptr @resources, align 4, !tbaa !5
  %69 = icmp slt i32 %67, %68
  br i1 %69, label %70, label %81

70:                                               ; preds = %66
  %71 = load i32, ptr @i, align 4, !tbaa !5
  %72 = sext i32 %71 to i64
  %73 = getelementptr inbounds [5 x [5 x i32]], ptr @maximum_claim, i64 0, i64 %72
  %74 = load i32, ptr @j, align 4, !tbaa !5
  %75 = sext i32 %74 to i64
  %76 = getelementptr inbounds [5 x i32], ptr %73, i64 0, i64 %75
  %77 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str.1, ptr noundef %76)
  br label %78

78:                                               ; preds = %70
  %79 = load i32, ptr @j, align 4, !tbaa !5
  %80 = add nsw i32 %79, 1
  store i32 %80, ptr @j, align 4, !tbaa !5
  br label %66, !llvm.loop !14

81:                                               ; preds = %66
  br label %82

82:                                               ; preds = %81
  %83 = load i32, ptr @i, align 4, !tbaa !5
  %84 = add nsw i32 %83, 1
  store i32 %84, ptr @i, align 4, !tbaa !5
  br label %61, !llvm.loop !15

85:                                               ; preds = %61
  %86 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
  store i32 0, ptr @i, align 4, !tbaa !5
  br label %87

87:                                               ; preds = %97, %85
  %88 = load i32, ptr @i, align 4, !tbaa !5
  %89 = load i32, ptr @resources, align 4, !tbaa !5
  %90 = icmp slt i32 %88, %89
  br i1 %90, label %91, label %100

91:                                               ; preds = %87
  %92 = load i32, ptr @i, align 4, !tbaa !5
  %93 = sext i32 %92 to i64
  %94 = getelementptr inbounds [5 x i32], ptr @maxres, i64 0, i64 %93
  %95 = load i32, ptr %94, align 4, !tbaa !5
  %96 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %95)
  br label %97

97:                                               ; preds = %91
  %98 = load i32, ptr @i, align 4, !tbaa !5
  %99 = add nsw i32 %98, 1
  store i32 %99, ptr @i, align 4, !tbaa !5
  br label %87, !llvm.loop !16

100:                                              ; preds = %87
  %101 = call i32 (ptr, ...) @printf(ptr noundef @.str.8)
  store i32 0, ptr @i, align 4, !tbaa !5
  br label %102

102:                                              ; preds = %125, %100
  %103 = load i32, ptr @i, align 4, !tbaa !5
  %104 = load i32, ptr @processes, align 4, !tbaa !5
  %105 = icmp slt i32 %103, %104
  br i1 %105, label %106, label %128

106:                                              ; preds = %102
  store i32 0, ptr @j, align 4, !tbaa !5
  br label %107

107:                                              ; preds = %120, %106
  %108 = load i32, ptr @j, align 4, !tbaa !5
  %109 = load i32, ptr @resources, align 4, !tbaa !5
  %110 = icmp slt i32 %108, %109
  br i1 %110, label %111, label %123

111:                                              ; preds = %107
  %112 = load i32, ptr @i, align 4, !tbaa !5
  %113 = sext i32 %112 to i64
  %114 = getelementptr inbounds [5 x [5 x i32]], ptr @current, i64 0, i64 %113
  %115 = load i32, ptr @j, align 4, !tbaa !5
  %116 = sext i32 %115 to i64
  %117 = getelementptr inbounds [5 x i32], ptr %114, i64 0, i64 %116
  %118 = load i32, ptr %117, align 4, !tbaa !5
  %119 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %118)
  br label %120

120:                                              ; preds = %111
  %121 = load i32, ptr @j, align 4, !tbaa !5
  %122 = add nsw i32 %121, 1
  store i32 %122, ptr @j, align 4, !tbaa !5
  br label %107, !llvm.loop !17

123:                                              ; preds = %107
  %124 = call i32 (ptr, ...) @printf(ptr noundef @.str.9)
  br label %125

125:                                              ; preds = %123
  %126 = load i32, ptr @i, align 4, !tbaa !5
  %127 = add nsw i32 %126, 1
  store i32 %127, ptr @i, align 4, !tbaa !5
  br label %102, !llvm.loop !18

128:                                              ; preds = %102
  %129 = call i32 (ptr, ...) @printf(ptr noundef @.str.10)
  store i32 0, ptr @i, align 4, !tbaa !5
  br label %130

130:                                              ; preds = %153, %128
  %131 = load i32, ptr @i, align 4, !tbaa !5
  %132 = load i32, ptr @processes, align 4, !tbaa !5
  %133 = icmp slt i32 %131, %132
  br i1 %133, label %134, label %156

134:                                              ; preds = %130
  store i32 0, ptr @j, align 4, !tbaa !5
  br label %135

135:                                              ; preds = %148, %134
  %136 = load i32, ptr @j, align 4, !tbaa !5
  %137 = load i32, ptr @resources, align 4, !tbaa !5
  %138 = icmp slt i32 %136, %137
  br i1 %138, label %139, label %151

139:                                              ; preds = %135
  %140 = load i32, ptr @i, align 4, !tbaa !5
  %141 = sext i32 %140 to i64
  %142 = getelementptr inbounds [5 x [5 x i32]], ptr @maximum_claim, i64 0, i64 %141
  %143 = load i32, ptr @j, align 4, !tbaa !5
  %144 = sext i32 %143 to i64
  %145 = getelementptr inbounds [5 x i32], ptr %142, i64 0, i64 %144
  %146 = load i32, ptr %145, align 4, !tbaa !5
  %147 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %146)
  br label %148

148:                                              ; preds = %139
  %149 = load i32, ptr @j, align 4, !tbaa !5
  %150 = add nsw i32 %149, 1
  store i32 %150, ptr @j, align 4, !tbaa !5
  br label %135, !llvm.loop !19

151:                                              ; preds = %135
  %152 = call i32 (ptr, ...) @printf(ptr noundef @.str.9)
  br label %153

153:                                              ; preds = %151
  %154 = load i32, ptr @i, align 4, !tbaa !5
  %155 = add nsw i32 %154, 1
  store i32 %155, ptr @i, align 4, !tbaa !5
  br label %130, !llvm.loop !20

156:                                              ; preds = %130
  store i32 0, ptr @i, align 4, !tbaa !5
  br label %157

157:                                              ; preds = %183, %156
  %158 = load i32, ptr @i, align 4, !tbaa !5
  %159 = load i32, ptr @processes, align 4, !tbaa !5
  %160 = icmp slt i32 %158, %159
  br i1 %160, label %161, label %186

161:                                              ; preds = %157
  store i32 0, ptr @j, align 4, !tbaa !5
  br label %162

162:                                              ; preds = %179, %161
  %163 = load i32, ptr @j, align 4, !tbaa !5
  %164 = load i32, ptr @resources, align 4, !tbaa !5
  %165 = icmp slt i32 %163, %164
  br i1 %165, label %166, label %182

166:                                              ; preds = %162
  %167 = load i32, ptr @i, align 4, !tbaa !5
  %168 = sext i32 %167 to i64
  %169 = getelementptr inbounds [5 x [5 x i32]], ptr @current, i64 0, i64 %168
  %170 = load i32, ptr @j, align 4, !tbaa !5
  %171 = sext i32 %170 to i64
  %172 = getelementptr inbounds [5 x i32], ptr %169, i64 0, i64 %171
  %173 = load i32, ptr %172, align 4, !tbaa !5
  %174 = load i32, ptr @j, align 4, !tbaa !5
  %175 = sext i32 %174 to i64
  %176 = getelementptr inbounds [5 x i32], ptr @allocation, i64 0, i64 %175
  %177 = load i32, ptr %176, align 4, !tbaa !5
  %178 = add nsw i32 %177, %173
  store i32 %178, ptr %176, align 4, !tbaa !5
  br label %179

179:                                              ; preds = %166
  %180 = load i32, ptr @j, align 4, !tbaa !5
  %181 = add nsw i32 %180, 1
  store i32 %181, ptr @j, align 4, !tbaa !5
  br label %162, !llvm.loop !21

182:                                              ; preds = %162
  br label %183

183:                                              ; preds = %182
  %184 = load i32, ptr @i, align 4, !tbaa !5
  %185 = add nsw i32 %184, 1
  store i32 %185, ptr @i, align 4, !tbaa !5
  br label %157, !llvm.loop !22

186:                                              ; preds = %157
  %187 = call i32 (ptr, ...) @printf(ptr noundef @.str.11)
  store i32 0, ptr @i, align 4, !tbaa !5
  br label %188

188:                                              ; preds = %198, %186
  %189 = load i32, ptr @i, align 4, !tbaa !5
  %190 = load i32, ptr @resources, align 4, !tbaa !5
  %191 = icmp slt i32 %189, %190
  br i1 %191, label %192, label %201

192:                                              ; preds = %188
  %193 = load i32, ptr @i, align 4, !tbaa !5
  %194 = sext i32 %193 to i64
  %195 = getelementptr inbounds [5 x i32], ptr @allocation, i64 0, i64 %194
  %196 = load i32, ptr %195, align 4, !tbaa !5
  %197 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %196)
  br label %198

198:                                              ; preds = %192
  %199 = load i32, ptr @i, align 4, !tbaa !5
  %200 = add nsw i32 %199, 1
  store i32 %200, ptr @i, align 4, !tbaa !5
  br label %188, !llvm.loop !23

201:                                              ; preds = %188
  store i32 0, ptr @i, align 4, !tbaa !5
  br label %202

202:                                              ; preds = %219, %201
  %203 = load i32, ptr @i, align 4, !tbaa !5
  %204 = load i32, ptr @resources, align 4, !tbaa !5
  %205 = icmp slt i32 %203, %204
  br i1 %205, label %206, label %222

206:                                              ; preds = %202
  %207 = load i32, ptr @i, align 4, !tbaa !5
  %208 = sext i32 %207 to i64
  %209 = getelementptr inbounds [5 x i32], ptr @maxres, i64 0, i64 %208
  %210 = load i32, ptr %209, align 4, !tbaa !5
  %211 = load i32, ptr @i, align 4, !tbaa !5
  %212 = sext i32 %211 to i64
  %213 = getelementptr inbounds [5 x i32], ptr @allocation, i64 0, i64 %212
  %214 = load i32, ptr %213, align 4, !tbaa !5
  %215 = sub nsw i32 %210, %214
  %216 = load i32, ptr @i, align 4, !tbaa !5
  %217 = sext i32 %216 to i64
  %218 = getelementptr inbounds [5 x i32], ptr @available, i64 0, i64 %217
  store i32 %215, ptr %218, align 4, !tbaa !5
  br label %219

219:                                              ; preds = %206
  %220 = load i32, ptr @i, align 4, !tbaa !5
  %221 = add nsw i32 %220, 1
  store i32 %221, ptr @i, align 4, !tbaa !5
  br label %202, !llvm.loop !24

222:                                              ; preds = %202
  %223 = call i32 (ptr, ...) @printf(ptr noundef @.str.12)
  store i32 0, ptr @i, align 4, !tbaa !5
  br label %224

224:                                              ; preds = %234, %222
  %225 = load i32, ptr @i, align 4, !tbaa !5
  %226 = load i32, ptr @resources, align 4, !tbaa !5
  %227 = icmp slt i32 %225, %226
  br i1 %227, label %228, label %237

228:                                              ; preds = %224
  %229 = load i32, ptr @i, align 4, !tbaa !5
  %230 = sext i32 %229 to i64
  %231 = getelementptr inbounds [5 x i32], ptr @available, i64 0, i64 %230
  %232 = load i32, ptr %231, align 4, !tbaa !5
  %233 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %232)
  br label %234

234:                                              ; preds = %228
  %235 = load i32, ptr @i, align 4, !tbaa !5
  %236 = add nsw i32 %235, 1
  store i32 %236, ptr @i, align 4, !tbaa !5
  br label %224, !llvm.loop !25

237:                                              ; preds = %224
  %238 = call i32 (ptr, ...) @printf(ptr noundef @.str.9)
  br label %239

239:                                              ; preds = %345, %237
  %240 = load i32, ptr @counter, align 4, !tbaa !5
  %241 = icmp ne i32 %240, 0
  br i1 %241, label %242, label %346

242:                                              ; preds = %239
  store i32 0, ptr @safe, align 4, !tbaa !5
  store i32 0, ptr @i, align 4, !tbaa !5
  br label %243

243:                                              ; preds = %319, %242
  %244 = load i32, ptr @i, align 4, !tbaa !5
  %245 = load i32, ptr @processes, align 4, !tbaa !5
  %246 = icmp slt i32 %244, %245
  br i1 %246, label %247, label %322

247:                                              ; preds = %243
  %248 = load i32, ptr @i, align 4, !tbaa !5
  %249 = sext i32 %248 to i64
  %250 = getelementptr inbounds [5 x i32], ptr @running, i64 0, i64 %249
  %251 = load i32, ptr %250, align 4, !tbaa !5
  %252 = icmp ne i32 %251, 0
  br i1 %252, label %253, label %318

253:                                              ; preds = %247
  store i32 1, ptr @exec, align 4, !tbaa !5
  store i32 0, ptr @j, align 4, !tbaa !5
  br label %254

254:                                              ; preds = %281, %253
  %255 = load i32, ptr @j, align 4, !tbaa !5
  %256 = load i32, ptr @resources, align 4, !tbaa !5
  %257 = icmp slt i32 %255, %256
  br i1 %257, label %258, label %284

258:                                              ; preds = %254
  %259 = load i32, ptr @i, align 4, !tbaa !5
  %260 = sext i32 %259 to i64
  %261 = getelementptr inbounds [5 x [5 x i32]], ptr @maximum_claim, i64 0, i64 %260
  %262 = load i32, ptr @j, align 4, !tbaa !5
  %263 = sext i32 %262 to i64
  %264 = getelementptr inbounds [5 x i32], ptr %261, i64 0, i64 %263
  %265 = load i32, ptr %264, align 4, !tbaa !5
  %266 = load i32, ptr @i, align 4, !tbaa !5
  %267 = sext i32 %266 to i64
  %268 = getelementptr inbounds [5 x [5 x i32]], ptr @current, i64 0, i64 %267
  %269 = load i32, ptr @j, align 4, !tbaa !5
  %270 = sext i32 %269 to i64
  %271 = getelementptr inbounds [5 x i32], ptr %268, i64 0, i64 %270
  %272 = load i32, ptr %271, align 4, !tbaa !5
  %273 = sub nsw i32 %265, %272
  %274 = load i32, ptr @j, align 4, !tbaa !5
  %275 = sext i32 %274 to i64
  %276 = getelementptr inbounds [5 x i32], ptr @available, i64 0, i64 %275
  %277 = load i32, ptr %276, align 4, !tbaa !5
  %278 = icmp sgt i32 %273, %277
  br i1 %278, label %279, label %280

279:                                              ; preds = %258
  store i32 0, ptr @exec, align 4, !tbaa !5
  br label %284

280:                                              ; preds = %258
  br label %281

281:                                              ; preds = %280
  %282 = load i32, ptr @j, align 4, !tbaa !5
  %283 = add nsw i32 %282, 1
  store i32 %283, ptr @j, align 4, !tbaa !5
  br label %254, !llvm.loop !26

284:                                              ; preds = %279, %254
  %285 = load i32, ptr @exec, align 4, !tbaa !5
  %286 = icmp ne i32 %285, 0
  br i1 %286, label %287, label %317

287:                                              ; preds = %284
  %288 = load i32, ptr @i, align 4, !tbaa !5
  %289 = add nsw i32 %288, 1
  %290 = call i32 (ptr, ...) @printf(ptr noundef @.str.13, i32 noundef %289)
  %291 = load i32, ptr @i, align 4, !tbaa !5
  %292 = sext i32 %291 to i64
  %293 = getelementptr inbounds [5 x i32], ptr @running, i64 0, i64 %292
  store i32 0, ptr %293, align 4, !tbaa !5
  %294 = load i32, ptr @counter, align 4, !tbaa !5
  %295 = add nsw i32 %294, -1
  store i32 %295, ptr @counter, align 4, !tbaa !5
  store i32 1, ptr @safe, align 4, !tbaa !5
  store i32 0, ptr @j, align 4, !tbaa !5
  br label %296

296:                                              ; preds = %313, %287
  %297 = load i32, ptr @j, align 4, !tbaa !5
  %298 = load i32, ptr @resources, align 4, !tbaa !5
  %299 = icmp slt i32 %297, %298
  br i1 %299, label %300, label %316

300:                                              ; preds = %296
  %301 = load i32, ptr @i, align 4, !tbaa !5
  %302 = sext i32 %301 to i64
  %303 = getelementptr inbounds [5 x [5 x i32]], ptr @current, i64 0, i64 %302
  %304 = load i32, ptr @j, align 4, !tbaa !5
  %305 = sext i32 %304 to i64
  %306 = getelementptr inbounds [5 x i32], ptr %303, i64 0, i64 %305
  %307 = load i32, ptr %306, align 4, !tbaa !5
  %308 = load i32, ptr @j, align 4, !tbaa !5
  %309 = sext i32 %308 to i64
  %310 = getelementptr inbounds [5 x i32], ptr @available, i64 0, i64 %309
  %311 = load i32, ptr %310, align 4, !tbaa !5
  %312 = add nsw i32 %311, %307
  store i32 %312, ptr %310, align 4, !tbaa !5
  br label %313

313:                                              ; preds = %300
  %314 = load i32, ptr @j, align 4, !tbaa !5
  %315 = add nsw i32 %314, 1
  store i32 %315, ptr @j, align 4, !tbaa !5
  br label %296, !llvm.loop !27

316:                                              ; preds = %296
  br label %322

317:                                              ; preds = %284
  br label %318

318:                                              ; preds = %317, %247
  br label %319

319:                                              ; preds = %318
  %320 = load i32, ptr @i, align 4, !tbaa !5
  %321 = add nsw i32 %320, 1
  store i32 %321, ptr @i, align 4, !tbaa !5
  br label %243, !llvm.loop !28

322:                                              ; preds = %316, %243
  %323 = load i32, ptr @safe, align 4, !tbaa !5
  %324 = icmp ne i32 %323, 0
  br i1 %324, label %327, label %325

325:                                              ; preds = %322
  %326 = call i32 (ptr, ...) @printf(ptr noundef @.str.14)
  br label %346

327:                                              ; preds = %322
  %328 = call i32 (ptr, ...) @printf(ptr noundef @.str.15)
  %329 = call i32 (ptr, ...) @printf(ptr noundef @.str.16)
  store i32 0, ptr @i, align 4, !tbaa !5
  br label %330

330:                                              ; preds = %340, %327
  %331 = load i32, ptr @i, align 4, !tbaa !5
  %332 = load i32, ptr @resources, align 4, !tbaa !5
  %333 = icmp slt i32 %331, %332
  br i1 %333, label %334, label %343

334:                                              ; preds = %330
  %335 = load i32, ptr @i, align 4, !tbaa !5
  %336 = sext i32 %335 to i64
  %337 = getelementptr inbounds [5 x i32], ptr @available, i64 0, i64 %336
  %338 = load i32, ptr %337, align 4, !tbaa !5
  %339 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %338)
  br label %340

340:                                              ; preds = %334
  %341 = load i32, ptr @i, align 4, !tbaa !5
  %342 = add nsw i32 %341, 1
  store i32 %342, ptr @i, align 4, !tbaa !5
  br label %330, !llvm.loop !29

343:                                              ; preds = %330
  %344 = call i32 (ptr, ...) @printf(ptr noundef @.str.9)
  br label %345

345:                                              ; preds = %343
  br label %239, !llvm.loop !30

346:                                              ; preds = %325, %239
  ret i32 0
}

declare i32 @printf(ptr noundef, ...) #1

declare i32 @__isoc99_scanf(ptr noundef, ...) #1

attributes #0 = { 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 #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" }

!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 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = distinct !{!11, !10}
!12 = distinct !{!12, !10}
!13 = distinct !{!13, !10}
!14 = distinct !{!14, !10}
!15 = distinct !{!15, !10}
!16 = distinct !{!16, !10}
!17 = distinct !{!17, !10}
!18 = distinct !{!18, !10}
!19 = distinct !{!19, !10}
!20 = distinct !{!20, !10}
!21 = distinct !{!21, !10}
!22 = distinct !{!22, !10}
!23 = distinct !{!23, !10}
!24 = distinct !{!24, !10}
!25 = distinct !{!25, !10}
!26 = distinct !{!26, !10}
!27 = distinct !{!27, !10}
!28 = distinct !{!28, !10}
!29 = distinct !{!29, !10}
!30 = distinct !{!30, !10}


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

@allocation = external dso_local local_unnamed_addr global [5 x i32], align 16
@safe = external dso_local local_unnamed_addr global i32, align 4
@counter = external dso_local local_unnamed_addr global i32, align 4
@.str = external hidden unnamed_addr constant [29 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [3 x i8], align 1
@processes = external dso_local global i32, align 4
@i = external dso_local local_unnamed_addr global i32, align 4
@running = external dso_local local_unnamed_addr global [5 x i32], align 16
@.str.2 = external hidden unnamed_addr constant [29 x i8], align 1
@resources = external dso_local global i32, align 4
@.str.3 = external hidden unnamed_addr constant [21 x i8], align 1
@maxres = external dso_local global [5 x i32], align 16
@.str.4 = external hidden unnamed_addr constant [34 x i8], align 1
@j = external dso_local local_unnamed_addr global i32, align 4
@current = external dso_local global [5 x [5 x i32]], align 16
@.str.5 = external hidden unnamed_addr constant [29 x i8], align 1
@maximum_claim = external dso_local global [5 x [5 x i32]], align 16
@.str.6 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [22 x i8], align 1
@available = external dso_local local_unnamed_addr global [5 x i32], align 16
@.str.12 = external hidden unnamed_addr constant [22 x i8], align 1
@exec = external dso_local local_unnamed_addr global i32, align 4
@.str.13 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [37 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [19 x i8], align 1

; Function Attrs: nofree nounwind uwtable
define dso_local noundef i32 @main() local_unnamed_addr #0 {
  %1 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str)
  %2 = tail call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str.1, ptr noundef nonnull @processes)
  %3 = load i32, ptr @processes, align 4, !tbaa !5
  %counter.promoted = load i32, ptr @counter, align 4, !tbaa !5
  %4 = icmp sgt i32 %3, 0
  br i1 %4, label %.lr.ph.preheader, label %10

.lr.ph.preheader:                                 ; preds = %0
  %wide.trip.count = zext nneg i32 %3 to i64
  %min.iters.check = icmp ult i32 %3, 8
  br i1 %min.iters.check, label %.lr.ph.preheader266, label %vector.ph

vector.ph:                                        ; preds = %.lr.ph.preheader
  %n.vec = and i64 %wide.trip.count, 2147483640
  br label %vector.body

vector.body:                                      ; preds = %vector.body, %vector.ph
  %index = phi i64 [ 0, %vector.ph ], [ %index.next, %vector.body ]
  %5 = getelementptr inbounds [5 x i32], ptr @running, i64 0, i64 %index
  %6 = getelementptr inbounds i8, ptr %5, i64 16
  store <4 x i32> <i32 1, i32 1, i32 1, i32 1>, ptr %5, align 16, !tbaa !5
  store <4 x i32> <i32 1, i32 1, i32 1, i32 1>, ptr %6, align 16, !tbaa !5
  %index.next = add nuw i64 %index, 8
  %7 = icmp eq i64 %index.next, %n.vec
  br i1 %7, label %middle.block, label %vector.body, !llvm.loop !9

middle.block:                                     ; preds = %vector.body
  %cmp.n = icmp eq i64 %n.vec, %wide.trip.count
  br i1 %cmp.n, label %._crit_edge, label %.lr.ph.preheader266

.lr.ph.preheader266:                              ; preds = %middle.block, %.lr.ph.preheader
  %indvars.iv.ph = phi i64 [ 0, %.lr.ph.preheader ], [ %n.vec, %middle.block ]
  br label %.lr.ph

.lr.ph:                                           ; preds = %.lr.ph.preheader266, %.lr.ph
  %indvars.iv = phi i64 [ %indvars.iv.next, %.lr.ph ], [ %indvars.iv.ph, %.lr.ph.preheader266 ]
  %8 = getelementptr inbounds [5 x i32], ptr @running, i64 0, i64 %indvars.iv
  store i32 1, ptr %8, align 4, !tbaa !5
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %wide.trip.count
  br i1 %exitcond.not, label %._crit_edge, label %.lr.ph, !llvm.loop !13

._crit_edge:                                      ; preds = %.lr.ph, %middle.block
  %9 = add i32 %3, %counter.promoted
  store i32 %9, ptr @counter, align 4, !tbaa !5
  br label %10

10:                                               ; preds = %._crit_edge, %0
  %storemerge.lcssa = phi i32 [ %3, %._crit_edge ], [ 0, %0 ]
  store i32 %storemerge.lcssa, ptr @i, align 4, !tbaa !5
  %11 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2)
  %12 = tail call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str.1, ptr noundef nonnull @resources)
  %13 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3)
  store i32 0, ptr @i, align 4, !tbaa !5
  %14 = load i32, ptr @resources, align 4, !tbaa !5
  %15 = icmp sgt i32 %14, 0
  br i1 %15, label %.lr.ph52, label %._crit_edge53

.lr.ph52:                                         ; preds = %10, %.lr.ph52
  %storemerge1550 = phi i32 [ %20, %.lr.ph52 ], [ 0, %10 ]
  %16 = sext i32 %storemerge1550 to i64
  %17 = getelementptr inbounds [5 x i32], ptr @maxres, i64 0, i64 %16
  %18 = tail call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str.1, ptr noundef nonnull %17)
  %19 = load i32, ptr @i, align 4, !tbaa !5
  %20 = add nsw i32 %19, 1
  store i32 %20, ptr @i, align 4, !tbaa !5
  %21 = load i32, ptr @resources, align 4, !tbaa !5
  %22 = icmp slt i32 %20, %21
  br i1 %22, label %.lr.ph52, label %._crit_edge53, !llvm.loop !14

._crit_edge53:                                    ; preds = %.lr.ph52, %10
  %23 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4)
  store i32 0, ptr @i, align 4, !tbaa !5
  %24 = load i32, ptr @processes, align 4, !tbaa !5
  %25 = icmp sgt i32 %24, 0
  br i1 %25, label %.preheader45.preheader, label %._crit_edge57

.preheader45.preheader:                           ; preds = %._crit_edge53
  %.pre = load i32, ptr @resources, align 4, !tbaa !5
  br label %.preheader45

.preheader45:                                     ; preds = %.preheader45.preheader, %._crit_edge56
  %26 = phi i32 [ %24, %.preheader45.preheader ], [ %39, %._crit_edge56 ]
  %27 = phi i32 [ 0, %.preheader45.preheader ], [ %42, %._crit_edge56 ]
  %28 = phi i32 [ %.pre, %.preheader45.preheader ], [ %41, %._crit_edge56 ]
  store i32 0, ptr @j, align 4, !tbaa !5
  %29 = icmp sgt i32 %28, 0
  br i1 %29, label %.lr.ph55, label %._crit_edge56

.lr.ph55:                                         ; preds = %.preheader45, %.lr.ph55
  %storemerge3654 = phi i32 [ %36, %.lr.ph55 ], [ 0, %.preheader45 ]
  %30 = load i32, ptr @i, align 4, !tbaa !5
  %31 = sext i32 %30 to i64
  %32 = sext i32 %storemerge3654 to i64
  %33 = getelementptr inbounds [5 x [5 x i32]], ptr @current, i64 0, i64 %31, i64 %32
  %34 = tail call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str.1, ptr noundef nonnull %33)
  %35 = load i32, ptr @j, align 4, !tbaa !5
  %36 = add nsw i32 %35, 1
  store i32 %36, ptr @j, align 4, !tbaa !5
  %37 = load i32, ptr @resources, align 4, !tbaa !5
  %38 = icmp slt i32 %36, %37
  br i1 %38, label %.lr.ph55, label %._crit_edge56.loopexit, !llvm.loop !15

._crit_edge56.loopexit:                           ; preds = %.lr.ph55
  %.pre178 = load i32, ptr @i, align 4, !tbaa !5
  %.pre179 = load i32, ptr @processes, align 4, !tbaa !5
  br label %._crit_edge56

._crit_edge56:                                    ; preds = %._crit_edge56.loopexit, %.preheader45
  %39 = phi i32 [ %.pre179, %._crit_edge56.loopexit ], [ %26, %.preheader45 ]
  %40 = phi i32 [ %.pre178, %._crit_edge56.loopexit ], [ %27, %.preheader45 ]
  %41 = phi i32 [ %37, %._crit_edge56.loopexit ], [ %28, %.preheader45 ]
  %42 = add nsw i32 %40, 1
  store i32 %42, ptr @i, align 4, !tbaa !5
  %43 = icmp slt i32 %42, %39
  br i1 %43, label %.preheader45, label %._crit_edge57, !llvm.loop !16

._crit_edge57:                                    ; preds = %._crit_edge56, %._crit_edge53
  %44 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.5)
  store i32 0, ptr @i, align 4, !tbaa !5
  %45 = load i32, ptr @processes, align 4, !tbaa !5
  %46 = icmp sgt i32 %45, 0
  br i1 %46, label %.preheader44.preheader, label %._crit_edge61

.preheader44.preheader:                           ; preds = %._crit_edge57
  %.pre180 = load i32, ptr @resources, align 4, !tbaa !5
  br label %.preheader44

.preheader44:                                     ; preds = %.preheader44.preheader, %._crit_edge60
  %47 = phi i32 [ %45, %.preheader44.preheader ], [ %60, %._crit_edge60 ]
  %48 = phi i32 [ 0, %.preheader44.preheader ], [ %63, %._crit_edge60 ]
  %49 = phi i32 [ %.pre180, %.preheader44.preheader ], [ %62, %._crit_edge60 ]
  store i32 0, ptr @j, align 4, !tbaa !5
  %50 = icmp sgt i32 %49, 0
  br i1 %50, label %.lr.ph59, label %._crit_edge60

.lr.ph59:                                         ; preds = %.preheader44, %.lr.ph59
  %storemerge3558 = phi i32 [ %57, %.lr.ph59 ], [ 0, %.preheader44 ]
  %51 = load i32, ptr @i, align 4, !tbaa !5
  %52 = sext i32 %51 to i64
  %53 = sext i32 %storemerge3558 to i64
  %54 = getelementptr inbounds [5 x [5 x i32]], ptr @maximum_claim, i64 0, i64 %52, i64 %53
  %55 = tail call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str.1, ptr noundef nonnull %54)
  %56 = load i32, ptr @j, align 4, !tbaa !5
  %57 = add nsw i32 %56, 1
  store i32 %57, ptr @j, align 4, !tbaa !5
  %58 = load i32, ptr @resources, align 4, !tbaa !5
  %59 = icmp slt i32 %57, %58
  br i1 %59, label %.lr.ph59, label %._crit_edge60.loopexit, !llvm.loop !17

._crit_edge60.loopexit:                           ; preds = %.lr.ph59
  %.pre181 = load i32, ptr @i, align 4, !tbaa !5
  %.pre182 = load i32, ptr @processes, align 4, !tbaa !5
  br label %._crit_edge60

._crit_edge60:                                    ; preds = %._crit_edge60.loopexit, %.preheader44
  %60 = phi i32 [ %.pre182, %._crit_edge60.loopexit ], [ %47, %.preheader44 ]
  %61 = phi i32 [ %.pre181, %._crit_edge60.loopexit ], [ %48, %.preheader44 ]
  %62 = phi i32 [ %58, %._crit_edge60.loopexit ], [ %49, %.preheader44 ]
  %63 = add nsw i32 %61, 1
  store i32 %63, ptr @i, align 4, !tbaa !5
  %64 = icmp slt i32 %63, %60
  br i1 %64, label %.preheader44, label %._crit_edge61, !llvm.loop !18

._crit_edge61:                                    ; preds = %._crit_edge60, %._crit_edge57
  %65 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.6)
  store i32 0, ptr @i, align 4, !tbaa !5
  %66 = load i32, ptr @resources, align 4, !tbaa !5
  %67 = icmp sgt i32 %66, 0
  br i1 %67, label %.lr.ph64, label %._crit_edge65

.lr.ph64:                                         ; preds = %._crit_edge61, %.lr.ph64
  %storemerge1862 = phi i32 [ %73, %.lr.ph64 ], [ 0, %._crit_edge61 ]
  %68 = sext i32 %storemerge1862 to i64
  %69 = getelementptr inbounds [5 x i32], ptr @maxres, i64 0, i64 %68
  %70 = load i32, ptr %69, align 4, !tbaa !5
  %71 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.7, i32 noundef %70)
  %72 = load i32, ptr @i, align 4, !tbaa !5
  %73 = add nsw i32 %72, 1
  store i32 %73, ptr @i, align 4, !tbaa !5
  %74 = load i32, ptr @resources, align 4, !tbaa !5
  %75 = icmp slt i32 %73, %74
  br i1 %75, label %.lr.ph64, label %._crit_edge65, !llvm.loop !19

._crit_edge65:                                    ; preds = %.lr.ph64, %._crit_edge61
  %76 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.8)
  store i32 0, ptr @i, align 4, !tbaa !5
  %77 = load i32, ptr @processes, align 4, !tbaa !5
  %78 = icmp sgt i32 %77, 0
  br i1 %78, label %.preheader43, label %._crit_edge69

.preheader43:                                     ; preds = %._crit_edge65, %._crit_edge68
  store i32 0, ptr @j, align 4, !tbaa !5
  %79 = load i32, ptr @resources, align 4, !tbaa !5
  %80 = icmp sgt i32 %79, 0
  br i1 %80, label %.lr.ph67, label %._crit_edge68

.lr.ph67:                                         ; preds = %.preheader43, %.lr.ph67
  %storemerge3466 = phi i32 [ %88, %.lr.ph67 ], [ 0, %.preheader43 ]
  %81 = load i32, ptr @i, align 4, !tbaa !5
  %82 = sext i32 %81 to i64
  %83 = sext i32 %storemerge3466 to i64
  %84 = getelementptr inbounds [5 x [5 x i32]], ptr @current, i64 0, i64 %82, i64 %83
  %85 = load i32, ptr %84, align 4, !tbaa !5
  %86 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.7, i32 noundef %85)
  %87 = load i32, ptr @j, align 4, !tbaa !5
  %88 = add nsw i32 %87, 1
  store i32 %88, ptr @j, align 4, !tbaa !5
  %89 = load i32, ptr @resources, align 4, !tbaa !5
  %90 = icmp slt i32 %88, %89
  br i1 %90, label %.lr.ph67, label %._crit_edge68, !llvm.loop !20

._crit_edge68:                                    ; preds = %.lr.ph67, %.preheader43
  %91 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.9)
  %92 = load i32, ptr @i, align 4, !tbaa !5
  %93 = add nsw i32 %92, 1
  store i32 %93, ptr @i, align 4, !tbaa !5
  %94 = load i32, ptr @processes, align 4, !tbaa !5
  %95 = icmp slt i32 %93, %94
  br i1 %95, label %.preheader43, label %._crit_edge69, !llvm.loop !21

._crit_edge69:                                    ; preds = %._crit_edge68, %._crit_edge65
  %96 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.10)
  store i32 0, ptr @i, align 4, !tbaa !5
  %97 = load i32, ptr @processes, align 4, !tbaa !5
  %98 = icmp sgt i32 %97, 0
  br i1 %98, label %.preheader42, label %.preheader41.thread

.preheader42:                                     ; preds = %._crit_edge69, %._crit_edge72
  store i32 0, ptr @j, align 4, !tbaa !5
  %99 = load i32, ptr @resources, align 4, !tbaa !5
  %100 = icmp sgt i32 %99, 0
  br i1 %100, label %.lr.ph71, label %._crit_edge72

.preheader41:                                     ; preds = %._crit_edge72
  %101 = icmp sgt i32 %129, 0
  br i1 %101, label %.preheader40.lr.ph, label %.preheader41.thread

.preheader40.lr.ph:                               ; preds = %.preheader41
  %102 = load i32, ptr @resources, align 4, !tbaa !5
  %103 = icmp sgt i32 %102, 0
  br i1 %103, label %.preheader40.us.preheader, label %._crit_edge79

.preheader40.us.preheader:                        ; preds = %.preheader40.lr.ph
  %wide.trip.count151 = zext nneg i32 %129 to i64
  %wide.trip.count146 = zext nneg i32 %102 to i64
  %min.iters.check211 = icmp ult i32 %102, 8
  %n.vec214 = and i64 %wide.trip.count146, 2147483640
  %cmp.n222 = icmp eq i64 %n.vec214, %wide.trip.count146
  br label %.preheader40.us

.preheader40.us:                                  ; preds = %.preheader40.us.preheader, %._crit_edge76.us
  %indvars.iv148 = phi i64 [ 0, %.preheader40.us.preheader ], [ %indvars.iv.next149, %._crit_edge76.us ]
  br i1 %min.iters.check211, label %scalar.ph210.preheader, label %vector.body216

vector.body216:                                   ; preds = %.preheader40.us, %vector.body216
  %index217 = phi i64 [ %index.next221, %vector.body216 ], [ 0, %.preheader40.us ]
  %104 = getelementptr inbounds [5 x [5 x i32]], ptr @current, i64 0, i64 %indvars.iv148, i64 %index217
  %105 = getelementptr inbounds i8, ptr %104, i64 16
  %wide.load = load <4 x i32>, ptr %104, align 4, !tbaa !5
  %wide.load218 = load <4 x i32>, ptr %105, align 4, !tbaa !5
  %106 = getelementptr inbounds [5 x i32], ptr @allocation, i64 0, i64 %index217
  %107 = getelementptr inbounds i8, ptr %106, i64 16
  %wide.load219 = load <4 x i32>, ptr %106, align 16, !tbaa !5
  %wide.load220 = load <4 x i32>, ptr %107, align 16, !tbaa !5
  %108 = add nsw <4 x i32> %wide.load219, %wide.load
  %109 = add nsw <4 x i32> %wide.load220, %wide.load218
  store <4 x i32> %108, ptr %106, align 16, !tbaa !5
  store <4 x i32> %109, ptr %107, align 16, !tbaa !5
  %index.next221 = add nuw i64 %index217, 8
  %110 = icmp eq i64 %index.next221, %n.vec214
  br i1 %110, label %middle.block209, label %vector.body216, !llvm.loop !22

middle.block209:                                  ; preds = %vector.body216
  br i1 %cmp.n222, label %._crit_edge76.us, label %scalar.ph210.preheader

scalar.ph210.preheader:                           ; preds = %middle.block209, %.preheader40.us
  %indvars.iv143.ph = phi i64 [ 0, %.preheader40.us ], [ %n.vec214, %middle.block209 ]
  br label %scalar.ph210

scalar.ph210:                                     ; preds = %scalar.ph210.preheader, %scalar.ph210
  %indvars.iv143 = phi i64 [ %indvars.iv.next144, %scalar.ph210 ], [ %indvars.iv143.ph, %scalar.ph210.preheader ]
  %111 = getelementptr inbounds [5 x [5 x i32]], ptr @current, i64 0, i64 %indvars.iv148, i64 %indvars.iv143
  %112 = load i32, ptr %111, align 4, !tbaa !5
  %113 = getelementptr inbounds [5 x i32], ptr @allocation, i64 0, i64 %indvars.iv143
  %114 = load i32, ptr %113, align 4, !tbaa !5
  %115 = add nsw i32 %114, %112
  store i32 %115, ptr %113, align 4, !tbaa !5
  %indvars.iv.next144 = add nuw nsw i64 %indvars.iv143, 1
  %exitcond147.not = icmp eq i64 %indvars.iv.next144, %wide.trip.count146
  br i1 %exitcond147.not, label %._crit_edge76.us, label %scalar.ph210, !llvm.loop !23

._crit_edge76.us:                                 ; preds = %scalar.ph210, %middle.block209
  %indvars.iv.next149 = add nuw nsw i64 %indvars.iv148, 1
  %exitcond152.not = icmp eq i64 %indvars.iv.next149, %wide.trip.count151
  br i1 %exitcond152.not, label %._crit_edge79, label %.preheader40.us, !llvm.loop !24

.lr.ph71:                                         ; preds = %.preheader42, %.lr.ph71
  %storemerge3370 = phi i32 [ %123, %.lr.ph71 ], [ 0, %.preheader42 ]
  %116 = load i32, ptr @i, align 4, !tbaa !5
  %117 = sext i32 %116 to i64
  %118 = sext i32 %storemerge3370 to i64
  %119 = getelementptr inbounds [5 x [5 x i32]], ptr @maximum_claim, i64 0, i64 %117, i64 %118
  %120 = load i32, ptr %119, align 4, !tbaa !5
  %121 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.7, i32 noundef %120)
  %122 = load i32, ptr @j, align 4, !tbaa !5
  %123 = add nsw i32 %122, 1
  store i32 %123, ptr @j, align 4, !tbaa !5
  %124 = load i32, ptr @resources, align 4, !tbaa !5
  %125 = icmp slt i32 %123, %124
  br i1 %125, label %.lr.ph71, label %._crit_edge72, !llvm.loop !25

._crit_edge72:                                    ; preds = %.lr.ph71, %.preheader42
  %126 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.9)
  %127 = load i32, ptr @i, align 4, !tbaa !5
  %128 = add nsw i32 %127, 1
  store i32 %128, ptr @i, align 4, !tbaa !5
  %129 = load i32, ptr @processes, align 4, !tbaa !5
  %130 = icmp slt i32 %128, %129
  br i1 %130, label %.preheader42, label %.preheader41, !llvm.loop !26

._crit_edge79:                                    ; preds = %._crit_edge76.us, %.preheader40.lr.ph
  %.us-phi = phi i32 [ 0, %.preheader40.lr.ph ], [ %102, %._crit_edge76.us ]
  store i32 %.us-phi, ptr @j, align 4, !tbaa !5
  br label %.preheader41.thread

.preheader41.thread:                              ; preds = %._crit_edge69, %._crit_edge79, %.preheader41
  %storemerge21.lcssa = phi i32 [ %129, %._crit_edge79 ], [ 0, %.preheader41 ], [ 0, %._crit_edge69 ]
  store i32 %storemerge21.lcssa, ptr @i, align 4, !tbaa !5
  %131 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.11)
  store i32 0, ptr @i, align 4, !tbaa !5
  %132 = load i32, ptr @resources, align 4, !tbaa !5
  %133 = icmp sgt i32 %132, 0
  br i1 %133, label %.lr.ph84, label %._crit_edge88

.preheader:                                       ; preds = %.lr.ph84
  %134 = icmp sgt i32 %150, 0
  br i1 %134, label %.lr.ph87.preheader, label %._crit_edge88

.lr.ph87.preheader:                               ; preds = %.preheader
  %wide.trip.count156 = zext nneg i32 %150 to i64
  %min.iters.check225 = icmp ult i32 %150, 8
  br i1 %min.iters.check225, label %.lr.ph87.preheader262, label %vector.ph226

.lr.ph87.preheader262:                            ; preds = %middle.block223, %.lr.ph87.preheader
  %indvars.iv153.ph = phi i64 [ 0, %.lr.ph87.preheader ], [ %n.vec228, %middle.block223 ]
  br label %.lr.ph87

vector.ph226:                                     ; preds = %.lr.ph87.preheader
  %n.vec228 = and i64 %wide.trip.count156, 2147483640
  br label %vector.body230

vector.body230:                                   ; preds = %vector.body230, %vector.ph226
  %index231 = phi i64 [ 0, %vector.ph226 ], [ %index.next236, %vector.body230 ]
  %135 = getelementptr inbounds [5 x i32], ptr @maxres, i64 0, i64 %index231
  %136 = getelementptr inbounds i8, ptr %135, i64 16
  %wide.load232 = load <4 x i32>, ptr %135, align 16, !tbaa !5
  %wide.load233 = load <4 x i32>, ptr %136, align 16, !tbaa !5
  %137 = getelementptr inbounds [5 x i32], ptr @allocation, i64 0, i64 %index231
  %138 = getelementptr inbounds i8, ptr %137, i64 16
  %wide.load234 = load <4 x i32>, ptr %137, align 16, !tbaa !5
  %wide.load235 = load <4 x i32>, ptr %138, align 16, !tbaa !5
  %139 = sub nsw <4 x i32> %wide.load232, %wide.load234
  %140 = sub nsw <4 x i32> %wide.load233, %wide.load235
  %141 = getelementptr inbounds [5 x i32], ptr @available, i64 0, i64 %index231
  %142 = getelementptr inbounds i8, ptr %141, i64 16
  store <4 x i32> %139, ptr %141, align 16, !tbaa !5
  store <4 x i32> %140, ptr %142, align 16, !tbaa !5
  %index.next236 = add nuw i64 %index231, 8
  %143 = icmp eq i64 %index.next236, %n.vec228
  br i1 %143, label %middle.block223, label %vector.body230, !llvm.loop !27

middle.block223:                                  ; preds = %vector.body230
  %cmp.n237 = icmp eq i64 %n.vec228, %wide.trip.count156
  br i1 %cmp.n237, label %._crit_edge88, label %.lr.ph87.preheader262

.lr.ph84:                                         ; preds = %.preheader41.thread, %.lr.ph84
  %storemerge2282 = phi i32 [ %149, %.lr.ph84 ], [ 0, %.preheader41.thread ]
  %144 = sext i32 %storemerge2282 to i64
  %145 = getelementptr inbounds [5 x i32], ptr @allocation, i64 0, i64 %144
  %146 = load i32, ptr %145, align 4, !tbaa !5
  %147 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.7, i32 noundef %146)
  %148 = load i32, ptr @i, align 4, !tbaa !5
  %149 = add nsw i32 %148, 1
  store i32 %149, ptr @i, align 4, !tbaa !5
  %150 = load i32, ptr @resources, align 4, !tbaa !5
  %151 = icmp slt i32 %149, %150
  br i1 %151, label %.lr.ph84, label %.preheader, !llvm.loop !28

.lr.ph87:                                         ; preds = %.lr.ph87.preheader262, %.lr.ph87
  %indvars.iv153 = phi i64 [ %indvars.iv.next154, %.lr.ph87 ], [ %indvars.iv153.ph, %.lr.ph87.preheader262 ]
  %152 = getelementptr inbounds [5 x i32], ptr @maxres, i64 0, i64 %indvars.iv153
  %153 = load i32, ptr %152, align 4, !tbaa !5
  %154 = getelementptr inbounds [5 x i32], ptr @allocation, i64 0, i64 %indvars.iv153
  %155 = load i32, ptr %154, align 4, !tbaa !5
  %156 = sub nsw i32 %153, %155
  %157 = getelementptr inbounds [5 x i32], ptr @available, i64 0, i64 %indvars.iv153
  store i32 %156, ptr %157, align 4, !tbaa !5
  %indvars.iv.next154 = add nuw nsw i64 %indvars.iv153, 1
  %exitcond157.not = icmp eq i64 %indvars.iv.next154, %wide.trip.count156
  br i1 %exitcond157.not, label %._crit_edge88, label %.lr.ph87, !llvm.loop !29

._crit_edge88:                                    ; preds = %.lr.ph87, %middle.block223, %.preheader41.thread, %.preheader
  %storemerge23.lcssa = phi i32 [ 0, %.preheader ], [ 0, %.preheader41.thread ], [ %150, %middle.block223 ], [ %150, %.lr.ph87 ]
  store i32 %storemerge23.lcssa, ptr @i, align 4, !tbaa !5
  %158 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.12)
  store i32 0, ptr @i, align 4, !tbaa !5
  %159 = load i32, ptr @resources, align 4, !tbaa !5
  %160 = icmp sgt i32 %159, 0
  br i1 %160, label %.lr.ph92, label %._crit_edge93

.lr.ph92:                                         ; preds = %._crit_edge88, %.lr.ph92
  %storemerge2490 = phi i32 [ %166, %.lr.ph92 ], [ 0, %._crit_edge88 ]
  %161 = sext i32 %storemerge2490 to i64
  %162 = getelementptr inbounds [5 x i32], ptr @available, i64 0, i64 %161
  %163 = load i32, ptr %162, align 4, !tbaa !5
  %164 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.7, i32 noundef %163)
  %165 = load i32, ptr @i, align 4, !tbaa !5
  %166 = add nsw i32 %165, 1
  store i32 %166, ptr @i, align 4, !tbaa !5
  %167 = load i32, ptr @resources, align 4, !tbaa !5
  %168 = icmp slt i32 %166, %167
  br i1 %168, label %.lr.ph92, label %._crit_edge93, !llvm.loop !30

._crit_edge93:                                    ; preds = %.lr.ph92, %._crit_edge88
  %169 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.9)
  %170 = load i32, ptr @counter, align 4, !tbaa !5
  %.not121 = icmp eq i32 %170, 0
  br i1 %.not121, label %.loopexit39, label %.lr.ph123

.lr.ph123:                                        ; preds = %._crit_edge93, %._crit_edge120
  store i32 0, ptr @safe, align 4, !tbaa !5
  %171 = load i32, ptr @processes, align 4, !tbaa !5
  %172 = icmp sgt i32 %171, 0
  br i1 %172, label %.lr.ph103, label %.loopexit186

.lr.ph103:                                        ; preds = %.lr.ph123
  %173 = load i32, ptr @resources, align 4
  %.fr124 = freeze i32 %173
  %174 = icmp sgt i32 %.fr124, 0
  %wide.trip.count171 = zext nneg i32 %171 to i64
  br i1 %174, label %.lr.ph103.split.us.preheader, label %.lr.ph103.split

.lr.ph103.split.us.preheader:                     ; preds = %.lr.ph103
  %wide.trip.count166 = zext nneg i32 %.fr124 to i64
  br label %.lr.ph103.split.us

.lr.ph103.split.us:                               ; preds = %.lr.ph103.split.us.preheader, %188
  %indvars.iv168 = phi i64 [ 0, %.lr.ph103.split.us.preheader ], [ %indvars.iv.next169, %188 ]
  %175 = getelementptr inbounds [5 x i32], ptr @running, i64 0, i64 %indvars.iv168
  %176 = load i32, ptr %175, align 4, !tbaa !5
  %.not26.us = icmp eq i32 %176, 0
  br i1 %.not26.us, label %188, label %.lr.ph97.us

.lr.ph97.us:                                      ; preds = %.lr.ph103.split.us
  store i32 1, ptr @exec, align 4, !tbaa !5
  br label %177

177:                                              ; preds = %.lr.ph97.us, %186
  %indvars.iv163 = phi i64 [ 0, %.lr.ph97.us ], [ %indvars.iv.next164, %186 ]
  %178 = getelementptr inbounds [5 x [5 x i32]], ptr @maximum_claim, i64 0, i64 %indvars.iv168, i64 %indvars.iv163
  %179 = load i32, ptr %178, align 4, !tbaa !5
  %180 = getelementptr inbounds [5 x [5 x i32]], ptr @current, i64 0, i64 %indvars.iv168, i64 %indvars.iv163
  %181 = load i32, ptr %180, align 4, !tbaa !5
  %182 = sub nsw i32 %179, %181
  %183 = getelementptr inbounds [5 x i32], ptr @available, i64 0, i64 %indvars.iv163
  %184 = load i32, ptr %183, align 4, !tbaa !5
  %185 = icmp sgt i32 %182, %184
  br i1 %185, label %.thread.us, label %186

186:                                              ; preds = %177
  %indvars.iv.next164 = add nuw nsw i64 %indvars.iv163, 1
  %exitcond167.not = icmp eq i64 %indvars.iv.next164, %wide.trip.count166
  br i1 %exitcond167.not, label %._crit_edge98.us, label %177, !llvm.loop !31

.thread.us:                                       ; preds = %177
  %187 = trunc nuw nsw i64 %indvars.iv163 to i32
  store i32 %187, ptr @j, align 4, !tbaa !5
  store i32 0, ptr @exec, align 4, !tbaa !5
  br label %188

188:                                              ; preds = %.thread.us, %.lr.ph103.split.us
  %indvars.iv.next169 = add nuw nsw i64 %indvars.iv168, 1
  %exitcond172.not = icmp eq i64 %indvars.iv.next169, %wide.trip.count171
  br i1 %exitcond172.not, label %.loopexit186, label %.lr.ph103.split.us, !llvm.loop !32

.lr.ph103.split:                                  ; preds = %.lr.ph103, %212
  %indvars.iv158 = phi i64 [ %indvars.iv.next159, %212 ], [ 0, %.lr.ph103 ]
  %189 = getelementptr inbounds [5 x i32], ptr @running, i64 0, i64 %indvars.iv158
  %190 = load i32, ptr %189, align 4, !tbaa !5
  %.not26 = icmp eq i32 %190, 0
  br i1 %.not26, label %212, label %.split

.split:                                           ; preds = %.lr.ph103.split
  store i32 1, ptr @exec, align 4, !tbaa !5
  br label %._crit_edge98.us

._crit_edge98.us:                                 ; preds = %186, %.split
  %storemerge = phi i32 [ 0, %.split ], [ %.fr124, %186 ]
  %.us-phi105.in = phi i64 [ %indvars.iv158, %.split ], [ %indvars.iv168, %186 ]
  %.us-phi105 = trunc i64 %.us-phi105.in to i32
  store i32 %storemerge, ptr @j, align 4, !tbaa !5
  store i32 %.us-phi105, ptr @i, align 4, !tbaa !5
  %191 = add nuw nsw i32 %.us-phi105, 1
  %192 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.13, i32 noundef %191)
  %193 = load i32, ptr @i, align 4, !tbaa !5
  %194 = sext i32 %193 to i64
  %195 = getelementptr inbounds [5 x i32], ptr @running, i64 0, i64 %194
  store i32 0, ptr %195, align 4, !tbaa !5
  %196 = load i32, ptr @counter, align 4, !tbaa !5
  %197 = add nsw i32 %196, -1
  store i32 %197, ptr @counter, align 4, !tbaa !5
  store i32 1, ptr @safe, align 4, !tbaa !5
  %198 = load i32, ptr @resources, align 4, !tbaa !5
  %199 = icmp sgt i32 %198, 0
  br i1 %199, label %.lr.ph115.preheader, label %.loopexit

.lr.ph115.preheader:                              ; preds = %._crit_edge98.us
  %wide.trip.count176 = zext nneg i32 %198 to i64
  %min.iters.check240 = icmp ult i32 %198, 8
  br i1 %min.iters.check240, label %.lr.ph115.preheader253, label %vector.ph241

vector.ph241:                                     ; preds = %.lr.ph115.preheader
  %n.vec243 = and i64 %wide.trip.count176, 2147483640
  br label %vector.body245

vector.body245:                                   ; preds = %vector.body245, %vector.ph241
  %index246 = phi i64 [ 0, %vector.ph241 ], [ %index.next251, %vector.body245 ]
  %200 = getelementptr inbounds [5 x [5 x i32]], ptr @current, i64 0, i64 %194, i64 %index246
  %201 = getelementptr inbounds i8, ptr %200, i64 16
  %wide.load247 = load <4 x i32>, ptr %200, align 4, !tbaa !5
  %wide.load248 = load <4 x i32>, ptr %201, align 4, !tbaa !5
  %202 = getelementptr inbounds [5 x i32], ptr @available, i64 0, i64 %index246
  %203 = getelementptr inbounds i8, ptr %202, i64 16
  %wide.load249 = load <4 x i32>, ptr %202, align 16, !tbaa !5
  %wide.load250 = load <4 x i32>, ptr %203, align 16, !tbaa !5
  %204 = add nsw <4 x i32> %wide.load249, %wide.load247
  %205 = add nsw <4 x i32> %wide.load250, %wide.load248
  store <4 x i32> %204, ptr %202, align 16, !tbaa !5
  store <4 x i32> %205, ptr %203, align 16, !tbaa !5
  %index.next251 = add nuw i64 %index246, 8
  %206 = icmp eq i64 %index.next251, %n.vec243
  br i1 %206, label %middle.block238, label %vector.body245, !llvm.loop !33

middle.block238:                                  ; preds = %vector.body245
  %cmp.n252 = icmp eq i64 %n.vec243, %wide.trip.count176
  br i1 %cmp.n252, label %.loopexit, label %.lr.ph115.preheader253

.lr.ph115.preheader253:                           ; preds = %middle.block238, %.lr.ph115.preheader
  %indvars.iv173.ph = phi i64 [ 0, %.lr.ph115.preheader ], [ %n.vec243, %middle.block238 ]
  br label %.lr.ph115

.lr.ph115:                                        ; preds = %.lr.ph115.preheader253, %.lr.ph115
  %indvars.iv173 = phi i64 [ %indvars.iv.next174, %.lr.ph115 ], [ %indvars.iv173.ph, %.lr.ph115.preheader253 ]
  %207 = getelementptr inbounds [5 x [5 x i32]], ptr @current, i64 0, i64 %194, i64 %indvars.iv173
  %208 = load i32, ptr %207, align 4, !tbaa !5
  %209 = getelementptr inbounds [5 x i32], ptr @available, i64 0, i64 %indvars.iv173
  %210 = load i32, ptr %209, align 4, !tbaa !5
  %211 = add nsw i32 %210, %208
  store i32 %211, ptr %209, align 4, !tbaa !5
  %indvars.iv.next174 = add nuw nsw i64 %indvars.iv173, 1
  %exitcond177.not = icmp eq i64 %indvars.iv.next174, %wide.trip.count176
  br i1 %exitcond177.not, label %.loopexit, label %.lr.ph115, !llvm.loop !34

212:                                              ; preds = %.lr.ph103.split
  %indvars.iv.next159 = add nuw nsw i64 %indvars.iv158, 1
  %exitcond162.not = icmp eq i64 %indvars.iv.next159, %wide.trip.count171
  br i1 %exitcond162.not, label %.loopexit186, label %.lr.ph103.split, !llvm.loop !32

.loopexit186:                                     ; preds = %.lr.ph123, %212, %188
  %storemerge25.lcssa = phi i32 [ %171, %188 ], [ %171, %212 ], [ 0, %.lr.ph123 ]
  store i32 %storemerge25.lcssa, ptr @i, align 4, !tbaa !5
  %213 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.14)
  br label %.loopexit39

.loopexit:                                        ; preds = %.lr.ph115, %middle.block238, %._crit_edge98.us
  %storemerge29.lcssa = phi i32 [ 0, %._crit_edge98.us ], [ %198, %middle.block238 ], [ %198, %.lr.ph115 ]
  store i32 %storemerge29.lcssa, ptr @j, align 4, !tbaa !5
  %214 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15)
  %215 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.16)
  store i32 0, ptr @i, align 4, !tbaa !5
  %216 = load i32, ptr @resources, align 4, !tbaa !5
  %217 = icmp sgt i32 %216, 0
  br i1 %217, label %.lr.ph119, label %._crit_edge120

.lr.ph119:                                        ; preds = %.loopexit, %.lr.ph119
  %storemerge31117 = phi i32 [ %223, %.lr.ph119 ], [ 0, %.loopexit ]
  %218 = sext i32 %storemerge31117 to i64
  %219 = getelementptr inbounds [5 x i32], ptr @available, i64 0, i64 %218
  %220 = load i32, ptr %219, align 4, !tbaa !5
  %221 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.7, i32 noundef %220)
  %222 = load i32, ptr @i, align 4, !tbaa !5
  %223 = add nsw i32 %222, 1
  store i32 %223, ptr @i, align 4, !tbaa !5
  %224 = load i32, ptr @resources, align 4, !tbaa !5
  %225 = icmp slt i32 %223, %224
  br i1 %225, label %.lr.ph119, label %._crit_edge120, !llvm.loop !35

._crit_edge120:                                   ; preds = %.lr.ph119, %.loopexit
  %226 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.9)
  %227 = load i32, ptr @counter, align 4, !tbaa !5
  %.not = icmp eq i32 %227, 0
  br i1 %.not, label %.loopexit39, label %.lr.ph123, !llvm.loop !36

.loopexit39:                                      ; preds = %._crit_edge120, %._crit_edge93, %.loopexit186
  ret i32 0
}

; Function Attrs: nofree nounwind
declare noundef i32 @printf(ptr nocapture noundef readonly, ...) local_unnamed_addr #1

; Function Attrs: nofree nounwind
declare noundef i32 @__isoc99_scanf(ptr nocapture noundef readonly, ...) local_unnamed_addr #1

attributes #0 = { nofree 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 #1 = { nofree nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }

!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 = distinct !{!9, !10, !11, !12}
!10 = !{!"llvm.loop.mustprogress"}
!11 = !{!"llvm.loop.isvectorized", i32 1}
!12 = !{!"llvm.loop.unroll.runtime.disable"}
!13 = distinct !{!13, !10, !12, !11}
!14 = distinct !{!14, !10}
!15 = distinct !{!15, !10}
!16 = distinct !{!16, !10}
!17 = distinct !{!17, !10}
!18 = distinct !{!18, !10}
!19 = distinct !{!19, !10}
!20 = distinct !{!20, !10}
!21 = distinct !{!21, !10}
!22 = distinct !{!22, !10, !11, !12}
!23 = distinct !{!23, !10, !12, !11}
!24 = distinct !{!24, !10}
!25 = distinct !{!25, !10}
!26 = distinct !{!26, !10}
!27 = distinct !{!27, !10, !11, !12}
!28 = distinct !{!28, !10}
!29 = distinct !{!29, !10, !12, !11}
!30 = distinct !{!30, !10}
!31 = distinct !{!31, !10}
!32 = distinct !{!32, !10}
!33 = distinct !{!33, !10, !11, !12}
!34 = distinct !{!34, !10, !12, !11}
!35 = distinct !{!35, !10}
!36 = distinct !{!36, !10}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopInstSimplifyPass,LoopLoadEliminationPass,LoopRotatePass,LoopSimplifyCFGPass,LoopSimplifyPass,LoopUnrollPass,LoopVectorizePass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass