; LLVM IR from libxsmm/libxsmm :: src (generator_matequation_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_matequation_kernel_config_struct = type { i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i8, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, [32 x i32], i32, i32, i32, i32, ptr, ptr, i32, i32, i32, [64 x i32], [64 x i32], %struct.libxsmm_mateltwise_kernel_config_struct, %struct.libxsmm_micro_kernel_config }
%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_micro_kernel_config = type { i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i8, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, [4 x i32], [4 x i32], [4 x i32], [4 x i32], [4 x i32], [4 x i32], i32, [2 x %struct.libxsmm_blocking_info_t], %struct.libxsmm_tile_config, i32, i32, i32, i32, i32, i32, i32, i32, ptr, i32, i32, i32, i32, ptr, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32 }
%struct.libxsmm_blocking_info_t = type { i32, [4 x i32], i32, i32 }
%struct.libxsmm_tile_config = type { i8, i16, i8, i16, i8, i16, i8, i16, i8, i16, i8, i16, i8, i16, i8, i16, i8 }
%struct.libxsmm_matrix_eqn = type { ptr, ptr, i32, i32, i32, i32 }
%struct.libxsmm_meqn_elem = type { ptr, ptr, ptr, ptr, i32, %union.libxsmm_meqn_info, i32, i32, %struct.libxsmm_meqn_tmp_info, i32, i32, i32, %union.libxsmm_meqn_fusion_info }
%union.libxsmm_meqn_info = type { %struct.libxsmm_meqn_arg }
%struct.libxsmm_meqn_arg = type { i32, i32, i32, i32, i32, i32, i32, %struct.libxsmm_matrix_arg_attributes }
%struct.libxsmm_matrix_arg_attributes = type { i32, i32, i32, i32 }
%struct.libxsmm_meqn_tmp_info = type { i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32 }
%union.libxsmm_meqn_fusion_info = type { %struct.libxsmm_meqn_xgemm_fusion_info }
%struct.libxsmm_meqn_xgemm_fusion_info = type { i32, i32, i32, i32, i32 }
%struct.libxsmm_matequation_gp_reg_mapping_struct = type { i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, %struct.libxsmm_mateltwise_gp_reg_mapping_struct, %struct.libxsmm_gp_reg_mapping_struct }
%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_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 }
%struct.libxsmm_meqn_unary_op = type { i32, i32, i32, i32 }

@libxsmm_verbosity = external global i32, align 4
@stderr = external global ptr, align 8
@.str.1 = external hidden unnamed_addr constant [95 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [94 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [129 x i8], align 1

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

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

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

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

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

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

; Function Attrs: nounwind uwtable
define dso_local void @libxsmm_generator_matequation_setup_stack_frame(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, i32 noundef %5) #2 {
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca 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
  store ptr %0, ptr %7, align 8, !tbaa !5
  store ptr %1, ptr %8, align 8, !tbaa !5
  store ptr %2, ptr %9, align 8, !tbaa !5
  store ptr %3, ptr %10, align 8, !tbaa !5
  store ptr %4, ptr %11, align 8, !tbaa !5
  store i32 %5, ptr %12, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #4
  store i32 8, ptr %13, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #4
  store i32 0, ptr %14, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #4
  store i32 1, ptr %15, align 4, !tbaa !9
  %28 = load ptr, ptr %8, align 8, !tbaa !5
  %29 = load i32, ptr %14, align 4, !tbaa !9
  %30 = load ptr, ptr %10, align 8, !tbaa !5
  %31 = getelementptr inbounds %struct.libxsmm_matequation_kernel_config_struct, ptr %30, i32 0, i32 12
  store i32 %29, ptr %31, align 8, !tbaa !11
  %32 = load ptr, ptr %7, align 8, !tbaa !5
  call void @libxsmm_x86_instruction_push_reg(ptr noundef %32, i32 noundef 5)
  %33 = load ptr, ptr %7, align 8, !tbaa !5
  %34 = load ptr, ptr %10, align 8, !tbaa !5
  %35 = getelementptr inbounds %struct.libxsmm_matequation_kernel_config_struct, ptr %34, i32 0, i32 10
  %36 = load i32, ptr %35, align 8, !tbaa !17
  call void @libxsmm_x86_instruction_alu_reg(ptr noundef %33, i32 noundef %36, i32 noundef 4, i32 noundef 5)
  %37 = load ptr, ptr %7, align 8, !tbaa !5
  %38 = load ptr, ptr %10, align 8, !tbaa !5
  %39 = getelementptr inbounds %struct.libxsmm_matequation_kernel_config_struct, ptr %38, i32 0, i32 7
  %40 = load i32, ptr %39, align 4, !tbaa !18
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %37, i32 noundef %40, i32 noundef 4, i64 noundef 360)
  %41 = load i32, ptr %15, align 4, !tbaa !9
  %42 = icmp ugt i32 %41, 0
  br i1 %42, label %43, label %286

43:                                               ; preds = %6
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #4
  store i32 0, ptr %16, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #4
  store i32 0, ptr %17, align 4, !tbaa !9
  %44 = load ptr, ptr %7, align 8, !tbaa !5
  %45 = load ptr, ptr %10, align 8, !tbaa !5
  %46 = getelementptr inbounds %struct.libxsmm_matequation_kernel_config_struct, ptr %45, i32 0, i32 10
  %47 = load i32, ptr %46, align 8, !tbaa !17
  %48 = load i32, ptr %13, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_alu_imm_i64(ptr noundef %44, i32 noundef %47, i32 noundef %48, i64 noundef -64)
  %49 = load ptr, ptr %7, align 8, !tbaa !5
  %50 = load i32, ptr %13, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_alu_reg(ptr noundef %49, i32 noundef 30001, i32 noundef %50, i32 noundef 4)
  %51 = load i32, ptr %12, align 4, !tbaa !9
  %52 = icmp eq i32 %51, 0
  br i1 %52, label %53, label %119

53:                                               ; preds = %43
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #4
  %54 = load ptr, ptr %11, align 8, !tbaa !5
  %55 = getelementptr inbounds %struct.libxsmm_matrix_eqn, ptr %54, i32 0, i32 0
  %56 = load ptr, ptr %55, align 8, !tbaa !19
  %57 = getelementptr inbounds %struct.libxsmm_meqn_elem, ptr %56, i32 0, i32 11
  %58 = load i32, ptr %57, align 8, !tbaa !19
  store i32 %58, ptr %18, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #4
  %59 = load ptr, ptr %11, align 8, !tbaa !5
  %60 = getelementptr inbounds %struct.libxsmm_matrix_eqn, ptr %59, i32 0, i32 0
  %61 = load ptr, ptr %60, align 8, !tbaa !19
  %62 = getelementptr inbounds %struct.libxsmm_meqn_elem, ptr %61, i32 0, i32 6
  %63 = load i32, ptr %62, align 8, !tbaa !19
  store i32 %63, ptr %19, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #4
  %64 = load ptr, ptr %11, align 8, !tbaa !5
  %65 = getelementptr inbounds %struct.libxsmm_matrix_eqn, ptr %64, i32 0, i32 0
  %66 = load ptr, ptr %65, align 8, !tbaa !19
  %67 = getelementptr inbounds %struct.libxsmm_meqn_elem, ptr %66, i32 0, i32 9
  %68 = load i32, ptr %67, align 8, !tbaa !19
  %69 = load i32, ptr %18, align 4, !tbaa !9
  %70 = mul nsw i32 %68, %69
  store i32 %70, ptr %20, align 4, !tbaa !9
  %71 = load i32, ptr %20, align 4, !tbaa !9
  %72 = srem i32 %71, 64
  %73 = icmp eq i32 %72, 0
  br i1 %73, label %74, label %76

74:                                               ; preds = %53
  %75 = load i32, ptr %20, align 4, !tbaa !9
  br label %81

76:                                               ; preds = %53
  %77 = load i32, ptr %20, align 4, !tbaa !9
  %78 = add nsw i32 %77, 63
  %79 = sdiv i32 %78, 64
  %80 = mul nsw i32 %79, 64
  br label %81

81:                                               ; preds = %76, %74
  %82 = phi i32 [ %75, %74 ], [ %80, %76 ]
  store i32 %82, ptr %20, align 4, !tbaa !9
  %83 = load i32, ptr %20, align 4, !tbaa !9
  %84 = load i32, ptr %19, align 4, !tbaa !9
  %85 = mul nsw i32 %83, %84
  store i32 %85, ptr %16, align 4, !tbaa !9
  %86 = load i32, ptr %20, align 4, !tbaa !9
  %87 = load ptr, ptr %10, align 8, !tbaa !5
  %88 = getelementptr inbounds %struct.libxsmm_matequation_kernel_config_struct, ptr %87, i32 0, i32 51
  store i32 %86, ptr %88, align 8, !tbaa !20
  %89 = load i32, ptr %16, align 4, !tbaa !9
  %90 = urem i32 %89, 64
  %91 = icmp eq i32 %90, 0
  br i1 %91, label %92, label %94

92:                                               ; preds = %81
  %93 = load i32, ptr %16, align 4, !tbaa !9
  br label %99

94:                                               ; preds = %81
  %95 = load i32, ptr %16, align 4, !tbaa !9
  %96 = add i32 %95, 63
  %97 = udiv i32 %96, 64
  %98 = mul i32 %97, 64
  br label %99

99:                                               ; preds = %94, %92
  %100 = phi i32 [ %93, %92 ], [ %98, %94 ]
  store i32 %100, ptr %16, align 4, !tbaa !9
  %101 = load ptr, ptr %7, align 8, !tbaa !5
  %102 = load ptr, ptr %10, align 8, !tbaa !5
  %103 = getelementptr inbounds %struct.libxsmm_matequation_kernel_config_struct, ptr %102, i32 0, i32 7
  %104 = load i32, ptr %103, align 4, !tbaa !18
  %105 = load i32, ptr %16, align 4, !tbaa !9
  %106 = zext i32 %105 to i64
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %101, i32 noundef %104, i32 noundef 4, i64 noundef %106)
  %107 = load ptr, ptr %7, align 8, !tbaa !5
  call void @libxsmm_generator_meqn_setval_stack_var(ptr noundef %107, i32 noundef 1, i32 noundef 4)
  %108 = load i32, ptr @libxsmm_verbosity, align 4, !tbaa !9
  %109 = icmp slt i32 %108, 0
  br i1 %109, label %110, label %118

110:                                              ; preds = %99
  %111 = load ptr, ptr @stderr, align 8, !tbaa !5
  %112 = load i32, ptr %19, align 4, !tbaa !9
  %113 = load i32, ptr %16, align 4, !tbaa !9
  %114 = uitofp i32 %113 to double
  %115 = fmul double 1.000000e+00, %114
  %116 = fdiv double %115, 1.024000e+03
  %117 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %111, ptr noundef @.str.1, i32 noundef %112, double noundef %116) #4
  br label %118

118:                                              ; preds = %110, %99
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #4
  br label %285

119:                                              ; preds = %43
  %120 = load i32, ptr %12, align 4, !tbaa !9
  %121 = icmp eq i32 %120, 1
  br i1 %121, label %122, label %172

122:                                              ; preds = %119
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #4
  %123 = load ptr, ptr %11, align 8, !tbaa !5
  %124 = getelementptr inbounds %struct.libxsmm_matrix_eqn, ptr %123, i32 0, i32 0
  %125 = load ptr, ptr %124, align 8, !tbaa !19
  %126 = getelementptr inbounds %struct.libxsmm_meqn_elem, ptr %125, i32 0, i32 10
  %127 = load i32, ptr %126, align 4, !tbaa !19
  store i32 %127, ptr %21, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #4
  %128 = load ptr, ptr %11, align 8, !tbaa !5
  %129 = getelementptr inbounds %struct.libxsmm_matrix_eqn, ptr %128, i32 0, i32 0
  %130 = load ptr, ptr %129, align 8, !tbaa !19
  %131 = getelementptr inbounds %struct.libxsmm_meqn_elem, ptr %130, i32 0, i32 7
  %132 = load i32, ptr %131, align 4, !tbaa !19
  %133 = add nsw i32 %132, 1
  store i32 %133, ptr %22, align 4, !tbaa !9
  %134 = load i32, ptr %21, align 4, !tbaa !9
  %135 = load ptr, ptr %10, align 8, !tbaa !5
  %136 = getelementptr inbounds %struct.libxsmm_matequation_kernel_config_struct, ptr %135, i32 0, i32 13
  store i32 %134, ptr %136, align 4, !tbaa !21
  %137 = load i32, ptr %21, align 4, !tbaa !9
  %138 = mul nsw i32 %137, 8
  %139 = load i32, ptr %22, align 4, !tbaa !9
  %140 = mul nsw i32 %139, 32
  %141 = add nsw i32 %138, %140
  store i32 %141, ptr %17, align 4, !tbaa !9
  %142 = load i32, ptr %17, align 4, !tbaa !9
  %143 = urem i32 %142, 64
  %144 = icmp eq i32 %143, 0
  br i1 %144, label %145, label %147

145:                                              ; preds = %122
  %146 = load i32, ptr %17, align 4, !tbaa !9
  br label %152

147:                                              ; preds = %122
  %148 = load i32, ptr %17, align 4, !tbaa !9
  %149 = add i32 %148, 63
  %150 = udiv i32 %149, 64
  %151 = mul i32 %150, 64
  br label %152

152:                                              ; preds = %147, %145
  %153 = phi i32 [ %146, %145 ], [ %151, %147 ]
  store i32 %153, ptr %17, align 4, !tbaa !9
  %154 = load ptr, ptr %7, align 8, !tbaa !5
  %155 = load ptr, ptr %10, align 8, !tbaa !5
  %156 = getelementptr inbounds %struct.libxsmm_matequation_kernel_config_struct, ptr %155, i32 0, i32 7
  %157 = load i32, ptr %156, align 4, !tbaa !18
  %158 = load i32, ptr %17, align 4, !tbaa !9
  %159 = zext i32 %158 to i64
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %154, i32 noundef %157, i32 noundef 4, i64 noundef %159)
  %160 = load ptr, ptr %7, align 8, !tbaa !5
  call void @libxsmm_generator_meqn_setval_stack_var(ptr noundef %160, i32 noundef 2, i32 noundef 4)
  %161 = load i32, ptr @libxsmm_verbosity, align 4, !tbaa !9
  %162 = icmp slt i32 %161, 0
  br i1 %162, label %163, label %171

163:                                              ; preds = %152
  %164 = load ptr, ptr @stderr, align 8, !tbaa !5
  %165 = load i32, ptr %21, align 4, !tbaa !9
  %166 = load i32, ptr %17, align 4, !tbaa !9
  %167 = uitofp i32 %166 to double
  %168 = fmul double 1.000000e+00, %167
  %169 = fdiv double %168, 1.024000e+03
  %170 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %164, ptr noundef @.str.2, i32 noundef %165, double noundef %169) #4
  br label %171

171:                                              ; preds = %163, %152
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #4
  br label %284

172:                                              ; preds = %119
  %173 = load i32, ptr %12, align 4, !tbaa !9
  %174 = icmp eq i32 %173, 2
  br i1 %174, label %175, label %283

175:                                              ; preds = %172
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #4
  %176 = load ptr, ptr %11, align 8, !tbaa !5
  %177 = getelementptr inbounds %struct.libxsmm_matrix_eqn, ptr %176, i32 0, i32 0
  %178 = load ptr, ptr %177, align 8, !tbaa !19
  %179 = getelementptr inbounds %struct.libxsmm_meqn_elem, ptr %178, i32 0, i32 11
  %180 = load i32, ptr %179, align 8, !tbaa !19
  store i32 %180, ptr %23, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #4
  %181 = load ptr, ptr %11, align 8, !tbaa !5
  %182 = getelementptr inbounds %struct.libxsmm_matrix_eqn, ptr %181, i32 0, i32 0
  %183 = load ptr, ptr %182, align 8, !tbaa !19
  %184 = getelementptr inbounds %struct.libxsmm_meqn_elem, ptr %183, i32 0, i32 6
  %185 = load i32, ptr %184, align 8, !tbaa !19
  store i32 %185, ptr %24, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #4
  %186 = load ptr, ptr %11, align 8, !tbaa !5
  %187 = getelementptr inbounds %struct.libxsmm_matrix_eqn, ptr %186, i32 0, i32 0
  %188 = load ptr, ptr %187, align 8, !tbaa !19
  %189 = getelementptr inbounds %struct.libxsmm_meqn_elem, ptr %188, i32 0, i32 9
  %190 = load i32, ptr %189, align 8, !tbaa !19
  %191 = load i32, ptr %23, align 4, !tbaa !9
  %192 = mul nsw i32 %190, %191
  store i32 %192, ptr %25, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #4
  %193 = load ptr, ptr %11, align 8, !tbaa !5
  %194 = getelementptr inbounds %struct.libxsmm_matrix_eqn, ptr %193, i32 0, i32 0
  %195 = load ptr, ptr %194, align 8, !tbaa !19
  %196 = getelementptr inbounds %struct.libxsmm_meqn_elem, ptr %195, i32 0, i32 10
  %197 = load i32, ptr %196, align 4, !tbaa !19
  store i32 %197, ptr %26, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #4
  %198 = load ptr, ptr %11, align 8, !tbaa !5
  %199 = getelementptr inbounds %struct.libxsmm_matrix_eqn, ptr %198, i32 0, i32 0
  %200 = load ptr, ptr %199, align 8, !tbaa !19
  %201 = getelementptr inbounds %struct.libxsmm_meqn_elem, ptr %200, i32 0, i32 7
  %202 = load i32, ptr %201, align 4, !tbaa !19
  %203 = add nsw i32 %202, 1
  store i32 %203, ptr %27, align 4, !tbaa !9
  %204 = load i32, ptr %25, align 4, !tbaa !9
  %205 = srem i32 %204, 64
  %206 = icmp eq i32 %205, 0
  br i1 %206, label %207, label %209

207:                                              ; preds = %175
  %208 = load i32, ptr %25, align 4, !tbaa !9
  br label %214

209:                                              ; preds = %175
  %210 = load i32, ptr %25, align 4, !tbaa !9
  %211 = add nsw i32 %210, 63
  %212 = sdiv i32 %211, 64
  %213 = mul nsw i32 %212, 64
  br label %214

214:                                              ; preds = %209, %207
  %215 = phi i32 [ %208, %207 ], [ %213, %209 ]
  store i32 %215, ptr %25, align 4, !tbaa !9
  %216 = load i32, ptr %25, align 4, !tbaa !9
  %217 = load ptr, ptr %10, align 8, !tbaa !5
  %218 = getelementptr inbounds %struct.libxsmm_matequation_kernel_config_struct, ptr %217, i32 0, i32 51
  store i32 %216, ptr %218, align 8, !tbaa !20
  %219 = load i32, ptr %25, align 4, !tbaa !9
  %220 = load i32, ptr %24, align 4, !tbaa !9
  %221 = mul nsw i32 %219, %220
  store i32 %221, ptr %16, align 4, !tbaa !9
  %222 = load i32, ptr %16, align 4, !tbaa !9
  %223 = urem i32 %222, 64
  %224 = icmp eq i32 %223, 0
  br i1 %224, label %225, label %227

225:                                              ; preds = %214
  %226 = load i32, ptr %16, align 4, !tbaa !9
  br label %232

227:                                              ; preds = %214
  %228 = load i32, ptr %16, align 4, !tbaa !9
  %229 = add i32 %228, 63
  %230 = udiv i32 %229, 64
  %231 = mul i32 %230, 64
  br label %232

232:                                              ; preds = %227, %225
  %233 = phi i32 [ %226, %225 ], [ %231, %227 ]
  store i32 %233, ptr %16, align 4, !tbaa !9
  %234 = load ptr, ptr %7, align 8, !tbaa !5
  %235 = load ptr, ptr %10, align 8, !tbaa !5
  %236 = getelementptr inbounds %struct.libxsmm_matequation_kernel_config_struct, ptr %235, i32 0, i32 7
  %237 = load i32, ptr %236, align 4, !tbaa !18
  %238 = load i32, ptr %16, align 4, !tbaa !9
  %239 = zext i32 %238 to i64
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %234, i32 noundef %237, i32 noundef 4, i64 noundef %239)
  %240 = load ptr, ptr %7, align 8, !tbaa !5
  call void @libxsmm_generator_meqn_setval_stack_var(ptr noundef %240, i32 noundef 1, i32 noundef 4)
  %241 = load i32, ptr %26, align 4, !tbaa !9
  %242 = load ptr, ptr %10, align 8, !tbaa !5
  %243 = getelementptr inbounds %struct.libxsmm_matequation_kernel_config_struct, ptr %242, i32 0, i32 13
  store i32 %241, ptr %243, align 4, !tbaa !21
  %244 = load i32, ptr %26, align 4, !tbaa !9
  %245 = mul nsw i32 %244, 8
  %246 = load i32, ptr %27, align 4, !tbaa !9
  %247 = mul nsw i32 %246, 32
  %248 = add nsw i32 %245, %247
  store i32 %248, ptr %17, align 4, !tbaa !9
  %249 = load i32, ptr %17, align 4, !tbaa !9
  %250 = urem i32 %249, 64
  %251 = icmp eq i32 %250, 0
  br i1 %251, label %252, label %254

252:                                              ; preds = %232
  %253 = load i32, ptr %17, align 4, !tbaa !9
  br label %259

254:                                              ; preds = %232
  %255 = load i32, ptr %17, align 4, !tbaa !9
  %256 = add i32 %255, 63
  %257 = udiv i32 %256, 64
  %258 = mul i32 %257, 64
  br label %259

259:                                              ; preds = %254, %252
  %260 = phi i32 [ %253, %252 ], [ %258, %254 ]
  store i32 %260, ptr %17, align 4, !tbaa !9
  %261 = load ptr, ptr %7, align 8, !tbaa !5
  %262 = load ptr, ptr %10, align 8, !tbaa !5
  %263 = getelementptr inbounds %struct.libxsmm_matequation_kernel_config_struct, ptr %262, i32 0, i32 7
  %264 = load i32, ptr %263, align 4, !tbaa !18
  %265 = load i32, ptr %17, align 4, !tbaa !9
  %266 = zext i32 %265 to i64
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %261, i32 noundef %264, i32 noundef 4, i64 noundef %266)
  %267 = load ptr, ptr %7, align 8, !tbaa !5
  call void @libxsmm_generator_meqn_setval_stack_var(ptr noundef %267, i32 noundef 2, i32 noundef 4)
  %268 = load i32, ptr @libxsmm_verbosity, align 4, !tbaa !9
  %269 = icmp slt i32 %268, 0
  br i1 %269, label %270, label %282

270:                                              ; preds = %259
  %271 = load ptr, ptr @stderr, align 8, !tbaa !5
  %272 = load i32, ptr %24, align 4, !tbaa !9
  %273 = load i32, ptr %16, align 4, !tbaa !9
  %274 = uitofp i32 %273 to double
  %275 = fmul double 1.000000e+00, %274
  %276 = fdiv double %275, 1.024000e+03
  %277 = load i32, ptr %17, align 4, !tbaa !9
  %278 = uitofp i32 %277 to double
  %279 = fmul double 1.000000e+00, %278
  %280 = fdiv double %279, 1.024000e+03
  %281 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %271, ptr noundef @.str.3, i32 noundef %272, double noundef %276, double noundef %280) #4
  br label %282

282:                                              ; preds = %270, %259
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #4
  br label %283

283:                                              ; preds = %282, %172
  br label %284

284:                                              ; preds = %283, %171
  br label %285

285:                                              ; preds = %284, %118
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #4
  br label %286

286:                                              ; preds = %285, %6
  %287 = load i32, ptr %14, align 4, !tbaa !9
  %288 = icmp eq i32 %287, 0
  br i1 %288, label %289, label %295

289:                                              ; preds = %286
  %290 = load ptr, ptr %7, align 8, !tbaa !5
  call void @libxsmm_x86_instruction_push_reg(ptr noundef %290, i32 noundef 3)
  %291 = load ptr, ptr %7, align 8, !tbaa !5
  call void @libxsmm_x86_instruction_push_reg(ptr noundef %291, i32 noundef 12)
  %292 = load ptr, ptr %7, align 8, !tbaa !5
  call void @libxsmm_x86_instruction_push_reg(ptr noundef %292, i32 noundef 13)
  %293 = load ptr, ptr %7, align 8, !tbaa !5
  call void @libxsmm_x86_instruction_push_reg(ptr noundef %293, i32 noundef 14)
  %294 = load ptr, ptr %7, align 8, !tbaa !5
  call void @libxsmm_x86_instruction_push_reg(ptr noundef %294, i32 noundef 15)
  br label %295

295:                                              ; preds = %289, %286
  %296 = load i32, ptr %12, align 4, !tbaa !9
  %297 = icmp eq i32 %296, 2
  br i1 %297, label %298, label %335

298:                                              ; preds = %295
  %299 = load ptr, ptr %7, align 8, !tbaa !5
  %300 = load ptr, ptr %10, align 8, !tbaa !5
  %301 = getelementptr inbounds %struct.libxsmm_matequation_kernel_config_struct, ptr %300, i32 0, i32 10
  %302 = load i32, ptr %301, align 8, !tbaa !17
  %303 = load ptr, ptr %9, align 8, !tbaa !5
  %304 = getelementptr inbounds %struct.libxsmm_matequation_gp_reg_mapping_struct, ptr %303, i32 0, i32 0
  %305 = load i32, ptr %304, align 4, !tbaa !22
  %306 = load i32, ptr %13, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_alu_mem(ptr noundef %299, i32 noundef %302, i32 noundef %305, i32 noundef 127, i32 noundef 0, i32 noundef 16, i32 noundef %306, i32 noundef 0)
  %307 = load ptr, ptr %7, align 8, !tbaa !5
  %308 = load i32, ptr %13, align 4, !tbaa !9
  call void @libxsmm_generator_meqn_setval_stack_var(ptr noundef %307, i32 noundef 3, i32 noundef %308)
  %309 = load ptr, ptr %11, align 8, !tbaa !5
  %310 = getelementptr inbounds %struct.libxsmm_matrix_eqn, ptr %309, i32 0, i32 0
  %311 = load ptr, ptr %310, align 8, !tbaa !19
  %312 = getelementptr inbounds %struct.libxsmm_meqn_elem, ptr %311, i32 0, i32 4
  %313 = load i32, ptr %312, align 8, !tbaa !19
  %314 = icmp eq i32 %313, 1
  br i1 %314, label %315, label %334

315:                                              ; preds = %298
  %316 = load ptr, ptr %11, align 8, !tbaa !5
  %317 = getelementptr inbounds %struct.libxsmm_matrix_eqn, ptr %316, i32 0, i32 0
  %318 = load ptr, ptr %317, align 8, !tbaa !19
  %319 = getelementptr inbounds %struct.libxsmm_meqn_elem, ptr %318, i32 0, i32 5
  %320 = getelementptr inbounds %struct.libxsmm_meqn_unary_op, ptr %319, i32 0, i32 0
  %321 = load i32, ptr %320, align 4, !tbaa !19
  %322 = icmp eq i32 %321, 33
  br i1 %322, label %323, label %334

323:                                              ; preds = %315
  %324 = load ptr, ptr %7, align 8, !tbaa !5
  %325 = load ptr, ptr %10, align 8, !tbaa !5
  %326 = getelementptr inbounds %struct.libxsmm_matequation_kernel_config_struct, ptr %325, i32 0, i32 10
  %327 = load i32, ptr %326, align 8, !tbaa !17
  %328 = load ptr, ptr %9, align 8, !tbaa !5
  %329 = getelementptr inbounds %struct.libxsmm_matequation_gp_reg_mapping_struct, ptr %328, i32 0, i32 0
  %330 = load i32, ptr %329, align 4, !tbaa !22
  %331 = load i32, ptr %13, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_alu_mem(ptr noundef %324, i32 noundef %327, i32 noundef %330, i32 noundef 127, i32 noundef 0, i32 noundef 24, i32 noundef %331, i32 noundef 0)
  %332 = load ptr, ptr %7, align 8, !tbaa !5
  %333 = load i32, ptr %13, align 4, !tbaa !9
  call void @libxsmm_generator_meqn_setval_stack_var(ptr noundef %332, i32 noundef 29, i32 noundef %333)
  br label %334

334:                                              ; preds = %323, %315, %298
  br label %335

335:                                              ; preds = %334, %295
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #4
  ret void
}

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

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

; Function Attrs: nounwind
declare i32 @fprintf(ptr noundef, ptr noundef, ...) #3

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind "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 = { nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !10, i64 48}
!12 = !{!"libxsmm_matequation_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, !7, 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, !7, i64 188, !10, i64 316, !10, i64 320, !10, i64 324, !10, i64 328, !6, i64 336, !6, i64 344, !10, i64 352, !10, i64 356, !10, i64 360, !7, i64 364, !7, i64 620, !13, i64 876, !14, i64 1392}
!13 = !{!"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}
!14 = !{!"libxsmm_micro_kernel_config", !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, !7, 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, !7, i64 364, !7, i64 380, !7, i64 396, !7, i64 412, !7, i64 428, !7, i64 444, !10, i64 460, !7, i64 464, !15, i64 520, !10, i64 556, !10, i64 560, !10, i64 564, !10, i64 568, !10, i64 572, !10, i64 576, !10, i64 580, !10, i64 584, !6, i64 592, !10, i64 600, !10, i64 604, !10, i64 608, !10, i64 612, !6, i64 616, !10, i64 624, !10, i64 628, !10, i64 632, !10, i64 636, !10, i64 640, !10, i64 644, !10, i64 648, !10, i64 652, !10, i64 656, !10, i64 660, !10, i64 664, !10, i64 668, !10, i64 672, !10, i64 676, !10, i64 680}
!15 = !{!"libxsmm_tile_config", !7, i64 0, !16, i64 2, !7, i64 4, !16, i64 6, !7, i64 8, !16, i64 10, !7, i64 12, !16, i64 14, !7, i64 16, !16, i64 18, !7, i64 20, !16, i64 22, !7, i64 24, !16, i64 26, !7, i64 28, !16, i64 30, !7, i64 32}
!16 = !{!"short", !7, i64 0}
!17 = !{!12, !10, i64 40}
!18 = !{!12, !10, i64 28}
!19 = !{!7, !7, i64 0}
!20 = !{!12, !10, i64 328}
!21 = !{!12, !10, i64 52}
!22 = !{!23, !10, i64 0}
!23 = !{!"libxsmm_matequation_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, !24, i64 72, !25, i64 220}
!24 = !{!"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}
!25 = !{!"libxsmm_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}


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

@libxsmm_verbosity = external local_unnamed_addr global i32, align 4
@stderr = external local_unnamed_addr global ptr, align 8
@.str.1 = external hidden unnamed_addr constant [95 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [94 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [129 x i8], align 1

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

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

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

; Function Attrs: nounwind uwtable
declare dso_local void @libxsmm_generator_meqn_setval_stack_var(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
define dso_local void @libxsmm_generator_matequation_setup_stack_frame(ptr noundef %0, ptr nocapture noundef readnone %1, ptr nocapture noundef readonly %2, ptr nocapture noundef %3, ptr nocapture noundef readonly %4, i32 noundef %5) local_unnamed_addr #1 {
  %7 = getelementptr inbounds i8, ptr %3, i64 48
  store i32 0, ptr %7, align 8, !tbaa !5
  tail call void @libxsmm_x86_instruction_push_reg(ptr noundef %0, i32 noundef 5) #3
  %8 = getelementptr inbounds i8, ptr %3, i64 40
  %9 = load i32, ptr %8, align 8, !tbaa !15
  tail call void @libxsmm_x86_instruction_alu_reg(ptr noundef %0, i32 noundef %9, i32 noundef 4, i32 noundef 5) #3
  %10 = getelementptr inbounds i8, ptr %3, i64 28
  %11 = load i32, ptr %10, align 4, !tbaa !16
  tail call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef %11, i32 noundef 4, i64 noundef 360) #3
  %12 = load i32, ptr %8, align 8, !tbaa !15
  tail call void @libxsmm_x86_instruction_alu_imm_i64(ptr noundef %0, i32 noundef %12, i32 noundef 8, i64 noundef -64) #3
  tail call void @libxsmm_x86_instruction_alu_reg(ptr noundef %0, i32 noundef 30001, i32 noundef 8, i32 noundef 4) #3
  switch i32 %5, label %112 [
    i32 0, label %13
    i32 1, label %41
    i32 2, label %66
  ]

13:                                               ; preds = %6
  %14 = load ptr, ptr %4, align 8, !tbaa !17
  %15 = getelementptr inbounds i8, ptr %14, i64 160
  %16 = load i32, ptr %15, align 8, !tbaa !17
  %17 = getelementptr inbounds i8, ptr %14, i64 80
  %18 = load i32, ptr %17, align 8, !tbaa !17
  %19 = getelementptr inbounds i8, ptr %14, i64 152
  %20 = load i32, ptr %19, align 8, !tbaa !17
  %21 = mul nsw i32 %20, %16
  %22 = and i32 %21, 63
  %23 = icmp eq i32 %22, 0
  br i1 %23, label %28, label %24

24:                                               ; preds = %13
  %25 = add nsw i32 %21, 63
  %26 = sdiv i32 %25, 64
  %27 = shl nsw i32 %26, 6
  br label %28

28:                                               ; preds = %13, %24
  %29 = phi i32 [ %27, %24 ], [ %21, %13 ]
  %30 = getelementptr inbounds i8, ptr %3, i64 328
  store i32 %29, ptr %30, align 8, !tbaa !18
  %31 = mul nsw i32 %29, %18
  %32 = load i32, ptr %10, align 4, !tbaa !16
  %33 = zext i32 %31 to i64
  tail call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef %32, i32 noundef 4, i64 noundef %33) #3
  tail call void @libxsmm_generator_meqn_setval_stack_var(ptr noundef %0, i32 noundef 1, i32 noundef 4)
  %34 = load i32, ptr @libxsmm_verbosity, align 4, !tbaa !19
  %35 = icmp slt i32 %34, 0
  br i1 %35, label %36, label %112

36:                                               ; preds = %28
  %37 = load ptr, ptr @stderr, align 8, !tbaa !20
  %38 = uitofp i32 %31 to double
  %39 = fmul double %38, 0x3F50000000000000
  %40 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %37, ptr noundef nonnull @.str.1, i32 noundef %18, double noundef %39) #4
  br label %112

41:                                               ; preds = %6
  %42 = load ptr, ptr %4, align 8, !tbaa !17
  %43 = getelementptr inbounds i8, ptr %42, i64 156
  %44 = load i32, ptr %43, align 4, !tbaa !17
  %45 = getelementptr inbounds i8, ptr %42, i64 84
  %46 = load i32, ptr %45, align 4, !tbaa !17
  %47 = getelementptr inbounds i8, ptr %3, i64 52
  store i32 %44, ptr %47, align 4, !tbaa !21
  %48 = shl nsw i32 %44, 3
  %49 = shl i32 %46, 5
  %50 = add i32 %48, 32
  %51 = add i32 %50, %49
  %52 = and i32 %51, 56
  %53 = icmp eq i32 %52, 0
  %54 = add i32 %51, 63
  %55 = and i32 %54, -64
  %56 = select i1 %53, i32 %51, i32 %55
  %57 = load i32, ptr %10, align 4, !tbaa !16
  %58 = zext i32 %56 to i64
  tail call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef %57, i32 noundef 4, i64 noundef %58) #3
  tail call void @libxsmm_generator_meqn_setval_stack_var(ptr noundef %0, i32 noundef 2, i32 noundef 4)
  %59 = load i32, ptr @libxsmm_verbosity, align 4, !tbaa !19
  %60 = icmp slt i32 %59, 0
  br i1 %60, label %61, label %112

61:                                               ; preds = %41
  %62 = load ptr, ptr @stderr, align 8, !tbaa !20
  %63 = uitofp i32 %56 to double
  %64 = fmul double %63, 0x3F50000000000000
  %65 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %62, ptr noundef nonnull @.str.2, i32 noundef %44, double noundef %64) #4
  br label %112

66:                                               ; preds = %6
  %67 = load ptr, ptr %4, align 8, !tbaa !17
  %68 = getelementptr inbounds i8, ptr %67, i64 160
  %69 = load i32, ptr %68, align 8, !tbaa !17
  %70 = getelementptr inbounds i8, ptr %67, i64 80
  %71 = load i32, ptr %70, align 8, !tbaa !17
  %72 = getelementptr inbounds i8, ptr %67, i64 152
  %73 = load i32, ptr %72, align 8, !tbaa !17
  %74 = mul nsw i32 %73, %69
  %75 = getelementptr inbounds i8, ptr %67, i64 156
  %76 = load i32, ptr %75, align 4, !tbaa !17
  %77 = getelementptr inbounds i8, ptr %67, i64 84
  %78 = load i32, ptr %77, align 4, !tbaa !17
  %79 = and i32 %74, 63
  %80 = icmp eq i32 %79, 0
  br i1 %80, label %85, label %81

81:                                               ; preds = %66
  %82 = add nsw i32 %74, 63
  %83 = sdiv i32 %82, 64
  %84 = shl nsw i32 %83, 6
  br label %85

85:                                               ; preds = %66, %81
  %86 = phi i32 [ %84, %81 ], [ %74, %66 ]
  %87 = getelementptr inbounds i8, ptr %3, i64 328
  store i32 %86, ptr %87, align 8, !tbaa !18
  %88 = mul nsw i32 %86, %71
  %89 = load i32, ptr %10, align 4, !tbaa !16
  %90 = zext i32 %88 to i64
  tail call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef %89, i32 noundef 4, i64 noundef %90) #3
  tail call void @libxsmm_generator_meqn_setval_stack_var(ptr noundef %0, i32 noundef 1, i32 noundef 4)
  %91 = getelementptr inbounds i8, ptr %3, i64 52
  store i32 %76, ptr %91, align 4, !tbaa !21
  %92 = shl nsw i32 %76, 3
  %93 = shl i32 %78, 5
  %94 = add i32 %92, 32
  %95 = add i32 %94, %93
  %96 = and i32 %95, 56
  %97 = icmp eq i32 %96, 0
  %98 = add i32 %95, 63
  %99 = and i32 %98, -64
  %100 = select i1 %97, i32 %95, i32 %99
  %101 = load i32, ptr %10, align 4, !tbaa !16
  %102 = zext i32 %100 to i64
  tail call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef %101, i32 noundef 4, i64 noundef %102) #3
  tail call void @libxsmm_generator_meqn_setval_stack_var(ptr noundef %0, i32 noundef 2, i32 noundef 4)
  %103 = load i32, ptr @libxsmm_verbosity, align 4, !tbaa !19
  %104 = icmp slt i32 %103, 0
  br i1 %104, label %105, label %112

105:                                              ; preds = %85
  %106 = load ptr, ptr @stderr, align 8, !tbaa !20
  %107 = uitofp i32 %88 to double
  %108 = fmul double %107, 0x3F50000000000000
  %109 = uitofp i32 %100 to double
  %110 = fmul double %109, 0x3F50000000000000
  %111 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %106, ptr noundef nonnull @.str.3, i32 noundef %71, double noundef %108, double noundef %110) #4
  br label %112

112:                                              ; preds = %85, %105, %6, %41, %61, %28, %36
  tail call void @libxsmm_x86_instruction_push_reg(ptr noundef %0, i32 noundef 3) #3
  tail call void @libxsmm_x86_instruction_push_reg(ptr noundef %0, i32 noundef 12) #3
  tail call void @libxsmm_x86_instruction_push_reg(ptr noundef %0, i32 noundef 13) #3
  tail call void @libxsmm_x86_instruction_push_reg(ptr noundef %0, i32 noundef 14) #3
  tail call void @libxsmm_x86_instruction_push_reg(ptr noundef %0, i32 noundef 15) #3
  %113 = icmp eq i32 %5, 2
  br i1 %113, label %114, label %128

114:                                              ; preds = %112
  %115 = load i32, ptr %8, align 8, !tbaa !15
  %116 = load i32, ptr %2, align 4, !tbaa !22
  tail call void @libxsmm_x86_instruction_alu_mem(ptr noundef %0, i32 noundef %115, i32 noundef %116, i32 noundef 127, i32 noundef 0, i32 noundef 16, i32 noundef 8, i32 noundef 0) #3
  tail call void @libxsmm_generator_meqn_setval_stack_var(ptr noundef %0, i32 noundef 3, i32 noundef 8)
  %117 = load ptr, ptr %4, align 8, !tbaa !17
  %118 = getelementptr inbounds i8, ptr %117, i64 32
  %119 = load i32, ptr %118, align 8, !tbaa !17
  %120 = icmp eq i32 %119, 1
  br i1 %120, label %121, label %128

121:                                              ; preds = %114
  %122 = getelementptr inbounds i8, ptr %117, i64 36
  %123 = load i32, ptr %122, align 4, !tbaa !17
  %124 = icmp eq i32 %123, 33
  br i1 %124, label %125, label %128

125:                                              ; preds = %121
  %126 = load i32, ptr %8, align 8, !tbaa !15
  %127 = load i32, ptr %2, align 4, !tbaa !22
  tail call void @libxsmm_x86_instruction_alu_mem(ptr noundef %0, i32 noundef %126, i32 noundef %127, i32 noundef 127, i32 noundef 0, i32 noundef 24, i32 noundef 8, i32 noundef 0) #3
  tail call void @libxsmm_generator_meqn_setval_stack_var(ptr noundef %0, i32 noundef 29, i32 noundef 8)
  br label %128

128:                                              ; preds = %114, %121, %125, %112
  ret void
}

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

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

; Function Attrs: nofree nounwind
declare noundef i32 @fprintf(ptr nocapture noundef, ptr nocapture noundef readonly, ...) local_unnamed_addr #2

attributes #0 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nofree 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 #3 = { nounwind }
attributes #4 = { cold nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !7, i64 48}
!6 = !{!"libxsmm_matequation_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, !8, 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, !8, i64 188, !7, i64 316, !7, i64 320, !7, i64 324, !7, i64 328, !10, i64 336, !10, i64 344, !7, i64 352, !7, i64 356, !7, i64 360, !8, i64 364, !8, i64 620, !11, i64 876, !12, i64 1392}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!"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}
!12 = !{!"libxsmm_micro_kernel_config", !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, !8, 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, !8, i64 364, !8, i64 380, !8, i64 396, !8, i64 412, !8, i64 428, !8, i64 444, !7, i64 460, !8, i64 464, !13, i64 520, !7, i64 556, !7, i64 560, !7, i64 564, !7, i64 568, !7, i64 572, !7, i64 576, !7, i64 580, !7, i64 584, !10, i64 592, !7, i64 600, !7, i64 604, !7, i64 608, !7, i64 612, !10, i64 616, !7, i64 624, !7, i64 628, !7, i64 632, !7, i64 636, !7, i64 640, !7, i64 644, !7, i64 648, !7, i64 652, !7, i64 656, !7, i64 660, !7, i64 664, !7, i64 668, !7, i64 672, !7, i64 676, !7, i64 680}
!13 = !{!"libxsmm_tile_config", !8, i64 0, !14, i64 2, !8, i64 4, !14, i64 6, !8, i64 8, !14, i64 10, !8, i64 12, !14, i64 14, !8, i64 16, !14, i64 18, !8, i64 20, !14, i64 22, !8, i64 24, !14, i64 26, !8, i64 28, !14, i64 30, !8, i64 32}
!14 = !{!"short", !8, i64 0}
!15 = !{!6, !7, i64 40}
!16 = !{!6, !7, i64 28}
!17 = !{!8, !8, i64 0}
!18 = !{!6, !7, i64 328}
!19 = !{!7, !7, i64 0}
!20 = !{!10, !10, i64 0}
!21 = !{!6, !7, i64 52}
!22 = !{!23, !7, i64 0}
!23 = !{!"libxsmm_matequation_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, !24, i64 72, !25, i64 220}
!24 = !{!"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}
!25 = !{!"libxsmm_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}


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