; LLVM IR from gem5/gem5 :: src/mem/htm.ll (ZN4gem515htmFailureToStrB5cxx11ENS_20HtmFailureFaultCauseE)

; 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::map" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<gem5::HtmFailureFaultCause, std::pair<const gem5::HtmFailureFaultCause, std::__cxx11::basic_string<char>>, std::_Select1st<std::pair<const gem5::HtmFailureFaultCause, std::__cxx11::basic_string<char>>>, std::less<gem5::HtmFailureFaultCause>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<gem5::HtmFailureFaultCause, std::pair<const gem5::HtmFailureFaultCause, std::__cxx11::basic_string<char>>, std::_Select1st<std::pair<const gem5::HtmFailureFaultCause, std::__cxx11::basic_string<char>>>, std::less<gem5::HtmFailureFaultCause>>::_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] }
%"class.std::initializer_list" = type { ptr, i64 }
%"struct.std::pair" = type { i32, %"class.std::__cxx11::basic_string" }
%"struct.std::less" = type { i8 }
%"class.std::allocator.3" = type { i8 }
%"struct.std::_Rb_tree_const_iterator" = type { ptr }
%"class.std::allocator" = type { i8 }

@_ZZN4gem515htmFailureToStrB5cxx11ENS_20HtmFailureFaultCauseEE12cause_to_strB5cxx11 = external hidden global %"class.std::map", align 8
@_ZGVZN4gem515htmFailureToStrB5cxx11ENS_20HtmFailureFaultCauseEE12cause_to_strB5cxx11 = external hidden global i64, align 8
@.str = external hidden unnamed_addr constant [9 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [6 x i8], align 1
@__dso_handle = external hidden global i8
@.str.6 = external hidden unnamed_addr constant [21 x i8], align 1

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4gem515htmFailureToStrB5cxx11ENS_20HtmFailureFaultCauseE(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8 %0, i32 noundef %1) #0 personality ptr @__gxx_personality_v0 {
  %3 = alloca ptr, align 8
  %4 = alloca i32, align 4
  %5 = alloca %"class.std::initializer_list", align 8
  %6 = alloca [6 x %"struct.std::pair"], align 8
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i1, align 1
  %17 = alloca %"struct.std::less", align 1
  %18 = alloca %"class.std::allocator.3", align 1
  %19 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %20 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %21 = alloca %"class.std::allocator", align 1
  %22 = alloca i1, align 1
  %23 = alloca i1, align 1
  store ptr %0, ptr %3, align 8
  store i32 %1, ptr %4, align 4, !tbaa !5
  %24 = load atomic i8, ptr @_ZGVZN4gem515htmFailureToStrB5cxx11ENS_20HtmFailureFaultCauseEE12cause_to_strB5cxx11 acquire, align 8
  %25 = icmp eq i8 %24, 0
  br i1 %25, label %26, label %56, !prof !9

26:                                               ; preds = %2
  %27 = call i32 @__cxa_guard_acquire(ptr @_ZGVZN4gem515htmFailureToStrB5cxx11ENS_20HtmFailureFaultCauseEE12cause_to_strB5cxx11) #1
  %28 = icmp ne i32 %27, 0
  br i1 %28, label %29, label %56

29:                                               ; preds = %26
  call void @llvm.lifetime.start.p0(i64 240, ptr %6) #1
  store i1 true, ptr %16, align 1
  store ptr %6, ptr %7, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #1
  store i32 0, ptr %8, align 4, !tbaa !5
  invoke void @_ZNSt4pairIKN4gem520HtmFailureFaultCauseENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEC2IS1_RA9_KcTnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairISF_SG_EEEbE4typeELb1EEEOSF_OSG_(ptr noundef nonnull align 8 dereferenceable(40) %6, ptr noundef nonnull align 4 dereferenceable(4) %8, ptr noundef nonnull align 1 dereferenceable(9) @.str)
          to label %30 unwind label %75

30:                                               ; preds = %29
  %31 = getelementptr inbounds %"struct.std::pair", ptr %6, i64 1
  store ptr %31, ptr %7, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #1
  store i32 1, ptr %11, align 4, !tbaa !5
  invoke void @_ZNSt4pairIKN4gem520HtmFailureFaultCauseENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEC2IS1_RA14_KcTnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairISF_SG_EEEbE4typeELb1EEEOSF_OSG_(ptr noundef nonnull align 8 dereferenceable(40) %31, ptr noundef nonnull align 4 dereferenceable(4) %11, ptr noundef nonnull align 1 dereferenceable(14) @.str.1)
          to label %32 unwind label %79

32:                                               ; preds = %30
  %33 = getelementptr inbounds %"struct.std::pair", ptr %6, i64 2
  store ptr %33, ptr %7, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #1
  store i32 2, ptr %12, align 4, !tbaa !5
  invoke void @_ZNSt4pairIKN4gem520HtmFailureFaultCauseENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEC2IS1_RA17_KcTnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairISF_SG_EEEbE4typeELb1EEEOSF_OSG_(ptr noundef nonnull align 8 dereferenceable(40) %33, ptr noundef nonnull align 4 dereferenceable(4) %12, ptr noundef nonnull align 1 dereferenceable(17) @.str.2)
          to label %34 unwind label %83

34:                                               ; preds = %32
  %35 = getelementptr inbounds %"struct.std::pair", ptr %6, i64 3
  store ptr %35, ptr %7, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #1
  store i32 3, ptr %13, align 4, !tbaa !5
  invoke void @_ZNSt4pairIKN4gem520HtmFailureFaultCauseENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEC2IS1_RA10_KcTnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairISF_SG_EEEbE4typeELb1EEEOSF_OSG_(ptr noundef nonnull align 8 dereferenceable(40) %35, ptr noundef nonnull align 4 dereferenceable(4) %13, ptr noundef nonnull align 1 dereferenceable(10) @.str.3)
          to label %36 unwind label %87

36:                                               ; preds = %34
  %37 = getelementptr inbounds %"struct.std::pair", ptr %6, i64 4
  store ptr %37, ptr %7, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #1
  store i32 4, ptr %14, align 4, !tbaa !5
  invoke void @_ZNSt4pairIKN4gem520HtmFailureFaultCauseENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEC2IS1_RA16_KcTnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairISF_SG_EEEbE4typeELb1EEEOSF_OSG_(ptr noundef nonnull align 8 dereferenceable(40) %37, ptr noundef nonnull align 4 dereferenceable(4) %14, ptr noundef nonnull align 1 dereferenceable(16) @.str.4)
          to label %38 unwind label %91

38:                                               ; preds = %36
  %39 = getelementptr inbounds %"struct.std::pair", ptr %6, i64 5
  store ptr %39, ptr %7, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #1
  store i32 5, ptr %15, align 4, !tbaa !5
  invoke void @_ZNSt4pairIKN4gem520HtmFailureFaultCauseENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEC2IS1_RA6_KcTnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairISF_SG_EEEbE4typeELb1EEEOSF_OSG_(ptr noundef nonnull align 8 dereferenceable(40) %39, ptr noundef nonnull align 4 dereferenceable(4) %15, ptr noundef nonnull align 1 dereferenceable(6) @.str.5)
          to label %40 unwind label %95

40:                                               ; preds = %38
  store i1 false, ptr %16, align 1
  %41 = getelementptr inbounds %"class.std::initializer_list", ptr %5, i32 0, i32 0
  store ptr %6, ptr %41, align 8, !tbaa !10
  %42 = getelementptr inbounds %"class.std::initializer_list", ptr %5, i32 0, i32 1
  store i64 6, ptr %42, align 8, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 1, ptr %17) #1
  call void @llvm.lifetime.start.p0(i64 1, ptr %18) #1
  call void @_ZNSaISt4pairIKN4gem520HtmFailureFaultCauseENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %18) #1
  %43 = getelementptr inbounds { ptr, i64 }, ptr %5, i32 0, i32 0
  %44 = load ptr, ptr %43, align 8
  %45 = getelementptr inbounds { ptr, i64 }, ptr %5, i32 0, i32 1
  %46 = load i64, ptr %45, align 8
  invoke void @_ZNSt3mapIN4gem520HtmFailureFaultCauseENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS1_ESaISt4pairIKS1_S7_EEEC2ESt16initializer_listISC_ERKS9_RKSD_(ptr noundef nonnull align 8 dereferenceable(48) @_ZZN4gem515htmFailureToStrB5cxx11ENS_20HtmFailureFaultCauseEE12cause_to_strB5cxx11, ptr %44, i64 %46, ptr noundef nonnull align 1 dereferenceable(1) %17, ptr noundef nonnull align 1 dereferenceable(1) %18)
          to label %47 unwind label %99

47:                                               ; preds = %40
  call void @_ZNSt15__new_allocatorISt4pairIKN4gem520HtmFailureFaultCauseENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %18) #1
  call void @llvm.lifetime.end.p0(i64 1, ptr %18) #1
  call void @llvm.lifetime.end.p0(i64 1, ptr %17) #1
  %48 = getelementptr inbounds [6 x %"struct.std::pair"], ptr %6, i32 0, i32 0
  %49 = getelementptr inbounds %"struct.std::pair", ptr %48, i64 6
  br label %50

50:                                               ; preds = %50, %47
  %51 = phi ptr [ %49, %47 ], [ %52, %50 ]
  %52 = getelementptr inbounds %"struct.std::pair", ptr %51, i64 -1
  call void @_ZNSt4pairIKN4gem520HtmFailureFaultCauseENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %52) #1
  %53 = icmp eq ptr %52, %48
  br i1 %53, label %54, label %50

54:                                               ; preds = %50
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #1
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #1
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #1
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #1
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #1
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #1
  call void @llvm.lifetime.end.p0(i64 240, ptr %6) #1
  %55 = call i32 @__cxa_atexit(ptr @_ZNSt3mapIN4gem520HtmFailureFaultCauseENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS1_ESaISt4pairIKS1_S7_EEED2Ev, ptr @_ZZN4gem515htmFailureToStrB5cxx11ENS_20HtmFailureFaultCauseEE12cause_to_strB5cxx11, ptr @__dso_handle) #1
  call void @__cxa_guard_release(ptr @_ZGVZN4gem515htmFailureToStrB5cxx11ENS_20HtmFailureFaultCauseEE12cause_to_strB5cxx11) #1
  br label %56

56:                                               ; preds = %54, %26, %2
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #1
  %57 = call ptr @_ZNKSt3mapIN4gem520HtmFailureFaultCauseENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS1_ESaISt4pairIKS1_S7_EEE4findERSB_(ptr noundef nonnull align 8 dereferenceable(48) @_ZZN4gem515htmFailureToStrB5cxx11ENS_20HtmFailureFaultCauseEE12cause_to_strB5cxx11, ptr noundef nonnull align 4 dereferenceable(4) %4)
  %58 = getelementptr inbounds %"struct.std::_Rb_tree_const_iterator", ptr %19, i32 0, i32 0
  store ptr %57, ptr %58, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #1
  %59 = call ptr @_ZNKSt3mapIN4gem520HtmFailureFaultCauseENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS1_ESaISt4pairIKS1_S7_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) @_ZZN4gem515htmFailureToStrB5cxx11ENS_20HtmFailureFaultCauseEE12cause_to_strB5cxx11) #1
  %60 = getelementptr inbounds %"struct.std::_Rb_tree_const_iterator", ptr %20, i32 0, i32 0
  store ptr %59, ptr %60, align 8
  %61 = call noundef zeroext i1 @_ZSteqRKSt23_Rb_tree_const_iteratorISt4pairIKN4gem520HtmFailureFaultCauseENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEESD_(ptr noundef nonnull align 8 dereferenceable(8) %19, ptr noundef nonnull align 8 dereferenceable(8) %20) #1
  store i1 false, ptr %22, align 1
  store i1 false, ptr %23, align 1
  br i1 %61, label %62, label %64

62:                                               ; preds = %56
  call void @llvm.lifetime.start.p0(i64 1, ptr %21) #1
  store i1 true, ptr %22, align 1
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %21) #1
  store i1 true, ptr %23, align 1
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef @.str.6, ptr noundef nonnull align 1 dereferenceable(1) %21)
          to label %63 unwind label %126

63:                                               ; preds = %62
  br label %68

64:                                               ; preds = %56
  %65 = call noundef ptr @_ZNKSt23_Rb_tree_const_iteratorISt4pairIKN4gem520HtmFailureFaultCauseENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %19) #1
  %66 = getelementptr inbounds %"struct.std::pair", ptr %65, i32 0, i32 1
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef nonnull align 8 dereferenceable(32) %66)
          to label %67 unwind label %126

67:                                               ; preds = %64
  br label %68

68:                                               ; preds = %67, %63
  %69 = load i1, ptr %23, align 1
  br i1 %69, label %70, label %71

70:                                               ; preds = %68
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %21) #1
  br label %71

71:                                               ; preds = %70, %68
  %72 = load i1, ptr %22, align 1
  br i1 %72, label %73, label %74

73:                                               ; preds = %71
  call void @llvm.lifetime.end.p0(i64 1, ptr %21) #1
  br label %74

74:                                               ; preds = %73, %71
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #1
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #1
  ret void

75:                                               ; preds = %29
  %76 = landingpad { ptr, i32 }
          cleanup
  %77 = extractvalue { ptr, i32 } %76, 0
  store ptr %77, ptr %9, align 8
  %78 = extractvalue { ptr, i32 } %76, 1
  store i32 %78, ptr %10, align 4
  br label %115

79:                                               ; preds = %30
  %80 = landingpad { ptr, i32 }
          cleanup
  %81 = extractvalue { ptr, i32 } %80, 0
  store ptr %81, ptr %9, align 8
  %82 = extractvalue { ptr, i32 } %80, 1
  store i32 %82, ptr %10, align 4
  br label %114

83:                                               ; preds = %32
  %84 = landingpad { ptr, i32 }
          cleanup
  %85 = extractvalue { ptr, i32 } %84, 0
  store ptr %85, ptr %9, align 8
  %86 = extractvalue { ptr, i32 } %84, 1
  store i32 %86, ptr %10, align 4
  br label %113

87:                                               ; preds = %34
  %88 = landingpad { ptr, i32 }
          cleanup
  %89 = extractvalue { ptr, i32 } %88, 0
  store ptr %89, ptr %9, align 8
  %90 = extractvalue { ptr, i32 } %88, 1
  store i32 %90, ptr %10, align 4
  br label %112

91:                                               ; preds = %36
  %92 = landingpad { ptr, i32 }
          cleanup
  %93 = extractvalue { ptr, i32 } %92, 0
  store ptr %93, ptr %9, align 8
  %94 = extractvalue { ptr, i32 } %92, 1
  store i32 %94, ptr %10, align 4
  br label %111

95:                                               ; preds = %38
  %96 = landingpad { ptr, i32 }
          cleanup
  %97 = extractvalue { ptr, i32 } %96, 0
  store ptr %97, ptr %9, align 8
  %98 = extractvalue { ptr, i32 } %96, 1
  store i32 %98, ptr %10, align 4
  br label %110

99:                                               ; preds = %40
  %100 = landingpad { ptr, i32 }
          cleanup
  %101 = extractvalue { ptr, i32 } %100, 0
  store ptr %101, ptr %9, align 8
  %102 = extractvalue { ptr, i32 } %100, 1
  store i32 %102, ptr %10, align 4
  call void @_ZNSt15__new_allocatorISt4pairIKN4gem520HtmFailureFaultCauseENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %18) #1
  call void @llvm.lifetime.end.p0(i64 1, ptr %18) #1
  call void @llvm.lifetime.end.p0(i64 1, ptr %17) #1
  %103 = getelementptr inbounds [6 x %"struct.std::pair"], ptr %6, i32 0, i32 0
  %104 = getelementptr inbounds %"struct.std::pair", ptr %103, i64 6
  br label %105

105:                                              ; preds = %105, %99
  %106 = phi ptr [ %104, %99 ], [ %107, %105 ]
  %107 = getelementptr inbounds %"struct.std::pair", ptr %106, i64 -1
  call void @_ZNSt4pairIKN4gem520HtmFailureFaultCauseENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %107) #1
  %108 = icmp eq ptr %107, %103
  br i1 %108, label %109, label %105

109:                                              ; preds = %105
  br label %110

110:                                              ; preds = %109, %95
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #1
  br label %111

111:                                              ; preds = %110, %91
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #1
  br label %112

112:                                              ; preds = %111, %87
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #1
  br label %113

113:                                              ; preds = %112, %83
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #1
  br label %114

114:                                              ; preds = %113, %79
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #1
  br label %115

115:                                              ; preds = %114, %75
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #1
  %116 = load i1, ptr %16, align 1
  br i1 %116, label %117, label %125

117:                                              ; preds = %115
  %118 = load ptr, ptr %7, align 8
  %119 = icmp eq ptr %6, %118
  br i1 %119, label %124, label %120

120:                                              ; preds = %120, %117
  %121 = phi ptr [ %118, %117 ], [ %122, %120 ]
  %122 = getelementptr inbounds %"struct.std::pair", ptr %121, i64 -1
  call void @_ZNSt4pairIKN4gem520HtmFailureFaultCauseENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %122) #1
  %123 = icmp eq ptr %122, %6
  br i1 %123, label %124, label %120

124:                                              ; preds = %120, %117
  br label %125

125:                                              ; preds = %124, %115
  call void @llvm.lifetime.end.p0(i64 240, ptr %6) #1
  call void @__cxa_guard_abort(ptr @_ZGVZN4gem515htmFailureToStrB5cxx11ENS_20HtmFailureFaultCauseEE12cause_to_strB5cxx11) #1
  br label %136

126:                                              ; preds = %64, %62
  %127 = landingpad { ptr, i32 }
          cleanup
  %128 = extractvalue { ptr, i32 } %127, 0
  store ptr %128, ptr %9, align 8
  %129 = extractvalue { ptr, i32 } %127, 1
  store i32 %129, ptr %10, align 4
  %130 = load i1, ptr %23, align 1
  br i1 %130, label %131, label %132

131:                                              ; preds = %126
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %21) #1
  br label %132

132:                                              ; preds = %131, %126
  %133 = load i1, ptr %22, align 1
  br i1 %133, label %134, label %135

134:                                              ; preds = %132
  call void @llvm.lifetime.end.p0(i64 1, ptr %21) #1
  br label %135

135:                                              ; preds = %134, %132
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #1
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #1
  br label %136

136:                                              ; preds = %135, %125
  %137 = load ptr, ptr %9, align 8
  %138 = load i32, ptr %10, align 4
  %139 = insertvalue { ptr, i32 } poison, ptr %137, 0
  %140 = insertvalue { ptr, i32 } %139, i32 %138, 1
  resume { ptr, i32 } %140
}

; Function Attrs: nounwind
declare i32 @__cxa_guard_acquire(ptr) #1

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt4pairIKN4gem520HtmFailureFaultCauseENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEC2IS1_RA9_KcTnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairISF_SG_EEEbE4typeELb1EEEOSF_OSG_(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 1 dereferenceable(9)) unnamed_addr #0 align 2

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt4pairIKN4gem520HtmFailureFaultCauseENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEC2IS1_RA14_KcTnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairISF_SG_EEEbE4typeELb1EEEOSF_OSG_(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 1 dereferenceable(14)) unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt4pairIKN4gem520HtmFailureFaultCauseENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEC2IS1_RA17_KcTnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairISF_SG_EEEbE4typeELb1EEEOSF_OSG_(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 1 dereferenceable(17)) unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt4pairIKN4gem520HtmFailureFaultCauseENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEC2IS1_RA10_KcTnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairISF_SG_EEEbE4typeELb1EEEOSF_OSG_(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 1 dereferenceable(10)) unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt4pairIKN4gem520HtmFailureFaultCauseENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEC2IS1_RA16_KcTnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairISF_SG_EEEbE4typeELb1EEEOSF_OSG_(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 1 dereferenceable(16)) unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt4pairIKN4gem520HtmFailureFaultCauseENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEC2IS1_RA6_KcTnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairISF_SG_EEEbE4typeELb1EEEOSF_OSG_(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 1 dereferenceable(6)) unnamed_addr #0 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt3mapIN4gem520HtmFailureFaultCauseENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS1_ESaISt4pairIKS1_S7_EEEC2ESt16initializer_listISC_ERKS9_RKSD_(ptr noundef nonnull align 8 dereferenceable(48), ptr, i64, ptr noundef nonnull align 1 dereferenceable(1), ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #0 align 2

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZNSt4pairIKN4gem520HtmFailureFaultCauseENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(40)) unnamed_addr #4 align 2

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

; Function Attrs: nounwind
declare i32 @__cxa_atexit(ptr, ptr, ptr) #1

; Function Attrs: nounwind
declare void @__cxa_guard_abort(ptr) #1

; Function Attrs: nounwind
declare void @__cxa_guard_release(ptr) #1

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef, ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #0 align 2

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

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

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

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

!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 = !{!"_ZTSN4gem520HtmFailureFaultCauseE", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!"branch_weights", i32 1, i32 1048575}
!10 = !{!11, !12, i64 0}
!11 = !{!"_ZTSSt16initializer_listISt4pairIKN4gem520HtmFailureFaultCauseENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEE", !12, i64 0, !13, i64 8}
!12 = !{!"any pointer", !7, i64 0}
!13 = !{!"long", !7, i64 0}
!14 = !{!11, !13, i64 8}


; 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::map" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<gem5::HtmFailureFaultCause, std::pair<const gem5::HtmFailureFaultCause, std::__cxx11::basic_string<char>>, std::_Select1st<std::pair<const gem5::HtmFailureFaultCause, std::__cxx11::basic_string<char>>>, std::less<gem5::HtmFailureFaultCause>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<gem5::HtmFailureFaultCause, std::pair<const gem5::HtmFailureFaultCause, std::__cxx11::basic_string<char>>, std::_Select1st<std::pair<const gem5::HtmFailureFaultCause, std::__cxx11::basic_string<char>>>, std::less<gem5::HtmFailureFaultCause>>::_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" = type { i32, %"class.std::__cxx11::basic_string" }
%"struct.std::less" = type { i8 }
%"class.std::allocator.3" = type { i8 }
%"struct.std::_Rb_tree_const_iterator" = type { ptr }
%"class.std::allocator" = type { i8 }

@_ZZN4gem515htmFailureToStrB5cxx11ENS_20HtmFailureFaultCauseEE12cause_to_strB5cxx11 = external hidden global %"class.std::map", align 8
@_ZGVZN4gem515htmFailureToStrB5cxx11ENS_20HtmFailureFaultCauseEE12cause_to_strB5cxx11 = external hidden global i64, align 8
@.str = external hidden unnamed_addr constant [9 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [6 x i8], align 1
@__dso_handle = external hidden global i8
@.str.6 = external hidden unnamed_addr constant [21 x i8], align 1

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4gem515htmFailureToStrB5cxx11ENS_20HtmFailureFaultCauseE(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8 %0, i32 noundef %1) local_unnamed_addr #0 personality ptr @__gxx_personality_v0 {
  %3 = alloca i32, align 4
  %4 = alloca [6 x %"struct.std::pair"], align 8
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca %"struct.std::less", align 1
  %12 = alloca %"class.std::allocator.3", align 1
  %13 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %14 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %15 = alloca %"class.std::allocator", align 1
  store i32 %1, ptr %3, align 4, !tbaa !5
  %16 = load atomic i8, ptr @_ZGVZN4gem515htmFailureToStrB5cxx11ENS_20HtmFailureFaultCauseEE12cause_to_strB5cxx11 acquire, align 8
  %17 = icmp eq i8 %16, 0
  br i1 %17, label %18, label %39, !prof !9

18:                                               ; preds = %2
  %19 = tail call i32 @__cxa_guard_acquire(ptr nonnull @_ZGVZN4gem515htmFailureToStrB5cxx11ENS_20HtmFailureFaultCauseEE12cause_to_strB5cxx11) #5
  %.not31 = icmp eq i32 %19, 0
  br i1 %.not31, label %39, label %20

20:                                               ; preds = %18
  call void @llvm.lifetime.start.p0(i64 240, ptr nonnull %4) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #5
  store i32 0, ptr %5, align 4, !tbaa !5
  invoke void @_ZNSt4pairIKN4gem520HtmFailureFaultCauseENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEC2IS1_RA9_KcTnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairISF_SG_EEEbE4typeELb1EEEOSF_OSG_(ptr noundef nonnull align 8 dereferenceable(40) %4, ptr noundef nonnull align 4 dereferenceable(4) %5, ptr noundef nonnull align 1 dereferenceable(9) @.str)
          to label %21 unwind label %.thread42

21:                                               ; preds = %20
  %22 = getelementptr inbounds i8, ptr %4, i64 40
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #5
  store i32 1, ptr %6, align 4, !tbaa !5
  invoke void @_ZNSt4pairIKN4gem520HtmFailureFaultCauseENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEC2IS1_RA14_KcTnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairISF_SG_EEEbE4typeELb1EEEOSF_OSG_(ptr noundef nonnull align 8 dereferenceable(40) %22, ptr noundef nonnull align 4 dereferenceable(4) %6, ptr noundef nonnull align 1 dereferenceable(14) @.str.1)
          to label %23 unwind label %49

23:                                               ; preds = %21
  %24 = getelementptr inbounds i8, ptr %4, i64 80
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #5
  store i32 2, ptr %7, align 4, !tbaa !5
  invoke void @_ZNSt4pairIKN4gem520HtmFailureFaultCauseENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEC2IS1_RA17_KcTnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairISF_SG_EEEbE4typeELb1EEEOSF_OSG_(ptr noundef nonnull align 8 dereferenceable(40) %24, ptr noundef nonnull align 4 dereferenceable(4) %7, ptr noundef nonnull align 1 dereferenceable(17) @.str.2)
          to label %25 unwind label %51

25:                                               ; preds = %23
  %26 = getelementptr inbounds i8, ptr %4, i64 120
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %8) #5
  store i32 3, ptr %8, align 4, !tbaa !5
  invoke void @_ZNSt4pairIKN4gem520HtmFailureFaultCauseENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEC2IS1_RA10_KcTnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairISF_SG_EEEbE4typeELb1EEEOSF_OSG_(ptr noundef nonnull align 8 dereferenceable(40) %26, ptr noundef nonnull align 4 dereferenceable(4) %8, ptr noundef nonnull align 1 dereferenceable(10) @.str.3)
          to label %27 unwind label %53

27:                                               ; preds = %25
  %28 = getelementptr inbounds i8, ptr %4, i64 160
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %9) #5
  store i32 4, ptr %9, align 4, !tbaa !5
  invoke void @_ZNSt4pairIKN4gem520HtmFailureFaultCauseENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEC2IS1_RA16_KcTnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairISF_SG_EEEbE4typeELb1EEEOSF_OSG_(ptr noundef nonnull align 8 dereferenceable(40) %28, ptr noundef nonnull align 4 dereferenceable(4) %9, ptr noundef nonnull align 1 dereferenceable(16) @.str.4)
          to label %29 unwind label %55

29:                                               ; preds = %27
  %30 = getelementptr inbounds i8, ptr %4, i64 200
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %10) #5
  store i32 5, ptr %10, align 4, !tbaa !5
  invoke void @_ZNSt4pairIKN4gem520HtmFailureFaultCauseENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEC2IS1_RA6_KcTnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairISF_SG_EEEbE4typeELb1EEEOSF_OSG_(ptr noundef nonnull align 8 dereferenceable(40) %30, ptr noundef nonnull align 4 dereferenceable(4) %10, ptr noundef nonnull align 1 dereferenceable(6) @.str.5)
          to label %31 unwind label %57

31:                                               ; preds = %29
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %11) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %12) #5
  call void @_ZNSaISt4pairIKN4gem520HtmFailureFaultCauseENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %12) #5
  invoke void @_ZNSt3mapIN4gem520HtmFailureFaultCauseENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS1_ESaISt4pairIKS1_S7_EEEC2ESt16initializer_listISC_ERKS9_RKSD_(ptr noundef nonnull align 8 dereferenceable(48) @_ZZN4gem515htmFailureToStrB5cxx11ENS_20HtmFailureFaultCauseEE12cause_to_strB5cxx11, ptr nonnull %4, i64 6, ptr noundef nonnull align 1 dereferenceable(1) %11, ptr noundef nonnull align 1 dereferenceable(1) %12)
          to label %32 unwind label %.loopexit49.loopexit

32:                                               ; preds = %31
  call void @_ZNSt15__new_allocatorISt4pairIKN4gem520HtmFailureFaultCauseENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %12) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %12) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %11) #5
  %33 = getelementptr inbounds i8, ptr %4, i64 200
  call void @_ZNSt4pairIKN4gem520HtmFailureFaultCauseENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %33) #5
  %34 = getelementptr inbounds i8, ptr %4, i64 160
  call void @_ZNSt4pairIKN4gem520HtmFailureFaultCauseENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %34) #5
  %35 = getelementptr inbounds i8, ptr %4, i64 120
  call void @_ZNSt4pairIKN4gem520HtmFailureFaultCauseENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %35) #5
  %36 = getelementptr inbounds i8, ptr %4, i64 80
  call void @_ZNSt4pairIKN4gem520HtmFailureFaultCauseENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %36) #5
  %37 = getelementptr inbounds i8, ptr %4, i64 40
  call void @_ZNSt4pairIKN4gem520HtmFailureFaultCauseENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %37) #5
  call void @_ZNSt4pairIKN4gem520HtmFailureFaultCauseENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %4) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %9) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #5
  call void @llvm.lifetime.end.p0(i64 240, ptr nonnull %4) #5
  %38 = call i32 @__cxa_atexit(ptr nonnull @_ZNSt3mapIN4gem520HtmFailureFaultCauseENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS1_ESaISt4pairIKS1_S7_EEED2Ev, ptr nonnull @_ZZN4gem515htmFailureToStrB5cxx11ENS_20HtmFailureFaultCauseEE12cause_to_strB5cxx11, ptr nonnull @__dso_handle) #5
  call void @__cxa_guard_release(ptr nonnull @_ZGVZN4gem515htmFailureToStrB5cxx11ENS_20HtmFailureFaultCauseEE12cause_to_strB5cxx11) #5
  br label %39

39:                                               ; preds = %32, %18, %2
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #5
  %40 = call ptr @_ZNKSt3mapIN4gem520HtmFailureFaultCauseENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS1_ESaISt4pairIKS1_S7_EEE4findERSB_(ptr noundef nonnull align 8 dereferenceable(48) @_ZZN4gem515htmFailureToStrB5cxx11ENS_20HtmFailureFaultCauseEE12cause_to_strB5cxx11, ptr noundef nonnull align 4 dereferenceable(4) %3)
  store ptr %40, ptr %13, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #5
  %41 = call ptr @_ZNKSt3mapIN4gem520HtmFailureFaultCauseENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS1_ESaISt4pairIKS1_S7_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) @_ZZN4gem515htmFailureToStrB5cxx11ENS_20HtmFailureFaultCauseEE12cause_to_strB5cxx11) #5
  store ptr %41, ptr %14, align 8
  %42 = call noundef zeroext i1 @_ZSteqRKSt23_Rb_tree_const_iteratorISt4pairIKN4gem520HtmFailureFaultCauseENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEESD_(ptr noundef nonnull align 8 dereferenceable(8) %13, ptr noundef nonnull align 8 dereferenceable(8) %14) #5
  br i1 %42, label %43, label %44

43:                                               ; preds = %39
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %15) #5
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %15) #5
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef nonnull @.str.6, ptr noundef nonnull align 1 dereferenceable(1) %15)
          to label %47 unwind label %76

44:                                               ; preds = %39
  %45 = call noundef ptr @_ZNKSt23_Rb_tree_const_iteratorISt4pairIKN4gem520HtmFailureFaultCauseENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %13) #5
  %46 = getelementptr inbounds i8, ptr %45, i64 8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef nonnull align 8 dereferenceable(32) %46)
          to label %.critedge unwind label %74

47:                                               ; preds = %43
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %15) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %15) #5
  br label %.critedge

.critedge:                                        ; preds = %44, %47
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #5
  ret void

.thread42:                                        ; preds = %20
  %48 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #5
  br label %.loopexit

49:                                               ; preds = %21
  %50 = landingpad { ptr, i32 }
          cleanup
  br label %69

51:                                               ; preds = %23
  %52 = landingpad { ptr, i32 }
          cleanup
  br label %68

53:                                               ; preds = %25
  %54 = landingpad { ptr, i32 }
          cleanup
  br label %67

55:                                               ; preds = %27
  %56 = landingpad { ptr, i32 }
          cleanup
  br label %66

57:                                               ; preds = %29
  %58 = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit49

.loopexit49.loopexit:                             ; preds = %31
  %59 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorISt4pairIKN4gem520HtmFailureFaultCauseENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %12) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %12) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %11) #5
  %60 = getelementptr inbounds i8, ptr %4, i64 200
  call void @_ZNSt4pairIKN4gem520HtmFailureFaultCauseENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %60) #5
  %61 = getelementptr inbounds i8, ptr %4, i64 160
  call void @_ZNSt4pairIKN4gem520HtmFailureFaultCauseENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %61) #5
  %62 = getelementptr inbounds i8, ptr %4, i64 120
  call void @_ZNSt4pairIKN4gem520HtmFailureFaultCauseENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %62) #5
  %63 = getelementptr inbounds i8, ptr %4, i64 80
  call void @_ZNSt4pairIKN4gem520HtmFailureFaultCauseENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %63) #5
  %64 = getelementptr inbounds i8, ptr %4, i64 40
  call void @_ZNSt4pairIKN4gem520HtmFailureFaultCauseENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %64) #5
  call void @_ZNSt4pairIKN4gem520HtmFailureFaultCauseENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %4) #5
  br label %.loopexit49

.loopexit49:                                      ; preds = %.loopexit49.loopexit, %57
  %.pn = phi { ptr, i32 } [ %58, %57 ], [ %59, %.loopexit49.loopexit ]
  %65 = phi i1 [ false, %57 ], [ true, %.loopexit49.loopexit ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #5
  br label %66

66:                                               ; preds = %.loopexit49, %55
  %.025 = phi ptr [ %30, %.loopexit49 ], [ %28, %55 ]
  %.pn.pn = phi { ptr, i32 } [ %.pn, %.loopexit49 ], [ %56, %55 ]
  %.111 = phi i1 [ %65, %.loopexit49 ], [ false, %55 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %9) #5
  br label %67

67:                                               ; preds = %66, %53
  %.126 = phi ptr [ %.025, %66 ], [ %26, %53 ]
  %.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn, %66 ], [ %54, %53 ]
  %.2 = phi i1 [ %.111, %66 ], [ false, %53 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #5
  br label %68

68:                                               ; preds = %67, %51
  %.227 = phi ptr [ %.126, %67 ], [ %24, %51 ]
  %.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn, %67 ], [ %52, %51 ]
  %.3 = phi i1 [ %.2, %67 ], [ false, %51 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #5
  br label %69

69:                                               ; preds = %49, %68
  %.328 = phi ptr [ %.227, %68 ], [ %22, %49 ]
  %.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn, %68 ], [ %50, %49 ]
  %.4 = phi i1 [ %.3, %68 ], [ false, %49 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #5
  %70 = icmp eq ptr %4, %.328
  %or.cond = or i1 %70, %.4
  br i1 %or.cond, label %.loopexit, label %.preheader

.preheader:                                       ; preds = %69, %.preheader
  %71 = phi ptr [ %72, %.preheader ], [ %.328, %69 ]
  %72 = getelementptr inbounds i8, ptr %71, i64 -40
  call void @_ZNSt4pairIKN4gem520HtmFailureFaultCauseENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %72) #5
  %73 = icmp eq ptr %72, %4
  br i1 %73, label %.loopexit, label %.preheader

.loopexit:                                        ; preds = %.preheader, %.thread42, %69
  %.pn.pn.pn.pn.pn.pn47 = phi { ptr, i32 } [ %48, %.thread42 ], [ %.pn.pn.pn.pn.pn, %69 ], [ %.pn.pn.pn.pn.pn, %.preheader ]
  call void @llvm.lifetime.end.p0(i64 240, ptr nonnull %4) #5
  call void @__cxa_guard_abort(ptr nonnull @_ZGVZN4gem515htmFailureToStrB5cxx11ENS_20HtmFailureFaultCauseEE12cause_to_strB5cxx11) #5
  br label %79

74:                                               ; preds = %44
  %75 = landingpad { ptr, i32 }
          cleanup
  br label %.critedge41

76:                                               ; preds = %43
  %77 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %15) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %15) #5
  br label %.critedge41

.critedge41:                                      ; preds = %74, %76
  %78 = phi { ptr, i32 } [ %75, %74 ], [ %77, %76 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #5
  br label %79

79:                                               ; preds = %.critedge41, %.loopexit
  %.pn38 = phi { ptr, i32 } [ %78, %.critedge41 ], [ %.pn.pn.pn.pn.pn.pn47, %.loopexit ]
  resume { ptr, i32 } %.pn38
}

; Function Attrs: nofree nounwind
declare i32 @__cxa_guard_acquire(ptr) local_unnamed_addr #1

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt4pairIKN4gem520HtmFailureFaultCauseENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEC2IS1_RA9_KcTnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairISF_SG_EEEbE4typeELb1EEEOSF_OSG_(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 1 dereferenceable(9)) unnamed_addr #0 align 2

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt4pairIKN4gem520HtmFailureFaultCauseENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEC2IS1_RA14_KcTnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairISF_SG_EEEbE4typeELb1EEEOSF_OSG_(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 1 dereferenceable(14)) unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt4pairIKN4gem520HtmFailureFaultCauseENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEC2IS1_RA17_KcTnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairISF_SG_EEEbE4typeELb1EEEOSF_OSG_(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 1 dereferenceable(17)) unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt4pairIKN4gem520HtmFailureFaultCauseENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEC2IS1_RA10_KcTnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairISF_SG_EEEbE4typeELb1EEEOSF_OSG_(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 1 dereferenceable(10)) unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt4pairIKN4gem520HtmFailureFaultCauseENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEC2IS1_RA16_KcTnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairISF_SG_EEEbE4typeELb1EEEOSF_OSG_(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 1 dereferenceable(16)) unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt4pairIKN4gem520HtmFailureFaultCauseENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEC2IS1_RA6_KcTnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairISF_SG_EEEbE4typeELb1EEEOSF_OSG_(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 1 dereferenceable(6)) unnamed_addr #0 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt3mapIN4gem520HtmFailureFaultCauseENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS1_ESaISt4pairIKS1_S7_EEEC2ESt16initializer_listISC_ERKS9_RKSD_(ptr noundef nonnull align 8 dereferenceable(48), ptr, i64, ptr noundef nonnull align 1 dereferenceable(1), ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #0 align 2

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZNSt4pairIKN4gem520HtmFailureFaultCauseENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(40)) unnamed_addr #4 align 2

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

; Function Attrs: nofree nounwind
declare i32 @__cxa_atexit(ptr, ptr, ptr) local_unnamed_addr #1

; Function Attrs: nofree nounwind
declare void @__cxa_guard_abort(ptr) local_unnamed_addr #1

; Function Attrs: nofree nounwind
declare void @__cxa_guard_release(ptr) local_unnamed_addr #1

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef, ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #0 align 2

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

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

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

attributes #0 = { 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 #1 = { nofree nounwind }
attributes #2 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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 = !{!"_ZTSN4gem520HtmFailureFaultCauseE", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!"branch_weights", i32 1, i32 1048575}


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