; LLVM IR from sympiler/nasoq :: src/common (Util)

; 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::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.0 }
%union.anon.0 = type { i32 }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::__cxx11::basic_istringstream" = type { %"class.std::basic_istream.base", %"class.std::__cxx11::basic_stringbuf", %"class.std::basic_ios" }
%"class.std::__cxx11::basic_stringbuf" = type { %"class.std::basic_streambuf", i32, %"class.std::__cxx11::basic_string" }

@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str.14 = external hidden unnamed_addr constant [55 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [56 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [60 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [38 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [68 x i8], align 1
@__PRETTY_FUNCTION__._ZN5nasoq10readMatrixENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERmS6_RPiS8_RPd = external hidden unnamed_addr constant [83 x i8], align 1

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

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare { i64, i1 } @llvm.umul.with.overflow.i64(i64, i64) #4

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

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

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERd(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(8)) #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 uwtable
define dso_local noundef zeroext i1 @_ZN5nasoq10readMatrixENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERmS6_RPiS8_RPd(ptr noundef %0, ptr noundef nonnull align 8 dereferenceable(8) %1, ptr noundef nonnull align 8 dereferenceable(8) %2, ptr noundef nonnull align 8 dereferenceable(8) %3, ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 8 dereferenceable(8) %5) #2 personality ptr @__gxx_personality_v0 {
  %7 = alloca i1, align 1
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca %"class.std::basic_ifstream", align 8
  %15 = alloca ptr, align 8
  %16 = alloca i32, align 4
  %17 = alloca %"class.std::__cxx11::basic_string", align 8
  %18 = alloca %"class.std::__cxx11::basic_string", align 8
  %19 = alloca %"class.std::__cxx11::basic_string", align 8
  %20 = alloca %"class.std::__cxx11::basic_string", align 8
  %21 = alloca %"class.std::__cxx11::basic_string", align 8
  %22 = alloca %"class.std::__cxx11::basic_string", align 8
  %23 = alloca i32, align 4
  %24 = alloca %"class.std::__cxx11::basic_istringstream", align 8
  %25 = alloca i32, align 4
  %26 = alloca %"class.std::__cxx11::basic_istringstream", align 8
  %27 = alloca i32, align 4
  %28 = alloca i32, align 4
  %29 = alloca i32, align 4
  %30 = alloca i32, align 4
  %31 = alloca double, align 8
  %32 = alloca i32, align 4
  %33 = alloca i32, align 4
  %34 = alloca i32, align 4
  %35 = alloca i32, align 4
  %36 = alloca i32, align 4
  %37 = alloca i32, align 4
  store ptr %0, ptr %8, align 8, !tbaa !5
  store ptr %1, ptr %9, align 8, !tbaa !5
  store ptr %2, ptr %10, align 8, !tbaa !5
  store ptr %3, ptr %11, align 8, !tbaa !5
  store ptr %4, ptr %12, align 8, !tbaa !5
  store ptr %5, ptr %13, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 520, ptr %14) #11
  call void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(256) %14)
  invoke void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEE4openERKNSt7__cxx1112basic_stringIcS1_SaIcEEESt13_Ios_Openmode(ptr noundef nonnull align 8 dereferenceable(256) %14, ptr noundef nonnull align 8 dereferenceable(32) %0, i32 noundef 8)
          to label %38 unwind label %47

38:                                               ; preds = %6
  call void @llvm.lifetime.start.p0(i64 32, ptr %17) #11
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %17) #11
  call void @llvm.lifetime.start.p0(i64 32, ptr %18) #11
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %18) #11
  call void @llvm.lifetime.start.p0(i64 32, ptr %19) #11
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %19) #11
  call void @llvm.lifetime.start.p0(i64 32, ptr %20) #11
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %20) #11
  call void @llvm.lifetime.start.p0(i64 32, ptr %21) #11
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %21) #11
  call void @llvm.lifetime.start.p0(i64 32, ptr %22) #11
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %22) #11
  %39 = 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) %14, ptr noundef nonnull align 8 dereferenceable(32) %17)
          to label %40 unwind label %51

40:                                               ; preds = %38
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #11
  store i32 0, ptr %23, align 4, !tbaa !9
  br label %41

41:                                               ; preds = %68, %40
  %42 = load i32, ptr %23, align 4, !tbaa !9
  %43 = zext i32 %42 to i64
  %44 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6lengthEv(ptr noundef nonnull align 8 dereferenceable(32) %17) #11
  %45 = icmp ult i64 %43, %44
  br i1 %45, label %55, label %46

46:                                               ; preds = %41
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #11
  br label %75

47:                                               ; preds = %6
  %48 = landingpad { ptr, i32 }
          cleanup
  %49 = extractvalue { ptr, i32 } %48, 0
  store ptr %49, ptr %15, align 8
  %50 = extractvalue { ptr, i32 } %48, 1
  store i32 %50, ptr %16, align 4
  br label %430

51:                                               ; preds = %38
  %52 = landingpad { ptr, i32 }
          cleanup
  %53 = extractvalue { ptr, i32 } %52, 0
  store ptr %53, ptr %15, align 8
  %54 = extractvalue { ptr, i32 } %52, 1
  store i32 %54, ptr %16, align 4
  br label %429

55:                                               ; preds = %41
  br label %56

56:                                               ; preds = %55
  %57 = load i32, ptr %23, align 4, !tbaa !9
  %58 = zext i32 %57 to i64
  %59 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %17, i64 noundef %58)
          to label %60 unwind label %71

60:                                               ; preds = %56
  %61 = load i8, ptr %59, align 1, !tbaa !11
  %62 = sext i8 %61 to i32
  %63 = call i32 @tolower(i32 noundef %62) #12
  %64 = trunc i32 %63 to i8
  %65 = load i32, ptr %23, align 4, !tbaa !9
  %66 = zext i32 %65 to i64
  %67 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %17, i64 noundef %66)
          to label %68 unwind label %71

68:                                               ; preds = %60
  store i8 %64, ptr %67, align 1, !tbaa !11
  %69 = load i32, ptr %23, align 4, !tbaa !9
  %70 = add i32 %69, 1
  store i32 %70, ptr %23, align 4, !tbaa !9
  br label %41, !llvm.loop !12

71:                                               ; preds = %60, %56
  %72 = landingpad { ptr, i32 }
          cleanup
  %73 = extractvalue { ptr, i32 } %72, 0
  store ptr %73, ptr %15, align 8
  %74 = extractvalue { ptr, i32 } %72, 1
  store i32 %74, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #11
  br label %429

75:                                               ; preds = %46
  call void @llvm.lifetime.start.p0(i64 384, ptr %24) #11
  invoke void @_ZNSt7__cxx1119basic_istringstreamIcSt11char_traitsIcESaIcEEC1ERKNS_12basic_stringIcS2_S3_EESt13_Ios_Openmode(ptr noundef nonnull align 8 dereferenceable(120) %24, ptr noundef nonnull align 8 dereferenceable(32) %17, i32 noundef 8)
          to label %76 unwind label %96

76:                                               ; preds = %75
  %77 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZStrsIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(16) %24, ptr noundef nonnull align 8 dereferenceable(32) %18)
          to label %78 unwind label %100

78:                                               ; preds = %76
  %79 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZStrsIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(16) %77, ptr noundef nonnull align 8 dereferenceable(32) %19)
          to label %80 unwind label %100

80:                                               ; preds = %78
  %81 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZStrsIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(16) %79, ptr noundef nonnull align 8 dereferenceable(32) %20)
          to label %82 unwind label %100

82:                                               ; preds = %80
  %83 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZStrsIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(16) %81, ptr noundef nonnull align 8 dereferenceable(32) %21)
          to label %84 unwind label %100

84:                                               ; preds = %82
  %85 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZStrsIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(16) %83, ptr noundef nonnull align 8 dereferenceable(32) %22)
          to label %86 unwind label %100

86:                                               ; preds = %84
  %87 = load ptr, ptr %85, align 8, !tbaa !14
  %88 = getelementptr i8, ptr %87, i64 -24
  %89 = load i64, ptr %88, align 8
  %90 = getelementptr inbounds i8, ptr %85, i64 %89
  %91 = invoke noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEEntEv(ptr noundef nonnull align 8 dereferenceable(264) %90)
          to label %92 unwind label %100

92:                                               ; preds = %86
  br i1 %91, label %93, label %104

93:                                               ; preds = %92
  %94 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.14)
          to label %95 unwind label %100

95:                                               ; preds = %93
  store i1 false, ptr %7, align 1
  store i32 1, ptr %25, align 4
  br label %425

96:                                               ; preds = %75
  %97 = landingpad { ptr, i32 }
          cleanup
  %98 = extractvalue { ptr, i32 } %97, 0
  store ptr %98, ptr %15, align 8
  %99 = extractvalue { ptr, i32 } %97, 1
  store i32 %99, ptr %16, align 4
  br label %428

100:                                              ; preds = %149, %144, %140, %137, %131, %119, %113, %107, %93, %86, %84, %82, %80, %78, %76
  %101 = landingpad { ptr, i32 }
          cleanup
  %102 = extractvalue { ptr, i32 } %101, 0
  store ptr %102, ptr %15, align 8
  %103 = extractvalue { ptr, i32 } %101, 1
  store i32 %103, ptr %16, align 4
  br label %427

104:                                              ; preds = %92
  %105 = call noundef i32 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE7compareEPKc(ptr noundef nonnull align 8 dereferenceable(32) %18, ptr noundef @.str.15) #11
  %106 = icmp ne i32 %105, 0
  br i1 %106, label %107, label %110

107:                                              ; preds = %104
  %108 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.16)
          to label %109 unwind label %100

109:                                              ; preds = %107
  store i1 false, ptr %7, align 1
  store i32 1, ptr %25, align 4
  br label %425

110:                                              ; preds = %104
  %111 = call noundef i32 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE7compareEPKc(ptr noundef nonnull align 8 dereferenceable(32) %19, ptr noundef @.str.17) #11
  %112 = icmp ne i32 %111, 0
  br i1 %112, label %113, label %116

113:                                              ; preds = %110
  %114 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.18)
          to label %115 unwind label %100

115:                                              ; preds = %113
  store i1 false, ptr %7, align 1
  store i32 1, ptr %25, align 4
  br label %425

116:                                              ; preds = %110
  %117 = call noundef i32 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE7compareEPKc(ptr noundef nonnull align 8 dereferenceable(32) %20, ptr noundef @.str.19) #11
  %118 = icmp ne i32 %117, 0
  br i1 %118, label %119, label %122

119:                                              ; preds = %116
  %120 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.20)
          to label %121 unwind label %100

121:                                              ; preds = %119
  store i1 false, ptr %7, align 1
  store i32 1, ptr %25, align 4
  br label %425

122:                                              ; preds = %116
  %123 = call noundef i32 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE7compareEPKc(ptr noundef nonnull align 8 dereferenceable(32) %21, ptr noundef @.str.21) #11
  %124 = icmp ne i32 %123, 0
  br i1 %124, label %125, label %143

125:                                              ; preds = %122
  %126 = call noundef i32 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE7compareEPKc(ptr noundef nonnull align 8 dereferenceable(32) %21, ptr noundef @.str.22) #11
  %127 = icmp ne i32 %126, 0
  br i1 %127, label %128, label %143

128:                                              ; preds = %125
  %129 = call noundef i32 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE7compareEPKc(ptr noundef nonnull align 8 dereferenceable(32) %21, ptr noundef @.str.23) #11
  %130 = icmp ne i32 %129, 0
  br i1 %130, label %134, label %131

131:                                              ; preds = %128
  %132 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.24)
          to label %133 unwind label %100

133:                                              ; preds = %131
  store i1 false, ptr %7, align 1
  store i32 1, ptr %25, align 4
  br label %425

134:                                              ; preds = %128
  %135 = call noundef i32 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE7compareEPKc(ptr noundef nonnull align 8 dereferenceable(32) %21, ptr noundef @.str.25) #11
  %136 = icmp ne i32 %135, 0
  br i1 %136, label %140, label %137

137:                                              ; preds = %134
  %138 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.26)
          to label %139 unwind label %100

139:                                              ; preds = %137
  store i1 false, ptr %7, align 1
  store i32 1, ptr %25, align 4
  br label %425

140:                                              ; preds = %134
  %141 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.27)
          to label %142 unwind label %100

142:                                              ; preds = %140
  store i1 false, ptr %7, align 1
  store i32 1, ptr %25, align 4
  br label %425

143:                                              ; preds = %125, %122
  br label %144

144:                                              ; preds = %151, %143
  %145 = invoke noundef i32 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE7compareEmmPKc(ptr noundef nonnull align 8 dereferenceable(32) %17, i64 noundef 0, i64 noundef 1, ptr noundef @.str.28)
          to label %146 unwind label %100

146:                                              ; preds = %144
  %147 = icmp ne i32 %145, 0
  %148 = xor i1 %147, true
  br i1 %148, label %149, label %152

149:                                              ; preds = %146
  %150 = 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) %14, ptr noundef nonnull align 8 dereferenceable(32) %17)
          to label %151 unwind label %100

151:                                              ; preds = %149
  br label %144, !llvm.loop !16

152:                                              ; preds = %146
  call void @llvm.lifetime.start.p0(i64 384, ptr %26) #11
  invoke void @_ZNSt7__cxx1119basic_istringstreamIcSt11char_traitsIcESaIcEEC1ERKNS_12basic_stringIcS2_S3_EESt13_Ios_Openmode(ptr noundef nonnull align 8 dereferenceable(120) %26, ptr noundef nonnull align 8 dereferenceable(32) %17, i32 noundef 8)
          to label %153 unwind label %172

153:                                              ; preds = %152
  %154 = load ptr, ptr %9, align 8, !tbaa !5
  %155 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERm(ptr noundef nonnull align 8 dereferenceable(16) %26, ptr noundef nonnull align 8 dereferenceable(8) %154)
          to label %156 unwind label %176

156:                                              ; preds = %153
  %157 = load ptr, ptr %9, align 8, !tbaa !5
  %158 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERm(ptr noundef nonnull align 8 dereferenceable(16) %155, ptr noundef nonnull align 8 dereferenceable(8) %157)
          to label %159 unwind label %176

159:                                              ; preds = %156
  %160 = load ptr, ptr %10, align 8, !tbaa !5
  %161 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERm(ptr noundef nonnull align 8 dereferenceable(16) %158, ptr noundef nonnull align 8 dereferenceable(8) %160)
          to label %162 unwind label %176

162:                                              ; preds = %159
  %163 = load ptr, ptr %161, align 8, !tbaa !14
  %164 = getelementptr i8, ptr %163, i64 -24
  %165 = load i64, ptr %164, align 8
  %166 = getelementptr inbounds i8, ptr %161, i64 %165
  %167 = invoke noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEEntEv(ptr noundef nonnull align 8 dereferenceable(264) %166)
          to label %168 unwind label %176

168:                                              ; preds = %162
  br i1 %167, label %169, label %180

169:                                              ; preds = %168
  %170 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.29)
          to label %171 unwind label %176

171:                                              ; preds = %169
  store i1 false, ptr %7, align 1
  store i32 1, ptr %25, align 4
  br label %422

172:                                              ; preds = %152
  %173 = landingpad { ptr, i32 }
          cleanup
  %174 = extractvalue { ptr, i32 } %173, 0
  store ptr %174, ptr %15, align 8
  %175 = extractvalue { ptr, i32 } %173, 1
  store i32 %175, ptr %16, align 4
  br label %424

176:                                              ; preds = %207, %198, %189, %169, %162, %159, %156, %153
  %177 = landingpad { ptr, i32 }
          cleanup
  %178 = extractvalue { ptr, i32 } %177, 0
  store ptr %178, ptr %15, align 8
  %179 = extractvalue { ptr, i32 } %177, 1
  store i32 %179, ptr %16, align 4
  br label %423

180:                                              ; preds = %168
  %181 = load ptr, ptr %9, align 8, !tbaa !5
  %182 = load i64, ptr %181, align 8, !tbaa !17
  %183 = icmp ule i64 %182, 0
  br i1 %183, label %188, label %184

184:                                              ; preds = %180
  %185 = load ptr, ptr %10, align 8, !tbaa !5
  %186 = load i64, ptr %185, align 8, !tbaa !17
  %187 = icmp ule i64 %186, 0
  br i1 %187, label %188, label %189

188:                                              ; preds = %184, %180
  store i1 false, ptr %7, align 1
  store i32 1, ptr %25, align 4
  br label %422

189:                                              ; preds = %184
  %190 = load ptr, ptr %9, align 8, !tbaa !5
  %191 = load i64, ptr %190, align 8, !tbaa !17
  %192 = add i64 %191, 1
  %193 = call { i64, i1 } @llvm.umul.with.overflow.i64(i64 %192, i64 4)
  %194 = extractvalue { i64, i1 } %193, 1
  %195 = extractvalue { i64, i1 } %193, 0
  %196 = select i1 %194, i64 -1, i64 %195
  %197 = invoke noalias noundef nonnull ptr @_Znam(i64 noundef %196) #13
          to label %198 unwind label %176

198:                                              ; preds = %189
  call void @llvm.memset.p0.i64(ptr align 4 %197, i8 0, i64 %196, i1 false)
  %199 = load ptr, ptr %11, align 8, !tbaa !5
  store ptr %197, ptr %199, align 8, !tbaa !5
  %200 = load ptr, ptr %10, align 8, !tbaa !5
  %201 = load i64, ptr %200, align 8, !tbaa !17
  %202 = call { i64, i1 } @llvm.umul.with.overflow.i64(i64 %201, i64 4)
  %203 = extractvalue { i64, i1 } %202, 1
  %204 = extractvalue { i64, i1 } %202, 0
  %205 = select i1 %203, i64 -1, i64 %204
  %206 = invoke noalias noundef nonnull ptr @_Znam(i64 noundef %205) #13
          to label %207 unwind label %176

207:                                              ; preds = %198
  %208 = load ptr, ptr %12, align 8, !tbaa !5
  store ptr %206, ptr %208, align 8, !tbaa !5
  %209 = load ptr, ptr %10, align 8, !tbaa !5
  %210 = load i64, ptr %209, align 8, !tbaa !17
  %211 = call { i64, i1 } @llvm.umul.with.overflow.i64(i64 %210, i64 8)
  %212 = extractvalue { i64, i1 } %211, 1
  %213 = extractvalue { i64, i1 } %211, 0
  %214 = select i1 %212, i64 -1, i64 %213
  %215 = invoke noalias noundef nonnull ptr @_Znam(i64 noundef %214) #13
          to label %216 unwind label %176

216:                                              ; preds = %207
  %217 = load ptr, ptr %13, align 8, !tbaa !5
  store ptr %215, ptr %217, align 8, !tbaa !5
  %218 = load ptr, ptr %13, align 8, !tbaa !5
  %219 = load ptr, ptr %218, align 8, !tbaa !5
  %220 = icmp ne ptr %219, null
  br i1 %220, label %221, label %229

221:                                              ; preds = %216
  %222 = load ptr, ptr %11, align 8, !tbaa !5
  %223 = load ptr, ptr %222, align 8, !tbaa !5
  %224 = icmp ne ptr %223, null
  br i1 %224, label %225, label %229

225:                                              ; preds = %221
  %226 = load ptr, ptr %12, align 8, !tbaa !5
  %227 = load ptr, ptr %226, align 8, !tbaa !5
  %228 = icmp ne ptr %227, null
  br i1 %228, label %230, label %229

229:                                              ; preds = %225, %221, %216
  store i1 false, ptr %7, align 1
  store i32 1, ptr %25, align 4
  br label %422

230:                                              ; preds = %225
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #11
  call void @llvm.lifetime.start.p0(i64 4, ptr %28) #11
  call void @llvm.lifetime.start.p0(i64 4, ptr %29) #11
  store i32 0, ptr %29, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %30) #11
  store i32 0, ptr %30, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #11
  %231 = load ptr, ptr %11, align 8, !tbaa !5
  %232 = load ptr, ptr %231, align 8, !tbaa !5
  %233 = getelementptr inbounds i32, ptr %232, i64 0
  store i32 0, ptr %233, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %32) #11
  store i32 1, ptr %32, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %33) #11
  store i32 0, ptr %33, align 4, !tbaa !9
  br label %234

234:                                              ; preds = %347, %230
  %235 = load i32, ptr %30, align 4, !tbaa !9
  %236 = sext i32 %235 to i64
  %237 = load ptr, ptr %10, align 8, !tbaa !5
  %238 = load i64, ptr %237, align 8, !tbaa !17
  %239 = icmp ult i64 %236, %238
  br i1 %239, label %241, label %240

240:                                              ; preds = %234
  store i32 7, ptr %25, align 4
  br label %348

241:                                              ; preds = %234
  %242 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %14, ptr noundef nonnull align 4 dereferenceable(4) %28)
          to label %243 unwind label %262

243:                                              ; preds = %241
  %244 = load i32, ptr %28, align 4, !tbaa !9
  %245 = add nsw i32 %244, -1
  store i32 %245, ptr %28, align 4, !tbaa !9
  %246 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %14, ptr noundef nonnull align 4 dereferenceable(4) %27)
          to label %247 unwind label %262

247:                                              ; preds = %243
  %248 = load i32, ptr %27, align 4, !tbaa !9
  %249 = add nsw i32 %248, -1
  store i32 %249, ptr %27, align 4, !tbaa !9
  %250 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERd(ptr noundef nonnull align 8 dereferenceable(16) %14, ptr noundef nonnull align 8 dereferenceable(8) %31)
          to label %251 unwind label %262

251:                                              ; preds = %247
  %252 = load i32, ptr %33, align 4, !tbaa !9
  %253 = icmp eq i32 %252, 0
  br i1 %253, label %254, label %267

254:                                              ; preds = %251
  %255 = load i32, ptr %32, align 4, !tbaa !9
  %256 = icmp ne i32 %255, 0
  br i1 %256, label %257, label %267

257:                                              ; preds = %254
  %258 = load i32, ptr %27, align 4, !tbaa !9
  %259 = icmp ne i32 %258, 0
  br i1 %259, label %260, label %266

260:                                              ; preds = %257
  %261 = load i32, ptr %27, align 4, !tbaa !9
  store i32 %261, ptr %33, align 4, !tbaa !9
  br label %266

262:                                              ; preds = %247, %243, %241
  %263 = landingpad { ptr, i32 }
          cleanup
  %264 = extractvalue { ptr, i32 } %263, 0
  store ptr %264, ptr %15, align 8
  %265 = extractvalue { ptr, i32 } %263, 1
  store i32 %265, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %33) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #11
  br label %423

266:                                              ; preds = %260, %257
  store i32 0, ptr %32, align 4, !tbaa !9
  br label %267

267:                                              ; preds = %266, %254, %251
  %268 = load i32, ptr %27, align 4, !tbaa !9
  %269 = sext i32 %268 to i64
  %270 = load ptr, ptr %9, align 8, !tbaa !5
  %271 = load i64, ptr %270, align 8, !tbaa !17
  %272 = icmp ugt i64 %269, %271
  br i1 %272, label %273, label %274

273:                                              ; preds = %267
  store i1 false, ptr %7, align 1
  store i32 1, ptr %25, align 4
  br label %348

274:                                              ; preds = %267
  %275 = load i32, ptr %27, align 4, !tbaa !9
  %276 = load i32, ptr %33, align 4, !tbaa !9
  %277 = icmp eq i32 %275, %276
  br i1 %277, label %278, label %295

278:                                              ; preds = %274
  %279 = load double, ptr %31, align 8, !tbaa !19
  %280 = load ptr, ptr %13, align 8, !tbaa !5
  %281 = load ptr, ptr %280, align 8, !tbaa !5
  %282 = load i32, ptr %30, align 4, !tbaa !9
  %283 = sext i32 %282 to i64
  %284 = getelementptr inbounds double, ptr %281, i64 %283
  store double %279, ptr %284, align 8, !tbaa !19
  %285 = load i32, ptr %28, align 4, !tbaa !9
  %286 = load ptr, ptr %12, align 8, !tbaa !5
  %287 = load ptr, ptr %286, align 8, !tbaa !5
  %288 = load i32, ptr %30, align 4, !tbaa !9
  %289 = sext i32 %288 to i64
  %290 = getelementptr inbounds i32, ptr %287, i64 %289
  store i32 %285, ptr %290, align 4, !tbaa !9
  %291 = load i32, ptr %29, align 4, !tbaa !9
  %292 = add nsw i32 %291, 1
  store i32 %292, ptr %29, align 4, !tbaa !9
  %293 = load i32, ptr %30, align 4, !tbaa !9
  %294 = add nsw i32 %293, 1
  store i32 %294, ptr %30, align 4, !tbaa !9
  br label %347

295:                                              ; preds = %274
  call void @llvm.lifetime.start.p0(i64 4, ptr %34) #11
  %296 = load ptr, ptr %11, align 8, !tbaa !5
  %297 = load ptr, ptr %296, align 8, !tbaa !5
  %298 = load i32, ptr %33, align 4, !tbaa !9
  %299 = sext i32 %298 to i64
  %300 = getelementptr inbounds i32, ptr %297, i64 %299
  %301 = load i32, ptr %300, align 4, !tbaa !9
  %302 = load i32, ptr %29, align 4, !tbaa !9
  %303 = add nsw i32 %301, %302
  store i32 %303, ptr %34, align 4, !tbaa !9
  %304 = load i32, ptr %34, align 4, !tbaa !9
  %305 = load ptr, ptr %11, align 8, !tbaa !5
  %306 = load ptr, ptr %305, align 8, !tbaa !5
  %307 = load i32, ptr %33, align 4, !tbaa !9
  %308 = add nsw i32 %307, 1
  %309 = sext i32 %308 to i64
  %310 = getelementptr inbounds i32, ptr %306, i64 %309
  store i32 %304, ptr %310, align 4, !tbaa !9
  %311 = load i32, ptr %33, align 4, !tbaa !9
  %312 = add nsw i32 %311, 1
  store i32 %312, ptr %33, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %35) #11
  %313 = load i32, ptr %33, align 4, !tbaa !9
  store i32 %313, ptr %35, align 4, !tbaa !9
  br label %314

314:                                              ; preds = %329, %295
  %315 = load i32, ptr %35, align 4, !tbaa !9
  %316 = load i32, ptr %27, align 4, !tbaa !9
  %317 = icmp slt i32 %315, %316
  br i1 %317, label %319, label %318

318:                                              ; preds = %314
  store i32 9, ptr %25, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %35) #11
  br label %332

319:                                              ; preds = %314
  %320 = load i32, ptr %34, align 4, !tbaa !9
  %321 = load ptr, ptr %11, align 8, !tbaa !5
  %322 = load ptr, ptr %321, align 8, !tbaa !5
  %323 = load i32, ptr %35, align 4, !tbaa !9
  %324 = add nsw i32 %323, 1
  %325 = sext i32 %324 to i64
  %326 = getelementptr inbounds i32, ptr %322, i64 %325
  store i32 %320, ptr %326, align 4, !tbaa !9
  %327 = load i32, ptr %33, align 4, !tbaa !9
  %328 = add nsw i32 %327, 1
  store i32 %328, ptr %33, align 4, !tbaa !9
  br label %329

329:                                              ; preds = %319
  %330 = load i32, ptr %35, align 4, !tbaa !9
  %331 = add nsw i32 %330, 1
  store i32 %331, ptr %35, align 4, !tbaa !9
  br label %314, !llvm.loop !21

332:                                              ; preds = %318
  store i32 1, ptr %29, align 4, !tbaa !9
  %333 = load double, ptr %31, align 8, !tbaa !19
  %334 = load ptr, ptr %13, align 8, !tbaa !5
  %335 = load ptr, ptr %334, align 8, !tbaa !5
  %336 = load i32, ptr %30, align 4, !tbaa !9
  %337 = sext i32 %336 to i64
  %338 = getelementptr inbounds double, ptr %335, i64 %337
  store double %333, ptr %338, align 8, !tbaa !19
  %339 = load i32, ptr %28, align 4, !tbaa !9
  %340 = load ptr, ptr %12, align 8, !tbaa !5
  %341 = load ptr, ptr %340, align 8, !tbaa !5
  %342 = load i32, ptr %30, align 4, !tbaa !9
  %343 = sext i32 %342 to i64
  %344 = getelementptr inbounds i32, ptr %341, i64 %343
  store i32 %339, ptr %344, align 4, !tbaa !9
  %345 = load i32, ptr %30, align 4, !tbaa !9
  %346 = add nsw i32 %345, 1
  store i32 %346, ptr %30, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #11
  br label %347

347:                                              ; preds = %332, %278
  br label %234, !llvm.loop !22

348:                                              ; preds = %273, %240
  call void @llvm.lifetime.end.p0(i64 4, ptr %33) #11
  %349 = load i32, ptr %25, align 4
  switch i32 %349, label %421 [
    i32 7, label %350
  ]

350:                                              ; preds = %348
  %351 = load i32, ptr %27, align 4, !tbaa !9
  %352 = sext i32 %351 to i64
  %353 = load ptr, ptr %9, align 8, !tbaa !5
  %354 = load i64, ptr %353, align 8, !tbaa !17
  %355 = sub i64 %354, 1
  %356 = icmp eq i64 %352, %355
  br i1 %356, label %357, label %372

357:                                              ; preds = %350
  %358 = load ptr, ptr %11, align 8, !tbaa !5
  %359 = load ptr, ptr %358, align 8, !tbaa !5
  %360 = load ptr, ptr %9, align 8, !tbaa !5
  %361 = load i64, ptr %360, align 8, !tbaa !17
  %362 = sub i64 %361, 1
  %363 = getelementptr inbounds i32, ptr %359, i64 %362
  %364 = load i32, ptr %363, align 4, !tbaa !9
  %365 = load i32, ptr %29, align 4, !tbaa !9
  %366 = add nsw i32 %364, %365
  %367 = load ptr, ptr %11, align 8, !tbaa !5
  %368 = load ptr, ptr %367, align 8, !tbaa !5
  %369 = load ptr, ptr %9, align 8, !tbaa !5
  %370 = load i64, ptr %369, align 8, !tbaa !17
  %371 = getelementptr inbounds i32, ptr %368, i64 %370
  store i32 %366, ptr %371, align 4, !tbaa !9
  br label %420

372:                                              ; preds = %350
  call void @llvm.lifetime.start.p0(i64 4, ptr %36) #11
  %373 = load ptr, ptr %11, align 8, !tbaa !5
  %374 = load ptr, ptr %373, align 8, !tbaa !5
  %375 = load i32, ptr %27, align 4, !tbaa !9
  %376 = sext i32 %375 to i64
  %377 = getelementptr inbounds i32, ptr %374, i64 %376
  %378 = load i32, ptr %377, align 4, !tbaa !9
  %379 = load i32, ptr %29, align 4, !tbaa !9
  %380 = add nsw i32 %378, %379
  store i32 %380, ptr %36, align 4, !tbaa !9
  %381 = load i32, ptr %36, align 4, !tbaa !9
  %382 = load ptr, ptr %11, align 8, !tbaa !5
  %383 = load ptr, ptr %382, align 8, !tbaa !5
  %384 = load i32, ptr %27, align 4, !tbaa !9
  %385 = add nsw i32 %384, 1
  %386 = sext i32 %385 to i64
  %387 = getelementptr inbounds i32, ptr %383, i64 %386
  store i32 %381, ptr %387, align 4, !tbaa !9
  %388 = load i32, ptr %27, align 4, !tbaa !9
  %389 = add nsw i32 %388, 1
  store i32 %389, ptr %27, align 4, !tbaa !9
  %390 = load i32, ptr %36, align 4, !tbaa !9
  %391 = sext i32 %390 to i64
  %392 = load ptr, ptr %10, align 8, !tbaa !5
  %393 = load i64, ptr %392, align 8, !tbaa !17
  %394 = icmp eq i64 %391, %393
  br i1 %394, label %395, label %396

395:                                              ; preds = %372
  br label %398

396:                                              ; preds = %372
  call void @__assert_fail(ptr noundef @.str.30, ptr noundef @.str.31, i32 noundef 186, ptr noundef @__PRETTY_FUNCTION__._ZN5nasoq10readMatrixENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERmS6_RPiS8_RPd) #14
  unreachable

397:                                              ; No predecessors!
  br label %398

398:                                              ; preds = %397, %395
  call void @llvm.lifetime.start.p0(i64 4, ptr %37) #11
  %399 = load i32, ptr %27, align 4, !tbaa !9
  %400 = add nsw i32 %399, 1
  store i32 %400, ptr %37, align 4, !tbaa !9
  br label %401

401:                                              ; preds = %416, %398
  %402 = load i32, ptr %37, align 4, !tbaa !9
  %403 = sext i32 %402 to i64
  %404 = load ptr, ptr %9, align 8, !tbaa !5
  %405 = load i64, ptr %404, align 8, !tbaa !17
  %406 = add i64 %405, 1
  %407 = icmp ult i64 %403, %406
  br i1 %407, label %409, label %408

408:                                              ; preds = %401
  store i32 12, ptr %25, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %37) #11
  br label %419

409:                                              ; preds = %401
  %410 = load i32, ptr %36, align 4, !tbaa !9
  %411 = load ptr, ptr %11, align 8, !tbaa !5
  %412 = load ptr, ptr %411, align 8, !tbaa !5
  %413 = load i32, ptr %37, align 4, !tbaa !9
  %414 = sext i32 %413 to i64
  %415 = getelementptr inbounds i32, ptr %412, i64 %414
  store i32 %410, ptr %415, align 4, !tbaa !9
  br label %416

416:                                              ; preds = %409
  %417 = load i32, ptr %37, align 4, !tbaa !9
  %418 = add nsw i32 %417, 1
  store i32 %418, ptr %37, align 4, !tbaa !9
  br label %401, !llvm.loop !23

419:                                              ; preds = %408
  call void @llvm.lifetime.end.p0(i64 4, ptr %36) #11
  br label %420

420:                                              ; preds = %419, %357
  store i1 true, ptr %7, align 1
  store i32 1, ptr %25, align 4
  br label %421

421:                                              ; preds = %420, %348
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #11
  br label %422

422:                                              ; preds = %421, %229, %188, %171
  call void @_ZNSt7__cxx1119basic_istringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(120) %26) #11
  call void @llvm.lifetime.end.p0(i64 384, ptr %26) #11
  br label %425

423:                                              ; preds = %262, %176
  call void @_ZNSt7__cxx1119basic_istringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(120) %26) #11
  br label %424

424:                                              ; preds = %423, %172
  call void @llvm.lifetime.end.p0(i64 384, ptr %26) #11
  br label %427

425:                                              ; preds = %422, %142, %139, %133, %121, %115, %109, %95
  call void @_ZNSt7__cxx1119basic_istringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(120) %24) #11
  call void @llvm.lifetime.end.p0(i64 384, ptr %24) #11
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %22) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr %22) #11
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %21) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr %21) #11
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %20) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr %20) #11
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %19) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr %19) #11
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %18) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr %18) #11
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %17) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr %17) #11
  call void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(256) %14) #11
  call void @llvm.lifetime.end.p0(i64 520, ptr %14) #11
  %426 = load i1, ptr %7, align 1
  ret i1 %426

427:                                              ; preds = %424, %100
  call void @_ZNSt7__cxx1119basic_istringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(120) %24) #11
  br label %428

428:                                              ; preds = %427, %96
  call void @llvm.lifetime.end.p0(i64 384, ptr %24) #11
  br label %429

429:                                              ; preds = %428, %71, %51
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %22) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr %22) #11
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %21) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr %21) #11
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %20) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr %20) #11
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %19) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr %19) #11
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %18) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr %18) #11
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %17) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr %17) #11
  br label %430

430:                                              ; preds = %429, %47
  call void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(256) %14) #11
  call void @llvm.lifetime.end.p0(i64 520, ptr %14) #11
  br label %431

431:                                              ; preds = %430
  %432 = load ptr, ptr %15, align 8
  %433 = load i32, ptr %16, align 4
  %434 = insertvalue { ptr, i32 } poison, ptr %432, 0
  %435 = insertvalue { ptr, i32 } %434, i32 %433, 1
  resume { ptr, i32 } %435
}

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

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

; Function Attrs: nounwind willreturn memory(read)
declare i32 @tolower(i32 noundef) #8

; 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 uwtable
declare void @_ZNSt7__cxx1119basic_istringstreamIcSt11char_traitsIcESaIcEEC1ERKNS_12basic_stringIcS2_S3_EESt13_Ios_Openmode(ptr noundef nonnull align 8 dereferenceable(120), ptr noundef nonnull align 8 dereferenceable(32), i32 noundef) unnamed_addr #2 align 2

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZStrsIcSt11char_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_traitsIcEEntEv(ptr noundef nonnull align 8 dereferenceable(264)) #2 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) #7

; Function Attrs: nounwind
declare noundef i32 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE7compareEPKc(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef) #9

declare noundef i32 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE7compareEmmPKc(ptr noundef nonnull align 8 dereferenceable(32), i64 noundef, i64 noundef, ptr noundef) #3

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

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #10

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1119basic_istringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(120)) 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 = { "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 nosync nounwind speculatable willreturn memory(none) }
attributes #5 = { nobuiltin allocsize(0) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #7 = { 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 #8 = { 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 #9 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #10 = { noreturn nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #11 = { nounwind }
attributes #12 = { nounwind willreturn memory(read) }
attributes #13 = { builtin allocsize(0) }
attributes #14 = { noreturn nounwind }

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

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


; 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::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.0 }
%union.anon.0 = type { i32 }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::__cxx11::basic_istringstream" = type { %"class.std::basic_istream.base", %"class.std::__cxx11::basic_stringbuf", %"class.std::basic_ios" }
%"class.std::__cxx11::basic_stringbuf" = type { %"class.std::basic_streambuf", i32, %"class.std::__cxx11::basic_string" }

@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str.14 = external hidden unnamed_addr constant [55 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [56 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [60 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [38 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [68 x i8], align 1
@__PRETTY_FUNCTION__._ZN5nasoq10readMatrixENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERmS6_RPiS8_RPd = external hidden unnamed_addr constant [83 x i8], align 1

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

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERd(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(8)) 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 uwtable
define dso_local noundef zeroext i1 @_ZN5nasoq10readMatrixENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERmS6_RPiS8_RPd(ptr noundef %0, ptr noundef nonnull align 8 dereferenceable(8) %1, ptr noundef nonnull align 8 dereferenceable(8) %2, ptr nocapture noundef nonnull align 8 dereferenceable(8) %3, ptr nocapture noundef nonnull align 8 dereferenceable(8) %4, ptr nocapture noundef nonnull align 8 dereferenceable(8) %5) local_unnamed_addr #2 personality ptr @__gxx_personality_v0 {
  %7 = alloca %"class.std::basic_ifstream", align 8
  %8 = alloca %"class.std::__cxx11::basic_string", align 8
  %9 = alloca %"class.std::__cxx11::basic_string", align 8
  %10 = alloca %"class.std::__cxx11::basic_string", align 8
  %11 = alloca %"class.std::__cxx11::basic_string", align 8
  %12 = alloca %"class.std::__cxx11::basic_string", align 8
  %13 = alloca %"class.std::__cxx11::basic_string", align 8
  %14 = alloca %"class.std::__cxx11::basic_istringstream", align 8
  %15 = alloca %"class.std::__cxx11::basic_istringstream", align 8
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca double, align 8
  call void @llvm.lifetime.start.p0(i64 520, ptr nonnull %7) #10
  call void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(256) %7)
  invoke void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEE4openERKNSt7__cxx1112basic_stringIcS1_SaIcEEESt13_Ios_Openmode(ptr noundef nonnull align 8 dereferenceable(256) %7, ptr noundef nonnull align 8 dereferenceable(32) %0, i32 noundef 8)
          to label %19 unwind label %22

19:                                               ; preds = %6
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %8) #10
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #10
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %9) #10
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #10
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %10) #10
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #10
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %11) #10
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #10
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %12) #10
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %12) #10
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %13) #10
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #10
  %20 = 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) %7, ptr noundef nonnull align 8 dereferenceable(32) %8)
          to label %.preheader unwind label %24

.preheader:                                       ; preds = %19
  %21 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6lengthEv(ptr noundef nonnull align 8 dereferenceable(32) %8) #10
  %.not151 = icmp eq i64 %21, 0
  br i1 %.not151, label %._crit_edge, label %.lr.ph

._crit_edge:                                      ; preds = %.lr.ph, %.preheader
  call void @llvm.lifetime.start.p0(i64 384, ptr nonnull %14) #10
  invoke void @_ZNSt7__cxx1119basic_istringstreamIcSt11char_traitsIcESaIcEEC1ERKNS_12basic_stringIcS2_S3_EESt13_Ios_Openmode(ptr noundef nonnull align 8 dereferenceable(120) %14, ptr noundef nonnull align 8 dereferenceable(32) %8, i32 noundef 8)
          to label %37 unwind label %56

22:                                               ; preds = %6
  %23 = landingpad { ptr, i32 }
          cleanup
  br label %211

24:                                               ; preds = %19
  %25 = landingpad { ptr, i32 }
          cleanup
  br label %210

.lr.ph:                                           ; preds = %.preheader, %.lr.ph
  %26 = phi i64 [ %34, %.lr.ph ], [ 0, %.preheader ]
  %.090132 = phi i32 [ %33, %.lr.ph ], [ 0, %.preheader ]
  %27 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %8, i64 noundef %26)
  %28 = load i8, ptr %27, align 1, !tbaa !5
  %29 = sext i8 %28 to i32
  %30 = call i32 @tolower(i32 noundef %29) #11
  %31 = trunc i32 %30 to i8
  %32 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %8, i64 noundef %26)
  store i8 %31, ptr %32, align 1, !tbaa !5
  %33 = add i32 %.090132, 1
  %34 = zext i32 %33 to i64
  %35 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6lengthEv(ptr noundef nonnull align 8 dereferenceable(32) %8) #10
  %36 = icmp ugt i64 %35, %34
  br i1 %36, label %.lr.ph, label %._crit_edge, !llvm.loop !8

37:                                               ; preds = %._crit_edge
  %38 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZStrsIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(16) %14, ptr noundef nonnull align 8 dereferenceable(32) %9)
          to label %39 unwind label %.loopexit.split-lp

39:                                               ; preds = %37
  %40 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZStrsIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(16) %38, ptr noundef nonnull align 8 dereferenceable(32) %10)
          to label %41 unwind label %.loopexit.split-lp

41:                                               ; preds = %39
  %42 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZStrsIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(16) %40, ptr noundef nonnull align 8 dereferenceable(32) %11)
          to label %43 unwind label %.loopexit.split-lp

43:                                               ; preds = %41
  %44 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZStrsIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(16) %42, ptr noundef nonnull align 8 dereferenceable(32) %12)
          to label %45 unwind label %.loopexit.split-lp

45:                                               ; preds = %43
  %46 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZStrsIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(16) %44, ptr noundef nonnull align 8 dereferenceable(32) %13)
          to label %47 unwind label %.loopexit.split-lp

47:                                               ; preds = %45
  %48 = load ptr, ptr %46, align 8, !tbaa !10
  %49 = getelementptr i8, ptr %48, i64 -24
  %50 = load i64, ptr %49, align 8
  %51 = getelementptr inbounds i8, ptr %46, i64 %50
  %52 = invoke noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEEntEv(ptr noundef nonnull align 8 dereferenceable(264) %51)
          to label %53 unwind label %.loopexit.split-lp

53:                                               ; preds = %47
  br i1 %52, label %.invoke, label %58

.invoke:                                          ; preds = %53, %70, %68, %62, %60, %58
  %54 = phi ptr [ @.str.16, %58 ], [ @.str.18, %60 ], [ @.str.20, %62 ], [ @.str.24, %68 ], [ %.str.26..str.27, %70 ], [ @.str.14, %53 ]
  %55 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull %54)
          to label %207 unwind label %.loopexit.split-lp

56:                                               ; preds = %._crit_edge
  %57 = landingpad { ptr, i32 }
          cleanup
  br label %209

.loopexit126:                                     ; preds = %72, %75
  %lpad.loopexit = landingpad { ptr, i32 }
          cleanup
  br label %208

.loopexit.split-lp:                               ; preds = %.invoke, %37, %39, %41, %43, %45, %47
  %lpad.loopexit.split-lp = landingpad { ptr, i32 }
          cleanup
  br label %208

58:                                               ; preds = %53
  %59 = call noundef i32 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE7compareEPKc(ptr noundef nonnull align 8 dereferenceable(32) %9, ptr noundef nonnull @.str.15) #10
  %.not = icmp eq i32 %59, 0
  br i1 %.not, label %60, label %.invoke

60:                                               ; preds = %58
  %61 = call noundef i32 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE7compareEPKc(ptr noundef nonnull align 8 dereferenceable(32) %10, ptr noundef nonnull @.str.17) #10
  %.not104 = icmp eq i32 %61, 0
  br i1 %.not104, label %62, label %.invoke

62:                                               ; preds = %60
  %63 = call noundef i32 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE7compareEPKc(ptr noundef nonnull align 8 dereferenceable(32) %11, ptr noundef nonnull @.str.19) #10
  %.not105 = icmp eq i32 %63, 0
  br i1 %.not105, label %64, label %.invoke

64:                                               ; preds = %62
  %65 = call noundef i32 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE7compareEPKc(ptr noundef nonnull align 8 dereferenceable(32) %12, ptr noundef nonnull @.str.21) #10
  %.not106 = icmp eq i32 %65, 0
  br i1 %.not106, label %.preheader174, label %66

.preheader174:                                    ; preds = %66, %64
  br label %72

66:                                               ; preds = %64
  %67 = call noundef i32 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE7compareEPKc(ptr noundef nonnull align 8 dereferenceable(32) %12, ptr noundef nonnull @.str.22) #10
  %.not107 = icmp eq i32 %67, 0
  br i1 %.not107, label %.preheader174, label %68

68:                                               ; preds = %66
  %69 = call noundef i32 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE7compareEPKc(ptr noundef nonnull align 8 dereferenceable(32) %12, ptr noundef nonnull @.str.23) #10
  %.not115 = icmp eq i32 %69, 0
  br i1 %.not115, label %.invoke, label %70

70:                                               ; preds = %68
  %71 = call noundef i32 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE7compareEPKc(ptr noundef nonnull align 8 dereferenceable(32) %12, ptr noundef nonnull @.str.25) #10
  %.not116 = icmp eq i32 %71, 0
  %.str.26..str.27 = select i1 %.not116, ptr @.str.26, ptr @.str.27
  br label %.invoke

72:                                               ; preds = %.preheader174, %75
  %73 = invoke noundef i32 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE7compareEmmPKc(ptr noundef nonnull align 8 dereferenceable(32) %8, i64 noundef 0, i64 noundef 1, ptr noundef nonnull @.str.28)
          to label %74 unwind label %.loopexit126

74:                                               ; preds = %72
  %.not108 = icmp eq i32 %73, 0
  br i1 %.not108, label %75, label %77

75:                                               ; preds = %74
  %76 = 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) %7, ptr noundef nonnull align 8 dereferenceable(32) %8)
          to label %72 unwind label %.loopexit126, !llvm.loop !12

77:                                               ; preds = %74
  call void @llvm.lifetime.start.p0(i64 384, ptr nonnull %15) #10
  invoke void @_ZNSt7__cxx1119basic_istringstreamIcSt11char_traitsIcESaIcEEC1ERKNS_12basic_stringIcS2_S3_EESt13_Ios_Openmode(ptr noundef nonnull align 8 dereferenceable(120) %15, ptr noundef nonnull align 8 dereferenceable(32) %8, i32 noundef 8)
          to label %78 unwind label %93

78:                                               ; preds = %77
  %79 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERm(ptr noundef nonnull align 8 dereferenceable(16) %15, ptr noundef nonnull align 8 dereferenceable(8) %1)
          to label %80 unwind label %95

80:                                               ; preds = %78
  %81 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERm(ptr noundef nonnull align 8 dereferenceable(16) %79, ptr noundef nonnull align 8 dereferenceable(8) %1)
          to label %82 unwind label %95

82:                                               ; preds = %80
  %83 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERm(ptr noundef nonnull align 8 dereferenceable(16) %81, ptr noundef nonnull align 8 dereferenceable(8) %2)
          to label %84 unwind label %95

84:                                               ; preds = %82
  %85 = load ptr, ptr %83, align 8, !tbaa !10
  %86 = getelementptr i8, ptr %85, i64 -24
  %87 = load i64, ptr %86, align 8
  %88 = getelementptr inbounds i8, ptr %83, i64 %87
  %89 = invoke noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEEntEv(ptr noundef nonnull align 8 dereferenceable(264) %88)
          to label %90 unwind label %95

90:                                               ; preds = %84
  br i1 %89, label %91, label %97

91:                                               ; preds = %90
  %92 = 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.29)
          to label %204 unwind label %95

93:                                               ; preds = %77
  %94 = landingpad { ptr, i32 }
          cleanup
  br label %206

95:                                               ; preds = %113, %108, %102, %91, %84, %82, %80, %78
  %96 = landingpad { ptr, i32 }
          cleanup
  br label %205

97:                                               ; preds = %90
  %98 = load i64, ptr %1, align 8, !tbaa !13
  %99 = icmp eq i64 %98, 0
  %100 = load i64, ptr %2, align 8
  %101 = icmp eq i64 %100, 0
  %or.cond123 = select i1 %99, i1 true, i1 %101
  br i1 %or.cond123, label %204, label %102

102:                                              ; preds = %97
  %103 = add i64 %98, 1
  %104 = icmp ugt i64 %103, 4611686018427387903
  %105 = shl i64 %103, 2
  %106 = select i1 %104, i64 -1, i64 %105
  %107 = invoke noalias noundef nonnull ptr @_Znam(i64 noundef %106) #12
          to label %108 unwind label %95

108:                                              ; preds = %102
  call void @llvm.memset.p0.i64(ptr nonnull align 4 %107, i8 0, i64 %106, i1 false)
  store ptr %107, ptr %3, align 8, !tbaa !15
  %109 = icmp ugt i64 %100, 4611686018427387903
  %110 = shl i64 %100, 2
  %111 = select i1 %109, i64 -1, i64 %110
  %112 = invoke noalias noundef nonnull ptr @_Znam(i64 noundef %111) #12
          to label %113 unwind label %95

113:                                              ; preds = %108
  store ptr %112, ptr %4, align 8, !tbaa !15
  %114 = icmp ugt i64 %100, 2305843009213693951
  %115 = shl i64 %100, 3
  %116 = select i1 %114, i64 -1, i64 %115
  %117 = invoke noalias noundef nonnull ptr @_Znam(i64 noundef %116) #12
          to label %118 unwind label %95

118:                                              ; preds = %113
  store ptr %117, ptr %5, align 8, !tbaa !15
  %119 = load ptr, ptr %3, align 8, !tbaa !15
  %.not109 = icmp eq ptr %119, null
  %120 = load ptr, ptr %4, align 8
  %.not110 = icmp eq ptr %120, null
  %or.cond124 = select i1 %.not109, i1 true, i1 %.not110
  br i1 %or.cond124, label %204, label %121

121:                                              ; preds = %118
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %16) #10
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %17) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %18) #10
  store i32 0, ptr %119, align 4, !tbaa !17
  %122 = load i64, ptr %2, align 8, !tbaa !13
  %.not112138 = icmp eq i64 %122, 0
  br i1 %.not112138, label %.critedge, label %.lr.ph145

.lr.ph145:                                        ; preds = %121, %172
  %indvars.iv159 = phi i64 [ %indvars.iv.next160, %172 ], [ 0, %121 ]
  %.078142 = phi i32 [ %.482, %172 ], [ 0, %121 ]
  %.083141 = phi i32 [ %.184, %172 ], [ 1, %121 ]
  %.087139 = phi i32 [ %.188, %172 ], [ 0, %121 ]
  %123 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %7, ptr noundef nonnull align 4 dereferenceable(4) %17)
          to label %124 unwind label %139

124:                                              ; preds = %.lr.ph145
  %125 = load i32, ptr %17, align 4, !tbaa !17
  %126 = add nsw i32 %125, -1
  store i32 %126, ptr %17, align 4, !tbaa !17
  %127 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %7, ptr noundef nonnull align 4 dereferenceable(4) %16)
          to label %128 unwind label %139

128:                                              ; preds = %124
  %129 = load i32, ptr %16, align 4, !tbaa !17
  %130 = add nsw i32 %129, -1
  store i32 %130, ptr %16, align 4, !tbaa !17
  %131 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERd(ptr noundef nonnull align 8 dereferenceable(16) %7, ptr noundef nonnull align 8 dereferenceable(8) %18)
          to label %132 unwind label %139

132:                                              ; preds = %128
  %133 = icmp eq i32 %.078142, 0
  %134 = icmp ne i32 %.083141, 0
  %or.cond = select i1 %133, i1 %134, i1 false
  %135 = load i32, ptr %16, align 4
  %.184 = select i1 %133, i32 0, i32 %.083141
  %.280 = select i1 %or.cond, i32 %135, i32 %.078142
  %136 = sext i32 %135 to i64
  %137 = load i64, ptr %1, align 8, !tbaa !13
  %138 = icmp ult i64 %137, %136
  br i1 %138, label %.loopexit, label %141

139:                                              ; preds = %128, %124, %.lr.ph145
  %140 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %17) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %16) #10
  br label %205

141:                                              ; preds = %132
  %142 = icmp eq i32 %135, %.280
  br i1 %142, label %143, label %151

143:                                              ; preds = %141
  %144 = load double, ptr %18, align 8, !tbaa !19
  %145 = load ptr, ptr %5, align 8, !tbaa !15
  %146 = getelementptr inbounds double, ptr %145, i64 %indvars.iv159
  store double %144, ptr %146, align 8, !tbaa !19
  %147 = load i32, ptr %17, align 4, !tbaa !17
  %148 = load ptr, ptr %4, align 8, !tbaa !15
  %149 = getelementptr inbounds i32, ptr %148, i64 %indvars.iv159
  store i32 %147, ptr %149, align 4, !tbaa !17
  %150 = add nsw i32 %.087139, 1
  br label %172

151:                                              ; preds = %141
  %152 = load ptr, ptr %3, align 8, !tbaa !15
  %153 = sext i32 %.280 to i64
  %154 = getelementptr inbounds i32, ptr %152, i64 %153
  %155 = load i32, ptr %154, align 4, !tbaa !17
  %156 = add nsw i32 %155, %.087139
  %157 = add nsw i32 %.280, 1
  %158 = sext i32 %157 to i64
  %159 = getelementptr inbounds i32, ptr %152, i64 %158
  store i32 %156, ptr %159, align 4, !tbaa !17
  %160 = load i32, ptr %16, align 4, !tbaa !17
  %161 = icmp slt i32 %157, %160
  br i1 %161, label %.lr.ph136, label %._crit_edge137

._crit_edge137.loopexit:                          ; preds = %.lr.ph136
  %indvars157 = trunc i64 %indvars.iv.next to i32
  br label %._crit_edge137

._crit_edge137:                                   ; preds = %._crit_edge137.loopexit, %151
  %.381.lcssa = phi i32 [ %157, %151 ], [ %indvars157, %._crit_edge137.loopexit ]
  %162 = load double, ptr %18, align 8, !tbaa !19
  %163 = load ptr, ptr %5, align 8, !tbaa !15
  %164 = getelementptr inbounds double, ptr %163, i64 %indvars.iv159
  store double %162, ptr %164, align 8, !tbaa !19
  %165 = load i32, ptr %17, align 4, !tbaa !17
  %166 = load ptr, ptr %4, align 8, !tbaa !15
  %167 = getelementptr inbounds i32, ptr %166, i64 %indvars.iv159
  store i32 %165, ptr %167, align 4, !tbaa !17
  br label %172

.lr.ph136:                                        ; preds = %151, %.lr.ph136
  %indvars.iv = phi i64 [ %indvars.iv.next, %.lr.ph136 ], [ %158, %151 ]
  %indvars.iv.next = add nsw i64 %indvars.iv, 1
  %168 = getelementptr inbounds i32, ptr %152, i64 %indvars.iv.next
  store i32 %156, ptr %168, align 4, !tbaa !17
  %169 = load i32, ptr %16, align 4, !tbaa !17
  %170 = sext i32 %169 to i64
  %171 = icmp slt i64 %indvars.iv.next, %170
  br i1 %171, label %.lr.ph136, label %._crit_edge137.loopexit, !llvm.loop !21

172:                                              ; preds = %._crit_edge137, %143
  %.188 = phi i32 [ %150, %143 ], [ 1, %._crit_edge137 ]
  %.482 = phi i32 [ %135, %143 ], [ %.381.lcssa, %._crit_edge137 ]
  %indvars.iv.next160 = add nuw nsw i64 %indvars.iv159, 1
  %173 = load i64, ptr %2, align 8, !tbaa !13
  %.not112.not = icmp ugt i64 %173, %indvars.iv.next160
  br i1 %.not112.not, label %.lr.ph145, label %.critedge, !llvm.loop !22

.critedge:                                        ; preds = %172, %121
  %174 = phi i64 [ 0, %121 ], [ %173, %172 ]
  %175 = phi i64 [ %98, %121 ], [ %137, %172 ]
  %.087.lcssa = phi i32 [ 0, %121 ], [ %.188, %172 ]
  %176 = load i32, ptr %16, align 4, !tbaa !17
  %177 = sext i32 %176 to i64
  %178 = add i64 %175, -1
  %179 = icmp eq i64 %178, %177
  %180 = load ptr, ptr %3, align 8, !tbaa !15
  %181 = getelementptr inbounds i32, ptr %180, i64 %177
  %182 = load i32, ptr %181, align 4, !tbaa !17
  %183 = add nsw i32 %182, %.087.lcssa
  br i1 %179, label %184, label %186

184:                                              ; preds = %.critedge
  %185 = getelementptr inbounds i32, ptr %180, i64 %175
  store i32 %183, ptr %185, align 4, !tbaa !17
  br label %.loopexit

186:                                              ; preds = %.critedge
  %187 = getelementptr i8, ptr %181, i64 4
  store i32 %183, ptr %187, align 4, !tbaa !17
  %188 = load i32, ptr %16, align 4, !tbaa !17
  %189 = add nsw i32 %188, 1
  store i32 %189, ptr %16, align 4, !tbaa !17
  %190 = sext i32 %183 to i64
  %191 = icmp eq i64 %174, %190
  br i1 %191, label %193, label %192

192:                                              ; preds = %186
  call void @__assert_fail(ptr noundef nonnull @.str.30, ptr noundef nonnull @.str.31, i32 noundef 186, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN5nasoq10readMatrixENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERmS6_RPiS8_RPd) #13
  unreachable

193:                                              ; preds = %186
  %194 = add nsw i32 %188, 2
  %195 = add i64 %175, 1
  %196 = sext i32 %194 to i64
  %197 = icmp ugt i64 %195, %196
  br i1 %197, label %.lr.ph150.preheader, label %.loopexit

.lr.ph150.preheader:                              ; preds = %193
  %198 = add i64 %175, 1
  %199 = sub i64 %198, %196
  %min.iters.check = icmp ult i64 %199, 8
  br i1 %min.iters.check, label %.lr.ph150.preheader170, label %vector.ph

vector.ph:                                        ; preds = %.lr.ph150.preheader
  %n.vec = and i64 %199, -8
  %ind.end = add i64 %n.vec, %196
  %broadcast.splatinsert = insertelement <4 x i32> poison, i32 %183, i64 0
  %broadcast.splat = shufflevector <4 x i32> %broadcast.splatinsert, <4 x i32> poison, <4 x i32> zeroinitializer
  %invariant.gep = getelementptr i32, ptr %180, i64 %196
  br label %vector.body

vector.body:                                      ; preds = %vector.body, %vector.ph
  %index = phi i64 [ 0, %vector.ph ], [ %index.next, %vector.body ]
  %gep = getelementptr i32, ptr %invariant.gep, i64 %index
  %200 = getelementptr inbounds i8, ptr %gep, i64 16
  store <4 x i32> %broadcast.splat, ptr %gep, align 4, !tbaa !17
  store <4 x i32> %broadcast.splat, ptr %200, align 4, !tbaa !17
  %index.next = add nuw i64 %index, 8
  %201 = icmp eq i64 %index.next, %n.vec
  br i1 %201, label %middle.block, label %vector.body, !llvm.loop !23

middle.block:                                     ; preds = %vector.body
  %cmp.n = icmp eq i64 %199, %n.vec
  br i1 %cmp.n, label %.loopexit, label %.lr.ph150.preheader170

.lr.ph150.preheader170:                           ; preds = %middle.block, %.lr.ph150.preheader
  %indvars.iv161.ph = phi i64 [ %196, %.lr.ph150.preheader ], [ %ind.end, %middle.block ]
  br label %.lr.ph150

.lr.ph150:                                        ; preds = %.lr.ph150.preheader170, %.lr.ph150
  %indvars.iv161 = phi i64 [ %indvars.iv.next162, %.lr.ph150 ], [ %indvars.iv161.ph, %.lr.ph150.preheader170 ]
  %202 = getelementptr inbounds i32, ptr %180, i64 %indvars.iv161
  store i32 %183, ptr %202, align 4, !tbaa !17
  %indvars.iv.next162 = add nuw nsw i64 %indvars.iv161, 1
  %203 = icmp ugt i64 %195, %indvars.iv.next162
  br i1 %203, label %.lr.ph150, label %.loopexit, !llvm.loop !26

.loopexit:                                        ; preds = %132, %.lr.ph150, %middle.block, %193, %184
  %.not112129 = phi i1 [ true, %184 ], [ true, %193 ], [ true, %middle.block ], [ true, %.lr.ph150 ], [ false, %132 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %17) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %16) #10
  br label %204

204:                                              ; preds = %118, %97, %91, %.loopexit
  %.2 = phi i1 [ %.not112129, %.loopexit ], [ false, %91 ], [ false, %97 ], [ false, %118 ]
  call void @_ZNSt7__cxx1119basic_istringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(120) %15) #10
  call void @llvm.lifetime.end.p0(i64 384, ptr nonnull %15) #10
  br label %207

205:                                              ; preds = %139, %95
  %.pn = phi { ptr, i32 } [ %96, %95 ], [ %140, %139 ]
  call void @_ZNSt7__cxx1119basic_istringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(120) %15) #10
  br label %206

206:                                              ; preds = %205, %93
  %.pn.pn = phi { ptr, i32 } [ %.pn, %205 ], [ %94, %93 ]
  call void @llvm.lifetime.end.p0(i64 384, ptr nonnull %15) #10
  br label %208

207:                                              ; preds = %.invoke, %204
  %.3 = phi i1 [ %.2, %204 ], [ false, %.invoke ]
  call void @_ZNSt7__cxx1119basic_istringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(120) %14) #10
  call void @llvm.lifetime.end.p0(i64 384, ptr nonnull %14) #10
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %13) #10
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %12) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %12) #10
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %11) #10
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %10) #10
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %9) #10
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %8) #10
  call void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(256) %7) #10
  call void @llvm.lifetime.end.p0(i64 520, ptr nonnull %7) #10
  ret i1 %.3

208:                                              ; preds = %.loopexit126, %.loopexit.split-lp, %206
  %.pn117 = phi { ptr, i32 } [ %.pn.pn, %206 ], [ %lpad.loopexit, %.loopexit126 ], [ %lpad.loopexit.split-lp, %.loopexit.split-lp ]
  call void @_ZNSt7__cxx1119basic_istringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(120) %14) #10
  br label %209

209:                                              ; preds = %208, %56
  %.pn117.pn = phi { ptr, i32 } [ %.pn117, %208 ], [ %57, %56 ]
  call void @llvm.lifetime.end.p0(i64 384, ptr nonnull %14) #10
  br label %210

210:                                              ; preds = %209, %24
  %.pn117.pn.pn = phi { ptr, i32 } [ %.pn117.pn, %209 ], [ %25, %24 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %13) #10
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %12) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %12) #10
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %11) #10
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %10) #10
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %9) #10
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %8) #10
  br label %211

211:                                              ; preds = %210, %22
  %.pn117.pn.pn.pn = phi { ptr, i32 } [ %.pn117.pn.pn, %210 ], [ %23, %22 ]
  call void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(256) %7) #10
  call void @llvm.lifetime.end.p0(i64 520, ptr nonnull %7) #10
  resume { ptr, i32 } %.pn117.pn.pn.pn
}

; 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: 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 #6

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

; Function Attrs: mustprogress nofree nounwind willreturn memory(read)
declare i32 @tolower(i32 noundef) local_unnamed_addr #7

; 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 uwtable
declare void @_ZNSt7__cxx1119basic_istringstreamIcSt11char_traitsIcESaIcEEC1ERKNS_12basic_stringIcS2_S3_EESt13_Ios_Openmode(ptr noundef nonnull align 8 dereferenceable(120), ptr noundef nonnull align 8 dereferenceable(32), i32 noundef) unnamed_addr #2 align 2

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZStrsIcSt11char_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_traitsIcEEntEv(ptr noundef nonnull align 8 dereferenceable(264)) local_unnamed_addr #2 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 #6

; Function Attrs: nounwind
declare noundef i32 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE7compareEPKc(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef) local_unnamed_addr #8

declare noundef i32 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE7compareEmmPKc(ptr noundef nonnull align 8 dereferenceable(32), i64 noundef, i64 noundef, ptr noundef) local_unnamed_addr #3

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

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #9

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1119basic_istringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(120)) 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 = { "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 = { nobuiltin allocsize(0) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #6 = { 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 #7 = { mustprogress nofree 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 #8 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #9 = { noreturn nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #10 = { nounwind }
attributes #11 = { nounwind willreturn memory(read) }
attributes #12 = { builtin allocsize(0) }
attributes #13 = { noreturn nounwind }

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

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


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