; LLVM IR from thepowersgang/mrustc :: src/hir/hir_ops.ll (ZNK19EncodedLiteralSlice3ordERKS_)

; 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.__gnu_cxx::__normal_iterator.442" = type { ptr }
%class.anon.454 = type { ptr }
%class.anon.455 = type { ptr }
%struct.EncodedLiteralSlice = type { ptr, i64, i64 }
%struct.EncodedLiteral = type { %"class.std::vector.432", %"class.std::vector.437" }
%"class.std::vector.432" = type { %"struct.std::_Vector_base.433" }
%"struct.std::_Vector_base.433" = 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 }
%"class.std::vector.437" = type { %"struct.std::_Vector_base.438" }
%"struct.std::_Vector_base.438" = type { %"struct.std::_Vector_base<Reloc, std::allocator<Reloc>>::_Vector_impl" }
%"struct.std::_Vector_base<Reloc, std::allocator<Reloc>>::_Vector_impl" = type { %"struct.std::_Vector_base<Reloc, std::allocator<Reloc>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Reloc, std::allocator<Reloc>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%struct.Reloc = type { i64, i64, %"class.std::unique_ptr.443", %"class.std::__cxx11::basic_string" }
%"class.std::unique_ptr.443" = type { %"struct.std::__uniq_ptr_data.444" }
%"struct.std::__uniq_ptr_data.444" = type { %"class.std::__uniq_ptr_impl.445" }
%"class.std::__uniq_ptr_impl.445" = type { %"class.std::tuple.446" }
%"class.std::tuple.446" = type { %"struct.std::_Tuple_impl.447" }
%"struct.std::_Tuple_impl.447" = type { %"struct.std::_Head_base.450" }
%"struct.std::_Head_base.450" = type { ptr }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon.284 }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon.284 = 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 dso_local ptr @_ZNKSt6vectorI5RelocSaIS0_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24)) #1 align 2

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN9__gnu_cxxneIPK5RelocSt6vectorIS1_SaIS1_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNKSt10unique_ptrIN3HIR4PathESt14default_deleteIS1_EEcvbEv(ptr noundef nonnull align 8 dereferenceable(8)) #1 align 2

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZNK19EncodedLiteralSlice3ordERKS_(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 8 dereferenceable(24) %1) #3 align 2 {
  %3 = alloca i32, align 4
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca i64, align 8
  %7 = alloca i64, align 8
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca %"class.__gnu_cxx::__normal_iterator.442", align 8
  %12 = alloca %"class.__gnu_cxx::__normal_iterator.442", align 8
  %13 = alloca %"class.__gnu_cxx::__normal_iterator.442", align 8
  %14 = alloca %class.anon.454, align 8
  %15 = alloca %"class.__gnu_cxx::__normal_iterator.442", align 8
  %16 = alloca %"class.__gnu_cxx::__normal_iterator.442", align 8
  %17 = alloca %"class.__gnu_cxx::__normal_iterator.442", align 8
  %18 = alloca %class.anon.455, align 8
  %19 = alloca %"class.__gnu_cxx::__normal_iterator.442", align 8
  %20 = alloca %"class.__gnu_cxx::__normal_iterator.442", align 8
  %21 = alloca i32, align 4
  %22 = alloca i32, align 4
  %23 = alloca i32, align 4
  %24 = alloca i32, align 4
  %25 = alloca i32, align 4
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  %26 = load ptr, ptr %4, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #5
  %27 = getelementptr inbounds %struct.EncodedLiteralSlice, ptr %26, i32 0, i32 2
  %28 = load ptr, ptr %5, align 8, !tbaa !5
  %29 = getelementptr inbounds %struct.EncodedLiteralSlice, ptr %28, i32 0, i32 2
  %30 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minImERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %27, ptr noundef nonnull align 8 dereferenceable(8) %29)
  %31 = load i64, ptr %30, align 8, !tbaa !9
  store i64 %31, ptr %6, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #5
  store i64 0, ptr %7, align 8, !tbaa !9
  br label %32

32:                                               ; preds = %67, %2
  %33 = load i64, ptr %7, align 8, !tbaa !9
  %34 = load i64, ptr %6, align 8, !tbaa !9
  %35 = icmp ult i64 %33, %34
  br i1 %35, label %37, label %36

36:                                               ; preds = %32
  store i32 2, ptr %8, align 4
  br label %70

37:                                               ; preds = %32
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #5
  %38 = getelementptr inbounds %struct.EncodedLiteralSlice, ptr %26, i32 0, i32 0
  %39 = load ptr, ptr %38, align 8, !tbaa !11
  %40 = getelementptr inbounds %struct.EncodedLiteral, ptr %39, i32 0, i32 0
  %41 = getelementptr inbounds %struct.EncodedLiteralSlice, ptr %26, i32 0, i32 1
  %42 = load i64, ptr %41, align 8, !tbaa !13
  %43 = load i64, ptr %7, align 8, !tbaa !9
  %44 = add i64 %42, %43
  %45 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNKSt6vectorIhSaIhEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %40, i64 noundef %44) #5
  %46 = load i8, ptr %45, align 1, !tbaa !14
  %47 = load ptr, ptr %5, align 8, !tbaa !5
  %48 = getelementptr inbounds %struct.EncodedLiteralSlice, ptr %47, i32 0, i32 0
  %49 = load ptr, ptr %48, align 8, !tbaa !11
  %50 = getelementptr inbounds %struct.EncodedLiteral, ptr %49, i32 0, i32 0
  %51 = load ptr, ptr %5, align 8, !tbaa !5
  %52 = getelementptr inbounds %struct.EncodedLiteralSlice, ptr %51, i32 0, i32 1
  %53 = load i64, ptr %52, align 8, !tbaa !13
  %54 = load i64, ptr %7, align 8, !tbaa !9
  %55 = add i64 %53, %54
  %56 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNKSt6vectorIhSaIhEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %50, i64 noundef %55) #5
  %57 = load i8, ptr %56, align 1, !tbaa !14
  %58 = call noundef i32 @_ZL3ordhh(i8 noundef zeroext %46, i8 noundef zeroext %57)
  store i32 %58, ptr %9, align 4, !tbaa !15
  %59 = load i32, ptr %9, align 4, !tbaa !15
  %60 = icmp ne i32 %59, 0
  br i1 %60, label %61, label %63

61:                                               ; preds = %37
  %62 = load i32, ptr %9, align 4, !tbaa !15
  store i32 %62, ptr %3, align 4
  store i32 1, ptr %8, align 4
  br label %64

63:                                               ; preds = %37
  store i32 0, ptr %8, align 4
  br label %64

64:                                               ; preds = %63, %61
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #5
  %65 = load i32, ptr %8, align 4
  switch i32 %65, label %70 [
    i32 0, label %66
  ]

66:                                               ; preds = %64
  br label %67

67:                                               ; preds = %66
  %68 = load i64, ptr %7, align 8, !tbaa !9
  %69 = add i64 %68, 1
  store i64 %69, ptr %7, align 8, !tbaa !9
  br label %32, !llvm.loop !17

70:                                               ; preds = %64, %36
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #5
  %71 = load i32, ptr %8, align 4
  switch i32 %71, label %237 [
    i32 2, label %72
  ]

72:                                               ; preds = %70
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #5
  %73 = getelementptr inbounds %struct.EncodedLiteralSlice, ptr %26, i32 0, i32 2
  %74 = load i64, ptr %73, align 8, !tbaa !19
  %75 = load ptr, ptr %5, align 8, !tbaa !5
  %76 = getelementptr inbounds %struct.EncodedLiteralSlice, ptr %75, i32 0, i32 2
  %77 = load i64, ptr %76, align 8, !tbaa !19
  %78 = call noundef i32 @_ZL3ordmm(i64 noundef %74, i64 noundef %77)
  store i32 %78, ptr %10, align 4, !tbaa !15
  %79 = load i32, ptr %10, align 4, !tbaa !15
  %80 = icmp ne i32 %79, 0
  br i1 %80, label %81, label %83

81:                                               ; preds = %72
  %82 = load i32, ptr %10, align 4, !tbaa !15
  store i32 %82, ptr %3, align 4
  store i32 1, ptr %8, align 4
  br label %84

83:                                               ; preds = %72
  store i32 0, ptr %8, align 4
  br label %84

84:                                               ; preds = %83, %81
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #5
  %85 = load i32, ptr %8, align 4
  switch i32 %85, label %237 [
    i32 0, label %86
  ]

86:                                               ; preds = %84
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #5
  %87 = getelementptr inbounds %struct.EncodedLiteralSlice, ptr %26, i32 0, i32 0
  %88 = load ptr, ptr %87, align 8, !tbaa !11
  %89 = getelementptr inbounds %struct.EncodedLiteral, ptr %88, i32 0, i32 1
  %90 = call ptr @_ZNKSt6vectorI5RelocSaIS0_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %89) #5
  %91 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.442", ptr %12, i32 0, i32 0
  store ptr %90, ptr %91, align 8
  %92 = getelementptr inbounds %struct.EncodedLiteralSlice, ptr %26, i32 0, i32 0
  %93 = load ptr, ptr %92, align 8, !tbaa !11
  %94 = getelementptr inbounds %struct.EncodedLiteral, ptr %93, i32 0, i32 1
  %95 = call ptr @_ZNKSt6vectorI5RelocSaIS0_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %94) #5
  %96 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.442", ptr %13, i32 0, i32 0
  store ptr %95, ptr %96, align 8
  %97 = getelementptr inbounds %class.anon.454, ptr %14, i32 0, i32 0
  store ptr %26, ptr %97, align 8, !tbaa !20
  %98 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.442", ptr %12, i32 0, i32 0
  %99 = load ptr, ptr %98, align 8
  %100 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.442", ptr %13, i32 0, i32 0
  %101 = load ptr, ptr %100, align 8
  %102 = getelementptr inbounds %class.anon.454, ptr %14, i32 0, i32 0
  %103 = load ptr, ptr %102, align 8
  %104 = call ptr @"_ZSt7find_ifIN9__gnu_cxx17__normal_iteratorIPK5RelocSt6vectorIS2_SaIS2_EEEEZNK19EncodedLiteralSlice3ordERKS9_E3$_0ET_SD_SD_T0_"(ptr %99, ptr %101, ptr %103)
  %105 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.442", ptr %11, i32 0, i32 0
  store ptr %104, ptr %105, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #5
  %106 = load ptr, ptr %5, align 8, !tbaa !5
  %107 = getelementptr inbounds %struct.EncodedLiteralSlice, ptr %106, i32 0, i32 0
  %108 = load ptr, ptr %107, align 8, !tbaa !11
  %109 = getelementptr inbounds %struct.EncodedLiteral, ptr %108, i32 0, i32 1
  %110 = call ptr @_ZNKSt6vectorI5RelocSaIS0_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %109) #5
  %111 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.442", ptr %16, i32 0, i32 0
  store ptr %110, ptr %111, align 8
  %112 = load ptr, ptr %5, align 8, !tbaa !5
  %113 = getelementptr inbounds %struct.EncodedLiteralSlice, ptr %112, i32 0, i32 0
  %114 = load ptr, ptr %113, align 8, !tbaa !11
  %115 = getelementptr inbounds %struct.EncodedLiteral, ptr %114, i32 0, i32 1
  %116 = call ptr @_ZNKSt6vectorI5RelocSaIS0_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %115) #5
  %117 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.442", ptr %17, i32 0, i32 0
  store ptr %116, ptr %117, align 8
  %118 = getelementptr inbounds %class.anon.455, ptr %18, i32 0, i32 0
  %119 = load ptr, ptr %5, align 8, !tbaa !5
  store ptr %119, ptr %118, align 8, !tbaa !5
  %120 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.442", ptr %16, i32 0, i32 0
  %121 = load ptr, ptr %120, align 8
  %122 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.442", ptr %17, i32 0, i32 0
  %123 = load ptr, ptr %122, align 8
  %124 = getelementptr inbounds %class.anon.455, ptr %18, i32 0, i32 0
  %125 = load ptr, ptr %124, align 8
  %126 = call ptr @"_ZSt7find_ifIN9__gnu_cxx17__normal_iteratorIPK5RelocSt6vectorIS2_SaIS2_EEEEZNK19EncodedLiteralSlice3ordERKS9_E3$_1ET_SD_SD_T0_"(ptr %121, ptr %123, ptr %125)
  %127 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.442", ptr %15, i32 0, i32 0
  store ptr %126, ptr %127, align 8
  br label %128

128:                                              ; preds = %232, %86
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #5
  %129 = getelementptr inbounds %struct.EncodedLiteralSlice, ptr %26, i32 0, i32 0
  %130 = load ptr, ptr %129, align 8, !tbaa !11
  %131 = getelementptr inbounds %struct.EncodedLiteral, ptr %130, i32 0, i32 1
  %132 = call ptr @_ZNKSt6vectorI5RelocSaIS0_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %131) #5
  %133 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.442", ptr %19, i32 0, i32 0
  store ptr %132, ptr %133, align 8
  %134 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPK5RelocSt6vectorIS1_SaIS1_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %11, ptr noundef nonnull align 8 dereferenceable(8) %19) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #5
  br i1 %134, label %135, label %143

135:                                              ; preds = %128
  %136 = load ptr, ptr %5, align 8, !tbaa !5
  %137 = getelementptr inbounds %struct.EncodedLiteralSlice, ptr %136, i32 0, i32 0
  %138 = load ptr, ptr %137, align 8, !tbaa !11
  %139 = getelementptr inbounds %struct.EncodedLiteral, ptr %138, i32 0, i32 1
  %140 = call ptr @_ZNKSt6vectorI5RelocSaIS0_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %139) #5
  %141 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.442", ptr %20, i32 0, i32 0
  store ptr %140, ptr %141, align 8
  %142 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPK5RelocSt6vectorIS1_SaIS1_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %15, ptr noundef nonnull align 8 dereferenceable(8) %20) #5
  br label %143

143:                                              ; preds = %135, %128
  %144 = phi i1 [ false, %128 ], [ %142, %135 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #5
  br i1 %144, label %145, label %235

145:                                              ; preds = %143
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #5
  %146 = call noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIPK5RelocSt6vectorIS1_SaIS1_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %11) #5
  %147 = getelementptr inbounds %struct.Reloc, ptr %146, i32 0, i32 0
  %148 = load i64, ptr %147, align 8, !tbaa !22
  %149 = getelementptr inbounds %struct.EncodedLiteralSlice, ptr %26, i32 0, i32 1
  %150 = load i64, ptr %149, align 8, !tbaa !13
  %151 = sub i64 %148, %150
  %152 = call noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIPK5RelocSt6vectorIS1_SaIS1_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %15) #5
  %153 = getelementptr inbounds %struct.Reloc, ptr %152, i32 0, i32 0
  %154 = load i64, ptr %153, align 8, !tbaa !22
  %155 = load ptr, ptr %5, align 8, !tbaa !5
  %156 = getelementptr inbounds %struct.EncodedLiteralSlice, ptr %155, i32 0, i32 1
  %157 = load i64, ptr %156, align 8, !tbaa !13
  %158 = sub i64 %154, %157
  %159 = call noundef i32 @_ZL3ordmm(i64 noundef %151, i64 noundef %158)
  store i32 %159, ptr %21, align 4, !tbaa !15
  %160 = load i32, ptr %21, align 4, !tbaa !15
  %161 = icmp ne i32 %160, 0
  br i1 %161, label %162, label %164

162:                                              ; preds = %145
  %163 = load i32, ptr %21, align 4, !tbaa !15
  store i32 %163, ptr %3, align 4
  store i32 1, ptr %8, align 4
  br label %165

164:                                              ; preds = %145
  store i32 0, ptr %8, align 4
  br label %165

165:                                              ; preds = %164, %162
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #5
  %166 = load i32, ptr %8, align 4
  switch i32 %166, label %236 [
    i32 0, label %167
  ]

167:                                              ; preds = %165
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #5
  %168 = call noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIPK5RelocSt6vectorIS1_SaIS1_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %11) #5
  %169 = getelementptr inbounds %struct.Reloc, ptr %168, i32 0, i32 1
  %170 = load i64, ptr %169, align 8, !tbaa !32
  %171 = call noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIPK5RelocSt6vectorIS1_SaIS1_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %15) #5
  %172 = getelementptr inbounds %struct.Reloc, ptr %171, i32 0, i32 1
  %173 = load i64, ptr %172, align 8, !tbaa !32
  %174 = call noundef i32 @_ZL3ordmm(i64 noundef %170, i64 noundef %173)
  store i32 %174, ptr %22, align 4, !tbaa !15
  %175 = load i32, ptr %22, align 4, !tbaa !15
  %176 = icmp ne i32 %175, 0
  br i1 %176, label %177, label %179

177:                                              ; preds = %167
  %178 = load i32, ptr %22, align 4, !tbaa !15
  store i32 %178, ptr %3, align 4
  store i32 1, ptr %8, align 4
  br label %180

179:                                              ; preds = %167
  store i32 0, ptr %8, align 4
  br label %180

180:                                              ; preds = %179, %177
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #5
  %181 = load i32, ptr %8, align 4
  switch i32 %181, label %236 [
    i32 0, label %182
  ]

182:                                              ; preds = %180
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #5
  %183 = call noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIPK5RelocSt6vectorIS1_SaIS1_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %11) #5
  %184 = getelementptr inbounds %struct.Reloc, ptr %183, i32 0, i32 2
  %185 = call noundef zeroext i1 @_ZNKSt10unique_ptrIN3HIR4PathESt14default_deleteIS1_EEcvbEv(ptr noundef nonnull align 8 dereferenceable(8) %184) #5
  %186 = call noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIPK5RelocSt6vectorIS1_SaIS1_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %15) #5
  %187 = getelementptr inbounds %struct.Reloc, ptr %186, i32 0, i32 2
  %188 = call noundef zeroext i1 @_ZNKSt10unique_ptrIN3HIR4PathESt14default_deleteIS1_EEcvbEv(ptr noundef nonnull align 8 dereferenceable(8) %187) #5
  %189 = call noundef i32 @_ZL3ordbb(i1 noundef zeroext %185, i1 noundef zeroext %188)
  store i32 %189, ptr %23, align 4, !tbaa !15
  %190 = load i32, ptr %23, align 4, !tbaa !15
  %191 = icmp ne i32 %190, 0
  br i1 %191, label %192, label %194

192:                                              ; preds = %182
  %193 = load i32, ptr %23, align 4, !tbaa !15
  store i32 %193, ptr %3, align 4
  store i32 1, ptr %8, align 4
  br label %195

194:                                              ; preds = %182
  store i32 0, ptr %8, align 4
  br label %195

195:                                              ; preds = %194, %192
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #5
  %196 = load i32, ptr %8, align 4
  switch i32 %196, label %236 [
    i32 0, label %197
  ]

197:                                              ; preds = %195
  %198 = call noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIPK5RelocSt6vectorIS1_SaIS1_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %11) #5
  %199 = getelementptr inbounds %struct.Reloc, ptr %198, i32 0, i32 2
  %200 = call noundef zeroext i1 @_ZNKSt10unique_ptrIN3HIR4PathESt14default_deleteIS1_EEcvbEv(ptr noundef nonnull align 8 dereferenceable(8) %199) #5
  br i1 %200, label %201, label %217

201:                                              ; preds = %197
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #5
  %202 = call noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIPK5RelocSt6vectorIS1_SaIS1_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %11) #5
  %203 = getelementptr inbounds %struct.Reloc, ptr %202, i32 0, i32 2
  %204 = call noundef nonnull align 8 dereferenceable(88) ptr @_ZNKSt10unique_ptrIN3HIR4PathESt14default_deleteIS1_EEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %203) #5
  %205 = call noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIPK5RelocSt6vectorIS1_SaIS1_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %15) #5
  %206 = getelementptr inbounds %struct.Reloc, ptr %205, i32 0, i32 2
  %207 = call noundef nonnull align 8 dereferenceable(88) ptr @_ZNKSt10unique_ptrIN3HIR4PathESt14default_deleteIS1_EEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %206) #5
  %208 = call noundef i32 @_Z3ordIN3HIR4PathEE8OrderingRKT_S5_(ptr noundef nonnull align 8 dereferenceable(88) %204, ptr noundef nonnull align 8 dereferenceable(88) %207)
  store i32 %208, ptr %24, align 4, !tbaa !15
  %209 = load i32, ptr %24, align 4, !tbaa !15
  %210 = icmp ne i32 %209, 0
  br i1 %210, label %211, label %213

211:                                              ; preds = %201
  %212 = load i32, ptr %24, align 4, !tbaa !15
  store i32 %212, ptr %3, align 4
  store i32 1, ptr %8, align 4
  br label %214

213:                                              ; preds = %201
  store i32 0, ptr %8, align 4
  br label %214

214:                                              ; preds = %213, %211
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #5
  %215 = load i32, ptr %8, align 4
  switch i32 %215, label %236 [
    i32 0, label %216
  ]

216:                                              ; preds = %214
  br label %231

217:                                              ; preds = %197
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #5
  %218 = call noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIPK5RelocSt6vectorIS1_SaIS1_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %11) #5
  %219 = getelementptr inbounds %struct.Reloc, ptr %218, i32 0, i32 3
  %220 = call noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIPK5RelocSt6vectorIS1_SaIS1_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %15) #5
  %221 = getelementptr inbounds %struct.Reloc, ptr %220, i32 0, i32 3
  %222 = call noundef i32 @_ZL3ordRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES6_(ptr noundef nonnull align 8 dereferenceable(32) %219, ptr noundef nonnull align 8 dereferenceable(32) %221)
  store i32 %222, ptr %25, align 4, !tbaa !15
  %223 = load i32, ptr %25, align 4, !tbaa !15
  %224 = icmp ne i32 %223, 0
  br i1 %224, label %225, label %227

225:                                              ; preds = %217
  %226 = load i32, ptr %25, align 4, !tbaa !15
  store i32 %226, ptr %3, align 4
  store i32 1, ptr %8, align 4
  br label %228

227:                                              ; preds = %217
  store i32 0, ptr %8, align 4
  br label %228

228:                                              ; preds = %227, %225
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #5
  %229 = load i32, ptr %8, align 4
  switch i32 %229, label %236 [
    i32 0, label %230
  ]

230:                                              ; preds = %228
  br label %231

231:                                              ; preds = %230, %216
  br label %232

232:                                              ; preds = %231
  %233 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPK5RelocSt6vectorIS1_SaIS1_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %11) #5
  %234 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPK5RelocSt6vectorIS1_SaIS1_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %15) #5
  br label %128, !llvm.loop !33

235:                                              ; preds = %143
  store i32 0, ptr %3, align 4
  store i32 1, ptr %8, align 4
  br label %236

236:                                              ; preds = %235, %228, %214, %195, %180, %165
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #5
  br label %237

237:                                              ; preds = %236, %84, %70
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #5
  %238 = load i32, ptr %3, align 4
  ret i32 %238
}

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minImERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef i32 @_ZL3ordhh(i8 noundef zeroext, i8 noundef zeroext) #2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef i32 @_ZL3ordmm(i64 noundef, i64 noundef) #2

; Function Attrs: inlinehint mustprogress uwtable
declare hidden ptr @"_ZSt7find_ifIN9__gnu_cxx17__normal_iteratorIPK5RelocSt6vectorIS2_SaIS2_EEEEZNK19EncodedLiteralSlice3ordERKS9_E3$_0ET_SD_SD_T0_"(ptr, ptr, ptr) #4

; Function Attrs: inlinehint mustprogress uwtable
declare hidden ptr @"_ZSt7find_ifIN9__gnu_cxx17__normal_iteratorIPK5RelocSt6vectorIS2_SaIS2_EEEEZNK19EncodedLiteralSlice3ordERKS9_E3$_1ET_SD_SD_T0_"(ptr, ptr, ptr) #4

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef i32 @_ZL3ordbb(i1 noundef zeroext, i1 noundef zeroext) #2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_Z3ordIN3HIR4PathEE8OrderingRKT_S5_(ptr noundef nonnull align 8 dereferenceable(88), ptr noundef nonnull align 8 dereferenceable(88)) #3

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef i32 @_ZL3ordRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES6_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32)) #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 = { inlinehint 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 #3 = { 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 #4 = { inlinehint 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 #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, !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 = !{!12, !6, i64 0}
!12 = !{!"_ZTS19EncodedLiteralSlice", !6, i64 0, !10, i64 8, !10, i64 16}
!13 = !{!12, !10, i64 8}
!14 = !{!7, !7, i64 0}
!15 = !{!16, !16, i64 0}
!16 = !{!"_ZTS8Ordering", !7, i64 0}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
!19 = !{!12, !10, i64 16}
!20 = !{!21, !6, i64 0}
!21 = !{!"_ZTSZNK19EncodedLiteralSlice3ordERKS_E3$_0", !6, i64 0}
!22 = !{!23, !10, i64 0}
!23 = !{!"_ZTS5Reloc", !10, i64 0, !10, i64 8, !24, i64 16, !30, i64 24}
!24 = !{!"_ZTSSt10unique_ptrIN3HIR4PathESt14default_deleteIS1_EE", !25, i64 0}
!25 = !{!"_ZTSSt15__uniq_ptr_dataIN3HIR4PathESt14default_deleteIS1_ELb1ELb1EE", !26, i64 0}
!26 = !{!"_ZTSSt15__uniq_ptr_implIN3HIR4PathESt14default_deleteIS1_EE", !27, i64 0}
!27 = !{!"_ZTSSt5tupleIJPN3HIR4PathESt14default_deleteIS1_EEE", !28, i64 0}
!28 = !{!"_ZTSSt11_Tuple_implILm0EJPN3HIR4PathESt14default_deleteIS1_EEE", !29, i64 0}
!29 = !{!"_ZTSSt10_Head_baseILm0EPN3HIR4PathELb0EE", !6, i64 0}
!30 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !31, i64 0, !10, i64 8, !7, i64 16}
!31 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!32 = !{!23, !10, i64 8}
!33 = distinct !{!33, !18}


; 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.__gnu_cxx::__normal_iterator.442" = type { ptr }

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

; 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 nounwind uwtable
declare dso_local ptr @_ZNKSt6vectorI5RelocSaIS0_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #1 align 2

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN9__gnu_cxxneIPK5RelocSt6vectorIS1_SaIS1_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNKSt10unique_ptrIN3HIR4PathESt14default_deleteIS1_EEcvbEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #1 align 2

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(88) ptr @_ZNKSt10unique_ptrIN3HIR4PathESt14default_deleteIS1_EEdeEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZNK19EncodedLiteralSlice3ordERKS_(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 8 dereferenceable(24) %1) local_unnamed_addr #3 align 2 {
  %3 = alloca %"class.__gnu_cxx::__normal_iterator.442", align 8
  %4 = alloca %"class.__gnu_cxx::__normal_iterator.442", align 8
  %5 = alloca %"class.__gnu_cxx::__normal_iterator.442", align 8
  %6 = alloca %"class.__gnu_cxx::__normal_iterator.442", align 8
  %7 = getelementptr inbounds i8, ptr %0, i64 16
  %8 = getelementptr inbounds i8, ptr %1, i64 16
  %9 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minImERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %7, ptr noundef nonnull align 8 dereferenceable(8) %8)
  %10 = load i64, ptr %9, align 8, !tbaa !5
  %.not6574.not = icmp eq i64 %10, 0
  br i1 %.not6574.not, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %2
  %11 = getelementptr inbounds i8, ptr %0, i64 8
  %12 = getelementptr inbounds i8, ptr %1, i64 8
  br label %15

13:                                               ; preds = %15
  %14 = add nuw i64 %.04975, 1
  %exitcond.not = icmp eq i64 %14, %10
  br i1 %exitcond.not, label %._crit_edge, label %15, !llvm.loop !9

15:                                               ; preds = %.lr.ph, %13
  %.04975 = phi i64 [ 0, %.lr.ph ], [ %14, %13 ]
  %16 = load ptr, ptr %0, align 8, !tbaa !11
  %17 = load i64, ptr %11, align 8, !tbaa !14
  %18 = add i64 %17, %.04975
  %19 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNKSt6vectorIhSaIhEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %16, i64 noundef %18) #5
  %20 = load i8, ptr %19, align 1, !tbaa !15
  %21 = load ptr, ptr %1, align 8, !tbaa !11
  %22 = load i64, ptr %12, align 8, !tbaa !14
  %23 = add i64 %22, %.04975
  %24 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNKSt6vectorIhSaIhEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %21, i64 noundef %23) #5
  %25 = load i8, ptr %24, align 1, !tbaa !15
  %26 = tail call noundef i32 @_ZL3ordhh(i8 noundef zeroext %20, i8 noundef zeroext %25)
  %.not = icmp eq i32 %26, 0
  br i1 %.not, label %13, label %.thread

._crit_edge:                                      ; preds = %13, %2
  %27 = load i64, ptr %7, align 8, !tbaa !16
  %28 = load i64, ptr %8, align 8, !tbaa !16
  %29 = tail call noundef i32 @_ZL3ordmm(i64 noundef %27, i64 noundef %28)
  %.not66 = icmp eq i32 %29, 0
  br i1 %.not66, label %30, label %.thread

30:                                               ; preds = %._crit_edge
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #5
  %31 = load ptr, ptr %0, align 8, !tbaa !11
  %32 = getelementptr inbounds i8, ptr %31, i64 24
  %33 = tail call ptr @_ZNKSt6vectorI5RelocSaIS0_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %32) #5
  %34 = load ptr, ptr %0, align 8, !tbaa !11
  %35 = getelementptr inbounds i8, ptr %34, i64 24
  %36 = tail call ptr @_ZNKSt6vectorI5RelocSaIS0_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %35) #5
  %37 = tail call ptr @"_ZSt7find_ifIN9__gnu_cxx17__normal_iteratorIPK5RelocSt6vectorIS2_SaIS2_EEEEZNK19EncodedLiteralSlice3ordERKS9_E3$_0ET_SD_SD_T0_"(ptr %33, ptr %36, ptr nonnull %0)
  store ptr %37, ptr %3, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #5
  %38 = load ptr, ptr %1, align 8, !tbaa !11
  %39 = getelementptr inbounds i8, ptr %38, i64 24
  %40 = tail call ptr @_ZNKSt6vectorI5RelocSaIS0_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %39) #5
  %41 = load ptr, ptr %1, align 8, !tbaa !11
  %42 = getelementptr inbounds i8, ptr %41, i64 24
  %43 = tail call ptr @_ZNKSt6vectorI5RelocSaIS0_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %42) #5
  %44 = tail call ptr @"_ZSt7find_ifIN9__gnu_cxx17__normal_iteratorIPK5RelocSt6vectorIS2_SaIS2_EEEEZNK19EncodedLiteralSlice3ordERKS9_E3$_1ET_SD_SD_T0_"(ptr %40, ptr %43, ptr nonnull %1)
  store ptr %44, ptr %4, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #5
  %45 = load ptr, ptr %0, align 8, !tbaa !11
  %46 = getelementptr inbounds i8, ptr %45, i64 24
  %47 = tail call ptr @_ZNKSt6vectorI5RelocSaIS0_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %46) #5
  store ptr %47, ptr %5, align 8
  %48 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPK5RelocSt6vectorIS1_SaIS1_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %3, ptr noundef nonnull align 8 dereferenceable(8) %5) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #5
  br i1 %48, label %.lr.ph77, label %.critedge

.lr.ph77:                                         ; preds = %30
  %49 = getelementptr inbounds i8, ptr %0, i64 8
  %50 = getelementptr inbounds i8, ptr %1, i64 8
  br label %51

51:                                               ; preds = %.lr.ph77, %99
  %52 = load ptr, ptr %1, align 8, !tbaa !11
  %53 = getelementptr inbounds i8, ptr %52, i64 24
  %54 = call ptr @_ZNKSt6vectorI5RelocSaIS0_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %53) #5
  store ptr %54, ptr %6, align 8
  %55 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPK5RelocSt6vectorIS1_SaIS1_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 8 dereferenceable(8) %6) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #5
  br i1 %55, label %56, label %.loopexit

56:                                               ; preds = %51
  %57 = call noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIPK5RelocSt6vectorIS1_SaIS1_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %3) #5
  %58 = load i64, ptr %57, align 8, !tbaa !17
  %59 = load i64, ptr %49, align 8, !tbaa !14
  %60 = sub i64 %58, %59
  %61 = call noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIPK5RelocSt6vectorIS1_SaIS1_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %4) #5
  %62 = load i64, ptr %61, align 8, !tbaa !17
  %63 = load i64, ptr %50, align 8, !tbaa !14
  %64 = sub i64 %62, %63
  %65 = call noundef i32 @_ZL3ordmm(i64 noundef %60, i64 noundef %64)
  %.not67 = icmp eq i32 %65, 0
  br i1 %.not67, label %66, label %.loopexit

66:                                               ; preds = %56
  %67 = call noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIPK5RelocSt6vectorIS1_SaIS1_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %3) #5
  %68 = getelementptr inbounds i8, ptr %67, i64 8
  %69 = load i64, ptr %68, align 8, !tbaa !27
  %70 = call noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIPK5RelocSt6vectorIS1_SaIS1_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %4) #5
  %71 = getelementptr inbounds i8, ptr %70, i64 8
  %72 = load i64, ptr %71, align 8, !tbaa !27
  %73 = call noundef i32 @_ZL3ordmm(i64 noundef %69, i64 noundef %72)
  %.not68 = icmp eq i32 %73, 0
  br i1 %.not68, label %74, label %.loopexit

74:                                               ; preds = %66
  %75 = call noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIPK5RelocSt6vectorIS1_SaIS1_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %3) #5
  %76 = getelementptr inbounds i8, ptr %75, i64 16
  %77 = call noundef zeroext i1 @_ZNKSt10unique_ptrIN3HIR4PathESt14default_deleteIS1_EEcvbEv(ptr noundef nonnull align 8 dereferenceable(8) %76) #5
  %78 = call noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIPK5RelocSt6vectorIS1_SaIS1_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %4) #5
  %79 = getelementptr inbounds i8, ptr %78, i64 16
  %80 = call noundef zeroext i1 @_ZNKSt10unique_ptrIN3HIR4PathESt14default_deleteIS1_EEcvbEv(ptr noundef nonnull align 8 dereferenceable(8) %79) #5
  %81 = call noundef i32 @_ZL3ordbb(i1 noundef zeroext %77, i1 noundef zeroext %80)
  %.not69 = icmp eq i32 %81, 0
  br i1 %.not69, label %82, label %.loopexit

82:                                               ; preds = %74
  %83 = call noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIPK5RelocSt6vectorIS1_SaIS1_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %3) #5
  %84 = getelementptr inbounds i8, ptr %83, i64 16
  %85 = call noundef zeroext i1 @_ZNKSt10unique_ptrIN3HIR4PathESt14default_deleteIS1_EEcvbEv(ptr noundef nonnull align 8 dereferenceable(8) %84) #5
  %86 = call noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIPK5RelocSt6vectorIS1_SaIS1_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %3) #5
  br i1 %85, label %87, label %94

87:                                               ; preds = %82
  %88 = getelementptr inbounds i8, ptr %86, i64 16
  %89 = call noundef nonnull align 8 dereferenceable(88) ptr @_ZNKSt10unique_ptrIN3HIR4PathESt14default_deleteIS1_EEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %88) #5
  %90 = call noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIPK5RelocSt6vectorIS1_SaIS1_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %4) #5
  %91 = getelementptr inbounds i8, ptr %90, i64 16
  %92 = call noundef nonnull align 8 dereferenceable(88) ptr @_ZNKSt10unique_ptrIN3HIR4PathESt14default_deleteIS1_EEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %91) #5
  %93 = call noundef i32 @_Z3ordIN3HIR4PathEE8OrderingRKT_S5_(ptr noundef nonnull align 8 dereferenceable(88) %89, ptr noundef nonnull align 8 dereferenceable(88) %92)
  %.not71 = icmp eq i32 %93, 0
  br i1 %.not71, label %99, label %.loopexit

94:                                               ; preds = %82
  %95 = getelementptr inbounds i8, ptr %86, i64 24
  %96 = call noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIPK5RelocSt6vectorIS1_SaIS1_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %4) #5
  %97 = getelementptr inbounds i8, ptr %96, i64 24
  %98 = call noundef i32 @_ZL3ordRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES6_(ptr noundef nonnull align 8 dereferenceable(32) %95, ptr noundef nonnull align 8 dereferenceable(32) %97)
  %.not70 = icmp eq i32 %98, 0
  br i1 %.not70, label %99, label %.loopexit

99:                                               ; preds = %87, %94
  %100 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPK5RelocSt6vectorIS1_SaIS1_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %3) #5
  %101 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPK5RelocSt6vectorIS1_SaIS1_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %4) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #5
  %102 = load ptr, ptr %0, align 8, !tbaa !11
  %103 = getelementptr inbounds i8, ptr %102, i64 24
  %104 = call ptr @_ZNKSt6vectorI5RelocSaIS0_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %103) #5
  store ptr %104, ptr %5, align 8
  %105 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPK5RelocSt6vectorIS1_SaIS1_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %3, ptr noundef nonnull align 8 dereferenceable(8) %5) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #5
  br i1 %105, label %51, label %.critedge, !llvm.loop !28

.critedge:                                        ; preds = %99, %30
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #5
  br label %.loopexit

.loopexit:                                        ; preds = %51, %87, %94, %74, %66, %56, %.critedge
  %.11 = phi i32 [ 0, %.critedge ], [ 0, %51 ], [ %65, %56 ], [ %73, %66 ], [ %81, %74 ], [ %98, %94 ], [ %93, %87 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #5
  br label %.thread

.thread:                                          ; preds = %15, %._crit_edge, %.loopexit
  %.12 = phi i32 [ %.11, %.loopexit ], [ %29, %._crit_edge ], [ %26, %15 ]
  ret i32 %.12
}

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minImERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef i32 @_ZL3ordhh(i8 noundef zeroext, i8 noundef zeroext) local_unnamed_addr #2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef i32 @_ZL3ordmm(i64 noundef, i64 noundef) local_unnamed_addr #2

; Function Attrs: inlinehint mustprogress uwtable
declare hidden ptr @"_ZSt7find_ifIN9__gnu_cxx17__normal_iteratorIPK5RelocSt6vectorIS2_SaIS2_EEEEZNK19EncodedLiteralSlice3ordERKS9_E3$_0ET_SD_SD_T0_"(ptr, ptr, ptr) local_unnamed_addr #4

; Function Attrs: inlinehint mustprogress uwtable
declare hidden ptr @"_ZSt7find_ifIN9__gnu_cxx17__normal_iteratorIPK5RelocSt6vectorIS2_SaIS2_EEEEZNK19EncodedLiteralSlice3ordERKS9_E3$_1ET_SD_SD_T0_"(ptr, ptr, ptr) local_unnamed_addr #4

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef i32 @_ZL3ordbb(i1 noundef zeroext, i1 noundef zeroext) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_Z3ordIN3HIR4PathEE8OrderingRKT_S5_(ptr noundef nonnull align 8 dereferenceable(88), ptr noundef nonnull align 8 dereferenceable(88)) local_unnamed_addr #3

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef i32 @_ZL3ordRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES6_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #2

attributes #0 = { mustprogress 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 = { inlinehint 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 #3 = { 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 #4 = { inlinehint 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 #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, !6, i64 0}
!6 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = !{!12, !13, i64 0}
!12 = !{!"_ZTS19EncodedLiteralSlice", !13, i64 0, !6, i64 8, !6, i64 16}
!13 = !{!"any pointer", !7, i64 0}
!14 = !{!12, !6, i64 8}
!15 = !{!7, !7, i64 0}
!16 = !{!12, !6, i64 16}
!17 = !{!18, !6, i64 0}
!18 = !{!"_ZTS5Reloc", !6, i64 0, !6, i64 8, !19, i64 16, !25, i64 24}
!19 = !{!"_ZTSSt10unique_ptrIN3HIR4PathESt14default_deleteIS1_EE", !20, i64 0}
!20 = !{!"_ZTSSt15__uniq_ptr_dataIN3HIR4PathESt14default_deleteIS1_ELb1ELb1EE", !21, i64 0}
!21 = !{!"_ZTSSt15__uniq_ptr_implIN3HIR4PathESt14default_deleteIS1_EE", !22, i64 0}
!22 = !{!"_ZTSSt5tupleIJPN3HIR4PathESt14default_deleteIS1_EEE", !23, i64 0}
!23 = !{!"_ZTSSt11_Tuple_implILm0EJPN3HIR4PathESt14default_deleteIS1_EEE", !24, i64 0}
!24 = !{!"_ZTSSt10_Head_baseILm0EPN3HIR4PathELb0EE", !13, i64 0}
!25 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !26, i64 0, !6, i64 8, !7, i64 16}
!26 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !13, i64 0}
!27 = !{!18, !6, i64 8}
!28 = distinct !{!28, !10}


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