; LLVM IR from facebook/redex :: libredex/DexPosition.ll (ZN18RealPositionMapper32process_pattern_switch_positionsEv)

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

%"class.std::vector.102" = type { %"struct.std::_Vector_base.103" }
%"struct.std::_Vector_base.103" = type { %"struct.std::_Vector_base<std::vector<PositionCase>, std::allocator<std::vector<PositionCase>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::vector<PositionCase>, std::allocator<std::vector<PositionCase>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::vector<PositionCase>, std::allocator<std::vector<PositionCase>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::vector<PositionCase>, std::allocator<std::vector<PositionCase>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%class.ConcurrentMap.340 = type { %class.ConcurrentContainer.341, [83 x %"class.std::mutex"] }
%class.ConcurrentContainer.341 = type { ptr, [83 x %"class.cc_impl::ConcurrentHashtable.342"] }
%"class.cc_impl::ConcurrentHashtable.342" = type { %"struct.std::atomic.343", %"struct.std::atomic.170", %"struct.std::atomic.172", %"struct.std::atomic.345" }
%"struct.std::atomic.343" = type { %"struct.std::__atomic_base.344" }
%"struct.std::__atomic_base.344" = type { ptr }
%"struct.std::atomic.170" = type { %"struct.std::__atomic_base.171" }
%"struct.std::__atomic_base.171" = type { i64 }
%"struct.std::atomic.172" = type { %"struct.std::__atomic_base.173" }
%"struct.std::__atomic_base.173" = type { i8 }
%"struct.std::atomic.345" = type { %"struct.std::__atomic_base.346" }
%"struct.std::__atomic_base.346" = type { ptr }
%"class.std::mutex" = type { %"class.std::__mutex_base" }
%"class.std::__mutex_base" = type { %union.pthread_mutex_t }
%union.pthread_mutex_t = type { %struct.__pthread_mutex_s }
%struct.__pthread_mutex_s = type { i32, i32, i32, i32, i32, i16, i16, %struct.__pthread_internal_list }
%struct.__pthread_internal_list = type { ptr, ptr }
%class.InsertOnlyConcurrentSet.348 = type { %class.ConcurrentContainer.349 }
%class.ConcurrentContainer.349 = type { ptr, [83 x %"class.cc_impl::ConcurrentHashtable.350"] }
%"class.cc_impl::ConcurrentHashtable.350" = type { %"struct.std::atomic.351", %"struct.std::atomic.170", %"struct.std::atomic.172", %"struct.std::atomic.353" }
%"struct.std::atomic.351" = type { %"struct.std::__atomic_base.352" }
%"struct.std::__atomic_base.352" = type { ptr }
%"struct.std::atomic.353" = type { %"struct.std::__atomic_base.354" }
%"struct.std::__atomic_base.354" = type { ptr }
%class.InsertOnlyConcurrentSet.356 = type { %class.ConcurrentContainer.357 }
%class.ConcurrentContainer.357 = type { ptr, [83 x %"class.cc_impl::ConcurrentHashtable.358"] }
%"class.cc_impl::ConcurrentHashtable.358" = type { %"struct.std::atomic.359", %"struct.std::atomic.170", %"struct.std::atomic.172", %"struct.std::atomic.361" }
%"struct.std::atomic.359" = type { %"struct.std::__atomic_base.360" }
%"struct.std::__atomic_base.360" = type { ptr }
%"struct.std::atomic.361" = type { %"struct.std::__atomic_base.362" }
%"struct.std::__atomic_base.362" = type { ptr }
%"class.std::function" = type { %"class.std::_Function_base", ptr }
%"class.std::_Function_base" = type { %"union.std::_Any_data", ptr }
%"union.std::_Any_data" = type { %"union.std::_Nocopy_types" }
%"union.std::_Nocopy_types" = type { { i64, i64 } }
%class.anon = type { ptr, ptr, ptr, ptr, ptr, ptr }
%"class.std::basic_string_view" = type { i64, ptr }
%class.UnorderedMap.365 = type { %"class.std::unordered_map.367" }
%"class.std::unordered_map.367" = type { %"class.std::_Hashtable.368" }
%"class.std::_Hashtable.368" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"struct.std::__detail::_Hash_node_base" = type { ptr }
%"struct.std::__detail::_Prime_rehash_policy" = type { float, i64 }
%"class.std::vector.122" = type { %"struct.std::_Vector_base.123" }
%"struct.std::_Vector_base.123" = type { %"struct.std::_Vector_base<PositionCase, std::allocator<PositionCase>>::_Vector_impl" }
%"struct.std::_Vector_base<PositionCase, std::allocator<PositionCase>>::_Vector_impl" = type { %"struct.std::_Vector_base<PositionCase, std::allocator<PositionCase>>::_Vector_impl_data" }
%"struct.std::_Vector_base<PositionCase, std::allocator<PositionCase>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.__gnu_cxx::__normal_iterator.127" = type { ptr }
%"struct.std::pair.136" = type <{ %"class.UnorderedMap<DexPosition *, long>::FixedIterator", i8, [7 x i8] }>
%"class.UnorderedMap<DexPosition *, long>::FixedIterator" = type { %"struct.std::__detail::_Node_iterator.138" }
%"struct.std::__detail::_Node_iterator.138" = type { %"struct.std::__detail::_Node_iterator_base.139" }
%"struct.std::__detail::_Node_iterator_base.139" = type { ptr }
%class.anon.387 = type { i8 }
%"struct.std::pair.388" = type <{ %"class.UnorderedMap<unsigned int, unsigned int>::FixedIterator", i8, [7 x i8] }>
%"class.UnorderedMap<unsigned int, unsigned int>::FixedIterator" = type { %"struct.std::__detail::_Node_iterator.390" }
%"struct.std::__detail::_Node_iterator.390" = type { %"struct.std::__detail::_Node_iterator_base.391" }
%"struct.std::__detail::_Node_iterator_base.391" = type { ptr }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }
%class.RealPositionMapper = type { %class.PositionMapper, %"class.std::__cxx11::basic_string", %"class.std::vector.109", %class.UnorderedMap.141, %"class.std::queue", %"class.std::vector.161" }
%class.PositionMapper = 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::vector.109" = type { %"struct.std::_Vector_base.110" }
%"struct.std::_Vector_base.110" = type { %"struct.std::_Vector_base<DexPosition *, std::allocator<DexPosition *>>::_Vector_impl" }
%"struct.std::_Vector_base<DexPosition *, std::allocator<DexPosition *>>::_Vector_impl" = type { %"struct.std::_Vector_base<DexPosition *, std::allocator<DexPosition *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<DexPosition *, std::allocator<DexPosition *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%class.UnorderedMap.141 = type { %"class.std::unordered_map.143" }
%"class.std::unordered_map.143" = type { %"class.std::_Hashtable.144" }
%"class.std::_Hashtable.144" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"class.std::queue" = type { %"class.std::deque" }
%"class.std::deque" = type { %"class.std::_Deque_base" }
%"class.std::_Deque_base" = type { %"struct.std::_Deque_base<DexPosition *, std::allocator<DexPosition *>>::_Deque_impl" }
%"struct.std::_Deque_base<DexPosition *, std::allocator<DexPosition *>>::_Deque_impl" = type { %"struct.std::_Deque_base<DexPosition *, std::allocator<DexPosition *>>::_Deque_impl_data" }
%"struct.std::_Deque_base<DexPosition *, std::allocator<DexPosition *>>::_Deque_impl_data" = type { ptr, i64, %"struct.std::_Deque_iterator", %"struct.std::_Deque_iterator" }
%"struct.std::_Deque_iterator" = type { ptr, ptr, ptr, ptr }
%"class.std::vector.161" = type { %"struct.std::_Vector_base.162" }
%"struct.std::_Vector_base.162" = type { %"struct.std::_Vector_base<std::unique_ptr<DexPosition>, std::allocator<std::unique_ptr<DexPosition>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::unique_ptr<DexPosition>, std::allocator<std::unique_ptr<DexPosition>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::unique_ptr<DexPosition>, std::allocator<std::unique_ptr<DexPosition>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::unique_ptr<DexPosition>, std::allocator<std::unique_ptr<DexPosition>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%struct.PositionCase = type { i32, ptr }
%struct.DexPosition = type { ptr, ptr, i32, ptr }
%"struct.std::pair.166" = type { ptr, i64 }

@.str.9 = external hidden unnamed_addr constant [73 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [17 x i8], align 1
@g_redex = external global ptr, align 8
@.str.21 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [17 x i8], align 1
@__PRETTY_FUNCTION__._ZN18RealPositionMapper32process_pattern_switch_positionsEv = external hidden unnamed_addr constant [60 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: noreturn
declare void @_Z11assert_failPKcS0_jS0_10RedexErrorS0_z(ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, ...) #1

declare noundef ptr @_ZN9DexString11make_stringESt17basic_string_viewIcSt11char_traitsIcEE(i64, ptr) #2

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

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

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znwm(i64 noundef) #4

; 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) #5

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

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

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i64 @_ZN18RealPositionMapper12add_positionEP11DexPosition(ptr noundef nonnull align 8 dereferenceable(224), ptr noundef) #7 align 2

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN18RealPositionMapper32process_pattern_switch_positionsEv(ptr noundef nonnull align 8 dereferenceable(224) %0) #7 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca ptr, align 8
  %3 = alloca ptr, align 8
  %4 = alloca i32, align 4
  %5 = alloca %"class.std::vector.102", align 8
  %6 = alloca %class.ConcurrentMap.340, align 8
  %7 = alloca %class.InsertOnlyConcurrentSet.348, align 8
  %8 = alloca %class.InsertOnlyConcurrentSet.356, align 8
  %9 = alloca %"class.std::function", align 8
  %10 = alloca %class.anon, align 8
  %11 = alloca ptr, align 8
  %12 = alloca i32, align 4
  %13 = alloca ptr, align 8
  %14 = alloca %"class.std::basic_string_view", align 8
  %15 = alloca ptr, align 8
  %16 = alloca %"class.std::basic_string_view", align 8
  %17 = alloca ptr, align 8
  %18 = alloca %"class.std::basic_string_view", align 8
  %19 = alloca %class.UnorderedMap.365, align 8
  %20 = alloca i32, align 4
  %21 = alloca %"class.std::vector.122", align 8
  %22 = alloca ptr, align 8
  %23 = alloca %"class.__gnu_cxx::__normal_iterator.127", align 8
  %24 = alloca %"class.__gnu_cxx::__normal_iterator.127", align 8
  %25 = alloca ptr, align 8
  %26 = alloca ptr, align 8
  %27 = alloca %"struct.std::pair.136", align 8
  %28 = alloca i64, align 8
  %29 = alloca { ptr, i8 }, align 8
  %30 = alloca ptr, align 8
  %31 = alloca ptr, align 8
  %32 = alloca %"class.__gnu_cxx::__normal_iterator.127", align 8
  %33 = alloca %"class.__gnu_cxx::__normal_iterator.127", align 8
  %34 = alloca %class.anon.387, align 1
  %35 = alloca i64, align 8
  %36 = alloca %"struct.std::pair.388", align 8
  %37 = alloca ptr, align 8
  %38 = alloca ptr, align 8
  %39 = alloca %"class.__gnu_cxx::__normal_iterator.127", align 8
  %40 = alloca %"class.__gnu_cxx::__normal_iterator.127", align 8
  %41 = alloca ptr, align 8
  %42 = alloca ptr, align 8
  %43 = alloca ptr, align 8
  %44 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %45 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %46 = alloca ptr, align 8
  store ptr %0, ptr %2, align 8, !tbaa !5
  %47 = load ptr, ptr %2, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #10
  %48 = load ptr, ptr @g_redex, align 8, !tbaa !5
  %49 = call noundef ptr @_ZN12RedexContext35get_position_pattern_switch_managerEv(ptr noundef nonnull align 8 dereferenceable(389504) %48)
  store ptr %49, ptr %3, align 8, !tbaa !5
  %50 = load ptr, ptr %3, align 8, !tbaa !5
  %51 = call noundef zeroext i1 @_ZNK28PositionPatternSwitchManager5emptyEv(ptr noundef nonnull align 8 dereferenceable(240) %50)
  br i1 %51, label %52, label %53

52:                                               ; preds = %1
  store i32 1, ptr %4, align 4
  br label %371

53:                                               ; preds = %1
  call void @llvm.lifetime.start.p0(i64 24, ptr %5) #10
  %54 = load ptr, ptr %3, align 8, !tbaa !5
  %55 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK28PositionPatternSwitchManager12get_switchesEv(ptr noundef nonnull align 8 dereferenceable(240) %54)
  call void @_ZNSt6vectorIS_I12PositionCaseSaIS0_EESaIS2_EEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(24) %5, ptr noundef nonnull align 8 dereferenceable(24) %55)
  call void @llvm.lifetime.start.p0(i64 5984, ptr %6) #10
  call void @_ZN13ConcurrentMapIjSt6vectorI12PositionCaseSaIS1_EESt4hashIjESt8equal_toIjELm83EEC2Ev(ptr noundef nonnull align 8 dereferenceable(5984) %6) #10
  call void @llvm.lifetime.start.p0(i64 2664, ptr %7) #10
  call void @_ZN23InsertOnlyConcurrentSetIjSt4hashIjESt8equal_toIjELm83EEC2Ev(ptr noundef nonnull align 8 dereferenceable(2664) %7) #10
  call void @llvm.lifetime.start.p0(i64 2664, ptr %8) #10
  call void @_ZN23InsertOnlyConcurrentSetIP11DexPositionSt4hashIS1_ESt8equal_toIS1_ELm83EEC2Ev(ptr noundef nonnull align 8 dereferenceable(2664) %8) #10
  call void @llvm.lifetime.start.p0(i64 32, ptr %9) #10
  call void @_ZNSt8functionIFvP11DexPositionEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #10
  call void @llvm.lifetime.start.p0(i64 48, ptr %10) #10
  %56 = getelementptr inbounds %class.anon, ptr %10, i32 0, i32 0
  store ptr %8, ptr %56, align 8, !tbaa !5
  %57 = getelementptr inbounds %class.anon, ptr %10, i32 0, i32 1
  store ptr %3, ptr %57, align 8, !tbaa !5
  %58 = getelementptr inbounds %class.anon, ptr %10, i32 0, i32 2
  store ptr %6, ptr %58, align 8, !tbaa !5
  %59 = getelementptr inbounds %class.anon, ptr %10, i32 0, i32 3
  store ptr %9, ptr %59, align 8, !tbaa !5
  %60 = getelementptr inbounds %class.anon, ptr %10, i32 0, i32 4
  store ptr %7, ptr %60, align 8, !tbaa !5
  %61 = getelementptr inbounds %class.anon, ptr %10, i32 0, i32 5
  store ptr %5, ptr %61, align 8, !tbaa !5
  %62 = invoke noundef nonnull align 8 dereferenceable(32) ptr @"_ZNSt8functionIFvP11DexPositionEEaSIZN18RealPositionMapper32process_pattern_switch_positionsEvE3$_0EENSt9enable_ifIXsrNS3_9_CallableIT_NS7_IXntsr7is_sameINSt9remove_cvINSt16remove_referenceIS9_E4typeEE4typeES3_EE5valueESt5decayIS9_EE4type4typeESt15__invoke_resultIRSK_JS1_EEEE5valueERS3_E4typeEOS9_"(ptr noundef nonnull align 8 dereferenceable(32) %9, ptr noundef nonnull align 8 dereferenceable(48) %10)
          to label %63 unwind label %94

63:                                               ; preds = %53
  call void @llvm.lifetime.end.p0(i64 48, ptr %10) #10
  %64 = getelementptr inbounds %class.RealPositionMapper, ptr %47, i32 0, i32 2
  %65 = invoke noundef i64 @_ZN14redex_parallel19default_num_threadsEv()
          to label %66 unwind label %98

66:                                               ; preds = %63
  %67 = trunc i64 %65 to i32
  invoke void @_Z13workqueue_runIP11DexPositionSt8functionIFvS1_EESt6vectorIS1_SaIS1_EETnNSt9enable_ifIXeqsr5ArityIT0_EE5valueLi1EEiE4typeELi0EEvRKS9_RT1_jb(ptr noundef nonnull align 8 dereferenceable(32) %9, ptr noundef nonnull align 8 dereferenceable(24) %64, i32 noundef %67, i1 noundef zeroext false)
          to label %68 unwind label %98

68:                                               ; preds = %66
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #10
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %14, ptr noundef @.str.21) #10
  %69 = getelementptr inbounds { i64, ptr }, ptr %14, i32 0, i32 0
  %70 = load i64, ptr %69, align 8
  %71 = getelementptr inbounds { i64, ptr }, ptr %14, i32 0, i32 1
  %72 = load ptr, ptr %71, align 8
  %73 = invoke noundef ptr @_ZN9DexString11make_stringESt17basic_string_viewIcSt11char_traitsIcEE(i64 %70, ptr %72)
          to label %74 unwind label %102

74:                                               ; preds = %68
  store ptr %73, ptr %13, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #10
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %16, ptr noundef @.str.22) #10
  %75 = getelementptr inbounds { i64, ptr }, ptr %16, i32 0, i32 0
  %76 = load i64, ptr %75, align 8
  %77 = getelementptr inbounds { i64, ptr }, ptr %16, i32 0, i32 1
  %78 = load ptr, ptr %77, align 8
  %79 = invoke noundef ptr @_ZN9DexString11make_stringESt17basic_string_viewIcSt11char_traitsIcEE(i64 %76, ptr %78)
          to label %80 unwind label %106

80:                                               ; preds = %74
  store ptr %79, ptr %15, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #10
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %18, ptr noundef @.str.12) #10
  %81 = getelementptr inbounds { i64, ptr }, ptr %18, i32 0, i32 0
  %82 = load i64, ptr %81, align 8
  %83 = getelementptr inbounds { i64, ptr }, ptr %18, i32 0, i32 1
  %84 = load ptr, ptr %83, align 8
  %85 = invoke noundef ptr @_ZN9DexString11make_stringESt17basic_string_viewIcSt11char_traitsIcEE(i64 %82, ptr %84)
          to label %86 unwind label %110

86:                                               ; preds = %80
  store ptr %85, ptr %17, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 56, ptr %19) #10
  invoke void @_ZN12UnorderedMapIjjSt4hashIjESt8equal_toIjEEC2Ev(ptr noundef nonnull align 8 dereferenceable(56) %19)
          to label %87 unwind label %114

87:                                               ; preds = %86
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #10
  store i32 0, ptr %20, align 4, !tbaa !9
  br label %88

88:                                               ; preds = %332, %87
  %89 = load i32, ptr %20, align 4, !tbaa !9
  %90 = zext i32 %89 to i64
  %91 = call noundef i64 @_ZNKSt6vectorIS_I12PositionCaseSaIS0_EESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %5) #10
  %92 = icmp ult i64 %90, %91
  br i1 %92, label %118, label %93

93:                                               ; preds = %88
  store i32 2, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #10
  br label %337

94:                                               ; preds = %53
  %95 = landingpad { ptr, i32 }
          cleanup
  %96 = extractvalue { ptr, i32 } %95, 0
  store ptr %96, ptr %11, align 8
  %97 = extractvalue { ptr, i32 } %95, 1
  store i32 %97, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 48, ptr %10) #10
  br label %379

98:                                               ; preds = %66, %63
  %99 = landingpad { ptr, i32 }
          cleanup
  %100 = extractvalue { ptr, i32 } %99, 0
  store ptr %100, ptr %11, align 8
  %101 = extractvalue { ptr, i32 } %99, 1
  store i32 %101, ptr %12, align 4
  br label %379

102:                                              ; preds = %68
  %103 = landingpad { ptr, i32 }
          cleanup
  %104 = extractvalue { ptr, i32 } %103, 0
  store ptr %104, ptr %11, align 8
  %105 = extractvalue { ptr, i32 } %103, 1
  store i32 %105, ptr %12, align 4
  br label %378

106:                                              ; preds = %74
  %107 = landingpad { ptr, i32 }
          cleanup
  %108 = extractvalue { ptr, i32 } %107, 0
  store ptr %108, ptr %11, align 8
  %109 = extractvalue { ptr, i32 } %107, 1
  store i32 %109, ptr %12, align 4
  br label %377

110:                                              ; preds = %80
  %111 = landingpad { ptr, i32 }
          cleanup
  %112 = extractvalue { ptr, i32 } %111, 0
  store ptr %112, ptr %11, align 8
  %113 = extractvalue { ptr, i32 } %111, 1
  store i32 %113, ptr %12, align 4
  br label %376

114:                                              ; preds = %86
  %115 = landingpad { ptr, i32 }
          cleanup
  %116 = extractvalue { ptr, i32 } %115, 0
  store ptr %116, ptr %11, align 8
  %117 = extractvalue { ptr, i32 } %115, 1
  store i32 %117, ptr %12, align 4
  br label %375

118:                                              ; preds = %88
  %119 = invoke noundef i64 @_ZNK19ConcurrentContainerISt13unordered_setIjSt4hashIjESt8equal_toIjESaIjEELm83EE5countERKj(ptr noundef nonnull align 8 dereferenceable(2664) %7, ptr noundef nonnull align 4 dereferenceable(4) %20)
          to label %120 unwind label %123

120:                                              ; preds = %118
  %121 = icmp ne i64 %119, 0
  br i1 %121, label %127, label %122

122:                                              ; preds = %120
  br label %332

123:                                              ; preds = %118
  %124 = landingpad { ptr, i32 }
          cleanup
  %125 = extractvalue { ptr, i32 } %124, 0
  store ptr %125, ptr %11, align 8
  %126 = extractvalue { ptr, i32 } %124, 1
  store i32 %126, ptr %12, align 4
  br label %336

127:                                              ; preds = %120
  call void @llvm.lifetime.start.p0(i64 24, ptr %21) #10
  call void @_ZNSt6vectorI12PositionCaseSaIS0_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %21) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #10
  %128 = load i32, ptr %20, align 4, !tbaa !9
  %129 = zext i32 %128 to i64
  %130 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_I12PositionCaseSaIS0_EESaIS2_EE2atEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %129)
          to label %131 unwind label %141

131:                                              ; preds = %127
  store ptr %130, ptr %22, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #10
  %132 = load ptr, ptr %22, align 8, !tbaa !5
  %133 = call ptr @_ZNSt6vectorI12PositionCaseSaIS0_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %132) #10
  %134 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.127", ptr %23, i32 0, i32 0
  store ptr %133, ptr %134, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #10
  %135 = load ptr, ptr %22, align 8, !tbaa !5
  %136 = call ptr @_ZNSt6vectorI12PositionCaseSaIS0_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %135) #10
  %137 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.127", ptr %24, i32 0, i32 0
  store ptr %136, ptr %137, align 8
  br label %138

138:                                              ; preds = %218, %131
  %139 = call noundef zeroext i1 @_ZN9__gnu_cxxneIP12PositionCaseSt6vectorIS1_SaIS1_EEEEbRKNS_17__normal_iteratorIT_T0_EESB_(ptr noundef nonnull align 8 dereferenceable(8) %23, ptr noundef nonnull align 8 dereferenceable(8) %24) #10
  br i1 %139, label %145, label %140

140:                                              ; preds = %138
  store i32 5, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #10
  br label %222

141:                                              ; preds = %127
  %142 = landingpad { ptr, i32 }
          cleanup
  %143 = extractvalue { ptr, i32 } %142, 0
  store ptr %143, ptr %11, align 8
  %144 = extractvalue { ptr, i32 } %142, 1
  store i32 %144, ptr %12, align 4
  br label %221

145:                                              ; preds = %138
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #10
  %146 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK9__gnu_cxx17__normal_iteratorIP12PositionCaseSt6vectorIS1_SaIS1_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %23) #10
  store ptr %146, ptr %25, align 8, !tbaa !5
  %147 = load ptr, ptr %25, align 8, !tbaa !5
  %148 = getelementptr inbounds %struct.PositionCase, ptr %147, i32 0, i32 0
  %149 = invoke noundef i64 @_ZNK19ConcurrentContainerISt13unordered_mapIjSt6vectorI12PositionCaseSaIS2_EESt4hashIjESt8equal_toIjESaISt4pairIKjS4_EEELm83EE5countERSA_(ptr noundef nonnull align 8 dereferenceable(2664) %6, ptr noundef nonnull align 4 dereferenceable(4) %148)
          to label %150 unwind label %153

150:                                              ; preds = %145
  %151 = icmp ne i64 %149, 0
  br i1 %151, label %157, label %152

152:                                              ; preds = %150
  store i32 6, ptr %4, align 4
  br label %215

153:                                              ; preds = %212, %145
  %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 %220

157:                                              ; preds = %150
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #10
  %158 = load ptr, ptr %25, align 8, !tbaa !5
  %159 = getelementptr inbounds %struct.PositionCase, ptr %158, i32 0, i32 1
  %160 = load ptr, ptr %159, align 8, !tbaa !11
  store ptr %160, ptr %26, align 8, !tbaa !5
  br label %161

161:                                              ; preds = %207, %157
  %162 = load ptr, ptr %26, align 8, !tbaa !5
  %163 = icmp ne ptr %162, null
  br i1 %163, label %164, label %169

164:                                              ; preds = %161
  %165 = load ptr, ptr %26, align 8, !tbaa !5
  %166 = getelementptr inbounds %struct.DexPosition, ptr %165, i32 0, i32 1
  %167 = load ptr, ptr %166, align 8, !tbaa !13
  %168 = icmp ne ptr %167, null
  br label %169

169:                                              ; preds = %164, %161
  %170 = phi i1 [ false, %161 ], [ %168, %164 ]
  br i1 %170, label %172, label %171

171:                                              ; preds = %169
  store i32 7, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #10
  br label %212

172:                                              ; preds = %169
  call void @llvm.lifetime.start.p0(i64 16, ptr %27) #10
  %173 = getelementptr inbounds %class.RealPositionMapper, ptr %47, i32 0, i32 3
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #10
  %174 = getelementptr inbounds %class.RealPositionMapper, ptr %47, i32 0, i32 2
  %175 = call noundef i64 @_ZNKSt6vectorIP11DexPositionSaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %174) #10
  store i64 %175, ptr %28, align 8, !tbaa !15
  %176 = invoke { ptr, i8 } @_ZN12UnorderedMapIP11DexPositionlSt4hashIS1_ESt8equal_toIS1_EE7emplaceIJRS1_mEEESt4pairINS6_13FixedIteratorEbEDpOT_(ptr noundef nonnull align 8 dereferenceable(56) %173, ptr noundef nonnull align 8 dereferenceable(8) %26, ptr noundef nonnull align 8 dereferenceable(8) %28)
          to label %177 unwind label %186

177:                                              ; preds = %172
  store { ptr, i8 } %176, ptr %29, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %27, ptr align 8 %29, i64 9, i1 false)
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #10
  %178 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3getILm0EN12UnorderedMapIP11DexPositionlSt4hashIS2_ESt8equal_toIS2_EE13FixedIteratorEbEONSt13tuple_elementIXT_ESt4pairIT0_T1_EE4typeEOSD_(ptr noundef nonnull align 8 dereferenceable(9) %27) #10
  store ptr %178, ptr %30, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #10
  %179 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZSt3getILm1EN12UnorderedMapIP11DexPositionlSt4hashIS2_ESt8equal_toIS2_EE13FixedIteratorEbEONSt13tuple_elementIXT_ESt4pairIT0_T1_EE4typeEOSD_(ptr noundef nonnull align 8 dereferenceable(9) %27) #10
  store ptr %179, ptr %31, align 8, !tbaa !5
  %180 = load ptr, ptr %31, align 8, !tbaa !5
  %181 = load i8, ptr %180, align 1, !tbaa !17, !range !19, !noundef !20
  %182 = trunc i8 %181 to i1
  br i1 %182, label %183, label %194

183:                                              ; preds = %177
  %184 = getelementptr inbounds %class.RealPositionMapper, ptr %47, i32 0, i32 2
  invoke void @_ZNSt6vectorIP11DexPositionSaIS1_EE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %184, ptr noundef nonnull align 8 dereferenceable(8) %26)
          to label %185 unwind label %190

185:                                              ; preds = %183
  br label %206

186:                                              ; preds = %172
  %187 = landingpad { ptr, i32 }
          cleanup
  %188 = extractvalue { ptr, i32 } %187, 0
  store ptr %188, ptr %11, align 8
  %189 = extractvalue { ptr, i32 } %187, 1
  store i32 %189, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #10
  br label %211

190:                                              ; preds = %202, %194, %183
  %191 = landingpad { ptr, i32 }
          cleanup
  %192 = extractvalue { ptr, i32 } %191, 0
  store ptr %192, ptr %11, align 8
  %193 = extractvalue { ptr, i32 } %191, 1
  store i32 %193, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #10
  br label %211

194:                                              ; preds = %177
  %195 = load ptr, ptr %30, align 8, !tbaa !5
  %196 = invoke noundef ptr @_ZNK12UnorderedMapIP11DexPositionlSt4hashIS1_ESt8equal_toIS1_EE13FixedIteratorptEv(ptr noundef nonnull align 8 dereferenceable(8) %195)
          to label %197 unwind label %190

197:                                              ; preds = %194
  %198 = getelementptr inbounds %"struct.std::pair.166", ptr %196, i32 0, i32 1
  %199 = load i64, ptr %198, align 8, !tbaa !21
  %200 = icmp ne i64 %199, -1
  br i1 %200, label %201, label %202

201:                                              ; preds = %197
  br label %205

202:                                              ; preds = %197
  invoke void (ptr, ptr, i32, ptr, i32, ptr, ...) @_Z11assert_failPKcS0_jS0_10RedexErrorS0_z(ptr noundef @.str.23, ptr noundef @.str.9, i32 noundef 243, ptr noundef @__PRETTY_FUNCTION__._ZN18RealPositionMapper32process_pattern_switch_positionsEv, i32 noundef 2, ptr noundef @.str.10) #11
          to label %203 unwind label %190

203:                                              ; preds = %202
  unreachable

204:                                              ; No predecessors!
  br label %205

205:                                              ; preds = %204, %201
  br label %206

206:                                              ; preds = %205, %185
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr %27) #10
  br label %207

207:                                              ; preds = %206
  %208 = load ptr, ptr %26, align 8, !tbaa !5
  %209 = getelementptr inbounds %struct.DexPosition, ptr %208, i32 0, i32 3
  %210 = load ptr, ptr %209, align 8, !tbaa !23
  store ptr %210, ptr %26, align 8, !tbaa !5
  br label %161, !llvm.loop !24

211:                                              ; preds = %190, %186
  call void @llvm.lifetime.end.p0(i64 16, ptr %27) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #10
  br label %220

212:                                              ; preds = %171
  %213 = load ptr, ptr %25, align 8, !tbaa !5
  invoke void @_ZNSt6vectorI12PositionCaseSaIS0_EE9push_backERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %21, ptr noundef nonnull align 8 dereferenceable(16) %213)
          to label %214 unwind label %153

214:                                              ; preds = %212
  store i32 0, ptr %4, align 4
  br label %215

215:                                              ; preds = %214, %152
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #10
  %216 = load i32, ptr %4, align 4
  switch i32 %216, label %385 [
    i32 0, label %217
    i32 6, label %218
  ]

217:                                              ; preds = %215
  br label %218

218:                                              ; preds = %217, %215
  %219 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIP12PositionCaseSt6vectorIS1_SaIS1_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %23) #10
  br label %138

220:                                              ; preds = %211, %153
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #10
  br label %221

221:                                              ; preds = %220, %141
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #10
  br label %335

222:                                              ; preds = %140
  %223 = call ptr @_ZNSt6vectorI12PositionCaseSaIS0_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %21) #10
  %224 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.127", ptr %32, i32 0, i32 0
  store ptr %223, ptr %224, align 8
  %225 = call ptr @_ZNSt6vectorI12PositionCaseSaIS0_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %21) #10
  %226 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.127", ptr %33, i32 0, i32 0
  store ptr %225, ptr %226, align 8
  %227 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.127", ptr %32, i32 0, i32 0
  %228 = load ptr, ptr %227, align 8
  %229 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.127", ptr %33, i32 0, i32 0
  %230 = load ptr, ptr %229, align 8
  invoke void @"_ZSt4sortIN9__gnu_cxx17__normal_iteratorIP12PositionCaseSt6vectorIS2_SaIS2_EEEEZN18RealPositionMapper32process_pattern_switch_positionsEvE3$_1EvT_SA_T0_"(ptr %228, ptr %230)
          to label %231 unwind label %262

231:                                              ; preds = %222
  call void @llvm.lifetime.start.p0(i64 8, ptr %35) #10
  %232 = getelementptr inbounds %class.RealPositionMapper, ptr %47, i32 0, i32 2
  %233 = call noundef i64 @_ZNKSt6vectorIP11DexPositionSaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %232) #10
  store i64 %233, ptr %35, align 8, !tbaa !15
  %234 = invoke { ptr, i8 } @_ZN12UnorderedMapIjjSt4hashIjESt8equal_toIjEE7emplaceIJRjmEEESt4pairINS4_13FixedIteratorEbEDpOT_(ptr noundef nonnull align 8 dereferenceable(56) %19, ptr noundef nonnull align 4 dereferenceable(4) %20, ptr noundef nonnull align 8 dereferenceable(8) %35)
          to label %235 unwind label %266

235:                                              ; preds = %231
  %236 = getelementptr inbounds { ptr, i8 }, ptr %36, i32 0, i32 0
  %237 = extractvalue { ptr, i8 } %234, 0
  store ptr %237, ptr %236, align 8
  %238 = getelementptr inbounds { ptr, i8 }, ptr %36, i32 0, i32 1
  %239 = extractvalue { ptr, i8 } %234, 1
  store i8 %239, ptr %238, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %37) #10
  %240 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 32) #12
          to label %241 unwind label %270

241:                                              ; preds = %235
  %242 = load ptr, ptr %13, align 8, !tbaa !5
  %243 = load ptr, ptr %17, align 8, !tbaa !5
  %244 = call noundef i64 @_ZNKSt6vectorI12PositionCaseSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %21) #10
  %245 = trunc i64 %244 to i32
  invoke void @_ZN11DexPositionC1EPK9DexStringS2_j(ptr noundef nonnull align 8 dereferenceable(32) %240, ptr noundef %242, ptr noundef %243, i32 noundef %245)
          to label %246 unwind label %274

246:                                              ; preds = %241
  store ptr %240, ptr %37, align 8, !tbaa !5
  %247 = getelementptr inbounds %class.RealPositionMapper, ptr %47, i32 0, i32 5
  %248 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorISt10unique_ptrI11DexPositionSt14default_deleteIS1_EESaIS4_EE12emplace_backIJRPS1_EEERS4_DpOT_(ptr noundef nonnull align 8 dereferenceable(24) %247, ptr noundef nonnull align 8 dereferenceable(8) %37)
          to label %249 unwind label %270

249:                                              ; preds = %246
  %250 = load ptr, ptr %37, align 8, !tbaa !5
  %251 = invoke noundef i64 @_ZN18RealPositionMapper12add_positionEP11DexPosition(ptr noundef nonnull align 8 dereferenceable(224) %47, ptr noundef %250)
          to label %252 unwind label %270

252:                                              ; preds = %249
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %38) #10
  store ptr %21, ptr %38, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %39) #10
  %253 = load ptr, ptr %38, align 8, !tbaa !5
  %254 = call ptr @_ZNSt6vectorI12PositionCaseSaIS0_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %253) #10
  %255 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.127", ptr %39, i32 0, i32 0
  store ptr %254, ptr %255, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %40) #10
  %256 = load ptr, ptr %38, align 8, !tbaa !5
  %257 = call ptr @_ZNSt6vectorI12PositionCaseSaIS0_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %256) #10
  %258 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.127", ptr %40, i32 0, i32 0
  store ptr %257, ptr %258, align 8
  br label %259

259:                                              ; preds = %328, %252
  %260 = call noundef zeroext i1 @_ZN9__gnu_cxxneIP12PositionCaseSt6vectorIS1_SaIS1_EEEEbRKNS_17__normal_iteratorIT_T0_EESB_(ptr noundef nonnull align 8 dereferenceable(8) %39, ptr noundef nonnull align 8 dereferenceable(8) %40) #10
  br i1 %260, label %279, label %261

261:                                              ; preds = %259
  store i32 10, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %40) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %39) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #10
  br label %331

262:                                              ; preds = %222
  %263 = landingpad { ptr, i32 }
          cleanup
  %264 = extractvalue { ptr, i32 } %263, 0
  store ptr %264, ptr %11, align 8
  %265 = extractvalue { ptr, i32 } %263, 1
  store i32 %265, ptr %12, align 4
  br label %335

266:                                              ; preds = %231
  %267 = landingpad { ptr, i32 }
          cleanup
  %268 = extractvalue { ptr, i32 } %267, 0
  store ptr %268, ptr %11, align 8
  %269 = extractvalue { ptr, i32 } %267, 1
  store i32 %269, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #10
  br label %335

270:                                              ; preds = %249, %246, %235
  %271 = landingpad { ptr, i32 }
          cleanup
  %272 = extractvalue { ptr, i32 } %271, 0
  store ptr %272, ptr %11, align 8
  %273 = extractvalue { ptr, i32 } %271, 1
  store i32 %273, ptr %12, align 4
  br label %278

274:                                              ; preds = %241
  %275 = landingpad { ptr, i32 }
          cleanup
  %276 = extractvalue { ptr, i32 } %275, 0
  store ptr %276, ptr %11, align 8
  %277 = extractvalue { ptr, i32 } %275, 1
  store i32 %277, ptr %12, align 4
  call void @_ZdlPvm(ptr noundef %240, i64 noundef 32) #13
  br label %278

278:                                              ; preds = %274, %270
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #10
  br label %335

279:                                              ; preds = %259
  call void @llvm.lifetime.start.p0(i64 8, ptr %41) #10
  %280 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK9__gnu_cxx17__normal_iteratorIP12PositionCaseSt6vectorIS1_SaIS1_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %39) #10
  store ptr %280, ptr %41, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %42) #10
  %281 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 32) #12
          to label %282 unwind label %299

282:                                              ; preds = %279
  %283 = load ptr, ptr %15, align 8, !tbaa !5
  %284 = load ptr, ptr %17, align 8, !tbaa !5
  %285 = load ptr, ptr %41, align 8, !tbaa !5
  %286 = getelementptr inbounds %struct.PositionCase, ptr %285, i32 0, i32 0
  %287 = load i32, ptr %286, align 8, !tbaa !26
  invoke void @_ZN11DexPositionC1EPK9DexStringS2_j(ptr noundef nonnull align 8 dereferenceable(32) %281, ptr noundef %283, ptr noundef %284, i32 noundef %287)
          to label %288 unwind label %303

288:                                              ; preds = %282
  store ptr %281, ptr %42, align 8, !tbaa !5
  %289 = getelementptr inbounds %class.RealPositionMapper, ptr %47, i32 0, i32 5
  %290 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorISt10unique_ptrI11DexPositionSt14default_deleteIS1_EESaIS4_EE12emplace_backIJRPS1_EEERS4_DpOT_(ptr noundef nonnull align 8 dereferenceable(24) %289, ptr noundef nonnull align 8 dereferenceable(8) %42)
          to label %291 unwind label %299

291:                                              ; preds = %288
  %292 = load ptr, ptr %41, align 8, !tbaa !5
  %293 = getelementptr inbounds %struct.PositionCase, ptr %292, i32 0, i32 1
  %294 = load ptr, ptr %293, align 8, !tbaa !11
  %295 = icmp ne ptr %294, null
  br i1 %295, label %296, label %297

296:                                              ; preds = %291
  br label %308

297:                                              ; preds = %291
  invoke void (ptr, ptr, i32, ptr, i32, ptr, ...) @_Z11assert_failPKcS0_jS0_10RedexErrorS0_z(ptr noundef @.str.17, ptr noundef @.str.9, i32 noundef 267, ptr noundef @__PRETTY_FUNCTION__._ZN18RealPositionMapper32process_pattern_switch_positionsEv, i32 noundef 2, ptr noundef @.str.10) #11
          to label %298 unwind label %299

298:                                              ; preds = %297
  unreachable

299:                                              ; preds = %319, %316, %297, %288, %279
  %300 = landingpad { ptr, i32 }
          cleanup
  %301 = extractvalue { ptr, i32 } %300, 0
  store ptr %301, ptr %11, align 8
  %302 = extractvalue { ptr, i32 } %300, 1
  store i32 %302, ptr %12, align 4
  br label %330

303:                                              ; preds = %282
  %304 = landingpad { ptr, i32 }
          cleanup
  %305 = extractvalue { ptr, i32 } %304, 0
  store ptr %305, ptr %11, align 8
  %306 = extractvalue { ptr, i32 } %304, 1
  store i32 %306, ptr %12, align 4
  call void @_ZdlPvm(ptr noundef %281, i64 noundef 32) #13
  br label %330

307:                                              ; No predecessors!
  br label %308

308:                                              ; preds = %307, %296
  %309 = load ptr, ptr %41, align 8, !tbaa !5
  %310 = getelementptr inbounds %struct.PositionCase, ptr %309, i32 0, i32 1
  %311 = load ptr, ptr %310, align 8, !tbaa !11
  %312 = getelementptr inbounds %struct.DexPosition, ptr %311, i32 0, i32 1
  %313 = load ptr, ptr %312, align 8, !tbaa !13
  %314 = icmp ne ptr %313, null
  br i1 %314, label %315, label %316

315:                                              ; preds = %308
  br label %319

316:                                              ; preds = %308
  invoke void (ptr, ptr, i32, ptr, i32, ptr, ...) @_Z11assert_failPKcS0_jS0_10RedexErrorS0_z(ptr noundef @.str.18, ptr noundef @.str.9, i32 noundef 268, ptr noundef @__PRETTY_FUNCTION__._ZN18RealPositionMapper32process_pattern_switch_positionsEv, i32 noundef 2, ptr noundef @.str.10) #11
          to label %317 unwind label %299

317:                                              ; preds = %316
  unreachable

318:                                              ; No predecessors!
  br label %319

319:                                              ; preds = %318, %315
  %320 = load ptr, ptr %41, align 8, !tbaa !5
  %321 = getelementptr inbounds %struct.PositionCase, ptr %320, i32 0, i32 1
  %322 = load ptr, ptr %321, align 8, !tbaa !11
  %323 = load ptr, ptr %42, align 8, !tbaa !5
  %324 = getelementptr inbounds %struct.DexPosition, ptr %323, i32 0, i32 3
  store ptr %322, ptr %324, align 8, !tbaa !23
  %325 = load ptr, ptr %42, align 8, !tbaa !5
  %326 = invoke noundef i64 @_ZN18RealPositionMapper12add_positionEP11DexPosition(ptr noundef nonnull align 8 dereferenceable(224) %47, ptr noundef %325)
          to label %327 unwind label %299

327:                                              ; preds = %319
  call void @llvm.lifetime.end.p0(i64 8, ptr %42) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %41) #10
  br label %328

328:                                              ; preds = %327
  %329 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIP12PositionCaseSt6vectorIS1_SaIS1_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %39) #10
  br label %259

330:                                              ; preds = %303, %299
  call void @llvm.lifetime.end.p0(i64 8, ptr %42) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %41) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %40) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %39) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #10
  br label %335

331:                                              ; preds = %261
  call void @_ZNSt6vectorI12PositionCaseSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %21) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr %21) #10
  br label %332

332:                                              ; preds = %331, %122
  %333 = load i32, ptr %20, align 4, !tbaa !9
  %334 = add i32 %333, 1
  store i32 %334, ptr %20, align 4, !tbaa !9
  br label %88, !llvm.loop !27

335:                                              ; preds = %330, %278, %266, %262, %221
  call void @_ZNSt6vectorI12PositionCaseSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %21) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr %21) #10
  br label %336

336:                                              ; preds = %335, %123
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #10
  br label %374

337:                                              ; preds = %93
  call void @llvm.lifetime.start.p0(i64 8, ptr %43) #10
  %338 = getelementptr inbounds %class.RealPositionMapper, ptr %47, i32 0, i32 2
  store ptr %338, ptr %43, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %44) #10
  %339 = load ptr, ptr %43, align 8, !tbaa !5
  %340 = call ptr @_ZNSt6vectorIP11DexPositionSaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %339) #10
  %341 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %44, i32 0, i32 0
  store ptr %340, ptr %341, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %45) #10
  %342 = load ptr, ptr %43, align 8, !tbaa !5
  %343 = call ptr @_ZNSt6vectorIP11DexPositionSaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %342) #10
  %344 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %45, i32 0, i32 0
  store ptr %343, ptr %344, align 8
  br label %345

345:                                              ; preds = %368, %337
  %346 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPP11DexPositionSt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %44, ptr noundef nonnull align 8 dereferenceable(8) %45) #10
  br i1 %346, label %348, label %347

347:                                              ; preds = %345
  store i32 12, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %45) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %44) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %43) #10
  br label %370

348:                                              ; preds = %345
  call void @llvm.lifetime.start.p0(i64 8, ptr %46) #10
  %349 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPP11DexPositionSt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %44) #10
  %350 = load ptr, ptr %349, align 8, !tbaa !5
  store ptr %350, ptr %46, align 8, !tbaa !5
  %351 = load ptr, ptr %3, align 8, !tbaa !5
  %352 = load ptr, ptr %46, align 8, !tbaa !5
  %353 = invoke noundef zeroext i1 @_ZNK28PositionPatternSwitchManager18is_switch_positionEP11DexPosition(ptr noundef nonnull align 8 dereferenceable(240) %351, ptr noundef %352)
          to label %354 unwind label %363

354:                                              ; preds = %348
  br i1 %353, label %355, label %367

355:                                              ; preds = %354
  %356 = load ptr, ptr %46, align 8, !tbaa !5
  %357 = getelementptr inbounds %struct.DexPosition, ptr %356, i32 0, i32 2
  %358 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN12UnorderedMapIjjSt4hashIjESt8equal_toIjEE2atERKj(ptr noundef nonnull align 8 dereferenceable(56) %19, ptr noundef nonnull align 4 dereferenceable(4) %357)
          to label %359 unwind label %363

359:                                              ; preds = %355
  %360 = load i32, ptr %358, align 4, !tbaa !9
  %361 = load ptr, ptr %46, align 8, !tbaa !5
  %362 = getelementptr inbounds %struct.DexPosition, ptr %361, i32 0, i32 2
  store i32 %360, ptr %362, align 8, !tbaa !28
  br label %367

363:                                              ; preds = %355, %348
  %364 = landingpad { ptr, i32 }
          cleanup
  %365 = extractvalue { ptr, i32 } %364, 0
  store ptr %365, ptr %11, align 8
  %366 = extractvalue { ptr, i32 } %364, 1
  store i32 %366, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %46) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %45) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %44) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %43) #10
  br label %374

367:                                              ; preds = %359, %354
  call void @llvm.lifetime.end.p0(i64 8, ptr %46) #10
  br label %368

368:                                              ; preds = %367
  %369 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPP11DexPositionSt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %44) #10
  br label %345

370:                                              ; preds = %347
  call void @_ZN12UnorderedMapIjjSt4hashIjESt8equal_toIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %19) #10
  call void @llvm.lifetime.end.p0(i64 56, ptr %19) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #10
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr %9) #10
  call void @_ZN19ConcurrentContainerISt13unordered_setIP11DexPositionSt4hashIS2_ESt8equal_toIS2_ESaIS2_EELm83EED2Ev(ptr noundef nonnull align 8 dereferenceable(2664) %8) #10
  call void @llvm.lifetime.end.p0(i64 2664, ptr %8) #10
  call void @_ZN19ConcurrentContainerISt13unordered_setIjSt4hashIjESt8equal_toIjESaIjEELm83EED2Ev(ptr noundef nonnull align 8 dereferenceable(2664) %7) #10
  call void @llvm.lifetime.end.p0(i64 2664, ptr %7) #10
  call void @_ZN19ConcurrentContainerISt13unordered_mapIjSt6vectorI12PositionCaseSaIS2_EESt4hashIjESt8equal_toIjESaISt4pairIKjS4_EEELm83EED2Ev(ptr noundef nonnull align 8 dereferenceable(5984) %6) #10
  call void @llvm.lifetime.end.p0(i64 5984, ptr %6) #10
  call void @_ZNSt6vectorIS_I12PositionCaseSaIS0_EESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr %5) #10
  store i32 0, ptr %4, align 4
  br label %371

371:                                              ; preds = %370, %52
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #10
  %372 = load i32, ptr %4, align 4
  switch i32 %372, label %385 [
    i32 0, label %373
    i32 1, label %373
  ]

373:                                              ; preds = %371, %371
  ret void

374:                                              ; preds = %363, %336
  call void @_ZN12UnorderedMapIjjSt4hashIjESt8equal_toIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %19) #10
  br label %375

375:                                              ; preds = %374, %114
  call void @llvm.lifetime.end.p0(i64 56, ptr %19) #10
  br label %376

376:                                              ; preds = %375, %110
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #10
  br label %377

377:                                              ; preds = %376, %106
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #10
  br label %378

378:                                              ; preds = %377, %102
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #10
  br label %379

379:                                              ; preds = %378, %98, %94
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr %9) #10
  call void @_ZN19ConcurrentContainerISt13unordered_setIP11DexPositionSt4hashIS2_ESt8equal_toIS2_ESaIS2_EELm83EED2Ev(ptr noundef nonnull align 8 dereferenceable(2664) %8) #10
  call void @llvm.lifetime.end.p0(i64 2664, ptr %8) #10
  call void @_ZN19ConcurrentContainerISt13unordered_setIjSt4hashIjESt8equal_toIjESaIjEELm83EED2Ev(ptr noundef nonnull align 8 dereferenceable(2664) %7) #10
  call void @llvm.lifetime.end.p0(i64 2664, ptr %7) #10
  call void @_ZN19ConcurrentContainerISt13unordered_mapIjSt6vectorI12PositionCaseSaIS2_EESt4hashIjESt8equal_toIjESaISt4pairIKjS4_EEELm83EED2Ev(ptr noundef nonnull align 8 dereferenceable(5984) %6) #10
  call void @llvm.lifetime.end.p0(i64 5984, ptr %6) #10
  call void @_ZNSt6vectorIS_I12PositionCaseSaIS0_EESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr %5) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #10
  br label %380

380:                                              ; preds = %379
  %381 = load ptr, ptr %11, align 8
  %382 = load i32, ptr %12, align 4
  %383 = insertvalue { ptr, i32 } poison, ptr %381, 0
  %384 = insertvalue { ptr, i32 } %383, i32 %382, 1
  resume { ptr, i32 } %384

385:                                              ; preds = %371, %215
  unreachable
}

declare noundef ptr @_ZN12RedexContext35get_position_pattern_switch_managerEv(ptr noundef nonnull align 8 dereferenceable(389504)) #2

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK28PositionPatternSwitchManager5emptyEv(ptr noundef nonnull align 8 dereferenceable(240)) #7 align 2

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare hidden noundef nonnull align 8 dereferenceable(32) ptr @"_ZNSt8functionIFvP11DexPositionEEaSIZN18RealPositionMapper32process_pattern_switch_positionsEvE3$_0EENSt9enable_ifIXsrNS3_9_CallableIT_NS7_IXntsr7is_sameINSt9remove_cvINSt16remove_referenceIS9_E4typeEE4typeES3_EE5valueESt5decayIS9_EE4type4typeESt15__invoke_resultIRSK_JS1_EEEE5valueERS3_E4typeEOS9_"(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(48)) #7 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z13workqueue_runIP11DexPositionSt8functionIFvS1_EESt6vectorIS1_SaIS1_EETnNSt9enable_ifIXeqsr5ArityIT0_EE5valueLi1EEiE4typeELi0EEvRKS9_RT1_jb(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(24), i32 noundef, i1 noundef zeroext) #7

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef i64 @_ZN14redex_parallel19default_num_threadsEv() #8

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i64 @_ZNK19ConcurrentContainerISt13unordered_setIjSt4hashIjESt8equal_toIjESaIjEELm83EE5countERKj(ptr noundef nonnull align 8 dereferenceable(2664), ptr noundef nonnull align 4 dereferenceable(4)) #7 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i64 @_ZNK19ConcurrentContainerISt13unordered_mapIjSt6vectorI12PositionCaseSaIS2_EESt4hashIjESt8equal_toIjESaISt4pairIKjS4_EEELm83EE5countERSA_(ptr noundef nonnull align 8 dereferenceable(2664), ptr noundef nonnull align 4 dereferenceable(4)) #7 align 2

; Function Attrs: mustprogress uwtable
declare dso_local { ptr, i8 } @_ZN12UnorderedMapIP11DexPositionlSt4hashIS1_ESt8equal_toIS1_EE7emplaceIJRS1_mEEESt4pairINS6_13FixedIteratorEbEDpOT_(ptr noundef nonnull align 8 dereferenceable(56), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #7 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorI12PositionCaseSaIS0_EE9push_backERKS0_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(16)) #7 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @"_ZSt4sortIN9__gnu_cxx17__normal_iteratorIP12PositionCaseSt6vectorIS2_SaIS2_EEEEZN18RealPositionMapper32process_pattern_switch_positionsEvE3$_1EvT_SA_T0_"(ptr, ptr) #8

; Function Attrs: mustprogress uwtable
declare dso_local { ptr, i8 } @_ZN12UnorderedMapIjjSt4hashIjESt8equal_toIjEE7emplaceIJRjmEEESt4pairINS4_13FixedIteratorEbEDpOT_(ptr noundef nonnull align 8 dereferenceable(56), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 8 dereferenceable(8)) #7 align 2

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

; Function Attrs: nobuiltin nounwind
declare void @_ZdlPvm(ptr noundef, i64 noundef) #9

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZN12UnorderedMapIjjSt4hashIjESt8equal_toIjEE2atERKj(ptr noundef nonnull align 8 dereferenceable(56), ptr noundef nonnull align 4 dereferenceable(4)) #7 align 2

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

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

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

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

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

declare void @_ZN11DexPositionC1EPK9DexStringS2_j(ptr, ptr, ptr, i32)

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

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

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


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

%"class.std::vector.102" = type { %"struct.std::_Vector_base.103" }
%"struct.std::_Vector_base.103" = type { %"struct.std::_Vector_base<std::vector<PositionCase>, std::allocator<std::vector<PositionCase>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::vector<PositionCase>, std::allocator<std::vector<PositionCase>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::vector<PositionCase>, std::allocator<std::vector<PositionCase>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::vector<PositionCase>, std::allocator<std::vector<PositionCase>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%class.ConcurrentMap.340 = type { %class.ConcurrentContainer.341, [83 x %"class.std::mutex"] }
%class.ConcurrentContainer.341 = type { ptr, [83 x %"class.cc_impl::ConcurrentHashtable.342"] }
%"class.cc_impl::ConcurrentHashtable.342" = type { %"struct.std::atomic.343", %"struct.std::atomic.170", %"struct.std::atomic.172", %"struct.std::atomic.345" }
%"struct.std::atomic.343" = type { %"struct.std::__atomic_base.344" }
%"struct.std::__atomic_base.344" = type { ptr }
%"struct.std::atomic.170" = type { %"struct.std::__atomic_base.171" }
%"struct.std::__atomic_base.171" = type { i64 }
%"struct.std::atomic.172" = type { %"struct.std::__atomic_base.173" }
%"struct.std::__atomic_base.173" = type { i8 }
%"struct.std::atomic.345" = type { %"struct.std::__atomic_base.346" }
%"struct.std::__atomic_base.346" = type { ptr }
%"class.std::mutex" = type { %"class.std::__mutex_base" }
%"class.std::__mutex_base" = type { %union.pthread_mutex_t }
%union.pthread_mutex_t = type { %struct.__pthread_mutex_s }
%struct.__pthread_mutex_s = type { i32, i32, i32, i32, i32, i16, i16, %struct.__pthread_internal_list }
%struct.__pthread_internal_list = type { ptr, ptr }
%class.InsertOnlyConcurrentSet.348 = type { %class.ConcurrentContainer.349 }
%class.ConcurrentContainer.349 = type { ptr, [83 x %"class.cc_impl::ConcurrentHashtable.350"] }
%"class.cc_impl::ConcurrentHashtable.350" = type { %"struct.std::atomic.351", %"struct.std::atomic.170", %"struct.std::atomic.172", %"struct.std::atomic.353" }
%"struct.std::atomic.351" = type { %"struct.std::__atomic_base.352" }
%"struct.std::__atomic_base.352" = type { ptr }
%"struct.std::atomic.353" = type { %"struct.std::__atomic_base.354" }
%"struct.std::__atomic_base.354" = type { ptr }
%class.InsertOnlyConcurrentSet.356 = type { %class.ConcurrentContainer.357 }
%class.ConcurrentContainer.357 = type { ptr, [83 x %"class.cc_impl::ConcurrentHashtable.358"] }
%"class.cc_impl::ConcurrentHashtable.358" = type { %"struct.std::atomic.359", %"struct.std::atomic.170", %"struct.std::atomic.172", %"struct.std::atomic.361" }
%"struct.std::atomic.359" = type { %"struct.std::__atomic_base.360" }
%"struct.std::__atomic_base.360" = type { ptr }
%"struct.std::atomic.361" = type { %"struct.std::__atomic_base.362" }
%"struct.std::__atomic_base.362" = type { ptr }
%"class.std::function" = type { %"class.std::_Function_base", ptr }
%"class.std::_Function_base" = type { %"union.std::_Any_data", ptr }
%"union.std::_Any_data" = type { %"union.std::_Nocopy_types" }
%"union.std::_Nocopy_types" = type { { i64, i64 } }
%class.anon = type { ptr, ptr, ptr, ptr, ptr, ptr }
%"class.std::basic_string_view" = type { i64, ptr }
%class.UnorderedMap.365 = type { %"class.std::unordered_map.367" }
%"class.std::unordered_map.367" = type { %"class.std::_Hashtable.368" }
%"class.std::_Hashtable.368" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"struct.std::__detail::_Hash_node_base" = type { ptr }
%"struct.std::__detail::_Prime_rehash_policy" = type { float, i64 }
%"class.std::vector.122" = type { %"struct.std::_Vector_base.123" }
%"struct.std::_Vector_base.123" = type { %"struct.std::_Vector_base<PositionCase, std::allocator<PositionCase>>::_Vector_impl" }
%"struct.std::_Vector_base<PositionCase, std::allocator<PositionCase>>::_Vector_impl" = type { %"struct.std::_Vector_base<PositionCase, std::allocator<PositionCase>>::_Vector_impl_data" }
%"struct.std::_Vector_base<PositionCase, std::allocator<PositionCase>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.__gnu_cxx::__normal_iterator.127" = type { ptr }
%"struct.std::pair.136" = type <{ %"class.UnorderedMap<DexPosition *, long>::FixedIterator", i8, [7 x i8] }>
%"class.UnorderedMap<DexPosition *, long>::FixedIterator" = type { %"struct.std::__detail::_Node_iterator.138" }
%"struct.std::__detail::_Node_iterator.138" = type { %"struct.std::__detail::_Node_iterator_base.139" }
%"struct.std::__detail::_Node_iterator_base.139" = type { ptr }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }

@.str.9 = external hidden unnamed_addr constant [73 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [17 x i8], align 1
@g_redex = external local_unnamed_addr global ptr, align 8
@.str.21 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [17 x i8], align 1
@__PRETTY_FUNCTION__._ZN18RealPositionMapper32process_pattern_switch_positionsEv = external hidden unnamed_addr constant [60 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: noreturn
declare void @_Z11assert_failPKcS0_jS0_10RedexErrorS0_z(ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, ...) local_unnamed_addr #1

declare noundef ptr @_ZN9DexString11make_stringESt17basic_string_viewIcSt11char_traitsIcEE(i64, ptr) local_unnamed_addr #2

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

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

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znwm(i64 noundef) local_unnamed_addr #4

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

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

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i64 @_ZN18RealPositionMapper12add_positionEP11DexPosition(ptr noundef nonnull align 8 dereferenceable(224), ptr noundef) local_unnamed_addr #6 align 2

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN18RealPositionMapper32process_pattern_switch_positionsEv(ptr noundef nonnull align 8 dereferenceable(224) %0) local_unnamed_addr #6 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca ptr, align 8
  %3 = alloca %"class.std::vector.102", align 8
  %4 = alloca %class.ConcurrentMap.340, align 8
  %5 = alloca %class.InsertOnlyConcurrentSet.348, align 8
  %6 = alloca %class.InsertOnlyConcurrentSet.356, align 8
  %7 = alloca %"class.std::function", align 8
  %8 = alloca %class.anon, align 8
  %9 = alloca %"class.std::basic_string_view", align 8
  %10 = alloca %"class.std::basic_string_view", align 8
  %11 = alloca %"class.std::basic_string_view", align 8
  %12 = alloca %class.UnorderedMap.365, align 8
  %13 = alloca i32, align 4
  %14 = alloca %"class.std::vector.122", align 8
  %15 = alloca %"class.__gnu_cxx::__normal_iterator.127", align 8
  %16 = alloca %"class.__gnu_cxx::__normal_iterator.127", align 8
  %17 = alloca ptr, align 8
  %18 = alloca %"struct.std::pair.136", align 8
  %19 = alloca i64, align 8
  %20 = alloca i64, align 8
  %21 = alloca ptr, align 8
  %22 = alloca %"class.__gnu_cxx::__normal_iterator.127", align 8
  %23 = alloca %"class.__gnu_cxx::__normal_iterator.127", align 8
  %24 = alloca ptr, align 8
  %25 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %26 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #9
  %27 = load ptr, ptr @g_redex, align 8, !tbaa !5
  %28 = tail call noundef ptr @_ZN12RedexContext35get_position_pattern_switch_managerEv(ptr noundef nonnull align 8 dereferenceable(389504) %27)
  store ptr %28, ptr %2, align 8, !tbaa !5
  %29 = tail call noundef zeroext i1 @_ZNK28PositionPatternSwitchManager5emptyEv(ptr noundef nonnull align 8 dereferenceable(240) %28)
  br i1 %29, label %198, label %30

30:                                               ; preds = %1
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %3) #9
  %31 = tail call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK28PositionPatternSwitchManager12get_switchesEv(ptr noundef nonnull align 8 dereferenceable(240) %28)
  call void @_ZNSt6vectorIS_I12PositionCaseSaIS0_EESaIS2_EEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(24) %3, ptr noundef nonnull align 8 dereferenceable(24) %31)
  call void @llvm.lifetime.start.p0(i64 5984, ptr nonnull %4) #9
  call void @_ZN13ConcurrentMapIjSt6vectorI12PositionCaseSaIS1_EESt4hashIjESt8equal_toIjELm83EEC2Ev(ptr noundef nonnull align 8 dereferenceable(5984) %4) #9
  call void @llvm.lifetime.start.p0(i64 2664, ptr nonnull %5) #9
  call void @_ZN23InsertOnlyConcurrentSetIjSt4hashIjESt8equal_toIjELm83EEC2Ev(ptr noundef nonnull align 8 dereferenceable(2664) %5) #9
  call void @llvm.lifetime.start.p0(i64 2664, ptr nonnull %6) #9
  call void @_ZN23InsertOnlyConcurrentSetIP11DexPositionSt4hashIS1_ESt8equal_toIS1_ELm83EEC2Ev(ptr noundef nonnull align 8 dereferenceable(2664) %6) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %7) #9
  call void @_ZNSt8functionIFvP11DexPositionEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %7) #9
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %8) #9
  store ptr %6, ptr %8, align 8, !tbaa !5
  %32 = getelementptr inbounds i8, ptr %8, i64 8
  store ptr %2, ptr %32, align 8, !tbaa !5
  %33 = getelementptr inbounds i8, ptr %8, i64 16
  store ptr %4, ptr %33, align 8, !tbaa !5
  %34 = getelementptr inbounds i8, ptr %8, i64 24
  store ptr %7, ptr %34, align 8, !tbaa !5
  %35 = getelementptr inbounds i8, ptr %8, i64 32
  store ptr %5, ptr %35, align 8, !tbaa !5
  %36 = getelementptr inbounds i8, ptr %8, i64 40
  store ptr %3, ptr %36, align 8, !tbaa !5
  %37 = invoke noundef nonnull align 8 dereferenceable(32) ptr @"_ZNSt8functionIFvP11DexPositionEEaSIZN18RealPositionMapper32process_pattern_switch_positionsEvE3$_0EENSt9enable_ifIXsrNS3_9_CallableIT_NS7_IXntsr7is_sameINSt9remove_cvINSt16remove_referenceIS9_E4typeEE4typeES3_EE5valueESt5decayIS9_EE4type4typeESt15__invoke_resultIRSK_JS1_EEEE5valueERS3_E4typeEOS9_"(ptr noundef nonnull align 8 dereferenceable(32) %7, ptr noundef nonnull align 8 dereferenceable(48) %8)
          to label %38 unwind label %65

38:                                               ; preds = %30
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %8) #9
  %39 = getelementptr inbounds i8, ptr %0, i64 40
  %40 = invoke noundef i64 @_ZN14redex_parallel19default_num_threadsEv()
          to label %41 unwind label %67

41:                                               ; preds = %38
  %42 = trunc i64 %40 to i32
  invoke void @_Z13workqueue_runIP11DexPositionSt8functionIFvS1_EESt6vectorIS1_SaIS1_EETnNSt9enable_ifIXeqsr5ArityIT0_EE5valueLi1EEiE4typeELi0EEvRKS9_RT1_jb(ptr noundef nonnull align 8 dereferenceable(32) %7, ptr noundef nonnull align 8 dereferenceable(24) %39, i32 noundef %42, i1 noundef zeroext false)
          to label %43 unwind label %67

43:                                               ; preds = %41
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %9, ptr noundef @.str.21) #9
  %44 = load i64, ptr %9, align 8
  %45 = getelementptr inbounds i8, ptr %9, i64 8
  %46 = load ptr, ptr %45, align 8
  %47 = invoke noundef ptr @_ZN9DexString11make_stringESt17basic_string_viewIcSt11char_traitsIcEE(i64 %44, ptr %46)
          to label %48 unwind label %69

48:                                               ; preds = %43
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %10, ptr noundef @.str.22) #9
  %49 = load i64, ptr %10, align 8
  %50 = getelementptr inbounds i8, ptr %10, i64 8
  %51 = load ptr, ptr %50, align 8
  %52 = invoke noundef ptr @_ZN9DexString11make_stringESt17basic_string_viewIcSt11char_traitsIcEE(i64 %49, ptr %51)
          to label %53 unwind label %71

53:                                               ; preds = %48
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %11, ptr noundef @.str.12) #9
  %54 = load i64, ptr %11, align 8
  %55 = getelementptr inbounds i8, ptr %11, i64 8
  %56 = load ptr, ptr %55, align 8
  %57 = invoke noundef ptr @_ZN9DexString11make_stringESt17basic_string_viewIcSt11char_traitsIcEE(i64 %54, ptr %56)
          to label %58 unwind label %73

58:                                               ; preds = %53
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %12) #9
  call void @_ZN12UnorderedMapIjjSt4hashIjESt8equal_toIjEEC2Ev(ptr noundef nonnull align 8 dereferenceable(56) %12)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %13) #9
  store i32 0, ptr %13, align 4, !tbaa !9
  %59 = call noundef i64 @_ZNKSt6vectorIS_I12PositionCaseSaIS0_EESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %3) #9
  %.not88 = icmp eq i64 %59, 0
  br i1 %.not88, label %._crit_edge84, label %.lr.ph83

.lr.ph83:                                         ; preds = %58
  %60 = getelementptr inbounds i8, ptr %0, i64 64
  %.sroa.2.0..sroa_idx = getelementptr inbounds i8, ptr %18, i64 8
  %61 = getelementptr inbounds i8, ptr %0, i64 200
  br label %75

._crit_edge84:                                    ; preds = %176, %58
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %13) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %25) #9
  %62 = call ptr @_ZNSt6vectorIP11DexPositionSaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %39) #9
  store ptr %62, ptr %25, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %26) #9
  %63 = call ptr @_ZNSt6vectorIP11DexPositionSaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %39) #9
  store ptr %63, ptr %26, align 8
  %64 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPP11DexPositionSt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %25, ptr noundef nonnull align 8 dereferenceable(8) %26) #9
  br i1 %64, label %.lr.ph86, label %._crit_edge87

65:                                               ; preds = %30
  %66 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %8) #9
  br label %200

67:                                               ; preds = %41, %38
  %68 = landingpad { ptr, i32 }
          cleanup
  br label %200

69:                                               ; preds = %43
  %70 = landingpad { ptr, i32 }
          cleanup
  br label %200

71:                                               ; preds = %48
  %72 = landingpad { ptr, i32 }
          cleanup
  br label %200

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

75:                                               ; preds = %.lr.ph83, %176
  %76 = invoke noundef i64 @_ZNK19ConcurrentContainerISt13unordered_setIjSt4hashIjESt8equal_toIjESaIjEELm83EE5countERKj(ptr noundef nonnull align 8 dereferenceable(2664) %5, ptr noundef nonnull align 4 dereferenceable(4) %13)
          to label %77 unwind label %78

77:                                               ; preds = %75
  %.not = icmp eq i64 %76, 0
  br i1 %.not, label %176, label %80

78:                                               ; preds = %75
  %79 = landingpad { ptr, i32 }
          cleanup
  br label %183

80:                                               ; preds = %77
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %14) #9
  call void @_ZNSt6vectorI12PositionCaseSaIS0_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %14) #9
  %81 = load i32, ptr %13, align 4, !tbaa !9
  %82 = zext i32 %81 to i64
  %83 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_I12PositionCaseSaIS0_EESaIS2_EE2atEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %82)
          to label %84 unwind label %90

84:                                               ; preds = %80
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %15) #9
  %85 = call ptr @_ZNSt6vectorI12PositionCaseSaIS0_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %83) #9
  store ptr %85, ptr %15, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %16) #9
  %86 = call ptr @_ZNSt6vectorI12PositionCaseSaIS0_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %83) #9
  store ptr %86, ptr %16, align 8
  %87 = call noundef zeroext i1 @_ZN9__gnu_cxxneIP12PositionCaseSt6vectorIS1_SaIS1_EEEEbRKNS_17__normal_iteratorIT_T0_EESB_(ptr noundef nonnull align 8 dereferenceable(8) %15, ptr noundef nonnull align 8 dereferenceable(8) %16) #9
  br i1 %87, label %.lr.ph78, label %._crit_edge

._crit_edge:                                      ; preds = %122, %84
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #9
  %88 = call ptr @_ZNSt6vectorI12PositionCaseSaIS0_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %14) #9
  %89 = call ptr @_ZNSt6vectorI12PositionCaseSaIS0_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %14) #9
  invoke void @"_ZSt4sortIN9__gnu_cxx17__normal_iteratorIP12PositionCaseSt6vectorIS2_SaIS2_EEEEZN18RealPositionMapper32process_pattern_switch_positionsEvE3$_1EvT_SA_T0_"(ptr %88, ptr %89)
          to label %126 unwind label %143

90:                                               ; preds = %80
  %91 = landingpad { ptr, i32 }
          cleanup
  br label %182

.lr.ph78:                                         ; preds = %84, %122
  %92 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK9__gnu_cxx17__normal_iteratorIP12PositionCaseSt6vectorIS1_SaIS1_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %15) #9
  %93 = invoke noundef i64 @_ZNK19ConcurrentContainerISt13unordered_mapIjSt6vectorI12PositionCaseSaIS2_EESt4hashIjESt8equal_toIjESaISt4pairIKjS4_EEELm83EE5countERSA_(ptr noundef nonnull align 8 dereferenceable(2664) %4, ptr noundef nonnull align 4 dereferenceable(4) %92)
          to label %94 unwind label %95

94:                                               ; preds = %.lr.ph78
  %.not46 = icmp eq i64 %93, 0
  br i1 %.not46, label %122, label %97

95:                                               ; preds = %.critedge, %.lr.ph78
  %96 = landingpad { ptr, i32 }
          cleanup
  br label %125

97:                                               ; preds = %94
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %17) #9
  %98 = getelementptr inbounds i8, ptr %92, i64 8
  %storemerge4774 = load ptr, ptr %98, align 8, !tbaa !5
  store ptr %storemerge4774, ptr %17, align 8, !tbaa !5
  %.not4875 = icmp eq ptr %storemerge4774, null
  br i1 %.not4875, label %.critedge, label %.lr.ph

.lr.ph:                                           ; preds = %97, %118
  %storemerge4776 = phi ptr [ %storemerge47, %118 ], [ %storemerge4774, %97 ]
  %99 = getelementptr inbounds i8, ptr %storemerge4776, i64 8
  %100 = load ptr, ptr %99, align 8, !tbaa !11
  %.not49 = icmp eq ptr %100, null
  br i1 %.not49, label %.critedge, label %101

.critedge:                                        ; preds = %.lr.ph, %118, %97
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #9
  invoke void @_ZNSt6vectorI12PositionCaseSaIS0_EE9push_backERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %14, ptr noundef nonnull align 8 dereferenceable(16) %92)
          to label %122 unwind label %95

101:                                              ; preds = %.lr.ph
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %18) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %19) #9
  %102 = call noundef i64 @_ZNKSt6vectorIP11DexPositionSaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %39) #9
  store i64 %102, ptr %19, align 8, !tbaa !13
  %103 = invoke { ptr, i8 } @_ZN12UnorderedMapIP11DexPositionlSt4hashIS1_ESt8equal_toIS1_EE7emplaceIJRS1_mEEESt4pairINS6_13FixedIteratorEbEDpOT_(ptr noundef nonnull align 8 dereferenceable(56) %60, ptr noundef nonnull align 8 dereferenceable(8) %17, ptr noundef nonnull align 8 dereferenceable(8) %19)
          to label %104 unwind label %110

104:                                              ; preds = %101
  %.fca.0.extract = extractvalue { ptr, i8 } %103, 0
  %.fca.1.extract = extractvalue { ptr, i8 } %103, 1
  store ptr %.fca.0.extract, ptr %18, align 8
  store i8 %.fca.1.extract, ptr %.sroa.2.0..sroa_idx, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #9
  %105 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3getILm0EN12UnorderedMapIP11DexPositionlSt4hashIS2_ESt8equal_toIS2_EE13FixedIteratorEbEONSt13tuple_elementIXT_ESt4pairIT0_T1_EE4typeEOSD_(ptr noundef nonnull align 8 dereferenceable(9) %18) #9
  %106 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZSt3getILm1EN12UnorderedMapIP11DexPositionlSt4hashIS2_ESt8equal_toIS2_EE13FixedIteratorEbEONSt13tuple_elementIXT_ESt4pairIT0_T1_EE4typeEOSD_(ptr noundef nonnull align 8 dereferenceable(9) %18) #9
  %107 = load i8, ptr %106, align 1, !tbaa !15, !range !17, !noundef !18
  %108 = trunc nuw i8 %107 to i1
  br i1 %108, label %109, label %112

109:                                              ; preds = %104
  invoke void @_ZNSt6vectorIP11DexPositionSaIS1_EE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %39, ptr noundef nonnull align 8 dereferenceable(8) %17)
          to label %118 unwind label %.loopexit

110:                                              ; preds = %101
  %111 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #9
  br label %121

.loopexit:                                        ; preds = %109
  %lpad.loopexit = landingpad { ptr, i32 }
          cleanup
  br label %121

.loopexit.split-lp:                               ; preds = %116
  %lpad.loopexit.split-lp = landingpad { ptr, i32 }
          cleanup
  br label %121

112:                                              ; preds = %104
  %113 = call noundef ptr @_ZNK12UnorderedMapIP11DexPositionlSt4hashIS1_ESt8equal_toIS1_EE13FixedIteratorptEv(ptr noundef nonnull align 8 dereferenceable(8) %105)
  %114 = getelementptr inbounds i8, ptr %113, i64 8
  %115 = load i64, ptr %114, align 8, !tbaa !19
  %.not50 = icmp eq i64 %115, -1
  br i1 %.not50, label %116, label %118

116:                                              ; preds = %112
  invoke void (ptr, ptr, i32, ptr, i32, ptr, ...) @_Z11assert_failPKcS0_jS0_10RedexErrorS0_z(ptr noundef nonnull @.str.23, ptr noundef nonnull @.str.9, i32 noundef 243, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN18RealPositionMapper32process_pattern_switch_positionsEv, i32 noundef 2, ptr noundef nonnull @.str.10) #10
          to label %117 unwind label %.loopexit.split-lp

117:                                              ; preds = %116
  unreachable

118:                                              ; preds = %112, %109
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %18) #9
  %119 = load ptr, ptr %17, align 8, !tbaa !5
  %120 = getelementptr inbounds i8, ptr %119, i64 24
  %storemerge47 = load ptr, ptr %120, align 8, !tbaa !5
  store ptr %storemerge47, ptr %17, align 8, !tbaa !5
  %.not48 = icmp eq ptr %storemerge47, null
  br i1 %.not48, label %.critedge, label %.lr.ph, !llvm.loop !21

121:                                              ; preds = %.loopexit, %.loopexit.split-lp, %110
  %.pn51 = phi { ptr, i32 } [ %111, %110 ], [ %lpad.loopexit, %.loopexit ], [ %lpad.loopexit.split-lp, %.loopexit.split-lp ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %18) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #9
  br label %125

122:                                              ; preds = %.critedge, %94
  %123 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIP12PositionCaseSt6vectorIS1_SaIS1_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %15) #9
  %124 = call noundef zeroext i1 @_ZN9__gnu_cxxneIP12PositionCaseSt6vectorIS1_SaIS1_EEEEbRKNS_17__normal_iteratorIT_T0_EESB_(ptr noundef nonnull align 8 dereferenceable(8) %15, ptr noundef nonnull align 8 dereferenceable(8) %16) #9
  br i1 %124, label %.lr.ph78, label %._crit_edge

125:                                              ; preds = %121, %95
  %.pn51.pn = phi { ptr, i32 } [ %.pn51, %121 ], [ %96, %95 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #9
  br label %182

126:                                              ; preds = %._crit_edge
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %20) #9
  %127 = call noundef i64 @_ZNKSt6vectorIP11DexPositionSaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %39) #9
  store i64 %127, ptr %20, align 8, !tbaa !13
  %128 = invoke { ptr, i8 } @_ZN12UnorderedMapIjjSt4hashIjESt8equal_toIjEE7emplaceIJRjmEEESt4pairINS4_13FixedIteratorEbEDpOT_(ptr noundef nonnull align 8 dereferenceable(56) %12, ptr noundef nonnull align 4 dereferenceable(4) %13, ptr noundef nonnull align 8 dereferenceable(8) %20)
          to label %129 unwind label %145

129:                                              ; preds = %126
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %20) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %21) #9
  %130 = invoke noalias noundef nonnull dereferenceable(32) ptr @_Znwm(i64 noundef 32) #11
          to label %131 unwind label %147

131:                                              ; preds = %129
  %132 = call noundef i64 @_ZNKSt6vectorI12PositionCaseSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %14) #9
  %133 = trunc i64 %132 to i32
  invoke void @_ZN11DexPositionC1EPK9DexStringS2_j(ptr noundef nonnull align 8 dereferenceable(32) %130, ptr noundef %47, ptr noundef %57, i32 noundef %133)
          to label %134 unwind label %149

134:                                              ; preds = %131
  store ptr %130, ptr %21, align 8, !tbaa !5
  %135 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorISt10unique_ptrI11DexPositionSt14default_deleteIS1_EESaIS4_EE12emplace_backIJRPS1_EEERS4_DpOT_(ptr noundef nonnull align 8 dereferenceable(24) %61, ptr noundef nonnull align 8 dereferenceable(8) %21)
          to label %136 unwind label %147

136:                                              ; preds = %134
  %137 = load ptr, ptr %21, align 8, !tbaa !5
  %138 = invoke noundef i64 @_ZN18RealPositionMapper12add_positionEP11DexPosition(ptr noundef nonnull align 8 dereferenceable(224) %0, ptr noundef %137)
          to label %139 unwind label %147

139:                                              ; preds = %136
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %21) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %22) #9
  %140 = call ptr @_ZNSt6vectorI12PositionCaseSaIS0_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %14) #9
  store ptr %140, ptr %22, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %23) #9
  %141 = call ptr @_ZNSt6vectorI12PositionCaseSaIS0_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %14) #9
  store ptr %141, ptr %23, align 8
  %142 = call noundef zeroext i1 @_ZN9__gnu_cxxneIP12PositionCaseSt6vectorIS1_SaIS1_EEEEbRKNS_17__normal_iteratorIT_T0_EESB_(ptr noundef nonnull align 8 dereferenceable(8) %22, ptr noundef nonnull align 8 dereferenceable(8) %23) #9
  br i1 %142, label %.lr.ph80, label %._crit_edge81

._crit_edge81:                                    ; preds = %172, %139
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %23) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %22) #9
  call void @_ZNSt6vectorI12PositionCaseSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %14) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %14) #9
  br label %176

143:                                              ; preds = %._crit_edge
  %144 = landingpad { ptr, i32 }
          cleanup
  br label %182

145:                                              ; preds = %126
  %146 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %20) #9
  br label %182

147:                                              ; preds = %136, %134, %129
  %148 = landingpad { ptr, i32 }
          cleanup
  br label %151

149:                                              ; preds = %131
  %150 = landingpad { ptr, i32 }
          cleanup
  call void @_ZdlPvm(ptr noundef nonnull %130, i64 noundef 32) #12
  br label %151

151:                                              ; preds = %149, %147
  %.pn = phi { ptr, i32 } [ %148, %147 ], [ %150, %149 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %21) #9
  br label %182

.lr.ph80:                                         ; preds = %139, %172
  %152 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK9__gnu_cxx17__normal_iteratorIP12PositionCaseSt6vectorIS1_SaIS1_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %22) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %24) #9
  %153 = invoke noalias noundef nonnull dereferenceable(32) ptr @_Znwm(i64 noundef 32) #11
          to label %154 unwind label %.loopexit62

154:                                              ; preds = %.lr.ph80
  %155 = load i32, ptr %152, align 8, !tbaa !23
  invoke void @_ZN11DexPositionC1EPK9DexStringS2_j(ptr noundef nonnull align 8 dereferenceable(32) %153, ptr noundef %52, ptr noundef %57, i32 noundef %155)
          to label %156 unwind label %163

156:                                              ; preds = %154
  store ptr %153, ptr %24, align 8, !tbaa !5
  %157 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorISt10unique_ptrI11DexPositionSt14default_deleteIS1_EESaIS4_EE12emplace_backIJRPS1_EEERS4_DpOT_(ptr noundef nonnull align 8 dereferenceable(24) %61, ptr noundef nonnull align 8 dereferenceable(8) %24)
          to label %158 unwind label %.loopexit62

158:                                              ; preds = %156
  %159 = getelementptr inbounds i8, ptr %152, i64 8
  %160 = load ptr, ptr %159, align 8, !tbaa !25
  %.not42 = icmp eq ptr %160, null
  br i1 %.not42, label %.invoke, label %165

.invoke:                                          ; preds = %158, %165
  %161 = phi ptr [ @.str.18, %165 ], [ @.str.17, %158 ]
  %162 = phi i32 [ 268, %165 ], [ 267, %158 ]
  invoke void (ptr, ptr, i32, ptr, i32, ptr, ...) @_Z11assert_failPKcS0_jS0_10RedexErrorS0_z(ptr noundef nonnull %161, ptr noundef nonnull @.str.9, i32 noundef %162, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN18RealPositionMapper32process_pattern_switch_positionsEv, i32 noundef 2, ptr noundef nonnull @.str.10) #10
          to label %.cont unwind label %.loopexit.split-lp63

.cont:                                            ; preds = %.invoke
  unreachable

.loopexit62:                                      ; preds = %.lr.ph80, %156, %168
  %lpad.loopexit64 = landingpad { ptr, i32 }
          cleanup
  br label %175

.loopexit.split-lp63:                             ; preds = %.invoke
  %lpad.loopexit.split-lp65 = landingpad { ptr, i32 }
          cleanup
  br label %175

163:                                              ; preds = %154
  %164 = landingpad { ptr, i32 }
          cleanup
  call void @_ZdlPvm(ptr noundef nonnull %153, i64 noundef 32) #12
  br label %175

165:                                              ; preds = %158
  %166 = getelementptr inbounds i8, ptr %160, i64 8
  %167 = load ptr, ptr %166, align 8, !tbaa !11
  %.not43 = icmp eq ptr %167, null
  br i1 %.not43, label %.invoke, label %168

168:                                              ; preds = %165
  %169 = load ptr, ptr %24, align 8, !tbaa !5
  %170 = getelementptr inbounds i8, ptr %169, i64 24
  store ptr %160, ptr %170, align 8, !tbaa !26
  %171 = invoke noundef i64 @_ZN18RealPositionMapper12add_positionEP11DexPosition(ptr noundef nonnull align 8 dereferenceable(224) %0, ptr noundef nonnull %169)
          to label %172 unwind label %.loopexit62

172:                                              ; preds = %168
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %24) #9
  %173 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIP12PositionCaseSt6vectorIS1_SaIS1_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %22) #9
  %174 = call noundef zeroext i1 @_ZN9__gnu_cxxneIP12PositionCaseSt6vectorIS1_SaIS1_EEEEbRKNS_17__normal_iteratorIT_T0_EESB_(ptr noundef nonnull align 8 dereferenceable(8) %22, ptr noundef nonnull align 8 dereferenceable(8) %23) #9
  br i1 %174, label %.lr.ph80, label %._crit_edge81

175:                                              ; preds = %.loopexit62, %.loopexit.split-lp63, %163
  %.pn44 = phi { ptr, i32 } [ %164, %163 ], [ %lpad.loopexit64, %.loopexit62 ], [ %lpad.loopexit.split-lp65, %.loopexit.split-lp63 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %24) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %23) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %22) #9
  br label %182

176:                                              ; preds = %77, %._crit_edge81
  %177 = load i32, ptr %13, align 4, !tbaa !9
  %178 = add i32 %177, 1
  store i32 %178, ptr %13, align 4, !tbaa !9
  %179 = zext i32 %178 to i64
  %180 = call noundef i64 @_ZNKSt6vectorIS_I12PositionCaseSaIS0_EESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %3) #9
  %181 = icmp ugt i64 %180, %179
  br i1 %181, label %75, label %._crit_edge84, !llvm.loop !27

182:                                              ; preds = %90, %125, %175, %151, %145, %143
  %.pn51.pn.pn.pn = phi { ptr, i32 } [ %.pn44, %175 ], [ %.pn, %151 ], [ %146, %145 ], [ %144, %143 ], [ %.pn51.pn, %125 ], [ %91, %90 ]
  call void @_ZNSt6vectorI12PositionCaseSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %14) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %14) #9
  br label %183

183:                                              ; preds = %182, %78
  %.pn51.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn51.pn.pn.pn, %182 ], [ %79, %78 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %13) #9
  br label %199

._crit_edge87:                                    ; preds = %195, %._crit_edge84
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %26) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %25) #9
  call void @_ZN12UnorderedMapIjjSt4hashIjESt8equal_toIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %12) #9
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %12) #9
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %7) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %7) #9
  call void @_ZN19ConcurrentContainerISt13unordered_setIP11DexPositionSt4hashIS2_ESt8equal_toIS2_ESaIS2_EELm83EED2Ev(ptr noundef nonnull align 8 dereferenceable(2664) %6) #9
  call void @llvm.lifetime.end.p0(i64 2664, ptr nonnull %6) #9
  call void @_ZN19ConcurrentContainerISt13unordered_setIjSt4hashIjESt8equal_toIjESaIjEELm83EED2Ev(ptr noundef nonnull align 8 dereferenceable(2664) %5) #9
  call void @llvm.lifetime.end.p0(i64 2664, ptr nonnull %5) #9
  call void @_ZN19ConcurrentContainerISt13unordered_mapIjSt6vectorI12PositionCaseSaIS2_EESt4hashIjESt8equal_toIjESaISt4pairIKjS4_EEELm83EED2Ev(ptr noundef nonnull align 8 dereferenceable(5984) %4) #9
  call void @llvm.lifetime.end.p0(i64 5984, ptr nonnull %4) #9
  call void @_ZNSt6vectorIS_I12PositionCaseSaIS0_EESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #9
  br label %198

.lr.ph86:                                         ; preds = %._crit_edge84, %195
  %184 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPP11DexPositionSt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %25) #9
  %185 = load ptr, ptr %184, align 8, !tbaa !5
  %186 = load ptr, ptr %2, align 8, !tbaa !5
  %187 = call noundef zeroext i1 @_ZNK28PositionPatternSwitchManager18is_switch_positionEP11DexPosition(ptr noundef nonnull align 8 dereferenceable(240) %186, ptr noundef %185)
  br i1 %187, label %188, label %195

188:                                              ; preds = %.lr.ph86
  %189 = getelementptr inbounds i8, ptr %185, i64 16
  %190 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN12UnorderedMapIjjSt4hashIjESt8equal_toIjEE2atERKj(ptr noundef nonnull align 8 dereferenceable(56) %12, ptr noundef nonnull align 4 dereferenceable(4) %189)
          to label %191 unwind label %193

191:                                              ; preds = %188
  %192 = load i32, ptr %190, align 4, !tbaa !9
  store i32 %192, ptr %189, align 8, !tbaa !28
  br label %195

193:                                              ; preds = %188
  %194 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %26) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %25) #9
  br label %199

195:                                              ; preds = %191, %.lr.ph86
  %196 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPP11DexPositionSt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %25) #9
  %197 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPP11DexPositionSt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %25, ptr noundef nonnull align 8 dereferenceable(8) %26) #9
  br i1 %197, label %.lr.ph86, label %._crit_edge87

198:                                              ; preds = %1, %._crit_edge87
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #9
  ret void

199:                                              ; preds = %193, %183
  %.pn51.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn51.pn.pn.pn.pn, %183 ], [ %194, %193 ]
  call void @_ZN12UnorderedMapIjjSt4hashIjESt8equal_toIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %12) #9
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %12) #9
  br label %200

200:                                              ; preds = %69, %73, %199, %71, %67, %65
  %.pn51.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %68, %67 ], [ %66, %65 ], [ %70, %69 ], [ %72, %71 ], [ %.pn51.pn.pn.pn.pn.pn, %199 ], [ %74, %73 ]
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %7) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %7) #9
  call void @_ZN19ConcurrentContainerISt13unordered_setIP11DexPositionSt4hashIS2_ESt8equal_toIS2_ESaIS2_EELm83EED2Ev(ptr noundef nonnull align 8 dereferenceable(2664) %6) #9
  call void @llvm.lifetime.end.p0(i64 2664, ptr nonnull %6) #9
  call void @_ZN19ConcurrentContainerISt13unordered_setIjSt4hashIjESt8equal_toIjESaIjEELm83EED2Ev(ptr noundef nonnull align 8 dereferenceable(2664) %5) #9
  call void @llvm.lifetime.end.p0(i64 2664, ptr nonnull %5) #9
  call void @_ZN19ConcurrentContainerISt13unordered_mapIjSt6vectorI12PositionCaseSaIS2_EESt4hashIjESt8equal_toIjESaISt4pairIKjS4_EEELm83EED2Ev(ptr noundef nonnull align 8 dereferenceable(5984) %4) #9
  call void @llvm.lifetime.end.p0(i64 5984, ptr nonnull %4) #9
  call void @_ZNSt6vectorIS_I12PositionCaseSaIS0_EESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #9
  resume { ptr, i32 } %.pn51.pn.pn.pn.pn.pn.pn.pn.pn.pn
}

declare noundef ptr @_ZN12RedexContext35get_position_pattern_switch_managerEv(ptr noundef nonnull align 8 dereferenceable(389504)) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK28PositionPatternSwitchManager5emptyEv(ptr noundef nonnull align 8 dereferenceable(240)) local_unnamed_addr #6 align 2

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare hidden noundef nonnull align 8 dereferenceable(32) ptr @"_ZNSt8functionIFvP11DexPositionEEaSIZN18RealPositionMapper32process_pattern_switch_positionsEvE3$_0EENSt9enable_ifIXsrNS3_9_CallableIT_NS7_IXntsr7is_sameINSt9remove_cvINSt16remove_referenceIS9_E4typeEE4typeES3_EE5valueESt5decayIS9_EE4type4typeESt15__invoke_resultIRSK_JS1_EEEE5valueERS3_E4typeEOS9_"(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(48)) local_unnamed_addr #6 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z13workqueue_runIP11DexPositionSt8functionIFvS1_EESt6vectorIS1_SaIS1_EETnNSt9enable_ifIXeqsr5ArityIT0_EE5valueLi1EEiE4typeELi0EEvRKS9_RT1_jb(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(24), i32 noundef, i1 noundef zeroext) local_unnamed_addr #6

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef i64 @_ZN14redex_parallel19default_num_threadsEv() local_unnamed_addr #7

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i64 @_ZNK19ConcurrentContainerISt13unordered_setIjSt4hashIjESt8equal_toIjESaIjEELm83EE5countERKj(ptr noundef nonnull align 8 dereferenceable(2664), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #6 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i64 @_ZNK19ConcurrentContainerISt13unordered_mapIjSt6vectorI12PositionCaseSaIS2_EESt4hashIjESt8equal_toIjESaISt4pairIKjS4_EEELm83EE5countERSA_(ptr noundef nonnull align 8 dereferenceable(2664), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #6 align 2

; Function Attrs: mustprogress uwtable
declare dso_local { ptr, i8 } @_ZN12UnorderedMapIP11DexPositionlSt4hashIS1_ESt8equal_toIS1_EE7emplaceIJRS1_mEEESt4pairINS6_13FixedIteratorEbEDpOT_(ptr noundef nonnull align 8 dereferenceable(56), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #6 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorI12PositionCaseSaIS0_EE9push_backERKS0_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #6 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @"_ZSt4sortIN9__gnu_cxx17__normal_iteratorIP12PositionCaseSt6vectorIS2_SaIS2_EEEEZN18RealPositionMapper32process_pattern_switch_positionsEvE3$_1EvT_SA_T0_"(ptr, ptr) local_unnamed_addr #7

; Function Attrs: mustprogress uwtable
declare dso_local { ptr, i8 } @_ZN12UnorderedMapIjjSt4hashIjESt8equal_toIjEE7emplaceIJRjmEEESt4pairINS4_13FixedIteratorEbEDpOT_(ptr noundef nonnull align 8 dereferenceable(56), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #6 align 2

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

; Function Attrs: nobuiltin nounwind
declare void @_ZdlPvm(ptr noundef, i64 noundef) local_unnamed_addr #8

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZN12UnorderedMapIjjSt4hashIjESt8equal_toIjEE2atERKj(ptr noundef nonnull align 8 dereferenceable(56), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #6 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN12UnorderedMapIjjSt4hashIjESt8equal_toIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(56)) unnamed_addr #5 align 2

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

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

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

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

declare void @_ZN11DexPositionC1EPK9DexStringS2_j(ptr, ptr, ptr, i32) local_unnamed_addr

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

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

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


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass,TailCallElimPass