; LLVM IR from UBIC-repo/core :: UBICalculator.ll (ZN13UBICalculator16totalReceivedUBIEP15AddressForStorej)

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

%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<DscToAddressLink, std::allocator<DscToAddressLink>>::_Vector_impl" }
%"struct.std::_Vector_base<DscToAddressLink, std::allocator<DscToAddressLink>>::_Vector_impl" = type { %"struct.std::_Vector_base<DscToAddressLink, std::allocator<DscToAddressLink>>::_Vector_impl_data" }
%"struct.std::_Vector_base<DscToAddressLink, std::allocator<DscToAddressLink>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%struct.UAmount = type { %"class.std::map" }
%"class.std::map" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<unsigned char, std::pair<const unsigned char, unsigned long>, std::_Select1st<std::pair<const unsigned char, unsigned long>>, std::less<unsigned char>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<unsigned char, std::pair<const unsigned char, unsigned long>, std::_Select1st<std::pair<const unsigned char, unsigned long>>, std::less<unsigned char>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }
%class.DscToAddressLink = type <{ %"class.std::vector.0", i32, [4 x i8], %"class.std::vector.0", i32, [4 x i8] }>
%"class.std::vector.0" = type { %"struct.std::_Vector_base.1" }
%"struct.std::_Vector_base.1" = type { %"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl" }
%"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl" = type { %"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl_data" }
%"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.30" = type { %"struct.std::_Vector_base.31" }
%"struct.std::_Vector_base.31" = type { %"struct.std::_Vector_base<std::pair<unsigned int, bool>, std::allocator<std::pair<unsigned int, bool>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::pair<unsigned int, bool>, std::allocator<std::pair<unsigned int, bool>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::pair<unsigned int, bool>, std::allocator<std::pair<unsigned int, bool>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::pair<unsigned int, bool>, std::allocator<std::pair<unsigned int, bool>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.35" = type { %"struct.std::_Vector_base.36" }
%"struct.std::_Vector_base.36" = type { %"struct.std::_Vector_base<std::pair<unsigned int, unsigned int>, std::allocator<std::pair<unsigned int, unsigned int>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::pair<unsigned int, unsigned int>, std::allocator<std::pair<unsigned int, unsigned int>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::pair<unsigned int, unsigned int>, std::allocator<std::pair<unsigned int, unsigned int>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::pair<unsigned int, unsigned int>, std::allocator<std::pair<unsigned int, unsigned int>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.__gnu_cxx::__normal_iterator.40" = type { ptr }
%"class.__gnu_cxx::__normal_iterator.41" = type { ptr }
%"struct.std::pair" = type { i32, i32 }
%"class.__gnu_cxx::__normal_iterator.44" = type { ptr }
%class.Log = type { i8, i8, ptr, %"class.std::basic_filebuf" }
%"class.std::basic_filebuf" = type { %"class.std::basic_streambuf", %union.pthread_mutex_t, %"class.std::__basic_file", i32, %struct.__mbstate_t, %struct.__mbstate_t, %struct.__mbstate_t, ptr, i64, i8, i8, i8, i8, ptr, ptr, i8, ptr, ptr, i64, ptr, ptr }
%"class.std::basic_streambuf" = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, %"class.std::locale" }
%"class.std::locale" = type { ptr }
%union.pthread_mutex_t = type { %struct.__pthread_mutex_s }
%struct.__pthread_mutex_s = type { i32, i32, i32, i32, i32, i16, i16, %struct.__pthread_internal_list }
%struct.__pthread_internal_list = type { ptr, ptr }
%"class.std::__basic_file" = type <{ ptr, i8, [7 x i8] }>
%struct.__mbstate_t = type { i32, %union.anon }
%union.anon = type { i32 }
%"struct.std::pair.42" = type <{ i32, i8, [3 x i8] }>

@.str = external hidden unnamed_addr constant [7 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [10 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 uwtable
declare dso_local void @_ZNK15AddressForStore20getDscToAddressLinksEv(ptr dead_on_unwind noalias writable sret(%"class.std::vector") align 8, ptr noundef nonnull align 8 dereferenceable(168)) #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorI16DscToAddressLinkSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #2 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 @_ZN13UBICalculator16totalReceivedUBIEP15AddressForStorej(ptr dead_on_unwind noalias writable sret(%struct.UAmount) align 8 %0, ptr noundef %1, i32 noundef %2) #1 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca i1, align 1
  %10 = alloca %"class.std::vector", align 8
  %11 = alloca ptr, align 8
  %12 = alloca i32, align 4
  %13 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %14 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %15 = alloca i32, align 4
  %16 = alloca %class.DscToAddressLink, align 8
  %17 = alloca ptr, align 8
  %18 = alloca %"class.std::vector.0", align 8
  %19 = alloca %class.DscToAddressLink, align 8
  %20 = alloca %"class.std::vector.30", align 8
  %21 = alloca %"class.std::vector.35", align 8
  %22 = alloca %"class.__gnu_cxx::__normal_iterator.40", align 8
  %23 = alloca %"class.__gnu_cxx::__normal_iterator.41", align 8
  %24 = alloca %"class.__gnu_cxx::__normal_iterator.41", align 8
  %25 = alloca %"struct.std::pair", align 4
  %26 = alloca i32, align 4
  %27 = alloca i32, align 4
  %28 = alloca %"struct.std::pair", align 4
  %29 = alloca %"class.__gnu_cxx::__normal_iterator.41", align 8
  %30 = alloca %"struct.std::pair", align 4
  %31 = alloca i32, align 4
  %32 = alloca i32, align 4
  %33 = alloca i8, align 1
  %34 = alloca %"class.__gnu_cxx::__normal_iterator.40", align 8
  %35 = alloca %"class.__gnu_cxx::__normal_iterator.41", align 8
  %36 = alloca ptr, align 8
  %37 = alloca %"class.__gnu_cxx::__normal_iterator.44", align 8
  %38 = alloca %"class.__gnu_cxx::__normal_iterator.44", align 8
  %39 = alloca %"struct.std::pair", align 4
  %40 = alloca %class.Log, align 8
  %41 = alloca %struct.UAmount, align 8
  %42 = alloca i8, align 1
  %43 = alloca i8, align 1
  %44 = alloca %struct.UAmount, align 8
  %45 = alloca i8, align 1
  %46 = alloca i8, align 1
  %47 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %48 = alloca %class.Log, align 8
  %49 = alloca %struct.UAmount, align 8
  store ptr %0, ptr %4, align 8
  store ptr %1, ptr %5, align 8, !tbaa !5
  store i32 %2, ptr %6, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #8
  %50 = call noundef nonnull align 8 dereferenceable(152) ptr @_ZN9CertStore8InstanceEv()
  store ptr %50, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #8
  %51 = call noundef nonnull align 8 dereferenceable(384) ptr @_ZN7PathSum8InstanceEv()
  store ptr %51, ptr %8, align 8, !tbaa !5
  store i1 false, ptr %9, align 1
  call void @_ZN7UAmountC2Ev(ptr noundef nonnull align 8 dereferenceable(48) %0) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr %10) #8
  %52 = load ptr, ptr %5, align 8, !tbaa !5
  invoke void @_ZNK15AddressForStore20getDscToAddressLinksEv(ptr dead_on_unwind writable sret(%"class.std::vector") align 8 %10, ptr noundef nonnull align 8 dereferenceable(168) %52)
          to label %53 unwind label %93

53:                                               ; preds = %3
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #8
  %54 = call ptr @_ZNSt6vectorI16DscToAddressLinkSaIS0_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %10) #8
  %55 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %13, i32 0, i32 0
  store ptr %54, ptr %55, align 8
  br label %56

56:                                               ; preds = %319, %53
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #8
  %57 = call ptr @_ZNSt6vectorI16DscToAddressLinkSaIS0_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %10) #8
  %58 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %14, i32 0, i32 0
  store ptr %57, ptr %58, align 8
  %59 = call noundef zeroext i1 @_ZN9__gnu_cxxneIP16DscToAddressLinkSt6vectorIS1_SaIS1_EEEEbRKNS_17__normal_iteratorIT_T0_EESB_(ptr noundef nonnull align 8 dereferenceable(8) %13, ptr noundef nonnull align 8 dereferenceable(8) %14) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #8
  br i1 %59, label %60, label %326

60:                                               ; preds = %56
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #8
  call void @llvm.lifetime.start.p0(i64 64, ptr %16) #8
  %61 = call noundef nonnull align 8 dereferenceable(60) ptr @_ZNK9__gnu_cxx17__normal_iteratorIP16DscToAddressLinkSt6vectorIS1_SaIS1_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %13) #8
  invoke void @_ZN16DscToAddressLinkC2ERKS_(ptr noundef nonnull align 8 dereferenceable(60) %16, ptr noundef nonnull align 8 dereferenceable(60) %61)
          to label %62 unwind label %97

62:                                               ; preds = %60
  %63 = invoke noundef i32 @_ZNK16DscToAddressLink20getDSCLinkedAtHeightEv(ptr noundef nonnull align 8 dereferenceable(60) %16)
          to label %64 unwind label %101

64:                                               ; preds = %62
  call void @_ZN16DscToAddressLinkD2Ev(ptr noundef nonnull align 8 dereferenceable(60) %16) #8
  call void @llvm.lifetime.end.p0(i64 64, ptr %16) #8
  store i32 %63, ptr %15, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #8
  %65 = load ptr, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 64, ptr %19) #8
  %66 = call noundef nonnull align 8 dereferenceable(60) ptr @_ZNK9__gnu_cxx17__normal_iteratorIP16DscToAddressLinkSt6vectorIS1_SaIS1_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %13) #8
  invoke void @_ZN16DscToAddressLinkC2ERKS_(ptr noundef nonnull align 8 dereferenceable(60) %19, ptr noundef nonnull align 8 dereferenceable(60) %66)
          to label %67 unwind label %106

67:                                               ; preds = %64
  %68 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNK16DscToAddressLink17getDscCertificateEv(ptr noundef nonnull align 8 dereferenceable(60) %19)
          to label %69 unwind label %110

69:                                               ; preds = %67
  invoke void @_ZNSt6vectorIhSaIhEEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %18, ptr noundef nonnull align 8 dereferenceable(24) %68)
          to label %70 unwind label %110

70:                                               ; preds = %69
  %71 = invoke noundef ptr @_ZN9CertStore20getDscCertWithCertIdESt6vectorIhSaIhEE(ptr noundef nonnull align 8 dereferenceable(152) %65, ptr noundef %18)
          to label %72 unwind label %114

72:                                               ; preds = %70
  call void @_ZNSt6vectorIhSaIhEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %18) #8
  call void @_ZN16DscToAddressLinkD2Ev(ptr noundef nonnull align 8 dereferenceable(60) %19) #8
  call void @llvm.lifetime.end.p0(i64 64, ptr %19) #8
  store ptr %71, ptr %17, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 24, ptr %20) #8
  %73 = load ptr, ptr %17, align 8, !tbaa !5
  invoke void @_ZN4Cert13getStatusListEv(ptr dead_on_unwind writable sret(%"class.std::vector.30") align 8 %20, ptr noundef nonnull align 8 dereferenceable(96) %73)
          to label %74 unwind label %120

74:                                               ; preds = %72
  call void @llvm.lifetime.start.p0(i64 24, ptr %21) #8
  call void @_ZNSt6vectorISt4pairIjjESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %21) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #8
  %75 = call ptr @_ZNSt6vectorISt4pairIjbESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %20) #8
  %76 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.41", ptr %23, i32 0, i32 0
  store ptr %75, ptr %76, align 8
  call void @_ZN9__gnu_cxx17__normal_iteratorIPKSt4pairIjbESt6vectorIS2_SaIS2_EEEC2IPS2_vEERKNS0_IT_S7_EE(ptr noundef nonnull align 8 dereferenceable(8) %22, ptr noundef nonnull align 8 dereferenceable(8) %23) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #8
  %77 = call ptr @_ZNSt6vectorISt4pairIjbESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %20) #8
  %78 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.41", ptr %24, i32 0, i32 0
  store ptr %77, ptr %78, align 8
  %79 = call noundef zeroext i1 @_ZN9__gnu_cxxeqIPKSt4pairIjbEPS2_St6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T1_EERKNS9_IT0_SB_EE(ptr noundef nonnull align 8 dereferenceable(8) %22, ptr noundef nonnull align 8 dereferenceable(8) %24) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #8
  br i1 %79, label %80, label %138

80:                                               ; preds = %74
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #8
  store i32 0, ptr %26, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #8
  store i32 0, ptr %27, align 4, !tbaa !9
  invoke void @_ZNSt4pairIjjEC2IiiTnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS3_S4_EEEbE4typeELb1EEEOS3_OS4_(ptr noundef nonnull align 4 dereferenceable(8) %25, ptr noundef nonnull align 4 dereferenceable(4) %26, ptr noundef nonnull align 4 dereferenceable(4) %27)
          to label %81 unwind label %124

81:                                               ; preds = %80
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #8
  %82 = call noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKSt4pairIjbESt6vectorIS2_SaIS2_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %22) #8
  %83 = getelementptr inbounds %"struct.std::pair.42", ptr %82, i32 0, i32 0
  invoke void @_ZNSt4pairIjjEC2IRKjRjTnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS6_S7_EEEbE4typeELb1EEEOS6_OS7_(ptr noundef nonnull align 4 dereferenceable(8) %28, ptr noundef nonnull align 4 dereferenceable(4) %83, ptr noundef nonnull align 4 dereferenceable(4) %6)
          to label %84 unwind label %128

84:                                               ; preds = %81
  %85 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt4pairIjjEaSEOS0_(ptr noundef nonnull align 4 dereferenceable(8) %25, ptr noundef nonnull align 4 dereferenceable(8) %28) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #8
  %86 = call noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKSt4pairIjbESt6vectorIS2_SaIS2_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %22) #8
  %87 = getelementptr inbounds %"struct.std::pair.42", ptr %86, i32 0, i32 1
  %88 = load i8, ptr %87, align 4, !tbaa !11, !range !14, !noundef !15
  %89 = trunc i8 %88 to i1
  br i1 %89, label %90, label %136

90:                                               ; preds = %84
  %91 = invoke noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIjjESaIS1_EE12emplace_backIJRS1_EEES5_DpOT_(ptr noundef nonnull align 8 dereferenceable(24) %21, ptr noundef nonnull align 4 dereferenceable(8) %25)
          to label %92 unwind label %132

92:                                               ; preds = %90
  br label %136

93:                                               ; preds = %3
  %94 = landingpad { ptr, i32 }
          cleanup
  %95 = extractvalue { ptr, i32 } %94, 0
  store ptr %95, ptr %11, align 8
  %96 = extractvalue { ptr, i32 } %94, 1
  store i32 %96, ptr %12, align 4
  br label %349

97:                                               ; preds = %60
  %98 = landingpad { ptr, i32 }
          cleanup
  %99 = extractvalue { ptr, i32 } %98, 0
  store ptr %99, ptr %11, align 8
  %100 = extractvalue { ptr, i32 } %98, 1
  store i32 %100, ptr %12, align 4
  br label %105

101:                                              ; preds = %62
  %102 = landingpad { ptr, i32 }
          cleanup
  %103 = extractvalue { ptr, i32 } %102, 0
  store ptr %103, ptr %11, align 8
  %104 = extractvalue { ptr, i32 } %102, 1
  store i32 %104, ptr %12, align 4
  call void @_ZN16DscToAddressLinkD2Ev(ptr noundef nonnull align 8 dereferenceable(60) %16) #8
  br label %105

105:                                              ; preds = %101, %97
  call void @llvm.lifetime.end.p0(i64 64, ptr %16) #8
  br label %325

106:                                              ; preds = %64
  %107 = landingpad { ptr, i32 }
          cleanup
  %108 = extractvalue { ptr, i32 } %107, 0
  store ptr %108, ptr %11, align 8
  %109 = extractvalue { ptr, i32 } %107, 1
  store i32 %109, ptr %12, align 4
  br label %119

110:                                              ; preds = %69, %67
  %111 = landingpad { ptr, i32 }
          cleanup
  %112 = extractvalue { ptr, i32 } %111, 0
  store ptr %112, ptr %11, align 8
  %113 = extractvalue { ptr, i32 } %111, 1
  store i32 %113, ptr %12, align 4
  br label %118

114:                                              ; preds = %70
  %115 = landingpad { ptr, i32 }
          cleanup
  %116 = extractvalue { ptr, i32 } %115, 0
  store ptr %116, ptr %11, align 8
  %117 = extractvalue { ptr, i32 } %115, 1
  store i32 %117, ptr %12, align 4
  call void @_ZNSt6vectorIhSaIhEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %18) #8
  br label %118

118:                                              ; preds = %114, %110
  call void @_ZN16DscToAddressLinkD2Ev(ptr noundef nonnull align 8 dereferenceable(60) %19) #8
  br label %119

119:                                              ; preds = %118, %106
  call void @llvm.lifetime.end.p0(i64 64, ptr %19) #8
  br label %324

120:                                              ; preds = %72
  %121 = landingpad { ptr, i32 }
          cleanup
  %122 = extractvalue { ptr, i32 } %121, 0
  store ptr %122, ptr %11, align 8
  %123 = extractvalue { ptr, i32 } %121, 1
  store i32 %123, ptr %12, align 4
  br label %323

124:                                              ; preds = %80
  %125 = landingpad { ptr, i32 }
          cleanup
  %126 = extractvalue { ptr, i32 } %125, 0
  store ptr %126, ptr %11, align 8
  %127 = extractvalue { ptr, i32 } %125, 1
  store i32 %127, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #8
  br label %137

128:                                              ; preds = %81
  %129 = landingpad { ptr, i32 }
          cleanup
  %130 = extractvalue { ptr, i32 } %129, 0
  store ptr %130, ptr %11, align 8
  %131 = extractvalue { ptr, i32 } %129, 1
  store i32 %131, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #8
  br label %137

132:                                              ; preds = %90
  %133 = landingpad { ptr, i32 }
          cleanup
  %134 = extractvalue { ptr, i32 } %133, 0
  store ptr %134, ptr %11, align 8
  %135 = extractvalue { ptr, i32 } %133, 1
  store i32 %135, ptr %12, align 4
  br label %137

136:                                              ; preds = %92, %84
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #8
  br label %184

137:                                              ; preds = %132, %128, %124
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #8
  br label %322

138:                                              ; preds = %74
  br label %139

139:                                              ; preds = %181, %138
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #8
  %140 = call ptr @_ZNSt6vectorISt4pairIjbESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %20) #8
  %141 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.41", ptr %29, i32 0, i32 0
  store ptr %140, ptr %141, align 8
  %142 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKSt4pairIjbEPS2_St6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T1_EERKNS9_IT0_SB_EE(ptr noundef nonnull align 8 dereferenceable(8) %22, ptr noundef nonnull align 8 dereferenceable(8) %29) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #8
  br i1 %142, label %143, label %183

143:                                              ; preds = %139
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %31) #8
  store i32 0, ptr %31, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %32) #8
  store i32 0, ptr %32, align 4, !tbaa !9
  invoke void @_ZNSt4pairIjjEC2IiiTnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS3_S4_EEEbE4typeELb1EEEOS3_OS4_(ptr noundef nonnull align 4 dereferenceable(8) %30, ptr noundef nonnull align 4 dereferenceable(4) %31, ptr noundef nonnull align 4 dereferenceable(4) %32)
          to label %144 unwind label %162

144:                                              ; preds = %143
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #8
  %145 = call noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKSt4pairIjbESt6vectorIS2_SaIS2_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %22) #8
  %146 = getelementptr inbounds %"struct.std::pair.42", ptr %145, i32 0, i32 0
  %147 = load i32, ptr %146, align 4, !tbaa !16
  %148 = getelementptr inbounds %"struct.std::pair", ptr %30, i32 0, i32 0
  store i32 %147, ptr %148, align 4, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 1, ptr %33) #8
  %149 = call noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKSt4pairIjbESt6vectorIS2_SaIS2_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %22) #8
  %150 = getelementptr inbounds %"struct.std::pair.42", ptr %149, i32 0, i32 1
  %151 = load i8, ptr %150, align 4, !tbaa !11, !range !14, !noundef !15
  %152 = trunc i8 %151 to i1
  %153 = zext i1 %152 to i8
  store i8 %153, ptr %33, align 1, !tbaa !19
  %154 = call ptr @_ZN9__gnu_cxx17__normal_iteratorIPKSt4pairIjbESt6vectorIS2_SaIS2_EEEppEi(ptr noundef nonnull align 8 dereferenceable(8) %22, i32 noundef 0) #8
  %155 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.40", ptr %34, i32 0, i32 0
  store ptr %154, ptr %155, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %35) #8
  %156 = call ptr @_ZNSt6vectorISt4pairIjbESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %20) #8
  %157 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.41", ptr %35, i32 0, i32 0
  store ptr %156, ptr %157, align 8
  %158 = call noundef zeroext i1 @_ZN9__gnu_cxxeqIPKSt4pairIjbEPS2_St6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T1_EERKNS9_IT0_SB_EE(ptr noundef nonnull align 8 dereferenceable(8) %22, ptr noundef nonnull align 8 dereferenceable(8) %35) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #8
  br i1 %158, label %159, label %166

159:                                              ; preds = %144
  %160 = load i32, ptr %6, align 4, !tbaa !9
  %161 = getelementptr inbounds %"struct.std::pair", ptr %30, i32 0, i32 1
  store i32 %160, ptr %161, align 4, !tbaa !20
  br label %171

162:                                              ; preds = %143
  %163 = landingpad { ptr, i32 }
          cleanup
  %164 = extractvalue { ptr, i32 } %163, 0
  store ptr %164, ptr %11, align 8
  %165 = extractvalue { ptr, i32 } %163, 1
  store i32 %165, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #8
  br label %182

166:                                              ; preds = %144
  %167 = call noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKSt4pairIjbESt6vectorIS2_SaIS2_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %22) #8
  %168 = getelementptr inbounds %"struct.std::pair.42", ptr %167, i32 0, i32 0
  %169 = load i32, ptr %168, align 4, !tbaa !16
  %170 = getelementptr inbounds %"struct.std::pair", ptr %30, i32 0, i32 1
  store i32 %169, ptr %170, align 4, !tbaa !20
  br label %171

171:                                              ; preds = %166, %159
  %172 = load i8, ptr %33, align 1, !tbaa !19, !range !14, !noundef !15
  %173 = trunc i8 %172 to i1
  br i1 %173, label %174, label %181

174:                                              ; preds = %171
  %175 = invoke noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIjjESaIS1_EE12emplace_backIJRS1_EEES5_DpOT_(ptr noundef nonnull align 8 dereferenceable(24) %21, ptr noundef nonnull align 4 dereferenceable(8) %30)
          to label %176 unwind label %177

176:                                              ; preds = %174
  br label %181

177:                                              ; preds = %174
  %178 = landingpad { ptr, i32 }
          cleanup
  %179 = extractvalue { ptr, i32 } %178, 0
  store ptr %179, ptr %11, align 8
  %180 = extractvalue { ptr, i32 } %178, 1
  store i32 %180, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %33) #8
  br label %182

181:                                              ; preds = %176, %171
  call void @llvm.lifetime.end.p0(i64 1, ptr %33) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #8
  br label %139, !llvm.loop !21

182:                                              ; preds = %177, %162
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #8
  br label %322

183:                                              ; preds = %139
  br label %184

184:                                              ; preds = %183, %136
  call void @llvm.lifetime.start.p0(i64 8, ptr %36) #8
  store ptr %21, ptr %36, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %37) #8
  %185 = load ptr, ptr %36, align 8, !tbaa !5
  %186 = call ptr @_ZNSt6vectorISt4pairIjjESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %185) #8
  %187 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.44", ptr %37, i32 0, i32 0
  store ptr %186, ptr %187, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %38) #8
  %188 = load ptr, ptr %36, align 8, !tbaa !5
  %189 = call ptr @_ZNSt6vectorISt4pairIjjESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %188) #8
  %190 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.44", ptr %38, i32 0, i32 0
  store ptr %189, ptr %190, align 8
  br label %191

191:                                              ; preds = %316, %184
  %192 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPSt4pairIjjESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %37, ptr noundef nonnull align 8 dereferenceable(8) %38) #8
  br i1 %192, label %194, label %193

193:                                              ; preds = %191
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #8
  br label %319

194:                                              ; preds = %191
  call void @llvm.lifetime.start.p0(i64 8, ptr %39) #8
  %195 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPSt4pairIjjESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %37) #8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %39, ptr align 4 %195, i64 8, i1 false)
  call void @llvm.lifetime.start.p0(i64 256, ptr %40) #8
  invoke void @_ZN3LogC1Eh(ptr noundef nonnull align 8 dereferenceable(256) %40, i8 noundef zeroext 0)
          to label %196 unwind label %219

196:                                              ; preds = %194
  %197 = invoke noundef nonnull align 8 dereferenceable(256) ptr @_ZN3LoglsEPKc(ptr noundef nonnull align 8 dereferenceable(256) %40, ptr noundef @.str)
          to label %198 unwind label %223

198:                                              ; preds = %196
  %199 = getelementptr inbounds %"struct.std::pair", ptr %39, i32 0, i32 0
  %200 = load i32, ptr %199, align 4, !tbaa !17
  %201 = invoke noundef nonnull align 8 dereferenceable(256) ptr @_ZN3LoglsEj(ptr noundef nonnull align 8 dereferenceable(256) %197, i32 noundef %200)
          to label %202 unwind label %223

202:                                              ; preds = %198
  %203 = invoke noundef nonnull align 8 dereferenceable(256) ptr @_ZN3LoglsEPKc(ptr noundef nonnull align 8 dereferenceable(256) %201, ptr noundef @.str.1)
          to label %204 unwind label %223

204:                                              ; preds = %202
  %205 = getelementptr inbounds %"struct.std::pair", ptr %39, i32 0, i32 1
  %206 = load i32, ptr %205, align 4, !tbaa !20
  %207 = invoke noundef nonnull align 8 dereferenceable(256) ptr @_ZN3LoglsEj(ptr noundef nonnull align 8 dereferenceable(256) %203, i32 noundef %206)
          to label %208 unwind label %223

208:                                              ; preds = %204
  %209 = invoke noundef nonnull align 8 dereferenceable(256) ptr @_ZN3LoglsEPKc(ptr noundef nonnull align 8 dereferenceable(256) %207, ptr noundef @.str.2)
          to label %210 unwind label %223

210:                                              ; preds = %208
  %211 = load i32, ptr %15, align 4, !tbaa !9
  %212 = invoke noundef nonnull align 8 dereferenceable(256) ptr @_ZN3LoglsEj(ptr noundef nonnull align 8 dereferenceable(256) %209, i32 noundef %211)
          to label %213 unwind label %223

213:                                              ; preds = %210
  call void @_ZN3LogD1Ev(ptr noundef nonnull align 8 dereferenceable(256) %40) #8
  call void @llvm.lifetime.end.p0(i64 256, ptr %40) #8
  %214 = load i32, ptr %15, align 4, !tbaa !9
  %215 = getelementptr inbounds %"struct.std::pair", ptr %39, i32 0, i32 1
  %216 = load i32, ptr %215, align 4, !tbaa !20
  %217 = icmp ugt i32 %214, %216
  br i1 %217, label %218, label %228

218:                                              ; preds = %213
  br label %315

219:                                              ; preds = %194
  %220 = landingpad { ptr, i32 }
          cleanup
  %221 = extractvalue { ptr, i32 } %220, 0
  store ptr %221, ptr %11, align 8
  %222 = extractvalue { ptr, i32 } %220, 1
  store i32 %222, ptr %12, align 4
  br label %227

223:                                              ; preds = %210, %208, %204, %202, %198, %196
  %224 = landingpad { ptr, i32 }
          cleanup
  %225 = extractvalue { ptr, i32 } %224, 0
  store ptr %225, ptr %11, align 8
  %226 = extractvalue { ptr, i32 } %224, 1
  store i32 %226, ptr %12, align 4
  call void @_ZN3LogD1Ev(ptr noundef nonnull align 8 dereferenceable(256) %40) #8
  br label %227

227:                                              ; preds = %223, %219
  call void @llvm.lifetime.end.p0(i64 256, ptr %40) #8
  br label %318

228:                                              ; preds = %213
  %229 = load i32, ptr %15, align 4, !tbaa !9
  %230 = getelementptr inbounds %"struct.std::pair", ptr %39, i32 0, i32 0
  %231 = load i32, ptr %230, align 4, !tbaa !17
  %232 = icmp ugt i32 %229, %231
  br i1 %232, label %233, label %270

233:                                              ; preds = %228
  call void @llvm.lifetime.start.p0(i64 48, ptr %41) #8
  %234 = load ptr, ptr %8, align 8, !tbaa !5
  %235 = load i32, ptr %15, align 4, !tbaa !9
  %236 = zext i32 %235 to i64
  %237 = getelementptr inbounds %"struct.std::pair", ptr %39, i32 0, i32 1
  %238 = load i32, ptr %237, align 4, !tbaa !20
  %239 = zext i32 %238 to i64
  invoke void @_ZN7PathSum6getSumEmm(ptr dead_on_unwind writable sret(%struct.UAmount) align 8 %41, ptr noundef nonnull align 8 dereferenceable(384) %234, i64 noundef %236, i64 noundef %239)
          to label %240 unwind label %256

240:                                              ; preds = %233
  %241 = getelementptr inbounds %struct.UAmount, ptr %41, i32 0, i32 0
  call void @llvm.lifetime.start.p0(i64 1, ptr %42) #8
  %242 = load ptr, ptr %17, align 8, !tbaa !5
  %243 = invoke noundef zeroext i8 @_ZN4Cert13getCurrencyIdEv(ptr noundef nonnull align 8 dereferenceable(96) %242)
          to label %244 unwind label %260

244:                                              ; preds = %240
  store i8 %243, ptr %42, align 1, !tbaa !23
  %245 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt3mapIhmSt4lessIhESaISt4pairIKhmEEEixEOh(ptr noundef nonnull align 8 dereferenceable(48) %241, ptr noundef nonnull align 1 dereferenceable(1) %42)
          to label %246 unwind label %260

246:                                              ; preds = %244
  %247 = load i64, ptr %245, align 8, !tbaa !24
  %248 = getelementptr inbounds %struct.UAmount, ptr %0, i32 0, i32 0
  call void @llvm.lifetime.start.p0(i64 1, ptr %43) #8
  %249 = load ptr, ptr %17, align 8, !tbaa !5
  %250 = invoke noundef zeroext i8 @_ZN4Cert13getCurrencyIdEv(ptr noundef nonnull align 8 dereferenceable(96) %249)
          to label %251 unwind label %264

251:                                              ; preds = %246
  store i8 %250, ptr %43, align 1, !tbaa !23
  %252 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt3mapIhmSt4lessIhESaISt4pairIKhmEEEixEOh(ptr noundef nonnull align 8 dereferenceable(48) %248, ptr noundef nonnull align 1 dereferenceable(1) %43)
          to label %253 unwind label %264

253:                                              ; preds = %251
  %254 = load i64, ptr %252, align 8, !tbaa !24
  %255 = add i64 %254, %247
  store i64 %255, ptr %252, align 8, !tbaa !24
  call void @llvm.lifetime.end.p0(i64 1, ptr %43) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %42) #8
  call void @_ZN7UAmountD2Ev(ptr noundef nonnull align 8 dereferenceable(48) %41) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %41) #8
  br label %314

256:                                              ; preds = %233
  %257 = landingpad { ptr, i32 }
          cleanup
  %258 = extractvalue { ptr, i32 } %257, 0
  store ptr %258, ptr %11, align 8
  %259 = extractvalue { ptr, i32 } %257, 1
  store i32 %259, ptr %12, align 4
  br label %269

260:                                              ; preds = %244, %240
  %261 = landingpad { ptr, i32 }
          cleanup
  %262 = extractvalue { ptr, i32 } %261, 0
  store ptr %262, ptr %11, align 8
  %263 = extractvalue { ptr, i32 } %261, 1
  store i32 %263, ptr %12, align 4
  br label %268

264:                                              ; preds = %251, %246
  %265 = landingpad { ptr, i32 }
          cleanup
  %266 = extractvalue { ptr, i32 } %265, 0
  store ptr %266, ptr %11, align 8
  %267 = extractvalue { ptr, i32 } %265, 1
  store i32 %267, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %43) #8
  br label %268

268:                                              ; preds = %264, %260
  call void @llvm.lifetime.end.p0(i64 1, ptr %42) #8
  call void @_ZN7UAmountD2Ev(ptr noundef nonnull align 8 dereferenceable(48) %41) #8
  br label %269

269:                                              ; preds = %268, %256
  call void @llvm.lifetime.end.p0(i64 48, ptr %41) #8
  br label %318

270:                                              ; preds = %228
  %271 = load i32, ptr %15, align 4, !tbaa !9
  %272 = getelementptr inbounds %"struct.std::pair", ptr %39, i32 0, i32 0
  %273 = load i32, ptr %272, align 4, !tbaa !17
  %274 = icmp ult i32 %271, %273
  br i1 %274, label %275, label %313

275:                                              ; preds = %270
  call void @llvm.lifetime.start.p0(i64 48, ptr %44) #8
  %276 = load ptr, ptr %8, align 8, !tbaa !5
  %277 = getelementptr inbounds %"struct.std::pair", ptr %39, i32 0, i32 0
  %278 = load i32, ptr %277, align 4, !tbaa !17
  %279 = zext i32 %278 to i64
  %280 = getelementptr inbounds %"struct.std::pair", ptr %39, i32 0, i32 1
  %281 = load i32, ptr %280, align 4, !tbaa !20
  %282 = zext i32 %281 to i64
  invoke void @_ZN7PathSum6getSumEmm(ptr dead_on_unwind writable sret(%struct.UAmount) align 8 %44, ptr noundef nonnull align 8 dereferenceable(384) %276, i64 noundef %279, i64 noundef %282)
          to label %283 unwind label %299

283:                                              ; preds = %275
  %284 = getelementptr inbounds %struct.UAmount, ptr %44, i32 0, i32 0
  call void @llvm.lifetime.start.p0(i64 1, ptr %45) #8
  %285 = load ptr, ptr %17, align 8, !tbaa !5
  %286 = invoke noundef zeroext i8 @_ZN4Cert13getCurrencyIdEv(ptr noundef nonnull align 8 dereferenceable(96) %285)
          to label %287 unwind label %303

287:                                              ; preds = %283
  store i8 %286, ptr %45, align 1, !tbaa !23
  %288 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt3mapIhmSt4lessIhESaISt4pairIKhmEEEixEOh(ptr noundef nonnull align 8 dereferenceable(48) %284, ptr noundef nonnull align 1 dereferenceable(1) %45)
          to label %289 unwind label %303

289:                                              ; preds = %287
  %290 = load i64, ptr %288, align 8, !tbaa !24
  %291 = getelementptr inbounds %struct.UAmount, ptr %0, i32 0, i32 0
  call void @llvm.lifetime.start.p0(i64 1, ptr %46) #8
  %292 = load ptr, ptr %17, align 8, !tbaa !5
  %293 = invoke noundef zeroext i8 @_ZN4Cert13getCurrencyIdEv(ptr noundef nonnull align 8 dereferenceable(96) %292)
          to label %294 unwind label %307

294:                                              ; preds = %289
  store i8 %293, ptr %46, align 1, !tbaa !23
  %295 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt3mapIhmSt4lessIhESaISt4pairIKhmEEEixEOh(ptr noundef nonnull align 8 dereferenceable(48) %291, ptr noundef nonnull align 1 dereferenceable(1) %46)
          to label %296 unwind label %307

296:                                              ; preds = %294
  %297 = load i64, ptr %295, align 8, !tbaa !24
  %298 = add i64 %297, %290
  store i64 %298, ptr %295, align 8, !tbaa !24
  call void @llvm.lifetime.end.p0(i64 1, ptr %46) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %45) #8
  call void @_ZN7UAmountD2Ev(ptr noundef nonnull align 8 dereferenceable(48) %44) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %44) #8
  br label %313

299:                                              ; preds = %275
  %300 = landingpad { ptr, i32 }
          cleanup
  %301 = extractvalue { ptr, i32 } %300, 0
  store ptr %301, ptr %11, align 8
  %302 = extractvalue { ptr, i32 } %300, 1
  store i32 %302, ptr %12, align 4
  br label %312

303:                                              ; preds = %287, %283
  %304 = landingpad { ptr, i32 }
          cleanup
  %305 = extractvalue { ptr, i32 } %304, 0
  store ptr %305, ptr %11, align 8
  %306 = extractvalue { ptr, i32 } %304, 1
  store i32 %306, ptr %12, align 4
  br label %311

307:                                              ; preds = %294, %289
  %308 = landingpad { ptr, i32 }
          cleanup
  %309 = extractvalue { ptr, i32 } %308, 0
  store ptr %309, ptr %11, align 8
  %310 = extractvalue { ptr, i32 } %308, 1
  store i32 %310, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %46) #8
  br label %311

311:                                              ; preds = %307, %303
  call void @llvm.lifetime.end.p0(i64 1, ptr %45) #8
  call void @_ZN7UAmountD2Ev(ptr noundef nonnull align 8 dereferenceable(48) %44) #8
  br label %312

312:                                              ; preds = %311, %299
  call void @llvm.lifetime.end.p0(i64 48, ptr %44) #8
  br label %318

313:                                              ; preds = %296, %270
  br label %314

314:                                              ; preds = %313, %253
  br label %315

315:                                              ; preds = %314, %218
  call void @llvm.lifetime.end.p0(i64 8, ptr %39) #8
  br label %316

316:                                              ; preds = %315
  %317 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPSt4pairIjjESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %37) #8
  br label %191

318:                                              ; preds = %312, %269, %227
  call void @llvm.lifetime.end.p0(i64 8, ptr %39) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #8
  br label %322

319:                                              ; preds = %193
  %320 = call ptr @_ZN9__gnu_cxx17__normal_iteratorIP16DscToAddressLinkSt6vectorIS1_SaIS1_EEEppEi(ptr noundef nonnull align 8 dereferenceable(8) %13, i32 noundef 0) #8
  %321 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %47, i32 0, i32 0
  store ptr %320, ptr %321, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #8
  call void @_ZNSt6vectorISt4pairIjjESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %21) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %21) #8
  call void @_ZNSt6vectorISt4pairIjbESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %20) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %20) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #8
  br label %56, !llvm.loop !26

322:                                              ; preds = %318, %182, %137
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #8
  call void @_ZNSt6vectorISt4pairIjjESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %21) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %21) #8
  call void @_ZNSt6vectorISt4pairIjbESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %20) #8
  br label %323

323:                                              ; preds = %322, %120
  call void @llvm.lifetime.end.p0(i64 24, ptr %20) #8
  br label %324

324:                                              ; preds = %323, %119
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #8
  br label %325

325:                                              ; preds = %324, %105
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #8
  br label %348

326:                                              ; preds = %56
  call void @llvm.lifetime.start.p0(i64 256, ptr %48) #8
  invoke void @_ZN3LogC1Eh(ptr noundef nonnull align 8 dereferenceable(256) %48, i8 noundef zeroext 0)
          to label %327 unwind label %334

327:                                              ; preds = %326
  %328 = invoke noundef nonnull align 8 dereferenceable(256) ptr @_ZN3LoglsEPKc(ptr noundef nonnull align 8 dereferenceable(256) %48, ptr noundef @.str.3)
          to label %329 unwind label %338

329:                                              ; preds = %327
  invoke void @_ZN7UAmountC2ERKS_(ptr noundef nonnull align 8 dereferenceable(48) %49, ptr noundef nonnull align 8 dereferenceable(48) %0)
          to label %330 unwind label %338

330:                                              ; preds = %329
  %331 = invoke noundef nonnull align 8 dereferenceable(256) ptr @_ZN3LoglsE7UAmount(ptr noundef nonnull align 8 dereferenceable(256) %328, ptr noundef %49)
          to label %332 unwind label %342

332:                                              ; preds = %330
  call void @_ZN7UAmountD2Ev(ptr noundef nonnull align 8 dereferenceable(48) %49) #8
  call void @_ZN3LogD1Ev(ptr noundef nonnull align 8 dereferenceable(256) %48) #8
  call void @llvm.lifetime.end.p0(i64 256, ptr %48) #8
  store i1 true, ptr %9, align 1
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #8
  call void @_ZNSt6vectorI16DscToAddressLinkSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %10) #8
  %333 = load i1, ptr %9, align 1
  br i1 %333, label %351, label %350

334:                                              ; preds = %326
  %335 = landingpad { ptr, i32 }
          cleanup
  %336 = extractvalue { ptr, i32 } %335, 0
  store ptr %336, ptr %11, align 8
  %337 = extractvalue { ptr, i32 } %335, 1
  store i32 %337, ptr %12, align 4
  br label %347

338:                                              ; preds = %329, %327
  %339 = landingpad { ptr, i32 }
          cleanup
  %340 = extractvalue { ptr, i32 } %339, 0
  store ptr %340, ptr %11, align 8
  %341 = extractvalue { ptr, i32 } %339, 1
  store i32 %341, ptr %12, align 4
  br label %346

342:                                              ; preds = %330
  %343 = landingpad { ptr, i32 }
          cleanup
  %344 = extractvalue { ptr, i32 } %343, 0
  store ptr %344, ptr %11, align 8
  %345 = extractvalue { ptr, i32 } %343, 1
  store i32 %345, ptr %12, align 4
  call void @_ZN7UAmountD2Ev(ptr noundef nonnull align 8 dereferenceable(48) %49) #8
  br label %346

346:                                              ; preds = %342, %338
  call void @_ZN3LogD1Ev(ptr noundef nonnull align 8 dereferenceable(256) %48) #8
  br label %347

347:                                              ; preds = %346, %334
  call void @llvm.lifetime.end.p0(i64 256, ptr %48) #8
  br label %348

348:                                              ; preds = %347, %325
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #8
  call void @_ZNSt6vectorI16DscToAddressLinkSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #8
  br label %349

349:                                              ; preds = %348, %93
  call void @llvm.lifetime.end.p0(i64 24, ptr %10) #8
  call void @_ZN7UAmountD2Ev(ptr noundef nonnull align 8 dereferenceable(48) %0) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #8
  br label %352

350:                                              ; preds = %332
  call void @_ZN7UAmountD2Ev(ptr noundef nonnull align 8 dereferenceable(48) %0) #8
  br label %351

351:                                              ; preds = %350, %332
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #8
  ret void

352:                                              ; preds = %349
  %353 = load ptr, ptr %11, align 8
  %354 = load i32, ptr %12, align 4
  %355 = insertvalue { ptr, i32 } poison, ptr %353, 0
  %356 = insertvalue { ptr, i32 } %355, i32 %354, 1
  resume { ptr, i32 } %356
}

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

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

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

declare i32 @__gxx_personality_v0(...)

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

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN16DscToAddressLinkC2ERKS_(ptr noundef nonnull align 8 dereferenceable(60), ptr noundef nonnull align 8 dereferenceable(60)) unnamed_addr #4 align 2

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

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

declare noundef ptr @_ZN9CertStore20getDscCertWithCertIdESt6vectorIhSaIhEE(ptr noundef nonnull align 8 dereferenceable(152), ptr noundef) #5

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

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

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

declare void @_ZN4Cert13getStatusListEv(ptr dead_on_unwind writable sret(%"class.std::vector.30") align 8, ptr noundef nonnull align 8 dereferenceable(96)) #5

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPSt4pairIjjESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8)) #2 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) #6

declare void @_ZN3LogC1Eh(ptr noundef nonnull align 8 dereferenceable(256), i8 noundef zeroext) unnamed_addr #5

declare noundef nonnull align 8 dereferenceable(256) ptr @_ZN3LoglsEPKc(ptr noundef nonnull align 8 dereferenceable(256), ptr noundef) #5

declare noundef nonnull align 8 dereferenceable(256) ptr @_ZN3LoglsEj(ptr noundef nonnull align 8 dereferenceable(256), i32 noundef) #5

; Function Attrs: nounwind
declare void @_ZN3LogD1Ev(ptr noundef nonnull align 8 dereferenceable(256)) unnamed_addr #7

declare void @_ZN7PathSum6getSumEmm(ptr dead_on_unwind writable sret(%struct.UAmount) align 8, ptr noundef nonnull align 8 dereferenceable(384), i64 noundef, i64 noundef) #5

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

declare noundef zeroext i8 @_ZN4Cert13getCurrencyIdEv(ptr noundef nonnull align 8 dereferenceable(96)) #5

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

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

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

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

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

declare noundef nonnull align 8 dereferenceable(256) ptr @_ZN3LoglsE7UAmount(ptr noundef nonnull align 8 dereferenceable(256), ptr noundef) #5

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN7UAmountC2ERKS_(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(48)) unnamed_addr #4 align 2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { "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 #6 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #7 = { 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 #8 = { nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !13, i64 4}
!12 = !{!"_ZTSSt4pairIjbE", !10, i64 0, !13, i64 4}
!13 = !{!"bool", !7, i64 0}
!14 = !{i8 0, i8 2}
!15 = !{}
!16 = !{!12, !10, i64 0}
!17 = !{!18, !10, i64 0}
!18 = !{!"_ZTSSt4pairIjjE", !10, i64 0, !10, i64 4}
!19 = !{!13, !13, i64 0}
!20 = !{!18, !10, i64 4}
!21 = distinct !{!21, !22}
!22 = !{!"llvm.loop.mustprogress"}
!23 = !{!7, !7, i64 0}
!24 = !{!25, !25, i64 0}
!25 = !{!"long", !7, i64 0}
!26 = distinct !{!26, !22}


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

%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<DscToAddressLink, std::allocator<DscToAddressLink>>::_Vector_impl" }
%"struct.std::_Vector_base<DscToAddressLink, std::allocator<DscToAddressLink>>::_Vector_impl" = type { %"struct.std::_Vector_base<DscToAddressLink, std::allocator<DscToAddressLink>>::_Vector_impl_data" }
%"struct.std::_Vector_base<DscToAddressLink, std::allocator<DscToAddressLink>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%struct.UAmount = type { %"class.std::map" }
%"class.std::map" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<unsigned char, std::pair<const unsigned char, unsigned long>, std::_Select1st<std::pair<const unsigned char, unsigned long>>, std::less<unsigned char>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<unsigned char, std::pair<const unsigned char, unsigned long>, std::_Select1st<std::pair<const unsigned char, unsigned long>>, std::less<unsigned char>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }
%class.DscToAddressLink = type <{ %"class.std::vector.0", i32, [4 x i8], %"class.std::vector.0", i32, [4 x i8] }>
%"class.std::vector.0" = type { %"struct.std::_Vector_base.1" }
%"struct.std::_Vector_base.1" = type { %"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl" }
%"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl" = type { %"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl_data" }
%"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.30" = type { %"struct.std::_Vector_base.31" }
%"struct.std::_Vector_base.31" = type { %"struct.std::_Vector_base<std::pair<unsigned int, bool>, std::allocator<std::pair<unsigned int, bool>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::pair<unsigned int, bool>, std::allocator<std::pair<unsigned int, bool>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::pair<unsigned int, bool>, std::allocator<std::pair<unsigned int, bool>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::pair<unsigned int, bool>, std::allocator<std::pair<unsigned int, bool>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.35" = type { %"struct.std::_Vector_base.36" }
%"struct.std::_Vector_base.36" = type { %"struct.std::_Vector_base<std::pair<unsigned int, unsigned int>, std::allocator<std::pair<unsigned int, unsigned int>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::pair<unsigned int, unsigned int>, std::allocator<std::pair<unsigned int, unsigned int>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::pair<unsigned int, unsigned int>, std::allocator<std::pair<unsigned int, unsigned int>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::pair<unsigned int, unsigned int>, std::allocator<std::pair<unsigned int, unsigned int>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.__gnu_cxx::__normal_iterator.40" = type { ptr }
%"class.__gnu_cxx::__normal_iterator.41" = type { ptr }
%"struct.std::pair" = type { i32, i32 }
%"class.__gnu_cxx::__normal_iterator.44" = type { ptr }
%class.Log = type { i8, i8, ptr, %"class.std::basic_filebuf" }
%"class.std::basic_filebuf" = type { %"class.std::basic_streambuf", %union.pthread_mutex_t, %"class.std::__basic_file", i32, %struct.__mbstate_t, %struct.__mbstate_t, %struct.__mbstate_t, ptr, i64, i8, i8, i8, i8, ptr, ptr, i8, ptr, ptr, i64, ptr, ptr }
%"class.std::basic_streambuf" = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, %"class.std::locale" }
%"class.std::locale" = type { ptr }
%union.pthread_mutex_t = type { %struct.__pthread_mutex_s }
%struct.__pthread_mutex_s = type { i32, i32, i32, i32, i32, i16, i16, %struct.__pthread_internal_list }
%struct.__pthread_internal_list = type { ptr, ptr }
%"class.std::__basic_file" = type <{ ptr, i8, [7 x i8] }>
%struct.__mbstate_t = type { i32, %union.anon }
%union.anon = type { i32 }

@.str = external hidden unnamed_addr constant [7 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [10 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 uwtable
declare dso_local void @_ZNK15AddressForStore20getDscToAddressLinksEv(ptr dead_on_unwind noalias writable sret(%"class.std::vector") align 8, ptr noundef nonnull align 8 dereferenceable(168)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorI16DscToAddressLinkSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #2 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 @_ZN13UBICalculator16totalReceivedUBIEP15AddressForStorej(ptr dead_on_unwind noalias writable sret(%struct.UAmount) align 8 %0, ptr noundef %1, i32 noundef %2) local_unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca i32, align 4
  %5 = alloca %"class.std::vector", align 8
  %6 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %7 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %8 = alloca %class.DscToAddressLink, align 8
  %9 = alloca %"class.std::vector.0", align 8
  %10 = alloca %class.DscToAddressLink, align 8
  %11 = alloca %"class.std::vector.30", align 8
  %12 = alloca %"class.std::vector.35", align 8
  %13 = alloca %"class.__gnu_cxx::__normal_iterator.40", align 8
  %14 = alloca %"class.__gnu_cxx::__normal_iterator.41", align 8
  %15 = alloca %"class.__gnu_cxx::__normal_iterator.41", align 8
  %16 = alloca %"struct.std::pair", align 4
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca %"struct.std::pair", align 4
  %20 = alloca %"class.__gnu_cxx::__normal_iterator.41", align 8
  %21 = alloca %"struct.std::pair", align 4
  %22 = alloca i32, align 4
  %23 = alloca i32, align 4
  %24 = alloca %"class.__gnu_cxx::__normal_iterator.41", align 8
  %25 = alloca %"class.__gnu_cxx::__normal_iterator.44", align 8
  %26 = alloca %"class.__gnu_cxx::__normal_iterator.44", align 8
  %27 = alloca %class.Log, align 8
  %28 = alloca %struct.UAmount, align 8
  %29 = alloca i8, align 1
  %30 = alloca i8, align 1
  %31 = alloca %struct.UAmount, align 8
  %32 = alloca i8, align 1
  %33 = alloca i8, align 1
  %34 = alloca %class.Log, align 8
  %35 = alloca %struct.UAmount, align 8
  store i32 %2, ptr %4, align 4, !tbaa !5
  %36 = tail call noundef nonnull align 8 dereferenceable(152) ptr @_ZN9CertStore8InstanceEv()
  %37 = tail call noundef nonnull align 8 dereferenceable(384) ptr @_ZN7PathSum8InstanceEv()
  tail call void @_ZN7UAmountC2Ev(ptr noundef nonnull align 8 dereferenceable(48) %0) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %5) #7
  invoke void @_ZNK15AddressForStore20getDscToAddressLinksEv(ptr dead_on_unwind nonnull writable sret(%"class.std::vector") align 8 %5, ptr noundef nonnull align 8 dereferenceable(168) %1)
          to label %38 unwind label %68

38:                                               ; preds = %3
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #7
  %39 = call ptr @_ZNSt6vectorI16DscToAddressLinkSaIS0_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %5) #7
  store ptr %39, ptr %6, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #7
  %40 = call ptr @_ZNSt6vectorI16DscToAddressLinkSaIS0_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %5) #7
  store ptr %40, ptr %7, align 8
  %41 = call noundef zeroext i1 @_ZN9__gnu_cxxneIP16DscToAddressLinkSt6vectorIS1_SaIS1_EEEEbRKNS_17__normal_iteratorIT_T0_EESB_(ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull align 8 dereferenceable(8) %7) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #7
  br i1 %41, label %.lr.ph66, label %._crit_edge67

.lr.ph66:                                         ; preds = %38
  %42 = getelementptr inbounds i8, ptr %21, i64 4
  br label %43

43:                                               ; preds = %.lr.ph66, %._crit_edge
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %8) #7
  %44 = call noundef nonnull align 8 dereferenceable(60) ptr @_ZNK9__gnu_cxx17__normal_iteratorIP16DscToAddressLinkSt6vectorIS1_SaIS1_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %6) #7
  invoke void @_ZN16DscToAddressLinkC2ERKS_(ptr noundef nonnull align 8 dereferenceable(60) %8, ptr noundef nonnull align 8 dereferenceable(60) %44)
          to label %45 unwind label %70

45:                                               ; preds = %43
  %46 = call noundef i32 @_ZNK16DscToAddressLink20getDSCLinkedAtHeightEv(ptr noundef nonnull align 8 dereferenceable(60) %8)
  call void @_ZN16DscToAddressLinkD2Ev(ptr noundef nonnull align 8 dereferenceable(60) %8) #7
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %8) #7
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %10) #7
  %47 = call noundef nonnull align 8 dereferenceable(60) ptr @_ZNK9__gnu_cxx17__normal_iteratorIP16DscToAddressLinkSt6vectorIS1_SaIS1_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %6) #7
  invoke void @_ZN16DscToAddressLinkC2ERKS_(ptr noundef nonnull align 8 dereferenceable(60) %10, ptr noundef nonnull align 8 dereferenceable(60) %47)
          to label %48 unwind label %72

48:                                               ; preds = %45
  %49 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK16DscToAddressLink17getDscCertificateEv(ptr noundef nonnull align 8 dereferenceable(60) %10)
  invoke void @_ZNSt6vectorIhSaIhEEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %9, ptr noundef nonnull align 8 dereferenceable(24) %49)
          to label %50 unwind label %74

50:                                               ; preds = %48
  %51 = invoke noundef ptr @_ZN9CertStore20getDscCertWithCertIdESt6vectorIhSaIhEE(ptr noundef nonnull align 8 dereferenceable(152) %36, ptr noundef nonnull %9)
          to label %52 unwind label %76

52:                                               ; preds = %50
  call void @_ZNSt6vectorIhSaIhEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #7
  call void @_ZN16DscToAddressLinkD2Ev(ptr noundef nonnull align 8 dereferenceable(60) %10) #7
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %10) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %11) #7
  invoke void @_ZN4Cert13getStatusListEv(ptr dead_on_unwind nonnull writable sret(%"class.std::vector.30") align 8 %11, ptr noundef nonnull align 8 dereferenceable(96) %51)
          to label %53 unwind label %80

53:                                               ; preds = %52
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %12) #7
  call void @_ZNSt6vectorISt4pairIjjESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #7
  %54 = call ptr @_ZNSt6vectorISt4pairIjbESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %11) #7
  store ptr %54, ptr %14, align 8
  call void @_ZN9__gnu_cxx17__normal_iteratorIPKSt4pairIjbESt6vectorIS2_SaIS2_EEEC2IPS2_vEERKNS0_IT_S7_EE(ptr noundef nonnull align 8 dereferenceable(8) %13, ptr noundef nonnull align 8 dereferenceable(8) %14) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %15) #7
  %55 = call ptr @_ZNSt6vectorISt4pairIjbESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %11) #7
  store ptr %55, ptr %15, align 8
  %56 = call noundef zeroext i1 @_ZN9__gnu_cxxeqIPKSt4pairIjbEPS2_St6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T1_EERKNS9_IT0_SB_EE(ptr noundef nonnull align 8 dereferenceable(8) %13, ptr noundef nonnull align 8 dereferenceable(8) %15) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #7
  br i1 %56, label %59, label %.preheader

.preheader:                                       ; preds = %53
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %20) #7
  %57 = call ptr @_ZNSt6vectorISt4pairIjbESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %11) #7
  store ptr %57, ptr %20, align 8
  %58 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKSt4pairIjbEPS2_St6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T1_EERKNS9_IT0_SB_EE(ptr noundef nonnull align 8 dereferenceable(8) %13, ptr noundef nonnull align 8 dereferenceable(8) %20) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %20) #7
  br i1 %58, label %.lr.ph, label %.loopexit

59:                                               ; preds = %53
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %16) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %17) #7
  store i32 0, ptr %17, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %18) #7
  store i32 0, ptr %18, align 4, !tbaa !5
  call void @_ZNSt4pairIjjEC2IiiTnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS3_S4_EEEbE4typeELb1EEEOS3_OS4_(ptr noundef nonnull align 4 dereferenceable(8) %16, ptr noundef nonnull align 4 dereferenceable(4) %17, ptr noundef nonnull align 4 dereferenceable(4) %18)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %18) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %17) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %19) #7
  %60 = call noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKSt4pairIjbESt6vectorIS2_SaIS2_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %13) #7
  call void @_ZNSt4pairIjjEC2IRKjRjTnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS6_S7_EEEbE4typeELb1EEEOS6_OS7_(ptr noundef nonnull align 4 dereferenceable(8) %19, ptr noundef nonnull align 4 dereferenceable(4) %60, ptr noundef nonnull align 4 dereferenceable(4) %4)
  %61 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt4pairIjjEaSEOS0_(ptr noundef nonnull align 4 dereferenceable(8) %16, ptr noundef nonnull align 4 dereferenceable(8) %19) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #7
  %62 = call noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKSt4pairIjbESt6vectorIS2_SaIS2_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %13) #7
  %63 = getelementptr inbounds i8, ptr %62, i64 4
  %64 = load i8, ptr %63, align 4, !tbaa !9, !range !12, !noundef !13
  %65 = trunc nuw i8 %64 to i1
  br i1 %65, label %66, label %84

66:                                               ; preds = %59
  %67 = invoke noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIjjESaIS1_EE12emplace_backIJRS1_EEES5_DpOT_(ptr noundef nonnull align 8 dereferenceable(24) %12, ptr noundef nonnull align 4 dereferenceable(8) %16)
          to label %84 unwind label %82

68:                                               ; preds = %3
  %69 = landingpad { ptr, i32 }
          cleanup
  br label %202

70:                                               ; preds = %43
  %71 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %8) #7
  br label %201

72:                                               ; preds = %45
  %73 = landingpad { ptr, i32 }
          cleanup
  br label %79

74:                                               ; preds = %48
  %75 = landingpad { ptr, i32 }
          cleanup
  br label %78

76:                                               ; preds = %50
  %77 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt6vectorIhSaIhEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #7
  br label %78

78:                                               ; preds = %76, %74
  %.pn46 = phi { ptr, i32 } [ %77, %76 ], [ %75, %74 ]
  call void @_ZN16DscToAddressLinkD2Ev(ptr noundef nonnull align 8 dereferenceable(60) %10) #7
  br label %79

79:                                               ; preds = %78, %72
  %.pn46.pn = phi { ptr, i32 } [ %.pn46, %78 ], [ %73, %72 ]
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %10) #7
  br label %201

80:                                               ; preds = %52
  %81 = landingpad { ptr, i32 }
          cleanup
  br label %186

82:                                               ; preds = %66
  %83 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #7
  br label %185

84:                                               ; preds = %66, %59
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #7
  br label %.loopexit

.lr.ph:                                           ; preds = %.preheader, %101
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %21) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %22) #7
  store i32 0, ptr %22, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %23) #7
  store i32 0, ptr %23, align 4, !tbaa !5
  call void @_ZNSt4pairIjjEC2IiiTnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS3_S4_EEEbE4typeELb1EEEOS3_OS4_(ptr noundef nonnull align 4 dereferenceable(8) %21, ptr noundef nonnull align 4 dereferenceable(4) %22, ptr noundef nonnull align 4 dereferenceable(4) %23)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %23) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %22) #7
  %85 = call noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKSt4pairIjbESt6vectorIS2_SaIS2_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %13) #7
  %86 = load i32, ptr %85, align 4, !tbaa !14
  store i32 %86, ptr %21, align 4, !tbaa !15
  %87 = call noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKSt4pairIjbESt6vectorIS2_SaIS2_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %13) #7
  %88 = getelementptr inbounds i8, ptr %87, i64 4
  %89 = load i8, ptr %88, align 4, !tbaa !9, !range !12, !noundef !13
  %90 = trunc nuw i8 %89 to i1
  %91 = call ptr @_ZN9__gnu_cxx17__normal_iteratorIPKSt4pairIjbESt6vectorIS2_SaIS2_EEEppEi(ptr noundef nonnull align 8 dereferenceable(8) %13, i32 noundef 0) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %24) #7
  %92 = call ptr @_ZNSt6vectorISt4pairIjbESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %11) #7
  store ptr %92, ptr %24, align 8
  %93 = call noundef zeroext i1 @_ZN9__gnu_cxxeqIPKSt4pairIjbEPS2_St6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T1_EERKNS9_IT0_SB_EE(ptr noundef nonnull align 8 dereferenceable(8) %13, ptr noundef nonnull align 8 dereferenceable(8) %24) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %24) #7
  br i1 %93, label %96, label %94

94:                                               ; preds = %.lr.ph
  %95 = call noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKSt4pairIjbESt6vectorIS2_SaIS2_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %13) #7
  br label %96

96:                                               ; preds = %.lr.ph, %94
  %storemerge.in = phi ptr [ %95, %94 ], [ %4, %.lr.ph ]
  %storemerge = load i32, ptr %storemerge.in, align 4, !tbaa !5
  store i32 %storemerge, ptr %42, align 4, !tbaa !17
  br i1 %90, label %97, label %101

97:                                               ; preds = %96
  %98 = invoke noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIjjESaIS1_EE12emplace_backIJRS1_EEES5_DpOT_(ptr noundef nonnull align 8 dereferenceable(24) %12, ptr noundef nonnull align 4 dereferenceable(8) %21)
          to label %101 unwind label %99

99:                                               ; preds = %97
  %100 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %21) #7
  br label %185

101:                                              ; preds = %97, %96
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %21) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %20) #7
  %102 = call ptr @_ZNSt6vectorISt4pairIjbESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %11) #7
  store ptr %102, ptr %20, align 8
  %103 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKSt4pairIjbEPS2_St6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T1_EERKNS9_IT0_SB_EE(ptr noundef nonnull align 8 dereferenceable(8) %13, ptr noundef nonnull align 8 dereferenceable(8) %20) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %20) #7
  br i1 %103, label %.lr.ph, label %.loopexit, !llvm.loop !18

.loopexit:                                        ; preds = %101, %.preheader, %84
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %25) #7
  %104 = call ptr @_ZNSt6vectorISt4pairIjjESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %12) #7
  store ptr %104, ptr %25, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %26) #7
  %105 = call ptr @_ZNSt6vectorISt4pairIjjESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %12) #7
  store ptr %105, ptr %26, align 8
  %106 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPSt4pairIjjESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %25, ptr noundef nonnull align 8 dereferenceable(8) %26) #7
  br i1 %106, label %.lr.ph64, label %._crit_edge

.lr.ph64:                                         ; preds = %.loopexit
  %107 = zext i32 %46 to i64
  br label %111

._crit_edge:                                      ; preds = %181, %.loopexit
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %26) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %25) #7
  %108 = call ptr @_ZN9__gnu_cxx17__normal_iteratorIP16DscToAddressLinkSt6vectorIS1_SaIS1_EEEppEi(ptr noundef nonnull align 8 dereferenceable(8) %6, i32 noundef 0) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #7
  call void @_ZNSt6vectorISt4pairIjjESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %12) #7
  call void @_ZNSt6vectorISt4pairIjbESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %11) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #7
  %109 = call ptr @_ZNSt6vectorI16DscToAddressLinkSaIS0_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %5) #7
  store ptr %109, ptr %7, align 8
  %110 = call noundef zeroext i1 @_ZN9__gnu_cxxneIP16DscToAddressLinkSt6vectorIS1_SaIS1_EEEEbRKNS_17__normal_iteratorIT_T0_EESB_(ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull align 8 dereferenceable(8) %7) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #7
  br i1 %110, label %43, label %._crit_edge67, !llvm.loop !20

111:                                              ; preds = %.lr.ph64, %181
  %112 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPSt4pairIjjESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %25) #7
  %.sroa.01.0.copyload = load i32, ptr %112, align 4
  %.sroa.8.0..sroa_idx = getelementptr inbounds i8, ptr %112, i64 4
  %.sroa.8.0.copyload = load i32, ptr %.sroa.8.0..sroa_idx, align 4
  call void @llvm.lifetime.start.p0(i64 256, ptr nonnull %27) #7
  invoke void @_ZN3LogC1Eh(ptr noundef nonnull align 8 dereferenceable(256) %27, i8 noundef zeroext 0)
          to label %113 unwind label %127

113:                                              ; preds = %111
  %114 = invoke noundef nonnull align 8 dereferenceable(256) ptr @_ZN3LoglsEPKc(ptr noundef nonnull align 8 dereferenceable(256) %27, ptr noundef nonnull @.str)
          to label %115 unwind label %129

115:                                              ; preds = %113
  %116 = invoke noundef nonnull align 8 dereferenceable(256) ptr @_ZN3LoglsEj(ptr noundef nonnull align 8 dereferenceable(256) %114, i32 noundef %.sroa.01.0.copyload)
          to label %117 unwind label %129

117:                                              ; preds = %115
  %118 = invoke noundef nonnull align 8 dereferenceable(256) ptr @_ZN3LoglsEPKc(ptr noundef nonnull align 8 dereferenceable(256) %116, ptr noundef nonnull @.str.1)
          to label %119 unwind label %129

119:                                              ; preds = %117
  %120 = invoke noundef nonnull align 8 dereferenceable(256) ptr @_ZN3LoglsEj(ptr noundef nonnull align 8 dereferenceable(256) %118, i32 noundef %.sroa.8.0.copyload)
          to label %121 unwind label %129

121:                                              ; preds = %119
  %122 = invoke noundef nonnull align 8 dereferenceable(256) ptr @_ZN3LoglsEPKc(ptr noundef nonnull align 8 dereferenceable(256) %120, ptr noundef nonnull @.str.2)
          to label %123 unwind label %129

123:                                              ; preds = %121
  %124 = invoke noundef nonnull align 8 dereferenceable(256) ptr @_ZN3LoglsEj(ptr noundef nonnull align 8 dereferenceable(256) %122, i32 noundef %46)
          to label %125 unwind label %129

125:                                              ; preds = %123
  call void @_ZN3LogD1Ev(ptr noundef nonnull align 8 dereferenceable(256) %27) #7
  call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %27) #7
  %126 = icmp ugt i32 %46, %.sroa.8.0.copyload
  br i1 %126, label %181, label %132

127:                                              ; preds = %111
  %128 = landingpad { ptr, i32 }
          cleanup
  br label %131

129:                                              ; preds = %123, %121, %119, %117, %115, %113
  %130 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3LogD1Ev(ptr noundef nonnull align 8 dereferenceable(256) %27) #7
  br label %131

131:                                              ; preds = %129, %127
  %.pn49 = phi { ptr, i32 } [ %130, %129 ], [ %128, %127 ]
  call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %27) #7
  br label %184

132:                                              ; preds = %125
  %133 = icmp ugt i32 %46, %.sroa.01.0.copyload
  br i1 %133, label %134, label %156

134:                                              ; preds = %132
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %28) #7
  %135 = zext i32 %.sroa.8.0.copyload to i64
  invoke void @_ZN7PathSum6getSumEmm(ptr dead_on_unwind nonnull writable sret(%struct.UAmount) align 8 %28, ptr noundef nonnull align 8 dereferenceable(384) %37, i64 noundef %107, i64 noundef %135)
          to label %136 unwind label %148

136:                                              ; preds = %134
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %29) #7
  %137 = invoke noundef zeroext i8 @_ZN4Cert13getCurrencyIdEv(ptr noundef nonnull align 8 dereferenceable(96) %51)
          to label %138 unwind label %150

138:                                              ; preds = %136
  store i8 %137, ptr %29, align 1, !tbaa !21
  %139 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt3mapIhmSt4lessIhESaISt4pairIKhmEEEixEOh(ptr noundef nonnull align 8 dereferenceable(48) %28, ptr noundef nonnull align 1 dereferenceable(1) %29)
          to label %140 unwind label %150

140:                                              ; preds = %138
  %141 = load i64, ptr %139, align 8, !tbaa !22
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %30) #7
  %142 = invoke noundef zeroext i8 @_ZN4Cert13getCurrencyIdEv(ptr noundef nonnull align 8 dereferenceable(96) %51)
          to label %143 unwind label %152

143:                                              ; preds = %140
  store i8 %142, ptr %30, align 1, !tbaa !21
  %144 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt3mapIhmSt4lessIhESaISt4pairIKhmEEEixEOh(ptr noundef nonnull align 8 dereferenceable(48) %0, ptr noundef nonnull align 1 dereferenceable(1) %30)
          to label %145 unwind label %152

145:                                              ; preds = %143
  %146 = load i64, ptr %144, align 8, !tbaa !22
  %147 = add i64 %146, %141
  store i64 %147, ptr %144, align 8, !tbaa !22
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %30) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %29) #7
  call void @_ZN7UAmountD2Ev(ptr noundef nonnull align 8 dereferenceable(48) %28) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %28) #7
  br label %181

148:                                              ; preds = %134
  %149 = landingpad { ptr, i32 }
          cleanup
  br label %155

150:                                              ; preds = %138, %136
  %151 = landingpad { ptr, i32 }
          cleanup
  br label %154

152:                                              ; preds = %143, %140
  %153 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %30) #7
  br label %154

154:                                              ; preds = %152, %150
  %.pn54 = phi { ptr, i32 } [ %153, %152 ], [ %151, %150 ]
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %29) #7
  call void @_ZN7UAmountD2Ev(ptr noundef nonnull align 8 dereferenceable(48) %28) #7
  br label %155

155:                                              ; preds = %154, %148
  %.pn54.pn = phi { ptr, i32 } [ %.pn54, %154 ], [ %149, %148 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %28) #7
  br label %184

156:                                              ; preds = %132
  %157 = icmp ult i32 %46, %.sroa.01.0.copyload
  br i1 %157, label %158, label %181

158:                                              ; preds = %156
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %31) #7
  %159 = zext i32 %.sroa.01.0.copyload to i64
  %160 = zext i32 %.sroa.8.0.copyload to i64
  invoke void @_ZN7PathSum6getSumEmm(ptr dead_on_unwind nonnull writable sret(%struct.UAmount) align 8 %31, ptr noundef nonnull align 8 dereferenceable(384) %37, i64 noundef %159, i64 noundef %160)
          to label %161 unwind label %173

161:                                              ; preds = %158
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %32) #7
  %162 = invoke noundef zeroext i8 @_ZN4Cert13getCurrencyIdEv(ptr noundef nonnull align 8 dereferenceable(96) %51)
          to label %163 unwind label %175

163:                                              ; preds = %161
  store i8 %162, ptr %32, align 1, !tbaa !21
  %164 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt3mapIhmSt4lessIhESaISt4pairIKhmEEEixEOh(ptr noundef nonnull align 8 dereferenceable(48) %31, ptr noundef nonnull align 1 dereferenceable(1) %32)
          to label %165 unwind label %175

165:                                              ; preds = %163
  %166 = load i64, ptr %164, align 8, !tbaa !22
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %33) #7
  %167 = invoke noundef zeroext i8 @_ZN4Cert13getCurrencyIdEv(ptr noundef nonnull align 8 dereferenceable(96) %51)
          to label %168 unwind label %177

168:                                              ; preds = %165
  store i8 %167, ptr %33, align 1, !tbaa !21
  %169 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt3mapIhmSt4lessIhESaISt4pairIKhmEEEixEOh(ptr noundef nonnull align 8 dereferenceable(48) %0, ptr noundef nonnull align 1 dereferenceable(1) %33)
          to label %170 unwind label %177

170:                                              ; preds = %168
  %171 = load i64, ptr %169, align 8, !tbaa !22
  %172 = add i64 %171, %166
  store i64 %172, ptr %169, align 8, !tbaa !22
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %33) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %32) #7
  call void @_ZN7UAmountD2Ev(ptr noundef nonnull align 8 dereferenceable(48) %31) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %31) #7
  br label %181

173:                                              ; preds = %158
  %174 = landingpad { ptr, i32 }
          cleanup
  br label %180

175:                                              ; preds = %163, %161
  %176 = landingpad { ptr, i32 }
          cleanup
  br label %179

177:                                              ; preds = %168, %165
  %178 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %33) #7
  br label %179

179:                                              ; preds = %177, %175
  %.pn51 = phi { ptr, i32 } [ %178, %177 ], [ %176, %175 ]
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %32) #7
  call void @_ZN7UAmountD2Ev(ptr noundef nonnull align 8 dereferenceable(48) %31) #7
  br label %180

180:                                              ; preds = %179, %173
  %.pn51.pn = phi { ptr, i32 } [ %.pn51, %179 ], [ %174, %173 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %31) #7
  br label %184

181:                                              ; preds = %145, %170, %156, %125
  %182 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPSt4pairIjjESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %25) #7
  %183 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPSt4pairIjjESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %25, ptr noundef nonnull align 8 dereferenceable(8) %26) #7
  br i1 %183, label %111, label %._crit_edge

184:                                              ; preds = %180, %155, %131
  %.pn54.pn.pn = phi { ptr, i32 } [ %.pn54.pn, %155 ], [ %.pn51.pn, %180 ], [ %.pn49, %131 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %26) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %25) #7
  br label %185

185:                                              ; preds = %184, %99, %82
  %.pn54.pn.pn.pn = phi { ptr, i32 } [ %.pn54.pn.pn, %184 ], [ %83, %82 ], [ %100, %99 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #7
  call void @_ZNSt6vectorISt4pairIjjESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %12) #7
  call void @_ZNSt6vectorISt4pairIjbESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #7
  br label %186

186:                                              ; preds = %185, %80
  %.pn54.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn54.pn.pn.pn, %185 ], [ %81, %80 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %11) #7
  br label %201

._crit_edge67:                                    ; preds = %._crit_edge, %38
  call void @llvm.lifetime.start.p0(i64 256, ptr nonnull %34) #7
  invoke void @_ZN3LogC1Eh(ptr noundef nonnull align 8 dereferenceable(256) %34, i8 noundef zeroext 0)
          to label %187 unwind label %193

187:                                              ; preds = %._crit_edge67
  %188 = invoke noundef nonnull align 8 dereferenceable(256) ptr @_ZN3LoglsEPKc(ptr noundef nonnull align 8 dereferenceable(256) %34, ptr noundef nonnull @.str.3)
          to label %189 unwind label %195

189:                                              ; preds = %187
  invoke void @_ZN7UAmountC2ERKS_(ptr noundef nonnull align 8 dereferenceable(48) %35, ptr noundef nonnull align 8 dereferenceable(48) %0)
          to label %190 unwind label %195

190:                                              ; preds = %189
  %191 = invoke noundef nonnull align 8 dereferenceable(256) ptr @_ZN3LoglsE7UAmount(ptr noundef nonnull align 8 dereferenceable(256) %188, ptr noundef nonnull %35)
          to label %192 unwind label %197

192:                                              ; preds = %190
  call void @_ZN7UAmountD2Ev(ptr noundef nonnull align 8 dereferenceable(48) %35) #7
  call void @_ZN3LogD1Ev(ptr noundef nonnull align 8 dereferenceable(256) %34) #7
  call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %34) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #7
  call void @_ZNSt6vectorI16DscToAddressLinkSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #7
  ret void

193:                                              ; preds = %._crit_edge67
  %194 = landingpad { ptr, i32 }
          cleanup
  br label %200

195:                                              ; preds = %189, %187
  %196 = landingpad { ptr, i32 }
          cleanup
  br label %199

197:                                              ; preds = %190
  %198 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN7UAmountD2Ev(ptr noundef nonnull align 8 dereferenceable(48) %35) #7
  br label %199

199:                                              ; preds = %197, %195
  %.pn = phi { ptr, i32 } [ %198, %197 ], [ %196, %195 ]
  call void @_ZN3LogD1Ev(ptr noundef nonnull align 8 dereferenceable(256) %34) #7
  br label %200

200:                                              ; preds = %199, %193
  %.pn.pn = phi { ptr, i32 } [ %.pn, %199 ], [ %194, %193 ]
  call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %34) #7
  br label %201

201:                                              ; preds = %70, %186, %79, %200
  %.pn54.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn, %200 ], [ %71, %70 ], [ %.pn54.pn.pn.pn.pn, %186 ], [ %.pn46.pn, %79 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #7
  call void @_ZNSt6vectorI16DscToAddressLinkSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #7
  br label %202

202:                                              ; preds = %201, %68
  %.pn54.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn54.pn.pn.pn.pn.pn.pn.pn, %201 ], [ %69, %68 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #7
  call void @_ZN7UAmountD2Ev(ptr noundef nonnull align 8 dereferenceable(48) %0) #7
  resume { ptr, i32 } %.pn54.pn.pn.pn.pn.pn.pn.pn.pn
}

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

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

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

declare i32 @__gxx_personality_v0(...)

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

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN16DscToAddressLinkC2ERKS_(ptr noundef nonnull align 8 dereferenceable(60), ptr noundef nonnull align 8 dereferenceable(60)) unnamed_addr #4 align 2

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

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

declare noundef ptr @_ZN9CertStore20getDscCertWithCertIdESt6vectorIhSaIhEE(ptr noundef nonnull align 8 dereferenceable(152), ptr noundef) local_unnamed_addr #5

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

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

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

declare void @_ZN4Cert13getStatusListEv(ptr dead_on_unwind writable sret(%"class.std::vector.30") align 8, ptr noundef nonnull align 8 dereferenceable(96)) local_unnamed_addr #5

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

declare void @_ZN3LogC1Eh(ptr noundef nonnull align 8 dereferenceable(256), i8 noundef zeroext) unnamed_addr #5

declare noundef nonnull align 8 dereferenceable(256) ptr @_ZN3LoglsEPKc(ptr noundef nonnull align 8 dereferenceable(256), ptr noundef) local_unnamed_addr #5

declare noundef nonnull align 8 dereferenceable(256) ptr @_ZN3LoglsEj(ptr noundef nonnull align 8 dereferenceable(256), i32 noundef) local_unnamed_addr #5

; Function Attrs: nounwind
declare void @_ZN3LogD1Ev(ptr noundef nonnull align 8 dereferenceable(256)) unnamed_addr #6

declare void @_ZN7PathSum6getSumEmm(ptr dead_on_unwind writable sret(%struct.UAmount) align 8, ptr noundef nonnull align 8 dereferenceable(384), i64 noundef, i64 noundef) local_unnamed_addr #5

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

declare noundef zeroext i8 @_ZN4Cert13getCurrencyIdEv(ptr noundef nonnull align 8 dereferenceable(96)) local_unnamed_addr #5

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

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

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

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

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

declare noundef nonnull align 8 dereferenceable(256) ptr @_ZN3LoglsE7UAmount(ptr noundef nonnull align 8 dereferenceable(256), ptr noundef) local_unnamed_addr #5

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN7UAmountC2ERKS_(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(48)) unnamed_addr #4 align 2

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { "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 #6 = { 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 #7 = { 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 = !{!10, !11, i64 4}
!10 = !{!"_ZTSSt4pairIjbE", !6, i64 0, !11, i64 4}
!11 = !{!"bool", !7, i64 0}
!12 = !{i8 0, i8 2}
!13 = !{}
!14 = !{!10, !6, i64 0}
!15 = !{!16, !6, i64 0}
!16 = !{!"_ZTSSt4pairIjjE", !6, i64 0, !6, i64 4}
!17 = !{!16, !6, i64 4}
!18 = distinct !{!18, !19}
!19 = !{!"llvm.loop.mustprogress"}
!20 = distinct !{!20, !19}
!21 = !{!7, !7, i64 0}
!22 = !{!23, !23, i64 0}
!23 = !{!"long", !7, i64 0}


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