; LLVM IR from dynexcoin/Dynex :: src/WalletLegacy (WalletTransactionSender)

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

%"class.std::vector.123" = type { %"struct.std::_Vector_base.124" }
%"struct.std::_Vector_base.124" = 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::vector.170" = type { %"struct.std::_Vector_base.171" }
%"struct.std::_Vector_base.171" = type { %"struct.std::_Vector_base<DynexCN::TransactionOutputInformation, std::allocator<DynexCN::TransactionOutputInformation>>::_Vector_impl" }
%"struct.std::_Vector_base<DynexCN::TransactionOutputInformation, std::allocator<DynexCN::TransactionOutputInformation>>::_Vector_impl" = type { %"struct.std::_Vector_base<DynexCN::TransactionOutputInformation, std::allocator<DynexCN::TransactionOutputInformation>>::_Vector_impl_data" }
%"struct.std::_Vector_base<DynexCN::TransactionOutputInformation, std::allocator<DynexCN::TransactionOutputInformation>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::linear_congruential_engine" = type { i64 }
%"class.DynexCN::WalletTransactionSender" = type { ptr, %"struct.DynexCN::AccountKeys", ptr, i64, i8, ptr }
%"struct.DynexCN::AccountKeys" = type { %"struct.DynexCN::AccountPublicAddress", %"struct.Crypto::SecretKey", %"struct.Crypto::SecretKey" }
%"struct.DynexCN::AccountPublicAddress" = type { %"struct.Crypto::PublicKey", %"struct.Crypto::PublicKey" }
%"struct.Crypto::PublicKey" = type { [32 x i8] }
%"struct.Crypto::SecretKey" = type { [32 x i8] }
%"struct.DynexCN::TransactionOutputInformation" = type { i8, i64, i32, i32, %"struct.Crypto::Hash", %"struct.Crypto::PublicKey", %union.anon.122 }
%"struct.Crypto::Hash" = type { [32 x i8] }
%union.anon.122 = type { i32, [28 x i8] }

; 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: mustprogress uwtable
define dso_local noundef i64 @_ZN7DynexCN23WalletTransactionSender21selectTransfersToSendEmbmRNSt7__cxx114listINS_28TransactionOutputInformationESaIS3_EEE(ptr noundef nonnull align 8 dereferenceable(168) %0, i64 noundef %1, i1 noundef zeroext %2, i64 noundef %3, ptr noundef nonnull align 8 dereferenceable(24) %4) #1 align 2 personality ptr @__gxx_personality_v0 {
  %6 = alloca ptr, align 8
  %7 = alloca i64, align 8
  %8 = alloca i8, align 1
  %9 = alloca i64, align 8
  %10 = alloca ptr, align 8
  %11 = alloca %"class.std::vector.123", align 8
  %12 = alloca %"class.std::vector.123", align 8
  %13 = alloca %"class.std::vector.123", align 8
  %14 = alloca %"class.std::vector.170", align 8
  %15 = alloca ptr, align 8
  %16 = alloca i32, align 4
  %17 = alloca i64, align 8
  %18 = alloca ptr, align 8
  %19 = alloca %"class.std::linear_congruential_engine", align 8
  %20 = alloca i8, align 1
  %21 = alloca i64, align 8
  %22 = alloca i64, align 8
  store ptr %0, ptr %6, align 8, !tbaa !5
  store i64 %1, ptr %7, align 8, !tbaa !9
  %23 = zext i1 %2 to i8
  store i8 %23, ptr %8, align 1, !tbaa !11
  store i64 %3, ptr %9, align 8, !tbaa !9
  store ptr %4, ptr %10, align 8, !tbaa !5
  %24 = load ptr, ptr %6, align 8
  call void @llvm.lifetime.start.p0(i64 24, ptr %11) #4
  call void @_ZNSt6vectorImSaImEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #4
  call void @llvm.lifetime.start.p0(i64 24, ptr %12) #4
  call void @_ZNSt6vectorImSaImEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #4
  call void @llvm.lifetime.start.p0(i64 24, ptr %13) #4
  call void @_ZNSt6vectorImSaImEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %13) #4
  call void @llvm.lifetime.start.p0(i64 24, ptr %14) #4
  call void @_ZNSt6vectorIN7DynexCN28TransactionOutputInformationESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %14) #4
  %25 = getelementptr inbounds %"class.DynexCN::WalletTransactionSender", ptr %24, i32 0, i32 5
  %26 = load ptr, ptr %25, align 8, !tbaa !13
  %27 = load ptr, ptr %26, align 8, !tbaa !19
  %28 = getelementptr inbounds ptr, ptr %27, i64 5
  %29 = load ptr, ptr %28, align 8
  invoke void %29(ptr noundef nonnull align 8 dereferenceable(8) %26, ptr noundef nonnull align 8 dereferenceable(24) %14, i32 noundef 257)
          to label %30 unwind label %36

30:                                               ; preds = %5
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #4
  store i64 0, ptr %17, align 8, !tbaa !9
  br label %31

31:                                               ; preds = %73, %30
  %32 = load i64, ptr %17, align 8, !tbaa !9
  %33 = call noundef i64 @_ZNKSt6vectorIN7DynexCN28TransactionOutputInformationESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %14) #4
  %34 = icmp ult i64 %32, %33
  br i1 %34, label %40, label %35

35:                                               ; preds = %31
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #4
  br label %76

36:                                               ; preds = %5
  %37 = landingpad { ptr, i32 }
          cleanup
  %38 = extractvalue { ptr, i32 } %37, 0
  store ptr %38, ptr %15, align 8
  %39 = extractvalue { ptr, i32 } %37, 1
  store i32 %39, ptr %16, align 4
  br label %158

40:                                               ; preds = %31
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #4
  %41 = load i64, ptr %17, align 8, !tbaa !9
  %42 = call noundef nonnull align 8 dereferenceable(120) ptr @_ZNSt6vectorIN7DynexCN28TransactionOutputInformationESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %14, i64 noundef %41) #4
  store ptr %42, ptr %18, align 8, !tbaa !5
  %43 = getelementptr inbounds %"class.DynexCN::WalletTransactionSender", ptr %24, i32 0, i32 2
  %44 = load ptr, ptr %43, align 8, !tbaa !21
  %45 = load ptr, ptr %18, align 8, !tbaa !5
  %46 = invoke noundef zeroext i1 @_ZNK7DynexCN27WalletUserTransactionsCache6isUsedERKNS_28TransactionOutputInformationE(ptr noundef nonnull align 8 dereferenceable(224) %44, ptr noundef nonnull align 8 dereferenceable(120) %45)
          to label %47 unwind label %62

47:                                               ; preds = %40
  br i1 %46, label %72, label %48

48:                                               ; preds = %47
  %49 = load ptr, ptr %18, align 8, !tbaa !5
  %50 = getelementptr inbounds %"struct.DynexCN::TransactionOutputInformation", ptr %49, i32 0, i32 1
  %51 = load i64, ptr %50, align 8, !tbaa !22
  %52 = invoke noundef zeroext i1 @_ZN7DynexCN26is_valid_decomposed_amountEm(i64 noundef %51)
          to label %53 unwind label %62

53:                                               ; preds = %48
  br i1 %52, label %54, label %69

54:                                               ; preds = %53
  %55 = load i64, ptr %9, align 8, !tbaa !9
  %56 = load ptr, ptr %18, align 8, !tbaa !5
  %57 = getelementptr inbounds %"struct.DynexCN::TransactionOutputInformation", ptr %56, i32 0, i32 1
  %58 = load i64, ptr %57, align 8, !tbaa !22
  %59 = icmp ult i64 %55, %58
  br i1 %59, label %60, label %66

60:                                               ; preds = %54
  invoke void @_ZNSt6vectorImSaImEE9push_backERKm(ptr noundef nonnull align 8 dereferenceable(24) %11, ptr noundef nonnull align 8 dereferenceable(8) %17)
          to label %61 unwind label %62

61:                                               ; preds = %60
  br label %68

62:                                               ; preds = %69, %66, %60, %48, %40
  %63 = landingpad { ptr, i32 }
          cleanup
  %64 = extractvalue { ptr, i32 } %63, 0
  store ptr %64, ptr %15, align 8
  %65 = extractvalue { ptr, i32 } %63, 1
  store i32 %65, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #4
  br label %158

66:                                               ; preds = %54
  invoke void @_ZNSt6vectorImSaImEE9push_backERKm(ptr noundef nonnull align 8 dereferenceable(24) %12, ptr noundef nonnull align 8 dereferenceable(8) %17)
          to label %67 unwind label %62

67:                                               ; preds = %66
  br label %68

68:                                               ; preds = %67, %61
  br label %71

69:                                               ; preds = %53
  invoke void @_ZNSt6vectorImSaImEE9push_backERKm(ptr noundef nonnull align 8 dereferenceable(24) %13, ptr noundef nonnull align 8 dereferenceable(8) %17)
          to label %70 unwind label %62

70:                                               ; preds = %69
  br label %71

71:                                               ; preds = %70, %68
  br label %72

72:                                               ; preds = %71, %47
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #4
  br label %73

73:                                               ; preds = %72
  %74 = load i64, ptr %17, align 8, !tbaa !9
  %75 = add i64 %74, 1
  store i64 %75, ptr %17, align 8, !tbaa !9
  br label %31, !llvm.loop !27

76:                                               ; preds = %35
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #4
  %77 = invoke noundef i64 @_ZN6Crypto4randImEENSt9enable_ifIXsr3std6is_podIT_EE5valueES2_E4typeEv()
          to label %78 unwind label %94

78:                                               ; preds = %76
  invoke void @_ZNSt26linear_congruential_engineImLm16807ELm0ELm2147483647EEC2Em(ptr noundef nonnull align 8 dereferenceable(8) %19, i64 noundef %77)
          to label %79 unwind label %94

79:                                               ; preds = %78
  call void @llvm.lifetime.start.p0(i64 1, ptr %20) #4
  %80 = load i8, ptr %8, align 1, !tbaa !11, !range !29, !noundef !30
  %81 = trunc i8 %80 to i1
  br i1 %81, label %82, label %85

82:                                               ; preds = %79
  %83 = call noundef zeroext i1 @_ZNKSt6vectorImSaImEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %13) #4
  %84 = xor i1 %83, true
  br label %85

85:                                               ; preds = %82, %79
  %86 = phi i1 [ false, %79 ], [ %84, %82 ]
  %87 = zext i1 %86 to i8
  store i8 %87, ptr %20, align 1, !tbaa !11
  %88 = call noundef zeroext i1 @_ZNKSt6vectorImSaImEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %11) #4
  br i1 %88, label %89, label %98

89:                                               ; preds = %85
  %90 = call noundef zeroext i1 @_ZNKSt6vectorImSaImEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %12) #4
  br i1 %90, label %91, label %98

91:                                               ; preds = %89
  %92 = call noundef zeroext i1 @_ZNKSt6vectorImSaImEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %13) #4
  br i1 %92, label %98, label %93

93:                                               ; preds = %91
  store i8 1, ptr %20, align 1, !tbaa !11
  br label %98

94:                                               ; preds = %78, %76
  %95 = landingpad { ptr, i32 }
          cleanup
  %96 = extractvalue { ptr, i32 } %95, 0
  store ptr %96, ptr %15, align 8
  %97 = extractvalue { ptr, i32 } %95, 1
  store i32 %97, ptr %16, align 4
  br label %157

98:                                               ; preds = %93, %91, %89, %85
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #4
  store i64 0, ptr %21, align 8, !tbaa !9
  store i8 0, ptr %20, align 1, !tbaa !11
  br label %99

99:                                               ; preds = %148, %98
  %100 = load i64, ptr %21, align 8, !tbaa !9
  %101 = load i64, ptr %7, align 8, !tbaa !9
  %102 = icmp ult i64 %100, %101
  br i1 %102, label %103, label %112

103:                                              ; preds = %99
  %104 = call noundef zeroext i1 @_ZNKSt6vectorImSaImEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %11) #4
  br i1 %104, label %105, label %110

105:                                              ; preds = %103
  %106 = call noundef zeroext i1 @_ZNKSt6vectorImSaImEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %12) #4
  br i1 %106, label %107, label %110

107:                                              ; preds = %105
  %108 = call noundef zeroext i1 @_ZNKSt6vectorImSaImEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %13) #4
  %109 = xor i1 %108, true
  br label %110

110:                                              ; preds = %107, %105, %103
  %111 = phi i1 [ true, %105 ], [ true, %103 ], [ %109, %107 ]
  br label %112

112:                                              ; preds = %110, %99
  %113 = phi i1 [ false, %99 ], [ %111, %110 ]
  br i1 %113, label %114, label %155

114:                                              ; preds = %112
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #4
  %115 = load i8, ptr %20, align 1, !tbaa !11, !range !29, !noundef !30
  %116 = trunc i8 %115 to i1
  br i1 %116, label %117, label %124

117:                                              ; preds = %114
  %118 = invoke noundef i64 @_ZN7DynexCN12_GLOBAL__N_114popRandomValueISt26linear_congruential_engineImLm16807ELm0ELm2147483647EEmEET0_RT_RSt6vectorIS4_SaIS4_EE(ptr noundef nonnull align 8 dereferenceable(8) %19, ptr noundef nonnull align 8 dereferenceable(24) %13)
          to label %119 unwind label %120

119:                                              ; preds = %117
  store i64 %118, ptr %22, align 8, !tbaa !9
  store i8 0, ptr %20, align 1, !tbaa !11
  br label %144

120:                                              ; preds = %144, %138, %135, %130, %117
  %121 = landingpad { ptr, i32 }
          cleanup
  %122 = extractvalue { ptr, i32 } %121, 0
  store ptr %122, ptr %15, align 8
  %123 = extractvalue { ptr, i32 } %121, 1
  store i32 %123, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr %20) #4
  br label %157

124:                                              ; preds = %114
  %125 = call noundef zeroext i1 @_ZNKSt6vectorImSaImEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %11) #4
  br i1 %125, label %126, label %133

126:                                              ; preds = %124
  %127 = call noundef zeroext i1 @_ZNKSt6vectorImSaImEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %12) #4
  br i1 %127, label %128, label %133

128:                                              ; preds = %126
  %129 = call noundef zeroext i1 @_ZNKSt6vectorImSaImEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %13) #4
  br i1 %129, label %133, label %130

130:                                              ; preds = %128
  %131 = invoke noundef i64 @_ZN7DynexCN12_GLOBAL__N_114popRandomValueISt26linear_congruential_engineImLm16807ELm0ELm2147483647EEmEET0_RT_RSt6vectorIS4_SaIS4_EE(ptr noundef nonnull align 8 dereferenceable(8) %19, ptr noundef nonnull align 8 dereferenceable(24) %13)
          to label %132 unwind label %120

132:                                              ; preds = %130
  store i64 %131, ptr %22, align 8, !tbaa !9
  br label %143

133:                                              ; preds = %128, %126, %124
  %134 = call noundef zeroext i1 @_ZNKSt6vectorImSaImEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %11) #4
  br i1 %134, label %138, label %135

135:                                              ; preds = %133
  %136 = invoke noundef i64 @_ZN7DynexCN12_GLOBAL__N_114popRandomValueISt26linear_congruential_engineImLm16807ELm0ELm2147483647EEmEET0_RT_RSt6vectorIS4_SaIS4_EE(ptr noundef nonnull align 8 dereferenceable(8) %19, ptr noundef nonnull align 8 dereferenceable(24) %11)
          to label %137 unwind label %120

137:                                              ; preds = %135
  br label %141

138:                                              ; preds = %133
  %139 = invoke noundef i64 @_ZN7DynexCN12_GLOBAL__N_114popRandomValueISt26linear_congruential_engineImLm16807ELm0ELm2147483647EEmEET0_RT_RSt6vectorIS4_SaIS4_EE(ptr noundef nonnull align 8 dereferenceable(8) %19, ptr noundef nonnull align 8 dereferenceable(24) %12)
          to label %140 unwind label %120

140:                                              ; preds = %138
  br label %141

141:                                              ; preds = %140, %137
  %142 = phi i64 [ %136, %137 ], [ %139, %140 ]
  store i64 %142, ptr %22, align 8, !tbaa !9
  br label %143

143:                                              ; preds = %141, %132
  br label %144

144:                                              ; preds = %143, %119
  %145 = load ptr, ptr %10, align 8, !tbaa !5
  %146 = load i64, ptr %22, align 8, !tbaa !9
  %147 = call noundef nonnull align 8 dereferenceable(120) ptr @_ZNSt6vectorIN7DynexCN28TransactionOutputInformationESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %14, i64 noundef %146) #4
  invoke void @_ZNSt7__cxx114listIN7DynexCN28TransactionOutputInformationESaIS2_EE9push_backERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %145, ptr noundef nonnull align 8 dereferenceable(120) %147)
          to label %148 unwind label %120

148:                                              ; preds = %144
  %149 = load i64, ptr %22, align 8, !tbaa !9
  %150 = call noundef nonnull align 8 dereferenceable(120) ptr @_ZNSt6vectorIN7DynexCN28TransactionOutputInformationESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %14, i64 noundef %149) #4
  %151 = getelementptr inbounds %"struct.DynexCN::TransactionOutputInformation", ptr %150, i32 0, i32 1
  %152 = load i64, ptr %151, align 8, !tbaa !22
  %153 = load i64, ptr %21, align 8, !tbaa !9
  %154 = add i64 %153, %152
  store i64 %154, ptr %21, align 8, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #4
  br label %99, !llvm.loop !31

155:                                              ; preds = %112
  %156 = load i64, ptr %21, align 8, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr %20) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #4
  call void @_ZNSt6vectorIN7DynexCN28TransactionOutputInformationESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %14) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr %14) #4
  call void @_ZNSt6vectorImSaImEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %13) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr %13) #4
  call void @_ZNSt6vectorImSaImEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr %12) #4
  call void @_ZNSt6vectorImSaImEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr %11) #4
  ret i64 %156

157:                                              ; preds = %120, %94
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #4
  br label %158

158:                                              ; preds = %157, %62, %36
  call void @_ZNSt6vectorIN7DynexCN28TransactionOutputInformationESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %14) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr %14) #4
  call void @_ZNSt6vectorImSaImEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %13) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr %13) #4
  call void @_ZNSt6vectorImSaImEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr %12) #4
  call void @_ZNSt6vectorImSaImEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr %11) #4
  br label %159

159:                                              ; preds = %158
  %160 = load ptr, ptr %15, align 8
  %161 = load i32, ptr %16, align 4
  %162 = insertvalue { ptr, i32 } poison, ptr %160, 0
  %163 = insertvalue { ptr, i32 } %162, i32 %161, 1
  resume { ptr, i32 } %163
}

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

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

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

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

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

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

declare noundef zeroext i1 @_ZNK7DynexCN27WalletUserTransactionsCache6isUsedERKNS_28TransactionOutputInformationE(ptr noundef nonnull align 8 dereferenceable(224), ptr noundef nonnull align 8 dereferenceable(120)) #3

declare noundef zeroext i1 @_ZN7DynexCN26is_valid_decomposed_amountEm(i64 noundef) #3

; Function Attrs: mustprogress uwtable
declare dso_local noundef i64 @_ZN6Crypto4randImEENSt9enable_ifIXsr3std6is_podIT_EE5valueES2_E4typeEv() #1

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

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

; Function Attrs: mustprogress uwtable
declare hidden noundef i64 @_ZN7DynexCN12_GLOBAL__N_114popRandomValueISt26linear_congruential_engineImLm16807ELm0ELm2147483647EEmEET0_RT_RSt6vectorIS4_SaIS4_EE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(24)) #1

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

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"long", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"bool", !7, i64 0}
!13 = !{!14, !6, i64 160}
!14 = !{!"_ZTSN7DynexCN23WalletTransactionSenderE", !6, i64 0, !15, i64 8, !6, i64 136, !10, i64 144, !12, i64 152, !6, i64 160}
!15 = !{!"_ZTSN7DynexCN11AccountKeysE", !16, i64 0, !18, i64 64, !18, i64 96}
!16 = !{!"_ZTSN7DynexCN20AccountPublicAddressE", !17, i64 0, !17, i64 32}
!17 = !{!"_ZTSN6Crypto9PublicKeyE", !7, i64 0}
!18 = !{!"_ZTSN6Crypto9SecretKeyE", !7, i64 0}
!19 = !{!20, !20, i64 0}
!20 = !{!"vtable pointer", !8, i64 0}
!21 = !{!14, !6, i64 136}
!22 = !{!23, !10, i64 8}
!23 = !{!"_ZTSN7DynexCN28TransactionOutputInformationE", !24, i64 0, !10, i64 8, !25, i64 16, !25, i64 20, !26, i64 24, !17, i64 56, !7, i64 88}
!24 = !{!"_ZTSN7DynexCN16TransactionTypes10OutputTypeE", !7, i64 0}
!25 = !{!"int", !7, i64 0}
!26 = !{!"_ZTSN6Crypto4HashE", !7, i64 0}
!27 = distinct !{!27, !28}
!28 = !{!"llvm.loop.mustprogress"}
!29 = !{i8 0, i8 2}
!30 = !{}
!31 = distinct !{!31, !28}


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

%"class.std::vector.123" = type { %"struct.std::_Vector_base.124" }
%"struct.std::_Vector_base.124" = 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::vector.170" = type { %"struct.std::_Vector_base.171" }
%"struct.std::_Vector_base.171" = type { %"struct.std::_Vector_base<DynexCN::TransactionOutputInformation, std::allocator<DynexCN::TransactionOutputInformation>>::_Vector_impl" }
%"struct.std::_Vector_base<DynexCN::TransactionOutputInformation, std::allocator<DynexCN::TransactionOutputInformation>>::_Vector_impl" = type { %"struct.std::_Vector_base<DynexCN::TransactionOutputInformation, std::allocator<DynexCN::TransactionOutputInformation>>::_Vector_impl_data" }
%"struct.std::_Vector_base<DynexCN::TransactionOutputInformation, std::allocator<DynexCN::TransactionOutputInformation>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::linear_congruential_engine" = type { i64 }

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

; Function Attrs: mustprogress 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: mustprogress uwtable
define dso_local noundef i64 @_ZN7DynexCN23WalletTransactionSender21selectTransfersToSendEmbmRNSt7__cxx114listINS_28TransactionOutputInformationESaIS3_EEE(ptr nocapture noundef nonnull readonly align 8 dereferenceable(168) %0, i64 noundef %1, i1 noundef zeroext %2, i64 noundef %3, ptr noundef nonnull align 8 dereferenceable(24) %4) local_unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 {
  %6 = alloca %"class.std::vector.123", align 8
  %7 = alloca %"class.std::vector.123", align 8
  %8 = alloca %"class.std::vector.123", align 8
  %9 = alloca %"class.std::vector.170", align 8
  %10 = alloca i64, align 8
  %11 = alloca %"class.std::linear_congruential_engine", align 8
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %6) #4
  call void @_ZNSt6vectorImSaImEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #4
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %7) #4
  call void @_ZNSt6vectorImSaImEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #4
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %8) #4
  call void @_ZNSt6vectorImSaImEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #4
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %9) #4
  call void @_ZNSt6vectorIN7DynexCN28TransactionOutputInformationESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #4
  %12 = getelementptr inbounds i8, ptr %0, i64 160
  %13 = load ptr, ptr %12, align 8, !tbaa !5
  %14 = load ptr, ptr %13, align 8, !tbaa !16
  %15 = getelementptr inbounds i8, ptr %14, i64 40
  %16 = load ptr, ptr %15, align 8
  invoke void %16(ptr noundef nonnull align 8 dereferenceable(8) %13, ptr noundef nonnull align 8 dereferenceable(24) %9, i32 noundef 257)
          to label %17 unwind label %21

17:                                               ; preds = %5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #4
  store i64 0, ptr %10, align 8, !tbaa !18
  %18 = call noundef i64 @_ZNKSt6vectorIN7DynexCN28TransactionOutputInformationESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %9) #4
  %.not = icmp eq i64 %18, 0
  br i1 %.not, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %17
  %19 = getelementptr inbounds i8, ptr %0, i64 136
  br label %23

._crit_edge:                                      ; preds = %38, %17
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #4
  %20 = invoke noundef i64 @_ZN6Crypto4randImEENSt9enable_ifIXsr3std6is_podIT_EE5valueES2_E4typeEv()
          to label %43 unwind label %53

21:                                               ; preds = %5
  %22 = landingpad { ptr, i32 }
          cleanup
  br label %81

23:                                               ; preds = %.lr.ph, %38
  %24 = load i64, ptr %10, align 8, !tbaa !18
  %25 = call noundef nonnull align 8 dereferenceable(120) ptr @_ZNSt6vectorIN7DynexCN28TransactionOutputInformationESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef %24) #4
  %26 = load ptr, ptr %19, align 8, !tbaa !19
  %27 = invoke noundef zeroext i1 @_ZNK7DynexCN27WalletUserTransactionsCache6isUsedERKNS_28TransactionOutputInformationE(ptr noundef nonnull align 8 dereferenceable(224) %26, ptr noundef nonnull align 8 dereferenceable(120) %25)
          to label %28 unwind label %36

28:                                               ; preds = %23
  br i1 %27, label %38, label %29

29:                                               ; preds = %28
  %30 = getelementptr inbounds i8, ptr %25, i64 8
  %31 = load i64, ptr %30, align 8, !tbaa !20
  %32 = invoke noundef zeroext i1 @_ZN7DynexCN26is_valid_decomposed_amountEm(i64 noundef %31)
          to label %.invoke unwind label %36

.invoke:                                          ; preds = %29
  %33 = load i64, ptr %30, align 8
  %34 = icmp ugt i64 %33, %3
  %spec.select = select i1 %34, ptr %6, ptr %7
  %35 = select i1 %32, ptr %spec.select, ptr %8
  invoke void @_ZNSt6vectorImSaImEE9push_backERKm(ptr noundef nonnull align 8 dereferenceable(24) %35, ptr noundef nonnull align 8 dereferenceable(8) %10)
          to label %38 unwind label %36

36:                                               ; preds = %.invoke, %29, %23
  %37 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #4
  br label %81

38:                                               ; preds = %.invoke, %28
  %39 = load i64, ptr %10, align 8, !tbaa !18
  %40 = add i64 %39, 1
  store i64 %40, ptr %10, align 8, !tbaa !18
  %41 = call noundef i64 @_ZNKSt6vectorIN7DynexCN28TransactionOutputInformationESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %9) #4
  %42 = icmp ult i64 %40, %41
  br i1 %42, label %23, label %._crit_edge, !llvm.loop !25

43:                                               ; preds = %._crit_edge
  invoke void @_ZNSt26linear_congruential_engineImLm16807ELm0ELm2147483647EEC2Em(ptr noundef nonnull align 8 dereferenceable(8) %11, i64 noundef %20)
          to label %44 unwind label %53

44:                                               ; preds = %43
  br i1 %2, label %45, label %47

45:                                               ; preds = %44
  %46 = call noundef zeroext i1 @_ZNKSt6vectorImSaImEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %8) #4
  br label %47

47:                                               ; preds = %45, %44
  %48 = call noundef zeroext i1 @_ZNKSt6vectorImSaImEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %6) #4
  br i1 %48, label %49, label %55

49:                                               ; preds = %47
  %50 = call noundef zeroext i1 @_ZNKSt6vectorImSaImEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %7) #4
  br i1 %50, label %51, label %55

51:                                               ; preds = %49
  %52 = call noundef zeroext i1 @_ZNKSt6vectorImSaImEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %8) #4
  br label %55

53:                                               ; preds = %43, %._crit_edge
  %54 = landingpad { ptr, i32 }
          cleanup
  br label %80

55:                                               ; preds = %51, %49, %47
  %.not32 = icmp eq i64 %1, 0
  br i1 %.not32, label %.critedge, label %.lr.ph29

.lr.ph29:                                         ; preds = %55, %74
  %.01727 = phi i64 [ %78, %74 ], [ 0, %55 ]
  %56 = call noundef zeroext i1 @_ZNKSt6vectorImSaImEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %6) #4
  br i1 %56, label %57, label %.critedge2

57:                                               ; preds = %.lr.ph29
  %58 = call noundef zeroext i1 @_ZNKSt6vectorImSaImEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %7) #4
  br i1 %58, label %59, label %.critedge2

59:                                               ; preds = %57
  %60 = call noundef zeroext i1 @_ZNKSt6vectorImSaImEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %8) #4
  br i1 %60, label %.critedge, label %.critedge2

61:                                               ; preds = %.invoke33, %72
  %62 = landingpad { ptr, i32 }
          cleanup
  br label %80

.critedge2:                                       ; preds = %59, %.lr.ph29, %57
  %63 = call noundef zeroext i1 @_ZNKSt6vectorImSaImEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %6) #4
  br i1 %63, label %64, label %68

64:                                               ; preds = %.critedge2
  %65 = call noundef zeroext i1 @_ZNKSt6vectorImSaImEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %7) #4
  br i1 %65, label %66, label %68

66:                                               ; preds = %64
  %67 = call noundef zeroext i1 @_ZNKSt6vectorImSaImEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %8) #4
  br i1 %67, label %68, label %.invoke33

68:                                               ; preds = %66, %64, %.critedge2
  %69 = call noundef zeroext i1 @_ZNKSt6vectorImSaImEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %6) #4
  %. = select i1 %69, ptr %7, ptr %6
  br label %.invoke33

.invoke33:                                        ; preds = %68, %66
  %70 = phi ptr [ %8, %66 ], [ %., %68 ]
  %71 = invoke noundef i64 @_ZN7DynexCN12_GLOBAL__N_114popRandomValueISt26linear_congruential_engineImLm16807ELm0ELm2147483647EEmEET0_RT_RSt6vectorIS4_SaIS4_EE(ptr noundef nonnull align 8 dereferenceable(8) %11, ptr noundef nonnull align 8 dereferenceable(24) %70)
          to label %72 unwind label %61

72:                                               ; preds = %.invoke33
  %73 = call noundef nonnull align 8 dereferenceable(120) ptr @_ZNSt6vectorIN7DynexCN28TransactionOutputInformationESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef %71) #4
  invoke void @_ZNSt7__cxx114listIN7DynexCN28TransactionOutputInformationESaIS2_EE9push_backERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %4, ptr noundef nonnull align 8 dereferenceable(120) %73)
          to label %74 unwind label %61

74:                                               ; preds = %72
  %75 = call noundef nonnull align 8 dereferenceable(120) ptr @_ZNSt6vectorIN7DynexCN28TransactionOutputInformationESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef %71) #4
  %76 = getelementptr inbounds i8, ptr %75, i64 8
  %77 = load i64, ptr %76, align 8, !tbaa !20
  %78 = add i64 %77, %.01727
  %79 = icmp ult i64 %78, %1
  br i1 %79, label %.lr.ph29, label %.critedge, !llvm.loop !27

.critedge:                                        ; preds = %59, %74, %55
  %.017.lcssa = phi i64 [ 0, %55 ], [ %78, %74 ], [ %.01727, %59 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #4
  call void @_ZNSt6vectorIN7DynexCN28TransactionOutputInformationESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %9) #4
  call void @_ZNSt6vectorImSaImEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %8) #4
  call void @_ZNSt6vectorImSaImEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #4
  call void @_ZNSt6vectorImSaImEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #4
  ret i64 %.017.lcssa

80:                                               ; preds = %61, %53
  %.pn = phi { ptr, i32 } [ %62, %61 ], [ %54, %53 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #4
  br label %81

81:                                               ; preds = %80, %36, %21
  %.pn24 = phi { ptr, i32 } [ %37, %36 ], [ %.pn, %80 ], [ %22, %21 ]
  call void @_ZNSt6vectorIN7DynexCN28TransactionOutputInformationESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %9) #4
  call void @_ZNSt6vectorImSaImEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %8) #4
  call void @_ZNSt6vectorImSaImEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #4
  call void @_ZNSt6vectorImSaImEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #4
  resume { ptr, i32 } %.pn24
}

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

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

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

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

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

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

declare noundef zeroext i1 @_ZNK7DynexCN27WalletUserTransactionsCache6isUsedERKNS_28TransactionOutputInformationE(ptr noundef nonnull align 8 dereferenceable(224), ptr noundef nonnull align 8 dereferenceable(120)) local_unnamed_addr #3

declare noundef zeroext i1 @_ZN7DynexCN26is_valid_decomposed_amountEm(i64 noundef) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare dso_local noundef i64 @_ZN6Crypto4randImEENSt9enable_ifIXsr3std6is_podIT_EE5valueES2_E4typeEv() local_unnamed_addr #1

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

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

; Function Attrs: mustprogress uwtable
declare hidden noundef i64 @_ZN7DynexCN12_GLOBAL__N_114popRandomValueISt26linear_congruential_engineImLm16807ELm0ELm2147483647EEmEET0_RT_RSt6vectorIS4_SaIS4_EE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #1

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

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !7, i64 160}
!6 = !{!"_ZTSN7DynexCN23WalletTransactionSenderE", !7, i64 0, !10, i64 8, !7, i64 136, !14, i64 144, !15, i64 152, !7, i64 160}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"_ZTSN7DynexCN11AccountKeysE", !11, i64 0, !13, i64 64, !13, i64 96}
!11 = !{!"_ZTSN7DynexCN20AccountPublicAddressE", !12, i64 0, !12, i64 32}
!12 = !{!"_ZTSN6Crypto9PublicKeyE", !8, i64 0}
!13 = !{!"_ZTSN6Crypto9SecretKeyE", !8, i64 0}
!14 = !{!"long", !8, i64 0}
!15 = !{!"bool", !8, i64 0}
!16 = !{!17, !17, i64 0}
!17 = !{!"vtable pointer", !9, i64 0}
!18 = !{!14, !14, i64 0}
!19 = !{!6, !7, i64 136}
!20 = !{!21, !14, i64 8}
!21 = !{!"_ZTSN7DynexCN28TransactionOutputInformationE", !22, i64 0, !14, i64 8, !23, i64 16, !23, i64 20, !24, i64 24, !12, i64 56, !8, i64 88}
!22 = !{!"_ZTSN7DynexCN16TransactionTypes10OutputTypeE", !8, i64 0}
!23 = !{!"int", !8, i64 0}
!24 = !{!"_ZTSN6Crypto4HashE", !8, i64 0}
!25 = distinct !{!25, !26}
!26 = !{!"llvm.loop.mustprogress"}
!27 = distinct !{!27, !26}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LCSSAPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,ReassociatePass,SROAPass,SimplifyCFGPass