; LLVM IR from openssl/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"

%struct.options_st = type { ptr, i32, i32, ptr }

@OPT_HELP_STR = external dso_local constant [3 x i8], align 1
@OPT_MORE_STR = external dso_local constant [3 x i8], align 1
@OPT_SECTION_STR = external dso_local constant [3 x i8], align 1
@OPT_PARAM_STR = external dso_local constant [3 x i8], align 1
@prog = external hidden global [40 x i8], align 16
@argc = external hidden global i32, align 4
@argv = external hidden global ptr, align 8
@opts = external hidden global ptr, align 8
@unknown = external hidden global ptr, align 8
@.str.1 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [64 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [41 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [64 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [41 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [30 x i8], align 1
@unknown_name = external hidden global ptr, align 8
@.str.8 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [67 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: nounwind uwtable
declare dso_local ptr @opt_progname(ptr noundef) #1

; Function Attrs: nounwind uwtable
define dso_local ptr @opt_init(i32 noundef %0, ptr noundef %1, ptr noundef %2) #1 {
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  store i32 %0, ptr %4, align 4, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !9
  store ptr %2, ptr %6, align 8, !tbaa !9
  %11 = load i32, ptr %4, align 4, !tbaa !5
  store i32 %11, ptr @argc, align 4, !tbaa !5
  %12 = load ptr, ptr %5, align 8, !tbaa !9
  store ptr %12, ptr @argv, align 8, !tbaa !9
  call void @opt_begin()
  %13 = load ptr, ptr %6, align 8, !tbaa !9
  store ptr %13, ptr @opts, align 8, !tbaa !9
  store ptr null, ptr @unknown, align 8, !tbaa !9
  %14 = load ptr, ptr @argv, align 8, !tbaa !9
  %15 = getelementptr inbounds ptr, ptr %14, i64 0
  %16 = load ptr, ptr %15, align 8, !tbaa !9
  %17 = call ptr @opt_progname(ptr noundef %16)
  br label %18

18:                                               ; preds = %180, %3
  %19 = load ptr, ptr %6, align 8, !tbaa !9
  %20 = getelementptr inbounds %struct.options_st, ptr %19, i32 0, i32 0
  %21 = load ptr, ptr %20, align 8, !tbaa !11
  %22 = icmp ne ptr %21, null
  br i1 %22, label %23, label %28

23:                                               ; preds = %18
  %24 = load ptr, ptr %6, align 8, !tbaa !9
  %25 = getelementptr inbounds %struct.options_st, ptr %24, i32 0, i32 0
  %26 = load ptr, ptr %25, align 8, !tbaa !11
  %27 = icmp ne ptr %26, @OPT_PARAM_STR
  br label %28

28:                                               ; preds = %23, %18
  %29 = phi i1 [ false, %18 ], [ %27, %23 ]
  br i1 %29, label %30, label %183

30:                                               ; preds = %28
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #5
  %31 = load ptr, ptr %6, align 8, !tbaa !9
  %32 = getelementptr inbounds %struct.options_st, ptr %31, i32 0, i32 0
  %33 = load ptr, ptr %32, align 8, !tbaa !11
  %34 = icmp eq ptr %33, @OPT_HELP_STR
  br i1 %34, label %45, label %35

35:                                               ; preds = %30
  %36 = load ptr, ptr %6, align 8, !tbaa !9
  %37 = getelementptr inbounds %struct.options_st, ptr %36, i32 0, i32 0
  %38 = load ptr, ptr %37, align 8, !tbaa !11
  %39 = icmp eq ptr %38, @OPT_MORE_STR
  br i1 %39, label %45, label %40

40:                                               ; preds = %35
  %41 = load ptr, ptr %6, align 8, !tbaa !9
  %42 = getelementptr inbounds %struct.options_st, ptr %41, i32 0, i32 0
  %43 = load ptr, ptr %42, align 8, !tbaa !11
  %44 = icmp eq ptr %43, @OPT_SECTION_STR
  br i1 %44, label %45, label %46

45:                                               ; preds = %40, %35, %30
  store i32 4, ptr %10, align 4
  br label %177

46:                                               ; preds = %40
  %47 = load ptr, ptr %6, align 8, !tbaa !9
  %48 = getelementptr inbounds %struct.options_st, ptr %47, i32 0, i32 2
  %49 = load i32, ptr %48, align 4, !tbaa !13
  store i32 %49, ptr %9, align 4, !tbaa !5
  %50 = load ptr, ptr %6, align 8, !tbaa !9
  %51 = getelementptr inbounds %struct.options_st, ptr %50, i32 0, i32 0
  %52 = load ptr, ptr %51, align 8, !tbaa !11
  %53 = getelementptr inbounds i8, ptr %52, i64 0
  %54 = load i8, ptr %53, align 1, !tbaa !14
  %55 = sext i8 %54 to i32
  %56 = icmp ne i32 %55, 45
  br i1 %56, label %57, label %58

57:                                               ; preds = %46
  br label %60

58:                                               ; preds = %46
  call void @OPENSSL_die(ptr noundef @.str.1, ptr noundef @.str.2, i32 noundef 188) #6
  unreachable

59:                                               ; No predecessors!
  br label %60

60:                                               ; preds = %59, %57
  %61 = phi i32 [ 0, %57 ], [ 1, %59 ]
  %62 = load ptr, ptr %6, align 8, !tbaa !9
  %63 = getelementptr inbounds %struct.options_st, ptr %62, i32 0, i32 2
  %64 = load i32, ptr %63, align 4, !tbaa !13
  %65 = icmp eq i32 %64, 46
  br i1 %65, label %66, label %76

66:                                               ; preds = %60
  %67 = load ptr, ptr %6, align 8, !tbaa !9
  %68 = getelementptr inbounds %struct.options_st, ptr %67, i32 0, i32 1
  %69 = load i32, ptr %68, align 8, !tbaa !15
  %70 = icmp eq i32 %69, 0
  br i1 %70, label %71, label %72

71:                                               ; preds = %66
  br label %74

72:                                               ; preds = %66
  call void @OPENSSL_die(ptr noundef @.str.3, ptr noundef @.str.2, i32 noundef 190) #6
  unreachable

73:                                               ; No predecessors!
  br label %74

74:                                               ; preds = %73, %71
  %75 = phi i32 [ 0, %71 ], [ 1, %73 ]
  br label %91

76:                                               ; preds = %60
  %77 = load ptr, ptr %6, align 8, !tbaa !9
  %78 = getelementptr inbounds %struct.options_st, ptr %77, i32 0, i32 1
  %79 = load i32, ptr %78, align 8, !tbaa !15
  %80 = icmp eq i32 %79, -2
  br i1 %80, label %86, label %81

81:                                               ; preds = %76
  %82 = load ptr, ptr %6, align 8, !tbaa !9
  %83 = getelementptr inbounds %struct.options_st, ptr %82, i32 0, i32 1
  %84 = load i32, ptr %83, align 8, !tbaa !15
  %85 = icmp sgt i32 %84, 0
  br i1 %85, label %86, label %87

86:                                               ; preds = %81, %76
  br label %89

87:                                               ; preds = %81
  call void @OPENSSL_die(ptr noundef @.str.4, ptr noundef @.str.2, i32 noundef 192) #6
  unreachable

88:                                               ; No predecessors!
  br label %89

89:                                               ; preds = %88, %86
  %90 = phi i32 [ 0, %86 ], [ 1, %88 ]
  br label %91

91:                                               ; preds = %89, %74
  %92 = load i32, ptr %9, align 4, !tbaa !5
  switch i32 %92, label %94 [
    i32 0, label %93
    i32 45, label %93
    i32 46, label %93
    i32 47, label %93
    i32 60, label %93
    i32 62, label %93
    i32 69, label %93
    i32 70, label %93
    i32 77, label %93
    i32 85, label %93
    i32 102, label %93
    i32 108, label %93
    i32 110, label %93
    i32 112, label %93
    i32 115, label %93
    i32 117, label %93
    i32 99, label %93
    i32 58, label %93
    i32 78, label %93
    i32 65, label %93
  ]

93:                                               ; preds = %91, %91, %91, %91, %91, %91, %91, %91, %91, %91, %91, %91, %91, %91, %91, %91, %91, %91, %91, %91
  br label %95

94:                                               ; preds = %91
  call void @OPENSSL_die(ptr noundef @.str.5, ptr noundef @.str.2, i32 noundef 200) #6
  unreachable

95:                                               ; preds = %93
  %96 = load ptr, ptr %6, align 8, !tbaa !9
  %97 = getelementptr inbounds %struct.options_st, ptr %96, i64 1
  store ptr %97, ptr %7, align 8, !tbaa !9
  br label %98

98:                                               ; preds = %135, %95
  %99 = load ptr, ptr %7, align 8, !tbaa !9
  %100 = getelementptr inbounds %struct.options_st, ptr %99, i32 0, i32 0
  %101 = load ptr, ptr %100, align 8, !tbaa !11
  %102 = icmp ne ptr %101, null
  br i1 %102, label %103, label %138

103:                                              ; preds = %98
  %104 = load ptr, ptr %7, align 8, !tbaa !9
  %105 = getelementptr inbounds %struct.options_st, ptr %104, i32 0, i32 1
  %106 = load i32, ptr %105, align 8, !tbaa !15
  %107 = icmp ne i32 %106, -2
  br i1 %107, label %108, label %117

108:                                              ; preds = %103
  %109 = load ptr, ptr %6, align 8, !tbaa !9
  %110 = getelementptr inbounds %struct.options_st, ptr %109, i32 0, i32 0
  %111 = load ptr, ptr %110, align 8, !tbaa !11
  %112 = load ptr, ptr %7, align 8, !tbaa !9
  %113 = getelementptr inbounds %struct.options_st, ptr %112, i32 0, i32 0
  %114 = load ptr, ptr %113, align 8, !tbaa !11
  %115 = call i32 @strcmp(ptr noundef %111, ptr noundef %114) #7
  %116 = icmp eq i32 %115, 0
  br label %117

117:                                              ; preds = %108, %103
  %118 = phi i1 [ false, %103 ], [ %116, %108 ]
  %119 = zext i1 %118 to i32
  store i32 %119, ptr %8, align 4, !tbaa !5
  %120 = load i32, ptr %8, align 4, !tbaa !5
  %121 = icmp ne i32 %120, 0
  br i1 %121, label %122, label %134

122:                                              ; preds = %117
  %123 = load ptr, ptr %6, align 8, !tbaa !9
  %124 = getelementptr inbounds %struct.options_st, ptr %123, i32 0, i32 0
  %125 = load ptr, ptr %124, align 8, !tbaa !11
  %126 = call i32 (ptr, ...) @opt_printf_stderr(ptr noundef @.str.6, ptr noundef @prog, ptr noundef %125)
  %127 = load i32, ptr %8, align 4, !tbaa !5
  %128 = icmp ne i32 %127, 0
  br i1 %128, label %130, label %129

129:                                              ; preds = %122
  br label %132

130:                                              ; preds = %122
  call void @OPENSSL_die(ptr noundef @.str.7, ptr noundef @.str.2, i32 noundef 213) #6
  unreachable

131:                                              ; No predecessors!
  br label %132

132:                                              ; preds = %131, %129
  %133 = phi i32 [ 0, %129 ], [ 1, %131 ]
  br label %134

134:                                              ; preds = %132, %117
  br label %135

135:                                              ; preds = %134
  %136 = load ptr, ptr %7, align 8, !tbaa !9
  %137 = getelementptr inbounds %struct.options_st, ptr %136, i32 1
  store ptr %137, ptr %7, align 8, !tbaa !9
  br label %98, !llvm.loop !16

138:                                              ; preds = %98
  %139 = load ptr, ptr %6, align 8, !tbaa !9
  %140 = getelementptr inbounds %struct.options_st, ptr %139, i32 0, i32 0
  %141 = load ptr, ptr %140, align 8, !tbaa !11
  %142 = getelementptr inbounds i8, ptr %141, i64 0
  %143 = load i8, ptr %142, align 1, !tbaa !14
  %144 = sext i8 %143 to i32
  %145 = icmp eq i32 %144, 0
  br i1 %145, label %146, label %176

146:                                              ; preds = %138
  %147 = load ptr, ptr @unknown_name, align 8, !tbaa !9
  %148 = icmp ne ptr %147, null
  br i1 %148, label %149, label %150

149:                                              ; preds = %146
  br label %152

150:                                              ; preds = %146
  call void @OPENSSL_die(ptr noundef @.str.8, ptr noundef @.str.2, i32 noundef 218) #6
  unreachable

151:                                              ; No predecessors!
  br label %152

152:                                              ; preds = %151, %149
  %153 = phi i32 [ 0, %149 ], [ 1, %151 ]
  %154 = load ptr, ptr @unknown, align 8, !tbaa !9
  %155 = icmp eq ptr %154, null
  br i1 %155, label %156, label %157

156:                                              ; preds = %152
  br label %159

157:                                              ; preds = %152
  call void @OPENSSL_die(ptr noundef @.str.9, ptr noundef @.str.2, i32 noundef 219) #6
  unreachable

158:                                              ; No predecessors!
  br label %159

159:                                              ; preds = %158, %156
  %160 = phi i32 [ 0, %156 ], [ 1, %158 ]
  %161 = load ptr, ptr %6, align 8, !tbaa !9
  store ptr %161, ptr @unknown, align 8, !tbaa !9
  %162 = load ptr, ptr @unknown, align 8, !tbaa !9
  %163 = getelementptr inbounds %struct.options_st, ptr %162, i32 0, i32 2
  %164 = load i32, ptr %163, align 4, !tbaa !13
  %165 = icmp eq i32 %164, 0
  br i1 %165, label %171, label %166

166:                                              ; preds = %159
  %167 = load ptr, ptr @unknown, align 8, !tbaa !9
  %168 = getelementptr inbounds %struct.options_st, ptr %167, i32 0, i32 2
  %169 = load i32, ptr %168, align 4, !tbaa !13
  %170 = icmp eq i32 %169, 45
  br i1 %170, label %171, label %172

171:                                              ; preds = %166, %159
  br label %174

172:                                              ; preds = %166
  call void @OPENSSL_die(ptr noundef @.str.10, ptr noundef @.str.2, i32 noundef 221) #6
  unreachable

173:                                              ; No predecessors!
  br label %174

174:                                              ; preds = %173, %171
  %175 = phi i32 [ 0, %171 ], [ 1, %173 ]
  br label %176

176:                                              ; preds = %174, %138
  store i32 0, ptr %10, align 4
  br label %177

177:                                              ; preds = %176, %45
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #5
  %178 = load i32, ptr %10, align 4
  switch i32 %178, label %184 [
    i32 0, label %179
    i32 4, label %180
  ]

179:                                              ; preds = %177
  br label %180

180:                                              ; preds = %179, %177
  %181 = load ptr, ptr %6, align 8, !tbaa !9
  %182 = getelementptr inbounds %struct.options_st, ptr %181, i32 1
  store ptr %182, ptr %6, align 8, !tbaa !9
  br label %18, !llvm.loop !18

183:                                              ; preds = %28
  ret ptr @prog

184:                                              ; preds = %177
  unreachable
}

; Function Attrs: nounwind uwtable
declare dso_local void @opt_begin() #1

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

; Function Attrs: nounwind willreturn memory(read)
declare i32 @strcmp(ptr noundef, ptr noundef) #3

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

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 = { 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 #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 = { "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, !10, i64 0}
!12 = !{!"options_st", !10, i64 0, !6, i64 8, !6, i64 12, !10, i64 16}
!13 = !{!12, !6, i64 12}
!14 = !{!7, !7, i64 0}
!15 = !{!12, !6, i64 8}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
!18 = distinct !{!18, !17}


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

@OPT_HELP_STR = external dso_local constant [3 x i8], align 1
@OPT_MORE_STR = external dso_local constant [3 x i8], align 1
@OPT_SECTION_STR = external dso_local constant [3 x i8], align 1
@OPT_PARAM_STR = external dso_local constant [3 x i8], align 1
@prog = external hidden global [40 x i8], align 16
@argc = external hidden local_unnamed_addr global i32, align 4
@argv = external hidden local_unnamed_addr global ptr, align 8
@opts = external hidden local_unnamed_addr global ptr, align 8
@unknown = external hidden local_unnamed_addr global ptr, align 8
@.str.1 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [64 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [41 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [64 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [41 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [30 x i8], align 1
@unknown_name = external hidden local_unnamed_addr global ptr, align 8
@.str.8 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [67 x i8], align 1

; Function Attrs: nounwind uwtable
declare dso_local ptr @opt_progname(ptr noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
define dso_local noundef nonnull ptr @opt_init(i32 noundef %0, ptr noundef %1, ptr noundef %2) local_unnamed_addr #0 {
  store i32 %0, ptr @argc, align 4, !tbaa !5
  store ptr %1, ptr @argv, align 8, !tbaa !9
  tail call void @opt_begin()
  store ptr %2, ptr @opts, align 8, !tbaa !9
  store ptr null, ptr @unknown, align 8, !tbaa !9
  %4 = load ptr, ptr @argv, align 8, !tbaa !9
  %5 = load ptr, ptr %4, align 8, !tbaa !9
  %6 = tail call ptr @opt_progname(ptr noundef %5)
  %7 = load ptr, ptr %2, align 8, !tbaa !11
  %.not56 = icmp eq ptr %7, null
  %.not3257 = icmp eq ptr %7, @OPT_PARAM_STR
  %or.cond58 = or i1 %.not56, %.not3257
  br i1 %or.cond58, label %.critedge, label %.lr.ph62

.lr.ph62:                                         ; preds = %3
  %8 = load ptr, ptr @unknown_name, align 8
  %.fr = freeze ptr %8
  %.not35 = icmp eq ptr %.fr, null
  br i1 %.not35, label %.lr.ph62.split.us, label %.lr.ph62.split.preheader

.lr.ph62.split.preheader:                         ; preds = %.lr.ph62
  %unknown.promoted = load ptr, ptr @unknown, align 8, !tbaa !9
  br label %.lr.ph62.split

.lr.ph62.split.us:                                ; preds = %.lr.ph62, %36
  %9 = phi ptr [ %37, %36 ], [ %7, %.lr.ph62 ]
  %.060.us = phi ptr [ %38, %36 ], [ %2, %.lr.ph62 ]
  %10 = icmp eq ptr %9, @OPT_HELP_STR
  %11 = icmp eq ptr %9, @OPT_MORE_STR
  %or.cond37.us = or i1 %10, %11
  %12 = icmp eq ptr %9, @OPT_SECTION_STR
  %or.cond38.us = or i1 %12, %or.cond37.us
  br i1 %or.cond38.us, label %.lr.ph62.split.us._crit_edge, label %13

.lr.ph62.split.us._crit_edge:                     ; preds = %.lr.ph62.split.us
  %.phi.trans.insert92 = getelementptr inbounds i8, ptr %.060.us, i64 24
  %.pre93 = load ptr, ptr %.phi.trans.insert92, align 8, !tbaa !11
  br label %36

13:                                               ; preds = %.lr.ph62.split.us
  %14 = getelementptr inbounds i8, ptr %.060.us, i64 12
  %15 = load i32, ptr %14, align 4, !tbaa !13
  %16 = load i8, ptr %9, align 1, !tbaa !14
  %.not33.us = icmp eq i8 %16, 45
  br i1 %.not33.us, label %.split.us, label %17

17:                                               ; preds = %13
  %18 = icmp eq i32 %15, 46
  %19 = getelementptr inbounds i8, ptr %.060.us, i64 8
  %20 = load i32, ptr %19, align 8, !tbaa !15
  br i1 %18, label %25, label %21

21:                                               ; preds = %17
  %22 = icmp eq i32 %20, -2
  %23 = icmp sgt i32 %20, 0
  %or.cond39.us = or i1 %22, %23
  br i1 %or.cond39.us, label %24, label %.split64.us

24:                                               ; preds = %21
  switch i32 %15, label %.split66.us [
    i32 0, label %.thread.us
    i32 45, label %.thread.us
    i32 65, label %.thread.us
    i32 47, label %.thread.us
    i32 60, label %.thread.us
    i32 62, label %.thread.us
    i32 69, label %.thread.us
    i32 70, label %.thread.us
    i32 77, label %.thread.us
    i32 85, label %.thread.us
    i32 102, label %.thread.us
    i32 108, label %.thread.us
    i32 110, label %.thread.us
    i32 112, label %.thread.us
    i32 115, label %.thread.us
    i32 117, label %.thread.us
    i32 99, label %.thread.us
    i32 58, label %.thread.us
    i32 78, label %.thread.us
  ]

25:                                               ; preds = %17
  %26 = icmp eq i32 %20, 0
  br i1 %26, label %.thread.us, label %.split68.us

.thread.us:                                       ; preds = %25, %24, %24, %24, %24, %24, %24, %24, %24, %24, %24, %24, %24, %24, %24, %24, %24, %24, %24, %24
  %.02650.us = getelementptr inbounds i8, ptr %.060.us, i64 24
  %27 = load ptr, ptr %.02650.us, align 8, !tbaa !11
  %.not3451.us = icmp eq ptr %27, null
  br i1 %.not3451.us, label %._crit_edge.us, label %.lr.ph.us

.lr.ph.us:                                        ; preds = %.thread.us, %.critedge41.us
  %28 = phi ptr [ %34, %.critedge41.us ], [ %27, %.thread.us ]
  %.02653.us = phi ptr [ %.026.us, %.critedge41.us ], [ %.02650.us, %.thread.us ]
  %.0.pn52.us = phi ptr [ %.02653.us, %.critedge41.us ], [ %.060.us, %.thread.us ]
  %29 = getelementptr inbounds i8, ptr %.0.pn52.us, i64 32
  %30 = load i32, ptr %29, align 8, !tbaa !15
  %.not36.us = icmp eq i32 %30, -2
  br i1 %.not36.us, label %.critedge41.us, label %31

31:                                               ; preds = %.lr.ph.us
  %32 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %9, ptr noundef nonnull dereferenceable(1) %28) #4
  %33 = icmp eq i32 %32, 0
  br i1 %33, label %.split70.us, label %.critedge41.us

.critedge41.us:                                   ; preds = %31, %.lr.ph.us
  %.026.us = getelementptr inbounds i8, ptr %.02653.us, i64 24
  %34 = load ptr, ptr %.026.us, align 8, !tbaa !11
  %.not34.us = icmp eq ptr %34, null
  br i1 %.not34.us, label %._crit_edge.us, label %.lr.ph.us, !llvm.loop !16

._crit_edge.us:                                   ; preds = %.critedge41.us, %.thread.us
  %35 = icmp eq i8 %16, 0
  br i1 %35, label %.split72.us, label %36

36:                                               ; preds = %.lr.ph62.split.us._crit_edge, %._crit_edge.us
  %37 = phi ptr [ %.pre93, %.lr.ph62.split.us._crit_edge ], [ %27, %._crit_edge.us ]
  %38 = getelementptr inbounds i8, ptr %.060.us, i64 24
  %.not.us = icmp eq ptr %37, null
  %.not32.us = icmp eq ptr %37, @OPT_PARAM_STR
  %or.cond.us = or i1 %.not.us, %.not32.us
  br i1 %or.cond.us, label %.critedge, label %.lr.ph62.split.us, !llvm.loop !18

.lr.ph62.split:                                   ; preds = %.lr.ph62.split.preheader, %72
  %39 = phi ptr [ %73, %72 ], [ %7, %.lr.ph62.split.preheader ]
  %.060 = phi ptr [ %74, %72 ], [ %2, %.lr.ph62.split.preheader ]
  %.05559 = phi ptr [ %.054, %72 ], [ %unknown.promoted, %.lr.ph62.split.preheader ]
  %40 = icmp eq ptr %39, @OPT_HELP_STR
  %41 = icmp eq ptr %39, @OPT_MORE_STR
  %or.cond37 = or i1 %40, %41
  %42 = icmp eq ptr %39, @OPT_SECTION_STR
  %or.cond38 = or i1 %42, %or.cond37
  br i1 %or.cond38, label %.lr.ph62.split._crit_edge, label %43

.lr.ph62.split._crit_edge:                        ; preds = %.lr.ph62.split
  %.phi.trans.insert = getelementptr inbounds i8, ptr %.060, i64 24
  %.pre = load ptr, ptr %.phi.trans.insert, align 8, !tbaa !11
  br label %72

43:                                               ; preds = %.lr.ph62.split
  %44 = getelementptr inbounds i8, ptr %.060, i64 12
  %45 = load i32, ptr %44, align 4, !tbaa !13
  %46 = load i8, ptr %39, align 1, !tbaa !14
  %.not33 = icmp eq i8 %46, 45
  br i1 %.not33, label %.split.us, label %47

.split.us:                                        ; preds = %43, %13
  tail call void @OPENSSL_die(ptr noundef nonnull @.str.1, ptr noundef nonnull @.str.2, i32 noundef 188) #5
  unreachable

47:                                               ; preds = %43
  %48 = icmp eq i32 %45, 46
  %49 = getelementptr inbounds i8, ptr %.060, i64 8
  %50 = load i32, ptr %49, align 8, !tbaa !15
  br i1 %48, label %51, label %53

51:                                               ; preds = %47
  %52 = icmp eq i32 %50, 0
  br i1 %52, label %.thread, label %.split68.us

.split68.us:                                      ; preds = %51, %25
  tail call void @OPENSSL_die(ptr noundef nonnull @.str.3, ptr noundef nonnull @.str.2, i32 noundef 190) #5
  unreachable

53:                                               ; preds = %47
  %54 = icmp eq i32 %50, -2
  %55 = icmp sgt i32 %50, 0
  %or.cond39 = or i1 %54, %55
  br i1 %or.cond39, label %56, label %.split64.us

.split64.us:                                      ; preds = %53, %21
  tail call void @OPENSSL_die(ptr noundef nonnull @.str.4, ptr noundef nonnull @.str.2, i32 noundef 192) #5
  unreachable

56:                                               ; preds = %53
  switch i32 %45, label %.split66.us [
    i32 0, label %.thread
    i32 45, label %.thread
    i32 65, label %.thread
    i32 47, label %.thread
    i32 60, label %.thread
    i32 62, label %.thread
    i32 69, label %.thread
    i32 70, label %.thread
    i32 77, label %.thread
    i32 85, label %.thread
    i32 102, label %.thread
    i32 108, label %.thread
    i32 110, label %.thread
    i32 112, label %.thread
    i32 115, label %.thread
    i32 117, label %.thread
    i32 99, label %.thread
    i32 58, label %.thread
    i32 78, label %.thread
  ]

.split66.us:                                      ; preds = %56, %24
  tail call void @OPENSSL_die(ptr noundef nonnull @.str.5, ptr noundef nonnull @.str.2, i32 noundef 200) #5
  unreachable

.thread:                                          ; preds = %56, %51, %56, %56, %56, %56, %56, %56, %56, %56, %56, %56, %56, %56, %56, %56, %56, %56, %56, %56
  %.02650 = getelementptr inbounds i8, ptr %.060, i64 24
  %57 = load ptr, ptr %.02650, align 8, !tbaa !11
  %.not3451 = icmp eq ptr %57, null
  br i1 %.not3451, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %.thread, %.critedge41
  %58 = phi ptr [ %65, %.critedge41 ], [ %57, %.thread ]
  %.02653 = phi ptr [ %.026, %.critedge41 ], [ %.02650, %.thread ]
  %.0.pn52 = phi ptr [ %.02653, %.critedge41 ], [ %.060, %.thread ]
  %59 = getelementptr inbounds i8, ptr %.0.pn52, i64 32
  %60 = load i32, ptr %59, align 8, !tbaa !15
  %.not36 = icmp eq i32 %60, -2
  br i1 %.not36, label %.critedge41, label %61

61:                                               ; preds = %.lr.ph
  %62 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %39, ptr noundef nonnull dereferenceable(1) %58) #4
  %63 = icmp eq i32 %62, 0
  br i1 %63, label %.split70.us, label %.critedge41

.split70.us:                                      ; preds = %61, %31
  %.us-phi = phi ptr [ %9, %31 ], [ %39, %61 ]
  %64 = tail call i32 (ptr, ...) @opt_printf_stderr(ptr noundef nonnull @.str.6, ptr noundef nonnull @prog, ptr noundef nonnull %.us-phi) #6
  tail call void @OPENSSL_die(ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.2, i32 noundef 213) #5
  unreachable

.critedge41:                                      ; preds = %.lr.ph, %61
  %.026 = getelementptr inbounds i8, ptr %.02653, i64 24
  %65 = load ptr, ptr %.026, align 8, !tbaa !11
  %.not34 = icmp eq ptr %65, null
  br i1 %.not34, label %._crit_edge, label %.lr.ph, !llvm.loop !16

._crit_edge:                                      ; preds = %.critedge41, %.thread
  %66 = icmp eq i8 %46, 0
  br i1 %66, label %67, label %72

67:                                               ; preds = %._crit_edge
  %68 = icmp eq ptr %.05559, null
  br i1 %68, label %70, label %69

.split72.us:                                      ; preds = %._crit_edge.us
  tail call void @OPENSSL_die(ptr noundef nonnull @.str.8, ptr noundef nonnull @.str.2, i32 noundef 218) #5
  unreachable

69:                                               ; preds = %67
  tail call void @OPENSSL_die(ptr noundef nonnull @.str.9, ptr noundef nonnull @.str.2, i32 noundef 219) #5
  unreachable

70:                                               ; preds = %67
  store ptr %.060, ptr @unknown, align 8, !tbaa !9
  switch i32 %45, label %71 [
    i32 0, label %72
    i32 45, label %72
  ]

71:                                               ; preds = %70
  tail call void @OPENSSL_die(ptr noundef nonnull @.str.10, ptr noundef nonnull @.str.2, i32 noundef 221) #5
  unreachable

72:                                               ; preds = %.lr.ph62.split._crit_edge, %._crit_edge, %70, %70
  %73 = phi ptr [ %57, %._crit_edge ], [ %57, %70 ], [ %57, %70 ], [ %.pre, %.lr.ph62.split._crit_edge ]
  %.054 = phi ptr [ %.05559, %._crit_edge ], [ %.060, %70 ], [ %.060, %70 ], [ %.05559, %.lr.ph62.split._crit_edge ]
  %74 = getelementptr inbounds i8, ptr %.060, i64 24
  %.not = icmp eq ptr %73, null
  %.not32 = icmp eq ptr %73, @OPT_PARAM_STR
  %or.cond = or i1 %.not, %.not32
  br i1 %or.cond, label %.critedge, label %.lr.ph62.split, !llvm.loop !18

.critedge:                                        ; preds = %72, %36, %3
  ret ptr @prog
}

; Function Attrs: nounwind uwtable
declare dso_local void @opt_begin() local_unnamed_addr #0

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

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

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

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 = { 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 = { 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 = { "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 willreturn memory(read) }
attributes #5 = { noreturn nounwind }
attributes #6 = { 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 = !{!"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, !10, i64 0}
!12 = !{!"options_st", !10, i64 0, !6, i64 8, !6, i64 12, !10, i64 16}
!13 = !{!12, !6, i64 12}
!14 = !{!7, !7, i64 0}
!15 = !{!12, !6, i64 8}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
!18 = distinct !{!18, !17}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopInstSimplifyPass,LoopRotatePass,LoopSimplifyCFGPass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass