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

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

%struct.libxsmm_gemm_shape = type { i32, i32, i32, i32, i32, i32, i32, i32, i32, i32 }
%struct.libxsmm_gemm_ext_unary_argops = type { i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32 }
%struct.libxsmm_gemm_ext_binary_postops = type { i32, i32, i32, i32 }
%struct.libxsmm_gemm_batch_reduce_config = type { i32, i32, i32, i8 }
%struct.libxsmm_gemm_descriptor = type <{ i32, i32, i32, i32, i32, i32, i32, i8, [3 x i8], i8, i64, i64, i8, i32, i32, i32, i16, i16, i8, i8, i8, i8, i16, i16, i16, i16, i16, i16, i32, i32, i32, i8 }>

@.str.1 = external hidden unnamed_addr constant [73 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [881 x i8], align 1
@__PRETTY_FUNCTION__.libxsmm_gemm_descriptor_init_brgemm_ext = external hidden unnamed_addr constant [282 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [861 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [861 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [861 x i8], align 1

; Function Attrs: nounwind uwtable
declare dso_local ptr @libxsmm_gemm_descriptor_init(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #0

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

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

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

; Function Attrs: nounwind uwtable
define dso_local ptr @libxsmm_gemm_descriptor_init_brgemm_ext(ptr noundef %0, ptr noundef byval(%struct.libxsmm_gemm_shape) align 8 %1, i32 noundef %2, i32 noundef %3, i64 %4, i64 %5, ptr noundef byval(%struct.libxsmm_gemm_ext_unary_argops) align 8 %6, ptr noundef byval(%struct.libxsmm_gemm_ext_binary_postops) align 8 %7) #0 {
  %9 = alloca ptr, align 8
  %10 = alloca %struct.libxsmm_gemm_batch_reduce_config, align 4
  %11 = alloca ptr, align 8
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca ptr, align 8
  %16 = alloca i32, align 4
  %17 = getelementptr inbounds { i64, i64 }, ptr %10, i32 0, i32 0
  store i64 %4, ptr %17, align 4
  %18 = getelementptr inbounds { i64, i64 }, ptr %10, i32 0, i32 1
  store i64 %5, ptr %18, align 4
  store ptr %0, ptr %11, align 8, !tbaa !5
  store i32 %2, ptr %12, align 4, !tbaa !9
  store i32 %3, ptr %13, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #3
  %19 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %19, ptr %14, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #3
  store ptr null, ptr %15, align 8, !tbaa !5
  %20 = load i32, ptr %14, align 4, !tbaa !9
  %21 = and i32 64, %20
  %22 = icmp ne i32 %21, 0
  br i1 %22, label %23, label %27

23:                                               ; preds = %8
  %24 = load i32, ptr %14, align 4, !tbaa !9
  %25 = and i32 128, %24
  %26 = icmp eq i32 %25, 0
  br i1 %26, label %35, label %27

27:                                               ; preds = %23, %8
  %28 = load i32, ptr %14, align 4, !tbaa !9
  %29 = and i32 64, %28
  %30 = icmp eq i32 %29, 0
  br i1 %30, label %31, label %36

31:                                               ; preds = %27
  %32 = load i32, ptr %14, align 4, !tbaa !9
  %33 = and i32 128, %32
  %34 = icmp ne i32 %33, 0
  br i1 %34, label %35, label %36

35:                                               ; preds = %31, %23
  store ptr null, ptr %9, align 8
  store i32 1, ptr %16, align 4
  br label %469

36:                                               ; preds = %31, %27
  %37 = load i32, ptr %14, align 4, !tbaa !9
  %38 = or i32 %37, 32768
  store i32 %38, ptr %14, align 4, !tbaa !9
  %39 = getelementptr inbounds %struct.libxsmm_gemm_batch_reduce_config, ptr %10, i32 0, i32 0
  %40 = load i32, ptr %39, align 4, !tbaa !11
  %41 = icmp eq i32 %40, 1
  br i1 %41, label %42, label %45

42:                                               ; preds = %36
  %43 = load i32, ptr %14, align 4, !tbaa !9
  %44 = or i32 %43, 65536
  store i32 %44, ptr %14, align 4, !tbaa !9
  br label %62

45:                                               ; preds = %36
  %46 = getelementptr inbounds %struct.libxsmm_gemm_batch_reduce_config, ptr %10, i32 0, i32 0
  %47 = load i32, ptr %46, align 4, !tbaa !11
  %48 = icmp eq i32 %47, 2
  br i1 %48, label %49, label %52

49:                                               ; preds = %45
  %50 = load i32, ptr %14, align 4, !tbaa !9
  %51 = or i32 %50, 131072
  store i32 %51, ptr %14, align 4, !tbaa !9
  br label %61

52:                                               ; preds = %45
  %53 = getelementptr inbounds %struct.libxsmm_gemm_batch_reduce_config, ptr %10, i32 0, i32 0
  %54 = load i32, ptr %53, align 4, !tbaa !11
  %55 = icmp eq i32 %54, 4
  br i1 %55, label %56, label %59

56:                                               ; preds = %52
  %57 = load i32, ptr %14, align 4, !tbaa !9
  %58 = or i32 %57, 262144
  store i32 %58, ptr %14, align 4, !tbaa !9
  br label %60

59:                                               ; preds = %52
  br label %60

60:                                               ; preds = %59, %56
  br label %61

61:                                               ; preds = %60, %49
  br label %62

62:                                               ; preds = %61, %42
  %63 = load ptr, ptr %11, align 8, !tbaa !5
  %64 = getelementptr inbounds %struct.libxsmm_gemm_shape, ptr %1, i32 0, i32 6
  %65 = load i32, ptr %64, align 8, !tbaa !13
  %66 = getelementptr inbounds %struct.libxsmm_gemm_shape, ptr %1, i32 0, i32 7
  %67 = load i32, ptr %66, align 4, !tbaa !15
  %68 = getelementptr inbounds %struct.libxsmm_gemm_shape, ptr %1, i32 0, i32 9
  %69 = load i32, ptr %68, align 4, !tbaa !16
  %70 = getelementptr inbounds %struct.libxsmm_gemm_shape, ptr %1, i32 0, i32 8
  %71 = load i32, ptr %70, align 8, !tbaa !17
  %72 = getelementptr inbounds %struct.libxsmm_gemm_shape, ptr %1, i32 0, i32 0
  %73 = load i32, ptr %72, align 8, !tbaa !18
  %74 = getelementptr inbounds %struct.libxsmm_gemm_shape, ptr %1, i32 0, i32 1
  %75 = load i32, ptr %74, align 4, !tbaa !19
  %76 = getelementptr inbounds %struct.libxsmm_gemm_shape, ptr %1, i32 0, i32 2
  %77 = load i32, ptr %76, align 8, !tbaa !20
  %78 = getelementptr inbounds %struct.libxsmm_gemm_shape, ptr %1, i32 0, i32 3
  %79 = load i32, ptr %78, align 4, !tbaa !21
  %80 = getelementptr inbounds %struct.libxsmm_gemm_shape, ptr %1, i32 0, i32 4
  %81 = load i32, ptr %80, align 8, !tbaa !22
  %82 = getelementptr inbounds %struct.libxsmm_gemm_shape, ptr %1, i32 0, i32 5
  %83 = load i32, ptr %82, align 4, !tbaa !23
  %84 = load i32, ptr %14, align 4, !tbaa !9
  %85 = load i32, ptr %13, align 4, !tbaa !9
  %86 = call ptr @libxsmm_gemm_descriptor_init(ptr noundef %63, i32 noundef %65, i32 noundef %67, i32 noundef %69, i32 noundef %71, i32 noundef %73, i32 noundef %75, i32 noundef %77, i32 noundef %79, i32 noundef %81, i32 noundef %83, i32 noundef %84, i32 noundef %85)
  store ptr %86, ptr %15, align 8, !tbaa !5
  %87 = getelementptr inbounds %struct.libxsmm_gemm_batch_reduce_config, ptr %10, i32 0, i32 0
  %88 = load i32, ptr %87, align 4, !tbaa !11
  %89 = icmp ne i32 %88, 0
  br i1 %89, label %90, label %139

90:                                               ; preds = %62
  %91 = getelementptr inbounds %struct.libxsmm_gemm_batch_reduce_config, ptr %10, i32 0, i32 0
  %92 = load i32, ptr %91, align 4, !tbaa !11
  %93 = icmp eq i32 %92, 4
  br i1 %93, label %94, label %105

94:                                               ; preds = %90
  %95 = getelementptr inbounds %struct.libxsmm_gemm_batch_reduce_config, ptr %10, i32 0, i32 1
  %96 = load i32, ptr %95, align 4, !tbaa !24
  %97 = sext i32 %96 to i64
  %98 = load ptr, ptr %15, align 8, !tbaa !5
  %99 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %98, i32 0, i32 10
  store i64 %97, ptr %99, align 1, !tbaa !25
  %100 = getelementptr inbounds %struct.libxsmm_gemm_batch_reduce_config, ptr %10, i32 0, i32 2
  %101 = load i32, ptr %100, align 4, !tbaa !29
  %102 = sext i32 %101 to i64
  %103 = load ptr, ptr %15, align 8, !tbaa !5
  %104 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %103, i32 0, i32 11
  store i64 %102, ptr %104, align 1, !tbaa !30
  br label %110

105:                                              ; preds = %90
  %106 = load ptr, ptr %15, align 8, !tbaa !5
  %107 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %106, i32 0, i32 10
  store i64 0, ptr %107, align 1, !tbaa !25
  %108 = load ptr, ptr %15, align 8, !tbaa !5
  %109 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %108, i32 0, i32 11
  store i64 0, ptr %109, align 1, !tbaa !30
  br label %110

110:                                              ; preds = %105, %94
  %111 = getelementptr inbounds %struct.libxsmm_gemm_batch_reduce_config, ptr %10, i32 0, i32 3
  %112 = load i8, ptr %111, align 4, !tbaa !31
  %113 = zext i8 %112 to i32
  %114 = icmp ne i32 %113, 0
  br i1 %114, label %115, label %135

115:                                              ; preds = %110
  %116 = getelementptr inbounds %struct.libxsmm_gemm_batch_reduce_config, ptr %10, i32 0, i32 3
  %117 = load i8, ptr %116, align 4, !tbaa !31
  %118 = zext i8 %117 to i32
  %119 = icmp slt i32 %118, 255
  br i1 %119, label %120, label %129

120:                                              ; preds = %115
  %121 = getelementptr inbounds %struct.libxsmm_gemm_batch_reduce_config, ptr %10, i32 0, i32 3
  %122 = load i8, ptr %121, align 4, !tbaa !31
  %123 = zext i8 %122 to i32
  %124 = icmp sgt i32 %123, 0
  br i1 %124, label %125, label %129

125:                                              ; preds = %120
  %126 = getelementptr inbounds %struct.libxsmm_gemm_batch_reduce_config, ptr %10, i32 0, i32 3
  %127 = load i8, ptr %126, align 4, !tbaa !31
  %128 = zext i8 %127 to i32
  br label %130

129:                                              ; preds = %120, %115
  br label %130

130:                                              ; preds = %129, %125
  %131 = phi i32 [ %128, %125 ], [ 0, %129 ]
  %132 = trunc i32 %131 to i8
  %133 = load ptr, ptr %15, align 8, !tbaa !5
  %134 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %133, i32 0, i32 12
  store i8 %132, ptr %134, align 1, !tbaa !32
  br label %138

135:                                              ; preds = %110
  %136 = load ptr, ptr %15, align 8, !tbaa !5
  %137 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %136, i32 0, i32 12
  store i8 0, ptr %137, align 1, !tbaa !32
  br label %138

138:                                              ; preds = %135, %130
  br label %139

139:                                              ; preds = %138, %62
  %140 = getelementptr inbounds %struct.libxsmm_gemm_ext_binary_postops, ptr %7, i32 0, i32 1
  %141 = load i32, ptr %140, align 4, !tbaa !33
  %142 = trunc i32 %141 to i8
  %143 = load ptr, ptr %15, align 8, !tbaa !5
  %144 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %143, i32 0, i32 9
  store i8 %142, ptr %144, align 1, !tbaa !35
  %145 = getelementptr inbounds %struct.libxsmm_gemm_ext_binary_postops, ptr %7, i32 0, i32 3
  %146 = load i32, ptr %145, align 4, !tbaa !36
  %147 = trunc i32 %146 to i16
  %148 = load ptr, ptr %15, align 8, !tbaa !5
  %149 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %148, i32 0, i32 17
  store i16 %147, ptr %149, align 1, !tbaa !37
  %150 = getelementptr inbounds %struct.libxsmm_gemm_ext_binary_postops, ptr %7, i32 0, i32 2
  %151 = load i32, ptr %150, align 8, !tbaa !38
  %152 = trunc i32 %151 to i16
  %153 = load ptr, ptr %15, align 8, !tbaa !5
  %154 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %153, i32 0, i32 16
  store i16 %152, ptr %154, align 1, !tbaa !39
  %155 = getelementptr inbounds %struct.libxsmm_gemm_ext_binary_postops, ptr %7, i32 0, i32 2
  %156 = load i32, ptr %155, align 8, !tbaa !38
  %157 = icmp eq i32 %156, 0
  %158 = zext i1 %157 to i64
  %159 = select i1 %157, i32 0, i32 2
  %160 = trunc i32 %159 to i8
  %161 = zext i8 %160 to i32
  %162 = icmp eq i32 0, %161
  br i1 %162, label %172, label %163

163:                                              ; preds = %139
  %164 = getelementptr inbounds %struct.libxsmm_gemm_ext_binary_postops, ptr %7, i32 0, i32 2
  %165 = load i32, ptr %164, align 8, !tbaa !38
  %166 = icmp eq i32 %165, 0
  %167 = zext i1 %166 to i64
  %168 = select i1 %166, i32 0, i32 2
  %169 = trunc i32 %168 to i8
  %170 = zext i8 %169 to i32
  %171 = icmp slt i32 0, %170
  br i1 %171, label %172, label %202

172:                                              ; preds = %163, %139
  %173 = getelementptr inbounds %struct.libxsmm_gemm_ext_binary_postops, ptr %7, i32 0, i32 2
  %174 = load i32, ptr %173, align 8, !tbaa !38
  %175 = icmp eq i32 %174, 0
  %176 = zext i1 %175 to i64
  %177 = select i1 %175, i32 0, i32 2
  %178 = sext i32 %177 to i64
  %179 = mul i64 1, %178
  %180 = icmp ult i64 %179, 255
  br i1 %180, label %181, label %189

181:                                              ; preds = %172
  %182 = getelementptr inbounds %struct.libxsmm_gemm_ext_binary_postops, ptr %7, i32 0, i32 2
  %183 = load i32, ptr %182, align 8, !tbaa !38
  %184 = icmp eq i32 %183, 0
  %185 = zext i1 %184 to i64
  %186 = select i1 %184, i32 0, i32 2
  %187 = sext i32 %186 to i64
  %188 = mul i64 1, %187
  br label %190

189:                                              ; preds = %172
  br label %190

190:                                              ; preds = %189, %181
  %191 = phi i64 [ %188, %181 ], [ 255, %189 ]
  %192 = icmp ule i64 %191, 255
  br i1 %192, label %193, label %202

193:                                              ; preds = %190
  %194 = getelementptr inbounds %struct.libxsmm_gemm_ext_binary_postops, ptr %7, i32 0, i32 2
  %195 = load i32, ptr %194, align 8, !tbaa !38
  %196 = icmp eq i32 %195, 0
  %197 = zext i1 %196 to i64
  %198 = select i1 %196, i32 0, i32 2
  %199 = sitofp i32 %198 to double
  %200 = fcmp ole double 0.000000e+00, %199
  br i1 %200, label %201, label %202

201:                                              ; preds = %193
  br label %203

202:                                              ; preds = %193, %190, %163
  call void @__assert_fail(ptr noundef @.str.3, ptr noundef @.str.1, i32 noundef 290, ptr noundef @__PRETTY_FUNCTION__.libxsmm_gemm_descriptor_init_brgemm_ext) #4
  unreachable

203:                                              ; preds = %201
  %204 = getelementptr inbounds %struct.libxsmm_gemm_ext_binary_postops, ptr %7, i32 0, i32 2
  %205 = load i32, ptr %204, align 8, !tbaa !38
  %206 = icmp eq i32 %205, 0
  %207 = zext i1 %206 to i64
  %208 = select i1 %206, i32 0, i32 2
  %209 = trunc i32 %208 to i8
  %210 = load ptr, ptr %15, align 8, !tbaa !5
  %211 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %210, i32 0, i32 18
  store i8 %209, ptr %211, align 1, !tbaa !40
  %212 = getelementptr inbounds %struct.libxsmm_gemm_ext_binary_postops, ptr %7, i32 0, i32 0
  %213 = load i32, ptr %212, align 8, !tbaa !41
  %214 = load ptr, ptr %15, align 8, !tbaa !5
  %215 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %214, i32 0, i32 13
  store i32 %213, ptr %215, align 1, !tbaa !42
  %216 = load ptr, ptr %15, align 8, !tbaa !5
  %217 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %216, i32 0, i32 14
  store i32 0, ptr %217, align 1, !tbaa !43
  %218 = load ptr, ptr %15, align 8, !tbaa !5
  %219 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %218, i32 0, i32 15
  store i32 0, ptr %219, align 1, !tbaa !44
  %220 = load ptr, ptr %15, align 8, !tbaa !5
  %221 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %220, i32 0, i32 31
  store i8 0, ptr %221, align 1, !tbaa !45
  %222 = getelementptr inbounds %struct.libxsmm_gemm_ext_unary_argops, ptr %6, i32 0, i32 1
  %223 = load i32, ptr %222, align 4, !tbaa !46
  %224 = icmp eq i32 %223, 0
  %225 = zext i1 %224 to i64
  %226 = select i1 %224, i32 0, i32 1
  %227 = trunc i32 %226 to i8
  %228 = zext i8 %227 to i32
  %229 = icmp eq i32 0, %228
  br i1 %229, label %239, label %230

230:                                              ; preds = %203
  %231 = getelementptr inbounds %struct.libxsmm_gemm_ext_unary_argops, ptr %6, i32 0, i32 1
  %232 = load i32, ptr %231, align 4, !tbaa !46
  %233 = icmp eq i32 %232, 0
  %234 = zext i1 %233 to i64
  %235 = select i1 %233, i32 0, i32 1
  %236 = trunc i32 %235 to i8
  %237 = zext i8 %236 to i32
  %238 = icmp slt i32 0, %237
  br i1 %238, label %239, label %269

239:                                              ; preds = %230, %203
  %240 = getelementptr inbounds %struct.libxsmm_gemm_ext_unary_argops, ptr %6, i32 0, i32 1
  %241 = load i32, ptr %240, align 4, !tbaa !46
  %242 = icmp eq i32 %241, 0
  %243 = zext i1 %242 to i64
  %244 = select i1 %242, i32 0, i32 1
  %245 = sext i32 %244 to i64
  %246 = mul i64 1, %245
  %247 = icmp ult i64 %246, 255
  br i1 %247, label %248, label %256

248:                                              ; preds = %239
  %249 = getelementptr inbounds %struct.libxsmm_gemm_ext_unary_argops, ptr %6, i32 0, i32 1
  %250 = load i32, ptr %249, align 4, !tbaa !46
  %251 = icmp eq i32 %250, 0
  %252 = zext i1 %251 to i64
  %253 = select i1 %251, i32 0, i32 1
  %254 = sext i32 %253 to i64
  %255 = mul i64 1, %254
  br label %257

256:                                              ; preds = %239
  br label %257

257:                                              ; preds = %256, %248
  %258 = phi i64 [ %255, %248 ], [ 255, %256 ]
  %259 = icmp ule i64 %258, 255
  br i1 %259, label %260, label %269

260:                                              ; preds = %257
  %261 = getelementptr inbounds %struct.libxsmm_gemm_ext_unary_argops, ptr %6, i32 0, i32 1
  %262 = load i32, ptr %261, align 4, !tbaa !46
  %263 = icmp eq i32 %262, 0
  %264 = zext i1 %263 to i64
  %265 = select i1 %263, i32 0, i32 1
  %266 = sitofp i32 %265 to double
  %267 = fcmp ole double 0.000000e+00, %266
  br i1 %267, label %268, label %269

268:                                              ; preds = %260
  br label %270

269:                                              ; preds = %260, %257, %230
  call void @__assert_fail(ptr noundef @.str.4, ptr noundef @.str.1, i32 noundef 297, ptr noundef @__PRETTY_FUNCTION__.libxsmm_gemm_descriptor_init_brgemm_ext) #4
  unreachable

270:                                              ; preds = %268
  %271 = getelementptr inbounds %struct.libxsmm_gemm_ext_unary_argops, ptr %6, i32 0, i32 1
  %272 = load i32, ptr %271, align 4, !tbaa !46
  %273 = icmp eq i32 %272, 0
  %274 = zext i1 %273 to i64
  %275 = select i1 %273, i32 0, i32 1
  %276 = trunc i32 %275 to i8
  %277 = load ptr, ptr %15, align 8, !tbaa !5
  %278 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %277, i32 0, i32 19
  store i8 %276, ptr %278, align 1, !tbaa !48
  %279 = getelementptr inbounds %struct.libxsmm_gemm_ext_unary_argops, ptr %6, i32 0, i32 2
  %280 = load i32, ptr %279, align 8, !tbaa !49
  %281 = trunc i32 %280 to i16
  %282 = load ptr, ptr %15, align 8, !tbaa !5
  %283 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %282, i32 0, i32 22
  store i16 %281, ptr %283, align 1, !tbaa !50
  %284 = getelementptr inbounds %struct.libxsmm_gemm_ext_unary_argops, ptr %6, i32 0, i32 1
  %285 = load i32, ptr %284, align 4, !tbaa !46
  %286 = trunc i32 %285 to i16
  %287 = load ptr, ptr %15, align 8, !tbaa !5
  %288 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %287, i32 0, i32 25
  store i16 %286, ptr %288, align 1, !tbaa !51
  %289 = getelementptr inbounds %struct.libxsmm_gemm_ext_unary_argops, ptr %6, i32 0, i32 0
  %290 = load i32, ptr %289, align 8, !tbaa !52
  %291 = load ptr, ptr %15, align 8, !tbaa !5
  %292 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %291, i32 0, i32 28
  store i32 %290, ptr %292, align 1, !tbaa !53
  %293 = getelementptr inbounds %struct.libxsmm_gemm_ext_unary_argops, ptr %6, i32 0, i32 3
  %294 = load i32, ptr %293, align 4, !tbaa !54
  %295 = icmp ne i32 %294, 0
  %296 = zext i1 %295 to i64
  %297 = select i1 %295, i32 1, i32 0
  %298 = load ptr, ptr %15, align 8, !tbaa !5
  %299 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %298, i32 0, i32 31
  %300 = load i8, ptr %299, align 1, !tbaa !45
  %301 = zext i8 %300 to i32
  %302 = or i32 %301, %297
  %303 = trunc i32 %302 to i8
  store i8 %303, ptr %299, align 1, !tbaa !45
  %304 = getelementptr inbounds %struct.libxsmm_gemm_ext_unary_argops, ptr %6, i32 0, i32 5
  %305 = load i32, ptr %304, align 4, !tbaa !55
  %306 = icmp eq i32 %305, 0
  %307 = zext i1 %306 to i64
  %308 = select i1 %306, i32 0, i32 1
  %309 = trunc i32 %308 to i8
  %310 = zext i8 %309 to i32
  %311 = icmp eq i32 0, %310
  br i1 %311, label %321, label %312

312:                                              ; preds = %270
  %313 = getelementptr inbounds %struct.libxsmm_gemm_ext_unary_argops, ptr %6, i32 0, i32 5
  %314 = load i32, ptr %313, align 4, !tbaa !55
  %315 = icmp eq i32 %314, 0
  %316 = zext i1 %315 to i64
  %317 = select i1 %315, i32 0, i32 1
  %318 = trunc i32 %317 to i8
  %319 = zext i8 %318 to i32
  %320 = icmp slt i32 0, %319
  br i1 %320, label %321, label %351

321:                                              ; preds = %312, %270
  %322 = getelementptr inbounds %struct.libxsmm_gemm_ext_unary_argops, ptr %6, i32 0, i32 5
  %323 = load i32, ptr %322, align 4, !tbaa !55
  %324 = icmp eq i32 %323, 0
  %325 = zext i1 %324 to i64
  %326 = select i1 %324, i32 0, i32 1
  %327 = sext i32 %326 to i64
  %328 = mul i64 1, %327
  %329 = icmp ult i64 %328, 255
  br i1 %329, label %330, label %338

330:                                              ; preds = %321
  %331 = getelementptr inbounds %struct.libxsmm_gemm_ext_unary_argops, ptr %6, i32 0, i32 5
  %332 = load i32, ptr %331, align 4, !tbaa !55
  %333 = icmp eq i32 %332, 0
  %334 = zext i1 %333 to i64
  %335 = select i1 %333, i32 0, i32 1
  %336 = sext i32 %335 to i64
  %337 = mul i64 1, %336
  br label %339

338:                                              ; preds = %321
  br label %339

339:                                              ; preds = %338, %330
  %340 = phi i64 [ %337, %330 ], [ 255, %338 ]
  %341 = icmp ule i64 %340, 255
  br i1 %341, label %342, label %351

342:                                              ; preds = %339
  %343 = getelementptr inbounds %struct.libxsmm_gemm_ext_unary_argops, ptr %6, i32 0, i32 5
  %344 = load i32, ptr %343, align 4, !tbaa !55
  %345 = icmp eq i32 %344, 0
  %346 = zext i1 %345 to i64
  %347 = select i1 %345, i32 0, i32 1
  %348 = sitofp i32 %347 to double
  %349 = fcmp ole double 0.000000e+00, %348
  br i1 %349, label %350, label %351

350:                                              ; preds = %342
  br label %352

351:                                              ; preds = %342, %339, %312
  call void @__assert_fail(ptr noundef @.str.5, ptr noundef @.str.1, i32 noundef 303, ptr noundef @__PRETTY_FUNCTION__.libxsmm_gemm_descriptor_init_brgemm_ext) #4
  unreachable

352:                                              ; preds = %350
  %353 = getelementptr inbounds %struct.libxsmm_gemm_ext_unary_argops, ptr %6, i32 0, i32 5
  %354 = load i32, ptr %353, align 4, !tbaa !55
  %355 = icmp eq i32 %354, 0
  %356 = zext i1 %355 to i64
  %357 = select i1 %355, i32 0, i32 1
  %358 = trunc i32 %357 to i8
  %359 = load ptr, ptr %15, align 8, !tbaa !5
  %360 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %359, i32 0, i32 20
  store i8 %358, ptr %360, align 1, !tbaa !56
  %361 = getelementptr inbounds %struct.libxsmm_gemm_ext_unary_argops, ptr %6, i32 0, i32 6
  %362 = load i32, ptr %361, align 8, !tbaa !57
  %363 = trunc i32 %362 to i16
  %364 = load ptr, ptr %15, align 8, !tbaa !5
  %365 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %364, i32 0, i32 23
  store i16 %363, ptr %365, align 1, !tbaa !58
  %366 = getelementptr inbounds %struct.libxsmm_gemm_ext_unary_argops, ptr %6, i32 0, i32 5
  %367 = load i32, ptr %366, align 4, !tbaa !55
  %368 = trunc i32 %367 to i16
  %369 = load ptr, ptr %15, align 8, !tbaa !5
  %370 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %369, i32 0, i32 26
  store i16 %368, ptr %370, align 1, !tbaa !59
  %371 = getelementptr inbounds %struct.libxsmm_gemm_ext_unary_argops, ptr %6, i32 0, i32 4
  %372 = load i32, ptr %371, align 8, !tbaa !60
  %373 = load ptr, ptr %15, align 8, !tbaa !5
  %374 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %373, i32 0, i32 29
  store i32 %372, ptr %374, align 1, !tbaa !61
  %375 = getelementptr inbounds %struct.libxsmm_gemm_ext_unary_argops, ptr %6, i32 0, i32 7
  %376 = load i32, ptr %375, align 4, !tbaa !62
  %377 = icmp ne i32 %376, 0
  %378 = zext i1 %377 to i64
  %379 = select i1 %377, i32 2, i32 0
  %380 = load ptr, ptr %15, align 8, !tbaa !5
  %381 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %380, i32 0, i32 31
  %382 = load i8, ptr %381, align 1, !tbaa !45
  %383 = zext i8 %382 to i32
  %384 = or i32 %383, %379
  %385 = trunc i32 %384 to i8
  store i8 %385, ptr %381, align 1, !tbaa !45
  %386 = getelementptr inbounds %struct.libxsmm_gemm_ext_unary_argops, ptr %6, i32 0, i32 9
  %387 = load i32, ptr %386, align 4, !tbaa !63
  %388 = icmp eq i32 %387, 0
  %389 = zext i1 %388 to i64
  %390 = select i1 %388, i32 0, i32 1
  %391 = trunc i32 %390 to i8
  %392 = zext i8 %391 to i32
  %393 = icmp eq i32 0, %392
  br i1 %393, label %403, label %394

394:                                              ; preds = %352
  %395 = getelementptr inbounds %struct.libxsmm_gemm_ext_unary_argops, ptr %6, i32 0, i32 9
  %396 = load i32, ptr %395, align 4, !tbaa !63
  %397 = icmp eq i32 %396, 0
  %398 = zext i1 %397 to i64
  %399 = select i1 %397, i32 0, i32 1
  %400 = trunc i32 %399 to i8
  %401 = zext i8 %400 to i32
  %402 = icmp slt i32 0, %401
  br i1 %402, label %403, label %433

403:                                              ; preds = %394, %352
  %404 = getelementptr inbounds %struct.libxsmm_gemm_ext_unary_argops, ptr %6, i32 0, i32 9
  %405 = load i32, ptr %404, align 4, !tbaa !63
  %406 = icmp eq i32 %405, 0
  %407 = zext i1 %406 to i64
  %408 = select i1 %406, i32 0, i32 1
  %409 = sext i32 %408 to i64
  %410 = mul i64 1, %409
  %411 = icmp ult i64 %410, 255
  br i1 %411, label %412, label %420

412:                                              ; preds = %403
  %413 = getelementptr inbounds %struct.libxsmm_gemm_ext_unary_argops, ptr %6, i32 0, i32 9
  %414 = load i32, ptr %413, align 4, !tbaa !63
  %415 = icmp eq i32 %414, 0
  %416 = zext i1 %415 to i64
  %417 = select i1 %415, i32 0, i32 1
  %418 = sext i32 %417 to i64
  %419 = mul i64 1, %418
  br label %421

420:                                              ; preds = %403
  br label %421

421:                                              ; preds = %420, %412
  %422 = phi i64 [ %419, %412 ], [ 255, %420 ]
  %423 = icmp ule i64 %422, 255
  br i1 %423, label %424, label %433

424:                                              ; preds = %421
  %425 = getelementptr inbounds %struct.libxsmm_gemm_ext_unary_argops, ptr %6, i32 0, i32 9
  %426 = load i32, ptr %425, align 4, !tbaa !63
  %427 = icmp eq i32 %426, 0
  %428 = zext i1 %427 to i64
  %429 = select i1 %427, i32 0, i32 1
  %430 = sitofp i32 %429 to double
  %431 = fcmp ole double 0.000000e+00, %430
  br i1 %431, label %432, label %433

432:                                              ; preds = %424
  br label %434

433:                                              ; preds = %424, %421, %394
  call void @__assert_fail(ptr noundef @.str.6, ptr noundef @.str.1, i32 noundef 309, ptr noundef @__PRETTY_FUNCTION__.libxsmm_gemm_descriptor_init_brgemm_ext) #4
  unreachable

434:                                              ; preds = %432
  %435 = getelementptr inbounds %struct.libxsmm_gemm_ext_unary_argops, ptr %6, i32 0, i32 9
  %436 = load i32, ptr %435, align 4, !tbaa !63
  %437 = icmp eq i32 %436, 0
  %438 = zext i1 %437 to i64
  %439 = select i1 %437, i32 0, i32 1
  %440 = trunc i32 %439 to i8
  %441 = load ptr, ptr %15, align 8, !tbaa !5
  %442 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %441, i32 0, i32 21
  store i8 %440, ptr %442, align 1, !tbaa !64
  %443 = getelementptr inbounds %struct.libxsmm_gemm_ext_unary_argops, ptr %6, i32 0, i32 10
  %444 = load i32, ptr %443, align 8, !tbaa !65
  %445 = trunc i32 %444 to i16
  %446 = load ptr, ptr %15, align 8, !tbaa !5
  %447 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %446, i32 0, i32 24
  store i16 %445, ptr %447, align 1, !tbaa !66
  %448 = getelementptr inbounds %struct.libxsmm_gemm_ext_unary_argops, ptr %6, i32 0, i32 9
  %449 = load i32, ptr %448, align 4, !tbaa !63
  %450 = trunc i32 %449 to i16
  %451 = load ptr, ptr %15, align 8, !tbaa !5
  %452 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %451, i32 0, i32 27
  store i16 %450, ptr %452, align 1, !tbaa !67
  %453 = getelementptr inbounds %struct.libxsmm_gemm_ext_unary_argops, ptr %6, i32 0, i32 8
  %454 = load i32, ptr %453, align 8, !tbaa !68
  %455 = load ptr, ptr %15, align 8, !tbaa !5
  %456 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %455, i32 0, i32 30
  store i32 %454, ptr %456, align 1, !tbaa !69
  %457 = getelementptr inbounds %struct.libxsmm_gemm_ext_unary_argops, ptr %6, i32 0, i32 11
  %458 = load i32, ptr %457, align 4, !tbaa !70
  %459 = icmp ne i32 %458, 0
  %460 = zext i1 %459 to i64
  %461 = select i1 %459, i32 4, i32 0
  %462 = load ptr, ptr %15, align 8, !tbaa !5
  %463 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %462, i32 0, i32 31
  %464 = load i8, ptr %463, align 1, !tbaa !45
  %465 = zext i8 %464 to i32
  %466 = or i32 %465, %461
  %467 = trunc i32 %466 to i8
  store i8 %467, ptr %463, align 1, !tbaa !45
  %468 = load ptr, ptr %15, align 8, !tbaa !5
  store ptr %468, ptr %9, align 8
  store i32 1, ptr %16, align 4
  br label %469

469:                                              ; preds = %434, %35
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #3
  %470 = load ptr, ptr %9, align 8
  ret ptr %470
}

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 = { 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 #3 = { nounwind }
attributes #4 = { noreturn nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !10, i64 0}
!12 = !{!"libxsmm_gemm_batch_reduce_config", !10, i64 0, !10, i64 4, !10, i64 8, !7, i64 12}
!13 = !{!14, !10, i64 24}
!14 = !{!"libxsmm_gemm_shape", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !10, i64 24, !10, i64 28, !10, i64 32, !10, i64 36}
!15 = !{!14, !10, i64 28}
!16 = !{!14, !10, i64 36}
!17 = !{!14, !10, i64 32}
!18 = !{!14, !10, i64 0}
!19 = !{!14, !10, i64 4}
!20 = !{!14, !10, i64 8}
!21 = !{!14, !10, i64 12}
!22 = !{!14, !10, i64 16}
!23 = !{!14, !10, i64 20}
!24 = !{!12, !10, i64 4}
!25 = !{!26, !27, i64 33}
!26 = !{!"libxsmm_gemm_descriptor", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !10, i64 24, !7, i64 28, !7, i64 29, !7, i64 32, !27, i64 33, !27, i64 41, !7, i64 49, !10, i64 50, !10, i64 54, !10, i64 58, !28, i64 62, !28, i64 64, !7, i64 66, !7, i64 67, !7, i64 68, !7, i64 69, !28, i64 70, !28, i64 72, !28, i64 74, !28, i64 76, !28, i64 78, !28, i64 80, !10, i64 82, !10, i64 86, !10, i64 90, !7, i64 94}
!27 = !{!"long long", !7, i64 0}
!28 = !{!"short", !7, i64 0}
!29 = !{!12, !10, i64 8}
!30 = !{!26, !27, i64 41}
!31 = !{!12, !7, i64 12}
!32 = !{!26, !7, i64 49}
!33 = !{!34, !10, i64 4}
!34 = !{!"libxsmm_gemm_ext_binary_postops", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12}
!35 = !{!26, !7, i64 32}
!36 = !{!34, !10, i64 12}
!37 = !{!26, !28, i64 64}
!38 = !{!34, !10, i64 8}
!39 = !{!26, !28, i64 62}
!40 = !{!26, !7, i64 66}
!41 = !{!34, !10, i64 0}
!42 = !{!26, !10, i64 50}
!43 = !{!26, !10, i64 54}
!44 = !{!26, !10, i64 58}
!45 = !{!26, !7, i64 94}
!46 = !{!47, !10, i64 4}
!47 = !{!"libxsmm_gemm_ext_unary_argops", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !10, i64 24, !10, i64 28, !10, i64 32, !10, i64 36, !10, i64 40, !10, i64 44}
!48 = !{!26, !7, i64 67}
!49 = !{!47, !10, i64 8}
!50 = !{!26, !28, i64 70}
!51 = !{!26, !28, i64 76}
!52 = !{!47, !10, i64 0}
!53 = !{!26, !10, i64 82}
!54 = !{!47, !10, i64 12}
!55 = !{!47, !10, i64 20}
!56 = !{!26, !7, i64 68}
!57 = !{!47, !10, i64 24}
!58 = !{!26, !28, i64 72}
!59 = !{!26, !28, i64 78}
!60 = !{!47, !10, i64 16}
!61 = !{!26, !10, i64 86}
!62 = !{!47, !10, i64 28}
!63 = !{!47, !10, i64 36}
!64 = !{!26, !7, i64 69}
!65 = !{!47, !10, i64 40}
!66 = !{!26, !28, i64 74}
!67 = !{!26, !28, i64 80}
!68 = !{!47, !10, i64 32}
!69 = !{!26, !10, i64 90}
!70 = !{!47, !10, i64 44}


; 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_gemm_shape = type { i32, i32, i32, i32, i32, i32, i32, i32, i32, i32 }
%struct.libxsmm_gemm_ext_unary_argops = type { i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32 }
%struct.libxsmm_gemm_ext_binary_postops = type { i32, i32, i32, i32 }

; Function Attrs: nounwind uwtable
declare dso_local ptr @libxsmm_gemm_descriptor_init(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
define dso_local ptr @libxsmm_gemm_descriptor_init_brgemm_ext(ptr noundef %0, ptr nocapture noundef readonly byval(%struct.libxsmm_gemm_shape) align 8 %1, i32 noundef %2, i32 noundef %3, i64 %4, i64 %5, ptr nocapture noundef readonly byval(%struct.libxsmm_gemm_ext_unary_argops) align 8 %6, ptr nocapture noundef readonly byval(%struct.libxsmm_gemm_ext_binary_postops) align 8 %7) local_unnamed_addr #0 {
  %.sroa.0.0.extract.trunc = trunc i64 %4 to i32
  %.sroa.9.8.extract.shift = lshr i64 %5, 32
  %.sroa.9.8.extract.trunc = trunc nuw i64 %.sroa.9.8.extract.shift to i32
  %9 = trunc i32 %2 to i8
  %trunc = and i8 %9, -64
  switch i8 %trunc, label %10 [
    i8 -128, label %123
    i8 64, label %123
  ]

10:                                               ; preds = %8
  %11 = or i32 %2, 32768
  switch i32 %.sroa.0.0.extract.trunc, label %18 [
    i32 1, label %12
    i32 2, label %14
    i32 4, label %16
  ]

12:                                               ; preds = %10
  %13 = or i32 %2, 98304
  br label %18

14:                                               ; preds = %10
  %15 = or i32 %2, 163840
  br label %18

16:                                               ; preds = %10
  %17 = or i32 %2, 294912
  br label %18

18:                                               ; preds = %10, %14, %16, %12
  %.0 = phi i32 [ %13, %12 ], [ %15, %14 ], [ %17, %16 ], [ %11, %10 ]
  %19 = getelementptr inbounds i8, ptr %1, i64 24
  %20 = load i32, ptr %19, align 8, !tbaa !5
  %21 = getelementptr inbounds i8, ptr %1, i64 28
  %22 = load i32, ptr %21, align 4, !tbaa !10
  %23 = getelementptr inbounds i8, ptr %1, i64 36
  %24 = load i32, ptr %23, align 4, !tbaa !11
  %25 = getelementptr inbounds i8, ptr %1, i64 32
  %26 = load i32, ptr %25, align 8, !tbaa !12
  %27 = load i32, ptr %1, align 8, !tbaa !13
  %28 = getelementptr inbounds i8, ptr %1, i64 4
  %29 = load i32, ptr %28, align 4, !tbaa !14
  %30 = getelementptr inbounds i8, ptr %1, i64 8
  %31 = load i32, ptr %30, align 8, !tbaa !15
  %32 = getelementptr inbounds i8, ptr %1, i64 12
  %33 = load i32, ptr %32, align 4, !tbaa !16
  %34 = getelementptr inbounds i8, ptr %1, i64 16
  %35 = load i32, ptr %34, align 8, !tbaa !17
  %36 = getelementptr inbounds i8, ptr %1, i64 20
  %37 = load i32, ptr %36, align 4, !tbaa !18
  %38 = tail call ptr @libxsmm_gemm_descriptor_init(ptr noundef %0, i32 noundef %20, i32 noundef %22, i32 noundef %24, i32 noundef %26, i32 noundef %27, i32 noundef %29, i32 noundef %31, i32 noundef %33, i32 noundef %35, i32 noundef %37, i32 noundef %.0, i32 noundef %3)
  switch i32 %.sroa.0.0.extract.trunc, label %44 [
    i32 0, label %50
    i32 4, label %39
  ]

39:                                               ; preds = %18
  %40 = ashr i64 %4, 32
  %41 = getelementptr inbounds i8, ptr %38, i64 33
  store i64 %40, ptr %41, align 1, !tbaa !19
  %sext = shl i64 %5, 32
  %42 = ashr exact i64 %sext, 32
  %43 = getelementptr inbounds i8, ptr %38, i64 41
  store i64 %42, ptr %43, align 1, !tbaa !23
  br label %.sink.split

44:                                               ; preds = %18
  %45 = getelementptr inbounds i8, ptr %38, i64 33
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 1 dereferenceable(16) %45, i8 0, i64 16, i1 false)
  br label %.sink.split

.sink.split:                                      ; preds = %44, %39
  %46 = and i32 %.sroa.9.8.extract.trunc, 255
  %.not56 = icmp eq i32 %46, 0
  %.not57 = icmp eq i32 %46, 255
  %47 = trunc i64 %.sroa.9.8.extract.shift to i8
  %48 = or i1 %.not56, %.not57
  %.sink = select i1 %48, i8 0, i8 %47
  %49 = getelementptr inbounds i8, ptr %38, i64 49
  store i8 %.sink, ptr %49, align 1, !tbaa !24
  br label %50

50:                                               ; preds = %.sink.split, %18
  %51 = getelementptr inbounds i8, ptr %7, i64 4
  %52 = load i32, ptr %51, align 4, !tbaa !25
  %53 = trunc i32 %52 to i8
  %54 = getelementptr inbounds i8, ptr %38, i64 32
  store i8 %53, ptr %54, align 1, !tbaa !27
  %55 = getelementptr inbounds i8, ptr %7, i64 12
  %56 = load i32, ptr %55, align 4, !tbaa !28
  %57 = trunc i32 %56 to i16
  %58 = getelementptr inbounds i8, ptr %38, i64 64
  store i16 %57, ptr %58, align 1, !tbaa !29
  %59 = getelementptr inbounds i8, ptr %7, i64 8
  %60 = load i32, ptr %59, align 8, !tbaa !30
  %61 = trunc i32 %60 to i16
  %62 = getelementptr inbounds i8, ptr %38, i64 62
  store i16 %61, ptr %62, align 1, !tbaa !31
  %63 = icmp eq i32 %60, 0
  %64 = select i1 %63, i8 0, i8 2
  %65 = getelementptr inbounds i8, ptr %38, i64 66
  store i8 %64, ptr %65, align 1, !tbaa !32
  %66 = load i32, ptr %7, align 8, !tbaa !33
  %67 = getelementptr inbounds i8, ptr %38, i64 50
  store i32 %66, ptr %67, align 1, !tbaa !34
  %68 = getelementptr inbounds i8, ptr %38, i64 54
  store i32 0, ptr %68, align 1, !tbaa !35
  %69 = getelementptr inbounds i8, ptr %38, i64 58
  store i32 0, ptr %69, align 1, !tbaa !36
  %70 = getelementptr inbounds i8, ptr %38, i64 94
  %71 = getelementptr inbounds i8, ptr %6, i64 4
  %72 = load i32, ptr %71, align 4, !tbaa !37
  %73 = icmp ne i32 %72, 0
  %74 = zext i1 %73 to i8
  %75 = getelementptr inbounds i8, ptr %38, i64 67
  store i8 %74, ptr %75, align 1, !tbaa !39
  %76 = getelementptr inbounds i8, ptr %6, i64 8
  %77 = load i32, ptr %76, align 8, !tbaa !40
  %78 = trunc i32 %77 to i16
  %79 = getelementptr inbounds i8, ptr %38, i64 70
  store i16 %78, ptr %79, align 1, !tbaa !41
  %80 = trunc i32 %72 to i16
  %81 = getelementptr inbounds i8, ptr %38, i64 76
  store i16 %80, ptr %81, align 1, !tbaa !42
  %82 = load i32, ptr %6, align 8, !tbaa !43
  %83 = getelementptr inbounds i8, ptr %38, i64 82
  store i32 %82, ptr %83, align 1, !tbaa !44
  %84 = getelementptr inbounds i8, ptr %6, i64 12
  %85 = load i32, ptr %84, align 4, !tbaa !45
  %.not59 = icmp ne i32 %85, 0
  %86 = zext i1 %.not59 to i8
  %87 = getelementptr inbounds i8, ptr %6, i64 20
  %88 = load i32, ptr %87, align 4, !tbaa !46
  %89 = icmp ne i32 %88, 0
  %90 = zext i1 %89 to i8
  %91 = getelementptr inbounds i8, ptr %38, i64 68
  store i8 %90, ptr %91, align 1, !tbaa !47
  %92 = getelementptr inbounds i8, ptr %6, i64 24
  %93 = load i32, ptr %92, align 8, !tbaa !48
  %94 = trunc i32 %93 to i16
  %95 = getelementptr inbounds i8, ptr %38, i64 72
  store i16 %94, ptr %95, align 1, !tbaa !49
  %96 = trunc i32 %88 to i16
  %97 = getelementptr inbounds i8, ptr %38, i64 78
  store i16 %96, ptr %97, align 1, !tbaa !50
  %98 = getelementptr inbounds i8, ptr %6, i64 16
  %99 = load i32, ptr %98, align 8, !tbaa !51
  %100 = getelementptr inbounds i8, ptr %38, i64 86
  store i32 %99, ptr %100, align 1, !tbaa !52
  %101 = getelementptr inbounds i8, ptr %6, i64 28
  %102 = load i32, ptr %101, align 4, !tbaa !53
  %.not61 = icmp eq i32 %102, 0
  %103 = select i1 %.not61, i8 0, i8 2
  %104 = or disjoint i8 %103, %86
  %105 = getelementptr inbounds i8, ptr %6, i64 36
  %106 = load i32, ptr %105, align 4, !tbaa !54
  %107 = icmp ne i32 %106, 0
  %108 = zext i1 %107 to i8
  %109 = getelementptr inbounds i8, ptr %38, i64 69
  store i8 %108, ptr %109, align 1, !tbaa !55
  %110 = getelementptr inbounds i8, ptr %6, i64 40
  %111 = load i32, ptr %110, align 8, !tbaa !56
  %112 = trunc i32 %111 to i16
  %113 = getelementptr inbounds i8, ptr %38, i64 74
  store i16 %112, ptr %113, align 1, !tbaa !57
  %114 = trunc i32 %106 to i16
  %115 = getelementptr inbounds i8, ptr %38, i64 80
  store i16 %114, ptr %115, align 1, !tbaa !58
  %116 = getelementptr inbounds i8, ptr %6, i64 32
  %117 = load i32, ptr %116, align 8, !tbaa !59
  %118 = getelementptr inbounds i8, ptr %38, i64 90
  store i32 %117, ptr %118, align 1, !tbaa !60
  %119 = getelementptr inbounds i8, ptr %6, i64 44
  %120 = load i32, ptr %119, align 4, !tbaa !61
  %.not63 = icmp eq i32 %120, 0
  %121 = select i1 %.not63, i8 0, i8 4
  %122 = or disjoint i8 %121, %104
  store i8 %122, ptr %70, align 1, !tbaa !62
  br label %123

123:                                              ; preds = %8, %8, %50
  %.052 = phi ptr [ %38, %50 ], [ null, %8 ], [ null, %8 ]
  ret ptr %.052
}

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

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

!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, !7, i64 24}
!6 = !{!"libxsmm_gemm_shape", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20, !7, i64 24, !7, i64 28, !7, i64 32, !7, i64 36}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!6, !7, i64 28}
!11 = !{!6, !7, i64 36}
!12 = !{!6, !7, i64 32}
!13 = !{!6, !7, i64 0}
!14 = !{!6, !7, i64 4}
!15 = !{!6, !7, i64 8}
!16 = !{!6, !7, i64 12}
!17 = !{!6, !7, i64 16}
!18 = !{!6, !7, i64 20}
!19 = !{!20, !21, i64 33}
!20 = !{!"libxsmm_gemm_descriptor", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20, !7, i64 24, !8, i64 28, !8, i64 29, !8, i64 32, !21, i64 33, !21, i64 41, !8, i64 49, !7, i64 50, !7, i64 54, !7, i64 58, !22, i64 62, !22, i64 64, !8, i64 66, !8, i64 67, !8, i64 68, !8, i64 69, !22, i64 70, !22, i64 72, !22, i64 74, !22, i64 76, !22, i64 78, !22, i64 80, !7, i64 82, !7, i64 86, !7, i64 90, !8, i64 94}
!21 = !{!"long long", !8, i64 0}
!22 = !{!"short", !8, i64 0}
!23 = !{!20, !21, i64 41}
!24 = !{!20, !8, i64 49}
!25 = !{!26, !7, i64 4}
!26 = !{!"libxsmm_gemm_ext_binary_postops", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12}
!27 = !{!20, !8, i64 32}
!28 = !{!26, !7, i64 12}
!29 = !{!20, !22, i64 64}
!30 = !{!26, !7, i64 8}
!31 = !{!20, !22, i64 62}
!32 = !{!20, !8, i64 66}
!33 = !{!26, !7, i64 0}
!34 = !{!20, !7, i64 50}
!35 = !{!20, !7, i64 54}
!36 = !{!20, !7, i64 58}
!37 = !{!38, !7, i64 4}
!38 = !{!"libxsmm_gemm_ext_unary_argops", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20, !7, i64 24, !7, i64 28, !7, i64 32, !7, i64 36, !7, i64 40, !7, i64 44}
!39 = !{!20, !8, i64 67}
!40 = !{!38, !7, i64 8}
!41 = !{!20, !22, i64 70}
!42 = !{!20, !22, i64 76}
!43 = !{!38, !7, i64 0}
!44 = !{!20, !7, i64 82}
!45 = !{!38, !7, i64 12}
!46 = !{!38, !7, i64 20}
!47 = !{!20, !8, i64 68}
!48 = !{!38, !7, i64 24}
!49 = !{!20, !22, i64 72}
!50 = !{!20, !22, i64 78}
!51 = !{!38, !7, i64 16}
!52 = !{!20, !7, i64 86}
!53 = !{!38, !7, i64 28}
!54 = !{!38, !7, i64 36}
!55 = !{!20, !8, i64 69}
!56 = !{!38, !7, i64 40}
!57 = !{!20, !22, i64 74}
!58 = !{!20, !22, i64 80}
!59 = !{!38, !7, i64 32}
!60 = !{!20, !7, i64 90}
!61 = !{!38, !7, i64 44}
!62 = !{!20, !8, i64 94}


; Effective O3 passes: DSEPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,MemCpyOptPass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass