; 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_vnni2_to_vnni2t_mbit_scalar_sse_microkernel = external hidden unnamed_addr constant [72 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_vnni2_to_vnni2t_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) #2 {
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca ptr, align 8
  %16 = alloca ptr, align 8
  %17 = alloca i32, align 4
  %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
  store ptr %0, ptr %9, align 8, !tbaa !5
  store ptr %1, ptr %10, align 8, !tbaa !5
  store i32 %2, ptr %11, align 4, !tbaa !9
  store i32 %3, ptr %12, align 4, !tbaa !9
  store i32 %4, ptr %13, align 4, !tbaa !9
  store i32 %5, ptr %14, align 4, !tbaa !9
  store ptr %6, ptr %15, align 8, !tbaa !5
  store ptr %7, ptr %16, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #3
  store i32 9999, ptr %17, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #3
  store i32 9999, ptr %18, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #3
  store i32 15, ptr %19, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #3
  %23 = load ptr, ptr %16, align 8, !tbaa !5
  %24 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %23, i32 0, i32 2
  %25 = load i32, ptr %24, align 1, !tbaa !11
  %26 = mul i32 %25, 2
  store i32 %26, ptr %20, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #3
  %27 = load ptr, ptr %16, align 8, !tbaa !5
  %28 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %27, i32 0, i32 3
  %29 = load i32, ptr %28, align 1, !tbaa !14
  %30 = mul i32 %29, 2
  store i32 %30, ptr %21, align 4, !tbaa !9
  %31 = load i32, ptr %19, align 4, !tbaa !9
  %32 = load i32, ptr %13, align 4, !tbaa !9
  %33 = icmp eq i32 %31, %32
  br i1 %33, label %46, label %34

34:                                               ; preds = %8
  %35 = load i32, ptr %19, align 4, !tbaa !9
  %36 = load i32, ptr %14, align 4, !tbaa !9
  %37 = icmp eq i32 %35, %36
  br i1 %37, label %46, label %38

38:                                               ; preds = %34
  %39 = load i32, ptr %19, align 4, !tbaa !9
  %40 = load i32, ptr %11, align 4, !tbaa !9
  %41 = icmp eq i32 %39, %40
  br i1 %41, label %46, label %42

42:                                               ; preds = %38
  %43 = load i32, ptr %19, align 4, !tbaa !9
  %44 = load i32, ptr %12, align 4, !tbaa !9
  %45 = icmp eq i32 %43, %44
  br i1 %45, label %46, label %55

46:                                               ; preds = %42, %38, %34, %8
  %47 = load ptr, ptr %9, align 8, !tbaa !5
  %48 = load i32, ptr @libxsmm_ninit, align 4, !tbaa !9
  %49 = icmp ult i32 1, %48
  br i1 %49, label %50, label %52

50:                                               ; preds = %46
  %51 = load i32, ptr @libxsmm_verbosity, align 4, !tbaa !9
  br label %53

52:                                               ; preds = %46
  br label %53

53:                                               ; preds = %52, %50
  %54 = phi i32 [ %51, %50 ], [ 1, %52 ]
  call void @libxsmm_handle_error(ptr noundef %47, i32 noundef 90044, ptr noundef @__func__.libxsmm_generator_transform_vnni2_to_vnni2t_mbit_scalar_sse_microkernel, ptr noundef @.str, i32 noundef 264, i32 noundef %54)
  store i32 1, ptr %22, align 4
  br label %253

55:                                               ; preds = %42
  %56 = load ptr, ptr %15, align 8, !tbaa !5
  %57 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %56, i32 0, i32 2
  %58 = load i32, ptr %57, align 4, !tbaa !15
  %59 = icmp eq i32 %58, 8
  br i1 %59, label %60, label %61

60:                                               ; preds = %55
  store i32 -1568407413, ptr %17, align 4, !tbaa !9
  store i32 -1568407413, ptr %18, align 4, !tbaa !9
  br label %83

61:                                               ; preds = %55
  %62 = load ptr, ptr %15, align 8, !tbaa !5
  %63 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %62, i32 0, i32 2
  %64 = load i32, ptr %63, align 4, !tbaa !15
  %65 = icmp eq i32 %64, 4
  br i1 %65, label %66, label %67

66:                                               ; preds = %61
  store i32 -1610350453, ptr %17, align 4, !tbaa !9
  store i32 -1610350453, ptr %18, align 4, !tbaa !9
  br label %82

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

72:                                               ; preds = %67
  store i32 -1610334069, ptr %17, align 4, !tbaa !9
  store i32 -1610334069, ptr %18, align 4, !tbaa !9
  br label %81

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

78:                                               ; preds = %73
  store i32 -1610350454, ptr %17, align 4, !tbaa !9
  store i32 -1610350454, ptr %18, align 4, !tbaa !9
  br label %80

79:                                               ; preds = %73
  br label %80

80:                                               ; preds = %79, %78
  br label %81

81:                                               ; preds = %80, %72
  br label %82

82:                                               ; preds = %81, %66
  br label %83

83:                                               ; preds = %82, %60
  %84 = load ptr, ptr %9, align 8, !tbaa !5
  %85 = load i32, ptr %19, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_push_reg(ptr noundef %84, i32 noundef %85)
  %86 = load ptr, ptr %16, align 8, !tbaa !5
  %87 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %86, i32 0, i32 0
  %88 = load i32, ptr %87, align 1, !tbaa !17
  %89 = urem i32 %88, 2
  %90 = icmp eq i32 %89, 0
  br i1 %90, label %91, label %241

91:                                               ; preds = %83
  %92 = load ptr, ptr %16, align 8, !tbaa !5
  %93 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %92, i32 0, i32 1
  %94 = load i32, ptr %93, align 1, !tbaa !18
  %95 = urem i32 %94, 2
  %96 = icmp eq i32 %95, 0
  br i1 %96, label %97, label %241

97:                                               ; preds = %91
  %98 = load ptr, ptr %9, align 8, !tbaa !5
  %99 = load ptr, ptr %15, align 8, !tbaa !5
  %100 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %99, i32 0, i32 14
  %101 = load i32, ptr %100, align 4, !tbaa !19
  %102 = load i32, ptr %14, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %98, i32 noundef %101, i32 noundef %102, i64 noundef 0)
  %103 = load ptr, ptr %9, align 8, !tbaa !5
  %104 = load ptr, ptr %10, align 8, !tbaa !5
  call void @libxsmm_x86_instruction_register_jump_back_label(ptr noundef %103, ptr noundef %104)
  %105 = load ptr, ptr %9, align 8, !tbaa !5
  %106 = load i32, ptr %14, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %105, i32 noundef 30000, i32 noundef %106, i64 noundef 2)
  %107 = load ptr, ptr %9, align 8, !tbaa !5
  %108 = load ptr, ptr %15, align 8, !tbaa !5
  %109 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %108, i32 0, i32 14
  %110 = load i32, ptr %109, align 4, !tbaa !19
  %111 = load i32, ptr %13, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %107, i32 noundef %110, i32 noundef %111, i64 noundef 0)
  %112 = load ptr, ptr %9, align 8, !tbaa !5
  %113 = load ptr, ptr %10, align 8, !tbaa !5
  call void @libxsmm_x86_instruction_register_jump_back_label(ptr noundef %112, ptr noundef %113)
  %114 = load ptr, ptr %9, align 8, !tbaa !5
  %115 = load i32, ptr %13, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %114, i32 noundef 30000, i32 noundef %115, i64 noundef 2)
  %116 = load ptr, ptr %9, align 8, !tbaa !5
  %117 = load i32, ptr %17, align 4, !tbaa !9
  %118 = load i32, ptr %11, align 4, !tbaa !9
  %119 = load i32, ptr %19, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_alu_mem(ptr noundef %116, i32 noundef %117, i32 noundef %118, i32 noundef 127, i32 noundef 0, i32 noundef 0, i32 noundef %119, i32 noundef 0)
  %120 = load ptr, ptr %9, align 8, !tbaa !5
  %121 = load i32, ptr %18, align 4, !tbaa !9
  %122 = load i32, ptr %12, align 4, !tbaa !9
  %123 = load i32, ptr %19, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_alu_mem(ptr noundef %120, i32 noundef %121, i32 noundef %122, i32 noundef 127, i32 noundef 0, i32 noundef 0, i32 noundef %123, i32 noundef 1)
  %124 = load ptr, ptr %9, align 8, !tbaa !5
  %125 = load i32, ptr %17, align 4, !tbaa !9
  %126 = load i32, ptr %11, align 4, !tbaa !9
  %127 = load ptr, ptr %15, 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 !15
  %130 = load i32, ptr %19, 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 %129, i32 noundef %130, i32 noundef 0)
  %131 = load ptr, ptr %9, align 8, !tbaa !5
  %132 = load i32, ptr %18, align 4, !tbaa !9
  %133 = load i32, ptr %12, align 4, !tbaa !9
  %134 = load ptr, ptr %15, align 8, !tbaa !5
  %135 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %134, i32 0, i32 5
  %136 = load i32, ptr %135, align 4, !tbaa !20
  %137 = mul i32 %136, 2
  %138 = load i32, ptr %19, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_alu_mem(ptr noundef %131, i32 noundef %132, i32 noundef %133, i32 noundef 127, i32 noundef 0, i32 noundef %137, i32 noundef %138, i32 noundef 1)
  %139 = load ptr, ptr %9, align 8, !tbaa !5
  %140 = load i32, ptr %17, align 4, !tbaa !9
  %141 = load i32, ptr %11, align 4, !tbaa !9
  %142 = load ptr, ptr %15, align 8, !tbaa !5
  %143 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %142, i32 0, i32 2
  %144 = load i32, ptr %143, align 4, !tbaa !15
  %145 = mul i32 %144, 2
  %146 = load i32, ptr %19, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_alu_mem(ptr noundef %139, i32 noundef %140, i32 noundef %141, i32 noundef 127, i32 noundef 0, i32 noundef %145, i32 noundef %146, i32 noundef 0)
  %147 = load ptr, ptr %9, align 8, !tbaa !5
  %148 = load i32, ptr %18, align 4, !tbaa !9
  %149 = load i32, ptr %12, align 4, !tbaa !9
  %150 = load ptr, ptr %15, align 8, !tbaa !5
  %151 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %150, i32 0, i32 5
  %152 = load i32, ptr %151, align 4, !tbaa !20
  %153 = load i32, ptr %19, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_alu_mem(ptr noundef %147, i32 noundef %148, i32 noundef %149, i32 noundef 127, i32 noundef 0, i32 noundef %152, i32 noundef %153, i32 noundef 1)
  %154 = load ptr, ptr %9, align 8, !tbaa !5
  %155 = load i32, ptr %17, align 4, !tbaa !9
  %156 = load i32, ptr %11, align 4, !tbaa !9
  %157 = load ptr, ptr %15, align 8, !tbaa !5
  %158 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %157, i32 0, i32 2
  %159 = load i32, ptr %158, align 4, !tbaa !15
  %160 = mul i32 %159, 3
  %161 = load i32, ptr %19, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_alu_mem(ptr noundef %154, i32 noundef %155, i32 noundef %156, i32 noundef 127, i32 noundef 0, i32 noundef %160, i32 noundef %161, i32 noundef 0)
  %162 = load ptr, ptr %9, align 8, !tbaa !5
  %163 = load i32, ptr %18, align 4, !tbaa !9
  %164 = load i32, ptr %12, align 4, !tbaa !9
  %165 = load ptr, ptr %15, align 8, !tbaa !5
  %166 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %165, i32 0, i32 5
  %167 = load i32, ptr %166, align 4, !tbaa !20
  %168 = mul i32 %167, 3
  %169 = load i32, ptr %19, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_alu_mem(ptr noundef %162, i32 noundef %163, i32 noundef %164, i32 noundef 127, i32 noundef 0, i32 noundef %168, i32 noundef %169, i32 noundef 1)
  %170 = load ptr, ptr %9, align 8, !tbaa !5
  %171 = load i32, ptr %11, align 4, !tbaa !9
  %172 = load ptr, ptr %15, align 8, !tbaa !5
  %173 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %172, i32 0, i32 2
  %174 = load i32, ptr %173, align 4, !tbaa !15
  %175 = zext i32 %174 to i64
  %176 = mul nsw i64 %175, 4
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %170, i32 noundef 30000, i32 noundef %171, i64 noundef %176)
  %177 = load ptr, ptr %9, align 8, !tbaa !5
  %178 = load i32, ptr %12, align 4, !tbaa !9
  %179 = load ptr, ptr %15, align 8, !tbaa !5
  %180 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %179, i32 0, i32 5
  %181 = load i32, ptr %180, align 4, !tbaa !20
  %182 = zext i32 %181 to i64
  %183 = load i32, ptr %21, align 4, !tbaa !9
  %184 = zext i32 %183 to i64
  %185 = mul nsw i64 %182, %184
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %177, i32 noundef 30000, i32 noundef %178, i64 noundef %185)
  %186 = load ptr, ptr %9, align 8, !tbaa !5
  %187 = load ptr, ptr %10, align 8, !tbaa !5
  %188 = load ptr, ptr %15, align 8, !tbaa !5
  %189 = load i32, ptr %13, align 4, !tbaa !9
  %190 = load ptr, ptr %16, align 8, !tbaa !5
  %191 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %190, i32 0, i32 0
  %192 = load i32, ptr %191, align 1, !tbaa !17
  call void @libxsmm_generator_mateltwise_footer_m_loop(ptr noundef %186, ptr noundef %187, ptr noundef %188, i32 noundef %189, i32 noundef %192)
  %193 = load ptr, ptr %9, align 8, !tbaa !5
  %194 = load i32, ptr %11, align 4, !tbaa !9
  %195 = load i32, ptr %20, align 4, !tbaa !9
  %196 = zext i32 %195 to i64
  %197 = load ptr, ptr %15, align 8, !tbaa !5
  %198 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %197, i32 0, i32 2
  %199 = load i32, ptr %198, align 4, !tbaa !15
  %200 = zext i32 %199 to i64
  %201 = mul nsw i64 %196, %200
  %202 = load ptr, ptr %15, align 8, !tbaa !5
  %203 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %202, i32 0, i32 2
  %204 = load i32, ptr %203, align 4, !tbaa !15
  %205 = zext i32 %204 to i64
  %206 = load ptr, ptr %16, align 8, !tbaa !5
  %207 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %206, i32 0, i32 0
  %208 = load i32, ptr %207, align 1, !tbaa !17
  %209 = zext i32 %208 to i64
  %210 = mul nsw i64 %205, %209
  %211 = mul nsw i64 %210, 2
  %212 = sub nsw i64 %201, %211
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %193, i32 noundef 30000, i32 noundef %194, i64 noundef %212)
  %213 = load ptr, ptr %9, align 8, !tbaa !5
  %214 = load i32, ptr %12, align 4, !tbaa !9
  %215 = load ptr, ptr %15, align 8, !tbaa !5
  %216 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %215, i32 0, i32 5
  %217 = load i32, ptr %216, align 4, !tbaa !20
  %218 = zext i32 %217 to i64
  %219 = load i32, ptr %21, align 4, !tbaa !9
  %220 = zext i32 %219 to i64
  %221 = mul nsw i64 %218, %220
  %222 = load ptr, ptr %16, align 8, !tbaa !5
  %223 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %222, i32 0, i32 0
  %224 = load i32, ptr %223, align 1, !tbaa !17
  %225 = zext i32 %224 to i64
  %226 = mul nsw i64 %221, %225
  %227 = sdiv i64 %226, 2
  %228 = load ptr, ptr %15, align 8, !tbaa !5
  %229 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %228, i32 0, i32 5
  %230 = load i32, ptr %229, align 4, !tbaa !20
  %231 = zext i32 %230 to i64
  %232 = mul nsw i64 %231, 4
  %233 = sub nsw i64 %227, %232
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %213, i32 noundef 30008, i32 noundef %214, i64 noundef %233)
  %234 = load ptr, ptr %9, align 8, !tbaa !5
  %235 = load ptr, ptr %10, align 8, !tbaa !5
  %236 = load ptr, ptr %15, align 8, !tbaa !5
  %237 = load i32, ptr %14, align 4, !tbaa !9
  %238 = load ptr, ptr %16, align 8, !tbaa !5
  %239 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %238, i32 0, i32 1
  %240 = load i32, ptr %239, align 1, !tbaa !18
  call void @libxsmm_generator_mateltwise_footer_n_loop(ptr noundef %234, ptr noundef %235, ptr noundef %236, i32 noundef %237, i32 noundef %240)
  br label %250

241:                                              ; preds = %91, %83
  %242 = load ptr, ptr %9, align 8, !tbaa !5
  %243 = load i32, ptr @libxsmm_ninit, align 4, !tbaa !9
  %244 = icmp ult i32 1, %243
  br i1 %244, label %245, label %247

245:                                              ; preds = %241
  %246 = load i32, ptr @libxsmm_verbosity, align 4, !tbaa !9
  br label %248

247:                                              ; preds = %241
  br label %248

248:                                              ; preds = %247, %245
  %249 = phi i32 [ %246, %245 ], [ 1, %247 ]
  call void @libxsmm_handle_error(ptr noundef %242, i32 noundef 90000, ptr noundef @__func__.libxsmm_generator_transform_vnni2_to_vnni2t_mbit_scalar_sse_microkernel, ptr noundef @.str, i32 noundef 356, i32 noundef %249)
  store i32 1, ptr %22, align 4
  br label %253

250:                                              ; preds = %97
  %251 = load ptr, ptr %9, align 8, !tbaa !5
  %252 = load i32, ptr %19, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_pop_reg(ptr noundef %251, i32 noundef %252)
  store i32 0, ptr %22, align 4
  br label %253

253:                                              ; preds = %250, %248, %53
  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
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #3
  %254 = load i32, ptr %22, align 4
  switch i32 %254, label %256 [
    i32 0, label %255
    i32 1, label %255
  ]

255:                                              ; preds = %253, %253
  ret void

256:                                              ; preds = %253
  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 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 = !{!16, !10, i64 8}
!16 = !{!"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}
!17 = !{!12, !10, i64 0}
!18 = !{!12, !10, i64 4}
!19 = !{!16, !10, i64 56}
!20 = !{!16, !10, i64 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_vnni2_to_vnni2t_mbit_scalar_sse_microkernel = external hidden unnamed_addr constant [72 x i8], align 1
@switch.table.libxsmm_generator_transform_vnni2_to_vnni2t_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_vnni2_to_vnni2t_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) local_unnamed_addr #1 {
  %9 = getelementptr inbounds i8, ptr %7, i64 8
  %10 = load i32, ptr %9, align 1, !tbaa !5
  %11 = shl i32 %10, 1
  %12 = getelementptr inbounds i8, ptr %7, i64 12
  %13 = load i32, ptr %12, align 1, !tbaa !11
  %14 = shl i32 %13, 1
  %15 = icmp eq i32 %4, 15
  %16 = icmp eq i32 %5, 15
  %or.cond = or i1 %15, %16
  %17 = icmp eq i32 %2, 15
  %or.cond108 = or i1 %17, %or.cond
  %18 = icmp eq i32 %3, 15
  %or.cond109 = or i1 %18, %or.cond108
  br i1 %or.cond109, label %19, label %24

19:                                               ; preds = %8
  %20 = load i32, ptr @libxsmm_ninit, align 4, !tbaa !12
  %21 = icmp ugt i32 %20, 1
  %22 = load i32, ptr @libxsmm_verbosity, align 4
  %23 = select i1 %21, i32 %22, i32 1
  tail call void @libxsmm_handle_error(ptr noundef %0, i32 noundef 90044, ptr noundef nonnull @__func__.libxsmm_generator_transform_vnni2_to_vnni2t_mbit_scalar_sse_microkernel, ptr noundef nonnull @.str, i32 noundef 264, i32 noundef %23) #2
  br label %84

24:                                               ; preds = %8
  %25 = getelementptr inbounds i8, ptr %6, i64 8
  %26 = load i32, ptr %25, align 4, !tbaa !13
  %switch.tableidx = add i32 %26, -1
  %27 = icmp ult i32 %switch.tableidx, 8
  br i1 %27, label %switch.lookup, label %.fold.split

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

.fold.split:                                      ; preds = %24, %switch.lookup
  %.0 = phi i32 [ %switch.load, %switch.lookup ], [ 9999, %24 ]
  tail call void @libxsmm_x86_instruction_push_reg(ptr noundef %0, i32 noundef 15) #2
  %29 = load i32, ptr %7, align 1, !tbaa !15
  %30 = and i32 %29, 1
  %31 = icmp eq i32 %30, 0
  br i1 %31, label %32, label %79

32:                                               ; preds = %.fold.split
  %33 = getelementptr inbounds i8, ptr %7, i64 4
  %34 = load i32, ptr %33, align 1, !tbaa !16
  %35 = and i32 %34, 1
  %36 = icmp eq i32 %35, 0
  br i1 %36, label %37, label %79

37:                                               ; preds = %32
  %38 = getelementptr inbounds i8, ptr %6, i64 56
  %39 = load i32, ptr %38, align 4, !tbaa !17
  tail call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef %39, 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 2) #2
  %40 = load i32, ptr %38, align 4, !tbaa !17
  tail call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef %40, 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 2) #2
  tail call void @libxsmm_x86_instruction_alu_mem(ptr noundef %0, i32 noundef %.0, 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 %.0, i32 noundef %3, i32 noundef 127, i32 noundef 0, i32 noundef 0, i32 noundef 15, i32 noundef 1) #2
  %41 = load i32, ptr %25, align 4, !tbaa !13
  tail call void @libxsmm_x86_instruction_alu_mem(ptr noundef %0, i32 noundef %.0, i32 noundef %2, i32 noundef 127, i32 noundef 0, i32 noundef %41, i32 noundef 15, i32 noundef 0) #2
  %42 = getelementptr inbounds i8, ptr %6, i64 20
  %43 = load i32, ptr %42, align 4, !tbaa !18
  %44 = shl i32 %43, 1
  tail call void @libxsmm_x86_instruction_alu_mem(ptr noundef %0, i32 noundef %.0, i32 noundef %3, i32 noundef 127, i32 noundef 0, i32 noundef %44, i32 noundef 15, i32 noundef 1) #2
  %45 = load i32, ptr %25, align 4, !tbaa !13
  %46 = shl i32 %45, 1
  tail call void @libxsmm_x86_instruction_alu_mem(ptr noundef %0, i32 noundef %.0, i32 noundef %2, i32 noundef 127, i32 noundef 0, i32 noundef %46, i32 noundef 15, i32 noundef 0) #2
  %47 = load i32, ptr %42, align 4, !tbaa !18
  tail call void @libxsmm_x86_instruction_alu_mem(ptr noundef %0, i32 noundef %.0, i32 noundef %3, i32 noundef 127, i32 noundef 0, i32 noundef %47, i32 noundef 15, i32 noundef 1) #2
  %48 = load i32, ptr %25, align 4, !tbaa !13
  %49 = mul i32 %48, 3
  tail call void @libxsmm_x86_instruction_alu_mem(ptr noundef %0, i32 noundef %.0, i32 noundef %2, i32 noundef 127, i32 noundef 0, i32 noundef %49, i32 noundef 15, i32 noundef 0) #2
  %50 = load i32, ptr %42, align 4, !tbaa !18
  %51 = mul i32 %50, 3
  tail call void @libxsmm_x86_instruction_alu_mem(ptr noundef %0, i32 noundef %.0, i32 noundef %3, i32 noundef 127, i32 noundef 0, i32 noundef %51, i32 noundef 15, i32 noundef 1) #2
  %52 = load i32, ptr %25, align 4, !tbaa !13
  %53 = zext i32 %52 to i64
  %54 = shl nuw nsw i64 %53, 2
  tail call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef 30000, i32 noundef %2, i64 noundef %54) #2
  %55 = load i32, ptr %42, align 4, !tbaa !18
  %56 = zext i32 %55 to i64
  %57 = zext i32 %14 to i64
  %58 = mul nuw nsw i64 %56, %57
  tail call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef 30000, i32 noundef %3, i64 noundef %58) #2
  %59 = load i32, ptr %7, align 1, !tbaa !15
  tail call void @libxsmm_generator_mateltwise_footer_m_loop(ptr noundef %0, ptr noundef %1, ptr noundef nonnull %6, i32 noundef %4, i32 noundef %59) #2
  %60 = zext i32 %11 to i64
  %61 = load i32, ptr %25, align 4, !tbaa !13
  %62 = zext i32 %61 to i64
  %63 = mul nuw nsw i64 %62, %60
  %64 = load i32, ptr %7, align 1, !tbaa !15
  %65 = zext i32 %64 to i64
  %66 = shl nuw nsw i64 %62, 1
  %67 = mul i64 %66, %65
  %68 = sub nsw i64 %63, %67
  tail call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef 30000, i32 noundef %2, i64 noundef %68) #2
  %69 = load i32, ptr %42, align 4, !tbaa !18
  %70 = zext i32 %69 to i64
  %71 = mul nuw nsw i64 %70, %57
  %72 = load i32, ptr %7, align 1, !tbaa !15
  %73 = zext i32 %72 to i64
  %74 = mul nuw nsw i64 %71, %73
  %75 = lshr exact i64 %74, 1
  %76 = shl nuw nsw i64 %70, 2
  %77 = sub nsw i64 %75, %76
  tail call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef 30008, i32 noundef %3, i64 noundef %77) #2
  %78 = load i32, ptr %33, align 1, !tbaa !16
  tail call void @libxsmm_generator_mateltwise_footer_n_loop(ptr noundef %0, ptr noundef %1, ptr noundef nonnull %6, i32 noundef %5, i32 noundef %78) #2
  tail call void @libxsmm_x86_instruction_pop_reg(ptr noundef %0, i32 noundef 15) #2
  br label %84

79:                                               ; preds = %32, %.fold.split
  %80 = load i32, ptr @libxsmm_ninit, align 4, !tbaa !12
  %81 = icmp ugt i32 %80, 1
  %82 = load i32, ptr @libxsmm_verbosity, align 4
  %83 = select i1 %81, i32 %82, i32 1
  tail call void @libxsmm_handle_error(ptr noundef %0, i32 noundef 90000, ptr noundef nonnull @__func__.libxsmm_generator_transform_vnni2_to_vnni2t_mbit_scalar_sse_microkernel, ptr noundef nonnull @.str, i32 noundef 356, i32 noundef %83) #2
  br label %84

84:                                               ; preds = %37, %79, %19
  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, !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 = !{!7, !7, i64 0}
!13 = !{!14, !7, i64 8}
!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 = !{!6, !7, i64 4}
!17 = !{!14, !7, i64 56}
!18 = !{!14, !7, i64 20}


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