; LLVM IR from libxsmm/libxsmm :: tests (memory)

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

@__const.main.init = external hidden unnamed_addr constant [44 x i8], align 16
@.str = external hidden unnamed_addr constant [12 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [8 x i8], align 1
@__const.main.sample = external hidden unnamed_addr constant [4 x ptr], align 16
@.str.20 = external hidden unnamed_addr constant [293 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [64 x i8], align 1
@__PRETTY_FUNCTION__.main = external hidden unnamed_addr constant [23 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [225 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [61 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [68 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [59 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [56 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [48 x i8], align 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 [96 x i8], align 16
  %7 = alloca i64, align 8
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca [44 x i8], align 16
  %11 = alloca i32, align 4
  %12 = alloca [4 x ptr], align 16
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca ptr, align 8
  %18 = alloca i32, align 4
  %19 = alloca i64, align 8
  %20 = alloca i64, align 8
  %21 = alloca i64, align 8
  %22 = alloca i8, align 1
  %23 = alloca ptr, align 8
  %24 = alloca i8, align 1
  %25 = alloca i32, align 4
  %26 = alloca [44 x i8], align 16
  %27 = alloca i64, align 8
  %28 = alloca i64, align 8
  %29 = alloca i64, align 8
  %30 = alloca i64, align 8
  %31 = alloca i64, align 8
  %32 = alloca i8, align 1
  %33 = alloca ptr, align 8
  %34 = alloca i8, align 1
  %35 = alloca [44 x i8], align 16
  %36 = alloca [44 x i8], align 16
  %37 = alloca i64, align 8
  %38 = alloca i64, align 8
  %39 = alloca i64, align 8
  %40 = alloca i64, align 8
  %41 = alloca [44 x i8], align 16
  %42 = alloca [44 x i8], align 16
  %43 = alloca i64, align 8
  %44 = alloca i64, align 8
  %45 = alloca i64, align 8
  %46 = alloca i64, align 8
  %47 = alloca i64, align 8
  %48 = alloca i64, align 8
  %49 = alloca i32, align 4
  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 96, ptr %6) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #10
  store i64 96, ptr %7, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #10
  store i32 1000, ptr %8, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #10
  store i32 1000, ptr %9, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 44, ptr %10) #10
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %10, ptr align 16 @__const.main.init, i64 44, i1 false)
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #10
  store i32 0, ptr %11, align 4, !tbaa !5
  %50 = load i32, ptr %4, align 4, !tbaa !5
  %51 = load ptr, ptr %5, align 8, !tbaa !9
  %52 = load i32, ptr %11, align 4, !tbaa !5
  %53 = icmp eq i32 0, %52
  br i1 %53, label %54, label %58

54:                                               ; preds = %2
  %55 = call ptr @libxsmm_stristr(ptr noundef @.str, ptr noundef @.str.1)
  %56 = icmp ne ptr null, %55
  br i1 %56, label %57, label %58

57:                                               ; preds = %54
  store i32 1, ptr %11, align 4, !tbaa !5
  br label %58

58:                                               ; preds = %57, %54, %2
  %59 = load i32, ptr %11, align 4, !tbaa !5
  %60 = icmp eq i32 0, %59
  br i1 %60, label %61, label %65

61:                                               ; preds = %58
  %62 = call ptr @libxsmm_stristr(ptr noundef @.str.2, ptr noundef @.str.3)
  %63 = icmp eq ptr null, %62
  br i1 %63, label %64, label %65

64:                                               ; preds = %61
  store i32 1, ptr %11, align 4, !tbaa !5
  br label %65

65:                                               ; preds = %64, %61, %58
  %66 = load i32, ptr %11, align 4, !tbaa !5
  %67 = icmp eq i32 0, %66
  br i1 %67, label %68, label %72

68:                                               ; preds = %65
  %69 = call ptr @libxsmm_stristr(ptr noundef @.str.4, ptr noundef @.str.5)
  %70 = icmp eq ptr null, %69
  br i1 %70, label %71, label %72

71:                                               ; preds = %68
  store i32 1, ptr %11, align 4, !tbaa !5
  br label %72

72:                                               ; preds = %71, %68, %65
  %73 = load i32, ptr %11, align 4, !tbaa !5
  %74 = icmp eq i32 0, %73
  br i1 %74, label %75, label %79

75:                                               ; preds = %72
  %76 = call ptr @libxsmm_stristr(ptr noundef null, ptr noundef @.str.6)
  %77 = icmp ne ptr null, %76
  br i1 %77, label %78, label %79

78:                                               ; preds = %75
  store i32 1, ptr %11, align 4, !tbaa !5
  br label %79

79:                                               ; preds = %78, %75, %72
  %80 = load i32, ptr %11, align 4, !tbaa !5
  %81 = icmp eq i32 0, %80
  br i1 %81, label %82, label %86

82:                                               ; preds = %79
  %83 = call ptr @libxsmm_stristr(ptr noundef @.str.7, ptr noundef null)
  %84 = icmp ne ptr null, %83
  br i1 %84, label %85, label %86

85:                                               ; preds = %82
  store i32 1, ptr %11, align 4, !tbaa !5
  br label %86

86:                                               ; preds = %85, %82, %79
  %87 = load i32, ptr %11, align 4, !tbaa !5
  %88 = icmp eq i32 0, %87
  br i1 %88, label %89, label %93

89:                                               ; preds = %86
  %90 = call ptr @libxsmm_stristr(ptr noundef null, ptr noundef null)
  %91 = icmp ne ptr null, %90
  br i1 %91, label %92, label %93

92:                                               ; preds = %89
  store i32 1, ptr %11, align 4, !tbaa !5
  br label %93

93:                                               ; preds = %92, %89, %86
  %94 = load i32, ptr %11, align 4, !tbaa !5
  %95 = icmp eq i32 0, %94
  br i1 %95, label %96, label %100

96:                                               ; preds = %93
  %97 = call i32 @libxsmm_strimatch(ptr noundef @.str.8, ptr noundef @.str.9, ptr noundef null)
  %98 = icmp ne i32 2, %97
  br i1 %98, label %99, label %100

99:                                               ; preds = %96
  store i32 1, ptr %11, align 4, !tbaa !5
  br label %100

100:                                              ; preds = %99, %96, %93
  %101 = load i32, ptr %11, align 4, !tbaa !5
  %102 = icmp eq i32 0, %101
  br i1 %102, label %103, label %107

103:                                              ; preds = %100
  %104 = call i32 @libxsmm_strimatch(ptr noundef @.str.9, ptr noundef @.str.8, ptr noundef null)
  %105 = icmp ne i32 2, %104
  br i1 %105, label %106, label %107

106:                                              ; preds = %103
  store i32 1, ptr %11, align 4, !tbaa !5
  br label %107

107:                                              ; preds = %106, %103, %100
  %108 = load i32, ptr %11, align 4, !tbaa !5
  %109 = icmp eq i32 0, %108
  br i1 %109, label %110, label %114

110:                                              ; preds = %107
  %111 = call i32 @libxsmm_strimatch(ptr noundef @.str.8, ptr noundef @.str.10, ptr noundef null)
  %112 = icmp ne i32 3, %111
  br i1 %112, label %113, label %114

113:                                              ; preds = %110
  store i32 1, ptr %11, align 4, !tbaa !5
  br label %114

114:                                              ; preds = %113, %110, %107
  %115 = load i32, ptr %11, align 4, !tbaa !5
  %116 = icmp eq i32 0, %115
  br i1 %116, label %117, label %121

117:                                              ; preds = %114
  %118 = call i32 @libxsmm_strimatch(ptr noundef @.str.10, ptr noundef @.str.8, ptr noundef null)
  %119 = icmp ne i32 3, %118
  br i1 %119, label %120, label %121

120:                                              ; preds = %117
  store i32 1, ptr %11, align 4, !tbaa !5
  br label %121

121:                                              ; preds = %120, %117, %114
  %122 = load i32, ptr %11, align 4, !tbaa !5
  %123 = icmp eq i32 0, %122
  br i1 %123, label %124, label %128

124:                                              ; preds = %121
  %125 = call i32 @libxsmm_strimatch(ptr noundef @.str.10, ptr noundef @.str.8, ptr noundef null)
  %126 = icmp ne i32 3, %125
  br i1 %126, label %127, label %128

127:                                              ; preds = %124
  store i32 1, ptr %11, align 4, !tbaa !5
  br label %128

128:                                              ; preds = %127, %124, %121
  %129 = load i32, ptr %11, align 4, !tbaa !5
  %130 = icmp eq i32 0, %129
  br i1 %130, label %131, label %135

131:                                              ; preds = %128
  %132 = call i32 @libxsmm_strimatch(ptr noundef @.str.8, ptr noundef @.str.10, ptr noundef null)
  %133 = icmp ne i32 3, %132
  br i1 %133, label %134, label %135

134:                                              ; preds = %131
  store i32 1, ptr %11, align 4, !tbaa !5
  br label %135

135:                                              ; preds = %134, %131, %128
  %136 = load i32, ptr %11, align 4, !tbaa !5
  %137 = icmp eq i32 0, %136
  br i1 %137, label %138, label %142

138:                                              ; preds = %135
  %139 = call i32 @libxsmm_strimatch(ptr noundef @.str.11, ptr noundef @.str.8, ptr noundef null)
  %140 = icmp ne i32 3, %139
  br i1 %140, label %141, label %142

141:                                              ; preds = %138
  store i32 1, ptr %11, align 4, !tbaa !5
  br label %142

142:                                              ; preds = %141, %138, %135
  %143 = load i32, ptr %11, align 4, !tbaa !5
  %144 = icmp eq i32 0, %143
  br i1 %144, label %145, label %149

145:                                              ; preds = %142
  %146 = call i32 @libxsmm_strimatch(ptr noundef @.str.8, ptr noundef @.str.11, ptr noundef null)
  %147 = icmp ne i32 3, %146
  br i1 %147, label %148, label %149

148:                                              ; preds = %145
  store i32 1, ptr %11, align 4, !tbaa !5
  br label %149

149:                                              ; preds = %148, %145, %142
  %150 = load i32, ptr %11, align 4, !tbaa !5
  %151 = icmp eq i32 0, %150
  br i1 %151, label %152, label %156

152:                                              ; preds = %149
  %153 = call i32 @libxsmm_strimatch(ptr noundef @.str.12, ptr noundef @.str.13, ptr noundef null)
  %154 = icmp ne i32 3, %153
  br i1 %154, label %155, label %156

155:                                              ; preds = %152
  store i32 1, ptr %11, align 4, !tbaa !5
  br label %156

156:                                              ; preds = %155, %152, %149
  %157 = load i32, ptr %11, align 4, !tbaa !5
  %158 = icmp eq i32 0, %157
  br i1 %158, label %159, label %163

159:                                              ; preds = %156
  %160 = call i32 @libxsmm_strimatch(ptr noundef @.str.13, ptr noundef @.str.12, ptr noundef null)
  %161 = icmp ne i32 3, %160
  br i1 %161, label %162, label %163

162:                                              ; preds = %159
  store i32 1, ptr %11, align 4, !tbaa !5
  br label %163

163:                                              ; preds = %162, %159, %156
  %164 = load i32, ptr %11, align 4, !tbaa !5
  %165 = icmp eq i32 0, %164
  br i1 %165, label %166, label %170

166:                                              ; preds = %163
  %167 = call i32 @libxsmm_strimatch(ptr noundef @.str.14, ptr noundef @.str.15, ptr noundef null)
  %168 = icmp ne i32 1, %167
  br i1 %168, label %169, label %170

169:                                              ; preds = %166
  store i32 1, ptr %11, align 4, !tbaa !5
  br label %170

170:                                              ; preds = %169, %166, %163
  %171 = load i32, ptr %11, align 4, !tbaa !5
  %172 = icmp eq i32 0, %171
  br i1 %172, label %173, label %177

173:                                              ; preds = %170
  %174 = call i32 @libxsmm_strimatch(ptr noundef @.str.15, ptr noundef @.str.14, ptr noundef null)
  %175 = icmp ne i32 1, %174
  br i1 %175, label %176, label %177

176:                                              ; preds = %173
  store i32 1, ptr %11, align 4, !tbaa !5
  br label %177

177:                                              ; preds = %176, %173, %170
  %178 = load i32, ptr %11, align 4, !tbaa !5
  %179 = icmp eq i32 0, %178
  br i1 %179, label %180, label %230

180:                                              ; preds = %177
  call void @llvm.lifetime.start.p0(i64 32, ptr %12) #10
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %12, ptr align 16 @__const.main.sample, i64 32, i1 false)
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #10
  store i32 0, ptr %13, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #10
  store i32 0, ptr %14, align 4, !tbaa !5
  br label %181

181:                                              ; preds = %202, %180
  %182 = load i32, ptr %14, align 4, !tbaa !5
  %183 = icmp slt i32 %182, 4
  br i1 %183, label %184, label %205

184:                                              ; preds = %181
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #10
  %185 = getelementptr inbounds [44 x i8], ptr %10, i64 0, i64 0
  %186 = load i32, ptr %14, align 4, !tbaa !5
  %187 = sext i32 %186 to i64
  %188 = getelementptr inbounds [4 x ptr], ptr %12, i64 0, i64 %187
  %189 = load ptr, ptr %188, align 8, !tbaa !9
  %190 = call i32 @libxsmm_strimatch(ptr noundef %185, ptr noundef %189, ptr noundef null)
  store i32 %190, ptr %15, align 4, !tbaa !5
  %191 = load i32, ptr %13, align 4, !tbaa !5
  %192 = load i32, ptr %15, align 4, !tbaa !5
  %193 = icmp slt i32 %191, %192
  br i1 %193, label %194, label %196

194:                                              ; preds = %184
  %195 = load i32, ptr %15, align 4, !tbaa !5
  store i32 %195, ptr %13, align 4, !tbaa !5
  br label %201

196:                                              ; preds = %184
  %197 = load i32, ptr %15, align 4, !tbaa !5
  %198 = icmp sgt i32 0, %197
  br i1 %198, label %199, label %200

199:                                              ; preds = %196
  store i32 1, ptr %11, align 4, !tbaa !5
  br label %200

200:                                              ; preds = %199, %196
  br label %201

201:                                              ; preds = %200, %194
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #10
  br label %202

202:                                              ; preds = %201
  %203 = load i32, ptr %14, align 4, !tbaa !5
  %204 = add nsw i32 %203, 1
  store i32 %204, ptr %14, align 4, !tbaa !5
  br label %181, !llvm.loop !13

205:                                              ; preds = %181
  %206 = load i32, ptr %11, align 4, !tbaa !5
  %207 = icmp eq i32 0, %206
  br i1 %207, label %208, label %229

208:                                              ; preds = %205
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #10
  store i32 0, ptr %16, align 4, !tbaa !5
  %209 = load i32, ptr %13, align 4, !tbaa !5
  %210 = icmp slt i32 0, %209
  br i1 %210, label %211, label %221

211:                                              ; preds = %208
  %212 = getelementptr inbounds [44 x i8], ptr %10, i64 0, i64 0
  %213 = getelementptr inbounds [44 x i8], ptr %10, i64 0, i64 0
  %214 = call i32 @libxsmm_strimatch(ptr noundef %212, ptr noundef %213, ptr noundef null)
  store i32 %214, ptr %16, align 4, !tbaa !5
  br label %215

215:                                              ; preds = %211
  br label %216

216:                                              ; preds = %215
  br label %217

217:                                              ; preds = %216
  br label %218

218:                                              ; preds = %217
  br label %219

219:                                              ; preds = %218
  br label %220

220:                                              ; preds = %219
  br label %221

221:                                              ; preds = %220, %208
  %222 = load i32, ptr %16, align 4, !tbaa !5
  %223 = icmp ne i32 9, %222
  br i1 %223, label %227, label %224

224:                                              ; preds = %221
  %225 = load i32, ptr %13, align 4, !tbaa !5
  %226 = icmp ne i32 8, %225
  br i1 %226, label %227, label %228

227:                                              ; preds = %224, %221
  store i32 1, ptr %11, align 4, !tbaa !5
  br label %228

228:                                              ; preds = %227, %224
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #10
  br label %229

229:                                              ; preds = %228, %205
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr %12) #10
  br label %230

230:                                              ; preds = %229, %177
  %231 = load i32, ptr %11, align 4, !tbaa !5
  %232 = icmp eq i32 0, %231
  br i1 %232, label %233, label %353

233:                                              ; preds = %230
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #10
  %234 = call noalias ptr @malloc(i64 noundef 96000) #11
  store ptr %234, ptr %17, align 8, !tbaa !9
  %235 = load ptr, ptr %17, align 8, !tbaa !9
  %236 = icmp ne ptr null, %235
  br i1 %236, label %237, label %351

237:                                              ; preds = %233
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #10
  store i32 0, ptr %18, align 4, !tbaa !5
  %238 = load ptr, ptr %17, align 8, !tbaa !9
  call void @libxsmm_rng_seq(ptr noundef %238, i64 noundef 96000)
  br label %239

239:                                              ; preds = %346, %237
  %240 = load i32, ptr %18, align 4, !tbaa !5
  %241 = icmp slt i32 %240, 1000
  br i1 %241, label %242, label %349

242:                                              ; preds = %239
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #10
  %243 = call i32 @libxsmm_rng_u32(i32 noundef 1000)
  %244 = zext i32 %243 to i64
  store i64 %244, ptr %19, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #10
  %245 = call i32 @libxsmm_rng_u32(i32 noundef 96)
  %246 = add i32 %245, 1
  %247 = zext i32 %246 to i64
  store i64 %247, ptr %20, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #10
  %248 = load i64, ptr %20, align 8, !tbaa !11
  store i64 %248, ptr %21, align 8, !tbaa !11
  %249 = getelementptr inbounds [96 x i8], ptr %6, i64 0, i64 0
  %250 = load i64, ptr %20, align 8, !tbaa !11
  call void @libxsmm_rng_seq(ptr noundef %249, i64 noundef %250)
  br label %251

251:                                              ; preds = %257, %242
  %252 = load i64, ptr %21, align 8, !tbaa !11
  %253 = icmp ult i64 %252, 96
  br i1 %253, label %254, label %260

254:                                              ; preds = %251
  %255 = load i64, ptr %21, align 8, !tbaa !11
  %256 = getelementptr inbounds [96 x i8], ptr %6, i64 0, i64 %255
  store i8 0, ptr %256, align 1, !tbaa !15
  br label %257

257:                                              ; preds = %254
  %258 = load i64, ptr %21, align 8, !tbaa !11
  %259 = add i64 %258, 1
  store i64 %259, ptr %21, align 8, !tbaa !11
  br label %251, !llvm.loop !16

260:                                              ; preds = %251
  br label %261

261:                                              ; preds = %260
  call void @llvm.lifetime.start.p0(i64 1, ptr %22) #10
  store i8 96, ptr %22, align 1, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #10
  %262 = load ptr, ptr %17, align 8, !tbaa !9
  %263 = load i64, ptr %19, align 8, !tbaa !11
  %264 = mul i64 96, %263
  %265 = getelementptr inbounds i8, ptr %262, i64 %264
  store ptr %265, ptr %23, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr %24) #10
  store i8 0, ptr %24, align 1, !tbaa !15
  br label %266

266:                                              ; preds = %282, %261
  %267 = load i8, ptr %24, align 1, !tbaa !15
  %268 = sext i8 %267 to i32
  %269 = load i8, ptr %22, align 1, !tbaa !15
  %270 = sext i8 %269 to i32
  %271 = icmp slt i32 %268, %270
  br i1 %271, label %272, label %285

272:                                              ; preds = %266
  %273 = getelementptr inbounds [96 x i8], ptr %6, i64 0, i64 0
  %274 = load i8, ptr %24, align 1, !tbaa !15
  %275 = sext i8 %274 to i64
  %276 = getelementptr inbounds i8, ptr %273, i64 %275
  %277 = load i8, ptr %276, align 1, !tbaa !15
  %278 = load ptr, ptr %23, align 8, !tbaa !9
  %279 = load i8, ptr %24, align 1, !tbaa !15
  %280 = sext i8 %279 to i64
  %281 = getelementptr inbounds i8, ptr %278, i64 %280
  store i8 %277, ptr %281, align 1, !tbaa !15
  br label %282

282:                                              ; preds = %272
  %283 = load i8, ptr %24, align 1, !tbaa !15
  %284 = add i8 %283, 1
  store i8 %284, ptr %24, align 1, !tbaa !15
  br label %266, !llvm.loop !17

285:                                              ; preds = %266
  call void @llvm.lifetime.end.p0(i64 1, ptr %24) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr %22) #10
  br label %286

286:                                              ; preds = %285
  br label %287

287:                                              ; preds = %286
  %288 = getelementptr inbounds [96 x i8], ptr %6, i64 0, i64 0
  %289 = load ptr, ptr %17, align 8, !tbaa !9
  %290 = load i64, ptr %20, align 8, !tbaa !11
  %291 = trunc i64 %290 to i8
  %292 = call i32 @libxsmm_diff_n(ptr noundef %288, ptr noundef %289, i8 noundef zeroext %291, i8 noundef zeroext 96, i32 noundef 0, i32 noundef 1000)
  %293 = zext i32 %292 to i64
  store i64 %293, ptr %21, align 8, !tbaa !11
  br label %294

294:                                              ; preds = %332, %287
  %295 = load i64, ptr %21, align 8, !tbaa !11
  %296 = load i64, ptr %19, align 8, !tbaa !11
  %297 = icmp ult i64 %295, %296
  br i1 %297, label %298, label %338

298:                                              ; preds = %294
  %299 = getelementptr inbounds [96 x i8], ptr %6, i64 0, i64 0
  %300 = load ptr, ptr %17, align 8, !tbaa !9
  %301 = load i64, ptr %20, align 8, !tbaa !11
  %302 = trunc i64 %301 to i8
  %303 = load i64, ptr %21, align 8, !tbaa !11
  %304 = add i64 %303, 1
  %305 = trunc i64 %304 to i32
  %306 = icmp eq i32 0, %305
  br i1 %306, label %312, label %307

307:                                              ; preds = %298
  %308 = load i64, ptr %21, align 8, !tbaa !11
  %309 = add i64 %308, 1
  %310 = trunc i64 %309 to i32
  %311 = icmp ult i32 0, %310
  br i1 %311, label %312, label %331

312:                                              ; preds = %307, %298
  %313 = load i64, ptr %21, align 8, !tbaa !11
  %314 = add i64 %313, 1
  %315 = mul i64 1, %314
  %316 = icmp ult i64 %315, 4294967295
  br i1 %316, label %317, label %321

317:                                              ; preds = %312
  %318 = load i64, ptr %21, align 8, !tbaa !11
  %319 = add i64 %318, 1
  %320 = mul i64 1, %319
  br label %322

321:                                              ; preds = %312
  br label %322

322:                                              ; preds = %321, %317
  %323 = phi i64 [ %320, %317 ], [ 4294967295, %321 ]
  %324 = icmp ule i64 %323, 4294967295
  br i1 %324, label %325, label %331

325:                                              ; preds = %322
  %326 = load i64, ptr %21, align 8, !tbaa !11
  %327 = add i64 %326, 1
  %328 = uitofp i64 %327 to double
  %329 = fcmp ole double 0.000000e+00, %328
  br i1 %329, label %330, label %331

330:                                              ; preds = %325
  br label %332

331:                                              ; preds = %325, %322, %307
  call void @__assert_fail(ptr noundef @.str.20, ptr noundef @.str.21, i32 noundef 105, ptr noundef @__PRETTY_FUNCTION__.main) #12
  unreachable

332:                                              ; preds = %330
  %333 = load i64, ptr %21, align 8, !tbaa !11
  %334 = add i64 %333, 1
  %335 = trunc i64 %334 to i32
  %336 = call i32 @libxsmm_diff_n(ptr noundef %299, ptr noundef %300, i8 noundef zeroext %302, i8 noundef zeroext 96, i32 noundef %335, i32 noundef 1000)
  %337 = zext i32 %336 to i64
  store i64 %337, ptr %21, align 8, !tbaa !11
  br label %294, !llvm.loop !19

338:                                              ; preds = %294
  %339 = load i64, ptr %21, align 8, !tbaa !11
  %340 = load i64, ptr %19, align 8, !tbaa !11
  %341 = icmp eq i64 %339, %340
  br i1 %341, label %342, label %343

342:                                              ; preds = %338
  store i32 11, ptr %25, align 4
  br label %344

343:                                              ; preds = %338
  store i32 1, ptr %11, align 4, !tbaa !5
  store i32 9, ptr %25, align 4
  br label %344

344:                                              ; preds = %343, %342
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #10
  %345 = load i32, ptr %25, align 4
  switch i32 %345, label %748 [
    i32 11, label %346
    i32 9, label %349
  ]

346:                                              ; preds = %344
  %347 = load i32, ptr %18, align 4, !tbaa !5
  %348 = add nsw i32 %347, 1
  store i32 %348, ptr %18, align 4, !tbaa !5
  br label %239, !llvm.loop !20

349:                                              ; preds = %344, %239
  %350 = load ptr, ptr %17, align 8, !tbaa !9
  call void @free(ptr noundef %350) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #10
  br label %352

351:                                              ; preds = %233
  store i32 1, ptr %11, align 4, !tbaa !5
  br label %352

352:                                              ; preds = %351, %349
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #10
  br label %353

353:                                              ; preds = %352, %230
  %354 = load i32, ptr %11, align 4, !tbaa !5
  %355 = icmp eq i32 0, %354
  br i1 %355, label %356, label %528

356:                                              ; preds = %353
  call void @llvm.lifetime.start.p0(i64 44, ptr %26) #10
  call void @llvm.memset.p0.i64(ptr align 16 %26, i8 0, i64 44, i1 false)
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #10
  store i64 44, ptr %27, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #10
  %357 = getelementptr inbounds [44 x i8], ptr %26, i64 0, i64 0
  %358 = getelementptr inbounds [44 x i8], ptr %10, i64 0, i64 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %357, ptr align 16 %358, i64 44, i1 false)
  store i64 1, ptr %30, align 8, !tbaa !11
  br label %359

359:                                              ; preds = %524, %356
  %360 = load i64, ptr %30, align 8, !tbaa !11
  %361 = icmp ule i64 %360, 8
  br i1 %361, label %362, label %527

362:                                              ; preds = %359
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #10
  %363 = load i64, ptr %30, align 8, !tbaa !11
  %364 = udiv i64 43, %363
  store i64 %364, ptr %31, align 8, !tbaa !11
  store i64 0, ptr %29, align 8, !tbaa !11
  br label %365

365:                                              ; preds = %508, %362
  %366 = load i64, ptr %29, align 8, !tbaa !11
  %367 = load i64, ptr %31, align 8, !tbaa !11
  %368 = icmp ult i64 %366, %367
  br i1 %368, label %369, label %511

369:                                              ; preds = %365
  store i64 0, ptr %28, align 8, !tbaa !11
  br label %370

370:                                              ; preds = %504, %369
  %371 = load i64, ptr %28, align 8, !tbaa !11
  %372 = load i64, ptr %31, align 8, !tbaa !11
  %373 = sub i64 %372, 1
  %374 = icmp ult i64 %371, %373
  br i1 %374, label %375, label %507

375:                                              ; preds = %370
  br label %376

376:                                              ; preds = %375
  %377 = getelementptr inbounds [44 x i8], ptr %26, i64 0, i64 0
  %378 = load i64, ptr %30, align 8, !tbaa !11
  %379 = load i64, ptr %28, align 8, !tbaa !11
  %380 = mul i64 %378, %379
  %381 = getelementptr inbounds i8, ptr %377, i64 %380
  %382 = getelementptr inbounds [44 x i8], ptr %26, i64 0, i64 0
  %383 = load i64, ptr %30, align 8, !tbaa !11
  %384 = load i64, ptr %28, align 8, !tbaa !11
  %385 = mul i64 %383, %384
  %386 = getelementptr inbounds i8, ptr %382, i64 %385
  %387 = load i64, ptr %30, align 8, !tbaa !11
  %388 = getelementptr inbounds i8, ptr %386, i64 %387
  %389 = icmp ne ptr %381, %388
  br i1 %389, label %390, label %391

390:                                              ; preds = %376
  br label %392

391:                                              ; preds = %376
  call void @__assert_fail(ptr noundef @.str.22, ptr noundef @.str.21, i32 noundef 129, ptr noundef @__PRETTY_FUNCTION__.main) #12
  unreachable

392:                                              ; preds = %390
  br label %393

393:                                              ; preds = %392
  call void @llvm.lifetime.start.p0(i64 1, ptr %32) #10
  %394 = load i64, ptr %30, align 8, !tbaa !11
  %395 = trunc i64 %394 to i8
  %396 = sext i8 %395 to i32
  %397 = icmp eq i32 -128, %396
  br i1 %397, label %403, label %398

398:                                              ; preds = %393
  %399 = load i64, ptr %30, align 8, !tbaa !11
  %400 = trunc i64 %399 to i8
  %401 = sext i8 %400 to i32
  %402 = icmp slt i32 -128, %401
  br i1 %402, label %403, label %420

403:                                              ; preds = %398, %393
  %404 = load i64, ptr %30, align 8, !tbaa !11
  %405 = mul i64 1, %404
  %406 = icmp ult i64 %405, 127
  br i1 %406, label %407, label %410

407:                                              ; preds = %403
  %408 = load i64, ptr %30, align 8, !tbaa !11
  %409 = mul i64 1, %408
  br label %411

410:                                              ; preds = %403
  br label %411

411:                                              ; preds = %410, %407
  %412 = phi i64 [ %409, %407 ], [ 127, %410 ]
  %413 = icmp ule i64 %412, 127
  br i1 %413, label %414, label %420

414:                                              ; preds = %411
  %415 = load i64, ptr %30, align 8, !tbaa !11
  %416 = uitofp i64 %415 to double
  %417 = fcmp ole double 0.000000e+00, %416
  br i1 %417, label %419, label %418

418:                                              ; preds = %414
  br i1 true, label %419, label %420

419:                                              ; preds = %418, %414
  br label %421

420:                                              ; preds = %418, %411, %398
  call void @__assert_fail(ptr noundef @.str.23, ptr noundef @.str.21, i32 noundef 129, ptr noundef @__PRETTY_FUNCTION__.main) #12
  unreachable

421:                                              ; preds = %419
  %422 = load i64, ptr %30, align 8, !tbaa !11
  %423 = trunc i64 %422 to i8
  store i8 %423, ptr %32, align 1, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #10
  %424 = getelementptr inbounds [44 x i8], ptr %26, i64 0, i64 0
  %425 = load i64, ptr %30, align 8, !tbaa !11
  %426 = load i64, ptr %28, align 8, !tbaa !11
  %427 = mul i64 %425, %426
  %428 = getelementptr inbounds i8, ptr %424, i64 %427
  store ptr %428, ptr %33, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr %34) #10
  store i8 0, ptr %34, align 1, !tbaa !15
  br label %429

429:                                              ; preds = %496, %421
  %430 = load i8, ptr %34, align 1, !tbaa !15
  %431 = sext i8 %430 to i32
  %432 = load i8, ptr %32, align 1, !tbaa !15
  %433 = sext i8 %432 to i32
  %434 = icmp slt i32 %431, %433
  br i1 %434, label %435, label %499

435:                                              ; preds = %429
  %436 = getelementptr inbounds [44 x i8], ptr %26, i64 0, i64 0
  %437 = load i64, ptr %30, align 8, !tbaa !11
  %438 = load i64, ptr %28, align 8, !tbaa !11
  %439 = mul i64 %437, %438
  %440 = getelementptr inbounds i8, ptr %436, i64 %439
  %441 = load i64, ptr %30, align 8, !tbaa !11
  %442 = getelementptr inbounds i8, ptr %440, i64 %441
  %443 = load i8, ptr %34, align 1, !tbaa !15
  %444 = sext i8 %443 to i64
  %445 = getelementptr inbounds i8, ptr %442, i64 %444
  %446 = load i8, ptr %445, align 1, !tbaa !15
  %447 = zext i8 %446 to i32
  %448 = load ptr, ptr %33, align 8, !tbaa !9
  %449 = load i8, ptr %34, align 1, !tbaa !15
  %450 = sext i8 %449 to i64
  %451 = getelementptr inbounds i8, ptr %448, i64 %450
  %452 = load i8, ptr %451, align 1, !tbaa !15
  %453 = zext i8 %452 to i32
  %454 = xor i32 %453, %447
  %455 = trunc i32 %454 to i8
  store i8 %455, ptr %451, align 1, !tbaa !15
  %456 = load ptr, ptr %33, align 8, !tbaa !9
  %457 = load i8, ptr %34, align 1, !tbaa !15
  %458 = sext i8 %457 to i64
  %459 = getelementptr inbounds i8, ptr %456, i64 %458
  %460 = load i8, ptr %459, align 1, !tbaa !15
  %461 = zext i8 %460 to i32
  %462 = getelementptr inbounds [44 x i8], ptr %26, i64 0, i64 0
  %463 = load i64, ptr %30, align 8, !tbaa !11
  %464 = load i64, ptr %28, align 8, !tbaa !11
  %465 = mul i64 %463, %464
  %466 = getelementptr inbounds i8, ptr %462, i64 %465
  %467 = load i64, ptr %30, align 8, !tbaa !11
  %468 = getelementptr inbounds i8, ptr %466, i64 %467
  %469 = load i8, ptr %34, align 1, !tbaa !15
  %470 = sext i8 %469 to i64
  %471 = getelementptr inbounds i8, ptr %468, i64 %470
  %472 = load i8, ptr %471, align 1, !tbaa !15
  %473 = zext i8 %472 to i32
  %474 = xor i32 %473, %461
  %475 = trunc i32 %474 to i8
  store i8 %475, ptr %471, align 1, !tbaa !15
  %476 = getelementptr inbounds [44 x i8], ptr %26, i64 0, i64 0
  %477 = load i64, ptr %30, align 8, !tbaa !11
  %478 = load i64, ptr %28, align 8, !tbaa !11
  %479 = mul i64 %477, %478
  %480 = getelementptr inbounds i8, ptr %476, i64 %479
  %481 = load i64, ptr %30, align 8, !tbaa !11
  %482 = getelementptr inbounds i8, ptr %480, i64 %481
  %483 = load i8, ptr %34, align 1, !tbaa !15
  %484 = sext i8 %483 to i64
  %485 = getelementptr inbounds i8, ptr %482, i64 %484
  %486 = load i8, ptr %485, align 1, !tbaa !15
  %487 = zext i8 %486 to i32
  %488 = load ptr, ptr %33, align 8, !tbaa !9
  %489 = load i8, ptr %34, align 1, !tbaa !15
  %490 = sext i8 %489 to i64
  %491 = getelementptr inbounds i8, ptr %488, i64 %490
  %492 = load i8, ptr %491, align 1, !tbaa !15
  %493 = zext i8 %492 to i32
  %494 = xor i32 %493, %487
  %495 = trunc i32 %494 to i8
  store i8 %495, ptr %491, align 1, !tbaa !15
  br label %496

496:                                              ; preds = %435
  %497 = load i8, ptr %34, align 1, !tbaa !15
  %498 = add i8 %497, 1
  store i8 %498, ptr %34, align 1, !tbaa !15
  br label %429, !llvm.loop !21

499:                                              ; preds = %429
  call void @llvm.lifetime.end.p0(i64 1, ptr %34) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr %32) #10
  br label %500

500:                                              ; preds = %499
  br label %501

501:                                              ; preds = %500
  br label %502

502:                                              ; preds = %501
  br label %503

503:                                              ; preds = %502
  br label %504

504:                                              ; preds = %503
  %505 = load i64, ptr %28, align 8, !tbaa !11
  %506 = add i64 %505, 1
  store i64 %506, ptr %28, align 8, !tbaa !11
  br label %370, !llvm.loop !22

507:                                              ; preds = %370
  br label %508

508:                                              ; preds = %507
  %509 = load i64, ptr %29, align 8, !tbaa !11
  %510 = add i64 %509, 1
  store i64 %510, ptr %29, align 8, !tbaa !11
  br label %365, !llvm.loop !23

511:                                              ; preds = %365
  %512 = getelementptr inbounds [44 x i8], ptr %26, i64 0, i64 0
  %513 = getelementptr inbounds [44 x i8], ptr %10, i64 0, i64 0
  %514 = call i32 @strcmp(ptr noundef %512, ptr noundef %513) #13
  %515 = icmp ne i32 0, %514
  br i1 %515, label %516, label %520

516:                                              ; preds = %511
  br label %517

517:                                              ; preds = %516
  br label %518

518:                                              ; preds = %517
  br label %519

519:                                              ; preds = %518
  store i32 1, ptr %11, align 4, !tbaa !5
  store i32 22, ptr %25, align 4
  br label %521

520:                                              ; preds = %511
  store i32 0, ptr %25, align 4
  br label %521

521:                                              ; preds = %520, %519
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #10
  %522 = load i32, ptr %25, align 4
  switch i32 %522, label %748 [
    i32 0, label %523
    i32 22, label %527
  ]

523:                                              ; preds = %521
  br label %524

524:                                              ; preds = %523
  %525 = load i64, ptr %30, align 8, !tbaa !11
  %526 = add i64 %525, 1
  store i64 %526, ptr %30, align 8, !tbaa !11
  br label %359, !llvm.loop !24

527:                                              ; preds = %521, %359
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #10
  call void @llvm.lifetime.end.p0(i64 44, ptr %26) #10
  br label %528

528:                                              ; preds = %527, %353
  %529 = load i32, ptr %11, align 4, !tbaa !5
  %530 = icmp eq i32 0, %529
  br i1 %530, label %531, label %599

531:                                              ; preds = %528
  call void @llvm.lifetime.start.p0(i64 44, ptr %35) #10
  call void @llvm.memset.p0.i64(ptr align 16 %35, i8 0, i64 44, i1 false)
  call void @llvm.lifetime.start.p0(i64 44, ptr %36) #10
  call void @llvm.memset.p0.i64(ptr align 16 %36, i8 0, i64 44, i1 false)
  call void @llvm.lifetime.start.p0(i64 8, ptr %37) #10
  store i64 44, ptr %37, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %38) #10
  store i64 1, ptr %38, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %39) #10
  %532 = getelementptr inbounds [44 x i8], ptr %35, i64 0, i64 0
  %533 = getelementptr inbounds [44 x i8], ptr %10, i64 0, i64 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %532, ptr align 16 %533, i64 44, i1 false)
  br label %534

534:                                              ; preds = %595, %531
  %535 = load i64, ptr %38, align 8, !tbaa !11
  %536 = icmp ult i64 %535, 44
  br i1 %536, label %537, label %598

537:                                              ; preds = %534
  %538 = getelementptr inbounds [44 x i8], ptr %35, i64 0, i64 0
  %539 = load i64, ptr %38, align 8, !tbaa !11
  %540 = sub i64 44, %539
  %541 = call i32 @libxsmm_shuffle(ptr noundef %538, i64 noundef 1, i64 noundef %540, ptr noundef null, ptr noundef null)
  %542 = icmp eq i32 0, %541
  br i1 %542, label %543, label %544

543:                                              ; preds = %537
  br label %545

544:                                              ; preds = %537
  call void @__assert_fail(ptr noundef @.str.24, ptr noundef @.str.21, i32 noundef 146, ptr noundef @__PRETTY_FUNCTION__.main) #12
  unreachable

545:                                              ; preds = %543
  %546 = getelementptr inbounds [44 x i8], ptr %36, i64 0, i64 0
  %547 = getelementptr inbounds [44 x i8], ptr %10, i64 0, i64 0
  %548 = load i64, ptr %38, align 8, !tbaa !11
  %549 = sub i64 44, %548
  %550 = call i32 @libxsmm_shuffle2(ptr noundef %546, ptr noundef %547, i64 noundef 1, i64 noundef %549, ptr noundef null, ptr noundef null)
  %551 = icmp eq i32 0, %550
  br i1 %551, label %552, label %553

552:                                              ; preds = %545
  br label %554

553:                                              ; preds = %545
  call void @__assert_fail(ptr noundef @.str.25, ptr noundef @.str.21, i32 noundef 147, ptr noundef @__PRETTY_FUNCTION__.main) #12
  unreachable

554:                                              ; preds = %552
  %555 = getelementptr inbounds [44 x i8], ptr %35, i64 0, i64 0
  %556 = getelementptr inbounds [44 x i8], ptr %36, i64 0, i64 0
  %557 = load i64, ptr %38, align 8, !tbaa !11
  %558 = sub i64 44, %557
  %559 = call i32 @strncmp(ptr noundef %555, ptr noundef %556, i64 noundef %558) #13
  %560 = icmp eq i32 0, %559
  br i1 %560, label %561, label %590

561:                                              ; preds = %554
  call void @llvm.lifetime.start.p0(i64 8, ptr %40) #10
  %562 = load i64, ptr %38, align 8, !tbaa !11
  %563 = sub i64 44, %562
  %564 = call i64 @libxsmm_unshuffle(i64 noundef %563, ptr noundef null)
  store i64 %564, ptr %40, align 8, !tbaa !11
  store i64 0, ptr %39, align 8, !tbaa !11
  br label %565

565:                                              ; preds = %574, %561
  %566 = load i64, ptr %39, align 8, !tbaa !11
  %567 = load i64, ptr %40, align 8, !tbaa !11
  %568 = icmp ult i64 %566, %567
  br i1 %568, label %569, label %577

569:                                              ; preds = %565
  %570 = getelementptr inbounds [44 x i8], ptr %35, i64 0, i64 0
  %571 = load i64, ptr %38, align 8, !tbaa !11
  %572 = sub i64 44, %571
  %573 = call i32 @libxsmm_shuffle(ptr noundef %570, i64 noundef 1, i64 noundef %572, ptr noundef null, ptr noundef null)
  br label %574

574:                                              ; preds = %569
  %575 = load i64, ptr %39, align 8, !tbaa !11
  %576 = add i64 %575, 1
  store i64 %576, ptr %39, align 8, !tbaa !11
  br label %565, !llvm.loop !25

577:                                              ; preds = %565
  %578 = getelementptr inbounds [44 x i8], ptr %35, i64 0, i64 0
  %579 = getelementptr inbounds [44 x i8], ptr %10, i64 0, i64 0
  %580 = call i32 @strcmp(ptr noundef %578, ptr noundef %579) #13
  %581 = icmp ne i32 0, %580
  br i1 %581, label %582, label %586

582:                                              ; preds = %577
  br label %583

583:                                              ; preds = %582
  br label %584

584:                                              ; preds = %583
  br label %585

585:                                              ; preds = %584
  store i32 1, ptr %11, align 4, !tbaa !5
  store i32 40, ptr %25, align 4
  br label %587

586:                                              ; preds = %577
  store i32 0, ptr %25, align 4
  br label %587

587:                                              ; preds = %586, %585
  call void @llvm.lifetime.end.p0(i64 8, ptr %40) #10
  %588 = load i32, ptr %25, align 4
  switch i32 %588, label %748 [
    i32 0, label %589
    i32 40, label %598
  ]

589:                                              ; preds = %587
  br label %594

590:                                              ; preds = %554
  br label %591

591:                                              ; preds = %590
  br label %592

592:                                              ; preds = %591
  br label %593

593:                                              ; preds = %592
  store i32 1, ptr %11, align 4, !tbaa !5
  br label %598

594:                                              ; preds = %589
  br label %595

595:                                              ; preds = %594
  %596 = load i64, ptr %38, align 8, !tbaa !11
  %597 = add i64 %596, 1
  store i64 %597, ptr %38, align 8, !tbaa !11
  br label %534, !llvm.loop !26

598:                                              ; preds = %593, %587, %534
  call void @llvm.lifetime.end.p0(i64 8, ptr %39) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #10
  call void @llvm.lifetime.end.p0(i64 44, ptr %36) #10
  call void @llvm.lifetime.end.p0(i64 44, ptr %35) #10
  br label %599

599:                                              ; preds = %598, %528
  %600 = load i32, ptr %11, align 4, !tbaa !5
  %601 = icmp eq i32 0, %600
  br i1 %601, label %602, label %745

602:                                              ; preds = %599
  call void @llvm.lifetime.start.p0(i64 44, ptr %41) #10
  call void @llvm.lifetime.start.p0(i64 44, ptr %42) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %43) #10
  store i64 44, ptr %43, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %44) #10
  store i64 0, ptr %44, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %45) #10
  br label %603

603:                                              ; preds = %741, %602
  %604 = load i64, ptr %44, align 8, !tbaa !11
  %605 = icmp ult i64 %604, 44
  br i1 %605, label %606, label %744

606:                                              ; preds = %603
  call void @llvm.lifetime.start.p0(i64 8, ptr %46) #10
  %607 = load i64, ptr %44, align 8, !tbaa !11
  %608 = call i64 @libxsmm_coprime2(i64 noundef %607)
  store i64 %608, ptr %46, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %47) #10
  %609 = load i64, ptr %46, align 8, !tbaa !11
  %610 = load i64, ptr %44, align 8, !tbaa !11
  %611 = call i64 @libxsmm_gcd(i64 noundef %609, i64 noundef %610)
  store i64 %611, ptr %47, align 8, !tbaa !11
  %612 = load i64, ptr %47, align 8, !tbaa !11
  %613 = icmp eq i64 1, %612
  br i1 %613, label %614, label %733

614:                                              ; preds = %606
  call void @llvm.lifetime.start.p0(i64 8, ptr %48) #10
  %615 = load i64, ptr %44, align 8, !tbaa !11
  %616 = call i64 @libxsmm_unshuffle(i64 noundef %615, ptr noundef %46)
  store i64 %616, ptr %48, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %49) #10
  %617 = getelementptr inbounds [44 x i8], ptr %41, i64 0, i64 0
  call void @llvm.memset.p0.i64(ptr align 16 %617, i8 0, i64 44, i1 false)
  %618 = getelementptr inbounds [44 x i8], ptr %41, i64 0, i64 0
  %619 = getelementptr inbounds [44 x i8], ptr %10, i64 0, i64 0
  %620 = load i64, ptr %44, align 8, !tbaa !11
  %621 = call i32 @libxsmm_shuffle2(ptr noundef %618, ptr noundef %619, i64 noundef 1, i64 noundef %620, ptr noundef %46, ptr noundef null)
  %622 = icmp eq i32 0, %621
  br i1 %622, label %623, label %624

623:                                              ; preds = %614
  br label %625

624:                                              ; preds = %614
  call void @__assert_fail(ptr noundef @.str.26, ptr noundef @.str.21, i32 noundef 176, ptr noundef @__PRETTY_FUNCTION__.main) #12
  unreachable

625:                                              ; preds = %623
  %626 = getelementptr inbounds [44 x i8], ptr %41, i64 0, i64 0
  %627 = getelementptr inbounds [44 x i8], ptr %10, i64 0, i64 0
  %628 = load i64, ptr %44, align 8, !tbaa !11
  %629 = call i32 @memcmp(ptr noundef %626, ptr noundef %627, i64 noundef %628) #13
  store i32 %629, ptr %49, align 4, !tbaa !5
  %630 = load i64, ptr %44, align 8, !tbaa !11
  %631 = icmp uge i64 1, %630
  br i1 %631, label %635, label %632

632:                                              ; preds = %625
  %633 = load i32, ptr %49, align 4, !tbaa !5
  %634 = icmp eq i32 0, %633
  br i1 %634, label %635, label %645

635:                                              ; preds = %632, %625
  %636 = load i64, ptr %44, align 8, !tbaa !11
  %637 = icmp ult i64 1, %636
  br i1 %637, label %641, label %638

638:                                              ; preds = %635
  %639 = load i32, ptr %49, align 4, !tbaa !5
  %640 = icmp ne i32 0, %639
  br i1 %640, label %641, label %645

641:                                              ; preds = %638, %635
  br label %642

642:                                              ; preds = %641
  br label %643

643:                                              ; preds = %642
  br label %644

644:                                              ; preds = %643
  store i32 1, ptr %11, align 4, !tbaa !5
  store i32 50, ptr %25, align 4
  br label %730

645:                                              ; preds = %638, %632
  store i64 0, ptr %45, align 8, !tbaa !11
  br label %646

646:                                              ; preds = %693, %645
  %647 = load i64, ptr %45, align 8, !tbaa !11
  %648 = load i64, ptr %48, align 8, !tbaa !11
  %649 = icmp ult i64 %647, %648
  br i1 %649, label %650, label %696

650:                                              ; preds = %646
  %651 = getelementptr inbounds [44 x i8], ptr %42, i64 0, i64 0
  call void @llvm.memset.p0.i64(ptr align 16 %651, i8 0, i64 44, i1 false)
  %652 = getelementptr inbounds [44 x i8], ptr %42, i64 0, i64 0
  %653 = getelementptr inbounds [44 x i8], ptr %41, i64 0, i64 0
  %654 = load i64, ptr %44, align 8, !tbaa !11
  %655 = call i32 @libxsmm_shuffle2(ptr noundef %652, ptr noundef %653, i64 noundef 1, i64 noundef %654, ptr noundef %46, ptr noundef null)
  %656 = icmp eq i32 0, %655
  br i1 %656, label %657, label %658

657:                                              ; preds = %650
  br label %659

658:                                              ; preds = %650
  call void @__assert_fail(ptr noundef @.str.27, ptr noundef @.str.21, i32 noundef 185, ptr noundef @__PRETTY_FUNCTION__.main) #12
  unreachable

659:                                              ; preds = %657
  %660 = load i64, ptr %44, align 8, !tbaa !11
  %661 = icmp ult i64 1, %660
  br i1 %661, label %662, label %672

662:                                              ; preds = %659
  %663 = getelementptr inbounds [44 x i8], ptr %41, i64 0, i64 0
  %664 = getelementptr inbounds [44 x i8], ptr %42, i64 0, i64 0
  %665 = load i64, ptr %44, align 8, !tbaa !11
  %666 = call i32 @memcmp(ptr noundef %663, ptr noundef %664, i64 noundef %665) #13
  %667 = icmp eq i32 0, %666
  br i1 %667, label %668, label %672

668:                                              ; preds = %662
  br label %669

669:                                              ; preds = %668
  br label %670

670:                                              ; preds = %669
  br label %671

671:                                              ; preds = %670
  store i32 1, ptr %11, align 4, !tbaa !5
  br label %696

672:                                              ; preds = %662, %659
  %673 = getelementptr inbounds [44 x i8], ptr %42, i64 0, i64 0
  %674 = getelementptr inbounds [44 x i8], ptr %10, i64 0, i64 0
  %675 = load i64, ptr %44, align 8, !tbaa !11
  %676 = call i32 @memcmp(ptr noundef %673, ptr noundef %674, i64 noundef %675) #13
  %677 = icmp eq i32 0, %676
  br i1 %677, label %678, label %679

678:                                              ; preds = %672
  br label %696

679:                                              ; preds = %672
  %680 = load i64, ptr %48, align 8, !tbaa !11
  %681 = load i64, ptr %45, align 8, !tbaa !11
  %682 = add i64 %681, 1
  %683 = icmp eq i64 %680, %682
  br i1 %683, label %684, label %688

684:                                              ; preds = %679
  br label %685

685:                                              ; preds = %684
  br label %686

686:                                              ; preds = %685
  br label %687

687:                                              ; preds = %686
  store i32 1, ptr %11, align 4, !tbaa !5
  br label %688

688:                                              ; preds = %687, %679
  br label %689

689:                                              ; preds = %688
  %690 = getelementptr inbounds [44 x i8], ptr %41, i64 0, i64 0
  %691 = getelementptr inbounds [44 x i8], ptr %42, i64 0, i64 0
  %692 = load i64, ptr %44, align 8, !tbaa !11
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %690, ptr align 16 %691, i64 %692, i1 false)
  br label %693

693:                                              ; preds = %689
  %694 = load i64, ptr %45, align 8, !tbaa !11
  %695 = add i64 %694, 1
  store i64 %695, ptr %45, align 8, !tbaa !11
  br label %646, !llvm.loop !27

696:                                              ; preds = %678, %671, %646
  %697 = load i32, ptr %11, align 4, !tbaa !5
  %698 = icmp eq i32 0, %697
  br i1 %698, label %699, label %728

699:                                              ; preds = %696
  %700 = getelementptr inbounds [44 x i8], ptr %41, i64 0, i64 0
  call void @llvm.memset.p0.i64(ptr align 16 %700, i8 0, i64 44, i1 false)
  %701 = getelementptr inbounds [44 x i8], ptr %41, i64 0, i64 0
  %702 = getelementptr inbounds [44 x i8], ptr %10, i64 0, i64 0
  %703 = load i64, ptr %44, align 8, !tbaa !11
  %704 = call i32 @libxsmm_shuffle2(ptr noundef %701, ptr noundef %702, i64 noundef 1, i64 noundef %703, ptr noundef %46, ptr noundef null)
  %705 = icmp eq i32 0, %704
  br i1 %705, label %706, label %707

706:                                              ; preds = %699
  br label %708

707:                                              ; preds = %699
  call void @__assert_fail(ptr noundef @.str.26, ptr noundef @.str.21, i32 noundef 200, ptr noundef @__PRETTY_FUNCTION__.main) #12
  unreachable

708:                                              ; preds = %706
  %709 = getelementptr inbounds [44 x i8], ptr %42, i64 0, i64 0
  call void @llvm.memset.p0.i64(ptr align 16 %709, i8 0, i64 44, i1 false)
  %710 = getelementptr inbounds [44 x i8], ptr %42, i64 0, i64 0
  %711 = getelementptr inbounds [44 x i8], ptr %41, i64 0, i64 0
  %712 = load i64, ptr %44, align 8, !tbaa !11
  %713 = call i32 @libxsmm_shuffle2(ptr noundef %710, ptr noundef %711, i64 noundef 1, i64 noundef %712, ptr noundef %46, ptr noundef %48)
  %714 = icmp eq i32 0, %713
  br i1 %714, label %715, label %716

715:                                              ; preds = %708
  br label %717

716:                                              ; preds = %708
  call void @__assert_fail(ptr noundef @.str.28, ptr noundef @.str.21, i32 noundef 202, ptr noundef @__PRETTY_FUNCTION__.main) #12
  unreachable

717:                                              ; preds = %715
  %718 = getelementptr inbounds [44 x i8], ptr %42, i64 0, i64 0
  %719 = getelementptr inbounds [44 x i8], ptr %10, i64 0, i64 0
  %720 = load i64, ptr %44, align 8, !tbaa !11
  %721 = call i32 @memcmp(ptr noundef %718, ptr noundef %719, i64 noundef %720) #13
  %722 = icmp ne i32 0, %721
  br i1 %722, label %723, label %727

723:                                              ; preds = %717
  br label %724

724:                                              ; preds = %723
  br label %725

725:                                              ; preds = %724
  br label %726

726:                                              ; preds = %725
  store i32 1, ptr %11, align 4, !tbaa !5
  store i32 50, ptr %25, align 4
  br label %730

727:                                              ; preds = %717
  br label %729

728:                                              ; preds = %696
  store i32 50, ptr %25, align 4
  br label %730

729:                                              ; preds = %727
  store i32 0, ptr %25, align 4
  br label %730

730:                                              ; preds = %729, %728, %726, %644
  call void @llvm.lifetime.end.p0(i64 4, ptr %49) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %48) #10
  %731 = load i32, ptr %25, align 4
  switch i32 %731, label %738 [
    i32 0, label %732
  ]

732:                                              ; preds = %730
  br label %737

733:                                              ; preds = %606
  br label %734

734:                                              ; preds = %733
  br label %735

735:                                              ; preds = %734
  br label %736

736:                                              ; preds = %735
  store i32 1, ptr %11, align 4, !tbaa !5
  store i32 50, ptr %25, align 4
  br label %738

737:                                              ; preds = %732
  store i32 0, ptr %25, align 4
  br label %738

738:                                              ; preds = %737, %736, %730
  call void @llvm.lifetime.end.p0(i64 8, ptr %47) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %46) #10
  %739 = load i32, ptr %25, align 4
  switch i32 %739, label %748 [
    i32 0, label %740
    i32 50, label %744
  ]

740:                                              ; preds = %738
  br label %741

741:                                              ; preds = %740
  %742 = load i64, ptr %44, align 8, !tbaa !11
  %743 = add i64 %742, 1
  store i64 %743, ptr %44, align 8, !tbaa !11
  br label %603, !llvm.loop !28

744:                                              ; preds = %738, %603
  call void @llvm.lifetime.end.p0(i64 8, ptr %45) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %44) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %43) #10
  call void @llvm.lifetime.end.p0(i64 44, ptr %42) #10
  call void @llvm.lifetime.end.p0(i64 44, ptr %41) #10
  br label %745

745:                                              ; preds = %744, %599
  %746 = load i32, ptr %11, align 4, !tbaa !5
  store i32 %746, ptr %3, align 4
  store i32 1, ptr %25, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #10
  call void @llvm.lifetime.end.p0(i64 44, ptr %10) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #10
  call void @llvm.lifetime.end.p0(i64 96, ptr %6) #10
  %747 = load i32, ptr %3, align 4
  ret i32 %747

748:                                              ; preds = %738, %587, %521, %344
  unreachable
}

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

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2

; Function Attrs: inlinehint nounwind uwtable
declare hidden ptr @libxsmm_stristr(ptr noundef, ptr noundef) #3

; Function Attrs: inlinehint nounwind uwtable
declare hidden i32 @libxsmm_strimatch(ptr noundef, ptr noundef, ptr noundef) #3

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

; Function Attrs: nounwind allocsize(0)
declare noalias ptr @malloc(i64 noundef) #4

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @libxsmm_rng_seq(ptr noundef, i64 noundef) #3

; Function Attrs: inlinehint nounwind uwtable
declare hidden i32 @libxsmm_rng_u32(i32 noundef) #3

; Function Attrs: inlinehint nounwind uwtable
declare hidden i32 @libxsmm_diff_n(ptr noundef, ptr noundef, i8 noundef zeroext, i8 noundef zeroext, i32 noundef, i32 noundef) #5

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

; Function Attrs: nounwind
declare void @free(ptr noundef) #7

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #8

; Function Attrs: nounwind willreturn memory(read)
declare i32 @strcmp(ptr noundef, ptr noundef) #9

; Function Attrs: inlinehint nounwind uwtable
declare hidden i32 @libxsmm_shuffle(ptr noundef, i64 noundef, i64 noundef, ptr noundef, ptr noundef) #3

; Function Attrs: inlinehint nounwind uwtable
declare hidden i32 @libxsmm_shuffle2(ptr noundef, ptr noundef, i64 noundef, i64 noundef, ptr noundef, ptr noundef) #3

; Function Attrs: nounwind willreturn memory(read)
declare i32 @strncmp(ptr noundef, ptr noundef, i64 noundef) #9

; Function Attrs: inlinehint nounwind uwtable
declare hidden i64 @libxsmm_unshuffle(i64 noundef, ptr noundef) #3

; Function Attrs: inlinehint nounwind uwtable
declare hidden i64 @libxsmm_coprime2(i64 noundef) #3

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

; Function Attrs: nounwind willreturn memory(read)
declare i32 @memcmp(ptr noundef, ptr noundef, i64 noundef) #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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { 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 #4 = { nounwind allocsize(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 #5 = { inlinehint nounwind uwtable "min-legal-vector-width"="128" "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 = { 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 #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 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #9 = { nounwind willreturn memory(read) "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 #10 = { nounwind }
attributes #11 = { nounwind allocsize(0) }
attributes #12 = { noreturn nounwind }
attributes #13 = { nounwind willreturn memory(read) }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"long", !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = !{!7, !7, i64 0}
!16 = distinct !{!16, !14}
!17 = distinct !{!17, !14, !18}
!18 = !{!"llvm.loop.unroll.count", i32 4}
!19 = distinct !{!19, !14}
!20 = distinct !{!20, !14}
!21 = distinct !{!21, !14, !18}
!22 = distinct !{!22, !14}
!23 = distinct !{!23, !14}
!24 = distinct !{!24, !14}
!25 = distinct !{!25, !14}
!26 = distinct !{!26, !14}
!27 = distinct !{!27, !14}
!28 = distinct !{!28, !14}


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

@__const.main.init = external hidden unnamed_addr constant [44 x i8], align 16
@.str = external hidden unnamed_addr constant [12 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [8 x i8], align 1
@__const.main.sample = external hidden unnamed_addr constant [4 x ptr], align 16
@.str.21 = external hidden unnamed_addr constant [64 x i8], align 1
@__PRETTY_FUNCTION__.main = external hidden unnamed_addr constant [23 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [61 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [68 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [59 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [56 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [48 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local range(i32 0, 2) i32 @main(i32 noundef %0, ptr nocapture noundef readnone %1) local_unnamed_addr #0 {
  %3 = alloca [96 x i8], align 16
  %4 = alloca [44 x i8], align 16
  %5 = alloca [44 x i8], align 16
  %6 = alloca [44 x i8], align 16
  %7 = alloca [44 x i8], align 16
  %8 = alloca [44 x i8], align 16
  %9 = alloca [44 x i8], align 16
  %10 = alloca i64, align 8
  %11 = alloca i64, align 8
  call void @llvm.lifetime.start.p0(i64 96, ptr nonnull %3) #12
  call void @llvm.lifetime.start.p0(i64 44, ptr nonnull %4) #12
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(44) %4, ptr noundef nonnull align 16 dereferenceable(44) @__const.main.init, i64 44, i1 false)
  %12 = tail call ptr @libxsmm_stristr(ptr noundef nonnull @.str, ptr noundef nonnull @.str.1)
  %.not = icmp eq ptr %12, null
  br i1 %.not, label %13, label %.thread250

13:                                               ; preds = %2
  %14 = tail call ptr @libxsmm_stristr(ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.3)
  %.not270 = icmp eq ptr %14, null
  br i1 %.not270, label %.thread250, label %.critedge

.critedge:                                        ; preds = %13
  %15 = tail call ptr @libxsmm_stristr(ptr noundef nonnull @.str.4, ptr noundef nonnull @.str.5)
  %.not271 = icmp eq ptr %15, null
  br i1 %.not271, label %.thread250, label %.critedge206

.critedge206:                                     ; preds = %.critedge
  %16 = tail call ptr @libxsmm_stristr(ptr noundef null, ptr noundef nonnull @.str.6)
  %.not185 = icmp eq ptr %16, null
  br i1 %.not185, label %.critedge208, label %.thread250

.critedge208:                                     ; preds = %.critedge206
  %17 = tail call ptr @libxsmm_stristr(ptr noundef nonnull @.str.7, ptr noundef null)
  %.not186 = icmp eq ptr %17, null
  br i1 %.not186, label %.critedge210, label %.thread250

.critedge210:                                     ; preds = %.critedge208
  %18 = tail call ptr @libxsmm_stristr(ptr noundef null, ptr noundef null)
  %.not187 = icmp eq ptr %18, null
  br i1 %.not187, label %.critedge212, label %.thread250

.critedge212:                                     ; preds = %.critedge210
  %19 = tail call i32 @libxsmm_strimatch(ptr noundef nonnull @.str.8, ptr noundef nonnull @.str.9, ptr noundef null)
  %.not188 = icmp eq i32 %19, 2
  br i1 %.not188, label %.critedge214, label %.thread250

.critedge214:                                     ; preds = %.critedge212
  %20 = tail call i32 @libxsmm_strimatch(ptr noundef nonnull @.str.9, ptr noundef nonnull @.str.8, ptr noundef null)
  %.not189 = icmp eq i32 %20, 2
  br i1 %.not189, label %.critedge216, label %.thread250

.critedge216:                                     ; preds = %.critedge214
  %21 = tail call i32 @libxsmm_strimatch(ptr noundef nonnull @.str.8, ptr noundef nonnull @.str.10, ptr noundef null)
  %.not190 = icmp eq i32 %21, 3
  br i1 %.not190, label %.critedge218, label %.thread250

.critedge218:                                     ; preds = %.critedge216
  %22 = tail call i32 @libxsmm_strimatch(ptr noundef nonnull @.str.10, ptr noundef nonnull @.str.8, ptr noundef null)
  %.not191 = icmp eq i32 %22, 3
  br i1 %.not191, label %.critedge220, label %.thread250

.critedge220:                                     ; preds = %.critedge218
  %23 = tail call i32 @libxsmm_strimatch(ptr noundef nonnull @.str.10, ptr noundef nonnull @.str.8, ptr noundef null)
  %.not192 = icmp eq i32 %23, 3
  br i1 %.not192, label %.critedge222, label %.thread250

.critedge222:                                     ; preds = %.critedge220
  %24 = tail call i32 @libxsmm_strimatch(ptr noundef nonnull @.str.8, ptr noundef nonnull @.str.10, ptr noundef null)
  %.not193 = icmp eq i32 %24, 3
  br i1 %.not193, label %.critedge224, label %.thread250

.critedge224:                                     ; preds = %.critedge222
  %25 = tail call i32 @libxsmm_strimatch(ptr noundef nonnull @.str.11, ptr noundef nonnull @.str.8, ptr noundef null)
  %.not194 = icmp eq i32 %25, 3
  br i1 %.not194, label %.critedge226, label %.thread250

.critedge226:                                     ; preds = %.critedge224
  %26 = tail call i32 @libxsmm_strimatch(ptr noundef nonnull @.str.8, ptr noundef nonnull @.str.11, ptr noundef null)
  %.not195 = icmp eq i32 %26, 3
  br i1 %.not195, label %.critedge228, label %.thread250

.critedge228:                                     ; preds = %.critedge226
  %27 = tail call i32 @libxsmm_strimatch(ptr noundef nonnull @.str.12, ptr noundef nonnull @.str.13, ptr noundef null)
  %.not196 = icmp eq i32 %27, 3
  br i1 %.not196, label %.critedge230, label %.thread250

.critedge230:                                     ; preds = %.critedge228
  %28 = tail call i32 @libxsmm_strimatch(ptr noundef nonnull @.str.13, ptr noundef nonnull @.str.12, ptr noundef null)
  %.not197 = icmp eq i32 %28, 3
  br i1 %.not197, label %.critedge232, label %.thread250

.critedge232:                                     ; preds = %.critedge230
  %29 = tail call i32 @libxsmm_strimatch(ptr noundef nonnull @.str.14, ptr noundef nonnull @.str.15, ptr noundef null)
  %.not198 = icmp eq i32 %29, 1
  br i1 %.not198, label %.critedge234, label %.thread250

.critedge234:                                     ; preds = %.critedge232
  %30 = tail call i32 @libxsmm_strimatch(ptr noundef nonnull @.str.15, ptr noundef nonnull @.str.14, ptr noundef null)
  %.not199 = icmp eq i32 %30, 1
  br i1 %.not199, label %.preheader282.preheader, label %.thread250

.preheader282.preheader:                          ; preds = %.critedge234
  %31 = load ptr, ptr @__const.main.sample, align 16, !tbaa !5
  %32 = call i32 @libxsmm_strimatch(ptr noundef nonnull %4, ptr noundef %31, ptr noundef null)
  %.lobit = lshr i32 %32, 31
  %.1159 = call i32 @llvm.smax.i32(i32 %32, i32 0)
  %33 = load ptr, ptr getelementptr inbounds (i8, ptr @__const.main.sample, i64 8), align 8, !tbaa !5
  %34 = call i32 @libxsmm_strimatch(ptr noundef nonnull %4, ptr noundef %33, ptr noundef null)
  %35 = icmp slt i32 %.1159, %34
  %36 = icmp slt i32 %34, 0
  %spec.select237.1 = select i1 %36, i32 1, i32 %.lobit
  %.1159.1 = call i32 @llvm.smax.i32(i32 %.1159, i32 %34)
  %.19.1 = select i1 %35, i32 %.lobit, i32 %spec.select237.1
  %37 = load ptr, ptr getelementptr inbounds (i8, ptr @__const.main.sample, i64 16), align 16, !tbaa !5
  %38 = call i32 @libxsmm_strimatch(ptr noundef nonnull %4, ptr noundef %37, ptr noundef null)
  %39 = icmp slt i32 %.1159.1, %38
  %40 = icmp slt i32 %38, 0
  %spec.select237.2 = select i1 %40, i32 1, i32 %.19.1
  %.1159.2 = call i32 @llvm.smax.i32(i32 %.1159.1, i32 %38)
  %.19.2 = select i1 %39, i32 %.19.1, i32 %spec.select237.2
  %41 = load ptr, ptr getelementptr inbounds (i8, ptr @__const.main.sample, i64 24), align 8, !tbaa !5
  %42 = call i32 @libxsmm_strimatch(ptr noundef nonnull %4, ptr noundef %41, ptr noundef null)
  %43 = icmp slt i32 %.1159.2, %42
  %44 = icmp slt i32 %42, 0
  %spec.select237.3 = select i1 %44, i32 1, i32 %.19.2
  %.1159.3 = call i32 @llvm.smax.i32(i32 %.1159.2, i32 %42)
  %.19.3 = select i1 %43, i32 %.19.2, i32 %spec.select237.3
  %45 = icmp eq i32 %.19.3, 0
  %46 = icmp ne i32 %.1159.3, 0
  %or.cond269 = select i1 %45, i1 %46, i1 false
  br i1 %or.cond269, label %47, label %.thread250

47:                                               ; preds = %.preheader282.preheader
  %48 = call i32 @libxsmm_strimatch(ptr noundef nonnull %4, ptr noundef nonnull %4, ptr noundef null)
  %49 = icmp ne i32 %48, 9
  %50 = icmp ne i32 %.1159.3, 8
  %or.cond = select i1 %49, i1 true, i1 %50
  br i1 %or.cond, label %.thread250, label %.critedge236

.critedge236:                                     ; preds = %47
  %51 = call noalias dereferenceable_or_null(96000) ptr @malloc(i64 noundef 96000) #13
  %.not200 = icmp eq ptr %51, null
  br i1 %.not200, label %.thread250, label %52

52:                                               ; preds = %.critedge236
  call void @libxsmm_rng_seq(ptr noundef nonnull %51, i64 noundef 96000)
  br label %55

53:                                               ; preds = %._crit_edge293
  %54 = add nuw nsw i32 %.0165294, 1
  %exitcond = icmp eq i32 %54, 1000
  br i1 %exitcond, label %.critedge276, label %55, !llvm.loop !9

55:                                               ; preds = %52, %53
  %.0165294 = phi i32 [ 0, %52 ], [ %54, %53 ]
  %56 = call i32 @libxsmm_rng_u32(i32 noundef 1000)
  %57 = zext i32 %56 to i64
  %58 = call i32 @libxsmm_rng_u32(i32 noundef 96)
  %59 = add i32 %58, 1
  %60 = zext i32 %59 to i64
  call void @libxsmm_rng_seq(ptr noundef nonnull %3, i64 noundef %60)
  %61 = icmp ult i32 %59, 96
  br i1 %61, label %.lr.ph.preheader, label %._crit_edge

.lr.ph.preheader:                                 ; preds = %55
  %scevgep = getelementptr i8, ptr %3, i64 %60
  %62 = sub nsw i64 96, %60
  call void @llvm.memset.p0.i64(ptr align 1 %scevgep, i8 0, i64 %62, i1 false), !tbaa !11
  br label %._crit_edge

._crit_edge:                                      ; preds = %.lr.ph.preheader, %55
  %63 = mul nuw nsw i64 %57, 96
  %64 = getelementptr inbounds i8, ptr %51, i64 %63
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 1 dereferenceable(96) %64, ptr noundef nonnull align 16 dereferenceable(96) %3, i64 96, i1 false), !tbaa !11
  %65 = trunc i32 %59 to i8
  %66 = call i32 @libxsmm_diff_n(ptr noundef nonnull %3, ptr noundef nonnull %51, i8 noundef zeroext %65, i8 noundef zeroext 96, i32 noundef 0, i32 noundef 1000)
  %67 = icmp ult i32 %66, %56
  br i1 %67, label %.lr.ph292, label %._crit_edge293

.lr.ph292:                                        ; preds = %._crit_edge, %.lr.ph292
  %.1167.in290 = phi i32 [ %69, %.lr.ph292 ], [ %66, %._crit_edge ]
  %68 = add nuw i32 %.1167.in290, 1
  %69 = call i32 @libxsmm_diff_n(ptr noundef nonnull %3, ptr noundef nonnull %51, i8 noundef zeroext %65, i8 noundef zeroext 96, i32 noundef %68, i32 noundef 1000)
  %70 = icmp ult i32 %69, %56
  br i1 %70, label %.lr.ph292, label %._crit_edge293, !llvm.loop !12

._crit_edge293:                                   ; preds = %.lr.ph292, %._crit_edge
  %.1167.in.lcssa = phi i32 [ %66, %._crit_edge ], [ %69, %.lr.ph292 ]
  %71 = icmp eq i32 %.1167.in.lcssa, %56
  br i1 %71, label %53, label %72

72:                                               ; preds = %._crit_edge293
  call void @free(ptr noundef %51) #12
  br label %.thread250

.critedge276:                                     ; preds = %53
  call void @free(ptr noundef %51) #12
  call void @llvm.lifetime.start.p0(i64 44, ptr nonnull %5) #12
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(44) %5, ptr noundef nonnull align 16 dereferenceable(44) %4, i64 44, i1 false)
  br label %.preheader.lr.ph

73:                                               ; preds = %._crit_edge303
  %74 = add nuw nsw i64 %.0169307, 1
  %exitcond340 = icmp eq i64 %74, 9
  br i1 %exitcond340, label %.critedge278, label %.preheader.lr.ph, !llvm.loop !13

.preheader.lr.ph:                                 ; preds = %73, %.critedge276
  %.0169307 = phi i64 [ 1, %.critedge276 ], [ %74, %73 ]
  %.rhs.trunc = trunc nuw i64 %.0169307 to i8
  %75 = udiv i8 43, %.rhs.trunc
  %.not326 = icmp eq i8 %75, 1
  %76 = trunc nuw i64 %.0169307 to i32
  br i1 %.not326, label %._crit_edge303, label %.preheader.us.us.preheader

.preheader.us.us.preheader:                       ; preds = %.preheader.lr.ph
  %77 = udiv i64 43, %.0169307
  %78 = add nsw i64 %77, -2
  br label %.preheader.us.us

.preheader.us.us:                                 ; preds = %.preheader.us.us.preheader, %._crit_edge301.split.us.us.us
  %.0170302.us.us = phi i64 [ %119, %._crit_edge301.split.us.us.us ], [ 0, %.preheader.us.us.preheader ]
  br label %.lr.ph297.us.us.us

.lr.ph297.us.us.us:                               ; preds = %._crit_edge298.us.us.us, %.preheader.us.us
  %.0171299.us.us.us = phi i64 [ 0, %.preheader.us.us ], [ %118, %._crit_edge298.us.us.us ]
  %79 = mul nuw nsw i64 %.0171299.us.us.us, %.0169307
  %80 = getelementptr inbounds i8, ptr %5, i64 %79
  %81 = getelementptr inbounds i8, ptr %80, i64 %.0169307
  br label %82

82:                                               ; preds = %109, %.lr.ph297.us.us.us
  %.0164295.us.us.us = phi i8 [ 0, %.lr.ph297.us.us.us ], [ %115, %109 ]
  %83 = zext nneg i8 %.0164295.us.us.us to i64
  %84 = getelementptr inbounds i8, ptr %81, i64 %83
  %85 = load i8, ptr %84, align 1, !tbaa !11
  %86 = getelementptr inbounds i8, ptr %80, i64 %83
  %87 = load i8, ptr %86, align 1, !tbaa !11
  store i8 %87, ptr %84, align 1, !tbaa !11
  store i8 %85, ptr %86, align 1, !tbaa !11
  %88 = or disjoint i8 %.0164295.us.us.us, 1
  %89 = zext nneg i8 %88 to i32
  %90 = icmp slt i32 %89, %76
  br i1 %90, label %91, label %._crit_edge298.us.us.us, !llvm.loop !14

91:                                               ; preds = %82
  %92 = zext nneg i8 %88 to i64
  %93 = getelementptr inbounds i8, ptr %81, i64 %92
  %94 = load i8, ptr %93, align 1, !tbaa !11
  %95 = getelementptr inbounds i8, ptr %80, i64 %92
  %96 = load i8, ptr %95, align 1, !tbaa !11
  store i8 %96, ptr %93, align 1, !tbaa !11
  store i8 %94, ptr %95, align 1, !tbaa !11
  %97 = or disjoint i8 %.0164295.us.us.us, 2
  %98 = zext nneg i8 %97 to i64
  %99 = icmp ugt i64 %.0169307, %98
  br i1 %99, label %100, label %._crit_edge298.us.us.us, !llvm.loop !14

100:                                              ; preds = %91
  %101 = zext nneg i8 %97 to i64
  %102 = getelementptr inbounds i8, ptr %81, i64 %101
  %103 = load i8, ptr %102, align 1, !tbaa !11
  %104 = getelementptr inbounds i8, ptr %80, i64 %101
  %105 = load i8, ptr %104, align 1, !tbaa !11
  store i8 %105, ptr %102, align 1, !tbaa !11
  store i8 %103, ptr %104, align 1, !tbaa !11
  %106 = or disjoint i8 %.0164295.us.us.us, 3
  %107 = zext nneg i8 %106 to i64
  %108 = icmp ugt i64 %.0169307, %107
  br i1 %108, label %109, label %._crit_edge298.us.us.us, !llvm.loop !14

109:                                              ; preds = %100
  %110 = zext nneg i8 %106 to i64
  %111 = getelementptr inbounds i8, ptr %81, i64 %110
  %112 = load i8, ptr %111, align 1, !tbaa !11
  %113 = getelementptr inbounds i8, ptr %80, i64 %110
  %114 = load i8, ptr %113, align 1, !tbaa !11
  store i8 %114, ptr %111, align 1, !tbaa !11
  store i8 %112, ptr %113, align 1, !tbaa !11
  %115 = add nuw nsw i8 %.0164295.us.us.us, 4
  %116 = zext nneg i8 %115 to i64
  %117 = icmp ugt i64 %.0169307, %116
  br i1 %117, label %82, label %._crit_edge298.us.us.us, !llvm.loop !16

._crit_edge298.us.us.us:                          ; preds = %109, %100, %91, %82
  %118 = add nuw nsw i64 %.0171299.us.us.us, 1
  %exitcond338.not = icmp eq i64 %.0171299.us.us.us, %78
  br i1 %exitcond338.not, label %._crit_edge301.split.us.us.us, label %.lr.ph297.us.us.us, !llvm.loop !18

._crit_edge301.split.us.us.us:                    ; preds = %._crit_edge298.us.us.us
  %119 = add nuw nsw i64 %.0170302.us.us, 1
  %exitcond339.not = icmp eq i64 %119, %77
  br i1 %exitcond339.not, label %._crit_edge303, label %.preheader.us.us, !llvm.loop !19

._crit_edge303:                                   ; preds = %._crit_edge301.split.us.us.us, %.preheader.lr.ph
  %120 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %5, ptr noundef nonnull dereferenceable(1) %4) #14
  %.not201 = icmp eq i32 %120, 0
  br i1 %.not201, label %73, label %121

121:                                              ; preds = %._crit_edge303
  call void @llvm.lifetime.end.p0(i64 44, ptr nonnull %5) #12
  br label %.thread250

.critedge278:                                     ; preds = %73
  call void @llvm.lifetime.end.p0(i64 44, ptr nonnull %5) #12
  call void @llvm.lifetime.start.p0(i64 44, ptr nonnull %6) #12
  call void @llvm.lifetime.start.p0(i64 44, ptr nonnull %7) #12
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(44) %7, i8 0, i64 44, i1 false)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(44) %6, ptr noundef nonnull align 16 dereferenceable(44) %4, i64 44, i1 false)
  br label %124

122:                                              ; preds = %._crit_edge313
  %123 = add nuw nsw i64 %.0162314, 1
  %exitcond342 = icmp eq i64 %123, 44
  br i1 %exitcond342, label %.critedge280, label %124, !llvm.loop !20

124:                                              ; preds = %.critedge278, %122
  %.0162314 = phi i64 [ 1, %.critedge278 ], [ %123, %122 ]
  %125 = sub nuw nsw i64 44, %.0162314
  %126 = call i32 @libxsmm_shuffle(ptr noundef nonnull %6, i64 noundef 1, i64 noundef %125, ptr noundef null, ptr noundef null)
  %127 = icmp eq i32 %126, 0
  br i1 %127, label %129, label %128

128:                                              ; preds = %124
  call void @__assert_fail(ptr noundef nonnull @.str.24, ptr noundef nonnull @.str.21, i32 noundef 146, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #15
  unreachable

129:                                              ; preds = %124
  %130 = call i32 @libxsmm_shuffle2(ptr noundef nonnull %7, ptr noundef nonnull %4, i64 noundef 1, i64 noundef %125, ptr noundef null, ptr noundef null)
  %131 = icmp eq i32 %130, 0
  br i1 %131, label %133, label %132

132:                                              ; preds = %129
  call void @__assert_fail(ptr noundef nonnull @.str.25, ptr noundef nonnull @.str.21, i32 noundef 147, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #15
  unreachable

133:                                              ; preds = %129
  %134 = call i32 @strncmp(ptr noundef nonnull %6, ptr noundef nonnull %7, i64 noundef %125) #14
  %135 = icmp eq i32 %134, 0
  br i1 %135, label %136, label %.thread252

.thread252:                                       ; preds = %133
  call void @llvm.lifetime.end.p0(i64 44, ptr nonnull %7) #12
  call void @llvm.lifetime.end.p0(i64 44, ptr nonnull %6) #12
  br label %.thread250

136:                                              ; preds = %133
  %137 = call i64 @libxsmm_unshuffle(i64 noundef %125, ptr noundef null)
  %.not328 = icmp eq i64 %137, 0
  br i1 %.not328, label %._crit_edge313, label %.lr.ph312

.lr.ph312:                                        ; preds = %136, %.lr.ph312
  %.0161310 = phi i64 [ %139, %.lr.ph312 ], [ 0, %136 ]
  %138 = call i32 @libxsmm_shuffle(ptr noundef nonnull %6, i64 noundef 1, i64 noundef %125, ptr noundef null, ptr noundef null)
  %139 = add nuw i64 %.0161310, 1
  %exitcond341.not = icmp eq i64 %139, %137
  br i1 %exitcond341.not, label %._crit_edge313, label %.lr.ph312, !llvm.loop !21

._crit_edge313:                                   ; preds = %.lr.ph312, %136
  %140 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %6, ptr noundef nonnull dereferenceable(1) %4) #14
  %.not202 = icmp eq i32 %140, 0
  br i1 %.not202, label %122, label %141

141:                                              ; preds = %._crit_edge313
  call void @llvm.lifetime.end.p0(i64 44, ptr nonnull %7) #12
  call void @llvm.lifetime.end.p0(i64 44, ptr nonnull %6) #12
  br label %.thread250

.critedge280:                                     ; preds = %122
  call void @llvm.lifetime.end.p0(i64 44, ptr nonnull %7) #12
  call void @llvm.lifetime.end.p0(i64 44, ptr nonnull %6) #12
  call void @llvm.lifetime.start.p0(i64 44, ptr nonnull %8) #12
  call void @llvm.lifetime.start.p0(i64 44, ptr nonnull %9) #12
  br label %142

142:                                              ; preds = %.critedge280, %189
  %.0157324 = phi i64 [ 0, %.critedge280 ], [ %190, %189 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #12
  %143 = call i64 @libxsmm_coprime2(i64 noundef %.0157324)
  store i64 %143, ptr %10, align 8, !tbaa !22
  %144 = call i64 @libxsmm_gcd(i64 noundef %143, i64 noundef %.0157324)
  %145 = icmp eq i64 %144, 1
  br i1 %145, label %146, label %.thread256

.thread256:                                       ; preds = %142
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #12
  br label %.loopexit

146:                                              ; preds = %142
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #12
  %147 = call i64 @libxsmm_unshuffle(i64 noundef %.0157324, ptr noundef nonnull %10)
  store i64 %147, ptr %11, align 8, !tbaa !22
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(44) %8, i8 0, i64 44, i1 false)
  %148 = call i32 @libxsmm_shuffle2(ptr noundef nonnull %8, ptr noundef nonnull %4, i64 noundef 1, i64 noundef %.0157324, ptr noundef nonnull %10, ptr noundef null)
  %149 = icmp eq i32 %148, 0
  br i1 %149, label %151, label %150

150:                                              ; preds = %146
  call void @__assert_fail(ptr noundef nonnull @.str.26, ptr noundef nonnull @.str.21, i32 noundef 176, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #15
  unreachable

151:                                              ; preds = %146
  %bcmp = call i32 @bcmp(ptr nonnull %8, ptr nonnull %4, i64 %.0157324)
  %152 = icmp ult i64 %.0157324, 2
  %153 = icmp eq i32 %bcmp, 0
  %or.cond3 = select i1 %152, i1 true, i1 %153
  br i1 %or.cond3, label %154, label %157

154:                                              ; preds = %151
  %155 = icmp ugt i64 %.0157324, 1
  %156 = icmp ne i32 %bcmp, 0
  %or.cond5 = select i1 %155, i1 true, i1 %156
  br i1 %or.cond5, label %.thread262, label %157

157:                                              ; preds = %154, %151
  %158 = load i64, ptr %11, align 8, !tbaa !22
  %.not329 = icmp eq i64 %158, 0
  br i1 %.not329, label %._crit_edge319.thread, label %.lr.ph318

.lr.ph318:                                        ; preds = %157
  %159 = icmp ugt i64 %.0157324, 1
  br i1 %159, label %.lr.ph318.split.us, label %.lr.ph318.split

.lr.ph318.split.us:                               ; preds = %.lr.ph318, %166
  %.37316.us = phi i32 [ %spec.select241.us, %166 ], [ 0, %.lr.ph318 ]
  %.0156315.us = phi i64 [ %168, %166 ], [ 0, %.lr.ph318 ]
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(44) %9, i8 0, i64 44, i1 false)
  %160 = call i32 @libxsmm_shuffle2(ptr noundef nonnull %9, ptr noundef nonnull %8, i64 noundef 1, i64 noundef %.0157324, ptr noundef nonnull %10, ptr noundef null)
  %161 = icmp eq i32 %160, 0
  br i1 %161, label %162, label %.split.us

162:                                              ; preds = %.lr.ph318.split.us
  %bcmp272.us = call i32 @bcmp(ptr nonnull %8, ptr nonnull %9, i64 %.0157324)
  %163 = icmp eq i32 %bcmp272.us, 0
  br i1 %163, label %.thread262, label %164

164:                                              ; preds = %162
  %bcmp273.us = call i32 @bcmp(ptr nonnull %9, ptr nonnull %4, i64 %.0157324)
  %165 = icmp eq i32 %bcmp273.us, 0
  br i1 %165, label %._crit_edge319, label %166

166:                                              ; preds = %164
  %167 = load i64, ptr %11, align 8, !tbaa !22
  %168 = add nuw i64 %.0156315.us, 1
  %169 = icmp eq i64 %167, %168
  %spec.select241.us = select i1 %169, i32 1, i32 %.37316.us
  call void @llvm.memcpy.p0.p0.i64(ptr nonnull align 16 %8, ptr nonnull align 16 %9, i64 %.0157324, i1 false)
  %170 = icmp ult i64 %168, %167
  br i1 %170, label %.lr.ph318.split.us, label %._crit_edge319, !llvm.loop !24

.lr.ph318.split:                                  ; preds = %.lr.ph318, %175
  %.37316 = phi i32 [ %spec.select241, %175 ], [ 0, %.lr.ph318 ]
  %.0156315 = phi i64 [ %177, %175 ], [ 0, %.lr.ph318 ]
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(44) %9, i8 0, i64 44, i1 false)
  %171 = call i32 @libxsmm_shuffle2(ptr noundef nonnull %9, ptr noundef nonnull %8, i64 noundef 1, i64 noundef %.0157324, ptr noundef nonnull %10, ptr noundef null)
  %172 = icmp eq i32 %171, 0
  br i1 %172, label %173, label %.split.us

.split.us:                                        ; preds = %.lr.ph318.split, %.lr.ph318.split.us
  call void @__assert_fail(ptr noundef nonnull @.str.27, ptr noundef nonnull @.str.21, i32 noundef 185, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #15
  unreachable

173:                                              ; preds = %.lr.ph318.split
  %bcmp273 = call i32 @bcmp(ptr nonnull %9, ptr nonnull %4, i64 %.0157324)
  %174 = icmp eq i32 %bcmp273, 0
  br i1 %174, label %._crit_edge319, label %175

175:                                              ; preds = %173
  %176 = load i64, ptr %11, align 8, !tbaa !22
  %177 = add nuw i64 %.0156315, 1
  %178 = icmp eq i64 %176, %177
  %spec.select241 = select i1 %178, i32 1, i32 %.37316
  call void @llvm.memcpy.p0.p0.i64(ptr nonnull align 16 %8, ptr nonnull align 16 %9, i64 %.0157324, i1 false)
  %179 = icmp ult i64 %177, %176
  br i1 %179, label %.lr.ph318.split, label %._crit_edge319, !llvm.loop !24

._crit_edge319:                                   ; preds = %175, %173, %166, %164
  %.37.lcssa = phi i32 [ %.37316.us, %164 ], [ %spec.select241.us, %166 ], [ %.37316, %173 ], [ %spec.select241, %175 ]
  %180 = icmp eq i32 %.37.lcssa, 0
  br i1 %180, label %._crit_edge319.thread, label %.thread262

._crit_edge319.thread:                            ; preds = %157, %._crit_edge319
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(44) %8, i8 0, i64 44, i1 false)
  %181 = call i32 @libxsmm_shuffle2(ptr noundef nonnull %8, ptr noundef nonnull %4, i64 noundef 1, i64 noundef %.0157324, ptr noundef nonnull %10, ptr noundef null)
  %182 = icmp eq i32 %181, 0
  br i1 %182, label %184, label %183

183:                                              ; preds = %._crit_edge319.thread
  call void @__assert_fail(ptr noundef nonnull @.str.26, ptr noundef nonnull @.str.21, i32 noundef 200, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #15
  unreachable

184:                                              ; preds = %._crit_edge319.thread
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(44) %9, i8 0, i64 44, i1 false)
  %185 = call i32 @libxsmm_shuffle2(ptr noundef nonnull %9, ptr noundef nonnull %8, i64 noundef 1, i64 noundef %.0157324, ptr noundef nonnull %10, ptr noundef nonnull %11)
  %186 = icmp eq i32 %185, 0
  br i1 %186, label %188, label %187

187:                                              ; preds = %184
  call void @__assert_fail(ptr noundef nonnull @.str.28, ptr noundef nonnull @.str.21, i32 noundef 202, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #15
  unreachable

188:                                              ; preds = %184
  %bcmp274 = call i32 @bcmp(ptr nonnull %9, ptr nonnull %4, i64 %.0157324)
  %.not203 = icmp eq i32 %bcmp274, 0
  br i1 %.not203, label %189, label %.thread262

.thread262:                                       ; preds = %154, %188, %._crit_edge319, %162
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #12
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #12
  br label %.loopexit

189:                                              ; preds = %188
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #12
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #12
  %190 = add nuw nsw i64 %.0157324, 1
  %exitcond343.not = icmp eq i64 %190, 44
  br i1 %exitcond343.not, label %.loopexit, label %142, !llvm.loop !25

.loopexit:                                        ; preds = %189, %.thread262, %.thread256
  %.42 = phi i32 [ 1, %.thread256 ], [ 1, %.thread262 ], [ 0, %189 ]
  call void @llvm.lifetime.end.p0(i64 44, ptr nonnull %9) #12
  call void @llvm.lifetime.end.p0(i64 44, ptr nonnull %8) #12
  br label %.thread250

.thread250:                                       ; preds = %141, %121, %72, %47, %.critedge232, %.critedge228, %.critedge224, %.critedge220, %.critedge216, %.critedge212, %.critedge208, %.critedge, %2, %13, %.critedge206, %.critedge210, %.critedge214, %.critedge218, %.critedge222, %.critedge226, %.critedge230, %.preheader282.preheader, %.critedge234, %.critedge236, %.thread252, %.loopexit
  %.43 = phi i32 [ %.42, %.loopexit ], [ 1, %141 ], [ 1, %.thread252 ], [ 1, %121 ], [ 1, %72 ], [ 1, %.critedge236 ], [ 1, %.critedge234 ], [ 1, %.preheader282.preheader ], [ 1, %.critedge230 ], [ 1, %.critedge226 ], [ 1, %.critedge222 ], [ 1, %.critedge218 ], [ 1, %.critedge214 ], [ 1, %.critedge210 ], [ 1, %.critedge206 ], [ 1, %13 ], [ 1, %2 ], [ 1, %.critedge ], [ 1, %.critedge208 ], [ 1, %.critedge212 ], [ 1, %.critedge216 ], [ 1, %.critedge220 ], [ 1, %.critedge224 ], [ 1, %.critedge228 ], [ 1, %.critedge232 ], [ 1, %47 ]
  call void @llvm.lifetime.end.p0(i64 44, ptr nonnull %4) #12
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %3) #12
  ret i32 %.43
}

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

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2

; Function Attrs: inlinehint nounwind uwtable
declare hidden ptr @libxsmm_stristr(ptr noundef, ptr noundef) local_unnamed_addr #3

; Function Attrs: inlinehint nounwind uwtable
declare hidden i32 @libxsmm_strimatch(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #3

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

; Function Attrs: mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite)
declare noalias noundef ptr @malloc(i64 noundef) local_unnamed_addr #4

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @libxsmm_rng_seq(ptr noundef, i64 noundef) local_unnamed_addr #3

; Function Attrs: inlinehint nounwind uwtable
declare hidden i32 @libxsmm_rng_u32(i32 noundef) local_unnamed_addr #3

; Function Attrs: inlinehint nounwind uwtable
declare hidden i32 @libxsmm_diff_n(ptr noundef, ptr noundef, i8 noundef zeroext, i8 noundef zeroext, i32 noundef, i32 noundef) local_unnamed_addr #5

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

; Function Attrs: mustprogress nounwind willreturn allockind("free") memory(argmem: readwrite, inaccessiblemem: readwrite)
declare void @free(ptr allocptr nocapture noundef) local_unnamed_addr #7

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #8

; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read)
declare i32 @strcmp(ptr nocapture noundef, ptr nocapture noundef) local_unnamed_addr #9

; Function Attrs: inlinehint nounwind uwtable
declare hidden i32 @libxsmm_shuffle(ptr noundef, i64 noundef, i64 noundef, ptr noundef, ptr noundef) local_unnamed_addr #3

; Function Attrs: inlinehint nounwind uwtable
declare hidden i32 @libxsmm_shuffle2(ptr noundef, ptr noundef, i64 noundef, i64 noundef, ptr noundef, ptr noundef) local_unnamed_addr #3

; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read)
declare i32 @strncmp(ptr nocapture noundef, ptr nocapture noundef, i64 noundef) local_unnamed_addr #9

; Function Attrs: inlinehint nounwind uwtable
declare hidden i64 @libxsmm_unshuffle(i64 noundef, ptr noundef) local_unnamed_addr #3

; Function Attrs: inlinehint nounwind uwtable
declare hidden i64 @libxsmm_coprime2(i64 noundef) local_unnamed_addr #3

; Function Attrs: inlinehint nounwind uwtable
declare hidden i64 @libxsmm_gcd(i64 noundef, i64 noundef) local_unnamed_addr #3

; Function Attrs: nofree nounwind willreturn memory(argmem: read)
declare i32 @bcmp(ptr nocapture, ptr nocapture, i64) local_unnamed_addr #10

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.smax.i32(i32, i32) #11

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 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { 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 #4 = { mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite) "alloc-family"="malloc" "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 = { inlinehint nounwind uwtable "min-legal-vector-width"="128" "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 = { 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 #7 = { mustprogress nounwind willreturn allockind("free") memory(argmem: readwrite, inaccessiblemem: readwrite) "alloc-family"="malloc" "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 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #9 = { mustprogress nofree nounwind willreturn memory(argmem: read) "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 #10 = { nofree nounwind willreturn memory(argmem: read) }
attributes #11 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #12 = { nounwind }
attributes #13 = { nounwind allocsize(0) }
attributes #14 = { nounwind willreturn memory(read) }
attributes #15 = { 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 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = !{!7, !7, i64 0}
!12 = distinct !{!12, !10}
!13 = distinct !{!13, !10}
!14 = distinct !{!14, !10, !15}
!15 = !{!"llvm.loop.unroll.count", i32 4}
!16 = distinct !{!16, !10, !17}
!17 = !{!"llvm.loop.unroll.disable"}
!18 = distinct !{!18, !10}
!19 = distinct !{!19, !10}
!20 = distinct !{!20, !10}
!21 = distinct !{!21, !10}
!22 = !{!23, !23, i64 0}
!23 = !{!"long", !7, i64 0}
!24 = distinct !{!24, !10}
!25 = distinct !{!25, !10}


; Effective O3 passes: ConstraintEliminationPass,CorrelatedValuePropagationPass,DSEPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopFullUnrollPass,LoopIdiomRecognizePass,LoopInstSimplifyPass,LoopRotatePass,LoopSimplifyCFGPass,LoopSimplifyPass,LoopUnrollPass,MemCpyOptPass,PostOrderFunctionAttrsPass,ReassociatePass,SCCPPass,SROAPass,SimplifyCFGPass,TailCallElimPass