; 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::basic_ostream" = type { ptr, %"class.std::basic_ios" }
%"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 }
%"class.std::locale" = type { ptr }
%"class.miocsv::DictReader" = type { %"class.miocsv::Reader.base", %"class.miocsv::BaseDictReader.base", %"class.miocsv::BaseReader.base" }
%"class.miocsv::Reader.base" = type { ptr, %"class.std::basic_ifstream", i8, [7 x i8], %"class.std::istreambuf_iterator", %"class.std::istreambuf_iterator" }
%"class.std::basic_ifstream" = type { %"class.std::basic_istream.base", %"class.std::basic_filebuf", %"class.std::basic_ios" }
%"class.std::basic_istream.base" = type { ptr, i64 }
%"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" }
%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::istreambuf_iterator" = type <{ ptr, i32, [4 x i8] }>
%"class.miocsv::BaseDictReader.base" = type { ptr, %"class.std::map" }
%"class.std::map" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, unsigned long>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, unsigned long>>, 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 long>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, unsigned long>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }
%"class.miocsv::BaseReader.base" = type <{ ptr, i8, [7 x i8], i64, %"class.miocsv::Row", i8, i8 }>
%"class.miocsv::Row" = type { %"class.std::vector", 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.miocsv::BaseReader::ReaderIterator" = type { ptr }
%"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.std::allocator" = type { i8 }
%"class.std::tuple.115" = type { %"struct.std::_Tuple_impl.116" }
%"struct.std::_Tuple_impl.116" = type { %"struct.std::_Tuple_impl.117", %"struct.std::_Head_base.123" }
%"struct.std::_Tuple_impl.117" = type { %"struct.std::_Tuple_impl.118", %"struct.std::_Head_base.122" }
%"struct.std::_Tuple_impl.118" = type { %"struct.std::_Tuple_impl.119", %"struct.std::_Head_base.121" }
%"struct.std::_Tuple_impl.119" = type { %"struct.std::_Head_base.120" }
%"struct.std::_Head_base.120" = type { i16 }
%"struct.std::_Head_base.121" = type { i16 }
%"struct.std::_Head_base.122" = type { i32 }
%"struct.std::_Head_base.123" = type { i32 }
%"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" }
%"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::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" }

@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@_ZTISt9exception = external constant ptr
@.str.19 = external hidden unnamed_addr constant [10 x i8], align 1
@_ZSt4cerr = external global %"class.std::basic_ostream", align 8
@.str.20 = external hidden unnamed_addr constant [10 x i8], align 1
@_ZTIN6miocsv8NoRecordE = external dso_local constant { ptr, ptr, ptr }, align 8
@.str.29 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.37 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.38 = external hidden unnamed_addr constant [56 x i8], align 1

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

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

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

declare i32 @__gxx_personality_v0(...)

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #3

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8), i8 noundef signext) #3

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #4

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN6miocsv3RowC2Ev(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 nounwind uwtable
declare dso_local void @_ZN6miocsv3RowD2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #1 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local ptr @_ZN6miocsv10BaseReader5beginEv(ptr noundef nonnull align 8 dereferenceable(58)) #3 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local ptr @_ZN6miocsv10BaseReader3endEv(ptr noundef nonnull align 8 dereferenceable(58)) #3 align 2

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

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

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

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

; Function Attrs: nounwind memory(none)
declare i32 @llvm.eh.typeid.for.p0(ptr) #6

declare ptr @__cxa_begin_catch(ptr)

; Function Attrs: noreturn nounwind
declare void @_ZSt9terminatev() #7

declare void @__cxa_end_catch()

; Function Attrs: noinline noreturn nounwind uwtable
declare hidden void @__clang_call_terminate(ptr noundef) #8

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef double @_ZNSt7__cxx114stodERKNS_12basic_stringIcSt11char_traitsIcESaIcEEEPm(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef) #3

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN6miocsv10DictReaderD1Ev(ptr noundef nonnull align 8 dereferenceable(624)) unnamed_addr #5 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN8transoms13NetworkHandle11read_demandERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEtt(ptr noundef nonnull align 8 dereferenceable(512) %0, ptr noundef nonnull align 8 dereferenceable(32) %1, i16 noundef zeroext %2, i16 noundef zeroext %3) #2 align 2 personality ptr @__gxx_personality_v0 {
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i16, align 2
  %8 = alloca i16, align 2
  %9 = alloca %"class.miocsv::DictReader", align 8
  %10 = alloca %"class.miocsv::Row", align 8
  %11 = alloca ptr, align 8
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca double, align 8
  %15 = alloca double, align 8
  %16 = alloca ptr, align 8
  %17 = alloca %"class.miocsv::BaseReader::ReaderIterator", align 8
  %18 = alloca %"class.miocsv::BaseReader::ReaderIterator", align 8
  %19 = alloca i32, align 4
  %20 = alloca ptr, align 8
  %21 = alloca double, align 8
  %22 = alloca %"class.std::__cxx11::basic_string", align 8
  %23 = alloca %"class.std::allocator", align 1
  %24 = alloca ptr, align 8
  %25 = alloca ptr, align 8
  %26 = alloca %"class.std::__cxx11::basic_string", align 8
  %27 = alloca %"class.std::__cxx11::basic_string", align 8
  %28 = alloca %"class.std::allocator", align 1
  %29 = alloca ptr, align 8
  %30 = alloca %"class.std::__cxx11::basic_string", align 8
  %31 = alloca %"class.std::__cxx11::basic_string", align 8
  %32 = alloca %"class.std::allocator", align 1
  %33 = alloca ptr, align 8
  %34 = alloca i32, align 4
  %35 = alloca i32, align 4
  %36 = alloca ptr, align 8
  %37 = alloca %"class.std::tuple.115", align 4
  %38 = alloca %"class.miocsv::BaseReader::ReaderIterator", align 8
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  store i16 %2, ptr %7, align 2, !tbaa !9
  store i16 %3, ptr %8, align 2, !tbaa !9
  %39 = load ptr, ptr %5, align 8
  call void @llvm.lifetime.start.p0(i64 688, ptr %9) #9
  %40 = load ptr, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %10) #9
  call void @llvm.memset.p0.i64(ptr align 8 %10, i8 0, i64 32, i1 false)
  call void @_ZN6miocsv3RowC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #9
  invoke void @_ZN6miocsv10DictReaderC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS_3RowEc(ptr noundef nonnull align 8 dereferenceable(624) %9, ptr noundef nonnull align 8 dereferenceable(32) %40, ptr noundef nonnull align 8 dereferenceable(32) %10, i8 noundef signext 44)
          to label %41 unwind label %62

41:                                               ; preds = %4
  call void @_ZN6miocsv3RowD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %10) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #9
  store i32 0, ptr %13, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #9
  store double 0.000000e+00, ptr %14, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #9
  store double 0.000000e+00, ptr %15, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #9
  store ptr %9, ptr %16, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #9
  %42 = load ptr, ptr %16, align 8, !tbaa !5
  %43 = load ptr, ptr %42, align 8, !tbaa !15
  %44 = getelementptr i8, ptr %43, i64 -24
  %45 = load i64, ptr %44, align 8
  %46 = getelementptr inbounds i8, ptr %42, i64 %45
  %47 = invoke ptr @_ZN6miocsv10BaseReader5beginEv(ptr noundef nonnull align 8 dereferenceable(58) %46)
          to label %48 unwind label %66

48:                                               ; preds = %41
  %49 = getelementptr inbounds %"class.miocsv::BaseReader::ReaderIterator", ptr %17, i32 0, i32 0
  store ptr %47, ptr %49, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #9
  %50 = load ptr, ptr %16, align 8, !tbaa !5
  %51 = load ptr, ptr %50, align 8, !tbaa !15
  %52 = getelementptr i8, ptr %51, i64 -24
  %53 = load i64, ptr %52, align 8
  %54 = getelementptr inbounds i8, ptr %50, i64 %53
  %55 = invoke ptr @_ZN6miocsv10BaseReader3endEv(ptr noundef nonnull align 8 dereferenceable(58) %54)
          to label %56 unwind label %70

56:                                               ; preds = %48
  %57 = getelementptr inbounds %"class.miocsv::BaseReader::ReaderIterator", ptr %18, i32 0, i32 0
  store ptr %55, ptr %57, align 8
  br label %58

58:                                               ; preds = %256, %56
  %59 = invoke noundef zeroext i1 @_ZNK6miocsv10BaseReader14ReaderIteratorneERKS1_(ptr noundef nonnull align 8 dereferenceable(8) %17, ptr noundef nonnull align 8 dereferenceable(8) %18)
          to label %60 unwind label %70

60:                                               ; preds = %58
  br i1 %59, label %74, label %61

61:                                               ; preds = %60
  store i32 2, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #9
  br label %269

62:                                               ; preds = %4
  %63 = landingpad { ptr, i32 }
          cleanup
  %64 = extractvalue { ptr, i32 } %63, 0
  store ptr %64, ptr %11, align 8
  %65 = extractvalue { ptr, i32 } %63, 1
  store i32 %65, ptr %12, align 4
  call void @_ZN6miocsv3RowD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %10) #9
  br label %292

66:                                               ; preds = %41
  %67 = landingpad { ptr, i32 }
          cleanup
  %68 = extractvalue { ptr, i32 } %67, 0
  store ptr %68, ptr %11, align 8
  %69 = extractvalue { ptr, i32 } %67, 1
  store i32 %69, ptr %12, align 4
  br label %268

70:                                               ; preds = %254, %58, %48
  %71 = landingpad { ptr, i32 }
          cleanup
  %72 = extractvalue { ptr, i32 } %71, 0
  store ptr %72, ptr %11, align 8
  %73 = extractvalue { ptr, i32 } %71, 1
  store i32 %73, ptr %12, align 4
  br label %267

74:                                               ; preds = %60
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #9
  %75 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNK6miocsv10BaseReader14ReaderIteratordeEv(ptr noundef nonnull align 8 dereferenceable(8) %17)
          to label %76 unwind label %83

76:                                               ; preds = %74
  store ptr %75, ptr %20, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #9
  store double 0.000000e+00, ptr %21, align 8, !tbaa !13
  %77 = load ptr, ptr %20, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %22) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr %23) #9
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %23) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %22, ptr noundef @.str.29, ptr noundef nonnull align 1 dereferenceable(1) %23)
          to label %78 unwind label %87

78:                                               ; preds = %76
  %79 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNK6miocsv3RowixERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(32) %77, ptr noundef nonnull align 8 dereferenceable(32) %22)
          to label %80 unwind label %91

80:                                               ; preds = %78
  %81 = invoke noundef double @_ZNSt7__cxx114stodERKNS_12basic_stringIcSt11char_traitsIcESaIcEEEPm(ptr noundef nonnull align 8 dereferenceable(32) %79, ptr noundef null)
          to label %82 unwind label %91

82:                                               ; preds = %80
  store double %81, ptr %21, align 8, !tbaa !13
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %22) #9
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %23) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %23) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %22) #9
  br label %128

83:                                               ; preds = %74
  %84 = landingpad { ptr, i32 }
          cleanup
  %85 = extractvalue { ptr, i32 } %84, 0
  store ptr %85, ptr %11, align 8
  %86 = extractvalue { ptr, i32 } %84, 1
  store i32 %86, ptr %12, align 4
  br label %266

87:                                               ; preds = %76
  %88 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN6miocsv8NoRecordE
          catch ptr @_ZTISt9exception
  %89 = extractvalue { ptr, i32 } %88, 0
  store ptr %89, ptr %11, align 8
  %90 = extractvalue { ptr, i32 } %88, 1
  store i32 %90, ptr %12, align 4
  br label %95

91:                                               ; preds = %80, %78
  %92 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN6miocsv8NoRecordE
          catch ptr @_ZTISt9exception
  %93 = extractvalue { ptr, i32 } %92, 0
  store ptr %93, ptr %11, align 8
  %94 = extractvalue { ptr, i32 } %92, 1
  store i32 %94, ptr %12, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %22) #9
  br label %95

95:                                               ; preds = %91, %87
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %23) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %23) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %22) #9
  br label %96

96:                                               ; preds = %95
  %97 = load i32, ptr %12, align 4
  %98 = call i32 @llvm.eh.typeid.for.p0(ptr @_ZTIN6miocsv8NoRecordE) #9
  %99 = icmp eq i32 %97, %98
  br i1 %99, label %100, label %112

100:                                              ; preds = %96
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #9
  %101 = load ptr, ptr %11, align 8
  %102 = call ptr @__cxa_begin_catch(ptr %101) #9
  store ptr %102, ptr %25, align 8
  %103 = load ptr, ptr %25, align 8, !tbaa !5
  %104 = load ptr, ptr %103, align 8, !tbaa !15
  %105 = getelementptr inbounds ptr, ptr %104, i64 2
  %106 = load ptr, ptr %105, align 8
  %107 = call noundef ptr %106(ptr noundef nonnull align 8 dereferenceable(16) %103) #9
  %108 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cerr, ptr noundef %107)
          to label %109 unwind label %123

109:                                              ; preds = %100
  %110 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %108, i8 noundef signext 10)
          to label %111 unwind label %123

111:                                              ; preds = %109
  call void @_ZSt9terminatev() #10
  unreachable

112:                                              ; preds = %96
  %113 = call i32 @llvm.eh.typeid.for.p0(ptr @_ZTISt9exception) #9
  %114 = icmp eq i32 %97, %113
  br i1 %114, label %115, label %265

115:                                              ; preds = %112
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #9
  %116 = load ptr, ptr %11, align 8
  %117 = call ptr @__cxa_begin_catch(ptr %116) #9
  store ptr %117, ptr %24, align 8
  store i32 3, ptr %19, align 4
  invoke void @__cxa_end_catch()
          to label %118 unwind label %119

118:                                              ; preds = %115
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #9
  br label %248

119:                                              ; preds = %115
  %120 = landingpad { ptr, i32 }
          cleanup
  %121 = extractvalue { ptr, i32 } %120, 0
  store ptr %121, ptr %11, align 8
  %122 = extractvalue { ptr, i32 } %120, 1
  store i32 %122, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #9
  br label %265

123:                                              ; preds = %109, %100
  %124 = landingpad { ptr, i32 }
          cleanup
  %125 = extractvalue { ptr, i32 } %124, 0
  store ptr %125, ptr %11, align 8
  %126 = extractvalue { ptr, i32 } %124, 1
  store i32 %126, ptr %12, align 4
  invoke void @__cxa_end_catch()
          to label %127 unwind label %298

127:                                              ; preds = %123
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #9
  br label %265

128:                                              ; preds = %82
  %129 = load double, ptr %21, align 8, !tbaa !13
  %130 = fcmp ole double %129, 0.000000e+00
  br i1 %130, label %131, label %134

131:                                              ; preds = %128
  %132 = load i32, ptr %13, align 4, !tbaa !11
  %133 = add i32 %132, 1
  store i32 %133, ptr %13, align 4, !tbaa !11
  store i32 3, ptr %19, align 4
  br label %248

134:                                              ; preds = %128
  call void @llvm.lifetime.start.p0(i64 32, ptr %26) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %26) #9
  %135 = load ptr, ptr %20, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %27) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr %28) #9
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %28) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %27, ptr noundef @.str.19, ptr noundef nonnull align 1 dereferenceable(1) %28)
          to label %136 unwind label %141

136:                                              ; preds = %134
  %137 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNK6miocsv3RowixERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(32) %135, ptr noundef nonnull align 8 dereferenceable(32) %27)
          to label %138 unwind label %145

138:                                              ; preds = %136
  %139 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %26, ptr noundef nonnull align 8 dereferenceable(32) %137)
          to label %140 unwind label %145

140:                                              ; preds = %138
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %27) #9
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %28) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %28) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %27) #9
  br label %171

141:                                              ; preds = %134
  %142 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt9exception
  %143 = extractvalue { ptr, i32 } %142, 0
  store ptr %143, ptr %11, align 8
  %144 = extractvalue { ptr, i32 } %142, 1
  store i32 %144, ptr %12, align 4
  br label %149

145:                                              ; preds = %138, %136
  %146 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt9exception
  %147 = extractvalue { ptr, i32 } %146, 0
  store ptr %147, ptr %11, align 8
  %148 = extractvalue { ptr, i32 } %146, 1
  store i32 %148, ptr %12, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %27) #9
  br label %149

149:                                              ; preds = %145, %141
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %28) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %28) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %27) #9
  br label %150

150:                                              ; preds = %149
  %151 = load i32, ptr %12, align 4
  %152 = call i32 @llvm.eh.typeid.for.p0(ptr @_ZTISt9exception) #9
  %153 = icmp eq i32 %151, %152
  br i1 %153, label %154, label %264

154:                                              ; preds = %150
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #9
  %155 = load ptr, ptr %11, align 8
  %156 = call ptr @__cxa_begin_catch(ptr %155) #9
  store ptr %156, ptr %29, align 8
  %157 = load ptr, ptr %29, align 8, !tbaa !5
  %158 = load ptr, ptr %157, align 8, !tbaa !15
  %159 = getelementptr inbounds ptr, ptr %158, i64 2
  %160 = load ptr, ptr %159, align 8
  %161 = call noundef ptr %160(ptr noundef nonnull align 8 dereferenceable(8) %157) #9
  %162 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cerr, ptr noundef %161)
          to label %163 unwind label %166

163:                                              ; preds = %154
  %164 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %162, i8 noundef signext 10)
          to label %165 unwind label %166

165:                                              ; preds = %163
  call void @_ZSt9terminatev() #10
  unreachable

166:                                              ; preds = %163, %154
  %167 = landingpad { ptr, i32 }
          cleanup
  %168 = extractvalue { ptr, i32 } %167, 0
  store ptr %168, ptr %11, align 8
  %169 = extractvalue { ptr, i32 } %167, 1
  store i32 %169, ptr %12, align 4
  invoke void @__cxa_end_catch()
          to label %170 unwind label %298

170:                                              ; preds = %166
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #9
  br label %264

171:                                              ; preds = %140
  call void @llvm.lifetime.start.p0(i64 32, ptr %30) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %30) #9
  %172 = load ptr, ptr %20, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %31) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr %32) #9
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %32) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %31, ptr noundef @.str.20, ptr noundef nonnull align 1 dereferenceable(1) %32)
          to label %173 unwind label %178

173:                                              ; preds = %171
  %174 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNK6miocsv3RowixERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(32) %172, ptr noundef nonnull align 8 dereferenceable(32) %31)
          to label %175 unwind label %182

175:                                              ; preds = %173
  %176 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %30, ptr noundef nonnull align 8 dereferenceable(32) %174)
          to label %177 unwind label %182

177:                                              ; preds = %175
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %31) #9
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %32) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %32) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %31) #9
  br label %208

178:                                              ; preds = %171
  %179 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt9exception
  %180 = extractvalue { ptr, i32 } %179, 0
  store ptr %180, ptr %11, align 8
  %181 = extractvalue { ptr, i32 } %179, 1
  store i32 %181, ptr %12, align 4
  br label %186

182:                                              ; preds = %175, %173
  %183 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt9exception
  %184 = extractvalue { ptr, i32 } %183, 0
  store ptr %184, ptr %11, align 8
  %185 = extractvalue { ptr, i32 } %183, 1
  store i32 %185, ptr %12, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %31) #9
  br label %186

186:                                              ; preds = %182, %178
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %32) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %32) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %31) #9
  br label %187

187:                                              ; preds = %186
  %188 = load i32, ptr %12, align 4
  %189 = call i32 @llvm.eh.typeid.for.p0(ptr @_ZTISt9exception) #9
  %190 = icmp eq i32 %188, %189
  br i1 %190, label %191, label %263

191:                                              ; preds = %187
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #9
  %192 = load ptr, ptr %11, align 8
  %193 = call ptr @__cxa_begin_catch(ptr %192) #9
  store ptr %193, ptr %33, align 8
  %194 = load ptr, ptr %33, align 8, !tbaa !5
  %195 = load ptr, ptr %194, align 8, !tbaa !15
  %196 = getelementptr inbounds ptr, ptr %195, i64 2
  %197 = load ptr, ptr %196, align 8
  %198 = call noundef ptr %197(ptr noundef nonnull align 8 dereferenceable(8) %194) #9
  %199 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cerr, ptr noundef %198)
          to label %200 unwind label %203

200:                                              ; preds = %191
  %201 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %199, i8 noundef signext 10)
          to label %202 unwind label %203

202:                                              ; preds = %200
  call void @_ZSt9terminatev() #10
  unreachable

203:                                              ; preds = %200, %191
  %204 = landingpad { ptr, i32 }
          cleanup
  %205 = extractvalue { ptr, i32 } %204, 0
  store ptr %205, ptr %11, align 8
  %206 = extractvalue { ptr, i32 } %204, 1
  store i32 %206, ptr %12, align 4
  invoke void @__cxa_end_catch()
          to label %207 unwind label %298

207:                                              ; preds = %203
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #9
  br label %263

208:                                              ; preds = %177
  %209 = call noundef zeroext i1 @_ZSteqIcEN9__gnu_cxx11__enable_ifIXsr9__is_charIT_EE7__valueEbE6__typeERKNSt7__cxx1112basic_stringIS2_St11char_traitsIS2_ESaIS2_EEESC_(ptr noundef nonnull align 8 dereferenceable(32) %26, ptr noundef nonnull align 8 dereferenceable(32) %30) #9
  br i1 %209, label %210, label %216

210:                                              ; preds = %208
  %211 = load i32, ptr %13, align 4, !tbaa !11
  %212 = add i32 %211, 1
  store i32 %212, ptr %13, align 4, !tbaa !11
  %213 = load double, ptr %21, align 8, !tbaa !13
  %214 = load double, ptr %14, align 8, !tbaa !13
  %215 = fadd double %214, %213
  store double %215, ptr %14, align 8, !tbaa !13
  store i32 3, ptr %19, align 4
  br label %247

216:                                              ; preds = %208
  call void @llvm.lifetime.start.p0(i64 4, ptr %34) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr %35) #9
  %217 = getelementptr inbounds %"class.transoms::NetworkHandle", ptr %39, i32 0, i32 1
  %218 = invoke noundef i32 @_ZNK8transoms10PhyNetwork11get_zone_noERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(256) %217, ptr noundef nonnull align 8 dereferenceable(32) %26)
          to label %219 unwind label %223

219:                                              ; preds = %216
  store i32 %218, ptr %34, align 4, !tbaa !11
  %220 = getelementptr inbounds %"class.transoms::NetworkHandle", ptr %39, i32 0, i32 1
  %221 = invoke noundef i32 @_ZNK8transoms10PhyNetwork11get_zone_noERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(256) %220, ptr noundef nonnull align 8 dereferenceable(32) %30)
          to label %222 unwind label %223

222:                                              ; preds = %219
  store i32 %221, ptr %35, align 4, !tbaa !11
  br label %239

223:                                              ; preds = %219, %216
  %224 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt9exception
  %225 = extractvalue { ptr, i32 } %224, 0
  store ptr %225, ptr %11, align 8
  %226 = extractvalue { ptr, i32 } %224, 1
  store i32 %226, ptr %12, align 4
  br label %227

227:                                              ; preds = %223
  %228 = load i32, ptr %12, align 4
  %229 = call i32 @llvm.eh.typeid.for.p0(ptr @_ZTISt9exception) #9
  %230 = icmp eq i32 %228, %229
  br i1 %230, label %231, label %262

231:                                              ; preds = %227
  call void @llvm.lifetime.start.p0(i64 8, ptr %36) #9
  %232 = load ptr, ptr %11, align 8
  %233 = call ptr @__cxa_begin_catch(ptr %232) #9
  store ptr %233, ptr %36, align 8
  store i32 3, ptr %19, align 4
  invoke void @__cxa_end_catch()
          to label %234 unwind label %235

234:                                              ; preds = %231
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #9
  br label %246

235:                                              ; preds = %231
  %236 = landingpad { ptr, i32 }
          cleanup
  %237 = extractvalue { ptr, i32 } %236, 0
  store ptr %237, ptr %11, align 8
  %238 = extractvalue { ptr, i32 } %236, 1
  store i32 %238, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #9
  br label %262

239:                                              ; preds = %222
  %240 = getelementptr inbounds %"class.transoms::NetworkHandle", ptr %39, i32 0, i32 0
  call void @llvm.lifetime.start.p0(i64 12, ptr %37) #9
  call void @_ZNSt5tupleIJjjttEEC2IJRjS2_RtS3_ELb1ETnNSt9enable_ifIXclsr4_TCCIXT0_EEE29__is_implicitly_constructibleIDpT_EEEbE4typeELb1EEEDpOS5_(ptr noundef nonnull align 4 dereferenceable(12) %37, ptr noundef nonnull align 4 dereferenceable(4) %34, ptr noundef nonnull align 4 dereferenceable(4) %35, ptr noundef nonnull align 2 dereferenceable(2) %7, ptr noundef nonnull align 2 dereferenceable(2) %8) #9
  %241 = load double, ptr %21, align 8, !tbaa !13
  invoke void @_ZN8transoms10ColumnPool6updateEOSt5tupleIJjjttEEd(ptr noundef nonnull align 8 dereferenceable(72) %240, ptr noundef nonnull align 4 dereferenceable(12) %37, double noundef %241)
          to label %242 unwind label %258

242:                                              ; preds = %239
  call void @llvm.lifetime.end.p0(i64 12, ptr %37) #9
  %243 = load double, ptr %21, align 8, !tbaa !13
  %244 = load double, ptr %15, align 8, !tbaa !13
  %245 = fadd double %244, %243
  store double %245, ptr %15, align 8, !tbaa !13
  store i32 0, ptr %19, align 4
  br label %246

246:                                              ; preds = %242, %234
  call void @llvm.lifetime.end.p0(i64 4, ptr %35) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #9
  br label %247

247:                                              ; preds = %246, %210
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %30) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %30) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %26) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %26) #9
  br label %248

248:                                              ; preds = %247, %131, %118
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #9
  %249 = load i32, ptr %19, align 4
  switch i32 %249, label %251 [
    i32 0, label %250
  ]

250:                                              ; preds = %248
  store i32 0, ptr %19, align 4
  br label %251

251:                                              ; preds = %250, %248
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #9
  %252 = load i32, ptr %19, align 4
  switch i32 %252, label %301 [
    i32 0, label %253
    i32 3, label %254
  ]

253:                                              ; preds = %251
  br label %254

254:                                              ; preds = %253, %251
  %255 = invoke ptr @_ZN6miocsv10BaseReader14ReaderIteratorppEv(ptr noundef nonnull align 8 dereferenceable(8) %17)
          to label %256 unwind label %70

256:                                              ; preds = %254
  %257 = getelementptr inbounds %"class.miocsv::BaseReader::ReaderIterator", ptr %38, i32 0, i32 0
  store ptr %255, ptr %257, align 8
  br label %58

258:                                              ; preds = %239
  %259 = landingpad { ptr, i32 }
          cleanup
  %260 = extractvalue { ptr, i32 } %259, 0
  store ptr %260, ptr %11, align 8
  %261 = extractvalue { ptr, i32 } %259, 1
  store i32 %261, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 12, ptr %37) #9
  br label %262

262:                                              ; preds = %258, %235, %227
  call void @llvm.lifetime.end.p0(i64 4, ptr %35) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #9
  br label %263

263:                                              ; preds = %262, %207, %187
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %30) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %30) #9
  br label %264

264:                                              ; preds = %263, %170, %150
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %26) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %26) #9
  br label %265

265:                                              ; preds = %264, %127, %119, %112
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #9
  br label %266

266:                                              ; preds = %265, %83
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #9
  br label %267

267:                                              ; preds = %266, %70
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #9
  br label %268

268:                                              ; preds = %267, %66
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #9
  br label %291

269:                                              ; preds = %61
  %270 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.37)
          to label %271 unwind label %287

271:                                              ; preds = %269
  %272 = load double, ptr %15, align 8, !tbaa !13
  %273 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEd(ptr noundef nonnull align 8 dereferenceable(8) %270, double noundef %272)
          to label %274 unwind label %287

274:                                              ; preds = %271
  %275 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %273, i8 noundef signext 10)
          to label %276 unwind label %287

276:                                              ; preds = %274
  %277 = load i32, ptr %13, align 4, !tbaa !11
  %278 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEj(ptr noundef nonnull align 8 dereferenceable(8) %275, i32 noundef %277)
          to label %279 unwind label %287

279:                                              ; preds = %276
  %280 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %278, ptr noundef @.str.38)
          to label %281 unwind label %287

281:                                              ; preds = %279
  %282 = load double, ptr %14, align 8, !tbaa !13
  %283 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEd(ptr noundef nonnull align 8 dereferenceable(8) %280, double noundef %282)
          to label %284 unwind label %287

284:                                              ; preds = %281
  %285 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %283, i8 noundef signext 10)
          to label %286 unwind label %287

286:                                              ; preds = %284
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #9
  call void @_ZN6miocsv10DictReaderD1Ev(ptr noundef nonnull align 8 dereferenceable(624) %9) #9
  call void @llvm.lifetime.end.p0(i64 688, ptr %9) #9
  ret void

287:                                              ; preds = %284, %281, %279, %276, %274, %271, %269
  %288 = landingpad { ptr, i32 }
          cleanup
  %289 = extractvalue { ptr, i32 } %288, 0
  store ptr %289, ptr %11, align 8
  %290 = extractvalue { ptr, i32 } %288, 1
  store i32 %290, ptr %12, align 4
  br label %291

291:                                              ; preds = %287, %268
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #9
  call void @_ZN6miocsv10DictReaderD1Ev(ptr noundef nonnull align 8 dereferenceable(624) %9) #9
  br label %292

292:                                              ; preds = %291, %62
  call void @llvm.lifetime.end.p0(i64 688, ptr %9) #9
  br label %293

293:                                              ; preds = %292
  %294 = load ptr, ptr %11, align 8
  %295 = load i32, ptr %12, align 4
  %296 = insertvalue { ptr, i32 } poison, ptr %294, 0
  %297 = insertvalue { ptr, i32 } %296, i32 %295, 1
  resume { ptr, i32 } %297

298:                                              ; preds = %203, %166, %123
  %299 = landingpad { ptr, i32 }
          catch ptr null
  %300 = extractvalue { ptr, i32 } %299, 0
  call void @__clang_call_terminate(ptr %300) #10
  unreachable

301:                                              ; preds = %251
  unreachable
}

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN8transoms10ColumnPool6updateEOSt5tupleIJjjttEEd(ptr noundef nonnull align 8 dereferenceable(72), ptr noundef nonnull align 4 dereferenceable(12), double noundef) #2 align 2

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

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEd(ptr noundef nonnull align 8 dereferenceable(8), double noundef) #2 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 = { nocallback nofree nounwind willreturn memory(argmem: write) }
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 memory(none) }
attributes #7 = { noreturn nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #8 = { noinline noreturn nounwind uwtable "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 #9 = { nounwind }
attributes #10 = { noreturn nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"short", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"double", !7, i64 0}
!15 = !{!16, !16, i64 0}
!16 = !{!"vtable pointer", !8, i64 0}


; 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::basic_ostream" = type { ptr, %"class.std::basic_ios" }
%"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 }
%"class.std::locale" = type { ptr }
%"class.miocsv::DictReader" = type { %"class.miocsv::Reader.base", %"class.miocsv::BaseDictReader.base", %"class.miocsv::BaseReader.base" }
%"class.miocsv::Reader.base" = type { ptr, %"class.std::basic_ifstream", i8, [7 x i8], %"class.std::istreambuf_iterator", %"class.std::istreambuf_iterator" }
%"class.std::basic_ifstream" = type { %"class.std::basic_istream.base", %"class.std::basic_filebuf", %"class.std::basic_ios" }
%"class.std::basic_istream.base" = type { ptr, i64 }
%"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" }
%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::istreambuf_iterator" = type <{ ptr, i32, [4 x i8] }>
%"class.miocsv::BaseDictReader.base" = type { ptr, %"class.std::map" }
%"class.std::map" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, unsigned long>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, unsigned long>>, 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 long>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, unsigned long>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }
%"class.miocsv::BaseReader.base" = type <{ ptr, i8, [7 x i8], i64, %"class.miocsv::Row", i8, i8 }>
%"class.miocsv::Row" = type { %"class.std::vector", 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.miocsv::BaseReader::ReaderIterator" = type { ptr }
%"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.std::allocator" = type { i8 }
%"class.std::tuple.115" = type { %"struct.std::_Tuple_impl.116" }
%"struct.std::_Tuple_impl.116" = type { %"struct.std::_Tuple_impl.117", %"struct.std::_Head_base.123" }
%"struct.std::_Tuple_impl.117" = type { %"struct.std::_Tuple_impl.118", %"struct.std::_Head_base.122" }
%"struct.std::_Tuple_impl.118" = type { %"struct.std::_Tuple_impl.119", %"struct.std::_Head_base.121" }
%"struct.std::_Tuple_impl.119" = type { %"struct.std::_Head_base.120" }
%"struct.std::_Head_base.120" = type { i16 }
%"struct.std::_Head_base.121" = type { i16 }
%"struct.std::_Head_base.122" = type { i32 }
%"struct.std::_Head_base.123" = type { i32 }

@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@_ZTISt9exception = external constant ptr
@.str.19 = external hidden unnamed_addr constant [10 x i8], align 1
@_ZSt4cerr = external global %"class.std::basic_ostream", align 8
@.str.20 = external hidden unnamed_addr constant [10 x i8], align 1
@_ZTIN6miocsv8NoRecordE = external dso_local constant { ptr, ptr, ptr }, align 8
@.str.29 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.37 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.38 = external hidden unnamed_addr constant [56 x i8], align 1

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

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

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

declare i32 @__gxx_personality_v0(...)

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) local_unnamed_addr #3

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8), i8 noundef signext) local_unnamed_addr #3

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #4

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN6miocsv3RowC2Ev(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 nounwind uwtable
declare dso_local void @_ZN6miocsv3RowD2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #1 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local ptr @_ZN6miocsv10BaseReader5beginEv(ptr noundef nonnull align 8 dereferenceable(58)) local_unnamed_addr #3 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local ptr @_ZN6miocsv10BaseReader3endEv(ptr noundef nonnull align 8 dereferenceable(58)) local_unnamed_addr #3 align 2

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

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

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

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

; Function Attrs: nofree nosync nounwind memory(none)
declare i32 @llvm.eh.typeid.for.p0(ptr) #6

declare ptr @__cxa_begin_catch(ptr) local_unnamed_addr

; Function Attrs: noreturn nounwind
declare void @_ZSt9terminatev() local_unnamed_addr #7

declare void @__cxa_end_catch() local_unnamed_addr

; Function Attrs: noinline noreturn nounwind uwtable
declare hidden void @__clang_call_terminate(ptr noundef) local_unnamed_addr #8

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef double @_ZNSt7__cxx114stodERKNS_12basic_stringIcSt11char_traitsIcESaIcEEEPm(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef) local_unnamed_addr #3

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN6miocsv10DictReaderD1Ev(ptr noundef nonnull align 8 dereferenceable(624)) unnamed_addr #5 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN8transoms13NetworkHandle11read_demandERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEtt(ptr noundef nonnull align 8 dereferenceable(512) %0, ptr noundef nonnull align 8 dereferenceable(32) %1, i16 noundef zeroext %2, i16 noundef zeroext %3) local_unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  %5 = alloca i16, align 2
  %6 = alloca i16, align 2
  %7 = alloca %"class.miocsv::DictReader", align 8
  %8 = alloca %"class.miocsv::Row", align 8
  %9 = alloca %"class.miocsv::BaseReader::ReaderIterator", align 8
  %10 = alloca %"class.miocsv::BaseReader::ReaderIterator", align 8
  %11 = alloca %"class.std::__cxx11::basic_string", align 8
  %12 = alloca %"class.std::allocator", align 1
  %13 = alloca %"class.std::__cxx11::basic_string", align 8
  %14 = alloca %"class.std::__cxx11::basic_string", align 8
  %15 = alloca %"class.std::allocator", align 1
  %16 = alloca %"class.std::__cxx11::basic_string", align 8
  %17 = alloca %"class.std::__cxx11::basic_string", align 8
  %18 = alloca %"class.std::allocator", align 1
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  %21 = alloca %"class.std::tuple.115", align 4
  store i16 %2, ptr %5, align 2, !tbaa !5
  store i16 %3, ptr %6, align 2, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 688, ptr nonnull %7) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %8) #9
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(32) %8, i8 0, i64 32, i1 false)
  call void @_ZN6miocsv3RowC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #9
  invoke void @_ZN6miocsv10DictReaderC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS_3RowEc(ptr noundef nonnull align 8 dereferenceable(624) %7, ptr noundef nonnull align 8 dereferenceable(32) %1, ptr noundef nonnull align 8 dereferenceable(32) %8, i8 noundef signext 44)
          to label %22 unwind label %40

22:                                               ; preds = %4
  call void @_ZN6miocsv3RowD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %8) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #9
  %23 = load ptr, ptr %7, align 8, !tbaa !9
  %24 = getelementptr i8, ptr %23, i64 -24
  %25 = load i64, ptr %24, align 8
  %26 = getelementptr inbounds i8, ptr %7, i64 %25
  %27 = invoke ptr @_ZN6miocsv10BaseReader5beginEv(ptr noundef nonnull align 8 dereferenceable(58) %26)
          to label %28 unwind label %44

28:                                               ; preds = %22
  store ptr %27, ptr %9, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #9
  %29 = load ptr, ptr %7, align 8, !tbaa !9
  %30 = getelementptr i8, ptr %29, i64 -24
  %31 = load i64, ptr %30, align 8
  %32 = getelementptr inbounds i8, ptr %7, i64 %31
  %33 = invoke ptr @_ZN6miocsv10BaseReader3endEv(ptr noundef nonnull align 8 dereferenceable(58) %32)
          to label %34 unwind label %.loopexit.split-lp

34:                                               ; preds = %28
  store ptr %33, ptr %10, align 8
  %35 = getelementptr inbounds i8, ptr %0, i64 72
  br label %36

36:                                               ; preds = %172, %34
  %.049 = phi double [ 0.000000e+00, %34 ], [ %.352, %172 ]
  %.046 = phi double [ 0.000000e+00, %34 ], [ %.248, %172 ]
  %.043 = phi i32 [ 0, %34 ], [ %.245, %172 ]
  %37 = call noundef zeroext i1 @_ZNK6miocsv10BaseReader14ReaderIteratorneERKS1_(ptr noundef nonnull align 8 dereferenceable(8) %9, ptr noundef nonnull align 8 dereferenceable(8) %10)
  br i1 %37, label %51, label %38

38:                                               ; preds = %36
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #9
  %39 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.37)
          to label %181 unwind label %194

40:                                               ; preds = %4
  %41 = landingpad { ptr, i32 }
          cleanup
  %42 = extractvalue { ptr, i32 } %41, 0
  %43 = extractvalue { ptr, i32 } %41, 1
  call void @_ZN6miocsv3RowD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %8) #9
  br label %199

44:                                               ; preds = %22
  %45 = landingpad { ptr, i32 }
          cleanup
  %46 = extractvalue { ptr, i32 } %45, 0
  %47 = extractvalue { ptr, i32 } %45, 1
  br label %180

.loopexit64:                                      ; preds = %172
  %lpad.loopexit = landingpad { ptr, i32 }
          cleanup
  br label %48

.loopexit.split-lp:                               ; preds = %28
  %lpad.loopexit.split-lp = landingpad { ptr, i32 }
          cleanup
  br label %48

48:                                               ; preds = %.loopexit.split-lp, %.loopexit64
  %lpad.phi = phi { ptr, i32 } [ %lpad.loopexit, %.loopexit64 ], [ %lpad.loopexit.split-lp, %.loopexit.split-lp ]
  %49 = extractvalue { ptr, i32 } %lpad.phi, 0
  %50 = extractvalue { ptr, i32 } %lpad.phi, 1
  br label %.loopexit

51:                                               ; preds = %36
  %52 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNK6miocsv10BaseReader14ReaderIteratordeEv(ptr noundef nonnull align 8 dereferenceable(8) %9)
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %11) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %12) #9
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %12) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %11, ptr noundef nonnull @.str.29, ptr noundef nonnull align 1 dereferenceable(1) %12)
          to label %53 unwind label %59

53:                                               ; preds = %51
  %54 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNK6miocsv3RowixERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(32) %52, ptr noundef nonnull align 8 dereferenceable(32) %11)
          to label %55 unwind label %61

55:                                               ; preds = %53
  %56 = invoke noundef double @_ZNSt7__cxx114stodERKNS_12basic_stringIcSt11char_traitsIcESaIcEEEPm(ptr noundef nonnull align 8 dereferenceable(32) %54, ptr noundef null)
          to label %57 unwind label %61

57:                                               ; preds = %55
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #9
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %12) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %12) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %11) #9
  %58 = fcmp ugt double %56, 0.000000e+00
  br i1 %58, label %92, label %90

59:                                               ; preds = %51
  %60 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN6miocsv8NoRecordE
          catch ptr @_ZTISt9exception
  br label %63

61:                                               ; preds = %55, %53
  %62 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN6miocsv8NoRecordE
          catch ptr @_ZTISt9exception
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #9
  br label %63

63:                                               ; preds = %61, %59
  %.pn = phi { ptr, i32 } [ %62, %61 ], [ %60, %59 ]
  %.0 = extractvalue { ptr, i32 } %.pn, 0
  %.032 = extractvalue { ptr, i32 } %.pn, 1
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %12) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %12) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %11) #9
  %64 = call i32 @llvm.eh.typeid.for.p0(ptr nonnull @_ZTIN6miocsv8NoRecordE) #9
  %65 = icmp eq i32 %.032, %64
  br i1 %65, label %66, label %76

66:                                               ; preds = %63
  %67 = call ptr @__cxa_begin_catch(ptr %.0) #9
  %68 = load ptr, ptr %67, align 8, !tbaa !9
  %69 = getelementptr inbounds i8, ptr %68, i64 16
  %70 = load ptr, ptr %69, align 8
  %71 = call noundef ptr %70(ptr noundef nonnull align 8 dereferenceable(16) %67) #9
  %72 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cerr, ptr noundef %71)
          to label %73 unwind label %85

73:                                               ; preds = %66
  %74 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %72, i8 noundef signext 10)
          to label %75 unwind label %85

75:                                               ; preds = %73
  call void @_ZSt9terminatev() #10
  unreachable

76:                                               ; preds = %63
  %77 = call i32 @llvm.eh.typeid.for.p0(ptr nonnull @_ZTISt9exception) #9
  %78 = icmp eq i32 %.032, %77
  br i1 %78, label %79, label %.loopexit

79:                                               ; preds = %76
  %80 = call ptr @__cxa_begin_catch(ptr %.0) #9
  invoke void @__cxa_end_catch()
          to label %172 unwind label %81

81:                                               ; preds = %79
  %82 = landingpad { ptr, i32 }
          cleanup
  %83 = extractvalue { ptr, i32 } %82, 0
  %84 = extractvalue { ptr, i32 } %82, 1
  br label %.loopexit

85:                                               ; preds = %73, %66
  %86 = landingpad { ptr, i32 }
          cleanup
  invoke void @__cxa_end_catch()
          to label %87 unwind label %202

87:                                               ; preds = %85
  %88 = extractvalue { ptr, i32 } %86, 1
  %89 = extractvalue { ptr, i32 } %86, 0
  br label %.loopexit

90:                                               ; preds = %57
  %91 = add i32 %.043, 1
  br label %172

92:                                               ; preds = %57
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %13) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %14) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %15) #9
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %15) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %14, ptr noundef nonnull @.str.19, ptr noundef nonnull align 1 dereferenceable(1) %15)
          to label %93 unwind label %98

93:                                               ; preds = %92
  %94 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNK6miocsv3RowixERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(32) %52, ptr noundef nonnull align 8 dereferenceable(32) %14)
          to label %95 unwind label %100

95:                                               ; preds = %93
  %96 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %13, ptr noundef nonnull align 8 dereferenceable(32) %94)
          to label %97 unwind label %100

97:                                               ; preds = %95
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #9
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %15) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %15) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %14) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %16) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %16) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %17) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %18) #9
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %18) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %17, ptr noundef nonnull @.str.20, ptr noundef nonnull align 1 dereferenceable(1) %18)
          to label %120 unwind label %126

98:                                               ; preds = %92
  %99 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt9exception
  br label %102

100:                                              ; preds = %95, %93
  %101 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt9exception
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #9
  br label %102

102:                                              ; preds = %100, %98
  %.pn59 = phi { ptr, i32 } [ %101, %100 ], [ %99, %98 ]
  %.1 = extractvalue { ptr, i32 } %.pn59, 0
  %.133 = extractvalue { ptr, i32 } %.pn59, 1
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %15) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %15) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %14) #9
  %103 = call i32 @llvm.eh.typeid.for.p0(ptr nonnull @_ZTISt9exception) #9
  %104 = icmp eq i32 %.133, %103
  br i1 %104, label %105, label %179

105:                                              ; preds = %102
  %106 = call ptr @__cxa_begin_catch(ptr %.1) #9
  %107 = load ptr, ptr %106, align 8, !tbaa !9
  %108 = getelementptr inbounds i8, ptr %107, i64 16
  %109 = load ptr, ptr %108, align 8
  %110 = call noundef ptr %109(ptr noundef nonnull align 8 dereferenceable(8) %106) #9
  %111 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cerr, ptr noundef %110)
          to label %112 unwind label %115

112:                                              ; preds = %105
  %113 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %111, i8 noundef signext 10)
          to label %114 unwind label %115

114:                                              ; preds = %112
  call void @_ZSt9terminatev() #10
  unreachable

115:                                              ; preds = %112, %105
  %116 = landingpad { ptr, i32 }
          cleanup
  invoke void @__cxa_end_catch()
          to label %117 unwind label %202

117:                                              ; preds = %115
  %118 = extractvalue { ptr, i32 } %116, 1
  %119 = extractvalue { ptr, i32 } %116, 0
  br label %179

120:                                              ; preds = %97
  %121 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNK6miocsv3RowixERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(32) %52, ptr noundef nonnull align 8 dereferenceable(32) %17)
          to label %122 unwind label %128

122:                                              ; preds = %120
  %123 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %16, ptr noundef nonnull align 8 dereferenceable(32) %121)
          to label %124 unwind label %128

124:                                              ; preds = %122
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %17) #9
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %18) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %18) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %17) #9
  %125 = call noundef zeroext i1 @_ZSteqIcEN9__gnu_cxx11__enable_ifIXsr9__is_charIT_EE7__valueEbE6__typeERKNSt7__cxx1112basic_stringIS2_St11char_traitsIS2_ESaIS2_EEESC_(ptr noundef nonnull align 8 dereferenceable(32) %13, ptr noundef nonnull align 8 dereferenceable(32) %16) #9
  br i1 %125, label %148, label %151

126:                                              ; preds = %97
  %127 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt9exception
  br label %130

128:                                              ; preds = %122, %120
  %129 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt9exception
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %17) #9
  br label %130

130:                                              ; preds = %128, %126
  %.pn61 = phi { ptr, i32 } [ %129, %128 ], [ %127, %126 ]
  %.2 = extractvalue { ptr, i32 } %.pn61, 0
  %.234 = extractvalue { ptr, i32 } %.pn61, 1
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %18) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %18) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %17) #9
  %131 = call i32 @llvm.eh.typeid.for.p0(ptr nonnull @_ZTISt9exception) #9
  %132 = icmp eq i32 %.234, %131
  br i1 %132, label %133, label %178

133:                                              ; preds = %130
  %134 = call ptr @__cxa_begin_catch(ptr %.2) #9
  %135 = load ptr, ptr %134, align 8, !tbaa !9
  %136 = getelementptr inbounds i8, ptr %135, i64 16
  %137 = load ptr, ptr %136, align 8
  %138 = call noundef ptr %137(ptr noundef nonnull align 8 dereferenceable(8) %134) #9
  %139 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cerr, ptr noundef %138)
          to label %140 unwind label %143

140:                                              ; preds = %133
  %141 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %139, i8 noundef signext 10)
          to label %142 unwind label %143

142:                                              ; preds = %140
  call void @_ZSt9terminatev() #10
  unreachable

143:                                              ; preds = %140, %133
  %144 = landingpad { ptr, i32 }
          cleanup
  invoke void @__cxa_end_catch()
          to label %145 unwind label %202

145:                                              ; preds = %143
  %146 = extractvalue { ptr, i32 } %144, 1
  %147 = extractvalue { ptr, i32 } %144, 0
  br label %178

148:                                              ; preds = %124
  %149 = add i32 %.043, 1
  %150 = fadd double %.046, %56
  br label %171

151:                                              ; preds = %124
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %19) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %20) #9
  %152 = invoke noundef i32 @_ZNK8transoms10PhyNetwork11get_zone_noERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(256) %35, ptr noundef nonnull align 8 dereferenceable(32) %13)
          to label %153 unwind label %156

153:                                              ; preds = %151
  store i32 %152, ptr %19, align 4, !tbaa !11
  %154 = invoke noundef i32 @_ZNK8transoms10PhyNetwork11get_zone_noERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(256) %35, ptr noundef nonnull align 8 dereferenceable(32) %16)
          to label %155 unwind label %156

155:                                              ; preds = %153
  store i32 %154, ptr %20, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %21) #9
  call void @_ZNSt5tupleIJjjttEEC2IJRjS2_RtS3_ELb1ETnNSt9enable_ifIXclsr4_TCCIXT0_EEE29__is_implicitly_constructibleIDpT_EEEbE4typeELb1EEEDpOS5_(ptr noundef nonnull align 4 dereferenceable(12) %21, ptr noundef nonnull align 4 dereferenceable(4) %19, ptr noundef nonnull align 4 dereferenceable(4) %20, ptr noundef nonnull align 2 dereferenceable(2) %5, ptr noundef nonnull align 2 dereferenceable(2) %6) #9
  invoke void @_ZN8transoms10ColumnPool6updateEOSt5tupleIJjjttEEd(ptr noundef nonnull align 8 dereferenceable(72) %0, ptr noundef nonnull align 4 dereferenceable(12) %21, double noundef %56)
          to label %168 unwind label %174

156:                                              ; preds = %153, %151
  %157 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt9exception
  %158 = extractvalue { ptr, i32 } %157, 0
  %159 = extractvalue { ptr, i32 } %157, 1
  %160 = call i32 @llvm.eh.typeid.for.p0(ptr nonnull @_ZTISt9exception) #9
  %161 = icmp eq i32 %159, %160
  br i1 %161, label %162, label %.loopexit63

162:                                              ; preds = %156
  %163 = call ptr @__cxa_begin_catch(ptr %158) #9
  invoke void @__cxa_end_catch()
          to label %170 unwind label %164

164:                                              ; preds = %162
  %165 = landingpad { ptr, i32 }
          cleanup
  %166 = extractvalue { ptr, i32 } %165, 0
  %167 = extractvalue { ptr, i32 } %165, 1
  br label %.loopexit63

168:                                              ; preds = %155
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %21) #9
  %169 = fadd double %.049, %56
  br label %170

170:                                              ; preds = %162, %168
  %.150 = phi double [ %169, %168 ], [ %.049, %162 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %20) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %19) #9
  br label %171

171:                                              ; preds = %170, %148
  %.251 = phi double [ %.049, %148 ], [ %.150, %170 ]
  %.147 = phi double [ %150, %148 ], [ %.046, %170 ]
  %.144 = phi i32 [ %149, %148 ], [ %.043, %170 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %16) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %16) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %13) #9
  br label %172

172:                                              ; preds = %79, %171, %90
  %.352 = phi double [ %.049, %90 ], [ %.251, %171 ], [ %.049, %79 ]
  %.248 = phi double [ %.046, %90 ], [ %.147, %171 ], [ %.046, %79 ]
  %.245 = phi i32 [ %91, %90 ], [ %.144, %171 ], [ %.043, %79 ]
  %173 = invoke ptr @_ZN6miocsv10BaseReader14ReaderIteratorppEv(ptr noundef nonnull align 8 dereferenceable(8) %9)
          to label %36 unwind label %.loopexit64

174:                                              ; preds = %155
  %175 = landingpad { ptr, i32 }
          cleanup
  %176 = extractvalue { ptr, i32 } %175, 0
  %177 = extractvalue { ptr, i32 } %175, 1
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %21) #9
  br label %.loopexit63

.loopexit63:                                      ; preds = %156, %174, %164
  %.335 = phi i32 [ %177, %174 ], [ %167, %164 ], [ %159, %156 ]
  %.3 = phi ptr [ %176, %174 ], [ %166, %164 ], [ %158, %156 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %20) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %19) #9
  br label %178

178:                                              ; preds = %.loopexit63, %145, %130
  %.436 = phi i32 [ %.335, %.loopexit63 ], [ %146, %145 ], [ %.234, %130 ]
  %.4 = phi ptr [ %.3, %.loopexit63 ], [ %147, %145 ], [ %.2, %130 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %16) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %16) #9
  br label %179

179:                                              ; preds = %178, %117, %102
  %.537 = phi i32 [ %.436, %178 ], [ %118, %117 ], [ %.133, %102 ]
  %.5 = phi ptr [ %.4, %178 ], [ %119, %117 ], [ %.1, %102 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %13) #9
  br label %.loopexit

.loopexit:                                        ; preds = %76, %81, %87, %179, %48
  %.739 = phi i32 [ %50, %48 ], [ %.537, %179 ], [ %88, %87 ], [ %84, %81 ], [ %.032, %76 ]
  %.7 = phi ptr [ %49, %48 ], [ %.5, %179 ], [ %89, %87 ], [ %83, %81 ], [ %.0, %76 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #9
  br label %180

180:                                              ; preds = %.loopexit, %44
  %.840 = phi i32 [ %.739, %.loopexit ], [ %47, %44 ]
  %.8 = phi ptr [ %.7, %.loopexit ], [ %46, %44 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #9
  br label %198

181:                                              ; preds = %38
  %182 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEd(ptr noundef nonnull align 8 dereferenceable(8) %39, double noundef %.049)
          to label %183 unwind label %194

183:                                              ; preds = %181
  %184 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %182, i8 noundef signext 10)
          to label %185 unwind label %194

185:                                              ; preds = %183
  %186 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEj(ptr noundef nonnull align 8 dereferenceable(8) %184, i32 noundef %.043)
          to label %187 unwind label %194

187:                                              ; preds = %185
  %188 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %186, ptr noundef nonnull @.str.38)
          to label %189 unwind label %194

189:                                              ; preds = %187
  %190 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEd(ptr noundef nonnull align 8 dereferenceable(8) %188, double noundef %.046)
          to label %191 unwind label %194

191:                                              ; preds = %189
  %192 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %190, i8 noundef signext 10)
          to label %193 unwind label %194

193:                                              ; preds = %191
  call void @_ZN6miocsv10DictReaderD1Ev(ptr noundef nonnull align 8 dereferenceable(624) %7) #9
  call void @llvm.lifetime.end.p0(i64 688, ptr nonnull %7) #9
  ret void

194:                                              ; preds = %191, %189, %187, %185, %183, %181, %38
  %195 = landingpad { ptr, i32 }
          cleanup
  %196 = extractvalue { ptr, i32 } %195, 0
  %197 = extractvalue { ptr, i32 } %195, 1
  br label %198

198:                                              ; preds = %194, %180
  %.941 = phi i32 [ %.840, %180 ], [ %197, %194 ]
  %.9 = phi ptr [ %.8, %180 ], [ %196, %194 ]
  call void @_ZN6miocsv10DictReaderD1Ev(ptr noundef nonnull align 8 dereferenceable(624) %7) #9
  br label %199

199:                                              ; preds = %198, %40
  %.1042 = phi i32 [ %.941, %198 ], [ %43, %40 ]
  %.10 = phi ptr [ %.9, %198 ], [ %42, %40 ]
  call void @llvm.lifetime.end.p0(i64 688, ptr nonnull %7) #9
  %200 = insertvalue { ptr, i32 } poison, ptr %.10, 0
  %201 = insertvalue { ptr, i32 } %200, i32 %.1042, 1
  resume { ptr, i32 } %201

202:                                              ; preds = %143, %115, %85
  %203 = landingpad { ptr, i32 }
          catch ptr null
  %204 = extractvalue { ptr, i32 } %203, 0
  call void @__clang_call_terminate(ptr %204) #10
  unreachable
}

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN8transoms10ColumnPool6updateEOSt5tupleIJjjttEEd(ptr noundef nonnull align 8 dereferenceable(72), ptr noundef nonnull align 4 dereferenceable(12), double noundef) local_unnamed_addr #2 align 2

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

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEd(ptr noundef nonnull align 8 dereferenceable(8), double noundef) local_unnamed_addr #2 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 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
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 = { nofree nosync nounwind memory(none) }
attributes #7 = { noreturn nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #8 = { noinline noreturn nounwind uwtable "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 #9 = { nounwind }
attributes #10 = { noreturn nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"short", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"vtable pointer", !8, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}


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