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

; 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_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_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_gemm_descriptor = type <{ i32, i32, i32, i32, i32, i32, i32, i8, [3 x i8], i8, i64, i64, i8, i32, i32, i32, i16, i16, i8, i8, i8, i8, i16, i16, i16, i16, i16, i16, i32, i32, i32, i8 }>

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

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1

declare void @libxsmm_aarch64_instruction_asimd_move(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #2

declare void @libxsmm_aarch64_instruction_alu_set_imm64(ptr noundef, i32 noundef, i64 noundef) #2

declare void @libxsmm_aarch64_instruction_alu_compute_shifted_reg(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #2

declare void @libxsmm_aarch64_instruction_asimd_compute(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i8 noundef zeroext, i32 noundef, i32 noundef) #2

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

; Function Attrs: nounwind uwtable
define dso_local void @libxsmm_generator_gemm_aarch64_microkernel_asimd_neoverse_v2(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6) #3 {
  %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 [3 x i32], align 4
  %21 = alloca i32, align 4
  %22 = alloca i32, align 4
  store ptr %0, ptr %8, align 8, !tbaa !5
  store ptr %1, ptr %9, align 8, !tbaa !5
  store ptr %2, ptr %10, align 8, !tbaa !5
  store ptr %3, ptr %11, align 8, !tbaa !5
  store i32 %4, ptr %12, align 4, !tbaa !9
  store i32 %5, ptr %13, align 4, !tbaa !9
  store i32 %6, ptr %14, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #4
  store i32 0, ptr %15, align 4, !tbaa !9
  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
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #4
  store i32 0, ptr %18, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #4
  %23 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %23, ptr %19, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 12, ptr %20) #4
  call void @llvm.memset.p0.i64(ptr align 4 %20, i8 0, i64 12, i1 false)
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #4
  store i32 0, ptr %21, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #4
  store i32 0, ptr %22, align 4, !tbaa !9
  %24 = load i32, ptr %12, align 4, !tbaa !9
  %25 = load ptr, ptr %10, align 8, !tbaa !5
  %26 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %25, i32 0, i32 2
  %27 = load i32, ptr %26, align 8, !tbaa !11
  %28 = udiv i32 %24, %27
  %29 = getelementptr inbounds [3 x i32], ptr %20, i64 0, i64 0
  store i32 %28, ptr %29, align 4, !tbaa !9
  %30 = load i32, ptr %12, align 4, !tbaa !9
  %31 = load ptr, ptr %10, align 8, !tbaa !5
  %32 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %31, i32 0, i32 2
  %33 = load i32, ptr %32, align 8, !tbaa !11
  %34 = urem i32 %30, %33
  %35 = load ptr, ptr %10, align 8, !tbaa !5
  %36 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %35, i32 0, i32 2
  %37 = load i32, ptr %36, align 8, !tbaa !11
  %38 = udiv i32 %37, 2
  %39 = udiv i32 %34, %38
  %40 = getelementptr inbounds [3 x i32], ptr %20, i64 0, i64 1
  store i32 %39, ptr %40, align 4, !tbaa !9
  %41 = load i32, ptr %12, align 4, !tbaa !9
  %42 = load ptr, ptr %10, align 8, !tbaa !5
  %43 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %42, i32 0, i32 2
  %44 = load i32, ptr %43, align 8, !tbaa !11
  %45 = urem i32 %41, %44
  %46 = load ptr, ptr %10, align 8, !tbaa !5
  %47 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %46, i32 0, i32 2
  %48 = load i32, ptr %47, align 8, !tbaa !11
  %49 = udiv i32 %48, 2
  %50 = urem i32 %45, %49
  %51 = getelementptr inbounds [3 x i32], ptr %20, i64 0, i64 2
  store i32 %50, ptr %51, align 4, !tbaa !9
  %52 = getelementptr inbounds [3 x i32], ptr %20, i64 0, i64 0
  %53 = load i32, ptr %52, align 4, !tbaa !9
  %54 = getelementptr inbounds [3 x i32], ptr %20, i64 0, i64 1
  %55 = load i32, ptr %54, align 4, !tbaa !9
  %56 = add i32 %53, %55
  %57 = getelementptr inbounds [3 x i32], ptr %20, i64 0, i64 2
  %58 = load i32, ptr %57, align 4, !tbaa !9
  %59 = add i32 %56, %58
  store i32 %59, ptr %21, align 4, !tbaa !9
  %60 = getelementptr inbounds [3 x i32], ptr %20, i64 0, i64 0
  %61 = load i32, ptr %60, align 4, !tbaa !9
  %62 = icmp eq i32 %61, 4
  br i1 %62, label %63, label %64

63:                                               ; preds = %7
  store i32 205529088, ptr %22, align 4, !tbaa !9
  br label %82

64:                                               ; preds = %7
  %65 = getelementptr inbounds [3 x i32], ptr %20, i64 0, i64 0
  %66 = load i32, ptr %65, align 4, !tbaa !9
  %67 = icmp eq i32 %66, 3
  br i1 %67, label %68, label %69

68:                                               ; preds = %64
  store i32 205545472, ptr %22, align 4, !tbaa !9
  br label %81

69:                                               ; preds = %64
  %70 = getelementptr inbounds [3 x i32], ptr %20, i64 0, i64 0
  %71 = load i32, ptr %70, align 4, !tbaa !9
  %72 = icmp eq i32 %71, 2
  br i1 %72, label %73, label %74

73:                                               ; preds = %69
  store i32 205561856, ptr %22, align 4, !tbaa !9
  br label %80

74:                                               ; preds = %69
  %75 = getelementptr inbounds [3 x i32], ptr %20, i64 0, i64 0
  %76 = load i32, ptr %75, align 4, !tbaa !9
  %77 = icmp eq i32 %76, 1
  br i1 %77, label %78, label %79

78:                                               ; preds = %74
  store i32 205549568, ptr %22, align 4, !tbaa !9
  br label %79

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

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

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

82:                                               ; preds = %81, %63
  %83 = load ptr, ptr %10, align 8, !tbaa !5
  %84 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %83, i32 0, i32 3
  %85 = load i32, ptr %84, align 4, !tbaa !15
  %86 = icmp eq i32 %85, 8
  br i1 %86, label %87, label %90

87:                                               ; preds = %82
  %88 = load i32, ptr %19, align 4, !tbaa !9
  %89 = urem i32 %88, 2
  store i32 %89, ptr %19, align 4, !tbaa !9
  br label %90

90:                                               ; preds = %87, %82
  %91 = load ptr, ptr %10, align 8, !tbaa !5
  %92 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %91, i32 0, i32 1
  %93 = load i32, ptr %92, align 4, !tbaa !16
  %94 = load i32, ptr %13, align 4, !tbaa !9
  %95 = load i32, ptr %21, align 4, !tbaa !9
  %96 = mul i32 %94, %95
  %97 = sub i32 %93, %96
  store i32 %97, ptr %17, align 4, !tbaa !9
  %98 = getelementptr inbounds [3 x i32], ptr %20, i64 0, i64 0
  %99 = load i32, ptr %98, align 4, !tbaa !9
  %100 = icmp ugt i32 %99, 0
  br i1 %100, label %101, label %120

101:                                              ; preds = %90
  %102 = load ptr, ptr %8, align 8, !tbaa !5
  %103 = load i32, ptr %22, align 4, !tbaa !9
  %104 = load ptr, ptr %9, align 8, !tbaa !5
  %105 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %104, i32 0, i32 1
  %106 = load i32, ptr %105, align 4, !tbaa !17
  %107 = load i32, ptr %13, align 4, !tbaa !9
  %108 = load i32, ptr %16, align 4, !tbaa !9
  %109 = add i32 %107, %108
  call void @libxsmm_aarch64_instruction_asimd_struct_r_move(ptr noundef %102, i32 noundef %103, i32 noundef %106, i32 noundef 127, i32 noundef %109, i32 noundef 5)
  %110 = load ptr, ptr %8, align 8, !tbaa !5
  %111 = load ptr, ptr %9, align 8, !tbaa !5
  %112 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %111, i32 0, i32 1
  %113 = load i32, ptr %112, align 4, !tbaa !17
  %114 = load ptr, ptr %9, align 8, !tbaa !5
  %115 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %114, i32 0, i32 1
  %116 = load i32, ptr %115, align 4, !tbaa !17
  %117 = getelementptr inbounds [3 x i32], ptr %20, i64 0, i64 0
  %118 = load i32, ptr %117, align 4, !tbaa !9
  %119 = mul i32 16, %118
  call void @libxsmm_aarch64_instruction_alu_compute_imm12(ptr noundef %110, i32 noundef 285212678, i32 noundef %113, i32 noundef %116, i32 noundef %119, i8 noundef zeroext 0)
  br label %120

120:                                              ; preds = %101, %90
  store i32 0, ptr %16, align 4, !tbaa !9
  br label %121

121:                                              ; preds = %137, %120
  %122 = load i32, ptr %16, align 4, !tbaa !9
  %123 = getelementptr inbounds [3 x i32], ptr %20, i64 0, i64 1
  %124 = load i32, ptr %123, align 4, !tbaa !9
  %125 = icmp ult i32 %122, %124
  br i1 %125, label %126, label %140

126:                                              ; preds = %121
  %127 = load ptr, ptr %8, align 8, !tbaa !5
  %128 = load ptr, ptr %9, align 8, !tbaa !5
  %129 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %128, i32 0, i32 1
  %130 = load i32, ptr %129, align 4, !tbaa !17
  %131 = load i32, ptr %13, align 4, !tbaa !9
  %132 = load i32, ptr %16, align 4, !tbaa !9
  %133 = add i32 %131, %132
  %134 = getelementptr inbounds [3 x i32], ptr %20, i64 0, i64 0
  %135 = load i32, ptr %134, align 4, !tbaa !9
  %136 = add i32 %133, %135
  call void @libxsmm_aarch64_instruction_asimd_move(ptr noundef %127, i32 noundef 1010828294, i32 noundef %130, i32 noundef 127, i32 noundef 8, i32 noundef %136, i32 noundef 6)
  br label %137

137:                                              ; preds = %126
  %138 = load i32, ptr %16, align 4, !tbaa !9
  %139 = add i32 %138, 1
  store i32 %139, ptr %16, align 4, !tbaa !9
  br label %121, !llvm.loop !19

140:                                              ; preds = %121
  store i32 0, ptr %16, align 4, !tbaa !9
  br label %141

141:                                              ; preds = %160, %140
  %142 = load i32, ptr %16, align 4, !tbaa !9
  %143 = getelementptr inbounds [3 x i32], ptr %20, i64 0, i64 2
  %144 = load i32, ptr %143, align 4, !tbaa !9
  %145 = icmp ult i32 %142, %144
  br i1 %145, label %146, label %163

146:                                              ; preds = %141
  %147 = load ptr, ptr %8, align 8, !tbaa !5
  %148 = load ptr, ptr %9, align 8, !tbaa !5
  %149 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %148, i32 0, i32 1
  %150 = load i32, ptr %149, align 4, !tbaa !17
  %151 = load i32, ptr %13, align 4, !tbaa !9
  %152 = load i32, ptr %16, align 4, !tbaa !9
  %153 = add i32 %151, %152
  %154 = getelementptr inbounds [3 x i32], ptr %20, i64 0, i64 0
  %155 = load i32, ptr %154, align 4, !tbaa !9
  %156 = add i32 %153, %155
  %157 = getelementptr inbounds [3 x i32], ptr %20, i64 0, i64 1
  %158 = load i32, ptr %157, align 4, !tbaa !9
  %159 = add i32 %156, %158
  call void @libxsmm_aarch64_instruction_asimd_move(ptr noundef %147, i32 noundef 1010828294, i32 noundef %150, i32 noundef 127, i32 noundef 4, i32 noundef %159, i32 noundef 4)
  br label %160

160:                                              ; preds = %146
  %161 = load i32, ptr %16, align 4, !tbaa !9
  %162 = add i32 %161, 1
  store i32 %162, ptr %16, align 4, !tbaa !9
  br label %141, !llvm.loop !21

163:                                              ; preds = %141
  store i32 0, ptr %15, align 4, !tbaa !9
  br label %164

164:                                              ; preds = %383, %163
  %165 = load i32, ptr %15, align 4, !tbaa !9
  %166 = load i32, ptr %13, align 4, !tbaa !9
  %167 = icmp ult i32 %165, %166
  br i1 %167, label %168, label %386

168:                                              ; preds = %164
  %169 = load i32, ptr %19, align 4, !tbaa !9
  %170 = icmp eq i32 %169, 0
  br i1 %170, label %171, label %233

171:                                              ; preds = %168
  %172 = load i32, ptr %13, align 4, !tbaa !9
  %173 = icmp ugt i32 %172, 6
  br i1 %173, label %174, label %211

174:                                              ; preds = %171
  %175 = load ptr, ptr %11, align 8, !tbaa !5
  %176 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %175, i32 0, i32 6
  %177 = load i32, ptr %176, align 1, !tbaa !22
  %178 = and i32 %177, 2
  %179 = icmp ugt i32 %178, 0
  br i1 %179, label %180, label %186

180:                                              ; preds = %174
  %181 = load i32, ptr %15, align 4, !tbaa !9
  %182 = load ptr, ptr %10, align 8, !tbaa !5
  %183 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %182, i32 0, i32 3
  %184 = load i32, ptr %183, align 4, !tbaa !15
  %185 = mul i32 %181, %184
  store i32 %185, ptr %18, align 4, !tbaa !9
  br label %196

186:                                              ; preds = %174
  %187 = load ptr, ptr %11, align 8, !tbaa !5
  %188 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %187, i32 0, i32 4
  %189 = load i32, ptr %188, align 1, !tbaa !25
  %190 = load i32, ptr %15, align 4, !tbaa !9
  %191 = mul i32 %189, %190
  %192 = load ptr, ptr %10, align 8, !tbaa !5
  %193 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %192, i32 0, i32 3
  %194 = load i32, ptr %193, align 4, !tbaa !15
  %195 = mul i32 %191, %194
  store i32 %195, ptr %18, align 4, !tbaa !9
  br label %196

196:                                              ; preds = %186, %180
  %197 = load ptr, ptr %8, align 8, !tbaa !5
  %198 = load ptr, ptr %9, align 8, !tbaa !5
  %199 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %198, i32 0, i32 24
  %200 = load i32, ptr %199, align 4, !tbaa !26
  %201 = load i32, ptr %18, align 4, !tbaa !9
  %202 = sext i32 %201 to i64
  call void @libxsmm_aarch64_instruction_alu_set_imm64(ptr noundef %197, i32 noundef %200, i64 noundef %202)
  %203 = load ptr, ptr %8, align 8, !tbaa !5
  %204 = load ptr, ptr %9, align 8, !tbaa !5
  %205 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %204, i32 0, i32 3
  %206 = load i32, ptr %205, align 4, !tbaa !27
  %207 = load ptr, ptr %9, align 8, !tbaa !5
  %208 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %207, i32 0, i32 24
  %209 = load i32, ptr %208, align 4, !tbaa !26
  %210 = load i32, ptr %15, align 4, !tbaa !9
  call void @libxsmm_aarch64_instruction_asimd_move(ptr noundef %203, i32 noundef 1012942851, i32 noundef %206, i32 noundef %209, i32 noundef 0, i32 noundef %210, i32 noundef 1)
  br label %232

211:                                              ; preds = %171
  %212 = load i32, ptr %15, align 4, !tbaa !9
  %213 = icmp eq i32 %212, 0
  br i1 %213, label %214, label %219

214:                                              ; preds = %211
  %215 = load ptr, ptr %8, align 8, !tbaa !5
  %216 = load ptr, ptr %9, align 8, !tbaa !5
  %217 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %216, i32 0, i32 3
  %218 = load i32, ptr %217, align 4, !tbaa !27
  call void @libxsmm_aarch64_instruction_asimd_move(ptr noundef %215, i32 noundef 1012942851, i32 noundef %218, i32 noundef 63, i32 noundef 0, i32 noundef 0, i32 noundef 1)
  br label %231

219:                                              ; preds = %211
  %220 = load ptr, ptr %8, align 8, !tbaa !5
  %221 = load ptr, ptr %9, align 8, !tbaa !5
  %222 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %221, i32 0, i32 3
  %223 = load i32, ptr %222, align 4, !tbaa !27
  %224 = load ptr, ptr %9, align 8, !tbaa !5
  %225 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %224, i32 0, i32 24
  %226 = load i32, ptr %225, align 4, !tbaa !26
  %227 = load i32, ptr %15, align 4, !tbaa !9
  %228 = sub i32 %227, 1
  %229 = add i32 %226, %228
  %230 = load i32, ptr %15, align 4, !tbaa !9
  call void @libxsmm_aarch64_instruction_asimd_move(ptr noundef %220, i32 noundef 1012942851, i32 noundef %223, i32 noundef %229, i32 noundef 0, i32 noundef %230, i32 noundef 1)
  br label %231

231:                                              ; preds = %219, %214
  br label %232

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

233:                                              ; preds = %232, %168
  %234 = load i32, ptr %15, align 4, !tbaa !9
  %235 = load i32, ptr %13, align 4, !tbaa !9
  %236 = sub i32 %235, 1
  %237 = icmp eq i32 %234, %236
  br i1 %237, label %238, label %259

238:                                              ; preds = %233
  %239 = load ptr, ptr %8, align 8, !tbaa !5
  %240 = load ptr, ptr %9, align 8, !tbaa !5
  %241 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %240, i32 0, i32 3
  %242 = load i32, ptr %241, align 4, !tbaa !27
  %243 = load ptr, ptr %9, align 8, !tbaa !5
  %244 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %243, i32 0, i32 23
  %245 = load i32, ptr %244, align 4, !tbaa !28
  %246 = load ptr, ptr %9, align 8, !tbaa !5
  %247 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %246, i32 0, i32 3
  %248 = load i32, ptr %247, align 4, !tbaa !27
  call void @libxsmm_aarch64_instruction_alu_compute_shifted_reg(ptr noundef %239, i32 noundef 184549383, i32 noundef %242, i32 noundef %245, i32 noundef %248, i32 noundef 0, i32 noundef 0)
  %249 = load ptr, ptr %8, align 8, !tbaa !5
  %250 = load ptr, ptr %9, align 8, !tbaa !5
  %251 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %250, i32 0, i32 1
  %252 = load i32, ptr %251, align 4, !tbaa !17
  %253 = load ptr, ptr %9, align 8, !tbaa !5
  %254 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %253, i32 0, i32 22
  %255 = load i32, ptr %254, align 4, !tbaa !29
  %256 = load ptr, ptr %9, align 8, !tbaa !5
  %257 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %256, i32 0, i32 1
  %258 = load i32, ptr %257, align 4, !tbaa !17
  call void @libxsmm_aarch64_instruction_alu_compute_shifted_reg(ptr noundef %249, i32 noundef 184549383, i32 noundef %252, i32 noundef %255, i32 noundef %258, i32 noundef 0, i32 noundef 0)
  br label %259

259:                                              ; preds = %238, %233
  store i32 0, ptr %16, align 4, !tbaa !9
  br label %260

260:                                              ; preds = %286, %259
  %261 = load i32, ptr %16, align 4, !tbaa !9
  %262 = getelementptr inbounds [3 x i32], ptr %20, i64 0, i64 0
  %263 = load i32, ptr %262, align 4, !tbaa !9
  %264 = icmp ult i32 %261, %263
  br i1 %264, label %265, label %289

265:                                              ; preds = %260
  %266 = load ptr, ptr %8, align 8, !tbaa !5
  %267 = load i32, ptr %13, align 4, !tbaa !9
  %268 = load i32, ptr %16, align 4, !tbaa !9
  %269 = add i32 %267, %268
  %270 = load i32, ptr %15, align 4, !tbaa !9
  %271 = load i32, ptr %19, align 4, !tbaa !9
  %272 = trunc i32 %271 to i8
  %273 = load i32, ptr %17, align 4, !tbaa !9
  %274 = load i32, ptr %16, align 4, !tbaa !9
  %275 = add i32 %273, %274
  %276 = load i32, ptr %21, align 4, !tbaa !9
  %277 = load i32, ptr %15, align 4, !tbaa !9
  %278 = mul i32 %276, %277
  %279 = add i32 %275, %278
  %280 = load ptr, ptr %10, align 8, !tbaa !5
  %281 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %280, i32 0, i32 3
  %282 = load i32, ptr %281, align 4, !tbaa !15
  %283 = icmp eq i32 %282, 4
  %284 = zext i1 %283 to i64
  %285 = select i1 %283, i32 5, i32 7
  call void @libxsmm_aarch64_instruction_asimd_compute(ptr noundef %266, i32 noundef 260050959, i32 noundef %269, i32 noundef %270, i8 noundef zeroext %272, i32 noundef %279, i32 noundef %285)
  br label %286

286:                                              ; preds = %265
  %287 = load i32, ptr %16, align 4, !tbaa !9
  %288 = add i32 %287, 1
  store i32 %288, ptr %16, align 4, !tbaa !9
  br label %260, !llvm.loop !30

289:                                              ; preds = %260
  store i32 0, ptr %16, align 4, !tbaa !9
  br label %290

290:                                              ; preds = %343, %289
  %291 = load i32, ptr %16, align 4, !tbaa !9
  %292 = getelementptr inbounds [3 x i32], ptr %20, i64 0, i64 1
  %293 = load i32, ptr %292, align 4, !tbaa !9
  %294 = icmp ult i32 %291, %293
  br i1 %294, label %295, label %346

295:                                              ; preds = %290
  %296 = load ptr, ptr %10, align 8, !tbaa !5
  %297 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %296, i32 0, i32 3
  %298 = load i32, ptr %297, align 4, !tbaa !15
  %299 = icmp eq i32 %298, 4
  br i1 %299, label %300, label %321

300:                                              ; preds = %295
  %301 = load ptr, ptr %8, align 8, !tbaa !5
  %302 = load i32, ptr %13, align 4, !tbaa !9
  %303 = load i32, ptr %16, align 4, !tbaa !9
  %304 = add i32 %302, %303
  %305 = getelementptr inbounds [3 x i32], ptr %20, i64 0, i64 0
  %306 = load i32, ptr %305, align 4, !tbaa !9
  %307 = add i32 %304, %306
  %308 = load i32, ptr %15, align 4, !tbaa !9
  %309 = load i32, ptr %19, align 4, !tbaa !9
  %310 = trunc i32 %309 to i8
  %311 = load i32, ptr %17, align 4, !tbaa !9
  %312 = load i32, ptr %16, align 4, !tbaa !9
  %313 = add i32 %311, %312
  %314 = getelementptr inbounds [3 x i32], ptr %20, i64 0, i64 0
  %315 = load i32, ptr %314, align 4, !tbaa !9
  %316 = add i32 %313, %315
  %317 = load i32, ptr %21, align 4, !tbaa !9
  %318 = load i32, ptr %15, align 4, !tbaa !9
  %319 = mul i32 %317, %318
  %320 = add i32 %316, %319
  call void @libxsmm_aarch64_instruction_asimd_compute(ptr noundef %301, i32 noundef 260050959, i32 noundef %307, i32 noundef %308, i8 noundef zeroext %310, i32 noundef %320, i32 noundef 4)
  br label %342

321:                                              ; preds = %295
  %322 = load ptr, ptr %8, align 8, !tbaa !5
  %323 = load i32, ptr %13, align 4, !tbaa !9
  %324 = load i32, ptr %16, align 4, !tbaa !9
  %325 = add i32 %323, %324
  %326 = getelementptr inbounds [3 x i32], ptr %20, i64 0, i64 0
  %327 = load i32, ptr %326, align 4, !tbaa !9
  %328 = add i32 %325, %327
  %329 = load i32, ptr %15, align 4, !tbaa !9
  %330 = load i32, ptr %19, align 4, !tbaa !9
  %331 = trunc i32 %330 to i8
  %332 = load i32, ptr %17, align 4, !tbaa !9
  %333 = load i32, ptr %16, align 4, !tbaa !9
  %334 = add i32 %332, %333
  %335 = getelementptr inbounds [3 x i32], ptr %20, i64 0, i64 0
  %336 = load i32, ptr %335, align 4, !tbaa !9
  %337 = add i32 %334, %336
  %338 = load i32, ptr %21, align 4, !tbaa !9
  %339 = load i32, ptr %15, align 4, !tbaa !9
  %340 = mul i32 %338, %339
  %341 = add i32 %337, %340
  call void @libxsmm_aarch64_instruction_asimd_compute(ptr noundef %322, i32 noundef 1602228239, i32 noundef %328, i32 noundef %329, i8 noundef zeroext %331, i32 noundef %341, i32 noundef 7)
  br label %342

342:                                              ; preds = %321, %300
  br label %343

343:                                              ; preds = %342
  %344 = load i32, ptr %16, align 4, !tbaa !9
  %345 = add i32 %344, 1
  store i32 %345, ptr %16, align 4, !tbaa !9
  br label %290, !llvm.loop !31

346:                                              ; preds = %290
  store i32 0, ptr %16, align 4, !tbaa !9
  br label %347

347:                                              ; preds = %379, %346
  %348 = load i32, ptr %16, align 4, !tbaa !9
  %349 = getelementptr inbounds [3 x i32], ptr %20, i64 0, i64 2
  %350 = load i32, ptr %349, align 4, !tbaa !9
  %351 = icmp ult i32 %348, %350
  br i1 %351, label %352, label %382

352:                                              ; preds = %347
  %353 = load ptr, ptr %8, align 8, !tbaa !5
  %354 = load i32, ptr %13, align 4, !tbaa !9
  %355 = load i32, ptr %16, align 4, !tbaa !9
  %356 = add i32 %354, %355
  %357 = getelementptr inbounds [3 x i32], ptr %20, i64 0, i64 0
  %358 = load i32, ptr %357, align 4, !tbaa !9
  %359 = add i32 %356, %358
  %360 = getelementptr inbounds [3 x i32], ptr %20, i64 0, i64 1
  %361 = load i32, ptr %360, align 4, !tbaa !9
  %362 = add i32 %359, %361
  %363 = load i32, ptr %15, align 4, !tbaa !9
  %364 = load i32, ptr %19, align 4, !tbaa !9
  %365 = trunc i32 %364 to i8
  %366 = load i32, ptr %17, align 4, !tbaa !9
  %367 = load i32, ptr %16, align 4, !tbaa !9
  %368 = add i32 %366, %367
  %369 = getelementptr inbounds [3 x i32], ptr %20, i64 0, i64 0
  %370 = load i32, ptr %369, align 4, !tbaa !9
  %371 = add i32 %368, %370
  %372 = getelementptr inbounds [3 x i32], ptr %20, i64 0, i64 1
  %373 = load i32, ptr %372, align 4, !tbaa !9
  %374 = add i32 %371, %373
  %375 = load i32, ptr %21, align 4, !tbaa !9
  %376 = load i32, ptr %15, align 4, !tbaa !9
  %377 = mul i32 %375, %376
  %378 = add i32 %374, %377
  call void @libxsmm_aarch64_instruction_asimd_compute(ptr noundef %353, i32 noundef 1602228239, i32 noundef %362, i32 noundef %363, i8 noundef zeroext %365, i32 noundef %378, i32 noundef 5)
  br label %379

379:                                              ; preds = %352
  %380 = load i32, ptr %16, align 4, !tbaa !9
  %381 = add i32 %380, 1
  store i32 %381, ptr %16, align 4, !tbaa !9
  br label %347, !llvm.loop !32

382:                                              ; preds = %347
  br label %383

383:                                              ; preds = %382
  %384 = load i32, ptr %15, align 4, !tbaa !9
  %385 = add i32 %384, 1
  store i32 %385, ptr %15, align 4, !tbaa !9
  br label %164, !llvm.loop !33

386:                                              ; preds = %164
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #4
  call void @llvm.lifetime.end.p0(i64 12, 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
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #4
  ret void
}

declare void @libxsmm_aarch64_instruction_asimd_struct_r_move(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #2

declare void @libxsmm_aarch64_instruction_alu_compute_imm12(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i8 noundef zeroext) #2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { "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 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 #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 8}
!12 = !{!"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, !13, 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}
!13 = !{!"libxsmm_tile_config", !7, i64 0, !14, i64 2, !7, i64 4, !14, i64 6, !7, i64 8, !14, i64 10, !7, i64 12, !14, i64 14, !7, i64 16, !14, i64 18, !7, i64 20, !14, i64 22, !7, i64 24, !14, i64 26, !7, i64 28, !14, i64 30, !7, i64 32}
!14 = !{!"short", !7, i64 0}
!15 = !{!12, !10, i64 12}
!16 = !{!12, !10, i64 4}
!17 = !{!18, !10, i64 4}
!18 = !{!"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}
!19 = distinct !{!19, !20}
!20 = !{!"llvm.loop.mustprogress"}
!21 = distinct !{!21, !20}
!22 = !{!23, !10, i64 24}
!23 = !{!"libxsmm_gemm_descriptor", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !10, i64 24, !7, i64 28, !7, i64 29, !7, i64 32, !24, i64 33, !24, i64 41, !7, i64 49, !10, i64 50, !10, i64 54, !10, i64 58, !14, i64 62, !14, i64 64, !7, i64 66, !7, i64 67, !7, i64 68, !7, i64 69, !14, i64 70, !14, i64 72, !14, i64 74, !14, i64 76, !14, i64 78, !14, i64 80, !10, i64 82, !10, i64 86, !10, i64 90, !7, i64 94}
!24 = !{!"long long", !7, i64 0}
!25 = !{!23, !10, i64 16}
!26 = !{!18, !10, i64 96}
!27 = !{!18, !10, i64 12}
!28 = !{!18, !10, i64 92}
!29 = !{!18, !10, i64 88}
!30 = distinct !{!30, !20}
!31 = distinct !{!31, !20}
!32 = distinct !{!32, !20}
!33 = distinct !{!33, !20}


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

@switch.table.libxsmm_generator_gemm_aarch64_microkernel_asimd_neoverse_v2 = private unnamed_addr constant [4 x i32] [i32 205549568, i32 205561856, i32 205545472, i32 205529088], align 4

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

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

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

declare void @libxsmm_aarch64_instruction_asimd_compute(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i8 noundef zeroext, i32 noundef, i32 noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
define dso_local void @libxsmm_generator_gemm_aarch64_microkernel_asimd_neoverse_v2(ptr noundef %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readonly %2, ptr nocapture noundef readonly %3, i32 noundef %4, i32 noundef %5, i32 noundef %6) local_unnamed_addr #1 {
  %8 = getelementptr inbounds i8, ptr %2, i64 8
  %9 = load i32, ptr %8, align 8, !tbaa !5
  %10 = udiv i32 %4, %9
  %11 = urem i32 %4, %9
  %12 = lshr i32 %9, 1
  %13 = udiv i32 %11, %12
  %14 = urem i32 %11, %12
  %15 = add i32 %13, %10
  %16 = add i32 %15, %14
  %switch.tableidx = add i32 %10, -1
  %17 = icmp ult i32 %switch.tableidx, 4
  br i1 %17, label %switch.lookup, label %.fold.split

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

.fold.split:                                      ; preds = %7, %switch.lookup
  %.0 = phi i32 [ %switch.load, %switch.lookup ], [ 0, %7 ]
  %19 = getelementptr inbounds i8, ptr %2, i64 12
  %20 = load i32, ptr %19, align 4, !tbaa !13
  %21 = icmp eq i32 %20, 8
  %22 = and i32 %6, 1
  %spec.select = select i1 %21, i32 %22, i32 %6
  %23 = getelementptr inbounds i8, ptr %2, i64 4
  %24 = load i32, ptr %23, align 4, !tbaa !14
  %25 = mul i32 %16, %5
  %26 = sub i32 %24, %25
  %.not = icmp ugt i32 %9, %4
  br i1 %.not, label %32, label %27

27:                                               ; preds = %.fold.split
  %28 = getelementptr inbounds i8, ptr %1, i64 4
  %29 = load i32, ptr %28, align 4, !tbaa !15
  tail call void @libxsmm_aarch64_instruction_asimd_struct_r_move(ptr noundef %0, i32 noundef %.0, i32 noundef %29, i32 noundef 127, i32 noundef %5, i32 noundef 5) #2
  %30 = load i32, ptr %28, align 4, !tbaa !15
  %31 = shl i32 %10, 4
  tail call void @libxsmm_aarch64_instruction_alu_compute_imm12(ptr noundef %0, i32 noundef 285212678, i32 noundef %30, i32 noundef %30, i32 noundef %31, i8 noundef zeroext 0) #2
  br label %32

32:                                               ; preds = %27, %.fold.split
  %.not181 = icmp ugt i32 %12, %11
  br i1 %.not181, label %.preheader168, label %.lr.ph

.lr.ph:                                           ; preds = %32
  %33 = getelementptr inbounds i8, ptr %1, i64 4
  %34 = add i32 %10, %5
  br label %38

.preheader168:                                    ; preds = %38, %32
  %.not182 = icmp eq i32 %14, 0
  br i1 %.not182, label %.preheader167, label %.lr.ph171

.lr.ph171:                                        ; preds = %.preheader168
  %35 = getelementptr inbounds i8, ptr %1, i64 4
  %36 = add i32 %10, %5
  %37 = add i32 %36, %13
  br label %58

38:                                               ; preds = %.lr.ph, %38
  %.0157169 = phi i32 [ 0, %.lr.ph ], [ %41, %38 ]
  %39 = load i32, ptr %33, align 4, !tbaa !15
  %40 = add i32 %34, %.0157169
  tail call void @libxsmm_aarch64_instruction_asimd_move(ptr noundef %0, i32 noundef 1010828294, i32 noundef %39, i32 noundef 127, i32 noundef 8, i32 noundef %40, i32 noundef 6) #2
  %41 = add nuw i32 %.0157169, 1
  %42 = icmp ult i32 %41, %13
  br i1 %42, label %38, label %.preheader168, !llvm.loop !17

.preheader167:                                    ; preds = %58, %.preheader168
  %.not183 = icmp eq i32 %5, 0
  br i1 %.not183, label %._crit_edge180, label %.lr.ph179

.lr.ph179:                                        ; preds = %.preheader167
  %43 = icmp eq i32 %spec.select, 0
  %44 = icmp ugt i32 %5, 6
  %45 = getelementptr inbounds i8, ptr %1, i64 12
  %46 = getelementptr inbounds i8, ptr %1, i64 96
  %47 = getelementptr inbounds i8, ptr %3, i64 24
  %48 = getelementptr inbounds i8, ptr %3, i64 16
  %49 = add i32 %5, -1
  %50 = getelementptr inbounds i8, ptr %1, i64 92
  %51 = getelementptr inbounds i8, ptr %1, i64 4
  %52 = getelementptr inbounds i8, ptr %1, i64 88
  %53 = trunc i32 %spec.select to i8
  %54 = add i32 %10, %5
  %55 = add i32 %26, %10
  %56 = add i32 %54, %13
  %57 = add i32 %15, %26
  br label %63

58:                                               ; preds = %.lr.ph171, %58
  %.1170 = phi i32 [ 0, %.lr.ph171 ], [ %61, %58 ]
  %59 = load i32, ptr %35, align 4, !tbaa !15
  %60 = add i32 %37, %.1170
  tail call void @libxsmm_aarch64_instruction_asimd_move(ptr noundef %0, i32 noundef 1010828294, i32 noundef %59, i32 noundef 127, i32 noundef 4, i32 noundef %60, i32 noundef 4) #2
  %61 = add nuw nsw i32 %.1170, 1
  %62 = icmp ult i32 %61, %14
  br i1 %62, label %58, label %.preheader167, !llvm.loop !19

63:                                               ; preds = %.lr.ph179, %._crit_edge
  %.0158178 = phi i32 [ 0, %.lr.ph179 ], [ %126, %._crit_edge ]
  br i1 %43, label %64, label %89

64:                                               ; preds = %63
  br i1 %44, label %65, label %81

65:                                               ; preds = %64
  %66 = load i32, ptr %47, align 1, !tbaa !20
  %67 = and i32 %66, 2
  %.not165 = icmp eq i32 %67, 0
  br i1 %.not165, label %71, label %68

68:                                               ; preds = %65
  %69 = load i32, ptr %19, align 4, !tbaa !13
  %70 = mul i32 %69, %.0158178
  br label %76

71:                                               ; preds = %65
  %72 = load i32, ptr %48, align 1, !tbaa !23
  %73 = mul i32 %72, %.0158178
  %74 = load i32, ptr %19, align 4, !tbaa !13
  %75 = mul i32 %73, %74
  br label %76

76:                                               ; preds = %71, %68
  %.0156 = phi i32 [ %70, %68 ], [ %75, %71 ]
  %77 = load i32, ptr %46, align 4, !tbaa !24
  %78 = sext i32 %.0156 to i64
  tail call void @libxsmm_aarch64_instruction_alu_set_imm64(ptr noundef %0, i32 noundef %77, i64 noundef %78) #2
  %79 = load i32, ptr %45, align 4, !tbaa !25
  %80 = load i32, ptr %46, align 4, !tbaa !24
  tail call void @libxsmm_aarch64_instruction_asimd_move(ptr noundef %0, i32 noundef 1012942851, i32 noundef %79, i32 noundef %80, i32 noundef 0, i32 noundef %.0158178, i32 noundef 1) #2
  br label %89

81:                                               ; preds = %64
  %82 = icmp eq i32 %.0158178, 0
  %83 = load i32, ptr %45, align 4, !tbaa !25
  br i1 %82, label %84, label %85

84:                                               ; preds = %81
  tail call void @libxsmm_aarch64_instruction_asimd_move(ptr noundef %0, i32 noundef 1012942851, i32 noundef %83, i32 noundef 63, i32 noundef 0, i32 noundef 0, i32 noundef 1) #2
  br label %89

85:                                               ; preds = %81
  %86 = load i32, ptr %46, align 4, !tbaa !24
  %87 = add i32 %.0158178, -1
  %88 = add i32 %87, %86
  tail call void @libxsmm_aarch64_instruction_asimd_move(ptr noundef %0, i32 noundef 1012942851, i32 noundef %83, i32 noundef %88, i32 noundef 0, i32 noundef %.0158178, i32 noundef 1) #2
  br label %89

89:                                               ; preds = %76, %85, %84, %63
  %90 = icmp eq i32 %.0158178, %49
  br i1 %90, label %91, label %96

91:                                               ; preds = %89
  %92 = load i32, ptr %45, align 4, !tbaa !25
  %93 = load i32, ptr %50, align 4, !tbaa !26
  tail call void @libxsmm_aarch64_instruction_alu_compute_shifted_reg(ptr noundef %0, i32 noundef 184549383, i32 noundef %92, i32 noundef %93, i32 noundef %92, i32 noundef 0, i32 noundef 0) #2
  %94 = load i32, ptr %51, align 4, !tbaa !15
  %95 = load i32, ptr %52, align 4, !tbaa !27
  tail call void @libxsmm_aarch64_instruction_alu_compute_shifted_reg(ptr noundef %0, i32 noundef 184549383, i32 noundef %94, i32 noundef %95, i32 noundef %94, i32 noundef 0, i32 noundef 0) #2
  br label %96

96:                                               ; preds = %91, %89
  br i1 %.not, label %.preheader166, label %.lr.ph173

.lr.ph173:                                        ; preds = %96
  %97 = mul i32 %.0158178, %16
  %98 = add i32 %97, %26
  br label %101

.preheader166:                                    ; preds = %101, %96
  br i1 %.not181, label %.preheader, label %.lr.ph175

.lr.ph175:                                        ; preds = %.preheader166
  %99 = mul i32 %.0158178, %16
  %100 = add i32 %55, %99
  br label %111

101:                                              ; preds = %.lr.ph173, %101
  %.2172 = phi i32 [ 0, %.lr.ph173 ], [ %107, %101 ]
  %102 = add i32 %.2172, %5
  %103 = add i32 %98, %.2172
  %104 = load i32, ptr %19, align 4, !tbaa !13
  %105 = icmp eq i32 %104, 4
  %106 = select i1 %105, i32 5, i32 7
  tail call void @libxsmm_aarch64_instruction_asimd_compute(ptr noundef %0, i32 noundef 260050959, i32 noundef %102, i32 noundef %.0158178, i8 noundef zeroext %53, i32 noundef %103, i32 noundef %106) #2
  %107 = add nuw i32 %.2172, 1
  %108 = icmp ult i32 %107, %10
  br i1 %108, label %101, label %.preheader166, !llvm.loop !28

.preheader:                                       ; preds = %118, %.preheader166
  br i1 %.not182, label %._crit_edge, label %.lr.ph177

.lr.ph177:                                        ; preds = %.preheader
  %109 = mul i32 %.0158178, %16
  %110 = add i32 %57, %109
  br label %121

111:                                              ; preds = %.lr.ph175, %118
  %.3174 = phi i32 [ 0, %.lr.ph175 ], [ %119, %118 ]
  %112 = load i32, ptr %19, align 4, !tbaa !13
  %113 = icmp eq i32 %112, 4
  %114 = add i32 %54, %.3174
  %115 = add i32 %100, %.3174
  br i1 %113, label %116, label %117

116:                                              ; preds = %111
  tail call void @libxsmm_aarch64_instruction_asimd_compute(ptr noundef %0, i32 noundef 260050959, i32 noundef %114, i32 noundef %.0158178, i8 noundef zeroext %53, i32 noundef %115, i32 noundef 4) #2
  br label %118

117:                                              ; preds = %111
  tail call void @libxsmm_aarch64_instruction_asimd_compute(ptr noundef %0, i32 noundef 1602228239, i32 noundef %114, i32 noundef %.0158178, i8 noundef zeroext %53, i32 noundef %115, i32 noundef 7) #2
  br label %118

118:                                              ; preds = %116, %117
  %119 = add nuw i32 %.3174, 1
  %120 = icmp ult i32 %119, %13
  br i1 %120, label %111, label %.preheader, !llvm.loop !29

121:                                              ; preds = %.lr.ph177, %121
  %.4176 = phi i32 [ 0, %.lr.ph177 ], [ %124, %121 ]
  %122 = add i32 %56, %.4176
  %123 = add i32 %110, %.4176
  tail call void @libxsmm_aarch64_instruction_asimd_compute(ptr noundef %0, i32 noundef 1602228239, i32 noundef %122, i32 noundef %.0158178, i8 noundef zeroext %53, i32 noundef %123, i32 noundef 5) #2
  %124 = add nuw nsw i32 %.4176, 1
  %125 = icmp ult i32 %124, %14
  br i1 %125, label %121, label %._crit_edge, !llvm.loop !30

._crit_edge:                                      ; preds = %121, %.preheader
  %126 = add nuw i32 %.0158178, 1
  %exitcond.not = icmp eq i32 %126, %5
  br i1 %exitcond.not, label %._crit_edge180, label %63, !llvm.loop !31

._crit_edge180:                                   ; preds = %._crit_edge, %.preheader167
  ret void
}

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

declare void @libxsmm_aarch64_instruction_alu_compute_imm12(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i8 noundef zeroext) local_unnamed_addr #0

attributes #0 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !7, i64 8}
!6 = !{!"libxsmm_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, !10, 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, !12, i64 592, !7, i64 600, !7, i64 604, !7, i64 608, !7, i64 612, !12, 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}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"libxsmm_tile_config", !8, i64 0, !11, i64 2, !8, i64 4, !11, i64 6, !8, i64 8, !11, i64 10, !8, i64 12, !11, i64 14, !8, i64 16, !11, i64 18, !8, i64 20, !11, i64 22, !8, i64 24, !11, i64 26, !8, i64 28, !11, i64 30, !8, i64 32}
!11 = !{!"short", !8, i64 0}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!6, !7, i64 12}
!14 = !{!6, !7, i64 4}
!15 = !{!16, !7, i64 4}
!16 = !{!"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}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
!19 = distinct !{!19, !18}
!20 = !{!21, !7, i64 24}
!21 = !{!"libxsmm_gemm_descriptor", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20, !7, i64 24, !8, i64 28, !8, i64 29, !8, i64 32, !22, i64 33, !22, i64 41, !8, i64 49, !7, i64 50, !7, i64 54, !7, i64 58, !11, i64 62, !11, i64 64, !8, i64 66, !8, i64 67, !8, i64 68, !8, i64 69, !11, i64 70, !11, i64 72, !11, i64 74, !11, i64 76, !11, i64 78, !11, i64 80, !7, i64 82, !7, i64 86, !7, i64 90, !8, i64 94}
!22 = !{!"long long", !8, i64 0}
!23 = !{!21, !7, i64 16}
!24 = !{!16, !7, i64 96}
!25 = !{!16, !7, i64 12}
!26 = !{!16, !7, i64 92}
!27 = !{!16, !7, i64 88}
!28 = distinct !{!28, !18}
!29 = distinct !{!29, !18}
!30 = distinct !{!30, !18}
!31 = distinct !{!31, !18}


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