; LLVM IR from dynexcoin/Dynex :: src/Transfers (TransfersConsumer)

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

%"struct.DynexCN::TransactionInformation" = type { %"struct.Crypto::Hash", %"struct.Crypto::PublicKey", i32, i64, i64, i64, i64, %"class.std::vector.59", %"struct.Crypto::Hash" }
%"struct.Crypto::PublicKey" = type { [32 x i8] }
%"class.std::vector.59" = type { %"struct.std::_Vector_base.60" }
%"struct.std::_Vector_base.60" = type { %"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl" }
%"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl" = type { %"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl_data" }
%"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.Crypto::Hash" = type { [32 x i8] }
%"struct.DynexCN::TransactionBlockInfo" = type { i32, i64, i32 }

@.str.11 = external hidden unnamed_addr constant [85 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [51 x i8], align 1
@__PRETTY_FUNCTION__._ZN7DynexCN17TransfersConsumer14processOutputsERKNS_20TransactionBlockInfoERNS_21TransfersSubscriptionERKNS_18ITransactionReaderERKSt6vectorINS_30TransactionOutputInformationInESaISA_EERKS9_IjSaIjEERbSJ_ = external hidden unnamed_addr constant [231 x i8], align 1

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

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

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN7DynexCN17TransfersConsumer14processOutputsERKNS_20TransactionBlockInfoERNS_21TransfersSubscriptionERKNS_18ITransactionReaderERKSt6vectorINS_30TransactionOutputInformationInESaISA_EERKS9_IjSaIjEERbSJ_(ptr noundef nonnull align 8 dereferenceable(344) %0, ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef nonnull align 8 dereferenceable(920) %2, ptr noundef nonnull align 8 dereferenceable(8) %3, ptr noundef nonnull align 8 dereferenceable(24) %4, ptr noundef nonnull align 8 dereferenceable(24) %5, ptr noundef nonnull align 1 dereferenceable(1) %6, ptr noundef nonnull align 1 dereferenceable(1) %7) #2 align 2 personality ptr @__gxx_personality_v0 {
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca ptr, align 8
  %15 = alloca ptr, align 8
  %16 = alloca ptr, align 8
  %17 = alloca %"struct.DynexCN::TransactionInformation", align 8
  %18 = alloca ptr, align 8
  %19 = alloca i32, align 4
  %20 = alloca %"struct.Crypto::Hash", align 1
  %21 = alloca %"struct.Crypto::Hash", align 1
  store ptr %0, ptr %9, align 8, !tbaa !5
  store ptr %1, ptr %10, align 8, !tbaa !5
  store ptr %2, ptr %11, align 8, !tbaa !5
  store ptr %3, ptr %12, align 8, !tbaa !5
  store ptr %4, ptr %13, align 8, !tbaa !5
  store ptr %5, ptr %14, align 8, !tbaa !5
  store ptr %6, ptr %15, align 8, !tbaa !5
  store ptr %7, ptr %16, align 8, !tbaa !5
  %22 = load ptr, ptr %9, align 8
  call void @llvm.lifetime.start.p0(i64 160, ptr %17) #5
  call void @_ZN7DynexCN22TransactionInformationC2Ev(ptr noundef nonnull align 8 dereferenceable(160) %17) #5
  %23 = load ptr, ptr %11, align 8, !tbaa !5
  %24 = load ptr, ptr %23, align 8, !tbaa !9
  %25 = getelementptr inbounds ptr, ptr %24, i64 5
  %26 = load ptr, ptr %25, align 8
  %27 = invoke noundef nonnull align 8 dereferenceable(8) ptr %26(ptr noundef nonnull align 8 dereferenceable(920) %23)
          to label %28 unwind label %65

28:                                               ; preds = %8
  call void @llvm.lifetime.start.p0(i64 32, ptr %20) #5
  %29 = load ptr, ptr %12, align 8, !tbaa !5
  %30 = load ptr, ptr %29, align 8, !tbaa !9
  %31 = getelementptr inbounds ptr, ptr %30, i64 2
  %32 = load ptr, ptr %31, align 8
  invoke void %32(ptr dead_on_unwind writable sret(%"struct.Crypto::Hash") align 1 %20, ptr noundef nonnull align 8 dereferenceable(8) %29)
          to label %33 unwind label %69

33:                                               ; preds = %28
  %34 = load ptr, ptr %27, align 8, !tbaa !9
  %35 = getelementptr inbounds ptr, ptr %34, i64 6
  %36 = load ptr, ptr %35, align 8
  %37 = invoke noundef zeroext i1 %36(ptr noundef nonnull align 8 dereferenceable(8) %27, ptr noundef nonnull align 1 dereferenceable(32) %20, ptr noundef nonnull align 8 dereferenceable(160) %17, ptr noundef null, ptr noundef null)
          to label %38 unwind label %69

38:                                               ; preds = %33
  %39 = load ptr, ptr %15, align 8, !tbaa !5
  %40 = zext i1 %37 to i8
  store i8 %40, ptr %39, align 1, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 32, ptr %20) #5
  %41 = load ptr, ptr %16, align 8, !tbaa !5
  store i8 0, ptr %41, align 1, !tbaa !11
  %42 = load ptr, ptr %15, align 8, !tbaa !5
  %43 = load i8, ptr %42, align 1, !tbaa !11, !range !13, !noundef !14
  %44 = trunc i8 %43 to i1
  br i1 %44, label %45, label %89

45:                                               ; preds = %38
  %46 = getelementptr inbounds %"struct.DynexCN::TransactionInformation", ptr %17, i32 0, i32 2
  %47 = load i32, ptr %46, align 8, !tbaa !15
  %48 = icmp eq i32 %47, -1
  br i1 %48, label %49, label %77

49:                                               ; preds = %45
  %50 = load ptr, ptr %10, align 8, !tbaa !5
  %51 = getelementptr inbounds %"struct.DynexCN::TransactionBlockInfo", ptr %50, i32 0, i32 0
  %52 = load i32, ptr %51, align 8, !tbaa !25
  %53 = icmp ne i32 %52, -1
  br i1 %53, label %54, label %77

54:                                               ; preds = %49
  %55 = load ptr, ptr %11, align 8, !tbaa !5
  %56 = load ptr, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %21) #5
  %57 = load ptr, ptr %12, align 8, !tbaa !5
  %58 = load ptr, ptr %57, align 8, !tbaa !9
  %59 = getelementptr inbounds ptr, ptr %58, i64 2
  %60 = load ptr, ptr %59, align 8
  invoke void %60(ptr dead_on_unwind writable sret(%"struct.Crypto::Hash") align 1 %21, ptr noundef nonnull align 8 dereferenceable(8) %57)
          to label %61 unwind label %73

61:                                               ; preds = %54
  %62 = load ptr, ptr %14, align 8, !tbaa !5
  invoke void @_ZN7DynexCN21TransfersSubscription24markTransactionConfirmedERKNS_20TransactionBlockInfoERKN6Crypto4HashERKSt6vectorIjSaIjEE(ptr noundef nonnull align 8 dereferenceable(920) %55, ptr noundef nonnull align 8 dereferenceable(24) %56, ptr noundef nonnull align 1 dereferenceable(32) %21, ptr noundef nonnull align 8 dereferenceable(24) %62)
          to label %63 unwind label %73

63:                                               ; preds = %61
  call void @llvm.lifetime.end.p0(i64 32, ptr %21) #5
  %64 = load ptr, ptr %16, align 8, !tbaa !5
  store i8 1, ptr %64, align 1, !tbaa !11
  br label %88

65:                                               ; preds = %89, %8
  %66 = landingpad { ptr, i32 }
          cleanup
  %67 = extractvalue { ptr, i32 } %66, 0
  store ptr %67, ptr %18, align 8
  %68 = extractvalue { ptr, i32 } %66, 1
  store i32 %68, ptr %19, align 4
  br label %104

69:                                               ; preds = %33, %28
  %70 = landingpad { ptr, i32 }
          cleanup
  %71 = extractvalue { ptr, i32 } %70, 0
  store ptr %71, ptr %18, align 8
  %72 = extractvalue { ptr, i32 } %70, 1
  store i32 %72, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %20) #5
  br label %104

73:                                               ; preds = %61, %54
  %74 = landingpad { ptr, i32 }
          cleanup
  %75 = extractvalue { ptr, i32 } %74, 0
  store ptr %75, ptr %18, align 8
  %76 = extractvalue { ptr, i32 } %74, 1
  store i32 %76, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %21) #5
  br label %104

77:                                               ; preds = %49, %45
  %78 = getelementptr inbounds %"struct.DynexCN::TransactionInformation", ptr %17, i32 0, i32 2
  %79 = load i32, ptr %78, align 8, !tbaa !15
  %80 = load ptr, ptr %10, align 8, !tbaa !5
  %81 = getelementptr inbounds %"struct.DynexCN::TransactionBlockInfo", ptr %80, i32 0, i32 0
  %82 = load i32, ptr %81, align 8, !tbaa !25
  %83 = icmp eq i32 %79, %82
  br i1 %83, label %84, label %85

84:                                               ; preds = %77
  br label %87

85:                                               ; preds = %77
  call void @__assert_fail(ptr noundef @.str.19, ptr noundef @.str.11, i32 noundef 582, ptr noundef @__PRETTY_FUNCTION__._ZN7DynexCN17TransfersConsumer14processOutputsERKNS_20TransactionBlockInfoERNS_21TransfersSubscriptionERKNS_18ITransactionReaderERKSt6vectorINS_30TransactionOutputInformationInESaISA_EERKS9_IjSaIjEERbSJ_) #6
  unreachable

86:                                               ; No predecessors!
  br label %87

87:                                               ; preds = %86, %84
  br label %88

88:                                               ; preds = %87, %63
  br label %103

89:                                               ; preds = %38
  %90 = load ptr, ptr %11, align 8, !tbaa !5
  %91 = load ptr, ptr %10, align 8, !tbaa !5
  %92 = load ptr, ptr %12, align 8, !tbaa !5
  %93 = load ptr, ptr %13, align 8, !tbaa !5
  %94 = invoke noundef zeroext i1 @_ZN7DynexCN21TransfersSubscription14addTransactionERKNS_20TransactionBlockInfoERKNS_18ITransactionReaderERKSt6vectorINS_30TransactionOutputInformationInESaIS8_EE(ptr noundef nonnull align 8 dereferenceable(920) %90, ptr noundef nonnull align 8 dereferenceable(24) %91, ptr noundef nonnull align 8 dereferenceable(8) %92, ptr noundef nonnull align 8 dereferenceable(24) %93)
          to label %95 unwind label %65

95:                                               ; preds = %89
  %96 = load ptr, ptr %16, align 8, !tbaa !5
  %97 = zext i1 %94 to i8
  store i8 %97, ptr %96, align 1, !tbaa !11
  %98 = load ptr, ptr %16, align 8, !tbaa !5
  %99 = load i8, ptr %98, align 1, !tbaa !11, !range !13, !noundef !14
  %100 = trunc i8 %99 to i1
  %101 = load ptr, ptr %15, align 8, !tbaa !5
  %102 = zext i1 %100 to i8
  store i8 %102, ptr %101, align 1, !tbaa !11
  br label %103

103:                                              ; preds = %95, %88
  call void @_ZN7DynexCN22TransactionInformationD2Ev(ptr noundef nonnull align 8 dereferenceable(160) %17) #5
  call void @llvm.lifetime.end.p0(i64 160, ptr %17) #5
  ret void

104:                                              ; preds = %73, %69, %65
  call void @_ZN7DynexCN22TransactionInformationD2Ev(ptr noundef nonnull align 8 dereferenceable(160) %17) #5
  call void @llvm.lifetime.end.p0(i64 160, ptr %17) #5
  br label %105

105:                                              ; preds = %104
  %106 = load ptr, ptr %18, align 8
  %107 = load i32, ptr %19, align 4
  %108 = insertvalue { ptr, i32 } poison, ptr %106, 0
  %109 = insertvalue { ptr, i32 } %108, i32 %107, 1
  resume { ptr, i32 } %109
}

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

declare void @_ZN7DynexCN21TransfersSubscription24markTransactionConfirmedERKNS_20TransactionBlockInfoERKN6Crypto4HashERKSt6vectorIjSaIjEE(ptr noundef nonnull align 8 dereferenceable(920), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 1 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(24)) #4

declare noundef zeroext i1 @_ZN7DynexCN21TransfersSubscription14addTransactionERKNS_20TransactionBlockInfoERKNS_18ITransactionReaderERKSt6vectorINS_30TransactionOutputInformationInESaIS8_EE(ptr noundef nonnull align 8 dereferenceable(920), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(24)) #4

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { noreturn nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #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 = { nounwind }
attributes #6 = { noreturn 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 = !{!"vtable pointer", !8, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"bool", !7, i64 0}
!13 = !{i8 0, i8 2}
!14 = !{}
!15 = !{!16, !19, i64 64}
!16 = !{!"_ZTSN7DynexCN22TransactionInformationE", !17, i64 0, !18, i64 32, !19, i64 64, !20, i64 72, !20, i64 80, !20, i64 88, !20, i64 96, !21, i64 104, !17, i64 128}
!17 = !{!"_ZTSN6Crypto4HashE", !7, i64 0}
!18 = !{!"_ZTSN6Crypto9PublicKeyE", !7, i64 0}
!19 = !{!"int", !7, i64 0}
!20 = !{!"long", !7, i64 0}
!21 = !{!"_ZTSSt6vectorIhSaIhEE", !22, i64 0}
!22 = !{!"_ZTSSt12_Vector_baseIhSaIhEE", !23, i64 0}
!23 = !{!"_ZTSNSt12_Vector_baseIhSaIhEE12_Vector_implE", !24, i64 0}
!24 = !{!"_ZTSNSt12_Vector_baseIhSaIhEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!25 = !{!26, !19, i64 0}
!26 = !{!"_ZTSN7DynexCN20TransactionBlockInfoE", !19, i64 0, !20, i64 8, !19, i64 16}


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

%"struct.DynexCN::TransactionInformation" = type { %"struct.Crypto::Hash", %"struct.Crypto::PublicKey", i32, i64, i64, i64, i64, %"class.std::vector.59", %"struct.Crypto::Hash" }
%"struct.Crypto::PublicKey" = type { [32 x i8] }
%"class.std::vector.59" = type { %"struct.std::_Vector_base.60" }
%"struct.std::_Vector_base.60" = type { %"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl" }
%"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl" = type { %"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl_data" }
%"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.Crypto::Hash" = type { [32 x i8] }

@.str.11 = external hidden unnamed_addr constant [85 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [51 x i8], align 1
@__PRETTY_FUNCTION__._ZN7DynexCN17TransfersConsumer14processOutputsERKNS_20TransactionBlockInfoERNS_21TransfersSubscriptionERKNS_18ITransactionReaderERKSt6vectorINS_30TransactionOutputInformationInESaISA_EERKS9_IjSaIjEERbSJ_ = external hidden unnamed_addr constant [231 x i8], align 1

; 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: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN7DynexCN17TransfersConsumer14processOutputsERKNS_20TransactionBlockInfoERNS_21TransfersSubscriptionERKNS_18ITransactionReaderERKSt6vectorINS_30TransactionOutputInformationInESaISA_EERKS9_IjSaIjEERbSJ_(ptr nocapture noundef nonnull readnone align 8 dereferenceable(344) %0, ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef nonnull align 8 dereferenceable(920) %2, ptr noundef nonnull align 8 dereferenceable(8) %3, ptr noundef nonnull align 8 dereferenceable(24) %4, ptr noundef nonnull align 8 dereferenceable(24) %5, ptr nocapture noundef nonnull align 1 dereferenceable(1) %6, ptr nocapture noundef nonnull writeonly align 1 dereferenceable(1) %7) local_unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  %9 = alloca %"struct.DynexCN::TransactionInformation", align 8
  %10 = alloca %"struct.Crypto::Hash", align 1
  %11 = alloca %"struct.Crypto::Hash", align 1
  call void @llvm.lifetime.start.p0(i64 160, ptr nonnull %9) #5
  call void @_ZN7DynexCN22TransactionInformationC2Ev(ptr noundef nonnull align 8 dereferenceable(160) %9) #5
  %12 = load ptr, ptr %2, align 8, !tbaa !5
  %13 = getelementptr inbounds i8, ptr %12, i64 40
  %14 = load ptr, ptr %13, align 8
  %15 = invoke noundef nonnull align 8 dereferenceable(8) ptr %14(ptr noundef nonnull align 8 dereferenceable(920) %2)
          to label %16 unwind label %40

16:                                               ; preds = %8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %10) #5
  %17 = load ptr, ptr %3, align 8, !tbaa !5
  %18 = getelementptr inbounds i8, ptr %17, i64 16
  %19 = load ptr, ptr %18, align 8
  invoke void %19(ptr dead_on_unwind nonnull writable sret(%"struct.Crypto::Hash") align 1 %10, ptr noundef nonnull align 8 dereferenceable(8) %3)
          to label %20 unwind label %42

20:                                               ; preds = %16
  %21 = load ptr, ptr %15, align 8, !tbaa !5
  %22 = getelementptr inbounds i8, ptr %21, i64 48
  %23 = load ptr, ptr %22, align 8
  %24 = invoke noundef zeroext i1 %23(ptr noundef nonnull align 8 dereferenceable(8) %15, ptr noundef nonnull align 1 dereferenceable(32) %10, ptr noundef nonnull align 8 dereferenceable(160) %9, ptr noundef null, ptr noundef null)
          to label %25 unwind label %42

25:                                               ; preds = %20
  %26 = zext i1 %24 to i8
  store i8 %26, ptr %6, align 1, !tbaa !8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %10) #5
  store i8 0, ptr %7, align 1, !tbaa !8
  %27 = load i8, ptr %6, align 1, !tbaa !8, !range !11, !noundef !12
  %28 = trunc nuw i8 %27 to i1
  br i1 %28, label %29, label %49

29:                                               ; preds = %25
  %30 = getelementptr inbounds i8, ptr %9, i64 64
  %31 = load i32, ptr %30, align 8, !tbaa !13
  %32 = icmp ne i32 %31, -1
  %33 = load i32, ptr %1, align 8
  %.not = icmp eq i32 %33, -1
  %or.cond = select i1 %32, i1 true, i1 %.not
  br i1 %or.cond, label %46, label %34

34:                                               ; preds = %29
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %11) #5
  %35 = load ptr, ptr %3, align 8, !tbaa !5
  %36 = getelementptr inbounds i8, ptr %35, i64 16
  %37 = load ptr, ptr %36, align 8
  invoke void %37(ptr dead_on_unwind nonnull writable sret(%"struct.Crypto::Hash") align 1 %11, ptr noundef nonnull align 8 dereferenceable(8) %3)
          to label %38 unwind label %44

38:                                               ; preds = %34
  invoke void @_ZN7DynexCN21TransfersSubscription24markTransactionConfirmedERKNS_20TransactionBlockInfoERKN6Crypto4HashERKSt6vectorIjSaIjEE(ptr noundef nonnull align 8 dereferenceable(920) %2, ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef nonnull align 1 dereferenceable(32) %11, ptr noundef nonnull align 8 dereferenceable(24) %5)
          to label %39 unwind label %44

39:                                               ; preds = %38
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %11) #5
  store i8 1, ptr %7, align 1, !tbaa !8
  br label %53

40:                                               ; preds = %49, %8
  %41 = landingpad { ptr, i32 }
          cleanup
  br label %54

42:                                               ; preds = %20, %16
  %43 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %10) #5
  br label %54

44:                                               ; preds = %38, %34
  %45 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %11) #5
  br label %54

46:                                               ; preds = %29
  %47 = icmp eq i32 %31, %33
  br i1 %47, label %53, label %48

48:                                               ; preds = %46
  call void @__assert_fail(ptr noundef nonnull @.str.19, ptr noundef nonnull @.str.11, i32 noundef 582, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN7DynexCN17TransfersConsumer14processOutputsERKNS_20TransactionBlockInfoERNS_21TransfersSubscriptionERKNS_18ITransactionReaderERKSt6vectorINS_30TransactionOutputInformationInESaISA_EERKS9_IjSaIjEERbSJ_) #6
  unreachable

49:                                               ; preds = %25
  %50 = invoke noundef zeroext i1 @_ZN7DynexCN21TransfersSubscription14addTransactionERKNS_20TransactionBlockInfoERKNS_18ITransactionReaderERKSt6vectorINS_30TransactionOutputInformationInESaIS8_EE(ptr noundef nonnull align 8 dereferenceable(920) %2, ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef nonnull align 8 dereferenceable(8) %3, ptr noundef nonnull align 8 dereferenceable(24) %4)
          to label %51 unwind label %40

51:                                               ; preds = %49
  %52 = zext i1 %50 to i8
  store i8 %52, ptr %7, align 1, !tbaa !8
  store i8 %52, ptr %6, align 1, !tbaa !8
  br label %53

53:                                               ; preds = %39, %46, %51
  call void @_ZN7DynexCN22TransactionInformationD2Ev(ptr noundef nonnull align 8 dereferenceable(160) %9) #5
  call void @llvm.lifetime.end.p0(i64 160, ptr nonnull %9) #5
  ret void

54:                                               ; preds = %44, %42, %40
  %.pn = phi { ptr, i32 } [ %45, %44 ], [ %41, %40 ], [ %43, %42 ]
  call void @_ZN7DynexCN22TransactionInformationD2Ev(ptr noundef nonnull align 8 dereferenceable(160) %9) #5
  call void @llvm.lifetime.end.p0(i64 160, ptr nonnull %9) #5
  resume { ptr, i32 } %.pn
}

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

declare void @_ZN7DynexCN21TransfersSubscription24markTransactionConfirmedERKNS_20TransactionBlockInfoERKN6Crypto4HashERKSt6vectorIjSaIjEE(ptr noundef nonnull align 8 dereferenceable(920), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 1 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #4

declare noundef zeroext i1 @_ZN7DynexCN21TransfersSubscription14addTransactionERKNS_20TransactionBlockInfoERKNS_18ITransactionReaderERKSt6vectorINS_30TransactionOutputInformationInESaIS8_EE(ptr noundef nonnull align 8 dereferenceable(920), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #4

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"vtable pointer", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}
!8 = !{!9, !9, i64 0}
!9 = !{!"bool", !10, i64 0}
!10 = !{!"omnipotent char", !7, i64 0}
!11 = !{i8 0, i8 2}
!12 = !{}
!13 = !{!14, !17, i64 64}
!14 = !{!"_ZTSN7DynexCN22TransactionInformationE", !15, i64 0, !16, i64 32, !17, i64 64, !18, i64 72, !18, i64 80, !18, i64 88, !18, i64 96, !19, i64 104, !15, i64 128}
!15 = !{!"_ZTSN6Crypto4HashE", !10, i64 0}
!16 = !{!"_ZTSN6Crypto9PublicKeyE", !10, i64 0}
!17 = !{!"int", !10, i64 0}
!18 = !{!"long", !10, i64 0}
!19 = !{!"_ZTSSt6vectorIhSaIhEE", !20, i64 0}
!20 = !{!"_ZTSSt12_Vector_baseIhSaIhEE", !21, i64 0}
!21 = !{!"_ZTSNSt12_Vector_baseIhSaIhEE12_Vector_implE", !22, i64 0}
!22 = !{!"_ZTSNSt12_Vector_baseIhSaIhEE17_Vector_impl_dataE", !23, i64 0, !23, i64 8, !23, i64 16}
!23 = !{!"any pointer", !10, i64 0}


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