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

; 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_meltw_descriptor = type <{ i32, i32, i32, i32, i32, i32, i8, i8, i8, i16, i16, i8 }>
%struct.libxsmm_mateltwise_kernel_config_struct = type { i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i8 }
%struct.libxsmm_generated_code = type { ptr, i32, i32, i32, i32, i32, i32 }

@__const.libxsmm_generator_transform_vnni4_to_vnni4t_16bit_avx512_vl512_microkernel.perm_table = external hidden unnamed_addr constant [32 x i16], align 16
@.str.15 = external hidden unnamed_addr constant [12 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

declare void @libxsmm_x86_instruction_vec_compute_3reg_mask_sae_imm8(ptr noundef, i32 noundef, i8 noundef signext, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i8 noundef zeroext, i32 noundef) #1

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

declare void @libxsmm_x86_instruction_vec_move(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i8 noundef signext, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #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

declare void @libxsmm_x86_instruction_alu_imm(ptr noundef, i32 noundef, i32 noundef, i64 noundef) #1

declare void @libxsmm_x86_instruction_mask_move(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1

declare void @libxsmm_x86_instruction_register_jump_back_label(ptr noundef, ptr noundef) #1

declare void @libxsmm_generator_mateltwise_footer_n_loop(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1

declare void @libxsmm_generator_mateltwise_footer_m_loop(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1

; Function Attrs: nounwind uwtable
define dso_local void @libxsmm_generator_transform_vnni4_to_vnni4t_16bit_avx512_vl512_microkernel(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, i32 noundef %7, ptr noundef %8, ptr noundef %9) #3 {
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %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 ptr, align 8
  %20 = alloca ptr, align 8
  %21 = alloca i32, align 4
  %22 = alloca i32, align 4
  %23 = alloca i32, align 4
  %24 = alloca i32, align 4
  %25 = alloca i32, align 4
  %26 = alloca i32, align 4
  %27 = alloca i32, align 4
  %28 = alloca i32, align 4
  %29 = alloca i32, align 4
  %30 = alloca i64, align 8
  %31 = alloca [32 x i16], align 16
  store ptr %0, ptr %11, align 8, !tbaa !5
  store ptr %1, ptr %12, align 8, !tbaa !5
  store i32 %2, ptr %13, align 4, !tbaa !9
  store i32 %3, ptr %14, align 4, !tbaa !9
  store i32 %4, ptr %15, align 4, !tbaa !9
  store i32 %5, ptr %16, align 4, !tbaa !9
  store i32 %6, ptr %17, align 4, !tbaa !9
  store i32 %7, ptr %18, align 4, !tbaa !9
  store ptr %8, ptr %19, align 8, !tbaa !5
  store ptr %9, ptr %20, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #4
  %32 = load ptr, ptr %20, align 8, !tbaa !5
  %33 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %32, i32 0, i32 2
  %34 = load i32, ptr %33, align 1, !tbaa !11
  %35 = mul i32 %34, 4
  store i32 %35, ptr %21, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #4
  %36 = load ptr, ptr %20, align 8, !tbaa !5
  %37 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %36, i32 0, i32 3
  %38 = load i32, ptr %37, align 1, !tbaa !14
  %39 = mul i32 %38, 4
  store i32 %39, ptr %22, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #4
  store i32 0, ptr %23, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #4
  store i32 0, ptr %24, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #4
  store i32 31, ptr %25, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #4
  store i32 16, ptr %26, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #4
  %40 = load ptr, ptr %20, align 8, !tbaa !5
  %41 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %40, i32 0, i32 1
  %42 = load i32, ptr %41, align 1, !tbaa !15
  %43 = urem i32 %42, 8
  store i32 %43, ptr %27, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %28) #4
  %44 = load ptr, ptr %20, align 8, !tbaa !5
  %45 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %44, i32 0, i32 1
  %46 = load i32, ptr %45, align 1, !tbaa !15
  store i32 %46, ptr %28, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %29) #4
  %47 = load i32, ptr %27, align 4, !tbaa !9
  %48 = icmp ugt i32 %47, 0
  br i1 %48, label %49, label %52

49:                                               ; preds = %10
  %50 = load i32, ptr %28, align 4, !tbaa !9
  %51 = icmp ugt i32 %50, 4
  br label %52

52:                                               ; preds = %49, %10
  %53 = phi i1 [ false, %10 ], [ %51, %49 ]
  %54 = zext i1 %53 to i64
  %55 = select i1 %53, i32 2, i32 1
  store i32 %55, ptr %29, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #4
  store i64 65280, ptr %30, align 8, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 64, ptr %31) #4
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %31, ptr align 16 @__const.libxsmm_generator_transform_vnni4_to_vnni4t_16bit_avx512_vl512_microkernel.perm_table, i64 64, i1 false)
  %56 = load ptr, ptr %11, align 8, !tbaa !5
  %57 = getelementptr inbounds [32 x i16], ptr %31, i64 0, i64 0
  %58 = load ptr, ptr %19, align 8, !tbaa !5
  %59 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %58, i32 0, i32 128
  %60 = load i8, ptr %59, align 4, !tbaa !18
  %61 = load i32, ptr %25, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_full_vec_load_of_constants(ptr noundef %56, ptr noundef %57, ptr noundef @.str.15, i8 noundef signext %60, i32 noundef %61)
  %62 = load ptr, ptr %11, align 8, !tbaa !5
  %63 = load i32, ptr %17, align 4, !tbaa !9
  %64 = load i64, ptr %30, align 8, !tbaa !16
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %62, i32 noundef -1568407413, i32 noundef %63, i64 noundef %64)
  %65 = load ptr, ptr %11, align 8, !tbaa !5
  %66 = load i32, ptr %17, align 4, !tbaa !9
  %67 = load i32, ptr %18, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_mask_move(ptr noundef %65, i32 noundef -1610149486, i32 noundef %66, i32 noundef %67)
  br label %68

68:                                               ; preds = %75, %52
  %69 = load i32, ptr %26, align 4, !tbaa !9
  %70 = mul i32 %69, 4
  %71 = load ptr, ptr %20, align 8, !tbaa !5
  %72 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %71, i32 0, i32 0
  %73 = load i32, ptr %72, align 1, !tbaa !20
  %74 = icmp ugt i32 %70, %73
  br i1 %74, label %75, label %78

75:                                               ; preds = %68
  %76 = load i32, ptr %26, align 4, !tbaa !9
  %77 = add i32 %76, -1
  store i32 %77, ptr %26, align 4, !tbaa !9
  br label %68, !llvm.loop !21

78:                                               ; preds = %68
  br label %79

79:                                               ; preds = %87, %78
  %80 = load ptr, ptr %20, align 8, !tbaa !5
  %81 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %80, i32 0, i32 0
  %82 = load i32, ptr %81, align 1, !tbaa !20
  %83 = load i32, ptr %26, align 4, !tbaa !9
  %84 = mul i32 %83, 4
  %85 = urem i32 %82, %84
  %86 = icmp ne i32 %85, 0
  br i1 %86, label %87, label %90

87:                                               ; preds = %79
  %88 = load i32, ptr %26, align 4, !tbaa !9
  %89 = add i32 %88, -1
  store i32 %89, ptr %26, align 4, !tbaa !9
  br label %79, !llvm.loop !23

90:                                               ; preds = %79
  store i32 0, ptr %24, align 4, !tbaa !9
  br label %91

91:                                               ; preds = %306, %90
  %92 = load i32, ptr %24, align 4, !tbaa !9
  %93 = load i32, ptr %29, align 4, !tbaa !9
  %94 = icmp ult i32 %92, %93
  br i1 %94, label %95, label %309

95:                                               ; preds = %91
  %96 = load i32, ptr %27, align 4, !tbaa !9
  %97 = icmp ugt i32 %96, 0
  br i1 %97, label %98, label %101

98:                                               ; preds = %95
  %99 = load i32, ptr %28, align 4, !tbaa !9
  %100 = sub i32 %99, 4
  store i32 %100, ptr %28, align 4, !tbaa !9
  br label %101

101:                                              ; preds = %98, %95
  %102 = load i32, ptr %24, align 4, !tbaa !9
  %103 = icmp eq i32 %102, 0
  br i1 %103, label %104, label %117

104:                                              ; preds = %101
  %105 = load i32, ptr %28, align 4, !tbaa !9
  %106 = icmp uge i32 %105, 8
  br i1 %106, label %107, label %117

107:                                              ; preds = %104
  %108 = load ptr, ptr %11, align 8, !tbaa !5
  %109 = load ptr, ptr %19, align 8, !tbaa !5
  %110 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %109, i32 0, i32 14
  %111 = load i32, ptr %110, align 4, !tbaa !24
  %112 = load i32, ptr %16, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %108, i32 noundef %111, i32 noundef %112, i64 noundef 0)
  %113 = load ptr, ptr %11, align 8, !tbaa !5
  %114 = load ptr, ptr %12, align 8, !tbaa !5
  call void @libxsmm_x86_instruction_register_jump_back_label(ptr noundef %113, ptr noundef %114)
  %115 = load ptr, ptr %11, align 8, !tbaa !5
  %116 = load i32, ptr %16, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %115, i32 noundef 30000, i32 noundef %116, i64 noundef 4)
  br label %117

117:                                              ; preds = %107, %104, %101
  %118 = load ptr, ptr %11, align 8, !tbaa !5
  %119 = load ptr, ptr %19, align 8, !tbaa !5
  %120 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %119, i32 0, i32 14
  %121 = load i32, ptr %120, align 4, !tbaa !24
  %122 = load i32, ptr %15, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %118, i32 noundef %121, i32 noundef %122, i64 noundef 0)
  %123 = load ptr, ptr %11, align 8, !tbaa !5
  %124 = load ptr, ptr %12, align 8, !tbaa !5
  call void @libxsmm_x86_instruction_register_jump_back_label(ptr noundef %123, ptr noundef %124)
  %125 = load ptr, ptr %11, align 8, !tbaa !5
  %126 = load i32, ptr %15, align 4, !tbaa !9
  %127 = load i32, ptr %26, align 4, !tbaa !9
  %128 = mul i32 4, %127
  %129 = zext i32 %128 to i64
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %125, i32 noundef 30000, i32 noundef %126, i64 noundef %129)
  store i32 0, ptr %23, align 4, !tbaa !9
  br label %130

130:                                              ; preds = %175, %117
  %131 = load i32, ptr %23, align 4, !tbaa !9
  %132 = load i32, ptr %26, align 4, !tbaa !9
  %133 = icmp ult i32 %131, %132
  br i1 %133, label %134, label %178

134:                                              ; preds = %130
  %135 = load ptr, ptr %11, align 8, !tbaa !5
  %136 = load ptr, ptr %11, align 8, !tbaa !5
  %137 = getelementptr inbounds %struct.libxsmm_generated_code, ptr %136, i32 0, i32 6
  %138 = load i32, ptr %137, align 4, !tbaa !25
  %139 = load ptr, ptr %19, align 8, !tbaa !5
  %140 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %139, i32 0, i32 6
  %141 = load i32, ptr %140, align 4, !tbaa !27
  %142 = load i32, ptr %13, align 4, !tbaa !9
  %143 = load i32, ptr %23, align 4, !tbaa !9
  %144 = mul i32 %143, 16
  %145 = load ptr, ptr %19, align 8, !tbaa !5
  %146 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %145, i32 0, i32 2
  %147 = load i32, ptr %146, align 4, !tbaa !28
  %148 = mul i32 %144, %147
  %149 = load i32, ptr %23, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_vec_move(ptr noundef %135, i32 noundef %138, i32 noundef %141, i32 noundef %142, i32 noundef 127, i32 noundef 0, i32 noundef %148, i8 noundef signext 121, i32 noundef %149, i32 noundef 0, i32 noundef 1, i32 noundef 0)
  %150 = load i32, ptr %24, align 4, !tbaa !9
  %151 = icmp eq i32 %150, 0
  br i1 %151, label %152, label %174

152:                                              ; preds = %134
  %153 = load i32, ptr %28, align 4, !tbaa !9
  %154 = icmp uge i32 %153, 8
  br i1 %154, label %155, label %174

155:                                              ; preds = %152
  %156 = load ptr, ptr %11, align 8, !tbaa !5
  %157 = load ptr, ptr %11, align 8, !tbaa !5
  %158 = getelementptr inbounds %struct.libxsmm_generated_code, ptr %157, i32 0, i32 6
  %159 = load i32, ptr %158, align 4, !tbaa !25
  %160 = load i32, ptr %13, align 4, !tbaa !9
  %161 = load i32, ptr %23, align 4, !tbaa !9
  %162 = mul i32 %161, 16
  %163 = load i32, ptr %21, align 4, !tbaa !9
  %164 = add i32 %162, %163
  %165 = load ptr, ptr %19, align 8, !tbaa !5
  %166 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %165, i32 0, i32 2
  %167 = load i32, ptr %166, align 4, !tbaa !28
  %168 = mul i32 %164, %167
  %169 = load ptr, ptr %19, align 8, !tbaa !5
  %170 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %169, i32 0, i32 128
  %171 = load i8, ptr %170, align 4, !tbaa !18
  %172 = load i32, ptr %23, align 4, !tbaa !9
  %173 = load i32, ptr %18, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_vec_move(ptr noundef %156, i32 noundef %159, i32 noundef -536531621, i32 noundef %160, i32 noundef 127, i32 noundef 0, i32 noundef %168, i8 noundef signext %171, i32 noundef %172, i32 noundef %173, i32 noundef 0, i32 noundef 0)
  br label %174

174:                                              ; preds = %155, %152, %134
  br label %175

175:                                              ; preds = %174
  %176 = load i32, ptr %23, align 4, !tbaa !9
  %177 = add i32 %176, 1
  store i32 %177, ptr %23, align 4, !tbaa !9
  br label %130, !llvm.loop !29

178:                                              ; preds = %130
  store i32 0, ptr %23, align 4, !tbaa !9
  br label %179

179:                                              ; preds = %191, %178
  %180 = load i32, ptr %23, align 4, !tbaa !9
  %181 = load i32, ptr %26, align 4, !tbaa !9
  %182 = icmp ult i32 %180, %181
  br i1 %182, label %183, label %194

183:                                              ; preds = %179
  %184 = load ptr, ptr %11, align 8, !tbaa !5
  %185 = load ptr, ptr %19, align 8, !tbaa !5
  %186 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %185, i32 0, i32 128
  %187 = load i8, ptr %186, align 4, !tbaa !18
  %188 = load i32, ptr %23, align 4, !tbaa !9
  %189 = load i32, ptr %25, align 4, !tbaa !9
  %190 = load i32, ptr %23, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_vec_compute_3reg_mask_sae_imm8(ptr noundef %184, i32 noundef -259709299, i8 noundef signext %187, i32 noundef %188, i32 noundef %189, i32 noundef %190, i32 noundef 0, i32 noundef 0, i8 noundef zeroext 0, i32 noundef 1024)
  br label %191

191:                                              ; preds = %183
  %192 = load i32, ptr %23, align 4, !tbaa !9
  %193 = add i32 %192, 1
  store i32 %193, ptr %23, align 4, !tbaa !9
  br label %179, !llvm.loop !30

194:                                              ; preds = %179
  store i32 0, ptr %23, align 4, !tbaa !9
  br label %195

195:                                              ; preds = %230, %194
  %196 = load i32, ptr %23, align 4, !tbaa !9
  %197 = load i32, ptr %26, align 4, !tbaa !9
  %198 = icmp ult i32 %196, %197
  br i1 %198, label %199, label %233

199:                                              ; preds = %195
  %200 = load ptr, ptr %11, align 8, !tbaa !5
  %201 = load ptr, ptr %11, align 8, !tbaa !5
  %202 = getelementptr inbounds %struct.libxsmm_generated_code, ptr %201, i32 0, i32 6
  %203 = load i32, ptr %202, align 4, !tbaa !25
  %204 = load ptr, ptr %19, align 8, !tbaa !5
  %205 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %204, i32 0, i32 9
  %206 = load i32, ptr %205, align 4, !tbaa !31
  %207 = load i32, ptr %14, align 4, !tbaa !9
  %208 = load i32, ptr %23, align 4, !tbaa !9
  %209 = load i32, ptr %22, align 4, !tbaa !9
  %210 = mul i32 %208, %209
  %211 = load ptr, ptr %19, align 8, !tbaa !5
  %212 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %211, i32 0, i32 5
  %213 = load i32, ptr %212, align 4, !tbaa !32
  %214 = mul i32 %210, %213
  %215 = load i32, ptr %24, align 4, !tbaa !9
  %216 = icmp eq i32 %215, 1
  br i1 %216, label %220, label %217

217:                                              ; preds = %199
  %218 = load i32, ptr %28, align 4, !tbaa !9
  %219 = icmp ule i32 %218, 4
  br i1 %219, label %220, label %221

220:                                              ; preds = %217, %199
  br label %226

221:                                              ; preds = %217
  %222 = load ptr, ptr %19, align 8, !tbaa !5
  %223 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %222, i32 0, i32 128
  %224 = load i8, ptr %223, align 4, !tbaa !18
  %225 = sext i8 %224 to i32
  br label %226

226:                                              ; preds = %221, %220
  %227 = phi i32 [ 121, %220 ], [ %225, %221 ]
  %228 = trunc i32 %227 to i8
  %229 = load i32, ptr %23, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_vec_move(ptr noundef %200, i32 noundef %203, i32 noundef %206, i32 noundef %207, i32 noundef 127, i32 noundef 0, i32 noundef %214, i8 noundef signext %228, i32 noundef %229, i32 noundef 0, i32 noundef 1, i32 noundef 1)
  br label %230

230:                                              ; preds = %226
  %231 = load i32, ptr %23, align 4, !tbaa !9
  %232 = add i32 %231, 1
  store i32 %232, ptr %23, align 4, !tbaa !9
  br label %195, !llvm.loop !33

233:                                              ; preds = %195
  %234 = load ptr, ptr %11, align 8, !tbaa !5
  %235 = load i32, ptr %13, align 4, !tbaa !9
  %236 = load i32, ptr %26, align 4, !tbaa !9
  %237 = zext i32 %236 to i64
  %238 = mul nsw i64 16, %237
  %239 = load ptr, ptr %19, align 8, !tbaa !5
  %240 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %239, i32 0, i32 2
  %241 = load i32, ptr %240, align 4, !tbaa !28
  %242 = zext i32 %241 to i64
  %243 = mul nsw i64 %238, %242
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %234, i32 noundef 30000, i32 noundef %235, i64 noundef %243)
  %244 = load ptr, ptr %11, align 8, !tbaa !5
  %245 = load i32, ptr %14, align 4, !tbaa !9
  %246 = load i32, ptr %22, align 4, !tbaa !9
  %247 = zext i32 %246 to i64
  %248 = load i32, ptr %26, align 4, !tbaa !9
  %249 = zext i32 %248 to i64
  %250 = mul nsw i64 %247, %249
  %251 = load ptr, ptr %19, align 8, !tbaa !5
  %252 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %251, i32 0, i32 5
  %253 = load i32, ptr %252, align 4, !tbaa !32
  %254 = zext i32 %253 to i64
  %255 = mul nsw i64 %250, %254
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %244, i32 noundef 30000, i32 noundef %245, i64 noundef %255)
  %256 = load ptr, ptr %11, align 8, !tbaa !5
  %257 = load ptr, ptr %12, align 8, !tbaa !5
  %258 = load ptr, ptr %19, align 8, !tbaa !5
  %259 = load i32, ptr %15, align 4, !tbaa !9
  %260 = load ptr, ptr %20, align 8, !tbaa !5
  %261 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %260, i32 0, i32 0
  %262 = load i32, ptr %261, align 1, !tbaa !20
  call void @libxsmm_generator_mateltwise_footer_m_loop(ptr noundef %256, ptr noundef %257, ptr noundef %258, i32 noundef %259, i32 noundef %262)
  %263 = load i32, ptr %24, align 4, !tbaa !9
  %264 = icmp eq i32 %263, 0
  br i1 %264, label %265, label %305

265:                                              ; preds = %233
  %266 = load i32, ptr %28, align 4, !tbaa !9
  %267 = icmp uge i32 %266, 8
  br i1 %267, label %268, label %305

268:                                              ; preds = %265
  %269 = load ptr, ptr %11, align 8, !tbaa !5
  %270 = load i32, ptr %13, align 4, !tbaa !9
  %271 = load i32, ptr %21, align 4, !tbaa !9
  %272 = mul i32 2, %271
  %273 = load ptr, ptr %20, align 8, !tbaa !5
  %274 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %273, i32 0, i32 0
  %275 = load i32, ptr %274, align 1, !tbaa !20
  %276 = mul i32 4, %275
  %277 = sub i32 %272, %276
  %278 = zext i32 %277 to i64
  %279 = load ptr, ptr %19, align 8, !tbaa !5
  %280 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %279, i32 0, i32 2
  %281 = load i32, ptr %280, align 4, !tbaa !28
  %282 = zext i32 %281 to i64
  %283 = mul nsw i64 %278, %282
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %269, i32 noundef 30000, i32 noundef %270, i64 noundef %283)
  %284 = load ptr, ptr %11, align 8, !tbaa !5
  %285 = load i32, ptr %14, align 4, !tbaa !9
  %286 = load i32, ptr %22, align 4, !tbaa !9
  %287 = load ptr, ptr %20, align 8, !tbaa !5
  %288 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %287, i32 0, i32 0
  %289 = load i32, ptr %288, align 1, !tbaa !20
  %290 = udiv i32 %289, 4
  %291 = mul i32 %286, %290
  %292 = sub i32 %291, 32
  %293 = zext i32 %292 to i64
  %294 = load ptr, ptr %19, align 8, !tbaa !5
  %295 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %294, i32 0, i32 5
  %296 = load i32, ptr %295, align 4, !tbaa !32
  %297 = zext i32 %296 to i64
  %298 = mul nsw i64 %293, %297
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %284, i32 noundef 30008, i32 noundef %285, i64 noundef %298)
  %299 = load ptr, ptr %11, align 8, !tbaa !5
  %300 = load ptr, ptr %12, align 8, !tbaa !5
  %301 = load ptr, ptr %19, align 8, !tbaa !5
  %302 = load i32, ptr %16, align 4, !tbaa !9
  %303 = load i32, ptr %28, align 4, !tbaa !9
  %304 = udiv i32 %303, 2
  call void @libxsmm_generator_mateltwise_footer_n_loop(ptr noundef %299, ptr noundef %300, ptr noundef %301, i32 noundef %302, i32 noundef %304)
  br label %305

305:                                              ; preds = %268, %265, %233
  br label %306

306:                                              ; preds = %305
  %307 = load i32, ptr %24, align 4, !tbaa !9
  %308 = add i32 %307, 1
  store i32 %308, ptr %24, align 4, !tbaa !9
  br label %91, !llvm.loop !34

309:                                              ; preds = %91
  call void @llvm.lifetime.end.p0(i64 64, ptr %31) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #4
  ret void
}

declare void @libxsmm_x86_instruction_full_vec_load_of_constants(ptr noundef, ptr noundef, ptr noundef, i8 noundef signext, i32 noundef) #1

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { 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 }

!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 8}
!12 = !{!"libxsmm_meltw_descriptor", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !7, i64 24, !7, i64 25, !7, i64 26, !13, i64 27, !13, i64 29, !7, i64 31}
!13 = !{!"short", !7, i64 0}
!14 = !{!12, !10, i64 12}
!15 = !{!12, !10, i64 4}
!16 = !{!17, !17, i64 0}
!17 = !{!"long long", !7, i64 0}
!18 = !{!19, !7, i64 512}
!19 = !{!"libxsmm_mateltwise_kernel_config_struct", !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, !10, i64 48, !10, i64 52, !10, i64 56, !10, i64 60, !10, i64 64, !10, i64 68, !10, i64 72, !10, i64 76, !10, i64 80, !10, i64 84, !10, i64 88, !10, i64 92, !10, i64 96, !10, i64 100, !10, i64 104, !10, i64 108, !10, i64 112, !10, i64 116, !10, i64 120, !10, i64 124, !10, i64 128, !10, i64 132, !10, i64 136, !10, i64 140, !10, i64 144, !10, i64 148, !10, i64 152, !10, i64 156, !10, i64 160, !10, i64 164, !10, i64 168, !10, i64 172, !10, i64 176, !10, i64 180, !10, i64 184, !10, i64 188, !10, i64 192, !10, i64 196, !10, i64 200, !10, i64 204, !10, i64 208, !10, i64 212, !10, i64 216, !10, i64 220, !10, i64 224, !10, i64 228, !10, i64 232, !10, i64 236, !10, i64 240, !10, i64 244, !10, i64 248, !10, i64 252, !10, i64 256, !10, i64 260, !10, i64 264, !10, i64 268, !10, i64 272, !10, i64 276, !10, i64 280, !10, i64 284, !10, i64 288, !10, i64 292, !10, i64 296, !10, i64 300, !10, i64 304, !10, i64 308, !10, i64 312, !10, i64 316, !10, i64 320, !10, i64 324, !10, i64 328, !10, i64 332, !10, i64 336, !10, i64 340, !10, i64 344, !10, i64 348, !10, i64 352, !10, i64 356, !10, i64 360, !10, i64 364, !10, i64 368, !10, i64 372, !10, i64 376, !10, i64 380, !10, i64 384, !10, i64 388, !10, i64 392, !10, i64 396, !10, i64 400, !10, i64 404, !10, i64 408, !10, i64 412, !10, i64 416, !10, i64 420, !10, i64 424, !10, i64 428, !10, i64 432, !10, i64 436, !10, i64 440, !10, i64 444, !10, i64 448, !10, i64 452, !10, i64 456, !10, i64 460, !10, i64 464, !10, i64 468, !10, i64 472, !10, i64 476, !10, i64 480, !10, i64 484, !10, i64 488, !10, i64 492, !10, i64 496, !10, i64 500, !10, i64 504, !10, i64 508, !7, i64 512}
!20 = !{!12, !10, i64 0}
!21 = distinct !{!21, !22}
!22 = !{!"llvm.loop.mustprogress"}
!23 = distinct !{!23, !22}
!24 = !{!19, !10, i64 56}
!25 = !{!26, !10, i64 28}
!26 = !{!"libxsmm_generated_code", !6, i64 0, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !10, i64 24, !10, i64 28}
!27 = !{!19, !10, i64 24}
!28 = !{!19, !10, i64 8}
!29 = distinct !{!29, !22}
!30 = distinct !{!30, !22}
!31 = !{!19, !10, i64 36}
!32 = !{!19, !10, i64 20}
!33 = distinct !{!33, !22}
!34 = distinct !{!34, !22}


; 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.libxsmm_generator_transform_vnni4_to_vnni4t_16bit_avx512_vl512_microkernel.perm_table = external hidden unnamed_addr constant [32 x i16], align 16
@.str.15 = external hidden unnamed_addr constant [12 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

declare void @libxsmm_x86_instruction_vec_compute_3reg_mask_sae_imm8(ptr noundef, i32 noundef, i8 noundef signext, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i8 noundef zeroext, i32 noundef) local_unnamed_addr #1

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

declare void @libxsmm_x86_instruction_vec_move(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i8 noundef signext, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #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

declare void @libxsmm_x86_instruction_alu_imm(ptr noundef, i32 noundef, i32 noundef, i64 noundef) local_unnamed_addr #1

declare void @libxsmm_x86_instruction_mask_move(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1

declare void @libxsmm_x86_instruction_register_jump_back_label(ptr noundef, ptr noundef) local_unnamed_addr #1

declare void @libxsmm_generator_mateltwise_footer_n_loop(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1

declare void @libxsmm_generator_mateltwise_footer_m_loop(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
define dso_local void @libxsmm_generator_transform_vnni4_to_vnni4t_16bit_avx512_vl512_microkernel(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, i32 noundef %7, ptr noundef %8, ptr nocapture noundef readonly %9) local_unnamed_addr #3 {
  %11 = alloca [32 x i16], align 16
  %12 = getelementptr inbounds i8, ptr %9, i64 8
  %13 = load i32, ptr %12, align 1, !tbaa !5
  %14 = getelementptr inbounds i8, ptr %9, i64 12
  %15 = load i32, ptr %14, align 1, !tbaa !11
  %16 = getelementptr inbounds i8, ptr %9, i64 4
  %17 = load i32, ptr %16, align 1, !tbaa !12
  %18 = and i32 %17, 7
  %19 = icmp ne i32 %18, 0
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %11) #4
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(64) %11, ptr noundef nonnull align 16 dereferenceable(64) @__const.libxsmm_generator_transform_vnni4_to_vnni4t_16bit_avx512_vl512_microkernel.perm_table, i64 64, i1 false)
  %20 = getelementptr inbounds i8, ptr %8, i64 512
  %21 = load i8, ptr %20, align 4, !tbaa !13
  call void @libxsmm_x86_instruction_full_vec_load_of_constants(ptr noundef %0, ptr noundef nonnull %11, ptr noundef nonnull @.str.15, i8 noundef signext %21, i32 noundef 31) #4
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef -1568407413, i32 noundef %6, i64 noundef 65280) #4
  call void @libxsmm_x86_instruction_mask_move(ptr noundef %0, i32 noundef -1610149486, i32 noundef %6, i32 noundef %7) #4
  %22 = load i32, ptr %9, align 1, !tbaa !15
  br label %23

23:                                               ; preds = %23, %10
  %.0126 = phi i32 [ 16, %10 ], [ %26, %23 ]
  %24 = shl i32 %.0126, 2
  %25 = icmp ugt i32 %24, %22
  %26 = add i32 %.0126, -1
  br i1 %25, label %23, label %.preheader130, !llvm.loop !16

.preheader130:                                    ; preds = %23
  %27 = shl i32 %15, 2
  br label %28

28:                                               ; preds = %28, %.preheader130
  %.1127 = phi i32 [ %31, %28 ], [ %.0126, %.preheader130 ]
  %29 = shl i32 %.1127, 2
  %30 = urem i32 %22, %29
  %.not = icmp eq i32 %30, 0
  %31 = add i32 %.1127, -1
  br i1 %.not, label %.preheader129, label %28, !llvm.loop !18

.preheader129:                                    ; preds = %28
  %32 = shl i32 %13, 2
  %33 = icmp ugt i32 %17, 4
  %34 = getelementptr inbounds i8, ptr %8, i64 56
  %35 = zext i32 %29 to i64
  %.not139 = icmp eq i32 %.1127, 0
  %36 = getelementptr inbounds i8, ptr %0, i64 28
  %37 = getelementptr inbounds i8, ptr %8, i64 24
  %38 = getelementptr inbounds i8, ptr %8, i64 8
  %39 = getelementptr inbounds i8, ptr %8, i64 36
  %40 = getelementptr inbounds i8, ptr %8, i64 20
  %41 = zext i32 %.1127 to i64
  %42 = shl nuw nsw i64 %41, 4
  %43 = zext i32 %27 to i64
  %44 = mul nuw nsw i64 %41, %43
  %45 = shl i32 %13, 3
  br label %46

46:                                               ; preds = %.preheader129, %109
  %47 = phi i1 [ true, %.preheader129 ], [ false, %109 ]
  %48 = phi i1 [ false, %.preheader129 ], [ true, %109 ]
  %.0124137 = phi i32 [ %17, %.preheader129 ], [ %spec.select, %109 ]
  %49 = add i32 %.0124137, -4
  %spec.select = select i1 %19, i32 %49, i32 %.0124137
  %50 = icmp ugt i32 %spec.select, 7
  %or.cond = select i1 %47, i1 %50, i1 false
  br i1 %or.cond, label %51, label %53

51:                                               ; preds = %46
  %52 = load i32, ptr %34, align 4, !tbaa !19
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef %52, i32 noundef %5, i64 noundef 0) #4
  call void @libxsmm_x86_instruction_register_jump_back_label(ptr noundef %0, ptr noundef %1) #4
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef 30000, i32 noundef %5, i64 noundef 4) #4
  br label %53

53:                                               ; preds = %51, %46
  %54 = load i32, ptr %34, align 4, !tbaa !19
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef %54, i32 noundef %4, i64 noundef 0) #4
  call void @libxsmm_x86_instruction_register_jump_back_label(ptr noundef %0, ptr noundef %1) #4
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef 30000, i32 noundef %4, i64 noundef %35) #4
  br i1 %.not139, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %53, %66
  %.0132 = phi i32 [ %67, %66 ], [ 0, %53 ]
  %55 = load i32, ptr %36, align 4, !tbaa !20
  %56 = load i32, ptr %37, align 4, !tbaa !23
  %57 = shl i32 %.0132, 4
  %58 = load i32, ptr %38, align 4, !tbaa !24
  %59 = mul i32 %58, %57
  call void @libxsmm_x86_instruction_vec_move(ptr noundef %0, i32 noundef %55, i32 noundef %56, i32 noundef %2, i32 noundef 127, i32 noundef 0, i32 noundef %59, i8 noundef signext 121, i32 noundef %.0132, i32 noundef 0, i32 noundef 1, i32 noundef 0) #4
  br i1 %or.cond, label %60, label %66

60:                                               ; preds = %.lr.ph
  %61 = load i32, ptr %36, align 4, !tbaa !20
  %62 = add i32 %57, %32
  %63 = load i32, ptr %38, align 4, !tbaa !24
  %64 = mul i32 %63, %62
  %65 = load i8, ptr %20, align 4, !tbaa !13
  call void @libxsmm_x86_instruction_vec_move(ptr noundef nonnull %0, i32 noundef %61, i32 noundef -536531621, i32 noundef %2, i32 noundef 127, i32 noundef 0, i32 noundef %64, i8 noundef signext %65, i32 noundef %.0132, i32 noundef %7, i32 noundef 0, i32 noundef 0) #4
  br label %66

66:                                               ; preds = %.lr.ph, %60
  %67 = add nuw i32 %.0132, 1
  %68 = icmp ult i32 %67, %.1127
  br i1 %68, label %.lr.ph, label %.lr.ph134, !llvm.loop !25

.lr.ph136:                                        ; preds = %.lr.ph134
  %69 = icmp ult i32 %spec.select, 5
  %or.cond5 = select i1 %48, i1 true, i1 %69
  br label %73

.lr.ph134:                                        ; preds = %66, %.lr.ph134
  %.1133 = phi i32 [ %71, %.lr.ph134 ], [ 0, %66 ]
  %70 = load i8, ptr %20, align 4, !tbaa !13
  call void @libxsmm_x86_instruction_vec_compute_3reg_mask_sae_imm8(ptr noundef %0, i32 noundef -259709299, i8 noundef signext %70, i32 noundef %.1133, i32 noundef 31, i32 noundef %.1133, i32 noundef 0, i32 noundef 0, i8 noundef zeroext 0, i32 noundef 1024) #4
  %71 = add nuw i32 %.1133, 1
  %72 = icmp ult i32 %71, %.1127
  br i1 %72, label %.lr.ph134, label %.lr.ph136, !llvm.loop !26

73:                                               ; preds = %.lr.ph136, %81
  %.2135 = phi i32 [ 0, %.lr.ph136 ], [ %83, %81 ]
  %74 = load i32, ptr %36, align 4, !tbaa !20
  %75 = load i32, ptr %39, align 4, !tbaa !27
  %76 = mul i32 %.2135, %27
  %77 = load i32, ptr %40, align 4, !tbaa !28
  %78 = mul i32 %76, %77
  br i1 %or.cond5, label %81, label %79

79:                                               ; preds = %73
  %80 = load i8, ptr %20, align 4, !tbaa !13
  br label %81

81:                                               ; preds = %73, %79
  %82 = phi i8 [ %80, %79 ], [ 121, %73 ]
  call void @libxsmm_x86_instruction_vec_move(ptr noundef nonnull %0, i32 noundef %74, i32 noundef %75, i32 noundef %3, i32 noundef 127, i32 noundef 0, i32 noundef %78, i8 noundef signext %82, i32 noundef %.2135, i32 noundef 0, i32 noundef 1, i32 noundef 1) #4
  %83 = add nuw i32 %.2135, 1
  %84 = icmp ult i32 %83, %.1127
  br i1 %84, label %73, label %._crit_edge, !llvm.loop !29

._crit_edge:                                      ; preds = %81, %53
  %85 = load i32, ptr %38, align 4, !tbaa !24
  %86 = zext i32 %85 to i64
  %87 = mul nuw nsw i64 %42, %86
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef 30000, i32 noundef %2, i64 noundef %87) #4
  %88 = load i32, ptr %40, align 4, !tbaa !28
  %89 = zext i32 %88 to i64
  %90 = mul nuw nsw i64 %44, %89
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef 30000, i32 noundef %3, i64 noundef %90) #4
  %91 = load i32, ptr %9, align 1, !tbaa !15
  call void @libxsmm_generator_mateltwise_footer_m_loop(ptr noundef %0, ptr noundef %1, ptr noundef nonnull %8, i32 noundef %4, i32 noundef %91) #4
  br i1 %or.cond, label %92, label %109

92:                                               ; preds = %._crit_edge
  %93 = load i32, ptr %9, align 1, !tbaa !15
  %94 = shl i32 %93, 2
  %95 = sub i32 %45, %94
  %96 = zext i32 %95 to i64
  %97 = load i32, ptr %38, align 4, !tbaa !24
  %98 = zext i32 %97 to i64
  %99 = mul nuw nsw i64 %96, %98
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef 30000, i32 noundef %2, i64 noundef %99) #4
  %100 = load i32, ptr %9, align 1, !tbaa !15
  %101 = lshr i32 %100, 2
  %102 = mul i32 %101, %27
  %103 = add i32 %102, -32
  %104 = zext i32 %103 to i64
  %105 = load i32, ptr %40, align 4, !tbaa !28
  %106 = zext i32 %105 to i64
  %107 = mul nuw nsw i64 %104, %106
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef 30008, i32 noundef %3, i64 noundef %107) #4
  %108 = lshr i32 %spec.select, 1
  call void @libxsmm_generator_mateltwise_footer_n_loop(ptr noundef %0, ptr noundef %1, ptr noundef nonnull %8, i32 noundef %5, i32 noundef %108) #4
  br label %109

109:                                              ; preds = %._crit_edge, %92
  %110 = and i1 %33, %47
  %111 = and i1 %110, %19
  br i1 %111, label %46, label %112, !llvm.loop !30

112:                                              ; preds = %109
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %11) #4
  ret void
}

declare void @libxsmm_x86_instruction_full_vec_load_of_constants(ptr noundef, ptr noundef, ptr noundef, i8 noundef signext, i32 noundef) local_unnamed_addr #1

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { 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 }

!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 8}
!6 = !{!"libxsmm_meltw_descriptor", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20, !8, i64 24, !8, i64 25, !8, i64 26, !10, i64 27, !10, i64 29, !8, i64 31}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"short", !8, i64 0}
!11 = !{!6, !7, i64 12}
!12 = !{!6, !7, i64 4}
!13 = !{!14, !8, i64 512}
!14 = !{!"libxsmm_mateltwise_kernel_config_struct", !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, !7, i64 48, !7, i64 52, !7, i64 56, !7, i64 60, !7, i64 64, !7, i64 68, !7, i64 72, !7, i64 76, !7, i64 80, !7, i64 84, !7, i64 88, !7, i64 92, !7, i64 96, !7, i64 100, !7, i64 104, !7, i64 108, !7, i64 112, !7, i64 116, !7, i64 120, !7, i64 124, !7, i64 128, !7, i64 132, !7, i64 136, !7, i64 140, !7, i64 144, !7, i64 148, !7, i64 152, !7, i64 156, !7, i64 160, !7, i64 164, !7, i64 168, !7, i64 172, !7, i64 176, !7, i64 180, !7, i64 184, !7, i64 188, !7, i64 192, !7, i64 196, !7, i64 200, !7, i64 204, !7, i64 208, !7, i64 212, !7, i64 216, !7, i64 220, !7, i64 224, !7, i64 228, !7, i64 232, !7, i64 236, !7, i64 240, !7, i64 244, !7, i64 248, !7, i64 252, !7, i64 256, !7, i64 260, !7, i64 264, !7, i64 268, !7, i64 272, !7, i64 276, !7, i64 280, !7, i64 284, !7, i64 288, !7, i64 292, !7, i64 296, !7, i64 300, !7, i64 304, !7, i64 308, !7, i64 312, !7, i64 316, !7, i64 320, !7, i64 324, !7, i64 328, !7, i64 332, !7, i64 336, !7, i64 340, !7, i64 344, !7, i64 348, !7, i64 352, !7, i64 356, !7, i64 360, !7, i64 364, !7, i64 368, !7, i64 372, !7, i64 376, !7, i64 380, !7, i64 384, !7, i64 388, !7, i64 392, !7, i64 396, !7, i64 400, !7, i64 404, !7, i64 408, !7, i64 412, !7, i64 416, !7, i64 420, !7, i64 424, !7, i64 428, !7, i64 432, !7, i64 436, !7, i64 440, !7, i64 444, !7, i64 448, !7, i64 452, !7, i64 456, !7, i64 460, !7, i64 464, !7, i64 468, !7, i64 472, !7, i64 476, !7, i64 480, !7, i64 484, !7, i64 488, !7, i64 492, !7, i64 496, !7, i64 500, !7, i64 504, !7, i64 508, !8, i64 512}
!15 = !{!6, !7, i64 0}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
!18 = distinct !{!18, !17}
!19 = !{!14, !7, i64 56}
!20 = !{!21, !7, i64 28}
!21 = !{!"libxsmm_generated_code", !22, i64 0, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20, !7, i64 24, !7, i64 28}
!22 = !{!"any pointer", !8, i64 0}
!23 = !{!14, !7, i64 24}
!24 = !{!14, !7, i64 8}
!25 = distinct !{!25, !17}
!26 = distinct !{!26, !17}
!27 = !{!14, !7, i64 36}
!28 = !{!14, !7, i64 20}
!29 = distinct !{!29, !17}
!30 = distinct !{!30, !17}


; Effective O3 passes: ADCEPass,CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,ReassociatePass,SROAPass,SimplifyCFGPass