; 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.57 = external hidden unnamed_addr constant [94 x i8], align 1
@__func__.libxsmm_aarch64_instruction_alu_move = external hidden unnamed_addr constant [37 x i8], align 1
@.str.58 = external hidden unnamed_addr constant [73 x i8], align 1
@.str.59 = external hidden unnamed_addr constant [105 x i8], align 1
@.str.60 = external hidden unnamed_addr constant [105 x i8], align 1
@.str.61 = external hidden unnamed_addr constant [84 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: nounwind uwtable
define dso_local void @libxsmm_aarch64_instruction_alu_move(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5) #2 {
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %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 ptr, align 8
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  store ptr %0, ptr %7, align 8, !tbaa !5
  store i32 %1, ptr %8, align 4, !tbaa !9
  store i32 %2, ptr %9, align 4, !tbaa !9
  store i32 %3, ptr %10, align 4, !tbaa !9
  store i32 %4, ptr %11, align 4, !tbaa !9
  store i32 %5, ptr %12, align 4, !tbaa !9
  %17 = load ptr, ptr %7, align 8, !tbaa !5
  %18 = getelementptr inbounds %struct.libxsmm_generated_code, ptr %17, i32 0, i32 6
  %19 = load i32, ptr %18, align 4, !tbaa !11
  %20 = icmp ult i32 %19, 2001
  br i1 %20, label %21, label %32

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

27:                                               ; preds = %21
  %28 = load i32, ptr @libxsmm_verbosity, align 4, !tbaa !9
  br label %30

29:                                               ; preds = %21
  br label %30

30:                                               ; preds = %29, %27
  %31 = phi i32 [ %28, %27 ], [ 1, %29 ]
  call void @libxsmm_handle_error(ptr noundef %24, i32 noundef 90000, ptr noundef @__func__.libxsmm_aarch64_instruction_alu_move, ptr noundef @.str.1, i32 noundef 1472, i32 noundef %31)
  br label %236

32:                                               ; preds = %6
  %33 = load i32, ptr %8, align 4, !tbaa !9
  switch i32 %33, label %35 [
    i32 -1201649661, label %34
    i32 -1186988026, label %34
    i32 -1203764218, label %34
    i32 -1203762170, label %34
    i32 2034237446, label %34
    i32 2017461254, label %34
    i32 2017463302, label %34
    i32 -1205843965, label %34
    i32 -1191182330, label %34
    i32 -1207958522, label %34
    i32 -1207956474, label %34
    i32 2030043142, label %34
    i32 2013266950, label %34
    i32 2013268998, label %34
  ]

34:                                               ; preds = %32, %32, %32, %32, %32, %32, %32, %32, %32, %32, %32, %32, %32, %32
  br label %47

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

42:                                               ; preds = %35
  %43 = load i32, ptr @libxsmm_verbosity, align 4, !tbaa !9
  br label %45

44:                                               ; preds = %35
  br label %45

45:                                               ; preds = %44, %42
  %46 = phi i32 [ %43, %42 ], [ 1, %44 ]
  call void @libxsmm_handle_error(ptr noundef %39, i32 noundef 90000, ptr noundef @__func__.libxsmm_aarch64_instruction_alu_move, ptr noundef @.str.1, i32 noundef 1494, i32 noundef %46)
  br label %236

47:                                               ; preds = %34
  %48 = load ptr, ptr %7, align 8, !tbaa !5
  %49 = getelementptr inbounds %struct.libxsmm_generated_code, ptr %48, i32 0, i32 3
  %50 = load i32, ptr %49, align 8, !tbaa !13
  %51 = icmp ugt i32 %50, 1
  br i1 %51, label %52, label %225

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

68:                                               ; preds = %52
  %69 = load ptr, ptr %7, align 8, !tbaa !5
  %70 = load i32, ptr @libxsmm_ninit, align 4, !tbaa !9
  %71 = icmp ult i32 1, %70
  br i1 %71, label %72, label %74

72:                                               ; preds = %68
  %73 = load i32, ptr @libxsmm_verbosity, align 4, !tbaa !9
  br label %75

74:                                               ; preds = %68
  br label %75

75:                                               ; preds = %74, %72
  %76 = phi i32 [ %73, %72 ], [ 1, %74 ]
  call void @libxsmm_handle_error(ptr noundef %69, i32 noundef 90002, ptr noundef @__func__.libxsmm_aarch64_instruction_alu_move, ptr noundef @.str.1, i32 noundef 1504, i32 noundef %76)
  store i32 1, ptr %15, align 4
  br label %222

77:                                               ; preds = %52
  %78 = load i32, ptr %8, align 4, !tbaa !9
  %79 = and i32 -256, %78
  %80 = load ptr, ptr %14, align 8, !tbaa !5
  %81 = load i32, ptr %13, align 4, !tbaa !9
  %82 = zext i32 %81 to i64
  %83 = getelementptr inbounds i32, ptr %80, i64 %82
  store i32 %79, ptr %83, align 4, !tbaa !9
  %84 = load i32, ptr %12, align 4, !tbaa !9
  %85 = and i32 31, %84
  %86 = load ptr, ptr %14, align 8, !tbaa !5
  %87 = load i32, ptr %13, align 4, !tbaa !9
  %88 = zext i32 %87 to i64
  %89 = getelementptr inbounds i32, ptr %86, i64 %88
  %90 = load i32, ptr %89, align 4, !tbaa !9
  %91 = or i32 %90, %85
  store i32 %91, ptr %89, align 4, !tbaa !9
  %92 = load i32, ptr %9, align 4, !tbaa !9
  %93 = and i32 31, %92
  %94 = shl i32 %93, 5
  %95 = load ptr, ptr %14, align 8, !tbaa !5
  %96 = load i32, ptr %13, align 4, !tbaa !9
  %97 = zext i32 %96 to i64
  %98 = getelementptr inbounds i32, ptr %95, i64 %97
  %99 = load i32, ptr %98, align 4, !tbaa !9
  %100 = or i32 %99, %94
  store i32 %100, ptr %98, align 4, !tbaa !9
  %101 = load i32, ptr %12, align 4, !tbaa !9
  %102 = and i32 32, %101
  %103 = shl i32 %102, 25
  %104 = load ptr, ptr %14, align 8, !tbaa !5
  %105 = load i32, ptr %13, align 4, !tbaa !9
  %106 = zext i32 %105 to i64
  %107 = getelementptr inbounds i32, ptr %104, i64 %106
  %108 = load i32, ptr %107, align 4, !tbaa !9
  %109 = or i32 %108, %103
  store i32 %109, ptr %107, align 4, !tbaa !9
  %110 = load i32, ptr %8, align 4, !tbaa !9
  %111 = and i32 %110, 3
  %112 = icmp eq i32 %111, 3
  br i1 %112, label %113, label %136

113:                                              ; preds = %77
  %114 = load i32, ptr %8, align 4, !tbaa !9
  %115 = and i32 %114, 4
  %116 = icmp eq i32 %115, 0
  br i1 %116, label %117, label %136

117:                                              ; preds = %113
  %118 = load i32, ptr %10, align 4, !tbaa !9
  %119 = and i32 31, %118
  %120 = shl i32 %119, 16
  %121 = load ptr, ptr %14, align 8, !tbaa !5
  %122 = load i32, ptr %13, align 4, !tbaa !9
  %123 = zext i32 %122 to i64
  %124 = getelementptr inbounds i32, ptr %121, i64 %123
  %125 = load i32, ptr %124, align 4, !tbaa !9
  %126 = or i32 %125, %120
  store i32 %126, ptr %124, align 4, !tbaa !9
  %127 = load i32, ptr %10, align 4, !tbaa !9
  %128 = and i32 32, %127
  %129 = shl i32 %128, 8
  %130 = load ptr, ptr %14, align 8, !tbaa !5
  %131 = load i32, ptr %13, align 4, !tbaa !9
  %132 = zext i32 %131 to i64
  %133 = getelementptr inbounds i32, ptr %130, i64 %132
  %134 = load i32, ptr %133, align 4, !tbaa !9
  %135 = or i32 %134, %129
  store i32 %135, ptr %133, align 4, !tbaa !9
  br label %136

136:                                              ; preds = %117, %113, %77
  %137 = load i32, ptr %8, align 4, !tbaa !9
  %138 = and i32 %137, 6
  %139 = icmp eq i32 %138, 6
  br i1 %139, label %140, label %217

140:                                              ; preds = %136
  %141 = load i32, ptr %8, align 4, !tbaa !9
  %142 = icmp eq i32 %141, -1186988026
  br i1 %142, label %146, label %143

143:                                              ; preds = %140
  %144 = load i32, ptr %8, align 4, !tbaa !9
  %145 = icmp eq i32 %144, -1191182330
  br i1 %145, label %146, label %188

146:                                              ; preds = %143, %140
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #4
  %147 = load i32, ptr %12, align 4, !tbaa !9
  %148 = and i32 32, %147
  %149 = icmp eq i32 %148, 32
  br i1 %149, label %150, label %153

150:                                              ; preds = %146
  %151 = load i32, ptr %11, align 4, !tbaa !9
  %152 = sdiv i32 %151, 8
  store i32 %152, ptr %16, align 4, !tbaa !9
  br label %156

153:                                              ; preds = %146
  %154 = load i32, ptr %11, align 4, !tbaa !9
  %155 = sdiv i32 %154, 4
  store i32 %155, ptr %16, align 4, !tbaa !9
  br label %156

156:                                              ; preds = %153, %150
  %157 = load i32, ptr %16, align 4, !tbaa !9
  %158 = icmp sgt i32 %157, 4095
  br i1 %158, label %162, label %159

159:                                              ; preds = %156
  %160 = load i32, ptr %11, align 4, !tbaa !9
  %161 = icmp slt i32 %160, 0
  br i1 %161, label %162, label %175

162:                                              ; preds = %159, %156
  %163 = load ptr, ptr @stderr, align 8, !tbaa !5
  %164 = load i32, ptr %16, align 4, !tbaa !9
  %165 = load i32, ptr %11, align 4, !tbaa !9
  %166 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %163, ptr noundef @.str.59, i32 noundef %164, i32 noundef %165) #4
  %167 = load ptr, ptr %7, align 8, !tbaa !5
  %168 = load i32, ptr @libxsmm_ninit, align 4, !tbaa !9
  %169 = icmp ult i32 1, %168
  br i1 %169, label %170, label %172

170:                                              ; preds = %162
  %171 = load i32, ptr @libxsmm_verbosity, align 4, !tbaa !9
  br label %173

172:                                              ; preds = %162
  br label %173

173:                                              ; preds = %172, %170
  %174 = phi i32 [ %171, %170 ], [ 1, %172 ]
  call void @libxsmm_handle_error(ptr noundef %167, i32 noundef 90000, ptr noundef @__func__.libxsmm_aarch64_instruction_alu_move, ptr noundef @.str.1, i32 noundef 1539, i32 noundef %174)
  store i32 1, ptr %15, align 4
  br label %185

175:                                              ; preds = %159
  %176 = load i32, ptr %16, align 4, !tbaa !9
  %177 = and i32 4095, %176
  %178 = shl i32 %177, 10
  %179 = load ptr, ptr %14, align 8, !tbaa !5
  %180 = load i32, ptr %13, align 4, !tbaa !9
  %181 = zext i32 %180 to i64
  %182 = getelementptr inbounds i32, ptr %179, i64 %181
  %183 = load i32, ptr %182, align 4, !tbaa !9
  %184 = or i32 %183, %178
  store i32 %184, ptr %182, align 4, !tbaa !9
  store i32 0, ptr %15, align 4
  br label %185

185:                                              ; preds = %175, %173
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #4
  %186 = load i32, ptr %15, align 4
  switch i32 %186, label %222 [
    i32 0, label %187
  ]

187:                                              ; preds = %185
  br label %216

188:                                              ; preds = %143
  %189 = load i32, ptr %11, align 4, !tbaa !9
  %190 = icmp slt i32 %189, -256
  br i1 %190, label %194, label %191

191:                                              ; preds = %188
  %192 = load i32, ptr %11, align 4, !tbaa !9
  %193 = icmp sgt i32 %192, 255
  br i1 %193, label %194, label %206

194:                                              ; preds = %191, %188
  %195 = load ptr, ptr @stderr, align 8, !tbaa !5
  %196 = load i32, ptr %11, align 4, !tbaa !9
  %197 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %195, ptr noundef @.str.60, i32 noundef %196) #4
  %198 = load ptr, ptr %7, align 8, !tbaa !5
  %199 = load i32, ptr @libxsmm_ninit, align 4, !tbaa !9
  %200 = icmp ult i32 1, %199
  br i1 %200, label %201, label %203

201:                                              ; preds = %194
  %202 = load i32, ptr @libxsmm_verbosity, align 4, !tbaa !9
  br label %204

203:                                              ; preds = %194
  br label %204

204:                                              ; preds = %203, %201
  %205 = phi i32 [ %202, %201 ], [ 1, %203 ]
  call void @libxsmm_handle_error(ptr noundef %198, i32 noundef 90000, ptr noundef @__func__.libxsmm_aarch64_instruction_alu_move, ptr noundef @.str.1, i32 noundef 1546, i32 noundef %205)
  store i32 1, ptr %15, align 4
  br label %222

206:                                              ; preds = %191
  %207 = load i32, ptr %11, align 4, !tbaa !9
  %208 = and i32 511, %207
  %209 = shl i32 %208, 12
  %210 = load ptr, ptr %14, align 8, !tbaa !5
  %211 = load i32, ptr %13, align 4, !tbaa !9
  %212 = zext i32 %211 to i64
  %213 = getelementptr inbounds i32, ptr %210, i64 %212
  %214 = load i32, ptr %213, align 4, !tbaa !9
  %215 = or i32 %214, %209
  store i32 %215, ptr %213, align 4, !tbaa !9
  br label %216

216:                                              ; preds = %206, %187
  br label %217

217:                                              ; preds = %216, %136
  %218 = load ptr, ptr %7, align 8, !tbaa !5
  %219 = getelementptr inbounds %struct.libxsmm_generated_code, ptr %218, i32 0, i32 2
  %220 = load i32, ptr %219, align 4, !tbaa !14
  %221 = add i32 %220, 4
  store i32 %221, ptr %219, align 4, !tbaa !14
  store i32 0, ptr %15, align 4
  br label %222

222:                                              ; preds = %217, %204, %185, %75
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #4
  %223 = load i32, ptr %15, align 4
  switch i32 %223, label %237 [
    i32 0, label %224
    i32 1, label %236
  ]

224:                                              ; preds = %222
  br label %236

225:                                              ; preds = %47
  %226 = load ptr, ptr @stderr, align 8, !tbaa !5
  %227 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %226, ptr noundef @.str.61) #4
  %228 = load ptr, ptr %7, align 8, !tbaa !5
  %229 = load i32, ptr @libxsmm_ninit, align 4, !tbaa !9
  %230 = icmp ult i32 1, %229
  br i1 %230, label %231, label %233

231:                                              ; preds = %225
  %232 = load i32, ptr @libxsmm_verbosity, align 4, !tbaa !9
  br label %234

233:                                              ; preds = %225
  br label %234

234:                                              ; preds = %233, %231
  %235 = phi i32 [ %232, %231 ], [ 1, %233 ]
  call void @libxsmm_handle_error(ptr noundef %228, i32 noundef 90000, ptr noundef @__func__.libxsmm_aarch64_instruction_alu_move, ptr noundef @.str.1, i32 noundef 1558, i32 noundef %235)
  br label %236

236:                                              ; preds = %234, %224, %222, %45, %30
  ret void

237:                                              ; preds = %222
  unreachable
}

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

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

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 = { 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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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}


; 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.57 = external hidden unnamed_addr constant [94 x i8], align 1
@__func__.libxsmm_aarch64_instruction_alu_move = external hidden unnamed_addr constant [37 x i8], align 1
@.str.58 = external hidden unnamed_addr constant [73 x i8], align 1
@.str.59 = external hidden unnamed_addr constant [105 x i8], align 1
@.str.60 = external hidden unnamed_addr constant [105 x i8], align 1
@.str.61 = external hidden unnamed_addr constant [84 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_alu_move(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5) local_unnamed_addr #2 {
  %7 = getelementptr inbounds i8, ptr %0, i64 28
  %8 = load i32, ptr %7, align 4, !tbaa !5
  %9 = icmp ult i32 %8, 2001
  br i1 %9, label %10, label %17

10:                                               ; preds = %6
  %11 = load ptr, ptr @stderr, align 8, !tbaa !11
  %12 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %11, ptr noundef nonnull @.str.57) #3
  %13 = load i32, ptr @libxsmm_ninit, align 4, !tbaa !12
  %14 = icmp ugt i32 %13, 1
  %15 = load i32, ptr @libxsmm_verbosity, align 4
  %16 = select i1 %14, i32 %15, i32 1
  tail call void @libxsmm_handle_error(ptr noundef nonnull %0, i32 noundef 90000, ptr noundef nonnull @__func__.libxsmm_aarch64_instruction_alu_move, ptr noundef nonnull @.str.1, i32 noundef 1472, i32 noundef %16) #4
  br label %105

17:                                               ; preds = %6
  switch i32 %1, label %18 [
    i32 -1201649661, label %25
    i32 -1186988026, label %25
    i32 -1203764218, label %25
    i32 -1203762170, label %25
    i32 2034237446, label %25
    i32 2017461254, label %25
    i32 2017463302, label %25
    i32 -1205843965, label %25
    i32 -1191182330, label %25
    i32 -1207958522, label %25
    i32 -1207956474, label %25
    i32 2030043142, label %25
    i32 2013266950, label %25
    i32 2013268998, label %25
  ]

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

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

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

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

41:                                               ; preds = %29
  %42 = load ptr, ptr %0, align 8, !tbaa !16
  %43 = lshr i32 %31, 2
  %44 = and i32 %1, -256
  %45 = zext nneg i32 %43 to i64
  %46 = getelementptr inbounds i32, ptr %42, i64 %45
  %47 = and i32 %5, 31
  %48 = shl i32 %2, 5
  %49 = and i32 %48, 992
  %50 = and i32 %5, 32
  %51 = shl nuw nsw i32 %50, 25
  %52 = or i32 %49, %44
  %53 = or disjoint i32 %52, %47
  %54 = or i32 %53, %51
  %55 = and i32 %1, 7
  %or.cond64 = icmp eq i32 %55, 3
  br i1 %or.cond64, label %56, label %63

56:                                               ; preds = %41
  %57 = shl i32 %3, 16
  %58 = and i32 %57, 2031616
  %59 = shl i32 %3, 8
  %60 = and i32 %59, 8192
  %61 = or disjoint i32 %58, %60
  %62 = or i32 %61, %54
  br label %63

63:                                               ; preds = %56, %41
  %64 = phi i32 [ %62, %56 ], [ %54, %41 ]
  store i32 %64, ptr %46, align 4, !tbaa !12
  %65 = and i32 %1, 6
  %66 = icmp eq i32 %65, 6
  br i1 %66, label %67, label %95

67:                                               ; preds = %63
  %68 = and i32 %1, -4194305
  %or.cond = icmp eq i32 %68, -1191182330
  br i1 %or.cond, label %69, label %82

69:                                               ; preds = %67
  %.not = icmp eq i32 %50, 0
  %. = select i1 %.not, i32 4, i32 8
  %70 = sdiv i32 %4, %.
  %71 = icmp slt i32 %70, 4096
  %72 = icmp sgt i32 %4, -1
  %or.cond3.not = and i1 %72, %71
  br i1 %or.cond3.not, label %.thread, label %75

.thread:                                          ; preds = %69
  %73 = shl i32 %70, 10
  %74 = and i32 %73, 4193280
  br label %.sink.split

75:                                               ; preds = %69
  %76 = load ptr, ptr @stderr, align 8, !tbaa !11
  %77 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %76, ptr noundef nonnull @.str.59, i32 noundef %70, i32 noundef %4) #3
  %78 = load i32, ptr @libxsmm_ninit, align 4, !tbaa !12
  %79 = icmp ugt i32 %78, 1
  %80 = load i32, ptr @libxsmm_verbosity, align 4
  %81 = select i1 %79, i32 %80, i32 1
  tail call void @libxsmm_handle_error(ptr noundef nonnull %0, i32 noundef 90000, ptr noundef nonnull @__func__.libxsmm_aarch64_instruction_alu_move, ptr noundef nonnull @.str.1, i32 noundef 1539, i32 noundef %81) #4
  br label %105

82:                                               ; preds = %67
  %83 = add i32 %4, -256
  %or.cond5 = icmp ult i32 %83, -512
  br i1 %or.cond5, label %84, label %91

84:                                               ; preds = %82
  %85 = load ptr, ptr @stderr, align 8, !tbaa !11
  %86 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %85, ptr noundef nonnull @.str.60, i32 noundef %4) #3
  %87 = load i32, ptr @libxsmm_ninit, align 4, !tbaa !12
  %88 = icmp ugt i32 %87, 1
  %89 = load i32, ptr @libxsmm_verbosity, align 4
  %90 = select i1 %88, i32 %89, i32 1
  tail call void @libxsmm_handle_error(ptr noundef nonnull %0, i32 noundef 90000, ptr noundef nonnull @__func__.libxsmm_aarch64_instruction_alu_move, ptr noundef nonnull @.str.1, i32 noundef 1546, i32 noundef %90) #4
  br label %105

91:                                               ; preds = %82
  %92 = shl nsw i32 %4, 12
  %93 = and i32 %92, 2093056
  br label %.sink.split

.sink.split:                                      ; preds = %91, %.thread
  %.sink66 = phi i32 [ %74, %.thread ], [ %93, %91 ]
  %94 = or i32 %64, %.sink66
  store i32 %94, ptr %46, align 4, !tbaa !12
  br label %95

95:                                               ; preds = %.sink.split, %63
  %96 = load i32, ptr %30, align 4, !tbaa !14
  %97 = add i32 %96, 4
  store i32 %97, ptr %30, align 4, !tbaa !14
  br label %105

98:                                               ; preds = %25
  %99 = load ptr, ptr @stderr, align 8, !tbaa !11
  %100 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %99, ptr noundef nonnull @.str.61) #3
  %101 = load i32, ptr @libxsmm_ninit, align 4, !tbaa !12
  %102 = icmp ugt i32 %101, 1
  %103 = load i32, ptr @libxsmm_verbosity, align 4
  %104 = select i1 %102, i32 %103, i32 1
  tail call void @libxsmm_handle_error(ptr noundef nonnull %0, i32 noundef 90000, ptr noundef nonnull @__func__.libxsmm_aarch64_instruction_alu_move, ptr noundef nonnull @.str.1, i32 noundef 1558, i32 noundef %104) #4
  br label %105

105:                                              ; preds = %75, %36, %84, %95, %98, %18, %10
  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