; LLVM IR from libxsmm/libxsmm :: src (libxsmm_xcopy)

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%union.libxsmm_xcopykernel = type { ptr }
%struct.libxsmm_meltw_unary_shape = type { i32, i32, i32, i32, i32, i32, i32 }

@libxsmm_mcopy_mbytes = external dso_local global i32, align 64
@libxsmm_mcopy_nscale = external dso_local global float, align 64
@libxsmm_mzero_mbytes = external dso_local global i32, align 64
@libxsmm_mzero_nscale = external dso_local global float, align 64
@libxsmm_xcopy_jit = external dso_local global i32, align 64
@libxsmm_ninit = external global i32, align 4
@libxsmm_matcopy_task.error_once = external hidden global i32, align 4
@libxsmm_verbosity = external global i32, align 4
@stderr = external global ptr, align 8
@.str.41 = external hidden unnamed_addr constant [75 x i8], align 1
@.str.42 = external hidden unnamed_addr constant [61 x i8], align 1
@.str.43 = external hidden unnamed_addr constant [71 x i8], align 1
@.str.44 = external hidden unnamed_addr constant [61 x i8], align 1
@.str.45 = external hidden unnamed_addr constant [78 x i8], align 1
@.str.46 = external hidden unnamed_addr constant [73 x i8], align 1

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

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

; Function Attrs: nounwind uwtable
declare dso_local void @libxsmm_matcopy_task_internal(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i64, i32 noundef, i32 noundef) #1

; Function Attrs: nounwind uwtable
define dso_local void @libxsmm_matcopy_task(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, i32 noundef %7, i32 noundef %8) #1 {
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca %union.libxsmm_xcopykernel, align 8
  %20 = alloca i32, align 4
  %21 = alloca i32, align 4
  %22 = alloca i32, align 4
  %23 = alloca i32, align 4
  %24 = alloca float, align 4
  %25 = alloca i32, align 4
  %26 = alloca i32, align 4
  %27 = alloca i32, align 4
  %28 = alloca %struct.libxsmm_meltw_unary_shape, align 8
  %29 = alloca %struct.libxsmm_meltw_unary_shape, align 8
  %30 = alloca %struct.libxsmm_meltw_unary_shape, align 8
  %31 = alloca %struct.libxsmm_meltw_unary_shape, align 8
  store ptr %0, ptr %10, align 8, !tbaa !5
  store ptr %1, ptr %11, align 8, !tbaa !5
  store i32 %2, ptr %12, align 4, !tbaa !9
  store i32 %3, ptr %13, align 4, !tbaa !9
  store i32 %4, ptr %14, align 4, !tbaa !9
  store i32 %5, ptr %15, align 4, !tbaa !9
  store i32 %6, ptr %16, align 4, !tbaa !9
  store i32 %7, ptr %17, align 4, !tbaa !9
  store i32 %8, ptr %18, align 4, !tbaa !9
  %32 = load i32, ptr @libxsmm_ninit, align 4, !tbaa !9
  %33 = icmp ugt i32 2, %32
  br i1 %33, label %34, label %35

34:                                               ; preds = %9
  call void @libxsmm_init()
  br label %35

35:                                               ; preds = %34, %9
  %36 = load i32, ptr %12, align 4, !tbaa !9
  %37 = icmp ult i32 0, %36
  br i1 %37, label %38, label %325

38:                                               ; preds = %35
  %39 = load i32, ptr %12, align 4, !tbaa !9
  %40 = icmp ugt i32 256, %39
  br i1 %40, label %41, label %325

41:                                               ; preds = %38
  %42 = load i32, ptr %13, align 4, !tbaa !9
  %43 = load i32, ptr %15, align 4, !tbaa !9
  %44 = icmp sle i32 %42, %43
  br i1 %44, label %45, label %325

45:                                               ; preds = %41
  %46 = load i32, ptr %13, align 4, !tbaa !9
  %47 = load i32, ptr %16, align 4, !tbaa !9
  %48 = icmp sle i32 %46, %47
  br i1 %48, label %49, label %325

49:                                               ; preds = %45
  %50 = load ptr, ptr %10, align 8, !tbaa !5
  %51 = load ptr, ptr %11, align 8, !tbaa !5
  %52 = icmp ne ptr %50, %51
  br i1 %52, label %53, label %325

53:                                               ; preds = %49
  %54 = load ptr, ptr %10, align 8, !tbaa !5
  %55 = icmp ne ptr null, %54
  br i1 %55, label %56, label %62

56:                                               ; preds = %53
  %57 = load i32, ptr %13, align 4, !tbaa !9
  %58 = icmp slt i32 0, %57
  br i1 %58, label %59, label %62

59:                                               ; preds = %56
  %60 = load i32, ptr %14, align 4, !tbaa !9
  %61 = icmp slt i32 0, %60
  br i1 %61, label %68, label %62

62:                                               ; preds = %59, %56, %53
  %63 = load i32, ptr %13, align 4, !tbaa !9
  %64 = icmp eq i32 0, %63
  br i1 %64, label %65, label %325

65:                                               ; preds = %62
  %66 = load i32, ptr %14, align 4, !tbaa !9
  %67 = icmp eq i32 0, %66
  br i1 %67, label %68, label %325

68:                                               ; preds = %65, %59
  %69 = load i32, ptr %17, align 4, !tbaa !9
  %70 = icmp sle i32 0, %69
  br i1 %70, label %71, label %325

71:                                               ; preds = %68
  %72 = load i32, ptr %17, align 4, !tbaa !9
  %73 = load i32, ptr %18, align 4, !tbaa !9
  %74 = icmp slt i32 %72, %73
  br i1 %74, label %75, label %325

75:                                               ; preds = %71
  %76 = load i32, ptr %13, align 4, !tbaa !9
  %77 = icmp slt i32 0, %76
  br i1 %77, label %78, label %324

78:                                               ; preds = %75
  %79 = load i32, ptr %14, align 4, !tbaa !9
  %80 = icmp slt i32 0, %79
  br i1 %80, label %81, label %324

81:                                               ; preds = %78
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #5
  call void @llvm.memset.p0.i64(ptr align 8 %19, i8 0, i64 8, i1 false)
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #5
  %82 = load ptr, ptr %11, align 8, !tbaa !5
  %83 = icmp ne ptr null, %82
  br i1 %83, label %84, label %98

84:                                               ; preds = %81
  %85 = load i32, ptr @libxsmm_mcopy_mbytes, align 64, !tbaa !9
  %86 = load i32, ptr %12, align 4, !tbaa !9
  %87 = sub i32 %86, 1
  %88 = add i32 %85, %87
  %89 = load i32, ptr %12, align 4, !tbaa !9
  %90 = udiv i32 %88, %89
  store i32 %90, ptr %20, align 4, !tbaa !9
  %91 = load float, ptr @libxsmm_mcopy_nscale, align 64, !tbaa !11
  %92 = load i32, ptr %20, align 4, !tbaa !9
  %93 = uitofp i32 %92 to float
  %94 = fmul float %91, %93
  %95 = fptoui float %94 to i32
  store i32 %95, ptr %21, align 4, !tbaa !9
  %96 = load i32, ptr @libxsmm_mcopy_mbytes, align 64, !tbaa !9
  store i32 %96, ptr %22, align 4, !tbaa !9
  %97 = load float, ptr @libxsmm_mcopy_nscale, align 64, !tbaa !11
  store float %97, ptr %24, align 4, !tbaa !11
  br label %112

98:                                               ; preds = %81
  %99 = load i32, ptr @libxsmm_mzero_mbytes, align 64, !tbaa !9
  %100 = load i32, ptr %12, align 4, !tbaa !9
  %101 = sub i32 %100, 1
  %102 = add i32 %99, %101
  %103 = load i32, ptr %12, align 4, !tbaa !9
  %104 = udiv i32 %102, %103
  store i32 %104, ptr %20, align 4, !tbaa !9
  %105 = load float, ptr @libxsmm_mzero_nscale, align 64, !tbaa !11
  %106 = load i32, ptr %20, align 4, !tbaa !9
  %107 = uitofp i32 %106 to float
  %108 = fmul float %105, %107
  %109 = fptoui float %108 to i32
  store i32 %109, ptr %21, align 4, !tbaa !9
  %110 = load i32, ptr @libxsmm_mzero_mbytes, align 64, !tbaa !9
  store i32 %110, ptr %22, align 4, !tbaa !9
  %111 = load float, ptr @libxsmm_mzero_nscale, align 64, !tbaa !11
  store float %111, ptr %24, align 4, !tbaa !11
  br label %112

112:                                              ; preds = %98, %84
  %113 = load i32, ptr %20, align 4, !tbaa !9
  %114 = icmp eq i32 0, %113
  br i1 %114, label %115, label %117

115:                                              ; preds = %112
  %116 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %116, ptr %20, align 4, !tbaa !9
  br label %117

117:                                              ; preds = %115, %112
  %118 = load i32, ptr %21, align 4, !tbaa !9
  %119 = icmp eq i32 0, %118
  br i1 %119, label %120, label %128

120:                                              ; preds = %117
  %121 = load i32, ptr %14, align 4, !tbaa !9
  %122 = icmp slt i32 2, %121
  br i1 %122, label %123, label %124

123:                                              ; preds = %120
  br label %126

124:                                              ; preds = %120
  %125 = load i32, ptr %14, align 4, !tbaa !9
  br label %126

126:                                              ; preds = %124, %123
  %127 = phi i32 [ 2, %123 ], [ %125, %124 ]
  store i32 %127, ptr %21, align 4, !tbaa !9
  br label %128

128:                                              ; preds = %126, %117
  %129 = load i32, ptr %22, align 4, !tbaa !9
  %130 = icmp ne i32 0, %129
  br i1 %130, label %131, label %158

131:                                              ; preds = %128
  %132 = load float, ptr %24, align 4, !tbaa !11
  %133 = fcmp oeq float 0.000000e+00, %132
  br i1 %133, label %134, label %158

134:                                              ; preds = %131
  %135 = load i32, ptr %22, align 4, !tbaa !9
  %136 = load i32, ptr %20, align 4, !tbaa !9
  %137 = load i32, ptr %21, align 4, !tbaa !9
  %138 = mul i32 %136, %137
  %139 = load i32, ptr %12, align 4, !tbaa !9
  %140 = mul i32 %138, %139
  %141 = icmp ult i32 %135, %140
  br i1 %141, label %142, label %158

142:                                              ; preds = %134
  %143 = load i32, ptr %22, align 4, !tbaa !9
  %144 = load i32, ptr %21, align 4, !tbaa !9
  %145 = load i32, ptr %12, align 4, !tbaa !9
  %146 = mul i32 %144, %145
  %147 = udiv i32 %143, %146
  %148 = icmp ult i32 %147, 2
  br i1 %148, label %149, label %150

149:                                              ; preds = %142
  br label %156

150:                                              ; preds = %142
  %151 = load i32, ptr %22, align 4, !tbaa !9
  %152 = load i32, ptr %21, align 4, !tbaa !9
  %153 = load i32, ptr %12, align 4, !tbaa !9
  %154 = mul i32 %152, %153
  %155 = udiv i32 %151, %154
  br label %156

156:                                              ; preds = %150, %149
  %157 = phi i32 [ 2, %149 ], [ %155, %150 ]
  store i32 %157, ptr %20, align 4, !tbaa !9
  br label %158

158:                                              ; preds = %156, %134, %131, %128
  %159 = load i32, ptr %13, align 4, !tbaa !9
  %160 = load i32, ptr %20, align 4, !tbaa !9
  %161 = icmp ult i32 %159, %160
  br i1 %161, label %166, label %162

162:                                              ; preds = %158
  %163 = load i32, ptr %14, align 4, !tbaa !9
  %164 = load i32, ptr %21, align 4, !tbaa !9
  %165 = icmp ult i32 %163, %164
  br label %166

166:                                              ; preds = %162, %158
  %167 = phi i1 [ true, %158 ], [ %165, %162 ]
  %168 = zext i1 %167 to i32
  store i32 %168, ptr %23, align 4, !tbaa !9
  %169 = load i32, ptr %23, align 4, !tbaa !9
  %170 = icmp ne i32 0, %169
  br i1 %170, label %171, label %255

171:                                              ; preds = %166
  %172 = load i32, ptr %18, align 4, !tbaa !9
  %173 = icmp eq i32 1, %172
  br i1 %173, label %174, label %177

174:                                              ; preds = %171
  %175 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %175, ptr %20, align 4, !tbaa !9
  %176 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %176, ptr %21, align 4, !tbaa !9
  br label %254

177:                                              ; preds = %171
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #5
  %178 = load i32, ptr %13, align 4, !tbaa !9
  %179 = load i32, ptr %14, align 4, !tbaa !9
  %180 = mul i32 %178, %179
  %181 = load i32, ptr %18, align 4, !tbaa !9
  %182 = sitofp i32 %181 to float
  %183 = load float, ptr %24, align 4, !tbaa !11
  %184 = fmul float %182, %183
  %185 = fptoui float %184 to i32
  %186 = udiv i32 %180, %185
  store i32 %186, ptr %25, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #5
  %187 = load i32, ptr %25, align 4, !tbaa !9
  %188 = call i32 @libxsmm_isqrt_u32(i32 noundef %187)
  store i32 %188, ptr %26, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #5
  %189 = load float, ptr %24, align 4, !tbaa !11
  %190 = load i32, ptr %26, align 4, !tbaa !9
  %191 = uitofp i32 %190 to float
  %192 = fmul float %189, %191
  %193 = fptoui float %192 to i32
  store i32 %193, ptr %27, align 4, !tbaa !9
  %194 = load i32, ptr %14, align 4, !tbaa !9
  %195 = icmp ult i32 1, %194
  br i1 %195, label %196, label %214

196:                                              ; preds = %177
  %197 = load i32, ptr %14, align 4, !tbaa !9
  %198 = load i32, ptr %26, align 4, !tbaa !9
  %199 = icmp ule i32 %197, %198
  br i1 %199, label %200, label %202

200:                                              ; preds = %196
  %201 = load i32, ptr %14, align 4, !tbaa !9
  br label %212

202:                                              ; preds = %196
  %203 = load i32, ptr %14, align 4, !tbaa !9
  %204 = load i32, ptr %26, align 4, !tbaa !9
  %205 = icmp ult i32 %203, %204
  br i1 %205, label %206, label %208

206:                                              ; preds = %202
  %207 = load i32, ptr %14, align 4, !tbaa !9
  br label %210

208:                                              ; preds = %202
  %209 = load i32, ptr %26, align 4, !tbaa !9
  br label %210

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

212:                                              ; preds = %210, %200
  %213 = phi i32 [ %201, %200 ], [ %211, %210 ]
  br label %222

214:                                              ; preds = %177
  %215 = load i32, ptr %14, align 4, !tbaa !9
  %216 = icmp ult i32 1, %215
  br i1 %216, label %217, label %219

217:                                              ; preds = %214
  %218 = load i32, ptr %14, align 4, !tbaa !9
  br label %220

219:                                              ; preds = %214
  br label %220

220:                                              ; preds = %219, %217
  %221 = phi i32 [ %218, %217 ], [ 1, %219 ]
  br label %222

222:                                              ; preds = %220, %212
  %223 = phi i32 [ %213, %212 ], [ %221, %220 ]
  store i32 %223, ptr %21, align 4, !tbaa !9
  %224 = load i32, ptr %13, align 4, !tbaa !9
  %225 = icmp ult i32 1, %224
  br i1 %225, label %226, label %244

226:                                              ; preds = %222
  %227 = load i32, ptr %13, align 4, !tbaa !9
  %228 = load i32, ptr %27, align 4, !tbaa !9
  %229 = icmp ule i32 %227, %228
  br i1 %229, label %230, label %232

230:                                              ; preds = %226
  %231 = load i32, ptr %13, align 4, !tbaa !9
  br label %242

232:                                              ; preds = %226
  %233 = load i32, ptr %13, align 4, !tbaa !9
  %234 = load i32, ptr %27, align 4, !tbaa !9
  %235 = icmp ult i32 %233, %234
  br i1 %235, label %236, label %238

236:                                              ; preds = %232
  %237 = load i32, ptr %13, align 4, !tbaa !9
  br label %240

238:                                              ; preds = %232
  %239 = load i32, ptr %27, align 4, !tbaa !9
  br label %240

240:                                              ; preds = %238, %236
  %241 = phi i32 [ %237, %236 ], [ %239, %238 ]
  br label %242

242:                                              ; preds = %240, %230
  %243 = phi i32 [ %231, %230 ], [ %241, %240 ]
  br label %252

244:                                              ; preds = %222
  %245 = load i32, ptr %13, align 4, !tbaa !9
  %246 = icmp ult i32 1, %245
  br i1 %246, label %247, label %249

247:                                              ; preds = %244
  %248 = load i32, ptr %13, align 4, !tbaa !9
  br label %250

249:                                              ; preds = %244
  br label %250

250:                                              ; preds = %249, %247
  %251 = phi i32 [ %248, %247 ], [ 1, %249 ]
  br label %252

252:                                              ; preds = %250, %242
  %253 = phi i32 [ %243, %242 ], [ %251, %250 ]
  store i32 %253, ptr %20, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #5
  br label %254

254:                                              ; preds = %252, %174
  br label %255

255:                                              ; preds = %254, %166
  %256 = load i32, ptr @libxsmm_xcopy_jit, align 64, !tbaa !9
  %257 = and i32 2, %256
  %258 = icmp ne i32 0, %257
  br i1 %258, label %259, label %309

259:                                              ; preds = %255
  %260 = load i32, ptr %23, align 4, !tbaa !9
  %261 = icmp ne i32 0, %260
  br i1 %261, label %266, label %262

262:                                              ; preds = %259
  %263 = load i32, ptr @libxsmm_xcopy_jit, align 64, !tbaa !9
  %264 = and i32 8, %263
  %265 = icmp ne i32 0, %264
  br i1 %265, label %266, label %309

266:                                              ; preds = %262, %259
  %267 = load i32, ptr %12, align 4, !tbaa !9
  switch i32 %267, label %308 [
    i32 8, label %268
    i32 4, label %278
    i32 2, label %288
    i32 1, label %298
  ]

268:                                              ; preds = %266
  call void @llvm.lifetime.start.p0(i64 28, ptr %28) #5
  %269 = load i32, ptr %20, align 4, !tbaa !9
  %270 = load i32, ptr %21, align 4, !tbaa !9
  %271 = load i32, ptr %15, align 4, !tbaa !9
  %272 = load i32, ptr %16, align 4, !tbaa !9
  call void @libxsmm_create_meltw_unary_shape(ptr dead_on_unwind writable sret(%struct.libxsmm_meltw_unary_shape) align 4 %28, i32 noundef %269, i32 noundef %270, i32 noundef %271, i32 noundef %272, i32 noundef 0, i32 noundef 0, i32 noundef 0)
  %273 = load ptr, ptr %11, align 8, !tbaa !5
  %274 = icmp ne ptr null, %273
  %275 = zext i1 %274 to i64
  %276 = select i1 %274, i32 1, i32 2
  %277 = call ptr @libxsmm_dispatch_meltw_unary(i32 noundef %276, ptr noundef byval(%struct.libxsmm_meltw_unary_shape) align 8 %28, i32 noundef 0)
  store ptr %277, ptr %19, align 8, !tbaa !13
  call void @llvm.lifetime.end.p0(i64 28, ptr %28) #5
  br label %308

278:                                              ; preds = %266
  call void @llvm.lifetime.start.p0(i64 28, ptr %29) #5
  %279 = load i32, ptr %20, align 4, !tbaa !9
  %280 = load i32, ptr %21, align 4, !tbaa !9
  %281 = load i32, ptr %15, align 4, !tbaa !9
  %282 = load i32, ptr %16, align 4, !tbaa !9
  call void @libxsmm_create_meltw_unary_shape(ptr dead_on_unwind writable sret(%struct.libxsmm_meltw_unary_shape) align 4 %29, i32 noundef %279, i32 noundef %280, i32 noundef %281, i32 noundef %282, i32 noundef 1, i32 noundef 1, i32 noundef 1)
  %283 = load ptr, ptr %11, align 8, !tbaa !5
  %284 = icmp ne ptr null, %283
  %285 = zext i1 %284 to i64
  %286 = select i1 %284, i32 1, i32 2
  %287 = call ptr @libxsmm_dispatch_meltw_unary(i32 noundef %286, ptr noundef byval(%struct.libxsmm_meltw_unary_shape) align 8 %29, i32 noundef 0)
  store ptr %287, ptr %19, align 8, !tbaa !13
  call void @llvm.lifetime.end.p0(i64 28, ptr %29) #5
  br label %308

288:                                              ; preds = %266
  call void @llvm.lifetime.start.p0(i64 28, ptr %30) #5
  %289 = load i32, ptr %20, align 4, !tbaa !9
  %290 = load i32, ptr %21, align 4, !tbaa !9
  %291 = load i32, ptr %15, align 4, !tbaa !9
  %292 = load i32, ptr %16, align 4, !tbaa !9
  call void @libxsmm_create_meltw_unary_shape(ptr dead_on_unwind writable sret(%struct.libxsmm_meltw_unary_shape) align 4 %30, i32 noundef %289, i32 noundef %290, i32 noundef %291, i32 noundef %292, i32 noundef 10, i32 noundef 10, i32 noundef 10)
  %293 = load ptr, ptr %11, align 8, !tbaa !5
  %294 = icmp ne ptr null, %293
  %295 = zext i1 %294 to i64
  %296 = select i1 %294, i32 1, i32 2
  %297 = call ptr @libxsmm_dispatch_meltw_unary(i32 noundef %296, ptr noundef byval(%struct.libxsmm_meltw_unary_shape) align 8 %30, i32 noundef 0)
  store ptr %297, ptr %19, align 8, !tbaa !13
  call void @llvm.lifetime.end.p0(i64 28, ptr %30) #5
  br label %308

298:                                              ; preds = %266
  call void @llvm.lifetime.start.p0(i64 28, ptr %31) #5
  %299 = load i32, ptr %20, align 4, !tbaa !9
  %300 = load i32, ptr %21, align 4, !tbaa !9
  %301 = load i32, ptr %15, align 4, !tbaa !9
  %302 = load i32, ptr %16, align 4, !tbaa !9
  call void @libxsmm_create_meltw_unary_shape(ptr dead_on_unwind writable sret(%struct.libxsmm_meltw_unary_shape) align 4 %31, i32 noundef %299, i32 noundef %300, i32 noundef %301, i32 noundef %302, i32 noundef 12, i32 noundef 12, i32 noundef 12)
  %303 = load ptr, ptr %11, align 8, !tbaa !5
  %304 = icmp ne ptr null, %303
  %305 = zext i1 %304 to i64
  %306 = select i1 %304, i32 1, i32 2
  %307 = call ptr @libxsmm_dispatch_meltw_unary(i32 noundef %306, ptr noundef byval(%struct.libxsmm_meltw_unary_shape) align 8 %31, i32 noundef 0)
  store ptr %307, ptr %19, align 8, !tbaa !13
  call void @llvm.lifetime.end.p0(i64 28, ptr %31) #5
  br label %308

308:                                              ; preds = %298, %288, %278, %268, %266
  br label %309

309:                                              ; preds = %308, %262, %255
  %310 = load ptr, ptr %10, align 8, !tbaa !5
  %311 = load ptr, ptr %11, align 8, !tbaa !5
  %312 = load i32, ptr %12, align 4, !tbaa !9
  %313 = load i32, ptr %13, align 4, !tbaa !9
  %314 = load i32, ptr %14, align 4, !tbaa !9
  %315 = load i32, ptr %15, align 4, !tbaa !9
  %316 = load i32, ptr %16, align 4, !tbaa !9
  %317 = load i32, ptr %20, align 4, !tbaa !9
  %318 = load i32, ptr %21, align 4, !tbaa !9
  %319 = load i32, ptr %17, align 4, !tbaa !9
  %320 = load i32, ptr %18, align 4, !tbaa !9
  %321 = getelementptr inbounds %union.libxsmm_xcopykernel, ptr %19, i32 0, i32 0
  %322 = load ptr, ptr %321, align 8
  %323 = ptrtoint ptr %322 to i64
  call void @libxsmm_matcopy_task_internal(ptr noundef %310, ptr noundef %311, i32 noundef %312, i32 noundef %313, i32 noundef %314, i32 noundef %315, i32 noundef %316, i32 noundef %317, i32 noundef %318, i64 %323, i32 noundef %319, i32 noundef %320)
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #5
  br label %324

324:                                              ; preds = %309, %78, %75
  br label %391

325:                                              ; preds = %71, %68, %65, %62, %49, %45, %41, %38, %35
  %326 = load i32, ptr @libxsmm_verbosity, align 4, !tbaa !9
  %327 = icmp ne i32 0, %326
  br i1 %327, label %328, label %390

328:                                              ; preds = %325
  %329 = atomicrmw add ptr @libxsmm_matcopy_task.error_once, i32 1 seq_cst, align 4
  %330 = add i32 %329, 1
  %331 = icmp eq i32 1, %330
  br i1 %331, label %332, label %390

332:                                              ; preds = %328
  %333 = load i32, ptr %17, align 4, !tbaa !9
  %334 = icmp sgt i32 0, %333
  br i1 %334, label %339, label %335

335:                                              ; preds = %332
  %336 = load i32, ptr %17, align 4, !tbaa !9
  %337 = load i32, ptr %18, align 4, !tbaa !9
  %338 = icmp sge i32 %336, %337
  br i1 %338, label %339, label %342

339:                                              ; preds = %335, %332
  %340 = load ptr, ptr @stderr, align 8, !tbaa !5
  %341 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %340, ptr noundef @.str.41) #5
  br label %389

342:                                              ; preds = %335
  %343 = load ptr, ptr %10, align 8, !tbaa !5
  %344 = icmp eq ptr null, %343
  br i1 %344, label %345, label %348

345:                                              ; preds = %342
  %346 = load ptr, ptr @stderr, align 8, !tbaa !5
  %347 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %346, ptr noundef @.str.42) #5
  br label %388

348:                                              ; preds = %342
  %349 = load ptr, ptr %10, align 8, !tbaa !5
  %350 = load ptr, ptr %11, align 8, !tbaa !5
  %351 = icmp eq ptr %349, %350
  br i1 %351, label %352, label %355

352:                                              ; preds = %348
  %353 = load ptr, ptr @stderr, align 8, !tbaa !5
  %354 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %353, ptr noundef @.str.43) #5
  br label %387

355:                                              ; preds = %348
  %356 = load i32, ptr %12, align 4, !tbaa !9
  %357 = icmp eq i32 0, %356
  br i1 %357, label %361, label %358

358:                                              ; preds = %355
  %359 = load i32, ptr %12, align 4, !tbaa !9
  %360 = icmp ule i32 256, %359
  br i1 %360, label %361, label %364

361:                                              ; preds = %358, %355
  %362 = load ptr, ptr @stderr, align 8, !tbaa !5
  %363 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %362, ptr noundef @.str.44) #5
  br label %386

364:                                              ; preds = %358
  %365 = load i32, ptr %15, align 4, !tbaa !9
  %366 = load i32, ptr %13, align 4, !tbaa !9
  %367 = icmp slt i32 %365, %366
  br i1 %367, label %372, label %368

368:                                              ; preds = %364
  %369 = load i32, ptr %16, align 4, !tbaa !9
  %370 = load i32, ptr %13, align 4, !tbaa !9
  %371 = icmp slt i32 %369, %370
  br i1 %371, label %372, label %375

372:                                              ; preds = %368, %364
  %373 = load ptr, ptr @stderr, align 8, !tbaa !5
  %374 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %373, ptr noundef @.str.45) #5
  br label %385

375:                                              ; preds = %368
  %376 = load i32, ptr %13, align 4, !tbaa !9
  %377 = icmp sgt i32 0, %376
  br i1 %377, label %381, label %378

378:                                              ; preds = %375
  %379 = load i32, ptr %14, align 4, !tbaa !9
  %380 = icmp sgt i32 0, %379
  br i1 %380, label %381, label %384

381:                                              ; preds = %378, %375
  %382 = load ptr, ptr @stderr, align 8, !tbaa !5
  %383 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %382, ptr noundef @.str.46) #5
  br label %384

384:                                              ; preds = %381, %378
  br label %385

385:                                              ; preds = %384, %372
  br label %386

386:                                              ; preds = %385, %361
  br label %387

387:                                              ; preds = %386, %352
  br label %388

388:                                              ; preds = %387, %345
  br label %389

389:                                              ; preds = %388, %339
  br label %390

390:                                              ; preds = %389, %328, %325
  br label %391

391:                                              ; preds = %390, %324
  ret void
}

declare void @libxsmm_init() #2

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

declare i32 @libxsmm_isqrt_u32(i32 noundef) #2

declare void @libxsmm_create_meltw_unary_shape(ptr dead_on_unwind writable sret(%struct.libxsmm_meltw_unary_shape) align 4, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #2

declare ptr @libxsmm_dispatch_meltw_unary(i32 noundef, ptr noundef byval(%struct.libxsmm_meltw_unary_shape) align 8, i32 noundef) #2

; Function Attrs: nounwind
declare i32 @fprintf(ptr noundef, ptr noundef, ...) #4

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #4 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"float", !7, i64 0}
!13 = !{!7, !7, i64 0}


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

%struct.libxsmm_meltw_unary_shape = type { i32, i32, i32, i32, i32, i32, i32 }

@libxsmm_mcopy_mbytes = external dso_local local_unnamed_addr global i32, align 64
@libxsmm_mcopy_nscale = external dso_local local_unnamed_addr global float, align 64
@libxsmm_mzero_mbytes = external dso_local local_unnamed_addr global i32, align 64
@libxsmm_mzero_nscale = external dso_local local_unnamed_addr global float, align 64
@libxsmm_xcopy_jit = external dso_local local_unnamed_addr global i32, align 64
@libxsmm_ninit = external local_unnamed_addr global i32, align 4
@libxsmm_matcopy_task.error_once = external hidden global i32, align 4
@libxsmm_verbosity = external local_unnamed_addr global i32, align 4
@stderr = external local_unnamed_addr global ptr, align 8
@.str.41 = external hidden unnamed_addr constant [75 x i8], align 1
@.str.42 = external hidden unnamed_addr constant [61 x i8], align 1
@.str.43 = external hidden unnamed_addr constant [71 x i8], align 1
@.str.44 = external hidden unnamed_addr constant [61 x i8], align 1
@.str.45 = external hidden unnamed_addr constant [78 x i8], align 1
@.str.46 = external hidden unnamed_addr constant [73 x i8], align 1

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

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

; Function Attrs: nounwind uwtable
declare dso_local void @libxsmm_matcopy_task_internal(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i64, i32 noundef, i32 noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
define dso_local void @libxsmm_matcopy_task(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, i32 noundef %7, i32 noundef %8) local_unnamed_addr #1 {
  %10 = alloca %struct.libxsmm_meltw_unary_shape, align 8
  %11 = alloca %struct.libxsmm_meltw_unary_shape, align 8
  %12 = alloca %struct.libxsmm_meltw_unary_shape, align 8
  %13 = alloca %struct.libxsmm_meltw_unary_shape, align 8
  %14 = load i32, ptr @libxsmm_ninit, align 4, !tbaa !5
  %15 = icmp ult i32 %14, 2
  br i1 %15, label %16, label %17

16:                                               ; preds = %9
  tail call void @libxsmm_init() #5
  br label %17

17:                                               ; preds = %16, %9
  %18 = add i32 %2, -1
  %or.cond = icmp ugt i32 %18, 254
  %.not = icmp sgt i32 %3, %5
  %or.cond173 = or i1 %or.cond, %.not
  %.not164 = icmp sgt i32 %3, %6
  %or.cond174 = or i1 %or.cond173, %.not164
  %.not165 = icmp eq ptr %0, %1
  %or.cond175 = or i1 %.not165, %or.cond174
  br i1 %or.cond175, label %86, label %19

19:                                               ; preds = %17
  %20 = icmp ne ptr %0, null
  %21 = icmp sgt i32 %3, 0
  %or.cond3 = and i1 %20, %21
  %22 = icmp sgt i32 %4, 0
  %or.cond5 = and i1 %or.cond3, %22
  br i1 %or.cond5, label %27, label %23

23:                                               ; preds = %19
  %24 = or i32 %4, %3
  %or.cond7 = icmp eq i32 %24, 0
  %25 = icmp sgt i32 %7, -1
  %or.cond9 = and i1 %or.cond7, %25
  %26 = icmp slt i32 %7, %8
  %or.cond176 = and i1 %or.cond9, %26
  br i1 %or.cond176, label %28, label %86

27:                                               ; preds = %19
  %.old8 = icmp sgt i32 %7, -1
  %.old = icmp slt i32 %7, %8
  %or.cond177 = and i1 %.old8, %.old
  br i1 %or.cond177, label %28, label %86

28:                                               ; preds = %27, %23
  %or.cond12 = and i1 %21, %22
  br i1 %or.cond12, label %29, label %119

29:                                               ; preds = %28
  %.not168 = icmp eq ptr %1, null
  %libxsmm_mzero_mbytes.val = load i32, ptr @libxsmm_mzero_mbytes, align 64
  %libxsmm_mcopy_mbytes.val = load i32, ptr @libxsmm_mcopy_mbytes, align 64
  %30 = select i1 %.not168, i32 %libxsmm_mzero_mbytes.val, i32 %libxsmm_mcopy_mbytes.val
  %31 = add i32 %30, %18
  %32 = udiv i32 %31, %2
  %libxsmm_mzero_nscale.val = load float, ptr @libxsmm_mzero_nscale, align 64
  %libxsmm_mcopy_nscale.val = load float, ptr @libxsmm_mcopy_nscale, align 64
  %33 = select i1 %.not168, float %libxsmm_mzero_nscale.val, float %libxsmm_mcopy_nscale.val
  %34 = uitofp i32 %32 to float
  %35 = fmul float %33, %34
  %.0145 = fptoui float %35 to i32
  %36 = icmp ult i32 %31, %2
  %spec.select = select i1 %36, i32 %3, i32 %32
  %37 = icmp eq i32 %.0145, 0
  %38 = tail call i32 @llvm.umin.i32(i32 %4, i32 2)
  %.1146 = select i1 %37, i32 %38, i32 %.0145
  %39 = icmp ne i32 %30, 0
  %40 = fcmp oeq float %33, 0.000000e+00
  %or.cond15 = select i1 %39, i1 %40, i1 false
  br i1 %or.cond15, label %41, label %47

41:                                               ; preds = %29
  %42 = mul i32 %.1146, %2
  %43 = mul i32 %42, %spec.select
  %44 = icmp ult i32 %30, %43
  br i1 %44, label %45, label %47

45:                                               ; preds = %41
  %46 = udiv i32 %30, %42
  %spec.select178 = tail call i32 @llvm.umax.i32(i32 %46, i32 2)
  br label %47

47:                                               ; preds = %45, %41, %29
  %.2 = phi i32 [ %spec.select178, %45 ], [ %spec.select, %41 ], [ %spec.select, %29 ]
  %48 = icmp ule i32 %.2, %3
  %49 = icmp ule i32 %.1146, %4
  %.not188 = select i1 %48, i1 %49, i1 false
  br i1 %.not188, label %66, label %50

50:                                               ; preds = %47
  %51 = icmp eq i32 %8, 1
  br i1 %51, label %66, label %52

52:                                               ; preds = %50
  %53 = mul i32 %4, %3
  %54 = sitofp i32 %8 to float
  %55 = fmul float %33, %54
  %56 = fptoui float %55 to i32
  %57 = udiv i32 %53, %56
  %58 = tail call i32 @libxsmm_isqrt_u32(i32 noundef %57) #5
  %59 = uitofp i32 %58 to float
  %60 = fmul float %33, %59
  %61 = fptoui float %60 to i32
  %62 = icmp ugt i32 %4, 1
  %. = tail call i32 @llvm.umin.i32(i32 %58, i32 %4)
  %63 = select i1 %62, i32 %., i32 1
  %64 = icmp ugt i32 %3, 1
  %.179 = tail call i32 @llvm.umin.i32(i32 %61, i32 %3)
  %65 = select i1 %64, i32 %.179, i32 1
  br label %66

66:                                               ; preds = %50, %52, %47
  %.2147 = phi i32 [ %63, %52 ], [ %.1146, %47 ], [ %4, %50 ]
  %.3 = phi i32 [ %65, %52 ], [ %.2, %47 ], [ %3, %50 ]
  %67 = load i32, ptr @libxsmm_xcopy_jit, align 64, !tbaa !5
  %68 = and i32 %67, 2
  %.not171 = icmp eq i32 %68, 0
  br i1 %.not171, label %84, label %69

69:                                               ; preds = %66
  %70 = and i32 %67, 8
  %.not172 = icmp eq i32 %70, 0
  %or.cond182 = and i1 %.not188, %.not172
  br i1 %or.cond182, label %84, label %71

71:                                               ; preds = %69
  %trunc = trunc nuw i32 %2 to i8
  switch i8 %trunc, label %84 [
    i8 8, label %72
    i8 4, label %75
    i8 2, label %78
    i8 1, label %81
  ]

72:                                               ; preds = %71
  call void @llvm.lifetime.start.p0(i64 28, ptr nonnull %10) #5
  call void @libxsmm_create_meltw_unary_shape(ptr dead_on_unwind nonnull writable sret(%struct.libxsmm_meltw_unary_shape) align 4 %10, i32 noundef %.3, i32 noundef %.2147, i32 noundef %5, i32 noundef %6, i32 noundef 0, i32 noundef 0, i32 noundef 0) #5
  %73 = select i1 %.not168, i32 2, i32 1
  %74 = call ptr @libxsmm_dispatch_meltw_unary(i32 noundef %73, ptr noundef nonnull byval(%struct.libxsmm_meltw_unary_shape) align 8 %10, i32 noundef 0) #5
  call void @llvm.lifetime.end.p0(i64 28, ptr nonnull %10) #5
  br label %84

75:                                               ; preds = %71
  call void @llvm.lifetime.start.p0(i64 28, ptr nonnull %11) #5
  call void @libxsmm_create_meltw_unary_shape(ptr dead_on_unwind nonnull writable sret(%struct.libxsmm_meltw_unary_shape) align 4 %11, i32 noundef %.3, i32 noundef %.2147, i32 noundef %5, i32 noundef %6, i32 noundef 1, i32 noundef 1, i32 noundef 1) #5
  %76 = select i1 %.not168, i32 2, i32 1
  %77 = call ptr @libxsmm_dispatch_meltw_unary(i32 noundef %76, ptr noundef nonnull byval(%struct.libxsmm_meltw_unary_shape) align 8 %11, i32 noundef 0) #5
  call void @llvm.lifetime.end.p0(i64 28, ptr nonnull %11) #5
  br label %84

78:                                               ; preds = %71
  call void @llvm.lifetime.start.p0(i64 28, ptr nonnull %12) #5
  call void @libxsmm_create_meltw_unary_shape(ptr dead_on_unwind nonnull writable sret(%struct.libxsmm_meltw_unary_shape) align 4 %12, i32 noundef %.3, i32 noundef %.2147, i32 noundef %5, i32 noundef %6, i32 noundef 10, i32 noundef 10, i32 noundef 10) #5
  %79 = select i1 %.not168, i32 2, i32 1
  %80 = call ptr @libxsmm_dispatch_meltw_unary(i32 noundef %79, ptr noundef nonnull byval(%struct.libxsmm_meltw_unary_shape) align 8 %12, i32 noundef 0) #5
  call void @llvm.lifetime.end.p0(i64 28, ptr nonnull %12) #5
  br label %84

81:                                               ; preds = %71
  call void @llvm.lifetime.start.p0(i64 28, ptr nonnull %13) #5
  call void @libxsmm_create_meltw_unary_shape(ptr dead_on_unwind nonnull writable sret(%struct.libxsmm_meltw_unary_shape) align 4 %13, i32 noundef %.3, i32 noundef %.2147, i32 noundef %5, i32 noundef %6, i32 noundef 12, i32 noundef 12, i32 noundef 12) #5
  %82 = select i1 %.not168, i32 2, i32 1
  %83 = call ptr @libxsmm_dispatch_meltw_unary(i32 noundef %82, ptr noundef nonnull byval(%struct.libxsmm_meltw_unary_shape) align 8 %13, i32 noundef 0) #5
  call void @llvm.lifetime.end.p0(i64 28, ptr nonnull %13) #5
  br label %84

84:                                               ; preds = %69, %71, %72, %75, %78, %81, %66
  %.sroa.0.0 = phi ptr [ null, %71 ], [ %83, %81 ], [ %80, %78 ], [ %77, %75 ], [ %74, %72 ], [ null, %66 ], [ null, %69 ]
  %85 = ptrtoint ptr %.sroa.0.0 to i64
  call void @libxsmm_matcopy_task_internal(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, i32 noundef %.3, i32 noundef %.2147, i64 %85, i32 noundef %7, i32 noundef %8)
  br label %119

86:                                               ; preds = %27, %23, %17
  %87 = load i32, ptr @libxsmm_verbosity, align 4, !tbaa !5
  %.not166 = icmp eq i32 %87, 0
  br i1 %.not166, label %119, label %88

88:                                               ; preds = %86
  %89 = atomicrmw add ptr @libxsmm_matcopy_task.error_once, i32 1 seq_cst, align 4
  %90 = icmp eq i32 %89, 0
  br i1 %90, label %91, label %119

91:                                               ; preds = %88
  %92 = icmp sgt i32 %7, -1
  %.not167 = icmp slt i32 %7, %8
  %or.cond183 = and i1 %92, %.not167
  br i1 %or.cond183, label %96, label %93

93:                                               ; preds = %91
  %94 = load ptr, ptr @stderr, align 8, !tbaa !9
  %95 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %94, ptr noundef nonnull @.str.41) #6
  br label %119

96:                                               ; preds = %91
  %97 = icmp eq ptr %0, null
  br i1 %97, label %98, label %101

98:                                               ; preds = %96
  %99 = load ptr, ptr @stderr, align 8, !tbaa !9
  %100 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %99, ptr noundef nonnull @.str.42) #6
  br label %119

101:                                              ; preds = %96
  br i1 %.not165, label %102, label %105

102:                                              ; preds = %101
  %103 = load ptr, ptr @stderr, align 8, !tbaa !9
  %104 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %103, ptr noundef nonnull @.str.43) #6
  br label %119

105:                                              ; preds = %101
  %106 = add i32 %2, -256
  %or.cond18 = icmp ult i32 %106, -255
  br i1 %or.cond18, label %107, label %110

107:                                              ; preds = %105
  %108 = load ptr, ptr @stderr, align 8, !tbaa !9
  %109 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %108, ptr noundef nonnull @.str.44) #6
  br label %119

110:                                              ; preds = %105
  %or.cond185 = or i1 %.not, %.not164
  br i1 %or.cond185, label %111, label %114

111:                                              ; preds = %110
  %112 = load ptr, ptr @stderr, align 8, !tbaa !9
  %113 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %112, ptr noundef nonnull @.str.45) #6
  br label %119

114:                                              ; preds = %110
  %115 = or i32 %4, %3
  %or.cond21.not = icmp sgt i32 %115, -1
  br i1 %or.cond21.not, label %119, label %116

116:                                              ; preds = %114
  %117 = load ptr, ptr @stderr, align 8, !tbaa !9
  %118 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %117, ptr noundef nonnull @.str.46) #6
  br label %119

119:                                              ; preds = %86, %88, %98, %107, %116, %114, %111, %102, %93, %28, %84
  ret void
}

declare void @libxsmm_init() local_unnamed_addr #2

declare i32 @libxsmm_isqrt_u32(i32 noundef) local_unnamed_addr #2

declare void @libxsmm_create_meltw_unary_shape(ptr dead_on_unwind writable sret(%struct.libxsmm_meltw_unary_shape) align 4, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2

declare ptr @libxsmm_dispatch_meltw_unary(i32 noundef, ptr noundef byval(%struct.libxsmm_meltw_unary_shape) align 8, i32 noundef) local_unnamed_addr #2

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

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

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nofree nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #5 = { nounwind }
attributes #6 = { cold nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass