; 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 }
%struct.libxsmm_jump_label_tracker_struct = type { [512 x i32], [512 x %struct.libxsmm_jump_source_struct] }
%struct.libxsmm_jump_source_struct = type { [512 x i32], [512 x 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.87 = external hidden unnamed_addr constant [88 x i8], align 1
@.str.90 = external hidden unnamed_addr constant [104 x i8], align 1
@__func__.libxsmm_aarch64_instruction_cond_jump_to_label = external hidden unnamed_addr constant [47 x i8], align 1
@.str.91 = external hidden unnamed_addr constant [94 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_cond_jump_to_label(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef %4) #3 {
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca ptr, align 8
  %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 %6, align 8, !tbaa !5
  store i32 %1, ptr %7, align 4, !tbaa !9
  store i32 %2, ptr %8, align 4, !tbaa !9
  store i32 %3, ptr %9, align 4, !tbaa !9
  store ptr %4, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #4
  %17 = load ptr, ptr %6, 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 = %5
  %22 = load ptr, ptr @stderr, align 8, !tbaa !5
  %23 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %22, ptr noundef @.str.90) #4
  %24 = load ptr, ptr %6, 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_cond_jump_to_label, ptr noundef @.str.1, i32 noundef 2133, i32 noundef %31)
  store i32 1, ptr %12, align 4
  br label %212

32:                                               ; preds = %5
  %33 = load i32, ptr %9, align 4, !tbaa !9
  %34 = icmp ule i32 512, %33
  br i1 %34, label %35, label %44

35:                                               ; preds = %32
  %36 = load ptr, ptr %6, align 8, !tbaa !5
  %37 = load i32, ptr @libxsmm_ninit, align 4, !tbaa !9
  %38 = icmp ult i32 1, %37
  br i1 %38, label %39, label %41

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

41:                                               ; preds = %35
  br label %42

42:                                               ; preds = %41, %39
  %43 = phi i32 [ %40, %39 ], [ 1, %41 ]
  call void @libxsmm_handle_error(ptr noundef %36, i32 noundef 90025, ptr noundef @__func__.libxsmm_aarch64_instruction_cond_jump_to_label, ptr noundef @.str.1, i32 noundef 2139, i32 noundef %43)
  store i32 1, ptr %12, align 4
  br label %212

44:                                               ; preds = %32
  %45 = load ptr, ptr %10, align 8, !tbaa !5
  %46 = getelementptr inbounds %struct.libxsmm_jump_label_tracker_struct, ptr %45, i32 0, i32 1
  %47 = load i32, ptr %9, align 4, !tbaa !9
  %48 = zext i32 %47 to i64
  %49 = getelementptr inbounds [512 x %struct.libxsmm_jump_source_struct], ptr %46, i64 0, i64 %48
  %50 = getelementptr inbounds %struct.libxsmm_jump_source_struct, ptr %49, i32 0, i32 2
  %51 = load i32, ptr %50, align 4, !tbaa !13
  %52 = icmp eq i32 %51, 511
  br i1 %52, label %53, label %62

53:                                               ; preds = %44
  %54 = load ptr, ptr %6, align 8, !tbaa !5
  %55 = load i32, ptr @libxsmm_ninit, align 4, !tbaa !9
  %56 = icmp ult i32 1, %55
  br i1 %56, label %57, label %59

57:                                               ; preds = %53
  %58 = load i32, ptr @libxsmm_verbosity, align 4, !tbaa !9
  br label %60

59:                                               ; preds = %53
  br label %60

60:                                               ; preds = %59, %57
  %61 = phi i32 [ %58, %57 ], [ 1, %59 ]
  call void @libxsmm_handle_error(ptr noundef %54, i32 noundef 90025, ptr noundef @__func__.libxsmm_aarch64_instruction_cond_jump_to_label, ptr noundef @.str.1, i32 noundef 2145, i32 noundef %61)
  store i32 1, ptr %12, align 4
  br label %212

62:                                               ; preds = %44
  %63 = load i32, ptr %7, align 4, !tbaa !9
  switch i32 %63, label %65 [
    i32 889192448, label %64
    i32 872415232, label %64
  ]

64:                                               ; preds = %62, %62
  br label %77

65:                                               ; preds = %62
  %66 = load ptr, ptr @stderr, align 8, !tbaa !5
  %67 = load i32, ptr %7, align 4, !tbaa !9
  %68 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %66, ptr noundef @.str.87, i32 noundef %67) #4
  %69 = load ptr, ptr %6, 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 = %65
  %73 = load i32, ptr @libxsmm_verbosity, align 4, !tbaa !9
  br label %75

74:                                               ; preds = %65
  br label %75

75:                                               ; preds = %74, %72
  %76 = phi i32 [ %73, %72 ], [ 1, %74 ]
  call void @libxsmm_handle_error(ptr noundef %69, i32 noundef 90000, ptr noundef @__func__.libxsmm_aarch64_instruction_cond_jump_to_label, ptr noundef @.str.1, i32 noundef 2155, i32 noundef %76)
  store i32 1, ptr %12, align 4
  br label %212

77:                                               ; preds = %64
  %78 = load ptr, ptr %10, align 8, !tbaa !5
  %79 = getelementptr inbounds %struct.libxsmm_jump_label_tracker_struct, ptr %78, i32 0, i32 1
  %80 = load i32, ptr %9, align 4, !tbaa !9
  %81 = zext i32 %80 to i64
  %82 = getelementptr inbounds [512 x %struct.libxsmm_jump_source_struct], ptr %79, i64 0, i64 %81
  %83 = getelementptr inbounds %struct.libxsmm_jump_source_struct, ptr %82, i32 0, i32 2
  %84 = load i32, ptr %83, align 4, !tbaa !13
  store i32 %84, ptr %11, align 4, !tbaa !9
  %85 = load i32, ptr %7, align 4, !tbaa !9
  %86 = load ptr, ptr %10, align 8, !tbaa !5
  %87 = getelementptr inbounds %struct.libxsmm_jump_label_tracker_struct, ptr %86, i32 0, i32 1
  %88 = load i32, ptr %9, align 4, !tbaa !9
  %89 = zext i32 %88 to i64
  %90 = getelementptr inbounds [512 x %struct.libxsmm_jump_source_struct], ptr %87, i64 0, i64 %89
  %91 = getelementptr inbounds %struct.libxsmm_jump_source_struct, ptr %90, i32 0, i32 0
  %92 = load i32, ptr %11, align 4, !tbaa !9
  %93 = zext i32 %92 to i64
  %94 = getelementptr inbounds [512 x i32], ptr %91, i64 0, i64 %93
  store i32 %85, ptr %94, align 4, !tbaa !9
  %95 = load ptr, ptr %6, align 8, !tbaa !5
  %96 = getelementptr inbounds %struct.libxsmm_generated_code, ptr %95, i32 0, i32 2
  %97 = load i32, ptr %96, align 4, !tbaa !15
  %98 = load ptr, ptr %10, align 8, !tbaa !5
  %99 = getelementptr inbounds %struct.libxsmm_jump_label_tracker_struct, ptr %98, i32 0, i32 1
  %100 = load i32, ptr %9, align 4, !tbaa !9
  %101 = zext i32 %100 to i64
  %102 = getelementptr inbounds [512 x %struct.libxsmm_jump_source_struct], ptr %99, i64 0, i64 %101
  %103 = getelementptr inbounds %struct.libxsmm_jump_source_struct, ptr %102, i32 0, i32 1
  %104 = load i32, ptr %11, align 4, !tbaa !9
  %105 = zext i32 %104 to i64
  %106 = getelementptr inbounds [512 x i32], ptr %103, i64 0, i64 %105
  store i32 %97, ptr %106, align 4, !tbaa !9
  %107 = load ptr, ptr %10, align 8, !tbaa !5
  %108 = getelementptr inbounds %struct.libxsmm_jump_label_tracker_struct, ptr %107, i32 0, i32 1
  %109 = load i32, ptr %9, align 4, !tbaa !9
  %110 = zext i32 %109 to i64
  %111 = getelementptr inbounds [512 x %struct.libxsmm_jump_source_struct], ptr %108, i64 0, i64 %110
  %112 = getelementptr inbounds %struct.libxsmm_jump_source_struct, ptr %111, i32 0, i32 2
  %113 = load i32, ptr %112, align 4, !tbaa !13
  %114 = add i32 %113, 1
  store i32 %114, ptr %112, align 4, !tbaa !13
  %115 = load ptr, ptr %6, align 8, !tbaa !5
  %116 = getelementptr inbounds %struct.libxsmm_generated_code, ptr %115, i32 0, i32 3
  %117 = load i32, ptr %116, align 8, !tbaa !16
  %118 = icmp ugt i32 %117, 1
  br i1 %118, label %119, label %200

119:                                              ; preds = %77
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #4
  %120 = load ptr, ptr %10, align 8, !tbaa !5
  %121 = getelementptr inbounds %struct.libxsmm_jump_label_tracker_struct, ptr %120, i32 0, i32 0
  %122 = load i32, ptr %9, align 4, !tbaa !9
  %123 = zext i32 %122 to i64
  %124 = getelementptr inbounds [512 x i32], ptr %121, i64 0, i64 %123
  %125 = load i32, ptr %124, align 4, !tbaa !9
  %126 = udiv i32 %125, 4
  store i32 %126, ptr %13, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #4
  %127 = load ptr, ptr %6, align 8, !tbaa !5
  %128 = getelementptr inbounds %struct.libxsmm_generated_code, ptr %127, i32 0, i32 0
  %129 = load ptr, ptr %128, align 8, !tbaa !17
  store ptr %129, ptr %14, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #4
  %130 = load ptr, ptr %6, align 8, !tbaa !5
  %131 = getelementptr inbounds %struct.libxsmm_generated_code, ptr %130, i32 0, i32 2
  %132 = load i32, ptr %131, align 4, !tbaa !15
  %133 = udiv i32 %132, 4
  store i32 %133, ptr %15, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #4
  %134 = load i32, ptr %13, align 4, !tbaa !9
  %135 = icmp eq i32 %134, 0
  br i1 %135, label %136, label %137

136:                                              ; preds = %119
  br label %141

137:                                              ; preds = %119
  %138 = load i32, ptr %13, align 4, !tbaa !9
  %139 = load i32, ptr %15, align 4, !tbaa !9
  %140 = sub nsw i32 %138, %139
  br label %141

141:                                              ; preds = %137, %136
  %142 = phi i32 [ 0, %136 ], [ %140, %137 ]
  store i32 %142, ptr %16, align 4, !tbaa !9
  %143 = load ptr, ptr %6, align 8, !tbaa !5
  %144 = getelementptr inbounds %struct.libxsmm_generated_code, ptr %143, i32 0, i32 1
  %145 = load i32, ptr %144, align 8, !tbaa !18
  %146 = load ptr, ptr %6, align 8, !tbaa !5
  %147 = getelementptr inbounds %struct.libxsmm_generated_code, ptr %146, i32 0, i32 2
  %148 = load i32, ptr %147, align 4, !tbaa !15
  %149 = sub i32 %145, %148
  %150 = icmp ult i32 %149, 4
  br i1 %150, label %151, label %160

151:                                              ; preds = %141
  %152 = load ptr, ptr %6, align 8, !tbaa !5
  %153 = load i32, ptr @libxsmm_ninit, align 4, !tbaa !9
  %154 = icmp ult i32 1, %153
  br i1 %154, label %155, label %157

155:                                              ; preds = %151
  %156 = load i32, ptr @libxsmm_verbosity, align 4, !tbaa !9
  br label %158

157:                                              ; preds = %151
  br label %158

158:                                              ; preds = %157, %155
  %159 = phi i32 [ %156, %155 ], [ 1, %157 ]
  call void @libxsmm_handle_error(ptr noundef %152, i32 noundef 90002, ptr noundef @__func__.libxsmm_aarch64_instruction_cond_jump_to_label, ptr noundef @.str.1, i32 noundef 2174, i32 noundef %159)
  store i32 1, ptr %12, align 4
  br label %197

160:                                              ; preds = %141
  %161 = load i32, ptr %7, align 4, !tbaa !9
  %162 = and i32 -16777216, %161
  %163 = load ptr, ptr %14, align 8, !tbaa !5
  %164 = load i32, ptr %15, align 4, !tbaa !9
  %165 = zext i32 %164 to i64
  %166 = getelementptr inbounds i32, ptr %163, i64 %165
  store i32 %162, ptr %166, align 4, !tbaa !9
  %167 = load i32, ptr %8, align 4, !tbaa !9
  %168 = and i32 31, %167
  %169 = load ptr, ptr %14, align 8, !tbaa !5
  %170 = load i32, ptr %15, align 4, !tbaa !9
  %171 = zext i32 %170 to i64
  %172 = getelementptr inbounds i32, ptr %169, i64 %171
  %173 = load i32, ptr %172, align 4, !tbaa !9
  %174 = or i32 %173, %168
  store i32 %174, ptr %172, align 4, !tbaa !9
  %175 = load i32, ptr %8, align 4, !tbaa !9
  %176 = and i32 32, %175
  %177 = shl i32 %176, 26
  %178 = load ptr, ptr %14, align 8, !tbaa !5
  %179 = load i32, ptr %15, align 4, !tbaa !9
  %180 = zext i32 %179 to i64
  %181 = getelementptr inbounds i32, ptr %178, i64 %180
  %182 = load i32, ptr %181, align 4, !tbaa !9
  %183 = or i32 %182, %177
  store i32 %183, ptr %181, align 4, !tbaa !9
  %184 = load i32, ptr %16, align 4, !tbaa !9
  %185 = and i32 524287, %184
  %186 = shl i32 %185, 5
  %187 = load ptr, ptr %14, align 8, !tbaa !5
  %188 = load i32, ptr %15, align 4, !tbaa !9
  %189 = zext i32 %188 to i64
  %190 = getelementptr inbounds i32, ptr %187, i64 %189
  %191 = load i32, ptr %190, align 4, !tbaa !9
  %192 = or i32 %191, %186
  store i32 %192, ptr %190, align 4, !tbaa !9
  %193 = load ptr, ptr %6, align 8, !tbaa !5
  %194 = getelementptr inbounds %struct.libxsmm_generated_code, ptr %193, i32 0, i32 2
  %195 = load i32, ptr %194, align 4, !tbaa !15
  %196 = add i32 %195, 4
  store i32 %196, ptr %194, align 4, !tbaa !15
  store i32 0, ptr %12, align 4
  br label %197

197:                                              ; preds = %160, %158
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #4
  %198 = load i32, ptr %12, align 4
  switch i32 %198, label %212 [
    i32 0, label %199
  ]

199:                                              ; preds = %197
  br label %211

200:                                              ; preds = %77
  %201 = load ptr, ptr @stderr, align 8, !tbaa !5
  %202 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %201, ptr noundef @.str.91) #4
  %203 = load ptr, ptr %6, align 8, !tbaa !5
  %204 = load i32, ptr @libxsmm_ninit, align 4, !tbaa !9
  %205 = icmp ult i32 1, %204
  br i1 %205, label %206, label %208

206:                                              ; preds = %200
  %207 = load i32, ptr @libxsmm_verbosity, align 4, !tbaa !9
  br label %209

208:                                              ; preds = %200
  br label %209

209:                                              ; preds = %208, %206
  %210 = phi i32 [ %207, %206 ], [ 1, %208 ]
  call void @libxsmm_handle_error(ptr noundef %203, i32 noundef 90000, ptr noundef @__func__.libxsmm_aarch64_instruction_cond_jump_to_label, ptr noundef @.str.1, i32 noundef 2192, i32 noundef %210)
  store i32 1, ptr %12, align 4
  br label %212

211:                                              ; preds = %199
  store i32 0, ptr %12, align 4
  br label %212

212:                                              ; preds = %211, %209, %197, %75, %60, %42, %30
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #4
  %213 = load i32, ptr %12, align 4
  switch i32 %213, label %215 [
    i32 0, label %214
    i32 1, label %214
  ]

214:                                              ; preds = %212, %212
  ret void

215:                                              ; preds = %212
  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 = !{!14, !10, i64 4096}
!14 = !{!"libxsmm_jump_source_struct", !7, i64 0, !7, i64 2048, !10, i64 4096}
!15 = !{!12, !10, i64 12}
!16 = !{!12, !10, i64 16}
!17 = !{!12, !6, i64 0}
!18 = !{!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"

%struct.libxsmm_jump_source_struct = type { [512 x i32], [512 x i32], i32 }

@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.87 = external hidden unnamed_addr constant [88 x i8], align 1
@.str.90 = external hidden unnamed_addr constant [104 x i8], align 1
@__func__.libxsmm_aarch64_instruction_cond_jump_to_label = external hidden unnamed_addr constant [47 x i8], align 1
@.str.91 = external hidden unnamed_addr constant [94 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_cond_jump_to_label(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, ptr nocapture noundef %4) local_unnamed_addr #2 {
  %6 = getelementptr inbounds i8, ptr %0, i64 28
  %7 = load i32, ptr %6, align 4, !tbaa !5
  %8 = icmp ult i32 %7, 2001
  br i1 %8, label %9, label %16

9:                                                ; preds = %5
  %10 = load ptr, ptr @stderr, align 8, !tbaa !11
  %11 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %10, ptr noundef nonnull @.str.90) #3
  %12 = load i32, ptr @libxsmm_ninit, align 4, !tbaa !12
  %13 = icmp ugt i32 %12, 1
  %14 = load i32, ptr @libxsmm_verbosity, align 4
  %15 = select i1 %13, i32 %14, i32 1
  tail call void @libxsmm_handle_error(ptr noundef nonnull %0, i32 noundef 90000, ptr noundef nonnull @__func__.libxsmm_aarch64_instruction_cond_jump_to_label, ptr noundef nonnull @.str.1, i32 noundef 2133, i32 noundef %15) #4
  br label %94

16:                                               ; preds = %5
  %17 = icmp ugt i32 %3, 511
  br i1 %17, label %18, label %23

18:                                               ; preds = %16
  %19 = load i32, ptr @libxsmm_ninit, align 4, !tbaa !12
  %20 = icmp ugt i32 %19, 1
  %21 = load i32, ptr @libxsmm_verbosity, align 4
  %22 = select i1 %20, i32 %21, i32 1
  tail call void @libxsmm_handle_error(ptr noundef nonnull %0, i32 noundef 90025, ptr noundef nonnull @__func__.libxsmm_aarch64_instruction_cond_jump_to_label, ptr noundef nonnull @.str.1, i32 noundef 2139, i32 noundef %22) #4
  br label %94

23:                                               ; preds = %16
  %24 = getelementptr inbounds i8, ptr %4, i64 2048
  %25 = zext nneg i32 %3 to i64
  %26 = getelementptr inbounds [512 x %struct.libxsmm_jump_source_struct], ptr %24, i64 0, i64 %25
  %27 = getelementptr inbounds i8, ptr %26, i64 4096
  %28 = load i32, ptr %27, align 4, !tbaa !13
  %29 = icmp eq i32 %28, 511
  br i1 %29, label %30, label %35

30:                                               ; preds = %23
  %31 = load i32, ptr @libxsmm_ninit, align 4, !tbaa !12
  %32 = icmp ugt i32 %31, 1
  %33 = load i32, ptr @libxsmm_verbosity, align 4
  %34 = select i1 %32, i32 %33, i32 1
  tail call void @libxsmm_handle_error(ptr noundef nonnull %0, i32 noundef 90025, ptr noundef nonnull @__func__.libxsmm_aarch64_instruction_cond_jump_to_label, ptr noundef nonnull @.str.1, i32 noundef 2145, i32 noundef %34) #4
  br label %94

35:                                               ; preds = %23
  switch i32 %1, label %36 [
    i32 889192448, label %43
    i32 872415232, label %43
  ]

36:                                               ; preds = %35
  %37 = load ptr, ptr @stderr, align 8, !tbaa !11
  %38 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %37, ptr noundef nonnull @.str.87, i32 noundef %1) #3
  %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 90000, ptr noundef nonnull @__func__.libxsmm_aarch64_instruction_cond_jump_to_label, ptr noundef nonnull @.str.1, i32 noundef 2155, i32 noundef %42) #4
  br label %94

43:                                               ; preds = %35, %35
  %44 = zext i32 %28 to i64
  %45 = getelementptr inbounds [512 x i32], ptr %26, i64 0, i64 %44
  store i32 %1, ptr %45, align 4, !tbaa !12
  %46 = getelementptr inbounds i8, ptr %0, i64 12
  %47 = load i32, ptr %46, align 4, !tbaa !15
  %48 = getelementptr inbounds i8, ptr %26, i64 2048
  %49 = getelementptr inbounds [512 x i32], ptr %48, i64 0, i64 %44
  store i32 %47, ptr %49, align 4, !tbaa !12
  %50 = load i32, ptr %27, align 4, !tbaa !13
  %51 = add i32 %50, 1
  store i32 %51, ptr %27, align 4, !tbaa !13
  %52 = getelementptr inbounds i8, ptr %0, i64 16
  %53 = load i32, ptr %52, align 8, !tbaa !16
  %54 = icmp ugt i32 %53, 1
  br i1 %54, label %55, label %87

55:                                               ; preds = %43
  %56 = getelementptr inbounds i8, ptr %0, i64 8
  %57 = load i32, ptr %56, align 8, !tbaa !17
  %58 = sub i32 %57, %47
  %59 = icmp ult i32 %58, 4
  br i1 %59, label %60, label %65

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

65:                                               ; preds = %55
  %66 = getelementptr inbounds [512 x i32], ptr %4, i64 0, i64 %25
  %67 = load i32, ptr %66, align 4, !tbaa !12
  %68 = icmp ult i32 %67, 4
  %69 = lshr i32 %67, 2
  %70 = lshr i32 %47, 2
  %71 = sub nsw i32 %69, %70
  %72 = load ptr, ptr %0, align 8, !tbaa !18
  %73 = and i32 %1, -16777216
  %74 = zext nneg i32 %70 to i64
  %75 = getelementptr inbounds i32, ptr %72, i64 %74
  %76 = and i32 %2, 31
  %77 = or disjoint i32 %76, %73
  %78 = shl i32 %2, 26
  %79 = and i32 %78, -2147483648
  %80 = or i32 %77, %79
  %81 = shl i32 %71, 5
  %82 = and i32 %81, 16777184
  %83 = select i1 %68, i32 0, i32 %82
  %84 = or disjoint i32 %80, %83
  store i32 %84, ptr %75, align 4, !tbaa !12
  %85 = load i32, ptr %46, align 4, !tbaa !15
  %86 = add i32 %85, 4
  store i32 %86, ptr %46, align 4, !tbaa !15
  br label %94

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

94:                                               ; preds = %60, %65, %87, %36, %30, %18, %9
  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 = !{!14, !10, i64 4096}
!14 = !{!"libxsmm_jump_source_struct", !8, i64 0, !8, i64 2048, !10, i64 4096}
!15 = !{!6, !10, i64 12}
!16 = !{!6, !10, i64 16}
!17 = !{!6, !10, i64 8}
!18 = !{!6, !7, i64 0}


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