; LLVM IR from facebookresearch/StarSpace :: src/data.ll (ZNK9starspace17InternDataHandler7convertERKNS_12ParseResultsERS1_)

; 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.27" = type { ptr }
%"class.__gnu_cxx::__normal_iterator.26" = type { ptr }
%"struct.std::pair" = type { i32, float }
%"struct.starspace::ParseResults" = type { float, %"class.std::vector.0", %"class.std::vector.0", %"class.std::vector.21" }
%"class.std::vector.0" = type { %"struct.std::_Vector_base.1" }
%"struct.std::_Vector_base.1" = type { %"struct.std::_Vector_base<std::pair<int, float>, std::allocator<std::pair<int, float>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::pair<int, float>, std::allocator<std::pair<int, float>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::pair<int, float>, std::allocator<std::pair<int, float>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::pair<int, float>, std::allocator<std::pair<int, float>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.21" = type { %"struct.std::_Vector_base.22" }
%"struct.std::_Vector_base.22" = type { %"struct.std::_Vector_base<std::vector<std::pair<int, float>>, std::allocator<std::vector<std::pair<int, float>>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::vector<std::pair<int, float>>, std::allocator<std::vector<std::pair<int, float>>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::vector<std::pair<int, float>>, std::allocator<std::vector<std::pair<int, float>>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::vector<std::pair<int, float>>, std::allocator<std::vector<std::pair<int, float>>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.starspace::InternDataHandler" = type { ptr, %"class.std::shared_ptr", %"class.std::vector", i32, i32, i32, %"class.std::vector.0" }
%"class.std::shared_ptr" = type { %"class.std::__shared_ptr" }
%"class.std::__shared_ptr" = type { ptr, %"class.std::__shared_count" }
%"class.std::__shared_count" = type { ptr }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<starspace::ParseResults, std::allocator<starspace::ParseResults>>::_Vector_impl" }
%"struct.std::_Vector_base<starspace::ParseResults, std::allocator<starspace::ParseResults>>::_Vector_impl" = type { %"struct.std::_Vector_base<starspace::ParseResults, std::allocator<starspace::ParseResults>>::_Vector_impl_data" }
%"struct.std::_Vector_base<starspace::ParseResults, std::allocator<starspace::ParseResults>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.starspace::Args" = type <{ %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", i8, [7 x i8], double, double, double, double, double, double, double, double, double, i64, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8 }>
%"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] }

@.str.12 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [73 x i8], align 1
@__PRETTY_FUNCTION__._ZNK9starspace17InternDataHandler7convertERKNS_12ParseResultsERS1_ = external hidden unnamed_addr constant [95 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [29 x i8], align 1

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZNK9starspace17InternDataHandler7convertERKNS_12ParseResultsERS1_(ptr noundef nonnull align 8 dereferenceable(88) %0, ptr noundef nonnull align 8 dereferenceable(80) %1, ptr noundef nonnull align 8 dereferenceable(80) %2) unnamed_addr #2 align 2 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca %"class.__gnu_cxx::__normal_iterator.27", align 8
  %8 = alloca %"class.__gnu_cxx::__normal_iterator.26", align 8
  %9 = alloca %"class.__gnu_cxx::__normal_iterator.27", align 8
  %10 = alloca %"class.__gnu_cxx::__normal_iterator.27", align 8
  %11 = alloca %"class.__gnu_cxx::__normal_iterator.26", align 8
  %12 = alloca i64, align 8
  %13 = alloca i64, align 8
  %14 = alloca i32, align 4
  %15 = alloca %"struct.std::pair", align 4
  %16 = alloca i64, align 8
  %17 = alloca i32, align 4
  %18 = alloca %"struct.std::pair", align 4
  %19 = alloca i64, align 8
  %20 = alloca i32, align 4
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  store ptr %2, ptr %6, align 8, !tbaa !5
  %21 = load ptr, ptr %4, align 8
  %22 = load ptr, ptr %5, align 8, !tbaa !5
  %23 = getelementptr inbounds %"struct.starspace::ParseResults", ptr %22, i32 0, i32 0
  %24 = load float, ptr %23, align 8, !tbaa !9
  %25 = load ptr, ptr %6, align 8, !tbaa !5
  %26 = getelementptr inbounds %"struct.starspace::ParseResults", ptr %25, i32 0, i32 0
  store float %24, ptr %26, align 8, !tbaa !9
  %27 = load ptr, ptr %6, align 8, !tbaa !5
  %28 = getelementptr inbounds %"struct.starspace::ParseResults", ptr %27, i32 0, i32 1
  call void @_ZNSt6vectorISt4pairIifESaIS1_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %28) #6
  %29 = load ptr, ptr %6, align 8, !tbaa !5
  %30 = getelementptr inbounds %"struct.starspace::ParseResults", ptr %29, i32 0, i32 2
  call void @_ZNSt6vectorISt4pairIifESaIS1_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %30) #6
  %31 = load ptr, ptr %6, align 8, !tbaa !5
  %32 = getelementptr inbounds %"struct.starspace::ParseResults", ptr %31, i32 0, i32 1
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #6
  %33 = load ptr, ptr %6, align 8, !tbaa !5
  %34 = getelementptr inbounds %"struct.starspace::ParseResults", ptr %33, i32 0, i32 1
  %35 = call ptr @_ZNSt6vectorISt4pairIifESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %34) #6
  %36 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.26", ptr %8, i32 0, i32 0
  store ptr %35, ptr %36, align 8
  call void @_ZN9__gnu_cxx17__normal_iteratorIPKSt4pairIifESt6vectorIS2_SaIS2_EEEC2IPS2_vEERKNS0_IT_S7_EE(ptr noundef nonnull align 8 dereferenceable(8) %7, ptr noundef nonnull align 8 dereferenceable(8) %8) #6
  %37 = load ptr, ptr %5, align 8, !tbaa !5
  %38 = getelementptr inbounds %"struct.starspace::ParseResults", ptr %37, i32 0, i32 1
  %39 = call ptr @_ZNKSt6vectorISt4pairIifESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %38) #6
  %40 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.27", ptr %9, i32 0, i32 0
  store ptr %39, ptr %40, align 8
  %41 = load ptr, ptr %5, align 8, !tbaa !5
  %42 = getelementptr inbounds %"struct.starspace::ParseResults", ptr %41, i32 0, i32 1
  %43 = call ptr @_ZNKSt6vectorISt4pairIifESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %42) #6
  %44 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.27", ptr %10, i32 0, i32 0
  store ptr %43, ptr %44, align 8
  %45 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.27", ptr %7, i32 0, i32 0
  %46 = load ptr, ptr %45, align 8
  %47 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.27", ptr %9, i32 0, i32 0
  %48 = load ptr, ptr %47, align 8
  %49 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.27", ptr %10, i32 0, i32 0
  %50 = load ptr, ptr %49, align 8
  %51 = call ptr @_ZNSt6vectorISt4pairIifESaIS1_EE6insertIN9__gnu_cxx17__normal_iteratorIPKS1_S3_EEvEENS6_IPS1_S3_EES9_T_SC_(ptr noundef nonnull align 8 dereferenceable(24) %32, ptr %46, ptr %48, ptr %50)
  %52 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.26", ptr %11, i32 0, i32 0
  store ptr %51, ptr %52, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #6
  %53 = getelementptr inbounds %"class.starspace::InternDataHandler", ptr %21, i32 0, i32 1
  %54 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN9starspace4ArgsELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %53) #6
  %55 = getelementptr inbounds %"class.starspace::Args", ptr %54, i32 0, i32 35
  %56 = load i32, ptr %55, align 4, !tbaa !20
  %57 = icmp eq i32 %56, 0
  br i1 %57, label %58, label %87

58:                                               ; preds = %3
  %59 = load ptr, ptr %5, align 8, !tbaa !5
  %60 = getelementptr inbounds %"struct.starspace::ParseResults", ptr %59, i32 0, i32 1
  %61 = call noundef i64 @_ZNKSt6vectorISt4pairIifESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %60) #6
  %62 = icmp ugt i64 %61, 0
  br i1 %62, label %63, label %64

63:                                               ; preds = %58
  br label %66

64:                                               ; preds = %58
  call void @__assert_fail(ptr noundef @.str.12, ptr noundef @.str.13, i32 noundef 106, ptr noundef @__PRETTY_FUNCTION__._ZNK9starspace17InternDataHandler7convertERKNS_12ParseResultsERS1_) #7
  unreachable

65:                                               ; No predecessors!
  br label %66

66:                                               ; preds = %65, %63
  %67 = load ptr, ptr %5, align 8, !tbaa !5
  %68 = getelementptr inbounds %"struct.starspace::ParseResults", ptr %67, i32 0, i32 2
  %69 = call noundef i64 @_ZNKSt6vectorISt4pairIifESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %68) #6
  %70 = icmp ugt i64 %69, 0
  br i1 %70, label %71, label %72

71:                                               ; preds = %66
  br label %74

72:                                               ; preds = %66
  call void @__assert_fail(ptr noundef @.str.14, ptr noundef @.str.13, i32 noundef 107, ptr noundef @__PRETTY_FUNCTION__._ZNK9starspace17InternDataHandler7convertERKNS_12ParseResultsERS1_) #7
  unreachable

73:                                               ; No predecessors!
  br label %74

74:                                               ; preds = %73, %71
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #6
  %75 = call i32 @rand() #6
  %76 = sext i32 %75 to i64
  %77 = load ptr, ptr %5, align 8, !tbaa !5
  %78 = getelementptr inbounds %"struct.starspace::ParseResults", ptr %77, i32 0, i32 2
  %79 = call noundef i64 @_ZNKSt6vectorISt4pairIifESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %78) #6
  %80 = urem i64 %76, %79
  store i64 %80, ptr %12, align 8, !tbaa !28
  %81 = load ptr, ptr %6, align 8, !tbaa !5
  %82 = getelementptr inbounds %"struct.starspace::ParseResults", ptr %81, i32 0, i32 2
  %83 = load ptr, ptr %5, align 8, !tbaa !5
  %84 = getelementptr inbounds %"struct.starspace::ParseResults", ptr %83, i32 0, i32 2
  %85 = load i64, ptr %12, align 8, !tbaa !28
  %86 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNKSt6vectorISt4pairIifESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %84, i64 noundef %85) #6
  call void @_ZNSt6vectorISt4pairIifESaIS1_EE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %82, ptr noundef nonnull align 4 dereferenceable(8) %86)
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #6
  br label %240

87:                                               ; preds = %3
  %88 = load ptr, ptr %5, align 8, !tbaa !5
  %89 = getelementptr inbounds %"struct.starspace::ParseResults", ptr %88, i32 0, i32 2
  %90 = call noundef i64 @_ZNKSt6vectorISt4pairIifESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %89) #6
  %91 = icmp ugt i64 %90, 1
  br i1 %91, label %92, label %93

92:                                               ; preds = %87
  br label %95

93:                                               ; preds = %87
  call void @__assert_fail(ptr noundef @.str.15, ptr noundef @.str.13, i32 noundef 111, ptr noundef @__PRETTY_FUNCTION__._ZNK9starspace17InternDataHandler7convertERKNS_12ParseResultsERS1_) #7
  unreachable

94:                                               ; No predecessors!
  br label %95

95:                                               ; preds = %94, %92
  %96 = getelementptr inbounds %"class.starspace::InternDataHandler", ptr %21, i32 0, i32 1
  %97 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN9starspace4ArgsELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %96) #6
  %98 = getelementptr inbounds %"class.starspace::Args", ptr %97, i32 0, i32 35
  %99 = load i32, ptr %98, align 4, !tbaa !20
  %100 = icmp eq i32 %99, 1
  br i1 %100, label %101, label %137

101:                                              ; preds = %95
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #6
  %102 = call i32 @rand() #6
  %103 = sext i32 %102 to i64
  %104 = load ptr, ptr %5, align 8, !tbaa !5
  %105 = getelementptr inbounds %"struct.starspace::ParseResults", ptr %104, i32 0, i32 2
  %106 = call noundef i64 @_ZNKSt6vectorISt4pairIifESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %105) #6
  %107 = urem i64 %103, %106
  store i64 %107, ptr %13, align 8, !tbaa !28
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #6
  store i32 0, ptr %14, align 4, !tbaa !29
  br label %108

108:                                              ; preds = %133, %101
  %109 = load i32, ptr %14, align 4, !tbaa !29
  %110 = zext i32 %109 to i64
  %111 = load ptr, ptr %5, align 8, !tbaa !5
  %112 = getelementptr inbounds %"struct.starspace::ParseResults", ptr %111, i32 0, i32 2
  %113 = call noundef i64 @_ZNKSt6vectorISt4pairIifESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %112) #6
  %114 = icmp ult i64 %110, %113
  br i1 %114, label %116, label %115

115:                                              ; preds = %108
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #6
  br label %136

116:                                              ; preds = %108
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #6
  %117 = load ptr, ptr %5, align 8, !tbaa !5
  %118 = getelementptr inbounds %"struct.starspace::ParseResults", ptr %117, i32 0, i32 2
  %119 = load i32, ptr %14, align 4, !tbaa !29
  %120 = zext i32 %119 to i64
  %121 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNKSt6vectorISt4pairIifESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %118, i64 noundef %120) #6
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %15, ptr align 4 %121, i64 8, i1 false)
  %122 = load i32, ptr %14, align 4, !tbaa !29
  %123 = zext i32 %122 to i64
  %124 = load i64, ptr %13, align 8, !tbaa !28
  %125 = icmp eq i64 %123, %124
  br i1 %125, label %126, label %129

126:                                              ; preds = %116
  %127 = load ptr, ptr %6, align 8, !tbaa !5
  %128 = getelementptr inbounds %"struct.starspace::ParseResults", ptr %127, i32 0, i32 2
  call void @_ZNSt6vectorISt4pairIifESaIS1_EE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %128, ptr noundef nonnull align 4 dereferenceable(8) %15)
  br label %132

129:                                              ; preds = %116
  %130 = load ptr, ptr %6, align 8, !tbaa !5
  %131 = getelementptr inbounds %"struct.starspace::ParseResults", ptr %130, i32 0, i32 1
  call void @_ZNSt6vectorISt4pairIifESaIS1_EE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %131, ptr noundef nonnull align 4 dereferenceable(8) %15)
  br label %132

132:                                              ; preds = %129, %126
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #6
  br label %133

133:                                              ; preds = %132
  %134 = load i32, ptr %14, align 4, !tbaa !29
  %135 = add i32 %134, 1
  store i32 %135, ptr %14, align 4, !tbaa !29
  br label %108, !llvm.loop !30

136:                                              ; preds = %115
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #6
  br label %239

137:                                              ; preds = %95
  %138 = getelementptr inbounds %"class.starspace::InternDataHandler", ptr %21, i32 0, i32 1
  %139 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN9starspace4ArgsELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %138) #6
  %140 = getelementptr inbounds %"class.starspace::Args", ptr %139, i32 0, i32 35
  %141 = load i32, ptr %140, align 4, !tbaa !20
  %142 = icmp eq i32 %141, 2
  br i1 %142, label %143, label %179

143:                                              ; preds = %137
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #6
  %144 = call i32 @rand() #6
  %145 = sext i32 %144 to i64
  %146 = load ptr, ptr %5, align 8, !tbaa !5
  %147 = getelementptr inbounds %"struct.starspace::ParseResults", ptr %146, i32 0, i32 2
  %148 = call noundef i64 @_ZNKSt6vectorISt4pairIifESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %147) #6
  %149 = urem i64 %145, %148
  store i64 %149, ptr %16, align 8, !tbaa !28
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #6
  store i32 0, ptr %17, align 4, !tbaa !29
  br label %150

150:                                              ; preds = %175, %143
  %151 = load i32, ptr %17, align 4, !tbaa !29
  %152 = zext i32 %151 to i64
  %153 = load ptr, ptr %5, align 8, !tbaa !5
  %154 = getelementptr inbounds %"struct.starspace::ParseResults", ptr %153, i32 0, i32 2
  %155 = call noundef i64 @_ZNKSt6vectorISt4pairIifESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %154) #6
  %156 = icmp ult i64 %152, %155
  br i1 %156, label %158, label %157

157:                                              ; preds = %150
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #6
  br label %178

158:                                              ; preds = %150
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #6
  %159 = load ptr, ptr %5, align 8, !tbaa !5
  %160 = getelementptr inbounds %"struct.starspace::ParseResults", ptr %159, i32 0, i32 2
  %161 = load i32, ptr %17, align 4, !tbaa !29
  %162 = zext i32 %161 to i64
  %163 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNKSt6vectorISt4pairIifESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %160, i64 noundef %162) #6
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %18, ptr align 4 %163, i64 8, i1 false)
  %164 = load i32, ptr %17, align 4, !tbaa !29
  %165 = zext i32 %164 to i64
  %166 = load i64, ptr %16, align 8, !tbaa !28
  %167 = icmp eq i64 %165, %166
  br i1 %167, label %168, label %171

168:                                              ; preds = %158
  %169 = load ptr, ptr %6, align 8, !tbaa !5
  %170 = getelementptr inbounds %"struct.starspace::ParseResults", ptr %169, i32 0, i32 1
  call void @_ZNSt6vectorISt4pairIifESaIS1_EE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %170, ptr noundef nonnull align 4 dereferenceable(8) %18)
  br label %174

171:                                              ; preds = %158
  %172 = load ptr, ptr %6, align 8, !tbaa !5
  %173 = getelementptr inbounds %"struct.starspace::ParseResults", ptr %172, i32 0, i32 2
  call void @_ZNSt6vectorISt4pairIifESaIS1_EE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %173, ptr noundef nonnull align 4 dereferenceable(8) %18)
  br label %174

174:                                              ; preds = %171, %168
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #6
  br label %175

175:                                              ; preds = %174
  %176 = load i32, ptr %17, align 4, !tbaa !29
  %177 = add i32 %176, 1
  store i32 %177, ptr %17, align 4, !tbaa !29
  br label %150, !llvm.loop !32

178:                                              ; preds = %157
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #6
  br label %238

179:                                              ; preds = %137
  %180 = getelementptr inbounds %"class.starspace::InternDataHandler", ptr %21, i32 0, i32 1
  %181 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN9starspace4ArgsELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %180) #6
  %182 = getelementptr inbounds %"class.starspace::Args", ptr %181, i32 0, i32 35
  %183 = load i32, ptr %182, align 4, !tbaa !20
  %184 = icmp eq i32 %183, 3
  br i1 %184, label %185, label %219

185:                                              ; preds = %179
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #6
  %186 = call i32 @rand() #6
  %187 = sext i32 %186 to i64
  %188 = load ptr, ptr %5, align 8, !tbaa !5
  %189 = getelementptr inbounds %"struct.starspace::ParseResults", ptr %188, i32 0, i32 2
  %190 = call noundef i64 @_ZNKSt6vectorISt4pairIifESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %189) #6
  %191 = urem i64 %187, %190
  store i64 %191, ptr %19, align 8, !tbaa !28
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #6
  br label %192

192:                                              ; preds = %200, %185
  %193 = call i32 @rand() #6
  %194 = sext i32 %193 to i64
  %195 = load ptr, ptr %5, align 8, !tbaa !5
  %196 = getelementptr inbounds %"struct.starspace::ParseResults", ptr %195, i32 0, i32 2
  %197 = call noundef i64 @_ZNKSt6vectorISt4pairIifESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %196) #6
  %198 = urem i64 %194, %197
  %199 = trunc i64 %198 to i32
  store i32 %199, ptr %20, align 4, !tbaa !29
  br label %200

200:                                              ; preds = %192
  %201 = load i32, ptr %20, align 4, !tbaa !29
  %202 = zext i32 %201 to i64
  %203 = load i64, ptr %19, align 8, !tbaa !28
  %204 = icmp eq i64 %202, %203
  br i1 %204, label %192, label %205, !llvm.loop !33

205:                                              ; preds = %200
  %206 = load ptr, ptr %6, align 8, !tbaa !5
  %207 = getelementptr inbounds %"struct.starspace::ParseResults", ptr %206, i32 0, i32 1
  %208 = load ptr, ptr %5, align 8, !tbaa !5
  %209 = getelementptr inbounds %"struct.starspace::ParseResults", ptr %208, i32 0, i32 2
  %210 = load i64, ptr %19, align 8, !tbaa !28
  %211 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNKSt6vectorISt4pairIifESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %209, i64 noundef %210) #6
  call void @_ZNSt6vectorISt4pairIifESaIS1_EE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %207, ptr noundef nonnull align 4 dereferenceable(8) %211)
  %212 = load ptr, ptr %6, align 8, !tbaa !5
  %213 = getelementptr inbounds %"struct.starspace::ParseResults", ptr %212, i32 0, i32 2
  %214 = load ptr, ptr %5, align 8, !tbaa !5
  %215 = getelementptr inbounds %"struct.starspace::ParseResults", ptr %214, i32 0, i32 2
  %216 = load i32, ptr %20, align 4, !tbaa !29
  %217 = zext i32 %216 to i64
  %218 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNKSt6vectorISt4pairIifESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %215, i64 noundef %217) #6
  call void @_ZNSt6vectorISt4pairIifESaIS1_EE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %213, ptr noundef nonnull align 4 dereferenceable(8) %218)
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #6
  br label %237

219:                                              ; preds = %179
  %220 = getelementptr inbounds %"class.starspace::InternDataHandler", ptr %21, i32 0, i32 1
  %221 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN9starspace4ArgsELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %220) #6
  %222 = getelementptr inbounds %"class.starspace::Args", ptr %221, i32 0, i32 35
  %223 = load i32, ptr %222, align 4, !tbaa !20
  %224 = icmp eq i32 %223, 4
  br i1 %224, label %225, label %236

225:                                              ; preds = %219
  %226 = load ptr, ptr %6, align 8, !tbaa !5
  %227 = getelementptr inbounds %"struct.starspace::ParseResults", ptr %226, i32 0, i32 1
  %228 = load ptr, ptr %5, align 8, !tbaa !5
  %229 = getelementptr inbounds %"struct.starspace::ParseResults", ptr %228, i32 0, i32 2
  %230 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNKSt6vectorISt4pairIifESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %229, i64 noundef 0) #6
  call void @_ZNSt6vectorISt4pairIifESaIS1_EE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %227, ptr noundef nonnull align 4 dereferenceable(8) %230)
  %231 = load ptr, ptr %6, align 8, !tbaa !5
  %232 = getelementptr inbounds %"struct.starspace::ParseResults", ptr %231, i32 0, i32 2
  %233 = load ptr, ptr %5, align 8, !tbaa !5
  %234 = getelementptr inbounds %"struct.starspace::ParseResults", ptr %233, i32 0, i32 2
  %235 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNKSt6vectorISt4pairIifESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %234, i64 noundef 1) #6
  call void @_ZNSt6vectorISt4pairIifESaIS1_EE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %232, ptr noundef nonnull align 4 dereferenceable(8) %235)
  br label %236

236:                                              ; preds = %225, %219
  br label %237

237:                                              ; preds = %236, %205
  br label %238

238:                                              ; preds = %237, %178
  br label %239

239:                                              ; preds = %238, %136
  br label %240

240:                                              ; preds = %239, %74
  ret void
}

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

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

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

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

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

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

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

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #3

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

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

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

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #5

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 = { 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 = { noreturn nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #6 = { nounwind }
attributes #7 = { noreturn nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"_ZTSN9starspace12ParseResultsE", !11, i64 0, !12, i64 8, !12, i64 32, !16, i64 56}
!11 = !{!"float", !7, i64 0}
!12 = !{!"_ZTSSt6vectorISt4pairIifESaIS1_EE", !13, i64 0}
!13 = !{!"_ZTSSt12_Vector_baseISt4pairIifESaIS1_EE", !14, i64 0}
!14 = !{!"_ZTSNSt12_Vector_baseISt4pairIifESaIS1_EE12_Vector_implE", !15, i64 0}
!15 = !{!"_ZTSNSt12_Vector_baseISt4pairIifESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!16 = !{!"_ZTSSt6vectorIS_ISt4pairIifESaIS1_EESaIS3_EE", !17, i64 0}
!17 = !{!"_ZTSSt12_Vector_baseISt6vectorISt4pairIifESaIS2_EESaIS4_EE", !18, i64 0}
!18 = !{!"_ZTSNSt12_Vector_baseISt6vectorISt4pairIifESaIS2_EESaIS4_EE12_Vector_implE", !19, i64 0}
!19 = !{!"_ZTSNSt12_Vector_baseISt6vectorISt4pairIifESaIS2_EESaIS4_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!20 = !{!21, !26, i64 516}
!21 = !{!"_ZTSN9starspace4ArgsE", !22, i64 0, !22, i64 32, !22, i64 64, !22, i64 96, !22, i64 128, !22, i64 160, !22, i64 192, !22, i64 224, !22, i64 256, !22, i64 288, !22, i64 320, !22, i64 352, !7, i64 384, !25, i64 392, !25, i64 400, !25, i64 408, !25, i64 416, !25, i64 424, !25, i64 432, !25, i64 440, !25, i64 448, !25, i64 456, !24, i64 464, !26, i64 472, !26, i64 476, !26, i64 480, !26, i64 484, !26, i64 488, !26, i64 492, !26, i64 496, !26, i64 500, !26, i64 504, !26, i64 508, !26, i64 512, !26, i64 516, !26, i64 520, !26, i64 524, !26, i64 528, !27, i64 532, !27, i64 533, !27, i64 534, !27, i64 535, !27, i64 536, !27, i64 537, !27, i64 538, !27, i64 539, !27, i64 540, !27, i64 541, !27, i64 542}
!22 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !23, i64 0, !24, i64 8, !7, i64 16}
!23 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!24 = !{!"long", !7, i64 0}
!25 = !{!"double", !7, i64 0}
!26 = !{!"int", !7, i64 0}
!27 = !{!"bool", !7, i64 0}
!28 = !{!24, !24, i64 0}
!29 = !{!26, !26, i64 0}
!30 = distinct !{!30, !31}
!31 = !{!"llvm.loop.mustprogress"}
!32 = distinct !{!32, !31}
!33 = distinct !{!33, !31}


; 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.27" = type { ptr }
%"class.__gnu_cxx::__normal_iterator.26" = type { ptr }
%"struct.std::pair" = type { i32, float }

@.str.12 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [73 x i8], align 1
@__PRETTY_FUNCTION__._ZNK9starspace17InternDataHandler7convertERKNS_12ParseResultsERS1_ = external hidden unnamed_addr constant [95 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [29 x i8], align 1

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

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

; 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 uwtable
define dso_local void @_ZNK9starspace17InternDataHandler7convertERKNS_12ParseResultsERS1_(ptr noundef nonnull align 8 dereferenceable(88) %0, ptr noundef nonnull align 8 dereferenceable(80) %1, ptr noundef nonnull align 8 dereferenceable(80) %2) unnamed_addr #2 align 2 {
  %4 = alloca %"class.__gnu_cxx::__normal_iterator.27", align 8
  %5 = alloca %"class.__gnu_cxx::__normal_iterator.26", align 8
  %6 = alloca %"struct.std::pair", align 8
  %7 = alloca %"struct.std::pair", align 8
  %8 = load float, ptr %1, align 8, !tbaa !5
  store float %8, ptr %2, align 8, !tbaa !5
  %9 = getelementptr inbounds i8, ptr %2, i64 8
  tail call void @_ZNSt6vectorISt4pairIifESaIS1_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %9) #5
  %10 = getelementptr inbounds i8, ptr %2, i64 32
  tail call void @_ZNSt6vectorISt4pairIifESaIS1_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %10) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #5
  %11 = tail call ptr @_ZNSt6vectorISt4pairIifESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %9) #5
  store ptr %11, ptr %5, align 8
  call void @_ZN9__gnu_cxx17__normal_iteratorIPKSt4pairIifESt6vectorIS2_SaIS2_EEEC2IPS2_vEERKNS0_IT_S7_EE(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 8 dereferenceable(8) %5) #5
  %12 = getelementptr inbounds i8, ptr %1, i64 8
  %13 = call ptr @_ZNKSt6vectorISt4pairIifESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %12) #5
  %14 = call ptr @_ZNKSt6vectorISt4pairIifESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %12) #5
  %15 = load ptr, ptr %4, align 8
  %16 = call ptr @_ZNSt6vectorISt4pairIifESaIS1_EE6insertIN9__gnu_cxx17__normal_iteratorIPKS1_S3_EEvEENS6_IPS1_S3_EES9_T_SC_(ptr noundef nonnull align 8 dereferenceable(24) %9, ptr %15, ptr %13, ptr %14)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #5
  %17 = getelementptr inbounds i8, ptr %0, i64 8
  %18 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN9starspace4ArgsELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %17) #5
  %19 = getelementptr inbounds i8, ptr %18, i64 516
  %20 = load i32, ptr %19, align 4, !tbaa !19
  %21 = icmp eq i32 %20, 0
  br i1 %21, label %22, label %35

22:                                               ; preds = %3
  %23 = call noundef i64 @_ZNKSt6vectorISt4pairIifESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %12) #5
  %.not = icmp eq i64 %23, 0
  br i1 %.not, label %24, label %25

24:                                               ; preds = %22
  call void @__assert_fail(ptr noundef nonnull @.str.12, ptr noundef nonnull @.str.13, i32 noundef 106, ptr noundef nonnull @__PRETTY_FUNCTION__._ZNK9starspace17InternDataHandler7convertERKNS_12ParseResultsERS1_) #6
  unreachable

25:                                               ; preds = %22
  %26 = getelementptr inbounds i8, ptr %1, i64 32
  %27 = call noundef i64 @_ZNKSt6vectorISt4pairIifESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %26) #5
  %.not56 = icmp eq i64 %27, 0
  br i1 %.not56, label %28, label %29

28:                                               ; preds = %25
  call void @__assert_fail(ptr noundef nonnull @.str.14, ptr noundef nonnull @.str.13, i32 noundef 107, ptr noundef nonnull @__PRETTY_FUNCTION__._ZNK9starspace17InternDataHandler7convertERKNS_12ParseResultsERS1_) #6
  unreachable

29:                                               ; preds = %25
  %30 = call i32 @rand() #5
  %31 = sext i32 %30 to i64
  %32 = call noundef i64 @_ZNKSt6vectorISt4pairIifESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %26) #5
  %33 = urem i64 %31, %32
  %34 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNKSt6vectorISt4pairIifESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %26, i64 noundef %33) #5
  br label %.loopexit.sink.split

35:                                               ; preds = %3
  %36 = getelementptr inbounds i8, ptr %1, i64 32
  %37 = call noundef i64 @_ZNKSt6vectorISt4pairIifESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %36) #5
  %38 = icmp ugt i64 %37, 1
  br i1 %38, label %40, label %39

39:                                               ; preds = %35
  call void @__assert_fail(ptr noundef nonnull @.str.15, ptr noundef nonnull @.str.13, i32 noundef 111, ptr noundef nonnull @__PRETTY_FUNCTION__._ZNK9starspace17InternDataHandler7convertERKNS_12ParseResultsERS1_) #6
  unreachable

40:                                               ; preds = %35
  %41 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN9starspace4ArgsELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %17) #5
  %42 = getelementptr inbounds i8, ptr %41, i64 516
  %43 = load i32, ptr %42, align 4, !tbaa !19
  %44 = icmp eq i32 %43, 1
  br i1 %44, label %45, label %59

45:                                               ; preds = %40
  %46 = call i32 @rand() #5
  %47 = sext i32 %46 to i64
  %48 = call noundef i64 @_ZNKSt6vectorISt4pairIifESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %36) #5
  %49 = urem i64 %47, %48
  %50 = call noundef i64 @_ZNKSt6vectorISt4pairIifESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %36) #5
  %.not62 = icmp eq i64 %50, 0
  br i1 %.not62, label %.loopexit, label %.lr.ph60

.lr.ph60:                                         ; preds = %45, %.lr.ph60
  %51 = phi i64 [ %56, %.lr.ph60 ], [ 0, %45 ]
  %.059 = phi i32 [ %55, %.lr.ph60 ], [ 0, %45 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #5
  %52 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNKSt6vectorISt4pairIifESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %36, i64 noundef %51) #5
  %53 = load i64, ptr %52, align 4
  store i64 %53, ptr %6, align 8
  %54 = icmp eq i64 %49, %51
  %. = select i1 %54, ptr %10, ptr %9
  call void @_ZNSt6vectorISt4pairIifESaIS1_EE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %., ptr noundef nonnull align 4 dereferenceable(8) %6)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #5
  %55 = add i32 %.059, 1
  %56 = zext i32 %55 to i64
  %57 = call noundef i64 @_ZNKSt6vectorISt4pairIifESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %36) #5
  %58 = icmp ugt i64 %57, %56
  br i1 %58, label %.lr.ph60, label %.loopexit, !llvm.loop !27

59:                                               ; preds = %40
  %60 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN9starspace4ArgsELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %17) #5
  %61 = getelementptr inbounds i8, ptr %60, i64 516
  %62 = load i32, ptr %61, align 4, !tbaa !19
  %63 = icmp eq i32 %62, 2
  br i1 %63, label %64, label %78

64:                                               ; preds = %59
  %65 = call i32 @rand() #5
  %66 = sext i32 %65 to i64
  %67 = call noundef i64 @_ZNKSt6vectorISt4pairIifESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %36) #5
  %68 = urem i64 %66, %67
  %69 = call noundef i64 @_ZNKSt6vectorISt4pairIifESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %36) #5
  %.not61 = icmp eq i64 %69, 0
  br i1 %.not61, label %.loopexit, label %.lr.ph

.lr.ph:                                           ; preds = %64, %.lr.ph
  %70 = phi i64 [ %75, %.lr.ph ], [ 0, %64 ]
  %.05158 = phi i32 [ %74, %.lr.ph ], [ 0, %64 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #5
  %71 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNKSt6vectorISt4pairIifESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %36, i64 noundef %70) #5
  %72 = load i64, ptr %71, align 4
  store i64 %72, ptr %7, align 8
  %73 = icmp eq i64 %68, %70
  %.67 = select i1 %73, ptr %9, ptr %10
  call void @_ZNSt6vectorISt4pairIifESaIS1_EE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %.67, ptr noundef nonnull align 4 dereferenceable(8) %7)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #5
  %74 = add i32 %.05158, 1
  %75 = zext i32 %74 to i64
  %76 = call noundef i64 @_ZNKSt6vectorISt4pairIifESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %36) #5
  %77 = icmp ugt i64 %76, %75
  br i1 %77, label %.lr.ph, label %.loopexit, !llvm.loop !29

78:                                               ; preds = %59
  %79 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN9starspace4ArgsELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %17) #5
  %80 = getelementptr inbounds i8, ptr %79, i64 516
  %81 = load i32, ptr %80, align 4, !tbaa !19
  %82 = icmp eq i32 %81, 3
  br i1 %82, label %83, label %98

83:                                               ; preds = %78
  %84 = call i32 @rand() #5
  %85 = sext i32 %84 to i64
  %86 = call noundef i64 @_ZNKSt6vectorISt4pairIifESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %36) #5
  %87 = urem i64 %85, %86
  br label %88

88:                                               ; preds = %88, %83
  %89 = call i32 @rand() #5
  %90 = sext i32 %89 to i64
  %91 = call noundef i64 @_ZNKSt6vectorISt4pairIifESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %36) #5
  %92 = urem i64 %90, %91
  %93 = and i64 %92, 4294967295
  %94 = icmp eq i64 %93, %87
  br i1 %94, label %88, label %95, !llvm.loop !30

95:                                               ; preds = %88
  %96 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNKSt6vectorISt4pairIifESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %36, i64 noundef %87) #5
  call void @_ZNSt6vectorISt4pairIifESaIS1_EE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %9, ptr noundef nonnull align 4 dereferenceable(8) %96)
  %97 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNKSt6vectorISt4pairIifESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %36, i64 noundef %93) #5
  br label %.loopexit.sink.split

98:                                               ; preds = %78
  %99 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN9starspace4ArgsELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %17) #5
  %100 = getelementptr inbounds i8, ptr %99, i64 516
  %101 = load i32, ptr %100, align 4, !tbaa !19
  %102 = icmp eq i32 %101, 4
  br i1 %102, label %103, label %.loopexit

103:                                              ; preds = %98
  %104 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNKSt6vectorISt4pairIifESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %36, i64 noundef 0) #5
  call void @_ZNSt6vectorISt4pairIifESaIS1_EE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %9, ptr noundef nonnull align 4 dereferenceable(8) %104)
  %105 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNKSt6vectorISt4pairIifESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %36, i64 noundef 1) #5
  br label %.loopexit.sink.split

.loopexit.sink.split:                             ; preds = %29, %103, %95
  %.sink66 = phi ptr [ %97, %95 ], [ %105, %103 ], [ %34, %29 ]
  call void @_ZNSt6vectorISt4pairIifESaIS1_EE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %10, ptr noundef nonnull align 4 dereferenceable(8) %.sink66)
  br label %.loopexit

.loopexit:                                        ; preds = %.lr.ph, %.lr.ph60, %.loopexit.sink.split, %64, %45, %98
  ret void
}

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

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

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

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

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

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

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

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #3

; Function Attrs: nounwind
declare i32 @rand() local_unnamed_addr #4

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(8) ptr @_ZNKSt6vectorISt4pairIifESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #1 align 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 = { 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 = { noreturn nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nounwind }
attributes #6 = { noreturn nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"_ZTSN9starspace12ParseResultsE", !7, i64 0, !10, i64 8, !10, i64 32, !15, i64 56}
!7 = !{!"float", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"_ZTSSt6vectorISt4pairIifESaIS1_EE", !11, i64 0}
!11 = !{!"_ZTSSt12_Vector_baseISt4pairIifESaIS1_EE", !12, i64 0}
!12 = !{!"_ZTSNSt12_Vector_baseISt4pairIifESaIS1_EE12_Vector_implE", !13, i64 0}
!13 = !{!"_ZTSNSt12_Vector_baseISt4pairIifESaIS1_EE17_Vector_impl_dataE", !14, i64 0, !14, i64 8, !14, i64 16}
!14 = !{!"any pointer", !8, i64 0}
!15 = !{!"_ZTSSt6vectorIS_ISt4pairIifESaIS1_EESaIS3_EE", !16, i64 0}
!16 = !{!"_ZTSSt12_Vector_baseISt6vectorISt4pairIifESaIS2_EESaIS4_EE", !17, i64 0}
!17 = !{!"_ZTSNSt12_Vector_baseISt6vectorISt4pairIifESaIS2_EESaIS4_EE12_Vector_implE", !18, i64 0}
!18 = !{!"_ZTSNSt12_Vector_baseISt6vectorISt4pairIifESaIS2_EESaIS4_EE17_Vector_impl_dataE", !14, i64 0, !14, i64 8, !14, i64 16}
!19 = !{!20, !25, i64 516}
!20 = !{!"_ZTSN9starspace4ArgsE", !21, i64 0, !21, i64 32, !21, i64 64, !21, i64 96, !21, i64 128, !21, i64 160, !21, i64 192, !21, i64 224, !21, i64 256, !21, i64 288, !21, i64 320, !21, i64 352, !8, i64 384, !24, i64 392, !24, i64 400, !24, i64 408, !24, i64 416, !24, i64 424, !24, i64 432, !24, i64 440, !24, i64 448, !24, i64 456, !23, i64 464, !25, i64 472, !25, i64 476, !25, i64 480, !25, i64 484, !25, i64 488, !25, i64 492, !25, i64 496, !25, i64 500, !25, i64 504, !25, i64 508, !25, i64 512, !25, i64 516, !25, i64 520, !25, i64 524, !25, i64 528, !26, i64 532, !26, i64 533, !26, i64 534, !26, i64 535, !26, i64 536, !26, i64 537, !26, i64 538, !26, i64 539, !26, i64 540, !26, i64 541, !26, i64 542}
!21 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !22, i64 0, !23, i64 8, !8, i64 16}
!22 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !14, i64 0}
!23 = !{!"long", !8, i64 0}
!24 = !{!"double", !8, i64 0}
!25 = !{!"int", !8, i64 0}
!26 = !{!"bool", !8, i64 0}
!27 = distinct !{!27, !28}
!28 = !{!"llvm.loop.mustprogress"}
!29 = distinct !{!29, !28}
!30 = distinct !{!30, !28}


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