; LLVM IR from libxsmm/libxsmm :: src (generator_packed_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_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 }>
%struct.libxsmm_generated_code = type { ptr, i32, i32, i32, i32, i32, i32 }
%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 }

; 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 nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

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

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

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

; Function Attrs: nounwind uwtable
define dso_local void @libxsmm_generator_packed_gemm_aarch64_kloop(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, i32 noundef %5, i32 noundef %6, i32 noundef %7) #2 {
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %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 ptr, align 8
  store ptr %0, ptr %9, align 8, !tbaa !5
  store ptr %1, ptr %10, align 8, !tbaa !5
  store ptr %2, ptr %11, align 8, !tbaa !5
  store ptr %3, ptr %12, align 8, !tbaa !5
  store ptr %4, ptr %13, align 8, !tbaa !5
  store i32 %5, ptr %14, align 4, !tbaa !9
  store i32 %6, ptr %15, align 4, !tbaa !9
  store i32 %7, ptr %16, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #3
  store i32 0, ptr %17, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #3
  store i32 0, ptr %18, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #3
  store i32 0, ptr %19, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #3
  %21 = load ptr, ptr %13, align 8, !tbaa !5
  %22 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %21, i32 0, i32 8
  %23 = getelementptr inbounds [3 x i8], ptr %22, i64 0, i64 0
  %24 = call i32 @LIBXSMM_GEMM_GETENUM_AB_COMMON_PREC(ptr noundef %23)
  %25 = icmp eq i32 0, %24
  br i1 %25, label %26, label %48

26:                                               ; preds = %8
  %27 = load ptr, ptr %9, align 8, !tbaa !5
  %28 = getelementptr inbounds %struct.libxsmm_generated_code, ptr %27, i32 0, i32 6
  %29 = load i32, ptr %28, align 4, !tbaa !11
  %30 = icmp uge i32 %29, 2201
  br i1 %30, label %31, label %46

31:                                               ; preds = %26
  %32 = load ptr, ptr %9, align 8, !tbaa !5
  %33 = getelementptr inbounds %struct.libxsmm_generated_code, ptr %32, i32 0, i32 6
  %34 = load i32, ptr %33, align 4, !tbaa !11
  %35 = icmp ult i32 %34, 2301
  br i1 %35, label %36, label %37

36:                                               ; preds = %31
  store i32 2, ptr %19, align 4, !tbaa !9
  br label %45

37:                                               ; preds = %31
  %38 = load ptr, ptr %9, align 8, !tbaa !5
  %39 = getelementptr inbounds %struct.libxsmm_generated_code, ptr %38, i32 0, i32 6
  %40 = load i32, ptr %39, align 4, !tbaa !11
  %41 = icmp ult i32 %40, 2401
  br i1 %41, label %42, label %43

42:                                               ; preds = %37
  store i32 4, ptr %19, align 4, !tbaa !9
  br label %44

43:                                               ; preds = %37
  store i32 8, ptr %19, align 4, !tbaa !9
  br label %44

44:                                               ; preds = %43, %42
  br label %45

45:                                               ; preds = %44, %36
  br label %47

46:                                               ; preds = %26
  store i32 2, ptr %19, align 4, !tbaa !9
  br label %47

47:                                               ; preds = %46, %45
  br label %70

48:                                               ; preds = %8
  %49 = load ptr, ptr %9, align 8, !tbaa !5
  %50 = getelementptr inbounds %struct.libxsmm_generated_code, ptr %49, i32 0, i32 6
  %51 = load i32, ptr %50, align 4, !tbaa !11
  %52 = icmp uge i32 %51, 2201
  br i1 %52, label %53, label %68

53:                                               ; preds = %48
  %54 = load ptr, ptr %9, align 8, !tbaa !5
  %55 = getelementptr inbounds %struct.libxsmm_generated_code, ptr %54, i32 0, i32 6
  %56 = load i32, ptr %55, align 4, !tbaa !11
  %57 = icmp ult i32 %56, 2301
  br i1 %57, label %58, label %59

58:                                               ; preds = %53
  store i32 4, ptr %19, align 4, !tbaa !9
  br label %67

59:                                               ; preds = %53
  %60 = load ptr, ptr %9, align 8, !tbaa !5
  %61 = getelementptr inbounds %struct.libxsmm_generated_code, ptr %60, i32 0, i32 6
  %62 = load i32, ptr %61, align 4, !tbaa !11
  %63 = icmp ult i32 %62, 2401
  br i1 %63, label %64, label %65

64:                                               ; preds = %59
  store i32 8, ptr %19, align 4, !tbaa !9
  br label %66

65:                                               ; preds = %59
  store i32 16, ptr %19, align 4, !tbaa !9
  br label %66

66:                                               ; preds = %65, %64
  br label %67

67:                                               ; preds = %66, %58
  br label %69

68:                                               ; preds = %48
  store i32 4, ptr %19, align 4, !tbaa !9
  br label %69

69:                                               ; preds = %68, %67
  br label %70

70:                                               ; preds = %69, %47
  store ptr @libxsmm_generator_packed_gemm_aarch64_kloop_simd_packed, ptr %20, align 8, !tbaa !5
  %71 = load i32, ptr %14, align 4, !tbaa !9
  %72 = load i32, ptr %19, align 4, !tbaa !9
  %73 = urem i32 %71, %72
  store i32 %73, ptr %17, align 4, !tbaa !9
  %74 = load i32, ptr %14, align 4, !tbaa !9
  %75 = load i32, ptr %19, align 4, !tbaa !9
  %76 = udiv i32 %74, %75
  store i32 %76, ptr %18, align 4, !tbaa !9
  %77 = load ptr, ptr %9, align 8, !tbaa !5
  %78 = getelementptr inbounds %struct.libxsmm_generated_code, ptr %77, i32 0, i32 6
  %79 = load i32, ptr %78, align 4, !tbaa !11
  %80 = icmp uge i32 %79, 2201
  br i1 %80, label %81, label %96

81:                                               ; preds = %70
  %82 = load ptr, ptr %9, align 8, !tbaa !5
  %83 = getelementptr inbounds %struct.libxsmm_generated_code, ptr %82, i32 0, i32 6
  %84 = load i32, ptr %83, align 4, !tbaa !11
  %85 = icmp ule i32 %84, 2999
  br i1 %85, label %86, label %96

86:                                               ; preds = %81
  %87 = load ptr, ptr %9, align 8, !tbaa !5
  %88 = load i32, ptr %17, align 4, !tbaa !9
  %89 = load ptr, ptr %12, align 8, !tbaa !5
  %90 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %89, i32 0, i32 3
  %91 = load i32, ptr %90, align 4, !tbaa !13
  %92 = mul i32 %88, %91
  %93 = load ptr, ptr %11, align 8, !tbaa !5
  %94 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %93, i32 0, i32 22
  %95 = load i32, ptr %94, align 4, !tbaa !17
  call void @libxsmm_generator_set_p_register_aarch64_sve(ptr noundef %87, i32 noundef 1, i32 noundef %92, i32 noundef %95)
  br label %96

96:                                               ; preds = %86, %81, %70
  %97 = load i32, ptr %19, align 4, !tbaa !9
  %98 = load i32, ptr %14, align 4, !tbaa !9
  %99 = icmp eq i32 %97, %98
  br i1 %99, label %100, label %112

100:                                              ; preds = %96
  %101 = load ptr, ptr %20, align 8, !tbaa !5
  %102 = load ptr, ptr %9, align 8, !tbaa !5
  %103 = load ptr, ptr %10, align 8, !tbaa !5
  %104 = load ptr, ptr %11, align 8, !tbaa !5
  %105 = load ptr, ptr %12, align 8, !tbaa !5
  %106 = load ptr, ptr %13, align 8, !tbaa !5
  %107 = load i32, ptr %14, align 4, !tbaa !9
  %108 = load i32, ptr %19, align 4, !tbaa !9
  %109 = load i32, ptr %19, align 4, !tbaa !9
  %110 = load i32, ptr %15, align 4, !tbaa !9
  %111 = load i32, ptr %16, align 4, !tbaa !9
  call void %101(ptr noundef %102, ptr noundef %103, ptr noundef %104, ptr noundef %105, ptr noundef %106, i32 noundef %107, i32 noundef %108, i32 noundef %109, i32 noundef %110, i32 noundef %111)
  br label %416

112:                                              ; preds = %96
  %113 = load i32, ptr %17, align 4, !tbaa !9
  %114 = icmp eq i32 %113, 0
  br i1 %114, label %115, label %250

115:                                              ; preds = %112
  %116 = load ptr, ptr %9, align 8, !tbaa !5
  %117 = load ptr, ptr %10, align 8, !tbaa !5
  %118 = load ptr, ptr %11, align 8, !tbaa !5
  %119 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %118, i32 0, i32 25
  %120 = load i32, ptr %119, align 4, !tbaa !19
  %121 = load i32, ptr %14, align 4, !tbaa !9
  call void @libxsmm_generator_loop_header_aarch64(ptr noundef %116, ptr noundef %117, i32 noundef %120, i32 noundef %121)
  %122 = load ptr, ptr %20, align 8, !tbaa !5
  %123 = load ptr, ptr %9, align 8, !tbaa !5
  %124 = load ptr, ptr %10, align 8, !tbaa !5
  %125 = load ptr, ptr %11, align 8, !tbaa !5
  %126 = load ptr, ptr %12, align 8, !tbaa !5
  %127 = load ptr, ptr %13, align 8, !tbaa !5
  %128 = load i32, ptr %14, align 4, !tbaa !9
  %129 = load i32, ptr %19, align 4, !tbaa !9
  %130 = load i32, ptr %19, align 4, !tbaa !9
  %131 = load i32, ptr %15, align 4, !tbaa !9
  %132 = load i32, ptr %16, align 4, !tbaa !9
  call void %122(ptr noundef %123, ptr noundef %124, ptr noundef %125, ptr noundef %126, ptr noundef %127, i32 noundef %128, i32 noundef %129, i32 noundef %130, i32 noundef %131, i32 noundef %132)
  %133 = load ptr, ptr %9, align 8, !tbaa !5
  %134 = load ptr, ptr %11, align 8, !tbaa !5
  %135 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %134, i32 0, i32 1
  %136 = load i32, ptr %135, align 4, !tbaa !20
  %137 = load ptr, ptr %11, align 8, !tbaa !5
  %138 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %137, i32 0, i32 22
  %139 = load i32, ptr %138, align 4, !tbaa !17
  %140 = load ptr, ptr %11, align 8, !tbaa !5
  %141 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %140, i32 0, i32 1
  %142 = load i32, ptr %141, align 4, !tbaa !20
  %143 = load i32, ptr %19, align 4, !tbaa !9
  %144 = zext i32 %143 to i64
  %145 = load ptr, ptr %12, align 8, !tbaa !5
  %146 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %145, i32 0, i32 3
  %147 = load i32, ptr %146, align 4, !tbaa !13
  %148 = zext i32 %147 to i64
  %149 = mul nsw i64 %144, %148
  call void @libxsmm_aarch64_instruction_alu_compute_imm64(ptr noundef %133, i32 noundef 4096, i32 noundef %136, i32 noundef %139, i32 noundef %142, i64 noundef %149)
  %150 = load ptr, ptr %9, align 8, !tbaa !5
  %151 = load ptr, ptr %11, align 8, !tbaa !5
  %152 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %151, i32 0, i32 3
  %153 = load i32, ptr %152, align 4, !tbaa !21
  %154 = load ptr, ptr %11, align 8, !tbaa !5
  %155 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %154, i32 0, i32 23
  %156 = load i32, ptr %155, align 4, !tbaa !22
  %157 = load ptr, ptr %11, align 8, !tbaa !5
  %158 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %157, i32 0, i32 3
  %159 = load i32, ptr %158, align 4, !tbaa !21
  %160 = load i32, ptr %19, align 4, !tbaa !9
  %161 = zext i32 %160 to i64
  %162 = load ptr, ptr %12, align 8, !tbaa !5
  %163 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %162, i32 0, i32 3
  %164 = load i32, ptr %163, align 4, !tbaa !13
  %165 = zext i32 %164 to i64
  %166 = mul nsw i64 %161, %165
  call void @libxsmm_aarch64_instruction_alu_compute_imm64(ptr noundef %150, i32 noundef 4096, i32 noundef %153, i32 noundef %156, i32 noundef %159, i64 noundef %166)
  %167 = load ptr, ptr %9, align 8, !tbaa !5
  %168 = load ptr, ptr %11, align 8, !tbaa !5
  %169 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %168, i32 0, i32 5
  %170 = load i32, ptr %169, align 4, !tbaa !23
  %171 = load ptr, ptr %11, align 8, !tbaa !5
  %172 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %171, i32 0, i32 24
  %173 = load i32, ptr %172, align 4, !tbaa !24
  %174 = load ptr, ptr %11, align 8, !tbaa !5
  %175 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %174, i32 0, i32 5
  %176 = load i32, ptr %175, align 4, !tbaa !23
  %177 = load i32, ptr %19, align 4, !tbaa !9
  %178 = zext i32 %177 to i64
  %179 = load ptr, ptr %12, align 8, !tbaa !5
  %180 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %179, i32 0, i32 5
  %181 = load i32, ptr %180, align 4, !tbaa !25
  %182 = zext i32 %181 to i64
  %183 = mul nsw i64 %178, %182
  call void @libxsmm_aarch64_instruction_alu_compute_imm64(ptr noundef %167, i32 noundef 4096, i32 noundef %170, i32 noundef %173, i32 noundef %176, i64 noundef %183)
  %184 = load ptr, ptr %9, align 8, !tbaa !5
  %185 = load ptr, ptr %10, align 8, !tbaa !5
  %186 = load ptr, ptr %11, align 8, !tbaa !5
  %187 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %186, i32 0, i32 25
  %188 = load i32, ptr %187, align 4, !tbaa !19
  %189 = load i32, ptr %19, align 4, !tbaa !9
  call void @libxsmm_generator_loop_footer_aarch64(ptr noundef %184, ptr noundef %185, i32 noundef %188, i32 noundef %189)
  %190 = load ptr, ptr %9, align 8, !tbaa !5
  %191 = load ptr, ptr %11, align 8, !tbaa !5
  %192 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %191, i32 0, i32 1
  %193 = load i32, ptr %192, align 4, !tbaa !20
  %194 = load ptr, ptr %11, align 8, !tbaa !5
  %195 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %194, i32 0, i32 22
  %196 = load i32, ptr %195, align 4, !tbaa !17
  %197 = load ptr, ptr %11, align 8, !tbaa !5
  %198 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %197, i32 0, i32 1
  %199 = load i32, ptr %198, align 4, !tbaa !20
  %200 = load i32, ptr %18, align 4, !tbaa !9
  %201 = zext i32 %200 to i64
  %202 = load i32, ptr %19, align 4, !tbaa !9
  %203 = zext i32 %202 to i64
  %204 = mul nsw i64 %201, %203
  %205 = load ptr, ptr %12, align 8, !tbaa !5
  %206 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %205, i32 0, i32 3
  %207 = load i32, ptr %206, align 4, !tbaa !13
  %208 = zext i32 %207 to i64
  %209 = mul nsw i64 %204, %208
  call void @libxsmm_aarch64_instruction_alu_compute_imm64(ptr noundef %190, i32 noundef 4097, i32 noundef %193, i32 noundef %196, i32 noundef %199, i64 noundef %209)
  %210 = load ptr, ptr %9, align 8, !tbaa !5
  %211 = load ptr, ptr %11, align 8, !tbaa !5
  %212 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %211, i32 0, i32 3
  %213 = load i32, ptr %212, align 4, !tbaa !21
  %214 = load ptr, ptr %11, align 8, !tbaa !5
  %215 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %214, i32 0, i32 23
  %216 = load i32, ptr %215, align 4, !tbaa !22
  %217 = load ptr, ptr %11, align 8, !tbaa !5
  %218 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %217, i32 0, i32 3
  %219 = load i32, ptr %218, align 4, !tbaa !21
  %220 = load i32, ptr %18, align 4, !tbaa !9
  %221 = zext i32 %220 to i64
  %222 = load i32, ptr %19, align 4, !tbaa !9
  %223 = zext i32 %222 to i64
  %224 = mul nsw i64 %221, %223
  %225 = load ptr, ptr %12, align 8, !tbaa !5
  %226 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %225, i32 0, i32 3
  %227 = load i32, ptr %226, align 4, !tbaa !13
  %228 = zext i32 %227 to i64
  %229 = mul nsw i64 %224, %228
  call void @libxsmm_aarch64_instruction_alu_compute_imm64(ptr noundef %210, i32 noundef 4097, i32 noundef %213, i32 noundef %216, i32 noundef %219, i64 noundef %229)
  %230 = load ptr, ptr %9, align 8, !tbaa !5
  %231 = load ptr, ptr %11, align 8, !tbaa !5
  %232 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %231, i32 0, i32 5
  %233 = load i32, ptr %232, align 4, !tbaa !23
  %234 = load ptr, ptr %11, align 8, !tbaa !5
  %235 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %234, i32 0, i32 24
  %236 = load i32, ptr %235, align 4, !tbaa !24
  %237 = load ptr, ptr %11, align 8, !tbaa !5
  %238 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %237, i32 0, i32 5
  %239 = load i32, ptr %238, align 4, !tbaa !23
  %240 = load i32, ptr %18, align 4, !tbaa !9
  %241 = zext i32 %240 to i64
  %242 = load i32, ptr %19, align 4, !tbaa !9
  %243 = zext i32 %242 to i64
  %244 = mul nsw i64 %241, %243
  %245 = load ptr, ptr %12, align 8, !tbaa !5
  %246 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %245, i32 0, i32 5
  %247 = load i32, ptr %246, align 4, !tbaa !25
  %248 = zext i32 %247 to i64
  %249 = mul nsw i64 %244, %248
  call void @libxsmm_aarch64_instruction_alu_compute_imm64(ptr noundef %230, i32 noundef 4097, i32 noundef %233, i32 noundef %236, i32 noundef %239, i64 noundef %249)
  br label %415

250:                                              ; preds = %112
  %251 = load i32, ptr %19, align 4, !tbaa !9
  %252 = load i32, ptr %14, align 4, !tbaa !9
  %253 = icmp ugt i32 %251, %252
  br i1 %253, label %254, label %266

254:                                              ; preds = %250
  %255 = load ptr, ptr %20, align 8, !tbaa !5
  %256 = load ptr, ptr %9, align 8, !tbaa !5
  %257 = load ptr, ptr %10, align 8, !tbaa !5
  %258 = load ptr, ptr %11, align 8, !tbaa !5
  %259 = load ptr, ptr %12, align 8, !tbaa !5
  %260 = load ptr, ptr %13, align 8, !tbaa !5
  %261 = load i32, ptr %14, align 4, !tbaa !9
  %262 = load i32, ptr %19, align 4, !tbaa !9
  %263 = load i32, ptr %17, align 4, !tbaa !9
  %264 = load i32, ptr %15, align 4, !tbaa !9
  %265 = load i32, ptr %16, align 4, !tbaa !9
  call void %255(ptr noundef %256, ptr noundef %257, ptr noundef %258, ptr noundef %259, ptr noundef %260, i32 noundef %261, i32 noundef %262, i32 noundef %263, i32 noundef %264, i32 noundef %265)
  br label %414

266:                                              ; preds = %250
  %267 = load ptr, ptr %9, align 8, !tbaa !5
  %268 = load ptr, ptr %10, align 8, !tbaa !5
  %269 = load ptr, ptr %11, align 8, !tbaa !5
  %270 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %269, i32 0, i32 25
  %271 = load i32, ptr %270, align 4, !tbaa !19
  %272 = load i32, ptr %14, align 4, !tbaa !9
  %273 = load i32, ptr %17, align 4, !tbaa !9
  %274 = sub i32 %272, %273
  call void @libxsmm_generator_loop_header_aarch64(ptr noundef %267, ptr noundef %268, i32 noundef %271, i32 noundef %274)
  %275 = load ptr, ptr %20, align 8, !tbaa !5
  %276 = load ptr, ptr %9, align 8, !tbaa !5
  %277 = load ptr, ptr %10, align 8, !tbaa !5
  %278 = load ptr, ptr %11, align 8, !tbaa !5
  %279 = load ptr, ptr %12, align 8, !tbaa !5
  %280 = load ptr, ptr %13, align 8, !tbaa !5
  %281 = load i32, ptr %14, align 4, !tbaa !9
  %282 = load i32, ptr %19, align 4, !tbaa !9
  %283 = load i32, ptr %19, align 4, !tbaa !9
  %284 = load i32, ptr %15, align 4, !tbaa !9
  %285 = load i32, ptr %16, align 4, !tbaa !9
  call void %275(ptr noundef %276, ptr noundef %277, ptr noundef %278, ptr noundef %279, ptr noundef %280, i32 noundef %281, i32 noundef %282, i32 noundef %283, i32 noundef %284, i32 noundef %285)
  %286 = load ptr, ptr %9, align 8, !tbaa !5
  %287 = load ptr, ptr %11, align 8, !tbaa !5
  %288 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %287, i32 0, i32 1
  %289 = load i32, ptr %288, align 4, !tbaa !20
  %290 = load ptr, ptr %11, align 8, !tbaa !5
  %291 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %290, i32 0, i32 22
  %292 = load i32, ptr %291, align 4, !tbaa !17
  %293 = load ptr, ptr %11, align 8, !tbaa !5
  %294 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %293, i32 0, i32 1
  %295 = load i32, ptr %294, align 4, !tbaa !20
  %296 = load i32, ptr %19, align 4, !tbaa !9
  %297 = zext i32 %296 to i64
  %298 = load ptr, ptr %12, align 8, !tbaa !5
  %299 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %298, i32 0, i32 3
  %300 = load i32, ptr %299, align 4, !tbaa !13
  %301 = zext i32 %300 to i64
  %302 = mul nsw i64 %297, %301
  call void @libxsmm_aarch64_instruction_alu_compute_imm64(ptr noundef %286, i32 noundef 4096, i32 noundef %289, i32 noundef %292, i32 noundef %295, i64 noundef %302)
  %303 = load ptr, ptr %9, align 8, !tbaa !5
  %304 = load ptr, ptr %11, align 8, !tbaa !5
  %305 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %304, i32 0, i32 3
  %306 = load i32, ptr %305, align 4, !tbaa !21
  %307 = load ptr, ptr %11, align 8, !tbaa !5
  %308 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %307, i32 0, i32 23
  %309 = load i32, ptr %308, align 4, !tbaa !22
  %310 = load ptr, ptr %11, align 8, !tbaa !5
  %311 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %310, i32 0, i32 3
  %312 = load i32, ptr %311, align 4, !tbaa !21
  %313 = load i32, ptr %19, align 4, !tbaa !9
  %314 = zext i32 %313 to i64
  %315 = load ptr, ptr %12, align 8, !tbaa !5
  %316 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %315, i32 0, i32 3
  %317 = load i32, ptr %316, align 4, !tbaa !13
  %318 = zext i32 %317 to i64
  %319 = mul nsw i64 %314, %318
  call void @libxsmm_aarch64_instruction_alu_compute_imm64(ptr noundef %303, i32 noundef 4096, i32 noundef %306, i32 noundef %309, i32 noundef %312, i64 noundef %319)
  %320 = load ptr, ptr %9, align 8, !tbaa !5
  %321 = load ptr, ptr %11, align 8, !tbaa !5
  %322 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %321, i32 0, i32 5
  %323 = load i32, ptr %322, align 4, !tbaa !23
  %324 = load ptr, ptr %11, align 8, !tbaa !5
  %325 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %324, i32 0, i32 24
  %326 = load i32, ptr %325, align 4, !tbaa !24
  %327 = load ptr, ptr %11, align 8, !tbaa !5
  %328 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %327, i32 0, i32 5
  %329 = load i32, ptr %328, align 4, !tbaa !23
  %330 = load i32, ptr %19, align 4, !tbaa !9
  %331 = zext i32 %330 to i64
  %332 = load ptr, ptr %12, align 8, !tbaa !5
  %333 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %332, i32 0, i32 5
  %334 = load i32, ptr %333, align 4, !tbaa !25
  %335 = zext i32 %334 to i64
  %336 = mul nsw i64 %331, %335
  call void @libxsmm_aarch64_instruction_alu_compute_imm64(ptr noundef %320, i32 noundef 4096, i32 noundef %323, i32 noundef %326, i32 noundef %329, i64 noundef %336)
  %337 = load ptr, ptr %9, align 8, !tbaa !5
  %338 = load ptr, ptr %10, align 8, !tbaa !5
  %339 = load ptr, ptr %11, align 8, !tbaa !5
  %340 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %339, i32 0, i32 25
  %341 = load i32, ptr %340, align 4, !tbaa !19
  %342 = load i32, ptr %19, align 4, !tbaa !9
  call void @libxsmm_generator_loop_footer_aarch64(ptr noundef %337, ptr noundef %338, i32 noundef %341, i32 noundef %342)
  %343 = load ptr, ptr %20, align 8, !tbaa !5
  %344 = load ptr, ptr %9, align 8, !tbaa !5
  %345 = load ptr, ptr %10, align 8, !tbaa !5
  %346 = load ptr, ptr %11, align 8, !tbaa !5
  %347 = load ptr, ptr %12, align 8, !tbaa !5
  %348 = load ptr, ptr %13, align 8, !tbaa !5
  %349 = load i32, ptr %14, align 4, !tbaa !9
  %350 = load i32, ptr %19, align 4, !tbaa !9
  %351 = load i32, ptr %17, align 4, !tbaa !9
  %352 = load i32, ptr %15, align 4, !tbaa !9
  %353 = load i32, ptr %16, align 4, !tbaa !9
  call void %343(ptr noundef %344, ptr noundef %345, ptr noundef %346, ptr noundef %347, ptr noundef %348, i32 noundef %349, i32 noundef %350, i32 noundef %351, i32 noundef %352, i32 noundef %353)
  %354 = load ptr, ptr %9, align 8, !tbaa !5
  %355 = load ptr, ptr %11, align 8, !tbaa !5
  %356 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %355, i32 0, i32 1
  %357 = load i32, ptr %356, align 4, !tbaa !20
  %358 = load ptr, ptr %11, align 8, !tbaa !5
  %359 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %358, i32 0, i32 22
  %360 = load i32, ptr %359, align 4, !tbaa !17
  %361 = load ptr, ptr %11, align 8, !tbaa !5
  %362 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %361, i32 0, i32 1
  %363 = load i32, ptr %362, align 4, !tbaa !20
  %364 = load i32, ptr %18, align 4, !tbaa !9
  %365 = zext i32 %364 to i64
  %366 = load i32, ptr %19, align 4, !tbaa !9
  %367 = zext i32 %366 to i64
  %368 = mul nsw i64 %365, %367
  %369 = load ptr, ptr %12, align 8, !tbaa !5
  %370 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %369, i32 0, i32 3
  %371 = load i32, ptr %370, align 4, !tbaa !13
  %372 = zext i32 %371 to i64
  %373 = mul nsw i64 %368, %372
  call void @libxsmm_aarch64_instruction_alu_compute_imm64(ptr noundef %354, i32 noundef 4097, i32 noundef %357, i32 noundef %360, i32 noundef %363, i64 noundef %373)
  %374 = load ptr, ptr %9, align 8, !tbaa !5
  %375 = load ptr, ptr %11, align 8, !tbaa !5
  %376 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %375, i32 0, i32 3
  %377 = load i32, ptr %376, align 4, !tbaa !21
  %378 = load ptr, ptr %11, align 8, !tbaa !5
  %379 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %378, i32 0, i32 23
  %380 = load i32, ptr %379, align 4, !tbaa !22
  %381 = load ptr, ptr %11, align 8, !tbaa !5
  %382 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %381, i32 0, i32 3
  %383 = load i32, ptr %382, align 4, !tbaa !21
  %384 = load i32, ptr %18, align 4, !tbaa !9
  %385 = zext i32 %384 to i64
  %386 = load i32, ptr %19, align 4, !tbaa !9
  %387 = zext i32 %386 to i64
  %388 = mul nsw i64 %385, %387
  %389 = load ptr, ptr %12, align 8, !tbaa !5
  %390 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %389, i32 0, i32 3
  %391 = load i32, ptr %390, align 4, !tbaa !13
  %392 = zext i32 %391 to i64
  %393 = mul nsw i64 %388, %392
  call void @libxsmm_aarch64_instruction_alu_compute_imm64(ptr noundef %374, i32 noundef 4097, i32 noundef %377, i32 noundef %380, i32 noundef %383, i64 noundef %393)
  %394 = load ptr, ptr %9, align 8, !tbaa !5
  %395 = load ptr, ptr %11, align 8, !tbaa !5
  %396 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %395, i32 0, i32 5
  %397 = load i32, ptr %396, align 4, !tbaa !23
  %398 = load ptr, ptr %11, align 8, !tbaa !5
  %399 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %398, i32 0, i32 24
  %400 = load i32, ptr %399, align 4, !tbaa !24
  %401 = load ptr, ptr %11, align 8, !tbaa !5
  %402 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %401, i32 0, i32 5
  %403 = load i32, ptr %402, align 4, !tbaa !23
  %404 = load i32, ptr %18, align 4, !tbaa !9
  %405 = zext i32 %404 to i64
  %406 = load i32, ptr %19, align 4, !tbaa !9
  %407 = zext i32 %406 to i64
  %408 = mul nsw i64 %405, %407
  %409 = load ptr, ptr %12, align 8, !tbaa !5
  %410 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %409, i32 0, i32 5
  %411 = load i32, ptr %410, align 4, !tbaa !25
  %412 = zext i32 %411 to i64
  %413 = mul nsw i64 %408, %412
  call void @libxsmm_aarch64_instruction_alu_compute_imm64(ptr noundef %394, i32 noundef 4097, i32 noundef %397, i32 noundef %400, i32 noundef %403, i64 noundef %413)
  br label %414

414:                                              ; preds = %266, %254
  br label %415

415:                                              ; preds = %414, %115
  br label %416

416:                                              ; preds = %415, %100
  %417 = load ptr, ptr %13, align 8, !tbaa !5
  %418 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %417, i32 0, i32 1
  %419 = load i32, ptr %418, align 1, !tbaa !26
  %420 = load i32, ptr %15, align 4, !tbaa !9
  %421 = icmp ne i32 %419, %420
  br i1 %421, label %422, label %473

422:                                              ; preds = %416
  %423 = load ptr, ptr %9, align 8, !tbaa !5
  %424 = load ptr, ptr %11, align 8, !tbaa !5
  %425 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %424, i32 0, i32 3
  %426 = load i32, ptr %425, align 4, !tbaa !21
  %427 = load ptr, ptr %11, align 8, !tbaa !5
  %428 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %427, i32 0, i32 23
  %429 = load i32, ptr %428, align 4, !tbaa !22
  %430 = load ptr, ptr %11, align 8, !tbaa !5
  %431 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %430, i32 0, i32 3
  %432 = load i32, ptr %431, align 4, !tbaa !21
  %433 = load i32, ptr %15, align 4, !tbaa !9
  %434 = zext i32 %433 to i64
  %435 = load i32, ptr %14, align 4, !tbaa !9
  %436 = zext i32 %435 to i64
  %437 = mul nsw i64 %434, %436
  %438 = load ptr, ptr %13, align 8, !tbaa !5
  %439 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %438, i32 0, i32 4
  %440 = load i32, ptr %439, align 1, !tbaa !29
  %441 = zext i32 %440 to i64
  %442 = mul nsw i64 %437, %441
  %443 = load ptr, ptr %12, align 8, !tbaa !5
  %444 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %443, i32 0, i32 3
  %445 = load i32, ptr %444, align 4, !tbaa !13
  %446 = zext i32 %445 to i64
  %447 = mul nsw i64 %442, %446
  call void @libxsmm_aarch64_instruction_alu_compute_imm64(ptr noundef %423, i32 noundef 4096, i32 noundef %426, i32 noundef %429, i32 noundef %432, i64 noundef %447)
  %448 = load ptr, ptr %9, align 8, !tbaa !5
  %449 = load ptr, ptr %11, align 8, !tbaa !5
  %450 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %449, i32 0, i32 5
  %451 = load i32, ptr %450, align 4, !tbaa !23
  %452 = load ptr, ptr %11, align 8, !tbaa !5
  %453 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %452, i32 0, i32 24
  %454 = load i32, ptr %453, align 4, !tbaa !24
  %455 = load ptr, ptr %11, align 8, !tbaa !5
  %456 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %455, i32 0, i32 5
  %457 = load i32, ptr %456, align 4, !tbaa !23
  %458 = load i32, ptr %15, align 4, !tbaa !9
  %459 = zext i32 %458 to i64
  %460 = load i32, ptr %14, align 4, !tbaa !9
  %461 = zext i32 %460 to i64
  %462 = mul nsw i64 %459, %461
  %463 = load ptr, ptr %13, align 8, !tbaa !5
  %464 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %463, i32 0, i32 5
  %465 = load i32, ptr %464, align 1, !tbaa !30
  %466 = zext i32 %465 to i64
  %467 = mul nsw i64 %462, %466
  %468 = load ptr, ptr %12, align 8, !tbaa !5
  %469 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %468, i32 0, i32 5
  %470 = load i32, ptr %469, align 4, !tbaa !25
  %471 = zext i32 %470 to i64
  %472 = mul nsw i64 %467, %471
  call void @libxsmm_aarch64_instruction_alu_compute_imm64(ptr noundef %448, i32 noundef 4096, i32 noundef %451, i32 noundef %454, i32 noundef %457, i64 noundef %472)
  br label %473

473:                                              ; preds = %422, %416
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #3
  ret void
}

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

declare i32 @LIBXSMM_GEMM_GETENUM_AB_COMMON_PREC(ptr noundef) #1

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

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

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

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

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

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

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

; Function Attrs: nounwind uwtable
define dso_local void @libxsmm_generator_packed_gemm_aarch64_kloop(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, i32 noundef %5, i32 noundef %6, i32 noundef %7) local_unnamed_addr #1 {
  %9 = getelementptr inbounds i8, ptr %4, i64 29
  %10 = tail call i32 @LIBXSMM_GEMM_GETENUM_AB_COMMON_PREC(ptr noundef nonnull %9) #2
  %11 = icmp eq i32 %10, 0
  %12 = getelementptr inbounds i8, ptr %0, i64 28
  %13 = load i32, ptr %12, align 4, !tbaa !5
  %14 = icmp ult i32 %13, 2301
  br i1 %11, label %15, label %18

15:                                               ; preds = %8
  br i1 %14, label %21, label %16

16:                                               ; preds = %15
  %17 = icmp ult i32 %13, 2401
  %. = select i1 %17, i32 4, i32 8
  br label %21

18:                                               ; preds = %8
  br i1 %14, label %21, label %19

19:                                               ; preds = %18
  %20 = icmp ult i32 %13, 2401
  %.195 = select i1 %20, i32 8, i32 16
  br label %21

21:                                               ; preds = %18, %19, %15, %16
  %.0 = phi i32 [ %., %16 ], [ 2, %15 ], [ %.195, %19 ], [ 4, %18 ]
  %22 = add nsw i32 %.0, -1
  %23 = and i32 %22, %5
  %24 = udiv i32 %5, %.0
  %25 = add i32 %13, -2201
  %or.cond = icmp ult i32 %25, 799
  br i1 %or.cond, label %26, label %32

26:                                               ; preds = %21
  %27 = getelementptr inbounds i8, ptr %3, i64 12
  %28 = load i32, ptr %27, align 4, !tbaa !11
  %29 = mul i32 %28, %23
  %30 = getelementptr inbounds i8, ptr %2, i64 88
  %31 = load i32, ptr %30, align 4, !tbaa !15
  tail call void @libxsmm_generator_set_p_register_aarch64_sve(ptr noundef nonnull %0, i32 noundef 1, i32 noundef %29, i32 noundef %31) #2
  br label %32

32:                                               ; preds = %26, %21
  %33 = icmp eq i32 %.0, %5
  br i1 %33, label %34, label %35

34:                                               ; preds = %32
  tail call void @libxsmm_generator_packed_gemm_aarch64_kloop_simd_packed(ptr noundef nonnull %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, i32 noundef %5, i32 noundef %5, i32 noundef %5, i32 noundef %6, i32 noundef %7)
  br label %131

35:                                               ; preds = %32
  %36 = icmp eq i32 %23, 0
  br i1 %36, label %37, label %82

37:                                               ; preds = %35
  %38 = getelementptr inbounds i8, ptr %2, i64 100
  %39 = load i32, ptr %38, align 4, !tbaa !17
  tail call void @libxsmm_generator_loop_header_aarch64(ptr noundef nonnull %0, ptr noundef %1, i32 noundef %39, i32 noundef %5) #2
  tail call void @libxsmm_generator_packed_gemm_aarch64_kloop_simd_packed(ptr noundef nonnull %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, i32 noundef %5, i32 noundef %.0, i32 noundef %.0, i32 noundef %6, i32 noundef %7)
  %40 = getelementptr inbounds i8, ptr %2, i64 4
  %41 = load i32, ptr %40, align 4, !tbaa !18
  %42 = getelementptr inbounds i8, ptr %2, i64 88
  %43 = load i32, ptr %42, align 4, !tbaa !15
  %44 = zext nneg i32 %.0 to i64
  %45 = getelementptr inbounds i8, ptr %3, i64 12
  %46 = load i32, ptr %45, align 4, !tbaa !11
  %47 = zext i32 %46 to i64
  %48 = mul nuw nsw i64 %47, %44
  tail call void @libxsmm_aarch64_instruction_alu_compute_imm64(ptr noundef nonnull %0, i32 noundef 4096, i32 noundef %41, i32 noundef %43, i32 noundef %41, i64 noundef %48) #2
  %49 = getelementptr inbounds i8, ptr %2, i64 12
  %50 = load i32, ptr %49, align 4, !tbaa !19
  %51 = getelementptr inbounds i8, ptr %2, i64 92
  %52 = load i32, ptr %51, align 4, !tbaa !20
  %53 = load i32, ptr %45, align 4, !tbaa !11
  %54 = zext i32 %53 to i64
  %55 = mul nuw nsw i64 %54, %44
  tail call void @libxsmm_aarch64_instruction_alu_compute_imm64(ptr noundef nonnull %0, i32 noundef 4096, i32 noundef %50, i32 noundef %52, i32 noundef %50, i64 noundef %55) #2
  %56 = getelementptr inbounds i8, ptr %2, i64 20
  %57 = load i32, ptr %56, align 4, !tbaa !21
  %58 = getelementptr inbounds i8, ptr %2, i64 96
  %59 = load i32, ptr %58, align 4, !tbaa !22
  %60 = getelementptr inbounds i8, ptr %3, i64 20
  %61 = load i32, ptr %60, align 4, !tbaa !23
  %62 = zext i32 %61 to i64
  %63 = mul nuw nsw i64 %62, %44
  tail call void @libxsmm_aarch64_instruction_alu_compute_imm64(ptr noundef nonnull %0, i32 noundef 4096, i32 noundef %57, i32 noundef %59, i32 noundef %57, i64 noundef %63) #2
  %64 = load i32, ptr %38, align 4, !tbaa !17
  tail call void @libxsmm_generator_loop_footer_aarch64(ptr noundef nonnull %0, ptr noundef %1, i32 noundef %64, i32 noundef %.0) #2
  %65 = load i32, ptr %40, align 4, !tbaa !18
  %66 = load i32, ptr %42, align 4, !tbaa !15
  %67 = zext nneg i32 %24 to i64
  %68 = mul nuw nsw i64 %67, %44
  %69 = load i32, ptr %45, align 4, !tbaa !11
  %70 = zext i32 %69 to i64
  %71 = mul nuw nsw i64 %68, %70
  tail call void @libxsmm_aarch64_instruction_alu_compute_imm64(ptr noundef nonnull %0, i32 noundef 4097, i32 noundef %65, i32 noundef %66, i32 noundef %65, i64 noundef %71) #2
  %72 = load i32, ptr %49, align 4, !tbaa !19
  %73 = load i32, ptr %51, align 4, !tbaa !20
  %74 = load i32, ptr %45, align 4, !tbaa !11
  %75 = zext i32 %74 to i64
  %76 = mul nuw nsw i64 %68, %75
  tail call void @libxsmm_aarch64_instruction_alu_compute_imm64(ptr noundef nonnull %0, i32 noundef 4097, i32 noundef %72, i32 noundef %73, i32 noundef %72, i64 noundef %76) #2
  %77 = load i32, ptr %56, align 4, !tbaa !21
  %78 = load i32, ptr %58, align 4, !tbaa !22
  %79 = load i32, ptr %60, align 4, !tbaa !23
  %80 = zext i32 %79 to i64
  %81 = mul nuw nsw i64 %68, %80
  tail call void @libxsmm_aarch64_instruction_alu_compute_imm64(ptr noundef nonnull %0, i32 noundef 4097, i32 noundef %77, i32 noundef %78, i32 noundef %77, i64 noundef %81) #2
  br label %131

82:                                               ; preds = %35
  %83 = icmp ugt i32 %.0, %5
  br i1 %83, label %84, label %85

84:                                               ; preds = %82
  tail call void @libxsmm_generator_packed_gemm_aarch64_kloop_simd_packed(ptr noundef nonnull %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, i32 noundef %5, i32 noundef %.0, i32 noundef %23, i32 noundef %6, i32 noundef %7)
  br label %131

85:                                               ; preds = %82
  %86 = getelementptr inbounds i8, ptr %2, i64 100
  %87 = load i32, ptr %86, align 4, !tbaa !17
  %88 = sub i32 %5, %23
  tail call void @libxsmm_generator_loop_header_aarch64(ptr noundef nonnull %0, ptr noundef %1, i32 noundef %87, i32 noundef %88) #2
  tail call void @libxsmm_generator_packed_gemm_aarch64_kloop_simd_packed(ptr noundef nonnull %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, i32 noundef %5, i32 noundef %.0, i32 noundef %.0, i32 noundef %6, i32 noundef %7)
  %89 = getelementptr inbounds i8, ptr %2, i64 4
  %90 = load i32, ptr %89, align 4, !tbaa !18
  %91 = getelementptr inbounds i8, ptr %2, i64 88
  %92 = load i32, ptr %91, align 4, !tbaa !15
  %93 = zext nneg i32 %.0 to i64
  %94 = getelementptr inbounds i8, ptr %3, i64 12
  %95 = load i32, ptr %94, align 4, !tbaa !11
  %96 = zext i32 %95 to i64
  %97 = mul nuw nsw i64 %96, %93
  tail call void @libxsmm_aarch64_instruction_alu_compute_imm64(ptr noundef nonnull %0, i32 noundef 4096, i32 noundef %90, i32 noundef %92, i32 noundef %90, i64 noundef %97) #2
  %98 = getelementptr inbounds i8, ptr %2, i64 12
  %99 = load i32, ptr %98, align 4, !tbaa !19
  %100 = getelementptr inbounds i8, ptr %2, i64 92
  %101 = load i32, ptr %100, align 4, !tbaa !20
  %102 = load i32, ptr %94, align 4, !tbaa !11
  %103 = zext i32 %102 to i64
  %104 = mul nuw nsw i64 %103, %93
  tail call void @libxsmm_aarch64_instruction_alu_compute_imm64(ptr noundef nonnull %0, i32 noundef 4096, i32 noundef %99, i32 noundef %101, i32 noundef %99, i64 noundef %104) #2
  %105 = getelementptr inbounds i8, ptr %2, i64 20
  %106 = load i32, ptr %105, align 4, !tbaa !21
  %107 = getelementptr inbounds i8, ptr %2, i64 96
  %108 = load i32, ptr %107, align 4, !tbaa !22
  %109 = getelementptr inbounds i8, ptr %3, i64 20
  %110 = load i32, ptr %109, align 4, !tbaa !23
  %111 = zext i32 %110 to i64
  %112 = mul nuw nsw i64 %111, %93
  tail call void @libxsmm_aarch64_instruction_alu_compute_imm64(ptr noundef nonnull %0, i32 noundef 4096, i32 noundef %106, i32 noundef %108, i32 noundef %106, i64 noundef %112) #2
  %113 = load i32, ptr %86, align 4, !tbaa !17
  tail call void @libxsmm_generator_loop_footer_aarch64(ptr noundef nonnull %0, ptr noundef %1, i32 noundef %113, i32 noundef %.0) #2
  tail call void @libxsmm_generator_packed_gemm_aarch64_kloop_simd_packed(ptr noundef nonnull %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, i32 noundef %5, i32 noundef %.0, i32 noundef %23, i32 noundef %6, i32 noundef %7)
  %114 = load i32, ptr %89, align 4, !tbaa !18
  %115 = load i32, ptr %91, align 4, !tbaa !15
  %116 = zext nneg i32 %24 to i64
  %117 = mul nuw nsw i64 %116, %93
  %118 = load i32, ptr %94, align 4, !tbaa !11
  %119 = zext i32 %118 to i64
  %120 = mul nuw nsw i64 %117, %119
  tail call void @libxsmm_aarch64_instruction_alu_compute_imm64(ptr noundef nonnull %0, i32 noundef 4097, i32 noundef %114, i32 noundef %115, i32 noundef %114, i64 noundef %120) #2
  %121 = load i32, ptr %98, align 4, !tbaa !19
  %122 = load i32, ptr %100, align 4, !tbaa !20
  %123 = load i32, ptr %94, align 4, !tbaa !11
  %124 = zext i32 %123 to i64
  %125 = mul nuw nsw i64 %117, %124
  tail call void @libxsmm_aarch64_instruction_alu_compute_imm64(ptr noundef nonnull %0, i32 noundef 4097, i32 noundef %121, i32 noundef %122, i32 noundef %121, i64 noundef %125) #2
  %126 = load i32, ptr %105, align 4, !tbaa !21
  %127 = load i32, ptr %107, align 4, !tbaa !22
  %128 = load i32, ptr %109, align 4, !tbaa !23
  %129 = zext i32 %128 to i64
  %130 = mul nuw nsw i64 %117, %129
  tail call void @libxsmm_aarch64_instruction_alu_compute_imm64(ptr noundef nonnull %0, i32 noundef 4097, i32 noundef %126, i32 noundef %127, i32 noundef %126, i64 noundef %130) #2
  br label %131

131:                                              ; preds = %37, %85, %84, %34
  %132 = getelementptr inbounds i8, ptr %4, i64 4
  %133 = load i32, ptr %132, align 1, !tbaa !24
  %.not = icmp eq i32 %133, %6
  br i1 %.not, label %162, label %134

134:                                              ; preds = %131
  %135 = getelementptr inbounds i8, ptr %2, i64 12
  %136 = load i32, ptr %135, align 4, !tbaa !19
  %137 = getelementptr inbounds i8, ptr %2, i64 92
  %138 = load i32, ptr %137, align 4, !tbaa !20
  %139 = zext i32 %6 to i64
  %140 = zext i32 %5 to i64
  %141 = mul nuw nsw i64 %139, %140
  %142 = getelementptr inbounds i8, ptr %4, i64 16
  %143 = load i32, ptr %142, align 1, !tbaa !27
  %144 = zext i32 %143 to i64
  %145 = mul nuw nsw i64 %141, %144
  %146 = getelementptr inbounds i8, ptr %3, i64 12
  %147 = load i32, ptr %146, align 4, !tbaa !11
  %148 = zext i32 %147 to i64
  %149 = mul nuw nsw i64 %145, %148
  tail call void @libxsmm_aarch64_instruction_alu_compute_imm64(ptr noundef nonnull %0, i32 noundef 4096, i32 noundef %136, i32 noundef %138, i32 noundef %136, i64 noundef %149) #2
  %150 = getelementptr inbounds i8, ptr %2, i64 20
  %151 = load i32, ptr %150, align 4, !tbaa !21
  %152 = getelementptr inbounds i8, ptr %2, i64 96
  %153 = load i32, ptr %152, align 4, !tbaa !22
  %154 = getelementptr inbounds i8, ptr %4, i64 20
  %155 = load i32, ptr %154, align 1, !tbaa !28
  %156 = zext i32 %155 to i64
  %157 = mul nuw nsw i64 %141, %156
  %158 = getelementptr inbounds i8, ptr %3, i64 20
  %159 = load i32, ptr %158, align 4, !tbaa !23
  %160 = zext i32 %159 to i64
  %161 = mul nuw nsw i64 %157, %160
  tail call void @libxsmm_aarch64_instruction_alu_compute_imm64(ptr noundef nonnull %0, i32 noundef 4096, i32 noundef %151, i32 noundef %153, i32 noundef %151, i64 noundef %161) #2
  br label %162

162:                                              ; preds = %134, %131
  ret void
}

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

declare i32 @LIBXSMM_GEMM_GETENUM_AB_COMMON_PREC(ptr noundef) local_unnamed_addr #0

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

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, !10, i64 28}
!6 = !{!"libxsmm_generated_code", !7, i64 0, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !10, i64 24, !10, i64 28}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!12, !10, i64 12}
!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, !8, 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, !8, i64 364, !8, i64 380, !8, i64 396, !8, i64 412, !8, i64 428, !8, i64 444, !10, i64 460, !8, 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, !7, i64 592, !10, i64 600, !10, i64 604, !10, i64 608, !10, i64 612, !7, 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", !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 = !{!16, !10, i64 88}
!16 = !{!"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}
!17 = !{!16, !10, i64 100}
!18 = !{!16, !10, i64 4}
!19 = !{!16, !10, i64 12}
!20 = !{!16, !10, i64 92}
!21 = !{!16, !10, i64 20}
!22 = !{!16, !10, i64 96}
!23 = !{!12, !10, i64 20}
!24 = !{!25, !10, i64 4}
!25 = !{!"libxsmm_gemm_descriptor", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !10, i64 24, !8, i64 28, !8, i64 29, !8, i64 32, !26, i64 33, !26, i64 41, !8, i64 49, !10, i64 50, !10, i64 54, !10, i64 58, !14, i64 62, !14, i64 64, !8, i64 66, !8, i64 67, !8, i64 68, !8, 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, !8, i64 94}
!26 = !{!"long long", !8, i64 0}
!27 = !{!25, !10, i64 16}
!28 = !{!25, !10, i64 20}


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