; LLVM IR from specinfo-ua/UAPKI :: library/uapkic/src (math-gf2m-internal)

; 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.WordArray_st = type { ptr, i64 }

@.str = external hidden unnamed_addr constant [28 x i8], align 1

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #0

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

; Function Attrs: nounwind uwtable
declare dso_local void @gf2m_mod_add(ptr noundef, ptr noundef, ptr noundef) #1

declare i64 @int_bit_len(ptr noundef) #2

declare ptr @wa_alloc(i64 noundef) #2

declare void @stacktrace_add(ptr noundef, i64 noundef, i32 noundef) #2

declare void @wa_free(ptr noundef) #2

declare ptr @wa_copy_with_alloc(ptr noundef) #2

declare void @int_lshift(ptr noundef, i64 noundef, ptr noundef) #2

declare ptr @wa_alloc_with_zero(i64 noundef) #2

declare i32 @wa_copy(ptr noundef, ptr noundef) #2

; Function Attrs: nounwind uwtable
define dso_local void @gf2m_mod_gcd(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #1 {
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca i64, align 8
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca ptr, align 8
  %15 = alloca ptr, align 8
  %16 = alloca ptr, align 8
  %17 = alloca ptr, align 8
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  store ptr %0, ptr %6, align 8, !tbaa !5
  store ptr %1, ptr %7, align 8, !tbaa !5
  store ptr %2, ptr %8, align 8, !tbaa !5
  store ptr %3, ptr %9, align 8, !tbaa !5
  store ptr %4, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #3
  %21 = load ptr, ptr %6, align 8, !tbaa !5
  %22 = getelementptr inbounds %struct.WordArray_st, ptr %21, i32 0, i32 1
  %23 = load i64, ptr %22, align 8, !tbaa !9
  store i64 %23, ptr %11, align 8, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #3
  store ptr null, ptr %12, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #3
  store ptr null, ptr %13, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #3
  store ptr null, ptr %14, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #3
  store ptr null, ptr %15, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #3
  store ptr null, ptr %16, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #3
  store i32 0, ptr %19, align 4, !tbaa !13
  br label %24

24:                                               ; preds = %5
  %25 = load ptr, ptr %6, align 8, !tbaa !5
  %26 = call ptr @wa_copy_with_alloc(ptr noundef %25)
  store ptr %26, ptr %12, align 8, !tbaa !5
  %27 = icmp eq ptr null, %26
  br i1 %27, label %28, label %30

28:                                               ; preds = %24
  store i32 2, ptr %19, align 4, !tbaa !13
  %29 = load i32, ptr %19, align 4, !tbaa !13
  call void @stacktrace_add(ptr noundef @.str, i64 noundef 1053, i32 noundef %29)
  br label %128

30:                                               ; preds = %24
  br label %31

31:                                               ; preds = %30
  br label %32

32:                                               ; preds = %31
  br label %33

33:                                               ; preds = %32
  %34 = load ptr, ptr %7, align 8, !tbaa !5
  %35 = call ptr @wa_copy_with_alloc(ptr noundef %34)
  store ptr %35, ptr %13, align 8, !tbaa !5
  %36 = icmp eq ptr null, %35
  br i1 %36, label %37, label %39

37:                                               ; preds = %33
  store i32 2, ptr %19, align 4, !tbaa !13
  %38 = load i32, ptr %19, align 4, !tbaa !13
  call void @stacktrace_add(ptr noundef @.str, i64 noundef 1054, i32 noundef %38)
  br label %128

39:                                               ; preds = %33
  br label %40

40:                                               ; preds = %39
  br label %41

41:                                               ; preds = %40
  br label %42

42:                                               ; preds = %41
  %43 = load i64, ptr %11, align 8, !tbaa !12
  %44 = call ptr @wa_alloc_with_one(i64 noundef %43)
  store ptr %44, ptr %14, align 8, !tbaa !5
  %45 = icmp eq ptr null, %44
  br i1 %45, label %46, label %48

46:                                               ; preds = %42
  store i32 2, ptr %19, align 4, !tbaa !13
  %47 = load i32, ptr %19, align 4, !tbaa !13
  call void @stacktrace_add(ptr noundef @.str, i64 noundef 1055, i32 noundef %47)
  br label %128

48:                                               ; preds = %42
  br label %49

49:                                               ; preds = %48
  br label %50

50:                                               ; preds = %49
  br label %51

51:                                               ; preds = %50
  %52 = load i64, ptr %11, align 8, !tbaa !12
  %53 = call ptr @wa_alloc_with_zero(i64 noundef %52)
  store ptr %53, ptr %15, align 8, !tbaa !5
  %54 = icmp eq ptr null, %53
  br i1 %54, label %55, label %57

55:                                               ; preds = %51
  store i32 2, ptr %19, align 4, !tbaa !13
  %56 = load i32, ptr %19, align 4, !tbaa !13
  call void @stacktrace_add(ptr noundef @.str, i64 noundef 1056, i32 noundef %56)
  br label %128

57:                                               ; preds = %51
  br label %58

58:                                               ; preds = %57
  br label %59

59:                                               ; preds = %58
  br label %60

60:                                               ; preds = %59
  %61 = load i64, ptr %11, align 8, !tbaa !12
  %62 = call ptr @wa_alloc(i64 noundef %61)
  store ptr %62, ptr %16, align 8, !tbaa !5
  %63 = icmp eq ptr null, %62
  br i1 %63, label %64, label %66

64:                                               ; preds = %60
  store i32 2, ptr %19, align 4, !tbaa !13
  %65 = load i32, ptr %19, align 4, !tbaa !13
  call void @stacktrace_add(ptr noundef @.str, i64 noundef 1057, i32 noundef %65)
  br label %128

66:                                               ; preds = %60
  br label %67

67:                                               ; preds = %66
  br label %68

68:                                               ; preds = %67
  br label %69

69:                                               ; preds = %91, %68
  %70 = load ptr, ptr %12, align 8, !tbaa !5
  %71 = call i64 @int_bit_len(ptr noundef %70)
  %72 = trunc i64 %71 to i32
  store i32 %72, ptr %18, align 4, !tbaa !13
  %73 = icmp sgt i32 %72, 1
  br i1 %73, label %74, label %106

74:                                               ; preds = %69
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #3
  %75 = load i32, ptr %18, align 4, !tbaa !13
  %76 = load ptr, ptr %13, align 8, !tbaa !5
  %77 = call i64 @int_bit_len(ptr noundef %76)
  %78 = trunc i64 %77 to i32
  %79 = sub nsw i32 %75, %78
  store i32 %79, ptr %20, align 4, !tbaa !13
  %80 = load i32, ptr %20, align 4, !tbaa !13
  %81 = icmp slt i32 %80, 0
  br i1 %81, label %82, label %91

82:                                               ; preds = %74
  %83 = load ptr, ptr %12, align 8, !tbaa !5
  store ptr %83, ptr %17, align 8, !tbaa !5
  %84 = load ptr, ptr %13, align 8, !tbaa !5
  store ptr %84, ptr %12, align 8, !tbaa !5
  %85 = load ptr, ptr %17, align 8, !tbaa !5
  store ptr %85, ptr %13, align 8, !tbaa !5
  %86 = load ptr, ptr %14, align 8, !tbaa !5
  store ptr %86, ptr %17, align 8, !tbaa !5
  %87 = load ptr, ptr %15, align 8, !tbaa !5
  store ptr %87, ptr %14, align 8, !tbaa !5
  %88 = load ptr, ptr %17, align 8, !tbaa !5
  store ptr %88, ptr %15, align 8, !tbaa !5
  %89 = load i32, ptr %20, align 4, !tbaa !13
  %90 = sub nsw i32 0, %89
  store i32 %90, ptr %20, align 4, !tbaa !13
  br label %91

91:                                               ; preds = %82, %74
  %92 = load ptr, ptr %13, align 8, !tbaa !5
  %93 = load i32, ptr %20, align 4, !tbaa !13
  %94 = sext i32 %93 to i64
  %95 = load ptr, ptr %16, align 8, !tbaa !5
  call void @int_lshift(ptr noundef %92, i64 noundef %94, ptr noundef %95)
  %96 = load ptr, ptr %12, align 8, !tbaa !5
  %97 = load ptr, ptr %16, align 8, !tbaa !5
  %98 = load ptr, ptr %12, align 8, !tbaa !5
  call void @gf2m_mod_add(ptr noundef %96, ptr noundef %97, ptr noundef %98)
  %99 = load ptr, ptr %15, align 8, !tbaa !5
  %100 = load i32, ptr %20, align 4, !tbaa !13
  %101 = sext i32 %100 to i64
  %102 = load ptr, ptr %16, align 8, !tbaa !5
  call void @int_lshift(ptr noundef %99, i64 noundef %101, ptr noundef %102)
  %103 = load ptr, ptr %14, align 8, !tbaa !5
  %104 = load ptr, ptr %16, align 8, !tbaa !5
  %105 = load ptr, ptr %14, align 8, !tbaa !5
  call void @gf2m_mod_add(ptr noundef %103, ptr noundef %104, ptr noundef %105)
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #3
  br label %69, !llvm.loop !15

106:                                              ; preds = %69
  %107 = load ptr, ptr %8, align 8, !tbaa !5
  %108 = icmp ne ptr %107, null
  br i1 %108, label %109, label %113

109:                                              ; preds = %106
  %110 = load ptr, ptr %12, align 8, !tbaa !5
  %111 = load ptr, ptr %8, align 8, !tbaa !5
  %112 = call i32 @wa_copy(ptr noundef %110, ptr noundef %111)
  br label %113

113:                                              ; preds = %109, %106
  %114 = load ptr, ptr %9, align 8, !tbaa !5
  %115 = icmp ne ptr %114, null
  br i1 %115, label %116, label %120

116:                                              ; preds = %113
  %117 = load ptr, ptr %14, align 8, !tbaa !5
  %118 = load ptr, ptr %9, align 8, !tbaa !5
  %119 = call i32 @wa_copy(ptr noundef %117, ptr noundef %118)
  br label %120

120:                                              ; preds = %116, %113
  %121 = load ptr, ptr %10, align 8, !tbaa !5
  %122 = icmp ne ptr %121, null
  br i1 %122, label %123, label %127

123:                                              ; preds = %120
  %124 = load ptr, ptr %15, align 8, !tbaa !5
  %125 = load ptr, ptr %10, align 8, !tbaa !5
  %126 = call i32 @wa_copy(ptr noundef %124, ptr noundef %125)
  br label %127

127:                                              ; preds = %123, %120
  br label %128

128:                                              ; preds = %127, %64, %55, %46, %37, %28
  %129 = load ptr, ptr %12, align 8, !tbaa !5
  call void @wa_free(ptr noundef %129)
  %130 = load ptr, ptr %13, align 8, !tbaa !5
  call void @wa_free(ptr noundef %130)
  %131 = load ptr, ptr %14, align 8, !tbaa !5
  call void @wa_free(ptr noundef %131)
  %132 = load ptr, ptr %15, align 8, !tbaa !5
  call void @wa_free(ptr noundef %132)
  %133 = load ptr, ptr %16, align 8, !tbaa !5
  call void @wa_free(ptr noundef %133)
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #3
  ret void
}

declare ptr @wa_alloc_with_one(i64 noundef) #2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { "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 = { 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, !11, i64 8}
!10 = !{!"WordArray_st", !6, i64 0, !11, i64 8}
!11 = !{!"long", !7, i64 0}
!12 = !{!11, !11, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"int", !7, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}


; 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"

@.str = external hidden unnamed_addr constant [28 x i8], align 1

; Function Attrs: nounwind uwtable
declare dso_local void @gf2m_mod_add(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #0

declare i64 @int_bit_len(ptr noundef) local_unnamed_addr #1

declare ptr @wa_alloc(i64 noundef) local_unnamed_addr #1

declare void @stacktrace_add(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #1

declare void @wa_free(ptr noundef) local_unnamed_addr #1

declare ptr @wa_copy_with_alloc(ptr noundef) local_unnamed_addr #1

declare void @int_lshift(ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #1

declare ptr @wa_alloc_with_zero(i64 noundef) local_unnamed_addr #1

declare i32 @wa_copy(ptr noundef, ptr noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
define dso_local void @gf2m_mod_gcd(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) local_unnamed_addr #0 {
  %6 = getelementptr inbounds i8, ptr %0, i64 8
  %7 = load i64, ptr %6, align 8, !tbaa !5
  %8 = tail call ptr @wa_copy_with_alloc(ptr noundef %0) #2
  %9 = icmp eq ptr %8, null
  br i1 %9, label %10, label %11

10:                                               ; preds = %5
  tail call void @stacktrace_add(ptr noundef nonnull @.str, i64 noundef 1053, i32 noundef 2) #2
  br label %50

11:                                               ; preds = %5
  %12 = tail call ptr @wa_copy_with_alloc(ptr noundef %1) #2
  %13 = icmp eq ptr %12, null
  br i1 %13, label %14, label %15

14:                                               ; preds = %11
  tail call void @stacktrace_add(ptr noundef nonnull @.str, i64 noundef 1054, i32 noundef 2) #2
  br label %50

15:                                               ; preds = %11
  %16 = tail call ptr @wa_alloc_with_one(i64 noundef %7) #2
  %17 = icmp eq ptr %16, null
  br i1 %17, label %18, label %19

18:                                               ; preds = %15
  tail call void @stacktrace_add(ptr noundef nonnull @.str, i64 noundef 1055, i32 noundef 2) #2
  br label %50

19:                                               ; preds = %15
  %20 = tail call ptr @wa_alloc_with_zero(i64 noundef %7) #2
  %21 = icmp eq ptr %20, null
  br i1 %21, label %22, label %23

22:                                               ; preds = %19
  tail call void @stacktrace_add(ptr noundef nonnull @.str, i64 noundef 1056, i32 noundef 2) #2
  br label %50

23:                                               ; preds = %19
  %24 = tail call ptr @wa_alloc(i64 noundef %7) #2
  %25 = icmp eq ptr %24, null
  br i1 %25, label %29, label %.preheader

.preheader:                                       ; preds = %23
  %26 = tail call i64 @int_bit_len(ptr noundef nonnull %8) #2
  %27 = trunc i64 %26 to i32
  %28 = icmp sgt i32 %27, 1
  br i1 %28, label %.lr.ph, label %._crit_edge

29:                                               ; preds = %23
  tail call void @stacktrace_add(ptr noundef nonnull @.str, i64 noundef 1057, i32 noundef 2) #2
  br label %50

.lr.ph:                                           ; preds = %.preheader, %37
  %30 = phi i32 [ %40, %37 ], [ %27, %.preheader ]
  %.04778 = phi ptr [ %.1, %37 ], [ %8, %.preheader ]
  %.04877 = phi ptr [ %.149, %37 ], [ %12, %.preheader ]
  %.05276 = phi ptr [ %.153, %37 ], [ %20, %.preheader ]
  %.05575 = phi ptr [ %.156, %37 ], [ %16, %.preheader ]
  %31 = tail call i64 @int_bit_len(ptr noundef %.04877) #2
  %32 = trunc i64 %31 to i32
  %33 = sub nsw i32 %30, %32
  %34 = icmp slt i32 %33, 0
  br i1 %34, label %35, label %37

35:                                               ; preds = %.lr.ph
  %36 = sub nsw i32 0, %33
  br label %37

37:                                               ; preds = %35, %.lr.ph
  %.156 = phi ptr [ %.05276, %35 ], [ %.05575, %.lr.ph ]
  %.153 = phi ptr [ %.05575, %35 ], [ %.05276, %.lr.ph ]
  %.149 = phi ptr [ %.04778, %35 ], [ %.04877, %.lr.ph ]
  %.1 = phi ptr [ %.04877, %35 ], [ %.04778, %.lr.ph ]
  %.0 = phi i32 [ %36, %35 ], [ %33, %.lr.ph ]
  %38 = zext nneg i32 %.0 to i64
  tail call void @int_lshift(ptr noundef %.149, i64 noundef %38, ptr noundef nonnull %24) #2
  tail call void @gf2m_mod_add(ptr noundef %.1, ptr noundef nonnull %24, ptr noundef %.1)
  tail call void @int_lshift(ptr noundef %.153, i64 noundef %38, ptr noundef nonnull %24) #2
  tail call void @gf2m_mod_add(ptr noundef %.156, ptr noundef nonnull %24, ptr noundef %.156)
  %39 = tail call i64 @int_bit_len(ptr noundef %.1) #2
  %40 = trunc i64 %39 to i32
  %41 = icmp sgt i32 %40, 1
  br i1 %41, label %.lr.ph, label %._crit_edge, !llvm.loop !11

._crit_edge:                                      ; preds = %37, %.preheader
  %.055.lcssa = phi ptr [ %16, %.preheader ], [ %.156, %37 ]
  %.052.lcssa = phi ptr [ %20, %.preheader ], [ %.153, %37 ]
  %.048.lcssa = phi ptr [ %12, %.preheader ], [ %.149, %37 ]
  %.047.lcssa = phi ptr [ %8, %.preheader ], [ %.1, %37 ]
  %.not = icmp eq ptr %2, null
  br i1 %.not, label %44, label %42

42:                                               ; preds = %._crit_edge
  %43 = tail call i32 @wa_copy(ptr noundef %.047.lcssa, ptr noundef nonnull %2) #2
  br label %44

44:                                               ; preds = %42, %._crit_edge
  %.not73 = icmp eq ptr %3, null
  br i1 %.not73, label %47, label %45

45:                                               ; preds = %44
  %46 = tail call i32 @wa_copy(ptr noundef %.055.lcssa, ptr noundef nonnull %3) #2
  br label %47

47:                                               ; preds = %45, %44
  %.not74 = icmp eq ptr %4, null
  br i1 %.not74, label %50, label %48

48:                                               ; preds = %47
  %49 = tail call i32 @wa_copy(ptr noundef %.052.lcssa, ptr noundef nonnull %4) #2
  br label %50

50:                                               ; preds = %47, %48, %29, %22, %18, %14, %10
  %.257 = phi ptr [ null, %10 ], [ null, %14 ], [ null, %18 ], [ %16, %22 ], [ %16, %29 ], [ %.055.lcssa, %48 ], [ %.055.lcssa, %47 ]
  %.254 = phi ptr [ null, %10 ], [ null, %14 ], [ null, %18 ], [ null, %22 ], [ %20, %29 ], [ %.052.lcssa, %48 ], [ %.052.lcssa, %47 ]
  %.051 = phi ptr [ null, %10 ], [ null, %14 ], [ null, %18 ], [ null, %22 ], [ null, %29 ], [ %24, %48 ], [ %24, %47 ]
  %.250 = phi ptr [ null, %10 ], [ null, %14 ], [ %12, %18 ], [ %12, %22 ], [ %12, %29 ], [ %.048.lcssa, %48 ], [ %.048.lcssa, %47 ]
  %.2 = phi ptr [ null, %10 ], [ %8, %14 ], [ %8, %18 ], [ %8, %22 ], [ %8, %29 ], [ %.047.lcssa, %48 ], [ %.047.lcssa, %47 ]
  tail call void @wa_free(ptr noundef %.2) #2
  tail call void @wa_free(ptr noundef %.250) #2
  tail call void @wa_free(ptr noundef %.257) #2
  tail call void @wa_free(ptr noundef %.254) #2
  tail call void @wa_free(ptr noundef %.051) #2
  ret void
}

declare ptr @wa_alloc_with_one(i64 noundef) local_unnamed_addr #1

attributes #0 = { 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 #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 }

!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 8}
!6 = !{!"WordArray_st", !7, i64 0, !10, i64 8}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"long", !8, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass,TailCallElimPass