; LLVM IR from kazunetakahashi/atcoder :: 201510_201609/1212_CODE_RUNNER_2015_final/fire.ll (Z7getinfov)

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon.0 }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon.0 = type { i64, [8 x i8] }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<work, std::allocator<work>>::_Vector_impl" }
%"struct.std::_Vector_base<work, std::allocator<work>>::_Vector_impl" = type { %"struct.std::_Vector_base<work, std::allocator<work>>::_Vector_impl_data" }
%"struct.std::_Vector_base<work, std::allocator<work>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::__cxx11::basic_stringstream" = type { %"class.std::basic_iostream.base", %"class.std::__cxx11::basic_stringbuf", %"class.std::basic_ios" }
%"class.std::basic_iostream.base" = type { %"class.std::basic_istream.base", %"class.std::basic_ostream.base" }
%"class.std::basic_istream.base" = type { ptr, i64 }
%"class.std::basic_ostream.base" = type { ptr }
%"class.std::__cxx11::basic_stringbuf" = type { %"class.std::basic_streambuf", i32, %"class.std::__cxx11::basic_string" }
%"class.std::basic_streambuf" = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, %"class.std::locale" }
%"class.std::locale" = type { ptr }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%struct.work = type { i32, i32, i32, i32, i32, i32 }

@_Z5tokenB5cxx11 = external dso_local global %"class.std::__cxx11::basic_string", align 8
@_Z3urlB5cxx11 = external dso_local global %"class.std::__cxx11::basic_string", align 8
@_Z6resultB5cxx11 = external dso_local global %"class.std::__cxx11::basic_string", align 8
@money = external dso_local global i64, align 8
@speed = external dso_local global [50 x [50 x i32]], align 16
@waiting = external dso_local global [50 x i32], align 16
@keikenchi = external dso_local global [50 x i32], align 16
@have = external dso_local global i32, align 4
@W = external dso_local global %"class.std::vector", align 8
@outer = external dso_local global i32, align 4
@O = external dso_local global %"class.std::vector", align 8
@.str.12 = external hidden unnamed_addr constant [41 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

declare i32 @__gxx_personality_v0(...)

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z5queryNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef) #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_RKS8_(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef, ptr noundef nonnull align 8 dereferenceable(32)) #2

; Function Attrs: mustprogress uwtable
define dso_local void @_Z7getinfov() #2 personality ptr @__gxx_personality_v0 {
  %1 = alloca %"class.std::__cxx11::basic_string", align 8
  %2 = alloca %"class.std::__cxx11::basic_string", align 8
  %3 = alloca %"class.std::__cxx11::basic_string", align 8
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  %6 = alloca %"class.std::__cxx11::basic_stringstream", align 8
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca %struct.work, align 4
  %13 = alloca i32, align 4
  %14 = alloca %struct.work, align 4
  call void @llvm.lifetime.start.p0(i64 32, ptr %1) #5
  call void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_RKS8_(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %1, ptr noundef @.str.12, ptr noundef nonnull align 8 dereferenceable(32) @_Z5tokenB5cxx11)
  %15 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEOS4_(ptr noundef nonnull align 8 dereferenceable(32) @_Z3urlB5cxx11, ptr noundef nonnull align 8 dereferenceable(32) %1) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %1) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %1) #5
  call void @llvm.lifetime.start.p0(i64 32, ptr %2) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %3, ptr noundef nonnull align 8 dereferenceable(32) @_Z3urlB5cxx11)
  invoke void @_Z5queryNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %2, ptr noundef %3)
          to label %16 unwind label %29

16:                                               ; preds = %0
  %17 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEOS4_(ptr noundef nonnull align 8 dereferenceable(32) @_Z6resultB5cxx11, ptr noundef nonnull align 8 dereferenceable(32) %2) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %2) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %3) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %2) #5
  call void @llvm.lifetime.start.p0(i64 392, ptr %6) #5
  %18 = call noundef i32 @_ZStorSt13_Ios_OpenmodeS_(i32 noundef 16, i32 noundef 8)
  call void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEC1ERKNS_12basic_stringIcS2_S3_EESt13_Ios_Openmode(ptr noundef nonnull align 8 dereferenceable(128) %6, ptr noundef nonnull align 8 dereferenceable(32) @_Z6resultB5cxx11, i32 noundef %18)
  %19 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) %6, ptr noundef nonnull align 8 dereferenceable(8) @money)
          to label %20 unwind label %33

20:                                               ; preds = %16
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #5
  %21 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %6, ptr noundef nonnull align 4 dereferenceable(4) %7)
          to label %22 unwind label %37

22:                                               ; preds = %20
  %23 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %21, ptr noundef nonnull align 4 dereferenceable(4) %7)
          to label %24 unwind label %37

24:                                               ; preds = %22
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #5
  store i32 0, ptr %8, align 4, !tbaa !5
  br label %25

25:                                               ; preds = %79, %24
  %26 = load i32, ptr %8, align 4, !tbaa !5
  %27 = icmp slt i32 %26, 50
  br i1 %27, label %41, label %28

28:                                               ; preds = %25
  store i32 2, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #5
  br label %83

29:                                               ; preds = %0
  %30 = landingpad { ptr, i32 }
          cleanup
  %31 = extractvalue { ptr, i32 } %30, 0
  store ptr %31, ptr %4, align 8
  %32 = extractvalue { ptr, i32 } %30, 1
  store i32 %32, ptr %5, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %3) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %2) #5
  br label %156

33:                                               ; preds = %16
  %34 = landingpad { ptr, i32 }
          cleanup
  %35 = extractvalue { ptr, i32 } %34, 0
  store ptr %35, ptr %4, align 8
  %36 = extractvalue { ptr, i32 } %34, 1
  store i32 %36, ptr %5, align 4
  br label %155

37:                                               ; preds = %118, %83, %22, %20
  %38 = landingpad { ptr, i32 }
          cleanup
  %39 = extractvalue { ptr, i32 } %38, 0
  store ptr %39, ptr %4, align 8
  %40 = extractvalue { ptr, i32 } %38, 1
  store i32 %40, ptr %5, align 4
  br label %154

41:                                               ; preds = %25
  %42 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %6, ptr noundef nonnull align 4 dereferenceable(4) %7)
          to label %43 unwind label %48

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

44:                                               ; preds = %61, %43
  %45 = load i32, ptr %10, align 4, !tbaa !5
  %46 = icmp slt i32 %45, 50
  br i1 %46, label %52, label %47

47:                                               ; preds = %44
  store i32 5, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #5
  br label %68

48:                                               ; preds = %73, %68, %41
  %49 = landingpad { ptr, i32 }
          cleanup
  %50 = extractvalue { ptr, i32 } %49, 0
  store ptr %50, ptr %4, align 8
  %51 = extractvalue { ptr, i32 } %49, 1
  store i32 %51, ptr %5, align 4
  br label %82

52:                                               ; preds = %44
  %53 = load i32, ptr %8, align 4, !tbaa !5
  %54 = sext i32 %53 to i64
  %55 = getelementptr inbounds [50 x [50 x i32]], ptr @speed, i64 0, i64 %54
  %56 = load i32, ptr %10, align 4, !tbaa !5
  %57 = sext i32 %56 to i64
  %58 = getelementptr inbounds [50 x i32], ptr %55, i64 0, i64 %57
  %59 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %6, ptr noundef nonnull align 4 dereferenceable(4) %58)
          to label %60 unwind label %64

60:                                               ; preds = %52
  br label %61

61:                                               ; preds = %60
  %62 = load i32, ptr %10, align 4, !tbaa !5
  %63 = add nsw i32 %62, 1
  store i32 %63, ptr %10, align 4, !tbaa !5
  br label %44, !llvm.loop !9

64:                                               ; preds = %52
  %65 = landingpad { ptr, i32 }
          cleanup
  %66 = extractvalue { ptr, i32 } %65, 0
  store ptr %66, ptr %4, align 8
  %67 = extractvalue { ptr, i32 } %65, 1
  store i32 %67, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #5
  br label %82

68:                                               ; preds = %47
  %69 = load i32, ptr %8, align 4, !tbaa !5
  %70 = sext i32 %69 to i64
  %71 = getelementptr inbounds [50 x i32], ptr @waiting, i64 0, i64 %70
  %72 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %6, ptr noundef nonnull align 4 dereferenceable(4) %71)
          to label %73 unwind label %48

73:                                               ; preds = %68
  %74 = load i32, ptr %8, align 4, !tbaa !5
  %75 = sext i32 %74 to i64
  %76 = getelementptr inbounds [50 x i32], ptr @keikenchi, i64 0, i64 %75
  %77 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %6, ptr noundef nonnull align 4 dereferenceable(4) %76)
          to label %78 unwind label %48

78:                                               ; preds = %73
  br label %79

79:                                               ; preds = %78
  %80 = load i32, ptr %8, align 4, !tbaa !5
  %81 = add nsw i32 %80, 1
  store i32 %81, ptr %8, align 4, !tbaa !5
  br label %25, !llvm.loop !11

82:                                               ; preds = %64, %48
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #5
  br label %154

83:                                               ; preds = %28
  %84 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %6, ptr noundef nonnull align 4 dereferenceable(4) @have)
          to label %85 unwind label %37

85:                                               ; preds = %83
  call void @_ZNSt6vectorI4workSaIS0_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) @W) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #5
  store i32 0, ptr %11, align 4, !tbaa !5
  br label %86

86:                                               ; preds = %111, %85
  %87 = load i32, ptr %11, align 4, !tbaa !5
  %88 = load i32, ptr @have, align 4, !tbaa !5
  %89 = icmp slt i32 %87, %88
  br i1 %89, label %91, label %90

90:                                               ; preds = %86
  store i32 8, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #5
  br label %118

91:                                               ; preds = %86
  call void @llvm.lifetime.start.p0(i64 24, ptr %12) #5
  %92 = getelementptr inbounds %struct.work, ptr %12, i32 0, i32 0
  %93 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %6, ptr noundef nonnull align 4 dereferenceable(4) %92)
          to label %94 unwind label %114

94:                                               ; preds = %91
  %95 = getelementptr inbounds %struct.work, ptr %12, i32 0, i32 1
  %96 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %93, ptr noundef nonnull align 4 dereferenceable(4) %95)
          to label %97 unwind label %114

97:                                               ; preds = %94
  %98 = getelementptr inbounds %struct.work, ptr %12, i32 0, i32 2
  %99 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %96, ptr noundef nonnull align 4 dereferenceable(4) %98)
          to label %100 unwind label %114

100:                                              ; preds = %97
  %101 = getelementptr inbounds %struct.work, ptr %12, i32 0, i32 3
  %102 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %99, ptr noundef nonnull align 4 dereferenceable(4) %101)
          to label %103 unwind label %114

103:                                              ; preds = %100
  %104 = getelementptr inbounds %struct.work, ptr %12, i32 0, i32 4
  %105 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %102, ptr noundef nonnull align 4 dereferenceable(4) %104)
          to label %106 unwind label %114

106:                                              ; preds = %103
  %107 = getelementptr inbounds %struct.work, ptr %12, i32 0, i32 5
  %108 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %105, ptr noundef nonnull align 4 dereferenceable(4) %107)
          to label %109 unwind label %114

109:                                              ; preds = %106
  invoke void @_ZNSt6vectorI4workSaIS0_EE9push_backERKS0_(ptr noundef nonnull align 8 dereferenceable(24) @W, ptr noundef nonnull align 4 dereferenceable(24) %12)
          to label %110 unwind label %114

110:                                              ; preds = %109
  call void @llvm.lifetime.end.p0(i64 24, ptr %12) #5
  br label %111

111:                                              ; preds = %110
  %112 = load i32, ptr %11, align 4, !tbaa !5
  %113 = add nsw i32 %112, 1
  store i32 %113, ptr %11, align 4, !tbaa !5
  br label %86, !llvm.loop !12

114:                                              ; preds = %109, %106, %103, %100, %97, %94, %91
  %115 = landingpad { ptr, i32 }
          cleanup
  %116 = extractvalue { ptr, i32 } %115, 0
  store ptr %116, ptr %4, align 8
  %117 = extractvalue { ptr, i32 } %115, 1
  store i32 %117, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 24, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #5
  br label %154

118:                                              ; preds = %90
  %119 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %6, ptr noundef nonnull align 4 dereferenceable(4) @outer)
          to label %120 unwind label %37

120:                                              ; preds = %118
  call void @_ZNSt6vectorI4workSaIS0_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) @O) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #5
  store i32 0, ptr %13, align 4, !tbaa !5
  br label %121

121:                                              ; preds = %146, %120
  %122 = load i32, ptr %13, align 4, !tbaa !5
  %123 = load i32, ptr @have, align 4, !tbaa !5
  %124 = icmp slt i32 %122, %123
  br i1 %124, label %126, label %125

125:                                              ; preds = %121
  store i32 11, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #5
  br label %153

126:                                              ; preds = %121
  call void @llvm.lifetime.start.p0(i64 24, ptr %14) #5
  %127 = getelementptr inbounds %struct.work, ptr %14, i32 0, i32 0
  %128 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %6, ptr noundef nonnull align 4 dereferenceable(4) %127)
          to label %129 unwind label %149

129:                                              ; preds = %126
  %130 = getelementptr inbounds %struct.work, ptr %14, i32 0, i32 1
  %131 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %128, ptr noundef nonnull align 4 dereferenceable(4) %130)
          to label %132 unwind label %149

132:                                              ; preds = %129
  %133 = getelementptr inbounds %struct.work, ptr %14, i32 0, i32 2
  %134 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %131, ptr noundef nonnull align 4 dereferenceable(4) %133)
          to label %135 unwind label %149

135:                                              ; preds = %132
  %136 = getelementptr inbounds %struct.work, ptr %14, i32 0, i32 3
  %137 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %134, ptr noundef nonnull align 4 dereferenceable(4) %136)
          to label %138 unwind label %149

138:                                              ; preds = %135
  %139 = getelementptr inbounds %struct.work, ptr %14, i32 0, i32 4
  %140 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %137, ptr noundef nonnull align 4 dereferenceable(4) %139)
          to label %141 unwind label %149

141:                                              ; preds = %138
  %142 = getelementptr inbounds %struct.work, ptr %14, i32 0, i32 5
  %143 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %140, ptr noundef nonnull align 4 dereferenceable(4) %142)
          to label %144 unwind label %149

144:                                              ; preds = %141
  invoke void @_ZNSt6vectorI4workSaIS0_EE9push_backERKS0_(ptr noundef nonnull align 8 dereferenceable(24) @O, ptr noundef nonnull align 4 dereferenceable(24) %14)
          to label %145 unwind label %149

145:                                              ; preds = %144
  call void @llvm.lifetime.end.p0(i64 24, ptr %14) #5
  br label %146

146:                                              ; preds = %145
  %147 = load i32, ptr %13, align 4, !tbaa !5
  %148 = add nsw i32 %147, 1
  store i32 %148, ptr %13, align 4, !tbaa !5
  br label %121, !llvm.loop !13

149:                                              ; preds = %144, %141, %138, %135, %132, %129, %126
  %150 = landingpad { ptr, i32 }
          cleanup
  %151 = extractvalue { ptr, i32 } %150, 0
  store ptr %151, ptr %4, align 8
  %152 = extractvalue { ptr, i32 } %150, 1
  store i32 %152, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 24, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #5
  br label %154

153:                                              ; preds = %125
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #5
  call void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(128) %6) #5
  call void @llvm.lifetime.end.p0(i64 392, ptr %6) #5
  ret void

154:                                              ; preds = %149, %114, %82, %37
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #5
  br label %155

155:                                              ; preds = %154, %33
  call void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(128) %6) #5
  call void @llvm.lifetime.end.p0(i64 392, ptr %6) #5
  br label %156

156:                                              ; preds = %155, %29
  %157 = load ptr, ptr %4, align 8
  %158 = load i32, ptr %5, align 4
  %159 = insertvalue { ptr, i32 } poison, ptr %157, 0
  %160 = insertvalue { ptr, i32 } %159, i32 %158, 1
  resume { ptr, i32 } %160
}

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZStorSt13_Ios_OpenmodeS_(i32 noundef, i32 noundef) #3

; Function Attrs: mustprogress uwtable
declare void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEC1ERKNS_12basic_stringIcS2_S3_EESt13_Ios_Openmode(ptr noundef nonnull align 8 dereferenceable(128), ptr noundef nonnull align 8 dereferenceable(32), i32 noundef) unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(8)) #2 align 2

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(4)) #4

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

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

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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 = { 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 #4 = { "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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = distinct !{!11, !10}
!12 = distinct !{!12, !10}
!13 = distinct !{!13, !10}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon.0 }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon.0 = type { i64, [8 x i8] }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<work, std::allocator<work>>::_Vector_impl" }
%"struct.std::_Vector_base<work, std::allocator<work>>::_Vector_impl" = type { %"struct.std::_Vector_base<work, std::allocator<work>>::_Vector_impl_data" }
%"struct.std::_Vector_base<work, std::allocator<work>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::__cxx11::basic_stringstream" = type { %"class.std::basic_iostream.base", %"class.std::__cxx11::basic_stringbuf", %"class.std::basic_ios" }
%"class.std::basic_iostream.base" = type { %"class.std::basic_istream.base", %"class.std::basic_ostream.base" }
%"class.std::basic_istream.base" = type { ptr, i64 }
%"class.std::basic_ostream.base" = type { ptr }
%"class.std::__cxx11::basic_stringbuf" = type { %"class.std::basic_streambuf", i32, %"class.std::__cxx11::basic_string" }
%"class.std::basic_streambuf" = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, %"class.std::locale" }
%"class.std::locale" = type { ptr }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%struct.work = type { i32, i32, i32, i32, i32, i32 }

@_Z5tokenB5cxx11 = external dso_local global %"class.std::__cxx11::basic_string", align 8
@_Z3urlB5cxx11 = external dso_local global %"class.std::__cxx11::basic_string", align 8
@_Z6resultB5cxx11 = external dso_local global %"class.std::__cxx11::basic_string", align 8
@money = external dso_local global i64, align 8
@speed = external dso_local global [50 x [50 x i32]], align 16
@waiting = external dso_local global [50 x i32], align 16
@keikenchi = external dso_local global [50 x i32], align 16
@have = external dso_local global i32, align 4
@W = external dso_local global %"class.std::vector", align 8
@outer = external dso_local global i32, align 4
@O = external dso_local global %"class.std::vector", align 8
@.str.12 = external hidden unnamed_addr constant [41 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

declare i32 @__gxx_personality_v0(...)

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z5queryNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_RKS8_(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef, ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
define dso_local void @_Z7getinfov() local_unnamed_addr #2 personality ptr @__gxx_personality_v0 {
  %1 = alloca %"class.std::__cxx11::basic_string", align 8
  %2 = alloca %"class.std::__cxx11::basic_string", align 8
  %3 = alloca %"class.std::__cxx11::basic_string", align 8
  %4 = alloca %"class.std::__cxx11::basic_stringstream", align 8
  %5 = alloca i32, align 4
  %6 = alloca %struct.work, align 4
  %7 = alloca %struct.work, align 4
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %1) #5
  call void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_RKS8_(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %1, ptr noundef nonnull @.str.12, ptr noundef nonnull align 8 dereferenceable(32) @_Z5tokenB5cxx11)
  %8 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEOS4_(ptr noundef nonnull align 8 dereferenceable(32) @_Z3urlB5cxx11, ptr noundef nonnull align 8 dereferenceable(32) %1) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %1) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %1) #5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %2) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %3, ptr noundef nonnull align 8 dereferenceable(32) @_Z3urlB5cxx11)
  invoke void @_Z5queryNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %2, ptr noundef nonnull %3)
          to label %9 unwind label %19

9:                                                ; preds = %0
  %10 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEOS4_(ptr noundef nonnull align 8 dereferenceable(32) @_Z6resultB5cxx11, ptr noundef nonnull align 8 dereferenceable(32) %2) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %2) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %3) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %2) #5
  call void @llvm.lifetime.start.p0(i64 392, ptr nonnull %4) #5
  %11 = call noundef i32 @_ZStorSt13_Ios_OpenmodeS_(i32 noundef 16, i32 noundef 8)
  call void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEC1ERKNS_12basic_stringIcS2_S3_EESt13_Ios_Openmode(ptr noundef nonnull align 8 dereferenceable(128) %4, ptr noundef nonnull align 8 dereferenceable(32) @_Z6resultB5cxx11, i32 noundef %11)
  %12 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) %4, ptr noundef nonnull align 8 dereferenceable(8) @money)
          to label %13 unwind label %21

13:                                               ; preds = %9
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #5
  %14 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %4, ptr noundef nonnull align 4 dereferenceable(4) %5)
          to label %15 unwind label %23

15:                                               ; preds = %13
  %16 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %14, ptr noundef nonnull align 4 dereferenceable(4) %5)
          to label %.preheader25 unwind label %23

17:                                               ; preds = %185
  %18 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %4, ptr noundef nonnull align 4 dereferenceable(4) @have)
          to label %186 unwind label %23

19:                                               ; preds = %0
  %20 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %3) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %2) #5
  br label %243

21:                                               ; preds = %9
  %22 = landingpad { ptr, i32 }
          cleanup
  br label %242

23:                                               ; preds = %._crit_edge, %17, %15, %13
  %24 = landingpad { ptr, i32 }
          cleanup
  br label %241

.preheader25:                                     ; preds = %15, %185
  %indvars.iv = phi i64 [ %indvars.iv.next, %185 ], [ 0, %15 ]
  %25 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %4, ptr noundef nonnull align 4 dereferenceable(4) %5)
          to label %.preheader unwind label %28

.preheader:                                       ; preds = %.preheader25
  %26 = getelementptr inbounds [50 x [50 x i32]], ptr @speed, i64 0, i64 %indvars.iv, i64 0
  %27 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %4, ptr noundef nonnull align 4 dereferenceable(4) %26)
          to label %30 unwind label %180

28:                                               ; preds = %182, %177, %.preheader25
  %29 = landingpad { ptr, i32 }
          cleanup
  br label %241

30:                                               ; preds = %.preheader
  %31 = getelementptr inbounds [50 x [50 x i32]], ptr @speed, i64 0, i64 %indvars.iv, i64 1
  %32 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %4, ptr noundef nonnull align 4 dereferenceable(4) %31)
          to label %33 unwind label %180

33:                                               ; preds = %30
  %34 = getelementptr inbounds [50 x [50 x i32]], ptr @speed, i64 0, i64 %indvars.iv, i64 2
  %35 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %4, ptr noundef nonnull align 4 dereferenceable(4) %34)
          to label %36 unwind label %180

36:                                               ; preds = %33
  %37 = getelementptr inbounds [50 x [50 x i32]], ptr @speed, i64 0, i64 %indvars.iv, i64 3
  %38 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %4, ptr noundef nonnull align 4 dereferenceable(4) %37)
          to label %39 unwind label %180

39:                                               ; preds = %36
  %40 = getelementptr inbounds [50 x [50 x i32]], ptr @speed, i64 0, i64 %indvars.iv, i64 4
  %41 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %4, ptr noundef nonnull align 4 dereferenceable(4) %40)
          to label %42 unwind label %180

42:                                               ; preds = %39
  %43 = getelementptr inbounds [50 x [50 x i32]], ptr @speed, i64 0, i64 %indvars.iv, i64 5
  %44 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %4, ptr noundef nonnull align 4 dereferenceable(4) %43)
          to label %45 unwind label %180

45:                                               ; preds = %42
  %46 = getelementptr inbounds [50 x [50 x i32]], ptr @speed, i64 0, i64 %indvars.iv, i64 6
  %47 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %4, ptr noundef nonnull align 4 dereferenceable(4) %46)
          to label %48 unwind label %180

48:                                               ; preds = %45
  %49 = getelementptr inbounds [50 x [50 x i32]], ptr @speed, i64 0, i64 %indvars.iv, i64 7
  %50 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %4, ptr noundef nonnull align 4 dereferenceable(4) %49)
          to label %51 unwind label %180

51:                                               ; preds = %48
  %52 = getelementptr inbounds [50 x [50 x i32]], ptr @speed, i64 0, i64 %indvars.iv, i64 8
  %53 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %4, ptr noundef nonnull align 4 dereferenceable(4) %52)
          to label %54 unwind label %180

54:                                               ; preds = %51
  %55 = getelementptr inbounds [50 x [50 x i32]], ptr @speed, i64 0, i64 %indvars.iv, i64 9
  %56 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %4, ptr noundef nonnull align 4 dereferenceable(4) %55)
          to label %57 unwind label %180

57:                                               ; preds = %54
  %58 = getelementptr inbounds [50 x [50 x i32]], ptr @speed, i64 0, i64 %indvars.iv, i64 10
  %59 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %4, ptr noundef nonnull align 4 dereferenceable(4) %58)
          to label %60 unwind label %180

60:                                               ; preds = %57
  %61 = getelementptr inbounds [50 x [50 x i32]], ptr @speed, i64 0, i64 %indvars.iv, i64 11
  %62 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %4, ptr noundef nonnull align 4 dereferenceable(4) %61)
          to label %63 unwind label %180

63:                                               ; preds = %60
  %64 = getelementptr inbounds [50 x [50 x i32]], ptr @speed, i64 0, i64 %indvars.iv, i64 12
  %65 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %4, ptr noundef nonnull align 4 dereferenceable(4) %64)
          to label %66 unwind label %180

66:                                               ; preds = %63
  %67 = getelementptr inbounds [50 x [50 x i32]], ptr @speed, i64 0, i64 %indvars.iv, i64 13
  %68 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %4, ptr noundef nonnull align 4 dereferenceable(4) %67)
          to label %69 unwind label %180

69:                                               ; preds = %66
  %70 = getelementptr inbounds [50 x [50 x i32]], ptr @speed, i64 0, i64 %indvars.iv, i64 14
  %71 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %4, ptr noundef nonnull align 4 dereferenceable(4) %70)
          to label %72 unwind label %180

72:                                               ; preds = %69
  %73 = getelementptr inbounds [50 x [50 x i32]], ptr @speed, i64 0, i64 %indvars.iv, i64 15
  %74 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %4, ptr noundef nonnull align 4 dereferenceable(4) %73)
          to label %75 unwind label %180

75:                                               ; preds = %72
  %76 = getelementptr inbounds [50 x [50 x i32]], ptr @speed, i64 0, i64 %indvars.iv, i64 16
  %77 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %4, ptr noundef nonnull align 4 dereferenceable(4) %76)
          to label %78 unwind label %180

78:                                               ; preds = %75
  %79 = getelementptr inbounds [50 x [50 x i32]], ptr @speed, i64 0, i64 %indvars.iv, i64 17
  %80 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %4, ptr noundef nonnull align 4 dereferenceable(4) %79)
          to label %81 unwind label %180

81:                                               ; preds = %78
  %82 = getelementptr inbounds [50 x [50 x i32]], ptr @speed, i64 0, i64 %indvars.iv, i64 18
  %83 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %4, ptr noundef nonnull align 4 dereferenceable(4) %82)
          to label %84 unwind label %180

84:                                               ; preds = %81
  %85 = getelementptr inbounds [50 x [50 x i32]], ptr @speed, i64 0, i64 %indvars.iv, i64 19
  %86 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %4, ptr noundef nonnull align 4 dereferenceable(4) %85)
          to label %87 unwind label %180

87:                                               ; preds = %84
  %88 = getelementptr inbounds [50 x [50 x i32]], ptr @speed, i64 0, i64 %indvars.iv, i64 20
  %89 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %4, ptr noundef nonnull align 4 dereferenceable(4) %88)
          to label %90 unwind label %180

90:                                               ; preds = %87
  %91 = getelementptr inbounds [50 x [50 x i32]], ptr @speed, i64 0, i64 %indvars.iv, i64 21
  %92 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %4, ptr noundef nonnull align 4 dereferenceable(4) %91)
          to label %93 unwind label %180

93:                                               ; preds = %90
  %94 = getelementptr inbounds [50 x [50 x i32]], ptr @speed, i64 0, i64 %indvars.iv, i64 22
  %95 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %4, ptr noundef nonnull align 4 dereferenceable(4) %94)
          to label %96 unwind label %180

96:                                               ; preds = %93
  %97 = getelementptr inbounds [50 x [50 x i32]], ptr @speed, i64 0, i64 %indvars.iv, i64 23
  %98 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %4, ptr noundef nonnull align 4 dereferenceable(4) %97)
          to label %99 unwind label %180

99:                                               ; preds = %96
  %100 = getelementptr inbounds [50 x [50 x i32]], ptr @speed, i64 0, i64 %indvars.iv, i64 24
  %101 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %4, ptr noundef nonnull align 4 dereferenceable(4) %100)
          to label %102 unwind label %180

102:                                              ; preds = %99
  %103 = getelementptr inbounds [50 x [50 x i32]], ptr @speed, i64 0, i64 %indvars.iv, i64 25
  %104 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %4, ptr noundef nonnull align 4 dereferenceable(4) %103)
          to label %105 unwind label %180

105:                                              ; preds = %102
  %106 = getelementptr inbounds [50 x [50 x i32]], ptr @speed, i64 0, i64 %indvars.iv, i64 26
  %107 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %4, ptr noundef nonnull align 4 dereferenceable(4) %106)
          to label %108 unwind label %180

108:                                              ; preds = %105
  %109 = getelementptr inbounds [50 x [50 x i32]], ptr @speed, i64 0, i64 %indvars.iv, i64 27
  %110 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %4, ptr noundef nonnull align 4 dereferenceable(4) %109)
          to label %111 unwind label %180

111:                                              ; preds = %108
  %112 = getelementptr inbounds [50 x [50 x i32]], ptr @speed, i64 0, i64 %indvars.iv, i64 28
  %113 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %4, ptr noundef nonnull align 4 dereferenceable(4) %112)
          to label %114 unwind label %180

114:                                              ; preds = %111
  %115 = getelementptr inbounds [50 x [50 x i32]], ptr @speed, i64 0, i64 %indvars.iv, i64 29
  %116 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %4, ptr noundef nonnull align 4 dereferenceable(4) %115)
          to label %117 unwind label %180

117:                                              ; preds = %114
  %118 = getelementptr inbounds [50 x [50 x i32]], ptr @speed, i64 0, i64 %indvars.iv, i64 30
  %119 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %4, ptr noundef nonnull align 4 dereferenceable(4) %118)
          to label %120 unwind label %180

120:                                              ; preds = %117
  %121 = getelementptr inbounds [50 x [50 x i32]], ptr @speed, i64 0, i64 %indvars.iv, i64 31
  %122 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %4, ptr noundef nonnull align 4 dereferenceable(4) %121)
          to label %123 unwind label %180

123:                                              ; preds = %120
  %124 = getelementptr inbounds [50 x [50 x i32]], ptr @speed, i64 0, i64 %indvars.iv, i64 32
  %125 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %4, ptr noundef nonnull align 4 dereferenceable(4) %124)
          to label %126 unwind label %180

126:                                              ; preds = %123
  %127 = getelementptr inbounds [50 x [50 x i32]], ptr @speed, i64 0, i64 %indvars.iv, i64 33
  %128 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %4, ptr noundef nonnull align 4 dereferenceable(4) %127)
          to label %129 unwind label %180

129:                                              ; preds = %126
  %130 = getelementptr inbounds [50 x [50 x i32]], ptr @speed, i64 0, i64 %indvars.iv, i64 34
  %131 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %4, ptr noundef nonnull align 4 dereferenceable(4) %130)
          to label %132 unwind label %180

132:                                              ; preds = %129
  %133 = getelementptr inbounds [50 x [50 x i32]], ptr @speed, i64 0, i64 %indvars.iv, i64 35
  %134 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %4, ptr noundef nonnull align 4 dereferenceable(4) %133)
          to label %135 unwind label %180

135:                                              ; preds = %132
  %136 = getelementptr inbounds [50 x [50 x i32]], ptr @speed, i64 0, i64 %indvars.iv, i64 36
  %137 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %4, ptr noundef nonnull align 4 dereferenceable(4) %136)
          to label %138 unwind label %180

138:                                              ; preds = %135
  %139 = getelementptr inbounds [50 x [50 x i32]], ptr @speed, i64 0, i64 %indvars.iv, i64 37
  %140 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %4, ptr noundef nonnull align 4 dereferenceable(4) %139)
          to label %141 unwind label %180

141:                                              ; preds = %138
  %142 = getelementptr inbounds [50 x [50 x i32]], ptr @speed, i64 0, i64 %indvars.iv, i64 38
  %143 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %4, ptr noundef nonnull align 4 dereferenceable(4) %142)
          to label %144 unwind label %180

144:                                              ; preds = %141
  %145 = getelementptr inbounds [50 x [50 x i32]], ptr @speed, i64 0, i64 %indvars.iv, i64 39
  %146 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %4, ptr noundef nonnull align 4 dereferenceable(4) %145)
          to label %147 unwind label %180

147:                                              ; preds = %144
  %148 = getelementptr inbounds [50 x [50 x i32]], ptr @speed, i64 0, i64 %indvars.iv, i64 40
  %149 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %4, ptr noundef nonnull align 4 dereferenceable(4) %148)
          to label %150 unwind label %180

150:                                              ; preds = %147
  %151 = getelementptr inbounds [50 x [50 x i32]], ptr @speed, i64 0, i64 %indvars.iv, i64 41
  %152 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %4, ptr noundef nonnull align 4 dereferenceable(4) %151)
          to label %153 unwind label %180

153:                                              ; preds = %150
  %154 = getelementptr inbounds [50 x [50 x i32]], ptr @speed, i64 0, i64 %indvars.iv, i64 42
  %155 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %4, ptr noundef nonnull align 4 dereferenceable(4) %154)
          to label %156 unwind label %180

156:                                              ; preds = %153
  %157 = getelementptr inbounds [50 x [50 x i32]], ptr @speed, i64 0, i64 %indvars.iv, i64 43
  %158 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %4, ptr noundef nonnull align 4 dereferenceable(4) %157)
          to label %159 unwind label %180

159:                                              ; preds = %156
  %160 = getelementptr inbounds [50 x [50 x i32]], ptr @speed, i64 0, i64 %indvars.iv, i64 44
  %161 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %4, ptr noundef nonnull align 4 dereferenceable(4) %160)
          to label %162 unwind label %180

162:                                              ; preds = %159
  %163 = getelementptr inbounds [50 x [50 x i32]], ptr @speed, i64 0, i64 %indvars.iv, i64 45
  %164 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %4, ptr noundef nonnull align 4 dereferenceable(4) %163)
          to label %165 unwind label %180

165:                                              ; preds = %162
  %166 = getelementptr inbounds [50 x [50 x i32]], ptr @speed, i64 0, i64 %indvars.iv, i64 46
  %167 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %4, ptr noundef nonnull align 4 dereferenceable(4) %166)
          to label %168 unwind label %180

168:                                              ; preds = %165
  %169 = getelementptr inbounds [50 x [50 x i32]], ptr @speed, i64 0, i64 %indvars.iv, i64 47
  %170 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %4, ptr noundef nonnull align 4 dereferenceable(4) %169)
          to label %171 unwind label %180

171:                                              ; preds = %168
  %172 = getelementptr inbounds [50 x [50 x i32]], ptr @speed, i64 0, i64 %indvars.iv, i64 48
  %173 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %4, ptr noundef nonnull align 4 dereferenceable(4) %172)
          to label %174 unwind label %180

174:                                              ; preds = %171
  %175 = getelementptr inbounds [50 x [50 x i32]], ptr @speed, i64 0, i64 %indvars.iv, i64 49
  %176 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %4, ptr noundef nonnull align 4 dereferenceable(4) %175)
          to label %177 unwind label %180

177:                                              ; preds = %174
  %178 = getelementptr inbounds [50 x i32], ptr @waiting, i64 0, i64 %indvars.iv
  %179 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %4, ptr noundef nonnull align 4 dereferenceable(4) %178)
          to label %182 unwind label %28

180:                                              ; preds = %174, %171, %168, %165, %162, %159, %156, %153, %150, %147, %144, %141, %138, %135, %132, %129, %126, %123, %120, %117, %114, %111, %108, %105, %102, %99, %96, %93, %90, %87, %84, %81, %78, %75, %72, %69, %66, %63, %60, %57, %54, %51, %48, %45, %42, %39, %36, %33, %30, %.preheader
  %181 = landingpad { ptr, i32 }
          cleanup
  br label %241

182:                                              ; preds = %177
  %183 = getelementptr inbounds [50 x i32], ptr @keikenchi, i64 0, i64 %indvars.iv
  %184 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %4, ptr noundef nonnull align 4 dereferenceable(4) %183)
          to label %185 unwind label %28

185:                                              ; preds = %182
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, 50
  br i1 %exitcond.not, label %17, label %.preheader25, !llvm.loop !5

186:                                              ; preds = %17
  call void @_ZNSt6vectorI4workSaIS0_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) @W) #5
  %187 = load i32, ptr @have, align 4, !tbaa !7
  %188 = icmp sgt i32 %187, 0
  br i1 %188, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %186
  %189 = getelementptr inbounds i8, ptr %6, i64 4
  %190 = getelementptr inbounds i8, ptr %6, i64 8
  %191 = getelementptr inbounds i8, ptr %6, i64 12
  %192 = getelementptr inbounds i8, ptr %6, i64 16
  %193 = getelementptr inbounds i8, ptr %6, i64 20
  br label %195

._crit_edge:                                      ; preds = %208, %186
  %194 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %4, ptr noundef nonnull align 4 dereferenceable(4) @outer)
          to label %214 unwind label %23

195:                                              ; preds = %.lr.ph, %208
  %.01328 = phi i32 [ 0, %.lr.ph ], [ %209, %208 ]
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %6) #5
  %196 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %4, ptr noundef nonnull align 4 dereferenceable(4) %6)
          to label %197 unwind label %212

197:                                              ; preds = %195
  %198 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %196, ptr noundef nonnull align 4 dereferenceable(4) %189)
          to label %199 unwind label %212

199:                                              ; preds = %197
  %200 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %198, ptr noundef nonnull align 4 dereferenceable(4) %190)
          to label %201 unwind label %212

201:                                              ; preds = %199
  %202 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %200, ptr noundef nonnull align 4 dereferenceable(4) %191)
          to label %203 unwind label %212

203:                                              ; preds = %201
  %204 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %202, ptr noundef nonnull align 4 dereferenceable(4) %192)
          to label %205 unwind label %212

205:                                              ; preds = %203
  %206 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %204, ptr noundef nonnull align 4 dereferenceable(4) %193)
          to label %207 unwind label %212

207:                                              ; preds = %205
  invoke void @_ZNSt6vectorI4workSaIS0_EE9push_backERKS0_(ptr noundef nonnull align 8 dereferenceable(24) @W, ptr noundef nonnull align 4 dereferenceable(24) %6)
          to label %208 unwind label %212

208:                                              ; preds = %207
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #5
  %209 = add nuw nsw i32 %.01328, 1
  %210 = load i32, ptr @have, align 4, !tbaa !7
  %211 = icmp slt i32 %209, %210
  br i1 %211, label %195, label %._crit_edge, !llvm.loop !11

212:                                              ; preds = %207, %205, %203, %201, %199, %197, %195
  %213 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #5
  br label %241

214:                                              ; preds = %._crit_edge
  call void @_ZNSt6vectorI4workSaIS0_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) @O) #5
  %215 = load i32, ptr @have, align 4, !tbaa !7
  %216 = icmp sgt i32 %215, 0
  br i1 %216, label %.lr.ph31, label %._crit_edge32

.lr.ph31:                                         ; preds = %214
  %217 = getelementptr inbounds i8, ptr %7, i64 4
  %218 = getelementptr inbounds i8, ptr %7, i64 8
  %219 = getelementptr inbounds i8, ptr %7, i64 12
  %220 = getelementptr inbounds i8, ptr %7, i64 16
  %221 = getelementptr inbounds i8, ptr %7, i64 20
  br label %222

._crit_edge32:                                    ; preds = %235, %214
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #5
  call void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(128) %4) #5
  call void @llvm.lifetime.end.p0(i64 392, ptr nonnull %4) #5
  ret void

222:                                              ; preds = %.lr.ph31, %235
  %.029 = phi i32 [ 0, %.lr.ph31 ], [ %236, %235 ]
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %7) #5
  %223 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %4, ptr noundef nonnull align 4 dereferenceable(4) %7)
          to label %224 unwind label %239

224:                                              ; preds = %222
  %225 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %223, ptr noundef nonnull align 4 dereferenceable(4) %217)
          to label %226 unwind label %239

226:                                              ; preds = %224
  %227 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %225, ptr noundef nonnull align 4 dereferenceable(4) %218)
          to label %228 unwind label %239

228:                                              ; preds = %226
  %229 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %227, ptr noundef nonnull align 4 dereferenceable(4) %219)
          to label %230 unwind label %239

230:                                              ; preds = %228
  %231 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %229, ptr noundef nonnull align 4 dereferenceable(4) %220)
          to label %232 unwind label %239

232:                                              ; preds = %230
  %233 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %231, ptr noundef nonnull align 4 dereferenceable(4) %221)
          to label %234 unwind label %239

234:                                              ; preds = %232
  invoke void @_ZNSt6vectorI4workSaIS0_EE9push_backERKS0_(ptr noundef nonnull align 8 dereferenceable(24) @O, ptr noundef nonnull align 4 dereferenceable(24) %7)
          to label %235 unwind label %239

235:                                              ; preds = %234
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #5
  %236 = add nuw nsw i32 %.029, 1
  %237 = load i32, ptr @have, align 4, !tbaa !7
  %238 = icmp slt i32 %236, %237
  br i1 %238, label %222, label %._crit_edge32, !llvm.loop !12

239:                                              ; preds = %234, %232, %230, %228, %226, %224, %222
  %240 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #5
  br label %241

241:                                              ; preds = %28, %180, %239, %212, %23
  %.pn.pn = phi { ptr, i32 } [ %213, %212 ], [ %240, %239 ], [ %24, %23 ], [ %181, %180 ], [ %29, %28 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #5
  br label %242

242:                                              ; preds = %241, %21
  %.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn, %241 ], [ %22, %21 ]
  call void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(128) %4) #5
  call void @llvm.lifetime.end.p0(i64 392, ptr nonnull %4) #5
  br label %243

243:                                              ; preds = %242, %19
  %.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn, %242 ], [ %20, %19 ]
  resume { ptr, i32 } %.pn.pn.pn.pn
}

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZStorSt13_Ios_OpenmodeS_(i32 noundef, i32 noundef) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEC1ERKNS_12basic_stringIcS2_S3_EESt13_Ios_Openmode(ptr noundef nonnull align 8 dereferenceable(128), ptr noundef nonnull align 8 dereferenceable(32), i32 noundef) unnamed_addr #2 align 2

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

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #4

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

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

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(128)) 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 = { 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 #4 = { "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 = distinct !{!5, !6}
!6 = !{!"llvm.loop.mustprogress"}
!7 = !{!8, !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C++ TBAA"}
!11 = distinct !{!11, !6}
!12 = distinct !{!12, !6}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass