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

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

@stderr = external global ptr, align 8
@.str = external hidden unnamed_addr constant [13 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [59 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [13 x i8], align 1
@__FUNCTION__.tls13_certificate_print = external hidden unnamed_addr constant [24 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [12 x i8], align 1

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

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

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

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

declare i32 @format_print(ptr noundef, i32 noundef, i32 noundef, ptr noundef, ...) #2

declare i32 @tls13_extensions_print(ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, i64 noundef) #2

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

; Function Attrs: nounwind uwtable
define dso_local i32 @tls13_certificate_print(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, i64 noundef %4) #3 {
  %6 = alloca i32, align 4
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca ptr, align 8
  %11 = alloca i64, align 8
  %12 = alloca ptr, align 8
  %13 = alloca i64, align 8
  %14 = alloca i32, align 4
  %15 = alloca ptr, align 8
  %16 = alloca i64, align 8
  %17 = alloca ptr, align 8
  %18 = alloca i64, align 8
  store ptr %0, ptr %7, align 8, !tbaa !5
  store i32 %1, ptr %8, align 4, !tbaa !9
  store i32 %2, ptr %9, align 4, !tbaa !9
  store ptr %3, ptr %10, align 8, !tbaa !5
  store i64 %4, ptr %11, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #4
  %19 = load ptr, ptr %7, align 8, !tbaa !5
  %20 = load i32, ptr %8, align 4, !tbaa !9
  %21 = load i32, ptr %9, align 4, !tbaa !9
  %22 = call i32 (ptr, i32, i32, ptr, ...) @format_print(ptr noundef %19, i32 noundef %20, i32 noundef %21, ptr noundef @.str.5)
  %23 = load i32, ptr %9, align 4, !tbaa !9
  %24 = add nsw i32 %23, 4
  store i32 %24, ptr %9, align 4, !tbaa !9
  %25 = call i32 @tls_uint8array_from_bytes(ptr noundef %12, ptr noundef %13, ptr noundef %10, ptr noundef %11)
  %26 = icmp ne i32 %25, 1
  br i1 %26, label %27, label %33

27:                                               ; preds = %5
  br label %28

28:                                               ; preds = %27
  %29 = load ptr, ptr @stderr, align 8, !tbaa !5
  %30 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %29, ptr noundef @.str, ptr noundef @.str.1, i32 noundef 1049, ptr noundef @__FUNCTION__.tls13_certificate_print) #4
  br label %31

31:                                               ; preds = %28
  br label %32

32:                                               ; preds = %31
  store i32 -1, ptr %6, align 4
  store i32 1, ptr %14, align 4
  br label %106

33:                                               ; preds = %5
  %34 = load ptr, ptr %7, align 8, !tbaa !5
  %35 = load i32, ptr %8, align 4, !tbaa !9
  %36 = load i32, ptr %9, align 4, !tbaa !9
  %37 = load ptr, ptr %12, align 8, !tbaa !5
  %38 = load i64, ptr %13, align 8, !tbaa !11
  %39 = call i32 @format_bytes(ptr noundef %34, i32 noundef %35, i32 noundef %36, ptr noundef @.str.6, ptr noundef %37, i64 noundef %38)
  %40 = load ptr, ptr %7, align 8, !tbaa !5
  %41 = load i32, ptr %8, align 4, !tbaa !9
  %42 = load i32, ptr %9, align 4, !tbaa !9
  %43 = call i32 (ptr, i32, i32, ptr, ...) @format_print(ptr noundef %40, i32 noundef %41, i32 noundef %42, ptr noundef @.str.7)
  %44 = load i32, ptr %9, align 4, !tbaa !9
  %45 = add nsw i32 %44, 4
  store i32 %45, ptr %9, align 4, !tbaa !9
  %46 = call i32 @tls_uint24array_from_bytes(ptr noundef %12, ptr noundef %13, ptr noundef %10, ptr noundef %11)
  %47 = icmp ne i32 %46, 1
  br i1 %47, label %48, label %54

48:                                               ; preds = %33
  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 1057, ptr noundef @__FUNCTION__.tls13_certificate_print) #4
  br label %52

52:                                               ; preds = %49
  br label %53

53:                                               ; preds = %52
  store i32 -1, ptr %6, align 4
  store i32 1, ptr %14, align 4
  br label %106

54:                                               ; preds = %33
  br label %55

55:                                               ; preds = %104, %54
  %56 = load i64, ptr %13, align 8, !tbaa !11
  %57 = icmp ne i64 %56, 0
  br i1 %57, label %58, label %105

58:                                               ; preds = %55
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #4
  %59 = call i32 @tls_uint24array_from_bytes(ptr noundef %15, ptr noundef %16, ptr noundef %12, ptr noundef %13)
  %60 = icmp ne i32 %59, 1
  br i1 %60, label %64, label %61

61:                                               ; preds = %58
  %62 = call i32 @tls_uint16array_from_bytes(ptr noundef %17, ptr noundef %18, ptr noundef %12, ptr noundef %13)
  %63 = icmp ne i32 %62, 1
  br i1 %63, label %64, label %70

64:                                               ; preds = %61, %58
  br label %65

65:                                               ; preds = %64
  %66 = load ptr, ptr @stderr, align 8, !tbaa !5
  %67 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %66, ptr noundef @.str, ptr noundef @.str.1, i32 noundef 1068, ptr noundef @__FUNCTION__.tls13_certificate_print) #4
  br label %68

68:                                               ; preds = %65
  br label %69

69:                                               ; preds = %68
  store i32 -1, ptr %6, align 4
  store i32 1, ptr %14, align 4
  br label %102

70:                                               ; preds = %61
  %71 = load ptr, ptr %15, align 8, !tbaa !5
  %72 = icmp ne ptr %71, null
  br i1 %72, label %79, label %73

73:                                               ; preds = %70
  br label %74

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

77:                                               ; preds = %74
  br label %78

78:                                               ; preds = %77
  store i32 -1, ptr %6, align 4
  store i32 1, ptr %14, align 4
  br label %102

79:                                               ; preds = %70
  %80 = load ptr, ptr %7, align 8, !tbaa !5
  %81 = load i32, ptr %8, align 4, !tbaa !9
  %82 = load i32, ptr %9, align 4, !tbaa !9
  %83 = call i32 (ptr, i32, i32, ptr, ...) @format_print(ptr noundef %80, i32 noundef %81, i32 noundef %82, ptr noundef @.str.8)
  %84 = load ptr, ptr %7, align 8, !tbaa !5
  %85 = load i32, ptr %8, align 4, !tbaa !9
  %86 = load i32, ptr %9, align 4, !tbaa !9
  %87 = add nsw i32 %86, 4
  %88 = load ptr, ptr %15, align 8, !tbaa !5
  %89 = load i64, ptr %16, align 8, !tbaa !11
  %90 = call i32 @x509_cert_print(ptr noundef %84, i32 noundef %85, i32 noundef %87, ptr noundef @.str.9, ptr noundef %88, i64 noundef %89)
  %91 = load ptr, ptr %15, align 8, !tbaa !5
  %92 = load i64, ptr %16, align 8, !tbaa !11
  %93 = load ptr, ptr %7, align 8, !tbaa !5
  %94 = call i32 @x509_cert_to_pem(ptr noundef %91, i64 noundef %92, ptr noundef %93)
  %95 = load ptr, ptr %7, align 8, !tbaa !5
  %96 = load i32, ptr %8, align 4, !tbaa !9
  %97 = load i32, ptr %9, align 4, !tbaa !9
  %98 = add nsw i32 %97, 4
  %99 = load ptr, ptr %17, align 8, !tbaa !5
  %100 = load i64, ptr %18, align 8, !tbaa !11
  %101 = call i32 @tls13_extensions_print(ptr noundef %95, i32 noundef %96, i32 noundef %98, i32 noundef 11, ptr noundef %99, i64 noundef %100)
  store i32 0, ptr %14, align 4
  br label %102

102:                                              ; preds = %79, %78, %69
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #4
  %103 = load i32, ptr %14, align 4
  switch i32 %103, label %106 [
    i32 0, label %104
  ]

104:                                              ; preds = %102
  br label %55, !llvm.loop !13

105:                                              ; preds = %55
  store i32 1, ptr %6, align 4
  store i32 1, ptr %14, align 4
  br label %106

106:                                              ; preds = %105, %102, %53, %32
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #4
  %107 = load i32, ptr %6, align 4
  ret i32 %107
}

declare i32 @format_bytes(ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, i64 noundef) #2

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

declare i32 @x509_cert_print(ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, i64 noundef) #2

declare i32 @x509_cert_to_pem(ptr noundef, i64 noundef, ptr noundef) #2

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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 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"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"long", !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"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"

@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 [59 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [13 x i8], align 1
@__FUNCTION__.tls13_certificate_print = external hidden unnamed_addr constant [24 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [12 x i8], align 1

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

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

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

declare i32 @tls_uint16array_from_bytes(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2

declare i32 @format_print(ptr noundef, i32 noundef, i32 noundef, ptr noundef, ...) local_unnamed_addr #2

declare i32 @tls13_extensions_print(ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, i64 noundef) local_unnamed_addr #2

declare i32 @tls_uint8array_from_bytes(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2

; Function Attrs: nounwind uwtable
define dso_local noundef i32 @tls13_certificate_print(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, i64 noundef %4) local_unnamed_addr #3 {
  %6 = alloca ptr, align 8
  %7 = alloca i64, align 8
  %8 = alloca ptr, align 8
  %9 = alloca i64, align 8
  %10 = alloca ptr, align 8
  %11 = alloca i64, align 8
  %12 = alloca ptr, align 8
  %13 = alloca i64, align 8
  store ptr %3, ptr %6, align 8, !tbaa !5
  store i64 %4, ptr %7, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #4
  %14 = tail call i32 (ptr, i32, i32, ptr, ...) @format_print(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef nonnull @.str.5) #4
  %15 = call i32 @tls_uint8array_from_bytes(ptr noundef nonnull %8, ptr noundef nonnull %9, ptr noundef nonnull %6, ptr noundef nonnull %7) #4
  %.not = icmp eq i32 %15, 1
  br i1 %.not, label %19, label %16

16:                                               ; preds = %5
  %17 = load ptr, ptr @stderr, align 8, !tbaa !5
  %18 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %17, ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, i32 noundef 1049, ptr noundef nonnull @__FUNCTION__.tls13_certificate_print) #5
  br label %.loopexit

19:                                               ; preds = %5
  %20 = add nsw i32 %2, 4
  %21 = load ptr, ptr %8, align 8, !tbaa !5
  %22 = load i64, ptr %9, align 8, !tbaa !9
  %23 = call i32 @format_bytes(ptr noundef %0, i32 noundef %1, i32 noundef %20, ptr noundef nonnull @.str.6, ptr noundef %21, i64 noundef %22) #4
  %24 = call i32 (ptr, i32, i32, ptr, ...) @format_print(ptr noundef %0, i32 noundef %1, i32 noundef %20, ptr noundef nonnull @.str.7) #4
  %25 = add nsw i32 %2, 8
  %26 = call i32 @tls_uint24array_from_bytes(ptr noundef nonnull %8, ptr noundef nonnull %9, ptr noundef nonnull %6, ptr noundef nonnull %7) #4
  %.not23 = icmp eq i32 %26, 1
  br i1 %.not23, label %.preheader, label %29

.preheader:                                       ; preds = %19
  %27 = load i64, ptr %9, align 8, !tbaa !9
  %.not2428 = icmp eq i64 %27, 0
  br i1 %.not2428, label %.loopexit, label %.lr.ph

.lr.ph:                                           ; preds = %.preheader
  %28 = add nsw i32 %2, 12
  br label %32

29:                                               ; preds = %19
  %30 = load ptr, ptr @stderr, align 8, !tbaa !5
  %31 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %30, ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, i32 noundef 1057, ptr noundef nonnull @__FUNCTION__.tls13_certificate_print) #5
  br label %.loopexit

32:                                               ; preds = %.lr.ph, %38
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #4
  %33 = call i32 @tls_uint24array_from_bytes(ptr noundef nonnull %10, ptr noundef nonnull %11, ptr noundef nonnull %8, ptr noundef nonnull %9) #4
  %.not25 = icmp eq i32 %33, 1
  br i1 %.not25, label %34, label %.critedge

34:                                               ; preds = %32
  %35 = call i32 @tls_uint16array_from_bytes(ptr noundef nonnull %12, ptr noundef nonnull %13, ptr noundef nonnull %8, ptr noundef nonnull %9) #4
  %.not26 = icmp eq i32 %35, 1
  br i1 %.not26, label %36, label %.critedge

36:                                               ; preds = %34
  %37 = load ptr, ptr %10, align 8, !tbaa !5
  %.not27 = icmp eq ptr %37, null
  br i1 %.not27, label %.critedge, label %38

38:                                               ; preds = %36
  %39 = call i32 (ptr, i32, i32, ptr, ...) @format_print(ptr noundef %0, i32 noundef %1, i32 noundef %25, ptr noundef nonnull @.str.8) #4
  %40 = load ptr, ptr %10, align 8, !tbaa !5
  %41 = load i64, ptr %11, align 8, !tbaa !9
  %42 = call i32 @x509_cert_print(ptr noundef %0, i32 noundef %1, i32 noundef %28, ptr noundef nonnull @.str.9, ptr noundef %40, i64 noundef %41) #4
  %43 = load ptr, ptr %10, align 8, !tbaa !5
  %44 = load i64, ptr %11, align 8, !tbaa !9
  %45 = call i32 @x509_cert_to_pem(ptr noundef %43, i64 noundef %44, ptr noundef %0) #4
  %46 = load ptr, ptr %12, align 8, !tbaa !5
  %47 = load i64, ptr %13, align 8, !tbaa !9
  %48 = call i32 @tls13_extensions_print(ptr noundef %0, i32 noundef %1, i32 noundef %28, i32 noundef 11, ptr noundef %46, i64 noundef %47) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #4
  %49 = load i64, ptr %9, align 8, !tbaa !9
  %.not24 = icmp eq i64 %49, 0
  br i1 %.not24, label %.loopexit, label %32, !llvm.loop !11

.critedge:                                        ; preds = %36, %34, %32
  %.sink29 = phi i32 [ 1068, %32 ], [ 1068, %34 ], [ 1072, %36 ]
  %50 = load ptr, ptr @stderr, align 8, !tbaa !5
  %51 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %50, ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, i32 noundef %.sink29, ptr noundef nonnull @__FUNCTION__.tls13_certificate_print) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #4
  br label %.loopexit

.loopexit:                                        ; preds = %38, %.preheader, %.critedge, %29, %16
  %.2 = phi i32 [ -1, %16 ], [ -1, %29 ], [ -1, %.critedge ], [ 1, %.preheader ], [ 1, %38 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #4
  ret i32 %.2
}

declare i32 @format_bytes(ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #2

declare i32 @tls_uint24array_from_bytes(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2

declare i32 @x509_cert_print(ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #2

declare i32 @x509_cert_to_pem(ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #2

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 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 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"}
!9 = !{!10, !10, i64 0}
!10 = !{!"long", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass