; LLVM IR from fritzsedlazeck/SURVIVOR :: src/vcfs (Annotate_vcf)

; 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.std::map.44" = type { %"class.std::_Rb_tree.45" }
%"class.std::_Rb_tree.45" = type { %"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, std::vector<SV_reg>>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, std::vector<SV_reg>>>, 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>, std::vector<SV_reg>>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, std::vector<SV_reg>>>, 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.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.3 }
%union.anon.3 = type { i32 }
%"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::vector.34" = type { %"struct.std::_Vector_base.35" }
%"struct.std::_Vector_base.35" = 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 }
%struct.SV_reg = type <{ %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", %struct.strcoordinate, %struct.strcoordinate, i32, [4 x i8] }>
%struct.strcoordinate = type { i32, %"class.std::__cxx11::basic_string" }
%"class.std::allocator" = type { i8 }
%"struct.std::_Rb_tree_iterator.49" = type { ptr }
%"class.std::vector.39" = type { %"struct.std::_Vector_base.40" }
%"struct.std::_Vector_base.40" = type { %"struct.std::_Vector_base<LTR_reg, std::allocator<LTR_reg>>::_Vector_impl" }
%"struct.std::_Vector_base<LTR_reg, std::allocator<LTR_reg>>::_Vector_impl" = type { %"struct.std::_Vector_base<LTR_reg, std::allocator<LTR_reg>>::_Vector_impl_data" }
%"struct.std::_Vector_base<LTR_reg, std::allocator<LTR_reg>>::_Vector_impl_data" = type { ptr, ptr, ptr }

@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str = external hidden unnamed_addr constant [34 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [4 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 @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #1 align 2

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

declare i32 @__gxx_personality_v0(...)

; 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: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znam(i64 noundef) #3

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEE4goodEv(ptr noundef nonnull align 8 dereferenceable(264)) #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) #4

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

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_(ptr noundef nonnull align 8 dereferenceable(8)) #4

; Function Attrs: noreturn nounwind
declare void @exit(i32 noundef) #5

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

; Function Attrs: mustprogress uwtable
declare noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEE3eofEv(ptr noundef nonnull align 8 dereferenceable(264)) #2 align 2

; Function Attrs: nounwind willreturn memory(read)
declare i32 @strncmp(ptr noundef, ptr noundef, i64 noundef) #6

; Function Attrs: inlinehint mustprogress nounwind willreturn memory(read) uwtable
declare i32 @atoi(ptr noundef nonnull) #7

; Function Attrs: mustprogress uwtable
declare void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEE5closeEv(ptr noundef nonnull align 8 dereferenceable(256)) #2 align 2

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

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_Z9is_calledPKc(ptr noundef) #1

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_Z5is_in6SV_regSt6vectorI7LTR_regSaIS1_EEi(ptr noundef, ptr noundef, i32 noundef) #2

; Function Attrs: mustprogress uwtable
define dso_local void @_Z8parse_SVNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt3mapIS4_St6vectorI7LTR_regSaIS7_EESt4lessIS4_ESaISt4pairIKS4_S9_EEEi(ptr dead_on_unwind noalias writable sret(%"class.std::map.44") align 8 %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #2 personality ptr @__gxx_personality_v0 {
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca i1, align 1
  %10 = alloca i64, align 8
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca i32, align 4
  %14 = alloca %"class.std::basic_ifstream", align 8
  %15 = alloca i32, align 4
  %16 = alloca %"class.std::__cxx11::basic_string", align 8
  %17 = alloca %"class.std::vector.34", align 8
  %18 = alloca i64, align 8
  %19 = alloca %struct.SV_reg, align 8
  %20 = alloca i64, align 8
  %21 = alloca %"class.std::__cxx11::basic_string", align 8
  %22 = alloca %"class.std::allocator", align 1
  %23 = alloca %struct.strcoordinate, align 8
  %24 = alloca %"struct.std::_Rb_tree_iterator.49", align 8
  %25 = alloca %"struct.std::_Rb_tree_iterator.49", align 8
  %26 = alloca %struct.SV_reg, align 8
  %27 = alloca i1, align 1
  %28 = alloca %"class.std::vector.39", align 8
  %29 = alloca i1, align 1
  store ptr %0, ptr %5, align 8
  store ptr %1, ptr %6, align 8, !tbaa !5
  store ptr %2, ptr %7, align 8, !tbaa !5
  store i32 %3, ptr %8, align 4, !tbaa !9
  store i1 false, ptr %9, align 1
  call void @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt6vectorI6SV_regSaIS7_EESt4lessIS5_ESaISt4pairIKS5_S9_EEEC2Ev(ptr noundef nonnull align 8 dereferenceable(48) %0) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #10
  store i64 2000000, ptr %10, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #10
  %30 = load i64, ptr %10, align 8, !tbaa !11
  %31 = invoke noalias noundef nonnull ptr @_Znam(i64 noundef %30) #11
          to label %32 unwind label %50

32:                                               ; preds = %4
  store ptr %31, ptr %11, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 520, ptr %14) #10
  invoke void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(256) %14)
          to label %33 unwind label %54

33:                                               ; preds = %32
  %34 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %1) #10
  invoke void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEE4openEPKcSt13_Ios_Openmode(ptr noundef nonnull align 8 dereferenceable(256) %14, ptr noundef %34, i32 noundef 8)
          to label %35 unwind label %58

35:                                               ; preds = %33
  %36 = load ptr, ptr %14, align 8, !tbaa !13
  %37 = getelementptr i8, ptr %36, i64 -24
  %38 = load i64, ptr %37, align 8
  %39 = getelementptr inbounds i8, ptr %14, i64 %38
  %40 = invoke noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEE4goodEv(ptr noundef nonnull align 8 dereferenceable(264) %39)
          to label %41 unwind label %58

41:                                               ; preds = %35
  br i1 %40, label %62, label %42

42:                                               ; preds = %41
  %43 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str)
          to label %44 unwind label %58

44:                                               ; preds = %42
  %45 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %1) #10
  %46 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %43, ptr noundef %45)
          to label %47 unwind label %58

47:                                               ; preds = %44
  %48 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %46, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %49 unwind label %58

49:                                               ; preds = %47
  call void @exit(i32 noundef 0) #12
  unreachable

50:                                               ; preds = %4
  %51 = landingpad { ptr, i32 }
          cleanup
  %52 = extractvalue { ptr, i32 } %51, 0
  store ptr %52, ptr %12, align 8
  %53 = extractvalue { ptr, i32 } %51, 1
  store i32 %53, ptr %13, align 4
  br label %418

54:                                               ; preds = %32
  %55 = landingpad { ptr, i32 }
          cleanup
  %56 = extractvalue { ptr, i32 } %55, 0
  store ptr %56, ptr %12, align 8
  %57 = extractvalue { ptr, i32 } %55, 1
  store i32 %57, ptr %13, align 4
  br label %417

58:                                               ; preds = %82, %67, %62, %47, %44, %42, %35, %33
  %59 = landingpad { ptr, i32 }
          cleanup
  %60 = extractvalue { ptr, i32 } %59, 0
  store ptr %60, ptr %12, align 8
  %61 = extractvalue { ptr, i32 } %59, 1
  store i32 %61, ptr %13, align 4
  br label %416

62:                                               ; preds = %41
  %63 = load ptr, ptr %11, align 8, !tbaa !5
  %64 = load i64, ptr %10, align 8, !tbaa !11
  %65 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSi7getlineEPcl(ptr noundef nonnull align 8 dereferenceable(16) %14, ptr noundef %63, i64 noundef %64)
          to label %66 unwind label %58

66:                                               ; preds = %62
  br label %67

67:                                               ; preds = %86, %66
  %68 = load ptr, ptr %14, align 8, !tbaa !13
  %69 = getelementptr i8, ptr %68, i64 -24
  %70 = load i64, ptr %69, align 8
  %71 = getelementptr inbounds i8, ptr %14, i64 %70
  %72 = invoke noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEE3eofEv(ptr noundef nonnull align 8 dereferenceable(264) %71)
          to label %73 unwind label %58

73:                                               ; preds = %67
  br i1 %72, label %80, label %74

74:                                               ; preds = %73
  %75 = load ptr, ptr %11, align 8, !tbaa !5
  %76 = getelementptr inbounds i8, ptr %75, i64 1
  %77 = load i8, ptr %76, align 1, !tbaa !15
  %78 = sext i8 %77 to i32
  %79 = icmp eq i32 %78, 35
  br label %80

80:                                               ; preds = %74, %73
  %81 = phi i1 [ false, %73 ], [ %79, %74 ]
  br i1 %81, label %82, label %87

82:                                               ; preds = %80
  %83 = load ptr, ptr %11, align 8, !tbaa !5
  %84 = load i64, ptr %10, align 8, !tbaa !11
  %85 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSi7getlineEPcl(ptr noundef nonnull align 8 dereferenceable(16) %14, ptr noundef %83, i64 noundef %84)
          to label %86 unwind label %58

86:                                               ; preds = %82
  br label %67, !llvm.loop !16

87:                                               ; preds = %80
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #10
  store i32 0, ptr %15, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 32, ptr %16) #10
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %16) #10
  call void @llvm.lifetime.start.p0(i64 24, ptr %17) #10
  call void @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %17) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #10
  store i64 0, ptr %18, align 8, !tbaa !11
  br label %88

88:                                               ; preds = %152, %87
  %89 = load i64, ptr %18, align 8, !tbaa !11
  %90 = load i64, ptr %10, align 8, !tbaa !11
  %91 = icmp ult i64 %89, %90
  br i1 %91, label %92, label %106

92:                                               ; preds = %88
  %93 = load ptr, ptr %11, align 8, !tbaa !5
  %94 = load i64, ptr %18, align 8, !tbaa !11
  %95 = getelementptr inbounds i8, ptr %93, i64 %94
  %96 = load i8, ptr %95, align 1, !tbaa !15
  %97 = sext i8 %96 to i32
  %98 = icmp ne i32 %97, 0
  br i1 %98, label %99, label %106

99:                                               ; preds = %92
  %100 = load ptr, ptr %11, align 8, !tbaa !5
  %101 = load i64, ptr %18, align 8, !tbaa !11
  %102 = getelementptr inbounds i8, ptr %100, i64 %101
  %103 = load i8, ptr %102, align 1, !tbaa !15
  %104 = sext i8 %103 to i32
  %105 = icmp ne i32 %104, 10
  br label %106

106:                                              ; preds = %99, %92, %88
  %107 = phi i1 [ false, %92 ], [ false, %88 ], [ %105, %99 ]
  br i1 %107, label %109, label %108

108:                                              ; preds = %106
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #10
  br label %155

109:                                              ; preds = %106
  %110 = load i32, ptr %15, align 4, !tbaa !9
  %111 = icmp sgt i32 %110, 8
  br i1 %111, label %112, label %130

112:                                              ; preds = %109
  %113 = load ptr, ptr %11, align 8, !tbaa !5
  %114 = load i64, ptr %18, align 8, !tbaa !11
  %115 = getelementptr inbounds i8, ptr %113, i64 %114
  %116 = load i8, ptr %115, align 1, !tbaa !15
  %117 = sext i8 %116 to i32
  %118 = icmp ne i32 %117, 9
  br i1 %118, label %119, label %130

119:                                              ; preds = %112
  %120 = load ptr, ptr %11, align 8, !tbaa !5
  %121 = load i64, ptr %18, align 8, !tbaa !11
  %122 = getelementptr inbounds i8, ptr %120, i64 %121
  %123 = load i8, ptr %122, align 1, !tbaa !15
  %124 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEc(ptr noundef nonnull align 8 dereferenceable(32) %16, i8 noundef signext %123)
          to label %125 unwind label %126

125:                                              ; preds = %119
  br label %130

126:                                              ; preds = %139, %119
  %127 = landingpad { ptr, i32 }
          cleanup
  %128 = extractvalue { ptr, i32 } %127, 0
  store ptr %128, ptr %12, align 8
  %129 = extractvalue { ptr, i32 } %127, 1
  store i32 %129, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #10
  br label %415

130:                                              ; preds = %125, %112, %109
  %131 = load ptr, ptr %11, align 8, !tbaa !5
  %132 = load i64, ptr %18, align 8, !tbaa !11
  %133 = getelementptr inbounds i8, ptr %131, i64 %132
  %134 = load i8, ptr %133, align 1, !tbaa !15
  %135 = sext i8 %134 to i32
  %136 = icmp eq i32 %135, 9
  br i1 %136, label %137, label %141

137:                                              ; preds = %130
  %138 = call noundef zeroext i1 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(32) %16) #10
  br i1 %138, label %141, label %139

139:                                              ; preds = %137
  invoke void @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE9push_backERKS5_(ptr noundef nonnull align 8 dereferenceable(24) %17, ptr noundef nonnull align 8 dereferenceable(32) %16)
          to label %140 unwind label %126

140:                                              ; preds = %139
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5clearEv(ptr noundef nonnull align 8 dereferenceable(32) %16) #10
  br label %141

141:                                              ; preds = %140, %137, %130
  %142 = load ptr, ptr %11, align 8, !tbaa !5
  %143 = load i64, ptr %18, align 8, !tbaa !11
  %144 = getelementptr inbounds i8, ptr %142, i64 %143
  %145 = load i8, ptr %144, align 1, !tbaa !15
  %146 = sext i8 %145 to i32
  %147 = icmp eq i32 %146, 9
  br i1 %147, label %148, label %151

148:                                              ; preds = %141
  %149 = load i32, ptr %15, align 4, !tbaa !9
  %150 = add nsw i32 %149, 1
  store i32 %150, ptr %15, align 4, !tbaa !9
  br label %151

151:                                              ; preds = %148, %141
  br label %152

152:                                              ; preds = %151
  %153 = load i64, ptr %18, align 8, !tbaa !11
  %154 = add i64 %153, 1
  store i64 %154, ptr %18, align 8, !tbaa !11
  br label %88, !llvm.loop !18

155:                                              ; preds = %108
  %156 = call noundef zeroext i1 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(32) %16) #10
  br i1 %156, label %163, label %157

157:                                              ; preds = %155
  invoke void @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE9push_backERKS5_(ptr noundef nonnull align 8 dereferenceable(24) %17, ptr noundef nonnull align 8 dereferenceable(32) %16)
          to label %158 unwind label %159

158:                                              ; preds = %157
  br label %163

159:                                              ; preds = %412, %168, %163, %157
  %160 = landingpad { ptr, i32 }
          cleanup
  %161 = extractvalue { ptr, i32 } %160, 0
  store ptr %161, ptr %12, align 8
  %162 = extractvalue { ptr, i32 } %160, 1
  store i32 %162, ptr %13, align 4
  br label %415

163:                                              ; preds = %158, %155
  %164 = load ptr, ptr %11, align 8, !tbaa !5
  %165 = load i64, ptr %10, align 8, !tbaa !11
  %166 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSi7getlineEPcl(ptr noundef nonnull align 8 dereferenceable(16) %14, ptr noundef %164, i64 noundef %165)
          to label %167 unwind label %159

167:                                              ; preds = %163
  br label %168

168:                                              ; preds = %406, %167
  %169 = load ptr, ptr %14, align 8, !tbaa !13
  %170 = getelementptr i8, ptr %169, i64 -24
  %171 = load i64, ptr %170, align 8
  %172 = getelementptr inbounds i8, ptr %14, i64 %171
  %173 = invoke noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEE3eofEv(ptr noundef nonnull align 8 dereferenceable(264) %172)
          to label %174 unwind label %159

174:                                              ; preds = %168
  %175 = xor i1 %173, true
  br i1 %175, label %176, label %412

176:                                              ; preds = %174
  store i32 0, ptr %15, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 152, ptr %19) #10
  call void @_ZN6SV_regC2Ev(ptr noundef nonnull align 8 dereferenceable(148) %19) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #10
  store i64 0, ptr %20, align 8, !tbaa !11
  br label %177

177:                                              ; preds = %398, %176
  %178 = load i64, ptr %20, align 8, !tbaa !11
  %179 = load i64, ptr %10, align 8, !tbaa !11
  %180 = icmp ult i64 %178, %179
  br i1 %180, label %181, label %195

181:                                              ; preds = %177
  %182 = load ptr, ptr %11, align 8, !tbaa !5
  %183 = load i64, ptr %20, align 8, !tbaa !11
  %184 = getelementptr inbounds i8, ptr %182, i64 %183
  %185 = load i8, ptr %184, align 1, !tbaa !15
  %186 = sext i8 %185 to i32
  %187 = icmp ne i32 %186, 0
  br i1 %187, label %188, label %195

188:                                              ; preds = %181
  %189 = load ptr, ptr %11, align 8, !tbaa !5
  %190 = load i64, ptr %20, align 8, !tbaa !11
  %191 = getelementptr inbounds i8, ptr %189, i64 %190
  %192 = load i8, ptr %191, align 1, !tbaa !15
  %193 = sext i8 %192 to i32
  %194 = icmp ne i32 %193, 10
  br label %195

195:                                              ; preds = %188, %181, %177
  %196 = phi i1 [ false, %181 ], [ false, %177 ], [ %194, %188 ]
  br i1 %196, label %198, label %197

197:                                              ; preds = %195
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #10
  br label %402

198:                                              ; preds = %195
  %199 = load i32, ptr %15, align 4, !tbaa !9
  %200 = icmp eq i32 %199, 0
  br i1 %200, label %201, label %221

201:                                              ; preds = %198
  %202 = load ptr, ptr %11, align 8, !tbaa !5
  %203 = load i64, ptr %20, align 8, !tbaa !11
  %204 = getelementptr inbounds i8, ptr %202, i64 %203
  %205 = load i8, ptr %204, align 1, !tbaa !15
  %206 = sext i8 %205 to i32
  %207 = icmp ne i32 %206, 9
  br i1 %207, label %208, label %221

208:                                              ; preds = %201
  %209 = load ptr, ptr %11, align 8, !tbaa !5
  %210 = load i64, ptr %20, align 8, !tbaa !11
  %211 = getelementptr inbounds i8, ptr %209, i64 %210
  %212 = load i8, ptr %211, align 1, !tbaa !15
  %213 = getelementptr inbounds %struct.SV_reg, ptr %19, i32 0, i32 2
  %214 = getelementptr inbounds %struct.strcoordinate, ptr %213, i32 0, i32 1
  %215 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEc(ptr noundef nonnull align 8 dereferenceable(32) %214, i8 noundef signext %212)
          to label %216 unwind label %217

216:                                              ; preds = %208
  br label %221

217:                                              ; preds = %359, %353, %351, %349, %291, %208
  %218 = landingpad { ptr, i32 }
          cleanup
  %219 = extractvalue { ptr, i32 } %218, 0
  store ptr %219, ptr %12, align 8
  %220 = extractvalue { ptr, i32 } %218, 1
  store i32 %220, ptr %13, align 4
  br label %401

221:                                              ; preds = %216, %201, %198
  %222 = load i32, ptr %15, align 4, !tbaa !9
  %223 = icmp eq i32 %222, 1
  br i1 %223, label %224, label %239

224:                                              ; preds = %221
  %225 = load ptr, ptr %11, align 8, !tbaa !5
  %226 = load i64, ptr %20, align 8, !tbaa !11
  %227 = sub i64 %226, 1
  %228 = getelementptr inbounds i8, ptr %225, i64 %227
  %229 = load i8, ptr %228, align 1, !tbaa !15
  %230 = sext i8 %229 to i32
  %231 = icmp eq i32 %230, 9
  br i1 %231, label %232, label %239

232:                                              ; preds = %224
  %233 = load ptr, ptr %11, align 8, !tbaa !5
  %234 = load i64, ptr %20, align 8, !tbaa !11
  %235 = getelementptr inbounds i8, ptr %233, i64 %234
  %236 = call i32 @atoi(ptr noundef %235) #13
  %237 = getelementptr inbounds %struct.SV_reg, ptr %19, i32 0, i32 2
  %238 = getelementptr inbounds %struct.strcoordinate, ptr %237, i32 0, i32 0
  store i32 %236, ptr %238, align 8, !tbaa !19
  br label %239

239:                                              ; preds = %232, %224, %221
  %240 = load i32, ptr %15, align 4, !tbaa !9
  %241 = icmp eq i32 %240, 4
  br i1 %241, label %242, label %268

242:                                              ; preds = %239
  %243 = load ptr, ptr %11, align 8, !tbaa !5
  %244 = load i64, ptr %20, align 8, !tbaa !11
  %245 = sub i64 %244, 1
  %246 = getelementptr inbounds i8, ptr %243, i64 %245
  %247 = load i8, ptr %246, align 1, !tbaa !15
  %248 = sext i8 %247 to i32
  %249 = icmp eq i32 %248, 60
  br i1 %249, label %250, label %268

250:                                              ; preds = %242
  %251 = load ptr, ptr %11, align 8, !tbaa !5
  %252 = load i64, ptr %20, align 8, !tbaa !11
  %253 = getelementptr inbounds i8, ptr %251, i64 %252
  call void @llvm.lifetime.start.p0(i64 1, ptr %22) #10
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %22) #10
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %21, ptr noundef %253, ptr noundef nonnull align 1 dereferenceable(1) %22)
          to label %254 unwind label %259

254:                                              ; preds = %250
  %255 = invoke noundef signext i16 @_Z8get_typeNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef %21)
          to label %256 unwind label %263

256:                                              ; preds = %254
  %257 = sext i16 %255 to i32
  %258 = getelementptr inbounds %struct.SV_reg, ptr %19, i32 0, i32 4
  store i32 %257, ptr %258, align 8, !tbaa !24
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %21) #10
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %22) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr %22) #10
  br label %268

259:                                              ; preds = %250
  %260 = landingpad { ptr, i32 }
          cleanup
  %261 = extractvalue { ptr, i32 } %260, 0
  store ptr %261, ptr %12, align 8
  %262 = extractvalue { ptr, i32 } %260, 1
  store i32 %262, ptr %13, align 4
  br label %267

263:                                              ; preds = %254
  %264 = landingpad { ptr, i32 }
          cleanup
  %265 = extractvalue { ptr, i32 } %264, 0
  store ptr %265, ptr %12, align 8
  %266 = extractvalue { ptr, i32 } %264, 1
  store i32 %266, ptr %13, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %21) #10
  br label %267

267:                                              ; preds = %263, %259
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %22) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr %22) #10
  br label %401

268:                                              ; preds = %256, %242, %239
  %269 = load i32, ptr %15, align 4, !tbaa !9
  %270 = icmp eq i32 %269, 7
  br i1 %270, label %271, label %288

271:                                              ; preds = %268
  %272 = load ptr, ptr %11, align 8, !tbaa !5
  %273 = load i64, ptr %20, align 8, !tbaa !11
  %274 = getelementptr inbounds i8, ptr %272, i64 %273
  %275 = call i32 @strncmp(ptr noundef %274, ptr noundef @.str.22, i64 noundef 5) #13
  %276 = icmp eq i32 %275, 0
  br i1 %276, label %277, label %288

277:                                              ; preds = %271
  call void @llvm.lifetime.start.p0(i64 40, ptr %23) #10
  %278 = load ptr, ptr %11, align 8, !tbaa !5
  %279 = load i64, ptr %20, align 8, !tbaa !11
  %280 = getelementptr inbounds i8, ptr %278, i64 %279
  invoke void @_Z10parse_stopPKc(ptr dead_on_unwind writable sret(%struct.strcoordinate) align 8 %23, ptr noundef %280)
          to label %281 unwind label %284

281:                                              ; preds = %277
  %282 = getelementptr inbounds %struct.SV_reg, ptr %19, i32 0, i32 3
  %283 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZN13strcoordinateaSEOS_(ptr noundef nonnull align 8 dereferenceable(40) %282, ptr noundef nonnull align 8 dereferenceable(40) %23) #10
  call void @_ZN13strcoordinateD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %23) #10
  call void @llvm.lifetime.end.p0(i64 40, ptr %23) #10
  br label %288

284:                                              ; preds = %277
  %285 = landingpad { ptr, i32 }
          cleanup
  %286 = extractvalue { ptr, i32 } %285, 0
  store ptr %286, ptr %12, align 8
  %287 = extractvalue { ptr, i32 } %285, 1
  store i32 %287, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 40, ptr %23) #10
  br label %401

288:                                              ; preds = %281, %271, %268
  %289 = load i32, ptr %15, align 4, !tbaa !9
  %290 = icmp slt i32 %289, 8
  br i1 %290, label %291, label %299

291:                                              ; preds = %288
  %292 = load ptr, ptr %11, align 8, !tbaa !5
  %293 = load i64, ptr %20, align 8, !tbaa !11
  %294 = getelementptr inbounds i8, ptr %292, i64 %293
  %295 = load i8, ptr %294, align 1, !tbaa !15
  %296 = getelementptr inbounds %struct.SV_reg, ptr %19, i32 0, i32 0
  %297 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEc(ptr noundef nonnull align 8 dereferenceable(32) %296, i8 noundef signext %295)
          to label %298 unwind label %217

298:                                              ; preds = %291
  br label %299

299:                                              ; preds = %298, %288
  %300 = load i32, ptr %15, align 4, !tbaa !9
  %301 = icmp sgt i32 %300, 8
  br i1 %301, label %302, label %387

302:                                              ; preds = %299
  %303 = load ptr, ptr %11, align 8, !tbaa !5
  %304 = load i64, ptr %20, align 8, !tbaa !11
  %305 = sub i64 %304, 1
  %306 = getelementptr inbounds i8, ptr %303, i64 %305
  %307 = load i8, ptr %306, align 1, !tbaa !15
  %308 = sext i8 %307 to i32
  %309 = icmp eq i32 %308, 9
  br i1 %309, label %310, label %387

310:                                              ; preds = %302
  %311 = load ptr, ptr %11, align 8, !tbaa !5
  %312 = load i64, ptr %20, align 8, !tbaa !11
  %313 = getelementptr inbounds i8, ptr %311, i64 %312
  %314 = call noundef zeroext i1 @_Z9is_calledPKc(ptr noundef %313)
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #10
  store i1 false, ptr %27, align 1
  store i1 false, ptr %29, align 1
  br i1 %314, label %315, label %341

315:                                              ; preds = %310
  %316 = load i32, ptr %15, align 4, !tbaa !9
  %317 = sub nsw i32 %316, 9
  %318 = sext i32 %317 to i64
  %319 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %17, i64 noundef %318) #10
  %320 = invoke ptr @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt6vectorI7LTR_regSaIS7_EESt4lessIS5_ESaISt4pairIKS5_S9_EEE4findERSD_(ptr noundef nonnull align 8 dereferenceable(48) %2, ptr noundef nonnull align 8 dereferenceable(32) %319)
          to label %321 unwind label %361

321:                                              ; preds = %315
  %322 = getelementptr inbounds %"struct.std::_Rb_tree_iterator.49", ptr %24, i32 0, i32 0
  store ptr %320, ptr %322, align 8
  %323 = call ptr @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt6vectorI7LTR_regSaIS7_EESt4lessIS5_ESaISt4pairIKS5_S9_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %2) #10
  %324 = getelementptr inbounds %"struct.std::_Rb_tree_iterator.49", ptr %25, i32 0, i32 0
  store ptr %323, ptr %324, align 8
  %325 = call noundef zeroext i1 @_ZStneRKSt17_Rb_tree_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt6vectorI7LTR_regSaIS9_EEEESF_(ptr noundef nonnull align 8 dereferenceable(8) %24, ptr noundef nonnull align 8 dereferenceable(8) %25) #10
  br i1 %325, label %326, label %339

326:                                              ; preds = %321
  invoke void @_ZN6SV_regC2ERKS_(ptr noundef nonnull align 8 dereferenceable(148) %26, ptr noundef nonnull align 8 dereferenceable(148) %19)
          to label %327 unwind label %365

327:                                              ; preds = %326
  store i1 true, ptr %27, align 1
  %328 = load i32, ptr %15, align 4, !tbaa !9
  %329 = sub nsw i32 %328, 9
  %330 = sext i32 %329 to i64
  %331 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %17, i64 noundef %330) #10
  %332 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt6vectorI7LTR_regSaIS7_EESt4lessIS5_ESaISt4pairIKS5_S9_EEEixERSD_(ptr noundef nonnull align 8 dereferenceable(48) %2, ptr noundef nonnull align 8 dereferenceable(32) %331)
          to label %333 unwind label %369

333:                                              ; preds = %327
  invoke void @_ZNSt6vectorI7LTR_regSaIS0_EEC2ERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %28, ptr noundef nonnull align 8 dereferenceable(24) %332)
          to label %334 unwind label %369

334:                                              ; preds = %333
  store i1 true, ptr %29, align 1
  %335 = load i32, ptr %8, align 4, !tbaa !9
  %336 = invoke noundef zeroext i1 @_Z5is_in6SV_regSt6vectorI7LTR_regSaIS1_EEi(ptr noundef %26, ptr noundef %28, i32 noundef %335)
          to label %337 unwind label %373

337:                                              ; preds = %334
  %338 = xor i1 %336, true
  br label %339

339:                                              ; preds = %337, %321
  %340 = phi i1 [ false, %321 ], [ %338, %337 ]
  br label %341

341:                                              ; preds = %339, %310
  %342 = phi i1 [ false, %310 ], [ %340, %339 ]
  %343 = load i1, ptr %29, align 1
  br i1 %343, label %344, label %345

344:                                              ; preds = %341
  call void @_ZNSt6vectorI7LTR_regSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %28) #10
  br label %345

345:                                              ; preds = %344, %341
  %346 = load i1, ptr %27, align 1
  br i1 %346, label %347, label %348

347:                                              ; preds = %345
  call void @_ZN6SV_regD2Ev(ptr noundef nonnull align 8 dereferenceable(148) %26) #10
  br label %348

348:                                              ; preds = %347, %345
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #10
  br i1 %342, label %349, label %386

349:                                              ; preds = %348
  %350 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.23)
          to label %351 unwind label %217

351:                                              ; preds = %349
  %352 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %350, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %353 unwind label %217

353:                                              ; preds = %351
  %354 = load i32, ptr %15, align 4, !tbaa !9
  %355 = sub nsw i32 %354, 9
  %356 = sext i32 %355 to i64
  %357 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %17, i64 noundef %356) #10
  %358 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt6vectorI6SV_regSaIS7_EESt4lessIS5_ESaISt4pairIKS5_S9_EEEixERSD_(ptr noundef nonnull align 8 dereferenceable(48) %0, ptr noundef nonnull align 8 dereferenceable(32) %357)
          to label %359 unwind label %217

359:                                              ; preds = %353
  invoke void @_ZNSt6vectorI6SV_regSaIS0_EE9push_backERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %358, ptr noundef nonnull align 8 dereferenceable(148) %19)
          to label %360 unwind label %217

360:                                              ; preds = %359
  br label %386

361:                                              ; preds = %315
  %362 = landingpad { ptr, i32 }
          cleanup
  %363 = extractvalue { ptr, i32 } %362, 0
  store ptr %363, ptr %12, align 8
  %364 = extractvalue { ptr, i32 } %362, 1
  store i32 %364, ptr %13, align 4
  br label %385

365:                                              ; preds = %326
  %366 = landingpad { ptr, i32 }
          cleanup
  %367 = extractvalue { ptr, i32 } %366, 0
  store ptr %367, ptr %12, align 8
  %368 = extractvalue { ptr, i32 } %366, 1
  store i32 %368, ptr %13, align 4
  br label %384

369:                                              ; preds = %333, %327
  %370 = landingpad { ptr, i32 }
          cleanup
  %371 = extractvalue { ptr, i32 } %370, 0
  store ptr %371, ptr %12, align 8
  %372 = extractvalue { ptr, i32 } %370, 1
  store i32 %372, ptr %13, align 4
  br label %380

373:                                              ; preds = %334
  %374 = landingpad { ptr, i32 }
          cleanup
  %375 = extractvalue { ptr, i32 } %374, 0
  store ptr %375, ptr %12, align 8
  %376 = extractvalue { ptr, i32 } %374, 1
  store i32 %376, ptr %13, align 4
  %377 = load i1, ptr %29, align 1
  br i1 %377, label %378, label %379

378:                                              ; preds = %373
  call void @_ZNSt6vectorI7LTR_regSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %28) #10
  br label %379

379:                                              ; preds = %378, %373
  br label %380

380:                                              ; preds = %379, %369
  %381 = load i1, ptr %27, align 1
  br i1 %381, label %382, label %383

382:                                              ; preds = %380
  call void @_ZN6SV_regD2Ev(ptr noundef nonnull align 8 dereferenceable(148) %26) #10
  br label %383

383:                                              ; preds = %382, %380
  br label %384

384:                                              ; preds = %383, %365
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #10
  br label %385

385:                                              ; preds = %384, %361
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #10
  br label %401

386:                                              ; preds = %360, %348
  br label %387

387:                                              ; preds = %386, %302, %299
  %388 = load ptr, ptr %11, align 8, !tbaa !5
  %389 = load i64, ptr %20, align 8, !tbaa !11
  %390 = getelementptr inbounds i8, ptr %388, i64 %389
  %391 = load i8, ptr %390, align 1, !tbaa !15
  %392 = sext i8 %391 to i32
  %393 = icmp eq i32 %392, 9
  br i1 %393, label %394, label %397

394:                                              ; preds = %387
  %395 = load i32, ptr %15, align 4, !tbaa !9
  %396 = add nsw i32 %395, 1
  store i32 %396, ptr %15, align 4, !tbaa !9
  br label %397

397:                                              ; preds = %394, %387
  br label %398

398:                                              ; preds = %397
  %399 = load i64, ptr %20, align 8, !tbaa !11
  %400 = add i64 %399, 1
  store i64 %400, ptr %20, align 8, !tbaa !11
  br label %177, !llvm.loop !25

401:                                              ; preds = %385, %284, %267, %217
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #10
  br label %411

402:                                              ; preds = %197
  %403 = load ptr, ptr %11, align 8, !tbaa !5
  %404 = load i64, ptr %10, align 8, !tbaa !11
  %405 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSi7getlineEPcl(ptr noundef nonnull align 8 dereferenceable(16) %14, ptr noundef %403, i64 noundef %404)
          to label %406 unwind label %407

406:                                              ; preds = %402
  call void @_ZN6SV_regD2Ev(ptr noundef nonnull align 8 dereferenceable(148) %19) #10
  call void @llvm.lifetime.end.p0(i64 152, ptr %19) #10
  br label %168, !llvm.loop !26

407:                                              ; preds = %402
  %408 = landingpad { ptr, i32 }
          cleanup
  %409 = extractvalue { ptr, i32 } %408, 0
  store ptr %409, ptr %12, align 8
  %410 = extractvalue { ptr, i32 } %408, 1
  store i32 %410, ptr %13, align 4
  br label %411

411:                                              ; preds = %407, %401
  call void @_ZN6SV_regD2Ev(ptr noundef nonnull align 8 dereferenceable(148) %19) #10
  call void @llvm.lifetime.end.p0(i64 152, ptr %19) #10
  br label %415

412:                                              ; preds = %174
  invoke void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEE5closeEv(ptr noundef nonnull align 8 dereferenceable(256) %14)
          to label %413 unwind label %159

413:                                              ; preds = %412
  store i1 true, ptr %9, align 1
  call void @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %17) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr %17) #10
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %16) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr %16) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #10
  call void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(256) %14) #10
  call void @llvm.lifetime.end.p0(i64 520, ptr %14) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #10
  %414 = load i1, ptr %9, align 1
  br i1 %414, label %420, label %419

415:                                              ; preds = %411, %159, %126
  call void @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %17) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr %17) #10
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %16) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr %16) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #10
  br label %416

416:                                              ; preds = %415, %58
  call void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(256) %14) #10
  br label %417

417:                                              ; preds = %416, %54
  call void @llvm.lifetime.end.p0(i64 520, ptr %14) #10
  br label %418

418:                                              ; preds = %417, %50
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #10
  call void @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt6vectorI6SV_regSaIS7_EESt4lessIS5_ESaISt4pairIKS5_S9_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %0) #10
  br label %421

419:                                              ; preds = %413
  call void @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt6vectorI6SV_regSaIS7_EESt4lessIS5_ESaISt4pairIKS5_S9_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %0) #10
  br label %420

420:                                              ; preds = %419, %413
  ret void

421:                                              ; preds = %418
  %422 = load ptr, ptr %12, align 8
  %423 = load i32, ptr %13, align 4
  %424 = insertvalue { ptr, i32 } poison, ptr %422, 0
  %425 = insertvalue { ptr, i32 } %424, i32 %423, 1
  resume { ptr, i32 } %425
}

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

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

declare noundef signext i16 @_Z8get_typeNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef) #9

; 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 void @_Z10parse_stopPKc(ptr dead_on_unwind writable sret(%struct.strcoordinate) align 8, ptr noundef) #9

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

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

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

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

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

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

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

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

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

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

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

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

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

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


; 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.std::map.44" = type { %"class.std::_Rb_tree.45" }
%"class.std::_Rb_tree.45" = type { %"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, std::vector<SV_reg>>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, std::vector<SV_reg>>>, 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>, std::vector<SV_reg>>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, std::vector<SV_reg>>>, 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.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.3 }
%union.anon.3 = type { i32 }
%"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::vector.34" = type { %"struct.std::_Vector_base.35" }
%"struct.std::_Vector_base.35" = 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 }
%struct.SV_reg = type <{ %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", %struct.strcoordinate, %struct.strcoordinate, i32, [4 x i8] }>
%struct.strcoordinate = type { i32, %"class.std::__cxx11::basic_string" }
%"class.std::allocator" = type { i8 }
%"struct.std::_Rb_tree_iterator.49" = type { ptr }
%"class.std::vector.39" = type { %"struct.std::_Vector_base.40" }
%"struct.std::_Vector_base.40" = type { %"struct.std::_Vector_base<LTR_reg, std::allocator<LTR_reg>>::_Vector_impl" }
%"struct.std::_Vector_base<LTR_reg, std::allocator<LTR_reg>>::_Vector_impl" = type { %"struct.std::_Vector_base<LTR_reg, std::allocator<LTR_reg>>::_Vector_impl_data" }
%"struct.std::_Vector_base<LTR_reg, std::allocator<LTR_reg>>::_Vector_impl_data" = type { ptr, ptr, ptr }

@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str = external hidden unnamed_addr constant [34 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [4 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 @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #1 align 2

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

declare i32 @__gxx_personality_v0(...)

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

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

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znam(i64 noundef) local_unnamed_addr #3

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEE4goodEv(ptr noundef nonnull align 8 dereferenceable(264)) local_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 #4

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

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_(ptr noundef nonnull align 8 dereferenceable(8)) #4

; Function Attrs: noreturn nounwind
declare void @exit(i32 noundef) local_unnamed_addr #5

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

; Function Attrs: mustprogress uwtable
declare noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEE3eofEv(ptr noundef nonnull align 8 dereferenceable(264)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read)
declare i32 @strncmp(ptr nocapture noundef, ptr nocapture noundef, i64 noundef) local_unnamed_addr #6

; Function Attrs: inlinehint mustprogress nofree nounwind willreturn memory(read) uwtable
declare i32 @atoi(ptr nocapture noundef nonnull) local_unnamed_addr #7

; Function Attrs: mustprogress uwtable
declare void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEE5closeEv(ptr noundef nonnull align 8 dereferenceable(256)) local_unnamed_addr #2 align 2

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

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_Z9is_calledPKc(ptr noundef) local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_Z5is_in6SV_regSt6vectorI7LTR_regSaIS1_EEi(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
define dso_local void @_Z8parse_SVNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt3mapIS4_St6vectorI7LTR_regSaIS7_EESt4lessIS4_ESaISt4pairIKS4_S9_EEEi(ptr dead_on_unwind noalias nonnull writable sret(%"class.std::map.44") align 8 %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) local_unnamed_addr #2 personality ptr @__gxx_personality_v0 {
  %5 = alloca %"class.std::basic_ifstream", align 8
  %6 = alloca %"class.std::__cxx11::basic_string", align 8
  %7 = alloca %"class.std::vector.34", align 8
  %8 = alloca %struct.SV_reg, align 8
  %9 = alloca %"class.std::__cxx11::basic_string", align 8
  %10 = alloca %"class.std::allocator", align 1
  %11 = alloca %struct.strcoordinate, align 8
  %12 = alloca %"struct.std::_Rb_tree_iterator.49", align 8
  %13 = alloca %"struct.std::_Rb_tree_iterator.49", align 8
  %14 = alloca %struct.SV_reg, align 8
  %15 = alloca %"class.std::vector.39", align 8
  tail call void @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt6vectorI6SV_regSaIS7_EESt4lessIS5_ESaISt4pairIKS5_S9_EEEC2Ev(ptr noundef nonnull align 8 dereferenceable(48) %0) #10
  %16 = invoke noalias noundef nonnull dereferenceable(2000000) ptr @_Znam(i64 noundef 2000000) #11
          to label %17 unwind label %34

17:                                               ; preds = %4
  call void @llvm.lifetime.start.p0(i64 520, ptr nonnull %5) #10
  invoke void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(256) %5)
          to label %18 unwind label %36

18:                                               ; preds = %17
  %19 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %1) #10
  invoke void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEE4openEPKcSt13_Ios_Openmode(ptr noundef nonnull align 8 dereferenceable(256) %5, ptr noundef %19, i32 noundef 8)
          to label %20 unwind label %.loopexit.split-lp132

20:                                               ; preds = %18
  %21 = load ptr, ptr %5, align 8, !tbaa !5
  %22 = getelementptr i8, ptr %21, i64 -24
  %23 = load i64, ptr %22, align 8
  %24 = getelementptr inbounds i8, ptr %5, i64 %23
  %25 = call noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEE4goodEv(ptr noundef nonnull align 8 dereferenceable(264) %24)
  br i1 %25, label %38, label %26

26:                                               ; preds = %20
  %27 = 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)
          to label %28 unwind label %.loopexit.split-lp132

28:                                               ; preds = %26
  %29 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %1) #10
  %30 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %27, ptr noundef %29)
          to label %31 unwind label %.loopexit.split-lp132

31:                                               ; preds = %28
  %32 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %30, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %33 unwind label %.loopexit.split-lp132

33:                                               ; preds = %31
  call void @exit(i32 noundef 0) #12
  unreachable

34:                                               ; preds = %4
  %35 = landingpad { ptr, i32 }
          cleanup
  br label %186

36:                                               ; preds = %17
  %37 = landingpad { ptr, i32 }
          cleanup
  br label %185

.loopexit131:                                     ; preds = %41, %50
  %lpad.loopexit133 = landingpad { ptr, i32 }
          cleanup
  br label %184

.loopexit.split-lp132:                            ; preds = %18, %26, %28, %31, %38
  %lpad.loopexit.split-lp134 = landingpad { ptr, i32 }
          cleanup
  br label %184

38:                                               ; preds = %20
  %39 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSi7getlineEPcl(ptr noundef nonnull align 8 dereferenceable(16) %5, ptr noundef nonnull %16, i64 noundef 2000000)
          to label %.preheader130 unwind label %.loopexit.split-lp132

.preheader130:                                    ; preds = %38
  %40 = getelementptr inbounds i8, ptr %16, i64 1
  br label %41

41:                                               ; preds = %.preheader130, %50
  %42 = load ptr, ptr %5, align 8, !tbaa !5
  %43 = getelementptr i8, ptr %42, i64 -24
  %44 = load i64, ptr %43, align 8
  %45 = getelementptr inbounds i8, ptr %5, i64 %44
  %46 = invoke noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEE3eofEv(ptr noundef nonnull align 8 dereferenceable(264) %45)
          to label %47 unwind label %.loopexit131

47:                                               ; preds = %41
  %48 = load i8, ptr %40, align 1
  %49 = icmp ne i8 %48, 35
  %or.cond.not = select i1 %46, i1 true, i1 %49
  br i1 %or.cond.not, label %.critedge, label %50

50:                                               ; preds = %47
  %51 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSi7getlineEPcl(ptr noundef nonnull align 8 dereferenceable(16) %5, ptr noundef nonnull %16, i64 noundef 2000000)
          to label %41 unwind label %.loopexit131, !llvm.loop !8

.critedge:                                        ; preds = %47
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %6) #10
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #10
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %7) #10
  call void @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #10
  br label %52

52:                                               ; preds = %.critedge, %69
  %.081137 = phi i64 [ 0, %.critedge ], [ %73, %69 ]
  %.082136 = phi i32 [ 0, %.critedge ], [ %spec.select, %69 ]
  %53 = getelementptr inbounds i8, ptr %16, i64 %.081137
  %54 = load i8, ptr %53, align 1, !tbaa !10
  switch i8 %54, label %56 [
    i8 0, label %.critedge2
    i8 10, label %.critedge2
  ]

.critedge2:                                       ; preds = %52, %52, %69
  %55 = call noundef zeroext i1 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(32) %6) #10
  br i1 %55, label %75, label %74

56:                                               ; preds = %52
  %57 = icmp ult i32 %.082136, 9
  %.not111 = icmp eq i8 %54, 9
  %or.cond120 = or i1 %57, %.not111
  br i1 %or.cond120, label %62, label %58

58:                                               ; preds = %56
  %59 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEc(ptr noundef nonnull align 8 dereferenceable(32) %6, i8 noundef signext %54)
          to label %thread-pre-split unwind label %60

60:                                               ; preds = %67, %58
  %61 = landingpad { ptr, i32 }
          cleanup
  br label %183

thread-pre-split:                                 ; preds = %58
  %.pr = load i8, ptr %53, align 1, !tbaa !10
  br label %62

62:                                               ; preds = %thread-pre-split, %56
  %63 = phi i8 [ %.pr, %thread-pre-split ], [ %54, %56 ]
  %64 = icmp eq i8 %63, 9
  br i1 %64, label %65, label %69

65:                                               ; preds = %62
  %66 = call noundef zeroext i1 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(32) %6) #10
  br i1 %66, label %69, label %67

67:                                               ; preds = %65
  invoke void @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE9push_backERKS5_(ptr noundef nonnull align 8 dereferenceable(24) %7, ptr noundef nonnull align 8 dereferenceable(32) %6)
          to label %68 unwind label %60

68:                                               ; preds = %67
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5clearEv(ptr noundef nonnull align 8 dereferenceable(32) %6) #10
  br label %69

69:                                               ; preds = %68, %65, %62
  %70 = load i8, ptr %53, align 1, !tbaa !10
  %71 = icmp eq i8 %70, 9
  %72 = zext i1 %71 to i32
  %spec.select = add nuw nsw i32 %.082136, %72
  %73 = add nuw nsw i64 %.081137, 1
  %exitcond.not = icmp eq i64 %73, 2000000
  br i1 %exitcond.not, label %.critedge2, label %52, !llvm.loop !12

74:                                               ; preds = %.critedge2
  invoke void @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE9push_backERKS5_(ptr noundef nonnull align 8 dereferenceable(24) %7, ptr noundef nonnull align 8 dereferenceable(32) %6)
          to label %75 unwind label %.loopexit.split-lp

.loopexit:                                        ; preds = %81
  %lpad.loopexit = landingpad { ptr, i32 }
          cleanup
  br label %183

.loopexit.split-lp:                               ; preds = %74, %75, %181
  %lpad.loopexit.split-lp = landingpad { ptr, i32 }
          cleanup
  br label %183

75:                                               ; preds = %74, %.critedge2
  %76 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSi7getlineEPcl(ptr noundef nonnull align 8 dereferenceable(16) %5, ptr noundef nonnull %16, i64 noundef 2000000)
          to label %.preheader unwind label %.loopexit.split-lp

.preheader:                                       ; preds = %75
  %77 = getelementptr inbounds i8, ptr %8, i64 72
  %78 = getelementptr inbounds i8, ptr %8, i64 104
  %79 = getelementptr inbounds i8, ptr %8, i64 144
  %80 = getelementptr inbounds i8, ptr %8, i64 64
  br label %81

81:                                               ; preds = %.preheader, %177
  %82 = load ptr, ptr %5, align 8, !tbaa !5
  %83 = getelementptr i8, ptr %82, i64 -24
  %84 = load i64, ptr %83, align 8
  %85 = getelementptr inbounds i8, ptr %5, i64 %84
  %86 = invoke noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEE3eofEv(ptr noundef nonnull align 8 dereferenceable(264) %85)
          to label %87 unwind label %.loopexit

87:                                               ; preds = %81
  br i1 %86, label %181, label %88

88:                                               ; preds = %87
  call void @llvm.lifetime.start.p0(i64 152, ptr nonnull %8) #10
  call void @_ZN6SV_regC2Ev(ptr noundef nonnull align 8 dereferenceable(148) %8) #10
  br label %89

89:                                               ; preds = %88, %.thread126
  %.080139 = phi i64 [ 0, %88 ], [ %176, %.thread126 ]
  %.2138 = phi i32 [ 0, %88 ], [ %spec.select124, %.thread126 ]
  %90 = getelementptr inbounds i8, ptr %16, i64 %.080139
  %91 = load i8, ptr %90, align 1, !tbaa !10
  switch i8 %91, label %93 [
    i8 0, label %.critedge4
    i8 10, label %.critedge4
  ]

.critedge4:                                       ; preds = %89, %89, %.thread126
  %92 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSi7getlineEPcl(ptr noundef nonnull align 8 dereferenceable(16) %5, ptr noundef nonnull %16, i64 noundef 2000000)
          to label %177 unwind label %178

93:                                               ; preds = %89
  %94 = icmp ne i32 %.2138, 0
  %.not102 = icmp eq i8 %91, 9
  %or.cond121 = or i1 %94, %.not102
  br i1 %or.cond121, label %99, label %95

95:                                               ; preds = %93
  %96 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEc(ptr noundef nonnull align 8 dereferenceable(32) %77, i8 noundef signext %91)
          to label %.thread125 unwind label %97

97:                                               ; preds = %161, %158, %156, %154, %.thread125, %95
  %98 = landingpad { ptr, i32 }
          cleanup
  br label %180

99:                                               ; preds = %93
  switch i32 %.2138, label %128 [
    i32 1, label %100
    i32 4, label %106
    i32 7, label %120
  ]

100:                                              ; preds = %99
  %101 = getelementptr i8, ptr %90, i64 -1
  %102 = load i8, ptr %101, align 1, !tbaa !10
  %103 = icmp eq i8 %102, 9
  br i1 %103, label %104, label %.thread125

104:                                              ; preds = %100
  %105 = call i32 @atoi(ptr nocapture noundef %90) #13
  store i32 %105, ptr %80, align 8, !tbaa !13
  br label %.thread125

106:                                              ; preds = %99
  %107 = getelementptr i8, ptr %90, i64 -1
  %108 = load i8, ptr %107, align 1, !tbaa !10
  %109 = icmp eq i8 %108, 60
  br i1 %109, label %110, label %.thread125

110:                                              ; preds = %106
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %10) #10
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %10) #10
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %9, ptr noundef nonnull %90, ptr noundef nonnull align 1 dereferenceable(1) %10)
          to label %111 unwind label %115

111:                                              ; preds = %110
  %112 = invoke noundef signext i16 @_Z8get_typeNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull %9)
          to label %113 unwind label %117

113:                                              ; preds = %111
  %114 = sext i16 %112 to i32
  store i32 %114, ptr %79, align 8, !tbaa !21
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #10
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %10) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %10) #10
  br label %.thread125

115:                                              ; preds = %110
  %116 = landingpad { ptr, i32 }
          cleanup
  br label %119

117:                                              ; preds = %111
  %118 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #10
  br label %119

119:                                              ; preds = %117, %115
  %.pn = phi { ptr, i32 } [ %118, %117 ], [ %116, %115 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %10) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %10) #10
  br label %180

120:                                              ; preds = %99
  %121 = call i32 @strncmp(ptr noundef nonnull dereferenceable(1) %90, ptr noundef nonnull dereferenceable(1) @.str.22, i64 noundef 5) #13
  %122 = icmp eq i32 %121, 0
  br i1 %122, label %123, label %.thread125

123:                                              ; preds = %120
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %11) #10
  invoke void @_Z10parse_stopPKc(ptr dead_on_unwind nonnull writable sret(%struct.strcoordinate) align 8 %11, ptr noundef nonnull %90)
          to label %124 unwind label %126

124:                                              ; preds = %123
  %125 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZN13strcoordinateaSEOS_(ptr noundef nonnull align 8 dereferenceable(40) %78, ptr noundef nonnull align 8 dereferenceable(40) %11) #10
  call void @_ZN13strcoordinateD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %11) #10
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %11) #10
  br label %.thread125

126:                                              ; preds = %123
  %127 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %11) #10
  br label %180

128:                                              ; preds = %99
  %129 = icmp ult i32 %.2138, 8
  br i1 %129, label %.thread125, label %132

.thread125:                                       ; preds = %95, %120, %124, %104, %100, %113, %106, %128
  %130 = load i8, ptr %90, align 1, !tbaa !10
  %131 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEc(ptr noundef nonnull align 8 dereferenceable(32) %8, i8 noundef signext %130)
          to label %.thread126 unwind label %97

132:                                              ; preds = %128
  %.not = icmp eq i32 %.2138, 8
  br i1 %.not, label %.thread126, label %133

133:                                              ; preds = %132
  %134 = getelementptr i8, ptr %90, i64 -1
  %135 = load i8, ptr %134, align 1, !tbaa !10
  %136 = icmp eq i8 %135, 9
  br i1 %136, label %137, label %.thread126

137:                                              ; preds = %133
  %138 = call noundef zeroext i1 @_Z9is_calledPKc(ptr noundef nonnull %90)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #10
  br i1 %138, label %139, label %.critedge123.thread

139:                                              ; preds = %137
  %140 = add nsw i32 %.2138, -9
  %141 = zext nneg i32 %140 to i64
  %142 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %141) #10
  %143 = invoke ptr @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt6vectorI7LTR_regSaIS7_EESt4lessIS5_ESaISt4pairIKS5_S9_EEE4findERSD_(ptr noundef nonnull align 8 dereferenceable(48) %2, ptr noundef nonnull align 8 dereferenceable(32) %142)
          to label %144 unwind label %162

144:                                              ; preds = %139
  store ptr %143, ptr %12, align 8
  %145 = call ptr @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt6vectorI7LTR_regSaIS7_EESt4lessIS5_ESaISt4pairIKS5_S9_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %2) #10
  store ptr %145, ptr %13, align 8
  %146 = call noundef zeroext i1 @_ZStneRKSt17_Rb_tree_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt6vectorI7LTR_regSaIS9_EEEESF_(ptr noundef nonnull align 8 dereferenceable(8) %12, ptr noundef nonnull align 8 dereferenceable(8) %13) #10
  br i1 %146, label %147, label %.critedge123.thread

147:                                              ; preds = %144
  invoke void @_ZN6SV_regC2ERKS_(ptr noundef nonnull align 8 dereferenceable(148) %14, ptr noundef nonnull align 8 dereferenceable(148) %8)
          to label %148 unwind label %164

148:                                              ; preds = %147
  %149 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %141) #10
  %150 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt6vectorI7LTR_regSaIS7_EESt4lessIS5_ESaISt4pairIKS5_S9_EEEixERSD_(ptr noundef nonnull align 8 dereferenceable(48) %2, ptr noundef nonnull align 8 dereferenceable(32) %149)
          to label %151 unwind label %166

151:                                              ; preds = %148
  invoke void @_ZNSt6vectorI7LTR_regSaIS0_EEC2ERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %15, ptr noundef nonnull align 8 dereferenceable(24) %150)
          to label %152 unwind label %166

152:                                              ; preds = %151
  %153 = invoke noundef zeroext i1 @_Z5is_in6SV_regSt6vectorI7LTR_regSaIS1_EEi(ptr noundef nonnull %14, ptr noundef nonnull %15, i32 noundef %3)
          to label %.critedge123 unwind label %168

.critedge123.thread:                              ; preds = %137, %144
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #10
  br label %.thread126

.critedge123:                                     ; preds = %152
  call void @_ZNSt6vectorI7LTR_regSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %15) #10
  call void @_ZN6SV_regD2Ev(ptr noundef nonnull align 8 dereferenceable(148) %14) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #10
  br i1 %153, label %.thread126, label %154

154:                                              ; preds = %.critedge123
  %155 = 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.23)
          to label %156 unwind label %97

156:                                              ; preds = %154
  %157 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %155, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %158 unwind label %97

158:                                              ; preds = %156
  %159 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %141) #10
  %160 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt6vectorI6SV_regSaIS7_EESt4lessIS5_ESaISt4pairIKS5_S9_EEEixERSD_(ptr noundef nonnull align 8 dereferenceable(48) %0, ptr noundef nonnull align 8 dereferenceable(32) %159)
          to label %161 unwind label %97

161:                                              ; preds = %158
  invoke void @_ZNSt6vectorI6SV_regSaIS0_EE9push_backERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %160, ptr noundef nonnull align 8 dereferenceable(148) %8)
          to label %.thread126 unwind label %97

162:                                              ; preds = %139
  %163 = landingpad { ptr, i32 }
          cleanup
  br label %172

164:                                              ; preds = %147
  %165 = landingpad { ptr, i32 }
          cleanup
  br label %171

166:                                              ; preds = %151, %148
  %167 = landingpad { ptr, i32 }
          cleanup
  br label %170

168:                                              ; preds = %152
  %169 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt6vectorI7LTR_regSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %15) #10
  br label %170

170:                                              ; preds = %166, %168
  %.pn104 = phi { ptr, i32 } [ %169, %168 ], [ %167, %166 ]
  call void @_ZN6SV_regD2Ev(ptr noundef nonnull align 8 dereferenceable(148) %14) #10
  br label %171

171:                                              ; preds = %170, %164
  %.pn104.pn = phi { ptr, i32 } [ %.pn104, %170 ], [ %165, %164 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #10
  br label %172

172:                                              ; preds = %171, %162
  %.pn104.pn.pn = phi { ptr, i32 } [ %.pn104.pn, %171 ], [ %163, %162 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #10
  br label %180

.thread126:                                       ; preds = %.thread125, %.critedge123.thread, %.critedge123, %161, %133, %132
  %173 = load i8, ptr %90, align 1, !tbaa !10
  %174 = icmp eq i8 %173, 9
  %175 = zext i1 %174 to i32
  %spec.select124 = add nuw nsw i32 %.2138, %175
  %176 = add nuw nsw i64 %.080139, 1
  %exitcond140.not = icmp eq i64 %176, 2000000
  br i1 %exitcond140.not, label %.critedge4, label %89, !llvm.loop !22

177:                                              ; preds = %.critedge4
  call void @_ZN6SV_regD2Ev(ptr noundef nonnull align 8 dereferenceable(148) %8) #10
  call void @llvm.lifetime.end.p0(i64 152, ptr nonnull %8) #10
  br label %81, !llvm.loop !23

178:                                              ; preds = %.critedge4
  %179 = landingpad { ptr, i32 }
          cleanup
  br label %180

180:                                              ; preds = %97, %119, %126, %172, %178
  %.pn108.pn = phi { ptr, i32 } [ %179, %178 ], [ %98, %97 ], [ %.pn104.pn.pn, %172 ], [ %127, %126 ], [ %.pn, %119 ]
  call void @_ZN6SV_regD2Ev(ptr noundef nonnull align 8 dereferenceable(148) %8) #10
  call void @llvm.lifetime.end.p0(i64 152, ptr nonnull %8) #10
  br label %183

181:                                              ; preds = %87
  invoke void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEE5closeEv(ptr noundef nonnull align 8 dereferenceable(256) %5)
          to label %182 unwind label %.loopexit.split-lp

182:                                              ; preds = %181
  call void @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #10
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %6) #10
  call void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(256) %5) #10
  call void @llvm.lifetime.end.p0(i64 520, ptr nonnull %5) #10
  ret void

183:                                              ; preds = %.loopexit, %.loopexit.split-lp, %180, %60
  %.pn112 = phi { ptr, i32 } [ %61, %60 ], [ %.pn108.pn, %180 ], [ %lpad.loopexit, %.loopexit ], [ %lpad.loopexit.split-lp, %.loopexit.split-lp ]
  call void @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #10
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %6) #10
  br label %184

184:                                              ; preds = %.loopexit131, %.loopexit.split-lp132, %183
  %.pn112.pn = phi { ptr, i32 } [ %.pn112, %183 ], [ %lpad.loopexit133, %.loopexit131 ], [ %lpad.loopexit.split-lp134, %.loopexit.split-lp132 ]
  call void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(256) %5) #10
  br label %185

185:                                              ; preds = %184, %36
  %.pn112.pn.pn = phi { ptr, i32 } [ %.pn112.pn, %184 ], [ %37, %36 ]
  call void @llvm.lifetime.end.p0(i64 520, ptr nonnull %5) #10
  br label %186

186:                                              ; preds = %185, %34
  %.pn112.pn.pn.pn = phi { ptr, i32 } [ %.pn112.pn.pn, %185 ], [ %35, %34 ]
  call void @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt6vectorI6SV_regSaIS7_EESt4lessIS5_ESaISt4pairIKS5_S9_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %0) #10
  resume { ptr, i32 } %.pn112.pn.pn.pn
}

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

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

declare noundef signext i16 @_Z8get_typeNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef) local_unnamed_addr #9

; 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 void @_Z10parse_stopPKc(ptr dead_on_unwind writable sret(%struct.strcoordinate) align 8, ptr noundef) local_unnamed_addr #9

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

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

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

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

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

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

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

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

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

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

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

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

!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 = !{!"vtable pointer", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}
!8 = distinct !{!8, !9}
!9 = !{!"llvm.loop.mustprogress"}
!10 = !{!11, !11, i64 0}
!11 = !{!"omnipotent char", !7, i64 0}
!12 = distinct !{!12, !9}
!13 = !{!14, !20, i64 64}
!14 = !{!"_ZTS6SV_reg", !15, i64 0, !15, i64 32, !19, i64 64, !19, i64 104, !20, i64 144}
!15 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !16, i64 0, !18, i64 8, !11, i64 16}
!16 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !17, i64 0}
!17 = !{!"any pointer", !11, i64 0}
!18 = !{!"long", !11, i64 0}
!19 = !{!"_ZTS13strcoordinate", !20, i64 0, !15, i64 8}
!20 = !{!"int", !11, i64 0}
!21 = !{!14, !20, i64 144}
!22 = distinct !{!22, !9}
!23 = distinct !{!23, !9}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopRotatePass,LoopSimplifyPass,PostOrderFunctionAttrsPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass