; LLVM IR from facebook/redex :: libredex (DexLoader)

; 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.DexLoader = type { ptr, %"class.std::unique_ptr", ptr, %"class.std::vector", %"class.std::unique_ptr.6", i64, ptr, %struct.dex_stats_t, i32, i32 }
%"class.std::unique_ptr" = type { %"struct.std::__uniq_ptr_data" }
%"struct.std::__uniq_ptr_data" = type { %"class.std::__uniq_ptr_impl" }
%"class.std::__uniq_ptr_impl" = type { %"class.std::tuple" }
%"class.std::tuple" = type { %"struct.std::_Tuple_impl" }
%"struct.std::_Tuple_impl" = type { %"struct.std::_Head_base.2" }
%"struct.std::_Head_base.2" = type { ptr }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<DexClass *, std::allocator<DexClass *>>::_Vector_impl" }
%"struct.std::_Vector_base<DexClass *, std::allocator<DexClass *>>::_Vector_impl" = type { %"struct.std::_Vector_base<DexClass *, std::allocator<DexClass *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<DexClass *, std::allocator<DexClass *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::unique_ptr.6" = type { %"struct.std::__uniq_ptr_data.7" }
%"struct.std::__uniq_ptr_data.7" = type { %"class.std::__uniq_ptr_impl.8" }
%"class.std::__uniq_ptr_impl.8" = type { %"class.std::tuple.9" }
%"class.std::tuple.9" = type { %"struct.std::_Tuple_impl.10" }
%"struct.std::_Tuple_impl.10" = type { %"struct.std::_Tuple_impl.11", %"struct.std::_Head_base.13" }
%"struct.std::_Tuple_impl.11" = type { %"struct.std::_Head_base.12" }
%"struct.std::_Head_base.12" = type { %"class.std::function" }
%"class.std::function" = type { %"class.std::_Function_base", ptr }
%"class.std::_Function_base" = type { %"union.std::_Any_data", ptr }
%"union.std::_Any_data" = type { %"union.std::_Nocopy_types" }
%"union.std::_Nocopy_types" = type { { i64, i64 } }
%"struct.std::_Head_base.13" = type { ptr }
%struct.dex_stats_t = type { [20 x i8], i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32 }

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

; Function Attrs: mustprogress nounwind uwtable
define dso_local void @_ZN9DexLoaderC2EPK11DexLocationSt10unique_ptrIKhSt8functionIFvPS4_EEEmiNS_8ParallelE(ptr noundef nonnull align 8 dereferenceable(408) %0, ptr noundef %1, ptr noundef %2, i64 noundef %3, i32 noundef %4, i32 noundef %5) unnamed_addr #0 align 2 {
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca i64, align 8
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  store ptr %0, ptr %7, align 8, !tbaa !5
  store ptr %1, ptr %8, align 8, !tbaa !5
  store ptr %2, ptr %9, align 8, !tbaa !5
  store i64 %3, ptr %10, align 8, !tbaa !9
  store i32 %4, ptr %11, align 4, !tbaa !11
  store i32 %5, ptr %12, align 4, !tbaa !13
  %13 = load ptr, ptr %7, align 8
  %14 = getelementptr inbounds %class.DexLoader, ptr %13, i32 0, i32 0
  %15 = call noundef ptr @_ZNKSt10unique_ptrIKhSt8functionIFvPS0_EEE3getEv(ptr noundef nonnull align 8 dereferenceable(40) %2) #2
  store ptr %15, ptr %14, align 8, !tbaa !15
  %16 = getelementptr inbounds %class.DexLoader, ptr %13, i32 0, i32 1
  call void @_ZNSt10unique_ptrI6DexIdxSt14default_deleteIS0_EEC2IS2_vEEDn(ptr noundef nonnull align 8 dereferenceable(8) %16, ptr null) #2
  %17 = getelementptr inbounds %class.DexLoader, ptr %13, i32 0, i32 3
  call void @_ZNSt6vectorIP8DexClassSaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %17) #2
  %18 = getelementptr inbounds %class.DexLoader, ptr %13, i32 0, i32 4
  call void @_ZNSt10unique_ptrIKhSt8functionIFvPS0_EEEC2EOS5_(ptr noundef nonnull align 8 dereferenceable(40) %18, ptr noundef nonnull align 8 dereferenceable(40) %2) #2
  %19 = getelementptr inbounds %class.DexLoader, ptr %13, i32 0, i32 5
  %20 = load i64, ptr %10, align 8, !tbaa !9
  store i64 %20, ptr %19, align 8, !tbaa !38
  %21 = getelementptr inbounds %class.DexLoader, ptr %13, i32 0, i32 6
  %22 = load ptr, ptr %8, align 8, !tbaa !5
  store ptr %22, ptr %21, align 8, !tbaa !39
  %23 = getelementptr inbounds %class.DexLoader, ptr %13, i32 0, i32 7
  %24 = getelementptr inbounds %struct.dex_stats_t, ptr %23, i32 0, i32 0
  call void @llvm.memset.p0.i64(ptr align 8 %24, i8 0, i64 20, i1 false)
  %25 = getelementptr inbounds %struct.dex_stats_t, ptr %23, i32 0, i32 1
  store i32 0, ptr %25, align 4, !tbaa !40
  %26 = getelementptr inbounds %struct.dex_stats_t, ptr %23, i32 0, i32 2
  store i32 0, ptr %26, align 8, !tbaa !41
  %27 = getelementptr inbounds %struct.dex_stats_t, ptr %23, i32 0, i32 3
  store i32 0, ptr %27, align 4, !tbaa !42
  %28 = getelementptr inbounds %struct.dex_stats_t, ptr %23, i32 0, i32 4
  store i32 0, ptr %28, align 8, !tbaa !43
  %29 = getelementptr inbounds %struct.dex_stats_t, ptr %23, i32 0, i32 5
  store i32 0, ptr %29, align 4, !tbaa !44
  %30 = getelementptr inbounds %struct.dex_stats_t, ptr %23, i32 0, i32 6
  store i32 0, ptr %30, align 8, !tbaa !45
  %31 = getelementptr inbounds %struct.dex_stats_t, ptr %23, i32 0, i32 7
  store i32 0, ptr %31, align 4, !tbaa !46
  %32 = getelementptr inbounds %struct.dex_stats_t, ptr %23, i32 0, i32 8
  store i32 0, ptr %32, align 8, !tbaa !47
  %33 = getelementptr inbounds %struct.dex_stats_t, ptr %23, i32 0, i32 9
  store i32 0, ptr %33, align 4, !tbaa !48
  %34 = getelementptr inbounds %struct.dex_stats_t, ptr %23, i32 0, i32 10
  store i32 0, ptr %34, align 8, !tbaa !49
  %35 = getelementptr inbounds %struct.dex_stats_t, ptr %23, i32 0, i32 11
  store i32 0, ptr %35, align 4, !tbaa !50
  %36 = getelementptr inbounds %struct.dex_stats_t, ptr %23, i32 0, i32 12
  store i32 0, ptr %36, align 8, !tbaa !51
  %37 = getelementptr inbounds %struct.dex_stats_t, ptr %23, i32 0, i32 13
  store i32 0, ptr %37, align 4, !tbaa !52
  %38 = getelementptr inbounds %struct.dex_stats_t, ptr %23, i32 0, i32 14
  store i32 0, ptr %38, align 8, !tbaa !53
  %39 = getelementptr inbounds %struct.dex_stats_t, ptr %23, i32 0, i32 15
  store i32 0, ptr %39, align 4, !tbaa !54
  %40 = getelementptr inbounds %struct.dex_stats_t, ptr %23, i32 0, i32 16
  store i32 0, ptr %40, align 8, !tbaa !55
  %41 = getelementptr inbounds %struct.dex_stats_t, ptr %23, i32 0, i32 17
  store i32 0, ptr %41, align 4, !tbaa !56
  %42 = getelementptr inbounds %struct.dex_stats_t, ptr %23, i32 0, i32 18
  store i32 0, ptr %42, align 8, !tbaa !57
  %43 = getelementptr inbounds %struct.dex_stats_t, ptr %23, i32 0, i32 19
  store i32 0, ptr %43, align 4, !tbaa !58
  %44 = getelementptr inbounds %struct.dex_stats_t, ptr %23, i32 0, i32 20
  store i32 0, ptr %44, align 8, !tbaa !59
  %45 = getelementptr inbounds %struct.dex_stats_t, ptr %23, i32 0, i32 21
  store i32 0, ptr %45, align 4, !tbaa !60
  %46 = getelementptr inbounds %struct.dex_stats_t, ptr %23, i32 0, i32 22
  store i32 0, ptr %46, align 8, !tbaa !61
  %47 = getelementptr inbounds %struct.dex_stats_t, ptr %23, i32 0, i32 23
  store i32 0, ptr %47, align 4, !tbaa !62
  %48 = getelementptr inbounds %struct.dex_stats_t, ptr %23, i32 0, i32 24
  store i32 0, ptr %48, align 8, !tbaa !63
  %49 = getelementptr inbounds %struct.dex_stats_t, ptr %23, i32 0, i32 25
  store i32 0, ptr %49, align 4, !tbaa !64
  %50 = getelementptr inbounds %struct.dex_stats_t, ptr %23, i32 0, i32 26
  store i32 0, ptr %50, align 8, !tbaa !65
  %51 = getelementptr inbounds %struct.dex_stats_t, ptr %23, i32 0, i32 27
  store i32 0, ptr %51, align 4, !tbaa !66
  %52 = getelementptr inbounds %struct.dex_stats_t, ptr %23, i32 0, i32 28
  store i32 0, ptr %52, align 8, !tbaa !67
  %53 = getelementptr inbounds %struct.dex_stats_t, ptr %23, i32 0, i32 29
  store i32 0, ptr %53, align 4, !tbaa !68
  %54 = getelementptr inbounds %struct.dex_stats_t, ptr %23, i32 0, i32 30
  store i32 0, ptr %54, align 8, !tbaa !69
  %55 = getelementptr inbounds %struct.dex_stats_t, ptr %23, i32 0, i32 31
  store i32 0, ptr %55, align 4, !tbaa !70
  %56 = getelementptr inbounds %struct.dex_stats_t, ptr %23, i32 0, i32 32
  store i32 0, ptr %56, align 8, !tbaa !71
  %57 = getelementptr inbounds %struct.dex_stats_t, ptr %23, i32 0, i32 33
  store i32 0, ptr %57, align 4, !tbaa !72
  %58 = getelementptr inbounds %struct.dex_stats_t, ptr %23, i32 0, i32 34
  store i32 0, ptr %58, align 8, !tbaa !73
  %59 = getelementptr inbounds %struct.dex_stats_t, ptr %23, i32 0, i32 35
  store i32 0, ptr %59, align 4, !tbaa !74
  %60 = getelementptr inbounds %struct.dex_stats_t, ptr %23, i32 0, i32 36
  store i32 0, ptr %60, align 8, !tbaa !75
  %61 = getelementptr inbounds %struct.dex_stats_t, ptr %23, i32 0, i32 37
  store i32 0, ptr %61, align 4, !tbaa !76
  %62 = getelementptr inbounds %struct.dex_stats_t, ptr %23, i32 0, i32 38
  store i32 0, ptr %62, align 8, !tbaa !77
  %63 = getelementptr inbounds %struct.dex_stats_t, ptr %23, i32 0, i32 39
  store i32 0, ptr %63, align 4, !tbaa !78
  %64 = getelementptr inbounds %struct.dex_stats_t, ptr %23, i32 0, i32 40
  store i32 0, ptr %64, align 8, !tbaa !79
  %65 = getelementptr inbounds %struct.dex_stats_t, ptr %23, i32 0, i32 41
  store i32 0, ptr %65, align 4, !tbaa !80
  %66 = getelementptr inbounds %struct.dex_stats_t, ptr %23, i32 0, i32 42
  store i32 0, ptr %66, align 8, !tbaa !81
  %67 = getelementptr inbounds %struct.dex_stats_t, ptr %23, i32 0, i32 43
  store i32 0, ptr %67, align 4, !tbaa !82
  %68 = getelementptr inbounds %struct.dex_stats_t, ptr %23, i32 0, i32 44
  store i32 0, ptr %68, align 8, !tbaa !83
  %69 = getelementptr inbounds %struct.dex_stats_t, ptr %23, i32 0, i32 45
  store i32 0, ptr %69, align 4, !tbaa !84
  %70 = getelementptr inbounds %struct.dex_stats_t, ptr %23, i32 0, i32 46
  store i32 0, ptr %70, align 8, !tbaa !85
  %71 = getelementptr inbounds %struct.dex_stats_t, ptr %23, i32 0, i32 47
  store i32 0, ptr %71, align 4, !tbaa !86
  %72 = getelementptr inbounds %struct.dex_stats_t, ptr %23, i32 0, i32 48
  store i32 0, ptr %72, align 8, !tbaa !87
  %73 = getelementptr inbounds %struct.dex_stats_t, ptr %23, i32 0, i32 49
  store i32 0, ptr %73, align 4, !tbaa !88
  %74 = getelementptr inbounds %struct.dex_stats_t, ptr %23, i32 0, i32 50
  store i32 0, ptr %74, align 8, !tbaa !89
  %75 = getelementptr inbounds %struct.dex_stats_t, ptr %23, i32 0, i32 51
  store i32 0, ptr %75, align 4, !tbaa !90
  %76 = getelementptr inbounds %struct.dex_stats_t, ptr %23, i32 0, i32 52
  store i32 0, ptr %76, align 8, !tbaa !91
  %77 = getelementptr inbounds %struct.dex_stats_t, ptr %23, i32 0, i32 53
  store i32 0, ptr %77, align 4, !tbaa !92
  %78 = getelementptr inbounds %struct.dex_stats_t, ptr %23, i32 0, i32 54
  store i32 0, ptr %78, align 8, !tbaa !93
  %79 = getelementptr inbounds %struct.dex_stats_t, ptr %23, i32 0, i32 55
  store i32 0, ptr %79, align 4, !tbaa !94
  %80 = getelementptr inbounds %struct.dex_stats_t, ptr %23, i32 0, i32 56
  store i32 0, ptr %80, align 8, !tbaa !95
  %81 = getelementptr inbounds %struct.dex_stats_t, ptr %23, i32 0, i32 57
  store i32 0, ptr %81, align 4, !tbaa !96
  %82 = getelementptr inbounds %struct.dex_stats_t, ptr %23, i32 0, i32 58
  store i32 0, ptr %82, align 8, !tbaa !97
  %83 = getelementptr inbounds %struct.dex_stats_t, ptr %23, i32 0, i32 59
  store i32 0, ptr %83, align 4, !tbaa !98
  %84 = getelementptr inbounds %struct.dex_stats_t, ptr %23, i32 0, i32 60
  store i32 0, ptr %84, align 8, !tbaa !99
  %85 = getelementptr inbounds %struct.dex_stats_t, ptr %23, i32 0, i32 61
  store i32 0, ptr %85, align 4, !tbaa !100
  %86 = getelementptr inbounds %struct.dex_stats_t, ptr %23, i32 0, i32 62
  store i32 0, ptr %86, align 8, !tbaa !101
  %87 = getelementptr inbounds %struct.dex_stats_t, ptr %23, i32 0, i32 63
  store i32 0, ptr %87, align 4, !tbaa !102
  %88 = getelementptr inbounds %struct.dex_stats_t, ptr %23, i32 0, i32 64
  store i32 0, ptr %88, align 8, !tbaa !103
  %89 = getelementptr inbounds %struct.dex_stats_t, ptr %23, i32 0, i32 65
  store i32 0, ptr %89, align 4, !tbaa !104
  %90 = getelementptr inbounds %struct.dex_stats_t, ptr %23, i32 0, i32 66
  store i32 0, ptr %90, align 8, !tbaa !105
  %91 = getelementptr inbounds %struct.dex_stats_t, ptr %23, i32 0, i32 67
  store i32 0, ptr %91, align 4, !tbaa !106
  %92 = getelementptr inbounds %struct.dex_stats_t, ptr %23, i32 0, i32 68
  store i32 0, ptr %92, align 8, !tbaa !107
  %93 = getelementptr inbounds %struct.dex_stats_t, ptr %23, i32 0, i32 69
  store i32 0, ptr %93, align 4, !tbaa !108
  %94 = getelementptr inbounds %class.DexLoader, ptr %13, i32 0, i32 8
  %95 = load i32, ptr %11, align 4, !tbaa !11
  store i32 %95, ptr %94, align 8, !tbaa !109
  %96 = getelementptr inbounds %class.DexLoader, ptr %13, i32 0, i32 9
  %97 = load i32, ptr %12, align 4, !tbaa !13
  store i32 %97, ptr %96, align 4, !tbaa !110
  ret void
}

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt10unique_ptrIKhSt8functionIFvPS0_EEEC2EOS5_(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef nonnull align 8 dereferenceable(40)) unnamed_addr #0 align 2

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

attributes #0 = { 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 #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"long", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"_ZTSN9DexLoader8ParallelE", !7, i64 0}
!15 = !{!16, !6, i64 0}
!16 = !{!"_ZTS9DexLoader", !6, i64 0, !17, i64 8, !6, i64 16, !23, i64 24, !27, i64 48, !10, i64 88, !6, i64 96, !37, i64 104, !12, i64 400, !14, i64 404}
!17 = !{!"_ZTSSt10unique_ptrI6DexIdxSt14default_deleteIS0_EE", !18, i64 0}
!18 = !{!"_ZTSSt15__uniq_ptr_dataI6DexIdxSt14default_deleteIS0_ELb1ELb1EE", !19, i64 0}
!19 = !{!"_ZTSSt15__uniq_ptr_implI6DexIdxSt14default_deleteIS0_EE", !20, i64 0}
!20 = !{!"_ZTSSt5tupleIJP6DexIdxSt14default_deleteIS0_EEE", !21, i64 0}
!21 = !{!"_ZTSSt11_Tuple_implILm0EJP6DexIdxSt14default_deleteIS0_EEE", !22, i64 0}
!22 = !{!"_ZTSSt10_Head_baseILm0EP6DexIdxLb0EE", !6, i64 0}
!23 = !{!"_ZTSSt6vectorIP8DexClassSaIS1_EE", !24, i64 0}
!24 = !{!"_ZTSSt12_Vector_baseIP8DexClassSaIS1_EE", !25, i64 0}
!25 = !{!"_ZTSNSt12_Vector_baseIP8DexClassSaIS1_EE12_Vector_implE", !26, i64 0}
!26 = !{!"_ZTSNSt12_Vector_baseIP8DexClassSaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!27 = !{!"_ZTSSt10unique_ptrIKhSt8functionIFvPS0_EEE", !28, i64 0}
!28 = !{!"_ZTSSt15__uniq_ptr_dataIKhSt8functionIFvPS0_EELb1ELb1EE", !29, i64 0}
!29 = !{!"_ZTSSt15__uniq_ptr_implIKhSt8functionIFvPS0_EEE", !30, i64 0}
!30 = !{!"_ZTSSt5tupleIJPKhSt8functionIFvS1_EEEE", !31, i64 0}
!31 = !{!"_ZTSSt11_Tuple_implILm0EJPKhSt8functionIFvS1_EEEE", !32, i64 0, !36, i64 32}
!32 = !{!"_ZTSSt11_Tuple_implILm1EJSt8functionIFvPKhEEEE", !33, i64 0}
!33 = !{!"_ZTSSt10_Head_baseILm1ESt8functionIFvPKhEELb0EE", !34, i64 0}
!34 = !{!"_ZTSSt8functionIFvPKhEE", !35, i64 0, !6, i64 24}
!35 = !{!"_ZTSSt14_Function_base", !7, i64 0, !6, i64 16}
!36 = !{!"_ZTSSt10_Head_baseILm0EPKhLb0EE", !6, i64 0}
!37 = !{!"_ZTS11dex_stats_t", !7, i64 0, !12, i64 20, !12, i64 24, !12, i64 28, !12, i64 32, !12, i64 36, !12, i64 40, !12, i64 44, !12, i64 48, !12, i64 52, !12, i64 56, !12, i64 60, !12, i64 64, !12, i64 68, !12, i64 72, !12, i64 76, !12, i64 80, !12, i64 84, !12, i64 88, !12, i64 92, !12, i64 96, !12, i64 100, !12, i64 104, !12, i64 108, !12, i64 112, !12, i64 116, !12, i64 120, !12, i64 124, !12, i64 128, !12, i64 132, !12, i64 136, !12, i64 140, !12, i64 144, !12, i64 148, !12, i64 152, !12, i64 156, !12, i64 160, !12, i64 164, !12, i64 168, !12, i64 172, !12, i64 176, !12, i64 180, !12, i64 184, !12, i64 188, !12, i64 192, !12, i64 196, !12, i64 200, !12, i64 204, !12, i64 208, !12, i64 212, !12, i64 216, !12, i64 220, !12, i64 224, !12, i64 228, !12, i64 232, !12, i64 236, !12, i64 240, !12, i64 244, !12, i64 248, !12, i64 252, !12, i64 256, !12, i64 260, !12, i64 264, !12, i64 268, !12, i64 272, !12, i64 276, !12, i64 280, !12, i64 284, !12, i64 288, !12, i64 292}
!38 = !{!16, !10, i64 88}
!39 = !{!16, !6, i64 96}
!40 = !{!37, !12, i64 20}
!41 = !{!37, !12, i64 24}
!42 = !{!37, !12, i64 28}
!43 = !{!37, !12, i64 32}
!44 = !{!37, !12, i64 36}
!45 = !{!37, !12, i64 40}
!46 = !{!37, !12, i64 44}
!47 = !{!37, !12, i64 48}
!48 = !{!37, !12, i64 52}
!49 = !{!37, !12, i64 56}
!50 = !{!37, !12, i64 60}
!51 = !{!37, !12, i64 64}
!52 = !{!37, !12, i64 68}
!53 = !{!37, !12, i64 72}
!54 = !{!37, !12, i64 76}
!55 = !{!37, !12, i64 80}
!56 = !{!37, !12, i64 84}
!57 = !{!37, !12, i64 88}
!58 = !{!37, !12, i64 92}
!59 = !{!37, !12, i64 96}
!60 = !{!37, !12, i64 100}
!61 = !{!37, !12, i64 104}
!62 = !{!37, !12, i64 108}
!63 = !{!37, !12, i64 112}
!64 = !{!37, !12, i64 116}
!65 = !{!37, !12, i64 120}
!66 = !{!37, !12, i64 124}
!67 = !{!37, !12, i64 128}
!68 = !{!37, !12, i64 132}
!69 = !{!37, !12, i64 136}
!70 = !{!37, !12, i64 140}
!71 = !{!37, !12, i64 144}
!72 = !{!37, !12, i64 148}
!73 = !{!37, !12, i64 152}
!74 = !{!37, !12, i64 156}
!75 = !{!37, !12, i64 160}
!76 = !{!37, !12, i64 164}
!77 = !{!37, !12, i64 168}
!78 = !{!37, !12, i64 172}
!79 = !{!37, !12, i64 176}
!80 = !{!37, !12, i64 180}
!81 = !{!37, !12, i64 184}
!82 = !{!37, !12, i64 188}
!83 = !{!37, !12, i64 192}
!84 = !{!37, !12, i64 196}
!85 = !{!37, !12, i64 200}
!86 = !{!37, !12, i64 204}
!87 = !{!37, !12, i64 208}
!88 = !{!37, !12, i64 212}
!89 = !{!37, !12, i64 216}
!90 = !{!37, !12, i64 220}
!91 = !{!37, !12, i64 224}
!92 = !{!37, !12, i64 228}
!93 = !{!37, !12, i64 232}
!94 = !{!37, !12, i64 236}
!95 = !{!37, !12, i64 240}
!96 = !{!37, !12, i64 244}
!97 = !{!37, !12, i64 248}
!98 = !{!37, !12, i64 252}
!99 = !{!37, !12, i64 256}
!100 = !{!37, !12, i64 260}
!101 = !{!37, !12, i64 264}
!102 = !{!37, !12, i64 268}
!103 = !{!37, !12, i64 272}
!104 = !{!37, !12, i64 276}
!105 = !{!37, !12, i64 280}
!106 = !{!37, !12, i64 284}
!107 = !{!37, !12, i64 288}
!108 = !{!37, !12, i64 292}
!109 = !{!16, !12, i64 400}
!110 = !{!16, !14, i64 404}


; 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"

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

; Function Attrs: mustprogress nounwind uwtable
define dso_local void @_ZN9DexLoaderC2EPK11DexLocationSt10unique_ptrIKhSt8functionIFvPS4_EEEmiNS_8ParallelE(ptr noundef nonnull align 8 dereferenceable(408) %0, ptr noundef %1, ptr noundef nonnull %2, i64 noundef %3, i32 noundef %4, i32 noundef %5) unnamed_addr #0 align 2 {
  %7 = tail call noundef ptr @_ZNKSt10unique_ptrIKhSt8functionIFvPS0_EEE3getEv(ptr noundef nonnull align 8 dereferenceable(40) %2) #2
  store ptr %7, ptr %0, align 8, !tbaa !5
  %8 = getelementptr inbounds i8, ptr %0, i64 8
  tail call void @_ZNSt10unique_ptrI6DexIdxSt14default_deleteIS0_EEC2IS2_vEEDn(ptr noundef nonnull align 8 dereferenceable(8) %8, ptr null) #2
  %9 = getelementptr inbounds i8, ptr %0, i64 24
  tail call void @_ZNSt6vectorIP8DexClassSaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #2
  %10 = getelementptr inbounds i8, ptr %0, i64 48
  tail call void @_ZNSt10unique_ptrIKhSt8functionIFvPS0_EEEC2EOS5_(ptr noundef nonnull align 8 dereferenceable(40) %10, ptr noundef nonnull align 8 dereferenceable(40) %2) #2
  %11 = getelementptr inbounds i8, ptr %0, i64 88
  store i64 %3, ptr %11, align 8, !tbaa !34
  %12 = getelementptr inbounds i8, ptr %0, i64 96
  store ptr %1, ptr %12, align 8, !tbaa !35
  %13 = getelementptr inbounds i8, ptr %0, i64 104
  %14 = getelementptr inbounds i8, ptr %0, i64 400
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(296) %13, i8 0, i64 296, i1 false)
  store i32 %4, ptr %14, align 8, !tbaa !36
  %15 = getelementptr inbounds i8, ptr %0, i64 404
  store i32 %5, ptr %15, align 4, !tbaa !37
  ret void
}

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt10unique_ptrIKhSt8functionIFvPS0_EEEC2EOS5_(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef nonnull align 8 dereferenceable(40)) unnamed_addr #0 align 2

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

attributes #0 = { 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 #1 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"_ZTS9DexLoader", !7, i64 0, !10, i64 8, !7, i64 16, !16, i64 24, !20, i64 48, !30, i64 88, !7, i64 96, !31, i64 104, !32, i64 400, !33, i64 404}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"_ZTSSt10unique_ptrI6DexIdxSt14default_deleteIS0_EE", !11, i64 0}
!11 = !{!"_ZTSSt15__uniq_ptr_dataI6DexIdxSt14default_deleteIS0_ELb1ELb1EE", !12, i64 0}
!12 = !{!"_ZTSSt15__uniq_ptr_implI6DexIdxSt14default_deleteIS0_EE", !13, i64 0}
!13 = !{!"_ZTSSt5tupleIJP6DexIdxSt14default_deleteIS0_EEE", !14, i64 0}
!14 = !{!"_ZTSSt11_Tuple_implILm0EJP6DexIdxSt14default_deleteIS0_EEE", !15, i64 0}
!15 = !{!"_ZTSSt10_Head_baseILm0EP6DexIdxLb0EE", !7, i64 0}
!16 = !{!"_ZTSSt6vectorIP8DexClassSaIS1_EE", !17, i64 0}
!17 = !{!"_ZTSSt12_Vector_baseIP8DexClassSaIS1_EE", !18, i64 0}
!18 = !{!"_ZTSNSt12_Vector_baseIP8DexClassSaIS1_EE12_Vector_implE", !19, i64 0}
!19 = !{!"_ZTSNSt12_Vector_baseIP8DexClassSaIS1_EE17_Vector_impl_dataE", !7, i64 0, !7, i64 8, !7, i64 16}
!20 = !{!"_ZTSSt10unique_ptrIKhSt8functionIFvPS0_EEE", !21, i64 0}
!21 = !{!"_ZTSSt15__uniq_ptr_dataIKhSt8functionIFvPS0_EELb1ELb1EE", !22, i64 0}
!22 = !{!"_ZTSSt15__uniq_ptr_implIKhSt8functionIFvPS0_EEE", !23, i64 0}
!23 = !{!"_ZTSSt5tupleIJPKhSt8functionIFvS1_EEEE", !24, i64 0}
!24 = !{!"_ZTSSt11_Tuple_implILm0EJPKhSt8functionIFvS1_EEEE", !25, i64 0, !29, i64 32}
!25 = !{!"_ZTSSt11_Tuple_implILm1EJSt8functionIFvPKhEEEE", !26, i64 0}
!26 = !{!"_ZTSSt10_Head_baseILm1ESt8functionIFvPKhEELb0EE", !27, i64 0}
!27 = !{!"_ZTSSt8functionIFvPKhEE", !28, i64 0, !7, i64 24}
!28 = !{!"_ZTSSt14_Function_base", !8, i64 0, !7, i64 16}
!29 = !{!"_ZTSSt10_Head_baseILm0EPKhLb0EE", !7, i64 0}
!30 = !{!"long", !8, i64 0}
!31 = !{!"_ZTS11dex_stats_t", !8, i64 0, !32, i64 20, !32, i64 24, !32, i64 28, !32, i64 32, !32, i64 36, !32, i64 40, !32, i64 44, !32, i64 48, !32, i64 52, !32, i64 56, !32, i64 60, !32, i64 64, !32, i64 68, !32, i64 72, !32, i64 76, !32, i64 80, !32, i64 84, !32, i64 88, !32, i64 92, !32, i64 96, !32, i64 100, !32, i64 104, !32, i64 108, !32, i64 112, !32, i64 116, !32, i64 120, !32, i64 124, !32, i64 128, !32, i64 132, !32, i64 136, !32, i64 140, !32, i64 144, !32, i64 148, !32, i64 152, !32, i64 156, !32, i64 160, !32, i64 164, !32, i64 168, !32, i64 172, !32, i64 176, !32, i64 180, !32, i64 184, !32, i64 188, !32, i64 192, !32, i64 196, !32, i64 200, !32, i64 204, !32, i64 208, !32, i64 212, !32, i64 216, !32, i64 220, !32, i64 224, !32, i64 228, !32, i64 232, !32, i64 236, !32, i64 240, !32, i64 244, !32, i64 248, !32, i64 252, !32, i64 256, !32, i64 260, !32, i64 264, !32, i64 268, !32, i64 272, !32, i64 276, !32, i64 280, !32, i64 284, !32, i64 288, !32, i64 292}
!32 = !{!"int", !8, i64 0}
!33 = !{!"_ZTSN9DexLoader8ParallelE", !8, i64 0}
!34 = !{!6, !30, i64 88}
!35 = !{!6, !7, i64 96}
!36 = !{!6, !32, i64 400}
!37 = !{!6, !33, i64 404}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,MemCpyOptPass,PostOrderFunctionAttrsPass,SROAPass,TailCallElimPass