; LLVM IR from tevador/RandomX :: src (randomx)

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

%struct.randomx_cache = type { ptr, ptr, ptr, ptr, ptr, [8 x %"class.randomx::SuperscalarProgram"], %"class.std::vector", %"class.std::__cxx11::basic_string", ptr }
%"class.randomx::SuperscalarProgram" = type { [512 x %"class.randomx::Instruction"], i32, i32, double, i32, i32, i32, i32, i32, i32, [8 x i32], [8 x i32] }
%"class.randomx::Instruction" = type { i8, i8, i8, i8, i32 }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<unsigned long, std::allocator<unsigned long>>::_Vector_impl" }
%"struct.std::_Vector_base<unsigned long, std::allocator<unsigned long>>::_Vector_impl" = type { %"struct.std::_Vector_base<unsigned long, std::allocator<unsigned long>>::_Vector_impl_data" }
%"struct.std::_Vector_base<unsigned long, std::allocator<unsigned long>>::_Vector_impl_data" = type { ptr, ptr, 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.randomx_vm = type { ptr, [56 x i8], %"class.randomx::Program", %"struct.randomx::RegisterFile", %"struct.randomx::ProgramConfiguration", %"struct.randomx::MemoryRegisters", ptr, %union.anon.8, i64, %"class.std::__cxx11::basic_string", [8 x i8], [8 x i64], [16 x i8] }
%"class.randomx::Program" = type { [16 x i64], [256 x %"class.randomx::Instruction"] }
%"struct.randomx::RegisterFile" = type { [8 x i64], [4 x %"struct.randomx::fpu_reg_t"], [4 x %"struct.randomx::fpu_reg_t"], [4 x %"struct.randomx::fpu_reg_t"] }
%"struct.randomx::fpu_reg_t" = type { double, double }
%"struct.randomx::ProgramConfiguration" = type { [2 x i64], i32, i32, i32, i32 }
%"struct.randomx::MemoryRegisters" = type { i32, i32, ptr }
%union.anon.8 = type { ptr }

@_ZTISt9exception = external constant ptr
@.str.1 = external hidden unnamed_addr constant [65 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [52 x i8], align 1
@__PRETTY_FUNCTION__.randomx_create_vm = external hidden unnamed_addr constant [81 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [43 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [55 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

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

declare i32 @__gxx_personality_v0(...)

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

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

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

; Function Attrs: nounwind memory(none)
declare i32 @llvm.eh.typeid.for.p0(ptr) #3

declare ptr @__cxa_begin_catch(ptr)

declare void @__cxa_end_catch()

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #4

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN13randomx_cache13isInitializedEv(ptr noundef nonnull align 8 dereferenceable(33704)) #5 align 2

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSERKS4_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32)) #5 align 2

; Function Attrs: mustprogress uwtable
define dso_local ptr @randomx_create_vm(i32 noundef %0, ptr noundef %1, ptr noundef %2) #5 personality ptr @__gxx_personality_v0 {
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  %10 = alloca ptr, align 8
  store i32 %0, ptr %4, align 4, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !9
  store ptr %2, ptr %6, align 8, !tbaa !9
  %11 = load ptr, ptr %5, align 8, !tbaa !9
  %12 = icmp ne ptr %11, null
  br i1 %12, label %17, label %13

13:                                               ; preds = %3
  %14 = load i32, ptr %4, align 4, !tbaa !5
  %15 = call noundef i32 @_Zan13randomx_flagsS_(i32 noundef %14, i32 noundef 4)
  %16 = icmp ne i32 %15, 0
  br label %17

17:                                               ; preds = %13, %3
  %18 = phi i1 [ true, %3 ], [ %16, %13 ]
  br i1 %18, label %19, label %20

19:                                               ; preds = %17
  br label %22

20:                                               ; preds = %17
  call void @__assert_fail(ptr noundef @.str.6, ptr noundef @.str.1, i32 noundef 207, ptr noundef @__PRETTY_FUNCTION__.randomx_create_vm) #9
  unreachable

21:                                               ; No predecessors!
  br label %22

22:                                               ; preds = %21, %19
  %23 = load ptr, ptr %5, align 8, !tbaa !9
  %24 = icmp eq ptr %23, null
  br i1 %24, label %28, label %25

25:                                               ; preds = %22
  %26 = load ptr, ptr %5, align 8, !tbaa !9
  %27 = call noundef zeroext i1 @_ZN13randomx_cache13isInitializedEv(ptr noundef nonnull align 8 dereferenceable(33704) %26)
  br label %28

28:                                               ; preds = %25, %22
  %29 = phi i1 [ true, %22 ], [ %27, %25 ]
  br i1 %29, label %30, label %31

30:                                               ; preds = %28
  br label %33

31:                                               ; preds = %28
  call void @__assert_fail(ptr noundef @.str.7, ptr noundef @.str.1, i32 noundef 208, ptr noundef @__PRETTY_FUNCTION__.randomx_create_vm) #9
  unreachable

32:                                               ; No predecessors!
  br label %33

33:                                               ; preds = %32, %30
  %34 = load ptr, ptr %6, align 8, !tbaa !9
  %35 = icmp ne ptr %34, null
  br i1 %35, label %41, label %36

36:                                               ; preds = %33
  %37 = load i32, ptr %4, align 4, !tbaa !5
  %38 = call noundef i32 @_Zan13randomx_flagsS_(i32 noundef %37, i32 noundef 4)
  %39 = icmp ne i32 %38, 0
  %40 = xor i1 %39, true
  br label %41

41:                                               ; preds = %36, %33
  %42 = phi i1 [ true, %33 ], [ %40, %36 ]
  br i1 %42, label %43, label %44

43:                                               ; preds = %41
  br label %46

44:                                               ; preds = %41
  call void @__assert_fail(ptr noundef @.str.8, ptr noundef @.str.1, i32 noundef 209, ptr noundef @__PRETTY_FUNCTION__.randomx_create_vm) #9
  unreachable

45:                                               ; No predecessors!
  br label %46

46:                                               ; preds = %45, %43
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #10
  store ptr null, ptr %7, align 8, !tbaa !9
  %47 = load i32, ptr %4, align 4, !tbaa !5
  %48 = invoke noundef i32 @_Zor13randomx_flagsS_(i32 noundef 4, i32 noundef 8)
          to label %49 unwind label %56

49:                                               ; preds = %46
  %50 = invoke noundef i32 @_Zor13randomx_flagsS_(i32 noundef %48, i32 noundef 2)
          to label %51 unwind label %56

51:                                               ; preds = %49
  %52 = invoke noundef i32 @_Zor13randomx_flagsS_(i32 noundef %50, i32 noundef 1)
          to label %53 unwind label %56

53:                                               ; preds = %51
  %54 = invoke noundef i32 @_Zan13randomx_flagsS_(i32 noundef %47, i32 noundef %52)
          to label %55 unwind label %56

55:                                               ; preds = %53
  switch i32 %54, label %276 [
    i32 0, label %60
    i32 4, label %63
    i32 8, label %66
    i32 12, label %88
    i32 2, label %110
    i32 6, label %113
    i32 10, label %116
    i32 14, label %138
    i32 1, label %160
    i32 5, label %163
    i32 9, label %166
    i32 13, label %188
    i32 3, label %210
    i32 7, label %213
    i32 11, label %216
    i32 15, label %238
  ]

56:                                               ; preds = %303, %296, %286, %280, %251, %243, %238, %229, %221, %216, %213, %210, %201, %193, %188, %179, %171, %166, %163, %160, %151, %143, %138, %129, %121, %116, %113, %110, %101, %93, %88, %79, %71, %66, %63, %60, %53, %51, %49, %46
  %57 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt9exception
  %58 = extractvalue { ptr, i32 } %57, 0
  store ptr %58, ptr %8, align 8
  %59 = extractvalue { ptr, i32 } %57, 1
  store i32 %59, ptr %9, align 4
  br label %259

60:                                               ; preds = %55
  %61 = invoke noundef ptr @_ZN7randomx18InterpretedLightVmINS_16AlignedAllocatorILm64EEELb1EEnwEm(i64 noundef 10944)
          to label %62 unwind label %56

62:                                               ; preds = %60
  call void @llvm.memset.p0.i64(ptr align 64 %61, i8 0, i64 10944, i1 false)
  call void @_ZN7randomx18InterpretedLightVmINS_16AlignedAllocatorILm64EEELb1EEC2Ev(ptr noundef nonnull align 64 dereferenceable(10904) %61) #10
  store ptr %61, ptr %7, align 8, !tbaa !9
  br label %277

63:                                               ; preds = %55
  %64 = invoke noundef ptr @_ZN7randomx13InterpretedVmINS_16AlignedAllocatorILm64EEELb1EEnwEm(i64 noundef 10944)
          to label %65 unwind label %56

65:                                               ; preds = %63
  call void @llvm.memset.p0.i64(ptr align 64 %64, i8 0, i64 10944, i1 false)
  call void @_ZN7randomx13InterpretedVmINS_16AlignedAllocatorILm64EEELb1EEC2Ev(ptr noundef nonnull align 64 dereferenceable(10904) %64) #10
  store ptr %64, ptr %7, align 8, !tbaa !9
  br label %277

66:                                               ; preds = %55
  %67 = load i32, ptr %4, align 4, !tbaa !5
  %68 = invoke noundef i32 @_Zan13randomx_flagsS_(i32 noundef %67, i32 noundef 16)
          to label %69 unwind label %56

69:                                               ; preds = %66
  %70 = icmp ne i32 %68, 0
  br i1 %70, label %71, label %79

71:                                               ; preds = %69
  %72 = invoke noundef ptr @_ZN7randomx15CompiledLightVmINS_16AlignedAllocatorILm64EEELb1ELb1EEnwEm(i64 noundef 2752)
          to label %73 unwind label %56

73:                                               ; preds = %71
  call void @llvm.memset.p0.i64(ptr align 64 %72, i8 0, i64 2752, i1 false)
  invoke void @_ZN7randomx15CompiledLightVmINS_16AlignedAllocatorILm64EEELb1ELb1EEC2Ev(ptr noundef nonnull align 64 dereferenceable(2744) %72)
          to label %74 unwind label %75

74:                                               ; preds = %73
  store ptr %72, ptr %7, align 8, !tbaa !9
  br label %87

75:                                               ; preds = %73
  %76 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt9exception
  %77 = extractvalue { ptr, i32 } %76, 0
  store ptr %77, ptr %8, align 8
  %78 = extractvalue { ptr, i32 } %76, 1
  store i32 %78, ptr %9, align 4
  call void @_ZN7randomx15CompiledLightVmINS_16AlignedAllocatorILm64EEELb1ELb1EEdlEPv(ptr noundef %72) #10
  br label %259

79:                                               ; preds = %69
  %80 = invoke noundef ptr @_ZN7randomx15CompiledLightVmINS_16AlignedAllocatorILm64EEELb1ELb0EEnwEm(i64 noundef 2752)
          to label %81 unwind label %56

81:                                               ; preds = %79
  call void @llvm.memset.p0.i64(ptr align 64 %80, i8 0, i64 2752, i1 false)
  invoke void @_ZN7randomx15CompiledLightVmINS_16AlignedAllocatorILm64EEELb1ELb0EEC2Ev(ptr noundef nonnull align 64 dereferenceable(2744) %80)
          to label %82 unwind label %83

82:                                               ; preds = %81
  store ptr %80, ptr %7, align 8, !tbaa !9
  br label %87

83:                                               ; preds = %81
  %84 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt9exception
  %85 = extractvalue { ptr, i32 } %84, 0
  store ptr %85, ptr %8, align 8
  %86 = extractvalue { ptr, i32 } %84, 1
  store i32 %86, ptr %9, align 4
  call void @_ZN7randomx15CompiledLightVmINS_16AlignedAllocatorILm64EEELb1ELb0EEdlEPv(ptr noundef %80) #10
  br label %259

87:                                               ; preds = %82, %74
  br label %277

88:                                               ; preds = %55
  %89 = load i32, ptr %4, align 4, !tbaa !5
  %90 = invoke noundef i32 @_Zan13randomx_flagsS_(i32 noundef %89, i32 noundef 16)
          to label %91 unwind label %56

91:                                               ; preds = %88
  %92 = icmp ne i32 %90, 0
  br i1 %92, label %93, label %101

93:                                               ; preds = %91
  %94 = invoke noundef ptr @_ZN7randomx10CompiledVmINS_16AlignedAllocatorILm64EEELb1ELb1EEnwEm(i64 noundef 2752)
          to label %95 unwind label %56

95:                                               ; preds = %93
  invoke void @_ZN7randomx10CompiledVmINS_16AlignedAllocatorILm64EEELb1ELb1EEC1Ev(ptr noundef nonnull align 64 dereferenceable(2744) %94)
          to label %96 unwind label %97

96:                                               ; preds = %95
  store ptr %94, ptr %7, align 8, !tbaa !9
  br label %109

97:                                               ; preds = %95
  %98 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt9exception
  %99 = extractvalue { ptr, i32 } %98, 0
  store ptr %99, ptr %8, align 8
  %100 = extractvalue { ptr, i32 } %98, 1
  store i32 %100, ptr %9, align 4
  call void @_ZN7randomx10CompiledVmINS_16AlignedAllocatorILm64EEELb1ELb1EEdlEPv(ptr noundef %94) #10
  br label %259

101:                                              ; preds = %91
  %102 = invoke noundef ptr @_ZN7randomx10CompiledVmINS_16AlignedAllocatorILm64EEELb1ELb0EEnwEm(i64 noundef 2752)
          to label %103 unwind label %56

103:                                              ; preds = %101
  invoke void @_ZN7randomx10CompiledVmINS_16AlignedAllocatorILm64EEELb1ELb0EEC1Ev(ptr noundef nonnull align 64 dereferenceable(2744) %102)
          to label %104 unwind label %105

104:                                              ; preds = %103
  store ptr %102, ptr %7, align 8, !tbaa !9
  br label %109

105:                                              ; preds = %103
  %106 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt9exception
  %107 = extractvalue { ptr, i32 } %106, 0
  store ptr %107, ptr %8, align 8
  %108 = extractvalue { ptr, i32 } %106, 1
  store i32 %108, ptr %9, align 4
  call void @_ZN7randomx10CompiledVmINS_16AlignedAllocatorILm64EEELb1ELb0EEdlEPv(ptr noundef %102) #10
  br label %259

109:                                              ; preds = %104, %96
  br label %277

110:                                              ; preds = %55
  %111 = invoke noundef ptr @_ZN7randomx18InterpretedLightVmINS_16AlignedAllocatorILm64EEELb0EEnwEm(i64 noundef 10944)
          to label %112 unwind label %56

112:                                              ; preds = %110
  call void @llvm.memset.p0.i64(ptr align 64 %111, i8 0, i64 10944, i1 false)
  call void @_ZN7randomx18InterpretedLightVmINS_16AlignedAllocatorILm64EEELb0EEC2Ev(ptr noundef nonnull align 64 dereferenceable(10904) %111) #10
  store ptr %111, ptr %7, align 8, !tbaa !9
  br label %277

113:                                              ; preds = %55
  %114 = invoke noundef ptr @_ZN7randomx13InterpretedVmINS_16AlignedAllocatorILm64EEELb0EEnwEm(i64 noundef 10944)
          to label %115 unwind label %56

115:                                              ; preds = %113
  call void @llvm.memset.p0.i64(ptr align 64 %114, i8 0, i64 10944, i1 false)
  call void @_ZN7randomx13InterpretedVmINS_16AlignedAllocatorILm64EEELb0EEC2Ev(ptr noundef nonnull align 64 dereferenceable(10904) %114) #10
  store ptr %114, ptr %7, align 8, !tbaa !9
  br label %277

116:                                              ; preds = %55
  %117 = load i32, ptr %4, align 4, !tbaa !5
  %118 = invoke noundef i32 @_Zan13randomx_flagsS_(i32 noundef %117, i32 noundef 16)
          to label %119 unwind label %56

119:                                              ; preds = %116
  %120 = icmp ne i32 %118, 0
  br i1 %120, label %121, label %129

121:                                              ; preds = %119
  %122 = invoke noundef ptr @_ZN7randomx15CompiledLightVmINS_16AlignedAllocatorILm64EEELb0ELb1EEnwEm(i64 noundef 2752)
          to label %123 unwind label %56

123:                                              ; preds = %121
  call void @llvm.memset.p0.i64(ptr align 64 %122, i8 0, i64 2752, i1 false)
  invoke void @_ZN7randomx15CompiledLightVmINS_16AlignedAllocatorILm64EEELb0ELb1EEC2Ev(ptr noundef nonnull align 64 dereferenceable(2744) %122)
          to label %124 unwind label %125

124:                                              ; preds = %123
  store ptr %122, ptr %7, align 8, !tbaa !9
  br label %137

125:                                              ; preds = %123
  %126 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt9exception
  %127 = extractvalue { ptr, i32 } %126, 0
  store ptr %127, ptr %8, align 8
  %128 = extractvalue { ptr, i32 } %126, 1
  store i32 %128, ptr %9, align 4
  call void @_ZN7randomx15CompiledLightVmINS_16AlignedAllocatorILm64EEELb0ELb1EEdlEPv(ptr noundef %122) #10
  br label %259

129:                                              ; preds = %119
  %130 = invoke noundef ptr @_ZN7randomx15CompiledLightVmINS_16AlignedAllocatorILm64EEELb0ELb0EEnwEm(i64 noundef 2752)
          to label %131 unwind label %56

131:                                              ; preds = %129
  call void @llvm.memset.p0.i64(ptr align 64 %130, i8 0, i64 2752, i1 false)
  invoke void @_ZN7randomx15CompiledLightVmINS_16AlignedAllocatorILm64EEELb0ELb0EEC2Ev(ptr noundef nonnull align 64 dereferenceable(2744) %130)
          to label %132 unwind label %133

132:                                              ; preds = %131
  store ptr %130, ptr %7, align 8, !tbaa !9
  br label %137

133:                                              ; preds = %131
  %134 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt9exception
  %135 = extractvalue { ptr, i32 } %134, 0
  store ptr %135, ptr %8, align 8
  %136 = extractvalue { ptr, i32 } %134, 1
  store i32 %136, ptr %9, align 4
  call void @_ZN7randomx15CompiledLightVmINS_16AlignedAllocatorILm64EEELb0ELb0EEdlEPv(ptr noundef %130) #10
  br label %259

137:                                              ; preds = %132, %124
  br label %277

138:                                              ; preds = %55
  %139 = load i32, ptr %4, align 4, !tbaa !5
  %140 = invoke noundef i32 @_Zan13randomx_flagsS_(i32 noundef %139, i32 noundef 16)
          to label %141 unwind label %56

141:                                              ; preds = %138
  %142 = icmp ne i32 %140, 0
  br i1 %142, label %143, label %151

143:                                              ; preds = %141
  %144 = invoke noundef ptr @_ZN7randomx10CompiledVmINS_16AlignedAllocatorILm64EEELb0ELb1EEnwEm(i64 noundef 2752)
          to label %145 unwind label %56

145:                                              ; preds = %143
  invoke void @_ZN7randomx10CompiledVmINS_16AlignedAllocatorILm64EEELb0ELb1EEC1Ev(ptr noundef nonnull align 64 dereferenceable(2744) %144)
          to label %146 unwind label %147

146:                                              ; preds = %145
  store ptr %144, ptr %7, align 8, !tbaa !9
  br label %159

147:                                              ; preds = %145
  %148 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt9exception
  %149 = extractvalue { ptr, i32 } %148, 0
  store ptr %149, ptr %8, align 8
  %150 = extractvalue { ptr, i32 } %148, 1
  store i32 %150, ptr %9, align 4
  call void @_ZN7randomx10CompiledVmINS_16AlignedAllocatorILm64EEELb0ELb1EEdlEPv(ptr noundef %144) #10
  br label %259

151:                                              ; preds = %141
  %152 = invoke noundef ptr @_ZN7randomx10CompiledVmINS_16AlignedAllocatorILm64EEELb0ELb0EEnwEm(i64 noundef 2752)
          to label %153 unwind label %56

153:                                              ; preds = %151
  invoke void @_ZN7randomx10CompiledVmINS_16AlignedAllocatorILm64EEELb0ELb0EEC1Ev(ptr noundef nonnull align 64 dereferenceable(2744) %152)
          to label %154 unwind label %155

154:                                              ; preds = %153
  store ptr %152, ptr %7, align 8, !tbaa !9
  br label %159

155:                                              ; preds = %153
  %156 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt9exception
  %157 = extractvalue { ptr, i32 } %156, 0
  store ptr %157, ptr %8, align 8
  %158 = extractvalue { ptr, i32 } %156, 1
  store i32 %158, ptr %9, align 4
  call void @_ZN7randomx10CompiledVmINS_16AlignedAllocatorILm64EEELb0ELb0EEdlEPv(ptr noundef %152) #10
  br label %259

159:                                              ; preds = %154, %146
  br label %277

160:                                              ; preds = %55
  %161 = invoke noundef ptr @_ZN7randomx18InterpretedLightVmINS_18LargePageAllocatorELb1EEnwEm(i64 noundef 10944)
          to label %162 unwind label %56

162:                                              ; preds = %160
  call void @llvm.memset.p0.i64(ptr align 64 %161, i8 0, i64 10944, i1 false)
  call void @_ZN7randomx18InterpretedLightVmINS_18LargePageAllocatorELb1EEC2Ev(ptr noundef nonnull align 64 dereferenceable(10904) %161) #10
  store ptr %161, ptr %7, align 8, !tbaa !9
  br label %277

163:                                              ; preds = %55
  %164 = invoke noundef ptr @_ZN7randomx13InterpretedVmINS_18LargePageAllocatorELb1EEnwEm(i64 noundef 10944)
          to label %165 unwind label %56

165:                                              ; preds = %163
  call void @llvm.memset.p0.i64(ptr align 64 %164, i8 0, i64 10944, i1 false)
  call void @_ZN7randomx13InterpretedVmINS_18LargePageAllocatorELb1EEC2Ev(ptr noundef nonnull align 64 dereferenceable(10904) %164) #10
  store ptr %164, ptr %7, align 8, !tbaa !9
  br label %277

166:                                              ; preds = %55
  %167 = load i32, ptr %4, align 4, !tbaa !5
  %168 = invoke noundef i32 @_Zan13randomx_flagsS_(i32 noundef %167, i32 noundef 16)
          to label %169 unwind label %56

169:                                              ; preds = %166
  %170 = icmp ne i32 %168, 0
  br i1 %170, label %171, label %179

171:                                              ; preds = %169
  %172 = invoke noundef ptr @_ZN7randomx15CompiledLightVmINS_18LargePageAllocatorELb1ELb1EEnwEm(i64 noundef 2752)
          to label %173 unwind label %56

173:                                              ; preds = %171
  call void @llvm.memset.p0.i64(ptr align 64 %172, i8 0, i64 2752, i1 false)
  invoke void @_ZN7randomx15CompiledLightVmINS_18LargePageAllocatorELb1ELb1EEC2Ev(ptr noundef nonnull align 64 dereferenceable(2744) %172)
          to label %174 unwind label %175

174:                                              ; preds = %173
  store ptr %172, ptr %7, align 8, !tbaa !9
  br label %187

175:                                              ; preds = %173
  %176 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt9exception
  %177 = extractvalue { ptr, i32 } %176, 0
  store ptr %177, ptr %8, align 8
  %178 = extractvalue { ptr, i32 } %176, 1
  store i32 %178, ptr %9, align 4
  call void @_ZN7randomx15CompiledLightVmINS_18LargePageAllocatorELb1ELb1EEdlEPv(ptr noundef %172) #10
  br label %259

179:                                              ; preds = %169
  %180 = invoke noundef ptr @_ZN7randomx15CompiledLightVmINS_18LargePageAllocatorELb1ELb0EEnwEm(i64 noundef 2752)
          to label %181 unwind label %56

181:                                              ; preds = %179
  call void @llvm.memset.p0.i64(ptr align 64 %180, i8 0, i64 2752, i1 false)
  invoke void @_ZN7randomx15CompiledLightVmINS_18LargePageAllocatorELb1ELb0EEC2Ev(ptr noundef nonnull align 64 dereferenceable(2744) %180)
          to label %182 unwind label %183

182:                                              ; preds = %181
  store ptr %180, ptr %7, align 8, !tbaa !9
  br label %187

183:                                              ; preds = %181
  %184 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt9exception
  %185 = extractvalue { ptr, i32 } %184, 0
  store ptr %185, ptr %8, align 8
  %186 = extractvalue { ptr, i32 } %184, 1
  store i32 %186, ptr %9, align 4
  call void @_ZN7randomx15CompiledLightVmINS_18LargePageAllocatorELb1ELb0EEdlEPv(ptr noundef %180) #10
  br label %259

187:                                              ; preds = %182, %174
  br label %277

188:                                              ; preds = %55
  %189 = load i32, ptr %4, align 4, !tbaa !5
  %190 = invoke noundef i32 @_Zan13randomx_flagsS_(i32 noundef %189, i32 noundef 16)
          to label %191 unwind label %56

191:                                              ; preds = %188
  %192 = icmp ne i32 %190, 0
  br i1 %192, label %193, label %201

193:                                              ; preds = %191
  %194 = invoke noundef ptr @_ZN7randomx10CompiledVmINS_18LargePageAllocatorELb1ELb1EEnwEm(i64 noundef 2752)
          to label %195 unwind label %56

195:                                              ; preds = %193
  invoke void @_ZN7randomx10CompiledVmINS_18LargePageAllocatorELb1ELb1EEC1Ev(ptr noundef nonnull align 64 dereferenceable(2744) %194)
          to label %196 unwind label %197

196:                                              ; preds = %195
  store ptr %194, ptr %7, align 8, !tbaa !9
  br label %209

197:                                              ; preds = %195
  %198 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt9exception
  %199 = extractvalue { ptr, i32 } %198, 0
  store ptr %199, ptr %8, align 8
  %200 = extractvalue { ptr, i32 } %198, 1
  store i32 %200, ptr %9, align 4
  call void @_ZN7randomx10CompiledVmINS_18LargePageAllocatorELb1ELb1EEdlEPv(ptr noundef %194) #10
  br label %259

201:                                              ; preds = %191
  %202 = invoke noundef ptr @_ZN7randomx10CompiledVmINS_18LargePageAllocatorELb1ELb0EEnwEm(i64 noundef 2752)
          to label %203 unwind label %56

203:                                              ; preds = %201
  invoke void @_ZN7randomx10CompiledVmINS_18LargePageAllocatorELb1ELb0EEC1Ev(ptr noundef nonnull align 64 dereferenceable(2744) %202)
          to label %204 unwind label %205

204:                                              ; preds = %203
  store ptr %202, ptr %7, align 8, !tbaa !9
  br label %209

205:                                              ; preds = %203
  %206 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt9exception
  %207 = extractvalue { ptr, i32 } %206, 0
  store ptr %207, ptr %8, align 8
  %208 = extractvalue { ptr, i32 } %206, 1
  store i32 %208, ptr %9, align 4
  call void @_ZN7randomx10CompiledVmINS_18LargePageAllocatorELb1ELb0EEdlEPv(ptr noundef %202) #10
  br label %259

209:                                              ; preds = %204, %196
  br label %277

210:                                              ; preds = %55
  %211 = invoke noundef ptr @_ZN7randomx18InterpretedLightVmINS_18LargePageAllocatorELb0EEnwEm(i64 noundef 10944)
          to label %212 unwind label %56

212:                                              ; preds = %210
  call void @llvm.memset.p0.i64(ptr align 64 %211, i8 0, i64 10944, i1 false)
  call void @_ZN7randomx18InterpretedLightVmINS_18LargePageAllocatorELb0EEC2Ev(ptr noundef nonnull align 64 dereferenceable(10904) %211) #10
  store ptr %211, ptr %7, align 8, !tbaa !9
  br label %277

213:                                              ; preds = %55
  %214 = invoke noundef ptr @_ZN7randomx13InterpretedVmINS_18LargePageAllocatorELb0EEnwEm(i64 noundef 10944)
          to label %215 unwind label %56

215:                                              ; preds = %213
  call void @llvm.memset.p0.i64(ptr align 64 %214, i8 0, i64 10944, i1 false)
  call void @_ZN7randomx13InterpretedVmINS_18LargePageAllocatorELb0EEC2Ev(ptr noundef nonnull align 64 dereferenceable(10904) %214) #10
  store ptr %214, ptr %7, align 8, !tbaa !9
  br label %277

216:                                              ; preds = %55
  %217 = load i32, ptr %4, align 4, !tbaa !5
  %218 = invoke noundef i32 @_Zan13randomx_flagsS_(i32 noundef %217, i32 noundef 16)
          to label %219 unwind label %56

219:                                              ; preds = %216
  %220 = icmp ne i32 %218, 0
  br i1 %220, label %221, label %229

221:                                              ; preds = %219
  %222 = invoke noundef ptr @_ZN7randomx15CompiledLightVmINS_18LargePageAllocatorELb0ELb1EEnwEm(i64 noundef 2752)
          to label %223 unwind label %56

223:                                              ; preds = %221
  call void @llvm.memset.p0.i64(ptr align 64 %222, i8 0, i64 2752, i1 false)
  invoke void @_ZN7randomx15CompiledLightVmINS_18LargePageAllocatorELb0ELb1EEC2Ev(ptr noundef nonnull align 64 dereferenceable(2744) %222)
          to label %224 unwind label %225

224:                                              ; preds = %223
  store ptr %222, ptr %7, align 8, !tbaa !9
  br label %237

225:                                              ; preds = %223
  %226 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt9exception
  %227 = extractvalue { ptr, i32 } %226, 0
  store ptr %227, ptr %8, align 8
  %228 = extractvalue { ptr, i32 } %226, 1
  store i32 %228, ptr %9, align 4
  call void @_ZN7randomx15CompiledLightVmINS_18LargePageAllocatorELb0ELb1EEdlEPv(ptr noundef %222) #10
  br label %259

229:                                              ; preds = %219
  %230 = invoke noundef ptr @_ZN7randomx15CompiledLightVmINS_18LargePageAllocatorELb0ELb0EEnwEm(i64 noundef 2752)
          to label %231 unwind label %56

231:                                              ; preds = %229
  call void @llvm.memset.p0.i64(ptr align 64 %230, i8 0, i64 2752, i1 false)
  invoke void @_ZN7randomx15CompiledLightVmINS_18LargePageAllocatorELb0ELb0EEC2Ev(ptr noundef nonnull align 64 dereferenceable(2744) %230)
          to label %232 unwind label %233

232:                                              ; preds = %231
  store ptr %230, ptr %7, align 8, !tbaa !9
  br label %237

233:                                              ; preds = %231
  %234 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt9exception
  %235 = extractvalue { ptr, i32 } %234, 0
  store ptr %235, ptr %8, align 8
  %236 = extractvalue { ptr, i32 } %234, 1
  store i32 %236, ptr %9, align 4
  call void @_ZN7randomx15CompiledLightVmINS_18LargePageAllocatorELb0ELb0EEdlEPv(ptr noundef %230) #10
  br label %259

237:                                              ; preds = %232, %224
  br label %277

238:                                              ; preds = %55
  %239 = load i32, ptr %4, align 4, !tbaa !5
  %240 = invoke noundef i32 @_Zan13randomx_flagsS_(i32 noundef %239, i32 noundef 16)
          to label %241 unwind label %56

241:                                              ; preds = %238
  %242 = icmp ne i32 %240, 0
  br i1 %242, label %243, label %251

243:                                              ; preds = %241
  %244 = invoke noundef ptr @_ZN7randomx10CompiledVmINS_18LargePageAllocatorELb0ELb1EEnwEm(i64 noundef 2752)
          to label %245 unwind label %56

245:                                              ; preds = %243
  invoke void @_ZN7randomx10CompiledVmINS_18LargePageAllocatorELb0ELb1EEC1Ev(ptr noundef nonnull align 64 dereferenceable(2744) %244)
          to label %246 unwind label %247

246:                                              ; preds = %245
  store ptr %244, ptr %7, align 8, !tbaa !9
  br label %275

247:                                              ; preds = %245
  %248 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt9exception
  %249 = extractvalue { ptr, i32 } %248, 0
  store ptr %249, ptr %8, align 8
  %250 = extractvalue { ptr, i32 } %248, 1
  store i32 %250, ptr %9, align 4
  call void @_ZN7randomx10CompiledVmINS_18LargePageAllocatorELb0ELb1EEdlEPv(ptr noundef %244) #10
  br label %259

251:                                              ; preds = %241
  %252 = invoke noundef ptr @_ZN7randomx10CompiledVmINS_18LargePageAllocatorELb0ELb0EEnwEm(i64 noundef 2752)
          to label %253 unwind label %56

253:                                              ; preds = %251
  invoke void @_ZN7randomx10CompiledVmINS_18LargePageAllocatorELb0ELb0EEC1Ev(ptr noundef nonnull align 64 dereferenceable(2744) %252)
          to label %254 unwind label %255

254:                                              ; preds = %253
  store ptr %252, ptr %7, align 8, !tbaa !9
  br label %275

255:                                              ; preds = %253
  %256 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt9exception
  %257 = extractvalue { ptr, i32 } %256, 0
  store ptr %257, ptr %8, align 8
  %258 = extractvalue { ptr, i32 } %256, 1
  store i32 %258, ptr %9, align 4
  call void @_ZN7randomx10CompiledVmINS_18LargePageAllocatorELb0ELb0EEdlEPv(ptr noundef %252) #10
  br label %259

259:                                              ; preds = %255, %247, %233, %225, %205, %197, %183, %175, %155, %147, %133, %125, %105, %97, %83, %75, %56
  %260 = load i32, ptr %9, align 4
  %261 = call i32 @llvm.eh.typeid.for.p0(ptr @_ZTISt9exception) #10
  %262 = icmp eq i32 %260, %261
  br i1 %262, label %263, label %309

263:                                              ; preds = %259
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #10
  %264 = load ptr, ptr %8, align 8
  %265 = call ptr @__cxa_begin_catch(ptr %264) #10
  store ptr %265, ptr %10, align 8
  %266 = load ptr, ptr %7, align 8, !tbaa !9
  %267 = icmp eq ptr %266, null
  br i1 %267, label %272, label %268

268:                                              ; preds = %263
  %269 = load ptr, ptr %266, align 64, !tbaa !11
  %270 = getelementptr inbounds ptr, ptr %269, i64 1
  %271 = load ptr, ptr %270, align 8
  call void %271(ptr noundef nonnull align 64 dereferenceable(2672) %266) #10
  br label %272

272:                                              ; preds = %268, %263
  store ptr null, ptr %7, align 8, !tbaa !9
  call void @__cxa_end_catch()
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #10
  br label %273

273:                                              ; preds = %308, %272
  %274 = load ptr, ptr %7, align 8, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #10
  ret ptr %274

275:                                              ; preds = %254, %246
  br label %277

276:                                              ; preds = %55
  unreachable

277:                                              ; preds = %275, %237, %215, %212, %209, %187, %165, %162, %159, %137, %115, %112, %109, %87, %65, %62
  %278 = load ptr, ptr %5, align 8, !tbaa !9
  %279 = icmp ne ptr %278, null
  br i1 %279, label %280, label %293

280:                                              ; preds = %277
  %281 = load ptr, ptr %7, align 8, !tbaa !9
  %282 = load ptr, ptr %5, align 8, !tbaa !9
  %283 = load ptr, ptr %281, align 64, !tbaa !11
  %284 = getelementptr inbounds ptr, ptr %283, i64 6
  %285 = load ptr, ptr %284, align 8
  invoke void %285(ptr noundef nonnull align 64 dereferenceable(2672) %281, ptr noundef %282)
          to label %286 unwind label %56

286:                                              ; preds = %280
  %287 = load ptr, ptr %5, align 8, !tbaa !9
  %288 = getelementptr inbounds %struct.randomx_cache, ptr %287, i32 0, i32 7
  %289 = load ptr, ptr %7, align 8, !tbaa !9
  %290 = getelementptr inbounds %class.randomx_vm, ptr %289, i32 0, i32 9
  %291 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %290, ptr noundef nonnull align 8 dereferenceable(32) %288)
          to label %292 unwind label %56

292:                                              ; preds = %286
  br label %293

293:                                              ; preds = %292, %277
  %294 = load ptr, ptr %6, align 8, !tbaa !9
  %295 = icmp ne ptr %294, null
  br i1 %295, label %296, label %303

296:                                              ; preds = %293
  %297 = load ptr, ptr %7, align 8, !tbaa !9
  %298 = load ptr, ptr %6, align 8, !tbaa !9
  %299 = load ptr, ptr %297, align 64, !tbaa !11
  %300 = getelementptr inbounds ptr, ptr %299, i64 5
  %301 = load ptr, ptr %300, align 8
  invoke void %301(ptr noundef nonnull align 64 dereferenceable(2672) %297, ptr noundef %298)
          to label %302 unwind label %56

302:                                              ; preds = %296
  br label %303

303:                                              ; preds = %302, %293
  %304 = load ptr, ptr %7, align 8, !tbaa !9
  %305 = load ptr, ptr %304, align 64, !tbaa !11
  %306 = getelementptr inbounds ptr, ptr %305, i64 2
  %307 = load ptr, ptr %306, align 8
  invoke void %307(ptr noundef nonnull align 64 dereferenceable(2672) %304)
          to label %308 unwind label %56

308:                                              ; preds = %303
  br label %273

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

310:                                              ; preds = %309
  %311 = load ptr, ptr %8, align 8
  %312 = load i32, ptr %9, align 4
  %313 = insertvalue { ptr, i32 } poison, ptr %311, 0
  %314 = insertvalue { ptr, i32 } %313, i32 %312, 1
  resume { ptr, i32 } %314
}

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN7randomx18InterpretedLightVmINS_16AlignedAllocatorILm64EEELb1EEnwEm(i64 noundef) #5 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN7randomx18InterpretedLightVmINS_16AlignedAllocatorILm64EEELb1EEC2Ev(ptr noundef nonnull align 64 dereferenceable(10904)) unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN7randomx13InterpretedVmINS_16AlignedAllocatorILm64EEELb1EEnwEm(i64 noundef) #5 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN7randomx13InterpretedVmINS_16AlignedAllocatorILm64EEELb1EEC2Ev(ptr noundef nonnull align 64 dereferenceable(10904)) unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN7randomx15CompiledLightVmINS_16AlignedAllocatorILm64EEELb1ELb1EEnwEm(i64 noundef) #5 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN7randomx15CompiledLightVmINS_16AlignedAllocatorILm64EEELb1ELb1EEC2Ev(ptr noundef nonnull align 64 dereferenceable(2744)) unnamed_addr #6 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN7randomx15CompiledLightVmINS_16AlignedAllocatorILm64EEELb1ELb1EEdlEPv(ptr noundef) #7 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN7randomx15CompiledLightVmINS_16AlignedAllocatorILm64EEELb1ELb0EEnwEm(i64 noundef) #5 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN7randomx15CompiledLightVmINS_16AlignedAllocatorILm64EEELb1ELb0EEC2Ev(ptr noundef nonnull align 64 dereferenceable(2744)) unnamed_addr #6 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN7randomx15CompiledLightVmINS_16AlignedAllocatorILm64EEELb1ELb0EEdlEPv(ptr noundef) #7 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN7randomx10CompiledVmINS_16AlignedAllocatorILm64EEELb1ELb1EEnwEm(i64 noundef) #5 align 2

declare void @_ZN7randomx10CompiledVmINS_16AlignedAllocatorILm64EEELb1ELb1EEC1Ev(ptr noundef nonnull align 64 dereferenceable(2744)) unnamed_addr #8

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN7randomx10CompiledVmINS_16AlignedAllocatorILm64EEELb1ELb1EEdlEPv(ptr noundef) #7 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN7randomx10CompiledVmINS_16AlignedAllocatorILm64EEELb1ELb0EEnwEm(i64 noundef) #5 align 2

declare void @_ZN7randomx10CompiledVmINS_16AlignedAllocatorILm64EEELb1ELb0EEC1Ev(ptr noundef nonnull align 64 dereferenceable(2744)) unnamed_addr #8

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN7randomx10CompiledVmINS_16AlignedAllocatorILm64EEELb1ELb0EEdlEPv(ptr noundef) #7 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN7randomx18InterpretedLightVmINS_16AlignedAllocatorILm64EEELb0EEnwEm(i64 noundef) #5 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN7randomx18InterpretedLightVmINS_16AlignedAllocatorILm64EEELb0EEC2Ev(ptr noundef nonnull align 64 dereferenceable(10904)) unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN7randomx13InterpretedVmINS_16AlignedAllocatorILm64EEELb0EEnwEm(i64 noundef) #5 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN7randomx13InterpretedVmINS_16AlignedAllocatorILm64EEELb0EEC2Ev(ptr noundef nonnull align 64 dereferenceable(10904)) unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN7randomx15CompiledLightVmINS_16AlignedAllocatorILm64EEELb0ELb1EEnwEm(i64 noundef) #5 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN7randomx15CompiledLightVmINS_16AlignedAllocatorILm64EEELb0ELb1EEC2Ev(ptr noundef nonnull align 64 dereferenceable(2744)) unnamed_addr #6 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN7randomx15CompiledLightVmINS_16AlignedAllocatorILm64EEELb0ELb1EEdlEPv(ptr noundef) #7 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN7randomx15CompiledLightVmINS_16AlignedAllocatorILm64EEELb0ELb0EEnwEm(i64 noundef) #5 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN7randomx15CompiledLightVmINS_16AlignedAllocatorILm64EEELb0ELb0EEC2Ev(ptr noundef nonnull align 64 dereferenceable(2744)) unnamed_addr #6 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN7randomx15CompiledLightVmINS_16AlignedAllocatorILm64EEELb0ELb0EEdlEPv(ptr noundef) #7 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN7randomx10CompiledVmINS_16AlignedAllocatorILm64EEELb0ELb1EEnwEm(i64 noundef) #5 align 2

declare void @_ZN7randomx10CompiledVmINS_16AlignedAllocatorILm64EEELb0ELb1EEC1Ev(ptr noundef nonnull align 64 dereferenceable(2744)) unnamed_addr #8

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN7randomx10CompiledVmINS_16AlignedAllocatorILm64EEELb0ELb1EEdlEPv(ptr noundef) #7 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN7randomx10CompiledVmINS_16AlignedAllocatorILm64EEELb0ELb0EEnwEm(i64 noundef) #5 align 2

declare void @_ZN7randomx10CompiledVmINS_16AlignedAllocatorILm64EEELb0ELb0EEC1Ev(ptr noundef nonnull align 64 dereferenceable(2744)) unnamed_addr #8

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN7randomx10CompiledVmINS_16AlignedAllocatorILm64EEELb0ELb0EEdlEPv(ptr noundef) #7 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN7randomx18InterpretedLightVmINS_18LargePageAllocatorELb1EEnwEm(i64 noundef) #5 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN7randomx18InterpretedLightVmINS_18LargePageAllocatorELb1EEC2Ev(ptr noundef nonnull align 64 dereferenceable(10904)) unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN7randomx13InterpretedVmINS_18LargePageAllocatorELb1EEnwEm(i64 noundef) #5 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN7randomx13InterpretedVmINS_18LargePageAllocatorELb1EEC2Ev(ptr noundef nonnull align 64 dereferenceable(10904)) unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN7randomx15CompiledLightVmINS_18LargePageAllocatorELb1ELb1EEnwEm(i64 noundef) #5 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN7randomx15CompiledLightVmINS_18LargePageAllocatorELb1ELb1EEC2Ev(ptr noundef nonnull align 64 dereferenceable(2744)) unnamed_addr #6 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN7randomx15CompiledLightVmINS_18LargePageAllocatorELb1ELb1EEdlEPv(ptr noundef) #7 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN7randomx15CompiledLightVmINS_18LargePageAllocatorELb1ELb0EEnwEm(i64 noundef) #5 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN7randomx15CompiledLightVmINS_18LargePageAllocatorELb1ELb0EEC2Ev(ptr noundef nonnull align 64 dereferenceable(2744)) unnamed_addr #6 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN7randomx15CompiledLightVmINS_18LargePageAllocatorELb1ELb0EEdlEPv(ptr noundef) #7 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN7randomx10CompiledVmINS_18LargePageAllocatorELb1ELb1EEnwEm(i64 noundef) #5 align 2

declare void @_ZN7randomx10CompiledVmINS_18LargePageAllocatorELb1ELb1EEC1Ev(ptr noundef nonnull align 64 dereferenceable(2744)) unnamed_addr #8

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN7randomx10CompiledVmINS_18LargePageAllocatorELb1ELb1EEdlEPv(ptr noundef) #7 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN7randomx10CompiledVmINS_18LargePageAllocatorELb1ELb0EEnwEm(i64 noundef) #5 align 2

declare void @_ZN7randomx10CompiledVmINS_18LargePageAllocatorELb1ELb0EEC1Ev(ptr noundef nonnull align 64 dereferenceable(2744)) unnamed_addr #8

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN7randomx10CompiledVmINS_18LargePageAllocatorELb1ELb0EEdlEPv(ptr noundef) #7 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN7randomx18InterpretedLightVmINS_18LargePageAllocatorELb0EEnwEm(i64 noundef) #5 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN7randomx18InterpretedLightVmINS_18LargePageAllocatorELb0EEC2Ev(ptr noundef nonnull align 64 dereferenceable(10904)) unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN7randomx13InterpretedVmINS_18LargePageAllocatorELb0EEnwEm(i64 noundef) #5 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN7randomx13InterpretedVmINS_18LargePageAllocatorELb0EEC2Ev(ptr noundef nonnull align 64 dereferenceable(10904)) unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN7randomx15CompiledLightVmINS_18LargePageAllocatorELb0ELb1EEnwEm(i64 noundef) #5 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN7randomx15CompiledLightVmINS_18LargePageAllocatorELb0ELb1EEC2Ev(ptr noundef nonnull align 64 dereferenceable(2744)) unnamed_addr #6 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN7randomx15CompiledLightVmINS_18LargePageAllocatorELb0ELb1EEdlEPv(ptr noundef) #7 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN7randomx15CompiledLightVmINS_18LargePageAllocatorELb0ELb0EEnwEm(i64 noundef) #5 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN7randomx15CompiledLightVmINS_18LargePageAllocatorELb0ELb0EEC2Ev(ptr noundef nonnull align 64 dereferenceable(2744)) unnamed_addr #6 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN7randomx15CompiledLightVmINS_18LargePageAllocatorELb0ELb0EEdlEPv(ptr noundef) #7 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN7randomx10CompiledVmINS_18LargePageAllocatorELb0ELb1EEnwEm(i64 noundef) #5 align 2

declare void @_ZN7randomx10CompiledVmINS_18LargePageAllocatorELb0ELb1EEC1Ev(ptr noundef nonnull align 64 dereferenceable(2744)) unnamed_addr #8

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN7randomx10CompiledVmINS_18LargePageAllocatorELb0ELb1EEdlEPv(ptr noundef) #7 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN7randomx10CompiledVmINS_18LargePageAllocatorELb0ELb0EEnwEm(i64 noundef) #5 align 2

declare void @_ZN7randomx10CompiledVmINS_18LargePageAllocatorELb0ELb0EEC1Ev(ptr noundef nonnull align 64 dereferenceable(2744)) unnamed_addr #8

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN7randomx10CompiledVmINS_18LargePageAllocatorELb0ELb0EEdlEPv(ptr noundef) #7 align 2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { 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 #3 = { nounwind memory(none) }
attributes #4 = { noreturn nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { 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 #6 = { 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 #7 = { 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 = { "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 = { noreturn nounwind }
attributes #10 = { 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 = !{!"_ZTS13randomx_flags", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"vtable pointer", !8, i64 0}


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

@_ZTISt9exception = external constant ptr
@.str.1 = external hidden unnamed_addr constant [65 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [52 x i8], align 1
@__PRETTY_FUNCTION__.randomx_create_vm = external hidden unnamed_addr constant [81 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [43 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [55 x i8], align 1

declare i32 @__gxx_personality_v0(...)

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

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

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

; Function Attrs: nofree nosync nounwind memory(none)
declare i32 @llvm.eh.typeid.for.p0(ptr) #2

declare ptr @__cxa_begin_catch(ptr) local_unnamed_addr

declare void @__cxa_end_catch() local_unnamed_addr

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN13randomx_cache13isInitializedEv(ptr noundef nonnull align 8 dereferenceable(33704)) local_unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSERKS4_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
define dso_local noundef ptr @randomx_create_vm(i32 noundef %0, ptr noundef %1, ptr noundef %2) local_unnamed_addr #4 personality ptr @__gxx_personality_v0 {
  %.not = icmp eq ptr %1, null
  br i1 %.not, label %4, label %.critedge

4:                                                ; preds = %3
  %5 = tail call noundef i32 @_Zan13randomx_flagsS_(i32 noundef %0, i32 noundef 4)
  %.not38 = icmp eq i32 %5, 0
  br i1 %.not38, label %6, label %.critedge2

6:                                                ; preds = %4
  tail call void @__assert_fail(ptr noundef nonnull @.str.6, ptr noundef nonnull @.str.1, i32 noundef 207, ptr noundef nonnull @__PRETTY_FUNCTION__.randomx_create_vm) #8
  unreachable

.critedge:                                        ; preds = %3
  %7 = tail call noundef zeroext i1 @_ZN13randomx_cache13isInitializedEv(ptr noundef nonnull align 8 dereferenceable(33704) %1)
  br i1 %7, label %.critedge2, label %8

8:                                                ; preds = %.critedge
  tail call void @__assert_fail(ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.1, i32 noundef 208, ptr noundef nonnull @__PRETTY_FUNCTION__.randomx_create_vm) #8
  unreachable

.critedge2:                                       ; preds = %4, %.critedge
  %.not39 = icmp eq ptr %2, null
  br i1 %.not39, label %9, label %.critedge4

9:                                                ; preds = %.critedge2
  %10 = tail call noundef i32 @_Zan13randomx_flagsS_(i32 noundef %0, i32 noundef 4)
  %.not40 = icmp eq i32 %10, 0
  br i1 %.not40, label %.critedge4, label %11

11:                                               ; preds = %9
  tail call void @__assert_fail(ptr noundef nonnull @.str.8, ptr noundef nonnull @.str.1, i32 noundef 209, ptr noundef nonnull @__PRETTY_FUNCTION__.randomx_create_vm) #8
  unreachable

.critedge4:                                       ; preds = %.critedge2, %9
  %12 = tail call noundef i32 @_Zor13randomx_flagsS_(i32 noundef 4, i32 noundef 8)
  %13 = tail call noundef i32 @_Zor13randomx_flagsS_(i32 noundef %12, i32 noundef 2)
  %14 = tail call noundef i32 @_Zor13randomx_flagsS_(i32 noundef %13, i32 noundef 1)
  %15 = tail call noundef i32 @_Zan13randomx_flagsS_(i32 noundef %0, i32 noundef %14)
  switch i32 %15, label %150 [
    i32 0, label %18
    i32 4, label %21
    i32 8, label %24
    i32 12, label %36
    i32 2, label %48
    i32 6, label %51
    i32 10, label %54
    i32 14, label %66
    i32 1, label %78
    i32 5, label %81
    i32 9, label %84
    i32 13, label %96
    i32 3, label %108
    i32 7, label %111
    i32 11, label %114
    i32 15, label %126
  ]

16:                                               ; preds = %165, %161, %156, %152, %133, %128, %121, %116, %111, %108, %103, %98, %91, %86, %81, %78, %73, %68, %61, %56, %51, %48, %43, %38, %31, %26, %21, %18
  %.0 = phi ptr [ %.3, %165 ], [ %.3, %161 ], [ %.3, %156 ], [ %.3, %152 ], [ null, %128 ], [ null, %133 ], [ null, %116 ], [ null, %121 ], [ null, %111 ], [ null, %108 ], [ null, %98 ], [ null, %103 ], [ null, %86 ], [ null, %91 ], [ null, %81 ], [ null, %78 ], [ null, %68 ], [ null, %73 ], [ null, %56 ], [ null, %61 ], [ null, %51 ], [ null, %48 ], [ null, %38 ], [ null, %43 ], [ null, %26 ], [ null, %31 ], [ null, %21 ], [ null, %18 ]
  %17 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt9exception
  br label %138

18:                                               ; preds = %.critedge4
  %19 = invoke noundef ptr @_ZN7randomx18InterpretedLightVmINS_16AlignedAllocatorILm64EEELb1EEnwEm(i64 noundef 10944)
          to label %20 unwind label %16

20:                                               ; preds = %18
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 64 dereferenceable(10944) %19, i8 0, i64 10944, i1 false)
  tail call void @_ZN7randomx18InterpretedLightVmINS_16AlignedAllocatorILm64EEELb1EEC2Ev(ptr noundef nonnull align 64 dereferenceable(10904) %19) #9
  br label %151

21:                                               ; preds = %.critedge4
  %22 = invoke noundef ptr @_ZN7randomx13InterpretedVmINS_16AlignedAllocatorILm64EEELb1EEnwEm(i64 noundef 10944)
          to label %23 unwind label %16

23:                                               ; preds = %21
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 64 dereferenceable(10944) %22, i8 0, i64 10944, i1 false)
  tail call void @_ZN7randomx13InterpretedVmINS_16AlignedAllocatorILm64EEELb1EEC2Ev(ptr noundef nonnull align 64 dereferenceable(10904) %22) #9
  br label %151

24:                                               ; preds = %.critedge4
  %25 = tail call noundef i32 @_Zan13randomx_flagsS_(i32 noundef %0, i32 noundef 16)
  %.not48 = icmp eq i32 %25, 0
  br i1 %.not48, label %31, label %26

26:                                               ; preds = %24
  %27 = invoke noundef ptr @_ZN7randomx15CompiledLightVmINS_16AlignedAllocatorILm64EEELb1ELb1EEnwEm(i64 noundef 2752)
          to label %28 unwind label %16

28:                                               ; preds = %26
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 64 dereferenceable(2752) %27, i8 0, i64 2752, i1 false)
  invoke void @_ZN7randomx15CompiledLightVmINS_16AlignedAllocatorILm64EEELb1ELb1EEC2Ev(ptr noundef nonnull align 64 dereferenceable(2744) %27)
          to label %151 unwind label %29

29:                                               ; preds = %28
  %30 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt9exception
  tail call void @_ZN7randomx15CompiledLightVmINS_16AlignedAllocatorILm64EEELb1ELb1EEdlEPv(ptr noundef nonnull %27) #9
  br label %138

31:                                               ; preds = %24
  %32 = invoke noundef ptr @_ZN7randomx15CompiledLightVmINS_16AlignedAllocatorILm64EEELb1ELb0EEnwEm(i64 noundef 2752)
          to label %33 unwind label %16

33:                                               ; preds = %31
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 64 dereferenceable(2752) %32, i8 0, i64 2752, i1 false)
  invoke void @_ZN7randomx15CompiledLightVmINS_16AlignedAllocatorILm64EEELb1ELb0EEC2Ev(ptr noundef nonnull align 64 dereferenceable(2744) %32)
          to label %151 unwind label %34

34:                                               ; preds = %33
  %35 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt9exception
  tail call void @_ZN7randomx15CompiledLightVmINS_16AlignedAllocatorILm64EEELb1ELb0EEdlEPv(ptr noundef nonnull %32) #9
  br label %138

36:                                               ; preds = %.critedge4
  %37 = tail call noundef i32 @_Zan13randomx_flagsS_(i32 noundef %0, i32 noundef 16)
  %.not47 = icmp eq i32 %37, 0
  br i1 %.not47, label %43, label %38

38:                                               ; preds = %36
  %39 = invoke noundef ptr @_ZN7randomx10CompiledVmINS_16AlignedAllocatorILm64EEELb1ELb1EEnwEm(i64 noundef 2752)
          to label %40 unwind label %16

40:                                               ; preds = %38
  invoke void @_ZN7randomx10CompiledVmINS_16AlignedAllocatorILm64EEELb1ELb1EEC1Ev(ptr noundef nonnull align 64 dereferenceable(2744) %39)
          to label %151 unwind label %41

41:                                               ; preds = %40
  %42 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt9exception
  tail call void @_ZN7randomx10CompiledVmINS_16AlignedAllocatorILm64EEELb1ELb1EEdlEPv(ptr noundef %39) #9
  br label %138

43:                                               ; preds = %36
  %44 = invoke noundef ptr @_ZN7randomx10CompiledVmINS_16AlignedAllocatorILm64EEELb1ELb0EEnwEm(i64 noundef 2752)
          to label %45 unwind label %16

45:                                               ; preds = %43
  invoke void @_ZN7randomx10CompiledVmINS_16AlignedAllocatorILm64EEELb1ELb0EEC1Ev(ptr noundef nonnull align 64 dereferenceable(2744) %44)
          to label %151 unwind label %46

46:                                               ; preds = %45
  %47 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt9exception
  tail call void @_ZN7randomx10CompiledVmINS_16AlignedAllocatorILm64EEELb1ELb0EEdlEPv(ptr noundef %44) #9
  br label %138

48:                                               ; preds = %.critedge4
  %49 = invoke noundef ptr @_ZN7randomx18InterpretedLightVmINS_16AlignedAllocatorILm64EEELb0EEnwEm(i64 noundef 10944)
          to label %50 unwind label %16

50:                                               ; preds = %48
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 64 dereferenceable(10944) %49, i8 0, i64 10944, i1 false)
  tail call void @_ZN7randomx18InterpretedLightVmINS_16AlignedAllocatorILm64EEELb0EEC2Ev(ptr noundef nonnull align 64 dereferenceable(10904) %49) #9
  br label %151

51:                                               ; preds = %.critedge4
  %52 = invoke noundef ptr @_ZN7randomx13InterpretedVmINS_16AlignedAllocatorILm64EEELb0EEnwEm(i64 noundef 10944)
          to label %53 unwind label %16

53:                                               ; preds = %51
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 64 dereferenceable(10944) %52, i8 0, i64 10944, i1 false)
  tail call void @_ZN7randomx13InterpretedVmINS_16AlignedAllocatorILm64EEELb0EEC2Ev(ptr noundef nonnull align 64 dereferenceable(10904) %52) #9
  br label %151

54:                                               ; preds = %.critedge4
  %55 = tail call noundef i32 @_Zan13randomx_flagsS_(i32 noundef %0, i32 noundef 16)
  %.not46 = icmp eq i32 %55, 0
  br i1 %.not46, label %61, label %56

56:                                               ; preds = %54
  %57 = invoke noundef ptr @_ZN7randomx15CompiledLightVmINS_16AlignedAllocatorILm64EEELb0ELb1EEnwEm(i64 noundef 2752)
          to label %58 unwind label %16

58:                                               ; preds = %56
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 64 dereferenceable(2752) %57, i8 0, i64 2752, i1 false)
  invoke void @_ZN7randomx15CompiledLightVmINS_16AlignedAllocatorILm64EEELb0ELb1EEC2Ev(ptr noundef nonnull align 64 dereferenceable(2744) %57)
          to label %151 unwind label %59

59:                                               ; preds = %58
  %60 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt9exception
  tail call void @_ZN7randomx15CompiledLightVmINS_16AlignedAllocatorILm64EEELb0ELb1EEdlEPv(ptr noundef nonnull %57) #9
  br label %138

61:                                               ; preds = %54
  %62 = invoke noundef ptr @_ZN7randomx15CompiledLightVmINS_16AlignedAllocatorILm64EEELb0ELb0EEnwEm(i64 noundef 2752)
          to label %63 unwind label %16

63:                                               ; preds = %61
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 64 dereferenceable(2752) %62, i8 0, i64 2752, i1 false)
  invoke void @_ZN7randomx15CompiledLightVmINS_16AlignedAllocatorILm64EEELb0ELb0EEC2Ev(ptr noundef nonnull align 64 dereferenceable(2744) %62)
          to label %151 unwind label %64

64:                                               ; preds = %63
  %65 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt9exception
  tail call void @_ZN7randomx15CompiledLightVmINS_16AlignedAllocatorILm64EEELb0ELb0EEdlEPv(ptr noundef nonnull %62) #9
  br label %138

66:                                               ; preds = %.critedge4
  %67 = tail call noundef i32 @_Zan13randomx_flagsS_(i32 noundef %0, i32 noundef 16)
  %.not45 = icmp eq i32 %67, 0
  br i1 %.not45, label %73, label %68

68:                                               ; preds = %66
  %69 = invoke noundef ptr @_ZN7randomx10CompiledVmINS_16AlignedAllocatorILm64EEELb0ELb1EEnwEm(i64 noundef 2752)
          to label %70 unwind label %16

70:                                               ; preds = %68
  invoke void @_ZN7randomx10CompiledVmINS_16AlignedAllocatorILm64EEELb0ELb1EEC1Ev(ptr noundef nonnull align 64 dereferenceable(2744) %69)
          to label %151 unwind label %71

71:                                               ; preds = %70
  %72 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt9exception
  tail call void @_ZN7randomx10CompiledVmINS_16AlignedAllocatorILm64EEELb0ELb1EEdlEPv(ptr noundef %69) #9
  br label %138

73:                                               ; preds = %66
  %74 = invoke noundef ptr @_ZN7randomx10CompiledVmINS_16AlignedAllocatorILm64EEELb0ELb0EEnwEm(i64 noundef 2752)
          to label %75 unwind label %16

75:                                               ; preds = %73
  invoke void @_ZN7randomx10CompiledVmINS_16AlignedAllocatorILm64EEELb0ELb0EEC1Ev(ptr noundef nonnull align 64 dereferenceable(2744) %74)
          to label %151 unwind label %76

76:                                               ; preds = %75
  %77 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt9exception
  tail call void @_ZN7randomx10CompiledVmINS_16AlignedAllocatorILm64EEELb0ELb0EEdlEPv(ptr noundef %74) #9
  br label %138

78:                                               ; preds = %.critedge4
  %79 = invoke noundef ptr @_ZN7randomx18InterpretedLightVmINS_18LargePageAllocatorELb1EEnwEm(i64 noundef 10944)
          to label %80 unwind label %16

80:                                               ; preds = %78
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 64 dereferenceable(10944) %79, i8 0, i64 10944, i1 false)
  tail call void @_ZN7randomx18InterpretedLightVmINS_18LargePageAllocatorELb1EEC2Ev(ptr noundef nonnull align 64 dereferenceable(10904) %79) #9
  br label %151

81:                                               ; preds = %.critedge4
  %82 = invoke noundef ptr @_ZN7randomx13InterpretedVmINS_18LargePageAllocatorELb1EEnwEm(i64 noundef 10944)
          to label %83 unwind label %16

83:                                               ; preds = %81
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 64 dereferenceable(10944) %82, i8 0, i64 10944, i1 false)
  tail call void @_ZN7randomx13InterpretedVmINS_18LargePageAllocatorELb1EEC2Ev(ptr noundef nonnull align 64 dereferenceable(10904) %82) #9
  br label %151

84:                                               ; preds = %.critedge4
  %85 = tail call noundef i32 @_Zan13randomx_flagsS_(i32 noundef %0, i32 noundef 16)
  %.not44 = icmp eq i32 %85, 0
  br i1 %.not44, label %91, label %86

86:                                               ; preds = %84
  %87 = invoke noundef ptr @_ZN7randomx15CompiledLightVmINS_18LargePageAllocatorELb1ELb1EEnwEm(i64 noundef 2752)
          to label %88 unwind label %16

88:                                               ; preds = %86
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 64 dereferenceable(2752) %87, i8 0, i64 2752, i1 false)
  invoke void @_ZN7randomx15CompiledLightVmINS_18LargePageAllocatorELb1ELb1EEC2Ev(ptr noundef nonnull align 64 dereferenceable(2744) %87)
          to label %151 unwind label %89

89:                                               ; preds = %88
  %90 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt9exception
  tail call void @_ZN7randomx15CompiledLightVmINS_18LargePageAllocatorELb1ELb1EEdlEPv(ptr noundef nonnull %87) #9
  br label %138

91:                                               ; preds = %84
  %92 = invoke noundef ptr @_ZN7randomx15CompiledLightVmINS_18LargePageAllocatorELb1ELb0EEnwEm(i64 noundef 2752)
          to label %93 unwind label %16

93:                                               ; preds = %91
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 64 dereferenceable(2752) %92, i8 0, i64 2752, i1 false)
  invoke void @_ZN7randomx15CompiledLightVmINS_18LargePageAllocatorELb1ELb0EEC2Ev(ptr noundef nonnull align 64 dereferenceable(2744) %92)
          to label %151 unwind label %94

94:                                               ; preds = %93
  %95 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt9exception
  tail call void @_ZN7randomx15CompiledLightVmINS_18LargePageAllocatorELb1ELb0EEdlEPv(ptr noundef nonnull %92) #9
  br label %138

96:                                               ; preds = %.critedge4
  %97 = tail call noundef i32 @_Zan13randomx_flagsS_(i32 noundef %0, i32 noundef 16)
  %.not43 = icmp eq i32 %97, 0
  br i1 %.not43, label %103, label %98

98:                                               ; preds = %96
  %99 = invoke noundef ptr @_ZN7randomx10CompiledVmINS_18LargePageAllocatorELb1ELb1EEnwEm(i64 noundef 2752)
          to label %100 unwind label %16

100:                                              ; preds = %98
  invoke void @_ZN7randomx10CompiledVmINS_18LargePageAllocatorELb1ELb1EEC1Ev(ptr noundef nonnull align 64 dereferenceable(2744) %99)
          to label %151 unwind label %101

101:                                              ; preds = %100
  %102 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt9exception
  tail call void @_ZN7randomx10CompiledVmINS_18LargePageAllocatorELb1ELb1EEdlEPv(ptr noundef %99) #9
  br label %138

103:                                              ; preds = %96
  %104 = invoke noundef ptr @_ZN7randomx10CompiledVmINS_18LargePageAllocatorELb1ELb0EEnwEm(i64 noundef 2752)
          to label %105 unwind label %16

105:                                              ; preds = %103
  invoke void @_ZN7randomx10CompiledVmINS_18LargePageAllocatorELb1ELb0EEC1Ev(ptr noundef nonnull align 64 dereferenceable(2744) %104)
          to label %151 unwind label %106

106:                                              ; preds = %105
  %107 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt9exception
  tail call void @_ZN7randomx10CompiledVmINS_18LargePageAllocatorELb1ELb0EEdlEPv(ptr noundef %104) #9
  br label %138

108:                                              ; preds = %.critedge4
  %109 = invoke noundef ptr @_ZN7randomx18InterpretedLightVmINS_18LargePageAllocatorELb0EEnwEm(i64 noundef 10944)
          to label %110 unwind label %16

110:                                              ; preds = %108
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 64 dereferenceable(10944) %109, i8 0, i64 10944, i1 false)
  tail call void @_ZN7randomx18InterpretedLightVmINS_18LargePageAllocatorELb0EEC2Ev(ptr noundef nonnull align 64 dereferenceable(10904) %109) #9
  br label %151

111:                                              ; preds = %.critedge4
  %112 = invoke noundef ptr @_ZN7randomx13InterpretedVmINS_18LargePageAllocatorELb0EEnwEm(i64 noundef 10944)
          to label %113 unwind label %16

113:                                              ; preds = %111
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 64 dereferenceable(10944) %112, i8 0, i64 10944, i1 false)
  tail call void @_ZN7randomx13InterpretedVmINS_18LargePageAllocatorELb0EEC2Ev(ptr noundef nonnull align 64 dereferenceable(10904) %112) #9
  br label %151

114:                                              ; preds = %.critedge4
  %115 = tail call noundef i32 @_Zan13randomx_flagsS_(i32 noundef %0, i32 noundef 16)
  %.not42 = icmp eq i32 %115, 0
  br i1 %.not42, label %121, label %116

116:                                              ; preds = %114
  %117 = invoke noundef ptr @_ZN7randomx15CompiledLightVmINS_18LargePageAllocatorELb0ELb1EEnwEm(i64 noundef 2752)
          to label %118 unwind label %16

118:                                              ; preds = %116
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 64 dereferenceable(2752) %117, i8 0, i64 2752, i1 false)
  invoke void @_ZN7randomx15CompiledLightVmINS_18LargePageAllocatorELb0ELb1EEC2Ev(ptr noundef nonnull align 64 dereferenceable(2744) %117)
          to label %151 unwind label %119

119:                                              ; preds = %118
  %120 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt9exception
  tail call void @_ZN7randomx15CompiledLightVmINS_18LargePageAllocatorELb0ELb1EEdlEPv(ptr noundef nonnull %117) #9
  br label %138

121:                                              ; preds = %114
  %122 = invoke noundef ptr @_ZN7randomx15CompiledLightVmINS_18LargePageAllocatorELb0ELb0EEnwEm(i64 noundef 2752)
          to label %123 unwind label %16

123:                                              ; preds = %121
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 64 dereferenceable(2752) %122, i8 0, i64 2752, i1 false)
  invoke void @_ZN7randomx15CompiledLightVmINS_18LargePageAllocatorELb0ELb0EEC2Ev(ptr noundef nonnull align 64 dereferenceable(2744) %122)
          to label %151 unwind label %124

124:                                              ; preds = %123
  %125 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt9exception
  tail call void @_ZN7randomx15CompiledLightVmINS_18LargePageAllocatorELb0ELb0EEdlEPv(ptr noundef nonnull %122) #9
  br label %138

126:                                              ; preds = %.critedge4
  %127 = tail call noundef i32 @_Zan13randomx_flagsS_(i32 noundef %0, i32 noundef 16)
  %.not41 = icmp eq i32 %127, 0
  br i1 %.not41, label %133, label %128

128:                                              ; preds = %126
  %129 = invoke noundef ptr @_ZN7randomx10CompiledVmINS_18LargePageAllocatorELb0ELb1EEnwEm(i64 noundef 2752)
          to label %130 unwind label %16

130:                                              ; preds = %128
  invoke void @_ZN7randomx10CompiledVmINS_18LargePageAllocatorELb0ELb1EEC1Ev(ptr noundef nonnull align 64 dereferenceable(2744) %129)
          to label %151 unwind label %131

131:                                              ; preds = %130
  %132 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt9exception
  tail call void @_ZN7randomx10CompiledVmINS_18LargePageAllocatorELb0ELb1EEdlEPv(ptr noundef %129) #9
  br label %138

133:                                              ; preds = %126
  %134 = invoke noundef ptr @_ZN7randomx10CompiledVmINS_18LargePageAllocatorELb0ELb0EEnwEm(i64 noundef 2752)
          to label %135 unwind label %16

135:                                              ; preds = %133
  invoke void @_ZN7randomx10CompiledVmINS_18LargePageAllocatorELb0ELb0EEC1Ev(ptr noundef nonnull align 64 dereferenceable(2744) %134)
          to label %151 unwind label %136

136:                                              ; preds = %135
  %137 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt9exception
  tail call void @_ZN7randomx10CompiledVmINS_18LargePageAllocatorELb0ELb0EEdlEPv(ptr noundef %134) #9
  br label %138

138:                                              ; preds = %136, %131, %124, %119, %106, %101, %94, %89, %76, %71, %64, %59, %46, %41, %34, %29, %16
  %.pn = phi { ptr, i32 } [ %17, %16 ], [ %132, %131 ], [ %137, %136 ], [ %120, %119 ], [ %125, %124 ], [ %102, %101 ], [ %107, %106 ], [ %90, %89 ], [ %95, %94 ], [ %72, %71 ], [ %77, %76 ], [ %60, %59 ], [ %65, %64 ], [ %42, %41 ], [ %47, %46 ], [ %30, %29 ], [ %35, %34 ]
  %.1 = phi ptr [ %.0, %16 ], [ null, %131 ], [ null, %136 ], [ null, %119 ], [ null, %124 ], [ null, %101 ], [ null, %106 ], [ null, %89 ], [ null, %94 ], [ null, %71 ], [ null, %76 ], [ null, %59 ], [ null, %64 ], [ null, %41 ], [ null, %46 ], [ null, %29 ], [ null, %34 ]
  %.033 = extractvalue { ptr, i32 } %.pn, 1
  %139 = tail call i32 @llvm.eh.typeid.for.p0(ptr nonnull @_ZTISt9exception) #9
  %140 = icmp eq i32 %.033, %139
  br i1 %140, label %141, label %169

141:                                              ; preds = %138
  %.034 = extractvalue { ptr, i32 } %.pn, 0
  %142 = tail call ptr @__cxa_begin_catch(ptr %.034) #9
  %143 = icmp eq ptr %.1, null
  br i1 %143, label %148, label %144

144:                                              ; preds = %141
  %145 = load ptr, ptr %.1, align 64, !tbaa !5
  %146 = getelementptr inbounds i8, ptr %145, i64 8
  %147 = load ptr, ptr %146, align 8
  tail call void %147(ptr noundef nonnull align 64 dereferenceable(2672) %.1) #9
  br label %148

148:                                              ; preds = %144, %141
  tail call void @__cxa_end_catch()
  br label %149

149:                                              ; preds = %165, %148
  %.2 = phi ptr [ %.3, %165 ], [ null, %148 ]
  ret ptr %.2

150:                                              ; preds = %.critedge4
  unreachable

151:                                              ; preds = %135, %130, %123, %118, %105, %100, %93, %88, %75, %70, %63, %58, %45, %40, %33, %28, %113, %110, %83, %80, %53, %50, %23, %20
  %.3 = phi ptr [ %112, %113 ], [ %109, %110 ], [ %82, %83 ], [ %79, %80 ], [ %52, %53 ], [ %49, %50 ], [ %22, %23 ], [ %19, %20 ], [ %27, %28 ], [ %32, %33 ], [ %39, %40 ], [ %44, %45 ], [ %57, %58 ], [ %62, %63 ], [ %69, %70 ], [ %74, %75 ], [ %87, %88 ], [ %92, %93 ], [ %99, %100 ], [ %104, %105 ], [ %117, %118 ], [ %122, %123 ], [ %129, %130 ], [ %134, %135 ]
  br i1 %.not, label %160, label %152

152:                                              ; preds = %151
  %153 = load ptr, ptr %.3, align 64, !tbaa !5
  %154 = getelementptr inbounds i8, ptr %153, i64 48
  %155 = load ptr, ptr %154, align 8
  invoke void %155(ptr noundef nonnull align 64 dereferenceable(2672) %.3, ptr noundef nonnull %1)
          to label %156 unwind label %16

156:                                              ; preds = %152
  %157 = getelementptr inbounds i8, ptr %1, i64 33664
  %158 = getelementptr inbounds i8, ptr %.3, i64 2568
  %159 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %158, ptr noundef nonnull align 8 dereferenceable(32) %157)
          to label %160 unwind label %16

160:                                              ; preds = %156, %151
  br i1 %.not39, label %165, label %161

161:                                              ; preds = %160
  %162 = load ptr, ptr %.3, align 64, !tbaa !5
  %163 = getelementptr inbounds i8, ptr %162, i64 40
  %164 = load ptr, ptr %163, align 8
  invoke void %164(ptr noundef nonnull align 64 dereferenceable(2672) %.3, ptr noundef nonnull %2)
          to label %165 unwind label %16

165:                                              ; preds = %161, %160
  %166 = load ptr, ptr %.3, align 64, !tbaa !5
  %167 = getelementptr inbounds i8, ptr %166, i64 16
  %168 = load ptr, ptr %167, align 8
  invoke void %168(ptr noundef nonnull align 64 dereferenceable(2672) %.3)
          to label %149 unwind label %16

169:                                              ; preds = %138
  resume { ptr, i32 } %.pn
}

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN7randomx18InterpretedLightVmINS_16AlignedAllocatorILm64EEELb1EEnwEm(i64 noundef) local_unnamed_addr #4 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN7randomx13InterpretedVmINS_16AlignedAllocatorILm64EEELb1EEnwEm(i64 noundef) local_unnamed_addr #4 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN7randomx15CompiledLightVmINS_16AlignedAllocatorILm64EEELb1ELb1EEnwEm(i64 noundef) local_unnamed_addr #4 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN7randomx15CompiledLightVmINS_16AlignedAllocatorILm64EEELb1ELb1EEC2Ev(ptr noundef nonnull align 64 dereferenceable(2744)) unnamed_addr #5 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN7randomx15CompiledLightVmINS_16AlignedAllocatorILm64EEELb1ELb1EEdlEPv(ptr noundef) local_unnamed_addr #6 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN7randomx15CompiledLightVmINS_16AlignedAllocatorILm64EEELb1ELb0EEnwEm(i64 noundef) local_unnamed_addr #4 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN7randomx15CompiledLightVmINS_16AlignedAllocatorILm64EEELb1ELb0EEC2Ev(ptr noundef nonnull align 64 dereferenceable(2744)) unnamed_addr #5 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN7randomx15CompiledLightVmINS_16AlignedAllocatorILm64EEELb1ELb0EEdlEPv(ptr noundef) local_unnamed_addr #6 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN7randomx10CompiledVmINS_16AlignedAllocatorILm64EEELb1ELb1EEnwEm(i64 noundef) local_unnamed_addr #4 align 2

declare void @_ZN7randomx10CompiledVmINS_16AlignedAllocatorILm64EEELb1ELb1EEC1Ev(ptr noundef nonnull align 64 dereferenceable(2744)) unnamed_addr #7

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN7randomx10CompiledVmINS_16AlignedAllocatorILm64EEELb1ELb1EEdlEPv(ptr noundef) local_unnamed_addr #6 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN7randomx10CompiledVmINS_16AlignedAllocatorILm64EEELb1ELb0EEnwEm(i64 noundef) local_unnamed_addr #4 align 2

declare void @_ZN7randomx10CompiledVmINS_16AlignedAllocatorILm64EEELb1ELb0EEC1Ev(ptr noundef nonnull align 64 dereferenceable(2744)) unnamed_addr #7

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN7randomx10CompiledVmINS_16AlignedAllocatorILm64EEELb1ELb0EEdlEPv(ptr noundef) local_unnamed_addr #6 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN7randomx18InterpretedLightVmINS_16AlignedAllocatorILm64EEELb0EEnwEm(i64 noundef) local_unnamed_addr #4 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN7randomx13InterpretedVmINS_16AlignedAllocatorILm64EEELb0EEnwEm(i64 noundef) local_unnamed_addr #4 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN7randomx15CompiledLightVmINS_16AlignedAllocatorILm64EEELb0ELb1EEnwEm(i64 noundef) local_unnamed_addr #4 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN7randomx15CompiledLightVmINS_16AlignedAllocatorILm64EEELb0ELb1EEC2Ev(ptr noundef nonnull align 64 dereferenceable(2744)) unnamed_addr #5 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN7randomx15CompiledLightVmINS_16AlignedAllocatorILm64EEELb0ELb1EEdlEPv(ptr noundef) local_unnamed_addr #6 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN7randomx15CompiledLightVmINS_16AlignedAllocatorILm64EEELb0ELb0EEnwEm(i64 noundef) local_unnamed_addr #4 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN7randomx15CompiledLightVmINS_16AlignedAllocatorILm64EEELb0ELb0EEC2Ev(ptr noundef nonnull align 64 dereferenceable(2744)) unnamed_addr #5 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN7randomx15CompiledLightVmINS_16AlignedAllocatorILm64EEELb0ELb0EEdlEPv(ptr noundef) local_unnamed_addr #6 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN7randomx10CompiledVmINS_16AlignedAllocatorILm64EEELb0ELb1EEnwEm(i64 noundef) local_unnamed_addr #4 align 2

declare void @_ZN7randomx10CompiledVmINS_16AlignedAllocatorILm64EEELb0ELb1EEC1Ev(ptr noundef nonnull align 64 dereferenceable(2744)) unnamed_addr #7

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN7randomx10CompiledVmINS_16AlignedAllocatorILm64EEELb0ELb1EEdlEPv(ptr noundef) local_unnamed_addr #6 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN7randomx10CompiledVmINS_16AlignedAllocatorILm64EEELb0ELb0EEnwEm(i64 noundef) local_unnamed_addr #4 align 2

declare void @_ZN7randomx10CompiledVmINS_16AlignedAllocatorILm64EEELb0ELb0EEC1Ev(ptr noundef nonnull align 64 dereferenceable(2744)) unnamed_addr #7

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN7randomx10CompiledVmINS_16AlignedAllocatorILm64EEELb0ELb0EEdlEPv(ptr noundef) local_unnamed_addr #6 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN7randomx18InterpretedLightVmINS_18LargePageAllocatorELb1EEnwEm(i64 noundef) local_unnamed_addr #4 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN7randomx13InterpretedVmINS_18LargePageAllocatorELb1EEnwEm(i64 noundef) local_unnamed_addr #4 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN7randomx15CompiledLightVmINS_18LargePageAllocatorELb1ELb1EEnwEm(i64 noundef) local_unnamed_addr #4 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN7randomx15CompiledLightVmINS_18LargePageAllocatorELb1ELb1EEC2Ev(ptr noundef nonnull align 64 dereferenceable(2744)) unnamed_addr #5 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN7randomx15CompiledLightVmINS_18LargePageAllocatorELb1ELb1EEdlEPv(ptr noundef) local_unnamed_addr #6 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN7randomx15CompiledLightVmINS_18LargePageAllocatorELb1ELb0EEnwEm(i64 noundef) local_unnamed_addr #4 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN7randomx15CompiledLightVmINS_18LargePageAllocatorELb1ELb0EEC2Ev(ptr noundef nonnull align 64 dereferenceable(2744)) unnamed_addr #5 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN7randomx15CompiledLightVmINS_18LargePageAllocatorELb1ELb0EEdlEPv(ptr noundef) local_unnamed_addr #6 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN7randomx10CompiledVmINS_18LargePageAllocatorELb1ELb1EEnwEm(i64 noundef) local_unnamed_addr #4 align 2

declare void @_ZN7randomx10CompiledVmINS_18LargePageAllocatorELb1ELb1EEC1Ev(ptr noundef nonnull align 64 dereferenceable(2744)) unnamed_addr #7

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN7randomx10CompiledVmINS_18LargePageAllocatorELb1ELb1EEdlEPv(ptr noundef) local_unnamed_addr #6 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN7randomx10CompiledVmINS_18LargePageAllocatorELb1ELb0EEnwEm(i64 noundef) local_unnamed_addr #4 align 2

declare void @_ZN7randomx10CompiledVmINS_18LargePageAllocatorELb1ELb0EEC1Ev(ptr noundef nonnull align 64 dereferenceable(2744)) unnamed_addr #7

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN7randomx10CompiledVmINS_18LargePageAllocatorELb1ELb0EEdlEPv(ptr noundef) local_unnamed_addr #6 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN7randomx18InterpretedLightVmINS_18LargePageAllocatorELb0EEnwEm(i64 noundef) local_unnamed_addr #4 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN7randomx13InterpretedVmINS_18LargePageAllocatorELb0EEnwEm(i64 noundef) local_unnamed_addr #4 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN7randomx15CompiledLightVmINS_18LargePageAllocatorELb0ELb1EEnwEm(i64 noundef) local_unnamed_addr #4 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN7randomx15CompiledLightVmINS_18LargePageAllocatorELb0ELb1EEC2Ev(ptr noundef nonnull align 64 dereferenceable(2744)) unnamed_addr #5 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN7randomx15CompiledLightVmINS_18LargePageAllocatorELb0ELb1EEdlEPv(ptr noundef) local_unnamed_addr #6 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN7randomx15CompiledLightVmINS_18LargePageAllocatorELb0ELb0EEnwEm(i64 noundef) local_unnamed_addr #4 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN7randomx15CompiledLightVmINS_18LargePageAllocatorELb0ELb0EEC2Ev(ptr noundef nonnull align 64 dereferenceable(2744)) unnamed_addr #5 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN7randomx15CompiledLightVmINS_18LargePageAllocatorELb0ELb0EEdlEPv(ptr noundef) local_unnamed_addr #6 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN7randomx10CompiledVmINS_18LargePageAllocatorELb0ELb1EEnwEm(i64 noundef) local_unnamed_addr #4 align 2

declare void @_ZN7randomx10CompiledVmINS_18LargePageAllocatorELb0ELb1EEC1Ev(ptr noundef nonnull align 64 dereferenceable(2744)) unnamed_addr #7

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN7randomx10CompiledVmINS_18LargePageAllocatorELb0ELb1EEdlEPv(ptr noundef) local_unnamed_addr #6 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN7randomx10CompiledVmINS_18LargePageAllocatorELb0ELb0EEnwEm(i64 noundef) local_unnamed_addr #4 align 2

declare void @_ZN7randomx10CompiledVmINS_18LargePageAllocatorELb0ELb0EEC1Ev(ptr noundef nonnull align 64 dereferenceable(2744)) unnamed_addr #7

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN7randomx10CompiledVmINS_18LargePageAllocatorELb0ELb0EEdlEPv(ptr noundef) local_unnamed_addr #6 align 2

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"vtable pointer", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}


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