; LLVM IR from libxsmm/libxsmm :: src (generator_rv64_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 [83 x i8], align 1
@libxsmm_ninit = external global i32, align 4
@libxsmm_verbosity = external global i32, align 4
@.str.5 = external hidden unnamed_addr constant [90 x i8], align 1
@__func__.libxsmm_rv64_instruction_rvv_setvli = external hidden unnamed_addr constant [36 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [56 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [58 x i8], align 1
@db_bpos = external hidden constant [32 x i32], align 16
@.str.8 = external hidden unnamed_addr constant [83 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_rv64_instruction_rvv_setvli(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #2 {
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca ptr, align 8
  %13 = alloca i32, align 4
  %14 = 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 i32 %4, ptr %10, align 4, !tbaa !9
  %15 = load ptr, ptr %6, align 8, !tbaa !5
  %16 = getelementptr inbounds %struct.libxsmm_generated_code, ptr %15, i32 0, i32 6
  %17 = load i32, ptr %16, align 4, !tbaa !11
  %18 = icmp ult i32 %17, 3001
  br i1 %18, label %19, label %30

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

25:                                               ; preds = %19
  %26 = load i32, ptr @libxsmm_verbosity, align 4, !tbaa !9
  br label %28

27:                                               ; preds = %19
  br label %28

28:                                               ; preds = %27, %25
  %29 = phi i32 [ %26, %25 ], [ 1, %27 ]
  call void @libxsmm_handle_error(ptr noundef %22, i32 noundef 90000, ptr noundef @__func__.libxsmm_rv64_instruction_rvv_setvli, ptr noundef @.str.1, i32 noundef 339, i32 noundef %29)
  br label %165

30:                                               ; preds = %5
  %31 = load i32, ptr %7, align 4, !tbaa !9
  %32 = icmp ule i32 %31, 31
  br i1 %32, label %33, label %36

33:                                               ; preds = %30
  %34 = load i32, ptr %8, align 4, !tbaa !9
  %35 = icmp ule i32 %34, 31
  br i1 %35, label %47, label %36

36:                                               ; preds = %33, %30
  %37 = load ptr, ptr @stderr, align 8, !tbaa !5
  %38 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %37, ptr noundef @.str.6) #4
  %39 = load ptr, ptr %6, 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 = %36
  %43 = load i32, ptr @libxsmm_verbosity, align 4, !tbaa !9
  br label %45

44:                                               ; preds = %36
  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_rv64_instruction_rvv_setvli, ptr noundef @.str.1, i32 noundef 345, i32 noundef %46)
  br label %165

47:                                               ; preds = %33
  %48 = load i32, ptr %9, align 4, !tbaa !9
  %49 = icmp ugt i32 %48, 8
  br i1 %49, label %50, label %62

50:                                               ; preds = %47
  %51 = load ptr, ptr @stderr, align 8, !tbaa !5
  %52 = load i32, ptr %9, align 4, !tbaa !9
  %53 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %51, ptr noundef @.str.7, i32 noundef %52) #4
  %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 = %50
  %58 = load i32, ptr @libxsmm_verbosity, align 4, !tbaa !9
  br label %60

59:                                               ; preds = %50
  br label %60

60:                                               ; preds = %59, %57
  %61 = phi i32 [ %58, %57 ], [ 1, %59 ]
  call void @libxsmm_handle_error(ptr noundef %54, i32 noundef 90000, ptr noundef @__func__.libxsmm_rv64_instruction_rvv_setvli, ptr noundef @.str.1, i32 noundef 351, i32 noundef %61)
  br label %165

62:                                               ; preds = %47
  %63 = load i32, ptr %10, align 4, !tbaa !9
  %64 = icmp ugt i32 %63, 8
  br i1 %64, label %65, label %77

65:                                               ; preds = %62
  %66 = load ptr, ptr @stderr, align 8, !tbaa !5
  %67 = load i32, ptr %10, align 4, !tbaa !9
  %68 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %66, ptr noundef @.str.7, 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_rv64_instruction_rvv_setvli, ptr noundef @.str.1, i32 noundef 357, i32 noundef %76)
  br label %165

77:                                               ; preds = %62
  %78 = load ptr, ptr %6, align 8, !tbaa !5
  %79 = getelementptr inbounds %struct.libxsmm_generated_code, ptr %78, i32 0, i32 3
  %80 = load i32, ptr %79, align 8, !tbaa !13
  %81 = icmp ugt i32 %80, 1
  br i1 %81, label %82, label %154

82:                                               ; preds = %77
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #4
  %83 = load ptr, ptr %6, align 8, !tbaa !5
  %84 = getelementptr inbounds %struct.libxsmm_generated_code, ptr %83, i32 0, i32 2
  %85 = load i32, ptr %84, align 4, !tbaa !14
  %86 = udiv i32 %85, 4
  store i32 %86, ptr %11, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #4
  %87 = load ptr, ptr %6, align 8, !tbaa !5
  %88 = getelementptr inbounds %struct.libxsmm_generated_code, ptr %87, i32 0, i32 0
  %89 = load ptr, ptr %88, align 8, !tbaa !15
  store ptr %89, ptr %12, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #4
  %90 = load i32, ptr %9, align 4, !tbaa !9
  %91 = shl i32 %90, 3
  %92 = load i32, ptr %10, align 4, !tbaa !9
  %93 = or i32 %91, %92
  %94 = and i32 %93, 63
  store i32 %94, ptr %13, 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 1
  %97 = load i32, ptr %96, align 8, !tbaa !16
  %98 = load ptr, ptr %6, align 8, !tbaa !5
  %99 = getelementptr inbounds %struct.libxsmm_generated_code, ptr %98, i32 0, i32 2
  %100 = load i32, ptr %99, align 4, !tbaa !14
  %101 = sub i32 %97, %100
  %102 = icmp ult i32 %101, 4
  br i1 %102, label %103, label %112

103:                                              ; preds = %82
  %104 = load ptr, ptr %6, align 8, !tbaa !5
  %105 = load i32, ptr @libxsmm_ninit, align 4, !tbaa !9
  %106 = icmp ult i32 1, %105
  br i1 %106, label %107, label %109

107:                                              ; preds = %103
  %108 = load i32, ptr @libxsmm_verbosity, align 4, !tbaa !9
  br label %110

109:                                              ; preds = %103
  br label %110

110:                                              ; preds = %109, %107
  %111 = phi i32 [ %108, %107 ], [ 1, %109 ]
  call void @libxsmm_handle_error(ptr noundef %104, i32 noundef 90002, ptr noundef @__func__.libxsmm_rv64_instruction_rvv_setvli, ptr noundef @.str.1, i32 noundef 368, i32 noundef %111)
  store i32 1, ptr %14, align 4
  br label %151

112:                                              ; preds = %82
  %113 = load ptr, ptr %12, align 8, !tbaa !5
  %114 = load i32, ptr %11, align 4, !tbaa !9
  %115 = zext i32 %114 to i64
  %116 = getelementptr inbounds i32, ptr %113, i64 %115
  store i32 28759, ptr %116, align 4, !tbaa !9
  %117 = load i32, ptr %7, align 4, !tbaa !9
  %118 = load i32, ptr getelementptr inbounds ([32 x i32], ptr @db_bpos, i64 0, i64 11), align 4, !tbaa !9
  %119 = shl i32 %117, %118
  %120 = and i32 1015808, %119
  %121 = load ptr, ptr %12, align 8, !tbaa !5
  %122 = load i32, ptr %11, 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 %8, align 4, !tbaa !9
  %128 = load i32, ptr getelementptr inbounds ([32 x i32], ptr @db_bpos, i64 0, i64 23), align 4, !tbaa !9
  %129 = shl i32 %127, %128
  %130 = and i32 3968, %129
  %131 = load ptr, ptr %12, align 8, !tbaa !5
  %132 = load i32, ptr %11, align 4, !tbaa !9
  %133 = zext i32 %132 to i64
  %134 = getelementptr inbounds i32, ptr %131, i64 %133
  %135 = load i32, ptr %134, align 4, !tbaa !9
  %136 = or i32 %135, %130
  store i32 %136, ptr %134, align 4, !tbaa !9
  %137 = load i32, ptr %13, align 4, !tbaa !9
  %138 = load i32, ptr getelementptr inbounds ([32 x i32], ptr @db_bpos, i64 0, i64 10), align 8, !tbaa !9
  %139 = shl i32 %137, %138
  %140 = and i32 2146435072, %139
  %141 = load ptr, ptr %12, align 8, !tbaa !5
  %142 = load i32, ptr %11, align 4, !tbaa !9
  %143 = zext i32 %142 to i64
  %144 = getelementptr inbounds i32, ptr %141, i64 %143
  %145 = load i32, ptr %144, align 4, !tbaa !9
  %146 = or i32 %145, %140
  store i32 %146, ptr %144, align 4, !tbaa !9
  %147 = load ptr, ptr %6, align 8, !tbaa !5
  %148 = getelementptr inbounds %struct.libxsmm_generated_code, ptr %147, i32 0, i32 2
  %149 = load i32, ptr %148, align 4, !tbaa !14
  %150 = add i32 %149, 4
  store i32 %150, ptr %148, align 4, !tbaa !14
  store i32 0, ptr %14, align 4
  br label %151

151:                                              ; preds = %112, %110
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #4
  %152 = load i32, ptr %14, align 4
  switch i32 %152, label %166 [
    i32 0, label %153
    i32 1, label %165
  ]

153:                                              ; preds = %151
  br label %165

154:                                              ; preds = %77
  %155 = load ptr, ptr @stderr, align 8, !tbaa !5
  %156 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %155, ptr noundef @.str.8) #4
  %157 = load ptr, ptr %6, align 8, !tbaa !5
  %158 = load i32, ptr @libxsmm_ninit, align 4, !tbaa !9
  %159 = icmp ult i32 1, %158
  br i1 %159, label %160, label %162

160:                                              ; preds = %154
  %161 = load i32, ptr @libxsmm_verbosity, align 4, !tbaa !9
  br label %163

162:                                              ; preds = %154
  br label %163

163:                                              ; preds = %162, %160
  %164 = phi i32 [ %161, %160 ], [ 1, %162 ]
  call void @libxsmm_handle_error(ptr noundef %157, i32 noundef 90000, ptr noundef @__func__.libxsmm_rv64_instruction_rvv_setvli, ptr noundef @.str.1, i32 noundef 387, i32 noundef %164)
  br label %165

165:                                              ; preds = %163, %153, %151, %75, %60, %45, %28
  ret void

166:                                              ; preds = %151
  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 [83 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.5 = external hidden unnamed_addr constant [90 x i8], align 1
@__func__.libxsmm_rv64_instruction_rvv_setvli = external hidden unnamed_addr constant [36 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [56 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [58 x i8], align 1
@db_bpos = external hidden local_unnamed_addr constant [32 x i32], align 16
@.str.8 = external hidden unnamed_addr constant [83 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_rv64_instruction_rvv_setvli(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 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, 3001
  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.5) #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_rv64_instruction_rvv_setvli, ptr noundef nonnull @.str.1, i32 noundef 339, i32 noundef %15) #4
  br label %87

16:                                               ; preds = %5
  %17 = or i32 %2, %1
  %or.cond = icmp ult i32 %17, 32
  br i1 %or.cond, label %25, label %18

18:                                               ; preds = %16
  %19 = load ptr, ptr @stderr, align 8, !tbaa !11
  %20 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %19, ptr noundef nonnull @.str.6) #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_rv64_instruction_rvv_setvli, ptr noundef nonnull @.str.1, i32 noundef 345, i32 noundef %24) #4
  br label %87

25:                                               ; preds = %16
  %26 = icmp ugt i32 %3, 8
  br i1 %26, label %27, label %34

27:                                               ; preds = %25
  %28 = load ptr, ptr @stderr, align 8, !tbaa !11
  %29 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %28, ptr noundef nonnull @.str.7, i32 noundef %3) #3
  %30 = load i32, ptr @libxsmm_ninit, align 4, !tbaa !12
  %31 = icmp ugt i32 %30, 1
  %32 = load i32, ptr @libxsmm_verbosity, align 4
  %33 = select i1 %31, i32 %32, i32 1
  tail call void @libxsmm_handle_error(ptr noundef nonnull %0, i32 noundef 90000, ptr noundef nonnull @__func__.libxsmm_rv64_instruction_rvv_setvli, ptr noundef nonnull @.str.1, i32 noundef 351, i32 noundef %33) #4
  br label %87

34:                                               ; preds = %25
  %35 = icmp ugt i32 %4, 8
  br i1 %35, label %36, label %43

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

43:                                               ; preds = %34
  %44 = getelementptr inbounds i8, ptr %0, i64 16
  %45 = load i32, ptr %44, align 8, !tbaa !13
  %46 = icmp ugt i32 %45, 1
  br i1 %46, label %47, label %80

47:                                               ; preds = %43
  %48 = getelementptr inbounds i8, ptr %0, i64 12
  %49 = load i32, ptr %48, align 4, !tbaa !14
  %50 = getelementptr inbounds i8, ptr %0, i64 8
  %51 = load i32, ptr %50, align 8, !tbaa !15
  %52 = sub i32 %51, %49
  %53 = icmp ult i32 %52, 4
  br i1 %53, label %54, label %59

54:                                               ; preds = %47
  %55 = load i32, ptr @libxsmm_ninit, align 4, !tbaa !12
  %56 = icmp ugt i32 %55, 1
  %57 = load i32, ptr @libxsmm_verbosity, align 4
  %58 = select i1 %56, i32 %57, i32 1
  tail call void @libxsmm_handle_error(ptr noundef nonnull %0, i32 noundef 90002, ptr noundef nonnull @__func__.libxsmm_rv64_instruction_rvv_setvli, ptr noundef nonnull @.str.1, i32 noundef 368, i32 noundef %58) #4
  br label %87

59:                                               ; preds = %47
  %60 = shl nuw nsw i32 %3, 3
  %.masked = and i32 %60, 56
  %61 = or i32 %.masked, %4
  %62 = load ptr, ptr %0, align 8, !tbaa !16
  %63 = lshr i32 %49, 2
  %64 = zext nneg i32 %63 to i64
  %65 = getelementptr inbounds i32, ptr %62, i64 %64
  %66 = load i32, ptr getelementptr inbounds (i8, ptr @db_bpos, i64 44), align 4, !tbaa !12
  %67 = shl i32 %1, %66
  %68 = and i32 %67, 1015808
  %69 = or disjoint i32 %68, 28759
  %70 = load i32, ptr getelementptr inbounds (i8, ptr @db_bpos, i64 92), align 4, !tbaa !12
  %71 = shl i32 %2, %70
  %72 = and i32 %71, 3968
  %73 = or disjoint i32 %72, %69
  %74 = load i32, ptr getelementptr inbounds (i8, ptr @db_bpos, i64 40), align 8, !tbaa !12
  %75 = shl i32 %61, %74
  %76 = and i32 %75, 2146435072
  %77 = or disjoint i32 %76, %73
  store i32 %77, ptr %65, align 4, !tbaa !12
  %78 = load i32, ptr %48, align 4, !tbaa !14
  %79 = add i32 %78, 4
  store i32 %79, ptr %48, align 4, !tbaa !14
  br label %87

80:                                               ; preds = %43
  %81 = load ptr, ptr @stderr, align 8, !tbaa !11
  %82 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %81, ptr noundef nonnull @.str.8) #3
  %83 = load i32, ptr @libxsmm_ninit, align 4, !tbaa !12
  %84 = icmp ugt i32 %83, 1
  %85 = load i32, ptr @libxsmm_verbosity, align 4
  %86 = select i1 %84, i32 %85, i32 1
  tail call void @libxsmm_handle_error(ptr noundef nonnull %0, i32 noundef 90000, ptr noundef nonnull @__func__.libxsmm_rv64_instruction_rvv_setvli, ptr noundef nonnull @.str.1, i32 noundef 387, i32 noundef %86) #4
  br label %87

87:                                               ; preds = %54, %59, %80, %36, %27, %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 = !{!6, !10, i64 16}
!14 = !{!6, !10, i64 12}
!15 = !{!6, !10, i64 8}
!16 = !{!6, !7, i64 0}


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