; LLVM IR from eyangch/competitive-programming :: USACOcontests/silver/2017.01 (hps)

; 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"

%"struct.std::array.3" = type { [3 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" }
%"class.std::locale" = type { ptr }
%union.pthread_mutex_t = type { %struct.__pthread_mutex_s }
%struct.__pthread_mutex_s = type { i32, i32, i32, i32, i32, i16, i16, %struct.__pthread_internal_list }
%struct.__pthread_internal_list = type { ptr, ptr }
%"class.std::__basic_file" = type <{ ptr, i8, [7 x i8] }>
%struct.__mbstate_t = type { i32, %union.anon }
%union.anon = type { i32 }
%"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::basic_ofstream" = type { %"class.std::basic_ostream.base", %"class.std::basic_filebuf", %"class.std::basic_ios" }
%"class.std::basic_ostream.base" = type { ptr }
%"struct.std::array" = type { [100000 x i8] }
%"struct.std::array.0" = type { [100000 x %"class.std::unordered_map"] }
%"class.std::unordered_map" = type { %"class.std::_Hashtable" }
%"class.std::_Hashtable" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"struct.std::__detail::_Hash_node_base" = type { ptr }
%"struct.std::__detail::_Prime_rehash_policy" = type { float, i64 }

@.str = external hidden unnamed_addr constant [7 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [8 x i8], align 1
@__const.main.l = external hidden unnamed_addr constant %"struct.std::array.3", align 1

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() #0 personality ptr @__gxx_personality_v0 {
  %1 = alloca i32, align 4
  %2 = alloca %"class.std::basic_ifstream", align 8
  %3 = alloca %"class.std::basic_ofstream", align 8
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca %"struct.std::array", align 1
  %9 = alloca %"struct.std::array.0", align 8
  %10 = alloca %"struct.std::array.3", align 1
  %11 = alloca i8, align 1
  %12 = alloca i8, align 1
  %13 = alloca i8, align 1
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca %"class.std::unordered_map", align 8
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca ptr, align 8
  %21 = alloca ptr, align 8
  %22 = alloca ptr, align 8
  %23 = alloca i32, align 4
  %24 = alloca i8, align 1
  %25 = alloca i8, align 1
  %26 = alloca i8, align 1
  %27 = alloca i8, align 1
  %28 = alloca i32, align 4
  store i32 0, ptr %1, align 4
  call void @llvm.lifetime.start.p0(i64 520, ptr %2) #9
  call void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEEC1EPKcSt13_Ios_Openmode(ptr noundef nonnull align 8 dereferenceable(256) %2, ptr noundef @.str, i32 noundef 8)
  call void @llvm.lifetime.start.p0(i64 512, ptr %3) #9
  invoke void @_ZNSt14basic_ofstreamIcSt11char_traitsIcEEC1EPKcSt13_Ios_Openmode(ptr noundef nonnull align 8 dereferenceable(248) %3, ptr noundef @.str.1, i32 noundef 16)
          to label %29 unwind label %55

29:                                               ; preds = %0
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #9
  store i32 0, ptr %7, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 100000, ptr %8) #9
  call void @llvm.lifetime.start.p0(i64 5600000, ptr %9) #9
  call void @_ZNSt5arrayISt13unordered_mapIciSt4hashIcESt8equal_toIcESaISt4pairIKciEEELm100000EEC2Ev(ptr noundef nonnull align 8 dereferenceable(5600000) %9) #9
  call void @llvm.lifetime.start.p0(i64 3, ptr %10) #9
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %10, ptr align 1 @__const.main.l, i64 3, i1 false)
  %30 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %2, ptr noundef nonnull align 4 dereferenceable(4) %6)
          to label %31 unwind label %59

31:                                               ; preds = %29
  %32 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt5arrayIcLm100000EEixEm(ptr noundef nonnull align 1 dereferenceable(100000) %8, i64 noundef 0) #9
  %33 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZStrsIcSt11char_traitsIcEERSt13basic_istreamIT_T0_ES6_RS3_(ptr noundef nonnull align 8 dereferenceable(16) %2, ptr noundef nonnull align 1 dereferenceable(1) %32)
          to label %34 unwind label %59

34:                                               ; preds = %31
  %35 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZNSt5arrayISt13unordered_mapIciSt4hashIcESt8equal_toIcESaISt4pairIKciEEELm100000EEixEm(ptr noundef nonnull align 8 dereferenceable(5600000) %9, i64 noundef 0) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr %11) #9
  store i8 83, ptr %11, align 1, !tbaa !9
  %36 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt13unordered_mapIciSt4hashIcESt8equal_toIcESaISt4pairIKciEEEixEOc(ptr noundef nonnull align 8 dereferenceable(56) %35, ptr noundef nonnull align 1 dereferenceable(1) %11)
          to label %37 unwind label %63

37:                                               ; preds = %34
  store i32 0, ptr %36, align 4, !tbaa !5
  %38 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZNSt5arrayISt13unordered_mapIciSt4hashIcESt8equal_toIcESaISt4pairIKciEEELm100000EEixEm(ptr noundef nonnull align 8 dereferenceable(5600000) %9, i64 noundef 0) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr %12) #9
  store i8 80, ptr %12, align 1, !tbaa !9
  %39 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt13unordered_mapIciSt4hashIcESt8equal_toIcESaISt4pairIKciEEEixEOc(ptr noundef nonnull align 8 dereferenceable(56) %38, ptr noundef nonnull align 1 dereferenceable(1) %12)
          to label %40 unwind label %67

40:                                               ; preds = %37
  store i32 0, ptr %39, align 4, !tbaa !5
  %41 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZNSt5arrayISt13unordered_mapIciSt4hashIcESt8equal_toIcESaISt4pairIKciEEELm100000EEixEm(ptr noundef nonnull align 8 dereferenceable(5600000) %9, i64 noundef 0) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr %13) #9
  store i8 72, ptr %13, align 1, !tbaa !9
  %42 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt13unordered_mapIciSt4hashIcESt8equal_toIcESaISt4pairIKciEEEixEOc(ptr noundef nonnull align 8 dereferenceable(56) %41, ptr noundef nonnull align 1 dereferenceable(1) %13)
          to label %43 unwind label %71

43:                                               ; preds = %40
  store i32 0, ptr %42, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 1, ptr %13) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %12) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %11) #9
  %44 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZNSt5arrayISt13unordered_mapIciSt4hashIcESt8equal_toIcESaISt4pairIKciEEELm100000EEixEm(ptr noundef nonnull align 8 dereferenceable(5600000) %9, i64 noundef 0) #9
  %45 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt5arrayIcLm100000EEixEm(ptr noundef nonnull align 1 dereferenceable(100000) %8, i64 noundef 0) #9
  %46 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt13unordered_mapIciSt4hashIcESt8equal_toIcESaISt4pairIKciEEEixERS5_(ptr noundef nonnull align 8 dereferenceable(56) %44, ptr noundef nonnull align 1 dereferenceable(1) %45)
          to label %47 unwind label %59

47:                                               ; preds = %43
  %48 = load i32, ptr %46, align 4, !tbaa !5
  %49 = add nsw i32 %48, 1
  store i32 %49, ptr %46, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #9
  store i32 1, ptr %14, align 4, !tbaa !5
  br label %50

50:                                               ; preds = %102, %47
  %51 = load i32, ptr %14, align 4, !tbaa !5
  %52 = load i32, ptr %6, align 4, !tbaa !5
  %53 = icmp slt i32 %51, %52
  br i1 %53, label %77, label %54

54:                                               ; preds = %50
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #9
  br label %109

55:                                               ; preds = %0
  %56 = landingpad { ptr, i32 }
          cleanup
  %57 = extractvalue { ptr, i32 } %56, 0
  store ptr %57, ptr %4, align 8
  %58 = extractvalue { ptr, i32 } %56, 1
  store i32 %58, ptr %5, align 4
  br label %214

59:                                               ; preds = %209, %206, %43, %31, %29
  %60 = landingpad { ptr, i32 }
          cleanup
  %61 = extractvalue { ptr, i32 } %60, 0
  store ptr %61, ptr %4, align 8
  %62 = extractvalue { ptr, i32 } %60, 1
  store i32 %62, ptr %5, align 4
  br label %213

63:                                               ; preds = %34
  %64 = landingpad { ptr, i32 }
          cleanup
  %65 = extractvalue { ptr, i32 } %64, 0
  store ptr %65, ptr %4, align 8
  %66 = extractvalue { ptr, i32 } %64, 1
  store i32 %66, ptr %5, align 4
  br label %76

67:                                               ; preds = %37
  %68 = landingpad { ptr, i32 }
          cleanup
  %69 = extractvalue { ptr, i32 } %68, 0
  store ptr %69, ptr %4, align 8
  %70 = extractvalue { ptr, i32 } %68, 1
  store i32 %70, ptr %5, align 4
  br label %75

71:                                               ; preds = %40
  %72 = landingpad { ptr, i32 }
          cleanup
  %73 = extractvalue { ptr, i32 } %72, 0
  store ptr %73, ptr %4, align 8
  %74 = extractvalue { ptr, i32 } %72, 1
  store i32 %74, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %13) #9
  br label %75

75:                                               ; preds = %71, %67
  call void @llvm.lifetime.end.p0(i64 1, ptr %12) #9
  br label %76

76:                                               ; preds = %75, %63
  call void @llvm.lifetime.end.p0(i64 1, ptr %11) #9
  br label %213

77:                                               ; preds = %50
  %78 = load i32, ptr %14, align 4, !tbaa !5
  %79 = sext i32 %78 to i64
  %80 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt5arrayIcLm100000EEixEm(ptr noundef nonnull align 1 dereferenceable(100000) %8, i64 noundef %79) #9
  %81 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZStrsIcSt11char_traitsIcEERSt13basic_istreamIT_T0_ES6_RS3_(ptr noundef nonnull align 8 dereferenceable(16) %2, ptr noundef nonnull align 1 dereferenceable(1) %80)
          to label %82 unwind label %105

82:                                               ; preds = %77
  %83 = load i32, ptr %14, align 4, !tbaa !5
  %84 = sub nsw i32 %83, 1
  %85 = sext i32 %84 to i64
  %86 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZNSt5arrayISt13unordered_mapIciSt4hashIcESt8equal_toIcESaISt4pairIKciEEELm100000EEixEm(ptr noundef nonnull align 8 dereferenceable(5600000) %9, i64 noundef %85) #9
  %87 = load i32, ptr %14, align 4, !tbaa !5
  %88 = sext i32 %87 to i64
  %89 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZNSt5arrayISt13unordered_mapIciSt4hashIcESt8equal_toIcESaISt4pairIKciEEELm100000EEixEm(ptr noundef nonnull align 8 dereferenceable(5600000) %9, i64 noundef %88) #9
  %90 = invoke noundef nonnull align 8 dereferenceable(56) ptr @_ZNSt13unordered_mapIciSt4hashIcESt8equal_toIcESaISt4pairIKciEEEaSERKS8_(ptr noundef nonnull align 8 dereferenceable(56) %89, ptr noundef nonnull align 8 dereferenceable(56) %86)
          to label %91 unwind label %105

91:                                               ; preds = %82
  %92 = load i32, ptr %14, align 4, !tbaa !5
  %93 = sext i32 %92 to i64
  %94 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZNSt5arrayISt13unordered_mapIciSt4hashIcESt8equal_toIcESaISt4pairIKciEEELm100000EEixEm(ptr noundef nonnull align 8 dereferenceable(5600000) %9, i64 noundef %93) #9
  %95 = load i32, ptr %14, align 4, !tbaa !5
  %96 = sext i32 %95 to i64
  %97 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt5arrayIcLm100000EEixEm(ptr noundef nonnull align 1 dereferenceable(100000) %8, i64 noundef %96) #9
  %98 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt13unordered_mapIciSt4hashIcESt8equal_toIcESaISt4pairIKciEEEixERS5_(ptr noundef nonnull align 8 dereferenceable(56) %94, ptr noundef nonnull align 1 dereferenceable(1) %97)
          to label %99 unwind label %105

99:                                               ; preds = %91
  %100 = load i32, ptr %98, align 4, !tbaa !5
  %101 = add nsw i32 %100, 1
  store i32 %101, ptr %98, align 4, !tbaa !5
  br label %102

102:                                              ; preds = %99
  %103 = load i32, ptr %14, align 4, !tbaa !5
  %104 = add nsw i32 %103, 1
  store i32 %104, ptr %14, align 4, !tbaa !5
  br label %50, !llvm.loop !10

105:                                              ; preds = %91, %82, %77
  %106 = landingpad { ptr, i32 }
          cleanup
  %107 = extractvalue { ptr, i32 } %106, 0
  store ptr %107, ptr %4, align 8
  %108 = extractvalue { ptr, i32 } %106, 1
  store i32 %108, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #9
  br label %213

109:                                              ; preds = %54
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #9
  store i32 0, ptr %15, align 4, !tbaa !5
  br label %110

110:                                              ; preds = %197, %109
  %111 = load i32, ptr %15, align 4, !tbaa !5
  %112 = load i32, ptr %6, align 4, !tbaa !5
  %113 = icmp slt i32 %111, %112
  br i1 %113, label %115, label %114

114:                                              ; preds = %110
  store i32 5, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #9
  br label %206

115:                                              ; preds = %110
  call void @llvm.lifetime.start.p0(i64 56, ptr %17) #9
  %116 = load i32, ptr %6, align 4, !tbaa !5
  %117 = sub nsw i32 %116, 1
  %118 = sext i32 %117 to i64
  %119 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZNSt5arrayISt13unordered_mapIciSt4hashIcESt8equal_toIcESaISt4pairIKciEEELm100000EEixEm(ptr noundef nonnull align 8 dereferenceable(5600000) %9, i64 noundef %118) #9
  invoke void @_ZNSt13unordered_mapIciSt4hashIcESt8equal_toIcESaISt4pairIKciEEEC2ERKS8_(ptr noundef nonnull align 8 dereferenceable(56) %17, ptr noundef nonnull align 8 dereferenceable(56) %119)
          to label %120 unwind label %130

120:                                              ; preds = %115
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #9
  store i32 0, ptr %18, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #9
  store i32 0, ptr %19, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #9
  store ptr %10, ptr %20, align 8, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #9
  %121 = load ptr, ptr %20, align 8, !tbaa !12
  %122 = call noundef ptr @_ZNSt5arrayIcLm3EE5beginEv(ptr noundef nonnull align 1 dereferenceable(3) %121) #10
  store ptr %122, ptr %21, align 8, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #9
  %123 = load ptr, ptr %20, align 8, !tbaa !12
  %124 = call noundef ptr @_ZNSt5arrayIcLm3EE3endEv(ptr noundef nonnull align 1 dereferenceable(3) %123) #10
  store ptr %124, ptr %22, align 8, !tbaa !12
  br label %125

125:                                              ; preds = %169, %120
  %126 = load ptr, ptr %21, align 8, !tbaa !12
  %127 = load ptr, ptr %22, align 8, !tbaa !12
  %128 = icmp ne ptr %126, %127
  br i1 %128, label %134, label %129

129:                                              ; preds = %125
  store i32 8, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #9
  br label %190

130:                                              ; preds = %115
  %131 = landingpad { ptr, i32 }
          cleanup
  %132 = extractvalue { ptr, i32 } %131, 0
  store ptr %132, ptr %4, align 8
  %133 = extractvalue { ptr, i32 } %131, 1
  store i32 %133, ptr %5, align 4
  br label %205

134:                                              ; preds = %125
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #9
  %135 = load ptr, ptr %21, align 8, !tbaa !12
  %136 = load i8, ptr %135, align 1, !tbaa !9
  %137 = sext i8 %136 to i32
  store i32 %137, ptr %23, align 4, !tbaa !5
  %138 = load i32, ptr %15, align 4, !tbaa !5
  %139 = sext i32 %138 to i64
  %140 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZNSt5arrayISt13unordered_mapIciSt4hashIcESt8equal_toIcESaISt4pairIKciEEELm100000EEixEm(ptr noundef nonnull align 8 dereferenceable(5600000) %9, i64 noundef %139) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr %24) #9
  %141 = load i32, ptr %23, align 4, !tbaa !5
  %142 = trunc i32 %141 to i8
  store i8 %142, ptr %24, align 1, !tbaa !9
  %143 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt13unordered_mapIciSt4hashIcESt8equal_toIcESaISt4pairIKciEEEixEOc(ptr noundef nonnull align 8 dereferenceable(56) %140, ptr noundef nonnull align 1 dereferenceable(1) %24)
          to label %144 unwind label %172

144:                                              ; preds = %134
  %145 = load i32, ptr %143, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %25) #9
  %146 = load i32, ptr %23, align 4, !tbaa !5
  %147 = trunc i32 %146 to i8
  store i8 %147, ptr %25, align 1, !tbaa !9
  %148 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt13unordered_mapIciSt4hashIcESt8equal_toIcESaISt4pairIKciEEEixEOc(ptr noundef nonnull align 8 dereferenceable(56) %17, ptr noundef nonnull align 1 dereferenceable(1) %25)
          to label %149 unwind label %176

149:                                              ; preds = %144
  %150 = load i32, ptr %148, align 4, !tbaa !5
  %151 = sub nsw i32 %150, %145
  store i32 %151, ptr %148, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 1, ptr %25) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %24) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr %26) #9
  %152 = load i32, ptr %23, align 4, !tbaa !5
  %153 = trunc i32 %152 to i8
  store i8 %153, ptr %26, align 1, !tbaa !9
  %154 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt13unordered_mapIciSt4hashIcESt8equal_toIcESaISt4pairIKciEEEixEOc(ptr noundef nonnull align 8 dereferenceable(56) %17, ptr noundef nonnull align 1 dereferenceable(1) %26)
          to label %155 unwind label %181

155:                                              ; preds = %149
  %156 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %18, ptr noundef nonnull align 4 dereferenceable(4) %154)
          to label %157 unwind label %181

157:                                              ; preds = %155
  %158 = load i32, ptr %156, align 4, !tbaa !5
  store i32 %158, ptr %18, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 1, ptr %26) #9
  %159 = load i32, ptr %15, align 4, !tbaa !5
  %160 = sext i32 %159 to i64
  %161 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZNSt5arrayISt13unordered_mapIciSt4hashIcESt8equal_toIcESaISt4pairIKciEEELm100000EEixEm(ptr noundef nonnull align 8 dereferenceable(5600000) %9, i64 noundef %160) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr %27) #9
  %162 = load i32, ptr %23, align 4, !tbaa !5
  %163 = trunc i32 %162 to i8
  store i8 %163, ptr %27, align 1, !tbaa !9
  %164 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt13unordered_mapIciSt4hashIcESt8equal_toIcESaISt4pairIKciEEEixEOc(ptr noundef nonnull align 8 dereferenceable(56) %161, ptr noundef nonnull align 1 dereferenceable(1) %27)
          to label %165 unwind label %185

165:                                              ; preds = %157
  %166 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %19, ptr noundef nonnull align 4 dereferenceable(4) %164)
          to label %167 unwind label %185

167:                                              ; preds = %165
  %168 = load i32, ptr %166, align 4, !tbaa !5
  store i32 %168, ptr %19, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 1, ptr %27) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #9
  br label %169

169:                                              ; preds = %167
  %170 = load ptr, ptr %21, align 8, !tbaa !12
  %171 = getelementptr inbounds i8, ptr %170, i32 1
  store ptr %171, ptr %21, align 8, !tbaa !12
  br label %125

172:                                              ; preds = %134
  %173 = landingpad { ptr, i32 }
          cleanup
  %174 = extractvalue { ptr, i32 } %173, 0
  store ptr %174, ptr %4, align 8
  %175 = extractvalue { ptr, i32 } %173, 1
  store i32 %175, ptr %5, align 4
  br label %180

176:                                              ; preds = %144
  %177 = landingpad { ptr, i32 }
          cleanup
  %178 = extractvalue { ptr, i32 } %177, 0
  store ptr %178, ptr %4, align 8
  %179 = extractvalue { ptr, i32 } %177, 1
  store i32 %179, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %25) #9
  br label %180

180:                                              ; preds = %176, %172
  call void @llvm.lifetime.end.p0(i64 1, ptr %24) #9
  br label %189

181:                                              ; preds = %155, %149
  %182 = landingpad { ptr, i32 }
          cleanup
  %183 = extractvalue { ptr, i32 } %182, 0
  store ptr %183, ptr %4, align 8
  %184 = extractvalue { ptr, i32 } %182, 1
  store i32 %184, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %26) #9
  br label %189

185:                                              ; preds = %165, %157
  %186 = landingpad { ptr, i32 }
          cleanup
  %187 = extractvalue { ptr, i32 } %186, 0
  store ptr %187, ptr %4, align 8
  %188 = extractvalue { ptr, i32 } %186, 1
  store i32 %188, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %27) #9
  br label %189

189:                                              ; preds = %185, %181, %180
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #9
  br label %204

190:                                              ; preds = %129
  call void @llvm.lifetime.start.p0(i64 4, ptr %28) #9
  %191 = load i32, ptr %18, align 4, !tbaa !5
  %192 = load i32, ptr %19, align 4, !tbaa !5
  %193 = add nsw i32 %191, %192
  store i32 %193, ptr %28, align 4, !tbaa !5
  %194 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %7, ptr noundef nonnull align 4 dereferenceable(4) %28)
          to label %195 unwind label %200

195:                                              ; preds = %190
  %196 = load i32, ptr %194, align 4, !tbaa !5
  store i32 %196, ptr %7, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #9
  call void @_ZNSt13unordered_mapIciSt4hashIcESt8equal_toIcESaISt4pairIKciEEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %17) #9
  call void @llvm.lifetime.end.p0(i64 56, ptr %17) #9
  br label %197

197:                                              ; preds = %195
  %198 = load i32, ptr %15, align 4, !tbaa !5
  %199 = add nsw i32 %198, 1
  store i32 %199, ptr %15, align 4, !tbaa !5
  br label %110, !llvm.loop !14

200:                                              ; preds = %190
  %201 = landingpad { ptr, i32 }
          cleanup
  %202 = extractvalue { ptr, i32 } %201, 0
  store ptr %202, ptr %4, align 8
  %203 = extractvalue { ptr, i32 } %201, 1
  store i32 %203, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #9
  br label %204

204:                                              ; preds = %200, %189
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #9
  call void @_ZNSt13unordered_mapIciSt4hashIcESt8equal_toIcESaISt4pairIKciEEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %17) #9
  br label %205

205:                                              ; preds = %204, %130
  call void @llvm.lifetime.end.p0(i64 56, ptr %17) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #9
  br label %213

206:                                              ; preds = %114
  %207 = load i32, ptr %7, align 4, !tbaa !5
  %208 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %3, i32 noundef %207)
          to label %209 unwind label %59

209:                                              ; preds = %206
  %210 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %208, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %211 unwind label %59

211:                                              ; preds = %209
  call void @llvm.lifetime.end.p0(i64 3, ptr %10) #9
  call void @_ZNSt5arrayISt13unordered_mapIciSt4hashIcESt8equal_toIcESaISt4pairIKciEEELm100000EED2Ev(ptr noundef nonnull align 8 dereferenceable(5600000) %9) #9
  call void @llvm.lifetime.end.p0(i64 5600000, ptr %9) #9
  call void @llvm.lifetime.end.p0(i64 100000, ptr %8) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #9
  call void @_ZNSt14basic_ofstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(248) %3) #9
  call void @llvm.lifetime.end.p0(i64 512, ptr %3) #9
  call void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(256) %2) #9
  call void @llvm.lifetime.end.p0(i64 520, ptr %2) #9
  %212 = load i32, ptr %1, align 4
  ret i32 %212

213:                                              ; preds = %205, %105, %76, %59
  call void @llvm.lifetime.end.p0(i64 3, ptr %10) #9
  call void @_ZNSt5arrayISt13unordered_mapIciSt4hashIcESt8equal_toIcESaISt4pairIKciEEELm100000EED2Ev(ptr noundef nonnull align 8 dereferenceable(5600000) %9) #9
  call void @llvm.lifetime.end.p0(i64 5600000, ptr %9) #9
  call void @llvm.lifetime.end.p0(i64 100000, ptr %8) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #9
  call void @_ZNSt14basic_ofstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(248) %3) #9
  br label %214

214:                                              ; preds = %213, %55
  call void @llvm.lifetime.end.p0(i64 512, ptr %3) #9
  call void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(256) %2) #9
  call void @llvm.lifetime.end.p0(i64 520, ptr %2) #9
  br label %215

215:                                              ; preds = %214
  %216 = load ptr, ptr %4, align 8
  %217 = load i32, ptr %5, align 4
  %218 = insertvalue { ptr, i32 } poison, ptr %216, 0
  %219 = insertvalue { ptr, i32 } %218, i32 %217, 1
  resume { ptr, i32 } %219
}

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

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

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

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #4

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(4)) #5

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZStrsIcSt11char_traitsIcEERSt13basic_istreamIT_T0_ES6_RS3_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 1 dereferenceable(1)) #5

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt5arrayIcLm100000EEixEm(ptr noundef nonnull align 1 dereferenceable(100000), i64 noundef) #6 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(56) ptr @_ZNSt5arrayISt13unordered_mapIciSt4hashIcESt8equal_toIcESaISt4pairIKciEEELm100000EEixEm(ptr noundef nonnull align 8 dereferenceable(5600000), i64 noundef) #6 align 2

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

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

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

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

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

; Function Attrs: mustprogress nounwind willreturn memory(none) uwtable
declare dso_local noundef ptr @_ZNSt5arrayIcLm3EE5beginEv(ptr noundef nonnull align 1 dereferenceable(3)) #7 align 2

; Function Attrs: mustprogress nounwind willreturn memory(none) uwtable
declare dso_local noundef ptr @_ZNSt5arrayIcLm3EE3endEv(ptr noundef nonnull align 1 dereferenceable(3)) #7 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) #3

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt14basic_ofstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(248)) unnamed_addr #6 align 2

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

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

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

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


; 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"

%"struct.std::array.3" = type { [3 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" }
%"class.std::locale" = type { ptr }
%union.pthread_mutex_t = type { %struct.__pthread_mutex_s }
%struct.__pthread_mutex_s = type { i32, i32, i32, i32, i32, i16, i16, %struct.__pthread_internal_list }
%struct.__pthread_internal_list = type { ptr, ptr }
%"class.std::__basic_file" = type <{ ptr, i8, [7 x i8] }>
%struct.__mbstate_t = type { i32, %union.anon }
%union.anon = type { i32 }
%"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::basic_ofstream" = type { %"class.std::basic_ostream.base", %"class.std::basic_filebuf", %"class.std::basic_ios" }
%"class.std::basic_ostream.base" = type { ptr }
%"struct.std::array" = type { [100000 x i8] }
%"struct.std::array.0" = type { [100000 x %"class.std::unordered_map"] }
%"class.std::unordered_map" = type { %"class.std::_Hashtable" }
%"class.std::_Hashtable" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"struct.std::__detail::_Hash_node_base" = type { ptr }
%"struct.std::__detail::_Prime_rehash_policy" = type { float, i64 }

@.str = external hidden unnamed_addr constant [7 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [8 x i8], align 1
@__const.main.l = external hidden unnamed_addr constant %"struct.std::array.3", align 1

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() local_unnamed_addr #0 personality ptr @__gxx_personality_v0 {
  %1 = alloca %"class.std::basic_ifstream", align 8
  %2 = alloca %"class.std::basic_ofstream", align 8
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca %"struct.std::array", align 1
  %6 = alloca %"struct.std::array.0", align 8
  %7 = alloca %"struct.std::array.3", align 1
  %8 = alloca i8, align 1
  %9 = alloca i8, align 1
  %10 = alloca i8, align 1
  %11 = alloca %"class.std::unordered_map", align 8
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i8, align 1
  %15 = alloca i8, align 1
  %16 = alloca i8, align 1
  %17 = alloca i8, align 1
  %18 = alloca i32, align 4
  call void @llvm.lifetime.start.p0(i64 520, ptr nonnull %1) #9
  call void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEEC1EPKcSt13_Ios_Openmode(ptr noundef nonnull align 8 dereferenceable(256) %1, ptr noundef nonnull @.str, i32 noundef 8)
  call void @llvm.lifetime.start.p0(i64 512, ptr nonnull %2) #9
  invoke void @_ZNSt14basic_ofstreamIcSt11char_traitsIcEEC1EPKcSt13_Ios_Openmode(ptr noundef nonnull align 8 dereferenceable(248) %2, ptr noundef nonnull @.str.1, i32 noundef 16)
          to label %19 unwind label %44

19:                                               ; preds = %0
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #9
  store i32 0, ptr %4, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 100000, ptr nonnull %5) #9
  call void @llvm.lifetime.start.p0(i64 5600000, ptr nonnull %6) #9
  call void @_ZNSt5arrayISt13unordered_mapIciSt4hashIcESt8equal_toIcESaISt4pairIKciEEELm100000EEC2Ev(ptr noundef nonnull align 8 dereferenceable(5600000) %6) #9
  call void @llvm.lifetime.start.p0(i64 3, ptr nonnull %7) #9
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 1 dereferenceable(3) %7, ptr noundef nonnull align 1 dereferenceable(3) @__const.main.l, i64 3, i1 false)
  %20 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %1, ptr noundef nonnull align 4 dereferenceable(4) %3)
          to label %21 unwind label %46

21:                                               ; preds = %19
  %22 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt5arrayIcLm100000EEixEm(ptr noundef nonnull align 1 dereferenceable(100000) %5, i64 noundef 0) #9
  %23 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZStrsIcSt11char_traitsIcEERSt13basic_istreamIT_T0_ES6_RS3_(ptr noundef nonnull align 8 dereferenceable(16) %1, ptr noundef nonnull align 1 dereferenceable(1) %22)
          to label %24 unwind label %46

24:                                               ; preds = %21
  %25 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZNSt5arrayISt13unordered_mapIciSt4hashIcESt8equal_toIcESaISt4pairIKciEEELm100000EEixEm(ptr noundef nonnull align 8 dereferenceable(5600000) %6, i64 noundef 0) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %8) #9
  store i8 83, ptr %8, align 1, !tbaa !9
  %26 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt13unordered_mapIciSt4hashIcESt8equal_toIcESaISt4pairIKciEEEixEOc(ptr noundef nonnull align 8 dereferenceable(56) %25, ptr noundef nonnull align 1 dereferenceable(1) %8)
          to label %27 unwind label %48

27:                                               ; preds = %24
  store i32 0, ptr %26, align 4, !tbaa !5
  %28 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZNSt5arrayISt13unordered_mapIciSt4hashIcESt8equal_toIcESaISt4pairIKciEEELm100000EEixEm(ptr noundef nonnull align 8 dereferenceable(5600000) %6, i64 noundef 0) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %9) #9
  store i8 80, ptr %9, align 1, !tbaa !9
  %29 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt13unordered_mapIciSt4hashIcESt8equal_toIcESaISt4pairIKciEEEixEOc(ptr noundef nonnull align 8 dereferenceable(56) %28, ptr noundef nonnull align 1 dereferenceable(1) %9)
          to label %30 unwind label %50

30:                                               ; preds = %27
  store i32 0, ptr %29, align 4, !tbaa !5
  %31 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZNSt5arrayISt13unordered_mapIciSt4hashIcESt8equal_toIcESaISt4pairIKciEEELm100000EEixEm(ptr noundef nonnull align 8 dereferenceable(5600000) %6, i64 noundef 0) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %10) #9
  store i8 72, ptr %10, align 1, !tbaa !9
  %32 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt13unordered_mapIciSt4hashIcESt8equal_toIcESaISt4pairIKciEEEixEOc(ptr noundef nonnull align 8 dereferenceable(56) %31, ptr noundef nonnull align 1 dereferenceable(1) %10)
          to label %33 unwind label %52

33:                                               ; preds = %30
  store i32 0, ptr %32, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %10) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %9) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %8) #9
  %34 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZNSt5arrayISt13unordered_mapIciSt4hashIcESt8equal_toIcESaISt4pairIKciEEELm100000EEixEm(ptr noundef nonnull align 8 dereferenceable(5600000) %6, i64 noundef 0) #9
  %35 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt5arrayIcLm100000EEixEm(ptr noundef nonnull align 1 dereferenceable(100000) %5, i64 noundef 0) #9
  %36 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt13unordered_mapIciSt4hashIcESt8equal_toIcESaISt4pairIKciEEEixERS5_(ptr noundef nonnull align 8 dereferenceable(56) %34, ptr noundef nonnull align 1 dereferenceable(1) %35)
          to label %37 unwind label %46

37:                                               ; preds = %33
  %38 = load i32, ptr %36, align 4, !tbaa !5
  %39 = add nsw i32 %38, 1
  store i32 %39, ptr %36, align 4, !tbaa !5
  %40 = load i32, ptr %3, align 4, !tbaa !5
  %41 = icmp sgt i32 %40, 1
  br i1 %41, label %.lr.ph, label %.preheader

.preheader:                                       ; preds = %67, %37
  %42 = phi i32 [ %40, %37 ], [ %70, %67 ]
  %43 = icmp sgt i32 %42, 0
  br i1 %43, label %.lr.ph48, label %._crit_edge49

44:                                               ; preds = %0
  %45 = landingpad { ptr, i32 }
          cleanup
  br label %127

46:                                               ; preds = %123, %._crit_edge49, %33, %21, %19
  %47 = landingpad { ptr, i32 }
          cleanup
  br label %126

48:                                               ; preds = %24
  %49 = landingpad { ptr, i32 }
          cleanup
  br label %55

50:                                               ; preds = %27
  %51 = landingpad { ptr, i32 }
          cleanup
  br label %54

52:                                               ; preds = %30
  %53 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %10) #9
  br label %54

54:                                               ; preds = %52, %50
  %.pn = phi { ptr, i32 } [ %53, %52 ], [ %51, %50 ]
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %9) #9
  br label %55

55:                                               ; preds = %54, %48
  %.pn.pn = phi { ptr, i32 } [ %.pn, %54 ], [ %49, %48 ]
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %8) #9
  br label %126

.lr.ph:                                           ; preds = %37, %67
  %indvars.iv = phi i64 [ %indvars.iv.next, %67 ], [ 1, %37 ]
  %56 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt5arrayIcLm100000EEixEm(ptr noundef nonnull align 1 dereferenceable(100000) %5, i64 noundef %indvars.iv) #9
  %57 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZStrsIcSt11char_traitsIcEERSt13basic_istreamIT_T0_ES6_RS3_(ptr noundef nonnull align 8 dereferenceable(16) %1, ptr noundef nonnull align 1 dereferenceable(1) %56)
          to label %58 unwind label %73

58:                                               ; preds = %.lr.ph
  %59 = add nsw i64 %indvars.iv, -1
  %60 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZNSt5arrayISt13unordered_mapIciSt4hashIcESt8equal_toIcESaISt4pairIKciEEELm100000EEixEm(ptr noundef nonnull align 8 dereferenceable(5600000) %6, i64 noundef %59) #9
  %61 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZNSt5arrayISt13unordered_mapIciSt4hashIcESt8equal_toIcESaISt4pairIKciEEELm100000EEixEm(ptr noundef nonnull align 8 dereferenceable(5600000) %6, i64 noundef %indvars.iv) #9
  %62 = invoke noundef nonnull align 8 dereferenceable(56) ptr @_ZNSt13unordered_mapIciSt4hashIcESt8equal_toIcESaISt4pairIKciEEEaSERKS8_(ptr noundef nonnull align 8 dereferenceable(56) %61, ptr noundef nonnull align 8 dereferenceable(56) %60)
          to label %63 unwind label %73

63:                                               ; preds = %58
  %64 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZNSt5arrayISt13unordered_mapIciSt4hashIcESt8equal_toIcESaISt4pairIKciEEELm100000EEixEm(ptr noundef nonnull align 8 dereferenceable(5600000) %6, i64 noundef %indvars.iv) #9
  %65 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt5arrayIcLm100000EEixEm(ptr noundef nonnull align 1 dereferenceable(100000) %5, i64 noundef %indvars.iv) #9
  %66 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt13unordered_mapIciSt4hashIcESt8equal_toIcESaISt4pairIKciEEEixERS5_(ptr noundef nonnull align 8 dereferenceable(56) %64, ptr noundef nonnull align 1 dereferenceable(1) %65)
          to label %67 unwind label %73

67:                                               ; preds = %63
  %68 = load i32, ptr %66, align 4, !tbaa !5
  %69 = add nsw i32 %68, 1
  store i32 %69, ptr %66, align 4, !tbaa !5
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %70 = load i32, ptr %3, align 4, !tbaa !5
  %71 = sext i32 %70 to i64
  %72 = icmp slt i64 %indvars.iv.next, %71
  br i1 %72, label %.lr.ph, label %.preheader, !llvm.loop !10

73:                                               ; preds = %63, %58, %.lr.ph
  %74 = landingpad { ptr, i32 }
          cleanup
  br label %126

._crit_edge49.loopexit:                           ; preds = %._crit_edge
  %.pre54 = load i32, ptr %4, align 4, !tbaa !5
  br label %._crit_edge49

._crit_edge49:                                    ; preds = %._crit_edge49.loopexit, %.preheader
  %75 = phi i32 [ %.pre54, %._crit_edge49.loopexit ], [ 0, %.preheader ]
  %76 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %2, i32 noundef %75)
          to label %123 unwind label %46

.lr.ph48:                                         ; preds = %.preheader, %._crit_edge
  %indvars.iv51 = phi i64 [ %indvars.iv.next52, %._crit_edge ], [ 0, %.preheader ]
  %77 = phi i32 [ %88, %._crit_edge ], [ %42, %.preheader ]
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %11) #9
  %78 = add nsw i32 %77, -1
  %79 = sext i32 %78 to i64
  %80 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZNSt5arrayISt13unordered_mapIciSt4hashIcESt8equal_toIcESaISt4pairIKciEEELm100000EEixEm(ptr noundef nonnull align 8 dereferenceable(5600000) %6, i64 noundef %79) #9
  invoke void @_ZNSt13unordered_mapIciSt4hashIcESt8equal_toIcESaISt4pairIKciEEEC2ERKS8_(ptr noundef nonnull align 8 dereferenceable(56) %11, ptr noundef nonnull align 8 dereferenceable(56) %80)
          to label %81 unwind label %91

81:                                               ; preds = %.lr.ph48
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %12) #9
  store i32 0, ptr %12, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %13) #9
  store i32 0, ptr %13, align 4, !tbaa !5
  %82 = call noundef ptr @_ZNSt5arrayIcLm3EE5beginEv(ptr noundef nonnull align 1 dereferenceable(3) %7) #10
  %83 = call noundef ptr @_ZNSt5arrayIcLm3EE3endEv(ptr noundef nonnull align 1 dereferenceable(3) %7) #10
  %.not44 = icmp eq ptr %82, %83
  br i1 %.not44, label %._crit_edge, label %.lr.ph46

._crit_edge.loopexit:                             ; preds = %108
  %.pre = load i32, ptr %12, align 4, !tbaa !5
  %84 = add nsw i32 %110, %.pre
  br label %._crit_edge

._crit_edge:                                      ; preds = %._crit_edge.loopexit, %81
  %85 = phi i32 [ %84, %._crit_edge.loopexit ], [ 0, %81 ]
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %18) #9
  store i32 %85, ptr %18, align 4, !tbaa !5
  %86 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %4, ptr noundef nonnull align 4 dereferenceable(4) %18)
  %87 = load i32, ptr %86, align 4, !tbaa !5
  store i32 %87, ptr %4, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %18) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %13) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %12) #9
  call void @_ZNSt13unordered_mapIciSt4hashIcESt8equal_toIcESaISt4pairIKciEEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %11) #9
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %11) #9
  %indvars.iv.next52 = add nuw nsw i64 %indvars.iv51, 1
  %88 = load i32, ptr %3, align 4, !tbaa !5
  %89 = sext i32 %88 to i64
  %90 = icmp slt i64 %indvars.iv.next52, %89
  br i1 %90, label %.lr.ph48, label %._crit_edge49.loopexit, !llvm.loop !12

91:                                               ; preds = %.lr.ph48
  %92 = landingpad { ptr, i32 }
          cleanup
  br label %122

.lr.ph46:                                         ; preds = %81, %108
  %.03045 = phi ptr [ %111, %108 ], [ %82, %81 ]
  %93 = load i8, ptr %.03045, align 1, !tbaa !9
  %94 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZNSt5arrayISt13unordered_mapIciSt4hashIcESt8equal_toIcESaISt4pairIKciEEELm100000EEixEm(ptr noundef nonnull align 8 dereferenceable(5600000) %6, i64 noundef %indvars.iv51) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %14) #9
  store i8 %93, ptr %14, align 1, !tbaa !9
  %95 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt13unordered_mapIciSt4hashIcESt8equal_toIcESaISt4pairIKciEEEixEOc(ptr noundef nonnull align 8 dereferenceable(56) %94, ptr noundef nonnull align 1 dereferenceable(1) %14)
          to label %96 unwind label %112

96:                                               ; preds = %.lr.ph46
  %97 = load i32, ptr %95, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %15) #9
  store i8 %93, ptr %15, align 1, !tbaa !9
  %98 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt13unordered_mapIciSt4hashIcESt8equal_toIcESaISt4pairIKciEEEixEOc(ptr noundef nonnull align 8 dereferenceable(56) %11, ptr noundef nonnull align 1 dereferenceable(1) %15)
          to label %99 unwind label %114

99:                                               ; preds = %96
  %100 = load i32, ptr %98, align 4, !tbaa !5
  %101 = sub nsw i32 %100, %97
  store i32 %101, ptr %98, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %15) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %14) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %16) #9
  store i8 %93, ptr %16, align 1, !tbaa !9
  %102 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt13unordered_mapIciSt4hashIcESt8equal_toIcESaISt4pairIKciEEEixEOc(ptr noundef nonnull align 8 dereferenceable(56) %11, ptr noundef nonnull align 1 dereferenceable(1) %16)
          to label %103 unwind label %117

103:                                              ; preds = %99
  %104 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %12, ptr noundef nonnull align 4 dereferenceable(4) %102)
  %105 = load i32, ptr %104, align 4, !tbaa !5
  store i32 %105, ptr %12, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %16) #9
  %106 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZNSt5arrayISt13unordered_mapIciSt4hashIcESt8equal_toIcESaISt4pairIKciEEELm100000EEixEm(ptr noundef nonnull align 8 dereferenceable(5600000) %6, i64 noundef %indvars.iv51) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %17) #9
  store i8 %93, ptr %17, align 1, !tbaa !9
  %107 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt13unordered_mapIciSt4hashIcESt8equal_toIcESaISt4pairIKciEEEixEOc(ptr noundef nonnull align 8 dereferenceable(56) %106, ptr noundef nonnull align 1 dereferenceable(1) %17)
          to label %108 unwind label %119

108:                                              ; preds = %103
  %109 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %13, ptr noundef nonnull align 4 dereferenceable(4) %107)
  %110 = load i32, ptr %109, align 4, !tbaa !5
  store i32 %110, ptr %13, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %17) #9
  %111 = getelementptr inbounds i8, ptr %.03045, i64 1
  %.not = icmp eq ptr %111, %83
  br i1 %.not, label %._crit_edge.loopexit, label %.lr.ph46

112:                                              ; preds = %.lr.ph46
  %113 = landingpad { ptr, i32 }
          cleanup
  br label %116

114:                                              ; preds = %96
  %115 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %15) #9
  br label %116

116:                                              ; preds = %114, %112
  %.pn35 = phi { ptr, i32 } [ %115, %114 ], [ %113, %112 ]
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %14) #9
  br label %121

117:                                              ; preds = %99
  %118 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %16) #9
  br label %121

119:                                              ; preds = %103
  %120 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %17) #9
  br label %121

121:                                              ; preds = %119, %117, %116
  %.pn37 = phi { ptr, i32 } [ %120, %119 ], [ %118, %117 ], [ %.pn35, %116 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %13) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %12) #9
  call void @_ZNSt13unordered_mapIciSt4hashIcESt8equal_toIcESaISt4pairIKciEEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %11) #9
  br label %122

122:                                              ; preds = %121, %91
  %.pn37.pn = phi { ptr, i32 } [ %.pn37, %121 ], [ %92, %91 ]
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %11) #9
  br label %126

123:                                              ; preds = %._crit_edge49
  %124 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %76, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %125 unwind label %46

125:                                              ; preds = %123
  call void @llvm.lifetime.end.p0(i64 3, ptr nonnull %7) #9
  call void @_ZNSt5arrayISt13unordered_mapIciSt4hashIcESt8equal_toIcESaISt4pairIKciEEELm100000EED2Ev(ptr noundef nonnull align 8 dereferenceable(5600000) %6) #9
  call void @llvm.lifetime.end.p0(i64 5600000, ptr nonnull %6) #9
  call void @llvm.lifetime.end.p0(i64 100000, ptr nonnull %5) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #9
  call void @_ZNSt14basic_ofstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(248) %2) #9
  call void @llvm.lifetime.end.p0(i64 512, ptr nonnull %2) #9
  call void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(256) %1) #9
  call void @llvm.lifetime.end.p0(i64 520, ptr nonnull %1) #9
  ret i32 0

126:                                              ; preds = %122, %73, %55, %46
  %.pn40 = phi { ptr, i32 } [ %74, %73 ], [ %.pn37.pn, %122 ], [ %47, %46 ], [ %.pn.pn, %55 ]
  call void @llvm.lifetime.end.p0(i64 3, ptr nonnull %7) #9
  call void @_ZNSt5arrayISt13unordered_mapIciSt4hashIcESt8equal_toIcESaISt4pairIKciEEELm100000EED2Ev(ptr noundef nonnull align 8 dereferenceable(5600000) %6) #9
  call void @llvm.lifetime.end.p0(i64 5600000, ptr nonnull %6) #9
  call void @llvm.lifetime.end.p0(i64 100000, ptr nonnull %5) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #9
  call void @_ZNSt14basic_ofstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(248) %2) #9
  br label %127

127:                                              ; preds = %126, %44
  %.pn40.pn = phi { ptr, i32 } [ %.pn40, %126 ], [ %45, %44 ]
  call void @llvm.lifetime.end.p0(i64 512, ptr nonnull %2) #9
  call void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(256) %1) #9
  call void @llvm.lifetime.end.p0(i64 520, ptr nonnull %1) #9
  resume { ptr, i32 } %.pn40.pn
}

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

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

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

declare i32 @__gxx_personality_v0(...)

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

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

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #5

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZStrsIcSt11char_traitsIcEERSt13basic_istreamIT_T0_ES6_RS3_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 1 dereferenceable(1)) local_unnamed_addr #5

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt5arrayIcLm100000EEixEm(ptr noundef nonnull align 1 dereferenceable(100000), i64 noundef) local_unnamed_addr #6 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(56) ptr @_ZNSt5arrayISt13unordered_mapIciSt4hashIcESt8equal_toIcESaISt4pairIKciEEELm100000EEixEm(ptr noundef nonnull align 8 dereferenceable(5600000), i64 noundef) local_unnamed_addr #6 align 2

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

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

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

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

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

; Function Attrs: mustprogress nofree nosync nounwind willreturn memory(none) uwtable
declare dso_local noundef ptr @_ZNSt5arrayIcLm3EE5beginEv(ptr noundef nonnull align 1 dereferenceable(3)) local_unnamed_addr #7 align 2

; Function Attrs: mustprogress nofree nosync nounwind willreturn memory(none) uwtable
declare dso_local noundef ptr @_ZNSt5arrayIcLm3EE3endEv(ptr noundef nonnull align 1 dereferenceable(3)) local_unnamed_addr #7 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #3

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt14basic_ofstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(248)) unnamed_addr #6 align 2

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

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

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

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


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