; LLVM IR from opset/openset :: src (result)

; 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.robin_hood::detail::unordered_map.377" = type { ptr, ptr, i64, i64, i64, i32, i32 }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<std::pair<openset::result::RowKey, openset::result::Accumulator *>, std::allocator<std::pair<openset::result::RowKey, openset::result::Accumulator *>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::pair<openset::result::RowKey, openset::result::Accumulator *>, std::allocator<std::pair<openset::result::RowKey, openset::result::Accumulator *>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::pair<openset::result::RowKey, openset::result::Accumulator *>, std::allocator<std::pair<openset::result::RowKey, openset::result::Accumulator *>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::pair<openset::result::RowKey, openset::result::Accumulator *>, std::allocator<std::pair<openset::result::RowKey, openset::result::Accumulator *>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%class.anon.394 = type { ptr }
%"struct.openset::result::RowKey" = type { [8 x i64], [8 x i32] }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::allocator.2" = type { i8 }
%"struct.std::pair.312" = type { %"struct.openset::result::RowKey", ptr }
%"class.openset::result::ResultSet" = type { %"class.robin_hood::detail::unordered_map", %"class.std::vector", %class.HeapStack, i64, %class.CriticalSection, i8, %"class.robin_hood::detail::unordered_map.295", %"class.std::vector.302", %"class.std::vector.307" }
%"class.robin_hood::detail::unordered_map" = type { %"struct.robin_hood::detail::NodeAllocator", ptr, ptr, i64, i64, i64, i32, i32 }
%"struct.robin_hood::detail::NodeAllocator" = type { %"class.robin_hood::detail::BulkPoolAllocator" }
%"class.robin_hood::detail::BulkPoolAllocator" = type { ptr, ptr }
%class.HeapStack = type { i64, i64, i64, i64, i64, ptr, ptr }
%class.CriticalSection = type { %"struct.std::atomic" }
%"struct.std::atomic" = type { %"struct.std::__atomic_base" }
%"struct.std::__atomic_base" = type { i8 }
%"class.robin_hood::detail::unordered_map.295" = type { ptr, ptr, i64, i64, i64, i32, i32 }
%"class.std::vector.302" = type { %"struct.std::_Vector_base.303" }
%"struct.std::_Vector_base.303" = type { %"struct.std::_Vector_base<openset::result::ResultTypes_e, std::allocator<openset::result::ResultTypes_e>>::_Vector_impl" }
%"struct.std::_Vector_base<openset::result::ResultTypes_e, std::allocator<openset::result::ResultTypes_e>>::_Vector_impl" = type { %"struct.std::_Vector_base<openset::result::ResultTypes_e, std::allocator<openset::result::ResultTypes_e>>::_Vector_impl_data" }
%"struct.std::_Vector_base<openset::result::ResultTypes_e, std::allocator<openset::result::ResultTypes_e>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.307" = type { %"struct.std::_Vector_base.308" }
%"struct.std::_Vector_base.308" = type { %"struct.std::_Vector_base<openset::query::Modifiers_e, std::allocator<openset::query::Modifiers_e>>::_Vector_impl" }
%"struct.std::_Vector_base<openset::query::Modifiers_e, std::allocator<openset::query::Modifiers_e>>::_Vector_impl" = type { %"struct.std::_Vector_base<openset::query::Modifiers_e, std::allocator<openset::query::Modifiers_e>>::_Vector_impl_data" }
%"struct.std::_Vector_base<openset::query::Modifiers_e, std::allocator<openset::query::Modifiers_e>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.openset::result::Accumulator" = type { [256 x %"struct.openset::result::Accumulation_s"] }
%"struct.openset::result::Accumulation_s" = type <{ i64, i32 }>

@.str.309 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.310 = external hidden unnamed_addr constant [2 x i8], align 1
@_ZL7NA_TEXT = external hidden global [4 x i8], align 1
@.str.311 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.312 = external hidden unnamed_addr constant [2 x i8], align 1

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

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

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

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #4

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z15mergeResultTextRSt6vectorIPN7openset6result9ResultSetESaIS3_EE(ptr dead_on_unwind noalias writable sret(%"class.robin_hood::detail::unordered_map.377") align 8, ptr noundef nonnull align 8 dereferenceable(24)) #3

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z15mergeResultSetsiiRSt6vectorIPN7openset6result9ResultSetESaIS3_EE(ptr dead_on_unwind noalias writable sret(%"class.std::vector") align 8, i32 noundef, i32 noundef, ptr noundef nonnull align 8 dereferenceable(24)) #3

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN7openset6result14ResultMuxDemux15resultSetToJsonEiiRSt6vectorIPNS0_9ResultSetESaIS4_EEP5cjson(i32 noundef %0, i32 noundef %1, ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef %3) #3 align 2 personality ptr @__gxx_personality_v0 {
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca %"class.robin_hood::detail::unordered_map.377", align 8
  %10 = alloca %"class.std::vector", align 8
  %11 = alloca ptr, align 8
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca %class.anon.394, align 8
  %16 = alloca %"struct.openset::result::RowKey", align 8
  %17 = alloca ptr, align 8
  %18 = alloca i32, align 4
  %19 = alloca ptr, align 8
  %20 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %21 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %22 = alloca ptr, align 8
  %23 = alloca i32, align 4
  %24 = alloca ptr, align 8
  %25 = alloca ptr, align 8
  %26 = alloca i32, align 4
  %27 = alloca ptr, align 8
  %28 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %29 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %30 = alloca i32, align 4
  %31 = alloca ptr, align 8
  %32 = alloca ptr, align 8
  %33 = alloca i32, align 4
  %34 = alloca i32, align 4
  %35 = alloca ptr, align 8
  %36 = alloca i32, align 4
  %37 = alloca ptr, align 8
  %38 = alloca i32, align 4
  %39 = alloca i32, align 4
  %40 = alloca ptr, align 8
  %41 = alloca %"class.std::__cxx11::basic_string", align 8
  %42 = alloca %"class.std::allocator.2", align 1
  %43 = alloca i1, align 1
  %44 = alloca i1, align 1
  %45 = alloca %"class.std::__cxx11::basic_string", align 8
  %46 = alloca i1, align 1
  %47 = alloca i1, align 1
  %48 = alloca i32, align 4
  %49 = alloca i32, align 4
  %50 = alloca ptr, align 8
  %51 = alloca ptr, align 8
  store i32 %0, ptr %5, align 4, !tbaa !5
  store i32 %1, ptr %6, align 4, !tbaa !5
  store ptr %2, ptr %7, align 8, !tbaa !9
  store ptr %3, ptr %8, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 48, ptr %9) #8
  %52 = load ptr, ptr %7, align 8, !tbaa !9
  call void @_Z15mergeResultTextRSt6vectorIPN7openset6result9ResultSetESaIS3_EE(ptr dead_on_unwind writable sret(%"class.robin_hood::detail::unordered_map.377") align 8 %9, ptr noundef nonnull align 8 dereferenceable(24) %52)
  call void @llvm.lifetime.start.p0(i64 24, ptr %10) #8
  %53 = load i32, ptr %5, align 4, !tbaa !5
  %54 = load i32, ptr %6, align 4, !tbaa !5
  %55 = load ptr, ptr %7, align 8, !tbaa !9
  invoke void @_Z15mergeResultSetsiiRSt6vectorIPN7openset6result9ResultSetESaIS3_EE(ptr dead_on_unwind writable sret(%"class.std::vector") align 8 %10, i32 noundef %53, i32 noundef %54, ptr noundef nonnull align 8 dereferenceable(24) %55)
          to label %56 unwind label %81

56:                                               ; preds = %4
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #8
  %57 = load i32, ptr %6, align 4, !tbaa !5
  %58 = icmp ne i32 %57, 0
  br i1 %58, label %59, label %61

59:                                               ; preds = %56
  %60 = load i32, ptr %6, align 4, !tbaa !5
  br label %62

61:                                               ; preds = %56
  br label %62

62:                                               ; preds = %61, %59
  %63 = phi i32 [ %60, %59 ], [ 1, %61 ]
  store i32 %63, ptr %13, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #8
  %64 = load i32, ptr %5, align 4, !tbaa !5
  store i32 %64, ptr %14, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #8
  %65 = getelementptr inbounds %class.anon.394, ptr %15, i32 0, i32 0
  store ptr %9, ptr %65, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 96, ptr %16) #8
  call void @llvm.memset.p0.i64(ptr align 8 %16, i8 0, i64 96, i1 false)
  invoke void @_ZN7openset6result6RowKey5clearEv(ptr noundef nonnull align 8 dereferenceable(96) %16)
          to label %66 unwind label %85

66:                                               ; preds = %62
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #8
  %67 = load ptr, ptr %8, align 8, !tbaa !9
  %68 = invoke noundef ptr @_ZN5cjson9pushArrayEv(ptr noundef nonnull align 8 dereferenceable(89) %67)
          to label %69 unwind label %89

69:                                               ; preds = %66
  store ptr %68, ptr %17, align 8, !tbaa !9
  %70 = load ptr, ptr %17, align 8, !tbaa !9
  invoke void @_ZN5cjson7setNameEPKc(ptr noundef nonnull align 8 dereferenceable(89) %70, ptr noundef @.str.309)
          to label %71 unwind label %89

71:                                               ; preds = %69
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #8
  store i32 0, ptr %18, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #8
  store ptr %10, ptr %19, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #8
  %72 = load ptr, ptr %19, align 8, !tbaa !9
  %73 = call ptr @_ZNSt6vectorISt4pairIN7openset6result6RowKeyEPNS2_11AccumulatorEESaIS6_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %72) #8
  %74 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %20, i32 0, i32 0
  store ptr %73, ptr %74, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #8
  %75 = load ptr, ptr %19, align 8, !tbaa !9
  %76 = call ptr @_ZNSt6vectorISt4pairIN7openset6result6RowKeyEPNS2_11AccumulatorEESaIS6_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %75) #8
  %77 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %21, i32 0, i32 0
  store ptr %76, ptr %77, align 8
  br label %78

78:                                               ; preds = %109, %71
  %79 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPSt4pairIN7openset6result6RowKeyEPNS3_11AccumulatorEESt6vectorIS7_SaIS7_EEEEbRKNS_17__normal_iteratorIT_T0_EESH_(ptr noundef nonnull align 8 dereferenceable(8) %20, ptr noundef nonnull align 8 dereferenceable(8) %21) #8
  br i1 %79, label %93, label %80

80:                                               ; preds = %78
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #8
  br label %111

81:                                               ; preds = %4
  %82 = landingpad { ptr, i32 }
          cleanup
  %83 = extractvalue { ptr, i32 } %82, 0
  store ptr %83, ptr %11, align 8
  %84 = extractvalue { ptr, i32 } %82, 1
  store i32 %84, ptr %12, align 4
  br label %644

85:                                               ; preds = %62
  %86 = landingpad { ptr, i32 }
          cleanup
  %87 = extractvalue { ptr, i32 } %86, 0
  store ptr %87, ptr %11, align 8
  %88 = extractvalue { ptr, i32 } %86, 1
  store i32 %88, ptr %12, align 4
  br label %643

89:                                               ; preds = %69, %66
  %90 = landingpad { ptr, i32 }
          cleanup
  %91 = extractvalue { ptr, i32 } %90, 0
  store ptr %91, ptr %11, align 8
  %92 = extractvalue { ptr, i32 } %90, 1
  store i32 %92, ptr %12, align 4
  br label %642

93:                                               ; preds = %78
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #8
  %94 = call noundef nonnull align 8 dereferenceable(104) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPSt4pairIN7openset6result6RowKeyEPNS3_11AccumulatorEESt6vectorIS7_SaIS7_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %20) #8
  store ptr %94, ptr %22, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #8
  %95 = load ptr, ptr %22, align 8, !tbaa !9
  %96 = getelementptr inbounds %"struct.std::pair.312", ptr %95, i32 0, i32 0
  %97 = invoke noundef i32 @_ZN7openset6result6RowKey8getDepthEv(ptr noundef nonnull align 8 dereferenceable(96) %96)
          to label %98 unwind label %104

98:                                               ; preds = %93
  store i32 %97, ptr %23, align 4, !tbaa !5
  %99 = load i32, ptr %23, align 4, !tbaa !5
  %100 = load i32, ptr %18, align 4, !tbaa !5
  %101 = icmp sgt i32 %99, %100
  br i1 %101, label %102, label %108

102:                                              ; preds = %98
  %103 = load i32, ptr %23, align 4, !tbaa !5
  store i32 %103, ptr %18, align 4, !tbaa !5
  br label %108

104:                                              ; preds = %93
  %105 = landingpad { ptr, i32 }
          cleanup
  %106 = extractvalue { ptr, i32 } %105, 0
  store ptr %106, ptr %11, align 8
  %107 = extractvalue { ptr, i32 } %105, 1
  store i32 %107, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #8
  br label %641

108:                                              ; preds = %102, %98
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #8
  br label %109

109:                                              ; preds = %108
  %110 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPSt4pairIN7openset6result6RowKeyEPNS3_11AccumulatorEESt6vectorIS7_SaIS7_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %20) #8
  br label %78

111:                                              ; preds = %80
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #8
  %112 = load ptr, ptr %7, align 8, !tbaa !9
  %113 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPN7openset6result9ResultSetESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %112, i64 noundef 0) #8
  %114 = load ptr, ptr %113, align 8, !tbaa !9
  %115 = getelementptr inbounds %"class.openset::result::ResultSet", ptr %114, i32 0, i32 8
  store ptr %115, ptr %24, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #8
  %116 = load ptr, ptr %7, align 8, !tbaa !9
  %117 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPN7openset6result9ResultSetESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %116, i64 noundef 0) #8
  %118 = load ptr, ptr %117, align 8, !tbaa !9
  %119 = getelementptr inbounds %"class.openset::result::ResultSet", ptr %118, i32 0, i32 7
  store ptr %119, ptr %25, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #8
  store i32 -1, ptr %26, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #8
  store ptr %10, ptr %27, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #8
  %120 = load ptr, ptr %27, align 8, !tbaa !9
  %121 = call ptr @_ZNSt6vectorISt4pairIN7openset6result6RowKeyEPNS2_11AccumulatorEESaIS6_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %120) #8
  %122 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %28, i32 0, i32 0
  store ptr %121, ptr %122, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #8
  %123 = load ptr, ptr %27, align 8, !tbaa !9
  %124 = call ptr @_ZNSt6vectorISt4pairIN7openset6result6RowKeyEPNS2_11AccumulatorEESaIS6_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %123) #8
  %125 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %29, i32 0, i32 0
  store ptr %124, ptr %125, align 8
  br label %126

126:                                              ; preds = %635, %111
  %127 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPSt4pairIN7openset6result6RowKeyEPNS3_11AccumulatorEESt6vectorIS7_SaIS7_EEEEbRKNS_17__normal_iteratorIT_T0_EESH_(ptr noundef nonnull align 8 dereferenceable(8) %28, ptr noundef nonnull align 8 dereferenceable(8) %29) #8
  br i1 %127, label %129, label %128

128:                                              ; preds = %126
  store i32 4, ptr %30, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #8
  br label %640

129:                                              ; preds = %126
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #8
  %130 = call noundef nonnull align 8 dereferenceable(104) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPSt4pairIN7openset6result6RowKeyEPNS3_11AccumulatorEESt6vectorIS7_SaIS7_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %28) #8
  store ptr %130, ptr %31, align 8, !tbaa !9
  %131 = load i32, ptr %26, align 4, !tbaa !5
  %132 = add nsw i32 %131, 1
  store i32 %132, ptr %26, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #8
  %133 = load ptr, ptr %31, align 8, !tbaa !9
  %134 = getelementptr inbounds %"struct.std::pair.312", ptr %133, i32 0, i32 0
  store ptr %134, ptr %32, align 8, !tbaa !9
  %135 = load ptr, ptr %32, align 8, !tbaa !9
  %136 = invoke noundef i32 @_ZN7openset6result6RowKey8getDepthEv(ptr noundef nonnull align 8 dereferenceable(96) %135)
          to label %137 unwind label %153

137:                                              ; preds = %129
  %138 = invoke noundef i32 @_ZN7openset6result6RowKey8getDepthEv(ptr noundef nonnull align 8 dereferenceable(96) %16)
          to label %139 unwind label %153

139:                                              ; preds = %137
  %140 = icmp slt i32 %136, %138
  br i1 %140, label %141, label %184

141:                                              ; preds = %139
  call void @llvm.lifetime.start.p0(i64 4, ptr %33) #8
  %142 = invoke noundef i32 @_ZN7openset6result6RowKey8getDepthEv(ptr noundef nonnull align 8 dereferenceable(96) %16)
          to label %143 unwind label %157

143:                                              ; preds = %141
  %144 = load ptr, ptr %32, align 8, !tbaa !9
  %145 = invoke noundef i32 @_ZN7openset6result6RowKey8getDepthEv(ptr noundef nonnull align 8 dereferenceable(96) %144)
          to label %146 unwind label %157

146:                                              ; preds = %143
  %147 = sub nsw i32 %142, %145
  store i32 %147, ptr %33, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %34) #8
  store i32 0, ptr %34, align 4, !tbaa !5
  br label %148

148:                                              ; preds = %176, %146
  %149 = load i32, ptr %34, align 4, !tbaa !5
  %150 = load i32, ptr %33, align 4, !tbaa !5
  %151 = icmp slt i32 %149, %150
  br i1 %151, label %161, label %152

152:                                              ; preds = %148
  store i32 6, ptr %30, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #8
  br label %179

153:                                              ; preds = %137, %129
  %154 = landingpad { ptr, i32 }
          cleanup
  %155 = extractvalue { ptr, i32 } %154, 0
  store ptr %155, ptr %11, align 8
  %156 = extractvalue { ptr, i32 } %154, 1
  store i32 %156, ptr %12, align 4
  br label %639

157:                                              ; preds = %179, %143, %141
  %158 = landingpad { ptr, i32 }
          cleanup
  %159 = extractvalue { ptr, i32 } %158, 0
  store ptr %159, ptr %11, align 8
  %160 = extractvalue { ptr, i32 } %158, 1
  store i32 %160, ptr %12, align 4
  br label %183

161:                                              ; preds = %148
  %162 = load i32, ptr %34, align 4, !tbaa !5
  %163 = icmp ne i32 %162, 0
  br i1 %163, label %164, label %172

164:                                              ; preds = %161
  %165 = load ptr, ptr %17, align 8, !tbaa !9
  %166 = invoke noundef ptr @_ZNK5cjson9hasParentEv(ptr noundef nonnull align 8 dereferenceable(89) %165)
          to label %167 unwind label %168

167:                                              ; preds = %164
  store ptr %166, ptr %17, align 8, !tbaa !9
  br label %172

168:                                              ; preds = %172, %164
  %169 = landingpad { ptr, i32 }
          cleanup
  %170 = extractvalue { ptr, i32 } %169, 0
  store ptr %170, ptr %11, align 8
  %171 = extractvalue { ptr, i32 } %169, 1
  store i32 %171, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #8
  br label %183

172:                                              ; preds = %167, %161
  %173 = load ptr, ptr %17, align 8, !tbaa !9
  %174 = invoke noundef ptr @_ZNK5cjson9hasParentEv(ptr noundef nonnull align 8 dereferenceable(89) %173)
          to label %175 unwind label %168

175:                                              ; preds = %172
  store ptr %174, ptr %17, align 8, !tbaa !9
  br label %176

176:                                              ; preds = %175
  %177 = load i32, ptr %34, align 4, !tbaa !5
  %178 = add nsw i32 %177, 1
  store i32 %178, ptr %34, align 4, !tbaa !5
  br label %148, !llvm.loop !11

179:                                              ; preds = %152
  %180 = load ptr, ptr %17, align 8, !tbaa !9
  %181 = invoke noundef ptr @_ZNK5cjson9hasParentEv(ptr noundef nonnull align 8 dereferenceable(89) %180)
          to label %182 unwind label %157

182:                                              ; preds = %179
  store ptr %181, ptr %17, align 8, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 4, ptr %33) #8
  br label %184

183:                                              ; preds = %168, %157
  call void @llvm.lifetime.end.p0(i64 4, ptr %33) #8
  br label %639

184:                                              ; preds = %182, %139
  call void @llvm.lifetime.start.p0(i64 8, ptr %35) #8
  %185 = load ptr, ptr %17, align 8, !tbaa !9
  %186 = invoke noundef ptr @_ZN5cjson10pushObjectEv(ptr noundef nonnull align 8 dereferenceable(89) %185)
          to label %187 unwind label %199

187:                                              ; preds = %184
  store ptr %186, ptr %35, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %36) #8
  %188 = load ptr, ptr %31, align 8, !tbaa !9
  %189 = getelementptr inbounds %"struct.std::pair.312", ptr %188, i32 0, i32 0
  %190 = invoke noundef i32 @_ZN7openset6result6RowKey8getDepthEv(ptr noundef nonnull align 8 dereferenceable(96) %189)
          to label %191 unwind label %203

191:                                              ; preds = %187
  %192 = sub nsw i32 %190, 1
  store i32 %192, ptr %36, align 4, !tbaa !5
  %193 = load ptr, ptr %32, align 8, !tbaa !9
  %194 = getelementptr inbounds %"struct.openset::result::RowKey", ptr %193, i32 0, i32 1
  %195 = load i32, ptr %36, align 4, !tbaa !5
  %196 = sext i32 %195 to i64
  %197 = getelementptr inbounds [8 x i32], ptr %194, i64 0, i64 %196
  %198 = load i32, ptr %197, align 4, !tbaa !13
  switch i32 %198, label %274 [
    i32 0, label %207
    i32 1, label %217
    i32 2, label %229
    i32 3, label %242
    i32 4, label %273
  ]

199:                                              ; preds = %184
  %200 = landingpad { ptr, i32 }
          cleanup
  %201 = extractvalue { ptr, i32 } %200, 0
  store ptr %201, ptr %11, align 8
  %202 = extractvalue { ptr, i32 } %200, 1
  store i32 %202, ptr %12, align 4
  br label %638

203:                                              ; preds = %629, %626, %621, %614, %274, %229, %217, %207, %187
  %204 = landingpad { ptr, i32 }
          cleanup
  %205 = extractvalue { ptr, i32 } %204, 0
  store ptr %205, ptr %11, align 8
  %206 = extractvalue { ptr, i32 } %204, 1
  store i32 %206, ptr %12, align 4
  br label %637

207:                                              ; preds = %191
  %208 = load ptr, ptr %35, align 8, !tbaa !9
  %209 = load ptr, ptr %32, align 8, !tbaa !9
  %210 = getelementptr inbounds %"struct.openset::result::RowKey", ptr %209, i32 0, i32 0
  %211 = load i32, ptr %36, align 4, !tbaa !5
  %212 = sext i32 %211 to i64
  %213 = getelementptr inbounds [8 x i64], ptr %210, i64 0, i64 %212
  %214 = load i64, ptr %213, align 8, !tbaa !15
  %215 = invoke noundef ptr @_ZN5cjson3setEPKcl(ptr noundef nonnull align 8 dereferenceable(89) %208, ptr noundef @.str.310, i64 noundef %214)
          to label %216 unwind label %203

216:                                              ; preds = %207
  br label %278

217:                                              ; preds = %191
  %218 = load ptr, ptr %35, align 8, !tbaa !9
  %219 = load ptr, ptr %32, align 8, !tbaa !9
  %220 = getelementptr inbounds %"struct.openset::result::RowKey", ptr %219, i32 0, i32 0
  %221 = load i32, ptr %36, align 4, !tbaa !5
  %222 = sext i32 %221 to i64
  %223 = getelementptr inbounds [8 x i64], ptr %220, i64 0, i64 %222
  %224 = load i64, ptr %223, align 8, !tbaa !15
  %225 = sitofp i64 %224 to double
  %226 = fdiv double %225, 1.000000e+04
  %227 = invoke noundef ptr @_ZN5cjson3setEPKcd(ptr noundef nonnull align 8 dereferenceable(89) %218, ptr noundef @.str.310, double noundef %226)
          to label %228 unwind label %203

228:                                              ; preds = %217
  br label %278

229:                                              ; preds = %191
  %230 = load ptr, ptr %35, align 8, !tbaa !9
  %231 = load ptr, ptr %32, align 8, !tbaa !9
  %232 = getelementptr inbounds %"struct.openset::result::RowKey", ptr %231, i32 0, i32 0
  %233 = load i32, ptr %36, align 4, !tbaa !5
  %234 = sext i32 %233 to i64
  %235 = getelementptr inbounds [8 x i64], ptr %232, i64 0, i64 %234
  %236 = load i64, ptr %235, align 8, !tbaa !15
  %237 = icmp ne i64 %236, 0
  %238 = zext i1 %237 to i64
  %239 = select i1 %237, i1 true, i1 false
  %240 = invoke noundef ptr @_ZN5cjson3setEPKcb(ptr noundef nonnull align 8 dereferenceable(89) %230, ptr noundef @.str.310, i1 noundef zeroext %239)
          to label %241 unwind label %203

241:                                              ; preds = %229
  br label %278

242:                                              ; preds = %191
  call void @llvm.lifetime.start.p0(i64 8, ptr %37) #8
  %243 = load ptr, ptr %32, align 8, !tbaa !9
  %244 = getelementptr inbounds %"struct.openset::result::RowKey", ptr %243, i32 0, i32 0
  %245 = load i32, ptr %36, align 4, !tbaa !5
  %246 = sext i32 %245 to i64
  %247 = getelementptr inbounds [8 x i64], ptr %244, i64 0, i64 %246
  %248 = load i64, ptr %247, align 8, !tbaa !15
  %249 = invoke noundef ptr @"_ZZN7openset6result14ResultMuxDemux15resultSetToJsonEiiRSt6vectorIPNS0_9ResultSetESaIS4_EEP5cjsonENK3$_0clEl"(ptr noundef nonnull align 8 dereferenceable(8) %15, i64 noundef %248)
          to label %250 unwind label %258

250:                                              ; preds = %242
  store ptr %249, ptr %37, align 8, !tbaa !9
  %251 = load ptr, ptr %37, align 8, !tbaa !9
  %252 = icmp ne ptr %251, @_ZL7NA_TEXT
  br i1 %252, label %253, label %262

253:                                              ; preds = %250
  %254 = load ptr, ptr %35, align 8, !tbaa !9
  %255 = load ptr, ptr %37, align 8, !tbaa !9
  %256 = invoke noundef ptr @_ZN5cjson3setEPKcS1_(ptr noundef nonnull align 8 dereferenceable(89) %254, ptr noundef @.str.310, ptr noundef %255)
          to label %257 unwind label %258

257:                                              ; preds = %253
  br label %272

258:                                              ; preds = %262, %253, %242
  %259 = landingpad { ptr, i32 }
          cleanup
  %260 = extractvalue { ptr, i32 } %259, 0
  store ptr %260, ptr %11, align 8
  %261 = extractvalue { ptr, i32 } %259, 1
  store i32 %261, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #8
  br label %637

262:                                              ; preds = %250
  %263 = load ptr, ptr %35, align 8, !tbaa !9
  %264 = load ptr, ptr %32, align 8, !tbaa !9
  %265 = getelementptr inbounds %"struct.openset::result::RowKey", ptr %264, i32 0, i32 0
  %266 = load i32, ptr %36, align 4, !tbaa !5
  %267 = sext i32 %266 to i64
  %268 = getelementptr inbounds [8 x i64], ptr %265, i64 0, i64 %267
  %269 = load i64, ptr %268, align 8, !tbaa !15
  %270 = invoke noundef ptr @_ZN5cjson3setEPKcl(ptr noundef nonnull align 8 dereferenceable(89) %263, ptr noundef @.str.310, i64 noundef %269)
          to label %271 unwind label %258

271:                                              ; preds = %262
  br label %272

272:                                              ; preds = %271, %257
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #8
  br label %278

273:                                              ; preds = %191
  br label %274

274:                                              ; preds = %273, %191
  %275 = load ptr, ptr %35, align 8, !tbaa !9
  %276 = invoke noundef ptr @_ZN5cjson3setEPKcS1_(ptr noundef nonnull align 8 dereferenceable(89) %275, ptr noundef @.str.310, ptr noundef @.str.311)
          to label %277 unwind label %203

277:                                              ; preds = %274
  br label %278

278:                                              ; preds = %277, %272, %241, %228, %216
  call void @llvm.lifetime.start.p0(i64 4, ptr %38) #8
  store i32 0, ptr %38, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %39) #8
  store i32 0, ptr %39, align 4, !tbaa !5
  br label %279

279:                                              ; preds = %601, %278
  %280 = load i32, ptr %38, align 4, !tbaa !5
  %281 = load i32, ptr %13, align 4, !tbaa !5
  %282 = icmp slt i32 %280, %281
  br i1 %282, label %284, label %283

283:                                              ; preds = %279
  store i32 10, ptr %30, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %39) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %38) #8
  br label %608

284:                                              ; preds = %279
  call void @llvm.lifetime.start.p0(i64 8, ptr %40) #8
  %285 = load ptr, ptr %35, align 8, !tbaa !9
  %286 = invoke noundef ptr @_ZN5cjson9pushArrayEv(ptr noundef nonnull align 8 dereferenceable(89) %285)
          to label %287 unwind label %319

287:                                              ; preds = %284
  store ptr %286, ptr %40, align 8, !tbaa !9
  %288 = load ptr, ptr %40, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 32, ptr %41) #8
  %289 = load i32, ptr %38, align 4, !tbaa !5
  %290 = icmp ne i32 %289, 0
  store i1 false, ptr %43, align 1
  store i1 false, ptr %44, align 1
  store i1 false, ptr %46, align 1
  store i1 false, ptr %47, align 1
  br i1 %290, label %293, label %291

291:                                              ; preds = %287
  call void @llvm.lifetime.start.p0(i64 1, ptr %42) #8
  store i1 true, ptr %43, align 1
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %42) #8
  store i1 true, ptr %44, align 1
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %41, ptr noundef @.str.312, ptr noundef nonnull align 1 dereferenceable(1) %42)
          to label %292 unwind label %323

292:                                              ; preds = %291
  br label %297

293:                                              ; preds = %287
  call void @llvm.lifetime.start.p0(i64 32, ptr %45) #8
  store i1 true, ptr %46, align 1
  %294 = load i32, ptr %38, align 4, !tbaa !5
  %295 = add nsw i32 %294, 1
  call void @_ZNSt7__cxx119to_stringEi(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %45, i32 noundef %295) #8
  store i1 true, ptr %47, align 1
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_OS8_(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %41, ptr noundef @.str.312, ptr noundef nonnull align 8 dereferenceable(32) %45)
          to label %296 unwind label %327

296:                                              ; preds = %293
  br label %297

297:                                              ; preds = %296, %292
  invoke void @_ZN5cjson7setNameERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(89) %288, ptr noundef nonnull align 8 dereferenceable(32) %41)
          to label %298 unwind label %331

298:                                              ; preds = %297
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %41) #8
  %299 = load i1, ptr %47, align 1
  br i1 %299, label %300, label %301

300:                                              ; preds = %298
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %45) #8
  br label %301

301:                                              ; preds = %300, %298
  %302 = load i1, ptr %46, align 1
  br i1 %302, label %303, label %304

303:                                              ; preds = %301
  call void @llvm.lifetime.end.p0(i64 32, ptr %45) #8
  br label %304

304:                                              ; preds = %303, %301
  %305 = load i1, ptr %44, align 1
  br i1 %305, label %306, label %307

306:                                              ; preds = %304
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %42) #8
  br label %307

307:                                              ; preds = %306, %304
  %308 = load i1, ptr %43, align 1
  br i1 %308, label %309, label %310

309:                                              ; preds = %307
  call void @llvm.lifetime.end.p0(i64 1, ptr %42) #8
  br label %310

310:                                              ; preds = %309, %307
  call void @llvm.lifetime.end.p0(i64 32, ptr %41) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %48) #8
  %311 = load i32, ptr %39, align 4, !tbaa !5
  store i32 %311, ptr %48, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %49) #8
  store i32 0, ptr %49, align 4, !tbaa !5
  br label %312

312:                                              ; preds = %595, %310
  %313 = load i32, ptr %48, align 4, !tbaa !5
  %314 = load i32, ptr %39, align 4, !tbaa !5
  %315 = load i32, ptr %14, align 4, !tbaa !5
  %316 = add nsw i32 %314, %315
  %317 = icmp slt i32 %313, %316
  br i1 %317, label %349, label %318

318:                                              ; preds = %312
  store i32 13, ptr %30, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %49) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %48) #8
  br label %600

319:                                              ; preds = %284
  %320 = landingpad { ptr, i32 }
          cleanup
  %321 = extractvalue { ptr, i32 } %320, 0
  store ptr %321, ptr %11, align 8
  %322 = extractvalue { ptr, i32 } %320, 1
  store i32 %322, ptr %12, align 4
  br label %607

323:                                              ; preds = %291
  %324 = landingpad { ptr, i32 }
          cleanup
  %325 = extractvalue { ptr, i32 } %324, 0
  store ptr %325, ptr %11, align 8
  %326 = extractvalue { ptr, i32 } %324, 1
  store i32 %326, ptr %12, align 4
  br label %342

327:                                              ; preds = %293
  %328 = landingpad { ptr, i32 }
          cleanup
  %329 = extractvalue { ptr, i32 } %328, 0
  store ptr %329, ptr %11, align 8
  %330 = extractvalue { ptr, i32 } %328, 1
  store i32 %330, ptr %12, align 4
  br label %335

331:                                              ; preds = %297
  %332 = landingpad { ptr, i32 }
          cleanup
  %333 = extractvalue { ptr, i32 } %332, 0
  store ptr %333, ptr %11, align 8
  %334 = extractvalue { ptr, i32 } %332, 1
  store i32 %334, ptr %12, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %41) #8
  br label %335

335:                                              ; preds = %331, %327
  %336 = load i1, ptr %47, align 1
  br i1 %336, label %337, label %338

337:                                              ; preds = %335
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %45) #8
  br label %338

338:                                              ; preds = %337, %335
  %339 = load i1, ptr %46, align 1
  br i1 %339, label %340, label %341

340:                                              ; preds = %338
  call void @llvm.lifetime.end.p0(i64 32, ptr %45) #8
  br label %341

341:                                              ; preds = %340, %338
  br label %342

342:                                              ; preds = %341, %323
  %343 = load i1, ptr %44, align 1
  br i1 %343, label %344, label %345

344:                                              ; preds = %342
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %42) #8
  br label %345

345:                                              ; preds = %344, %342
  %346 = load i1, ptr %43, align 1
  br i1 %346, label %347, label %348

347:                                              ; preds = %345
  call void @llvm.lifetime.end.p0(i64 1, ptr %42) #8
  br label %348

348:                                              ; preds = %347, %345
  call void @llvm.lifetime.end.p0(i64 32, ptr %41) #8
  br label %607

349:                                              ; preds = %312
  call void @llvm.lifetime.start.p0(i64 8, ptr %50) #8
  %350 = load ptr, ptr %31, align 8, !tbaa !9
  %351 = getelementptr inbounds %"struct.std::pair.312", ptr %350, i32 0, i32 1
  %352 = load ptr, ptr %351, align 8, !tbaa !17
  %353 = getelementptr inbounds %"struct.openset::result::Accumulator", ptr %352, i32 0, i32 0
  %354 = load i32, ptr %48, align 4, !tbaa !5
  %355 = sext i32 %354 to i64
  %356 = getelementptr inbounds [256 x %"struct.openset::result::Accumulation_s"], ptr %353, i64 0, i64 %355
  %357 = getelementptr inbounds %"struct.openset::result::Accumulation_s", ptr %356, i32 0, i32 0
  store ptr %357, ptr %50, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %51) #8
  %358 = load ptr, ptr %31, align 8, !tbaa !9
  %359 = getelementptr inbounds %"struct.std::pair.312", ptr %358, i32 0, i32 1
  %360 = load ptr, ptr %359, align 8, !tbaa !17
  %361 = getelementptr inbounds %"struct.openset::result::Accumulator", ptr %360, i32 0, i32 0
  %362 = load i32, ptr %48, align 4, !tbaa !5
  %363 = sext i32 %362 to i64
  %364 = getelementptr inbounds [256 x %"struct.openset::result::Accumulation_s"], ptr %361, i64 0, i64 %363
  %365 = getelementptr inbounds %"struct.openset::result::Accumulation_s", ptr %364, i32 0, i32 1
  store ptr %365, ptr %51, align 8, !tbaa !9
  %366 = load ptr, ptr %31, align 8, !tbaa !9
  %367 = getelementptr inbounds %"struct.std::pair.312", ptr %366, i32 0, i32 1
  %368 = load ptr, ptr %367, align 8, !tbaa !17
  %369 = getelementptr inbounds %"struct.openset::result::Accumulator", ptr %368, i32 0, i32 0
  %370 = load i32, ptr %48, align 4, !tbaa !5
  %371 = sext i32 %370 to i64
  %372 = getelementptr inbounds [256 x %"struct.openset::result::Accumulation_s"], ptr %369, i64 0, i64 %371
  %373 = getelementptr inbounds %"struct.openset::result::Accumulation_s", ptr %372, i32 0, i32 0
  %374 = load i64, ptr %373, align 1, !tbaa !20
  %375 = icmp eq i64 %374, -9223372036854775808
  br i1 %375, label %376, label %403

376:                                              ; preds = %349
  %377 = load ptr, ptr %25, align 8, !tbaa !9
  %378 = load i32, ptr %49, align 4, !tbaa !5
  %379 = sext i32 %378 to i64
  %380 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIN7openset6result13ResultTypes_eESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %377, i64 noundef %379) #8
  %381 = load i32, ptr %380, align 4, !tbaa !13
  %382 = icmp eq i32 %381, 1
  br i1 %382, label %390, label %383

383:                                              ; preds = %376
  %384 = load ptr, ptr %25, align 8, !tbaa !9
  %385 = load i32, ptr %49, align 4, !tbaa !5
  %386 = sext i32 %385 to i64
  %387 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIN7openset6result13ResultTypes_eESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %384, i64 noundef %386) #8
  %388 = load i32, ptr %387, align 4, !tbaa !13
  %389 = icmp eq i32 %388, 0
  br i1 %389, label %390, label %398

390:                                              ; preds = %383, %376
  %391 = load ptr, ptr %40, align 8, !tbaa !9
  %392 = invoke noundef ptr @_ZN5cjson4pushEl(ptr noundef nonnull align 8 dereferenceable(89) %391, i64 noundef 0)
          to label %393 unwind label %394

393:                                              ; preds = %390
  br label %402

394:                                              ; preds = %587, %578, %569, %554, %544, %539, %523, %514, %499, %489, %484, %471, %458, %446, %435, %424, %416, %398, %390
  %395 = landingpad { ptr, i32 }
          cleanup
  %396 = extractvalue { ptr, i32 } %395, 0
  store ptr %396, ptr %11, align 8
  %397 = extractvalue { ptr, i32 } %395, 1
  store i32 %397, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %51) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %50) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %49) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %48) #8
  br label %607

398:                                              ; preds = %383
  %399 = load ptr, ptr %40, align 8, !tbaa !9
  %400 = invoke noundef ptr @_ZN5cjson8pushNullEv(ptr noundef nonnull align 8 dereferenceable(89) %399)
          to label %401 unwind label %394

401:                                              ; preds = %398
  br label %402

402:                                              ; preds = %401, %393
  br label %594

403:                                              ; preds = %349
  %404 = load ptr, ptr %24, align 8, !tbaa !9
  %405 = load i32, ptr %49, align 4, !tbaa !5
  %406 = sext i32 %405 to i64
  %407 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIN7openset5query11Modifiers_eESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %404, i64 noundef %406) #8
  %408 = load i32, ptr %407, align 4, !tbaa !22
  switch i32 %408, label %587 [
    i32 0, label %409
    i32 1, label %409
    i32 2, label %409
    i32 3, label %431
    i32 4, label %471
    i32 5, label %471
    i32 6, label %477
    i32 7, label %532
  ]

409:                                              ; preds = %403, %403, %403
  %410 = load ptr, ptr %25, align 8, !tbaa !9
  %411 = load i32, ptr %49, align 4, !tbaa !5
  %412 = sext i32 %411 to i64
  %413 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIN7openset6result13ResultTypes_eESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %410, i64 noundef %412) #8
  %414 = load i32, ptr %413, align 4, !tbaa !13
  %415 = icmp eq i32 %414, 1
  br i1 %415, label %416, label %424

416:                                              ; preds = %409
  %417 = load ptr, ptr %40, align 8, !tbaa !9
  %418 = load ptr, ptr %50, align 8, !tbaa !9
  %419 = load i64, ptr %418, align 8, !tbaa !15
  %420 = sitofp i64 %419 to double
  %421 = fdiv double %420, 1.000000e+04
  %422 = invoke noundef ptr @_ZN5cjson4pushEd(ptr noundef nonnull align 8 dereferenceable(89) %417, double noundef %421)
          to label %423 unwind label %394

423:                                              ; preds = %416
  br label %430

424:                                              ; preds = %409
  %425 = load ptr, ptr %40, align 8, !tbaa !9
  %426 = load ptr, ptr %50, align 8, !tbaa !9
  %427 = load i64, ptr %426, align 8, !tbaa !15
  %428 = invoke noundef ptr @_ZN5cjson4pushEl(ptr noundef nonnull align 8 dereferenceable(89) %425, i64 noundef %427)
          to label %429 unwind label %394

429:                                              ; preds = %424
  br label %430

430:                                              ; preds = %429, %423
  br label %593

431:                                              ; preds = %403
  %432 = load ptr, ptr %51, align 8, !tbaa !9
  %433 = load i32, ptr %432, align 4, !tbaa !5
  %434 = icmp ne i32 %433, 0
  br i1 %434, label %439, label %435

435:                                              ; preds = %431
  %436 = load ptr, ptr %40, align 8, !tbaa !9
  %437 = invoke noundef ptr @_ZN5cjson8pushNullEv(ptr noundef nonnull align 8 dereferenceable(89) %436)
          to label %438 unwind label %394

438:                                              ; preds = %435
  br label %470

439:                                              ; preds = %431
  %440 = load ptr, ptr %25, align 8, !tbaa !9
  %441 = load i32, ptr %49, align 4, !tbaa !5
  %442 = sext i32 %441 to i64
  %443 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIN7openset6result13ResultTypes_eESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %440, i64 noundef %442) #8
  %444 = load i32, ptr %443, align 4, !tbaa !13
  %445 = icmp eq i32 %444, 1
  br i1 %445, label %446, label %458

446:                                              ; preds = %439
  %447 = load ptr, ptr %40, align 8, !tbaa !9
  %448 = load ptr, ptr %50, align 8, !tbaa !9
  %449 = load i64, ptr %448, align 8, !tbaa !15
  %450 = sitofp i64 %449 to double
  %451 = fdiv double %450, 1.000000e+04
  %452 = load ptr, ptr %51, align 8, !tbaa !9
  %453 = load i32, ptr %452, align 4, !tbaa !5
  %454 = sitofp i32 %453 to double
  %455 = fdiv double %451, %454
  %456 = invoke noundef ptr @_ZN5cjson4pushEd(ptr noundef nonnull align 8 dereferenceable(89) %447, double noundef %455)
          to label %457 unwind label %394

457:                                              ; preds = %446
  br label %469

458:                                              ; preds = %439
  %459 = load ptr, ptr %40, align 8, !tbaa !9
  %460 = load ptr, ptr %50, align 8, !tbaa !9
  %461 = load i64, ptr %460, align 8, !tbaa !15
  %462 = sitofp i64 %461 to double
  %463 = load ptr, ptr %51, align 8, !tbaa !9
  %464 = load i32, ptr %463, align 4, !tbaa !5
  %465 = sitofp i32 %464 to double
  %466 = fdiv double %462, %465
  %467 = invoke noundef ptr @_ZN5cjson4pushEd(ptr noundef nonnull align 8 dereferenceable(89) %459, double noundef %466)
          to label %468 unwind label %394

468:                                              ; preds = %458
  br label %469

469:                                              ; preds = %468, %457
  br label %470

470:                                              ; preds = %469, %438
  br label %593

471:                                              ; preds = %403, %403
  %472 = load ptr, ptr %40, align 8, !tbaa !9
  %473 = load ptr, ptr %50, align 8, !tbaa !9
  %474 = load i64, ptr %473, align 8, !tbaa !15
  %475 = invoke noundef ptr @_ZN5cjson4pushEl(ptr noundef nonnull align 8 dereferenceable(89) %472, i64 noundef %474)
          to label %476 unwind label %394

476:                                              ; preds = %471
  br label %593

477:                                              ; preds = %403
  %478 = load ptr, ptr %25, align 8, !tbaa !9
  %479 = load i32, ptr %49, align 4, !tbaa !5
  %480 = sext i32 %479 to i64
  %481 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIN7openset6result13ResultTypes_eESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %478, i64 noundef %480) #8
  %482 = load i32, ptr %481, align 4, !tbaa !13
  %483 = icmp eq i32 %482, 3
  br i1 %483, label %484, label %492

484:                                              ; preds = %477
  %485 = load ptr, ptr %40, align 8, !tbaa !9
  %486 = load ptr, ptr %50, align 8, !tbaa !9
  %487 = load i64, ptr %486, align 8, !tbaa !15
  %488 = invoke noundef ptr @"_ZZN7openset6result14ResultMuxDemux15resultSetToJsonEiiRSt6vectorIPNS0_9ResultSetESaIS4_EEP5cjsonENK3$_0clEl"(ptr noundef nonnull align 8 dereferenceable(8) %15, i64 noundef %487)
          to label %489 unwind label %394

489:                                              ; preds = %484
  %490 = invoke noundef ptr @_ZN5cjson4pushEPKc(ptr noundef nonnull align 8 dereferenceable(89) %485, ptr noundef %488)
          to label %491 unwind label %394

491:                                              ; preds = %489
  br label %531

492:                                              ; preds = %477
  %493 = load ptr, ptr %25, align 8, !tbaa !9
  %494 = load i32, ptr %49, align 4, !tbaa !5
  %495 = sext i32 %494 to i64
  %496 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIN7openset6result13ResultTypes_eESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %493, i64 noundef %495) #8
  %497 = load i32, ptr %496, align 4, !tbaa !13
  %498 = icmp eq i32 %497, 1
  br i1 %498, label %499, label %507

499:                                              ; preds = %492
  %500 = load ptr, ptr %40, align 8, !tbaa !9
  %501 = load ptr, ptr %50, align 8, !tbaa !9
  %502 = load i64, ptr %501, align 8, !tbaa !15
  %503 = sitofp i64 %502 to double
  %504 = fdiv double %503, 1.000000e+04
  %505 = invoke noundef ptr @_ZN5cjson4pushEd(ptr noundef nonnull align 8 dereferenceable(89) %500, double noundef %504)
          to label %506 unwind label %394

506:                                              ; preds = %499
  br label %530

507:                                              ; preds = %492
  %508 = load ptr, ptr %25, align 8, !tbaa !9
  %509 = load i32, ptr %49, align 4, !tbaa !5
  %510 = sext i32 %509 to i64
  %511 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIN7openset6result13ResultTypes_eESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %508, i64 noundef %510) #8
  %512 = load i32, ptr %511, align 4, !tbaa !13
  %513 = icmp eq i32 %512, 2
  br i1 %513, label %514, label %523

514:                                              ; preds = %507
  %515 = load ptr, ptr %40, align 8, !tbaa !9
  %516 = load ptr, ptr %50, align 8, !tbaa !9
  %517 = load i64, ptr %516, align 8, !tbaa !15
  %518 = icmp ne i64 %517, 0
  %519 = zext i1 %518 to i64
  %520 = select i1 %518, i1 true, i1 false
  %521 = invoke noundef ptr @_ZN5cjson4pushEb(ptr noundef nonnull align 8 dereferenceable(89) %515, i1 noundef zeroext %520)
          to label %522 unwind label %394

522:                                              ; preds = %514
  br label %529

523:                                              ; preds = %507
  %524 = load ptr, ptr %40, align 8, !tbaa !9
  %525 = load ptr, ptr %50, align 8, !tbaa !9
  %526 = load i64, ptr %525, align 8, !tbaa !15
  %527 = invoke noundef ptr @_ZN5cjson4pushEl(ptr noundef nonnull align 8 dereferenceable(89) %524, i64 noundef %526)
          to label %528 unwind label %394

528:                                              ; preds = %523
  br label %529

529:                                              ; preds = %528, %522
  br label %530

530:                                              ; preds = %529, %506
  br label %531

531:                                              ; preds = %530, %491
  br label %593

532:                                              ; preds = %403
  %533 = load ptr, ptr %25, align 8, !tbaa !9
  %534 = load i32, ptr %49, align 4, !tbaa !5
  %535 = sext i32 %534 to i64
  %536 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIN7openset6result13ResultTypes_eESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %533, i64 noundef %535) #8
  %537 = load i32, ptr %536, align 4, !tbaa !13
  %538 = icmp eq i32 %537, 3
  br i1 %538, label %539, label %547

539:                                              ; preds = %532
  %540 = load ptr, ptr %40, align 8, !tbaa !9
  %541 = load ptr, ptr %50, align 8, !tbaa !9
  %542 = load i64, ptr %541, align 8, !tbaa !15
  %543 = invoke noundef ptr @"_ZZN7openset6result14ResultMuxDemux15resultSetToJsonEiiRSt6vectorIPNS0_9ResultSetESaIS4_EEP5cjsonENK3$_0clEl"(ptr noundef nonnull align 8 dereferenceable(8) %15, i64 noundef %542)
          to label %544 unwind label %394

544:                                              ; preds = %539
  %545 = invoke noundef ptr @_ZN5cjson4pushEPKc(ptr noundef nonnull align 8 dereferenceable(89) %540, ptr noundef %543)
          to label %546 unwind label %394

546:                                              ; preds = %544
  br label %586

547:                                              ; preds = %532
  %548 = load ptr, ptr %25, align 8, !tbaa !9
  %549 = load i32, ptr %49, align 4, !tbaa !5
  %550 = sext i32 %549 to i64
  %551 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIN7openset6result13ResultTypes_eESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %548, i64 noundef %550) #8
  %552 = load i32, ptr %551, align 4, !tbaa !13
  %553 = icmp eq i32 %552, 1
  br i1 %553, label %554, label %562

554:                                              ; preds = %547
  %555 = load ptr, ptr %40, align 8, !tbaa !9
  %556 = load ptr, ptr %50, align 8, !tbaa !9
  %557 = load i64, ptr %556, align 8, !tbaa !15
  %558 = sitofp i64 %557 to double
  %559 = fdiv double %558, 1.000000e+04
  %560 = invoke noundef ptr @_ZN5cjson4pushEd(ptr noundef nonnull align 8 dereferenceable(89) %555, double noundef %559)
          to label %561 unwind label %394

561:                                              ; preds = %554
  br label %585

562:                                              ; preds = %547
  %563 = load ptr, ptr %25, align 8, !tbaa !9
  %564 = load i32, ptr %49, align 4, !tbaa !5
  %565 = sext i32 %564 to i64
  %566 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIN7openset6result13ResultTypes_eESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %563, i64 noundef %565) #8
  %567 = load i32, ptr %566, align 4, !tbaa !13
  %568 = icmp eq i32 %567, 2
  br i1 %568, label %569, label %578

569:                                              ; preds = %562
  %570 = load ptr, ptr %40, align 8, !tbaa !9
  %571 = load ptr, ptr %50, align 8, !tbaa !9
  %572 = load i64, ptr %571, align 8, !tbaa !15
  %573 = icmp ne i64 %572, 0
  %574 = zext i1 %573 to i64
  %575 = select i1 %573, i1 true, i1 false
  %576 = invoke noundef ptr @_ZN5cjson4pushEb(ptr noundef nonnull align 8 dereferenceable(89) %570, i1 noundef zeroext %575)
          to label %577 unwind label %394

577:                                              ; preds = %569
  br label %584

578:                                              ; preds = %562
  %579 = load ptr, ptr %40, align 8, !tbaa !9
  %580 = load ptr, ptr %50, align 8, !tbaa !9
  %581 = load i64, ptr %580, align 8, !tbaa !15
  %582 = invoke noundef ptr @_ZN5cjson4pushEl(ptr noundef nonnull align 8 dereferenceable(89) %579, i64 noundef %581)
          to label %583 unwind label %394

583:                                              ; preds = %578
  br label %584

584:                                              ; preds = %583, %577
  br label %585

585:                                              ; preds = %584, %561
  br label %586

586:                                              ; preds = %585, %546
  br label %593

587:                                              ; preds = %403
  %588 = load ptr, ptr %40, align 8, !tbaa !9
  %589 = load ptr, ptr %50, align 8, !tbaa !9
  %590 = load i64, ptr %589, align 8, !tbaa !15
  %591 = invoke noundef ptr @_ZN5cjson4pushEl(ptr noundef nonnull align 8 dereferenceable(89) %588, i64 noundef %590)
          to label %592 unwind label %394

592:                                              ; preds = %587
  br label %593

593:                                              ; preds = %592, %586, %531, %476, %470, %430
  br label %594

594:                                              ; preds = %593, %402
  call void @llvm.lifetime.end.p0(i64 8, ptr %51) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %50) #8
  br label %595

595:                                              ; preds = %594
  %596 = load i32, ptr %48, align 4, !tbaa !5
  %597 = add nsw i32 %596, 1
  store i32 %597, ptr %48, align 4, !tbaa !5
  %598 = load i32, ptr %49, align 4, !tbaa !5
  %599 = add nsw i32 %598, 1
  store i32 %599, ptr %49, align 4, !tbaa !5
  br label %312, !llvm.loop !24

600:                                              ; preds = %318
  call void @llvm.lifetime.end.p0(i64 8, ptr %40) #8
  br label %601

601:                                              ; preds = %600
  %602 = load i32, ptr %38, align 4, !tbaa !5
  %603 = add nsw i32 %602, 1
  store i32 %603, ptr %38, align 4, !tbaa !5
  %604 = load i32, ptr %14, align 4, !tbaa !5
  %605 = load i32, ptr %39, align 4, !tbaa !5
  %606 = add nsw i32 %605, %604
  store i32 %606, ptr %39, align 4, !tbaa !5
  br label %279, !llvm.loop !25

607:                                              ; preds = %394, %348, %319
  call void @llvm.lifetime.end.p0(i64 8, ptr %40) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %39) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %38) #8
  br label %637

608:                                              ; preds = %283
  %609 = load i32, ptr %26, align 4, !tbaa !5
  %610 = call noundef i64 @_ZNKSt6vectorISt4pairIN7openset6result6RowKeyEPNS2_11AccumulatorEESaIS6_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %10) #8
  %611 = trunc i64 %610 to i32
  %612 = sub nsw i32 %611, 1
  %613 = icmp slt i32 %609, %612
  br i1 %613, label %614, label %632

614:                                              ; preds = %608
  %615 = load i32, ptr %26, align 4, !tbaa !5
  %616 = add nsw i32 %615, 1
  %617 = sext i32 %616 to i64
  %618 = call noundef nonnull align 8 dereferenceable(104) ptr @_ZNSt6vectorISt4pairIN7openset6result6RowKeyEPNS2_11AccumulatorEESaIS6_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %10, i64 noundef %617) #8
  %619 = getelementptr inbounds %"struct.std::pair.312", ptr %618, i32 0, i32 0
  %620 = invoke noundef i32 @_ZN7openset6result6RowKey8getDepthEv(ptr noundef nonnull align 8 dereferenceable(96) %619)
          to label %621 unwind label %203

621:                                              ; preds = %614
  %622 = load ptr, ptr %32, align 8, !tbaa !9
  %623 = invoke noundef i32 @_ZN7openset6result6RowKey8getDepthEv(ptr noundef nonnull align 8 dereferenceable(96) %622)
          to label %624 unwind label %203

624:                                              ; preds = %621
  %625 = icmp sgt i32 %620, %623
  br i1 %625, label %626, label %632

626:                                              ; preds = %624
  %627 = load ptr, ptr %35, align 8, !tbaa !9
  %628 = invoke noundef ptr @_ZN5cjson9pushArrayEv(ptr noundef nonnull align 8 dereferenceable(89) %627)
          to label %629 unwind label %203

629:                                              ; preds = %626
  store ptr %628, ptr %17, align 8, !tbaa !9
  %630 = load ptr, ptr %17, align 8, !tbaa !9
  invoke void @_ZN5cjson7setNameEPKc(ptr noundef nonnull align 8 dereferenceable(89) %630, ptr noundef @.str.309)
          to label %631 unwind label %203

631:                                              ; preds = %629
  br label %632

632:                                              ; preds = %631, %624, %608
  %633 = load ptr, ptr %31, align 8, !tbaa !9
  %634 = getelementptr inbounds %"struct.std::pair.312", ptr %633, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %16, ptr align 8 %634, i64 96, i1 false), !tbaa.struct !26
  call void @llvm.lifetime.end.p0(i64 4, ptr %36) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #8
  br label %635

635:                                              ; preds = %632
  %636 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPSt4pairIN7openset6result6RowKeyEPNS3_11AccumulatorEESt6vectorIS7_SaIS7_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %28) #8
  br label %126

637:                                              ; preds = %607, %258, %203
  call void @llvm.lifetime.end.p0(i64 4, ptr %36) #8
  br label %638

638:                                              ; preds = %637, %199
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #8
  br label %639

639:                                              ; preds = %638, %183, %153
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #8
  br label %641

640:                                              ; preds = %128
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #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 96, ptr %16) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #8
  call void @_ZNSt6vectorISt4pairIN7openset6result6RowKeyEPNS2_11AccumulatorEESaIS6_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %10) #8
  call void @_ZN10robin_hood6detail13unordered_mapILb1ELm80ElPKcNS_4hashIlEESt8equal_toIlEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %9) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %9) #8
  ret void

641:                                              ; preds = %639, %104
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #8
  br label %642

642:                                              ; preds = %641, %89
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #8
  br label %643

643:                                              ; preds = %642, %85
  call void @llvm.lifetime.end.p0(i64 96, ptr %16) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #8
  call void @_ZNSt6vectorISt4pairIN7openset6result6RowKeyEPNS2_11AccumulatorEESaIS6_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #8
  br label %644

644:                                              ; preds = %643, %81
  call void @llvm.lifetime.end.p0(i64 24, ptr %10) #8
  call void @_ZN10robin_hood6detail13unordered_mapILb1ELm80ElPKcNS_4hashIlEESt8equal_toIlEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %9) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %9) #8
  br label %645

645:                                              ; preds = %644
  %646 = load ptr, ptr %11, align 8
  %647 = load i32, ptr %12, align 4
  %648 = insertvalue { ptr, i32 } poison, ptr %646, 0
  %649 = insertvalue { ptr, i32 } %648, i32 %647, 1
  resume { ptr, i32 } %649
}

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

declare noundef ptr @_ZN5cjson9pushArrayEv(ptr noundef nonnull align 8 dereferenceable(89)) #6

declare void @_ZN5cjson7setNameEPKc(ptr noundef nonnull align 8 dereferenceable(89), ptr noundef) #6

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

declare noundef ptr @_ZNK5cjson9hasParentEv(ptr noundef nonnull align 8 dereferenceable(89)) #6

declare noundef ptr @_ZN5cjson10pushObjectEv(ptr noundef nonnull align 8 dereferenceable(89)) #6

declare noundef ptr @_ZN5cjson3setEPKcl(ptr noundef nonnull align 8 dereferenceable(89), ptr noundef, i64 noundef) #6

declare noundef ptr @_ZN5cjson3setEPKcd(ptr noundef nonnull align 8 dereferenceable(89), ptr noundef, double noundef) #6

declare noundef ptr @_ZN5cjson3setEPKcb(ptr noundef nonnull align 8 dereferenceable(89), ptr noundef, i1 noundef zeroext) #6

; Function Attrs: inlinehint mustprogress uwtable
declare hidden noundef ptr @"_ZZN7openset6result14ResultMuxDemux15resultSetToJsonEiiRSt6vectorIPNS0_9ResultSetESaIS4_EEP5cjsonENK3$_0clEl"(ptr noundef nonnull align 8 dereferenceable(8), i64 noundef) #7 align 2

declare noundef ptr @_ZN5cjson3setEPKcS1_(ptr noundef nonnull align 8 dereferenceable(89), ptr noundef, ptr noundef) #6

declare void @_ZN5cjson7setNameERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(89), ptr noundef nonnull align 8 dereferenceable(32)) #6

; 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: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZNSt7__cxx119to_stringEi(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, i32 noundef) #5

declare noundef ptr @_ZN5cjson4pushEl(ptr noundef nonnull align 8 dereferenceable(89), i64 noundef) #6

declare noundef ptr @_ZN5cjson8pushNullEv(ptr noundef nonnull align 8 dereferenceable(89)) #6

declare noundef ptr @_ZN5cjson4pushEd(ptr noundef nonnull align 8 dereferenceable(89), double noundef) #6

declare noundef ptr @_ZN5cjson4pushEPKc(ptr noundef nonnull align 8 dereferenceable(89), ptr noundef) #6

declare noundef ptr @_ZN5cjson4pushEb(ptr noundef nonnull align 8 dereferenceable(89), i1 noundef zeroext) #6

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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 #4 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #5 = { 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 #6 = { "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 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = !{!14, !14, i64 0}
!14 = !{!"_ZTSN7openset6result13ResultTypes_eE", !7, i64 0}
!15 = !{!16, !16, i64 0}
!16 = !{!"long", !7, i64 0}
!17 = !{!18, !10, i64 96}
!18 = !{!"_ZTSSt4pairIN7openset6result6RowKeyEPNS1_11AccumulatorEE", !19, i64 0, !10, i64 96}
!19 = !{!"_ZTSN7openset6result6RowKeyE", !7, i64 0, !7, i64 64}
!20 = !{!21, !16, i64 0}
!21 = !{!"_ZTSN7openset6result14Accumulation_sE", !16, i64 0, !6, i64 8}
!22 = !{!23, !23, i64 0}
!23 = !{!"_ZTSN7openset5query11Modifiers_eE", !7, i64 0}
!24 = distinct !{!24, !12}
!25 = distinct !{!25, !12}
!26 = !{i64 0, i64 64, !27, i64 64, i64 32, !27}
!27 = !{!7, !7, i64 0}


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

%"class.robin_hood::detail::unordered_map.377" = type { ptr, ptr, i64, i64, i64, i32, i32 }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<std::pair<openset::result::RowKey, openset::result::Accumulator *>, std::allocator<std::pair<openset::result::RowKey, openset::result::Accumulator *>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::pair<openset::result::RowKey, openset::result::Accumulator *>, std::allocator<std::pair<openset::result::RowKey, openset::result::Accumulator *>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::pair<openset::result::RowKey, openset::result::Accumulator *>, std::allocator<std::pair<openset::result::RowKey, openset::result::Accumulator *>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::pair<openset::result::RowKey, openset::result::Accumulator *>, std::allocator<std::pair<openset::result::RowKey, openset::result::Accumulator *>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%class.anon.394 = type { ptr }
%"struct.openset::result::RowKey" = type { [8 x i64], [8 x i32] }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::allocator.2" = type { i8 }
%"struct.openset::result::Accumulation_s" = type <{ i64, i32 }>

@.str.309 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.310 = external hidden unnamed_addr constant [2 x i8], align 1
@_ZL7NA_TEXT = external hidden global [4 x i8], align 1
@.str.311 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.312 = external hidden unnamed_addr constant [2 x i8], align 1

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

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

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

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #4

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z15mergeResultTextRSt6vectorIPN7openset6result9ResultSetESaIS3_EE(ptr dead_on_unwind noalias writable sret(%"class.robin_hood::detail::unordered_map.377") align 8, ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #3

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z15mergeResultSetsiiRSt6vectorIPN7openset6result9ResultSetESaIS3_EE(ptr dead_on_unwind noalias writable sret(%"class.std::vector") align 8, i32 noundef, i32 noundef, ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #3

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN7openset6result14ResultMuxDemux15resultSetToJsonEiiRSt6vectorIPNS0_9ResultSetESaIS4_EEP5cjson(i32 noundef %0, i32 noundef %1, ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef %3) local_unnamed_addr #3 align 2 personality ptr @__gxx_personality_v0 {
  %5 = alloca %"class.robin_hood::detail::unordered_map.377", align 8
  %6 = alloca %"class.std::vector", align 8
  %7 = alloca %class.anon.394, align 8
  %8 = alloca %"struct.openset::result::RowKey", align 8
  %9 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %10 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %11 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %12 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %13 = alloca %"class.std::__cxx11::basic_string", align 8
  %14 = alloca %"class.std::allocator.2", align 1
  %15 = alloca %"class.std::__cxx11::basic_string", align 8
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %5) #9
  call void @_Z15mergeResultTextRSt6vectorIPN7openset6result9ResultSetESaIS3_EE(ptr dead_on_unwind nonnull writable sret(%"class.robin_hood::detail::unordered_map.377") align 8 %5, ptr noundef nonnull align 8 dereferenceable(24) %2)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %6) #9
  invoke void @_Z15mergeResultSetsiiRSt6vectorIPN7openset6result9ResultSetESaIS3_EE(ptr dead_on_unwind nonnull writable sret(%"class.std::vector") align 8 %6, i32 noundef %0, i32 noundef %1, ptr noundef nonnull align 8 dereferenceable(24) %2)
          to label %16 unwind label %36

16:                                               ; preds = %4
  %17 = call i32 @llvm.umax.i32(i32 %1, i32 1)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #9
  store ptr %5, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 96, ptr nonnull %8) #9
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(96) %8, i8 0, i64 96, i1 false)
  call void @_ZN7openset6result6RowKey5clearEv(ptr noundef nonnull align 8 dereferenceable(96) %8)
  %18 = invoke noundef ptr @_ZN5cjson9pushArrayEv(ptr noundef nonnull align 8 dereferenceable(89) %3)
          to label %19 unwind label %38

19:                                               ; preds = %16
  invoke void @_ZN5cjson7setNameEPKc(ptr noundef nonnull align 8 dereferenceable(89) %18, ptr noundef nonnull @.str.309)
          to label %20 unwind label %38

20:                                               ; preds = %19
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #9
  %21 = call ptr @_ZNSt6vectorISt4pairIN7openset6result6RowKeyEPNS2_11AccumulatorEESaIS6_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %6) #9
  store ptr %21, ptr %9, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #9
  %22 = call ptr @_ZNSt6vectorISt4pairIN7openset6result6RowKeyEPNS2_11AccumulatorEESaIS6_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %6) #9
  store ptr %22, ptr %10, align 8
  %23 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPSt4pairIN7openset6result6RowKeyEPNS3_11AccumulatorEESt6vectorIS7_SaIS7_EEEEbRKNS_17__normal_iteratorIT_T0_EESH_(ptr noundef nonnull align 8 dereferenceable(8) %9, ptr noundef nonnull align 8 dereferenceable(8) %10) #9
  br i1 %23, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %.lr.ph, %20
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #9
  %24 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPN7openset6result9ResultSetESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef 0) #9
  %25 = load ptr, ptr %24, align 8, !tbaa !5
  %26 = getelementptr inbounds i8, ptr %25, i64 232
  %27 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPN7openset6result9ResultSetESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef 0) #9
  %28 = load ptr, ptr %27, align 8, !tbaa !5
  %29 = getelementptr inbounds i8, ptr %28, i64 208
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #9
  %30 = call ptr @_ZNSt6vectorISt4pairIN7openset6result6RowKeyEPNS2_11AccumulatorEESaIS6_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %6) #9
  store ptr %30, ptr %11, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #9
  %31 = call ptr @_ZNSt6vectorISt4pairIN7openset6result6RowKeyEPNS2_11AccumulatorEESaIS6_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %6) #9
  store ptr %31, ptr %12, align 8
  %32 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPSt4pairIN7openset6result6RowKeyEPNS3_11AccumulatorEESt6vectorIS7_SaIS7_EEEEbRKNS_17__normal_iteratorIT_T0_EESH_(ptr noundef nonnull align 8 dereferenceable(8) %11, ptr noundef nonnull align 8 dereferenceable(8) %12) #9
  br i1 %32, label %.lr.ph238, label %._crit_edge239

.lr.ph238:                                        ; preds = %._crit_edge
  %33 = icmp sgt i32 %17, 0
  %34 = sext i32 %0 to i64
  %35 = icmp sgt i32 %0, 0
  br label %44

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

38:                                               ; preds = %19, %16
  %39 = landingpad { ptr, i32 }
          cleanup
  br label %231

.lr.ph:                                           ; preds = %20, %.lr.ph
  %40 = call noundef nonnull align 8 dereferenceable(104) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPSt4pairIN7openset6result6RowKeyEPNS3_11AccumulatorEESt6vectorIS7_SaIS7_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %9) #9
  %41 = call noundef i32 @_ZN7openset6result6RowKey8getDepthEv(ptr noundef nonnull align 8 dereferenceable(96) %40)
  %42 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPSt4pairIN7openset6result6RowKeyEPNS3_11AccumulatorEESt6vectorIS7_SaIS7_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %9) #9
  %43 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPSt4pairIN7openset6result6RowKeyEPNS3_11AccumulatorEESt6vectorIS7_SaIS7_EEEEbRKNS_17__normal_iteratorIT_T0_EESH_(ptr noundef nonnull align 8 dereferenceable(8) %9, ptr noundef nonnull align 8 dereferenceable(8) %10) #9
  br i1 %43, label %.lr.ph, label %._crit_edge

._crit_edge239:                                   ; preds = %227, %._crit_edge
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #9
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %8) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #9
  call void @_ZNSt6vectorISt4pairIN7openset6result6RowKeyEPNS2_11AccumulatorEESaIS6_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #9
  call void @_ZN10robin_hood6detail13unordered_mapILb1ELm80ElPKcNS_4hashIlEESt8equal_toIlEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %5) #9
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %5) #9
  ret void

44:                                               ; preds = %.lr.ph238, %227
  %indvars.iv254 = phi i64 [ -1, %.lr.ph238 ], [ %indvars.iv.next255, %227 ]
  %.0165236 = phi ptr [ %18, %.lr.ph238 ], [ %.4169, %227 ]
  %45 = call noundef nonnull align 8 dereferenceable(104) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPSt4pairIN7openset6result6RowKeyEPNS3_11AccumulatorEESt6vectorIS7_SaIS7_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %11) #9
  %indvars.iv.next255 = add nsw i64 %indvars.iv254, 1
  %46 = call noundef i32 @_ZN7openset6result6RowKey8getDepthEv(ptr noundef nonnull align 8 dereferenceable(96) %45)
  %47 = call noundef i32 @_ZN7openset6result6RowKey8getDepthEv(ptr noundef nonnull align 8 dereferenceable(96) %8)
  %48 = icmp slt i32 %46, %47
  br i1 %48, label %49, label %64

49:                                               ; preds = %44
  %50 = call noundef i32 @_ZN7openset6result6RowKey8getDepthEv(ptr noundef nonnull align 8 dereferenceable(96) %8)
  %51 = call noundef i32 @_ZN7openset6result6RowKey8getDepthEv(ptr noundef nonnull align 8 dereferenceable(96) %45)
  %52 = sub nsw i32 %50, %51
  %53 = icmp sgt i32 %52, 0
  br i1 %53, label %.lr.ph223.preheader, label %._crit_edge224

.lr.ph223.preheader:                              ; preds = %49
  %54 = invoke noundef ptr @_ZNK5cjson9hasParentEv(ptr noundef nonnull align 8 dereferenceable(89) %.0165236)
          to label %55 unwind label %.loopexit.split-lp

55:                                               ; preds = %.lr.ph223.preheader
  %exitcond.peel.not = icmp eq i32 %52, 1
  br i1 %exitcond.peel.not, label %._crit_edge224, label %.lr.ph223.peel.next

._crit_edge224:                                   ; preds = %62, %55, %49
  %.1166.lcssa = phi ptr [ %.0165236, %49 ], [ %54, %55 ], [ %61, %62 ]
  %56 = invoke noundef ptr @_ZNK5cjson9hasParentEv(ptr noundef nonnull align 8 dereferenceable(89) %.1166.lcssa)
          to label %64 unwind label %57

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

.lr.ph223.peel.next:                              ; preds = %55, %62
  %.1166221 = phi ptr [ %61, %62 ], [ %54, %55 ]
  %.0175220 = phi i32 [ %63, %62 ], [ 1, %55 ]
  %59 = invoke noundef ptr @_ZNK5cjson9hasParentEv(ptr noundef nonnull align 8 dereferenceable(89) %.1166221)
          to label %60 unwind label %.loopexit

.loopexit:                                        ; preds = %.lr.ph223.peel.next, %60
  %lpad.loopexit = landingpad { ptr, i32 }
          cleanup
  br label %230

.loopexit.split-lp:                               ; preds = %.lr.ph223.preheader
  %lpad.loopexit.split-lp = landingpad { ptr, i32 }
          cleanup
  br label %230

60:                                               ; preds = %.lr.ph223.peel.next
  %61 = invoke noundef ptr @_ZNK5cjson9hasParentEv(ptr noundef nonnull align 8 dereferenceable(89) %59)
          to label %62 unwind label %.loopexit

62:                                               ; preds = %60
  %63 = add nuw nsw i32 %.0175220, 1
  %exitcond.not = icmp eq i32 %63, %52
  br i1 %exitcond.not, label %._crit_edge224, label %.lr.ph223.peel.next, !llvm.loop !9

64:                                               ; preds = %._crit_edge224, %44
  %.3168 = phi ptr [ %.0165236, %44 ], [ %56, %._crit_edge224 ]
  %65 = invoke noundef ptr @_ZN5cjson10pushObjectEv(ptr noundef nonnull align 8 dereferenceable(89) %.3168)
          to label %66 unwind label %73

66:                                               ; preds = %64
  %67 = call noundef i32 @_ZN7openset6result6RowKey8getDepthEv(ptr noundef nonnull align 8 dereferenceable(96) %45)
  %68 = add nsw i32 %67, -1
  %69 = getelementptr inbounds i8, ptr %45, i64 64
  %70 = sext i32 %68 to i64
  %71 = getelementptr inbounds [8 x i32], ptr %69, i64 0, i64 %70
  %72 = load i32, ptr %71, align 4, !tbaa !12
  switch i32 %72, label %104 [
    i32 0, label %77
    i32 1, label %81
    i32 2, label %87
    i32 3, label %92
  ]

73:                                               ; preds = %64
  %74 = landingpad { ptr, i32 }
          cleanup
  br label %230

75:                                               ; preds = %226, %224, %104, %87, %81, %77
  %76 = landingpad { ptr, i32 }
          cleanup
  br label %230

77:                                               ; preds = %66
  %78 = getelementptr inbounds [8 x i64], ptr %45, i64 0, i64 %70
  %79 = load i64, ptr %78, align 8, !tbaa !14
  %80 = invoke noundef ptr @_ZN5cjson3setEPKcl(ptr noundef nonnull align 8 dereferenceable(89) %65, ptr noundef nonnull @.str.310, i64 noundef %79)
          to label %106 unwind label %75

81:                                               ; preds = %66
  %82 = getelementptr inbounds [8 x i64], ptr %45, i64 0, i64 %70
  %83 = load i64, ptr %82, align 8, !tbaa !14
  %84 = sitofp i64 %83 to double
  %85 = fdiv double %84, 1.000000e+04
  %86 = invoke noundef ptr @_ZN5cjson3setEPKcd(ptr noundef nonnull align 8 dereferenceable(89) %65, ptr noundef nonnull @.str.310, double noundef %85)
          to label %106 unwind label %75

87:                                               ; preds = %66
  %88 = getelementptr inbounds [8 x i64], ptr %45, i64 0, i64 %70
  %89 = load i64, ptr %88, align 8, !tbaa !14
  %90 = icmp ne i64 %89, 0
  %91 = invoke noundef ptr @_ZN5cjson3setEPKcb(ptr noundef nonnull align 8 dereferenceable(89) %65, ptr noundef nonnull @.str.310, i1 noundef zeroext %90)
          to label %106 unwind label %75

92:                                               ; preds = %66
  %93 = getelementptr inbounds [8 x i64], ptr %45, i64 0, i64 %70
  %94 = load i64, ptr %93, align 8, !tbaa !14
  %95 = invoke noundef ptr @"_ZZN7openset6result14ResultMuxDemux15resultSetToJsonEiiRSt6vectorIPNS0_9ResultSetESaIS4_EEP5cjsonENK3$_0clEl"(ptr noundef nonnull align 8 dereferenceable(8) %7, i64 noundef %94)
          to label %96 unwind label %99

96:                                               ; preds = %92
  %.not = icmp eq ptr %95, @_ZL7NA_TEXT
  br i1 %.not, label %101, label %97

97:                                               ; preds = %96
  %98 = invoke noundef ptr @_ZN5cjson3setEPKcS1_(ptr noundef nonnull align 8 dereferenceable(89) %65, ptr noundef nonnull @.str.310, ptr noundef %95)
          to label %106 unwind label %99

99:                                               ; preds = %101, %97, %92
  %100 = landingpad { ptr, i32 }
          cleanup
  br label %230

101:                                              ; preds = %96
  %102 = load i64, ptr %93, align 8, !tbaa !14
  %103 = invoke noundef ptr @_ZN5cjson3setEPKcl(ptr noundef nonnull align 8 dereferenceable(89) %65, ptr noundef nonnull @.str.310, i64 noundef %102)
          to label %106 unwind label %99

104:                                              ; preds = %66
  %105 = invoke noundef ptr @_ZN5cjson3setEPKcS1_(ptr noundef nonnull align 8 dereferenceable(89) %65, ptr noundef nonnull @.str.310, ptr noundef nonnull @.str.311)
          to label %106 unwind label %75

106:                                              ; preds = %97, %101, %104, %87, %81, %77
  br i1 %33, label %.lr.ph233, label %._crit_edge234

.lr.ph233:                                        ; preds = %106
  %107 = getelementptr inbounds i8, ptr %45, i64 96
  br label %112

._crit_edge234:                                   ; preds = %._crit_edge228, %106
  %108 = call noundef i64 @_ZNKSt6vectorISt4pairIN7openset6result6RowKeyEPNS2_11AccumulatorEESaIS6_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %6) #9
  %109 = shl i64 %108, 32
  %sext = add i64 %109, -4294967296
  %110 = ashr exact i64 %sext, 32
  %111 = icmp slt i64 %indvars.iv.next255, %110
  br i1 %111, label %218, label %227

112:                                              ; preds = %.lr.ph233, %._crit_edge228
  %indvars.iv245 = phi i64 [ 0, %.lr.ph233 ], [ %indvars.iv.next246, %._crit_edge228 ]
  %.0171230 = phi i32 [ 0, %.lr.ph233 ], [ %120, %._crit_edge228 ]
  %113 = invoke noundef ptr @_ZN5cjson9pushArrayEv(ptr noundef nonnull align 8 dereferenceable(89) %65)
          to label %114 unwind label %121

114:                                              ; preds = %112
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %13) #9
  %.not180.not = icmp eq i32 %.0171230, 0
  br i1 %.not180.not, label %115, label %116

115:                                              ; preds = %114
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %14) #9
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %13, ptr noundef nonnull @.str.312, ptr noundef nonnull align 1 dereferenceable(1) %14)
          to label %118 unwind label %.critedge198.thread

116:                                              ; preds = %114
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %15) #9
  %117 = add nuw nsw i32 %.0171230, 1
  call void @_ZNSt7__cxx119to_stringEi(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %15, i32 noundef %117) #9
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_OS8_(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %13, ptr noundef nonnull @.str.312, ptr noundef nonnull align 8 dereferenceable(32) %15)
          to label %118 unwind label %.thread211

118:                                              ; preds = %116, %115
  invoke void @_ZN5cjson7setNameERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(89) %113, ptr noundef nonnull align 8 dereferenceable(32) %13)
          to label %119 unwind label %125

119:                                              ; preds = %118
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #9
  br i1 %.not180.not, label %.critedge201, label %.critedge

.critedge:                                        ; preds = %119
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %15) #9
  br label %.critedge196

.critedge201:                                     ; preds = %119
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %14) #9
  br label %.critedge196

.critedge196:                                     ; preds = %.critedge, %.critedge201
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %13) #9
  %indvars.iv.next246 = add nsw i64 %indvars.iv245, %34
  br i1 %35, label %.lr.ph227, label %._crit_edge228

._crit_edge228:                                   ; preds = %216, %.critedge196
  %120 = add nuw nsw i32 %.0171230, 1
  %exitcond253.not = icmp eq i32 %120, %17
  br i1 %exitcond253.not, label %._crit_edge234, label %112, !llvm.loop !16

121:                                              ; preds = %112
  %122 = landingpad { ptr, i32 }
          cleanup
  br label %230

.critedge198.thread:                              ; preds = %115
  %123 = landingpad { ptr, i32 }
          cleanup
  br label %.critedge198

.thread211:                                       ; preds = %116
  %124 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %15) #9
  br label %.critedge200

125:                                              ; preds = %118
  %126 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #9
  br i1 %.not180.not, label %.critedge198, label %127

127:                                              ; preds = %125
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %15) #9
  br label %.critedge200

.critedge198:                                     ; preds = %125, %.critedge198.thread
  %.pn.pn210 = phi { ptr, i32 } [ %123, %.critedge198.thread ], [ %126, %125 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %14) #9
  br label %.critedge200

.critedge200:                                     ; preds = %127, %.thread211, %.critedge198
  %.pn.pn209 = phi { ptr, i32 } [ %.pn.pn210, %.critedge198 ], [ %126, %127 ], [ %124, %.thread211 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %13) #9
  br label %230

.lr.ph227:                                        ; preds = %.critedge196, %216
  %indvars.iv247 = phi i64 [ %indvars.iv.next248, %216 ], [ %indvars.iv245, %.critedge196 ]
  %indvars.iv = phi i64 [ %indvars.iv.next, %216 ], [ 0, %.critedge196 ]
  %128 = load ptr, ptr %107, align 8, !tbaa !17
  %129 = getelementptr inbounds [256 x %"struct.openset::result::Accumulation_s"], ptr %128, i64 0, i64 %indvars.iv247
  %130 = getelementptr inbounds i8, ptr %129, i64 8
  %131 = load i64, ptr %129, align 1, !tbaa !20
  %132 = icmp eq i64 %131, -9223372036854775808
  br i1 %132, label %133, label %143

133:                                              ; preds = %.lr.ph227
  %134 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIN7openset6result13ResultTypes_eESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %29, i64 noundef %indvars.iv) #9
  %135 = load i32, ptr %134, align 4, !tbaa !12
  %136 = icmp eq i32 %135, 1
  br i1 %136, label %.invoke, label %137

137:                                              ; preds = %133
  %138 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIN7openset6result13ResultTypes_eESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %29, i64 noundef %indvars.iv) #9
  %139 = load i32, ptr %138, align 4, !tbaa !12
  %140 = icmp eq i32 %139, 0
  br i1 %140, label %.invoke, label %.invoke265

141:                                              ; preds = %.invoke266, %.invoke265, %.invoke264, %.invoke263, %.invoke262, %.invoke
  %142 = landingpad { ptr, i32 }
          cleanup
  br label %230

143:                                              ; preds = %.lr.ph227
  %144 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIN7openset5query11Modifiers_eESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %26, i64 noundef %indvars.iv) #9
  %145 = load i32, ptr %144, align 4, !tbaa !23
  switch i32 %145, label %.invoke.sink.split [
    i32 0, label %146
    i32 1, label %146
    i32 2, label %146
    i32 3, label %154
    i32 7, label %189
    i32 6, label %172
  ]

146:                                              ; preds = %143, %143, %143
  %147 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIN7openset6result13ResultTypes_eESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %29, i64 noundef %indvars.iv) #9
  %148 = load i32, ptr %147, align 4, !tbaa !12
  %149 = icmp eq i32 %148, 1
  %150 = load i64, ptr %129, align 8, !tbaa !14
  br i1 %149, label %151, label %.invoke

151:                                              ; preds = %146
  %152 = sitofp i64 %150 to double
  %153 = fdiv double %152, 1.000000e+04
  br label %.invoke263

154:                                              ; preds = %143
  %155 = load i32, ptr %130, align 4, !tbaa !25
  %.not183 = icmp eq i32 %155, 0
  br i1 %.not183, label %.invoke265, label %157

.invoke265:                                       ; preds = %154, %137
  %156 = invoke noundef ptr @_ZN5cjson8pushNullEv(ptr noundef nonnull align 8 dereferenceable(89) %113)
          to label %216 unwind label %141

157:                                              ; preds = %154
  %158 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIN7openset6result13ResultTypes_eESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %29, i64 noundef %indvars.iv) #9
  %159 = load i32, ptr %158, align 4, !tbaa !12
  %160 = icmp eq i32 %159, 1
  %161 = load i64, ptr %129, align 8, !tbaa !14
  %162 = sitofp i64 %161 to double
  br i1 %160, label %163, label %168

163:                                              ; preds = %157
  %164 = fdiv double %162, 1.000000e+04
  %165 = load i32, ptr %130, align 4, !tbaa !25
  %166 = sitofp i32 %165 to double
  %167 = fdiv double %164, %166
  br label %.invoke263

168:                                              ; preds = %157
  %169 = load i32, ptr %130, align 4, !tbaa !25
  %170 = sitofp i32 %169 to double
  %171 = fdiv double %162, %170
  br label %.invoke263

172:                                              ; preds = %143
  %173 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIN7openset6result13ResultTypes_eESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %29, i64 noundef %indvars.iv) #9
  %174 = load i32, ptr %173, align 4, !tbaa !12
  %175 = icmp eq i32 %174, 3
  br i1 %175, label %.invoke266, label %176

176:                                              ; preds = %172
  %177 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIN7openset6result13ResultTypes_eESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %29, i64 noundef %indvars.iv) #9
  %178 = load i32, ptr %177, align 4, !tbaa !12
  %179 = icmp eq i32 %178, 1
  br i1 %179, label %180, label %184

180:                                              ; preds = %176
  %181 = load i64, ptr %129, align 8, !tbaa !14
  %182 = sitofp i64 %181 to double
  %183 = fdiv double %182, 1.000000e+04
  br label %.invoke263

184:                                              ; preds = %176
  %185 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIN7openset6result13ResultTypes_eESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %29, i64 noundef %indvars.iv) #9
  %186 = load i32, ptr %185, align 4, !tbaa !12
  %187 = icmp eq i32 %186, 2
  %188 = load i64, ptr %129, align 8, !tbaa !14
  br i1 %187, label %.invoke262, label %.invoke

189:                                              ; preds = %143
  %190 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIN7openset6result13ResultTypes_eESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %29, i64 noundef %indvars.iv) #9
  %191 = load i32, ptr %190, align 4, !tbaa !12
  %192 = icmp eq i32 %191, 3
  br i1 %192, label %.invoke266, label %196

.invoke266:                                       ; preds = %189, %172
  %193 = load i64, ptr %129, align 8, !tbaa !14
  %194 = invoke noundef ptr @"_ZZN7openset6result14ResultMuxDemux15resultSetToJsonEiiRSt6vectorIPNS0_9ResultSetESaIS4_EEP5cjsonENK3$_0clEl"(ptr noundef nonnull align 8 dereferenceable(8) %7, i64 noundef %193)
          to label %.invoke264 unwind label %141

.invoke264:                                       ; preds = %.invoke266
  %195 = invoke noundef ptr @_ZN5cjson4pushEPKc(ptr noundef nonnull align 8 dereferenceable(89) %113, ptr noundef %194)
          to label %216 unwind label %141

196:                                              ; preds = %189
  %197 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIN7openset6result13ResultTypes_eESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %29, i64 noundef %indvars.iv) #9
  %198 = load i32, ptr %197, align 4, !tbaa !12
  %199 = icmp eq i32 %198, 1
  br i1 %199, label %200, label %206

200:                                              ; preds = %196
  %201 = load i64, ptr %129, align 8, !tbaa !14
  %202 = sitofp i64 %201 to double
  %203 = fdiv double %202, 1.000000e+04
  br label %.invoke263

.invoke263:                                       ; preds = %151, %163, %168, %180, %200
  %204 = phi double [ %203, %200 ], [ %183, %180 ], [ %171, %168 ], [ %167, %163 ], [ %153, %151 ]
  %205 = invoke noundef ptr @_ZN5cjson4pushEd(ptr noundef nonnull align 8 dereferenceable(89) %113, double noundef %204)
          to label %216 unwind label %141

206:                                              ; preds = %196
  %207 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIN7openset6result13ResultTypes_eESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %29, i64 noundef %indvars.iv) #9
  %208 = load i32, ptr %207, align 4, !tbaa !12
  %209 = icmp eq i32 %208, 2
  %210 = load i64, ptr %129, align 8, !tbaa !14
  br i1 %209, label %.invoke262, label %.invoke

.invoke262:                                       ; preds = %206, %184
  %.sink = phi i64 [ %188, %184 ], [ %210, %206 ]
  %211 = icmp ne i64 %.sink, 0
  %212 = invoke noundef ptr @_ZN5cjson4pushEb(ptr noundef nonnull align 8 dereferenceable(89) %113, i1 noundef zeroext %211)
          to label %216 unwind label %141

.invoke.sink.split:                               ; preds = %143
  %213 = load i64, ptr %129, align 8, !tbaa !14
  br label %.invoke

.invoke:                                          ; preds = %.invoke.sink.split, %133, %137, %206, %184, %146
  %214 = phi i64 [ %150, %146 ], [ %188, %184 ], [ %210, %206 ], [ 0, %137 ], [ 0, %133 ], [ %213, %.invoke.sink.split ]
  %215 = invoke noundef ptr @_ZN5cjson4pushEl(ptr noundef nonnull align 8 dereferenceable(89) %113, i64 noundef %214)
          to label %216 unwind label %141

216:                                              ; preds = %.invoke265, %.invoke264, %.invoke263, %.invoke262, %.invoke
  %indvars.iv.next248 = add nsw i64 %indvars.iv247, 1
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %217 = icmp slt i64 %indvars.iv.next248, %indvars.iv.next246
  br i1 %217, label %.lr.ph227, label %._crit_edge228, !llvm.loop !26

218:                                              ; preds = %._crit_edge234
  %219 = add nsw i64 %indvars.iv254, 2
  %220 = call noundef nonnull align 8 dereferenceable(104) ptr @_ZNSt6vectorISt4pairIN7openset6result6RowKeyEPNS2_11AccumulatorEESaIS6_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %219) #9
  %221 = call noundef i32 @_ZN7openset6result6RowKey8getDepthEv(ptr noundef nonnull align 8 dereferenceable(96) %220)
  %222 = call noundef i32 @_ZN7openset6result6RowKey8getDepthEv(ptr noundef nonnull align 8 dereferenceable(96) %45)
  %223 = icmp sgt i32 %221, %222
  br i1 %223, label %224, label %227

224:                                              ; preds = %218
  %225 = invoke noundef ptr @_ZN5cjson9pushArrayEv(ptr noundef nonnull align 8 dereferenceable(89) %65)
          to label %226 unwind label %75

226:                                              ; preds = %224
  invoke void @_ZN5cjson7setNameEPKc(ptr noundef nonnull align 8 dereferenceable(89) %225, ptr noundef nonnull @.str.309)
          to label %227 unwind label %75

227:                                              ; preds = %226, %218, %._crit_edge234
  %.4169 = phi ptr [ %225, %226 ], [ %.3168, %218 ], [ %.3168, %._crit_edge234 ]
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(96) %8, ptr noundef nonnull align 8 dereferenceable(96) %45, i64 96, i1 false), !tbaa.struct !27
  %228 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPSt4pairIN7openset6result6RowKeyEPNS3_11AccumulatorEESt6vectorIS7_SaIS7_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %11) #9
  %229 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPSt4pairIN7openset6result6RowKeyEPNS3_11AccumulatorEESt6vectorIS7_SaIS7_EEEEbRKNS_17__normal_iteratorIT_T0_EESH_(ptr noundef nonnull align 8 dereferenceable(8) %11, ptr noundef nonnull align 8 dereferenceable(8) %12) #9
  br i1 %229, label %44, label %._crit_edge239

230:                                              ; preds = %.loopexit, %.loopexit.split-lp, %73, %121, %.critedge200, %141, %99, %75, %57
  %.pn189.pn = phi { ptr, i32 } [ %58, %57 ], [ %74, %73 ], [ %76, %75 ], [ %100, %99 ], [ %142, %141 ], [ %.pn.pn209, %.critedge200 ], [ %122, %121 ], [ %lpad.loopexit, %.loopexit ], [ %lpad.loopexit.split-lp, %.loopexit.split-lp ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #9
  br label %231

231:                                              ; preds = %230, %38
  %.pn189.pn.pn = phi { ptr, i32 } [ %.pn189.pn, %230 ], [ %39, %38 ]
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %8) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #9
  call void @_ZNSt6vectorISt4pairIN7openset6result6RowKeyEPNS2_11AccumulatorEESaIS6_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #9
  br label %232

232:                                              ; preds = %231, %36
  %.pn189.pn.pn.pn = phi { ptr, i32 } [ %.pn189.pn.pn, %231 ], [ %37, %36 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #9
  call void @_ZN10robin_hood6detail13unordered_mapILb1ELm80ElPKcNS_4hashIlEESt8equal_toIlEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %5) #9
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %5) #9
  resume { ptr, i32 } %.pn189.pn.pn.pn
}

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

declare noundef ptr @_ZN5cjson9pushArrayEv(ptr noundef nonnull align 8 dereferenceable(89)) local_unnamed_addr #6

declare void @_ZN5cjson7setNameEPKc(ptr noundef nonnull align 8 dereferenceable(89), ptr noundef) local_unnamed_addr #6

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

declare noundef ptr @_ZNK5cjson9hasParentEv(ptr noundef nonnull align 8 dereferenceable(89)) local_unnamed_addr #6

declare noundef ptr @_ZN5cjson10pushObjectEv(ptr noundef nonnull align 8 dereferenceable(89)) local_unnamed_addr #6

declare noundef ptr @_ZN5cjson3setEPKcl(ptr noundef nonnull align 8 dereferenceable(89), ptr noundef, i64 noundef) local_unnamed_addr #6

declare noundef ptr @_ZN5cjson3setEPKcd(ptr noundef nonnull align 8 dereferenceable(89), ptr noundef, double noundef) local_unnamed_addr #6

declare noundef ptr @_ZN5cjson3setEPKcb(ptr noundef nonnull align 8 dereferenceable(89), ptr noundef, i1 noundef zeroext) local_unnamed_addr #6

; Function Attrs: inlinehint mustprogress uwtable
declare hidden noundef ptr @"_ZZN7openset6result14ResultMuxDemux15resultSetToJsonEiiRSt6vectorIPNS0_9ResultSetESaIS4_EEP5cjsonENK3$_0clEl"(ptr noundef nonnull align 8 dereferenceable(8), i64 noundef) local_unnamed_addr #7 align 2

declare noundef ptr @_ZN5cjson3setEPKcS1_(ptr noundef nonnull align 8 dereferenceable(89), ptr noundef, ptr noundef) local_unnamed_addr #6

declare void @_ZN5cjson7setNameERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(89), ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #6

; 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: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZNSt7__cxx119to_stringEi(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, i32 noundef) local_unnamed_addr #5

declare noundef ptr @_ZN5cjson4pushEl(ptr noundef nonnull align 8 dereferenceable(89), i64 noundef) local_unnamed_addr #6

declare noundef ptr @_ZN5cjson8pushNullEv(ptr noundef nonnull align 8 dereferenceable(89)) local_unnamed_addr #6

declare noundef ptr @_ZN5cjson4pushEd(ptr noundef nonnull align 8 dereferenceable(89), double noundef) local_unnamed_addr #6

declare noundef ptr @_ZN5cjson4pushEPKc(ptr noundef nonnull align 8 dereferenceable(89), ptr noundef) local_unnamed_addr #6

declare noundef ptr @_ZN5cjson4pushEb(ptr noundef nonnull align 8 dereferenceable(89), i1 noundef zeroext) local_unnamed_addr #6

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

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

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

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = distinct !{!9, !10, !11}
!10 = !{!"llvm.loop.mustprogress"}
!11 = !{!"llvm.loop.peeled.count", i32 1}
!12 = !{!13, !13, i64 0}
!13 = !{!"_ZTSN7openset6result13ResultTypes_eE", !7, i64 0}
!14 = !{!15, !15, i64 0}
!15 = !{!"long", !7, i64 0}
!16 = distinct !{!16, !10}
!17 = !{!18, !6, i64 96}
!18 = !{!"_ZTSSt4pairIN7openset6result6RowKeyEPNS1_11AccumulatorEE", !19, i64 0, !6, i64 96}
!19 = !{!"_ZTSN7openset6result6RowKeyE", !7, i64 0, !7, i64 64}
!20 = !{!21, !15, i64 0}
!21 = !{!"_ZTSN7openset6result14Accumulation_sE", !15, i64 0, !22, i64 8}
!22 = !{!"int", !7, i64 0}
!23 = !{!24, !24, i64 0}
!24 = !{!"_ZTSN7openset5query11Modifiers_eE", !7, i64 0}
!25 = !{!22, !22, i64 0}
!26 = distinct !{!26, !10}
!27 = !{i64 0, i64 64, !28, i64 64, i64 32, !28}
!28 = !{!7, !7, i64 0}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopFullUnrollPass,LoopInstSimplifyPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,SCCPPass,SROAPass,SimplifyCFGPass