; LLVM IR from fritzsedlazeck/SURVIVOR :: src/phasing (Phasing_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::__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::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 }
%"struct.std::pair" = type { i8, i8 }
%struct.snp_str = type { %"class.std::__cxx11::basic_string", i32, i32, i8, i8, i16, i16, %"class.std::__cxx11::basic_string", double }

@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str.4 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [3 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 void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(256)) unnamed_addr #2 align 2

declare i32 @__gxx_personality_v0(...)

; 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) #3

; 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)) #3

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32)) #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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_Z24update_parents_snp_arrayNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERSt6vectorI7snp_strSaIS6_EE(ptr noundef %0, ptr noundef nonnull align 8 dereferenceable(24) %1) #2 personality ptr @__gxx_personality_v0 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca %"class.std::__cxx11::basic_string", align 8
  %6 = alloca %"class.std::basic_ifstream", align 8
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca %"class.std::__cxx11::basic_string", align 8
  %11 = alloca %"struct.std::pair", align 1
  %12 = alloca %"struct.std::pair", align 1
  %13 = alloca i32, align 4
  %14 = alloca i64, align 8
  %15 = alloca i64, align 8
  %16 = alloca i32, align 4
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %5) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #6
  call void @llvm.lifetime.start.p0(i64 520, ptr %6) #6
  invoke void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(256) %6)
          to label %17 unwind label %34

17:                                               ; preds = %2
  %18 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %0) #6
  invoke void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEE4openEPKcSt13_Ios_Openmode(ptr noundef nonnull align 8 dereferenceable(256) %6, ptr noundef %18, i32 noundef 8)
          to label %19 unwind label %38

19:                                               ; preds = %17
  %20 = load ptr, ptr %6, align 8, !tbaa !9
  %21 = getelementptr i8, ptr %20, i64 -24
  %22 = load i64, ptr %21, align 8
  %23 = getelementptr inbounds i8, ptr %6, i64 %22
  %24 = invoke noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEE4goodEv(ptr noundef nonnull align 8 dereferenceable(264) %23)
          to label %25 unwind label %38

25:                                               ; preds = %19
  br i1 %24, label %42, label %26

26:                                               ; preds = %25
  %27 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.4)
          to label %28 unwind label %38

28:                                               ; preds = %26
  %29 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %0) #6
  %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 %38

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

33:                                               ; preds = %31
  br label %372

34:                                               ; preds = %2
  %35 = landingpad { ptr, i32 }
          cleanup
  %36 = extractvalue { ptr, i32 } %35, 0
  store ptr %36, ptr %7, align 8
  %37 = extractvalue { ptr, i32 } %35, 1
  store i32 %37, ptr %8, align 4
  br label %374

38:                                               ; preds = %370, %45, %42, %31, %28, %26, %19, %17
  %39 = landingpad { ptr, i32 }
          cleanup
  %40 = extractvalue { ptr, i32 } %39, 0
  store ptr %40, ptr %7, align 8
  %41 = extractvalue { ptr, i32 } %39, 1
  store i32 %41, ptr %8, align 4
  br label %373

42:                                               ; preds = %25
  %43 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZSt7getlineIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(16) %6, ptr noundef nonnull align 8 dereferenceable(32) %5)
          to label %44 unwind label %38

44:                                               ; preds = %42
  br label %45

45:                                               ; preds = %362, %44
  %46 = load ptr, ptr %6, align 8, !tbaa !9
  %47 = getelementptr i8, ptr %46, i64 -24
  %48 = load i64, ptr %47, align 8
  %49 = getelementptr inbounds i8, ptr %6, i64 %48
  %50 = invoke noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEE3eofEv(ptr noundef nonnull align 8 dereferenceable(264) %49)
          to label %51 unwind label %38

51:                                               ; preds = %45
  %52 = xor i1 %50, true
  br i1 %52, label %53, label %370

53:                                               ; preds = %51
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #6
  store i32 0, ptr %9, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 32, ptr %10) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #6
  call void @llvm.lifetime.start.p0(i64 2, ptr %11) #6
  invoke void @_ZNSt4pairIccEC2IccTnNSt9enable_ifIXsr6__and_ISt37__is_implicitly_default_constructibleIT_ES3_IT0_EEE5valueEbE4typeELb1EEEv(ptr noundef nonnull align 1 dereferenceable(2) %11)
          to label %54 unwind label %77

54:                                               ; preds = %53
  call void @llvm.lifetime.start.p0(i64 2, ptr %12) #6
  invoke void @_ZNSt4pairIccEC2IccTnNSt9enable_ifIXsr6__and_ISt37__is_implicitly_default_constructibleIT_ES3_IT0_EEE5valueEbE4typeELb1EEEv(ptr noundef nonnull align 1 dereferenceable(2) %12)
          to label %55 unwind label %81

55:                                               ; preds = %54
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #6
  store i32 0, ptr %13, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #6
  store i64 0, ptr %14, align 8, !tbaa !13
  br label %56

56:                                               ; preds = %201, %55
  %57 = load i64, ptr %14, align 8, !tbaa !13
  %58 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %5) #6
  %59 = icmp ult i64 %57, %58
  br i1 %59, label %60, label %74

60:                                               ; preds = %56
  %61 = load i64, ptr %14, align 8, !tbaa !13
  %62 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %5, i64 noundef %61)
          to label %63 unwind label %85

63:                                               ; preds = %60
  %64 = load i8, ptr %62, align 1, !tbaa !15
  %65 = sext i8 %64 to i32
  %66 = icmp ne i32 %65, 0
  br i1 %66, label %67, label %74

67:                                               ; preds = %63
  %68 = load i64, ptr %14, align 8, !tbaa !13
  %69 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %5, i64 noundef %68)
          to label %70 unwind label %85

70:                                               ; preds = %67
  %71 = load i8, ptr %69, align 1, !tbaa !15
  %72 = sext i8 %71 to i32
  %73 = icmp ne i32 %72, 10
  br label %74

74:                                               ; preds = %70, %63, %56
  %75 = phi i1 [ false, %63 ], [ false, %56 ], [ %73, %70 ]
  br i1 %75, label %89, label %76

76:                                               ; preds = %74
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #6
  br label %204

77:                                               ; preds = %53
  %78 = landingpad { ptr, i32 }
          cleanup
  %79 = extractvalue { ptr, i32 } %78, 0
  store ptr %79, ptr %7, align 8
  %80 = extractvalue { ptr, i32 } %78, 1
  store i32 %80, ptr %8, align 4
  br label %369

81:                                               ; preds = %54
  %82 = landingpad { ptr, i32 }
          cleanup
  %83 = extractvalue { ptr, i32 } %82, 0
  store ptr %83, ptr %7, align 8
  %84 = extractvalue { ptr, i32 } %82, 1
  store i32 %84, ptr %8, align 4
  br label %368

85:                                               ; preds = %190, %184, %176, %167, %159, %150, %142, %133, %125, %117, %109, %102, %99, %92, %67, %60
  %86 = landingpad { ptr, i32 }
          cleanup
  %87 = extractvalue { ptr, i32 } %86, 0
  store ptr %87, ptr %7, align 8
  %88 = extractvalue { ptr, i32 } %86, 1
  store i32 %88, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #6
  br label %367

89:                                               ; preds = %74
  %90 = load i32, ptr %13, align 4, !tbaa !11
  %91 = icmp eq i32 %90, 0
  br i1 %91, label %92, label %106

92:                                               ; preds = %89
  %93 = load i64, ptr %14, align 8, !tbaa !13
  %94 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %5, i64 noundef %93)
          to label %95 unwind label %85

95:                                               ; preds = %92
  %96 = load i8, ptr %94, align 1, !tbaa !15
  %97 = sext i8 %96 to i32
  %98 = icmp ne i32 %97, 9
  br i1 %98, label %99, label %106

99:                                               ; preds = %95
  %100 = load i64, ptr %14, align 8, !tbaa !13
  %101 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %5, i64 noundef %100)
          to label %102 unwind label %85

102:                                              ; preds = %99
  %103 = load i8, ptr %101, align 1, !tbaa !15
  %104 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEc(ptr noundef nonnull align 8 dereferenceable(32) %10, i8 noundef signext %103)
          to label %105 unwind label %85

105:                                              ; preds = %102
  br label %106

106:                                              ; preds = %105, %95, %89
  %107 = load i32, ptr %13, align 4, !tbaa !11
  %108 = icmp eq i32 %107, 1
  br i1 %108, label %109, label %122

109:                                              ; preds = %106
  %110 = load i64, ptr %14, align 8, !tbaa !13
  %111 = sub i64 %110, 1
  %112 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %5, i64 noundef %111)
          to label %113 unwind label %85

113:                                              ; preds = %109
  %114 = load i8, ptr %112, align 1, !tbaa !15
  %115 = sext i8 %114 to i32
  %116 = icmp eq i32 %115, 9
  br i1 %116, label %117, label %122

117:                                              ; preds = %113
  %118 = load i64, ptr %14, align 8, !tbaa !13
  %119 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %5, i64 noundef %118)
          to label %120 unwind label %85

120:                                              ; preds = %117
  %121 = call i32 @atoi(ptr noundef %119) #7
  store i32 %121, ptr %9, align 4, !tbaa !11
  br label %122

122:                                              ; preds = %120, %113, %106
  %123 = load i32, ptr %13, align 4, !tbaa !11
  %124 = icmp eq i32 %123, 4
  br i1 %124, label %125, label %139

125:                                              ; preds = %122
  %126 = load i64, ptr %14, align 8, !tbaa !13
  %127 = sub i64 %126, 1
  %128 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %5, i64 noundef %127)
          to label %129 unwind label %85

129:                                              ; preds = %125
  %130 = load i8, ptr %128, align 1, !tbaa !15
  %131 = sext i8 %130 to i32
  %132 = icmp eq i32 %131, 9
  br i1 %132, label %133, label %139

133:                                              ; preds = %129
  %134 = load i64, ptr %14, align 8, !tbaa !13
  %135 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %5, i64 noundef %134)
          to label %136 unwind label %85

136:                                              ; preds = %133
  %137 = load i8, ptr %135, align 1, !tbaa !15
  %138 = getelementptr inbounds %"struct.std::pair", ptr %11, i32 0, i32 0
  store i8 %137, ptr %138, align 1, !tbaa !16
  br label %139

139:                                              ; preds = %136, %129, %122
  %140 = load i32, ptr %13, align 4, !tbaa !11
  %141 = icmp eq i32 %140, 5
  br i1 %141, label %142, label %156

142:                                              ; preds = %139
  %143 = load i64, ptr %14, align 8, !tbaa !13
  %144 = sub i64 %143, 1
  %145 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %5, i64 noundef %144)
          to label %146 unwind label %85

146:                                              ; preds = %142
  %147 = load i8, ptr %145, align 1, !tbaa !15
  %148 = sext i8 %147 to i32
  %149 = icmp eq i32 %148, 9
  br i1 %149, label %150, label %156

150:                                              ; preds = %146
  %151 = load i64, ptr %14, align 8, !tbaa !13
  %152 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %5, i64 noundef %151)
          to label %153 unwind label %85

153:                                              ; preds = %150
  %154 = load i8, ptr %152, align 1, !tbaa !15
  %155 = getelementptr inbounds %"struct.std::pair", ptr %11, i32 0, i32 1
  store i8 %154, ptr %155, align 1, !tbaa !18
  br label %156

156:                                              ; preds = %153, %146, %139
  %157 = load i32, ptr %13, align 4, !tbaa !11
  %158 = icmp eq i32 %157, 7
  br i1 %158, label %159, label %173

159:                                              ; preds = %156
  %160 = load i64, ptr %14, align 8, !tbaa !13
  %161 = sub i64 %160, 1
  %162 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %5, i64 noundef %161)
          to label %163 unwind label %85

163:                                              ; preds = %159
  %164 = load i8, ptr %162, align 1, !tbaa !15
  %165 = sext i8 %164 to i32
  %166 = icmp eq i32 %165, 9
  br i1 %166, label %167, label %173

167:                                              ; preds = %163
  %168 = load i64, ptr %14, align 8, !tbaa !13
  %169 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %5, i64 noundef %168)
          to label %170 unwind label %85

170:                                              ; preds = %167
  %171 = load i8, ptr %169, align 1, !tbaa !15
  %172 = getelementptr inbounds %"struct.std::pair", ptr %12, i32 0, i32 0
  store i8 %171, ptr %172, align 1, !tbaa !16
  br label %173

173:                                              ; preds = %170, %163, %156
  %174 = load i32, ptr %13, align 4, !tbaa !11
  %175 = icmp eq i32 %174, 8
  br i1 %175, label %176, label %190

176:                                              ; preds = %173
  %177 = load i64, ptr %14, align 8, !tbaa !13
  %178 = sub i64 %177, 1
  %179 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %5, i64 noundef %178)
          to label %180 unwind label %85

180:                                              ; preds = %176
  %181 = load i8, ptr %179, align 1, !tbaa !15
  %182 = sext i8 %181 to i32
  %183 = icmp eq i32 %182, 9
  br i1 %183, label %184, label %190

184:                                              ; preds = %180
  %185 = load i64, ptr %14, align 8, !tbaa !13
  %186 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %5, i64 noundef %185)
          to label %187 unwind label %85

187:                                              ; preds = %184
  %188 = load i8, ptr %186, align 1, !tbaa !15
  %189 = getelementptr inbounds %"struct.std::pair", ptr %12, i32 0, i32 1
  store i8 %188, ptr %189, align 1, !tbaa !18
  br label %190

190:                                              ; preds = %187, %180, %173
  %191 = load i64, ptr %14, align 8, !tbaa !13
  %192 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %5, i64 noundef %191)
          to label %193 unwind label %85

193:                                              ; preds = %190
  %194 = load i8, ptr %192, align 1, !tbaa !15
  %195 = sext i8 %194 to i32
  %196 = icmp eq i32 %195, 9
  br i1 %196, label %197, label %200

197:                                              ; preds = %193
  %198 = load i32, ptr %13, align 4, !tbaa !11
  %199 = add nsw i32 %198, 1
  store i32 %199, ptr %13, align 4, !tbaa !11
  br label %200

200:                                              ; preds = %197, %193
  br label %201

201:                                              ; preds = %200
  %202 = load i64, ptr %14, align 8, !tbaa !13
  %203 = add i64 %202, 1
  store i64 %203, ptr %14, align 8, !tbaa !13
  br label %56, !llvm.loop !19

204:                                              ; preds = %76
  %205 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %10) #6
  %206 = call i32 @strncmp(ptr noundef %205, ptr noundef @.str.10, i64 noundef 2) #7
  %207 = icmp eq i32 %206, 0
  br i1 %207, label %208, label %360

208:                                              ; preds = %204
  %209 = getelementptr inbounds %"struct.std::pair", ptr %12, i32 0, i32 0
  %210 = load i8, ptr %209, align 1, !tbaa !16
  %211 = sext i8 %210 to i32
  %212 = getelementptr inbounds %"struct.std::pair", ptr %11, i32 0, i32 0
  %213 = load i8, ptr %212, align 1, !tbaa !16
  %214 = sext i8 %213 to i32
  %215 = icmp ne i32 %211, %214
  br i1 %215, label %224, label %216

216:                                              ; preds = %208
  %217 = getelementptr inbounds %"struct.std::pair", ptr %12, i32 0, i32 1
  %218 = load i8, ptr %217, align 1, !tbaa !18
  %219 = sext i8 %218 to i32
  %220 = getelementptr inbounds %"struct.std::pair", ptr %11, i32 0, i32 1
  %221 = load i8, ptr %220, align 1, !tbaa !18
  %222 = sext i8 %221 to i32
  %223 = icmp ne i32 %219, %222
  br i1 %223, label %224, label %360

224:                                              ; preds = %216, %208
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #6
  store i64 0, ptr %15, align 8, !tbaa !13
  br label %225

225:                                              ; preds = %355, %224
  %226 = load i64, ptr %15, align 8, !tbaa !13
  %227 = load ptr, ptr %4, align 8, !tbaa !5
  %228 = call noundef i64 @_ZNKSt6vectorI7snp_strSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %227) #6
  %229 = icmp ult i64 %226, %228
  br i1 %229, label %231, label %230

230:                                              ; preds = %225
  store i32 7, ptr %16, align 4
  br label %358

231:                                              ; preds = %225
  %232 = load ptr, ptr %4, align 8, !tbaa !5
  %233 = load i64, ptr %15, align 8, !tbaa !13
  %234 = call noundef nonnull align 8 dereferenceable(88) ptr @_ZNSt6vectorI7snp_strSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %232, i64 noundef %233) #6
  %235 = getelementptr inbounds %struct.snp_str, ptr %234, i32 0, i32 1
  %236 = load i32, ptr %235, align 8, !tbaa !21
  %237 = load i32, ptr %9, align 4, !tbaa !11
  %238 = icmp eq i32 %236, %237
  br i1 %238, label %239, label %354

239:                                              ; preds = %231
  %240 = load ptr, ptr %4, align 8, !tbaa !5
  %241 = load i64, ptr %15, align 8, !tbaa !13
  %242 = call noundef nonnull align 8 dereferenceable(88) ptr @_ZNSt6vectorI7snp_strSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %240, i64 noundef %241) #6
  %243 = getelementptr inbounds %struct.snp_str, ptr %242, i32 0, i32 0
  %244 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %243) #6
  %245 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %10) #6
  %246 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %10) #6
  %247 = call i32 @strncmp(ptr noundef %244, ptr noundef %245, i64 noundef %246) #7
  %248 = icmp eq i32 %247, 0
  br i1 %248, label %249, label %354

249:                                              ; preds = %239
  %250 = load ptr, ptr %4, align 8, !tbaa !5
  %251 = load i64, ptr %15, align 8, !tbaa !13
  %252 = call noundef nonnull align 8 dereferenceable(88) ptr @_ZNSt6vectorI7snp_strSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %250, i64 noundef %251) #6
  %253 = getelementptr inbounds %struct.snp_str, ptr %252, i32 0, i32 4
  %254 = load i8, ptr %253, align 1, !tbaa !28
  %255 = sext i8 %254 to i32
  %256 = getelementptr inbounds %"struct.std::pair", ptr %11, i32 0, i32 0
  %257 = load i8, ptr %256, align 1, !tbaa !16
  %258 = sext i8 %257 to i32
  %259 = icmp eq i32 %255, %258
  br i1 %259, label %271, label %260

260:                                              ; preds = %249
  %261 = load ptr, ptr %4, align 8, !tbaa !5
  %262 = load i64, ptr %15, align 8, !tbaa !13
  %263 = call noundef nonnull align 8 dereferenceable(88) ptr @_ZNSt6vectorI7snp_strSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %261, i64 noundef %262) #6
  %264 = getelementptr inbounds %struct.snp_str, ptr %263, i32 0, i32 4
  %265 = load i8, ptr %264, align 1, !tbaa !28
  %266 = sext i8 %265 to i32
  %267 = getelementptr inbounds %"struct.std::pair", ptr %11, i32 0, i32 1
  %268 = load i8, ptr %267, align 1, !tbaa !18
  %269 = sext i8 %268 to i32
  %270 = icmp eq i32 %266, %269
  br i1 %270, label %271, label %298

271:                                              ; preds = %260, %249
  %272 = load ptr, ptr %4, align 8, !tbaa !5
  %273 = load i64, ptr %15, align 8, !tbaa !13
  %274 = call noundef nonnull align 8 dereferenceable(88) ptr @_ZNSt6vectorI7snp_strSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %272, i64 noundef %273) #6
  %275 = getelementptr inbounds %struct.snp_str, ptr %274, i32 0, i32 4
  %276 = load i8, ptr %275, align 1, !tbaa !28
  %277 = sext i8 %276 to i32
  %278 = getelementptr inbounds %"struct.std::pair", ptr %12, i32 0, i32 0
  %279 = load i8, ptr %278, align 1, !tbaa !16
  %280 = sext i8 %279 to i32
  %281 = icmp eq i32 %277, %280
  br i1 %281, label %298, label %282

282:                                              ; preds = %271
  %283 = load ptr, ptr %4, align 8, !tbaa !5
  %284 = load i64, ptr %15, align 8, !tbaa !13
  %285 = call noundef nonnull align 8 dereferenceable(88) ptr @_ZNSt6vectorI7snp_strSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %283, i64 noundef %284) #6
  %286 = getelementptr inbounds %struct.snp_str, ptr %285, i32 0, i32 4
  %287 = load i8, ptr %286, align 1, !tbaa !28
  %288 = sext i8 %287 to i32
  %289 = getelementptr inbounds %"struct.std::pair", ptr %12, i32 0, i32 1
  %290 = load i8, ptr %289, align 1, !tbaa !18
  %291 = sext i8 %290 to i32
  %292 = icmp eq i32 %288, %291
  br i1 %292, label %298, label %293

293:                                              ; preds = %282
  %294 = load ptr, ptr %4, align 8, !tbaa !5
  %295 = load i64, ptr %15, align 8, !tbaa !13
  %296 = call noundef nonnull align 8 dereferenceable(88) ptr @_ZNSt6vectorI7snp_strSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %294, i64 noundef %295) #6
  %297 = getelementptr inbounds %struct.snp_str, ptr %296, i32 0, i32 6
  store i16 1, ptr %297, align 4, !tbaa !29
  br label %353

298:                                              ; preds = %282, %271, %260
  %299 = load ptr, ptr %4, align 8, !tbaa !5
  %300 = load i64, ptr %15, align 8, !tbaa !13
  %301 = call noundef nonnull align 8 dereferenceable(88) ptr @_ZNSt6vectorI7snp_strSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %299, i64 noundef %300) #6
  %302 = getelementptr inbounds %struct.snp_str, ptr %301, i32 0, i32 4
  %303 = load i8, ptr %302, align 1, !tbaa !28
  %304 = sext i8 %303 to i32
  %305 = getelementptr inbounds %"struct.std::pair", ptr %11, i32 0, i32 0
  %306 = load i8, ptr %305, align 1, !tbaa !16
  %307 = sext i8 %306 to i32
  %308 = icmp eq i32 %304, %307
  br i1 %308, label %347, label %309

309:                                              ; preds = %298
  %310 = load ptr, ptr %4, align 8, !tbaa !5
  %311 = load i64, ptr %15, align 8, !tbaa !13
  %312 = call noundef nonnull align 8 dereferenceable(88) ptr @_ZNSt6vectorI7snp_strSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %310, i64 noundef %311) #6
  %313 = getelementptr inbounds %struct.snp_str, ptr %312, i32 0, i32 4
  %314 = load i8, ptr %313, align 1, !tbaa !28
  %315 = sext i8 %314 to i32
  %316 = getelementptr inbounds %"struct.std::pair", ptr %11, i32 0, i32 1
  %317 = load i8, ptr %316, align 1, !tbaa !18
  %318 = sext i8 %317 to i32
  %319 = icmp eq i32 %315, %318
  br i1 %319, label %347, label %320

320:                                              ; preds = %309
  %321 = load ptr, ptr %4, align 8, !tbaa !5
  %322 = load i64, ptr %15, align 8, !tbaa !13
  %323 = call noundef nonnull align 8 dereferenceable(88) ptr @_ZNSt6vectorI7snp_strSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %321, i64 noundef %322) #6
  %324 = getelementptr inbounds %struct.snp_str, ptr %323, i32 0, i32 4
  %325 = load i8, ptr %324, align 1, !tbaa !28
  %326 = sext i8 %325 to i32
  %327 = getelementptr inbounds %"struct.std::pair", ptr %12, i32 0, i32 0
  %328 = load i8, ptr %327, align 1, !tbaa !16
  %329 = sext i8 %328 to i32
  %330 = icmp eq i32 %326, %329
  br i1 %330, label %342, label %331

331:                                              ; preds = %320
  %332 = load ptr, ptr %4, align 8, !tbaa !5
  %333 = load i64, ptr %15, align 8, !tbaa !13
  %334 = call noundef nonnull align 8 dereferenceable(88) ptr @_ZNSt6vectorI7snp_strSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %332, i64 noundef %333) #6
  %335 = getelementptr inbounds %struct.snp_str, ptr %334, i32 0, i32 4
  %336 = load i8, ptr %335, align 1, !tbaa !28
  %337 = sext i8 %336 to i32
  %338 = getelementptr inbounds %"struct.std::pair", ptr %12, i32 0, i32 1
  %339 = load i8, ptr %338, align 1, !tbaa !18
  %340 = sext i8 %339 to i32
  %341 = icmp eq i32 %337, %340
  br i1 %341, label %342, label %347

342:                                              ; preds = %331, %320
  %343 = load ptr, ptr %4, align 8, !tbaa !5
  %344 = load i64, ptr %15, align 8, !tbaa !13
  %345 = call noundef nonnull align 8 dereferenceable(88) ptr @_ZNSt6vectorI7snp_strSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %343, i64 noundef %344) #6
  %346 = getelementptr inbounds %struct.snp_str, ptr %345, i32 0, i32 6
  store i16 2, ptr %346, align 4, !tbaa !29
  br label %352

347:                                              ; preds = %331, %309, %298
  %348 = load ptr, ptr %4, align 8, !tbaa !5
  %349 = load i64, ptr %15, align 8, !tbaa !13
  %350 = call noundef nonnull align 8 dereferenceable(88) ptr @_ZNSt6vectorI7snp_strSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %348, i64 noundef %349) #6
  %351 = getelementptr inbounds %struct.snp_str, ptr %350, i32 0, i32 6
  store i16 0, ptr %351, align 4, !tbaa !29
  br label %352

352:                                              ; preds = %347, %342
  br label %353

353:                                              ; preds = %352, %293
  store i32 7, ptr %16, align 4
  br label %358

354:                                              ; preds = %239, %231
  br label %355

355:                                              ; preds = %354
  %356 = load i64, ptr %15, align 8, !tbaa !13
  %357 = add i64 %356, 1
  store i64 %357, ptr %15, align 8, !tbaa !13
  br label %225, !llvm.loop !30

358:                                              ; preds = %353, %230
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #6
  br label %359

359:                                              ; preds = %358
  br label %360

360:                                              ; preds = %359, %216, %204
  %361 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZSt7getlineIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(16) %6, ptr noundef nonnull align 8 dereferenceable(32) %5)
          to label %362 unwind label %363

362:                                              ; preds = %360
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #6
  call void @llvm.lifetime.end.p0(i64 2, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 2, ptr %11) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #6
  br label %45, !llvm.loop !31

363:                                              ; preds = %360
  %364 = landingpad { ptr, i32 }
          cleanup
  %365 = extractvalue { ptr, i32 } %364, 0
  store ptr %365, ptr %7, align 8
  %366 = extractvalue { ptr, i32 } %364, 1
  store i32 %366, ptr %8, align 4
  br label %367

367:                                              ; preds = %363, %85
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #6
  br label %368

368:                                              ; preds = %367, %81
  call void @llvm.lifetime.end.p0(i64 2, ptr %12) #6
  br label %369

369:                                              ; preds = %368, %77
  call void @llvm.lifetime.end.p0(i64 2, ptr %11) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #6
  br label %373

370:                                              ; preds = %51
  invoke void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEE5closeEv(ptr noundef nonnull align 8 dereferenceable(256) %6)
          to label %371 unwind label %38

371:                                              ; preds = %370
  br label %372

372:                                              ; preds = %371, %33
  call void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(256) %6) #6
  call void @llvm.lifetime.end.p0(i64 520, ptr %6) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %5) #6
  ret void

373:                                              ; preds = %369, %38
  call void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(256) %6) #6
  br label %374

374:                                              ; preds = %373, %34
  call void @llvm.lifetime.end.p0(i64 520, ptr %6) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %5) #6
  br label %375

375:                                              ; preds = %374
  %376 = load ptr, ptr %7, align 8
  %377 = load i32, ptr %8, align 4
  %378 = insertvalue { ptr, i32 } poison, ptr %376, 0
  %379 = insertvalue { ptr, i32 } %378, i32 %377, 1
  resume { ptr, i32 } %379
}

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { inlinehint mustprogress 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 #5 = { 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 #6 = { nounwind }
attributes #7 = { 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 = !{!"vtable pointer", !8, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"long", !7, i64 0}
!15 = !{!7, !7, i64 0}
!16 = !{!17, !7, i64 0}
!17 = !{!"_ZTSSt4pairIccE", !7, i64 0, !7, i64 1}
!18 = !{!17, !7, i64 1}
!19 = distinct !{!19, !20}
!20 = !{!"llvm.loop.mustprogress"}
!21 = !{!22, !12, i64 32}
!22 = !{!"_ZTS7snp_str", !23, i64 0, !12, i64 32, !12, i64 36, !25, i64 40, !7, i64 41, !26, i64 42, !26, i64 44, !23, i64 48, !27, i64 80}
!23 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !24, i64 0, !14, i64 8, !7, i64 16}
!24 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!25 = !{!"bool", !7, i64 0}
!26 = !{!"short", !7, i64 0}
!27 = !{!"double", !7, i64 0}
!28 = !{!22, !7, i64 41}
!29 = !{!22, !26, i64 44}
!30 = distinct !{!30, !20}
!31 = distinct !{!31, !20}


; 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::__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::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 }
%"struct.std::pair" = type { i8, i8 }

@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str.4 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [3 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 void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(256)) unnamed_addr #2 align 2

declare i32 @__gxx_personality_v0(...)

; 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 #3

; 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)) #3

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

; 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 nounwind uwtable
declare noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32), i64 noundef) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32)) local_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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_Z24update_parents_snp_arrayNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERSt6vectorI7snp_strSaIS6_EE(ptr noundef %0, ptr noundef nonnull align 8 dereferenceable(24) %1) local_unnamed_addr #2 personality ptr @__gxx_personality_v0 {
  %3 = alloca %"class.std::__cxx11::basic_string", align 8
  %4 = alloca %"class.std::basic_ifstream", align 8
  %5 = alloca %"class.std::__cxx11::basic_string", align 8
  %6 = alloca %"struct.std::pair", align 1
  %7 = alloca %"struct.std::pair", align 1
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %3) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %3) #6
  call void @llvm.lifetime.start.p0(i64 520, ptr nonnull %4) #6
  invoke void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(256) %4)
          to label %8 unwind label %23

8:                                                ; preds = %2
  %9 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %0) #6
  invoke void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEE4openEPKcSt13_Ios_Openmode(ptr noundef nonnull align 8 dereferenceable(256) %4, ptr noundef %9, i32 noundef 8)
          to label %10 unwind label %.loopexit.split-lp

10:                                               ; preds = %8
  %11 = load ptr, ptr %4, align 8, !tbaa !5
  %12 = getelementptr i8, ptr %11, i64 -24
  %13 = load i64, ptr %12, align 8
  %14 = getelementptr inbounds i8, ptr %4, i64 %13
  %15 = call noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEE4goodEv(ptr noundef nonnull align 8 dereferenceable(264) %14)
  br i1 %15, label %25, label %16

16:                                               ; preds = %10
  %17 = 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.4)
          to label %18 unwind label %.loopexit.split-lp

18:                                               ; preds = %16
  %19 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %0) #6
  %20 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %17, ptr noundef %19)
          to label %21 unwind label %.loopexit.split-lp

21:                                               ; preds = %18
  %22 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %20, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %183 unwind label %.loopexit.split-lp

23:                                               ; preds = %2
  %24 = landingpad { ptr, i32 }
          cleanup
  br label %185

.loopexit73:                                      ; preds = %29
  %lpad.loopexit = landingpad { ptr, i32 }
          cleanup
  br label %184

.loopexit.split-lp:                               ; preds = %8, %16, %18, %21, %25, %182
  %lpad.loopexit.split-lp = landingpad { ptr, i32 }
          cleanup
  br label %184

25:                                               ; preds = %10
  %26 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZSt7getlineIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(16) %4, ptr noundef nonnull align 8 dereferenceable(32) %3)
          to label %.preheader unwind label %.loopexit.split-lp

.preheader:                                       ; preds = %25
  %27 = getelementptr inbounds i8, ptr %7, i64 1
  %28 = getelementptr inbounds i8, ptr %6, i64 1
  br label %29

29:                                               ; preds = %.preheader, %178
  %30 = load ptr, ptr %4, align 8, !tbaa !5
  %31 = getelementptr i8, ptr %30, i64 -24
  %32 = load i64, ptr %31, align 8
  %33 = getelementptr inbounds i8, ptr %4, i64 %32
  %34 = invoke noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEE3eofEv(ptr noundef nonnull align 8 dereferenceable(264) %33)
          to label %35 unwind label %.loopexit73

35:                                               ; preds = %29
  br i1 %34, label %182, label %36

36:                                               ; preds = %35
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %5) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #6
  call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %6) #6
  call void @_ZNSt4pairIccEC2IccTnNSt9enable_ifIXsr6__and_ISt37__is_implicitly_default_constructibleIT_ES3_IT0_EEE5valueEbE4typeELb1EEEv(ptr noundef nonnull align 1 dereferenceable(2) %6)
  call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %7) #6
  call void @_ZNSt4pairIccEC2IccTnNSt9enable_ifIXsr6__and_ISt37__is_implicitly_default_constructibleIT_ES3_IT0_EEE5valueEbE4typeELb1EEEv(ptr noundef nonnull align 1 dereferenceable(2) %7)
  %37 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %3) #6
  %.not85 = icmp eq i64 %37, 0
  br i1 %.not85, label %.critedge, label %.lr.ph

.lr.ph:                                           ; preds = %36, %.thread
  %.05578 = phi i64 [ %100, %.thread ], [ 0, %36 ]
  %.05677 = phi i32 [ %spec.select, %.thread ], [ 0, %36 ]
  %.05776 = phi i32 [ %.15872, %.thread ], [ 0, %36 ]
  %38 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %3, i64 noundef %.05578)
  %39 = load i8, ptr %38, align 1, !tbaa !8
  %.not = icmp eq i8 %39, 0
  br i1 %.not, label %.critedge, label %40

40:                                               ; preds = %.lr.ph
  %41 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %3, i64 noundef %.05578)
  %42 = load i8, ptr %41, align 1, !tbaa !8
  %.not64 = icmp eq i8 %42, 10
  br i1 %.not64, label %.critedge, label %48

.critedge:                                        ; preds = %40, %.thread, %.lr.ph, %36
  %.057.lcssa = phi i32 [ 0, %36 ], [ %.05776, %.lr.ph ], [ %.15872, %.thread ], [ %.05776, %40 ]
  %43 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %5) #6
  %44 = call i32 @strncmp(ptr noundef nonnull dereferenceable(1) %43, ptr noundef nonnull dereferenceable(1) @.str.10, i64 noundef 2) #7
  %45 = icmp eq i32 %44, 0
  br i1 %45, label %103, label %.loopexit

46:                                               ; preds = %52
  %47 = landingpad { ptr, i32 }
          cleanup
  br label %181

48:                                               ; preds = %40
  switch i32 %.05677, label %.thread [
    i32 0, label %49
    i32 1, label %56
    i32 4, label %64
    i32 5, label %72
    i32 7, label %80
    i32 8, label %88
  ]

49:                                               ; preds = %48
  %50 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %3, i64 noundef %.05578)
  %51 = load i8, ptr %50, align 1, !tbaa !8
  %.not67 = icmp eq i8 %51, 9
  br i1 %.not67, label %.thread, label %52

52:                                               ; preds = %49
  %53 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %3, i64 noundef %.05578)
  %54 = load i8, ptr %53, align 1, !tbaa !8
  %55 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEc(ptr noundef nonnull align 8 dereferenceable(32) %5, i8 noundef signext %54)
          to label %.thread unwind label %46

56:                                               ; preds = %48
  %57 = add i64 %.05578, -1
  %58 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %3, i64 noundef %57)
  %59 = load i8, ptr %58, align 1, !tbaa !8
  %60 = icmp eq i8 %59, 9
  br i1 %60, label %61, label %.thread

61:                                               ; preds = %56
  %62 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %3, i64 noundef %.05578)
  %63 = call i32 @atoi(ptr nocapture noundef %62) #7
  br label %.thread

64:                                               ; preds = %48
  %65 = add i64 %.05578, -1
  %66 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %3, i64 noundef %65)
  %67 = load i8, ptr %66, align 1, !tbaa !8
  %68 = icmp eq i8 %67, 9
  br i1 %68, label %69, label %.thread

69:                                               ; preds = %64
  %70 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %3, i64 noundef %.05578)
  %71 = load i8, ptr %70, align 1, !tbaa !8
  store i8 %71, ptr %6, align 1, !tbaa !10
  br label %.thread

72:                                               ; preds = %48
  %73 = add i64 %.05578, -1
  %74 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %3, i64 noundef %73)
  %75 = load i8, ptr %74, align 1, !tbaa !8
  %76 = icmp eq i8 %75, 9
  br i1 %76, label %77, label %.thread

77:                                               ; preds = %72
  %78 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %3, i64 noundef %.05578)
  %79 = load i8, ptr %78, align 1, !tbaa !8
  store i8 %79, ptr %28, align 1, !tbaa !12
  br label %.thread

80:                                               ; preds = %48
  %81 = add i64 %.05578, -1
  %82 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %3, i64 noundef %81)
  %83 = load i8, ptr %82, align 1, !tbaa !8
  %84 = icmp eq i8 %83, 9
  br i1 %84, label %85, label %.thread

85:                                               ; preds = %80
  %86 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %3, i64 noundef %.05578)
  %87 = load i8, ptr %86, align 1, !tbaa !8
  store i8 %87, ptr %7, align 1, !tbaa !10
  br label %.thread

88:                                               ; preds = %48
  %89 = add i64 %.05578, -1
  %90 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %3, i64 noundef %89)
  %91 = load i8, ptr %90, align 1, !tbaa !8
  %92 = icmp eq i8 %91, 9
  br i1 %92, label %93, label %.thread

93:                                               ; preds = %88
  %94 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %3, i64 noundef %.05578)
  %95 = load i8, ptr %94, align 1, !tbaa !8
  store i8 %95, ptr %27, align 1, !tbaa !12
  br label %.thread

.thread:                                          ; preds = %48, %56, %61, %52, %49, %80, %85, %72, %77, %64, %69, %93, %88
  %.15872 = phi i32 [ %.05776, %93 ], [ %.05776, %88 ], [ %.05776, %69 ], [ %.05776, %64 ], [ %.05776, %77 ], [ %.05776, %72 ], [ %.05776, %85 ], [ %.05776, %80 ], [ %.05776, %49 ], [ %.05776, %52 ], [ %.05776, %56 ], [ %63, %61 ], [ %.05776, %48 ]
  %96 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %3, i64 noundef %.05578)
  %97 = load i8, ptr %96, align 1, !tbaa !8
  %98 = icmp eq i8 %97, 9
  %99 = zext i1 %98 to i32
  %spec.select = add nuw nsw i32 %.05677, %99
  %100 = add nuw i64 %.05578, 1
  %101 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %3) #6
  %102 = icmp ult i64 %100, %101
  br i1 %102, label %.lr.ph, label %.critedge, !llvm.loop !13

103:                                              ; preds = %.critedge
  %104 = load i8, ptr %7, align 1, !tbaa !10
  %105 = load i8, ptr %6, align 1, !tbaa !10
  %.not65 = icmp eq i8 %104, %105
  br i1 %.not65, label %106, label %109

106:                                              ; preds = %103
  %107 = load i8, ptr %27, align 1, !tbaa !12
  %108 = load i8, ptr %28, align 1, !tbaa !12
  %.not66 = icmp eq i8 %107, %108
  br i1 %.not66, label %.loopexit, label %109

109:                                              ; preds = %106, %103
  %110 = call noundef i64 @_ZNKSt6vectorI7snp_strSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #6
  %.not86 = icmp eq i64 %110, 0
  br i1 %.not86, label %.loopexit, label %.lr.ph84

.lr.ph84:                                         ; preds = %109, %171
  %.083 = phi i64 [ %172, %171 ], [ 0, %109 ]
  %111 = call noundef nonnull align 8 dereferenceable(88) ptr @_ZNSt6vectorI7snp_strSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %.083) #6
  %112 = getelementptr inbounds i8, ptr %111, i64 32
  %113 = load i32, ptr %112, align 8, !tbaa !15
  %114 = icmp eq i32 %113, %.057.lcssa
  br i1 %114, label %115, label %171

115:                                              ; preds = %.lr.ph84
  %116 = call noundef nonnull align 8 dereferenceable(88) ptr @_ZNSt6vectorI7snp_strSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %.083) #6
  %117 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %116) #6
  %118 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %5) #6
  %119 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %5) #6
  %120 = call i32 @strncmp(ptr noundef %117, ptr noundef %118, i64 noundef %119) #7
  %121 = icmp eq i32 %120, 0
  br i1 %121, label %122, label %171

122:                                              ; preds = %115
  %123 = call noundef nonnull align 8 dereferenceable(88) ptr @_ZNSt6vectorI7snp_strSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %.083) #6
  %124 = getelementptr inbounds i8, ptr %123, i64 41
  %125 = load i8, ptr %124, align 1, !tbaa !25
  %126 = load i8, ptr %6, align 1, !tbaa !10
  %127 = icmp eq i8 %125, %126
  br i1 %127, label %134, label %128

128:                                              ; preds = %122
  %129 = call noundef nonnull align 8 dereferenceable(88) ptr @_ZNSt6vectorI7snp_strSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %.083) #6
  %130 = getelementptr inbounds i8, ptr %129, i64 41
  %131 = load i8, ptr %130, align 1, !tbaa !25
  %132 = load i8, ptr %28, align 1, !tbaa !12
  %133 = icmp eq i8 %131, %132
  br i1 %133, label %134, label %146

134:                                              ; preds = %128, %122
  %135 = call noundef nonnull align 8 dereferenceable(88) ptr @_ZNSt6vectorI7snp_strSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %.083) #6
  %136 = getelementptr inbounds i8, ptr %135, i64 41
  %137 = load i8, ptr %136, align 1, !tbaa !25
  %138 = load i8, ptr %7, align 1, !tbaa !10
  %139 = icmp eq i8 %137, %138
  br i1 %139, label %146, label %140

140:                                              ; preds = %134
  %141 = call noundef nonnull align 8 dereferenceable(88) ptr @_ZNSt6vectorI7snp_strSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %.083) #6
  %142 = getelementptr inbounds i8, ptr %141, i64 41
  %143 = load i8, ptr %142, align 1, !tbaa !25
  %144 = load i8, ptr %27, align 1, !tbaa !12
  %145 = icmp eq i8 %143, %144
  br i1 %145, label %146, label %.loopexit.sink.split

146:                                              ; preds = %140, %134, %128
  %147 = call noundef nonnull align 8 dereferenceable(88) ptr @_ZNSt6vectorI7snp_strSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %.083) #6
  %148 = getelementptr inbounds i8, ptr %147, i64 41
  %149 = load i8, ptr %148, align 1, !tbaa !25
  %150 = load i8, ptr %6, align 1, !tbaa !10
  %151 = icmp eq i8 %149, %150
  br i1 %151, label %170, label %152

152:                                              ; preds = %146
  %153 = call noundef nonnull align 8 dereferenceable(88) ptr @_ZNSt6vectorI7snp_strSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %.083) #6
  %154 = getelementptr inbounds i8, ptr %153, i64 41
  %155 = load i8, ptr %154, align 1, !tbaa !25
  %156 = load i8, ptr %28, align 1, !tbaa !12
  %157 = icmp eq i8 %155, %156
  br i1 %157, label %170, label %158

158:                                              ; preds = %152
  %159 = call noundef nonnull align 8 dereferenceable(88) ptr @_ZNSt6vectorI7snp_strSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %.083) #6
  %160 = getelementptr inbounds i8, ptr %159, i64 41
  %161 = load i8, ptr %160, align 1, !tbaa !25
  %162 = load i8, ptr %7, align 1, !tbaa !10
  %163 = icmp eq i8 %161, %162
  br i1 %163, label %.loopexit.sink.split, label %164

164:                                              ; preds = %158
  %165 = call noundef nonnull align 8 dereferenceable(88) ptr @_ZNSt6vectorI7snp_strSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %.083) #6
  %166 = getelementptr inbounds i8, ptr %165, i64 41
  %167 = load i8, ptr %166, align 1, !tbaa !25
  %168 = load i8, ptr %27, align 1, !tbaa !12
  %169 = icmp eq i8 %167, %168
  br i1 %169, label %.loopexit.sink.split, label %170

170:                                              ; preds = %164, %152, %146
  br label %.loopexit.sink.split

171:                                              ; preds = %.lr.ph84, %115
  %172 = add nuw i64 %.083, 1
  %173 = call noundef i64 @_ZNKSt6vectorI7snp_strSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #6
  %174 = icmp ult i64 %172, %173
  br i1 %174, label %.lr.ph84, label %.loopexit, !llvm.loop !26

.loopexit.sink.split:                             ; preds = %158, %164, %140, %170
  %.sink = phi i16 [ 0, %170 ], [ 1, %140 ], [ 2, %164 ], [ 2, %158 ]
  %175 = call noundef nonnull align 8 dereferenceable(88) ptr @_ZNSt6vectorI7snp_strSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %.083) #6
  %176 = getelementptr inbounds i8, ptr %175, i64 44
  store i16 %.sink, ptr %176, align 4, !tbaa !27
  br label %.loopexit

.loopexit:                                        ; preds = %171, %.loopexit.sink.split, %109, %106, %.critedge
  %177 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZSt7getlineIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(16) %4, ptr noundef nonnull align 8 dereferenceable(32) %3)
          to label %178 unwind label %179

178:                                              ; preds = %.loopexit
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %7) #6
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %6) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %5) #6
  br label %29, !llvm.loop !28

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

181:                                              ; preds = %179, %46
  %.pn = phi { ptr, i32 } [ %47, %46 ], [ %180, %179 ]
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %7) #6
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %6) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %5) #6
  br label %184

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

183:                                              ; preds = %182, %21
  call void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(256) %4) #6
  call void @llvm.lifetime.end.p0(i64 520, ptr nonnull %4) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %3) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %3) #6
  ret void

184:                                              ; preds = %.loopexit73, %.loopexit.split-lp, %181
  %.pn.pn = phi { ptr, i32 } [ %.pn, %181 ], [ %lpad.loopexit, %.loopexit73 ], [ %lpad.loopexit.split-lp, %.loopexit.split-lp ]
  call void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(256) %4) #6
  br label %185

185:                                              ; preds = %184, %23
  %.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn, %184 ], [ %24, %23 ]
  call void @llvm.lifetime.end.p0(i64 520, ptr nonnull %4) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %3) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %3) #6
  resume { ptr, i32 } %.pn.pn.pn
}

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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 #5 = { 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 #6 = { nounwind }
attributes #7 = { 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 = !{!9, !9, i64 0}
!9 = !{!"omnipotent char", !7, i64 0}
!10 = !{!11, !9, i64 0}
!11 = !{!"_ZTSSt4pairIccE", !9, i64 0, !9, i64 1}
!12 = !{!11, !9, i64 1}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = !{!16, !21, i64 32}
!16 = !{!"_ZTS7snp_str", !17, i64 0, !21, i64 32, !21, i64 36, !22, i64 40, !9, i64 41, !23, i64 42, !23, i64 44, !17, i64 48, !24, i64 80}
!17 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !18, i64 0, !20, i64 8, !9, i64 16}
!18 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !19, i64 0}
!19 = !{!"any pointer", !9, i64 0}
!20 = !{!"long", !9, i64 0}
!21 = !{!"int", !9, i64 0}
!22 = !{!"bool", !9, i64 0}
!23 = !{!"short", !9, i64 0}
!24 = !{!"double", !9, i64 0}
!25 = !{!16, !9, i64 41}
!26 = distinct !{!26, !14}
!27 = !{!16, !23, i64 44}
!28 = distinct !{!28, !14}


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