; LLVM IR from fritzsedlazeck/SURVIVOR :: src/vcfs (Annotate_vcf)

; 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.sv_str = type { %"class.std::__cxx11::basic_string", i16, i32, i32, %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string" }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }

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

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

; Function Attrs: mustprogress nounwind uwtable
declare noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32)) #1 align 2

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

; Function Attrs: mustprogress nounwind uwtable
define dso_local noundef i32 @_Z14is_overlappingNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiiSt6vectorI6sv_strSaIS6_EEi(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, i32 noundef %4) #1 {
  %6 = alloca i32, align 4
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca ptr, align 8
  %11 = alloca i32, align 4
  %12 = alloca i64, align 8
  %13 = alloca i32, align 4
  store ptr %0, ptr %7, align 8, !tbaa !5
  store i32 %1, ptr %8, align 4, !tbaa !9
  store i32 %2, ptr %9, align 4, !tbaa !9
  store ptr %3, ptr %10, align 8, !tbaa !5
  store i32 %4, ptr %11, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #3
  store i64 0, ptr %12, align 8, !tbaa !11
  br label %14

14:                                               ; preds = %118, %5
  %15 = load i64, ptr %12, align 8, !tbaa !11
  %16 = call noundef i64 @_ZNKSt6vectorI6sv_strSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %3) #3
  %17 = icmp ult i64 %15, %16
  br i1 %17, label %19, label %18

18:                                               ; preds = %14
  store i32 2, ptr %13, align 4
  br label %121

19:                                               ; preds = %14
  %20 = load i64, ptr %12, align 8, !tbaa !11
  %21 = call noundef nonnull align 8 dereferenceable(112) ptr @_ZNSt6vectorI6sv_strSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %20) #3
  %22 = getelementptr inbounds %struct.sv_str, ptr %21, i32 0, i32 4
  %23 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %22) #3
  %24 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %0) #3
  %25 = call i32 @strcmp(ptr noundef %23, ptr noundef %24) #4
  %26 = icmp eq i32 %25, 0
  br i1 %26, label %27, label %49

27:                                               ; preds = %19
  %28 = load i64, ptr %12, align 8, !tbaa !11
  %29 = call noundef nonnull align 8 dereferenceable(112) ptr @_ZNSt6vectorI6sv_strSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %28) #3
  %30 = getelementptr inbounds %struct.sv_str, ptr %29, i32 0, i32 2
  %31 = load i32, ptr %30, align 4, !tbaa !13
  %32 = load i32, ptr %8, align 4, !tbaa !9
  %33 = load i32, ptr %11, align 4, !tbaa !9
  %34 = sub nsw i32 %32, %33
  %35 = icmp sgt i32 %31, %34
  br i1 %35, label %36, label %48

36:                                               ; preds = %27
  %37 = load i64, ptr %12, align 8, !tbaa !11
  %38 = call noundef nonnull align 8 dereferenceable(112) ptr @_ZNSt6vectorI6sv_strSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %37) #3
  %39 = getelementptr inbounds %struct.sv_str, ptr %38, i32 0, i32 2
  %40 = load i32, ptr %39, align 4, !tbaa !13
  %41 = load i32, ptr %9, align 4, !tbaa !9
  %42 = load i32, ptr %11, align 4, !tbaa !9
  %43 = add nsw i32 %41, %42
  %44 = icmp slt i32 %40, %43
  br i1 %44, label %45, label %48

45:                                               ; preds = %36
  %46 = load i64, ptr %12, align 8, !tbaa !11
  %47 = trunc i64 %46 to i32
  store i32 %47, ptr %6, align 4
  store i32 1, ptr %13, align 4
  br label %121

48:                                               ; preds = %36, %27
  br label %80

49:                                               ; preds = %19
  %50 = load i64, ptr %12, align 8, !tbaa !11
  %51 = call noundef nonnull align 8 dereferenceable(112) ptr @_ZNSt6vectorI6sv_strSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %50) #3
  %52 = getelementptr inbounds %struct.sv_str, ptr %51, i32 0, i32 5
  %53 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %52) #3
  %54 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %0) #3
  %55 = call i32 @strcmp(ptr noundef %53, ptr noundef %54) #4
  %56 = icmp eq i32 %55, 0
  br i1 %56, label %57, label %79

57:                                               ; preds = %49
  %58 = load i64, ptr %12, align 8, !tbaa !11
  %59 = call noundef nonnull align 8 dereferenceable(112) ptr @_ZNSt6vectorI6sv_strSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %58) #3
  %60 = getelementptr inbounds %struct.sv_str, ptr %59, i32 0, i32 3
  %61 = load i32, ptr %60, align 8, !tbaa !18
  %62 = load i32, ptr %8, align 4, !tbaa !9
  %63 = load i32, ptr %11, align 4, !tbaa !9
  %64 = sub nsw i32 %62, %63
  %65 = icmp sgt i32 %61, %64
  br i1 %65, label %66, label %78

66:                                               ; preds = %57
  %67 = load i64, ptr %12, align 8, !tbaa !11
  %68 = call noundef nonnull align 8 dereferenceable(112) ptr @_ZNSt6vectorI6sv_strSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %67) #3
  %69 = getelementptr inbounds %struct.sv_str, ptr %68, i32 0, i32 3
  %70 = load i32, ptr %69, align 8, !tbaa !18
  %71 = load i32, ptr %9, align 4, !tbaa !9
  %72 = load i32, ptr %11, align 4, !tbaa !9
  %73 = add nsw i32 %71, %72
  %74 = icmp slt i32 %70, %73
  br i1 %74, label %75, label %78

75:                                               ; preds = %66
  %76 = load i64, ptr %12, align 8, !tbaa !11
  %77 = trunc i64 %76 to i32
  store i32 %77, ptr %6, align 4
  store i32 1, ptr %13, align 4
  br label %121

78:                                               ; preds = %66, %57
  br label %79

79:                                               ; preds = %78, %49
  br label %80

80:                                               ; preds = %79, %48
  %81 = load i64, ptr %12, align 8, !tbaa !11
  %82 = call noundef nonnull align 8 dereferenceable(112) ptr @_ZNSt6vectorI6sv_strSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %81) #3
  %83 = getelementptr inbounds %struct.sv_str, ptr %82, i32 0, i32 1
  %84 = load i16, ptr %83, align 8, !tbaa !19
  %85 = sext i16 %84 to i32
  %86 = icmp slt i32 %85, 2
  br i1 %86, label %87, label %117

87:                                               ; preds = %80
  %88 = load i64, ptr %12, align 8, !tbaa !11
  %89 = call noundef nonnull align 8 dereferenceable(112) ptr @_ZNSt6vectorI6sv_strSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %88) #3
  %90 = getelementptr inbounds %struct.sv_str, ptr %89, i32 0, i32 4
  %91 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %90) #3
  %92 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %0) #3
  %93 = call i32 @strcmp(ptr noundef %91, ptr noundef %92) #4
  %94 = icmp eq i32 %93, 0
  br i1 %94, label %95, label %117

95:                                               ; preds = %87
  %96 = load i64, ptr %12, align 8, !tbaa !11
  %97 = call noundef nonnull align 8 dereferenceable(112) ptr @_ZNSt6vectorI6sv_strSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %96) #3
  %98 = getelementptr inbounds %struct.sv_str, ptr %97, i32 0, i32 2
  %99 = load i32, ptr %98, align 4, !tbaa !13
  %100 = load i32, ptr %11, align 4, !tbaa !9
  %101 = sub nsw i32 %99, %100
  %102 = load i32, ptr %8, align 4, !tbaa !9
  %103 = icmp slt i32 %101, %102
  br i1 %103, label %104, label %116

104:                                              ; preds = %95
  %105 = load i64, ptr %12, align 8, !tbaa !11
  %106 = call noundef nonnull align 8 dereferenceable(112) ptr @_ZNSt6vectorI6sv_strSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %105) #3
  %107 = getelementptr inbounds %struct.sv_str, ptr %106, i32 0, i32 3
  %108 = load i32, ptr %107, align 8, !tbaa !18
  %109 = load i32, ptr %11, align 4, !tbaa !9
  %110 = add nsw i32 %108, %109
  %111 = load i32, ptr %9, align 4, !tbaa !9
  %112 = icmp sgt i32 %110, %111
  br i1 %112, label %113, label %116

113:                                              ; preds = %104
  %114 = load i64, ptr %12, align 8, !tbaa !11
  %115 = trunc i64 %114 to i32
  store i32 %115, ptr %6, align 4
  store i32 1, ptr %13, align 4
  br label %121

116:                                              ; preds = %104, %95
  br label %117

117:                                              ; preds = %116, %87, %80
  br label %118

118:                                              ; preds = %117
  %119 = load i64, ptr %12, align 8, !tbaa !11
  %120 = add i64 %119, 1
  store i64 %120, ptr %12, align 8, !tbaa !11
  br label %14, !llvm.loop !20

121:                                              ; preds = %113, %75, %45, %18
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #3
  %122 = load i32, ptr %13, align 4
  switch i32 %122, label %126 [
    i32 2, label %123
    i32 1, label %124
  ]

123:                                              ; preds = %121
  store i32 -1, ptr %6, align 4
  br label %124

124:                                              ; preds = %123, %121
  %125 = load i32, ptr %6, align 4
  ret i32 %125

126:                                              ; preds = %121
  unreachable
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNKSt6vectorI6sv_strSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24)) #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(112) ptr @_ZNSt6vectorI6sv_strSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #1 align 2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress 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 #2 = { 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 #3 = { nounwind }
attributes #4 = { 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++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"long", !7, i64 0}
!13 = !{!14, !10, i64 36}
!14 = !{!"_ZTS6sv_str", !15, i64 0, !17, i64 32, !10, i64 36, !10, i64 40, !15, i64 48, !15, i64 80}
!15 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !16, i64 0, !12, i64 8, !7, i64 16}
!16 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!17 = !{!"short", !7, i64 0}
!18 = !{!14, !10, i64 40}
!19 = !{!14, !17, i64 32}
!20 = distinct !{!20, !21}
!21 = !{!"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"

; Function Attrs: mustprogress nounwind uwtable
declare noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #0 align 2

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

; Function Attrs: mustprogress nounwind uwtable
define dso_local noundef i32 @_Z14is_overlappingNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiiSt6vectorI6sv_strSaIS6_EEi(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef nonnull %3, i32 noundef %4) local_unnamed_addr #0 {
  %6 = tail call noundef i64 @_ZNKSt6vectorI6sv_strSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %3) #2
  %.not34.not = icmp eq i64 %6, 0
  br i1 %.not34.not, label %.loopexit, label %.lr.ph

.lr.ph:                                           ; preds = %5
  %7 = sub nsw i32 %1, %4
  %8 = add nsw i32 %4, %2
  br label %9

9:                                                ; preds = %.lr.ph, %72
  %.02935 = phi i64 [ 0, %.lr.ph ], [ %73, %72 ]
  %10 = tail call noundef nonnull align 8 dereferenceable(112) ptr @_ZNSt6vectorI6sv_strSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %.02935) #2
  %11 = getelementptr inbounds i8, ptr %10, i64 48
  %12 = tail call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %11) #2
  %13 = tail call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %0) #2
  %14 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %12, ptr noundef nonnull dereferenceable(1) %13) #3
  %15 = icmp eq i32 %14, 0
  %16 = tail call noundef nonnull align 8 dereferenceable(112) ptr @_ZNSt6vectorI6sv_strSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %.02935) #2
  br i1 %15, label %17, label %28

17:                                               ; preds = %9
  %18 = getelementptr inbounds i8, ptr %16, i64 36
  %19 = load i32, ptr %18, align 4, !tbaa !5
  %20 = icmp sgt i32 %19, %7
  br i1 %20, label %21, label %46

21:                                               ; preds = %17
  %22 = tail call noundef nonnull align 8 dereferenceable(112) ptr @_ZNSt6vectorI6sv_strSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %.02935) #2
  %23 = getelementptr inbounds i8, ptr %22, i64 36
  %24 = load i32, ptr %23, align 4, !tbaa !5
  %25 = icmp slt i32 %24, %8
  br i1 %25, label %26, label %46

26:                                               ; preds = %21
  %27 = trunc i64 %.02935 to i32
  br label %.loopexit

28:                                               ; preds = %9
  %29 = getelementptr inbounds i8, ptr %16, i64 80
  %30 = tail call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %29) #2
  %31 = tail call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %0) #2
  %32 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %30, ptr noundef nonnull dereferenceable(1) %31) #3
  %33 = icmp eq i32 %32, 0
  br i1 %33, label %34, label %46

34:                                               ; preds = %28
  %35 = tail call noundef nonnull align 8 dereferenceable(112) ptr @_ZNSt6vectorI6sv_strSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %.02935) #2
  %36 = getelementptr inbounds i8, ptr %35, i64 40
  %37 = load i32, ptr %36, align 8, !tbaa !15
  %38 = icmp sgt i32 %37, %7
  br i1 %38, label %39, label %46

39:                                               ; preds = %34
  %40 = tail call noundef nonnull align 8 dereferenceable(112) ptr @_ZNSt6vectorI6sv_strSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %.02935) #2
  %41 = getelementptr inbounds i8, ptr %40, i64 40
  %42 = load i32, ptr %41, align 8, !tbaa !15
  %43 = icmp slt i32 %42, %8
  br i1 %43, label %44, label %46

44:                                               ; preds = %39
  %45 = trunc i64 %.02935 to i32
  br label %.loopexit

46:                                               ; preds = %28, %39, %34, %17, %21
  %47 = tail call noundef nonnull align 8 dereferenceable(112) ptr @_ZNSt6vectorI6sv_strSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %.02935) #2
  %48 = getelementptr inbounds i8, ptr %47, i64 32
  %49 = load i16, ptr %48, align 8, !tbaa !16
  %50 = icmp slt i16 %49, 2
  br i1 %50, label %51, label %72

51:                                               ; preds = %46
  %52 = tail call noundef nonnull align 8 dereferenceable(112) ptr @_ZNSt6vectorI6sv_strSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %.02935) #2
  %53 = getelementptr inbounds i8, ptr %52, i64 48
  %54 = tail call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %53) #2
  %55 = tail call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %0) #2
  %56 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %54, ptr noundef nonnull dereferenceable(1) %55) #3
  %57 = icmp eq i32 %56, 0
  br i1 %57, label %58, label %72

58:                                               ; preds = %51
  %59 = tail call noundef nonnull align 8 dereferenceable(112) ptr @_ZNSt6vectorI6sv_strSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %.02935) #2
  %60 = getelementptr inbounds i8, ptr %59, i64 36
  %61 = load i32, ptr %60, align 4, !tbaa !5
  %62 = sub nsw i32 %61, %4
  %63 = icmp slt i32 %62, %1
  br i1 %63, label %64, label %72

64:                                               ; preds = %58
  %65 = tail call noundef nonnull align 8 dereferenceable(112) ptr @_ZNSt6vectorI6sv_strSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %.02935) #2
  %66 = getelementptr inbounds i8, ptr %65, i64 40
  %67 = load i32, ptr %66, align 8, !tbaa !15
  %68 = add nsw i32 %67, %4
  %69 = icmp sgt i32 %68, %2
  br i1 %69, label %70, label %72

70:                                               ; preds = %64
  %71 = trunc i64 %.02935 to i32
  br label %.loopexit

72:                                               ; preds = %46, %51, %64, %58
  %73 = add nuw i64 %.02935, 1
  %74 = tail call noundef i64 @_ZNKSt6vectorI6sv_strSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %3) #2
  %.not = icmp ult i64 %73, %74
  br i1 %.not, label %9, label %.loopexit, !llvm.loop !17

.loopexit:                                        ; preds = %72, %5, %70, %44, %26
  %spec.select = phi i32 [ %27, %26 ], [ %71, %70 ], [ %45, %44 ], [ -1, %5 ], [ -1, %72 ]
  ret i32 %spec.select
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNKSt6vectorI6sv_strSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(112) ptr @_ZNSt6vectorI6sv_strSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #0 align 2

attributes #0 = { mustprogress 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 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 = { nounwind }
attributes #3 = { 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, !14, i64 36}
!6 = !{!"_ZTS6sv_str", !7, i64 0, !13, i64 32, !14, i64 36, !14, i64 40, !7, i64 48, !7, i64 80}
!7 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !8, i64 0, !12, i64 8, !10, i64 16}
!8 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !9, i64 0}
!9 = !{!"any pointer", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C++ TBAA"}
!12 = !{!"long", !10, i64 0}
!13 = !{!"short", !10, i64 0}
!14 = !{!"int", !10, i64 0}
!15 = !{!6, !14, i64 40}
!16 = !{!6, !13, i64 32}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}


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