; LLVM IR from openanolis/openssl :: apps/lib (apps_ui)

; 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.pw_cb_data = type { ptr, ptr }

@ui_method = external hidden global ptr, align 8
@.str.1 = external hidden unnamed_addr constant [12 x i8], align 1
@bio_err = external global ptr, align 8
@.str.2 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [71 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [10 x i8], align 1

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

21:                                               ; preds = %4
  store i32 0, ptr %5, align 4
  store i32 1, ptr %17, align 4
  br label %125

22:                                               ; preds = %4
  %23 = load ptr, ptr %9, align 8, !tbaa !5
  %24 = icmp ne ptr %23, null
  br i1 %24, label %25, label %34

25:                                               ; preds = %22
  %26 = load ptr, ptr %9, align 8, !tbaa !5
  %27 = getelementptr inbounds %struct.pw_cb_data, ptr %26, i32 0, i32 1
  %28 = load ptr, ptr %27, align 8, !tbaa !11
  %29 = icmp ne ptr %28, null
  br i1 %29, label %30, label %34

30:                                               ; preds = %25
  %31 = load ptr, ptr %9, align 8, !tbaa !5
  %32 = getelementptr inbounds %struct.pw_cb_data, ptr %31, i32 0, i32 1
  %33 = load ptr, ptr %32, align 8, !tbaa !11
  store ptr %33, ptr %15, align 8, !tbaa !5
  br label %34

34:                                               ; preds = %30, %25, %22
  %35 = load ptr, ptr %11, align 8, !tbaa !5
  %36 = load ptr, ptr %15, align 8, !tbaa !5
  %37 = call ptr @UI_construct_prompt(ptr noundef %35, ptr noundef @.str.1, ptr noundef %36)
  store ptr %37, ptr %16, align 8, !tbaa !5
  %38 = load ptr, ptr %16, align 8, !tbaa !5
  %39 = icmp eq ptr %38, null
  br i1 %39, label %40, label %44

40:                                               ; preds = %34
  %41 = load ptr, ptr @bio_err, align 8, !tbaa !5
  %42 = call i32 (ptr, ptr, ...) @BIO_printf(ptr noundef %41, ptr noundef @.str.2)
  %43 = load ptr, ptr %11, align 8, !tbaa !5
  call void @UI_free(ptr noundef %43)
  store i32 0, ptr %5, align 4
  store i32 1, ptr %17, align 4
  br label %125

44:                                               ; preds = %34
  %45 = load i32, ptr %14, align 4, !tbaa !9
  %46 = or i32 %45, 2
  store i32 %46, ptr %14, align 4, !tbaa !9
  %47 = load ptr, ptr %11, align 8, !tbaa !5
  %48 = call i32 @UI_ctrl(ptr noundef %47, i32 noundef 1, i64 noundef 1, ptr noundef null, ptr noundef null)
  %49 = load ptr, ptr %11, align 8, !tbaa !5
  %50 = load ptr, ptr %9, align 8, !tbaa !5
  %51 = call ptr @UI_add_user_data(ptr noundef %49, ptr noundef %50)
  %52 = load ptr, ptr %11, align 8, !tbaa !5
  %53 = load ptr, ptr %16, align 8, !tbaa !5
  %54 = load i32, ptr %14, align 4, !tbaa !9
  %55 = load ptr, ptr %6, align 8, !tbaa !5
  %56 = load i32, ptr %7, align 4, !tbaa !9
  %57 = sub nsw i32 %56, 1
  %58 = call i32 @UI_add_input_string(ptr noundef %52, ptr noundef %53, i32 noundef %54, ptr noundef %55, i32 noundef 4, i32 noundef %57)
  store i32 %58, ptr %12, align 4, !tbaa !9
  %59 = load i32, ptr %12, align 4, !tbaa !9
  %60 = icmp sge i32 %59, 0
  br i1 %60, label %61, label %75

61:                                               ; preds = %44
  %62 = load i32, ptr %8, align 4, !tbaa !9
  %63 = icmp ne i32 %62, 0
  br i1 %63, label %64, label %75

64:                                               ; preds = %61
  %65 = load i32, ptr %7, align 4, !tbaa !9
  %66 = call ptr @ui_malloc(i32 noundef %65, ptr noundef @.str.3)
  store ptr %66, ptr %13, align 8, !tbaa !5
  %67 = load ptr, ptr %11, align 8, !tbaa !5
  %68 = load ptr, ptr %16, align 8, !tbaa !5
  %69 = load i32, ptr %14, align 4, !tbaa !9
  %70 = load ptr, ptr %13, align 8, !tbaa !5
  %71 = load i32, ptr %7, align 4, !tbaa !9
  %72 = sub nsw i32 %71, 1
  %73 = load ptr, ptr %6, align 8, !tbaa !5
  %74 = call i32 @UI_add_verify_string(ptr noundef %67, ptr noundef %68, i32 noundef %69, ptr noundef %70, i32 noundef 4, i32 noundef %72, ptr noundef %73)
  store i32 %74, ptr %12, align 4, !tbaa !9
  br label %75

75:                                               ; preds = %64, %61, %44
  %76 = load i32, ptr %12, align 4, !tbaa !9
  %77 = icmp sge i32 %76, 0
  br i1 %77, label %78, label %92

78:                                               ; preds = %75
  br label %79

79:                                               ; preds = %89, %78
  %80 = load ptr, ptr %11, align 8, !tbaa !5
  %81 = call i32 @UI_process(ptr noundef %80)
  store i32 %81, ptr %12, align 4, !tbaa !9
  br label %82

82:                                               ; preds = %79
  %83 = load i32, ptr %12, align 4, !tbaa !9
  %84 = icmp slt i32 %83, 0
  br i1 %84, label %85, label %89

85:                                               ; preds = %82
  %86 = load ptr, ptr %11, align 8, !tbaa !5
  %87 = call i32 @UI_ctrl(ptr noundef %86, i32 noundef 2, i64 noundef 0, ptr noundef null, ptr noundef null)
  %88 = icmp ne i32 %87, 0
  br label %89

89:                                               ; preds = %85, %82
  %90 = phi i1 [ false, %82 ], [ %88, %85 ]
  br i1 %90, label %79, label %91, !llvm.loop !13

91:                                               ; preds = %89
  br label %92

92:                                               ; preds = %91, %75
  %93 = load ptr, ptr %13, align 8, !tbaa !5
  %94 = load i32, ptr %7, align 4, !tbaa !9
  %95 = zext i32 %94 to i64
  call void @CRYPTO_clear_free(ptr noundef %93, i64 noundef %95, ptr noundef @.str.4, i32 noundef 205)
  %96 = load i32, ptr %12, align 4, !tbaa !9
  %97 = icmp sge i32 %96, 0
  br i1 %97, label %98, label %102

98:                                               ; preds = %92
  %99 = load ptr, ptr %6, align 8, !tbaa !5
  %100 = call i64 @strlen(ptr noundef %99) #5
  %101 = trunc i64 %100 to i32
  store i32 %101, ptr %10, align 4, !tbaa !9
  br label %102

102:                                              ; preds = %98, %92
  %103 = load i32, ptr %12, align 4, !tbaa !9
  %104 = icmp eq i32 %103, -1
  br i1 %104, label %105, label %112

105:                                              ; preds = %102
  %106 = load ptr, ptr @bio_err, align 8, !tbaa !5
  %107 = call i32 (ptr, ptr, ...) @BIO_printf(ptr noundef %106, ptr noundef @.str.5)
  %108 = load ptr, ptr @bio_err, align 8, !tbaa !5
  call void @ERR_print_errors(ptr noundef %108)
  %109 = load ptr, ptr %6, align 8, !tbaa !5
  %110 = load i32, ptr %7, align 4, !tbaa !9
  %111 = zext i32 %110 to i64
  call void @OPENSSL_cleanse(ptr noundef %109, i64 noundef %111)
  store i32 0, ptr %10, align 4, !tbaa !9
  br label %112

112:                                              ; preds = %105, %102
  %113 = load i32, ptr %12, align 4, !tbaa !9
  %114 = icmp eq i32 %113, -2
  br i1 %114, label %115, label %121

115:                                              ; preds = %112
  %116 = load ptr, ptr @bio_err, align 8, !tbaa !5
  %117 = call i32 (ptr, ptr, ...) @BIO_printf(ptr noundef %116, ptr noundef @.str.6)
  %118 = load ptr, ptr %6, align 8, !tbaa !5
  %119 = load i32, ptr %7, align 4, !tbaa !9
  %120 = zext i32 %119 to i64
  call void @OPENSSL_cleanse(ptr noundef %118, i64 noundef %120)
  store i32 0, ptr %10, align 4, !tbaa !9
  br label %121

121:                                              ; preds = %115, %112
  %122 = load ptr, ptr %11, align 8, !tbaa !5
  call void @UI_free(ptr noundef %122)
  %123 = load ptr, ptr %16, align 8, !tbaa !5
  call void @CRYPTO_free(ptr noundef %123, ptr noundef @.str.4, i32 noundef 221)
  %124 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %124, ptr %5, align 4
  store i32 1, ptr %17, align 4
  br label %125

125:                                              ; preds = %121, %40, %21
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #4
  %126 = load i32, ptr %5, align 4
  ret i32 %126
}

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

declare ptr @UI_new_method(ptr noundef) #2

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

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

declare void @UI_free(ptr noundef) #2

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

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

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

; Function Attrs: nounwind uwtable
declare hidden ptr @ui_malloc(i32 noundef, ptr noundef) #0

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

declare i32 @UI_process(ptr noundef) #2

declare void @CRYPTO_clear_free(ptr noundef, i64 noundef, ptr noundef, i32 noundef) #2

; Function Attrs: nounwind willreturn memory(read)
declare i64 @strlen(ptr noundef) #3

declare void @ERR_print_errors(ptr noundef) #2

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

declare void @CRYPTO_free(ptr noundef, ptr noundef, i32 noundef) #2

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

attributes #0 = { 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 #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 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 #4 = { nounwind }
attributes #5 = { 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 = !{!"int", !7, i64 0}
!11 = !{!12, !6, i64 8}
!12 = !{!"pw_cb_data", !6, i64 0, !6, i64 8}
!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"

@ui_method = external hidden local_unnamed_addr global ptr, align 8
@.str.1 = external hidden unnamed_addr constant [12 x i8], align 1
@bio_err = external local_unnamed_addr global ptr, align 8
@.str.2 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [71 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [10 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local i32 @password_callback(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3) local_unnamed_addr #0 {
  %5 = load ptr, ptr @ui_method, align 8, !tbaa !5
  %6 = tail call ptr @UI_new_method(ptr noundef %5) #3
  %7 = icmp eq ptr %6, null
  br i1 %7, label %45, label %8

8:                                                ; preds = %4
  %.not = icmp eq ptr %3, null
  br i1 %.not, label %12, label %9

9:                                                ; preds = %8
  %10 = getelementptr inbounds i8, ptr %3, i64 8
  %11 = load ptr, ptr %10, align 8, !tbaa !9
  br label %12

12:                                               ; preds = %9, %8
  %.043 = phi ptr [ null, %8 ], [ %11, %9 ]
  %13 = tail call ptr @UI_construct_prompt(ptr noundef nonnull %6, ptr noundef nonnull @.str.1, ptr noundef %.043) #3
  %14 = icmp eq ptr %13, null
  br i1 %14, label %15, label %18

15:                                               ; preds = %12
  %16 = load ptr, ptr @bio_err, align 8, !tbaa !5
  %17 = tail call i32 (ptr, ptr, ...) @BIO_printf(ptr noundef %16, ptr noundef nonnull @.str.2) #3
  tail call void @UI_free(ptr noundef nonnull %6) #3
  br label %45

18:                                               ; preds = %12
  %19 = tail call i32 @UI_ctrl(ptr noundef nonnull %6, i32 noundef 1, i64 noundef 1, ptr noundef null, ptr noundef null) #3
  %20 = tail call ptr @UI_add_user_data(ptr noundef nonnull %6, ptr noundef %3) #3
  %21 = add nsw i32 %1, -1
  %22 = tail call i32 @UI_add_input_string(ptr noundef nonnull %6, ptr noundef nonnull %13, i32 noundef 2, ptr noundef %0, i32 noundef 4, i32 noundef %21) #3
  %23 = icmp sgt i32 %22, -1
  %24 = icmp ne i32 %2, 0
  %or.cond = and i1 %24, %23
  br i1 %or.cond, label %25, label %28

25:                                               ; preds = %18
  %26 = tail call ptr @ui_malloc(i32 noundef %1, ptr noundef nonnull @.str.3)
  %27 = tail call i32 @UI_add_verify_string(ptr noundef nonnull %6, ptr noundef nonnull %13, i32 noundef 2, ptr noundef %26, i32 noundef 4, i32 noundef %21, ptr noundef %0) #3
  br label %28

28:                                               ; preds = %25, %18
  %.045 = phi i32 [ %27, %25 ], [ %22, %18 ]
  %.044 = phi ptr [ %26, %25 ], [ null, %18 ]
  %29 = icmp sgt i32 %.045, -1
  br i1 %29, label %.preheader, label %.loopexit

.preheader:                                       ; preds = %28, %32
  %30 = tail call i32 @UI_process(ptr noundef nonnull %6) #3
  %31 = icmp slt i32 %30, 0
  br i1 %31, label %32, label %.thread

32:                                               ; preds = %.preheader
  %33 = tail call i32 @UI_ctrl(ptr noundef nonnull %6, i32 noundef 2, i64 noundef 0, ptr noundef null, ptr noundef null) #3
  %.not55 = icmp eq i32 %33, 0
  br i1 %.not55, label %.loopexit, label %.preheader, !llvm.loop !11

.thread:                                          ; preds = %.preheader
  %34 = zext i32 %1 to i64
  tail call void @CRYPTO_clear_free(ptr noundef %.044, i64 noundef %34, ptr noundef nonnull @.str.4, i32 noundef 205) #3
  %35 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %0) #4
  %36 = trunc i64 %35 to i32
  br label %.thread61

.loopexit:                                        ; preds = %32, %28
  %.1.ph = phi i32 [ %.045, %28 ], [ %30, %32 ]
  %37 = zext i32 %1 to i64
  tail call void @CRYPTO_clear_free(ptr noundef %.044, i64 noundef %37, ptr noundef nonnull @.str.4, i32 noundef 205) #3
  switch i32 %.1.ph, label %.thread61 [
    i32 -1, label %38
    i32 -2, label %42
  ]

38:                                               ; preds = %.loopexit
  %39 = load ptr, ptr @bio_err, align 8, !tbaa !5
  %40 = tail call i32 (ptr, ptr, ...) @BIO_printf(ptr noundef %39, ptr noundef nonnull @.str.5) #3
  %41 = load ptr, ptr @bio_err, align 8, !tbaa !5
  tail call void @ERR_print_errors(ptr noundef %41) #3
  tail call void @OPENSSL_cleanse(ptr noundef %0, i64 noundef %37) #3
  br label %.thread61

42:                                               ; preds = %.loopexit
  %43 = load ptr, ptr @bio_err, align 8, !tbaa !5
  %44 = tail call i32 (ptr, ptr, ...) @BIO_printf(ptr noundef %43, ptr noundef nonnull @.str.6) #3
  tail call void @OPENSSL_cleanse(ptr noundef %0, i64 noundef %37) #3
  br label %.thread61

.thread61:                                        ; preds = %.loopexit, %.thread, %38, %42
  %.2 = phi i32 [ 0, %42 ], [ %36, %.thread ], [ 0, %38 ], [ 0, %.loopexit ]
  tail call void @UI_free(ptr noundef nonnull %6) #3
  tail call void @CRYPTO_free(ptr noundef nonnull %13, ptr noundef nonnull @.str.4, i32 noundef 221) #3
  br label %45

45:                                               ; preds = %4, %.thread61, %15
  %.0 = phi i32 [ 0, %15 ], [ %.2, %.thread61 ], [ 0, %4 ]
  ret i32 %.0
}

declare ptr @UI_new_method(ptr noundef) local_unnamed_addr #1

declare ptr @UI_construct_prompt(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1

declare i32 @BIO_printf(ptr noundef, ptr noundef, ...) local_unnamed_addr #1

declare void @UI_free(ptr noundef) local_unnamed_addr #1

declare i32 @UI_ctrl(ptr noundef, i32 noundef, i64 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1

declare ptr @UI_add_user_data(ptr noundef, ptr noundef) local_unnamed_addr #1

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

; Function Attrs: nounwind uwtable
declare hidden ptr @ui_malloc(i32 noundef, ptr noundef) local_unnamed_addr #0

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

declare i32 @UI_process(ptr noundef) local_unnamed_addr #1

declare void @CRYPTO_clear_free(ptr noundef, i64 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1

; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read)
declare i64 @strlen(ptr nocapture noundef) local_unnamed_addr #2

declare void @ERR_print_errors(ptr noundef) local_unnamed_addr #1

declare void @OPENSSL_cleanse(ptr noundef, i64 noundef) local_unnamed_addr #1

declare void @CRYPTO_free(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1

attributes #0 = { 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 #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 = { mustprogress nofree nounwind willreturn memory(argmem: 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 #3 = { nounwind }
attributes #4 = { 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, !6, i64 8}
!10 = !{!"pw_cb_data", !6, i64 0, !6, i64 8}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LoopSimplifyPass,LoopUnrollPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass