; LLVM IR from mackorone/mms :: old/v2/src/sim/State.ll (ZN3sim5StateC2Ev)

; 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::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<sim::Key, std::allocator<sim::Key>>::_Vector_impl" }
%"struct.std::_Vector_base<sim::Key, std::allocator<sim::Key>>::_Vector_impl" = type { %"struct.std::_Vector_base<sim::Key, std::allocator<sim::Key>>::_Vector_impl_data" }
%"struct.std::_Vector_base<sim::Key, std::allocator<sim::Key>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::map.35" = type { %"class.std::_Rb_tree.36" }
%"class.std::_Rb_tree.36" = type { %"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, sim::LayoutType>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, sim::LayoutType>>, 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>, sim::LayoutType>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, sim::LayoutType>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }
%"class.std::__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] }
%"struct.std::pair.54" = type <{ i32, i8, [3 x i8] }>
%"struct.std::pair.52" = type <{ %"struct.std::_Rb_tree_iterator", i8, [7 x i8] }>
%"struct.std::_Rb_tree_iterator" = type { ptr }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }
%"struct.std::pair.61" = type <{ i32, i8, [3 x i8] }>
%"struct.std::pair.57" = type <{ %"struct.std::_Rb_tree_iterator.59", i8, [7 x i8] }>
%"struct.std::_Rb_tree_iterator.59" = type { ptr }
%"class.sim::State" = type { %"class.std::__cxx11::basic_string", i8, i32, i8, double, i8, i8, i8, i8, i8, i8, i8, i8, double, %"class.std::map.41", %"class.std::map.46" }
%"class.std::map.41" = type { %"class.std::_Rb_tree.42" }
%"class.std::_Rb_tree.42" = type { %"struct.std::_Rb_tree<int, std::pair<const int, bool>, std::_Select1st<std::pair<const int, bool>>, std::less<int>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<int, std::pair<const int, bool>, std::_Select1st<std::pair<const int, bool>>, std::less<int>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"class.std::map.46" = type { %"class.std::_Rb_tree.47" }
%"class.std::_Rb_tree.47" = type { %"struct.std::_Rb_tree<sim::Key, std::pair<const sim::Key, bool>, std::_Select1st<std::pair<const sim::Key, bool>>, std::less<sim::Key>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<sim::Key, std::pair<const sim::Key, bool>, std::_Select1st<std::pair<const sim::Key, bool>>, std::less<sim::Key>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }

@_ZN3simL10ARROW_KEYSE = external hidden global %"class.std::vector", align 8
@_ZN3simL21STRING_TO_LAYOUT_TYPEB5cxx11E = external hidden global %"class.std::map.35", align 8
@.str.9 = external hidden unnamed_addr constant [1 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 uwtable
define dso_local void @_ZN3sim5StateC2Ev(ptr noundef nonnull align 8 dereferenceable(168) %0) unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca ptr, align 8
  %3 = alloca ptr, align 8
  %4 = alloca i32, align 4
  %5 = alloca %"class.std::__cxx11::basic_string", align 8
  %6 = alloca i32, align 4
  %7 = alloca %"struct.std::pair.54", align 4
  %8 = alloca i8, align 1
  %9 = alloca %"struct.std::pair.52", align 8
  %10 = alloca ptr, align 8
  %11 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %12 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %13 = alloca i32, align 4
  %14 = alloca %"struct.std::pair.61", align 4
  %15 = alloca i8, align 1
  %16 = alloca %"struct.std::pair.57", align 8
  store ptr %0, ptr %2, align 8, !tbaa !5
  %17 = load ptr, ptr %2, align 8
  %18 = getelementptr inbounds %"class.sim::State", ptr %17, i32 0, i32 0
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %18) #5
  %19 = getelementptr inbounds %"class.sim::State", ptr %17, i32 0, i32 14
  call void @_ZNSt3mapIibSt4lessIiESaISt4pairIKibEEEC2Ev(ptr noundef nonnull align 8 dereferenceable(48) %19) #5
  %20 = getelementptr inbounds %"class.sim::State", ptr %17, i32 0, i32 15
  call void @_ZNSt3mapIN3sim3KeyEbSt4lessIS1_ESaISt4pairIKS1_bEEEC2Ev(ptr noundef nonnull align 8 dereferenceable(48) %20) #5
  %21 = getelementptr inbounds %"class.sim::State", ptr %17, i32 0, i32 0
  %22 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEPKc(ptr noundef nonnull align 8 dereferenceable(32) %21, ptr noundef @.str.9)
          to label %23 unwind label %100

23:                                               ; preds = %1
  %24 = getelementptr inbounds %"class.sim::State", ptr %17, i32 0, i32 1
  store i8 0, ptr %24, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 32, ptr %5) #5
  %25 = invoke noundef ptr @_ZN3sim1PEv()
          to label %26 unwind label %104

26:                                               ; preds = %23
  invoke void @_ZN3sim5Param17defaultLayoutTypeB5cxx11Ev(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %5, ptr noundef nonnull align 8 dereferenceable(1056) %25)
          to label %27 unwind label %104

27:                                               ; preds = %26
  %28 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN3sim10LayoutTypeESt4lessIS5_ESaISt4pairIKS5_S7_EEE2atERSB_(ptr noundef nonnull align 8 dereferenceable(48) @_ZN3simL21STRING_TO_LAYOUT_TYPEB5cxx11E, ptr noundef nonnull align 8 dereferenceable(32) %5)
          to label %29 unwind label %108

29:                                               ; preds = %27
  %30 = load i32, ptr %28, align 4, !tbaa !30
  %31 = getelementptr inbounds %"class.sim::State", ptr %17, i32 0, i32 2
  store i32 %30, ptr %31, align 4, !tbaa !31
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %5) #5
  %32 = invoke noundef ptr @_ZN3sim1PEv()
          to label %33 unwind label %100

33:                                               ; preds = %29
  %34 = invoke noundef zeroext i1 @_ZN3sim5Param22defaultRotateZoomedMapEv(ptr noundef nonnull align 8 dereferenceable(1056) %32)
          to label %35 unwind label %100

35:                                               ; preds = %33
  %36 = getelementptr inbounds %"class.sim::State", ptr %17, i32 0, i32 3
  %37 = zext i1 %34 to i8
  store i8 %37, ptr %36, align 8, !tbaa !32
  %38 = invoke noundef ptr @_ZN3sim1PEv()
          to label %39 unwind label %100

39:                                               ; preds = %35
  %40 = invoke noundef double @_ZN3sim5Param21defaultZoomedMapScaleEv(ptr noundef nonnull align 8 dereferenceable(1056) %38)
          to label %41 unwind label %100

41:                                               ; preds = %39
  %42 = getelementptr inbounds %"class.sim::State", ptr %17, i32 0, i32 4
  store double %40, ptr %42, align 8, !tbaa !33
  %43 = invoke noundef ptr @_ZN3sim1PEv()
          to label %44 unwind label %100

44:                                               ; preds = %41
  %45 = invoke noundef zeroext i1 @_ZN3sim5Param23defaultWallTruthVisibleEv(ptr noundef nonnull align 8 dereferenceable(1056) %43)
          to label %46 unwind label %100

46:                                               ; preds = %44
  %47 = getelementptr inbounds %"class.sim::State", ptr %17, i32 0, i32 5
  %48 = zext i1 %45 to i8
  store i8 %48, ptr %47, align 8, !tbaa !34
  %49 = invoke noundef ptr @_ZN3sim1PEv()
          to label %50 unwind label %100

50:                                               ; preds = %46
  %51 = invoke noundef zeroext i1 @_ZN3sim5Param24defaultTileColorsVisibleEv(ptr noundef nonnull align 8 dereferenceable(1056) %49)
          to label %52 unwind label %100

52:                                               ; preds = %50
  %53 = getelementptr inbounds %"class.sim::State", ptr %17, i32 0, i32 6
  %54 = zext i1 %51 to i8
  store i8 %54, ptr %53, align 1, !tbaa !35
  %55 = invoke noundef ptr @_ZN3sim1PEv()
          to label %56 unwind label %100

56:                                               ; preds = %52
  %57 = invoke noundef zeroext i1 @_ZN3sim5Param22defaultTileTextVisibleEv(ptr noundef nonnull align 8 dereferenceable(1056) %55)
          to label %58 unwind label %100

58:                                               ; preds = %56
  %59 = getelementptr inbounds %"class.sim::State", ptr %17, i32 0, i32 8
  %60 = zext i1 %57 to i8
  store i8 %60, ptr %59, align 1, !tbaa !36
  %61 = invoke noundef ptr @_ZN3sim1PEv()
          to label %62 unwind label %100

62:                                               ; preds = %58
  %63 = invoke noundef zeroext i1 @_ZN3sim5Param26defaultTileDistanceVisibleEv(ptr noundef nonnull align 8 dereferenceable(1056) %61)
          to label %64 unwind label %100

64:                                               ; preds = %62
  %65 = getelementptr inbounds %"class.sim::State", ptr %17, i32 0, i32 9
  %66 = zext i1 %63 to i8
  store i8 %66, ptr %65, align 4, !tbaa !37
  %67 = invoke noundef ptr @_ZN3sim1PEv()
          to label %68 unwind label %100

68:                                               ; preds = %64
  %69 = invoke noundef zeroext i1 @_ZN3sim5Param20defaultHeaderVisibleEv(ptr noundef nonnull align 8 dereferenceable(1056) %67)
          to label %70 unwind label %100

70:                                               ; preds = %68
  %71 = getelementptr inbounds %"class.sim::State", ptr %17, i32 0, i32 10
  %72 = zext i1 %69 to i8
  store i8 %72, ptr %71, align 1, !tbaa !38
  %73 = invoke noundef ptr @_ZN3sim1PEv()
          to label %74 unwind label %100

74:                                               ; preds = %70
  %75 = invoke noundef zeroext i1 @_ZN3sim5Param21defaultTileFogVisibleEv(ptr noundef nonnull align 8 dereferenceable(1056) %73)
          to label %76 unwind label %100

76:                                               ; preds = %74
  %77 = getelementptr inbounds %"class.sim::State", ptr %17, i32 0, i32 7
  %78 = zext i1 %75 to i8
  store i8 %78, ptr %77, align 2, !tbaa !39
  %79 = invoke noundef ptr @_ZN3sim1PEv()
          to label %80 unwind label %100

80:                                               ; preds = %76
  %81 = invoke noundef zeroext i1 @_ZN3sim5Param20defaultWireframeModeEv(ptr noundef nonnull align 8 dereferenceable(1056) %79)
          to label %82 unwind label %100

82:                                               ; preds = %80
  %83 = getelementptr inbounds %"class.sim::State", ptr %17, i32 0, i32 11
  %84 = zext i1 %81 to i8
  store i8 %84, ptr %83, align 2, !tbaa !40
  %85 = invoke noundef ptr @_ZN3sim1PEv()
          to label %86 unwind label %100

86:                                               ; preds = %82
  %87 = invoke noundef zeroext i1 @_ZN3sim5Param13defaultPausedEv(ptr noundef nonnull align 8 dereferenceable(1056) %85)
          to label %88 unwind label %100

88:                                               ; preds = %86
  %89 = getelementptr inbounds %"class.sim::State", ptr %17, i32 0, i32 12
  %90 = zext i1 %87 to i8
  store i8 %90, ptr %89, align 1, !tbaa !41
  %91 = invoke noundef ptr @_ZN3sim1PEv()
          to label %92 unwind label %100

92:                                               ; preds = %88
  %93 = invoke noundef double @_ZN3sim5Param15defaultSimSpeedEv(ptr noundef nonnull align 8 dereferenceable(1056) %91)
          to label %94 unwind label %100

94:                                               ; preds = %92
  %95 = getelementptr inbounds %"class.sim::State", ptr %17, i32 0, i32 13
  store double %93, ptr %95, align 8, !tbaa !42
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #5
  store i32 0, ptr %6, align 4, !tbaa !43
  br label %96

96:                                               ; preds = %124, %94
  %97 = load i32, ptr %6, align 4, !tbaa !43
  %98 = icmp slt i32 %97, 10
  br i1 %98, label %113, label %99

99:                                               ; preds = %96
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #5
  br label %131

100:                                              ; preds = %92, %88, %86, %82, %80, %76, %74, %70, %68, %64, %62, %58, %56, %52, %50, %46, %44, %41, %39, %35, %33, %29, %1
  %101 = landingpad { ptr, i32 }
          cleanup
  %102 = extractvalue { ptr, i32 } %101, 0
  store ptr %102, ptr %3, align 8
  %103 = extractvalue { ptr, i32 } %101, 1
  store i32 %103, ptr %4, align 4
  br label %159

104:                                              ; preds = %26, %23
  %105 = landingpad { ptr, i32 }
          cleanup
  %106 = extractvalue { ptr, i32 } %105, 0
  store ptr %106, ptr %3, align 8
  %107 = extractvalue { ptr, i32 } %105, 1
  store i32 %107, ptr %4, align 4
  br label %112

108:                                              ; preds = %27
  %109 = landingpad { ptr, i32 }
          cleanup
  %110 = extractvalue { ptr, i32 } %109, 0
  store ptr %110, ptr %3, align 8
  %111 = extractvalue { ptr, i32 } %109, 1
  store i32 %111, ptr %4, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #5
  br label %112

112:                                              ; preds = %108, %104
  call void @llvm.lifetime.end.p0(i64 32, ptr %5) #5
  br label %159

113:                                              ; preds = %96
  %114 = getelementptr inbounds %"class.sim::State", ptr %17, i32 0, i32 14
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr %8) #5
  store i8 0, ptr %8, align 1, !tbaa !45
  %115 = invoke i64 @_ZSt9make_pairIRibESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS2_INS3_IT0_E4typeEE6__typeEEOS4_OS9_(ptr noundef nonnull align 4 dereferenceable(4) %6, ptr noundef nonnull align 1 dereferenceable(1) %8)
          to label %116 unwind label %127

116:                                              ; preds = %113
  %117 = trunc i64 %115 to i40
  store i40 %117, ptr %7, align 4
  %118 = invoke { ptr, i8 } @_ZNSt3mapIibSt4lessIiESaISt4pairIKibEEE6insertIS2_IibEEENSt9enable_ifIXsr16is_constructibleIS4_T_EE5valueES2_ISt17_Rb_tree_iteratorIS4_EbEE4typeEOSA_(ptr noundef nonnull align 8 dereferenceable(48) %114, ptr noundef nonnull align 4 dereferenceable(5) %7)
          to label %119 unwind label %127

119:                                              ; preds = %116
  %120 = getelementptr inbounds { ptr, i8 }, ptr %9, i32 0, i32 0
  %121 = extractvalue { ptr, i8 } %118, 0
  store ptr %121, ptr %120, align 8
  %122 = getelementptr inbounds { ptr, i8 }, ptr %9, i32 0, i32 1
  %123 = extractvalue { ptr, i8 } %118, 1
  store i8 %123, ptr %122, align 8
  call void @llvm.lifetime.end.p0(i64 1, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #5
  br label %124

124:                                              ; preds = %119
  %125 = load i32, ptr %6, align 4, !tbaa !43
  %126 = add nsw i32 %125, 1
  store i32 %126, ptr %6, align 4, !tbaa !43
  br label %96, !llvm.loop !46

127:                                              ; preds = %116, %113
  %128 = landingpad { ptr, i32 }
          cleanup
  %129 = extractvalue { ptr, i32 } %128, 0
  store ptr %129, ptr %3, align 8
  %130 = extractvalue { ptr, i32 } %128, 1
  store i32 %130, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #5
  br label %159

131:                                              ; preds = %99
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #5
  store ptr @_ZN3simL10ARROW_KEYSE, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #5
  %132 = call ptr @_ZNKSt6vectorIN3sim3KeyESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) @_ZN3simL10ARROW_KEYSE) #5
  %133 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %11, i32 0, i32 0
  store ptr %132, ptr %133, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #5
  %134 = call ptr @_ZNKSt6vectorIN3sim3KeyESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) @_ZN3simL10ARROW_KEYSE) #5
  %135 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %12, i32 0, i32 0
  store ptr %134, ptr %135, align 8
  br label %136

136:                                              ; preds = %152, %131
  %137 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKN3sim3KeyESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %11, ptr noundef nonnull align 8 dereferenceable(8) %12) #5
  br i1 %137, label %139, label %138

138:                                              ; preds = %136
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #5
  br label %158

139:                                              ; preds = %136
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #5
  %140 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKN3sim3KeyESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %11) #5
  %141 = load i32, ptr %140, align 4, !tbaa !48
  store i32 %141, ptr %13, align 4, !tbaa !48
  %142 = getelementptr inbounds %"class.sim::State", ptr %17, i32 0, i32 15
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr %15) #5
  store i8 0, ptr %15, align 1, !tbaa !45
  %143 = invoke i64 @_ZSt9make_pairIRN3sim3KeyEbESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS4_INS5_IT0_E4typeEE6__typeEEOS6_OSB_(ptr noundef nonnull align 4 dereferenceable(4) %13, ptr noundef nonnull align 1 dereferenceable(1) %15)
          to label %144 unwind label %154

144:                                              ; preds = %139
  %145 = trunc i64 %143 to i40
  store i40 %145, ptr %14, align 4
  %146 = invoke { ptr, i8 } @_ZNSt3mapIN3sim3KeyEbSt4lessIS1_ESaISt4pairIKS1_bEEE6insertIS4_IS1_bEEENSt9enable_ifIXsr16is_constructibleIS6_T_EE5valueES4_ISt17_Rb_tree_iteratorIS6_EbEE4typeEOSC_(ptr noundef nonnull align 8 dereferenceable(48) %142, ptr noundef nonnull align 4 dereferenceable(5) %14)
          to label %147 unwind label %154

147:                                              ; preds = %144
  %148 = getelementptr inbounds { ptr, i8 }, ptr %16, i32 0, i32 0
  %149 = extractvalue { ptr, i8 } %146, 0
  store ptr %149, ptr %148, align 8
  %150 = getelementptr inbounds { ptr, i8 }, ptr %16, i32 0, i32 1
  %151 = extractvalue { ptr, i8 } %146, 1
  store i8 %151, ptr %150, align 8
  call void @llvm.lifetime.end.p0(i64 1, ptr %15) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #5
  br label %152

152:                                              ; preds = %147
  %153 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKN3sim3KeyESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %11) #5
  br label %136

154:                                              ; preds = %144, %139
  %155 = landingpad { ptr, i32 }
          cleanup
  %156 = extractvalue { ptr, i32 } %155, 0
  store ptr %156, ptr %3, align 8
  %157 = extractvalue { ptr, i32 } %155, 1
  store i32 %157, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %15) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #5
  br label %159

158:                                              ; preds = %138
  ret void

159:                                              ; preds = %154, %127, %112, %100
  call void @_ZNSt3mapIN3sim3KeyEbSt4lessIS1_ESaISt4pairIKS1_bEEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %20) #5
  call void @_ZNSt3mapIibSt4lessIiESaISt4pairIKibEEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %19) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %18) #5
  br label %160

160:                                              ; preds = %159
  %161 = load ptr, ptr %3, align 8
  %162 = load i32, ptr %4, align 4
  %163 = insertvalue { ptr, i32 } poison, ptr %161, 0
  %164 = insertvalue { ptr, i32 } %163, i32 %162, 1
  resume { ptr, i32 } %164
}

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

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

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

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

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

declare noundef ptr @_ZN3sim1PEv() #3

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

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

declare noundef zeroext i1 @_ZN3sim5Param22defaultRotateZoomedMapEv(ptr noundef nonnull align 8 dereferenceable(1056)) #3

declare noundef double @_ZN3sim5Param21defaultZoomedMapScaleEv(ptr noundef nonnull align 8 dereferenceable(1056)) #3

declare noundef zeroext i1 @_ZN3sim5Param23defaultWallTruthVisibleEv(ptr noundef nonnull align 8 dereferenceable(1056)) #3

declare noundef zeroext i1 @_ZN3sim5Param24defaultTileColorsVisibleEv(ptr noundef nonnull align 8 dereferenceable(1056)) #3

declare noundef zeroext i1 @_ZN3sim5Param22defaultTileTextVisibleEv(ptr noundef nonnull align 8 dereferenceable(1056)) #3

declare noundef zeroext i1 @_ZN3sim5Param26defaultTileDistanceVisibleEv(ptr noundef nonnull align 8 dereferenceable(1056)) #3

declare noundef zeroext i1 @_ZN3sim5Param20defaultHeaderVisibleEv(ptr noundef nonnull align 8 dereferenceable(1056)) #3

declare noundef zeroext i1 @_ZN3sim5Param21defaultTileFogVisibleEv(ptr noundef nonnull align 8 dereferenceable(1056)) #3

declare noundef zeroext i1 @_ZN3sim5Param20defaultWireframeModeEv(ptr noundef nonnull align 8 dereferenceable(1056)) #3

declare noundef zeroext i1 @_ZN3sim5Param13defaultPausedEv(ptr noundef nonnull align 8 dereferenceable(1056)) #3

declare noundef double @_ZN3sim5Param15defaultSimSpeedEv(ptr noundef nonnull align 8 dereferenceable(1056)) #3

; Function Attrs: mustprogress uwtable
declare dso_local { ptr, i8 } @_ZNSt3mapIibSt4lessIiESaISt4pairIKibEEE6insertIS2_IibEEENSt9enable_ifIXsr16is_constructibleIS4_T_EE5valueES2_ISt17_Rb_tree_iteratorIS4_EbEE4typeEOSA_(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 4 dereferenceable(5)) #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local i64 @_ZSt9make_pairIRibESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS2_INS3_IT0_E4typeEE6__typeEEOS4_OS9_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 1 dereferenceable(1)) #1

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local { ptr, i8 } @_ZNSt3mapIN3sim3KeyEbSt4lessIS1_ESaISt4pairIKS1_bEEE6insertIS4_IS1_bEEENSt9enable_ifIXsr16is_constructibleIS6_T_EE5valueES4_ISt17_Rb_tree_iteratorIS6_EbEE4typeEOSC_(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 4 dereferenceable(5)) #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local i64 @_ZSt9make_pairIRN3sim3KeyEbESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS4_INS5_IT0_E4typeEE6__typeEEOS6_OSB_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 1 dereferenceable(1)) #1

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

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

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { 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 #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 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { 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, !14, i64 32}
!10 = !{!"_ZTSN3sim5StateE", !11, i64 0, !14, i64 32, !15, i64 36, !14, i64 40, !16, i64 48, !14, i64 56, !14, i64 57, !14, i64 58, !14, i64 59, !14, i64 60, !14, i64 61, !14, i64 62, !14, i64 63, !16, i64 64, !17, i64 72, !25, i64 120}
!11 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !12, i64 0, !13, i64 8, !7, i64 16}
!12 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!13 = !{!"long", !7, i64 0}
!14 = !{!"bool", !7, i64 0}
!15 = !{!"_ZTSN3sim10LayoutTypeE", !7, i64 0}
!16 = !{!"double", !7, i64 0}
!17 = !{!"_ZTSSt3mapIibSt4lessIiESaISt4pairIKibEEE", !18, i64 0}
!18 = !{!"_ZTSSt8_Rb_treeIiSt4pairIKibESt10_Select1stIS2_ESt4lessIiESaIS2_EE", !19, i64 0}
!19 = !{!"_ZTSNSt8_Rb_treeIiSt4pairIKibESt10_Select1stIS2_ESt4lessIiESaIS2_EE13_Rb_tree_implIS6_Lb1EEE", !20, i64 0, !22, i64 8}
!20 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessIiEE", !21, i64 0}
!21 = !{!"_ZTSSt4lessIiE"}
!22 = !{!"_ZTSSt15_Rb_tree_header", !23, i64 0, !13, i64 32}
!23 = !{!"_ZTSSt18_Rb_tree_node_base", !24, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!24 = !{!"_ZTSSt14_Rb_tree_color", !7, i64 0}
!25 = !{!"_ZTSSt3mapIN3sim3KeyEbSt4lessIS1_ESaISt4pairIKS1_bEEE", !26, i64 0}
!26 = !{!"_ZTSSt8_Rb_treeIN3sim3KeyESt4pairIKS1_bESt10_Select1stIS4_ESt4lessIS1_ESaIS4_EE", !27, i64 0}
!27 = !{!"_ZTSNSt8_Rb_treeIN3sim3KeyESt4pairIKS1_bESt10_Select1stIS4_ESt4lessIS1_ESaIS4_EE13_Rb_tree_implIS8_Lb1EEE", !28, i64 0, !22, i64 8}
!28 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessIN3sim3KeyEEE", !29, i64 0}
!29 = !{!"_ZTSSt4lessIN3sim3KeyEE"}
!30 = !{!15, !15, i64 0}
!31 = !{!10, !15, i64 36}
!32 = !{!10, !14, i64 40}
!33 = !{!10, !16, i64 48}
!34 = !{!10, !14, i64 56}
!35 = !{!10, !14, i64 57}
!36 = !{!10, !14, i64 59}
!37 = !{!10, !14, i64 60}
!38 = !{!10, !14, i64 61}
!39 = !{!10, !14, i64 58}
!40 = !{!10, !14, i64 62}
!41 = !{!10, !14, i64 63}
!42 = !{!10, !16, i64 64}
!43 = !{!44, !44, i64 0}
!44 = !{!"int", !7, i64 0}
!45 = !{!14, !14, i64 0}
!46 = distinct !{!46, !47}
!47 = !{!"llvm.loop.mustprogress"}
!48 = !{!49, !49, i64 0}
!49 = !{!"_ZTSN3sim3KeyE", !7, i64 0}


; 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::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<sim::Key, std::allocator<sim::Key>>::_Vector_impl" }
%"struct.std::_Vector_base<sim::Key, std::allocator<sim::Key>>::_Vector_impl" = type { %"struct.std::_Vector_base<sim::Key, std::allocator<sim::Key>>::_Vector_impl_data" }
%"struct.std::_Vector_base<sim::Key, std::allocator<sim::Key>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::map.35" = type { %"class.std::_Rb_tree.36" }
%"class.std::_Rb_tree.36" = type { %"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, sim::LayoutType>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, sim::LayoutType>>, 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>, sim::LayoutType>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, sim::LayoutType>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }
%"class.std::__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] }
%"struct.std::pair.54" = type <{ i32, i8, [3 x i8] }>
%"class.__gnu_cxx::__normal_iterator" = type { ptr }
%"struct.std::pair.61" = type <{ i32, i8, [3 x i8] }>

@_ZN3simL10ARROW_KEYSE = external hidden global %"class.std::vector", align 8
@_ZN3simL21STRING_TO_LAYOUT_TYPEB5cxx11E = external hidden global %"class.std::map.35", align 8
@.str.9 = external hidden unnamed_addr constant [1 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 uwtable
define dso_local void @_ZN3sim5StateC2Ev(ptr noundef nonnull align 8 dereferenceable(168) %0) unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca %"class.std::__cxx11::basic_string", align 8
  %3 = alloca i32, align 4
  %4 = alloca %"struct.std::pair.54", align 8
  %5 = alloca i8, align 1
  %6 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %7 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %8 = alloca i32, align 4
  %9 = alloca %"struct.std::pair.61", align 8
  %10 = alloca i8, align 1
  tail call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %0) #5
  %11 = getelementptr inbounds i8, ptr %0, i64 72
  tail call void @_ZNSt3mapIibSt4lessIiESaISt4pairIKibEEEC2Ev(ptr noundef nonnull align 8 dereferenceable(48) %11) #5
  %12 = getelementptr inbounds i8, ptr %0, i64 120
  tail call void @_ZNSt3mapIN3sim3KeyEbSt4lessIS1_ESaISt4pairIKS1_bEEEC2Ev(ptr noundef nonnull align 8 dereferenceable(48) %12) #5
  %13 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEPKc(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef nonnull @.str.9)
          to label %14 unwind label %91

14:                                               ; preds = %1
  %15 = getelementptr inbounds i8, ptr %0, i64 32
  store i8 0, ptr %15, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %2) #5
  %16 = invoke noundef ptr @_ZN3sim1PEv()
          to label %17 unwind label %93

17:                                               ; preds = %14
  invoke void @_ZN3sim5Param17defaultLayoutTypeB5cxx11Ev(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %2, ptr noundef nonnull align 8 dereferenceable(1056) %16)
          to label %18 unwind label %93

18:                                               ; preds = %17
  %19 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN3sim10LayoutTypeESt4lessIS5_ESaISt4pairIKS5_S7_EEE2atERSB_(ptr noundef nonnull align 8 dereferenceable(48) @_ZN3simL21STRING_TO_LAYOUT_TYPEB5cxx11E, ptr noundef nonnull align 8 dereferenceable(32) %2)
          to label %20 unwind label %95

20:                                               ; preds = %18
  %21 = load i32, ptr %19, align 4, !tbaa !29
  %22 = getelementptr inbounds i8, ptr %0, i64 36
  store i32 %21, ptr %22, align 4, !tbaa !30
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %2) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %2) #5
  %23 = invoke noundef ptr @_ZN3sim1PEv()
          to label %24 unwind label %91

24:                                               ; preds = %20
  %25 = invoke noundef zeroext i1 @_ZN3sim5Param22defaultRotateZoomedMapEv(ptr noundef nonnull align 8 dereferenceable(1056) %23)
          to label %26 unwind label %91

26:                                               ; preds = %24
  %27 = getelementptr inbounds i8, ptr %0, i64 40
  %28 = zext i1 %25 to i8
  store i8 %28, ptr %27, align 8, !tbaa !31
  %29 = invoke noundef ptr @_ZN3sim1PEv()
          to label %30 unwind label %91

30:                                               ; preds = %26
  %31 = invoke noundef double @_ZN3sim5Param21defaultZoomedMapScaleEv(ptr noundef nonnull align 8 dereferenceable(1056) %29)
          to label %32 unwind label %91

32:                                               ; preds = %30
  %33 = getelementptr inbounds i8, ptr %0, i64 48
  store double %31, ptr %33, align 8, !tbaa !32
  %34 = invoke noundef ptr @_ZN3sim1PEv()
          to label %35 unwind label %91

35:                                               ; preds = %32
  %36 = invoke noundef zeroext i1 @_ZN3sim5Param23defaultWallTruthVisibleEv(ptr noundef nonnull align 8 dereferenceable(1056) %34)
          to label %37 unwind label %91

37:                                               ; preds = %35
  %38 = getelementptr inbounds i8, ptr %0, i64 56
  %39 = zext i1 %36 to i8
  store i8 %39, ptr %38, align 8, !tbaa !33
  %40 = invoke noundef ptr @_ZN3sim1PEv()
          to label %41 unwind label %91

41:                                               ; preds = %37
  %42 = invoke noundef zeroext i1 @_ZN3sim5Param24defaultTileColorsVisibleEv(ptr noundef nonnull align 8 dereferenceable(1056) %40)
          to label %43 unwind label %91

43:                                               ; preds = %41
  %44 = getelementptr inbounds i8, ptr %0, i64 57
  %45 = zext i1 %42 to i8
  store i8 %45, ptr %44, align 1, !tbaa !34
  %46 = invoke noundef ptr @_ZN3sim1PEv()
          to label %47 unwind label %91

47:                                               ; preds = %43
  %48 = invoke noundef zeroext i1 @_ZN3sim5Param22defaultTileTextVisibleEv(ptr noundef nonnull align 8 dereferenceable(1056) %46)
          to label %49 unwind label %91

49:                                               ; preds = %47
  %50 = getelementptr inbounds i8, ptr %0, i64 59
  %51 = zext i1 %48 to i8
  store i8 %51, ptr %50, align 1, !tbaa !35
  %52 = invoke noundef ptr @_ZN3sim1PEv()
          to label %53 unwind label %91

53:                                               ; preds = %49
  %54 = invoke noundef zeroext i1 @_ZN3sim5Param26defaultTileDistanceVisibleEv(ptr noundef nonnull align 8 dereferenceable(1056) %52)
          to label %55 unwind label %91

55:                                               ; preds = %53
  %56 = getelementptr inbounds i8, ptr %0, i64 60
  %57 = zext i1 %54 to i8
  store i8 %57, ptr %56, align 4, !tbaa !36
  %58 = invoke noundef ptr @_ZN3sim1PEv()
          to label %59 unwind label %91

59:                                               ; preds = %55
  %60 = invoke noundef zeroext i1 @_ZN3sim5Param20defaultHeaderVisibleEv(ptr noundef nonnull align 8 dereferenceable(1056) %58)
          to label %61 unwind label %91

61:                                               ; preds = %59
  %62 = getelementptr inbounds i8, ptr %0, i64 61
  %63 = zext i1 %60 to i8
  store i8 %63, ptr %62, align 1, !tbaa !37
  %64 = invoke noundef ptr @_ZN3sim1PEv()
          to label %65 unwind label %91

65:                                               ; preds = %61
  %66 = invoke noundef zeroext i1 @_ZN3sim5Param21defaultTileFogVisibleEv(ptr noundef nonnull align 8 dereferenceable(1056) %64)
          to label %67 unwind label %91

67:                                               ; preds = %65
  %68 = getelementptr inbounds i8, ptr %0, i64 58
  %69 = zext i1 %66 to i8
  store i8 %69, ptr %68, align 2, !tbaa !38
  %70 = invoke noundef ptr @_ZN3sim1PEv()
          to label %71 unwind label %91

71:                                               ; preds = %67
  %72 = invoke noundef zeroext i1 @_ZN3sim5Param20defaultWireframeModeEv(ptr noundef nonnull align 8 dereferenceable(1056) %70)
          to label %73 unwind label %91

73:                                               ; preds = %71
  %74 = getelementptr inbounds i8, ptr %0, i64 62
  %75 = zext i1 %72 to i8
  store i8 %75, ptr %74, align 2, !tbaa !39
  %76 = invoke noundef ptr @_ZN3sim1PEv()
          to label %77 unwind label %91

77:                                               ; preds = %73
  %78 = invoke noundef zeroext i1 @_ZN3sim5Param13defaultPausedEv(ptr noundef nonnull align 8 dereferenceable(1056) %76)
          to label %79 unwind label %91

79:                                               ; preds = %77
  %80 = getelementptr inbounds i8, ptr %0, i64 63
  %81 = zext i1 %78 to i8
  store i8 %81, ptr %80, align 1, !tbaa !40
  %82 = invoke noundef ptr @_ZN3sim1PEv()
          to label %83 unwind label %91

83:                                               ; preds = %79
  %84 = invoke noundef double @_ZN3sim5Param15defaultSimSpeedEv(ptr noundef nonnull align 8 dereferenceable(1056) %82)
          to label %85 unwind label %91

85:                                               ; preds = %83
  %86 = getelementptr inbounds i8, ptr %0, i64 64
  store double %84, ptr %86, align 8, !tbaa !41
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #5
  store i32 0, ptr %3, align 4, !tbaa !42
  br label %98

87:                                               ; preds = %103
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #5
  %88 = call ptr @_ZNKSt6vectorIN3sim3KeyESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) @_ZN3simL10ARROW_KEYSE) #5
  store ptr %88, ptr %6, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #5
  %89 = call ptr @_ZNKSt6vectorIN3sim3KeyESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) @_ZN3simL10ARROW_KEYSE) #5
  store ptr %89, ptr %7, align 8
  %90 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKN3sim3KeyESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull align 8 dereferenceable(8) %7) #5
  br i1 %90, label %.lr.ph, label %._crit_edge

91:                                               ; preds = %83, %79, %77, %73, %71, %67, %65, %61, %59, %55, %53, %49, %47, %43, %41, %37, %35, %32, %30, %26, %24, %20, %1
  %92 = landingpad { ptr, i32 }
          cleanup
  br label %120

93:                                               ; preds = %17, %14
  %94 = landingpad { ptr, i32 }
          cleanup
  br label %97

95:                                               ; preds = %18
  %96 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %2) #5
  br label %97

97:                                               ; preds = %95, %93
  %.pn = phi { ptr, i32 } [ %96, %95 ], [ %94, %93 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %2) #5
  br label %120

98:                                               ; preds = %85, %103
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %5) #5
  store i8 0, ptr %5, align 1, !tbaa !44
  %99 = invoke i64 @_ZSt9make_pairIRibESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS2_INS3_IT0_E4typeEE6__typeEEOS4_OS9_(ptr noundef nonnull align 4 dereferenceable(4) %3, ptr noundef nonnull align 1 dereferenceable(1) %5)
          to label %100 unwind label %107

100:                                              ; preds = %98
  %101 = trunc i64 %99 to i40
  store i40 %101, ptr %4, align 8
  %102 = invoke { ptr, i8 } @_ZNSt3mapIibSt4lessIiESaISt4pairIKibEEE6insertIS2_IibEEENSt9enable_ifIXsr16is_constructibleIS4_T_EE5valueES2_ISt17_Rb_tree_iteratorIS4_EbEE4typeEOSA_(ptr noundef nonnull align 8 dereferenceable(48) %11, ptr noundef nonnull align 4 dereferenceable(5) %4)
          to label %103 unwind label %107

103:                                              ; preds = %100
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %5) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #5
  %104 = load i32, ptr %3, align 4, !tbaa !42
  %105 = add nsw i32 %104, 1
  store i32 %105, ptr %3, align 4, !tbaa !42
  %106 = icmp slt i32 %104, 9
  br i1 %106, label %98, label %87, !llvm.loop !45

107:                                              ; preds = %100, %98
  %108 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %5) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #5
  br label %120

._crit_edge:                                      ; preds = %115, %87
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #5
  ret void

.lr.ph:                                           ; preds = %87, %115
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %8) #5
  %109 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKN3sim3KeyESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %6) #5
  %110 = load i32, ptr %109, align 4, !tbaa !47
  store i32 %110, ptr %8, align 4, !tbaa !47
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %10) #5
  store i8 0, ptr %10, align 1, !tbaa !44
  %111 = invoke i64 @_ZSt9make_pairIRN3sim3KeyEbESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS4_INS5_IT0_E4typeEE6__typeEEOS6_OSB_(ptr noundef nonnull align 4 dereferenceable(4) %8, ptr noundef nonnull align 1 dereferenceable(1) %10)
          to label %112 unwind label %118

112:                                              ; preds = %.lr.ph
  %113 = trunc i64 %111 to i40
  store i40 %113, ptr %9, align 8
  %114 = invoke { ptr, i8 } @_ZNSt3mapIN3sim3KeyEbSt4lessIS1_ESaISt4pairIKS1_bEEE6insertIS4_IS1_bEEENSt9enable_ifIXsr16is_constructibleIS6_T_EE5valueES4_ISt17_Rb_tree_iteratorIS6_EbEE4typeEOSC_(ptr noundef nonnull align 8 dereferenceable(48) %12, ptr noundef nonnull align 4 dereferenceable(5) %9)
          to label %115 unwind label %118

115:                                              ; preds = %112
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %10) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #5
  %116 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKN3sim3KeyESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %6) #5
  %117 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKN3sim3KeyESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull align 8 dereferenceable(8) %7) #5
  br i1 %117, label %.lr.ph, label %._crit_edge

118:                                              ; preds = %112, %.lr.ph
  %119 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %10) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #5
  br label %120

120:                                              ; preds = %118, %107, %97, %91
  %.pn7 = phi { ptr, i32 } [ %108, %107 ], [ %119, %118 ], [ %92, %91 ], [ %.pn, %97 ]
  call void @_ZNSt3mapIN3sim3KeyEbSt4lessIS1_ESaISt4pairIKS1_bEEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %12) #5
  call void @_ZNSt3mapIibSt4lessIiESaISt4pairIKibEEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %11) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %0) #5
  resume { ptr, i32 } %.pn7
}

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

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

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

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

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

declare noundef ptr @_ZN3sim1PEv() local_unnamed_addr #3

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

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

declare noundef zeroext i1 @_ZN3sim5Param22defaultRotateZoomedMapEv(ptr noundef nonnull align 8 dereferenceable(1056)) local_unnamed_addr #3

declare noundef double @_ZN3sim5Param21defaultZoomedMapScaleEv(ptr noundef nonnull align 8 dereferenceable(1056)) local_unnamed_addr #3

declare noundef zeroext i1 @_ZN3sim5Param23defaultWallTruthVisibleEv(ptr noundef nonnull align 8 dereferenceable(1056)) local_unnamed_addr #3

declare noundef zeroext i1 @_ZN3sim5Param24defaultTileColorsVisibleEv(ptr noundef nonnull align 8 dereferenceable(1056)) local_unnamed_addr #3

declare noundef zeroext i1 @_ZN3sim5Param22defaultTileTextVisibleEv(ptr noundef nonnull align 8 dereferenceable(1056)) local_unnamed_addr #3

declare noundef zeroext i1 @_ZN3sim5Param26defaultTileDistanceVisibleEv(ptr noundef nonnull align 8 dereferenceable(1056)) local_unnamed_addr #3

declare noundef zeroext i1 @_ZN3sim5Param20defaultHeaderVisibleEv(ptr noundef nonnull align 8 dereferenceable(1056)) local_unnamed_addr #3

declare noundef zeroext i1 @_ZN3sim5Param21defaultTileFogVisibleEv(ptr noundef nonnull align 8 dereferenceable(1056)) local_unnamed_addr #3

declare noundef zeroext i1 @_ZN3sim5Param20defaultWireframeModeEv(ptr noundef nonnull align 8 dereferenceable(1056)) local_unnamed_addr #3

declare noundef zeroext i1 @_ZN3sim5Param13defaultPausedEv(ptr noundef nonnull align 8 dereferenceable(1056)) local_unnamed_addr #3

declare noundef double @_ZN3sim5Param15defaultSimSpeedEv(ptr noundef nonnull align 8 dereferenceable(1056)) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare dso_local { ptr, i8 } @_ZNSt3mapIibSt4lessIiESaISt4pairIKibEEE6insertIS2_IibEEENSt9enable_ifIXsr16is_constructibleIS4_T_EE5valueES2_ISt17_Rb_tree_iteratorIS4_EbEE4typeEOSA_(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 4 dereferenceable(5)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local i64 @_ZSt9make_pairIRibESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS2_INS3_IT0_E4typeEE6__typeEEOS4_OS9_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 1 dereferenceable(1)) local_unnamed_addr #1

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local { ptr, i8 } @_ZNSt3mapIN3sim3KeyEbSt4lessIS1_ESaISt4pairIKS1_bEEE6insertIS4_IS1_bEEENSt9enable_ifIXsr16is_constructibleIS6_T_EE5valueES4_ISt17_Rb_tree_iteratorIS6_EbEE4typeEOSC_(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 4 dereferenceable(5)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local i64 @_ZSt9make_pairIRN3sim3KeyEbESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS4_INS5_IT0_E4typeEE6__typeEEOS6_OSB_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 1 dereferenceable(1)) local_unnamed_addr #1

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

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

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { 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 #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 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { 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, !13, i64 32}
!6 = !{!"_ZTSN3sim5StateE", !7, i64 0, !13, i64 32, !14, i64 36, !13, i64 40, !15, i64 48, !13, i64 56, !13, i64 57, !13, i64 58, !13, i64 59, !13, i64 60, !13, i64 61, !13, i64 62, !13, i64 63, !15, i64 64, !16, i64 72, !24, i64 120}
!7 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !8, i64 0, !12, i64 8, !10, i64 16}
!8 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !9, i64 0}
!9 = !{!"any pointer", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C++ TBAA"}
!12 = !{!"long", !10, i64 0}
!13 = !{!"bool", !10, i64 0}
!14 = !{!"_ZTSN3sim10LayoutTypeE", !10, i64 0}
!15 = !{!"double", !10, i64 0}
!16 = !{!"_ZTSSt3mapIibSt4lessIiESaISt4pairIKibEEE", !17, i64 0}
!17 = !{!"_ZTSSt8_Rb_treeIiSt4pairIKibESt10_Select1stIS2_ESt4lessIiESaIS2_EE", !18, i64 0}
!18 = !{!"_ZTSNSt8_Rb_treeIiSt4pairIKibESt10_Select1stIS2_ESt4lessIiESaIS2_EE13_Rb_tree_implIS6_Lb1EEE", !19, i64 0, !21, i64 8}
!19 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessIiEE", !20, i64 0}
!20 = !{!"_ZTSSt4lessIiE"}
!21 = !{!"_ZTSSt15_Rb_tree_header", !22, i64 0, !12, i64 32}
!22 = !{!"_ZTSSt18_Rb_tree_node_base", !23, i64 0, !9, i64 8, !9, i64 16, !9, i64 24}
!23 = !{!"_ZTSSt14_Rb_tree_color", !10, i64 0}
!24 = !{!"_ZTSSt3mapIN3sim3KeyEbSt4lessIS1_ESaISt4pairIKS1_bEEE", !25, i64 0}
!25 = !{!"_ZTSSt8_Rb_treeIN3sim3KeyESt4pairIKS1_bESt10_Select1stIS4_ESt4lessIS1_ESaIS4_EE", !26, i64 0}
!26 = !{!"_ZTSNSt8_Rb_treeIN3sim3KeyESt4pairIKS1_bESt10_Select1stIS4_ESt4lessIS1_ESaIS4_EE13_Rb_tree_implIS8_Lb1EEE", !27, i64 0, !21, i64 8}
!27 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessIN3sim3KeyEEE", !28, i64 0}
!28 = !{!"_ZTSSt4lessIN3sim3KeyEE"}
!29 = !{!14, !14, i64 0}
!30 = !{!6, !14, i64 36}
!31 = !{!6, !13, i64 40}
!32 = !{!6, !15, i64 48}
!33 = !{!6, !13, i64 56}
!34 = !{!6, !13, i64 57}
!35 = !{!6, !13, i64 59}
!36 = !{!6, !13, i64 60}
!37 = !{!6, !13, i64 61}
!38 = !{!6, !13, i64 58}
!39 = !{!6, !13, i64 62}
!40 = !{!6, !13, i64 63}
!41 = !{!6, !15, i64 64}
!42 = !{!43, !43, i64 0}
!43 = !{!"int", !10, i64 0}
!44 = !{!13, !13, i64 0}
!45 = distinct !{!45, !46}
!46 = !{!"llvm.loop.mustprogress"}
!47 = !{!48, !48, i64 0}
!48 = !{!"_ZTSN3sim3KeyE", !10, i64 0}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass,TailCallElimPass