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

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

@prog = external hidden global [40 x i8], align 16
@.str.2 = external hidden unnamed_addr constant [67 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.34 = external hidden unnamed_addr constant [37 x i8], align 1
@.str.35 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.36 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.37 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.38 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.39 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.40 = external hidden unnamed_addr constant [32 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: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

; Function Attrs: noreturn
declare void @OPENSSL_die(ptr noundef, ptr noundef, i32 noundef) #1

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

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

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

14:                                               ; preds = %2
  br label %17

15:                                               ; preds = %2
  call void @OPENSSL_die(ptr noundef @.str.33, ptr noundef @.str.2, i32 noundef 715) #6
  unreachable

16:                                               ; No predecessors!
  br label %17

17:                                               ; preds = %16, %14
  %18 = phi i32 [ 0, %14 ], [ 1, %16 ]
  %19 = load i32, ptr %4, align 4, !tbaa !5
  %20 = icmp sgt i32 %19, 2000
  br i1 %20, label %21, label %22

21:                                               ; preds = %17
  br label %24

22:                                               ; preds = %17
  call void @OPENSSL_die(ptr noundef @.str.34, ptr noundef @.str.2, i32 noundef 716) #6
  unreachable

23:                                               ; No predecessors!
  br label %24

24:                                               ; preds = %23, %21
  %25 = phi i32 [ 0, %21 ], [ 1, %23 ]
  %26 = load i32, ptr %4, align 4, !tbaa !5
  %27 = icmp slt i32 %26, 2031
  br i1 %27, label %28, label %29

28:                                               ; preds = %24
  br label %31

29:                                               ; preds = %24
  call void @OPENSSL_die(ptr noundef @.str.35, ptr noundef @.str.2, i32 noundef 717) #6
  unreachable

30:                                               ; No predecessors!
  br label %31

31:                                               ; preds = %30, %28
  %32 = phi i32 [ 0, %28 ], [ 1, %30 ]
  %33 = load i32, ptr %4, align 4, !tbaa !5
  switch i32 %33, label %194 [
    i32 2000, label %34
    i32 2031, label %34
    i32 2001, label %35
    i32 2002, label %47
    i32 2003, label %68
    i32 2004, label %80
    i32 2029, label %89
    i32 2005, label %98
    i32 2006, label %113
    i32 2007, label %120
    i32 2008, label %127
    i32 2009, label %134
    i32 2010, label %194
    i32 2011, label %137
    i32 2012, label %140
    i32 2013, label %143
    i32 2014, label %146
    i32 2015, label %149
    i32 2016, label %152
    i32 2017, label %155
    i32 2018, label %158
    i32 2019, label %161
    i32 2020, label %164
    i32 2021, label %167
    i32 2022, label %170
    i32 2023, label %173
    i32 2024, label %176
    i32 2025, label %179
    i32 2026, label %182
    i32 2027, label %185
    i32 2028, label %188
    i32 2030, label %191
  ]

34:                                               ; preds = %31, %31
  store i32 0, ptr %3, align 4
  store i32 1, ptr %11, align 4
  br label %195

35:                                               ; preds = %31
  %36 = call ptr @opt_arg()
  %37 = call ptr @OBJ_txt2obj(ptr noundef %36, i32 noundef 0)
  store ptr %37, ptr %8, align 8, !tbaa !9
  %38 = load ptr, ptr %8, align 8, !tbaa !9
  %39 = icmp eq ptr %38, null
  br i1 %39, label %40, label %43

40:                                               ; preds = %35
  %41 = call ptr @opt_arg()
  %42 = call i32 (ptr, ...) @opt_printf_stderr(ptr noundef @.str.36, ptr noundef @prog, ptr noundef %41)
  store i32 0, ptr %3, align 4
  store i32 1, ptr %11, align 4
  br label %195

43:                                               ; preds = %35
  %44 = load ptr, ptr %5, align 8, !tbaa !9
  %45 = load ptr, ptr %8, align 8, !tbaa !9
  %46 = call i32 @X509_VERIFY_PARAM_add0_policy(ptr noundef %44, ptr noundef %45)
  br label %194

47:                                               ; preds = %31
  %48 = call ptr @opt_arg()
  %49 = call i32 @X509_PURPOSE_get_by_sname(ptr noundef %48)
  store i32 %49, ptr %6, align 4, !tbaa !5
  %50 = load i32, ptr %6, align 4, !tbaa !5
  %51 = icmp slt i32 %50, 0
  br i1 %51, label %52, label %55

52:                                               ; preds = %47
  %53 = call ptr @opt_arg()
  %54 = call i32 (ptr, ...) @opt_printf_stderr(ptr noundef @.str.37, ptr noundef @prog, ptr noundef %53)
  store i32 0, ptr %3, align 4
  store i32 1, ptr %11, align 4
  br label %195

55:                                               ; preds = %47
  %56 = load i32, ptr %6, align 4, !tbaa !5
  %57 = call ptr @X509_PURPOSE_get0(i32 noundef %56)
  store ptr %57, ptr %9, align 8, !tbaa !9
  %58 = load ptr, ptr %9, align 8, !tbaa !9
  %59 = call i32 @X509_PURPOSE_get_id(ptr noundef %58)
  store i32 %59, ptr %6, align 4, !tbaa !5
  %60 = load ptr, ptr %5, align 8, !tbaa !9
  %61 = load i32, ptr %6, align 4, !tbaa !5
  %62 = call i32 @X509_VERIFY_PARAM_set_purpose(ptr noundef %60, i32 noundef %61)
  %63 = icmp ne i32 %62, 0
  br i1 %63, label %67, label %64

64:                                               ; preds = %55
  %65 = call ptr @opt_arg()
  %66 = call i32 (ptr, ...) @opt_printf_stderr(ptr noundef @.str.38, ptr noundef @prog, ptr noundef %65)
  store i32 0, ptr %3, align 4
  store i32 1, ptr %11, align 4
  br label %195

67:                                               ; preds = %55
  br label %194

68:                                               ; preds = %31
  %69 = call ptr @opt_arg()
  %70 = call ptr @X509_VERIFY_PARAM_lookup(ptr noundef %69)
  store ptr %70, ptr %10, align 8, !tbaa !9
  %71 = load ptr, ptr %10, align 8, !tbaa !9
  %72 = icmp eq ptr %71, null
  br i1 %72, label %73, label %76

73:                                               ; preds = %68
  %74 = call ptr @opt_arg()
  %75 = call i32 (ptr, ...) @opt_printf_stderr(ptr noundef @.str.39, ptr noundef @prog, ptr noundef %74)
  store i32 0, ptr %3, align 4
  store i32 1, ptr %11, align 4
  br label %195

76:                                               ; preds = %68
  %77 = load ptr, ptr %5, align 8, !tbaa !9
  %78 = load ptr, ptr %10, align 8, !tbaa !9
  %79 = call i32 @X509_VERIFY_PARAM_set1(ptr noundef %77, ptr noundef %78)
  br label %194

80:                                               ; preds = %31
  %81 = call ptr @opt_arg()
  %82 = call i32 @atoi(ptr noundef %81) #7
  store i32 %82, ptr %6, align 4, !tbaa !5
  %83 = load i32, ptr %6, align 4, !tbaa !5
  %84 = icmp sge i32 %83, 0
  br i1 %84, label %85, label %88

85:                                               ; preds = %80
  %86 = load ptr, ptr %5, align 8, !tbaa !9
  %87 = load i32, ptr %6, align 4, !tbaa !5
  call void @X509_VERIFY_PARAM_set_depth(ptr noundef %86, i32 noundef %87)
  br label %88

88:                                               ; preds = %85, %80
  br label %194

89:                                               ; preds = %31
  %90 = call ptr @opt_arg()
  %91 = call i32 @atoi(ptr noundef %90) #7
  store i32 %91, ptr %6, align 4, !tbaa !5
  %92 = load i32, ptr %6, align 4, !tbaa !5
  %93 = icmp sge i32 %92, 0
  br i1 %93, label %94, label %97

94:                                               ; preds = %89
  %95 = load ptr, ptr %5, align 8, !tbaa !9
  %96 = load i32, ptr %6, align 4, !tbaa !5
  call void @X509_VERIFY_PARAM_set_auth_level(ptr noundef %95, i32 noundef %96)
  br label %97

97:                                               ; preds = %94, %89
  br label %194

98:                                               ; preds = %31
  %99 = call ptr @opt_arg()
  %100 = call i32 @opt_intmax(ptr noundef %99, ptr noundef %7)
  %101 = icmp ne i32 %100, 0
  br i1 %101, label %103, label %102

102:                                              ; preds = %98
  store i32 0, ptr %3, align 4
  store i32 1, ptr %11, align 4
  br label %195

103:                                              ; preds = %98
  %104 = load i64, ptr %7, align 8, !tbaa !11
  %105 = load i64, ptr %7, align 8, !tbaa !11
  %106 = icmp ne i64 %104, %105
  br i1 %106, label %107, label %110

107:                                              ; preds = %103
  %108 = call ptr @opt_arg()
  %109 = call i32 (ptr, ...) @opt_printf_stderr(ptr noundef @.str.40, ptr noundef @prog, ptr noundef %108)
  store i32 0, ptr %3, align 4
  store i32 1, ptr %11, align 4
  br label %195

110:                                              ; preds = %103
  %111 = load ptr, ptr %5, align 8, !tbaa !9
  %112 = load i64, ptr %7, align 8, !tbaa !11
  call void @X509_VERIFY_PARAM_set_time(ptr noundef %111, i64 noundef %112)
  br label %194

113:                                              ; preds = %31
  %114 = load ptr, ptr %5, align 8, !tbaa !9
  %115 = call ptr @opt_arg()
  %116 = call i32 @X509_VERIFY_PARAM_set1_host(ptr noundef %114, ptr noundef %115, i64 noundef 0)
  %117 = icmp ne i32 %116, 0
  br i1 %117, label %119, label %118

118:                                              ; preds = %113
  store i32 0, ptr %3, align 4
  store i32 1, ptr %11, align 4
  br label %195

119:                                              ; preds = %113
  br label %194

120:                                              ; preds = %31
  %121 = load ptr, ptr %5, align 8, !tbaa !9
  %122 = call ptr @opt_arg()
  %123 = call i32 @X509_VERIFY_PARAM_set1_email(ptr noundef %121, ptr noundef %122, i64 noundef 0)
  %124 = icmp ne i32 %123, 0
  br i1 %124, label %126, label %125

125:                                              ; preds = %120
  store i32 0, ptr %3, align 4
  store i32 1, ptr %11, align 4
  br label %195

126:                                              ; preds = %120
  br label %194

127:                                              ; preds = %31
  %128 = load ptr, ptr %5, align 8, !tbaa !9
  %129 = call ptr @opt_arg()
  %130 = call i32 @X509_VERIFY_PARAM_set1_ip_asc(ptr noundef %128, ptr noundef %129)
  %131 = icmp ne i32 %130, 0
  br i1 %131, label %133, label %132

132:                                              ; preds = %127
  store i32 0, ptr %3, align 4
  store i32 1, ptr %11, align 4
  br label %195

133:                                              ; preds = %127
  br label %194

134:                                              ; preds = %31
  %135 = load ptr, ptr %5, align 8, !tbaa !9
  %136 = call i32 @X509_VERIFY_PARAM_set_flags(ptr noundef %135, i64 noundef 16)
  br label %194

137:                                              ; preds = %31
  %138 = load ptr, ptr %5, align 8, !tbaa !9
  %139 = call i32 @X509_VERIFY_PARAM_set_flags(ptr noundef %138, i64 noundef 4)
  br label %194

140:                                              ; preds = %31
  %141 = load ptr, ptr %5, align 8, !tbaa !9
  %142 = call i32 @X509_VERIFY_PARAM_set_flags(ptr noundef %141, i64 noundef 12)
  br label %194

143:                                              ; preds = %31
  %144 = load ptr, ptr %5, align 8, !tbaa !9
  %145 = call i32 @X509_VERIFY_PARAM_set_flags(ptr noundef %144, i64 noundef 128)
  br label %194

146:                                              ; preds = %31
  %147 = load ptr, ptr %5, align 8, !tbaa !9
  %148 = call i32 @X509_VERIFY_PARAM_set_flags(ptr noundef %147, i64 noundef 256)
  br label %194

149:                                              ; preds = %31
  %150 = load ptr, ptr %5, align 8, !tbaa !9
  %151 = call i32 @X509_VERIFY_PARAM_set_flags(ptr noundef %150, i64 noundef 512)
  br label %194

152:                                              ; preds = %31
  %153 = load ptr, ptr %5, align 8, !tbaa !9
  %154 = call i32 @X509_VERIFY_PARAM_set_flags(ptr noundef %153, i64 noundef 1024)
  br label %194

155:                                              ; preds = %31
  %156 = load ptr, ptr %5, align 8, !tbaa !9
  %157 = call i32 @X509_VERIFY_PARAM_set_flags(ptr noundef %156, i64 noundef 32)
  br label %194

158:                                              ; preds = %31
  %159 = load ptr, ptr %5, align 8, !tbaa !9
  %160 = call i32 @X509_VERIFY_PARAM_set_flags(ptr noundef %159, i64 noundef 4096)
  br label %194

161:                                              ; preds = %31
  %162 = load ptr, ptr %5, align 8, !tbaa !9
  %163 = call i32 @X509_VERIFY_PARAM_set_flags(ptr noundef %162, i64 noundef 8192)
  br label %194

164:                                              ; preds = %31
  %165 = load ptr, ptr %5, align 8, !tbaa !9
  %166 = call i32 @X509_VERIFY_PARAM_set_flags(ptr noundef %165, i64 noundef 2048)
  br label %194

167:                                              ; preds = %31
  %168 = load ptr, ptr %5, align 8, !tbaa !9
  %169 = call i32 @X509_VERIFY_PARAM_set_flags(ptr noundef %168, i64 noundef 16384)
  br label %194

170:                                              ; preds = %31
  %171 = load ptr, ptr %5, align 8, !tbaa !9
  %172 = call i32 @X509_VERIFY_PARAM_set_flags(ptr noundef %171, i64 noundef 32768)
  br label %194

173:                                              ; preds = %31
  %174 = load ptr, ptr %5, align 8, !tbaa !9
  %175 = call i32 @X509_VERIFY_PARAM_set_flags(ptr noundef %174, i64 noundef 65536)
  br label %194

176:                                              ; preds = %31
  %177 = load ptr, ptr %5, align 8, !tbaa !9
  %178 = call i32 @X509_VERIFY_PARAM_set_flags(ptr noundef %177, i64 noundef 196608)
  br label %194

179:                                              ; preds = %31
  %180 = load ptr, ptr %5, align 8, !tbaa !9
  %181 = call i32 @X509_VERIFY_PARAM_set_flags(ptr noundef %180, i64 noundef 131072)
  br label %194

182:                                              ; preds = %31
  %183 = load ptr, ptr %5, align 8, !tbaa !9
  %184 = call i32 @X509_VERIFY_PARAM_set_flags(ptr noundef %183, i64 noundef 524288)
  br label %194

185:                                              ; preds = %31
  %186 = load ptr, ptr %5, align 8, !tbaa !9
  %187 = call i32 @X509_VERIFY_PARAM_set_flags(ptr noundef %186, i64 noundef 1048576)
  br label %194

188:                                              ; preds = %31
  %189 = load ptr, ptr %5, align 8, !tbaa !9
  %190 = call i32 @X509_VERIFY_PARAM_set_flags(ptr noundef %189, i64 noundef 2097152)
  br label %194

191:                                              ; preds = %31
  %192 = load ptr, ptr %5, align 8, !tbaa !9
  %193 = call i32 @X509_VERIFY_PARAM_set_flags(ptr noundef %192, i64 noundef 64)
  br label %194

194:                                              ; preds = %191, %188, %185, %182, %179, %176, %173, %170, %167, %164, %161, %158, %155, %152, %149, %146, %143, %140, %137, %134, %133, %126, %119, %110, %97, %88, %76, %67, %43, %31, %31
  store i32 1, ptr %3, align 4
  store i32 1, ptr %11, align 4
  br label %195

195:                                              ; preds = %194, %132, %125, %118, %107, %102, %73, %64, %52, %40, %34
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #5
  %196 = load i32, ptr %3, align 4
  ret i32 %196
}

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

; Function Attrs: nounwind uwtable
declare dso_local ptr @opt_arg() #3

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

declare i32 @X509_PURPOSE_get_by_sname(ptr noundef) #2

declare ptr @X509_PURPOSE_get0(i32 noundef) #2

declare i32 @X509_PURPOSE_get_id(ptr noundef) #2

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

declare ptr @X509_VERIFY_PARAM_lookup(ptr noundef) #2

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

; Function Attrs: inlinehint nounwind willreturn memory(read) uwtable
declare i32 @atoi(ptr noundef nonnull) #4

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

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

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

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

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

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

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { noreturn "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 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 = { inlinehint nounwind willreturn memory(read) 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 #5 = { nounwind }
attributes #6 = { noreturn }
attributes #7 = { 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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"long", !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"

@prog = external hidden global [40 x i8], align 16
@.str.2 = external hidden unnamed_addr constant [67 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.34 = external hidden unnamed_addr constant [37 x i8], align 1
@.str.35 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.36 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.37 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.38 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.39 = external hidden unnamed_addr constant [28 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: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

; Function Attrs: noreturn
declare void @OPENSSL_die(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1

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

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

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

4:                                                ; preds = %2
  tail call void @OPENSSL_die(ptr noundef nonnull @.str.33, ptr noundef nonnull @.str.2, i32 noundef 715) #6
  unreachable

5:                                                ; preds = %2
  %6 = icmp sgt i32 %0, 2000
  br i1 %6, label %8, label %7

7:                                                ; preds = %5
  tail call void @OPENSSL_die(ptr noundef nonnull @.str.34, ptr noundef nonnull @.str.2, i32 noundef 716) #6
  unreachable

8:                                                ; preds = %5
  %9 = icmp ult i32 %0, 2031
  br i1 %9, label %11, label %10

10:                                               ; preds = %8
  tail call void @OPENSSL_die(ptr noundef nonnull @.str.35, ptr noundef nonnull @.str.2, i32 noundef 717) #6
  unreachable

11:                                               ; preds = %8
  switch i32 %0, label %108 [
    i32 2028, label %104
    i32 2027, label %102
    i32 2001, label %12
    i32 2002, label %21
    i32 2003, label %35
    i32 2004, label %44
    i32 2029, label %49
    i32 2005, label %54
    i32 2006, label %59
    i32 2007, label %62
    i32 2008, label %65
    i32 2009, label %68
    i32 2030, label %106
    i32 2011, label %70
    i32 2012, label %72
    i32 2013, label %74
    i32 2014, label %76
    i32 2015, label %78
    i32 2016, label %80
    i32 2017, label %82
    i32 2018, label %84
    i32 2019, label %86
    i32 2020, label %88
    i32 2021, label %90
    i32 2022, label %92
    i32 2023, label %94
    i32 2024, label %96
    i32 2025, label %98
    i32 2026, label %100
  ]

12:                                               ; preds = %11
  %13 = tail call ptr @opt_arg()
  %14 = tail call ptr @OBJ_txt2obj(ptr noundef %13, i32 noundef 0) #5
  %15 = icmp eq ptr %14, null
  br i1 %15, label %16, label %19

16:                                               ; preds = %12
  %17 = tail call ptr @opt_arg()
  %18 = tail call i32 (ptr, ...) @opt_printf_stderr(ptr noundef nonnull @.str.36, ptr noundef nonnull @prog, ptr noundef %17) #5
  br label %109

19:                                               ; preds = %12
  %20 = tail call i32 @X509_VERIFY_PARAM_add0_policy(ptr noundef nonnull %1, ptr noundef nonnull %14) #5
  br label %108

21:                                               ; preds = %11
  %22 = tail call ptr @opt_arg()
  %23 = tail call i32 @X509_PURPOSE_get_by_sname(ptr noundef %22) #5
  %24 = icmp slt i32 %23, 0
  br i1 %24, label %25, label %28

25:                                               ; preds = %21
  %26 = tail call ptr @opt_arg()
  %27 = tail call i32 (ptr, ...) @opt_printf_stderr(ptr noundef nonnull @.str.37, ptr noundef nonnull @prog, ptr noundef %26) #5
  br label %109

28:                                               ; preds = %21
  %29 = tail call ptr @X509_PURPOSE_get0(i32 noundef %23) #5
  %30 = tail call i32 @X509_PURPOSE_get_id(ptr noundef %29) #5
  %31 = tail call i32 @X509_VERIFY_PARAM_set_purpose(ptr noundef nonnull %1, i32 noundef %30) #5
  %.not56 = icmp eq i32 %31, 0
  br i1 %.not56, label %32, label %108

32:                                               ; preds = %28
  %33 = tail call ptr @opt_arg()
  %34 = tail call i32 (ptr, ...) @opt_printf_stderr(ptr noundef nonnull @.str.38, ptr noundef nonnull @prog, ptr noundef %33) #5
  br label %109

35:                                               ; preds = %11
  %36 = tail call ptr @opt_arg()
  %37 = tail call ptr @X509_VERIFY_PARAM_lookup(ptr noundef %36) #5
  %38 = icmp eq ptr %37, null
  br i1 %38, label %39, label %42

39:                                               ; preds = %35
  %40 = tail call ptr @opt_arg()
  %41 = tail call i32 (ptr, ...) @opt_printf_stderr(ptr noundef nonnull @.str.39, ptr noundef nonnull @prog, ptr noundef %40) #5
  br label %109

42:                                               ; preds = %35
  %43 = tail call i32 @X509_VERIFY_PARAM_set1(ptr noundef nonnull %1, ptr noundef nonnull %37) #5
  br label %108

44:                                               ; preds = %11
  %45 = tail call ptr @opt_arg()
  %46 = tail call i32 @atoi(ptr nocapture noundef %45) #7
  %47 = icmp sgt i32 %46, -1
  br i1 %47, label %48, label %108

48:                                               ; preds = %44
  tail call void @X509_VERIFY_PARAM_set_depth(ptr noundef nonnull %1, i32 noundef %46) #5
  br label %108

49:                                               ; preds = %11
  %50 = tail call ptr @opt_arg()
  %51 = tail call i32 @atoi(ptr nocapture noundef %50) #7
  %52 = icmp sgt i32 %51, -1
  br i1 %52, label %53, label %108

53:                                               ; preds = %49
  tail call void @X509_VERIFY_PARAM_set_auth_level(ptr noundef nonnull %1, i32 noundef %51) #5
  br label %108

54:                                               ; preds = %11
  %55 = tail call ptr @opt_arg()
  %56 = call i32 @opt_intmax(ptr noundef %55, ptr noundef nonnull %3)
  %.not55 = icmp eq i32 %56, 0
  br i1 %.not55, label %109, label %57

57:                                               ; preds = %54
  %58 = load i64, ptr %3, align 8, !tbaa !5
  call void @X509_VERIFY_PARAM_set_time(ptr noundef nonnull %1, i64 noundef %58) #5
  br label %108

59:                                               ; preds = %11
  %60 = tail call ptr @opt_arg()
  %61 = tail call i32 @X509_VERIFY_PARAM_set1_host(ptr noundef nonnull %1, ptr noundef %60, i64 noundef 0) #5
  %.not54 = icmp eq i32 %61, 0
  br i1 %.not54, label %109, label %108

62:                                               ; preds = %11
  %63 = tail call ptr @opt_arg()
  %64 = tail call i32 @X509_VERIFY_PARAM_set1_email(ptr noundef nonnull %1, ptr noundef %63, i64 noundef 0) #5
  %.not53 = icmp eq i32 %64, 0
  br i1 %.not53, label %109, label %108

65:                                               ; preds = %11
  %66 = tail call ptr @opt_arg()
  %67 = tail call i32 @X509_VERIFY_PARAM_set1_ip_asc(ptr noundef nonnull %1, ptr noundef %66) #5
  %.not52 = icmp eq i32 %67, 0
  br i1 %.not52, label %109, label %108

68:                                               ; preds = %11
  %69 = tail call i32 @X509_VERIFY_PARAM_set_flags(ptr noundef nonnull %1, i64 noundef 16) #5
  br label %108

70:                                               ; preds = %11
  %71 = tail call i32 @X509_VERIFY_PARAM_set_flags(ptr noundef nonnull %1, i64 noundef 4) #5
  br label %108

72:                                               ; preds = %11
  %73 = tail call i32 @X509_VERIFY_PARAM_set_flags(ptr noundef nonnull %1, i64 noundef 12) #5
  br label %108

74:                                               ; preds = %11
  %75 = tail call i32 @X509_VERIFY_PARAM_set_flags(ptr noundef nonnull %1, i64 noundef 128) #5
  br label %108

76:                                               ; preds = %11
  %77 = tail call i32 @X509_VERIFY_PARAM_set_flags(ptr noundef nonnull %1, i64 noundef 256) #5
  br label %108

78:                                               ; preds = %11
  %79 = tail call i32 @X509_VERIFY_PARAM_set_flags(ptr noundef nonnull %1, i64 noundef 512) #5
  br label %108

80:                                               ; preds = %11
  %81 = tail call i32 @X509_VERIFY_PARAM_set_flags(ptr noundef nonnull %1, i64 noundef 1024) #5
  br label %108

82:                                               ; preds = %11
  %83 = tail call i32 @X509_VERIFY_PARAM_set_flags(ptr noundef nonnull %1, i64 noundef 32) #5
  br label %108

84:                                               ; preds = %11
  %85 = tail call i32 @X509_VERIFY_PARAM_set_flags(ptr noundef nonnull %1, i64 noundef 4096) #5
  br label %108

86:                                               ; preds = %11
  %87 = tail call i32 @X509_VERIFY_PARAM_set_flags(ptr noundef nonnull %1, i64 noundef 8192) #5
  br label %108

88:                                               ; preds = %11
  %89 = tail call i32 @X509_VERIFY_PARAM_set_flags(ptr noundef nonnull %1, i64 noundef 2048) #5
  br label %108

90:                                               ; preds = %11
  %91 = tail call i32 @X509_VERIFY_PARAM_set_flags(ptr noundef nonnull %1, i64 noundef 16384) #5
  br label %108

92:                                               ; preds = %11
  %93 = tail call i32 @X509_VERIFY_PARAM_set_flags(ptr noundef nonnull %1, i64 noundef 32768) #5
  br label %108

94:                                               ; preds = %11
  %95 = tail call i32 @X509_VERIFY_PARAM_set_flags(ptr noundef nonnull %1, i64 noundef 65536) #5
  br label %108

96:                                               ; preds = %11
  %97 = tail call i32 @X509_VERIFY_PARAM_set_flags(ptr noundef nonnull %1, i64 noundef 196608) #5
  br label %108

98:                                               ; preds = %11
  %99 = tail call i32 @X509_VERIFY_PARAM_set_flags(ptr noundef nonnull %1, i64 noundef 131072) #5
  br label %108

100:                                              ; preds = %11
  %101 = tail call i32 @X509_VERIFY_PARAM_set_flags(ptr noundef nonnull %1, i64 noundef 524288) #5
  br label %108

102:                                              ; preds = %11
  %103 = tail call i32 @X509_VERIFY_PARAM_set_flags(ptr noundef nonnull %1, i64 noundef 1048576) #5
  br label %108

104:                                              ; preds = %11
  %105 = tail call i32 @X509_VERIFY_PARAM_set_flags(ptr noundef nonnull %1, i64 noundef 2097152) #5
  br label %108

106:                                              ; preds = %11
  %107 = tail call i32 @X509_VERIFY_PARAM_set_flags(ptr noundef nonnull %1, i64 noundef 64) #5
  br label %108

108:                                              ; preds = %65, %62, %59, %49, %53, %44, %48, %28, %106, %104, %102, %100, %98, %96, %94, %92, %90, %88, %86, %84, %82, %80, %78, %76, %74, %72, %70, %68, %57, %42, %19, %11
  br label %109

109:                                              ; preds = %65, %62, %59, %54, %108, %39, %32, %25, %16
  %.0 = phi i32 [ 1, %108 ], [ 0, %39 ], [ 0, %25 ], [ 0, %32 ], [ 0, %16 ], [ 0, %54 ], [ 0, %59 ], [ 0, %62 ], [ 0, %65 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #5
  ret i32 %.0
}

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

; Function Attrs: nounwind uwtable
declare dso_local ptr @opt_arg() local_unnamed_addr #3

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

declare i32 @X509_PURPOSE_get_by_sname(ptr noundef) local_unnamed_addr #2

declare ptr @X509_PURPOSE_get0(i32 noundef) local_unnamed_addr #2

declare i32 @X509_PURPOSE_get_id(ptr noundef) local_unnamed_addr #2

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

declare ptr @X509_VERIFY_PARAM_lookup(ptr noundef) local_unnamed_addr #2

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

; Function Attrs: inlinehint mustprogress nofree nounwind willreturn memory(read) uwtable
declare i32 @atoi(ptr nocapture noundef nonnull) local_unnamed_addr #4

declare void @X509_VERIFY_PARAM_set_depth(ptr noundef, i32 noundef) local_unnamed_addr #2

declare void @X509_VERIFY_PARAM_set_auth_level(ptr noundef, i32 noundef) local_unnamed_addr #2

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

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

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

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

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { noreturn "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 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 = { inlinehint mustprogress nofree nounwind willreturn memory(read) 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 #5 = { nounwind }
attributes #6 = { noreturn nounwind }
attributes #7 = { 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 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}


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