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

; 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_KEY = type { %struct.SM2_Z256_POINT, [4 x i64] }
%struct.SM2_Z256_POINT = type { [4 x i64], [4 x i64], [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 [57 x i8], align 1
@__FUNCTION__.cms_deenvelop = 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

; Function Attrs: nounwind
declare i32 @fprintf(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

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

declare i32 @asn1_length_is_zero(i64 noundef) #3

declare i32 @asn1_check(i32 noundef) #3

declare i32 @x509_cert_get_subject_public_key(ptr noundef, i64 noundef, ptr noundef) #3

declare i32 @x509_cert_get_issuer_and_serial_number(ptr noundef, i64 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #3

; Function Attrs: nounwind willreturn memory(read)
declare i32 @memcmp(ptr noundef, ptr noundef, i64 noundef) #4

; Function Attrs: nounwind uwtable
declare dso_local i32 @cms_enveloped_data_decrypt_from_der(ptr noundef, ptr noundef, i64 noundef, ptr noundef, i64 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #2

; Function Attrs: nounwind uwtable
define dso_local i32 @cms_deenvelop(ptr noundef %0, i64 noundef %1, ptr noundef %2, ptr noundef %3, i64 noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10, ptr noundef %11, ptr noundef %12, ptr noundef %13) #2 {
  %15 = alloca i32, align 4
  %16 = alloca ptr, align 8
  %17 = alloca i64, align 8
  %18 = alloca ptr, align 8
  %19 = alloca ptr, align 8
  %20 = alloca i64, align 8
  %21 = alloca ptr, align 8
  %22 = alloca ptr, align 8
  %23 = alloca ptr, align 8
  %24 = alloca ptr, align 8
  %25 = alloca ptr, align 8
  %26 = alloca ptr, align 8
  %27 = alloca ptr, align 8
  %28 = alloca ptr, align 8
  %29 = alloca ptr, align 8
  %30 = alloca i32, align 4
  %31 = alloca ptr, align 8
  %32 = alloca i64, align 8
  %33 = alloca ptr, align 8
  %34 = alloca i64, align 8
  %35 = alloca ptr, align 8
  %36 = alloca i64, align 8
  %37 = alloca %struct.SM2_KEY, align 8
  %38 = alloca i32, align 4
  store ptr %0, ptr %16, align 8, !tbaa !5
  store i64 %1, ptr %17, align 8, !tbaa !9
  store ptr %2, ptr %18, align 8, !tbaa !5
  store ptr %3, ptr %19, align 8, !tbaa !5
  store i64 %4, ptr %20, align 8, !tbaa !9
  store ptr %5, ptr %21, align 8, !tbaa !5
  store ptr %6, ptr %22, align 8, !tbaa !5
  store ptr %7, ptr %23, align 8, !tbaa !5
  store ptr %8, ptr %24, align 8, !tbaa !5
  store ptr %9, ptr %25, align 8, !tbaa !5
  store ptr %10, ptr %26, align 8, !tbaa !5
  store ptr %11, ptr %27, align 8, !tbaa !5
  store ptr %12, ptr %28, align 8, !tbaa !5
  store ptr %13, ptr %29, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %30) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %35) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %36) #5
  call void @llvm.lifetime.start.p0(i64 128, ptr %37) #5
  %39 = call i32 @cms_content_info_from_der(ptr noundef %30, ptr noundef %31, ptr noundef %32, ptr noundef %16, ptr noundef %17)
  %40 = icmp ne i32 %39, 1
  br i1 %40, label %62, label %41

41:                                               ; preds = %14
  %42 = load i32, ptr %30, align 4, !tbaa !11
  %43 = icmp eq i32 %42, 120
  %44 = zext i1 %43 to i32
  %45 = call i32 @asn1_check(i32 noundef %44)
  %46 = icmp ne i32 %45, 1
  br i1 %46, label %62, label %47

47:                                               ; preds = %41
  %48 = load ptr, ptr %31, align 8, !tbaa !5
  %49 = icmp ne ptr %48, null
  br i1 %49, label %50, label %53

50:                                               ; preds = %47
  %51 = load i64, ptr %32, align 8, !tbaa !9
  %52 = icmp ne i64 %51, 0
  br label %53

53:                                               ; preds = %50, %47
  %54 = phi i1 [ false, %47 ], [ %52, %50 ]
  %55 = zext i1 %54 to i32
  %56 = call i32 @asn1_check(i32 noundef %55)
  %57 = icmp ne i32 %56, 1
  br i1 %57, label %62, label %58

58:                                               ; preds = %53
  %59 = load i64, ptr %17, align 8, !tbaa !9
  %60 = call i32 @asn1_length_is_zero(i64 noundef %59)
  %61 = icmp ne i32 %60, 1
  br i1 %61, label %62, label %68

62:                                               ; preds = %58, %53, %41, %14
  br label %63

63:                                               ; preds = %62
  %64 = load ptr, ptr @stderr, align 8, !tbaa !5
  %65 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %64, ptr noundef @.str, ptr noundef @.str.1, i32 noundef 2274, ptr noundef @__FUNCTION__.cms_deenvelop) #5
  br label %66

66:                                               ; preds = %63
  br label %67

67:                                               ; preds = %66
  store i32 -1, ptr %15, align 4
  store i32 1, ptr %38, align 4
  br label %122

68:                                               ; preds = %58
  %69 = load ptr, ptr %19, align 8, !tbaa !5
  %70 = load i64, ptr %20, align 8, !tbaa !9
  %71 = call i32 @x509_cert_get_issuer_and_serial_number(ptr noundef %69, i64 noundef %70, ptr noundef %33, ptr noundef %34, ptr noundef %35, ptr noundef %36)
  %72 = icmp ne i32 %71, 1
  br i1 %72, label %78, label %73

73:                                               ; preds = %68
  %74 = load ptr, ptr %19, align 8, !tbaa !5
  %75 = load i64, ptr %20, align 8, !tbaa !9
  %76 = call i32 @x509_cert_get_subject_public_key(ptr noundef %74, i64 noundef %75, ptr noundef %37)
  %77 = icmp ne i32 %76, 1
  br i1 %77, label %78, label %84

78:                                               ; preds = %73, %68
  br label %79

79:                                               ; preds = %78
  %80 = load ptr, ptr @stderr, align 8, !tbaa !5
  %81 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %80, ptr noundef @.str, ptr noundef @.str.1, i32 noundef 2282, ptr noundef @__FUNCTION__.cms_deenvelop) #5
  br label %82

82:                                               ; preds = %79
  br label %83

83:                                               ; preds = %82
  store i32 -1, ptr %15, align 4
  store i32 1, ptr %38, align 4
  br label %122

84:                                               ; preds = %73
  %85 = load ptr, ptr %18, align 8, !tbaa !5
  %86 = call i32 @memcmp(ptr noundef %37, ptr noundef %85, i64 noundef 64) #6
  %87 = icmp ne i32 %86, 0
  br i1 %87, label %88, label %94

88:                                               ; preds = %84
  br label %89

89:                                               ; preds = %88
  %90 = load ptr, ptr @stderr, align 8, !tbaa !5
  %91 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %90, ptr noundef @.str, ptr noundef @.str.1, i32 noundef 2286, ptr noundef @__FUNCTION__.cms_deenvelop) #5
  br label %92

92:                                               ; preds = %89
  br label %93

93:                                               ; preds = %92
  store i32 -1, ptr %15, align 4
  store i32 1, ptr %38, align 4
  br label %122

94:                                               ; preds = %84
  %95 = load ptr, ptr %18, align 8, !tbaa !5
  %96 = load ptr, ptr %33, align 8, !tbaa !5
  %97 = load i64, ptr %34, align 8, !tbaa !9
  %98 = load ptr, ptr %35, align 8, !tbaa !5
  %99 = load i64, ptr %36, align 8, !tbaa !9
  %100 = load ptr, ptr %21, align 8, !tbaa !5
  %101 = load ptr, ptr %22, align 8, !tbaa !5
  %102 = load ptr, ptr %23, align 8, !tbaa !5
  %103 = load ptr, ptr %24, align 8, !tbaa !5
  %104 = load ptr, ptr %25, align 8, !tbaa !5
  %105 = load ptr, ptr %26, align 8, !tbaa !5
  %106 = load ptr, ptr %27, align 8, !tbaa !5
  %107 = load ptr, ptr %28, align 8, !tbaa !5
  %108 = load ptr, ptr %29, align 8, !tbaa !5
  %109 = call i32 @cms_enveloped_data_decrypt_from_der(ptr noundef %95, ptr noundef %96, i64 noundef %97, ptr noundef %98, i64 noundef %99, ptr noundef %100, ptr noundef %101, ptr noundef %102, ptr noundef %103, ptr noundef %104, ptr noundef %105, ptr noundef %106, ptr noundef %107, ptr noundef %108, ptr noundef %31, ptr noundef %32)
  %110 = icmp ne i32 %109, 1
  br i1 %110, label %115, label %111

111:                                              ; preds = %94
  %112 = load i64, ptr %32, align 8, !tbaa !9
  %113 = call i32 @asn1_length_is_zero(i64 noundef %112)
  %114 = icmp ne i32 %113, 1
  br i1 %114, label %115, label %121

115:                                              ; preds = %111, %94
  br label %116

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

119:                                              ; preds = %116
  br label %120

120:                                              ; preds = %119
  store i32 -1, ptr %15, align 4
  store i32 1, ptr %38, align 4
  br label %122

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

122:                                              ; preds = %121, %120, %93, %83, %67
  call void @llvm.lifetime.end.p0(i64 128, ptr %37) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #5
  %123 = load i32, ptr %15, align 4
  ret i32 %123
}

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

!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 = !{!"long", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}


; 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_KEY = type { %struct.SM2_Z256_POINT, [4 x i64] }
%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 [57 x i8], align 1
@__FUNCTION__.cms_deenvelop = 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

; Function Attrs: nofree nounwind
declare noundef i32 @fprintf(ptr nocapture noundef, ptr nocapture noundef readonly, ...) 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

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

declare i32 @asn1_length_is_zero(i64 noundef) local_unnamed_addr #3

declare i32 @asn1_check(i32 noundef) local_unnamed_addr #3

declare i32 @x509_cert_get_subject_public_key(ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #3

declare i32 @x509_cert_get_issuer_and_serial_number(ptr noundef, i64 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #3

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

; Function Attrs: nounwind uwtable
define dso_local range(i32 -1, 2) i32 @cms_deenvelop(ptr noundef %0, i64 noundef %1, ptr noundef %2, ptr noundef %3, i64 noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10, ptr noundef %11, ptr noundef %12, ptr noundef %13) local_unnamed_addr #2 {
  %15 = alloca ptr, align 8
  %16 = alloca i64, align 8
  %17 = alloca i32, align 4
  %18 = alloca ptr, align 8
  %19 = alloca i64, align 8
  %20 = alloca ptr, align 8
  %21 = alloca i64, align 8
  %22 = alloca ptr, align 8
  %23 = alloca i64, align 8
  %24 = alloca %struct.SM2_KEY, align 8
  store ptr %0, ptr %15, align 8, !tbaa !5
  store i64 %1, ptr %16, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %17) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %18) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %19) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %20) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %21) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %22) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %23) #5
  call void @llvm.lifetime.start.p0(i64 128, ptr nonnull %24) #5
  %25 = call i32 @cms_content_info_from_der(ptr noundef nonnull %17, ptr noundef nonnull %18, ptr noundef nonnull %19, ptr noundef nonnull %15, ptr noundef nonnull %16)
  %.not = icmp eq i32 %25, 1
  br i1 %.not, label %26, label %.sink.split

26:                                               ; preds = %14
  %27 = load i32, ptr %17, align 4, !tbaa !11
  %28 = icmp eq i32 %27, 120
  %29 = zext i1 %28 to i32
  %30 = call i32 @asn1_check(i32 noundef %29) #5
  %.not15 = icmp eq i32 %30, 1
  br i1 %.not15, label %31, label %.sink.split

31:                                               ; preds = %26
  %32 = load ptr, ptr %18, align 8, !tbaa !5
  %33 = icmp ne ptr %32, null
  %34 = load i64, ptr %19, align 8
  %35 = icmp ne i64 %34, 0
  %36 = select i1 %33, i1 %35, i1 false
  %37 = zext i1 %36 to i32
  %38 = call i32 @asn1_check(i32 noundef %37) #5
  %.not16 = icmp eq i32 %38, 1
  br i1 %.not16, label %39, label %.sink.split

39:                                               ; preds = %31
  %40 = load i64, ptr %16, align 8, !tbaa !9
  %41 = call i32 @asn1_length_is_zero(i64 noundef %40) #5
  %.not17 = icmp eq i32 %41, 1
  br i1 %.not17, label %42, label %.sink.split

42:                                               ; preds = %39
  %43 = call i32 @x509_cert_get_issuer_and_serial_number(ptr noundef %3, i64 noundef %4, ptr noundef nonnull %20, ptr noundef nonnull %21, ptr noundef nonnull %22, ptr noundef nonnull %23) #5
  %.not18 = icmp eq i32 %43, 1
  br i1 %.not18, label %44, label %.sink.split

44:                                               ; preds = %42
  %45 = call i32 @x509_cert_get_subject_public_key(ptr noundef %3, i64 noundef %4, ptr noundef nonnull %24) #5
  %.not19 = icmp eq i32 %45, 1
  br i1 %.not19, label %46, label %.sink.split

46:                                               ; preds = %44
  %bcmp = call i32 @bcmp(ptr noundef nonnull dereferenceable(64) %24, ptr noundef nonnull dereferenceable(64) %2, i64 64)
  %.not20 = icmp eq i32 %bcmp, 0
  br i1 %.not20, label %47, label %.sink.split

47:                                               ; preds = %46
  %48 = load ptr, ptr %20, align 8, !tbaa !5
  %49 = load i64, ptr %21, align 8, !tbaa !9
  %50 = load ptr, ptr %22, align 8, !tbaa !5
  %51 = load i64, ptr %23, align 8, !tbaa !9
  %52 = call i32 @cms_enveloped_data_decrypt_from_der(ptr noundef %2, ptr noundef %48, i64 noundef %49, ptr noundef %50, i64 noundef %51, ptr noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10, ptr noundef %11, ptr noundef %12, ptr noundef %13, ptr noundef nonnull %18, ptr noundef nonnull %19)
  %.not21 = icmp eq i32 %52, 1
  br i1 %.not21, label %53, label %.sink.split

53:                                               ; preds = %47
  %54 = load i64, ptr %19, align 8, !tbaa !9
  %55 = call i32 @asn1_length_is_zero(i64 noundef %54) #5
  %.not22 = icmp eq i32 %55, 1
  br i1 %.not22, label %58, label %.sink.split

.sink.split:                                      ; preds = %53, %47, %46, %44, %42, %39, %31, %26, %14
  %.sink23 = phi i32 [ 2274, %14 ], [ 2274, %26 ], [ 2274, %31 ], [ 2274, %39 ], [ 2282, %42 ], [ 2282, %44 ], [ 2286, %46 ], [ 2298, %47 ], [ 2298, %53 ]
  %56 = load ptr, ptr @stderr, align 8, !tbaa !5
  %57 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %56, ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, i32 noundef %.sink23, ptr noundef nonnull @__FUNCTION__.cms_deenvelop) #6
  br label %58

58:                                               ; preds = %.sink.split, %53
  %.0 = phi i32 [ 1, %53 ], [ -1, %.sink.split ]
  call void @llvm.lifetime.end.p0(i64 128, ptr nonnull %24) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %23) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %22) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %21) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %20) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %17) #5
  ret i32 %.0
}

; Function Attrs: nofree nounwind willreturn memory(argmem: read)
declare i32 @bcmp(ptr nocapture, ptr nocapture, i64) local_unnamed_addr #4

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #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 = { "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 = { nofree nounwind willreturn memory(argmem: read) }
attributes #5 = { nounwind }
attributes #6 = { 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"}
!9 = !{!10, !10, i64 0}
!10 = !{!"long", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}


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