; LLVM IR from aws/s2n-tls :: tests/fuzz (s2n_cert_req_recv_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"

@s2n_use_color_in_output = external dso_local global i8, align 1
@s2n_errno = external thread_local global i32, align 4
@stderr = external global ptr, align 8
@.str.7 = external hidden unnamed_addr constant [101 x i8], align 1
@test_count = external dso_local global i32, align 4
@.str.8 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [81 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [90 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [59 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [41 x i8], align 1

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

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

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

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

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

; Function Attrs: nounwind uwtable
define dso_local i32 @LLVMFuzzerInitialize(ptr noundef %0, ptr noundef %1) #0 {
  %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
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  br label %9

9:                                                ; preds = %2
  %10 = call i32 @s2n_init()
  %11 = icmp eq i32 %10, -1
  br i1 %11, label %12, label %63

12:                                               ; preds = %9
  br label %13

13:                                               ; preds = %12
  br label %14

14:                                               ; preds = %13
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #7
  %15 = call ptr @__errno_location() #8
  %16 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %16, ptr %5, align 4, !tbaa !9
  %17 = load ptr, ptr @stderr, align 8, !tbaa !5
  %18 = call i32 @s2n_print_stacktrace(ptr noundef %17)
  %19 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %20 = trunc i8 %19 to i1
  br i1 %20, label %21, label %43

21:                                               ; preds = %14
  %22 = load ptr, ptr @stderr, align 8, !tbaa !5
  %23 = call i32 @fileno(ptr noundef %22) #7
  %24 = call i32 @isatty(i32 noundef %23) #7
  %25 = icmp ne i32 %24, 0
  br i1 %25, label %26, label %43

26:                                               ; preds = %21
  %27 = load i32, ptr %5, align 4, !tbaa !9
  %28 = call ptr @__errno_location() #8
  store i32 %27, ptr %28, align 4, !tbaa !9
  %29 = load ptr, ptr @stderr, align 8, !tbaa !5
  %30 = load i32, ptr @test_count, align 4, !tbaa !9
  %31 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %32 = load i32, ptr %31, align 4, !tbaa !9
  %33 = call ptr @s2n_strerror(i32 noundef %32, ptr noundef @.str.10)
  %34 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %35 = load i32, ptr %34, align 4, !tbaa !9
  %36 = call ptr @s2n_strerror_debug(i32 noundef %35, ptr noundef @.str.10)
  %37 = call ptr @__errno_location() #8
  %38 = load i32, ptr %37, align 4, !tbaa !9
  %39 = call ptr @strerror(i32 noundef %38) #7
  %40 = call ptr @__errno_location() #8
  %41 = load i32, ptr %40, align 4, !tbaa !9
  %42 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %29, ptr noundef @.str.7, i32 noundef %30, ptr noundef @.str.8, ptr noundef @.str.9, i32 noundef 100, ptr noundef %33, ptr noundef %36, ptr noundef %39, i32 noundef %41) #7
  br label %60

43:                                               ; preds = %21, %14
  %44 = load i32, ptr %5, align 4, !tbaa !9
  %45 = call ptr @__errno_location() #8
  store i32 %44, ptr %45, align 4, !tbaa !9
  %46 = load ptr, ptr @stderr, align 8, !tbaa !5
  %47 = load i32, ptr @test_count, align 4, !tbaa !9
  %48 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %49 = load i32, ptr %48, align 4, !tbaa !9
  %50 = call ptr @s2n_strerror(i32 noundef %49, ptr noundef @.str.10)
  %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_debug(i32 noundef %52, ptr noundef @.str.10)
  %54 = call ptr @__errno_location() #8
  %55 = load i32, ptr %54, align 4, !tbaa !9
  %56 = call ptr @strerror(i32 noundef %55) #7
  %57 = call ptr @__errno_location() #8
  %58 = load i32, ptr %57, align 4, !tbaa !9
  %59 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %46, ptr noundef @.str.11, i32 noundef %47, ptr noundef @.str.8, ptr noundef @.str.9, i32 noundef 100, ptr noundef %50, ptr noundef %53, ptr noundef %56, i32 noundef %58) #7
  br label %60

60:                                               ; preds = %43, %26
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #7
  br label %61

61:                                               ; preds = %60
  call void @exit(i32 noundef 1) #9
  unreachable

62:                                               ; No predecessors!
  br label %63

63:                                               ; preds = %62, %9
  br label %64

64:                                               ; preds = %63
  br label %65

65:                                               ; preds = %64
  %66 = call i32 @atexit(ptr noundef @s2n_test__fuzz_cleanup) #7
  %67 = icmp eq i32 %66, -1
  br i1 %67, label %68, label %119

68:                                               ; preds = %65
  br label %69

69:                                               ; preds = %68
  br label %70

70:                                               ; preds = %69
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #7
  %71 = call ptr @__errno_location() #8
  %72 = load i32, ptr %71, align 4, !tbaa !9
  store i32 %72, ptr %6, align 4, !tbaa !9
  %73 = load ptr, ptr @stderr, align 8, !tbaa !5
  %74 = call i32 @s2n_print_stacktrace(ptr noundef %73)
  %75 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %76 = trunc i8 %75 to i1
  br i1 %76, label %77, label %99

77:                                               ; preds = %70
  %78 = load ptr, ptr @stderr, align 8, !tbaa !5
  %79 = call i32 @fileno(ptr noundef %78) #7
  %80 = call i32 @isatty(i32 noundef %79) #7
  %81 = icmp ne i32 %80, 0
  br i1 %81, label %82, label %99

82:                                               ; preds = %77
  %83 = load i32, ptr %6, align 4, !tbaa !9
  %84 = call ptr @__errno_location() #8
  store i32 %83, ptr %84, align 4, !tbaa !9
  %85 = load ptr, ptr @stderr, align 8, !tbaa !5
  %86 = load i32, ptr @test_count, align 4, !tbaa !9
  %87 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %88 = load i32, ptr %87, align 4, !tbaa !9
  %89 = call ptr @s2n_strerror(i32 noundef %88, ptr noundef @.str.10)
  %90 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %91 = load i32, ptr %90, align 4, !tbaa !9
  %92 = call ptr @s2n_strerror_debug(i32 noundef %91, ptr noundef @.str.10)
  %93 = call ptr @__errno_location() #8
  %94 = load i32, ptr %93, align 4, !tbaa !9
  %95 = call ptr @strerror(i32 noundef %94) #7
  %96 = call ptr @__errno_location() #8
  %97 = load i32, ptr %96, align 4, !tbaa !9
  %98 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %85, ptr noundef @.str.7, i32 noundef %86, ptr noundef @.str.12, ptr noundef @.str.9, i32 noundef 100, ptr noundef %89, ptr noundef %92, ptr noundef %95, i32 noundef %97) #7
  br label %116

99:                                               ; preds = %77, %70
  %100 = load i32, ptr %6, align 4, !tbaa !9
  %101 = call ptr @__errno_location() #8
  store i32 %100, ptr %101, align 4, !tbaa !9
  %102 = load ptr, ptr @stderr, align 8, !tbaa !5
  %103 = load i32, ptr @test_count, align 4, !tbaa !9
  %104 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %105 = load i32, ptr %104, align 4, !tbaa !9
  %106 = call ptr @s2n_strerror(i32 noundef %105, ptr noundef @.str.10)
  %107 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %108 = load i32, ptr %107, align 4, !tbaa !9
  %109 = call ptr @s2n_strerror_debug(i32 noundef %108, ptr noundef @.str.10)
  %110 = call ptr @__errno_location() #8
  %111 = load i32, ptr %110, align 4, !tbaa !9
  %112 = call ptr @strerror(i32 noundef %111) #7
  %113 = call ptr @__errno_location() #8
  %114 = load i32, ptr %113, align 4, !tbaa !9
  %115 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %102, ptr noundef @.str.11, i32 noundef %103, ptr noundef @.str.12, ptr noundef @.str.9, i32 noundef 100, ptr noundef %106, ptr noundef %109, ptr noundef %112, i32 noundef %114) #7
  br label %116

116:                                              ; preds = %99, %82
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #7
  br label %117

117:                                              ; preds = %116
  call void @exit(i32 noundef 1) #9
  unreachable

118:                                              ; No predecessors!
  br label %119

119:                                              ; preds = %118, %65
  br label %120

120:                                              ; preds = %119
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #7
  %121 = load ptr, ptr %3, align 8, !tbaa !5
  %122 = load ptr, ptr %4, align 8, !tbaa !5
  %123 = call i32 @s2n_fuzz_init(ptr noundef %121, ptr noundef %122)
  store i32 %123, ptr %7, align 4, !tbaa !9
  %124 = load i32, ptr %7, align 4, !tbaa !9
  %125 = icmp ne i32 %124, 0
  br i1 %125, label %126, label %176

126:                                              ; preds = %120
  br label %127

127:                                              ; preds = %126
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #7
  %128 = call ptr @__errno_location() #8
  %129 = load i32, ptr %128, align 4, !tbaa !9
  store i32 %129, ptr %8, align 4, !tbaa !9
  %130 = load ptr, ptr @stderr, align 8, !tbaa !5
  %131 = call i32 @s2n_print_stacktrace(ptr noundef %130)
  %132 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %133 = trunc i8 %132 to i1
  br i1 %133, label %134, label %156

134:                                              ; preds = %127
  %135 = load ptr, ptr @stderr, align 8, !tbaa !5
  %136 = call i32 @fileno(ptr noundef %135) #7
  %137 = call i32 @isatty(i32 noundef %136) #7
  %138 = icmp ne i32 %137, 0
  br i1 %138, label %139, label %156

139:                                              ; preds = %134
  %140 = load i32, ptr %8, align 4, !tbaa !9
  %141 = call ptr @__errno_location() #8
  store i32 %140, ptr %141, align 4, !tbaa !9
  %142 = load ptr, ptr @stderr, align 8, !tbaa !5
  %143 = load i32, ptr @test_count, align 4, !tbaa !9
  %144 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %145 = load i32, ptr %144, align 4, !tbaa !9
  %146 = call ptr @s2n_strerror(i32 noundef %145, ptr noundef @.str.10)
  %147 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %148 = load i32, ptr %147, align 4, !tbaa !9
  %149 = call ptr @s2n_strerror_debug(i32 noundef %148, ptr noundef @.str.10)
  %150 = call ptr @__errno_location() #8
  %151 = load i32, ptr %150, align 4, !tbaa !9
  %152 = call ptr @strerror(i32 noundef %151) #7
  %153 = call ptr @__errno_location() #8
  %154 = load i32, ptr %153, align 4, !tbaa !9
  %155 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %142, ptr noundef @.str.7, i32 noundef %143, ptr noundef @.str.13, ptr noundef @.str.9, i32 noundef 100, ptr noundef %146, ptr noundef %149, ptr noundef %152, i32 noundef %154) #7
  br label %173

156:                                              ; preds = %134, %127
  %157 = load i32, ptr %8, align 4, !tbaa !9
  %158 = call ptr @__errno_location() #8
  store i32 %157, ptr %158, align 4, !tbaa !9
  %159 = load ptr, ptr @stderr, align 8, !tbaa !5
  %160 = load i32, ptr @test_count, align 4, !tbaa !9
  %161 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %162 = load i32, ptr %161, align 4, !tbaa !9
  %163 = call ptr @s2n_strerror(i32 noundef %162, ptr noundef @.str.10)
  %164 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %165 = load i32, ptr %164, align 4, !tbaa !9
  %166 = call ptr @s2n_strerror_debug(i32 noundef %165, ptr noundef @.str.10)
  %167 = call ptr @__errno_location() #8
  %168 = load i32, ptr %167, align 4, !tbaa !9
  %169 = call ptr @strerror(i32 noundef %168) #7
  %170 = call ptr @__errno_location() #8
  %171 = load i32, ptr %170, align 4, !tbaa !9
  %172 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %159, ptr noundef @.str.11, i32 noundef %160, ptr noundef @.str.13, ptr noundef @.str.9, i32 noundef 100, ptr noundef %163, ptr noundef %166, ptr noundef %169, i32 noundef %171) #7
  br label %173

173:                                              ; preds = %156, %139
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #7
  br label %174

174:                                              ; preds = %173
  br label %175

175:                                              ; preds = %174
  br label %176

176:                                              ; preds = %175, %120
  %177 = load i32, ptr %7, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #7
  ret i32 %177
}

declare i32 @s2n_init() #3

; Function Attrs: nounwind willreturn memory(none)
declare ptr @__errno_location() #4

declare i32 @s2n_print_stacktrace(ptr noundef) #3

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

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

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

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

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

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

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

; Function Attrs: nounwind
declare i32 @atexit(ptr noundef) #5

attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #2 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind willreturn memory(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 #5 = { 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 = { 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 = { nounwind }
attributes #8 = { nounwind willreturn memory(none) }
attributes #9 = { 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 = !{}


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

@s2n_use_color_in_output = external dso_local local_unnamed_addr global i8, align 1
@s2n_errno = external thread_local local_unnamed_addr global i32, align 4
@stderr = external local_unnamed_addr global ptr, align 8
@.str.7 = external hidden unnamed_addr constant [101 x i8], align 1
@test_count = external dso_local local_unnamed_addr global i32, align 4
@.str.8 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [81 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [90 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [59 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [41 x i8], align 1

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

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

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

; Function Attrs: nounwind uwtable
define dso_local i32 @LLVMFuzzerInitialize(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
  %3 = tail call i32 @s2n_init() #7
  %4 = icmp eq i32 %3, -1
  br i1 %4, label %5, label %29

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

12:                                               ; preds = %5
  %13 = load ptr, ptr @stderr, align 8, !tbaa !9
  %14 = tail call i32 @fileno(ptr noundef %13) #7
  %15 = tail call i32 @isatty(i32 noundef %14) #7
  %.not11 = icmp eq i32 %15, 0
  br i1 %.not11, label %16, label %17

16:                                               ; preds = %12, %5
  br label %17

17:                                               ; preds = %12, %16
  %.str.11.sink = phi ptr [ @.str.11, %16 ], [ @.str.7, %12 ]
  store i32 %7, ptr %6, align 4, !tbaa !5
  %18 = load ptr, ptr @stderr, align 8, !tbaa !9
  %19 = load i32, ptr @test_count, align 4, !tbaa !5
  %20 = tail call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %21 = load i32, ptr %20, align 4, !tbaa !5
  %22 = tail call ptr @s2n_strerror(i32 noundef %21, ptr noundef nonnull @.str.10) #7
  %23 = load i32, ptr %20, align 4, !tbaa !5
  %24 = tail call ptr @s2n_strerror_debug(i32 noundef %23, ptr noundef nonnull @.str.10) #7
  %25 = load i32, ptr %6, align 4, !tbaa !5
  %26 = tail call ptr @strerror(i32 noundef %25) #7
  %27 = load i32, ptr %6, align 4, !tbaa !5
  %28 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %18, ptr noundef nonnull %.str.11.sink, i32 noundef %19, ptr noundef nonnull @.str.8, ptr noundef nonnull @.str.9, i32 noundef 100, ptr noundef %22, ptr noundef %24, ptr noundef %26, i32 noundef %27) #9
  tail call void @exit(i32 noundef 1) #10
  unreachable

29:                                               ; preds = %2
  %30 = tail call i32 @atexit(ptr noundef nonnull @s2n_test__fuzz_cleanup) #7
  %31 = icmp eq i32 %30, -1
  br i1 %31, label %32, label %56

32:                                               ; preds = %29
  %33 = tail call ptr @__errno_location() #8
  %34 = load i32, ptr %33, align 4, !tbaa !5
  %35 = load ptr, ptr @stderr, align 8, !tbaa !9
  %36 = tail call i32 @s2n_print_stacktrace(ptr noundef %35) #7
  %37 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %38 = trunc nuw i8 %37 to i1
  br i1 %38, label %39, label %43

39:                                               ; preds = %32
  %40 = load ptr, ptr @stderr, align 8, !tbaa !9
  %41 = tail call i32 @fileno(ptr noundef %40) #7
  %42 = tail call i32 @isatty(i32 noundef %41) #7
  %.not10 = icmp eq i32 %42, 0
  br i1 %.not10, label %43, label %44

43:                                               ; preds = %39, %32
  br label %44

44:                                               ; preds = %39, %43
  %.str.11.sink22 = phi ptr [ @.str.11, %43 ], [ @.str.7, %39 ]
  store i32 %34, ptr %33, align 4, !tbaa !5
  %45 = load ptr, ptr @stderr, align 8, !tbaa !9
  %46 = load i32, ptr @test_count, align 4, !tbaa !5
  %47 = tail call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %48 = load i32, ptr %47, align 4, !tbaa !5
  %49 = tail call ptr @s2n_strerror(i32 noundef %48, ptr noundef nonnull @.str.10) #7
  %50 = load i32, ptr %47, align 4, !tbaa !5
  %51 = tail call ptr @s2n_strerror_debug(i32 noundef %50, ptr noundef nonnull @.str.10) #7
  %52 = load i32, ptr %33, align 4, !tbaa !5
  %53 = tail call ptr @strerror(i32 noundef %52) #7
  %54 = load i32, ptr %33, align 4, !tbaa !5
  %55 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %45, ptr noundef nonnull %.str.11.sink22, i32 noundef %46, ptr noundef nonnull @.str.12, ptr noundef nonnull @.str.9, i32 noundef 100, ptr noundef %49, ptr noundef %51, ptr noundef %53, i32 noundef %54) #9
  tail call void @exit(i32 noundef 1) #10
  unreachable

56:                                               ; preds = %29
  %57 = tail call i32 @s2n_fuzz_init(ptr noundef %0, ptr noundef %1)
  %.not = icmp eq i32 %57, 0
  br i1 %.not, label %81, label %58

58:                                               ; preds = %56
  %59 = tail call ptr @__errno_location() #8
  %60 = load i32, ptr %59, align 4, !tbaa !5
  %61 = load ptr, ptr @stderr, align 8, !tbaa !9
  %62 = tail call i32 @s2n_print_stacktrace(ptr noundef %61) #7
  %63 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %64 = trunc nuw i8 %63 to i1
  br i1 %64, label %65, label %69

65:                                               ; preds = %58
  %66 = load ptr, ptr @stderr, align 8, !tbaa !9
  %67 = tail call i32 @fileno(ptr noundef %66) #7
  %68 = tail call i32 @isatty(i32 noundef %67) #7
  %.not9 = icmp eq i32 %68, 0
  br i1 %.not9, label %69, label %.sink.split

69:                                               ; preds = %65, %58
  br label %.sink.split

.sink.split:                                      ; preds = %65, %69
  %.str.7.sink = phi ptr [ @.str.11, %69 ], [ @.str.7, %65 ]
  store i32 %60, ptr %59, align 4, !tbaa !5
  %70 = load ptr, ptr @stderr, align 8, !tbaa !9
  %71 = load i32, ptr @test_count, align 4, !tbaa !5
  %72 = tail call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %73 = load i32, ptr %72, align 4, !tbaa !5
  %74 = tail call ptr @s2n_strerror(i32 noundef %73, ptr noundef nonnull @.str.10) #7
  %75 = load i32, ptr %72, align 4, !tbaa !5
  %76 = tail call ptr @s2n_strerror_debug(i32 noundef %75, ptr noundef nonnull @.str.10) #7
  %77 = load i32, ptr %59, align 4, !tbaa !5
  %78 = tail call ptr @strerror(i32 noundef %77) #7
  %79 = load i32, ptr %59, align 4, !tbaa !5
  %80 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %70, ptr noundef nonnull %.str.7.sink, i32 noundef %71, ptr noundef nonnull @.str.13, ptr noundef nonnull @.str.9, i32 noundef 100, ptr noundef %74, ptr noundef %76, ptr noundef %78, i32 noundef %79) #9
  br label %81

81:                                               ; preds = %.sink.split, %56
  ret i32 %57
}

declare i32 @s2n_init() local_unnamed_addr #2

; Function Attrs: mustprogress nofree nosync nounwind willreturn memory(none)
declare ptr @__errno_location() local_unnamed_addr #3

declare i32 @s2n_print_stacktrace(ptr noundef) local_unnamed_addr #2

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

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

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

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

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

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

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

; Function Attrs: nofree nounwind
declare i32 @atexit(ptr noundef) local_unnamed_addr #5

attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
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 = { 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 #4 = { 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 = { 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 #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 = { nounwind }
attributes #8 = { nounwind willreturn memory(none) }
attributes #9 = { cold nounwind }
attributes #10 = { 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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"_Bool", !7, i64 0}
!13 = !{i8 0, i8 2}
!14 = !{}


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