; 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.19 = external hidden unnamed_addr constant [103 x i8], align 1
@__func__.libxsmm_aarch64_instruction_asimd_struct_move = external hidden unnamed_addr constant [46 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [82 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [72 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [81 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [93 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_asimd_struct_move(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i16 noundef signext %6, i32 noundef %7) #3 {
  %9 = alloca ptr, align 8
  %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 i16, align 2
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca ptr, align 8
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  %21 = alloca i32, align 4
  %22 = alloca i32, align 4
  store ptr %0, ptr %9, align 8, !tbaa !5
  store i32 %1, ptr %10, align 4, !tbaa !9
  store i32 %2, ptr %11, align 4, !tbaa !9
  store i32 %3, ptr %12, align 4, !tbaa !9
  store i32 %4, ptr %13, align 4, !tbaa !9
  store i32 %5, ptr %14, align 4, !tbaa !9
  store i16 %6, ptr %15, align 2, !tbaa !11
  store i32 %7, ptr %16, align 4, !tbaa !9
  %23 = load i32, ptr %13, align 4, !tbaa !9
  %24 = load ptr, ptr %9, align 8, !tbaa !5
  %25 = getelementptr inbounds %struct.libxsmm_generated_code, ptr %24, i32 0, i32 6
  %26 = load i32, ptr %25, align 4, !tbaa !13
  %27 = icmp ult i32 %26, 2001
  br i1 %27, label %28, label %39

28:                                               ; preds = %8
  %29 = load ptr, ptr @stderr, align 8, !tbaa !5
  %30 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %29, ptr noundef @.str.19) #4
  %31 = load ptr, ptr %9, align 8, !tbaa !5
  %32 = load i32, ptr @libxsmm_ninit, align 4, !tbaa !9
  %33 = icmp ult i32 1, %32
  br i1 %33, label %34, label %36

34:                                               ; preds = %28
  %35 = load i32, ptr @libxsmm_verbosity, align 4, !tbaa !9
  br label %37

36:                                               ; preds = %28
  br label %37

37:                                               ; preds = %36, %34
  %38 = phi i32 [ %35, %34 ], [ 1, %36 ]
  call void @libxsmm_handle_error(ptr noundef %31, i32 noundef 90000, ptr noundef @__func__.libxsmm_aarch64_instruction_asimd_struct_move, ptr noundef @.str.1, i32 noundef 591, i32 noundef %38)
  br label %229

39:                                               ; preds = %8
  %40 = load i32, ptr %10, align 4, !tbaa !9
  switch i32 %40, label %42 [
    i32 232751106, label %41
    i32 230719491, label %41
  ]

41:                                               ; preds = %39, %39
  br label %54

42:                                               ; preds = %39
  %43 = load ptr, ptr @stderr, align 8, !tbaa !5
  %44 = load i32, ptr %10, align 4, !tbaa !9
  %45 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %43, ptr noundef @.str.20, i32 noundef %44) #4
  %46 = load ptr, ptr %9, align 8, !tbaa !5
  %47 = load i32, ptr @libxsmm_ninit, align 4, !tbaa !9
  %48 = icmp ult i32 1, %47
  br i1 %48, label %49, label %51

49:                                               ; preds = %42
  %50 = load i32, ptr @libxsmm_verbosity, align 4, !tbaa !9
  br label %52

51:                                               ; preds = %42
  br label %52

52:                                               ; preds = %51, %49
  %53 = phi i32 [ %50, %49 ], [ 1, %51 ]
  call void @libxsmm_handle_error(ptr noundef %46, i32 noundef 90000, ptr noundef @__func__.libxsmm_aarch64_instruction_asimd_struct_move, ptr noundef @.str.1, i32 noundef 601, i32 noundef %53)
  br label %229

54:                                               ; preds = %41
  %55 = load ptr, ptr %9, align 8, !tbaa !5
  %56 = getelementptr inbounds %struct.libxsmm_generated_code, ptr %55, i32 0, i32 3
  %57 = load i32, ptr %56, align 8, !tbaa !15
  %58 = icmp ugt i32 %57, 1
  br i1 %58, label %59, label %218

59:                                               ; preds = %54
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #4
  %60 = load ptr, ptr %9, align 8, !tbaa !5
  %61 = getelementptr inbounds %struct.libxsmm_generated_code, ptr %60, i32 0, i32 2
  %62 = load i32, ptr %61, align 4, !tbaa !16
  %63 = udiv i32 %62, 4
  store i32 %63, ptr %17, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #4
  %64 = load ptr, ptr %9, align 8, !tbaa !5
  %65 = getelementptr inbounds %struct.libxsmm_generated_code, ptr %64, i32 0, i32 0
  %66 = load ptr, ptr %65, align 8, !tbaa !17
  store ptr %66, ptr %18, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #4
  store i32 0, ptr %19, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #4
  store i32 0, ptr %20, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #4
  store i32 0, ptr %21, align 4, !tbaa !9
  %67 = load ptr, ptr %9, align 8, !tbaa !5
  %68 = getelementptr inbounds %struct.libxsmm_generated_code, ptr %67, i32 0, i32 1
  %69 = load i32, ptr %68, align 8, !tbaa !18
  %70 = load ptr, ptr %9, align 8, !tbaa !5
  %71 = getelementptr inbounds %struct.libxsmm_generated_code, ptr %70, i32 0, i32 2
  %72 = load i32, ptr %71, align 4, !tbaa !16
  %73 = sub i32 %69, %72
  %74 = icmp ult i32 %73, 4
  br i1 %74, label %75, label %84

75:                                               ; preds = %59
  %76 = load ptr, ptr %9, align 8, !tbaa !5
  %77 = load i32, ptr @libxsmm_ninit, align 4, !tbaa !9
  %78 = icmp ult i32 1, %77
  br i1 %78, label %79, label %81

79:                                               ; preds = %75
  %80 = load i32, ptr @libxsmm_verbosity, align 4, !tbaa !9
  br label %82

81:                                               ; preds = %75
  br label %82

82:                                               ; preds = %81, %79
  %83 = phi i32 [ %80, %79 ], [ 1, %81 ]
  call void @libxsmm_handle_error(ptr noundef %76, i32 noundef 90002, ptr noundef @__func__.libxsmm_aarch64_instruction_asimd_struct_move, ptr noundef @.str.1, i32 noundef 612, i32 noundef %83)
  store i32 1, ptr %22, align 4
  br label %215

84:                                               ; preds = %59
  %85 = load i32, ptr %10, align 4, !tbaa !9
  %86 = and i32 -256, %85
  %87 = load ptr, ptr %18, align 8, !tbaa !5
  %88 = load i32, ptr %17, align 4, !tbaa !9
  %89 = zext i32 %88 to i64
  %90 = getelementptr inbounds i32, ptr %87, i64 %89
  store i32 %86, ptr %90, align 4, !tbaa !9
  %91 = load i32, ptr %14, align 4, !tbaa !9
  %92 = and i32 31, %91
  %93 = load ptr, ptr %18, align 8, !tbaa !5
  %94 = load i32, ptr %17, align 4, !tbaa !9
  %95 = zext i32 %94 to i64
  %96 = getelementptr inbounds i32, ptr %93, i64 %95
  %97 = load i32, ptr %96, align 4, !tbaa !9
  %98 = or i32 %97, %92
  store i32 %98, ptr %96, align 4, !tbaa !9
  %99 = load i32, ptr %11, align 4, !tbaa !9
  %100 = and i32 31, %99
  %101 = shl i32 %100, 5
  %102 = load ptr, ptr %18, align 8, !tbaa !5
  %103 = load i32, ptr %17, align 4, !tbaa !9
  %104 = zext i32 %103 to i64
  %105 = getelementptr inbounds i32, ptr %102, i64 %104
  %106 = load i32, ptr %105, align 4, !tbaa !9
  %107 = or i32 %106, %101
  store i32 %107, ptr %105, align 4, !tbaa !9
  %108 = load i32, ptr %10, align 4, !tbaa !9
  %109 = and i32 3, %108
  %110 = icmp eq i32 %109, 3
  br i1 %110, label %111, label %121

111:                                              ; preds = %84
  %112 = load i32, ptr %12, align 4, !tbaa !9
  %113 = and i32 31, %112
  %114 = shl i32 %113, 16
  %115 = load ptr, ptr %18, align 8, !tbaa !5
  %116 = load i32, ptr %17, align 4, !tbaa !9
  %117 = zext i32 %116 to i64
  %118 = getelementptr inbounds i32, ptr %115, i64 %117
  %119 = load i32, ptr %118, align 4, !tbaa !9
  %120 = or i32 %119, %114
  store i32 %120, ptr %118, align 4, !tbaa !9
  br label %121

121:                                              ; preds = %111, %84
  %122 = load i32, ptr %16, align 4, !tbaa !9
  switch i32 %122, label %174 [
    i32 4, label %123
    i32 6, label %151
  ]

123:                                              ; preds = %121
  %124 = load i16, ptr %15, align 2, !tbaa !11
  %125 = sext i16 %124 to i32
  %126 = ashr i32 %125, 1
  %127 = and i32 1, %126
  store i32 %127, ptr %19, align 4, !tbaa !9
  %128 = load i16, ptr %15, align 2, !tbaa !11
  %129 = sext i16 %128 to i32
  %130 = ashr i32 %129, 0
  %131 = and i32 1, %130
  store i32 %131, ptr %20, align 4, !tbaa !9
  %132 = load i32, ptr %10, align 4, !tbaa !9
  %133 = and i32 3, %132
  %134 = icmp ne i32 %133, 3
  br i1 %134, label %135, label %150

135:                                              ; preds = %123
  %136 = load i32, ptr %13, align 4, !tbaa !9
  %137 = icmp ne i32 %136, 4
  br i1 %137, label %138, label %150

138:                                              ; preds = %135
  %139 = load ptr, ptr @stderr, align 8, !tbaa !5
  %140 = load i32, ptr %13, align 4, !tbaa !9
  %141 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %139, ptr noundef @.str.21, i32 noundef %140) #4
  %142 = load ptr, ptr %9, align 8, !tbaa !5
  %143 = load i32, ptr @libxsmm_ninit, align 4, !tbaa !9
  %144 = icmp ult i32 1, %143
  br i1 %144, label %145, label %147

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

147:                                              ; preds = %138
  br label %148

148:                                              ; preds = %147, %145
  %149 = phi i32 [ %146, %145 ], [ 1, %147 ]
  call void @libxsmm_handle_error(ptr noundef %142, i32 noundef 90000, ptr noundef @__func__.libxsmm_aarch64_instruction_asimd_struct_move, ptr noundef @.str.1, i32 noundef 634, i32 noundef %149)
  store i32 1, ptr %22, align 4
  br label %215

150:                                              ; preds = %135, %123
  br label %186

151:                                              ; preds = %121
  %152 = load i16, ptr %15, align 2, !tbaa !11
  %153 = sext i16 %152 to i32
  %154 = and i32 1, %153
  store i32 %154, ptr %19, align 4, !tbaa !9
  store i32 1, ptr %21, align 4, !tbaa !9
  %155 = load i32, ptr %10, align 4, !tbaa !9
  %156 = and i32 3, %155
  %157 = icmp ne i32 %156, 3
  br i1 %157, label %158, label %173

158:                                              ; preds = %151
  %159 = load i32, ptr %13, align 4, !tbaa !9
  %160 = icmp ne i32 %159, 8
  br i1 %160, label %161, label %173

161:                                              ; preds = %158
  %162 = load ptr, ptr @stderr, align 8, !tbaa !5
  %163 = load i32, ptr %13, align 4, !tbaa !9
  %164 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %162, ptr noundef @.str.21, i32 noundef %163) #4
  %165 = load ptr, ptr %9, align 8, !tbaa !5
  %166 = load i32, ptr @libxsmm_ninit, align 4, !tbaa !9
  %167 = icmp ult i32 1, %166
  br i1 %167, label %168, label %170

168:                                              ; preds = %161
  %169 = load i32, ptr @libxsmm_verbosity, align 4, !tbaa !9
  br label %171

170:                                              ; preds = %161
  br label %171

171:                                              ; preds = %170, %168
  %172 = phi i32 [ %169, %168 ], [ 1, %170 ]
  call void @libxsmm_handle_error(ptr noundef %165, i32 noundef 90000, ptr noundef @__func__.libxsmm_aarch64_instruction_asimd_struct_move, ptr noundef @.str.1, i32 noundef 644, i32 noundef %172)
  store i32 1, ptr %22, align 4
  br label %215

173:                                              ; preds = %158, %151
  br label %186

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

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

183:                                              ; preds = %174
  br label %184

184:                                              ; preds = %183, %181
  %185 = phi i32 [ %182, %181 ], [ 1, %183 ]
  call void @libxsmm_handle_error(ptr noundef %178, i32 noundef 90000, ptr noundef @__func__.libxsmm_aarch64_instruction_asimd_struct_move, ptr noundef @.str.1, i32 noundef 650, i32 noundef %185)
  store i32 1, ptr %22, align 4
  br label %215

186:                                              ; preds = %173, %150
  %187 = load i32, ptr %19, align 4, !tbaa !9
  %188 = shl i32 %187, 30
  %189 = load ptr, ptr %18, align 8, !tbaa !5
  %190 = load i32, ptr %17, align 4, !tbaa !9
  %191 = zext i32 %190 to i64
  %192 = getelementptr inbounds i32, ptr %189, i64 %191
  %193 = load i32, ptr %192, align 4, !tbaa !9
  %194 = or i32 %193, %188
  store i32 %194, ptr %192, align 4, !tbaa !9
  %195 = load i32, ptr %20, align 4, !tbaa !9
  %196 = shl i32 %195, 12
  %197 = load ptr, ptr %18, 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
  %203 = load i32, ptr %21, align 4, !tbaa !9
  %204 = shl i32 %203, 10
  %205 = load ptr, ptr %18, align 8, !tbaa !5
  %206 = load i32, ptr %17, align 4, !tbaa !9
  %207 = zext i32 %206 to i64
  %208 = getelementptr inbounds i32, ptr %205, i64 %207
  %209 = load i32, ptr %208, align 4, !tbaa !9
  %210 = or i32 %209, %204
  store i32 %210, ptr %208, align 4, !tbaa !9
  %211 = load ptr, ptr %9, align 8, !tbaa !5
  %212 = getelementptr inbounds %struct.libxsmm_generated_code, ptr %211, i32 0, i32 2
  %213 = load i32, ptr %212, align 4, !tbaa !16
  %214 = add i32 %213, 4
  store i32 %214, ptr %212, align 4, !tbaa !16
  store i32 0, ptr %22, align 4
  br label %215

215:                                              ; preds = %186, %184, %171, %148, %82
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #4
  %216 = load i32, ptr %22, align 4
  switch i32 %216, label %230 [
    i32 0, label %217
    i32 1, label %229
  ]

217:                                              ; preds = %215
  br label %229

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

224:                                              ; preds = %218
  %225 = load i32, ptr @libxsmm_verbosity, align 4, !tbaa !9
  br label %227

226:                                              ; preds = %218
  br label %227

227:                                              ; preds = %226, %224
  %228 = phi i32 [ %225, %224 ], [ 1, %226 ]
  call void @libxsmm_handle_error(ptr noundef %221, i32 noundef 90000, ptr noundef @__func__.libxsmm_aarch64_instruction_asimd_struct_move, ptr noundef @.str.1, i32 noundef 666, i32 noundef %228)
  br label %229

229:                                              ; preds = %227, %217, %215, %52, %37
  ret void

230:                                              ; preds = %215
  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, !12, i64 0}
!12 = !{!"short", !7, i64 0}
!13 = !{!14, !10, i64 28}
!14 = !{!"libxsmm_generated_code", !6, i64 0, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !10, i64 24, !10, i64 28}
!15 = !{!14, !10, i64 16}
!16 = !{!14, !10, i64 12}
!17 = !{!14, !6, i64 0}
!18 = !{!14, !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.19 = external hidden unnamed_addr constant [103 x i8], align 1
@__func__.libxsmm_aarch64_instruction_asimd_struct_move = external hidden unnamed_addr constant [46 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [82 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [72 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [81 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [93 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_asimd_struct_move(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i16 noundef signext %6, i32 noundef %7) local_unnamed_addr #2 {
  %9 = getelementptr inbounds i8, ptr %0, i64 28
  %10 = load i32, ptr %9, align 4, !tbaa !5
  %11 = icmp ult i32 %10, 2001
  br i1 %11, label %12, label %19

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

19:                                               ; preds = %8
  switch i32 %1, label %20 [
    i32 232751106, label %27
    i32 230719491, label %27
  ]

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

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

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

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

43:                                               ; preds = %31
  %44 = load ptr, ptr %0, align 8, !tbaa !16
  %45 = lshr i32 %33, 2
  %46 = and i32 %1, -256
  %47 = zext nneg i32 %45 to i64
  %48 = getelementptr inbounds i32, ptr %44, i64 %47
  %49 = and i32 %5, 31
  %50 = shl i32 %2, 5
  %51 = and i32 %50, 992
  %52 = and i32 %1, 3
  %53 = icmp eq i32 %52, 3
  %54 = shl i32 %3, 16
  %55 = and i32 %54, 2031616
  %56 = select i1 %53, i32 %55, i32 0
  %57 = or i32 %51, %46
  %58 = or disjoint i32 %57, %49
  %storemerge = or i32 %58, %56
  store i32 %storemerge, ptr %48, align 4, !tbaa !12
  switch i32 %7, label %85 [
    i32 4, label %59
    i32 6, label %73
  ]

59:                                               ; preds = %43
  %60 = zext i16 %6 to i32
  %61 = lshr i32 %60, 1
  %62 = and i32 %61, 1
  %63 = and i32 %60, 1
  %64 = icmp ne i32 %52, 3
  %65 = icmp ne i32 %4, 4
  %or.cond = and i1 %64, %65
  br i1 %or.cond, label %66, label %92

66:                                               ; preds = %59
  %67 = load ptr, ptr @stderr, align 8, !tbaa !11
  %68 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %67, ptr noundef nonnull @.str.21, i32 noundef %4) #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_asimd_struct_move, ptr noundef nonnull @.str.1, i32 noundef 634, i32 noundef %72) #4
  br label %107

73:                                               ; preds = %43
  %74 = and i16 %6, 1
  %75 = zext nneg i16 %74 to i32
  %76 = icmp ne i32 %52, 3
  %77 = icmp ne i32 %4, 8
  %or.cond3 = and i1 %76, %77
  br i1 %or.cond3, label %78, label %92

78:                                               ; preds = %73
  %79 = load ptr, ptr @stderr, align 8, !tbaa !11
  %80 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %79, ptr noundef nonnull @.str.21, i32 noundef %4) #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_asimd_struct_move, ptr noundef nonnull @.str.1, i32 noundef 644, i32 noundef %84) #4
  br label %107

85:                                               ; preds = %43
  %86 = load ptr, ptr @stderr, align 8, !tbaa !11
  %87 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %86, ptr noundef nonnull @.str.22, i32 noundef %7) #3
  %88 = load i32, ptr @libxsmm_ninit, align 4, !tbaa !12
  %89 = icmp ugt i32 %88, 1
  %90 = load i32, ptr @libxsmm_verbosity, align 4
  %91 = select i1 %89, i32 %90, i32 1
  tail call void @libxsmm_handle_error(ptr noundef nonnull %0, i32 noundef 90000, ptr noundef nonnull @__func__.libxsmm_aarch64_instruction_asimd_struct_move, ptr noundef nonnull @.str.1, i32 noundef 650, i32 noundef %91) #4
  br label %107

92:                                               ; preds = %73, %59
  %.053 = phi i32 [ %75, %73 ], [ %62, %59 ]
  %.052 = phi i32 [ 0, %73 ], [ %63, %59 ]
  %.0 = phi i32 [ 1024, %73 ], [ 0, %59 ]
  %93 = shl nuw nsw i32 %.053, 30
  %94 = shl nuw nsw i32 %.052, 12
  %95 = or disjoint i32 %94, %93
  %96 = or disjoint i32 %95, %.0
  %97 = or i32 %96, %storemerge
  store i32 %97, ptr %48, align 4, !tbaa !12
  %98 = load i32, ptr %32, align 4, !tbaa !14
  %99 = add i32 %98, 4
  store i32 %99, ptr %32, align 4, !tbaa !14
  br label %107

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

107:                                              ; preds = %38, %66, %78, %85, %92, %100, %20, %12
  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: BDCEPass,CorrelatedValuePropagationPass,EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass