; LLVM IR from libxsmm/libxsmm :: src (generator_packed_spgemm_csr_asparse_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_loop_label_tracker_struct = type { [512 x i32], i32 }
%struct.libxsmm_gp_reg_mapping_struct = type { i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32 }
%struct.libxsmm_generated_code = type { ptr, 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 }>

@stderr = external global ptr, align 8
@.str = external hidden unnamed_addr constant [103 x i8], align 1
@__func__.libxsmm_generator_packed_spgemm_csr_asparse_aarch64 = external hidden unnamed_addr constant [52 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [99 x i8], align 1
@libxsmm_ninit = external global i32, align 4
@libxsmm_verbosity = external global i32, align 4

; Function Attrs: nounwind uwtable
define dso_local void @libxsmm_generator_packed_spgemm_csr_asparse_aarch64(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, i32 noundef %5) #0 {
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca %struct.libxsmm_micro_kernel_config, align 8
  %18 = alloca %struct.libxsmm_loop_label_tracker_struct, align 4
  %19 = alloca %struct.libxsmm_gp_reg_mapping_struct, align 4
  %20 = alloca i32, align 4
  %21 = alloca i32, align 4
  %22 = alloca i32, align 4
  %23 = alloca i32, align 4
  store ptr %0, ptr %7, align 8, !tbaa !5
  store ptr %1, ptr %8, align 8, !tbaa !5
  store ptr %2, ptr %9, align 8, !tbaa !5
  store ptr %3, ptr %10, align 8, !tbaa !5
  store ptr %4, ptr %11, align 8, !tbaa !5
  store i32 %5, ptr %12, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #4
  store i32 0, ptr %13, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #4
  store i32 0, ptr %14, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #4
  store i32 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 688, ptr %17) #4
  call void @llvm.lifetime.start.p0(i64 2052, ptr %18) #4
  call void @llvm.lifetime.start.p0(i64 132, ptr %19) #4
  call void @libxsmm_reset_aarch64_gp_reg_mapping(ptr noundef %19)
  %24 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %19, i32 0, i32 0
  store i32 32, ptr %24, align 4, !tbaa !11
  %25 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %19, i32 0, i32 1
  store i32 32, ptr %25, align 4, !tbaa !13
  %26 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %19, i32 0, i32 3
  store i32 33, ptr %26, align 4, !tbaa !14
  %27 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %19, i32 0, i32 5
  store i32 34, ptr %27, align 4, !tbaa !15
  %28 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %19, i32 0, i32 6
  store i32 35, ptr %28, align 4, !tbaa !16
  %29 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %19, i32 0, i32 8
  store i32 36, ptr %29, align 4, !tbaa !17
  %30 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %19, i32 0, i32 10
  store i32 38, ptr %30, align 4, !tbaa !18
  %31 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %19, i32 0, i32 11
  store i32 39, ptr %31, align 4, !tbaa !19
  %32 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %19, i32 0, i32 12
  store i32 40, ptr %32, align 4, !tbaa !20
  %33 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %19, i32 0, i32 22
  store i32 41, ptr %33, align 4, !tbaa !21
  %34 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %19, i32 0, i32 23
  store i32 42, ptr %34, align 4, !tbaa !22
  %35 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %19, i32 0, i32 24
  store i32 43, ptr %35, align 4, !tbaa !23
  %36 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %19, i32 0, i32 25
  store i32 127, ptr %36, align 4, !tbaa !24
  %37 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %19, i32 0, i32 26
  store i32 127, ptr %37, align 4, !tbaa !25
  %38 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %19, i32 0, i32 27
  store i32 127, ptr %38, align 4, !tbaa !26
  %39 = load ptr, ptr %7, align 8, !tbaa !5
  %40 = getelementptr inbounds %struct.libxsmm_generated_code, ptr %39, i32 0, i32 6
  %41 = load i32, ptr %40, align 4, !tbaa !27
  %42 = load ptr, ptr %8, align 8, !tbaa !5
  call void @libxsmm_generator_gemm_init_micro_kernel_config_aarch64(ptr noundef %17, i32 noundef %41, ptr noundef %42)
  %43 = load ptr, ptr %8, align 8, !tbaa !5
  %44 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %43, i32 0, i32 8
  %45 = getelementptr inbounds [3 x i8], ptr %44, i64 0, i64 0
  %46 = call i32 @LIBXSMM_GEMM_GETENUM_AB_COMMON_PREC(ptr noundef %45)
  %47 = icmp eq i32 0, %46
  br i1 %47, label %48, label %70

48:                                               ; preds = %6
  %49 = load ptr, ptr %7, 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 !27
  %52 = icmp uge i32 %51, 2201
  br i1 %52, label %53, label %68

53:                                               ; preds = %48
  %54 = load ptr, ptr %7, 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 !27
  %57 = icmp ult i32 %56, 2301
  br i1 %57, label %58, label %59

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

59:                                               ; preds = %53
  %60 = load ptr, ptr %7, 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 !27
  %63 = icmp ult i32 %62, 2401
  br i1 %63, label %64, label %65

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

65:                                               ; preds = %59
  store i32 8, ptr %15, 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 2, ptr %15, align 4, !tbaa !9
  br label %69

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

70:                                               ; preds = %6
  %71 = load ptr, ptr %7, align 8, !tbaa !5
  %72 = getelementptr inbounds %struct.libxsmm_generated_code, ptr %71, i32 0, i32 6
  %73 = load i32, ptr %72, align 4, !tbaa !27
  %74 = icmp uge i32 %73, 2201
  br i1 %74, label %75, label %90

75:                                               ; preds = %70
  %76 = load ptr, ptr %7, align 8, !tbaa !5
  %77 = getelementptr inbounds %struct.libxsmm_generated_code, ptr %76, i32 0, i32 6
  %78 = load i32, ptr %77, align 4, !tbaa !27
  %79 = icmp ult i32 %78, 2301
  br i1 %79, label %80, label %81

80:                                               ; preds = %75
  store i32 4, ptr %15, align 4, !tbaa !9
  br label %89

81:                                               ; preds = %75
  %82 = load ptr, ptr %7, 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 !27
  %85 = icmp ult i32 %84, 2401
  br i1 %85, label %86, label %87

86:                                               ; preds = %81
  store i32 8, ptr %15, align 4, !tbaa !9
  br label %88

87:                                               ; preds = %81
  store i32 16, ptr %15, align 4, !tbaa !9
  br label %88

88:                                               ; preds = %87, %86
  br label %89

89:                                               ; preds = %88, %80
  br label %91

90:                                               ; preds = %70
  store i32 4, ptr %15, align 4, !tbaa !9
  br label %91

91:                                               ; preds = %90, %89
  br label %92

92:                                               ; preds = %91, %69
  %93 = load i32, ptr %12, align 4, !tbaa !9
  %94 = load i32, ptr %15, align 4, !tbaa !9
  %95 = urem i32 %93, %94
  store i32 %95, ptr %13, align 4, !tbaa !9
  %96 = load i32, ptr %12, align 4, !tbaa !9
  %97 = load i32, ptr %15, align 4, !tbaa !9
  %98 = udiv i32 %96, %97
  store i32 %98, ptr %14, align 4, !tbaa !9
  %99 = load i32, ptr %13, align 4, !tbaa !9
  %100 = icmp ne i32 %99, 0
  br i1 %100, label %101, label %112

101:                                              ; preds = %92
  %102 = load ptr, ptr @stderr, align 8, !tbaa !5
  %103 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %102, ptr noundef @.str) #4
  %104 = load ptr, ptr %7, align 8, !tbaa !5
  %105 = load i32, ptr @libxsmm_ninit, align 4, !tbaa !9
  %106 = icmp ult i32 1, %105
  br i1 %106, label %107, label %109

107:                                              ; preds = %101
  %108 = load i32, ptr @libxsmm_verbosity, align 4, !tbaa !9
  br label %110

109:                                              ; preds = %101
  br label %110

110:                                              ; preds = %109, %107
  %111 = phi i32 [ %108, %107 ], [ 1, %109 ]
  call void @libxsmm_handle_error(ptr noundef %104, i32 noundef 90000, ptr noundef @__func__.libxsmm_generator_packed_spgemm_csr_asparse_aarch64, ptr noundef @.str.1, i32 noundef 90, i32 noundef %111)
  store i32 1, ptr %20, align 4
  br label %257

112:                                              ; preds = %92
  store i32 28, ptr %16, align 4, !tbaa !9
  call void @libxsmm_reset_loop_label_tracker(ptr noundef %18)
  %113 = load ptr, ptr %7, align 8, !tbaa !5
  call void @libxsmm_aarch64_instruction_open_stream(ptr noundef %113, i16 noundef zeroext 15)
  %114 = load ptr, ptr %8, align 8, !tbaa !5
  %115 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %114, i32 0, i32 6
  %116 = load i32, ptr %115, align 1, !tbaa !29
  %117 = and i32 16384, %116
  %118 = icmp eq i32 %117, 16384
  br i1 %118, label %119, label %166

119:                                              ; preds = %112
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #4
  store i32 32, ptr %21, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #4
  store i32 80, ptr %22, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #4
  store i32 128, ptr %23, align 4, !tbaa !9
  %120 = load ptr, ptr %7, align 8, !tbaa !5
  %121 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %19, i32 0, i32 0
  %122 = load i32, ptr %121, align 4, !tbaa !11
  %123 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %19, i32 0, i32 0
  %124 = load i32, ptr %123, align 4, !tbaa !11
  %125 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %19, i32 0, i32 23
  %126 = load i32, ptr %125, align 4, !tbaa !22
  call void @libxsmm_aarch64_instruction_alu_compute_shifted_reg(ptr noundef %120, i32 noundef 167772167, i32 noundef %122, i32 noundef %124, i32 noundef %126, i32 noundef 0, i32 noundef 0)
  %127 = load ptr, ptr %7, align 8, !tbaa !5
  %128 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %19, i32 0, i32 23
  %129 = load i32, ptr %128, align 4, !tbaa !22
  %130 = load i32, ptr %21, align 4, !tbaa !9
  %131 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %19, i32 0, i32 1
  %132 = load i32, ptr %131, align 4, !tbaa !13
  call void @libxsmm_aarch64_instruction_alu_move(ptr noundef %127, i32 noundef -1186988026, i32 noundef %129, i32 noundef 127, i32 noundef %130, i32 noundef %132)
  %133 = load ptr, ptr %7, align 8, !tbaa !5
  %134 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %19, i32 0, i32 23
  %135 = load i32, ptr %134, align 4, !tbaa !22
  %136 = load i32, ptr %22, align 4, !tbaa !9
  %137 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %19, i32 0, i32 3
  %138 = load i32, ptr %137, align 4, !tbaa !14
  call void @libxsmm_aarch64_instruction_alu_move(ptr noundef %133, i32 noundef -1186988026, i32 noundef %135, i32 noundef 127, i32 noundef %136, i32 noundef %138)
  %139 = load ptr, ptr %7, align 8, !tbaa !5
  %140 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %19, i32 0, i32 23
  %141 = load i32, ptr %140, align 4, !tbaa !22
  %142 = load i32, ptr %23, align 4, !tbaa !9
  %143 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %19, i32 0, i32 5
  %144 = load i32, ptr %143, align 4, !tbaa !15
  call void @libxsmm_aarch64_instruction_alu_move(ptr noundef %139, i32 noundef -1186988026, i32 noundef %141, i32 noundef 127, i32 noundef %142, i32 noundef %144)
  %145 = load ptr, ptr %8, align 8, !tbaa !5
  %146 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %145, i32 0, i32 7
  %147 = load i8, ptr %146, align 1, !tbaa !33
  %148 = zext i8 %147 to i32
  %149 = icmp ne i32 %148, 0
  br i1 %149, label %150, label %165

150:                                              ; preds = %119
  %151 = load ptr, ptr %7, align 8, !tbaa !5
  %152 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %19, i32 0, i32 23
  %153 = load i32, ptr %152, align 4, !tbaa !22
  %154 = load i32, ptr %21, align 4, !tbaa !9
  %155 = add nsw i32 %154, 40
  %156 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %19, i32 0, i32 6
  %157 = load i32, ptr %156, align 4, !tbaa !16
  call void @libxsmm_aarch64_instruction_alu_move(ptr noundef %151, i32 noundef -1186988026, i32 noundef %153, i32 noundef 127, i32 noundef %155, i32 noundef %157)
  %158 = load ptr, ptr %7, align 8, !tbaa !5
  %159 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %19, i32 0, i32 23
  %160 = load i32, ptr %159, align 4, !tbaa !22
  %161 = load i32, ptr %22, align 4, !tbaa !9
  %162 = add nsw i32 %161, 40
  %163 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %19, i32 0, i32 8
  %164 = load i32, ptr %163, align 4, !tbaa !17
  call void @libxsmm_aarch64_instruction_alu_move(ptr noundef %158, i32 noundef -1186988026, i32 noundef %160, i32 noundef 127, i32 noundef %162, i32 noundef %164)
  br label %165

165:                                              ; preds = %150, %119
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #4
  br label %167

166:                                              ; preds = %112
  br label %167

167:                                              ; preds = %166, %165
  %168 = load ptr, ptr %7, align 8, !tbaa !5
  %169 = getelementptr inbounds %struct.libxsmm_generated_code, ptr %168, i32 0, i32 6
  %170 = load i32, ptr %169, align 4, !tbaa !27
  %171 = icmp uge i32 %170, 2201
  br i1 %171, label %172, label %181

172:                                              ; preds = %167
  %173 = load ptr, ptr %7, align 8, !tbaa !5
  %174 = getelementptr inbounds %struct.libxsmm_generated_code, ptr %173, i32 0, i32 6
  %175 = load i32, ptr %174, align 4, !tbaa !27
  %176 = icmp ule i32 %175, 2999
  br i1 %176, label %177, label %181

177:                                              ; preds = %172
  %178 = load ptr, ptr %7, align 8, !tbaa !5
  %179 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %19, i32 0, i32 22
  %180 = load i32, ptr %179, align 4, !tbaa !21
  call void @libxsmm_generator_set_p_register_aarch64_sve(ptr noundef %178, i32 noundef 0, i32 noundef -1, i32 noundef %180)
  br label %181

181:                                              ; preds = %177, %172, %167
  %182 = load i32, ptr %14, align 4, !tbaa !9
  %183 = icmp ugt i32 %182, 1
  br i1 %183, label %184, label %200

184:                                              ; preds = %181
  %185 = load ptr, ptr %7, align 8, !tbaa !5
  %186 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %19, i32 0, i32 22
  %187 = load i32, ptr %186, align 4, !tbaa !21
  %188 = load i32, ptr %14, align 4, !tbaa !9
  call void @libxsmm_generator_loop_header_aarch64(ptr noundef %185, ptr noundef %18, i32 noundef %187, i32 noundef %188)
  %189 = load ptr, ptr %7, align 8, !tbaa !5
  call void @libxsmm_aarch64_instruction_alu_compute_imm12(ptr noundef %189, i32 noundef 1358954502, i32 noundef 63, i32 noundef 63, i32 noundef 32, i8 noundef zeroext 0)
  %190 = load ptr, ptr %7, align 8, !tbaa !5
  %191 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %19, i32 0, i32 1
  %192 = load i32, ptr %191, align 4, !tbaa !13
  %193 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %19, i32 0, i32 3
  %194 = load i32, ptr %193, align 4, !tbaa !14
  call void @libxsmm_aarch64_instruction_alu_pair_move(ptr noundef %190, i32 noundef 687865863, i32 noundef 63, i32 noundef 16, i32 noundef %192, i32 noundef %194)
  %195 = load ptr, ptr %7, align 8, !tbaa !5
  %196 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %19, i32 0, i32 5
  %197 = load i32, ptr %196, align 4, !tbaa !15
  %198 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %19, i32 0, i32 8
  %199 = load i32, ptr %198, align 4, !tbaa !17
  call void @libxsmm_aarch64_instruction_alu_pair_move(ptr noundef %195, i32 noundef 687865863, i32 noundef 63, i32 noundef 0, i32 noundef %197, i32 noundef %199)
  br label %200

200:                                              ; preds = %184, %181
  %201 = load i32, ptr %14, align 4, !tbaa !9
  %202 = icmp ugt i32 %201, 0
  br i1 %202, label %203, label %211

203:                                              ; preds = %200
  %204 = load ptr, ptr %7, align 8, !tbaa !5
  %205 = load ptr, ptr %8, align 8, !tbaa !5
  %206 = load ptr, ptr %9, align 8, !tbaa !5
  %207 = load ptr, ptr %10, align 8, !tbaa !5
  %208 = load ptr, ptr %11, align 8, !tbaa !5
  %209 = load i32, ptr %16, align 4, !tbaa !9
  %210 = load i32, ptr %12, align 4, !tbaa !9
  call void @libxsmm_generator_packed_spgemm_csr_asparse_aarch64_n_loop(ptr noundef %204, ptr noundef %205, ptr noundef %18, ptr noundef %17, ptr noundef %19, ptr noundef %206, ptr noundef %207, ptr noundef %208, i32 noundef %209, i32 noundef %210, i32 noundef 0)
  br label %211

211:                                              ; preds = %203, %200
  %212 = load i32, ptr %14, align 4, !tbaa !9
  %213 = icmp ugt i32 %212, 1
  br i1 %213, label %214, label %255

214:                                              ; preds = %211
  %215 = load ptr, ptr %7, align 8, !tbaa !5
  %216 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %19, i32 0, i32 1
  %217 = load i32, ptr %216, align 4, !tbaa !13
  %218 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %19, i32 0, i32 3
  %219 = load i32, ptr %218, align 4, !tbaa !14
  call void @libxsmm_aarch64_instruction_alu_pair_move(ptr noundef %215, i32 noundef 692060167, i32 noundef 63, i32 noundef 16, i32 noundef %217, i32 noundef %219)
  %220 = load ptr, ptr %7, align 8, !tbaa !5
  %221 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %19, i32 0, i32 5
  %222 = load i32, ptr %221, align 4, !tbaa !15
  %223 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %19, i32 0, i32 8
  %224 = load i32, ptr %223, align 4, !tbaa !17
  call void @libxsmm_aarch64_instruction_alu_pair_move(ptr noundef %220, i32 noundef 692060167, i32 noundef 63, i32 noundef 0, i32 noundef %222, i32 noundef %224)
  %225 = load ptr, ptr %7, align 8, !tbaa !5
  call void @libxsmm_aarch64_instruction_alu_compute_imm12(ptr noundef %225, i32 noundef 285212678, i32 noundef 63, i32 noundef 63, i32 noundef 32, i8 noundef zeroext 0)
  %226 = load ptr, ptr %7, align 8, !tbaa !5
  %227 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %19, i32 0, i32 5
  %228 = load i32, ptr %227, align 4, !tbaa !15
  %229 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %19, i32 0, i32 24
  %230 = load i32, ptr %229, align 4, !tbaa !23
  %231 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %19, i32 0, i32 5
  %232 = load i32, ptr %231, align 4, !tbaa !15
  %233 = load i32, ptr %15, align 4, !tbaa !9
  %234 = zext i32 %233 to i64
  %235 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %17, i32 0, i32 5
  %236 = load i32, ptr %235, align 4, !tbaa !34
  %237 = zext i32 %236 to i64
  %238 = mul nsw i64 %234, %237
  call void @libxsmm_aarch64_instruction_alu_compute_imm64(ptr noundef %226, i32 noundef 4096, i32 noundef %228, i32 noundef %230, i32 noundef %232, i64 noundef %238)
  %239 = load ptr, ptr %7, align 8, !tbaa !5
  %240 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %19, i32 0, i32 3
  %241 = load i32, ptr %240, align 4, !tbaa !14
  %242 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %19, i32 0, i32 23
  %243 = load i32, ptr %242, align 4, !tbaa !22
  %244 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %19, i32 0, i32 3
  %245 = load i32, ptr %244, align 4, !tbaa !14
  %246 = load i32, ptr %15, align 4, !tbaa !9
  %247 = zext i32 %246 to i64
  %248 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %17, i32 0, i32 3
  %249 = load i32, ptr %248, align 4, !tbaa !37
  %250 = zext i32 %249 to i64
  %251 = mul nsw i64 %247, %250
  call void @libxsmm_aarch64_instruction_alu_compute_imm64(ptr noundef %239, i32 noundef 4096, i32 noundef %241, i32 noundef %243, i32 noundef %245, i64 noundef %251)
  %252 = load ptr, ptr %7, align 8, !tbaa !5
  %253 = getelementptr inbounds %struct.libxsmm_gp_reg_mapping_struct, ptr %19, i32 0, i32 22
  %254 = load i32, ptr %253, align 4, !tbaa !21
  call void @libxsmm_generator_loop_footer_aarch64(ptr noundef %252, ptr noundef %18, i32 noundef %254, i32 noundef 1)
  br label %255

255:                                              ; preds = %214, %211
  %256 = load ptr, ptr %7, align 8, !tbaa !5
  call void @libxsmm_aarch64_instruction_close_stream(ptr noundef %256, i16 noundef zeroext 15)
  store i32 0, ptr %20, align 4
  br label %257

257:                                              ; preds = %255, %110
  call void @llvm.lifetime.end.p0(i64 132, ptr %19) #4
  call void @llvm.lifetime.end.p0(i64 2052, ptr %18) #4
  call void @llvm.lifetime.end.p0(i64 688, 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
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #4
  %258 = load i32, ptr %20, align 4
  switch i32 %258, label %260 [
    i32 0, label %259
    i32 1, label %259
  ]

259:                                              ; preds = %257, %257
  ret void

260:                                              ; preds = %257
  unreachable
}

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

declare void @libxsmm_reset_aarch64_gp_reg_mapping(ptr noundef) #2

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

declare i32 @LIBXSMM_GEMM_GETENUM_AB_COMMON_PREC(ptr noundef) #2

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

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

declare void @libxsmm_reset_loop_label_tracker(ptr noundef) #2

declare void @libxsmm_aarch64_instruction_open_stream(ptr noundef, i16 noundef zeroext) #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_alu_move(ptr noundef, i32 noundef, i32 noundef, i32 noundef, 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) #1

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

declare void @libxsmm_generator_loop_header_aarch64(ptr noundef, ptr 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

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

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

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

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

declare void @libxsmm_aarch64_instruction_close_stream(ptr noundef, i16 noundef zeroext) #2

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


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

%struct.libxsmm_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_loop_label_tracker_struct = type { [512 x i32], i32 }
%struct.libxsmm_gp_reg_mapping_struct = type { i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32 }

@stderr = external local_unnamed_addr global ptr, align 8
@.str = external hidden unnamed_addr constant [103 x i8], align 1
@__func__.libxsmm_generator_packed_spgemm_csr_asparse_aarch64 = external hidden unnamed_addr constant [52 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [99 x i8], align 1
@libxsmm_ninit = external local_unnamed_addr global i32, align 4
@libxsmm_verbosity = external local_unnamed_addr global i32, align 4

; Function Attrs: nounwind uwtable
define dso_local void @libxsmm_generator_packed_spgemm_csr_asparse_aarch64(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, i32 noundef %5) local_unnamed_addr #0 {
  %7 = alloca %struct.libxsmm_micro_kernel_config, align 8
  %8 = alloca %struct.libxsmm_loop_label_tracker_struct, align 4
  %9 = alloca %struct.libxsmm_gp_reg_mapping_struct, align 4
  call void @llvm.lifetime.start.p0(i64 688, ptr nonnull %7) #4
  call void @llvm.lifetime.start.p0(i64 2052, ptr nonnull %8) #4
  call void @llvm.lifetime.start.p0(i64 132, ptr nonnull %9) #4
  call void @libxsmm_reset_aarch64_gp_reg_mapping(ptr noundef nonnull %9) #4
  store i32 32, ptr %9, align 4, !tbaa !5
  %10 = getelementptr inbounds i8, ptr %9, i64 4
  store i32 32, ptr %10, align 4, !tbaa !10
  %11 = getelementptr inbounds i8, ptr %9, i64 12
  store i32 33, ptr %11, align 4, !tbaa !11
  %12 = getelementptr inbounds i8, ptr %9, i64 20
  store i32 34, ptr %12, align 4, !tbaa !12
  %13 = getelementptr inbounds i8, ptr %9, i64 24
  store i32 35, ptr %13, align 4, !tbaa !13
  %14 = getelementptr inbounds i8, ptr %9, i64 32
  store i32 36, ptr %14, align 4, !tbaa !14
  %15 = getelementptr inbounds i8, ptr %9, i64 40
  store i32 38, ptr %15, align 4, !tbaa !15
  %16 = getelementptr inbounds i8, ptr %9, i64 44
  store i32 39, ptr %16, align 4, !tbaa !16
  %17 = getelementptr inbounds i8, ptr %9, i64 48
  store i32 40, ptr %17, align 4, !tbaa !17
  %18 = getelementptr inbounds i8, ptr %9, i64 88
  %19 = getelementptr inbounds i8, ptr %9, i64 92
  %20 = getelementptr inbounds i8, ptr %9, i64 96
  store <4 x i32> <i32 41, i32 42, i32 43, i32 127>, ptr %18, align 4, !tbaa !18
  %21 = getelementptr inbounds i8, ptr %9, i64 104
  store i32 127, ptr %21, align 4, !tbaa !19
  %22 = getelementptr inbounds i8, ptr %9, i64 108
  store i32 127, ptr %22, align 4, !tbaa !20
  %23 = getelementptr inbounds i8, ptr %0, i64 28
  %24 = load i32, ptr %23, align 4, !tbaa !21
  call void @libxsmm_generator_gemm_init_micro_kernel_config_aarch64(ptr noundef nonnull %7, i32 noundef %24, ptr noundef %1) #4
  %25 = getelementptr inbounds i8, ptr %1, i64 29
  %26 = call i32 @LIBXSMM_GEMM_GETENUM_AB_COMMON_PREC(ptr noundef nonnull %25) #4
  %27 = icmp eq i32 %26, 0
  %28 = load i32, ptr %23, align 4, !tbaa !21
  %29 = icmp ult i32 %28, 2301
  br i1 %27, label %30, label %33

30:                                               ; preds = %6
  br i1 %29, label %36, label %31

31:                                               ; preds = %30
  %32 = icmp ult i32 %28, 2401
  %. = select i1 %32, i32 4, i32 8
  br label %36

33:                                               ; preds = %6
  br i1 %29, label %36, label %34

34:                                               ; preds = %33
  %35 = icmp ult i32 %28, 2401
  %.62 = select i1 %35, i32 8, i32 16
  br label %36

36:                                               ; preds = %33, %34, %30, %31
  %.0 = phi i32 [ %., %31 ], [ 2, %30 ], [ %.62, %34 ], [ 4, %33 ]
  %37 = add nsw i32 %.0, -1
  %38 = and i32 %37, %5
  %39 = udiv i32 %5, %.0
  %.not = icmp eq i32 %38, 0
  br i1 %.not, label %47, label %40

40:                                               ; preds = %36
  %41 = load ptr, ptr @stderr, align 8, !tbaa !24
  %42 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %41, ptr noundef nonnull @.str) #5
  %43 = load i32, ptr @libxsmm_ninit, align 4, !tbaa !18
  %44 = icmp ugt i32 %43, 1
  %45 = load i32, ptr @libxsmm_verbosity, align 4
  %46 = select i1 %44, i32 %45, i32 1
  call void @libxsmm_handle_error(ptr noundef nonnull %0, i32 noundef 90000, ptr noundef nonnull @__func__.libxsmm_generator_packed_spgemm_csr_asparse_aarch64, ptr noundef nonnull @.str.1, i32 noundef 90, i32 noundef %46) #4
  br label %103

47:                                               ; preds = %36
  call void @libxsmm_reset_loop_label_tracker(ptr noundef nonnull %8) #4
  call void @libxsmm_aarch64_instruction_open_stream(ptr noundef nonnull %0, i16 noundef zeroext 15) #4
  %48 = getelementptr inbounds i8, ptr %1, i64 24
  %49 = load i32, ptr %48, align 1, !tbaa !25
  %50 = and i32 %49, 16384
  %.not59 = icmp eq i32 %50, 0
  br i1 %.not59, label %67, label %51

51:                                               ; preds = %47
  %52 = load i32, ptr %9, align 4, !tbaa !5
  %53 = load i32, ptr %19, align 4, !tbaa !29
  call void @libxsmm_aarch64_instruction_alu_compute_shifted_reg(ptr noundef nonnull %0, i32 noundef 167772167, i32 noundef %52, i32 noundef %52, i32 noundef %53, i32 noundef 0, i32 noundef 0) #4
  %54 = load i32, ptr %19, align 4, !tbaa !29
  %55 = load i32, ptr %10, align 4, !tbaa !10
  call void @libxsmm_aarch64_instruction_alu_move(ptr noundef nonnull %0, i32 noundef -1186988026, i32 noundef %54, i32 noundef 127, i32 noundef 32, i32 noundef %55) #4
  %56 = load i32, ptr %19, align 4, !tbaa !29
  %57 = load i32, ptr %11, align 4, !tbaa !11
  call void @libxsmm_aarch64_instruction_alu_move(ptr noundef nonnull %0, i32 noundef -1186988026, i32 noundef %56, i32 noundef 127, i32 noundef 80, i32 noundef %57) #4
  %58 = load i32, ptr %19, align 4, !tbaa !29
  %59 = load i32, ptr %12, align 4, !tbaa !12
  call void @libxsmm_aarch64_instruction_alu_move(ptr noundef nonnull %0, i32 noundef -1186988026, i32 noundef %58, i32 noundef 127, i32 noundef 128, i32 noundef %59) #4
  %60 = getelementptr inbounds i8, ptr %1, i64 28
  %61 = load i8, ptr %60, align 1, !tbaa !30
  %.not60 = icmp eq i8 %61, 0
  br i1 %.not60, label %67, label %62

62:                                               ; preds = %51
  %63 = load i32, ptr %19, align 4, !tbaa !29
  %64 = load i32, ptr %13, align 4, !tbaa !13
  call void @libxsmm_aarch64_instruction_alu_move(ptr noundef nonnull %0, i32 noundef -1186988026, i32 noundef %63, i32 noundef 127, i32 noundef 72, i32 noundef %64) #4
  %65 = load i32, ptr %19, align 4, !tbaa !29
  %66 = load i32, ptr %14, align 4, !tbaa !14
  call void @libxsmm_aarch64_instruction_alu_move(ptr noundef nonnull %0, i32 noundef -1186988026, i32 noundef %65, i32 noundef 127, i32 noundef 120, i32 noundef %66) #4
  br label %67

67:                                               ; preds = %51, %62, %47
  %68 = load i32, ptr %23, align 4, !tbaa !21
  %69 = add i32 %68, -2201
  %or.cond = icmp ult i32 %69, 799
  br i1 %or.cond, label %70, label %72

70:                                               ; preds = %67
  %71 = load i32, ptr %18, align 4, !tbaa !31
  call void @libxsmm_generator_set_p_register_aarch64_sve(ptr noundef nonnull %0, i32 noundef 0, i32 noundef -1, i32 noundef %71) #4
  br label %72

72:                                               ; preds = %70, %67
  %73 = icmp ugt i32 %39, 1
  br i1 %73, label %74, label %80

74:                                               ; preds = %72
  %75 = load i32, ptr %18, align 4, !tbaa !31
  call void @libxsmm_generator_loop_header_aarch64(ptr noundef nonnull %0, ptr noundef nonnull %8, i32 noundef %75, i32 noundef %39) #4
  call void @libxsmm_aarch64_instruction_alu_compute_imm12(ptr noundef nonnull %0, i32 noundef 1358954502, i32 noundef 63, i32 noundef 63, i32 noundef 32, i8 noundef zeroext 0) #4
  %76 = load i32, ptr %10, align 4, !tbaa !10
  %77 = load i32, ptr %11, align 4, !tbaa !11
  call void @libxsmm_aarch64_instruction_alu_pair_move(ptr noundef nonnull %0, i32 noundef 687865863, i32 noundef 63, i32 noundef 16, i32 noundef %76, i32 noundef %77) #4
  %78 = load i32, ptr %12, align 4, !tbaa !12
  %79 = load i32, ptr %14, align 4, !tbaa !14
  call void @libxsmm_aarch64_instruction_alu_pair_move(ptr noundef nonnull %0, i32 noundef 687865863, i32 noundef 63, i32 noundef 0, i32 noundef %78, i32 noundef %79) #4
  br label %80

80:                                               ; preds = %74, %72
  %.not61 = icmp ugt i32 %.0, %5
  br i1 %.not61, label %82, label %81

81:                                               ; preds = %80
  call void @libxsmm_generator_packed_spgemm_csr_asparse_aarch64_n_loop(ptr noundef nonnull %0, ptr noundef nonnull %1, ptr noundef nonnull %8, ptr noundef nonnull %7, ptr noundef nonnull %9, ptr noundef %2, ptr noundef %3, ptr noundef %4, i32 noundef 28, i32 noundef %5, i32 noundef 0)
  br label %82

82:                                               ; preds = %81, %80
  br i1 %73, label %83, label %102

83:                                               ; preds = %82
  %84 = load i32, ptr %10, align 4, !tbaa !10
  %85 = load i32, ptr %11, align 4, !tbaa !11
  call void @libxsmm_aarch64_instruction_alu_pair_move(ptr noundef nonnull %0, i32 noundef 692060167, i32 noundef 63, i32 noundef 16, i32 noundef %84, i32 noundef %85) #4
  %86 = load i32, ptr %12, align 4, !tbaa !12
  %87 = load i32, ptr %14, align 4, !tbaa !14
  call void @libxsmm_aarch64_instruction_alu_pair_move(ptr noundef nonnull %0, i32 noundef 692060167, i32 noundef 63, i32 noundef 0, i32 noundef %86, i32 noundef %87) #4
  call void @libxsmm_aarch64_instruction_alu_compute_imm12(ptr noundef nonnull %0, i32 noundef 285212678, i32 noundef 63, i32 noundef 63, i32 noundef 32, i8 noundef zeroext 0) #4
  %88 = load i32, ptr %12, align 4, !tbaa !12
  %89 = load i32, ptr %20, align 4, !tbaa !32
  %90 = zext nneg i32 %.0 to i64
  %91 = getelementptr inbounds i8, ptr %7, i64 20
  %92 = load i32, ptr %91, align 4, !tbaa !33
  %93 = zext i32 %92 to i64
  %94 = mul nuw nsw i64 %93, %90
  call void @libxsmm_aarch64_instruction_alu_compute_imm64(ptr noundef nonnull %0, i32 noundef 4096, i32 noundef %88, i32 noundef %89, i32 noundef %88, i64 noundef %94) #4
  %95 = load i32, ptr %11, align 4, !tbaa !11
  %96 = load i32, ptr %19, align 4, !tbaa !29
  %97 = getelementptr inbounds i8, ptr %7, i64 12
  %98 = load i32, ptr %97, align 4, !tbaa !36
  %99 = zext i32 %98 to i64
  %100 = mul nuw nsw i64 %99, %90
  call void @libxsmm_aarch64_instruction_alu_compute_imm64(ptr noundef nonnull %0, i32 noundef 4096, i32 noundef %95, i32 noundef %96, i32 noundef %95, i64 noundef %100) #4
  %101 = load i32, ptr %18, align 4, !tbaa !31
  call void @libxsmm_generator_loop_footer_aarch64(ptr noundef nonnull %0, ptr noundef nonnull %8, i32 noundef %101, i32 noundef 1) #4
  br label %102

102:                                              ; preds = %83, %82
  call void @libxsmm_aarch64_instruction_close_stream(ptr noundef nonnull %0, i16 noundef zeroext 15) #4
  br label %103

103:                                              ; preds = %102, %40
  call void @llvm.lifetime.end.p0(i64 132, ptr nonnull %9) #4
  call void @llvm.lifetime.end.p0(i64 2052, ptr nonnull %8) #4
  call void @llvm.lifetime.end.p0(i64 688, ptr nonnull %7) #4
  ret void
}

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

declare void @libxsmm_reset_aarch64_gp_reg_mapping(ptr noundef) local_unnamed_addr #2

declare void @libxsmm_generator_gemm_init_micro_kernel_config_aarch64(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2

declare i32 @LIBXSMM_GEMM_GETENUM_AB_COMMON_PREC(ptr noundef) local_unnamed_addr #2

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

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

declare void @libxsmm_reset_loop_label_tracker(ptr noundef) local_unnamed_addr #2

declare void @libxsmm_aarch64_instruction_open_stream(ptr noundef, i16 noundef zeroext) local_unnamed_addr #2

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 #2

declare void @libxsmm_aarch64_instruction_alu_move(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2

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

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

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

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

declare void @libxsmm_aarch64_instruction_alu_pair_move(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2

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

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

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

declare void @libxsmm_aarch64_instruction_close_stream(ptr noundef, i16 noundef zeroext) local_unnamed_addr #2

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

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

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


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,ReassociatePass,SLPVectorizerPass,SROAPass,SimplifyCFGPass