; LLVM IR from dynexcoin/Dynex :: src/GreenWallet (CommandDispatcher)

; 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::basic_ostream" = type { ptr, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }
%"class.std::shared_ptr" = type { %"class.std::__shared_ptr" }
%"class.std::__shared_ptr" = type { ptr, %"class.std::__shared_count" }
%"class.std::__shared_count" = type { ptr }
%class.SuccessMsg = type { %class.ColouredMsg.base, [7 x i8] }
%class.ColouredMsg.base = type <{ %"class.std::__cxx11::basic_string", i8, [3 x i8], i32, i8 }>
%"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] }
%struct.WalletInfo = type { i64, %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", i8, ptr }

@.str.25 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [8 x i8], align 1
@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str.27 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.34 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.35 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.36 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.37 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.38 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.39 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.40 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.41 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.42 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.43 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.44 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.45 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.46 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.47 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.48 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.49 = external hidden unnamed_addr constant [39 x i8], align 1
@_ZTISt13runtime_error = external constant ptr

declare i32 @__gxx_personality_v0(...)

; 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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_Z13handleCommandNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt10shared_ptrI10WalletInfoERN7DynexCN5INodeE(ptr noundef %0, ptr noundef %1, ptr noundef nonnull align 8 dereferenceable(8) %2) #2 personality ptr @__gxx_personality_v0 {
  %4 = alloca i1, align 1
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca %"class.std::shared_ptr", align 8
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca %class.SuccessMsg, align 8
  %12 = alloca %"class.std::__cxx11::basic_string", align 8
  %13 = alloca %"class.std::shared_ptr", align 8
  %14 = alloca %"class.std::shared_ptr", align 8
  %15 = alloca %"class.std::shared_ptr", align 8
  %16 = alloca %"class.std::__cxx11::basic_string", align 8
  %17 = alloca %"class.std::shared_ptr", align 8
  %18 = alloca %"class.std::__cxx11::basic_string", align 8
  %19 = alloca %"class.std::shared_ptr", align 8
  %20 = alloca %"class.std::shared_ptr", align 8
  %21 = alloca %"class.std::shared_ptr", align 8
  %22 = alloca %"class.std::shared_ptr", align 8
  %23 = alloca %"class.std::__cxx11::basic_string", align 8
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  store ptr %2, ptr %7, align 8, !tbaa !5
  %24 = call noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef @.str.25)
  br i1 %24, label %25, label %31

25:                                               ; preds = %3
  call void @_ZNSt10shared_ptrI10WalletInfoEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %8, ptr noundef nonnull align 8 dereferenceable(16) %1) #7
  invoke void @_Z8advancedSt10shared_ptrI10WalletInfoE(ptr noundef %8)
          to label %26 unwind label %27

26:                                               ; preds = %25
  call void @_ZNSt12__shared_ptrI10WalletInfoLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %8) #7
  br label %279

27:                                               ; preds = %25
  %28 = landingpad { ptr, i32 }
          cleanup
  %29 = extractvalue { ptr, i32 } %28, 0
  store ptr %29, ptr %9, align 8
  %30 = extractvalue { ptr, i32 } %28, 1
  store i32 %30, ptr %10, align 4
  call void @_ZNSt12__shared_ptrI10WalletInfoLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %8) #7
  br label %282

31:                                               ; preds = %3
  %32 = call noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef @.str.26)
  br i1 %32, label %33, label %50

33:                                               ; preds = %31
  call void @llvm.lifetime.start.p0(i64 48, ptr %11) #7
  %34 = call noundef ptr @_ZNKSt19__shared_ptr_accessI10WalletInfoLN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %1) #7
  %35 = getelementptr inbounds %struct.WalletInfo, ptr %34, i32 0, i32 3
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %12, ptr noundef nonnull align 8 dereferenceable(32) %35)
  invoke void @_ZN10SuccessMsgC2ENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(41) %11, ptr noundef %12)
          to label %36 unwind label %41

36:                                               ; preds = %33
  %37 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZlsRSoRK11ColouredMsg(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull align 8 dereferenceable(41) %11)
          to label %38 unwind label %45

38:                                               ; preds = %36
  %39 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %37, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %40 unwind label %45

40:                                               ; preds = %38
  call void @_ZN11ColouredMsgD2Ev(ptr noundef nonnull align 8 dereferenceable(41) %11) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %12) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr %11) #7
  br label %278

41:                                               ; preds = %33
  %42 = landingpad { ptr, i32 }
          cleanup
  %43 = extractvalue { ptr, i32 } %42, 0
  store ptr %43, ptr %9, align 8
  %44 = extractvalue { ptr, i32 } %42, 1
  store i32 %44, ptr %10, align 4
  br label %49

45:                                               ; preds = %38, %36
  %46 = landingpad { ptr, i32 }
          cleanup
  %47 = extractvalue { ptr, i32 } %46, 0
  store ptr %47, ptr %9, align 8
  %48 = extractvalue { ptr, i32 } %46, 1
  store i32 %48, ptr %10, align 4
  call void @_ZN11ColouredMsgD2Ev(ptr noundef nonnull align 8 dereferenceable(41) %11) #7
  br label %49

49:                                               ; preds = %45, %41
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %12) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr %11) #7
  br label %282

50:                                               ; preds = %31
  %51 = call noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef @.str.27)
  br i1 %51, label %52, label %61

52:                                               ; preds = %50
  %53 = load ptr, ptr %7, align 8, !tbaa !5
  %54 = call noundef ptr @_ZNKSt19__shared_ptr_accessI10WalletInfoLN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %1) #7
  %55 = getelementptr inbounds %struct.WalletInfo, ptr %54, i32 0, i32 5
  %56 = load ptr, ptr %55, align 8, !tbaa !9
  %57 = call noundef ptr @_ZNKSt19__shared_ptr_accessI10WalletInfoLN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %1) #7
  %58 = getelementptr inbounds %struct.WalletInfo, ptr %57, i32 0, i32 4
  %59 = load i8, ptr %58, align 8, !tbaa !15, !range !16, !noundef !17
  %60 = trunc i8 %59 to i1
  call void @_Z7balanceRN7DynexCN5INodeERNS_11WalletGreenEb(ptr noundef nonnull align 8 dereferenceable(8) %53, ptr noundef nonnull align 8 dereferenceable(1872) %56, i1 noundef zeroext %60)
  br label %277

61:                                               ; preds = %50
  %62 = call noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef @.str.28)
  br i1 %62, label %63, label %69

63:                                               ; preds = %61
  call void @_ZNSt10shared_ptrI10WalletInfoEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %13, ptr noundef nonnull align 8 dereferenceable(16) %1) #7
  invoke void @_Z10exportKeysSt10shared_ptrI10WalletInfoE(ptr noundef %13)
          to label %64 unwind label %65

64:                                               ; preds = %63
  call void @_ZNSt12__shared_ptrI10WalletInfoLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %13) #7
  br label %276

65:                                               ; preds = %63
  %66 = landingpad { ptr, i32 }
          cleanup
  %67 = extractvalue { ptr, i32 } %66, 0
  store ptr %67, ptr %9, align 8
  %68 = extractvalue { ptr, i32 } %66, 1
  store i32 %68, ptr %10, align 4
  call void @_ZNSt12__shared_ptrI10WalletInfoLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %13) #7
  br label %282

69:                                               ; preds = %61
  %70 = call noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef @.str.29)
  br i1 %70, label %71, label %72

71:                                               ; preds = %69
  store i1 false, ptr %4, align 1
  br label %280

72:                                               ; preds = %69
  %73 = call noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef @.str.30)
  br i1 %73, label %74, label %80

74:                                               ; preds = %72
  call void @_ZNSt10shared_ptrI10WalletInfoEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %14, ptr noundef nonnull align 8 dereferenceable(16) %1) #7
  invoke void @_Z4helpSt10shared_ptrI10WalletInfoE(ptr noundef %14)
          to label %75 unwind label %76

75:                                               ; preds = %74
  call void @_ZNSt12__shared_ptrI10WalletInfoLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %14) #7
  br label %274

76:                                               ; preds = %74
  %77 = landingpad { ptr, i32 }
          cleanup
  %78 = extractvalue { ptr, i32 } %77, 0
  store ptr %78, ptr %9, align 8
  %79 = extractvalue { ptr, i32 } %77, 1
  store i32 %79, ptr %10, align 4
  call void @_ZNSt12__shared_ptrI10WalletInfoLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %14) #7
  br label %282

80:                                               ; preds = %72
  %81 = call noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef @.str.31)
  br i1 %81, label %82, label %104

82:                                               ; preds = %80
  call void @_ZNSt10shared_ptrI10WalletInfoEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %15, ptr noundef nonnull align 8 dereferenceable(16) %1) #7
  %83 = load ptr, ptr %7, align 8, !tbaa !5
  %84 = load ptr, ptr %83, align 8, !tbaa !18
  %85 = getelementptr inbounds ptr, ptr %84, i64 8
  %86 = load ptr, ptr %85, align 8
  %87 = invoke noundef i32 %86(ptr noundef nonnull align 8 dereferenceable(8) %83)
          to label %88 unwind label %95

88:                                               ; preds = %82
  %89 = load ptr, ptr %7, align 8, !tbaa !5
  %90 = load ptr, ptr %89, align 8, !tbaa !18
  %91 = getelementptr inbounds ptr, ptr %90, i64 31
  %92 = load ptr, ptr %91, align 8
  invoke void %92(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %16, ptr noundef nonnull align 8 dereferenceable(8) %89)
          to label %93 unwind label %95

93:                                               ; preds = %88
  invoke void @_Z8transferSt10shared_ptrI10WalletInfoEjbNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef %15, i32 noundef %87, i1 noundef zeroext false, ptr noundef %16)
          to label %94 unwind label %99

94:                                               ; preds = %93
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %16) #7
  call void @_ZNSt12__shared_ptrI10WalletInfoLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %15) #7
  br label %273

95:                                               ; preds = %88, %82
  %96 = landingpad { ptr, i32 }
          cleanup
  %97 = extractvalue { ptr, i32 } %96, 0
  store ptr %97, ptr %9, align 8
  %98 = extractvalue { ptr, i32 } %96, 1
  store i32 %98, ptr %10, align 4
  br label %103

99:                                               ; preds = %93
  %100 = landingpad { ptr, i32 }
          cleanup
  %101 = extractvalue { ptr, i32 } %100, 0
  store ptr %101, ptr %9, align 8
  %102 = extractvalue { ptr, i32 } %100, 1
  store i32 %102, ptr %10, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %16) #7
  br label %103

103:                                              ; preds = %99, %95
  call void @_ZNSt12__shared_ptrI10WalletInfoLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %15) #7
  br label %282

104:                                              ; preds = %80
  %105 = call noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef @.str.32)
  br i1 %105, label %106, label %107

106:                                              ; preds = %104
  call void @_Z16addToAddressBookv()
  br label %272

107:                                              ; preds = %104
  %108 = call noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef @.str.33)
  br i1 %108, label %109, label %110

109:                                              ; preds = %107
  call void @_Z21deleteFromAddressBookv()
  br label %271

110:                                              ; preds = %107
  %111 = call noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef @.str.34)
  br i1 %111, label %112, label %113

112:                                              ; preds = %110
  call void @_Z15listAddressBookv()
  br label %270

113:                                              ; preds = %110
  %114 = call noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef @.str.35)
  br i1 %114, label %115, label %137

115:                                              ; preds = %113
  call void @_ZNSt10shared_ptrI10WalletInfoEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %17, ptr noundef nonnull align 8 dereferenceable(16) %1) #7
  %116 = load ptr, ptr %7, align 8, !tbaa !5
  %117 = load ptr, ptr %116, align 8, !tbaa !18
  %118 = getelementptr inbounds ptr, ptr %117, i64 8
  %119 = load ptr, ptr %118, align 8
  %120 = invoke noundef i32 %119(ptr noundef nonnull align 8 dereferenceable(8) %116)
          to label %121 unwind label %128

121:                                              ; preds = %115
  %122 = load ptr, ptr %7, align 8, !tbaa !5
  %123 = load ptr, ptr %122, align 8, !tbaa !18
  %124 = getelementptr inbounds ptr, ptr %123, i64 31
  %125 = load ptr, ptr %124, align 8
  invoke void %125(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %18, ptr noundef nonnull align 8 dereferenceable(8) %122)
          to label %126 unwind label %128

126:                                              ; preds = %121
  invoke void @_Z19sendFromAddressBookSt10shared_ptrI10WalletInfoEjNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef %17, i32 noundef %120, ptr noundef %18)
          to label %127 unwind label %132

127:                                              ; preds = %126
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %18) #7
  call void @_ZNSt12__shared_ptrI10WalletInfoLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %17) #7
  br label %269

128:                                              ; preds = %121, %115
  %129 = landingpad { ptr, i32 }
          cleanup
  %130 = extractvalue { ptr, i32 } %129, 0
  store ptr %130, ptr %9, align 8
  %131 = extractvalue { ptr, i32 } %129, 1
  store i32 %131, ptr %10, align 4
  br label %136

132:                                              ; preds = %126
  %133 = landingpad { ptr, i32 }
          cleanup
  %134 = extractvalue { ptr, i32 } %133, 0
  store ptr %134, ptr %9, align 8
  %135 = extractvalue { ptr, i32 } %133, 1
  store i32 %135, ptr %10, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %18) #7
  br label %136

136:                                              ; preds = %132, %128
  call void @_ZNSt12__shared_ptrI10WalletInfoLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %17) #7
  br label %282

137:                                              ; preds = %113
  %138 = call noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef @.str.36)
  br i1 %138, label %139, label %145

139:                                              ; preds = %137
  call void @_ZNSt10shared_ptrI10WalletInfoEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %19, ptr noundef nonnull align 8 dereferenceable(16) %1) #7
  invoke void @_Z14changePasswordSt10shared_ptrI10WalletInfoE(ptr noundef %19)
          to label %140 unwind label %141

140:                                              ; preds = %139
  call void @_ZNSt12__shared_ptrI10WalletInfoLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %19) #7
  br label %268

141:                                              ; preds = %139
  %142 = landingpad { ptr, i32 }
          cleanup
  %143 = extractvalue { ptr, i32 } %142, 0
  store ptr %143, ptr %9, align 8
  %144 = extractvalue { ptr, i32 } %142, 1
  store i32 %144, ptr %10, align 4
  call void @_ZNSt12__shared_ptrI10WalletInfoLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %19) #7
  br label %282

145:                                              ; preds = %137
  %146 = call noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef @.str.37)
  br i1 %146, label %147, label %152

147:                                              ; preds = %145
  %148 = call noundef ptr @_ZNKSt19__shared_ptr_accessI10WalletInfoLN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %1) #7
  %149 = getelementptr inbounds %struct.WalletInfo, ptr %148, i32 0, i32 5
  %150 = load ptr, ptr %149, align 8, !tbaa !9
  %151 = load ptr, ptr %7, align 8, !tbaa !5
  call void @_Z13listTransfersbbRN7DynexCN11WalletGreenERNS_5INodeE(i1 noundef zeroext true, i1 noundef zeroext false, ptr noundef nonnull align 8 dereferenceable(1872) %150, ptr noundef nonnull align 8 dereferenceable(8) %151)
  br label %267

152:                                              ; preds = %145
  %153 = call noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef @.str.38)
  br i1 %153, label %154, label %159

154:                                              ; preds = %152
  %155 = call noundef ptr @_ZNKSt19__shared_ptr_accessI10WalletInfoLN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %1) #7
  %156 = getelementptr inbounds %struct.WalletInfo, ptr %155, i32 0, i32 5
  %157 = load ptr, ptr %156, align 8, !tbaa !9
  %158 = load ptr, ptr %7, align 8, !tbaa !5
  call void @_Z13listTransfersbbRN7DynexCN11WalletGreenERNS_5INodeE(i1 noundef zeroext true, i1 noundef zeroext true, ptr noundef nonnull align 8 dereferenceable(1872) %157, ptr noundef nonnull align 8 dereferenceable(8) %158)
  br label %266

159:                                              ; preds = %152
  %160 = call noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef @.str.39)
  br i1 %160, label %161, label %165

161:                                              ; preds = %159
  %162 = call noundef ptr @_ZNKSt19__shared_ptr_accessI10WalletInfoLN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %1) #7
  %163 = getelementptr inbounds %struct.WalletInfo, ptr %162, i32 0, i32 5
  %164 = load ptr, ptr %163, align 8, !tbaa !9
  call void @_Z12fullOptimizeRN7DynexCN11WalletGreenE(ptr noundef nonnull align 8 dereferenceable(1872) %164)
  br label %265

165:                                              ; preds = %159
  %166 = call noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef @.str.40)
  br i1 %166, label %167, label %172

167:                                              ; preds = %165
  %168 = call noundef ptr @_ZNKSt19__shared_ptr_accessI10WalletInfoLN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %1) #7
  %169 = getelementptr inbounds %struct.WalletInfo, ptr %168, i32 0, i32 5
  %170 = load ptr, ptr %169, align 8, !tbaa !9
  %171 = load ptr, ptr %7, align 8, !tbaa !5
  call void @_Z13listTransfersbbRN7DynexCN11WalletGreenERNS_5INodeE(i1 noundef zeroext false, i1 noundef zeroext true, ptr noundef nonnull align 8 dereferenceable(1872) %170, ptr noundef nonnull align 8 dereferenceable(8) %171)
  br label %264

172:                                              ; preds = %165
  %173 = call noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef @.str.41)
  br i1 %173, label %174, label %181

174:                                              ; preds = %172
  %175 = load ptr, ptr %7, align 8, !tbaa !5
  call void @_ZNSt10shared_ptrI10WalletInfoEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %20, ptr noundef nonnull align 8 dereferenceable(16) %1) #7
  invoke void @_Z5resetRN7DynexCN5INodeESt10shared_ptrI10WalletInfoE(ptr noundef nonnull align 8 dereferenceable(8) %175, ptr noundef %20)
          to label %176 unwind label %177

176:                                              ; preds = %174
  call void @_ZNSt12__shared_ptrI10WalletInfoLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %20) #7
  br label %263

177:                                              ; preds = %174
  %178 = landingpad { ptr, i32 }
          cleanup
  %179 = extractvalue { ptr, i32 } %178, 0
  store ptr %179, ptr %9, align 8
  %180 = extractvalue { ptr, i32 } %178, 1
  store i32 %180, ptr %10, align 4
  call void @_ZNSt12__shared_ptrI10WalletInfoLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %20) #7
  br label %282

181:                                              ; preds = %172
  %182 = call noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef @.str.42)
  br i1 %182, label %183, label %193

183:                                              ; preds = %181
  call void @_ZNSt10shared_ptrI10WalletInfoEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %21, ptr noundef nonnull align 8 dereferenceable(16) %1) #7
  %184 = call noundef ptr @_ZNKSt19__shared_ptr_accessI10WalletInfoLN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %1) #7
  %185 = getelementptr inbounds %struct.WalletInfo, ptr %184, i32 0, i32 4
  %186 = load i8, ptr %185, align 8, !tbaa !15, !range !16, !noundef !17
  %187 = trunc i8 %186 to i1
  invoke void @_Z12reserveProofSt10shared_ptrI10WalletInfoEb(ptr noundef %21, i1 noundef zeroext %187)
          to label %188 unwind label %189

188:                                              ; preds = %183
  call void @_ZNSt12__shared_ptrI10WalletInfoLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %21) #7
  br label %262

189:                                              ; preds = %183
  %190 = landingpad { ptr, i32 }
          cleanup
  %191 = extractvalue { ptr, i32 } %190, 0
  store ptr %191, ptr %9, align 8
  %192 = extractvalue { ptr, i32 } %190, 1
  store i32 %192, ptr %10, align 4
  call void @_ZNSt12__shared_ptrI10WalletInfoLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %21) #7
  br label %282

193:                                              ; preds = %181
  %194 = call noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef @.str.43)
  br i1 %194, label %195, label %199

195:                                              ; preds = %193
  %196 = call noundef ptr @_ZNKSt19__shared_ptr_accessI10WalletInfoLN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %1) #7
  %197 = getelementptr inbounds %struct.WalletInfo, ptr %196, i32 0, i32 5
  %198 = load ptr, ptr %197, align 8, !tbaa !9
  call void @_Z4saveRN7DynexCN11WalletGreenE(ptr noundef nonnull align 8 dereferenceable(1872) %198)
  br label %261

199:                                              ; preds = %193
  %200 = call noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef @.str.44)
  br i1 %200, label %201, label %206

201:                                              ; preds = %199
  %202 = call noundef ptr @_ZNKSt19__shared_ptr_accessI10WalletInfoLN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %1) #7
  %203 = getelementptr inbounds %struct.WalletInfo, ptr %202, i32 0, i32 5
  %204 = load ptr, ptr %203, align 8, !tbaa !9
  %205 = load ptr, ptr %7, align 8, !tbaa !5
  call void @_Z7saveCSVRN7DynexCN11WalletGreenERNS_5INodeE(ptr noundef nonnull align 8 dereferenceable(1872) %204, ptr noundef nonnull align 8 dereferenceable(8) %205)
  br label %260

206:                                              ; preds = %199
  %207 = call noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef @.str.45)
  br i1 %207, label %208, label %230

208:                                              ; preds = %206
  call void @_ZNSt10shared_ptrI10WalletInfoEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %22, ptr noundef nonnull align 8 dereferenceable(16) %1) #7
  %209 = load ptr, ptr %7, align 8, !tbaa !5
  %210 = load ptr, ptr %209, align 8, !tbaa !18
  %211 = getelementptr inbounds ptr, ptr %210, i64 8
  %212 = load ptr, ptr %211, align 8
  %213 = invoke noundef i32 %212(ptr noundef nonnull align 8 dereferenceable(8) %209)
          to label %214 unwind label %221

214:                                              ; preds = %208
  %215 = load ptr, ptr %7, align 8, !tbaa !5
  %216 = load ptr, ptr %215, align 8, !tbaa !18
  %217 = getelementptr inbounds ptr, ptr %216, i64 31
  %218 = load ptr, ptr %217, align 8
  invoke void %218(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %23, ptr noundef nonnull align 8 dereferenceable(8) %215)
          to label %219 unwind label %221

219:                                              ; preds = %214
  invoke void @_Z8transferSt10shared_ptrI10WalletInfoEjbNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef %22, i32 noundef %213, i1 noundef zeroext true, ptr noundef %23)
          to label %220 unwind label %225

220:                                              ; preds = %219
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %23) #7
  call void @_ZNSt12__shared_ptrI10WalletInfoLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %22) #7
  br label %259

221:                                              ; preds = %214, %208
  %222 = landingpad { ptr, i32 }
          cleanup
  %223 = extractvalue { ptr, i32 } %222, 0
  store ptr %223, ptr %9, align 8
  %224 = extractvalue { ptr, i32 } %222, 1
  store i32 %224, ptr %10, align 4
  br label %229

225:                                              ; preds = %219
  %226 = landingpad { ptr, i32 }
          cleanup
  %227 = extractvalue { ptr, i32 } %226, 0
  store ptr %227, ptr %9, align 8
  %228 = extractvalue { ptr, i32 } %226, 1
  store i32 %228, ptr %10, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %23) #7
  br label %229

229:                                              ; preds = %225, %221
  call void @_ZNSt12__shared_ptrI10WalletInfoLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %22) #7
  br label %282

230:                                              ; preds = %206
  %231 = call noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef @.str.46)
  br i1 %231, label %232, label %237

232:                                              ; preds = %230
  %233 = load ptr, ptr %7, align 8, !tbaa !5
  %234 = call noundef ptr @_ZNKSt19__shared_ptr_accessI10WalletInfoLN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %1) #7
  %235 = getelementptr inbounds %struct.WalletInfo, ptr %234, i32 0, i32 5
  %236 = load ptr, ptr %235, align 8, !tbaa !9
  call void @_Z6statusRN7DynexCN5INodeERNS_11WalletGreenE(ptr noundef nonnull align 8 dereferenceable(8) %233, ptr noundef nonnull align 8 dereferenceable(1872) %236)
  br label %258

237:                                              ; preds = %230
  %238 = call noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef @.str.47)
  br i1 %238, label %239, label %243

239:                                              ; preds = %237
  %240 = call noundef ptr @_ZNKSt19__shared_ptr_accessI10WalletInfoLN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %1) #7
  %241 = getelementptr inbounds %struct.WalletInfo, ptr %240, i32 0, i32 5
  %242 = load ptr, ptr %241, align 8, !tbaa !9
  call void @_Z11txSecretKeyRN7DynexCN11WalletGreenE(ptr noundef nonnull align 8 dereferenceable(1872) %242)
  br label %257

243:                                              ; preds = %237
  %244 = call noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef @.str.48)
  br i1 %244, label %245, label %249

245:                                              ; preds = %243
  %246 = call noundef ptr @_ZNKSt19__shared_ptr_accessI10WalletInfoLN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %1) #7
  %247 = getelementptr inbounds %struct.WalletInfo, ptr %246, i32 0, i32 5
  %248 = load ptr, ptr %247, align 8, !tbaa !9
  call void @_Z7txProofRN7DynexCN11WalletGreenE(ptr noundef nonnull align 8 dereferenceable(1872) %248)
  br label %256

249:                                              ; preds = %243
  %250 = call ptr @__cxa_allocate_exception(i64 16) #7
  invoke void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16) %250, ptr noundef @.str.49)
          to label %251 unwind label %252

251:                                              ; preds = %249
  call void @__cxa_throw(ptr %250, ptr @_ZTISt13runtime_error, ptr @_ZNSt13runtime_errorD1Ev) #8
  unreachable

252:                                              ; preds = %249
  %253 = landingpad { ptr, i32 }
          cleanup
  %254 = extractvalue { ptr, i32 } %253, 0
  store ptr %254, ptr %9, align 8
  %255 = extractvalue { ptr, i32 } %253, 1
  store i32 %255, ptr %10, align 4
  call void @__cxa_free_exception(ptr %250) #7
  br label %282

256:                                              ; preds = %245
  br label %257

257:                                              ; preds = %256, %239
  br label %258

258:                                              ; preds = %257, %232
  br label %259

259:                                              ; preds = %258, %220
  br label %260

260:                                              ; preds = %259, %201
  br label %261

261:                                              ; preds = %260, %195
  br label %262

262:                                              ; preds = %261, %188
  br label %263

263:                                              ; preds = %262, %176
  br label %264

264:                                              ; preds = %263, %167
  br label %265

265:                                              ; preds = %264, %161
  br label %266

266:                                              ; preds = %265, %154
  br label %267

267:                                              ; preds = %266, %147
  br label %268

268:                                              ; preds = %267, %140
  br label %269

269:                                              ; preds = %268, %127
  br label %270

270:                                              ; preds = %269, %112
  br label %271

271:                                              ; preds = %270, %109
  br label %272

272:                                              ; preds = %271, %106
  br label %273

273:                                              ; preds = %272, %94
  br label %274

274:                                              ; preds = %273, %75
  br label %275

275:                                              ; preds = %274
  br label %276

276:                                              ; preds = %275, %64
  br label %277

277:                                              ; preds = %276, %52
  br label %278

278:                                              ; preds = %277, %40
  br label %279

279:                                              ; preds = %278, %26
  store i1 true, ptr %4, align 1
  br label %280

280:                                              ; preds = %279, %71
  %281 = load i1, ptr %4, align 1
  ret i1 %281

282:                                              ; preds = %252, %229, %189, %177, %141, %136, %103, %76, %65, %49, %27
  %283 = load ptr, ptr %9, align 8
  %284 = load i32, ptr %10, align 4
  %285 = insertvalue { ptr, i32 } poison, ptr %283, 0
  %286 = insertvalue { ptr, i32 } %285, i32 %284, 1
  resume { ptr, i32 } %286
}

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef) #3

declare void @_Z8advancedSt10shared_ptrI10WalletInfoE(ptr noundef) #4

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

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

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

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

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_(ptr noundef nonnull align 8 dereferenceable(8)) #5

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN11ColouredMsgD2Ev(ptr noundef nonnull align 8 dereferenceable(41)) unnamed_addr #3 align 2

declare void @_Z7balanceRN7DynexCN5INodeERNS_11WalletGreenEb(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(1872), i1 noundef zeroext) #4

declare void @_Z10exportKeysSt10shared_ptrI10WalletInfoE(ptr noundef) #4

declare void @_Z4helpSt10shared_ptrI10WalletInfoE(ptr noundef) #4

declare void @_Z8transferSt10shared_ptrI10WalletInfoEjbNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef, i32 noundef, i1 noundef zeroext, ptr noundef) #4

declare void @_Z16addToAddressBookv() #4

declare void @_Z21deleteFromAddressBookv() #4

declare void @_Z15listAddressBookv() #4

declare void @_Z19sendFromAddressBookSt10shared_ptrI10WalletInfoEjNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef, i32 noundef, ptr noundef) #4

declare void @_Z14changePasswordSt10shared_ptrI10WalletInfoE(ptr noundef) #4

declare void @_Z13listTransfersbbRN7DynexCN11WalletGreenERNS_5INodeE(i1 noundef zeroext, i1 noundef zeroext, ptr noundef nonnull align 8 dereferenceable(1872), ptr noundef nonnull align 8 dereferenceable(8)) #4

declare void @_Z12fullOptimizeRN7DynexCN11WalletGreenE(ptr noundef nonnull align 8 dereferenceable(1872)) #4

declare void @_Z5resetRN7DynexCN5INodeESt10shared_ptrI10WalletInfoE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #4

declare void @_Z12reserveProofSt10shared_ptrI10WalletInfoEb(ptr noundef, i1 noundef zeroext) #4

declare void @_Z4saveRN7DynexCN11WalletGreenE(ptr noundef nonnull align 8 dereferenceable(1872)) #4

declare void @_Z7saveCSVRN7DynexCN11WalletGreenERNS_5INodeE(ptr noundef nonnull align 8 dereferenceable(1872), ptr noundef nonnull align 8 dereferenceable(8)) #4

declare void @_Z6statusRN7DynexCN5INodeERNS_11WalletGreenE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(1872)) #4

declare void @_Z11txSecretKeyRN7DynexCN11WalletGreenE(ptr noundef nonnull align 8 dereferenceable(1872)) #4

declare void @_Z7txProofRN7DynexCN11WalletGreenE(ptr noundef nonnull align 8 dereferenceable(1872)) #4

declare ptr @__cxa_allocate_exception(i64)

declare void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef) unnamed_addr #4

declare void @__cxa_free_exception(ptr)

; Function Attrs: nounwind
declare void @_ZNSt13runtime_errorD1Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #6

declare void @__cxa_throw(ptr, ptr, ptr)

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !6, i64 112}
!10 = !{!"_ZTS10WalletInfo", !11, i64 0, !12, i64 8, !12, i64 40, !12, i64 72, !14, i64 104, !6, i64 112}
!11 = !{!"long", !7, i64 0}
!12 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !13, i64 0, !11, i64 8, !7, i64 16}
!13 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!14 = !{!"bool", !7, i64 0}
!15 = !{!10, !14, i64 104}
!16 = !{i8 0, i8 2}
!17 = !{}
!18 = !{!19, !19, i64 0}
!19 = !{!"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"

%"class.std::basic_ostream" = type { ptr, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }
%"class.std::shared_ptr" = type { %"class.std::__shared_ptr" }
%"class.std::__shared_ptr" = type { ptr, %"class.std::__shared_count" }
%"class.std::__shared_count" = type { ptr }
%class.SuccessMsg = type { %class.ColouredMsg.base, [7 x i8] }
%class.ColouredMsg.base = type <{ %"class.std::__cxx11::basic_string", i8, [3 x i8], i32, i8 }>
%"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] }

@.str.25 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [8 x i8], align 1
@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str.27 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.34 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.35 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.36 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.37 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.38 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.39 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.40 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.41 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.42 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.43 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.44 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.45 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.46 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.47 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.48 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.49 = external hidden unnamed_addr constant [39 x i8], align 1
@_ZTISt13runtime_error = external constant ptr

declare i32 @__gxx_personality_v0(...)

; 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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_Z13handleCommandNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt10shared_ptrI10WalletInfoERN7DynexCN5INodeE(ptr noundef nonnull %0, ptr noundef %1, ptr noundef nonnull align 8 dereferenceable(8) %2) local_unnamed_addr #2 personality ptr @__gxx_personality_v0 {
  %4 = alloca %"class.std::shared_ptr", align 8
  %5 = alloca %class.SuccessMsg, align 8
  %6 = alloca %"class.std::__cxx11::basic_string", align 8
  %7 = alloca %"class.std::shared_ptr", align 8
  %8 = alloca %"class.std::shared_ptr", align 8
  %9 = alloca %"class.std::shared_ptr", align 8
  %10 = alloca %"class.std::__cxx11::basic_string", align 8
  %11 = alloca %"class.std::shared_ptr", align 8
  %12 = alloca %"class.std::__cxx11::basic_string", align 8
  %13 = alloca %"class.std::shared_ptr", align 8
  %14 = alloca %"class.std::shared_ptr", align 8
  %15 = alloca %"class.std::shared_ptr", align 8
  %16 = alloca %"class.std::shared_ptr", align 8
  %17 = alloca %"class.std::__cxx11::basic_string", align 8
  %18 = tail call noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef nonnull @.str.25)
  br i1 %18, label %19, label %23

19:                                               ; preds = %3
  call void @_ZNSt10shared_ptrI10WalletInfoEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %4, ptr noundef nonnull align 8 dereferenceable(16) %1) #7
  invoke void @_Z8advancedSt10shared_ptrI10WalletInfoE(ptr noundef nonnull %4)
          to label %20 unwind label %21

20:                                               ; preds = %19
  call void @_ZNSt12__shared_ptrI10WalletInfoLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %4) #7
  br label %206

21:                                               ; preds = %19
  %22 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt12__shared_ptrI10WalletInfoLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %4) #7
  br label %207

23:                                               ; preds = %3
  %24 = tail call noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef nonnull @.str.26)
  br i1 %24, label %25, label %38

25:                                               ; preds = %23
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %5) #7
  %26 = tail call noundef ptr @_ZNKSt19__shared_ptr_accessI10WalletInfoLN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %1) #7
  %27 = getelementptr inbounds i8, ptr %26, i64 72
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %6, ptr noundef nonnull align 8 dereferenceable(32) %27)
  invoke void @_ZN10SuccessMsgC2ENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(41) %5, ptr noundef nonnull %6)
          to label %28 unwind label %33

28:                                               ; preds = %25
  %29 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZlsRSoRK11ColouredMsg(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull align 8 dereferenceable(41) %5)
          to label %30 unwind label %35

30:                                               ; preds = %28
  %31 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %29, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %32 unwind label %35

32:                                               ; preds = %30
  call void @_ZN11ColouredMsgD2Ev(ptr noundef nonnull align 8 dereferenceable(41) %5) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %5) #7
  br label %206

33:                                               ; preds = %25
  %34 = landingpad { ptr, i32 }
          cleanup
  br label %37

35:                                               ; preds = %30, %28
  %36 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN11ColouredMsgD2Ev(ptr noundef nonnull align 8 dereferenceable(41) %5) #7
  br label %37

37:                                               ; preds = %35, %33
  %.pn26 = phi { ptr, i32 } [ %36, %35 ], [ %34, %33 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %5) #7
  br label %207

38:                                               ; preds = %23
  %39 = tail call noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef nonnull @.str.27)
  br i1 %39, label %40, label %48

40:                                               ; preds = %38
  %41 = tail call noundef ptr @_ZNKSt19__shared_ptr_accessI10WalletInfoLN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %1) #7
  %42 = getelementptr inbounds i8, ptr %41, i64 112
  %43 = load ptr, ptr %42, align 8, !tbaa !5
  %44 = tail call noundef ptr @_ZNKSt19__shared_ptr_accessI10WalletInfoLN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %1) #7
  %45 = getelementptr inbounds i8, ptr %44, i64 104
  %46 = load i8, ptr %45, align 8, !tbaa !14, !range !15, !noundef !16
  %47 = trunc nuw i8 %46 to i1
  tail call void @_Z7balanceRN7DynexCN5INodeERNS_11WalletGreenEb(ptr noundef nonnull align 8 dereferenceable(8) %2, ptr noundef nonnull align 8 dereferenceable(1872) %43, i1 noundef zeroext %47)
  br label %206

48:                                               ; preds = %38
  %49 = tail call noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef nonnull @.str.28)
  br i1 %49, label %50, label %54

50:                                               ; preds = %48
  call void @_ZNSt10shared_ptrI10WalletInfoEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %7, ptr noundef nonnull align 8 dereferenceable(16) %1) #7
  invoke void @_Z10exportKeysSt10shared_ptrI10WalletInfoE(ptr noundef nonnull %7)
          to label %51 unwind label %52

51:                                               ; preds = %50
  call void @_ZNSt12__shared_ptrI10WalletInfoLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %7) #7
  br label %206

52:                                               ; preds = %50
  %53 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt12__shared_ptrI10WalletInfoLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %7) #7
  br label %207

54:                                               ; preds = %48
  %55 = tail call noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef nonnull @.str.29)
  br i1 %55, label %206, label %56

56:                                               ; preds = %54
  %57 = tail call noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef nonnull @.str.30)
  br i1 %57, label %58, label %62

58:                                               ; preds = %56
  call void @_ZNSt10shared_ptrI10WalletInfoEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %8, ptr noundef nonnull align 8 dereferenceable(16) %1) #7
  invoke void @_Z4helpSt10shared_ptrI10WalletInfoE(ptr noundef nonnull %8)
          to label %59 unwind label %60

59:                                               ; preds = %58
  call void @_ZNSt12__shared_ptrI10WalletInfoLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %8) #7
  br label %206

60:                                               ; preds = %58
  %61 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt12__shared_ptrI10WalletInfoLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %8) #7
  br label %207

62:                                               ; preds = %56
  %63 = tail call noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef nonnull @.str.31)
  br i1 %63, label %64, label %80

64:                                               ; preds = %62
  call void @_ZNSt10shared_ptrI10WalletInfoEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %9, ptr noundef nonnull align 8 dereferenceable(16) %1) #7
  %65 = load ptr, ptr %2, align 8, !tbaa !17
  %66 = getelementptr inbounds i8, ptr %65, i64 64
  %67 = load ptr, ptr %66, align 8
  %68 = invoke noundef i32 %67(ptr noundef nonnull align 8 dereferenceable(8) %2)
          to label %69 unwind label %75

69:                                               ; preds = %64
  %70 = load ptr, ptr %2, align 8, !tbaa !17
  %71 = getelementptr inbounds i8, ptr %70, i64 248
  %72 = load ptr, ptr %71, align 8
  invoke void %72(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %10, ptr noundef nonnull align 8 dereferenceable(8) %2)
          to label %73 unwind label %75

73:                                               ; preds = %69
  invoke void @_Z8transferSt10shared_ptrI10WalletInfoEjbNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull %9, i32 noundef %68, i1 noundef zeroext false, ptr noundef nonnull %10)
          to label %74 unwind label %77

74:                                               ; preds = %73
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #7
  call void @_ZNSt12__shared_ptrI10WalletInfoLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %9) #7
  br label %206

75:                                               ; preds = %69, %64
  %76 = landingpad { ptr, i32 }
          cleanup
  br label %79

77:                                               ; preds = %73
  %78 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #7
  br label %79

79:                                               ; preds = %77, %75
  %.pn24 = phi { ptr, i32 } [ %78, %77 ], [ %76, %75 ]
  call void @_ZNSt12__shared_ptrI10WalletInfoLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %9) #7
  br label %207

80:                                               ; preds = %62
  %81 = tail call noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef nonnull @.str.32)
  br i1 %81, label %82, label %83

82:                                               ; preds = %80
  tail call void @_Z16addToAddressBookv()
  br label %206

83:                                               ; preds = %80
  %84 = tail call noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef nonnull @.str.33)
  br i1 %84, label %85, label %86

85:                                               ; preds = %83
  tail call void @_Z21deleteFromAddressBookv()
  br label %206

86:                                               ; preds = %83
  %87 = tail call noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef nonnull @.str.34)
  br i1 %87, label %88, label %89

88:                                               ; preds = %86
  tail call void @_Z15listAddressBookv()
  br label %206

89:                                               ; preds = %86
  %90 = tail call noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef nonnull @.str.35)
  br i1 %90, label %91, label %107

91:                                               ; preds = %89
  call void @_ZNSt10shared_ptrI10WalletInfoEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %11, ptr noundef nonnull align 8 dereferenceable(16) %1) #7
  %92 = load ptr, ptr %2, align 8, !tbaa !17
  %93 = getelementptr inbounds i8, ptr %92, i64 64
  %94 = load ptr, ptr %93, align 8
  %95 = invoke noundef i32 %94(ptr noundef nonnull align 8 dereferenceable(8) %2)
          to label %96 unwind label %102

96:                                               ; preds = %91
  %97 = load ptr, ptr %2, align 8, !tbaa !17
  %98 = getelementptr inbounds i8, ptr %97, i64 248
  %99 = load ptr, ptr %98, align 8
  invoke void %99(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %12, ptr noundef nonnull align 8 dereferenceable(8) %2)
          to label %100 unwind label %102

100:                                              ; preds = %96
  invoke void @_Z19sendFromAddressBookSt10shared_ptrI10WalletInfoEjNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull %11, i32 noundef %95, ptr noundef nonnull %12)
          to label %101 unwind label %104

101:                                              ; preds = %100
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %12) #7
  call void @_ZNSt12__shared_ptrI10WalletInfoLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %11) #7
  br label %206

102:                                              ; preds = %96, %91
  %103 = landingpad { ptr, i32 }
          cleanup
  br label %106

104:                                              ; preds = %100
  %105 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %12) #7
  br label %106

106:                                              ; preds = %104, %102
  %.pn22 = phi { ptr, i32 } [ %105, %104 ], [ %103, %102 ]
  call void @_ZNSt12__shared_ptrI10WalletInfoLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %11) #7
  br label %207

107:                                              ; preds = %89
  %108 = tail call noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef nonnull @.str.36)
  br i1 %108, label %109, label %113

109:                                              ; preds = %107
  call void @_ZNSt10shared_ptrI10WalletInfoEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %13, ptr noundef nonnull align 8 dereferenceable(16) %1) #7
  invoke void @_Z14changePasswordSt10shared_ptrI10WalletInfoE(ptr noundef nonnull %13)
          to label %110 unwind label %111

110:                                              ; preds = %109
  call void @_ZNSt12__shared_ptrI10WalletInfoLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %13) #7
  br label %206

111:                                              ; preds = %109
  %112 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt12__shared_ptrI10WalletInfoLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %13) #7
  br label %207

113:                                              ; preds = %107
  %114 = tail call noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef nonnull @.str.37)
  br i1 %114, label %115, label %119

115:                                              ; preds = %113
  %116 = tail call noundef ptr @_ZNKSt19__shared_ptr_accessI10WalletInfoLN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %1) #7
  %117 = getelementptr inbounds i8, ptr %116, i64 112
  %118 = load ptr, ptr %117, align 8, !tbaa !5
  tail call void @_Z13listTransfersbbRN7DynexCN11WalletGreenERNS_5INodeE(i1 noundef zeroext true, i1 noundef zeroext false, ptr noundef nonnull align 8 dereferenceable(1872) %118, ptr noundef nonnull align 8 dereferenceable(8) %2)
  br label %206

119:                                              ; preds = %113
  %120 = tail call noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef nonnull @.str.38)
  br i1 %120, label %121, label %125

121:                                              ; preds = %119
  %122 = tail call noundef ptr @_ZNKSt19__shared_ptr_accessI10WalletInfoLN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %1) #7
  %123 = getelementptr inbounds i8, ptr %122, i64 112
  %124 = load ptr, ptr %123, align 8, !tbaa !5
  tail call void @_Z13listTransfersbbRN7DynexCN11WalletGreenERNS_5INodeE(i1 noundef zeroext true, i1 noundef zeroext true, ptr noundef nonnull align 8 dereferenceable(1872) %124, ptr noundef nonnull align 8 dereferenceable(8) %2)
  br label %206

125:                                              ; preds = %119
  %126 = tail call noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef nonnull @.str.39)
  br i1 %126, label %127, label %131

127:                                              ; preds = %125
  %128 = tail call noundef ptr @_ZNKSt19__shared_ptr_accessI10WalletInfoLN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %1) #7
  %129 = getelementptr inbounds i8, ptr %128, i64 112
  %130 = load ptr, ptr %129, align 8, !tbaa !5
  tail call void @_Z12fullOptimizeRN7DynexCN11WalletGreenE(ptr noundef nonnull align 8 dereferenceable(1872) %130)
  br label %206

131:                                              ; preds = %125
  %132 = tail call noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef nonnull @.str.40)
  br i1 %132, label %133, label %137

133:                                              ; preds = %131
  %134 = tail call noundef ptr @_ZNKSt19__shared_ptr_accessI10WalletInfoLN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %1) #7
  %135 = getelementptr inbounds i8, ptr %134, i64 112
  %136 = load ptr, ptr %135, align 8, !tbaa !5
  tail call void @_Z13listTransfersbbRN7DynexCN11WalletGreenERNS_5INodeE(i1 noundef zeroext false, i1 noundef zeroext true, ptr noundef nonnull align 8 dereferenceable(1872) %136, ptr noundef nonnull align 8 dereferenceable(8) %2)
  br label %206

137:                                              ; preds = %131
  %138 = tail call noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef nonnull @.str.41)
  br i1 %138, label %139, label %143

139:                                              ; preds = %137
  call void @_ZNSt10shared_ptrI10WalletInfoEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %14, ptr noundef nonnull align 8 dereferenceable(16) %1) #7
  invoke void @_Z5resetRN7DynexCN5INodeESt10shared_ptrI10WalletInfoE(ptr noundef nonnull align 8 dereferenceable(8) %2, ptr noundef nonnull %14)
          to label %140 unwind label %141

140:                                              ; preds = %139
  call void @_ZNSt12__shared_ptrI10WalletInfoLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %14) #7
  br label %206

141:                                              ; preds = %139
  %142 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt12__shared_ptrI10WalletInfoLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %14) #7
  br label %207

143:                                              ; preds = %137
  %144 = tail call noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef nonnull @.str.42)
  br i1 %144, label %145, label %153

145:                                              ; preds = %143
  call void @_ZNSt10shared_ptrI10WalletInfoEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %15, ptr noundef nonnull align 8 dereferenceable(16) %1) #7
  %146 = call noundef ptr @_ZNKSt19__shared_ptr_accessI10WalletInfoLN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %1) #7
  %147 = getelementptr inbounds i8, ptr %146, i64 104
  %148 = load i8, ptr %147, align 8, !tbaa !14, !range !15, !noundef !16
  %149 = trunc nuw i8 %148 to i1
  invoke void @_Z12reserveProofSt10shared_ptrI10WalletInfoEb(ptr noundef nonnull %15, i1 noundef zeroext %149)
          to label %150 unwind label %151

150:                                              ; preds = %145
  call void @_ZNSt12__shared_ptrI10WalletInfoLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %15) #7
  br label %206

151:                                              ; preds = %145
  %152 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt12__shared_ptrI10WalletInfoLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %15) #7
  br label %207

153:                                              ; preds = %143
  %154 = tail call noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef nonnull @.str.43)
  br i1 %154, label %155, label %159

155:                                              ; preds = %153
  %156 = tail call noundef ptr @_ZNKSt19__shared_ptr_accessI10WalletInfoLN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %1) #7
  %157 = getelementptr inbounds i8, ptr %156, i64 112
  %158 = load ptr, ptr %157, align 8, !tbaa !5
  tail call void @_Z4saveRN7DynexCN11WalletGreenE(ptr noundef nonnull align 8 dereferenceable(1872) %158)
  br label %206

159:                                              ; preds = %153
  %160 = tail call noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef nonnull @.str.44)
  br i1 %160, label %161, label %165

161:                                              ; preds = %159
  %162 = tail call noundef ptr @_ZNKSt19__shared_ptr_accessI10WalletInfoLN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %1) #7
  %163 = getelementptr inbounds i8, ptr %162, i64 112
  %164 = load ptr, ptr %163, align 8, !tbaa !5
  tail call void @_Z7saveCSVRN7DynexCN11WalletGreenERNS_5INodeE(ptr noundef nonnull align 8 dereferenceable(1872) %164, ptr noundef nonnull align 8 dereferenceable(8) %2)
  br label %206

165:                                              ; preds = %159
  %166 = tail call noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef nonnull @.str.45)
  br i1 %166, label %167, label %183

167:                                              ; preds = %165
  call void @_ZNSt10shared_ptrI10WalletInfoEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %16, ptr noundef nonnull align 8 dereferenceable(16) %1) #7
  %168 = load ptr, ptr %2, align 8, !tbaa !17
  %169 = getelementptr inbounds i8, ptr %168, i64 64
  %170 = load ptr, ptr %169, align 8
  %171 = invoke noundef i32 %170(ptr noundef nonnull align 8 dereferenceable(8) %2)
          to label %172 unwind label %178

172:                                              ; preds = %167
  %173 = load ptr, ptr %2, align 8, !tbaa !17
  %174 = getelementptr inbounds i8, ptr %173, i64 248
  %175 = load ptr, ptr %174, align 8
  invoke void %175(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %17, ptr noundef nonnull align 8 dereferenceable(8) %2)
          to label %176 unwind label %178

176:                                              ; preds = %172
  invoke void @_Z8transferSt10shared_ptrI10WalletInfoEjbNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull %16, i32 noundef %171, i1 noundef zeroext true, ptr noundef nonnull %17)
          to label %177 unwind label %180

177:                                              ; preds = %176
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %17) #7
  call void @_ZNSt12__shared_ptrI10WalletInfoLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %16) #7
  br label %206

178:                                              ; preds = %172, %167
  %179 = landingpad { ptr, i32 }
          cleanup
  br label %182

180:                                              ; preds = %176
  %181 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %17) #7
  br label %182

182:                                              ; preds = %180, %178
  %.pn = phi { ptr, i32 } [ %181, %180 ], [ %179, %178 ]
  call void @_ZNSt12__shared_ptrI10WalletInfoLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %16) #7
  br label %207

183:                                              ; preds = %165
  %184 = tail call noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef nonnull @.str.46)
  br i1 %184, label %185, label %189

185:                                              ; preds = %183
  %186 = tail call noundef ptr @_ZNKSt19__shared_ptr_accessI10WalletInfoLN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %1) #7
  %187 = getelementptr inbounds i8, ptr %186, i64 112
  %188 = load ptr, ptr %187, align 8, !tbaa !5
  tail call void @_Z6statusRN7DynexCN5INodeERNS_11WalletGreenE(ptr noundef nonnull align 8 dereferenceable(8) %2, ptr noundef nonnull align 8 dereferenceable(1872) %188)
  br label %206

189:                                              ; preds = %183
  %190 = tail call noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef nonnull @.str.47)
  br i1 %190, label %191, label %195

191:                                              ; preds = %189
  %192 = tail call noundef ptr @_ZNKSt19__shared_ptr_accessI10WalletInfoLN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %1) #7
  %193 = getelementptr inbounds i8, ptr %192, i64 112
  %194 = load ptr, ptr %193, align 8, !tbaa !5
  tail call void @_Z11txSecretKeyRN7DynexCN11WalletGreenE(ptr noundef nonnull align 8 dereferenceable(1872) %194)
  br label %206

195:                                              ; preds = %189
  %196 = tail call noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef nonnull @.str.48)
  br i1 %196, label %197, label %201

197:                                              ; preds = %195
  %198 = tail call noundef ptr @_ZNKSt19__shared_ptr_accessI10WalletInfoLN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %1) #7
  %199 = getelementptr inbounds i8, ptr %198, i64 112
  %200 = load ptr, ptr %199, align 8, !tbaa !5
  tail call void @_Z7txProofRN7DynexCN11WalletGreenE(ptr noundef nonnull align 8 dereferenceable(1872) %200)
  br label %206

201:                                              ; preds = %195
  %202 = tail call ptr @__cxa_allocate_exception(i64 16) #7
  invoke void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16) %202, ptr noundef nonnull @.str.49)
          to label %203 unwind label %204

203:                                              ; preds = %201
  tail call void @__cxa_throw(ptr nonnull %202, ptr nonnull @_ZTISt13runtime_error, ptr nonnull @_ZNSt13runtime_errorD1Ev) #8
  unreachable

204:                                              ; preds = %201
  %205 = landingpad { ptr, i32 }
          cleanup
  tail call void @__cxa_free_exception(ptr %202) #7
  br label %207

206:                                              ; preds = %20, %40, %74, %85, %101, %115, %127, %140, %155, %177, %191, %197, %185, %161, %150, %133, %121, %110, %88, %82, %59, %51, %32, %54
  %.020 = phi i1 [ false, %54 ], [ true, %32 ], [ true, %51 ], [ true, %59 ], [ true, %82 ], [ true, %88 ], [ true, %110 ], [ true, %121 ], [ true, %133 ], [ true, %150 ], [ true, %161 ], [ true, %185 ], [ true, %197 ], [ true, %191 ], [ true, %177 ], [ true, %155 ], [ true, %140 ], [ true, %127 ], [ true, %115 ], [ true, %101 ], [ true, %85 ], [ true, %74 ], [ true, %40 ], [ true, %20 ]
  ret i1 %.020

207:                                              ; preds = %204, %182, %151, %141, %111, %106, %79, %60, %52, %37, %21
  %.pn28 = phi { ptr, i32 } [ %22, %21 ], [ %.pn26, %37 ], [ %53, %52 ], [ %61, %60 ], [ %.pn24, %79 ], [ %.pn22, %106 ], [ %112, %111 ], [ %142, %141 ], [ %152, %151 ], [ %.pn, %182 ], [ %205, %204 ]
  resume { ptr, i32 } %.pn28
}

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef) local_unnamed_addr #3

declare void @_Z8advancedSt10shared_ptrI10WalletInfoE(ptr noundef) local_unnamed_addr #4

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

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

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

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

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_(ptr noundef nonnull align 8 dereferenceable(8)) #5

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN11ColouredMsgD2Ev(ptr noundef nonnull align 8 dereferenceable(41)) unnamed_addr #3 align 2

declare void @_Z7balanceRN7DynexCN5INodeERNS_11WalletGreenEb(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(1872), i1 noundef zeroext) local_unnamed_addr #4

declare void @_Z10exportKeysSt10shared_ptrI10WalletInfoE(ptr noundef) local_unnamed_addr #4

declare void @_Z4helpSt10shared_ptrI10WalletInfoE(ptr noundef) local_unnamed_addr #4

declare void @_Z8transferSt10shared_ptrI10WalletInfoEjbNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef, i32 noundef, i1 noundef zeroext, ptr noundef) local_unnamed_addr #4

declare void @_Z16addToAddressBookv() local_unnamed_addr #4

declare void @_Z21deleteFromAddressBookv() local_unnamed_addr #4

declare void @_Z15listAddressBookv() local_unnamed_addr #4

declare void @_Z19sendFromAddressBookSt10shared_ptrI10WalletInfoEjNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #4

declare void @_Z14changePasswordSt10shared_ptrI10WalletInfoE(ptr noundef) local_unnamed_addr #4

declare void @_Z13listTransfersbbRN7DynexCN11WalletGreenERNS_5INodeE(i1 noundef zeroext, i1 noundef zeroext, ptr noundef nonnull align 8 dereferenceable(1872), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #4

declare void @_Z12fullOptimizeRN7DynexCN11WalletGreenE(ptr noundef nonnull align 8 dereferenceable(1872)) local_unnamed_addr #4

declare void @_Z5resetRN7DynexCN5INodeESt10shared_ptrI10WalletInfoE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) local_unnamed_addr #4

declare void @_Z12reserveProofSt10shared_ptrI10WalletInfoEb(ptr noundef, i1 noundef zeroext) local_unnamed_addr #4

declare void @_Z4saveRN7DynexCN11WalletGreenE(ptr noundef nonnull align 8 dereferenceable(1872)) local_unnamed_addr #4

declare void @_Z7saveCSVRN7DynexCN11WalletGreenERNS_5INodeE(ptr noundef nonnull align 8 dereferenceable(1872), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #4

declare void @_Z6statusRN7DynexCN5INodeERNS_11WalletGreenE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(1872)) local_unnamed_addr #4

declare void @_Z11txSecretKeyRN7DynexCN11WalletGreenE(ptr noundef nonnull align 8 dereferenceable(1872)) local_unnamed_addr #4

declare void @_Z7txProofRN7DynexCN11WalletGreenE(ptr noundef nonnull align 8 dereferenceable(1872)) local_unnamed_addr #4

declare ptr @__cxa_allocate_exception(i64) local_unnamed_addr

declare void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef) unnamed_addr #4

declare void @__cxa_free_exception(ptr) local_unnamed_addr

; Function Attrs: nounwind
declare void @_ZNSt13runtime_errorD1Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #6

declare void @__cxa_throw(ptr, ptr, ptr) local_unnamed_addr

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !12, i64 112}
!6 = !{!"_ZTS10WalletInfo", !7, i64 0, !10, i64 8, !10, i64 40, !10, i64 72, !13, i64 104, !12, i64 112}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !11, i64 0, !7, i64 8, !8, i64 16}
!11 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !12, i64 0}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!"bool", !8, i64 0}
!14 = !{!6, !13, i64 104}
!15 = !{i8 0, i8 2}
!16 = !{}
!17 = !{!18, !18, i64 0}
!18 = !{!"vtable pointer", !9, i64 0}


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