; LLVM IR from openssl/openssl :: crypto/ct (ct_sct)

; 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.sct_st = type { i32, ptr, i64, ptr, i64, i64, ptr, i64, i8, i8, ptr, i64, i32, i32, i32 }
%struct.ct_policy_eval_ctx_st = type { ptr, ptr, ptr, i64, ptr, ptr }

; 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 i32 @SCT_get_log_entry_type(ptr noundef) #1

; Function Attrs: nounwind uwtable
define dso_local i32 @SCT_validate(ptr noundef %0, ptr noundef %1) #1 {
  %3 = alloca i32, align 4
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca i32, align 4
  %12 = alloca ptr, align 8
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #3
  store i32 -1, ptr %6, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #3
  store ptr null, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #3
  store ptr null, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #3
  store ptr null, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #3
  %13 = load ptr, ptr %4, align 8, !tbaa !5
  %14 = getelementptr inbounds %struct.sct_st, ptr %13, i32 0, i32 0
  %15 = load i32, ptr %14, align 8, !tbaa !11
  %16 = icmp ne i32 %15, 0
  br i1 %16, label %17, label %20

17:                                               ; preds = %2
  %18 = load ptr, ptr %4, align 8, !tbaa !5
  %19 = getelementptr inbounds %struct.sct_st, ptr %18, i32 0, i32 14
  store i32 5, ptr %19, align 8, !tbaa !14
  store i32 0, ptr %3, align 4
  store i32 1, ptr %11, align 4
  br label %125

20:                                               ; preds = %2
  %21 = load ptr, ptr %5, align 8, !tbaa !5
  %22 = getelementptr inbounds %struct.ct_policy_eval_ctx_st, ptr %21, i32 0, i32 2
  %23 = load ptr, ptr %22, align 8, !tbaa !15
  %24 = load ptr, ptr %4, align 8, !tbaa !5
  %25 = getelementptr inbounds %struct.sct_st, ptr %24, i32 0, i32 3
  %26 = load ptr, ptr %25, align 8, !tbaa !17
  %27 = load ptr, ptr %4, align 8, !tbaa !5
  %28 = getelementptr inbounds %struct.sct_st, ptr %27, i32 0, i32 4
  %29 = load i64, ptr %28, align 8, !tbaa !18
  %30 = call ptr @CTLOG_STORE_get0_log_by_id(ptr noundef %23, ptr noundef %26, i64 noundef %29)
  store ptr %30, ptr %10, align 8, !tbaa !5
  %31 = load ptr, ptr %10, align 8, !tbaa !5
  %32 = icmp eq ptr %31, null
  br i1 %32, label %33, label %36

33:                                               ; preds = %20
  %34 = load ptr, ptr %4, align 8, !tbaa !5
  %35 = getelementptr inbounds %struct.sct_st, ptr %34, i32 0, i32 14
  store i32 1, ptr %35, align 8, !tbaa !14
  store i32 0, ptr %3, align 4
  store i32 1, ptr %11, align 4
  br label %125

36:                                               ; preds = %20
  %37 = load ptr, ptr %5, align 8, !tbaa !5
  %38 = getelementptr inbounds %struct.ct_policy_eval_ctx_st, ptr %37, i32 0, i32 4
  %39 = load ptr, ptr %38, align 8, !tbaa !19
  %40 = load ptr, ptr %5, align 8, !tbaa !5
  %41 = getelementptr inbounds %struct.ct_policy_eval_ctx_st, ptr %40, i32 0, i32 5
  %42 = load ptr, ptr %41, align 8, !tbaa !20
  %43 = call ptr @SCT_CTX_new(ptr noundef %39, ptr noundef %42)
  store ptr %43, ptr %7, align 8, !tbaa !5
  %44 = load ptr, ptr %7, align 8, !tbaa !5
  %45 = icmp eq ptr %44, null
  br i1 %45, label %46, label %47

46:                                               ; preds = %36
  br label %120

47:                                               ; preds = %36
  %48 = load ptr, ptr %10, align 8, !tbaa !5
  %49 = call ptr @CTLOG_get0_public_key(ptr noundef %48)
  %50 = call i32 @X509_PUBKEY_set(ptr noundef %9, ptr noundef %49)
  %51 = icmp ne i32 %50, 1
  br i1 %51, label %52, label %53

52:                                               ; preds = %47
  br label %120

53:                                               ; preds = %47
  %54 = load ptr, ptr %7, align 8, !tbaa !5
  %55 = load ptr, ptr %9, align 8, !tbaa !5
  %56 = call i32 @SCT_CTX_set1_pubkey(ptr noundef %54, ptr noundef %55)
  %57 = icmp ne i32 %56, 1
  br i1 %57, label %58, label %59

58:                                               ; preds = %53
  br label %120

59:                                               ; preds = %53
  %60 = load ptr, ptr %4, align 8, !tbaa !5
  %61 = call i32 @SCT_get_log_entry_type(ptr noundef %60)
  %62 = icmp eq i32 %61, 1
  br i1 %62, label %63, label %90

63:                                               ; preds = %59
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #3
  %64 = load ptr, ptr %5, align 8, !tbaa !5
  %65 = getelementptr inbounds %struct.ct_policy_eval_ctx_st, ptr %64, i32 0, i32 1
  %66 = load ptr, ptr %65, align 8, !tbaa !21
  %67 = icmp eq ptr %66, null
  br i1 %67, label %68, label %71

68:                                               ; preds = %63
  %69 = load ptr, ptr %4, align 8, !tbaa !5
  %70 = getelementptr inbounds %struct.sct_st, ptr %69, i32 0, i32 14
  store i32 4, ptr %70, align 8, !tbaa !14
  store i32 3, ptr %11, align 4
  br label %87

71:                                               ; preds = %63
  %72 = load ptr, ptr %5, align 8, !tbaa !5
  %73 = getelementptr inbounds %struct.ct_policy_eval_ctx_st, ptr %72, i32 0, i32 1
  %74 = load ptr, ptr %73, align 8, !tbaa !21
  %75 = call ptr @X509_get0_pubkey(ptr noundef %74)
  store ptr %75, ptr %12, align 8, !tbaa !5
  %76 = load ptr, ptr %12, align 8, !tbaa !5
  %77 = call i32 @X509_PUBKEY_set(ptr noundef %8, ptr noundef %76)
  %78 = icmp ne i32 %77, 1
  br i1 %78, label %79, label %80

79:                                               ; preds = %71
  store i32 2, ptr %11, align 4
  br label %87

80:                                               ; preds = %71
  %81 = load ptr, ptr %7, align 8, !tbaa !5
  %82 = load ptr, ptr %8, align 8, !tbaa !5
  %83 = call i32 @SCT_CTX_set1_issuer_pubkey(ptr noundef %81, ptr noundef %82)
  %84 = icmp ne i32 %83, 1
  br i1 %84, label %85, label %86

85:                                               ; preds = %80
  store i32 2, ptr %11, align 4
  br label %87

86:                                               ; preds = %80
  store i32 0, ptr %11, align 4
  br label %87

87:                                               ; preds = %86, %85, %79, %68
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #3
  %88 = load i32, ptr %11, align 4
  switch i32 %88, label %125 [
    i32 0, label %89
    i32 3, label %114
    i32 2, label %120
  ]

89:                                               ; preds = %87
  br label %90

90:                                               ; preds = %89, %59
  %91 = load ptr, ptr %7, align 8, !tbaa !5
  %92 = load ptr, ptr %5, align 8, !tbaa !5
  %93 = getelementptr inbounds %struct.ct_policy_eval_ctx_st, ptr %92, i32 0, i32 3
  %94 = load i64, ptr %93, align 8, !tbaa !22
  call void @SCT_CTX_set_time(ptr noundef %91, i64 noundef %94)
  %95 = load ptr, ptr %7, align 8, !tbaa !5
  %96 = load ptr, ptr %5, align 8, !tbaa !5
  %97 = getelementptr inbounds %struct.ct_policy_eval_ctx_st, ptr %96, i32 0, i32 0
  %98 = load ptr, ptr %97, align 8, !tbaa !23
  %99 = call i32 @SCT_CTX_set1_cert(ptr noundef %95, ptr noundef %98, ptr noundef null)
  %100 = icmp ne i32 %99, 1
  br i1 %100, label %101, label %104

101:                                              ; preds = %90
  %102 = load ptr, ptr %4, align 8, !tbaa !5
  %103 = getelementptr inbounds %struct.sct_st, ptr %102, i32 0, i32 14
  store i32 4, ptr %103, align 8, !tbaa !14
  br label %113

104:                                              ; preds = %90
  %105 = load ptr, ptr %7, align 8, !tbaa !5
  %106 = load ptr, ptr %4, align 8, !tbaa !5
  %107 = call i32 @SCT_CTX_verify(ptr noundef %105, ptr noundef %106)
  %108 = icmp eq i32 %107, 1
  %109 = zext i1 %108 to i64
  %110 = select i1 %108, i32 2, i32 3
  %111 = load ptr, ptr %4, align 8, !tbaa !5
  %112 = getelementptr inbounds %struct.sct_st, ptr %111, i32 0, i32 14
  store i32 %110, ptr %112, align 8, !tbaa !14
  br label %113

113:                                              ; preds = %104, %101
  br label %114

114:                                              ; preds = %113, %87
  %115 = load ptr, ptr %4, align 8, !tbaa !5
  %116 = getelementptr inbounds %struct.sct_st, ptr %115, i32 0, i32 14
  %117 = load i32, ptr %116, align 8, !tbaa !14
  %118 = icmp eq i32 %117, 2
  %119 = zext i1 %118 to i32
  store i32 %119, ptr %6, align 4, !tbaa !9
  br label %120

120:                                              ; preds = %114, %87, %58, %52, %46
  %121 = load ptr, ptr %8, align 8, !tbaa !5
  call void @X509_PUBKEY_free(ptr noundef %121)
  %122 = load ptr, ptr %9, align 8, !tbaa !5
  call void @X509_PUBKEY_free(ptr noundef %122)
  %123 = load ptr, ptr %7, align 8, !tbaa !5
  call void @SCT_CTX_free(ptr noundef %123)
  %124 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %124, ptr %3, align 4
  store i32 1, ptr %11, align 4
  br label %125

125:                                              ; preds = %120, %87, %33, %17
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #3
  %126 = load i32, ptr %3, align 4
  ret i32 %126
}

declare ptr @CTLOG_STORE_get0_log_by_id(ptr noundef, ptr noundef, i64 noundef) #2

declare ptr @SCT_CTX_new(ptr noundef, ptr noundef) #2

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

declare ptr @CTLOG_get0_public_key(ptr noundef) #2

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

declare ptr @X509_get0_pubkey(ptr noundef) #2

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

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

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

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

declare void @X509_PUBKEY_free(ptr noundef) #2

declare void @SCT_CTX_free(ptr 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, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !10, i64 0}
!12 = !{!"sct_st", !10, i64 0, !6, i64 8, !13, i64 16, !6, i64 24, !13, i64 32, !13, i64 40, !6, i64 48, !13, i64 56, !7, i64 64, !7, i64 65, !6, i64 72, !13, i64 80, !10, i64 88, !10, i64 92, !10, i64 96}
!13 = !{!"long", !7, i64 0}
!14 = !{!12, !10, i64 96}
!15 = !{!16, !6, i64 16}
!16 = !{!"ct_policy_eval_ctx_st", !6, i64 0, !6, i64 8, !6, i64 16, !13, i64 24, !6, i64 32, !6, i64 40}
!17 = !{!12, !6, i64 24}
!18 = !{!12, !13, i64 32}
!19 = !{!16, !6, i64 32}
!20 = !{!16, !6, i64 40}
!21 = !{!16, !6, i64 8}
!22 = !{!16, !13, i64 24}
!23 = !{!16, !6, 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"

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

; 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 @SCT_get_log_entry_type(ptr noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
define dso_local i32 @SCT_validate(ptr noundef %0, ptr nocapture noundef readonly %1) local_unnamed_addr #1 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3
  store ptr null, ptr %3, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3
  store ptr null, ptr %4, align 8, !tbaa !5
  %5 = load i32, ptr %0, align 8, !tbaa !9
  %.not = icmp eq i32 %5, 0
  br i1 %.not, label %8, label %6

6:                                                ; preds = %2
  %7 = getelementptr inbounds i8, ptr %0, i64 96
  store i32 5, ptr %7, align 8, !tbaa !13
  br label %61

8:                                                ; preds = %2
  %9 = getelementptr inbounds i8, ptr %1, i64 16
  %10 = load ptr, ptr %9, align 8, !tbaa !14
  %11 = getelementptr inbounds i8, ptr %0, i64 24
  %12 = load ptr, ptr %11, align 8, !tbaa !16
  %13 = getelementptr inbounds i8, ptr %0, i64 32
  %14 = load i64, ptr %13, align 8, !tbaa !17
  %15 = tail call ptr @CTLOG_STORE_get0_log_by_id(ptr noundef %10, ptr noundef %12, i64 noundef %14) #3
  %16 = icmp eq ptr %15, null
  br i1 %16, label %17, label %19

17:                                               ; preds = %8
  %18 = getelementptr inbounds i8, ptr %0, i64 96
  store i32 1, ptr %18, align 8, !tbaa !13
  br label %61

19:                                               ; preds = %8
  %20 = getelementptr inbounds i8, ptr %1, i64 32
  %21 = load ptr, ptr %20, align 8, !tbaa !18
  %22 = getelementptr inbounds i8, ptr %1, i64 40
  %23 = load ptr, ptr %22, align 8, !tbaa !19
  %24 = tail call ptr @SCT_CTX_new(ptr noundef %21, ptr noundef %23) #3
  %25 = icmp eq ptr %24, null
  br i1 %25, label %.thread, label %26

26:                                               ; preds = %19
  %27 = tail call ptr @CTLOG_get0_public_key(ptr noundef nonnull %15) #3
  %28 = call i32 @X509_PUBKEY_set(ptr noundef nonnull %4, ptr noundef %27) #3
  %.not35 = icmp eq i32 %28, 1
  br i1 %.not35, label %29, label %.thread

29:                                               ; preds = %26
  %30 = load ptr, ptr %4, align 8, !tbaa !5
  %31 = call i32 @SCT_CTX_set1_pubkey(ptr noundef nonnull %24, ptr noundef %30) #3
  %.not36 = icmp eq i32 %31, 1
  br i1 %.not36, label %32, label %.thread

32:                                               ; preds = %29
  %33 = call i32 @SCT_get_log_entry_type(ptr noundef nonnull %0)
  %34 = icmp eq i32 %33, 1
  br i1 %34, label %35, label %.thread41

35:                                               ; preds = %32
  %36 = getelementptr inbounds i8, ptr %1, i64 8
  %37 = load ptr, ptr %36, align 8, !tbaa !20
  %38 = icmp eq ptr %37, null
  br i1 %38, label %45, label %39

39:                                               ; preds = %35
  %40 = call ptr @X509_get0_pubkey(ptr noundef nonnull %37) #3
  %41 = call i32 @X509_PUBKEY_set(ptr noundef nonnull %3, ptr noundef %40) #3
  %.not37 = icmp eq i32 %41, 1
  br i1 %.not37, label %42, label %.thread

42:                                               ; preds = %39
  %43 = load ptr, ptr %3, align 8, !tbaa !5
  %44 = call i32 @SCT_CTX_set1_issuer_pubkey(ptr noundef nonnull %24, ptr noundef %43) #3
  %.not38 = icmp eq i32 %44, 1
  br i1 %.not38, label %.thread41, label %.thread

45:                                               ; preds = %35
  %46 = getelementptr inbounds i8, ptr %0, i64 96
  store i32 4, ptr %46, align 8, !tbaa !13
  br label %.thread

.thread41:                                        ; preds = %42, %32
  %47 = getelementptr inbounds i8, ptr %1, i64 24
  %48 = load i64, ptr %47, align 8, !tbaa !21
  call void @SCT_CTX_set_time(ptr noundef nonnull %24, i64 noundef %48) #3
  %49 = load ptr, ptr %1, align 8, !tbaa !22
  %50 = call i32 @SCT_CTX_set1_cert(ptr noundef nonnull %24, ptr noundef %49, ptr noundef null) #3
  %.not39 = icmp eq i32 %50, 1
  br i1 %.not39, label %53, label %51

51:                                               ; preds = %.thread41
  %52 = getelementptr inbounds i8, ptr %0, i64 96
  store i32 4, ptr %52, align 8, !tbaa !13
  br label %.thread

53:                                               ; preds = %.thread41
  %54 = call i32 @SCT_CTX_verify(ptr noundef nonnull %24, ptr noundef nonnull %0) #3
  %55 = icmp eq i32 %54, 1
  %56 = select i1 %55, i32 2, i32 3
  %57 = getelementptr inbounds i8, ptr %0, i64 96
  store i32 %56, ptr %57, align 8, !tbaa !13
  %58 = zext i1 %55 to i32
  br label %.thread

.thread:                                          ; preds = %53, %51, %45, %42, %39, %29, %26, %19
  %.031 = phi i32 [ -1, %19 ], [ -1, %26 ], [ -1, %29 ], [ -1, %39 ], [ -1, %42 ], [ 0, %45 ], [ 0, %51 ], [ %58, %53 ]
  %59 = load ptr, ptr %3, align 8, !tbaa !5
  call void @X509_PUBKEY_free(ptr noundef %59) #3
  %60 = load ptr, ptr %4, align 8, !tbaa !5
  call void @X509_PUBKEY_free(ptr noundef %60) #3
  call void @SCT_CTX_free(ptr noundef %24) #3
  br label %61

61:                                               ; preds = %.thread, %17, %6
  %.0 = phi i32 [ 0, %6 ], [ 0, %17 ], [ %.031, %.thread ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3
  ret i32 %.0
}

declare ptr @CTLOG_STORE_get0_log_by_id(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #2

declare ptr @SCT_CTX_new(ptr noundef, ptr noundef) local_unnamed_addr #2

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

declare ptr @CTLOG_get0_public_key(ptr noundef) local_unnamed_addr #2

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

declare ptr @X509_get0_pubkey(ptr noundef) local_unnamed_addr #2

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

declare void @SCT_CTX_set_time(ptr noundef, i64 noundef) local_unnamed_addr #2

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

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

declare void @X509_PUBKEY_free(ptr noundef) local_unnamed_addr #2

declare void @SCT_CTX_free(ptr noundef) local_unnamed_addr #2

attributes #0 = { mustprogress 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 0}
!10 = !{!"sct_st", !11, i64 0, !6, i64 8, !12, i64 16, !6, i64 24, !12, i64 32, !12, i64 40, !6, i64 48, !12, i64 56, !7, i64 64, !7, i64 65, !6, i64 72, !12, i64 80, !11, i64 88, !11, i64 92, !11, i64 96}
!11 = !{!"int", !7, i64 0}
!12 = !{!"long", !7, i64 0}
!13 = !{!10, !11, i64 96}
!14 = !{!15, !6, i64 16}
!15 = !{!"ct_policy_eval_ctx_st", !6, i64 0, !6, i64 8, !6, i64 16, !12, i64 24, !6, i64 32, !6, i64 40}
!16 = !{!10, !6, i64 24}
!17 = !{!10, !12, i64 32}
!18 = !{!15, !6, i64 32}
!19 = !{!15, !6, i64 40}
!20 = !{!15, !6, i64 8}
!21 = !{!15, !12, i64 24}
!22 = !{!15, !6, i64 0}


; Effective O3 passes: BDCEPass,EarlyCSEPass,GVNPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass