; LLVM IR from guanzhi/GmSSL :: src/sdf (sdf_lib)

; 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.sdf_method_st = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr }
%struct.sdf_vendor_st = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr }
%struct.ECCCipher_st = type <{ [64 x i8], [64 x i8], [32 x i8], i32, [1 x i8], [254 x i8] }>

@sdf_method = external dso_local global ptr, align 8
@sdf_vendor = external dso_local global ptr, align 8
@stderr = external global ptr, align 8
@.str = external hidden unnamed_addr constant [23 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [65 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [14 x i8], align 1
@__FUNCTION__.SDF_InternalDecrypt_ECC = external hidden unnamed_addr constant [24 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

declare ptr @SDF_GetErrorReason(i32 noundef) #2

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

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

declare i32 @SDF_FreeECCCipher(ptr noundef) #2

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

20:                                               ; preds = %6
  %21 = load ptr, ptr @sdf_method, align 8, !tbaa !5
  %22 = getelementptr inbounds %struct.sdf_method_st, ptr %21, i32 0, i32 39
  %23 = load ptr, ptr %22, align 8, !tbaa !11
  %24 = icmp ne ptr %23, null
  br i1 %24, label %28, label %25

25:                                               ; preds = %20, %6
  %26 = load ptr, ptr @stderr, align 8, !tbaa !5
  %27 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %26, ptr noundef @.str, ptr noundef @.str.1, i32 noundef 1117, ptr noundef @__FUNCTION__.SDF_InternalDecrypt_ECC, ptr noundef @.str.3) #4
  store i32 16777218, ptr %7, align 4
  store i32 1, ptr %16, align 4
  br label %111

28:                                               ; preds = %20
  %29 = load ptr, ptr @sdf_vendor, align 8, !tbaa !5
  %30 = icmp ne ptr %29, null
  br i1 %30, label %31, label %47

31:                                               ; preds = %28
  %32 = load ptr, ptr @sdf_vendor, align 8, !tbaa !5
  %33 = getelementptr inbounds %struct.sdf_vendor_st, ptr %32, i32 0, i32 8
  %34 = load ptr, ptr %33, align 8, !tbaa !13
  %35 = icmp ne ptr %34, null
  br i1 %35, label %36, label %47

36:                                               ; preds = %31
  %37 = load ptr, ptr @sdf_vendor, align 8, !tbaa !5
  %38 = getelementptr inbounds %struct.sdf_vendor_st, ptr %37, i32 0, i32 8
  %39 = load ptr, ptr %38, align 8, !tbaa !13
  %40 = load i32, ptr %10, align 4, !tbaa !9
  %41 = call i32 %39(i32 noundef %40)
  store i32 %41, ptr %10, align 4, !tbaa !9
  %42 = icmp ne i32 %41, 0
  br i1 %42, label %46, label %43

43:                                               ; preds = %36
  %44 = load ptr, ptr @stderr, align 8, !tbaa !5
  %45 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %44, ptr noundef @.str, ptr noundef @.str.1, i32 noundef 1123, ptr noundef @__FUNCTION__.SDF_InternalDecrypt_ECC, ptr noundef @.str.6) #4
  store i32 16777225, ptr %7, align 4
  store i32 1, ptr %16, align 4
  br label %111

46:                                               ; preds = %36
  br label %47

47:                                               ; preds = %46, %31, %28
  %48 = load ptr, ptr @sdf_vendor, align 8, !tbaa !5
  %49 = icmp ne ptr %48, null
  br i1 %49, label %50, label %77

50:                                               ; preds = %47
  %51 = load ptr, ptr @sdf_vendor, align 8, !tbaa !5
  %52 = getelementptr inbounds %struct.sdf_vendor_st, ptr %51, i32 0, i32 10
  %53 = load ptr, ptr %52, align 8, !tbaa !15
  %54 = icmp ne ptr %53, null
  br i1 %54, label %55, label %77

55:                                               ; preds = %50
  %56 = load ptr, ptr %11, align 8, !tbaa !5
  %57 = getelementptr inbounds %struct.ECCCipher_st, ptr %56, i32 0, i32 3
  %58 = load i32, ptr %57, align 1, !tbaa !16
  %59 = zext i32 %58 to i64
  %60 = call i32 @SDF_NewECCCipher(ptr noundef %15, i64 noundef %59)
  %61 = icmp ne i32 %60, 0
  br i1 %61, label %62, label %65

62:                                               ; preds = %55
  %63 = load ptr, ptr @stderr, align 8, !tbaa !5
  %64 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %63, ptr noundef @.str, ptr noundef @.str.1, i32 noundef 1130, ptr noundef @__FUNCTION__.SDF_InternalDecrypt_ECC, ptr noundef @.str.7) #4
  store i32 16777217, ptr %7, align 4
  store i32 1, ptr %16, align 4
  br label %111

65:                                               ; preds = %55
  %66 = load ptr, ptr @sdf_vendor, align 8, !tbaa !5
  %67 = getelementptr inbounds %struct.sdf_vendor_st, ptr %66, i32 0, i32 10
  %68 = load ptr, ptr %67, align 8, !tbaa !15
  %69 = load ptr, ptr %11, align 8, !tbaa !5
  %70 = load ptr, ptr %15, align 8, !tbaa !5
  %71 = call i32 %68(ptr noundef %69, ptr noundef %70)
  %72 = icmp ne i32 %71, 0
  br i1 %72, label %76, label %73

73:                                               ; preds = %65
  %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 1135, ptr noundef @__FUNCTION__.SDF_InternalDecrypt_ECC, ptr noundef @.str.7) #4
  store i32 16777217, ptr %14, align 4, !tbaa !9
  br label %95

76:                                               ; preds = %65
  br label %77

77:                                               ; preds = %76, %50, %47
  %78 = load ptr, ptr @sdf_method, align 8, !tbaa !5
  %79 = getelementptr inbounds %struct.sdf_method_st, ptr %78, i32 0, i32 39
  %80 = load ptr, ptr %79, align 8, !tbaa !11
  %81 = load ptr, ptr %8, align 8, !tbaa !5
  %82 = load i32, ptr %9, align 4, !tbaa !9
  %83 = load i32, ptr %10, align 4, !tbaa !9
  %84 = load ptr, ptr %15, align 8, !tbaa !5
  %85 = load ptr, ptr %12, align 8, !tbaa !5
  %86 = load ptr, ptr %13, align 8, !tbaa !5
  %87 = call i32 %80(ptr noundef %81, i32 noundef %82, i32 noundef %83, ptr noundef %84, ptr noundef %85, ptr noundef %86)
  store i32 %87, ptr %14, align 4, !tbaa !9
  %88 = icmp ne i32 %87, 0
  br i1 %88, label %89, label %94

89:                                               ; preds = %77
  %90 = load ptr, ptr @stderr, align 8, !tbaa !5
  %91 = load i32, ptr %14, align 4, !tbaa !9
  %92 = call ptr @SDF_GetErrorReason(i32 noundef %91)
  %93 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %90, ptr noundef @.str, ptr noundef @.str.1, i32 noundef 1148, ptr noundef @__FUNCTION__.SDF_InternalDecrypt_ECC, ptr noundef %92) #4
  br label %95

94:                                               ; preds = %77
  br label %95

95:                                               ; preds = %94, %89, %73
  %96 = load ptr, ptr @sdf_vendor, align 8, !tbaa !5
  %97 = icmp ne ptr %96, null
  br i1 %97, label %98, label %109

98:                                               ; preds = %95
  %99 = load ptr, ptr @sdf_vendor, align 8, !tbaa !5
  %100 = getelementptr inbounds %struct.sdf_vendor_st, ptr %99, i32 0, i32 10
  %101 = load ptr, ptr %100, align 8, !tbaa !15
  %102 = icmp ne ptr %101, null
  br i1 %102, label %103, label %109

103:                                              ; preds = %98
  %104 = load ptr, ptr %15, align 8, !tbaa !5
  %105 = icmp ne ptr %104, null
  br i1 %105, label %106, label %109

106:                                              ; preds = %103
  %107 = load ptr, ptr %15, align 8, !tbaa !5
  %108 = call i32 @SDF_FreeECCCipher(ptr noundef %107)
  br label %109

109:                                              ; preds = %106, %103, %98, %95
  %110 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %110, ptr %7, align 4
  store i32 1, ptr %16, align 4
  br label %111

111:                                              ; preds = %109, %62, %43, %25
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #4
  %112 = load i32, ptr %7, align 4
  ret i32 %112
}

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, !6, i64 312}
!12 = !{!"sdf_method_st", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !6, i64 88, !6, i64 96, !6, i64 104, !6, i64 112, !6, i64 120, !6, i64 128, !6, i64 136, !6, i64 144, !6, i64 152, !6, i64 160, !6, i64 168, !6, i64 176, !6, i64 184, !6, i64 192, !6, i64 200, !6, i64 208, !6, i64 216, !6, i64 224, !6, i64 232, !6, i64 240, !6, i64 248, !6, i64 256, !6, i64 264, !6, i64 272, !6, i64 280, !6, i64 288, !6, i64 296, !6, i64 304, !6, i64 312, !6, i64 320, !6, i64 328, !6, i64 336, !6, i64 344, !6, i64 352, !6, i64 360, !6, i64 368, !6, i64 376, !6, i64 384, !6, i64 392}
!13 = !{!14, !6, i64 64}
!14 = !{!"sdf_vendor_st", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !6, i64 88, !6, i64 96}
!15 = !{!14, !6, i64 80}
!16 = !{!17, !10, i64 160}
!17 = !{!"ECCCipher_st", !7, i64 0, !7, i64 64, !7, i64 128, !10, i64 160, !7, i64 164, !7, i64 165}


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

@sdf_method = external dso_local local_unnamed_addr global ptr, align 8
@sdf_vendor = external dso_local local_unnamed_addr global ptr, align 8
@stderr = external local_unnamed_addr global ptr, align 8
@.str = external hidden unnamed_addr constant [23 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [65 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [14 x i8], align 1
@__FUNCTION__.SDF_InternalDecrypt_ECC = external hidden unnamed_addr constant [24 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

declare ptr @SDF_GetErrorReason(i32 noundef) local_unnamed_addr #2

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

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

declare i32 @SDF_FreeECCCipher(ptr noundef) local_unnamed_addr #2

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

9:                                                ; preds = %6
  %10 = getelementptr inbounds i8, ptr %8, i64 312
  %11 = load ptr, ptr %10, align 8, !tbaa !9
  %.not22 = icmp eq ptr %11, null
  br i1 %.not22, label %12, label %15

12:                                               ; preds = %9, %6
  %13 = load ptr, ptr @stderr, align 8, !tbaa !5
  %14 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %13, ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, i32 noundef 1117, ptr noundef nonnull @__FUNCTION__.SDF_InternalDecrypt_ECC, ptr noundef nonnull @.str.3) #5
  br label %64

15:                                               ; preds = %9
  %16 = load ptr, ptr @sdf_vendor, align 8, !tbaa !5
  %.not23 = icmp eq ptr %16, null
  br i1 %.not23, label %.thread, label %17

17:                                               ; preds = %15
  %18 = getelementptr inbounds i8, ptr %16, i64 64
  %19 = load ptr, ptr %18, align 8, !tbaa !11
  %.not24 = icmp eq ptr %19, null
  br i1 %.not24, label %.thread36, label %20

20:                                               ; preds = %17
  %21 = tail call i32 %19(i32 noundef %2) #4
  %.not25 = icmp eq i32 %21, 0
  br i1 %.not25, label %22, label %25

22:                                               ; preds = %20
  %23 = load ptr, ptr @stderr, align 8, !tbaa !5
  %24 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %23, ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, i32 noundef 1123, ptr noundef nonnull @__FUNCTION__.SDF_InternalDecrypt_ECC, ptr noundef nonnull @.str.6) #5
  br label %64

25:                                               ; preds = %20
  %.pr.pre = load ptr, ptr @sdf_vendor, align 8, !tbaa !5
  %.not26 = icmp eq ptr %.pr.pre, null
  br i1 %.not26, label %.thread, label %.thread36

.thread36:                                        ; preds = %17, %25
  %.013.ph41 = phi i32 [ %21, %25 ], [ %2, %17 ]
  %.pr40 = phi ptr [ %.pr.pre, %25 ], [ %16, %17 ]
  %26 = getelementptr inbounds i8, ptr %.pr40, i64 80
  %27 = load ptr, ptr %26, align 8, !tbaa !13
  %.not27 = icmp eq ptr %27, null
  br i1 %.not27, label %.thread, label %28

28:                                               ; preds = %.thread36
  %29 = getelementptr inbounds i8, ptr %3, i64 160
  %30 = load i32, ptr %29, align 1, !tbaa !14
  %31 = zext i32 %30 to i64
  %32 = call i32 @SDF_NewECCCipher(ptr noundef nonnull %7, i64 noundef %31) #4
  %.not28 = icmp eq i32 %32, 0
  br i1 %.not28, label %36, label %33

33:                                               ; preds = %28
  %34 = load ptr, ptr @stderr, align 8, !tbaa !5
  %35 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %34, ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, i32 noundef 1130, ptr noundef nonnull @__FUNCTION__.SDF_InternalDecrypt_ECC, ptr noundef nonnull @.str.7) #5
  br label %64

36:                                               ; preds = %28
  %37 = load ptr, ptr @sdf_vendor, align 8, !tbaa !5
  %38 = getelementptr inbounds i8, ptr %37, i64 80
  %39 = load ptr, ptr %38, align 8, !tbaa !13
  %40 = load ptr, ptr %7, align 8, !tbaa !5
  %41 = call i32 %39(ptr noundef nonnull %3, ptr noundef %40) #4
  %.not29 = icmp eq i32 %41, 0
  br i1 %.not29, label %42, label %..thread_crit_edge

..thread_crit_edge:                               ; preds = %36
  %.pre = load ptr, ptr %7, align 8, !tbaa !5
  br label %.thread

42:                                               ; preds = %36
  %43 = load ptr, ptr @stderr, align 8, !tbaa !5
  %44 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %43, ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, i32 noundef 1135, ptr noundef nonnull @__FUNCTION__.SDF_InternalDecrypt_ECC, ptr noundef nonnull @.str.7) #5
  br label %54

.thread:                                          ; preds = %..thread_crit_edge, %15, %.thread36, %25
  %45 = phi ptr [ %.pre, %..thread_crit_edge ], [ %3, %.thread36 ], [ %3, %25 ], [ %3, %15 ]
  %.01334 = phi i32 [ %.013.ph41, %..thread_crit_edge ], [ %.013.ph41, %.thread36 ], [ %21, %25 ], [ %2, %15 ]
  %46 = load ptr, ptr @sdf_method, align 8, !tbaa !5
  %47 = getelementptr inbounds i8, ptr %46, i64 312
  %48 = load ptr, ptr %47, align 8, !tbaa !9
  %49 = call i32 %48(ptr noundef %0, i32 noundef %1, i32 noundef %.01334, ptr noundef %45, ptr noundef %4, ptr noundef %5) #4
  %.not30 = icmp eq i32 %49, 0
  br i1 %.not30, label %54, label %50

50:                                               ; preds = %.thread
  %51 = load ptr, ptr @stderr, align 8, !tbaa !5
  %52 = call ptr @SDF_GetErrorReason(i32 noundef %49) #4
  %53 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %51, ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, i32 noundef 1148, ptr noundef nonnull @__FUNCTION__.SDF_InternalDecrypt_ECC, ptr noundef %52) #5
  br label %54

54:                                               ; preds = %.thread, %50, %42
  %.0 = phi i32 [ %49, %50 ], [ 0, %.thread ], [ 16777217, %42 ]
  %55 = load ptr, ptr @sdf_vendor, align 8, !tbaa !5
  %.not31 = icmp eq ptr %55, null
  br i1 %.not31, label %64, label %56

56:                                               ; preds = %54
  %57 = getelementptr inbounds i8, ptr %55, i64 80
  %58 = load ptr, ptr %57, align 8, !tbaa !13
  %59 = icmp ne ptr %58, null
  %60 = load ptr, ptr %7, align 8
  %61 = icmp ne ptr %60, null
  %or.cond = select i1 %59, i1 %61, i1 false
  br i1 %or.cond, label %62, label %64

62:                                               ; preds = %56
  %63 = call i32 @SDF_FreeECCCipher(ptr noundef nonnull %60) #4
  br label %64

64:                                               ; preds = %54, %56, %62, %33, %22, %12
  %.012 = phi i32 [ 16777217, %33 ], [ 16777225, %22 ], [ 16777218, %12 ], [ %.0, %62 ], [ %.0, %56 ], [ %.0, %54 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #4
  ret i32 %.012
}

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, !6, i64 312}
!10 = !{!"sdf_method_st", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !6, i64 88, !6, i64 96, !6, i64 104, !6, i64 112, !6, i64 120, !6, i64 128, !6, i64 136, !6, i64 144, !6, i64 152, !6, i64 160, !6, i64 168, !6, i64 176, !6, i64 184, !6, i64 192, !6, i64 200, !6, i64 208, !6, i64 216, !6, i64 224, !6, i64 232, !6, i64 240, !6, i64 248, !6, i64 256, !6, i64 264, !6, i64 272, !6, i64 280, !6, i64 288, !6, i64 296, !6, i64 304, !6, i64 312, !6, i64 320, !6, i64 328, !6, i64 336, !6, i64 344, !6, i64 352, !6, i64 360, !6, i64 368, !6, i64 376, !6, i64 384, !6, i64 392}
!11 = !{!12, !6, i64 64}
!12 = !{!"sdf_vendor_st", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !6, i64 88, !6, i64 96}
!13 = !{!12, !6, i64 80}
!14 = !{!15, !16, i64 160}
!15 = !{!"ECCCipher_st", !7, i64 0, !7, i64 64, !7, i64 128, !16, i64 160, !7, i64 164, !7, i64 165}
!16 = !{!"int", !7, i64 0}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,SROAPass,SimplifyCFGPass,TailCallElimPass