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

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

@.str = external hidden unnamed_addr constant [90 x i8], align 1
@libxsmm_ninit = external global i32, align 4
@libxsmm_verbosity = external global i32, align 4
@__func__.libxsmm_generator_transform_norm_to_vnni4_mbit_scalar_sse_microkernel = external hidden unnamed_addr constant [70 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_handle_error(ptr noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1

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

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

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

declare void @libxsmm_x86_instruction_alu_mem(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 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

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

; 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
define dso_local void @libxsmm_generator_transform_norm_to_vnni4_mbit_scalar_sse_microkernel(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, ptr noundef %6, ptr noundef %7, i32 noundef %8) #2 {
  %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 ptr, align 8
  %17 = alloca ptr, align 8
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  %21 = alloca i32, align 4
  %22 = alloca i32, align 4
  %23 = alloca i32, align 4
  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 ptr %6, ptr %16, align 8, !tbaa !5
  store ptr %7, ptr %17, align 8, !tbaa !5
  store i32 %8, ptr %18, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #3
  store i32 9999, ptr %19, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #3
  store i32 9999, ptr %20, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #3
  store i32 15, ptr %21, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #3
  store i32 0, ptr %22, align 4, !tbaa !9
  %24 = load i32, ptr %21, align 4, !tbaa !9
  %25 = load i32, ptr %14, align 4, !tbaa !9
  %26 = icmp eq i32 %24, %25
  br i1 %26, label %39, label %27

27:                                               ; preds = %9
  %28 = load i32, ptr %21, align 4, !tbaa !9
  %29 = load i32, ptr %15, align 4, !tbaa !9
  %30 = icmp eq i32 %28, %29
  br i1 %30, label %39, label %31

31:                                               ; preds = %27
  %32 = load i32, ptr %21, align 4, !tbaa !9
  %33 = load i32, ptr %12, align 4, !tbaa !9
  %34 = icmp eq i32 %32, %33
  br i1 %34, label %39, label %35

35:                                               ; preds = %31
  %36 = load i32, ptr %21, align 4, !tbaa !9
  %37 = load i32, ptr %13, align 4, !tbaa !9
  %38 = icmp eq i32 %36, %37
  br i1 %38, label %39, label %48

39:                                               ; preds = %35, %31, %27, %9
  %40 = load ptr, ptr %10, align 8, !tbaa !5
  %41 = load i32, ptr @libxsmm_ninit, align 4, !tbaa !9
  %42 = icmp ult i32 1, %41
  br i1 %42, label %43, label %45

43:                                               ; preds = %39
  %44 = load i32, ptr @libxsmm_verbosity, align 4, !tbaa !9
  br label %46

45:                                               ; preds = %39
  br label %46

46:                                               ; preds = %45, %43
  %47 = phi i32 [ %44, %43 ], [ 1, %45 ]
  call void @libxsmm_handle_error(ptr noundef %40, i32 noundef 90044, ptr noundef @__func__.libxsmm_generator_transform_norm_to_vnni4_mbit_scalar_sse_microkernel, ptr noundef @.str, i32 noundef 382, i32 noundef %47)
  store i32 1, ptr %23, align 4
  br label %307

48:                                               ; preds = %35
  %49 = load i32, ptr %18, align 4, !tbaa !9
  %50 = icmp eq i32 %49, 0
  br i1 %50, label %51, label %66

51:                                               ; preds = %48
  %52 = load ptr, ptr %17, align 8, !tbaa !5
  %53 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %52, i32 0, i32 1
  %54 = load i32, ptr %53, align 1, !tbaa !11
  %55 = urem i32 %54, 4
  %56 = icmp ne i32 %55, 0
  br i1 %56, label %57, label %66

57:                                               ; preds = %51
  %58 = load ptr, ptr %10, align 8, !tbaa !5
  %59 = load i32, ptr @libxsmm_ninit, align 4, !tbaa !9
  %60 = icmp ult i32 1, %59
  br i1 %60, label %61, label %63

61:                                               ; preds = %57
  %62 = load i32, ptr @libxsmm_verbosity, align 4, !tbaa !9
  br label %64

63:                                               ; preds = %57
  br label %64

64:                                               ; preds = %63, %61
  %65 = phi i32 [ %62, %61 ], [ 1, %63 ]
  call void @libxsmm_handle_error(ptr noundef %58, i32 noundef 90000, ptr noundef @__func__.libxsmm_generator_transform_norm_to_vnni4_mbit_scalar_sse_microkernel, ptr noundef @.str, i32 noundef 387, i32 noundef %65)
  store i32 1, ptr %23, align 4
  br label %307

66:                                               ; preds = %51, %48
  %67 = load ptr, ptr %16, align 8, !tbaa !5
  %68 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %67, i32 0, i32 2
  %69 = load i32, ptr %68, align 4, !tbaa !14
  %70 = icmp eq i32 %69, 8
  br i1 %70, label %71, label %72

71:                                               ; preds = %66
  store i32 -1568407413, ptr %19, align 4, !tbaa !9
  store i32 -1568407413, ptr %20, align 4, !tbaa !9
  br label %94

72:                                               ; preds = %66
  %73 = load ptr, ptr %16, align 8, !tbaa !5
  %74 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %73, i32 0, i32 2
  %75 = load i32, ptr %74, align 4, !tbaa !14
  %76 = icmp eq i32 %75, 4
  br i1 %76, label %77, label %78

77:                                               ; preds = %72
  store i32 -1610350453, ptr %19, align 4, !tbaa !9
  store i32 -1610350453, ptr %20, align 4, !tbaa !9
  br label %93

78:                                               ; preds = %72
  %79 = load ptr, ptr %16, align 8, !tbaa !5
  %80 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %79, i32 0, i32 2
  %81 = load i32, ptr %80, align 4, !tbaa !14
  %82 = icmp eq i32 %81, 2
  br i1 %82, label %83, label %84

83:                                               ; preds = %78
  store i32 -1610334069, ptr %19, align 4, !tbaa !9
  store i32 -1610334069, ptr %20, align 4, !tbaa !9
  br label %92

84:                                               ; preds = %78
  %85 = load ptr, ptr %16, align 8, !tbaa !5
  %86 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %85, i32 0, i32 2
  %87 = load i32, ptr %86, align 4, !tbaa !14
  %88 = icmp eq i32 %87, 1
  br i1 %88, label %89, label %90

89:                                               ; preds = %84
  store i32 -1610350454, ptr %19, align 4, !tbaa !9
  store i32 -1610350454, ptr %20, align 4, !tbaa !9
  br label %91

90:                                               ; preds = %84
  br label %91

91:                                               ; preds = %90, %89
  br label %92

92:                                               ; preds = %91, %83
  br label %93

93:                                               ; preds = %92, %77
  br label %94

94:                                               ; preds = %93, %71
  %95 = load ptr, ptr %10, align 8, !tbaa !5
  %96 = load i32, ptr %21, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_push_reg(ptr noundef %95, i32 noundef %96)
  %97 = load ptr, ptr %17, align 8, !tbaa !5
  %98 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %97, i32 0, i32 1
  %99 = load i32, ptr %98, align 1, !tbaa !11
  %100 = icmp uge i32 %99, 4
  br i1 %100, label %101, label %224

101:                                              ; preds = %94
  %102 = load ptr, ptr %10, align 8, !tbaa !5
  %103 = load ptr, ptr %16, align 8, !tbaa !5
  %104 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %103, i32 0, i32 14
  %105 = load i32, ptr %104, align 4, !tbaa !16
  %106 = load i32, ptr %15, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %102, i32 noundef %105, i32 noundef %106, i64 noundef 0)
  %107 = load ptr, ptr %10, align 8, !tbaa !5
  %108 = load ptr, ptr %11, align 8, !tbaa !5
  call void @libxsmm_x86_instruction_register_jump_back_label(ptr noundef %107, ptr noundef %108)
  %109 = load ptr, ptr %10, align 8, !tbaa !5
  %110 = load i32, ptr %15, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %109, i32 noundef 30000, i32 noundef %110, i64 noundef 4)
  %111 = load ptr, ptr %10, align 8, !tbaa !5
  %112 = load ptr, ptr %16, align 8, !tbaa !5
  %113 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %112, i32 0, i32 14
  %114 = load i32, ptr %113, align 4, !tbaa !16
  %115 = load i32, ptr %14, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %111, i32 noundef %114, i32 noundef %115, i64 noundef 0)
  %116 = load ptr, ptr %10, align 8, !tbaa !5
  %117 = load ptr, ptr %11, align 8, !tbaa !5
  call void @libxsmm_x86_instruction_register_jump_back_label(ptr noundef %116, ptr noundef %117)
  %118 = load ptr, ptr %10, align 8, !tbaa !5
  %119 = load i32, ptr %14, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %118, i32 noundef 30000, i32 noundef %119, i64 noundef 1)
  store i32 0, ptr %22, align 4, !tbaa !9
  br label %120

120:                                              ; preds = %146, %101
  %121 = load i32, ptr %22, align 4, !tbaa !9
  %122 = icmp ult i32 %121, 4
  br i1 %122, label %123, label %149

123:                                              ; preds = %120
  %124 = load ptr, ptr %10, align 8, !tbaa !5
  %125 = load i32, ptr %19, align 4, !tbaa !9
  %126 = load i32, ptr %12, align 4, !tbaa !9
  %127 = load ptr, ptr %16, align 8, !tbaa !5
  %128 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %127, i32 0, i32 2
  %129 = load i32, ptr %128, align 4, !tbaa !14
  %130 = load ptr, ptr %17, align 8, !tbaa !5
  %131 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %130, i32 0, i32 2
  %132 = load i32, ptr %131, align 1, !tbaa !17
  %133 = mul i32 %129, %132
  %134 = load i32, ptr %22, align 4, !tbaa !9
  %135 = mul i32 %133, %134
  %136 = load i32, ptr %21, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_alu_mem(ptr noundef %124, i32 noundef %125, i32 noundef %126, i32 noundef 127, i32 noundef 0, i32 noundef %135, i32 noundef %136, i32 noundef 0)
  %137 = load ptr, ptr %10, align 8, !tbaa !5
  %138 = load i32, ptr %20, align 4, !tbaa !9
  %139 = load i32, ptr %13, align 4, !tbaa !9
  %140 = load ptr, ptr %16, align 8, !tbaa !5
  %141 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %140, i32 0, i32 5
  %142 = load i32, ptr %141, align 4, !tbaa !18
  %143 = load i32, ptr %22, align 4, !tbaa !9
  %144 = mul i32 %142, %143
  %145 = load i32, ptr %21, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_alu_mem(ptr noundef %137, i32 noundef %138, i32 noundef %139, i32 noundef 127, i32 noundef 0, i32 noundef %144, i32 noundef %145, i32 noundef 1)
  br label %146

146:                                              ; preds = %123
  %147 = load i32, ptr %22, align 4, !tbaa !9
  %148 = add i32 %147, 1
  store i32 %148, ptr %22, align 4, !tbaa !9
  br label %120, !llvm.loop !19

149:                                              ; preds = %120
  %150 = load ptr, ptr %10, align 8, !tbaa !5
  %151 = load i32, ptr %12, align 4, !tbaa !9
  %152 = load ptr, ptr %16, align 8, !tbaa !5
  %153 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %152, i32 0, i32 2
  %154 = load i32, ptr %153, align 4, !tbaa !14
  %155 = zext i32 %154 to i64
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %150, i32 noundef 30000, i32 noundef %151, i64 noundef %155)
  %156 = load ptr, ptr %10, align 8, !tbaa !5
  %157 = load i32, ptr %13, align 4, !tbaa !9
  %158 = load ptr, ptr %16, align 8, !tbaa !5
  %159 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %158, i32 0, i32 5
  %160 = load i32, ptr %159, align 4, !tbaa !18
  %161 = zext i32 %160 to i64
  %162 = mul nsw i64 %161, 4
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %156, i32 noundef 30000, i32 noundef %157, i64 noundef %162)
  %163 = load ptr, ptr %10, align 8, !tbaa !5
  %164 = load ptr, ptr %11, align 8, !tbaa !5
  %165 = load ptr, ptr %16, align 8, !tbaa !5
  %166 = load i32, ptr %14, align 4, !tbaa !9
  %167 = load ptr, ptr %17, align 8, !tbaa !5
  %168 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %167, i32 0, i32 0
  %169 = load i32, ptr %168, align 1, !tbaa !21
  call void @libxsmm_generator_mateltwise_footer_m_loop(ptr noundef %163, ptr noundef %164, ptr noundef %165, i32 noundef %166, i32 noundef %169)
  %170 = load ptr, ptr %10, align 8, !tbaa !5
  %171 = load i32, ptr %12, align 4, !tbaa !9
  %172 = load ptr, ptr %17, align 8, !tbaa !5
  %173 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %172, i32 0, i32 2
  %174 = load i32, ptr %173, align 1, !tbaa !17
  %175 = zext i32 %174 to i64
  %176 = mul nsw i64 4, %175
  %177 = load ptr, ptr %16, align 8, !tbaa !5
  %178 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %177, i32 0, i32 2
  %179 = load i32, ptr %178, align 4, !tbaa !14
  %180 = zext i32 %179 to i64
  %181 = mul nsw i64 %176, %180
  %182 = load ptr, ptr %16, align 8, !tbaa !5
  %183 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %182, i32 0, i32 2
  %184 = load i32, ptr %183, align 4, !tbaa !14
  %185 = zext i32 %184 to i64
  %186 = load ptr, ptr %17, align 8, !tbaa !5
  %187 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %186, i32 0, i32 0
  %188 = load i32, ptr %187, align 1, !tbaa !21
  %189 = zext i32 %188 to i64
  %190 = mul nsw i64 %185, %189
  %191 = sub nsw i64 %181, %190
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %170, i32 noundef 30000, i32 noundef %171, i64 noundef %191)
  %192 = load ptr, ptr %10, align 8, !tbaa !5
  %193 = load i32, ptr %13, align 4, !tbaa !9
  %194 = load ptr, ptr %17, align 8, !tbaa !5
  %195 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %194, i32 0, i32 3
  %196 = load i32, ptr %195, align 1, !tbaa !22
  %197 = zext i32 %196 to i64
  %198 = mul nsw i64 4, %197
  %199 = load ptr, ptr %16, align 8, !tbaa !5
  %200 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %199, i32 0, i32 5
  %201 = load i32, ptr %200, align 4, !tbaa !18
  %202 = zext i32 %201 to i64
  %203 = mul nsw i64 %198, %202
  %204 = load ptr, ptr %16, align 8, !tbaa !5
  %205 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %204, i32 0, i32 5
  %206 = load i32, ptr %205, align 4, !tbaa !18
  %207 = zext i32 %206 to i64
  %208 = load ptr, ptr %17, align 8, !tbaa !5
  %209 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %208, i32 0, i32 0
  %210 = load i32, ptr %209, align 1, !tbaa !21
  %211 = zext i32 %210 to i64
  %212 = mul nsw i64 %207, %211
  %213 = mul nsw i64 %212, 4
  %214 = sub nsw i64 %203, %213
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %192, i32 noundef 30000, i32 noundef %193, i64 noundef %214)
  %215 = load ptr, ptr %10, align 8, !tbaa !5
  %216 = load ptr, ptr %11, align 8, !tbaa !5
  %217 = load ptr, ptr %16, align 8, !tbaa !5
  %218 = load i32, ptr %15, align 4, !tbaa !9
  %219 = load ptr, ptr %17, align 8, !tbaa !5
  %220 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %219, i32 0, i32 1
  %221 = load i32, ptr %220, align 1, !tbaa !11
  %222 = udiv i32 %221, 4
  %223 = mul i32 %222, 4
  call void @libxsmm_generator_mateltwise_footer_n_loop(ptr noundef %215, ptr noundef %216, ptr noundef %217, i32 noundef %218, i32 noundef %223)
  br label %224

224:                                              ; preds = %149, %94
  %225 = load ptr, ptr %17, align 8, !tbaa !5
  %226 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %225, i32 0, i32 1
  %227 = load i32, ptr %226, align 1, !tbaa !11
  %228 = urem i32 %227, 4
  %229 = icmp ne i32 %228, 0
  br i1 %229, label %230, label %304

230:                                              ; preds = %224
  %231 = load i32, ptr %18, align 4, !tbaa !9
  %232 = icmp eq i32 %231, 1
  br i1 %232, label %233, label %304

233:                                              ; preds = %230
  %234 = load ptr, ptr %10, align 8, !tbaa !5
  %235 = load ptr, ptr %16, align 8, !tbaa !5
  %236 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %235, i32 0, i32 14
  %237 = load i32, ptr %236, align 4, !tbaa !16
  %238 = load i32, ptr %14, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %234, i32 noundef %237, i32 noundef %238, i64 noundef 0)
  %239 = load ptr, ptr %10, align 8, !tbaa !5
  %240 = load ptr, ptr %11, align 8, !tbaa !5
  call void @libxsmm_x86_instruction_register_jump_back_label(ptr noundef %239, ptr noundef %240)
  %241 = load ptr, ptr %10, align 8, !tbaa !5
  %242 = load i32, ptr %14, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %241, i32 noundef 30000, i32 noundef %242, i64 noundef 1)
  store i32 0, ptr %22, align 4, !tbaa !9
  br label %243

243:                                              ; preds = %280, %233
  %244 = load i32, ptr %22, align 4, !tbaa !9
  %245 = icmp ult i32 %244, 4
  br i1 %245, label %246, label %283

246:                                              ; preds = %243
  %247 = load i32, ptr %22, align 4, !tbaa !9
  %248 = load ptr, ptr %17, align 8, !tbaa !5
  %249 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %248, i32 0, i32 1
  %250 = load i32, ptr %249, align 1, !tbaa !11
  %251 = urem i32 %250, 4
  %252 = icmp ult i32 %247, %251
  br i1 %252, label %253, label %267

253:                                              ; preds = %246
  %254 = load ptr, ptr %10, align 8, !tbaa !5
  %255 = load i32, ptr %19, align 4, !tbaa !9
  %256 = load i32, ptr %12, align 4, !tbaa !9
  %257 = load ptr, ptr %16, align 8, !tbaa !5
  %258 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %257, i32 0, i32 2
  %259 = load i32, ptr %258, align 4, !tbaa !14
  %260 = load ptr, ptr %17, align 8, !tbaa !5
  %261 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %260, i32 0, i32 2
  %262 = load i32, ptr %261, align 1, !tbaa !17
  %263 = mul i32 %259, %262
  %264 = load i32, ptr %22, align 4, !tbaa !9
  %265 = mul i32 %263, %264
  %266 = load i32, ptr %21, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_alu_mem(ptr noundef %254, i32 noundef %255, i32 noundef %256, i32 noundef 127, i32 noundef 0, i32 noundef %265, i32 noundef %266, i32 noundef 0)
  br label %270

267:                                              ; preds = %246
  %268 = load ptr, ptr %10, align 8, !tbaa !5
  %269 = load i32, ptr %21, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %268, i32 noundef -1568407413, i32 noundef %269, i64 noundef 0)
  br label %270

270:                                              ; preds = %267, %253
  %271 = load ptr, ptr %10, align 8, !tbaa !5
  %272 = load i32, ptr %20, align 4, !tbaa !9
  %273 = load i32, ptr %13, align 4, !tbaa !9
  %274 = load ptr, ptr %16, align 8, !tbaa !5
  %275 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %274, i32 0, i32 5
  %276 = load i32, ptr %275, align 4, !tbaa !18
  %277 = load i32, ptr %22, align 4, !tbaa !9
  %278 = mul i32 %276, %277
  %279 = load i32, ptr %21, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_alu_mem(ptr noundef %271, i32 noundef %272, i32 noundef %273, i32 noundef 127, i32 noundef 0, i32 noundef %278, i32 noundef %279, i32 noundef 1)
  br label %280

280:                                              ; preds = %270
  %281 = load i32, ptr %22, align 4, !tbaa !9
  %282 = add i32 %281, 1
  store i32 %282, ptr %22, align 4, !tbaa !9
  br label %243, !llvm.loop !23

283:                                              ; preds = %243
  %284 = load ptr, ptr %10, align 8, !tbaa !5
  %285 = load i32, ptr %12, align 4, !tbaa !9
  %286 = load ptr, ptr %16, align 8, !tbaa !5
  %287 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %286, i32 0, i32 2
  %288 = load i32, ptr %287, align 4, !tbaa !14
  %289 = zext i32 %288 to i64
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %284, i32 noundef 30000, i32 noundef %285, i64 noundef %289)
  %290 = load ptr, ptr %10, align 8, !tbaa !5
  %291 = load i32, ptr %13, align 4, !tbaa !9
  %292 = load ptr, ptr %16, align 8, !tbaa !5
  %293 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %292, i32 0, i32 5
  %294 = load i32, ptr %293, align 4, !tbaa !18
  %295 = zext i32 %294 to i64
  %296 = mul nsw i64 %295, 4
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %290, i32 noundef 30000, i32 noundef %291, i64 noundef %296)
  %297 = load ptr, ptr %10, align 8, !tbaa !5
  %298 = load ptr, ptr %11, align 8, !tbaa !5
  %299 = load ptr, ptr %16, align 8, !tbaa !5
  %300 = load i32, ptr %14, align 4, !tbaa !9
  %301 = load ptr, ptr %17, align 8, !tbaa !5
  %302 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %301, i32 0, i32 0
  %303 = load i32, ptr %302, align 1, !tbaa !21
  call void @libxsmm_generator_mateltwise_footer_m_loop(ptr noundef %297, ptr noundef %298, ptr noundef %299, i32 noundef %300, i32 noundef %303)
  br label %304

304:                                              ; preds = %283, %230, %224
  %305 = load ptr, ptr %10, align 8, !tbaa !5
  %306 = load i32, ptr %21, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_pop_reg(ptr noundef %305, i32 noundef %306)
  store i32 0, ptr %23, align 4
  br label %307

307:                                              ; preds = %304, %64, %46
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #3
  %308 = load i32, ptr %23, align 4
  switch i32 %308, label %310 [
    i32 0, label %309
    i32 1, label %309
  ]

309:                                              ; preds = %307, %307
  ret void

310:                                              ; preds = %307
  unreachable
}

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 = { 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 #3 = { 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 4}
!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 = !{!15, !10, i64 8}
!15 = !{!"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}
!16 = !{!15, !10, i64 56}
!17 = !{!12, !10, i64 8}
!18 = !{!15, !10, i64 20}
!19 = distinct !{!19, !20}
!20 = !{!"llvm.loop.mustprogress"}
!21 = !{!12, !10, i64 0}
!22 = !{!12, !10, i64 12}
!23 = distinct !{!23, !20}


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

@.str = external hidden unnamed_addr constant [90 x i8], align 1
@libxsmm_ninit = external local_unnamed_addr global i32, align 4
@libxsmm_verbosity = external local_unnamed_addr global i32, align 4
@__func__.libxsmm_generator_transform_norm_to_vnni4_mbit_scalar_sse_microkernel = external hidden unnamed_addr constant [70 x i8], align 1
@switch.table.libxsmm_generator_transform_norm_to_vnni4_mbit_scalar_sse_microkernel = private unnamed_addr constant [8 x i32] [i32 -1610350454, i32 -1610334069, i32 9999, i32 -1610350453, i32 9999, i32 9999, i32 9999, i32 -1568407413], align 4

declare void @libxsmm_handle_error(ptr noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #0

declare void @libxsmm_x86_instruction_push_reg(ptr noundef, i32 noundef) local_unnamed_addr #0

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

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

declare void @libxsmm_x86_instruction_alu_mem(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #0

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

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

declare void @libxsmm_x86_instruction_pop_reg(ptr noundef, i32 noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
define dso_local void @libxsmm_generator_transform_norm_to_vnni4_mbit_scalar_sse_microkernel(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, ptr noundef %6, ptr nocapture noundef readonly %7, i32 noundef %8) local_unnamed_addr #1 {
  %10 = icmp eq i32 %4, 15
  %11 = icmp eq i32 %5, 15
  %or.cond124 = or i1 %10, %11
  %12 = icmp eq i32 %2, 15
  %or.cond125 = or i1 %12, %or.cond124
  %13 = icmp eq i32 %3, 15
  %or.cond126 = or i1 %13, %or.cond125
  br i1 %or.cond126, label %14, label %19

14:                                               ; preds = %9
  %15 = load i32, ptr @libxsmm_ninit, align 4, !tbaa !5
  %16 = icmp ugt i32 %15, 1
  %17 = load i32, ptr @libxsmm_verbosity, align 4
  %18 = select i1 %16, i32 %17, i32 1
  tail call void @libxsmm_handle_error(ptr noundef %0, i32 noundef 90044, ptr noundef nonnull @__func__.libxsmm_generator_transform_norm_to_vnni4_mbit_scalar_sse_microkernel, ptr noundef nonnull @.str, i32 noundef 382, i32 noundef %18) #2
  br label %133

19:                                               ; preds = %9
  %20 = icmp eq i32 %8, 0
  br i1 %20, label %21, label %30

21:                                               ; preds = %19
  %22 = getelementptr inbounds i8, ptr %7, i64 4
  %23 = load i32, ptr %22, align 1, !tbaa !9
  %24 = and i32 %23, 3
  %.not = icmp eq i32 %24, 0
  br i1 %.not, label %30, label %25

25:                                               ; preds = %21
  %26 = load i32, ptr @libxsmm_ninit, align 4, !tbaa !5
  %27 = icmp ugt i32 %26, 1
  %28 = load i32, ptr @libxsmm_verbosity, align 4
  %29 = select i1 %27, i32 %28, i32 1
  tail call void @libxsmm_handle_error(ptr noundef %0, i32 noundef 90000, ptr noundef nonnull @__func__.libxsmm_generator_transform_norm_to_vnni4_mbit_scalar_sse_microkernel, ptr noundef nonnull @.str, i32 noundef 387, i32 noundef %29) #2
  br label %133

30:                                               ; preds = %21, %19
  %31 = getelementptr inbounds i8, ptr %6, i64 8
  %32 = load i32, ptr %31, align 4, !tbaa !12
  %switch.tableidx = add i32 %32, -1
  %33 = icmp ult i32 %switch.tableidx, 8
  br i1 %33, label %switch.lookup, label %.fold.split

switch.lookup:                                    ; preds = %30
  %34 = zext nneg i32 %switch.tableidx to i64
  %switch.gep = getelementptr inbounds [8 x i32], ptr @switch.table.libxsmm_generator_transform_norm_to_vnni4_mbit_scalar_sse_microkernel, i64 0, i64 %34
  %switch.load = load i32, ptr %switch.gep, align 4
  br label %.fold.split

.fold.split:                                      ; preds = %30, %switch.lookup
  %.0117 = phi i32 [ %switch.load, %switch.lookup ], [ 9999, %30 ]
  tail call void @libxsmm_x86_instruction_push_reg(ptr noundef %0, i32 noundef 15) #2
  %35 = getelementptr inbounds i8, ptr %7, i64 4
  %36 = load i32, ptr %35, align 1, !tbaa !9
  %37 = icmp ugt i32 %36, 3
  br i1 %37, label %38, label %89

38:                                               ; preds = %.fold.split
  %39 = getelementptr inbounds i8, ptr %6, i64 56
  %40 = load i32, ptr %39, align 4, !tbaa !14
  tail call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef %40, i32 noundef %5, i64 noundef 0) #2
  tail call void @libxsmm_x86_instruction_register_jump_back_label(ptr noundef %0, ptr noundef %1) #2
  tail call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef 30000, i32 noundef %5, i64 noundef 4) #2
  %41 = load i32, ptr %39, align 4, !tbaa !14
  tail call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef %41, i32 noundef %4, i64 noundef 0) #2
  tail call void @libxsmm_x86_instruction_register_jump_back_label(ptr noundef %0, ptr noundef %1) #2
  tail call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef 30000, i32 noundef %4, i64 noundef 1) #2
  %42 = getelementptr inbounds i8, ptr %7, i64 8
  %43 = getelementptr inbounds i8, ptr %6, i64 20
  tail call void @libxsmm_x86_instruction_alu_mem(ptr noundef %0, i32 noundef %.0117, i32 noundef %2, i32 noundef 127, i32 noundef 0, i32 noundef 0, i32 noundef 15, i32 noundef 0) #2
  tail call void @libxsmm_x86_instruction_alu_mem(ptr noundef %0, i32 noundef %.0117, i32 noundef %3, i32 noundef 127, i32 noundef 0, i32 noundef 0, i32 noundef 15, i32 noundef 1) #2
  %44 = load i32, ptr %31, align 4, !tbaa !12
  %45 = load i32, ptr %42, align 1, !tbaa !15
  %46 = mul i32 %44, %45
  tail call void @libxsmm_x86_instruction_alu_mem(ptr noundef %0, i32 noundef %.0117, i32 noundef %2, i32 noundef 127, i32 noundef 0, i32 noundef %46, i32 noundef 15, i32 noundef 0) #2
  %47 = load i32, ptr %43, align 4, !tbaa !16
  tail call void @libxsmm_x86_instruction_alu_mem(ptr noundef %0, i32 noundef %.0117, i32 noundef %3, i32 noundef 127, i32 noundef 0, i32 noundef %47, i32 noundef 15, i32 noundef 1) #2
  %48 = load i32, ptr %31, align 4, !tbaa !12
  %49 = load i32, ptr %42, align 1, !tbaa !15
  %50 = shl i32 %48, 1
  %51 = mul i32 %50, %49
  tail call void @libxsmm_x86_instruction_alu_mem(ptr noundef %0, i32 noundef %.0117, i32 noundef %2, i32 noundef 127, i32 noundef 0, i32 noundef %51, i32 noundef 15, i32 noundef 0) #2
  %52 = load i32, ptr %43, align 4, !tbaa !16
  %53 = shl i32 %52, 1
  tail call void @libxsmm_x86_instruction_alu_mem(ptr noundef %0, i32 noundef %.0117, i32 noundef %3, i32 noundef 127, i32 noundef 0, i32 noundef %53, i32 noundef 15, i32 noundef 1) #2
  %54 = load i32, ptr %31, align 4, !tbaa !12
  %55 = load i32, ptr %42, align 1, !tbaa !15
  %56 = mul i32 %54, 3
  %57 = mul i32 %56, %55
  tail call void @libxsmm_x86_instruction_alu_mem(ptr noundef %0, i32 noundef %.0117, i32 noundef %2, i32 noundef 127, i32 noundef 0, i32 noundef %57, i32 noundef 15, i32 noundef 0) #2
  %58 = load i32, ptr %43, align 4, !tbaa !16
  %59 = mul i32 %58, 3
  tail call void @libxsmm_x86_instruction_alu_mem(ptr noundef %0, i32 noundef %.0117, i32 noundef %3, i32 noundef 127, i32 noundef 0, i32 noundef %59, i32 noundef 15, i32 noundef 1) #2
  %60 = load i32, ptr %31, align 4, !tbaa !12
  %61 = zext i32 %60 to i64
  tail call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef 30000, i32 noundef %2, i64 noundef %61) #2
  %62 = load i32, ptr %43, align 4, !tbaa !16
  %63 = zext i32 %62 to i64
  %64 = shl nuw nsw i64 %63, 2
  tail call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef 30000, i32 noundef %3, i64 noundef %64) #2
  %65 = load i32, ptr %7, align 1, !tbaa !17
  tail call void @libxsmm_generator_mateltwise_footer_m_loop(ptr noundef %0, ptr noundef %1, ptr noundef nonnull %6, i32 noundef %4, i32 noundef %65) #2
  %66 = load i32, ptr %42, align 1, !tbaa !15
  %67 = zext i32 %66 to i64
  %68 = shl nuw nsw i64 %67, 2
  %69 = load i32, ptr %31, align 4, !tbaa !12
  %70 = zext i32 %69 to i64
  %71 = load i32, ptr %7, align 1, !tbaa !17
  %72 = zext i32 %71 to i64
  %73 = sub nsw i64 %68, %72
  %74 = mul i64 %73, %70
  tail call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef 30000, i32 noundef %2, i64 noundef %74) #2
  %75 = getelementptr inbounds i8, ptr %7, i64 12
  %76 = load i32, ptr %75, align 1, !tbaa !18
  %77 = zext i32 %76 to i64
  %78 = shl nuw nsw i64 %77, 2
  %79 = load i32, ptr %43, align 4, !tbaa !16
  %80 = zext i32 %79 to i64
  %81 = mul nuw nsw i64 %78, %80
  %82 = load i32, ptr %7, align 1, !tbaa !17
  %83 = zext i32 %82 to i64
  %84 = shl nuw nsw i64 %80, 2
  %85 = mul i64 %84, %83
  %86 = sub nsw i64 %81, %85
  tail call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef 30000, i32 noundef %3, i64 noundef %86) #2
  %87 = load i32, ptr %35, align 1, !tbaa !9
  %88 = and i32 %87, -4
  tail call void @libxsmm_generator_mateltwise_footer_n_loop(ptr noundef %0, ptr noundef %1, ptr noundef nonnull %6, i32 noundef %5, i32 noundef %88) #2
  %.pre = load i32, ptr %35, align 1, !tbaa !9
  br label %89

89:                                               ; preds = %38, %.fold.split
  %90 = phi i32 [ %.pre, %38 ], [ %36, %.fold.split ]
  %91 = and i32 %90, 3
  %92 = icmp ne i32 %91, 0
  %93 = icmp eq i32 %8, 1
  %or.cond = and i1 %93, %92
  br i1 %or.cond, label %94, label %132

94:                                               ; preds = %89
  %95 = getelementptr inbounds i8, ptr %6, i64 56
  %96 = load i32, ptr %95, align 4, !tbaa !14
  tail call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef %96, i32 noundef %4, i64 noundef 0) #2
  tail call void @libxsmm_x86_instruction_register_jump_back_label(ptr noundef %0, ptr noundef %1) #2
  tail call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef 30000, i32 noundef %4, i64 noundef 1) #2
  %97 = getelementptr inbounds i8, ptr %7, i64 8
  %98 = getelementptr inbounds i8, ptr %6, i64 20
  %99 = load i32, ptr %35, align 1, !tbaa !9
  %100 = and i32 %99, 3
  %.not130 = icmp eq i32 %100, 0
  br i1 %.not130, label %102, label %101

101:                                              ; preds = %94
  tail call void @libxsmm_x86_instruction_alu_mem(ptr noundef %0, i32 noundef %.0117, i32 noundef %2, i32 noundef 127, i32 noundef 0, i32 noundef 0, i32 noundef 15, i32 noundef 0) #2
  br label %103

102:                                              ; preds = %94
  tail call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef -1568407413, i32 noundef 15, i64 noundef 0) #2
  br label %103

103:                                              ; preds = %102, %101
  tail call void @libxsmm_x86_instruction_alu_mem(ptr noundef %0, i32 noundef %.0117, i32 noundef %3, i32 noundef 127, i32 noundef 0, i32 noundef 0, i32 noundef 15, i32 noundef 1) #2
  %104 = load i32, ptr %35, align 1, !tbaa !9
  %105 = and i32 %104, 2
  %.not131 = icmp eq i32 %105, 0
  br i1 %.not131, label %106, label %107

106:                                              ; preds = %103
  tail call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef -1568407413, i32 noundef 15, i64 noundef 0) #2
  br label %111

107:                                              ; preds = %103
  %108 = load i32, ptr %31, align 4, !tbaa !12
  %109 = load i32, ptr %97, align 1, !tbaa !15
  %110 = mul i32 %108, %109
  tail call void @libxsmm_x86_instruction_alu_mem(ptr noundef %0, i32 noundef %.0117, i32 noundef %2, i32 noundef 127, i32 noundef 0, i32 noundef %110, i32 noundef 15, i32 noundef 0) #2
  br label %111

111:                                              ; preds = %107, %106
  %112 = load i32, ptr %98, align 4, !tbaa !16
  tail call void @libxsmm_x86_instruction_alu_mem(ptr noundef %0, i32 noundef %.0117, i32 noundef %3, i32 noundef 127, i32 noundef 0, i32 noundef %112, i32 noundef 15, i32 noundef 1) #2
  %113 = load i32, ptr %35, align 1, !tbaa !9
  %114 = and i32 %113, 3
  %115 = icmp eq i32 %114, 3
  br i1 %115, label %117, label %116

116:                                              ; preds = %111
  tail call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef -1568407413, i32 noundef 15, i64 noundef 0) #2
  br label %122

117:                                              ; preds = %111
  %118 = load i32, ptr %31, align 4, !tbaa !12
  %119 = load i32, ptr %97, align 1, !tbaa !15
  %120 = shl i32 %118, 1
  %121 = mul i32 %120, %119
  tail call void @libxsmm_x86_instruction_alu_mem(ptr noundef %0, i32 noundef %.0117, i32 noundef %2, i32 noundef 127, i32 noundef 0, i32 noundef %121, i32 noundef 15, i32 noundef 0) #2
  br label %122

122:                                              ; preds = %117, %116
  %123 = load i32, ptr %98, align 4, !tbaa !16
  %124 = shl i32 %123, 1
  tail call void @libxsmm_x86_instruction_alu_mem(ptr noundef %0, i32 noundef %.0117, i32 noundef %3, i32 noundef 127, i32 noundef 0, i32 noundef %124, i32 noundef 15, i32 noundef 1) #2
  tail call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef -1568407413, i32 noundef 15, i64 noundef 0) #2
  %.pre129 = load i32, ptr %98, align 4, !tbaa !16
  %125 = mul i32 %.pre129, 3
  tail call void @libxsmm_x86_instruction_alu_mem(ptr noundef %0, i32 noundef %.0117, i32 noundef %3, i32 noundef 127, i32 noundef 0, i32 noundef %125, i32 noundef 15, i32 noundef 1) #2
  %126 = load i32, ptr %31, align 4, !tbaa !12
  %127 = zext i32 %126 to i64
  tail call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef 30000, i32 noundef %2, i64 noundef %127) #2
  %128 = load i32, ptr %98, align 4, !tbaa !16
  %129 = zext i32 %128 to i64
  %130 = shl nuw nsw i64 %129, 2
  tail call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef 30000, i32 noundef %3, i64 noundef %130) #2
  %131 = load i32, ptr %7, align 1, !tbaa !17
  tail call void @libxsmm_generator_mateltwise_footer_m_loop(ptr noundef %0, ptr noundef %1, ptr noundef nonnull %6, i32 noundef %4, i32 noundef %131) #2
  br label %132

132:                                              ; preds = %122, %89
  tail call void @libxsmm_x86_instruction_pop_reg(ptr noundef %0, i32 noundef 15) #2
  br label %133

133:                                              ; preds = %132, %25, %14
  ret void
}

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


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopRotatePass,PostOrderFunctionAttrsPass,ReassociatePass,SCCPPass,SROAPass,SimplifyCFGPass,TailCallElimPass