; 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 }
%struct.libxsmm_loop_label_tracker_struct = type { [512 x 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.77 = external hidden unnamed_addr constant [85 x i8], align 1
@.str.81 = external hidden unnamed_addr constant [103 x i8], align 1
@__func__.libxsmm_rv64_instruction_cond_jump_back_to_label = external hidden unnamed_addr constant [49 x i8], align 1
@.str.82 = external hidden unnamed_addr constant [73 x i8], align 1
@.str.83 = external hidden unnamed_addr constant [96 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
declare dso_local void @libxsmm_rv64_instruction_cond_jump(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #3

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.abs.i32(i32, i1 immarg) #4

; Function Attrs: nounwind uwtable
declare dso_local void @libxsmm_rv64_instruction_jump_and_link(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #3

; Function Attrs: nounwind uwtable
define dso_local void @libxsmm_rv64_instruction_cond_jump_back_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 i32, align 4
  %15 = 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
  %16 = load ptr, ptr %6, align 8, !tbaa !5
  %17 = getelementptr inbounds %struct.libxsmm_generated_code, ptr %16, i32 0, i32 6
  %18 = load i32, ptr %17, align 4, !tbaa !11
  %19 = icmp ult i32 %18, 3001
  br i1 %19, label %20, label %31

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

26:                                               ; preds = %20
  %27 = load i32, ptr @libxsmm_verbosity, align 4, !tbaa !9
  br label %29

28:                                               ; preds = %20
  br label %29

29:                                               ; preds = %28, %26
  %30 = phi i32 [ %27, %26 ], [ 1, %28 ]
  call void @libxsmm_handle_error(ptr noundef %23, i32 noundef 90000, ptr noundef @__func__.libxsmm_rv64_instruction_cond_jump_back_to_label, ptr noundef @.str.1, i32 noundef 1728, i32 noundef %30)
  br label %138

31:                                               ; preds = %5
  %32 = load i32, ptr %8, align 4, !tbaa !9
  %33 = icmp ule i32 %32, 31
  br i1 %33, label %34, label %37

34:                                               ; preds = %31
  %35 = load i32, ptr %9, align 4, !tbaa !9
  %36 = icmp ule i32 %35, 31
  br i1 %36, label %48, label %37

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

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

45:                                               ; preds = %37
  br label %46

46:                                               ; preds = %45, %43
  %47 = phi i32 [ %44, %43 ], [ 1, %45 ]
  call void @libxsmm_handle_error(ptr noundef %40, i32 noundef 90000, ptr noundef @__func__.libxsmm_rv64_instruction_cond_jump_back_to_label, ptr noundef @.str.1, i32 noundef 1734, i32 noundef %47)
  br label %138

48:                                               ; preds = %34
  %49 = load i32, ptr %7, align 4, !tbaa !9
  switch i32 %49, label %51 [
    i32 99, label %50
    i32 20579, label %50
    i32 28771, label %50
    i32 16483, label %50
    i32 24675, label %50
    i32 4195, label %50
  ]

50:                                               ; preds = %48, %48, %48, %48, %48, %48
  br label %63

51:                                               ; preds = %48
  %52 = load ptr, ptr @stderr, align 8, !tbaa !5
  %53 = load i32, ptr %7, align 4, !tbaa !9
  %54 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %52, ptr noundef @.str.77, i32 noundef %53) #5
  %55 = load ptr, ptr %6, align 8, !tbaa !5
  %56 = load i32, ptr @libxsmm_ninit, align 4, !tbaa !9
  %57 = icmp ult i32 1, %56
  br i1 %57, label %58, label %60

58:                                               ; preds = %51
  %59 = load i32, ptr @libxsmm_verbosity, align 4, !tbaa !9
  br label %61

60:                                               ; preds = %51
  br label %61

61:                                               ; preds = %60, %58
  %62 = phi i32 [ %59, %58 ], [ 1, %60 ]
  call void @libxsmm_handle_error(ptr noundef %55, i32 noundef 90000, ptr noundef @__func__.libxsmm_rv64_instruction_cond_jump_back_to_label, ptr noundef @.str.1, i32 noundef 1748, i32 noundef %62)
  br label %138

63:                                               ; preds = %50
  %64 = load ptr, ptr %6, align 8, !tbaa !5
  %65 = getelementptr inbounds %struct.libxsmm_generated_code, ptr %64, i32 0, i32 3
  %66 = load i32, ptr %65, align 8, !tbaa !13
  %67 = icmp ugt i32 %66, 1
  br i1 %67, label %68, label %127

68:                                               ; preds = %63
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #5
  %69 = load ptr, ptr %10, align 8, !tbaa !5
  %70 = getelementptr inbounds %struct.libxsmm_loop_label_tracker_struct, ptr %69, i32 0, i32 1
  %71 = load i32, ptr %70, align 4, !tbaa !14
  %72 = add i32 %71, -1
  store i32 %72, ptr %70, align 4, !tbaa !14
  store i32 %72, ptr %11, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #5
  %73 = load ptr, ptr %10, align 8, !tbaa !5
  %74 = getelementptr inbounds %struct.libxsmm_loop_label_tracker_struct, ptr %73, i32 0, i32 0
  %75 = load i32, ptr %11, align 4, !tbaa !9
  %76 = zext i32 %75 to i64
  %77 = getelementptr inbounds [512 x i32], ptr %74, i64 0, i64 %76
  %78 = load i32, ptr %77, align 4, !tbaa !9
  store i32 %78, ptr %12, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #5
  %79 = load ptr, ptr %6, align 8, !tbaa !5
  %80 = getelementptr inbounds %struct.libxsmm_generated_code, ptr %79, i32 0, i32 2
  %81 = load i32, ptr %80, align 4, !tbaa !16
  store i32 %81, ptr %13, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #5
  %82 = load i32, ptr %12, align 4, !tbaa !9
  %83 = load i32, ptr %13, align 4, !tbaa !9
  %84 = sub nsw i32 %82, %83
  store i32 %84, ptr %14, align 4, !tbaa !9
  %85 = load ptr, ptr %6, align 8, !tbaa !5
  %86 = getelementptr inbounds %struct.libxsmm_generated_code, ptr %85, i32 0, i32 1
  %87 = load i32, ptr %86, align 8, !tbaa !17
  %88 = load ptr, ptr %6, align 8, !tbaa !5
  %89 = getelementptr inbounds %struct.libxsmm_generated_code, ptr %88, i32 0, i32 2
  %90 = load i32, ptr %89, align 4, !tbaa !16
  %91 = sub i32 %87, %90
  %92 = icmp ult i32 %91, 4
  br i1 %92, label %93, label %102

93:                                               ; preds = %68
  %94 = load ptr, ptr %6, align 8, !tbaa !5
  %95 = load i32, ptr @libxsmm_ninit, align 4, !tbaa !9
  %96 = icmp ult i32 1, %95
  br i1 %96, label %97, label %99

97:                                               ; preds = %93
  %98 = load i32, ptr @libxsmm_verbosity, align 4, !tbaa !9
  br label %100

99:                                               ; preds = %93
  br label %100

100:                                              ; preds = %99, %97
  %101 = phi i32 [ %98, %97 ], [ 1, %99 ]
  call void @libxsmm_handle_error(ptr noundef %94, i32 noundef 90002, ptr noundef @__func__.libxsmm_rv64_instruction_cond_jump_back_to_label, ptr noundef @.str.1, i32 noundef 1761, i32 noundef %101)
  store i32 1, ptr %15, align 4
  br label %124

102:                                              ; preds = %68
  %103 = load i32, ptr %14, align 4, !tbaa !9
  %104 = call i32 @llvm.abs.i32(i32 %103, i1 true)
  %105 = icmp sgt i32 %104, 2047
  br i1 %105, label %106, label %116

106:                                              ; preds = %102
  %107 = load ptr, ptr %6, align 8, !tbaa !5
  call void @libxsmm_rv64_instruction_jump_and_link(ptr noundef %107, i32 noundef 111, i32 noundef 0, i32 noundef 4)
  %108 = load ptr, ptr %6, align 8, !tbaa !5
  %109 = load i32, ptr %14, align 4, !tbaa !9
  %110 = sub nsw i32 %109, 4
  %111 = sdiv i32 %110, 2
  call void @libxsmm_rv64_instruction_jump_and_link(ptr noundef %108, i32 noundef 111, i32 noundef 0, i32 noundef %111)
  %112 = load ptr, ptr %6, align 8, !tbaa !5
  %113 = load i32, ptr %7, align 4, !tbaa !9
  %114 = load i32, ptr %8, align 4, !tbaa !9
  %115 = load i32, ptr %9, align 4, !tbaa !9
  call void @libxsmm_rv64_instruction_cond_jump(ptr noundef %112, i32 noundef %113, i32 noundef %114, i32 noundef %115, i32 noundef -2)
  br label %123

116:                                              ; preds = %102
  %117 = load ptr, ptr %6, align 8, !tbaa !5
  %118 = load i32, ptr %7, align 4, !tbaa !9
  %119 = load i32, ptr %8, align 4, !tbaa !9
  %120 = load i32, ptr %9, align 4, !tbaa !9
  %121 = load i32, ptr %14, align 4, !tbaa !9
  %122 = sdiv i32 %121, 2
  call void @libxsmm_rv64_instruction_cond_jump(ptr noundef %117, i32 noundef %118, i32 noundef %119, i32 noundef %120, i32 noundef %122)
  br label %123

123:                                              ; preds = %116, %106
  store i32 0, ptr %15, align 4
  br label %124

124:                                              ; preds = %123, %100
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #5
  %125 = load i32, ptr %15, align 4
  switch i32 %125, label %139 [
    i32 0, label %126
    i32 1, label %138
  ]

126:                                              ; preds = %124
  br label %138

127:                                              ; preds = %63
  %128 = load ptr, ptr @stderr, align 8, !tbaa !5
  %129 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %128, ptr noundef @.str.83) #5
  %130 = load ptr, ptr %6, align 8, !tbaa !5
  %131 = load i32, ptr @libxsmm_ninit, align 4, !tbaa !9
  %132 = icmp ult i32 1, %131
  br i1 %132, label %133, label %135

133:                                              ; preds = %127
  %134 = load i32, ptr @libxsmm_verbosity, align 4, !tbaa !9
  br label %136

135:                                              ; preds = %127
  br label %136

136:                                              ; preds = %135, %133
  %137 = phi i32 [ %134, %133 ], [ 1, %135 ]
  call void @libxsmm_handle_error(ptr noundef %130, i32 noundef 90000, ptr noundef @__func__.libxsmm_rv64_instruction_cond_jump_back_to_label, ptr noundef @.str.1, i32 noundef 1781, i32 noundef %137)
  br label %138

138:                                              ; preds = %136, %126, %124, %61, %46, %29
  ret void

139:                                              ; preds = %124
  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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #5 = { 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 = !{!15, !10, i64 2048}
!15 = !{!"libxsmm_loop_label_tracker_struct", !7, i64 0, !10, i64 2048}
!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 [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.77 = external hidden unnamed_addr constant [85 x i8], align 1
@.str.81 = external hidden unnamed_addr constant [103 x i8], align 1
@__func__.libxsmm_rv64_instruction_cond_jump_back_to_label = external hidden unnamed_addr constant [49 x i8], align 1
@.str.82 = external hidden unnamed_addr constant [73 x i8], align 1
@.str.83 = external hidden unnamed_addr constant [96 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
declare dso_local void @libxsmm_rv64_instruction_cond_jump(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2

; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.abs.i32(i32, i1 immarg) #3

; Function Attrs: nounwind uwtable
declare dso_local void @libxsmm_rv64_instruction_jump_and_link(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2

; Function Attrs: nounwind uwtable
define dso_local void @libxsmm_rv64_instruction_cond_jump_back_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, 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.81) #5
  %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_cond_jump_back_to_label, ptr noundef nonnull @.str.1, i32 noundef 1728, i32 noundef %15) #6
  br label %73

16:                                               ; preds = %5
  %17 = or i32 %3, %2
  %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.82) #5
  %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_cond_jump_back_to_label, ptr noundef nonnull @.str.1, i32 noundef 1734, i32 noundef %24) #6
  br label %73

25:                                               ; preds = %16
  %26 = add i32 %1, -99
  %27 = tail call i32 @llvm.fshl.i32(i32 %26, i32 %26, i32 20)
  switch i32 %27, label %28 [
    i32 0, label %35
    i32 5, label %35
    i32 7, label %35
    i32 4, label %35
    i32 6, label %35
    i32 1, label %35
  ]

28:                                               ; preds = %25
  %29 = load ptr, ptr @stderr, align 8, !tbaa !11
  %30 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %29, ptr noundef nonnull @.str.77, i32 noundef %1) #5
  %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 90000, ptr noundef nonnull @__func__.libxsmm_rv64_instruction_cond_jump_back_to_label, ptr noundef nonnull @.str.1, i32 noundef 1748, i32 noundef %34) #6
  br label %73

35:                                               ; preds = %25, %25, %25, %25, %25, %25
  %36 = getelementptr inbounds i8, ptr %0, i64 16
  %37 = load i32, ptr %36, align 8, !tbaa !13
  %38 = icmp ugt i32 %37, 1
  br i1 %38, label %39, label %66

39:                                               ; preds = %35
  %40 = getelementptr inbounds i8, ptr %4, i64 2048
  %41 = load i32, ptr %40, align 4, !tbaa !14
  %42 = add i32 %41, -1
  store i32 %42, ptr %40, align 4, !tbaa !14
  %43 = zext i32 %42 to i64
  %44 = getelementptr inbounds [512 x i32], ptr %4, i64 0, i64 %43
  %45 = load i32, ptr %44, align 4, !tbaa !12
  %46 = getelementptr inbounds i8, ptr %0, i64 12
  %47 = load i32, ptr %46, align 4, !tbaa !16
  %48 = sub nsw i32 %45, %47
  %49 = getelementptr inbounds i8, ptr %0, i64 8
  %50 = load i32, ptr %49, align 8, !tbaa !17
  %51 = sub i32 %50, %47
  %52 = icmp ult i32 %51, 4
  br i1 %52, label %53, label %58

53:                                               ; preds = %39
  %54 = load i32, ptr @libxsmm_ninit, align 4, !tbaa !12
  %55 = icmp ugt i32 %54, 1
  %56 = load i32, ptr @libxsmm_verbosity, align 4
  %57 = select i1 %55, i32 %56, i32 1
  tail call void @libxsmm_handle_error(ptr noundef nonnull %0, i32 noundef 90002, ptr noundef nonnull @__func__.libxsmm_rv64_instruction_cond_jump_back_to_label, ptr noundef nonnull @.str.1, i32 noundef 1761, i32 noundef %57) #6
  br label %73

58:                                               ; preds = %39
  %59 = tail call i32 @llvm.abs.i32(i32 %48, i1 true)
  %60 = icmp ugt i32 %59, 2047
  br i1 %60, label %61, label %64

61:                                               ; preds = %58
  tail call void @libxsmm_rv64_instruction_jump_and_link(ptr noundef nonnull %0, i32 noundef 111, i32 noundef 0, i32 noundef 4)
  %62 = add nsw i32 %48, -4
  %63 = sdiv i32 %62, 2
  tail call void @libxsmm_rv64_instruction_jump_and_link(ptr noundef nonnull %0, i32 noundef 111, i32 noundef 0, i32 noundef %63)
  tail call void @libxsmm_rv64_instruction_cond_jump(ptr noundef nonnull %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef -2)
  br label %73

64:                                               ; preds = %58
  %65 = sdiv i32 %48, 2
  tail call void @libxsmm_rv64_instruction_cond_jump(ptr noundef nonnull %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %65)
  br label %73

66:                                               ; preds = %35
  %67 = load ptr, ptr @stderr, align 8, !tbaa !11
  %68 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %67, ptr noundef nonnull @.str.83) #5
  %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_rv64_instruction_cond_jump_back_to_label, ptr noundef nonnull @.str.1, i32 noundef 1781, i32 noundef %72) #6
  br label %73

73:                                               ; preds = %53, %64, %61, %66, %28, %18, %9
  ret void
}

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.fshl.i32(i32, i32, i32) #4

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 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #5 = { cold nounwind }
attributes #6 = { 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 = !{!15, !10, i64 2048}
!15 = !{!"libxsmm_loop_label_tracker_struct", !8, i64 0, !10, i64 2048}
!16 = !{!6, !10, i64 12}
!17 = !{!6, !10, i64 8}


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