; 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_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_meltw_descriptor = type <{ i32, i32, i32, i32, i32, i32, i8, i8, i8, i16, i16, 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_padnm_mod4_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_norm_padnm_mod4_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
  %23 = 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
  store i32 0, ptr %20, align 4, !tbaa !9
  %24 = load i32, ptr %19, align 4, !tbaa !9
  %25 = load i32, ptr %13, align 4, !tbaa !9
  %26 = icmp eq i32 %24, %25
  br i1 %26, label %39, label %27

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

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

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

39:                                               ; preds = %35, %31, %27, %8
  %40 = load ptr, ptr %9, 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_padnm_mod4_mbit_scalar_sse_microkernel, ptr noundef @.str, i32 noundef 1284, i32 noundef %47)
  store i32 1, ptr %21, align 4
  br label %355

48:                                               ; preds = %35
  %49 = load ptr, ptr %15, align 8, !tbaa !5
  %50 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %49, i32 0, i32 2
  %51 = load i32, ptr %50, align 4, !tbaa !11
  %52 = icmp eq i32 %51, 8
  br i1 %52, label %53, label %54

53:                                               ; preds = %48
  store i32 -1568407413, ptr %17, align 4, !tbaa !9
  store i32 -1568407413, ptr %18, align 4, !tbaa !9
  br label %76

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

59:                                               ; preds = %54
  store i32 -1610350453, ptr %17, align 4, !tbaa !9
  store i32 -1610350453, ptr %18, align 4, !tbaa !9
  br label %75

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

65:                                               ; preds = %60
  store i32 -1610334069, ptr %17, align 4, !tbaa !9
  store i32 -1610334069, ptr %18, align 4, !tbaa !9
  br label %74

66:                                               ; preds = %60
  %67 = load ptr, ptr %15, 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 !11
  %70 = icmp eq i32 %69, 1
  br i1 %70, label %71, label %72

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

72:                                               ; preds = %66
  br label %73

73:                                               ; preds = %72, %71
  br label %74

74:                                               ; preds = %73, %65
  br label %75

75:                                               ; preds = %74, %59
  br label %76

76:                                               ; preds = %75, %53
  %77 = load ptr, ptr %9, align 8, !tbaa !5
  %78 = load i32, ptr %19, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_push_reg(ptr noundef %77, i32 noundef %78)
  %79 = load ptr, ptr %9, align 8, !tbaa !5
  %80 = load ptr, ptr %15, align 8, !tbaa !5
  %81 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %80, i32 0, i32 14
  %82 = load i32, ptr %81, align 4, !tbaa !13
  %83 = load i32, ptr %14, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %79, i32 noundef %82, i32 noundef %83, i64 noundef 0)
  %84 = load ptr, ptr %9, align 8, !tbaa !5
  %85 = load ptr, ptr %10, align 8, !tbaa !5
  call void @libxsmm_x86_instruction_register_jump_back_label(ptr noundef %84, ptr noundef %85)
  %86 = load ptr, ptr %9, align 8, !tbaa !5
  %87 = load i32, ptr %14, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %86, i32 noundef 30000, i32 noundef %87, i64 noundef 1)
  %88 = load ptr, ptr %9, align 8, !tbaa !5
  %89 = load ptr, ptr %15, align 8, !tbaa !5
  %90 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %89, i32 0, i32 14
  %91 = load i32, ptr %90, align 4, !tbaa !13
  %92 = load i32, ptr %13, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %88, i32 noundef %91, i32 noundef %92, i64 noundef 0)
  %93 = load ptr, ptr %9, align 8, !tbaa !5
  %94 = load ptr, ptr %10, align 8, !tbaa !5
  call void @libxsmm_x86_instruction_register_jump_back_label(ptr noundef %93, ptr noundef %94)
  %95 = load ptr, ptr %9, align 8, !tbaa !5
  %96 = load i32, ptr %13, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %95, i32 noundef 30000, i32 noundef %96, i64 noundef 1)
  %97 = load ptr, ptr %9, align 8, !tbaa !5
  %98 = load i32, ptr %17, align 4, !tbaa !9
  %99 = load i32, ptr %11, align 4, !tbaa !9
  %100 = load i32, ptr %19, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_alu_mem(ptr noundef %97, i32 noundef %98, i32 noundef %99, i32 noundef 127, i32 noundef 0, i32 noundef 0, i32 noundef %100, i32 noundef 0)
  %101 = load ptr, ptr %9, align 8, !tbaa !5
  %102 = load i32, ptr %18, align 4, !tbaa !9
  %103 = load i32, ptr %12, align 4, !tbaa !9
  %104 = load i32, ptr %19, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_alu_mem(ptr noundef %101, i32 noundef %102, i32 noundef %103, i32 noundef 127, i32 noundef 0, i32 noundef 0, i32 noundef %104, i32 noundef 1)
  %105 = load ptr, ptr %9, align 8, !tbaa !5
  %106 = load i32, ptr %11, align 4, !tbaa !9
  %107 = load ptr, ptr %15, align 8, !tbaa !5
  %108 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %107, i32 0, i32 2
  %109 = load i32, ptr %108, align 4, !tbaa !11
  %110 = zext i32 %109 to i64
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %105, i32 noundef 30000, i32 noundef %106, i64 noundef %110)
  %111 = load ptr, ptr %9, align 8, !tbaa !5
  %112 = load i32, ptr %12, align 4, !tbaa !9
  %113 = load ptr, ptr %15, align 8, !tbaa !5
  %114 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %113, i32 0, i32 5
  %115 = load i32, ptr %114, align 4, !tbaa !14
  %116 = zext i32 %115 to i64
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %111, i32 noundef 30000, i32 noundef %112, i64 noundef %116)
  %117 = load ptr, ptr %9, align 8, !tbaa !5
  %118 = load ptr, ptr %10, align 8, !tbaa !5
  %119 = load ptr, ptr %15, align 8, !tbaa !5
  %120 = load i32, ptr %13, align 4, !tbaa !9
  %121 = load ptr, ptr %16, align 8, !tbaa !5
  %122 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %121, i32 0, i32 0
  %123 = load i32, ptr %122, align 1, !tbaa !15
  call void @libxsmm_generator_mateltwise_footer_m_loop(ptr noundef %117, ptr noundef %118, ptr noundef %119, i32 noundef %120, i32 noundef %123)
  %124 = load ptr, ptr %16, align 8, !tbaa !5
  %125 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %124, i32 0, i32 10
  %126 = load i16, ptr %125, align 1, !tbaa !18
  %127 = zext i16 %126 to i32
  %128 = icmp eq i32 %127, 58
  br i1 %128, label %135, label %129

129:                                              ; preds = %76
  %130 = load ptr, ptr %16, align 8, !tbaa !5
  %131 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %130, i32 0, i32 10
  %132 = load i16, ptr %131, align 1, !tbaa !18
  %133 = zext i16 %132 to i32
  %134 = icmp eq i32 %133, 60
  br i1 %134, label %135, label %172

135:                                              ; preds = %129, %76
  %136 = load ptr, ptr %16, align 8, !tbaa !5
  %137 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %136, i32 0, i32 0
  %138 = load i32, ptr %137, align 1, !tbaa !15
  %139 = urem i32 %138, 4
  %140 = icmp ne i32 %139, 0
  br i1 %140, label %141, label %172

141:                                              ; preds = %135
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #3
  store i32 0, ptr %22, align 4, !tbaa !9
  %142 = load ptr, ptr %16, align 8, !tbaa !5
  %143 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %142, i32 0, i32 0
  %144 = load i32, ptr %143, align 1, !tbaa !15
  %145 = add i32 %144, 3
  %146 = udiv i32 %145, 4
  %147 = mul i32 %146, 4
  store i32 %147, ptr %20, align 4, !tbaa !9
  %148 = load ptr, ptr %9, align 8, !tbaa !5
  %149 = load i32, ptr %19, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %148, i32 noundef -1568407413, i32 noundef %149, i64 noundef 0)
  %150 = load ptr, ptr %16, align 8, !tbaa !5
  %151 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %150, i32 0, i32 0
  %152 = load i32, ptr %151, align 1, !tbaa !15
  %153 = urem i32 %152, 4
  store i32 %153, ptr %22, align 4, !tbaa !9
  br label %154

154:                                              ; preds = %168, %141
  %155 = load i32, ptr %22, align 4, !tbaa !9
  %156 = icmp ult i32 %155, 4
  br i1 %156, label %157, label %171

157:                                              ; preds = %154
  %158 = load ptr, ptr %9, align 8, !tbaa !5
  %159 = load i32, ptr %18, align 4, !tbaa !9
  %160 = load i32, ptr %12, align 4, !tbaa !9
  %161 = load i32, ptr %19, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_alu_mem(ptr noundef %158, i32 noundef %159, i32 noundef %160, i32 noundef 127, i32 noundef 0, i32 noundef 0, i32 noundef %161, i32 noundef 1)
  %162 = load ptr, ptr %9, align 8, !tbaa !5
  %163 = load i32, ptr %12, align 4, !tbaa !9
  %164 = load ptr, ptr %15, align 8, !tbaa !5
  %165 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %164, i32 0, i32 5
  %166 = load i32, ptr %165, align 4, !tbaa !14
  %167 = zext i32 %166 to i64
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %162, i32 noundef 30000, i32 noundef %163, i64 noundef %167)
  br label %168

168:                                              ; preds = %157
  %169 = load i32, ptr %22, align 4, !tbaa !9
  %170 = add i32 %169, 1
  store i32 %170, ptr %22, align 4, !tbaa !9
  br label %154, !llvm.loop !19

171:                                              ; preds = %154
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #3
  br label %176

172:                                              ; preds = %135, %129
  %173 = load ptr, ptr %16, align 8, !tbaa !5
  %174 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %173, i32 0, i32 0
  %175 = load i32, ptr %174, align 1, !tbaa !15
  store i32 %175, ptr %20, align 4, !tbaa !9
  br label %176

176:                                              ; preds = %172, %171
  %177 = load ptr, ptr %9, align 8, !tbaa !5
  %178 = load i32, ptr %11, align 4, !tbaa !9
  %179 = load ptr, ptr %16, align 8, !tbaa !5
  %180 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %179, i32 0, i32 2
  %181 = load i32, ptr %180, align 1, !tbaa !21
  %182 = zext i32 %181 to i64
  %183 = load ptr, ptr %15, align 8, !tbaa !5
  %184 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %183, i32 0, i32 2
  %185 = load i32, ptr %184, align 4, !tbaa !11
  %186 = zext i32 %185 to i64
  %187 = mul nsw i64 %182, %186
  %188 = load ptr, ptr %15, align 8, !tbaa !5
  %189 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %188, i32 0, i32 2
  %190 = load i32, ptr %189, align 4, !tbaa !11
  %191 = zext i32 %190 to i64
  %192 = load ptr, ptr %16, align 8, !tbaa !5
  %193 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %192, i32 0, i32 0
  %194 = load i32, ptr %193, align 1, !tbaa !15
  %195 = zext i32 %194 to i64
  %196 = mul nsw i64 %191, %195
  %197 = sub nsw i64 %187, %196
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %177, i32 noundef 30000, i32 noundef %178, i64 noundef %197)
  %198 = load ptr, ptr %9, align 8, !tbaa !5
  %199 = load i32, ptr %12, align 4, !tbaa !9
  %200 = load ptr, ptr %16, align 8, !tbaa !5
  %201 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %200, i32 0, i32 3
  %202 = load i32, ptr %201, align 1, !tbaa !22
  %203 = zext i32 %202 to i64
  %204 = load ptr, ptr %15, 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 !14
  %207 = zext i32 %206 to i64
  %208 = mul nsw i64 %203, %207
  %209 = load ptr, ptr %15, align 8, !tbaa !5
  %210 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %209, i32 0, i32 5
  %211 = load i32, ptr %210, align 4, !tbaa !14
  %212 = zext i32 %211 to i64
  %213 = load i32, ptr %20, align 4, !tbaa !9
  %214 = zext i32 %213 to i64
  %215 = mul nsw i64 %212, %214
  %216 = sub nsw i64 %208, %215
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %198, i32 noundef 30000, i32 noundef %199, i64 noundef %216)
  %217 = load ptr, ptr %9, align 8, !tbaa !5
  %218 = load ptr, ptr %10, align 8, !tbaa !5
  %219 = load ptr, ptr %15, align 8, !tbaa !5
  %220 = load i32, ptr %14, align 4, !tbaa !9
  %221 = load ptr, ptr %16, align 8, !tbaa !5
  %222 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %221, i32 0, i32 1
  %223 = load i32, ptr %222, align 1, !tbaa !23
  call void @libxsmm_generator_mateltwise_footer_n_loop(ptr noundef %217, ptr noundef %218, ptr noundef %219, i32 noundef %220, i32 noundef %223)
  %224 = load ptr, ptr %16, align 8, !tbaa !5
  %225 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %224, i32 0, i32 10
  %226 = load i16, ptr %225, align 1, !tbaa !18
  %227 = zext i16 %226 to i32
  %228 = icmp eq i32 %227, 59
  br i1 %228, label %235, label %229

229:                                              ; preds = %176
  %230 = load ptr, ptr %16, align 8, !tbaa !5
  %231 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %230, i32 0, i32 10
  %232 = load i16, ptr %231, align 1, !tbaa !18
  %233 = zext i16 %232 to i32
  %234 = icmp eq i32 %233, 60
  br i1 %234, label %235, label %352

235:                                              ; preds = %229, %176
  %236 = load ptr, ptr %16, align 8, !tbaa !5
  %237 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %236, i32 0, i32 1
  %238 = load i32, ptr %237, align 1, !tbaa !23
  %239 = urem i32 %238, 4
  %240 = icmp ne i32 %239, 0
  br i1 %240, label %241, label %352

241:                                              ; preds = %235
  %242 = load ptr, ptr %9, align 8, !tbaa !5
  %243 = load i32, ptr %19, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %242, i32 noundef -1568407413, i32 noundef %243, i64 noundef 0)
  %244 = load ptr, ptr %9, align 8, !tbaa !5
  %245 = load ptr, ptr %15, align 8, !tbaa !5
  %246 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %245, i32 0, i32 14
  %247 = load i32, ptr %246, align 4, !tbaa !13
  %248 = load i32, ptr %14, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %244, i32 noundef %247, i32 noundef %248, i64 noundef 0)
  %249 = load ptr, ptr %9, align 8, !tbaa !5
  %250 = load ptr, ptr %10, align 8, !tbaa !5
  call void @libxsmm_x86_instruction_register_jump_back_label(ptr noundef %249, ptr noundef %250)
  %251 = load ptr, ptr %9, align 8, !tbaa !5
  %252 = load i32, ptr %14, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %251, i32 noundef 30000, i32 noundef %252, i64 noundef 1)
  %253 = load ptr, ptr %9, align 8, !tbaa !5
  %254 = load ptr, ptr %15, align 8, !tbaa !5
  %255 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %254, i32 0, i32 14
  %256 = load i32, ptr %255, align 4, !tbaa !13
  %257 = load i32, ptr %13, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %253, i32 noundef %256, i32 noundef %257, i64 noundef 0)
  %258 = load ptr, ptr %9, align 8, !tbaa !5
  %259 = load ptr, ptr %10, align 8, !tbaa !5
  call void @libxsmm_x86_instruction_register_jump_back_label(ptr noundef %258, ptr noundef %259)
  %260 = load ptr, ptr %9, align 8, !tbaa !5
  %261 = load i32, ptr %13, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %260, i32 noundef 30000, i32 noundef %261, i64 noundef 1)
  %262 = load ptr, ptr %9, align 8, !tbaa !5
  %263 = load i32, ptr %18, align 4, !tbaa !9
  %264 = load i32, ptr %12, align 4, !tbaa !9
  %265 = load i32, ptr %19, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_alu_mem(ptr noundef %262, i32 noundef %263, i32 noundef %264, i32 noundef 127, i32 noundef 0, i32 noundef 0, i32 noundef %265, i32 noundef 1)
  %266 = load ptr, ptr %9, align 8, !tbaa !5
  %267 = load i32, ptr %12, align 4, !tbaa !9
  %268 = load ptr, ptr %15, align 8, !tbaa !5
  %269 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %268, i32 0, i32 5
  %270 = load i32, ptr %269, align 4, !tbaa !14
  %271 = zext i32 %270 to i64
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %266, i32 noundef 30000, i32 noundef %267, i64 noundef %271)
  %272 = load ptr, ptr %9, align 8, !tbaa !5
  %273 = load ptr, ptr %10, align 8, !tbaa !5
  %274 = load ptr, ptr %15, align 8, !tbaa !5
  %275 = load i32, ptr %13, align 4, !tbaa !9
  %276 = load ptr, ptr %16, align 8, !tbaa !5
  %277 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %276, i32 0, i32 0
  %278 = load i32, ptr %277, align 1, !tbaa !15
  call void @libxsmm_generator_mateltwise_footer_m_loop(ptr noundef %272, ptr noundef %273, ptr noundef %274, i32 noundef %275, i32 noundef %278)
  %279 = load ptr, ptr %16, align 8, !tbaa !5
  %280 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %279, i32 0, i32 10
  %281 = load i16, ptr %280, align 1, !tbaa !18
  %282 = zext i16 %281 to i32
  %283 = icmp eq i32 %282, 60
  br i1 %283, label %284, label %319

284:                                              ; preds = %241
  %285 = load ptr, ptr %16, align 8, !tbaa !5
  %286 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %285, i32 0, i32 0
  %287 = load i32, ptr %286, align 1, !tbaa !15
  %288 = urem i32 %287, 4
  %289 = icmp ne i32 %288, 0
  br i1 %289, label %290, label %319

290:                                              ; preds = %284
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #3
  store i32 0, ptr %23, align 4, !tbaa !9
  %291 = load ptr, ptr %16, align 8, !tbaa !5
  %292 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %291, i32 0, i32 0
  %293 = load i32, ptr %292, align 1, !tbaa !15
  %294 = add i32 %293, 3
  %295 = udiv i32 %294, 4
  %296 = mul i32 %295, 4
  store i32 %296, ptr %20, align 4, !tbaa !9
  %297 = load ptr, ptr %16, align 8, !tbaa !5
  %298 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %297, i32 0, i32 0
  %299 = load i32, ptr %298, align 1, !tbaa !15
  %300 = urem i32 %299, 4
  store i32 %300, ptr %23, align 4, !tbaa !9
  br label %301

301:                                              ; preds = %315, %290
  %302 = load i32, ptr %23, align 4, !tbaa !9
  %303 = icmp ult i32 %302, 4
  br i1 %303, label %304, label %318

304:                                              ; preds = %301
  %305 = load ptr, ptr %9, align 8, !tbaa !5
  %306 = load i32, ptr %18, align 4, !tbaa !9
  %307 = load i32, ptr %12, align 4, !tbaa !9
  %308 = load i32, ptr %19, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_alu_mem(ptr noundef %305, i32 noundef %306, i32 noundef %307, i32 noundef 127, i32 noundef 0, i32 noundef 0, i32 noundef %308, i32 noundef 1)
  %309 = load ptr, ptr %9, align 8, !tbaa !5
  %310 = load i32, ptr %12, align 4, !tbaa !9
  %311 = load ptr, ptr %15, align 8, !tbaa !5
  %312 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %311, i32 0, i32 5
  %313 = load i32, ptr %312, align 4, !tbaa !14
  %314 = zext i32 %313 to i64
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %309, i32 noundef 30000, i32 noundef %310, i64 noundef %314)
  br label %315

315:                                              ; preds = %304
  %316 = load i32, ptr %23, align 4, !tbaa !9
  %317 = add i32 %316, 1
  store i32 %317, ptr %23, align 4, !tbaa !9
  br label %301, !llvm.loop !24

318:                                              ; preds = %301
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #3
  br label %323

319:                                              ; preds = %284, %241
  %320 = load ptr, ptr %16, align 8, !tbaa !5
  %321 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %320, i32 0, i32 0
  %322 = load i32, ptr %321, align 1, !tbaa !15
  store i32 %322, ptr %20, align 4, !tbaa !9
  br label %323

323:                                              ; preds = %319, %318
  %324 = load ptr, ptr %9, align 8, !tbaa !5
  %325 = load i32, ptr %12, align 4, !tbaa !9
  %326 = load ptr, ptr %16, align 8, !tbaa !5
  %327 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %326, i32 0, i32 3
  %328 = load i32, ptr %327, align 1, !tbaa !22
  %329 = zext i32 %328 to i64
  %330 = load ptr, ptr %15, align 8, !tbaa !5
  %331 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %330, i32 0, i32 5
  %332 = load i32, ptr %331, align 4, !tbaa !14
  %333 = zext i32 %332 to i64
  %334 = mul nsw i64 %329, %333
  %335 = load ptr, ptr %15, align 8, !tbaa !5
  %336 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %335, i32 0, i32 5
  %337 = load i32, ptr %336, align 4, !tbaa !14
  %338 = zext i32 %337 to i64
  %339 = load i32, ptr %20, align 4, !tbaa !9
  %340 = zext i32 %339 to i64
  %341 = mul nsw i64 %338, %340
  %342 = sub nsw i64 %334, %341
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %324, i32 noundef 30000, i32 noundef %325, i64 noundef %342)
  %343 = load ptr, ptr %9, align 8, !tbaa !5
  %344 = load ptr, ptr %10, align 8, !tbaa !5
  %345 = load ptr, ptr %15, align 8, !tbaa !5
  %346 = load i32, ptr %14, align 4, !tbaa !9
  %347 = load ptr, ptr %16, align 8, !tbaa !5
  %348 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %347, i32 0, i32 1
  %349 = load i32, ptr %348, align 1, !tbaa !23
  %350 = urem i32 %349, 4
  %351 = sub i32 4, %350
  call void @libxsmm_generator_mateltwise_footer_n_loop(ptr noundef %343, ptr noundef %344, ptr noundef %345, i32 noundef %346, i32 noundef %351)
  br label %352

352:                                              ; preds = %323, %235, %229
  %353 = load ptr, ptr %9, align 8, !tbaa !5
  %354 = load i32, ptr %19, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_pop_reg(ptr noundef %353, i32 noundef %354)
  store i32 0, ptr %21, align 4
  br label %355

355:                                              ; preds = %352, %46
  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
  %356 = load i32, ptr %21, align 4
  switch i32 %356, label %358 [
    i32 0, label %357
    i32 1, label %357
  ]

357:                                              ; preds = %355, %355
  ret void

358:                                              ; preds = %355
  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_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}
!13 = !{!12, !10, i64 56}
!14 = !{!12, !10, i64 20}
!15 = !{!16, !10, i64 0}
!16 = !{!"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, !17, i64 27, !17, i64 29, !7, i64 31}
!17 = !{!"short", !7, i64 0}
!18 = !{!16, !17, i64 29}
!19 = distinct !{!19, !20}
!20 = !{!"llvm.loop.mustprogress"}
!21 = !{!16, !10, i64 8}
!22 = !{!16, !10, i64 12}
!23 = !{!16, !10, i64 4}
!24 = distinct !{!24, !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_padnm_mod4_mbit_scalar_sse_microkernel = external hidden unnamed_addr constant [72 x i8], align 1
@switch.table.libxsmm_generator_transform_norm_padnm_mod4_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_padnm_mod4_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 = icmp eq i32 %4, 15
  %10 = icmp eq i32 %5, 15
  %or.cond = or i1 %9, %10
  %11 = icmp eq i32 %2, 15
  %or.cond153 = or i1 %11, %or.cond
  %12 = icmp eq i32 %3, 15
  %or.cond154 = or i1 %12, %or.cond153
  br i1 %or.cond154, label %13, label %18

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

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

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

.fold.split:                                      ; preds = %18, %switch.lookup
  %.0141 = phi i32 [ %switch.load, %switch.lookup ], [ 9999, %18 ]
  tail call void @libxsmm_x86_instruction_push_reg(ptr noundef %0, i32 noundef 15) #2
  %23 = getelementptr inbounds i8, ptr %6, i64 56
  %24 = load i32, ptr %23, align 4, !tbaa !11
  tail call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef %24, 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 1) #2
  %25 = load i32, ptr %23, align 4, !tbaa !11
  tail call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef %25, 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
  tail call void @libxsmm_x86_instruction_alu_mem(ptr noundef %0, i32 noundef %.0141, 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 %.0141, i32 noundef %3, i32 noundef 127, i32 noundef 0, i32 noundef 0, i32 noundef 15, i32 noundef 1) #2
  %26 = load i32, ptr %19, align 4, !tbaa !9
  %27 = zext i32 %26 to i64
  tail call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef 30000, i32 noundef %2, i64 noundef %27) #2
  %28 = getelementptr inbounds i8, ptr %6, i64 20
  %29 = load i32, ptr %28, align 4, !tbaa !12
  %30 = zext i32 %29 to i64
  tail call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef 30000, i32 noundef %3, i64 noundef %30) #2
  %31 = load i32, ptr %7, align 1, !tbaa !13
  tail call void @libxsmm_generator_mateltwise_footer_m_loop(ptr noundef %0, ptr noundef %1, ptr noundef nonnull %6, i32 noundef %4, i32 noundef %31) #2
  %32 = getelementptr inbounds i8, ptr %7, i64 29
  %33 = load i16, ptr %32, align 1, !tbaa !16
  switch i16 %33, label %._crit_edge [
    i16 58, label %34
    i16 60, label %34
  ]

._crit_edge:                                      ; preds = %.fold.split
  %.pre = load i32, ptr %7, align 1, !tbaa !13
  br label %.loopexit155

34:                                               ; preds = %.fold.split, %.fold.split
  %35 = load i32, ptr %7, align 1, !tbaa !13
  %36 = and i32 %35, 3
  %.not = icmp eq i32 %36, 0
  br i1 %.not, label %.loopexit155, label %37

37:                                               ; preds = %34
  %38 = add i32 %35, 3
  tail call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef -1568407413, i32 noundef 15, i64 noundef 0) #2
  %39 = load i32, ptr %7, align 1, !tbaa !13
  %40 = and i32 %39, 3
  br label %41

41:                                               ; preds = %37, %41
  %.0139156 = phi i32 [ %40, %37 ], [ %44, %41 ]
  tail call void @libxsmm_x86_instruction_alu_mem(ptr noundef %0, i32 noundef %.0141, i32 noundef %3, i32 noundef 127, i32 noundef 0, i32 noundef 0, i32 noundef 15, i32 noundef 1) #2
  %42 = load i32, ptr %28, align 4, !tbaa !12
  %43 = zext i32 %42 to i64
  tail call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef 30000, i32 noundef %3, i64 noundef %43) #2
  %44 = add nuw nsw i32 %.0139156, 1
  %exitcond.not = icmp eq i32 %44, 4
  br i1 %exitcond.not, label %.loopexit155.loopexit, label %41, !llvm.loop !17

.loopexit155.loopexit:                            ; preds = %41
  %45 = and i32 %38, -4
  %.pre159 = load i32, ptr %7, align 1, !tbaa !13
  br label %.loopexit155

.loopexit155:                                     ; preds = %34, %._crit_edge, %.loopexit155.loopexit
  %46 = phi i32 [ %.pre159, %.loopexit155.loopexit ], [ %.pre, %._crit_edge ], [ %35, %34 ]
  %.0140 = phi i32 [ %45, %.loopexit155.loopexit ], [ %.pre, %._crit_edge ], [ %35, %34 ]
  %47 = getelementptr inbounds i8, ptr %7, i64 8
  %48 = load i32, ptr %47, align 1, !tbaa !19
  %49 = zext i32 %48 to i64
  %50 = load i32, ptr %19, align 4, !tbaa !9
  %51 = zext i32 %50 to i64
  %52 = zext i32 %46 to i64
  %53 = sub nsw i64 %49, %52
  %54 = mul i64 %53, %51
  tail call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef 30000, i32 noundef %2, i64 noundef %54) #2
  %55 = getelementptr inbounds i8, ptr %7, i64 12
  %56 = load i32, ptr %55, align 1, !tbaa !20
  %57 = zext i32 %56 to i64
  %58 = load i32, ptr %28, align 4, !tbaa !12
  %59 = zext i32 %58 to i64
  %60 = zext i32 %.0140 to i64
  %61 = sub nsw i64 %57, %60
  %62 = mul i64 %61, %59
  tail call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef 30000, i32 noundef %3, i64 noundef %62) #2
  %63 = getelementptr inbounds i8, ptr %7, i64 4
  %64 = load i32, ptr %63, align 1, !tbaa !21
  tail call void @libxsmm_generator_mateltwise_footer_n_loop(ptr noundef %0, ptr noundef %1, ptr noundef nonnull %6, i32 noundef %5, i32 noundef %64) #2
  %65 = load i16, ptr %32, align 1, !tbaa !16
  %.off = add i16 %65, -59
  %switch = icmp ult i16 %.off, 2
  br i1 %switch, label %66, label %96

66:                                               ; preds = %.loopexit155
  %67 = load i32, ptr %63, align 1, !tbaa !21
  %68 = and i32 %67, 3
  %.not151 = icmp eq i32 %68, 0
  br i1 %.not151, label %96, label %69

69:                                               ; preds = %66
  tail call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef -1568407413, i32 noundef 15, i64 noundef 0) #2
  %70 = load i32, ptr %23, align 4, !tbaa !11
  tail call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef %70, 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 1) #2
  %71 = load i32, ptr %23, align 4, !tbaa !11
  tail call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef %71, 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
  tail call void @libxsmm_x86_instruction_alu_mem(ptr noundef %0, i32 noundef %.0141, i32 noundef %3, i32 noundef 127, i32 noundef 0, i32 noundef 0, i32 noundef 15, i32 noundef 1) #2
  %72 = load i32, ptr %28, align 4, !tbaa !12
  %73 = zext i32 %72 to i64
  tail call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef 30000, i32 noundef %3, i64 noundef %73) #2
  %74 = load i32, ptr %7, align 1, !tbaa !13
  tail call void @libxsmm_generator_mateltwise_footer_m_loop(ptr noundef %0, ptr noundef %1, ptr noundef nonnull %6, i32 noundef %4, i32 noundef %74) #2
  %75 = load i16, ptr %32, align 1, !tbaa !16
  %76 = icmp eq i16 %75, 60
  %.pre160 = load i32, ptr %7, align 1, !tbaa !13
  br i1 %76, label %77, label %.loopexit

77:                                               ; preds = %69
  %78 = and i32 %.pre160, 3
  %.not152 = icmp eq i32 %78, 0
  br i1 %.not152, label %.loopexit, label %79

79:                                               ; preds = %77
  %80 = add i32 %.pre160, 3
  br label %81

81:                                               ; preds = %79, %81
  %.0157 = phi i32 [ %78, %79 ], [ %84, %81 ]
  tail call void @libxsmm_x86_instruction_alu_mem(ptr noundef %0, i32 noundef %.0141, i32 noundef %3, i32 noundef 127, i32 noundef 0, i32 noundef 0, i32 noundef 15, i32 noundef 1) #2
  %82 = load i32, ptr %28, align 4, !tbaa !12
  %83 = zext i32 %82 to i64
  tail call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef 30000, i32 noundef %3, i64 noundef %83) #2
  %84 = add nuw nsw i32 %.0157, 1
  %exitcond158.not = icmp eq i32 %84, 4
  br i1 %exitcond158.not, label %.loopexit.loopexit, label %81, !llvm.loop !22

.loopexit.loopexit:                               ; preds = %81
  %85 = and i32 %80, -4
  br label %.loopexit

.loopexit:                                        ; preds = %69, %77, %.loopexit.loopexit
  %.1 = phi i32 [ %85, %.loopexit.loopexit ], [ %.pre160, %77 ], [ %.pre160, %69 ]
  %86 = load i32, ptr %55, align 1, !tbaa !20
  %87 = zext i32 %86 to i64
  %88 = load i32, ptr %28, align 4, !tbaa !12
  %89 = zext i32 %88 to i64
  %90 = zext i32 %.1 to i64
  %91 = sub nsw i64 %87, %90
  %92 = mul i64 %91, %89
  tail call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef 30000, i32 noundef %3, i64 noundef %92) #2
  %93 = load i32, ptr %63, align 1, !tbaa !21
  %94 = and i32 %93, 3
  %95 = sub nuw nsw i32 4, %94
  tail call void @libxsmm_generator_mateltwise_footer_n_loop(ptr noundef %0, ptr noundef %1, ptr noundef nonnull %6, i32 noundef %5, i32 noundef %95) #2
  br label %96

96:                                               ; preds = %.loopexit155, %.loopexit, %66
  tail call void @libxsmm_x86_instruction_pop_reg(ptr noundef %0, i32 noundef 15) #2
  br label %97

97:                                               ; preds = %96, %13
  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 8}
!10 = !{!"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}
!11 = !{!10, !6, i64 56}
!12 = !{!10, !6, i64 20}
!13 = !{!14, !6, i64 0}
!14 = !{!"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, !15, i64 27, !15, i64 29, !7, i64 31}
!15 = !{!"short", !7, i64 0}
!16 = !{!14, !15, i64 29}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
!19 = !{!14, !6, i64 8}
!20 = !{!14, !6, i64 12}
!21 = !{!14, !6, i64 4}
!22 = distinct !{!22, !18}


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