; LLVM IR from aws/s2n-tls :: tls (s2n_security_policies)

; 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_debug_info = type { ptr, ptr }
%struct.s2n_result = type { i32 }
%struct.s2n_signature_preferences = type { i8, ptr }
%struct.s2n_signature_scheme = type { i16, ptr, i32, i32, i8, i8, i16, ptr }

@_s2n_debug_info = external thread_local global %struct.s2n_debug_info, align 8
@s2n_errno = external thread_local global i32, align 4
@.str.173 = external hidden unnamed_addr constant [99 x i8], align 1
@.str.174 = external hidden unnamed_addr constant [99 x i8], align 1

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

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

declare i32 @s2n_calculate_stacktrace() #2

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

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

; Function Attrs: nounwind uwtable
define dso_local i32 @s2n_validate_certificate_signature_preferences(ptr noundef %0) #4 {
  %2 = alloca %struct.s2n_result, align 4
  %3 = alloca ptr, align 8
  %4 = alloca i64, align 8
  %5 = alloca i64, align 8
  %6 = alloca i32, align 4
  store ptr %0, ptr %3, align 8, !tbaa !5
  br label %7

7:                                                ; preds = %1
  %8 = load ptr, ptr %3, align 8, !tbaa !5
  %9 = icmp ne ptr %8, null
  br i1 %9, label %42, label %10

10:                                               ; preds = %7
  br label %11

11:                                               ; preds = %10
  br label %12

12:                                               ; preds = %11
  %13 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %14 = getelementptr inbounds %struct.s2n_debug_info, ptr %13, i32 0, i32 0
  store ptr @.str.173, ptr %14, align 8, !tbaa !9
  %15 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %16 = getelementptr inbounds %struct.s2n_debug_info, ptr %15, i32 0, i32 0
  %17 = load ptr, ptr %16, align 8, !tbaa !9
  %18 = getelementptr inbounds i8, ptr %17, i64 21
  %19 = call ptr @strrchr(ptr noundef %18, i32 noundef 47) #5
  %20 = icmp ne ptr %19, null
  br i1 %20, label %21, label %28

21:                                               ; preds = %12
  %22 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %23 = getelementptr inbounds %struct.s2n_debug_info, ptr %22, i32 0, i32 0
  %24 = load ptr, ptr %23, align 8, !tbaa !9
  %25 = getelementptr inbounds i8, ptr %24, i64 21
  %26 = call ptr @strrchr(ptr noundef %25, i32 noundef 47) #5
  %27 = getelementptr inbounds i8, ptr %26, i64 1
  br label %33

28:                                               ; preds = %12
  %29 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %30 = getelementptr inbounds %struct.s2n_debug_info, ptr %29, i32 0, i32 0
  %31 = load ptr, ptr %30, align 8, !tbaa !9
  %32 = getelementptr inbounds i8, ptr %31, i64 21
  br label %33

33:                                               ; preds = %28, %21
  %34 = phi ptr [ %27, %21 ], [ %32, %28 ]
  %35 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %36 = getelementptr inbounds %struct.s2n_debug_info, ptr %35, i32 0, i32 1
  store ptr %34, ptr %36, align 8, !tbaa !11
  %37 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  store i32 402653193, ptr %37, align 4, !tbaa !12
  %38 = call i32 @s2n_calculate_stacktrace()
  br label %39

39:                                               ; preds = %33
  %40 = getelementptr inbounds %struct.s2n_result, ptr %2, i32 0, i32 0
  store i32 -1, ptr %40, align 4, !tbaa !14
  br label %116

41:                                               ; No predecessors!
  br label %42

42:                                               ; preds = %41, %7
  br label %43

43:                                               ; preds = %42
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #6
  store i64 0, ptr %4, align 8, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #6
  store i64 0, ptr %5, align 8, !tbaa !16
  br label %44

44:                                               ; preds = %67, %43
  %45 = load i64, ptr %5, align 8, !tbaa !16
  %46 = load ptr, ptr %3, align 8, !tbaa !5
  %47 = getelementptr inbounds %struct.s2n_signature_preferences, ptr %46, i32 0, i32 0
  %48 = load i8, ptr %47, align 8, !tbaa !18
  %49 = zext i8 %48 to i64
  %50 = icmp ult i64 %45, %49
  br i1 %50, label %52, label %51

51:                                               ; preds = %44
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #6
  br label %70

52:                                               ; preds = %44
  %53 = load ptr, ptr %3, align 8, !tbaa !5
  %54 = getelementptr inbounds %struct.s2n_signature_preferences, ptr %53, i32 0, i32 1
  %55 = load ptr, ptr %54, align 8, !tbaa !20
  %56 = load i64, ptr %5, align 8, !tbaa !16
  %57 = getelementptr inbounds ptr, ptr %55, i64 %56
  %58 = load ptr, ptr %57, align 8, !tbaa !5
  %59 = getelementptr inbounds %struct.s2n_signature_scheme, ptr %58, i32 0, i32 6
  %60 = load i16, ptr %59, align 2, !tbaa !21
  %61 = zext i16 %60 to i32
  %62 = icmp eq i32 %61, 912
  br i1 %62, label %63, label %66

63:                                               ; preds = %52
  %64 = load i64, ptr %4, align 8, !tbaa !16
  %65 = add i64 %64, 1
  store i64 %65, ptr %4, align 8, !tbaa !16
  br label %66

66:                                               ; preds = %63, %52
  br label %67

67:                                               ; preds = %66
  %68 = load i64, ptr %5, align 8, !tbaa !16
  %69 = add i64 %68, 1
  store i64 %69, ptr %5, align 8, !tbaa !16
  br label %44, !llvm.loop !24

70:                                               ; preds = %51
  br label %71

71:                                               ; preds = %70
  %72 = load i64, ptr %4, align 8, !tbaa !16
  %73 = icmp eq i64 %72, 6
  br i1 %73, label %111, label %74

74:                                               ; preds = %71
  %75 = load i64, ptr %4, align 8, !tbaa !16
  %76 = icmp eq i64 %75, 0
  br i1 %76, label %111, label %77

77:                                               ; preds = %74
  br label %78

78:                                               ; preds = %77
  br label %79

79:                                               ; preds = %78
  %80 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %81 = getelementptr inbounds %struct.s2n_debug_info, ptr %80, i32 0, i32 0
  store ptr @.str.174, ptr %81, align 8, !tbaa !9
  %82 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %83 = getelementptr inbounds %struct.s2n_debug_info, ptr %82, i32 0, i32 0
  %84 = load ptr, ptr %83, align 8, !tbaa !9
  %85 = getelementptr inbounds i8, ptr %84, i64 21
  %86 = call ptr @strrchr(ptr noundef %85, i32 noundef 47) #5
  %87 = icmp ne ptr %86, null
  br i1 %87, label %88, label %95

88:                                               ; preds = %79
  %89 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %90 = getelementptr inbounds %struct.s2n_debug_info, ptr %89, i32 0, i32 0
  %91 = load ptr, ptr %90, align 8, !tbaa !9
  %92 = getelementptr inbounds i8, ptr %91, i64 21
  %93 = call ptr @strrchr(ptr noundef %92, i32 noundef 47) #5
  %94 = getelementptr inbounds i8, ptr %93, i64 1
  br label %100

95:                                               ; preds = %79
  %96 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %97 = getelementptr inbounds %struct.s2n_debug_info, ptr %96, i32 0, i32 0
  %98 = load ptr, ptr %97, align 8, !tbaa !9
  %99 = getelementptr inbounds i8, ptr %98, i64 21
  br label %100

100:                                              ; preds = %95, %88
  %101 = phi ptr [ %94, %88 ], [ %99, %95 ]
  %102 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %103 = getelementptr inbounds %struct.s2n_debug_info, ptr %102, i32 0, i32 1
  store ptr %101, ptr %103, align 8, !tbaa !11
  %104 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  store i32 469762101, ptr %104, align 4, !tbaa !12
  %105 = call i32 @s2n_calculate_stacktrace()
  br label %106

106:                                              ; preds = %100
  br label %107

107:                                              ; preds = %106
  %108 = getelementptr inbounds %struct.s2n_result, ptr %2, i32 0, i32 0
  store i32 -1, ptr %108, align 4, !tbaa !14
  store i32 1, ptr %6, align 4
  br label %115

109:                                              ; No predecessors!
  br label %110

110:                                              ; preds = %109
  br label %111

111:                                              ; preds = %110, %74, %71
  br label %112

112:                                              ; preds = %111
  br label %113

113:                                              ; preds = %112
  %114 = getelementptr inbounds %struct.s2n_result, ptr %2, i32 0, i32 0
  store i32 0, ptr %114, align 4, !tbaa !14
  store i32 1, ptr %6, align 4
  br label %115

115:                                              ; preds = %113, %107
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #6
  br label %116

116:                                              ; preds = %115, %39
  %117 = getelementptr inbounds %struct.s2n_result, ptr %2, i32 0, i32 0
  %118 = load i32, ptr %117, align 4
  ret i32 %118
}

attributes #0 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #1 = { 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 #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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { 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 #5 = { nounwind willreturn memory(read) }
attributes #6 = { nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"s2n_debug_info", !6, i64 0, !6, i64 8}
!11 = !{!10, !6, i64 8}
!12 = !{!13, !13, i64 0}
!13 = !{!"int", !7, i64 0}
!14 = !{!15, !13, i64 0}
!15 = !{!"", !13, i64 0}
!16 = !{!17, !17, i64 0}
!17 = !{!"long", !7, i64 0}
!18 = !{!19, !7, i64 0}
!19 = !{!"s2n_signature_preferences", !7, i64 0, !6, i64 8}
!20 = !{!19, !6, i64 8}
!21 = !{!22, !23, i64 26}
!22 = !{!"s2n_signature_scheme", !23, i64 0, !6, i64 8, !13, i64 16, !13, i64 20, !7, i64 24, !7, i64 25, !23, i64 26, !6, i64 32}
!23 = !{!"short", !7, i64 0}
!24 = distinct !{!24, !25}
!25 = !{!"llvm.loop.mustprogress"}


; 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_debug_info = type { ptr, ptr }

@_s2n_debug_info = external thread_local local_unnamed_addr global %struct.s2n_debug_info, align 8
@s2n_errno = external thread_local local_unnamed_addr global i32, align 4
@.str.173 = external hidden unnamed_addr constant [99 x i8], align 1
@.str.174 = external hidden unnamed_addr constant [99 x i8], align 1

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

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

declare i32 @s2n_calculate_stacktrace() local_unnamed_addr #2

; Function Attrs: nounwind uwtable
define dso_local range(i32 -1, 1) i32 @s2n_validate_certificate_signature_preferences(ptr noundef readonly %0) local_unnamed_addr #3 {
  %.not = icmp eq ptr %0, null
  br i1 %.not, label %._crit_edge.thread.sink.split, label %.preheader

.preheader:                                       ; preds = %1
  %2 = load i8, ptr %0, align 8, !tbaa !5
  %3 = zext i8 %2 to i64
  %.not17 = icmp eq i8 %2, 0
  br i1 %.not17, label %._crit_edge.thread, label %.lr.ph

.lr.ph:                                           ; preds = %.preheader
  %4 = getelementptr inbounds i8, ptr %0, i64 8
  %5 = load ptr, ptr %4, align 8, !tbaa !10
  %xtraiter = and i64 %3, 3
  %6 = icmp ult i8 %2, 4
  br i1 %6, label %._crit_edge.unr-lcssa, label %.lr.ph.new

.lr.ph.new:                                       ; preds = %.lr.ph
  %unroll_iter = and i64 %3, 252
  br label %14

._crit_edge.unr-lcssa:                            ; preds = %14, %.lr.ph
  %spec.select.lcssa.ph = phi i64 [ poison, %.lr.ph ], [ %spec.select.3, %14 ]
  %.016.unr = phi i64 [ 0, %.lr.ph ], [ %42, %14 ]
  %.0915.unr = phi i64 [ 0, %.lr.ph ], [ %spec.select.3, %14 ]
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %._crit_edge, label %.epil.preheader

.epil.preheader:                                  ; preds = %._crit_edge.unr-lcssa, %.epil.preheader
  %.016.epil = phi i64 [ %13, %.epil.preheader ], [ %.016.unr, %._crit_edge.unr-lcssa ]
  %.0915.epil = phi i64 [ %spec.select.epil, %.epil.preheader ], [ %.0915.unr, %._crit_edge.unr-lcssa ]
  %epil.iter = phi i64 [ %epil.iter.next, %.epil.preheader ], [ 0, %._crit_edge.unr-lcssa ]
  %7 = getelementptr inbounds ptr, ptr %5, i64 %.016.epil
  %8 = load ptr, ptr %7, align 8, !tbaa !11
  %9 = getelementptr inbounds i8, ptr %8, i64 26
  %10 = load i16, ptr %9, align 2, !tbaa !12
  %11 = icmp eq i16 %10, 912
  %12 = zext i1 %11 to i64
  %spec.select.epil = add i64 %.0915.epil, %12
  %13 = add nuw nsw i64 %.016.epil, 1
  %epil.iter.next = add i64 %epil.iter, 1
  %epil.iter.cmp.not = icmp eq i64 %epil.iter.next, %xtraiter
  br i1 %epil.iter.cmp.not, label %._crit_edge, label %.epil.preheader, !llvm.loop !16

._crit_edge:                                      ; preds = %.epil.preheader, %._crit_edge.unr-lcssa
  %spec.select.lcssa = phi i64 [ %spec.select.lcssa.ph, %._crit_edge.unr-lcssa ], [ %spec.select.epil, %.epil.preheader ]
  switch i64 %spec.select.lcssa, label %._crit_edge.thread.sink.split [
    i64 6, label %._crit_edge.thread
    i64 0, label %._crit_edge.thread
  ]

14:                                               ; preds = %14, %.lr.ph.new
  %.016 = phi i64 [ 0, %.lr.ph.new ], [ %42, %14 ]
  %.0915 = phi i64 [ 0, %.lr.ph.new ], [ %spec.select.3, %14 ]
  %niter = phi i64 [ 0, %.lr.ph.new ], [ %niter.next.3, %14 ]
  %15 = getelementptr inbounds ptr, ptr %5, i64 %.016
  %16 = load ptr, ptr %15, align 8, !tbaa !11
  %17 = getelementptr inbounds i8, ptr %16, i64 26
  %18 = load i16, ptr %17, align 2, !tbaa !12
  %19 = icmp eq i16 %18, 912
  %20 = zext i1 %19 to i64
  %spec.select = add i64 %.0915, %20
  %21 = or disjoint i64 %.016, 1
  %22 = getelementptr inbounds ptr, ptr %5, i64 %21
  %23 = load ptr, ptr %22, align 8, !tbaa !11
  %24 = getelementptr inbounds i8, ptr %23, i64 26
  %25 = load i16, ptr %24, align 2, !tbaa !12
  %26 = icmp eq i16 %25, 912
  %27 = zext i1 %26 to i64
  %spec.select.1 = add i64 %spec.select, %27
  %28 = or disjoint i64 %.016, 2
  %29 = getelementptr inbounds ptr, ptr %5, i64 %28
  %30 = load ptr, ptr %29, align 8, !tbaa !11
  %31 = getelementptr inbounds i8, ptr %30, i64 26
  %32 = load i16, ptr %31, align 2, !tbaa !12
  %33 = icmp eq i16 %32, 912
  %34 = zext i1 %33 to i64
  %spec.select.2 = add i64 %spec.select.1, %34
  %35 = or disjoint i64 %.016, 3
  %36 = getelementptr inbounds ptr, ptr %5, i64 %35
  %37 = load ptr, ptr %36, align 8, !tbaa !11
  %38 = getelementptr inbounds i8, ptr %37, i64 26
  %39 = load i16, ptr %38, align 2, !tbaa !12
  %40 = icmp eq i16 %39, 912
  %41 = zext i1 %40 to i64
  %spec.select.3 = add i64 %spec.select.2, %41
  %42 = add nuw nsw i64 %.016, 4
  %niter.next.3 = add i64 %niter, 4
  %niter.ncmp.3 = icmp eq i64 %niter.next.3, %unroll_iter
  br i1 %niter.ncmp.3, label %._crit_edge.unr-lcssa, label %14, !llvm.loop !18

._crit_edge.thread.sink.split:                    ; preds = %._crit_edge, %1
  %.str.174.sink = phi ptr [ @.str.173, %1 ], [ @.str.174, %._crit_edge ]
  %.sink27 = phi ptr [ getelementptr inbounds (i8, ptr @.str.173, i64 21), %1 ], [ getelementptr inbounds (i8, ptr @.str.174, i64 21), %._crit_edge ]
  %.sink = phi i32 [ 402653193, %1 ], [ 469762101, %._crit_edge ]
  %43 = tail call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  store ptr %.str.174.sink, ptr %43, align 8, !tbaa !20
  %44 = tail call ptr @strrchr(ptr noundef nonnull dereferenceable(1) %.sink27, i32 noundef 47) #4
  %.not14 = icmp eq ptr %44, null
  %45 = getelementptr inbounds i8, ptr %44, i64 1
  %46 = select i1 %.not14, ptr %.sink27, ptr %45
  %47 = getelementptr inbounds i8, ptr %43, i64 8
  store ptr %46, ptr %47, align 8, !tbaa !22
  %48 = tail call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  store i32 %.sink, ptr %48, align 4, !tbaa !23
  %49 = tail call i32 @s2n_calculate_stacktrace() #5
  br label %._crit_edge.thread

._crit_edge.thread:                               ; preds = %._crit_edge.thread.sink.split, %.preheader, %._crit_edge, %._crit_edge
  %.sroa.0.1 = phi i32 [ 0, %._crit_edge ], [ 0, %._crit_edge ], [ 0, %.preheader ], [ -1, %._crit_edge.thread.sink.split ]
  ret i32 %.sroa.0.1
}

attributes #0 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #1 = { mustprogress nofree nounwind willreturn memory(argmem: read) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #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 uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind willreturn memory(read) }
attributes #5 = { 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, !7, i64 0}
!6 = !{!"s2n_signature_preferences", !7, i64 0, !9, i64 8}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!"any pointer", !7, i64 0}
!10 = !{!6, !9, i64 8}
!11 = !{!9, !9, i64 0}
!12 = !{!13, !14, i64 26}
!13 = !{!"s2n_signature_scheme", !14, i64 0, !9, i64 8, !15, i64 16, !15, i64 20, !7, i64 24, !7, i64 25, !14, i64 26, !9, i64 32}
!14 = !{!"short", !7, i64 0}
!15 = !{!"int", !7, i64 0}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.unroll.disable"}
!18 = distinct !{!18, !19}
!19 = !{!"llvm.loop.mustprogress"}
!20 = !{!21, !9, i64 0}
!21 = !{!"s2n_debug_info", !9, i64 0, !9, i64 8}
!22 = !{!21, !9, i64 8}
!23 = !{!15, !15, i64 0}


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