; LLVM IR from jdlph/TransOMS :: src (utils)

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

%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.miocsv::Writer" = type <{ %"class.std::basic_ofstream", i8, [7 x i8] }>
%"class.std::basic_ofstream" = type { %"class.std::basic_ostream.base", %"class.std::basic_filebuf", %"class.std::basic_ios" }
%"class.std::basic_ostream.base" = type { ptr }
%"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.6 }
%union.anon.6 = type { i32 }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"struct.std::pair.162" = type { i32, i32 }
%"class.__gnu_cxx::__normal_iterator.164" = type { ptr }
%"class.std::vector.94" = type { %"struct.std::_Vector_base.95" }
%"struct.std::_Vector_base.95" = type { %"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl" }
%"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl" = type { %"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.transoms::NetworkHandle" = type { %"class.transoms::ColumnPool", %"class.transoms::PhyNetwork", %"class.std::vector.58", %"class.std::vector.63", %"class.std::vector.68", i16, i16, i16, i32, %"class.std::vector.73", %"class.std::vector.78", %"class.std::map.83" }
%"class.transoms::ColumnPool" = type { %"class.std::map.22", %"class.std::vector.28" }
%"class.std::map.22" = type { %"class.std::_Rb_tree.23" }
%"class.std::_Rb_tree.23" = type { %"struct.std::_Rb_tree<std::tuple<unsigned int, unsigned int, unsigned short, unsigned short>, std::pair<const std::tuple<unsigned int, unsigned int, unsigned short, unsigned short>, unsigned int>, std::_Select1st<std::pair<const std::tuple<unsigned int, unsigned int, unsigned short, unsigned short>, unsigned int>>, std::less<std::tuple<unsigned int, unsigned int, unsigned short, unsigned short>>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::tuple<unsigned int, unsigned int, unsigned short, unsigned short>, std::pair<const std::tuple<unsigned int, unsigned int, unsigned short, unsigned short>, unsigned int>, std::_Select1st<std::pair<const std::tuple<unsigned int, unsigned int, unsigned short, unsigned short>, unsigned int>>, std::less<std::tuple<unsigned int, unsigned int, unsigned short, unsigned short>>>::_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.std::vector.28" = type { %"struct.std::_Vector_base.29" }
%"struct.std::_Vector_base.29" = type { %"struct.std::_Vector_base<transoms::ColumnVec, std::allocator<transoms::ColumnVec>>::_Vector_impl" }
%"struct.std::_Vector_base<transoms::ColumnVec, std::allocator<transoms::ColumnVec>>::_Vector_impl" = type { %"struct.std::_Vector_base<transoms::ColumnVec, std::allocator<transoms::ColumnVec>>::_Vector_impl_data" }
%"struct.std::_Vector_base<transoms::ColumnVec, std::allocator<transoms::ColumnVec>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.transoms::PhyNetwork" = type { %"class.transoms::Network", i32, %"class.std::vector.33", %"class.std::vector.38", %"class.std::map.43", %"class.std::map.43", %"class.std::vector.48", %"class.std::vector", %"class.std::map.53" }
%"class.transoms::Network" = type { ptr }
%"class.std::vector.33" = type { %"struct.std::_Vector_base.34" }
%"struct.std::_Vector_base.34" = type { %"struct.std::_Vector_base<transoms::Link *, std::allocator<transoms::Link *>>::_Vector_impl" }
%"struct.std::_Vector_base<transoms::Link *, std::allocator<transoms::Link *>>::_Vector_impl" = type { %"struct.std::_Vector_base<transoms::Link *, std::allocator<transoms::Link *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<transoms::Link *, std::allocator<transoms::Link *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.38" = type { %"struct.std::_Vector_base.39" }
%"struct.std::_Vector_base.39" = type { %"struct.std::_Vector_base<transoms::Node *, std::allocator<transoms::Node *>>::_Vector_impl" }
%"struct.std::_Vector_base<transoms::Node *, std::allocator<transoms::Node *>>::_Vector_impl" = type { %"struct.std::_Vector_base<transoms::Node *, std::allocator<transoms::Node *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<transoms::Node *, std::allocator<transoms::Node *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::map.43" = type { %"class.std::_Rb_tree.44" }
%"class.std::_Rb_tree.44" = type { %"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, unsigned int>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, unsigned int>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, unsigned int>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, unsigned int>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"class.std::vector.48" = type { %"struct.std::_Vector_base.49" }
%"struct.std::_Vector_base.49" = type { %"struct.std::_Vector_base<const transoms::Node *, std::allocator<const transoms::Node *>>::_Vector_impl" }
%"struct.std::_Vector_base<const transoms::Node *, std::allocator<const transoms::Node *>>::_Vector_impl" = type { %"struct.std::_Vector_base<const transoms::Node *, std::allocator<const transoms::Node *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<const transoms::Node *, std::allocator<const transoms::Node *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::map.53" = type { %"class.std::_Rb_tree.54" }
%"class.std::_Rb_tree.54" = type { %"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, transoms::Zone *>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, transoms::Zone *>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, transoms::Zone *>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, transoms::Zone *>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"class.std::vector.58" = type { %"struct.std::_Vector_base.59" }
%"struct.std::_Vector_base.59" = type { %"struct.std::_Vector_base<transoms::SPNetwork *, std::allocator<transoms::SPNetwork *>>::_Vector_impl" }
%"struct.std::_Vector_base<transoms::SPNetwork *, std::allocator<transoms::SPNetwork *>>::_Vector_impl" = type { %"struct.std::_Vector_base<transoms::SPNetwork *, std::allocator<transoms::SPNetwork *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<transoms::SPNetwork *, std::allocator<transoms::SPNetwork *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.63" = type { %"struct.std::_Vector_base.64" }
%"struct.std::_Vector_base.64" = type { %"struct.std::_Vector_base<const transoms::AgentType *, std::allocator<const transoms::AgentType *>>::_Vector_impl" }
%"struct.std::_Vector_base<const transoms::AgentType *, std::allocator<const transoms::AgentType *>>::_Vector_impl" = type { %"struct.std::_Vector_base<const transoms::AgentType *, std::allocator<const transoms::AgentType *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<const transoms::AgentType *, std::allocator<const transoms::AgentType *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.68" = type { %"struct.std::_Vector_base.69" }
%"struct.std::_Vector_base.69" = type { %"struct.std::_Vector_base<const transoms::DemandPeriod *, std::allocator<const transoms::DemandPeriod *>>::_Vector_impl" }
%"struct.std::_Vector_base<const transoms::DemandPeriod *, std::allocator<const transoms::DemandPeriod *>>::_Vector_impl" = type { %"struct.std::_Vector_base<const transoms::DemandPeriod *, std::allocator<const transoms::DemandPeriod *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<const transoms::DemandPeriod *, std::allocator<const transoms::DemandPeriod *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.73" = type { %"struct.std::_Vector_base.74" }
%"struct.std::_Vector_base.74" = type { %"struct.std::_Vector_base<transoms::LinkQueue, std::allocator<transoms::LinkQueue>>::_Vector_impl" }
%"struct.std::_Vector_base<transoms::LinkQueue, std::allocator<transoms::LinkQueue>>::_Vector_impl" = type { %"struct.std::_Vector_base<transoms::LinkQueue, std::allocator<transoms::LinkQueue>>::_Vector_impl_data" }
%"struct.std::_Vector_base<transoms::LinkQueue, std::allocator<transoms::LinkQueue>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.78" = type { %"struct.std::_Vector_base.79" }
%"struct.std::_Vector_base.79" = type { %"struct.std::_Vector_base<transoms::Agent, std::allocator<transoms::Agent>>::_Vector_impl" }
%"struct.std::_Vector_base<transoms::Agent, std::allocator<transoms::Agent>>::_Vector_impl" = type { %"struct.std::_Vector_base<transoms::Agent, std::allocator<transoms::Agent>>::_Vector_impl_data" }
%"struct.std::_Vector_base<transoms::Agent, std::allocator<transoms::Agent>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::map.83" = type { %"class.std::_Rb_tree.84" }
%"class.std::_Rb_tree.84" = type { %"struct.std::_Rb_tree<unsigned int, std::pair<const unsigned int, std::vector<unsigned int>>, std::_Select1st<std::pair<const unsigned int, std::vector<unsigned int>>>, std::less<unsigned int>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<unsigned int, std::pair<const unsigned int, std::vector<unsigned int>>, std::_Select1st<std::pair<const unsigned int, std::vector<unsigned int>>>, std::less<unsigned int>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }

@.str.19 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.81 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.83 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.97 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.98 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.99 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.100 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.101 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.102 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.103 = external hidden unnamed_addr constant [14 x i8], align 1

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

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEc(ptr noundef nonnull align 8 dereferenceable(32), i8 noundef signext) #2 align 2

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6miocsv6WriterC2EONSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEc(ptr noundef nonnull align 8 dereferenceable(513), ptr noundef nonnull align 8 dereferenceable(32), i8 noundef signext) unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6miocsv6Writer6appendIjEEvOT_c(ptr noundef nonnull align 8 dereferenceable(513), ptr noundef nonnull align 4 dereferenceable(4), i8 noundef signext) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6miocsv6Writer6appendIRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEvOT_c(ptr noundef nonnull align 8 dereferenceable(513), ptr noundef nonnull align 8 dereferenceable(32), i8 noundef signext) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6miocsv6Writer6appendIdEEvOT_c(ptr noundef nonnull align 8 dereferenceable(513), ptr noundef nonnull align 8 dereferenceable(8), i8 noundef signext) #2 align 2

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN8transoms13NetworkHandle19output_trajectoriesERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES8_(ptr noundef nonnull align 8 dereferenceable(512) %0, ptr noundef nonnull align 8 dereferenceable(32) %1, ptr noundef nonnull align 8 dereferenceable(32) %2) #2 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca %"class.miocsv::Writer", align 8
  %8 = alloca %"class.std::__cxx11::basic_string", align 8
  %9 = alloca %"class.std::__cxx11::basic_string", align 8
  %10 = alloca ptr, align 8
  %11 = alloca i32, align 4
  %12 = alloca double, align 8
  %13 = alloca %"struct.std::pair.162", align 4
  %14 = alloca ptr, align 8
  %15 = alloca %"class.__gnu_cxx::__normal_iterator.164", align 8
  %16 = alloca %"class.__gnu_cxx::__normal_iterator.164", align 8
  %17 = alloca i32, align 4
  %18 = alloca ptr, align 8
  %19 = alloca %"struct.std::pair.162", align 4
  %20 = alloca %"struct.std::pair.162", align 4
  %21 = alloca double, align 8
  %22 = alloca i8, align 1
  %23 = alloca %"class.std::__cxx11::basic_string", align 8
  %24 = alloca %"class.std::vector.94", align 8
  %25 = alloca i32, align 4
  %26 = alloca i32, align 4
  %27 = alloca double, align 8
  %28 = alloca %"class.std::__cxx11::basic_string", align 8
  %29 = alloca double, align 8
  %30 = alloca %"class.std::__cxx11::basic_string", align 8
  %31 = alloca ptr, align 8
  %32 = alloca i32, align 4
  %33 = alloca i32, align 4
  %34 = alloca i32, align 4
  %35 = alloca %"class.std::__cxx11::basic_string", align 8
  %36 = alloca %"class.std::__cxx11::basic_string", align 8
  %37 = alloca double, align 8
  %38 = alloca double, align 8
  %39 = alloca double, align 8
  %40 = alloca %"class.std::__cxx11::basic_string", align 8
  %41 = alloca %"class.std::__cxx11::basic_string", align 8
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  store ptr %2, ptr %6, align 8, !tbaa !5
  %42 = load ptr, ptr %4, align 8
  call void @llvm.lifetime.start.p0(i64 520, ptr %7) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr %8) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr %9) #6
  %43 = load ptr, ptr %5, align 8, !tbaa !5
  call void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EERKS8_S5_(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %9, ptr noundef nonnull align 8 dereferenceable(32) %43, i8 noundef signext 47)
  %44 = load ptr, ptr %6, align 8, !tbaa !5
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_RKS8_(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %8, ptr noundef nonnull align 8 dereferenceable(32) %9, ptr noundef nonnull align 8 dereferenceable(32) %44)
          to label %45 unwind label %62

45:                                               ; preds = %3
  invoke void @_ZN6miocsv6WriterC2EONSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEc(ptr noundef nonnull align 8 dereferenceable(513) %7, ptr noundef nonnull align 8 dereferenceable(32) %8, i8 noundef signext 44)
          to label %46 unwind label %66

46:                                               ; preds = %45
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %9) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %8) #6
  invoke void @_ZN6miocsv6Writer13write_row_rawIA9_cJA10_cS3_S2_S2_A15_cA12_cA4_cA16_cS3_S2_A14_cEEEvRKT_DpRKT0_(ptr noundef nonnull align 8 dereferenceable(513) %7, ptr noundef nonnull align 1 dereferenceable(9) @.str.81, ptr noundef nonnull align 1 dereferenceable(10) @.str.19, ptr noundef nonnull align 1 dereferenceable(10) @.str.20, ptr noundef nonnull align 1 dereferenceable(9) @.str.97, ptr noundef nonnull align 1 dereferenceable(9) @.str.98, ptr noundef nonnull align 1 dereferenceable(15) @.str.99, ptr noundef nonnull align 1 dereferenceable(12) @.str.83, ptr noundef nonnull align 1 dereferenceable(4) @.str.100, ptr noundef nonnull align 1 dereferenceable(16) @.str.101, ptr noundef nonnull align 1 dereferenceable(10) @.str.102, ptr noundef nonnull align 1 dereferenceable(9) @.str.32, ptr noundef nonnull align 1 dereferenceable(14) @.str.103)
          to label %47 unwind label %71

47:                                               ; preds = %46
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #6
  store double -1.000000e+00, ptr %12, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #6
  %48 = invoke noundef nonnull align 8 dereferenceable(96) ptr @_ZN8transoms13NetworkHandle9get_agentEj(ptr noundef nonnull align 8 dereferenceable(512) %42, i32 noundef 0)
          to label %49 unwind label %75

49:                                               ; preds = %47
  %50 = invoke i64 @_ZNK8transoms5Agent6get_odEv(ptr noundef nonnull align 8 dereferenceable(96) %48)
          to label %51 unwind label %75

51:                                               ; preds = %49
  store i64 %50, ptr %13, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #6
  %52 = getelementptr inbounds %"class.transoms::NetworkHandle", ptr %42, i32 0, i32 10
  store ptr %52, ptr %14, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #6
  %53 = load ptr, ptr %14, align 8, !tbaa !5
  %54 = call ptr @_ZNSt6vectorIN8transoms5AgentESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %53) #6
  %55 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.164", ptr %15, i32 0, i32 0
  store ptr %54, ptr %55, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #6
  %56 = load ptr, ptr %14, align 8, !tbaa !5
  %57 = call ptr @_ZNSt6vectorIN8transoms5AgentESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %56) #6
  %58 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.164", ptr %16, i32 0, i32 0
  store ptr %57, ptr %58, align 8
  br label %59

59:                                               ; preds = %231, %51
  %60 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN8transoms5AgentESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %15, ptr noundef nonnull align 8 dereferenceable(8) %16) #6
  br i1 %60, label %79, label %61

61:                                               ; preds = %59
  store i32 2, ptr %17, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #6
  br label %317

62:                                               ; preds = %3
  %63 = landingpad { ptr, i32 }
          cleanup
  %64 = extractvalue { ptr, i32 } %63, 0
  store ptr %64, ptr %10, align 8
  %65 = extractvalue { ptr, i32 } %63, 1
  store i32 %65, ptr %11, align 4
  br label %70

66:                                               ; preds = %45
  %67 = landingpad { ptr, i32 }
          cleanup
  %68 = extractvalue { ptr, i32 } %67, 0
  store ptr %68, ptr %10, align 8
  %69 = extractvalue { ptr, i32 } %67, 1
  store i32 %69, ptr %11, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #6
  br label %70

70:                                               ; preds = %66, %62
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %9) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %8) #6
  br label %320

71:                                               ; preds = %46
  %72 = landingpad { ptr, i32 }
          cleanup
  %73 = extractvalue { ptr, i32 } %72, 0
  store ptr %73, ptr %10, align 8
  %74 = extractvalue { ptr, i32 } %72, 1
  store i32 %74, ptr %11, align 4
  br label %319

75:                                               ; preds = %49, %47
  %76 = landingpad { ptr, i32 }
          cleanup
  %77 = extractvalue { ptr, i32 } %76, 0
  store ptr %77, ptr %10, align 8
  %78 = extractvalue { ptr, i32 } %76, 1
  store i32 %78, ptr %11, align 4
  br label %318

79:                                               ; preds = %59
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #6
  %80 = call noundef nonnull align 8 dereferenceable(96) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN8transoms5AgentESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %15) #6
  store ptr %80, ptr %18, align 8, !tbaa !5
  %81 = load ptr, ptr %18, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #6
  %82 = invoke noundef double @_ZNK8transoms5Agent17get_orig_dep_timeEv(ptr noundef nonnull align 8 dereferenceable(96) %81)
          to label %83 unwind label %95

83:                                               ; preds = %79
  %84 = load double, ptr %12, align 8, !tbaa !9
  %85 = fcmp oeq double %82, %84
  br i1 %85, label %86, label %92

86:                                               ; preds = %83
  %87 = load ptr, ptr %18, align 8, !tbaa !5
  %88 = invoke i64 @_ZNK8transoms5Agent6get_odEv(ptr noundef nonnull align 8 dereferenceable(96) %87)
          to label %89 unwind label %99

89:                                               ; preds = %86
  store i64 %88, ptr %19, align 4
  %90 = invoke noundef zeroext i1 @_ZSteqIjjEbRKSt4pairIT_T0_ES5_(ptr noundef nonnull align 4 dereferenceable(8) %19, ptr noundef nonnull align 4 dereferenceable(8) %13)
          to label %91 unwind label %99

91:                                               ; preds = %89
  br label %92

92:                                               ; preds = %91, %83
  %93 = phi i1 [ false, %83 ], [ %90, %91 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #6
  br i1 %93, label %94, label %103

94:                                               ; preds = %92
  store i32 3, ptr %17, align 4
  br label %228

95:                                               ; preds = %103, %79
  %96 = landingpad { ptr, i32 }
          cleanup
  %97 = extractvalue { ptr, i32 } %96, 0
  store ptr %97, ptr %10, align 8
  %98 = extractvalue { ptr, i32 } %96, 1
  store i32 %98, ptr %11, align 4
  br label %316

99:                                               ; preds = %89, %86
  %100 = landingpad { ptr, i32 }
          cleanup
  %101 = extractvalue { ptr, i32 } %100, 0
  store ptr %101, ptr %10, align 8
  %102 = extractvalue { ptr, i32 } %100, 1
  store i32 %102, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #6
  br label %316

103:                                              ; preds = %92
  %104 = load ptr, ptr %18, align 8, !tbaa !5
  %105 = invoke noundef double @_ZNK8transoms5Agent17get_orig_dep_timeEv(ptr noundef nonnull align 8 dereferenceable(96) %104)
          to label %106 unwind label %95

106:                                              ; preds = %103
  store double %105, ptr %12, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #6
  %107 = load ptr, ptr %18, align 8, !tbaa !5
  %108 = invoke i64 @_ZNK8transoms5Agent6get_odEv(ptr noundef nonnull align 8 dereferenceable(96) %107)
          to label %109 unwind label %131

109:                                              ; preds = %106
  store i64 %108, ptr %20, align 4
  %110 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt4pairIjjEaSEOS0_(ptr noundef nonnull align 4 dereferenceable(8) %13, ptr noundef nonnull align 4 dereferenceable(8) %20) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #6
  %111 = load ptr, ptr %18, align 8, !tbaa !5
  %112 = invoke noundef i32 @_ZNK8transoms5Agent21get_dest_arr_intervalEv(ptr noundef nonnull align 8 dereferenceable(96) %111)
          to label %113 unwind label %135

113:                                              ; preds = %109
  %114 = invoke noundef double @_ZNK8transoms13NetworkHandle13get_real_timeEj(ptr noundef nonnull align 8 dereferenceable(512) %42, i32 noundef %112)
          to label %115 unwind label %135

115:                                              ; preds = %113
  store double %114, ptr %21, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr %22) #6
  %116 = load ptr, ptr %18, align 8, !tbaa !5
  %117 = invoke noundef zeroext i1 @_ZNK8transoms5Agent14completes_tripEv(ptr noundef nonnull align 8 dereferenceable(96) %116)
          to label %118 unwind label %139

118:                                              ; preds = %115
  %119 = zext i1 %117 to i64
  %120 = select i1 %117, i8 99, i8 110
  store i8 %120, ptr %22, align 1, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 32, ptr %23) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %23) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr %24) #6
  %121 = load ptr, ptr %18, align 8, !tbaa !5
  invoke void @_ZNK8transoms5Agent17get_time_sequenceEv(ptr dead_on_unwind writable sret(%"class.std::vector.94") align 8 %24, ptr noundef nonnull align 8 dereferenceable(96) %121)
          to label %122 unwind label %143

122:                                              ; preds = %118
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #6
  store i32 0, ptr %25, align 4, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #6
  %123 = call noundef i64 @_ZNKSt6vectorIjSaIjEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %24) #6
  %124 = sub i64 %123, 1
  %125 = trunc i64 %124 to i32
  store i32 %125, ptr %26, align 4, !tbaa !12
  br label %126

126:                                              ; preds = %160, %122
  %127 = load i32, ptr %25, align 4, !tbaa !12
  %128 = load i32, ptr %26, align 4, !tbaa !12
  %129 = icmp ne i32 %127, %128
  br i1 %129, label %147, label %130

130:                                              ; preds = %126
  store i32 4, ptr %17, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #6
  br label %177

131:                                              ; preds = %106
  %132 = landingpad { ptr, i32 }
          cleanup
  %133 = extractvalue { ptr, i32 } %132, 0
  store ptr %133, ptr %10, align 8
  %134 = extractvalue { ptr, i32 } %132, 1
  store i32 %134, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #6
  br label %316

135:                                              ; preds = %113, %109
  %136 = landingpad { ptr, i32 }
          cleanup
  %137 = extractvalue { ptr, i32 } %136, 0
  store ptr %137, ptr %10, align 8
  %138 = extractvalue { ptr, i32 } %136, 1
  store i32 %138, ptr %11, align 4
  br label %315

139:                                              ; preds = %115
  %140 = landingpad { ptr, i32 }
          cleanup
  %141 = extractvalue { ptr, i32 } %140, 0
  store ptr %141, ptr %10, align 8
  %142 = extractvalue { ptr, i32 } %140, 1
  store i32 %142, ptr %11, align 4
  br label %314

143:                                              ; preds = %118
  %144 = landingpad { ptr, i32 }
          cleanup
  %145 = extractvalue { ptr, i32 } %144, 0
  store ptr %145, ptr %10, align 8
  %146 = extractvalue { ptr, i32 } %144, 1
  store i32 %146, ptr %11, align 4
  br label %313

147:                                              ; preds = %126
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #6
  %148 = load i32, ptr %25, align 4, !tbaa !12
  %149 = zext i32 %148 to i64
  %150 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %24, i64 noundef %149) #6
  %151 = load i32, ptr %150, align 4, !tbaa !12
  %152 = invoke noundef double @_ZNK8transoms13NetworkHandle13get_real_timeEj(ptr noundef nonnull align 8 dereferenceable(512) %42, i32 noundef %151)
          to label %153 unwind label %163

153:                                              ; preds = %147
  store double %152, ptr %27, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 32, ptr %28) #6
  %154 = load double, ptr %27, align 8, !tbaa !9
  invoke void @_ZN8transoms13NetworkHandle14get_time_stampB5cxx11Ed(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %28, double noundef %154)
          to label %155 unwind label %167

155:                                              ; preds = %153
  %156 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %23, ptr noundef nonnull align 8 dereferenceable(32) %28)
          to label %157 unwind label %171

157:                                              ; preds = %155
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %28) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %28) #6
  %158 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEc(ptr noundef nonnull align 8 dereferenceable(32) %23, i8 noundef signext 59)
          to label %159 unwind label %163

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

160:                                              ; preds = %159
  %161 = load i32, ptr %25, align 4, !tbaa !12
  %162 = add i32 %161, 1
  store i32 %162, ptr %25, align 4, !tbaa !12
  br label %126, !llvm.loop !14

163:                                              ; preds = %157, %147
  %164 = landingpad { ptr, i32 }
          cleanup
  %165 = extractvalue { ptr, i32 } %164, 0
  store ptr %165, ptr %10, align 8
  %166 = extractvalue { ptr, i32 } %164, 1
  store i32 %166, ptr %11, align 4
  br label %176

167:                                              ; preds = %153
  %168 = landingpad { ptr, i32 }
          cleanup
  %169 = extractvalue { ptr, i32 } %168, 0
  store ptr %169, ptr %10, align 8
  %170 = extractvalue { ptr, i32 } %168, 1
  store i32 %170, ptr %11, align 4
  br label %175

171:                                              ; preds = %155
  %172 = landingpad { ptr, i32 }
          cleanup
  %173 = extractvalue { ptr, i32 } %172, 0
  store ptr %173, ptr %10, align 8
  %174 = extractvalue { ptr, i32 } %172, 1
  store i32 %174, ptr %11, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %28) #6
  br label %175

175:                                              ; preds = %171, %167
  call void @llvm.lifetime.end.p0(i64 32, ptr %28) #6
  br label %176

176:                                              ; preds = %175, %163
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #6
  br label %312

177:                                              ; preds = %130
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #6
  %178 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIjSaIjEE4backEv(ptr noundef nonnull align 8 dereferenceable(24) %24) #6
  %179 = load i32, ptr %178, align 4, !tbaa !12
  %180 = invoke noundef double @_ZNK8transoms13NetworkHandle13get_real_timeEj(ptr noundef nonnull align 8 dereferenceable(512) %42, i32 noundef %179)
          to label %181 unwind label %233

181:                                              ; preds = %177
  store double %180, ptr %29, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 32, ptr %30) #6
  %182 = load double, ptr %29, align 8, !tbaa !9
  invoke void @_ZN8transoms13NetworkHandle14get_time_stampB5cxx11Ed(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %30, double noundef %182)
          to label %183 unwind label %237

183:                                              ; preds = %181
  %184 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %23, ptr noundef nonnull align 8 dereferenceable(32) %30)
          to label %185 unwind label %241

185:                                              ; preds = %183
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %30) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %30) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #6
  %186 = load ptr, ptr %18, align 8, !tbaa !5
  %187 = invoke noundef ptr @_ZNK8transoms5Agent10get_columnEv(ptr noundef nonnull align 8 dereferenceable(96) %186)
          to label %188 unwind label %246

188:                                              ; preds = %185
  store ptr %187, ptr %31, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %32) #6
  %189 = load ptr, ptr %18, align 8, !tbaa !5
  %190 = invoke noundef i32 @_ZNK8transoms5Agent6get_noEv(ptr noundef nonnull align 8 dereferenceable(96) %189)
          to label %191 unwind label %250

191:                                              ; preds = %188
  store i32 %190, ptr %32, align 4, !tbaa !12
  invoke void @_ZN6miocsv6Writer6appendIjEEvOT_c(ptr noundef nonnull align 8 dereferenceable(513) %7, ptr noundef nonnull align 4 dereferenceable(4) %32, i8 noundef signext 44)
          to label %192 unwind label %250

192:                                              ; preds = %191
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %33) #6
  %193 = load ptr, ptr %18, align 8, !tbaa !5
  %194 = invoke noundef i32 @_ZNK8transoms5Agent16get_orig_zone_noEv(ptr noundef nonnull align 8 dereferenceable(96) %193)
          to label %195 unwind label %254

195:                                              ; preds = %192
  store i32 %194, ptr %33, align 4, !tbaa !12
  invoke void @_ZN6miocsv6Writer6appendIjEEvOT_c(ptr noundef nonnull align 8 dereferenceable(513) %7, ptr noundef nonnull align 4 dereferenceable(4) %33, i8 noundef signext 44)
          to label %196 unwind label %254

196:                                              ; preds = %195
  call void @llvm.lifetime.end.p0(i64 4, ptr %33) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %34) #6
  %197 = load ptr, ptr %18, align 8, !tbaa !5
  %198 = invoke noundef i32 @_ZNK8transoms5Agent16get_dest_zone_noEv(ptr noundef nonnull align 8 dereferenceable(96) %197)
          to label %199 unwind label %258

199:                                              ; preds = %196
  store i32 %198, ptr %34, align 4, !tbaa !12
  invoke void @_ZN6miocsv6Writer6appendIjEEvOT_c(ptr noundef nonnull align 8 dereferenceable(513) %7, ptr noundef nonnull align 4 dereferenceable(4) %34, i8 noundef signext 44)
          to label %200 unwind label %258

200:                                              ; preds = %199
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr %35) #6
  %201 = load double, ptr %12, align 8, !tbaa !9
  invoke void @_ZN8transoms13NetworkHandle14get_time_stampB5cxx11Ed(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %35, double noundef %201)
          to label %202 unwind label %262

202:                                              ; preds = %200
  invoke void @_ZN6miocsv6Writer6appendINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEvOT_c(ptr noundef nonnull align 8 dereferenceable(513) %7, ptr noundef nonnull align 8 dereferenceable(32) %35, i8 noundef signext 44)
          to label %203 unwind label %266

203:                                              ; preds = %202
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %35) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %35) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr %36) #6
  %204 = load double, ptr %21, align 8, !tbaa !9
  invoke void @_ZN8transoms13NetworkHandle14get_time_stampB5cxx11Ed(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %36, double noundef %204)
          to label %205 unwind label %271

205:                                              ; preds = %203
  invoke void @_ZN6miocsv6Writer6appendINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEvOT_c(ptr noundef nonnull align 8 dereferenceable(513) %7, ptr noundef nonnull align 8 dereferenceable(32) %36, i8 noundef signext 44)
          to label %206 unwind label %275

206:                                              ; preds = %205
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %36) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %36) #6
  invoke void @_ZN6miocsv6Writer6appendIRcEEvOT_c(ptr noundef nonnull align 8 dereferenceable(513) %7, ptr noundef nonnull align 1 dereferenceable(1) %22, i8 noundef signext 44)
          to label %207 unwind label %246

207:                                              ; preds = %206
  call void @llvm.lifetime.start.p0(i64 8, ptr %37) #6
  %208 = load ptr, ptr %18, align 8, !tbaa !5
  %209 = invoke noundef i32 @_ZNK8transoms5Agent19get_travel_intervalEv(ptr noundef nonnull align 8 dereferenceable(96) %208)
          to label %210 unwind label %280

210:                                              ; preds = %207
  %211 = call noundef double @_ZNK8transoms13NetworkHandle30cast_interval_to_minute_doubleEj(ptr noundef nonnull align 8 dereferenceable(512) %42, i32 noundef %209)
  store double %211, ptr %37, align 8, !tbaa !9
  invoke void @_ZN6miocsv6Writer6appendIdEEvOT_c(ptr noundef nonnull align 8 dereferenceable(513) %7, ptr noundef nonnull align 8 dereferenceable(8) %37, i8 noundef signext 44)
          to label %212 unwind label %280

212:                                              ; preds = %210
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %38) #6
  %213 = load ptr, ptr %18, align 8, !tbaa !5
  %214 = invoke noundef double @_ZNK8transoms5Agent7get_pceEv(ptr noundef nonnull align 8 dereferenceable(96) %213)
          to label %215 unwind label %284

215:                                              ; preds = %212
  store double %214, ptr %38, align 8, !tbaa !9
  invoke void @_ZN6miocsv6Writer6appendIdEEvOT_c(ptr noundef nonnull align 8 dereferenceable(513) %7, ptr noundef nonnull align 8 dereferenceable(8) %38, i8 noundef signext 44)
          to label %216 unwind label %284

216:                                              ; preds = %215
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %39) #6
  %217 = load ptr, ptr %31, align 8, !tbaa !5
  %218 = invoke noundef double @_ZNK8transoms6Column8get_distEv(ptr noundef nonnull align 8 dereferenceable(136) %217)
          to label %219 unwind label %288

219:                                              ; preds = %216
  store double %218, ptr %39, align 8, !tbaa !9
  invoke void @_ZN6miocsv6Writer6appendIdEEvOT_c(ptr noundef nonnull align 8 dereferenceable(513) %7, ptr noundef nonnull align 8 dereferenceable(8) %39, i8 noundef signext 44)
          to label %220 unwind label %288

220:                                              ; preds = %219
  call void @llvm.lifetime.end.p0(i64 8, ptr %39) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr %40) #6
  %221 = load ptr, ptr %31, align 8, !tbaa !5
  invoke void @_ZN8transoms13NetworkHandle17get_node_path_strB5cxx11ERKNS_6ColumnE(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %40, ptr noundef nonnull align 8 dereferenceable(512) %42, ptr noundef nonnull align 8 dereferenceable(136) %221)
          to label %222 unwind label %292

222:                                              ; preds = %220
  invoke void @_ZN6miocsv6Writer6appendINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEvOT_c(ptr noundef nonnull align 8 dereferenceable(513) %7, ptr noundef nonnull align 8 dereferenceable(32) %40, i8 noundef signext 44)
          to label %223 unwind label %296

223:                                              ; preds = %222
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %40) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %40) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr %41) #6
  %224 = load ptr, ptr %31, align 8, !tbaa !5
  invoke void @_ZN8transoms13NetworkHandle25get_node_path_coordinatesB5cxx11ERKNS_6ColumnE(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %41, ptr noundef nonnull align 8 dereferenceable(512) %42, ptr noundef nonnull align 8 dereferenceable(136) %224)
          to label %225 unwind label %301

225:                                              ; preds = %223
  invoke void @_ZN6miocsv6Writer6appendINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEvOT_c(ptr noundef nonnull align 8 dereferenceable(513) %7, ptr noundef nonnull align 8 dereferenceable(32) %41, i8 noundef signext 44)
          to label %226 unwind label %305

226:                                              ; preds = %225
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %41) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %41) #6
  invoke void @_ZN6miocsv6Writer6appendIRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEvOT_c(ptr noundef nonnull align 8 dereferenceable(513) %7, ptr noundef nonnull align 8 dereferenceable(32) %23, i8 noundef signext 10)
          to label %227 unwind label %246

227:                                              ; preds = %226
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #6
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %24) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %24) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %23) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %23) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %22) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #6
  store i32 0, ptr %17, align 4
  br label %228

228:                                              ; preds = %227, %94
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #6
  %229 = load i32, ptr %17, align 4
  switch i32 %229, label %326 [
    i32 0, label %230
    i32 3, label %231
  ]

230:                                              ; preds = %228
  br label %231

231:                                              ; preds = %230, %228
  %232 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPN8transoms5AgentESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %15) #6
  br label %59

233:                                              ; preds = %177
  %234 = landingpad { ptr, i32 }
          cleanup
  %235 = extractvalue { ptr, i32 } %234, 0
  store ptr %235, ptr %10, align 8
  %236 = extractvalue { ptr, i32 } %234, 1
  store i32 %236, ptr %11, align 4
  br label %311

237:                                              ; preds = %181
  %238 = landingpad { ptr, i32 }
          cleanup
  %239 = extractvalue { ptr, i32 } %238, 0
  store ptr %239, ptr %10, align 8
  %240 = extractvalue { ptr, i32 } %238, 1
  store i32 %240, ptr %11, align 4
  br label %245

241:                                              ; preds = %183
  %242 = landingpad { ptr, i32 }
          cleanup
  %243 = extractvalue { ptr, i32 } %242, 0
  store ptr %243, ptr %10, align 8
  %244 = extractvalue { ptr, i32 } %242, 1
  store i32 %244, ptr %11, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %30) #6
  br label %245

245:                                              ; preds = %241, %237
  call void @llvm.lifetime.end.p0(i64 32, ptr %30) #6
  br label %311

246:                                              ; preds = %226, %206, %185
  %247 = landingpad { ptr, i32 }
          cleanup
  %248 = extractvalue { ptr, i32 } %247, 0
  store ptr %248, ptr %10, align 8
  %249 = extractvalue { ptr, i32 } %247, 1
  store i32 %249, ptr %11, align 4
  br label %310

250:                                              ; preds = %191, %188
  %251 = landingpad { ptr, i32 }
          cleanup
  %252 = extractvalue { ptr, i32 } %251, 0
  store ptr %252, ptr %10, align 8
  %253 = extractvalue { ptr, i32 } %251, 1
  store i32 %253, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #6
  br label %310

254:                                              ; preds = %195, %192
  %255 = landingpad { ptr, i32 }
          cleanup
  %256 = extractvalue { ptr, i32 } %255, 0
  store ptr %256, ptr %10, align 8
  %257 = extractvalue { ptr, i32 } %255, 1
  store i32 %257, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %33) #6
  br label %310

258:                                              ; preds = %199, %196
  %259 = landingpad { ptr, i32 }
          cleanup
  %260 = extractvalue { ptr, i32 } %259, 0
  store ptr %260, ptr %10, align 8
  %261 = extractvalue { ptr, i32 } %259, 1
  store i32 %261, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #6
  br label %310

262:                                              ; preds = %200
  %263 = landingpad { ptr, i32 }
          cleanup
  %264 = extractvalue { ptr, i32 } %263, 0
  store ptr %264, ptr %10, align 8
  %265 = extractvalue { ptr, i32 } %263, 1
  store i32 %265, ptr %11, align 4
  br label %270

266:                                              ; preds = %202
  %267 = landingpad { ptr, i32 }
          cleanup
  %268 = extractvalue { ptr, i32 } %267, 0
  store ptr %268, ptr %10, align 8
  %269 = extractvalue { ptr, i32 } %267, 1
  store i32 %269, ptr %11, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %35) #6
  br label %270

270:                                              ; preds = %266, %262
  call void @llvm.lifetime.end.p0(i64 32, ptr %35) #6
  br label %310

271:                                              ; preds = %203
  %272 = landingpad { ptr, i32 }
          cleanup
  %273 = extractvalue { ptr, i32 } %272, 0
  store ptr %273, ptr %10, align 8
  %274 = extractvalue { ptr, i32 } %272, 1
  store i32 %274, ptr %11, align 4
  br label %279

275:                                              ; preds = %205
  %276 = landingpad { ptr, i32 }
          cleanup
  %277 = extractvalue { ptr, i32 } %276, 0
  store ptr %277, ptr %10, align 8
  %278 = extractvalue { ptr, i32 } %276, 1
  store i32 %278, ptr %11, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %36) #6
  br label %279

279:                                              ; preds = %275, %271
  call void @llvm.lifetime.end.p0(i64 32, ptr %36) #6
  br label %310

280:                                              ; preds = %210, %207
  %281 = landingpad { ptr, i32 }
          cleanup
  %282 = extractvalue { ptr, i32 } %281, 0
  store ptr %282, ptr %10, align 8
  %283 = extractvalue { ptr, i32 } %281, 1
  store i32 %283, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #6
  br label %310

284:                                              ; preds = %215, %212
  %285 = landingpad { ptr, i32 }
          cleanup
  %286 = extractvalue { ptr, i32 } %285, 0
  store ptr %286, ptr %10, align 8
  %287 = extractvalue { ptr, i32 } %285, 1
  store i32 %287, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #6
  br label %310

288:                                              ; preds = %219, %216
  %289 = landingpad { ptr, i32 }
          cleanup
  %290 = extractvalue { ptr, i32 } %289, 0
  store ptr %290, ptr %10, align 8
  %291 = extractvalue { ptr, i32 } %289, 1
  store i32 %291, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %39) #6
  br label %310

292:                                              ; preds = %220
  %293 = landingpad { ptr, i32 }
          cleanup
  %294 = extractvalue { ptr, i32 } %293, 0
  store ptr %294, ptr %10, align 8
  %295 = extractvalue { ptr, i32 } %293, 1
  store i32 %295, ptr %11, align 4
  br label %300

296:                                              ; preds = %222
  %297 = landingpad { ptr, i32 }
          cleanup
  %298 = extractvalue { ptr, i32 } %297, 0
  store ptr %298, ptr %10, align 8
  %299 = extractvalue { ptr, i32 } %297, 1
  store i32 %299, ptr %11, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %40) #6
  br label %300

300:                                              ; preds = %296, %292
  call void @llvm.lifetime.end.p0(i64 32, ptr %40) #6
  br label %310

301:                                              ; preds = %223
  %302 = landingpad { ptr, i32 }
          cleanup
  %303 = extractvalue { ptr, i32 } %302, 0
  store ptr %303, ptr %10, align 8
  %304 = extractvalue { ptr, i32 } %302, 1
  store i32 %304, ptr %11, align 4
  br label %309

305:                                              ; preds = %225
  %306 = landingpad { ptr, i32 }
          cleanup
  %307 = extractvalue { ptr, i32 } %306, 0
  store ptr %307, ptr %10, align 8
  %308 = extractvalue { ptr, i32 } %306, 1
  store i32 %308, ptr %11, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %41) #6
  br label %309

309:                                              ; preds = %305, %301
  call void @llvm.lifetime.end.p0(i64 32, ptr %41) #6
  br label %310

310:                                              ; preds = %309, %300, %288, %284, %280, %279, %270, %258, %254, %250, %246
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #6
  br label %311

311:                                              ; preds = %310, %245, %233
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #6
  br label %312

312:                                              ; preds = %311, %176
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %24) #6
  br label %313

313:                                              ; preds = %312, %143
  call void @llvm.lifetime.end.p0(i64 24, ptr %24) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %23) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %23) #6
  br label %314

314:                                              ; preds = %313, %139
  call void @llvm.lifetime.end.p0(i64 1, ptr %22) #6
  br label %315

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

316:                                              ; preds = %315, %131, %99, %95
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #6
  br label %318

317:                                              ; preds = %61
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #6
  call void @_ZN6miocsv6WriterD2Ev(ptr noundef nonnull align 8 dereferenceable(513) %7) #6
  call void @llvm.lifetime.end.p0(i64 520, ptr %7) #6
  ret void

318:                                              ; preds = %316, %75
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #6
  br label %319

319:                                              ; preds = %318, %71
  call void @_ZN6miocsv6WriterD2Ev(ptr noundef nonnull align 8 dereferenceable(513) %7) #6
  br label %320

320:                                              ; preds = %319, %70
  call void @llvm.lifetime.end.p0(i64 520, ptr %7) #6
  br label %321

321:                                              ; preds = %320
  %322 = load ptr, ptr %10, align 8
  %323 = load i32, ptr %11, align 4
  %324 = insertvalue { ptr, i32 } poison, ptr %322, 0
  %325 = insertvalue { ptr, i32 } %324, i32 %323, 1
  resume { ptr, i32 } %325

326:                                              ; preds = %228
  unreachable
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6miocsv6Writer13write_row_rawIA9_cJA10_cS3_S2_S2_A15_cA12_cA4_cA16_cS3_S2_A14_cEEEvRKT_DpRKT0_(ptr noundef nonnull align 8 dereferenceable(513), ptr noundef nonnull align 1 dereferenceable(9), ptr noundef nonnull align 1 dereferenceable(10), ptr noundef nonnull align 1 dereferenceable(10), ptr noundef nonnull align 1 dereferenceable(9), ptr noundef nonnull align 1 dereferenceable(9), ptr noundef nonnull align 1 dereferenceable(15), ptr noundef nonnull align 1 dereferenceable(12), ptr noundef nonnull align 1 dereferenceable(4), ptr noundef nonnull align 1 dereferenceable(16), ptr noundef nonnull align 1 dereferenceable(10), ptr noundef nonnull align 1 dereferenceable(9), ptr noundef nonnull align 1 dereferenceable(14)) #2 align 2

declare noundef nonnull align 8 dereferenceable(96) ptr @_ZN8transoms13NetworkHandle9get_agentEj(ptr noundef nonnull align 8 dereferenceable(512), i32 noundef) #4

; Function Attrs: mustprogress uwtable
declare dso_local i64 @_ZNK8transoms5Agent6get_odEv(ptr noundef nonnull align 8 dereferenceable(96)) #2 align 2

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

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

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

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

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

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

; 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)) #1 align 2

declare noundef double @_ZNK8transoms13NetworkHandle13get_real_timeEj(ptr noundef nonnull align 8 dereferenceable(512), i32 noundef) #4

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

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6miocsv6Writer6appendINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEvOT_c(ptr noundef nonnull align 8 dereferenceable(513), ptr noundef nonnull align 8 dereferenceable(32), i8 noundef signext) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6miocsv6Writer6appendIRcEEvOT_c(ptr noundef nonnull align 8 dereferenceable(513), ptr noundef nonnull align 1 dereferenceable(1), i8 noundef signext) #2 align 2

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

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

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

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


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

%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.miocsv::Writer" = type <{ %"class.std::basic_ofstream", i8, [7 x i8] }>
%"class.std::basic_ofstream" = type { %"class.std::basic_ostream.base", %"class.std::basic_filebuf", %"class.std::basic_ios" }
%"class.std::basic_ostream.base" = type { ptr }
%"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.6 }
%union.anon.6 = type { i32 }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"struct.std::pair.162" = type { i32, i32 }
%"class.__gnu_cxx::__normal_iterator.164" = type { ptr }
%"class.std::vector.94" = type { %"struct.std::_Vector_base.95" }
%"struct.std::_Vector_base.95" = type { %"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl" }
%"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl" = type { %"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl_data" = type { ptr, ptr, ptr }

@.str.19 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.81 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.83 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.97 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.98 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.99 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.100 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.101 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.102 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.103 = external hidden unnamed_addr constant [14 x i8], align 1

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

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEc(ptr noundef nonnull align 8 dereferenceable(32), i8 noundef signext) local_unnamed_addr #2 align 2

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6miocsv6WriterC2EONSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEc(ptr noundef nonnull align 8 dereferenceable(513), ptr noundef nonnull align 8 dereferenceable(32), i8 noundef signext) unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6miocsv6Writer6appendIjEEvOT_c(ptr noundef nonnull align 8 dereferenceable(513), ptr noundef nonnull align 4 dereferenceable(4), i8 noundef signext) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6miocsv6Writer6appendIRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEvOT_c(ptr noundef nonnull align 8 dereferenceable(513), ptr noundef nonnull align 8 dereferenceable(32), i8 noundef signext) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6miocsv6Writer6appendIdEEvOT_c(ptr noundef nonnull align 8 dereferenceable(513), ptr noundef nonnull align 8 dereferenceable(8), i8 noundef signext) local_unnamed_addr #2 align 2

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN8transoms13NetworkHandle19output_trajectoriesERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES8_(ptr noundef nonnull align 8 dereferenceable(512) %0, ptr noundef nonnull align 8 dereferenceable(32) %1, ptr noundef nonnull align 8 dereferenceable(32) %2) local_unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca %"class.miocsv::Writer", align 8
  %5 = alloca %"class.std::__cxx11::basic_string", align 8
  %6 = alloca %"class.std::__cxx11::basic_string", align 8
  %7 = alloca %"struct.std::pair.162", align 8
  %8 = alloca %"class.__gnu_cxx::__normal_iterator.164", align 8
  %9 = alloca %"class.__gnu_cxx::__normal_iterator.164", align 8
  %10 = alloca %"struct.std::pair.162", align 8
  %11 = alloca %"struct.std::pair.162", align 8
  %12 = alloca i8, align 1
  %13 = alloca %"class.std::__cxx11::basic_string", align 8
  %14 = alloca %"class.std::vector.94", align 8
  %15 = alloca %"class.std::__cxx11::basic_string", align 8
  %16 = alloca %"class.std::__cxx11::basic_string", align 8
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca %"class.std::__cxx11::basic_string", align 8
  %21 = alloca %"class.std::__cxx11::basic_string", align 8
  %22 = alloca double, align 8
  %23 = alloca double, align 8
  %24 = alloca double, align 8
  %25 = alloca %"class.std::__cxx11::basic_string", align 8
  %26 = alloca %"class.std::__cxx11::basic_string", align 8
  call void @llvm.lifetime.start.p0(i64 520, ptr nonnull %4) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %5) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %6) #6
  call void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EERKS8_S5_(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %6, ptr noundef nonnull align 8 dereferenceable(32) %1, i8 noundef signext 47)
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_RKS8_(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %5, ptr noundef nonnull align 8 dereferenceable(32) %6, ptr noundef nonnull align 8 dereferenceable(32) %2)
          to label %27 unwind label %38

27:                                               ; preds = %3
  invoke void @_ZN6miocsv6WriterC2EONSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEc(ptr noundef nonnull align 8 dereferenceable(513) %4, ptr noundef nonnull align 8 dereferenceable(32) %5, i8 noundef signext 44)
          to label %28 unwind label %40

28:                                               ; preds = %27
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %6) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %5) #6
  invoke void @_ZN6miocsv6Writer13write_row_rawIA9_cJA10_cS3_S2_S2_A15_cA12_cA4_cA16_cS3_S2_A14_cEEEvRKT_DpRKT0_(ptr noundef nonnull align 8 dereferenceable(513) %4, ptr noundef nonnull align 1 dereferenceable(9) @.str.81, ptr noundef nonnull align 1 dereferenceable(10) @.str.19, ptr noundef nonnull align 1 dereferenceable(10) @.str.20, ptr noundef nonnull align 1 dereferenceable(9) @.str.97, ptr noundef nonnull align 1 dereferenceable(9) @.str.98, ptr noundef nonnull align 1 dereferenceable(15) @.str.99, ptr noundef nonnull align 1 dereferenceable(12) @.str.83, ptr noundef nonnull align 1 dereferenceable(4) @.str.100, ptr noundef nonnull align 1 dereferenceable(16) @.str.101, ptr noundef nonnull align 1 dereferenceable(10) @.str.102, ptr noundef nonnull align 1 dereferenceable(9) @.str.32, ptr noundef nonnull align 1 dereferenceable(14) @.str.103)
          to label %29 unwind label %43

29:                                               ; preds = %28
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #6
  %30 = invoke noundef nonnull align 8 dereferenceable(96) ptr @_ZN8transoms13NetworkHandle9get_agentEj(ptr noundef nonnull align 8 dereferenceable(512) %0, i32 noundef 0)
          to label %31 unwind label %45

31:                                               ; preds = %29
  %32 = invoke i64 @_ZNK8transoms5Agent6get_odEv(ptr noundef nonnull align 8 dereferenceable(96) %30)
          to label %33 unwind label %45

33:                                               ; preds = %31
  store i64 %32, ptr %7, align 8
  %34 = getelementptr inbounds i8, ptr %0, i64 440
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #6
  %35 = call ptr @_ZNSt6vectorIN8transoms5AgentESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %34) #6
  store ptr %35, ptr %8, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #6
  %36 = call ptr @_ZNSt6vectorIN8transoms5AgentESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %34) #6
  store ptr %36, ptr %9, align 8
  %37 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN8transoms5AgentESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef nonnull align 8 dereferenceable(8) %9) #6
  br i1 %37, label %.lr.ph80, label %._crit_edge81

._crit_edge81:                                    ; preds = %126, %33
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #6
  call void @_ZN6miocsv6WriterD2Ev(ptr noundef nonnull align 8 dereferenceable(513) %4) #6
  call void @llvm.lifetime.end.p0(i64 520, ptr nonnull %4) #6
  ret void

38:                                               ; preds = %3
  %39 = landingpad { ptr, i32 }
          cleanup
  br label %42

40:                                               ; preds = %27
  %41 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #6
  br label %42

42:                                               ; preds = %40, %38
  %.pn = phi { ptr, i32 } [ %41, %40 ], [ %39, %38 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %6) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %5) #6
  br label %175

43:                                               ; preds = %28
  %44 = landingpad { ptr, i32 }
          cleanup
  br label %174

45:                                               ; preds = %31, %29
  %46 = landingpad { ptr, i32 }
          cleanup
  br label %173

.lr.ph80:                                         ; preds = %33, %126
  %.04878 = phi double [ %.149, %126 ], [ -1.000000e+00, %33 ]
  %47 = call noundef nonnull align 8 dereferenceable(96) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN8transoms5AgentESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %8) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #6
  %48 = call noundef double @_ZNK8transoms5Agent17get_orig_dep_timeEv(ptr noundef nonnull align 8 dereferenceable(96) %47)
  %49 = fcmp oeq double %48, %.04878
  br i1 %49, label %50, label %.critedge

50:                                               ; preds = %.lr.ph80
  %51 = invoke i64 @_ZNK8transoms5Agent6get_odEv(ptr noundef nonnull align 8 dereferenceable(96) %47)
          to label %52 unwind label %54

52:                                               ; preds = %50
  store i64 %51, ptr %10, align 8
  %53 = call noundef zeroext i1 @_ZSteqIjjEbRKSt4pairIT_T0_ES5_(ptr noundef nonnull align 4 dereferenceable(8) %10, ptr noundef nonnull align 4 dereferenceable(8) %7)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #6
  br i1 %53, label %126, label %56

54:                                               ; preds = %50
  %55 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #6
  br label %172

.critedge:                                        ; preds = %.lr.ph80
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #6
  br label %56

56:                                               ; preds = %.critedge, %52
  %57 = call noundef double @_ZNK8transoms5Agent17get_orig_dep_timeEv(ptr noundef nonnull align 8 dereferenceable(96) %47)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #6
  %58 = invoke i64 @_ZNK8transoms5Agent6get_odEv(ptr noundef nonnull align 8 dereferenceable(96) %47)
          to label %59 unwind label %75

59:                                               ; preds = %56
  store i64 %58, ptr %11, align 8
  %60 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt4pairIjjEaSEOS0_(ptr noundef nonnull align 4 dereferenceable(8) %7, ptr noundef nonnull align 4 dereferenceable(8) %11) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #6
  %61 = invoke noundef i32 @_ZNK8transoms5Agent21get_dest_arr_intervalEv(ptr noundef nonnull align 8 dereferenceable(96) %47)
          to label %62 unwind label %77

62:                                               ; preds = %59
  %63 = invoke noundef double @_ZNK8transoms13NetworkHandle13get_real_timeEj(ptr noundef nonnull align 8 dereferenceable(512) %0, i32 noundef %61)
          to label %64 unwind label %77

64:                                               ; preds = %62
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %12) #6
  %65 = call noundef zeroext i1 @_ZNK8transoms5Agent14completes_tripEv(ptr noundef nonnull align 8 dereferenceable(96) %47)
  %66 = select i1 %65, i8 99, i8 110
  store i8 %66, ptr %12, align 1, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %13) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %14) #6
  invoke void @_ZNK8transoms5Agent17get_time_sequenceEv(ptr dead_on_unwind nonnull writable sret(%"class.std::vector.94") align 8 %14, ptr noundef nonnull align 8 dereferenceable(96) %47)
          to label %67 unwind label %79

67:                                               ; preds = %64
  %68 = call noundef i64 @_ZNKSt6vectorIjSaIjEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %14) #6
  %69 = trunc i64 %68 to i32
  %70 = add i32 %69, -1
  %.not76 = icmp eq i32 %70, 0
  br i1 %.not76, label %._crit_edge, label %.lr.ph.preheader

.lr.ph.preheader:                                 ; preds = %67
  %71 = zext i32 %70 to i64
  br label %.lr.ph

._crit_edge:                                      ; preds = %89, %67
  %72 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIjSaIjEE4backEv(ptr noundef nonnull align 8 dereferenceable(24) %14) #6
  %73 = load i32, ptr %72, align 4, !tbaa !8
  %74 = invoke noundef double @_ZNK8transoms13NetworkHandle13get_real_timeEj(ptr noundef nonnull align 8 dereferenceable(512) %0, i32 noundef %73)
          to label %97 unwind label %129

75:                                               ; preds = %56
  %76 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #6
  br label %172

77:                                               ; preds = %62, %59
  %78 = landingpad { ptr, i32 }
          cleanup
  br label %172

79:                                               ; preds = %64
  %80 = landingpad { ptr, i32 }
          cleanup
  br label %171

.lr.ph:                                           ; preds = %.lr.ph.preheader, %89
  %indvars.iv = phi i64 [ 0, %.lr.ph.preheader ], [ %indvars.iv.next, %89 ]
  %81 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %14, i64 noundef %indvars.iv) #6
  %82 = load i32, ptr %81, align 4, !tbaa !8
  %83 = invoke noundef double @_ZNK8transoms13NetworkHandle13get_real_timeEj(ptr noundef nonnull align 8 dereferenceable(512) %0, i32 noundef %82)
          to label %84 unwind label %90

84:                                               ; preds = %.lr.ph
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %15) #6
  invoke void @_ZN8transoms13NetworkHandle14get_time_stampB5cxx11Ed(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %15, double noundef %83)
          to label %85 unwind label %92

85:                                               ; preds = %84
  %86 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %13, ptr noundef nonnull align 8 dereferenceable(32) %15)
          to label %87 unwind label %94

87:                                               ; preds = %85
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %15) #6
  %88 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEc(ptr noundef nonnull align 8 dereferenceable(32) %13, i8 noundef signext 59)
          to label %89 unwind label %90

89:                                               ; preds = %87
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %.not = icmp eq i64 %indvars.iv.next, %71
  br i1 %.not, label %._crit_edge, label %.lr.ph, !llvm.loop !10

90:                                               ; preds = %87, %.lr.ph
  %91 = landingpad { ptr, i32 }
          cleanup
  br label %170

92:                                               ; preds = %84
  %93 = landingpad { ptr, i32 }
          cleanup
  br label %96

94:                                               ; preds = %85
  %95 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #6
  br label %96

96:                                               ; preds = %94, %92
  %.pn65 = phi { ptr, i32 } [ %95, %94 ], [ %93, %92 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %15) #6
  br label %170

97:                                               ; preds = %._crit_edge
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %16) #6
  invoke void @_ZN8transoms13NetworkHandle14get_time_stampB5cxx11Ed(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %16, double noundef %74)
          to label %98 unwind label %131

98:                                               ; preds = %97
  %99 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %13, ptr noundef nonnull align 8 dereferenceable(32) %16)
          to label %100 unwind label %133

100:                                              ; preds = %98
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %16) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %16) #6
  %101 = call noundef ptr @_ZNK8transoms5Agent10get_columnEv(ptr noundef nonnull align 8 dereferenceable(96) %47)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %17) #6
  %102 = call noundef i32 @_ZNK8transoms5Agent6get_noEv(ptr noundef nonnull align 8 dereferenceable(96) %47)
  store i32 %102, ptr %17, align 4, !tbaa !8
  invoke void @_ZN6miocsv6Writer6appendIjEEvOT_c(ptr noundef nonnull align 8 dereferenceable(513) %4, ptr noundef nonnull align 4 dereferenceable(4) %17, i8 noundef signext 44)
          to label %103 unwind label %138

103:                                              ; preds = %100
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %17) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %18) #6
  %104 = call noundef i32 @_ZNK8transoms5Agent16get_orig_zone_noEv(ptr noundef nonnull align 8 dereferenceable(96) %47)
  store i32 %104, ptr %18, align 4, !tbaa !8
  invoke void @_ZN6miocsv6Writer6appendIjEEvOT_c(ptr noundef nonnull align 8 dereferenceable(513) %4, ptr noundef nonnull align 4 dereferenceable(4) %18, i8 noundef signext 44)
          to label %105 unwind label %140

105:                                              ; preds = %103
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %18) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %19) #6
  %106 = call noundef i32 @_ZNK8transoms5Agent16get_dest_zone_noEv(ptr noundef nonnull align 8 dereferenceable(96) %47)
  store i32 %106, ptr %19, align 4, !tbaa !8
  invoke void @_ZN6miocsv6Writer6appendIjEEvOT_c(ptr noundef nonnull align 8 dereferenceable(513) %4, ptr noundef nonnull align 4 dereferenceable(4) %19, i8 noundef signext 44)
          to label %107 unwind label %142

107:                                              ; preds = %105
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %19) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %20) #6
  invoke void @_ZN8transoms13NetworkHandle14get_time_stampB5cxx11Ed(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %20, double noundef %57)
          to label %108 unwind label %144

108:                                              ; preds = %107
  invoke void @_ZN6miocsv6Writer6appendINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEvOT_c(ptr noundef nonnull align 8 dereferenceable(513) %4, ptr noundef nonnull align 8 dereferenceable(32) %20, i8 noundef signext 44)
          to label %109 unwind label %146

109:                                              ; preds = %108
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %20) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %20) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %21) #6
  invoke void @_ZN8transoms13NetworkHandle14get_time_stampB5cxx11Ed(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %21, double noundef %63)
          to label %110 unwind label %149

110:                                              ; preds = %109
  invoke void @_ZN6miocsv6Writer6appendINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEvOT_c(ptr noundef nonnull align 8 dereferenceable(513) %4, ptr noundef nonnull align 8 dereferenceable(32) %21, i8 noundef signext 44)
          to label %111 unwind label %151

111:                                              ; preds = %110
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %21) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %21) #6
  invoke void @_ZN6miocsv6Writer6appendIRcEEvOT_c(ptr noundef nonnull align 8 dereferenceable(513) %4, ptr noundef nonnull align 1 dereferenceable(1) %12, i8 noundef signext 44)
          to label %112 unwind label %136

112:                                              ; preds = %111
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %22) #6
  %113 = invoke noundef i32 @_ZNK8transoms5Agent19get_travel_intervalEv(ptr noundef nonnull align 8 dereferenceable(96) %47)
          to label %114 unwind label %154

114:                                              ; preds = %112
  %115 = call noundef double @_ZNK8transoms13NetworkHandle30cast_interval_to_minute_doubleEj(ptr noundef nonnull align 8 dereferenceable(512) %0, i32 noundef %113)
  store double %115, ptr %22, align 8, !tbaa !12
  invoke void @_ZN6miocsv6Writer6appendIdEEvOT_c(ptr noundef nonnull align 8 dereferenceable(513) %4, ptr noundef nonnull align 8 dereferenceable(8) %22, i8 noundef signext 44)
          to label %116 unwind label %154

116:                                              ; preds = %114
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %22) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %23) #6
  %117 = call noundef double @_ZNK8transoms5Agent7get_pceEv(ptr noundef nonnull align 8 dereferenceable(96) %47)
  store double %117, ptr %23, align 8, !tbaa !12
  invoke void @_ZN6miocsv6Writer6appendIdEEvOT_c(ptr noundef nonnull align 8 dereferenceable(513) %4, ptr noundef nonnull align 8 dereferenceable(8) %23, i8 noundef signext 44)
          to label %118 unwind label %156

118:                                              ; preds = %116
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %23) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %24) #6
  %119 = call noundef double @_ZNK8transoms6Column8get_distEv(ptr noundef nonnull align 8 dereferenceable(136) %101)
  store double %119, ptr %24, align 8, !tbaa !12
  invoke void @_ZN6miocsv6Writer6appendIdEEvOT_c(ptr noundef nonnull align 8 dereferenceable(513) %4, ptr noundef nonnull align 8 dereferenceable(8) %24, i8 noundef signext 44)
          to label %120 unwind label %158

120:                                              ; preds = %118
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %24) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %25) #6
  invoke void @_ZN8transoms13NetworkHandle17get_node_path_strB5cxx11ERKNS_6ColumnE(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %25, ptr noundef nonnull align 8 dereferenceable(512) %0, ptr noundef nonnull align 8 dereferenceable(136) %101)
          to label %121 unwind label %160

121:                                              ; preds = %120
  invoke void @_ZN6miocsv6Writer6appendINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEvOT_c(ptr noundef nonnull align 8 dereferenceable(513) %4, ptr noundef nonnull align 8 dereferenceable(32) %25, i8 noundef signext 44)
          to label %122 unwind label %162

122:                                              ; preds = %121
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %25) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %25) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %26) #6
  invoke void @_ZN8transoms13NetworkHandle25get_node_path_coordinatesB5cxx11ERKNS_6ColumnE(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %26, ptr noundef nonnull align 8 dereferenceable(512) %0, ptr noundef nonnull align 8 dereferenceable(136) %101)
          to label %123 unwind label %165

123:                                              ; preds = %122
  invoke void @_ZN6miocsv6Writer6appendINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEvOT_c(ptr noundef nonnull align 8 dereferenceable(513) %4, ptr noundef nonnull align 8 dereferenceable(32) %26, i8 noundef signext 44)
          to label %124 unwind label %167

124:                                              ; preds = %123
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %26) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %26) #6
  invoke void @_ZN6miocsv6Writer6appendIRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEvOT_c(ptr noundef nonnull align 8 dereferenceable(513) %4, ptr noundef nonnull align 8 dereferenceable(32) %13, i8 noundef signext 10)
          to label %125 unwind label %136

125:                                              ; preds = %124
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %14) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %14) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %13) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %12) #6
  br label %126

126:                                              ; preds = %52, %125
  %.149 = phi double [ %57, %125 ], [ %.04878, %52 ]
  %127 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPN8transoms5AgentESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %8) #6
  %128 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN8transoms5AgentESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef nonnull align 8 dereferenceable(8) %9) #6
  br i1 %128, label %.lr.ph80, label %._crit_edge81

129:                                              ; preds = %._crit_edge
  %130 = landingpad { ptr, i32 }
          cleanup
  br label %170

131:                                              ; preds = %97
  %132 = landingpad { ptr, i32 }
          cleanup
  br label %135

133:                                              ; preds = %98
  %134 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %16) #6
  br label %135

135:                                              ; preds = %133, %131
  %.pn52 = phi { ptr, i32 } [ %134, %133 ], [ %132, %131 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %16) #6
  br label %170

136:                                              ; preds = %124, %111
  %137 = landingpad { ptr, i32 }
          cleanup
  br label %170

138:                                              ; preds = %100
  %139 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %17) #6
  br label %170

140:                                              ; preds = %103
  %141 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %18) #6
  br label %170

142:                                              ; preds = %105
  %143 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %19) #6
  br label %170

144:                                              ; preds = %107
  %145 = landingpad { ptr, i32 }
          cleanup
  br label %148

146:                                              ; preds = %108
  %147 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %20) #6
  br label %148

148:                                              ; preds = %146, %144
  %.pn54 = phi { ptr, i32 } [ %147, %146 ], [ %145, %144 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %20) #6
  br label %170

149:                                              ; preds = %109
  %150 = landingpad { ptr, i32 }
          cleanup
  br label %153

151:                                              ; preds = %110
  %152 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %21) #6
  br label %153

153:                                              ; preds = %151, %149
  %.pn56 = phi { ptr, i32 } [ %152, %151 ], [ %150, %149 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %21) #6
  br label %170

154:                                              ; preds = %114, %112
  %155 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %22) #6
  br label %170

156:                                              ; preds = %116
  %157 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %23) #6
  br label %170

158:                                              ; preds = %118
  %159 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %24) #6
  br label %170

160:                                              ; preds = %120
  %161 = landingpad { ptr, i32 }
          cleanup
  br label %164

162:                                              ; preds = %121
  %163 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %25) #6
  br label %164

164:                                              ; preds = %162, %160
  %.pn58 = phi { ptr, i32 } [ %163, %162 ], [ %161, %160 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %25) #6
  br label %170

165:                                              ; preds = %122
  %166 = landingpad { ptr, i32 }
          cleanup
  br label %169

167:                                              ; preds = %123
  %168 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %26) #6
  br label %169

169:                                              ; preds = %167, %165
  %.pn60 = phi { ptr, i32 } [ %168, %167 ], [ %166, %165 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %26) #6
  br label %170

170:                                              ; preds = %129, %135, %169, %164, %158, %156, %154, %153, %148, %142, %140, %138, %136, %90, %96
  %.pn67.pn = phi { ptr, i32 } [ %91, %90 ], [ %.pn65, %96 ], [ %.pn52, %135 ], [ %130, %129 ], [ %137, %136 ], [ %.pn60, %169 ], [ %.pn58, %164 ], [ %159, %158 ], [ %157, %156 ], [ %155, %154 ], [ %.pn56, %153 ], [ %.pn54, %148 ], [ %143, %142 ], [ %141, %140 ], [ %139, %138 ]
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %14) #6
  br label %171

171:                                              ; preds = %170, %79
  %.pn67.pn.pn = phi { ptr, i32 } [ %.pn67.pn, %170 ], [ %80, %79 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %14) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %13) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %12) #6
  br label %172

172:                                              ; preds = %77, %171, %75, %54
  %.pn67.pn.pn.pn.pn = phi { ptr, i32 } [ %76, %75 ], [ %55, %54 ], [ %.pn67.pn.pn, %171 ], [ %78, %77 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #6
  br label %173

173:                                              ; preds = %172, %45
  %.pn67.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn67.pn.pn.pn.pn, %172 ], [ %46, %45 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #6
  br label %174

174:                                              ; preds = %173, %43
  %.pn67.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn67.pn.pn.pn.pn.pn, %173 ], [ %44, %43 ]
  call void @_ZN6miocsv6WriterD2Ev(ptr noundef nonnull align 8 dereferenceable(513) %4) #6
  br label %175

175:                                              ; preds = %174, %42
  %.pn67.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn67.pn.pn.pn.pn.pn.pn, %174 ], [ %.pn, %42 ]
  call void @llvm.lifetime.end.p0(i64 520, ptr nonnull %4) #6
  resume { ptr, i32 } %.pn67.pn.pn.pn.pn.pn.pn.pn
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6miocsv6Writer13write_row_rawIA9_cJA10_cS3_S2_S2_A15_cA12_cA4_cA16_cS3_S2_A14_cEEEvRKT_DpRKT0_(ptr noundef nonnull align 8 dereferenceable(513), ptr noundef nonnull align 1 dereferenceable(9), ptr noundef nonnull align 1 dereferenceable(10), ptr noundef nonnull align 1 dereferenceable(10), ptr noundef nonnull align 1 dereferenceable(9), ptr noundef nonnull align 1 dereferenceable(9), ptr noundef nonnull align 1 dereferenceable(15), ptr noundef nonnull align 1 dereferenceable(12), ptr noundef nonnull align 1 dereferenceable(4), ptr noundef nonnull align 1 dereferenceable(16), ptr noundef nonnull align 1 dereferenceable(10), ptr noundef nonnull align 1 dereferenceable(9), ptr noundef nonnull align 1 dereferenceable(14)) local_unnamed_addr #2 align 2

declare noundef nonnull align 8 dereferenceable(96) ptr @_ZN8transoms13NetworkHandle9get_agentEj(ptr noundef nonnull align 8 dereferenceable(512), i32 noundef) local_unnamed_addr #4

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

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

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

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

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

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

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

; 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 #1 align 2

declare noundef double @_ZNK8transoms13NetworkHandle13get_real_timeEj(ptr noundef nonnull align 8 dereferenceable(512), i32 noundef) local_unnamed_addr #4

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

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6miocsv6Writer6appendINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEvOT_c(ptr noundef nonnull align 8 dereferenceable(513), ptr noundef nonnull align 8 dereferenceable(32), i8 noundef signext) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6miocsv6Writer6appendIRcEEvOT_c(ptr noundef nonnull align 8 dereferenceable(513), ptr noundef nonnull align 1 dereferenceable(1), i8 noundef signext) local_unnamed_addr #2 align 2

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

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

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

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


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