; LLVM IR from research-group-of-Xinzheng-Lu/SCI-effects-simulation :: SRC/createSAMSCI-master (HazusSAM_Generator)

; 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::__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.Building = type <{ i32, [4 x i8], %"class.std::__cxx11::basic_string", i32, [4 x i8], %"class.std::__cxx11::basic_string", i32, i32, i32, [4 x i8], double, double, double, double, double, %"class.std::vector", %"class.std::vector.9", [4 x double], double, double, double, double, double, i32, [4 x i8] }>
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<InterstoryParam, std::allocator<InterstoryParam>>::_Vector_impl" }
%"struct.std::_Vector_base<InterstoryParam, std::allocator<InterstoryParam>>::_Vector_impl" = type { %"struct.std::_Vector_base<InterstoryParam, std::allocator<InterstoryParam>>::_Vector_impl_data" }
%"struct.std::_Vector_base<InterstoryParam, std::allocator<InterstoryParam>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.9" = type { %"struct.std::_Vector_base.10" }
%"struct.std::_Vector_base.10" = type { %"struct.std::_Vector_base<FloorParam, std::allocator<FloorParam>>::_Vector_impl" }
%"struct.std::_Vector_base<FloorParam, std::allocator<FloorParam>>::_Vector_impl" = type { %"struct.std::_Vector_base<FloorParam, std::allocator<FloorParam>>::_Vector_impl_data" }
%"struct.std::_Vector_base<FloorParam, std::allocator<FloorParam>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%class.HazusSAM_Generator = type { ptr }
%"class.std::map" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, HazusSAM_Generator::HazusData>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, HazusSAM_Generator::HazusData>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, HazusSAM_Generator::HazusData>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, HazusSAM_Generator::HazusData>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }
%"struct.HazusSAM_Generator::HazusData" = type { i32, i32, [10 x double], [4 x double], double, double, double, double }
%class.FloorParam = type { i32, double }
%class.InterstoryParam = type { i32, double, double, double, double, double, double, double, double, double, double }

; 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
define dso_local void @_ZN18HazusSAM_Generator12CalcBldgParaEP8Building(ptr noundef nonnull align 8 dereferenceable(8) %0, ptr noundef %1) #2 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca double, align 8
  %6 = alloca double, align 8
  %7 = alloca %"class.std::__cxx11::basic_string", align 8
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca double, align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  %14 = load ptr, ptr %3, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #4
  store double 0x400921FB54442D11, ptr %5, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #4
  store double 5.000000e+02, ptr %6, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 32, ptr %7) #4
  %15 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN8Building12GetHazusTypeB5cxx11Ev(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %7, ptr noundef nonnull align 8 dereferenceable(260) %15)
  %16 = load ptr, ptr %4, align 8, !tbaa !5
  %17 = getelementptr inbounds %class.Building, ptr %16, i32 0, i32 15
  call void @_ZNSt6vectorI15InterstoryParamSaIS0_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %17) #4
  %18 = load ptr, ptr %4, align 8, !tbaa !5
  %19 = getelementptr inbounds %class.Building, ptr %18, i32 0, i32 16
  call void @_ZNSt6vectorI10FloorParamSaIS0_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %19) #4
  %20 = load ptr, ptr %4, align 8, !tbaa !5
  %21 = getelementptr inbounds %class.Building, ptr %20, i32 0, i32 15
  %22 = load ptr, ptr %4, align 8, !tbaa !5
  %23 = getelementptr inbounds %class.Building, ptr %22, i32 0, i32 8
  %24 = load i32, ptr %23, align 8, !tbaa !11
  %25 = sext i32 %24 to i64
  invoke void @_ZNSt6vectorI15InterstoryParamSaIS0_EE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %21, i64 noundef %25)
          to label %26 unwind label %39

26:                                               ; preds = %2
  %27 = load ptr, ptr %4, align 8, !tbaa !5
  %28 = getelementptr inbounds %class.Building, ptr %27, i32 0, i32 16
  %29 = load ptr, ptr %4, align 8, !tbaa !5
  %30 = getelementptr inbounds %class.Building, ptr %29, i32 0, i32 8
  %31 = load i32, ptr %30, align 8, !tbaa !11
  %32 = sext i32 %31 to i64
  invoke void @_ZNSt6vectorI10FloorParamSaIS0_EE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %28, i64 noundef %32)
          to label %33 unwind label %39

33:                                               ; preds = %26
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #4
  store i32 0, ptr %10, align 4, !tbaa !27
  %34 = load ptr, ptr %4, align 8, !tbaa !5
  %35 = getelementptr inbounds %class.Building, ptr %34, i32 0, i32 6
  %36 = load i32, ptr %35, align 8, !tbaa !28
  %37 = icmp slt i32 1973, %36
  br i1 %37, label %38, label %43

38:                                               ; preds = %33
  store i32 0, ptr %10, align 4, !tbaa !27
  br label %56

39:                                               ; preds = %26, %2
  %40 = landingpad { ptr, i32 }
          cleanup
  %41 = extractvalue { ptr, i32 } %40, 0
  store ptr %41, ptr %8, align 8
  %42 = extractvalue { ptr, i32 } %40, 1
  store i32 %42, ptr %9, align 4
  br label %388

43:                                               ; preds = %33
  %44 = load ptr, ptr %4, align 8, !tbaa !5
  %45 = getelementptr inbounds %class.Building, ptr %44, i32 0, i32 6
  %46 = load i32, ptr %45, align 8, !tbaa !28
  %47 = icmp sle i32 1941, %46
  br i1 %47, label %48, label %54

48:                                               ; preds = %43
  %49 = load ptr, ptr %4, align 8, !tbaa !5
  %50 = getelementptr inbounds %class.Building, ptr %49, i32 0, i32 6
  %51 = load i32, ptr %50, align 8, !tbaa !28
  %52 = icmp sle i32 %51, 1973
  br i1 %52, label %53, label %54

53:                                               ; preds = %48
  store i32 1, ptr %10, align 4, !tbaa !27
  br label %55

54:                                               ; preds = %48, %43
  store i32 3, ptr %10, align 4, !tbaa !27
  br label %55

55:                                               ; preds = %54, %53
  br label %56

56:                                               ; preds = %55, %38
  %57 = getelementptr inbounds %class.HazusSAM_Generator, ptr %14, i32 0, i32 0
  %58 = load ptr, ptr %57, align 8, !tbaa !29
  %59 = load i32, ptr %10, align 4, !tbaa !27
  %60 = sext i32 %59 to i64
  %61 = getelementptr inbounds %"class.std::map", ptr %58, i64 %60
  %62 = invoke noundef nonnull align 8 dereferenceable(152) ptr @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN18HazusSAM_Generator9HazusDataESt4lessIS5_ESaISt4pairIKS5_S7_EEEixERSB_(ptr noundef nonnull align 8 dereferenceable(48) %61, ptr noundef nonnull align 8 dereferenceable(32) %7)
          to label %63 unwind label %72

63:                                               ; preds = %56
  %64 = getelementptr inbounds %"struct.HazusSAM_Generator::HazusData", ptr %62, i32 0, i32 6
  %65 = load double, ptr %64, align 8, !tbaa !31
  %66 = load ptr, ptr %4, align 8, !tbaa !5
  %67 = getelementptr inbounds %class.Building, ptr %66, i32 0, i32 18
  store double %65, ptr %67, align 8, !tbaa !33
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #4
  store i32 0, ptr %11, align 4, !tbaa !27
  br label %68

68:                                               ; preds = %94, %63
  %69 = load i32, ptr %11, align 4, !tbaa !27
  %70 = icmp slt i32 %69, 4
  br i1 %70, label %76, label %71

71:                                               ; preds = %68
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #4
  br label %101

72:                                               ; preds = %112, %101, %56
  %73 = landingpad { ptr, i32 }
          cleanup
  %74 = extractvalue { ptr, i32 } %73, 0
  store ptr %74, ptr %8, align 8
  %75 = extractvalue { ptr, i32 } %73, 1
  store i32 %75, ptr %9, align 4
  br label %387

76:                                               ; preds = %68
  %77 = getelementptr inbounds %class.HazusSAM_Generator, ptr %14, i32 0, i32 0
  %78 = load ptr, ptr %77, align 8, !tbaa !29
  %79 = load i32, ptr %10, align 4, !tbaa !27
  %80 = sext i32 %79 to i64
  %81 = getelementptr inbounds %"class.std::map", ptr %78, i64 %80
  %82 = invoke noundef nonnull align 8 dereferenceable(152) ptr @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN18HazusSAM_Generator9HazusDataESt4lessIS5_ESaISt4pairIKS5_S7_EEEixERSB_(ptr noundef nonnull align 8 dereferenceable(48) %81, ptr noundef nonnull align 8 dereferenceable(32) %7)
          to label %83 unwind label %97

83:                                               ; preds = %76
  %84 = getelementptr inbounds %"struct.HazusSAM_Generator::HazusData", ptr %82, i32 0, i32 3
  %85 = load i32, ptr %11, align 4, !tbaa !27
  %86 = sext i32 %85 to i64
  %87 = getelementptr inbounds [4 x double], ptr %84, i64 0, i64 %86
  %88 = load double, ptr %87, align 8, !tbaa !9
  %89 = load ptr, ptr %4, align 8, !tbaa !5
  %90 = getelementptr inbounds %class.Building, ptr %89, i32 0, i32 17
  %91 = load i32, ptr %11, align 4, !tbaa !27
  %92 = sext i32 %91 to i64
  %93 = getelementptr inbounds [4 x double], ptr %90, i64 0, i64 %92
  store double %88, ptr %93, align 8, !tbaa !9
  br label %94

94:                                               ; preds = %83
  %95 = load i32, ptr %11, align 4, !tbaa !27
  %96 = add nsw i32 %95, 1
  store i32 %96, ptr %11, align 4, !tbaa !27
  br label %68, !llvm.loop !34

97:                                               ; preds = %76
  %98 = landingpad { ptr, i32 }
          cleanup
  %99 = extractvalue { ptr, i32 } %98, 0
  store ptr %99, ptr %8, align 8
  %100 = extractvalue { ptr, i32 } %98, 1
  store i32 %100, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #4
  br label %387

101:                                              ; preds = %71
  %102 = load ptr, ptr %4, align 8, !tbaa !5
  %103 = getelementptr inbounds %class.Building, ptr %102, i32 0, i32 8
  %104 = load i32, ptr %103, align 8, !tbaa !11
  %105 = sitofp i32 %104 to double
  %106 = getelementptr inbounds %class.HazusSAM_Generator, ptr %14, i32 0, i32 0
  %107 = load ptr, ptr %106, align 8, !tbaa !29
  %108 = load i32, ptr %10, align 4, !tbaa !27
  %109 = sext i32 %108 to i64
  %110 = getelementptr inbounds %"class.std::map", ptr %107, i64 %109
  %111 = invoke noundef nonnull align 8 dereferenceable(152) ptr @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN18HazusSAM_Generator9HazusDataESt4lessIS5_ESaISt4pairIKS5_S7_EEEixERSB_(ptr noundef nonnull align 8 dereferenceable(48) %110, ptr noundef nonnull align 8 dereferenceable(32) %7)
          to label %112 unwind label %72

112:                                              ; preds = %101
  %113 = getelementptr inbounds %"struct.HazusSAM_Generator::HazusData", ptr %111, i32 0, i32 4
  %114 = load double, ptr %113, align 8, !tbaa !36
  %115 = fmul double %105, %114
  %116 = load ptr, ptr %4, align 8, !tbaa !5
  %117 = getelementptr inbounds %class.Building, ptr %116, i32 0, i32 19
  store double %115, ptr %117, align 8, !tbaa !37
  %118 = load ptr, ptr %4, align 8, !tbaa !5
  %119 = getelementptr inbounds %class.Building, ptr %118, i32 0, i32 19
  %120 = load double, ptr %119, align 8, !tbaa !37
  %121 = getelementptr inbounds %class.HazusSAM_Generator, ptr %14, i32 0, i32 0
  %122 = load ptr, ptr %121, align 8, !tbaa !29
  %123 = load i32, ptr %10, align 4, !tbaa !27
  %124 = sext i32 %123 to i64
  %125 = getelementptr inbounds %"class.std::map", ptr %122, i64 %124
  %126 = invoke noundef nonnull align 8 dereferenceable(152) ptr @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN18HazusSAM_Generator9HazusDataESt4lessIS5_ESaISt4pairIKS5_S7_EEEixERSB_(ptr noundef nonnull align 8 dereferenceable(48) %125, ptr noundef nonnull align 8 dereferenceable(32) %7)
          to label %127 unwind label %72

127:                                              ; preds = %112
  %128 = getelementptr inbounds %"struct.HazusSAM_Generator::HazusData", ptr %126, i32 0, i32 5
  %129 = load double, ptr %128, align 8, !tbaa !38
  %130 = fmul double %120, %129
  %131 = load ptr, ptr %4, align 8, !tbaa !5
  %132 = getelementptr inbounds %class.Building, ptr %131, i32 0, i32 20
  store double %130, ptr %132, align 8, !tbaa !39
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #4
  store i32 0, ptr %12, align 4, !tbaa !27
  br label %133

133:                                              ; preds = %374, %127
  %134 = load i32, ptr %12, align 4, !tbaa !27
  %135 = load ptr, ptr %4, align 8, !tbaa !5
  %136 = getelementptr inbounds %class.Building, ptr %135, i32 0, i32 8
  %137 = load i32, ptr %136, align 8, !tbaa !11
  %138 = icmp slt i32 %134, %137
  br i1 %138, label %140, label %139

139:                                              ; preds = %133
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #4
  br label %386

140:                                              ; preds = %133
  %141 = load i32, ptr %12, align 4, !tbaa !27
  %142 = add nsw i32 %141, 1
  %143 = load ptr, ptr %4, align 8, !tbaa !5
  %144 = getelementptr inbounds %class.Building, ptr %143, i32 0, i32 16
  %145 = load i32, ptr %12, align 4, !tbaa !27
  %146 = sext i32 %145 to i64
  %147 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt6vectorI10FloorParamSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %144, i64 noundef %146) #4
  %148 = getelementptr inbounds %class.FloorParam, ptr %147, i32 0, i32 0
  store i32 %142, ptr %148, align 8, !tbaa !40
  %149 = load ptr, ptr %4, align 8, !tbaa !5
  %150 = getelementptr inbounds %class.Building, ptr %149, i32 0, i32 11
  %151 = load double, ptr %150, align 8, !tbaa !42
  %152 = fmul double %151, 5.000000e+02
  %153 = load ptr, ptr %4, align 8, !tbaa !5
  %154 = getelementptr inbounds %class.Building, ptr %153, i32 0, i32 16
  %155 = load i32, ptr %12, align 4, !tbaa !27
  %156 = sext i32 %155 to i64
  %157 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt6vectorI10FloorParamSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %154, i64 noundef %156) #4
  %158 = getelementptr inbounds %class.FloorParam, ptr %157, i32 0, i32 1
  store double %152, ptr %158, align 8, !tbaa !43
  %159 = load i32, ptr %12, align 4, !tbaa !27
  %160 = add nsw i32 %159, 1
  %161 = load ptr, ptr %4, align 8, !tbaa !5
  %162 = getelementptr inbounds %class.Building, ptr %161, i32 0, i32 15
  %163 = load i32, ptr %12, align 4, !tbaa !27
  %164 = sext i32 %163 to i64
  %165 = call noundef nonnull align 8 dereferenceable(88) ptr @_ZNSt6vectorI15InterstoryParamSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %162, i64 noundef %164) #4
  %166 = getelementptr inbounds %class.InterstoryParam, ptr %165, i32 0, i32 0
  store i32 %160, ptr %166, align 8, !tbaa !44
  %167 = load ptr, ptr %4, align 8, !tbaa !5
  %168 = load ptr, ptr %4, align 8, !tbaa !5
  %169 = getelementptr inbounds %class.Building, ptr %168, i32 0, i32 8
  %170 = load i32, ptr %169, align 8, !tbaa !11
  %171 = invoke noundef double @_ZN8Building6lambdaEi(ptr noundef nonnull align 8 dereferenceable(260) %167, i32 noundef %170)
          to label %172 unwind label %377

172:                                              ; preds = %140
  %173 = fmul double 0x4043BD3CC9BE45D3, %171
  %174 = load ptr, ptr %4, align 8, !tbaa !5
  %175 = getelementptr inbounds %class.Building, ptr %174, i32 0, i32 16
  %176 = load i32, ptr %12, align 4, !tbaa !27
  %177 = sext i32 %176 to i64
  %178 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt6vectorI10FloorParamSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %175, i64 noundef %177) #4
  %179 = getelementptr inbounds %class.FloorParam, ptr %178, i32 0, i32 1
  %180 = load double, ptr %179, align 8, !tbaa !43
  %181 = fmul double %173, %180
  %182 = load ptr, ptr %4, align 8, !tbaa !5
  %183 = getelementptr inbounds %class.Building, ptr %182, i32 0, i32 19
  %184 = load double, ptr %183, align 8, !tbaa !37
  %185 = fdiv double %181, %184
  %186 = load ptr, ptr %4, align 8, !tbaa !5
  %187 = getelementptr inbounds %class.Building, ptr %186, i32 0, i32 19
  %188 = load double, ptr %187, align 8, !tbaa !37
  %189 = fdiv double %185, %188
  %190 = load ptr, ptr %4, align 8, !tbaa !5
  %191 = getelementptr inbounds %class.Building, ptr %190, i32 0, i32 15
  %192 = load i32, ptr %12, align 4, !tbaa !27
  %193 = sext i32 %192 to i64
  %194 = call noundef nonnull align 8 dereferenceable(88) ptr @_ZNSt6vectorI15InterstoryParamSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %191, i64 noundef %193) #4
  %195 = getelementptr inbounds %class.InterstoryParam, ptr %194, i32 0, i32 1
  store double %189, ptr %195, align 8, !tbaa !46
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #4
  %196 = load i32, ptr %12, align 4, !tbaa !27
  %197 = add nsw i32 %196, 1
  %198 = sitofp i32 %197 to double
  %199 = load i32, ptr %12, align 4, !tbaa !27
  %200 = sitofp i32 %199 to double
  %201 = fmul double %198, %200
  %202 = load ptr, ptr %4, align 8, !tbaa !5
  %203 = getelementptr inbounds %class.Building, ptr %202, i32 0, i32 8
  %204 = load i32, ptr %203, align 8, !tbaa !11
  %205 = sitofp i32 %204 to double
  %206 = fdiv double %201, %205
  %207 = load ptr, ptr %4, align 8, !tbaa !5
  %208 = getelementptr inbounds %class.Building, ptr %207, i32 0, i32 8
  %209 = load i32, ptr %208, align 8, !tbaa !11
  %210 = add nsw i32 %209, 1
  %211 = sitofp i32 %210 to double
  %212 = fdiv double %206, %211
  %213 = fsub double 1.000000e+00, %212
  store double %213, ptr %13, align 8, !tbaa !9
  %214 = getelementptr inbounds %class.HazusSAM_Generator, ptr %14, i32 0, i32 0
  %215 = load ptr, ptr %214, align 8, !tbaa !29
  %216 = load i32, ptr %10, align 4, !tbaa !27
  %217 = sext i32 %216 to i64
  %218 = getelementptr inbounds %"class.std::map", ptr %215, i64 %217
  %219 = invoke noundef nonnull align 8 dereferenceable(152) ptr @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN18HazusSAM_Generator9HazusDataESt4lessIS5_ESaISt4pairIKS5_S7_EEEixERSB_(ptr noundef nonnull align 8 dereferenceable(48) %218, ptr noundef nonnull align 8 dereferenceable(32) %7)
          to label %220 unwind label %381

220:                                              ; preds = %172
  %221 = getelementptr inbounds %"struct.HazusSAM_Generator::HazusData", ptr %219, i32 0, i32 2
  %222 = getelementptr inbounds [10 x double], ptr %221, i64 0, i64 1
  %223 = load double, ptr %222, align 8, !tbaa !9
  %224 = load ptr, ptr %4, align 8, !tbaa !5
  %225 = getelementptr inbounds %class.Building, ptr %224, i32 0, i32 16
  %226 = load i32, ptr %12, align 4, !tbaa !27
  %227 = sext i32 %226 to i64
  %228 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt6vectorI10FloorParamSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %225, i64 noundef %227) #4
  %229 = getelementptr inbounds %class.FloorParam, ptr %228, i32 0, i32 1
  %230 = load double, ptr %229, align 8, !tbaa !43
  %231 = fmul double %223, %230
  %232 = fmul double %231, 9.800000e+00
  %233 = load ptr, ptr %4, align 8, !tbaa !5
  %234 = getelementptr inbounds %class.Building, ptr %233, i32 0, i32 8
  %235 = load i32, ptr %234, align 8, !tbaa !11
  %236 = sitofp i32 %235 to double
  %237 = fmul double %232, %236
  %238 = load double, ptr %13, align 8, !tbaa !9
  %239 = fmul double %237, %238
  %240 = load ptr, ptr %4, align 8, !tbaa !5
  %241 = getelementptr inbounds %class.Building, ptr %240, i32 0, i32 15
  %242 = load i32, ptr %12, align 4, !tbaa !27
  %243 = sext i32 %242 to i64
  %244 = call noundef nonnull align 8 dereferenceable(88) ptr @_ZNSt6vectorI15InterstoryParamSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %241, i64 noundef %243) #4
  %245 = getelementptr inbounds %class.InterstoryParam, ptr %244, i32 0, i32 2
  store double %239, ptr %245, align 8, !tbaa !47
  %246 = getelementptr inbounds %class.HazusSAM_Generator, ptr %14, i32 0, i32 0
  %247 = load ptr, ptr %246, align 8, !tbaa !29
  %248 = load i32, ptr %10, align 4, !tbaa !27
  %249 = sext i32 %248 to i64
  %250 = getelementptr inbounds %"class.std::map", ptr %247, i64 %249
  %251 = invoke noundef nonnull align 8 dereferenceable(152) ptr @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN18HazusSAM_Generator9HazusDataESt4lessIS5_ESaISt4pairIKS5_S7_EEEixERSB_(ptr noundef nonnull align 8 dereferenceable(48) %250, ptr noundef nonnull align 8 dereferenceable(32) %7)
          to label %252 unwind label %381

252:                                              ; preds = %220
  %253 = getelementptr inbounds %"struct.HazusSAM_Generator::HazusData", ptr %251, i32 0, i32 2
  %254 = getelementptr inbounds [10 x double], ptr %253, i64 0, i64 2
  %255 = load double, ptr %254, align 8, !tbaa !9
  %256 = load ptr, ptr %4, align 8, !tbaa !5
  %257 = getelementptr inbounds %class.Building, ptr %256, i32 0, i32 15
  %258 = load i32, ptr %12, align 4, !tbaa !27
  %259 = sext i32 %258 to i64
  %260 = call noundef nonnull align 8 dereferenceable(88) ptr @_ZNSt6vectorI15InterstoryParamSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %257, i64 noundef %259) #4
  %261 = getelementptr inbounds %class.InterstoryParam, ptr %260, i32 0, i32 3
  store double %255, ptr %261, align 8, !tbaa !48
  %262 = getelementptr inbounds %class.HazusSAM_Generator, ptr %14, i32 0, i32 0
  %263 = load ptr, ptr %262, align 8, !tbaa !29
  %264 = load i32, ptr %10, align 4, !tbaa !27
  %265 = sext i32 %264 to i64
  %266 = getelementptr inbounds %"class.std::map", ptr %263, i64 %265
  %267 = invoke noundef nonnull align 8 dereferenceable(152) ptr @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN18HazusSAM_Generator9HazusDataESt4lessIS5_ESaISt4pairIKS5_S7_EEEixERSB_(ptr noundef nonnull align 8 dereferenceable(48) %266, ptr noundef nonnull align 8 dereferenceable(32) %7)
          to label %268 unwind label %381

268:                                              ; preds = %252
  %269 = getelementptr inbounds %"struct.HazusSAM_Generator::HazusData", ptr %267, i32 0, i32 2
  %270 = getelementptr inbounds [10 x double], ptr %269, i64 0, i64 3
  %271 = load double, ptr %270, align 8, !tbaa !9
  %272 = load ptr, ptr %4, align 8, !tbaa !5
  %273 = getelementptr inbounds %class.Building, ptr %272, i32 0, i32 15
  %274 = load i32, ptr %12, align 4, !tbaa !27
  %275 = sext i32 %274 to i64
  %276 = call noundef nonnull align 8 dereferenceable(88) ptr @_ZNSt6vectorI15InterstoryParamSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %273, i64 noundef %275) #4
  %277 = getelementptr inbounds %class.InterstoryParam, ptr %276, i32 0, i32 4
  store double %271, ptr %277, align 8, !tbaa !49
  %278 = getelementptr inbounds %class.HazusSAM_Generator, ptr %14, i32 0, i32 0
  %279 = load ptr, ptr %278, align 8, !tbaa !29
  %280 = load i32, ptr %10, align 4, !tbaa !27
  %281 = sext i32 %280 to i64
  %282 = getelementptr inbounds %"class.std::map", ptr %279, i64 %281
  %283 = invoke noundef nonnull align 8 dereferenceable(152) ptr @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN18HazusSAM_Generator9HazusDataESt4lessIS5_ESaISt4pairIKS5_S7_EEEixERSB_(ptr noundef nonnull align 8 dereferenceable(48) %282, ptr noundef nonnull align 8 dereferenceable(32) %7)
          to label %284 unwind label %381

284:                                              ; preds = %268
  %285 = getelementptr inbounds %"struct.HazusSAM_Generator::HazusData", ptr %283, i32 0, i32 2
  %286 = getelementptr inbounds [10 x double], ptr %285, i64 0, i64 4
  %287 = load double, ptr %286, align 8, !tbaa !9
  %288 = load ptr, ptr %4, align 8, !tbaa !5
  %289 = getelementptr inbounds %class.Building, ptr %288, i32 0, i32 15
  %290 = load i32, ptr %12, align 4, !tbaa !27
  %291 = sext i32 %290 to i64
  %292 = call noundef nonnull align 8 dereferenceable(88) ptr @_ZNSt6vectorI15InterstoryParamSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %289, i64 noundef %291) #4
  %293 = getelementptr inbounds %class.InterstoryParam, ptr %292, i32 0, i32 5
  store double %287, ptr %293, align 8, !tbaa !50
  %294 = getelementptr inbounds %class.HazusSAM_Generator, ptr %14, i32 0, i32 0
  %295 = load ptr, ptr %294, align 8, !tbaa !29
  %296 = load i32, ptr %10, align 4, !tbaa !27
  %297 = sext i32 %296 to i64
  %298 = getelementptr inbounds %"class.std::map", ptr %295, i64 %297
  %299 = invoke noundef nonnull align 8 dereferenceable(152) ptr @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN18HazusSAM_Generator9HazusDataESt4lessIS5_ESaISt4pairIKS5_S7_EEEixERSB_(ptr noundef nonnull align 8 dereferenceable(48) %298, ptr noundef nonnull align 8 dereferenceable(32) %7)
          to label %300 unwind label %381

300:                                              ; preds = %284
  %301 = getelementptr inbounds %"struct.HazusSAM_Generator::HazusData", ptr %299, i32 0, i32 2
  %302 = getelementptr inbounds [10 x double], ptr %301, i64 0, i64 5
  %303 = load double, ptr %302, align 8, !tbaa !9
  %304 = load ptr, ptr %4, align 8, !tbaa !5
  %305 = getelementptr inbounds %class.Building, ptr %304, i32 0, i32 15
  %306 = load i32, ptr %12, align 4, !tbaa !27
  %307 = sext i32 %306 to i64
  %308 = call noundef nonnull align 8 dereferenceable(88) ptr @_ZNSt6vectorI15InterstoryParamSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %305, i64 noundef %307) #4
  %309 = getelementptr inbounds %class.InterstoryParam, ptr %308, i32 0, i32 6
  store double %303, ptr %309, align 8, !tbaa !51
  %310 = getelementptr inbounds %class.HazusSAM_Generator, ptr %14, i32 0, i32 0
  %311 = load ptr, ptr %310, align 8, !tbaa !29
  %312 = load i32, ptr %10, align 4, !tbaa !27
  %313 = sext i32 %312 to i64
  %314 = getelementptr inbounds %"class.std::map", ptr %311, i64 %313
  %315 = invoke noundef nonnull align 8 dereferenceable(152) ptr @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN18HazusSAM_Generator9HazusDataESt4lessIS5_ESaISt4pairIKS5_S7_EEEixERSB_(ptr noundef nonnull align 8 dereferenceable(48) %314, ptr noundef nonnull align 8 dereferenceable(32) %7)
          to label %316 unwind label %381

316:                                              ; preds = %300
  %317 = getelementptr inbounds %"struct.HazusSAM_Generator::HazusData", ptr %315, i32 0, i32 2
  %318 = getelementptr inbounds [10 x double], ptr %317, i64 0, i64 6
  %319 = load double, ptr %318, align 8, !tbaa !9
  %320 = load ptr, ptr %4, align 8, !tbaa !5
  %321 = getelementptr inbounds %class.Building, ptr %320, i32 0, i32 15
  %322 = load i32, ptr %12, align 4, !tbaa !27
  %323 = sext i32 %322 to i64
  %324 = call noundef nonnull align 8 dereferenceable(88) ptr @_ZNSt6vectorI15InterstoryParamSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %321, i64 noundef %323) #4
  %325 = getelementptr inbounds %class.InterstoryParam, ptr %324, i32 0, i32 7
  store double %319, ptr %325, align 8, !tbaa !52
  %326 = getelementptr inbounds %class.HazusSAM_Generator, ptr %14, i32 0, i32 0
  %327 = load ptr, ptr %326, align 8, !tbaa !29
  %328 = load i32, ptr %10, align 4, !tbaa !27
  %329 = sext i32 %328 to i64
  %330 = getelementptr inbounds %"class.std::map", ptr %327, i64 %329
  %331 = invoke noundef nonnull align 8 dereferenceable(152) ptr @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN18HazusSAM_Generator9HazusDataESt4lessIS5_ESaISt4pairIKS5_S7_EEEixERSB_(ptr noundef nonnull align 8 dereferenceable(48) %330, ptr noundef nonnull align 8 dereferenceable(32) %7)
          to label %332 unwind label %381

332:                                              ; preds = %316
  %333 = getelementptr inbounds %"struct.HazusSAM_Generator::HazusData", ptr %331, i32 0, i32 2
  %334 = getelementptr inbounds [10 x double], ptr %333, i64 0, i64 7
  %335 = load double, ptr %334, align 8, !tbaa !9
  %336 = load ptr, ptr %4, align 8, !tbaa !5
  %337 = getelementptr inbounds %class.Building, ptr %336, i32 0, i32 15
  %338 = load i32, ptr %12, align 4, !tbaa !27
  %339 = sext i32 %338 to i64
  %340 = call noundef nonnull align 8 dereferenceable(88) ptr @_ZNSt6vectorI15InterstoryParamSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %337, i64 noundef %339) #4
  %341 = getelementptr inbounds %class.InterstoryParam, ptr %340, i32 0, i32 8
  store double %335, ptr %341, align 8, !tbaa !53
  %342 = getelementptr inbounds %class.HazusSAM_Generator, ptr %14, i32 0, i32 0
  %343 = load ptr, ptr %342, align 8, !tbaa !29
  %344 = load i32, ptr %10, align 4, !tbaa !27
  %345 = sext i32 %344 to i64
  %346 = getelementptr inbounds %"class.std::map", ptr %343, i64 %345
  %347 = invoke noundef nonnull align 8 dereferenceable(152) ptr @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN18HazusSAM_Generator9HazusDataESt4lessIS5_ESaISt4pairIKS5_S7_EEEixERSB_(ptr noundef nonnull align 8 dereferenceable(48) %346, ptr noundef nonnull align 8 dereferenceable(32) %7)
          to label %348 unwind label %381

348:                                              ; preds = %332
  %349 = getelementptr inbounds %"struct.HazusSAM_Generator::HazusData", ptr %347, i32 0, i32 2
  %350 = getelementptr inbounds [10 x double], ptr %349, i64 0, i64 8
  %351 = load double, ptr %350, align 8, !tbaa !9
  %352 = load ptr, ptr %4, align 8, !tbaa !5
  %353 = getelementptr inbounds %class.Building, ptr %352, i32 0, i32 15
  %354 = load i32, ptr %12, align 4, !tbaa !27
  %355 = sext i32 %354 to i64
  %356 = call noundef nonnull align 8 dereferenceable(88) ptr @_ZNSt6vectorI15InterstoryParamSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %353, i64 noundef %355) #4
  %357 = getelementptr inbounds %class.InterstoryParam, ptr %356, i32 0, i32 9
  store double %351, ptr %357, align 8, !tbaa !54
  %358 = getelementptr inbounds %class.HazusSAM_Generator, ptr %14, i32 0, i32 0
  %359 = load ptr, ptr %358, align 8, !tbaa !29
  %360 = load i32, ptr %10, align 4, !tbaa !27
  %361 = sext i32 %360 to i64
  %362 = getelementptr inbounds %"class.std::map", ptr %359, i64 %361
  %363 = invoke noundef nonnull align 8 dereferenceable(152) ptr @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN18HazusSAM_Generator9HazusDataESt4lessIS5_ESaISt4pairIKS5_S7_EEEixERSB_(ptr noundef nonnull align 8 dereferenceable(48) %362, ptr noundef nonnull align 8 dereferenceable(32) %7)
          to label %364 unwind label %381

364:                                              ; preds = %348
  %365 = getelementptr inbounds %"struct.HazusSAM_Generator::HazusData", ptr %363, i32 0, i32 2
  %366 = getelementptr inbounds [10 x double], ptr %365, i64 0, i64 9
  %367 = load double, ptr %366, align 8, !tbaa !9
  %368 = load ptr, ptr %4, align 8, !tbaa !5
  %369 = getelementptr inbounds %class.Building, ptr %368, i32 0, i32 15
  %370 = load i32, ptr %12, align 4, !tbaa !27
  %371 = sext i32 %370 to i64
  %372 = call noundef nonnull align 8 dereferenceable(88) ptr @_ZNSt6vectorI15InterstoryParamSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %369, i64 noundef %371) #4
  %373 = getelementptr inbounds %class.InterstoryParam, ptr %372, i32 0, i32 10
  store double %367, ptr %373, align 8, !tbaa !55
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #4
  br label %374

374:                                              ; preds = %364
  %375 = load i32, ptr %12, align 4, !tbaa !27
  %376 = add nsw i32 %375, 1
  store i32 %376, ptr %12, align 4, !tbaa !27
  br label %133, !llvm.loop !56

377:                                              ; preds = %140
  %378 = landingpad { ptr, i32 }
          cleanup
  %379 = extractvalue { ptr, i32 } %378, 0
  store ptr %379, ptr %8, align 8
  %380 = extractvalue { ptr, i32 } %378, 1
  store i32 %380, ptr %9, align 4
  br label %385

381:                                              ; preds = %348, %332, %316, %300, %284, %268, %252, %220, %172
  %382 = landingpad { ptr, i32 }
          cleanup
  %383 = extractvalue { ptr, i32 } %382, 0
  store ptr %383, ptr %8, align 8
  %384 = extractvalue { ptr, i32 } %382, 1
  store i32 %384, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #4
  br label %385

385:                                              ; preds = %381, %377
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #4
  br label %387

386:                                              ; preds = %139
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %7) #4
  call void @llvm.lifetime.end.p0(i64 32, ptr %7) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #4
  ret void

387:                                              ; preds = %385, %97, %72
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #4
  br label %388

388:                                              ; preds = %387, %39
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %7) #4
  call void @llvm.lifetime.end.p0(i64 32, ptr %7) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #4
  br label %389

389:                                              ; preds = %388
  %390 = load ptr, ptr %8, align 8
  %391 = load i32, ptr %9, align 4
  %392 = insertvalue { ptr, i32 } poison, ptr %390, 0
  %393 = insertvalue { ptr, i32 } %392, i32 %391, 1
  resume { ptr, i32 } %393
}

declare void @_ZN8Building12GetHazusTypeB5cxx11Ev(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 8 dereferenceable(260)) #3

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

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

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef double @_ZN8Building6lambdaEi(ptr noundef nonnull align 8 dereferenceable(260), i32 noundef) #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 = { 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 = !{!"double", !7, i64 0}
!11 = !{!12, !13, i64 88}
!12 = !{!"_ZTS8Building", !13, i64 0, !14, i64 8, !17, i64 40, !14, i64 48, !13, i64 80, !18, i64 84, !13, i64 88, !10, i64 96, !10, i64 104, !10, i64 112, !10, i64 120, !10, i64 128, !19, i64 136, !23, i64 160, !7, i64 184, !10, i64 216, !10, i64 224, !10, i64 232, !10, i64 240, !10, i64 248, !13, i64 256}
!13 = !{!"int", !7, i64 0}
!14 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !15, i64 0, !16, i64 8, !7, i64 16}
!15 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!16 = !{!"long", !7, i64 0}
!17 = !{!"_ZTSN8Building8StruTypeE", !7, i64 0}
!18 = !{!"_ZTSN8Building13BldgOccupancyE", !7, i64 0}
!19 = !{!"_ZTSSt6vectorI15InterstoryParamSaIS0_EE", !20, i64 0}
!20 = !{!"_ZTSSt12_Vector_baseI15InterstoryParamSaIS0_EE", !21, i64 0}
!21 = !{!"_ZTSNSt12_Vector_baseI15InterstoryParamSaIS0_EE12_Vector_implE", !22, i64 0}
!22 = !{!"_ZTSNSt12_Vector_baseI15InterstoryParamSaIS0_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!23 = !{!"_ZTSSt6vectorI10FloorParamSaIS0_EE", !24, i64 0}
!24 = !{!"_ZTSSt12_Vector_baseI10FloorParamSaIS0_EE", !25, i64 0}
!25 = !{!"_ZTSNSt12_Vector_baseI10FloorParamSaIS0_EE12_Vector_implE", !26, i64 0}
!26 = !{!"_ZTSNSt12_Vector_baseI10FloorParamSaIS0_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!27 = !{!13, !13, i64 0}
!28 = !{!12, !13, i64 80}
!29 = !{!30, !6, i64 0}
!30 = !{!"_ZTS18HazusSAM_Generator", !6, i64 0}
!31 = !{!32, !10, i64 136}
!32 = !{!"_ZTSN18HazusSAM_Generator9HazusDataE", !13, i64 0, !13, i64 4, !7, i64 8, !7, i64 88, !10, i64 120, !10, i64 128, !10, i64 136, !10, i64 144}
!33 = !{!12, !10, i64 216}
!34 = distinct !{!34, !35}
!35 = !{!"llvm.loop.mustprogress"}
!36 = !{!32, !10, i64 120}
!37 = !{!12, !10, i64 224}
!38 = !{!32, !10, i64 128}
!39 = !{!12, !10, i64 232}
!40 = !{!41, !13, i64 0}
!41 = !{!"_ZTS10FloorParam", !13, i64 0, !10, i64 8}
!42 = !{!12, !10, i64 104}
!43 = !{!41, !10, i64 8}
!44 = !{!45, !13, i64 0}
!45 = !{!"_ZTS15InterstoryParam", !13, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !10, i64 32, !10, i64 40, !10, i64 48, !10, i64 56, !10, i64 64, !10, i64 72, !10, i64 80}
!46 = !{!45, !10, i64 8}
!47 = !{!45, !10, i64 16}
!48 = !{!45, !10, i64 24}
!49 = !{!45, !10, i64 32}
!50 = !{!45, !10, i64 40}
!51 = !{!45, !10, i64 48}
!52 = !{!45, !10, i64 56}
!53 = !{!45, !10, i64 64}
!54 = !{!45, !10, i64 72}
!55 = !{!45, !10, i64 80}
!56 = distinct !{!56, !35}


; 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::__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::map" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, HazusSAM_Generator::HazusData>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, HazusSAM_Generator::HazusData>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, HazusSAM_Generator::HazusData>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, HazusSAM_Generator::HazusData>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }

; 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
define dso_local void @_ZN18HazusSAM_Generator12CalcBldgParaEP8Building(ptr nocapture noundef nonnull readonly align 8 dereferenceable(8) %0, ptr noundef nonnull %1) local_unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca %"class.std::__cxx11::basic_string", align 8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %3) #4
  call void @_ZN8Building12GetHazusTypeB5cxx11Ev(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %3, ptr noundef nonnull align 8 dereferenceable(260) %1)
  %4 = getelementptr inbounds i8, ptr %1, i64 136
  call void @_ZNSt6vectorI15InterstoryParamSaIS0_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %4) #4
  %5 = getelementptr inbounds i8, ptr %1, i64 160
  call void @_ZNSt6vectorI10FloorParamSaIS0_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %5) #4
  %6 = getelementptr inbounds i8, ptr %1, i64 88
  %7 = load i32, ptr %6, align 8, !tbaa !5
  %8 = sext i32 %7 to i64
  invoke void @_ZNSt6vectorI15InterstoryParamSaIS0_EE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %8)
          to label %9 unwind label %20

9:                                                ; preds = %2
  %10 = load i32, ptr %6, align 8, !tbaa !5
  %11 = sext i32 %10 to i64
  invoke void @_ZNSt6vectorI10FloorParamSaIS0_EE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %11)
          to label %12 unwind label %20

12:                                               ; preds = %9
  %13 = getelementptr inbounds i8, ptr %1, i64 80
  %14 = load i32, ptr %13, align 8, !tbaa !25
  %15 = icmp sgt i32 %14, 1973
  %16 = icmp sgt i32 %14, 1940
  %spec.select = select i1 %16, i64 1, i64 3
  %.083 = select i1 %15, i64 0, i64 %spec.select
  %17 = load ptr, ptr %0, align 8, !tbaa !26
  %18 = getelementptr inbounds %"class.std::map", ptr %17, i64 %.083
  %19 = invoke noundef nonnull align 8 dereferenceable(152) ptr @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN18HazusSAM_Generator9HazusDataESt4lessIS5_ESaISt4pairIKS5_S7_EEEixERSB_(ptr noundef nonnull align 8 dereferenceable(48) %18, ptr noundef nonnull align 8 dereferenceable(32) %3)
          to label %22 unwind label %29

20:                                               ; preds = %9, %2
  %21 = landingpad { ptr, i32 }
          cleanup
  br label %196

22:                                               ; preds = %12
  %23 = getelementptr inbounds i8, ptr %19, i64 136
  %24 = load double, ptr %23, align 8, !tbaa !28
  %25 = getelementptr inbounds i8, ptr %1, i64 216
  store double %24, ptr %25, align 8, !tbaa !30
  %26 = load ptr, ptr %0, align 8, !tbaa !26
  %27 = getelementptr inbounds %"class.std::map", ptr %26, i64 %.083
  %28 = invoke noundef nonnull align 8 dereferenceable(152) ptr @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN18HazusSAM_Generator9HazusDataESt4lessIS5_ESaISt4pairIKS5_S7_EEEixERSB_(ptr noundef nonnull align 8 dereferenceable(48) %27, ptr noundef nonnull align 8 dereferenceable(32) %3)
          to label %31 unwind label %60

29:                                               ; preds = %62, %52, %12
  %30 = landingpad { ptr, i32 }
          cleanup
  br label %196

31:                                               ; preds = %22
  %32 = getelementptr inbounds i8, ptr %1, i64 184
  %33 = getelementptr inbounds i8, ptr %28, i64 88
  %34 = load double, ptr %33, align 8, !tbaa !31
  store double %34, ptr %32, align 8, !tbaa !31
  %35 = load ptr, ptr %0, align 8, !tbaa !26
  %36 = getelementptr inbounds %"class.std::map", ptr %35, i64 %.083
  %37 = invoke noundef nonnull align 8 dereferenceable(152) ptr @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN18HazusSAM_Generator9HazusDataESt4lessIS5_ESaISt4pairIKS5_S7_EEEixERSB_(ptr noundef nonnull align 8 dereferenceable(48) %36, ptr noundef nonnull align 8 dereferenceable(32) %3)
          to label %38 unwind label %60

38:                                               ; preds = %31
  %39 = getelementptr inbounds i8, ptr %37, i64 96
  %40 = load double, ptr %39, align 8, !tbaa !31
  %41 = getelementptr inbounds i8, ptr %1, i64 192
  store double %40, ptr %41, align 8, !tbaa !31
  %42 = load ptr, ptr %0, align 8, !tbaa !26
  %43 = getelementptr inbounds %"class.std::map", ptr %42, i64 %.083
  %44 = invoke noundef nonnull align 8 dereferenceable(152) ptr @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN18HazusSAM_Generator9HazusDataESt4lessIS5_ESaISt4pairIKS5_S7_EEEixERSB_(ptr noundef nonnull align 8 dereferenceable(48) %43, ptr noundef nonnull align 8 dereferenceable(32) %3)
          to label %45 unwind label %60

45:                                               ; preds = %38
  %46 = getelementptr inbounds i8, ptr %44, i64 104
  %47 = load double, ptr %46, align 8, !tbaa !31
  %48 = getelementptr inbounds i8, ptr %1, i64 200
  store double %47, ptr %48, align 8, !tbaa !31
  %49 = load ptr, ptr %0, align 8, !tbaa !26
  %50 = getelementptr inbounds %"class.std::map", ptr %49, i64 %.083
  %51 = invoke noundef nonnull align 8 dereferenceable(152) ptr @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN18HazusSAM_Generator9HazusDataESt4lessIS5_ESaISt4pairIKS5_S7_EEEixERSB_(ptr noundef nonnull align 8 dereferenceable(48) %50, ptr noundef nonnull align 8 dereferenceable(32) %3)
          to label %52 unwind label %60

52:                                               ; preds = %45
  %53 = getelementptr inbounds i8, ptr %51, i64 112
  %54 = load double, ptr %53, align 8, !tbaa !31
  %55 = getelementptr inbounds i8, ptr %1, i64 208
  store double %54, ptr %55, align 8, !tbaa !31
  %56 = load i32, ptr %6, align 8, !tbaa !5
  %57 = load ptr, ptr %0, align 8, !tbaa !26
  %58 = getelementptr inbounds %"class.std::map", ptr %57, i64 %.083
  %59 = invoke noundef nonnull align 8 dereferenceable(152) ptr @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN18HazusSAM_Generator9HazusDataESt4lessIS5_ESaISt4pairIKS5_S7_EEEixERSB_(ptr noundef nonnull align 8 dereferenceable(48) %58, ptr noundef nonnull align 8 dereferenceable(32) %3)
          to label %62 unwind label %29

60:                                               ; preds = %45, %38, %31, %22
  %61 = landingpad { ptr, i32 }
          cleanup
  br label %196

62:                                               ; preds = %52
  %63 = sitofp i32 %56 to double
  %64 = getelementptr inbounds i8, ptr %59, i64 120
  %65 = load double, ptr %64, align 8, !tbaa !32
  %66 = fmul double %65, %63
  %67 = getelementptr inbounds i8, ptr %1, i64 224
  store double %66, ptr %67, align 8, !tbaa !33
  %68 = load ptr, ptr %0, align 8, !tbaa !26
  %69 = getelementptr inbounds %"class.std::map", ptr %68, i64 %.083
  %70 = invoke noundef nonnull align 8 dereferenceable(152) ptr @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN18HazusSAM_Generator9HazusDataESt4lessIS5_ESaISt4pairIKS5_S7_EEEixERSB_(ptr noundef nonnull align 8 dereferenceable(48) %69, ptr noundef nonnull align 8 dereferenceable(32) %3)
          to label %71 unwind label %29

71:                                               ; preds = %62
  %72 = getelementptr inbounds i8, ptr %70, i64 128
  %73 = load double, ptr %72, align 8, !tbaa !34
  %74 = fmul double %66, %73
  %75 = getelementptr inbounds i8, ptr %1, i64 232
  store double %74, ptr %75, align 8, !tbaa !35
  %76 = load i32, ptr %6, align 8, !tbaa !5
  %77 = icmp sgt i32 %76, 0
  br i1 %77, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %71
  %78 = getelementptr inbounds i8, ptr %1, i64 104
  br label %79

._crit_edge:                                      ; preds = %186, %71
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %3) #4
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %3) #4
  ret void

79:                                               ; preds = %.lr.ph, %186
  %indvars.iv = phi i64 [ 0, %.lr.ph ], [ %indvars.iv.next, %186 ]
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %80 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt6vectorI10FloorParamSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %indvars.iv) #4
  %81 = trunc nuw nsw i64 %indvars.iv.next to i32
  store i32 %81, ptr %80, align 8, !tbaa !36
  %82 = load double, ptr %78, align 8, !tbaa !38
  %83 = fmul double %82, 5.000000e+02
  %84 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt6vectorI10FloorParamSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %indvars.iv) #4
  %85 = getelementptr inbounds i8, ptr %84, i64 8
  store double %83, ptr %85, align 8, !tbaa !39
  %86 = call noundef nonnull align 8 dereferenceable(88) ptr @_ZNSt6vectorI15InterstoryParamSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %indvars.iv) #4
  store i32 %81, ptr %86, align 8, !tbaa !40
  %87 = load i32, ptr %6, align 8, !tbaa !5
  %88 = call noundef double @_ZN8Building6lambdaEi(ptr noundef nonnull align 8 dereferenceable(260) %1, i32 noundef %87)
  %89 = fmul double %88, 0x4043BD3CC9BE45D3
  %90 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt6vectorI10FloorParamSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %indvars.iv) #4
  %91 = getelementptr inbounds i8, ptr %90, i64 8
  %92 = load double, ptr %91, align 8, !tbaa !39
  %93 = fmul double %89, %92
  %94 = load double, ptr %67, align 8, !tbaa !33
  %95 = fdiv double %93, %94
  %96 = fdiv double %95, %94
  %97 = call noundef nonnull align 8 dereferenceable(88) ptr @_ZNSt6vectorI15InterstoryParamSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %indvars.iv) #4
  %98 = getelementptr inbounds i8, ptr %97, i64 8
  store double %96, ptr %98, align 8, !tbaa !42
  %99 = load i32, ptr %6, align 8, !tbaa !5
  %100 = load ptr, ptr %0, align 8, !tbaa !26
  %101 = getelementptr inbounds %"class.std::map", ptr %100, i64 %.083
  %102 = invoke noundef nonnull align 8 dereferenceable(152) ptr @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN18HazusSAM_Generator9HazusDataESt4lessIS5_ESaISt4pairIKS5_S7_EEEixERSB_(ptr noundef nonnull align 8 dereferenceable(48) %101, ptr noundef nonnull align 8 dereferenceable(32) %3)
          to label %103 unwind label %194

103:                                              ; preds = %79
  %104 = uitofp nneg i32 %81 to double
  %105 = trunc nuw nsw i64 %indvars.iv to i32
  %106 = uitofp nneg i32 %105 to double
  %107 = fmul double %106, %104
  %108 = sitofp i32 %99 to double
  %109 = fdiv double %107, %108
  %110 = add nsw i32 %99, 1
  %111 = sitofp i32 %110 to double
  %112 = fdiv double %109, %111
  %113 = fsub double 1.000000e+00, %112
  %114 = getelementptr inbounds i8, ptr %102, i64 16
  %115 = load double, ptr %114, align 8, !tbaa !31
  %116 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt6vectorI10FloorParamSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %indvars.iv) #4
  %117 = getelementptr inbounds i8, ptr %116, i64 8
  %118 = load double, ptr %117, align 8, !tbaa !39
  %119 = fmul double %115, %118
  %120 = fmul double %119, 9.800000e+00
  %121 = load i32, ptr %6, align 8, !tbaa !5
  %122 = sitofp i32 %121 to double
  %123 = fmul double %120, %122
  %124 = fmul double %113, %123
  %125 = call noundef nonnull align 8 dereferenceable(88) ptr @_ZNSt6vectorI15InterstoryParamSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %indvars.iv) #4
  %126 = getelementptr inbounds i8, ptr %125, i64 16
  store double %124, ptr %126, align 8, !tbaa !43
  %127 = load ptr, ptr %0, align 8, !tbaa !26
  %128 = getelementptr inbounds %"class.std::map", ptr %127, i64 %.083
  %129 = invoke noundef nonnull align 8 dereferenceable(152) ptr @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN18HazusSAM_Generator9HazusDataESt4lessIS5_ESaISt4pairIKS5_S7_EEEixERSB_(ptr noundef nonnull align 8 dereferenceable(48) %128, ptr noundef nonnull align 8 dereferenceable(32) %3)
          to label %130 unwind label %194

130:                                              ; preds = %103
  %131 = getelementptr inbounds i8, ptr %129, i64 24
  %132 = load double, ptr %131, align 8, !tbaa !31
  %133 = call noundef nonnull align 8 dereferenceable(88) ptr @_ZNSt6vectorI15InterstoryParamSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %indvars.iv) #4
  %134 = getelementptr inbounds i8, ptr %133, i64 24
  store double %132, ptr %134, align 8, !tbaa !44
  %135 = load ptr, ptr %0, align 8, !tbaa !26
  %136 = getelementptr inbounds %"class.std::map", ptr %135, i64 %.083
  %137 = invoke noundef nonnull align 8 dereferenceable(152) ptr @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN18HazusSAM_Generator9HazusDataESt4lessIS5_ESaISt4pairIKS5_S7_EEEixERSB_(ptr noundef nonnull align 8 dereferenceable(48) %136, ptr noundef nonnull align 8 dereferenceable(32) %3)
          to label %138 unwind label %194

138:                                              ; preds = %130
  %139 = getelementptr inbounds i8, ptr %137, i64 32
  %140 = load double, ptr %139, align 8, !tbaa !31
  %141 = call noundef nonnull align 8 dereferenceable(88) ptr @_ZNSt6vectorI15InterstoryParamSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %indvars.iv) #4
  %142 = getelementptr inbounds i8, ptr %141, i64 32
  store double %140, ptr %142, align 8, !tbaa !45
  %143 = load ptr, ptr %0, align 8, !tbaa !26
  %144 = getelementptr inbounds %"class.std::map", ptr %143, i64 %.083
  %145 = invoke noundef nonnull align 8 dereferenceable(152) ptr @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN18HazusSAM_Generator9HazusDataESt4lessIS5_ESaISt4pairIKS5_S7_EEEixERSB_(ptr noundef nonnull align 8 dereferenceable(48) %144, ptr noundef nonnull align 8 dereferenceable(32) %3)
          to label %146 unwind label %194

146:                                              ; preds = %138
  %147 = getelementptr inbounds i8, ptr %145, i64 40
  %148 = load double, ptr %147, align 8, !tbaa !31
  %149 = call noundef nonnull align 8 dereferenceable(88) ptr @_ZNSt6vectorI15InterstoryParamSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %indvars.iv) #4
  %150 = getelementptr inbounds i8, ptr %149, i64 40
  store double %148, ptr %150, align 8, !tbaa !46
  %151 = load ptr, ptr %0, align 8, !tbaa !26
  %152 = getelementptr inbounds %"class.std::map", ptr %151, i64 %.083
  %153 = invoke noundef nonnull align 8 dereferenceable(152) ptr @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN18HazusSAM_Generator9HazusDataESt4lessIS5_ESaISt4pairIKS5_S7_EEEixERSB_(ptr noundef nonnull align 8 dereferenceable(48) %152, ptr noundef nonnull align 8 dereferenceable(32) %3)
          to label %154 unwind label %194

154:                                              ; preds = %146
  %155 = getelementptr inbounds i8, ptr %153, i64 48
  %156 = load double, ptr %155, align 8, !tbaa !31
  %157 = call noundef nonnull align 8 dereferenceable(88) ptr @_ZNSt6vectorI15InterstoryParamSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %indvars.iv) #4
  %158 = getelementptr inbounds i8, ptr %157, i64 48
  store double %156, ptr %158, align 8, !tbaa !47
  %159 = load ptr, ptr %0, align 8, !tbaa !26
  %160 = getelementptr inbounds %"class.std::map", ptr %159, i64 %.083
  %161 = invoke noundef nonnull align 8 dereferenceable(152) ptr @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN18HazusSAM_Generator9HazusDataESt4lessIS5_ESaISt4pairIKS5_S7_EEEixERSB_(ptr noundef nonnull align 8 dereferenceable(48) %160, ptr noundef nonnull align 8 dereferenceable(32) %3)
          to label %162 unwind label %194

162:                                              ; preds = %154
  %163 = getelementptr inbounds i8, ptr %161, i64 56
  %164 = load double, ptr %163, align 8, !tbaa !31
  %165 = call noundef nonnull align 8 dereferenceable(88) ptr @_ZNSt6vectorI15InterstoryParamSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %indvars.iv) #4
  %166 = getelementptr inbounds i8, ptr %165, i64 56
  store double %164, ptr %166, align 8, !tbaa !48
  %167 = load ptr, ptr %0, align 8, !tbaa !26
  %168 = getelementptr inbounds %"class.std::map", ptr %167, i64 %.083
  %169 = invoke noundef nonnull align 8 dereferenceable(152) ptr @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN18HazusSAM_Generator9HazusDataESt4lessIS5_ESaISt4pairIKS5_S7_EEEixERSB_(ptr noundef nonnull align 8 dereferenceable(48) %168, ptr noundef nonnull align 8 dereferenceable(32) %3)
          to label %170 unwind label %194

170:                                              ; preds = %162
  %171 = getelementptr inbounds i8, ptr %169, i64 64
  %172 = load double, ptr %171, align 8, !tbaa !31
  %173 = call noundef nonnull align 8 dereferenceable(88) ptr @_ZNSt6vectorI15InterstoryParamSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %indvars.iv) #4
  %174 = getelementptr inbounds i8, ptr %173, i64 64
  store double %172, ptr %174, align 8, !tbaa !49
  %175 = load ptr, ptr %0, align 8, !tbaa !26
  %176 = getelementptr inbounds %"class.std::map", ptr %175, i64 %.083
  %177 = invoke noundef nonnull align 8 dereferenceable(152) ptr @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN18HazusSAM_Generator9HazusDataESt4lessIS5_ESaISt4pairIKS5_S7_EEEixERSB_(ptr noundef nonnull align 8 dereferenceable(48) %176, ptr noundef nonnull align 8 dereferenceable(32) %3)
          to label %178 unwind label %194

178:                                              ; preds = %170
  %179 = getelementptr inbounds i8, ptr %177, i64 72
  %180 = load double, ptr %179, align 8, !tbaa !31
  %181 = call noundef nonnull align 8 dereferenceable(88) ptr @_ZNSt6vectorI15InterstoryParamSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %indvars.iv) #4
  %182 = getelementptr inbounds i8, ptr %181, i64 72
  store double %180, ptr %182, align 8, !tbaa !50
  %183 = load ptr, ptr %0, align 8, !tbaa !26
  %184 = getelementptr inbounds %"class.std::map", ptr %183, i64 %.083
  %185 = invoke noundef nonnull align 8 dereferenceable(152) ptr @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN18HazusSAM_Generator9HazusDataESt4lessIS5_ESaISt4pairIKS5_S7_EEEixERSB_(ptr noundef nonnull align 8 dereferenceable(48) %184, ptr noundef nonnull align 8 dereferenceable(32) %3)
          to label %186 unwind label %194

186:                                              ; preds = %178
  %187 = getelementptr inbounds i8, ptr %185, i64 80
  %188 = load double, ptr %187, align 8, !tbaa !31
  %189 = call noundef nonnull align 8 dereferenceable(88) ptr @_ZNSt6vectorI15InterstoryParamSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %indvars.iv) #4
  %190 = getelementptr inbounds i8, ptr %189, i64 80
  store double %188, ptr %190, align 8, !tbaa !51
  %191 = load i32, ptr %6, align 8, !tbaa !5
  %192 = sext i32 %191 to i64
  %193 = icmp slt i64 %indvars.iv.next, %192
  br i1 %193, label %79, label %._crit_edge, !llvm.loop !52

194:                                              ; preds = %178, %170, %162, %154, %146, %138, %130, %103, %79
  %195 = landingpad { ptr, i32 }
          cleanup
  br label %196

196:                                              ; preds = %29, %60, %194, %20
  %.pn.pn = phi { ptr, i32 } [ %21, %20 ], [ %61, %60 ], [ %195, %194 ], [ %30, %29 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %3) #4
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %3) #4
  resume { ptr, i32 } %.pn.pn
}

declare void @_ZN8Building12GetHazusTypeB5cxx11Ev(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 8 dereferenceable(260)) local_unnamed_addr #3

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

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

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef double @_ZN8Building6lambdaEi(ptr noundef nonnull align 8 dereferenceable(260), i32 noundef) local_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 = { 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, !7, i64 88}
!6 = !{!"_ZTS8Building", !7, i64 0, !10, i64 8, !14, i64 40, !10, i64 48, !7, i64 80, !15, i64 84, !7, i64 88, !16, i64 96, !16, i64 104, !16, i64 112, !16, i64 120, !16, i64 128, !17, i64 136, !21, i64 160, !8, i64 184, !16, i64 216, !16, i64 224, !16, i64 232, !16, i64 240, !16, i64 248, !7, i64 256}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !11, i64 0, !13, i64 8, !8, i64 16}
!11 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !12, i64 0}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!"long", !8, i64 0}
!14 = !{!"_ZTSN8Building8StruTypeE", !8, i64 0}
!15 = !{!"_ZTSN8Building13BldgOccupancyE", !8, i64 0}
!16 = !{!"double", !8, i64 0}
!17 = !{!"_ZTSSt6vectorI15InterstoryParamSaIS0_EE", !18, i64 0}
!18 = !{!"_ZTSSt12_Vector_baseI15InterstoryParamSaIS0_EE", !19, i64 0}
!19 = !{!"_ZTSNSt12_Vector_baseI15InterstoryParamSaIS0_EE12_Vector_implE", !20, i64 0}
!20 = !{!"_ZTSNSt12_Vector_baseI15InterstoryParamSaIS0_EE17_Vector_impl_dataE", !12, i64 0, !12, i64 8, !12, i64 16}
!21 = !{!"_ZTSSt6vectorI10FloorParamSaIS0_EE", !22, i64 0}
!22 = !{!"_ZTSSt12_Vector_baseI10FloorParamSaIS0_EE", !23, i64 0}
!23 = !{!"_ZTSNSt12_Vector_baseI10FloorParamSaIS0_EE12_Vector_implE", !24, i64 0}
!24 = !{!"_ZTSNSt12_Vector_baseI10FloorParamSaIS0_EE17_Vector_impl_dataE", !12, i64 0, !12, i64 8, !12, i64 16}
!25 = !{!6, !7, i64 80}
!26 = !{!27, !12, i64 0}
!27 = !{!"_ZTS18HazusSAM_Generator", !12, i64 0}
!28 = !{!29, !16, i64 136}
!29 = !{!"_ZTSN18HazusSAM_Generator9HazusDataE", !7, i64 0, !7, i64 4, !8, i64 8, !8, i64 88, !16, i64 120, !16, i64 128, !16, i64 136, !16, i64 144}
!30 = !{!6, !16, i64 216}
!31 = !{!16, !16, i64 0}
!32 = !{!29, !16, i64 120}
!33 = !{!6, !16, i64 224}
!34 = !{!29, !16, i64 128}
!35 = !{!6, !16, i64 232}
!36 = !{!37, !7, i64 0}
!37 = !{!"_ZTS10FloorParam", !7, i64 0, !16, i64 8}
!38 = !{!6, !16, i64 104}
!39 = !{!37, !16, i64 8}
!40 = !{!41, !7, i64 0}
!41 = !{!"_ZTS15InterstoryParam", !7, i64 0, !16, i64 8, !16, i64 16, !16, i64 24, !16, i64 32, !16, i64 40, !16, i64 48, !16, i64 56, !16, i64 64, !16, i64 72, !16, i64 80}
!42 = !{!41, !16, i64 8}
!43 = !{!41, !16, i64 16}
!44 = !{!41, !16, i64 24}
!45 = !{!41, !16, i64 32}
!46 = !{!41, !16, i64 40}
!47 = !{!41, !16, i64 48}
!48 = !{!41, !16, i64 56}
!49 = !{!41, !16, i64 64}
!50 = !{!41, !16, i64 72}
!51 = !{!41, !16, i64 80}
!52 = distinct !{!52, !53}
!53 = !{!"llvm.loop.mustprogress"}


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