; LLVM IR from libxsmm/libxsmm :: samples/utilities/sync (sync_lock)

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

%union.pthread_mutexattr_t = type { i32 }
%union.pthread_mutex_t = type { %struct.__pthread_mutex_s }
%struct.__pthread_mutex_s = type { i32, i32, i32, i32, i32, i16, i16, %struct.__pthread_internal_list }
%struct.__pthread_internal_list = type { ptr, ptr }
%union.pthread_rwlockattr_t = type { i64 }
%union.pthread_rwlock_t = type { %struct.__pthread_rwlock_arch_t }
%struct.__pthread_rwlock_arch_t = type { i32, i32, i32, i32, i32, i32, i32, i32, i8, [7 x i8], i64, i32 }

@.str = external hidden unnamed_addr constant [39 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [84 x i8], align 1
@__PRETTY_FUNCTION__.main = external hidden unnamed_addr constant [23 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [101 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [40 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [53 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [53 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [53 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [38 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [38 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [35 x i8], align 1

; Function Attrs: nounwind uwtable
declare dso_local i64 @work(i64 noundef, i64 noundef) #0

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

declare i64 @libxsmm_timer_tick() #2

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

; Function Attrs: nounwind uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca double, align 8
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca i64, align 8
  %19 = alloca double, align 8
  %20 = alloca i32, align 4
  %21 = alloca i64, align 8
  %22 = alloca i32, align 4
  %23 = alloca i32, align 4
  %24 = alloca i32, align 4
  %25 = alloca i32, align 4
  %26 = alloca i32, align 4
  %27 = alloca i32, align 4
  %28 = alloca i32, align 4
  %29 = alloca i32, align 4
  %30 = alloca i64, align 8
  %31 = alloca double, align 8
  %32 = alloca i32, align 4
  %33 = alloca i64, align 8
  %34 = alloca i32, align 4
  %35 = alloca i32, align 4
  %36 = alloca i32, align 4
  %37 = alloca i32, align 4
  %38 = alloca i32, align 4
  %39 = alloca i32, align 4
  %40 = alloca i32, align 4
  %41 = alloca i32, align 4
  %42 = alloca i64, align 8
  %43 = alloca double, align 8
  %44 = alloca i32, align 4
  %45 = alloca i32, align 4
  %46 = alloca i64, align 8
  %47 = alloca i64, align 8
  %48 = alloca i64, align 8
  %49 = alloca i64, align 8
  %50 = alloca i32, align 4
  %51 = alloca i32, align 4
  %52 = alloca i32, align 4
  %53 = alloca i32, align 4
  %54 = alloca double, align 8
  %55 = alloca i32, align 4
  %56 = alloca i32, align 4
  %57 = alloca double, align 8
  %58 = alloca %union.pthread_mutexattr_t, align 4
  %59 = alloca %union.pthread_mutex_t, align 8
  %60 = alloca i64, align 8
  %61 = alloca double, align 8
  %62 = alloca i32, align 4
  %63 = alloca i64, align 8
  %64 = alloca i64, align 8
  %65 = alloca double, align 8
  %66 = alloca i32, align 4
  %67 = alloca i64, align 8
  %68 = alloca i64, align 8
  %69 = alloca double, align 8
  %70 = alloca i32, align 4
  %71 = alloca i32, align 4
  %72 = alloca i64, align 8
  %73 = alloca i64, align 8
  %74 = alloca i64, align 8
  %75 = alloca i64, align 8
  %76 = alloca double, align 8
  %77 = alloca i32, align 4
  %78 = alloca i32, align 4
  %79 = alloca i32, align 4
  %80 = alloca double, align 8
  %81 = alloca %union.pthread_rwlockattr_t, align 8
  %82 = alloca %union.pthread_rwlock_t, align 8
  %83 = alloca i64, align 8
  %84 = alloca double, align 8
  %85 = alloca i32, align 4
  %86 = alloca i64, align 8
  %87 = alloca i64, align 8
  %88 = alloca double, align 8
  %89 = alloca i32, align 4
  %90 = alloca i64, align 8
  %91 = alloca i64, align 8
  %92 = alloca double, align 8
  %93 = alloca i32, align 4
  %94 = alloca i32, align 4
  %95 = alloca i64, align 8
  %96 = alloca i64, align 8
  %97 = alloca i64, align 8
  %98 = alloca i64, align 8
  %99 = alloca double, align 8
  store i32 0, ptr %3, align 4
  store i32 %0, ptr %4, align 4, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #5
  store i32 1, ptr %6, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #5
  %100 = load i32, ptr %4, align 4, !tbaa !5
  %101 = icmp slt i32 1, %100
  br i1 %101, label %102, label %107

102:                                              ; preds = %2
  %103 = load ptr, ptr %5, align 8, !tbaa !9
  %104 = getelementptr inbounds ptr, ptr %103, i64 1
  %105 = load ptr, ptr %104, align 8, !tbaa !9
  %106 = call i32 @atoi(ptr noundef %105) #8
  br label %108

107:                                              ; preds = %2
  br label %108

108:                                              ; preds = %107, %102
  %109 = phi i32 [ %106, %102 ], [ 1, %107 ]
  %110 = icmp slt i32 %109, 1
  br i1 %110, label %111, label %112

111:                                              ; preds = %108
  br label %123

112:                                              ; preds = %108
  %113 = load i32, ptr %4, align 4, !tbaa !5
  %114 = icmp slt i32 1, %113
  br i1 %114, label %115, label %120

115:                                              ; preds = %112
  %116 = load ptr, ptr %5, align 8, !tbaa !9
  %117 = getelementptr inbounds ptr, ptr %116, i64 1
  %118 = load ptr, ptr %117, align 8, !tbaa !9
  %119 = call i32 @atoi(ptr noundef %118) #8
  br label %121

120:                                              ; preds = %112
  br label %121

121:                                              ; preds = %120, %115
  %122 = phi i32 [ %119, %115 ], [ 1, %120 ]
  br label %123

123:                                              ; preds = %121, %111
  %124 = phi i32 [ 1, %111 ], [ %122, %121 ]
  store i32 %124, ptr %7, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #5
  %125 = load i32, ptr %4, align 4, !tbaa !5
  %126 = icmp slt i32 2, %125
  br i1 %126, label %127, label %132

127:                                              ; preds = %123
  %128 = load ptr, ptr %5, align 8, !tbaa !9
  %129 = getelementptr inbounds ptr, ptr %128, i64 2
  %130 = load ptr, ptr %129, align 8, !tbaa !9
  %131 = call i32 @atoi(ptr noundef %130) #8
  br label %133

132:                                              ; preds = %123
  br label %133

133:                                              ; preds = %132, %127
  %134 = phi i32 [ %131, %127 ], [ 5, %132 ]
  %135 = icmp slt i32 0, %134
  br i1 %135, label %136, label %187

136:                                              ; preds = %133
  %137 = load i32, ptr %4, align 4, !tbaa !5
  %138 = icmp slt i32 2, %137
  br i1 %138, label %139, label %144

139:                                              ; preds = %136
  %140 = load ptr, ptr %5, align 8, !tbaa !9
  %141 = getelementptr inbounds ptr, ptr %140, i64 2
  %142 = load ptr, ptr %141, align 8, !tbaa !9
  %143 = call i32 @atoi(ptr noundef %142) #8
  br label %145

144:                                              ; preds = %136
  br label %145

145:                                              ; preds = %144, %139
  %146 = phi i32 [ %143, %139 ], [ 5, %144 ]
  %147 = icmp sle i32 %146, 100
  br i1 %147, label %148, label %159

148:                                              ; preds = %145
  %149 = load i32, ptr %4, align 4, !tbaa !5
  %150 = icmp slt i32 2, %149
  br i1 %150, label %151, label %156

151:                                              ; preds = %148
  %152 = load ptr, ptr %5, align 8, !tbaa !9
  %153 = getelementptr inbounds ptr, ptr %152, i64 2
  %154 = load ptr, ptr %153, align 8, !tbaa !9
  %155 = call i32 @atoi(ptr noundef %154) #8
  br label %157

156:                                              ; preds = %148
  br label %157

157:                                              ; preds = %156, %151
  %158 = phi i32 [ %155, %151 ], [ 5, %156 ]
  br label %185

159:                                              ; preds = %145
  %160 = load i32, ptr %4, align 4, !tbaa !5
  %161 = icmp slt i32 2, %160
  br i1 %161, label %162, label %167

162:                                              ; preds = %159
  %163 = load ptr, ptr %5, align 8, !tbaa !9
  %164 = getelementptr inbounds ptr, ptr %163, i64 2
  %165 = load ptr, ptr %164, align 8, !tbaa !9
  %166 = call i32 @atoi(ptr noundef %165) #8
  br label %168

167:                                              ; preds = %159
  br label %168

168:                                              ; preds = %167, %162
  %169 = phi i32 [ %166, %162 ], [ 5, %167 ]
  %170 = icmp slt i32 %169, 100
  br i1 %170, label %171, label %182

171:                                              ; preds = %168
  %172 = load i32, ptr %4, align 4, !tbaa !5
  %173 = icmp slt i32 2, %172
  br i1 %173, label %174, label %179

174:                                              ; preds = %171
  %175 = load ptr, ptr %5, align 8, !tbaa !9
  %176 = getelementptr inbounds ptr, ptr %175, i64 2
  %177 = load ptr, ptr %176, align 8, !tbaa !9
  %178 = call i32 @atoi(ptr noundef %177) #8
  br label %180

179:                                              ; preds = %171
  br label %180

180:                                              ; preds = %179, %174
  %181 = phi i32 [ %178, %174 ], [ 5, %179 ]
  br label %183

182:                                              ; preds = %168
  br label %183

183:                                              ; preds = %182, %180
  %184 = phi i32 [ %181, %180 ], [ 100, %182 ]
  br label %185

185:                                              ; preds = %183, %157
  %186 = phi i32 [ %158, %157 ], [ %184, %183 ]
  br label %213

187:                                              ; preds = %133
  %188 = load i32, ptr %4, align 4, !tbaa !5
  %189 = icmp slt i32 2, %188
  br i1 %189, label %190, label %195

190:                                              ; preds = %187
  %191 = load ptr, ptr %5, align 8, !tbaa !9
  %192 = getelementptr inbounds ptr, ptr %191, i64 2
  %193 = load ptr, ptr %192, align 8, !tbaa !9
  %194 = call i32 @atoi(ptr noundef %193) #8
  br label %196

195:                                              ; preds = %187
  br label %196

196:                                              ; preds = %195, %190
  %197 = phi i32 [ %194, %190 ], [ 5, %195 ]
  %198 = icmp slt i32 0, %197
  br i1 %198, label %199, label %210

199:                                              ; preds = %196
  %200 = load i32, ptr %4, align 4, !tbaa !5
  %201 = icmp slt i32 2, %200
  br i1 %201, label %202, label %207

202:                                              ; preds = %199
  %203 = load ptr, ptr %5, align 8, !tbaa !9
  %204 = getelementptr inbounds ptr, ptr %203, i64 2
  %205 = load ptr, ptr %204, align 8, !tbaa !9
  %206 = call i32 @atoi(ptr noundef %205) #8
  br label %208

207:                                              ; preds = %199
  br label %208

208:                                              ; preds = %207, %202
  %209 = phi i32 [ %206, %202 ], [ 5, %207 ]
  br label %211

210:                                              ; preds = %196
  br label %211

211:                                              ; preds = %210, %208
  %212 = phi i32 [ %209, %208 ], [ 0, %210 ]
  br label %213

213:                                              ; preds = %211, %185
  %214 = phi i32 [ %186, %185 ], [ %212, %211 ]
  store i32 %214, ptr %8, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #5
  %215 = load i32, ptr %4, align 4, !tbaa !5
  %216 = icmp slt i32 3, %215
  br i1 %216, label %217, label %222

217:                                              ; preds = %213
  %218 = load ptr, ptr %5, align 8, !tbaa !9
  %219 = getelementptr inbounds ptr, ptr %218, i64 3
  %220 = load ptr, ptr %219, align 8, !tbaa !9
  %221 = call i32 @atoi(ptr noundef %220) #8
  br label %223

222:                                              ; preds = %213
  br label %223

223:                                              ; preds = %222, %217
  %224 = phi i32 [ %221, %217 ], [ 100, %222 ]
  %225 = icmp slt i32 %224, 1
  br i1 %225, label %226, label %227

226:                                              ; preds = %223
  br label %238

227:                                              ; preds = %223
  %228 = load i32, ptr %4, align 4, !tbaa !5
  %229 = icmp slt i32 3, %228
  br i1 %229, label %230, label %235

230:                                              ; preds = %227
  %231 = load ptr, ptr %5, align 8, !tbaa !9
  %232 = getelementptr inbounds ptr, ptr %231, i64 3
  %233 = load ptr, ptr %232, align 8, !tbaa !9
  %234 = call i32 @atoi(ptr noundef %233) #8
  br label %236

235:                                              ; preds = %227
  br label %236

236:                                              ; preds = %235, %230
  %237 = phi i32 [ %234, %230 ], [ 100, %235 ]
  br label %238

238:                                              ; preds = %236, %226
  %239 = phi i32 [ 1, %226 ], [ %237, %236 ]
  store i32 %239, ptr %9, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #5
  %240 = load i32, ptr %4, align 4, !tbaa !5
  %241 = icmp slt i32 4, %240
  br i1 %241, label %242, label %247

242:                                              ; preds = %238
  %243 = load ptr, ptr %5, align 8, !tbaa !9
  %244 = getelementptr inbounds ptr, ptr %243, i64 4
  %245 = load ptr, ptr %244, align 8, !tbaa !9
  %246 = call i32 @atoi(ptr noundef %245) #8
  br label %250

247:                                              ; preds = %238
  %248 = load i32, ptr %9, align 4, !tbaa !5
  %249 = mul nsw i32 10, %248
  br label %250

250:                                              ; preds = %247, %242
  %251 = phi i32 [ %246, %242 ], [ %249, %247 ]
  %252 = icmp slt i32 %251, 1
  br i1 %252, label %253, label %254

253:                                              ; preds = %250
  br label %267

254:                                              ; preds = %250
  %255 = load i32, ptr %4, align 4, !tbaa !5
  %256 = icmp slt i32 4, %255
  br i1 %256, label %257, label %262

257:                                              ; preds = %254
  %258 = load ptr, ptr %5, align 8, !tbaa !9
  %259 = getelementptr inbounds ptr, ptr %258, i64 4
  %260 = load ptr, ptr %259, align 8, !tbaa !9
  %261 = call i32 @atoi(ptr noundef %260) #8
  br label %265

262:                                              ; preds = %254
  %263 = load i32, ptr %9, align 4, !tbaa !5
  %264 = mul nsw i32 10, %263
  br label %265

265:                                              ; preds = %262, %257
  %266 = phi i32 [ %261, %257 ], [ %264, %262 ]
  br label %267

267:                                              ; preds = %265, %253
  %268 = phi i32 [ 1, %253 ], [ %266, %265 ]
  store i32 %268, ptr %10, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #5
  %269 = load i32, ptr %4, align 4, !tbaa !5
  %270 = icmp slt i32 5, %269
  br i1 %270, label %271, label %276

271:                                              ; preds = %267
  %272 = load ptr, ptr %5, align 8, !tbaa !9
  %273 = getelementptr inbounds ptr, ptr %272, i64 5
  %274 = load ptr, ptr %273, align 8, !tbaa !9
  %275 = call i32 @atoi(ptr noundef %274) #8
  br label %277

276:                                              ; preds = %267
  br label %277

277:                                              ; preds = %276, %271
  %278 = phi i32 [ %275, %271 ], [ 2000000, %276 ]
  %279 = icmp slt i32 %278, 1
  br i1 %279, label %280, label %281

280:                                              ; preds = %277
  br label %292

281:                                              ; preds = %277
  %282 = load i32, ptr %4, align 4, !tbaa !5
  %283 = icmp slt i32 5, %282
  br i1 %283, label %284, label %289

284:                                              ; preds = %281
  %285 = load ptr, ptr %5, align 8, !tbaa !9
  %286 = getelementptr inbounds ptr, ptr %285, i64 5
  %287 = load ptr, ptr %286, align 8, !tbaa !9
  %288 = call i32 @atoi(ptr noundef %287) #8
  br label %290

289:                                              ; preds = %281
  br label %290

290:                                              ; preds = %289, %284
  %291 = phi i32 [ %288, %284 ], [ 2000000, %289 ]
  br label %292

292:                                              ; preds = %290, %280
  %293 = phi i32 [ 1, %280 ], [ %291, %290 ]
  store i32 %293, ptr %11, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #5
  %294 = load i32, ptr %4, align 4, !tbaa !5
  %295 = icmp slt i32 6, %294
  br i1 %295, label %296, label %301

296:                                              ; preds = %292
  %297 = load ptr, ptr %5, align 8, !tbaa !9
  %298 = getelementptr inbounds ptr, ptr %297, i64 6
  %299 = load ptr, ptr %298, align 8, !tbaa !9
  %300 = call i32 @atoi(ptr noundef %299) #8
  br label %302

301:                                              ; preds = %292
  br label %302

302:                                              ; preds = %301, %296
  %303 = phi i32 [ %300, %296 ], [ 10000, %301 ]
  %304 = icmp slt i32 %303, 1
  br i1 %304, label %305, label %306

305:                                              ; preds = %302
  br label %317

306:                                              ; preds = %302
  %307 = load i32, ptr %4, align 4, !tbaa !5
  %308 = icmp slt i32 6, %307
  br i1 %308, label %309, label %314

309:                                              ; preds = %306
  %310 = load ptr, ptr %5, align 8, !tbaa !9
  %311 = getelementptr inbounds ptr, ptr %310, i64 6
  %312 = load ptr, ptr %311, align 8, !tbaa !9
  %313 = call i32 @atoi(ptr noundef %312) #8
  br label %315

314:                                              ; preds = %306
  br label %315

315:                                              ; preds = %314, %309
  %316 = phi i32 [ %313, %309 ], [ 10000, %314 ]
  br label %317

317:                                              ; preds = %315, %305
  %318 = phi i32 [ 1, %305 ], [ %316, %315 ]
  store i32 %318, ptr %12, align 4, !tbaa !5
  call void @libxsmm_init()
  %319 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1, ptr noundef @.str.2)
  br label %320

320:                                              ; preds = %317
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #5
  %321 = load i32, ptr %8, align 4, !tbaa !5
  %322 = icmp slt i32 0, %321
  br i1 %322, label %323, label %326

323:                                              ; preds = %320
  %324 = load i32, ptr %8, align 4, !tbaa !5
  %325 = sdiv i32 100, %324
  br label %329

326:                                              ; preds = %320
  %327 = load i32, ptr %12, align 4, !tbaa !5
  %328 = add nsw i32 %327, 1
  br label %329

329:                                              ; preds = %326, %323
  %330 = phi i32 [ %325, %323 ], [ %328, %326 ]
  store i32 %330, ptr %13, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #5
  %331 = load i32, ptr %12, align 4, !tbaa !5
  %332 = load i32, ptr %7, align 4, !tbaa !5
  %333 = mul nsw i32 %331, %332
  store i32 %333, ptr %14, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #5
  %334 = load i32, ptr %11, align 4, !tbaa !5
  %335 = sitofp i32 %334 to double
  %336 = fdiv double 1.000000e+00, %335
  store double %336, ptr %15, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #5
  %337 = load i32, ptr %14, align 4, !tbaa !5
  %338 = icmp slt i32 0, %337
  br i1 %338, label %339, label %340

339:                                              ; preds = %329
  br label %341

340:                                              ; preds = %329
  call void @__assert_fail(ptr noundef @.str.3, ptr noundef @.str.4, i32 noundef 170, ptr noundef @__PRETTY_FUNCTION__.main) #9
  unreachable

341:                                              ; preds = %339
  %342 = load i32, ptr %7, align 4, !tbaa !5
  %343 = load i32, ptr %8, align 4, !tbaa !5
  %344 = load i32, ptr %9, align 4, !tbaa !5
  %345 = load i32, ptr %10, align 4, !tbaa !5
  %346 = load i32, ptr %11, align 4, !tbaa !5
  %347 = load i32, ptr %12, align 4, !tbaa !5
  %348 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef @.str.1, ptr noundef @.str.2, i32 noundef %342, i32 noundef %343, i32 noundef %344, i32 noundef %345, i32 noundef %346, i32 noundef %347)
  store volatile i32 0, ptr %17, align 4, !tbaa !5
  br label %349

349:                                              ; preds = %341
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #5
  store i64 0, ptr %18, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #5
  store i32 0, ptr %20, align 4, !tbaa !5
  br label %350

350:                                              ; preds = %554, %349
  %351 = load i32, ptr %20, align 4, !tbaa !5
  %352 = load i32, ptr %11, align 4, !tbaa !5
  %353 = sdiv i32 %352, 4
  %354 = icmp slt i32 %351, %353
  br i1 %354, label %355, label %557

355:                                              ; preds = %350
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #5
  %356 = call i64 @libxsmm_timer_tick()
  store i64 %356, ptr %21, align 8, !tbaa !13
  %357 = ptrtoint ptr %17 to i64
  %358 = and i64 %357, 3
  %359 = icmp eq i64 0, %358
  br i1 %359, label %360, label %361

360:                                              ; preds = %355
  br label %362

361:                                              ; preds = %355
  call void @__assert_fail(ptr noundef @.str.6, ptr noundef @.str.4, i32 noundef 170, ptr noundef @__PRETTY_FUNCTION__.main) #9
  unreachable

362:                                              ; preds = %360
  br label %363

363:                                              ; preds = %393, %362
  %364 = atomicrmw or ptr %17, i32 1 seq_cst, align 4
  %365 = icmp eq i32 0, %364
  %366 = xor i1 %365, true
  br i1 %366, label %367, label %394

367:                                              ; preds = %363
  br label %368

368:                                              ; preds = %367
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #5
  store i32 1, ptr %22, align 4, !tbaa !5
  br label %369

369:                                              ; preds = %387, %368
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #5
  store i32 0, ptr %23, align 4, !tbaa !5
  br label %370

370:                                              ; preds = %375, %369
  %371 = load i32, ptr %23, align 4, !tbaa !5
  %372 = load i32, ptr %22, align 4, !tbaa !5
  %373 = icmp slt i32 %371, %372
  br i1 %373, label %374, label %378

374:                                              ; preds = %370
  call void @llvm.x86.sse2.pause()
  br label %375

375:                                              ; preds = %374
  %376 = load i32, ptr %23, align 4, !tbaa !5
  %377 = add nsw i32 %376, 1
  store i32 %377, ptr %23, align 4, !tbaa !5
  br label %370, !llvm.loop !15

378:                                              ; preds = %370
  %379 = load i32, ptr %22, align 4, !tbaa !5
  %380 = icmp slt i32 %379, 4096
  br i1 %380, label %381, label %384

381:                                              ; preds = %378
  %382 = load i32, ptr %22, align 4, !tbaa !5
  %383 = mul nsw i32 %382, 2
  store i32 %383, ptr %22, align 4, !tbaa !5
  br label %386

384:                                              ; preds = %378
  store i32 4096, ptr %22, align 4, !tbaa !5
  %385 = call i32 @sched_yield() #5
  br label %386

386:                                              ; preds = %384, %381
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #5
  br label %387

387:                                              ; preds = %386
  %388 = load volatile i32, ptr %17, align 4, !tbaa !5
  %389 = and i32 %388, 1
  %390 = icmp ne i32 0, %389
  br i1 %390, label %369, label %391, !llvm.loop !17

391:                                              ; preds = %387
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #5
  br label %392

392:                                              ; preds = %391
  br label %393

393:                                              ; preds = %392
  br label %363, !llvm.loop !18

394:                                              ; preds = %363
  %395 = load volatile i32, ptr %17, align 4, !tbaa !5
  %396 = icmp ne i32 0, %395
  br i1 %396, label %397, label %398

397:                                              ; preds = %394
  br label %399

398:                                              ; preds = %394
  call void @__assert_fail(ptr noundef @.str.7, ptr noundef @.str.4, i32 noundef 170, ptr noundef @__PRETTY_FUNCTION__.main) #9
  unreachable

399:                                              ; preds = %397
  %400 = load volatile i32, ptr %17, align 4, !tbaa !5
  %401 = icmp ne i32 0, %400
  br i1 %401, label %402, label %403

402:                                              ; preds = %399
  br label %404

403:                                              ; preds = %399
  call void @__assert_fail(ptr noundef @.str.8, ptr noundef @.str.4, i32 noundef 170, ptr noundef @__PRETTY_FUNCTION__.main) #9
  unreachable

404:                                              ; preds = %402
  store atomic i32 0, ptr %17 release, align 4
  %405 = ptrtoint ptr %17 to i64
  %406 = and i64 %405, 3
  %407 = icmp eq i64 0, %406
  br i1 %407, label %408, label %409

408:                                              ; preds = %404
  br label %410

409:                                              ; preds = %404
  call void @__assert_fail(ptr noundef @.str.6, ptr noundef @.str.4, i32 noundef 170, ptr noundef @__PRETTY_FUNCTION__.main) #9
  unreachable

410:                                              ; preds = %408
  br label %411

411:                                              ; preds = %441, %410
  %412 = atomicrmw or ptr %17, i32 1 seq_cst, align 4
  %413 = icmp eq i32 0, %412
  %414 = xor i1 %413, true
  br i1 %414, label %415, label %442

415:                                              ; preds = %411
  br label %416

416:                                              ; preds = %415
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #5
  store i32 1, ptr %24, align 4, !tbaa !5
  br label %417

417:                                              ; preds = %435, %416
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #5
  store i32 0, ptr %25, align 4, !tbaa !5
  br label %418

418:                                              ; preds = %423, %417
  %419 = load i32, ptr %25, align 4, !tbaa !5
  %420 = load i32, ptr %24, align 4, !tbaa !5
  %421 = icmp slt i32 %419, %420
  br i1 %421, label %422, label %426

422:                                              ; preds = %418
  call void @llvm.x86.sse2.pause()
  br label %423

423:                                              ; preds = %422
  %424 = load i32, ptr %25, align 4, !tbaa !5
  %425 = add nsw i32 %424, 1
  store i32 %425, ptr %25, align 4, !tbaa !5
  br label %418, !llvm.loop !19

426:                                              ; preds = %418
  %427 = load i32, ptr %24, align 4, !tbaa !5
  %428 = icmp slt i32 %427, 4096
  br i1 %428, label %429, label %432

429:                                              ; preds = %426
  %430 = load i32, ptr %24, align 4, !tbaa !5
  %431 = mul nsw i32 %430, 2
  store i32 %431, ptr %24, align 4, !tbaa !5
  br label %434

432:                                              ; preds = %426
  store i32 4096, ptr %24, align 4, !tbaa !5
  %433 = call i32 @sched_yield() #5
  br label %434

434:                                              ; preds = %432, %429
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #5
  br label %435

435:                                              ; preds = %434
  %436 = load volatile i32, ptr %17, align 4, !tbaa !5
  %437 = and i32 %436, 1
  %438 = icmp ne i32 0, %437
  br i1 %438, label %417, label %439, !llvm.loop !20

439:                                              ; preds = %435
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #5
  br label %440

440:                                              ; preds = %439
  br label %441

441:                                              ; preds = %440
  br label %411, !llvm.loop !21

442:                                              ; preds = %411
  %443 = load volatile i32, ptr %17, align 4, !tbaa !5
  %444 = icmp ne i32 0, %443
  br i1 %444, label %445, label %446

445:                                              ; preds = %442
  br label %447

446:                                              ; preds = %442
  call void @__assert_fail(ptr noundef @.str.7, ptr noundef @.str.4, i32 noundef 170, ptr noundef @__PRETTY_FUNCTION__.main) #9
  unreachable

447:                                              ; preds = %445
  %448 = load volatile i32, ptr %17, align 4, !tbaa !5
  %449 = icmp ne i32 0, %448
  br i1 %449, label %450, label %451

450:                                              ; preds = %447
  br label %452

451:                                              ; preds = %447
  call void @__assert_fail(ptr noundef @.str.8, ptr noundef @.str.4, i32 noundef 170, ptr noundef @__PRETTY_FUNCTION__.main) #9
  unreachable

452:                                              ; preds = %450
  store atomic i32 0, ptr %17 release, align 4
  %453 = ptrtoint ptr %17 to i64
  %454 = and i64 %453, 3
  %455 = icmp eq i64 0, %454
  br i1 %455, label %456, label %457

456:                                              ; preds = %452
  br label %458

457:                                              ; preds = %452
  call void @__assert_fail(ptr noundef @.str.6, ptr noundef @.str.4, i32 noundef 170, ptr noundef @__PRETTY_FUNCTION__.main) #9
  unreachable

458:                                              ; preds = %456
  br label %459

459:                                              ; preds = %489, %458
  %460 = atomicrmw or ptr %17, i32 1 seq_cst, align 4
  %461 = icmp eq i32 0, %460
  %462 = xor i1 %461, true
  br i1 %462, label %463, label %490

463:                                              ; preds = %459
  br label %464

464:                                              ; preds = %463
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #5
  store i32 1, ptr %26, align 4, !tbaa !5
  br label %465

465:                                              ; preds = %483, %464
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #5
  store i32 0, ptr %27, align 4, !tbaa !5
  br label %466

466:                                              ; preds = %471, %465
  %467 = load i32, ptr %27, align 4, !tbaa !5
  %468 = load i32, ptr %26, align 4, !tbaa !5
  %469 = icmp slt i32 %467, %468
  br i1 %469, label %470, label %474

470:                                              ; preds = %466
  call void @llvm.x86.sse2.pause()
  br label %471

471:                                              ; preds = %470
  %472 = load i32, ptr %27, align 4, !tbaa !5
  %473 = add nsw i32 %472, 1
  store i32 %473, ptr %27, align 4, !tbaa !5
  br label %466, !llvm.loop !22

474:                                              ; preds = %466
  %475 = load i32, ptr %26, align 4, !tbaa !5
  %476 = icmp slt i32 %475, 4096
  br i1 %476, label %477, label %480

477:                                              ; preds = %474
  %478 = load i32, ptr %26, align 4, !tbaa !5
  %479 = mul nsw i32 %478, 2
  store i32 %479, ptr %26, align 4, !tbaa !5
  br label %482

480:                                              ; preds = %474
  store i32 4096, ptr %26, align 4, !tbaa !5
  %481 = call i32 @sched_yield() #5
  br label %482

482:                                              ; preds = %480, %477
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #5
  br label %483

483:                                              ; preds = %482
  %484 = load volatile i32, ptr %17, align 4, !tbaa !5
  %485 = and i32 %484, 1
  %486 = icmp ne i32 0, %485
  br i1 %486, label %465, label %487, !llvm.loop !23

487:                                              ; preds = %483
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #5
  br label %488

488:                                              ; preds = %487
  br label %489

489:                                              ; preds = %488
  br label %459, !llvm.loop !24

490:                                              ; preds = %459
  %491 = load volatile i32, ptr %17, align 4, !tbaa !5
  %492 = icmp ne i32 0, %491
  br i1 %492, label %493, label %494

493:                                              ; preds = %490
  br label %495

494:                                              ; preds = %490
  call void @__assert_fail(ptr noundef @.str.7, ptr noundef @.str.4, i32 noundef 170, ptr noundef @__PRETTY_FUNCTION__.main) #9
  unreachable

495:                                              ; preds = %493
  %496 = load volatile i32, ptr %17, align 4, !tbaa !5
  %497 = icmp ne i32 0, %496
  br i1 %497, label %498, label %499

498:                                              ; preds = %495
  br label %500

499:                                              ; preds = %495
  call void @__assert_fail(ptr noundef @.str.8, ptr noundef @.str.4, i32 noundef 170, ptr noundef @__PRETTY_FUNCTION__.main) #9
  unreachable

500:                                              ; preds = %498
  store atomic i32 0, ptr %17 release, align 4
  %501 = ptrtoint ptr %17 to i64
  %502 = and i64 %501, 3
  %503 = icmp eq i64 0, %502
  br i1 %503, label %504, label %505

504:                                              ; preds = %500
  br label %506

505:                                              ; preds = %500
  call void @__assert_fail(ptr noundef @.str.6, ptr noundef @.str.4, i32 noundef 170, ptr noundef @__PRETTY_FUNCTION__.main) #9
  unreachable

506:                                              ; preds = %504
  br label %507

507:                                              ; preds = %537, %506
  %508 = atomicrmw or ptr %17, i32 1 seq_cst, align 4
  %509 = icmp eq i32 0, %508
  %510 = xor i1 %509, true
  br i1 %510, label %511, label %538

511:                                              ; preds = %507
  br label %512

512:                                              ; preds = %511
  call void @llvm.lifetime.start.p0(i64 4, ptr %28) #5
  store i32 1, ptr %28, align 4, !tbaa !5
  br label %513

513:                                              ; preds = %531, %512
  call void @llvm.lifetime.start.p0(i64 4, ptr %29) #5
  store i32 0, ptr %29, align 4, !tbaa !5
  br label %514

514:                                              ; preds = %519, %513
  %515 = load i32, ptr %29, align 4, !tbaa !5
  %516 = load i32, ptr %28, align 4, !tbaa !5
  %517 = icmp slt i32 %515, %516
  br i1 %517, label %518, label %522

518:                                              ; preds = %514
  call void @llvm.x86.sse2.pause()
  br label %519

519:                                              ; preds = %518
  %520 = load i32, ptr %29, align 4, !tbaa !5
  %521 = add nsw i32 %520, 1
  store i32 %521, ptr %29, align 4, !tbaa !5
  br label %514, !llvm.loop !25

522:                                              ; preds = %514
  %523 = load i32, ptr %28, align 4, !tbaa !5
  %524 = icmp slt i32 %523, 4096
  br i1 %524, label %525, label %528

525:                                              ; preds = %522
  %526 = load i32, ptr %28, align 4, !tbaa !5
  %527 = mul nsw i32 %526, 2
  store i32 %527, ptr %28, align 4, !tbaa !5
  br label %530

528:                                              ; preds = %522
  store i32 4096, ptr %28, align 4, !tbaa !5
  %529 = call i32 @sched_yield() #5
  br label %530

530:                                              ; preds = %528, %525
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #5
  br label %531

531:                                              ; preds = %530
  %532 = load volatile i32, ptr %17, align 4, !tbaa !5
  %533 = and i32 %532, 1
  %534 = icmp ne i32 0, %533
  br i1 %534, label %513, label %535, !llvm.loop !26

535:                                              ; preds = %531
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #5
  br label %536

536:                                              ; preds = %535
  br label %537

537:                                              ; preds = %536
  br label %507, !llvm.loop !27

538:                                              ; preds = %507
  %539 = load volatile i32, ptr %17, align 4, !tbaa !5
  %540 = icmp ne i32 0, %539
  br i1 %540, label %541, label %542

541:                                              ; preds = %538
  br label %543

542:                                              ; preds = %538
  call void @__assert_fail(ptr noundef @.str.7, ptr noundef @.str.4, i32 noundef 170, ptr noundef @__PRETTY_FUNCTION__.main) #9
  unreachable

543:                                              ; preds = %541
  %544 = load volatile i32, ptr %17, align 4, !tbaa !5
  %545 = icmp ne i32 0, %544
  br i1 %545, label %546, label %547

546:                                              ; preds = %543
  br label %548

547:                                              ; preds = %543
  call void @__assert_fail(ptr noundef @.str.8, ptr noundef @.str.4, i32 noundef 170, ptr noundef @__PRETTY_FUNCTION__.main) #9
  unreachable

548:                                              ; preds = %546
  store atomic i32 0, ptr %17 release, align 4
  %549 = load i64, ptr %21, align 8, !tbaa !13
  %550 = call i64 @libxsmm_timer_tick()
  %551 = call i64 @libxsmm_timer_ncycles(i64 noundef %549, i64 noundef %550)
  %552 = load i64, ptr %18, align 8, !tbaa !13
  %553 = add i64 %552, %551
  store i64 %553, ptr %18, align 8, !tbaa !13
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #5
  br label %554

554:                                              ; preds = %548
  %555 = load i32, ptr %20, align 4, !tbaa !5
  %556 = add nsw i32 %555, 1
  store i32 %556, ptr %20, align 4, !tbaa !5
  br label %350, !llvm.loop !28

557:                                              ; preds = %350
  %558 = load i64, ptr %18, align 8, !tbaa !13
  %559 = call double @libxsmm_timer_duration(i64 noundef 0, i64 noundef %558)
  store double %559, ptr %19, align 8, !tbaa !11
  %560 = load double, ptr %19, align 8, !tbaa !11
  %561 = fcmp olt double 0.000000e+00, %560
  br i1 %561, label %562, label %577

562:                                              ; preds = %557
  %563 = load double, ptr %19, align 8, !tbaa !11
  %564 = load double, ptr %15, align 8, !tbaa !11
  %565 = fmul double %563, %564
  %566 = fmul double %565, 1.000000e+09
  %567 = load i32, ptr %11, align 4, !tbaa !5
  %568 = sitofp i32 %567 to double
  %569 = load double, ptr %19, align 8, !tbaa !11
  %570 = fmul double 1.000000e+06, %569
  %571 = fdiv double %568, %570
  %572 = load i64, ptr %18, align 8, !tbaa !13
  %573 = uitofp i64 %572 to double
  %574 = load double, ptr %15, align 8, !tbaa !11
  %575 = fmul double %573, %574
  %576 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, double noundef %566, double noundef %571, double noundef %575)
  br label %577

577:                                              ; preds = %562, %557
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #5
  br label %578

578:                                              ; preds = %577
  br label %579

579:                                              ; preds = %578
  br label %580

580:                                              ; preds = %579
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #5
  store i64 0, ptr %30, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %32) #5
  store i32 0, ptr %32, align 4, !tbaa !5
  br label %581

581:                                              ; preds = %785, %580
  %582 = load i32, ptr %32, align 4, !tbaa !5
  %583 = load i32, ptr %11, align 4, !tbaa !5
  %584 = sdiv i32 %583, 4
  %585 = icmp slt i32 %582, %584
  br i1 %585, label %586, label %788

586:                                              ; preds = %581
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #5
  %587 = call i64 @libxsmm_timer_tick()
  store i64 %587, ptr %33, align 8, !tbaa !13
  %588 = ptrtoint ptr %17 to i64
  %589 = and i64 %588, 3
  %590 = icmp eq i64 0, %589
  br i1 %590, label %591, label %592

591:                                              ; preds = %586
  br label %593

592:                                              ; preds = %586
  call void @__assert_fail(ptr noundef @.str.6, ptr noundef @.str.4, i32 noundef 170, ptr noundef @__PRETTY_FUNCTION__.main) #9
  unreachable

593:                                              ; preds = %591
  br label %594

594:                                              ; preds = %624, %593
  %595 = atomicrmw or ptr %17, i32 1 seq_cst, align 4
  %596 = icmp eq i32 0, %595
  %597 = xor i1 %596, true
  br i1 %597, label %598, label %625

598:                                              ; preds = %594
  br label %599

599:                                              ; preds = %598
  call void @llvm.lifetime.start.p0(i64 4, ptr %34) #5
  store i32 1, ptr %34, align 4, !tbaa !5
  br label %600

600:                                              ; preds = %618, %599
  call void @llvm.lifetime.start.p0(i64 4, ptr %35) #5
  store i32 0, ptr %35, align 4, !tbaa !5
  br label %601

601:                                              ; preds = %606, %600
  %602 = load i32, ptr %35, align 4, !tbaa !5
  %603 = load i32, ptr %34, align 4, !tbaa !5
  %604 = icmp slt i32 %602, %603
  br i1 %604, label %605, label %609

605:                                              ; preds = %601
  call void @llvm.x86.sse2.pause()
  br label %606

606:                                              ; preds = %605
  %607 = load i32, ptr %35, align 4, !tbaa !5
  %608 = add nsw i32 %607, 1
  store i32 %608, ptr %35, align 4, !tbaa !5
  br label %601, !llvm.loop !29

609:                                              ; preds = %601
  %610 = load i32, ptr %34, align 4, !tbaa !5
  %611 = icmp slt i32 %610, 4096
  br i1 %611, label %612, label %615

612:                                              ; preds = %609
  %613 = load i32, ptr %34, align 4, !tbaa !5
  %614 = mul nsw i32 %613, 2
  store i32 %614, ptr %34, align 4, !tbaa !5
  br label %617

615:                                              ; preds = %609
  store i32 4096, ptr %34, align 4, !tbaa !5
  %616 = call i32 @sched_yield() #5
  br label %617

617:                                              ; preds = %615, %612
  call void @llvm.lifetime.end.p0(i64 4, ptr %35) #5
  br label %618

618:                                              ; preds = %617
  %619 = load volatile i32, ptr %17, align 4, !tbaa !5
  %620 = and i32 %619, 1
  %621 = icmp ne i32 0, %620
  br i1 %621, label %600, label %622, !llvm.loop !30

622:                                              ; preds = %618
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #5
  br label %623

623:                                              ; preds = %622
  br label %624

624:                                              ; preds = %623
  br label %594, !llvm.loop !31

625:                                              ; preds = %594
  %626 = load volatile i32, ptr %17, align 4, !tbaa !5
  %627 = icmp ne i32 0, %626
  br i1 %627, label %628, label %629

628:                                              ; preds = %625
  br label %630

629:                                              ; preds = %625
  call void @__assert_fail(ptr noundef @.str.7, ptr noundef @.str.4, i32 noundef 170, ptr noundef @__PRETTY_FUNCTION__.main) #9
  unreachable

630:                                              ; preds = %628
  %631 = load volatile i32, ptr %17, align 4, !tbaa !5
  %632 = icmp ne i32 0, %631
  br i1 %632, label %633, label %634

633:                                              ; preds = %630
  br label %635

634:                                              ; preds = %630
  call void @__assert_fail(ptr noundef @.str.8, ptr noundef @.str.4, i32 noundef 170, ptr noundef @__PRETTY_FUNCTION__.main) #9
  unreachable

635:                                              ; preds = %633
  store atomic i32 0, ptr %17 release, align 4
  %636 = ptrtoint ptr %17 to i64
  %637 = and i64 %636, 3
  %638 = icmp eq i64 0, %637
  br i1 %638, label %639, label %640

639:                                              ; preds = %635
  br label %641

640:                                              ; preds = %635
  call void @__assert_fail(ptr noundef @.str.6, ptr noundef @.str.4, i32 noundef 170, ptr noundef @__PRETTY_FUNCTION__.main) #9
  unreachable

641:                                              ; preds = %639
  br label %642

642:                                              ; preds = %672, %641
  %643 = atomicrmw or ptr %17, i32 1 seq_cst, align 4
  %644 = icmp eq i32 0, %643
  %645 = xor i1 %644, true
  br i1 %645, label %646, label %673

646:                                              ; preds = %642
  br label %647

647:                                              ; preds = %646
  call void @llvm.lifetime.start.p0(i64 4, ptr %36) #5
  store i32 1, ptr %36, align 4, !tbaa !5
  br label %648

648:                                              ; preds = %666, %647
  call void @llvm.lifetime.start.p0(i64 4, ptr %37) #5
  store i32 0, ptr %37, align 4, !tbaa !5
  br label %649

649:                                              ; preds = %654, %648
  %650 = load i32, ptr %37, align 4, !tbaa !5
  %651 = load i32, ptr %36, align 4, !tbaa !5
  %652 = icmp slt i32 %650, %651
  br i1 %652, label %653, label %657

653:                                              ; preds = %649
  call void @llvm.x86.sse2.pause()
  br label %654

654:                                              ; preds = %653
  %655 = load i32, ptr %37, align 4, !tbaa !5
  %656 = add nsw i32 %655, 1
  store i32 %656, ptr %37, align 4, !tbaa !5
  br label %649, !llvm.loop !32

657:                                              ; preds = %649
  %658 = load i32, ptr %36, align 4, !tbaa !5
  %659 = icmp slt i32 %658, 4096
  br i1 %659, label %660, label %663

660:                                              ; preds = %657
  %661 = load i32, ptr %36, align 4, !tbaa !5
  %662 = mul nsw i32 %661, 2
  store i32 %662, ptr %36, align 4, !tbaa !5
  br label %665

663:                                              ; preds = %657
  store i32 4096, ptr %36, align 4, !tbaa !5
  %664 = call i32 @sched_yield() #5
  br label %665

665:                                              ; preds = %663, %660
  call void @llvm.lifetime.end.p0(i64 4, ptr %37) #5
  br label %666

666:                                              ; preds = %665
  %667 = load volatile i32, ptr %17, align 4, !tbaa !5
  %668 = and i32 %667, 1
  %669 = icmp ne i32 0, %668
  br i1 %669, label %648, label %670, !llvm.loop !33

670:                                              ; preds = %666
  call void @llvm.lifetime.end.p0(i64 4, ptr %36) #5
  br label %671

671:                                              ; preds = %670
  br label %672

672:                                              ; preds = %671
  br label %642, !llvm.loop !34

673:                                              ; preds = %642
  %674 = load volatile i32, ptr %17, align 4, !tbaa !5
  %675 = icmp ne i32 0, %674
  br i1 %675, label %676, label %677

676:                                              ; preds = %673
  br label %678

677:                                              ; preds = %673
  call void @__assert_fail(ptr noundef @.str.7, ptr noundef @.str.4, i32 noundef 170, ptr noundef @__PRETTY_FUNCTION__.main) #9
  unreachable

678:                                              ; preds = %676
  %679 = load volatile i32, ptr %17, align 4, !tbaa !5
  %680 = icmp ne i32 0, %679
  br i1 %680, label %681, label %682

681:                                              ; preds = %678
  br label %683

682:                                              ; preds = %678
  call void @__assert_fail(ptr noundef @.str.8, ptr noundef @.str.4, i32 noundef 170, ptr noundef @__PRETTY_FUNCTION__.main) #9
  unreachable

683:                                              ; preds = %681
  store atomic i32 0, ptr %17 release, align 4
  %684 = ptrtoint ptr %17 to i64
  %685 = and i64 %684, 3
  %686 = icmp eq i64 0, %685
  br i1 %686, label %687, label %688

687:                                              ; preds = %683
  br label %689

688:                                              ; preds = %683
  call void @__assert_fail(ptr noundef @.str.6, ptr noundef @.str.4, i32 noundef 170, ptr noundef @__PRETTY_FUNCTION__.main) #9
  unreachable

689:                                              ; preds = %687
  br label %690

690:                                              ; preds = %720, %689
  %691 = atomicrmw or ptr %17, i32 1 seq_cst, align 4
  %692 = icmp eq i32 0, %691
  %693 = xor i1 %692, true
  br i1 %693, label %694, label %721

694:                                              ; preds = %690
  br label %695

695:                                              ; preds = %694
  call void @llvm.lifetime.start.p0(i64 4, ptr %38) #5
  store i32 1, ptr %38, align 4, !tbaa !5
  br label %696

696:                                              ; preds = %714, %695
  call void @llvm.lifetime.start.p0(i64 4, ptr %39) #5
  store i32 0, ptr %39, align 4, !tbaa !5
  br label %697

697:                                              ; preds = %702, %696
  %698 = load i32, ptr %39, align 4, !tbaa !5
  %699 = load i32, ptr %38, align 4, !tbaa !5
  %700 = icmp slt i32 %698, %699
  br i1 %700, label %701, label %705

701:                                              ; preds = %697
  call void @llvm.x86.sse2.pause()
  br label %702

702:                                              ; preds = %701
  %703 = load i32, ptr %39, align 4, !tbaa !5
  %704 = add nsw i32 %703, 1
  store i32 %704, ptr %39, align 4, !tbaa !5
  br label %697, !llvm.loop !35

705:                                              ; preds = %697
  %706 = load i32, ptr %38, align 4, !tbaa !5
  %707 = icmp slt i32 %706, 4096
  br i1 %707, label %708, label %711

708:                                              ; preds = %705
  %709 = load i32, ptr %38, align 4, !tbaa !5
  %710 = mul nsw i32 %709, 2
  store i32 %710, ptr %38, align 4, !tbaa !5
  br label %713

711:                                              ; preds = %705
  store i32 4096, ptr %38, align 4, !tbaa !5
  %712 = call i32 @sched_yield() #5
  br label %713

713:                                              ; preds = %711, %708
  call void @llvm.lifetime.end.p0(i64 4, ptr %39) #5
  br label %714

714:                                              ; preds = %713
  %715 = load volatile i32, ptr %17, align 4, !tbaa !5
  %716 = and i32 %715, 1
  %717 = icmp ne i32 0, %716
  br i1 %717, label %696, label %718, !llvm.loop !36

718:                                              ; preds = %714
  call void @llvm.lifetime.end.p0(i64 4, ptr %38) #5
  br label %719

719:                                              ; preds = %718
  br label %720

720:                                              ; preds = %719
  br label %690, !llvm.loop !37

721:                                              ; preds = %690
  %722 = load volatile i32, ptr %17, align 4, !tbaa !5
  %723 = icmp ne i32 0, %722
  br i1 %723, label %724, label %725

724:                                              ; preds = %721
  br label %726

725:                                              ; preds = %721
  call void @__assert_fail(ptr noundef @.str.7, ptr noundef @.str.4, i32 noundef 170, ptr noundef @__PRETTY_FUNCTION__.main) #9
  unreachable

726:                                              ; preds = %724
  %727 = load volatile i32, ptr %17, align 4, !tbaa !5
  %728 = icmp ne i32 0, %727
  br i1 %728, label %729, label %730

729:                                              ; preds = %726
  br label %731

730:                                              ; preds = %726
  call void @__assert_fail(ptr noundef @.str.8, ptr noundef @.str.4, i32 noundef 170, ptr noundef @__PRETTY_FUNCTION__.main) #9
  unreachable

731:                                              ; preds = %729
  store atomic i32 0, ptr %17 release, align 4
  %732 = ptrtoint ptr %17 to i64
  %733 = and i64 %732, 3
  %734 = icmp eq i64 0, %733
  br i1 %734, label %735, label %736

735:                                              ; preds = %731
  br label %737

736:                                              ; preds = %731
  call void @__assert_fail(ptr noundef @.str.6, ptr noundef @.str.4, i32 noundef 170, ptr noundef @__PRETTY_FUNCTION__.main) #9
  unreachable

737:                                              ; preds = %735
  br label %738

738:                                              ; preds = %768, %737
  %739 = atomicrmw or ptr %17, i32 1 seq_cst, align 4
  %740 = icmp eq i32 0, %739
  %741 = xor i1 %740, true
  br i1 %741, label %742, label %769

742:                                              ; preds = %738
  br label %743

743:                                              ; preds = %742
  call void @llvm.lifetime.start.p0(i64 4, ptr %40) #5
  store i32 1, ptr %40, align 4, !tbaa !5
  br label %744

744:                                              ; preds = %762, %743
  call void @llvm.lifetime.start.p0(i64 4, ptr %41) #5
  store i32 0, ptr %41, align 4, !tbaa !5
  br label %745

745:                                              ; preds = %750, %744
  %746 = load i32, ptr %41, align 4, !tbaa !5
  %747 = load i32, ptr %40, align 4, !tbaa !5
  %748 = icmp slt i32 %746, %747
  br i1 %748, label %749, label %753

749:                                              ; preds = %745
  call void @llvm.x86.sse2.pause()
  br label %750

750:                                              ; preds = %749
  %751 = load i32, ptr %41, align 4, !tbaa !5
  %752 = add nsw i32 %751, 1
  store i32 %752, ptr %41, align 4, !tbaa !5
  br label %745, !llvm.loop !38

753:                                              ; preds = %745
  %754 = load i32, ptr %40, align 4, !tbaa !5
  %755 = icmp slt i32 %754, 4096
  br i1 %755, label %756, label %759

756:                                              ; preds = %753
  %757 = load i32, ptr %40, align 4, !tbaa !5
  %758 = mul nsw i32 %757, 2
  store i32 %758, ptr %40, align 4, !tbaa !5
  br label %761

759:                                              ; preds = %753
  store i32 4096, ptr %40, align 4, !tbaa !5
  %760 = call i32 @sched_yield() #5
  br label %761

761:                                              ; preds = %759, %756
  call void @llvm.lifetime.end.p0(i64 4, ptr %41) #5
  br label %762

762:                                              ; preds = %761
  %763 = load volatile i32, ptr %17, align 4, !tbaa !5
  %764 = and i32 %763, 1
  %765 = icmp ne i32 0, %764
  br i1 %765, label %744, label %766, !llvm.loop !39

766:                                              ; preds = %762
  call void @llvm.lifetime.end.p0(i64 4, ptr %40) #5
  br label %767

767:                                              ; preds = %766
  br label %768

768:                                              ; preds = %767
  br label %738, !llvm.loop !40

769:                                              ; preds = %738
  %770 = load volatile i32, ptr %17, align 4, !tbaa !5
  %771 = icmp ne i32 0, %770
  br i1 %771, label %772, label %773

772:                                              ; preds = %769
  br label %774

773:                                              ; preds = %769
  call void @__assert_fail(ptr noundef @.str.7, ptr noundef @.str.4, i32 noundef 170, ptr noundef @__PRETTY_FUNCTION__.main) #9
  unreachable

774:                                              ; preds = %772
  %775 = load volatile i32, ptr %17, align 4, !tbaa !5
  %776 = icmp ne i32 0, %775
  br i1 %776, label %777, label %778

777:                                              ; preds = %774
  br label %779

778:                                              ; preds = %774
  call void @__assert_fail(ptr noundef @.str.8, ptr noundef @.str.4, i32 noundef 170, ptr noundef @__PRETTY_FUNCTION__.main) #9
  unreachable

779:                                              ; preds = %777
  store atomic i32 0, ptr %17 release, align 4
  %780 = load i64, ptr %33, align 8, !tbaa !13
  %781 = call i64 @libxsmm_timer_tick()
  %782 = call i64 @libxsmm_timer_ncycles(i64 noundef %780, i64 noundef %781)
  %783 = load i64, ptr %30, align 8, !tbaa !13
  %784 = add i64 %783, %782
  store i64 %784, ptr %30, align 8, !tbaa !13
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #5
  br label %785

785:                                              ; preds = %779
  %786 = load i32, ptr %32, align 4, !tbaa !5
  %787 = add nsw i32 %786, 1
  store i32 %787, ptr %32, align 4, !tbaa !5
  br label %581, !llvm.loop !41

788:                                              ; preds = %581
  %789 = load i64, ptr %30, align 8, !tbaa !13
  %790 = call double @libxsmm_timer_duration(i64 noundef 0, i64 noundef %789)
  store double %790, ptr %31, align 8, !tbaa !11
  %791 = load double, ptr %31, align 8, !tbaa !11
  %792 = fcmp olt double 0.000000e+00, %791
  br i1 %792, label %793, label %808

793:                                              ; preds = %788
  %794 = load double, ptr %31, align 8, !tbaa !11
  %795 = load double, ptr %15, align 8, !tbaa !11
  %796 = fmul double %794, %795
  %797 = fmul double %796, 1.000000e+09
  %798 = load i32, ptr %11, align 4, !tbaa !5
  %799 = sitofp i32 %798 to double
  %800 = load double, ptr %31, align 8, !tbaa !11
  %801 = fmul double 1.000000e+06, %800
  %802 = fdiv double %799, %801
  %803 = load i64, ptr %30, align 8, !tbaa !13
  %804 = uitofp i64 %803 to double
  %805 = load double, ptr %15, align 8, !tbaa !11
  %806 = fmul double %804, %805
  %807 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, double noundef %797, double noundef %802, double noundef %806)
  br label %808

808:                                              ; preds = %793, %788
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #5
  br label %809

809:                                              ; preds = %808
  br label %810

810:                                              ; preds = %809
  br label %811

811:                                              ; preds = %810
  call void @llvm.lifetime.start.p0(i64 8, ptr %42) #5
  store i64 0, ptr %42, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 8, ptr %43) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %44) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %45) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %46) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %47) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %48) #5
  store i64 0, ptr %48, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 8, ptr %49) #5
  %812 = call i64 @libxsmm_timer_tick()
  store i64 %812, ptr %49, align 8, !tbaa !13
  store i32 0, ptr %44, align 4, !tbaa !5
  br label %813

813:                                              ; preds = %943, %811
  %814 = load i32, ptr %44, align 4, !tbaa !5
  %815 = load i32, ptr %12, align 4, !tbaa !5
  %816 = icmp slt i32 %814, %815
  br i1 %816, label %817, label %945

817:                                              ; preds = %813
  %818 = load i32, ptr %44, align 4, !tbaa !5
  %819 = add nsw i32 %818, 1
  store i32 %819, ptr %45, align 4, !tbaa !5
  %820 = load i32, ptr %45, align 4, !tbaa !5
  %821 = load i32, ptr %13, align 4, !tbaa !5
  %822 = srem i32 %820, %821
  %823 = icmp ne i32 0, %822
  br i1 %823, label %824, label %883

824:                                              ; preds = %817
  %825 = ptrtoint ptr %17 to i64
  %826 = and i64 %825, 3
  %827 = icmp eq i64 0, %826
  br i1 %827, label %828, label %829

828:                                              ; preds = %824
  br label %830

829:                                              ; preds = %824
  call void @__assert_fail(ptr noundef @.str.6, ptr noundef @.str.4, i32 noundef 170, ptr noundef @__PRETTY_FUNCTION__.main) #9
  unreachable

830:                                              ; preds = %828
  br label %831

831:                                              ; preds = %861, %830
  %832 = atomicrmw or ptr %17, i32 1 seq_cst, align 4
  %833 = icmp eq i32 0, %832
  %834 = xor i1 %833, true
  br i1 %834, label %835, label %862

835:                                              ; preds = %831
  br label %836

836:                                              ; preds = %835
  call void @llvm.lifetime.start.p0(i64 4, ptr %50) #5
  store i32 1, ptr %50, align 4, !tbaa !5
  br label %837

837:                                              ; preds = %855, %836
  call void @llvm.lifetime.start.p0(i64 4, ptr %51) #5
  store i32 0, ptr %51, align 4, !tbaa !5
  br label %838

838:                                              ; preds = %843, %837
  %839 = load i32, ptr %51, align 4, !tbaa !5
  %840 = load i32, ptr %50, align 4, !tbaa !5
  %841 = icmp slt i32 %839, %840
  br i1 %841, label %842, label %846

842:                                              ; preds = %838
  call void @llvm.x86.sse2.pause()
  br label %843

843:                                              ; preds = %842
  %844 = load i32, ptr %51, align 4, !tbaa !5
  %845 = add nsw i32 %844, 1
  store i32 %845, ptr %51, align 4, !tbaa !5
  br label %838, !llvm.loop !42

846:                                              ; preds = %838
  %847 = load i32, ptr %50, align 4, !tbaa !5
  %848 = icmp slt i32 %847, 4096
  br i1 %848, label %849, label %852

849:                                              ; preds = %846
  %850 = load i32, ptr %50, align 4, !tbaa !5
  %851 = mul nsw i32 %850, 2
  store i32 %851, ptr %50, align 4, !tbaa !5
  br label %854

852:                                              ; preds = %846
  store i32 4096, ptr %50, align 4, !tbaa !5
  %853 = call i32 @sched_yield() #5
  br label %854

854:                                              ; preds = %852, %849
  call void @llvm.lifetime.end.p0(i64 4, ptr %51) #5
  br label %855

855:                                              ; preds = %854
  %856 = load volatile i32, ptr %17, align 4, !tbaa !5
  %857 = and i32 %856, 1
  %858 = icmp ne i32 0, %857
  br i1 %858, label %837, label %859, !llvm.loop !43

859:                                              ; preds = %855
  call void @llvm.lifetime.end.p0(i64 4, ptr %50) #5
  br label %860

860:                                              ; preds = %859
  br label %861

861:                                              ; preds = %860
  br label %831, !llvm.loop !44

862:                                              ; preds = %831
  %863 = load volatile i32, ptr %17, align 4, !tbaa !5
  %864 = icmp ne i32 0, %863
  br i1 %864, label %865, label %866

865:                                              ; preds = %862
  br label %867

866:                                              ; preds = %862
  call void @__assert_fail(ptr noundef @.str.7, ptr noundef @.str.4, i32 noundef 170, ptr noundef @__PRETTY_FUNCTION__.main) #9
  unreachable

867:                                              ; preds = %865
  %868 = call i64 @libxsmm_timer_tick()
  store i64 %868, ptr %46, align 8, !tbaa !13
  %869 = load i64, ptr %46, align 8, !tbaa !13
  %870 = load i32, ptr %9, align 4, !tbaa !5
  %871 = sext i32 %870 to i64
  %872 = call i64 @work(i64 noundef %869, i64 noundef %871)
  store i64 %872, ptr %47, align 8, !tbaa !13
  %873 = load volatile i32, ptr %17, align 4, !tbaa !5
  %874 = icmp ne i32 0, %873
  br i1 %874, label %875, label %876

875:                                              ; preds = %867
  br label %877

876:                                              ; preds = %867
  call void @__assert_fail(ptr noundef @.str.8, ptr noundef @.str.4, i32 noundef 170, ptr noundef @__PRETTY_FUNCTION__.main) #9
  unreachable

877:                                              ; preds = %875
  store atomic i32 0, ptr %17 release, align 4
  %878 = load i64, ptr %46, align 8, !tbaa !13
  %879 = load i64, ptr %47, align 8, !tbaa !13
  %880 = call i64 @libxsmm_timer_ncycles(i64 noundef %878, i64 noundef %879)
  %881 = load i64, ptr %48, align 8, !tbaa !13
  %882 = add i64 %881, %880
  store i64 %882, ptr %48, align 8, !tbaa !13
  br label %942

883:                                              ; preds = %817
  %884 = ptrtoint ptr %17 to i64
  %885 = and i64 %884, 3
  %886 = icmp eq i64 0, %885
  br i1 %886, label %887, label %888

887:                                              ; preds = %883
  br label %889

888:                                              ; preds = %883
  call void @__assert_fail(ptr noundef @.str.6, ptr noundef @.str.4, i32 noundef 170, ptr noundef @__PRETTY_FUNCTION__.main) #9
  unreachable

889:                                              ; preds = %887
  br label %890

890:                                              ; preds = %920, %889
  %891 = atomicrmw or ptr %17, i32 1 seq_cst, align 4
  %892 = icmp eq i32 0, %891
  %893 = xor i1 %892, true
  br i1 %893, label %894, label %921

894:                                              ; preds = %890
  br label %895

895:                                              ; preds = %894
  call void @llvm.lifetime.start.p0(i64 4, ptr %52) #5
  store i32 1, ptr %52, align 4, !tbaa !5
  br label %896

896:                                              ; preds = %914, %895
  call void @llvm.lifetime.start.p0(i64 4, ptr %53) #5
  store i32 0, ptr %53, align 4, !tbaa !5
  br label %897

897:                                              ; preds = %902, %896
  %898 = load i32, ptr %53, align 4, !tbaa !5
  %899 = load i32, ptr %52, align 4, !tbaa !5
  %900 = icmp slt i32 %898, %899
  br i1 %900, label %901, label %905

901:                                              ; preds = %897
  call void @llvm.x86.sse2.pause()
  br label %902

902:                                              ; preds = %901
  %903 = load i32, ptr %53, align 4, !tbaa !5
  %904 = add nsw i32 %903, 1
  store i32 %904, ptr %53, align 4, !tbaa !5
  br label %897, !llvm.loop !45

905:                                              ; preds = %897
  %906 = load i32, ptr %52, align 4, !tbaa !5
  %907 = icmp slt i32 %906, 4096
  br i1 %907, label %908, label %911

908:                                              ; preds = %905
  %909 = load i32, ptr %52, align 4, !tbaa !5
  %910 = mul nsw i32 %909, 2
  store i32 %910, ptr %52, align 4, !tbaa !5
  br label %913

911:                                              ; preds = %905
  store i32 4096, ptr %52, align 4, !tbaa !5
  %912 = call i32 @sched_yield() #5
  br label %913

913:                                              ; preds = %911, %908
  call void @llvm.lifetime.end.p0(i64 4, ptr %53) #5
  br label %914

914:                                              ; preds = %913
  %915 = load volatile i32, ptr %17, align 4, !tbaa !5
  %916 = and i32 %915, 1
  %917 = icmp ne i32 0, %916
  br i1 %917, label %896, label %918, !llvm.loop !46

918:                                              ; preds = %914
  call void @llvm.lifetime.end.p0(i64 4, ptr %52) #5
  br label %919

919:                                              ; preds = %918
  br label %920

920:                                              ; preds = %919
  br label %890, !llvm.loop !47

921:                                              ; preds = %890
  %922 = load volatile i32, ptr %17, align 4, !tbaa !5
  %923 = icmp ne i32 0, %922
  br i1 %923, label %924, label %925

924:                                              ; preds = %921
  br label %926

925:                                              ; preds = %921
  call void @__assert_fail(ptr noundef @.str.7, ptr noundef @.str.4, i32 noundef 170, ptr noundef @__PRETTY_FUNCTION__.main) #9
  unreachable

926:                                              ; preds = %924
  %927 = call i64 @libxsmm_timer_tick()
  store i64 %927, ptr %46, align 8, !tbaa !13
  %928 = load i64, ptr %46, align 8, !tbaa !13
  %929 = load i32, ptr %10, align 4, !tbaa !5
  %930 = sext i32 %929 to i64
  %931 = call i64 @work(i64 noundef %928, i64 noundef %930)
  store i64 %931, ptr %47, align 8, !tbaa !13
  %932 = load volatile i32, ptr %17, align 4, !tbaa !5
  %933 = icmp ne i32 0, %932
  br i1 %933, label %934, label %935

934:                                              ; preds = %926
  br label %936

935:                                              ; preds = %926
  call void @__assert_fail(ptr noundef @.str.8, ptr noundef @.str.4, i32 noundef 170, ptr noundef @__PRETTY_FUNCTION__.main) #9
  unreachable

936:                                              ; preds = %934
  store atomic i32 0, ptr %17 release, align 4
  %937 = load i64, ptr %46, align 8, !tbaa !13
  %938 = load i64, ptr %47, align 8, !tbaa !13
  %939 = call i64 @libxsmm_timer_ncycles(i64 noundef %937, i64 noundef %938)
  %940 = load i64, ptr %48, align 8, !tbaa !13
  %941 = add i64 %940, %939
  store i64 %941, ptr %48, align 8, !tbaa !13
  br label %942

942:                                              ; preds = %936, %877
  br label %943

943:                                              ; preds = %942
  %944 = load i32, ptr %45, align 4, !tbaa !5
  store i32 %944, ptr %44, align 4, !tbaa !5
  br label %813, !llvm.loop !48

945:                                              ; preds = %813
  %946 = load i64, ptr %49, align 8, !tbaa !13
  %947 = call i64 @libxsmm_timer_tick()
  %948 = call i64 @libxsmm_timer_ncycles(i64 noundef %946, i64 noundef %947)
  store i64 %948, ptr %46, align 8, !tbaa !13
  %949 = load i64, ptr %46, align 8, !tbaa !13
  %950 = load i64, ptr %48, align 8, !tbaa !13
  %951 = sub i64 %949, %950
  %952 = load i64, ptr %42, align 8, !tbaa !13
  %953 = add i64 %952, %951
  store i64 %953, ptr %42, align 8, !tbaa !13
  call void @llvm.lifetime.end.p0(i64 8, ptr %49) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %48) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %47) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %46) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %45) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %44) #5
  %954 = load i64, ptr %42, align 8, !tbaa !13
  %955 = call double @libxsmm_timer_duration(i64 noundef 0, i64 noundef %954)
  store double %955, ptr %43, align 8, !tbaa !11
  %956 = load double, ptr %43, align 8, !tbaa !11
  %957 = fcmp olt double 0.000000e+00, %956
  br i1 %957, label %958, label %976

958:                                              ; preds = %945
  call void @llvm.lifetime.start.p0(i64 8, ptr %54) #5
  %959 = load i32, ptr %14, align 4, !tbaa !5
  %960 = sitofp i32 %959 to double
  %961 = fdiv double 1.000000e+00, %960
  store double %961, ptr %54, align 8, !tbaa !11
  %962 = load double, ptr %43, align 8, !tbaa !11
  %963 = load double, ptr %54, align 8, !tbaa !11
  %964 = fmul double %962, %963
  %965 = fmul double %964, 1.000000e+06
  %966 = load i32, ptr %14, align 4, !tbaa !5
  %967 = sitofp i32 %966 to double
  %968 = load double, ptr %43, align 8, !tbaa !11
  %969 = fmul double 1.000000e+03, %968
  %970 = fdiv double %967, %969
  %971 = load i64, ptr %42, align 8, !tbaa !13
  %972 = uitofp i64 %971 to double
  %973 = load double, ptr %54, align 8, !tbaa !11
  %974 = fmul double %972, %973
  %975 = call i32 (ptr, ...) @printf(ptr noundef @.str.11, double noundef %965, double noundef %970, double noundef %974)
  call void @llvm.lifetime.end.p0(i64 8, ptr %54) #5
  br label %976

976:                                              ; preds = %958, %945
  call void @llvm.lifetime.end.p0(i64 8, ptr %43) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %42) #5
  br label %977

977:                                              ; preds = %976
  br label %978

978:                                              ; preds = %977
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #5
  br label %979

979:                                              ; preds = %978
  br label %980

980:                                              ; preds = %979
  br label %981

981:                                              ; preds = %980
  call void @llvm.lifetime.start.p0(i64 4, ptr %55) #5
  %982 = load i32, ptr %8, align 4, !tbaa !5
  %983 = icmp slt i32 0, %982
  br i1 %983, label %984, label %987

984:                                              ; preds = %981
  %985 = load i32, ptr %8, align 4, !tbaa !5
  %986 = sdiv i32 100, %985
  br label %990

987:                                              ; preds = %981
  %988 = load i32, ptr %12, align 4, !tbaa !5
  %989 = add nsw i32 %988, 1
  br label %990

990:                                              ; preds = %987, %984
  %991 = phi i32 [ %986, %984 ], [ %989, %987 ]
  store i32 %991, ptr %55, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %56) #5
  %992 = load i32, ptr %12, align 4, !tbaa !5
  %993 = load i32, ptr %7, align 4, !tbaa !5
  %994 = mul nsw i32 %992, %993
  store i32 %994, ptr %56, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %57) #5
  %995 = load i32, ptr %11, align 4, !tbaa !5
  %996 = sitofp i32 %995 to double
  %997 = fdiv double 1.000000e+00, %996
  store double %997, ptr %57, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %58) #5
  call void @llvm.lifetime.start.p0(i64 40, ptr %59) #5
  %998 = load i32, ptr %56, align 4, !tbaa !5
  %999 = icmp slt i32 0, %998
  br i1 %999, label %1000, label %1001

1000:                                             ; preds = %990
  br label %1002

1001:                                             ; preds = %990
  call void @__assert_fail(ptr noundef @.str.3, ptr noundef @.str.4, i32 noundef 173, ptr noundef @__PRETTY_FUNCTION__.main) #9
  unreachable

1002:                                             ; preds = %1000
  %1003 = load i32, ptr %7, align 4, !tbaa !5
  %1004 = load i32, ptr %8, align 4, !tbaa !5
  %1005 = load i32, ptr %9, align 4, !tbaa !5
  %1006 = load i32, ptr %10, align 4, !tbaa !5
  %1007 = load i32, ptr %11, align 4, !tbaa !5
  %1008 = load i32, ptr %12, align 4, !tbaa !5
  %1009 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef @.str.12, ptr noundef @.str.13, i32 noundef %1003, i32 noundef %1004, i32 noundef %1005, i32 noundef %1006, i32 noundef %1007, i32 noundef %1008)
  %1010 = call i32 @pthread_mutexattr_init(ptr noundef %58) #5
  %1011 = call i32 @pthread_mutexattr_settype(ptr noundef %58, i32 noundef 0) #5
  %1012 = call i32 @pthread_mutex_init(ptr noundef %59, ptr noundef %58) #5
  %1013 = icmp eq i32 0, %1012
  br i1 %1013, label %1014, label %1015

1014:                                             ; preds = %1002
  br label %1016

1015:                                             ; preds = %1002
  call void @__assert_fail(ptr noundef @.str.14, ptr noundef @.str.4, i32 noundef 173, ptr noundef @__PRETTY_FUNCTION__.main) #9
  unreachable

1016:                                             ; preds = %1014
  %1017 = call i32 @pthread_mutexattr_destroy(ptr noundef %58) #5
  %1018 = icmp eq i32 0, %1017
  br i1 %1018, label %1019, label %1020

1019:                                             ; preds = %1016
  br label %1021

1020:                                             ; preds = %1016
  call void @__assert_fail(ptr noundef @.str.15, ptr noundef @.str.4, i32 noundef 173, ptr noundef @__PRETTY_FUNCTION__.main) #9
  unreachable

1021:                                             ; preds = %1019
  br label %1022

1022:                                             ; preds = %1021
  call void @llvm.lifetime.start.p0(i64 8, ptr %60) #5
  store i64 0, ptr %60, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 8, ptr %61) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %62) #5
  store i32 0, ptr %62, align 4, !tbaa !5
  br label %1023

1023:                                             ; preds = %1075, %1022
  %1024 = load i32, ptr %62, align 4, !tbaa !5
  %1025 = load i32, ptr %11, align 4, !tbaa !5
  %1026 = sdiv i32 %1025, 4
  %1027 = icmp slt i32 %1024, %1026
  br i1 %1027, label %1028, label %1078

1028:                                             ; preds = %1023
  call void @llvm.lifetime.start.p0(i64 8, ptr %63) #5
  %1029 = call i64 @libxsmm_timer_tick()
  store i64 %1029, ptr %63, align 8, !tbaa !13
  %1030 = call i32 @pthread_mutex_lock(ptr noundef %59) #5
  %1031 = icmp eq i32 0, %1030
  br i1 %1031, label %1032, label %1033

1032:                                             ; preds = %1028
  br label %1034

1033:                                             ; preds = %1028
  call void @__assert_fail(ptr noundef @.str.16, ptr noundef @.str.4, i32 noundef 173, ptr noundef @__PRETTY_FUNCTION__.main) #9
  unreachable

1034:                                             ; preds = %1032
  %1035 = call i32 @pthread_mutex_unlock(ptr noundef %59) #5
  %1036 = icmp eq i32 0, %1035
  br i1 %1036, label %1037, label %1038

1037:                                             ; preds = %1034
  br label %1039

1038:                                             ; preds = %1034
  call void @__assert_fail(ptr noundef @.str.17, ptr noundef @.str.4, i32 noundef 173, ptr noundef @__PRETTY_FUNCTION__.main) #9
  unreachable

1039:                                             ; preds = %1037
  %1040 = call i32 @pthread_mutex_lock(ptr noundef %59) #5
  %1041 = icmp eq i32 0, %1040
  br i1 %1041, label %1042, label %1043

1042:                                             ; preds = %1039
  br label %1044

1043:                                             ; preds = %1039
  call void @__assert_fail(ptr noundef @.str.16, ptr noundef @.str.4, i32 noundef 173, ptr noundef @__PRETTY_FUNCTION__.main) #9
  unreachable

1044:                                             ; preds = %1042
  %1045 = call i32 @pthread_mutex_unlock(ptr noundef %59) #5
  %1046 = icmp eq i32 0, %1045
  br i1 %1046, label %1047, label %1048

1047:                                             ; preds = %1044
  br label %1049

1048:                                             ; preds = %1044
  call void @__assert_fail(ptr noundef @.str.17, ptr noundef @.str.4, i32 noundef 173, ptr noundef @__PRETTY_FUNCTION__.main) #9
  unreachable

1049:                                             ; preds = %1047
  %1050 = call i32 @pthread_mutex_lock(ptr noundef %59) #5
  %1051 = icmp eq i32 0, %1050
  br i1 %1051, label %1052, label %1053

1052:                                             ; preds = %1049
  br label %1054

1053:                                             ; preds = %1049
  call void @__assert_fail(ptr noundef @.str.16, ptr noundef @.str.4, i32 noundef 173, ptr noundef @__PRETTY_FUNCTION__.main) #9
  unreachable

1054:                                             ; preds = %1052
  %1055 = call i32 @pthread_mutex_unlock(ptr noundef %59) #5
  %1056 = icmp eq i32 0, %1055
  br i1 %1056, label %1057, label %1058

1057:                                             ; preds = %1054
  br label %1059

1058:                                             ; preds = %1054
  call void @__assert_fail(ptr noundef @.str.17, ptr noundef @.str.4, i32 noundef 173, ptr noundef @__PRETTY_FUNCTION__.main) #9
  unreachable

1059:                                             ; preds = %1057
  %1060 = call i32 @pthread_mutex_lock(ptr noundef %59) #5
  %1061 = icmp eq i32 0, %1060
  br i1 %1061, label %1062, label %1063

1062:                                             ; preds = %1059
  br label %1064

1063:                                             ; preds = %1059
  call void @__assert_fail(ptr noundef @.str.16, ptr noundef @.str.4, i32 noundef 173, ptr noundef @__PRETTY_FUNCTION__.main) #9
  unreachable

1064:                                             ; preds = %1062
  %1065 = call i32 @pthread_mutex_unlock(ptr noundef %59) #5
  %1066 = icmp eq i32 0, %1065
  br i1 %1066, label %1067, label %1068

1067:                                             ; preds = %1064
  br label %1069

1068:                                             ; preds = %1064
  call void @__assert_fail(ptr noundef @.str.17, ptr noundef @.str.4, i32 noundef 173, ptr noundef @__PRETTY_FUNCTION__.main) #9
  unreachable

1069:                                             ; preds = %1067
  %1070 = load i64, ptr %63, align 8, !tbaa !13
  %1071 = call i64 @libxsmm_timer_tick()
  %1072 = call i64 @libxsmm_timer_ncycles(i64 noundef %1070, i64 noundef %1071)
  %1073 = load i64, ptr %60, align 8, !tbaa !13
  %1074 = add i64 %1073, %1072
  store i64 %1074, ptr %60, align 8, !tbaa !13
  call void @llvm.lifetime.end.p0(i64 8, ptr %63) #5
  br label %1075

1075:                                             ; preds = %1069
  %1076 = load i32, ptr %62, align 4, !tbaa !5
  %1077 = add nsw i32 %1076, 1
  store i32 %1077, ptr %62, align 4, !tbaa !5
  br label %1023, !llvm.loop !49

1078:                                             ; preds = %1023
  %1079 = load i64, ptr %60, align 8, !tbaa !13
  %1080 = call double @libxsmm_timer_duration(i64 noundef 0, i64 noundef %1079)
  store double %1080, ptr %61, align 8, !tbaa !11
  %1081 = load double, ptr %61, align 8, !tbaa !11
  %1082 = fcmp olt double 0.000000e+00, %1081
  br i1 %1082, label %1083, label %1098

1083:                                             ; preds = %1078
  %1084 = load double, ptr %61, align 8, !tbaa !11
  %1085 = load double, ptr %57, align 8, !tbaa !11
  %1086 = fmul double %1084, %1085
  %1087 = fmul double %1086, 1.000000e+09
  %1088 = load i32, ptr %11, align 4, !tbaa !5
  %1089 = sitofp i32 %1088 to double
  %1090 = load double, ptr %61, align 8, !tbaa !11
  %1091 = fmul double 1.000000e+06, %1090
  %1092 = fdiv double %1089, %1091
  %1093 = load i64, ptr %60, align 8, !tbaa !13
  %1094 = uitofp i64 %1093 to double
  %1095 = load double, ptr %57, align 8, !tbaa !11
  %1096 = fmul double %1094, %1095
  %1097 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, double noundef %1087, double noundef %1092, double noundef %1096)
  br label %1098

1098:                                             ; preds = %1083, %1078
  call void @llvm.lifetime.end.p0(i64 4, ptr %62) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %61) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %60) #5
  br label %1099

1099:                                             ; preds = %1098
  br label %1100

1100:                                             ; preds = %1099
  br label %1101

1101:                                             ; preds = %1100
  call void @llvm.lifetime.start.p0(i64 8, ptr %64) #5
  store i64 0, ptr %64, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 8, ptr %65) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %66) #5
  store i32 0, ptr %66, align 4, !tbaa !5
  br label %1102

1102:                                             ; preds = %1154, %1101
  %1103 = load i32, ptr %66, align 4, !tbaa !5
  %1104 = load i32, ptr %11, align 4, !tbaa !5
  %1105 = sdiv i32 %1104, 4
  %1106 = icmp slt i32 %1103, %1105
  br i1 %1106, label %1107, label %1157

1107:                                             ; preds = %1102
  call void @llvm.lifetime.start.p0(i64 8, ptr %67) #5
  %1108 = call i64 @libxsmm_timer_tick()
  store i64 %1108, ptr %67, align 8, !tbaa !13
  %1109 = call i32 @pthread_mutex_lock(ptr noundef %59) #5
  %1110 = icmp eq i32 0, %1109
  br i1 %1110, label %1111, label %1112

1111:                                             ; preds = %1107
  br label %1113

1112:                                             ; preds = %1107
  call void @__assert_fail(ptr noundef @.str.16, ptr noundef @.str.4, i32 noundef 173, ptr noundef @__PRETTY_FUNCTION__.main) #9
  unreachable

1113:                                             ; preds = %1111
  %1114 = call i32 @pthread_mutex_unlock(ptr noundef %59) #5
  %1115 = icmp eq i32 0, %1114
  br i1 %1115, label %1116, label %1117

1116:                                             ; preds = %1113
  br label %1118

1117:                                             ; preds = %1113
  call void @__assert_fail(ptr noundef @.str.17, ptr noundef @.str.4, i32 noundef 173, ptr noundef @__PRETTY_FUNCTION__.main) #9
  unreachable

1118:                                             ; preds = %1116
  %1119 = call i32 @pthread_mutex_lock(ptr noundef %59) #5
  %1120 = icmp eq i32 0, %1119
  br i1 %1120, label %1121, label %1122

1121:                                             ; preds = %1118
  br label %1123

1122:                                             ; preds = %1118
  call void @__assert_fail(ptr noundef @.str.16, ptr noundef @.str.4, i32 noundef 173, ptr noundef @__PRETTY_FUNCTION__.main) #9
  unreachable

1123:                                             ; preds = %1121
  %1124 = call i32 @pthread_mutex_unlock(ptr noundef %59) #5
  %1125 = icmp eq i32 0, %1124
  br i1 %1125, label %1126, label %1127

1126:                                             ; preds = %1123
  br label %1128

1127:                                             ; preds = %1123
  call void @__assert_fail(ptr noundef @.str.17, ptr noundef @.str.4, i32 noundef 173, ptr noundef @__PRETTY_FUNCTION__.main) #9
  unreachable

1128:                                             ; preds = %1126
  %1129 = call i32 @pthread_mutex_lock(ptr noundef %59) #5
  %1130 = icmp eq i32 0, %1129
  br i1 %1130, label %1131, label %1132

1131:                                             ; preds = %1128
  br label %1133

1132:                                             ; preds = %1128
  call void @__assert_fail(ptr noundef @.str.16, ptr noundef @.str.4, i32 noundef 173, ptr noundef @__PRETTY_FUNCTION__.main) #9
  unreachable

1133:                                             ; preds = %1131
  %1134 = call i32 @pthread_mutex_unlock(ptr noundef %59) #5
  %1135 = icmp eq i32 0, %1134
  br i1 %1135, label %1136, label %1137

1136:                                             ; preds = %1133
  br label %1138

1137:                                             ; preds = %1133
  call void @__assert_fail(ptr noundef @.str.17, ptr noundef @.str.4, i32 noundef 173, ptr noundef @__PRETTY_FUNCTION__.main) #9
  unreachable

1138:                                             ; preds = %1136
  %1139 = call i32 @pthread_mutex_lock(ptr noundef %59) #5
  %1140 = icmp eq i32 0, %1139
  br i1 %1140, label %1141, label %1142

1141:                                             ; preds = %1138
  br label %1143

1142:                                             ; preds = %1138
  call void @__assert_fail(ptr noundef @.str.16, ptr noundef @.str.4, i32 noundef 173, ptr noundef @__PRETTY_FUNCTION__.main) #9
  unreachable

1143:                                             ; preds = %1141
  %1144 = call i32 @pthread_mutex_unlock(ptr noundef %59) #5
  %1145 = icmp eq i32 0, %1144
  br i1 %1145, label %1146, label %1147

1146:                                             ; preds = %1143
  br label %1148

1147:                                             ; preds = %1143
  call void @__assert_fail(ptr noundef @.str.17, ptr noundef @.str.4, i32 noundef 173, ptr noundef @__PRETTY_FUNCTION__.main) #9
  unreachable

1148:                                             ; preds = %1146
  %1149 = load i64, ptr %67, align 8, !tbaa !13
  %1150 = call i64 @libxsmm_timer_tick()
  %1151 = call i64 @libxsmm_timer_ncycles(i64 noundef %1149, i64 noundef %1150)
  %1152 = load i64, ptr %64, align 8, !tbaa !13
  %1153 = add i64 %1152, %1151
  store i64 %1153, ptr %64, align 8, !tbaa !13
  call void @llvm.lifetime.end.p0(i64 8, ptr %67) #5
  br label %1154

1154:                                             ; preds = %1148
  %1155 = load i32, ptr %66, align 4, !tbaa !5
  %1156 = add nsw i32 %1155, 1
  store i32 %1156, ptr %66, align 4, !tbaa !5
  br label %1102, !llvm.loop !50

1157:                                             ; preds = %1102
  %1158 = load i64, ptr %64, align 8, !tbaa !13
  %1159 = call double @libxsmm_timer_duration(i64 noundef 0, i64 noundef %1158)
  store double %1159, ptr %65, align 8, !tbaa !11
  %1160 = load double, ptr %65, align 8, !tbaa !11
  %1161 = fcmp olt double 0.000000e+00, %1160
  br i1 %1161, label %1162, label %1177

1162:                                             ; preds = %1157
  %1163 = load double, ptr %65, align 8, !tbaa !11
  %1164 = load double, ptr %57, align 8, !tbaa !11
  %1165 = fmul double %1163, %1164
  %1166 = fmul double %1165, 1.000000e+09
  %1167 = load i32, ptr %11, align 4, !tbaa !5
  %1168 = sitofp i32 %1167 to double
  %1169 = load double, ptr %65, align 8, !tbaa !11
  %1170 = fmul double 1.000000e+06, %1169
  %1171 = fdiv double %1168, %1170
  %1172 = load i64, ptr %64, align 8, !tbaa !13
  %1173 = uitofp i64 %1172 to double
  %1174 = load double, ptr %57, align 8, !tbaa !11
  %1175 = fmul double %1173, %1174
  %1176 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, double noundef %1166, double noundef %1171, double noundef %1175)
  br label %1177

1177:                                             ; preds = %1162, %1157
  call void @llvm.lifetime.end.p0(i64 4, ptr %66) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %65) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %64) #5
  br label %1178

1178:                                             ; preds = %1177
  br label %1179

1179:                                             ; preds = %1178
  br label %1180

1180:                                             ; preds = %1179
  call void @llvm.lifetime.start.p0(i64 8, ptr %68) #5
  store i64 0, ptr %68, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 8, ptr %69) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %70) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %71) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %72) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %73) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %74) #5
  store i64 0, ptr %74, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 8, ptr %75) #5
  %1181 = call i64 @libxsmm_timer_tick()
  store i64 %1181, ptr %75, align 8, !tbaa !13
  store i32 0, ptr %70, align 4, !tbaa !5
  br label %1182

1182:                                             ; preds = %1236, %1180
  %1183 = load i32, ptr %70, align 4, !tbaa !5
  %1184 = load i32, ptr %12, align 4, !tbaa !5
  %1185 = icmp slt i32 %1183, %1184
  br i1 %1185, label %1186, label %1238

1186:                                             ; preds = %1182
  %1187 = load i32, ptr %70, align 4, !tbaa !5
  %1188 = add nsw i32 %1187, 1
  store i32 %1188, ptr %71, align 4, !tbaa !5
  %1189 = load i32, ptr %71, align 4, !tbaa !5
  %1190 = load i32, ptr %55, align 4, !tbaa !5
  %1191 = srem i32 %1189, %1190
  %1192 = icmp ne i32 0, %1191
  br i1 %1192, label %1193, label %1214

1193:                                             ; preds = %1186
  %1194 = call i32 @pthread_mutex_lock(ptr noundef %59) #5
  %1195 = icmp eq i32 0, %1194
  br i1 %1195, label %1196, label %1197

1196:                                             ; preds = %1193
  br label %1198

1197:                                             ; preds = %1193
  call void @__assert_fail(ptr noundef @.str.16, ptr noundef @.str.4, i32 noundef 173, ptr noundef @__PRETTY_FUNCTION__.main) #9
  unreachable

1198:                                             ; preds = %1196
  %1199 = call i64 @libxsmm_timer_tick()
  store i64 %1199, ptr %72, align 8, !tbaa !13
  %1200 = load i64, ptr %72, align 8, !tbaa !13
  %1201 = load i32, ptr %9, align 4, !tbaa !5
  %1202 = sext i32 %1201 to i64
  %1203 = call i64 @work(i64 noundef %1200, i64 noundef %1202)
  store i64 %1203, ptr %73, align 8, !tbaa !13
  %1204 = call i32 @pthread_mutex_unlock(ptr noundef %59) #5
  %1205 = icmp eq i32 0, %1204
  br i1 %1205, label %1206, label %1207

1206:                                             ; preds = %1198
  br label %1208

1207:                                             ; preds = %1198
  call void @__assert_fail(ptr noundef @.str.17, ptr noundef @.str.4, i32 noundef 173, ptr noundef @__PRETTY_FUNCTION__.main) #9
  unreachable

1208:                                             ; preds = %1206
  %1209 = load i64, ptr %72, align 8, !tbaa !13
  %1210 = load i64, ptr %73, align 8, !tbaa !13
  %1211 = call i64 @libxsmm_timer_ncycles(i64 noundef %1209, i64 noundef %1210)
  %1212 = load i64, ptr %74, align 8, !tbaa !13
  %1213 = add i64 %1212, %1211
  store i64 %1213, ptr %74, align 8, !tbaa !13
  br label %1235

1214:                                             ; preds = %1186
  %1215 = call i32 @pthread_mutex_lock(ptr noundef %59) #5
  %1216 = icmp eq i32 0, %1215
  br i1 %1216, label %1217, label %1218

1217:                                             ; preds = %1214
  br label %1219

1218:                                             ; preds = %1214
  call void @__assert_fail(ptr noundef @.str.16, ptr noundef @.str.4, i32 noundef 173, ptr noundef @__PRETTY_FUNCTION__.main) #9
  unreachable

1219:                                             ; preds = %1217
  %1220 = call i64 @libxsmm_timer_tick()
  store i64 %1220, ptr %72, align 8, !tbaa !13
  %1221 = load i64, ptr %72, align 8, !tbaa !13
  %1222 = load i32, ptr %10, align 4, !tbaa !5
  %1223 = sext i32 %1222 to i64
  %1224 = call i64 @work(i64 noundef %1221, i64 noundef %1223)
  store i64 %1224, ptr %73, align 8, !tbaa !13
  %1225 = call i32 @pthread_mutex_unlock(ptr noundef %59) #5
  %1226 = icmp eq i32 0, %1225
  br i1 %1226, label %1227, label %1228

1227:                                             ; preds = %1219
  br label %1229

1228:                                             ; preds = %1219
  call void @__assert_fail(ptr noundef @.str.17, ptr noundef @.str.4, i32 noundef 173, ptr noundef @__PRETTY_FUNCTION__.main) #9
  unreachable

1229:                                             ; preds = %1227
  %1230 = load i64, ptr %72, align 8, !tbaa !13
  %1231 = load i64, ptr %73, align 8, !tbaa !13
  %1232 = call i64 @libxsmm_timer_ncycles(i64 noundef %1230, i64 noundef %1231)
  %1233 = load i64, ptr %74, align 8, !tbaa !13
  %1234 = add i64 %1233, %1232
  store i64 %1234, ptr %74, align 8, !tbaa !13
  br label %1235

1235:                                             ; preds = %1229, %1208
  br label %1236

1236:                                             ; preds = %1235
  %1237 = load i32, ptr %71, align 4, !tbaa !5
  store i32 %1237, ptr %70, align 4, !tbaa !5
  br label %1182, !llvm.loop !51

1238:                                             ; preds = %1182
  %1239 = load i64, ptr %75, align 8, !tbaa !13
  %1240 = call i64 @libxsmm_timer_tick()
  %1241 = call i64 @libxsmm_timer_ncycles(i64 noundef %1239, i64 noundef %1240)
  store i64 %1241, ptr %72, align 8, !tbaa !13
  %1242 = load i64, ptr %72, align 8, !tbaa !13
  %1243 = load i64, ptr %74, align 8, !tbaa !13
  %1244 = sub i64 %1242, %1243
  %1245 = load i64, ptr %68, align 8, !tbaa !13
  %1246 = add i64 %1245, %1244
  store i64 %1246, ptr %68, align 8, !tbaa !13
  call void @llvm.lifetime.end.p0(i64 8, ptr %75) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %74) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %73) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %72) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %71) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %70) #5
  %1247 = load i64, ptr %68, align 8, !tbaa !13
  %1248 = call double @libxsmm_timer_duration(i64 noundef 0, i64 noundef %1247)
  store double %1248, ptr %69, align 8, !tbaa !11
  %1249 = load double, ptr %69, align 8, !tbaa !11
  %1250 = fcmp olt double 0.000000e+00, %1249
  br i1 %1250, label %1251, label %1269

1251:                                             ; preds = %1238
  call void @llvm.lifetime.start.p0(i64 8, ptr %76) #5
  %1252 = load i32, ptr %56, align 4, !tbaa !5
  %1253 = sitofp i32 %1252 to double
  %1254 = fdiv double 1.000000e+00, %1253
  store double %1254, ptr %76, align 8, !tbaa !11
  %1255 = load double, ptr %69, align 8, !tbaa !11
  %1256 = load double, ptr %76, align 8, !tbaa !11
  %1257 = fmul double %1255, %1256
  %1258 = fmul double %1257, 1.000000e+06
  %1259 = load i32, ptr %56, align 4, !tbaa !5
  %1260 = sitofp i32 %1259 to double
  %1261 = load double, ptr %69, align 8, !tbaa !11
  %1262 = fmul double 1.000000e+03, %1261
  %1263 = fdiv double %1260, %1262
  %1264 = load i64, ptr %68, align 8, !tbaa !13
  %1265 = uitofp i64 %1264 to double
  %1266 = load double, ptr %76, align 8, !tbaa !11
  %1267 = fmul double %1265, %1266
  %1268 = call i32 (ptr, ...) @printf(ptr noundef @.str.11, double noundef %1258, double noundef %1263, double noundef %1267)
  call void @llvm.lifetime.end.p0(i64 8, ptr %76) #5
  br label %1269

1269:                                             ; preds = %1251, %1238
  call void @llvm.lifetime.end.p0(i64 8, ptr %69) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %68) #5
  br label %1270

1270:                                             ; preds = %1269
  br label %1271

1271:                                             ; preds = %1270
  br label %1272

1272:                                             ; preds = %1271
  call void @llvm.lifetime.start.p0(i64 4, ptr %77) #5
  %1273 = call i32 @pthread_mutex_destroy(ptr noundef %59) #5
  %1274 = icmp eq i32 0, %1273
  %1275 = zext i1 %1274 to i32
  store i32 %1275, ptr %77, align 4, !tbaa !5
  %1276 = load i32, ptr %77, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr %77) #5
  br label %1277

1277:                                             ; preds = %1272
  br label %1278

1278:                                             ; preds = %1277
  call void @llvm.lifetime.end.p0(i64 40, ptr %59) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %58) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %57) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %56) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %55) #5
  br label %1279

1279:                                             ; preds = %1278
  br label %1280

1280:                                             ; preds = %1279
  br label %1281

1281:                                             ; preds = %1280
  call void @llvm.lifetime.start.p0(i64 4, ptr %78) #5
  %1282 = load i32, ptr %8, align 4, !tbaa !5
  %1283 = icmp slt i32 0, %1282
  br i1 %1283, label %1284, label %1287

1284:                                             ; preds = %1281
  %1285 = load i32, ptr %8, align 4, !tbaa !5
  %1286 = sdiv i32 100, %1285
  br label %1290

1287:                                             ; preds = %1281
  %1288 = load i32, ptr %12, align 4, !tbaa !5
  %1289 = add nsw i32 %1288, 1
  br label %1290

1290:                                             ; preds = %1287, %1284
  %1291 = phi i32 [ %1286, %1284 ], [ %1289, %1287 ]
  store i32 %1291, ptr %78, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %79) #5
  %1292 = load i32, ptr %12, align 4, !tbaa !5
  %1293 = load i32, ptr %7, align 4, !tbaa !5
  %1294 = mul nsw i32 %1292, %1293
  store i32 %1294, ptr %79, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %80) #5
  %1295 = load i32, ptr %11, align 4, !tbaa !5
  %1296 = sitofp i32 %1295 to double
  %1297 = fdiv double 1.000000e+00, %1296
  store double %1297, ptr %80, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %81) #5
  call void @llvm.lifetime.start.p0(i64 56, ptr %82) #5
  %1298 = load i32, ptr %79, align 4, !tbaa !5
  %1299 = icmp slt i32 0, %1298
  br i1 %1299, label %1300, label %1301

1300:                                             ; preds = %1290
  br label %1302

1301:                                             ; preds = %1290
  call void @__assert_fail(ptr noundef @.str.3, ptr noundef @.str.4, i32 noundef 178, ptr noundef @__PRETTY_FUNCTION__.main) #9
  unreachable

1302:                                             ; preds = %1300
  %1303 = load i32, ptr %7, align 4, !tbaa !5
  %1304 = load i32, ptr %8, align 4, !tbaa !5
  %1305 = load i32, ptr %9, align 4, !tbaa !5
  %1306 = load i32, ptr %10, align 4, !tbaa !5
  %1307 = load i32, ptr %11, align 4, !tbaa !5
  %1308 = load i32, ptr %12, align 4, !tbaa !5
  %1309 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef @.str.18, ptr noundef @.str.13, i32 noundef %1303, i32 noundef %1304, i32 noundef %1305, i32 noundef %1306, i32 noundef %1307, i32 noundef %1308)
  %1310 = call i32 @pthread_rwlockattr_init(ptr noundef %81) #5
  %1311 = icmp eq i32 0, %1310
  br i1 %1311, label %1312, label %1313

1312:                                             ; preds = %1302
  br label %1314

1313:                                             ; preds = %1302
  call void @__assert_fail(ptr noundef @.str.19, ptr noundef @.str.4, i32 noundef 178, ptr noundef @__PRETTY_FUNCTION__.main) #9
  unreachable

1314:                                             ; preds = %1312
  %1315 = call i32 @pthread_rwlock_init(ptr noundef %82, ptr noundef %81) #5
  %1316 = icmp eq i32 0, %1315
  br i1 %1316, label %1317, label %1318

1317:                                             ; preds = %1314
  br label %1319

1318:                                             ; preds = %1314
  call void @__assert_fail(ptr noundef @.str.20, ptr noundef @.str.4, i32 noundef 178, ptr noundef @__PRETTY_FUNCTION__.main) #9
  unreachable

1319:                                             ; preds = %1317
  %1320 = call i32 @pthread_rwlockattr_destroy(ptr noundef %81) #5
  %1321 = icmp eq i32 0, %1320
  br i1 %1321, label %1322, label %1323

1322:                                             ; preds = %1319
  br label %1324

1323:                                             ; preds = %1319
  call void @__assert_fail(ptr noundef @.str.21, ptr noundef @.str.4, i32 noundef 178, ptr noundef @__PRETTY_FUNCTION__.main) #9
  unreachable

1324:                                             ; preds = %1322
  br label %1325

1325:                                             ; preds = %1324
  call void @llvm.lifetime.start.p0(i64 8, ptr %83) #5
  store i64 0, ptr %83, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 8, ptr %84) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %85) #5
  store i32 0, ptr %85, align 4, !tbaa !5
  br label %1326

1326:                                             ; preds = %1378, %1325
  %1327 = load i32, ptr %85, align 4, !tbaa !5
  %1328 = load i32, ptr %11, align 4, !tbaa !5
  %1329 = sdiv i32 %1328, 4
  %1330 = icmp slt i32 %1327, %1329
  br i1 %1330, label %1331, label %1381

1331:                                             ; preds = %1326
  call void @llvm.lifetime.start.p0(i64 8, ptr %86) #5
  %1332 = call i64 @libxsmm_timer_tick()
  store i64 %1332, ptr %86, align 8, !tbaa !13
  %1333 = call i32 @pthread_rwlock_rdlock(ptr noundef %82) #5
  %1334 = icmp eq i32 0, %1333
  br i1 %1334, label %1335, label %1336

1335:                                             ; preds = %1331
  br label %1337

1336:                                             ; preds = %1331
  call void @__assert_fail(ptr noundef @.str.22, ptr noundef @.str.4, i32 noundef 178, ptr noundef @__PRETTY_FUNCTION__.main) #9
  unreachable

1337:                                             ; preds = %1335
  %1338 = call i32 @pthread_rwlock_unlock(ptr noundef %82) #5
  %1339 = icmp eq i32 0, %1338
  br i1 %1339, label %1340, label %1341

1340:                                             ; preds = %1337
  br label %1342

1341:                                             ; preds = %1337
  call void @__assert_fail(ptr noundef @.str.23, ptr noundef @.str.4, i32 noundef 178, ptr noundef @__PRETTY_FUNCTION__.main) #9
  unreachable

1342:                                             ; preds = %1340
  %1343 = call i32 @pthread_rwlock_rdlock(ptr noundef %82) #5
  %1344 = icmp eq i32 0, %1343
  br i1 %1344, label %1345, label %1346

1345:                                             ; preds = %1342
  br label %1347

1346:                                             ; preds = %1342
  call void @__assert_fail(ptr noundef @.str.22, ptr noundef @.str.4, i32 noundef 178, ptr noundef @__PRETTY_FUNCTION__.main) #9
  unreachable

1347:                                             ; preds = %1345
  %1348 = call i32 @pthread_rwlock_unlock(ptr noundef %82) #5
  %1349 = icmp eq i32 0, %1348
  br i1 %1349, label %1350, label %1351

1350:                                             ; preds = %1347
  br label %1352

1351:                                             ; preds = %1347
  call void @__assert_fail(ptr noundef @.str.23, ptr noundef @.str.4, i32 noundef 178, ptr noundef @__PRETTY_FUNCTION__.main) #9
  unreachable

1352:                                             ; preds = %1350
  %1353 = call i32 @pthread_rwlock_rdlock(ptr noundef %82) #5
  %1354 = icmp eq i32 0, %1353
  br i1 %1354, label %1355, label %1356

1355:                                             ; preds = %1352
  br label %1357

1356:                                             ; preds = %1352
  call void @__assert_fail(ptr noundef @.str.22, ptr noundef @.str.4, i32 noundef 178, ptr noundef @__PRETTY_FUNCTION__.main) #9
  unreachable

1357:                                             ; preds = %1355
  %1358 = call i32 @pthread_rwlock_unlock(ptr noundef %82) #5
  %1359 = icmp eq i32 0, %1358
  br i1 %1359, label %1360, label %1361

1360:                                             ; preds = %1357
  br label %1362

1361:                                             ; preds = %1357
  call void @__assert_fail(ptr noundef @.str.23, ptr noundef @.str.4, i32 noundef 178, ptr noundef @__PRETTY_FUNCTION__.main) #9
  unreachable

1362:                                             ; preds = %1360
  %1363 = call i32 @pthread_rwlock_rdlock(ptr noundef %82) #5
  %1364 = icmp eq i32 0, %1363
  br i1 %1364, label %1365, label %1366

1365:                                             ; preds = %1362
  br label %1367

1366:                                             ; preds = %1362
  call void @__assert_fail(ptr noundef @.str.22, ptr noundef @.str.4, i32 noundef 178, ptr noundef @__PRETTY_FUNCTION__.main) #9
  unreachable

1367:                                             ; preds = %1365
  %1368 = call i32 @pthread_rwlock_unlock(ptr noundef %82) #5
  %1369 = icmp eq i32 0, %1368
  br i1 %1369, label %1370, label %1371

1370:                                             ; preds = %1367
  br label %1372

1371:                                             ; preds = %1367
  call void @__assert_fail(ptr noundef @.str.23, ptr noundef @.str.4, i32 noundef 178, ptr noundef @__PRETTY_FUNCTION__.main) #9
  unreachable

1372:                                             ; preds = %1370
  %1373 = load i64, ptr %86, align 8, !tbaa !13
  %1374 = call i64 @libxsmm_timer_tick()
  %1375 = call i64 @libxsmm_timer_ncycles(i64 noundef %1373, i64 noundef %1374)
  %1376 = load i64, ptr %83, align 8, !tbaa !13
  %1377 = add i64 %1376, %1375
  store i64 %1377, ptr %83, align 8, !tbaa !13
  call void @llvm.lifetime.end.p0(i64 8, ptr %86) #5
  br label %1378

1378:                                             ; preds = %1372
  %1379 = load i32, ptr %85, align 4, !tbaa !5
  %1380 = add nsw i32 %1379, 1
  store i32 %1380, ptr %85, align 4, !tbaa !5
  br label %1326, !llvm.loop !52

1381:                                             ; preds = %1326
  %1382 = load i64, ptr %83, align 8, !tbaa !13
  %1383 = call double @libxsmm_timer_duration(i64 noundef 0, i64 noundef %1382)
  store double %1383, ptr %84, align 8, !tbaa !11
  %1384 = load double, ptr %84, align 8, !tbaa !11
  %1385 = fcmp olt double 0.000000e+00, %1384
  br i1 %1385, label %1386, label %1401

1386:                                             ; preds = %1381
  %1387 = load double, ptr %84, align 8, !tbaa !11
  %1388 = load double, ptr %80, align 8, !tbaa !11
  %1389 = fmul double %1387, %1388
  %1390 = fmul double %1389, 1.000000e+09
  %1391 = load i32, ptr %11, align 4, !tbaa !5
  %1392 = sitofp i32 %1391 to double
  %1393 = load double, ptr %84, align 8, !tbaa !11
  %1394 = fmul double 1.000000e+06, %1393
  %1395 = fdiv double %1392, %1394
  %1396 = load i64, ptr %83, align 8, !tbaa !13
  %1397 = uitofp i64 %1396 to double
  %1398 = load double, ptr %80, align 8, !tbaa !11
  %1399 = fmul double %1397, %1398
  %1400 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, double noundef %1390, double noundef %1395, double noundef %1399)
  br label %1401

1401:                                             ; preds = %1386, %1381
  call void @llvm.lifetime.end.p0(i64 4, ptr %85) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %84) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %83) #5
  br label %1402

1402:                                             ; preds = %1401
  br label %1403

1403:                                             ; preds = %1402
  br label %1404

1404:                                             ; preds = %1403
  call void @llvm.lifetime.start.p0(i64 8, ptr %87) #5
  store i64 0, ptr %87, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 8, ptr %88) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %89) #5
  store i32 0, ptr %89, align 4, !tbaa !5
  br label %1405

1405:                                             ; preds = %1457, %1404
  %1406 = load i32, ptr %89, align 4, !tbaa !5
  %1407 = load i32, ptr %11, align 4, !tbaa !5
  %1408 = sdiv i32 %1407, 4
  %1409 = icmp slt i32 %1406, %1408
  br i1 %1409, label %1410, label %1460

1410:                                             ; preds = %1405
  call void @llvm.lifetime.start.p0(i64 8, ptr %90) #5
  %1411 = call i64 @libxsmm_timer_tick()
  store i64 %1411, ptr %90, align 8, !tbaa !13
  %1412 = call i32 @pthread_rwlock_wrlock(ptr noundef %82) #5
  %1413 = icmp eq i32 0, %1412
  br i1 %1413, label %1414, label %1415

1414:                                             ; preds = %1410
  br label %1416

1415:                                             ; preds = %1410
  call void @__assert_fail(ptr noundef @.str.24, ptr noundef @.str.4, i32 noundef 178, ptr noundef @__PRETTY_FUNCTION__.main) #9
  unreachable

1416:                                             ; preds = %1414
  %1417 = call i32 @pthread_rwlock_unlock(ptr noundef %82) #5
  %1418 = icmp eq i32 0, %1417
  br i1 %1418, label %1419, label %1420

1419:                                             ; preds = %1416
  br label %1421

1420:                                             ; preds = %1416
  call void @__assert_fail(ptr noundef @.str.23, ptr noundef @.str.4, i32 noundef 178, ptr noundef @__PRETTY_FUNCTION__.main) #9
  unreachable

1421:                                             ; preds = %1419
  %1422 = call i32 @pthread_rwlock_wrlock(ptr noundef %82) #5
  %1423 = icmp eq i32 0, %1422
  br i1 %1423, label %1424, label %1425

1424:                                             ; preds = %1421
  br label %1426

1425:                                             ; preds = %1421
  call void @__assert_fail(ptr noundef @.str.24, ptr noundef @.str.4, i32 noundef 178, ptr noundef @__PRETTY_FUNCTION__.main) #9
  unreachable

1426:                                             ; preds = %1424
  %1427 = call i32 @pthread_rwlock_unlock(ptr noundef %82) #5
  %1428 = icmp eq i32 0, %1427
  br i1 %1428, label %1429, label %1430

1429:                                             ; preds = %1426
  br label %1431

1430:                                             ; preds = %1426
  call void @__assert_fail(ptr noundef @.str.23, ptr noundef @.str.4, i32 noundef 178, ptr noundef @__PRETTY_FUNCTION__.main) #9
  unreachable

1431:                                             ; preds = %1429
  %1432 = call i32 @pthread_rwlock_wrlock(ptr noundef %82) #5
  %1433 = icmp eq i32 0, %1432
  br i1 %1433, label %1434, label %1435

1434:                                             ; preds = %1431
  br label %1436

1435:                                             ; preds = %1431
  call void @__assert_fail(ptr noundef @.str.24, ptr noundef @.str.4, i32 noundef 178, ptr noundef @__PRETTY_FUNCTION__.main) #9
  unreachable

1436:                                             ; preds = %1434
  %1437 = call i32 @pthread_rwlock_unlock(ptr noundef %82) #5
  %1438 = icmp eq i32 0, %1437
  br i1 %1438, label %1439, label %1440

1439:                                             ; preds = %1436
  br label %1441

1440:                                             ; preds = %1436
  call void @__assert_fail(ptr noundef @.str.23, ptr noundef @.str.4, i32 noundef 178, ptr noundef @__PRETTY_FUNCTION__.main) #9
  unreachable

1441:                                             ; preds = %1439
  %1442 = call i32 @pthread_rwlock_wrlock(ptr noundef %82) #5
  %1443 = icmp eq i32 0, %1442
  br i1 %1443, label %1444, label %1445

1444:                                             ; preds = %1441
  br label %1446

1445:                                             ; preds = %1441
  call void @__assert_fail(ptr noundef @.str.24, ptr noundef @.str.4, i32 noundef 178, ptr noundef @__PRETTY_FUNCTION__.main) #9
  unreachable

1446:                                             ; preds = %1444
  %1447 = call i32 @pthread_rwlock_unlock(ptr noundef %82) #5
  %1448 = icmp eq i32 0, %1447
  br i1 %1448, label %1449, label %1450

1449:                                             ; preds = %1446
  br label %1451

1450:                                             ; preds = %1446
  call void @__assert_fail(ptr noundef @.str.23, ptr noundef @.str.4, i32 noundef 178, ptr noundef @__PRETTY_FUNCTION__.main) #9
  unreachable

1451:                                             ; preds = %1449
  %1452 = load i64, ptr %90, align 8, !tbaa !13
  %1453 = call i64 @libxsmm_timer_tick()
  %1454 = call i64 @libxsmm_timer_ncycles(i64 noundef %1452, i64 noundef %1453)
  %1455 = load i64, ptr %87, align 8, !tbaa !13
  %1456 = add i64 %1455, %1454
  store i64 %1456, ptr %87, align 8, !tbaa !13
  call void @llvm.lifetime.end.p0(i64 8, ptr %90) #5
  br label %1457

1457:                                             ; preds = %1451
  %1458 = load i32, ptr %89, align 4, !tbaa !5
  %1459 = add nsw i32 %1458, 1
  store i32 %1459, ptr %89, align 4, !tbaa !5
  br label %1405, !llvm.loop !53

1460:                                             ; preds = %1405
  %1461 = load i64, ptr %87, align 8, !tbaa !13
  %1462 = call double @libxsmm_timer_duration(i64 noundef 0, i64 noundef %1461)
  store double %1462, ptr %88, align 8, !tbaa !11
  %1463 = load double, ptr %88, align 8, !tbaa !11
  %1464 = fcmp olt double 0.000000e+00, %1463
  br i1 %1464, label %1465, label %1480

1465:                                             ; preds = %1460
  %1466 = load double, ptr %88, align 8, !tbaa !11
  %1467 = load double, ptr %80, align 8, !tbaa !11
  %1468 = fmul double %1466, %1467
  %1469 = fmul double %1468, 1.000000e+09
  %1470 = load i32, ptr %11, align 4, !tbaa !5
  %1471 = sitofp i32 %1470 to double
  %1472 = load double, ptr %88, align 8, !tbaa !11
  %1473 = fmul double 1.000000e+06, %1472
  %1474 = fdiv double %1471, %1473
  %1475 = load i64, ptr %87, align 8, !tbaa !13
  %1476 = uitofp i64 %1475 to double
  %1477 = load double, ptr %80, align 8, !tbaa !11
  %1478 = fmul double %1476, %1477
  %1479 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, double noundef %1469, double noundef %1474, double noundef %1478)
  br label %1480

1480:                                             ; preds = %1465, %1460
  call void @llvm.lifetime.end.p0(i64 4, ptr %89) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %88) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %87) #5
  br label %1481

1481:                                             ; preds = %1480
  br label %1482

1482:                                             ; preds = %1481
  br label %1483

1483:                                             ; preds = %1482
  call void @llvm.lifetime.start.p0(i64 8, ptr %91) #5
  store i64 0, ptr %91, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 8, ptr %92) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %93) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %94) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %95) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %96) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %97) #5
  store i64 0, ptr %97, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 8, ptr %98) #5
  %1484 = call i64 @libxsmm_timer_tick()
  store i64 %1484, ptr %98, align 8, !tbaa !13
  store i32 0, ptr %93, align 4, !tbaa !5
  br label %1485

1485:                                             ; preds = %1539, %1483
  %1486 = load i32, ptr %93, align 4, !tbaa !5
  %1487 = load i32, ptr %12, align 4, !tbaa !5
  %1488 = icmp slt i32 %1486, %1487
  br i1 %1488, label %1489, label %1541

1489:                                             ; preds = %1485
  %1490 = load i32, ptr %93, align 4, !tbaa !5
  %1491 = add nsw i32 %1490, 1
  store i32 %1491, ptr %94, align 4, !tbaa !5
  %1492 = load i32, ptr %94, align 4, !tbaa !5
  %1493 = load i32, ptr %78, align 4, !tbaa !5
  %1494 = srem i32 %1492, %1493
  %1495 = icmp ne i32 0, %1494
  br i1 %1495, label %1496, label %1517

1496:                                             ; preds = %1489
  %1497 = call i32 @pthread_rwlock_rdlock(ptr noundef %82) #5
  %1498 = icmp eq i32 0, %1497
  br i1 %1498, label %1499, label %1500

1499:                                             ; preds = %1496
  br label %1501

1500:                                             ; preds = %1496
  call void @__assert_fail(ptr noundef @.str.22, ptr noundef @.str.4, i32 noundef 178, ptr noundef @__PRETTY_FUNCTION__.main) #9
  unreachable

1501:                                             ; preds = %1499
  %1502 = call i64 @libxsmm_timer_tick()
  store i64 %1502, ptr %95, align 8, !tbaa !13
  %1503 = load i64, ptr %95, align 8, !tbaa !13
  %1504 = load i32, ptr %9, align 4, !tbaa !5
  %1505 = sext i32 %1504 to i64
  %1506 = call i64 @work(i64 noundef %1503, i64 noundef %1505)
  store i64 %1506, ptr %96, align 8, !tbaa !13
  %1507 = call i32 @pthread_rwlock_unlock(ptr noundef %82) #5
  %1508 = icmp eq i32 0, %1507
  br i1 %1508, label %1509, label %1510

1509:                                             ; preds = %1501
  br label %1511

1510:                                             ; preds = %1501
  call void @__assert_fail(ptr noundef @.str.23, ptr noundef @.str.4, i32 noundef 178, ptr noundef @__PRETTY_FUNCTION__.main) #9
  unreachable

1511:                                             ; preds = %1509
  %1512 = load i64, ptr %95, align 8, !tbaa !13
  %1513 = load i64, ptr %96, align 8, !tbaa !13
  %1514 = call i64 @libxsmm_timer_ncycles(i64 noundef %1512, i64 noundef %1513)
  %1515 = load i64, ptr %97, align 8, !tbaa !13
  %1516 = add i64 %1515, %1514
  store i64 %1516, ptr %97, align 8, !tbaa !13
  br label %1538

1517:                                             ; preds = %1489
  %1518 = call i32 @pthread_rwlock_wrlock(ptr noundef %82) #5
  %1519 = icmp eq i32 0, %1518
  br i1 %1519, label %1520, label %1521

1520:                                             ; preds = %1517
  br label %1522

1521:                                             ; preds = %1517
  call void @__assert_fail(ptr noundef @.str.24, ptr noundef @.str.4, i32 noundef 178, ptr noundef @__PRETTY_FUNCTION__.main) #9
  unreachable

1522:                                             ; preds = %1520
  %1523 = call i64 @libxsmm_timer_tick()
  store i64 %1523, ptr %95, align 8, !tbaa !13
  %1524 = load i64, ptr %95, align 8, !tbaa !13
  %1525 = load i32, ptr %10, align 4, !tbaa !5
  %1526 = sext i32 %1525 to i64
  %1527 = call i64 @work(i64 noundef %1524, i64 noundef %1526)
  store i64 %1527, ptr %96, align 8, !tbaa !13
  %1528 = call i32 @pthread_rwlock_unlock(ptr noundef %82) #5
  %1529 = icmp eq i32 0, %1528
  br i1 %1529, label %1530, label %1531

1530:                                             ; preds = %1522
  br label %1532

1531:                                             ; preds = %1522
  call void @__assert_fail(ptr noundef @.str.23, ptr noundef @.str.4, i32 noundef 178, ptr noundef @__PRETTY_FUNCTION__.main) #9
  unreachable

1532:                                             ; preds = %1530
  %1533 = load i64, ptr %95, align 8, !tbaa !13
  %1534 = load i64, ptr %96, align 8, !tbaa !13
  %1535 = call i64 @libxsmm_timer_ncycles(i64 noundef %1533, i64 noundef %1534)
  %1536 = load i64, ptr %97, align 8, !tbaa !13
  %1537 = add i64 %1536, %1535
  store i64 %1537, ptr %97, align 8, !tbaa !13
  br label %1538

1538:                                             ; preds = %1532, %1511
  br label %1539

1539:                                             ; preds = %1538
  %1540 = load i32, ptr %94, align 4, !tbaa !5
  store i32 %1540, ptr %93, align 4, !tbaa !5
  br label %1485, !llvm.loop !54

1541:                                             ; preds = %1485
  %1542 = load i64, ptr %98, align 8, !tbaa !13
  %1543 = call i64 @libxsmm_timer_tick()
  %1544 = call i64 @libxsmm_timer_ncycles(i64 noundef %1542, i64 noundef %1543)
  store i64 %1544, ptr %95, align 8, !tbaa !13
  %1545 = load i64, ptr %95, align 8, !tbaa !13
  %1546 = load i64, ptr %97, align 8, !tbaa !13
  %1547 = sub i64 %1545, %1546
  %1548 = load i64, ptr %91, align 8, !tbaa !13
  %1549 = add i64 %1548, %1547
  store i64 %1549, ptr %91, align 8, !tbaa !13
  call void @llvm.lifetime.end.p0(i64 8, ptr %98) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %97) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %96) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %95) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %94) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %93) #5
  %1550 = load i64, ptr %91, align 8, !tbaa !13
  %1551 = call double @libxsmm_timer_duration(i64 noundef 0, i64 noundef %1550)
  store double %1551, ptr %92, align 8, !tbaa !11
  %1552 = load double, ptr %92, align 8, !tbaa !11
  %1553 = fcmp olt double 0.000000e+00, %1552
  br i1 %1553, label %1554, label %1572

1554:                                             ; preds = %1541
  call void @llvm.lifetime.start.p0(i64 8, ptr %99) #5
  %1555 = load i32, ptr %79, align 4, !tbaa !5
  %1556 = sitofp i32 %1555 to double
  %1557 = fdiv double 1.000000e+00, %1556
  store double %1557, ptr %99, align 8, !tbaa !11
  %1558 = load double, ptr %92, align 8, !tbaa !11
  %1559 = load double, ptr %99, align 8, !tbaa !11
  %1560 = fmul double %1558, %1559
  %1561 = fmul double %1560, 1.000000e+06
  %1562 = load i32, ptr %79, align 4, !tbaa !5
  %1563 = sitofp i32 %1562 to double
  %1564 = load double, ptr %92, align 8, !tbaa !11
  %1565 = fmul double 1.000000e+03, %1564
  %1566 = fdiv double %1563, %1565
  %1567 = load i64, ptr %91, align 8, !tbaa !13
  %1568 = uitofp i64 %1567 to double
  %1569 = load double, ptr %99, align 8, !tbaa !11
  %1570 = fmul double %1568, %1569
  %1571 = call i32 (ptr, ...) @printf(ptr noundef @.str.11, double noundef %1561, double noundef %1566, double noundef %1570)
  call void @llvm.lifetime.end.p0(i64 8, ptr %99) #5
  br label %1572

1572:                                             ; preds = %1554, %1541
  call void @llvm.lifetime.end.p0(i64 8, ptr %92) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %91) #5
  br label %1573

1573:                                             ; preds = %1572
  br label %1574

1574:                                             ; preds = %1573
  %1575 = call i32 @pthread_rwlock_destroy(ptr noundef %82) #5
  %1576 = icmp eq i32 0, %1575
  br i1 %1576, label %1577, label %1578

1577:                                             ; preds = %1574
  br label %1579

1578:                                             ; preds = %1574
  call void @__assert_fail(ptr noundef @.str.25, ptr noundef @.str.4, i32 noundef 178, ptr noundef @__PRETTY_FUNCTION__.main) #9
  unreachable

1579:                                             ; preds = %1577
  call void @llvm.lifetime.end.p0(i64 56, ptr %82) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %81) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %80) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %79) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %78) #5
  br label %1580

1580:                                             ; preds = %1579
  br label %1581

1581:                                             ; preds = %1580
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #5
  ret i32 0
}

; Function Attrs: inlinehint nounwind willreturn memory(read) uwtable
declare i32 @atoi(ptr noundef nonnull) #3

declare void @libxsmm_init() #2

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

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #4

; Function Attrs: nounwind
declare void @llvm.x86.sse2.pause() #5

; Function Attrs: nounwind
declare i32 @sched_yield() #6

; Function Attrs: inlinehint nounwind uwtable
declare hidden i64 @libxsmm_timer_ncycles(i64 noundef, i64 noundef) #7

declare double @libxsmm_timer_duration(i64 noundef, i64 noundef) #2

; Function Attrs: nounwind
declare i32 @pthread_mutexattr_init(ptr noundef) #6

; Function Attrs: nounwind
declare i32 @pthread_mutexattr_settype(ptr noundef, i32 noundef) #6

; Function Attrs: nounwind
declare i32 @pthread_mutex_init(ptr noundef, ptr noundef) #6

; Function Attrs: nounwind
declare i32 @pthread_mutexattr_destroy(ptr noundef) #6

; Function Attrs: nounwind
declare i32 @pthread_mutex_lock(ptr noundef) #6

; Function Attrs: nounwind
declare i32 @pthread_mutex_unlock(ptr noundef) #6

; Function Attrs: nounwind
declare i32 @pthread_mutex_destroy(ptr noundef) #6

; Function Attrs: nounwind
declare i32 @pthread_rwlockattr_init(ptr noundef) #6

; Function Attrs: nounwind
declare i32 @pthread_rwlock_init(ptr noundef, ptr noundef) #6

; Function Attrs: nounwind
declare i32 @pthread_rwlockattr_destroy(ptr noundef) #6

; Function Attrs: nounwind
declare i32 @pthread_rwlock_rdlock(ptr noundef) #6

; Function Attrs: nounwind
declare i32 @pthread_rwlock_unlock(ptr noundef) #6

; Function Attrs: nounwind
declare i32 @pthread_rwlock_wrlock(ptr noundef) #6

; Function Attrs: nounwind
declare i32 @pthread_rwlock_destroy(ptr noundef) #6

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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "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 = { inlinehint nounwind willreturn memory(read) 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 #4 = { noreturn 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" }
attributes #5 = { nounwind }
attributes #6 = { 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" }
attributes #7 = { inlinehint 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 #8 = { nounwind willreturn memory(read) }
attributes #9 = { noreturn nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"double", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"long long", !7, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
!17 = distinct !{!17, !16}
!18 = distinct !{!18, !16}
!19 = distinct !{!19, !16}
!20 = distinct !{!20, !16}
!21 = distinct !{!21, !16}
!22 = distinct !{!22, !16}
!23 = distinct !{!23, !16}
!24 = distinct !{!24, !16}
!25 = distinct !{!25, !16}
!26 = distinct !{!26, !16}
!27 = distinct !{!27, !16}
!28 = distinct !{!28, !16}
!29 = distinct !{!29, !16}
!30 = distinct !{!30, !16}
!31 = distinct !{!31, !16}
!32 = distinct !{!32, !16}
!33 = distinct !{!33, !16}
!34 = distinct !{!34, !16}
!35 = distinct !{!35, !16}
!36 = distinct !{!36, !16}
!37 = distinct !{!37, !16}
!38 = distinct !{!38, !16}
!39 = distinct !{!39, !16}
!40 = distinct !{!40, !16}
!41 = distinct !{!41, !16}
!42 = distinct !{!42, !16}
!43 = distinct !{!43, !16}
!44 = distinct !{!44, !16}
!45 = distinct !{!45, !16}
!46 = distinct !{!46, !16}
!47 = distinct !{!47, !16}
!48 = distinct !{!48, !16}
!49 = distinct !{!49, !16}
!50 = distinct !{!50, !16}
!51 = distinct !{!51, !16}
!52 = distinct !{!52, !16}
!53 = distinct !{!53, !16}
!54 = distinct !{!54, !16}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%union.pthread_mutexattr_t = type { i32 }
%union.pthread_mutex_t = type { %struct.__pthread_mutex_s }
%struct.__pthread_mutex_s = type { i32, i32, i32, i32, i32, i16, i16, %struct.__pthread_internal_list }
%struct.__pthread_internal_list = type { ptr, ptr }
%union.pthread_rwlockattr_t = type { i64 }
%union.pthread_rwlock_t = type { %struct.__pthread_rwlock_arch_t }
%struct.__pthread_rwlock_arch_t = type { i32, i32, i32, i32, i32, i32, i32, i32, i8, [7 x i8], i64, i32 }

@.str = external hidden unnamed_addr constant [39 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [84 x i8], align 1
@__PRETTY_FUNCTION__.main = external hidden unnamed_addr constant [23 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [101 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [53 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [53 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [53 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [38 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [38 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [35 x i8], align 1

; Function Attrs: nounwind uwtable
declare dso_local i64 @work(i64 noundef, i64 noundef) local_unnamed_addr #0

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

declare i64 @libxsmm_timer_tick() local_unnamed_addr #2

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

; Function Attrs: nounwind uwtable
define dso_local noundef i32 @main(i32 noundef %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 {
  %3 = alloca i32, align 4
  %4 = alloca %union.pthread_mutexattr_t, align 4
  %5 = alloca %union.pthread_mutex_t, align 8
  %6 = alloca %union.pthread_rwlockattr_t, align 8
  %7 = alloca %union.pthread_rwlock_t, align 8
  %8 = icmp sgt i32 %0, 1
  br i1 %8, label %9, label %.thread659.thread

9:                                                ; preds = %2
  %10 = getelementptr inbounds i8, ptr %1, i64 8
  %11 = load ptr, ptr %10, align 8, !tbaa !5
  %12 = tail call i32 @atoi(ptr nocapture noundef %11) #10
  %spec.select = tail call i32 @llvm.smax.i32(i32 %12, i32 1)
  %.not441 = icmp eq i32 %0, 2
  br i1 %.not441, label %.thread659.thread, label %13

13:                                               ; preds = %9
  %14 = getelementptr inbounds i8, ptr %1, i64 16
  %15 = load ptr, ptr %14, align 8, !tbaa !5
  %16 = tail call i32 @atoi(ptr nocapture noundef %15) #10
  %17 = icmp sgt i32 %16, 0
  %spec.select671 = tail call i32 @llvm.umin.i32(i32 %16, i32 100)
  %18 = select i1 %17, i32 %spec.select671, i32 0
  %19 = icmp ugt i32 %0, 3
  br i1 %19, label %.thread426, label %.thread659.thread

.thread426:                                       ; preds = %13
  %20 = getelementptr inbounds i8, ptr %1, i64 24
  %21 = load ptr, ptr %20, align 8, !tbaa !5
  %22 = tail call i32 @atoi(ptr nocapture noundef %21) #10
  %23 = icmp slt i32 %22, 1
  %.mux406 = select i1 %23, i32 1, i32 100
  br i1 %23, label %28, label %24

24:                                               ; preds = %.thread426
  %25 = getelementptr inbounds i8, ptr %1, i64 24
  %26 = load ptr, ptr %25, align 8, !tbaa !5
  %27 = tail call i32 @atoi(ptr nocapture noundef %26) #10
  br label %28

28:                                               ; preds = %.thread426, %24
  %29 = phi i32 [ %.mux406, %.thread426 ], [ %27, %24 ]
  %.not673 = icmp eq i32 %0, 4
  br i1 %.not673, label %.thread659, label %30

30:                                               ; preds = %28
  %31 = getelementptr inbounds i8, ptr %1, i64 32
  %32 = load ptr, ptr %31, align 8, !tbaa !5
  %33 = tail call i32 @atoi(ptr nocapture noundef %32) #10
  %34 = icmp slt i32 %33, 1
  br i1 %34, label %44, label %36

.thread659:                                       ; preds = %28
  %35 = icmp slt i32 %29, 1
  br i1 %35, label %.thread436, label %.thread659.thread

36:                                               ; preds = %30
  %37 = getelementptr inbounds i8, ptr %1, i64 32
  %38 = load ptr, ptr %37, align 8, !tbaa !5
  %39 = tail call i32 @atoi(ptr nocapture noundef %38) #10
  br label %44

.thread659.thread:                                ; preds = %2, %9, %13, %.thread659
  %40 = phi i32 [ %spec.select, %.thread659 ], [ 1, %2 ], [ %spec.select, %9 ], [ %spec.select, %13 ]
  %41 = phi i32 [ %18, %.thread659 ], [ 5, %2 ], [ 5, %9 ], [ %18, %13 ]
  %42 = phi i32 [ %29, %.thread659 ], [ 100, %2 ], [ 100, %9 ], [ 100, %13 ]
  %43 = mul nuw nsw i32 %42, 10
  br label %.thread436

44:                                               ; preds = %36, %30
  %45 = phi i32 [ 1, %30 ], [ %39, %36 ]
  %46 = icmp ult i32 %0, 6
  br i1 %46, label %.thread437, label %47

47:                                               ; preds = %44
  %48 = getelementptr inbounds i8, ptr %1, i64 40
  %49 = load ptr, ptr %48, align 8, !tbaa !5
  %50 = tail call i32 @atoi(ptr nocapture noundef %49) #10
  %spec.select672 = tail call i32 @llvm.smax.i32(i32 %50, i32 1)
  %.not442 = icmp eq i32 %0, 6
  br i1 %.not442, label %.thread437, label %51

51:                                               ; preds = %47
  %52 = getelementptr inbounds i8, ptr %1, i64 48
  %53 = load ptr, ptr %52, align 8, !tbaa !5
  %54 = tail call i32 @atoi(ptr nocapture noundef %53) #10
  br label %.thread436

.thread436:                                       ; preds = %.thread659.thread, %.thread659, %51
  %55 = phi i1 [ false, %51 ], [ true, %.thread659 ], [ true, %.thread659.thread ]
  %56 = phi i32 [ %45, %51 ], [ 1, %.thread659 ], [ %43, %.thread659.thread ]
  %57 = phi i32 [ %29, %51 ], [ %29, %.thread659 ], [ %42, %.thread659.thread ]
  %58 = phi i32 [ %18, %51 ], [ %18, %.thread659 ], [ %41, %.thread659.thread ]
  %59 = phi i32 [ %spec.select, %51 ], [ %spec.select, %.thread659 ], [ %40, %.thread659.thread ]
  %60 = phi i32 [ %spec.select672, %51 ], [ 2000000, %.thread659 ], [ 2000000, %.thread659.thread ]
  %61 = phi i32 [ %54, %51 ], [ 10000, %.thread659 ], [ 10000, %.thread659.thread ]
  %62 = icmp slt i32 %61, 1
  %brmerge411 = or i1 %55, %62
  %.mux412 = select i1 %62, i32 1, i32 10000
  br i1 %brmerge411, label %.thread437, label %63

63:                                               ; preds = %.thread436
  %64 = getelementptr inbounds i8, ptr %1, i64 48
  %65 = load ptr, ptr %64, align 8, !tbaa !5
  %66 = tail call i32 @atoi(ptr nocapture noundef %65) #10
  br label %.thread437

.thread437:                                       ; preds = %44, %47, %.thread436, %63
  %67 = phi i32 [ %56, %.thread436 ], [ %56, %63 ], [ %45, %47 ], [ %45, %44 ]
  %68 = phi i32 [ %57, %.thread436 ], [ %57, %63 ], [ %29, %47 ], [ %29, %44 ]
  %69 = phi i32 [ %58, %.thread436 ], [ %58, %63 ], [ %18, %47 ], [ %18, %44 ]
  %70 = phi i32 [ %59, %.thread436 ], [ %59, %63 ], [ %spec.select, %47 ], [ %spec.select, %44 ]
  %71 = phi i32 [ %60, %.thread436 ], [ %60, %63 ], [ %spec.select672, %47 ], [ 2000000, %44 ]
  %72 = phi i32 [ %.mux412, %.thread436 ], [ %66, %63 ], [ 10000, %47 ], [ 10000, %44 ]
  tail call void @libxsmm_init() #6
  %73 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, ptr noundef nonnull @.str.1, ptr noundef nonnull @.str.2)
  %.not674 = icmp eq i32 %69, 0
  br i1 %.not674, label %76, label %74

74:                                               ; preds = %.thread437
  %.rhs.trunc = trunc nsw i32 %69 to i8
  %75 = udiv i8 100, %.rhs.trunc
  %.zext = zext nneg i8 %75 to i32
  br label %78

76:                                               ; preds = %.thread437
  %77 = add nsw i32 %72, 1
  br label %78

78:                                               ; preds = %76, %74
  %79 = phi i32 [ %.zext, %74 ], [ %77, %76 ]
  %80 = mul nsw i32 %72, %70
  %81 = uitofp nneg i32 %71 to double
  %82 = fdiv double 1.000000e+00, %81
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #6
  %83 = icmp sgt i32 %80, 0
  br i1 %83, label %85, label %84

84:                                               ; preds = %78
  tail call void @__assert_fail(ptr noundef nonnull @.str.3, ptr noundef nonnull @.str.4, i32 noundef 170, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #11
  unreachable

85:                                               ; preds = %78
  %86 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.5, ptr noundef nonnull @.str.1, ptr noundef nonnull @.str.2, i32 noundef %70, i32 noundef %69, i32 noundef %68, i32 noundef %67, i32 noundef %71, i32 noundef %72)
  store volatile i32 0, ptr %3, align 4, !tbaa !9
  %87 = lshr i32 %71, 2
  %88 = icmp ugt i32 %71, 3
  br i1 %88, label %.lr.ph548, label %._crit_edge549

.lr.ph548:                                        ; preds = %85, %161
  %.0546 = phi i64 [ %164, %161 ], [ 0, %85 ]
  %.0291545 = phi i32 [ %165, %161 ], [ 0, %85 ]
  %89 = call i64 @libxsmm_timer_tick() #6
  %90 = atomicrmw or ptr %3, i32 1 seq_cst, align 4
  %.not382525 = icmp eq i32 %90, 0
  br i1 %.not382525, label %._crit_edge526, label %.preheader455

.preheader455:                                    ; preds = %.lr.ph548, %.preheader455.backedge
  %.0293 = phi i32 [ %.0293.be, %.preheader455.backedge ], [ 1, %.lr.ph548 ]
  %91 = icmp sgt i32 %.0293, 0
  br i1 %91, label %.lr.ph.preheader, label %._crit_edge.thread

.lr.ph.preheader:                                 ; preds = %.preheader455
  %xtraiter = and i32 %.0293, 7
  %92 = icmp ult i32 %.0293, 8
  br i1 %92, label %._crit_edge.unr-lcssa, label %.lr.ph.preheader.new

.lr.ph.preheader.new:                             ; preds = %.lr.ph.preheader
  %unroll_iter = and i32 %.0293, 2147483640
  br label %.lr.ph

.lr.ph:                                           ; preds = %.lr.ph, %.lr.ph.preheader.new
  %niter = phi i32 [ 0, %.lr.ph.preheader.new ], [ %niter.next.7, %.lr.ph ]
  call void @llvm.x86.sse2.pause()
  call void @llvm.x86.sse2.pause()
  call void @llvm.x86.sse2.pause()
  call void @llvm.x86.sse2.pause()
  call void @llvm.x86.sse2.pause()
  call void @llvm.x86.sse2.pause()
  call void @llvm.x86.sse2.pause()
  call void @llvm.x86.sse2.pause()
  %niter.next.7 = add i32 %niter, 8
  %niter.ncmp.7 = icmp eq i32 %niter.next.7, %unroll_iter
  br i1 %niter.ncmp.7, label %._crit_edge.unr-lcssa, label %.lr.ph, !llvm.loop !11

._crit_edge.unr-lcssa:                            ; preds = %.lr.ph, %.lr.ph.preheader
  %lcmp.mod.not = icmp eq i32 %xtraiter, 0
  br i1 %lcmp.mod.not, label %._crit_edge, label %.lr.ph.epil

.lr.ph.epil:                                      ; preds = %._crit_edge.unr-lcssa, %.lr.ph.epil
  %epil.iter = phi i32 [ %epil.iter.next, %.lr.ph.epil ], [ 0, %._crit_edge.unr-lcssa ]
  call void @llvm.x86.sse2.pause()
  %epil.iter.next = add i32 %epil.iter, 1
  %epil.iter.cmp.not = icmp eq i32 %epil.iter.next, %xtraiter
  br i1 %epil.iter.cmp.not, label %._crit_edge, label %.lr.ph.epil, !llvm.loop !13

._crit_edge:                                      ; preds = %.lr.ph.epil, %._crit_edge.unr-lcssa
  %93 = icmp slt i32 %.0293, 4096
  br i1 %93, label %._crit_edge.thread, label %95

._crit_edge.thread:                               ; preds = %.preheader455, %._crit_edge
  %94 = shl i32 %.0293, 1
  br label %97

95:                                               ; preds = %._crit_edge
  %96 = call i32 @sched_yield() #6
  br label %97

97:                                               ; preds = %95, %._crit_edge.thread
  %.1294 = phi i32 [ %94, %._crit_edge.thread ], [ 4096, %95 ]
  %98 = load volatile i32, ptr %3, align 4, !tbaa !9
  %99 = and i32 %98, 1
  %.not397 = icmp eq i32 %99, 0
  br i1 %.not397, label %100, label %.preheader455.backedge

.preheader455.backedge:                           ; preds = %97, %100
  %.0293.be = phi i32 [ %.1294, %97 ], [ 1, %100 ]
  br label %.preheader455, !llvm.loop !15

100:                                              ; preds = %97
  %101 = atomicrmw or ptr %3, i32 1 seq_cst, align 4
  %.not382 = icmp eq i32 %101, 0
  br i1 %.not382, label %._crit_edge526, label %.preheader455.backedge

._crit_edge526:                                   ; preds = %100, %.lr.ph548
  %102 = load volatile i32, ptr %3, align 4, !tbaa !9
  %.not383 = icmp eq i32 %102, 0
  br i1 %.not383, label %103, label %104

103:                                              ; preds = %._crit_edge526
  call void @__assert_fail(ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.4, i32 noundef 170, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #11
  unreachable

104:                                              ; preds = %._crit_edge526
  %105 = load volatile i32, ptr %3, align 4, !tbaa !9
  %.not384 = icmp eq i32 %105, 0
  br i1 %.not384, label %106, label %107

106:                                              ; preds = %104
  call void @__assert_fail(ptr noundef nonnull @.str.8, ptr noundef nonnull @.str.4, i32 noundef 170, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #11
  unreachable

107:                                              ; preds = %104
  store atomic i32 0, ptr %3 release, align 4
  %108 = atomicrmw or ptr %3, i32 1 seq_cst, align 4
  %.not385531 = icmp eq i32 %108, 0
  br i1 %.not385531, label %._crit_edge532, label %.preheader454

.preheader454:                                    ; preds = %107, %.preheader454.backedge
  %.0297 = phi i32 [ %.0297.be, %.preheader454.backedge ], [ 1, %107 ]
  %109 = icmp sgt i32 %.0297, 0
  br i1 %109, label %.lr.ph529.preheader, label %._crit_edge530.thread

.lr.ph529.preheader:                              ; preds = %.preheader454
  %xtraiter685 = and i32 %.0297, 7
  %110 = icmp ult i32 %.0297, 8
  br i1 %110, label %._crit_edge530.unr-lcssa, label %.lr.ph529.preheader.new

.lr.ph529.preheader.new:                          ; preds = %.lr.ph529.preheader
  %unroll_iter688 = and i32 %.0297, 2147483640
  br label %.lr.ph529

.lr.ph529:                                        ; preds = %.lr.ph529, %.lr.ph529.preheader.new
  %niter689 = phi i32 [ 0, %.lr.ph529.preheader.new ], [ %niter689.next.7, %.lr.ph529 ]
  call void @llvm.x86.sse2.pause()
  call void @llvm.x86.sse2.pause()
  call void @llvm.x86.sse2.pause()
  call void @llvm.x86.sse2.pause()
  call void @llvm.x86.sse2.pause()
  call void @llvm.x86.sse2.pause()
  call void @llvm.x86.sse2.pause()
  call void @llvm.x86.sse2.pause()
  %niter689.next.7 = add i32 %niter689, 8
  %niter689.ncmp.7 = icmp eq i32 %niter689.next.7, %unroll_iter688
  br i1 %niter689.ncmp.7, label %._crit_edge530.unr-lcssa, label %.lr.ph529, !llvm.loop !16

._crit_edge530.unr-lcssa:                         ; preds = %.lr.ph529, %.lr.ph529.preheader
  %lcmp.mod687.not = icmp eq i32 %xtraiter685, 0
  br i1 %lcmp.mod687.not, label %._crit_edge530, label %.lr.ph529.epil

.lr.ph529.epil:                                   ; preds = %._crit_edge530.unr-lcssa, %.lr.ph529.epil
  %epil.iter686 = phi i32 [ %epil.iter686.next, %.lr.ph529.epil ], [ 0, %._crit_edge530.unr-lcssa ]
  call void @llvm.x86.sse2.pause()
  %epil.iter686.next = add i32 %epil.iter686, 1
  %epil.iter686.cmp.not = icmp eq i32 %epil.iter686.next, %xtraiter685
  br i1 %epil.iter686.cmp.not, label %._crit_edge530, label %.lr.ph529.epil, !llvm.loop !17

._crit_edge530:                                   ; preds = %.lr.ph529.epil, %._crit_edge530.unr-lcssa
  %111 = icmp slt i32 %.0297, 4096
  br i1 %111, label %._crit_edge530.thread, label %113

._crit_edge530.thread:                            ; preds = %.preheader454, %._crit_edge530
  %112 = shl i32 %.0297, 1
  br label %115

113:                                              ; preds = %._crit_edge530
  %114 = call i32 @sched_yield() #6
  br label %115

115:                                              ; preds = %113, %._crit_edge530.thread
  %.1298 = phi i32 [ %112, %._crit_edge530.thread ], [ 4096, %113 ]
  %116 = load volatile i32, ptr %3, align 4, !tbaa !9
  %117 = and i32 %116, 1
  %.not396 = icmp eq i32 %117, 0
  br i1 %.not396, label %118, label %.preheader454.backedge

.preheader454.backedge:                           ; preds = %115, %118
  %.0297.be = phi i32 [ %.1298, %115 ], [ 1, %118 ]
  br label %.preheader454, !llvm.loop !18

118:                                              ; preds = %115
  %119 = atomicrmw or ptr %3, i32 1 seq_cst, align 4
  %.not385 = icmp eq i32 %119, 0
  br i1 %.not385, label %._crit_edge532, label %.preheader454.backedge

._crit_edge532:                                   ; preds = %118, %107
  %120 = load volatile i32, ptr %3, align 4, !tbaa !9
  %.not386 = icmp eq i32 %120, 0
  br i1 %.not386, label %121, label %122

121:                                              ; preds = %._crit_edge532
  call void @__assert_fail(ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.4, i32 noundef 170, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #11
  unreachable

122:                                              ; preds = %._crit_edge532
  %123 = load volatile i32, ptr %3, align 4, !tbaa !9
  %.not387 = icmp eq i32 %123, 0
  br i1 %.not387, label %124, label %125

124:                                              ; preds = %122
  call void @__assert_fail(ptr noundef nonnull @.str.8, ptr noundef nonnull @.str.4, i32 noundef 170, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #11
  unreachable

125:                                              ; preds = %122
  store atomic i32 0, ptr %3 release, align 4
  %126 = atomicrmw or ptr %3, i32 1 seq_cst, align 4
  %.not388537 = icmp eq i32 %126, 0
  br i1 %.not388537, label %._crit_edge538, label %.preheader453

.preheader453:                                    ; preds = %125, %.preheader453.backedge
  %.0302 = phi i32 [ %.0302.be, %.preheader453.backedge ], [ 1, %125 ]
  %127 = icmp sgt i32 %.0302, 0
  br i1 %127, label %.lr.ph535.preheader, label %._crit_edge536.thread

.lr.ph535.preheader:                              ; preds = %.preheader453
  %xtraiter690 = and i32 %.0302, 7
  %128 = icmp ult i32 %.0302, 8
  br i1 %128, label %._crit_edge536.unr-lcssa, label %.lr.ph535.preheader.new

.lr.ph535.preheader.new:                          ; preds = %.lr.ph535.preheader
  %unroll_iter693 = and i32 %.0302, 2147483640
  br label %.lr.ph535

.lr.ph535:                                        ; preds = %.lr.ph535, %.lr.ph535.preheader.new
  %niter694 = phi i32 [ 0, %.lr.ph535.preheader.new ], [ %niter694.next.7, %.lr.ph535 ]
  call void @llvm.x86.sse2.pause()
  call void @llvm.x86.sse2.pause()
  call void @llvm.x86.sse2.pause()
  call void @llvm.x86.sse2.pause()
  call void @llvm.x86.sse2.pause()
  call void @llvm.x86.sse2.pause()
  call void @llvm.x86.sse2.pause()
  call void @llvm.x86.sse2.pause()
  %niter694.next.7 = add i32 %niter694, 8
  %niter694.ncmp.7 = icmp eq i32 %niter694.next.7, %unroll_iter693
  br i1 %niter694.ncmp.7, label %._crit_edge536.unr-lcssa, label %.lr.ph535, !llvm.loop !19

._crit_edge536.unr-lcssa:                         ; preds = %.lr.ph535, %.lr.ph535.preheader
  %lcmp.mod692.not = icmp eq i32 %xtraiter690, 0
  br i1 %lcmp.mod692.not, label %._crit_edge536, label %.lr.ph535.epil

.lr.ph535.epil:                                   ; preds = %._crit_edge536.unr-lcssa, %.lr.ph535.epil
  %epil.iter691 = phi i32 [ %epil.iter691.next, %.lr.ph535.epil ], [ 0, %._crit_edge536.unr-lcssa ]
  call void @llvm.x86.sse2.pause()
  %epil.iter691.next = add i32 %epil.iter691, 1
  %epil.iter691.cmp.not = icmp eq i32 %epil.iter691.next, %xtraiter690
  br i1 %epil.iter691.cmp.not, label %._crit_edge536, label %.lr.ph535.epil, !llvm.loop !20

._crit_edge536:                                   ; preds = %.lr.ph535.epil, %._crit_edge536.unr-lcssa
  %129 = icmp slt i32 %.0302, 4096
  br i1 %129, label %._crit_edge536.thread, label %131

._crit_edge536.thread:                            ; preds = %.preheader453, %._crit_edge536
  %130 = shl i32 %.0302, 1
  br label %133

131:                                              ; preds = %._crit_edge536
  %132 = call i32 @sched_yield() #6
  br label %133

133:                                              ; preds = %131, %._crit_edge536.thread
  %.1303 = phi i32 [ %130, %._crit_edge536.thread ], [ 4096, %131 ]
  %134 = load volatile i32, ptr %3, align 4, !tbaa !9
  %135 = and i32 %134, 1
  %.not395 = icmp eq i32 %135, 0
  br i1 %.not395, label %136, label %.preheader453.backedge

.preheader453.backedge:                           ; preds = %133, %136
  %.0302.be = phi i32 [ %.1303, %133 ], [ 1, %136 ]
  br label %.preheader453, !llvm.loop !21

136:                                              ; preds = %133
  %137 = atomicrmw or ptr %3, i32 1 seq_cst, align 4
  %.not388 = icmp eq i32 %137, 0
  br i1 %.not388, label %._crit_edge538, label %.preheader453.backedge

._crit_edge538:                                   ; preds = %136, %125
  %138 = load volatile i32, ptr %3, align 4, !tbaa !9
  %.not389 = icmp eq i32 %138, 0
  br i1 %.not389, label %139, label %140

139:                                              ; preds = %._crit_edge538
  call void @__assert_fail(ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.4, i32 noundef 170, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #11
  unreachable

140:                                              ; preds = %._crit_edge538
  %141 = load volatile i32, ptr %3, align 4, !tbaa !9
  %.not390 = icmp eq i32 %141, 0
  br i1 %.not390, label %142, label %143

142:                                              ; preds = %140
  call void @__assert_fail(ptr noundef nonnull @.str.8, ptr noundef nonnull @.str.4, i32 noundef 170, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #11
  unreachable

143:                                              ; preds = %140
  store atomic i32 0, ptr %3 release, align 4
  %144 = atomicrmw or ptr %3, i32 1 seq_cst, align 4
  %.not391543 = icmp eq i32 %144, 0
  br i1 %.not391543, label %._crit_edge544, label %.preheader452

.preheader452:                                    ; preds = %143, %.preheader452.backedge
  %.0307 = phi i32 [ %.0307.be, %.preheader452.backedge ], [ 1, %143 ]
  %145 = icmp sgt i32 %.0307, 0
  br i1 %145, label %.lr.ph541.preheader, label %._crit_edge542.thread

.lr.ph541.preheader:                              ; preds = %.preheader452
  %xtraiter695 = and i32 %.0307, 7
  %146 = icmp ult i32 %.0307, 8
  br i1 %146, label %._crit_edge542.unr-lcssa, label %.lr.ph541.preheader.new

.lr.ph541.preheader.new:                          ; preds = %.lr.ph541.preheader
  %unroll_iter698 = and i32 %.0307, 2147483640
  br label %.lr.ph541

.lr.ph541:                                        ; preds = %.lr.ph541, %.lr.ph541.preheader.new
  %niter699 = phi i32 [ 0, %.lr.ph541.preheader.new ], [ %niter699.next.7, %.lr.ph541 ]
  call void @llvm.x86.sse2.pause()
  call void @llvm.x86.sse2.pause()
  call void @llvm.x86.sse2.pause()
  call void @llvm.x86.sse2.pause()
  call void @llvm.x86.sse2.pause()
  call void @llvm.x86.sse2.pause()
  call void @llvm.x86.sse2.pause()
  call void @llvm.x86.sse2.pause()
  %niter699.next.7 = add i32 %niter699, 8
  %niter699.ncmp.7 = icmp eq i32 %niter699.next.7, %unroll_iter698
  br i1 %niter699.ncmp.7, label %._crit_edge542.unr-lcssa, label %.lr.ph541, !llvm.loop !22

._crit_edge542.unr-lcssa:                         ; preds = %.lr.ph541, %.lr.ph541.preheader
  %lcmp.mod697.not = icmp eq i32 %xtraiter695, 0
  br i1 %lcmp.mod697.not, label %._crit_edge542, label %.lr.ph541.epil

.lr.ph541.epil:                                   ; preds = %._crit_edge542.unr-lcssa, %.lr.ph541.epil
  %epil.iter696 = phi i32 [ %epil.iter696.next, %.lr.ph541.epil ], [ 0, %._crit_edge542.unr-lcssa ]
  call void @llvm.x86.sse2.pause()
  %epil.iter696.next = add i32 %epil.iter696, 1
  %epil.iter696.cmp.not = icmp eq i32 %epil.iter696.next, %xtraiter695
  br i1 %epil.iter696.cmp.not, label %._crit_edge542, label %.lr.ph541.epil, !llvm.loop !23

._crit_edge542:                                   ; preds = %.lr.ph541.epil, %._crit_edge542.unr-lcssa
  %147 = icmp slt i32 %.0307, 4096
  br i1 %147, label %._crit_edge542.thread, label %149

._crit_edge542.thread:                            ; preds = %.preheader452, %._crit_edge542
  %148 = shl i32 %.0307, 1
  br label %151

149:                                              ; preds = %._crit_edge542
  %150 = call i32 @sched_yield() #6
  br label %151

151:                                              ; preds = %149, %._crit_edge542.thread
  %.1308 = phi i32 [ %148, %._crit_edge542.thread ], [ 4096, %149 ]
  %152 = load volatile i32, ptr %3, align 4, !tbaa !9
  %153 = and i32 %152, 1
  %.not394 = icmp eq i32 %153, 0
  br i1 %.not394, label %154, label %.preheader452.backedge

.preheader452.backedge:                           ; preds = %151, %154
  %.0307.be = phi i32 [ %.1308, %151 ], [ 1, %154 ]
  br label %.preheader452, !llvm.loop !24

154:                                              ; preds = %151
  %155 = atomicrmw or ptr %3, i32 1 seq_cst, align 4
  %.not391 = icmp eq i32 %155, 0
  br i1 %.not391, label %._crit_edge544, label %.preheader452.backedge

._crit_edge544:                                   ; preds = %154, %143
  %156 = load volatile i32, ptr %3, align 4, !tbaa !9
  %.not392 = icmp eq i32 %156, 0
  br i1 %.not392, label %157, label %158

157:                                              ; preds = %._crit_edge544
  call void @__assert_fail(ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.4, i32 noundef 170, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #11
  unreachable

158:                                              ; preds = %._crit_edge544
  %159 = load volatile i32, ptr %3, align 4, !tbaa !9
  %.not393 = icmp eq i32 %159, 0
  br i1 %.not393, label %160, label %161

160:                                              ; preds = %158
  call void @__assert_fail(ptr noundef nonnull @.str.8, ptr noundef nonnull @.str.4, i32 noundef 170, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #11
  unreachable

161:                                              ; preds = %158
  store atomic i32 0, ptr %3 release, align 4
  %162 = call i64 @libxsmm_timer_tick() #6
  %163 = call i64 @libxsmm_timer_ncycles(i64 noundef %89, i64 noundef %162)
  %164 = add i64 %163, %.0546
  %165 = add nuw nsw i32 %.0291545, 1
  %exitcond641.not = icmp eq i32 %165, %87
  br i1 %exitcond641.not, label %._crit_edge549, label %.lr.ph548, !llvm.loop !25

._crit_edge549:                                   ; preds = %161, %85
  %.0.lcssa = phi i64 [ 0, %85 ], [ %164, %161 ]
  %166 = call double @libxsmm_timer_duration(i64 noundef 0, i64 noundef %.0.lcssa) #6
  %167 = fcmp ogt double %166, 0.000000e+00
  br i1 %167, label %168, label %176

168:                                              ; preds = %._crit_edge549
  %169 = fmul double %82, %166
  %170 = fmul double %169, 1.000000e+09
  %171 = fmul double %166, 1.000000e+06
  %172 = fdiv double %81, %171
  %173 = uitofp i64 %.0.lcssa to double
  %174 = fmul double %82, %173
  %175 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.9, double noundef %170, double noundef %172, double noundef %174)
  br label %176

176:                                              ; preds = %168, %._crit_edge549
  br i1 %88, label %.lr.ph578, label %._crit_edge579

.lr.ph578:                                        ; preds = %176, %249
  %.0310576 = phi i64 [ %252, %249 ], [ 0, %176 ]
  %.0311575 = phi i32 [ %253, %249 ], [ 0, %176 ]
  %177 = call i64 @libxsmm_timer_tick() #6
  %178 = atomicrmw or ptr %3, i32 1 seq_cst, align 4
  %.not366555 = icmp eq i32 %178, 0
  br i1 %.not366555, label %._crit_edge556, label %.preheader451

.preheader451:                                    ; preds = %.lr.ph578, %.preheader451.backedge
  %.0312 = phi i32 [ %.0312.be, %.preheader451.backedge ], [ 1, %.lr.ph578 ]
  %179 = icmp sgt i32 %.0312, 0
  br i1 %179, label %.lr.ph553.preheader, label %._crit_edge554.thread

.lr.ph553.preheader:                              ; preds = %.preheader451
  %xtraiter700 = and i32 %.0312, 7
  %180 = icmp ult i32 %.0312, 8
  br i1 %180, label %._crit_edge554.unr-lcssa, label %.lr.ph553.preheader.new

.lr.ph553.preheader.new:                          ; preds = %.lr.ph553.preheader
  %unroll_iter703 = and i32 %.0312, 2147483640
  br label %.lr.ph553

.lr.ph553:                                        ; preds = %.lr.ph553, %.lr.ph553.preheader.new
  %niter704 = phi i32 [ 0, %.lr.ph553.preheader.new ], [ %niter704.next.7, %.lr.ph553 ]
  call void @llvm.x86.sse2.pause()
  call void @llvm.x86.sse2.pause()
  call void @llvm.x86.sse2.pause()
  call void @llvm.x86.sse2.pause()
  call void @llvm.x86.sse2.pause()
  call void @llvm.x86.sse2.pause()
  call void @llvm.x86.sse2.pause()
  call void @llvm.x86.sse2.pause()
  %niter704.next.7 = add i32 %niter704, 8
  %niter704.ncmp.7 = icmp eq i32 %niter704.next.7, %unroll_iter703
  br i1 %niter704.ncmp.7, label %._crit_edge554.unr-lcssa, label %.lr.ph553, !llvm.loop !26

._crit_edge554.unr-lcssa:                         ; preds = %.lr.ph553, %.lr.ph553.preheader
  %lcmp.mod702.not = icmp eq i32 %xtraiter700, 0
  br i1 %lcmp.mod702.not, label %._crit_edge554, label %.lr.ph553.epil

.lr.ph553.epil:                                   ; preds = %._crit_edge554.unr-lcssa, %.lr.ph553.epil
  %epil.iter701 = phi i32 [ %epil.iter701.next, %.lr.ph553.epil ], [ 0, %._crit_edge554.unr-lcssa ]
  call void @llvm.x86.sse2.pause()
  %epil.iter701.next = add i32 %epil.iter701, 1
  %epil.iter701.cmp.not = icmp eq i32 %epil.iter701.next, %xtraiter700
  br i1 %epil.iter701.cmp.not, label %._crit_edge554, label %.lr.ph553.epil, !llvm.loop !27

._crit_edge554:                                   ; preds = %.lr.ph553.epil, %._crit_edge554.unr-lcssa
  %181 = icmp slt i32 %.0312, 4096
  br i1 %181, label %._crit_edge554.thread, label %183

._crit_edge554.thread:                            ; preds = %.preheader451, %._crit_edge554
  %182 = shl i32 %.0312, 1
  br label %185

183:                                              ; preds = %._crit_edge554
  %184 = call i32 @sched_yield() #6
  br label %185

185:                                              ; preds = %183, %._crit_edge554.thread
  %.1313 = phi i32 [ %182, %._crit_edge554.thread ], [ 4096, %183 ]
  %186 = load volatile i32, ptr %3, align 4, !tbaa !9
  %187 = and i32 %186, 1
  %.not381 = icmp eq i32 %187, 0
  br i1 %.not381, label %188, label %.preheader451.backedge

.preheader451.backedge:                           ; preds = %185, %188
  %.0312.be = phi i32 [ %.1313, %185 ], [ 1, %188 ]
  br label %.preheader451, !llvm.loop !28

188:                                              ; preds = %185
  %189 = atomicrmw or ptr %3, i32 1 seq_cst, align 4
  %.not366 = icmp eq i32 %189, 0
  br i1 %.not366, label %._crit_edge556, label %.preheader451.backedge

._crit_edge556:                                   ; preds = %188, %.lr.ph578
  %190 = load volatile i32, ptr %3, align 4, !tbaa !9
  %.not367 = icmp eq i32 %190, 0
  br i1 %.not367, label %191, label %192

191:                                              ; preds = %._crit_edge556
  call void @__assert_fail(ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.4, i32 noundef 170, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #11
  unreachable

192:                                              ; preds = %._crit_edge556
  %193 = load volatile i32, ptr %3, align 4, !tbaa !9
  %.not368 = icmp eq i32 %193, 0
  br i1 %.not368, label %194, label %195

194:                                              ; preds = %192
  call void @__assert_fail(ptr noundef nonnull @.str.8, ptr noundef nonnull @.str.4, i32 noundef 170, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #11
  unreachable

195:                                              ; preds = %192
  store atomic i32 0, ptr %3 release, align 4
  %196 = atomicrmw or ptr %3, i32 1 seq_cst, align 4
  %.not369561 = icmp eq i32 %196, 0
  br i1 %.not369561, label %._crit_edge562, label %.preheader450

.preheader450:                                    ; preds = %195, %.preheader450.backedge
  %.0317 = phi i32 [ %.0317.be, %.preheader450.backedge ], [ 1, %195 ]
  %197 = icmp sgt i32 %.0317, 0
  br i1 %197, label %.lr.ph559.preheader, label %._crit_edge560.thread

.lr.ph559.preheader:                              ; preds = %.preheader450
  %xtraiter705 = and i32 %.0317, 7
  %198 = icmp ult i32 %.0317, 8
  br i1 %198, label %._crit_edge560.unr-lcssa, label %.lr.ph559.preheader.new

.lr.ph559.preheader.new:                          ; preds = %.lr.ph559.preheader
  %unroll_iter708 = and i32 %.0317, 2147483640
  br label %.lr.ph559

.lr.ph559:                                        ; preds = %.lr.ph559, %.lr.ph559.preheader.new
  %niter709 = phi i32 [ 0, %.lr.ph559.preheader.new ], [ %niter709.next.7, %.lr.ph559 ]
  call void @llvm.x86.sse2.pause()
  call void @llvm.x86.sse2.pause()
  call void @llvm.x86.sse2.pause()
  call void @llvm.x86.sse2.pause()
  call void @llvm.x86.sse2.pause()
  call void @llvm.x86.sse2.pause()
  call void @llvm.x86.sse2.pause()
  call void @llvm.x86.sse2.pause()
  %niter709.next.7 = add i32 %niter709, 8
  %niter709.ncmp.7 = icmp eq i32 %niter709.next.7, %unroll_iter708
  br i1 %niter709.ncmp.7, label %._crit_edge560.unr-lcssa, label %.lr.ph559, !llvm.loop !29

._crit_edge560.unr-lcssa:                         ; preds = %.lr.ph559, %.lr.ph559.preheader
  %lcmp.mod707.not = icmp eq i32 %xtraiter705, 0
  br i1 %lcmp.mod707.not, label %._crit_edge560, label %.lr.ph559.epil

.lr.ph559.epil:                                   ; preds = %._crit_edge560.unr-lcssa, %.lr.ph559.epil
  %epil.iter706 = phi i32 [ %epil.iter706.next, %.lr.ph559.epil ], [ 0, %._crit_edge560.unr-lcssa ]
  call void @llvm.x86.sse2.pause()
  %epil.iter706.next = add i32 %epil.iter706, 1
  %epil.iter706.cmp.not = icmp eq i32 %epil.iter706.next, %xtraiter705
  br i1 %epil.iter706.cmp.not, label %._crit_edge560, label %.lr.ph559.epil, !llvm.loop !30

._crit_edge560:                                   ; preds = %.lr.ph559.epil, %._crit_edge560.unr-lcssa
  %199 = icmp slt i32 %.0317, 4096
  br i1 %199, label %._crit_edge560.thread, label %201

._crit_edge560.thread:                            ; preds = %.preheader450, %._crit_edge560
  %200 = shl i32 %.0317, 1
  br label %203

201:                                              ; preds = %._crit_edge560
  %202 = call i32 @sched_yield() #6
  br label %203

203:                                              ; preds = %201, %._crit_edge560.thread
  %.1318 = phi i32 [ %200, %._crit_edge560.thread ], [ 4096, %201 ]
  %204 = load volatile i32, ptr %3, align 4, !tbaa !9
  %205 = and i32 %204, 1
  %.not380 = icmp eq i32 %205, 0
  br i1 %.not380, label %206, label %.preheader450.backedge

.preheader450.backedge:                           ; preds = %203, %206
  %.0317.be = phi i32 [ %.1318, %203 ], [ 1, %206 ]
  br label %.preheader450, !llvm.loop !31

206:                                              ; preds = %203
  %207 = atomicrmw or ptr %3, i32 1 seq_cst, align 4
  %.not369 = icmp eq i32 %207, 0
  br i1 %.not369, label %._crit_edge562, label %.preheader450.backedge

._crit_edge562:                                   ; preds = %206, %195
  %208 = load volatile i32, ptr %3, align 4, !tbaa !9
  %.not370 = icmp eq i32 %208, 0
  br i1 %.not370, label %209, label %210

209:                                              ; preds = %._crit_edge562
  call void @__assert_fail(ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.4, i32 noundef 170, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #11
  unreachable

210:                                              ; preds = %._crit_edge562
  %211 = load volatile i32, ptr %3, align 4, !tbaa !9
  %.not371 = icmp eq i32 %211, 0
  br i1 %.not371, label %212, label %213

212:                                              ; preds = %210
  call void @__assert_fail(ptr noundef nonnull @.str.8, ptr noundef nonnull @.str.4, i32 noundef 170, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #11
  unreachable

213:                                              ; preds = %210
  store atomic i32 0, ptr %3 release, align 4
  %214 = atomicrmw or ptr %3, i32 1 seq_cst, align 4
  %.not372567 = icmp eq i32 %214, 0
  br i1 %.not372567, label %._crit_edge568, label %.preheader449

.preheader449:                                    ; preds = %213, %.preheader449.backedge
  %.0321 = phi i32 [ %.0321.be, %.preheader449.backedge ], [ 1, %213 ]
  %215 = icmp sgt i32 %.0321, 0
  br i1 %215, label %.lr.ph565.preheader, label %._crit_edge566.thread

.lr.ph565.preheader:                              ; preds = %.preheader449
  %xtraiter710 = and i32 %.0321, 7
  %216 = icmp ult i32 %.0321, 8
  br i1 %216, label %._crit_edge566.unr-lcssa, label %.lr.ph565.preheader.new

.lr.ph565.preheader.new:                          ; preds = %.lr.ph565.preheader
  %unroll_iter713 = and i32 %.0321, 2147483640
  br label %.lr.ph565

.lr.ph565:                                        ; preds = %.lr.ph565, %.lr.ph565.preheader.new
  %niter714 = phi i32 [ 0, %.lr.ph565.preheader.new ], [ %niter714.next.7, %.lr.ph565 ]
  call void @llvm.x86.sse2.pause()
  call void @llvm.x86.sse2.pause()
  call void @llvm.x86.sse2.pause()
  call void @llvm.x86.sse2.pause()
  call void @llvm.x86.sse2.pause()
  call void @llvm.x86.sse2.pause()
  call void @llvm.x86.sse2.pause()
  call void @llvm.x86.sse2.pause()
  %niter714.next.7 = add i32 %niter714, 8
  %niter714.ncmp.7 = icmp eq i32 %niter714.next.7, %unroll_iter713
  br i1 %niter714.ncmp.7, label %._crit_edge566.unr-lcssa, label %.lr.ph565, !llvm.loop !32

._crit_edge566.unr-lcssa:                         ; preds = %.lr.ph565, %.lr.ph565.preheader
  %lcmp.mod712.not = icmp eq i32 %xtraiter710, 0
  br i1 %lcmp.mod712.not, label %._crit_edge566, label %.lr.ph565.epil

.lr.ph565.epil:                                   ; preds = %._crit_edge566.unr-lcssa, %.lr.ph565.epil
  %epil.iter711 = phi i32 [ %epil.iter711.next, %.lr.ph565.epil ], [ 0, %._crit_edge566.unr-lcssa ]
  call void @llvm.x86.sse2.pause()
  %epil.iter711.next = add i32 %epil.iter711, 1
  %epil.iter711.cmp.not = icmp eq i32 %epil.iter711.next, %xtraiter710
  br i1 %epil.iter711.cmp.not, label %._crit_edge566, label %.lr.ph565.epil, !llvm.loop !33

._crit_edge566:                                   ; preds = %.lr.ph565.epil, %._crit_edge566.unr-lcssa
  %217 = icmp slt i32 %.0321, 4096
  br i1 %217, label %._crit_edge566.thread, label %219

._crit_edge566.thread:                            ; preds = %.preheader449, %._crit_edge566
  %218 = shl i32 %.0321, 1
  br label %221

219:                                              ; preds = %._crit_edge566
  %220 = call i32 @sched_yield() #6
  br label %221

221:                                              ; preds = %219, %._crit_edge566.thread
  %.1322 = phi i32 [ %218, %._crit_edge566.thread ], [ 4096, %219 ]
  %222 = load volatile i32, ptr %3, align 4, !tbaa !9
  %223 = and i32 %222, 1
  %.not379 = icmp eq i32 %223, 0
  br i1 %.not379, label %224, label %.preheader449.backedge

.preheader449.backedge:                           ; preds = %221, %224
  %.0321.be = phi i32 [ %.1322, %221 ], [ 1, %224 ]
  br label %.preheader449, !llvm.loop !34

224:                                              ; preds = %221
  %225 = atomicrmw or ptr %3, i32 1 seq_cst, align 4
  %.not372 = icmp eq i32 %225, 0
  br i1 %.not372, label %._crit_edge568, label %.preheader449.backedge

._crit_edge568:                                   ; preds = %224, %213
  %226 = load volatile i32, ptr %3, align 4, !tbaa !9
  %.not373 = icmp eq i32 %226, 0
  br i1 %.not373, label %227, label %228

227:                                              ; preds = %._crit_edge568
  call void @__assert_fail(ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.4, i32 noundef 170, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #11
  unreachable

228:                                              ; preds = %._crit_edge568
  %229 = load volatile i32, ptr %3, align 4, !tbaa !9
  %.not374 = icmp eq i32 %229, 0
  br i1 %.not374, label %230, label %231

230:                                              ; preds = %228
  call void @__assert_fail(ptr noundef nonnull @.str.8, ptr noundef nonnull @.str.4, i32 noundef 170, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #11
  unreachable

231:                                              ; preds = %228
  store atomic i32 0, ptr %3 release, align 4
  %232 = atomicrmw or ptr %3, i32 1 seq_cst, align 4
  %.not375573 = icmp eq i32 %232, 0
  br i1 %.not375573, label %._crit_edge574, label %.preheader448

.preheader448:                                    ; preds = %231, %.preheader448.backedge
  %.0326 = phi i32 [ %.0326.be, %.preheader448.backedge ], [ 1, %231 ]
  %233 = icmp sgt i32 %.0326, 0
  br i1 %233, label %.lr.ph571.preheader, label %._crit_edge572.thread

.lr.ph571.preheader:                              ; preds = %.preheader448
  %xtraiter715 = and i32 %.0326, 7
  %234 = icmp ult i32 %.0326, 8
  br i1 %234, label %._crit_edge572.unr-lcssa, label %.lr.ph571.preheader.new

.lr.ph571.preheader.new:                          ; preds = %.lr.ph571.preheader
  %unroll_iter718 = and i32 %.0326, 2147483640
  br label %.lr.ph571

.lr.ph571:                                        ; preds = %.lr.ph571, %.lr.ph571.preheader.new
  %niter719 = phi i32 [ 0, %.lr.ph571.preheader.new ], [ %niter719.next.7, %.lr.ph571 ]
  call void @llvm.x86.sse2.pause()
  call void @llvm.x86.sse2.pause()
  call void @llvm.x86.sse2.pause()
  call void @llvm.x86.sse2.pause()
  call void @llvm.x86.sse2.pause()
  call void @llvm.x86.sse2.pause()
  call void @llvm.x86.sse2.pause()
  call void @llvm.x86.sse2.pause()
  %niter719.next.7 = add i32 %niter719, 8
  %niter719.ncmp.7 = icmp eq i32 %niter719.next.7, %unroll_iter718
  br i1 %niter719.ncmp.7, label %._crit_edge572.unr-lcssa, label %.lr.ph571, !llvm.loop !35

._crit_edge572.unr-lcssa:                         ; preds = %.lr.ph571, %.lr.ph571.preheader
  %lcmp.mod717.not = icmp eq i32 %xtraiter715, 0
  br i1 %lcmp.mod717.not, label %._crit_edge572, label %.lr.ph571.epil

.lr.ph571.epil:                                   ; preds = %._crit_edge572.unr-lcssa, %.lr.ph571.epil
  %epil.iter716 = phi i32 [ %epil.iter716.next, %.lr.ph571.epil ], [ 0, %._crit_edge572.unr-lcssa ]
  call void @llvm.x86.sse2.pause()
  %epil.iter716.next = add i32 %epil.iter716, 1
  %epil.iter716.cmp.not = icmp eq i32 %epil.iter716.next, %xtraiter715
  br i1 %epil.iter716.cmp.not, label %._crit_edge572, label %.lr.ph571.epil, !llvm.loop !36

._crit_edge572:                                   ; preds = %.lr.ph571.epil, %._crit_edge572.unr-lcssa
  %235 = icmp slt i32 %.0326, 4096
  br i1 %235, label %._crit_edge572.thread, label %237

._crit_edge572.thread:                            ; preds = %.preheader448, %._crit_edge572
  %236 = shl i32 %.0326, 1
  br label %239

237:                                              ; preds = %._crit_edge572
  %238 = call i32 @sched_yield() #6
  br label %239

239:                                              ; preds = %237, %._crit_edge572.thread
  %.1327 = phi i32 [ %236, %._crit_edge572.thread ], [ 4096, %237 ]
  %240 = load volatile i32, ptr %3, align 4, !tbaa !9
  %241 = and i32 %240, 1
  %.not378 = icmp eq i32 %241, 0
  br i1 %.not378, label %242, label %.preheader448.backedge

.preheader448.backedge:                           ; preds = %239, %242
  %.0326.be = phi i32 [ %.1327, %239 ], [ 1, %242 ]
  br label %.preheader448, !llvm.loop !37

242:                                              ; preds = %239
  %243 = atomicrmw or ptr %3, i32 1 seq_cst, align 4
  %.not375 = icmp eq i32 %243, 0
  br i1 %.not375, label %._crit_edge574, label %.preheader448.backedge

._crit_edge574:                                   ; preds = %242, %231
  %244 = load volatile i32, ptr %3, align 4, !tbaa !9
  %.not376 = icmp eq i32 %244, 0
  br i1 %.not376, label %245, label %246

245:                                              ; preds = %._crit_edge574
  call void @__assert_fail(ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.4, i32 noundef 170, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #11
  unreachable

246:                                              ; preds = %._crit_edge574
  %247 = load volatile i32, ptr %3, align 4, !tbaa !9
  %.not377 = icmp eq i32 %247, 0
  br i1 %.not377, label %248, label %249

248:                                              ; preds = %246
  call void @__assert_fail(ptr noundef nonnull @.str.8, ptr noundef nonnull @.str.4, i32 noundef 170, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #11
  unreachable

249:                                              ; preds = %246
  store atomic i32 0, ptr %3 release, align 4
  %250 = call i64 @libxsmm_timer_tick() #6
  %251 = call i64 @libxsmm_timer_ncycles(i64 noundef %177, i64 noundef %250)
  %252 = add i64 %251, %.0310576
  %253 = add nuw nsw i32 %.0311575, 1
  %exitcond646.not = icmp eq i32 %253, %87
  br i1 %exitcond646.not, label %._crit_edge579, label %.lr.ph578, !llvm.loop !38

._crit_edge579:                                   ; preds = %249, %176
  %.0310.lcssa = phi i64 [ 0, %176 ], [ %252, %249 ]
  %254 = call double @libxsmm_timer_duration(i64 noundef 0, i64 noundef %.0310.lcssa) #6
  %255 = fcmp ogt double %254, 0.000000e+00
  br i1 %255, label %256, label %264

256:                                              ; preds = %._crit_edge579
  %257 = fmul double %82, %254
  %258 = fmul double %257, 1.000000e+09
  %259 = fmul double %254, 1.000000e+06
  %260 = fdiv double %81, %259
  %261 = uitofp i64 %.0310.lcssa to double
  %262 = fmul double %82, %261
  %263 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.10, double noundef %258, double noundef %260, double noundef %262)
  br label %264

264:                                              ; preds = %256, %._crit_edge579
  %265 = call i64 @libxsmm_timer_tick() #6
  %266 = icmp sgt i32 %72, 0
  br i1 %266, label %.lr.ph596, label %._crit_edge597

.lr.ph596:                                        ; preds = %264
  %267 = sext i32 %68 to i64
  %268 = sext i32 %67 to i64
  br label %269

269:                                              ; preds = %.lr.ph596, %313
  %.0331594 = phi i32 [ 0, %.lr.ph596 ], [ %270, %313 ]
  %.0338593 = phi i64 [ 0, %.lr.ph596 ], [ %.1339, %313 ]
  %270 = add nuw nsw i32 %.0331594, 1
  %271 = srem i32 %270, %79
  %.not356 = icmp eq i32 %271, 0
  %272 = atomicrmw or ptr %3, i32 1 seq_cst, align 4
  %.not357591 = icmp eq i32 %272, 0
  br i1 %.not356, label %.preheader446, label %.preheader447

.preheader447:                                    ; preds = %269
  br i1 %.not357591, label %._crit_edge586, label %.preheader445

.preheader446:                                    ; preds = %269
  br i1 %.not357591, label %._crit_edge592, label %.preheader444

.preheader445:                                    ; preds = %.preheader447, %.preheader445.backedge
  %.0336 = phi i32 [ %.0336.be, %.preheader445.backedge ], [ 1, %.preheader447 ]
  %273 = icmp sgt i32 %.0336, 0
  br i1 %273, label %.lr.ph583.preheader, label %._crit_edge584.thread

.lr.ph583.preheader:                              ; preds = %.preheader445
  %xtraiter720 = and i32 %.0336, 7
  %274 = icmp ult i32 %.0336, 8
  br i1 %274, label %._crit_edge584.unr-lcssa, label %.lr.ph583.preheader.new

.lr.ph583.preheader.new:                          ; preds = %.lr.ph583.preheader
  %unroll_iter723 = and i32 %.0336, 2147483640
  br label %.lr.ph583

.lr.ph583:                                        ; preds = %.lr.ph583, %.lr.ph583.preheader.new
  %niter724 = phi i32 [ 0, %.lr.ph583.preheader.new ], [ %niter724.next.7, %.lr.ph583 ]
  call void @llvm.x86.sse2.pause()
  call void @llvm.x86.sse2.pause()
  call void @llvm.x86.sse2.pause()
  call void @llvm.x86.sse2.pause()
  call void @llvm.x86.sse2.pause()
  call void @llvm.x86.sse2.pause()
  call void @llvm.x86.sse2.pause()
  call void @llvm.x86.sse2.pause()
  %niter724.next.7 = add i32 %niter724, 8
  %niter724.ncmp.7 = icmp eq i32 %niter724.next.7, %unroll_iter723
  br i1 %niter724.ncmp.7, label %._crit_edge584.unr-lcssa, label %.lr.ph583, !llvm.loop !39

._crit_edge584.unr-lcssa:                         ; preds = %.lr.ph583, %.lr.ph583.preheader
  %lcmp.mod722.not = icmp eq i32 %xtraiter720, 0
  br i1 %lcmp.mod722.not, label %._crit_edge584, label %.lr.ph583.epil

.lr.ph583.epil:                                   ; preds = %._crit_edge584.unr-lcssa, %.lr.ph583.epil
  %epil.iter721 = phi i32 [ %epil.iter721.next, %.lr.ph583.epil ], [ 0, %._crit_edge584.unr-lcssa ]
  call void @llvm.x86.sse2.pause()
  %epil.iter721.next = add i32 %epil.iter721, 1
  %epil.iter721.cmp.not = icmp eq i32 %epil.iter721.next, %xtraiter720
  br i1 %epil.iter721.cmp.not, label %._crit_edge584, label %.lr.ph583.epil, !llvm.loop !40

._crit_edge584:                                   ; preds = %.lr.ph583.epil, %._crit_edge584.unr-lcssa
  %275 = icmp slt i32 %.0336, 4096
  br i1 %275, label %._crit_edge584.thread, label %277

._crit_edge584.thread:                            ; preds = %.preheader445, %._crit_edge584
  %276 = shl i32 %.0336, 1
  br label %279

277:                                              ; preds = %._crit_edge584
  %278 = call i32 @sched_yield() #6
  br label %279

279:                                              ; preds = %277, %._crit_edge584.thread
  %.1337 = phi i32 [ %276, %._crit_edge584.thread ], [ 4096, %277 ]
  %280 = load volatile i32, ptr %3, align 4, !tbaa !9
  %281 = and i32 %280, 1
  %.not365 = icmp eq i32 %281, 0
  br i1 %.not365, label %282, label %.preheader445.backedge

.preheader445.backedge:                           ; preds = %279, %282
  %.0336.be = phi i32 [ %.1337, %279 ], [ 1, %282 ]
  br label %.preheader445, !llvm.loop !41

282:                                              ; preds = %279
  %283 = atomicrmw or ptr %3, i32 1 seq_cst, align 4
  %.not361 = icmp eq i32 %283, 0
  br i1 %.not361, label %._crit_edge586, label %.preheader445.backedge

._crit_edge586:                                   ; preds = %282, %.preheader447
  %284 = load volatile i32, ptr %3, align 4, !tbaa !9
  %.not362 = icmp eq i32 %284, 0
  br i1 %.not362, label %285, label %286

285:                                              ; preds = %._crit_edge586
  call void @__assert_fail(ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.4, i32 noundef 170, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #11
  unreachable

286:                                              ; preds = %._crit_edge586
  %287 = call i64 @libxsmm_timer_tick() #6
  %288 = call i64 @work(i64 noundef %287, i64 noundef %267)
  %289 = load volatile i32, ptr %3, align 4, !tbaa !9
  %.not363 = icmp eq i32 %289, 0
  br i1 %.not363, label %290, label %291

290:                                              ; preds = %286
  call void @__assert_fail(ptr noundef nonnull @.str.8, ptr noundef nonnull @.str.4, i32 noundef 170, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #11
  unreachable

291:                                              ; preds = %286
  store atomic i32 0, ptr %3 release, align 4
  %292 = call i64 @libxsmm_timer_ncycles(i64 noundef %287, i64 noundef %288)
  br label %313

.preheader444:                                    ; preds = %.preheader446, %.preheader444.backedge
  %.0333 = phi i32 [ %.0333.be, %.preheader444.backedge ], [ 1, %.preheader446 ]
  %293 = icmp sgt i32 %.0333, 0
  br i1 %293, label %.lr.ph589.preheader, label %._crit_edge590.thread

.lr.ph589.preheader:                              ; preds = %.preheader444
  %xtraiter725 = and i32 %.0333, 7
  %294 = icmp ult i32 %.0333, 8
  br i1 %294, label %._crit_edge590.unr-lcssa, label %.lr.ph589.preheader.new

.lr.ph589.preheader.new:                          ; preds = %.lr.ph589.preheader
  %unroll_iter728 = and i32 %.0333, 2147483640
  br label %.lr.ph589

.lr.ph589:                                        ; preds = %.lr.ph589, %.lr.ph589.preheader.new
  %niter729 = phi i32 [ 0, %.lr.ph589.preheader.new ], [ %niter729.next.7, %.lr.ph589 ]
  call void @llvm.x86.sse2.pause()
  call void @llvm.x86.sse2.pause()
  call void @llvm.x86.sse2.pause()
  call void @llvm.x86.sse2.pause()
  call void @llvm.x86.sse2.pause()
  call void @llvm.x86.sse2.pause()
  call void @llvm.x86.sse2.pause()
  call void @llvm.x86.sse2.pause()
  %niter729.next.7 = add i32 %niter729, 8
  %niter729.ncmp.7 = icmp eq i32 %niter729.next.7, %unroll_iter728
  br i1 %niter729.ncmp.7, label %._crit_edge590.unr-lcssa, label %.lr.ph589, !llvm.loop !42

._crit_edge590.unr-lcssa:                         ; preds = %.lr.ph589, %.lr.ph589.preheader
  %lcmp.mod727.not = icmp eq i32 %xtraiter725, 0
  br i1 %lcmp.mod727.not, label %._crit_edge590, label %.lr.ph589.epil

.lr.ph589.epil:                                   ; preds = %._crit_edge590.unr-lcssa, %.lr.ph589.epil
  %epil.iter726 = phi i32 [ %epil.iter726.next, %.lr.ph589.epil ], [ 0, %._crit_edge590.unr-lcssa ]
  call void @llvm.x86.sse2.pause()
  %epil.iter726.next = add i32 %epil.iter726, 1
  %epil.iter726.cmp.not = icmp eq i32 %epil.iter726.next, %xtraiter725
  br i1 %epil.iter726.cmp.not, label %._crit_edge590, label %.lr.ph589.epil, !llvm.loop !43

._crit_edge590:                                   ; preds = %.lr.ph589.epil, %._crit_edge590.unr-lcssa
  %295 = icmp slt i32 %.0333, 4096
  br i1 %295, label %._crit_edge590.thread, label %297

._crit_edge590.thread:                            ; preds = %.preheader444, %._crit_edge590
  %296 = shl i32 %.0333, 1
  br label %299

297:                                              ; preds = %._crit_edge590
  %298 = call i32 @sched_yield() #6
  br label %299

299:                                              ; preds = %297, %._crit_edge590.thread
  %.1334 = phi i32 [ %296, %._crit_edge590.thread ], [ 4096, %297 ]
  %300 = load volatile i32, ptr %3, align 4, !tbaa !9
  %301 = and i32 %300, 1
  %.not360 = icmp eq i32 %301, 0
  br i1 %.not360, label %302, label %.preheader444.backedge

.preheader444.backedge:                           ; preds = %299, %302
  %.0333.be = phi i32 [ %.1334, %299 ], [ 1, %302 ]
  br label %.preheader444, !llvm.loop !44

302:                                              ; preds = %299
  %303 = atomicrmw or ptr %3, i32 1 seq_cst, align 4
  %.not357 = icmp eq i32 %303, 0
  br i1 %.not357, label %._crit_edge592, label %.preheader444.backedge

._crit_edge592:                                   ; preds = %302, %.preheader446
  %304 = load volatile i32, ptr %3, align 4, !tbaa !9
  %.not358 = icmp eq i32 %304, 0
  br i1 %.not358, label %305, label %306

305:                                              ; preds = %._crit_edge592
  call void @__assert_fail(ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.4, i32 noundef 170, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #11
  unreachable

306:                                              ; preds = %._crit_edge592
  %307 = call i64 @libxsmm_timer_tick() #6
  %308 = call i64 @work(i64 noundef %307, i64 noundef %268)
  %309 = load volatile i32, ptr %3, align 4, !tbaa !9
  %.not359 = icmp eq i32 %309, 0
  br i1 %.not359, label %310, label %311

310:                                              ; preds = %306
  call void @__assert_fail(ptr noundef nonnull @.str.8, ptr noundef nonnull @.str.4, i32 noundef 170, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #11
  unreachable

311:                                              ; preds = %306
  store atomic i32 0, ptr %3 release, align 4
  %312 = call i64 @libxsmm_timer_ncycles(i64 noundef %307, i64 noundef %308)
  br label %313

313:                                              ; preds = %291, %311
  %.pn364 = phi i64 [ %292, %291 ], [ %312, %311 ]
  %.1339 = add i64 %.pn364, %.0338593
  %exitcond649.not = icmp eq i32 %270, %72
  br i1 %exitcond649.not, label %._crit_edge597, label %269, !llvm.loop !45

._crit_edge597:                                   ; preds = %313, %264
  %.0338.lcssa = phi i64 [ 0, %264 ], [ %.1339, %313 ]
  %314 = call i64 @libxsmm_timer_tick() #6
  %315 = call i64 @libxsmm_timer_ncycles(i64 noundef %265, i64 noundef %314)
  %316 = sub i64 %315, %.0338.lcssa
  %317 = call double @libxsmm_timer_duration(i64 noundef 0, i64 noundef %316) #6
  %318 = fcmp ogt double %317, 0.000000e+00
  br i1 %318, label %319, label %329

319:                                              ; preds = %._crit_edge597
  %320 = uitofp nneg i32 %80 to double
  %321 = fdiv double 1.000000e+00, %320
  %322 = fmul double %321, %317
  %323 = fmul double %322, 1.000000e+06
  %324 = fmul double %317, 1.000000e+03
  %325 = fdiv double %320, %324
  %326 = uitofp i64 %316 to double
  %327 = fmul double %321, %326
  %328 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.11, double noundef %323, double noundef %325, double noundef %327)
  br label %329

329:                                              ; preds = %319, %._crit_edge597
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #6
  br i1 %.not674, label %332, label %330

330:                                              ; preds = %329
  %331 = udiv i32 100, %69
  br label %334

332:                                              ; preds = %329
  %333 = add nsw i32 %72, 1
  br label %334

334:                                              ; preds = %332, %330
  %335 = phi i32 [ %331, %330 ], [ %333, %332 ]
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #6
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %5) #6
  %336 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.5, ptr noundef nonnull @.str.12, ptr noundef nonnull @.str.13, i32 noundef %70, i32 noundef %69, i32 noundef %68, i32 noundef %67, i32 noundef %71, i32 noundef %72)
  %337 = call i32 @pthread_mutexattr_init(ptr noundef nonnull %4) #6
  %338 = call i32 @pthread_mutexattr_settype(ptr noundef nonnull %4, i32 noundef 0) #6
  %339 = call i32 @pthread_mutex_init(ptr noundef nonnull %5, ptr noundef nonnull %4) #6
  %340 = icmp eq i32 %339, 0
  br i1 %340, label %342, label %341

341:                                              ; preds = %334
  call void @__assert_fail(ptr noundef nonnull @.str.14, ptr noundef nonnull @.str.4, i32 noundef 173, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #11
  unreachable

342:                                              ; preds = %334
  %343 = call i32 @pthread_mutexattr_destroy(ptr noundef nonnull %4) #6
  %344 = icmp eq i32 %343, 0
  br i1 %344, label %.preheader443, label %345

.preheader443:                                    ; preds = %342
  br i1 %88, label %.lr.ph601, label %._crit_edge602

345:                                              ; preds = %342
  call void @__assert_fail(ptr noundef nonnull @.str.15, ptr noundef nonnull @.str.4, i32 noundef 173, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #11
  unreachable

.lr.ph601:                                        ; preds = %.preheader443, %378
  %.0328600 = phi i32 [ %382, %378 ], [ 0, %.preheader443 ]
  %.0330599 = phi i64 [ %381, %378 ], [ 0, %.preheader443 ]
  %346 = call i64 @libxsmm_timer_tick() #6
  %347 = call i32 @pthread_mutex_lock(ptr noundef nonnull %5) #6
  %348 = icmp eq i32 %347, 0
  br i1 %348, label %350, label %349

349:                                              ; preds = %.lr.ph601
  call void @__assert_fail(ptr noundef nonnull @.str.16, ptr noundef nonnull @.str.4, i32 noundef 173, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #11
  unreachable

350:                                              ; preds = %.lr.ph601
  %351 = call i32 @pthread_mutex_unlock(ptr noundef nonnull %5) #6
  %352 = icmp eq i32 %351, 0
  br i1 %352, label %354, label %353

353:                                              ; preds = %350
  call void @__assert_fail(ptr noundef nonnull @.str.17, ptr noundef nonnull @.str.4, i32 noundef 173, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #11
  unreachable

354:                                              ; preds = %350
  %355 = call i32 @pthread_mutex_lock(ptr noundef nonnull %5) #6
  %356 = icmp eq i32 %355, 0
  br i1 %356, label %358, label %357

357:                                              ; preds = %354
  call void @__assert_fail(ptr noundef nonnull @.str.16, ptr noundef nonnull @.str.4, i32 noundef 173, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #11
  unreachable

358:                                              ; preds = %354
  %359 = call i32 @pthread_mutex_unlock(ptr noundef nonnull %5) #6
  %360 = icmp eq i32 %359, 0
  br i1 %360, label %362, label %361

361:                                              ; preds = %358
  call void @__assert_fail(ptr noundef nonnull @.str.17, ptr noundef nonnull @.str.4, i32 noundef 173, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #11
  unreachable

362:                                              ; preds = %358
  %363 = call i32 @pthread_mutex_lock(ptr noundef nonnull %5) #6
  %364 = icmp eq i32 %363, 0
  br i1 %364, label %366, label %365

365:                                              ; preds = %362
  call void @__assert_fail(ptr noundef nonnull @.str.16, ptr noundef nonnull @.str.4, i32 noundef 173, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #11
  unreachable

366:                                              ; preds = %362
  %367 = call i32 @pthread_mutex_unlock(ptr noundef nonnull %5) #6
  %368 = icmp eq i32 %367, 0
  br i1 %368, label %370, label %369

369:                                              ; preds = %366
  call void @__assert_fail(ptr noundef nonnull @.str.17, ptr noundef nonnull @.str.4, i32 noundef 173, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #11
  unreachable

370:                                              ; preds = %366
  %371 = call i32 @pthread_mutex_lock(ptr noundef nonnull %5) #6
  %372 = icmp eq i32 %371, 0
  br i1 %372, label %374, label %373

373:                                              ; preds = %370
  call void @__assert_fail(ptr noundef nonnull @.str.16, ptr noundef nonnull @.str.4, i32 noundef 173, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #11
  unreachable

374:                                              ; preds = %370
  %375 = call i32 @pthread_mutex_unlock(ptr noundef nonnull %5) #6
  %376 = icmp eq i32 %375, 0
  br i1 %376, label %378, label %377

377:                                              ; preds = %374
  call void @__assert_fail(ptr noundef nonnull @.str.17, ptr noundef nonnull @.str.4, i32 noundef 173, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #11
  unreachable

378:                                              ; preds = %374
  %379 = call i64 @libxsmm_timer_tick() #6
  %380 = call i64 @libxsmm_timer_ncycles(i64 noundef %346, i64 noundef %379)
  %381 = add i64 %380, %.0330599
  %382 = add nuw nsw i32 %.0328600, 1
  %exitcond650.not = icmp eq i32 %382, %87
  br i1 %exitcond650.not, label %._crit_edge602, label %.lr.ph601, !llvm.loop !46

._crit_edge602:                                   ; preds = %378, %.preheader443
  %.0330.lcssa = phi i64 [ 0, %.preheader443 ], [ %381, %378 ]
  %383 = call double @libxsmm_timer_duration(i64 noundef 0, i64 noundef %.0330.lcssa) #6
  %384 = fcmp ogt double %383, 0.000000e+00
  br i1 %384, label %385, label %393

385:                                              ; preds = %._crit_edge602
  %386 = fmul double %82, %383
  %387 = fmul double %386, 1.000000e+09
  %388 = fmul double %383, 1.000000e+06
  %389 = fdiv double %81, %388
  %390 = uitofp i64 %.0330.lcssa to double
  %391 = fmul double %82, %390
  %392 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.9, double noundef %387, double noundef %389, double noundef %391)
  br label %393

393:                                              ; preds = %385, %._crit_edge602
  br i1 %88, label %.lr.ph607, label %._crit_edge608

.lr.ph607:                                        ; preds = %393, %426
  %.0323605 = phi i32 [ %430, %426 ], [ 0, %393 ]
  %.0325604 = phi i64 [ %429, %426 ], [ 0, %393 ]
  %394 = call i64 @libxsmm_timer_tick() #6
  %395 = call i32 @pthread_mutex_lock(ptr noundef nonnull %5) #6
  %396 = icmp eq i32 %395, 0
  br i1 %396, label %398, label %397

397:                                              ; preds = %.lr.ph607
  call void @__assert_fail(ptr noundef nonnull @.str.16, ptr noundef nonnull @.str.4, i32 noundef 173, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #11
  unreachable

398:                                              ; preds = %.lr.ph607
  %399 = call i32 @pthread_mutex_unlock(ptr noundef nonnull %5) #6
  %400 = icmp eq i32 %399, 0
  br i1 %400, label %402, label %401

401:                                              ; preds = %398
  call void @__assert_fail(ptr noundef nonnull @.str.17, ptr noundef nonnull @.str.4, i32 noundef 173, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #11
  unreachable

402:                                              ; preds = %398
  %403 = call i32 @pthread_mutex_lock(ptr noundef nonnull %5) #6
  %404 = icmp eq i32 %403, 0
  br i1 %404, label %406, label %405

405:                                              ; preds = %402
  call void @__assert_fail(ptr noundef nonnull @.str.16, ptr noundef nonnull @.str.4, i32 noundef 173, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #11
  unreachable

406:                                              ; preds = %402
  %407 = call i32 @pthread_mutex_unlock(ptr noundef nonnull %5) #6
  %408 = icmp eq i32 %407, 0
  br i1 %408, label %410, label %409

409:                                              ; preds = %406
  call void @__assert_fail(ptr noundef nonnull @.str.17, ptr noundef nonnull @.str.4, i32 noundef 173, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #11
  unreachable

410:                                              ; preds = %406
  %411 = call i32 @pthread_mutex_lock(ptr noundef nonnull %5) #6
  %412 = icmp eq i32 %411, 0
  br i1 %412, label %414, label %413

413:                                              ; preds = %410
  call void @__assert_fail(ptr noundef nonnull @.str.16, ptr noundef nonnull @.str.4, i32 noundef 173, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #11
  unreachable

414:                                              ; preds = %410
  %415 = call i32 @pthread_mutex_unlock(ptr noundef nonnull %5) #6
  %416 = icmp eq i32 %415, 0
  br i1 %416, label %418, label %417

417:                                              ; preds = %414
  call void @__assert_fail(ptr noundef nonnull @.str.17, ptr noundef nonnull @.str.4, i32 noundef 173, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #11
  unreachable

418:                                              ; preds = %414
  %419 = call i32 @pthread_mutex_lock(ptr noundef nonnull %5) #6
  %420 = icmp eq i32 %419, 0
  br i1 %420, label %422, label %421

421:                                              ; preds = %418
  call void @__assert_fail(ptr noundef nonnull @.str.16, ptr noundef nonnull @.str.4, i32 noundef 173, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #11
  unreachable

422:                                              ; preds = %418
  %423 = call i32 @pthread_mutex_unlock(ptr noundef nonnull %5) #6
  %424 = icmp eq i32 %423, 0
  br i1 %424, label %426, label %425

425:                                              ; preds = %422
  call void @__assert_fail(ptr noundef nonnull @.str.17, ptr noundef nonnull @.str.4, i32 noundef 173, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #11
  unreachable

426:                                              ; preds = %422
  %427 = call i64 @libxsmm_timer_tick() #6
  %428 = call i64 @libxsmm_timer_ncycles(i64 noundef %394, i64 noundef %427)
  %429 = add i64 %428, %.0325604
  %430 = add nuw nsw i32 %.0323605, 1
  %exitcond651.not = icmp eq i32 %430, %87
  br i1 %exitcond651.not, label %._crit_edge608, label %.lr.ph607, !llvm.loop !47

._crit_edge608:                                   ; preds = %426, %393
  %.0325.lcssa = phi i64 [ 0, %393 ], [ %429, %426 ]
  %431 = call double @libxsmm_timer_duration(i64 noundef 0, i64 noundef %.0325.lcssa) #6
  %432 = fcmp ogt double %431, 0.000000e+00
  br i1 %432, label %433, label %441

433:                                              ; preds = %._crit_edge608
  %434 = fmul double %82, %431
  %435 = fmul double %434, 1.000000e+09
  %436 = fmul double %431, 1.000000e+06
  %437 = fdiv double %81, %436
  %438 = uitofp i64 %.0325.lcssa to double
  %439 = fmul double %82, %438
  %440 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.10, double noundef %435, double noundef %437, double noundef %439)
  br label %441

441:                                              ; preds = %433, %._crit_edge608
  %442 = call i64 @libxsmm_timer_tick() #6
  br i1 %266, label %.lr.ph613, label %._crit_edge614

.lr.ph613:                                        ; preds = %441
  %443 = sext i32 %68 to i64
  %444 = sext i32 %67 to i64
  br label %445

445:                                              ; preds = %.lr.ph613, %470
  %.0315611 = phi i64 [ 0, %.lr.ph613 ], [ %.1316, %470 ]
  %.0319610 = phi i32 [ 0, %.lr.ph613 ], [ %446, %470 ]
  %446 = add nuw nsw i32 %.0319610, 1
  %447 = srem i32 %446, %335
  %.not354 = icmp eq i32 %447, 0
  %448 = call i32 @pthread_mutex_lock(ptr noundef nonnull %5) #6
  %449 = icmp eq i32 %448, 0
  br i1 %.not354, label %460, label %450

450:                                              ; preds = %445
  br i1 %449, label %452, label %451

451:                                              ; preds = %450
  call void @__assert_fail(ptr noundef nonnull @.str.16, ptr noundef nonnull @.str.4, i32 noundef 173, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #11
  unreachable

452:                                              ; preds = %450
  %453 = call i64 @libxsmm_timer_tick() #6
  %454 = call i64 @work(i64 noundef %453, i64 noundef %443)
  %455 = call i32 @pthread_mutex_unlock(ptr noundef nonnull %5) #6
  %456 = icmp eq i32 %455, 0
  br i1 %456, label %458, label %457

457:                                              ; preds = %452
  call void @__assert_fail(ptr noundef nonnull @.str.17, ptr noundef nonnull @.str.4, i32 noundef 173, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #11
  unreachable

458:                                              ; preds = %452
  %459 = call i64 @libxsmm_timer_ncycles(i64 noundef %453, i64 noundef %454)
  br label %470

460:                                              ; preds = %445
  br i1 %449, label %462, label %461

461:                                              ; preds = %460
  call void @__assert_fail(ptr noundef nonnull @.str.16, ptr noundef nonnull @.str.4, i32 noundef 173, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #11
  unreachable

462:                                              ; preds = %460
  %463 = call i64 @libxsmm_timer_tick() #6
  %464 = call i64 @work(i64 noundef %463, i64 noundef %444)
  %465 = call i32 @pthread_mutex_unlock(ptr noundef nonnull %5) #6
  %466 = icmp eq i32 %465, 0
  br i1 %466, label %468, label %467

467:                                              ; preds = %462
  call void @__assert_fail(ptr noundef nonnull @.str.17, ptr noundef nonnull @.str.4, i32 noundef 173, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #11
  unreachable

468:                                              ; preds = %462
  %469 = call i64 @libxsmm_timer_ncycles(i64 noundef %463, i64 noundef %464)
  br label %470

470:                                              ; preds = %458, %468
  %.pn355 = phi i64 [ %459, %458 ], [ %469, %468 ]
  %.1316 = add i64 %.pn355, %.0315611
  %exitcond652.not = icmp eq i32 %446, %72
  br i1 %exitcond652.not, label %._crit_edge614, label %445, !llvm.loop !48

._crit_edge614:                                   ; preds = %470, %441
  %.0315.lcssa = phi i64 [ 0, %441 ], [ %.1316, %470 ]
  %471 = call i64 @libxsmm_timer_tick() #6
  %472 = call i64 @libxsmm_timer_ncycles(i64 noundef %442, i64 noundef %471)
  %473 = sub i64 %472, %.0315.lcssa
  %474 = call double @libxsmm_timer_duration(i64 noundef 0, i64 noundef %473) #6
  %475 = fcmp ogt double %474, 0.000000e+00
  br i1 %475, label %476, label %486

476:                                              ; preds = %._crit_edge614
  %477 = uitofp nneg i32 %80 to double
  %478 = fdiv double 1.000000e+00, %477
  %479 = fmul double %478, %474
  %480 = fmul double %479, 1.000000e+06
  %481 = fmul double %474, 1.000000e+03
  %482 = fdiv double %477, %481
  %483 = uitofp i64 %473 to double
  %484 = fmul double %478, %483
  %485 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.11, double noundef %480, double noundef %482, double noundef %484)
  br label %486

486:                                              ; preds = %476, %._crit_edge614
  %487 = call i32 @pthread_mutex_destroy(ptr noundef nonnull %5) #6
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %5) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #6
  br i1 %.not674, label %490, label %488

488:                                              ; preds = %486
  %489 = udiv i32 100, %69
  br label %492

490:                                              ; preds = %486
  %491 = add nsw i32 %72, 1
  br label %492

492:                                              ; preds = %490, %488
  %493 = phi i32 [ %489, %488 ], [ %491, %490 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #6
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %7) #6
  %494 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.5, ptr noundef nonnull @.str.18, ptr noundef nonnull @.str.13, i32 noundef %70, i32 noundef %69, i32 noundef %68, i32 noundef %67, i32 noundef %71, i32 noundef %72)
  %495 = call i32 @pthread_rwlockattr_init(ptr noundef nonnull %6) #6
  %496 = icmp eq i32 %495, 0
  br i1 %496, label %498, label %497

497:                                              ; preds = %492
  call void @__assert_fail(ptr noundef nonnull @.str.19, ptr noundef nonnull @.str.4, i32 noundef 178, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #11
  unreachable

498:                                              ; preds = %492
  %499 = call i32 @pthread_rwlock_init(ptr noundef nonnull %7, ptr noundef nonnull %6) #6
  %500 = icmp eq i32 %499, 0
  br i1 %500, label %502, label %501

501:                                              ; preds = %498
  call void @__assert_fail(ptr noundef nonnull @.str.20, ptr noundef nonnull @.str.4, i32 noundef 178, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #11
  unreachable

502:                                              ; preds = %498
  %503 = call i32 @pthread_rwlockattr_destroy(ptr noundef nonnull %6) #6
  %504 = icmp eq i32 %503, 0
  br i1 %504, label %.preheader, label %505

.preheader:                                       ; preds = %502
  br i1 %88, label %.lr.ph618, label %._crit_edge619

505:                                              ; preds = %502
  call void @__assert_fail(ptr noundef nonnull @.str.21, ptr noundef nonnull @.str.4, i32 noundef 178, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #11
  unreachable

.lr.ph618:                                        ; preds = %.preheader, %538
  %.0304617 = phi i32 [ %542, %538 ], [ 0, %.preheader ]
  %.0306616 = phi i64 [ %541, %538 ], [ 0, %.preheader ]
  %506 = call i64 @libxsmm_timer_tick() #6
  %507 = call i32 @pthread_rwlock_rdlock(ptr noundef nonnull %7) #6
  %508 = icmp eq i32 %507, 0
  br i1 %508, label %510, label %509

509:                                              ; preds = %.lr.ph618
  call void @__assert_fail(ptr noundef nonnull @.str.22, ptr noundef nonnull @.str.4, i32 noundef 178, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #11
  unreachable

510:                                              ; preds = %.lr.ph618
  %511 = call i32 @pthread_rwlock_unlock(ptr noundef nonnull %7) #6
  %512 = icmp eq i32 %511, 0
  br i1 %512, label %514, label %513

513:                                              ; preds = %510
  call void @__assert_fail(ptr noundef nonnull @.str.23, ptr noundef nonnull @.str.4, i32 noundef 178, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #11
  unreachable

514:                                              ; preds = %510
  %515 = call i32 @pthread_rwlock_rdlock(ptr noundef nonnull %7) #6
  %516 = icmp eq i32 %515, 0
  br i1 %516, label %518, label %517

517:                                              ; preds = %514
  call void @__assert_fail(ptr noundef nonnull @.str.22, ptr noundef nonnull @.str.4, i32 noundef 178, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #11
  unreachable

518:                                              ; preds = %514
  %519 = call i32 @pthread_rwlock_unlock(ptr noundef nonnull %7) #6
  %520 = icmp eq i32 %519, 0
  br i1 %520, label %522, label %521

521:                                              ; preds = %518
  call void @__assert_fail(ptr noundef nonnull @.str.23, ptr noundef nonnull @.str.4, i32 noundef 178, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #11
  unreachable

522:                                              ; preds = %518
  %523 = call i32 @pthread_rwlock_rdlock(ptr noundef nonnull %7) #6
  %524 = icmp eq i32 %523, 0
  br i1 %524, label %526, label %525

525:                                              ; preds = %522
  call void @__assert_fail(ptr noundef nonnull @.str.22, ptr noundef nonnull @.str.4, i32 noundef 178, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #11
  unreachable

526:                                              ; preds = %522
  %527 = call i32 @pthread_rwlock_unlock(ptr noundef nonnull %7) #6
  %528 = icmp eq i32 %527, 0
  br i1 %528, label %530, label %529

529:                                              ; preds = %526
  call void @__assert_fail(ptr noundef nonnull @.str.23, ptr noundef nonnull @.str.4, i32 noundef 178, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #11
  unreachable

530:                                              ; preds = %526
  %531 = call i32 @pthread_rwlock_rdlock(ptr noundef nonnull %7) #6
  %532 = icmp eq i32 %531, 0
  br i1 %532, label %534, label %533

533:                                              ; preds = %530
  call void @__assert_fail(ptr noundef nonnull @.str.22, ptr noundef nonnull @.str.4, i32 noundef 178, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #11
  unreachable

534:                                              ; preds = %530
  %535 = call i32 @pthread_rwlock_unlock(ptr noundef nonnull %7) #6
  %536 = icmp eq i32 %535, 0
  br i1 %536, label %538, label %537

537:                                              ; preds = %534
  call void @__assert_fail(ptr noundef nonnull @.str.23, ptr noundef nonnull @.str.4, i32 noundef 178, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #11
  unreachable

538:                                              ; preds = %534
  %539 = call i64 @libxsmm_timer_tick() #6
  %540 = call i64 @libxsmm_timer_ncycles(i64 noundef %506, i64 noundef %539)
  %541 = add i64 %540, %.0306616
  %542 = add nuw nsw i32 %.0304617, 1
  %exitcond653.not = icmp eq i32 %542, %87
  br i1 %exitcond653.not, label %._crit_edge619, label %.lr.ph618, !llvm.loop !49

._crit_edge619:                                   ; preds = %538, %.preheader
  %.0306.lcssa = phi i64 [ 0, %.preheader ], [ %541, %538 ]
  %543 = call double @libxsmm_timer_duration(i64 noundef 0, i64 noundef %.0306.lcssa) #6
  %544 = fcmp ogt double %543, 0.000000e+00
  br i1 %544, label %545, label %553

545:                                              ; preds = %._crit_edge619
  %546 = fmul double %82, %543
  %547 = fmul double %546, 1.000000e+09
  %548 = fmul double %543, 1.000000e+06
  %549 = fdiv double %81, %548
  %550 = uitofp i64 %.0306.lcssa to double
  %551 = fmul double %82, %550
  %552 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.9, double noundef %547, double noundef %549, double noundef %551)
  br label %553

553:                                              ; preds = %545, %._crit_edge619
  br i1 %88, label %.lr.ph624, label %._crit_edge625

.lr.ph624:                                        ; preds = %553, %586
  %.0299622 = phi i32 [ %590, %586 ], [ 0, %553 ]
  %.0301621 = phi i64 [ %589, %586 ], [ 0, %553 ]
  %554 = call i64 @libxsmm_timer_tick() #6
  %555 = call i32 @pthread_rwlock_wrlock(ptr noundef nonnull %7) #6
  %556 = icmp eq i32 %555, 0
  br i1 %556, label %558, label %557

557:                                              ; preds = %.lr.ph624
  call void @__assert_fail(ptr noundef nonnull @.str.24, ptr noundef nonnull @.str.4, i32 noundef 178, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #11
  unreachable

558:                                              ; preds = %.lr.ph624
  %559 = call i32 @pthread_rwlock_unlock(ptr noundef nonnull %7) #6
  %560 = icmp eq i32 %559, 0
  br i1 %560, label %562, label %561

561:                                              ; preds = %558
  call void @__assert_fail(ptr noundef nonnull @.str.23, ptr noundef nonnull @.str.4, i32 noundef 178, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #11
  unreachable

562:                                              ; preds = %558
  %563 = call i32 @pthread_rwlock_wrlock(ptr noundef nonnull %7) #6
  %564 = icmp eq i32 %563, 0
  br i1 %564, label %566, label %565

565:                                              ; preds = %562
  call void @__assert_fail(ptr noundef nonnull @.str.24, ptr noundef nonnull @.str.4, i32 noundef 178, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #11
  unreachable

566:                                              ; preds = %562
  %567 = call i32 @pthread_rwlock_unlock(ptr noundef nonnull %7) #6
  %568 = icmp eq i32 %567, 0
  br i1 %568, label %570, label %569

569:                                              ; preds = %566
  call void @__assert_fail(ptr noundef nonnull @.str.23, ptr noundef nonnull @.str.4, i32 noundef 178, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #11
  unreachable

570:                                              ; preds = %566
  %571 = call i32 @pthread_rwlock_wrlock(ptr noundef nonnull %7) #6
  %572 = icmp eq i32 %571, 0
  br i1 %572, label %574, label %573

573:                                              ; preds = %570
  call void @__assert_fail(ptr noundef nonnull @.str.24, ptr noundef nonnull @.str.4, i32 noundef 178, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #11
  unreachable

574:                                              ; preds = %570
  %575 = call i32 @pthread_rwlock_unlock(ptr noundef nonnull %7) #6
  %576 = icmp eq i32 %575, 0
  br i1 %576, label %578, label %577

577:                                              ; preds = %574
  call void @__assert_fail(ptr noundef nonnull @.str.23, ptr noundef nonnull @.str.4, i32 noundef 178, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #11
  unreachable

578:                                              ; preds = %574
  %579 = call i32 @pthread_rwlock_wrlock(ptr noundef nonnull %7) #6
  %580 = icmp eq i32 %579, 0
  br i1 %580, label %582, label %581

581:                                              ; preds = %578
  call void @__assert_fail(ptr noundef nonnull @.str.24, ptr noundef nonnull @.str.4, i32 noundef 178, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #11
  unreachable

582:                                              ; preds = %578
  %583 = call i32 @pthread_rwlock_unlock(ptr noundef nonnull %7) #6
  %584 = icmp eq i32 %583, 0
  br i1 %584, label %586, label %585

585:                                              ; preds = %582
  call void @__assert_fail(ptr noundef nonnull @.str.23, ptr noundef nonnull @.str.4, i32 noundef 178, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #11
  unreachable

586:                                              ; preds = %582
  %587 = call i64 @libxsmm_timer_tick() #6
  %588 = call i64 @libxsmm_timer_ncycles(i64 noundef %554, i64 noundef %587)
  %589 = add i64 %588, %.0301621
  %590 = add nuw nsw i32 %.0299622, 1
  %exitcond654.not = icmp eq i32 %590, %87
  br i1 %exitcond654.not, label %._crit_edge625, label %.lr.ph624, !llvm.loop !50

._crit_edge625:                                   ; preds = %586, %553
  %.0301.lcssa = phi i64 [ 0, %553 ], [ %589, %586 ]
  %591 = call double @libxsmm_timer_duration(i64 noundef 0, i64 noundef %.0301.lcssa) #6
  %592 = fcmp ogt double %591, 0.000000e+00
  br i1 %592, label %593, label %601

593:                                              ; preds = %._crit_edge625
  %594 = fmul double %82, %591
  %595 = fmul double %594, 1.000000e+09
  %596 = fmul double %591, 1.000000e+06
  %597 = fdiv double %81, %596
  %598 = uitofp i64 %.0301.lcssa to double
  %599 = fmul double %82, %598
  %600 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.10, double noundef %595, double noundef %597, double noundef %599)
  br label %601

601:                                              ; preds = %593, %._crit_edge625
  %602 = call i64 @libxsmm_timer_tick() #6
  br i1 %266, label %.lr.ph630, label %._crit_edge631

.lr.ph630:                                        ; preds = %601
  %603 = sext i32 %68 to i64
  %604 = sext i32 %67 to i64
  br label %605

605:                                              ; preds = %.lr.ph630, %632
  %.0292628 = phi i64 [ 0, %.lr.ph630 ], [ %.1, %632 ]
  %.0295627 = phi i32 [ 0, %.lr.ph630 ], [ %606, %632 ]
  %606 = add nuw nsw i32 %.0295627, 1
  %607 = srem i32 %606, %493
  %.not = icmp eq i32 %607, 0
  br i1 %.not, label %620, label %608

608:                                              ; preds = %605
  %609 = call i32 @pthread_rwlock_rdlock(ptr noundef nonnull %7) #6
  %610 = icmp eq i32 %609, 0
  br i1 %610, label %612, label %611

611:                                              ; preds = %608
  call void @__assert_fail(ptr noundef nonnull @.str.22, ptr noundef nonnull @.str.4, i32 noundef 178, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #11
  unreachable

612:                                              ; preds = %608
  %613 = call i64 @libxsmm_timer_tick() #6
  %614 = call i64 @work(i64 noundef %613, i64 noundef %603)
  %615 = call i32 @pthread_rwlock_unlock(ptr noundef nonnull %7) #6
  %616 = icmp eq i32 %615, 0
  br i1 %616, label %618, label %617

617:                                              ; preds = %612
  call void @__assert_fail(ptr noundef nonnull @.str.23, ptr noundef nonnull @.str.4, i32 noundef 178, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #11
  unreachable

618:                                              ; preds = %612
  %619 = call i64 @libxsmm_timer_ncycles(i64 noundef %613, i64 noundef %614)
  br label %632

620:                                              ; preds = %605
  %621 = call i32 @pthread_rwlock_wrlock(ptr noundef nonnull %7) #6
  %622 = icmp eq i32 %621, 0
  br i1 %622, label %624, label %623

623:                                              ; preds = %620
  call void @__assert_fail(ptr noundef nonnull @.str.24, ptr noundef nonnull @.str.4, i32 noundef 178, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #11
  unreachable

624:                                              ; preds = %620
  %625 = call i64 @libxsmm_timer_tick() #6
  %626 = call i64 @work(i64 noundef %625, i64 noundef %604)
  %627 = call i32 @pthread_rwlock_unlock(ptr noundef nonnull %7) #6
  %628 = icmp eq i32 %627, 0
  br i1 %628, label %630, label %629

629:                                              ; preds = %624
  call void @__assert_fail(ptr noundef nonnull @.str.23, ptr noundef nonnull @.str.4, i32 noundef 178, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #11
  unreachable

630:                                              ; preds = %624
  %631 = call i64 @libxsmm_timer_ncycles(i64 noundef %625, i64 noundef %626)
  br label %632

632:                                              ; preds = %618, %630
  %.pn = phi i64 [ %619, %618 ], [ %631, %630 ]
  %.1 = add i64 %.pn, %.0292628
  %exitcond655.not = icmp eq i32 %606, %72
  br i1 %exitcond655.not, label %._crit_edge631, label %605, !llvm.loop !51

._crit_edge631:                                   ; preds = %632, %601
  %.0292.lcssa = phi i64 [ 0, %601 ], [ %.1, %632 ]
  %633 = call i64 @libxsmm_timer_tick() #6
  %634 = call i64 @libxsmm_timer_ncycles(i64 noundef %602, i64 noundef %633)
  %635 = sub i64 %634, %.0292.lcssa
  %636 = call double @libxsmm_timer_duration(i64 noundef 0, i64 noundef %635) #6
  %637 = fcmp ogt double %636, 0.000000e+00
  br i1 %637, label %638, label %648

638:                                              ; preds = %._crit_edge631
  %639 = uitofp nneg i32 %80 to double
  %640 = fdiv double 1.000000e+00, %639
  %641 = fmul double %640, %636
  %642 = fmul double %641, 1.000000e+06
  %643 = fmul double %636, 1.000000e+03
  %644 = fdiv double %639, %643
  %645 = uitofp i64 %635 to double
  %646 = fmul double %640, %645
  %647 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.11, double noundef %642, double noundef %644, double noundef %646)
  br label %648

648:                                              ; preds = %638, %._crit_edge631
  %649 = call i32 @pthread_rwlock_destroy(ptr noundef nonnull %7) #6
  %650 = icmp eq i32 %649, 0
  br i1 %650, label %652, label %651

651:                                              ; preds = %648
  call void @__assert_fail(ptr noundef nonnull @.str.25, ptr noundef nonnull @.str.4, i32 noundef 178, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #11
  unreachable

652:                                              ; preds = %648
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %7) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #6
  ret i32 0
}

; Function Attrs: inlinehint mustprogress nofree nounwind willreturn memory(read) uwtable
declare i32 @atoi(ptr nocapture noundef nonnull) local_unnamed_addr #3

declare void @libxsmm_init() local_unnamed_addr #2

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

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #5

; Function Attrs: nounwind
declare void @llvm.x86.sse2.pause() #6

; Function Attrs: nounwind
declare i32 @sched_yield() local_unnamed_addr #7

; Function Attrs: inlinehint nounwind uwtable
declare hidden i64 @libxsmm_timer_ncycles(i64 noundef, i64 noundef) local_unnamed_addr #8

declare double @libxsmm_timer_duration(i64 noundef, i64 noundef) local_unnamed_addr #2

; Function Attrs: nounwind
declare i32 @pthread_mutexattr_init(ptr noundef) local_unnamed_addr #7

; Function Attrs: nounwind
declare i32 @pthread_mutexattr_settype(ptr noundef, i32 noundef) local_unnamed_addr #7

; Function Attrs: nounwind
declare i32 @pthread_mutex_init(ptr noundef, ptr noundef) local_unnamed_addr #7

; Function Attrs: nounwind
declare i32 @pthread_mutexattr_destroy(ptr noundef) local_unnamed_addr #7

; Function Attrs: nounwind
declare i32 @pthread_mutex_lock(ptr noundef) local_unnamed_addr #7

; Function Attrs: nounwind
declare i32 @pthread_mutex_unlock(ptr noundef) local_unnamed_addr #7

; Function Attrs: nounwind
declare i32 @pthread_mutex_destroy(ptr noundef) local_unnamed_addr #7

; Function Attrs: nounwind
declare i32 @pthread_rwlockattr_init(ptr noundef) local_unnamed_addr #7

; Function Attrs: nounwind
declare i32 @pthread_rwlock_init(ptr noundef, ptr noundef) local_unnamed_addr #7

; Function Attrs: nounwind
declare i32 @pthread_rwlockattr_destroy(ptr noundef) local_unnamed_addr #7

; Function Attrs: nounwind
declare i32 @pthread_rwlock_rdlock(ptr noundef) local_unnamed_addr #7

; Function Attrs: nounwind
declare i32 @pthread_rwlock_unlock(ptr noundef) local_unnamed_addr #7

; Function Attrs: nounwind
declare i32 @pthread_rwlock_wrlock(ptr noundef) local_unnamed_addr #7

; Function Attrs: nounwind
declare i32 @pthread_rwlock_destroy(ptr noundef) local_unnamed_addr #7

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.smax.i32(i32, i32) #9

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.umin.i32(i32, i32) #9

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 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "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 = { inlinehint mustprogress nofree nounwind willreturn memory(read) 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 #4 = { 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" }
attributes #5 = { noreturn 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" }
attributes #6 = { nounwind }
attributes #7 = { 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" }
attributes #8 = { inlinehint 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 #9 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #10 = { nounwind willreturn memory(read) }
attributes #11 = { noreturn 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, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.unroll.disable"}
!15 = distinct !{!15, !12}
!16 = distinct !{!16, !12}
!17 = distinct !{!17, !14}
!18 = distinct !{!18, !12}
!19 = distinct !{!19, !12}
!20 = distinct !{!20, !14}
!21 = distinct !{!21, !12}
!22 = distinct !{!22, !12}
!23 = distinct !{!23, !14}
!24 = distinct !{!24, !12}
!25 = distinct !{!25, !12}
!26 = distinct !{!26, !12}
!27 = distinct !{!27, !14}
!28 = distinct !{!28, !12}
!29 = distinct !{!29, !12}
!30 = distinct !{!30, !14}
!31 = distinct !{!31, !12}
!32 = distinct !{!32, !12}
!33 = distinct !{!33, !14}
!34 = distinct !{!34, !12}
!35 = distinct !{!35, !12}
!36 = distinct !{!36, !14}
!37 = distinct !{!37, !12}
!38 = distinct !{!38, !12}
!39 = distinct !{!39, !12}
!40 = distinct !{!40, !14}
!41 = distinct !{!41, !12}
!42 = distinct !{!42, !12}
!43 = distinct !{!43, !14}
!44 = distinct !{!44, !12}
!45 = distinct !{!45, !12}
!46 = distinct !{!46, !12}
!47 = distinct !{!47, !12}
!48 = distinct !{!48, !12}
!49 = distinct !{!49, !12}
!50 = distinct !{!50, !12}
!51 = distinct !{!51, !12}


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