; 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.75 = external hidden unnamed_addr constant [109 x i8], align 1
@__func__.libxsmm_aarch64_instruction_alu_compute_shifted_reg = external hidden unnamed_addr constant [52 x i8], align 1
@.str.76 = external hidden unnamed_addr constant [88 x i8], align 1
@.str.77 = external hidden unnamed_addr constant [76 x i8], align 1
@.str.78 = external hidden unnamed_addr constant [109 x i8], align 1
@.str.79 = external hidden unnamed_addr constant [99 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_alu_compute_shifted_reg(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 i8, align 1
  %16 = alloca ptr, align 8
  %17 = alloca i32, align 4
  %18 = 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
  %19 = load ptr, ptr %8, align 8, !tbaa !5
  %20 = getelementptr inbounds %struct.libxsmm_generated_code, ptr %19, i32 0, i32 6
  %21 = load i32, ptr %20, align 4, !tbaa !11
  %22 = icmp ult i32 %21, 2001
  br i1 %22, label %23, label %34

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

29:                                               ; preds = %23
  %30 = load i32, ptr @libxsmm_verbosity, align 4, !tbaa !9
  br label %32

31:                                               ; preds = %23
  br label %32

32:                                               ; preds = %31, %29
  %33 = phi i32 [ %30, %29 ], [ 1, %31 ]
  call void @libxsmm_handle_error(ptr noundef %26, i32 noundef 90000, ptr noundef @__func__.libxsmm_aarch64_instruction_alu_compute_shifted_reg, ptr noundef @.str.1, i32 noundef 1852, i32 noundef %33)
  br label %236

34:                                               ; preds = %7
  %35 = load i32, ptr %9, align 4, !tbaa !9
  switch i32 %35, label %37 [
    i32 704643079, label %36
    i32 167772167, label %36
    i32 1241513991, label %36
    i32 448798739, label %36
    i32 448799763, label %36
    i32 448800787, label %36
    i32 184549383, label %36
    i32 1258291207, label %36
    i32 453016595, label %36
    i32 448792595, label %36
  ]

36:                                               ; preds = %34, %34, %34, %34, %34, %34, %34, %34, %34, %34
  br label %49

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

44:                                               ; preds = %37
  %45 = load i32, ptr @libxsmm_verbosity, align 4, !tbaa !9
  br label %47

46:                                               ; preds = %37
  br label %47

47:                                               ; preds = %46, %44
  %48 = phi i32 [ %45, %44 ], [ 1, %46 ]
  call void @libxsmm_handle_error(ptr noundef %41, i32 noundef 90000, ptr noundef @__func__.libxsmm_aarch64_instruction_alu_compute_shifted_reg, ptr noundef @.str.1, i32 noundef 1870, i32 noundef %48)
  br label %236

49:                                               ; preds = %36
  %50 = load i32, ptr %13, align 4, !tbaa !9
  %51 = icmp ugt i32 %50, 63
  br i1 %51, label %52, label %69

52:                                               ; preds = %49
  %53 = load i32, ptr %9, align 4, !tbaa !9
  %54 = and i32 %53, 4
  %55 = icmp eq i32 %54, 4
  br i1 %55, label %56, label %69

56:                                               ; preds = %52
  %57 = load ptr, ptr @stderr, align 8, !tbaa !5
  %58 = load i32, ptr %9, align 4, !tbaa !9
  %59 = load i32, ptr %13, align 4, !tbaa !9
  %60 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %57, ptr noundef @.str.77, i32 noundef %58, i32 noundef %59) #4
  %61 = load ptr, ptr %8, align 8, !tbaa !5
  %62 = load i32, ptr @libxsmm_ninit, align 4, !tbaa !9
  %63 = icmp ult i32 1, %62
  br i1 %63, label %64, label %66

64:                                               ; preds = %56
  %65 = load i32, ptr @libxsmm_verbosity, align 4, !tbaa !9
  br label %67

66:                                               ; preds = %56
  br label %67

67:                                               ; preds = %66, %64
  %68 = phi i32 [ %65, %64 ], [ 1, %66 ]
  call void @libxsmm_handle_error(ptr noundef %61, i32 noundef 90000, ptr noundef @__func__.libxsmm_aarch64_instruction_alu_compute_shifted_reg, ptr noundef @.str.1, i32 noundef 1877, i32 noundef %68)
  br label %236

69:                                               ; preds = %52, %49
  %70 = load i32, ptr %10, align 4, !tbaa !9
  %71 = icmp ugt i32 %70, 31
  br i1 %71, label %72, label %79

72:                                               ; preds = %69
  %73 = load i32, ptr %11, align 4, !tbaa !9
  %74 = icmp ugt i32 %73, 31
  br i1 %74, label %75, label %79

75:                                               ; preds = %72
  %76 = load i32, ptr %12, align 4, !tbaa !9
  %77 = icmp ugt i32 %76, 31
  br i1 %77, label %78, label %79

78:                                               ; preds = %75
  br label %102

79:                                               ; preds = %75, %72, %69
  %80 = load i32, ptr %10, align 4, !tbaa !9
  %81 = icmp ult i32 %80, 32
  br i1 %81, label %82, label %89

82:                                               ; preds = %79
  %83 = load i32, ptr %11, align 4, !tbaa !9
  %84 = icmp ult i32 %83, 32
  br i1 %84, label %85, label %89

85:                                               ; preds = %82
  %86 = load i32, ptr %12, align 4, !tbaa !9
  %87 = icmp ult i32 %86, 32
  br i1 %87, label %88, label %89

88:                                               ; preds = %85
  br label %101

89:                                               ; preds = %85, %82, %79
  %90 = load ptr, ptr @stderr, align 8, !tbaa !5
  %91 = load i32, ptr %9, align 4, !tbaa !9
  %92 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %90, ptr noundef @.str.78, i32 noundef %91) #4
  %93 = load ptr, ptr %8, align 8, !tbaa !5
  %94 = load i32, ptr @libxsmm_ninit, align 4, !tbaa !9
  %95 = icmp ult i32 1, %94
  br i1 %95, label %96, label %98

96:                                               ; preds = %89
  %97 = load i32, ptr @libxsmm_verbosity, align 4, !tbaa !9
  br label %99

98:                                               ; preds = %89
  br label %99

99:                                               ; preds = %98, %96
  %100 = phi i32 [ %97, %96 ], [ 1, %98 ]
  call void @libxsmm_handle_error(ptr noundef %93, i32 noundef 90000, ptr noundef @__func__.libxsmm_aarch64_instruction_alu_compute_shifted_reg, ptr noundef @.str.1, i32 noundef 1888, i32 noundef %100)
  br label %236

101:                                              ; preds = %88
  br label %102

102:                                              ; preds = %101, %78
  %103 = load ptr, ptr %8, align 8, !tbaa !5
  %104 = getelementptr inbounds %struct.libxsmm_generated_code, ptr %103, i32 0, i32 3
  %105 = load i32, ptr %104, align 8, !tbaa !13
  %106 = icmp ugt i32 %105, 1
  br i1 %106, label %107, label %225

107:                                              ; preds = %102
  call void @llvm.lifetime.start.p0(i64 1, ptr %15) #4
  %108 = load i32, ptr %12, align 4, !tbaa !9
  %109 = icmp ult i32 %108, 32
  %110 = zext i1 %109 to i32
  %111 = trunc i32 %110 to i8
  %112 = zext i8 %111 to i32
  %113 = icmp ne i32 %112, 0
  br i1 %113, label %114, label %117

114:                                              ; preds = %107
  %115 = load i32, ptr %13, align 4, !tbaa !9
  %116 = and i32 31, %115
  br label %120

117:                                              ; preds = %107
  %118 = load i32, ptr %13, align 4, !tbaa !9
  %119 = and i32 63, %118
  br label %120

120:                                              ; preds = %117, %114
  %121 = phi i32 [ %116, %114 ], [ %119, %117 ]
  %122 = trunc i32 %121 to i8
  store i8 %122, ptr %15, align 1, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #4
  %123 = load ptr, ptr %8, align 8, !tbaa !5
  %124 = getelementptr inbounds %struct.libxsmm_generated_code, ptr %123, i32 0, i32 0
  %125 = load ptr, ptr %124, align 8, !tbaa !15
  store ptr %125, ptr %16, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #4
  %126 = load ptr, ptr %8, align 8, !tbaa !5
  %127 = getelementptr inbounds %struct.libxsmm_generated_code, ptr %126, i32 0, i32 2
  %128 = load i32, ptr %127, align 4, !tbaa !16
  %129 = udiv i32 %128, 4
  store i32 %129, ptr %17, align 4, !tbaa !9
  %130 = load ptr, ptr %8, align 8, !tbaa !5
  %131 = getelementptr inbounds %struct.libxsmm_generated_code, ptr %130, i32 0, i32 1
  %132 = load i32, ptr %131, align 8, !tbaa !17
  %133 = load ptr, ptr %8, align 8, !tbaa !5
  %134 = getelementptr inbounds %struct.libxsmm_generated_code, ptr %133, i32 0, i32 2
  %135 = load i32, ptr %134, align 4, !tbaa !16
  %136 = sub i32 %132, %135
  %137 = icmp ult i32 %136, 4
  br i1 %137, label %138, label %147

138:                                              ; preds = %120
  %139 = load ptr, ptr %8, align 8, !tbaa !5
  %140 = load i32, ptr @libxsmm_ninit, align 4, !tbaa !9
  %141 = icmp ult i32 1, %140
  br i1 %141, label %142, label %144

142:                                              ; preds = %138
  %143 = load i32, ptr @libxsmm_verbosity, align 4, !tbaa !9
  br label %145

144:                                              ; preds = %138
  br label %145

145:                                              ; preds = %144, %142
  %146 = phi i32 [ %143, %142 ], [ 1, %144 ]
  call void @libxsmm_handle_error(ptr noundef %139, i32 noundef 90002, ptr noundef @__func__.libxsmm_aarch64_instruction_alu_compute_shifted_reg, ptr noundef @.str.1, i32 noundef 1900, i32 noundef %146)
  store i32 1, ptr %18, align 4
  br label %222

147:                                              ; preds = %120
  %148 = load i32, ptr %9, align 4, !tbaa !9
  %149 = and i32 -256, %148
  %150 = load ptr, ptr %16, align 8, !tbaa !5
  %151 = load i32, ptr %17, align 4, !tbaa !9
  %152 = zext i32 %151 to i64
  %153 = getelementptr inbounds i32, ptr %150, i64 %152
  store i32 %149, ptr %153, align 4, !tbaa !9
  %154 = load i32, ptr %12, align 4, !tbaa !9
  %155 = and i32 31, %154
  %156 = load ptr, ptr %16, align 8, !tbaa !5
  %157 = load i32, ptr %17, align 4, !tbaa !9
  %158 = zext i32 %157 to i64
  %159 = getelementptr inbounds i32, ptr %156, i64 %158
  %160 = load i32, ptr %159, align 4, !tbaa !9
  %161 = or i32 %160, %155
  store i32 %161, ptr %159, align 4, !tbaa !9
  %162 = load i32, ptr %10, align 4, !tbaa !9
  %163 = and i32 31, %162
  %164 = shl i32 %163, 5
  %165 = load ptr, ptr %16, align 8, !tbaa !5
  %166 = load i32, ptr %17, align 4, !tbaa !9
  %167 = zext i32 %166 to i64
  %168 = getelementptr inbounds i32, ptr %165, i64 %167
  %169 = load i32, ptr %168, align 4, !tbaa !9
  %170 = or i32 %169, %164
  store i32 %170, ptr %168, align 4, !tbaa !9
  %171 = load i32, ptr %11, align 4, !tbaa !9
  %172 = and i32 31, %171
  %173 = shl i32 %172, 16
  %174 = load ptr, ptr %16, align 8, !tbaa !5
  %175 = load i32, ptr %17, align 4, !tbaa !9
  %176 = zext i32 %175 to i64
  %177 = getelementptr inbounds i32, ptr %174, i64 %176
  %178 = load i32, ptr %177, align 4, !tbaa !9
  %179 = or i32 %178, %173
  store i32 %179, ptr %177, align 4, !tbaa !9
  %180 = load i32, ptr %12, align 4, !tbaa !9
  %181 = and i32 32, %180
  %182 = shl i32 %181, 26
  %183 = load ptr, ptr %16, align 8, !tbaa !5
  %184 = load i32, ptr %17, align 4, !tbaa !9
  %185 = zext i32 %184 to i64
  %186 = getelementptr inbounds i32, ptr %183, i64 %185
  %187 = load i32, ptr %186, align 4, !tbaa !9
  %188 = or i32 %187, %182
  store i32 %188, ptr %186, align 4, !tbaa !9
  %189 = load i32, ptr %9, align 4, !tbaa !9
  %190 = and i32 %189, 4
  %191 = icmp eq i32 %190, 4
  br i1 %191, label %192, label %203

192:                                              ; preds = %147
  %193 = load i8, ptr %15, align 1, !tbaa !14
  %194 = zext i8 %193 to i32
  %195 = and i32 63, %194
  %196 = shl i32 %195, 10
  %197 = load ptr, ptr %16, align 8, !tbaa !5
  %198 = load i32, ptr %17, align 4, !tbaa !9
  %199 = zext i32 %198 to i64
  %200 = getelementptr inbounds i32, ptr %197, i64 %199
  %201 = load i32, ptr %200, align 4, !tbaa !9
  %202 = or i32 %201, %196
  store i32 %202, ptr %200, align 4, !tbaa !9
  br label %203

203:                                              ; preds = %192, %147
  %204 = load i32, ptr %9, align 4, !tbaa !9
  %205 = and i32 %204, 16
  %206 = icmp eq i32 %205, 0
  br i1 %206, label %207, label %217

207:                                              ; preds = %203
  %208 = load i32, ptr %14, align 4, !tbaa !9
  %209 = and i32 3, %208
  %210 = shl i32 %209, 22
  %211 = load ptr, ptr %16, align 8, !tbaa !5
  %212 = load i32, ptr %17, align 4, !tbaa !9
  %213 = zext i32 %212 to i64
  %214 = getelementptr inbounds i32, ptr %211, i64 %213
  %215 = load i32, ptr %214, align 4, !tbaa !9
  %216 = or i32 %215, %210
  store i32 %216, ptr %214, align 4, !tbaa !9
  br label %217

217:                                              ; preds = %207, %203
  %218 = load ptr, ptr %8, 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 !16
  %221 = add i32 %220, 4
  store i32 %221, ptr %219, align 4, !tbaa !16
  store i32 0, ptr %18, align 4
  br label %222

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

224:                                              ; preds = %222
  br label %236

225:                                              ; preds = %102
  %226 = load ptr, ptr @stderr, align 8, !tbaa !5
  %227 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %226, ptr noundef @.str.79) #4
  %228 = load ptr, ptr %8, 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_compute_shifted_reg, ptr noundef @.str.1, i32 noundef 1928, i32 noundef %235)
  br label %236

236:                                              ; preds = %234, %224, %222, %99, %67, %47, %32
  ret void

237:                                              ; preds = %222
  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 = !{!7, !7, i64 0}
!15 = !{!12, !6, i64 0}
!16 = !{!12, !10, i64 12}
!17 = !{!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.75 = external hidden unnamed_addr constant [109 x i8], align 1
@__func__.libxsmm_aarch64_instruction_alu_compute_shifted_reg = external hidden unnamed_addr constant [52 x i8], align 1
@.str.76 = external hidden unnamed_addr constant [88 x i8], align 1
@.str.77 = external hidden unnamed_addr constant [76 x i8], align 1
@.str.78 = external hidden unnamed_addr constant [109 x i8], align 1
@.str.79 = external hidden unnamed_addr constant [99 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_compute_shifted_reg(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, 2001
  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.75) #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_alu_compute_shifted_reg, ptr noundef nonnull @.str.1, i32 noundef 1852, i32 noundef %17) #4
  br label %100

18:                                               ; preds = %7
  switch i32 %1, label %19 [
    i32 704643079, label %26
    i32 167772167, label %26
    i32 1241513991, label %26
    i32 448798739, label %26
    i32 448799763, label %26
    i32 448800787, label %26
    i32 184549383, label %26
    i32 1258291207, label %26
    i32 453016595, label %26
    i32 448792595, 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.76, 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_alu_compute_shifted_reg, ptr noundef nonnull @.str.1, i32 noundef 1870, i32 noundef %25) #4
  br label %100

26:                                               ; preds = %18, %18, %18, %18, %18, %18, %18, %18, %18, %18
  %27 = icmp ult i32 %5, 64
  %28 = and i32 %1, 4
  %.not = icmp eq i32 %28, 0
  %or.cond59 = or i1 %.not, %27
  br i1 %or.cond59, label %36, label %29

29:                                               ; preds = %26
  %30 = load ptr, ptr @stderr, align 8, !tbaa !11
  %31 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %30, ptr noundef nonnull @.str.77, i32 noundef %1, i32 noundef %5) #3
  %32 = load i32, ptr @libxsmm_ninit, align 4, !tbaa !12
  %33 = icmp ugt i32 %32, 1
  %34 = load i32, ptr @libxsmm_verbosity, align 4
  %35 = select i1 %33, i32 %34, i32 1
  tail call void @libxsmm_handle_error(ptr noundef nonnull %0, i32 noundef 90000, ptr noundef nonnull @__func__.libxsmm_aarch64_instruction_alu_compute_shifted_reg, ptr noundef nonnull @.str.1, i32 noundef 1877, i32 noundef %35) #4
  br label %100

36:                                               ; preds = %26
  %37 = icmp ugt i32 %2, 31
  %38 = icmp ugt i32 %3, 31
  %or.cond = and i1 %37, %38
  %39 = icmp ugt i32 %4, 31
  %or.cond3 = and i1 %or.cond, %39
  br i1 %or.cond3, label %50, label %40

40:                                               ; preds = %36
  %41 = or i32 %3, %2
  %42 = or i32 %41, %4
  %or.cond7 = icmp ult i32 %42, 32
  br i1 %or.cond7, label %50, label %43

43:                                               ; preds = %40
  %44 = load ptr, ptr @stderr, align 8, !tbaa !11
  %45 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %44, ptr noundef nonnull @.str.78, i32 noundef %1) #3
  %46 = load i32, ptr @libxsmm_ninit, align 4, !tbaa !12
  %47 = icmp ugt i32 %46, 1
  %48 = load i32, ptr @libxsmm_verbosity, align 4
  %49 = select i1 %47, i32 %48, i32 1
  tail call void @libxsmm_handle_error(ptr noundef nonnull %0, i32 noundef 90000, ptr noundef nonnull @__func__.libxsmm_aarch64_instruction_alu_compute_shifted_reg, ptr noundef nonnull @.str.1, i32 noundef 1888, i32 noundef %49) #4
  br label %100

50:                                               ; preds = %40, %36
  %51 = getelementptr inbounds i8, ptr %0, i64 16
  %52 = load i32, ptr %51, align 8, !tbaa !13
  %53 = icmp ugt i32 %52, 1
  br i1 %53, label %54, label %93

54:                                               ; preds = %50
  %55 = getelementptr inbounds i8, ptr %0, i64 12
  %56 = load i32, ptr %55, align 4, !tbaa !14
  %57 = getelementptr inbounds i8, ptr %0, i64 8
  %58 = load i32, ptr %57, align 8, !tbaa !15
  %59 = sub i32 %58, %56
  %60 = icmp ult i32 %59, 4
  br i1 %60, label %61, label %66

61:                                               ; preds = %54
  %62 = load i32, ptr @libxsmm_ninit, align 4, !tbaa !12
  %63 = icmp ugt i32 %62, 1
  %64 = load i32, ptr @libxsmm_verbosity, align 4
  %65 = select i1 %63, i32 %64, i32 1
  tail call void @libxsmm_handle_error(ptr noundef nonnull %0, i32 noundef 90002, ptr noundef nonnull @__func__.libxsmm_aarch64_instruction_alu_compute_shifted_reg, ptr noundef nonnull @.str.1, i32 noundef 1900, i32 noundef %65) #4
  br label %100

66:                                               ; preds = %54
  %.v = select i1 %39, i32 63, i32 31
  %67 = and i32 %.v, %5
  %68 = lshr i32 %56, 2
  %69 = load ptr, ptr %0, align 8, !tbaa !16
  %70 = and i32 %1, -256
  %71 = zext nneg i32 %68 to i64
  %72 = getelementptr inbounds i32, ptr %69, i64 %71
  %73 = and i32 %4, 31
  %74 = shl i32 %2, 5
  %75 = and i32 %74, 992
  %76 = shl i32 %3, 16
  %77 = and i32 %76, 2031616
  %78 = shl i32 %4, 26
  %79 = and i32 %78, -2147483648
  %80 = shl nuw nsw i32 %67, 10
  %81 = select i1 %.not, i32 0, i32 %80
  %82 = or i32 %75, %70
  %83 = or disjoint i32 %82, %73
  %84 = or i32 %83, %77
  %85 = or i32 %84, %79
  %storemerge = or i32 %85, %81
  %86 = and i32 %1, 16
  %87 = icmp eq i32 %86, 0
  %88 = shl i32 %6, 22
  %89 = and i32 %88, 12582912
  %90 = select i1 %87, i32 %89, i32 0
  %storemerge60 = or i32 %storemerge, %90
  store i32 %storemerge60, ptr %72, align 4, !tbaa !12
  %91 = load i32, ptr %55, align 4, !tbaa !14
  %92 = add i32 %91, 4
  store i32 %92, ptr %55, align 4, !tbaa !14
  br label %100

93:                                               ; preds = %50
  %94 = load ptr, ptr @stderr, align 8, !tbaa !11
  %95 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %94, ptr noundef nonnull @.str.79) #3
  %96 = load i32, ptr @libxsmm_ninit, align 4, !tbaa !12
  %97 = icmp ugt i32 %96, 1
  %98 = load i32, ptr @libxsmm_verbosity, align 4
  %99 = select i1 %97, i32 %98, i32 1
  tail call void @libxsmm_handle_error(ptr noundef nonnull %0, i32 noundef 90000, ptr noundef nonnull @__func__.libxsmm_aarch64_instruction_alu_compute_shifted_reg, ptr noundef nonnull @.str.1, i32 noundef 1928, i32 noundef %99) #4
  br label %100

100:                                              ; preds = %61, %66, %93, %43, %29, %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,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass