; LLVM IR from buresjan/optim_lbm :: nomad/src/Util/StopReason.ll (ZNK9NOMAD_4_310StopReasonINS_10CSStopTypeEE4dictB5cxx11Ev)

; 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.68" = type { %"class.std::_Rb_tree.69" }
%"class.std::_Rb_tree.69" = type { %"struct.std::_Rb_tree<NOMAD_4_3::CSStopType, std::pair<const NOMAD_4_3::CSStopType, std::__cxx11::basic_string<char>>, std::_Select1st<std::pair<const NOMAD_4_3::CSStopType, std::__cxx11::basic_string<char>>>, std::less<NOMAD_4_3::CSStopType>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<NOMAD_4_3::CSStopType, std::pair<const NOMAD_4_3::CSStopType, std::__cxx11::basic_string<char>>, std::_Select1st<std::pair<const NOMAD_4_3::CSStopType, std::__cxx11::basic_string<char>>>, std::less<NOMAD_4_3::CSStopType>>::_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::initializer_list.74" = type { ptr, i64 }
%"struct.std::pair.75" = type { i32, %"class.std::__cxx11::basic_string" }
%"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::less.77" = type { i8 }
%"class.std::allocator.79" = type { i8 }

@.str = external hidden unnamed_addr constant [8 x i8], align 1
@__dso_handle = external hidden global i8
@.str.12 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [39 x i8], align 1
@_ZZNK9NOMAD_4_310StopReasonINS_10CSStopTypeEE4dictB5cxx11EvE10dictionaryB5cxx11 = external hidden global %"class.std::map.68", align 8
@_ZGVZNK9NOMAD_4_310StopReasonINS_10CSStopTypeEE4dictB5cxx11EvE10dictionaryB5cxx11 = external hidden global i64, align 8
@.str.22 = external hidden unnamed_addr constant [35 x i8], align 1

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

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

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) #1

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef nonnull align 8 dereferenceable(48) ptr @_ZNK9NOMAD_4_310StopReasonINS_10CSStopTypeEE4dictB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(12) %0) #2 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca ptr, align 8
  %3 = alloca %"class.std::initializer_list.74", align 8
  %4 = alloca [6 x %"struct.std::pair.75"], align 8
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i1, align 1
  %15 = alloca %"struct.std::less.77", align 1
  %16 = alloca %"class.std::allocator.79", align 1
  store ptr %0, ptr %2, align 8, !tbaa !5
  %17 = load ptr, ptr %2, align 8
  %18 = load atomic i8, ptr @_ZGVZNK9NOMAD_4_310StopReasonINS_10CSStopTypeEE4dictB5cxx11EvE10dictionaryB5cxx11 acquire, align 8
  %19 = icmp eq i8 %18, 0
  br i1 %19, label %20, label %50, !prof !9

20:                                               ; preds = %1
  %21 = call i32 @__cxa_guard_acquire(ptr @_ZGVZNK9NOMAD_4_310StopReasonINS_10CSStopTypeEE4dictB5cxx11EvE10dictionaryB5cxx11) #0
  %22 = icmp ne i32 %21, 0
  br i1 %22, label %23, label %50

23:                                               ; preds = %20
  call void @llvm.lifetime.start.p0(i64 240, ptr %4) #0
  store i1 true, ptr %14, align 1
  store ptr %4, ptr %5, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #0
  store i32 0, ptr %6, align 4, !tbaa !10
  invoke void @_ZNSt4pairIKN9NOMAD_4_310CSStopTypeENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEC2IS1_RA8_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) %6, ptr noundef nonnull align 1 dereferenceable(8) @.str)
          to label %24 unwind label %51

24:                                               ; preds = %23
  %25 = getelementptr inbounds %"struct.std::pair.75", ptr %4, i64 1
  store ptr %25, ptr %5, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #0
  store i32 1, ptr %9, align 4, !tbaa !10
  invoke void @_ZNSt4pairIKN9NOMAD_4_310CSStopTypeENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEC2IS1_RA31_KcTnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairISF_SG_EEEbE4typeELb1EEEOSF_OSG_(ptr noundef nonnull align 8 dereferenceable(40) %25, ptr noundef nonnull align 4 dereferenceable(4) %9, ptr noundef nonnull align 1 dereferenceable(31) @.str.12)
          to label %26 unwind label %55

26:                                               ; preds = %24
  %27 = getelementptr inbounds %"struct.std::pair.75", ptr %4, i64 2
  store ptr %27, ptr %5, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #0
  store i32 4, ptr %10, align 4, !tbaa !10
  invoke void @_ZNSt4pairIKN9NOMAD_4_310CSStopTypeENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEC2IS1_RA35_KcTnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairISF_SG_EEEbE4typeELb1EEEOSF_OSG_(ptr noundef nonnull align 8 dereferenceable(40) %27, ptr noundef nonnull align 4 dereferenceable(4) %10, ptr noundef nonnull align 1 dereferenceable(35) @.str.22)
          to label %28 unwind label %59

28:                                               ; preds = %26
  %29 = getelementptr inbounds %"struct.std::pair.75", ptr %4, i64 3
  store ptr %29, ptr %5, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #0
  store i32 2, ptr %11, align 4, !tbaa !10
  invoke void @_ZNSt4pairIKN9NOMAD_4_310CSStopTypeENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEC2IS1_RA22_KcTnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairISF_SG_EEEbE4typeELb1EEEOSF_OSG_(ptr noundef nonnull align 8 dereferenceable(40) %29, ptr noundef nonnull align 4 dereferenceable(4) %11, ptr noundef nonnull align 1 dereferenceable(22) @.str.13)
          to label %30 unwind label %63

30:                                               ; preds = %28
  %31 = getelementptr inbounds %"struct.std::pair.75", ptr %4, i64 4
  store ptr %31, ptr %5, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #0
  store i32 3, ptr %12, align 4, !tbaa !10
  invoke void @_ZNSt4pairIKN9NOMAD_4_310CSStopTypeENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEC2IS1_RA23_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) %12, ptr noundef nonnull align 1 dereferenceable(23) @.str.14)
          to label %32 unwind label %67

32:                                               ; preds = %30
  %33 = getelementptr inbounds %"struct.std::pair.75", ptr %4, i64 5
  store ptr %33, ptr %5, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #0
  store i32 5, ptr %13, align 4, !tbaa !10
  invoke void @_ZNSt4pairIKN9NOMAD_4_310CSStopTypeENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEC2IS1_RA39_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) %13, ptr noundef nonnull align 1 dereferenceable(39) @.str.16)
          to label %34 unwind label %71

34:                                               ; preds = %32
  store i1 false, ptr %14, align 1
  %35 = getelementptr inbounds %"class.std::initializer_list.74", ptr %3, i32 0, i32 0
  store ptr %4, ptr %35, align 8, !tbaa !12
  %36 = getelementptr inbounds %"class.std::initializer_list.74", ptr %3, i32 0, i32 1
  store i64 6, ptr %36, align 8, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 1, ptr %15) #0
  call void @llvm.lifetime.start.p0(i64 1, ptr %16) #0
  call void @_ZNSaISt4pairIKN9NOMAD_4_310CSStopTypeENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %16) #0
  %37 = getelementptr inbounds { ptr, i64 }, ptr %3, i32 0, i32 0
  %38 = load ptr, ptr %37, align 8
  %39 = getelementptr inbounds { ptr, i64 }, ptr %3, i32 0, i32 1
  %40 = load i64, ptr %39, align 8
  invoke void @_ZNSt3mapIN9NOMAD_4_310CSStopTypeENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS1_ESaISt4pairIKS1_S7_EEEC2ESt16initializer_listISC_ERKS9_RKSD_(ptr noundef nonnull align 8 dereferenceable(48) @_ZZNK9NOMAD_4_310StopReasonINS_10CSStopTypeEE4dictB5cxx11EvE10dictionaryB5cxx11, ptr %38, i64 %40, ptr noundef nonnull align 1 dereferenceable(1) %15, ptr noundef nonnull align 1 dereferenceable(1) %16)
          to label %41 unwind label %75

41:                                               ; preds = %34
  call void @_ZNSt15__new_allocatorISt4pairIKN9NOMAD_4_310CSStopTypeENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %16) #0
  call void @llvm.lifetime.end.p0(i64 1, ptr %16) #0
  call void @llvm.lifetime.end.p0(i64 1, ptr %15) #0
  %42 = getelementptr inbounds [6 x %"struct.std::pair.75"], ptr %4, i32 0, i32 0
  %43 = getelementptr inbounds %"struct.std::pair.75", ptr %42, i64 6
  br label %44

44:                                               ; preds = %44, %41
  %45 = phi ptr [ %43, %41 ], [ %46, %44 ]
  %46 = getelementptr inbounds %"struct.std::pair.75", ptr %45, i64 -1
  call void @_ZNSt4pairIKN9NOMAD_4_310CSStopTypeENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %46) #0
  %47 = icmp eq ptr %46, %42
  br i1 %47, label %48, label %44

48:                                               ; preds = %44
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #0
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #0
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #0
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #0
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #0
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #0
  call void @llvm.lifetime.end.p0(i64 240, ptr %4) #0
  %49 = call i32 @__cxa_atexit(ptr @_ZNSt3mapIN9NOMAD_4_310CSStopTypeENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS1_ESaISt4pairIKS1_S7_EEED2Ev, ptr @_ZZNK9NOMAD_4_310StopReasonINS_10CSStopTypeEE4dictB5cxx11EvE10dictionaryB5cxx11, ptr @__dso_handle) #0
  call void @__cxa_guard_release(ptr @_ZGVZNK9NOMAD_4_310StopReasonINS_10CSStopTypeEE4dictB5cxx11EvE10dictionaryB5cxx11) #0
  br label %50

50:                                               ; preds = %48, %20, %1
  ret ptr @_ZZNK9NOMAD_4_310StopReasonINS_10CSStopTypeEE4dictB5cxx11EvE10dictionaryB5cxx11

51:                                               ; preds = %23
  %52 = landingpad { ptr, i32 }
          cleanup
  %53 = extractvalue { ptr, i32 } %52, 0
  store ptr %53, ptr %7, align 8
  %54 = extractvalue { ptr, i32 } %52, 1
  store i32 %54, ptr %8, align 4
  br label %91

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

59:                                               ; preds = %26
  %60 = landingpad { ptr, i32 }
          cleanup
  %61 = extractvalue { ptr, i32 } %60, 0
  store ptr %61, ptr %7, align 8
  %62 = extractvalue { ptr, i32 } %60, 1
  store i32 %62, ptr %8, align 4
  br label %89

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

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

71:                                               ; preds = %32
  %72 = landingpad { ptr, i32 }
          cleanup
  %73 = extractvalue { ptr, i32 } %72, 0
  store ptr %73, ptr %7, align 8
  %74 = extractvalue { ptr, i32 } %72, 1
  store i32 %74, ptr %8, align 4
  br label %86

75:                                               ; preds = %34
  %76 = landingpad { ptr, i32 }
          cleanup
  %77 = extractvalue { ptr, i32 } %76, 0
  store ptr %77, ptr %7, align 8
  %78 = extractvalue { ptr, i32 } %76, 1
  store i32 %78, ptr %8, align 4
  call void @_ZNSt15__new_allocatorISt4pairIKN9NOMAD_4_310CSStopTypeENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %16) #0
  call void @llvm.lifetime.end.p0(i64 1, ptr %16) #0
  call void @llvm.lifetime.end.p0(i64 1, ptr %15) #0
  %79 = getelementptr inbounds [6 x %"struct.std::pair.75"], ptr %4, i32 0, i32 0
  %80 = getelementptr inbounds %"struct.std::pair.75", ptr %79, i64 6
  br label %81

81:                                               ; preds = %81, %75
  %82 = phi ptr [ %80, %75 ], [ %83, %81 ]
  %83 = getelementptr inbounds %"struct.std::pair.75", ptr %82, i64 -1
  call void @_ZNSt4pairIKN9NOMAD_4_310CSStopTypeENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %83) #0
  %84 = icmp eq ptr %83, %79
  br i1 %84, label %85, label %81

85:                                               ; preds = %81
  br label %86

86:                                               ; preds = %85, %71
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #0
  br label %87

87:                                               ; preds = %86, %67
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #0
  br label %88

88:                                               ; preds = %87, %63
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #0
  br label %89

89:                                               ; preds = %88, %59
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #0
  br label %90

90:                                               ; preds = %89, %55
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #0
  br label %91

91:                                               ; preds = %90, %51
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #0
  %92 = load i1, ptr %14, align 1
  br i1 %92, label %93, label %101

93:                                               ; preds = %91
  %94 = load ptr, ptr %5, align 8
  %95 = icmp eq ptr %4, %94
  br i1 %95, label %100, label %96

96:                                               ; preds = %96, %93
  %97 = phi ptr [ %94, %93 ], [ %98, %96 ]
  %98 = getelementptr inbounds %"struct.std::pair.75", ptr %97, i64 -1
  call void @_ZNSt4pairIKN9NOMAD_4_310CSStopTypeENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %98) #0
  %99 = icmp eq ptr %98, %4
  br i1 %99, label %100, label %96

100:                                              ; preds = %96, %93
  br label %101

101:                                              ; preds = %100, %91
  call void @llvm.lifetime.end.p0(i64 240, ptr %4) #0
  call void @__cxa_guard_abort(ptr @_ZGVZNK9NOMAD_4_310StopReasonINS_10CSStopTypeEE4dictB5cxx11EvE10dictionaryB5cxx11) #0
  br label %102

102:                                              ; preds = %101
  %103 = load ptr, ptr %7, align 8
  %104 = load i32, ptr %8, align 4
  %105 = insertvalue { ptr, i32 } poison, ptr %103, 0
  %106 = insertvalue { ptr, i32 } %105, i32 %104, 1
  resume { ptr, i32 } %106
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt4pairIKN9NOMAD_4_310CSStopTypeENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEC2IS1_RA8_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(8)) unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt4pairIKN9NOMAD_4_310CSStopTypeENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEC2IS1_RA31_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(31)) unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt4pairIKN9NOMAD_4_310CSStopTypeENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEC2IS1_RA35_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(35)) unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt4pairIKN9NOMAD_4_310CSStopTypeENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEC2IS1_RA22_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(22)) unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt4pairIKN9NOMAD_4_310CSStopTypeENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEC2IS1_RA23_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(23)) unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt4pairIKN9NOMAD_4_310CSStopTypeENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEC2IS1_RA39_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(39)) unnamed_addr #2 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt3mapIN9NOMAD_4_310CSStopTypeENSt7__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 #2 align 2

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

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

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

attributes #0 = { nounwind }
attributes #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!"branch_weights", i32 1, i32 1048575}
!10 = !{!11, !11, i64 0}
!11 = !{!"_ZTSN9NOMAD_4_310CSStopTypeE", !7, i64 0}
!12 = !{!13, !6, i64 0}
!13 = !{!"_ZTSSt16initializer_listISt4pairIKN9NOMAD_4_310CSStopTypeENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEE", !6, i64 0, !14, i64 8}
!14 = !{!"long", !7, i64 0}
!15 = !{!13, !14, 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.68" = type { %"class.std::_Rb_tree.69" }
%"class.std::_Rb_tree.69" = type { %"struct.std::_Rb_tree<NOMAD_4_3::CSStopType, std::pair<const NOMAD_4_3::CSStopType, std::__cxx11::basic_string<char>>, std::_Select1st<std::pair<const NOMAD_4_3::CSStopType, std::__cxx11::basic_string<char>>>, std::less<NOMAD_4_3::CSStopType>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<NOMAD_4_3::CSStopType, std::pair<const NOMAD_4_3::CSStopType, std::__cxx11::basic_string<char>>, std::_Select1st<std::pair<const NOMAD_4_3::CSStopType, std::__cxx11::basic_string<char>>>, std::less<NOMAD_4_3::CSStopType>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }
%"struct.std::pair.75" = type { i32, %"class.std::__cxx11::basic_string" }
%"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::less.77" = type { i8 }
%"class.std::allocator.79" = type { i8 }

@.str = external hidden unnamed_addr constant [8 x i8], align 1
@__dso_handle = external hidden global i8
@.str.12 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [39 x i8], align 1
@_ZZNK9NOMAD_4_310StopReasonINS_10CSStopTypeEE4dictB5cxx11EvE10dictionaryB5cxx11 = external hidden global %"class.std::map.68", align 8
@_ZGVZNK9NOMAD_4_310StopReasonINS_10CSStopTypeEE4dictB5cxx11EvE10dictionaryB5cxx11 = external hidden global i64, align 8
@.str.22 = external hidden unnamed_addr constant [35 x i8], align 1

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

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

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) #1

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef nonnull align 8 dereferenceable(48) ptr @_ZNK9NOMAD_4_310StopReasonINS_10CSStopTypeEE4dictB5cxx11Ev(ptr nocapture noundef nonnull readnone align 8 dereferenceable(12) %0) local_unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca [6 x %"struct.std::pair.75"], align 8
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca %"struct.std::less.77", align 1
  %10 = alloca %"class.std::allocator.79", align 1
  %11 = load atomic i8, ptr @_ZGVZNK9NOMAD_4_310StopReasonINS_10CSStopTypeEE4dictB5cxx11EvE10dictionaryB5cxx11 acquire, align 8
  %12 = icmp eq i8 %11, 0
  br i1 %12, label %13, label %34, !prof !5

13:                                               ; preds = %1
  %14 = tail call i32 @__cxa_guard_acquire(ptr nonnull @_ZGVZNK9NOMAD_4_310StopReasonINS_10CSStopTypeEE4dictB5cxx11EvE10dictionaryB5cxx11) #5
  %.not23 = icmp eq i32 %14, 0
  br i1 %.not23, label %34, label %15

15:                                               ; preds = %13
  call void @llvm.lifetime.start.p0(i64 240, ptr nonnull %2) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #5
  store i32 0, ptr %3, align 4, !tbaa !6
  invoke void @_ZNSt4pairIKN9NOMAD_4_310CSStopTypeENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEC2IS1_RA8_KcTnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairISF_SG_EEEbE4typeELb1EEEOSF_OSG_(ptr noundef nonnull align 8 dereferenceable(40) %2, ptr noundef nonnull align 4 dereferenceable(4) %3, ptr noundef nonnull align 1 dereferenceable(8) @.str)
          to label %16 unwind label %.thread

16:                                               ; preds = %15
  %17 = getelementptr inbounds i8, ptr %2, i64 40
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #5
  store i32 1, ptr %4, align 4, !tbaa !6
  invoke void @_ZNSt4pairIKN9NOMAD_4_310CSStopTypeENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEC2IS1_RA31_KcTnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairISF_SG_EEEbE4typeELb1EEEOSF_OSG_(ptr noundef nonnull align 8 dereferenceable(40) %17, ptr noundef nonnull align 4 dereferenceable(4) %4, ptr noundef nonnull align 1 dereferenceable(31) @.str.12)
          to label %18 unwind label %36

18:                                               ; preds = %16
  %19 = getelementptr inbounds i8, ptr %2, i64 80
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #5
  store i32 4, ptr %5, align 4, !tbaa !6
  invoke void @_ZNSt4pairIKN9NOMAD_4_310CSStopTypeENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEC2IS1_RA35_KcTnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairISF_SG_EEEbE4typeELb1EEEOSF_OSG_(ptr noundef nonnull align 8 dereferenceable(40) %19, ptr noundef nonnull align 4 dereferenceable(4) %5, ptr noundef nonnull align 1 dereferenceable(35) @.str.22)
          to label %20 unwind label %38

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

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

24:                                               ; preds = %22
  %25 = getelementptr inbounds i8, ptr %2, i64 200
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %8) #5
  store i32 5, ptr %8, align 4, !tbaa !6
  invoke void @_ZNSt4pairIKN9NOMAD_4_310CSStopTypeENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEC2IS1_RA39_KcTnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairISF_SG_EEEbE4typeELb1EEEOSF_OSG_(ptr noundef nonnull align 8 dereferenceable(40) %25, ptr noundef nonnull align 4 dereferenceable(4) %8, ptr noundef nonnull align 1 dereferenceable(39) @.str.16)
          to label %26 unwind label %44

26:                                               ; preds = %24
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %9) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %10) #5
  call void @_ZNSaISt4pairIKN9NOMAD_4_310CSStopTypeENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %10) #5
  invoke void @_ZNSt3mapIN9NOMAD_4_310CSStopTypeENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS1_ESaISt4pairIKS1_S7_EEEC2ESt16initializer_listISC_ERKS9_RKSD_(ptr noundef nonnull align 8 dereferenceable(48) @_ZZNK9NOMAD_4_310StopReasonINS_10CSStopTypeEE4dictB5cxx11EvE10dictionaryB5cxx11, ptr nonnull %2, i64 6, ptr noundef nonnull align 1 dereferenceable(1) %9, ptr noundef nonnull align 1 dereferenceable(1) %10)
          to label %27 unwind label %.loopexit35.loopexit

27:                                               ; preds = %26
  call void @_ZNSt15__new_allocatorISt4pairIKN9NOMAD_4_310CSStopTypeENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %10) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %10) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %9) #5
  %28 = getelementptr inbounds i8, ptr %2, i64 200
  call void @_ZNSt4pairIKN9NOMAD_4_310CSStopTypeENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %28) #5
  %29 = getelementptr inbounds i8, ptr %2, i64 160
  call void @_ZNSt4pairIKN9NOMAD_4_310CSStopTypeENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %29) #5
  %30 = getelementptr inbounds i8, ptr %2, i64 120
  call void @_ZNSt4pairIKN9NOMAD_4_310CSStopTypeENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %30) #5
  %31 = getelementptr inbounds i8, ptr %2, i64 80
  call void @_ZNSt4pairIKN9NOMAD_4_310CSStopTypeENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %31) #5
  %32 = getelementptr inbounds i8, ptr %2, i64 40
  call void @_ZNSt4pairIKN9NOMAD_4_310CSStopTypeENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %32) #5
  call void @_ZNSt4pairIKN9NOMAD_4_310CSStopTypeENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %2) #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 4, ptr nonnull %4) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #5
  call void @llvm.lifetime.end.p0(i64 240, ptr nonnull %2) #5
  %33 = call i32 @__cxa_atexit(ptr nonnull @_ZNSt3mapIN9NOMAD_4_310CSStopTypeENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS1_ESaISt4pairIKS1_S7_EEED2Ev, ptr nonnull @_ZZNK9NOMAD_4_310StopReasonINS_10CSStopTypeEE4dictB5cxx11EvE10dictionaryB5cxx11, ptr nonnull @__dso_handle) #5
  call void @__cxa_guard_release(ptr nonnull @_ZGVZNK9NOMAD_4_310StopReasonINS_10CSStopTypeEE4dictB5cxx11EvE10dictionaryB5cxx11) #5
  br label %34

34:                                               ; preds = %27, %13, %1
  ret ptr @_ZZNK9NOMAD_4_310StopReasonINS_10CSStopTypeEE4dictB5cxx11EvE10dictionaryB5cxx11

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

36:                                               ; preds = %16
  %37 = landingpad { ptr, i32 }
          cleanup
  br label %56

38:                                               ; preds = %18
  %39 = landingpad { ptr, i32 }
          cleanup
  br label %55

40:                                               ; preds = %20
  %41 = landingpad { ptr, i32 }
          cleanup
  br label %54

42:                                               ; preds = %22
  %43 = landingpad { ptr, i32 }
          cleanup
  br label %53

44:                                               ; preds = %24
  %45 = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit35

.loopexit35.loopexit:                             ; preds = %26
  %46 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorISt4pairIKN9NOMAD_4_310CSStopTypeENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %10) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %10) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %9) #5
  %47 = getelementptr inbounds i8, ptr %2, i64 200
  call void @_ZNSt4pairIKN9NOMAD_4_310CSStopTypeENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %47) #5
  %48 = getelementptr inbounds i8, ptr %2, i64 160
  call void @_ZNSt4pairIKN9NOMAD_4_310CSStopTypeENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %48) #5
  %49 = getelementptr inbounds i8, ptr %2, i64 120
  call void @_ZNSt4pairIKN9NOMAD_4_310CSStopTypeENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %49) #5
  %50 = getelementptr inbounds i8, ptr %2, i64 80
  call void @_ZNSt4pairIKN9NOMAD_4_310CSStopTypeENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %50) #5
  %51 = getelementptr inbounds i8, ptr %2, i64 40
  call void @_ZNSt4pairIKN9NOMAD_4_310CSStopTypeENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %51) #5
  call void @_ZNSt4pairIKN9NOMAD_4_310CSStopTypeENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %2) #5
  br label %.loopexit35

.loopexit35:                                      ; preds = %.loopexit35.loopexit, %44
  %.pn = phi { ptr, i32 } [ %45, %44 ], [ %46, %.loopexit35.loopexit ]
  %52 = phi i1 [ false, %44 ], [ true, %.loopexit35.loopexit ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #5
  br label %53

53:                                               ; preds = %.loopexit35, %42
  %.017 = phi ptr [ %25, %.loopexit35 ], [ %23, %42 ]
  %.pn.pn = phi { ptr, i32 } [ %.pn, %.loopexit35 ], [ %43, %42 ]
  %.1 = phi i1 [ %52, %.loopexit35 ], [ false, %42 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #5
  br label %54

54:                                               ; preds = %53, %40
  %.118 = phi ptr [ %.017, %53 ], [ %21, %40 ]
  %.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn, %53 ], [ %41, %40 ]
  %.2 = phi i1 [ %.1, %53 ], [ false, %40 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #5
  br label %55

55:                                               ; preds = %54, %38
  %.219 = phi ptr [ %.118, %54 ], [ %19, %38 ]
  %.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn, %54 ], [ %39, %38 ]
  %.3 = phi i1 [ %.2, %54 ], [ false, %38 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #5
  br label %56

56:                                               ; preds = %36, %55
  %.320 = phi ptr [ %.219, %55 ], [ %17, %36 ]
  %.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn, %55 ], [ %37, %36 ]
  %.4 = phi i1 [ %.3, %55 ], [ false, %36 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #5
  %57 = icmp eq ptr %2, %.320
  %or.cond = or i1 %57, %.4
  br i1 %or.cond, label %.loopexit, label %.preheader

.preheader:                                       ; preds = %56, %.preheader
  %58 = phi ptr [ %59, %.preheader ], [ %.320, %56 ]
  %59 = getelementptr inbounds i8, ptr %58, i64 -40
  call void @_ZNSt4pairIKN9NOMAD_4_310CSStopTypeENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %59) #5
  %60 = icmp eq ptr %59, %2
  br i1 %60, label %.loopexit, label %.preheader

.loopexit:                                        ; preds = %.preheader, %.thread, %56
  %.pn.pn.pn.pn.pn.pn34 = phi { ptr, i32 } [ %35, %.thread ], [ %.pn.pn.pn.pn.pn, %56 ], [ %.pn.pn.pn.pn.pn, %.preheader ]
  call void @llvm.lifetime.end.p0(i64 240, ptr nonnull %2) #5
  call void @__cxa_guard_abort(ptr nonnull @_ZGVZNK9NOMAD_4_310StopReasonINS_10CSStopTypeEE4dictB5cxx11EvE10dictionaryB5cxx11) #5
  resume { ptr, i32 } %.pn.pn.pn.pn.pn.pn34
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt4pairIKN9NOMAD_4_310CSStopTypeENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEC2IS1_RA8_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(8)) unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt4pairIKN9NOMAD_4_310CSStopTypeENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEC2IS1_RA31_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(31)) unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt4pairIKN9NOMAD_4_310CSStopTypeENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEC2IS1_RA35_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(35)) unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt4pairIKN9NOMAD_4_310CSStopTypeENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEC2IS1_RA22_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(22)) unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt4pairIKN9NOMAD_4_310CSStopTypeENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEC2IS1_RA23_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(23)) unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt4pairIKN9NOMAD_4_310CSStopTypeENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEC2IS1_RA39_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(39)) unnamed_addr #2 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt3mapIN9NOMAD_4_310CSStopTypeENSt7__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 #2 align 2

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

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

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

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


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