; LLVM IR from openanolis/openssl :: test/helpers (ssl_test_ctx)

; 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.ssl_test_ctx_option = type { ptr, ptr }
%struct.CONF_VALUE = type { ptr, ptr, ptr }
%struct.SSL_TEST_CTX = type { i32, i32, i32, i32, i32, %struct.SSL_TEST_EXTRA_CONF, %struct.SSL_TEST_EXTRA_CONF, i32, i32, i32, i32, i32, i32, i32, ptr, ptr, i32, i32, i32, i32, i32, ptr, i32, i32, i32, ptr, i32, i32, i32, i32, i32, ptr, ptr, ptr, ptr }
%struct.SSL_TEST_EXTRA_CONF = type { %struct.SSL_TEST_CLIENT_CONF, %struct.SSL_TEST_SERVER_CONF, %struct.SSL_TEST_SERVER_CONF }
%struct.SSL_TEST_CLIENT_CONF = type { i32, i32, i32, ptr, ptr, i32, ptr, ptr, ptr, i32, i32 }
%struct.SSL_TEST_SERVER_CONF = type { i32, ptr, ptr, i32, i32, ptr, ptr, i32, ptr }

@.str = external hidden unnamed_addr constant [80 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [15 x i8], align 1
@ssl_test_ctx_options = external hidden constant [32 x %struct.ssl_test_ctx_option], align 16
@.str.9 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [24 x i8], align 1

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

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

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

; Function Attrs: nounwind uwtable
declare dso_local void @SSL_TEST_CTX_free(ptr noundef) #0

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

20:                                               ; preds = %3
  %21 = load ptr, ptr %7, align 8, !tbaa !5
  %22 = call ptr @SSL_TEST_CTX_new(ptr noundef %21)
  store ptr %22, ptr %9, align 8, !tbaa !5
  %23 = call i32 @test_ptr(ptr noundef @.str, i32 noundef 867, ptr noundef @.str.2, ptr noundef %22)
  %24 = icmp ne i32 %23, 0
  br i1 %24, label %26, label %25

25:                                               ; preds = %20, %3
  br label %203

26:                                               ; preds = %20
  store i32 0, ptr %10, align 4, !tbaa !9
  br label %27

27:                                               ; preds = %199, %26
  %28 = load i32, ptr %10, align 4, !tbaa !9
  %29 = load ptr, ptr %8, align 8, !tbaa !5
  %30 = call ptr @ossl_check_const_CONF_VALUE_sk_type(ptr noundef %29)
  %31 = call i32 @OPENSSL_sk_num(ptr noundef %30)
  %32 = icmp slt i32 %28, %31
  br i1 %32, label %33, label %202

33:                                               ; preds = %27
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #5
  store i32 0, ptr %12, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #5
  %34 = load ptr, ptr %8, align 8, !tbaa !5
  %35 = call ptr @ossl_check_const_CONF_VALUE_sk_type(ptr noundef %34)
  %36 = load i32, ptr %10, align 4, !tbaa !9
  %37 = call ptr @OPENSSL_sk_value(ptr noundef %35, i32 noundef %36)
  store ptr %37, ptr %13, align 8, !tbaa !5
  %38 = load ptr, ptr %13, align 8, !tbaa !5
  %39 = getelementptr inbounds %struct.CONF_VALUE, ptr %38, i32 0, i32 1
  %40 = load ptr, ptr %39, align 8, !tbaa !11
  %41 = call i32 @strcmp(ptr noundef %40, ptr noundef @.str.3) #6
  %42 = icmp eq i32 %41, 0
  br i1 %42, label %43, label %55

43:                                               ; preds = %33
  %44 = load ptr, ptr %9, align 8, !tbaa !5
  %45 = getelementptr inbounds %struct.SSL_TEST_CTX, ptr %44, i32 0, i32 5
  %46 = getelementptr inbounds %struct.SSL_TEST_EXTRA_CONF, ptr %45, i32 0, i32 0
  %47 = load ptr, ptr %5, align 8, !tbaa !5
  %48 = load ptr, ptr %13, align 8, !tbaa !5
  %49 = getelementptr inbounds %struct.CONF_VALUE, ptr %48, i32 0, i32 2
  %50 = load ptr, ptr %49, align 8, !tbaa !13
  %51 = call i32 @parse_client_options(ptr noundef %46, ptr noundef %47, ptr noundef %50)
  %52 = icmp ne i32 %51, 0
  br i1 %52, label %54, label %53

53:                                               ; preds = %43
  store i32 2, ptr %14, align 4
  br label %196

54:                                               ; preds = %43
  br label %195

55:                                               ; preds = %33
  %56 = load ptr, ptr %13, align 8, !tbaa !5
  %57 = getelementptr inbounds %struct.CONF_VALUE, ptr %56, i32 0, i32 1
  %58 = load ptr, ptr %57, align 8, !tbaa !11
  %59 = call i32 @strcmp(ptr noundef %58, ptr noundef @.str.4) #6
  %60 = icmp eq i32 %59, 0
  br i1 %60, label %61, label %73

61:                                               ; preds = %55
  %62 = load ptr, ptr %9, align 8, !tbaa !5
  %63 = getelementptr inbounds %struct.SSL_TEST_CTX, ptr %62, i32 0, i32 5
  %64 = getelementptr inbounds %struct.SSL_TEST_EXTRA_CONF, ptr %63, i32 0, i32 1
  %65 = load ptr, ptr %5, align 8, !tbaa !5
  %66 = load ptr, ptr %13, align 8, !tbaa !5
  %67 = getelementptr inbounds %struct.CONF_VALUE, ptr %66, i32 0, i32 2
  %68 = load ptr, ptr %67, align 8, !tbaa !13
  %69 = call i32 @parse_server_options(ptr noundef %64, ptr noundef %65, ptr noundef %68)
  %70 = icmp ne i32 %69, 0
  br i1 %70, label %72, label %71

71:                                               ; preds = %61
  store i32 2, ptr %14, align 4
  br label %196

72:                                               ; preds = %61
  br label %194

73:                                               ; preds = %55
  %74 = load ptr, ptr %13, align 8, !tbaa !5
  %75 = getelementptr inbounds %struct.CONF_VALUE, ptr %74, i32 0, i32 1
  %76 = load ptr, ptr %75, align 8, !tbaa !11
  %77 = call i32 @strcmp(ptr noundef %76, ptr noundef @.str.5) #6
  %78 = icmp eq i32 %77, 0
  br i1 %78, label %79, label %91

79:                                               ; preds = %73
  %80 = load ptr, ptr %9, align 8, !tbaa !5
  %81 = getelementptr inbounds %struct.SSL_TEST_CTX, ptr %80, i32 0, i32 5
  %82 = getelementptr inbounds %struct.SSL_TEST_EXTRA_CONF, ptr %81, i32 0, i32 2
  %83 = load ptr, ptr %5, align 8, !tbaa !5
  %84 = load ptr, ptr %13, align 8, !tbaa !5
  %85 = getelementptr inbounds %struct.CONF_VALUE, ptr %84, i32 0, i32 2
  %86 = load ptr, ptr %85, align 8, !tbaa !13
  %87 = call i32 @parse_server_options(ptr noundef %82, ptr noundef %83, ptr noundef %86)
  %88 = icmp ne i32 %87, 0
  br i1 %88, label %90, label %89

89:                                               ; preds = %79
  store i32 2, ptr %14, align 4
  br label %196

90:                                               ; preds = %79
  br label %193

91:                                               ; preds = %73
  %92 = load ptr, ptr %13, align 8, !tbaa !5
  %93 = getelementptr inbounds %struct.CONF_VALUE, ptr %92, i32 0, i32 1
  %94 = load ptr, ptr %93, align 8, !tbaa !11
  %95 = call i32 @strcmp(ptr noundef %94, ptr noundef @.str.6) #6
  %96 = icmp eq i32 %95, 0
  br i1 %96, label %97, label %109

97:                                               ; preds = %91
  %98 = load ptr, ptr %9, align 8, !tbaa !5
  %99 = getelementptr inbounds %struct.SSL_TEST_CTX, ptr %98, i32 0, i32 6
  %100 = getelementptr inbounds %struct.SSL_TEST_EXTRA_CONF, ptr %99, i32 0, i32 0
  %101 = load ptr, ptr %5, align 8, !tbaa !5
  %102 = load ptr, ptr %13, align 8, !tbaa !5
  %103 = getelementptr inbounds %struct.CONF_VALUE, ptr %102, i32 0, i32 2
  %104 = load ptr, ptr %103, align 8, !tbaa !13
  %105 = call i32 @parse_client_options(ptr noundef %100, ptr noundef %101, ptr noundef %104)
  %106 = icmp ne i32 %105, 0
  br i1 %106, label %108, label %107

107:                                              ; preds = %97
  store i32 2, ptr %14, align 4
  br label %196

108:                                              ; preds = %97
  br label %192

109:                                              ; preds = %91
  %110 = load ptr, ptr %13, align 8, !tbaa !5
  %111 = getelementptr inbounds %struct.CONF_VALUE, ptr %110, i32 0, i32 1
  %112 = load ptr, ptr %111, align 8, !tbaa !11
  %113 = call i32 @strcmp(ptr noundef %112, ptr noundef @.str.7) #6
  %114 = icmp eq i32 %113, 0
  br i1 %114, label %115, label %127

115:                                              ; preds = %109
  %116 = load ptr, ptr %9, align 8, !tbaa !5
  %117 = getelementptr inbounds %struct.SSL_TEST_CTX, ptr %116, i32 0, i32 6
  %118 = getelementptr inbounds %struct.SSL_TEST_EXTRA_CONF, ptr %117, i32 0, i32 1
  %119 = load ptr, ptr %5, align 8, !tbaa !5
  %120 = load ptr, ptr %13, align 8, !tbaa !5
  %121 = getelementptr inbounds %struct.CONF_VALUE, ptr %120, i32 0, i32 2
  %122 = load ptr, ptr %121, align 8, !tbaa !13
  %123 = call i32 @parse_server_options(ptr noundef %118, ptr noundef %119, ptr noundef %122)
  %124 = icmp ne i32 %123, 0
  br i1 %124, label %126, label %125

125:                                              ; preds = %115
  store i32 2, ptr %14, align 4
  br label %196

126:                                              ; preds = %115
  br label %191

127:                                              ; preds = %109
  %128 = load ptr, ptr %13, align 8, !tbaa !5
  %129 = getelementptr inbounds %struct.CONF_VALUE, ptr %128, i32 0, i32 1
  %130 = load ptr, ptr %129, align 8, !tbaa !11
  %131 = call i32 @strcmp(ptr noundef %130, ptr noundef @.str.8) #6
  %132 = icmp eq i32 %131, 0
  br i1 %132, label %133, label %145

133:                                              ; preds = %127
  %134 = load ptr, ptr %9, align 8, !tbaa !5
  %135 = getelementptr inbounds %struct.SSL_TEST_CTX, ptr %134, i32 0, i32 6
  %136 = getelementptr inbounds %struct.SSL_TEST_EXTRA_CONF, ptr %135, i32 0, i32 2
  %137 = load ptr, ptr %5, align 8, !tbaa !5
  %138 = load ptr, ptr %13, align 8, !tbaa !5
  %139 = getelementptr inbounds %struct.CONF_VALUE, ptr %138, i32 0, i32 2
  %140 = load ptr, ptr %139, align 8, !tbaa !13
  %141 = call i32 @parse_server_options(ptr noundef %136, ptr noundef %137, ptr noundef %140)
  %142 = icmp ne i32 %141, 0
  br i1 %142, label %144, label %143

143:                                              ; preds = %133
  store i32 2, ptr %14, align 4
  br label %196

144:                                              ; preds = %133
  br label %190

145:                                              ; preds = %127
  store i64 0, ptr %11, align 8, !tbaa !14
  br label %146

146:                                              ; preds = %179, %145
  %147 = load i64, ptr %11, align 8, !tbaa !14
  %148 = icmp ult i64 %147, 32
  br i1 %148, label %149, label %182

149:                                              ; preds = %146
  %150 = load ptr, ptr %13, align 8, !tbaa !5
  %151 = getelementptr inbounds %struct.CONF_VALUE, ptr %150, i32 0, i32 1
  %152 = load ptr, ptr %151, align 8, !tbaa !11
  %153 = load i64, ptr %11, align 8, !tbaa !14
  %154 = getelementptr inbounds [32 x %struct.ssl_test_ctx_option], ptr @ssl_test_ctx_options, i64 0, i64 %153
  %155 = getelementptr inbounds %struct.ssl_test_ctx_option, ptr %154, i32 0, i32 0
  %156 = load ptr, ptr %155, align 16, !tbaa !16
  %157 = call i32 @strcmp(ptr noundef %152, ptr noundef %156) #6
  %158 = icmp eq i32 %157, 0
  br i1 %158, label %159, label %178

159:                                              ; preds = %149
  %160 = load i64, ptr %11, align 8, !tbaa !14
  %161 = getelementptr inbounds [32 x %struct.ssl_test_ctx_option], ptr @ssl_test_ctx_options, i64 0, i64 %160
  %162 = getelementptr inbounds %struct.ssl_test_ctx_option, ptr %161, i32 0, i32 1
  %163 = load ptr, ptr %162, align 8, !tbaa !18
  %164 = load ptr, ptr %9, align 8, !tbaa !5
  %165 = load ptr, ptr %13, align 8, !tbaa !5
  %166 = getelementptr inbounds %struct.CONF_VALUE, ptr %165, i32 0, i32 2
  %167 = load ptr, ptr %166, align 8, !tbaa !13
  %168 = call i32 %163(ptr noundef %164, ptr noundef %167)
  %169 = icmp ne i32 %168, 0
  br i1 %169, label %177, label %170

170:                                              ; preds = %159
  %171 = load ptr, ptr %13, align 8, !tbaa !5
  %172 = getelementptr inbounds %struct.CONF_VALUE, ptr %171, i32 0, i32 2
  %173 = load ptr, ptr %172, align 8, !tbaa !13
  %174 = load ptr, ptr %13, align 8, !tbaa !5
  %175 = getelementptr inbounds %struct.CONF_VALUE, ptr %174, i32 0, i32 1
  %176 = load ptr, ptr %175, align 8, !tbaa !11
  call void (ptr, i32, ptr, ...) @test_info(ptr noundef @.str, i32 noundef 901, ptr noundef @.str.9, ptr noundef %173, ptr noundef %176)
  store i32 2, ptr %14, align 4
  br label %196

177:                                              ; preds = %159
  store i32 1, ptr %12, align 4, !tbaa !9
  br label %182

178:                                              ; preds = %149
  br label %179

179:                                              ; preds = %178
  %180 = load i64, ptr %11, align 8, !tbaa !14
  %181 = add i64 %180, 1
  store i64 %181, ptr %11, align 8, !tbaa !14
  br label %146, !llvm.loop !19

182:                                              ; preds = %177, %146
  %183 = load i32, ptr %12, align 4, !tbaa !9
  %184 = icmp ne i32 %183, 0
  br i1 %184, label %189, label %185

185:                                              ; preds = %182
  %186 = load ptr, ptr %13, align 8, !tbaa !5
  %187 = getelementptr inbounds %struct.CONF_VALUE, ptr %186, i32 0, i32 1
  %188 = load ptr, ptr %187, align 8, !tbaa !11
  call void (ptr, i32, ptr, ...) @test_info(ptr noundef @.str, i32 noundef 909, ptr noundef @.str.10, ptr noundef %188)
  store i32 2, ptr %14, align 4
  br label %196

189:                                              ; preds = %182
  br label %190

190:                                              ; preds = %189, %144
  br label %191

191:                                              ; preds = %190, %126
  br label %192

192:                                              ; preds = %191, %108
  br label %193

193:                                              ; preds = %192, %90
  br label %194

194:                                              ; preds = %193, %72
  br label %195

195:                                              ; preds = %194, %54
  store i32 0, ptr %14, align 4
  br label %196

196:                                              ; preds = %195, %185, %170, %143, %125, %107, %89, %71, %53
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #5
  %197 = load i32, ptr %14, align 4
  switch i32 %197, label %207 [
    i32 0, label %198
    i32 2, label %203
  ]

198:                                              ; preds = %196
  br label %199

199:                                              ; preds = %198
  %200 = load i32, ptr %10, align 4, !tbaa !9
  %201 = add nsw i32 %200, 1
  store i32 %201, ptr %10, align 4, !tbaa !9
  br label %27, !llvm.loop !21

202:                                              ; preds = %27
  br label %205

203:                                              ; preds = %196, %25
  %204 = load ptr, ptr %9, align 8, !tbaa !5
  call void @SSL_TEST_CTX_free(ptr noundef %204)
  store ptr null, ptr %9, align 8, !tbaa !5
  br label %205

205:                                              ; preds = %203, %202
  %206 = load ptr, ptr %9, align 8, !tbaa !5
  store ptr %206, ptr %4, align 8
  store i32 1, ptr %14, align 4
  br label %207

207:                                              ; preds = %205, %196
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 4, 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
  %208 = load ptr, ptr %4, align 8
  ret ptr %208
}

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

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

declare i32 @OPENSSL_sk_num(ptr noundef) #2

; Function Attrs: inlinehint nounwind uwtable
declare hidden ptr @ossl_check_const_CONF_VALUE_sk_type(ptr noundef) #3

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

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

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

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

declare void @test_info(ptr noundef, i32 noundef, ptr noundef, ...) #2

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 = { inlinehint 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 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 #5 = { nounwind }
attributes #6 = { 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 = !{!"", !6, i64 0, !6, i64 8, !6, i64 16}
!13 = !{!12, !6, i64 16}
!14 = !{!15, !15, i64 0}
!15 = !{!"long", !7, i64 0}
!16 = !{!17, !6, i64 0}
!17 = !{!"", !6, i64 0, !6, i64 8}
!18 = !{!17, !6, i64 8}
!19 = distinct !{!19, !20}
!20 = !{!"llvm.loop.mustprogress"}
!21 = distinct !{!21, !20}


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

%struct.ssl_test_ctx_option = type { ptr, ptr }

@.str = external hidden unnamed_addr constant [80 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [15 x i8], align 1
@ssl_test_ctx_options = external hidden local_unnamed_addr constant [32 x %struct.ssl_test_ctx_option], align 16
@.str.9 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [24 x i8], align 1

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

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

; Function Attrs: nounwind uwtable
define dso_local noundef ptr @SSL_TEST_CTX_create(ptr noundef %0, ptr noundef %1, ptr noundef %2) local_unnamed_addr #0 {
  %4 = tail call ptr @NCONF_get_section(ptr noundef %0, ptr noundef %1) #4
  %5 = tail call i32 @test_ptr(ptr noundef nonnull @.str, i32 noundef 866, ptr noundef nonnull @.str.1, ptr noundef %4) #4
  %.not = icmp eq i32 %5, 0
  br i1 %.not, label %.thread, label %6

6:                                                ; preds = %3
  %7 = tail call ptr @SSL_TEST_CTX_new(ptr noundef %2)
  %8 = tail call i32 @test_ptr(ptr noundef nonnull @.str, i32 noundef 867, ptr noundef nonnull @.str.2, ptr noundef %7) #4
  %.not51 = icmp eq i32 %8, 0
  br i1 %.not51, label %.thread, label %.preheader63

.preheader63:                                     ; preds = %6
  %9 = tail call ptr @ossl_check_const_CONF_VALUE_sk_type(ptr noundef %4)
  %10 = tail call i32 @OPENSSL_sk_num(ptr noundef %9) #4
  %11 = icmp sgt i32 %10, 0
  br i1 %11, label %.lr.ph, label %.loopexit

.lr.ph:                                           ; preds = %.preheader63
  %12 = getelementptr inbounds i8, ptr %7, i64 360
  %13 = getelementptr inbounds i8, ptr %7, i64 296
  %14 = getelementptr inbounds i8, ptr %7, i64 224
  %15 = getelementptr inbounds i8, ptr %7, i64 160
  %16 = getelementptr inbounds i8, ptr %7, i64 96
  %17 = getelementptr inbounds i8, ptr %7, i64 24
  %18 = load ptr, ptr @ssl_test_ctx_options, align 16
  %19 = load ptr, ptr getelementptr inbounds (i8, ptr @ssl_test_ctx_options, i64 16), align 16
  %20 = load ptr, ptr getelementptr inbounds (i8, ptr @ssl_test_ctx_options, i64 32), align 16
  %21 = load ptr, ptr getelementptr inbounds (i8, ptr @ssl_test_ctx_options, i64 48), align 16
  %22 = load ptr, ptr getelementptr inbounds (i8, ptr @ssl_test_ctx_options, i64 64), align 16
  %23 = load ptr, ptr getelementptr inbounds (i8, ptr @ssl_test_ctx_options, i64 80), align 16
  %24 = load ptr, ptr getelementptr inbounds (i8, ptr @ssl_test_ctx_options, i64 96), align 16
  %25 = load ptr, ptr getelementptr inbounds (i8, ptr @ssl_test_ctx_options, i64 112), align 16
  %26 = load ptr, ptr getelementptr inbounds (i8, ptr @ssl_test_ctx_options, i64 128), align 16
  %27 = load ptr, ptr getelementptr inbounds (i8, ptr @ssl_test_ctx_options, i64 144), align 16
  %28 = load ptr, ptr getelementptr inbounds (i8, ptr @ssl_test_ctx_options, i64 160), align 16
  %29 = load ptr, ptr getelementptr inbounds (i8, ptr @ssl_test_ctx_options, i64 176), align 16
  %30 = load ptr, ptr getelementptr inbounds (i8, ptr @ssl_test_ctx_options, i64 192), align 16
  %31 = load ptr, ptr getelementptr inbounds (i8, ptr @ssl_test_ctx_options, i64 208), align 16
  %32 = load ptr, ptr getelementptr inbounds (i8, ptr @ssl_test_ctx_options, i64 224), align 16
  %33 = load ptr, ptr getelementptr inbounds (i8, ptr @ssl_test_ctx_options, i64 240), align 16
  %34 = load ptr, ptr getelementptr inbounds (i8, ptr @ssl_test_ctx_options, i64 256), align 16
  %35 = load ptr, ptr getelementptr inbounds (i8, ptr @ssl_test_ctx_options, i64 272), align 16
  %36 = load ptr, ptr getelementptr inbounds (i8, ptr @ssl_test_ctx_options, i64 288), align 16
  %37 = load ptr, ptr getelementptr inbounds (i8, ptr @ssl_test_ctx_options, i64 304), align 16
  %38 = load ptr, ptr getelementptr inbounds (i8, ptr @ssl_test_ctx_options, i64 320), align 16
  %39 = load ptr, ptr getelementptr inbounds (i8, ptr @ssl_test_ctx_options, i64 336), align 16
  %40 = load ptr, ptr getelementptr inbounds (i8, ptr @ssl_test_ctx_options, i64 352), align 16
  %41 = load ptr, ptr getelementptr inbounds (i8, ptr @ssl_test_ctx_options, i64 368), align 16
  %42 = load ptr, ptr getelementptr inbounds (i8, ptr @ssl_test_ctx_options, i64 384), align 16
  %43 = load ptr, ptr getelementptr inbounds (i8, ptr @ssl_test_ctx_options, i64 400), align 16
  %44 = load ptr, ptr getelementptr inbounds (i8, ptr @ssl_test_ctx_options, i64 416), align 16
  %45 = load ptr, ptr getelementptr inbounds (i8, ptr @ssl_test_ctx_options, i64 432), align 16
  %46 = load ptr, ptr getelementptr inbounds (i8, ptr @ssl_test_ctx_options, i64 448), align 16
  %47 = load ptr, ptr getelementptr inbounds (i8, ptr @ssl_test_ctx_options, i64 464), align 16
  %48 = load ptr, ptr getelementptr inbounds (i8, ptr @ssl_test_ctx_options, i64 480), align 16
  %49 = load ptr, ptr getelementptr inbounds (i8, ptr @ssl_test_ctx_options, i64 496), align 16
  br label %50

50:                                               ; preds = %.lr.ph, %171
  %.04972 = phi i32 [ 0, %.lr.ph ], [ %172, %171 ]
  %51 = tail call ptr @ossl_check_const_CONF_VALUE_sk_type(ptr noundef %4)
  %52 = tail call ptr @OPENSSL_sk_value(ptr noundef %51, i32 noundef %.04972) #4
  %53 = getelementptr inbounds i8, ptr %52, i64 8
  %54 = load ptr, ptr %53, align 8, !tbaa !5
  %55 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %54, ptr noundef nonnull dereferenceable(1) @.str.3) #5
  %56 = icmp eq i32 %55, 0
  br i1 %56, label %57, label %61

57:                                               ; preds = %50
  %58 = getelementptr inbounds i8, ptr %52, i64 16
  %59 = load ptr, ptr %58, align 8, !tbaa !10
  %60 = tail call i32 @parse_client_options(ptr noundef nonnull %17, ptr noundef %0, ptr noundef %59)
  %.not59 = icmp eq i32 %60, 0
  br i1 %.not59, label %.thread, label %171

61:                                               ; preds = %50
  %62 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %54, ptr noundef nonnull dereferenceable(1) @.str.4) #5
  %63 = icmp eq i32 %62, 0
  br i1 %63, label %64, label %68

64:                                               ; preds = %61
  %65 = getelementptr inbounds i8, ptr %52, i64 16
  %66 = load ptr, ptr %65, align 8, !tbaa !10
  %67 = tail call i32 @parse_server_options(ptr noundef nonnull %16, ptr noundef %0, ptr noundef %66)
  %.not58 = icmp eq i32 %67, 0
  br i1 %.not58, label %.thread, label %171

68:                                               ; preds = %61
  %69 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %54, ptr noundef nonnull dereferenceable(1) @.str.5) #5
  %70 = icmp eq i32 %69, 0
  br i1 %70, label %71, label %75

71:                                               ; preds = %68
  %72 = getelementptr inbounds i8, ptr %52, i64 16
  %73 = load ptr, ptr %72, align 8, !tbaa !10
  %74 = tail call i32 @parse_server_options(ptr noundef nonnull %15, ptr noundef %0, ptr noundef %73)
  %.not57 = icmp eq i32 %74, 0
  br i1 %.not57, label %.thread, label %171

75:                                               ; preds = %68
  %76 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %54, ptr noundef nonnull dereferenceable(1) @.str.6) #5
  %77 = icmp eq i32 %76, 0
  br i1 %77, label %78, label %82

78:                                               ; preds = %75
  %79 = getelementptr inbounds i8, ptr %52, i64 16
  %80 = load ptr, ptr %79, align 8, !tbaa !10
  %81 = tail call i32 @parse_client_options(ptr noundef nonnull %14, ptr noundef %0, ptr noundef %80)
  %.not56 = icmp eq i32 %81, 0
  br i1 %.not56, label %.thread, label %171

82:                                               ; preds = %75
  %83 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %54, ptr noundef nonnull dereferenceable(1) @.str.7) #5
  %84 = icmp eq i32 %83, 0
  br i1 %84, label %85, label %89

85:                                               ; preds = %82
  %86 = getelementptr inbounds i8, ptr %52, i64 16
  %87 = load ptr, ptr %86, align 8, !tbaa !10
  %88 = tail call i32 @parse_server_options(ptr noundef nonnull %13, ptr noundef %0, ptr noundef %87)
  %.not55 = icmp eq i32 %88, 0
  br i1 %.not55, label %.thread, label %171

89:                                               ; preds = %82
  %90 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %54, ptr noundef nonnull dereferenceable(1) @.str.8) #5
  %91 = icmp eq i32 %90, 0
  br i1 %91, label %94, label %.preheader.preheader

.preheader.preheader:                             ; preds = %89
  %92 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %54, ptr noundef nonnull dereferenceable(1) %18) #5
  %93 = icmp eq i32 %92, 0
  br i1 %93, label %160, label %.preheader.1

94:                                               ; preds = %89
  %95 = getelementptr inbounds i8, ptr %52, i64 16
  %96 = load ptr, ptr %95, align 8, !tbaa !10
  %97 = tail call i32 @parse_server_options(ptr noundef nonnull %12, ptr noundef %0, ptr noundef %96)
  %.not54 = icmp eq i32 %97, 0
  br i1 %.not54, label %.thread, label %171

.preheader.1:                                     ; preds = %.preheader.preheader
  %98 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %54, ptr noundef nonnull dereferenceable(1) %19) #5
  %99 = icmp eq i32 %98, 0
  br i1 %99, label %160, label %.preheader.2

.preheader.2:                                     ; preds = %.preheader.1
  %100 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %54, ptr noundef nonnull dereferenceable(1) %20) #5
  %101 = icmp eq i32 %100, 0
  br i1 %101, label %160, label %.preheader.3

.preheader.3:                                     ; preds = %.preheader.2
  %102 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %54, ptr noundef nonnull dereferenceable(1) %21) #5
  %103 = icmp eq i32 %102, 0
  br i1 %103, label %160, label %.preheader.4

.preheader.4:                                     ; preds = %.preheader.3
  %104 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %54, ptr noundef nonnull dereferenceable(1) %22) #5
  %105 = icmp eq i32 %104, 0
  br i1 %105, label %160, label %.preheader.5

.preheader.5:                                     ; preds = %.preheader.4
  %106 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %54, ptr noundef nonnull dereferenceable(1) %23) #5
  %107 = icmp eq i32 %106, 0
  br i1 %107, label %160, label %.preheader.6

.preheader.6:                                     ; preds = %.preheader.5
  %108 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %54, ptr noundef nonnull dereferenceable(1) %24) #5
  %109 = icmp eq i32 %108, 0
  br i1 %109, label %160, label %.preheader.7

.preheader.7:                                     ; preds = %.preheader.6
  %110 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %54, ptr noundef nonnull dereferenceable(1) %25) #5
  %111 = icmp eq i32 %110, 0
  br i1 %111, label %160, label %.preheader.8

.preheader.8:                                     ; preds = %.preheader.7
  %112 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %54, ptr noundef nonnull dereferenceable(1) %26) #5
  %113 = icmp eq i32 %112, 0
  br i1 %113, label %160, label %.preheader.9

.preheader.9:                                     ; preds = %.preheader.8
  %114 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %54, ptr noundef nonnull dereferenceable(1) %27) #5
  %115 = icmp eq i32 %114, 0
  br i1 %115, label %160, label %.preheader.10

.preheader.10:                                    ; preds = %.preheader.9
  %116 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %54, ptr noundef nonnull dereferenceable(1) %28) #5
  %117 = icmp eq i32 %116, 0
  br i1 %117, label %160, label %.preheader.11

.preheader.11:                                    ; preds = %.preheader.10
  %118 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %54, ptr noundef nonnull dereferenceable(1) %29) #5
  %119 = icmp eq i32 %118, 0
  br i1 %119, label %160, label %.preheader.12

.preheader.12:                                    ; preds = %.preheader.11
  %120 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %54, ptr noundef nonnull dereferenceable(1) %30) #5
  %121 = icmp eq i32 %120, 0
  br i1 %121, label %160, label %.preheader.13

.preheader.13:                                    ; preds = %.preheader.12
  %122 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %54, ptr noundef nonnull dereferenceable(1) %31) #5
  %123 = icmp eq i32 %122, 0
  br i1 %123, label %160, label %.preheader.14

.preheader.14:                                    ; preds = %.preheader.13
  %124 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %54, ptr noundef nonnull dereferenceable(1) %32) #5
  %125 = icmp eq i32 %124, 0
  br i1 %125, label %160, label %.preheader.15

.preheader.15:                                    ; preds = %.preheader.14
  %126 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %54, ptr noundef nonnull dereferenceable(1) %33) #5
  %127 = icmp eq i32 %126, 0
  br i1 %127, label %160, label %.preheader.16

.preheader.16:                                    ; preds = %.preheader.15
  %128 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %54, ptr noundef nonnull dereferenceable(1) %34) #5
  %129 = icmp eq i32 %128, 0
  br i1 %129, label %160, label %.preheader.17

.preheader.17:                                    ; preds = %.preheader.16
  %130 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %54, ptr noundef nonnull dereferenceable(1) %35) #5
  %131 = icmp eq i32 %130, 0
  br i1 %131, label %160, label %.preheader.18

.preheader.18:                                    ; preds = %.preheader.17
  %132 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %54, ptr noundef nonnull dereferenceable(1) %36) #5
  %133 = icmp eq i32 %132, 0
  br i1 %133, label %160, label %.preheader.19

.preheader.19:                                    ; preds = %.preheader.18
  %134 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %54, ptr noundef nonnull dereferenceable(1) %37) #5
  %135 = icmp eq i32 %134, 0
  br i1 %135, label %160, label %.preheader.20

.preheader.20:                                    ; preds = %.preheader.19
  %136 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %54, ptr noundef nonnull dereferenceable(1) %38) #5
  %137 = icmp eq i32 %136, 0
  br i1 %137, label %160, label %.preheader.21

.preheader.21:                                    ; preds = %.preheader.20
  %138 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %54, ptr noundef nonnull dereferenceable(1) %39) #5
  %139 = icmp eq i32 %138, 0
  br i1 %139, label %160, label %.preheader.22

.preheader.22:                                    ; preds = %.preheader.21
  %140 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %54, ptr noundef nonnull dereferenceable(1) %40) #5
  %141 = icmp eq i32 %140, 0
  br i1 %141, label %160, label %.preheader.23

.preheader.23:                                    ; preds = %.preheader.22
  %142 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %54, ptr noundef nonnull dereferenceable(1) %41) #5
  %143 = icmp eq i32 %142, 0
  br i1 %143, label %160, label %.preheader.24

.preheader.24:                                    ; preds = %.preheader.23
  %144 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %54, ptr noundef nonnull dereferenceable(1) %42) #5
  %145 = icmp eq i32 %144, 0
  br i1 %145, label %160, label %.preheader.25

.preheader.25:                                    ; preds = %.preheader.24
  %146 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %54, ptr noundef nonnull dereferenceable(1) %43) #5
  %147 = icmp eq i32 %146, 0
  br i1 %147, label %160, label %.preheader.26

.preheader.26:                                    ; preds = %.preheader.25
  %148 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %54, ptr noundef nonnull dereferenceable(1) %44) #5
  %149 = icmp eq i32 %148, 0
  br i1 %149, label %160, label %.preheader.27

.preheader.27:                                    ; preds = %.preheader.26
  %150 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %54, ptr noundef nonnull dereferenceable(1) %45) #5
  %151 = icmp eq i32 %150, 0
  br i1 %151, label %160, label %.preheader.28

.preheader.28:                                    ; preds = %.preheader.27
  %152 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %54, ptr noundef nonnull dereferenceable(1) %46) #5
  %153 = icmp eq i32 %152, 0
  br i1 %153, label %160, label %.preheader.29

.preheader.29:                                    ; preds = %.preheader.28
  %154 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %54, ptr noundef nonnull dereferenceable(1) %47) #5
  %155 = icmp eq i32 %154, 0
  br i1 %155, label %160, label %.preheader.30

.preheader.30:                                    ; preds = %.preheader.29
  %156 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %54, ptr noundef nonnull dereferenceable(1) %48) #5
  %157 = icmp eq i32 %156, 0
  br i1 %157, label %160, label %.preheader.31

.preheader.31:                                    ; preds = %.preheader.30
  %158 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %54, ptr noundef nonnull dereferenceable(1) %49) #5
  %159 = icmp eq i32 %158, 0
  br i1 %159, label %160, label %.critedge

.critedge:                                        ; preds = %.preheader.31
  tail call void (ptr, i32, ptr, ...) @test_info(ptr noundef nonnull @.str, i32 noundef 909, ptr noundef nonnull @.str.10, ptr noundef %54) #4
  br label %.thread

160:                                              ; preds = %.preheader.31, %.preheader.30, %.preheader.29, %.preheader.28, %.preheader.27, %.preheader.26, %.preheader.25, %.preheader.24, %.preheader.23, %.preheader.22, %.preheader.21, %.preheader.20, %.preheader.19, %.preheader.18, %.preheader.17, %.preheader.16, %.preheader.15, %.preheader.14, %.preheader.13, %.preheader.12, %.preheader.11, %.preheader.10, %.preheader.9, %.preheader.8, %.preheader.7, %.preheader.6, %.preheader.5, %.preheader.4, %.preheader.3, %.preheader.2, %.preheader.1, %.preheader.preheader
  %.lcssa = phi ptr [ @ssl_test_ctx_options, %.preheader.preheader ], [ getelementptr inbounds (i8, ptr @ssl_test_ctx_options, i64 16), %.preheader.1 ], [ getelementptr inbounds (i8, ptr @ssl_test_ctx_options, i64 32), %.preheader.2 ], [ getelementptr inbounds (i8, ptr @ssl_test_ctx_options, i64 48), %.preheader.3 ], [ getelementptr inbounds (i8, ptr @ssl_test_ctx_options, i64 64), %.preheader.4 ], [ getelementptr inbounds (i8, ptr @ssl_test_ctx_options, i64 80), %.preheader.5 ], [ getelementptr inbounds (i8, ptr @ssl_test_ctx_options, i64 96), %.preheader.6 ], [ getelementptr inbounds (i8, ptr @ssl_test_ctx_options, i64 112), %.preheader.7 ], [ getelementptr inbounds (i8, ptr @ssl_test_ctx_options, i64 128), %.preheader.8 ], [ getelementptr inbounds (i8, ptr @ssl_test_ctx_options, i64 144), %.preheader.9 ], [ getelementptr inbounds (i8, ptr @ssl_test_ctx_options, i64 160), %.preheader.10 ], [ getelementptr inbounds (i8, ptr @ssl_test_ctx_options, i64 176), %.preheader.11 ], [ getelementptr inbounds (i8, ptr @ssl_test_ctx_options, i64 192), %.preheader.12 ], [ getelementptr inbounds (i8, ptr @ssl_test_ctx_options, i64 208), %.preheader.13 ], [ getelementptr inbounds (i8, ptr @ssl_test_ctx_options, i64 224), %.preheader.14 ], [ getelementptr inbounds (i8, ptr @ssl_test_ctx_options, i64 240), %.preheader.15 ], [ getelementptr inbounds (i8, ptr @ssl_test_ctx_options, i64 256), %.preheader.16 ], [ getelementptr inbounds (i8, ptr @ssl_test_ctx_options, i64 272), %.preheader.17 ], [ getelementptr inbounds (i8, ptr @ssl_test_ctx_options, i64 288), %.preheader.18 ], [ getelementptr inbounds (i8, ptr @ssl_test_ctx_options, i64 304), %.preheader.19 ], [ getelementptr inbounds (i8, ptr @ssl_test_ctx_options, i64 320), %.preheader.20 ], [ getelementptr inbounds (i8, ptr @ssl_test_ctx_options, i64 336), %.preheader.21 ], [ getelementptr inbounds (i8, ptr @ssl_test_ctx_options, i64 352), %.preheader.22 ], [ getelementptr inbounds (i8, ptr @ssl_test_ctx_options, i64 368), %.preheader.23 ], [ getelementptr inbounds (i8, ptr @ssl_test_ctx_options, i64 384), %.preheader.24 ], [ getelementptr inbounds (i8, ptr @ssl_test_ctx_options, i64 400), %.preheader.25 ], [ getelementptr inbounds (i8, ptr @ssl_test_ctx_options, i64 416), %.preheader.26 ], [ getelementptr inbounds (i8, ptr @ssl_test_ctx_options, i64 432), %.preheader.27 ], [ getelementptr inbounds (i8, ptr @ssl_test_ctx_options, i64 448), %.preheader.28 ], [ getelementptr inbounds (i8, ptr @ssl_test_ctx_options, i64 464), %.preheader.29 ], [ getelementptr inbounds (i8, ptr @ssl_test_ctx_options, i64 480), %.preheader.30 ], [ getelementptr inbounds (i8, ptr @ssl_test_ctx_options, i64 496), %.preheader.31 ]
  %161 = getelementptr inbounds i8, ptr %.lcssa, i64 8
  %162 = load ptr, ptr %161, align 8, !tbaa !11
  %163 = getelementptr inbounds i8, ptr %52, i64 16
  %164 = load ptr, ptr %163, align 8, !tbaa !10
  %165 = tail call i32 %162(ptr noundef %7, ptr noundef %164) #4
  %.not52 = icmp eq i32 %165, 0
  br i1 %.not52, label %166, label %171

166:                                              ; preds = %160
  %167 = getelementptr inbounds i8, ptr %52, i64 8
  %168 = getelementptr inbounds i8, ptr %52, i64 16
  %169 = load ptr, ptr %168, align 8, !tbaa !10
  %170 = load ptr, ptr %167, align 8, !tbaa !5
  tail call void (ptr, i32, ptr, ...) @test_info(ptr noundef nonnull @.str, i32 noundef 901, ptr noundef nonnull @.str.9, ptr noundef %169, ptr noundef %170) #4
  br label %.thread

171:                                              ; preds = %160, %64, %78, %94, %85, %71, %57
  %172 = add nuw nsw i32 %.04972, 1
  %173 = tail call ptr @ossl_check_const_CONF_VALUE_sk_type(ptr noundef %4)
  %174 = tail call i32 @OPENSSL_sk_num(ptr noundef %173) #4
  %175 = icmp slt i32 %172, %174
  br i1 %175, label %50, label %.loopexit, !llvm.loop !13

.thread:                                          ; preds = %94, %85, %78, %71, %64, %57, %166, %.critedge, %3, %6
  %.050 = phi ptr [ %7, %6 ], [ null, %3 ], [ %7, %.critedge ], [ %7, %166 ], [ %7, %57 ], [ %7, %64 ], [ %7, %71 ], [ %7, %78 ], [ %7, %85 ], [ %7, %94 ]
  tail call void @SSL_TEST_CTX_free(ptr noundef %.050)
  br label %.loopexit

.loopexit:                                        ; preds = %171, %.preheader63, %.thread
  %.1 = phi ptr [ null, %.thread ], [ %7, %.preheader63 ], [ %7, %171 ]
  ret ptr %.1
}

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

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

declare i32 @OPENSSL_sk_num(ptr noundef) local_unnamed_addr #1

; Function Attrs: inlinehint nounwind uwtable
declare hidden ptr @ossl_check_const_CONF_VALUE_sk_type(ptr noundef) local_unnamed_addr #2

declare ptr @OPENSSL_sk_value(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 #3

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

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

declare void @test_info(ptr noundef, i32 noundef, ptr 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 = { inlinehint 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 #3 = { 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 #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, !7, i64 8}
!6 = !{!"", !7, i64 0, !7, i64 8, !7, i64 16}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!6, !7, i64 16}
!11 = !{!12, !7, i64 8}
!12 = !{!"", !7, i64 0, !7, i64 8}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}


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