; 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_generated_code = type { ptr, i32, i32, i32, i32, i32, i32 }
%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 }

@.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
@__func__.libxsmm_generator_gather_scatter_rows_avx_avx512_microkernel = external hidden unnamed_addr constant [61 x i8], align 1

declare void @libxsmm_x86_instruction_unified_vec_move(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i8 noundef signext, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #0

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_x86_instruction_mask_move(ptr noundef, i32 noundef, i32 noundef, i32 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

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

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

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

69:                                               ; preds = %5
  %70 = load i32, ptr %22, align 4, !tbaa !9
  %71 = icmp eq i32 %70, 8
  %72 = zext i1 %71 to i64
  %73 = select i1 %71, i32 -502977901, i32 -502977902
  store i32 %73, ptr %23, align 4, !tbaa !9
  br label %79

74:                                               ; preds = %5
  %75 = load i32, ptr %22, align 4, !tbaa !9
  %76 = icmp eq i32 %75, 8
  %77 = zext i1 %76 to i64
  %78 = select i1 %76, i32 1912938643, i32 1912938642
  store i32 %78, ptr %23, align 4, !tbaa !9
  br label %79

79:                                               ; preds = %74, %69
  %80 = load i32, ptr %22, align 4, !tbaa !9
  %81 = icmp eq i32 %80, 8
  %82 = zext i1 %81 to i64
  %83 = select i1 %81, i32 -502977885, i32 -502977886
  store i32 %83, ptr %24, align 4, !tbaa !9
  %84 = load ptr, ptr %10, align 8, !tbaa !5
  %85 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %84, i32 0, i32 10
  %86 = load i16, ptr %85, align 1, !tbaa !19
  %87 = zext i16 %86 to i32
  %88 = icmp eq i32 %87, 51
  %89 = zext i1 %88 to i64
  %90 = select i1 %88, i32 1, i32 0
  store i32 %90, ptr %37, align 4, !tbaa !9
  %91 = load i32, ptr %37, align 4, !tbaa !9
  %92 = icmp ugt i32 %91, 0
  br i1 %92, label %93, label %97

93:                                               ; preds = %79
  %94 = load ptr, ptr %9, align 8, !tbaa !5
  %95 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %94, i32 0, i32 9
  %96 = load i32, ptr %95, align 4, !tbaa !20
  br label %99

97:                                               ; preds = %79
  %98 = load i32, ptr %24, align 4, !tbaa !9
  br label %99

99:                                               ; preds = %97, %93
  %100 = phi i32 [ %96, %93 ], [ %98, %97 ]
  store i32 %100, ptr %25, align 4, !tbaa !9
  %101 = load i32, ptr %37, align 4, !tbaa !9
  %102 = icmp ugt i32 %101, 0
  br i1 %102, label %103, label %105

103:                                              ; preds = %99
  %104 = load i32, ptr %23, align 4, !tbaa !9
  br label %109

105:                                              ; preds = %99
  %106 = load ptr, ptr %9, align 8, !tbaa !5
  %107 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %106, i32 0, i32 6
  %108 = load i32, ptr %107, align 4, !tbaa !21
  br label %109

109:                                              ; preds = %105, %103
  %110 = phi i32 [ %104, %103 ], [ %108, %105 ]
  store i32 %110, ptr %26, align 4, !tbaa !9
  %111 = load ptr, ptr %8, align 8, !tbaa !5
  %112 = getelementptr inbounds %struct.libxsmm_mateltwise_gp_reg_mapping_struct, ptr %111, i32 0, i32 26
  store i32 8, ptr %112, align 4, !tbaa !22
  %113 = load ptr, ptr %8, align 8, !tbaa !5
  %114 = getelementptr inbounds %struct.libxsmm_mateltwise_gp_reg_mapping_struct, ptr %113, i32 0, i32 27
  store i32 9, ptr %114, align 4, !tbaa !24
  %115 = load ptr, ptr %8, align 8, !tbaa !5
  %116 = getelementptr inbounds %struct.libxsmm_mateltwise_gp_reg_mapping_struct, ptr %115, i32 0, i32 24
  store i32 0, ptr %116, align 4, !tbaa !25
  %117 = load ptr, ptr %8, align 8, !tbaa !5
  %118 = getelementptr inbounds %struct.libxsmm_mateltwise_gp_reg_mapping_struct, ptr %117, i32 0, i32 25
  store i32 2, ptr %118, align 4, !tbaa !26
  store i32 10, ptr %44, align 4, !tbaa !9
  store i32 11, ptr %43, align 4, !tbaa !9
  store i32 10, ptr %42, align 4, !tbaa !9
  %119 = load i32, ptr %37, align 4, !tbaa !9
  %120 = icmp eq i32 %119, 1
  br i1 %120, label %121, label %164

121:                                              ; preds = %109
  %122 = load ptr, ptr %6, align 8, !tbaa !5
  %123 = load ptr, ptr %9, align 8, !tbaa !5
  %124 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %123, i32 0, i32 14
  %125 = load i32, ptr %124, align 4, !tbaa !27
  %126 = load ptr, ptr %8, align 8, !tbaa !5
  %127 = getelementptr inbounds %struct.libxsmm_mateltwise_gp_reg_mapping_struct, ptr %126, i32 0, i32 0
  %128 = load i32, ptr %127, align 4, !tbaa !28
  %129 = load i32, ptr %45, align 4, !tbaa !9
  %130 = load i32, ptr %44, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_alu_mem(ptr noundef %122, i32 noundef %125, i32 noundef %128, i32 noundef 127, i32 noundef 0, i32 noundef %129, i32 noundef %130, i32 noundef 0)
  %131 = load ptr, ptr %6, align 8, !tbaa !5
  %132 = load ptr, ptr %9, align 8, !tbaa !5
  %133 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %132, i32 0, i32 14
  %134 = load i32, ptr %133, align 4, !tbaa !27
  %135 = load ptr, ptr %8, align 8, !tbaa !5
  %136 = getelementptr inbounds %struct.libxsmm_mateltwise_gp_reg_mapping_struct, ptr %135, i32 0, i32 0
  %137 = load i32, ptr %136, align 4, !tbaa !28
  %138 = load i32, ptr %45, align 4, !tbaa !9
  %139 = add nsw i32 %138, 8
  %140 = load ptr, ptr %8, align 8, !tbaa !5
  %141 = getelementptr inbounds %struct.libxsmm_mateltwise_gp_reg_mapping_struct, ptr %140, i32 0, i32 27
  %142 = load i32, ptr %141, align 4, !tbaa !24
  call void @libxsmm_x86_instruction_alu_mem(ptr noundef %131, i32 noundef %134, i32 noundef %137, i32 noundef 127, i32 noundef 0, i32 noundef %139, i32 noundef %142, i32 noundef 0)
  %143 = load ptr, ptr %6, align 8, !tbaa !5
  %144 = load ptr, ptr %9, align 8, !tbaa !5
  %145 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %144, i32 0, i32 14
  %146 = load i32, ptr %145, align 4, !tbaa !27
  %147 = load ptr, ptr %8, align 8, !tbaa !5
  %148 = getelementptr inbounds %struct.libxsmm_mateltwise_gp_reg_mapping_struct, ptr %147, i32 0, i32 0
  %149 = load i32, ptr %148, align 4, !tbaa !28
  %150 = load i32, ptr %46, align 4, !tbaa !9
  %151 = load i32, ptr %43, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_alu_mem(ptr noundef %143, i32 noundef %146, i32 noundef %149, i32 noundef 127, i32 noundef 0, i32 noundef %150, i32 noundef %151, i32 noundef 0)
  %152 = load ptr, ptr %10, align 8, !tbaa !5
  %153 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %152, i32 0, i32 2
  %154 = load i32, ptr %153, align 1, !tbaa !29
  store i32 %154, ptr %38, align 4, !tbaa !9
  %155 = load ptr, ptr %10, align 8, !tbaa !5
  %156 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %155, i32 0, i32 3
  %157 = load i32, ptr %156, align 1, !tbaa !30
  store i32 %157, ptr %39, align 4, !tbaa !9
  %158 = load ptr, ptr %9, align 8, !tbaa !5
  %159 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %158, i32 0, i32 2
  %160 = load i32, ptr %159, align 4, !tbaa !14
  store i32 %160, ptr %40, align 4, !tbaa !9
  %161 = load ptr, ptr %9, align 8, !tbaa !5
  %162 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %161, i32 0, i32 5
  %163 = load i32, ptr %162, align 4, !tbaa !31
  store i32 %163, ptr %41, align 4, !tbaa !9
  br label %207

164:                                              ; preds = %109
  %165 = load ptr, ptr %6, align 8, !tbaa !5
  %166 = load ptr, ptr %9, align 8, !tbaa !5
  %167 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %166, i32 0, i32 14
  %168 = load i32, ptr %167, align 4, !tbaa !27
  %169 = load ptr, ptr %8, align 8, !tbaa !5
  %170 = getelementptr inbounds %struct.libxsmm_mateltwise_gp_reg_mapping_struct, ptr %169, i32 0, i32 0
  %171 = load i32, ptr %170, align 4, !tbaa !28
  %172 = load i32, ptr %45, align 4, !tbaa !9
  %173 = load i32, ptr %43, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_alu_mem(ptr noundef %165, i32 noundef %168, i32 noundef %171, i32 noundef 127, i32 noundef 0, i32 noundef %172, i32 noundef %173, i32 noundef 0)
  %174 = load ptr, ptr %6, align 8, !tbaa !5
  %175 = load ptr, ptr %9, align 8, !tbaa !5
  %176 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %175, i32 0, i32 14
  %177 = load i32, ptr %176, align 4, !tbaa !27
  %178 = load ptr, ptr %8, align 8, !tbaa !5
  %179 = getelementptr inbounds %struct.libxsmm_mateltwise_gp_reg_mapping_struct, ptr %178, i32 0, i32 0
  %180 = load i32, ptr %179, align 4, !tbaa !28
  %181 = load i32, ptr %46, align 4, !tbaa !9
  %182 = load i32, ptr %44, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_alu_mem(ptr noundef %174, i32 noundef %177, i32 noundef %180, i32 noundef 127, i32 noundef 0, i32 noundef %181, i32 noundef %182, i32 noundef 0)
  %183 = load ptr, ptr %6, align 8, !tbaa !5
  %184 = load ptr, ptr %9, align 8, !tbaa !5
  %185 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %184, i32 0, i32 14
  %186 = load i32, ptr %185, align 4, !tbaa !27
  %187 = load ptr, ptr %8, align 8, !tbaa !5
  %188 = getelementptr inbounds %struct.libxsmm_mateltwise_gp_reg_mapping_struct, ptr %187, i32 0, i32 0
  %189 = load i32, ptr %188, align 4, !tbaa !28
  %190 = load i32, ptr %46, align 4, !tbaa !9
  %191 = add nsw i32 %190, 8
  %192 = load ptr, ptr %8, align 8, !tbaa !5
  %193 = getelementptr inbounds %struct.libxsmm_mateltwise_gp_reg_mapping_struct, ptr %192, i32 0, i32 27
  %194 = load i32, ptr %193, align 4, !tbaa !24
  call void @libxsmm_x86_instruction_alu_mem(ptr noundef %183, i32 noundef %186, i32 noundef %189, i32 noundef 127, i32 noundef 0, i32 noundef %191, i32 noundef %194, i32 noundef 0)
  %195 = load ptr, ptr %10, align 8, !tbaa !5
  %196 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %195, i32 0, i32 3
  %197 = load i32, ptr %196, align 1, !tbaa !30
  store i32 %197, ptr %38, align 4, !tbaa !9
  %198 = load ptr, ptr %10, align 8, !tbaa !5
  %199 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %198, i32 0, i32 2
  %200 = load i32, ptr %199, align 1, !tbaa !29
  store i32 %200, ptr %39, align 4, !tbaa !9
  %201 = load ptr, ptr %9, align 8, !tbaa !5
  %202 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %201, i32 0, i32 5
  %203 = load i32, ptr %202, align 4, !tbaa !31
  store i32 %203, ptr %40, align 4, !tbaa !9
  %204 = load ptr, ptr %9, align 8, !tbaa !5
  %205 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %204, i32 0, i32 2
  %206 = load i32, ptr %205, align 4, !tbaa !14
  store i32 %206, ptr %41, align 4, !tbaa !9
  br label %207

207:                                              ; preds = %164, %121
  %208 = load ptr, ptr %6, align 8, !tbaa !5
  %209 = getelementptr inbounds %struct.libxsmm_generated_code, ptr %208, i32 0, i32 6
  %210 = load i32, ptr %209, align 4, !tbaa !17
  %211 = icmp ult i32 %210, 1101
  br i1 %211, label %212, label %219

212:                                              ; preds = %207
  %213 = load ptr, ptr %9, align 8, !tbaa !5
  %214 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %213, i32 0, i32 2
  %215 = load i32, ptr %214, align 4, !tbaa !14
  %216 = udiv i32 32, %215
  store i32 %216, ptr %32, align 4, !tbaa !9
  store i8 121, ptr %34, align 1, !tbaa !16
  store i8 121, ptr %35, align 1, !tbaa !16
  store i8 121, ptr %36, align 1, !tbaa !16
  %217 = load i32, ptr %33, align 4, !tbaa !9
  %218 = udiv i32 %217, 2
  store i32 %218, ptr %33, align 4, !tbaa !9
  br label %219

219:                                              ; preds = %212, %207
  %220 = load i32, ptr %22, align 4, !tbaa !9
  %221 = icmp eq i32 %220, 8
  br i1 %221, label %222, label %246

222:                                              ; preds = %219
  store i32 545592848, ptr %27, align 4, !tbaa !9
  %223 = load i32, ptr %32, align 4, !tbaa !9
  %224 = udiv i32 %223, 2
  store i32 %224, ptr %32, align 4, !tbaa !9
  %225 = load i8, ptr %34, align 1, !tbaa !16
  %226 = sext i8 %225 to i32
  %227 = icmp eq i32 %226, 122
  br i1 %227, label %228, label %234

228:                                              ; preds = %222
  %229 = load i32, ptr %37, align 4, !tbaa !9
  %230 = icmp ugt i32 %229, 0
  br i1 %230, label %231, label %232

231:                                              ; preds = %228
  store i8 121, ptr %35, align 1, !tbaa !16
  br label %233

232:                                              ; preds = %228
  store i8 121, ptr %34, align 1, !tbaa !16
  br label %233

233:                                              ; preds = %232, %231
  br label %245

234:                                              ; preds = %222
  %235 = load i8, ptr %34, align 1, !tbaa !16
  %236 = sext i8 %235 to i32
  %237 = icmp eq i32 %236, 121
  br i1 %237, label %238, label %244

238:                                              ; preds = %234
  %239 = load i32, ptr %37, align 4, !tbaa !9
  %240 = icmp ugt i32 %239, 0
  br i1 %240, label %241, label %242

241:                                              ; preds = %238
  store i8 120, ptr %35, align 1, !tbaa !16
  br label %243

242:                                              ; preds = %238
  store i8 120, ptr %34, align 1, !tbaa !16
  br label %243

243:                                              ; preds = %242, %241
  br label %244

244:                                              ; preds = %243, %234
  br label %245

245:                                              ; preds = %244, %233
  br label %247

246:                                              ; preds = %219
  store i32 537138704, ptr %27, align 4, !tbaa !9
  br label %247

247:                                              ; preds = %246, %245
  %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 ptr, ptr %10, align 8, !tbaa !5
  %252 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %251, i32 0, i32 1
  %253 = load i32, ptr %252, align 1, !tbaa !33
  store i32 %253, ptr %12, align 4, !tbaa !9
  %254 = load i32, ptr %11, align 4, !tbaa !9
  %255 = load i32, ptr %32, align 4, !tbaa !9
  %256 = urem i32 %254, %255
  %257 = icmp eq i32 %256, 0
  %258 = zext i1 %257 to i64
  %259 = select i1 %257, i32 0, i32 1
  store i32 %259, ptr %14, align 4, !tbaa !9
  %260 = load i32, ptr %11, align 4, !tbaa !9
  %261 = load i32, ptr %32, align 4, !tbaa !9
  %262 = add i32 %260, %261
  %263 = sub i32 %262, 1
  %264 = load i32, ptr %32, align 4, !tbaa !9
  %265 = udiv i32 %263, %264
  store i32 %265, ptr %15, align 4, !tbaa !9
  %266 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %266, ptr %17, align 4, !tbaa !9
  store i32 1, ptr %19, align 4, !tbaa !9
  store i32 0, ptr %20, align 4, !tbaa !9
  br label %267

267:                                              ; preds = %272, %247
  %268 = load i32, ptr %12, align 4, !tbaa !9
  %269 = load i32, ptr %18, align 4, !tbaa !9
  %270 = urem i32 %268, %269
  %271 = icmp ugt i32 %270, 0
  br i1 %271, label %272, label %275

272:                                              ; preds = %267
  %273 = load i32, ptr %18, align 4, !tbaa !9
  %274 = add i32 %273, -1
  store i32 %274, ptr %18, align 4, !tbaa !9
  br label %267, !llvm.loop !34

275:                                              ; preds = %267
  %276 = load ptr, ptr %6, align 8, !tbaa !5
  %277 = getelementptr inbounds %struct.libxsmm_generated_code, ptr %276, i32 0, i32 6
  %278 = load i32, ptr %277, align 4, !tbaa !17
  %279 = icmp uge i32 %278, 1051
  br i1 %279, label %280, label %284

280:                                              ; preds = %275
  %281 = load ptr, ptr %6, align 8, !tbaa !5
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %281, i32 noundef -1568407413, i32 noundef 0, i64 noundef 65535)
  %282 = load ptr, ptr %6, align 8, !tbaa !5
  %283 = load i32, ptr %30, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_mask_move(ptr noundef %282, i32 noundef -1610346094, i32 noundef 0, i32 noundef %283)
  br label %287

284:                                              ; preds = %275
  store i32 13, ptr %30, align 4, !tbaa !9
  store i32 12, ptr %31, align 4, !tbaa !9
  %285 = load ptr, ptr %6, align 8, !tbaa !5
  %286 = load i32, ptr %30, align 4, !tbaa !9
  call void @libxsmm_generator_initialize_avx_mask(ptr noundef %285, i32 noundef %286, i32 noundef 8, i32 noundef 1)
  br label %287

287:                                              ; preds = %284, %280
  %288 = load i32, ptr %14, align 4, !tbaa !9
  %289 = icmp eq i32 %288, 1
  br i1 %289, label %290, label %356

290:                                              ; preds = %287
  %291 = load ptr, ptr %6, align 8, !tbaa !5
  %292 = getelementptr inbounds %struct.libxsmm_generated_code, ptr %291, i32 0, i32 6
  %293 = load i32, ptr %292, align 4, !tbaa !17
  %294 = icmp uge i32 %293, 1051
  br i1 %294, label %295, label %338

295:                                              ; preds = %290
  %296 = load i32, ptr %32, align 4, !tbaa !9
  %297 = load i32, ptr %11, align 4, !tbaa !9
  %298 = load i32, ptr %32, align 4, !tbaa !9
  %299 = urem i32 %297, %298
  %300 = sub i32 %296, %299
  store i32 %300, ptr %21, align 4, !tbaa !9
  store i32 1, ptr %28, align 4, !tbaa !9
  %301 = load i32, ptr %28, align 4, !tbaa !9
  store i32 %301, ptr %29, align 4, !tbaa !9
  %302 = load ptr, ptr %9, align 8, !tbaa !5
  %303 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %302, i32 0, i32 2
  %304 = load i32, ptr %303, align 4, !tbaa !14
  %305 = icmp eq i32 %304, 4
  br i1 %305, label %306, label %318

306:                                              ; preds = %295
  %307 = load i32, ptr %22, align 4, !tbaa !9
  %308 = icmp eq i32 %307, 8
  br i1 %308, label %309, label %313

309:                                              ; preds = %306
  %310 = load ptr, ptr %6, align 8, !tbaa !5
  %311 = load i32, ptr %28, align 4, !tbaa !9
  %312 = load i32, ptr %21, align 4, !tbaa !9
  call void @libxsmm_generator_initialize_avx512_mask(ptr noundef %310, i32 noundef 0, i32 noundef %311, i32 noundef %312, i32 noundef 0)
  br label %317

313:                                              ; preds = %306
  %314 = load ptr, ptr %6, align 8, !tbaa !5
  %315 = load i32, ptr %28, align 4, !tbaa !9
  %316 = load i32, ptr %21, align 4, !tbaa !9
  call void @libxsmm_generator_initialize_avx512_mask(ptr noundef %314, i32 noundef 0, i32 noundef %315, i32 noundef %316, i32 noundef 1)
  br label %317

317:                                              ; preds = %313, %309
  br label %337

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

323:                                              ; preds = %318
  %324 = load ptr, ptr %6, align 8, !tbaa !5
  %325 = load i32, ptr %28, align 4, !tbaa !9
  %326 = load i32, ptr %21, align 4, !tbaa !9
  call void @libxsmm_generator_initialize_avx512_mask(ptr noundef %324, i32 noundef 0, i32 noundef %325, i32 noundef %326, i32 noundef 2)
  br label %336

327:                                              ; preds = %318
  %328 = load ptr, ptr %6, align 8, !tbaa !5
  %329 = load i32, ptr @libxsmm_ninit, align 4, !tbaa !9
  %330 = icmp ult i32 1, %329
  br i1 %330, label %331, label %333

331:                                              ; preds = %327
  %332 = load i32, ptr @libxsmm_verbosity, align 4, !tbaa !9
  br label %334

333:                                              ; preds = %327
  br label %334

334:                                              ; preds = %333, %331
  %335 = phi i32 [ %332, %331 ], [ 1, %333 ]
  call void @libxsmm_handle_error(ptr noundef %328, i32 noundef 90033, ptr noundef @__func__.libxsmm_generator_gather_scatter_rows_avx_avx512_microkernel, ptr noundef @.str, i32 noundef 1409, i32 noundef %335)
  store i32 1, ptr %48, align 4
  br label %640

336:                                              ; preds = %323
  br label %337

337:                                              ; preds = %336, %317
  br label %355

338:                                              ; preds = %290
  store i32 15, ptr %28, align 4, !tbaa !9
  store i32 14, ptr %29, align 4, !tbaa !9
  %339 = load ptr, ptr %6, align 8, !tbaa !5
  %340 = load i32, ptr %28, align 4, !tbaa !9
  %341 = load i32, ptr %11, align 4, !tbaa !9
  %342 = load i32, ptr %32, align 4, !tbaa !9
  %343 = urem i32 %341, %342
  call void @libxsmm_generator_initialize_avx_mask(ptr noundef %339, i32 noundef %340, i32 noundef %343, i32 noundef 1)
  %344 = load i32, ptr %22, align 4, !tbaa !9
  %345 = icmp eq i32 %344, 8
  br i1 %345, label %346, label %352

346:                                              ; preds = %338
  %347 = load ptr, ptr %6, align 8, !tbaa !5
  %348 = load i32, ptr %29, align 4, !tbaa !9
  %349 = load i32, ptr %11, align 4, !tbaa !9
  %350 = load i32, ptr %32, align 4, !tbaa !9
  %351 = urem i32 %349, %350
  call void @libxsmm_generator_initialize_avx_mask(ptr noundef %347, i32 noundef %348, i32 noundef %351, i32 noundef 6)
  br label %354

352:                                              ; preds = %338
  %353 = load i32, ptr %28, align 4, !tbaa !9
  store i32 %353, ptr %29, align 4, !tbaa !9
  br label %354

354:                                              ; preds = %352, %346
  br label %355

355:                                              ; preds = %354, %337
  br label %356

356:                                              ; preds = %355, %287
  %357 = load i32, ptr %17, align 4, !tbaa !9
  %358 = load i32, ptr %16, align 4, !tbaa !9
  %359 = icmp ugt i32 %357, %358
  br i1 %359, label %360, label %384

360:                                              ; preds = %356
  %361 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %361, ptr %17, align 4, !tbaa !9
  %362 = load i32, ptr %15, align 4, !tbaa !9
  %363 = load i32, ptr %17, align 4, !tbaa !9
  %364 = udiv i32 %362, %363
  store i32 %364, ptr %19, align 4, !tbaa !9
  %365 = load i32, ptr %15, align 4, !tbaa !9
  %366 = load i32, ptr %17, align 4, !tbaa !9
  %367 = load i32, ptr %19, align 4, !tbaa !9
  %368 = mul i32 %366, %367
  %369 = sub i32 %365, %368
  store i32 %369, ptr %20, align 4, !tbaa !9
  %370 = load i32, ptr %14, align 4, !tbaa !9
  %371 = icmp ugt i32 %370, 0
  br i1 %371, label %372, label %383

372:                                              ; preds = %360
  %373 = load i32, ptr %20, align 4, !tbaa !9
  %374 = icmp eq i32 %373, 0
  br i1 %374, label %375, label %383

375:                                              ; preds = %372
  %376 = load i32, ptr %19, align 4, !tbaa !9
  %377 = add i32 %376, -1
  store i32 %377, ptr %19, align 4, !tbaa !9
  %378 = load i32, ptr %15, align 4, !tbaa !9
  %379 = load i32, ptr %17, align 4, !tbaa !9
  %380 = load i32, ptr %19, align 4, !tbaa !9
  %381 = mul i32 %379, %380
  %382 = sub i32 %378, %381
  store i32 %382, ptr %20, align 4, !tbaa !9
  br label %383

383:                                              ; preds = %375, %372, %360
  br label %399

384:                                              ; preds = %356
  %385 = load i32, ptr %14, align 4, !tbaa !9
  %386 = icmp ugt i32 %385, 0
  br i1 %386, label %387, label %398

387:                                              ; preds = %384
  %388 = load i32, ptr %20, align 4, !tbaa !9
  %389 = icmp eq i32 %388, 0
  br i1 %389, label %390, label %398

390:                                              ; preds = %387
  %391 = load i32, ptr %19, align 4, !tbaa !9
  %392 = add i32 %391, -1
  store i32 %392, ptr %19, align 4, !tbaa !9
  %393 = load i32, ptr %15, align 4, !tbaa !9
  %394 = load i32, ptr %17, align 4, !tbaa !9
  %395 = load i32, ptr %19, align 4, !tbaa !9
  %396 = mul i32 %394, %395
  %397 = sub i32 %393, %396
  store i32 %397, ptr %20, align 4, !tbaa !9
  br label %398

398:                                              ; preds = %390, %387, %384
  br label %399

399:                                              ; preds = %398, %383
  %400 = load i32, ptr %19, align 4, !tbaa !9
  %401 = icmp uge i32 %400, 1
  br i1 %401, label %402, label %545

402:                                              ; preds = %399
  %403 = load ptr, ptr %6, align 8, !tbaa !5
  %404 = load ptr, ptr %7, align 8, !tbaa !5
  %405 = load ptr, ptr %8, align 8, !tbaa !5
  %406 = getelementptr inbounds %struct.libxsmm_mateltwise_gp_reg_mapping_struct, ptr %405, i32 0, i32 24
  %407 = load i32, ptr %406, align 4, !tbaa !25
  call void @libxsmm_generator_generic_loop_header(ptr noundef %403, ptr noundef %404, i32 noundef %407, i32 noundef 0, i32 noundef 1)
  store i32 0, ptr %13, align 4, !tbaa !9
  br label %408

408:                                              ; preds = %425, %402
  %409 = load i32, ptr %13, align 4, !tbaa !9
  %410 = load i32, ptr %17, align 4, !tbaa !9
  %411 = icmp ult i32 %409, %410
  br i1 %411, label %412, label %428

412:                                              ; preds = %408
  %413 = load ptr, ptr %6, align 8, !tbaa !5
  %414 = load i32, ptr %27, align 4, !tbaa !9
  %415 = load ptr, ptr %8, align 8, !tbaa !5
  %416 = getelementptr inbounds %struct.libxsmm_mateltwise_gp_reg_mapping_struct, ptr %415, i32 0, i32 27
  %417 = load i32, ptr %416, align 4, !tbaa !24
  %418 = load i32, ptr %13, align 4, !tbaa !9
  %419 = load i32, ptr %33, align 4, !tbaa !9
  %420 = mul i32 %418, %419
  %421 = load i32, ptr %22, align 4, !tbaa !9
  %422 = mul i32 %420, %421
  %423 = load i8, ptr %36, align 1, !tbaa !16
  %424 = load i32, ptr %13, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_unified_vec_move(ptr noundef %413, i32 noundef %414, i32 noundef %417, i32 noundef 127, i32 noundef 0, i32 noundef %422, i8 noundef signext %423, i32 noundef %424, i32 noundef 0, i32 noundef 0, i32 noundef 0)
  br label %425

425:                                              ; preds = %412
  %426 = load i32, ptr %13, align 4, !tbaa !9
  %427 = add i32 %426, 1
  store i32 %427, ptr %13, align 4, !tbaa !9
  br label %408, !llvm.loop !36

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

545:                                              ; preds = %428, %399
  %546 = load i32, ptr %20, align 4, !tbaa !9
  %547 = icmp ugt i32 %546, 0
  br i1 %547, label %548, label %639

548:                                              ; preds = %545
  store i32 0, ptr %13, align 4, !tbaa !9
  br label %549

549:                                              ; preds = %578, %548
  %550 = load i32, ptr %13, align 4, !tbaa !9
  %551 = load i32, ptr %20, align 4, !tbaa !9
  %552 = icmp ult i32 %550, %551
  br i1 %552, label %553, label %581

553:                                              ; preds = %549
  %554 = load ptr, ptr %6, align 8, !tbaa !5
  %555 = load i32, ptr %27, align 4, !tbaa !9
  %556 = load ptr, ptr %8, align 8, !tbaa !5
  %557 = getelementptr inbounds %struct.libxsmm_mateltwise_gp_reg_mapping_struct, ptr %556, i32 0, i32 27
  %558 = load i32, ptr %557, align 4, !tbaa !24
  %559 = load i32, ptr %13, align 4, !tbaa !9
  %560 = load i32, ptr %33, align 4, !tbaa !9
  %561 = mul i32 %559, %560
  %562 = load i32, ptr %22, align 4, !tbaa !9
  %563 = mul i32 %561, %562
  %564 = load i8, ptr %36, align 1, !tbaa !16
  %565 = load i32, ptr %13, align 4, !tbaa !9
  %566 = load i32, ptr %14, align 4, !tbaa !9
  %567 = icmp ugt i32 %566, 0
  br i1 %567, label %568, label %573

568:                                              ; preds = %553
  %569 = load i32, ptr %13, align 4, !tbaa !9
  %570 = load i32, ptr %20, align 4, !tbaa !9
  %571 = sub i32 %570, 1
  %572 = icmp eq i32 %569, %571
  br label %573

573:                                              ; preds = %568, %553
  %574 = phi i1 [ false, %553 ], [ %572, %568 ]
  %575 = zext i1 %574 to i64
  %576 = select i1 %574, i32 1, i32 0
  %577 = load i32, ptr %29, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_unified_vec_move(ptr noundef %554, i32 noundef %555, i32 noundef %558, i32 noundef 127, i32 noundef 0, i32 noundef %563, i8 noundef signext %564, i32 noundef %565, i32 noundef %576, i32 noundef %577, i32 noundef 0)
  br label %578

578:                                              ; preds = %573
  %579 = load i32, ptr %13, align 4, !tbaa !9
  %580 = add i32 %579, 1
  store i32 %580, ptr %13, align 4, !tbaa !9
  br label %549, !llvm.loop !39

581:                                              ; preds = %549
  %582 = load ptr, ptr %6, align 8, !tbaa !5
  %583 = load ptr, ptr %7, align 8, !tbaa !5
  %584 = load ptr, ptr %8, align 8, !tbaa !5
  %585 = getelementptr inbounds %struct.libxsmm_mateltwise_gp_reg_mapping_struct, ptr %584, i32 0, i32 25
  %586 = load i32, ptr %585, align 4, !tbaa !26
  %587 = load i32, ptr %18, align 4, !tbaa !9
  call void @libxsmm_generator_generic_loop_header(ptr noundef %582, ptr noundef %583, i32 noundef %586, i32 noundef 0, i32 noundef %587)
  %588 = load ptr, ptr %6, align 8, !tbaa !5
  %589 = load i32, ptr %20, align 4, !tbaa !9
  %590 = load i32, ptr %18, align 4, !tbaa !9
  %591 = load i32, ptr %26, align 4, !tbaa !9
  %592 = load i32, ptr %25, align 4, !tbaa !9
  %593 = load i32, ptr %32, align 4, !tbaa !9
  %594 = load i8, ptr %34, align 1, !tbaa !16
  %595 = load i8, ptr %35, align 1, !tbaa !16
  %596 = load i32, ptr %14, align 4, !tbaa !9
  %597 = load i32, ptr %30, align 4, !tbaa !9
  %598 = load i32, ptr %28, align 4, !tbaa !9
  %599 = load i32, ptr %31, align 4, !tbaa !9
  %600 = load i32, ptr %37, align 4, !tbaa !9
  %601 = load i32, ptr %42, align 4, !tbaa !9
  %602 = load i32, ptr %43, align 4, !tbaa !9
  %603 = load i32, ptr %40, align 4, !tbaa !9
  %604 = load i32, ptr %41, align 4, !tbaa !9
  %605 = load i32, ptr %38, align 4, !tbaa !9
  %606 = load i32, ptr %39, align 4, !tbaa !9
  call void @libxsmm_generator_gather_scatter_rows_avx_avx512_mn_loop_unrolled(ptr noundef %588, i32 noundef %589, i32 noundef %590, i32 noundef %591, i32 noundef %592, i32 noundef %593, i8 noundef signext %594, i8 noundef signext %595, i32 noundef %596, i32 noundef %597, i32 noundef %598, i32 noundef %599, i32 noundef %600, i32 noundef %601, i32 noundef %602, i32 noundef %603, i32 noundef %604, i32 noundef %605, i32 noundef %606)
  %607 = load ptr, ptr %6, align 8, !tbaa !5
  %608 = load ptr, ptr %9, align 8, !tbaa !5
  %609 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %608, i32 0, i32 10
  %610 = load i32, ptr %609, align 4, !tbaa !37
  %611 = load i32, ptr %43, align 4, !tbaa !9
  %612 = load i32, ptr %18, align 4, !tbaa !9
  %613 = zext i32 %612 to i64
  %614 = load i32, ptr %39, align 4, !tbaa !9
  %615 = zext i32 %614 to i64
  %616 = mul nsw i64 %613, %615
  %617 = load i32, ptr %41, align 4, !tbaa !9
  %618 = zext i32 %617 to i64
  %619 = mul nsw i64 %616, %618
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %607, i32 noundef %610, i32 noundef %611, i64 noundef %619)
  %620 = load ptr, ptr %6, align 8, !tbaa !5
  %621 = load ptr, ptr %9, align 8, !tbaa !5
  %622 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %621, i32 0, i32 10
  %623 = load i32, ptr %622, align 4, !tbaa !37
  %624 = load i32, ptr %42, align 4, !tbaa !9
  %625 = load i32, ptr %18, align 4, !tbaa !9
  %626 = zext i32 %625 to i64
  %627 = load i32, ptr %38, align 4, !tbaa !9
  %628 = zext i32 %627 to i64
  %629 = mul nsw i64 %626, %628
  %630 = load i32, ptr %40, align 4, !tbaa !9
  %631 = zext i32 %630 to i64
  %632 = mul nsw i64 %629, %631
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %620, i32 noundef %623, i32 noundef %624, i64 noundef %632)
  %633 = load ptr, ptr %6, align 8, !tbaa !5
  %634 = load ptr, ptr %7, align 8, !tbaa !5
  %635 = load ptr, ptr %8, align 8, !tbaa !5
  %636 = getelementptr inbounds %struct.libxsmm_mateltwise_gp_reg_mapping_struct, ptr %635, i32 0, i32 25
  %637 = load i32, ptr %636, align 4, !tbaa !26
  %638 = load i32, ptr %12, align 4, !tbaa !9
  call void @libxsmm_generator_generic_loop_footer(ptr noundef %633, ptr noundef %634, i32 noundef %637, i32 noundef %638)
  br label %639

639:                                              ; preds = %581, %545
  store i32 0, ptr %48, align 4
  br label %640

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

642:                                              ; preds = %640, %640
  ret void

643:                                              ; preds = %640
  unreachable
}

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 }

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


; 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
@__func__.libxsmm_generator_gather_scatter_rows_avx_avx512_microkernel = external hidden unnamed_addr constant [61 x i8], align 1

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

; 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_x86_instruction_mask_move(ptr noundef, i32 noundef, i32 noundef, i32 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

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

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

; Function Attrs: nounwind uwtable
declare dso_local void @libxsmm_generator_gather_scatter_rows_avx_avx512_mn_loop_unrolled(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i8 noundef signext, 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_rows_avx_avx512_microkernel(ptr noundef %0, ptr noundef %1, ptr nocapture noundef %2, ptr nocapture noundef readonly %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 = getelementptr inbounds i8, ptr %3, i64 8
  %11 = load i32, ptr %10, align 4, !tbaa !11
  %12 = udiv i32 64, %11
  call void @llvm.lifetime.start.p0(i64 2101248, ptr nonnull %6) #3
  call void @libxsmm_reset_jump_label_tracker(ptr noundef nonnull %6) #3
  %13 = getelementptr inbounds i8, ptr %0, i64 28
  %14 = getelementptr inbounds i8, ptr %4, i64 29
  %15 = load i16, ptr %14, align 1, !tbaa !13
  %16 = icmp eq i16 %15, 51
  %17 = zext i1 %16 to i32
  br i1 %16, label %18, label %38

18:                                               ; preds = %5
  %19 = load i32, ptr %13, align 4, !tbaa !14
  %20 = icmp ugt i32 %19, 1050
  %21 = select i1 %.not, i32 -502977902, i32 -502977901
  %22 = select i1 %.not, i32 1912938642, i32 1912938643
  %.0288 = select i1 %20, i32 %21, i32 %22
  %23 = getelementptr inbounds i8, ptr %3, i64 36
  %24 = load i32, ptr %23, align 4, !tbaa !17
  %25 = getelementptr inbounds i8, ptr %2, i64 108
  %26 = getelementptr inbounds i8, ptr %2, i64 96
  store <4 x i32> <i32 0, i32 2, i32 8, i32 9>, ptr %26, align 4, !tbaa !18
  %27 = getelementptr inbounds i8, ptr %3, i64 56
  %28 = load i32, ptr %27, align 4, !tbaa !19
  %29 = load i32, ptr %2, align 4, !tbaa !20
  call void @libxsmm_x86_instruction_alu_mem(ptr noundef nonnull %0, i32 noundef %28, i32 noundef %29, i32 noundef 127, i32 noundef 0, i32 noundef 32, i32 noundef 10, i32 noundef 0) #3
  %30 = load i32, ptr %27, align 4, !tbaa !19
  %31 = load i32, ptr %2, align 4, !tbaa !20
  %32 = load i32, ptr %25, align 4, !tbaa !22
  call void @libxsmm_x86_instruction_alu_mem(ptr noundef nonnull %0, i32 noundef %30, i32 noundef %31, i32 noundef 127, i32 noundef 0, i32 noundef 40, i32 noundef %32, i32 noundef 0) #3
  %33 = load i32, ptr %27, align 4, !tbaa !19
  %34 = load i32, ptr %2, align 4, !tbaa !20
  call void @libxsmm_x86_instruction_alu_mem(ptr noundef nonnull %0, i32 noundef %33, i32 noundef %34, i32 noundef 127, i32 noundef 0, i32 noundef 80, i32 noundef 11, i32 noundef 0) #3
  %35 = getelementptr inbounds i8, ptr %4, i64 8
  %36 = getelementptr inbounds i8, ptr %4, i64 12
  %37 = getelementptr inbounds i8, ptr %3, i64 20
  br label %55

38:                                               ; preds = %5
  %39 = select i1 %.not, i32 -502977886, i32 -502977885
  %40 = getelementptr inbounds i8, ptr %3, i64 24
  %41 = load i32, ptr %40, align 4, !tbaa !23
  %42 = getelementptr inbounds i8, ptr %2, i64 108
  %43 = getelementptr inbounds i8, ptr %2, i64 96
  store <4 x i32> <i32 0, i32 2, i32 8, i32 9>, ptr %43, align 4, !tbaa !18
  %44 = getelementptr inbounds i8, ptr %3, i64 56
  %45 = load i32, ptr %44, align 4, !tbaa !19
  %46 = load i32, ptr %2, align 4, !tbaa !20
  call void @libxsmm_x86_instruction_alu_mem(ptr noundef nonnull %0, i32 noundef %45, i32 noundef %46, i32 noundef 127, i32 noundef 0, i32 noundef 32, i32 noundef 11, i32 noundef 0) #3
  %47 = load i32, ptr %44, align 4, !tbaa !19
  %48 = load i32, ptr %2, align 4, !tbaa !20
  call void @libxsmm_x86_instruction_alu_mem(ptr noundef nonnull %0, i32 noundef %47, i32 noundef %48, i32 noundef 127, i32 noundef 0, i32 noundef 80, i32 noundef 10, i32 noundef 0) #3
  %49 = load i32, ptr %44, align 4, !tbaa !19
  %50 = load i32, ptr %2, align 4, !tbaa !20
  %51 = load i32, ptr %42, align 4, !tbaa !22
  call void @libxsmm_x86_instruction_alu_mem(ptr noundef nonnull %0, i32 noundef %49, i32 noundef %50, i32 noundef 127, i32 noundef 0, i32 noundef 88, i32 noundef %51, i32 noundef 0) #3
  %52 = getelementptr inbounds i8, ptr %4, i64 12
  %53 = getelementptr inbounds i8, ptr %4, i64 8
  %54 = getelementptr inbounds i8, ptr %3, i64 20
  br label %55

55:                                               ; preds = %38, %18
  %56 = phi ptr [ %26, %18 ], [ %43, %38 ]
  %57 = phi ptr [ %25, %18 ], [ %42, %38 ]
  %58 = phi i32 [ %.0288, %18 ], [ %41, %38 ]
  %59 = phi i32 [ %24, %18 ], [ %39, %38 ]
  %.0274.in = phi ptr [ %35, %18 ], [ %52, %38 ]
  %.0273.in = phi ptr [ %36, %18 ], [ %53, %38 ]
  %.0272.in = phi ptr [ %10, %18 ], [ %54, %38 ]
  %.0271.in = phi ptr [ %37, %18 ], [ %10, %38 ]
  %60 = getelementptr inbounds i8, ptr %2, i64 100
  %.0271 = load i32, ptr %.0271.in, align 4, !tbaa !18
  %.0272 = load i32, ptr %.0272.in, align 4, !tbaa !18
  %.0273 = load i32, ptr %.0273.in, align 1, !tbaa !18
  %.0274 = load i32, ptr %.0274.in, align 1, !tbaa !18
  %61 = load i32, ptr %13, align 4, !tbaa !14
  %62 = icmp ugt i32 %61, 1100
  br i1 %62, label %63, label %.thread303

63:                                               ; preds = %55
  br i1 %.not, label %70, label %66

.thread303:                                       ; preds = %55
  %64 = load i32, ptr %10, align 4, !tbaa !11
  %65 = udiv i32 32, %64
  br i1 %.not, label %70, label %68

66:                                               ; preds = %63
  %67 = lshr i32 %12, 1
  %.0275. = select i1 %16, i8 122, i8 121
  %..0275 = select i1 %16, i8 121, i8 122
  br label %70

68:                                               ; preds = %.thread303
  %69 = lshr i32 %65, 1
  %.0275.299 = select i1 %16, i8 121, i8 120
  %..0275300 = select i1 %16, i8 120, i8 121
  br label %70

70:                                               ; preds = %.thread303, %63, %68, %66
  %.0275311 = phi i8 [ 122, %66 ], [ 121, %68 ], [ 122, %63 ], [ 121, %.thread303 ]
  %.0280309 = phi i32 [ 8, %66 ], [ 4, %68 ], [ 16, %63 ], [ 8, %.thread303 ]
  %.0287 = phi i32 [ 545592848, %66 ], [ 545592848, %68 ], [ 537138704, %63 ], [ 537138704, %.thread303 ]
  %.1282 = phi i32 [ %67, %66 ], [ %69, %68 ], [ %12, %63 ], [ %65, %.thread303 ]
  %.1279 = phi i8 [ %.0275., %66 ], [ %.0275.299, %68 ], [ 122, %63 ], [ 121, %.thread303 ]
  %.1277 = phi i8 [ %..0275, %66 ], [ %..0275300, %68 ], [ 122, %63 ], [ 121, %.thread303 ]
  %71 = load i32, ptr %4, align 1, !tbaa !24
  %72 = getelementptr inbounds i8, ptr %4, i64 4
  %73 = load i32, ptr %72, align 1, !tbaa !25
  %74 = urem i32 %71, %.1282
  %75 = icmp ne i32 %74, 0
  %76 = add nsw i32 %.1282, -1
  %77 = add i32 %76, %71
  br label %78

78:                                               ; preds = %78, %70
  %.0289 = phi i32 [ 4, %70 ], [ %80, %78 ]
  %79 = urem i32 %73, %.0289
  %.not296 = icmp eq i32 %79, 0
  %80 = add i32 %.0289, -1
  br i1 %.not296, label %81, label %78, !llvm.loop !26

81:                                               ; preds = %78
  %82 = zext i1 %75 to i32
  %83 = udiv i32 %77, %.1282
  %84 = icmp ugt i32 %61, 1050
  br i1 %84, label %85, label %86

85:                                               ; preds = %81
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef -1568407413, i32 noundef 0, i64 noundef 65535) #3
  call void @libxsmm_x86_instruction_mask_move(ptr noundef %0, i32 noundef -1610346094, i32 noundef 0, i32 noundef 2) #3
  br label %87

86:                                               ; preds = %81
  call void @libxsmm_generator_initialize_avx_mask(ptr noundef %0, i32 noundef 13, i32 noundef 8, i32 noundef 1) #3
  br label %87

87:                                               ; preds = %86, %85
  %.0284 = phi i32 [ 2, %85 ], [ 13, %86 ]
  %.0283 = phi i32 [ 3, %85 ], [ 12, %86 ]
  br i1 %75, label %88, label %.thread332

88:                                               ; preds = %87
  %89 = load i32, ptr %13, align 4, !tbaa !14
  %90 = icmp ugt i32 %89, 1050
  br i1 %90, label %91, label %103

91:                                               ; preds = %88
  %92 = sub nsw i32 %.1282, %74
  %93 = load i32, ptr %10, align 4, !tbaa !11
  switch i32 %93, label %98 [
    i32 4, label %94
    i32 2, label %97
  ]

94:                                               ; preds = %91
  br i1 %.not, label %96, label %95

95:                                               ; preds = %94
  call void @libxsmm_generator_initialize_avx512_mask(ptr noundef nonnull %0, i32 noundef 0, i32 noundef 1, i32 noundef %92, i32 noundef 0) #3
  br label %105

96:                                               ; preds = %94
  call void @libxsmm_generator_initialize_avx512_mask(ptr noundef nonnull %0, i32 noundef 0, i32 noundef 1, i32 noundef %92, i32 noundef 1) #3
  br label %105

97:                                               ; preds = %91
  call void @libxsmm_generator_initialize_avx512_mask(ptr noundef nonnull %0, i32 noundef 0, i32 noundef 1, i32 noundef %92, i32 noundef 2) #3
  br label %105

98:                                               ; preds = %91
  %99 = load i32, ptr @libxsmm_ninit, align 4, !tbaa !18
  %100 = icmp ugt i32 %99, 1
  %101 = load i32, ptr @libxsmm_verbosity, align 4
  %102 = select i1 %100, i32 %101, i32 1
  call void @libxsmm_handle_error(ptr noundef nonnull %0, i32 noundef 90033, ptr noundef nonnull @__func__.libxsmm_generator_gather_scatter_rows_avx_avx512_microkernel, ptr noundef nonnull @.str, i32 noundef 1409, i32 noundef %102) #3
  br label %180

103:                                              ; preds = %88
  call void @libxsmm_generator_initialize_avx_mask(ptr noundef nonnull %0, i32 noundef 15, i32 noundef %74, i32 noundef 1) #3
  br i1 %.not, label %105, label %104

104:                                              ; preds = %103
  call void @libxsmm_generator_initialize_avx_mask(ptr noundef nonnull %0, i32 noundef 14, i32 noundef %74, i32 noundef 6) #3
  br label %105

105:                                              ; preds = %103, %95, %96, %97, %104
  %.0286 = phi i32 [ 1, %95 ], [ 1, %96 ], [ 1, %97 ], [ 15, %104 ], [ 15, %103 ]
  %.0285 = phi i32 [ 1, %95 ], [ 1, %96 ], [ 1, %97 ], [ 14, %104 ], [ 15, %103 ]
  %106 = icmp ugt i32 %83, 4
  br i1 %106, label %110, label %.thread327

.thread332:                                       ; preds = %87
  %107 = icmp ugt i32 %83, 4
  br i1 %107, label %.thread349, label %.thread318

.thread349:                                       ; preds = %.thread332
  %108 = lshr i32 %83, 2
  %109 = and i32 %83, 3
  br label %.thread318.thread

110:                                              ; preds = %105
  %111 = lshr i32 %83, 2
  %112 = and i32 %83, 3
  %113 = icmp eq i32 %112, 0
  br i1 %113, label %114, label %.thread318.thread

114:                                              ; preds = %110
  %115 = add nsw i32 %111, -1
  %116 = shl nuw i32 %115, 2
  %117 = sub i32 %83, %116
  %.not297 = icmp eq i32 %115, 0
  br i1 %.not297, label %.thread327, label %.thread318.thread

.thread318.thread:                                ; preds = %114, %110, %.thread349
  %.0285341.ph = phi i32 [ 0, %.thread349 ], [ %.0285, %110 ], [ %.0285, %114 ]
  %.0286335.ph = phi i32 [ 0, %.thread349 ], [ %.0286, %110 ], [ %.0286, %114 ]
  %.0290324.ph = phi i32 [ %109, %.thread349 ], [ %112, %110 ], [ %117, %114 ]
  %.0291323.ph = phi i32 [ %108, %.thread349 ], [ %111, %110 ], [ %115, %114 ]
  %118 = load i32, ptr %56, align 4, !tbaa !28
  call void @libxsmm_generator_generic_loop_header(ptr noundef %0, ptr noundef %1, i32 noundef %118, i32 noundef 0, i32 noundef 1) #3
  br label %.lr.ph

.thread318:                                       ; preds = %.thread332
  %119 = load i32, ptr %56, align 4, !tbaa !28
  call void @libxsmm_generator_generic_loop_header(ptr noundef %0, ptr noundef %1, i32 noundef %119, i32 noundef 0, i32 noundef 1) #3
  %.not356 = icmp ugt i32 %.1282, %77
  br i1 %.not356, label %.thread318.._crit_edge_crit_edge, label %.lr.ph

.thread318.._crit_edge_crit_edge:                 ; preds = %.thread318
  %.pre = select i1 %.not, i32 2, i32 3
  br label %._crit_edge

.lr.ph:                                           ; preds = %.thread318.thread, %.thread318
  %.0291323373 = phi i32 [ %.0291323.ph, %.thread318.thread ], [ 1, %.thread318 ]
  %.0290324371 = phi i32 [ %.0290324.ph, %.thread318.thread ], [ 0, %.thread318 ]
  %.0270326369 = phi i32 [ 4, %.thread318.thread ], [ %83, %.thread318 ]
  %.0286335367 = phi i32 [ %.0286335.ph, %.thread318.thread ], [ 0, %.thread318 ]
  %.0285341365 = phi i32 [ %.0285341.ph, %.thread318.thread ], [ 0, %.thread318 ]
  %120 = select i1 %.not, i32 2, i32 3
  br label %121

121:                                              ; preds = %.lr.ph, %121
  %.0354 = phi i32 [ 0, %.lr.ph ], [ %125, %121 ]
  %122 = load i32, ptr %57, align 4, !tbaa !22
  %123 = mul nuw nsw i32 %.0354, %.0280309
  %124 = shl nuw i32 %123, %120
  call void @libxsmm_x86_instruction_unified_vec_move(ptr noundef %0, i32 noundef %.0287, i32 noundef %122, i32 noundef 127, i32 noundef 0, i32 noundef %124, i8 noundef signext %.0275311, i32 noundef %.0354, i32 noundef 0, i32 noundef 0, i32 noundef 0) #3
  %125 = add nuw nsw i32 %.0354, 1
  %exitcond.not = icmp eq i32 %125, %.0270326369
  br i1 %exitcond.not, label %._crit_edge, label %121, !llvm.loop !29

._crit_edge:                                      ; preds = %121, %.thread318.._crit_edge_crit_edge
  %.0291323372 = phi i32 [ 1, %.thread318.._crit_edge_crit_edge ], [ %.0291323373, %121 ]
  %.0290324370 = phi i32 [ 0, %.thread318.._crit_edge_crit_edge ], [ %.0290324371, %121 ]
  %.0270326368 = phi i32 [ 0, %.thread318.._crit_edge_crit_edge ], [ %.0270326369, %121 ]
  %.0286335366 = phi i32 [ 0, %.thread318.._crit_edge_crit_edge ], [ %.0286335367, %121 ]
  %.0285341364 = phi i32 [ 0, %.thread318.._crit_edge_crit_edge ], [ %.0285341365, %121 ]
  %.pre-phi = phi i32 [ %.pre, %.thread318.._crit_edge_crit_edge ], [ %120, %121 ]
  %126 = load i32, ptr %60, align 4, !tbaa !30
  call void @libxsmm_generator_generic_loop_header(ptr noundef %0, ptr noundef %1, i32 noundef %126, i32 noundef 0, i32 noundef %.0289) #3
  call void @libxsmm_generator_gather_scatter_rows_avx_avx512_mn_loop_unrolled(ptr noundef %0, i32 noundef %.0270326368, i32 noundef %.0289, i32 noundef %58, i32 noundef %59, i32 noundef %.1282, i8 noundef signext %.1279, i8 noundef signext %.1277, i32 noundef 0, i32 noundef %.0284, i32 noundef %.0286335366, i32 noundef %.0283, i32 noundef %17, i32 noundef 10, i32 noundef 11, i32 noundef %.0272, i32 noundef %.0271, i32 noundef %.0274, i32 noundef %.0273)
  %127 = getelementptr inbounds i8, ptr %3, i64 40
  %128 = load i32, ptr %127, align 4, !tbaa !31
  %129 = zext i32 %.0289 to i64
  %130 = zext i32 %.0273 to i64
  %131 = zext i32 %.0271 to i64
  %132 = mul nuw i64 %130, %131
  %133 = mul i64 %132, %129
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef %128, i32 noundef 11, i64 noundef %133) #3
  %134 = load i32, ptr %127, align 4, !tbaa !31
  %135 = zext i32 %.0274 to i64
  %136 = zext i32 %.0272 to i64
  %137 = mul nuw i64 %135, %136
  %138 = mul i64 %137, %129
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef %134, i32 noundef 10, i64 noundef %138) #3
  %139 = load i32, ptr %60, align 4, !tbaa !30
  call void @libxsmm_generator_generic_loop_footer(ptr noundef %0, ptr noundef %1, i32 noundef %139, i32 noundef %73) #3
  %140 = getelementptr inbounds i8, ptr %3, i64 44
  %141 = load i32, ptr %140, align 4, !tbaa !32
  %142 = zext i32 %73 to i64
  %143 = mul nuw nsw i64 %132, %142
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef %141, i32 noundef 11, i64 noundef %143) #3
  %144 = load i32, ptr %140, align 4, !tbaa !32
  %145 = mul nuw nsw i64 %137, %142
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef %144, i32 noundef 10, i64 noundef %145) #3
  %146 = load i32, ptr %127, align 4, !tbaa !31
  %147 = zext nneg i32 %.0270326368 to i64
  %148 = zext nneg i32 %.1282 to i64
  %149 = mul nuw nsw i64 %148, %131
  %150 = mul i64 %149, %147
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef %146, i32 noundef 11, i64 noundef %150) #3
  %151 = load i32, ptr %127, align 4, !tbaa !31
  %152 = load i32, ptr %57, align 4, !tbaa !22
  %narrow = shl nuw nsw i32 %.0270326368, %.pre-phi
  %narrow353 = mul nuw nsw i32 %narrow, %.0280309
  %153 = zext nneg i32 %narrow353 to i64
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef %151, i32 noundef %152, i64 noundef %153) #3
  %154 = load i32, ptr %56, align 4, !tbaa !28
  call void @libxsmm_generator_generic_loop_footer(ptr noundef %0, ptr noundef %1, i32 noundef %154, i32 noundef %.0291323372) #3
  br label %.thread327

.thread327:                                       ; preds = %105, %._crit_edge, %114
  %.0285340 = phi i32 [ %.0285341364, %._crit_edge ], [ %.0285, %114 ], [ %.0285, %105 ]
  %.0286339 = phi i32 [ %.0286335366, %._crit_edge ], [ %.0286, %114 ], [ %.0286, %105 ]
  %.0290325 = phi i32 [ %.0290324370, %._crit_edge ], [ %117, %114 ], [ %83, %105 ]
  %.not298 = icmp eq i32 %.0290325, 0
  br i1 %.not298, label %180, label %.preheader

.preheader:                                       ; preds = %.thread327
  %155 = select i1 %.not, i32 2, i32 3
  %156 = add i32 %.0290325, -1
  br label %157

157:                                              ; preds = %.preheader, %157
  %.1355 = phi i32 [ 0, %.preheader ], [ %164, %157 ]
  %158 = load i32, ptr %57, align 4, !tbaa !22
  %159 = mul i32 %.1355, %.0280309
  %160 = shl i32 %159, %155
  %161 = icmp eq i32 %.1355, %156
  %162 = and i1 %75, %161
  %163 = zext i1 %162 to i32
  call void @libxsmm_x86_instruction_unified_vec_move(ptr noundef %0, i32 noundef %.0287, i32 noundef %158, i32 noundef 127, i32 noundef 0, i32 noundef %160, i8 noundef signext %.0275311, i32 noundef %.1355, i32 noundef %163, i32 noundef %.0285340, i32 noundef 0) #3
  %164 = add nuw i32 %.1355, 1
  %exitcond357.not = icmp eq i32 %164, %.0290325
  br i1 %exitcond357.not, label %165, label %157, !llvm.loop !33

165:                                              ; preds = %157
  %166 = load i32, ptr %60, align 4, !tbaa !30
  call void @libxsmm_generator_generic_loop_header(ptr noundef %0, ptr noundef %1, i32 noundef %166, i32 noundef 0, i32 noundef %.0289) #3
  call void @libxsmm_generator_gather_scatter_rows_avx_avx512_mn_loop_unrolled(ptr noundef %0, i32 noundef %.0290325, i32 noundef %.0289, i32 noundef %58, i32 noundef %59, i32 noundef %.1282, i8 noundef signext %.1279, i8 noundef signext %.1277, i32 noundef %82, i32 noundef %.0284, i32 noundef %.0286339, i32 noundef %.0283, i32 noundef %17, i32 noundef 10, i32 noundef 11, i32 noundef %.0272, i32 noundef %.0271, i32 noundef %.0274, i32 noundef %.0273)
  %167 = getelementptr inbounds i8, ptr %3, i64 40
  %168 = load i32, ptr %167, align 4, !tbaa !31
  %169 = zext i32 %.0289 to i64
  %170 = zext i32 %.0273 to i64
  %171 = zext i32 %.0271 to i64
  %172 = mul nuw i64 %170, %171
  %173 = mul i64 %172, %169
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef %168, i32 noundef 11, i64 noundef %173) #3
  %174 = load i32, ptr %167, align 4, !tbaa !31
  %175 = zext i32 %.0274 to i64
  %176 = zext i32 %.0272 to i64
  %177 = mul nuw i64 %175, %176
  %178 = mul i64 %177, %169
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef %174, i32 noundef 10, i64 noundef %178) #3
  %179 = load i32, ptr %60, align 4, !tbaa !30
  call void @libxsmm_generator_generic_loop_footer(ptr noundef %0, ptr noundef %1, i32 noundef %179, i32 noundef %73) #3
  br label %180

180:                                              ; preds = %.thread327, %165, %98
  call void @llvm.lifetime.end.p0(i64 2101248, ptr nonnull %6) #3
  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 = { 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 = { 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, !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 = !{!6, !10, i64 29}
!14 = !{!15, !7, i64 28}
!15 = !{!"libxsmm_generated_code", !16, i64 0, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20, !7, i64 24, !7, i64 28}
!16 = !{!"any pointer", !8, i64 0}
!17 = !{!12, !7, i64 36}
!18 = !{!7, !7, i64 0}
!19 = !{!12, !7, i64 56}
!20 = !{!21, !7, i64 0}
!21 = !{!"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}
!22 = !{!21, !7, i64 108}
!23 = !{!12, !7, i64 24}
!24 = !{!6, !7, i64 0}
!25 = !{!6, !7, i64 4}
!26 = distinct !{!26, !27}
!27 = !{!"llvm.loop.mustprogress"}
!28 = !{!21, !7, i64 96}
!29 = distinct !{!29, !27}
!30 = !{!21, !7, i64 100}
!31 = !{!12, !7, i64 40}
!32 = !{!12, !7, i64 44}
!33 = distinct !{!33, !27}


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