; LLVM IR from aws/s2n-tls :: tests/unit (s2n_self_talk_client_hello_cb_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.client_hello_context = type { i32, i32, i32, i32, ptr, i32 }

@s2n_use_color_in_output = external dso_local global i8, align 1
@test_count = external dso_local global i32, align 4
@stderr = external global ptr, align 8
@.str.3 = external hidden unnamed_addr constant [101 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [93 x i8], align 1
@s2n_errno = external thread_local global i32, align 4
@.str.6 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [90 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [38 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

declare i32 @s2n_negotiate(ptr noundef, ptr noundef) #1

; 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) #2

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

declare i32 @s2n_print_stacktrace(ptr noundef) #1

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

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

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

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

; Function Attrs: 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) #1

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

; Function Attrs: nounwind uwtable
define dso_local i32 @s2n_negotiate_blocking_ch_cb(ptr noundef %0, ptr noundef %1) #6 {
  %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
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #7
  br label %9

9:                                                ; preds = %2
  %10 = load i32, ptr @test_count, align 4, !tbaa !9
  %11 = add nsw i32 %10, 1
  store i32 %11, ptr @test_count, align 4, !tbaa !9
  %12 = load ptr, ptr %3, align 8, !tbaa !5
  %13 = icmp eq ptr %12, null
  br i1 %13, label %14, label %67

14:                                               ; preds = %9
  br label %15

15:                                               ; preds = %14
  br label %16

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

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

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

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

62:                                               ; preds = %45, %28
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #7
  br label %63

63:                                               ; preds = %62
  br label %64

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

65:                                               ; No predecessors!
  br label %66

66:                                               ; preds = %65
  br label %67

67:                                               ; preds = %66, %9
  br label %68

68:                                               ; preds = %67
  br label %69

69:                                               ; preds = %68
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #7
  %70 = load ptr, ptr %3, align 8, !tbaa !5
  %71 = call i32 @s2n_negotiate(ptr noundef %70, ptr noundef %5)
  store i32 %71, ptr %7, align 4, !tbaa !9
  br label %72

72:                                               ; preds = %69
  %73 = load i32, ptr @test_count, align 4, !tbaa !9
  %74 = add nsw i32 %73, 1
  store i32 %74, ptr @test_count, align 4, !tbaa !9
  %75 = load ptr, ptr %4, align 8, !tbaa !5
  %76 = getelementptr inbounds %struct.client_hello_context, ptr %75, i32 0, i32 0
  %77 = load i32, ptr %76, align 8, !tbaa !15
  %78 = icmp eq i32 %77, 1
  br i1 %78, label %132, label %79

79:                                               ; preds = %72
  br label %80

80:                                               ; preds = %79
  br label %81

81:                                               ; preds = %80
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #7
  %82 = call ptr @__errno_location() #8
  %83 = load i32, ptr %82, align 4, !tbaa !9
  store i32 %83, ptr %8, align 4, !tbaa !9
  %84 = load ptr, ptr @stderr, align 8, !tbaa !5
  %85 = call i32 @s2n_print_stacktrace(ptr noundef %84)
  %86 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %87 = trunc i8 %86 to i1
  br i1 %87, label %88, label %110

88:                                               ; preds = %81
  %89 = load ptr, ptr @stderr, align 8, !tbaa !5
  %90 = call i32 @fileno(ptr noundef %89) #7
  %91 = call i32 @isatty(i32 noundef %90) #7
  %92 = icmp ne i32 %91, 0
  br i1 %92, label %93, label %110

93:                                               ; preds = %88
  %94 = load i32, ptr %8, align 4, !tbaa !9
  %95 = call ptr @__errno_location() #8
  store i32 %94, ptr %95, align 4, !tbaa !9
  %96 = load ptr, ptr @stderr, align 8, !tbaa !5
  %97 = load i32, ptr @test_count, align 4, !tbaa !9
  %98 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %99 = load i32, ptr %98, align 4, !tbaa !9
  %100 = call ptr @s2n_strerror(i32 noundef %99, ptr noundef @.str.6)
  %101 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %102 = load i32, ptr %101, align 4, !tbaa !9
  %103 = call ptr @s2n_strerror_debug(i32 noundef %102, ptr noundef @.str.6)
  %104 = call ptr @__errno_location() #8
  %105 = load i32, ptr %104, align 4, !tbaa !9
  %106 = call ptr @strerror(i32 noundef %105) #7
  %107 = call ptr @__errno_location() #8
  %108 = load i32, ptr %107, align 4, !tbaa !9
  %109 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %96, ptr noundef @.str.3, i32 noundef %97, ptr noundef @.str.15, ptr noundef @.str.5, i32 noundef 220, ptr noundef %100, ptr noundef %103, ptr noundef %106, i32 noundef %108) #7
  br label %127

110:                                              ; preds = %88, %81
  %111 = load i32, ptr %8, align 4, !tbaa !9
  %112 = call ptr @__errno_location() #8
  store i32 %111, ptr %112, align 4, !tbaa !9
  %113 = load ptr, ptr @stderr, align 8, !tbaa !5
  %114 = load i32, ptr @test_count, align 4, !tbaa !9
  %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(i32 noundef %116, ptr noundef @.str.6)
  %118 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %119 = load i32, ptr %118, align 4, !tbaa !9
  %120 = call ptr @s2n_strerror_debug(i32 noundef %119, ptr noundef @.str.6)
  %121 = call ptr @__errno_location() #8
  %122 = load i32, ptr %121, align 4, !tbaa !9
  %123 = call ptr @strerror(i32 noundef %122) #7
  %124 = call ptr @__errno_location() #8
  %125 = load i32, ptr %124, align 4, !tbaa !9
  %126 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %113, ptr noundef @.str.7, i32 noundef %114, ptr noundef @.str.15, ptr noundef @.str.5, i32 noundef 220, ptr noundef %117, ptr noundef %120, ptr noundef %123, i32 noundef %125) #7
  br label %127

127:                                              ; preds = %110, %93
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #7
  br label %128

128:                                              ; preds = %127
  br label %129

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

130:                                              ; No predecessors!
  br label %131

131:                                              ; preds = %130
  br label %132

132:                                              ; preds = %131, %72
  br label %133

133:                                              ; preds = %132
  br label %134

134:                                              ; preds = %133
  %135 = load i32, ptr %7, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #7
  ret i32 %135
}

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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 #3 = { 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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #6 = { 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 #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 = !{}
!15 = !{!16, !10, i64 0}
!16 = !{!"client_hello_context", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !6, i64 16, !10, i64 24}


; 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
@test_count = external dso_local local_unnamed_addr global i32, align 4
@stderr = external local_unnamed_addr global ptr, align 8
@.str.3 = external hidden unnamed_addr constant [101 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [93 x i8], align 1
@s2n_errno = external thread_local local_unnamed_addr global i32, align 4
@.str.6 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [90 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [38 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

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

; 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 #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 #1

; 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 #1

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

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

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

; Function Attrs: nounwind uwtable
define dso_local i32 @s2n_negotiate_blocking_ch_cb(ptr noundef %0, ptr nocapture noundef readonly %1) local_unnamed_addr #7 {
  %3 = alloca i32, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #8
  %4 = load i32, ptr @test_count, align 4, !tbaa !5
  %5 = add nsw i32 %4, 1
  store i32 %5, ptr @test_count, align 4, !tbaa !5
  %6 = icmp eq ptr %0, null
  br i1 %6, label %7, label %31

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

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

18:                                               ; preds = %14, %7
  br label %19

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

31:                                               ; preds = %2
  %32 = call i32 @s2n_negotiate(ptr noundef nonnull %0, ptr noundef nonnull %3) #8
  %33 = load i32, ptr @test_count, align 4, !tbaa !5
  %34 = add nsw i32 %33, 1
  store i32 %34, ptr @test_count, align 4, !tbaa !5
  %35 = load i32, ptr %1, align 8, !tbaa !15
  %36 = icmp eq i32 %35, 1
  br i1 %36, label %61, label %37

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

44:                                               ; preds = %37
  %45 = load ptr, ptr @stderr, align 8, !tbaa !9
  %46 = call i32 @fileno(ptr noundef %45) #8
  %47 = call i32 @isatty(i32 noundef %46) #8
  %.not = icmp eq i32 %47, 0
  br i1 %.not, label %48, label %49

48:                                               ; preds = %44, %37
  br label %49

49:                                               ; preds = %44, %48
  %.str.7.sink18 = phi ptr [ @.str.7, %48 ], [ @.str.3, %44 ]
  store i32 %39, ptr %38, align 4, !tbaa !5
  %50 = load ptr, ptr @stderr, align 8, !tbaa !9
  %51 = load i32, ptr @test_count, align 4, !tbaa !5
  %52 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %53 = load i32, ptr %52, align 4, !tbaa !5
  %54 = call ptr @s2n_strerror(i32 noundef %53, ptr noundef nonnull @.str.6) #8
  %55 = load i32, ptr %52, align 4, !tbaa !5
  %56 = call ptr @s2n_strerror_debug(i32 noundef %55, ptr noundef nonnull @.str.6) #8
  %57 = load i32, ptr %38, align 4, !tbaa !5
  %58 = call ptr @strerror(i32 noundef %57) #8
  %59 = load i32, ptr %38, align 4, !tbaa !5
  %60 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %50, ptr noundef nonnull %.str.7.sink18, i32 noundef %51, ptr noundef nonnull @.str.15, ptr noundef nonnull @.str.5, i32 noundef 220, ptr noundef %54, ptr noundef %56, ptr noundef %58, i32 noundef %59) #10
  call void @exit(i32 noundef 1) #11
  unreachable

61:                                               ; preds = %31
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #8
  ret i32 %32
}

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


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