; LLVM IR from guanzhi/GmSSL :: src (sm2_sign)

; 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.SM2_Z256_POINT = type { [4 x i64], [4 x i64], [4 x i64] }
%struct.SM2_SIGNATURE = type { [32 x i8], [32 x i8] }
%struct.SM2_KEY = type { %struct.SM2_Z256_POINT, [4 x i64] }

@stderr = external global ptr, align 8
@.str = external hidden unnamed_addr constant [13 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [62 x i8], align 1
@__FUNCTION__.sm2_do_verify = external hidden unnamed_addr constant [14 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

declare void @sm2_z256_modn_add(ptr noundef, ptr noundef, ptr noundef) #1

declare i64 @sm2_z256_is_zero(ptr noundef) #1

; Function Attrs: nounwind
declare i32 @fprintf(ptr noundef, ptr noundef, ...) #2

declare void @sm2_z256_from_bytes(ptr noundef, ptr noundef) #1

declare ptr @sm2_z256_order() #1

declare void @sm2_z256_point_mul_generator(ptr noundef, ptr noundef) #1

declare i32 @sm2_z256_point_get_xy(ptr noundef, ptr noundef, ptr noundef) #1

declare i32 @sm2_z256_cmp(ptr noundef, ptr noundef) #1

declare i64 @sm2_z256_sub(ptr noundef, ptr noundef, ptr noundef) #1

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

declare void @sm2_z256_point_add(ptr noundef, ptr noundef, ptr noundef) #1

; Function Attrs: nounwind uwtable
define dso_local i32 @sm2_do_verify(ptr noundef %0, ptr noundef %1, ptr noundef %2) #3 {
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca %struct.SM2_Z256_POINT, align 8
  %9 = alloca %struct.SM2_Z256_POINT, align 8
  %10 = alloca [4 x i64], align 16
  %11 = alloca [4 x i64], align 16
  %12 = alloca [4 x i64], align 16
  %13 = alloca [4 x i64], align 16
  %14 = alloca [4 x i64], align 16
  %15 = alloca i32, align 4
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  store ptr %2, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 96, ptr %8) #4
  call void @llvm.lifetime.start.p0(i64 96, ptr %9) #4
  call void @llvm.lifetime.start.p0(i64 32, ptr %10) #4
  call void @llvm.lifetime.start.p0(i64 32, ptr %11) #4
  call void @llvm.lifetime.start.p0(i64 32, ptr %12) #4
  call void @llvm.lifetime.start.p0(i64 32, ptr %13) #4
  call void @llvm.lifetime.start.p0(i64 32, ptr %14) #4
  %16 = getelementptr inbounds [4 x i64], ptr %10, i64 0, i64 0
  %17 = load ptr, ptr %7, align 8, !tbaa !5
  %18 = getelementptr inbounds %struct.SM2_SIGNATURE, ptr %17, i32 0, i32 0
  %19 = getelementptr inbounds [32 x i8], ptr %18, i64 0, i64 0
  call void @sm2_z256_from_bytes(ptr noundef %16, ptr noundef %19)
  %20 = getelementptr inbounds [4 x i64], ptr %10, i64 0, i64 0
  %21 = call i64 @sm2_z256_is_zero(ptr noundef %20)
  %22 = icmp eq i64 %21, 1
  br i1 %22, label %23, label %29

23:                                               ; preds = %3
  br label %24

24:                                               ; preds = %23
  %25 = load ptr, ptr @stderr, align 8, !tbaa !5
  %26 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %25, ptr noundef @.str, ptr noundef @.str.1, i32 noundef 284, ptr noundef @__FUNCTION__.sm2_do_verify) #4
  br label %27

27:                                               ; preds = %24
  br label %28

28:                                               ; preds = %27
  store i32 -1, ptr %4, align 4
  store i32 1, ptr %15, align 4
  br label %121

29:                                               ; preds = %3
  %30 = getelementptr inbounds [4 x i64], ptr %10, i64 0, i64 0
  %31 = call ptr @sm2_z256_order()
  %32 = call i32 @sm2_z256_cmp(ptr noundef %30, ptr noundef %31)
  %33 = icmp sge i32 %32, 0
  br i1 %33, label %34, label %40

34:                                               ; preds = %29
  br label %35

35:                                               ; preds = %34
  %36 = load ptr, ptr @stderr, align 8, !tbaa !5
  %37 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %36, ptr noundef @.str, ptr noundef @.str.1, i32 noundef 288, ptr noundef @__FUNCTION__.sm2_do_verify) #4
  br label %38

38:                                               ; preds = %35
  br label %39

39:                                               ; preds = %38
  store i32 -1, ptr %4, align 4
  store i32 1, ptr %15, align 4
  br label %121

40:                                               ; preds = %29
  %41 = getelementptr inbounds [4 x i64], ptr %11, i64 0, i64 0
  %42 = load ptr, ptr %7, align 8, !tbaa !5
  %43 = getelementptr inbounds %struct.SM2_SIGNATURE, ptr %42, i32 0, i32 1
  %44 = getelementptr inbounds [32 x i8], ptr %43, i64 0, i64 0
  call void @sm2_z256_from_bytes(ptr noundef %41, ptr noundef %44)
  %45 = getelementptr inbounds [4 x i64], ptr %11, i64 0, i64 0
  %46 = call i64 @sm2_z256_is_zero(ptr noundef %45)
  %47 = icmp eq i64 %46, 1
  br i1 %47, label %48, label %54

48:                                               ; preds = %40
  br label %49

49:                                               ; preds = %48
  %50 = load ptr, ptr @stderr, align 8, !tbaa !5
  %51 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %50, ptr noundef @.str, ptr noundef @.str.1, i32 noundef 293, ptr noundef @__FUNCTION__.sm2_do_verify) #4
  br label %52

52:                                               ; preds = %49
  br label %53

53:                                               ; preds = %52
  store i32 -1, ptr %4, align 4
  store i32 1, ptr %15, align 4
  br label %121

54:                                               ; preds = %40
  %55 = getelementptr inbounds [4 x i64], ptr %11, i64 0, i64 0
  %56 = call ptr @sm2_z256_order()
  %57 = call i32 @sm2_z256_cmp(ptr noundef %55, ptr noundef %56)
  %58 = icmp sge i32 %57, 0
  br i1 %58, label %59, label %65

59:                                               ; preds = %54
  br label %60

60:                                               ; preds = %59
  %61 = load ptr, ptr @stderr, align 8, !tbaa !5
  %62 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %61, ptr noundef @.str, ptr noundef @.str.1, i32 noundef 297, ptr noundef @__FUNCTION__.sm2_do_verify) #4
  br label %63

63:                                               ; preds = %60
  br label %64

64:                                               ; preds = %63
  store i32 -1, ptr %4, align 4
  store i32 1, ptr %15, align 4
  br label %121

65:                                               ; preds = %54
  %66 = getelementptr inbounds [4 x i64], ptr %14, i64 0, i64 0
  %67 = getelementptr inbounds [4 x i64], ptr %10, i64 0, i64 0
  %68 = getelementptr inbounds [4 x i64], ptr %11, i64 0, i64 0
  call void @sm2_z256_modn_add(ptr noundef %66, ptr noundef %67, ptr noundef %68)
  %69 = getelementptr inbounds [4 x i64], ptr %14, i64 0, i64 0
  %70 = call i64 @sm2_z256_is_zero(ptr noundef %69)
  %71 = icmp ne i64 %70, 0
  br i1 %71, label %72, label %78

72:                                               ; preds = %65
  br label %73

73:                                               ; preds = %72
  %74 = load ptr, ptr @stderr, align 8, !tbaa !5
  %75 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %74, ptr noundef @.str, ptr noundef @.str.1, i32 noundef 304, ptr noundef @__FUNCTION__.sm2_do_verify) #4
  br label %76

76:                                               ; preds = %73
  br label %77

77:                                               ; preds = %76
  store i32 -1, ptr %4, align 4
  store i32 1, ptr %15, align 4
  br label %121

78:                                               ; preds = %65
  %79 = getelementptr inbounds [4 x i64], ptr %11, i64 0, i64 0
  call void @sm2_z256_point_mul_generator(ptr noundef %8, ptr noundef %79)
  %80 = getelementptr inbounds [4 x i64], ptr %14, i64 0, i64 0
  %81 = load ptr, ptr %5, align 8, !tbaa !5
  %82 = getelementptr inbounds %struct.SM2_KEY, ptr %81, i32 0, i32 0
  call void @sm2_z256_point_mul(ptr noundef %9, ptr noundef %80, ptr noundef %82)
  call void @sm2_z256_point_add(ptr noundef %8, ptr noundef %8, ptr noundef %9)
  %83 = getelementptr inbounds [4 x i64], ptr %13, i64 0, i64 0
  %84 = call i32 @sm2_z256_point_get_xy(ptr noundef %8, ptr noundef %83, ptr noundef null)
  %85 = getelementptr inbounds [4 x i64], ptr %12, i64 0, i64 0
  %86 = load ptr, ptr %6, align 8, !tbaa !5
  call void @sm2_z256_from_bytes(ptr noundef %85, ptr noundef %86)
  %87 = getelementptr inbounds [4 x i64], ptr %12, i64 0, i64 0
  %88 = call ptr @sm2_z256_order()
  %89 = call i32 @sm2_z256_cmp(ptr noundef %87, ptr noundef %88)
  %90 = icmp sge i32 %89, 0
  br i1 %90, label %91, label %96

91:                                               ; preds = %78
  %92 = getelementptr inbounds [4 x i64], ptr %12, i64 0, i64 0
  %93 = getelementptr inbounds [4 x i64], ptr %12, i64 0, i64 0
  %94 = call ptr @sm2_z256_order()
  %95 = call i64 @sm2_z256_sub(ptr noundef %92, ptr noundef %93, ptr noundef %94)
  br label %96

96:                                               ; preds = %91, %78
  %97 = getelementptr inbounds [4 x i64], ptr %13, i64 0, i64 0
  %98 = call ptr @sm2_z256_order()
  %99 = call i32 @sm2_z256_cmp(ptr noundef %97, ptr noundef %98)
  %100 = icmp sge i32 %99, 0
  br i1 %100, label %101, label %106

101:                                              ; preds = %96
  %102 = getelementptr inbounds [4 x i64], ptr %13, i64 0, i64 0
  %103 = getelementptr inbounds [4 x i64], ptr %13, i64 0, i64 0
  %104 = call ptr @sm2_z256_order()
  %105 = call i64 @sm2_z256_sub(ptr noundef %102, ptr noundef %103, ptr noundef %104)
  br label %106

106:                                              ; preds = %101, %96
  %107 = getelementptr inbounds [4 x i64], ptr %12, i64 0, i64 0
  %108 = getelementptr inbounds [4 x i64], ptr %12, i64 0, i64 0
  %109 = getelementptr inbounds [4 x i64], ptr %13, i64 0, i64 0
  call void @sm2_z256_modn_add(ptr noundef %107, ptr noundef %108, ptr noundef %109)
  %110 = getelementptr inbounds [4 x i64], ptr %12, i64 0, i64 0
  %111 = getelementptr inbounds [4 x i64], ptr %10, i64 0, i64 0
  %112 = call i32 @sm2_z256_cmp(ptr noundef %110, ptr noundef %111)
  %113 = icmp ne i32 %112, 0
  br i1 %113, label %114, label %120

114:                                              ; preds = %106
  br label %115

115:                                              ; preds = %114
  %116 = load ptr, ptr @stderr, align 8, !tbaa !5
  %117 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %116, ptr noundef @.str, ptr noundef @.str.1, i32 noundef 328, ptr noundef @__FUNCTION__.sm2_do_verify) #4
  br label %118

118:                                              ; preds = %115
  br label %119

119:                                              ; preds = %118
  store i32 -1, ptr %4, align 4
  store i32 1, ptr %15, align 4
  br label %121

120:                                              ; preds = %106
  store i32 1, ptr %4, align 4
  store i32 1, ptr %15, align 4
  br label %121

121:                                              ; preds = %120, %119, %77, %64, %53, %39, %28
  call void @llvm.lifetime.end.p0(i64 32, ptr %14) #4
  call void @llvm.lifetime.end.p0(i64 32, ptr %13) #4
  call void @llvm.lifetime.end.p0(i64 32, ptr %12) #4
  call void @llvm.lifetime.end.p0(i64 32, ptr %11) #4
  call void @llvm.lifetime.end.p0(i64 32, ptr %10) #4
  call void @llvm.lifetime.end.p0(i64 96, ptr %9) #4
  call void @llvm.lifetime.end.p0(i64 96, ptr %8) #4
  %122 = load i32, ptr %4, align 4
  ret i32 %122
}

declare void @sm2_z256_point_mul(ptr noundef, ptr noundef, ptr noundef) #1

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 "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 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"}


; 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.SM2_Z256_POINT = type { [4 x i64], [4 x i64], [4 x i64] }

@stderr = external local_unnamed_addr global ptr, align 8
@.str = external hidden unnamed_addr constant [13 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [62 x i8], align 1
@__FUNCTION__.sm2_do_verify = external hidden unnamed_addr constant [14 x i8], align 1

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

declare void @sm2_z256_modn_add(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1

declare i64 @sm2_z256_is_zero(ptr noundef) local_unnamed_addr #1

; Function Attrs: nofree nounwind
declare noundef i32 @fprintf(ptr nocapture noundef, ptr nocapture noundef readonly, ...) local_unnamed_addr #2

declare void @sm2_z256_from_bytes(ptr noundef, ptr noundef) local_unnamed_addr #1

declare ptr @sm2_z256_order() local_unnamed_addr #1

declare void @sm2_z256_point_mul_generator(ptr noundef, ptr noundef) local_unnamed_addr #1

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

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

declare i64 @sm2_z256_sub(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1

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

declare void @sm2_z256_point_add(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
define dso_local range(i32 -1, 2) i32 @sm2_do_verify(ptr noundef %0, ptr noundef %1, ptr noundef %2) local_unnamed_addr #3 {
  %4 = alloca %struct.SM2_Z256_POINT, align 8
  %5 = alloca %struct.SM2_Z256_POINT, align 8
  %6 = alloca [4 x i64], align 16
  %7 = alloca [4 x i64], align 16
  %8 = alloca [4 x i64], align 16
  %9 = alloca [4 x i64], align 16
  %10 = alloca [4 x i64], align 16
  call void @llvm.lifetime.start.p0(i64 96, ptr nonnull %4) #4
  call void @llvm.lifetime.start.p0(i64 96, ptr nonnull %5) #4
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %6) #4
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %7) #4
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %8) #4
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %9) #4
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %10) #4
  call void @sm2_z256_from_bytes(ptr noundef nonnull %6, ptr noundef %2) #4
  %11 = call i64 @sm2_z256_is_zero(ptr noundef nonnull %6) #4
  %12 = icmp eq i64 %11, 1
  br i1 %12, label %.sink.split, label %13

13:                                               ; preds = %3
  %14 = call ptr @sm2_z256_order() #4
  %15 = call i32 @sm2_z256_cmp(ptr noundef nonnull %6, ptr noundef %14) #4
  %16 = icmp sgt i32 %15, -1
  br i1 %16, label %.sink.split, label %17

17:                                               ; preds = %13
  %18 = getelementptr inbounds i8, ptr %2, i64 32
  call void @sm2_z256_from_bytes(ptr noundef nonnull %7, ptr noundef nonnull %18) #4
  %19 = call i64 @sm2_z256_is_zero(ptr noundef nonnull %7) #4
  %20 = icmp eq i64 %19, 1
  br i1 %20, label %.sink.split, label %21

21:                                               ; preds = %17
  %22 = call ptr @sm2_z256_order() #4
  %23 = call i32 @sm2_z256_cmp(ptr noundef nonnull %7, ptr noundef %22) #4
  %24 = icmp sgt i32 %23, -1
  br i1 %24, label %.sink.split, label %25

25:                                               ; preds = %21
  call void @sm2_z256_modn_add(ptr noundef nonnull %10, ptr noundef nonnull %6, ptr noundef nonnull %7) #4
  %26 = call i64 @sm2_z256_is_zero(ptr noundef nonnull %10) #4
  %.not = icmp eq i64 %26, 0
  br i1 %.not, label %27, label %.sink.split

27:                                               ; preds = %25
  call void @sm2_z256_point_mul_generator(ptr noundef nonnull %4, ptr noundef nonnull %7) #4
  call void @sm2_z256_point_mul(ptr noundef nonnull %5, ptr noundef nonnull %10, ptr noundef %0) #4
  call void @sm2_z256_point_add(ptr noundef nonnull %4, ptr noundef nonnull %4, ptr noundef nonnull %5) #4
  %28 = call i32 @sm2_z256_point_get_xy(ptr noundef nonnull %4, ptr noundef nonnull %9, ptr noundef null) #4
  call void @sm2_z256_from_bytes(ptr noundef nonnull %8, ptr noundef %1) #4
  %29 = call ptr @sm2_z256_order() #4
  %30 = call i32 @sm2_z256_cmp(ptr noundef nonnull %8, ptr noundef %29) #4
  %31 = icmp sgt i32 %30, -1
  br i1 %31, label %32, label %35

32:                                               ; preds = %27
  %33 = call ptr @sm2_z256_order() #4
  %34 = call i64 @sm2_z256_sub(ptr noundef nonnull %8, ptr noundef nonnull %8, ptr noundef %33) #4
  br label %35

35:                                               ; preds = %32, %27
  %36 = call ptr @sm2_z256_order() #4
  %37 = call i32 @sm2_z256_cmp(ptr noundef nonnull %9, ptr noundef %36) #4
  %38 = icmp sgt i32 %37, -1
  br i1 %38, label %39, label %42

39:                                               ; preds = %35
  %40 = call ptr @sm2_z256_order() #4
  %41 = call i64 @sm2_z256_sub(ptr noundef nonnull %9, ptr noundef nonnull %9, ptr noundef %40) #4
  br label %42

42:                                               ; preds = %39, %35
  call void @sm2_z256_modn_add(ptr noundef nonnull %8, ptr noundef nonnull %8, ptr noundef nonnull %9) #4
  %43 = call i32 @sm2_z256_cmp(ptr noundef nonnull %8, ptr noundef nonnull %6) #4
  %.not4 = icmp eq i32 %43, 0
  br i1 %.not4, label %46, label %.sink.split

.sink.split:                                      ; preds = %42, %25, %21, %17, %13, %3
  %.sink5 = phi i32 [ 284, %3 ], [ 288, %13 ], [ 293, %17 ], [ 297, %21 ], [ 304, %25 ], [ 328, %42 ]
  %44 = load ptr, ptr @stderr, align 8, !tbaa !5
  %45 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %44, ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, i32 noundef %.sink5, ptr noundef nonnull @__FUNCTION__.sm2_do_verify) #5
  br label %46

46:                                               ; preds = %.sink.split, %42
  %.0 = phi i32 [ 1, %42 ], [ -1, %.sink.split ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %10) #4
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %9) #4
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %8) #4
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %7) #4
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %6) #4
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %5) #4
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %4) #4
  ret i32 %.0
}

declare void @sm2_z256_point_mul(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { 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 #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 }
attributes #5 = { cold 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"}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,SROAPass,SimplifyCFGPass