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

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

%struct.libxsmm_jump_label_tracker_struct = type { [512 x i32], [512 x %struct.libxsmm_jump_source_struct] }
%struct.libxsmm_jump_source_struct = type { [512 x i32], [512 x i32], i32 }
%struct.libxsmm_meltw_descriptor = type <{ i32, i32, i32, i32, i32, i32, i8, i8, i8, i16, i16, i8 }>
%struct.libxsmm_mateltwise_kernel_config_struct = type { i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i8 }
%struct.libxsmm_mateltwise_gp_reg_mapping_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 }
%struct.libxsmm_generated_code = type { ptr, i32, i32, i32, i32, i32, i32 }

@.str = external hidden unnamed_addr constant [102 x i8], align 1
@libxsmm_ninit = external global i32, align 4
@libxsmm_verbosity = external global i32, align 4
@.str.1 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [19 x i8], align 1
@__func__.libxsmm_generator_gather_scatter_cols_avx_avx512_microkernel = external hidden unnamed_addr constant [61 x i8], align 1

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

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

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

declare void @libxsmm_reset_jump_label_tracker(ptr noundef) #0

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

declare void @libxsmm_generator_initialize_avx_mask(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #0

declare void @libxsmm_generator_initialize_avx512_mask(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #0

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

; Function Attrs: nounwind uwtable
declare dso_local void @libxsmm_generator_gather_scatter_cols_avx_avx512_m_loop(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i8 noundef signext, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #2

; Function Attrs: nounwind uwtable
define dso_local void @libxsmm_generator_gather_scatter_cols_avx_avx512_microkernel(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #2 {
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %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 i32, align 4
  %16 = alloca i32, align 4
  %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
  %24 = alloca i32, align 4
  %25 = alloca i32, align 4
  %26 = alloca i32, align 4
  %27 = alloca i32, align 4
  %28 = alloca i32, align 4
  %29 = alloca i32, align 4
  %30 = alloca i32, align 4
  %31 = alloca i32, align 4
  %32 = alloca i8, align 1
  %33 = alloca i32, align 4
  %34 = alloca i32, align 4
  %35 = alloca i32, align 4
  %36 = alloca i32, align 4
  %37 = alloca i32, align 4
  %38 = alloca i32, align 4
  %39 = alloca i32, align 4
  %40 = alloca i32, align 4
  %41 = alloca i32, align 4
  %42 = alloca ptr, align 8
  %43 = alloca ptr, align 8
  %44 = alloca ptr, align 8
  %45 = alloca ptr, align 8
  %46 = alloca i32, align 4
  %47 = alloca i32, align 4
  %48 = alloca %struct.libxsmm_jump_label_tracker_struct, align 4
  %49 = alloca i32, align 4
  %50 = alloca i32, align 4
  %51 = alloca i32, align 4
  store ptr %0, ptr %6, align 8, !tbaa !5
  store ptr %1, ptr %7, align 8, !tbaa !5
  store ptr %2, ptr %8, align 8, !tbaa !5
  store ptr %3, ptr %9, align 8, !tbaa !5
  store ptr %4, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #5
  store i32 4, ptr %14, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #5
  store i32 1, ptr %15, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #5
  store i32 0, ptr %16, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #5
  store i32 0, ptr %17, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #5
  store i32 0, ptr %18, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #5
  %52 = load ptr, ptr %10, align 8, !tbaa !5
  %53 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %52, i32 0, i32 9
  %54 = load i16, ptr %53, align 1, !tbaa !11
  %55 = zext i16 %54 to i32
  %56 = and i32 %55, 256
  %57 = icmp sgt i32 %56, 0
  %58 = zext i1 %57 to i64
  %59 = select i1 %57, i32 8, i32 4
  store i32 %59, ptr %19, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #5
  %60 = load i32, ptr %19, align 4, !tbaa !9
  %61 = icmp eq i32 %60, 8
  %62 = zext i1 %61 to i64
  %63 = select i1 %61, i32 -1568407413, i32 -1610350453
  store i32 %63, ptr %20, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #5
  store i32 4, ptr %21, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #5
  store i32 0, ptr %22, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #5
  store i32 -1809575912, ptr %23, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #5
  store i32 1, ptr %24, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #5
  store i32 0, ptr %25, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #5
  store i32 0, ptr %26, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #5
  store i32 0, ptr %27, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %28) #5
  store i32 0, ptr %28, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %29) #5
  store i32 0, ptr %29, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %30) #5
  %64 = load ptr, ptr %9, align 8, !tbaa !5
  %65 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %64, i32 0, i32 2
  %66 = load i32, ptr %65, align 4, !tbaa !14
  %67 = udiv i32 64, %66
  store i32 %67, ptr %30, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %31) #5
  store i32 0, ptr %31, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr %32) #5
  store i8 122, ptr %32, align 1, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 4, ptr %33) #5
  store i32 1, ptr %33, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %34) #5
  store i32 0, ptr %34, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %35) #5
  store i32 0, ptr %35, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %36) #5
  store i32 0, ptr %36, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %37) #5
  store i32 0, ptr %37, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %38) #5
  store i32 0, ptr %38, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %39) #5
  store i32 0, ptr %39, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %40) #5
  store i32 0, ptr %40, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %41) #5
  store i32 0, ptr %41, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %42) #5
  %68 = call ptr @getenv(ptr noundef @.str.1) #5
  store ptr %68, ptr %42, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %43) #5
  %69 = call ptr @getenv(ptr noundef @.str.2) #5
  store ptr %69, ptr %43, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %44) #5
  %70 = call ptr @getenv(ptr noundef @.str.3) #5
  store ptr %70, ptr %44, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %45) #5
  %71 = call ptr @getenv(ptr noundef @.str.4) #5
  store ptr %71, ptr %45, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %46) #5
  store i32 32, ptr %46, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %47) #5
  store i32 80, ptr %47, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 2101248, ptr %48) #5
  call void @libxsmm_reset_jump_label_tracker(ptr noundef %48)
  %72 = load ptr, ptr %42, align 8, !tbaa !5
  %73 = icmp eq ptr null, %72
  br i1 %73, label %74, label %75

74:                                               ; preds = %5
  br label %85

75:                                               ; preds = %5
  %76 = load ptr, ptr %42, align 8, !tbaa !5
  %77 = call i32 @atoi(ptr noundef %76) #6
  %78 = icmp slt i32 1, %77
  br i1 %78, label %79, label %82

79:                                               ; preds = %75
  %80 = load ptr, ptr %42, align 8, !tbaa !5
  %81 = call i32 @atoi(ptr noundef %80) #6
  br label %83

82:                                               ; preds = %75
  br label %83

83:                                               ; preds = %82, %79
  %84 = phi i32 [ %81, %79 ], [ 1, %82 ]
  store i32 %84, ptr %14, align 4, !tbaa !9
  br label %85

85:                                               ; preds = %83, %74
  %86 = load ptr, ptr %43, align 8, !tbaa !5
  %87 = icmp eq ptr null, %86
  br i1 %87, label %88, label %89

88:                                               ; preds = %85
  br label %92

89:                                               ; preds = %85
  %90 = load ptr, ptr %43, align 8, !tbaa !5
  %91 = call i32 @atoi(ptr noundef %90) #6
  store i32 %91, ptr %21, align 4, !tbaa !9
  br label %92

92:                                               ; preds = %89, %88
  %93 = load ptr, ptr %44, align 8, !tbaa !5
  %94 = icmp eq ptr null, %93
  br i1 %94, label %95, label %96

95:                                               ; preds = %92
  br label %99

96:                                               ; preds = %92
  %97 = load ptr, ptr %44, align 8, !tbaa !5
  %98 = call i32 @atoi(ptr noundef %97) #6
  store i32 %98, ptr %24, align 4, !tbaa !9
  br label %99

99:                                               ; preds = %96, %95
  %100 = load ptr, ptr %45, align 8, !tbaa !5
  %101 = icmp eq ptr null, %100
  br i1 %101, label %102, label %103

102:                                              ; preds = %99
  br label %106

103:                                              ; preds = %99
  %104 = load ptr, ptr %45, align 8, !tbaa !5
  %105 = call i32 @atoi(ptr noundef %104) #6
  store i32 %105, ptr %22, align 4, !tbaa !9
  br label %106

106:                                              ; preds = %103, %102
  %107 = load i32, ptr %24, align 4, !tbaa !9
  %108 = icmp eq i32 %107, 2
  %109 = zext i1 %108 to i64
  %110 = select i1 %108, i32 -1809575912, i32 -1810624488
  store i32 %110, ptr %23, align 4, !tbaa !9
  %111 = load i32, ptr %22, align 4, !tbaa !9
  %112 = icmp eq i32 %111, 0
  br i1 %112, label %113, label %117

113:                                              ; preds = %106
  %114 = load ptr, ptr %9, align 8, !tbaa !5
  %115 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %114, i32 0, i32 9
  %116 = load i32, ptr %115, align 4, !tbaa !17
  br label %118

117:                                              ; preds = %106
  br label %118

118:                                              ; preds = %117, %113
  %119 = phi i32 [ %116, %113 ], [ 537138731, %117 ]
  store i32 %119, ptr %25, align 4, !tbaa !9
  %120 = load ptr, ptr %9, align 8, !tbaa !5
  %121 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %120, i32 0, i32 6
  %122 = load i32, ptr %121, align 4, !tbaa !18
  store i32 %122, ptr %26, align 4, !tbaa !9
  %123 = load ptr, ptr %10, align 8, !tbaa !5
  %124 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %123, i32 0, i32 10
  %125 = load i16, ptr %124, align 1, !tbaa !19
  %126 = zext i16 %125 to i32
  %127 = icmp eq i32 %126, 51
  %128 = zext i1 %127 to i64
  %129 = select i1 %127, i32 1, i32 0
  store i32 %129, ptr %33, align 4, !tbaa !9
  %130 = load ptr, ptr %8, align 8, !tbaa !5
  %131 = getelementptr inbounds %struct.libxsmm_mateltwise_gp_reg_mapping_struct, ptr %130, i32 0, i32 26
  store i32 8, ptr %131, align 4, !tbaa !20
  %132 = load ptr, ptr %8, align 8, !tbaa !5
  %133 = getelementptr inbounds %struct.libxsmm_mateltwise_gp_reg_mapping_struct, ptr %132, i32 0, i32 27
  store i32 9, ptr %133, align 4, !tbaa !22
  %134 = load ptr, ptr %8, align 8, !tbaa !5
  %135 = getelementptr inbounds %struct.libxsmm_mateltwise_gp_reg_mapping_struct, ptr %134, i32 0, i32 24
  store i32 0, ptr %135, align 4, !tbaa !23
  %136 = load ptr, ptr %8, align 8, !tbaa !5
  %137 = getelementptr inbounds %struct.libxsmm_mateltwise_gp_reg_mapping_struct, ptr %136, i32 0, i32 25
  store i32 2, ptr %137, align 4, !tbaa !24
  store i32 10, ptr %41, align 4, !tbaa !9
  store i32 11, ptr %40, align 4, !tbaa !9
  store i32 6, ptr %38, align 4, !tbaa !9
  store i32 1, ptr %39, align 4, !tbaa !9
  %138 = load i32, ptr %33, align 4, !tbaa !9
  %139 = icmp eq i32 %138, 1
  br i1 %139, label %140, label %183

140:                                              ; preds = %118
  %141 = load ptr, ptr %6, align 8, !tbaa !5
  %142 = load ptr, ptr %9, align 8, !tbaa !5
  %143 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %142, i32 0, i32 14
  %144 = load i32, ptr %143, align 4, !tbaa !25
  %145 = load ptr, ptr %8, align 8, !tbaa !5
  %146 = getelementptr inbounds %struct.libxsmm_mateltwise_gp_reg_mapping_struct, ptr %145, i32 0, i32 0
  %147 = load i32, ptr %146, align 4, !tbaa !26
  %148 = load i32, ptr %46, align 4, !tbaa !9
  %149 = load i32, ptr %41, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_alu_mem(ptr noundef %141, i32 noundef %144, i32 noundef %147, i32 noundef 127, i32 noundef 0, i32 noundef %148, i32 noundef %149, i32 noundef 0)
  %150 = load ptr, ptr %6, align 8, !tbaa !5
  %151 = load ptr, ptr %9, align 8, !tbaa !5
  %152 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %151, i32 0, i32 14
  %153 = load i32, ptr %152, align 4, !tbaa !25
  %154 = load ptr, ptr %8, align 8, !tbaa !5
  %155 = getelementptr inbounds %struct.libxsmm_mateltwise_gp_reg_mapping_struct, ptr %154, i32 0, i32 0
  %156 = load i32, ptr %155, align 4, !tbaa !26
  %157 = load i32, ptr %46, align 4, !tbaa !9
  %158 = add nsw i32 %157, 8
  %159 = load ptr, ptr %8, align 8, !tbaa !5
  %160 = getelementptr inbounds %struct.libxsmm_mateltwise_gp_reg_mapping_struct, ptr %159, i32 0, i32 27
  %161 = load i32, ptr %160, align 4, !tbaa !22
  call void @libxsmm_x86_instruction_alu_mem(ptr noundef %150, i32 noundef %153, i32 noundef %156, i32 noundef 127, i32 noundef 0, i32 noundef %158, i32 noundef %161, i32 noundef 0)
  %162 = load ptr, ptr %6, align 8, !tbaa !5
  %163 = load ptr, ptr %9, align 8, !tbaa !5
  %164 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %163, i32 0, i32 14
  %165 = load i32, ptr %164, align 4, !tbaa !25
  %166 = load ptr, ptr %8, align 8, !tbaa !5
  %167 = getelementptr inbounds %struct.libxsmm_mateltwise_gp_reg_mapping_struct, ptr %166, i32 0, i32 0
  %168 = load i32, ptr %167, align 4, !tbaa !26
  %169 = load i32, ptr %47, align 4, !tbaa !9
  %170 = load i32, ptr %40, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_alu_mem(ptr noundef %162, i32 noundef %165, i32 noundef %168, i32 noundef 127, i32 noundef 0, i32 noundef %169, i32 noundef %170, i32 noundef 0)
  %171 = load ptr, ptr %10, align 8, !tbaa !5
  %172 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %171, i32 0, i32 2
  %173 = load i32, ptr %172, align 1, !tbaa !27
  store i32 %173, ptr %34, align 4, !tbaa !9
  %174 = load ptr, ptr %10, align 8, !tbaa !5
  %175 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %174, i32 0, i32 3
  %176 = load i32, ptr %175, align 1, !tbaa !28
  store i32 %176, ptr %35, align 4, !tbaa !9
  %177 = load ptr, ptr %9, 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
  store i32 %179, ptr %36, align 4, !tbaa !9
  %180 = load ptr, ptr %9, align 8, !tbaa !5
  %181 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %180, i32 0, i32 5
  %182 = load i32, ptr %181, align 4, !tbaa !29
  store i32 %182, ptr %37, align 4, !tbaa !9
  br label %226

183:                                              ; preds = %118
  %184 = load ptr, ptr %6, align 8, !tbaa !5
  %185 = load ptr, ptr %9, align 8, !tbaa !5
  %186 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %185, i32 0, i32 14
  %187 = load i32, ptr %186, align 4, !tbaa !25
  %188 = load ptr, ptr %8, align 8, !tbaa !5
  %189 = getelementptr inbounds %struct.libxsmm_mateltwise_gp_reg_mapping_struct, ptr %188, i32 0, i32 0
  %190 = load i32, ptr %189, align 4, !tbaa !26
  %191 = load i32, ptr %46, align 4, !tbaa !9
  %192 = load i32, ptr %40, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_alu_mem(ptr noundef %184, i32 noundef %187, i32 noundef %190, i32 noundef 127, i32 noundef 0, i32 noundef %191, i32 noundef %192, i32 noundef 0)
  %193 = load ptr, ptr %6, align 8, !tbaa !5
  %194 = load ptr, ptr %9, align 8, !tbaa !5
  %195 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %194, i32 0, i32 14
  %196 = load i32, ptr %195, align 4, !tbaa !25
  %197 = load ptr, ptr %8, align 8, !tbaa !5
  %198 = getelementptr inbounds %struct.libxsmm_mateltwise_gp_reg_mapping_struct, ptr %197, i32 0, i32 0
  %199 = load i32, ptr %198, align 4, !tbaa !26
  %200 = load i32, ptr %47, align 4, !tbaa !9
  %201 = load i32, ptr %41, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_alu_mem(ptr noundef %193, i32 noundef %196, i32 noundef %199, i32 noundef 127, i32 noundef 0, i32 noundef %200, i32 noundef %201, i32 noundef 0)
  %202 = load ptr, ptr %6, align 8, !tbaa !5
  %203 = load ptr, ptr %9, align 8, !tbaa !5
  %204 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %203, i32 0, i32 14
  %205 = load i32, ptr %204, align 4, !tbaa !25
  %206 = load ptr, ptr %8, align 8, !tbaa !5
  %207 = getelementptr inbounds %struct.libxsmm_mateltwise_gp_reg_mapping_struct, ptr %206, i32 0, i32 0
  %208 = load i32, ptr %207, align 4, !tbaa !26
  %209 = load i32, ptr %47, align 4, !tbaa !9
  %210 = add nsw i32 %209, 8
  %211 = load ptr, ptr %8, align 8, !tbaa !5
  %212 = getelementptr inbounds %struct.libxsmm_mateltwise_gp_reg_mapping_struct, ptr %211, i32 0, i32 27
  %213 = load i32, ptr %212, align 4, !tbaa !22
  call void @libxsmm_x86_instruction_alu_mem(ptr noundef %202, i32 noundef %205, i32 noundef %208, i32 noundef 127, i32 noundef 0, i32 noundef %210, i32 noundef %213, i32 noundef 0)
  %214 = load ptr, ptr %10, align 8, !tbaa !5
  %215 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %214, i32 0, i32 3
  %216 = load i32, ptr %215, align 1, !tbaa !28
  store i32 %216, ptr %34, align 4, !tbaa !9
  %217 = load ptr, ptr %10, align 8, !tbaa !5
  %218 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %217, i32 0, i32 2
  %219 = load i32, ptr %218, align 1, !tbaa !27
  store i32 %219, ptr %35, align 4, !tbaa !9
  %220 = load ptr, ptr %9, align 8, !tbaa !5
  %221 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %220, i32 0, i32 5
  %222 = load i32, ptr %221, align 4, !tbaa !29
  store i32 %222, ptr %36, align 4, !tbaa !9
  %223 = load ptr, ptr %9, align 8, !tbaa !5
  %224 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %223, i32 0, i32 2
  %225 = load i32, ptr %224, align 4, !tbaa !14
  store i32 %225, ptr %37, align 4, !tbaa !9
  store i32 -1810624499, ptr %23, align 4, !tbaa !9
  br label %226

226:                                              ; preds = %183, %140
  %227 = load ptr, ptr %6, align 8, !tbaa !5
  %228 = getelementptr inbounds %struct.libxsmm_generated_code, ptr %227, i32 0, i32 6
  %229 = load i32, ptr %228, align 4, !tbaa !30
  %230 = icmp ult i32 %229, 1051
  br i1 %230, label %231, label %236

231:                                              ; preds = %226
  %232 = load ptr, ptr %9, align 8, !tbaa !5
  %233 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %232, i32 0, i32 2
  %234 = load i32, ptr %233, align 4, !tbaa !14
  %235 = udiv i32 32, %234
  store i32 %235, ptr %30, align 4, !tbaa !9
  store i8 121, ptr %32, align 1, !tbaa !16
  store i32 537138704, ptr %25, align 4, !tbaa !9
  store i32 537138704, ptr %26, align 4, !tbaa !9
  br label %247

236:                                              ; preds = %226
  %237 = load ptr, ptr %6, align 8, !tbaa !5
  %238 = getelementptr inbounds %struct.libxsmm_generated_code, ptr %237, i32 0, i32 6
  %239 = load i32, ptr %238, align 4, !tbaa !30
  %240 = icmp ult i32 %239, 1101
  br i1 %240, label %241, label %246

241:                                              ; preds = %236
  %242 = load ptr, ptr %9, align 8, !tbaa !5
  %243 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %242, i32 0, i32 2
  %244 = load i32, ptr %243, align 4, !tbaa !14
  %245 = udiv i32 32, %244
  store i32 %245, ptr %30, align 4, !tbaa !9
  store i8 121, ptr %32, align 1, !tbaa !16
  br label %246

246:                                              ; preds = %241, %236
  br label %247

247:                                              ; preds = %246, %231
  %248 = load ptr, ptr %10, align 8, !tbaa !5
  %249 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %248, i32 0, i32 0
  %250 = load i32, ptr %249, align 1, !tbaa !32
  store i32 %250, ptr %11, align 4, !tbaa !9
  %251 = load i32, ptr %11, align 4, !tbaa !9
  %252 = load i32, ptr %30, align 4, !tbaa !9
  %253 = urem i32 %251, %252
  %254 = icmp eq i32 %253, 0
  %255 = zext i1 %254 to i64
  %256 = select i1 %254, i32 0, i32 1
  store i32 %256, ptr %12, align 4, !tbaa !9
  %257 = load i32, ptr %11, align 4, !tbaa !9
  %258 = load i32, ptr %30, align 4, !tbaa !9
  %259 = add i32 %257, %258
  %260 = sub i32 %259, 1
  %261 = load i32, ptr %30, align 4, !tbaa !9
  %262 = udiv i32 %260, %261
  store i32 %262, ptr %13, align 4, !tbaa !9
  %263 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %263, ptr %15, align 4, !tbaa !9
  store i32 1, ptr %16, align 4, !tbaa !9
  store i32 0, ptr %17, align 4, !tbaa !9
  %264 = load i32, ptr %12, align 4, !tbaa !9
  %265 = icmp eq i32 %264, 1
  br i1 %265, label %266, label %363

266:                                              ; preds = %247
  %267 = load ptr, ptr %6, align 8, !tbaa !5
  %268 = getelementptr inbounds %struct.libxsmm_generated_code, ptr %267, i32 0, i32 6
  %269 = load i32, ptr %268, align 4, !tbaa !30
  %270 = icmp uge i32 %269, 1051
  br i1 %270, label %271, label %305

271:                                              ; preds = %266
  store i32 1, ptr %29, align 4, !tbaa !9
  %272 = load i32, ptr %30, align 4, !tbaa !9
  %273 = load i32, ptr %11, align 4, !tbaa !9
  %274 = load i32, ptr %30, align 4, !tbaa !9
  %275 = urem i32 %273, %274
  %276 = sub i32 %272, %275
  store i32 %276, ptr %18, align 4, !tbaa !9
  store i32 1, ptr %27, align 4, !tbaa !9
  %277 = load ptr, ptr %9, align 8, !tbaa !5
  %278 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %277, i32 0, i32 2
  %279 = load i32, ptr %278, align 4, !tbaa !14
  %280 = icmp eq i32 %279, 4
  br i1 %280, label %281, label %285

281:                                              ; preds = %271
  %282 = load ptr, ptr %6, align 8, !tbaa !5
  %283 = load i32, ptr %27, align 4, !tbaa !9
  %284 = load i32, ptr %18, align 4, !tbaa !9
  call void @libxsmm_generator_initialize_avx512_mask(ptr noundef %282, i32 noundef 0, i32 noundef %283, i32 noundef %284, i32 noundef 1)
  br label %304

285:                                              ; preds = %271
  %286 = load ptr, ptr %9, 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 = icmp eq i32 %288, 2
  br i1 %289, label %290, label %294

290:                                              ; preds = %285
  %291 = load ptr, ptr %6, align 8, !tbaa !5
  %292 = load i32, ptr %27, align 4, !tbaa !9
  %293 = load i32, ptr %18, align 4, !tbaa !9
  call void @libxsmm_generator_initialize_avx512_mask(ptr noundef %291, i32 noundef 0, i32 noundef %292, i32 noundef %293, i32 noundef 2)
  br label %303

294:                                              ; preds = %285
  %295 = load ptr, ptr %6, align 8, !tbaa !5
  %296 = load i32, ptr @libxsmm_ninit, align 4, !tbaa !9
  %297 = icmp ult i32 1, %296
  br i1 %297, label %298, label %300

298:                                              ; preds = %294
  %299 = load i32, ptr @libxsmm_verbosity, align 4, !tbaa !9
  br label %301

300:                                              ; preds = %294
  br label %301

301:                                              ; preds = %300, %298
  %302 = phi i32 [ %299, %298 ], [ 1, %300 ]
  call void @libxsmm_handle_error(ptr noundef %295, i32 noundef 90033, ptr noundef @__func__.libxsmm_generator_gather_scatter_cols_avx_avx512_microkernel, ptr noundef @.str, i32 noundef 875, i32 noundef %302)
  store i32 1, ptr %49, align 4
  br label %644

303:                                              ; preds = %290
  br label %304

304:                                              ; preds = %303, %281
  br label %362

305:                                              ; preds = %266
  store i32 15, ptr %27, align 4, !tbaa !9
  %306 = load i32, ptr %14, align 4, !tbaa !9
  %307 = icmp ugt i32 %306, 7
  br i1 %307, label %308, label %309

308:                                              ; preds = %305
  store i32 7, ptr %14, align 4, !tbaa !9
  br label %309

309:                                              ; preds = %308, %305
  %310 = load ptr, ptr %9, align 8, !tbaa !5
  %311 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %310, i32 0, i32 2
  %312 = load i32, ptr %311, align 4, !tbaa !14
  %313 = icmp eq i32 %312, 4
  br i1 %313, label %314, label %320

314:                                              ; preds = %309
  store i32 1, ptr %29, align 4, !tbaa !9
  %315 = load ptr, ptr %6, align 8, !tbaa !5
  %316 = load i32, ptr %27, align 4, !tbaa !9
  %317 = load i32, ptr %11, align 4, !tbaa !9
  %318 = load i32, ptr %30, align 4, !tbaa !9
  %319 = urem i32 %317, %318
  call void @libxsmm_generator_initialize_avx_mask(ptr noundef %315, i32 noundef %316, i32 noundef %319, i32 noundef 1)
  br label %361

320:                                              ; preds = %309
  %321 = load ptr, ptr %9, align 8, !tbaa !5
  %322 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %321, i32 0, i32 2
  %323 = load i32, ptr %322, align 4, !tbaa !14
  %324 = icmp eq i32 %323, 2
  br i1 %324, label %325, label %351

325:                                              ; preds = %320
  call void @llvm.lifetime.start.p0(i64 4, ptr %50) #5
  %326 = load i32, ptr %11, align 4, !tbaa !9
  %327 = udiv i32 %326, 2
  store i32 %327, ptr %50, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %51) #5
  %328 = load i32, ptr %30, align 4, !tbaa !9
  %329 = udiv i32 %328, 2
  store i32 %329, ptr %51, align 4, !tbaa !9
  %330 = load i32, ptr %50, align 4, !tbaa !9
  %331 = load i32, ptr %51, align 4, !tbaa !9
  %332 = urem i32 %330, %331
  %333 = icmp ugt i32 %332, 0
  br i1 %333, label %334, label %340

334:                                              ; preds = %325
  store i32 1, ptr %29, align 4, !tbaa !9
  %335 = load ptr, ptr %6, align 8, !tbaa !5
  %336 = load i32, ptr %27, align 4, !tbaa !9
  %337 = load i32, ptr %50, align 4, !tbaa !9
  %338 = load i32, ptr %51, align 4, !tbaa !9
  %339 = urem i32 %337, %338
  call void @libxsmm_generator_initialize_avx_mask(ptr noundef %335, i32 noundef %336, i32 noundef %339, i32 noundef 1)
  br label %340

340:                                              ; preds = %334, %325
  %341 = load i32, ptr %11, align 4, !tbaa !9
  %342 = load i32, ptr %30, align 4, !tbaa !9
  %343 = urem i32 %341, %342
  %344 = urem i32 %343, 2
  %345 = icmp eq i32 %344, 1
  br i1 %345, label %346, label %350

346:                                              ; preds = %340
  %347 = load i32, ptr %11, align 4, !tbaa !9
  %348 = load i32, ptr %30, align 4, !tbaa !9
  %349 = urem i32 %347, %348
  store i32 %349, ptr %28, align 4, !tbaa !9
  br label %350

350:                                              ; preds = %346, %340
  call void @llvm.lifetime.end.p0(i64 4, ptr %51) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %50) #5
  br label %360

351:                                              ; preds = %320
  %352 = load ptr, ptr %6, align 8, !tbaa !5
  %353 = load i32, ptr @libxsmm_ninit, align 4, !tbaa !9
  %354 = icmp ult i32 1, %353
  br i1 %354, label %355, label %357

355:                                              ; preds = %351
  %356 = load i32, ptr @libxsmm_verbosity, align 4, !tbaa !9
  br label %358

357:                                              ; preds = %351
  br label %358

358:                                              ; preds = %357, %355
  %359 = phi i32 [ %356, %355 ], [ 1, %357 ]
  call void @libxsmm_handle_error(ptr noundef %352, i32 noundef 90033, ptr noundef @__func__.libxsmm_generator_gather_scatter_cols_avx_avx512_microkernel, ptr noundef @.str, i32 noundef 897, i32 noundef %359)
  store i32 1, ptr %49, align 4
  br label %644

360:                                              ; preds = %350
  br label %361

361:                                              ; preds = %360, %314
  br label %362

362:                                              ; preds = %361, %304
  br label %363

363:                                              ; preds = %362, %247
  %364 = load i32, ptr %15, align 4, !tbaa !9
  %365 = load i32, ptr %14, align 4, !tbaa !9
  %366 = icmp ugt i32 %364, %365
  br i1 %366, label %367, label %391

367:                                              ; preds = %363
  %368 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %368, ptr %15, align 4, !tbaa !9
  %369 = load i32, ptr %13, align 4, !tbaa !9
  %370 = load i32, ptr %15, align 4, !tbaa !9
  %371 = udiv i32 %369, %370
  store i32 %371, ptr %16, align 4, !tbaa !9
  %372 = load i32, ptr %13, align 4, !tbaa !9
  %373 = load i32, ptr %15, align 4, !tbaa !9
  %374 = load i32, ptr %16, align 4, !tbaa !9
  %375 = mul i32 %373, %374
  %376 = sub i32 %372, %375
  store i32 %376, ptr %17, align 4, !tbaa !9
  %377 = load i32, ptr %12, align 4, !tbaa !9
  %378 = icmp ugt i32 %377, 0
  br i1 %378, label %379, label %390

379:                                              ; preds = %367
  %380 = load i32, ptr %17, align 4, !tbaa !9
  %381 = icmp eq i32 %380, 0
  br i1 %381, label %382, label %390

382:                                              ; preds = %379
  %383 = load i32, ptr %16, align 4, !tbaa !9
  %384 = add i32 %383, -1
  store i32 %384, ptr %16, align 4, !tbaa !9
  %385 = load i32, ptr %13, align 4, !tbaa !9
  %386 = load i32, ptr %15, align 4, !tbaa !9
  %387 = load i32, ptr %16, align 4, !tbaa !9
  %388 = mul i32 %386, %387
  %389 = sub i32 %385, %388
  store i32 %389, ptr %17, align 4, !tbaa !9
  br label %390

390:                                              ; preds = %382, %379, %367
  br label %406

391:                                              ; preds = %363
  %392 = load i32, ptr %12, align 4, !tbaa !9
  %393 = icmp ugt i32 %392, 0
  br i1 %393, label %394, label %405

394:                                              ; preds = %391
  %395 = load i32, ptr %17, align 4, !tbaa !9
  %396 = icmp eq i32 %395, 0
  br i1 %396, label %397, label %405

397:                                              ; preds = %394
  %398 = load i32, ptr %16, align 4, !tbaa !9
  %399 = add i32 %398, -1
  store i32 %399, ptr %16, align 4, !tbaa !9
  %400 = load i32, ptr %13, align 4, !tbaa !9
  %401 = load i32, ptr %15, align 4, !tbaa !9
  %402 = load i32, ptr %16, align 4, !tbaa !9
  %403 = mul i32 %401, %402
  %404 = sub i32 %400, %403
  store i32 %404, ptr %17, align 4, !tbaa !9
  br label %405

405:                                              ; preds = %397, %394, %391
  br label %406

406:                                              ; preds = %405, %390
  %407 = load ptr, ptr %10, align 8, !tbaa !5
  %408 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %407, i32 0, i32 1
  %409 = load i32, ptr %408, align 1, !tbaa !33
  %410 = load i32, ptr %21, align 4, !tbaa !9
  %411 = sub i32 %409, %410
  %412 = icmp ult i32 0, %411
  br i1 %412, label %413, label %419

413:                                              ; preds = %406
  %414 = load ptr, ptr %10, align 8, !tbaa !5
  %415 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %414, i32 0, i32 1
  %416 = load i32, ptr %415, align 1, !tbaa !33
  %417 = load i32, ptr %21, align 4, !tbaa !9
  %418 = sub i32 %416, %417
  br label %420

419:                                              ; preds = %406
  br label %420

420:                                              ; preds = %419, %413
  %421 = phi i32 [ %418, %413 ], [ 0, %419 ]
  store i32 %421, ptr %31, align 4, !tbaa !9
  %422 = load i32, ptr %21, align 4, !tbaa !9
  %423 = icmp sle i32 %422, 0
  br i1 %423, label %424, label %425

424:                                              ; preds = %420
  store i32 0, ptr %31, align 4, !tbaa !9
  br label %425

425:                                              ; preds = %424, %420
  %426 = load i32, ptr %31, align 4, !tbaa !9
  %427 = icmp sgt i32 %426, 0
  br i1 %427, label %428, label %554

428:                                              ; preds = %425
  %429 = load i32, ptr %21, align 4, !tbaa !9
  %430 = icmp sgt i32 %429, 0
  br i1 %430, label %431, label %554

431:                                              ; preds = %428
  %432 = load ptr, ptr %6, align 8, !tbaa !5
  %433 = load ptr, ptr %9, align 8, !tbaa !5
  %434 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %433, i32 0, i32 14
  %435 = load i32, ptr %434, align 4, !tbaa !25
  %436 = load ptr, ptr %8, align 8, !tbaa !5
  %437 = getelementptr inbounds %struct.libxsmm_mateltwise_gp_reg_mapping_struct, ptr %436, i32 0, i32 25
  %438 = load i32, ptr %437, align 4, !tbaa !24
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %432, i32 noundef %435, i32 noundef %438, i64 noundef 0)
  %439 = load ptr, ptr %6, align 8, !tbaa !5
  %440 = load ptr, ptr %9, align 8, !tbaa !5
  %441 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %440, i32 0, i32 14
  %442 = load i32, ptr %441, align 4, !tbaa !25
  %443 = load ptr, ptr %8, align 8, !tbaa !5
  %444 = getelementptr inbounds %struct.libxsmm_mateltwise_gp_reg_mapping_struct, ptr %443, i32 0, i32 26
  %445 = load i32, ptr %444, align 4, !tbaa !20
  %446 = load i32, ptr %31, align 4, !tbaa !9
  %447 = sext i32 %446 to i64
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %439, i32 noundef %442, i32 noundef %445, i64 noundef %447)
  %448 = load ptr, ptr %6, align 8, !tbaa !5
  %449 = load ptr, ptr %7, align 8, !tbaa !5
  %450 = load ptr, ptr %9, align 8, !tbaa !5
  %451 = load ptr, ptr %8, align 8, !tbaa !5
  %452 = getelementptr inbounds %struct.libxsmm_mateltwise_gp_reg_mapping_struct, ptr %451, i32 0, i32 25
  %453 = load i32, ptr %452, align 4, !tbaa !24
  call void @libxsmm_generator_mateltwise_header_n_dyn_loop(ptr noundef %448, ptr noundef %449, ptr noundef %450, i32 noundef %453, i32 noundef 1)
  %454 = load ptr, ptr %6, align 8, !tbaa !5
  %455 = load i32, ptr %20, align 4, !tbaa !9
  %456 = load ptr, ptr %8, align 8, !tbaa !5
  %457 = getelementptr inbounds %struct.libxsmm_mateltwise_gp_reg_mapping_struct, ptr %456, i32 0, i32 27
  %458 = load i32, ptr %457, align 4, !tbaa !22
  %459 = load ptr, ptr %8, align 8, !tbaa !5
  %460 = getelementptr inbounds %struct.libxsmm_mateltwise_gp_reg_mapping_struct, ptr %459, i32 0, i32 25
  %461 = load i32, ptr %460, align 4, !tbaa !24
  %462 = load i32, ptr %19, align 4, !tbaa !9
  %463 = load i32, ptr %38, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_alu_mem(ptr noundef %454, i32 noundef %455, i32 noundef %458, i32 noundef %461, i32 noundef %462, i32 noundef 0, i32 noundef %463, i32 noundef 0)
  %464 = load ptr, ptr %6, align 8, !tbaa !5
  %465 = load i32, ptr %20, align 4, !tbaa !9
  %466 = load ptr, ptr %8, align 8, !tbaa !5
  %467 = getelementptr inbounds %struct.libxsmm_mateltwise_gp_reg_mapping_struct, ptr %466, i32 0, i32 27
  %468 = load i32, ptr %467, align 4, !tbaa !22
  %469 = load ptr, ptr %8, align 8, !tbaa !5
  %470 = getelementptr inbounds %struct.libxsmm_mateltwise_gp_reg_mapping_struct, ptr %469, i32 0, i32 25
  %471 = load i32, ptr %470, align 4, !tbaa !24
  %472 = load i32, ptr %19, align 4, !tbaa !9
  %473 = load i32, ptr %21, align 4, !tbaa !9
  %474 = load i32, ptr %19, align 4, !tbaa !9
  %475 = mul i32 %473, %474
  %476 = load i32, ptr %39, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_alu_mem(ptr noundef %464, i32 noundef %465, i32 noundef %468, i32 noundef %471, i32 noundef %472, i32 noundef %475, i32 noundef %476, i32 noundef 0)
  %477 = load ptr, ptr %6, align 8, !tbaa !5
  %478 = load i32, ptr %38, align 4, !tbaa !9
  %479 = load i32, ptr %34, align 4, !tbaa !9
  %480 = zext i32 %479 to i64
  %481 = load i32, ptr %36, align 4, !tbaa !9
  %482 = zext i32 %481 to i64
  %483 = mul nsw i64 %480, %482
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %477, i32 noundef 30003, i32 noundef %478, i64 noundef %483)
  %484 = load ptr, ptr %6, align 8, !tbaa !5
  %485 = load i32, ptr %39, align 4, !tbaa !9
  %486 = load i32, ptr %34, align 4, !tbaa !9
  %487 = zext i32 %486 to i64
  %488 = load i32, ptr %36, align 4, !tbaa !9
  %489 = zext i32 %488 to i64
  %490 = mul nsw i64 %487, %489
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %484, i32 noundef 30003, i32 noundef %485, i64 noundef %490)
  %491 = load ptr, ptr %6, align 8, !tbaa !5
  %492 = load ptr, ptr %9, align 8, !tbaa !5
  %493 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %492, i32 0, i32 10
  %494 = load i32, ptr %493, align 4, !tbaa !34
  %495 = load i32, ptr %41, align 4, !tbaa !9
  %496 = load i32, ptr %38, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_alu_reg(ptr noundef %491, i32 noundef %494, i32 noundef %495, i32 noundef %496)
  %497 = load ptr, ptr %6, align 8, !tbaa !5
  %498 = load ptr, ptr %9, align 8, !tbaa !5
  %499 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %498, i32 0, i32 10
  %500 = load i32, ptr %499, align 4, !tbaa !34
  %501 = load i32, ptr %41, align 4, !tbaa !9
  %502 = load i32, ptr %39, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_alu_reg(ptr noundef %497, i32 noundef %500, i32 noundef %501, i32 noundef %502)
  %503 = load ptr, ptr %6, align 8, !tbaa !5
  %504 = load ptr, ptr %7, align 8, !tbaa !5
  %505 = load ptr, ptr %8, align 8, !tbaa !5
  %506 = load ptr, ptr %9, align 8, !tbaa !5
  %507 = load i32, ptr %16, align 4, !tbaa !9
  %508 = load i32, ptr %15, align 4, !tbaa !9
  %509 = load i32, ptr %17, align 4, !tbaa !9
  %510 = load i32, ptr %26, align 4, !tbaa !9
  %511 = load i32, ptr %25, align 4, !tbaa !9
  %512 = load i32, ptr %23, align 4, !tbaa !9
  %513 = load i32, ptr %30, align 4, !tbaa !9
  %514 = load i8, ptr %32, align 1, !tbaa !16
  %515 = load i32, ptr %12, align 4, !tbaa !9
  %516 = load i32, ptr %29, align 4, !tbaa !9
  %517 = load i32, ptr %28, align 4, !tbaa !9
  %518 = load i32, ptr %27, align 4, !tbaa !9
  %519 = load i32, ptr %21, align 4, !tbaa !9
  %520 = load i32, ptr %33, align 4, !tbaa !9
  %521 = load i32, ptr %38, align 4, !tbaa !9
  %522 = load i32, ptr %39, align 4, !tbaa !9
  %523 = load i32, ptr %40, align 4, !tbaa !9
  %524 = load i32, ptr %36, align 4, !tbaa !9
  %525 = load i32, ptr %37, align 4, !tbaa !9
  call void @libxsmm_generator_gather_scatter_cols_avx_avx512_m_loop(ptr noundef %503, ptr noundef %504, ptr noundef %505, ptr noundef %506, i32 noundef %507, i32 noundef %508, i32 noundef %509, i32 noundef %510, i32 noundef %511, i32 noundef %512, i32 noundef %513, i8 noundef signext %514, i32 noundef %515, i32 noundef %516, i32 noundef %517, i32 noundef %518, i32 noundef %519, i32 noundef %520, i32 noundef %521, i32 noundef %522, i32 noundef %523, i32 noundef %524, i32 noundef %525)
  %526 = load ptr, ptr %6, align 8, !tbaa !5
  %527 = load ptr, ptr %9, align 8, !tbaa !5
  %528 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %527, i32 0, i32 10
  %529 = load i32, ptr %528, align 4, !tbaa !34
  %530 = load i32, ptr %40, align 4, !tbaa !9
  %531 = load i32, ptr %35, align 4, !tbaa !9
  %532 = zext i32 %531 to i64
  %533 = load i32, ptr %37, align 4, !tbaa !9
  %534 = zext i32 %533 to i64
  %535 = mul nsw i64 %532, %534
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %526, i32 noundef %529, i32 noundef %530, i64 noundef %535)
  %536 = load ptr, ptr %6, align 8, !tbaa !5
  %537 = load ptr, ptr %7, align 8, !tbaa !5
  %538 = load ptr, ptr %9, align 8, !tbaa !5
  %539 = load ptr, ptr %8, align 8, !tbaa !5
  %540 = getelementptr inbounds %struct.libxsmm_mateltwise_gp_reg_mapping_struct, ptr %539, i32 0, i32 25
  %541 = load i32, ptr %540, align 4, !tbaa !24
  %542 = load ptr, ptr %8, align 8, !tbaa !5
  %543 = getelementptr inbounds %struct.libxsmm_mateltwise_gp_reg_mapping_struct, ptr %542, i32 0, i32 26
  %544 = load i32, ptr %543, align 4, !tbaa !20
  call void @libxsmm_generator_mateltwise_footer_n_dyn_loop(ptr noundef %536, ptr noundef %537, ptr noundef %538, i32 noundef %541, i32 noundef %544)
  %545 = load ptr, ptr %6, align 8, !tbaa !5
  %546 = load ptr, ptr %9, align 8, !tbaa !5
  %547 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %546, i32 0, i32 10
  %548 = load i32, ptr %547, align 4, !tbaa !34
  %549 = load ptr, ptr %8, align 8, !tbaa !5
  %550 = getelementptr inbounds %struct.libxsmm_mateltwise_gp_reg_mapping_struct, ptr %549, i32 0, i32 26
  %551 = load i32, ptr %550, align 4, !tbaa !20
  %552 = load i32, ptr %21, align 4, !tbaa !9
  %553 = sext i32 %552 to i64
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %545, i32 noundef %548, i32 noundef %551, i64 noundef %553)
  br label %573

554:                                              ; preds = %428, %425
  %555 = load ptr, ptr %6, align 8, !tbaa !5
  %556 = load ptr, ptr %9, align 8, !tbaa !5
  %557 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %556, i32 0, i32 14
  %558 = load i32, ptr %557, align 4, !tbaa !25
  %559 = load ptr, ptr %8, align 8, !tbaa !5
  %560 = getelementptr inbounds %struct.libxsmm_mateltwise_gp_reg_mapping_struct, ptr %559, i32 0, i32 25
  %561 = load i32, ptr %560, align 4, !tbaa !24
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %555, i32 noundef %558, i32 noundef %561, i64 noundef 0)
  %562 = load ptr, ptr %6, align 8, !tbaa !5
  %563 = load ptr, ptr %9, align 8, !tbaa !5
  %564 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %563, i32 0, i32 14
  %565 = load i32, ptr %564, align 4, !tbaa !25
  %566 = load ptr, ptr %8, align 8, !tbaa !5
  %567 = getelementptr inbounds %struct.libxsmm_mateltwise_gp_reg_mapping_struct, ptr %566, i32 0, i32 26
  %568 = load i32, ptr %567, align 4, !tbaa !20
  %569 = load ptr, ptr %10, align 8, !tbaa !5
  %570 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %569, i32 0, i32 1
  %571 = load i32, ptr %570, align 1, !tbaa !33
  %572 = zext i32 %571 to i64
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %562, i32 noundef %565, i32 noundef %568, i64 noundef %572)
  br label %573

573:                                              ; preds = %554, %431
  %574 = load ptr, ptr %6, align 8, !tbaa !5
  %575 = load ptr, ptr %7, align 8, !tbaa !5
  %576 = load ptr, ptr %9, align 8, !tbaa !5
  %577 = load ptr, ptr %8, align 8, !tbaa !5
  %578 = getelementptr inbounds %struct.libxsmm_mateltwise_gp_reg_mapping_struct, ptr %577, i32 0, i32 25
  %579 = load i32, ptr %578, align 4, !tbaa !24
  call void @libxsmm_generator_mateltwise_header_n_dyn_loop(ptr noundef %574, ptr noundef %575, ptr noundef %576, i32 noundef %579, i32 noundef 1)
  %580 = load ptr, ptr %6, align 8, !tbaa !5
  %581 = load i32, ptr %20, align 4, !tbaa !9
  %582 = load ptr, ptr %8, align 8, !tbaa !5
  %583 = getelementptr inbounds %struct.libxsmm_mateltwise_gp_reg_mapping_struct, ptr %582, i32 0, i32 27
  %584 = load i32, ptr %583, align 4, !tbaa !22
  %585 = load ptr, ptr %8, align 8, !tbaa !5
  %586 = getelementptr inbounds %struct.libxsmm_mateltwise_gp_reg_mapping_struct, ptr %585, i32 0, i32 25
  %587 = load i32, ptr %586, align 4, !tbaa !24
  %588 = load i32, ptr %19, align 4, !tbaa !9
  %589 = load i32, ptr %38, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_alu_mem(ptr noundef %580, i32 noundef %581, i32 noundef %584, i32 noundef %587, i32 noundef %588, i32 noundef 0, i32 noundef %589, i32 noundef 0)
  %590 = load ptr, ptr %6, align 8, !tbaa !5
  %591 = load i32, ptr %38, align 4, !tbaa !9
  %592 = load i32, ptr %34, align 4, !tbaa !9
  %593 = zext i32 %592 to i64
  %594 = load i32, ptr %36, align 4, !tbaa !9
  %595 = zext i32 %594 to i64
  %596 = mul nsw i64 %593, %595
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %590, i32 noundef 30003, i32 noundef %591, i64 noundef %596)
  %597 = load ptr, ptr %6, align 8, !tbaa !5
  %598 = load ptr, ptr %9, align 8, !tbaa !5
  %599 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %598, i32 0, i32 10
  %600 = load i32, ptr %599, align 4, !tbaa !34
  %601 = load i32, ptr %41, align 4, !tbaa !9
  %602 = load i32, ptr %38, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_alu_reg(ptr noundef %597, i32 noundef %600, i32 noundef %601, i32 noundef %602)
  %603 = load ptr, ptr %6, align 8, !tbaa !5
  %604 = load ptr, ptr %7, align 8, !tbaa !5
  %605 = load ptr, ptr %8, align 8, !tbaa !5
  %606 = load ptr, ptr %9, align 8, !tbaa !5
  %607 = load i32, ptr %16, align 4, !tbaa !9
  %608 = load i32, ptr %15, align 4, !tbaa !9
  %609 = load i32, ptr %17, align 4, !tbaa !9
  %610 = load i32, ptr %26, align 4, !tbaa !9
  %611 = load i32, ptr %25, align 4, !tbaa !9
  %612 = load i32, ptr %23, align 4, !tbaa !9
  %613 = load i32, ptr %30, align 4, !tbaa !9
  %614 = load i8, ptr %32, align 1, !tbaa !16
  %615 = load i32, ptr %12, align 4, !tbaa !9
  %616 = load i32, ptr %29, align 4, !tbaa !9
  %617 = load i32, ptr %28, align 4, !tbaa !9
  %618 = load i32, ptr %27, align 4, !tbaa !9
  %619 = load i32, ptr %33, align 4, !tbaa !9
  %620 = load i32, ptr %38, align 4, !tbaa !9
  %621 = load i32, ptr %39, align 4, !tbaa !9
  %622 = load i32, ptr %40, align 4, !tbaa !9
  %623 = load i32, ptr %36, align 4, !tbaa !9
  %624 = load i32, ptr %37, align 4, !tbaa !9
  call void @libxsmm_generator_gather_scatter_cols_avx_avx512_m_loop(ptr noundef %603, ptr noundef %604, ptr noundef %605, ptr noundef %606, i32 noundef %607, i32 noundef %608, i32 noundef %609, i32 noundef %610, i32 noundef %611, i32 noundef %612, i32 noundef %613, i8 noundef signext %614, i32 noundef %615, i32 noundef %616, i32 noundef %617, i32 noundef %618, i32 noundef 0, i32 noundef %619, i32 noundef %620, i32 noundef %621, i32 noundef %622, i32 noundef %623, i32 noundef %624)
  %625 = load ptr, ptr %6, align 8, !tbaa !5
  %626 = load ptr, ptr %9, align 8, !tbaa !5
  %627 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %626, i32 0, i32 10
  %628 = load i32, ptr %627, align 4, !tbaa !34
  %629 = load i32, ptr %40, align 4, !tbaa !9
  %630 = load i32, ptr %35, align 4, !tbaa !9
  %631 = zext i32 %630 to i64
  %632 = load i32, ptr %37, align 4, !tbaa !9
  %633 = zext i32 %632 to i64
  %634 = mul nsw i64 %631, %633
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %625, i32 noundef %628, i32 noundef %629, i64 noundef %634)
  %635 = load ptr, ptr %6, align 8, !tbaa !5
  %636 = load ptr, ptr %7, align 8, !tbaa !5
  %637 = load ptr, ptr %9, align 8, !tbaa !5
  %638 = load ptr, ptr %8, align 8, !tbaa !5
  %639 = getelementptr inbounds %struct.libxsmm_mateltwise_gp_reg_mapping_struct, ptr %638, i32 0, i32 25
  %640 = load i32, ptr %639, align 4, !tbaa !24
  %641 = load ptr, ptr %8, align 8, !tbaa !5
  %642 = getelementptr inbounds %struct.libxsmm_mateltwise_gp_reg_mapping_struct, ptr %641, i32 0, i32 26
  %643 = load i32, ptr %642, align 4, !tbaa !20
  call void @libxsmm_generator_mateltwise_footer_n_dyn_loop(ptr noundef %635, ptr noundef %636, ptr noundef %637, i32 noundef %640, i32 noundef %643)
  store i32 0, ptr %49, align 4
  br label %644

644:                                              ; preds = %573, %358, %301
  call void @llvm.lifetime.end.p0(i64 2101248, ptr %48) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %47) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %46) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %45) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %44) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %43) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %42) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %41) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %40) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %39) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %38) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %37) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %36) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %35) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %33) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %32) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #5
  %645 = load i32, ptr %49, align 4
  switch i32 %645, label %647 [
    i32 0, label %646
    i32 1, label %646
  ]

646:                                              ; preds = %644, %644
  ret void

647:                                              ; preds = %644
  unreachable
}

; Function Attrs: nounwind
declare ptr @getenv(ptr noundef) #3

; Function Attrs: inlinehint nounwind willreturn memory(read) uwtable
declare i32 @atoi(ptr noundef nonnull) #4

declare void @libxsmm_generator_mateltwise_header_n_dyn_loop(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) #0

declare void @libxsmm_x86_instruction_alu_reg(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #0

declare void @libxsmm_generator_mateltwise_footer_n_dyn_loop(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) #0

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

!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, !13, i64 27}
!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 = !{!7, !7, i64 0}
!17 = !{!15, !10, i64 36}
!18 = !{!15, !10, i64 24}
!19 = !{!12, !13, i64 29}
!20 = !{!21, !10, i64 104}
!21 = !{!"libxsmm_mateltwise_gp_reg_mapping_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}
!22 = !{!21, !10, i64 108}
!23 = !{!21, !10, i64 96}
!24 = !{!21, !10, i64 100}
!25 = !{!15, !10, i64 56}
!26 = !{!21, !10, i64 0}
!27 = !{!12, !10, i64 8}
!28 = !{!12, !10, i64 12}
!29 = !{!15, !10, i64 20}
!30 = !{!31, !10, i64 28}
!31 = !{!"libxsmm_generated_code", !6, i64 0, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !10, i64 24, !10, i64 28}
!32 = !{!12, !10, i64 0}
!33 = !{!12, !10, i64 4}
!34 = !{!15, !10, i64 40}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%struct.libxsmm_jump_label_tracker_struct = type { [512 x i32], [512 x %struct.libxsmm_jump_source_struct] }
%struct.libxsmm_jump_source_struct = type { [512 x i32], [512 x i32], i32 }

@.str = external hidden unnamed_addr constant [102 x i8], align 1
@libxsmm_ninit = external local_unnamed_addr global i32, align 4
@libxsmm_verbosity = external local_unnamed_addr global i32, align 4
@.str.1 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [19 x i8], align 1
@__func__.libxsmm_generator_gather_scatter_cols_avx_avx512_microkernel = external hidden unnamed_addr constant [61 x i8], align 1

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

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

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

declare void @libxsmm_reset_jump_label_tracker(ptr 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_generator_initialize_avx_mask(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #0

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

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

; Function Attrs: nounwind uwtable
declare dso_local void @libxsmm_generator_gather_scatter_cols_avx_avx512_m_loop(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i8 noundef signext, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2

; Function Attrs: nounwind uwtable
define dso_local void @libxsmm_generator_gather_scatter_cols_avx_avx512_microkernel(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr nocapture noundef readonly %4) local_unnamed_addr #2 {
  %6 = alloca %struct.libxsmm_jump_label_tracker_struct, align 4
  %7 = getelementptr inbounds i8, ptr %4, i64 27
  %8 = load i16, ptr %7, align 1, !tbaa !5
  %9 = and i16 %8, 256
  %.not = icmp eq i16 %9, 0
  %10 = select i1 %.not, i32 4, i32 8
  %11 = select i1 %.not, i32 -1610350453, i32 -1568407413
  %12 = getelementptr inbounds i8, ptr %3, i64 8
  %13 = load i32, ptr %12, align 4, !tbaa !11
  %14 = udiv i32 64, %13
  %15 = tail call ptr @getenv(ptr noundef nonnull @.str.1) #6
  %16 = tail call ptr @getenv(ptr noundef nonnull @.str.2) #6
  %17 = tail call ptr @getenv(ptr noundef nonnull @.str.3) #6
  %18 = tail call ptr @getenv(ptr noundef nonnull @.str.4) #6
  call void @llvm.lifetime.start.p0(i64 2101248, ptr nonnull %6) #6
  call void @libxsmm_reset_jump_label_tracker(ptr noundef nonnull %6) #6
  %19 = icmp eq ptr %15, null
  br i1 %19, label %22, label %20

20:                                               ; preds = %5
  %21 = call i32 @atoi(ptr nocapture noundef %15) #7
  %spec.select = call i32 @llvm.smax.i32(i32 %21, i32 1)
  br label %22

22:                                               ; preds = %5, %20
  %.0 = phi i32 [ 4, %5 ], [ %spec.select, %20 ]
  %23 = icmp eq ptr %16, null
  br i1 %23, label %26, label %24

24:                                               ; preds = %22
  %25 = call i32 @atoi(ptr nocapture noundef %16) #7
  br label %26

26:                                               ; preds = %22, %24
  %.0275 = phi i32 [ 4, %22 ], [ %25, %24 ]
  %27 = icmp eq ptr %17, null
  br i1 %27, label %32, label %28

28:                                               ; preds = %26
  %29 = call i32 @atoi(ptr nocapture noundef %17) #7
  %30 = icmp eq i32 %29, 2
  %31 = select i1 %30, i32 -1809575912, i32 -1810624488
  br label %32

32:                                               ; preds = %26, %28
  %.0291 = phi i32 [ -1810624488, %26 ], [ %31, %28 ]
  %33 = icmp eq ptr %18, null
  br i1 %33, label %.thread, label %34

34:                                               ; preds = %32
  %35 = call i32 @atoi(ptr nocapture noundef %18) #7
  %36 = icmp eq i32 %35, 0
  br i1 %36, label %.thread, label %39

.thread:                                          ; preds = %32, %34
  %37 = getelementptr inbounds i8, ptr %3, i64 36
  %38 = load i32, ptr %37, align 4, !tbaa !13
  br label %39

39:                                               ; preds = %34, %.thread
  %40 = phi i32 [ %38, %.thread ], [ 537138731, %34 ]
  %41 = getelementptr inbounds i8, ptr %3, i64 24
  %42 = load i32, ptr %41, align 4, !tbaa !14
  %43 = getelementptr inbounds i8, ptr %4, i64 29
  %44 = load i16, ptr %43, align 1, !tbaa !15
  %45 = icmp eq i16 %44, 51
  %46 = zext i1 %45 to i32
  %47 = getelementptr inbounds i8, ptr %2, i64 104
  %48 = getelementptr inbounds i8, ptr %2, i64 108
  %49 = getelementptr inbounds i8, ptr %2, i64 96
  %50 = getelementptr inbounds i8, ptr %2, i64 100
  store <4 x i32> <i32 0, i32 2, i32 8, i32 9>, ptr %49, align 4, !tbaa !16
  %51 = getelementptr inbounds i8, ptr %3, i64 56
  %52 = load i32, ptr %51, align 4, !tbaa !17
  %53 = load i32, ptr %2, align 4, !tbaa !18
  %54 = getelementptr inbounds i8, ptr %3, i64 20
  br i1 %45, label %55, label %61

55:                                               ; preds = %39
  call void @libxsmm_x86_instruction_alu_mem(ptr noundef %0, i32 noundef %52, i32 noundef %53, i32 noundef 127, i32 noundef 0, i32 noundef 32, i32 noundef 10, i32 noundef 0) #6
  %56 = load i32, ptr %51, align 4, !tbaa !17
  %57 = load i32, ptr %2, align 4, !tbaa !18
  %58 = load i32, ptr %48, align 4, !tbaa !20
  call void @libxsmm_x86_instruction_alu_mem(ptr noundef %0, i32 noundef %56, i32 noundef %57, i32 noundef 127, i32 noundef 0, i32 noundef 40, i32 noundef %58, i32 noundef 0) #6
  %59 = load i32, ptr %51, align 4, !tbaa !17
  %60 = load i32, ptr %2, align 4, !tbaa !18
  call void @libxsmm_x86_instruction_alu_mem(ptr noundef %0, i32 noundef %59, i32 noundef %60, i32 noundef 127, i32 noundef 0, i32 noundef 80, i32 noundef 11, i32 noundef 0) #6
  br label %67

61:                                               ; preds = %39
  call void @libxsmm_x86_instruction_alu_mem(ptr noundef %0, i32 noundef %52, i32 noundef %53, i32 noundef 127, i32 noundef 0, i32 noundef 32, i32 noundef 11, i32 noundef 0) #6
  %62 = load i32, ptr %51, align 4, !tbaa !17
  %63 = load i32, ptr %2, align 4, !tbaa !18
  call void @libxsmm_x86_instruction_alu_mem(ptr noundef %0, i32 noundef %62, i32 noundef %63, i32 noundef 127, i32 noundef 0, i32 noundef 80, i32 noundef 10, i32 noundef 0) #6
  %64 = load i32, ptr %51, align 4, !tbaa !17
  %65 = load i32, ptr %2, align 4, !tbaa !18
  %66 = load i32, ptr %48, align 4, !tbaa !20
  call void @libxsmm_x86_instruction_alu_mem(ptr noundef %0, i32 noundef %64, i32 noundef %65, i32 noundef 127, i32 noundef 0, i32 noundef 88, i32 noundef %66, i32 noundef 0) #6
  br label %67

67:                                               ; preds = %61, %55
  %.sink322 = phi i64 [ 12, %61 ], [ 8, %55 ]
  %.sink = phi i64 [ 8, %61 ], [ 12, %55 ]
  %.0279.in = phi ptr [ %54, %61 ], [ %12, %55 ]
  %.0278.in = phi ptr [ %12, %61 ], [ %54, %55 ]
  %.0277 = phi i32 [ -1810624499, %61 ], [ %.0291, %55 ]
  %68 = getelementptr inbounds i8, ptr %4, i64 %.sink322
  %69 = getelementptr inbounds i8, ptr %4, i64 %.sink
  %.0278 = load i32, ptr %.0278.in, align 4, !tbaa !16
  %.0279 = load i32, ptr %.0279.in, align 4, !tbaa !16
  %.0280 = load i32, ptr %69, align 1, !tbaa !16
  %.0281 = load i32, ptr %68, align 1, !tbaa !16
  %70 = getelementptr inbounds i8, ptr %0, i64 28
  %71 = load i32, ptr %70, align 4, !tbaa !21
  %72 = icmp ult i32 %71, 1051
  br i1 %72, label %.sink.split, label %73

73:                                               ; preds = %67
  %74 = icmp ult i32 %71, 1101
  br i1 %74, label %.sink.split, label %77

.sink.split:                                      ; preds = %73, %67
  %.0290.ph = phi i32 [ 537138704, %67 ], [ %40, %73 ]
  %.0289.ph = phi i32 [ 537138704, %67 ], [ %42, %73 ]
  %75 = load i32, ptr %12, align 4, !tbaa !11
  %76 = udiv i32 32, %75
  br label %77

77:                                               ; preds = %.sink.split, %73
  %.0290 = phi i32 [ %40, %73 ], [ %.0290.ph, %.sink.split ]
  %.0289 = phi i32 [ %42, %73 ], [ %.0289.ph, %.sink.split ]
  %.0283 = phi i32 [ %14, %73 ], [ %76, %.sink.split ]
  %.0282 = phi i8 [ 122, %73 ], [ 121, %.sink.split ]
  %78 = load i32, ptr %4, align 1, !tbaa !24
  %79 = urem i32 %78, %.0283
  %80 = icmp ne i32 %79, 0
  %81 = zext i1 %80 to i32
  %82 = add nsw i32 %.0283, -1
  %83 = add i32 %82, %78
  %84 = udiv i32 %83, %.0283
  br i1 %80, label %85, label %111

85:                                               ; preds = %77
  %86 = icmp ugt i32 %71, 1050
  %87 = load i32, ptr %12, align 4, !tbaa !11
  br i1 %86, label %88, label %97

88:                                               ; preds = %85
  %89 = sub nsw i32 %.0283, %79
  switch i32 %87, label %92 [
    i32 4, label %90
    i32 2, label %91
  ]

90:                                               ; preds = %88
  call void @libxsmm_generator_initialize_avx512_mask(ptr noundef nonnull %0, i32 noundef 0, i32 noundef 1, i32 noundef %89, i32 noundef 1) #6
  br label %111

91:                                               ; preds = %88
  call void @libxsmm_generator_initialize_avx512_mask(ptr noundef nonnull %0, i32 noundef 0, i32 noundef 1, i32 noundef %89, i32 noundef 2) #6
  br label %111

92:                                               ; preds = %88
  %93 = load i32, ptr @libxsmm_ninit, align 4, !tbaa !16
  %94 = icmp ugt i32 %93, 1
  %95 = load i32, ptr @libxsmm_verbosity, align 4
  %96 = select i1 %94, i32 %95, i32 1
  call void @libxsmm_handle_error(ptr noundef nonnull %0, i32 noundef 90033, ptr noundef nonnull @__func__.libxsmm_generator_gather_scatter_cols_avx_avx512_microkernel, ptr noundef nonnull @.str, i32 noundef 875, i32 noundef %96) #6
  br label %169

97:                                               ; preds = %85
  %spec.store.select = call i32 @llvm.umin.i32(i32 %.0, i32 7)
  switch i32 %87, label %106 [
    i32 4, label %98
    i32 2, label %99
  ]

98:                                               ; preds = %97
  call void @libxsmm_generator_initialize_avx_mask(ptr noundef nonnull %0, i32 noundef 15, i32 noundef %79, i32 noundef 1) #6
  br label %111

99:                                               ; preds = %97
  %100 = lshr i32 %78, 1
  %101 = lshr i32 %.0283, 1
  %102 = urem i32 %100, %101
  %.not304 = icmp eq i32 %102, 0
  br i1 %.not304, label %104, label %103

103:                                              ; preds = %99
  call void @libxsmm_generator_initialize_avx_mask(ptr noundef nonnull %0, i32 noundef 15, i32 noundef %102, i32 noundef 1) #6
  br label %104

104:                                              ; preds = %103, %99
  %.0284 = phi i32 [ 1, %103 ], [ 0, %99 ]
  %105 = and i32 %79, 1
  %.not305 = icmp eq i32 %105, 0
  %spec.select307 = select i1 %.not305, i32 0, i32 %79
  br label %111

106:                                              ; preds = %97
  %107 = load i32, ptr @libxsmm_ninit, align 4, !tbaa !16
  %108 = icmp ugt i32 %107, 1
  %109 = load i32, ptr @libxsmm_verbosity, align 4
  %110 = select i1 %108, i32 %109, i32 1
  call void @libxsmm_handle_error(ptr noundef nonnull %0, i32 noundef 90033, ptr noundef nonnull @__func__.libxsmm_generator_gather_scatter_cols_avx_avx512_microkernel, ptr noundef nonnull @.str, i32 noundef 897, i32 noundef %110) #6
  br label %169

111:                                              ; preds = %91, %90, %104, %98, %77
  %.0288 = phi i32 [ 1, %90 ], [ 1, %91 ], [ 15, %98 ], [ 15, %104 ], [ 0, %77 ]
  %.1287 = phi i32 [ 0, %90 ], [ 0, %91 ], [ 0, %98 ], [ %spec.select307, %104 ], [ 0, %77 ]
  %.1285 = phi i32 [ 1, %90 ], [ 1, %91 ], [ 1, %98 ], [ %.0284, %104 ], [ 0, %77 ]
  %.1 = phi i32 [ %.0, %90 ], [ %.0, %91 ], [ %spec.store.select, %98 ], [ %spec.store.select, %104 ], [ %.0, %77 ]
  %112 = icmp ugt i32 %84, %.1
  br i1 %112, label %113, label %121

113:                                              ; preds = %111
  %114 = udiv i32 %84, %.1
  %115 = mul i32 %114, %.1
  %.recomposed = urem i32 %84, %.1
  %116 = icmp eq i32 %.recomposed, 0
  %or.cond = and i1 %80, %116
  br i1 %or.cond, label %117, label %122

117:                                              ; preds = %113
  %118 = add i32 %114, -1
  %119 = mul i32 %118, %.1
  %120 = sub i32 %84, %119
  br label %122

121:                                              ; preds = %111
  %spec.select308 = select i1 %80, i32 %84, i32 0
  %not. = xor i1 %80, true
  %spec.select309 = zext i1 %not. to i32
  br label %122

122:                                              ; preds = %121, %113, %117
  %.0274 = phi i32 [ %120, %117 ], [ %.recomposed, %113 ], [ %spec.select308, %121 ]
  %.0273 = phi i32 [ %118, %117 ], [ %114, %113 ], [ %spec.select309, %121 ]
  %.0272 = phi i32 [ %.1, %117 ], [ %.1, %113 ], [ %84, %121 ]
  %123 = getelementptr inbounds i8, ptr %4, i64 4
  %124 = load i32, ptr %123, align 1, !tbaa !25
  %125 = sub i32 %124, %.0275
  %.inv = icmp sgt i32 %.0275, 0
  %126 = icmp sgt i32 %125, 0
  %127 = select i1 %.inv, i1 %126, i1 false
  %128 = getelementptr inbounds i8, ptr %3, i64 56
  %129 = load i32, ptr %128, align 4, !tbaa !17
  %130 = load i32, ptr %50, align 4, !tbaa !26
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef nonnull %0, i32 noundef %129, i32 noundef %130, i64 noundef 0) #6
  %131 = load i32, ptr %128, align 4, !tbaa !17
  %132 = load i32, ptr %47, align 4, !tbaa !27
  br i1 %127, label %133, label %157

133:                                              ; preds = %122
  %134 = zext nneg i32 %125 to i64
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef nonnull %0, i32 noundef %131, i32 noundef %132, i64 noundef %134) #6
  %135 = load i32, ptr %50, align 4, !tbaa !26
  call void @libxsmm_generator_mateltwise_header_n_dyn_loop(ptr noundef nonnull %0, ptr noundef %1, ptr noundef nonnull %3, i32 noundef %135, i32 noundef 1) #6
  %136 = load i32, ptr %48, align 4, !tbaa !20
  %137 = load i32, ptr %50, align 4, !tbaa !26
  call void @libxsmm_x86_instruction_alu_mem(ptr noundef nonnull %0, i32 noundef %11, i32 noundef %136, i32 noundef %137, i32 noundef %10, i32 noundef 0, i32 noundef 6, i32 noundef 0) #6
  %138 = load i32, ptr %48, align 4, !tbaa !20
  %139 = load i32, ptr %50, align 4, !tbaa !26
  %140 = select i1 %.not, i32 2, i32 3
  %141 = shl i32 %.0275, %140
  call void @libxsmm_x86_instruction_alu_mem(ptr noundef nonnull %0, i32 noundef %11, i32 noundef %138, i32 noundef %139, i32 noundef %10, i32 noundef %141, i32 noundef 1, i32 noundef 0) #6
  %142 = zext i32 %.0281 to i64
  %143 = zext i32 %.0279 to i64
  %144 = mul nuw nsw i64 %142, %143
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef nonnull %0, i32 noundef 30003, i32 noundef 6, i64 noundef %144) #6
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef nonnull %0, i32 noundef 30003, i32 noundef 1, i64 noundef %144) #6
  %145 = getelementptr inbounds i8, ptr %3, i64 40
  %146 = load i32, ptr %145, align 4, !tbaa !28
  call void @libxsmm_x86_instruction_alu_reg(ptr noundef nonnull %0, i32 noundef %146, i32 noundef 10, i32 noundef 6) #6
  %147 = load i32, ptr %145, align 4, !tbaa !28
  call void @libxsmm_x86_instruction_alu_reg(ptr noundef nonnull %0, i32 noundef %147, i32 noundef 10, i32 noundef 1) #6
  call void @libxsmm_generator_gather_scatter_cols_avx_avx512_m_loop(ptr noundef nonnull %0, ptr noundef %1, ptr noundef nonnull %2, ptr noundef nonnull %3, i32 noundef %.0273, i32 noundef %.0272, i32 noundef %.0274, i32 noundef %.0289, i32 noundef %.0290, i32 noundef %.0277, i32 noundef %.0283, i8 noundef signext %.0282, i32 noundef %81, i32 noundef %.1285, i32 noundef %.1287, i32 noundef %.0288, i32 noundef %.0275, i32 noundef %46, i32 noundef 6, i32 noundef 1, i32 noundef 11, i32 noundef %.0279, i32 noundef %.0278)
  %148 = load i32, ptr %145, align 4, !tbaa !28
  %149 = zext i32 %.0280 to i64
  %150 = zext i32 %.0278 to i64
  %151 = mul nuw nsw i64 %149, %150
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef nonnull %0, i32 noundef %148, i32 noundef 11, i64 noundef %151) #6
  %152 = load i32, ptr %50, align 4, !tbaa !26
  %153 = load i32, ptr %47, align 4, !tbaa !27
  call void @libxsmm_generator_mateltwise_footer_n_dyn_loop(ptr noundef nonnull %0, ptr noundef %1, ptr noundef nonnull %3, i32 noundef %152, i32 noundef %153) #6
  %154 = load i32, ptr %145, align 4, !tbaa !28
  %155 = load i32, ptr %47, align 4, !tbaa !27
  %156 = zext nneg i32 %.0275 to i64
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef nonnull %0, i32 noundef %154, i32 noundef %155, i64 noundef %156) #6
  br label %160

157:                                              ; preds = %122
  %158 = load i32, ptr %123, align 1, !tbaa !25
  %159 = zext i32 %158 to i64
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef nonnull %0, i32 noundef %131, i32 noundef %132, i64 noundef %159) #6
  %.pre = zext i32 %.0281 to i64
  %.pre312 = zext i32 %.0279 to i64
  %.pre314 = mul nuw nsw i64 %.pre, %.pre312
  %.pre316 = zext i32 %.0280 to i64
  %.pre318 = zext i32 %.0278 to i64
  %.pre320 = mul nuw nsw i64 %.pre316, %.pre318
  br label %160

160:                                              ; preds = %157, %133
  %.pre-phi321 = phi i64 [ %.pre320, %157 ], [ %151, %133 ]
  %.pre-phi315 = phi i64 [ %.pre314, %157 ], [ %144, %133 ]
  %161 = load i32, ptr %50, align 4, !tbaa !26
  call void @libxsmm_generator_mateltwise_header_n_dyn_loop(ptr noundef nonnull %0, ptr noundef %1, ptr noundef nonnull %3, i32 noundef %161, i32 noundef 1) #6
  %162 = load i32, ptr %48, align 4, !tbaa !20
  %163 = load i32, ptr %50, align 4, !tbaa !26
  call void @libxsmm_x86_instruction_alu_mem(ptr noundef nonnull %0, i32 noundef %11, i32 noundef %162, i32 noundef %163, i32 noundef %10, i32 noundef 0, i32 noundef 6, i32 noundef 0) #6
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef nonnull %0, i32 noundef 30003, i32 noundef 6, i64 noundef %.pre-phi315) #6
  %164 = getelementptr inbounds i8, ptr %3, i64 40
  %165 = load i32, ptr %164, align 4, !tbaa !28
  call void @libxsmm_x86_instruction_alu_reg(ptr noundef nonnull %0, i32 noundef %165, i32 noundef 10, i32 noundef 6) #6
  call void @libxsmm_generator_gather_scatter_cols_avx_avx512_m_loop(ptr noundef nonnull %0, ptr noundef %1, ptr noundef nonnull %2, ptr noundef nonnull %3, i32 noundef %.0273, i32 noundef %.0272, i32 noundef %.0274, i32 noundef %.0289, i32 noundef %.0290, i32 noundef %.0277, i32 noundef %.0283, i8 noundef signext %.0282, i32 noundef %81, i32 noundef %.1285, i32 noundef %.1287, i32 noundef %.0288, i32 noundef 0, i32 noundef %46, i32 noundef 6, i32 noundef 1, i32 noundef 11, i32 noundef %.0279, i32 noundef %.0278)
  %166 = load i32, ptr %164, align 4, !tbaa !28
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef nonnull %0, i32 noundef %166, i32 noundef 11, i64 noundef %.pre-phi321) #6
  %167 = load i32, ptr %50, align 4, !tbaa !26
  %168 = load i32, ptr %47, align 4, !tbaa !27
  call void @libxsmm_generator_mateltwise_footer_n_dyn_loop(ptr noundef nonnull %0, ptr noundef %1, ptr noundef nonnull %3, i32 noundef %167, i32 noundef %168) #6
  br label %169

169:                                              ; preds = %160, %106, %92
  call void @llvm.lifetime.end.p0(i64 2101248, ptr nonnull %6) #6
  ret void
}

; Function Attrs: nofree nounwind memory(read)
declare noundef ptr @getenv(ptr nocapture noundef) local_unnamed_addr #3

; Function Attrs: inlinehint mustprogress nofree nounwind willreturn memory(read) uwtable
declare i32 @atoi(ptr nocapture noundef nonnull) local_unnamed_addr #4

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

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

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

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.umin.i32(i32, i32) #5

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.smax.i32(i32, i32) #5

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

!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, !10, i64 27}
!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 = !{!12, !7, i64 8}
!12 = !{!"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}
!13 = !{!12, !7, i64 36}
!14 = !{!12, !7, i64 24}
!15 = !{!6, !10, i64 29}
!16 = !{!7, !7, i64 0}
!17 = !{!12, !7, i64 56}
!18 = !{!19, !7, i64 0}
!19 = !{!"libxsmm_mateltwise_gp_reg_mapping_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}
!20 = !{!19, !7, i64 108}
!21 = !{!22, !7, i64 28}
!22 = !{!"libxsmm_generated_code", !23, i64 0, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20, !7, i64 24, !7, i64 28}
!23 = !{!"any pointer", !8, i64 0}
!24 = !{!6, !7, i64 0}
!25 = !{!6, !7, i64 4}
!26 = !{!19, !7, i64 100}
!27 = !{!19, !7, i64 104}
!28 = !{!12, !7, i64 40}


; Effective O3 passes: BDCEPass,CorrelatedValuePropagationPass,DivRemPairsPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,PostOrderFunctionAttrsPass,ReassociatePass,SLPVectorizerPass,SROAPass,SimplifyCFGPass,TailCallElimPass