; LLVM IR from aws/s2n-tls :: tests/unit (s2n_async_pkey_test)

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

@s2n_use_color_in_output = external dso_local global i8, align 1
@pkey_op = external dso_local global ptr, align 8
@test_encrypted_data = external dso_local global [17 x i8], align 16
@test_decrypted_data = external dso_local global [17 x i8], align 16
@offload_callback_count = external dso_local global i8, align 1
@test_count = external dso_local global i32, align 4
@stderr = external global ptr, align 8
@.str = external hidden unnamed_addr constant [101 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [78 x i8], align 1
@s2n_errno = external thread_local global i32, align 4
@.str.3 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [90 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [69 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [78 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [43 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [51 x i8], align 1
@.str.34 = external hidden unnamed_addr constant [66 x i8], align 1
@.str.35 = external hidden unnamed_addr constant [66 x i8], align 1
@.str.36 = external hidden unnamed_addr constant [100 x i8], align 1
@.str.37 = external hidden unnamed_addr constant [99 x i8], align 1
@.str.38 = external hidden unnamed_addr constant [100 x i8], align 1
@.str.39 = external hidden unnamed_addr constant [99 x i8], align 1
@.str.40 = external hidden unnamed_addr constant [58 x i8], align 1
@.str.41 = external hidden unnamed_addr constant [59 x i8], align 1
@.str.42 = external hidden unnamed_addr constant [98 x i8], align 1
@.str.43 = external hidden unnamed_addr constant [53 x i8], align 1
@.str.44 = external hidden unnamed_addr constant [53 x i8], align 1
@.str.45 = external hidden unnamed_addr constant [103 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: nounwind willreturn memory(none)
declare ptr @__errno_location() #1

declare i32 @s2n_print_stacktrace(ptr noundef) #2

; Function Attrs: nounwind
declare i32 @isatty(i32 noundef) #3

; Function Attrs: nounwind
declare i32 @fileno(ptr noundef) #3

; Function Attrs: nounwind
declare i32 @fprintf(ptr noundef, ptr noundef, ...) #3

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

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare nonnull ptr @llvm.threadlocal.address.p0(ptr nonnull) #4

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

; Function Attrs: nounwind
declare ptr @strerror(i32 noundef) #3

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

; Function Attrs: noreturn nounwind
declare void @exit(i32 noundef) #5

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

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

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #6

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

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

; Function Attrs: nounwind willreturn memory(read)
declare i32 @memcmp(ptr noundef, ptr noundef, i64 noundef) #7

declare i32 @s2n_free(ptr noundef) #2

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

; Function Attrs: nounwind uwtable
define dso_local i32 @async_pkey_decrypt_callback(ptr noundef %0, ptr noundef %1) #8 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca %struct.s2n_blob, align 8
  %12 = alloca i32, align 4
  %13 = alloca %struct.s2n_blob, align 8
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  %21 = alloca i32, align 4
  %22 = alloca i32, align 4
  %23 = alloca i32, align 4
  %24 = alloca i32, align 4
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  %25 = load ptr, ptr %4, align 8, !tbaa !5
  store ptr %25, ptr @pkey_op, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #9
  store i32 0, ptr %5, align 4, !tbaa !9
  br label %26

26:                                               ; preds = %2
  %27 = load i32, ptr @test_count, align 4, !tbaa !9
  %28 = add nsw i32 %27, 1
  store i32 %28, ptr @test_count, align 4, !tbaa !9
  %29 = load ptr, ptr %4, align 8, !tbaa !5
  %30 = call i32 @s2n_async_pkey_op_get_op_type(ptr noundef %29, ptr noundef %5)
  %31 = icmp eq i32 %30, -1
  br i1 %31, label %32, label %85

32:                                               ; preds = %26
  br label %33

33:                                               ; preds = %32
  br label %34

34:                                               ; preds = %33
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #9
  %35 = call ptr @__errno_location() #10
  %36 = load i32, ptr %35, align 4, !tbaa !9
  store i32 %36, ptr %6, align 4, !tbaa !9
  %37 = load ptr, ptr @stderr, align 8, !tbaa !5
  %38 = call i32 @s2n_print_stacktrace(ptr noundef %37)
  %39 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %40 = trunc i8 %39 to i1
  br i1 %40, label %41, label %63

41:                                               ; preds = %34
  %42 = load ptr, ptr @stderr, align 8, !tbaa !5
  %43 = call i32 @fileno(ptr noundef %42) #9
  %44 = call i32 @isatty(i32 noundef %43) #9
  %45 = icmp ne i32 %44, 0
  br i1 %45, label %46, label %63

46:                                               ; preds = %41
  %47 = load i32, ptr %6, align 4, !tbaa !9
  %48 = call ptr @__errno_location() #10
  store i32 %47, ptr %48, align 4, !tbaa !9
  %49 = load ptr, ptr @stderr, align 8, !tbaa !5
  %50 = load i32, ptr @test_count, align 4, !tbaa !9
  %51 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %52 = load i32, ptr %51, align 4, !tbaa !9
  %53 = call ptr @s2n_strerror(i32 noundef %52, ptr noundef @.str.3)
  %54 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %55 = load i32, ptr %54, align 4, !tbaa !9
  %56 = call ptr @s2n_strerror_debug(i32 noundef %55, ptr noundef @.str.3)
  %57 = call ptr @__errno_location() #10
  %58 = load i32, ptr %57, align 4, !tbaa !9
  %59 = call ptr @strerror(i32 noundef %58) #9
  %60 = call ptr @__errno_location() #10
  %61 = load i32, ptr %60, align 4, !tbaa !9
  %62 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %49, ptr noundef @.str, i32 noundef %50, ptr noundef @.str.10, ptr noundef @.str.2, i32 noundef 267, ptr noundef %53, ptr noundef %56, ptr noundef %59, i32 noundef %61) #9
  br label %80

63:                                               ; preds = %41, %34
  %64 = load i32, ptr %6, align 4, !tbaa !9
  %65 = call ptr @__errno_location() #10
  store i32 %64, ptr %65, align 4, !tbaa !9
  %66 = load ptr, ptr @stderr, align 8, !tbaa !5
  %67 = load i32, ptr @test_count, align 4, !tbaa !9
  %68 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %69 = load i32, ptr %68, align 4, !tbaa !9
  %70 = call ptr @s2n_strerror(i32 noundef %69, ptr noundef @.str.3)
  %71 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %72 = load i32, ptr %71, align 4, !tbaa !9
  %73 = call ptr @s2n_strerror_debug(i32 noundef %72, ptr noundef @.str.3)
  %74 = call ptr @__errno_location() #10
  %75 = load i32, ptr %74, align 4, !tbaa !9
  %76 = call ptr @strerror(i32 noundef %75) #9
  %77 = call ptr @__errno_location() #10
  %78 = load i32, ptr %77, align 4, !tbaa !9
  %79 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %66, ptr noundef @.str.4, i32 noundef %67, ptr noundef @.str.10, ptr noundef @.str.2, i32 noundef 267, ptr noundef %70, ptr noundef %73, ptr noundef %76, i32 noundef %78) #9
  br label %80

80:                                               ; preds = %63, %46
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #9
  br label %81

81:                                               ; preds = %80
  br label %82

82:                                               ; preds = %81
  call void @exit(i32 noundef 1) #11
  unreachable

83:                                               ; No predecessors!
  br label %84

84:                                               ; preds = %83
  br label %85

85:                                               ; preds = %84, %26
  br label %86

86:                                               ; preds = %85
  br label %87

87:                                               ; preds = %86
  br label %88

88:                                               ; preds = %87
  %89 = load i32, ptr @test_count, align 4, !tbaa !9
  %90 = add nsw i32 %89, 1
  store i32 %90, ptr @test_count, align 4, !tbaa !9
  %91 = load i32, ptr %5, align 4, !tbaa !9
  %92 = icmp eq i32 %91, 0
  br i1 %92, label %146, label %93

93:                                               ; preds = %88
  br label %94

94:                                               ; preds = %93
  br label %95

95:                                               ; preds = %94
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #9
  %96 = call ptr @__errno_location() #10
  %97 = load i32, ptr %96, align 4, !tbaa !9
  store i32 %97, ptr %7, align 4, !tbaa !9
  %98 = load ptr, ptr @stderr, align 8, !tbaa !5
  %99 = call i32 @s2n_print_stacktrace(ptr noundef %98)
  %100 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %101 = trunc i8 %100 to i1
  br i1 %101, label %102, label %124

102:                                              ; preds = %95
  %103 = load ptr, ptr @stderr, align 8, !tbaa !5
  %104 = call i32 @fileno(ptr noundef %103) #9
  %105 = call i32 @isatty(i32 noundef %104) #9
  %106 = icmp ne i32 %105, 0
  br i1 %106, label %107, label %124

107:                                              ; preds = %102
  %108 = load i32, ptr %7, align 4, !tbaa !9
  %109 = call ptr @__errno_location() #10
  store i32 %108, ptr %109, align 4, !tbaa !9
  %110 = load ptr, ptr @stderr, align 8, !tbaa !5
  %111 = load i32, ptr @test_count, align 4, !tbaa !9
  %112 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %113 = load i32, ptr %112, align 4, !tbaa !9
  %114 = call ptr @s2n_strerror(i32 noundef %113, ptr noundef @.str.3)
  %115 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %116 = load i32, ptr %115, align 4, !tbaa !9
  %117 = call ptr @s2n_strerror_debug(i32 noundef %116, ptr noundef @.str.3)
  %118 = call ptr @__errno_location() #10
  %119 = load i32, ptr %118, align 4, !tbaa !9
  %120 = call ptr @strerror(i32 noundef %119) #9
  %121 = call ptr @__errno_location() #10
  %122 = load i32, ptr %121, align 4, !tbaa !9
  %123 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %110, ptr noundef @.str, i32 noundef %111, ptr noundef @.str.32, ptr noundef @.str.2, i32 noundef 268, ptr noundef %114, ptr noundef %117, ptr noundef %120, i32 noundef %122) #9
  br label %141

124:                                              ; preds = %102, %95
  %125 = load i32, ptr %7, align 4, !tbaa !9
  %126 = call ptr @__errno_location() #10
  store i32 %125, ptr %126, align 4, !tbaa !9
  %127 = load ptr, ptr @stderr, align 8, !tbaa !5
  %128 = load i32, ptr @test_count, align 4, !tbaa !9
  %129 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %130 = load i32, ptr %129, align 4, !tbaa !9
  %131 = call ptr @s2n_strerror(i32 noundef %130, ptr noundef @.str.3)
  %132 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %133 = load i32, ptr %132, align 4, !tbaa !9
  %134 = call ptr @s2n_strerror_debug(i32 noundef %133, ptr noundef @.str.3)
  %135 = call ptr @__errno_location() #10
  %136 = load i32, ptr %135, align 4, !tbaa !9
  %137 = call ptr @strerror(i32 noundef %136) #9
  %138 = call ptr @__errno_location() #10
  %139 = load i32, ptr %138, align 4, !tbaa !9
  %140 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %127, ptr noundef @.str.4, i32 noundef %128, ptr noundef @.str.32, ptr noundef @.str.2, i32 noundef 268, ptr noundef %131, ptr noundef %134, ptr noundef %137, i32 noundef %139) #9
  br label %141

141:                                              ; preds = %124, %107
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #9
  br label %142

142:                                              ; preds = %141
  br label %143

143:                                              ; preds = %142
  call void @exit(i32 noundef 1) #11
  unreachable

144:                                              ; No predecessors!
  br label %145

145:                                              ; preds = %144
  br label %146

146:                                              ; preds = %145, %88
  br label %147

147:                                              ; preds = %146
  br label %148

148:                                              ; preds = %147
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #9
  store i32 0, ptr %8, align 4, !tbaa !9
  br label %149

149:                                              ; preds = %148
  %150 = load i32, ptr @test_count, align 4, !tbaa !9
  %151 = add nsw i32 %150, 1
  store i32 %151, ptr @test_count, align 4, !tbaa !9
  %152 = load ptr, ptr %4, align 8, !tbaa !5
  %153 = call i32 @s2n_async_pkey_op_get_input_size(ptr noundef %152, ptr noundef %8)
  %154 = icmp eq i32 %153, -1
  br i1 %154, label %155, label %208

155:                                              ; preds = %149
  br label %156

156:                                              ; preds = %155
  br label %157

157:                                              ; preds = %156
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #9
  %158 = call ptr @__errno_location() #10
  %159 = load i32, ptr %158, align 4, !tbaa !9
  store i32 %159, ptr %9, align 4, !tbaa !9
  %160 = load ptr, ptr @stderr, align 8, !tbaa !5
  %161 = call i32 @s2n_print_stacktrace(ptr noundef %160)
  %162 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %163 = trunc i8 %162 to i1
  br i1 %163, label %164, label %186

164:                                              ; preds = %157
  %165 = load ptr, ptr @stderr, align 8, !tbaa !5
  %166 = call i32 @fileno(ptr noundef %165) #9
  %167 = call i32 @isatty(i32 noundef %166) #9
  %168 = icmp ne i32 %167, 0
  br i1 %168, label %169, label %186

169:                                              ; preds = %164
  %170 = load i32, ptr %9, align 4, !tbaa !9
  %171 = call ptr @__errno_location() #10
  store i32 %170, ptr %171, align 4, !tbaa !9
  %172 = load ptr, ptr @stderr, align 8, !tbaa !5
  %173 = load i32, ptr @test_count, align 4, !tbaa !9
  %174 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %175 = load i32, ptr %174, align 4, !tbaa !9
  %176 = call ptr @s2n_strerror(i32 noundef %175, ptr noundef @.str.3)
  %177 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %178 = load i32, ptr %177, align 4, !tbaa !9
  %179 = call ptr @s2n_strerror_debug(i32 noundef %178, ptr noundef @.str.3)
  %180 = call ptr @__errno_location() #10
  %181 = load i32, ptr %180, align 4, !tbaa !9
  %182 = call ptr @strerror(i32 noundef %181) #9
  %183 = call ptr @__errno_location() #10
  %184 = load i32, ptr %183, align 4, !tbaa !9
  %185 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %172, ptr noundef @.str, i32 noundef %173, ptr noundef @.str.13, ptr noundef @.str.2, i32 noundef 271, ptr noundef %176, ptr noundef %179, ptr noundef %182, i32 noundef %184) #9
  br label %203

186:                                              ; preds = %164, %157
  %187 = load i32, ptr %9, align 4, !tbaa !9
  %188 = call ptr @__errno_location() #10
  store i32 %187, ptr %188, align 4, !tbaa !9
  %189 = load ptr, ptr @stderr, align 8, !tbaa !5
  %190 = load i32, ptr @test_count, align 4, !tbaa !9
  %191 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %192 = load i32, ptr %191, align 4, !tbaa !9
  %193 = call ptr @s2n_strerror(i32 noundef %192, ptr noundef @.str.3)
  %194 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %195 = load i32, ptr %194, align 4, !tbaa !9
  %196 = call ptr @s2n_strerror_debug(i32 noundef %195, ptr noundef @.str.3)
  %197 = call ptr @__errno_location() #10
  %198 = load i32, ptr %197, align 4, !tbaa !9
  %199 = call ptr @strerror(i32 noundef %198) #9
  %200 = call ptr @__errno_location() #10
  %201 = load i32, ptr %200, align 4, !tbaa !9
  %202 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %189, ptr noundef @.str.4, i32 noundef %190, ptr noundef @.str.13, ptr noundef @.str.2, i32 noundef 271, ptr noundef %193, ptr noundef %196, ptr noundef %199, i32 noundef %201) #9
  br label %203

203:                                              ; preds = %186, %169
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #9
  br label %204

204:                                              ; preds = %203
  br label %205

205:                                              ; preds = %204
  call void @exit(i32 noundef 1) #11
  unreachable

206:                                              ; No predecessors!
  br label %207

207:                                              ; preds = %206
  br label %208

208:                                              ; preds = %207, %149
  br label %209

209:                                              ; preds = %208
  br label %210

210:                                              ; preds = %209
  br label %211

211:                                              ; preds = %210
  %212 = load i32, ptr @test_count, align 4, !tbaa !9
  %213 = add nsw i32 %212, 1
  store i32 %213, ptr @test_count, align 4, !tbaa !9
  %214 = load i32, ptr %8, align 4, !tbaa !9
  %215 = icmp eq i32 %214, 17
  br i1 %215, label %269, label %216

216:                                              ; preds = %211
  br label %217

217:                                              ; preds = %216
  br label %218

218:                                              ; preds = %217
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #9
  %219 = call ptr @__errno_location() #10
  %220 = load i32, ptr %219, align 4, !tbaa !9
  store i32 %220, ptr %10, align 4, !tbaa !9
  %221 = load ptr, ptr @stderr, align 8, !tbaa !5
  %222 = call i32 @s2n_print_stacktrace(ptr noundef %221)
  %223 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %224 = trunc i8 %223 to i1
  br i1 %224, label %225, label %247

225:                                              ; preds = %218
  %226 = load ptr, ptr @stderr, align 8, !tbaa !5
  %227 = call i32 @fileno(ptr noundef %226) #9
  %228 = call i32 @isatty(i32 noundef %227) #9
  %229 = icmp ne i32 %228, 0
  br i1 %229, label %230, label %247

230:                                              ; preds = %225
  %231 = load i32, ptr %10, align 4, !tbaa !9
  %232 = call ptr @__errno_location() #10
  store i32 %231, ptr %232, align 4, !tbaa !9
  %233 = load ptr, ptr @stderr, align 8, !tbaa !5
  %234 = load i32, ptr @test_count, align 4, !tbaa !9
  %235 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %236 = load i32, ptr %235, align 4, !tbaa !9
  %237 = call ptr @s2n_strerror(i32 noundef %236, ptr noundef @.str.3)
  %238 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %239 = load i32, ptr %238, align 4, !tbaa !9
  %240 = call ptr @s2n_strerror_debug(i32 noundef %239, ptr noundef @.str.3)
  %241 = call ptr @__errno_location() #10
  %242 = load i32, ptr %241, align 4, !tbaa !9
  %243 = call ptr @strerror(i32 noundef %242) #9
  %244 = call ptr @__errno_location() #10
  %245 = load i32, ptr %244, align 4, !tbaa !9
  %246 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %233, ptr noundef @.str, i32 noundef %234, ptr noundef @.str.33, ptr noundef @.str.2, i32 noundef 272, ptr noundef %237, ptr noundef %240, ptr noundef %243, i32 noundef %245) #9
  br label %264

247:                                              ; preds = %225, %218
  %248 = load i32, ptr %10, align 4, !tbaa !9
  %249 = call ptr @__errno_location() #10
  store i32 %248, ptr %249, align 4, !tbaa !9
  %250 = load ptr, ptr @stderr, align 8, !tbaa !5
  %251 = load i32, ptr @test_count, align 4, !tbaa !9
  %252 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %253 = load i32, ptr %252, align 4, !tbaa !9
  %254 = call ptr @s2n_strerror(i32 noundef %253, ptr noundef @.str.3)
  %255 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %256 = load i32, ptr %255, align 4, !tbaa !9
  %257 = call ptr @s2n_strerror_debug(i32 noundef %256, ptr noundef @.str.3)
  %258 = call ptr @__errno_location() #10
  %259 = load i32, ptr %258, align 4, !tbaa !9
  %260 = call ptr @strerror(i32 noundef %259) #9
  %261 = call ptr @__errno_location() #10
  %262 = load i32, ptr %261, align 4, !tbaa !9
  %263 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %250, ptr noundef @.str.4, i32 noundef %251, ptr noundef @.str.33, ptr noundef @.str.2, i32 noundef 272, ptr noundef %254, ptr noundef %257, ptr noundef %260, i32 noundef %262) #9
  br label %264

264:                                              ; preds = %247, %230
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #9
  br label %265

265:                                              ; preds = %264
  br label %266

266:                                              ; preds = %265
  call void @exit(i32 noundef 1) #11
  unreachable

267:                                              ; No predecessors!
  br label %268

268:                                              ; preds = %267
  br label %269

269:                                              ; preds = %268, %211
  br label %270

270:                                              ; preds = %269
  br label %271

271:                                              ; preds = %270
  call void @llvm.lifetime.start.p0(i64 24, ptr %11) #9
  call void @llvm.memset.p0.i64(ptr align 8 %11, i8 0, i64 24, i1 false)
  br label %272

272:                                              ; preds = %271
  %273 = load i32, ptr @test_count, align 4, !tbaa !9
  %274 = add nsw i32 %273, 1
  store i32 %274, ptr @test_count, align 4, !tbaa !9
  %275 = load i32, ptr %8, align 4, !tbaa !9
  %276 = call i32 @s2n_alloc(ptr noundef %11, i32 noundef %275)
  %277 = icmp eq i32 %276, -1
  br i1 %277, label %278, label %331

278:                                              ; preds = %272
  br label %279

279:                                              ; preds = %278
  br label %280

280:                                              ; preds = %279
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #9
  %281 = call ptr @__errno_location() #10
  %282 = load i32, ptr %281, align 4, !tbaa !9
  store i32 %282, ptr %12, align 4, !tbaa !9
  %283 = load ptr, ptr @stderr, align 8, !tbaa !5
  %284 = call i32 @s2n_print_stacktrace(ptr noundef %283)
  %285 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %286 = trunc i8 %285 to i1
  br i1 %286, label %287, label %309

287:                                              ; preds = %280
  %288 = load ptr, ptr @stderr, align 8, !tbaa !5
  %289 = call i32 @fileno(ptr noundef %288) #9
  %290 = call i32 @isatty(i32 noundef %289) #9
  %291 = icmp ne i32 %290, 0
  br i1 %291, label %292, label %309

292:                                              ; preds = %287
  %293 = load i32, ptr %12, align 4, !tbaa !9
  %294 = call ptr @__errno_location() #10
  store i32 %293, ptr %294, align 4, !tbaa !9
  %295 = load ptr, ptr @stderr, align 8, !tbaa !5
  %296 = load i32, ptr @test_count, align 4, !tbaa !9
  %297 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %298 = load i32, ptr %297, align 4, !tbaa !9
  %299 = call ptr @s2n_strerror(i32 noundef %298, ptr noundef @.str.3)
  %300 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %301 = load i32, ptr %300, align 4, !tbaa !9
  %302 = call ptr @s2n_strerror_debug(i32 noundef %301, ptr noundef @.str.3)
  %303 = call ptr @__errno_location() #10
  %304 = load i32, ptr %303, align 4, !tbaa !9
  %305 = call ptr @strerror(i32 noundef %304) #9
  %306 = call ptr @__errno_location() #10
  %307 = load i32, ptr %306, align 4, !tbaa !9
  %308 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %295, ptr noundef @.str, i32 noundef %296, ptr noundef @.str.34, ptr noundef @.str.2, i32 noundef 275, ptr noundef %299, ptr noundef %302, ptr noundef %305, i32 noundef %307) #9
  br label %326

309:                                              ; preds = %287, %280
  %310 = load i32, ptr %12, align 4, !tbaa !9
  %311 = call ptr @__errno_location() #10
  store i32 %310, ptr %311, align 4, !tbaa !9
  %312 = load ptr, ptr @stderr, align 8, !tbaa !5
  %313 = load i32, ptr @test_count, align 4, !tbaa !9
  %314 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %315 = load i32, ptr %314, align 4, !tbaa !9
  %316 = call ptr @s2n_strerror(i32 noundef %315, ptr noundef @.str.3)
  %317 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %318 = load i32, ptr %317, align 4, !tbaa !9
  %319 = call ptr @s2n_strerror_debug(i32 noundef %318, ptr noundef @.str.3)
  %320 = call ptr @__errno_location() #10
  %321 = load i32, ptr %320, align 4, !tbaa !9
  %322 = call ptr @strerror(i32 noundef %321) #9
  %323 = call ptr @__errno_location() #10
  %324 = load i32, ptr %323, align 4, !tbaa !9
  %325 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %312, ptr noundef @.str.4, i32 noundef %313, ptr noundef @.str.34, ptr noundef @.str.2, i32 noundef 275, ptr noundef %316, ptr noundef %319, ptr noundef %322, i32 noundef %324) #9
  br label %326

326:                                              ; preds = %309, %292
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #9
  br label %327

327:                                              ; preds = %326
  br label %328

328:                                              ; preds = %327
  call void @exit(i32 noundef 1) #11
  unreachable

329:                                              ; No predecessors!
  br label %330

330:                                              ; preds = %329
  br label %331

331:                                              ; preds = %330, %272
  br label %332

332:                                              ; preds = %331
  br label %333

333:                                              ; preds = %332
  call void @llvm.lifetime.start.p0(i64 24, ptr %13) #9
  call void @llvm.memset.p0.i64(ptr align 8 %13, i8 0, i64 24, i1 false)
  br label %334

334:                                              ; preds = %333
  %335 = load i32, ptr @test_count, align 4, !tbaa !9
  %336 = add nsw i32 %335, 1
  store i32 %336, ptr @test_count, align 4, !tbaa !9
  %337 = load i32, ptr %8, align 4, !tbaa !9
  %338 = call i32 @s2n_alloc(ptr noundef %13, i32 noundef %337)
  %339 = icmp eq i32 %338, -1
  br i1 %339, label %340, label %393

340:                                              ; preds = %334
  br label %341

341:                                              ; preds = %340
  br label %342

342:                                              ; preds = %341
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #9
  %343 = call ptr @__errno_location() #10
  %344 = load i32, ptr %343, align 4, !tbaa !9
  store i32 %344, ptr %14, align 4, !tbaa !9
  %345 = load ptr, ptr @stderr, align 8, !tbaa !5
  %346 = call i32 @s2n_print_stacktrace(ptr noundef %345)
  %347 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %348 = trunc i8 %347 to i1
  br i1 %348, label %349, label %371

349:                                              ; preds = %342
  %350 = load ptr, ptr @stderr, align 8, !tbaa !5
  %351 = call i32 @fileno(ptr noundef %350) #9
  %352 = call i32 @isatty(i32 noundef %351) #9
  %353 = icmp ne i32 %352, 0
  br i1 %353, label %354, label %371

354:                                              ; preds = %349
  %355 = load i32, ptr %14, align 4, !tbaa !9
  %356 = call ptr @__errno_location() #10
  store i32 %355, ptr %356, align 4, !tbaa !9
  %357 = load ptr, ptr @stderr, align 8, !tbaa !5
  %358 = load i32, ptr @test_count, align 4, !tbaa !9
  %359 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %360 = load i32, ptr %359, align 4, !tbaa !9
  %361 = call ptr @s2n_strerror(i32 noundef %360, ptr noundef @.str.3)
  %362 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %363 = load i32, ptr %362, align 4, !tbaa !9
  %364 = call ptr @s2n_strerror_debug(i32 noundef %363, ptr noundef @.str.3)
  %365 = call ptr @__errno_location() #10
  %366 = load i32, ptr %365, align 4, !tbaa !9
  %367 = call ptr @strerror(i32 noundef %366) #9
  %368 = call ptr @__errno_location() #10
  %369 = load i32, ptr %368, align 4, !tbaa !9
  %370 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %357, ptr noundef @.str, i32 noundef %358, ptr noundef @.str.35, ptr noundef @.str.2, i32 noundef 278, ptr noundef %361, ptr noundef %364, ptr noundef %367, i32 noundef %369) #9
  br label %388

371:                                              ; preds = %349, %342
  %372 = load i32, ptr %14, align 4, !tbaa !9
  %373 = call ptr @__errno_location() #10
  store i32 %372, ptr %373, align 4, !tbaa !9
  %374 = load ptr, ptr @stderr, align 8, !tbaa !5
  %375 = load i32, ptr @test_count, align 4, !tbaa !9
  %376 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %377 = load i32, ptr %376, align 4, !tbaa !9
  %378 = call ptr @s2n_strerror(i32 noundef %377, ptr noundef @.str.3)
  %379 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %380 = load i32, ptr %379, align 4, !tbaa !9
  %381 = call ptr @s2n_strerror_debug(i32 noundef %380, ptr noundef @.str.3)
  %382 = call ptr @__errno_location() #10
  %383 = load i32, ptr %382, align 4, !tbaa !9
  %384 = call ptr @strerror(i32 noundef %383) #9
  %385 = call ptr @__errno_location() #10
  %386 = load i32, ptr %385, align 4, !tbaa !9
  %387 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %374, ptr noundef @.str.4, i32 noundef %375, ptr noundef @.str.35, ptr noundef @.str.2, i32 noundef 278, ptr noundef %378, ptr noundef %381, ptr noundef %384, i32 noundef %386) #9
  br label %388

388:                                              ; preds = %371, %354
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #9
  br label %389

389:                                              ; preds = %388
  br label %390

390:                                              ; preds = %389
  call void @exit(i32 noundef 1) #11
  unreachable

391:                                              ; No predecessors!
  br label %392

392:                                              ; preds = %391
  br label %393

393:                                              ; preds = %392, %334
  br label %394

394:                                              ; preds = %393
  br label %395

395:                                              ; preds = %394
  br label %396

396:                                              ; preds = %395
  %397 = load i32, ptr @test_count, align 4, !tbaa !9
  %398 = add nsw i32 %397, 1
  store i32 %398, ptr @test_count, align 4, !tbaa !9
  %399 = load ptr, ptr %4, align 8, !tbaa !5
  %400 = getelementptr inbounds %struct.s2n_blob, ptr %11, i32 0, i32 0
  %401 = load ptr, ptr %400, align 8, !tbaa !15
  %402 = getelementptr inbounds %struct.s2n_blob, ptr %11, i32 0, i32 1
  %403 = load i32, ptr %402, align 8, !tbaa !17
  %404 = call i32 @s2n_async_pkey_op_get_input(ptr noundef %399, ptr noundef %401, i32 noundef %403)
  %405 = icmp eq i32 %404, -1
  br i1 %405, label %406, label %459

406:                                              ; preds = %396
  br label %407

407:                                              ; preds = %406
  br label %408

408:                                              ; preds = %407
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #9
  %409 = call ptr @__errno_location() #10
  %410 = load i32, ptr %409, align 4, !tbaa !9
  store i32 %410, ptr %15, align 4, !tbaa !9
  %411 = load ptr, ptr @stderr, align 8, !tbaa !5
  %412 = call i32 @s2n_print_stacktrace(ptr noundef %411)
  %413 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %414 = trunc i8 %413 to i1
  br i1 %414, label %415, label %437

415:                                              ; preds = %408
  %416 = load ptr, ptr @stderr, align 8, !tbaa !5
  %417 = call i32 @fileno(ptr noundef %416) #9
  %418 = call i32 @isatty(i32 noundef %417) #9
  %419 = icmp ne i32 %418, 0
  br i1 %419, label %420, label %437

420:                                              ; preds = %415
  %421 = load i32, ptr %15, align 4, !tbaa !9
  %422 = call ptr @__errno_location() #10
  store i32 %421, ptr %422, align 4, !tbaa !9
  %423 = load ptr, ptr @stderr, align 8, !tbaa !5
  %424 = load i32, ptr @test_count, align 4, !tbaa !9
  %425 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %426 = load i32, ptr %425, align 4, !tbaa !9
  %427 = call ptr @s2n_strerror(i32 noundef %426, ptr noundef @.str.3)
  %428 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %429 = load i32, ptr %428, align 4, !tbaa !9
  %430 = call ptr @s2n_strerror_debug(i32 noundef %429, ptr noundef @.str.3)
  %431 = call ptr @__errno_location() #10
  %432 = load i32, ptr %431, align 4, !tbaa !9
  %433 = call ptr @strerror(i32 noundef %432) #9
  %434 = call ptr @__errno_location() #10
  %435 = load i32, ptr %434, align 4, !tbaa !9
  %436 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %423, ptr noundef @.str, i32 noundef %424, ptr noundef @.str.36, ptr noundef @.str.2, i32 noundef 281, ptr noundef %427, ptr noundef %430, ptr noundef %433, i32 noundef %435) #9
  br label %454

437:                                              ; preds = %415, %408
  %438 = load i32, ptr %15, align 4, !tbaa !9
  %439 = call ptr @__errno_location() #10
  store i32 %438, ptr %439, align 4, !tbaa !9
  %440 = load ptr, ptr @stderr, align 8, !tbaa !5
  %441 = load i32, ptr @test_count, align 4, !tbaa !9
  %442 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %443 = load i32, ptr %442, align 4, !tbaa !9
  %444 = call ptr @s2n_strerror(i32 noundef %443, ptr noundef @.str.3)
  %445 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %446 = load i32, ptr %445, align 4, !tbaa !9
  %447 = call ptr @s2n_strerror_debug(i32 noundef %446, ptr noundef @.str.3)
  %448 = call ptr @__errno_location() #10
  %449 = load i32, ptr %448, align 4, !tbaa !9
  %450 = call ptr @strerror(i32 noundef %449) #9
  %451 = call ptr @__errno_location() #10
  %452 = load i32, ptr %451, align 4, !tbaa !9
  %453 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %440, ptr noundef @.str.4, i32 noundef %441, ptr noundef @.str.36, ptr noundef @.str.2, i32 noundef 281, ptr noundef %444, ptr noundef %447, ptr noundef %450, i32 noundef %452) #9
  br label %454

454:                                              ; preds = %437, %420
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #9
  br label %455

455:                                              ; preds = %454
  br label %456

456:                                              ; preds = %455
  call void @exit(i32 noundef 1) #11
  unreachable

457:                                              ; No predecessors!
  br label %458

458:                                              ; preds = %457
  br label %459

459:                                              ; preds = %458, %396
  br label %460

460:                                              ; preds = %459
  br label %461

461:                                              ; preds = %460
  br label %462

462:                                              ; preds = %461
  br label %463

463:                                              ; preds = %462
  %464 = load i32, ptr @test_count, align 4, !tbaa !9
  %465 = add nsw i32 %464, 1
  store i32 %465, ptr @test_count, align 4, !tbaa !9
  %466 = getelementptr inbounds %struct.s2n_blob, ptr %11, i32 0, i32 0
  %467 = load ptr, ptr %466, align 8, !tbaa !15
  %468 = call i32 @memcmp(ptr noundef %467, ptr noundef @test_encrypted_data, i64 noundef 17) #12
  %469 = icmp eq i32 %468, 0
  br i1 %469, label %523, label %470

470:                                              ; preds = %463
  br label %471

471:                                              ; preds = %470
  br label %472

472:                                              ; preds = %471
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #9
  %473 = call ptr @__errno_location() #10
  %474 = load i32, ptr %473, align 4, !tbaa !9
  store i32 %474, ptr %16, align 4, !tbaa !9
  %475 = load ptr, ptr @stderr, align 8, !tbaa !5
  %476 = call i32 @s2n_print_stacktrace(ptr noundef %475)
  %477 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %478 = trunc i8 %477 to i1
  br i1 %478, label %479, label %501

479:                                              ; preds = %472
  %480 = load ptr, ptr @stderr, align 8, !tbaa !5
  %481 = call i32 @fileno(ptr noundef %480) #9
  %482 = call i32 @isatty(i32 noundef %481) #9
  %483 = icmp ne i32 %482, 0
  br i1 %483, label %484, label %501

484:                                              ; preds = %479
  %485 = load i32, ptr %16, align 4, !tbaa !9
  %486 = call ptr @__errno_location() #10
  store i32 %485, ptr %486, align 4, !tbaa !9
  %487 = load ptr, ptr @stderr, align 8, !tbaa !5
  %488 = load i32, ptr @test_count, align 4, !tbaa !9
  %489 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %490 = load i32, ptr %489, align 4, !tbaa !9
  %491 = call ptr @s2n_strerror(i32 noundef %490, ptr noundef @.str.3)
  %492 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %493 = load i32, ptr %492, align 4, !tbaa !9
  %494 = call ptr @s2n_strerror_debug(i32 noundef %493, ptr noundef @.str.3)
  %495 = call ptr @__errno_location() #10
  %496 = load i32, ptr %495, align 4, !tbaa !9
  %497 = call ptr @strerror(i32 noundef %496) #9
  %498 = call ptr @__errno_location() #10
  %499 = load i32, ptr %498, align 4, !tbaa !9
  %500 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %487, ptr noundef @.str, i32 noundef %488, ptr noundef @.str.37, ptr noundef @.str.2, i32 noundef 282, ptr noundef %491, ptr noundef %494, ptr noundef %497, i32 noundef %499) #9
  br label %518

501:                                              ; preds = %479, %472
  %502 = load i32, ptr %16, align 4, !tbaa !9
  %503 = call ptr @__errno_location() #10
  store i32 %502, ptr %503, align 4, !tbaa !9
  %504 = load ptr, ptr @stderr, align 8, !tbaa !5
  %505 = load i32, ptr @test_count, align 4, !tbaa !9
  %506 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %507 = load i32, ptr %506, align 4, !tbaa !9
  %508 = call ptr @s2n_strerror(i32 noundef %507, ptr noundef @.str.3)
  %509 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %510 = load i32, ptr %509, align 4, !tbaa !9
  %511 = call ptr @s2n_strerror_debug(i32 noundef %510, ptr noundef @.str.3)
  %512 = call ptr @__errno_location() #10
  %513 = load i32, ptr %512, align 4, !tbaa !9
  %514 = call ptr @strerror(i32 noundef %513) #9
  %515 = call ptr @__errno_location() #10
  %516 = load i32, ptr %515, align 4, !tbaa !9
  %517 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %504, ptr noundef @.str.4, i32 noundef %505, ptr noundef @.str.37, ptr noundef @.str.2, i32 noundef 282, ptr noundef %508, ptr noundef %511, ptr noundef %514, i32 noundef %516) #9
  br label %518

518:                                              ; preds = %501, %484
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #9
  br label %519

519:                                              ; preds = %518
  br label %520

520:                                              ; preds = %519
  call void @exit(i32 noundef 1) #11
  unreachable

521:                                              ; No predecessors!
  br label %522

522:                                              ; preds = %521
  br label %523

523:                                              ; preds = %522, %463
  br label %524

524:                                              ; preds = %523
  br label %525

525:                                              ; preds = %524
  br label %526

526:                                              ; preds = %525
  br label %527

527:                                              ; preds = %526
  br label %528

528:                                              ; preds = %527
  %529 = load i32, ptr @test_count, align 4, !tbaa !9
  %530 = add nsw i32 %529, 1
  store i32 %530, ptr @test_count, align 4, !tbaa !9
  %531 = load ptr, ptr %4, align 8, !tbaa !5
  %532 = getelementptr inbounds %struct.s2n_blob, ptr %13, i32 0, i32 0
  %533 = load ptr, ptr %532, align 8, !tbaa !15
  %534 = getelementptr inbounds %struct.s2n_blob, ptr %13, i32 0, i32 1
  %535 = load i32, ptr %534, align 8, !tbaa !17
  %536 = call i32 @s2n_async_pkey_op_get_input(ptr noundef %531, ptr noundef %533, i32 noundef %535)
  %537 = icmp eq i32 %536, -1
  br i1 %537, label %538, label %591

538:                                              ; preds = %528
  br label %539

539:                                              ; preds = %538
  br label %540

540:                                              ; preds = %539
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #9
  %541 = call ptr @__errno_location() #10
  %542 = load i32, ptr %541, align 4, !tbaa !9
  store i32 %542, ptr %17, align 4, !tbaa !9
  %543 = load ptr, ptr @stderr, align 8, !tbaa !5
  %544 = call i32 @s2n_print_stacktrace(ptr noundef %543)
  %545 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %546 = trunc i8 %545 to i1
  br i1 %546, label %547, label %569

547:                                              ; preds = %540
  %548 = load ptr, ptr @stderr, align 8, !tbaa !5
  %549 = call i32 @fileno(ptr noundef %548) #9
  %550 = call i32 @isatty(i32 noundef %549) #9
  %551 = icmp ne i32 %550, 0
  br i1 %551, label %552, label %569

552:                                              ; preds = %547
  %553 = load i32, ptr %17, align 4, !tbaa !9
  %554 = call ptr @__errno_location() #10
  store i32 %553, ptr %554, align 4, !tbaa !9
  %555 = load ptr, ptr @stderr, align 8, !tbaa !5
  %556 = load i32, ptr @test_count, align 4, !tbaa !9
  %557 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %558 = load i32, ptr %557, align 4, !tbaa !9
  %559 = call ptr @s2n_strerror(i32 noundef %558, ptr noundef @.str.3)
  %560 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %561 = load i32, ptr %560, align 4, !tbaa !9
  %562 = call ptr @s2n_strerror_debug(i32 noundef %561, ptr noundef @.str.3)
  %563 = call ptr @__errno_location() #10
  %564 = load i32, ptr %563, align 4, !tbaa !9
  %565 = call ptr @strerror(i32 noundef %564) #9
  %566 = call ptr @__errno_location() #10
  %567 = load i32, ptr %566, align 4, !tbaa !9
  %568 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %555, ptr noundef @.str, i32 noundef %556, ptr noundef @.str.38, ptr noundef @.str.2, i32 noundef 284, ptr noundef %559, ptr noundef %562, ptr noundef %565, i32 noundef %567) #9
  br label %586

569:                                              ; preds = %547, %540
  %570 = load i32, ptr %17, align 4, !tbaa !9
  %571 = call ptr @__errno_location() #10
  store i32 %570, ptr %571, align 4, !tbaa !9
  %572 = load ptr, ptr @stderr, align 8, !tbaa !5
  %573 = load i32, ptr @test_count, align 4, !tbaa !9
  %574 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %575 = load i32, ptr %574, align 4, !tbaa !9
  %576 = call ptr @s2n_strerror(i32 noundef %575, ptr noundef @.str.3)
  %577 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %578 = load i32, ptr %577, align 4, !tbaa !9
  %579 = call ptr @s2n_strerror_debug(i32 noundef %578, ptr noundef @.str.3)
  %580 = call ptr @__errno_location() #10
  %581 = load i32, ptr %580, align 4, !tbaa !9
  %582 = call ptr @strerror(i32 noundef %581) #9
  %583 = call ptr @__errno_location() #10
  %584 = load i32, ptr %583, align 4, !tbaa !9
  %585 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %572, ptr noundef @.str.4, i32 noundef %573, ptr noundef @.str.38, ptr noundef @.str.2, i32 noundef 284, ptr noundef %576, ptr noundef %579, ptr noundef %582, i32 noundef %584) #9
  br label %586

586:                                              ; preds = %569, %552
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #9
  br label %587

587:                                              ; preds = %586
  br label %588

588:                                              ; preds = %587
  call void @exit(i32 noundef 1) #11
  unreachable

589:                                              ; No predecessors!
  br label %590

590:                                              ; preds = %589
  br label %591

591:                                              ; preds = %590, %528
  br label %592

592:                                              ; preds = %591
  br label %593

593:                                              ; preds = %592
  br label %594

594:                                              ; preds = %593
  br label %595

595:                                              ; preds = %594
  %596 = load i32, ptr @test_count, align 4, !tbaa !9
  %597 = add nsw i32 %596, 1
  store i32 %597, ptr @test_count, align 4, !tbaa !9
  %598 = getelementptr inbounds %struct.s2n_blob, ptr %13, i32 0, i32 0
  %599 = load ptr, ptr %598, align 8, !tbaa !15
  %600 = call i32 @memcmp(ptr noundef %599, ptr noundef @test_encrypted_data, i64 noundef 17) #12
  %601 = icmp eq i32 %600, 0
  br i1 %601, label %655, label %602

602:                                              ; preds = %595
  br label %603

603:                                              ; preds = %602
  br label %604

604:                                              ; preds = %603
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #9
  %605 = call ptr @__errno_location() #10
  %606 = load i32, ptr %605, align 4, !tbaa !9
  store i32 %606, ptr %18, align 4, !tbaa !9
  %607 = load ptr, ptr @stderr, align 8, !tbaa !5
  %608 = call i32 @s2n_print_stacktrace(ptr noundef %607)
  %609 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %610 = trunc i8 %609 to i1
  br i1 %610, label %611, label %633

611:                                              ; preds = %604
  %612 = load ptr, ptr @stderr, align 8, !tbaa !5
  %613 = call i32 @fileno(ptr noundef %612) #9
  %614 = call i32 @isatty(i32 noundef %613) #9
  %615 = icmp ne i32 %614, 0
  br i1 %615, label %616, label %633

616:                                              ; preds = %611
  %617 = load i32, ptr %18, align 4, !tbaa !9
  %618 = call ptr @__errno_location() #10
  store i32 %617, ptr %618, align 4, !tbaa !9
  %619 = load ptr, ptr @stderr, align 8, !tbaa !5
  %620 = load i32, ptr @test_count, align 4, !tbaa !9
  %621 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %622 = load i32, ptr %621, align 4, !tbaa !9
  %623 = call ptr @s2n_strerror(i32 noundef %622, ptr noundef @.str.3)
  %624 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %625 = load i32, ptr %624, align 4, !tbaa !9
  %626 = call ptr @s2n_strerror_debug(i32 noundef %625, ptr noundef @.str.3)
  %627 = call ptr @__errno_location() #10
  %628 = load i32, ptr %627, align 4, !tbaa !9
  %629 = call ptr @strerror(i32 noundef %628) #9
  %630 = call ptr @__errno_location() #10
  %631 = load i32, ptr %630, align 4, !tbaa !9
  %632 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %619, ptr noundef @.str, i32 noundef %620, ptr noundef @.str.39, ptr noundef @.str.2, i32 noundef 285, ptr noundef %623, ptr noundef %626, ptr noundef %629, i32 noundef %631) #9
  br label %650

633:                                              ; preds = %611, %604
  %634 = load i32, ptr %18, align 4, !tbaa !9
  %635 = call ptr @__errno_location() #10
  store i32 %634, ptr %635, align 4, !tbaa !9
  %636 = load ptr, ptr @stderr, align 8, !tbaa !5
  %637 = load i32, ptr @test_count, align 4, !tbaa !9
  %638 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %639 = load i32, ptr %638, align 4, !tbaa !9
  %640 = call ptr @s2n_strerror(i32 noundef %639, ptr noundef @.str.3)
  %641 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %642 = load i32, ptr %641, align 4, !tbaa !9
  %643 = call ptr @s2n_strerror_debug(i32 noundef %642, ptr noundef @.str.3)
  %644 = call ptr @__errno_location() #10
  %645 = load i32, ptr %644, align 4, !tbaa !9
  %646 = call ptr @strerror(i32 noundef %645) #9
  %647 = call ptr @__errno_location() #10
  %648 = load i32, ptr %647, align 4, !tbaa !9
  %649 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %636, ptr noundef @.str.4, i32 noundef %637, ptr noundef @.str.39, ptr noundef @.str.2, i32 noundef 285, ptr noundef %640, ptr noundef %643, ptr noundef %646, i32 noundef %648) #9
  br label %650

650:                                              ; preds = %633, %616
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #9
  br label %651

651:                                              ; preds = %650
  br label %652

652:                                              ; preds = %651
  call void @exit(i32 noundef 1) #11
  unreachable

653:                                              ; No predecessors!
  br label %654

654:                                              ; preds = %653
  br label %655

655:                                              ; preds = %654, %595
  br label %656

656:                                              ; preds = %655
  br label %657

657:                                              ; preds = %656
  br label %658

658:                                              ; preds = %657
  br label %659

659:                                              ; preds = %658
  br label %660

660:                                              ; preds = %659
  %661 = load i32, ptr @test_count, align 4, !tbaa !9
  %662 = add nsw i32 %661, 1
  store i32 %662, ptr @test_count, align 4, !tbaa !9
  %663 = getelementptr inbounds %struct.s2n_blob, ptr %11, i32 0, i32 1
  %664 = load i32, ptr %663, align 8, !tbaa !17
  %665 = getelementptr inbounds %struct.s2n_blob, ptr %13, i32 0, i32 1
  %666 = load i32, ptr %665, align 8, !tbaa !17
  %667 = icmp eq i32 %664, %666
  br i1 %667, label %721, label %668

668:                                              ; preds = %660
  br label %669

669:                                              ; preds = %668
  br label %670

670:                                              ; preds = %669
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #9
  %671 = call ptr @__errno_location() #10
  %672 = load i32, ptr %671, align 4, !tbaa !9
  store i32 %672, ptr %19, align 4, !tbaa !9
  %673 = load ptr, ptr @stderr, align 8, !tbaa !5
  %674 = call i32 @s2n_print_stacktrace(ptr noundef %673)
  %675 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %676 = trunc i8 %675 to i1
  br i1 %676, label %677, label %699

677:                                              ; preds = %670
  %678 = load ptr, ptr @stderr, align 8, !tbaa !5
  %679 = call i32 @fileno(ptr noundef %678) #9
  %680 = call i32 @isatty(i32 noundef %679) #9
  %681 = icmp ne i32 %680, 0
  br i1 %681, label %682, label %699

682:                                              ; preds = %677
  %683 = load i32, ptr %19, align 4, !tbaa !9
  %684 = call ptr @__errno_location() #10
  store i32 %683, ptr %684, align 4, !tbaa !9
  %685 = load ptr, ptr @stderr, align 8, !tbaa !5
  %686 = load i32, ptr @test_count, align 4, !tbaa !9
  %687 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %688 = load i32, ptr %687, align 4, !tbaa !9
  %689 = call ptr @s2n_strerror(i32 noundef %688, ptr noundef @.str.3)
  %690 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %691 = load i32, ptr %690, align 4, !tbaa !9
  %692 = call ptr @s2n_strerror_debug(i32 noundef %691, ptr noundef @.str.3)
  %693 = call ptr @__errno_location() #10
  %694 = load i32, ptr %693, align 4, !tbaa !9
  %695 = call ptr @strerror(i32 noundef %694) #9
  %696 = call ptr @__errno_location() #10
  %697 = load i32, ptr %696, align 4, !tbaa !9
  %698 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %685, ptr noundef @.str, i32 noundef %686, ptr noundef @.str.40, ptr noundef @.str.2, i32 noundef 287, ptr noundef %689, ptr noundef %692, ptr noundef %695, i32 noundef %697) #9
  br label %716

699:                                              ; preds = %677, %670
  %700 = load i32, ptr %19, align 4, !tbaa !9
  %701 = call ptr @__errno_location() #10
  store i32 %700, ptr %701, align 4, !tbaa !9
  %702 = load ptr, ptr @stderr, align 8, !tbaa !5
  %703 = load i32, ptr @test_count, align 4, !tbaa !9
  %704 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %705 = load i32, ptr %704, align 4, !tbaa !9
  %706 = call ptr @s2n_strerror(i32 noundef %705, ptr noundef @.str.3)
  %707 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %708 = load i32, ptr %707, align 4, !tbaa !9
  %709 = call ptr @s2n_strerror_debug(i32 noundef %708, ptr noundef @.str.3)
  %710 = call ptr @__errno_location() #10
  %711 = load i32, ptr %710, align 4, !tbaa !9
  %712 = call ptr @strerror(i32 noundef %711) #9
  %713 = call ptr @__errno_location() #10
  %714 = load i32, ptr %713, align 4, !tbaa !9
  %715 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %702, ptr noundef @.str.4, i32 noundef %703, ptr noundef @.str.40, ptr noundef @.str.2, i32 noundef 287, ptr noundef %706, ptr noundef %709, ptr noundef %712, i32 noundef %714) #9
  br label %716

716:                                              ; preds = %699, %682
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #9
  br label %717

717:                                              ; preds = %716
  br label %718

718:                                              ; preds = %717
  call void @exit(i32 noundef 1) #11
  unreachable

719:                                              ; No predecessors!
  br label %720

720:                                              ; preds = %719
  br label %721

721:                                              ; preds = %720, %660
  br label %722

722:                                              ; preds = %721
  br label %723

723:                                              ; preds = %722
  br label %724

724:                                              ; preds = %723
  %725 = load i32, ptr @test_count, align 4, !tbaa !9
  %726 = add nsw i32 %725, 1
  store i32 %726, ptr @test_count, align 4, !tbaa !9
  %727 = getelementptr inbounds %struct.s2n_blob, ptr %11, i32 0, i32 1
  %728 = load i32, ptr %727, align 8, !tbaa !17
  %729 = icmp eq i32 %728, 17
  br i1 %729, label %783, label %730

730:                                              ; preds = %724
  br label %731

731:                                              ; preds = %730
  br label %732

732:                                              ; preds = %731
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #9
  %733 = call ptr @__errno_location() #10
  %734 = load i32, ptr %733, align 4, !tbaa !9
  store i32 %734, ptr %20, align 4, !tbaa !9
  %735 = load ptr, ptr @stderr, align 8, !tbaa !5
  %736 = call i32 @s2n_print_stacktrace(ptr noundef %735)
  %737 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %738 = trunc i8 %737 to i1
  br i1 %738, label %739, label %761

739:                                              ; preds = %732
  %740 = load ptr, ptr @stderr, align 8, !tbaa !5
  %741 = call i32 @fileno(ptr noundef %740) #9
  %742 = call i32 @isatty(i32 noundef %741) #9
  %743 = icmp ne i32 %742, 0
  br i1 %743, label %744, label %761

744:                                              ; preds = %739
  %745 = load i32, ptr %20, align 4, !tbaa !9
  %746 = call ptr @__errno_location() #10
  store i32 %745, ptr %746, align 4, !tbaa !9
  %747 = load ptr, ptr @stderr, align 8, !tbaa !5
  %748 = load i32, ptr @test_count, align 4, !tbaa !9
  %749 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %750 = load i32, ptr %749, align 4, !tbaa !9
  %751 = call ptr @s2n_strerror(i32 noundef %750, ptr noundef @.str.3)
  %752 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %753 = load i32, ptr %752, align 4, !tbaa !9
  %754 = call ptr @s2n_strerror_debug(i32 noundef %753, ptr noundef @.str.3)
  %755 = call ptr @__errno_location() #10
  %756 = load i32, ptr %755, align 4, !tbaa !9
  %757 = call ptr @strerror(i32 noundef %756) #9
  %758 = call ptr @__errno_location() #10
  %759 = load i32, ptr %758, align 4, !tbaa !9
  %760 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %747, ptr noundef @.str, i32 noundef %748, ptr noundef @.str.41, ptr noundef @.str.2, i32 noundef 288, ptr noundef %751, ptr noundef %754, ptr noundef %757, i32 noundef %759) #9
  br label %778

761:                                              ; preds = %739, %732
  %762 = load i32, ptr %20, align 4, !tbaa !9
  %763 = call ptr @__errno_location() #10
  store i32 %762, ptr %763, align 4, !tbaa !9
  %764 = load ptr, ptr @stderr, align 8, !tbaa !5
  %765 = load i32, ptr @test_count, align 4, !tbaa !9
  %766 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %767 = load i32, ptr %766, align 4, !tbaa !9
  %768 = call ptr @s2n_strerror(i32 noundef %767, ptr noundef @.str.3)
  %769 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %770 = load i32, ptr %769, align 4, !tbaa !9
  %771 = call ptr @s2n_strerror_debug(i32 noundef %770, ptr noundef @.str.3)
  %772 = call ptr @__errno_location() #10
  %773 = load i32, ptr %772, align 4, !tbaa !9
  %774 = call ptr @strerror(i32 noundef %773) #9
  %775 = call ptr @__errno_location() #10
  %776 = load i32, ptr %775, align 4, !tbaa !9
  %777 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %764, ptr noundef @.str.4, i32 noundef %765, ptr noundef @.str.41, ptr noundef @.str.2, i32 noundef 288, ptr noundef %768, ptr noundef %771, ptr noundef %774, i32 noundef %776) #9
  br label %778

778:                                              ; preds = %761, %744
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #9
  br label %779

779:                                              ; preds = %778
  br label %780

780:                                              ; preds = %779
  call void @exit(i32 noundef 1) #11
  unreachable

781:                                              ; No predecessors!
  br label %782

782:                                              ; preds = %781
  br label %783

783:                                              ; preds = %782, %724
  br label %784

784:                                              ; preds = %783
  br label %785

785:                                              ; preds = %784
  br label %786

786:                                              ; preds = %785
  br label %787

787:                                              ; preds = %786
  %788 = load i32, ptr @test_count, align 4, !tbaa !9
  %789 = add nsw i32 %788, 1
  store i32 %789, ptr @test_count, align 4, !tbaa !9
  %790 = getelementptr inbounds %struct.s2n_blob, ptr %11, i32 0, i32 0
  %791 = load ptr, ptr %790, align 8, !tbaa !15
  %792 = getelementptr inbounds %struct.s2n_blob, ptr %13, i32 0, i32 0
  %793 = load ptr, ptr %792, align 8, !tbaa !15
  %794 = call i32 @memcmp(ptr noundef %791, ptr noundef %793, i64 noundef 17) #12
  %795 = icmp eq i32 %794, 0
  br i1 %795, label %849, label %796

796:                                              ; preds = %787
  br label %797

797:                                              ; preds = %796
  br label %798

798:                                              ; preds = %797
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #9
  %799 = call ptr @__errno_location() #10
  %800 = load i32, ptr %799, align 4, !tbaa !9
  store i32 %800, ptr %21, align 4, !tbaa !9
  %801 = load ptr, ptr @stderr, align 8, !tbaa !5
  %802 = call i32 @s2n_print_stacktrace(ptr noundef %801)
  %803 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %804 = trunc i8 %803 to i1
  br i1 %804, label %805, label %827

805:                                              ; preds = %798
  %806 = load ptr, ptr @stderr, align 8, !tbaa !5
  %807 = call i32 @fileno(ptr noundef %806) #9
  %808 = call i32 @isatty(i32 noundef %807) #9
  %809 = icmp ne i32 %808, 0
  br i1 %809, label %810, label %827

810:                                              ; preds = %805
  %811 = load i32, ptr %21, align 4, !tbaa !9
  %812 = call ptr @__errno_location() #10
  store i32 %811, ptr %812, align 4, !tbaa !9
  %813 = load ptr, ptr @stderr, align 8, !tbaa !5
  %814 = load i32, ptr @test_count, align 4, !tbaa !9
  %815 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %816 = load i32, ptr %815, align 4, !tbaa !9
  %817 = call ptr @s2n_strerror(i32 noundef %816, ptr noundef @.str.3)
  %818 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %819 = load i32, ptr %818, align 4, !tbaa !9
  %820 = call ptr @s2n_strerror_debug(i32 noundef %819, ptr noundef @.str.3)
  %821 = call ptr @__errno_location() #10
  %822 = load i32, ptr %821, align 4, !tbaa !9
  %823 = call ptr @strerror(i32 noundef %822) #9
  %824 = call ptr @__errno_location() #10
  %825 = load i32, ptr %824, align 4, !tbaa !9
  %826 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %813, ptr noundef @.str, i32 noundef %814, ptr noundef @.str.42, ptr noundef @.str.2, i32 noundef 289, ptr noundef %817, ptr noundef %820, ptr noundef %823, i32 noundef %825) #9
  br label %844

827:                                              ; preds = %805, %798
  %828 = load i32, ptr %21, align 4, !tbaa !9
  %829 = call ptr @__errno_location() #10
  store i32 %828, ptr %829, align 4, !tbaa !9
  %830 = load ptr, ptr @stderr, align 8, !tbaa !5
  %831 = load i32, ptr @test_count, align 4, !tbaa !9
  %832 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %833 = load i32, ptr %832, align 4, !tbaa !9
  %834 = call ptr @s2n_strerror(i32 noundef %833, ptr noundef @.str.3)
  %835 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %836 = load i32, ptr %835, align 4, !tbaa !9
  %837 = call ptr @s2n_strerror_debug(i32 noundef %836, ptr noundef @.str.3)
  %838 = call ptr @__errno_location() #10
  %839 = load i32, ptr %838, align 4, !tbaa !9
  %840 = call ptr @strerror(i32 noundef %839) #9
  %841 = call ptr @__errno_location() #10
  %842 = load i32, ptr %841, align 4, !tbaa !9
  %843 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %830, ptr noundef @.str.4, i32 noundef %831, ptr noundef @.str.42, ptr noundef @.str.2, i32 noundef 289, ptr noundef %834, ptr noundef %837, ptr noundef %840, i32 noundef %842) #9
  br label %844

844:                                              ; preds = %827, %810
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #9
  br label %845

845:                                              ; preds = %844
  br label %846

846:                                              ; preds = %845
  call void @exit(i32 noundef 1) #11
  unreachable

847:                                              ; No predecessors!
  br label %848

848:                                              ; preds = %847
  br label %849

849:                                              ; preds = %848, %787
  br label %850

850:                                              ; preds = %849
  br label %851

851:                                              ; preds = %850
  br label %852

852:                                              ; preds = %851
  br label %853

853:                                              ; preds = %852
  br label %854

854:                                              ; preds = %853
  %855 = load i32, ptr @test_count, align 4, !tbaa !9
  %856 = add nsw i32 %855, 1
  store i32 %856, ptr @test_count, align 4, !tbaa !9
  %857 = call i32 @s2n_free(ptr noundef %11)
  %858 = icmp eq i32 %857, -1
  br i1 %858, label %859, label %912

859:                                              ; preds = %854
  br label %860

860:                                              ; preds = %859
  br label %861

861:                                              ; preds = %860
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #9
  %862 = call ptr @__errno_location() #10
  %863 = load i32, ptr %862, align 4, !tbaa !9
  store i32 %863, ptr %22, align 4, !tbaa !9
  %864 = load ptr, ptr @stderr, align 8, !tbaa !5
  %865 = call i32 @s2n_print_stacktrace(ptr noundef %864)
  %866 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %867 = trunc i8 %866 to i1
  br i1 %867, label %868, label %890

868:                                              ; preds = %861
  %869 = load ptr, ptr @stderr, align 8, !tbaa !5
  %870 = call i32 @fileno(ptr noundef %869) #9
  %871 = call i32 @isatty(i32 noundef %870) #9
  %872 = icmp ne i32 %871, 0
  br i1 %872, label %873, label %890

873:                                              ; preds = %868
  %874 = load i32, ptr %22, align 4, !tbaa !9
  %875 = call ptr @__errno_location() #10
  store i32 %874, ptr %875, align 4, !tbaa !9
  %876 = load ptr, ptr @stderr, align 8, !tbaa !5
  %877 = load i32, ptr @test_count, align 4, !tbaa !9
  %878 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %879 = load i32, ptr %878, align 4, !tbaa !9
  %880 = call ptr @s2n_strerror(i32 noundef %879, ptr noundef @.str.3)
  %881 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %882 = load i32, ptr %881, align 4, !tbaa !9
  %883 = call ptr @s2n_strerror_debug(i32 noundef %882, ptr noundef @.str.3)
  %884 = call ptr @__errno_location() #10
  %885 = load i32, ptr %884, align 4, !tbaa !9
  %886 = call ptr @strerror(i32 noundef %885) #9
  %887 = call ptr @__errno_location() #10
  %888 = load i32, ptr %887, align 4, !tbaa !9
  %889 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %876, ptr noundef @.str, i32 noundef %877, ptr noundef @.str.43, ptr noundef @.str.2, i32 noundef 291, ptr noundef %880, ptr noundef %883, ptr noundef %886, i32 noundef %888) #9
  br label %907

890:                                              ; preds = %868, %861
  %891 = load i32, ptr %22, align 4, !tbaa !9
  %892 = call ptr @__errno_location() #10
  store i32 %891, ptr %892, align 4, !tbaa !9
  %893 = load ptr, ptr @stderr, align 8, !tbaa !5
  %894 = load i32, ptr @test_count, align 4, !tbaa !9
  %895 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %896 = load i32, ptr %895, align 4, !tbaa !9
  %897 = call ptr @s2n_strerror(i32 noundef %896, ptr noundef @.str.3)
  %898 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %899 = load i32, ptr %898, align 4, !tbaa !9
  %900 = call ptr @s2n_strerror_debug(i32 noundef %899, ptr noundef @.str.3)
  %901 = call ptr @__errno_location() #10
  %902 = load i32, ptr %901, align 4, !tbaa !9
  %903 = call ptr @strerror(i32 noundef %902) #9
  %904 = call ptr @__errno_location() #10
  %905 = load i32, ptr %904, align 4, !tbaa !9
  %906 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %893, ptr noundef @.str.4, i32 noundef %894, ptr noundef @.str.43, ptr noundef @.str.2, i32 noundef 291, ptr noundef %897, ptr noundef %900, ptr noundef %903, i32 noundef %905) #9
  br label %907

907:                                              ; preds = %890, %873
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #9
  br label %908

908:                                              ; preds = %907
  br label %909

909:                                              ; preds = %908
  call void @exit(i32 noundef 1) #11
  unreachable

910:                                              ; No predecessors!
  br label %911

911:                                              ; preds = %910
  br label %912

912:                                              ; preds = %911, %854
  br label %913

913:                                              ; preds = %912
  br label %914

914:                                              ; preds = %913
  br label %915

915:                                              ; preds = %914
  %916 = load i32, ptr @test_count, align 4, !tbaa !9
  %917 = add nsw i32 %916, 1
  store i32 %917, ptr @test_count, align 4, !tbaa !9
  %918 = call i32 @s2n_free(ptr noundef %13)
  %919 = icmp eq i32 %918, -1
  br i1 %919, label %920, label %973

920:                                              ; preds = %915
  br label %921

921:                                              ; preds = %920
  br label %922

922:                                              ; preds = %921
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #9
  %923 = call ptr @__errno_location() #10
  %924 = load i32, ptr %923, align 4, !tbaa !9
  store i32 %924, ptr %23, align 4, !tbaa !9
  %925 = load ptr, ptr @stderr, align 8, !tbaa !5
  %926 = call i32 @s2n_print_stacktrace(ptr noundef %925)
  %927 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %928 = trunc i8 %927 to i1
  br i1 %928, label %929, label %951

929:                                              ; preds = %922
  %930 = load ptr, ptr @stderr, align 8, !tbaa !5
  %931 = call i32 @fileno(ptr noundef %930) #9
  %932 = call i32 @isatty(i32 noundef %931) #9
  %933 = icmp ne i32 %932, 0
  br i1 %933, label %934, label %951

934:                                              ; preds = %929
  %935 = load i32, ptr %23, align 4, !tbaa !9
  %936 = call ptr @__errno_location() #10
  store i32 %935, ptr %936, align 4, !tbaa !9
  %937 = load ptr, ptr @stderr, align 8, !tbaa !5
  %938 = load i32, ptr @test_count, align 4, !tbaa !9
  %939 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %940 = load i32, ptr %939, align 4, !tbaa !9
  %941 = call ptr @s2n_strerror(i32 noundef %940, ptr noundef @.str.3)
  %942 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %943 = load i32, ptr %942, align 4, !tbaa !9
  %944 = call ptr @s2n_strerror_debug(i32 noundef %943, ptr noundef @.str.3)
  %945 = call ptr @__errno_location() #10
  %946 = load i32, ptr %945, align 4, !tbaa !9
  %947 = call ptr @strerror(i32 noundef %946) #9
  %948 = call ptr @__errno_location() #10
  %949 = load i32, ptr %948, align 4, !tbaa !9
  %950 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %937, ptr noundef @.str, i32 noundef %938, ptr noundef @.str.44, ptr noundef @.str.2, i32 noundef 292, ptr noundef %941, ptr noundef %944, ptr noundef %947, i32 noundef %949) #9
  br label %968

951:                                              ; preds = %929, %922
  %952 = load i32, ptr %23, align 4, !tbaa !9
  %953 = call ptr @__errno_location() #10
  store i32 %952, ptr %953, align 4, !tbaa !9
  %954 = load ptr, ptr @stderr, align 8, !tbaa !5
  %955 = load i32, ptr @test_count, align 4, !tbaa !9
  %956 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %957 = load i32, ptr %956, align 4, !tbaa !9
  %958 = call ptr @s2n_strerror(i32 noundef %957, ptr noundef @.str.3)
  %959 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %960 = load i32, ptr %959, align 4, !tbaa !9
  %961 = call ptr @s2n_strerror_debug(i32 noundef %960, ptr noundef @.str.3)
  %962 = call ptr @__errno_location() #10
  %963 = load i32, ptr %962, align 4, !tbaa !9
  %964 = call ptr @strerror(i32 noundef %963) #9
  %965 = call ptr @__errno_location() #10
  %966 = load i32, ptr %965, align 4, !tbaa !9
  %967 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %954, ptr noundef @.str.4, i32 noundef %955, ptr noundef @.str.44, ptr noundef @.str.2, i32 noundef 292, ptr noundef %958, ptr noundef %961, ptr noundef %964, i32 noundef %966) #9
  br label %968

968:                                              ; preds = %951, %934
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #9
  br label %969

969:                                              ; preds = %968
  br label %970

970:                                              ; preds = %969
  call void @exit(i32 noundef 1) #11
  unreachable

971:                                              ; No predecessors!
  br label %972

972:                                              ; preds = %971
  br label %973

973:                                              ; preds = %972, %915
  br label %974

974:                                              ; preds = %973
  br label %975

975:                                              ; preds = %974
  br label %976

976:                                              ; preds = %975
  %977 = load i32, ptr @test_count, align 4, !tbaa !9
  %978 = add nsw i32 %977, 1
  store i32 %978, ptr @test_count, align 4, !tbaa !9
  %979 = load ptr, ptr %4, align 8, !tbaa !5
  %980 = call i32 @s2n_async_pkey_op_set_output(ptr noundef %979, ptr noundef @test_decrypted_data, i32 noundef 17)
  %981 = icmp eq i32 %980, -1
  br i1 %981, label %982, label %1035

982:                                              ; preds = %976
  br label %983

983:                                              ; preds = %982
  br label %984

984:                                              ; preds = %983
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #9
  %985 = call ptr @__errno_location() #10
  %986 = load i32, ptr %985, align 4, !tbaa !9
  store i32 %986, ptr %24, align 4, !tbaa !9
  %987 = load ptr, ptr @stderr, align 8, !tbaa !5
  %988 = call i32 @s2n_print_stacktrace(ptr noundef %987)
  %989 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %990 = trunc i8 %989 to i1
  br i1 %990, label %991, label %1013

991:                                              ; preds = %984
  %992 = load ptr, ptr @stderr, align 8, !tbaa !5
  %993 = call i32 @fileno(ptr noundef %992) #9
  %994 = call i32 @isatty(i32 noundef %993) #9
  %995 = icmp ne i32 %994, 0
  br i1 %995, label %996, label %1013

996:                                              ; preds = %991
  %997 = load i32, ptr %24, align 4, !tbaa !9
  %998 = call ptr @__errno_location() #10
  store i32 %997, ptr %998, align 4, !tbaa !9
  %999 = load ptr, ptr @stderr, align 8, !tbaa !5
  %1000 = load i32, ptr @test_count, align 4, !tbaa !9
  %1001 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1002 = load i32, ptr %1001, align 4, !tbaa !9
  %1003 = call ptr @s2n_strerror(i32 noundef %1002, ptr noundef @.str.3)
  %1004 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1005 = load i32, ptr %1004, align 4, !tbaa !9
  %1006 = call ptr @s2n_strerror_debug(i32 noundef %1005, ptr noundef @.str.3)
  %1007 = call ptr @__errno_location() #10
  %1008 = load i32, ptr %1007, align 4, !tbaa !9
  %1009 = call ptr @strerror(i32 noundef %1008) #9
  %1010 = call ptr @__errno_location() #10
  %1011 = load i32, ptr %1010, align 4, !tbaa !9
  %1012 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %999, ptr noundef @.str, i32 noundef %1000, ptr noundef @.str.45, ptr noundef @.str.2, i32 noundef 294, ptr noundef %1003, ptr noundef %1006, ptr noundef %1009, i32 noundef %1011) #9
  br label %1030

1013:                                             ; preds = %991, %984
  %1014 = load i32, ptr %24, align 4, !tbaa !9
  %1015 = call ptr @__errno_location() #10
  store i32 %1014, ptr %1015, align 4, !tbaa !9
  %1016 = load ptr, ptr @stderr, align 8, !tbaa !5
  %1017 = load i32, ptr @test_count, align 4, !tbaa !9
  %1018 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1019 = load i32, ptr %1018, align 4, !tbaa !9
  %1020 = call ptr @s2n_strerror(i32 noundef %1019, ptr noundef @.str.3)
  %1021 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %1022 = load i32, ptr %1021, align 4, !tbaa !9
  %1023 = call ptr @s2n_strerror_debug(i32 noundef %1022, ptr noundef @.str.3)
  %1024 = call ptr @__errno_location() #10
  %1025 = load i32, ptr %1024, align 4, !tbaa !9
  %1026 = call ptr @strerror(i32 noundef %1025) #9
  %1027 = call ptr @__errno_location() #10
  %1028 = load i32, ptr %1027, align 4, !tbaa !9
  %1029 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1016, ptr noundef @.str.4, i32 noundef %1017, ptr noundef @.str.45, ptr noundef @.str.2, i32 noundef 294, ptr noundef %1020, ptr noundef %1023, ptr noundef %1026, i32 noundef %1028) #9
  br label %1030

1030:                                             ; preds = %1013, %996
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #9
  br label %1031

1031:                                             ; preds = %1030
  br label %1032

1032:                                             ; preds = %1031
  call void @exit(i32 noundef 1) #11
  unreachable

1033:                                             ; No predecessors!
  br label %1034

1034:                                             ; preds = %1033
  br label %1035

1035:                                             ; preds = %1034, %976
  br label %1036

1036:                                             ; preds = %1035
  br label %1037

1037:                                             ; preds = %1036
  %1038 = load i8, ptr @offload_callback_count, align 1, !tbaa !18
  %1039 = add i8 %1038, 1
  store i8 %1039, ptr @offload_callback_count, align 1, !tbaa !18
  call void @llvm.lifetime.end.p0(i64 24, ptr %13) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %11) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #9
  ret i32 0
}

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nounwind willreturn memory(none) "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 "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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #5 = { noreturn nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #7 = { 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 #8 = { 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 #9 = { nounwind }
attributes #10 = { nounwind willreturn memory(none) }
attributes #11 = { noreturn nounwind }
attributes #12 = { 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, !12, i64 0}
!12 = !{!"_Bool", !7, i64 0}
!13 = !{i8 0, i8 2}
!14 = !{}
!15 = !{!16, !6, i64 0}
!16 = !{!"s2n_blob", !6, i64 0, !10, i64 8, !10, i64 12, !10, i64 16}
!17 = !{!16, !10, i64 8}
!18 = !{!7, !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"

%struct.s2n_blob = type { ptr, i32, i32, i8 }

@s2n_use_color_in_output = external dso_local local_unnamed_addr global i8, align 1
@pkey_op = external dso_local local_unnamed_addr global ptr, align 8
@test_encrypted_data = external dso_local global [17 x i8], align 16
@test_decrypted_data = external dso_local global [17 x i8], align 16
@offload_callback_count = external dso_local local_unnamed_addr global i8, align 1
@test_count = external dso_local local_unnamed_addr global i32, align 4
@stderr = external local_unnamed_addr global ptr, align 8
@.str = external hidden unnamed_addr constant [101 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [78 x i8], align 1
@s2n_errno = external thread_local local_unnamed_addr global i32, align 4
@.str.3 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [90 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [69 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [78 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [43 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [51 x i8], align 1
@.str.34 = external hidden unnamed_addr constant [66 x i8], align 1
@.str.35 = external hidden unnamed_addr constant [66 x i8], align 1
@.str.36 = external hidden unnamed_addr constant [100 x i8], align 1
@.str.37 = external hidden unnamed_addr constant [99 x i8], align 1
@.str.38 = external hidden unnamed_addr constant [100 x i8], align 1
@.str.39 = external hidden unnamed_addr constant [99 x i8], align 1
@.str.40 = external hidden unnamed_addr constant [58 x i8], align 1
@.str.41 = external hidden unnamed_addr constant [59 x i8], align 1
@.str.42 = external hidden unnamed_addr constant [98 x i8], align 1
@.str.43 = external hidden unnamed_addr constant [53 x i8], align 1
@.str.44 = external hidden unnamed_addr constant [53 x i8], align 1
@.str.45 = external hidden unnamed_addr constant [103 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 nofree nosync nounwind willreturn memory(none)
declare ptr @__errno_location() local_unnamed_addr #1

declare i32 @s2n_print_stacktrace(ptr noundef) local_unnamed_addr #2

; Function Attrs: nounwind
declare i32 @isatty(i32 noundef) local_unnamed_addr #3

; Function Attrs: nofree nounwind
declare noundef i32 @fileno(ptr nocapture noundef) local_unnamed_addr #4

; Function Attrs: nofree nounwind
declare noundef i32 @fprintf(ptr nocapture noundef, ptr nocapture noundef readonly, ...) local_unnamed_addr #4

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

; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare nonnull ptr @llvm.threadlocal.address.p0(ptr nonnull) #5

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

; Function Attrs: nounwind
declare ptr @strerror(i32 noundef) local_unnamed_addr #3

; 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 nounwind
declare void @exit(i32 noundef) local_unnamed_addr #6

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

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

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #7

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

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

declare i32 @s2n_free(ptr noundef) local_unnamed_addr #2

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

; Function Attrs: nounwind uwtable
define dso_local noundef i32 @async_pkey_decrypt_callback(ptr nocapture noundef readnone %0, ptr noundef %1) local_unnamed_addr #8 {
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca %struct.s2n_blob, align 8
  %6 = alloca %struct.s2n_blob, align 8
  store ptr %1, ptr @pkey_op, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #10
  store i32 0, ptr %3, align 4, !tbaa !9
  %7 = load i32, ptr @test_count, align 4, !tbaa !9
  %8 = add nsw i32 %7, 1
  store i32 %8, ptr @test_count, align 4, !tbaa !9
  %9 = call i32 @s2n_async_pkey_op_get_op_type(ptr noundef %1, ptr noundef nonnull %3) #10
  %10 = icmp eq i32 %9, -1
  br i1 %10, label %11, label %35

11:                                               ; preds = %2
  %12 = tail call ptr @__errno_location() #11
  %13 = load i32, ptr %12, align 4, !tbaa !9
  %14 = load ptr, ptr @stderr, align 8, !tbaa !5
  %15 = call i32 @s2n_print_stacktrace(ptr noundef %14) #10
  %16 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %17 = trunc nuw i8 %16 to i1
  br i1 %17, label %18, label %22

18:                                               ; preds = %11
  %19 = load ptr, ptr @stderr, align 8, !tbaa !5
  %20 = call i32 @fileno(ptr noundef %19) #10
  %21 = call i32 @isatty(i32 noundef %20) #10
  %.not53 = icmp eq i32 %21, 0
  br i1 %.not53, label %22, label %23

22:                                               ; preds = %18, %11
  br label %23

23:                                               ; preds = %18, %22
  %.str.4.sink = phi ptr [ @.str.4, %22 ], [ @.str, %18 ]
  store i32 %13, ptr %12, align 4, !tbaa !9
  %24 = load ptr, ptr @stderr, align 8, !tbaa !5
  %25 = load i32, ptr @test_count, align 4, !tbaa !9
  %26 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %27 = load i32, ptr %26, align 4, !tbaa !9
  %28 = call ptr @s2n_strerror(i32 noundef %27, ptr noundef nonnull @.str.3) #10
  %29 = load i32, ptr %26, align 4, !tbaa !9
  %30 = call ptr @s2n_strerror_debug(i32 noundef %29, ptr noundef nonnull @.str.3) #10
  %31 = load i32, ptr %12, align 4, !tbaa !9
  %32 = call ptr @strerror(i32 noundef %31) #10
  %33 = load i32, ptr %12, align 4, !tbaa !9
  %34 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %24, ptr noundef nonnull %.str.4.sink, i32 noundef %25, ptr noundef nonnull @.str.10, ptr noundef nonnull @.str.2, i32 noundef 267, ptr noundef %28, ptr noundef %30, ptr noundef %32, i32 noundef %33) #12
  call void @exit(i32 noundef 1) #13
  unreachable

35:                                               ; preds = %2
  %36 = load i32, ptr @test_count, align 4, !tbaa !9
  %37 = add nsw i32 %36, 1
  store i32 %37, ptr @test_count, align 4, !tbaa !9
  %38 = load i32, ptr %3, align 4, !tbaa !9
  %39 = icmp eq i32 %38, 0
  br i1 %39, label %64, label %40

40:                                               ; preds = %35
  %41 = tail call ptr @__errno_location() #11
  %42 = load i32, ptr %41, align 4, !tbaa !9
  %43 = load ptr, ptr @stderr, align 8, !tbaa !5
  %44 = call i32 @s2n_print_stacktrace(ptr noundef %43) #10
  %45 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %46 = trunc nuw i8 %45 to i1
  br i1 %46, label %47, label %51

47:                                               ; preds = %40
  %48 = load ptr, ptr @stderr, align 8, !tbaa !5
  %49 = call i32 @fileno(ptr noundef %48) #10
  %50 = call i32 @isatty(i32 noundef %49) #10
  %.not = icmp eq i32 %50, 0
  br i1 %.not, label %51, label %52

51:                                               ; preds = %47, %40
  br label %52

52:                                               ; preds = %47, %51
  %.str.4.sink64 = phi ptr [ @.str.4, %51 ], [ @.str, %47 ]
  store i32 %42, ptr %41, align 4, !tbaa !9
  %53 = load ptr, ptr @stderr, align 8, !tbaa !5
  %54 = load i32, ptr @test_count, align 4, !tbaa !9
  %55 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %56 = load i32, ptr %55, align 4, !tbaa !9
  %57 = call ptr @s2n_strerror(i32 noundef %56, ptr noundef nonnull @.str.3) #10
  %58 = load i32, ptr %55, align 4, !tbaa !9
  %59 = call ptr @s2n_strerror_debug(i32 noundef %58, ptr noundef nonnull @.str.3) #10
  %60 = load i32, ptr %41, align 4, !tbaa !9
  %61 = call ptr @strerror(i32 noundef %60) #10
  %62 = load i32, ptr %41, align 4, !tbaa !9
  %63 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %53, ptr noundef nonnull %.str.4.sink64, i32 noundef %54, ptr noundef nonnull @.str.32, ptr noundef nonnull @.str.2, i32 noundef 268, ptr noundef %57, ptr noundef %59, ptr noundef %61, i32 noundef %62) #12
  call void @exit(i32 noundef 1) #13
  unreachable

64:                                               ; preds = %35
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #10
  store i32 0, ptr %4, align 4, !tbaa !9
  %65 = add nsw i32 %36, 2
  store i32 %65, ptr @test_count, align 4, !tbaa !9
  %66 = call i32 @s2n_async_pkey_op_get_input_size(ptr noundef %1, ptr noundef nonnull %4) #10
  %67 = icmp eq i32 %66, -1
  br i1 %67, label %68, label %92

68:                                               ; preds = %64
  %69 = tail call ptr @__errno_location() #11
  %70 = load i32, ptr %69, align 4, !tbaa !9
  %71 = load ptr, ptr @stderr, align 8, !tbaa !5
  %72 = call i32 @s2n_print_stacktrace(ptr noundef %71) #10
  %73 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %74 = trunc nuw i8 %73 to i1
  br i1 %74, label %75, label %79

75:                                               ; preds = %68
  %76 = load ptr, ptr @stderr, align 8, !tbaa !5
  %77 = call i32 @fileno(ptr noundef %76) #10
  %78 = call i32 @isatty(i32 noundef %77) #10
  %.not52 = icmp eq i32 %78, 0
  br i1 %.not52, label %79, label %80

79:                                               ; preds = %75, %68
  br label %80

80:                                               ; preds = %75, %79
  %.str.4.sink75 = phi ptr [ @.str.4, %79 ], [ @.str, %75 ]
  store i32 %70, ptr %69, align 4, !tbaa !9
  %81 = load ptr, ptr @stderr, align 8, !tbaa !5
  %82 = load i32, ptr @test_count, align 4, !tbaa !9
  %83 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %84 = load i32, ptr %83, align 4, !tbaa !9
  %85 = call ptr @s2n_strerror(i32 noundef %84, ptr noundef nonnull @.str.3) #10
  %86 = load i32, ptr %83, align 4, !tbaa !9
  %87 = call ptr @s2n_strerror_debug(i32 noundef %86, ptr noundef nonnull @.str.3) #10
  %88 = load i32, ptr %69, align 4, !tbaa !9
  %89 = call ptr @strerror(i32 noundef %88) #10
  %90 = load i32, ptr %69, align 4, !tbaa !9
  %91 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %81, ptr noundef nonnull %.str.4.sink75, i32 noundef %82, ptr noundef nonnull @.str.13, ptr noundef nonnull @.str.2, i32 noundef 271, ptr noundef %85, ptr noundef %87, ptr noundef %89, i32 noundef %90) #12
  call void @exit(i32 noundef 1) #13
  unreachable

92:                                               ; preds = %64
  %93 = load i32, ptr @test_count, align 4, !tbaa !9
  %94 = add nsw i32 %93, 1
  store i32 %94, ptr @test_count, align 4, !tbaa !9
  %95 = load i32, ptr %4, align 4, !tbaa !9
  %96 = icmp eq i32 %95, 17
  br i1 %96, label %121, label %97

97:                                               ; preds = %92
  %98 = tail call ptr @__errno_location() #11
  %99 = load i32, ptr %98, align 4, !tbaa !9
  %100 = load ptr, ptr @stderr, align 8, !tbaa !5
  %101 = call i32 @s2n_print_stacktrace(ptr noundef %100) #10
  %102 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %103 = trunc nuw i8 %102 to i1
  br i1 %103, label %104, label %108

104:                                              ; preds = %97
  %105 = load ptr, ptr @stderr, align 8, !tbaa !5
  %106 = call i32 @fileno(ptr noundef %105) #10
  %107 = call i32 @isatty(i32 noundef %106) #10
  %.not37 = icmp eq i32 %107, 0
  br i1 %.not37, label %108, label %109

108:                                              ; preds = %104, %97
  br label %109

109:                                              ; preds = %104, %108
  %.str.4.sink86 = phi ptr [ @.str.4, %108 ], [ @.str, %104 ]
  store i32 %99, ptr %98, align 4, !tbaa !9
  %110 = load ptr, ptr @stderr, align 8, !tbaa !5
  %111 = load i32, ptr @test_count, align 4, !tbaa !9
  %112 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %113 = load i32, ptr %112, align 4, !tbaa !9
  %114 = call ptr @s2n_strerror(i32 noundef %113, ptr noundef nonnull @.str.3) #10
  %115 = load i32, ptr %112, align 4, !tbaa !9
  %116 = call ptr @s2n_strerror_debug(i32 noundef %115, ptr noundef nonnull @.str.3) #10
  %117 = load i32, ptr %98, align 4, !tbaa !9
  %118 = call ptr @strerror(i32 noundef %117) #10
  %119 = load i32, ptr %98, align 4, !tbaa !9
  %120 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %110, ptr noundef nonnull %.str.4.sink86, i32 noundef %111, ptr noundef nonnull @.str.33, ptr noundef nonnull @.str.2, i32 noundef 272, ptr noundef %114, ptr noundef %116, ptr noundef %118, i32 noundef %119) #12
  call void @exit(i32 noundef 1) #13
  unreachable

121:                                              ; preds = %92
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %5) #10
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %5, i8 0, i64 24, i1 false)
  %122 = add nsw i32 %93, 2
  store i32 %122, ptr @test_count, align 4, !tbaa !9
  %123 = call i32 @s2n_alloc(ptr noundef nonnull %5, i32 noundef 17) #10
  %124 = icmp eq i32 %123, -1
  br i1 %124, label %125, label %149

125:                                              ; preds = %121
  %126 = tail call ptr @__errno_location() #11
  %127 = load i32, ptr %126, align 4, !tbaa !9
  %128 = load ptr, ptr @stderr, align 8, !tbaa !5
  %129 = call i32 @s2n_print_stacktrace(ptr noundef %128) #10
  %130 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %131 = trunc nuw i8 %130 to i1
  br i1 %131, label %132, label %136

132:                                              ; preds = %125
  %133 = load ptr, ptr @stderr, align 8, !tbaa !5
  %134 = call i32 @fileno(ptr noundef %133) #10
  %135 = call i32 @isatty(i32 noundef %134) #10
  %.not51 = icmp eq i32 %135, 0
  br i1 %.not51, label %136, label %137

136:                                              ; preds = %132, %125
  br label %137

137:                                              ; preds = %132, %136
  %.str.4.sink97 = phi ptr [ @.str.4, %136 ], [ @.str, %132 ]
  store i32 %127, ptr %126, align 4, !tbaa !9
  %138 = load ptr, ptr @stderr, align 8, !tbaa !5
  %139 = load i32, ptr @test_count, align 4, !tbaa !9
  %140 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %141 = load i32, ptr %140, align 4, !tbaa !9
  %142 = call ptr @s2n_strerror(i32 noundef %141, ptr noundef nonnull @.str.3) #10
  %143 = load i32, ptr %140, align 4, !tbaa !9
  %144 = call ptr @s2n_strerror_debug(i32 noundef %143, ptr noundef nonnull @.str.3) #10
  %145 = load i32, ptr %126, align 4, !tbaa !9
  %146 = call ptr @strerror(i32 noundef %145) #10
  %147 = load i32, ptr %126, align 4, !tbaa !9
  %148 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %138, ptr noundef nonnull %.str.4.sink97, i32 noundef %139, ptr noundef nonnull @.str.34, ptr noundef nonnull @.str.2, i32 noundef 275, ptr noundef %142, ptr noundef %144, ptr noundef %146, i32 noundef %147) #12
  call void @exit(i32 noundef 1) #13
  unreachable

149:                                              ; preds = %121
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %6) #10
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %6, i8 0, i64 24, i1 false)
  %150 = load i32, ptr @test_count, align 4, !tbaa !9
  %151 = add nsw i32 %150, 1
  store i32 %151, ptr @test_count, align 4, !tbaa !9
  %152 = load i32, ptr %4, align 4, !tbaa !9
  %153 = call i32 @s2n_alloc(ptr noundef nonnull %6, i32 noundef %152) #10
  %154 = icmp eq i32 %153, -1
  br i1 %154, label %155, label %179

155:                                              ; preds = %149
  %156 = tail call ptr @__errno_location() #11
  %157 = load i32, ptr %156, align 4, !tbaa !9
  %158 = load ptr, ptr @stderr, align 8, !tbaa !5
  %159 = call i32 @s2n_print_stacktrace(ptr noundef %158) #10
  %160 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %161 = trunc nuw i8 %160 to i1
  br i1 %161, label %162, label %166

162:                                              ; preds = %155
  %163 = load ptr, ptr @stderr, align 8, !tbaa !5
  %164 = call i32 @fileno(ptr noundef %163) #10
  %165 = call i32 @isatty(i32 noundef %164) #10
  %.not50 = icmp eq i32 %165, 0
  br i1 %.not50, label %166, label %167

166:                                              ; preds = %162, %155
  br label %167

167:                                              ; preds = %162, %166
  %.str.4.sink108 = phi ptr [ @.str.4, %166 ], [ @.str, %162 ]
  store i32 %157, ptr %156, align 4, !tbaa !9
  %168 = load ptr, ptr @stderr, align 8, !tbaa !5
  %169 = load i32, ptr @test_count, align 4, !tbaa !9
  %170 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %171 = load i32, ptr %170, align 4, !tbaa !9
  %172 = call ptr @s2n_strerror(i32 noundef %171, ptr noundef nonnull @.str.3) #10
  %173 = load i32, ptr %170, align 4, !tbaa !9
  %174 = call ptr @s2n_strerror_debug(i32 noundef %173, ptr noundef nonnull @.str.3) #10
  %175 = load i32, ptr %156, align 4, !tbaa !9
  %176 = call ptr @strerror(i32 noundef %175) #10
  %177 = load i32, ptr %156, align 4, !tbaa !9
  %178 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %168, ptr noundef nonnull %.str.4.sink108, i32 noundef %169, ptr noundef nonnull @.str.35, ptr noundef nonnull @.str.2, i32 noundef 278, ptr noundef %172, ptr noundef %174, ptr noundef %176, i32 noundef %177) #12
  call void @exit(i32 noundef 1) #13
  unreachable

179:                                              ; preds = %149
  %180 = load i32, ptr @test_count, align 4, !tbaa !9
  %181 = add nsw i32 %180, 1
  store i32 %181, ptr @test_count, align 4, !tbaa !9
  %182 = load ptr, ptr %5, align 8, !tbaa !15
  %183 = getelementptr inbounds i8, ptr %5, i64 8
  %184 = load i32, ptr %183, align 8, !tbaa !17
  %185 = call i32 @s2n_async_pkey_op_get_input(ptr noundef %1, ptr noundef %182, i32 noundef %184) #10
  %186 = icmp eq i32 %185, -1
  br i1 %186, label %187, label %211

187:                                              ; preds = %179
  %188 = tail call ptr @__errno_location() #11
  %189 = load i32, ptr %188, align 4, !tbaa !9
  %190 = load ptr, ptr @stderr, align 8, !tbaa !5
  %191 = call i32 @s2n_print_stacktrace(ptr noundef %190) #10
  %192 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %193 = trunc nuw i8 %192 to i1
  br i1 %193, label %194, label %198

194:                                              ; preds = %187
  %195 = load ptr, ptr @stderr, align 8, !tbaa !5
  %196 = call i32 @fileno(ptr noundef %195) #10
  %197 = call i32 @isatty(i32 noundef %196) #10
  %.not49 = icmp eq i32 %197, 0
  br i1 %.not49, label %198, label %199

198:                                              ; preds = %194, %187
  br label %199

199:                                              ; preds = %194, %198
  %.str.4.sink119 = phi ptr [ @.str.4, %198 ], [ @.str, %194 ]
  store i32 %189, ptr %188, align 4, !tbaa !9
  %200 = load ptr, ptr @stderr, align 8, !tbaa !5
  %201 = load i32, ptr @test_count, align 4, !tbaa !9
  %202 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %203 = load i32, ptr %202, align 4, !tbaa !9
  %204 = call ptr @s2n_strerror(i32 noundef %203, ptr noundef nonnull @.str.3) #10
  %205 = load i32, ptr %202, align 4, !tbaa !9
  %206 = call ptr @s2n_strerror_debug(i32 noundef %205, ptr noundef nonnull @.str.3) #10
  %207 = load i32, ptr %188, align 4, !tbaa !9
  %208 = call ptr @strerror(i32 noundef %207) #10
  %209 = load i32, ptr %188, align 4, !tbaa !9
  %210 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %200, ptr noundef nonnull %.str.4.sink119, i32 noundef %201, ptr noundef nonnull @.str.36, ptr noundef nonnull @.str.2, i32 noundef 281, ptr noundef %204, ptr noundef %206, ptr noundef %208, i32 noundef %209) #12
  call void @exit(i32 noundef 1) #13
  unreachable

211:                                              ; preds = %179
  %212 = load i32, ptr @test_count, align 4, !tbaa !9
  %213 = add nsw i32 %212, 1
  store i32 %213, ptr @test_count, align 4, !tbaa !9
  %214 = load ptr, ptr %5, align 8, !tbaa !15
  %bcmp = call i32 @bcmp(ptr noundef nonnull dereferenceable(17) %214, ptr noundef nonnull dereferenceable(17) @test_encrypted_data, i64 17)
  %215 = icmp eq i32 %bcmp, 0
  br i1 %215, label %240, label %216

216:                                              ; preds = %211
  %217 = tail call ptr @__errno_location() #11
  %218 = load i32, ptr %217, align 4, !tbaa !9
  %219 = load ptr, ptr @stderr, align 8, !tbaa !5
  %220 = call i32 @s2n_print_stacktrace(ptr noundef %219) #10
  %221 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %222 = trunc nuw i8 %221 to i1
  br i1 %222, label %223, label %227

223:                                              ; preds = %216
  %224 = load ptr, ptr @stderr, align 8, !tbaa !5
  %225 = call i32 @fileno(ptr noundef %224) #10
  %226 = call i32 @isatty(i32 noundef %225) #10
  %.not38 = icmp eq i32 %226, 0
  br i1 %.not38, label %227, label %228

227:                                              ; preds = %223, %216
  br label %228

228:                                              ; preds = %223, %227
  %.str.4.sink130 = phi ptr [ @.str.4, %227 ], [ @.str, %223 ]
  store i32 %218, ptr %217, align 4, !tbaa !9
  %229 = load ptr, ptr @stderr, align 8, !tbaa !5
  %230 = load i32, ptr @test_count, align 4, !tbaa !9
  %231 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %232 = load i32, ptr %231, align 4, !tbaa !9
  %233 = call ptr @s2n_strerror(i32 noundef %232, ptr noundef nonnull @.str.3) #10
  %234 = load i32, ptr %231, align 4, !tbaa !9
  %235 = call ptr @s2n_strerror_debug(i32 noundef %234, ptr noundef nonnull @.str.3) #10
  %236 = load i32, ptr %217, align 4, !tbaa !9
  %237 = call ptr @strerror(i32 noundef %236) #10
  %238 = load i32, ptr %217, align 4, !tbaa !9
  %239 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %229, ptr noundef nonnull %.str.4.sink130, i32 noundef %230, ptr noundef nonnull @.str.37, ptr noundef nonnull @.str.2, i32 noundef 282, ptr noundef %233, ptr noundef %235, ptr noundef %237, i32 noundef %238) #12
  call void @exit(i32 noundef 1) #13
  unreachable

240:                                              ; preds = %211
  %241 = add nsw i32 %212, 2
  store i32 %241, ptr @test_count, align 4, !tbaa !9
  %242 = load ptr, ptr %6, align 8, !tbaa !15
  %243 = getelementptr inbounds i8, ptr %6, i64 8
  %244 = load i32, ptr %243, align 8, !tbaa !17
  %245 = call i32 @s2n_async_pkey_op_get_input(ptr noundef %1, ptr noundef %242, i32 noundef %244) #10
  %246 = icmp eq i32 %245, -1
  br i1 %246, label %247, label %271

247:                                              ; preds = %240
  %248 = tail call ptr @__errno_location() #11
  %249 = load i32, ptr %248, align 4, !tbaa !9
  %250 = load ptr, ptr @stderr, align 8, !tbaa !5
  %251 = call i32 @s2n_print_stacktrace(ptr noundef %250) #10
  %252 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %253 = trunc nuw i8 %252 to i1
  br i1 %253, label %254, label %258

254:                                              ; preds = %247
  %255 = load ptr, ptr @stderr, align 8, !tbaa !5
  %256 = call i32 @fileno(ptr noundef %255) #10
  %257 = call i32 @isatty(i32 noundef %256) #10
  %.not48 = icmp eq i32 %257, 0
  br i1 %.not48, label %258, label %259

258:                                              ; preds = %254, %247
  br label %259

259:                                              ; preds = %254, %258
  %.str.4.sink141 = phi ptr [ @.str.4, %258 ], [ @.str, %254 ]
  store i32 %249, ptr %248, align 4, !tbaa !9
  %260 = load ptr, ptr @stderr, align 8, !tbaa !5
  %261 = load i32, ptr @test_count, align 4, !tbaa !9
  %262 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %263 = load i32, ptr %262, align 4, !tbaa !9
  %264 = call ptr @s2n_strerror(i32 noundef %263, ptr noundef nonnull @.str.3) #10
  %265 = load i32, ptr %262, align 4, !tbaa !9
  %266 = call ptr @s2n_strerror_debug(i32 noundef %265, ptr noundef nonnull @.str.3) #10
  %267 = load i32, ptr %248, align 4, !tbaa !9
  %268 = call ptr @strerror(i32 noundef %267) #10
  %269 = load i32, ptr %248, align 4, !tbaa !9
  %270 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %260, ptr noundef nonnull %.str.4.sink141, i32 noundef %261, ptr noundef nonnull @.str.38, ptr noundef nonnull @.str.2, i32 noundef 284, ptr noundef %264, ptr noundef %266, ptr noundef %268, i32 noundef %269) #12
  call void @exit(i32 noundef 1) #13
  unreachable

271:                                              ; preds = %240
  %272 = load i32, ptr @test_count, align 4, !tbaa !9
  %273 = add nsw i32 %272, 1
  store i32 %273, ptr @test_count, align 4, !tbaa !9
  %274 = load ptr, ptr %6, align 8, !tbaa !15
  %bcmp39 = call i32 @bcmp(ptr noundef nonnull dereferenceable(17) %274, ptr noundef nonnull dereferenceable(17) @test_encrypted_data, i64 17)
  %275 = icmp eq i32 %bcmp39, 0
  br i1 %275, label %300, label %276

276:                                              ; preds = %271
  %277 = tail call ptr @__errno_location() #11
  %278 = load i32, ptr %277, align 4, !tbaa !9
  %279 = load ptr, ptr @stderr, align 8, !tbaa !5
  %280 = call i32 @s2n_print_stacktrace(ptr noundef %279) #10
  %281 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %282 = trunc nuw i8 %281 to i1
  br i1 %282, label %283, label %287

283:                                              ; preds = %276
  %284 = load ptr, ptr @stderr, align 8, !tbaa !5
  %285 = call i32 @fileno(ptr noundef %284) #10
  %286 = call i32 @isatty(i32 noundef %285) #10
  %.not40 = icmp eq i32 %286, 0
  br i1 %.not40, label %287, label %288

287:                                              ; preds = %283, %276
  br label %288

288:                                              ; preds = %283, %287
  %.str.4.sink152 = phi ptr [ @.str.4, %287 ], [ @.str, %283 ]
  store i32 %278, ptr %277, align 4, !tbaa !9
  %289 = load ptr, ptr @stderr, align 8, !tbaa !5
  %290 = load i32, ptr @test_count, align 4, !tbaa !9
  %291 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %292 = load i32, ptr %291, align 4, !tbaa !9
  %293 = call ptr @s2n_strerror(i32 noundef %292, ptr noundef nonnull @.str.3) #10
  %294 = load i32, ptr %291, align 4, !tbaa !9
  %295 = call ptr @s2n_strerror_debug(i32 noundef %294, ptr noundef nonnull @.str.3) #10
  %296 = load i32, ptr %277, align 4, !tbaa !9
  %297 = call ptr @strerror(i32 noundef %296) #10
  %298 = load i32, ptr %277, align 4, !tbaa !9
  %299 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %289, ptr noundef nonnull %.str.4.sink152, i32 noundef %290, ptr noundef nonnull @.str.39, ptr noundef nonnull @.str.2, i32 noundef 285, ptr noundef %293, ptr noundef %295, ptr noundef %297, i32 noundef %298) #12
  call void @exit(i32 noundef 1) #13
  unreachable

300:                                              ; preds = %271
  %301 = add nsw i32 %272, 2
  store i32 %301, ptr @test_count, align 4, !tbaa !9
  %302 = load i32, ptr %183, align 8, !tbaa !17
  %303 = load i32, ptr %243, align 8, !tbaa !17
  %304 = icmp eq i32 %302, %303
  br i1 %304, label %329, label %305

305:                                              ; preds = %300
  %306 = tail call ptr @__errno_location() #11
  %307 = load i32, ptr %306, align 4, !tbaa !9
  %308 = load ptr, ptr @stderr, align 8, !tbaa !5
  %309 = call i32 @s2n_print_stacktrace(ptr noundef %308) #10
  %310 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %311 = trunc nuw i8 %310 to i1
  br i1 %311, label %312, label %316

312:                                              ; preds = %305
  %313 = load ptr, ptr @stderr, align 8, !tbaa !5
  %314 = call i32 @fileno(ptr noundef %313) #10
  %315 = call i32 @isatty(i32 noundef %314) #10
  %.not41 = icmp eq i32 %315, 0
  br i1 %.not41, label %316, label %317

316:                                              ; preds = %312, %305
  br label %317

317:                                              ; preds = %312, %316
  %.str.4.sink163 = phi ptr [ @.str.4, %316 ], [ @.str, %312 ]
  store i32 %307, ptr %306, align 4, !tbaa !9
  %318 = load ptr, ptr @stderr, align 8, !tbaa !5
  %319 = load i32, ptr @test_count, align 4, !tbaa !9
  %320 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %321 = load i32, ptr %320, align 4, !tbaa !9
  %322 = call ptr @s2n_strerror(i32 noundef %321, ptr noundef nonnull @.str.3) #10
  %323 = load i32, ptr %320, align 4, !tbaa !9
  %324 = call ptr @s2n_strerror_debug(i32 noundef %323, ptr noundef nonnull @.str.3) #10
  %325 = load i32, ptr %306, align 4, !tbaa !9
  %326 = call ptr @strerror(i32 noundef %325) #10
  %327 = load i32, ptr %306, align 4, !tbaa !9
  %328 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %318, ptr noundef nonnull %.str.4.sink163, i32 noundef %319, ptr noundef nonnull @.str.40, ptr noundef nonnull @.str.2, i32 noundef 287, ptr noundef %322, ptr noundef %324, ptr noundef %326, i32 noundef %327) #12
  call void @exit(i32 noundef 1) #13
  unreachable

329:                                              ; preds = %300
  %330 = add nsw i32 %272, 3
  store i32 %330, ptr @test_count, align 4, !tbaa !9
  %331 = icmp eq i32 %302, 17
  br i1 %331, label %356, label %332

332:                                              ; preds = %329
  %333 = tail call ptr @__errno_location() #11
  %334 = load i32, ptr %333, align 4, !tbaa !9
  %335 = load ptr, ptr @stderr, align 8, !tbaa !5
  %336 = call i32 @s2n_print_stacktrace(ptr noundef %335) #10
  %337 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %338 = trunc nuw i8 %337 to i1
  br i1 %338, label %339, label %343

339:                                              ; preds = %332
  %340 = load ptr, ptr @stderr, align 8, !tbaa !5
  %341 = call i32 @fileno(ptr noundef %340) #10
  %342 = call i32 @isatty(i32 noundef %341) #10
  %.not42 = icmp eq i32 %342, 0
  br i1 %.not42, label %343, label %344

343:                                              ; preds = %339, %332
  br label %344

344:                                              ; preds = %339, %343
  %.str.4.sink174 = phi ptr [ @.str.4, %343 ], [ @.str, %339 ]
  store i32 %334, ptr %333, align 4, !tbaa !9
  %345 = load ptr, ptr @stderr, align 8, !tbaa !5
  %346 = load i32, ptr @test_count, align 4, !tbaa !9
  %347 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %348 = load i32, ptr %347, align 4, !tbaa !9
  %349 = call ptr @s2n_strerror(i32 noundef %348, ptr noundef nonnull @.str.3) #10
  %350 = load i32, ptr %347, align 4, !tbaa !9
  %351 = call ptr @s2n_strerror_debug(i32 noundef %350, ptr noundef nonnull @.str.3) #10
  %352 = load i32, ptr %333, align 4, !tbaa !9
  %353 = call ptr @strerror(i32 noundef %352) #10
  %354 = load i32, ptr %333, align 4, !tbaa !9
  %355 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %345, ptr noundef nonnull %.str.4.sink174, i32 noundef %346, ptr noundef nonnull @.str.41, ptr noundef nonnull @.str.2, i32 noundef 288, ptr noundef %349, ptr noundef %351, ptr noundef %353, i32 noundef %354) #12
  call void @exit(i32 noundef 1) #13
  unreachable

356:                                              ; preds = %329
  %357 = add nsw i32 %272, 4
  store i32 %357, ptr @test_count, align 4, !tbaa !9
  %358 = load ptr, ptr %5, align 8, !tbaa !15
  %bcmp43 = call i32 @bcmp(ptr noundef nonnull dereferenceable(17) %358, ptr noundef nonnull dereferenceable(17) %274, i64 17)
  %359 = icmp eq i32 %bcmp43, 0
  br i1 %359, label %384, label %360

360:                                              ; preds = %356
  %361 = tail call ptr @__errno_location() #11
  %362 = load i32, ptr %361, align 4, !tbaa !9
  %363 = load ptr, ptr @stderr, align 8, !tbaa !5
  %364 = call i32 @s2n_print_stacktrace(ptr noundef %363) #10
  %365 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %366 = trunc nuw i8 %365 to i1
  br i1 %366, label %367, label %371

367:                                              ; preds = %360
  %368 = load ptr, ptr @stderr, align 8, !tbaa !5
  %369 = call i32 @fileno(ptr noundef %368) #10
  %370 = call i32 @isatty(i32 noundef %369) #10
  %.not44 = icmp eq i32 %370, 0
  br i1 %.not44, label %371, label %372

371:                                              ; preds = %367, %360
  br label %372

372:                                              ; preds = %367, %371
  %.str.4.sink185 = phi ptr [ @.str.4, %371 ], [ @.str, %367 ]
  store i32 %362, ptr %361, align 4, !tbaa !9
  %373 = load ptr, ptr @stderr, align 8, !tbaa !5
  %374 = load i32, ptr @test_count, align 4, !tbaa !9
  %375 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %376 = load i32, ptr %375, align 4, !tbaa !9
  %377 = call ptr @s2n_strerror(i32 noundef %376, ptr noundef nonnull @.str.3) #10
  %378 = load i32, ptr %375, align 4, !tbaa !9
  %379 = call ptr @s2n_strerror_debug(i32 noundef %378, ptr noundef nonnull @.str.3) #10
  %380 = load i32, ptr %361, align 4, !tbaa !9
  %381 = call ptr @strerror(i32 noundef %380) #10
  %382 = load i32, ptr %361, align 4, !tbaa !9
  %383 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %373, ptr noundef nonnull %.str.4.sink185, i32 noundef %374, ptr noundef nonnull @.str.42, ptr noundef nonnull @.str.2, i32 noundef 289, ptr noundef %377, ptr noundef %379, ptr noundef %381, i32 noundef %382) #12
  call void @exit(i32 noundef 1) #13
  unreachable

384:                                              ; preds = %356
  %385 = add nsw i32 %272, 5
  store i32 %385, ptr @test_count, align 4, !tbaa !9
  %386 = call i32 @s2n_free(ptr noundef nonnull %5) #10
  %387 = icmp eq i32 %386, -1
  br i1 %387, label %388, label %412

388:                                              ; preds = %384
  %389 = tail call ptr @__errno_location() #11
  %390 = load i32, ptr %389, align 4, !tbaa !9
  %391 = load ptr, ptr @stderr, align 8, !tbaa !5
  %392 = call i32 @s2n_print_stacktrace(ptr noundef %391) #10
  %393 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %394 = trunc nuw i8 %393 to i1
  br i1 %394, label %395, label %399

395:                                              ; preds = %388
  %396 = load ptr, ptr @stderr, align 8, !tbaa !5
  %397 = call i32 @fileno(ptr noundef %396) #10
  %398 = call i32 @isatty(i32 noundef %397) #10
  %.not47 = icmp eq i32 %398, 0
  br i1 %.not47, label %399, label %400

399:                                              ; preds = %395, %388
  br label %400

400:                                              ; preds = %395, %399
  %.str.4.sink196 = phi ptr [ @.str.4, %399 ], [ @.str, %395 ]
  store i32 %390, ptr %389, align 4, !tbaa !9
  %401 = load ptr, ptr @stderr, align 8, !tbaa !5
  %402 = load i32, ptr @test_count, align 4, !tbaa !9
  %403 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %404 = load i32, ptr %403, align 4, !tbaa !9
  %405 = call ptr @s2n_strerror(i32 noundef %404, ptr noundef nonnull @.str.3) #10
  %406 = load i32, ptr %403, align 4, !tbaa !9
  %407 = call ptr @s2n_strerror_debug(i32 noundef %406, ptr noundef nonnull @.str.3) #10
  %408 = load i32, ptr %389, align 4, !tbaa !9
  %409 = call ptr @strerror(i32 noundef %408) #10
  %410 = load i32, ptr %389, align 4, !tbaa !9
  %411 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %401, ptr noundef nonnull %.str.4.sink196, i32 noundef %402, ptr noundef nonnull @.str.43, ptr noundef nonnull @.str.2, i32 noundef 291, ptr noundef %405, ptr noundef %407, ptr noundef %409, i32 noundef %410) #12
  call void @exit(i32 noundef 1) #13
  unreachable

412:                                              ; preds = %384
  %413 = load i32, ptr @test_count, align 4, !tbaa !9
  %414 = add nsw i32 %413, 1
  store i32 %414, ptr @test_count, align 4, !tbaa !9
  %415 = call i32 @s2n_free(ptr noundef nonnull %6) #10
  %416 = icmp eq i32 %415, -1
  br i1 %416, label %417, label %441

417:                                              ; preds = %412
  %418 = tail call ptr @__errno_location() #11
  %419 = load i32, ptr %418, align 4, !tbaa !9
  %420 = load ptr, ptr @stderr, align 8, !tbaa !5
  %421 = call i32 @s2n_print_stacktrace(ptr noundef %420) #10
  %422 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %423 = trunc nuw i8 %422 to i1
  br i1 %423, label %424, label %428

424:                                              ; preds = %417
  %425 = load ptr, ptr @stderr, align 8, !tbaa !5
  %426 = call i32 @fileno(ptr noundef %425) #10
  %427 = call i32 @isatty(i32 noundef %426) #10
  %.not46 = icmp eq i32 %427, 0
  br i1 %.not46, label %428, label %429

428:                                              ; preds = %424, %417
  br label %429

429:                                              ; preds = %424, %428
  %.str.4.sink207 = phi ptr [ @.str.4, %428 ], [ @.str, %424 ]
  store i32 %419, ptr %418, align 4, !tbaa !9
  %430 = load ptr, ptr @stderr, align 8, !tbaa !5
  %431 = load i32, ptr @test_count, align 4, !tbaa !9
  %432 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %433 = load i32, ptr %432, align 4, !tbaa !9
  %434 = call ptr @s2n_strerror(i32 noundef %433, ptr noundef nonnull @.str.3) #10
  %435 = load i32, ptr %432, align 4, !tbaa !9
  %436 = call ptr @s2n_strerror_debug(i32 noundef %435, ptr noundef nonnull @.str.3) #10
  %437 = load i32, ptr %418, align 4, !tbaa !9
  %438 = call ptr @strerror(i32 noundef %437) #10
  %439 = load i32, ptr %418, align 4, !tbaa !9
  %440 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %430, ptr noundef nonnull %.str.4.sink207, i32 noundef %431, ptr noundef nonnull @.str.44, ptr noundef nonnull @.str.2, i32 noundef 292, ptr noundef %434, ptr noundef %436, ptr noundef %438, i32 noundef %439) #12
  call void @exit(i32 noundef 1) #13
  unreachable

441:                                              ; preds = %412
  %442 = load i32, ptr @test_count, align 4, !tbaa !9
  %443 = add nsw i32 %442, 1
  store i32 %443, ptr @test_count, align 4, !tbaa !9
  %444 = call i32 @s2n_async_pkey_op_set_output(ptr noundef %1, ptr noundef nonnull @test_decrypted_data, i32 noundef 17) #10
  %445 = icmp eq i32 %444, -1
  br i1 %445, label %446, label %470

446:                                              ; preds = %441
  %447 = tail call ptr @__errno_location() #11
  %448 = load i32, ptr %447, align 4, !tbaa !9
  %449 = load ptr, ptr @stderr, align 8, !tbaa !5
  %450 = call i32 @s2n_print_stacktrace(ptr noundef %449) #10
  %451 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %452 = trunc nuw i8 %451 to i1
  br i1 %452, label %453, label %457

453:                                              ; preds = %446
  %454 = load ptr, ptr @stderr, align 8, !tbaa !5
  %455 = call i32 @fileno(ptr noundef %454) #10
  %456 = call i32 @isatty(i32 noundef %455) #10
  %.not45 = icmp eq i32 %456, 0
  br i1 %.not45, label %457, label %458

457:                                              ; preds = %453, %446
  br label %458

458:                                              ; preds = %453, %457
  %.str.4.sink218 = phi ptr [ @.str.4, %457 ], [ @.str, %453 ]
  store i32 %448, ptr %447, align 4, !tbaa !9
  %459 = load ptr, ptr @stderr, align 8, !tbaa !5
  %460 = load i32, ptr @test_count, align 4, !tbaa !9
  %461 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %462 = load i32, ptr %461, align 4, !tbaa !9
  %463 = call ptr @s2n_strerror(i32 noundef %462, ptr noundef nonnull @.str.3) #10
  %464 = load i32, ptr %461, align 4, !tbaa !9
  %465 = call ptr @s2n_strerror_debug(i32 noundef %464, ptr noundef nonnull @.str.3) #10
  %466 = load i32, ptr %447, align 4, !tbaa !9
  %467 = call ptr @strerror(i32 noundef %466) #10
  %468 = load i32, ptr %447, align 4, !tbaa !9
  %469 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %459, ptr noundef nonnull %.str.4.sink218, i32 noundef %460, ptr noundef nonnull @.str.45, ptr noundef nonnull @.str.2, i32 noundef 294, ptr noundef %463, ptr noundef %465, ptr noundef %467, i32 noundef %468) #12
  call void @exit(i32 noundef 1) #13
  unreachable

470:                                              ; preds = %441
  %471 = load i8, ptr @offload_callback_count, align 1, !tbaa !18
  %472 = add i8 %471, 1
  store i8 %472, ptr @offload_callback_count, align 1, !tbaa !18
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #10
  ret i32 0
}

; Function Attrs: nofree nounwind willreturn memory(argmem: read)
declare i32 @bcmp(ptr nocapture, ptr nocapture, i64) local_unnamed_addr #9

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nofree nosync nounwind willreturn memory(none) "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 "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 = { nofree nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #6 = { noreturn nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #8 = { 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 #9 = { nofree nounwind willreturn memory(argmem: read) }
attributes #10 = { nounwind }
attributes #11 = { nounwind willreturn memory(none) }
attributes #12 = { cold nounwind }
attributes #13 = { noreturn nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"_Bool", !7, i64 0}
!13 = !{i8 0, i8 2}
!14 = !{}
!15 = !{!16, !6, i64 0}
!16 = !{!"s2n_blob", !6, i64 0, !10, i64 8, !10, i64 12, !10, i64 16}
!17 = !{!16, !10, i64 8}
!18 = !{!7, !7, i64 0}


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