; LLVM IR from lelegard/cryptobench :: src (sys)

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

%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl" }
%"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl" = type { %"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl_data" }
%"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl_data" = type { ptr, ptr, ptr }

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

declare i32 @__gxx_personality_v0(...)

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3sys9load_fileERSt6vectorIhSaIhEERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(32)) #2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3sys13base64_decodeERSt6vectorIhSaIhEEPKvm(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef, i64 noundef) #2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN3sys20load_pem_file_as_derERSt6vectorIhSaIhEERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 8 dereferenceable(32) %1) #2 personality ptr @__gxx_personality_v0 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca %"class.std::vector", align 8
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca ptr, align 8
  %9 = alloca i64, align 8
  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 24, ptr %5) #4
  call void @_ZNSt6vectorIhSaIhEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #4
  %10 = load ptr, ptr %4, align 8, !tbaa !5
  invoke void @_ZN3sys9load_fileERSt6vectorIhSaIhEERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(24) %5, ptr noundef nonnull align 8 dereferenceable(32) %10)
          to label %11 unwind label %44

11:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #4
  %12 = call noundef ptr @_ZNSt6vectorIhSaIhEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %5) #4
  store ptr %12, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #4
  %13 = call noundef i64 @_ZNKSt6vectorIhSaIhEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %5) #4
  store i64 %13, ptr %9, align 8, !tbaa !9
  %14 = load i64, ptr %9, align 8, !tbaa !9
  %15 = icmp ugt i64 %14, 5
  br i1 %15, label %16, label %66

16:                                               ; preds = %11
  %17 = load ptr, ptr %8, align 8, !tbaa !5
  %18 = getelementptr inbounds i8, ptr %17, i64 0
  %19 = load i8, ptr %18, align 1, !tbaa !11
  %20 = zext i8 %19 to i32
  %21 = icmp eq i32 %20, 45
  br i1 %21, label %22, label %66

22:                                               ; preds = %16
  %23 = load ptr, ptr %8, align 8, !tbaa !5
  %24 = getelementptr inbounds i8, ptr %23, i64 1
  %25 = load i8, ptr %24, align 1, !tbaa !11
  %26 = zext i8 %25 to i32
  %27 = icmp eq i32 %26, 45
  br i1 %27, label %28, label %66

28:                                               ; preds = %22
  br label %29

29:                                               ; preds = %39, %28
  %30 = load i64, ptr %9, align 8, !tbaa !9
  %31 = icmp ugt i64 %30, 0
  br i1 %31, label %32, label %37

32:                                               ; preds = %29
  %33 = load ptr, ptr %8, align 8, !tbaa !5
  %34 = load i8, ptr %33, align 1, !tbaa !11
  %35 = zext i8 %34 to i32
  %36 = icmp ne i32 %35, 10
  br label %37

37:                                               ; preds = %32, %29
  %38 = phi i1 [ false, %29 ], [ %36, %32 ]
  br i1 %38, label %39, label %48

39:                                               ; preds = %37
  %40 = load ptr, ptr %8, align 8, !tbaa !5
  %41 = getelementptr inbounds i8, ptr %40, i32 1
  store ptr %41, ptr %8, align 8, !tbaa !5
  %42 = load i64, ptr %9, align 8, !tbaa !9
  %43 = add i64 %42, -1
  store i64 %43, ptr %9, align 8, !tbaa !9
  br label %29, !llvm.loop !12

44:                                               ; preds = %2
  %45 = landingpad { ptr, i32 }
          cleanup
  %46 = extractvalue { ptr, i32 } %45, 0
  store ptr %46, ptr %6, align 8
  %47 = extractvalue { ptr, i32 } %45, 1
  store i32 %47, ptr %7, align 4
  br label %148

48:                                               ; preds = %37
  br label %49

49:                                               ; preds = %60, %48
  %50 = load i64, ptr %9, align 8, !tbaa !9
  %51 = icmp ugt i64 %50, 0
  br i1 %51, label %52, label %58

52:                                               ; preds = %49
  %53 = load ptr, ptr %8, align 8, !tbaa !5
  %54 = load i8, ptr %53, align 1, !tbaa !11
  %55 = zext i8 %54 to i32
  %56 = call i32 @isspace(i32 noundef %55) #5
  %57 = icmp ne i32 %56, 0
  br label %58

58:                                               ; preds = %52, %49
  %59 = phi i1 [ false, %49 ], [ %57, %52 ]
  br i1 %59, label %60, label %65

60:                                               ; preds = %58
  %61 = load ptr, ptr %8, align 8, !tbaa !5
  %62 = getelementptr inbounds i8, ptr %61, i32 1
  store ptr %62, ptr %8, align 8, !tbaa !5
  %63 = load i64, ptr %9, align 8, !tbaa !9
  %64 = add i64 %63, -1
  store i64 %64, ptr %9, align 8, !tbaa !9
  br label %49, !llvm.loop !14

65:                                               ; preds = %58
  br label %66

66:                                               ; preds = %65, %22, %16, %11
  br label %67

67:                                               ; preds = %81, %66
  %68 = load i64, ptr %9, align 8, !tbaa !9
  %69 = icmp ugt i64 %68, 0
  br i1 %69, label %70, label %79

70:                                               ; preds = %67
  %71 = load ptr, ptr %8, align 8, !tbaa !5
  %72 = load i64, ptr %9, align 8, !tbaa !9
  %73 = sub i64 %72, 1
  %74 = getelementptr inbounds i8, ptr %71, i64 %73
  %75 = load i8, ptr %74, align 1, !tbaa !11
  %76 = zext i8 %75 to i32
  %77 = call i32 @isspace(i32 noundef %76) #5
  %78 = icmp ne i32 %77, 0
  br label %79

79:                                               ; preds = %70, %67
  %80 = phi i1 [ false, %67 ], [ %78, %70 ]
  br i1 %80, label %81, label %84

81:                                               ; preds = %79
  %82 = load i64, ptr %9, align 8, !tbaa !9
  %83 = add i64 %82, -1
  store i64 %83, ptr %9, align 8, !tbaa !9
  br label %67, !llvm.loop !15

84:                                               ; preds = %79
  %85 = load i64, ptr %9, align 8, !tbaa !9
  %86 = icmp ugt i64 %85, 5
  br i1 %86, label %87, label %139

87:                                               ; preds = %84
  %88 = load ptr, ptr %8, align 8, !tbaa !5
  %89 = load i64, ptr %9, align 8, !tbaa !9
  %90 = sub i64 %89, 1
  %91 = getelementptr inbounds i8, ptr %88, i64 %90
  %92 = load i8, ptr %91, align 1, !tbaa !11
  %93 = zext i8 %92 to i32
  %94 = icmp eq i32 %93, 45
  br i1 %94, label %95, label %139

95:                                               ; preds = %87
  %96 = load ptr, ptr %8, align 8, !tbaa !5
  %97 = load i64, ptr %9, align 8, !tbaa !9
  %98 = sub i64 %97, 2
  %99 = getelementptr inbounds i8, ptr %96, i64 %98
  %100 = load i8, ptr %99, align 1, !tbaa !11
  %101 = zext i8 %100 to i32
  %102 = icmp eq i32 %101, 45
  br i1 %102, label %103, label %139

103:                                              ; preds = %95
  br label %104

104:                                              ; preds = %117, %103
  %105 = load i64, ptr %9, align 8, !tbaa !9
  %106 = icmp ugt i64 %105, 0
  br i1 %106, label %107, label %115

107:                                              ; preds = %104
  %108 = load ptr, ptr %8, align 8, !tbaa !5
  %109 = load i64, ptr %9, align 8, !tbaa !9
  %110 = sub i64 %109, 1
  %111 = getelementptr inbounds i8, ptr %108, i64 %110
  %112 = load i8, ptr %111, align 1, !tbaa !11
  %113 = zext i8 %112 to i32
  %114 = icmp ne i32 %113, 10
  br label %115

115:                                              ; preds = %107, %104
  %116 = phi i1 [ false, %104 ], [ %114, %107 ]
  br i1 %116, label %117, label %120

117:                                              ; preds = %115
  %118 = load i64, ptr %9, align 8, !tbaa !9
  %119 = add i64 %118, -1
  store i64 %119, ptr %9, align 8, !tbaa !9
  br label %104, !llvm.loop !16

120:                                              ; preds = %115
  br label %121

121:                                              ; preds = %135, %120
  %122 = load i64, ptr %9, align 8, !tbaa !9
  %123 = icmp ugt i64 %122, 0
  br i1 %123, label %124, label %133

124:                                              ; preds = %121
  %125 = load ptr, ptr %8, align 8, !tbaa !5
  %126 = load i64, ptr %9, align 8, !tbaa !9
  %127 = sub i64 %126, 1
  %128 = getelementptr inbounds i8, ptr %125, i64 %127
  %129 = load i8, ptr %128, align 1, !tbaa !11
  %130 = zext i8 %129 to i32
  %131 = call i32 @isspace(i32 noundef %130) #5
  %132 = icmp ne i32 %131, 0
  br label %133

133:                                              ; preds = %124, %121
  %134 = phi i1 [ false, %121 ], [ %132, %124 ]
  br i1 %134, label %135, label %138

135:                                              ; preds = %133
  %136 = load i64, ptr %9, align 8, !tbaa !9
  %137 = add i64 %136, -1
  store i64 %137, ptr %9, align 8, !tbaa !9
  br label %121, !llvm.loop !17

138:                                              ; preds = %133
  br label %139

139:                                              ; preds = %138, %95, %87, %84
  %140 = load ptr, ptr %3, align 8, !tbaa !5
  %141 = load ptr, ptr %8, align 8, !tbaa !5
  %142 = load i64, ptr %9, align 8, !tbaa !9
  invoke void @_ZN3sys13base64_decodeERSt6vectorIhSaIhEEPKvm(ptr noundef nonnull align 8 dereferenceable(24) %140, ptr noundef %141, i64 noundef %142)
          to label %143 unwind label %144

143:                                              ; preds = %139
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #4
  call void @_ZNSt6vectorIhSaIhEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr %5) #4
  ret void

144:                                              ; preds = %139
  %145 = landingpad { ptr, i32 }
          cleanup
  %146 = extractvalue { ptr, i32 } %145, 0
  store ptr %146, ptr %6, align 8
  %147 = extractvalue { ptr, i32 } %145, 1
  store i32 %147, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #4
  br label %148

148:                                              ; preds = %144, %44
  call void @_ZNSt6vectorIhSaIhEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr %5) #4
  br label %149

149:                                              ; preds = %148
  %150 = load ptr, ptr %6, align 8
  %151 = load i32, ptr %7, align 4
  %152 = insertvalue { ptr, i32 } poison, ptr %150, 0
  %153 = insertvalue { ptr, i32 } %152, i32 %151, 1
  resume { ptr, i32 } %153
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIhSaIhEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIhSaIhEED2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #3 align 2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { mustprogress 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 #3 = { 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 #4 = { nounwind }
attributes #5 = { 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 = !{!"long", !7, i64 0}
!11 = !{!7, !7, i64 0}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
!14 = distinct !{!14, !13}
!15 = distinct !{!15, !13}
!16 = distinct !{!16, !13}
!17 = distinct !{!17, !13}


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

%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl" }
%"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl" = type { %"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl_data" }
%"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl_data" = type { ptr, ptr, ptr }

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

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: mustprogress nofree nounwind willreturn memory(read)
declare i32 @isspace(i32 noundef) local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3sys9load_fileERSt6vectorIhSaIhEERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3sys13base64_decodeERSt6vectorIhSaIhEEPKvm(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef, i64 noundef) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN3sys20load_pem_file_as_derERSt6vectorIhSaIhEERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 8 dereferenceable(32) %1) local_unnamed_addr #2 personality ptr @__gxx_personality_v0 {
  %3 = alloca %"class.std::vector", align 8
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %3) #4
  call void @_ZNSt6vectorIhSaIhEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #4
  invoke void @_ZN3sys9load_fileERSt6vectorIhSaIhEERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(24) %3, ptr noundef nonnull align 8 dereferenceable(32) %1)
          to label %4 unwind label %19

4:                                                ; preds = %2
  %5 = call noundef ptr @_ZNSt6vectorIhSaIhEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %3) #4
  %6 = call noundef i64 @_ZNKSt6vectorIhSaIhEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %3) #4
  %7 = icmp ugt i64 %6, 5
  br i1 %7, label %8, label %.critedge2

8:                                                ; preds = %4
  %9 = load i8, ptr %5, align 1, !tbaa !5
  %10 = icmp eq i8 %9, 45
  br i1 %10, label %11, label %.critedge2

11:                                               ; preds = %8
  %12 = getelementptr inbounds i8, ptr %5, i64 1
  %13 = load i8, ptr %12, align 1, !tbaa !5
  %14 = icmp eq i8 %13, 45
  br i1 %14, label %.preheader59.preheader, label %.critedge2

.preheader59.preheader:                           ; preds = %11
  %scevgep = getelementptr i8, ptr %5, i64 %6
  br label %.preheader59

.preheader59:                                     ; preds = %.preheader59.preheader, %16
  %.062 = phi i64 [ %18, %16 ], [ %6, %.preheader59.preheader ]
  %.04161 = phi ptr [ %17, %16 ], [ %5, %.preheader59.preheader ]
  %15 = load i8, ptr %.04161, align 1, !tbaa !5
  %.not48 = icmp eq i8 %15, 10
  br i1 %.not48, label %.lr.ph.preheader, label %16

16:                                               ; preds = %.preheader59
  %17 = getelementptr inbounds i8, ptr %.04161, i64 1
  %18 = add i64 %.062, -1
  %.not = icmp eq i64 %18, 0
  br i1 %.not, label %.critedge2, label %.preheader59, !llvm.loop !8

19:                                               ; preds = %2
  %20 = landingpad { ptr, i32 }
          cleanup
  br label %54

.lr.ph.preheader:                                 ; preds = %.preheader59
  %scevgep72 = getelementptr i8, ptr %.04161, i64 %.062
  br label %.lr.ph

.lr.ph:                                           ; preds = %.lr.ph.preheader, %24
  %.165 = phi i64 [ %26, %24 ], [ %.062, %.lr.ph.preheader ]
  %.14264 = phi ptr [ %25, %24 ], [ %.04161, %.lr.ph.preheader ]
  %21 = load i8, ptr %.14264, align 1, !tbaa !5
  %22 = zext i8 %21 to i32
  %23 = call i32 @isspace(i32 noundef %22) #5
  %.not50 = icmp eq i32 %23, 0
  br i1 %.not50, label %.critedge2, label %24

24:                                               ; preds = %.lr.ph
  %25 = getelementptr inbounds i8, ptr %.14264, i64 1
  %26 = add i64 %.165, -1
  %.not49 = icmp eq i64 %26, 0
  br i1 %.not49, label %.critedge2, label %.lr.ph, !llvm.loop !10

.critedge2:                                       ; preds = %16, %24, %.lr.ph, %11, %8, %4
  %.243 = phi ptr [ %5, %11 ], [ %5, %8 ], [ %5, %4 ], [ %scevgep72, %24 ], [ %.14264, %.lr.ph ], [ %scevgep, %16 ]
  %.2 = phi i64 [ %6, %11 ], [ %6, %8 ], [ %6, %4 ], [ 0, %24 ], [ %.165, %.lr.ph ], [ 0, %16 ]
  br label %27

27:                                               ; preds = %28, %.critedge2
  %.3 = phi i64 [ %.2, %.critedge2 ], [ %29, %28 ]
  %.not51 = icmp eq i64 %.3, 0
  br i1 %.not51, label %.critedge8, label %28

28:                                               ; preds = %27
  %29 = add i64 %.3, -1
  %30 = getelementptr inbounds i8, ptr %.243, i64 %29
  %31 = load i8, ptr %30, align 1, !tbaa !5
  %32 = zext i8 %31 to i32
  %33 = call i32 @isspace(i32 noundef %32) #5
  %.not52 = icmp eq i32 %33, 0
  br i1 %.not52, label %.critedge4, label %27, !llvm.loop !11

.critedge4:                                       ; preds = %28
  %34 = icmp ugt i64 %.3, 5
  %35 = icmp eq i8 %31, 45
  %or.cond = and i1 %34, %35
  br i1 %or.cond, label %36, label %.critedge8

36:                                               ; preds = %.critedge4
  %37 = add i64 %.3, -2
  %38 = getelementptr inbounds i8, ptr %.243, i64 %37
  %39 = load i8, ptr %38, align 1, !tbaa !5
  %40 = icmp eq i8 %39, 45
  br i1 %40, label %.preheader, label %.critedge8

.preheader:                                       ; preds = %36, %41
  %.4 = phi i64 [ %42, %41 ], [ %.3, %36 ]
  %.not53 = icmp eq i64 %.4, 0
  br i1 %.not53, label %.critedge6.preheader, label %41

41:                                               ; preds = %.preheader
  %42 = add i64 %.4, -1
  %43 = getelementptr inbounds i8, ptr %.243, i64 %42
  %44 = load i8, ptr %43, align 1, !tbaa !5
  %.not54 = icmp eq i8 %44, 10
  br i1 %.not54, label %.critedge6.preheader, label %.preheader, !llvm.loop !12

.critedge6.preheader:                             ; preds = %.preheader, %41
  br label %.critedge6

.critedge6:                                       ; preds = %.critedge6.preheader, %45
  %.5 = phi i64 [ %46, %45 ], [ %.4, %.critedge6.preheader ]
  %.not55 = icmp eq i64 %.5, 0
  br i1 %.not55, label %.critedge8, label %45

45:                                               ; preds = %.critedge6
  %46 = add i64 %.5, -1
  %47 = getelementptr inbounds i8, ptr %.243, i64 %46
  %48 = load i8, ptr %47, align 1, !tbaa !5
  %49 = zext i8 %48 to i32
  %50 = call i32 @isspace(i32 noundef %49) #5
  %.not56 = icmp eq i32 %50, 0
  br i1 %.not56, label %.critedge8, label %.critedge6, !llvm.loop !13

.critedge8:                                       ; preds = %27, %45, %.critedge6, %36, %.critedge4
  %.6 = phi i64 [ %.3, %36 ], [ %.3, %.critedge4 ], [ 0, %.critedge6 ], [ %.5, %45 ], [ 0, %27 ]
  invoke void @_ZN3sys13base64_decodeERSt6vectorIhSaIhEEPKvm(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef %.243, i64 noundef %.6)
          to label %51 unwind label %52

51:                                               ; preds = %.critedge8
  call void @_ZNSt6vectorIhSaIhEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #4
  ret void

52:                                               ; preds = %.critedge8
  %53 = landingpad { ptr, i32 }
          cleanup
  br label %54

54:                                               ; preds = %52, %19
  %.pn = phi { ptr, i32 } [ %53, %52 ], [ %20, %19 ]
  call void @_ZNSt6vectorIhSaIhEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #4
  resume { ptr, i32 } %.pn
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIhSaIhEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIhSaIhEED2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #3 align 2

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nofree 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 = { mustprogress 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 #3 = { 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 #4 = { nounwind }
attributes #5 = { 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 = !{!"omnipotent char", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}
!8 = distinct !{!8, !9}
!9 = !{!"llvm.loop.mustprogress"}
!10 = distinct !{!10, !9}
!11 = distinct !{!11, !9}
!12 = distinct !{!12, !9}
!13 = distinct !{!13, !9}


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