; LLVM IR from facebook/redex :: libredex/MethodUtil.ll (ZN6method31is_clinit_invoked_method_benignEPK12DexMethodRef)

; 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.UnorderedSet.28 = type { %"class.std::unordered_set.30" }
%"class.std::unordered_set.30" = type { %"class.std::_Hashtable.31" }
%"class.std::_Hashtable.31" = 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::basic_string_view" = type { i64, ptr }
%"class.std::initializer_list" = type { ptr, i64 }

@__dso_handle = external hidden global i8
@.str.9 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [7 x i8], align 1
@_ZZN6method31is_clinit_invoked_method_benignEPK12DexMethodRefE7methods = external hidden global %class.UnorderedSet.28, align 8
@_ZGVZN6method31is_clinit_invoked_method_benignEPK12DexMethodRefE7methods = external hidden global i64, align 8
@constinit = external hidden constant [280 x %"class.std::basic_string_view"], align 8

; Function Attrs: nounwind
declare i32 @__cxa_guard_acquire(ptr) #0

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

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) #1

; Function Attrs: nounwind
declare i32 @__cxa_atexit(ptr, ptr, ptr) #0

; Function Attrs: nounwind
declare void @__cxa_guard_abort(ptr) #0

; Function Attrs: nounwind
declare void @__cxa_guard_release(ptr) #0

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

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN6method31is_clinit_invoked_method_benignEPK12DexMethodRef(ptr noundef %0) #3 personality ptr @__gxx_personality_v0 {
  %2 = alloca i1, align 1
  %3 = alloca ptr, align 8
  %4 = alloca %"class.std::basic_string_view", align 8
  %5 = alloca %"class.std::basic_string_view", align 8
  %6 = alloca %"class.std::basic_string_view", align 8
  %7 = alloca i32, align 4
  %8 = alloca %"class.std::basic_string_view", align 8
  %9 = alloca %"class.std::basic_string_view", align 8
  %10 = alloca %"class.std::basic_string_view", align 8
  %11 = alloca %"class.std::basic_string_view", align 8
  %12 = alloca %"class.std::basic_string_view", align 8
  %13 = alloca %"class.std::basic_string_view", align 8
  %14 = alloca %"class.std::basic_string_view", align 8
  %15 = alloca %"class.std::initializer_list", align 8
  %16 = alloca [280 x %"class.std::basic_string_view"], align 8
  %17 = alloca ptr, align 8
  %18 = alloca i32, align 4
  %19 = alloca %"class.std::basic_string_view", align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %4) #0
  %20 = load ptr, ptr %3, align 8, !tbaa !5
  %21 = call noundef ptr @_ZNK12DexMethodRef9get_classEv(ptr noundef nonnull align 8 dereferenceable(26) %20)
  %22 = call { i64, ptr } @_ZNK7DexType3strEv(ptr noundef nonnull align 8 dereferenceable(16) %21)
  %23 = getelementptr inbounds { i64, ptr }, ptr %4, i32 0, i32 0
  %24 = extractvalue { i64, ptr } %22, 0
  store i64 %24, ptr %23, align 8
  %25 = getelementptr inbounds { i64, ptr }, ptr %4, i32 0, i32 1
  %26 = extractvalue { i64, ptr } %22, 1
  store ptr %26, ptr %25, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %5, ptr align 8 %4, i64 16, i1 false), !tbaa.struct !9
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %6, ptr noundef @.str.9) #0
  %27 = getelementptr inbounds { i64, ptr }, ptr %5, i32 0, i32 0
  %28 = load i64, ptr %27, align 8
  %29 = getelementptr inbounds { i64, ptr }, ptr %5, i32 0, i32 1
  %30 = load ptr, ptr %29, align 8
  %31 = getelementptr inbounds { i64, ptr }, ptr %6, i32 0, i32 0
  %32 = load i64, ptr %31, align 8
  %33 = getelementptr inbounds { i64, ptr }, ptr %6, i32 0, i32 1
  %34 = load ptr, ptr %33, align 8
  %35 = call noundef zeroext i1 @_ZSteqIcSt11char_traitsIcEEbSt17basic_string_viewIT_T0_ENSt15__type_identityIS5_E4typeE(i64 %28, ptr %30, i64 %32, ptr %34) #0
  br i1 %35, label %36, label %37

36:                                               ; preds = %1
  store i1 true, ptr %2, align 1
  store i32 1, ptr %7, align 4
  br label %110

37:                                               ; preds = %1
  call void @llvm.lifetime.start.p0(i64 16, ptr %8) #0
  %38 = load ptr, ptr %3, align 8, !tbaa !5
  %39 = call noundef ptr @_ZNK12DexMethodRef8get_nameEv(ptr noundef nonnull align 8 dereferenceable(26) %38)
  %40 = call { i64, ptr } @_ZNK9DexString3strEv(ptr noundef nonnull align 8 dereferenceable(16) %39)
  %41 = getelementptr inbounds { i64, ptr }, ptr %8, i32 0, i32 0
  %42 = extractvalue { i64, ptr } %40, 0
  store i64 %42, ptr %41, align 8
  %43 = getelementptr inbounds { i64, ptr }, ptr %8, i32 0, i32 1
  %44 = extractvalue { i64, ptr } %40, 1
  store ptr %44, ptr %43, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %9, ptr align 8 %8, i64 16, i1 false), !tbaa.struct !9
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %10, ptr noundef @.str.10) #0
  %45 = getelementptr inbounds { i64, ptr }, ptr %9, i32 0, i32 0
  %46 = load i64, ptr %45, align 8
  %47 = getelementptr inbounds { i64, ptr }, ptr %9, i32 0, i32 1
  %48 = load ptr, ptr %47, align 8
  %49 = getelementptr inbounds { i64, ptr }, ptr %10, i32 0, i32 0
  %50 = load i64, ptr %49, align 8
  %51 = getelementptr inbounds { i64, ptr }, ptr %10, i32 0, i32 1
  %52 = load ptr, ptr %51, align 8
  %53 = call noundef zeroext i1 @_ZSteqIcSt11char_traitsIcEEbSt17basic_string_viewIT_T0_ENSt15__type_identityIS5_E4typeE(i64 %46, ptr %48, i64 %50, ptr %52) #0
  br i1 %53, label %74, label %54

54:                                               ; preds = %37
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %11, ptr align 8 %8, i64 16, i1 false), !tbaa.struct !9
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %12, ptr noundef @.str.11) #0
  %55 = getelementptr inbounds { i64, ptr }, ptr %11, i32 0, i32 0
  %56 = load i64, ptr %55, align 8
  %57 = getelementptr inbounds { i64, ptr }, ptr %11, i32 0, i32 1
  %58 = load ptr, ptr %57, align 8
  %59 = getelementptr inbounds { i64, ptr }, ptr %12, i32 0, i32 0
  %60 = load i64, ptr %59, align 8
  %61 = getelementptr inbounds { i64, ptr }, ptr %12, i32 0, i32 1
  %62 = load ptr, ptr %61, align 8
  %63 = call noundef zeroext i1 @_ZSteqIcSt11char_traitsIcEEbSt17basic_string_viewIT_T0_ENSt15__type_identityIS5_E4typeE(i64 %56, ptr %58, i64 %60, ptr %62) #0
  br i1 %63, label %74, label %64

64:                                               ; preds = %54
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %13, ptr align 8 %8, i64 16, i1 false), !tbaa.struct !9
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %14, ptr noundef @.str.12) #0
  %65 = getelementptr inbounds { i64, ptr }, ptr %13, i32 0, i32 0
  %66 = load i64, ptr %65, align 8
  %67 = getelementptr inbounds { i64, ptr }, ptr %13, i32 0, i32 1
  %68 = load ptr, ptr %67, align 8
  %69 = getelementptr inbounds { i64, ptr }, ptr %14, i32 0, i32 0
  %70 = load i64, ptr %69, align 8
  %71 = getelementptr inbounds { i64, ptr }, ptr %14, i32 0, i32 1
  %72 = load ptr, ptr %71, align 8
  %73 = call noundef zeroext i1 @_ZSteqIcSt11char_traitsIcEEbSt17basic_string_viewIT_T0_ENSt15__type_identityIS5_E4typeE(i64 %66, ptr %68, i64 %70, ptr %72) #0
  br i1 %73, label %74, label %75

74:                                               ; preds = %64, %54, %37
  store i1 true, ptr %2, align 1
  store i32 1, ptr %7, align 4
  br label %109

75:                                               ; preds = %64
  %76 = load atomic i8, ptr @_ZGVZN6method31is_clinit_invoked_method_benignEPK12DexMethodRefE7methods acquire, align 8
  %77 = icmp eq i8 %76, 0
  br i1 %77, label %78, label %90, !prof !12

78:                                               ; preds = %75
  %79 = call i32 @__cxa_guard_acquire(ptr @_ZGVZN6method31is_clinit_invoked_method_benignEPK12DexMethodRefE7methods) #0
  %80 = icmp ne i32 %79, 0
  br i1 %80, label %81, label %90

81:                                               ; preds = %78
  call void @llvm.lifetime.start.p0(i64 4480, ptr %16) #0
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %16, ptr align 8 @constinit, i64 4480, i1 false), !tbaa.struct !13
  %82 = getelementptr inbounds %"class.std::initializer_list", ptr %15, i32 0, i32 0
  store ptr %16, ptr %82, align 8, !tbaa !15
  %83 = getelementptr inbounds %"class.std::initializer_list", ptr %15, i32 0, i32 1
  store i64 280, ptr %83, align 8, !tbaa !17
  %84 = getelementptr inbounds { ptr, i64 }, ptr %15, i32 0, i32 0
  %85 = load ptr, ptr %84, align 8
  %86 = getelementptr inbounds { ptr, i64 }, ptr %15, i32 0, i32 1
  %87 = load i64, ptr %86, align 8
  invoke void @_ZN12UnorderedSetISt17basic_string_viewIcSt11char_traitsIcEESt4hashIS3_ESt8equal_toIS3_EEC2ESt16initializer_listIS3_E(ptr noundef nonnull align 8 dereferenceable(56) @_ZZN6method31is_clinit_invoked_method_benignEPK12DexMethodRefE7methods, ptr %85, i64 %87)
          to label %88 unwind label %105

88:                                               ; preds = %81
  call void @llvm.lifetime.end.p0(i64 4480, ptr %16) #0
  %89 = call i32 @__cxa_atexit(ptr @_ZN12UnorderedSetISt17basic_string_viewIcSt11char_traitsIcEESt4hashIS3_ESt8equal_toIS3_EED2Ev, ptr @_ZZN6method31is_clinit_invoked_method_benignEPK12DexMethodRefE7methods, ptr @__dso_handle) #0
  call void @__cxa_guard_release(ptr @_ZGVZN6method31is_clinit_invoked_method_benignEPK12DexMethodRefE7methods) #0
  br label %90

90:                                               ; preds = %88, %78, %75
  %91 = load ptr, ptr %3, align 8, !tbaa !5
  %92 = call noundef zeroext i1 @_ZNK12DexMethodRef6is_defEv(ptr noundef nonnull align 8 dereferenceable(26) %91)
  call void @llvm.lifetime.start.p0(i64 16, ptr %19) #0
  br i1 %92, label %93, label %103

93:                                               ; preds = %90
  %94 = load ptr, ptr %3, align 8, !tbaa !5
  %95 = call noundef ptr @_ZNK12DexMethodRef6as_defEv(ptr noundef nonnull align 8 dereferenceable(26) %94)
  %96 = call { i64, ptr } @_ZNK9DexMethod30get_deobfuscated_name_or_emptyEv(ptr noundef nonnull align 8 dereferenceable(88) %95)
  %97 = getelementptr inbounds { i64, ptr }, ptr %19, i32 0, i32 0
  %98 = extractvalue { i64, ptr } %96, 0
  store i64 %98, ptr %97, align 8
  %99 = getelementptr inbounds { i64, ptr }, ptr %19, i32 0, i32 1
  %100 = extractvalue { i64, ptr } %96, 1
  store ptr %100, ptr %99, align 8
  %101 = call noundef i64 @_ZNK12UnorderedSetISt17basic_string_viewIcSt11char_traitsIcEESt4hashIS3_ESt8equal_toIS3_EE5countERKS3_(ptr noundef nonnull align 8 dereferenceable(56) @_ZZN6method31is_clinit_invoked_method_benignEPK12DexMethodRefE7methods, ptr noundef nonnull align 8 dereferenceable(16) %19)
  %102 = icmp ne i64 %101, 0
  br label %103

103:                                              ; preds = %93, %90
  %104 = phi i1 [ false, %90 ], [ %102, %93 ]
  store i1 %104, ptr %2, align 1
  call void @llvm.lifetime.end.p0(i64 16, ptr %19) #0
  store i32 1, ptr %7, align 4
  br label %109

105:                                              ; preds = %81
  %106 = landingpad { ptr, i32 }
          cleanup
  %107 = extractvalue { ptr, i32 } %106, 0
  store ptr %107, ptr %17, align 8
  %108 = extractvalue { ptr, i32 } %106, 1
  store i32 %108, ptr %18, align 4
  call void @llvm.lifetime.end.p0(i64 4480, ptr %16) #0
  call void @__cxa_guard_abort(ptr @_ZGVZN6method31is_clinit_invoked_method_benignEPK12DexMethodRefE7methods) #0
  call void @llvm.lifetime.end.p0(i64 16, ptr %8) #0
  call void @llvm.lifetime.end.p0(i64 16, ptr %4) #0
  br label %112

109:                                              ; preds = %103, %74
  call void @llvm.lifetime.end.p0(i64 16, ptr %8) #0
  br label %110

110:                                              ; preds = %109, %36
  call void @llvm.lifetime.end.p0(i64 16, ptr %4) #0
  %111 = load i1, ptr %2, align 1
  ret i1 %111

112:                                              ; preds = %105
  %113 = load ptr, ptr %17, align 8
  %114 = load i32, ptr %18, align 4
  %115 = insertvalue { ptr, i32 } poison, ptr %113, 0
  %116 = insertvalue { ptr, i32 } %115, i32 %114, 1
  resume { ptr, i32 } %116
}

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

; Function Attrs: mustprogress uwtable
declare dso_local { i64, ptr } @_ZNK7DexType3strEv(ptr noundef nonnull align 8 dereferenceable(16)) #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZSteqIcSt11char_traitsIcEEbSt17basic_string_viewIT_T0_ENSt15__type_identityIS5_E4typeE(i64, ptr, i64, ptr) #2

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local { i64, ptr } @_ZNK9DexString3strEv(ptr noundef nonnull align 8 dereferenceable(16)) #2 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK12DexMethodRef6is_defEv(ptr noundef nonnull align 8 dereferenceable(26)) #3 align 2

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

declare noundef ptr @_ZNK12DexMethodRef6as_defEv(ptr noundef nonnull align 8 dereferenceable(26)) #6

; Function Attrs: mustprogress nounwind uwtable
declare dso_local { i64, ptr } @_ZNK9DexMethod30get_deobfuscated_name_or_emptyEv(ptr noundef nonnull align 8 dereferenceable(88)) #2 align 2

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

!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 = !{i64 0, i64 8, !10, i64 8, i64 8, !5}
!10 = !{!11, !11, i64 0}
!11 = !{!"long", !7, i64 0}
!12 = !{!"branch_weights", i32 1, i32 1048575}
!13 = !{i64 0, i64 4480, !14}
!14 = !{!7, !7, i64 0}
!15 = !{!16, !6, i64 0}
!16 = !{!"_ZTSSt16initializer_listISt17basic_string_viewIcSt11char_traitsIcEEE", !6, i64 0, !11, i64 8}
!17 = !{!16, !11, i64 8}


; 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.UnorderedSet.28 = type { %"class.std::unordered_set.30" }
%"class.std::unordered_set.30" = type { %"class.std::_Hashtable.31" }
%"class.std::_Hashtable.31" = 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::basic_string_view" = type { i64, ptr }

@__dso_handle = external hidden global i8
@.str.9 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [7 x i8], align 1
@_ZZN6method31is_clinit_invoked_method_benignEPK12DexMethodRefE7methods = external hidden global %class.UnorderedSet.28, align 8
@_ZGVZN6method31is_clinit_invoked_method_benignEPK12DexMethodRefE7methods = external hidden global i64, align 8
@constinit = external hidden local_unnamed_addr constant [280 x %"class.std::basic_string_view"], align 8

; Function Attrs: nofree nounwind
declare i32 @__cxa_guard_acquire(ptr) local_unnamed_addr #0

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

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) #1

; Function Attrs: nofree nounwind
declare i32 @__cxa_atexit(ptr, ptr, ptr) local_unnamed_addr #0

; Function Attrs: nofree nounwind
declare void @__cxa_guard_abort(ptr) local_unnamed_addr #0

; Function Attrs: nofree nounwind
declare void @__cxa_guard_release(ptr) local_unnamed_addr #0

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

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN6method31is_clinit_invoked_method_benignEPK12DexMethodRef(ptr noundef nonnull %0) local_unnamed_addr #3 personality ptr @__gxx_personality_v0 {
  %2 = alloca %"class.std::basic_string_view", align 8
  %3 = alloca %"class.std::basic_string_view", align 8
  %4 = alloca %"class.std::basic_string_view", align 8
  %5 = alloca %"class.std::basic_string_view", align 8
  %6 = alloca [280 x %"class.std::basic_string_view"], align 8
  %7 = alloca %"class.std::basic_string_view", align 8
  %8 = tail call noundef ptr @_ZNK12DexMethodRef9get_classEv(ptr noundef nonnull align 8 dereferenceable(26) %0)
  %9 = tail call { i64, ptr } @_ZNK7DexType3strEv(ptr noundef nonnull align 8 dereferenceable(16) %8)
  %10 = extractvalue { i64, ptr } %9, 0
  %11 = extractvalue { i64, ptr } %9, 1
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %2, ptr noundef @.str.9) #7
  %12 = load i64, ptr %2, align 8
  %13 = getelementptr inbounds i8, ptr %2, i64 8
  %14 = load ptr, ptr %13, align 8
  %15 = call noundef zeroext i1 @_ZSteqIcSt11char_traitsIcEEbSt17basic_string_viewIT_T0_ENSt15__type_identityIS5_E4typeE(i64 %10, ptr %11, i64 %12, ptr %14) #7
  br i1 %15, label %57, label %16

16:                                               ; preds = %1
  %17 = call noundef ptr @_ZNK12DexMethodRef8get_nameEv(ptr noundef nonnull align 8 dereferenceable(26) %0)
  %18 = call { i64, ptr } @_ZNK9DexString3strEv(ptr noundef nonnull align 8 dereferenceable(16) %17)
  %19 = extractvalue { i64, ptr } %18, 0
  %20 = extractvalue { i64, ptr } %18, 1
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %3, ptr noundef @.str.10) #7
  %21 = load i64, ptr %3, align 8
  %22 = getelementptr inbounds i8, ptr %3, i64 8
  %23 = load ptr, ptr %22, align 8
  %24 = call noundef zeroext i1 @_ZSteqIcSt11char_traitsIcEEbSt17basic_string_viewIT_T0_ENSt15__type_identityIS5_E4typeE(i64 %19, ptr %20, i64 %21, ptr %23) #7
  br i1 %24, label %57, label %25

25:                                               ; preds = %16
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %4, ptr noundef @.str.11) #7
  %26 = load i64, ptr %4, align 8
  %27 = getelementptr inbounds i8, ptr %4, i64 8
  %28 = load ptr, ptr %27, align 8
  %29 = call noundef zeroext i1 @_ZSteqIcSt11char_traitsIcEEbSt17basic_string_viewIT_T0_ENSt15__type_identityIS5_E4typeE(i64 %19, ptr %20, i64 %26, ptr %28) #7
  br i1 %29, label %57, label %30

30:                                               ; preds = %25
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %5, ptr noundef @.str.12) #7
  %31 = load i64, ptr %5, align 8
  %32 = getelementptr inbounds i8, ptr %5, i64 8
  %33 = load ptr, ptr %32, align 8
  %34 = call noundef zeroext i1 @_ZSteqIcSt11char_traitsIcEEbSt17basic_string_viewIT_T0_ENSt15__type_identityIS5_E4typeE(i64 %19, ptr %20, i64 %31, ptr %33) #7
  br i1 %34, label %57, label %35

35:                                               ; preds = %30
  %36 = load atomic i8, ptr @_ZGVZN6method31is_clinit_invoked_method_benignEPK12DexMethodRefE7methods acquire, align 8
  %37 = icmp eq i8 %36, 0
  br i1 %37, label %38, label %43, !prof !5

38:                                               ; preds = %35
  %39 = call i32 @__cxa_guard_acquire(ptr nonnull @_ZGVZN6method31is_clinit_invoked_method_benignEPK12DexMethodRefE7methods) #7
  %.not = icmp eq i32 %39, 0
  br i1 %.not, label %43, label %40

40:                                               ; preds = %38
  call void @llvm.lifetime.start.p0(i64 4480, ptr nonnull %6) #7
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(4480) %6, ptr noundef nonnull align 8 dereferenceable(4480) @constinit, i64 4480, i1 false), !tbaa.struct !6
  invoke void @_ZN12UnorderedSetISt17basic_string_viewIcSt11char_traitsIcEESt4hashIS3_ESt8equal_toIS3_EEC2ESt16initializer_listIS3_E(ptr noundef nonnull align 8 dereferenceable(56) @_ZZN6method31is_clinit_invoked_method_benignEPK12DexMethodRefE7methods, ptr nonnull %6, i64 280)
          to label %41 unwind label %55

41:                                               ; preds = %40
  call void @llvm.lifetime.end.p0(i64 4480, ptr nonnull %6) #7
  %42 = call i32 @__cxa_atexit(ptr nonnull @_ZN12UnorderedSetISt17basic_string_viewIcSt11char_traitsIcEESt4hashIS3_ESt8equal_toIS3_EED2Ev, ptr nonnull @_ZZN6method31is_clinit_invoked_method_benignEPK12DexMethodRefE7methods, ptr nonnull @__dso_handle) #7
  call void @__cxa_guard_release(ptr nonnull @_ZGVZN6method31is_clinit_invoked_method_benignEPK12DexMethodRefE7methods) #7
  br label %43

43:                                               ; preds = %41, %38, %35
  %44 = call noundef zeroext i1 @_ZNK12DexMethodRef6is_defEv(ptr noundef nonnull align 8 dereferenceable(26) %0)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %7) #7
  br i1 %44, label %45, label %53

45:                                               ; preds = %43
  %46 = call noundef ptr @_ZNK12DexMethodRef6as_defEv(ptr noundef nonnull align 8 dereferenceable(26) %0)
  %47 = call { i64, ptr } @_ZNK9DexMethod30get_deobfuscated_name_or_emptyEv(ptr noundef nonnull align 8 dereferenceable(88) %46)
  %48 = extractvalue { i64, ptr } %47, 0
  store i64 %48, ptr %7, align 8
  %49 = getelementptr inbounds i8, ptr %7, i64 8
  %50 = extractvalue { i64, ptr } %47, 1
  store ptr %50, ptr %49, align 8
  %51 = call noundef i64 @_ZNK12UnorderedSetISt17basic_string_viewIcSt11char_traitsIcEESt4hashIS3_ESt8equal_toIS3_EE5countERKS3_(ptr noundef nonnull align 8 dereferenceable(56) @_ZZN6method31is_clinit_invoked_method_benignEPK12DexMethodRefE7methods, ptr noundef nonnull align 8 dereferenceable(16) %7)
  %52 = icmp ne i64 %51, 0
  br label %53

53:                                               ; preds = %45, %43
  %54 = phi i1 [ false, %43 ], [ %52, %45 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #7
  br label %57

55:                                               ; preds = %40
  %56 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4480, ptr nonnull %6) #7
  call void @__cxa_guard_abort(ptr nonnull @_ZGVZN6method31is_clinit_invoked_method_benignEPK12DexMethodRefE7methods) #7
  resume { ptr, i32 } %56

57:                                               ; preds = %53, %30, %25, %16, %1
  %.1 = phi i1 [ true, %1 ], [ %54, %53 ], [ true, %30 ], [ true, %25 ], [ true, %16 ]
  ret i1 %.1
}

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

; Function Attrs: mustprogress uwtable
declare dso_local { i64, ptr } @_ZNK7DexType3strEv(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZSteqIcSt11char_traitsIcEEbSt17basic_string_viewIT_T0_ENSt15__type_identityIS5_E4typeE(i64, ptr, i64, ptr) local_unnamed_addr #2

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local { i64, ptr } @_ZNK9DexString3strEv(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #2 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK12DexMethodRef6is_defEv(ptr noundef nonnull align 8 dereferenceable(26)) local_unnamed_addr #3 align 2

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

declare noundef ptr @_ZNK12DexMethodRef6as_defEv(ptr noundef nonnull align 8 dereferenceable(26)) local_unnamed_addr #6

; Function Attrs: mustprogress nounwind uwtable
declare dso_local { i64, ptr } @_ZNK9DexMethod30get_deobfuscated_name_or_emptyEv(ptr noundef nonnull align 8 dereferenceable(88)) local_unnamed_addr #2 align 2

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


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