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

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

@stderr = external global ptr, align 8
@.str.1 = external hidden unnamed_addr constant [86 x i8], align 1
@libxsmm_ninit = external global i32, align 4
@libxsmm_verbosity = external global i32, align 4
@.str.35 = external hidden unnamed_addr constant [97 x i8], align 1
@__func__.libxsmm_aarch64_instruction_sve_move = external hidden unnamed_addr constant [37 x i8], align 1
@.str.36 = external hidden unnamed_addr constant [73 x i8], align 1
@.str.37 = external hidden unnamed_addr constant [91 x i8], align 1
@.str.38 = external hidden unnamed_addr constant [80 x i8], align 1
@.str.39 = external hidden unnamed_addr constant [75 x i8], align 1
@.str.40 = external hidden unnamed_addr constant [95 x i8], align 1
@.str.41 = external hidden unnamed_addr constant [91 x i8], align 1

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

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

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

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

; Function Attrs: nounwind uwtable
define dso_local void @libxsmm_aarch64_instruction_sve_move(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6) #3 {
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca ptr, align 8
  %17 = alloca i32, align 4
  %18 = alloca i8, align 1
  %19 = alloca i32, align 4
  store ptr %0, ptr %8, align 8, !tbaa !5
  store i32 %1, ptr %9, align 4, !tbaa !9
  store i32 %2, ptr %10, align 4, !tbaa !9
  store i32 %3, ptr %11, align 4, !tbaa !9
  store i32 %4, ptr %12, align 4, !tbaa !9
  store i32 %5, ptr %13, align 4, !tbaa !9
  store i32 %6, ptr %14, align 4, !tbaa !9
  %20 = load ptr, ptr %8, align 8, !tbaa !5
  %21 = getelementptr inbounds %struct.libxsmm_generated_code, ptr %20, i32 0, i32 6
  %22 = load i32, ptr %21, align 4, !tbaa !11
  %23 = icmp ult i32 %22, 2201
  br i1 %23, label %24, label %35

24:                                               ; preds = %7
  %25 = load ptr, ptr @stderr, align 8, !tbaa !5
  %26 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %25, ptr noundef @.str.35) #4
  %27 = load ptr, ptr %8, align 8, !tbaa !5
  %28 = load i32, ptr @libxsmm_ninit, align 4, !tbaa !9
  %29 = icmp ult i32 1, %28
  br i1 %29, label %30, label %32

30:                                               ; preds = %24
  %31 = load i32, ptr @libxsmm_verbosity, align 4, !tbaa !9
  br label %33

32:                                               ; preds = %24
  br label %33

33:                                               ; preds = %32, %30
  %34 = phi i32 [ %31, %30 ], [ 1, %32 ]
  call void @libxsmm_handle_error(ptr noundef %27, i32 noundef 90000, ptr noundef @__func__.libxsmm_aarch64_instruction_sve_move, ptr noundef @.str.1, i32 noundef 950, i32 noundef %34)
  br label %319

35:                                               ; preds = %7
  %36 = load i32, ptr %9, align 4, !tbaa !9
  switch i32 %36, label %38 [
    i32 -2055208954, label %37
    i32 -444596218, label %37
    i32 -2055192570, label %37
    i32 -444579834, label %37
    i32 -1543462778, label %37
    i32 -469704570, label %37
    i32 -1532977018, label %37
    i32 -1522515837, label %37
    i32 -1522491258, label %37
    i32 -977223549, label %37
    i32 -2063581053, label %37
    i32 -2061483901, label %37
    i32 -983515005, label %37
    i32 -2071969661, label %37
    i32 -2069872509, label %37
    i32 -991903613, label %37
    i32 -459218810, label %37
    i32 -1512030077, label %37
    i32 -1512005498, label %37
    i32 -438288253, label %37
    i32 -438247290, label %37
    i32 -443490170, label %37
    i32 -448774013, label %37
    i32 -448733050, label %37
    i32 -448757629, label %37
    i32 -446660477, label %37
    i32 -450838397, label %37
    i32 -457146237, label %37
    i32 -455049085, label %37
    i32 -459235197, label %37
    i32 -451878778, label %37
    i32 -2076147578, label %37
    i32 -2067750778, label %37
    i32 -2059353978, label %37
    i32 -2050957178, label %37
    i32 -1518329722, label %37
  ]

37:                                               ; preds = %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35, %35
  br label %50

38:                                               ; preds = %35
  %39 = load ptr, ptr @stderr, align 8, !tbaa !5
  %40 = load i32, ptr %9, align 4, !tbaa !9
  %41 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %39, ptr noundef @.str.36, i32 noundef %40) #4
  %42 = load ptr, ptr %8, align 8, !tbaa !5
  %43 = load i32, ptr @libxsmm_ninit, align 4, !tbaa !9
  %44 = icmp ult i32 1, %43
  br i1 %44, label %45, label %47

45:                                               ; preds = %38
  %46 = load i32, ptr @libxsmm_verbosity, align 4, !tbaa !9
  br label %48

47:                                               ; preds = %38
  br label %48

48:                                               ; preds = %47, %45
  %49 = phi i32 [ %46, %45 ], [ 1, %47 ]
  call void @libxsmm_handle_error(ptr noundef %42, i32 noundef 90000, ptr noundef @__func__.libxsmm_aarch64_instruction_sve_move, ptr noundef @.str.1, i32 noundef 994, i32 noundef %49)
  br label %319

50:                                               ; preds = %37
  %51 = load ptr, ptr %8, align 8, !tbaa !5
  %52 = getelementptr inbounds %struct.libxsmm_generated_code, ptr %51, i32 0, i32 3
  %53 = load i32, ptr %52, align 8, !tbaa !13
  %54 = icmp ugt i32 %53, 1
  br i1 %54, label %55, label %308

55:                                               ; preds = %50
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #4
  %56 = load ptr, ptr %8, align 8, !tbaa !5
  %57 = getelementptr inbounds %struct.libxsmm_generated_code, ptr %56, i32 0, i32 2
  %58 = load i32, ptr %57, align 4, !tbaa !14
  %59 = udiv i32 %58, 4
  store i32 %59, ptr %15, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #4
  %60 = load ptr, ptr %8, align 8, !tbaa !5
  %61 = getelementptr inbounds %struct.libxsmm_generated_code, ptr %60, i32 0, i32 0
  %62 = load ptr, ptr %61, align 8, !tbaa !15
  store ptr %62, ptr %16, align 8, !tbaa !5
  %63 = load ptr, ptr %8, align 8, !tbaa !5
  %64 = getelementptr inbounds %struct.libxsmm_generated_code, ptr %63, i32 0, i32 1
  %65 = load i32, ptr %64, align 8, !tbaa !16
  %66 = load ptr, ptr %8, align 8, !tbaa !5
  %67 = getelementptr inbounds %struct.libxsmm_generated_code, ptr %66, i32 0, i32 2
  %68 = load i32, ptr %67, align 4, !tbaa !14
  %69 = sub i32 %65, %68
  %70 = icmp ult i32 %69, 4
  br i1 %70, label %71, label %80

71:                                               ; preds = %55
  %72 = load ptr, ptr %8, align 8, !tbaa !5
  %73 = load i32, ptr @libxsmm_ninit, align 4, !tbaa !9
  %74 = icmp ult i32 1, %73
  br i1 %74, label %75, label %77

75:                                               ; preds = %71
  %76 = load i32, ptr @libxsmm_verbosity, align 4, !tbaa !9
  br label %78

77:                                               ; preds = %71
  br label %78

78:                                               ; preds = %77, %75
  %79 = phi i32 [ %76, %75 ], [ 1, %77 ]
  call void @libxsmm_handle_error(ptr noundef %72, i32 noundef 90002, ptr noundef @__func__.libxsmm_aarch64_instruction_sve_move, ptr noundef @.str.1, i32 noundef 1004, i32 noundef %79)
  store i32 1, ptr %17, align 4
  br label %305

80:                                               ; preds = %55
  %81 = load i32, ptr %9, align 4, !tbaa !9
  %82 = and i32 -256, %81
  %83 = load ptr, ptr %16, align 8, !tbaa !5
  %84 = load i32, ptr %15, align 4, !tbaa !9
  %85 = zext i32 %84 to i64
  %86 = getelementptr inbounds i32, ptr %83, i64 %85
  store i32 %82, ptr %86, align 4, !tbaa !9
  %87 = load i32, ptr %13, align 4, !tbaa !9
  %88 = and i32 31, %87
  %89 = load ptr, ptr %16, align 8, !tbaa !5
  %90 = load i32, ptr %15, align 4, !tbaa !9
  %91 = zext i32 %90 to i64
  %92 = getelementptr inbounds i32, ptr %89, i64 %91
  %93 = load i32, ptr %92, align 4, !tbaa !9
  %94 = or i32 %93, %88
  store i32 %94, ptr %92, align 4, !tbaa !9
  %95 = load i32, ptr %10, align 4, !tbaa !9
  %96 = and i32 31, %95
  %97 = shl i32 %96, 5
  %98 = load ptr, ptr %16, align 8, !tbaa !5
  %99 = load i32, ptr %15, align 4, !tbaa !9
  %100 = zext i32 %99 to i64
  %101 = getelementptr inbounds i32, ptr %98, i64 %100
  %102 = load i32, ptr %101, align 4, !tbaa !9
  %103 = or i32 %102, %97
  store i32 %103, ptr %101, align 4, !tbaa !9
  %104 = load i32, ptr %9, align 4, !tbaa !9
  %105 = and i32 %104, 128
  %106 = icmp eq i32 %105, 128
  br i1 %106, label %107, label %117

107:                                              ; preds = %80
  %108 = load i32, ptr %14, align 4, !tbaa !9
  %109 = and i32 7, %108
  %110 = shl i32 %109, 10
  %111 = load ptr, ptr %16, align 8, !tbaa !5
  %112 = load i32, ptr %15, align 4, !tbaa !9
  %113 = zext i32 %112 to i64
  %114 = getelementptr inbounds i32, ptr %111, i64 %113
  %115 = load i32, ptr %114, align 4, !tbaa !9
  %116 = or i32 %115, %110
  store i32 %116, ptr %114, align 4, !tbaa !9
  br label %117

117:                                              ; preds = %107, %80
  %118 = load i32, ptr %9, align 4, !tbaa !9
  %119 = and i32 %118, 3
  %120 = icmp eq i32 %119, 3
  br i1 %120, label %121, label %131

121:                                              ; preds = %117
  %122 = load i32, ptr %11, align 4, !tbaa !9
  %123 = and i32 31, %122
  %124 = shl i32 %123, 16
  %125 = load ptr, ptr %16, align 8, !tbaa !5
  %126 = load i32, ptr %15, align 4, !tbaa !9
  %127 = zext i32 %126 to i64
  %128 = getelementptr inbounds i32, ptr %125, i64 %127
  %129 = load i32, ptr %128, align 4, !tbaa !9
  %130 = or i32 %129, %124
  store i32 %130, ptr %128, align 4, !tbaa !9
  br label %131

131:                                              ; preds = %121, %117
  %132 = load i32, ptr %9, align 4, !tbaa !9
  %133 = and i32 %132, 4
  %134 = icmp eq i32 %133, 4
  br i1 %134, label %135, label %287

135:                                              ; preds = %131
  %136 = load i32, ptr %9, align 4, !tbaa !9
  %137 = icmp eq i32 %136, -2059353978
  br i1 %137, label %141, label %138

138:                                              ; preds = %135
  %139 = load i32, ptr %9, align 4, !tbaa !9
  %140 = icmp eq i32 %139, -2050957178
  br i1 %140, label %141, label %199

141:                                              ; preds = %138, %135
  call void @llvm.lifetime.start.p0(i64 1, ptr %18) #4
  store i8 0, ptr %18, align 1, !tbaa !17
  %142 = load i32, ptr %12, align 4, !tbaa !9
  %143 = icmp slt i32 %142, 0
  br i1 %143, label %144, label %155

144:                                              ; preds = %141
  %145 = load ptr, ptr @stderr, align 8, !tbaa !5
  %146 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %145, ptr noundef @.str.37) #4
  %147 = load ptr, ptr %8, align 8, !tbaa !5
  %148 = load i32, ptr @libxsmm_ninit, align 4, !tbaa !9
  %149 = icmp ult i32 1, %148
  br i1 %149, label %150, label %152

150:                                              ; preds = %144
  %151 = load i32, ptr @libxsmm_verbosity, align 4, !tbaa !9
  br label %153

152:                                              ; preds = %144
  br label %153

153:                                              ; preds = %152, %150
  %154 = phi i32 [ %151, %150 ], [ 1, %152 ]
  call void @libxsmm_handle_error(ptr noundef %147, i32 noundef 90000, ptr noundef @__func__.libxsmm_aarch64_instruction_sve_move, ptr noundef @.str.1, i32 noundef 1029, i32 noundef %154)
  store i32 1, ptr %17, align 4
  br label %196

155:                                              ; preds = %141
  %156 = load i32, ptr %9, align 4, !tbaa !9
  %157 = icmp eq i32 %156, -2059353978
  br i1 %157, label %158, label %162

158:                                              ; preds = %155
  %159 = load i32, ptr %12, align 4, !tbaa !9
  %160 = lshr i32 %159, 2
  %161 = trunc i32 %160 to i8
  store i8 %161, ptr %18, align 1, !tbaa !17
  br label %170

162:                                              ; preds = %155
  %163 = load i32, ptr %9, align 4, !tbaa !9
  %164 = icmp eq i32 %163, -2050957178
  br i1 %164, label %165, label %169

165:                                              ; preds = %162
  %166 = load i32, ptr %12, align 4, !tbaa !9
  %167 = lshr i32 %166, 3
  %168 = trunc i32 %167 to i8
  store i8 %168, ptr %18, align 1, !tbaa !17
  br label %169

169:                                              ; preds = %165, %162
  br label %170

170:                                              ; preds = %169, %158
  %171 = load i8, ptr %18, align 1, !tbaa !17
  %172 = zext i8 %171 to i32
  %173 = icmp sgt i32 %172, 63
  br i1 %173, label %174, label %185

174:                                              ; preds = %170
  %175 = load ptr, ptr @stderr, align 8, !tbaa !5
  %176 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %175, ptr noundef @.str.38) #4
  %177 = load ptr, ptr %8, align 8, !tbaa !5
  %178 = load i32, ptr @libxsmm_ninit, align 4, !tbaa !9
  %179 = icmp ult i32 1, %178
  br i1 %179, label %180, label %182

180:                                              ; preds = %174
  %181 = load i32, ptr @libxsmm_verbosity, align 4, !tbaa !9
  br label %183

182:                                              ; preds = %174
  br label %183

183:                                              ; preds = %182, %180
  %184 = phi i32 [ %181, %180 ], [ 1, %182 ]
  call void @libxsmm_handle_error(ptr noundef %177, i32 noundef 90000, ptr noundef @__func__.libxsmm_aarch64_instruction_sve_move, ptr noundef @.str.1, i32 noundef 1041, i32 noundef %184)
  store i32 1, ptr %17, align 4
  br label %196

185:                                              ; preds = %170
  %186 = load i8, ptr %18, align 1, !tbaa !17
  %187 = zext i8 %186 to i32
  %188 = and i32 63, %187
  %189 = shl i32 %188, 16
  %190 = load ptr, ptr %16, align 8, !tbaa !5
  %191 = load i32, ptr %15, align 4, !tbaa !9
  %192 = zext i32 %191 to i64
  %193 = getelementptr inbounds i32, ptr %190, i64 %192
  %194 = load i32, ptr %193, align 4, !tbaa !9
  %195 = or i32 %194, %189
  store i32 %195, ptr %193, align 4, !tbaa !9
  store i32 0, ptr %17, align 4
  br label %196

196:                                              ; preds = %185, %183, %153
  call void @llvm.lifetime.end.p0(i64 1, ptr %18) #4
  %197 = load i32, ptr %17, align 4
  switch i32 %197, label %305 [
    i32 0, label %198
  ]

198:                                              ; preds = %196
  br label %286

199:                                              ; preds = %138
  %200 = load i32, ptr %9, align 4, !tbaa !9
  %201 = icmp eq i32 %200, -2055208954
  br i1 %201, label %211, label %202

202:                                              ; preds = %199
  %203 = load i32, ptr %9, align 4, !tbaa !9
  %204 = icmp eq i32 %203, -2055192570
  br i1 %204, label %211, label %205

205:                                              ; preds = %202
  %206 = load i32, ptr %9, align 4, !tbaa !9
  %207 = icmp eq i32 %206, -444596218
  br i1 %207, label %211, label %208

208:                                              ; preds = %205
  %209 = load i32, ptr %9, align 4, !tbaa !9
  %210 = icmp eq i32 %209, -444579834
  br i1 %210, label %211, label %248

211:                                              ; preds = %208, %205, %202, %199
  %212 = load i32, ptr %12, align 4, !tbaa !9
  %213 = icmp slt i32 %212, -256
  br i1 %213, label %217, label %214

214:                                              ; preds = %211
  %215 = load i32, ptr %12, align 4, !tbaa !9
  %216 = icmp sgt i32 %215, 256
  br i1 %216, label %217, label %228

217:                                              ; preds = %214, %211
  %218 = load ptr, ptr @stderr, align 8, !tbaa !5
  %219 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %218, ptr noundef @.str.39) #4
  %220 = load ptr, ptr %8, align 8, !tbaa !5
  %221 = load i32, ptr @libxsmm_ninit, align 4, !tbaa !9
  %222 = icmp ult i32 1, %221
  br i1 %222, label %223, label %225

223:                                              ; preds = %217
  %224 = load i32, ptr @libxsmm_verbosity, align 4, !tbaa !9
  br label %226

225:                                              ; preds = %217
  br label %226

226:                                              ; preds = %225, %223
  %227 = phi i32 [ %224, %223 ], [ 1, %225 ]
  call void @libxsmm_handle_error(ptr noundef %220, i32 noundef 90000, ptr noundef @__func__.libxsmm_aarch64_instruction_sve_move, ptr noundef @.str.1, i32 noundef 1050, i32 noundef %227)
  store i32 1, ptr %17, align 4
  br label %305

228:                                              ; preds = %214
  %229 = load i32, ptr %12, align 4, !tbaa !9
  %230 = and i32 7, %229
  %231 = shl i32 %230, 10
  %232 = load ptr, ptr %16, align 8, !tbaa !5
  %233 = load i32, ptr %15, align 4, !tbaa !9
  %234 = zext i32 %233 to i64
  %235 = getelementptr inbounds i32, ptr %232, i64 %234
  %236 = load i32, ptr %235, align 4, !tbaa !9
  %237 = or i32 %236, %231
  store i32 %237, ptr %235, align 4, !tbaa !9
  %238 = load i32, ptr %12, align 4, !tbaa !9
  %239 = ashr i32 %238, 3
  %240 = and i32 63, %239
  %241 = shl i32 %240, 16
  %242 = load ptr, ptr %16, align 8, !tbaa !5
  %243 = load i32, ptr %15, align 4, !tbaa !9
  %244 = zext i32 %243 to i64
  %245 = getelementptr inbounds i32, ptr %242, i64 %244
  %246 = load i32, ptr %245, align 4, !tbaa !9
  %247 = or i32 %246, %241
  store i32 %247, ptr %245, align 4, !tbaa !9
  br label %285

248:                                              ; preds = %208
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #4
  %249 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %249, ptr %19, align 4, !tbaa !9
  %250 = load i32, ptr %9, align 4, !tbaa !9
  %251 = icmp eq i32 -1518329722, %250
  br i1 %251, label %252, label %255

252:                                              ; preds = %248
  %253 = load i32, ptr %19, align 4, !tbaa !9
  %254 = sdiv i32 %253, 16
  store i32 %254, ptr %19, align 4, !tbaa !9
  br label %255

255:                                              ; preds = %252, %248
  %256 = load i32, ptr %19, align 4, !tbaa !9
  %257 = icmp slt i32 %256, -8
  br i1 %257, label %261, label %258

258:                                              ; preds = %255
  %259 = load i32, ptr %19, align 4, !tbaa !9
  %260 = icmp sgt i32 %259, 7
  br i1 %260, label %261, label %272

261:                                              ; preds = %258, %255
  %262 = load ptr, ptr @stderr, align 8, !tbaa !5
  %263 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %262, ptr noundef @.str.40) #4
  %264 = load ptr, ptr %8, align 8, !tbaa !5
  %265 = load i32, ptr @libxsmm_ninit, align 4, !tbaa !9
  %266 = icmp ult i32 1, %265
  br i1 %266, label %267, label %269

267:                                              ; preds = %261
  %268 = load i32, ptr @libxsmm_verbosity, align 4, !tbaa !9
  br label %270

269:                                              ; preds = %261
  br label %270

270:                                              ; preds = %269, %267
  %271 = phi i32 [ %268, %267 ], [ 1, %269 ]
  call void @libxsmm_handle_error(ptr noundef %264, i32 noundef 90000, ptr noundef @__func__.libxsmm_aarch64_instruction_sve_move, ptr noundef @.str.1, i32 noundef 1066, i32 noundef %271)
  store i32 1, ptr %17, align 4
  br label %282

272:                                              ; preds = %258
  %273 = load i32, ptr %19, align 4, !tbaa !9
  %274 = and i32 15, %273
  %275 = shl i32 %274, 16
  %276 = load ptr, ptr %16, align 8, !tbaa !5
  %277 = load i32, ptr %15, align 4, !tbaa !9
  %278 = zext i32 %277 to i64
  %279 = getelementptr inbounds i32, ptr %276, i64 %278
  %280 = load i32, ptr %279, align 4, !tbaa !9
  %281 = or i32 %280, %275
  store i32 %281, ptr %279, align 4, !tbaa !9
  store i32 0, ptr %17, align 4
  br label %282

282:                                              ; preds = %272, %270
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #4
  %283 = load i32, ptr %17, align 4
  switch i32 %283, label %305 [
    i32 0, label %284
  ]

284:                                              ; preds = %282
  br label %285

285:                                              ; preds = %284, %228
  br label %286

286:                                              ; preds = %285, %198
  br label %287

287:                                              ; preds = %286, %131
  %288 = load i32, ptr %9, align 4, !tbaa !9
  %289 = icmp eq i32 %288, -2055208954
  br i1 %289, label %293, label %290

290:                                              ; preds = %287
  %291 = load i32, ptr %9, align 4, !tbaa !9
  %292 = icmp eq i32 %291, -444596218
  br i1 %292, label %293, label %300

293:                                              ; preds = %290, %287
  %294 = load ptr, ptr %16, align 8, !tbaa !5
  %295 = load i32, ptr %15, align 4, !tbaa !9
  %296 = zext i32 %295 to i64
  %297 = getelementptr inbounds i32, ptr %294, i64 %296
  %298 = load i32, ptr %297, align 4, !tbaa !9
  %299 = and i32 %298, -17
  store i32 %299, ptr %297, align 4, !tbaa !9
  br label %300

300:                                              ; preds = %293, %290
  %301 = load ptr, ptr %8, align 8, !tbaa !5
  %302 = getelementptr inbounds %struct.libxsmm_generated_code, ptr %301, i32 0, i32 2
  %303 = load i32, ptr %302, align 4, !tbaa !14
  %304 = add i32 %303, 4
  store i32 %304, ptr %302, align 4, !tbaa !14
  store i32 0, ptr %17, align 4
  br label %305

305:                                              ; preds = %300, %282, %226, %196, %78
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #4
  %306 = load i32, ptr %17, align 4
  switch i32 %306, label %320 [
    i32 0, label %307
    i32 1, label %319
  ]

307:                                              ; preds = %305
  br label %319

308:                                              ; preds = %50
  %309 = load ptr, ptr @stderr, align 8, !tbaa !5
  %310 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %309, ptr noundef @.str.41) #4
  %311 = load ptr, ptr %8, align 8, !tbaa !5
  %312 = load i32, ptr @libxsmm_ninit, align 4, !tbaa !9
  %313 = icmp ult i32 1, %312
  br i1 %313, label %314, label %316

314:                                              ; preds = %308
  %315 = load i32, ptr @libxsmm_verbosity, align 4, !tbaa !9
  br label %317

316:                                              ; preds = %308
  br label %317

317:                                              ; preds = %316, %314
  %318 = phi i32 [ %315, %314 ], [ 1, %316 ]
  call void @libxsmm_handle_error(ptr noundef %311, i32 noundef 90000, ptr noundef @__func__.libxsmm_aarch64_instruction_sve_move, ptr noundef @.str.1, i32 noundef 1084, i32 noundef %318)
  br label %319

319:                                              ; preds = %317, %307, %305, %48, %33
  ret void

320:                                              ; preds = %305
  unreachable
}

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !10, i64 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 = !{!12, !10, i64 16}
!14 = !{!12, !10, i64 12}
!15 = !{!12, !6, i64 0}
!16 = !{!12, !10, i64 8}
!17 = !{!7, !7, i64 0}


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

@stderr = external local_unnamed_addr global ptr, align 8
@.str.1 = external hidden unnamed_addr constant [86 x i8], align 1
@libxsmm_ninit = external local_unnamed_addr global i32, align 4
@libxsmm_verbosity = external local_unnamed_addr global i32, align 4
@.str.35 = external hidden unnamed_addr constant [97 x i8], align 1
@__func__.libxsmm_aarch64_instruction_sve_move = external hidden unnamed_addr constant [37 x i8], align 1
@.str.36 = external hidden unnamed_addr constant [73 x i8], align 1
@.str.37 = external hidden unnamed_addr constant [91 x i8], align 1
@.str.38 = external hidden unnamed_addr constant [80 x i8], align 1
@.str.39 = external hidden unnamed_addr constant [75 x i8], align 1
@.str.40 = external hidden unnamed_addr constant [95 x i8], align 1
@.str.41 = external hidden unnamed_addr constant [91 x i8], align 1

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

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

; Function Attrs: nounwind uwtable
define dso_local void @libxsmm_aarch64_instruction_sve_move(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6) local_unnamed_addr #2 {
  %8 = getelementptr inbounds i8, ptr %0, i64 28
  %9 = load i32, ptr %8, align 4, !tbaa !5
  %10 = icmp ult i32 %9, 2201
  br i1 %10, label %11, label %18

11:                                               ; preds = %7
  %12 = load ptr, ptr @stderr, align 8, !tbaa !11
  %13 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %12, ptr noundef nonnull @.str.35) #3
  %14 = load i32, ptr @libxsmm_ninit, align 4, !tbaa !12
  %15 = icmp ugt i32 %14, 1
  %16 = load i32, ptr @libxsmm_verbosity, align 4
  %17 = select i1 %15, i32 %16, i32 1
  tail call void @libxsmm_handle_error(ptr noundef nonnull %0, i32 noundef 90000, ptr noundef nonnull @__func__.libxsmm_aarch64_instruction_sve_move, ptr noundef nonnull @.str.1, i32 noundef 950, i32 noundef %17) #4
  br label %.critedge

18:                                               ; preds = %7
  switch i32 %1, label %19 [
    i32 -2055208954, label %26
    i32 -444596218, label %26
    i32 -2055192570, label %26
    i32 -444579834, label %26
    i32 -1543462778, label %26
    i32 -469704570, label %26
    i32 -1532977018, label %26
    i32 -1522515837, label %26
    i32 -1522491258, label %26
    i32 -977223549, label %26
    i32 -2063581053, label %26
    i32 -2061483901, label %26
    i32 -983515005, label %26
    i32 -2071969661, label %26
    i32 -2069872509, label %26
    i32 -991903613, label %26
    i32 -459218810, label %26
    i32 -1512030077, label %26
    i32 -1512005498, label %26
    i32 -438288253, label %26
    i32 -438247290, label %26
    i32 -443490170, label %26
    i32 -448774013, label %26
    i32 -448733050, label %26
    i32 -448757629, label %26
    i32 -446660477, label %26
    i32 -450838397, label %26
    i32 -457146237, label %26
    i32 -455049085, label %26
    i32 -459235197, label %26
    i32 -451878778, label %26
    i32 -2076147578, label %26
    i32 -2067750778, label %26
    i32 -2059353978, label %26
    i32 -2050957178, label %26
    i32 -1518329722, label %26
  ]

19:                                               ; preds = %18
  %20 = load ptr, ptr @stderr, align 8, !tbaa !11
  %21 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %20, ptr noundef nonnull @.str.36, i32 noundef %1) #3
  %22 = load i32, ptr @libxsmm_ninit, align 4, !tbaa !12
  %23 = icmp ugt i32 %22, 1
  %24 = load i32, ptr @libxsmm_verbosity, align 4
  %25 = select i1 %23, i32 %24, i32 1
  tail call void @libxsmm_handle_error(ptr noundef nonnull %0, i32 noundef 90000, ptr noundef nonnull @__func__.libxsmm_aarch64_instruction_sve_move, ptr noundef nonnull @.str.1, i32 noundef 994, i32 noundef %25) #4
  br label %.critedge

26:                                               ; preds = %18, %18, %18, %18, %18, %18, %18, %18, %18, %18, %18, %18, %18, %18, %18, %18, %18, %18, %18, %18, %18, %18, %18, %18, %18, %18, %18, %18, %18, %18, %18, %18, %18, %18, %18, %18
  %27 = getelementptr inbounds i8, ptr %0, i64 16
  %28 = load i32, ptr %27, align 8, !tbaa !13
  %29 = icmp ugt i32 %28, 1
  br i1 %29, label %30, label %125

30:                                               ; preds = %26
  %31 = getelementptr inbounds i8, ptr %0, i64 12
  %32 = load i32, ptr %31, align 4, !tbaa !14
  %33 = getelementptr inbounds i8, ptr %0, i64 8
  %34 = load i32, ptr %33, align 8, !tbaa !15
  %35 = sub i32 %34, %32
  %36 = icmp ult i32 %35, 4
  br i1 %36, label %37, label %42

37:                                               ; preds = %30
  %38 = load i32, ptr @libxsmm_ninit, align 4, !tbaa !12
  %39 = icmp ugt i32 %38, 1
  %40 = load i32, ptr @libxsmm_verbosity, align 4
  %41 = select i1 %39, i32 %40, i32 1
  tail call void @libxsmm_handle_error(ptr noundef nonnull %0, i32 noundef 90002, ptr noundef nonnull @__func__.libxsmm_aarch64_instruction_sve_move, ptr noundef nonnull @.str.1, i32 noundef 1004, i32 noundef %41) #4
  br label %.critedge

42:                                               ; preds = %30
  %43 = load ptr, ptr %0, align 8, !tbaa !16
  %44 = lshr i32 %32, 2
  %45 = and i32 %1, -256
  %46 = zext nneg i32 %44 to i64
  %47 = getelementptr inbounds i32, ptr %43, i64 %46
  %48 = and i32 %5, 31
  %49 = shl i32 %2, 5
  %50 = and i32 %49, 992
  %51 = and i32 %1, 128
  %.not = icmp eq i32 %51, 0
  %52 = shl i32 %6, 10
  %53 = and i32 %52, 7168
  %54 = select i1 %.not, i32 0, i32 %53
  %55 = or i32 %50, %45
  %56 = or disjoint i32 %55, %48
  %storemerge = or i32 %56, %54
  %57 = and i32 %1, 3
  %58 = icmp eq i32 %57, 3
  %59 = shl i32 %3, 16
  %60 = and i32 %59, 2031616
  %61 = select i1 %58, i32 %60, i32 0
  %storemerge97 = or i32 %storemerge, %61
  store i32 %storemerge97, ptr %47, align 4, !tbaa !12
  %62 = and i32 %1, 4
  %.not91 = icmp eq i32 %62, 0
  br i1 %.not91, label %118, label %63

63:                                               ; preds = %42
  switch i32 %1, label %106 [
    i32 -2050957178, label %64
    i32 -2059353978, label %64
    i32 -444579834, label %88
    i32 -444596218, label %88
    i32 -2055192570, label %88
    i32 -2055208954, label %88
    i32 -1518329722, label %104
  ]

64:                                               ; preds = %63, %63
  %65 = icmp slt i32 %4, 0
  br i1 %65, label %66, label %73

66:                                               ; preds = %64
  %67 = load ptr, ptr @stderr, align 8, !tbaa !11
  %68 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %67, ptr noundef nonnull @.str.37) #3
  %69 = load i32, ptr @libxsmm_ninit, align 4, !tbaa !12
  %70 = icmp ugt i32 %69, 1
  %71 = load i32, ptr @libxsmm_verbosity, align 4
  %72 = select i1 %70, i32 %71, i32 1
  tail call void @libxsmm_handle_error(ptr noundef nonnull %0, i32 noundef 90000, ptr noundef nonnull @__func__.libxsmm_aarch64_instruction_sve_move, ptr noundef nonnull @.str.1, i32 noundef 1029, i32 noundef %72) #4
  br label %.critedge

73:                                               ; preds = %64
  switch i32 %1, label %.thread [
    i32 -2059353978, label %75
    i32 -2050957178, label %74
  ]

74:                                               ; preds = %73
  br label %75

75:                                               ; preds = %73, %74
  %.sink = phi i32 [ 3, %74 ], [ 2, %73 ]
  %76 = lshr i32 %4, %.sink
  %77 = and i32 %76, 192
  %.not92 = icmp eq i32 %77, 0
  br i1 %.not92, label %.thread, label %78

78:                                               ; preds = %75
  %79 = load ptr, ptr @stderr, align 8, !tbaa !11
  %80 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %79, ptr noundef nonnull @.str.38) #3
  %81 = load i32, ptr @libxsmm_ninit, align 4, !tbaa !12
  %82 = icmp ugt i32 %81, 1
  %83 = load i32, ptr @libxsmm_verbosity, align 4
  %84 = select i1 %82, i32 %83, i32 1
  tail call void @libxsmm_handle_error(ptr noundef nonnull %0, i32 noundef 90000, ptr noundef nonnull @__func__.libxsmm_aarch64_instruction_sve_move, ptr noundef nonnull @.str.1, i32 noundef 1041, i32 noundef %84) #4
  br label %.critedge

.thread:                                          ; preds = %73, %75
  %.08595 = phi i32 [ %76, %75 ], [ 0, %73 ]
  %85 = shl i32 %.08595, 16
  %86 = and i32 %85, 4128768
  %87 = or i32 %86, %storemerge97
  br label %.sink.split

88:                                               ; preds = %63, %63, %63, %63
  %89 = add i32 %4, -257
  %or.cond10 = icmp ult i32 %89, -513
  br i1 %or.cond10, label %90, label %97

90:                                               ; preds = %88
  %91 = load ptr, ptr @stderr, align 8, !tbaa !11
  %92 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %91, ptr noundef nonnull @.str.39) #3
  %93 = load i32, ptr @libxsmm_ninit, align 4, !tbaa !12
  %94 = icmp ugt i32 %93, 1
  %95 = load i32, ptr @libxsmm_verbosity, align 4
  %96 = select i1 %94, i32 %95, i32 1
  tail call void @libxsmm_handle_error(ptr noundef nonnull %0, i32 noundef 90000, ptr noundef nonnull @__func__.libxsmm_aarch64_instruction_sve_move, ptr noundef nonnull @.str.1, i32 noundef 1050, i32 noundef %96) #4
  br label %.critedge

97:                                               ; preds = %88
  %98 = shl nsw i32 %4, 10
  %99 = and i32 %98, 7168
  %100 = shl nsw i32 %4, 13
  %101 = and i32 %100, 4128768
  %102 = or disjoint i32 %101, %99
  %103 = or i32 %102, %storemerge97
  br label %.sink.split

104:                                              ; preds = %63
  %105 = sdiv i32 %4, 16
  br label %106

106:                                              ; preds = %63, %104
  %.0 = phi i32 [ %105, %104 ], [ %4, %63 ]
  %107 = add i32 %.0, 8
  %or.cond12 = icmp ult i32 %107, 16
  br i1 %or.cond12, label %.thread96, label %111

.thread96:                                        ; preds = %106
  %108 = shl nsw i32 %.0, 16
  %109 = and i32 %108, 983040
  %110 = or i32 %storemerge97, %109
  br label %.sink.split

111:                                              ; preds = %106
  %112 = load ptr, ptr @stderr, align 8, !tbaa !11
  %113 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %112, ptr noundef nonnull @.str.40) #3
  %114 = load i32, ptr @libxsmm_ninit, align 4, !tbaa !12
  %115 = icmp ugt i32 %114, 1
  %116 = load i32, ptr @libxsmm_verbosity, align 4
  %117 = select i1 %115, i32 %116, i32 1
  tail call void @libxsmm_handle_error(ptr noundef nonnull %0, i32 noundef 90000, ptr noundef nonnull @__func__.libxsmm_aarch64_instruction_sve_move, ptr noundef nonnull @.str.1, i32 noundef 1066, i32 noundef %117) #4
  br label %.critedge

.sink.split:                                      ; preds = %97, %.thread, %.thread96
  %.sink98 = phi i32 [ %110, %.thread96 ], [ %87, %.thread ], [ %103, %97 ]
  store i32 %.sink98, ptr %47, align 4, !tbaa !12
  br label %118

118:                                              ; preds = %.sink.split, %42
  %119 = phi i32 [ %storemerge97, %42 ], [ %.sink98, %.sink.split ]
  switch i32 %1, label %122 [
    i32 -444596218, label %120
    i32 -2055208954, label %120
  ]

120:                                              ; preds = %118, %118
  %121 = and i32 %119, -17
  store i32 %121, ptr %47, align 4, !tbaa !12
  br label %122

122:                                              ; preds = %118, %120
  %123 = load i32, ptr %31, align 4, !tbaa !14
  %124 = add i32 %123, 4
  store i32 %124, ptr %31, align 4, !tbaa !14
  br label %.critedge

125:                                              ; preds = %26
  %126 = load ptr, ptr @stderr, align 8, !tbaa !11
  %127 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %126, ptr noundef nonnull @.str.41) #3
  %128 = load i32, ptr @libxsmm_ninit, align 4, !tbaa !12
  %129 = icmp ugt i32 %128, 1
  %130 = load i32, ptr @libxsmm_verbosity, align 4
  %131 = select i1 %129, i32 %130, i32 1
  tail call void @libxsmm_handle_error(ptr noundef nonnull %0, i32 noundef 90000, ptr noundef nonnull @__func__.libxsmm_aarch64_instruction_sve_move, ptr noundef nonnull @.str.1, i32 noundef 1084, i32 noundef %131) #4
  br label %.critedge

.critedge:                                        ; preds = %111, %37, %90, %122, %78, %66, %125, %19, %11
  ret void
}

attributes #0 = { 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 #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 = { cold nounwind }
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, !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 = !{!7, !7, i64 0}
!12 = !{!10, !10, i64 0}
!13 = !{!6, !10, i64 16}
!14 = !{!6, !10, i64 12}
!15 = !{!6, !10, i64 8}
!16 = !{!6, !7, i64 0}


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