; LLVM IR from hbirchtree/coffeecutie :: src/peripheral/platform/platforms/linux (process)

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"struct.stl_types::nested_domain_error_code" = type { %"struct.stl_types::error_code", %"struct.platform::file::file_error_category", %"struct.stl_types::domain_error_code" }
%"struct.stl_types::error_code" = type { %"class.std::error_code", %"class.std::__cxx11::basic_string" }
%"class.std::error_code" = type { i32, ptr }
%"struct.platform::file::file_error_category" = type { %"class.std::_V2::error_category" }
%"class.std::_V2::error_category" = type { ptr }
%"struct.stl_types::domain_error_code" = type { %"struct.stl_types::error_code", %"struct.platform::file::posix_error_category" }
%"struct.platform::file::posix_error_category" = type { %"class.std::_V2::error_category" }
%"struct.platform::env::Linux::MemMap::Entry" = type <{ %"class.std::__cxx11::basic_string", i64, i64, i64, i64, i32, [4 x i8] }>

@.str.1 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [6 x i8], align 1

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

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local void @_ZN9stl_types24nested_domain_error_codeIN8platform4file9FileErrorENS2_19file_error_categoryENS_17domain_error_codeIiNS2_20posix_error_categoryEEEEC2Ev(ptr noundef nonnull align 8 dereferenceable(112)) unnamed_addr #1 align 2

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

declare i32 @__gxx_personality_v0(...)

; Function Attrs: nounwind
declare noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4findEcm(ptr noundef nonnull align 8 dereferenceable(32), i8 noundef signext, i64 noundef) #3

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i64 @_ZN9stl_types11cast_stringImEET_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(32)) #5

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local void @_ZN9stl_types3str11encapsulateIcEENSt7__cxx1112basic_stringIT_St11char_traitsIS4_ESaIS4_EEEPKS4_m(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef, i64 noundef) #1

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN9stl_types24nested_domain_error_codeIN8platform4file9FileErrorENS2_19file_error_categoryENS_17domain_error_codeIiNS2_20posix_error_categoryEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(112)) unnamed_addr #6 align 2

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN8platform3env5Linux6MemMap10GetProcMapEiRNS2_7ProcMapE(i32 noundef %0, ptr noundef nonnull align 8 dereferenceable(24) %1) #5 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca i32, align 4
  %4 = alloca ptr, align 8
  %5 = alloca %"struct.stl_types::nested_domain_error_code", align 8
  %6 = alloca %"class.std::__cxx11::basic_string", align 8
  %7 = alloca %"class.std::__cxx11::basic_string", align 8
  %8 = alloca %"class.std::__cxx11::basic_string", align 8
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca %"class.std::__cxx11::basic_string", align 8
  %12 = alloca i64, align 8
  %13 = alloca i64, align 8
  %14 = alloca i8, align 1
  %15 = alloca %"struct.platform::env::Linux::MemMap::Entry", align 8
  %16 = alloca ptr, align 8
  %17 = alloca i64, align 8
  %18 = alloca i32, align 4
  %19 = alloca i64, align 8
  %20 = alloca %"class.std::__cxx11::basic_string", align 8
  %21 = alloca i64, align 8
  %22 = alloca %"class.std::__cxx11::basic_string", align 8
  %23 = alloca i32, align 4
  store i32 %0, ptr %3, align 4, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 112, ptr %5) #8
  call void @_ZN9stl_types24nested_domain_error_codeIN8platform4file9FileErrorENS2_19file_error_categoryENS_17domain_error_codeIiNS2_20posix_error_categoryEEEEC2Ev(ptr noundef nonnull align 8 dereferenceable(112) %5)
  call void @llvm.lifetime.start.p0(i64 32, ptr %6) #8
  call void @llvm.lifetime.start.p0(i64 32, ptr %7) #8
  call void @llvm.lifetime.start.p0(i64 32, ptr %8) #8
  %24 = load i32, ptr %3, align 4, !tbaa !5
  invoke void @_ZN9stl_types8cast_podIiEENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEET_(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %8, i32 noundef %24)
          to label %25 unwind label %63

25:                                               ; preds = %2
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_OS8_(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %7, ptr noundef @.str.1, ptr noundef nonnull align 8 dereferenceable(32) %8)
          to label %26 unwind label %67

26:                                               ; preds = %25
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_PKS5_(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %6, ptr noundef nonnull align 8 dereferenceable(32) %7, ptr noundef @.str.2)
          to label %27 unwind label %71

27:                                               ; preds = %26
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %7) #8
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %8) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %7) #8
  call void @llvm.lifetime.start.p0(i64 32, ptr %11) #8
  %28 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %6) #8
  invoke void @_ZN8platform4file5Linux7FileFun8sys_readB5cxx11EPKcRN9stl_types24nested_domain_error_codeINS0_9FileErrorENS0_19file_error_categoryENS5_17domain_error_codeIiNS0_20posix_error_categoryEEEEE(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %11, ptr noundef %28, ptr noundef nonnull align 8 dereferenceable(112) %5)
          to label %29 unwind label %77

29:                                               ; preds = %27
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #8
  %30 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4findEcm(ptr noundef nonnull align 8 dereferenceable(32) %11, i8 noundef signext 10, i64 noundef 0) #8
  store i64 %30, ptr %12, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #8
  store i64 0, ptr %13, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 1, ptr %14) #8
  store i8 0, ptr %14, align 1, !tbaa !13
  br label %31

31:                                               ; preds = %218, %29
  %32 = load i64, ptr %12, align 8, !tbaa !11
  %33 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %11) #8
  %34 = icmp ult i64 %32, %33
  br i1 %34, label %35, label %221

35:                                               ; preds = %31
  %36 = load ptr, ptr %4, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 72, ptr %15) #8
  %37 = getelementptr inbounds %"struct.platform::env::Linux::MemMap::Entry", ptr %15, i32 0, i32 0
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %37) #8
  %38 = getelementptr inbounds %"struct.platform::env::Linux::MemMap::Entry", ptr %15, i32 0, i32 1
  store i64 0, ptr %38, align 8, !tbaa !15
  %39 = getelementptr inbounds %"struct.platform::env::Linux::MemMap::Entry", ptr %15, i32 0, i32 2
  store i64 0, ptr %39, align 8, !tbaa !20
  %40 = getelementptr inbounds %"struct.platform::env::Linux::MemMap::Entry", ptr %15, i32 0, i32 3
  store i64 0, ptr %40, align 8, !tbaa !21
  %41 = getelementptr inbounds %"struct.platform::env::Linux::MemMap::Entry", ptr %15, i32 0, i32 4
  store i64 0, ptr %41, align 8, !tbaa !22
  %42 = getelementptr inbounds %"struct.platform::env::Linux::MemMap::Entry", ptr %15, i32 0, i32 5
  store i32 0, ptr %42, align 8, !tbaa !23
  invoke void @_ZNSt6vectorIN8platform3env5Linux6MemMap5EntryESaIS4_EE9push_backEOS4_(ptr noundef nonnull align 8 dereferenceable(24) %36, ptr noundef nonnull align 8 dereferenceable(68) %15)
          to label %43 unwind label %81

43:                                               ; preds = %35
  call void @_ZN8platform3env5Linux6MemMap5EntryD2Ev(ptr noundef nonnull align 8 dereferenceable(68) %15) #8
  call void @llvm.lifetime.end.p0(i64 72, ptr %15) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #8
  %44 = load ptr, ptr %4, align 8, !tbaa !9
  %45 = call noundef nonnull align 8 dereferenceable(68) ptr @_ZNSt6vectorIN8platform3env5Linux6MemMap5EntryESaIS4_EE4backEv(ptr noundef nonnull align 8 dereferenceable(24) %44) #8
  store ptr %45, ptr %16, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #8
  store i64 0, ptr %17, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #8
  store i32 0, ptr %18, align 4, !tbaa !5
  br label %46

46:                                               ; preds = %215, %43
  %47 = load i64, ptr %17, align 8, !tbaa !11
  %48 = load i64, ptr %12, align 8, !tbaa !11
  %49 = icmp ult i64 %47, %48
  br i1 %49, label %50, label %218

50:                                               ; preds = %46
  %51 = load i64, ptr %13, align 8, !tbaa !11
  %52 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4findEcm(ptr noundef nonnull align 8 dereferenceable(32) %11, i8 noundef signext 32, i64 noundef %51) #8
  store i64 %52, ptr %17, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #8
  %53 = load i64, ptr %17, align 8, !tbaa !11
  %54 = load i64, ptr %13, align 8, !tbaa !11
  %55 = sub i64 %53, %54
  store i64 %55, ptr %19, align 8, !tbaa !11
  %56 = load i64, ptr %17, align 8, !tbaa !11
  %57 = load i64, ptr %12, align 8, !tbaa !11
  %58 = icmp ugt i64 %56, %57
  br i1 %58, label %59, label %85

59:                                               ; preds = %50
  %60 = load i64, ptr %12, align 8, !tbaa !11
  %61 = load i64, ptr %13, align 8, !tbaa !11
  %62 = sub i64 %60, %61
  store i64 %62, ptr %19, align 8, !tbaa !11
  br label %85

63:                                               ; preds = %2
  %64 = landingpad { ptr, i32 }
          cleanup
  %65 = extractvalue { ptr, i32 } %64, 0
  store ptr %65, ptr %9, align 8
  %66 = extractvalue { ptr, i32 } %64, 1
  store i32 %66, ptr %10, align 4
  br label %76

67:                                               ; preds = %25
  %68 = landingpad { ptr, i32 }
          cleanup
  %69 = extractvalue { ptr, i32 } %68, 0
  store ptr %69, ptr %9, align 8
  %70 = extractvalue { ptr, i32 } %68, 1
  store i32 %70, ptr %10, align 4
  br label %75

71:                                               ; preds = %26
  %72 = landingpad { ptr, i32 }
          cleanup
  %73 = extractvalue { ptr, i32 } %72, 0
  store ptr %73, ptr %9, align 8
  %74 = extractvalue { ptr, i32 } %72, 1
  store i32 %74, ptr %10, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %7) #8
  br label %75

75:                                               ; preds = %71, %67
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #8
  br label %76

76:                                               ; preds = %75, %63
  call void @llvm.lifetime.end.p0(i64 32, ptr %8) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %7) #8
  br label %224

77:                                               ; preds = %27
  %78 = landingpad { ptr, i32 }
          cleanup
  %79 = extractvalue { ptr, i32 } %78, 0
  store ptr %79, ptr %9, align 8
  %80 = extractvalue { ptr, i32 } %78, 1
  store i32 %80, ptr %10, align 4
  br label %223

81:                                               ; preds = %35
  %82 = landingpad { ptr, i32 }
          cleanup
  %83 = extractvalue { ptr, i32 } %82, 0
  store ptr %83, ptr %9, align 8
  %84 = extractvalue { ptr, i32 } %82, 1
  store i32 %84, ptr %10, align 4
  call void @_ZN8platform3env5Linux6MemMap5EntryD2Ev(ptr noundef nonnull align 8 dereferenceable(68) %15) #8
  call void @llvm.lifetime.end.p0(i64 72, ptr %15) #8
  br label %222

85:                                               ; preds = %59, %50
  call void @llvm.lifetime.start.p0(i64 32, ptr %20) #8
  %86 = load i64, ptr %13, align 8, !tbaa !11
  %87 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %11, i64 noundef %86)
          to label %88 unwind label %100

88:                                               ; preds = %85
  %89 = load i64, ptr %19, align 8, !tbaa !11
  invoke void @_ZN9stl_types3str11encapsulateIcEENSt7__cxx1112basic_stringIT_St11char_traitsIS4_ESaIS4_EEEPKS4_m(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %20, ptr noundef %87, i64 noundef %89)
          to label %90 unwind label %100

90:                                               ; preds = %88
  %91 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %20) #8
  %92 = icmp eq i64 %91, 0
  %93 = zext i1 %92 to i8
  store i8 %93, ptr %14, align 1, !tbaa !13
  %94 = load i8, ptr %14, align 1, !tbaa !13, !range !24, !noundef !25
  %95 = trunc i8 %94 to i1
  br i1 %95, label %203, label %96

96:                                               ; preds = %90
  %97 = load i32, ptr %18, align 4, !tbaa !5
  %98 = add i32 %97, 1
  store i32 %98, ptr %18, align 4, !tbaa !5
  %99 = load i32, ptr %18, align 4, !tbaa !5
  switch i32 %99, label %201 [
    i32 1, label %104
    i32 2, label %134
    i32 3, label %184
    i32 4, label %190
    i32 5, label %191
    i32 6, label %196
  ]

100:                                              ; preds = %88, %85
  %101 = landingpad { ptr, i32 }
          cleanup
  %102 = extractvalue { ptr, i32 } %101, 0
  store ptr %102, ptr %9, align 8
  %103 = extractvalue { ptr, i32 } %101, 1
  store i32 %103, ptr %10, align 4
  br label %217

104:                                              ; preds = %96
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #8
  %105 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4findEcm(ptr noundef nonnull align 8 dereferenceable(32) %20, i8 noundef signext 45, i64 noundef 0) #8
  store i64 %105, ptr %21, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 32, ptr %22) #8
  %106 = call noundef ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4dataEv(ptr noundef nonnull align 8 dereferenceable(32) %20) #8
  %107 = load i64, ptr %21, align 8, !tbaa !11
  invoke void @_ZN9stl_types3str11encapsulateIcEENSt7__cxx1112basic_stringIT_St11char_traitsIS4_ESaIS4_EEEPKS4_m(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %22, ptr noundef %106, i64 noundef %107)
          to label %108 unwind label %125

108:                                              ; preds = %104
  %109 = call noundef ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4dataEv(ptr noundef nonnull align 8 dereferenceable(32) %22) #8
  %110 = invoke noundef i64 @_ZN4libc3str11from_stringImNS0_12convert_modeILj16EEEcTnPNSt9enable_ifIXaasr3std11is_integralIT_EE5valuentsr3std7is_sameIS5_bEE5valueEvE4typeELPv0EEES5_PKT1_(ptr noundef %109)
          to label %111 unwind label %129

111:                                              ; preds = %108
  %112 = load ptr, ptr %16, align 8, !tbaa !9
  %113 = getelementptr inbounds %"struct.platform::env::Linux::MemMap::Entry", ptr %112, i32 0, i32 2
  store i64 %110, ptr %113, align 8, !tbaa !20
  %114 = load i64, ptr %21, align 8, !tbaa !11
  %115 = add i64 %114, 1
  %116 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %20, i64 noundef %115)
          to label %117 unwind label %129

117:                                              ; preds = %111
  %118 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEPKc(ptr noundef nonnull align 8 dereferenceable(32) %22, ptr noundef %116)
          to label %119 unwind label %129

119:                                              ; preds = %117
  %120 = call noundef ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4dataEv(ptr noundef nonnull align 8 dereferenceable(32) %22) #8
  %121 = invoke noundef i64 @_ZN4libc3str11from_stringImNS0_12convert_modeILj16EEEcTnPNSt9enable_ifIXaasr3std11is_integralIT_EE5valuentsr3std7is_sameIS5_bEE5valueEvE4typeELPv0EEES5_PKT1_(ptr noundef %120)
          to label %122 unwind label %129

122:                                              ; preds = %119
  %123 = load ptr, ptr %16, align 8, !tbaa !9
  %124 = getelementptr inbounds %"struct.platform::env::Linux::MemMap::Entry", ptr %123, i32 0, i32 3
  store i64 %121, ptr %124, align 8, !tbaa !21
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %22) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %22) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #8
  br label %202

125:                                              ; preds = %104
  %126 = landingpad { ptr, i32 }
          cleanup
  %127 = extractvalue { ptr, i32 } %126, 0
  store ptr %127, ptr %9, align 8
  %128 = extractvalue { ptr, i32 } %126, 1
  store i32 %128, ptr %10, align 4
  br label %133

129:                                              ; preds = %119, %117, %111, %108
  %130 = landingpad { ptr, i32 }
          cleanup
  %131 = extractvalue { ptr, i32 } %130, 0
  store ptr %131, ptr %9, align 8
  %132 = extractvalue { ptr, i32 } %130, 1
  store i32 %132, ptr %10, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %22) #8
  br label %133

133:                                              ; preds = %129, %125
  call void @llvm.lifetime.end.p0(i64 32, ptr %22) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #8
  br label %216

134:                                              ; preds = %96
  %135 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4findEcm(ptr noundef nonnull align 8 dereferenceable(32) %20, i8 noundef signext 114, i64 noundef 0) #8
  %136 = load i64, ptr %12, align 8, !tbaa !11
  %137 = icmp ult i64 %135, %136
  br i1 %137, label %138, label %147

138:                                              ; preds = %134
  %139 = load ptr, ptr %16, align 8, !tbaa !9
  %140 = getelementptr inbounds %"struct.platform::env::Linux::MemMap::Entry", ptr %139, i32 0, i32 5
  %141 = invoke noundef i32 @_ZN8semanticoRERNS_4RSCAES0_(ptr noundef nonnull align 4 dereferenceable(4) %140, i32 noundef 256)
          to label %142 unwind label %143

142:                                              ; preds = %138
  br label %147

143:                                              ; preds = %196, %191, %184, %178, %169, %160, %151, %138
  %144 = landingpad { ptr, i32 }
          cleanup
  %145 = extractvalue { ptr, i32 } %144, 0
  store ptr %145, ptr %9, align 8
  %146 = extractvalue { ptr, i32 } %144, 1
  store i32 %146, ptr %10, align 4
  br label %216

147:                                              ; preds = %142, %134
  %148 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4findEcm(ptr noundef nonnull align 8 dereferenceable(32) %20, i8 noundef signext 119, i64 noundef 0) #8
  %149 = load i64, ptr %12, align 8, !tbaa !11
  %150 = icmp ult i64 %148, %149
  br i1 %150, label %151, label %156

151:                                              ; preds = %147
  %152 = load ptr, ptr %16, align 8, !tbaa !9
  %153 = getelementptr inbounds %"struct.platform::env::Linux::MemMap::Entry", ptr %152, i32 0, i32 5
  %154 = invoke noundef i32 @_ZN8semanticoRERNS_4RSCAES0_(ptr noundef nonnull align 4 dereferenceable(4) %153, i32 noundef 512)
          to label %155 unwind label %143

155:                                              ; preds = %151
  br label %156

156:                                              ; preds = %155, %147
  %157 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4findEcm(ptr noundef nonnull align 8 dereferenceable(32) %20, i8 noundef signext 120, i64 noundef 0) #8
  %158 = load i64, ptr %12, align 8, !tbaa !11
  %159 = icmp ult i64 %157, %158
  br i1 %159, label %160, label %165

160:                                              ; preds = %156
  %161 = load ptr, ptr %16, align 8, !tbaa !9
  %162 = getelementptr inbounds %"struct.platform::env::Linux::MemMap::Entry", ptr %161, i32 0, i32 5
  %163 = invoke noundef i32 @_ZN8semanticoRERNS_4RSCAES0_(ptr noundef nonnull align 4 dereferenceable(4) %162, i32 noundef 2048)
          to label %164 unwind label %143

164:                                              ; preds = %160
  br label %165

165:                                              ; preds = %164, %156
  %166 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4findEcm(ptr noundef nonnull align 8 dereferenceable(32) %20, i8 noundef signext 115, i64 noundef 0) #8
  %167 = load i64, ptr %12, align 8, !tbaa !11
  %168 = icmp ult i64 %166, %167
  br i1 %168, label %169, label %174

169:                                              ; preds = %165
  %170 = load ptr, ptr %16, align 8, !tbaa !9
  %171 = getelementptr inbounds %"struct.platform::env::Linux::MemMap::Entry", ptr %170, i32 0, i32 5
  %172 = invoke noundef i32 @_ZN8semanticoRERNS_4RSCAES0_(ptr noundef nonnull align 4 dereferenceable(4) %171, i32 noundef 2)
          to label %173 unwind label %143

173:                                              ; preds = %169
  br label %174

174:                                              ; preds = %173, %165
  %175 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4findEcm(ptr noundef nonnull align 8 dereferenceable(32) %20, i8 noundef signext 112, i64 noundef 0) #8
  %176 = load i64, ptr %12, align 8, !tbaa !11
  %177 = icmp ult i64 %175, %176
  br i1 %177, label %178, label %183

178:                                              ; preds = %174
  %179 = load ptr, ptr %16, align 8, !tbaa !9
  %180 = getelementptr inbounds %"struct.platform::env::Linux::MemMap::Entry", ptr %179, i32 0, i32 5
  %181 = invoke noundef i32 @_ZN8semanticoRERNS_4RSCAES0_(ptr noundef nonnull align 4 dereferenceable(4) %180, i32 noundef 64)
          to label %182 unwind label %143

182:                                              ; preds = %178
  br label %183

183:                                              ; preds = %182, %174
  br label %202

184:                                              ; preds = %96
  %185 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %20) #8
  %186 = invoke noundef i64 @_ZN4libc3str11from_stringImNS0_12convert_modeILj16EEEcTnPNSt9enable_ifIXaasr3std11is_integralIT_EE5valuentsr3std7is_sameIS5_bEE5valueEvE4typeELPv0EEES5_PKT1_(ptr noundef %185)
          to label %187 unwind label %143

187:                                              ; preds = %184
  %188 = load ptr, ptr %16, align 8, !tbaa !9
  %189 = getelementptr inbounds %"struct.platform::env::Linux::MemMap::Entry", ptr %188, i32 0, i32 4
  store i64 %186, ptr %189, align 8, !tbaa !22
  br label %202

190:                                              ; preds = %96
  br label %202

191:                                              ; preds = %96
  %192 = invoke noundef i64 @_ZN9stl_types11cast_stringImEET_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(32) %20)
          to label %193 unwind label %143

193:                                              ; preds = %191
  %194 = load ptr, ptr %16, align 8, !tbaa !9
  %195 = getelementptr inbounds %"struct.platform::env::Linux::MemMap::Entry", ptr %194, i32 0, i32 1
  store i64 %192, ptr %195, align 8, !tbaa !15
  br label %202

196:                                              ; preds = %96
  %197 = load ptr, ptr %16, align 8, !tbaa !9
  %198 = getelementptr inbounds %"struct.platform::env::Linux::MemMap::Entry", ptr %197, i32 0, i32 0
  %199 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %198, ptr noundef nonnull align 8 dereferenceable(32) %20)
          to label %200 unwind label %143

200:                                              ; preds = %196
  br label %202

201:                                              ; preds = %96
  br label %202

202:                                              ; preds = %201, %200, %193, %190, %187, %183, %122
  br label %203

203:                                              ; preds = %202, %90
  %204 = load i64, ptr %17, align 8, !tbaa !11
  %205 = add i64 %204, 1
  store i64 %205, ptr %13, align 8, !tbaa !11
  %206 = load i64, ptr %17, align 8, !tbaa !11
  %207 = load i64, ptr %12, align 8, !tbaa !11
  %208 = icmp ugt i64 %206, %207
  br i1 %208, label %209, label %212

209:                                              ; preds = %203
  %210 = load i64, ptr %12, align 8, !tbaa !11
  %211 = add i64 %210, 1
  store i64 %211, ptr %13, align 8, !tbaa !11
  store i32 5, ptr %23, align 4
  br label %213

212:                                              ; preds = %203
  store i32 0, ptr %23, align 4
  br label %213

213:                                              ; preds = %212, %209
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %20) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %20) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #8
  %214 = load i32, ptr %23, align 4
  switch i32 %214, label %230 [
    i32 0, label %215
    i32 5, label %218
  ]

215:                                              ; preds = %213
  br label %46, !llvm.loop !26

216:                                              ; preds = %143, %133
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %20) #8
  br label %217

217:                                              ; preds = %216, %100
  call void @llvm.lifetime.end.p0(i64 32, ptr %20) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #8
  br label %222

218:                                              ; preds = %213, %46
  %219 = load i64, ptr %13, align 8, !tbaa !11
  %220 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4findEcm(ptr noundef nonnull align 8 dereferenceable(32) %11, i8 noundef signext 10, i64 noundef %219) #8
  store i64 %220, ptr %12, align 8, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #8
  br label %31, !llvm.loop !28

221:                                              ; preds = %31
  store i32 1, ptr %23, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %14) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #8
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %11) #8
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %6) #8
  call void @_ZN9stl_types24nested_domain_error_codeIN8platform4file9FileErrorENS2_19file_error_categoryENS_17domain_error_codeIiNS2_20posix_error_categoryEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(112) %5) #8
  call void @llvm.lifetime.end.p0(i64 112, ptr %5) #8
  ret i1 true

222:                                              ; preds = %217, %81
  call void @llvm.lifetime.end.p0(i64 1, ptr %14) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #8
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #8
  br label %223

223:                                              ; preds = %222, %77
  call void @llvm.lifetime.end.p0(i64 32, ptr %11) #8
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #8
  br label %224

224:                                              ; preds = %223, %76
  call void @llvm.lifetime.end.p0(i64 32, ptr %6) #8
  call void @_ZN9stl_types24nested_domain_error_codeIN8platform4file9FileErrorENS2_19file_error_categoryENS_17domain_error_codeIiNS2_20posix_error_categoryEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(112) %5) #8
  call void @llvm.lifetime.end.p0(i64 112, ptr %5) #8
  br label %225

225:                                              ; preds = %224
  %226 = load ptr, ptr %9, align 8
  %227 = load i32, ptr %10, align 4
  %228 = insertvalue { ptr, i32 } poison, ptr %226, 0
  %229 = insertvalue { ptr, i32 } %228, i32 %227, 1
  resume { ptr, i32 } %229

230:                                              ; preds = %213
  unreachable
}

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_PKS5_(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 8 dereferenceable(32), ptr noundef) #7

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_OS8_(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef, ptr noundef nonnull align 8 dereferenceable(32)) #7

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN9stl_types8cast_podIiEENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEET_(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, i32 noundef) #5

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN8platform3env5Linux6MemMap5EntryD2Ev(ptr noundef nonnull align 8 dereferenceable(68)) unnamed_addr #6 align 2

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

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

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local noundef i64 @_ZN4libc3str11from_stringImNS0_12convert_modeILj16EEEcTnPNSt9enable_ifIXaasr3std11is_integralIT_EE5valuentsr3std7is_sameIS5_bEE5valueEvE4typeELPv0EEES5_PKT1_(ptr noundef) #1

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZN8semanticoRERNS_4RSCAES0_(ptr noundef nonnull align 4 dereferenceable(4), i32 noundef) #6

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

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

!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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"long", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"bool", !7, i64 0}
!15 = !{!16, !12, i64 32}
!16 = !{!"_ZTSN8platform3env5Linux6MemMap5EntryE", !17, i64 0, !12, i64 32, !12, i64 40, !12, i64 48, !12, i64 56, !19, i64 64}
!17 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !18, i64 0, !12, i64 8, !7, i64 16}
!18 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !10, i64 0}
!19 = !{!"_ZTSN8semantic4RSCAE", !7, i64 0}
!20 = !{!16, !12, i64 40}
!21 = !{!16, !12, i64 48}
!22 = !{!16, !12, i64 56}
!23 = !{!16, !19, i64 64}
!24 = !{i8 0, i8 2}
!25 = !{}
!26 = distinct !{!26, !27}
!27 = !{!"llvm.loop.mustprogress"}
!28 = distinct !{!28, !27}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"struct.stl_types::nested_domain_error_code" = type { %"struct.stl_types::error_code", %"struct.platform::file::file_error_category", %"struct.stl_types::domain_error_code" }
%"struct.stl_types::error_code" = type { %"class.std::error_code", %"class.std::__cxx11::basic_string" }
%"class.std::error_code" = type { i32, ptr }
%"struct.platform::file::file_error_category" = type { %"class.std::_V2::error_category" }
%"class.std::_V2::error_category" = type { ptr }
%"struct.stl_types::domain_error_code" = type { %"struct.stl_types::error_code", %"struct.platform::file::posix_error_category" }
%"struct.platform::file::posix_error_category" = type { %"class.std::_V2::error_category" }
%"struct.platform::env::Linux::MemMap::Entry" = type <{ %"class.std::__cxx11::basic_string", i64, i64, i64, i64, i32, [4 x i8] }>

@.str.1 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [6 x i8], align 1

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

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local void @_ZN9stl_types24nested_domain_error_codeIN8platform4file9FileErrorENS2_19file_error_categoryENS_17domain_error_codeIiNS2_20posix_error_categoryEEEEC2Ev(ptr noundef nonnull align 8 dereferenceable(112)) unnamed_addr #1 align 2

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

declare i32 @__gxx_personality_v0(...)

; Function Attrs: nounwind
declare noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4findEcm(ptr noundef nonnull align 8 dereferenceable(32), i8 noundef signext, i64 noundef) local_unnamed_addr #3

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i64 @_ZN9stl_types11cast_stringImEET_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #5

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local void @_ZN9stl_types3str11encapsulateIcEENSt7__cxx1112basic_stringIT_St11char_traitsIS4_ESaIS4_EEEPKS4_m(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef, i64 noundef) local_unnamed_addr #1

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN9stl_types24nested_domain_error_codeIN8platform4file9FileErrorENS2_19file_error_categoryENS_17domain_error_codeIiNS2_20posix_error_categoryEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(112)) unnamed_addr #6 align 2

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN8platform3env5Linux6MemMap10GetProcMapEiRNS2_7ProcMapE(i32 noundef %0, ptr noundef nonnull align 8 dereferenceable(24) %1) local_unnamed_addr #5 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca %"struct.stl_types::nested_domain_error_code", align 8
  %4 = alloca %"class.std::__cxx11::basic_string", align 8
  %5 = alloca %"class.std::__cxx11::basic_string", align 8
  %6 = alloca %"class.std::__cxx11::basic_string", align 8
  %7 = alloca %"class.std::__cxx11::basic_string", align 8
  %8 = alloca %"struct.platform::env::Linux::MemMap::Entry", align 8
  %9 = alloca %"class.std::__cxx11::basic_string", align 8
  %10 = alloca %"class.std::__cxx11::basic_string", align 8
  call void @llvm.lifetime.start.p0(i64 112, ptr nonnull %3) #10
  call void @_ZN9stl_types24nested_domain_error_codeIN8platform4file9FileErrorENS2_19file_error_categoryENS_17domain_error_codeIiNS2_20posix_error_categoryEEEEC2Ev(ptr noundef nonnull align 8 dereferenceable(112) %3)
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %4) #10
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %5) #10
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %6) #10
  invoke void @_ZN9stl_types8cast_podIiEENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEET_(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %6, i32 noundef %0)
          to label %11 unwind label %34

11:                                               ; preds = %2
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_OS8_(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %5, ptr noundef nonnull @.str.1, ptr noundef nonnull align 8 dereferenceable(32) %6)
          to label %12 unwind label %36

12:                                               ; preds = %11
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_PKS5_(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %4, ptr noundef nonnull align 8 dereferenceable(32) %5, ptr noundef nonnull @.str.2)
          to label %13 unwind label %38

13:                                               ; preds = %12
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #10
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %6) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %5) #10
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %7) #10
  %14 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %4) #10
  invoke void @_ZN8platform4file5Linux7FileFun8sys_readB5cxx11EPKcRN9stl_types24nested_domain_error_codeINS0_9FileErrorENS0_19file_error_categoryENS5_17domain_error_codeIiNS0_20posix_error_categoryEEEEE(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %7, ptr noundef %14, ptr noundef nonnull align 8 dereferenceable(112) %3)
          to label %15 unwind label %42

15:                                               ; preds = %13
  %16 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4findEcm(ptr noundef nonnull align 8 dereferenceable(32) %7, i8 noundef signext 10, i64 noundef 0) #10
  %17 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %7) #10
  %18 = icmp ult i64 %16, %17
  br i1 %18, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %15
  %19 = getelementptr inbounds i8, ptr %8, i64 32
  br label %20

20:                                               ; preds = %.lr.ph, %111
  %.05576 = phi i64 [ 0, %.lr.ph ], [ %.358, %111 ]
  %.05975 = phi i64 [ %16, %.lr.ph ], [ %112, %111 ]
  call void @llvm.lifetime.start.p0(i64 72, ptr nonnull %8) #10
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #10
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(36) %19, i8 0, i64 36, i1 false)
  invoke void @_ZNSt6vectorIN8platform3env5Linux6MemMap5EntryESaIS4_EE9push_backEOS4_(ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef nonnull align 8 dereferenceable(68) %8)
          to label %21 unwind label %44

21:                                               ; preds = %20
  call void @_ZN8platform3env5Linux6MemMap5EntryD2Ev(ptr noundef nonnull align 8 dereferenceable(68) %8) #10
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %8) #10
  %22 = call noundef nonnull align 8 dereferenceable(68) ptr @_ZNSt6vectorIN8platform3env5Linux6MemMap5EntryESaIS4_EE4backEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #10
  %23 = getelementptr inbounds i8, ptr %22, i64 32
  %24 = getelementptr inbounds i8, ptr %22, i64 56
  %25 = getelementptr inbounds i8, ptr %22, i64 64
  %26 = getelementptr inbounds i8, ptr %22, i64 40
  %27 = getelementptr inbounds i8, ptr %22, i64 48
  br label %28

28:                                               ; preds = %108, %21
  %.156 = phi i64 [ %.05576, %21 ], [ %.257, %108 ]
  %.046 = phi i64 [ 0, %21 ], [ %31, %108 ]
  %.044 = phi i32 [ 0, %21 ], [ %.145, %108 ]
  %29 = icmp ult i64 %.046, %.05975
  br i1 %29, label %30, label %111

30:                                               ; preds = %28
  %31 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4findEcm(ptr noundef nonnull align 8 dereferenceable(32) %7, i8 noundef signext 32, i64 noundef %.156) #10
  %32 = icmp ugt i64 %31, %.05975
  %spec.select = call i64 @llvm.umin.i64(i64 %31, i64 %.05975)
  %.043 = sub i64 %spec.select, %.156
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %9) #10
  %33 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %7, i64 noundef %.156)
  invoke void @_ZN9stl_types3str11encapsulateIcEENSt7__cxx1112basic_stringIT_St11char_traitsIS4_ESaIS4_EEEPKS4_m(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %9, ptr noundef nonnull %33, i64 noundef %.043)
          to label %46 unwind label %51

34:                                               ; preds = %2
  %35 = landingpad { ptr, i32 }
          cleanup
  br label %41

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

38:                                               ; preds = %12
  %39 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #10
  br label %40

40:                                               ; preds = %38, %36
  %.pn = phi { ptr, i32 } [ %39, %38 ], [ %37, %36 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #10
  br label %41

41:                                               ; preds = %40, %34
  %.pn.pn = phi { ptr, i32 } [ %.pn, %40 ], [ %35, %34 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %6) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %5) #10
  br label %117

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

44:                                               ; preds = %20
  %45 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN8platform3env5Linux6MemMap5EntryD2Ev(ptr noundef nonnull align 8 dereferenceable(68) %8) #10
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %8) #10
  br label %115

46:                                               ; preds = %30
  %47 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %9) #10
  %48 = icmp eq i64 %47, 0
  br i1 %48, label %108, label %49

49:                                               ; preds = %46
  %50 = add i32 %.044, 1
  switch i32 %.044, label %108 [
    i32 0, label %53
    i32 1, label %72
    i32 2, label %99
    i32 5, label %106
    i32 4, label %103
  ]

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

53:                                               ; preds = %49
  %54 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4findEcm(ptr noundef nonnull align 8 dereferenceable(32) %9, i8 noundef signext 45, i64 noundef 0) #10
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %10) #10
  %55 = call noundef ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4dataEv(ptr noundef nonnull align 8 dereferenceable(32) %9) #10
  invoke void @_ZN9stl_types3str11encapsulateIcEENSt7__cxx1112basic_stringIT_St11char_traitsIS4_ESaIS4_EEEPKS4_m(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %10, ptr noundef %55, i64 noundef %54)
          to label %56 unwind label %67

56:                                               ; preds = %53
  %57 = call noundef ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4dataEv(ptr noundef nonnull align 8 dereferenceable(32) %10) #10
  %58 = invoke noundef i64 @_ZN4libc3str11from_stringImNS0_12convert_modeILj16EEEcTnPNSt9enable_ifIXaasr3std11is_integralIT_EE5valuentsr3std7is_sameIS5_bEE5valueEvE4typeELPv0EEES5_PKT1_(ptr noundef %57)
          to label %59 unwind label %69

59:                                               ; preds = %56
  store i64 %58, ptr %26, align 8, !tbaa !5
  %60 = add i64 %54, 1
  %61 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %9, i64 noundef %60)
  %62 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEPKc(ptr noundef nonnull align 8 dereferenceable(32) %10, ptr noundef nonnull %61)
          to label %63 unwind label %69

63:                                               ; preds = %59
  %64 = call noundef ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4dataEv(ptr noundef nonnull align 8 dereferenceable(32) %10) #10
  %65 = invoke noundef i64 @_ZN4libc3str11from_stringImNS0_12convert_modeILj16EEEcTnPNSt9enable_ifIXaasr3std11is_integralIT_EE5valuentsr3std7is_sameIS5_bEE5valueEvE4typeELPv0EEES5_PKT1_(ptr noundef %64)
          to label %66 unwind label %69

66:                                               ; preds = %63
  store i64 %65, ptr %27, align 8, !tbaa !14
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %10) #10
  br label %108

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

69:                                               ; preds = %63, %59, %56
  %70 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #10
  br label %71

71:                                               ; preds = %69, %67
  %.pn67 = phi { ptr, i32 } [ %70, %69 ], [ %68, %67 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %10) #10
  br label %109

72:                                               ; preds = %49
  %73 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4findEcm(ptr noundef nonnull align 8 dereferenceable(32) %9, i8 noundef signext 114, i64 noundef 0) #10
  %74 = icmp ult i64 %73, %.05975
  br i1 %74, label %75, label %79

75:                                               ; preds = %72
  %76 = call noundef i32 @_ZN8semanticoRERNS_4RSCAES0_(ptr noundef nonnull align 4 dereferenceable(4) %25, i32 noundef 256)
  br label %79

77:                                               ; preds = %106, %103, %99
  %78 = landingpad { ptr, i32 }
          cleanup
  br label %109

79:                                               ; preds = %75, %72
  %80 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4findEcm(ptr noundef nonnull align 8 dereferenceable(32) %9, i8 noundef signext 119, i64 noundef 0) #10
  %81 = icmp ult i64 %80, %.05975
  br i1 %81, label %82, label %84

82:                                               ; preds = %79
  %83 = call noundef i32 @_ZN8semanticoRERNS_4RSCAES0_(ptr noundef nonnull align 4 dereferenceable(4) %25, i32 noundef 512)
  br label %84

84:                                               ; preds = %82, %79
  %85 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4findEcm(ptr noundef nonnull align 8 dereferenceable(32) %9, i8 noundef signext 120, i64 noundef 0) #10
  %86 = icmp ult i64 %85, %.05975
  br i1 %86, label %87, label %89

87:                                               ; preds = %84
  %88 = call noundef i32 @_ZN8semanticoRERNS_4RSCAES0_(ptr noundef nonnull align 4 dereferenceable(4) %25, i32 noundef 2048)
  br label %89

89:                                               ; preds = %87, %84
  %90 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4findEcm(ptr noundef nonnull align 8 dereferenceable(32) %9, i8 noundef signext 115, i64 noundef 0) #10
  %91 = icmp ult i64 %90, %.05975
  br i1 %91, label %92, label %94

92:                                               ; preds = %89
  %93 = call noundef i32 @_ZN8semanticoRERNS_4RSCAES0_(ptr noundef nonnull align 4 dereferenceable(4) %25, i32 noundef 2)
  br label %94

94:                                               ; preds = %92, %89
  %95 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4findEcm(ptr noundef nonnull align 8 dereferenceable(32) %9, i8 noundef signext 112, i64 noundef 0) #10
  %96 = icmp ult i64 %95, %.05975
  br i1 %96, label %97, label %108

97:                                               ; preds = %94
  %98 = call noundef i32 @_ZN8semanticoRERNS_4RSCAES0_(ptr noundef nonnull align 4 dereferenceable(4) %25, i32 noundef 64)
  br label %108

99:                                               ; preds = %49
  %100 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %9) #10
  %101 = invoke noundef i64 @_ZN4libc3str11from_stringImNS0_12convert_modeILj16EEEcTnPNSt9enable_ifIXaasr3std11is_integralIT_EE5valuentsr3std7is_sameIS5_bEE5valueEvE4typeELPv0EEES5_PKT1_(ptr noundef %100)
          to label %102 unwind label %77

102:                                              ; preds = %99
  store i64 %101, ptr %24, align 8, !tbaa !15
  br label %108

103:                                              ; preds = %49
  %104 = invoke noundef i64 @_ZN9stl_types11cast_stringImEET_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(32) %9)
          to label %105 unwind label %77

105:                                              ; preds = %103
  store i64 %104, ptr %23, align 8, !tbaa !16
  br label %108

106:                                              ; preds = %49
  %107 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %22, ptr noundef nonnull align 8 dereferenceable(32) %9)
          to label %108 unwind label %77

108:                                              ; preds = %66, %102, %105, %97, %94, %106, %49, %46
  %.145 = phi i32 [ %.044, %46 ], [ %50, %49 ], [ 5, %105 ], [ 6, %106 ], [ 3, %102 ], [ 2, %97 ], [ 2, %94 ], [ 1, %66 ]
  %.257 = add i64 %spec.select, 1
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %9) #10
  br i1 %32, label %111, label %28

109:                                              ; preds = %77, %71
  %.pn69 = phi { ptr, i32 } [ %78, %77 ], [ %.pn67, %71 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #10
  br label %110

110:                                              ; preds = %109, %51
  %.pn69.pn = phi { ptr, i32 } [ %.pn69, %109 ], [ %52, %51 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %9) #10
  br label %115

111:                                              ; preds = %108, %28
  %.358 = phi i64 [ %.257, %108 ], [ %.156, %28 ]
  %112 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4findEcm(ptr noundef nonnull align 8 dereferenceable(32) %7, i8 noundef signext 10, i64 noundef %.358) #10
  %113 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %7) #10
  %114 = icmp ult i64 %112, %113
  br i1 %114, label %20, label %._crit_edge, !llvm.loop !17

._crit_edge:                                      ; preds = %111, %15
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %7) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %7) #10
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %4) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %4) #10
  call void @_ZN9stl_types24nested_domain_error_codeIN8platform4file9FileErrorENS2_19file_error_categoryENS_17domain_error_codeIiNS2_20posix_error_categoryEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(112) %3) #10
  call void @llvm.lifetime.end.p0(i64 112, ptr nonnull %3) #10
  ret i1 true

115:                                              ; preds = %110, %44
  %.pn69.pn.pn = phi { ptr, i32 } [ %.pn69.pn, %110 ], [ %45, %44 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %7) #10
  br label %116

116:                                              ; preds = %115, %42
  %.pn69.pn.pn.pn = phi { ptr, i32 } [ %.pn69.pn.pn, %115 ], [ %43, %42 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %7) #10
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %4) #10
  br label %117

117:                                              ; preds = %116, %41
  %.pn69.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn69.pn.pn.pn, %116 ], [ %.pn.pn, %41 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %4) #10
  call void @_ZN9stl_types24nested_domain_error_codeIN8platform4file9FileErrorENS2_19file_error_categoryENS_17domain_error_codeIiNS2_20posix_error_categoryEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(112) %3) #10
  call void @llvm.lifetime.end.p0(i64 112, ptr nonnull %3) #10
  resume { ptr, i32 } %.pn69.pn.pn.pn.pn
}

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_PKS5_(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 8 dereferenceable(32), ptr noundef) local_unnamed_addr #7

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_OS8_(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef, ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #7

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN9stl_types8cast_podIiEENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEET_(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, i32 noundef) local_unnamed_addr #5

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN8platform3env5Linux6MemMap5EntryD2Ev(ptr noundef nonnull align 8 dereferenceable(68)) unnamed_addr #6 align 2

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

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

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local noundef i64 @_ZN4libc3str11from_stringImNS0_12convert_modeILj16EEEcTnPNSt9enable_ifIXaasr3std11is_integralIT_EE5valuentsr3std7is_sameIS5_bEE5valueEvE4typeELPv0EEES5_PKT1_(ptr noundef) local_unnamed_addr #1

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZN8semanticoRERNS_4RSCAES0_(ptr noundef nonnull align 4 dereferenceable(4), i32 noundef) local_unnamed_addr #6

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

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i64 @llvm.umin.i64(i64, i64) #8

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { alwaysinline mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { "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 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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 = { 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 #6 = { 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 #7 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #8 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #9 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #10 = { 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, !12, i64 40}
!6 = !{!"_ZTSN8platform3env5Linux6MemMap5EntryE", !7, i64 0, !12, i64 32, !12, i64 40, !12, i64 48, !12, i64 56, !13, i64 64}
!7 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !8, i64 0, !12, i64 8, !10, i64 16}
!8 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !9, i64 0}
!9 = !{!"any pointer", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C++ TBAA"}
!12 = !{!"long", !10, i64 0}
!13 = !{!"_ZTSN8semantic4RSCAE", !10, i64 0}
!14 = !{!6, !12, i64 48}
!15 = !{!6, !12, i64 56}
!16 = !{!6, !12, i64 32}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}


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