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

; 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.InsertOnlyConcurrentMap = type { %class.ConcurrentContainer.393 }
%class.ConcurrentContainer.393 = type { ptr, [83 x %"class.cc_impl::ConcurrentHashtable.394"] }
%"class.cc_impl::ConcurrentHashtable.394" = type { %"struct.std::atomic.395", %"struct.std::atomic.170", %"struct.std::atomic.172", %"struct.std::atomic.397" }
%"struct.std::atomic.395" = type { %"struct.std::__atomic_base.396" }
%"struct.std::__atomic_base.396" = 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.397" = type { %"struct.std::__atomic_base.398" }
%"struct.std::__atomic_base.398" = type { ptr }
%class.InsertOnlyConcurrentMap.400 = type { %class.ConcurrentContainer.401 }
%class.ConcurrentContainer.401 = type { ptr, [83 x %"class.cc_impl::ConcurrentHashtable.402"] }
%"class.cc_impl::ConcurrentHashtable.402" = type { %"struct.std::atomic.403", %"struct.std::atomic.170", %"struct.std::atomic.172", %"struct.std::atomic.405" }
%"struct.std::atomic.403" = type { %"struct.std::__atomic_base.404" }
%"struct.std::__atomic_base.404" = type { ptr }
%"struct.std::atomic.405" = type { %"struct.std::__atomic_base.406" }
%"struct.std::__atomic_base.406" = type { ptr }
%"struct.std::atomic.408" = type { %"struct.std::__atomic_base.409" }
%"struct.std::__atomic_base.409" = type { i32 }
%class.anon.410 = type { ptr, ptr, ptr }
%class.InsertOnlyConcurrentMap.411 = type { %class.ConcurrentContainer.412 }
%class.ConcurrentContainer.412 = type { ptr, [83 x %"class.cc_impl::ConcurrentHashtable.413"] }
%"class.cc_impl::ConcurrentHashtable.413" = type { %"struct.std::atomic.414", %"struct.std::atomic.170", %"struct.std::atomic.172", %"struct.std::atomic.416" }
%"struct.std::atomic.414" = type { %"struct.std::__atomic_base.415" }
%"struct.std::__atomic_base.415" = type { ptr }
%"struct.std::atomic.416" = type { %"struct.std::__atomic_base.417" }
%"struct.std::__atomic_base.417" = type { ptr }
%class.anon.419 = type { ptr, ptr }
%"class.std::vector.420" = type { %"struct.std::_Vector_base.421" }
%"struct.std::_Vector_base.421" = type { %"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl" }
%"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl" = type { %"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator.422" = type { i8 }
%class.anon.425 = type { ptr, ptr, ptr, ptr, ptr }
%"class.std::basic_ofstream" = type { %"class.std::basic_ostream.base", %"class.std::basic_filebuf", %"class.std::basic_ios" }
%"class.std::basic_ostream.base" = type { ptr }
%"class.std::basic_filebuf" = type { %"class.std::basic_streambuf", %union.pthread_mutex_t, %"class.std::__basic_file", i32, %struct.__mbstate_t, %struct.__mbstate_t, %struct.__mbstate_t, ptr, i64, i8, i8, i8, i8, ptr, ptr, i8, ptr, ptr, i64, ptr, ptr }
%"class.std::basic_streambuf" = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, %"class.std::locale" }
%"class.std::locale" = type { ptr }
%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.std::__basic_file" = type <{ ptr, i8, [7 x i8] }>
%struct.__mbstate_t = type { i32, %union.anon.426 }
%union.anon.426 = type { i32 }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::unique_ptr.427" = type { %"struct.std::__uniq_ptr_data.428" }
%"struct.std::__uniq_ptr_data.428" = type { %"class.std::__uniq_ptr_impl.429" }
%"class.std::__uniq_ptr_impl.429" = type { %"class.std::tuple.430" }
%"class.std::tuple.430" = type { %"struct.std::_Tuple_impl.431" }
%"struct.std::_Tuple_impl.431" = type { %"struct.std::_Head_base.434" }
%"struct.std::_Head_base.434" = type { ptr }
%class.anon.435 = type { ptr, ptr, ptr, 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 }
%"struct.std::__detail::_Hash_node_base" = type { ptr }
%"struct.std::__detail::_Prime_rehash_policy" = type { float, i64 }
%"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 }

@.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.24 = external hidden unnamed_addr constant [42 x i8], align 1
@__PRETTY_FUNCTION__._ZN18RealPositionMapper12write_map_v2Ev = external hidden unnamed_addr constant [40 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [51 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [82 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [58 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [49 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [65 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: mustprogress nounwind uwtable
declare noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32)) #1 align 2

; Function Attrs: noreturn
declare void @_Z11assert_failPKcS0_jS0_10RedexErrorS0_z(ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, ...) #2

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN18RealPositionMapper12write_map_v2Ev(ptr noundef nonnull align 8 dereferenceable(224) %0) #3 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca ptr, align 8
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca i64, align 8
  %6 = alloca %class.InsertOnlyConcurrentMap, align 8
  %7 = alloca %class.InsertOnlyConcurrentMap.400, align 8
  %8 = alloca %"struct.std::atomic.408", align 4
  %9 = alloca %class.anon.410, align 8
  %10 = alloca %class.InsertOnlyConcurrentMap.411, align 8
  %11 = alloca %class.anon.419, align 8
  %12 = alloca %"struct.std::atomic.170", align 8
  %13 = alloca %"class.std::vector.420", align 8
  %14 = alloca %"class.std::allocator.422", align 1
  %15 = alloca ptr, align 8
  %16 = alloca i32, align 4
  %17 = alloca i64, align 8
  %18 = alloca %class.anon.425, align 8
  %19 = alloca %"class.std::basic_ofstream", align 8
  %20 = alloca i32, align 4
  %21 = alloca i32, align 4
  %22 = alloca i32, align 4
  %23 = alloca %"class.std::unique_ptr.427", align 8
  %24 = alloca i32, align 4
  %25 = alloca i32, align 4
  %26 = alloca i32, align 4
  %27 = alloca %class.anon.435, align 8
  %28 = alloca i64, align 8
  %29 = alloca i32, align 4
  store ptr %0, ptr %2, align 8, !tbaa !5
  %30 = load ptr, ptr %2, align 8
  br label %31

31:                                               ; preds = %52, %1
  %32 = getelementptr inbounds %class.RealPositionMapper, ptr %30, i32 0, i32 4
  %33 = call noundef zeroext i1 @_ZNKSt5queueIP11DexPositionSt5dequeIS1_SaIS1_EEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(80) %32)
  %34 = xor i1 %33, true
  br i1 %34, label %35, label %53

35:                                               ; preds = %31
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #9
  %36 = getelementptr inbounds %class.RealPositionMapper, ptr %30, i32 0, i32 4
  %37 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5queueIP11DexPositionSt5dequeIS1_SaIS1_EEE5frontEv(ptr noundef nonnull align 8 dereferenceable(80) %36)
  %38 = load ptr, ptr %37, align 8, !tbaa !5
  store ptr %38, ptr %3, align 8, !tbaa !5
  %39 = getelementptr inbounds %class.RealPositionMapper, ptr %30, i32 0, i32 4
  call void @_ZNSt5queueIP11DexPositionSt5dequeIS1_SaIS1_EEE3popEv(ptr noundef nonnull align 8 dereferenceable(80) %39)
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #9
  %40 = getelementptr inbounds %class.RealPositionMapper, ptr %30, i32 0, i32 3
  %41 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN12UnorderedMapIP11DexPositionlSt4hashIS1_ESt8equal_toIS1_EEixERKS1_(ptr noundef nonnull align 8 dereferenceable(56) %40, ptr noundef nonnull align 8 dereferenceable(8) %3)
  store ptr %41, ptr %4, align 8, !tbaa !5
  %42 = load ptr, ptr %4, align 8, !tbaa !5
  %43 = load i64, ptr %42, align 8, !tbaa !9
  %44 = icmp eq i64 %43, -1
  br i1 %44, label %45, label %52

45:                                               ; preds = %35
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #9
  %46 = getelementptr inbounds %class.RealPositionMapper, ptr %30, i32 0, i32 2
  %47 = call noundef i64 @_ZNKSt6vectorIP11DexPositionSaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %46) #9
  store i64 %47, ptr %5, align 8, !tbaa !9
  %48 = getelementptr inbounds %class.RealPositionMapper, ptr %30, i32 0, i32 2
  %49 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIP11DexPositionSaIS1_EE12emplace_backIJRS1_EEES5_DpOT_(ptr noundef nonnull align 8 dereferenceable(24) %48, ptr noundef nonnull align 8 dereferenceable(8) %3)
  %50 = load i64, ptr %5, align 8, !tbaa !9
  %51 = load ptr, ptr %4, align 8, !tbaa !5
  store i64 %50, ptr %51, align 8, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #9
  br label %52

52:                                               ; preds = %45, %35
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #9
  br label %31, !llvm.loop !11

53:                                               ; preds = %31
  call void @_ZN18RealPositionMapper32process_pattern_switch_positionsEv(ptr noundef nonnull align 8 dereferenceable(224) %30)
  call void @llvm.lifetime.start.p0(i64 2664, ptr %6) #9
  call void @_ZN23InsertOnlyConcurrentMapISt17basic_string_viewIcSt11char_traitsIcEEjSt4hashIS3_ESt8equal_toIS3_ELm83EEC2Ev(ptr noundef nonnull align 8 dereferenceable(2664) %6) #9
  call void @llvm.lifetime.start.p0(i64 2664, ptr %7) #9
  call void @_ZN23InsertOnlyConcurrentMapIjSt10unique_ptrINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt14default_deleteIS6_EESt4hashIjESt8equal_toIjELm83EEC2Ev(ptr noundef nonnull align 8 dereferenceable(2664) %7) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #9
  call void @llvm.memset.p0.i64(ptr align 4 %8, i8 0, i64 4, i1 false)
  call void @llvm.lifetime.start.p0(i64 24, ptr %9) #9
  %54 = getelementptr inbounds %class.anon.410, ptr %9, i32 0, i32 0
  store ptr %6, ptr %54, align 8, !tbaa !5
  %55 = getelementptr inbounds %class.anon.410, ptr %9, i32 0, i32 1
  store ptr %8, ptr %55, align 8, !tbaa !5
  %56 = getelementptr inbounds %class.anon.410, ptr %9, i32 0, i32 2
  store ptr %7, ptr %56, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 2664, ptr %10) #9
  call void @_ZN23InsertOnlyConcurrentMapIPK9DexStringZN18RealPositionMapper12write_map_v2EvE10MethodInfoSt4hashIS2_ESt8equal_toIS2_ELm83EEC2Ev(ptr noundef nonnull align 8 dereferenceable(2664) %10) #9
  call void @llvm.lifetime.start.p0(i64 16, ptr %11) #9
  %57 = getelementptr inbounds %class.anon.419, ptr %11, i32 0, i32 0
  store ptr %10, ptr %57, align 8, !tbaa !5
  %58 = getelementptr inbounds %class.anon.419, ptr %11, i32 0, i32 1
  store ptr %9, ptr %58, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #9
  call void @llvm.memset.p0.i64(ptr align 8 %12, i8 0, i64 8, i1 false)
  call void @llvm.lifetime.start.p0(i64 24, ptr %13) #9
  %59 = getelementptr inbounds %class.RealPositionMapper, ptr %30, i32 0, i32 2
  %60 = call noundef i64 @_ZNKSt6vectorIP11DexPositionSaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %59) #9
  %61 = mul i64 5, %60
  call void @llvm.lifetime.start.p0(i64 1, ptr %14) #9
  call void @_ZNSaIjEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #9
  invoke void @_ZNSt6vectorIjSaIjEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %13, i64 noundef %61, ptr noundef nonnull align 1 dereferenceable(1) %14)
          to label %62 unwind label %85

62:                                               ; preds = %53
  call void @_ZNSt15__new_allocatorIjED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %14) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #9
  store i64 100, ptr %17, align 8, !tbaa !9
  %63 = getelementptr inbounds %class.RealPositionMapper, ptr %30, i32 0, i32 2
  %64 = call noundef i64 @_ZNKSt6vectorIP11DexPositionSaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %63) #9
  %65 = add i64 %64, 100
  %66 = sub i64 %65, 1
  %67 = udiv i64 %66, 100
  call void @llvm.lifetime.start.p0(i64 40, ptr %18) #9
  %68 = getelementptr inbounds %class.anon.425, ptr %18, i32 0, i32 0
  store ptr %30, ptr %68, align 8, !tbaa !13
  %69 = getelementptr inbounds %class.anon.425, ptr %18, i32 0, i32 1
  store ptr %12, ptr %69, align 8, !tbaa !5
  %70 = getelementptr inbounds %class.anon.425, ptr %18, i32 0, i32 2
  store ptr %11, ptr %70, align 8, !tbaa !5
  %71 = getelementptr inbounds %class.anon.425, ptr %18, i32 0, i32 3
  store ptr %9, ptr %71, align 8, !tbaa !5
  %72 = getelementptr inbounds %class.anon.425, ptr %18, i32 0, i32 4
  store ptr %13, ptr %72, align 8, !tbaa !5
  %73 = invoke noundef i64 @_ZN14redex_parallel19default_num_threadsEv()
          to label %74 unwind label %89

74:                                               ; preds = %62
  %75 = trunc i64 %73 to i32
  invoke void @"_Z17workqueue_run_forImZN18RealPositionMapper12write_map_v2EvE3$_2EvT_S2_RKT0_j"(i64 noundef 0, i64 noundef %67, ptr noundef nonnull align 8 dereferenceable(40) %18, i32 noundef %75)
          to label %76 unwind label %89

76:                                               ; preds = %74
  call void @llvm.lifetime.end.p0(i64 40, ptr %18) #9
  %77 = call noundef i64 @_ZNKSt6vectorIjSaIjEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %13) #9
  %78 = getelementptr inbounds %class.RealPositionMapper, ptr %30, i32 0, i32 2
  %79 = call noundef i64 @_ZNKSt6vectorIP11DexPositionSaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %78) #9
  %80 = mul i64 5, %79
  %81 = icmp eq i64 %77, %80
  br i1 %81, label %82, label %83

82:                                               ; preds = %76
  br label %98

83:                                               ; preds = %76
  invoke void (ptr, ptr, i32, ptr, i32, ptr, ...) @_Z11assert_failPKcS0_jS0_10RedexErrorS0_z(ptr noundef @.str.24, ptr noundef @.str.9, i32 noundef 414, ptr noundef @__PRETTY_FUNCTION__._ZN18RealPositionMapper12write_map_v2Ev, i32 noundef 2, ptr noundef @.str.10) #10
          to label %84 unwind label %93

84:                                               ; preds = %83
  unreachable

85:                                               ; preds = %53
  %86 = landingpad { ptr, i32 }
          cleanup
  %87 = extractvalue { ptr, i32 } %86, 0
  store ptr %87, ptr %15, align 8
  %88 = extractvalue { ptr, i32 } %86, 1
  store i32 %88, ptr %16, align 4
  call void @_ZNSt15__new_allocatorIjED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %14) #9
  br label %255

89:                                               ; preds = %74, %62
  %90 = landingpad { ptr, i32 }
          cleanup
  %91 = extractvalue { ptr, i32 } %90, 0
  store ptr %91, ptr %15, align 8
  %92 = extractvalue { ptr, i32 } %90, 1
  store i32 %92, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 40, ptr %18) #9
  br label %254

93:                                               ; preds = %118, %115, %111, %105, %100, %98, %83
  %94 = landingpad { ptr, i32 }
          cleanup
  %95 = extractvalue { ptr, i32 } %94, 0
  store ptr %95, ptr %15, align 8
  %96 = extractvalue { ptr, i32 } %94, 1
  store i32 %96, ptr %16, align 4
  br label %254

97:                                               ; No predecessors!
  br label %98

98:                                               ; preds = %97, %82
  %99 = invoke noundef i64 @_ZNK19ConcurrentContainerISt13unordered_mapISt17basic_string_viewIcSt11char_traitsIcEEjSt4hashIS4_ESt8equal_toIS4_ESaISt4pairIKS4_jEEELm83EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(2664) %6)
          to label %100 unwind label %93

100:                                              ; preds = %98
  %101 = invoke noundef i64 @_ZNK19ConcurrentContainerISt13unordered_mapIjSt10unique_ptrINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt14default_deleteIS7_EESt4hashIjESt8equal_toIjESaISt4pairIKjSA_EEELm83EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(2664) %7)
          to label %102 unwind label %93

102:                                              ; preds = %100
  %103 = icmp eq i64 %99, %101
  br i1 %103, label %104, label %105

104:                                              ; preds = %102
  br label %108

105:                                              ; preds = %102
  invoke void (ptr, ptr, i32, ptr, i32, ptr, ...) @_Z11assert_failPKcS0_jS0_10RedexErrorS0_z(ptr noundef @.str.25, ptr noundef @.str.9, i32 noundef 415, ptr noundef @__PRETTY_FUNCTION__._ZN18RealPositionMapper12write_map_v2Ev, i32 noundef 2, ptr noundef @.str.10) #10
          to label %106 unwind label %93

106:                                              ; preds = %105
  unreachable

107:                                              ; No predecessors!
  br label %108

108:                                              ; preds = %107, %104
  %109 = call noundef i64 @_ZNKSt13__atomic_baseImE4loadESt12memory_order(ptr noundef nonnull align 8 dereferenceable(8) %12, i32 noundef 5) #9
  %110 = icmp ugt i64 %109, 0
  br i1 %110, label %111, label %124

111:                                              ; preds = %108
  %112 = invoke noundef zeroext i1 @_Z12traceEnabled11TraceModulei(i32 noundef 92, i32 noundef 1)
          to label %113 unwind label %93

113:                                              ; preds = %111
  br i1 %112, label %124, label %114

114:                                              ; preds = %113
  br label %115

115:                                              ; preds = %114
  %116 = invoke noundef zeroext i1 @_Z12traceEnabled11TraceModulei(i32 noundef 92, i32 noundef 0)
          to label %117 unwind label %93

117:                                              ; preds = %115
  br i1 %116, label %118, label %121

118:                                              ; preds = %117
  %119 = call noundef i64 @_ZNKSt13__atomic_baseImE4loadESt12memory_order(ptr noundef nonnull align 8 dereferenceable(8) %12, i32 noundef 5) #9
  invoke void (i32, i32, i1, ptr, ...) @_Z5trace11TraceModuleibPKcz(i32 noundef 92, i32 noundef 0, i1 noundef zeroext false, ptr noundef @.str.26, i64 noundef %119)
          to label %120 unwind label %93

120:                                              ; preds = %118
  br label %121

121:                                              ; preds = %120, %117
  br label %122

122:                                              ; preds = %121
  br label %123

123:                                              ; preds = %122
  br label %124

124:                                              ; preds = %123, %113, %108
  call void @llvm.lifetime.start.p0(i64 512, ptr %19) #9
  %125 = getelementptr inbounds %class.RealPositionMapper, ptr %30, i32 0, i32 1
  %126 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %125) #9
  %127 = invoke noundef i32 @_ZStorSt13_Ios_OpenmodeS_(i32 noundef 16, i32 noundef 32)
          to label %128 unwind label %147

128:                                              ; preds = %124
  invoke void @_ZNSt14basic_ofstreamIcSt11char_traitsIcEEC1EPKcSt13_Ios_Openmode(ptr noundef nonnull align 8 dereferenceable(248) %19, ptr noundef %126, i32 noundef %127)
          to label %129 unwind label %147

129:                                              ; preds = %128
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #9
  store i32 -87117824, ptr %20, align 4, !tbaa !15
  %130 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSo5writeEPKcl(ptr noundef nonnull align 8 dereferenceable(8) %19, ptr noundef %20, i64 noundef 4)
          to label %131 unwind label %151

131:                                              ; preds = %129
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #9
  store i32 2, ptr %21, align 4, !tbaa !15
  %132 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSo5writeEPKcl(ptr noundef nonnull align 8 dereferenceable(8) %19, ptr noundef %21, i64 noundef 4)
          to label %133 unwind label %155

133:                                              ; preds = %131
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #9
  %134 = invoke noundef i64 @_ZNK19ConcurrentContainerISt13unordered_mapIjSt10unique_ptrINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt14default_deleteIS7_EESt4hashIjESt8equal_toIjESaISt4pairIKjSA_EEELm83EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(2664) %7)
          to label %135 unwind label %159

135:                                              ; preds = %133
  %136 = trunc i64 %134 to i32
  store i32 %136, ptr %22, align 4, !tbaa !15
  %137 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSo5writeEPKcl(ptr noundef nonnull align 8 dereferenceable(8) %19, ptr noundef %22, i64 noundef 4)
          to label %138 unwind label %159

138:                                              ; preds = %135
  %139 = invoke noundef i64 @_ZNK19ConcurrentContainerISt13unordered_mapIjSt10unique_ptrINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt14default_deleteIS7_EESt4hashIjESt8equal_toIjESaISt4pairIKjSA_EEELm83EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(2664) %7)
          to label %140 unwind label %159

140:                                              ; preds = %138
  %141 = call noundef i32 @_ZNSt14numeric_limitsIjE3maxEv() #9
  %142 = zext i32 %141 to i64
  %143 = icmp ult i64 %139, %142
  br i1 %143, label %144, label %145

144:                                              ; preds = %140
  br label %164

145:                                              ; preds = %140
  invoke void (ptr, ptr, i32, ptr, i32, ptr, ...) @_Z11assert_failPKcS0_jS0_10RedexErrorS0_z(ptr noundef @.str.27, ptr noundef @.str.9, i32 noundef 432, ptr noundef @__PRETTY_FUNCTION__._ZN18RealPositionMapper12write_map_v2Ev, i32 noundef 2, ptr noundef @.str.10) #10
          to label %146 unwind label %159

146:                                              ; preds = %145
  unreachable

147:                                              ; preds = %128, %124
  %148 = landingpad { ptr, i32 }
          cleanup
  %149 = extractvalue { ptr, i32 } %148, 0
  store ptr %149, ptr %15, align 8
  %150 = extractvalue { ptr, i32 } %148, 1
  store i32 %150, ptr %16, align 4
  br label %253

151:                                              ; preds = %129
  %152 = landingpad { ptr, i32 }
          cleanup
  %153 = extractvalue { ptr, i32 } %152, 0
  store ptr %153, ptr %15, align 8
  %154 = extractvalue { ptr, i32 } %152, 1
  store i32 %154, ptr %16, align 4
  br label %252

155:                                              ; preds = %131
  %156 = landingpad { ptr, i32 }
          cleanup
  %157 = extractvalue { ptr, i32 } %156, 0
  store ptr %157, ptr %15, align 8
  %158 = extractvalue { ptr, i32 } %156, 1
  store i32 %158, ptr %16, align 4
  br label %251

159:                                              ; preds = %145, %138, %135, %133
  %160 = landingpad { ptr, i32 }
          cleanup
  %161 = extractvalue { ptr, i32 } %160, 0
  store ptr %161, ptr %15, align 8
  %162 = extractvalue { ptr, i32 } %160, 1
  store i32 %162, ptr %16, align 4
  br label %250

163:                                              ; No predecessors!
  br label %164

164:                                              ; preds = %163, %144
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #9
  %165 = call noundef i32 @_ZNKSt13__atomic_baseIjE4loadESt12memory_order(ptr noundef nonnull align 4 dereferenceable(4) %8, i32 noundef 5) #9
  %166 = zext i32 %165 to i64
  invoke void @_ZSt11make_uniqueIA_jENSt8__detail9_MakeUniqIT_E7__arrayEm(ptr dead_on_unwind writable sret(%"class.std::unique_ptr.427") align 8 %23, i64 noundef %166)
          to label %167 unwind label %178

167:                                              ; preds = %164
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #9
  store i32 0, ptr %24, align 4, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #9
  store i32 1, ptr %25, align 4, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #9
  store i32 1, ptr %26, align 4, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 32, ptr %27) #9
  %168 = getelementptr inbounds %class.anon.435, ptr %27, i32 0, i32 0
  store ptr %23, ptr %168, align 8, !tbaa !5
  %169 = getelementptr inbounds %class.anon.435, ptr %27, i32 0, i32 1
  store ptr %7, ptr %169, align 8, !tbaa !5
  %170 = getelementptr inbounds %class.anon.435, ptr %27, i32 0, i32 2
  store ptr %19, ptr %170, align 8, !tbaa !5
  %171 = getelementptr inbounds %class.anon.435, ptr %27, i32 0, i32 3
  store ptr %26, ptr %171, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #9
  store i64 0, ptr %28, align 8, !tbaa !9
  br label %172

172:                                              ; preds = %198, %167
  %173 = load i64, ptr %28, align 8, !tbaa !9
  %174 = getelementptr inbounds %class.RealPositionMapper, ptr %30, i32 0, i32 2
  %175 = call noundef i64 @_ZNKSt6vectorIP11DexPositionSaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %174) #9
  %176 = icmp ult i64 %173, %175
  br i1 %176, label %182, label %177

177:                                              ; preds = %172
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #9
  br label %205

178:                                              ; preds = %164
  %179 = landingpad { ptr, i32 }
          cleanup
  %180 = extractvalue { ptr, i32 } %179, 0
  store ptr %180, ptr %15, align 8
  %181 = extractvalue { ptr, i32 } %179, 1
  store i32 %181, ptr %16, align 4
  br label %249

182:                                              ; preds = %172
  %183 = load i64, ptr %28, align 8, !tbaa !9
  %184 = mul i64 5, %183
  %185 = add i64 %184, 0
  %186 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %13, i64 noundef %185) #9
  invoke void @"_ZZN18RealPositionMapper12write_map_v2EvENK3$_3clERj"(ptr noundef nonnull align 8 dereferenceable(32) %27, ptr noundef nonnull align 4 dereferenceable(4) %186)
          to label %187 unwind label %201

187:                                              ; preds = %182
  %188 = load i64, ptr %28, align 8, !tbaa !9
  %189 = mul i64 5, %188
  %190 = add i64 %189, 1
  %191 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %13, i64 noundef %190) #9
  invoke void @"_ZZN18RealPositionMapper12write_map_v2EvENK3$_3clERj"(ptr noundef nonnull align 8 dereferenceable(32) %27, ptr noundef nonnull align 4 dereferenceable(4) %191)
          to label %192 unwind label %201

192:                                              ; preds = %187
  %193 = load i64, ptr %28, align 8, !tbaa !9
  %194 = mul i64 5, %193
  %195 = add i64 %194, 2
  %196 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %13, i64 noundef %195) #9
  invoke void @"_ZZN18RealPositionMapper12write_map_v2EvENK3$_3clERj"(ptr noundef nonnull align 8 dereferenceable(32) %27, ptr noundef nonnull align 4 dereferenceable(4) %196)
          to label %197 unwind label %201

197:                                              ; preds = %192
  br label %198

198:                                              ; preds = %197
  %199 = load i64, ptr %28, align 8, !tbaa !9
  %200 = add i64 %199, 1
  store i64 %200, ptr %28, align 8, !tbaa !9
  br label %172, !llvm.loop !17

201:                                              ; preds = %192, %187, %182
  %202 = landingpad { ptr, i32 }
          cleanup
  %203 = extractvalue { ptr, i32 } %202, 0
  store ptr %203, ptr %15, align 8
  %204 = extractvalue { ptr, i32 } %202, 1
  store i32 %204, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #9
  br label %248

205:                                              ; preds = %177
  %206 = load i32, ptr %26, align 4, !tbaa !15
  %207 = sub i32 %206, 1
  %208 = zext i32 %207 to i64
  %209 = invoke noundef i64 @_ZNK19ConcurrentContainerISt13unordered_mapIjSt10unique_ptrINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt14default_deleteIS7_EESt4hashIjESt8equal_toIjESaISt4pairIKjSA_EEELm83EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(2664) %7)
          to label %210 unwind label %215

210:                                              ; preds = %205
  %211 = icmp eq i64 %208, %209
  br i1 %211, label %212, label %213

212:                                              ; preds = %210
  br label %220

213:                                              ; preds = %210
  invoke void (ptr, ptr, i32, ptr, i32, ptr, ...) @_Z11assert_failPKcS0_jS0_10RedexErrorS0_z(ptr noundef @.str.28, ptr noundef @.str.9, i32 noundef 456, ptr noundef @__PRETTY_FUNCTION__._ZN18RealPositionMapper12write_map_v2Ev, i32 noundef 2, ptr noundef @.str.10) #10
          to label %214 unwind label %215

214:                                              ; preds = %213
  unreachable

215:                                              ; preds = %213, %205
  %216 = landingpad { ptr, i32 }
          cleanup
  %217 = extractvalue { ptr, i32 } %216, 0
  store ptr %217, ptr %15, align 8
  %218 = extractvalue { ptr, i32 } %216, 1
  store i32 %218, ptr %16, align 4
  br label %248

219:                                              ; No predecessors!
  br label %220

220:                                              ; preds = %219, %212
  call void @llvm.lifetime.start.p0(i64 4, ptr %29) #9
  %221 = getelementptr inbounds %class.RealPositionMapper, ptr %30, i32 0, i32 2
  %222 = call noundef i64 @_ZNKSt6vectorIP11DexPositionSaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %221) #9
  %223 = trunc i64 %222 to i32
  store i32 %223, ptr %29, align 4, !tbaa !15
  %224 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSo5writeEPKcl(ptr noundef nonnull align 8 dereferenceable(8) %19, ptr noundef %29, i64 noundef 4)
          to label %225 unwind label %241

225:                                              ; preds = %220
  %226 = call noundef ptr @_ZNSt6vectorIjSaIjEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %13) #9
  %227 = call noundef i64 @_ZNKSt6vectorIjSaIjEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %13) #9
  %228 = mul i64 4, %227
  %229 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSo5writeEPKcl(ptr noundef nonnull align 8 dereferenceable(8) %19, ptr noundef %226, i64 noundef %228)
          to label %230 unwind label %241

230:                                              ; preds = %225
  br label %231

231:                                              ; preds = %230
  %232 = invoke noundef zeroext i1 @_Z12traceEnabled11TraceModulei(i32 noundef 92, i32 noundef 2)
          to label %233 unwind label %241

233:                                              ; preds = %231
  br i1 %232, label %234, label %245

234:                                              ; preds = %233
  %235 = getelementptr inbounds %class.RealPositionMapper, ptr %30, i32 0, i32 2
  %236 = call noundef i64 @_ZNKSt6vectorIP11DexPositionSaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %235) #9
  %237 = invoke noundef i64 @_ZNK19ConcurrentContainerISt13unordered_mapIjSt10unique_ptrINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt14default_deleteIS7_EESt4hashIjESt8equal_toIjESaISt4pairIKjSA_EEELm83EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(2664) %7)
          to label %238 unwind label %241

238:                                              ; preds = %234
  %239 = call noundef i32 @_ZNKSt13__atomic_baseIjE4loadESt12memory_order(ptr noundef nonnull align 4 dereferenceable(4) %8, i32 noundef 5) #9
  invoke void (i32, i32, i1, ptr, ...) @_Z5trace11TraceModuleibPKcz(i32 noundef 92, i32 noundef 2, i1 noundef zeroext false, ptr noundef @.str.29, i64 noundef %236, i64 noundef %237, i32 noundef %239)
          to label %240 unwind label %241

240:                                              ; preds = %238
  br label %245

241:                                              ; preds = %238, %234, %231, %225, %220
  %242 = landingpad { ptr, i32 }
          cleanup
  %243 = extractvalue { ptr, i32 } %242, 0
  store ptr %243, ptr %15, align 8
  %244 = extractvalue { ptr, i32 } %242, 1
  store i32 %244, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #9
  br label %248

245:                                              ; preds = %240, %233
  br label %246

246:                                              ; preds = %245
  br label %247

247:                                              ; preds = %246
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %27) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #9
  call void @_ZNSt10unique_ptrIA_jSt14default_deleteIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %23) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #9
  call void @_ZNSt14basic_ofstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(248) %19) #9
  call void @llvm.lifetime.end.p0(i64 512, ptr %19) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #9
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %13) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %13) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %11) #9
  call void @_ZN19ConcurrentContainerISt13unordered_mapIPK9DexStringZN18RealPositionMapper12write_map_v2EvE10MethodInfoSt4hashIS3_ESt8equal_toIS3_ESaISt4pairIKS3_S5_EEELm83EED2Ev(ptr noundef nonnull align 8 dereferenceable(2664) %10) #9
  call void @llvm.lifetime.end.p0(i64 2664, ptr %10) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %9) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #9
  call void @_ZN19ConcurrentContainerISt13unordered_mapIjSt10unique_ptrINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt14default_deleteIS7_EESt4hashIjESt8equal_toIjESaISt4pairIKjSA_EEELm83EED2Ev(ptr noundef nonnull align 8 dereferenceable(2664) %7) #9
  call void @llvm.lifetime.end.p0(i64 2664, ptr %7) #9
  call void @_ZN19ConcurrentContainerISt13unordered_mapISt17basic_string_viewIcSt11char_traitsIcEEjSt4hashIS4_ESt8equal_toIS4_ESaISt4pairIKS4_jEEELm83EED2Ev(ptr noundef nonnull align 8 dereferenceable(2664) %6) #9
  call void @llvm.lifetime.end.p0(i64 2664, ptr %6) #9
  ret void

248:                                              ; preds = %241, %215, %201
  call void @llvm.lifetime.end.p0(i64 32, ptr %27) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #9
  call void @_ZNSt10unique_ptrIA_jSt14default_deleteIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %23) #9
  br label %249

249:                                              ; preds = %248, %178
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #9
  br label %250

250:                                              ; preds = %249, %159
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #9
  br label %251

251:                                              ; preds = %250, %155
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #9
  br label %252

252:                                              ; preds = %251, %151
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #9
  call void @_ZNSt14basic_ofstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(248) %19) #9
  br label %253

253:                                              ; preds = %252, %147
  call void @llvm.lifetime.end.p0(i64 512, ptr %19) #9
  br label %254

254:                                              ; preds = %253, %93, %89
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #9
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %13) #9
  br label %255

255:                                              ; preds = %254, %85
  call void @llvm.lifetime.end.p0(i64 24, ptr %13) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %11) #9
  call void @_ZN19ConcurrentContainerISt13unordered_mapIPK9DexStringZN18RealPositionMapper12write_map_v2EvE10MethodInfoSt4hashIS3_ESt8equal_toIS3_ESaISt4pairIKS3_S5_EEELm83EED2Ev(ptr noundef nonnull align 8 dereferenceable(2664) %10) #9
  call void @llvm.lifetime.end.p0(i64 2664, ptr %10) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %9) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #9
  call void @_ZN19ConcurrentContainerISt13unordered_mapIjSt10unique_ptrINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt14default_deleteIS7_EESt4hashIjESt8equal_toIjESaISt4pairIKjSA_EEELm83EED2Ev(ptr noundef nonnull align 8 dereferenceable(2664) %7) #9
  call void @llvm.lifetime.end.p0(i64 2664, ptr %7) #9
  call void @_ZN19ConcurrentContainerISt13unordered_mapISt17basic_string_viewIcSt11char_traitsIcEEjSt4hashIS4_ESt8equal_toIS4_ESaISt4pairIKS4_jEEELm83EED2Ev(ptr noundef nonnull align 8 dereferenceable(2664) %6) #9
  call void @llvm.lifetime.end.p0(i64 2664, ptr %6) #9
  br label %256

256:                                              ; preds = %255
  %257 = load ptr, ptr %15, align 8
  %258 = load i32, ptr %16, align 4
  %259 = insertvalue { ptr, i32 } poison, ptr %257, 0
  %260 = insertvalue { ptr, i32 } %259, i32 %258, 1
  resume { ptr, i32 } %260
}

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNKSt5queueIP11DexPositionSt5dequeIS1_SaIS1_EEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(80)) #1 align 2

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

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare hidden void @"_Z17workqueue_run_forImZN18RealPositionMapper12write_map_v2EvE3$_2EvT_S2_RKT0_j"(i64 noundef, i64 noundef, ptr noundef nonnull align 8 dereferenceable(40), i32 noundef) #3

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

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

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

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNKSt13__atomic_baseImE4loadESt12memory_order(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef) #6 align 2

declare noundef zeroext i1 @_Z12traceEnabled11TraceModulei(i32 noundef, i32 noundef) #7

declare void @_Z5trace11TraceModuleibPKcz(i32 noundef, i32 noundef, i1 noundef zeroext, ptr noundef, ...) #7

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZStorSt13_Ios_OpenmodeS_(i32 noundef, i32 noundef) #8

; Function Attrs: mustprogress uwtable
declare void @_ZNSt14basic_ofstreamIcSt11char_traitsIcEEC1EPKcSt13_Ios_Openmode(ptr noundef nonnull align 8 dereferenceable(248), ptr noundef, i32 noundef) unnamed_addr #3 align 2

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSo5writeEPKcl(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef, i64 noundef) #7

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNSt14numeric_limitsIjE3maxEv() #1 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt11make_uniqueIA_jENSt8__detail9_MakeUniqIT_E7__arrayEm(ptr dead_on_unwind noalias writable sret(%"class.std::unique_ptr.427") align 8, i64 noundef) #4

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

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @"_ZZN18RealPositionMapper12write_map_v2EvENK3$_3clERj"(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 4 dereferenceable(4)) #4 align 2

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

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

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

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

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

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

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

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

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

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

!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 = !{!"long", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = !{!14, !6, i64 0}
!14 = !{!"_ZTSZN18RealPositionMapper12write_map_v2EvE3$_2", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32}
!15 = !{!16, !16, i64 0}
!16 = !{!"int", !7, i64 0}
!17 = distinct !{!17, !12}


; 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.InsertOnlyConcurrentMap = type { %class.ConcurrentContainer.393 }
%class.ConcurrentContainer.393 = type { ptr, [83 x %"class.cc_impl::ConcurrentHashtable.394"] }
%"class.cc_impl::ConcurrentHashtable.394" = type { %"struct.std::atomic.395", %"struct.std::atomic.170", %"struct.std::atomic.172", %"struct.std::atomic.397" }
%"struct.std::atomic.395" = type { %"struct.std::__atomic_base.396" }
%"struct.std::__atomic_base.396" = 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.397" = type { %"struct.std::__atomic_base.398" }
%"struct.std::__atomic_base.398" = type { ptr }
%class.InsertOnlyConcurrentMap.400 = type { %class.ConcurrentContainer.401 }
%class.ConcurrentContainer.401 = type { ptr, [83 x %"class.cc_impl::ConcurrentHashtable.402"] }
%"class.cc_impl::ConcurrentHashtable.402" = type { %"struct.std::atomic.403", %"struct.std::atomic.170", %"struct.std::atomic.172", %"struct.std::atomic.405" }
%"struct.std::atomic.403" = type { %"struct.std::__atomic_base.404" }
%"struct.std::__atomic_base.404" = type { ptr }
%"struct.std::atomic.405" = type { %"struct.std::__atomic_base.406" }
%"struct.std::__atomic_base.406" = type { ptr }
%"struct.std::atomic.408" = type { %"struct.std::__atomic_base.409" }
%"struct.std::__atomic_base.409" = type { i32 }
%class.anon.410 = type { ptr, ptr, ptr }
%class.InsertOnlyConcurrentMap.411 = type { %class.ConcurrentContainer.412 }
%class.ConcurrentContainer.412 = type { ptr, [83 x %"class.cc_impl::ConcurrentHashtable.413"] }
%"class.cc_impl::ConcurrentHashtable.413" = type { %"struct.std::atomic.414", %"struct.std::atomic.170", %"struct.std::atomic.172", %"struct.std::atomic.416" }
%"struct.std::atomic.414" = type { %"struct.std::__atomic_base.415" }
%"struct.std::__atomic_base.415" = type { ptr }
%"struct.std::atomic.416" = type { %"struct.std::__atomic_base.417" }
%"struct.std::__atomic_base.417" = type { ptr }
%class.anon.419 = type { ptr, ptr }
%"class.std::vector.420" = type { %"struct.std::_Vector_base.421" }
%"struct.std::_Vector_base.421" = type { %"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl" }
%"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl" = type { %"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator.422" = type { i8 }
%class.anon.425 = type { ptr, ptr, ptr, ptr, ptr }
%"class.std::basic_ofstream" = type { %"class.std::basic_ostream.base", %"class.std::basic_filebuf", %"class.std::basic_ios" }
%"class.std::basic_ostream.base" = type { ptr }
%"class.std::basic_filebuf" = type { %"class.std::basic_streambuf", %union.pthread_mutex_t, %"class.std::__basic_file", i32, %struct.__mbstate_t, %struct.__mbstate_t, %struct.__mbstate_t, ptr, i64, i8, i8, i8, i8, ptr, ptr, i8, ptr, ptr, i64, ptr, ptr }
%"class.std::basic_streambuf" = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, %"class.std::locale" }
%"class.std::locale" = type { ptr }
%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.std::__basic_file" = type <{ ptr, i8, [7 x i8] }>
%struct.__mbstate_t = type { i32, %union.anon.426 }
%union.anon.426 = type { i32 }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::unique_ptr.427" = type { %"struct.std::__uniq_ptr_data.428" }
%"struct.std::__uniq_ptr_data.428" = type { %"class.std::__uniq_ptr_impl.429" }
%"class.std::__uniq_ptr_impl.429" = type { %"class.std::tuple.430" }
%"class.std::tuple.430" = type { %"struct.std::_Tuple_impl.431" }
%"struct.std::_Tuple_impl.431" = type { %"struct.std::_Head_base.434" }
%"struct.std::_Head_base.434" = type { ptr }
%class.anon.435 = type { ptr, ptr, ptr, 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.24 = external hidden unnamed_addr constant [42 x i8], align 1
@__PRETTY_FUNCTION__._ZN18RealPositionMapper12write_map_v2Ev = external hidden unnamed_addr constant [40 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [51 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [82 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [58 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [49 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [65 x i8], align 1

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

declare i32 @__gxx_personality_v0(...)

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

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

; 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 #2

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN18RealPositionMapper12write_map_v2Ev(ptr noundef nonnull align 8 dereferenceable(224) %0) local_unnamed_addr #3 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca ptr, align 8
  %3 = alloca %class.InsertOnlyConcurrentMap, align 8
  %4 = alloca %class.InsertOnlyConcurrentMap.400, align 8
  %5 = alloca %"struct.std::atomic.408", align 4
  %6 = alloca %class.anon.410, align 8
  %7 = alloca %class.InsertOnlyConcurrentMap.411, align 8
  %8 = alloca %class.anon.419, align 8
  %9 = alloca %"struct.std::atomic.170", align 8
  %10 = alloca %"class.std::vector.420", align 8
  %11 = alloca %"class.std::allocator.422", align 1
  %12 = alloca %class.anon.425, align 8
  %13 = alloca %"class.std::basic_ofstream", align 8
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca %"class.std::unique_ptr.427", align 8
  %18 = alloca i32, align 4
  %19 = alloca %class.anon.435, align 8
  %20 = alloca i32, align 4
  %21 = getelementptr inbounds i8, ptr %0, i64 120
  %22 = tail call noundef zeroext i1 @_ZNKSt5queueIP11DexPositionSt5dequeIS1_SaIS1_EEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(80) %21)
  br i1 %22, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %1
  %23 = getelementptr inbounds i8, ptr %0, i64 64
  %24 = getelementptr inbounds i8, ptr %0, i64 40
  br label %25

25:                                               ; preds = %.lr.ph, %34
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #8
  %26 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5queueIP11DexPositionSt5dequeIS1_SaIS1_EEE5frontEv(ptr noundef nonnull align 8 dereferenceable(80) %21)
  %27 = load ptr, ptr %26, align 8, !tbaa !5
  store ptr %27, ptr %2, align 8, !tbaa !5
  call void @_ZNSt5queueIP11DexPositionSt5dequeIS1_SaIS1_EEE3popEv(ptr noundef nonnull align 8 dereferenceable(80) %21)
  %28 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN12UnorderedMapIP11DexPositionlSt4hashIS1_ESt8equal_toIS1_EEixERKS1_(ptr noundef nonnull align 8 dereferenceable(56) %23, ptr noundef nonnull align 8 dereferenceable(8) %2)
  %29 = load i64, ptr %28, align 8, !tbaa !9
  %30 = icmp eq i64 %29, -1
  br i1 %30, label %31, label %34

31:                                               ; preds = %25
  %32 = call noundef i64 @_ZNKSt6vectorIP11DexPositionSaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %24) #8
  %33 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIP11DexPositionSaIS1_EE12emplace_backIJRS1_EEES5_DpOT_(ptr noundef nonnull align 8 dereferenceable(24) %24, ptr noundef nonnull align 8 dereferenceable(8) %2)
  store i64 %32, ptr %28, align 8, !tbaa !9
  br label %34

34:                                               ; preds = %31, %25
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #8
  %35 = call noundef zeroext i1 @_ZNKSt5queueIP11DexPositionSt5dequeIS1_SaIS1_EEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(80) %21)
  br i1 %35, label %._crit_edge, label %25, !llvm.loop !11

._crit_edge:                                      ; preds = %34, %1
  call void @_ZN18RealPositionMapper32process_pattern_switch_positionsEv(ptr noundef nonnull align 8 dereferenceable(224) %0)
  call void @llvm.lifetime.start.p0(i64 2664, ptr nonnull %3) #8
  call void @_ZN23InsertOnlyConcurrentMapISt17basic_string_viewIcSt11char_traitsIcEEjSt4hashIS3_ESt8equal_toIS3_ELm83EEC2Ev(ptr noundef nonnull align 8 dereferenceable(2664) %3) #8
  call void @llvm.lifetime.start.p0(i64 2664, ptr nonnull %4) #8
  call void @_ZN23InsertOnlyConcurrentMapIjSt10unique_ptrINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt14default_deleteIS6_EESt4hashIjESt8equal_toIjELm83EEC2Ev(ptr noundef nonnull align 8 dereferenceable(2664) %4) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #8
  store i32 0, ptr %5, align 4
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %6) #8
  store ptr %3, ptr %6, align 8, !tbaa !5
  %36 = getelementptr inbounds i8, ptr %6, i64 8
  store ptr %5, ptr %36, align 8, !tbaa !5
  %37 = getelementptr inbounds i8, ptr %6, i64 16
  store ptr %4, ptr %37, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 2664, ptr nonnull %7) #8
  call void @_ZN23InsertOnlyConcurrentMapIPK9DexStringZN18RealPositionMapper12write_map_v2EvE10MethodInfoSt4hashIS2_ESt8equal_toIS2_ELm83EEC2Ev(ptr noundef nonnull align 8 dereferenceable(2664) %7) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %8) #8
  store ptr %7, ptr %8, align 8, !tbaa !5
  %38 = getelementptr inbounds i8, ptr %8, i64 8
  store ptr %6, ptr %38, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #8
  store i64 0, ptr %9, align 8
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %10) #8
  %39 = getelementptr inbounds i8, ptr %0, i64 40
  %40 = call noundef i64 @_ZNKSt6vectorIP11DexPositionSaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %39) #8
  %41 = mul i64 %40, 5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %11) #8
  call void @_ZNSaIjEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %11) #8
  invoke void @_ZNSt6vectorIjSaIjEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %10, i64 noundef %41, ptr noundef nonnull align 1 dereferenceable(1) %11)
          to label %42 unwind label %58

42:                                               ; preds = %._crit_edge
  call void @_ZNSt15__new_allocatorIjED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %11) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %11) #8
  %43 = call noundef i64 @_ZNKSt6vectorIP11DexPositionSaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %39) #8
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %12) #8
  store ptr %0, ptr %12, align 8, !tbaa !13
  %44 = getelementptr inbounds i8, ptr %12, i64 8
  store ptr %9, ptr %44, align 8, !tbaa !5
  %45 = getelementptr inbounds i8, ptr %12, i64 16
  store ptr %8, ptr %45, align 8, !tbaa !5
  %46 = getelementptr inbounds i8, ptr %12, i64 24
  store ptr %6, ptr %46, align 8, !tbaa !5
  %47 = getelementptr inbounds i8, ptr %12, i64 32
  store ptr %10, ptr %47, align 8, !tbaa !5
  %48 = invoke noundef i64 @_ZN14redex_parallel19default_num_threadsEv()
          to label %49 unwind label %60

49:                                               ; preds = %42
  %50 = add i64 %43, 99
  %51 = udiv i64 %50, 100
  %52 = trunc i64 %48 to i32
  invoke void @"_Z17workqueue_run_forImZN18RealPositionMapper12write_map_v2EvE3$_2EvT_S2_RKT0_j"(i64 noundef 0, i64 noundef %51, ptr noundef nonnull align 8 dereferenceable(40) %12, i32 noundef %52)
          to label %53 unwind label %60

53:                                               ; preds = %49
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %12) #8
  %54 = call noundef i64 @_ZNKSt6vectorIjSaIjEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %10) #8
  %55 = call noundef i64 @_ZNKSt6vectorIP11DexPositionSaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %39) #8
  %56 = mul i64 %55, 5
  %57 = icmp eq i64 %54, %56
  br i1 %57, label %64, label %.invoke

58:                                               ; preds = %._crit_edge
  %59 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIjED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %11) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %11) #8
  br label %172

60:                                               ; preds = %49, %42
  %61 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %12) #8
  br label %171

62:                                               ; preds = %.invoke, %80, %77, %74, %66, %64
  %63 = landingpad { ptr, i32 }
          cleanup
  br label %171

64:                                               ; preds = %53
  %65 = invoke noundef i64 @_ZNK19ConcurrentContainerISt13unordered_mapISt17basic_string_viewIcSt11char_traitsIcEEjSt4hashIS4_ESt8equal_toIS4_ESaISt4pairIKS4_jEEELm83EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(2664) %3)
          to label %66 unwind label %62

66:                                               ; preds = %64
  %67 = invoke noundef i64 @_ZNK19ConcurrentContainerISt13unordered_mapIjSt10unique_ptrINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt14default_deleteIS7_EESt4hashIjESt8equal_toIjESaISt4pairIKjSA_EEELm83EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(2664) %4)
          to label %68 unwind label %62

68:                                               ; preds = %66
  %69 = icmp eq i64 %65, %67
  br i1 %69, label %72, label %.invoke

.invoke:                                          ; preds = %53, %68
  %70 = phi ptr [ @.str.25, %68 ], [ @.str.24, %53 ]
  %71 = phi i32 [ 415, %68 ], [ 414, %53 ]
  invoke void (ptr, ptr, i32, ptr, i32, ptr, ...) @_Z11assert_failPKcS0_jS0_10RedexErrorS0_z(ptr noundef nonnull %70, ptr noundef nonnull @.str.9, i32 noundef %71, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN18RealPositionMapper12write_map_v2Ev, i32 noundef 2, ptr noundef nonnull @.str.10) #9
          to label %.cont unwind label %62

.cont:                                            ; preds = %.invoke
  unreachable

72:                                               ; preds = %68
  %73 = call noundef i64 @_ZNKSt13__atomic_baseImE4loadESt12memory_order(ptr noundef nonnull align 8 dereferenceable(8) %9, i32 noundef 5) #8
  %.not = icmp eq i64 %73, 0
  br i1 %.not, label %82, label %74

74:                                               ; preds = %72
  %75 = invoke noundef zeroext i1 @_Z12traceEnabled11TraceModulei(i32 noundef 92, i32 noundef 1)
          to label %76 unwind label %62

76:                                               ; preds = %74
  br i1 %75, label %82, label %77

77:                                               ; preds = %76
  %78 = invoke noundef zeroext i1 @_Z12traceEnabled11TraceModulei(i32 noundef 92, i32 noundef 0)
          to label %79 unwind label %62

79:                                               ; preds = %77
  br i1 %78, label %80, label %82

80:                                               ; preds = %79
  %81 = call noundef i64 @_ZNKSt13__atomic_baseImE4loadESt12memory_order(ptr noundef nonnull align 8 dereferenceable(8) %9, i32 noundef 5) #8
  invoke void (i32, i32, i1, ptr, ...) @_Z5trace11TraceModuleibPKcz(i32 noundef 92, i32 noundef 0, i1 noundef zeroext false, ptr noundef nonnull @.str.26, i64 noundef %81)
          to label %82 unwind label %62

82:                                               ; preds = %79, %80, %76, %72
  call void @llvm.lifetime.start.p0(i64 512, ptr nonnull %13) #8
  %83 = getelementptr inbounds i8, ptr %0, i64 8
  %84 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %83) #8
  %85 = call noundef i32 @_ZStorSt13_Ios_OpenmodeS_(i32 noundef 16, i32 noundef 32)
  invoke void @_ZNSt14basic_ofstreamIcSt11char_traitsIcEEC1EPKcSt13_Ios_Openmode(ptr noundef nonnull align 8 dereferenceable(248) %13, ptr noundef %84, i32 noundef %85)
          to label %86 unwind label %103

86:                                               ; preds = %82
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %14) #8
  store i32 -87117824, ptr %14, align 4, !tbaa !15
  %87 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSo5writeEPKcl(ptr noundef nonnull align 8 dereferenceable(8) %13, ptr noundef nonnull %14, i64 noundef 4)
          to label %88 unwind label %105

88:                                               ; preds = %86
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %15) #8
  store i32 2, ptr %15, align 4, !tbaa !15
  %89 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSo5writeEPKcl(ptr noundef nonnull align 8 dereferenceable(8) %13, ptr noundef nonnull %15, i64 noundef 4)
          to label %90 unwind label %107

90:                                               ; preds = %88
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %16) #8
  %91 = invoke noundef i64 @_ZNK19ConcurrentContainerISt13unordered_mapIjSt10unique_ptrINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt14default_deleteIS7_EESt4hashIjESt8equal_toIjESaISt4pairIKjSA_EEELm83EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(2664) %4)
          to label %92 unwind label %109

92:                                               ; preds = %90
  %93 = trunc i64 %91 to i32
  store i32 %93, ptr %16, align 4, !tbaa !15
  %94 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSo5writeEPKcl(ptr noundef nonnull align 8 dereferenceable(8) %13, ptr noundef nonnull %16, i64 noundef 4)
          to label %95 unwind label %109

95:                                               ; preds = %92
  %96 = invoke noundef i64 @_ZNK19ConcurrentContainerISt13unordered_mapIjSt10unique_ptrINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt14default_deleteIS7_EESt4hashIjESt8equal_toIjESaISt4pairIKjSA_EEELm83EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(2664) %4)
          to label %97 unwind label %109

97:                                               ; preds = %95
  %98 = call noundef i32 @_ZNSt14numeric_limitsIjE3maxEv() #8
  %99 = zext i32 %98 to i64
  %100 = icmp ult i64 %96, %99
  br i1 %100, label %111, label %101

101:                                              ; preds = %97
  invoke void (ptr, ptr, i32, ptr, i32, ptr, ...) @_Z11assert_failPKcS0_jS0_10RedexErrorS0_z(ptr noundef nonnull @.str.27, ptr noundef nonnull @.str.9, i32 noundef 432, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN18RealPositionMapper12write_map_v2Ev, i32 noundef 2, ptr noundef nonnull @.str.10) #9
          to label %102 unwind label %109

102:                                              ; preds = %101
  unreachable

103:                                              ; preds = %82
  %104 = landingpad { ptr, i32 }
          cleanup
  br label %170

105:                                              ; preds = %86
  %106 = landingpad { ptr, i32 }
          cleanup
  br label %169

107:                                              ; preds = %88
  %108 = landingpad { ptr, i32 }
          cleanup
  br label %168

109:                                              ; preds = %101, %95, %92, %90
  %110 = landingpad { ptr, i32 }
          cleanup
  br label %167

111:                                              ; preds = %97
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %17) #8
  %112 = call noundef i32 @_ZNKSt13__atomic_baseIjE4loadESt12memory_order(ptr noundef nonnull align 4 dereferenceable(4) %5, i32 noundef 5) #8
  %113 = zext i32 %112 to i64
  invoke void @_ZSt11make_uniqueIA_jENSt8__detail9_MakeUniqIT_E7__arrayEm(ptr dead_on_unwind nonnull writable sret(%"class.std::unique_ptr.427") align 8 %17, i64 noundef %113)
          to label %114 unwind label %121

114:                                              ; preds = %111
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %18) #8
  store i32 1, ptr %18, align 4, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %19) #8
  store ptr %17, ptr %19, align 8, !tbaa !5
  %115 = getelementptr inbounds i8, ptr %19, i64 8
  store ptr %4, ptr %115, align 8, !tbaa !5
  %116 = getelementptr inbounds i8, ptr %19, i64 16
  store ptr %13, ptr %116, align 8, !tbaa !5
  %117 = getelementptr inbounds i8, ptr %19, i64 24
  store ptr %18, ptr %117, align 8, !tbaa !5
  %118 = call noundef i64 @_ZNKSt6vectorIP11DexPositionSaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %39) #8
  %.not31 = icmp eq i64 %118, 0
  br i1 %.not31, label %._crit_edge30, label %.lr.ph29

._crit_edge30:                                    ; preds = %131, %114
  %119 = load i32, ptr %18, align 4, !tbaa !15
  %120 = invoke noundef i64 @_ZNK19ConcurrentContainerISt13unordered_mapIjSt10unique_ptrINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt14default_deleteIS7_EESt4hashIjESt8equal_toIjESaISt4pairIKjSA_EEELm83EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(2664) %4)
          to label %137 unwind label %143

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

.lr.ph29:                                         ; preds = %114, %131
  %.027 = phi i64 [ %132, %131 ], [ 0, %114 ]
  %123 = mul i64 %.027, 5
  %124 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %10, i64 noundef %123) #8
  invoke void @"_ZZN18RealPositionMapper12write_map_v2EvENK3$_3clERj"(ptr noundef nonnull align 8 dereferenceable(32) %19, ptr noundef nonnull align 4 dereferenceable(4) %124)
          to label %125 unwind label %135

125:                                              ; preds = %.lr.ph29
  %126 = add i64 %123, 1
  %127 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %10, i64 noundef %126) #8
  invoke void @"_ZZN18RealPositionMapper12write_map_v2EvENK3$_3clERj"(ptr noundef nonnull align 8 dereferenceable(32) %19, ptr noundef nonnull align 4 dereferenceable(4) %127)
          to label %128 unwind label %135

128:                                              ; preds = %125
  %129 = add i64 %123, 2
  %130 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %10, i64 noundef %129) #8
  invoke void @"_ZZN18RealPositionMapper12write_map_v2EvENK3$_3clERj"(ptr noundef nonnull align 8 dereferenceable(32) %19, ptr noundef nonnull align 4 dereferenceable(4) %130)
          to label %131 unwind label %135

131:                                              ; preds = %128
  %132 = add nuw i64 %.027, 1
  %133 = call noundef i64 @_ZNKSt6vectorIP11DexPositionSaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %39) #8
  %134 = icmp ult i64 %132, %133
  br i1 %134, label %.lr.ph29, label %._crit_edge30, !llvm.loop !17

135:                                              ; preds = %128, %125, %.lr.ph29
  %136 = landingpad { ptr, i32 }
          cleanup
  br label %165

137:                                              ; preds = %._crit_edge30
  %138 = add i32 %119, -1
  %139 = zext i32 %138 to i64
  %140 = icmp eq i64 %120, %139
  br i1 %140, label %145, label %141

141:                                              ; preds = %137
  invoke void (ptr, ptr, i32, ptr, i32, ptr, ...) @_Z11assert_failPKcS0_jS0_10RedexErrorS0_z(ptr noundef nonnull @.str.28, ptr noundef nonnull @.str.9, i32 noundef 456, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN18RealPositionMapper12write_map_v2Ev, i32 noundef 2, ptr noundef nonnull @.str.10) #9
          to label %142 unwind label %143

142:                                              ; preds = %141
  unreachable

143:                                              ; preds = %141, %._crit_edge30
  %144 = landingpad { ptr, i32 }
          cleanup
  br label %165

145:                                              ; preds = %137
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %20) #8
  %146 = call noundef i64 @_ZNKSt6vectorIP11DexPositionSaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %39) #8
  %147 = trunc i64 %146 to i32
  store i32 %147, ptr %20, align 4, !tbaa !15
  %148 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSo5writeEPKcl(ptr noundef nonnull align 8 dereferenceable(8) %13, ptr noundef nonnull %20, i64 noundef 4)
          to label %149 unwind label %162

149:                                              ; preds = %145
  %150 = call noundef ptr @_ZNSt6vectorIjSaIjEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %10) #8
  %151 = call noundef i64 @_ZNKSt6vectorIjSaIjEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %10) #8
  %152 = shl i64 %151, 2
  %153 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSo5writeEPKcl(ptr noundef nonnull align 8 dereferenceable(8) %13, ptr noundef %150, i64 noundef %152)
          to label %154 unwind label %162

154:                                              ; preds = %149
  %155 = invoke noundef zeroext i1 @_Z12traceEnabled11TraceModulei(i32 noundef 92, i32 noundef 2)
          to label %156 unwind label %162

156:                                              ; preds = %154
  br i1 %155, label %157, label %164

157:                                              ; preds = %156
  %158 = call noundef i64 @_ZNKSt6vectorIP11DexPositionSaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %39) #8
  %159 = invoke noundef i64 @_ZNK19ConcurrentContainerISt13unordered_mapIjSt10unique_ptrINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt14default_deleteIS7_EESt4hashIjESt8equal_toIjESaISt4pairIKjSA_EEELm83EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(2664) %4)
          to label %160 unwind label %162

160:                                              ; preds = %157
  %161 = call noundef i32 @_ZNKSt13__atomic_baseIjE4loadESt12memory_order(ptr noundef nonnull align 4 dereferenceable(4) %5, i32 noundef 5) #8
  invoke void (i32, i32, i1, ptr, ...) @_Z5trace11TraceModuleibPKcz(i32 noundef 92, i32 noundef 2, i1 noundef zeroext false, ptr noundef nonnull @.str.29, i64 noundef %158, i64 noundef %159, i32 noundef %161)
          to label %164 unwind label %162

162:                                              ; preds = %160, %157, %154, %149, %145
  %163 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %20) #8
  br label %165

164:                                              ; preds = %160, %156
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %20) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %19) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %18) #8
  call void @_ZNSt10unique_ptrIA_jSt14default_deleteIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %17) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %16) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %15) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %14) #8
  call void @_ZNSt14basic_ofstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(248) %13) #8
  call void @llvm.lifetime.end.p0(i64 512, ptr nonnull %13) #8
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %10) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #8
  call void @_ZN19ConcurrentContainerISt13unordered_mapIPK9DexStringZN18RealPositionMapper12write_map_v2EvE10MethodInfoSt4hashIS3_ESt8equal_toIS3_ESaISt4pairIKS3_S5_EEELm83EED2Ev(ptr noundef nonnull align 8 dereferenceable(2664) %7) #8
  call void @llvm.lifetime.end.p0(i64 2664, ptr nonnull %7) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #8
  call void @_ZN19ConcurrentContainerISt13unordered_mapIjSt10unique_ptrINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt14default_deleteIS7_EESt4hashIjESt8equal_toIjESaISt4pairIKjSA_EEELm83EED2Ev(ptr noundef nonnull align 8 dereferenceable(2664) %4) #8
  call void @llvm.lifetime.end.p0(i64 2664, ptr nonnull %4) #8
  call void @_ZN19ConcurrentContainerISt13unordered_mapISt17basic_string_viewIcSt11char_traitsIcEEjSt4hashIS4_ESt8equal_toIS4_ESaISt4pairIKS4_jEEELm83EED2Ev(ptr noundef nonnull align 8 dereferenceable(2664) %3) #8
  call void @llvm.lifetime.end.p0(i64 2664, ptr nonnull %3) #8
  ret void

165:                                              ; preds = %162, %143, %135
  %.pn = phi { ptr, i32 } [ %136, %135 ], [ %163, %162 ], [ %144, %143 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %19) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %18) #8
  call void @_ZNSt10unique_ptrIA_jSt14default_deleteIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %17) #8
  br label %166

166:                                              ; preds = %165, %121
  %.pn.pn = phi { ptr, i32 } [ %.pn, %165 ], [ %122, %121 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #8
  br label %167

167:                                              ; preds = %166, %109
  %.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn, %166 ], [ %110, %109 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %16) #8
  br label %168

168:                                              ; preds = %167, %107
  %.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn, %167 ], [ %108, %107 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %15) #8
  br label %169

169:                                              ; preds = %168, %105
  %.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn, %168 ], [ %106, %105 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %14) #8
  call void @_ZNSt14basic_ofstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(248) %13) #8
  br label %170

170:                                              ; preds = %169, %103
  %.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn.pn, %169 ], [ %104, %103 ]
  call void @llvm.lifetime.end.p0(i64 512, ptr nonnull %13) #8
  br label %171

171:                                              ; preds = %170, %62, %60
  %.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn.pn.pn, %170 ], [ %63, %62 ], [ %61, %60 ]
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #8
  br label %172

172:                                              ; preds = %171, %58
  %.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn.pn.pn.pn, %171 ], [ %59, %58 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %10) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #8
  call void @_ZN19ConcurrentContainerISt13unordered_mapIPK9DexStringZN18RealPositionMapper12write_map_v2EvE10MethodInfoSt4hashIS3_ESt8equal_toIS3_ESaISt4pairIKS3_S5_EEELm83EED2Ev(ptr noundef nonnull align 8 dereferenceable(2664) %7) #8
  call void @llvm.lifetime.end.p0(i64 2664, ptr nonnull %7) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #8
  call void @_ZN19ConcurrentContainerISt13unordered_mapIjSt10unique_ptrINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt14default_deleteIS7_EESt4hashIjESt8equal_toIjESaISt4pairIKjSA_EEELm83EED2Ev(ptr noundef nonnull align 8 dereferenceable(2664) %4) #8
  call void @llvm.lifetime.end.p0(i64 2664, ptr nonnull %4) #8
  call void @_ZN19ConcurrentContainerISt13unordered_mapISt17basic_string_viewIcSt11char_traitsIcEEjSt4hashIS4_ESt8equal_toIS4_ESaISt4pairIKS4_jEEELm83EED2Ev(ptr noundef nonnull align 8 dereferenceable(2664) %3) #8
  call void @llvm.lifetime.end.p0(i64 2664, ptr nonnull %3) #8
  resume { ptr, i32 } %.pn.pn.pn.pn.pn.pn.pn.pn
}

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNKSt5queueIP11DexPositionSt5dequeIS1_SaIS1_EEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(80)) local_unnamed_addr #1 align 2

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare hidden void @"_Z17workqueue_run_forImZN18RealPositionMapper12write_map_v2EvE3$_2EvT_S2_RKT0_j"(i64 noundef, i64 noundef, ptr noundef nonnull align 8 dereferenceable(40), i32 noundef) local_unnamed_addr #3

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

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

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

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNKSt13__atomic_baseImE4loadESt12memory_order(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef) local_unnamed_addr #5 align 2

declare noundef zeroext i1 @_Z12traceEnabled11TraceModulei(i32 noundef, i32 noundef) local_unnamed_addr #6

declare void @_Z5trace11TraceModuleibPKcz(i32 noundef, i32 noundef, i1 noundef zeroext, ptr noundef, ...) local_unnamed_addr #6

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZStorSt13_Ios_OpenmodeS_(i32 noundef, i32 noundef) local_unnamed_addr #7

; Function Attrs: mustprogress uwtable
declare void @_ZNSt14basic_ofstreamIcSt11char_traitsIcEEC1EPKcSt13_Ios_Openmode(ptr noundef nonnull align 8 dereferenceable(248), ptr noundef, i32 noundef) unnamed_addr #3 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNSt14numeric_limitsIjE3maxEv() local_unnamed_addr #1 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt11make_uniqueIA_jENSt8__detail9_MakeUniqIT_E7__arrayEm(ptr dead_on_unwind noalias writable sret(%"class.std::unique_ptr.427") align 8, i64 noundef) local_unnamed_addr #4

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNKSt13__atomic_baseIjE4loadESt12memory_order(ptr noundef nonnull align 4 dereferenceable(4), i32 noundef) local_unnamed_addr #5 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @"_ZZN18RealPositionMapper12write_map_v2EvENK3$_3clERj"(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #4 align 2

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

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

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

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

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

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

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

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

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

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

!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 = !{!"long", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = !{!14, !6, i64 0}
!14 = !{!"_ZTSZN18RealPositionMapper12write_map_v2EvE3$_2", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32}
!15 = !{!16, !16, i64 0}
!16 = !{!"int", !7, i64 0}
!17 = distinct !{!17, !12}


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